[
  {
    "path": ".github/ISSUE_TEMPLATE/bug.yaml",
    "content": "name: Bug Report\ndescription: File a bug report.\ntitle: \"bug: \"\nlabels: [\"bug\"]\nbody:\n  - type: markdown\n    attributes:\n      value: |\n        Thanks for taking the time to fill out this bug report!\n  - type: textarea\n    id: what-happened\n    attributes:\n      label: What happened?\n      description: Also tell us, what did you expect to happen?\n      placeholder: |\n        After I did X1, X2 and X3, Y happened. I expected Z.\n    validations:\n      required: true\n  - type: textarea\n    id: reproduction\n    attributes:\n      label: Reproduction\n      description: |\n        Please provide a minimal reproduction of the bug.\n      placeholder: |\n        Step1: do X\n        Step2: do Y\n        Step3: do Z and the bug happens\n  - type: textarea\n    id: version\n    attributes:\n      label: Version\n      description: What version of the software are you using?\n      value: |\n        hexo: x.x.x\n        hexon: x.x.x\n        your-hexo-theme: your-theme@x.x.x\n  - type: checkboxes\n    id: before-submit\n    attributes:\n      label: Before you submit\n      description: |\n        Please check the following\n      options:\n        - label: I have included version information\n          required: true"
  },
  {
    "path": ".gitignore",
    "content": "node_modules\n*.log\nstats.html\ndata\nlog\n.DS_Store\n*.local\n.env\n"
  },
  {
    "path": ".prettierignore",
    "content": "bin\ndist\nCHANGELOG.md\nlerna.json\n#gitignore\nnode_modules\n*.log\nstats.html\ndata\nlog\n.DS_Store\n*.local"
  },
  {
    "path": ".prettierrc",
    "content": "{\n  \"semi\": false,\n  \"htmlWhitespaceSensitivity\": \"ignore\"\n}\n"
  },
  {
    "path": ".vscode/settings.json",
    "content": "{\n  // Disable the default formatter, use eslint instead\n  \"prettier.enable\": false,\n  \"editor.formatOnSave\": false,\n\n  // Auto fix\n  \"editor.codeActionsOnSave\": {\n    \"source.fixAll.eslint\": \"explicit\",\n    \"source.organizeImports\": \"never\"\n  },\n\n  // Silent the stylistic rules in you IDE, but still auto fix them\n  \"eslint.rules.customizations\": [\n    { \"rule\": \"style/*\", \"severity\": \"off\", \"fixable\": true },\n    { \"rule\": \"format/*\", \"severity\": \"off\", \"fixable\": true },\n    { \"rule\": \"*-indent\", \"severity\": \"off\", \"fixable\": true },\n    { \"rule\": \"*-spacing\", \"severity\": \"off\", \"fixable\": true },\n    { \"rule\": \"*-spaces\", \"severity\": \"off\", \"fixable\": true },\n    { \"rule\": \"*-order\", \"severity\": \"off\", \"fixable\": true },\n    { \"rule\": \"*-dangle\", \"severity\": \"off\", \"fixable\": true },\n    { \"rule\": \"*-newline\", \"severity\": \"off\", \"fixable\": true },\n    { \"rule\": \"*quotes\", \"severity\": \"off\", \"fixable\": true },\n    { \"rule\": \"*semi\", \"severity\": \"off\", \"fixable\": true }\n  ],\n\n  // Enable eslint for all supported languages\n  \"eslint.validate\": [\n    \"javascript\",\n    \"javascriptreact\",\n    \"typescript\",\n    \"typescriptreact\",\n    \"vue\",\n    \"html\",\n    \"markdown\",\n    \"json\",\n    \"jsonc\",\n    \"yaml\",\n    \"toml\",\n    \"xml\",\n    \"gql\",\n    \"graphql\",\n    \"astro\",\n    \"css\",\n    \"less\",\n    \"scss\",\n    \"pcss\",\n    \"postcss\"\n  ]\n}\n"
  },
  {
    "path": "CHANGELOG.md",
    "content": "# Changelog\n\nAll notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.\n\n## [1.0.0](https://github.com/gethexon/hexon/compare/v0.12.8...v1.0.0) (2026-03-21)\n\n\n### ⚠ BREAKING CHANGES\n\n* conflict with system wild env\n\n### Bug Fixes\n\n* conflict with system wild env ([5c81e1b](https://github.com/gethexon/hexon/commit/5c81e1bbe977d6d84562a0e6f3a04e53d8f5b02c))\n* date format ([2f80a76](https://github.com/gethexon/hexon/commit/2f80a766646af30710a747c45dc474ace7254b1d))\n\n### [0.12.8](https://github.com/gethexon/hexon/compare/v0.12.7...v0.12.8) (2024-07-11)\n\n### [0.12.7](https://github.com/gethexon/hexon/compare/v0.12.6...v0.12.7) (2024-06-07)\n\n\n### Bug Fixes\n\n* article type ([e4dd713](https://github.com/gethexon/hexon/commit/e4dd7135470558659bcc47cb9ddf9d199bd1425d))\n* show error message when auth failed ([83b4cda](https://github.com/gethexon/hexon/commit/83b4cdaa8ed91878911fbe0fbd40846ce61baf0b))\n\n### [0.12.6](https://github.com/gethexon/hexon/compare/v0.12.5...v0.12.6) (2023-09-27)\n\n\n### Features\n\n* install via env ([f0b91aa](https://github.com/gethexon/hexon/commit/f0b91aa39d4f7ab8f050f4ed8c470843299c5bc2))\n\n\n### Bug Fixes\n\n* 修正成正確的專案名稱 ([fb38e7b](https://github.com/gethexon/hexon/commit/fb38e7bcb93b7c7c0e3bf7aea60ab685af0c8bba))\n* 因缺少 type 檢查導致回傳值缺少 Article 屬性的問題 ([#36](https://github.com/gethexon/hexon/issues/36)) ([e75fea6](https://github.com/gethexon/hexon/commit/e75fea693248849a18a8dd1dbb0299416e9b52db))\n\n### [0.12.5](https://github.com/gethexon/hexon/compare/v0.12.4...v0.12.5) (2023-03-28)\n\n### [0.12.4](https://git.yujianghao.cn/winwin2011/hexon/compare/v0.12.4-0...v0.12.4) (2022-06-23)\n\n### [0.12.4-0](https://git.yujianghao.cn/winwin2011/hexon/compare/v0.12.3...v0.12.4-0) (2022-06-23)\n\n### [0.12.3](https://git.yujianghao.cn/winwin2011/hexon/compare/v0.12.3-0...v0.12.3) (2022-05-15)\n\n### [0.12.3-0](https://git.yujianghao.cn/winwin2011/hexon/compare/v0.12.2...v0.12.3-0) (2022-05-15)\n\n\n### Bug Fixes\n\n* asset is treat as page ([4926de0](https://git.yujianghao.cn/winwin2011/hexon/commit/4926de08be077b682b779b2bc57547a245d60d32))\n\n### [0.12.2](https://git.yujianghao.cn/winwin2011/hexon/compare/v0.12.1...v0.12.2) (2022-05-01)\n\n\n### Bug Fixes\n\n* wrong install place hint ([e4aa8b2](https://git.yujianghao.cn/winwin2011/hexon/commit/e4aa8b25fb647734b88031470d284376fb7b6992))\n\n### [0.12.1](https://git.yujianghao.cn/winwin2011/hexon/compare/v0.12.0...v0.12.1) (2022-05-01)\n\n\n### Bug Fixes\n\n* 401 fix [#41](https://git.yujianghao.cn/winwin2011/hexon/issues/41) ([2004a93](https://git.yujianghao.cn/winwin2011/hexon/commit/2004a9313bae33d4076f1f30cac1facd2ca852af))\n* cant find newly created or published post ([0abb162](https://git.yujianghao.cn/winwin2011/hexon/commit/0abb16228c649942c4f1252d62df7cd01de36e21)), closes [#36](https://git.yujianghao.cn/winwin2011/hexon/issues/36)\n* cant find newly published post ([fb0db36](https://git.yujianghao.cn/winwin2011/hexon/commit/fb0db36eb579bc08badc1336eb4182876d08fb2a)), closes [#36](https://git.yujianghao.cn/winwin2011/hexon/issues/36)\n\n# [0.12.0](https://git.yujianghao.cn/winwin2011/hexon/compare/v0.11.3...v0.12.0) (2022-04-17)\n\n\n### Features\n\n* custom script ([#40](https://git.yujianghao.cn/winwin2011/hexon/issues/40)) ([55e4830](https://git.yujianghao.cn/winwin2011/hexon/commits/55e48302c568c10fa795a9a1900907fbabdb98a9)), closes [#39](https://git.yujianghao.cn/winwin2011/hexon/issues/39)\n* monaco save action ([#37](https://git.yujianghao.cn/winwin2011/hexon/issues/37)) ([213902f](https://git.yujianghao.cn/winwin2011/hexon/commits/213902fbc33862ebec32db85c7b46b6e71cdbd93)), closes [#33](https://git.yujianghao.cn/winwin2011/hexon/issues/33)\n\n\n\n\n\n## [0.11.3](https://git.yujianghao.cn/winwin2011/hexon/compare/v0.11.2...v0.11.3) (2022-04-13)\n\n\n### Bug Fixes\n\n* content compress conflict with http secure ([7775e17](https://git.yujianghao.cn/winwin2011/hexon/commits/7775e1744ea54db45cbe4677b942d9b1810c2876))\n\n\n\n\n\n## [0.11.2](https://git.yujianghao.cn/winwin2011/hexon/compare/v0.11.1...v0.11.2) (2022-04-13)\n\n\n### Bug Fixes\n\n* install route is blocked by auth ([15b80d1](https://git.yujianghao.cn/winwin2011/hexon/commits/15b80d15872e1e56f500e2e0ea4f2b4de64e86d7))\n\n\n\n\n\n## [0.11.1](https://git.yujianghao.cn/winwin2011/hexon/compare/v0.11.0...v0.11.1) (2022-04-11)\n\n\n### Bug Fixes\n\n* settings unset ([5906264](https://git.yujianghao.cn/winwin2011/hexon/commits/590626443a5d64974f3c8ae7d244c2b9fb9933e2))\n\n\n\n\n\n# [0.11.0](https://git.yujianghao.cn/winwin2011/hexon/compare/v0.10.0...v0.11.0) (2022-03-25)\n\n\n### Bug Fixes\n\n* avatar text color ([#16](https://git.yujianghao.cn/winwin2011/hexon/issues/16)) ([caed466](https://git.yujianghao.cn/winwin2011/hexon/commits/caed466d494ab0b79b53cbc81cdc299408b710a7)), closes [#15](https://git.yujianghao.cn/winwin2011/hexon/issues/15)\n\n\n### Features\n\n* markdown hover show image ([#18](https://git.yujianghao.cn/winwin2011/hexon/issues/18)) ([b77782a](https://git.yujianghao.cn/winwin2011/hexon/commits/b77782a58f5efd6427731ddc675359e4596988a8)), closes [#17](https://git.yujianghao.cn/winwin2011/hexon/issues/17)\n\n\n\n\n\n# [0.10.0](https://git.yujianghao.cn/winwin2011/hexon/compare/v0.9.1...v0.10.0) (2022-03-12)\n\n\n### Bug Fixes\n\n* infinite loop after login expires ([#11](https://git.yujianghao.cn/winwin2011/hexon/issues/11)) ([451a94c](https://git.yujianghao.cn/winwin2011/hexon/commits/451a94c4be3e80eeeefd841d084e6f47ea195a47)), closes [#10](https://git.yujianghao.cn/winwin2011/hexon/issues/10)\n* wrong teleport index ([#7](https://git.yujianghao.cn/winwin2011/hexon/issues/7)) ([b967483](https://git.yujianghao.cn/winwin2011/hexon/commits/b9674839128789d71b7d703170def6b3c8336514)), closes [#5](https://git.yujianghao.cn/winwin2011/hexon/issues/5)\n\n\n### Features\n\n* editor font family ([#4](https://git.yujianghao.cn/winwin2011/hexon/issues/4)) ([46c3d52](https://git.yujianghao.cn/winwin2011/hexon/commits/46c3d52c812716c07c7da5eeca8b60f5ecefea2c)), closes [#2](https://git.yujianghao.cn/winwin2011/hexon/issues/2)\n* template for frontmatters ([#14](https://git.yujianghao.cn/winwin2011/hexon/issues/14)) ([9032813](https://git.yujianghao.cn/winwin2011/hexon/commits/90328133a77d9988c9a1771bf5262e57c55bf607)), closes [#1](https://git.yujianghao.cn/winwin2011/hexon/issues/1)\n\n\n\n\n\n# [0.9.1](https://bitbucket.org/winwin2011/hexon/compare/v0.9.0...v0.9.1) (2022-02-21)\n\n\n### Bug Fixes\n\n* @winwin/vue-global-theming@0.1.5 security ([c51494e](https://bitbucket.org/winwin2011/hexon/commits/c51494ed79c84ea74e4a31aab1ae3ce46cb13f18)), closes [#8](https://bitbucket.org/winwin2011/hexon/issue/8)\n* slider word wrap ([ed39050](https://bitbucket.org/winwin2011/hexon/commits/ed39050909b0b3961ef7f1e46a7f443efaa6c0c3)), closes [#11](https://bitbucket.org/winwin2011/hexon/issue/11)\n\n\n### Features\n\n* hexo new path secure and hexo core auto init ([1edd7be](https://bitbucket.org/winwin2011/hexon/commits/1edd7beeca624c1e50c8e6d8148a56a36af8a921)), closes [#5](https://bitbucket.org/winwin2011/hexon/issue/5)\n\n\n\n\n\n# [0.9.0-beta.5](https://github.com/gethexon/hexon/compare/v0.9.0-beta.4...v0.9.0-beta.5) (2022-01-19)\n\n\n### Bug Fixes\n\n* **web:** loading not hide ([2a74dc8](https://github.com/gethexon/hexon/commit/2a74dc8866e0e0b56c81f7cb31d65b5eb3054824))\n\n\n### Features\n\n* reset password ([3c1fa1b](https://github.com/gethexon/hexon/commit/3c1fa1b88df8489150c57f7d805e8552a1baa119))\n* retry and show errors when fail to init hexo ([4c4206b](https://github.com/gethexon/hexon/commit/4c4206bde5c7f75380a1eb58a21a9a70265d0e15))\n\n\n\n\n\n# [0.9.0-beta.4](https://github.com/gethexon/hexon/compare/v0.9.0-beta.2...v0.9.0-beta.4) (2022-01-19)\n\n\n### Bug Fixes\n\n* question dot operation fail ([b6afde8](https://github.com/gethexon/hexon/commit/b6afde857ef8af7123fcd8a838252b66eda2ecd0))\n\n\n### Features\n\n* better slide view ([dcf9e3f](https://github.com/gethexon/hexon/commit/dcf9e3f13fefa325673beccee1ec74d413a9db7f))\n* change password ([f5c23e9](https://github.com/gethexon/hexon/commit/f5c23e9520e5d3804d238be453d1c7e4849f5215))\n* change username ([96afd10](https://github.com/gethexon/hexon/commit/96afd10fd3dbbcc39a7b18e0191559454216a825))\n* show loading when creating article ([f5b060d](https://github.com/gethexon/hexon/commit/f5b060d5bde84d722e2507193934771dc21e0d4e))\n* signin and signout ([29bb349](https://github.com/gethexon/hexon/commit/29bb349313f12348a3a1ee52f1a84236cc120ff4))\n* slide view ([021f4e1](https://github.com/gethexon/hexon/commit/021f4e16144bf88724f1217454c951ad8c0a41d2))\n* username ([181c4a7](https://github.com/gethexon/hexon/commit/181c4a76ea04f93994960fb5604bb3db97d2649d))\n\n\n\n\n\n# [0.9.0-beta.3](https://github.com/gethexon/hexon/compare/v0.9.0-beta.2...v0.9.0-beta.3) (2022-01-11)\n\n\n### Features\n\n* better slide view ([dcf9e3f](https://github.com/gethexon/hexon/commit/dcf9e3f13fefa325673beccee1ec74d413a9db7f))\n* change password ([f5c23e9](https://github.com/gethexon/hexon/commit/f5c23e9520e5d3804d238be453d1c7e4849f5215))\n* change username ([96afd10](https://github.com/gethexon/hexon/commit/96afd10fd3dbbcc39a7b18e0191559454216a825))\n* show loading when creating article ([f5b060d](https://github.com/gethexon/hexon/commit/f5b060d5bde84d722e2507193934771dc21e0d4e))\n* signin and signout ([29bb349](https://github.com/gethexon/hexon/commit/29bb349313f12348a3a1ee52f1a84236cc120ff4))\n* slide view ([021f4e1](https://github.com/gethexon/hexon/commit/021f4e16144bf88724f1217454c951ad8c0a41d2))\n* username ([181c4a7](https://github.com/gethexon/hexon/commit/181c4a76ea04f93994960fb5604bb3db97d2649d))\n\n\n\n\n\n# [0.9.0-beta.2](https://github.com/gethexon/hexon/compare/v0.9.0-beta.1...v0.9.0-beta.2) (2022-01-10)\n\n\n### Bug Fixes\n\n* bump vue@3.2.26 ([e490d3b](https://github.com/gethexon/hexon/commit/e490d3bf55d67141467b05655c16d0f9ab7af355))\n\n\n\n\n\n# [0.9.0-beta.1](https://github.com/gethexon/hexon/compare/v0.9.0-beta.0...v0.9.0-beta.1) (2022-01-10)\n\n\n### Bug Fixes\n\n* remove nodegit ([70ef9be](https://github.com/gethexon/hexon/commit/70ef9be7f3f786f98e832db21cdce74fb3b508e3))\n\n\n\n\n\n# [0.9.0-beta.0](https://github.com/gethexon/hexon/compare/v0.8.0-beta.5...v0.9.0-beta.0) (2022-01-10)\n\n\n### Bug Fixes\n\n* article detail load ([d839cd8](https://github.com/gethexon/hexon/commit/d839cd86ed6001989d8bc0bc69d35167ec320670))\n* article item 颜色 ([a436294](https://github.com/gethexon/hexon/commit/a436294715b15e3d0d9e36a746ee212a79a76e55))\n* article list 和 search bar 样式 ([48bfd22](https://github.com/gethexon/hexon/commit/48bfd22100c191e4caa5d719cf5586410dd92414))\n* badge style ([a60a8fc](https://github.com/gethexon/hexon/commit/a60a8fcd10bcd66b8d41f5fb11ce959e4128d5eb))\n* build bug ([8793939](https://github.com/gethexon/hexon/commit/87939394e6c2d5cab3ebee8660f0edfeb343c7b4))\n* can not run install process ([ea27b93](https://github.com/gethexon/hexon/commit/ea27b9338069d7d7467eaa59bf2826c7b71ca20b))\n* chalk ([ea2ff6f](https://github.com/gethexon/hexon/commit/ea2ff6f5dd5d07c39a4852ec6eee051774e147eb))\n* color classes ([671d942](https://github.com/gethexon/hexon/commit/671d942f0b4a497cda3c2acb5467e771af50a4b3))\n* css class name ([2d6a601](https://github.com/gethexon/hexon/commit/2d6a601cc73782bcfc9842489a37e56c94f1f35f))\n* data unexpected marked changed ([6c01f60](https://github.com/gethexon/hexon/commit/6c01f606c50f6a71478a66b5a996724635839f57))\n* data unexpected marked changed ([f7555c5](https://github.com/gethexon/hexon/commit/f7555c540c37b9997db5b05ec8086d0e08756acd))\n* data unexpected marked changed ([3a7270c](https://github.com/gethexon/hexon/commit/3a7270c5cdf1594eec564ffc8b6dc6758ed45925))\n* date format ([7045adc](https://github.com/gethexon/hexon/commit/7045adc9aefb11edad102284e4d1454ff53ac7d7))\n* dialog close ([b68bfb9](https://github.com/gethexon/hexon/commit/b68bfb97182b23eacc16e939ffa079173de3648a))\n* disabled button style ([0a4cb3c](https://github.com/gethexon/hexon/commit/0a4cb3cba60a6d33ee5318c800f113a7aec360d9))\n* duplicate dts ([7214e19](https://github.com/gethexon/hexon/commit/7214e1954d035b791d38797935db7f29ebf0b045))\n* editor load and document title ([a5ba9d1](https://github.com/gethexon/hexon/commit/a5ba9d197185b1174286ad0d0f56dd4c8a16801e))\n* fix home page background color ([9cc8f84](https://github.com/gethexon/hexon/commit/9cc8f84369700ce348caa91bda640bb20dcfb79a))\n* flash when switching route ([dd93f97](https://github.com/gethexon/hexon/commit/dd93f9794784e00de67630a3f37c34812f4baf46))\n* fm editor style ([da39b91](https://github.com/gethexon/hexon/commit/da39b91208baacfed673102ec9389594dc7efe0c))\n* fm parse and display ([22c13ab](https://github.com/gethexon/hexon/commit/22c13abd87aac7d01b93049a704828e72eb05b36))\n* form style ([6454be7](https://github.com/gethexon/hexon/commit/6454be71e3f507d2607f201b2db75843c1fbb61b))\n* form submit bug ([33f363f](https://github.com/gethexon/hexon/commit/33f363fb986c2ff9edec2c1c3fbbcab50bdc8aba))\n* git remote ([ac49d60](https://github.com/gethexon/hexon/commit/ac49d60d9e87e1dbb30bdb5fd1d77f081f815e3f))\n* h-button shrink ([7a40720](https://github.com/gethexon/hexon/commit/7a40720a6bc62fcfc03776b663c5a743a4b16642))\n* h-nav-list ([9e71621](https://github.com/gethexon/hexon/commit/9e716212cfdd051b0bb0a49759d3ea3f99a29b2a))\n* h-nav-list count ([6b8c8ab](https://github.com/gethexon/hexon/commit/6b8c8ab7afc125654ff03c530cb7fba6b6df2256))\n* input style bug ([6d6e9f6](https://github.com/gethexon/hexon/commit/6d6e9f62cf59f33cf8b070c76978836f03964e69))\n* layout ([3f1d031](https://github.com/gethexon/hexon/commit/3f1d0312621242b6e1838d1fdfc4e3dd3fd12fd6))\n* load after save ([e88ea6d](https://github.com/gethexon/hexon/commit/e88ea6d876ef064a73873154b27b0934e12e0500))\n* login form not w full ([e71824a](https://github.com/gethexon/hexon/commit/e71824aa5639e47d866d60b47d35725b4d8ae1fc))\n* monaco dark mode ([35e77eb](https://github.com/gethexon/hexon/commit/35e77eb9f69f73be3e9405c4d924fce0a947b135))\n* multiple fixes ([2a931f5](https://github.com/gethexon/hexon/commit/2a931f5a0eec4fd854cb5173d94109f7508c13e2))\n* notification animation ([e16076c](https://github.com/gethexon/hexon/commit/e16076cf22ad2f9f87893a19719c185dd4995eea))\n* path name ([92b1733](https://github.com/gethexon/hexon/commit/92b1733ab5e3cb594a76b36aa75de39a9cb2fbfe))\n* post attr ([9790198](https://github.com/gethexon/hexon/commit/9790198530446b708ae1ecb6ab498404d72ca843))\n* remove unused error type ([ca4bc37](https://github.com/gethexon/hexon/commit/ca4bc37e5f5877125ce1f468346c6badb4efca18))\n* show viewer by hexo ([c8b6616](https://github.com/gethexon/hexon/commit/c8b6616498922b0af96f0763b2a81dbb14f719f2))\n* slug 缺失 ([6df9f32](https://github.com/gethexon/hexon/commit/6df9f32ca3ee07717fcdde15fdc36d918ee071e1))\n* small round button style ([63e4f54](https://github.com/gethexon/hexon/commit/63e4f5447d3187e5137a3d555c68319dff15fed3))\n* source uri component ([c9eab46](https://github.com/gethexon/hexon/commit/c9eab460c52241b4ec49e760eca27c061af9bd6b))\n* statics ([5d86937](https://github.com/gethexon/hexon/commit/5d869376f1830353db5be33a9fc6768332008d7d))\n* style ([29f0b15](https://github.com/gethexon/hexon/commit/29f0b15de1faba412683b9f118d57809c071c55f))\n* style ([4cf4b2e](https://github.com/gethexon/hexon/commit/4cf4b2e7e7ba31df9cb3abd616fbad14f8ffc5bb))\n* toggle bias ([8cadab1](https://github.com/gethexon/hexon/commit/8cadab1d129410664ba375611c7ecf723c3721bd))\n* toolbar flex cascade ([72ea784](https://github.com/gethexon/hexon/commit/72ea7849043cd0bac7e40070bb5522e29ae777a3))\n* type export ([b763d39](https://github.com/gethexon/hexon/commit/b763d39521380b120145ae40dd4e28b2ba1ddbd0))\n* viewer flash ([5cfbe80](https://github.com/gethexon/hexon/commit/5cfbe80edb09caf2479c5fb000d10f275f9e8c5f))\n* vitepress doc and css ([1d01597](https://github.com/gethexon/hexon/commit/1d01597d9fef8bc0ceabe02c3e168bb31e8a518e))\n* vitepress 路由 ([f6a2ceb](https://github.com/gethexon/hexon/commit/f6a2cebadf46d178cc39917dc285c4153adce9fa))\n* vue-demi ([27b3248](https://github.com/gethexon/hexon/commit/27b32482d974a394693fb8551090f730a3b6fc3c))\n* 不显示草稿 ([3cccfa8](https://github.com/gethexon/hexon/commit/3cccfa8b4b64c75cf9ca865428d04e76cdbe5e08))\n* 关闭 viewer 后没有清空数据 ([b3c2fa2](https://github.com/gethexon/hexon/commit/b3c2fa2a7504da88e9b612bf399659b860e0ee2e))\n* 整理 viewer 样式 ([7188a97](https://github.com/gethexon/hexon/commit/7188a97a090a0d085bbedbc6f8d451d4ed41145e))\n* 文章查看页面跳转数据重新加载 ([de09412](https://github.com/gethexon/hexon/commit/de09412a407dc76d279417e833d22e9defdc18bf))\n* 查看器样式 ([cd0874e](https://github.com/gethexon/hexon/commit/cd0874e7849130e7cef18c352cef994a40c4a021))\n* 第一次打开页面不加载文章 ([301f6ce](https://github.com/gethexon/hexon/commit/301f6ce5d3dbffe9fe34ce74bd78973b6ea8aeb2))\n* 统一颜色，使用语义颜色 ([687f37c](https://github.com/gethexon/hexon/commit/687f37cde7b5be05045b8d9f0bc52d8bdff2c46d))\n* **server:** build ([2b617ea](https://github.com/gethexon/hexon/commit/2b617eaef6695167887ff371225a5ec6c99a2684))\n* **server:** route block ([cc7d583](https://github.com/gethexon/hexon/commit/cc7d583928942b8cd9e3f3c561d3e601f2680e7c))\n* **vue:** reset less ([f36b564](https://github.com/gethexon/hexon/commit/f36b564cfe8b856a3b5481048f385f7b6b7b450f))\n* **web:** doc alias ([39f2212](https://github.com/gethexon/hexon/commit/39f2212bf7b2dafcb2647219b14d472aa12f1164))\n* **web:** fix style cat parent and load onmounted ([fce21ec](https://github.com/gethexon/hexon/commit/fce21ec93cdc0f1e44858558cda8b503c21c99c5))\n\n\n### Features\n\n* advance markdown support ([581711a](https://github.com/gethexon/hexon/commit/581711a5d8339734e9661afeb62f6d22a5848314))\n* api ([8745200](https://github.com/gethexon/hexon/commit/8745200e10f022d9acfc97f883a1e09b7cc2b91a))\n* article list filter ([bdfdab8](https://github.com/gethexon/hexon/commit/bdfdab85ddd822f50f84ababbaa13df89ae2e705))\n* article menu ([bd8838a](https://github.com/gethexon/hexon/commit/bd8838a0f7fc03e0fe45efeccaf3dac868adf354))\n* article type icon ([dd6caad](https://github.com/gethexon/hexon/commit/dd6caad16fe9eed3b1ae0064dcf1f60f7b429197))\n* badge ([d4f2467](https://github.com/gethexon/hexon/commit/d4f2467395cfecdfbe0bb2210376c57a2bc16fbd))\n* base monac editor ([b40cde0](https://github.com/gethexon/hexon/commit/b40cde09bd2abbf03f33e0cff191edf36e4ca965))\n* basic sort ([594bf5d](https://github.com/gethexon/hexon/commit/594bf5d459b92d44e3fcb263cd37652407ec9a79))\n* better http secure ([0f38524](https://github.com/gethexon/hexon/commit/0f38524bea729876927bdb726d505045c42b1187))\n* button size ([8c3736a](https://github.com/gethexon/hexon/commit/8c3736a635b715869446f92d39f93a3d23c3a5d2))\n* categories editor ([ded8aa9](https://github.com/gethexon/hexon/commit/ded8aa9f849f75392b3cf7b547c8eb97e09bef75))\n* create api ([5584f0f](https://github.com/gethexon/hexon/commit/5584f0f20e8d51ded8b6a10fa4c23dc9940b6a6f))\n* create article ([748de06](https://github.com/gethexon/hexon/commit/748de06f81dca66cfb434d39f21d26e4a199a7d4))\n* create article modal ([ef579f1](https://github.com/gethexon/hexon/commit/ef579f13baec967730c1c0213f5f0a8cbcdb684e))\n* dark mode ([e26b029](https://github.com/gethexon/hexon/commit/e26b029086ea5158deb9eb0ad1ed4efd17612d74))\n* dark theme ([11dab35](https://github.com/gethexon/hexon/commit/11dab35d6a4caa4e850744254736db45b4ad79ee))\n* date editor ([126a389](https://github.com/gethexon/hexon/commit/126a389f61867d11c6f791b66bd683caf02a8cc5))\n* date picker ([c045f9c](https://github.com/gethexon/hexon/commit/c045f9c85b89b69f72bca203cbe80ceb618f2b22))\n* date picker support time ([634011f](https://github.com/gethexon/hexon/commit/634011fb8d7587bdf3df598231988417613edd4c))\n* delete post or page ([b6c72a2](https://github.com/gethexon/hexon/commit/b6c72a2322d5d237d12e6c865aaaea89e32c2a0d))\n* detail store ([fc5f63c](https://github.com/gethexon/hexon/commit/fc5f63c827177a4d8893538d902d418fac85d31d))\n* dialog plugin ([24b6df2](https://github.com/gethexon/hexon/commit/24b6df28de2df216ea75afa3f2da0f8762ffc423))\n* dispatcher ([60843a5](https://github.com/gethexon/hexon/commit/60843a5ae92aff2282c20d8a4cd13875caa6914c))\n* editor view ([fbcdf5c](https://github.com/gethexon/hexon/commit/fbcdf5c1e4478dfcd03af1a8520b012354e4f17f))\n* formatter ([bfcbd9b](https://github.com/gethexon/hexon/commit/bfcbd9b58bbef35054031d88b416fff440389dc7))\n* frontmatter ([eb9de0f](https://github.com/gethexon/hexon/commit/eb9de0fbd6dfb790f7ac1b1e9103c71590c5ac60))\n* get page post by source api ([869558b](https://github.com/gethexon/hexon/commit/869558b8a0483ae444c4727da5a3da2b623b2d5e))\n* git actions ([5d10f84](https://github.com/gethexon/hexon/commit/5d10f84d2e555475af2bf03c46d9d2d37b7d3022))\n* h-article-item ([c4ca2c5](https://github.com/gethexon/hexon/commit/c4ca2c59d5f647575307561a6d2c9205b0049e3d))\n* h-article-list ([fa9acb4](https://github.com/gethexon/hexon/commit/fa9acb4ba1a160e515b467901cbd4793a48c470b))\n* h-checkbox ([003d36f](https://github.com/gethexon/hexon/commit/003d36f49774a7b8c88069eade9cc387a461c7b6))\n* h-header-editor ([345b0ee](https://github.com/gethexon/hexon/commit/345b0eed28d33d6b2de92de437aeefe19cbeb9c7))\n* h-loading ([36e20a2](https://github.com/gethexon/hexon/commit/36e20a2682705227cc6698b86d32aa7d06066ec7))\n* h-modal transition ([fa52b37](https://github.com/gethexon/hexon/commit/fa52b375d458f549e0483838fbeaae42049a06b6))\n* h-nav-setting ([d60c4fb](https://github.com/gethexon/hexon/commit/d60c4fb7642086502bfee956e72fd1a00014e1aa))\n* h-search-bar ([d656078](https://github.com/gethexon/hexon/commit/d656078d570e9a76cb77cb2f81f0ee7c58677aed))\n* h-toggle ([573f360](https://github.com/gethexon/hexon/commit/573f360d7300f2eb91b12b2fa0d559e440a07be9))\n* h-viewer-content ([7c2b800](https://github.com/gethexon/hexon/commit/7c2b8001a06d29f87413fa93102d55a5ac44ebf7))\n* h-viewer-header ([7acb9ac](https://github.com/gethexon/hexon/commit/7acb9accb682f2f263b83c8db2c08a934901ea15))\n* h-viewer-toolbar ([17af85b](https://github.com/gethexon/hexon/commit/17af85bb3116ac3553464aa5f622f7368e46bdbd))\n* hexo actions ([b217ee1](https://github.com/gethexon/hexon/commit/b217ee18aa654e4d07b4410013c446aa93ceed75))\n* home page ([ff530d7](https://github.com/gethexon/hexon/commit/ff530d7b81b125963ace9035002c1a97aa97de76))\n* http security auto update ([02e23d3](https://github.com/gethexon/hexon/commit/02e23d3e8024542c6140cc4fa6b4b38362662906))\n* http-secure ([975c637](https://github.com/gethexon/hexon/commit/975c637e8d6ae4944b4a8807a3fb3813206d54d2))\n* http-secure more log ([c160884](https://github.com/gethexon/hexon/commit/c160884ae939cd2bb1a6d1c979ae0949c4eeab18))\n* input error ([0caccf8](https://github.com/gethexon/hexon/commit/0caccf8419a35805253d207c93f6505fddfa20b9))\n* input focus blur ([9e35d0d](https://github.com/gethexon/hexon/commit/9e35d0d318e238b5ef42b06133625279e8639b0a))\n* install api ([3fff854](https://github.com/gethexon/hexon/commit/3fff854548c27f329371f8210a6e6ed15416acff))\n* install page ([988389e](https://github.com/gethexon/hexon/commit/988389e784d01fba977209a040ecc7e6f02880aa))\n* install-cli ([94f070b](https://github.com/gethexon/hexon/commit/94f070b8bfdcebbf45953a94926c5cfb12c34c8d))\n* layout editor ([fc28d16](https://github.com/gethexon/hexon/commit/fc28d16301ba079b375acb10c46d517def9a7aee))\n* list to tree ([69d390b](https://github.com/gethexon/hexon/commit/69d390bbf33b8965497eb4a816d9baabcc32f2af))\n* loading ([8471971](https://github.com/gethexon/hexon/commit/84719713d805d52de939a679cefba6bff6a9ce2f))\n* modal system ([4bdaa7e](https://github.com/gethexon/hexon/commit/4bdaa7eab44fa3512e0d05a15d9eff3cd9763c44))\n* navitem uppercase prop ([e9f90da](https://github.com/gethexon/hexon/commit/e9f90dacc5343475602b51fe9f7c2f6772b9b6e2))\n* new nav list ([be2df3b](https://github.com/gethexon/hexon/commit/be2df3b61c7539805d7a60417c589df93715e7ed))\n* new theme system ([a2f1fcf](https://github.com/gethexon/hexon/commit/a2f1fcfb4a8a98922b882427dc5c8eb54e9e9323))\n* notification actions ([a1ac24d](https://github.com/gethexon/hexon/commit/a1ac24d92253db120f6ba782d7820feef6d8c2ba))\n* notification system ([c26cfda](https://github.com/gethexon/hexon/commit/c26cfda07514bd29bc10214c3c51f9dc42f9b6aa))\n* password encode ([2bf84fd](https://github.com/gethexon/hexon/commit/2bf84fdd6c3ebe4c09f7122808e3c5eb435e6a81))\n* popover ([baa6f39](https://github.com/gethexon/hexon/commit/baa6f39fb9798e698eb87d2444b61106a475a133))\n* popover ([78164d3](https://github.com/gethexon/hexon/commit/78164d33cf7e36fdf4e48418176975c2e7464442))\n* post and page delete api ([6d08b14](https://github.com/gethexon/hexon/commit/6d08b14f92ace29494bc560e2e24748c02c62796))\n* post and page update api ([82919de](https://github.com/gethexon/hexon/commit/82919deb91b5712b899ec683df65da8d70dde8cd))\n* prettier markdown formatter ([592b646](https://github.com/gethexon/hexon/commit/592b6461e04e6f93c149c64a33272f4936d0e3b1))\n* publish api ([c76849a](https://github.com/gethexon/hexon/commit/c76849a2d113dfd957460a9c5ca6d57b380a05df))\n* save article ([c812fe9](https://github.com/gethexon/hexon/commit/c812fe91af8d85f65852ed68af1625ea2d20431e))\n* saving instruction ([a689e95](https://github.com/gethexon/hexon/commit/a689e951e74c0f8863fd0e8e77a35e109fd8edc5))\n* settings modal ([fa52432](https://github.com/gethexon/hexon/commit/fa524325134f4ab0f869067968ac565a177fe587))\n* slider ([ba80d2d](https://github.com/gethexon/hexon/commit/ba80d2d092a7948808fe8b986ff569c5fcfe1883))\n* tab switch ([f431ba7](https://github.com/gethexon/hexon/commit/f431ba7f37844636c5040fea2722e0cb3a62953b))\n* tag editor ([2d75f51](https://github.com/gethexon/hexon/commit/2d75f5107a519cbc5e118ffb1ff2216bde08ae51))\n* textarea ([c5446fd](https://github.com/gethexon/hexon/commit/c5446fd5d68e9ab195884595f254abcef3fb75ac))\n* transition ([a69c0bd](https://github.com/gethexon/hexon/commit/a69c0bddf38ec781df8cfaf067aa53e4133d67c2))\n* unsaved edit confirm ([5f70d08](https://github.com/gethexon/hexon/commit/5f70d08d36e8f59c9dad786a8f9006a9d8800231))\n* viewer view router ([531008c](https://github.com/gethexon/hexon/commit/531008c998895bcdb03ac9f76db9c44c5fa50492))\n* viewerview action ([e4be40b](https://github.com/gethexon/hexon/commit/e4be40b3a020880a784be5ffcb114a28e2e62fb8))\n* web publish ([b99c830](https://github.com/gethexon/hexon/commit/b99c8303849294c5ace89b8486b98cff0be2a734))\n* 更改数据后返回可能的更新 ([40e8097](https://github.com/gethexon/hexon/commit/40e8097017c17e5ed9a9228967472f37a25c40f0))\n* 添加 brief 字段到 listxxx api ([8d30450](https://github.com/gethexon/hexon/commit/8d30450e368bf453ac45979ecc7465301050eb2d))\n* **server:** change to brief to save bandwidth ([bb07249](https://github.com/gethexon/hexon/commit/bb072495c7fae68873135a0dc733664072082aa5))\n* **server:** 接入 koa-account ([7c502f2](https://github.com/gethexon/hexon/commit/7c502f2e2ee0f1c00c96065f16e1d14f8796eaa3))\n* **server:** 支持修改用户名和密码 ([f55578c](https://github.com/gethexon/hexon/commit/f55578cf1bf587902f4ebb8c28ced8e11735ff4a))\n* **vue:** h-modal ([3f1ab96](https://github.com/gethexon/hexon/commit/3f1ab960c4e51820754f82d5ba58d3abec10a322))\n* **vue:** h-nav-list ([530e45e](https://github.com/gethexon/hexon/commit/530e45e221b3bdcbd7049392b11a54755d461c8c))\n* **vue:** h-toolbar h-title ([e18bb11](https://github.com/gethexon/hexon/commit/e18bb119cf75c65e7720744f64c74f6c63e3f624))\n* **vue:** login form ([3895838](https://github.com/gethexon/hexon/commit/389583854999b8dbeecca93dd83636842231b052))\n* **vue:** signin page ([b651b15](https://github.com/gethexon/hexon/commit/b651b15cd95d75a396cccdcfd37dec00447d8ca1))\n* **vue:** split-view ([9ea7115](https://github.com/gethexon/hexon/commit/9ea711557afd7dd10eeba1cf5fe8446cc3fd0035))\n* **vue:** 重写 account 为 vue 插件 ([380d90f](https://github.com/gethexon/hexon/commit/380d90f964a242a82f2e1b5fa838ff1bcaf987f9))\n* **vue:** 重写主题为 vue 插件 ([3b0b8be](https://github.com/gethexon/hexon/commit/3b0b8be3d0cc06e948421ecacd4d6e58d47ced10))\n* **web:** ellipsis support ([4b2bf6f](https://github.com/gethexon/hexon/commit/4b2bf6fd0d6e62fdc88fe02fdbeb838572c2bcc4))\n* **web:** h-badge ([1cbbe3d](https://github.com/gethexon/hexon/commit/1cbbe3d9f2ef9b8de4aebf83ad8cacd0ec525126))\n* **web:** h-button ([54dfe3a](https://github.com/gethexon/hexon/commit/54dfe3adcbad1003f52a6db99738d7330ddc89d0))\n* **web:** h-button block ([7ef674b](https://github.com/gethexon/hexon/commit/7ef674bddea94095c5d25d2e9a7055c7dec2e815))\n* **web:** h-icon ([5b815f9](https://github.com/gethexon/hexon/commit/5b815f97cdc742c010277f60b648ac4128cd5d22))\n* **web:** h-icon clickable ([cdf6ee1](https://github.com/gethexon/hexon/commit/cdf6ee11f6ffba2c0de6c1d6af86714a968f0d66))\n* **web:** h-input ([3c2ebf8](https://github.com/gethexon/hexon/commit/3c2ebf8ed11e6eda8786b59b053e7f098dd0ac24))\n* **web:** h-input-clearable ([ff05faf](https://github.com/gethexon/hexon/commit/ff05faf2b1b1495f47c4c2eb22aec9227a5f2356))\n* **web:** h-input-type ([875b4d6](https://github.com/gethexon/hexon/commit/875b4d6f6a53ce96393c8baea55aa693670416ea))\n* **web:** install tailwind css ([9a84356](https://github.com/gethexon/hexon/commit/9a843560271bb3927d5f1ad6590d0bd527d2f866))\n* 使用 slug  当作 id ([6802ebc](https://github.com/gethexon/hexon/commit/6802ebc002ad1b33eb5d0ecbf3b6b98c60a9e7c1))\n* 添加 slug 编解码支持 ([9c6cffe](https://github.com/gethexon/hexon/commit/9c6cffe6cac3b160ddb7f5411d04258f4346f44d))\n* **web:** init and account ([b1792e6](https://github.com/gethexon/hexon/commit/b1792e61a4e84a7d0b1d37257d43c3498fb06a75))\n* **web:** 使用 fluent icon font ([5c344e1](https://github.com/gethexon/hexon/commit/5c344e1e7cd8987fec174218529f97ef08bdf33b))\n* **web:** 添加 storybook 和主题 ([b204aba](https://github.com/gethexon/hexon/commit/b204abafdf712fd20c3dcdf1ec242e96e1a8662f))\n* **web:** 添加 vuex 和博客内容加载 ([073ea86](https://github.com/gethexon/hexon/commit/073ea86a7c04d2a46044548240363a3d1d3db51a))\n* **web:** 添加颜色类型 ([54f6fee](https://github.com/gethexon/hexon/commit/54f6fee1c2f3b7947fd26da6ce3dbc69757d3c78))\n* **web:** 登出时清理 store 数据 ([2998964](https://github.com/gethexon/hexon/commit/29989647ae354e16a6214558a553ae9c7f23e66b))\n* base command ([71db15e](https://github.com/gethexon/hexon/commit/71db15e23dad870d6da7c62c80a0669d2e654a47))\n* hexo list ([b9d9b8d](https://github.com/gethexon/hexon/commit/b9d9b8d2cfc2c4c87d1dfb89e1b8fb3edd261bce))\n* 支持显示错误 ([a77f049](https://github.com/gethexon/hexon/commit/a77f049948304b75a6c7379473ae6af07ee78c9f))\n* 重构基础 支持 ts ([4cb26a3](https://github.com/gethexon/hexon/commit/4cb26a3bb94f8c09a7dbda6cadb20923acc4e3b1))\n\n\n\n\n\n# [0.8.0-beta.5](https://github.com/gethexon/hexon/compare/v0.8.0-beta.4...v0.8.0-beta.5) (2021-11-03)\n\n\n### Bug Fixes\n\n* path 为空时新建文章崩溃 ([bcc2ee9](https://github.com/gethexon/hexon/commit/bcc2ee9189b0d1e3785e9937f70ef39d9ffdc3f3))\n* prd script 路径错误 ([21e2cfb](https://github.com/gethexon/hexon/commit/21e2cfb61fb32b0562740123e3c258a99bc64749))\n\n\n\n\n\n# [0.8.0-beta.4](https://github.com/gethexon/hexon/compare/v0.8.0-beta.3...v0.8.0-beta.4) (2021-10-21)\n\n\n### Bug Fixes\n\n* show 500 instead of 404 when error ([208f9eb](https://github.com/gethexon/hexon/commit/208f9ebca656a48d39c56728c1a02d582c3d3595))\n\n\n\n\n\n# [0.8.0-beta.3](https://github.com/gethexon/hexon/compare/v0.8.0-beta.2...v0.8.0-beta.3) (2021-10-21)\n\n\n### Bug Fixes\n\n* 转换反斜杠为正斜杠 ([44d8844](https://github.com/gethexon/hexon/commit/44d88441cd63db296a99bbcff728a97a5ae913a4))\n\n\n\n\n\n# [0.8.0-beta.2](https://github.com/gethexon/hexon/compare/v0.8.0-beta.1...v0.8.0-beta.2) (2021-04-23)\n\n\n### Features\n\n* 正则搜索文章 ([b180b88](https://github.com/gethexon/hexon/commit/b180b88e7c705623e6c0a89652bce91a7e6f87a2))\n\n\n\n\n\n# [0.8.0-beta.1](https://github.com/gethexon/hexon/compare/v0.8.0-beta.0...v0.8.0-beta.1) (2021-04-16)\n\n\n### Features\n\n* 添加 MonacoEditor 黑暗模式支持 ([3fe02f7](https://github.com/gethexon/hexon/commit/3fe02f71d50f18cb9eba121a055a641ee6fe4a1f))\n* 添加 pwa 刷新和返回按钮 ([532bb36](https://github.com/gethexon/hexon/commit/532bb3644cb8e43addbc7efe790450d3090c781d))\n* 重置密码 ([dea9fc5](https://github.com/gethexon/hexon/commit/dea9fc51db8af9236a4ccc53e2a6a76179a22ef3))\n* 自动 prerelease ([67d72ec](https://github.com/gethexon/hexon/commit/67d72eca56727e9815aaa5bc308c2caa9e4122ca))\n"
  },
  {
    "path": "LICENSE",
    "content": "                    GNU GENERAL PUBLIC LICENSE\r\n                       Version 3, 29 June 2007\r\n\r\n Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\r\n Everyone is permitted to copy and distribute verbatim copies\r\n of this license document, but changing it is not allowed.\r\n\r\n                            Preamble\r\n\r\n  The GNU General Public License is a free, copyleft license for\r\nsoftware and other kinds of works.\r\n\r\n  The licenses for most software and other practical works are designed\r\nto take away your freedom to share and change the works.  By contrast,\r\nthe GNU General Public License is intended to guarantee your freedom to\r\nshare and change all versions of a program--to make sure it remains free\r\nsoftware for all its users.  We, the Free Software Foundation, use the\r\nGNU General Public License for most of our software; it applies also to\r\nany other work released this way by its authors.  You can apply it to\r\nyour programs, too.\r\n\r\n  When we speak of free software, we are referring to freedom, not\r\nprice.  Our General Public Licenses are designed to make sure that you\r\nhave the freedom to distribute copies of free software (and charge for\r\nthem if you wish), that you receive source code or can get it if you\r\nwant it, that you can change the software or use pieces of it in new\r\nfree programs, and that you know you can do these things.\r\n\r\n  To protect your rights, we need to prevent others from denying you\r\nthese rights or asking you to surrender the rights.  Therefore, you have\r\ncertain responsibilities if you distribute copies of the software, or if\r\nyou modify it: responsibilities to respect the freedom of others.\r\n\r\n  For example, if you distribute copies of such a program, whether\r\ngratis or for a fee, you must pass on to the recipients the same\r\nfreedoms that you received.  You must make sure that they, too, receive\r\nor can get the source code.  And you must show them these terms so they\r\nknow their rights.\r\n\r\n  Developers that use the GNU GPL protect your rights with two steps:\r\n(1) assert copyright on the software, and (2) offer you this License\r\ngiving you legal permission to copy, distribute and/or modify it.\r\n\r\n  For the developers' and authors' protection, the GPL clearly explains\r\nthat there is no warranty for this free software.  For both users' and\r\nauthors' sake, the GPL requires that modified versions be marked as\r\nchanged, so that their problems will not be attributed erroneously to\r\nauthors of previous versions.\r\n\r\n  Some devices are designed to deny users access to install or run\r\nmodified versions of the software inside them, although the manufacturer\r\ncan do so.  This is fundamentally incompatible with the aim of\r\nprotecting users' freedom to change the software.  The systematic\r\npattern of such abuse occurs in the area of products for individuals to\r\nuse, which is precisely where it is most unacceptable.  Therefore, we\r\nhave designed this version of the GPL to prohibit the practice for those\r\nproducts.  If such problems arise substantially in other domains, we\r\nstand ready to extend this provision to those domains in future versions\r\nof the GPL, as needed to protect the freedom of users.\r\n\r\n  Finally, every program is threatened constantly by software patents.\r\nStates should not allow patents to restrict development and use of\r\nsoftware on general-purpose computers, but in those that do, we wish to\r\navoid the special danger that patents applied to a free program could\r\nmake it effectively proprietary.  To prevent this, the GPL assures that\r\npatents cannot be used to render the program non-free.\r\n\r\n  The precise terms and conditions for copying, distribution and\r\nmodification follow.\r\n\r\n                       TERMS AND CONDITIONS\r\n\r\n  0. Definitions.\r\n\r\n  \"This License\" refers to version 3 of the GNU General Public License.\r\n\r\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\r\nworks, such as semiconductor masks.\r\n\r\n  \"The Program\" refers to any copyrightable work licensed under this\r\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\r\n\"recipients\" may be individuals or organizations.\r\n\r\n  To \"modify\" a work means to copy from or adapt all or part of the work\r\nin a fashion requiring copyright permission, other than the making of an\r\nexact copy.  The resulting work is called a \"modified version\" of the\r\nearlier work or a work \"based on\" the earlier work.\r\n\r\n  A \"covered work\" means either the unmodified Program or a work based\r\non the Program.\r\n\r\n  To \"propagate\" a work means to do anything with it that, without\r\npermission, would make you directly or secondarily liable for\r\ninfringement under applicable copyright law, except executing it on a\r\ncomputer or modifying a private copy.  Propagation includes copying,\r\ndistribution (with or without modification), making available to the\r\npublic, and in some countries other activities as well.\r\n\r\n  To \"convey\" a work means any kind of propagation that enables other\r\nparties to make or receive copies.  Mere interaction with a user through\r\na computer network, with no transfer of a copy, is not conveying.\r\n\r\n  An interactive user interface displays \"Appropriate Legal Notices\"\r\nto the extent that it includes a convenient and prominently visible\r\nfeature that (1) displays an appropriate copyright notice, and (2)\r\ntells the user that there is no warranty for the work (except to the\r\nextent that warranties are provided), that licensees may convey the\r\nwork under this License, and how to view a copy of this License.  If\r\nthe interface presents a list of user commands or options, such as a\r\nmenu, a prominent item in the list meets this criterion.\r\n\r\n  1. Source Code.\r\n\r\n  The \"source code\" for a work means the preferred form of the work\r\nfor making modifications to it.  \"Object code\" means any non-source\r\nform of a work.\r\n\r\n  A \"Standard Interface\" means an interface that either is an official\r\nstandard defined by a recognized standards body, or, in the case of\r\ninterfaces specified for a particular programming language, one that\r\nis widely used among developers working in that language.\r\n\r\n  The \"System Libraries\" of an executable work include anything, other\r\nthan the work as a whole, that (a) is included in the normal form of\r\npackaging a Major Component, but which is not part of that Major\r\nComponent, and (b) serves only to enable use of the work with that\r\nMajor Component, or to implement a Standard Interface for which an\r\nimplementation is available to the public in source code form.  A\r\n\"Major Component\", in this context, means a major essential component\r\n(kernel, window system, and so on) of the specific operating system\r\n(if any) on which the executable work runs, or a compiler used to\r\nproduce the work, or an object code interpreter used to run it.\r\n\r\n  The \"Corresponding Source\" for a work in object code form means all\r\nthe source code needed to generate, install, and (for an executable\r\nwork) run the object code and to modify the work, including scripts to\r\ncontrol those activities.  However, it does not include the work's\r\nSystem Libraries, or general-purpose tools or generally available free\r\nprograms which are used unmodified in performing those activities but\r\nwhich are not part of the work.  For example, Corresponding Source\r\nincludes interface definition files associated with source files for\r\nthe work, and the source code for shared libraries and dynamically\r\nlinked subprograms that the work is specifically designed to require,\r\nsuch as by intimate data communication or control flow between those\r\nsubprograms and other parts of the work.\r\n\r\n  The Corresponding Source need not include anything that users\r\ncan regenerate automatically from other parts of the Corresponding\r\nSource.\r\n\r\n  The Corresponding Source for a work in source code form is that\r\nsame work.\r\n\r\n  2. Basic Permissions.\r\n\r\n  All rights granted under this License are granted for the term of\r\ncopyright on the Program, and are irrevocable provided the stated\r\nconditions are met.  This License explicitly affirms your unlimited\r\npermission to run the unmodified Program.  The output from running a\r\ncovered work is covered by this License only if the output, given its\r\ncontent, constitutes a covered work.  This License acknowledges your\r\nrights of fair use or other equivalent, as provided by copyright law.\r\n\r\n  You may make, run and propagate covered works that you do not\r\nconvey, without conditions so long as your license otherwise remains\r\nin force.  You may convey covered works to others for the sole purpose\r\nof having them make modifications exclusively for you, or provide you\r\nwith facilities for running those works, provided that you comply with\r\nthe terms of this License in conveying all material for which you do\r\nnot control copyright.  Those thus making or running the covered works\r\nfor you must do so exclusively on your behalf, under your direction\r\nand control, on terms that prohibit them from making any copies of\r\nyour copyrighted material outside their relationship with you.\r\n\r\n  Conveying under any other circumstances is permitted solely under\r\nthe conditions stated below.  Sublicensing is not allowed; section 10\r\nmakes it unnecessary.\r\n\r\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\r\n\r\n  No covered work shall be deemed part of an effective technological\r\nmeasure under any applicable law fulfilling obligations under article\r\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\r\nsimilar laws prohibiting or restricting circumvention of such\r\nmeasures.\r\n\r\n  When you convey a covered work, you waive any legal power to forbid\r\ncircumvention of technological measures to the extent such circumvention\r\nis effected by exercising rights under this License with respect to\r\nthe covered work, and you disclaim any intention to limit operation or\r\nmodification of the work as a means of enforcing, against the work's\r\nusers, your or third parties' legal rights to forbid circumvention of\r\ntechnological measures.\r\n\r\n  4. Conveying Verbatim Copies.\r\n\r\n  You may convey verbatim copies of the Program's source code as you\r\nreceive it, in any medium, provided that you conspicuously and\r\nappropriately publish on each copy an appropriate copyright notice;\r\nkeep intact all notices stating that this License and any\r\nnon-permissive terms added in accord with section 7 apply to the code;\r\nkeep intact all notices of the absence of any warranty; and give all\r\nrecipients a copy of this License along with the Program.\r\n\r\n  You may charge any price or no price for each copy that you convey,\r\nand you may offer support or warranty protection for a fee.\r\n\r\n  5. Conveying Modified Source Versions.\r\n\r\n  You may convey a work based on the Program, or the modifications to\r\nproduce it from the Program, in the form of source code under the\r\nterms of section 4, provided that you also meet all of these conditions:\r\n\r\n    a) The work must carry prominent notices stating that you modified\r\n    it, and giving a relevant date.\r\n\r\n    b) The work must carry prominent notices stating that it is\r\n    released under this License and any conditions added under section\r\n    7.  This requirement modifies the requirement in section 4 to\r\n    \"keep intact all notices\".\r\n\r\n    c) You must license the entire work, as a whole, under this\r\n    License to anyone who comes into possession of a copy.  This\r\n    License will therefore apply, along with any applicable section 7\r\n    additional terms, to the whole of the work, and all its parts,\r\n    regardless of how they are packaged.  This License gives no\r\n    permission to license the work in any other way, but it does not\r\n    invalidate such permission if you have separately received it.\r\n\r\n    d) If the work has interactive user interfaces, each must display\r\n    Appropriate Legal Notices; however, if the Program has interactive\r\n    interfaces that do not display Appropriate Legal Notices, your\r\n    work need not make them do so.\r\n\r\n  A compilation of a covered work with other separate and independent\r\nworks, which are not by their nature extensions of the covered work,\r\nand which are not combined with it such as to form a larger program,\r\nin or on a volume of a storage or distribution medium, is called an\r\n\"aggregate\" if the compilation and its resulting copyright are not\r\nused to limit the access or legal rights of the compilation's users\r\nbeyond what the individual works permit.  Inclusion of a covered work\r\nin an aggregate does not cause this License to apply to the other\r\nparts of the aggregate.\r\n\r\n  6. Conveying Non-Source Forms.\r\n\r\n  You may convey a covered work in object code form under the terms\r\nof sections 4 and 5, provided that you also convey the\r\nmachine-readable Corresponding Source under the terms of this License,\r\nin one of these ways:\r\n\r\n    a) Convey the object code in, or embodied in, a physical product\r\n    (including a physical distribution medium), accompanied by the\r\n    Corresponding Source fixed on a durable physical medium\r\n    customarily used for software interchange.\r\n\r\n    b) Convey the object code in, or embodied in, a physical product\r\n    (including a physical distribution medium), accompanied by a\r\n    written offer, valid for at least three years and valid for as\r\n    long as you offer spare parts or customer support for that product\r\n    model, to give anyone who possesses the object code either (1) a\r\n    copy of the Corresponding Source for all the software in the\r\n    product that is covered by this License, on a durable physical\r\n    medium customarily used for software interchange, for a price no\r\n    more than your reasonable cost of physically performing this\r\n    conveying of source, or (2) access to copy the\r\n    Corresponding Source from a network server at no charge.\r\n\r\n    c) Convey individual copies of the object code with a copy of the\r\n    written offer to provide the Corresponding Source.  This\r\n    alternative is allowed only occasionally and noncommercially, and\r\n    only if you received the object code with such an offer, in accord\r\n    with subsection 6b.\r\n\r\n    d) Convey the object code by offering access from a designated\r\n    place (gratis or for a charge), and offer equivalent access to the\r\n    Corresponding Source in the same way through the same place at no\r\n    further charge.  You need not require recipients to copy the\r\n    Corresponding Source along with the object code.  If the place to\r\n    copy the object code is a network server, the Corresponding Source\r\n    may be on a different server (operated by you or a third party)\r\n    that supports equivalent copying facilities, provided you maintain\r\n    clear directions next to the object code saying where to find the\r\n    Corresponding Source.  Regardless of what server hosts the\r\n    Corresponding Source, you remain obligated to ensure that it is\r\n    available for as long as needed to satisfy these requirements.\r\n\r\n    e) Convey the object code using peer-to-peer transmission, provided\r\n    you inform other peers where the object code and Corresponding\r\n    Source of the work are being offered to the general public at no\r\n    charge under subsection 6d.\r\n\r\n  A separable portion of the object code, whose source code is excluded\r\nfrom the Corresponding Source as a System Library, need not be\r\nincluded in conveying the object code work.\r\n\r\n  A \"User Product\" is either (1) a \"consumer product\", which means any\r\ntangible personal property which is normally used for personal, family,\r\nor household purposes, or (2) anything designed or sold for incorporation\r\ninto a dwelling.  In determining whether a product is a consumer product,\r\ndoubtful cases shall be resolved in favor of coverage.  For a particular\r\nproduct received by a particular user, \"normally used\" refers to a\r\ntypical or common use of that class of product, regardless of the status\r\nof the particular user or of the way in which the particular user\r\nactually uses, or expects or is expected to use, the product.  A product\r\nis a consumer product regardless of whether the product has substantial\r\ncommercial, industrial or non-consumer uses, unless such uses represent\r\nthe only significant mode of use of the product.\r\n\r\n  \"Installation Information\" for a User Product means any methods,\r\nprocedures, authorization keys, or other information required to install\r\nand execute modified versions of a covered work in that User Product from\r\na modified version of its Corresponding Source.  The information must\r\nsuffice to ensure that the continued functioning of the modified object\r\ncode is in no case prevented or interfered with solely because\r\nmodification has been made.\r\n\r\n  If you convey an object code work under this section in, or with, or\r\nspecifically for use in, a User Product, and the conveying occurs as\r\npart of a transaction in which the right of possession and use of the\r\nUser Product is transferred to the recipient in perpetuity or for a\r\nfixed term (regardless of how the transaction is characterized), the\r\nCorresponding Source conveyed under this section must be accompanied\r\nby the Installation Information.  But this requirement does not apply\r\nif neither you nor any third party retains the ability to install\r\nmodified object code on the User Product (for example, the work has\r\nbeen installed in ROM).\r\n\r\n  The requirement to provide Installation Information does not include a\r\nrequirement to continue to provide support service, warranty, or updates\r\nfor a work that has been modified or installed by the recipient, or for\r\nthe User Product in which it has been modified or installed.  Access to a\r\nnetwork may be denied when the modification itself materially and\r\nadversely affects the operation of the network or violates the rules and\r\nprotocols for communication across the network.\r\n\r\n  Corresponding Source conveyed, and Installation Information provided,\r\nin accord with this section must be in a format that is publicly\r\ndocumented (and with an implementation available to the public in\r\nsource code form), and must require no special password or key for\r\nunpacking, reading or copying.\r\n\r\n  7. Additional Terms.\r\n\r\n  \"Additional permissions\" are terms that supplement the terms of this\r\nLicense by making exceptions from one or more of its conditions.\r\nAdditional permissions that are applicable to the entire Program shall\r\nbe treated as though they were included in this License, to the extent\r\nthat they are valid under applicable law.  If additional permissions\r\napply only to part of the Program, that part may be used separately\r\nunder those permissions, but the entire Program remains governed by\r\nthis License without regard to the additional permissions.\r\n\r\n  When you convey a copy of a covered work, you may at your option\r\nremove any additional permissions from that copy, or from any part of\r\nit.  (Additional permissions may be written to require their own\r\nremoval in certain cases when you modify the work.)  You may place\r\nadditional permissions on material, added by you to a covered work,\r\nfor which you have or can give appropriate copyright permission.\r\n\r\n  Notwithstanding any other provision of this License, for material you\r\nadd to a covered work, you may (if authorized by the copyright holders of\r\nthat material) supplement the terms of this License with terms:\r\n\r\n    a) Disclaiming warranty or limiting liability differently from the\r\n    terms of sections 15 and 16 of this License; or\r\n\r\n    b) Requiring preservation of specified reasonable legal notices or\r\n    author attributions in that material or in the Appropriate Legal\r\n    Notices displayed by works containing it; or\r\n\r\n    c) Prohibiting misrepresentation of the origin of that material, or\r\n    requiring that modified versions of such material be marked in\r\n    reasonable ways as different from the original version; or\r\n\r\n    d) Limiting the use for publicity purposes of names of licensors or\r\n    authors of the material; or\r\n\r\n    e) Declining to grant rights under trademark law for use of some\r\n    trade names, trademarks, or service marks; or\r\n\r\n    f) Requiring indemnification of licensors and authors of that\r\n    material by anyone who conveys the material (or modified versions of\r\n    it) with contractual assumptions of liability to the recipient, for\r\n    any liability that these contractual assumptions directly impose on\r\n    those licensors and authors.\r\n\r\n  All other non-permissive additional terms are considered \"further\r\nrestrictions\" within the meaning of section 10.  If the Program as you\r\nreceived it, or any part of it, contains a notice stating that it is\r\ngoverned by this License along with a term that is a further\r\nrestriction, you may remove that term.  If a license document contains\r\na further restriction but permits relicensing or conveying under this\r\nLicense, you may add to a covered work material governed by the terms\r\nof that license document, provided that the further restriction does\r\nnot survive such relicensing or conveying.\r\n\r\n  If you add terms to a covered work in accord with this section, you\r\nmust place, in the relevant source files, a statement of the\r\nadditional terms that apply to those files, or a notice indicating\r\nwhere to find the applicable terms.\r\n\r\n  Additional terms, permissive or non-permissive, may be stated in the\r\nform of a separately written license, or stated as exceptions;\r\nthe above requirements apply either way.\r\n\r\n  8. Termination.\r\n\r\n  You may not propagate or modify a covered work except as expressly\r\nprovided under this License.  Any attempt otherwise to propagate or\r\nmodify it is void, and will automatically terminate your rights under\r\nthis License (including any patent licenses granted under the third\r\nparagraph of section 11).\r\n\r\n  However, if you cease all violation of this License, then your\r\nlicense from a particular copyright holder is reinstated (a)\r\nprovisionally, unless and until the copyright holder explicitly and\r\nfinally terminates your license, and (b) permanently, if the copyright\r\nholder fails to notify you of the violation by some reasonable means\r\nprior to 60 days after the cessation.\r\n\r\n  Moreover, your license from a particular copyright holder is\r\nreinstated permanently if the copyright holder notifies you of the\r\nviolation by some reasonable means, this is the first time you have\r\nreceived notice of violation of this License (for any work) from that\r\ncopyright holder, and you cure the violation prior to 30 days after\r\nyour receipt of the notice.\r\n\r\n  Termination of your rights under this section does not terminate the\r\nlicenses of parties who have received copies or rights from you under\r\nthis License.  If your rights have been terminated and not permanently\r\nreinstated, you do not qualify to receive new licenses for the same\r\nmaterial under section 10.\r\n\r\n  9. Acceptance Not Required for Having Copies.\r\n\r\n  You are not required to accept this License in order to receive or\r\nrun a copy of the Program.  Ancillary propagation of a covered work\r\noccurring solely as a consequence of using peer-to-peer transmission\r\nto receive a copy likewise does not require acceptance.  However,\r\nnothing other than this License grants you permission to propagate or\r\nmodify any covered work.  These actions infringe copyright if you do\r\nnot accept this License.  Therefore, by modifying or propagating a\r\ncovered work, you indicate your acceptance of this License to do so.\r\n\r\n  10. Automatic Licensing of Downstream Recipients.\r\n\r\n  Each time you convey a covered work, the recipient automatically\r\nreceives a license from the original licensors, to run, modify and\r\npropagate that work, subject to this License.  You are not responsible\r\nfor enforcing compliance by third parties with this License.\r\n\r\n  An \"entity transaction\" is a transaction transferring control of an\r\norganization, or substantially all assets of one, or subdividing an\r\norganization, or merging organizations.  If propagation of a covered\r\nwork results from an entity transaction, each party to that\r\ntransaction who receives a copy of the work also receives whatever\r\nlicenses to the work the party's predecessor in interest had or could\r\ngive under the previous paragraph, plus a right to possession of the\r\nCorresponding Source of the work from the predecessor in interest, if\r\nthe predecessor has it or can get it with reasonable efforts.\r\n\r\n  You may not impose any further restrictions on the exercise of the\r\nrights granted or affirmed under this License.  For example, you may\r\nnot impose a license fee, royalty, or other charge for exercise of\r\nrights granted under this License, and you may not initiate litigation\r\n(including a cross-claim or counterclaim in a lawsuit) alleging that\r\nany patent claim is infringed by making, using, selling, offering for\r\nsale, or importing the Program or any portion of it.\r\n\r\n  11. Patents.\r\n\r\n  A \"contributor\" is a copyright holder who authorizes use under this\r\nLicense of the Program or a work on which the Program is based.  The\r\nwork thus licensed is called the contributor's \"contributor version\".\r\n\r\n  A contributor's \"essential patent claims\" are all patent claims\r\nowned or controlled by the contributor, whether already acquired or\r\nhereafter acquired, that would be infringed by some manner, permitted\r\nby this License, of making, using, or selling its contributor version,\r\nbut do not include claims that would be infringed only as a\r\nconsequence of further modification of the contributor version.  For\r\npurposes of this definition, \"control\" includes the right to grant\r\npatent sublicenses in a manner consistent with the requirements of\r\nthis License.\r\n\r\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\r\npatent license under the contributor's essential patent claims, to\r\nmake, use, sell, offer for sale, import and otherwise run, modify and\r\npropagate the contents of its contributor version.\r\n\r\n  In the following three paragraphs, a \"patent license\" is any express\r\nagreement or commitment, however denominated, not to enforce a patent\r\n(such as an express permission to practice a patent or covenant not to\r\nsue for patent infringement).  To \"grant\" such a patent license to a\r\nparty means to make such an agreement or commitment not to enforce a\r\npatent against the party.\r\n\r\n  If you convey a covered work, knowingly relying on a patent license,\r\nand the Corresponding Source of the work is not available for anyone\r\nto copy, free of charge and under the terms of this License, through a\r\npublicly available network server or other readily accessible means,\r\nthen you must either (1) cause the Corresponding Source to be so\r\navailable, or (2) arrange to deprive yourself of the benefit of the\r\npatent license for this particular work, or (3) arrange, in a manner\r\nconsistent with the requirements of this License, to extend the patent\r\nlicense to downstream recipients.  \"Knowingly relying\" means you have\r\nactual knowledge that, but for the patent license, your conveying the\r\ncovered work in a country, or your recipient's use of the covered work\r\nin a country, would infringe one or more identifiable patents in that\r\ncountry that you have reason to believe are valid.\r\n\r\n  If, pursuant to or in connection with a single transaction or\r\narrangement, you convey, or propagate by procuring conveyance of, a\r\ncovered work, and grant a patent license to some of the parties\r\nreceiving the covered work authorizing them to use, propagate, modify\r\nor convey a specific copy of the covered work, then the patent license\r\nyou grant is automatically extended to all recipients of the covered\r\nwork and works based on it.\r\n\r\n  A patent license is \"discriminatory\" if it does not include within\r\nthe scope of its coverage, prohibits the exercise of, or is\r\nconditioned on the non-exercise of one or more of the rights that are\r\nspecifically granted under this License.  You may not convey a covered\r\nwork if you are a party to an arrangement with a third party that is\r\nin the business of distributing software, under which you make payment\r\nto the third party based on the extent of your activity of conveying\r\nthe work, and under which the third party grants, to any of the\r\nparties who would receive the covered work from you, a discriminatory\r\npatent license (a) in connection with copies of the covered work\r\nconveyed by you (or copies made from those copies), or (b) primarily\r\nfor and in connection with specific products or compilations that\r\ncontain the covered work, unless you entered into that arrangement,\r\nor that patent license was granted, prior to 28 March 2007.\r\n\r\n  Nothing in this License shall be construed as excluding or limiting\r\nany implied license or other defenses to infringement that may\r\notherwise be available to you under applicable patent law.\r\n\r\n  12. No Surrender of Others' Freedom.\r\n\r\n  If conditions are imposed on you (whether by court order, agreement or\r\notherwise) that contradict the conditions of this License, they do not\r\nexcuse you from the conditions of this License.  If you cannot convey a\r\ncovered work so as to satisfy simultaneously your obligations under this\r\nLicense and any other pertinent obligations, then as a consequence you may\r\nnot convey it at all.  For example, if you agree to terms that obligate you\r\nto collect a royalty for further conveying from those to whom you convey\r\nthe Program, the only way you could satisfy both those terms and this\r\nLicense would be to refrain entirely from conveying the Program.\r\n\r\n  13. Use with the GNU Affero General Public License.\r\n\r\n  Notwithstanding any other provision of this License, you have\r\npermission to link or combine any covered work with a work licensed\r\nunder version 3 of the GNU Affero General Public License into a single\r\ncombined work, and to convey the resulting work.  The terms of this\r\nLicense will continue to apply to the part which is the covered work,\r\nbut the special requirements of the GNU Affero General Public License,\r\nsection 13, concerning interaction through a network will apply to the\r\ncombination as such.\r\n\r\n  14. Revised Versions of this License.\r\n\r\n  The Free Software Foundation may publish revised and/or new versions of\r\nthe GNU General Public License from time to time.  Such new versions will\r\nbe similar in spirit to the present version, but may differ in detail to\r\naddress new problems or concerns.\r\n\r\n  Each version is given a distinguishing version number.  If the\r\nProgram specifies that a certain numbered version of the GNU General\r\nPublic License \"or any later version\" applies to it, you have the\r\noption of following the terms and conditions either of that numbered\r\nversion or of any later version published by the Free Software\r\nFoundation.  If the Program does not specify a version number of the\r\nGNU General Public License, you may choose any version ever published\r\nby the Free Software Foundation.\r\n\r\n  If the Program specifies that a proxy can decide which future\r\nversions of the GNU General Public License can be used, that proxy's\r\npublic statement of acceptance of a version permanently authorizes you\r\nto choose that version for the Program.\r\n\r\n  Later license versions may give you additional or different\r\npermissions.  However, no additional obligations are imposed on any\r\nauthor or copyright holder as a result of your choosing to follow a\r\nlater version.\r\n\r\n  15. Disclaimer of Warranty.\r\n\r\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\r\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\r\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\r\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\r\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\r\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\r\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\r\n\r\n  16. Limitation of Liability.\r\n\r\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\r\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\r\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\r\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\r\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\r\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\r\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\r\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\r\nSUCH DAMAGES.\r\n\r\n  17. Interpretation of Sections 15 and 16.\r\n\r\n  If the disclaimer of warranty and limitation of liability provided\r\nabove cannot be given local legal effect according to their terms,\r\nreviewing courts shall apply local law that most closely approximates\r\nan absolute waiver of all civil liability in connection with the\r\nProgram, unless a warranty or assumption of liability accompanies a\r\ncopy of the Program in return for a fee.\r\n\r\n                     END OF TERMS AND CONDITIONS\r\n\r\n            How to Apply These Terms to Your New Programs\r\n\r\n  If you develop a new program, and you want it to be of the greatest\r\npossible use to the public, the best way to achieve this is to make it\r\nfree software which everyone can redistribute and change under these terms.\r\n\r\n  To do so, attach the following notices to the program.  It is safest\r\nto attach them to the start of each source file to most effectively\r\nstate the exclusion of warranty; and each file should have at least\r\nthe \"copyright\" line and a pointer to where the full notice is found.\r\n\r\n    <one line to give the program's name and a brief idea of what it does.>\r\n    Copyright (C) <year>  <name of author>\r\n\r\n    This program is free software: you can redistribute it and/or modify\r\n    it under the terms of the GNU General Public License as published by\r\n    the Free Software Foundation, either version 3 of the License, or\r\n    (at your option) any later version.\r\n\r\n    This program is distributed in the hope that it will be useful,\r\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r\n    GNU General Public License for more details.\r\n\r\n    You should have received a copy of the GNU General Public License\r\n    along with this program.  If not, see <http://www.gnu.org/licenses/>.\r\n\r\nAlso add information on how to contact you by electronic and paper mail.\r\n\r\n  If the program does terminal interaction, make it output a short\r\nnotice like this when it starts in an interactive mode:\r\n\r\n    <program>  Copyright (C) <year>  <name of author>\r\n    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\r\n    This is free software, and you are welcome to redistribute it\r\n    under certain conditions; type `show c' for details.\r\n\r\nThe hypothetical commands `show w' and `show c' should show the appropriate\r\nparts of the General Public License.  Of course, your program's commands\r\nmight be different; for a GUI interface, you would use an \"about box\".\r\n\r\n  You should also get your employer (if you work as a programmer) or school,\r\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\r\nFor more information on this, and how to apply and follow the GNU GPL, see\r\n<http://www.gnu.org/licenses/>.\r\n\r\n  The GNU General Public License does not permit incorporating your program\r\ninto proprietary programs.  If your program is a subroutine library, you\r\nmay consider it more useful to permit linking proprietary applications with\r\nthe library.  If this is what you want to do, use the GNU Lesser General\r\nPublic License instead of this License.  But first, please read\r\n<http://www.gnu.org/philosophy/why-not-lgpl.html>.\r\n"
  },
  {
    "path": "README.md",
    "content": "# Hexon\n\nLet's hexo online!\n\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/gethexon/hexon?style=flat-square)](https://github.com/gethexon/hexon/releases/)\n\nEnglish | [中文](./README_CN.md)\n\n![home screen](./images/home-screen.png)\n\n## ❔ How it works?\n\nHexon is a GUI for hexo with git, run commands and manage content for you.\n\n## ⭐️ Features\n\n- Post and page management\n- Front-matter template\n- ~~Online image management~~ use [imageur](https://github.com/YuJianghao/imageur)\n\n## 📘 Guide\n\n### Before Install\n\nMake sure your `git`, `hexo` and `Node.js` workflow is fine. Hexon only provide a GUI for these commands, but **not implement them**.\n\n### Install\n\n```bash\ngit clone https://github.com/gethexon/hexon --depth 1\ncd hexon\npnpm install\npnpm run setup\n```\n\n### Uninstall\n\nJust remove the folder you just cloned\n\n```bash\nrm -rf hexon\n```\n\n### Start\n\nFor plain Node.js:\n\n```bash\npnpm start\n```\n\nFor better devOps with [pm2](https://pm2.keymetrics.io/)\n\n```bash\npnpm prd\n# or integrate pm2 with `pnpm start` manually\n```\n\n### Update\n\nJust uninstall the old one and install the new one.\n\n## 💻 Commands\n\n- `pnpm run setup`: install and config\n- `pnpm start`: start hexon with node\n- `pnpm prd`: start hexon with pm2\n- `pnpm resetpwd`: reset password\n- `pnpm script`: manage custom script\n\nYou can replace hexon commands with your own bash script inside hexo blog folder.\n\ne.g. modify `git sync` script\n1. write your script in `<hexo-blog-path>/git_sync.sh`\n2. run `pnpm script`\n3. select `git sync`\n4. set script to `bash ./git_sync.sh`\n\n## 🖥️ Develop\n\n- Check out `develop` branch.\n- Run `pnpm dev-init` install dependencies and config hexon.\n- Run `pnpm dev` and show your magic!\n\n###### When submitting a PR, remember to set the target branch to `develop`.\n\n## 💩 Have trouble?\n\n- Read FAQs below.\n- Search in [Issue list](https://github.com/gethexon/hexon/issues).\n- [Add new Issue](https://github.com/gethexon/hexon/issueI/new).\n\n## ❓ Want to know more?\n\nStart a [discussion](https://github.com/gethexon/hexon/discussions).\n\n## 👌🏻 FAQ\n\n### 404 Error\n\nMaybe mistakes in revert proxy config(e.g. Nginx or Apache config). To verify, use `curl` on your server directly request assets without any revert proxy. This should be a command looks like:\n\n```bash\ncurl http://localhost:5777/assets/HMonacoEditor.5101bbae.js\n```\n\nOr hexon failure. Just raise an issue.\n\n<details>\n  <summary>If you are using Apache's reverse proxy...</summary>\nPlease make sure to add `AllowEncodedSlashes NoDecode` in your `VirtualHost` configuration, and add `nocanon` at the end of the `ProxyPass` setting.\n\nSee https://stackoverflow.com/questions/52034899/express-nodejs-server-through-apache-proxy-error-404-for-route-with-express-par\nand https://stackoverflow.com/questions/4390436/need-to-allow-encoded-slashes-on-apache\n\nExample:\n```conf\n<VirtualHost *:443>\n    ServerName blog-admin.example.com\n\n    SSLCertificateFile /etc/certificates/example.com.crt\n    SSLCertificateKeyFile /etc/certificates/example.com.key\n    SSLCertificateChainFile /etc/certificates/example.com.crt\n\n    SSLEngine On\n    SSLProxyEngine On\n    ProxyRequests Off\n    ProxyPreserveHost On\n    AllowEncodedSlashes NoDecode\n\n    ProxyPass / http://localhost:5777/ nocanon\n    ProxyPassReverse / http://localhost:5777/\n</VirtualHost>\n```\n</details>\n\n## Star history\n\n[![Star History Chart](https://api.star-history.com/svg?repos=gethexon/hexon&type=Date)](https://star-history.com/#gethexon/hexon&Date)\n\n## Contributors\n\n<a href=\"https://github.com/gethexon/hexon/graphs/contributors\">\n  <img src=\"https://contrib.rocks/image?repo=gethexon/hexon\" />\n</a>\n\n## License\n\nGPL-3.0 © winwin2011\n"
  },
  {
    "path": "README_CN.md",
    "content": "# Hexon\n\nLet's hexo online!\n\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/gethexon/hexon?style=flat-square)](https://github.com/gethexon/hexon/releases/)\n\n[English](./README.md) | 中文\n\n![home screen](./images/home-screen.png)\n\n## ❔ Hexon 是什么\n\nHexon 是一个集成了git、命令行并能够帮你管理 hexo 内容的图形化界面\n\n## ⭐️ 特性\n\n- 文章和页面管理\n- Front-matter 模板\n- ~~在线图片管理~~ 请使用 [imageur](https://github.com/YuJianghao/imageur)\n\n## 📘 指南\n\n### 安装前\n\n确保您的 `git`, `hexo` and `Node.js` 工作流正常。Hexon 仅为这些命令提供了图形用户界面，但**不会实现它们**.\n\n### 安装\n\n```bash\ngit clone https://github.com/gethexon/hexon --depth 1\ncd hexon\npnpm install\npnpm run setup\n```\n\n### 卸载\n\n只需删除您刚克隆的文件夹\n```bash\nrm -rf hexon\n```\n\n### 启动\n\n使用 Node.js 启动\n\n```bash\npnpm start\n```\n\n使用 [pm2](https://pm2.keymetrics.io/) 启动以获得更好的devOps体验\n\n```bash\npnpm prd\n# 或者手动将 pm2 与 `pnpm start` 集成\n```\n\n### 更新\n\n删除老版本并重新安装新版本。\n\n## 💻 命令\n\n- `pnpm run setup`: 安装和配置\n- `pnpm start`: 使用 Node 启动 Hexon\n- `pnpm prd`: 使用 pm2 启动 Hexon\n- `pnpm resetpwd`: 重置密码\n- `pnpm script`: 管理自定义脚本\n\n您可以在 Hexo 博客文件夹内替换 Hexon 命令为您自己的 Bash 脚本。\n\n例如，修改 git sync 脚本的步骤如下：\n1. 在 `<hexo-blog-path>/git_sync.sh` 中编写您的脚本\n2. 运行 `pnpm script`\n3. 选择 `git sync`\n4. 将脚本设置为 `bash ./git_sync.sh`\n\n## 🖥️ 开发\n\n- 切换到 `develop` 分支。\n- 运行  `pnpm dev-init` 安装依赖并配置 Hexon。\n- 运行  `pnpm dev` ，开始大展身手!\n\n###### 提交 PR 时，请记得将目标分支设置为 `develop。`\n\n## 💩 遇到问题？\n\n- 请查看下面的 FAQs。\n- 尝试在 [issue list](https://github.com/gethexon/hexon/issues) 中寻找答案。\n- 发起一个新的 [issue](https://github.com/gethexon/hexon/issues/new).\n\n## ❓ 想了解更多？\n\n发起一个新的 [discussion](https://github.com/gethexon/hexon/discussions).\n\n## 👌🏻 FAQ\n\n### 404 Error\n\n可能是反向代理配置错误（例如 Nginx 或 Apache 配置）。请在您的服务器上不经过反向代理，直接使用 curl 请求资源。这应该是一个类似以下的命令：\n\n```bash\ncurl http://localhost:5777/assets/HMonacoEditor.5101bbae.js\n```\n\n如果是 hexon failure。请发起一个新的 issue。\n\n<details>\n  <summary>如果您正在使用 Apache 的反向代理...</summary>\n请确保在您的 `VirtualHost` 配置中添加 `AllowEncodedSlashes NoDecode`，并在 `ProxyPass` 设置的末尾添加 `nocanon`。\n\n参见 https://stackoverflow.com/questions/52034899/express-nodejs-server-through-apache-proxy-error-404-for-route-with-express-par\n和 https://stackoverflow.com/questions/4390436/need-to-allow-encoded-slashes-on-apache\n\n样例:\n```conf\n<VirtualHost *:443>\n    ServerName blog-admin.example.com\n\n    SSLCertificateFile /etc/certificates/example.com.crt\n    SSLCertificateKeyFile /etc/certificates/example.com.key\n    SSLCertificateChainFile /etc/certificates/example.com.crt\n\n    SSLEngine On\n    SSLProxyEngine On\n    ProxyRequests Off\n    ProxyPreserveHost On\n    AllowEncodedSlashes NoDecode\n\n    ProxyPass / http://localhost:5777/ nocanon\n    ProxyPassReverse / http://localhost:5777/\n</VirtualHost>\n```\n</details>\n\n## Star 历史\n\n[![Star History Chart](https://api.star-history.com/svg?repos=gethexon/hexon&type=Date)](https://star-history.com/#gethexon/hexon&Date)\n\n## 贡献者\n\n<a href=\"https://github.com/gethexon/hexon/graphs/contributors\">\n  <img src=\"https://contrib.rocks/image?repo=gethexon/hexon\" />\n</a>\n\n## 许可证\n\nGPL-3.0 © winwin2011\n"
  },
  {
    "path": "client/.demo/App.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed } from \"vue\"\nimport { Notifications } from \"~/lib/notification\"\nimport HNotificationItem from \"~/components/others/HNotificationItem.vue\"\nimport { DialogContainer } from \"~/lib/dialog\"\nimport HDialog from \"~/components/others/HDialog.vue\"\n\nconst styles = computed(() => {\n  return {\n    width: \"100vw\",\n    height: \"100vh\",\n  }\n})\n</script>\n\n<template>\n  <div :style=\"styles\">\n    <router-view></router-view>\n    <DialogContainer>\n      <template #default=\"slotProps\">\n        <HDialog :data=\"slotProps.data\" />\n      </template>\n    </DialogContainer>\n    <Notifications>\n      <template #default=\"slotsProps\">\n        <HNotificationItem :data=\"slotsProps.item\" />\n      </template>\n    </Notifications>\n  </div>\n</template>\n\n<style lang=\"less\">\n@import \"~/styles/index.less\";\n.demo-content > h1 {\n  @apply my-6 text-2xl font-bold;\n}\n.demo-content > h2 {\n  @apply my-4 text-lg font-bold;\n}\n</style>\n"
  },
  {
    "path": "client/.demo/Layout.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed } from \"vue\"\nimport { RouterView, useRoute, useRouter } from \"vue-router\"\nimport { HNavItem } from \"~/components/ui/nav-list\"\nimport { HNavTitle } from \"~/components/ui/nav-list\"\nimport { getNameFromPath, modules } from \"./utils\"\nimport { HIcon, HIconName } from \"~/components/ui/icon\"\nimport {\n  darkTheme,\n  lightTheme,\n  useThemeController,\n  useThemeVars,\n} from \"~/components/ui/theme\"\n\nconst links = Object.entries(modules).map(([path]) => ({\n  to: `/${encodeURIComponent(path)}`,\n  text: getNameFromPath(path),\n}))\nconst route = useRoute()\nconst router = useRouter()\nconst go = (path: string) => {\n  router.push(path)\n}\nconst name = computed(() => route.meta.name)\nconst vars = useThemeVars()\nconst controller = useThemeController()!\nconst setTheme = (dark: boolean) => {\n  if (dark) controller.setTheme(darkTheme)\n  else controller.setTheme(lightTheme)\n}\n</script>\n<template>\n  <div class=\"h-full flex\">\n    <div class=\"min-h-0 h-full overflow-auto pr-8\">\n      <div class=\"py-0 pl-4 pr-2\">\n        <HNavTitle>\n          Hexon UI Demo\n          <span>\n            <HIcon\n              :name=\"HIconName.QuietHours\"\n              v-if=\"vars.isDark\"\n              clickable\n              @click=\"setTheme(false)\"\n            />\n            <HIcon\n              :name=\"HIconName.Brightness\"\n              v-else\n              clickable\n              @click=\"setTheme(true)\"\n            />\n          </span>\n        </HNavTitle>\n        <HNavItem\n          @click=\"go(link.to)\"\n          :icon=\"HIconName.Folder\"\n          :text=\"link.text\"\n          v-for=\"link in links\"\n          :key=\"link.text\"\n          :uppercase=\"false\"\n        />\n      </div>\n    </div>\n    <div class=\"flex-1 h-full overflow-auto\">\n      <div class=\"flex flex-col max-w-screen-md mx-auto px-8 pb-16\">\n        <div class=\"demo-content\">\n          <h1 class=\"text-2xl my-8\" v-if=\"name\">{{ name }}</h1>\n        </div>\n        <div class=\"flex-1 min-h-0 w-full demo-content\">\n          <RouterView></RouterView>\n        </div>\n      </div>\n    </div>\n  </div>\n</template>\n"
  },
  {
    "path": "client/.demo/Welcome.vue",
    "content": "<template>\n  <h1>Hi</h1>\n</template>\n"
  },
  {
    "path": "client/.demo/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"UTF-8\" />\n    <link rel=\"icon\" href=\"/favicon.ico\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n    <title>Hexon UI Doc</title>\n  </head>\n  <body>\n    <div id=\"app\"></div>\n    <script type=\"module\" src=\"./main.ts\"></script>\n  </body>\n</html>\n"
  },
  {
    "path": "client/.demo/main.ts",
    "content": "import { createApp } from \"vue\"\nimport App from \"./App.vue\"\nimport themes from \"~/themes\"\nimport theme from \"~/plugins/theme\"\nimport notification from \"~/plugins/notification\"\nimport dialog from \"~/plugins/dialog\"\nimport \"~/plugins/dayjs\"\nimport { router } from \"./router\"\nimport \"@unocss/reset/tailwind.css\"\nimport \"uno.css\"\n\ncreateApp(App)\n  .use(router)\n  .use(themes)\n  .use(theme)\n  .use(notification)\n  .use(dialog)\n  .mount(\"#app\")\n"
  },
  {
    "path": "client/.demo/router.ts",
    "content": "import { RouteRecordRaw } from \"vue-router\"\nimport { createWebHashHistory } from \"vue-router\"\nimport { createRouter } from \"vue-router\"\nimport { getNameFromPath, modules } from \"./utils\"\nexport const demos: RouteRecordRaw[] = Object.entries(modules).map(\n  ([path, imp]) => {\n    return {\n      path: encodeURIComponent(path),\n      component: imp,\n      meta: {\n        name: getNameFromPath(path),\n      },\n    }\n  }\n)\nconst routes: RouteRecordRaw[] = [\n  {\n    path: \"/\",\n    component: () => import(\"./Layout.vue\"),\n    children: [\n      ...demos,\n      { path: \"\", component: () => import(\"./Welcome.vue\") },\n    ],\n  },\n  {\n    path: \"/:pathMatch(.*)*\",\n    redirect: \"/\",\n  },\n]\nexport const router = createRouter({ history: createWebHashHistory(), routes })\n"
  },
  {
    "path": "client/.demo/utils.ts",
    "content": "export const modules = import.meta.glob(\"../src/**/demo/*.demo.vue\")\nexport const getNameFromPath = (path: string) => {\n  return path\n    .split(\"../src/\")[1]\n    .split(\"lib/\")\n    .join(\"\")\n    .split(\"components/\")\n    .join(\"\")\n    .split(\"ui/\")\n    .join(\"\")\n    .split(\"/demo/\")\n    .join(\"/\")\n    .split(\".demo.vue\")[0]\n    .split(\"/default\")\n    .join(\"\")\n}\n"
  },
  {
    "path": "client/.demo/vite.config.ts",
    "content": "import path from \"path\"\nimport { defineConfig } from \"vite\"\nimport vue from \"@vitejs/plugin-vue\"\nimport Unocss from \"unocss/vite\"\nimport presetUno from \"@unocss/preset-uno\"\nimport presetAttributify from \"@unocss/preset-attributify\"\nimport transformerDirective from \"@unocss/transformer-directives\"\nconst projectRootDir = path.resolve(__dirname, \"..\")\n\n// https://vitejs.dev/config/\nexport default defineConfig({\n  root: __dirname,\n  server: { port: 4000 },\n  plugins: [\n    vue(),\n    Unocss({\n      presets: [presetUno(), presetAttributify()],\n      transformers: [transformerDirective()],\n    }),\n  ],\n  resolve: {\n    alias: [\n      {\n        find: \"~\",\n        replacement: path.resolve(projectRootDir, \"src\"),\n      },\n      {\n        find: \"@\",\n        replacement: path.resolve(projectRootDir, \"src/components\"),\n      },\n    ],\n  },\n})\n"
  },
  {
    "path": "client/.vscode/extensions.json",
    "content": "{\n  \"recommendations\": [\"johnsoncodehk.volar\"]\n}\n"
  },
  {
    "path": "client/README.md",
    "content": "# Vue 3 + Typescript + Vite\n\nThis template should help get you started developing with Vue 3 and Typescript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.\n\n## Recommended IDE Setup\n\n- [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar)\n\n## Type Support For `.vue` Imports in TS\n\nSince TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can enable Volar's `.vue` type support plugin by running `Volar: Switch TS Plugin on/off` from VSCode command palette.\n"
  },
  {
    "path": "client/dist/assets/HCreateArticleModal.079bef88.js",
    "content": "import{d as F,r as v,w as A,c as b,a as M,u as N,o as x,b as V,e as S,v as P,f as e,g as n,h as p,n as z,i as d,j as a,H as T,k as R,l as D,m as q,t as G,p as C,q as _,s as w,F as J,x as K,_ as L,y as Q,z as W,A as X}from\"./index.becaf6b8.js\";import{_ as Y}from\"./HToggle.5d828612.js\";const $=F({__name:\"HCheckbox\",props:{checked:{type:Boolean}},emits:[\"update:checked\"],setup(h,{emit:m}){const y=h,c=m,s=v(y.checked);A(()=>y.checked,t=>{s.value=t}),A(()=>s.value,t=>{c(\"update:checked\",t)}),b(()=>s.value?D.CheckboxComposite:D.Checkbox);const{classNames:i}=M(\"h-checkbox\"),r=N(\"unknown\");return(t,u)=>(x(),V(\"label\",{class:z([a(i),\"cursor-pointer select-none inline-block\"]),style:{height:\"30px\",\"line-height\":\"30px\"}},[S(e(\"input\",{type:\"checkbox\",class:\"absolute w-0 h-0\",\"onUpdate:modelValue\":u[0]||(u[0]=k=>s.value=k)},null,512),[[P,s.value]]),n(a(T),{class:\"mr-2\"},{default:p(()=>[e(\"div\",{class:\"h-5 w-5 rounded flex items-center justify-center pb-0.5\",style:d({backgroundColor:a(r).backgroundColorTertiary})},[e(\"div\",{class:z([\"w-2 h-4 transform -rotate-45 -translate-x-1.5\",{\"opacity-0\":!s.value}]),style:{transition:\"opacity 0.1s ease-in-out\"}},[e(\"div\",{class:\"w-1 h-2 absolute bottom-0 rounded\",style:d({backgroundColor:a(r).colorPrimary})},null,4),e(\"div\",{class:\"w-4 h-1 absolute bottom-0 rounded\",style:d({backgroundColor:a(r).colorPrimary})},null,4)],2)],4)]),_:1}),R(t.$slots,\"default\")],2))}});const Z={class:\"h-create-article-form w-96 select-none\"},ee={class:\"mt-2 mb-8 text-xl font-bold text-center\"},te={class:\"grid gap-4 grid-rows-1\",style:{\"grid-template-columns\":\"[labels] auto [controls] 1fr\"}},le={style:{\"grid-column\":\"controls\"}},ae={key:0,class:\"grid gap-4 grid-rows-1\",style:{\"grid-template-columns\":\"[labels] auto [controls] 1fr\"}},se={style:{\"grid-column\":\"controls\"},class:\"pl-2 flex justify-between\"},oe={class:\"grid gap-4 grid-rows-1\",style:{\"grid-template-columns\":\"[labels] auto [controls] 1fr\"}},ne={style:{\"grid-column\":\"controls\"}},re={class:\"grid gap-4 grid-rows-1\",style:{\"grid-template-columns\":\"[labels] auto [controls] 1fr\"}},ue={style:{\"grid-column\":\"controls\"}},de={class:\"grid gap-4 grid-rows-1\",style:{\"grid-template-columns\":\"[labels] auto [controls] 1fr\"}},ce={style:{\"grid-column\":\"controls\"}},ie={class:\"grid gap-4 grid-rows-1\",style:{\"grid-template-columns\":\"[labels] auto [controls] 1fr\"}},ve={style:{\"grid-column\":\"controls\"},class:\"flex justify-between\"},pe={class:\"flex justify-end mt-6\"},me=F({__name:\"HCreateArticleForm\",props:{advanced:{type:Boolean,default:!1}},emits:[\"update:advanced\",\"on-cancel\",\"on-create\"],setup(h,{emit:m}){const y=h,c=m,s=v(y.advanced);A(()=>y.advanced,g=>{s.value=g}),A(()=>s.value,g=>{c(\"update:advanced\",g)});const i=v(\"\"),r=v(\"\"),t=v(\"\"),u=v(\"\"),k=v(!1),B=b(()=>t.value===\"page\"),H=b(()=>t.value===\"draft\"),j=b(()=>!i.value),f=b(()=>s.value?\"70px\":\"40px\"),E=()=>{!i.value||c(\"on-create\",{title:i.value,slug:r.value,layout:t.value,path:u.value,replace:k.value})},I=()=>{c(\"on-cancel\")},O=b(()=>B.value?\"\\u9875\\u9762\":H.value?\"\\u8349\\u7A3F\":\"\\u6587\\u7AE0\"),U=v(null);return q(()=>{var g;(g=U.value)==null||g.focus()}),(g,l)=>(x(),V(\"div\",Z,[e(\"h2\",ee,\"\\u65B0\\u5EFA\"+G(O.value),1),e(\"form\",{onSubmit:K(E,[\"prevent\"])},[e(\"div\",te,[e(\"div\",{style:d([{width:f.value},{\"grid-column\":\"labels\"}]),class:\"label text-right\"},\" \\u6807\\u9898 \",4),e(\"div\",le,[n(a(C),{modelValue:i.value,\"onUpdate:modelValue\":l[0]||(l[0]=o=>i.value=o),error:\"\",ref_key:\"titleInputRef\",ref:U,type:\"secondary\"},null,8,[\"modelValue\"])])]),s.value?(x(),V(J,{key:1},[e(\"div\",oe,[e(\"div\",{style:d([{width:f.value},{\"grid-column\":\"labels\"}]),class:\"label text-right\"},\" layout \",4),e(\"div\",ne,[n(a(C),{modelValue:t.value,\"onUpdate:modelValue\":l[4]||(l[4]=o=>t.value=o),error:\"\",type:\"secondary\"},null,8,[\"modelValue\"])])]),e(\"div\",re,[e(\"div\",{style:d([{width:f.value},{\"grid-column\":\"labels\"}]),class:\"label text-right\"},\" slug \",4),e(\"div\",ue,[n(a(C),{modelValue:r.value,\"onUpdate:modelValue\":l[5]||(l[5]=o=>r.value=o),error:\"\",type:\"secondary\"},null,8,[\"modelValue\"])])]),e(\"div\",de,[e(\"div\",{style:d([{width:f.value},{\"grid-column\":\"labels\"}]),class:\"label text-right\"},\" path \",4),e(\"div\",ce,[n(a(C),{modelValue:u.value,\"onUpdate:modelValue\":l[6]||(l[6]=o=>u.value=o),error:\"\",type:\"secondary\"},null,8,[\"modelValue\"])])]),e(\"div\",ie,[e(\"div\",{style:d([{width:f.value},{\"grid-column\":\"labels\"}]),class:\"label text-right\"},\" replace \",4),e(\"div\",ve,[n(a(Y),{active:k.value,\"onUpdate:active\":l[7]||(l[7]=o=>k.value=o)},null,8,[\"active\"]),n(a(w),{type:\"primary\",size:\"small\",\"attr-type\":\"button\",inverted:\"\",onClick:l[8]||(l[8]=o=>s.value=!1)},{default:p(()=>[_(\" \\u7B80\\u6D01\\u6A21\\u5F0F \")]),_:1})])])],64)):(x(),V(\"div\",ae,[e(\"div\",{style:d([{width:f.value},{\"grid-column\":\"labels\"}]),class:\"label text-right\"},null,4),e(\"div\",se,[e(\"div\",null,[n(a($),{checked:B.value,\"onUpdate:checked\":l[1]||(l[1]=o=>o?t.value=\"page\":t.value=\"\"),class:\"mr-4\"},{default:p(()=>[_(\" \\u9875\\u9762 \")]),_:1},8,[\"checked\"]),n(a($),{checked:H.value,\"onUpdate:checked\":l[2]||(l[2]=o=>o?t.value=\"draft\":t.value=\"\"),class:\"mr-4\"},{default:p(()=>[_(\" \\u8349\\u7A3F \")]),_:1},8,[\"checked\"])]),n(a(w),{type:\"primary\",size:\"small\",\"attr-type\":\"button\",inverted:\"\",onClick:l[3]||(l[3]=o=>s.value=!0)},{default:p(()=>[_(\" \\u9AD8\\u7EA7\\u6A21\\u5F0F \")]),_:1})])])),e(\"div\",pe,[n(a(w),{type:\"common\",size:\"small\",class:\"mr-2\",inverted:\"\",onClick:I,\"attr-type\":\"button\"},{default:p(()=>[_(\" \\u53D6\\u6D88 \")]),_:1}),n(a(w),{size:\"small\",\"attr-type\":\"submit\",disabled:j.value},{default:p(()=>[_(\" \\u521B\\u5EFA \")]),_:1},8,[\"disabled\"])])],32)]))}});var ye=L(me,[[\"__scopeId\",\"data-v-6b4f7518\"]]);const _e=F({__name:\"HCreateArticleModal\",props:{close:{type:Function}},setup(h){const m=h,y=Q(),c=v(!1),s=r=>{const{title:t,...u}=r;y.createArticle(t,u),m.close()},i=N(\"unknown\");return(r,t)=>(x(),W(a(X),{persistent:c.value,onOnClose:m.close},{default:p(()=>[e(\"div\",{class:\"py-2 px-4 rounded-md\",style:d({backgroundColor:a(i).backgroundColorPrimary})},[n(ye,{onOnCreate:s,onOnCancel:m.close,advanced:c.value,\"onUpdate:advanced\":t[0]||(t[0]=u=>c.value=u)},null,8,[\"onOnCancel\",\"advanced\"])],4)]),_:1},8,[\"persistent\",\"onOnClose\"]))}});export{_e as default};\n"
  },
  {
    "path": "client/dist/assets/HCreateArticleModal.3ac45e74.css",
    "content": ".h-create-article-form .label[data-v-6b4f7518]{line-height:30px}\n"
  },
  {
    "path": "client/dist/assets/HMonacoEditor.213cf05a.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{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);clip-path:inset(50%)}.monaco-editor.hc-black{-ms-high-contrast-adjust:none}@media screen and (-ms-high-contrast:active){.monaco-editor.vs .view-overlays .current-line,.monaco-editor.vs-dark .view-overlays .current-line{border-color:windowtext!important;border-left:0;border-right:0}.monaco-editor.vs .cursor,.monaco-editor.vs-dark .cursor{background-color:windowtext!important}.monaco-editor.vs .dnd-target,.monaco-editor.vs-dark .dnd-target{border-color:windowtext!important}.monaco-editor.vs .selected-text,.monaco-editor.vs-dark .selected-text{background-color:highlight!important}.monaco-editor.vs .view-line,.monaco-editor.vs-dark .view-line{-ms-high-contrast-adjust:none}.monaco-editor.vs .view-line span,.monaco-editor.vs-dark .view-line span{color:windowtext!important}.monaco-editor.vs .view-line span.inline-selected-text,.monaco-editor.vs-dark .view-line span.inline-selected-text{color:highlighttext!important}.monaco-editor.vs .view-overlays,.monaco-editor.vs-dark .view-overlays{-ms-high-contrast-adjust:none}.monaco-editor.vs .selectionHighlight,.monaco-editor.vs-dark .selectionHighlight,.monaco-editor.vs .wordHighlight,.monaco-editor.vs-dark .wordHighlight,.monaco-editor.vs .wordHighlightStrong,.monaco-editor.vs-dark .wordHighlightStrong,.monaco-editor.vs .reference-decoration,.monaco-editor.vs-dark .reference-decoration{border:2px dotted highlight!important;background:transparent!important;box-sizing:border-box}.monaco-editor.vs .rangeHighlight,.monaco-editor.vs-dark .rangeHighlight{background:transparent!important;border:1px dotted activeborder!important;box-sizing:border-box}.monaco-editor.vs .bracket-match,.monaco-editor.vs-dark .bracket-match{border-color:windowtext!important;background:transparent!important}.monaco-editor.vs .findMatch,.monaco-editor.vs-dark .findMatch,.monaco-editor.vs .currentFindMatch,.monaco-editor.vs-dark .currentFindMatch{border:2px dotted activeborder!important;background:transparent!important;box-sizing:border-box}.monaco-editor.vs .find-widget,.monaco-editor.vs-dark .find-widget{border:1px solid windowtext}.monaco-editor.vs .monaco-list .monaco-list-row,.monaco-editor.vs-dark .monaco-list .monaco-list-row{-ms-high-contrast-adjust:none;color:windowtext!important}.monaco-editor.vs .monaco-list .monaco-list-row.focused,.monaco-editor.vs-dark .monaco-list .monaco-list-row.focused{color:highlighttext!important;background-color:highlight!important}.monaco-editor.vs .monaco-list .monaco-list-row:hover,.monaco-editor.vs-dark .monaco-list .monaco-list-row:hover{background:transparent!important;border:1px solid highlight;box-sizing:border-box}.monaco-editor.vs .monaco-scrollable-element>.scrollbar,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar{-ms-high-contrast-adjust:none;background:background!important;border:1px solid windowtext;box-sizing:border-box}.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider{background:windowtext!important}.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider:hover,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider:hover{background:highlight!important}.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider.active,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider.active{background:highlight!important}.monaco-editor.vs .decorationsOverviewRuler,.monaco-editor.vs-dark .decorationsOverviewRuler{opacity:0}.monaco-editor.vs .minimap,.monaco-editor.vs-dark .minimap{display:none}.monaco-editor.vs .squiggly-d-error,.monaco-editor.vs-dark .squiggly-d-error{background:transparent!important;border-bottom:4px double #E47777}.monaco-editor.vs .squiggly-c-warning,.monaco-editor.vs-dark .squiggly-c-warning,.monaco-editor.vs .squiggly-b-info,.monaco-editor.vs-dark .squiggly-b-info{border-bottom:4px double #71B771}.monaco-editor.vs .squiggly-a-hint,.monaco-editor.vs-dark .squiggly-a-hint{border-bottom:4px double #6c6c6c}.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label{-ms-high-contrast-adjust:none;color:highlighttext!important;background-color:highlight!important}.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label{-ms-high-contrast-adjust:none;background:transparent!important;border:1px solid highlight;box-sizing:border-box}.monaco-diff-editor.vs .diffOverviewRuler,.monaco-diff-editor.vs-dark .diffOverviewRuler{display:none}.monaco-editor.vs .line-insert,.monaco-editor.vs-dark .line-insert,.monaco-editor.vs .line-delete,.monaco-editor.vs-dark .line-delete{background:transparent!important;border:1px solid highlight!important;box-sizing:border-box}.monaco-editor.vs .char-insert,.monaco-editor.vs-dark .char-insert,.monaco-editor.vs .char-delete,.monaco-editor.vs-dark .char-delete{background:transparent!important}}.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%}.monaco-editor .overflow-guard{position:relative;overflow:hidden}.monaco-editor .view-overlays{position:absolute;top:0}.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}.monaco-editor .inputarea.ime-input{z-index:10}.monaco-editor .margin-view-overlays .line-numbers{font-variant-numeric:tabular-nums;position:absolute;text-align:right;display:inline-block;vertical-align:middle;box-sizing:border-box;cursor:default;height:100%}.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-mouse-cursor-text{cursor:text}.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}.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both{border-right:0}.monaco-editor .lines-content .cdr{position:absolute}.monaco-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.monaco-scrollable-element>.visible{opacity:1;background:rgba(0,0,0,0);transition:opacity .1s linear}.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%}.monaco-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px}.monaco-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.monaco-editor .glyph-margin{position:absolute;top:0}.monaco-editor .margin-view-overlays .cgmr{position:absolute;display:flex;align-items:center;justify-content:center}.monaco-editor .lines-content .core-guide{position:absolute;box-sizing:border-box}.mtkcontrol{color:#fff!important;background:rgb(150,0,0)!important}.monaco-editor.no-user-select .lines-content,.monaco-editor.no-user-select .view-line,.monaco-editor.no-user-select .view-lines{user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-editor .view-lines{white-space:nowrap}.monaco-editor .view-line{position:absolute;width:100%}.monaco-editor .mtkz{display:inline-block}.monaco-editor .lines-decorations{position:absolute;top:0;background:white}.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-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}.monaco-editor .overlayWidgets{position:absolute;top:0;left:0}.monaco-editor .view-ruler{position:absolute;top:0}.monaco-editor .scroll-decoration{position:absolute;top:0;left:0;height:6px}.monaco-editor .lines-content .cslr{position:absolute}.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 .cursors-layer{position:absolute;top:0}.monaco-editor .cursors-layer>.cursor{position:absolute;overflow:hidden}.monaco-editor .cursors-layer.cursor-smooth-caret-animation>.cursor{transition:all 80ms}.monaco-editor .cursors-layer.cursor-block-outline-style>.cursor{box-sizing:border-box;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;box-sizing:border-box}.monaco-editor .cursors-layer.cursor-underline-thin-style>.cursor{border-bottom-width:1px;border-bottom-style:solid;background:transparent!important;box-sizing:border-box}@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-diff-editor .diffOverview{z-index:9}.monaco-diff-editor .diffOverview .diffViewport{z-index:10}.monaco-diff-editor.vs .diffOverview{background:rgba(0,0,0,.03)}.monaco-diff-editor.vs-dark .diffOverview{background:rgba(255,255,255,.01)}.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar{background:rgba(0,0,0,0)}.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar{background:none}.monaco-scrollable-element.modified-in-monaco-diff-editor .slider{z-index:10}.modified-in-monaco-diff-editor .slider.active{background:rgba(171,171,171,.4)}.modified-in-monaco-diff-editor.hc-black .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{opacity:1}.monaco-editor .inline-deleted-margin-view-zone,.monaco-editor .inline-added-margin-view-zone{text-align:right}.monaco-editor .view-zones .view-lines .view-line span{display:inline-block}.monaco-editor .margin-view-zones .lightbulb-glyph:hover{cursor:pointer}:root{--sash-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(--sash-size);height:100%}.monaco-sash.horizontal{cursor:ns-resize;left:0;width:100%;height:var(--sash-size)}.monaco-sash:not(.disabled)>.orthogonal-drag-handle{content:\" \";height:calc(var(--sash-size) * 2);width:calc(var(--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(--sash-size) * -.5);top:calc(var(--sash-size) * -1)}.monaco-sash.vertical>.orthogonal-drag-handle.end{left:calc(var(--sash-size) * -.5);bottom:calc(var(--sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.start{top:calc(var(--sash-size) * -.5);left:calc(var(--sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.end{top:calc(var(--sash-size) * -.5);right:calc(var(--sash-size) * -1)}.monaco-sash:before{content:\"\";pointer-events:none;position:absolute;width:100%;height:100%;transition:background-color .1s ease-out;background:transparent}.monaco-sash.vertical:before{width:var(--sash-hover-size);left:calc(50% - (var(--sash-hover-size) / 2))}.monaco-sash.horizontal:before{height:var(--sash-hover-size);top:calc(50% - (var(--sash-hover-size) / 2))}.pointer-events-disabled{pointer-events:none!important}.monaco-sash.debug{background:cyan}.monaco-sash.debug.disabled{background:rgba(0,255,255,.2)}.monaco-sash.debug:not(.disabled)>.orthogonal-drag-handle{background:red}.monaco-diff-editor .diff-review-line-number{text-align:right;display:inline-block}.monaco-diff-editor .diff-review{position:absolute;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-diff-editor .diff-review-summary{padding-left:10px}.monaco-diff-editor .diff-review-shadow{position:absolute}.monaco-diff-editor .diff-review-row{white-space:pre}.monaco-diff-editor .diff-review-table{display:table;min-width:100%}.monaco-diff-editor .diff-review-row{display:table-row;width:100%}.monaco-diff-editor .diff-review-spacer{display:inline-block;width:10px;vertical-align:middle}.monaco-diff-editor .diff-review-spacer>.codicon{font-size:9px!important}.monaco-diff-editor .diff-review-actions{display:inline-block;position:absolute;right:10px;top:2px}.monaco-diff-editor .diff-review-actions .action-label{width:16px;height:16px;margin:2px 0}.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{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{opacity:.4}.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-label{margin-right:1px}.context-view{position:absolute;z-index:2500}.context-view.fixed{all:initial;font-family:inherit;font-size:13px;position:fixed;z-index:2500;color:inherit}@font-face{font-family:codicon;font-display:block;src:url(/assets/codicon.c99115f8.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;user-select:none;-webkit-user-select:none;-ms-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}.context-view .monaco-menu{min-width:130px}.quick-input-widget{font-size:13px}.quick-input-widget .monaco-highlighted-label .highlight,.quick-input-widget .monaco-highlighted-label .highlight{color:#0066bf}.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight,.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight{color:#9dddff}.vs-dark .quick-input-widget .monaco-highlighted-label .highlight,.vs-dark .quick-input-widget .monaco-highlighted-label .highlight{color:#0097fb}.hc-black .quick-input-widget .monaco-highlighted-label .highlight,.hc-black .quick-input-widget .monaco-highlighted-label .highlight{color:#f38518}.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}.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-text-button{box-sizing:border-box;display:flex;width:100%;padding:4px;text-align:center;cursor:pointer;justify-content:center;align-items:center}.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-button-dropdown{display:flex;cursor:pointer}.monaco-button-dropdown>.monaco-dropdown-button{margin-left:1px}.monaco-description-button{flex-direction:column}.monaco-description-button .monaco-button-label{font-weight:500}.monaco-description-button .monaco-button-description{font-style:italic}.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-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:5px;overflow:hidden}.monaco-progress-container .progress-bit{width:2%;height:5px;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)}}.quick-input-widget{position:absolute;width:600px;z-index:2000;padding:0 1px 1px;left:50%;margin-left:-300px}.quick-input-titlebar{display:flex;align-items:center}.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}.quick-input-header .quick-input-description{margin:4px 2px}.quick-input-header{display:flex;padding:6px 6px 0;margin-bottom:-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:27.5px;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-progress.monaco-progress-container{position:relative}.quick-input-progress.monaco-progress-container,.quick-input-progress.monaco-progress-container .progress-bit{height:2px}.quick-input-list{line-height:22px;margin-top:6px}.quick-input-widget.hidden-input .quick-input-list{margin-top:0}.quick-input-list .monaco-list{overflow:hidden;max-height:440px}.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[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-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-highlighted-label .highlight{font-weight:700}.quick-input-list .quick-input-list-entry .quick-input-list-separator{margin-right:8px}.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}.quick-input-list .quick-input-list-entry-action-bar{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 .monaco-list-row.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}.monaco-inputbox{position:relative;display:block;padding:0;box-sizing:border-box;font-size:inherit}.monaco-inputbox.idle{border:1px solid transparent}.monaco-inputbox>.ibwrapper>.input,.monaco-inputbox>.ibwrapper>.mirror{padding:4px}.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;-ms-overflow-style:none;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-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>.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-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-list{position:relative;height:100%;width:100%;white-space:nowrap}.monaco-list.mouse-support{user-select:none;-webkit-user-select:none;-ms-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-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{display:flex;align-items:center;position:absolute;border-radius:2px;padding:0 3px;max-width:calc(100% - 10px);text-overflow:ellipsis;overflow:hidden;text-align:right;box-sizing:border-box;cursor:all-scroll;font-size:13px;line-height:18px;height:20px;z-index:1;top:4px}.monaco-list-type-filter.dragging{transition:top .2s,left .2s}.monaco-list-type-filter.ne{right:4px}.monaco-list-type-filter.nw{left:4px}.monaco-list-type-filter>.controls{display:flex;align-items:center;box-sizing:border-box;transition:width .2s;width:0}.monaco-list-type-filter.dragging>.controls,.monaco-list-type-filter:hover>.controls{width:36px}.monaco-list-type-filter>.controls>*{border:none;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;background:none;width:16px;height:16px;flex-shrink:0;margin:0;padding:0;display:flex;align-items:center;justify-content:center;cursor:pointer}.monaco-list-type-filter>.controls>.filter{margin-left:4px}.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-list-type-filter{cursor:grab}.monaco-list-type-filter.dragging{cursor:grabbing}.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}.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(--sash-size) / 2);width:0;border-left:1px solid transparent}.monaco-table>.monaco-split-view2,.monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{transition:border-color .2s ease-out}.monaco-tl-row{display:flex;height:100%;align-items:center;position:relative}.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-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-editor .selection-anchor{background-color:#007acc;width:2px!important}.monaco-editor .bracket-match{box-sizing:border-box}.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:1px 4px;color:var(--vscode-inputValidation-infoForeground);background-color:var(--vscode-inputValidation-infoBackground);border:1px solid var(--vscode-inputValidation-infoBorder)}.monaco-editor.hc-black .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}.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}.monaco-editor .contentWidgets .codicon-light-bulb,.monaco-editor .contentWidgets .codicon-lightbulb-autofix{display:flex;align-items:center;justify-content:center}.monaco-editor .contentWidgets .codicon-light-bulb:hover,.monaco-editor .contentWidgets .codicon-lightbulb-autofix:hover{cursor:pointer}.monaco-editor .codelens-decoration{overflow:hidden;display:inline-block;text-overflow:ellipsis;white-space:nowrap;color:var(--vscode-editorCodeLens-foreground)}.monaco-editor .codelens-decoration>span,.monaco-editor .codelens-decoration>a{user-select:none;-webkit-user-select:none;-ms-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)}.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;user-select:none;-webkit-user-select:none;-ms-user-select:none}.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:pixelated}.colorpicker-header .picked-color{width:216px;display:flex;align-items:center;justify-content:center;line-height:24px;cursor:pointer;color:#fff;flex:1}.colorpicker-header .picked-color .codicon{color:inherit;font-size:14px;position:absolute;left:8px}.colorpicker-header .picked-color.light{color:#000}.colorpicker-header .original-color{width:74px;z-index:inherit;cursor:pointer}.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 .hue-strip{position:relative;margin-left:8px;cursor:grab;background:linear-gradient(to bottom,#ff0000 0%,#ffff00 17%,#00ff00 33%,#00ffff 50%,#0000ff 67%,#ff00ff 83%,#ff0000 100%)}.colorpicker-body .opacity-strip{position:relative;margin-left:8px;cursor:grab;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);background-size:9px 9px;image-rendering:pixelated}.colorpicker-body .strip.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}.monaco-editor .goto-definition-link{text-decoration:underline;cursor:pointer}.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:center;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;text-overflow:ellipsis;overflow:hidden}.monaco-editor .peekview-widget .head .peekview-title .meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.monaco-editor .peekview-widget .head .peekview-title .dirname{white-space:nowrap}.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}.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-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-action-bar .action-item.menu-entry .action-label{background-image:var(--menu-entry-icon-light)}.vs-dark .monaco-action-bar .action-item.menu-entry .action-label,.hc-black .monaco-action-bar .action-item.menu-entry .action-label{background-image:var(--menu-entry-icon-dark)}.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>.action-container.menu-entry>.action-label{background-image:var(--menu-entry-icon-light)}.vs-dark .monaco-dropdown-with-default>.action-container.menu-entry>.action-label,.hc-black .monaco-dropdown-with-default>.action-container.menu-entry>.action-label{background-image:var(--menu-entry-icon-dark)}.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}.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{font-weight:700}.monaco-editor.hc-black .reference-zone-widget .ref-tree .referenceMatch .highlight{border:1px dotted var(--vscode-contrastActiveBorder, transparent);box-sizing:border-box}.monaco-hover{cursor:default;position:absolute;overflow:hidden;z-index:50;user-select:text;-webkit-user-select:text;-ms-user-select:text;box-sizing:initial;animation:fadein .1s linear;line-height:1.5em}.monaco-hover.hidden{display:none}.monaco-hover a:hover{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: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{margin:8px 0}.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:pre-wrap}.monaco-hover .hover-row.status-bar{font-size:12px;line-height:22px}.monaco-hover .hover-row.status-bar .actions{display:flex;padding:0 8px}.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}.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span{margin-bottom:4px;display:inline-block}.monaco-hover-content .action-container a{-webkit-user-select:none;user-select:none}.monaco-hover-content .action-container.disabled{pointer-events:none;opacity:.4;cursor:default}.monaco-custom-checkbox{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;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-custom-checkbox:hover{background-color:var(--vscode-inputOption-hoverBackground)}.hc-black .monaco-custom-checkbox:hover{border:1px dashed var(--vscode-focusBorder)}.hc-black .monaco-custom-checkbox,.hc-black .monaco-custom-checkbox:hover{background:none}.monaco-custom-checkbox.monaco-simple-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-custom-checkbox.monaco-simple-checkbox:not(.checked):before{visibility:hidden}.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{animation:monaco-findInput-highlight-0 .1s linear 0s}.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:rgba(253,255,0,.8)}to{background:transparent}}@keyframes monaco-findInput-highlight-1{0%{background:rgba(253,255,0,.8)}99%{background:transparent}}@keyframes monaco-findInput-highlight-dark-0{0%{background:rgba(255,255,255,.44)}to{background:transparent}}@keyframes monaco-findInput-highlight-dark-1{0%{background:rgba(255,255,255,.44)}99%{background:transparent}}.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;user-select:text;-webkit-user-select:text;-ms-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-foreground)}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link>span{color:var(--vscode-textLink-activeForeground)}.monaco-editor .marker-widget .descriptioncontainer .filename{cursor:pointer}.monaco-editor.vs .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{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{cursor:copy}.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))}.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}.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:4px 0 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{opacity:.3;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 .findMatch{animation-duration:0;animation-name:inherit!important}.monaco-editor .find-widget .monaco-sash{left:0!important}.monaco-editor.hc-black .find-widget .button:before{position:relative;top:1px;left:2px}.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-editor .margin-view-overlays:hover .codicon,.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons{opacity:1}.monaco-editor .inline-folded:after{color:gray;margin:.1em .2em 0;content:\"\\22ef\";display:inline;line-height:1em;cursor:pointer}.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}.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{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{user-select:none;-webkit-user-select:none;-ms-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 .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{font-style:italic}.monaco-editor .detected-link,.monaco-editor .detected-link-active{text-decoration:underline;text-underline-position:under}.monaco-editor .detected-link-active{cursor:pointer}.monaco-editor .parameter-hints-widget{z-index:39;display:flex;flex-direction:column;line-height:1.5em}.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.visible{transition:left .05s ease-in-out}.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}.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 .markdown-docs{white-space:initial}.monaco-editor .parameter-hints-widget .docs .markdown-docs code{font-family:var(--monaco-monospace-font)}.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 .docs code{border-radius:3px;padding:0 .4em}.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{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}.monaco-editor .rename-box.preview{padding:3px 3px 0}.monaco-editor .rename-box .rename-input{padding:3px;width:calc(100% - 6px)}.monaco-editor .rename-box .rename-label{display:none;opacity:.8}.monaco-editor .rename-box.preview .rename-label{display:inherit}.monaco-editor .unicode-highlight{border:1px solid var(--vscode-editorUnicodeHighlight-border);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{margin-block-start: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-editor .accessibilityHelpWidget{padding:10px;vertical-align:middle;overflow:scroll}.monaco-editor .iPadShowKeyboard{width:58px;min-width:0;height:36px;min-height:0;margin:0;padding:0;position:absolute;resize:none;overflow:hidden;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjNDI0MjQyIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==) center center no-repeat;border:4px solid #F6F6F6;border-radius:4px}.monaco-editor.vs-dark .iPadShowKeyboard{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjQzVDNUM1Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==) center center no-repeat;border:4px solid #252526}.monaco-editor .tokens-inspect-widget{z-index:50;user-select:text;-webkit-user-select:text;-ms-user-select:text;padding:10px}.tokens-inspect-separator{height:1px;border:0}.monaco-editor .tokens-inspect-widget .tm-token{font-family:var(--monaco-monospace-font)}.monaco-editor .tokens-inspect-widget .tm-token-length{font-weight:400;font-size:60%;float:right}.monaco-editor .tokens-inspect-widget .tm-metadata-table{width:100%}.monaco-editor .tokens-inspect-widget .tm-metadata-value{font-family:var(--monaco-monospace-font);text-align:right}.monaco-editor .tokens-inspect-widget .tm-token-type{font-family:var(--monaco-monospace-font)}\n"
  },
  {
    "path": "client/dist/assets/HMonacoEditor.4fbcd301.js",
    "content": "var sEe=Object.defineProperty;var oEe=(o,e,t)=>e in o?sEe(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var cl=(o,e,t)=>(oEe(o,typeof e!=\"symbol\"?e+\"\":e,t),t);import{aW as Go,a_ as BE,a$ as K1,C as aEe,c as lEe,w as U5,d as uEe,r as cEe,m as dEe,$ as hEe,o as pEe,b as fEe,f as _Ee}from\"./index.becaf6b8.js\";function gEe(o,e){let t;return e.length===0?t=o:t=o.replace(/\\{(\\d+)\\}/g,function(n,i){const s=i[0];return typeof e[s]!=\"undefined\"?e[s]:n}),t}function w(o,e,...t){return gEe(e,t)}var $W;const K5=\"en\";let N8=!1,I8=!1,q5=!1,Ele=!1,_q=!1,gq=!1,RF,G5=K5,mEe,mv;const cd=typeof self==\"object\"?self:typeof global==\"object\"?global:{};let lf;typeof cd.vscode!=\"undefined\"&&typeof cd.vscode.process!=\"undefined\"?lf=cd.vscode.process:typeof process!=\"undefined\"&&(lf=process);const yEe=typeof(($W=lf==null?void 0:lf.versions)===null||$W===void 0?void 0:$W.electron)==\"string\",bEe=yEe&&(lf==null?void 0:lf.type)===\"renderer\";if(typeof navigator==\"object\"&&!bEe)mv=navigator.userAgent,N8=mv.indexOf(\"Windows\")>=0,I8=mv.indexOf(\"Macintosh\")>=0,gq=(mv.indexOf(\"Macintosh\")>=0||mv.indexOf(\"iPad\")>=0||mv.indexOf(\"iPhone\")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,q5=mv.indexOf(\"Linux\")>=0,_q=!0,RF=navigator.language,G5=RF;else if(typeof lf==\"object\"){N8=lf.platform===\"win32\",I8=lf.platform===\"darwin\",q5=lf.platform===\"linux\",q5&&!!lf.env.SNAP&&lf.env.SNAP_REVISION,lf.env.CI||lf.env.BUILD_ARTIFACTSTAGINGDIRECTORY,RF=K5,G5=K5;const o=lf.env.VSCODE_NLS_CONFIG;if(o)try{const e=JSON.parse(o),t=e.availableLanguages[\"*\"];RF=e.locale,G5=t||K5,mEe=e._translationsConfigFile}catch{}Ele=!0}else console.error(\"Unable to resolve platform.\");const Ph=N8,El=I8,vp=q5,p0=Ele,bC=_q,vEe=_q&&typeof cd.importScripts==\"function\",m0=gq,q1=mv,CEe=G5,Tle=(()=>{if(typeof cd.postMessage==\"function\"&&!cd.importScripts){let o=[];cd.addEventListener(\"message\",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let n=0,i=o.length;n<i;n++){const s=o[n];if(s.id===t.data.vscodeScheduleAsyncWork){o.splice(n,1),s.callback();return}}});let e=0;return t=>{const n=++e;o.push({id:n,callback:t}),cd.postMessage({vscodeScheduleAsyncWork:n},\"*\")}}return o=>setTimeout(o)})(),bg=I8||gq?2:N8?1:3;let Iie=!0,Fie=!1;function Ale(){if(!Fie){Fie=!0;const o=new Uint8Array(2);o[0]=1,o[1]=2,Iie=new Uint16Array(o.buffer)[0]===(2<<8)+1}return Iie}const kle=!!(q1&&q1.indexOf(\"Chrome\")>=0),DEe=!!(q1&&q1.indexOf(\"Firefox\")>=0),wEe=!!(!kle&&q1&&q1.indexOf(\"Safari\")>=0),SEe=!!(q1&&q1.indexOf(\"Edg/\")>=0);q1&&q1.indexOf(\"Android\")>=0;const Lle=\"`~!@#$%^&*()-=+[{]}\\\\|;:'\\\",.<>/?\";function xEe(o=\"\"){let e=\"(-?\\\\d*\\\\.\\\\d\\\\w*)|([^\";for(const t of Lle)o.indexOf(t)>=0||(e+=\"\\\\\"+t);return e+=\"\\\\s]+)\",new RegExp(e,\"g\")}const mq=xEe();function Nle(o){let e=mq;if(o&&o instanceof RegExp)if(o.global)e=o;else{let t=\"g\";o.ignoreCase&&(t+=\"i\"),o.multiline&&(t+=\"m\"),o.unicode&&(t+=\"u\"),e=new RegExp(o.source,t)}return e.lastIndex=0,e}const EEe={maxLen:1e3,windowSize:15,timeBudget:150};function P3(o,e,t,n,i=EEe){if(t.length>i.maxLen){let d=o-i.maxLen/2;return d<0?d=0:n+=d,t=t.substring(d,o+i.maxLen/2),P3(o,e,t,n,i)}const s=Date.now(),a=o-1-n;let l=-1,u=null;for(let d=1;!(Date.now()-s>=i.timeBudget);d++){const h=a-i.windowSize*d;e.lastIndex=Math.max(0,h);const p=TEe(e,t,a,l);if(!p&&u||(u=p,h<=0))break;l=h}if(u){const d={word:u[0],startColumn:n+1+u.index,endColumn:n+1+u.index+u[0].length};return e.lastIndex=0,d}return null}function TEe(o,e,t,n){let i;for(;i=o.exec(e);){const s=i.index||0;if(s<=t&&o.lastIndex>=t)return i;if(n>0&&s>n)return null}return null}function gg(o,e=0){return o[o.length-(1+e)]}function AEe(o){if(o.length===0)throw new Error(\"Invalid tail call\");return[o.slice(0,o.length-1),o[o.length-1]]}function K_(o,e,t=(n,i)=>n===i){if(o===e)return!0;if(!o||!e||o.length!==e.length)return!1;for(let n=0,i=o.length;n<i;n++)if(!t(o[n],e[n]))return!1;return!0}function yq(o,e,t){let n=0,i=o.length-1;for(;n<=i;){const s=(n+i)/2|0,a=t(o[s],e);if(a<0)n=s+1;else if(a>0)i=s-1;else return s}return-(n+1)}function Ile(o,e){let t=0,n=o.length;if(n===0)return 0;for(;t<n;){const i=Math.floor((t+n)/2);e(o[i])?n=i:t=i+1}return t}function i$(o,e,t){if(o=o|0,o>=e.length)throw new TypeError(\"invalid index\");let n=e[Math.floor(e.length*Math.random())],i=[],s=[],a=[];for(let l of e){const u=t(l,n);u<0?i.push(l):u>0?s.push(l):a.push(l)}return o<i.length?i$(o,i,t):o<i.length+a.length?a[0]:i$(o-(i.length+a.length),s,t)}function Pie(o,e){const t=[];let n;for(const i of o.slice(0).sort(e))!n||e(n[0],i)!==0?(n=[i],t.push(n)):n.push(i);return t}function rw(o){return o.filter(e=>!!e)}function Fle(o){return!Array.isArray(o)||o.length===0}function d_(o){return Array.isArray(o)&&o.length>0}function Xv(o,e=t=>t){const t=new Set;return o.filter(n=>{const i=e(n);return t.has(i)?!1:(t.add(i),!0)})}function kEe(o,e){const t=LEe(o,e);if(t!==-1)return o[t]}function LEe(o,e){for(let t=o.length-1;t>=0;t--){const n=o[t];if(e(n))return t}return-1}function Ple(o,e){return o.length>0?o[0]:e}function bq(o){return[].concat(...o)}function af(o,e){let t=typeof e==\"number\"?o:0;typeof e==\"number\"?t=o:(t=0,e=o);const n=[];if(t<=e)for(let i=t;i<e;i++)n.push(i);else for(let i=t;i>e;i--)n.push(i);return n}function _P(o,e,t){const n=o.slice(0,e),i=o.slice(e);return n.concat(t,i)}function zW(o,e){const t=o.indexOf(e);t>-1&&(o.splice(t,1),o.unshift(e))}function BF(o,e){const t=o.indexOf(e);t>-1&&(o.splice(t,1),o.push(e))}function vq(o){return Array.isArray(o)?o:[o]}function NEe(o,e,t){const n=Ole(o,e),i=o.length,s=t.length;o.length=i+s;for(let a=i-1;a>=n;a--)o[a+s]=o[a];for(let a=0;a<s;a++)o[a+n]=t[a]}function Oie(o,e,t,n){const i=Ole(o,e),s=o.splice(i,t);return NEe(o,i,n),s}function Ole(o,e){return e<0?Math.max(e+o.length,0):Math.min(e,o.length)}function J5(o,e){return(t,n)=>e(o(t),o(n))}const IEe=(o,e)=>o-e;function Mle(o,e){if(o.length===0)return;let t=o[0];for(let n=1;n<o.length;n++){const i=o[n];e(i,t)>0&&(t=i)}return t}function FEe(o,e){if(o.length===0)return;let t=o[0];for(let n=1;n<o.length;n++){const i=o[n];e(i,t)>=0&&(t=i)}return t}function PEe(o,e){return Mle(o,(t,n)=>-e(t,n))}class Zx{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}takeWhile(e){let t=this.firstIdx;for(;t<this.items.length&&e(this.items[t]);)t++;const n=t===this.firstIdx?null:this.items.slice(this.firstIdx,t);return this.firstIdx=t,n}takeFromEndWhile(e){let t=this.lastIdx;for(;t>=0&&e(this.items[t]);)t--;const n=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,n}peek(){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}}function Rle(o){return Array.isArray(o)}function Lg(o){return typeof o==\"string\"}function Mf(o){return typeof o==\"object\"&&o!==null&&!Array.isArray(o)&&!(o instanceof RegExp)&&!(o instanceof Date)}function CD(o){return typeof o==\"number\"&&!isNaN(o)}function Mie(o){return!!o&&typeof o[Symbol.iterator]==\"function\"}function Ble(o){return o===!0||o===!1}function l_(o){return typeof o==\"undefined\"}function OEe(o){return!B_(o)}function B_(o){return l_(o)||o===null}function $u(o,e){if(!o)throw new Error(e?`Unexpected type, expected '${e}'`:\"Unexpected type\")}function jF(o){if(B_(o))throw new Error(\"Assertion Failed: argument is undefined or null\");return o}function F8(o){return typeof o==\"function\"}function MEe(o,e){const t=Math.min(o.length,e.length);for(let n=0;n<t;n++)REe(o[n],e[n])}function REe(o,e){if(Lg(e)){if(typeof o!==e)throw new Error(`argument does not match constraint: typeof ${e}`)}else if(F8(e)){try{if(o instanceof e)return}catch{}if(!B_(o)&&o.constructor===e||e.length===1&&e.call(void 0,o)===!0)return;throw new Error(\"argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true\")}}function BEe(o){let e=[],t=Object.getPrototypeOf(o);for(;Object.prototype!==t;)e=e.concat(Object.getOwnPropertyNames(t)),t=Object.getPrototypeOf(t);return e}function Cq(o){const e=[];for(const t of BEe(o))typeof o[t]==\"function\"&&e.push(t);return e}function jEe(o,e){const t=i=>function(){const s=Array.prototype.slice.call(arguments,0);return e(i,s)};let n={};for(const i of o)n[i]=t(i);return n}function u_(o){return o===null?void 0:o}function Dq(o,e=\"Unreachable\"){throw new Error(e)}function tb(o){if(!o||typeof o!=\"object\"||o instanceof RegExp)return o;const e=Array.isArray(o)?[]:{};return Object.keys(o).forEach(t=>{o[t]&&typeof o[t]==\"object\"?e[t]=tb(o[t]):e[t]=o[t]}),e}function WEe(o){if(!o||typeof o!=\"object\")return o;const e=[o];for(;e.length>0;){const t=e.shift();Object.freeze(t);for(const n in t)if(jle.call(t,n)){const i=t[n];typeof i==\"object\"&&!Object.isFrozen(i)&&e.push(i)}}return o}const jle=Object.prototype.hasOwnProperty;function VEe(o,e){return r$(o,e,new Set)}function r$(o,e,t){if(B_(o))return o;const n=e(o);if(typeof n!=\"undefined\")return n;if(Rle(o)){const i=[];for(const s of o)i.push(r$(s,e,t));return i}if(Mf(o)){if(t.has(o))throw new Error(\"Cannot clone recursive data-structure\");t.add(o);const i={};for(let s in o)jle.call(o,s)&&(i[s]=r$(o[s],e,t));return t.delete(o),i}return o}function iy(o,e,t=!0){return Mf(o)?(Mf(e)&&Object.keys(e).forEach(n=>{n in o?t&&(Mf(o[n])&&Mf(e[n])?iy(o[n],e[n],t):o[n]=e[n]):o[n]=e[n]}),o):e}function Eg(o,e){if(o===e)return!0;if(o==null||e===null||e===void 0||typeof o!=typeof e||typeof o!=\"object\"||Array.isArray(o)!==Array.isArray(e))return!1;let t,n;if(Array.isArray(o)){if(o.length!==e.length)return!1;for(t=0;t<o.length;t++)if(!Eg(o[t],e[t]))return!1}else{const i=[];for(n in o)i.push(n);i.sort();const s=[];for(n in e)s.push(n);if(s.sort(),!Eg(i,s))return!1;for(t=0;t<i.length;t++)if(!Eg(o[i[t]],e[i[t]]))return!1}return!0}function c1(o,e,t){const n=e(o);return typeof n==\"undefined\"?t:n}const Op={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!1}},yv=8;class Wle{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class Vle{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class ih{constructor(e,t,n,i){this.id=e,this.name=t,this.defaultValue=n,this.schema=i}applyUpdate(e,t){return gP(e,t)}compute(e,t,n){return n}}class t3{constructor(e,t){this.newValue=e,this.didChange=t}}function gP(o,e){if(typeof o!=\"object\"||typeof e!=\"object\"||!o||!e)return new t3(e,o!==e);if(Array.isArray(o)||Array.isArray(e)){const n=Array.isArray(o)&&Array.isArray(e)&&K_(o,e);return new t3(e,n)}let t=!1;for(const n in e)if(e.hasOwnProperty(n)){const i=gP(o[n],e[n]);i.didChange&&(o[n]=i.newValue,t=!0)}return new t3(o,t)}class jE{constructor(e){this.schema=void 0,this.id=e,this.name=\"_never_\",this.defaultValue=void 0}applyUpdate(e,t){return gP(e,t)}validate(e){return this.defaultValue}}class sw{constructor(e,t,n,i){this.id=e,this.name=t,this.defaultValue=n,this.schema=i}applyUpdate(e,t){return gP(e,t)}validate(e){return typeof e==\"undefined\"?this.defaultValue:e}compute(e,t,n){return n}}function ya(o,e){return typeof o==\"undefined\"?e:o===\"false\"?!1:Boolean(o)}class $l extends sw{constructor(e,t,n,i=void 0){typeof i!=\"undefined\"&&(i.type=\"boolean\",i.default=n),super(e,t,n,i)}validate(e){return ya(e,this.defaultValue)}}function s$(o,e,t,n){if(typeof o==\"undefined\")return e;let i=parseInt(o,10);return isNaN(i)?e:(i=Math.max(t,i),i=Math.min(n,i),i|0)}class pc extends sw{constructor(e,t,n,i,s,a=void 0){typeof a!=\"undefined\"&&(a.type=\"integer\",a.default=n,a.minimum=i,a.maximum=s),super(e,t,n,a),this.minimum=i,this.maximum=s}static clampedInt(e,t,n,i){return s$(e,t,n,i)}validate(e){return pc.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}class F1 extends sw{constructor(e,t,n,i,s){typeof s!=\"undefined\"&&(s.type=\"number\",s.default=n),super(e,t,n,s),this.validationFn=i}static clamp(e,t,n){return e<t?t:e>n?n:e}static float(e,t){if(typeof e==\"number\")return e;if(typeof e==\"undefined\")return t;const n=parseFloat(e);return isNaN(n)?t:n}validate(e){return this.validationFn(F1.float(e,this.defaultValue))}}class o_ extends sw{static string(e,t){return typeof e!=\"string\"?t:e}constructor(e,t,n,i=void 0){typeof i!=\"undefined\"&&(i.type=\"string\",i.default=n),super(e,t,n,i)}validate(e){return o_.string(e,this.defaultValue)}}function Pf(o,e,t){return typeof o!=\"string\"||t.indexOf(o)===-1?e:o}class Hd extends sw{constructor(e,t,n,i,s=void 0){typeof s!=\"undefined\"&&(s.type=\"string\",s.enum=i,s.default=n),super(e,t,n,s),this._allowedValues=i}validate(e){return Pf(e,this.defaultValue,this._allowedValues)}}class mk extends ih{constructor(e,t,n,i,s,a,l=void 0){typeof l!=\"undefined\"&&(l.type=\"string\",l.enum=s,l.default=i),super(e,t,n,l),this._allowedValues=s,this._convert=a}validate(e){return typeof e!=\"string\"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}}function HEe(o){switch(o){case\"none\":return 0;case\"keep\":return 1;case\"brackets\":return 2;case\"advanced\":return 3;case\"full\":return 4}}class $Ee extends ih{constructor(){super(2,\"accessibilitySupport\",0,{type:\"string\",enum:[\"auto\",\"on\",\"off\"],enumDescriptions:[w(\"accessibilitySupport.auto\",\"The editor will use platform APIs to detect when a Screen Reader is attached.\"),w(\"accessibilitySupport.on\",\"The editor will be permanently optimized for usage with a Screen Reader. Word wrapping will be disabled.\"),w(\"accessibilitySupport.off\",\"The editor will never be optimized for usage with a Screen Reader.\")],default:\"auto\",description:w(\"accessibilitySupport\",\"Controls whether the editor should run in a mode where it is optimized for screen readers. Setting to on will disable word wrapping.\")})}validate(e){switch(e){case\"auto\":return 0;case\"off\":return 1;case\"on\":return 2}return this.defaultValue}compute(e,t,n){return n===0?e.accessibilitySupport:n}}class zEe extends ih{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(19,\"comments\",e,{\"editor.comments.insertSpace\":{type:\"boolean\",default:e.insertSpace,description:w(\"comments.insertSpace\",\"Controls whether a space character is inserted when commenting.\")},\"editor.comments.ignoreEmptyLines\":{type:\"boolean\",default:e.ignoreEmptyLines,description:w(\"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:ya(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:ya(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function UEe(o){switch(o){case\"blink\":return 1;case\"smooth\":return 2;case\"phase\":return 3;case\"expand\":return 4;case\"solid\":return 5}}var Ih;(function(o){o[o.Line=1]=\"Line\",o[o.Block=2]=\"Block\",o[o.Underline=3]=\"Underline\",o[o.LineThin=4]=\"LineThin\",o[o.BlockOutline=5]=\"BlockOutline\",o[o.UnderlineThin=6]=\"UnderlineThin\"})(Ih||(Ih={}));function KEe(o){switch(o){case\"line\":return Ih.Line;case\"block\":return Ih.Block;case\"underline\":return Ih.Underline;case\"line-thin\":return Ih.LineThin;case\"block-outline\":return Ih.BlockOutline;case\"underline-thin\":return Ih.UnderlineThin}}class qEe extends jE{constructor(){super(128)}compute(e,t,n){const i=[\"monaco-editor\"];return t.get(33)&&i.push(t.get(33)),e.extraEditorClassName&&i.push(e.extraEditorClassName),t.get(66)===\"default\"?i.push(\"mouse-default\"):t.get(66)===\"copy\"&&i.push(\"mouse-copy\"),t.get(100)&&i.push(\"showUnused\"),t.get(126)&&i.push(\"showDeprecated\"),i.join(\" \")}}class GEe extends $l{constructor(){super(32,\"emptySelectionClipboard\",!0,{description:w(\"emptySelectionClipboard\",\"Controls whether copying without a selection copies the current line.\")})}compute(e,t,n){return n&&e.emptySelectionClipboard}}class JEe extends ih{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:\"always\",autoFindInSelection:\"never\",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(35,\"find\",e,{\"editor.find.cursorMoveOnType\":{type:\"boolean\",default:e.cursorMoveOnType,description:w(\"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:[w(\"editor.find.seedSearchStringFromSelection.never\",\"Never seed search string from the editor selection.\"),w(\"editor.find.seedSearchStringFromSelection.always\",\"Always seed search string from the editor selection, including word at cursor position.\"),w(\"editor.find.seedSearchStringFromSelection.selection\",\"Only seed search string from the editor selection.\")],description:w(\"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:[w(\"editor.find.autoFindInSelection.never\",\"Never turn on Find in Selection automatically (default).\"),w(\"editor.find.autoFindInSelection.always\",\"Always turn on Find in Selection automatically.\"),w(\"editor.find.autoFindInSelection.multiline\",\"Turn on Find in Selection automatically when multiple lines of content are selected.\")],description:w(\"find.autoFindInSelection\",\"Controls the condition for turning on Find in Selection automatically.\")},\"editor.find.globalFindClipboard\":{type:\"boolean\",default:e.globalFindClipboard,description:w(\"find.globalFindClipboard\",\"Controls whether the Find Widget should read or modify the shared find clipboard on macOS.\"),included:El},\"editor.find.addExtraSpaceOnTop\":{type:\"boolean\",default:e.addExtraSpaceOnTop,description:w(\"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:w(\"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:ya(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection==\"boolean\"?e.seedSearchStringFromSelection?\"always\":\"never\":Pf(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,[\"never\",\"always\",\"selection\"]),autoFindInSelection:typeof e.autoFindInSelection==\"boolean\"?e.autoFindInSelection?\"always\":\"never\":Pf(t.autoFindInSelection,this.defaultValue.autoFindInSelection,[\"never\",\"always\",\"multiline\"]),globalFindClipboard:ya(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:ya(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:ya(t.loop,this.defaultValue.loop)}}}class j_ extends ih{constructor(){super(45,\"fontLigatures\",j_.OFF,{anyOf:[{type:\"boolean\",description:w(\"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:w(\"fontFeatureSettings\",\"Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.\")}],description:w(\"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==\"undefined\"?this.defaultValue:typeof e==\"string\"?e===\"false\"?j_.OFF:e===\"true\"?j_.ON:e:Boolean(e)?j_.ON:j_.OFF}}j_.OFF='\"liga\" off, \"calt\" off';j_.ON='\"liga\" on, \"calt\" on';class YEe extends jE{constructor(){super(44)}compute(e,t,n){return e.fontInfo}}class XEe extends sw{constructor(){super(46,\"fontSize\",Rp.fontSize,{type:\"number\",minimum:6,maximum:100,default:Rp.fontSize,description:w(\"fontSize\",\"Controls the font size in pixels.\")})}validate(e){const t=F1.float(e,this.defaultValue);return t===0?Rp.fontSize:F1.clamp(t,6,100)}compute(e,t,n){return e.fontInfo.fontSize}}class A1 extends ih{constructor(){super(47,\"fontWeight\",Rp.fontWeight,{anyOf:[{type:\"number\",minimum:A1.MINIMUM_VALUE,maximum:A1.MAXIMUM_VALUE,errorMessage:w(\"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:A1.SUGGESTION_VALUES}],default:Rp.fontWeight,description:w(\"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(pc.clampedInt(e,Rp.fontWeight,A1.MINIMUM_VALUE,A1.MAXIMUM_VALUE))}}A1.SUGGESTION_VALUES=[\"normal\",\"bold\",\"100\",\"200\",\"300\",\"400\",\"500\",\"600\",\"700\",\"800\",\"900\"];A1.MINIMUM_VALUE=1;A1.MAXIMUM_VALUE=1e3;class QEe extends ih{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:[w(\"editor.gotoLocation.multiple.peek\",\"Show peek view of the results (default)\"),w(\"editor.gotoLocation.multiple.gotoAndPeek\",\"Go to the primary result and show a peek view\"),w(\"editor.gotoLocation.multiple.goto\",\"Go to the primary result and enable peek-less navigation to others\")]},n=[\"\",\"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(51,\"gotoLocation\",e,{\"editor.gotoLocation.multiple\":{deprecationMessage:w(\"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\":Object.assign({description:w(\"editor.editor.gotoLocation.multipleDefinitions\",\"Controls the behavior the 'Go to Definition'-command when multiple target locations exist.\")},t),\"editor.gotoLocation.multipleTypeDefinitions\":Object.assign({description:w(\"editor.editor.gotoLocation.multipleTypeDefinitions\",\"Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.\")},t),\"editor.gotoLocation.multipleDeclarations\":Object.assign({description:w(\"editor.editor.gotoLocation.multipleDeclarations\",\"Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.\")},t),\"editor.gotoLocation.multipleImplementations\":Object.assign({description:w(\"editor.editor.gotoLocation.multipleImplemenattions\",\"Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.\")},t),\"editor.gotoLocation.multipleReferences\":Object.assign({description:w(\"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:n,description:w(\"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:n,description:w(\"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:n,description:w(\"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:n,description:w(\"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:n,description:w(\"alternativeReferenceCommand\",\"Alternative command id that is being executed when the result of 'Go to Reference' is the current location.\")}})}validate(e){var t,n,i,s,a;if(!e||typeof e!=\"object\")return this.defaultValue;const l=e;return{multiple:Pf(l.multiple,this.defaultValue.multiple,[\"peek\",\"gotoAndPeek\",\"goto\"]),multipleDefinitions:(t=l.multipleDefinitions)!==null&&t!==void 0?t:Pf(l.multipleDefinitions,\"peek\",[\"peek\",\"gotoAndPeek\",\"goto\"]),multipleTypeDefinitions:(n=l.multipleTypeDefinitions)!==null&&n!==void 0?n:Pf(l.multipleTypeDefinitions,\"peek\",[\"peek\",\"gotoAndPeek\",\"goto\"]),multipleDeclarations:(i=l.multipleDeclarations)!==null&&i!==void 0?i:Pf(l.multipleDeclarations,\"peek\",[\"peek\",\"gotoAndPeek\",\"goto\"]),multipleImplementations:(s=l.multipleImplementations)!==null&&s!==void 0?s:Pf(l.multipleImplementations,\"peek\",[\"peek\",\"gotoAndPeek\",\"goto\"]),multipleReferences:(a=l.multipleReferences)!==null&&a!==void 0?a:Pf(l.multipleReferences,\"peek\",[\"peek\",\"gotoAndPeek\",\"goto\"]),alternativeDefinitionCommand:o_.string(l.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:o_.string(l.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:o_.string(l.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:o_.string(l.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:o_.string(l.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}class ZEe extends ih{constructor(){const e={enabled:!0,delay:300,sticky:!0,above:!0};super(53,\"hover\",e,{\"editor.hover.enabled\":{type:\"boolean\",default:e.enabled,description:w(\"hover.enabled\",\"Controls whether the hover is shown.\")},\"editor.hover.delay\":{type:\"number\",default:e.delay,minimum:0,maximum:1e4,description:w(\"hover.delay\",\"Controls the delay in milliseconds after which the hover is shown.\")},\"editor.hover.sticky\":{type:\"boolean\",default:e.sticky,description:w(\"hover.sticky\",\"Controls whether the hover should remain visible when mouse is moved over it.\")},\"editor.hover.above\":{type:\"boolean\",default:e.above,description:w(\"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:ya(t.enabled,this.defaultValue.enabled),delay:pc.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:ya(t.sticky,this.defaultValue.sticky),above:ya(t.above,this.defaultValue.above)}}}class Ix extends jE{constructor(){super(131)}compute(e,t,n){return Ix.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})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,n=e.scrollBeyondLastLine?t-1:0,i=(e.viewLineCount+n)/(e.pixelRatio*e.height),s=Math.floor(e.viewLineCount/i);return{typicalViewportLineCount:t,extraLinesBeyondLastLine:n,desiredRatio:i,minimapLineCount:s}}static _computeMinimapLayout(e,t){const n=e.outerWidth,i=e.outerHeight,s=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(s*i),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:i};const a=t.stableMinimapLayoutInput,l=a&&e.outerHeight===a.outerHeight&&e.lineHeight===a.lineHeight&&e.typicalHalfwidthCharacterWidth===a.typicalHalfwidthCharacterWidth&&e.pixelRatio===a.pixelRatio&&e.scrollBeyondLastLine===a.scrollBeyondLastLine&&e.minimap.enabled===a.minimap.enabled&&e.minimap.side===a.minimap.side&&e.minimap.size===a.minimap.size&&e.minimap.showSlider===a.minimap.showSlider&&e.minimap.renderCharacters===a.minimap.renderCharacters&&e.minimap.maxColumn===a.minimap.maxColumn&&e.minimap.scale===a.minimap.scale&&e.verticalScrollbarWidth===a.verticalScrollbarWidth&&e.isViewportWrapping===a.isViewportWrapping,u=e.lineHeight,d=e.typicalHalfwidthCharacterWidth,h=e.scrollBeyondLastLine,p=e.minimap.renderCharacters;let g=s>=2?Math.round(e.minimap.scale*2):e.minimap.scale;const y=e.minimap.maxColumn,D=e.minimap.size,T=e.minimap.side,k=e.verticalScrollbarWidth,I=e.viewLineCount,F=e.remainingWidth,q=e.isViewportWrapping,re=p?2:3;let Ie=Math.floor(s*i);const mt=Ie/s;let Le=!1,Ge=!1,qt=re*g,gi=g/s,ai=1;if(D===\"fill\"||D===\"fit\"){const{typicalViewportLineCount:Qo,extraLinesBeyondLastLine:Ao,desiredRatio:Gl,minimapLineCount:nl}=Ix.computeContainedMinimapLineCount({viewLineCount:I,scrollBeyondLastLine:h,height:i,lineHeight:u,pixelRatio:s});if(I/nl>1)Le=!0,Ge=!0,g=1,qt=1,gi=g/s;else{let mo=!1,Bl=g+1;if(D===\"fit\"){const mc=Math.ceil((I+Ao)*qt);q&&l&&F<=t.stableFitRemainingWidth?(mo=!0,Bl=t.stableFitMaxMinimapScale):mo=mc>Ie}if(D===\"fill\"||mo){Le=!0;const mc=g;qt=Math.min(u*s,Math.max(1,Math.floor(1/Gl))),q&&l&&F<=t.stableFitRemainingWidth&&(Bl=t.stableFitMaxMinimapScale),g=Math.min(Bl,Math.max(1,Math.floor(qt/re))),g>mc&&(ai=Math.min(2,g/mc)),gi=g/s/ai,Ie=Math.ceil(Math.max(Qo,I+Ao)*qt),q?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=F,t.stableFitMaxMinimapScale=g):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const Tr=Math.floor(y*gi),Vr=Math.min(Tr,Math.max(0,Math.floor((F-k-2)*gi/(d+gi)))+yv);let go=Math.floor(s*Vr);const Js=go/s;go=Math.floor(go*ai);const Fo=p?1:2,aa=T===\"left\"?0:n-Vr-k;return{renderMinimap:Fo,minimapLeft:aa,minimapWidth:Vr,minimapHeightIsEditorHeight:Le,minimapIsSampling:Ge,minimapScale:g,minimapLineHeight:qt,minimapCanvasInnerWidth:go,minimapCanvasInnerHeight:Ie,minimapCanvasOuterWidth:Js,minimapCanvasOuterHeight:mt}}static computeLayout(e,t){const n=t.outerWidth|0,i=t.outerHeight|0,s=t.lineHeight|0,a=t.lineNumbersDigitCount|0,l=t.typicalHalfwidthCharacterWidth,u=t.maxDigitWidth,d=t.pixelRatio,h=t.viewLineCount,p=e.get(123),g=p===\"inherit\"?e.get(122):p,y=g===\"inherit\"?e.get(118):g,D=e.get(121),T=e.get(2),k=t.isDominatedByLongLines,I=e.get(50),F=e.get(60).renderType!==0,q=e.get(61),re=e.get(94),Ie=e.get(65),mt=e.get(92),Le=mt.verticalScrollbarSize,Ge=mt.verticalHasArrows,qt=mt.arrowSize,gi=mt.horizontalScrollbarSize,ai=e.get(58),Tr=e.get(37);let Vr;if(typeof ai==\"string\"&&/^\\d+(\\.\\d+)?ch$/.test(ai)){const gu=parseFloat(ai.substr(0,ai.length-2));Vr=pc.clampedInt(gu*l,0,0,1e3)}else Vr=pc.clampedInt(ai,0,0,1e3);Tr&&(Vr+=16);let go=0;if(F){const gu=Math.max(a,q);go=Math.round(gu*u)}let Js=0;I&&(Js=s);let Fo=0,aa=Fo+Js,Qo=aa+go,Ao=Qo+Vr;const Gl=n-Js-go-Vr;let nl=!1,Po=!1,mo=-1;T!==2&&(g===\"inherit\"&&k?(nl=!0,Po=!0):y===\"on\"||y===\"bounded\"?Po=!0:y===\"wordWrapColumn\"&&(mo=D));const Bl=Ix._computeMinimapLayout({outerWidth:n,outerHeight:i,lineHeight:s,typicalHalfwidthCharacterWidth:l,pixelRatio:d,scrollBeyondLastLine:re,minimap:Ie,verticalScrollbarWidth:Le,viewLineCount:h,remainingWidth:Gl,isViewportWrapping:Po},t.memory||new Vle);Bl.renderMinimap!==0&&Bl.minimapLeft===0&&(Fo+=Bl.minimapWidth,aa+=Bl.minimapWidth,Qo+=Bl.minimapWidth,Ao+=Bl.minimapWidth);const mc=Gl-Bl.minimapWidth,lc=Math.max(1,Math.floor((mc-Le-2)/l)),dd=Ge?qt:0;return Po&&(mo=Math.max(1,lc),y===\"bounded\"&&(mo=Math.min(mo,D))),{width:n,height:i,glyphMarginLeft:Fo,glyphMarginWidth:Js,lineNumbersLeft:aa,lineNumbersWidth:go,decorationsLeft:Qo,decorationsWidth:Vr,contentLeft:Ao,contentWidth:mc,minimap:Bl,viewportColumn:lc,isWordWrapMinified:nl,isViewportWrapping:Po,wrappingColumn:mo,verticalScrollbarWidth:Le,horizontalScrollbarHeight:gi,overviewRuler:{top:dd,width:Le,height:i-2*dd,right:0}}}}class eTe extends ih{constructor(){const e={enabled:!0};super(57,\"lightbulb\",e,{\"editor.lightbulb.enabled\":{type:\"boolean\",default:e.enabled,description:w(\"codeActions\",\"Enables the code action lightbulb in the editor.\")}})}validate(e){return!e||typeof e!=\"object\"?this.defaultValue:{enabled:ya(e.enabled,this.defaultValue.enabled)}}}class tTe extends ih{constructor(){const e={enabled:!0,fontSize:0,fontFamily:\"\"};super(127,\"inlayHints\",e,{\"editor.inlayHints.enabled\":{type:\"boolean\",default:e.enabled,description:w(\"inlayHints.enable\",\"Enables the inlay hints in the editor.\")},\"editor.inlayHints.fontSize\":{type:\"number\",default:e.fontSize,markdownDescription:w(\"inlayHints.fontSize\",\"Controls font size of inlay hints in the editor. A default of 90% of `#editor.fontSize#` is used when the configured value is less than `5` or greater than the editor font size.\")},\"editor.inlayHints.fontFamily\":{type:\"string\",default:e.fontFamily,markdownDescription:w(\"inlayHints.fontFamily\",\"Controls font family of inlay hints in the editor. When set to empty, the `#editor.fontFamily#` is used.\")}})}validate(e){if(!e||typeof e!=\"object\")return this.defaultValue;const t=e;return{enabled:ya(t.enabled,this.defaultValue.enabled),fontSize:pc.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:o_.string(t.fontFamily,this.defaultValue.fontFamily)}}}class nTe extends F1{constructor(){super(59,\"lineHeight\",Rp.lineHeight,e=>F1.clamp(e,0,150),{markdownDescription:w(\"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,n){return e.fontInfo.lineHeight}}class iTe extends ih{constructor(){const e={enabled:!0,size:\"proportional\",side:\"right\",showSlider:\"mouseover\",renderCharacters:!0,maxColumn:120,scale:1};super(65,\"minimap\",e,{\"editor.minimap.enabled\":{type:\"boolean\",default:e.enabled,description:w(\"minimap.enabled\",\"Controls whether the minimap is shown.\")},\"editor.minimap.size\":{type:\"string\",enum:[\"proportional\",\"fill\",\"fit\"],enumDescriptions:[w(\"minimap.size.proportional\",\"The minimap has the same size as the editor contents (and might scroll).\"),w(\"minimap.size.fill\",\"The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling).\"),w(\"minimap.size.fit\",\"The minimap will shrink as necessary to never be larger than the editor (no scrolling).\")],default:e.size,description:w(\"minimap.size\",\"Controls the size of the minimap.\")},\"editor.minimap.side\":{type:\"string\",enum:[\"left\",\"right\"],default:e.side,description:w(\"minimap.side\",\"Controls the side where to render the minimap.\")},\"editor.minimap.showSlider\":{type:\"string\",enum:[\"always\",\"mouseover\"],default:e.showSlider,description:w(\"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:w(\"minimap.scale\",\"Scale of content drawn in the minimap: 1, 2 or 3.\")},\"editor.minimap.renderCharacters\":{type:\"boolean\",default:e.renderCharacters,description:w(\"minimap.renderCharacters\",\"Render the actual characters on a line as opposed to color blocks.\")},\"editor.minimap.maxColumn\":{type:\"number\",default:e.maxColumn,description:w(\"minimap.maxColumn\",\"Limit the width of the minimap to render at most a certain number of columns.\")}})}validate(e){if(!e||typeof e!=\"object\")return this.defaultValue;const t=e;return{enabled:ya(t.enabled,this.defaultValue.enabled),size:Pf(t.size,this.defaultValue.size,[\"proportional\",\"fill\",\"fit\"]),side:Pf(t.side,this.defaultValue.side,[\"right\",\"left\"]),showSlider:Pf(t.showSlider,this.defaultValue.showSlider,[\"always\",\"mouseover\"]),renderCharacters:ya(t.renderCharacters,this.defaultValue.renderCharacters),scale:pc.clampedInt(t.scale,1,1,3),maxColumn:pc.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}function rTe(o){return o===\"ctrlCmd\"?El?\"metaKey\":\"ctrlKey\":\"altKey\"}class sTe extends ih{constructor(){super(75,\"padding\",{top:0,bottom:0},{\"editor.padding.top\":{type:\"number\",default:0,minimum:0,maximum:1e3,description:w(\"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:w(\"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:pc.clampedInt(t.top,0,0,1e3),bottom:pc.clampedInt(t.bottom,0,0,1e3)}}}class oTe extends ih{constructor(){const e={enabled:!0,cycle:!1};super(76,\"parameterHints\",e,{\"editor.parameterHints.enabled\":{type:\"boolean\",default:e.enabled,description:w(\"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:w(\"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:ya(t.enabled,this.defaultValue.enabled),cycle:ya(t.cycle,this.defaultValue.cycle)}}}class aTe extends jE{constructor(){super(129)}compute(e,t,n){return e.pixelRatio}}class lTe extends ih{constructor(){const e={other:!0,comments:!1,strings:!1};super(79,\"quickSuggestions\",e,{anyOf:[{type:\"boolean\"},{type:\"object\",properties:{strings:{type:\"boolean\",default:e.strings,description:w(\"quickSuggestions.strings\",\"Enable quick suggestions inside strings.\")},comments:{type:\"boolean\",default:e.comments,description:w(\"quickSuggestions.comments\",\"Enable quick suggestions inside comments.\")},other:{type:\"boolean\",default:e.other,description:w(\"quickSuggestions.other\",\"Enable quick suggestions outside of strings and comments.\")}}}],default:e,description:w(\"quickSuggestions\",\"Controls whether suggestions should automatically show up while typing.\")}),this.defaultValue=e}validate(e){if(typeof e==\"boolean\")return e;if(e&&typeof e==\"object\"){const t=e,n={other:ya(t.other,this.defaultValue.other),comments:ya(t.comments,this.defaultValue.comments),strings:ya(t.strings,this.defaultValue.strings)};return n.other&&n.comments&&n.strings?!0:!n.other&&!n.comments&&!n.strings?!1:n}return this.defaultValue}}class uTe extends ih{constructor(){super(60,\"lineNumbers\",{renderType:1,renderFn:null},{type:\"string\",enum:[\"off\",\"on\",\"relative\",\"interval\"],enumDescriptions:[w(\"lineNumbers.off\",\"Line numbers are not rendered.\"),w(\"lineNumbers.on\",\"Line numbers are rendered as absolute number.\"),w(\"lineNumbers.relative\",\"Line numbers are rendered as distance in lines to cursor position.\"),w(\"lineNumbers.interval\",\"Line numbers are rendered every 10 lines.\")],default:\"on\",description:w(\"lineNumbers\",\"Controls the display of line numbers.\")})}validate(e){let t=this.defaultValue.renderType,n=this.defaultValue.renderFn;return typeof e!=\"undefined\"&&(typeof e==\"function\"?(t=4,n=e):e===\"interval\"?t=3:e===\"relative\"?t=2:e===\"on\"?t=1:t=0),{renderType:t,renderFn:n}}}function P8(o){const e=o.get(87);return e===\"editable\"?o.get(81):e!==\"on\"}class cTe extends ih{constructor(){const e=[],t={type:\"number\",description:w(\"rulers.size\",\"Number of monospace characters at which this editor ruler will render.\")};super(91,\"rulers\",e,{type:\"array\",items:{anyOf:[t,{type:[\"object\"],properties:{column:t,color:{type:\"string\",description:w(\"rulers.color\",\"Color of this editor ruler.\"),format:\"color-hex\"}}}]},default:e,description:w(\"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(let n of e)if(typeof n==\"number\")t.push({column:pc.clampedInt(n,0,0,1e4),color:null});else if(n&&typeof n==\"object\"){const i=n;t.push({column:pc.clampedInt(i.column,0,0,1e4),color:i.color})}return t.sort((n,i)=>n.column-i.column),t}return this.defaultValue}}function Rie(o,e){if(typeof o!=\"string\")return e;switch(o){case\"hidden\":return 2;case\"visible\":return 3;default:return 1}}class dTe extends ih{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};super(92,\"scrollbar\",e,{\"editor.scrollbar.vertical\":{type:\"string\",enum:[\"auto\",\"visible\",\"hidden\"],enumDescriptions:[w(\"scrollbar.vertical.auto\",\"The vertical scrollbar will be visible only when necessary.\"),w(\"scrollbar.vertical.visible\",\"The vertical scrollbar will always be visible.\"),w(\"scrollbar.vertical.fit\",\"The vertical scrollbar will always be hidden.\")],default:\"auto\",description:w(\"scrollbar.vertical\",\"Controls the visibility of the vertical scrollbar.\")},\"editor.scrollbar.horizontal\":{type:\"string\",enum:[\"auto\",\"visible\",\"hidden\"],enumDescriptions:[w(\"scrollbar.horizontal.auto\",\"The horizontal scrollbar will be visible only when necessary.\"),w(\"scrollbar.horizontal.visible\",\"The horizontal scrollbar will always be visible.\"),w(\"scrollbar.horizontal.fit\",\"The horizontal scrollbar will always be hidden.\")],default:\"auto\",description:w(\"scrollbar.horizontal\",\"Controls the visibility of the horizontal scrollbar.\")},\"editor.scrollbar.verticalScrollbarSize\":{type:\"number\",default:e.verticalScrollbarSize,description:w(\"scrollbar.verticalScrollbarSize\",\"The width of the vertical scrollbar.\")},\"editor.scrollbar.horizontalScrollbarSize\":{type:\"number\",default:e.horizontalScrollbarSize,description:w(\"scrollbar.horizontalScrollbarSize\",\"The height of the horizontal scrollbar.\")},\"editor.scrollbar.scrollByPage\":{type:\"boolean\",default:e.scrollByPage,description:w(\"scrollbar.scrollByPage\",\"Controls whether clicks scroll by page or jump to click position.\")}})}validate(e){if(!e||typeof e!=\"object\")return this.defaultValue;const t=e,n=pc.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),i=pc.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:pc.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:Rie(t.vertical,this.defaultValue.vertical),horizontal:Rie(t.horizontal,this.defaultValue.horizontal),useShadows:ya(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:ya(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:ya(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:ya(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:ya(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:n,horizontalSliderSize:pc.clampedInt(t.horizontalSliderSize,n,0,1e3),verticalScrollbarSize:i,verticalSliderSize:pc.clampedInt(t.verticalSliderSize,i,0,1e3),scrollByPage:ya(t.scrollByPage,this.defaultValue.scrollByPage)}}}const M_=\"inUntrustedWorkspace\",Ff={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 hTe extends ih{constructor(){const e={nonBasicASCII:M_,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:M_,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(113,\"unicodeHighlight\",e,{[Ff.nonBasicASCII]:{restricted:!0,type:[\"boolean\",\"string\"],enum:[!0,!1,M_],default:e.nonBasicASCII,description:w(\"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.\")},[Ff.invisibleCharacters]:{restricted:!0,type:\"boolean\",default:e.invisibleCharacters,description:w(\"unicodeHighlight.invisibleCharacters\",\"Controls whether characters that just reserve space or have no width at all are highlighted.\")},[Ff.ambiguousCharacters]:{restricted:!0,type:\"boolean\",default:e.ambiguousCharacters,description:w(\"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.\")},[Ff.includeComments]:{restricted:!0,type:[\"boolean\",\"string\"],enum:[!0,!1,M_],default:e.includeComments,description:w(\"unicodeHighlight.includeComments\",\"Controls whether characters in comments should also be subject to unicode highlighting.\")},[Ff.includeStrings]:{restricted:!0,type:[\"boolean\",\"string\"],enum:[!0,!1,M_],default:e.includeStrings,description:w(\"unicodeHighlight.includeStrings\",\"Controls whether characters in strings should also be subject to unicode highlighting.\")},[Ff.allowedCharacters]:{restricted:!0,type:\"object\",default:e.allowedCharacters,description:w(\"unicodeHighlight.allowedCharacters\",\"Defines allowed characters that are not being highlighted.\"),additionalProperties:{type:\"boolean\"}},[Ff.allowedLocales]:{restricted:!0,type:\"object\",additionalProperties:{type:\"boolean\"},default:e.allowedLocales,description:w(\"unicodeHighlight.allowedLocales\",\"Unicode characters that are common in allowed locales are not being highlighted.\")}})}applyUpdate(e,t){let n=!1;t.allowedCharacters&&(Eg(e.allowedCharacters,t.allowedCharacters)||(e=Object.assign(Object.assign({},e),{allowedCharacters:t.allowedCharacters}),n=!0)),t.allowedLocales&&(Eg(e.allowedLocales,t.allowedLocales)||(e=Object.assign(Object.assign({},e),{allowedLocales:t.allowedLocales}),n=!0));const i=super.applyUpdate(e,t);return n?new t3(i.newValue,!0):i}validate(e){if(!e||typeof e!=\"object\")return this.defaultValue;const t=e;return{nonBasicASCII:n3(t.nonBasicASCII,M_,[!0,!1,M_]),invisibleCharacters:ya(t.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:ya(t.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:n3(t.includeComments,M_,[!0,!1,M_]),includeStrings:n3(t.includeStrings,M_,[!0,!1,M_]),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 n={};for(const[i,s]of Object.entries(e))s===!0&&(n[i]=!0);return n}}class pTe extends ih{constructor(){const e={enabled:!0,mode:\"subwordSmart\"};super(55,\"inlineSuggest\",e,{\"editor.inlineSuggest.enabled\":{type:\"boolean\",default:e.enabled,description:w(\"inlineSuggest.enabled\",\"Controls whether to automatically show inline suggestions in the editor.\")}})}validate(e){if(!e||typeof e!=\"object\")return this.defaultValue;const t=e;return{enabled:ya(t.enabled,this.defaultValue.enabled),mode:Pf(t.mode,this.defaultValue.mode,[\"prefix\",\"subword\",\"subwordSmart\"])}}}class fTe extends ih{constructor(){const e={enabled:Op.bracketPairColorizationOptions.enabled};super(12,\"bracketPairColorization\",e,{\"editor.bracketPairColorization.enabled\":{type:\"boolean\",default:e.enabled,description:w(\"bracketPairColorization.enabled\",\"Controls whether bracket pair colorization is enabled or not. Use 'workbench.colorCustomizations' to override the bracket highlight colors.\")}})}validate(e){return!e||typeof e!=\"object\"?this.defaultValue:{enabled:ya(e.enabled,this.defaultValue.enabled)}}}class _Te extends ih{constructor(){const e={bracketPairs:!1,bracketPairsHorizontal:\"active\",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(13,\"guides\",e,{\"editor.guides.bracketPairs\":{type:[\"boolean\",\"string\"],enum:[!0,\"active\",!1],enumDescriptions:[w(\"editor.guides.bracketPairs.true\",\"Enables bracket pair guides.\"),w(\"editor.guides.bracketPairs.active\",\"Enables bracket pair guides only for the active bracket pair.\"),w(\"editor.guides.bracketPairs.false\",\"Disables bracket pair guides.\")],default:e.bracketPairs,description:w(\"editor.guides.bracketPairs\",\"Controls whether bracket pair guides are enabled or not.\")},\"editor.guides.bracketPairsHorizontal\":{type:[\"boolean\",\"string\"],enum:[!0,\"active\",!1],enumDescriptions:[w(\"editor.guides.bracketPairsHorizontal.true\",\"Enables horizontal guides as addition to vertical bracket pair guides.\"),w(\"editor.guides.bracketPairsHorizontal.active\",\"Enables horizontal guides only for the active bracket pair.\"),w(\"editor.guides.bracketPairsHorizontal.false\",\"Disables horizontal bracket pair guides.\")],default:e.bracketPairsHorizontal,description:w(\"editor.guides.bracketPairsHorizontal\",\"Controls whether horizontal bracket pair guides are enabled or not.\")},\"editor.guides.highlightActiveBracketPair\":{type:\"boolean\",default:e.highlightActiveBracketPair,description:w(\"editor.guides.highlightActiveBracketPair\",\"Controls whether the editor should highlight the active bracket pair.\")},\"editor.guides.indentation\":{type:\"boolean\",default:e.indentation,description:w(\"editor.guides.indentation\",\"Controls whether the editor should render indent guides.\")},\"editor.guides.highlightActiveIndentation\":{type:\"boolean\",default:e.highlightActiveIndentation,description:w(\"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:n3(t.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,\"active\"]),bracketPairsHorizontal:n3(t.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,\"active\"]),highlightActiveBracketPair:ya(t.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:ya(t.indentation,this.defaultValue.indentation),highlightActiveIndentation:ya(t.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation)}}}function n3(o,e,t){const n=t.indexOf(o);return n===-1?e:t[n]}class gTe extends ih{constructor(){const e={insertMode:\"insert\",filterGraceful:!0,snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1,showIcons:!0,showStatusBar:!1,preview:!1,previewMode:\"subwordSmart\",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!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(106,\"suggest\",e,{\"editor.suggest.insertMode\":{type:\"string\",enum:[\"insert\",\"replace\"],enumDescriptions:[w(\"suggest.insertMode.insert\",\"Insert suggestion without overwriting text right of the cursor.\"),w(\"suggest.insertMode.replace\",\"Insert suggestion and overwrite text right of the cursor.\")],default:e.insertMode,description:w(\"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:w(\"suggest.filterGraceful\",\"Controls whether filtering and sorting suggestions accounts for small typos.\")},\"editor.suggest.localityBonus\":{type:\"boolean\",default:e.localityBonus,description:w(\"suggest.localityBonus\",\"Controls whether sorting favors words that appear close to the cursor.\")},\"editor.suggest.shareSuggestSelections\":{type:\"boolean\",default:e.shareSuggestSelections,markdownDescription:w(\"suggest.shareSuggestSelections\",\"Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).\")},\"editor.suggest.snippetsPreventQuickSuggestions\":{type:\"boolean\",default:e.snippetsPreventQuickSuggestions,description:w(\"suggest.snippetsPreventQuickSuggestions\",\"Controls whether an active snippet prevents quick suggestions.\")},\"editor.suggest.showIcons\":{type:\"boolean\",default:e.showIcons,description:w(\"suggest.showIcons\",\"Controls whether to show or hide icons in suggestions.\")},\"editor.suggest.showStatusBar\":{type:\"boolean\",default:e.showStatusBar,description:w(\"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:w(\"suggest.preview\",\"Controls whether to preview the suggestion outcome in the editor.\")},\"editor.suggest.showInlineDetails\":{type:\"boolean\",default:e.showInlineDetails,description:w(\"suggest.showInlineDetails\",\"Controls whether suggest details show inline with the label or only in the details widget\")},\"editor.suggest.maxVisibleSuggestions\":{type:\"number\",deprecationMessage:w(\"suggest.maxVisibleSuggestions.dep\",\"This setting is deprecated. The suggest widget can now be resized.\")},\"editor.suggest.filteredTypes\":{type:\"object\",deprecationMessage:w(\"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:w(\"editor.suggest.showMethods\",\"When enabled IntelliSense shows `method`-suggestions.\")},\"editor.suggest.showFunctions\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showFunctions\",\"When enabled IntelliSense shows `function`-suggestions.\")},\"editor.suggest.showConstructors\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showConstructors\",\"When enabled IntelliSense shows `constructor`-suggestions.\")},\"editor.suggest.showDeprecated\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showDeprecated\",\"When enabled IntelliSense shows `deprecated`-suggestions.\")},\"editor.suggest.showFields\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showFields\",\"When enabled IntelliSense shows `field`-suggestions.\")},\"editor.suggest.showVariables\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showVariables\",\"When enabled IntelliSense shows `variable`-suggestions.\")},\"editor.suggest.showClasses\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showClasss\",\"When enabled IntelliSense shows `class`-suggestions.\")},\"editor.suggest.showStructs\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showStructs\",\"When enabled IntelliSense shows `struct`-suggestions.\")},\"editor.suggest.showInterfaces\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showInterfaces\",\"When enabled IntelliSense shows `interface`-suggestions.\")},\"editor.suggest.showModules\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showModules\",\"When enabled IntelliSense shows `module`-suggestions.\")},\"editor.suggest.showProperties\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showPropertys\",\"When enabled IntelliSense shows `property`-suggestions.\")},\"editor.suggest.showEvents\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showEvents\",\"When enabled IntelliSense shows `event`-suggestions.\")},\"editor.suggest.showOperators\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showOperators\",\"When enabled IntelliSense shows `operator`-suggestions.\")},\"editor.suggest.showUnits\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showUnits\",\"When enabled IntelliSense shows `unit`-suggestions.\")},\"editor.suggest.showValues\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showValues\",\"When enabled IntelliSense shows `value`-suggestions.\")},\"editor.suggest.showConstants\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showConstants\",\"When enabled IntelliSense shows `constant`-suggestions.\")},\"editor.suggest.showEnums\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showEnums\",\"When enabled IntelliSense shows `enum`-suggestions.\")},\"editor.suggest.showEnumMembers\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showEnumMembers\",\"When enabled IntelliSense shows `enumMember`-suggestions.\")},\"editor.suggest.showKeywords\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showKeywords\",\"When enabled IntelliSense shows `keyword`-suggestions.\")},\"editor.suggest.showWords\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showTexts\",\"When enabled IntelliSense shows `text`-suggestions.\")},\"editor.suggest.showColors\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showColors\",\"When enabled IntelliSense shows `color`-suggestions.\")},\"editor.suggest.showFiles\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showFiles\",\"When enabled IntelliSense shows `file`-suggestions.\")},\"editor.suggest.showReferences\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showReferences\",\"When enabled IntelliSense shows `reference`-suggestions.\")},\"editor.suggest.showCustomcolors\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showCustomcolors\",\"When enabled IntelliSense shows `customcolor`-suggestions.\")},\"editor.suggest.showFolders\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showFolders\",\"When enabled IntelliSense shows `folder`-suggestions.\")},\"editor.suggest.showTypeParameters\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showTypeParameters\",\"When enabled IntelliSense shows `typeParameter`-suggestions.\")},\"editor.suggest.showSnippets\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showSnippets\",\"When enabled IntelliSense shows `snippet`-suggestions.\")},\"editor.suggest.showUsers\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showUsers\",\"When enabled IntelliSense shows `user`-suggestions.\")},\"editor.suggest.showIssues\":{type:\"boolean\",default:!0,markdownDescription:w(\"editor.suggest.showIssues\",\"When enabled IntelliSense shows `issues`-suggestions.\")}})}validate(e){if(!e||typeof e!=\"object\")return this.defaultValue;const t=e;return{insertMode:Pf(t.insertMode,this.defaultValue.insertMode,[\"insert\",\"replace\"]),filterGraceful:ya(t.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:ya(t.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:ya(t.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:ya(t.shareSuggestSelections,this.defaultValue.shareSuggestSelections),showIcons:ya(t.showIcons,this.defaultValue.showIcons),showStatusBar:ya(t.showStatusBar,this.defaultValue.showStatusBar),preview:ya(t.preview,this.defaultValue.preview),previewMode:Pf(t.previewMode,this.defaultValue.previewMode,[\"prefix\",\"subword\",\"subwordSmart\"]),showInlineDetails:ya(t.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:ya(t.showMethods,this.defaultValue.showMethods),showFunctions:ya(t.showFunctions,this.defaultValue.showFunctions),showConstructors:ya(t.showConstructors,this.defaultValue.showConstructors),showDeprecated:ya(t.showDeprecated,this.defaultValue.showDeprecated),showFields:ya(t.showFields,this.defaultValue.showFields),showVariables:ya(t.showVariables,this.defaultValue.showVariables),showClasses:ya(t.showClasses,this.defaultValue.showClasses),showStructs:ya(t.showStructs,this.defaultValue.showStructs),showInterfaces:ya(t.showInterfaces,this.defaultValue.showInterfaces),showModules:ya(t.showModules,this.defaultValue.showModules),showProperties:ya(t.showProperties,this.defaultValue.showProperties),showEvents:ya(t.showEvents,this.defaultValue.showEvents),showOperators:ya(t.showOperators,this.defaultValue.showOperators),showUnits:ya(t.showUnits,this.defaultValue.showUnits),showValues:ya(t.showValues,this.defaultValue.showValues),showConstants:ya(t.showConstants,this.defaultValue.showConstants),showEnums:ya(t.showEnums,this.defaultValue.showEnums),showEnumMembers:ya(t.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:ya(t.showKeywords,this.defaultValue.showKeywords),showWords:ya(t.showWords,this.defaultValue.showWords),showColors:ya(t.showColors,this.defaultValue.showColors),showFiles:ya(t.showFiles,this.defaultValue.showFiles),showReferences:ya(t.showReferences,this.defaultValue.showReferences),showFolders:ya(t.showFolders,this.defaultValue.showFolders),showTypeParameters:ya(t.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:ya(t.showSnippets,this.defaultValue.showSnippets),showUsers:ya(t.showUsers,this.defaultValue.showUsers),showIssues:ya(t.showIssues,this.defaultValue.showIssues)}}}class mTe extends ih{constructor(){super(102,\"smartSelect\",{selectLeadingAndTrailingWhitespace:!0},{\"editor.smartSelect.selectLeadingAndTrailingWhitespace\":{description:w(\"selectLeadingAndTrailingWhitespace\",\"Whether leading and trailing whitespace should always be selected.\"),default:!0,type:\"boolean\"}})}validate(e){return!e||typeof e!=\"object\"?this.defaultValue:{selectLeadingAndTrailingWhitespace:ya(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace)}}}class yTe extends jE{constructor(){super(130)}compute(e,t,n){return t.get(81)?!0:e.tabFocusMode}}function bTe(o){switch(o){case\"none\":return 0;case\"same\":return 1;case\"indent\":return 2;case\"deepIndent\":return 3}}class vTe extends jE{constructor(){super(132)}compute(e,t,n){const i=t.get(131);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:i.isWordWrapMinified,isViewportWrapping:i.isViewportWrapping,wrappingColumn:i.wrappingColumn}}}const CTe=\"Consolas, 'Courier New', monospace\",DTe=\"Menlo, Monaco, 'Courier New', monospace\",wTe=\"'Droid Sans Mono', 'monospace', monospace\",Rp={fontFamily:El?DTe:vp?wTe:CTe,fontWeight:\"normal\",fontSize:El?12:14,lineHeight:0,letterSpacing:0},_x=[];function Ss(o){return _x[o.id]=o,o}const S0={acceptSuggestionOnCommitCharacter:Ss(new $l(0,\"acceptSuggestionOnCommitCharacter\",!0,{markdownDescription:w(\"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:Ss(new Hd(1,\"acceptSuggestionOnEnter\",\"on\",[\"on\",\"smart\",\"off\"],{markdownEnumDescriptions:[\"\",w(\"acceptSuggestionOnEnterSmart\",\"Only accept a suggestion with `Enter` when it makes a textual change.\"),\"\"],markdownDescription:w(\"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:Ss(new $Ee),accessibilityPageSize:Ss(new pc(3,\"accessibilityPageSize\",10,1,1073741824,{description:w(\"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.\")})),ariaLabel:Ss(new o_(4,\"ariaLabel\",w(\"editorViewAccessibleLabel\",\"Editor content\"))),autoClosingBrackets:Ss(new Hd(5,\"autoClosingBrackets\",\"languageDefined\",[\"always\",\"languageDefined\",\"beforeWhitespace\",\"never\"],{enumDescriptions:[\"\",w(\"editor.autoClosingBrackets.languageDefined\",\"Use language configurations to determine when to autoclose brackets.\"),w(\"editor.autoClosingBrackets.beforeWhitespace\",\"Autoclose brackets only when the cursor is to the left of whitespace.\"),\"\"],description:w(\"autoClosingBrackets\",\"Controls whether the editor should automatically close brackets after the user adds an opening bracket.\")})),autoClosingDelete:Ss(new Hd(6,\"autoClosingDelete\",\"auto\",[\"always\",\"auto\",\"never\"],{enumDescriptions:[\"\",w(\"editor.autoClosingDelete.auto\",\"Remove adjacent closing quotes or brackets only if they were automatically inserted.\"),\"\"],description:w(\"autoClosingDelete\",\"Controls whether the editor should remove adjacent closing quotes or brackets when deleting.\")})),autoClosingOvertype:Ss(new Hd(7,\"autoClosingOvertype\",\"auto\",[\"always\",\"auto\",\"never\"],{enumDescriptions:[\"\",w(\"editor.autoClosingOvertype.auto\",\"Type over closing quotes or brackets only if they were automatically inserted.\"),\"\"],description:w(\"autoClosingOvertype\",\"Controls whether the editor should type over closing quotes or brackets.\")})),autoClosingQuotes:Ss(new Hd(8,\"autoClosingQuotes\",\"languageDefined\",[\"always\",\"languageDefined\",\"beforeWhitespace\",\"never\"],{enumDescriptions:[\"\",w(\"editor.autoClosingQuotes.languageDefined\",\"Use language configurations to determine when to autoclose quotes.\"),w(\"editor.autoClosingQuotes.beforeWhitespace\",\"Autoclose quotes only when the cursor is to the left of whitespace.\"),\"\"],description:w(\"autoClosingQuotes\",\"Controls whether the editor should automatically close quotes after the user adds an opening quote.\")})),autoIndent:Ss(new mk(9,\"autoIndent\",4,\"full\",[\"none\",\"keep\",\"brackets\",\"advanced\",\"full\"],HEe,{enumDescriptions:[w(\"editor.autoIndent.none\",\"The editor will not insert indentation automatically.\"),w(\"editor.autoIndent.keep\",\"The editor will keep the current line's indentation.\"),w(\"editor.autoIndent.brackets\",\"The editor will keep the current line's indentation and honor language defined brackets.\"),w(\"editor.autoIndent.advanced\",\"The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages.\"),w(\"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:w(\"autoIndent\",\"Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.\")})),automaticLayout:Ss(new $l(10,\"automaticLayout\",!1)),autoSurround:Ss(new Hd(11,\"autoSurround\",\"languageDefined\",[\"languageDefined\",\"quotes\",\"brackets\",\"never\"],{enumDescriptions:[w(\"editor.autoSurround.languageDefined\",\"Use language configurations to determine when to automatically surround selections.\"),w(\"editor.autoSurround.quotes\",\"Surround with quotes but not brackets.\"),w(\"editor.autoSurround.brackets\",\"Surround with brackets but not quotes.\"),\"\"],description:w(\"autoSurround\",\"Controls whether the editor should automatically surround selections when typing quotes or brackets.\")})),bracketPairColorization:Ss(new fTe),bracketPairGuides:Ss(new _Te),stickyTabStops:Ss(new $l(104,\"stickyTabStops\",!1,{description:w(\"stickyTabStops\",\"Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.\")})),codeLens:Ss(new $l(14,\"codeLens\",!0,{description:w(\"codeLens\",\"Controls whether the editor shows CodeLens.\")})),codeLensFontFamily:Ss(new o_(15,\"codeLensFontFamily\",\"\",{description:w(\"codeLensFontFamily\",\"Controls the font family for CodeLens.\")})),codeLensFontSize:Ss(new pc(16,\"codeLensFontSize\",0,0,100,{type:\"number\",default:0,minimum:0,maximum:100,markdownDescription:w(\"codeLensFontSize\",\"Controls the font size in pixels for CodeLens. When set to `0`, 90% of `#editor.fontSize#` is used.\")})),colorDecorators:Ss(new $l(17,\"colorDecorators\",!0,{description:w(\"colorDecorators\",\"Controls whether the editor should render the inline color decorators and color picker.\")})),columnSelection:Ss(new $l(18,\"columnSelection\",!1,{description:w(\"columnSelection\",\"Enable that the selection with the mouse and keys is doing column selection.\")})),comments:Ss(new zEe),contextmenu:Ss(new $l(20,\"contextmenu\",!0)),copyWithSyntaxHighlighting:Ss(new $l(21,\"copyWithSyntaxHighlighting\",!0,{description:w(\"copyWithSyntaxHighlighting\",\"Controls whether syntax highlighting should be copied into the clipboard.\")})),cursorBlinking:Ss(new mk(22,\"cursorBlinking\",1,\"blink\",[\"blink\",\"smooth\",\"phase\",\"expand\",\"solid\"],UEe,{description:w(\"cursorBlinking\",\"Control the cursor animation style.\")})),cursorSmoothCaretAnimation:Ss(new $l(23,\"cursorSmoothCaretAnimation\",!1,{description:w(\"cursorSmoothCaretAnimation\",\"Controls whether the smooth caret animation should be enabled.\")})),cursorStyle:Ss(new mk(24,\"cursorStyle\",Ih.Line,\"line\",[\"line\",\"block\",\"underline\",\"line-thin\",\"block-outline\",\"underline-thin\"],KEe,{description:w(\"cursorStyle\",\"Controls the cursor style.\")})),cursorSurroundingLines:Ss(new pc(25,\"cursorSurroundingLines\",0,0,1073741824,{description:w(\"cursorSurroundingLines\",\"Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.\")})),cursorSurroundingLinesStyle:Ss(new Hd(26,\"cursorSurroundingLinesStyle\",\"default\",[\"default\",\"all\"],{enumDescriptions:[w(\"cursorSurroundingLinesStyle.default\",\"`cursorSurroundingLines` is enforced only when triggered via the keyboard or API.\"),w(\"cursorSurroundingLinesStyle.all\",\"`cursorSurroundingLines` is enforced always.\")],description:w(\"cursorSurroundingLinesStyle\",\"Controls when `cursorSurroundingLines` should be enforced.\")})),cursorWidth:Ss(new pc(27,\"cursorWidth\",0,0,1073741824,{markdownDescription:w(\"cursorWidth\",\"Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.\")})),disableLayerHinting:Ss(new $l(28,\"disableLayerHinting\",!1)),disableMonospaceOptimizations:Ss(new $l(29,\"disableMonospaceOptimizations\",!1)),domReadOnly:Ss(new $l(30,\"domReadOnly\",!1)),dragAndDrop:Ss(new $l(31,\"dragAndDrop\",!0,{description:w(\"dragAndDrop\",\"Controls whether the editor should allow moving selections via drag and drop.\")})),emptySelectionClipboard:Ss(new GEe),extraEditorClassName:Ss(new o_(33,\"extraEditorClassName\",\"\")),fastScrollSensitivity:Ss(new F1(34,\"fastScrollSensitivity\",5,o=>o<=0?5:o,{markdownDescription:w(\"fastScrollSensitivity\",\"Scrolling speed multiplier when pressing `Alt`.\")})),find:Ss(new JEe),fixedOverflowWidgets:Ss(new $l(36,\"fixedOverflowWidgets\",!1)),folding:Ss(new $l(37,\"folding\",!0,{description:w(\"folding\",\"Controls whether the editor has code folding enabled.\")})),foldingStrategy:Ss(new Hd(38,\"foldingStrategy\",\"auto\",[\"auto\",\"indentation\"],{enumDescriptions:[w(\"foldingStrategy.auto\",\"Use a language-specific folding strategy if available, else the indentation-based one.\"),w(\"foldingStrategy.indentation\",\"Use the indentation-based folding strategy.\")],description:w(\"foldingStrategy\",\"Controls the strategy for computing folding ranges.\")})),foldingHighlight:Ss(new $l(39,\"foldingHighlight\",!0,{description:w(\"foldingHighlight\",\"Controls whether the editor should highlight folded ranges.\")})),foldingImportsByDefault:Ss(new $l(40,\"foldingImportsByDefault\",!1,{description:w(\"foldingImportsByDefault\",\"Controls whether the editor automatically collapses import ranges.\")})),foldingMaximumRegions:Ss(new pc(41,\"foldingMaximumRegions\",5e3,10,65e3,{description:w(\"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:Ss(new $l(42,\"unfoldOnClickAfterEndOfLine\",!1,{description:w(\"unfoldOnClickAfterEndOfLine\",\"Controls whether clicking on the empty content after a folded line will unfold the line.\")})),fontFamily:Ss(new o_(43,\"fontFamily\",Rp.fontFamily,{description:w(\"fontFamily\",\"Controls the font family.\")})),fontInfo:Ss(new YEe),fontLigatures2:Ss(new j_),fontSize:Ss(new XEe),fontWeight:Ss(new A1),formatOnPaste:Ss(new $l(48,\"formatOnPaste\",!1,{description:w(\"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:Ss(new $l(49,\"formatOnType\",!1,{description:w(\"formatOnType\",\"Controls whether the editor should automatically format the line after typing.\")})),glyphMargin:Ss(new $l(50,\"glyphMargin\",!0,{description:w(\"glyphMargin\",\"Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.\")})),gotoLocation:Ss(new QEe),hideCursorInOverviewRuler:Ss(new $l(52,\"hideCursorInOverviewRuler\",!1,{description:w(\"hideCursorInOverviewRuler\",\"Controls whether the cursor should be hidden in the overview ruler.\")})),hover:Ss(new ZEe),inDiffEditor:Ss(new $l(54,\"inDiffEditor\",!1)),letterSpacing:Ss(new F1(56,\"letterSpacing\",Rp.letterSpacing,o=>F1.clamp(o,-5,20),{description:w(\"letterSpacing\",\"Controls the letter spacing in pixels.\")})),lightbulb:Ss(new eTe),lineDecorationsWidth:Ss(new sw(58,\"lineDecorationsWidth\",10)),lineHeight:Ss(new nTe),lineNumbers:Ss(new uTe),lineNumbersMinChars:Ss(new pc(61,\"lineNumbersMinChars\",5,1,300)),linkedEditing:Ss(new $l(62,\"linkedEditing\",!1,{description:w(\"linkedEditing\",\"Controls whether the editor has linked editing enabled. Depending on the language, related symbols, e.g. HTML tags, are updated while editing.\")})),links:Ss(new $l(63,\"links\",!0,{description:w(\"links\",\"Controls whether the editor should detect links and make them clickable.\")})),matchBrackets:Ss(new Hd(64,\"matchBrackets\",\"always\",[\"always\",\"near\",\"never\"],{description:w(\"matchBrackets\",\"Highlight matching brackets.\")})),minimap:Ss(new iTe),mouseStyle:Ss(new Hd(66,\"mouseStyle\",\"text\",[\"text\",\"default\",\"copy\"])),mouseWheelScrollSensitivity:Ss(new F1(67,\"mouseWheelScrollSensitivity\",1,o=>o===0?1:o,{markdownDescription:w(\"mouseWheelScrollSensitivity\",\"A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.\")})),mouseWheelZoom:Ss(new $l(68,\"mouseWheelZoom\",!1,{markdownDescription:w(\"mouseWheelZoom\",\"Zoom the font of the editor when using mouse wheel and holding `Ctrl`.\")})),multiCursorMergeOverlapping:Ss(new $l(69,\"multiCursorMergeOverlapping\",!0,{description:w(\"multiCursorMergeOverlapping\",\"Merge multiple cursors when they are overlapping.\")})),multiCursorModifier:Ss(new mk(70,\"multiCursorModifier\",\"altKey\",\"alt\",[\"ctrlCmd\",\"alt\"],rTe,{markdownEnumDescriptions:[w(\"multiCursorModifier.ctrlCmd\",\"Maps to `Control` on Windows and Linux and to `Command` on macOS.\"),w(\"multiCursorModifier.alt\",\"Maps to `Alt` on Windows and Linux and to `Option` on macOS.\")],markdownDescription:w({key:\"multiCursorModifier\",comment:[\"- `ctrlCmd` refers to a value the setting can take and should not be localized.\",\"- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized.\"]},\"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. [Read more](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).\")})),multiCursorPaste:Ss(new Hd(71,\"multiCursorPaste\",\"spread\",[\"spread\",\"full\"],{markdownEnumDescriptions:[w(\"multiCursorPaste.spread\",\"Each cursor pastes a single line of the text.\"),w(\"multiCursorPaste.full\",\"Each cursor pastes the full text.\")],markdownDescription:w(\"multiCursorPaste\",\"Controls pasting when the line count of the pasted text matches the cursor count.\")})),occurrencesHighlight:Ss(new $l(72,\"occurrencesHighlight\",!0,{description:w(\"occurrencesHighlight\",\"Controls whether the editor should highlight semantic symbol occurrences.\")})),overviewRulerBorder:Ss(new $l(73,\"overviewRulerBorder\",!0,{description:w(\"overviewRulerBorder\",\"Controls whether a border should be drawn around the overview ruler.\")})),overviewRulerLanes:Ss(new pc(74,\"overviewRulerLanes\",3,0,3)),padding:Ss(new sTe),parameterHints:Ss(new oTe),peekWidgetDefaultFocus:Ss(new Hd(77,\"peekWidgetDefaultFocus\",\"tree\",[\"tree\",\"editor\"],{enumDescriptions:[w(\"peekWidgetDefaultFocus.tree\",\"Focus the tree when opening peek\"),w(\"peekWidgetDefaultFocus.editor\",\"Focus the editor when opening peek\")],description:w(\"peekWidgetDefaultFocus\",\"Controls whether to focus the inline editor or the tree in the peek widget.\")})),definitionLinkOpensInPeek:Ss(new $l(78,\"definitionLinkOpensInPeek\",!1,{description:w(\"definitionLinkOpensInPeek\",\"Controls whether the Go to Definition mouse gesture always opens the peek widget.\")})),quickSuggestions:Ss(new lTe),quickSuggestionsDelay:Ss(new pc(80,\"quickSuggestionsDelay\",10,0,1073741824,{description:w(\"quickSuggestionsDelay\",\"Controls the delay in milliseconds after which quick suggestions will show up.\")})),readOnly:Ss(new $l(81,\"readOnly\",!1)),renameOnType:Ss(new $l(82,\"renameOnType\",!1,{description:w(\"renameOnType\",\"Controls whether the editor auto renames on type.\"),markdownDeprecationMessage:w(\"renameOnTypeDeprecate\",\"Deprecated, use `editor.linkedEditing` instead.\")})),renderControlCharacters:Ss(new $l(83,\"renderControlCharacters\",!0,{description:w(\"renderControlCharacters\",\"Controls whether the editor should render control characters.\"),restricted:!0})),renderFinalNewline:Ss(new $l(84,\"renderFinalNewline\",!0,{description:w(\"renderFinalNewline\",\"Render last line number when the file ends with a newline.\")})),renderLineHighlight:Ss(new Hd(85,\"renderLineHighlight\",\"line\",[\"none\",\"gutter\",\"line\",\"all\"],{enumDescriptions:[\"\",\"\",\"\",w(\"renderLineHighlight.all\",\"Highlights both the gutter and the current line.\")],description:w(\"renderLineHighlight\",\"Controls how the editor should render the current line highlight.\")})),renderLineHighlightOnlyWhenFocus:Ss(new $l(86,\"renderLineHighlightOnlyWhenFocus\",!1,{description:w(\"renderLineHighlightOnlyWhenFocus\",\"Controls if the editor should render the current line highlight only when the editor is focused.\")})),renderValidationDecorations:Ss(new Hd(87,\"renderValidationDecorations\",\"editable\",[\"editable\",\"on\",\"off\"])),renderWhitespace:Ss(new Hd(88,\"renderWhitespace\",\"selection\",[\"none\",\"boundary\",\"selection\",\"trailing\",\"all\"],{enumDescriptions:[\"\",w(\"renderWhitespace.boundary\",\"Render whitespace characters except for single spaces between words.\"),w(\"renderWhitespace.selection\",\"Render whitespace characters only on selected text.\"),w(\"renderWhitespace.trailing\",\"Render only trailing whitespace characters.\"),\"\"],description:w(\"renderWhitespace\",\"Controls how the editor should render whitespace characters.\")})),revealHorizontalRightPadding:Ss(new pc(89,\"revealHorizontalRightPadding\",30,0,1e3)),roundedSelection:Ss(new $l(90,\"roundedSelection\",!0,{description:w(\"roundedSelection\",\"Controls whether selections should have rounded corners.\")})),rulers:Ss(new cTe),scrollbar:Ss(new dTe),scrollBeyondLastColumn:Ss(new pc(93,\"scrollBeyondLastColumn\",5,0,1073741824,{description:w(\"scrollBeyondLastColumn\",\"Controls the number of extra characters beyond which the editor will scroll horizontally.\")})),scrollBeyondLastLine:Ss(new $l(94,\"scrollBeyondLastLine\",!0,{description:w(\"scrollBeyondLastLine\",\"Controls whether the editor will scroll beyond the last line.\")})),scrollPredominantAxis:Ss(new $l(95,\"scrollPredominantAxis\",!0,{description:w(\"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:Ss(new $l(96,\"selectionClipboard\",!0,{description:w(\"selectionClipboard\",\"Controls whether the Linux primary clipboard should be supported.\"),included:vp})),selectionHighlight:Ss(new $l(97,\"selectionHighlight\",!0,{description:w(\"selectionHighlight\",\"Controls whether the editor should highlight matches similar to the selection.\")})),selectOnLineNumbers:Ss(new $l(98,\"selectOnLineNumbers\",!0)),showFoldingControls:Ss(new Hd(99,\"showFoldingControls\",\"mouseover\",[\"always\",\"mouseover\"],{enumDescriptions:[w(\"showFoldingControls.always\",\"Always show the folding controls.\"),w(\"showFoldingControls.mouseover\",\"Only show the folding controls when the mouse is over the gutter.\")],description:w(\"showFoldingControls\",\"Controls when the folding controls on the gutter are shown.\")})),showUnused:Ss(new $l(100,\"showUnused\",!0,{description:w(\"showUnused\",\"Controls fading out of unused code.\")})),showDeprecated:Ss(new $l(126,\"showDeprecated\",!0,{description:w(\"showDeprecated\",\"Controls strikethrough deprecated variables.\")})),inlayHints:Ss(new tTe),snippetSuggestions:Ss(new Hd(101,\"snippetSuggestions\",\"inline\",[\"top\",\"bottom\",\"inline\",\"none\"],{enumDescriptions:[w(\"snippetSuggestions.top\",\"Show snippet suggestions on top of other suggestions.\"),w(\"snippetSuggestions.bottom\",\"Show snippet suggestions below other suggestions.\"),w(\"snippetSuggestions.inline\",\"Show snippets suggestions with other suggestions.\"),w(\"snippetSuggestions.none\",\"Do not show snippet suggestions.\")],description:w(\"snippetSuggestions\",\"Controls whether snippets are shown with other suggestions and how they are sorted.\")})),smartSelect:Ss(new mTe),smoothScrolling:Ss(new $l(103,\"smoothScrolling\",!1,{description:w(\"smoothScrolling\",\"Controls whether the editor will scroll using an animation.\")})),stopRenderingLineAfter:Ss(new pc(105,\"stopRenderingLineAfter\",1e4,-1,1073741824)),suggest:Ss(new gTe),inlineSuggest:Ss(new pTe),suggestFontSize:Ss(new pc(107,\"suggestFontSize\",0,0,1e3,{markdownDescription:w(\"suggestFontSize\",\"Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.\")})),suggestLineHeight:Ss(new pc(108,\"suggestLineHeight\",0,0,1e3,{markdownDescription:w(\"suggestLineHeight\",\"Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used. The minimum value is 8.\")})),suggestOnTriggerCharacters:Ss(new $l(109,\"suggestOnTriggerCharacters\",!0,{description:w(\"suggestOnTriggerCharacters\",\"Controls whether suggestions should automatically show up when typing trigger characters.\")})),suggestSelection:Ss(new Hd(110,\"suggestSelection\",\"first\",[\"first\",\"recentlyUsed\",\"recentlyUsedByPrefix\"],{markdownEnumDescriptions:[w(\"suggestSelection.first\",\"Always select the first suggestion.\"),w(\"suggestSelection.recentlyUsed\",\"Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently.\"),w(\"suggestSelection.recentlyUsedByPrefix\",\"Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.\")],description:w(\"suggestSelection\",\"Controls how suggestions are pre-selected when showing the suggest list.\")})),tabCompletion:Ss(new Hd(111,\"tabCompletion\",\"off\",[\"on\",\"off\",\"onlySnippets\"],{enumDescriptions:[w(\"tabCompletion.on\",\"Tab complete will insert the best matching suggestion when pressing tab.\"),w(\"tabCompletion.off\",\"Disable tab completions.\"),w(\"tabCompletion.onlySnippets\",\"Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.\")],description:w(\"tabCompletion\",\"Enables tab completions.\")})),tabIndex:Ss(new pc(112,\"tabIndex\",0,-1,1073741824)),unicodeHighlight:Ss(new hTe),unusualLineTerminators:Ss(new Hd(114,\"unusualLineTerminators\",\"prompt\",[\"auto\",\"off\",\"prompt\"],{enumDescriptions:[w(\"unusualLineTerminators.auto\",\"Unusual line terminators are automatically removed.\"),w(\"unusualLineTerminators.off\",\"Unusual line terminators are ignored.\"),w(\"unusualLineTerminators.prompt\",\"Unusual line terminators prompt to be removed.\")],description:w(\"unusualLineTerminators\",\"Remove unusual line terminators that might cause problems.\")})),useShadowDOM:Ss(new $l(115,\"useShadowDOM\",!0)),useTabStops:Ss(new $l(116,\"useTabStops\",!0,{description:w(\"useTabStops\",\"Inserting and deleting whitespace follows tab stops.\")})),wordSeparators:Ss(new o_(117,\"wordSeparators\",Lle,{description:w(\"wordSeparators\",\"Characters that will be used as word separators when doing word related navigations or operations.\")})),wordWrap:Ss(new Hd(118,\"wordWrap\",\"off\",[\"off\",\"on\",\"wordWrapColumn\",\"bounded\"],{markdownEnumDescriptions:[w(\"wordWrap.off\",\"Lines will never wrap.\"),w(\"wordWrap.on\",\"Lines will wrap at the viewport width.\"),w({key:\"wordWrap.wordWrapColumn\",comment:[\"- `editor.wordWrapColumn` refers to a different setting and should not be localized.\"]},\"Lines will wrap at `#editor.wordWrapColumn#`.\"),w({key:\"wordWrap.bounded\",comment:[\"- viewport means the edge of the visible window size.\",\"- `editor.wordWrapColumn` refers to a different setting and should not be localized.\"]},\"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.\")],description:w({key:\"wordWrap\",comment:[\"- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.\",\"- `editor.wordWrapColumn` refers to a different setting and should not be localized.\"]},\"Controls how lines should wrap.\")})),wordWrapBreakAfterCharacters:Ss(new o_(119,\"wordWrapBreakAfterCharacters\",\" \t})]?|/&.,;\\xA2\\xB0\\u2032\\u2033\\u2030\\u2103\\u3001\\u3002\\uFF61\\uFF64\\uFFE0\\uFF0C\\uFF0E\\uFF1A\\uFF1B\\uFF1F\\uFF01\\uFF05\\u30FB\\uFF65\\u309D\\u309E\\u30FD\\u30FE\\u30FC\\u30A1\\u30A3\\u30A5\\u30A7\\u30A9\\u30C3\\u30E3\\u30E5\\u30E7\\u30EE\\u30F5\\u30F6\\u3041\\u3043\\u3045\\u3047\\u3049\\u3063\\u3083\\u3085\\u3087\\u308E\\u3095\\u3096\\u31F0\\u31F1\\u31F2\\u31F3\\u31F4\\u31F5\\u31F6\\u31F7\\u31F8\\u31F9\\u31FA\\u31FB\\u31FC\\u31FD\\u31FE\\u31FF\\u3005\\u303B\\uFF67\\uFF68\\uFF69\\uFF6A\\uFF6B\\uFF6C\\uFF6D\\uFF6E\\uFF6F\\uFF70\\u201D\\u3009\\u300B\\u300D\\u300F\\u3011\\u3015\\uFF09\\uFF3D\\uFF5D\\uFF63\")),wordWrapBreakBeforeCharacters:Ss(new o_(120,\"wordWrapBreakBeforeCharacters\",\"([{\\u2018\\u201C\\u3008\\u300A\\u300C\\u300E\\u3010\\u3014\\uFF08\\uFF3B\\uFF5B\\uFF62\\xA3\\xA5\\uFF04\\uFFE1\\uFFE5+\\uFF0B\")),wordWrapColumn:Ss(new pc(121,\"wordWrapColumn\",80,1,1073741824,{markdownDescription:w({key:\"wordWrapColumn\",comment:[\"- `editor.wordWrap` refers to a different setting and should not be localized.\",\"- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized.\"]},\"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.\")})),wordWrapOverride1:Ss(new Hd(122,\"wordWrapOverride1\",\"inherit\",[\"off\",\"on\",\"inherit\"])),wordWrapOverride2:Ss(new Hd(123,\"wordWrapOverride2\",\"inherit\",[\"off\",\"on\",\"inherit\"])),wrappingIndent:Ss(new mk(124,\"wrappingIndent\",1,\"same\",[\"none\",\"same\",\"indent\",\"deepIndent\"],bTe,{enumDescriptions:[w(\"wrappingIndent.none\",\"No indentation. Wrapped lines begin at column 1.\"),w(\"wrappingIndent.same\",\"Wrapped lines get the same indentation as the parent.\"),w(\"wrappingIndent.indent\",\"Wrapped lines get +1 indentation toward the parent.\"),w(\"wrappingIndent.deepIndent\",\"Wrapped lines get +2 indentation toward the parent.\")],description:w(\"wrappingIndent\",\"Controls the indentation of wrapped lines.\")})),wrappingStrategy:Ss(new Hd(125,\"wrappingStrategy\",\"simple\",[\"simple\",\"advanced\"],{enumDescriptions:[w(\"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.\"),w(\"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.\")],description:w(\"wrappingStrategy\",\"Controls the algorithm that computes wrapping points.\")})),editorClassName:Ss(new qEe),pixelRatio:Ss(new aTe),tabFocusMode:Ss(new yTe),layoutInfo:Ss(new Ix),wrappingInfo:Ss(new vTe)};class STe{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw 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 Hle=new STe;function tl(o){ry(o)||Hle.onUnexpectedError(o)}function bh(o){ry(o)||Hle.onUnexpectedExternalError(o)}function Bie(o){if(o instanceof Error){let{name:e,message:t}=o;const n=o.stacktrace||o.stack;return{$isError:!0,name:e,message:t,stack:n}}return o}const O8=\"Canceled\";function ry(o){return o instanceof ow?!0:o instanceof Error&&o.name===O8&&o.message===O8}class ow extends Error{constructor(){super(O8),this.name=this.message}}function wq(){const o=new Error(O8);return o.name=o.message,o}function f0(o){return o?new Error(`Illegal argument: ${o}`):new Error(\"Illegal argument\")}function xTe(o){return o?new Error(`Illegal state: ${o}`):new Error(\"Illegal state\")}class ETe extends Error{constructor(e){super(\"NotSupported\"),e&&(this.message=e)}}function wb(o){const e=this;let t=!1,n;return function(){return t||(t=!0,n=o.apply(e,arguments)),n}}var Zl;(function(o){function e(F){return F&&typeof F==\"object\"&&typeof F[Symbol.iterator]==\"function\"}o.is=e;const t=Object.freeze([]);function n(){return t}o.empty=n;function*i(F){yield F}o.single=i;function s(F){return F||t}o.from=s;function a(F){return!F||F[Symbol.iterator]().next().done===!0}o.isEmpty=a;function l(F){return F[Symbol.iterator]().next().value}o.first=l;function u(F,q){for(const re of F)if(q(re))return!0;return!1}o.some=u;function d(F,q){for(const re of F)if(q(re))return re}o.find=d;function*h(F,q){for(const re of F)q(re)&&(yield re)}o.filter=h;function*p(F,q){let re=0;for(const Ie of F)yield q(Ie,re++)}o.map=p;function*g(...F){for(const q of F)for(const re of q)yield re}o.concat=g;function*y(F){for(const q of F)for(const re of q)yield re}o.concatNested=y;function D(F,q,re){let Ie=re;for(const mt of F)Ie=q(Ie,mt);return Ie}o.reduce=D;function*T(F,q,re=F.length){for(q<0&&(q+=F.length),re<0?re+=F.length:re>F.length&&(re=F.length);q<re;q++)yield F[q]}o.slice=T;function k(F,q=Number.POSITIVE_INFINITY){const re=[];if(q===0)return[re,F];const Ie=F[Symbol.iterator]();for(let mt=0;mt<q;mt++){const Le=Ie.next();if(Le.done)return[re,o.empty()];re.push(Le.value)}return[re,{[Symbol.iterator](){return Ie}}]}o.consume=k;function I(F,q,re=(Ie,mt)=>Ie===mt){const Ie=F[Symbol.iterator](),mt=q[Symbol.iterator]();for(;;){const Le=Ie.next(),Ge=mt.next();if(Le.done!==Ge.done)return!1;if(Le.done)return!0;if(!re(Le.value,Ge.value))return!1}}o.equals=I})(Zl||(Zl={}));class TTe extends Error{constructor(e){super(`Encountered errors while disposing of store. Errors: [${e.join(\", \")}]`),this.errors=e}}function Sq(o){return typeof o.dispose==\"function\"&&o.dispose.length===0}function eu(o){if(Zl.is(o)){let e=[];for(const t of o)if(t)try{t.dispose()}catch(n){e.push(n)}if(e.length===1)throw e[0];if(e.length>1)throw new TTe(e);return Array.isArray(o)?[]:o}else if(o)return o.dispose(),o}function gb(...o){return wl(()=>eu(o))}function wl(o){return{dispose:wb(()=>{o()})}}class fs{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){try{eu(this._toDispose.values())}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?fs.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}}fs.DISABLE_DISPOSED_WARNING=!1;class fr{constructor(){this._store=new fs,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)}}fr.None=Object.freeze({dispose(){}});class _f{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}clearAndLeak(){const e=this._value;return this._value=void 0,e}}class ATe{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1}set(e){let t=e;return this.unset=()=>t=void 0,this.isset=()=>t!==void 0,this.dispose=()=>{t&&(t(),t=void 0)},this}}class kTe{constructor(e){this.object=e}dispose(){}}class Kc{constructor(e){this.element=e,this.next=Kc.Undefined,this.prev=Kc.Undefined}}Kc.Undefined=new Kc(void 0);class $_{constructor(){this._first=Kc.Undefined,this._last=Kc.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===Kc.Undefined}clear(){let e=this._first;for(;e!==Kc.Undefined;){const t=e.next;e.prev=Kc.Undefined,e.next=Kc.Undefined,e=t}this._first=Kc.Undefined,this._last=Kc.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new Kc(e);if(this._first===Kc.Undefined)this._first=n,this._last=n;else if(t){const s=this._last;this._last=n,n.prev=s,s.next=n}else{const s=this._first;this._first=n,n.next=s,s.prev=n}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(n))}}shift(){if(this._first!==Kc.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==Kc.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==Kc.Undefined&&e.next!==Kc.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===Kc.Undefined&&e.next===Kc.Undefined?(this._first=Kc.Undefined,this._last=Kc.Undefined):e.next===Kc.Undefined?(this._last=this._last.prev,this._last.next=Kc.Undefined):e.prev===Kc.Undefined&&(this._first=this._first.next,this._first.prev=Kc.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==Kc.Undefined;)yield e.element,e=e.next}}const LTe=cd.performance&&typeof cd.performance.now==\"function\";class Bf{constructor(e){this._highResolution=LTe&&e,this._startTime=this._now(),this._stopTime=-1}static create(e=!0){return new Bf(e)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?cd.performance.now():Date.now()}}var Xo;(function(o){o.None=()=>fr.None;function e(re){return(Ie,mt=null,Le)=>{let Ge=!1,qt;return qt=re(gi=>{if(!Ge)return qt?qt.dispose():Ge=!0,Ie.call(mt,gi)},null,Le),Ge&&qt.dispose(),qt}}o.once=e;function t(re,Ie,mt){return u((Le,Ge=null,qt)=>re(gi=>Le.call(Ge,Ie(gi)),null,qt),mt)}o.map=t;function n(re,Ie,mt){return u((Le,Ge=null,qt)=>re(gi=>{Ie(gi),Le.call(Ge,gi)},null,qt),mt)}o.forEach=n;function i(re,Ie,mt){return u((Le,Ge=null,qt)=>re(gi=>Ie(gi)&&Le.call(Ge,gi),null,qt),mt)}o.filter=i;function s(re){return re}o.signal=s;function a(...re){return(Ie,mt=null,Le)=>gb(...re.map(Ge=>Ge(qt=>Ie.call(mt,qt),null,Le)))}o.any=a;function l(re,Ie,mt,Le){let Ge=mt;return t(re,qt=>(Ge=Ie(Ge,qt),Ge),Le)}o.reduce=l;function u(re,Ie){let mt;const Le={onFirstListenerAdd(){mt=re(Ge.fire,Ge)},onLastListenerRemove(){mt.dispose()}},Ge=new ri(Le);return Ie&&Ie.add(Ge),Ge.event}function d(re,Ie,mt=100,Le=!1,Ge,qt){let gi,ai,Tr,Vr=0;const go={leakWarningThreshold:Ge,onFirstListenerAdd(){gi=re(Fo=>{Vr++,ai=Ie(ai,Fo),Le&&!Tr&&(Js.fire(ai),ai=void 0),clearTimeout(Tr),Tr=setTimeout(()=>{const aa=ai;ai=void 0,Tr=void 0,(!Le||Vr>1)&&Js.fire(aa),Vr=0},mt)})},onLastListenerRemove(){gi.dispose()}},Js=new ri(go);return qt&&qt.add(Js),Js.event}o.debounce=d;function h(re,Ie=(Le,Ge)=>Le===Ge,mt){let Le=!0,Ge;return i(re,qt=>{const gi=Le||!Ie(qt,Ge);return Le=!1,Ge=qt,gi},mt)}o.latch=h;function p(re,Ie,mt){return[o.filter(re,Ie,mt),o.filter(re,Le=>!Ie(Le),mt)]}o.split=p;function g(re,Ie=!1,mt=[]){let Le=mt.slice(),Ge=re(ai=>{Le?Le.push(ai):gi.fire(ai)});const qt=()=>{Le&&Le.forEach(ai=>gi.fire(ai)),Le=null},gi=new ri({onFirstListenerAdd(){Ge||(Ge=re(ai=>gi.fire(ai)))},onFirstListenerDidAdd(){Le&&(Ie?setTimeout(qt):qt())},onLastListenerRemove(){Ge&&Ge.dispose(),Ge=null}});return gi.event}o.buffer=g;class y{constructor(Ie){this.event=Ie}map(Ie){return new y(t(this.event,Ie))}forEach(Ie){return new y(n(this.event,Ie))}filter(Ie){return new y(i(this.event,Ie))}reduce(Ie,mt){return new y(l(this.event,Ie,mt))}latch(){return new y(h(this.event))}debounce(Ie,mt=100,Le=!1,Ge){return new y(d(this.event,Ie,mt,Le,Ge))}on(Ie,mt,Le){return this.event(Ie,mt,Le)}once(Ie,mt,Le){return e(this.event)(Ie,mt,Le)}}function D(re){return new y(re)}o.chain=D;function T(re,Ie,mt=Le=>Le){const Le=(...ai)=>gi.fire(mt(...ai)),Ge=()=>re.on(Ie,Le),qt=()=>re.removeListener(Ie,Le),gi=new ri({onFirstListenerAdd:Ge,onLastListenerRemove:qt});return gi.event}o.fromNodeEventEmitter=T;function k(re,Ie,mt=Le=>Le){const Le=(...ai)=>gi.fire(mt(...ai)),Ge=()=>re.addEventListener(Ie,Le),qt=()=>re.removeEventListener(Ie,Le),gi=new ri({onFirstListenerAdd:Ge,onLastListenerRemove:qt});return gi.event}o.fromDOMEventEmitter=k;function I(re){return new Promise(Ie=>e(re)(Ie))}o.toPromise=I;function F(re,Ie){return Ie(void 0),re(mt=>Ie(mt))}o.runAndSubscribe=F;function q(re,Ie){let mt=null;function Le(qt){mt==null||mt.dispose(),mt=new fs,Ie(qt,mt)}Le(void 0);const Ge=re(qt=>Le(qt));return wl(()=>{Ge.dispose(),mt==null||mt.dispose()})}o.runAndSubscribeWithStore=q})(Xo||(Xo={}));class mP{constructor(e){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${e}_${mP._idPool++}`}start(e){this._stopWatch=new Bf(!0),this._listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this._elapsedOverall+=e,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${e.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}mP._idPool=0;class xq{constructor(e){this.value=e}static create(){var e;return new xq((e=new Error().stack)!==null&&e!==void 0?e:\"\")}print(){console.warn(this.value.split(`\n`).slice(2).join(`\n`))}}class NTe{constructor(e,t,n){this.callback=e,this.callbackThis=t,this.stack=n,this.subscription=new ATe}invoke(e){this.callback.call(this.callbackThis,e)}}class ri{constructor(e){var t;this._disposed=!1,this._options=e,this._leakageMon=void 0,this._perfMon=!((t=this._options)===null||t===void 0)&&t._profName?new mP(this._options._profName):void 0}dispose(){var e,t,n,i;this._disposed||(this._disposed=!0,this._listeners&&this._listeners.clear(),(e=this._deliveryQueue)===null||e===void 0||e.clear(),(n=(t=this._options)===null||t===void 0?void 0:t.onLastListenerRemove)===null||n===void 0||n.call(t),(i=this._leakageMon)===null||i===void 0||i.dispose())}get event(){return this._event||(this._event=(e,t,n)=>{var i,s,a;this._listeners||(this._listeners=new $_);const l=this._listeners.isEmpty();l&&((i=this._options)===null||i===void 0?void 0:i.onFirstListenerAdd)&&this._options.onFirstListenerAdd(this);let u,d;this._leakageMon&&this._listeners.size>=30&&(d=xq.create(),u=this._leakageMon.check(d,this._listeners.size+1));const h=new NTe(e,t,d),p=this._listeners.push(h);l&&((s=this._options)===null||s===void 0?void 0:s.onFirstListenerDidAdd)&&this._options.onFirstListenerDidAdd(this),!((a=this._options)===null||a===void 0)&&a.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,t);const g=h.subscription.set(()=>{u&&u(),this._disposed||(p(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return n instanceof fs?n.add(g):Array.isArray(n)&&n.push(g),g}),this._event}fire(e){var t,n;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new $_);for(let i of this._listeners)this._deliveryQueue.push([i,e]);for((t=this._perfMon)===null||t===void 0||t.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[i,s]=this._deliveryQueue.shift();try{i.invoke(s)}catch(a){tl(a)}}(n=this._perfMon)===null||n===void 0||n.stop()}}}class M8 extends ri{constructor(e){super(e),this._isPaused=0,this._eventQueue=new $_,this._mergeFn=e==null?void 0:e.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){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._listeners&&(this._isPaused!==0?this._eventQueue.push(e):super.fire(e))}}class ITe extends M8{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 Eq{constructor(){this.buffers=[]}wrapEvent(e){return(t,n,i)=>e(s=>{const a=this.buffers[this.buffers.length-1];a?a.push(()=>t.call(n,s)):t.call(n,s)},void 0,i)}bufferEvents(e){const t=[];this.buffers.push(t);const n=e();return this.buffers.pop(),t.forEach(i=>i()),n}}class jie{constructor(){this.listening=!1,this.inputEvent=Xo.None,this.inputEventListener=fr.None,this.emitter=new ri({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{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 $le=Object.freeze(function(o,e){const t=setTimeout(o.bind(e),0);return{dispose(){clearTimeout(t)}}});var Ll;(function(o){function e(t){return t===o.None||t===o.Cancelled||t instanceof Y5?!0:!t||typeof t!=\"object\"?!1:typeof t.isCancellationRequested==\"boolean\"&&typeof t.onCancellationRequested==\"function\"}o.isCancellationToken=e,o.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:Xo.None}),o.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:$le})})(Ll||(Ll={}));class Y5{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?$le:(this._emitter||(this._emitter=new ri),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class Xh{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 Y5),this._token}cancel(){this._token?this._token instanceof Y5&&this._token.cancel():this._token=Ll.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof Y5&&this._token.dispose():this._token=Ll.None}}class Tq{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 X5=new Tq,o$=new Tq,a$=new Tq,zle=new Array(230),FTe=Object.create(null),PTe=Object.create(null),Aq=[];for(let o=0;o<=193;o++)Aq[o]=-1;(function(){const o=\"\",e=[[0,1,0,\"None\",0,\"unknown\",0,\"VK_UNKNOWN\",o,o],[0,1,1,\"Hyper\",0,o,0,o,o,o],[0,1,2,\"Super\",0,o,0,o,o,o],[0,1,3,\"Fn\",0,o,0,o,o,o],[0,1,4,\"FnLock\",0,o,0,o,o,o],[0,1,5,\"Suspend\",0,o,0,o,o,o],[0,1,6,\"Resume\",0,o,0,o,o,o],[0,1,7,\"Turbo\",0,o,0,o,o,o],[0,1,8,\"Sleep\",0,o,0,\"VK_SLEEP\",o,o],[0,1,9,\"WakeUp\",0,o,0,o,o,o],[31,0,10,\"KeyA\",31,\"A\",65,\"VK_A\",o,o],[32,0,11,\"KeyB\",32,\"B\",66,\"VK_B\",o,o],[33,0,12,\"KeyC\",33,\"C\",67,\"VK_C\",o,o],[34,0,13,\"KeyD\",34,\"D\",68,\"VK_D\",o,o],[35,0,14,\"KeyE\",35,\"E\",69,\"VK_E\",o,o],[36,0,15,\"KeyF\",36,\"F\",70,\"VK_F\",o,o],[37,0,16,\"KeyG\",37,\"G\",71,\"VK_G\",o,o],[38,0,17,\"KeyH\",38,\"H\",72,\"VK_H\",o,o],[39,0,18,\"KeyI\",39,\"I\",73,\"VK_I\",o,o],[40,0,19,\"KeyJ\",40,\"J\",74,\"VK_J\",o,o],[41,0,20,\"KeyK\",41,\"K\",75,\"VK_K\",o,o],[42,0,21,\"KeyL\",42,\"L\",76,\"VK_L\",o,o],[43,0,22,\"KeyM\",43,\"M\",77,\"VK_M\",o,o],[44,0,23,\"KeyN\",44,\"N\",78,\"VK_N\",o,o],[45,0,24,\"KeyO\",45,\"O\",79,\"VK_O\",o,o],[46,0,25,\"KeyP\",46,\"P\",80,\"VK_P\",o,o],[47,0,26,\"KeyQ\",47,\"Q\",81,\"VK_Q\",o,o],[48,0,27,\"KeyR\",48,\"R\",82,\"VK_R\",o,o],[49,0,28,\"KeyS\",49,\"S\",83,\"VK_S\",o,o],[50,0,29,\"KeyT\",50,\"T\",84,\"VK_T\",o,o],[51,0,30,\"KeyU\",51,\"U\",85,\"VK_U\",o,o],[52,0,31,\"KeyV\",52,\"V\",86,\"VK_V\",o,o],[53,0,32,\"KeyW\",53,\"W\",87,\"VK_W\",o,o],[54,0,33,\"KeyX\",54,\"X\",88,\"VK_X\",o,o],[55,0,34,\"KeyY\",55,\"Y\",89,\"VK_Y\",o,o],[56,0,35,\"KeyZ\",56,\"Z\",90,\"VK_Z\",o,o],[22,0,36,\"Digit1\",22,\"1\",49,\"VK_1\",o,o],[23,0,37,\"Digit2\",23,\"2\",50,\"VK_2\",o,o],[24,0,38,\"Digit3\",24,\"3\",51,\"VK_3\",o,o],[25,0,39,\"Digit4\",25,\"4\",52,\"VK_4\",o,o],[26,0,40,\"Digit5\",26,\"5\",53,\"VK_5\",o,o],[27,0,41,\"Digit6\",27,\"6\",54,\"VK_6\",o,o],[28,0,42,\"Digit7\",28,\"7\",55,\"VK_7\",o,o],[29,0,43,\"Digit8\",29,\"8\",56,\"VK_8\",o,o],[30,0,44,\"Digit9\",30,\"9\",57,\"VK_9\",o,o],[21,0,45,\"Digit0\",21,\"0\",48,\"VK_0\",o,o],[3,1,46,\"Enter\",3,\"Enter\",13,\"VK_RETURN\",o,o],[9,1,47,\"Escape\",9,\"Escape\",27,\"VK_ESCAPE\",o,o],[1,1,48,\"Backspace\",1,\"Backspace\",8,\"VK_BACK\",o,o],[2,1,49,\"Tab\",2,\"Tab\",9,\"VK_TAB\",o,o],[10,1,50,\"Space\",10,\"Space\",32,\"VK_SPACE\",o,o],[83,0,51,\"Minus\",83,\"-\",189,\"VK_OEM_MINUS\",\"-\",\"OEM_MINUS\"],[81,0,52,\"Equal\",81,\"=\",187,\"VK_OEM_PLUS\",\"=\",\"OEM_PLUS\"],[87,0,53,\"BracketLeft\",87,\"[\",219,\"VK_OEM_4\",\"[\",\"OEM_4\"],[89,0,54,\"BracketRight\",89,\"]\",221,\"VK_OEM_6\",\"]\",\"OEM_6\"],[88,0,55,\"Backslash\",88,\"\\\\\",220,\"VK_OEM_5\",\"\\\\\",\"OEM_5\"],[0,0,56,\"IntlHash\",0,o,0,o,o,o],[80,0,57,\"Semicolon\",80,\";\",186,\"VK_OEM_1\",\";\",\"OEM_1\"],[90,0,58,\"Quote\",90,\"'\",222,\"VK_OEM_7\",\"'\",\"OEM_7\"],[86,0,59,\"Backquote\",86,\"`\",192,\"VK_OEM_3\",\"`\",\"OEM_3\"],[82,0,60,\"Comma\",82,\",\",188,\"VK_OEM_COMMA\",\",\",\"OEM_COMMA\"],[84,0,61,\"Period\",84,\".\",190,\"VK_OEM_PERIOD\",\".\",\"OEM_PERIOD\"],[85,0,62,\"Slash\",85,\"/\",191,\"VK_OEM_2\",\"/\",\"OEM_2\"],[8,1,63,\"CapsLock\",8,\"CapsLock\",20,\"VK_CAPITAL\",o,o],[59,1,64,\"F1\",59,\"F1\",112,\"VK_F1\",o,o],[60,1,65,\"F2\",60,\"F2\",113,\"VK_F2\",o,o],[61,1,66,\"F3\",61,\"F3\",114,\"VK_F3\",o,o],[62,1,67,\"F4\",62,\"F4\",115,\"VK_F4\",o,o],[63,1,68,\"F5\",63,\"F5\",116,\"VK_F5\",o,o],[64,1,69,\"F6\",64,\"F6\",117,\"VK_F6\",o,o],[65,1,70,\"F7\",65,\"F7\",118,\"VK_F7\",o,o],[66,1,71,\"F8\",66,\"F8\",119,\"VK_F8\",o,o],[67,1,72,\"F9\",67,\"F9\",120,\"VK_F9\",o,o],[68,1,73,\"F10\",68,\"F10\",121,\"VK_F10\",o,o],[69,1,74,\"F11\",69,\"F11\",122,\"VK_F11\",o,o],[70,1,75,\"F12\",70,\"F12\",123,\"VK_F12\",o,o],[0,1,76,\"PrintScreen\",0,o,0,o,o,o],[79,1,77,\"ScrollLock\",79,\"ScrollLock\",145,\"VK_SCROLL\",o,o],[7,1,78,\"Pause\",7,\"PauseBreak\",19,\"VK_PAUSE\",o,o],[19,1,79,\"Insert\",19,\"Insert\",45,\"VK_INSERT\",o,o],[14,1,80,\"Home\",14,\"Home\",36,\"VK_HOME\",o,o],[11,1,81,\"PageUp\",11,\"PageUp\",33,\"VK_PRIOR\",o,o],[20,1,82,\"Delete\",20,\"Delete\",46,\"VK_DELETE\",o,o],[13,1,83,\"End\",13,\"End\",35,\"VK_END\",o,o],[12,1,84,\"PageDown\",12,\"PageDown\",34,\"VK_NEXT\",o,o],[17,1,85,\"ArrowRight\",17,\"RightArrow\",39,\"VK_RIGHT\",\"Right\",o],[15,1,86,\"ArrowLeft\",15,\"LeftArrow\",37,\"VK_LEFT\",\"Left\",o],[18,1,87,\"ArrowDown\",18,\"DownArrow\",40,\"VK_DOWN\",\"Down\",o],[16,1,88,\"ArrowUp\",16,\"UpArrow\",38,\"VK_UP\",\"Up\",o],[78,1,89,\"NumLock\",78,\"NumLock\",144,\"VK_NUMLOCK\",o,o],[108,1,90,\"NumpadDivide\",108,\"NumPad_Divide\",111,\"VK_DIVIDE\",o,o],[103,1,91,\"NumpadMultiply\",103,\"NumPad_Multiply\",106,\"VK_MULTIPLY\",o,o],[106,1,92,\"NumpadSubtract\",106,\"NumPad_Subtract\",109,\"VK_SUBTRACT\",o,o],[104,1,93,\"NumpadAdd\",104,\"NumPad_Add\",107,\"VK_ADD\",o,o],[3,1,94,\"NumpadEnter\",3,o,0,o,o,o],[94,1,95,\"Numpad1\",94,\"NumPad1\",97,\"VK_NUMPAD1\",o,o],[95,1,96,\"Numpad2\",95,\"NumPad2\",98,\"VK_NUMPAD2\",o,o],[96,1,97,\"Numpad3\",96,\"NumPad3\",99,\"VK_NUMPAD3\",o,o],[97,1,98,\"Numpad4\",97,\"NumPad4\",100,\"VK_NUMPAD4\",o,o],[98,1,99,\"Numpad5\",98,\"NumPad5\",101,\"VK_NUMPAD5\",o,o],[99,1,100,\"Numpad6\",99,\"NumPad6\",102,\"VK_NUMPAD6\",o,o],[100,1,101,\"Numpad7\",100,\"NumPad7\",103,\"VK_NUMPAD7\",o,o],[101,1,102,\"Numpad8\",101,\"NumPad8\",104,\"VK_NUMPAD8\",o,o],[102,1,103,\"Numpad9\",102,\"NumPad9\",105,\"VK_NUMPAD9\",o,o],[93,1,104,\"Numpad0\",93,\"NumPad0\",96,\"VK_NUMPAD0\",o,o],[107,1,105,\"NumpadDecimal\",107,\"NumPad_Decimal\",110,\"VK_DECIMAL\",o,o],[92,0,106,\"IntlBackslash\",92,\"OEM_102\",226,\"VK_OEM_102\",o,o],[58,1,107,\"ContextMenu\",58,\"ContextMenu\",93,o,o,o],[0,1,108,\"Power\",0,o,0,o,o,o],[0,1,109,\"NumpadEqual\",0,o,0,o,o,o],[71,1,110,\"F13\",71,\"F13\",124,\"VK_F13\",o,o],[72,1,111,\"F14\",72,\"F14\",125,\"VK_F14\",o,o],[73,1,112,\"F15\",73,\"F15\",126,\"VK_F15\",o,o],[74,1,113,\"F16\",74,\"F16\",127,\"VK_F16\",o,o],[75,1,114,\"F17\",75,\"F17\",128,\"VK_F17\",o,o],[76,1,115,\"F18\",76,\"F18\",129,\"VK_F18\",o,o],[77,1,116,\"F19\",77,\"F19\",130,\"VK_F19\",o,o],[0,1,117,\"F20\",0,o,0,\"VK_F20\",o,o],[0,1,118,\"F21\",0,o,0,\"VK_F21\",o,o],[0,1,119,\"F22\",0,o,0,\"VK_F22\",o,o],[0,1,120,\"F23\",0,o,0,\"VK_F23\",o,o],[0,1,121,\"F24\",0,o,0,\"VK_F24\",o,o],[0,1,122,\"Open\",0,o,0,o,o,o],[0,1,123,\"Help\",0,o,0,o,o,o],[0,1,124,\"Select\",0,o,0,o,o,o],[0,1,125,\"Again\",0,o,0,o,o,o],[0,1,126,\"Undo\",0,o,0,o,o,o],[0,1,127,\"Cut\",0,o,0,o,o,o],[0,1,128,\"Copy\",0,o,0,o,o,o],[0,1,129,\"Paste\",0,o,0,o,o,o],[0,1,130,\"Find\",0,o,0,o,o,o],[0,1,131,\"AudioVolumeMute\",112,\"AudioVolumeMute\",173,\"VK_VOLUME_MUTE\",o,o],[0,1,132,\"AudioVolumeUp\",113,\"AudioVolumeUp\",175,\"VK_VOLUME_UP\",o,o],[0,1,133,\"AudioVolumeDown\",114,\"AudioVolumeDown\",174,\"VK_VOLUME_DOWN\",o,o],[105,1,134,\"NumpadComma\",105,\"NumPad_Separator\",108,\"VK_SEPARATOR\",o,o],[110,0,135,\"IntlRo\",110,\"ABNT_C1\",193,\"VK_ABNT_C1\",o,o],[0,1,136,\"KanaMode\",0,o,0,o,o,o],[0,0,137,\"IntlYen\",0,o,0,o,o,o],[0,1,138,\"Convert\",0,o,0,o,o,o],[0,1,139,\"NonConvert\",0,o,0,o,o,o],[0,1,140,\"Lang1\",0,o,0,o,o,o],[0,1,141,\"Lang2\",0,o,0,o,o,o],[0,1,142,\"Lang3\",0,o,0,o,o,o],[0,1,143,\"Lang4\",0,o,0,o,o,o],[0,1,144,\"Lang5\",0,o,0,o,o,o],[0,1,145,\"Abort\",0,o,0,o,o,o],[0,1,146,\"Props\",0,o,0,o,o,o],[0,1,147,\"NumpadParenLeft\",0,o,0,o,o,o],[0,1,148,\"NumpadParenRight\",0,o,0,o,o,o],[0,1,149,\"NumpadBackspace\",0,o,0,o,o,o],[0,1,150,\"NumpadMemoryStore\",0,o,0,o,o,o],[0,1,151,\"NumpadMemoryRecall\",0,o,0,o,o,o],[0,1,152,\"NumpadMemoryClear\",0,o,0,o,o,o],[0,1,153,\"NumpadMemoryAdd\",0,o,0,o,o,o],[0,1,154,\"NumpadMemorySubtract\",0,o,0,o,o,o],[0,1,155,\"NumpadClear\",126,\"Clear\",12,\"VK_CLEAR\",o,o],[0,1,156,\"NumpadClearEntry\",0,o,0,o,o,o],[5,1,0,o,5,\"Ctrl\",17,\"VK_CONTROL\",o,o],[4,1,0,o,4,\"Shift\",16,\"VK_SHIFT\",o,o],[6,1,0,o,6,\"Alt\",18,\"VK_MENU\",o,o],[57,1,0,o,57,\"Meta\",0,\"VK_COMMAND\",o,o],[5,1,157,\"ControlLeft\",5,o,0,\"VK_LCONTROL\",o,o],[4,1,158,\"ShiftLeft\",4,o,0,\"VK_LSHIFT\",o,o],[6,1,159,\"AltLeft\",6,o,0,\"VK_LMENU\",o,o],[57,1,160,\"MetaLeft\",57,o,0,\"VK_LWIN\",o,o],[5,1,161,\"ControlRight\",5,o,0,\"VK_RCONTROL\",o,o],[4,1,162,\"ShiftRight\",4,o,0,\"VK_RSHIFT\",o,o],[6,1,163,\"AltRight\",6,o,0,\"VK_RMENU\",o,o],[57,1,164,\"MetaRight\",57,o,0,\"VK_RWIN\",o,o],[0,1,165,\"BrightnessUp\",0,o,0,o,o,o],[0,1,166,\"BrightnessDown\",0,o,0,o,o,o],[0,1,167,\"MediaPlay\",0,o,0,o,o,o],[0,1,168,\"MediaRecord\",0,o,0,o,o,o],[0,1,169,\"MediaFastForward\",0,o,0,o,o,o],[0,1,170,\"MediaRewind\",0,o,0,o,o,o],[114,1,171,\"MediaTrackNext\",119,\"MediaTrackNext\",176,\"VK_MEDIA_NEXT_TRACK\",o,o],[115,1,172,\"MediaTrackPrevious\",120,\"MediaTrackPrevious\",177,\"VK_MEDIA_PREV_TRACK\",o,o],[116,1,173,\"MediaStop\",121,\"MediaStop\",178,\"VK_MEDIA_STOP\",o,o],[0,1,174,\"Eject\",0,o,0,o,o,o],[117,1,175,\"MediaPlayPause\",122,\"MediaPlayPause\",179,\"VK_MEDIA_PLAY_PAUSE\",o,o],[0,1,176,\"MediaSelect\",123,\"LaunchMediaPlayer\",181,\"VK_MEDIA_LAUNCH_MEDIA_SELECT\",o,o],[0,1,177,\"LaunchMail\",124,\"LaunchMail\",180,\"VK_MEDIA_LAUNCH_MAIL\",o,o],[0,1,178,\"LaunchApp2\",125,\"LaunchApp2\",183,\"VK_MEDIA_LAUNCH_APP2\",o,o],[0,1,179,\"LaunchApp1\",0,o,0,\"VK_MEDIA_LAUNCH_APP1\",o,o],[0,1,180,\"SelectTask\",0,o,0,o,o,o],[0,1,181,\"LaunchScreenSaver\",0,o,0,o,o,o],[0,1,182,\"BrowserSearch\",115,\"BrowserSearch\",170,\"VK_BROWSER_SEARCH\",o,o],[0,1,183,\"BrowserHome\",116,\"BrowserHome\",172,\"VK_BROWSER_HOME\",o,o],[112,1,184,\"BrowserBack\",117,\"BrowserBack\",166,\"VK_BROWSER_BACK\",o,o],[113,1,185,\"BrowserForward\",118,\"BrowserForward\",167,\"VK_BROWSER_FORWARD\",o,o],[0,1,186,\"BrowserStop\",0,o,0,\"VK_BROWSER_STOP\",o,o],[0,1,187,\"BrowserRefresh\",0,o,0,\"VK_BROWSER_REFRESH\",o,o],[0,1,188,\"BrowserFavorites\",0,o,0,\"VK_BROWSER_FAVORITES\",o,o],[0,1,189,\"ZoomToggle\",0,o,0,o,o,o],[0,1,190,\"MailReply\",0,o,0,o,o,o],[0,1,191,\"MailForward\",0,o,0,o,o,o],[0,1,192,\"MailSend\",0,o,0,o,o,o],[109,1,0,o,109,\"KeyInComposition\",229,o,o,o],[111,1,0,o,111,\"ABNT_C2\",194,\"VK_ABNT_C2\",o,o],[91,1,0,o,91,\"OEM_8\",223,\"VK_OEM_8\",o,o],[0,1,0,o,0,o,0,\"VK_KANA\",o,o],[0,1,0,o,0,o,0,\"VK_HANGUL\",o,o],[0,1,0,o,0,o,0,\"VK_JUNJA\",o,o],[0,1,0,o,0,o,0,\"VK_FINAL\",o,o],[0,1,0,o,0,o,0,\"VK_HANJA\",o,o],[0,1,0,o,0,o,0,\"VK_KANJI\",o,o],[0,1,0,o,0,o,0,\"VK_CONVERT\",o,o],[0,1,0,o,0,o,0,\"VK_NONCONVERT\",o,o],[0,1,0,o,0,o,0,\"VK_ACCEPT\",o,o],[0,1,0,o,0,o,0,\"VK_MODECHANGE\",o,o],[0,1,0,o,0,o,0,\"VK_SELECT\",o,o],[0,1,0,o,0,o,0,\"VK_PRINT\",o,o],[0,1,0,o,0,o,0,\"VK_EXECUTE\",o,o],[0,1,0,o,0,o,0,\"VK_SNAPSHOT\",o,o],[0,1,0,o,0,o,0,\"VK_HELP\",o,o],[0,1,0,o,0,o,0,\"VK_APPS\",o,o],[0,1,0,o,0,o,0,\"VK_PROCESSKEY\",o,o],[0,1,0,o,0,o,0,\"VK_PACKET\",o,o],[0,1,0,o,0,o,0,\"VK_DBE_SBCSCHAR\",o,o],[0,1,0,o,0,o,0,\"VK_DBE_DBCSCHAR\",o,o],[0,1,0,o,0,o,0,\"VK_ATTN\",o,o],[0,1,0,o,0,o,0,\"VK_CRSEL\",o,o],[0,1,0,o,0,o,0,\"VK_EXSEL\",o,o],[0,1,0,o,0,o,0,\"VK_EREOF\",o,o],[0,1,0,o,0,o,0,\"VK_PLAY\",o,o],[0,1,0,o,0,o,0,\"VK_ZOOM\",o,o],[0,1,0,o,0,o,0,\"VK_NONAME\",o,o],[0,1,0,o,0,o,0,\"VK_PA1\",o,o],[0,1,0,o,0,o,0,\"VK_OEM_CLEAR\",o,o]];let t=[],n=[];for(const i of e){const[s,a,l,u,d,h,p,g,y,D]=i;if(n[l]||(n[l]=!0,FTe[u]=l,PTe[u.toLowerCase()]=l,a&&(Aq[l]=d)),!t[d]){if(t[d]=!0,!h)throw new Error(`String representation missing for key code ${d} around scan code ${u}`);X5.define(d,h),o$.define(d,y||h),a$.define(d,D||y||h)}p&&(zle[p]=d)}})();var X2;(function(o){function e(l){return X5.keyCodeToStr(l)}o.toString=e;function t(l){return X5.strToKeyCode(l)}o.fromString=t;function n(l){return o$.keyCodeToStr(l)}o.toUserSettingsUS=n;function i(l){return a$.keyCodeToStr(l)}o.toUserSettingsGeneral=i;function s(l){return o$.strToKeyCode(l)||a$.strToKeyCode(l)}o.fromUserSettings=s;function a(l){if(l>=93&&l<=108)return null;switch(l){case 16:return\"Up\";case 18:return\"Down\";case 15:return\"Left\";case 17:return\"Right\"}return X5.keyCodeToStr(l)}o.toElectronAccelerator=a})(X2||(X2={}));function vh(o,e){const t=(e&65535)<<16>>>0;return(o|t)>>>0}let Fx;if(typeof cd.vscode!=\"undefined\"&&typeof cd.vscode.process!=\"undefined\"){const o=cd.vscode.process;Fx={get platform(){return o.platform},get arch(){return o.arch},get env(){return o.env},cwd(){return o.cwd()}}}else typeof process!=\"undefined\"?Fx={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:Fx={get platform(){return Ph?\"win32\":El?\"darwin\":\"linux\"},get arch(){},get env(){return{}},cwd(){return\"/\"}};const l$=Fx.cwd,OTe=Fx.env,aw=Fx.platform,MTe=65,RTe=97,BTe=90,jTe=122,Mv=46,Ip=47,O_=92,cv=58,WTe=63;class Ule extends Error{constructor(e,t,n){let i;typeof t==\"string\"&&t.indexOf(\"not \")===0?(i=\"must not be\",t=t.replace(/^not /,\"\")):i=\"must be\";const s=e.indexOf(\".\")!==-1?\"property\":\"argument\";let a=`The \"${e}\" ${s} ${i} of type ${t}`;a+=`. Received type ${typeof n}`,super(a),this.code=\"ERR_INVALID_ARG_TYPE\"}}function gh(o,e){if(typeof o!=\"string\")throw new Ule(e,\"string\",o)}function bu(o){return o===Ip||o===O_}function u$(o){return o===Ip}function dv(o){return o>=MTe&&o<=BTe||o>=RTe&&o<=jTe}function R8(o,e,t,n){let i=\"\",s=0,a=-1,l=0,u=0;for(let d=0;d<=o.length;++d){if(d<o.length)u=o.charCodeAt(d);else{if(n(u))break;u=Ip}if(n(u)){if(!(a===d-1||l===1))if(l===2){if(i.length<2||s!==2||i.charCodeAt(i.length-1)!==Mv||i.charCodeAt(i.length-2)!==Mv){if(i.length>2){const h=i.lastIndexOf(t);h===-1?(i=\"\",s=0):(i=i.slice(0,h),s=i.length-1-i.lastIndexOf(t)),a=d,l=0;continue}else if(i.length!==0){i=\"\",s=0,a=d,l=0;continue}}e&&(i+=i.length>0?`${t}..`:\"..\",s=2)}else i.length>0?i+=`${t}${o.slice(a+1,d)}`:i=o.slice(a+1,d),s=d-a-1;a=d,l=0}else u===Mv&&l!==-1?++l:l=-1}return i}function Kle(o,e){if(e===null||typeof e!=\"object\")throw new Ule(\"pathObject\",\"Object\",e);const t=e.dir||e.root,n=e.base||`${e.name||\"\"}${e.ext||\"\"}`;return t?t===e.root?`${t}${n}`:`${t}${o}${n}`:n}const c_={resolve(...o){let e=\"\",t=\"\",n=!1;for(let i=o.length-1;i>=-1;i--){let s;if(i>=0){if(s=o[i],gh(s,\"path\"),s.length===0)continue}else e.length===0?s=l$():(s=OTe[`=${e}`]||l$(),(s===void 0||s.slice(0,2).toLowerCase()!==e.toLowerCase()&&s.charCodeAt(2)===O_)&&(s=`${e}\\\\`));const a=s.length;let l=0,u=\"\",d=!1;const h=s.charCodeAt(0);if(a===1)bu(h)&&(l=1,d=!0);else if(bu(h))if(d=!0,bu(s.charCodeAt(1))){let p=2,g=p;for(;p<a&&!bu(s.charCodeAt(p));)p++;if(p<a&&p!==g){const y=s.slice(g,p);for(g=p;p<a&&bu(s.charCodeAt(p));)p++;if(p<a&&p!==g){for(g=p;p<a&&!bu(s.charCodeAt(p));)p++;(p===a||p!==g)&&(u=`\\\\\\\\${y}\\\\${s.slice(g,p)}`,l=p)}}}else l=1;else dv(h)&&s.charCodeAt(1)===cv&&(u=s.slice(0,2),l=2,a>2&&bu(s.charCodeAt(2))&&(d=!0,l=3));if(u.length>0)if(e.length>0){if(u.toLowerCase()!==e.toLowerCase())continue}else e=u;if(n){if(e.length>0)break}else if(t=`${s.slice(l)}\\\\${t}`,n=d,d&&e.length>0)break}return t=R8(t,!n,\"\\\\\",bu),n?`${e}\\\\${t}`:`${e}${t}`||\".\"},normalize(o){gh(o,\"path\");const e=o.length;if(e===0)return\".\";let t=0,n,i=!1;const s=o.charCodeAt(0);if(e===1)return u$(s)?\"\\\\\":o;if(bu(s))if(i=!0,bu(o.charCodeAt(1))){let l=2,u=l;for(;l<e&&!bu(o.charCodeAt(l));)l++;if(l<e&&l!==u){const d=o.slice(u,l);for(u=l;l<e&&bu(o.charCodeAt(l));)l++;if(l<e&&l!==u){for(u=l;l<e&&!bu(o.charCodeAt(l));)l++;if(l===e)return`\\\\\\\\${d}\\\\${o.slice(u)}\\\\`;l!==u&&(n=`\\\\\\\\${d}\\\\${o.slice(u,l)}`,t=l)}}}else t=1;else dv(s)&&o.charCodeAt(1)===cv&&(n=o.slice(0,2),t=2,e>2&&bu(o.charCodeAt(2))&&(i=!0,t=3));let a=t<e?R8(o.slice(t),!i,\"\\\\\",bu):\"\";return a.length===0&&!i&&(a=\".\"),a.length>0&&bu(o.charCodeAt(e-1))&&(a+=\"\\\\\"),n===void 0?i?`\\\\${a}`:a:i?`${n}\\\\${a}`:`${n}${a}`},isAbsolute(o){gh(o,\"path\");const e=o.length;if(e===0)return!1;const t=o.charCodeAt(0);return bu(t)||e>2&&dv(t)&&o.charCodeAt(1)===cv&&bu(o.charCodeAt(2))},join(...o){if(o.length===0)return\".\";let e,t;for(let s=0;s<o.length;++s){const a=o[s];gh(a,\"path\"),a.length>0&&(e===void 0?e=t=a:e+=`\\\\${a}`)}if(e===void 0)return\".\";let n=!0,i=0;if(typeof t==\"string\"&&bu(t.charCodeAt(0))){++i;const s=t.length;s>1&&bu(t.charCodeAt(1))&&(++i,s>2&&(bu(t.charCodeAt(2))?++i:n=!1))}if(n){for(;i<e.length&&bu(e.charCodeAt(i));)i++;i>=2&&(e=`\\\\${e.slice(i)}`)}return c_.normalize(e)},relative(o,e){if(gh(o,\"from\"),gh(e,\"to\"),o===e)return\"\";const t=c_.resolve(o),n=c_.resolve(e);if(t===n||(o=t.toLowerCase(),e=n.toLowerCase(),o===e))return\"\";let i=0;for(;i<o.length&&o.charCodeAt(i)===O_;)i++;let s=o.length;for(;s-1>i&&o.charCodeAt(s-1)===O_;)s--;const a=s-i;let l=0;for(;l<e.length&&e.charCodeAt(l)===O_;)l++;let u=e.length;for(;u-1>l&&e.charCodeAt(u-1)===O_;)u--;const d=u-l,h=a<d?a:d;let p=-1,g=0;for(;g<h;g++){const D=o.charCodeAt(i+g);if(D!==e.charCodeAt(l+g))break;D===O_&&(p=g)}if(g!==h){if(p===-1)return n}else{if(d>h){if(e.charCodeAt(l+g)===O_)return n.slice(l+g+1);if(g===2)return n.slice(l+g)}a>h&&(o.charCodeAt(i+g)===O_?p=g:g===2&&(p=3)),p===-1&&(p=0)}let y=\"\";for(g=i+p+1;g<=s;++g)(g===s||o.charCodeAt(g)===O_)&&(y+=y.length===0?\"..\":\"\\\\..\");return l+=p,y.length>0?`${y}${n.slice(l,u)}`:(n.charCodeAt(l)===O_&&++l,n.slice(l,u))},toNamespacedPath(o){if(typeof o!=\"string\")return o;if(o.length===0)return\"\";const e=c_.resolve(o);if(e.length<=2)return o;if(e.charCodeAt(0)===O_){if(e.charCodeAt(1)===O_){const t=e.charCodeAt(2);if(t!==WTe&&t!==Mv)return`\\\\\\\\?\\\\UNC\\\\${e.slice(2)}`}}else if(dv(e.charCodeAt(0))&&e.charCodeAt(1)===cv&&e.charCodeAt(2)===O_)return`\\\\\\\\?\\\\${e}`;return o},dirname(o){gh(o,\"path\");const e=o.length;if(e===0)return\".\";let t=-1,n=0;const i=o.charCodeAt(0);if(e===1)return bu(i)?o:\".\";if(bu(i)){if(t=n=1,bu(o.charCodeAt(1))){let l=2,u=l;for(;l<e&&!bu(o.charCodeAt(l));)l++;if(l<e&&l!==u){for(u=l;l<e&&bu(o.charCodeAt(l));)l++;if(l<e&&l!==u){for(u=l;l<e&&!bu(o.charCodeAt(l));)l++;if(l===e)return o;l!==u&&(t=n=l+1)}}}}else dv(i)&&o.charCodeAt(1)===cv&&(t=e>2&&bu(o.charCodeAt(2))?3:2,n=t);let s=-1,a=!0;for(let l=e-1;l>=n;--l)if(bu(o.charCodeAt(l))){if(!a){s=l;break}}else a=!1;if(s===-1){if(t===-1)return\".\";s=t}return o.slice(0,s)},basename(o,e){e!==void 0&&gh(e,\"ext\"),gh(o,\"path\");let t=0,n=-1,i=!0,s;if(o.length>=2&&dv(o.charCodeAt(0))&&o.charCodeAt(1)===cv&&(t=2),e!==void 0&&e.length>0&&e.length<=o.length){if(e===o)return\"\";let a=e.length-1,l=-1;for(s=o.length-1;s>=t;--s){const u=o.charCodeAt(s);if(bu(u)){if(!i){t=s+1;break}}else l===-1&&(i=!1,l=s+1),a>=0&&(u===e.charCodeAt(a)?--a===-1&&(n=s):(a=-1,n=l))}return t===n?n=l:n===-1&&(n=o.length),o.slice(t,n)}for(s=o.length-1;s>=t;--s)if(bu(o.charCodeAt(s))){if(!i){t=s+1;break}}else n===-1&&(i=!1,n=s+1);return n===-1?\"\":o.slice(t,n)},extname(o){gh(o,\"path\");let e=0,t=-1,n=0,i=-1,s=!0,a=0;o.length>=2&&o.charCodeAt(1)===cv&&dv(o.charCodeAt(0))&&(e=n=2);for(let l=o.length-1;l>=e;--l){const u=o.charCodeAt(l);if(bu(u)){if(!s){n=l+1;break}continue}i===-1&&(s=!1,i=l+1),u===Mv?t===-1?t=l:a!==1&&(a=1):t!==-1&&(a=-1)}return t===-1||i===-1||a===0||a===1&&t===i-1&&t===n+1?\"\":o.slice(t,i)},format:Kle.bind(null,\"\\\\\"),parse(o){gh(o,\"path\");const e={root:\"\",dir:\"\",base:\"\",ext:\"\",name:\"\"};if(o.length===0)return e;const t=o.length;let n=0,i=o.charCodeAt(0);if(t===1)return bu(i)?(e.root=e.dir=o,e):(e.base=e.name=o,e);if(bu(i)){if(n=1,bu(o.charCodeAt(1))){let p=2,g=p;for(;p<t&&!bu(o.charCodeAt(p));)p++;if(p<t&&p!==g){for(g=p;p<t&&bu(o.charCodeAt(p));)p++;if(p<t&&p!==g){for(g=p;p<t&&!bu(o.charCodeAt(p));)p++;p===t?n=p:p!==g&&(n=p+1)}}}}else if(dv(i)&&o.charCodeAt(1)===cv){if(t<=2)return e.root=e.dir=o,e;if(n=2,bu(o.charCodeAt(2))){if(t===3)return e.root=e.dir=o,e;n=3}}n>0&&(e.root=o.slice(0,n));let s=-1,a=n,l=-1,u=!0,d=o.length-1,h=0;for(;d>=n;--d){if(i=o.charCodeAt(d),bu(i)){if(!u){a=d+1;break}continue}l===-1&&(u=!1,l=d+1),i===Mv?s===-1?s=d:h!==1&&(h=1):s!==-1&&(h=-1)}return l!==-1&&(s===-1||h===0||h===1&&s===l-1&&s===a+1?e.base=e.name=o.slice(a,l):(e.name=o.slice(a,s),e.base=o.slice(a,l),e.ext=o.slice(s,l))),a>0&&a!==n?e.dir=o.slice(0,a-1):e.dir=e.root,e},sep:\"\\\\\",delimiter:\";\",win32:null,posix:null},Cd={resolve(...o){let e=\"\",t=!1;for(let n=o.length-1;n>=-1&&!t;n--){const i=n>=0?o[n]:l$();gh(i,\"path\"),i.length!==0&&(e=`${i}/${e}`,t=i.charCodeAt(0)===Ip)}return e=R8(e,!t,\"/\",u$),t?`/${e}`:e.length>0?e:\".\"},normalize(o){if(gh(o,\"path\"),o.length===0)return\".\";const e=o.charCodeAt(0)===Ip,t=o.charCodeAt(o.length-1)===Ip;return o=R8(o,!e,\"/\",u$),o.length===0?e?\"/\":t?\"./\":\".\":(t&&(o+=\"/\"),e?`/${o}`:o)},isAbsolute(o){return gh(o,\"path\"),o.length>0&&o.charCodeAt(0)===Ip},join(...o){if(o.length===0)return\".\";let e;for(let t=0;t<o.length;++t){const n=o[t];gh(n,\"path\"),n.length>0&&(e===void 0?e=n:e+=`/${n}`)}return e===void 0?\".\":Cd.normalize(e)},relative(o,e){if(gh(o,\"from\"),gh(e,\"to\"),o===e||(o=Cd.resolve(o),e=Cd.resolve(e),o===e))return\"\";const t=1,n=o.length,i=n-t,s=1,a=e.length-s,l=i<a?i:a;let u=-1,d=0;for(;d<l;d++){const p=o.charCodeAt(t+d);if(p!==e.charCodeAt(s+d))break;p===Ip&&(u=d)}if(d===l)if(a>l){if(e.charCodeAt(s+d)===Ip)return e.slice(s+d+1);if(d===0)return e.slice(s+d)}else i>l&&(o.charCodeAt(t+d)===Ip?u=d:d===0&&(u=0));let h=\"\";for(d=t+u+1;d<=n;++d)(d===n||o.charCodeAt(d)===Ip)&&(h+=h.length===0?\"..\":\"/..\");return`${h}${e.slice(s+u)}`},toNamespacedPath(o){return o},dirname(o){if(gh(o,\"path\"),o.length===0)return\".\";const e=o.charCodeAt(0)===Ip;let t=-1,n=!0;for(let i=o.length-1;i>=1;--i)if(o.charCodeAt(i)===Ip){if(!n){t=i;break}}else n=!1;return t===-1?e?\"/\":\".\":e&&t===1?\"//\":o.slice(0,t)},basename(o,e){e!==void 0&&gh(e,\"ext\"),gh(o,\"path\");let t=0,n=-1,i=!0,s;if(e!==void 0&&e.length>0&&e.length<=o.length){if(e===o)return\"\";let a=e.length-1,l=-1;for(s=o.length-1;s>=0;--s){const u=o.charCodeAt(s);if(u===Ip){if(!i){t=s+1;break}}else l===-1&&(i=!1,l=s+1),a>=0&&(u===e.charCodeAt(a)?--a===-1&&(n=s):(a=-1,n=l))}return t===n?n=l:n===-1&&(n=o.length),o.slice(t,n)}for(s=o.length-1;s>=0;--s)if(o.charCodeAt(s)===Ip){if(!i){t=s+1;break}}else n===-1&&(i=!1,n=s+1);return n===-1?\"\":o.slice(t,n)},extname(o){gh(o,\"path\");let e=-1,t=0,n=-1,i=!0,s=0;for(let a=o.length-1;a>=0;--a){const l=o.charCodeAt(a);if(l===Ip){if(!i){t=a+1;break}continue}n===-1&&(i=!1,n=a+1),l===Mv?e===-1?e=a:s!==1&&(s=1):e!==-1&&(s=-1)}return e===-1||n===-1||s===0||s===1&&e===n-1&&e===t+1?\"\":o.slice(e,n)},format:Kle.bind(null,\"/\"),parse(o){gh(o,\"path\");const e={root:\"\",dir:\"\",base:\"\",ext:\"\",name:\"\"};if(o.length===0)return e;const t=o.charCodeAt(0)===Ip;let n;t?(e.root=\"/\",n=1):n=0;let i=-1,s=0,a=-1,l=!0,u=o.length-1,d=0;for(;u>=n;--u){const h=o.charCodeAt(u);if(h===Ip){if(!l){s=u+1;break}continue}a===-1&&(l=!1,a=u+1),h===Mv?i===-1?i=u:d!==1&&(d=1):i!==-1&&(d=-1)}if(a!==-1){const h=s===0&&t?1:s;i===-1||d===0||d===1&&i===a-1&&i===s+1?e.base=e.name=o.slice(h,a):(e.name=o.slice(h,i),e.base=o.slice(h,a),e.ext=o.slice(i,a))}return s>0?e.dir=o.slice(0,s-1):t&&(e.dir=\"/\"),e},sep:\"/\",delimiter:\":\",win32:null,posix:null};Cd.win32=c_.win32=c_;Cd.posix=c_.posix=Cd;const kq=aw===\"win32\"?c_.normalize:Cd.normalize,VTe=aw===\"win32\"?c_.resolve:Cd.resolve,HTe=aw===\"win32\"?c_.relative:Cd.relative,qle=aw===\"win32\"?c_.dirname:Cd.dirname,rD=aw===\"win32\"?c_.basename:Cd.basename,$Te=aw===\"win32\"?c_.extname:Cd.extname,j1=aw===\"win32\"?c_.sep:Cd.sep,zTe=/^\\w[\\w\\d+.-]*$/,UTe=/^\\//,KTe=/^\\/\\//;function Wie(o,e){if(!o.scheme&&e)throw new Error(`[UriError]: Scheme is missing: {scheme: \"\", authority: \"${o.authority}\", path: \"${o.path}\", query: \"${o.query}\", fragment: \"${o.fragment}\"}`);if(o.scheme&&!zTe.test(o.scheme))throw new Error(\"[UriError]: Scheme contains illegal characters.\");if(o.path){if(o.authority){if(!UTe.test(o.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(KTe.test(o.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters (\"//\")')}}function qTe(o,e){return!o&&!e?\"file\":o}function GTe(o,e){switch(o){case\"https\":case\"http\":case\"file\":e?e[0]!==a0&&(e=a0+e):e=a0;break}return e}const ad=\"\",a0=\"/\",JTe=/^(([^:/?#]+?):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/;class wa{constructor(e,t,n,i,s,a=!1){typeof e==\"object\"?(this.scheme=e.scheme||ad,this.authority=e.authority||ad,this.path=e.path||ad,this.query=e.query||ad,this.fragment=e.fragment||ad):(this.scheme=qTe(e,a),this.authority=t||ad,this.path=GTe(this.scheme,n||ad),this.query=i||ad,this.fragment=s||ad,Wie(this,a))}static isUri(e){return e instanceof wa?!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}get fsPath(){return B8(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:i,query:s,fragment:a}=e;return t===void 0?t=this.scheme:t===null&&(t=ad),n===void 0?n=this.authority:n===null&&(n=ad),i===void 0?i=this.path:i===null&&(i=ad),s===void 0?s=this.query:s===null&&(s=ad),a===void 0?a=this.fragment:a===null&&(a=ad),t===this.scheme&&n===this.authority&&i===this.path&&s===this.query&&a===this.fragment?this:new HS(t,n,i,s,a)}static parse(e,t=!1){const n=JTe.exec(e);return n?new HS(n[2]||ad,WF(n[4]||ad),WF(n[5]||ad),WF(n[7]||ad),WF(n[9]||ad),t):new HS(ad,ad,ad,ad,ad)}static file(e){let t=ad;if(Ph&&(e=e.replace(/\\\\/g,a0)),e[0]===a0&&e[1]===a0){const n=e.indexOf(a0,2);n===-1?(t=e.substring(2),e=a0):(t=e.substring(2,n),e=e.substring(n)||a0)}return new HS(\"file\",t,e,ad,ad)}static from(e){const t=new HS(e.scheme,e.authority,e.path,e.query,e.fragment);return Wie(t,!0),t}static joinPath(e,...t){if(!e.path)throw new Error(\"[UriError]: cannot call joinPath on URI without path\");let n;return Ph&&e.scheme===\"file\"?n=wa.file(c_.join(B8(e,!0),...t)).path:n=Cd.join(e.path,...t),e.with({path:n})}toString(e=!1){return c$(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof wa)return e;{const t=new HS(e);return t._formatted=e.external,t._fsPath=e._sep===Gle?e.fsPath:null,t}}else return e}}const Gle=Ph?1:void 0;class HS extends wa{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=B8(this,!1)),this._fsPath}toString(e=!1){return e?c$(this,!0):(this._formatted||(this._formatted=c$(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=Gle),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 Jle={[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 Vie(o,e){let t,n=-1;for(let i=0;i<o.length;i++){const s=o.charCodeAt(i);if(s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||s===45||s===46||s===95||s===126||e&&s===47)n!==-1&&(t+=encodeURIComponent(o.substring(n,i)),n=-1),t!==void 0&&(t+=o.charAt(i));else{t===void 0&&(t=o.substr(0,i));const a=Jle[s];a!==void 0?(n!==-1&&(t+=encodeURIComponent(o.substring(n,i)),n=-1),t+=a):n===-1&&(n=i)}}return n!==-1&&(t+=encodeURIComponent(o.substring(n))),t!==void 0?t:o}function YTe(o){let e;for(let t=0;t<o.length;t++){const n=o.charCodeAt(t);n===35||n===63?(e===void 0&&(e=o.substr(0,t)),e+=Jle[n]):e!==void 0&&(e+=o[t])}return e!==void 0?e:o}function B8(o,e){let t;return o.authority&&o.path.length>1&&o.scheme===\"file\"?t=`//${o.authority}${o.path}`:o.path.charCodeAt(0)===47&&(o.path.charCodeAt(1)>=65&&o.path.charCodeAt(1)<=90||o.path.charCodeAt(1)>=97&&o.path.charCodeAt(1)<=122)&&o.path.charCodeAt(2)===58?e?t=o.path.substr(1):t=o.path[1].toLowerCase()+o.path.substr(2):t=o.path,Ph&&(t=t.replace(/\\//g,\"\\\\\")),t}function c$(o,e){const t=e?YTe:Vie;let n=\"\",{scheme:i,authority:s,path:a,query:l,fragment:u}=o;if(i&&(n+=i,n+=\":\"),(s||i===\"file\")&&(n+=a0,n+=a0),s){let d=s.indexOf(\"@\");if(d!==-1){const h=s.substr(0,d);s=s.substr(d+1),d=h.indexOf(\":\"),d===-1?n+=t(h,!1):(n+=t(h.substr(0,d),!1),n+=\":\",n+=t(h.substr(d+1),!1)),n+=\"@\"}s=s.toLowerCase(),d=s.indexOf(\":\"),d===-1?n+=t(s,!1):(n+=t(s.substr(0,d),!1),n+=s.substr(d))}if(a){if(a.length>=3&&a.charCodeAt(0)===47&&a.charCodeAt(2)===58){const d=a.charCodeAt(1);d>=65&&d<=90&&(a=`/${String.fromCharCode(d+32)}:${a.substr(3)}`)}else if(a.length>=2&&a.charCodeAt(1)===58){const d=a.charCodeAt(0);d>=65&&d<=90&&(a=`${String.fromCharCode(d+32)}:${a.substr(2)}`)}n+=t(a,!0)}return l&&(n+=\"?\",n+=t(l,!1)),u&&(n+=\"#\",n+=e?u:Vie(u,!1)),n}function Yle(o){try{return decodeURIComponent(o)}catch{return o.length>3?o.substr(0,3)+Yle(o.substr(3)):o}}const Hie=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function WF(o){return o.match(Hie)?o.replace(Hie,e=>Yle(e)):o}class Ii{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 Ii(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return Ii.equals(this,e)}static equals(e,t){return!e&&!t?!0:!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return Ii.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 Ii.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 n=e.lineNumber|0,i=t.lineNumber|0;if(n===i){const s=e.column|0,a=t.column|0;return s-a}return n-i}clone(){return new Ii(this.lineNumber,this.column)}toString(){return\"(\"+this.lineNumber+\",\"+this.column+\")\"}static lift(e){return new Ii(e.lineNumber,e.column)}static isIPosition(e){return e&&typeof e.lineNumber==\"number\"&&typeof e.column==\"number\"}}class He{constructor(e,t,n,i){e>n||e===n&&t>i?(this.startLineNumber=n,this.startColumn=i,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=i)}isEmpty(){return He.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return He.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 He.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 He.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 He.plusRange(this,e)}static plusRange(e,t){let n,i,s,a;return t.startLineNumber<e.startLineNumber?(n=t.startLineNumber,i=t.startColumn):t.startLineNumber===e.startLineNumber?(n=t.startLineNumber,i=Math.min(t.startColumn,e.startColumn)):(n=e.startLineNumber,i=e.startColumn),t.endLineNumber>e.endLineNumber?(s=t.endLineNumber,a=t.endColumn):t.endLineNumber===e.endLineNumber?(s=t.endLineNumber,a=Math.max(t.endColumn,e.endColumn)):(s=e.endLineNumber,a=e.endColumn),new He(n,i,s,a)}intersectRanges(e){return He.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,i=e.startColumn,s=e.endLineNumber,a=e.endColumn,l=t.startLineNumber,u=t.startColumn,d=t.endLineNumber,h=t.endColumn;return n<l?(n=l,i=u):n===l&&(i=Math.max(i,u)),s>d?(s=d,a=h):s===d&&(a=Math.min(a,h)),n>s||n===s&&i>a?null:new He(n,i,s,a)}equalsRange(e){return He.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return He.getEndPosition(this)}static getEndPosition(e){return new Ii(e.endLineNumber,e.endColumn)}getStartPosition(){return He.getStartPosition(this)}static getStartPosition(e){return new Ii(e.startLineNumber,e.startColumn)}toString(){return\"[\"+this.startLineNumber+\",\"+this.startColumn+\" -> \"+this.endLineNumber+\",\"+this.endColumn+\"]\"}setEndPosition(e,t){return new He(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new He(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return He.collapseToStart(this)}static collapseToStart(e){return new He(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new He(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new He(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 s=e.startLineNumber|0,a=t.startLineNumber|0;if(s===a){const l=e.startColumn|0,u=t.startColumn|0;if(l===u){const d=e.endLineNumber|0,h=t.endLineNumber|0;if(d===h){const p=e.endColumn|0,g=t.endColumn|0;return p-g}return d-h}return l-u}return s-a}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}}class oo extends He{constructor(e,t,n,i){super(e,t,n,i),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=i}toString(){return\"[\"+this.selectionStartLineNumber+\",\"+this.selectionStartColumn+\" -> \"+this.positionLineNumber+\",\"+this.positionColumn+\"]\"}equalsSelection(e){return oo.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 oo(this.startLineNumber,this.startColumn,e,t):new oo(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new Ii(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new Ii(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return this.getDirection()===0?new oo(e,t,this.endLineNumber,this.endColumn):new oo(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new oo(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return t===0?new oo(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new oo(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new oo(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 n=0,i=e.length;n<i;n++)if(!this.selectionsEqual(e[n],t[n]))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,n,i,s){return s===0?new oo(e,t,n,i):new oo(n,i,e,t)}}var d$=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};class XTe{constructor(){this._map=new Map,this._factories=new Map,this._onDidChange=new ri,this.onDidChange=this._onDidChange.event,this._colorMap=null}fire(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,t){return this._map.set(e,t),this.fire([e]),wl(()=>{this._map.get(e)===t&&(this._map.delete(e),this.fire([e]))})}registerFactory(e,t){var n;(n=this._factories.get(e))===null||n===void 0||n.dispose();const i=new QTe(this,e,t);return this._factories.set(e,i),wl(()=>{const s=this._factories.get(e);!s||s!==i||(this._factories.delete(e),s.dispose())})}getOrCreate(e){return d$(this,void 0,void 0,function*(){const t=this.get(e);if(t)return t;const n=this._factories.get(e);return!n||n.isResolved?null:(yield n.resolve(),this.get(e))})}get(e){return this._map.get(e)||null}isResolved(e){if(this.get(e))return!0;const n=this._factories.get(e);return!!(!n||n.isResolved)}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class QTe extends fr{constructor(e,t,n){super(),this._registry=e,this._languageId=t,this._factory=n,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}get isResolved(){return this._isResolved}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return d$(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return d$(this,void 0,void 0,function*(){const e=yield Promise.resolve(this._factory.createTokenizationSupport());this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))})}}function ZTe(o){return o?o.replace(/\\$\\((.*?)\\)/g,(e,t)=>` ${t} `).trim():\"\"}class E{constructor(e,t,n){this.id=e,this.definition=t,this.description=n,E._allCodicons.push(this)}get classNames(){return\"codicon codicon-\"+this.id}get classNamesArray(){return[\"codicon\",\"codicon-\"+this.id]}get cssSelector(){return\".codicon.codicon-\"+this.id}static getAll(){return E._allCodicons}}E._allCodicons=[];E.add=new E(\"add\",{fontCharacter:\"\\\\ea60\"});E.plus=new E(\"plus\",E.add.definition);E.gistNew=new E(\"gist-new\",E.add.definition);E.repoCreate=new E(\"repo-create\",E.add.definition);E.lightbulb=new E(\"lightbulb\",{fontCharacter:\"\\\\ea61\"});E.lightBulb=new E(\"light-bulb\",{fontCharacter:\"\\\\ea61\"});E.repo=new E(\"repo\",{fontCharacter:\"\\\\ea62\"});E.repoDelete=new E(\"repo-delete\",{fontCharacter:\"\\\\ea62\"});E.gistFork=new E(\"gist-fork\",{fontCharacter:\"\\\\ea63\"});E.repoForked=new E(\"repo-forked\",{fontCharacter:\"\\\\ea63\"});E.gitPullRequest=new E(\"git-pull-request\",{fontCharacter:\"\\\\ea64\"});E.gitPullRequestAbandoned=new E(\"git-pull-request-abandoned\",{fontCharacter:\"\\\\ea64\"});E.recordKeys=new E(\"record-keys\",{fontCharacter:\"\\\\ea65\"});E.keyboard=new E(\"keyboard\",{fontCharacter:\"\\\\ea65\"});E.tag=new E(\"tag\",{fontCharacter:\"\\\\ea66\"});E.tagAdd=new E(\"tag-add\",{fontCharacter:\"\\\\ea66\"});E.tagRemove=new E(\"tag-remove\",{fontCharacter:\"\\\\ea66\"});E.person=new E(\"person\",{fontCharacter:\"\\\\ea67\"});E.personFollow=new E(\"person-follow\",{fontCharacter:\"\\\\ea67\"});E.personOutline=new E(\"person-outline\",{fontCharacter:\"\\\\ea67\"});E.personFilled=new E(\"person-filled\",{fontCharacter:\"\\\\ea67\"});E.gitBranch=new E(\"git-branch\",{fontCharacter:\"\\\\ea68\"});E.gitBranchCreate=new E(\"git-branch-create\",{fontCharacter:\"\\\\ea68\"});E.gitBranchDelete=new E(\"git-branch-delete\",{fontCharacter:\"\\\\ea68\"});E.sourceControl=new E(\"source-control\",{fontCharacter:\"\\\\ea68\"});E.mirror=new E(\"mirror\",{fontCharacter:\"\\\\ea69\"});E.mirrorPublic=new E(\"mirror-public\",{fontCharacter:\"\\\\ea69\"});E.star=new E(\"star\",{fontCharacter:\"\\\\ea6a\"});E.starAdd=new E(\"star-add\",{fontCharacter:\"\\\\ea6a\"});E.starDelete=new E(\"star-delete\",{fontCharacter:\"\\\\ea6a\"});E.starEmpty=new E(\"star-empty\",{fontCharacter:\"\\\\ea6a\"});E.comment=new E(\"comment\",{fontCharacter:\"\\\\ea6b\"});E.commentAdd=new E(\"comment-add\",{fontCharacter:\"\\\\ea6b\"});E.alert=new E(\"alert\",{fontCharacter:\"\\\\ea6c\"});E.warning=new E(\"warning\",{fontCharacter:\"\\\\ea6c\"});E.search=new E(\"search\",{fontCharacter:\"\\\\ea6d\"});E.searchSave=new E(\"search-save\",{fontCharacter:\"\\\\ea6d\"});E.logOut=new E(\"log-out\",{fontCharacter:\"\\\\ea6e\"});E.signOut=new E(\"sign-out\",{fontCharacter:\"\\\\ea6e\"});E.logIn=new E(\"log-in\",{fontCharacter:\"\\\\ea6f\"});E.signIn=new E(\"sign-in\",{fontCharacter:\"\\\\ea6f\"});E.eye=new E(\"eye\",{fontCharacter:\"\\\\ea70\"});E.eyeUnwatch=new E(\"eye-unwatch\",{fontCharacter:\"\\\\ea70\"});E.eyeWatch=new E(\"eye-watch\",{fontCharacter:\"\\\\ea70\"});E.circleFilled=new E(\"circle-filled\",{fontCharacter:\"\\\\ea71\"});E.primitiveDot=new E(\"primitive-dot\",{fontCharacter:\"\\\\ea71\"});E.closeDirty=new E(\"close-dirty\",{fontCharacter:\"\\\\ea71\"});E.debugBreakpoint=new E(\"debug-breakpoint\",{fontCharacter:\"\\\\ea71\"});E.debugBreakpointDisabled=new E(\"debug-breakpoint-disabled\",{fontCharacter:\"\\\\ea71\"});E.debugHint=new E(\"debug-hint\",{fontCharacter:\"\\\\ea71\"});E.primitiveSquare=new E(\"primitive-square\",{fontCharacter:\"\\\\ea72\"});E.edit=new E(\"edit\",{fontCharacter:\"\\\\ea73\"});E.pencil=new E(\"pencil\",{fontCharacter:\"\\\\ea73\"});E.info=new E(\"info\",{fontCharacter:\"\\\\ea74\"});E.issueOpened=new E(\"issue-opened\",{fontCharacter:\"\\\\ea74\"});E.gistPrivate=new E(\"gist-private\",{fontCharacter:\"\\\\ea75\"});E.gitForkPrivate=new E(\"git-fork-private\",{fontCharacter:\"\\\\ea75\"});E.lock=new E(\"lock\",{fontCharacter:\"\\\\ea75\"});E.mirrorPrivate=new E(\"mirror-private\",{fontCharacter:\"\\\\ea75\"});E.close=new E(\"close\",{fontCharacter:\"\\\\ea76\"});E.removeClose=new E(\"remove-close\",{fontCharacter:\"\\\\ea76\"});E.x=new E(\"x\",{fontCharacter:\"\\\\ea76\"});E.repoSync=new E(\"repo-sync\",{fontCharacter:\"\\\\ea77\"});E.sync=new E(\"sync\",{fontCharacter:\"\\\\ea77\"});E.clone=new E(\"clone\",{fontCharacter:\"\\\\ea78\"});E.desktopDownload=new E(\"desktop-download\",{fontCharacter:\"\\\\ea78\"});E.beaker=new E(\"beaker\",{fontCharacter:\"\\\\ea79\"});E.microscope=new E(\"microscope\",{fontCharacter:\"\\\\ea79\"});E.vm=new E(\"vm\",{fontCharacter:\"\\\\ea7a\"});E.deviceDesktop=new E(\"device-desktop\",{fontCharacter:\"\\\\ea7a\"});E.file=new E(\"file\",{fontCharacter:\"\\\\ea7b\"});E.fileText=new E(\"file-text\",{fontCharacter:\"\\\\ea7b\"});E.more=new E(\"more\",{fontCharacter:\"\\\\ea7c\"});E.ellipsis=new E(\"ellipsis\",{fontCharacter:\"\\\\ea7c\"});E.kebabHorizontal=new E(\"kebab-horizontal\",{fontCharacter:\"\\\\ea7c\"});E.mailReply=new E(\"mail-reply\",{fontCharacter:\"\\\\ea7d\"});E.reply=new E(\"reply\",{fontCharacter:\"\\\\ea7d\"});E.organization=new E(\"organization\",{fontCharacter:\"\\\\ea7e\"});E.organizationFilled=new E(\"organization-filled\",{fontCharacter:\"\\\\ea7e\"});E.organizationOutline=new E(\"organization-outline\",{fontCharacter:\"\\\\ea7e\"});E.newFile=new E(\"new-file\",{fontCharacter:\"\\\\ea7f\"});E.fileAdd=new E(\"file-add\",{fontCharacter:\"\\\\ea7f\"});E.newFolder=new E(\"new-folder\",{fontCharacter:\"\\\\ea80\"});E.fileDirectoryCreate=new E(\"file-directory-create\",{fontCharacter:\"\\\\ea80\"});E.trash=new E(\"trash\",{fontCharacter:\"\\\\ea81\"});E.trashcan=new E(\"trashcan\",{fontCharacter:\"\\\\ea81\"});E.history=new E(\"history\",{fontCharacter:\"\\\\ea82\"});E.clock=new E(\"clock\",{fontCharacter:\"\\\\ea82\"});E.folder=new E(\"folder\",{fontCharacter:\"\\\\ea83\"});E.fileDirectory=new E(\"file-directory\",{fontCharacter:\"\\\\ea83\"});E.symbolFolder=new E(\"symbol-folder\",{fontCharacter:\"\\\\ea83\"});E.logoGithub=new E(\"logo-github\",{fontCharacter:\"\\\\ea84\"});E.markGithub=new E(\"mark-github\",{fontCharacter:\"\\\\ea84\"});E.github=new E(\"github\",{fontCharacter:\"\\\\ea84\"});E.terminal=new E(\"terminal\",{fontCharacter:\"\\\\ea85\"});E.console=new E(\"console\",{fontCharacter:\"\\\\ea85\"});E.repl=new E(\"repl\",{fontCharacter:\"\\\\ea85\"});E.zap=new E(\"zap\",{fontCharacter:\"\\\\ea86\"});E.symbolEvent=new E(\"symbol-event\",{fontCharacter:\"\\\\ea86\"});E.error=new E(\"error\",{fontCharacter:\"\\\\ea87\"});E.stop=new E(\"stop\",{fontCharacter:\"\\\\ea87\"});E.variable=new E(\"variable\",{fontCharacter:\"\\\\ea88\"});E.symbolVariable=new E(\"symbol-variable\",{fontCharacter:\"\\\\ea88\"});E.array=new E(\"array\",{fontCharacter:\"\\\\ea8a\"});E.symbolArray=new E(\"symbol-array\",{fontCharacter:\"\\\\ea8a\"});E.symbolModule=new E(\"symbol-module\",{fontCharacter:\"\\\\ea8b\"});E.symbolPackage=new E(\"symbol-package\",{fontCharacter:\"\\\\ea8b\"});E.symbolNamespace=new E(\"symbol-namespace\",{fontCharacter:\"\\\\ea8b\"});E.symbolObject=new E(\"symbol-object\",{fontCharacter:\"\\\\ea8b\"});E.symbolMethod=new E(\"symbol-method\",{fontCharacter:\"\\\\ea8c\"});E.symbolFunction=new E(\"symbol-function\",{fontCharacter:\"\\\\ea8c\"});E.symbolConstructor=new E(\"symbol-constructor\",{fontCharacter:\"\\\\ea8c\"});E.symbolBoolean=new E(\"symbol-boolean\",{fontCharacter:\"\\\\ea8f\"});E.symbolNull=new E(\"symbol-null\",{fontCharacter:\"\\\\ea8f\"});E.symbolNumeric=new E(\"symbol-numeric\",{fontCharacter:\"\\\\ea90\"});E.symbolNumber=new E(\"symbol-number\",{fontCharacter:\"\\\\ea90\"});E.symbolStructure=new E(\"symbol-structure\",{fontCharacter:\"\\\\ea91\"});E.symbolStruct=new E(\"symbol-struct\",{fontCharacter:\"\\\\ea91\"});E.symbolParameter=new E(\"symbol-parameter\",{fontCharacter:\"\\\\ea92\"});E.symbolTypeParameter=new E(\"symbol-type-parameter\",{fontCharacter:\"\\\\ea92\"});E.symbolKey=new E(\"symbol-key\",{fontCharacter:\"\\\\ea93\"});E.symbolText=new E(\"symbol-text\",{fontCharacter:\"\\\\ea93\"});E.symbolReference=new E(\"symbol-reference\",{fontCharacter:\"\\\\ea94\"});E.goToFile=new E(\"go-to-file\",{fontCharacter:\"\\\\ea94\"});E.symbolEnum=new E(\"symbol-enum\",{fontCharacter:\"\\\\ea95\"});E.symbolValue=new E(\"symbol-value\",{fontCharacter:\"\\\\ea95\"});E.symbolRuler=new E(\"symbol-ruler\",{fontCharacter:\"\\\\ea96\"});E.symbolUnit=new E(\"symbol-unit\",{fontCharacter:\"\\\\ea96\"});E.activateBreakpoints=new E(\"activate-breakpoints\",{fontCharacter:\"\\\\ea97\"});E.archive=new E(\"archive\",{fontCharacter:\"\\\\ea98\"});E.arrowBoth=new E(\"arrow-both\",{fontCharacter:\"\\\\ea99\"});E.arrowDown=new E(\"arrow-down\",{fontCharacter:\"\\\\ea9a\"});E.arrowLeft=new E(\"arrow-left\",{fontCharacter:\"\\\\ea9b\"});E.arrowRight=new E(\"arrow-right\",{fontCharacter:\"\\\\ea9c\"});E.arrowSmallDown=new E(\"arrow-small-down\",{fontCharacter:\"\\\\ea9d\"});E.arrowSmallLeft=new E(\"arrow-small-left\",{fontCharacter:\"\\\\ea9e\"});E.arrowSmallRight=new E(\"arrow-small-right\",{fontCharacter:\"\\\\ea9f\"});E.arrowSmallUp=new E(\"arrow-small-up\",{fontCharacter:\"\\\\eaa0\"});E.arrowUp=new E(\"arrow-up\",{fontCharacter:\"\\\\eaa1\"});E.bell=new E(\"bell\",{fontCharacter:\"\\\\eaa2\"});E.bold=new E(\"bold\",{fontCharacter:\"\\\\eaa3\"});E.book=new E(\"book\",{fontCharacter:\"\\\\eaa4\"});E.bookmark=new E(\"bookmark\",{fontCharacter:\"\\\\eaa5\"});E.debugBreakpointConditionalUnverified=new E(\"debug-breakpoint-conditional-unverified\",{fontCharacter:\"\\\\eaa6\"});E.debugBreakpointConditional=new E(\"debug-breakpoint-conditional\",{fontCharacter:\"\\\\eaa7\"});E.debugBreakpointConditionalDisabled=new E(\"debug-breakpoint-conditional-disabled\",{fontCharacter:\"\\\\eaa7\"});E.debugBreakpointDataUnverified=new E(\"debug-breakpoint-data-unverified\",{fontCharacter:\"\\\\eaa8\"});E.debugBreakpointData=new E(\"debug-breakpoint-data\",{fontCharacter:\"\\\\eaa9\"});E.debugBreakpointDataDisabled=new E(\"debug-breakpoint-data-disabled\",{fontCharacter:\"\\\\eaa9\"});E.debugBreakpointLogUnverified=new E(\"debug-breakpoint-log-unverified\",{fontCharacter:\"\\\\eaaa\"});E.debugBreakpointLog=new E(\"debug-breakpoint-log\",{fontCharacter:\"\\\\eaab\"});E.debugBreakpointLogDisabled=new E(\"debug-breakpoint-log-disabled\",{fontCharacter:\"\\\\eaab\"});E.briefcase=new E(\"briefcase\",{fontCharacter:\"\\\\eaac\"});E.broadcast=new E(\"broadcast\",{fontCharacter:\"\\\\eaad\"});E.browser=new E(\"browser\",{fontCharacter:\"\\\\eaae\"});E.bug=new E(\"bug\",{fontCharacter:\"\\\\eaaf\"});E.calendar=new E(\"calendar\",{fontCharacter:\"\\\\eab0\"});E.caseSensitive=new E(\"case-sensitive\",{fontCharacter:\"\\\\eab1\"});E.check=new E(\"check\",{fontCharacter:\"\\\\eab2\"});E.checklist=new E(\"checklist\",{fontCharacter:\"\\\\eab3\"});E.chevronDown=new E(\"chevron-down\",{fontCharacter:\"\\\\eab4\"});E.dropDownButton=new E(\"drop-down-button\",E.chevronDown.definition);E.chevronLeft=new E(\"chevron-left\",{fontCharacter:\"\\\\eab5\"});E.chevronRight=new E(\"chevron-right\",{fontCharacter:\"\\\\eab6\"});E.chevronUp=new E(\"chevron-up\",{fontCharacter:\"\\\\eab7\"});E.chromeClose=new E(\"chrome-close\",{fontCharacter:\"\\\\eab8\"});E.chromeMaximize=new E(\"chrome-maximize\",{fontCharacter:\"\\\\eab9\"});E.chromeMinimize=new E(\"chrome-minimize\",{fontCharacter:\"\\\\eaba\"});E.chromeRestore=new E(\"chrome-restore\",{fontCharacter:\"\\\\eabb\"});E.circleOutline=new E(\"circle-outline\",{fontCharacter:\"\\\\eabc\"});E.debugBreakpointUnverified=new E(\"debug-breakpoint-unverified\",{fontCharacter:\"\\\\eabc\"});E.circleSlash=new E(\"circle-slash\",{fontCharacter:\"\\\\eabd\"});E.circuitBoard=new E(\"circuit-board\",{fontCharacter:\"\\\\eabe\"});E.clearAll=new E(\"clear-all\",{fontCharacter:\"\\\\eabf\"});E.clippy=new E(\"clippy\",{fontCharacter:\"\\\\eac0\"});E.closeAll=new E(\"close-all\",{fontCharacter:\"\\\\eac1\"});E.cloudDownload=new E(\"cloud-download\",{fontCharacter:\"\\\\eac2\"});E.cloudUpload=new E(\"cloud-upload\",{fontCharacter:\"\\\\eac3\"});E.code=new E(\"code\",{fontCharacter:\"\\\\eac4\"});E.collapseAll=new E(\"collapse-all\",{fontCharacter:\"\\\\eac5\"});E.colorMode=new E(\"color-mode\",{fontCharacter:\"\\\\eac6\"});E.commentDiscussion=new E(\"comment-discussion\",{fontCharacter:\"\\\\eac7\"});E.compareChanges=new E(\"compare-changes\",{fontCharacter:\"\\\\eafd\"});E.creditCard=new E(\"credit-card\",{fontCharacter:\"\\\\eac9\"});E.dash=new E(\"dash\",{fontCharacter:\"\\\\eacc\"});E.dashboard=new E(\"dashboard\",{fontCharacter:\"\\\\eacd\"});E.database=new E(\"database\",{fontCharacter:\"\\\\eace\"});E.debugContinue=new E(\"debug-continue\",{fontCharacter:\"\\\\eacf\"});E.debugDisconnect=new E(\"debug-disconnect\",{fontCharacter:\"\\\\ead0\"});E.debugPause=new E(\"debug-pause\",{fontCharacter:\"\\\\ead1\"});E.debugRestart=new E(\"debug-restart\",{fontCharacter:\"\\\\ead2\"});E.debugStart=new E(\"debug-start\",{fontCharacter:\"\\\\ead3\"});E.debugStepInto=new E(\"debug-step-into\",{fontCharacter:\"\\\\ead4\"});E.debugStepOut=new E(\"debug-step-out\",{fontCharacter:\"\\\\ead5\"});E.debugStepOver=new E(\"debug-step-over\",{fontCharacter:\"\\\\ead6\"});E.debugStop=new E(\"debug-stop\",{fontCharacter:\"\\\\ead7\"});E.debug=new E(\"debug\",{fontCharacter:\"\\\\ead8\"});E.deviceCameraVideo=new E(\"device-camera-video\",{fontCharacter:\"\\\\ead9\"});E.deviceCamera=new E(\"device-camera\",{fontCharacter:\"\\\\eada\"});E.deviceMobile=new E(\"device-mobile\",{fontCharacter:\"\\\\eadb\"});E.diffAdded=new E(\"diff-added\",{fontCharacter:\"\\\\eadc\"});E.diffIgnored=new E(\"diff-ignored\",{fontCharacter:\"\\\\eadd\"});E.diffModified=new E(\"diff-modified\",{fontCharacter:\"\\\\eade\"});E.diffRemoved=new E(\"diff-removed\",{fontCharacter:\"\\\\eadf\"});E.diffRenamed=new E(\"diff-renamed\",{fontCharacter:\"\\\\eae0\"});E.diff=new E(\"diff\",{fontCharacter:\"\\\\eae1\"});E.discard=new E(\"discard\",{fontCharacter:\"\\\\eae2\"});E.editorLayout=new E(\"editor-layout\",{fontCharacter:\"\\\\eae3\"});E.emptyWindow=new E(\"empty-window\",{fontCharacter:\"\\\\eae4\"});E.exclude=new E(\"exclude\",{fontCharacter:\"\\\\eae5\"});E.extensions=new E(\"extensions\",{fontCharacter:\"\\\\eae6\"});E.eyeClosed=new E(\"eye-closed\",{fontCharacter:\"\\\\eae7\"});E.fileBinary=new E(\"file-binary\",{fontCharacter:\"\\\\eae8\"});E.fileCode=new E(\"file-code\",{fontCharacter:\"\\\\eae9\"});E.fileMedia=new E(\"file-media\",{fontCharacter:\"\\\\eaea\"});E.filePdf=new E(\"file-pdf\",{fontCharacter:\"\\\\eaeb\"});E.fileSubmodule=new E(\"file-submodule\",{fontCharacter:\"\\\\eaec\"});E.fileSymlinkDirectory=new E(\"file-symlink-directory\",{fontCharacter:\"\\\\eaed\"});E.fileSymlinkFile=new E(\"file-symlink-file\",{fontCharacter:\"\\\\eaee\"});E.fileZip=new E(\"file-zip\",{fontCharacter:\"\\\\eaef\"});E.files=new E(\"files\",{fontCharacter:\"\\\\eaf0\"});E.filter=new E(\"filter\",{fontCharacter:\"\\\\eaf1\"});E.flame=new E(\"flame\",{fontCharacter:\"\\\\eaf2\"});E.foldDown=new E(\"fold-down\",{fontCharacter:\"\\\\eaf3\"});E.foldUp=new E(\"fold-up\",{fontCharacter:\"\\\\eaf4\"});E.fold=new E(\"fold\",{fontCharacter:\"\\\\eaf5\"});E.folderActive=new E(\"folder-active\",{fontCharacter:\"\\\\eaf6\"});E.folderOpened=new E(\"folder-opened\",{fontCharacter:\"\\\\eaf7\"});E.gear=new E(\"gear\",{fontCharacter:\"\\\\eaf8\"});E.gift=new E(\"gift\",{fontCharacter:\"\\\\eaf9\"});E.gistSecret=new E(\"gist-secret\",{fontCharacter:\"\\\\eafa\"});E.gist=new E(\"gist\",{fontCharacter:\"\\\\eafb\"});E.gitCommit=new E(\"git-commit\",{fontCharacter:\"\\\\eafc\"});E.gitCompare=new E(\"git-compare\",{fontCharacter:\"\\\\eafd\"});E.gitMerge=new E(\"git-merge\",{fontCharacter:\"\\\\eafe\"});E.githubAction=new E(\"github-action\",{fontCharacter:\"\\\\eaff\"});E.githubAlt=new E(\"github-alt\",{fontCharacter:\"\\\\eb00\"});E.globe=new E(\"globe\",{fontCharacter:\"\\\\eb01\"});E.grabber=new E(\"grabber\",{fontCharacter:\"\\\\eb02\"});E.graph=new E(\"graph\",{fontCharacter:\"\\\\eb03\"});E.gripper=new E(\"gripper\",{fontCharacter:\"\\\\eb04\"});E.heart=new E(\"heart\",{fontCharacter:\"\\\\eb05\"});E.home=new E(\"home\",{fontCharacter:\"\\\\eb06\"});E.horizontalRule=new E(\"horizontal-rule\",{fontCharacter:\"\\\\eb07\"});E.hubot=new E(\"hubot\",{fontCharacter:\"\\\\eb08\"});E.inbox=new E(\"inbox\",{fontCharacter:\"\\\\eb09\"});E.issueClosed=new E(\"issue-closed\",{fontCharacter:\"\\\\eba4\"});E.issueReopened=new E(\"issue-reopened\",{fontCharacter:\"\\\\eb0b\"});E.issues=new E(\"issues\",{fontCharacter:\"\\\\eb0c\"});E.italic=new E(\"italic\",{fontCharacter:\"\\\\eb0d\"});E.jersey=new E(\"jersey\",{fontCharacter:\"\\\\eb0e\"});E.json=new E(\"json\",{fontCharacter:\"\\\\eb0f\"});E.kebabVertical=new E(\"kebab-vertical\",{fontCharacter:\"\\\\eb10\"});E.key=new E(\"key\",{fontCharacter:\"\\\\eb11\"});E.law=new E(\"law\",{fontCharacter:\"\\\\eb12\"});E.lightbulbAutofix=new E(\"lightbulb-autofix\",{fontCharacter:\"\\\\eb13\"});E.linkExternal=new E(\"link-external\",{fontCharacter:\"\\\\eb14\"});E.link=new E(\"link\",{fontCharacter:\"\\\\eb15\"});E.listOrdered=new E(\"list-ordered\",{fontCharacter:\"\\\\eb16\"});E.listUnordered=new E(\"list-unordered\",{fontCharacter:\"\\\\eb17\"});E.liveShare=new E(\"live-share\",{fontCharacter:\"\\\\eb18\"});E.loading=new E(\"loading\",{fontCharacter:\"\\\\eb19\"});E.location=new E(\"location\",{fontCharacter:\"\\\\eb1a\"});E.mailRead=new E(\"mail-read\",{fontCharacter:\"\\\\eb1b\"});E.mail=new E(\"mail\",{fontCharacter:\"\\\\eb1c\"});E.markdown=new E(\"markdown\",{fontCharacter:\"\\\\eb1d\"});E.megaphone=new E(\"megaphone\",{fontCharacter:\"\\\\eb1e\"});E.mention=new E(\"mention\",{fontCharacter:\"\\\\eb1f\"});E.milestone=new E(\"milestone\",{fontCharacter:\"\\\\eb20\"});E.mortarBoard=new E(\"mortar-board\",{fontCharacter:\"\\\\eb21\"});E.move=new E(\"move\",{fontCharacter:\"\\\\eb22\"});E.multipleWindows=new E(\"multiple-windows\",{fontCharacter:\"\\\\eb23\"});E.mute=new E(\"mute\",{fontCharacter:\"\\\\eb24\"});E.noNewline=new E(\"no-newline\",{fontCharacter:\"\\\\eb25\"});E.note=new E(\"note\",{fontCharacter:\"\\\\eb26\"});E.octoface=new E(\"octoface\",{fontCharacter:\"\\\\eb27\"});E.openPreview=new E(\"open-preview\",{fontCharacter:\"\\\\eb28\"});E.package_=new E(\"package\",{fontCharacter:\"\\\\eb29\"});E.paintcan=new E(\"paintcan\",{fontCharacter:\"\\\\eb2a\"});E.pin=new E(\"pin\",{fontCharacter:\"\\\\eb2b\"});E.play=new E(\"play\",{fontCharacter:\"\\\\eb2c\"});E.run=new E(\"run\",{fontCharacter:\"\\\\eb2c\"});E.plug=new E(\"plug\",{fontCharacter:\"\\\\eb2d\"});E.preserveCase=new E(\"preserve-case\",{fontCharacter:\"\\\\eb2e\"});E.preview=new E(\"preview\",{fontCharacter:\"\\\\eb2f\"});E.project=new E(\"project\",{fontCharacter:\"\\\\eb30\"});E.pulse=new E(\"pulse\",{fontCharacter:\"\\\\eb31\"});E.question=new E(\"question\",{fontCharacter:\"\\\\eb32\"});E.quote=new E(\"quote\",{fontCharacter:\"\\\\eb33\"});E.radioTower=new E(\"radio-tower\",{fontCharacter:\"\\\\eb34\"});E.reactions=new E(\"reactions\",{fontCharacter:\"\\\\eb35\"});E.references=new E(\"references\",{fontCharacter:\"\\\\eb36\"});E.refresh=new E(\"refresh\",{fontCharacter:\"\\\\eb37\"});E.regex=new E(\"regex\",{fontCharacter:\"\\\\eb38\"});E.remoteExplorer=new E(\"remote-explorer\",{fontCharacter:\"\\\\eb39\"});E.remote=new E(\"remote\",{fontCharacter:\"\\\\eb3a\"});E.remove=new E(\"remove\",{fontCharacter:\"\\\\eb3b\"});E.replaceAll=new E(\"replace-all\",{fontCharacter:\"\\\\eb3c\"});E.replace=new E(\"replace\",{fontCharacter:\"\\\\eb3d\"});E.repoClone=new E(\"repo-clone\",{fontCharacter:\"\\\\eb3e\"});E.repoForcePush=new E(\"repo-force-push\",{fontCharacter:\"\\\\eb3f\"});E.repoPull=new E(\"repo-pull\",{fontCharacter:\"\\\\eb40\"});E.repoPush=new E(\"repo-push\",{fontCharacter:\"\\\\eb41\"});E.report=new E(\"report\",{fontCharacter:\"\\\\eb42\"});E.requestChanges=new E(\"request-changes\",{fontCharacter:\"\\\\eb43\"});E.rocket=new E(\"rocket\",{fontCharacter:\"\\\\eb44\"});E.rootFolderOpened=new E(\"root-folder-opened\",{fontCharacter:\"\\\\eb45\"});E.rootFolder=new E(\"root-folder\",{fontCharacter:\"\\\\eb46\"});E.rss=new E(\"rss\",{fontCharacter:\"\\\\eb47\"});E.ruby=new E(\"ruby\",{fontCharacter:\"\\\\eb48\"});E.saveAll=new E(\"save-all\",{fontCharacter:\"\\\\eb49\"});E.saveAs=new E(\"save-as\",{fontCharacter:\"\\\\eb4a\"});E.save=new E(\"save\",{fontCharacter:\"\\\\eb4b\"});E.screenFull=new E(\"screen-full\",{fontCharacter:\"\\\\eb4c\"});E.screenNormal=new E(\"screen-normal\",{fontCharacter:\"\\\\eb4d\"});E.searchStop=new E(\"search-stop\",{fontCharacter:\"\\\\eb4e\"});E.server=new E(\"server\",{fontCharacter:\"\\\\eb50\"});E.settingsGear=new E(\"settings-gear\",{fontCharacter:\"\\\\eb51\"});E.settings=new E(\"settings\",{fontCharacter:\"\\\\eb52\"});E.shield=new E(\"shield\",{fontCharacter:\"\\\\eb53\"});E.smiley=new E(\"smiley\",{fontCharacter:\"\\\\eb54\"});E.sortPrecedence=new E(\"sort-precedence\",{fontCharacter:\"\\\\eb55\"});E.splitHorizontal=new E(\"split-horizontal\",{fontCharacter:\"\\\\eb56\"});E.splitVertical=new E(\"split-vertical\",{fontCharacter:\"\\\\eb57\"});E.squirrel=new E(\"squirrel\",{fontCharacter:\"\\\\eb58\"});E.starFull=new E(\"star-full\",{fontCharacter:\"\\\\eb59\"});E.starHalf=new E(\"star-half\",{fontCharacter:\"\\\\eb5a\"});E.symbolClass=new E(\"symbol-class\",{fontCharacter:\"\\\\eb5b\"});E.symbolColor=new E(\"symbol-color\",{fontCharacter:\"\\\\eb5c\"});E.symbolCustomColor=new E(\"symbol-customcolor\",{fontCharacter:\"\\\\eb5c\"});E.symbolConstant=new E(\"symbol-constant\",{fontCharacter:\"\\\\eb5d\"});E.symbolEnumMember=new E(\"symbol-enum-member\",{fontCharacter:\"\\\\eb5e\"});E.symbolField=new E(\"symbol-field\",{fontCharacter:\"\\\\eb5f\"});E.symbolFile=new E(\"symbol-file\",{fontCharacter:\"\\\\eb60\"});E.symbolInterface=new E(\"symbol-interface\",{fontCharacter:\"\\\\eb61\"});E.symbolKeyword=new E(\"symbol-keyword\",{fontCharacter:\"\\\\eb62\"});E.symbolMisc=new E(\"symbol-misc\",{fontCharacter:\"\\\\eb63\"});E.symbolOperator=new E(\"symbol-operator\",{fontCharacter:\"\\\\eb64\"});E.symbolProperty=new E(\"symbol-property\",{fontCharacter:\"\\\\eb65\"});E.wrench=new E(\"wrench\",{fontCharacter:\"\\\\eb65\"});E.wrenchSubaction=new E(\"wrench-subaction\",{fontCharacter:\"\\\\eb65\"});E.symbolSnippet=new E(\"symbol-snippet\",{fontCharacter:\"\\\\eb66\"});E.tasklist=new E(\"tasklist\",{fontCharacter:\"\\\\eb67\"});E.telescope=new E(\"telescope\",{fontCharacter:\"\\\\eb68\"});E.textSize=new E(\"text-size\",{fontCharacter:\"\\\\eb69\"});E.threeBars=new E(\"three-bars\",{fontCharacter:\"\\\\eb6a\"});E.thumbsdown=new E(\"thumbsdown\",{fontCharacter:\"\\\\eb6b\"});E.thumbsup=new E(\"thumbsup\",{fontCharacter:\"\\\\eb6c\"});E.tools=new E(\"tools\",{fontCharacter:\"\\\\eb6d\"});E.triangleDown=new E(\"triangle-down\",{fontCharacter:\"\\\\eb6e\"});E.triangleLeft=new E(\"triangle-left\",{fontCharacter:\"\\\\eb6f\"});E.triangleRight=new E(\"triangle-right\",{fontCharacter:\"\\\\eb70\"});E.triangleUp=new E(\"triangle-up\",{fontCharacter:\"\\\\eb71\"});E.twitter=new E(\"twitter\",{fontCharacter:\"\\\\eb72\"});E.unfold=new E(\"unfold\",{fontCharacter:\"\\\\eb73\"});E.unlock=new E(\"unlock\",{fontCharacter:\"\\\\eb74\"});E.unmute=new E(\"unmute\",{fontCharacter:\"\\\\eb75\"});E.unverified=new E(\"unverified\",{fontCharacter:\"\\\\eb76\"});E.verified=new E(\"verified\",{fontCharacter:\"\\\\eb77\"});E.versions=new E(\"versions\",{fontCharacter:\"\\\\eb78\"});E.vmActive=new E(\"vm-active\",{fontCharacter:\"\\\\eb79\"});E.vmOutline=new E(\"vm-outline\",{fontCharacter:\"\\\\eb7a\"});E.vmRunning=new E(\"vm-running\",{fontCharacter:\"\\\\eb7b\"});E.watch=new E(\"watch\",{fontCharacter:\"\\\\eb7c\"});E.whitespace=new E(\"whitespace\",{fontCharacter:\"\\\\eb7d\"});E.wholeWord=new E(\"whole-word\",{fontCharacter:\"\\\\eb7e\"});E.window=new E(\"window\",{fontCharacter:\"\\\\eb7f\"});E.wordWrap=new E(\"word-wrap\",{fontCharacter:\"\\\\eb80\"});E.zoomIn=new E(\"zoom-in\",{fontCharacter:\"\\\\eb81\"});E.zoomOut=new E(\"zoom-out\",{fontCharacter:\"\\\\eb82\"});E.listFilter=new E(\"list-filter\",{fontCharacter:\"\\\\eb83\"});E.listFlat=new E(\"list-flat\",{fontCharacter:\"\\\\eb84\"});E.listSelection=new E(\"list-selection\",{fontCharacter:\"\\\\eb85\"});E.selection=new E(\"selection\",{fontCharacter:\"\\\\eb85\"});E.listTree=new E(\"list-tree\",{fontCharacter:\"\\\\eb86\"});E.debugBreakpointFunctionUnverified=new E(\"debug-breakpoint-function-unverified\",{fontCharacter:\"\\\\eb87\"});E.debugBreakpointFunction=new E(\"debug-breakpoint-function\",{fontCharacter:\"\\\\eb88\"});E.debugBreakpointFunctionDisabled=new E(\"debug-breakpoint-function-disabled\",{fontCharacter:\"\\\\eb88\"});E.debugStackframeActive=new E(\"debug-stackframe-active\",{fontCharacter:\"\\\\eb89\"});E.debugStackframeDot=new E(\"debug-stackframe-dot\",{fontCharacter:\"\\\\eb8a\"});E.debugStackframe=new E(\"debug-stackframe\",{fontCharacter:\"\\\\eb8b\"});E.debugStackframeFocused=new E(\"debug-stackframe-focused\",{fontCharacter:\"\\\\eb8b\"});E.debugBreakpointUnsupported=new E(\"debug-breakpoint-unsupported\",{fontCharacter:\"\\\\eb8c\"});E.symbolString=new E(\"symbol-string\",{fontCharacter:\"\\\\eb8d\"});E.debugReverseContinue=new E(\"debug-reverse-continue\",{fontCharacter:\"\\\\eb8e\"});E.debugStepBack=new E(\"debug-step-back\",{fontCharacter:\"\\\\eb8f\"});E.debugRestartFrame=new E(\"debug-restart-frame\",{fontCharacter:\"\\\\eb90\"});E.callIncoming=new E(\"call-incoming\",{fontCharacter:\"\\\\eb92\"});E.callOutgoing=new E(\"call-outgoing\",{fontCharacter:\"\\\\eb93\"});E.menu=new E(\"menu\",{fontCharacter:\"\\\\eb94\"});E.expandAll=new E(\"expand-all\",{fontCharacter:\"\\\\eb95\"});E.feedback=new E(\"feedback\",{fontCharacter:\"\\\\eb96\"});E.groupByRefType=new E(\"group-by-ref-type\",{fontCharacter:\"\\\\eb97\"});E.ungroupByRefType=new E(\"ungroup-by-ref-type\",{fontCharacter:\"\\\\eb98\"});E.account=new E(\"account\",{fontCharacter:\"\\\\eb99\"});E.bellDot=new E(\"bell-dot\",{fontCharacter:\"\\\\eb9a\"});E.debugConsole=new E(\"debug-console\",{fontCharacter:\"\\\\eb9b\"});E.library=new E(\"library\",{fontCharacter:\"\\\\eb9c\"});E.output=new E(\"output\",{fontCharacter:\"\\\\eb9d\"});E.runAll=new E(\"run-all\",{fontCharacter:\"\\\\eb9e\"});E.syncIgnored=new E(\"sync-ignored\",{fontCharacter:\"\\\\eb9f\"});E.pinned=new E(\"pinned\",{fontCharacter:\"\\\\eba0\"});E.githubInverted=new E(\"github-inverted\",{fontCharacter:\"\\\\eba1\"});E.debugAlt=new E(\"debug-alt\",{fontCharacter:\"\\\\eb91\"});E.serverProcess=new E(\"server-process\",{fontCharacter:\"\\\\eba2\"});E.serverEnvironment=new E(\"server-environment\",{fontCharacter:\"\\\\eba3\"});E.pass=new E(\"pass\",{fontCharacter:\"\\\\eba4\"});E.stopCircle=new E(\"stop-circle\",{fontCharacter:\"\\\\eba5\"});E.playCircle=new E(\"play-circle\",{fontCharacter:\"\\\\eba6\"});E.record=new E(\"record\",{fontCharacter:\"\\\\eba7\"});E.debugAltSmall=new E(\"debug-alt-small\",{fontCharacter:\"\\\\eba8\"});E.vmConnect=new E(\"vm-connect\",{fontCharacter:\"\\\\eba9\"});E.cloud=new E(\"cloud\",{fontCharacter:\"\\\\ebaa\"});E.merge=new E(\"merge\",{fontCharacter:\"\\\\ebab\"});E.exportIcon=new E(\"export\",{fontCharacter:\"\\\\ebac\"});E.graphLeft=new E(\"graph-left\",{fontCharacter:\"\\\\ebad\"});E.magnet=new E(\"magnet\",{fontCharacter:\"\\\\ebae\"});E.notebook=new E(\"notebook\",{fontCharacter:\"\\\\ebaf\"});E.redo=new E(\"redo\",{fontCharacter:\"\\\\ebb0\"});E.checkAll=new E(\"check-all\",{fontCharacter:\"\\\\ebb1\"});E.pinnedDirty=new E(\"pinned-dirty\",{fontCharacter:\"\\\\ebb2\"});E.passFilled=new E(\"pass-filled\",{fontCharacter:\"\\\\ebb3\"});E.circleLargeFilled=new E(\"circle-large-filled\",{fontCharacter:\"\\\\ebb4\"});E.circleLargeOutline=new E(\"circle-large-outline\",{fontCharacter:\"\\\\ebb5\"});E.combine=new E(\"combine\",{fontCharacter:\"\\\\ebb6\"});E.gather=new E(\"gather\",{fontCharacter:\"\\\\ebb6\"});E.table=new E(\"table\",{fontCharacter:\"\\\\ebb7\"});E.variableGroup=new E(\"variable-group\",{fontCharacter:\"\\\\ebb8\"});E.typeHierarchy=new E(\"type-hierarchy\",{fontCharacter:\"\\\\ebb9\"});E.typeHierarchySub=new E(\"type-hierarchy-sub\",{fontCharacter:\"\\\\ebba\"});E.typeHierarchySuper=new E(\"type-hierarchy-super\",{fontCharacter:\"\\\\ebbb\"});E.gitPullRequestCreate=new E(\"git-pull-request-create\",{fontCharacter:\"\\\\ebbc\"});E.runAbove=new E(\"run-above\",{fontCharacter:\"\\\\ebbd\"});E.runBelow=new E(\"run-below\",{fontCharacter:\"\\\\ebbe\"});E.notebookTemplate=new E(\"notebook-template\",{fontCharacter:\"\\\\ebbf\"});E.debugRerun=new E(\"debug-rerun\",{fontCharacter:\"\\\\ebc0\"});E.workspaceTrusted=new E(\"workspace-trusted\",{fontCharacter:\"\\\\ebc1\"});E.workspaceUntrusted=new E(\"workspace-untrusted\",{fontCharacter:\"\\\\ebc2\"});E.workspaceUnspecified=new E(\"workspace-unspecified\",{fontCharacter:\"\\\\ebc3\"});E.terminalCmd=new E(\"terminal-cmd\",{fontCharacter:\"\\\\ebc4\"});E.terminalDebian=new E(\"terminal-debian\",{fontCharacter:\"\\\\ebc5\"});E.terminalLinux=new E(\"terminal-linux\",{fontCharacter:\"\\\\ebc6\"});E.terminalPowershell=new E(\"terminal-powershell\",{fontCharacter:\"\\\\ebc7\"});E.terminalTmux=new E(\"terminal-tmux\",{fontCharacter:\"\\\\ebc8\"});E.terminalUbuntu=new E(\"terminal-ubuntu\",{fontCharacter:\"\\\\ebc9\"});E.terminalBash=new E(\"terminal-bash\",{fontCharacter:\"\\\\ebca\"});E.arrowSwap=new E(\"arrow-swap\",{fontCharacter:\"\\\\ebcb\"});E.copy=new E(\"copy\",{fontCharacter:\"\\\\ebcc\"});E.personAdd=new E(\"person-add\",{fontCharacter:\"\\\\ebcd\"});E.filterFilled=new E(\"filter-filled\",{fontCharacter:\"\\\\ebce\"});E.wand=new E(\"wand\",{fontCharacter:\"\\\\ebcf\"});E.debugLineByLine=new E(\"debug-line-by-line\",{fontCharacter:\"\\\\ebd0\"});E.inspect=new E(\"inspect\",{fontCharacter:\"\\\\ebd1\"});E.layers=new E(\"layers\",{fontCharacter:\"\\\\ebd2\"});E.layersDot=new E(\"layers-dot\",{fontCharacter:\"\\\\ebd3\"});E.layersActive=new E(\"layers-active\",{fontCharacter:\"\\\\ebd4\"});E.compass=new E(\"compass\",{fontCharacter:\"\\\\ebd5\"});E.compassDot=new E(\"compass-dot\",{fontCharacter:\"\\\\ebd6\"});E.compassActive=new E(\"compass-active\",{fontCharacter:\"\\\\ebd7\"});E.azure=new E(\"azure\",{fontCharacter:\"\\\\ebd8\"});E.issueDraft=new E(\"issue-draft\",{fontCharacter:\"\\\\ebd9\"});E.gitPullRequestClosed=new E(\"git-pull-request-closed\",{fontCharacter:\"\\\\ebda\"});E.gitPullRequestDraft=new E(\"git-pull-request-draft\",{fontCharacter:\"\\\\ebdb\"});E.debugAll=new E(\"debug-all\",{fontCharacter:\"\\\\ebdc\"});E.debugCoverage=new E(\"debug-coverage\",{fontCharacter:\"\\\\ebdd\"});E.runErrors=new E(\"run-errors\",{fontCharacter:\"\\\\ebde\"});E.folderLibrary=new E(\"folder-library\",{fontCharacter:\"\\\\ebdf\"});E.debugContinueSmall=new E(\"debug-continue-small\",{fontCharacter:\"\\\\ebe0\"});E.beakerStop=new E(\"beaker-stop\",{fontCharacter:\"\\\\ebe1\"});E.graphLine=new E(\"graph-line\",{fontCharacter:\"\\\\ebe2\"});E.graphScatter=new E(\"graph-scatter\",{fontCharacter:\"\\\\ebe3\"});E.pieChart=new E(\"pie-chart\",{fontCharacter:\"\\\\ebe4\"});E.bracket=new E(\"bracket\",E.json.definition);E.bracketDot=new E(\"bracket-dot\",{fontCharacter:\"\\\\ebe5\"});E.bracketError=new E(\"bracket-error\",{fontCharacter:\"\\\\ebe6\"});E.lockSmall=new E(\"lock-small\",{fontCharacter:\"\\\\ebe7\"});E.azureDevops=new E(\"azure-devops\",{fontCharacter:\"\\\\ebe8\"});E.verifiedFilled=new E(\"verified-filled\",{fontCharacter:\"\\\\ebe9\"});E.newLine=new E(\"newline\",{fontCharacter:\"\\\\ebea\"});E.layout=new E(\"layout\",{fontCharacter:\"\\\\ebeb\"});E.layoutActivitybarLeft=new E(\"layout-activitybar-left\",{fontCharacter:\"\\\\ebec\"});E.layoutActivitybarRight=new E(\"layout-activitybar-right\",{fontCharacter:\"\\\\ebed\"});E.layoutPanelLeft=new E(\"layout-panel-left\",{fontCharacter:\"\\\\ebee\"});E.layoutPanelCenter=new E(\"layout-panel-center\",{fontCharacter:\"\\\\ebef\"});E.layoutPanelJustify=new E(\"layout-panel-justify\",{fontCharacter:\"\\\\ebf0\"});E.layoutPanelRight=new E(\"layout-panel-right\",{fontCharacter:\"\\\\ebf1\"});E.layoutPanel=new E(\"layout-panel\",{fontCharacter:\"\\\\ebf2\"});E.layoutSidebarLeft=new E(\"layout-sidebar-left\",{fontCharacter:\"\\\\ebf3\"});E.layoutSidebarRight=new E(\"layout-sidebar-right\",{fontCharacter:\"\\\\ebf4\"});E.layoutStatusbar=new E(\"layout-statusbar\",{fontCharacter:\"\\\\ebf5\"});E.layoutMenubar=new E(\"layout-menubar\",{fontCharacter:\"\\\\ebf6\"});E.layoutCentered=new E(\"layout-centered\",{fontCharacter:\"\\\\ebf7\"});E.target=new E(\"target\",{fontCharacter:\"\\\\ebf8\"});E.indent=new E(\"indent\",{fontCharacter:\"\\\\ebf9\"});E.recordSmall=new E(\"record-small\",{fontCharacter:\"\\\\ebfa\"});E.errorSmall=new E(\"error-small\",{fontCharacter:\"\\\\ebfb\"});E.arrowCircleDown=new E(\"arrow-circle-down\",{fontCharacter:\"\\\\ebfc\"});E.arrowCircleLeft=new E(\"arrow-circle-left\",{fontCharacter:\"\\\\ebfd\"});E.arrowCircleRight=new E(\"arrow-circle-right\",{fontCharacter:\"\\\\ebfe\"});E.arrowCircleUp=new E(\"arrow-circle-up\",{fontCharacter:\"\\\\ebff\"});E.dialogError=new E(\"dialog-error\",E.error.definition);E.dialogWarning=new E(\"dialog-warning\",E.warning.definition);E.dialogInfo=new E(\"dialog-info\",E.info.definition);E.dialogClose=new E(\"dialog-close\",E.close.definition);E.treeItemExpanded=new E(\"tree-item-expanded\",E.chevronDown.definition);E.treeFilterOnTypeOn=new E(\"tree-filter-on-type-on\",E.listFilter.definition);E.treeFilterOnTypeOff=new E(\"tree-filter-on-type-off\",E.listSelection.definition);E.treeFilterClear=new E(\"tree-filter-clear\",E.close.definition);E.treeItemLoading=new E(\"tree-item-loading\",E.loading.definition);E.menuSelection=new E(\"menu-selection\",E.check.definition);E.menuSubmenu=new E(\"menu-submenu\",E.chevronRight.definition);E.menuBarMore=new E(\"menubar-more\",E.more.definition);E.scrollbarButtonLeft=new E(\"scrollbar-button-left\",E.triangleLeft.definition);E.scrollbarButtonRight=new E(\"scrollbar-button-right\",E.triangleRight.definition);E.scrollbarButtonUp=new E(\"scrollbar-button-up\",E.triangleUp.definition);E.scrollbarButtonDown=new E(\"scrollbar-button-down\",E.triangleDown.definition);E.toolBarMore=new E(\"toolbar-more\",E.more.definition);E.quickInputBack=new E(\"quick-input-back\",E.arrowLeft.definition);var df;(function(o){o.iconNameSegment=\"[A-Za-z0-9]+\",o.iconNameExpression=\"[A-Za-z0-9-]+\",o.iconModifierExpression=\"~[A-Za-z]+\",o.iconNameCharacter=\"[A-Za-z0-9~-]\";const e=new RegExp(`^(${o.iconNameExpression})(${o.iconModifierExpression})?$`);function t(s){if(s instanceof E)return[\"codicon\",\"codicon-\"+s.id];const a=e.exec(s.id);if(!a)return t(E.error);let[,l,u]=a;const d=[\"codicon\",\"codicon-\"+l];return u&&d.push(\"codicon-modifier-\"+u.substr(1)),d}o.asClassNameArray=t;function n(s){return t(s).join(\" \")}o.asClassName=n;function i(s){return\".\"+t(s).join(\".\")}o.asCSSSelector=i})(df||(df={}));class yp{static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static getFontStyle(e){return(e&15360)>>>10}static getForeground(e){return(e&8372224)>>>14}static getBackground(e){return(e&4286578688)>>>23}static getClassNameFromMetadata(e){const t=this.getForeground(e);let n=\"mtk\"+t;const i=this.getFontStyle(e);return i&1&&(n+=\" mtki\"),i&2&&(n+=\" mtkb\"),i&4&&(n+=\" mtku\"),i&8&&(n+=\" mtks\"),n}static getInlineStyleFromMetadata(e,t){const n=this.getForeground(e),i=this.getFontStyle(e);let s=`color: ${t[n]};`;i&1&&(s+=\"font-style: italic;\"),i&2&&(s+=\"font-weight: bold;\");let a=\"\";return i&4&&(a+=\" underline\"),i&8&&(a+=\" line-through\"),a&&(s+=`text-decoration:${a};`),s}static getPresentationFromMetadata(e){const t=this.getForeground(e),n=this.getFontStyle(e);return{foreground:t,italic:Boolean(n&1),bold:Boolean(n&2),underline:Boolean(n&4),strikethrough:Boolean(n&8)}}}class O3{constructor(e,t,n){this._tokenBrand=void 0,this.offset=e,this.type=t,this.language=n}toString(){return\"(\"+this.offset+\", \"+this.type+\")\"}}class Lq{constructor(e,t){this._tokenizationResultBrand=void 0,this.tokens=e,this.endState=t}}class yP{constructor(e,t){this._encodedTokenizationResultBrand=void 0,this.tokens=e,this.endState=t}}var M3;(function(o){const e=new Map;e.set(0,E.symbolMethod),e.set(1,E.symbolFunction),e.set(2,E.symbolConstructor),e.set(3,E.symbolField),e.set(4,E.symbolVariable),e.set(5,E.symbolClass),e.set(6,E.symbolStruct),e.set(7,E.symbolInterface),e.set(8,E.symbolModule),e.set(9,E.symbolProperty),e.set(10,E.symbolEvent),e.set(11,E.symbolOperator),e.set(12,E.symbolUnit),e.set(13,E.symbolValue),e.set(15,E.symbolEnum),e.set(14,E.symbolConstant),e.set(15,E.symbolEnum),e.set(16,E.symbolEnumMember),e.set(17,E.symbolKeyword),e.set(27,E.symbolSnippet),e.set(18,E.symbolText),e.set(19,E.symbolColor),e.set(20,E.symbolFile),e.set(21,E.symbolReference),e.set(22,E.symbolCustomColor),e.set(23,E.symbolFolder),e.set(24,E.symbolTypeParameter),e.set(25,E.account),e.set(26,E.issues);function t(s){let a=e.get(s);return a||(console.info(\"No codicon found for CompletionItemKind \"+s),a=E.symbolProperty),a}o.toIcon=t;const n=new Map;n.set(\"method\",0),n.set(\"function\",1),n.set(\"constructor\",2),n.set(\"field\",3),n.set(\"variable\",4),n.set(\"class\",5),n.set(\"struct\",6),n.set(\"interface\",7),n.set(\"module\",8),n.set(\"property\",9),n.set(\"event\",10),n.set(\"operator\",11),n.set(\"unit\",12),n.set(\"value\",13),n.set(\"constant\",14),n.set(\"enum\",15),n.set(\"enum-member\",16),n.set(\"enumMember\",16),n.set(\"keyword\",17),n.set(\"snippet\",27),n.set(\"text\",18),n.set(\"color\",19),n.set(\"file\",20),n.set(\"reference\",21),n.set(\"customcolor\",22),n.set(\"folder\",23),n.set(\"type-parameter\",24),n.set(\"typeParameter\",24),n.set(\"account\",25),n.set(\"issue\",26);function i(s,a){let l=n.get(s);return typeof l==\"undefined\"&&!a&&(l=9),l}o.fromString=i})(M3||(M3={}));var vg;(function(o){o[o.Automatic=0]=\"Automatic\",o[o.Explicit=1]=\"Explicit\"})(vg||(vg={}));var W1;(function(o){o[o.Invoke=1]=\"Invoke\",o[o.TriggerCharacter=2]=\"TriggerCharacter\",o[o.ContentChange=3]=\"ContentChange\"})(W1||(W1={}));var R3;(function(o){o[o.Text=0]=\"Text\",o[o.Read=1]=\"Read\",o[o.Write=2]=\"Write\"})(R3||(R3={}));function eAe(o){return o&&wa.isUri(o.uri)&&He.isIRange(o.range)&&(He.isIRange(o.originSelectionRange)||He.isIRange(o.targetSelectionRange))}var h$;(function(o){const e=new Map;e.set(0,E.symbolFile),e.set(1,E.symbolModule),e.set(2,E.symbolNamespace),e.set(3,E.symbolPackage),e.set(4,E.symbolClass),e.set(5,E.symbolMethod),e.set(6,E.symbolProperty),e.set(7,E.symbolField),e.set(8,E.symbolConstructor),e.set(9,E.symbolEnum),e.set(10,E.symbolInterface),e.set(11,E.symbolFunction),e.set(12,E.symbolVariable),e.set(13,E.symbolConstant),e.set(14,E.symbolString),e.set(15,E.symbolNumber),e.set(16,E.symbolBoolean),e.set(17,E.symbolArray),e.set(18,E.symbolObject),e.set(19,E.symbolKey),e.set(20,E.symbolNull),e.set(21,E.symbolEnumMember),e.set(22,E.symbolStruct),e.set(23,E.symbolEvent),e.set(24,E.symbolOperator),e.set(25,E.symbolTypeParameter);function t(n){let i=e.get(n);return i||(console.info(\"No codicon found for SymbolKind \"+n),i=E.symbolProperty),i}o.toIcon=t})(h$||(h$={}));class y0{constructor(e){this.value=e}}y0.Comment=new y0(\"comment\");y0.Imports=new y0(\"imports\");y0.Region=new y0(\"region\");var p$;(function(o){function e(t){return!t||typeof t!=\"object\"?!1:typeof t.id==\"string\"&&typeof t.title==\"string\"}o.is=e})(p$||(p$={}));var j8;(function(o){o[o.Type=1]=\"Type\",o[o.Parameter=2]=\"Parameter\"})(j8||(j8={}));const Ic=new XTe;var f$;(function(o){o[o.Unknown=0]=\"Unknown\",o[o.Disabled=1]=\"Disabled\",o[o.Enabled=2]=\"Enabled\"})(f$||(f$={}));var _$;(function(o){o[o.KeepWhitespace=1]=\"KeepWhitespace\",o[o.InsertAsSnippet=4]=\"InsertAsSnippet\"})(_$||(_$={}));var g$;(function(o){o[o.Method=0]=\"Method\",o[o.Function=1]=\"Function\",o[o.Constructor=2]=\"Constructor\",o[o.Field=3]=\"Field\",o[o.Variable=4]=\"Variable\",o[o.Class=5]=\"Class\",o[o.Struct=6]=\"Struct\",o[o.Interface=7]=\"Interface\",o[o.Module=8]=\"Module\",o[o.Property=9]=\"Property\",o[o.Event=10]=\"Event\",o[o.Operator=11]=\"Operator\",o[o.Unit=12]=\"Unit\",o[o.Value=13]=\"Value\",o[o.Constant=14]=\"Constant\",o[o.Enum=15]=\"Enum\",o[o.EnumMember=16]=\"EnumMember\",o[o.Keyword=17]=\"Keyword\",o[o.Text=18]=\"Text\",o[o.Color=19]=\"Color\",o[o.File=20]=\"File\",o[o.Reference=21]=\"Reference\",o[o.Customcolor=22]=\"Customcolor\",o[o.Folder=23]=\"Folder\",o[o.TypeParameter=24]=\"TypeParameter\",o[o.User=25]=\"User\",o[o.Issue=26]=\"Issue\",o[o.Snippet=27]=\"Snippet\"})(g$||(g$={}));var m$;(function(o){o[o.Deprecated=1]=\"Deprecated\"})(m$||(m$={}));var y$;(function(o){o[o.Invoke=0]=\"Invoke\",o[o.TriggerCharacter=1]=\"TriggerCharacter\",o[o.TriggerForIncompleteCompletions=2]=\"TriggerForIncompleteCompletions\"})(y$||(y$={}));var b$;(function(o){o[o.EXACT=0]=\"EXACT\",o[o.ABOVE=1]=\"ABOVE\",o[o.BELOW=2]=\"BELOW\"})(b$||(b$={}));var v$;(function(o){o[o.NotSet=0]=\"NotSet\",o[o.ContentFlush=1]=\"ContentFlush\",o[o.RecoverFromMarkers=2]=\"RecoverFromMarkers\",o[o.Explicit=3]=\"Explicit\",o[o.Paste=4]=\"Paste\",o[o.Undo=5]=\"Undo\",o[o.Redo=6]=\"Redo\"})(v$||(v$={}));var C$;(function(o){o[o.LF=1]=\"LF\",o[o.CRLF=2]=\"CRLF\"})(C$||(C$={}));var D$;(function(o){o[o.Text=0]=\"Text\",o[o.Read=1]=\"Read\",o[o.Write=2]=\"Write\"})(D$||(D$={}));var w$;(function(o){o[o.None=0]=\"None\",o[o.Keep=1]=\"Keep\",o[o.Brackets=2]=\"Brackets\",o[o.Advanced=3]=\"Advanced\",o[o.Full=4]=\"Full\"})(w$||(w$={}));var S$;(function(o){o[o.acceptSuggestionOnCommitCharacter=0]=\"acceptSuggestionOnCommitCharacter\",o[o.acceptSuggestionOnEnter=1]=\"acceptSuggestionOnEnter\",o[o.accessibilitySupport=2]=\"accessibilitySupport\",o[o.accessibilityPageSize=3]=\"accessibilityPageSize\",o[o.ariaLabel=4]=\"ariaLabel\",o[o.autoClosingBrackets=5]=\"autoClosingBrackets\",o[o.autoClosingDelete=6]=\"autoClosingDelete\",o[o.autoClosingOvertype=7]=\"autoClosingOvertype\",o[o.autoClosingQuotes=8]=\"autoClosingQuotes\",o[o.autoIndent=9]=\"autoIndent\",o[o.automaticLayout=10]=\"automaticLayout\",o[o.autoSurround=11]=\"autoSurround\",o[o.bracketPairColorization=12]=\"bracketPairColorization\",o[o.guides=13]=\"guides\",o[o.codeLens=14]=\"codeLens\",o[o.codeLensFontFamily=15]=\"codeLensFontFamily\",o[o.codeLensFontSize=16]=\"codeLensFontSize\",o[o.colorDecorators=17]=\"colorDecorators\",o[o.columnSelection=18]=\"columnSelection\",o[o.comments=19]=\"comments\",o[o.contextmenu=20]=\"contextmenu\",o[o.copyWithSyntaxHighlighting=21]=\"copyWithSyntaxHighlighting\",o[o.cursorBlinking=22]=\"cursorBlinking\",o[o.cursorSmoothCaretAnimation=23]=\"cursorSmoothCaretAnimation\",o[o.cursorStyle=24]=\"cursorStyle\",o[o.cursorSurroundingLines=25]=\"cursorSurroundingLines\",o[o.cursorSurroundingLinesStyle=26]=\"cursorSurroundingLinesStyle\",o[o.cursorWidth=27]=\"cursorWidth\",o[o.disableLayerHinting=28]=\"disableLayerHinting\",o[o.disableMonospaceOptimizations=29]=\"disableMonospaceOptimizations\",o[o.domReadOnly=30]=\"domReadOnly\",o[o.dragAndDrop=31]=\"dragAndDrop\",o[o.emptySelectionClipboard=32]=\"emptySelectionClipboard\",o[o.extraEditorClassName=33]=\"extraEditorClassName\",o[o.fastScrollSensitivity=34]=\"fastScrollSensitivity\",o[o.find=35]=\"find\",o[o.fixedOverflowWidgets=36]=\"fixedOverflowWidgets\",o[o.folding=37]=\"folding\",o[o.foldingStrategy=38]=\"foldingStrategy\",o[o.foldingHighlight=39]=\"foldingHighlight\",o[o.foldingImportsByDefault=40]=\"foldingImportsByDefault\",o[o.foldingMaximumRegions=41]=\"foldingMaximumRegions\",o[o.unfoldOnClickAfterEndOfLine=42]=\"unfoldOnClickAfterEndOfLine\",o[o.fontFamily=43]=\"fontFamily\",o[o.fontInfo=44]=\"fontInfo\",o[o.fontLigatures=45]=\"fontLigatures\",o[o.fontSize=46]=\"fontSize\",o[o.fontWeight=47]=\"fontWeight\",o[o.formatOnPaste=48]=\"formatOnPaste\",o[o.formatOnType=49]=\"formatOnType\",o[o.glyphMargin=50]=\"glyphMargin\",o[o.gotoLocation=51]=\"gotoLocation\",o[o.hideCursorInOverviewRuler=52]=\"hideCursorInOverviewRuler\",o[o.hover=53]=\"hover\",o[o.inDiffEditor=54]=\"inDiffEditor\",o[o.inlineSuggest=55]=\"inlineSuggest\",o[o.letterSpacing=56]=\"letterSpacing\",o[o.lightbulb=57]=\"lightbulb\",o[o.lineDecorationsWidth=58]=\"lineDecorationsWidth\",o[o.lineHeight=59]=\"lineHeight\",o[o.lineNumbers=60]=\"lineNumbers\",o[o.lineNumbersMinChars=61]=\"lineNumbersMinChars\",o[o.linkedEditing=62]=\"linkedEditing\",o[o.links=63]=\"links\",o[o.matchBrackets=64]=\"matchBrackets\",o[o.minimap=65]=\"minimap\",o[o.mouseStyle=66]=\"mouseStyle\",o[o.mouseWheelScrollSensitivity=67]=\"mouseWheelScrollSensitivity\",o[o.mouseWheelZoom=68]=\"mouseWheelZoom\",o[o.multiCursorMergeOverlapping=69]=\"multiCursorMergeOverlapping\",o[o.multiCursorModifier=70]=\"multiCursorModifier\",o[o.multiCursorPaste=71]=\"multiCursorPaste\",o[o.occurrencesHighlight=72]=\"occurrencesHighlight\",o[o.overviewRulerBorder=73]=\"overviewRulerBorder\",o[o.overviewRulerLanes=74]=\"overviewRulerLanes\",o[o.padding=75]=\"padding\",o[o.parameterHints=76]=\"parameterHints\",o[o.peekWidgetDefaultFocus=77]=\"peekWidgetDefaultFocus\",o[o.definitionLinkOpensInPeek=78]=\"definitionLinkOpensInPeek\",o[o.quickSuggestions=79]=\"quickSuggestions\",o[o.quickSuggestionsDelay=80]=\"quickSuggestionsDelay\",o[o.readOnly=81]=\"readOnly\",o[o.renameOnType=82]=\"renameOnType\",o[o.renderControlCharacters=83]=\"renderControlCharacters\",o[o.renderFinalNewline=84]=\"renderFinalNewline\",o[o.renderLineHighlight=85]=\"renderLineHighlight\",o[o.renderLineHighlightOnlyWhenFocus=86]=\"renderLineHighlightOnlyWhenFocus\",o[o.renderValidationDecorations=87]=\"renderValidationDecorations\",o[o.renderWhitespace=88]=\"renderWhitespace\",o[o.revealHorizontalRightPadding=89]=\"revealHorizontalRightPadding\",o[o.roundedSelection=90]=\"roundedSelection\",o[o.rulers=91]=\"rulers\",o[o.scrollbar=92]=\"scrollbar\",o[o.scrollBeyondLastColumn=93]=\"scrollBeyondLastColumn\",o[o.scrollBeyondLastLine=94]=\"scrollBeyondLastLine\",o[o.scrollPredominantAxis=95]=\"scrollPredominantAxis\",o[o.selectionClipboard=96]=\"selectionClipboard\",o[o.selectionHighlight=97]=\"selectionHighlight\",o[o.selectOnLineNumbers=98]=\"selectOnLineNumbers\",o[o.showFoldingControls=99]=\"showFoldingControls\",o[o.showUnused=100]=\"showUnused\",o[o.snippetSuggestions=101]=\"snippetSuggestions\",o[o.smartSelect=102]=\"smartSelect\",o[o.smoothScrolling=103]=\"smoothScrolling\",o[o.stickyTabStops=104]=\"stickyTabStops\",o[o.stopRenderingLineAfter=105]=\"stopRenderingLineAfter\",o[o.suggest=106]=\"suggest\",o[o.suggestFontSize=107]=\"suggestFontSize\",o[o.suggestLineHeight=108]=\"suggestLineHeight\",o[o.suggestOnTriggerCharacters=109]=\"suggestOnTriggerCharacters\",o[o.suggestSelection=110]=\"suggestSelection\",o[o.tabCompletion=111]=\"tabCompletion\",o[o.tabIndex=112]=\"tabIndex\",o[o.unicodeHighlighting=113]=\"unicodeHighlighting\",o[o.unusualLineTerminators=114]=\"unusualLineTerminators\",o[o.useShadowDOM=115]=\"useShadowDOM\",o[o.useTabStops=116]=\"useTabStops\",o[o.wordSeparators=117]=\"wordSeparators\",o[o.wordWrap=118]=\"wordWrap\",o[o.wordWrapBreakAfterCharacters=119]=\"wordWrapBreakAfterCharacters\",o[o.wordWrapBreakBeforeCharacters=120]=\"wordWrapBreakBeforeCharacters\",o[o.wordWrapColumn=121]=\"wordWrapColumn\",o[o.wordWrapOverride1=122]=\"wordWrapOverride1\",o[o.wordWrapOverride2=123]=\"wordWrapOverride2\",o[o.wrappingIndent=124]=\"wrappingIndent\",o[o.wrappingStrategy=125]=\"wrappingStrategy\",o[o.showDeprecated=126]=\"showDeprecated\",o[o.inlayHints=127]=\"inlayHints\",o[o.editorClassName=128]=\"editorClassName\",o[o.pixelRatio=129]=\"pixelRatio\",o[o.tabFocusMode=130]=\"tabFocusMode\",o[o.layoutInfo=131]=\"layoutInfo\",o[o.wrappingInfo=132]=\"wrappingInfo\"})(S$||(S$={}));var x$;(function(o){o[o.TextDefined=0]=\"TextDefined\",o[o.LF=1]=\"LF\",o[o.CRLF=2]=\"CRLF\"})(x$||(x$={}));var E$;(function(o){o[o.LF=0]=\"LF\",o[o.CRLF=1]=\"CRLF\"})(E$||(E$={}));var T$;(function(o){o[o.None=0]=\"None\",o[o.Indent=1]=\"Indent\",o[o.IndentOutdent=2]=\"IndentOutdent\",o[o.Outdent=3]=\"Outdent\"})(T$||(T$={}));var A$;(function(o){o[o.Both=0]=\"Both\",o[o.Right=1]=\"Right\",o[o.Left=2]=\"Left\",o[o.None=3]=\"None\"})(A$||(A$={}));var k$;(function(o){o[o.Type=1]=\"Type\",o[o.Parameter=2]=\"Parameter\"})(k$||(k$={}));var L$;(function(o){o[o.Automatic=0]=\"Automatic\",o[o.Explicit=1]=\"Explicit\"})(L$||(L$={}));var N$;(function(o){o[o.DependsOnKbLayout=-1]=\"DependsOnKbLayout\",o[o.Unknown=0]=\"Unknown\",o[o.Backspace=1]=\"Backspace\",o[o.Tab=2]=\"Tab\",o[o.Enter=3]=\"Enter\",o[o.Shift=4]=\"Shift\",o[o.Ctrl=5]=\"Ctrl\",o[o.Alt=6]=\"Alt\",o[o.PauseBreak=7]=\"PauseBreak\",o[o.CapsLock=8]=\"CapsLock\",o[o.Escape=9]=\"Escape\",o[o.Space=10]=\"Space\",o[o.PageUp=11]=\"PageUp\",o[o.PageDown=12]=\"PageDown\",o[o.End=13]=\"End\",o[o.Home=14]=\"Home\",o[o.LeftArrow=15]=\"LeftArrow\",o[o.UpArrow=16]=\"UpArrow\",o[o.RightArrow=17]=\"RightArrow\",o[o.DownArrow=18]=\"DownArrow\",o[o.Insert=19]=\"Insert\",o[o.Delete=20]=\"Delete\",o[o.Digit0=21]=\"Digit0\",o[o.Digit1=22]=\"Digit1\",o[o.Digit2=23]=\"Digit2\",o[o.Digit3=24]=\"Digit3\",o[o.Digit4=25]=\"Digit4\",o[o.Digit5=26]=\"Digit5\",o[o.Digit6=27]=\"Digit6\",o[o.Digit7=28]=\"Digit7\",o[o.Digit8=29]=\"Digit8\",o[o.Digit9=30]=\"Digit9\",o[o.KeyA=31]=\"KeyA\",o[o.KeyB=32]=\"KeyB\",o[o.KeyC=33]=\"KeyC\",o[o.KeyD=34]=\"KeyD\",o[o.KeyE=35]=\"KeyE\",o[o.KeyF=36]=\"KeyF\",o[o.KeyG=37]=\"KeyG\",o[o.KeyH=38]=\"KeyH\",o[o.KeyI=39]=\"KeyI\",o[o.KeyJ=40]=\"KeyJ\",o[o.KeyK=41]=\"KeyK\",o[o.KeyL=42]=\"KeyL\",o[o.KeyM=43]=\"KeyM\",o[o.KeyN=44]=\"KeyN\",o[o.KeyO=45]=\"KeyO\",o[o.KeyP=46]=\"KeyP\",o[o.KeyQ=47]=\"KeyQ\",o[o.KeyR=48]=\"KeyR\",o[o.KeyS=49]=\"KeyS\",o[o.KeyT=50]=\"KeyT\",o[o.KeyU=51]=\"KeyU\",o[o.KeyV=52]=\"KeyV\",o[o.KeyW=53]=\"KeyW\",o[o.KeyX=54]=\"KeyX\",o[o.KeyY=55]=\"KeyY\",o[o.KeyZ=56]=\"KeyZ\",o[o.Meta=57]=\"Meta\",o[o.ContextMenu=58]=\"ContextMenu\",o[o.F1=59]=\"F1\",o[o.F2=60]=\"F2\",o[o.F3=61]=\"F3\",o[o.F4=62]=\"F4\",o[o.F5=63]=\"F5\",o[o.F6=64]=\"F6\",o[o.F7=65]=\"F7\",o[o.F8=66]=\"F8\",o[o.F9=67]=\"F9\",o[o.F10=68]=\"F10\",o[o.F11=69]=\"F11\",o[o.F12=70]=\"F12\",o[o.F13=71]=\"F13\",o[o.F14=72]=\"F14\",o[o.F15=73]=\"F15\",o[o.F16=74]=\"F16\",o[o.F17=75]=\"F17\",o[o.F18=76]=\"F18\",o[o.F19=77]=\"F19\",o[o.NumLock=78]=\"NumLock\",o[o.ScrollLock=79]=\"ScrollLock\",o[o.Semicolon=80]=\"Semicolon\",o[o.Equal=81]=\"Equal\",o[o.Comma=82]=\"Comma\",o[o.Minus=83]=\"Minus\",o[o.Period=84]=\"Period\",o[o.Slash=85]=\"Slash\",o[o.Backquote=86]=\"Backquote\",o[o.BracketLeft=87]=\"BracketLeft\",o[o.Backslash=88]=\"Backslash\",o[o.BracketRight=89]=\"BracketRight\",o[o.Quote=90]=\"Quote\",o[o.OEM_8=91]=\"OEM_8\",o[o.IntlBackslash=92]=\"IntlBackslash\",o[o.Numpad0=93]=\"Numpad0\",o[o.Numpad1=94]=\"Numpad1\",o[o.Numpad2=95]=\"Numpad2\",o[o.Numpad3=96]=\"Numpad3\",o[o.Numpad4=97]=\"Numpad4\",o[o.Numpad5=98]=\"Numpad5\",o[o.Numpad6=99]=\"Numpad6\",o[o.Numpad7=100]=\"Numpad7\",o[o.Numpad8=101]=\"Numpad8\",o[o.Numpad9=102]=\"Numpad9\",o[o.NumpadMultiply=103]=\"NumpadMultiply\",o[o.NumpadAdd=104]=\"NumpadAdd\",o[o.NUMPAD_SEPARATOR=105]=\"NUMPAD_SEPARATOR\",o[o.NumpadSubtract=106]=\"NumpadSubtract\",o[o.NumpadDecimal=107]=\"NumpadDecimal\",o[o.NumpadDivide=108]=\"NumpadDivide\",o[o.KEY_IN_COMPOSITION=109]=\"KEY_IN_COMPOSITION\",o[o.ABNT_C1=110]=\"ABNT_C1\",o[o.ABNT_C2=111]=\"ABNT_C2\",o[o.AudioVolumeMute=112]=\"AudioVolumeMute\",o[o.AudioVolumeUp=113]=\"AudioVolumeUp\",o[o.AudioVolumeDown=114]=\"AudioVolumeDown\",o[o.BrowserSearch=115]=\"BrowserSearch\",o[o.BrowserHome=116]=\"BrowserHome\",o[o.BrowserBack=117]=\"BrowserBack\",o[o.BrowserForward=118]=\"BrowserForward\",o[o.MediaTrackNext=119]=\"MediaTrackNext\",o[o.MediaTrackPrevious=120]=\"MediaTrackPrevious\",o[o.MediaStop=121]=\"MediaStop\",o[o.MediaPlayPause=122]=\"MediaPlayPause\",o[o.LaunchMediaPlayer=123]=\"LaunchMediaPlayer\",o[o.LaunchMail=124]=\"LaunchMail\",o[o.LaunchApp2=125]=\"LaunchApp2\",o[o.Clear=126]=\"Clear\",o[o.MAX_VALUE=127]=\"MAX_VALUE\"})(N$||(N$={}));var I$;(function(o){o[o.Hint=1]=\"Hint\",o[o.Info=2]=\"Info\",o[o.Warning=4]=\"Warning\",o[o.Error=8]=\"Error\"})(I$||(I$={}));var F$;(function(o){o[o.Unnecessary=1]=\"Unnecessary\",o[o.Deprecated=2]=\"Deprecated\"})(F$||(F$={}));var P$;(function(o){o[o.Inline=1]=\"Inline\",o[o.Gutter=2]=\"Gutter\"})(P$||(P$={}));var O$;(function(o){o[o.UNKNOWN=0]=\"UNKNOWN\",o[o.TEXTAREA=1]=\"TEXTAREA\",o[o.GUTTER_GLYPH_MARGIN=2]=\"GUTTER_GLYPH_MARGIN\",o[o.GUTTER_LINE_NUMBERS=3]=\"GUTTER_LINE_NUMBERS\",o[o.GUTTER_LINE_DECORATIONS=4]=\"GUTTER_LINE_DECORATIONS\",o[o.GUTTER_VIEW_ZONE=5]=\"GUTTER_VIEW_ZONE\",o[o.CONTENT_TEXT=6]=\"CONTENT_TEXT\",o[o.CONTENT_EMPTY=7]=\"CONTENT_EMPTY\",o[o.CONTENT_VIEW_ZONE=8]=\"CONTENT_VIEW_ZONE\",o[o.CONTENT_WIDGET=9]=\"CONTENT_WIDGET\",o[o.OVERVIEW_RULER=10]=\"OVERVIEW_RULER\",o[o.SCROLLBAR=11]=\"SCROLLBAR\",o[o.OVERLAY_WIDGET=12]=\"OVERLAY_WIDGET\",o[o.OUTSIDE_EDITOR=13]=\"OUTSIDE_EDITOR\"})(O$||(O$={}));var M$;(function(o){o[o.TOP_RIGHT_CORNER=0]=\"TOP_RIGHT_CORNER\",o[o.BOTTOM_RIGHT_CORNER=1]=\"BOTTOM_RIGHT_CORNER\",o[o.TOP_CENTER=2]=\"TOP_CENTER\"})(M$||(M$={}));var R$;(function(o){o[o.Left=1]=\"Left\",o[o.Center=2]=\"Center\",o[o.Right=4]=\"Right\",o[o.Full=7]=\"Full\"})(R$||(R$={}));var B$;(function(o){o[o.Left=0]=\"Left\",o[o.Right=1]=\"Right\",o[o.None=2]=\"None\"})(B$||(B$={}));var j$;(function(o){o[o.Off=0]=\"Off\",o[o.On=1]=\"On\",o[o.Relative=2]=\"Relative\",o[o.Interval=3]=\"Interval\",o[o.Custom=4]=\"Custom\"})(j$||(j$={}));var W$;(function(o){o[o.None=0]=\"None\",o[o.Text=1]=\"Text\",o[o.Blocks=2]=\"Blocks\"})(W$||(W$={}));var V$;(function(o){o[o.Smooth=0]=\"Smooth\",o[o.Immediate=1]=\"Immediate\"})(V$||(V$={}));var H$;(function(o){o[o.Auto=1]=\"Auto\",o[o.Hidden=2]=\"Hidden\",o[o.Visible=3]=\"Visible\"})(H$||(H$={}));var $$;(function(o){o[o.LTR=0]=\"LTR\",o[o.RTL=1]=\"RTL\"})($$||($$={}));var z$;(function(o){o[o.Invoke=1]=\"Invoke\",o[o.TriggerCharacter=2]=\"TriggerCharacter\",o[o.ContentChange=3]=\"ContentChange\"})(z$||(z$={}));var U$;(function(o){o[o.File=0]=\"File\",o[o.Module=1]=\"Module\",o[o.Namespace=2]=\"Namespace\",o[o.Package=3]=\"Package\",o[o.Class=4]=\"Class\",o[o.Method=5]=\"Method\",o[o.Property=6]=\"Property\",o[o.Field=7]=\"Field\",o[o.Constructor=8]=\"Constructor\",o[o.Enum=9]=\"Enum\",o[o.Interface=10]=\"Interface\",o[o.Function=11]=\"Function\",o[o.Variable=12]=\"Variable\",o[o.Constant=13]=\"Constant\",o[o.String=14]=\"String\",o[o.Number=15]=\"Number\",o[o.Boolean=16]=\"Boolean\",o[o.Array=17]=\"Array\",o[o.Object=18]=\"Object\",o[o.Key=19]=\"Key\",o[o.Null=20]=\"Null\",o[o.EnumMember=21]=\"EnumMember\",o[o.Struct=22]=\"Struct\",o[o.Event=23]=\"Event\",o[o.Operator=24]=\"Operator\",o[o.TypeParameter=25]=\"TypeParameter\"})(U$||(U$={}));var K$;(function(o){o[o.Deprecated=1]=\"Deprecated\"})(K$||(K$={}));var q$;(function(o){o[o.Hidden=0]=\"Hidden\",o[o.Blink=1]=\"Blink\",o[o.Smooth=2]=\"Smooth\",o[o.Phase=3]=\"Phase\",o[o.Expand=4]=\"Expand\",o[o.Solid=5]=\"Solid\"})(q$||(q$={}));var G$;(function(o){o[o.Line=1]=\"Line\",o[o.Block=2]=\"Block\",o[o.Underline=3]=\"Underline\",o[o.LineThin=4]=\"LineThin\",o[o.BlockOutline=5]=\"BlockOutline\",o[o.UnderlineThin=6]=\"UnderlineThin\"})(G$||(G$={}));var J$;(function(o){o[o.AlwaysGrowsWhenTypingAtEdges=0]=\"AlwaysGrowsWhenTypingAtEdges\",o[o.NeverGrowsWhenTypingAtEdges=1]=\"NeverGrowsWhenTypingAtEdges\",o[o.GrowsOnlyWhenTypingBefore=2]=\"GrowsOnlyWhenTypingBefore\",o[o.GrowsOnlyWhenTypingAfter=3]=\"GrowsOnlyWhenTypingAfter\"})(J$||(J$={}));var Y$;(function(o){o[o.None=0]=\"None\",o[o.Same=1]=\"Same\",o[o.Indent=2]=\"Indent\",o[o.DeepIndent=3]=\"DeepIndent\"})(Y$||(Y$={}));class XL{static chord(e,t){return vh(e,t)}}XL.CtrlCmd=2048;XL.Shift=1024;XL.Alt=512;XL.WinCtrl=256;function Xle(){return{editor:void 0,languages:void 0,CancellationTokenSource:Xh,Emitter:ri,KeyCode:N$,KeyMod:XL,Position:Ii,Range:He,Selection:oo,SelectionDirection:$$,MarkerSeverity:I$,MarkerTag:F$,Uri:wa,Token:O3}}class tAe{constructor(e){this.computeFn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){const t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.computeFn(e)),this.lastCache}}class eE{constructor(e){this.executor=e,this._didRun=!1}getValue(){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 Qle;function Zle(o){return!o||typeof o!=\"string\"?!0:o.trim().length===0}const nAe=/{(\\d+)}/g;function wg(o,...e){return e.length===0?o:o.replace(nAe,function(t,n){const i=parseInt(n,10);return isNaN(i)||i<0||i>=e.length?t:e[i]})}function Nq(o){return o.replace(/[<>&]/g,function(e){switch(e){case\"<\":return\"&lt;\";case\">\":return\"&gt;\";case\"&\":return\"&amp;\";default:return e}})}function Ng(o){return o.replace(/[\\\\\\{\\}\\*\\+\\?\\|\\^\\$\\.\\[\\]\\(\\)]/g,\"\\\\$&\")}function iAe(o,e=\" \"){const t=Iq(o,e);return eue(t,e)}function Iq(o,e){if(!o||!e)return o;const t=e.length;if(t===0||o.length===0)return o;let n=0;for(;o.indexOf(e,n)===n;)n=n+t;return o.substring(n)}function eue(o,e){if(!o||!e)return o;const t=e.length,n=o.length;if(t===0||n===0)return o;let i=n,s=-1;for(;s=o.lastIndexOf(e,i-1),!(s===-1||s+t!==i);){if(s===0)return\"\";i=s}return o.substring(0,i)}function rAe(o){return o.replace(/[\\-\\\\\\{\\}\\+\\?\\|\\^\\$\\.\\,\\[\\]\\(\\)\\#\\s]/g,\"\\\\$&\").replace(/[\\*]/g,\".*\")}function sAe(o){return o.replace(/\\*/g,\"\")}function tue(o,e,t={}){if(!o)throw new Error(\"Cannot create regex from empty string\");e||(o=Ng(o)),t.wholeWord&&(/\\B/.test(o.charAt(0))||(o=\"\\\\b\"+o),/\\B/.test(o.charAt(o.length-1))||(o=o+\"\\\\b\"));let n=\"\";return t.global&&(n+=\"g\"),t.matchCase||(n+=\"i\"),t.multiline&&(n+=\"m\"),t.unicode&&(n+=\"u\"),new RegExp(o,n)}function oAe(o){return o.source===\"^\"||o.source===\"^$\"||o.source===\"$\"||o.source===\"^\\\\s*$\"?!1:!!(o.exec(\"\")&&o.lastIndex===0)}function UW(o){return(o.global?\"g\":\"\")+(o.ignoreCase?\"i\":\"\")+(o.multiline?\"m\":\"\")+(o.unicode?\"u\":\"\")}function G1(o){return o.split(/\\r\\n|\\r|\\n/)}function pf(o){for(let e=0,t=o.length;e<t;e++){const n=o.charCodeAt(e);if(n!==32&&n!==9)return e}return-1}function Mu(o,e=0,t=o.length){for(let n=e;n<t;n++){const i=o.charCodeAt(n);if(i!==32&&i!==9)return o.substring(e,n)}return o.substring(e,t)}function V1(o,e=o.length-1){for(let t=e;t>=0;t--){const n=o.charCodeAt(t);if(n!==32&&n!==9)return t}return-1}function B3(o,e){return o<e?-1:o>e?1:0}function Fq(o,e,t=0,n=o.length,i=0,s=e.length){for(;t<n&&i<s;t++,i++){let u=o.charCodeAt(t),d=e.charCodeAt(i);if(u<d)return-1;if(u>d)return 1}const a=n-t,l=s-i;return a<l?-1:a>l?1:0}function X$(o,e){return QL(o,e,0,o.length,0,e.length)}function QL(o,e,t=0,n=o.length,i=0,s=e.length){for(;t<n&&i<s;t++,i++){let u=o.charCodeAt(t),d=e.charCodeAt(i);if(u===d)continue;if(u>=128||d>=128)return Fq(o.toLowerCase(),e.toLowerCase(),t,n,i,s);Av(u)&&(u-=32),Av(d)&&(d-=32);const h=u-d;if(h!==0)return h}const a=n-t,l=s-i;return a<l?-1:a>l?1:0}function Av(o){return o>=97&&o<=122}function D1(o){return o>=65&&o<=90}function gx(o,e){return o.length===e.length&&QL(o,e)===0}function Pq(o,e){const t=e.length;return e.length>o.length?!1:QL(o,e,0,t)===0}function tE(o,e){let t,n=Math.min(o.length,e.length);for(t=0;t<n;t++)if(o.charCodeAt(t)!==e.charCodeAt(t))return t;return n}function W8(o,e){let t,n=Math.min(o.length,e.length);const i=o.length-1,s=e.length-1;for(t=0;t<n;t++)if(o.charCodeAt(i-t)!==e.charCodeAt(s-t))return t;return n}function eh(o){return 55296<=o&&o<=56319}function DD(o){return 56320<=o&&o<=57343}function Oq(o,e){return(o-55296<<10)+(e-56320)+65536}function V8(o,e,t){const n=o.charCodeAt(t);if(eh(n)&&t+1<e){const i=o.charCodeAt(t+1);if(DD(i))return Oq(n,i)}return n}function aAe(o,e){const t=o.charCodeAt(e-1);if(DD(t)&&e>1){const n=o.charCodeAt(e-2);if(eh(n))return Oq(n,t)}return t}class Mq{constructor(e,t=0){this._str=e,this._len=e.length,this._offset=t}get offset(){return this._offset}setOffset(e){this._offset=e}prevCodePoint(){const e=aAe(this._str,this._offset);return this._offset-=e>=65536?2:1,e}nextCodePoint(){const e=V8(this._str,this._len,this._offset);return this._offset+=e>=65536?2:1,e}eol(){return this._offset>=this._len}}class H8{constructor(e,t=0){this._iterator=new Mq(e,t)}get offset(){return this._iterator.offset}nextGraphemeLength(){const e=kv.getInstance(),t=this._iterator,n=t.offset;let i=e.getGraphemeBreakType(t.nextCodePoint());for(;!t.eol();){const s=t.offset,a=e.getGraphemeBreakType(t.nextCodePoint());if($ie(i,a)){t.setOffset(s);break}i=a}return t.offset-n}prevGraphemeLength(){const e=kv.getInstance(),t=this._iterator,n=t.offset;let i=e.getGraphemeBreakType(t.prevCodePoint());for(;t.offset>0;){const s=t.offset,a=e.getGraphemeBreakType(t.prevCodePoint());if($ie(a,i)){t.setOffset(s);break}i=a}return n-t.offset}eol(){return this._iterator.eol()}}function Rq(o,e){return new H8(o,e).nextGraphemeLength()}function nue(o,e){return new H8(o,e).prevGraphemeLength()}function lAe(o,e){e>0&&DD(o.charCodeAt(e))&&e--;const t=e+Rq(o,e);return[t-nue(o,t),t]}const uAe=/(?:[\\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 bP(o){return uAe.test(o)}const cAe=/^[\\t\\n\\r\\x20-\\x7E]*$/;function vP(o){return cAe.test(o)}const iue=/[\\u2028\\u2029]/;function rue(o){return iue.test(o)}function Qv(o){return o>=11904&&o<=55215||o>=63744&&o<=64255||o>=65281&&o<=65374}function Bq(o){return o>=127462&&o<=127487||o===8986||o===8987||o===9200||o===9203||o>=9728&&o<=10175||o===11088||o===11093||o>=127744&&o<=128591||o>=128640&&o<=128764||o>=128992&&o<=129008||o>=129280&&o<=129535||o>=129648&&o<=129782}const dAe=String.fromCharCode(65279);function jq(o){return!!(o&&o.length>0&&o.charCodeAt(0)===65279)}function hAe(o,e=!1){return o?(e&&(o=o.replace(/\\\\./g,\"\")),o.toLowerCase()!==o):!1}function sue(o){return o=o%(2*26),o<26?String.fromCharCode(97+o):String.fromCharCode(65+o-26)}function $ie(o,e){return o===0?e!==5&&e!==7:o===2&&e===3?!1:o===4||o===2||o===3||e===4||e===2||e===3?!0:!(o===8&&(e===8||e===9||e===11||e===12)||(o===11||o===9)&&(e===9||e===10)||(o===12||o===10)&&e===10||e===5||e===13||e===7||o===1||o===13&&e===14||o===6&&e===6)}class kv{constructor(){this._data=pAe()}static getInstance(){return kv._INSTANCE||(kv._INSTANCE=new kv),kv._INSTANCE}getGraphemeBreakType(e){if(e<32)return e===10?3:e===13?2:4;if(e<127)return 0;const t=this._data,n=t.length/3;let i=1;for(;i<=n;)if(e<t[3*i])i=2*i;else if(e>t[3*i+1])i=2*i+1;else return t[3*i+2];return 0}}kv._INSTANCE=null;function pAe(){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 fAe(o,e){if(o===0)return 0;const t=_Ae(o,e);if(t!==void 0)return t;const n=new Mq(e,o);return n.prevCodePoint(),n.offset}function _Ae(o,e){const t=new Mq(e,o);let n=t.prevCodePoint();for(;gAe(n)||n===65039||n===8419;){if(t.offset===0)return;n=t.prevCodePoint()}if(!Bq(n))return;let i=t.offset;return i>0&&t.prevCodePoint()===8205&&(i=t.offset),i}function gAe(o){return 127995<=o&&o<=127999}const mAe=\"\\xA0\";class Tm{constructor(e){this.confusableDictionary=e}static getInstance(e){return Tm.cache.get(Array.from(e))}static getLocales(){return Tm._locales.getValue()}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}Qle=Tm;Tm.ambiguousCharacterData=new eE(()=>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],\"_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]}'));Tm.cache=new tAe(o=>{function e(d){const h=new Map;for(let p=0;p<d.length;p+=2)h.set(d[p],d[p+1]);return h}function t(d,h){const p=new Map(d);for(const[g,y]of h)p.set(g,y);return p}function n(d,h){if(!d)return h;const p=new Map;for(const[g,y]of d)h.has(g)&&p.set(g,y);return p}const i=Qle.ambiguousCharacterData.getValue();let s=o.filter(d=>!d.startsWith(\"_\")&&d in i);s.length===0&&(s=[\"_default\"]);let a;for(const d of s){const h=e(i[d]);a=n(a,h)}const l=e(i._common),u=t(l,a);return new Tm(u)});Tm._locales=new eE(()=>Object.keys(Tm.ambiguousCharacterData.getValue()).filter(o=>!o.startsWith(\"_\")));class H1{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(H1.getRawData())),this._data}static isInvisibleCharacter(e){return H1.getData().has(e)}static get codePoints(){return H1.getData()}}H1._data=void 0;class Q${constructor(){this._zoomFactor=1}getZoomFactor(){return this._zoomFactor}}Q$.INSTANCE=new Q$;class yAe extends fr{constructor(){super(),this._onDidChange=this._register(new ri),this.onDidChange=this._onDidChange.event,this._listener=()=>this._handleChange(!0),this._mediaQueryList=null,this._handleChange(!1)}_handleChange(e){this._mediaQueryList&&this._mediaQueryList.removeEventListener(\"change\",this._listener),this._mediaQueryList=matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`),this._mediaQueryList.addEventListener(\"change\",this._listener),e&&this._onDidChange.fire()}}class bAe extends fr{constructor(){super(),this._onDidChange=this._register(new ri),this.onDidChange=this._onDidChange.event,this._value=this._getPixelRatio();const e=this._register(new yAe);this._register(e.onDidChange(()=>{this._value=this._getPixelRatio(),this._onDidChange.fire(this._value)}))}get value(){return this._value}_getPixelRatio(){const e=document.createElement(\"canvas\").getContext(\"2d\"),t=window.devicePixelRatio||1,n=e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return t/n}}class vAe{constructor(){this._pixelRatioMonitor=null}_getOrCreatePixelRatioMonitor(){return this._pixelRatioMonitor||(this._pixelRatioMonitor=new bAe),this._pixelRatioMonitor}get value(){return this._getOrCreatePixelRatioMonitor().value}get onDidChange(){return this._getOrCreatePixelRatioMonitor().onDidChange}}const nE=new vAe;function oue(){return Q$.INSTANCE.getZoomFactor()}const WE=navigator.userAgent,J_=WE.indexOf(\"Firefox\")>=0,Rv=WE.indexOf(\"AppleWebKit\")>=0,Wq=WE.indexOf(\"Chrome\")>=0,Am=!Wq&&WE.indexOf(\"Safari\")>=0,Vq=!Wq&&!Am&&Rv,CAe=WE.indexOf(\"Electron/\")>=0,aue=WE.indexOf(\"Android\")>=0,Hq=window.matchMedia&&window.matchMedia(\"(display-mode: standalone)\").matches;var DAe=Object.freeze(Object.defineProperty({__proto__:null,PixelRatio:nE,getZoomFactor:oue,isFirefox:J_,isWebKit:Rv,isChrome:Wq,isSafari:Am,isWebkitWebView:Vq,isElectron:CAe,isAndroid:aue,isStandalone:Hq},Symbol.toStringTag,{value:\"Module\"}));class lue{constructor(e){this.domNode=e,this._maxWidth=-1,this._width=-1,this._height=-1,this._top=-1,this._left=-1,this._bottom=-1,this._right=-1,this._fontFamily=\"\",this._fontWeight=\"\",this._fontSize=-1,this._fontStyle=\"\",this._fontFeatureSettings=\"\",this._textDecoration=\"\",this._lineHeight=-1,this._letterSpacing=-100,this._className=\"\",this._display=\"\",this._position=\"\",this._visibility=\"\",this._color=\"\",this._backgroundColor=\"\",this._layerHint=!1,this._contain=\"none\",this._boxShadow=\"\"}setMaxWidth(e){this._maxWidth!==e&&(this._maxWidth=e,this.domNode.style.maxWidth=this._maxWidth+\"px\")}setWidth(e){this._width!==e&&(this._width=e,this.domNode.style.width=this._width+\"px\")}setHeight(e){this._height!==e&&(this._height=e,this.domNode.style.height=this._height+\"px\")}setTop(e){this._top!==e&&(this._top=e,this.domNode.style.top=this._top+\"px\")}unsetTop(){this._top!==-1&&(this._top=-1,this.domNode.style.top=\"\")}setLeft(e){this._left!==e&&(this._left=e,this.domNode.style.left=this._left+\"px\")}setBottom(e){this._bottom!==e&&(this._bottom=e,this.domNode.style.bottom=this._bottom+\"px\")}setRight(e){this._right!==e&&(this._right=e,this.domNode.style.right=this._right+\"px\")}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){this._fontSize!==e&&(this._fontSize=e,this.domNode.style.fontSize=this._fontSize+\"px\")}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)}setTextDecoration(e){this._textDecoration!==e&&(this._textDecoration=e,this.domNode.style.textDecoration=this._textDecoration)}setLineHeight(e){this._lineHeight!==e&&(this._lineHeight=e,this.domNode.style.lineHeight=this._lineHeight+\"px\")}setLetterSpacing(e){this._letterSpacing!==e&&(this._letterSpacing=e,this.domNode.style.letterSpacing=this._letterSpacing+\"px\")}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 ru(o){return new lue(o)}function bp(o,e){o instanceof lue?(o.setFontFamily(e.getMassagedFontFamily(Am?Rp.fontFamily:null)),o.setFontWeight(e.fontWeight),o.setFontSize(e.fontSize),o.setFontFeatureSettings(e.fontFeatureSettings),o.setLineHeight(e.lineHeight),o.setLetterSpacing(e.letterSpacing)):(o.style.fontFamily=e.getMassagedFontFamily(Am?Rp.fontFamily:null),o.style.fontWeight=e.fontWeight,o.style.fontSize=e.fontSize+\"px\",o.style.fontFeatureSettings=e.fontFeatureSettings,o.style.lineHeight=e.lineHeight+\"px\",o.style.letterSpacing=e.letterSpacing+\"px\")}class wAe{constructor(e,t){this.chr=e,this.type=t,this.width=0}fulfill(e){this.width=e}}class $q{constructor(e,t){this._bareFontInfo=e,this._requests=t,this._container=null,this._testElements=null}read(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),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\");bp(t,this._bareFontInfo),e.appendChild(t);const n=document.createElement(\"div\");bp(n,this._bareFontInfo),n.style.fontWeight=\"bold\",e.appendChild(n);const i=document.createElement(\"div\");bp(i,this._bareFontInfo),i.style.fontStyle=\"italic\",e.appendChild(i);const s=[];for(const a of this._requests){let l;a.type===0&&(l=t),a.type===2&&(l=n),a.type===1&&(l=i),l.appendChild(document.createElement(\"br\"));const u=document.createElement(\"span\");$q._render(u,a),l.appendChild(u),s.push(u)}this._container=e,this._testElements=s}static _render(e,t){if(t.chr===\" \"){let n=\"\\xA0\";for(let i=0;i<8;i++)n+=n;e.innerText=n}else{let n=t.chr;for(let i=0;i<8;i++)n+=n;e.textContent=n}}_readFromDomElements(){for(let e=0,t=this._requests.length;e<t;e++){const n=this._requests[e],i=this._testElements[e];n.fulfill(i.offsetWidth/256)}}}function SAe(o,e){new $q(o,e).read()}const Sb=new class{constructor(){this._zoomLevel=0,this._onDidChangeZoomLevel=new ri,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(o){o=Math.min(Math.max(-5,o),20),this._zoomLevel!==o&&(this._zoomLevel=o,this._onDidChangeZoomLevel.fire(this._zoomLevel))}},xAe=El?1.5:1.35,KW=8;class sD{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.lineHeight=e.lineHeight|0,this.letterSpacing=e.letterSpacing}static createFromValidatedSettings(e,t,n){const i=e.get(43),s=e.get(47),a=e.get(46),l=e.get(45),u=e.get(59),d=e.get(56);return sD._create(i,s,a,l,u,d,t,n)}static _create(e,t,n,i,s,a,l,u){s===0?s=xAe*n:s<KW&&(s=s*n),s=Math.round(s),s<KW&&(s=KW);const d=1+(u?0:Sb.getZoomLevel()*.1);return n*=d,s*=d,new sD({pixelRatio:l,fontFamily:e,fontWeight:t,fontSize:n,fontFeatureSettings:i,lineHeight:s,letterSpacing:a})}getId(){return`${this.pixelRatio}-${this.fontFamily}-${this.fontWeight}-${this.fontSize}-${this.fontFeatureSettings}-${this.lineHeight}-${this.letterSpacing}`}getMassagedFontFamily(e){const t=sD._wrapInQuotes(this.fontFamily);return e&&this.fontFamily!==e?`${t}, ${e}`:t}static _wrapInQuotes(e){return/[,\"']/.test(e)?e:/[+ ]/.test(e)?`\"${e}\"`:e}}const EAe=1;class Z$ extends sD{constructor(e,t){super(e),this._editorStylingBrand=void 0,this.version=EAe,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.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 TAe extends fr{constructor(){super(),this._onDidChange=this._register(new ri),this.onDidChange=this._onDidChange.event,this._cache=new zie,this._evictUntrustedReadingsTimeout=-1}dispose(){this._evictUntrustedReadingsTimeout!==-1&&(window.clearTimeout(this._evictUntrustedReadingsTimeout),this._evictUntrustedReadingsTimeout=-1),super.dispose()}clearAllFontInfos(){this._cache=new zie,this._onDidChange.fire()}_writeToCache(e,t){this._cache.put(e,t),!t.isTrusted&&this._evictUntrustedReadingsTimeout===-1&&(this._evictUntrustedReadingsTimeout=window.setTimeout(()=>{this._evictUntrustedReadingsTimeout=-1,this._evictUntrustedReadings()},5e3))}_evictUntrustedReadings(){const e=this._cache.getValues();let t=!1;for(const n of e)n.isTrusted||(t=!0,this._cache.remove(n));t&&this._onDidChange.fire()}readFontInfo(e){if(!this._cache.has(e)){let t=this._actualReadFontInfo(e);(t.typicalHalfwidthCharacterWidth<=2||t.typicalFullwidthCharacterWidth<=2||t.spaceWidth<=2||t.maxDigitWidth<=2)&&(t=new Z$({pixelRatio:nE.value,fontFamily:t.fontFamily,fontWeight:t.fontWeight,fontSize:t.fontSize,fontFeatureSettings:t.fontFeatureSettings,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing,isMonospace:t.isMonospace,typicalHalfwidthCharacterWidth:Math.max(t.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(t.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:t.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(t.spaceWidth,5),middotWidth:Math.max(t.middotWidth,5),wsmiddotWidth:Math.max(t.wsmiddotWidth,5),maxDigitWidth:Math.max(t.maxDigitWidth,5)},!1)),this._writeToCache(e,t)}return this._cache.get(e)}_createRequest(e,t,n,i){const s=new wAe(e,t);return n.push(s),i&&i.push(s),s}_actualReadFontInfo(e){const t=[],n=[],i=this._createRequest(\"n\",0,t,n),s=this._createRequest(\"\\uFF4D\",0,t,null),a=this._createRequest(\" \",0,t,n),l=this._createRequest(\"0\",0,t,n),u=this._createRequest(\"1\",0,t,n),d=this._createRequest(\"2\",0,t,n),h=this._createRequest(\"3\",0,t,n),p=this._createRequest(\"4\",0,t,n),g=this._createRequest(\"5\",0,t,n),y=this._createRequest(\"6\",0,t,n),D=this._createRequest(\"7\",0,t,n),T=this._createRequest(\"8\",0,t,n),k=this._createRequest(\"9\",0,t,n),I=this._createRequest(\"\\u2192\",0,t,n),F=this._createRequest(\"\\uFFEB\",0,t,null),q=this._createRequest(\"\\xB7\",0,t,n),re=this._createRequest(String.fromCharCode(11825),0,t,null),Ie=\"|/-_ilm%\";for(let gi=0,ai=Ie.length;gi<ai;gi++)this._createRequest(Ie.charAt(gi),0,t,n),this._createRequest(Ie.charAt(gi),1,t,n),this._createRequest(Ie.charAt(gi),2,t,n);SAe(e,t);const mt=Math.max(l.width,u.width,d.width,h.width,p.width,g.width,y.width,D.width,T.width,k.width);let Le=e.fontFeatureSettings===j_.OFF;const Ge=n[0].width;for(let gi=1,ai=n.length;Le&&gi<ai;gi++){const Tr=Ge-n[gi].width;if(Tr<-.001||Tr>.001){Le=!1;break}}let qt=!0;return Le&&F.width!==Ge&&(qt=!1),F.width>I.width&&(qt=!1),new Z$({pixelRatio:nE.value,fontFamily:e.fontFamily,fontWeight:e.fontWeight,fontSize:e.fontSize,fontFeatureSettings:e.fontFeatureSettings,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing,isMonospace:Le,typicalHalfwidthCharacterWidth:i.width,typicalFullwidthCharacterWidth:s.width,canUseHalfwidthRightwardsArrow:qt,spaceWidth:a.width,middotWidth:q.width,wsmiddotWidth:re.width,maxDigitWidth:mt},!0)}}class zie{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 n=e.getId();this._keys[n]=e,this._values[n]=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 ez=new TAe;var c0;(function(o){o.serviceIds=new Map,o.DI_TARGET=\"$di$target\",o.DI_DEPENDENCIES=\"$di$dependencies\";function e(t){return t[o.DI_DEPENDENCIES]||[]}o.getServiceDependencies=e})(c0||(c0={}));const Nl=zl(\"instantiationService\");function AAe(o,e,t){e[c0.DI_TARGET]===e?e[c0.DI_DEPENDENCIES].push({id:o,index:t}):(e[c0.DI_DEPENDENCIES]=[{id:o,index:t}],e[c0.DI_TARGET]=e)}function zl(o){if(c0.serviceIds.has(o))return c0.serviceIds.get(o);const e=function(t,n,i){if(arguments.length!==3)throw new Error(\"@IServiceName-decorator can only be used to decorate a parameter\");AAe(e,t,i)};return e.toString=()=>o,c0.serviceIds.set(o,e),e}const Eu=zl(\"codeEditorService\");function Q5(o,e){if(!o)throw new Error(e?`Assertion failed (${e})`:\"Assertion Failed\")}const kAe={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0};class LAe extends fr{constructor(e,t={}){super(),this._onDidUpdate=this._register(new ri),this._editor=e,this._options=iy(t,kAe,!1),this.disposed=!1,this.nextIdx=-1,this.ranges=[],this.ignoreSelectionChange=!1,this.revealFirst=Boolean(this._options.alwaysRevealFirst),this._register(this._editor.onDidDispose(()=>this.dispose())),this._register(this._editor.onDidUpdateDiff(()=>this._onDiffUpdated())),this._options.followsCaret&&this._register(this._editor.getModifiedEditor().onDidChangeCursorPosition(n=>{this.ignoreSelectionChange||(this.nextIdx=-1)})),this._options.alwaysRevealFirst&&this._register(this._editor.getModifiedEditor().onDidChangeModel(n=>{this.revealFirst=!0})),this._init()}_init(){this._editor.getLineChanges()}_onDiffUpdated(){this._init(),this._compute(this._editor.getLineChanges()),this.revealFirst&&this._editor.getLineChanges()!==null&&(this.revealFirst=!1,this.nextIdx=-1,this.next(1))}_compute(e){this.ranges=[],e&&e.forEach(t=>{!this._options.ignoreCharChanges&&t.charChanges?t.charChanges.forEach(n=>{this.ranges.push({rhs:!0,range:new He(n.modifiedStartLineNumber,n.modifiedStartColumn,n.modifiedEndLineNumber,n.modifiedEndColumn)})}):t.modifiedEndLineNumber===0?this.ranges.push({rhs:!0,range:new He(t.modifiedStartLineNumber,1,t.modifiedStartLineNumber+1,1)}):this.ranges.push({rhs:!0,range:new He(t.modifiedStartLineNumber,1,t.modifiedEndLineNumber+1,1)})}),this.ranges.sort((t,n)=>He.compareRangesUsingStarts(t.range,n.range)),this._onDidUpdate.fire(this)}_initIdx(e){let t=!1;const n=this._editor.getPosition();if(!n){this.nextIdx=0;return}for(let i=0,s=this.ranges.length;i<s&&!t;i++){const a=this.ranges[i].range;n.isBeforeOrEqual(a.getStartPosition())&&(this.nextIdx=i+(e?0:-1),t=!0)}t||(this.nextIdx=e?0:this.ranges.length-1),this.nextIdx<0&&(this.nextIdx=this.ranges.length-1)}_move(e,t){if(Q5(!this.disposed,\"Illegal State - diff navigator has been disposed\"),!this.canNavigate())return;this.nextIdx===-1?this._initIdx(e):e?(this.nextIdx+=1,this.nextIdx>=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));const n=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{const i=n.range.getStartPosition();this._editor.setPosition(i),this._editor.revealRangeInCenter(n.range,t)}finally{this.ignoreSelectionChange=!1}}canNavigate(){return this.ranges&&this.ranges.length>0}next(e=0){this._move(!0,e)}previous(e=0){this._move(!1,e)}dispose(){super.dispose(),this.ranges=[],this.disposed=!0}}const ZL={ICodeEditor:\"vs.editor.ICodeEditor\",IDiffEditor:\"vs.editor.IDiffEditor\"};var Ig;(function(o){o[o.Left=1]=\"Left\",o[o.Center=2]=\"Center\",o[o.Right=4]=\"Right\",o[o.Full=7]=\"Full\"})(Ig||(Ig={}));var Tg;(function(o){o[o.Inline=1]=\"Inline\",o[o.Gutter=2]=\"Gutter\"})(Tg||(Tg={}));var P1;(function(o){o[o.Both=0]=\"Both\",o[o.Right=1]=\"Right\",o[o.Left=2]=\"Left\",o[o.None=3]=\"None\"})(P1||(P1={}));class Z5{constructor(e){this._textModelResolvedOptionsBrand=void 0,this.tabSize=Math.max(1,e.tabSize|0),this.indentSize=e.tabSize|0,this.insertSpaces=Boolean(e.insertSpaces),this.defaultEOL=e.defaultEOL|0,this.trimAutoWhitespace=Boolean(e.trimAutoWhitespace),this.bracketPairColorizationOptions=e.bracketPairColorizationOptions}equals(e){return this.tabSize===e.tabSize&&this.indentSize===e.indentSize&&this.insertSpaces===e.insertSpaces&&this.defaultEOL===e.defaultEOL&&this.trimAutoWhitespace===e.trimAutoWhitespace&&Eg(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 j3{constructor(e,t){this._findMatchBrand=void 0,this.range=e,this.matches=t}}class qW{constructor(e,t,n,i,s,a){this.identifier=e,this.range=t,this.text=n,this.forceMoveMarkers=i,this.isAutoWhitespaceEdit=s,this._isTracked=a}}class NAe{constructor(e,t,n){this.regex=e,this.wordSeparators=t,this.simpleSearch=n}}class IAe{constructor(e,t,n){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=n}}function FAe(o){return!o.isTooLargeForSyncing()&&!o.isForSimpleWidget}var bd;(function(o){o[o.None=0]=\"None\",o[o.Indent=1]=\"Indent\",o[o.IndentOutdent=2]=\"IndentOutdent\",o[o.Outdent=3]=\"Outdent\"})(bd||(bd={}));class GW{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,n=e.notIn.length;t<n;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 n=e.findTokenIndexAtOffset(t-2),i=e.getStandardTokenType(n);return this.isOK(i)}_findNeutralCharacterInRange(e,t){for(let n=e;n<=t;n++){const i=String.fromCharCode(n);if(!this.open.includes(i)&&!this.close.includes(i))return i}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 PAe{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)yk(this.autoClosingPairsOpenByStart,t.open.charAt(0),t),yk(this.autoClosingPairsOpenByEnd,t.open.charAt(t.open.length-1),t),yk(this.autoClosingPairsCloseByStart,t.close.charAt(0),t),yk(this.autoClosingPairsCloseByEnd,t.close.charAt(t.close.length-1),t),t.close.length===1&&t.open.length===1&&yk(this.autoClosingPairsCloseSingleChar,t.close,t)}}function yk(o,e,t){o.has(e)?o.get(e).push(t):o.set(e,[t])}function $8(o,e){const t=o.getCount(),n=o.findTokenIndexAtOffset(e),i=o.getLanguageId(n);let s=n;for(;s+1<t&&o.getLanguageId(s+1)===i;)s++;let a=n;for(;a>0&&o.getLanguageId(a-1)===i;)a--;return new OAe(o,i,a,s+1,o.getStartOffset(a),o.getEndOffset(s))}class OAe{constructor(e,t,n,i,s,a){this._scopedLineTokensBrand=void 0,this._actual=e,this.languageId=t,this._firstTokenIndex=n,this._lastTokenIndex=i,this.firstCharOffset=s,this._lastCharOffset=a}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 _1(o){return(o&3)!==0}class CP{constructor(e){if(e.autoClosingPairs?this._autoClosingPairs=e.autoClosingPairs.map(t=>new GW(t)):e.brackets?this._autoClosingPairs=e.brackets.map(t=>new GW({open:t[0],close:t[1]})):this._autoClosingPairs=[],e.colorizedBracketPairs?this._colorizedBracketPairs=Uie(e.colorizedBracketPairs.map(t=>[t[0],t[1]])):e.brackets?this._colorizedBracketPairs=Uie(e.brackets.map(t=>[t[0],t[1]]).filter(t=>!(t[0]===\"<\"&&t[1]===\">\"))):this._colorizedBracketPairs=[],e.__electricCharacterSupport&&e.__electricCharacterSupport.docComment){const t=e.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new GW({open:t.open,close:t.close||\"\"}))}this._autoCloseBefore=typeof e.autoCloseBefore==\"string\"?e.autoCloseBefore:CP.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=e.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(){return this._autoCloseBefore}getSurroundingPairs(){return this._surroundingPairs}getColorizedBrackets(){return this._colorizedBracketPairs}}CP.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=`;:.,=}])> \n\t`;function Uie(o){return o.filter(([e,t])=>e!==\"\"&&t!==\"\")}const Kie=typeof Buffer!=\"undefined\";let JW;class DP{constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}static wrap(e){return Kie&&!Buffer.isBuffer(e)&&(e=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),new DP(e)}toString(){return Kie?this.buffer.toString():(JW||(JW=new TextDecoder),JW.decode(this.buffer))}}function MAe(o,e){return o[e+0]<<0>>>0|o[e+1]<<8>>>0}function RAe(o,e,t){o[t+0]=e&255,e=e>>>8,o[t+1]=e&255}function n0(o,e){return o[e]*Math.pow(2,24)+o[e+1]*Math.pow(2,16)+o[e+2]*Math.pow(2,8)+o[e+3]}function i0(o,e,t){o[t+3]=e,e=e>>>8,o[t+2]=e,e=e>>>8,o[t+1]=e,e=e>>>8,o[t]=e}function qie(o,e){return o[e]}function Gie(o,e,t){o[t]=e}let YW;function uue(){return YW||(YW=new TextDecoder(\"UTF-16LE\")),YW}let XW;function BAe(){return XW||(XW=new TextDecoder(\"UTF-16BE\")),XW}let QW;function cue(){return QW||(QW=Ale()?uue():BAe()),QW}const due=typeof TextDecoder!=\"undefined\";let wD,tz;due?(wD=o=>new WAe(o),tz=jAe):(wD=o=>new VAe,tz=hue);function jAe(o,e,t){const n=new Uint16Array(o.buffer,e,t);return t>0&&(n[0]===65279||n[0]===65534)?hue(o,e,t):uue().decode(n)}function hue(o,e,t){const n=[];let i=0;for(let s=0;s<t;s++){const a=MAe(o,e);e+=2,n[i++]=String.fromCharCode(a)}return n.join(\"\")}class WAe{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 cue().decode(e)}_flushBuffer(){const e=this._buildBuffer();this._bufferLength=0,this._completedStrings===null?this._completedStrings=[e]:this._completedStrings[this._completedStrings.length]=e}write1(e){const t=this._capacity-this._bufferLength;t<=1&&(t===0||eh(e))&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCII(e){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCIIString(e){const t=e.length;if(this._bufferLength+t>=this._capacity){this._flushBuffer(),this._completedStrings[this._completedStrings.length]=e;return}for(let n=0;n<t;n++)this._buffer[this._bufferLength++]=e.charCodeAt(n)}}class VAe{constructor(){this._pieces=[],this._piecesLen=0}reset(){this._pieces=[],this._piecesLen=0}build(){return this._pieces.join(\"\")}write1(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)}appendASCII(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)}appendASCIIString(e){this._pieces[this._piecesLen++]=e}}class z8{constructor(e,t,n,i,s,a){this._richEditBracketBrand=void 0,this.languageId=e,this.index=t,this.open=n,this.close=i,this.forwardRegex=s,this.reversedRegex=a,this._openSet=z8._toSet(this.open),this._closeSet=z8._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 n of e)t.add(n);return t}}function HAe(o){const e=o.length;o=o.map(a=>[a[0].toLowerCase(),a[1].toLowerCase()]);const t=[];for(let a=0;a<e;a++)t[a]=a;const n=(a,l)=>{const[u,d]=a,[h,p]=l;return u===h||u===p||d===h||d===p},i=(a,l)=>{const u=Math.min(a,l),d=Math.max(a,l);for(let h=0;h<e;h++)t[h]===d&&(t[h]=u)};for(let a=0;a<e;a++){const l=o[a];for(let u=a+1;u<e;u++){const d=o[u];n(l,d)&&i(t[a],t[u])}}const s=[];for(let a=0;a<e;a++){const l=[],u=[];for(let d=0;d<e;d++)if(t[d]===a){const[h,p]=o[d];l.push(h),u.push(p)}l.length>0&&s.push({open:l,close:u})}return s}class $Ae{constructor(e,t){this._richEditBracketsBrand=void 0;const n=HAe(t);this.brackets=n.map((i,s)=>new z8(e,s,i.open,i.close,zAe(i.open,i.close,n,s),UAe(i.open,i.close,n,s))),this.forwardRegex=KAe(this.brackets),this.reversedRegex=qAe(this.brackets),this.textIsBracket={},this.textIsOpenBracket={},this.maxBracketLength=0;for(const i of this.brackets){for(const s of i.open)this.textIsBracket[s]=i,this.textIsOpenBracket[s]=!0,this.maxBracketLength=Math.max(this.maxBracketLength,s.length);for(const s of i.close)this.textIsBracket[s]=i,this.textIsOpenBracket[s]=!1,this.maxBracketLength=Math.max(this.maxBracketLength,s.length)}}}function pue(o,e,t,n){for(let i=0,s=e.length;i<s;i++){if(i===t)continue;const a=e[i];for(const l of a.open)l.indexOf(o)>=0&&n.push(l);for(const l of a.close)l.indexOf(o)>=0&&n.push(l)}}function fue(o,e){return o.length-e.length}function wP(o){if(o.length<=1)return o;const e=[],t=new Set;for(const n of o)t.has(n)||(e.push(n),t.add(n));return e}function zAe(o,e,t,n){let i=[];i=i.concat(o),i=i.concat(e);for(let s=0,a=i.length;s<a;s++)pue(i[s],t,n,i);return i=wP(i),i.sort(fue),i.reverse(),SP(i)}function UAe(o,e,t,n){let i=[];i=i.concat(o),i=i.concat(e);for(let s=0,a=i.length;s<a;s++)pue(i[s],t,n,i);return i=wP(i),i.sort(fue),i.reverse(),SP(i.map(zq))}function KAe(o){let e=[];for(const t of o){for(const n of t.open)e.push(n);for(const n of t.close)e.push(n)}return e=wP(e),SP(e)}function qAe(o){let e=[];for(const t of o){for(const n of t.open)e.push(n);for(const n of t.close)e.push(n)}return e=wP(e),SP(e.map(zq))}function GAe(o){const e=/^[\\w ]+$/.test(o);return o=Ng(o),e?`\\\\b${o}\\\\b`:o}function SP(o){const e=`(${o.map(GAe).join(\")|(\")})`;return tue(e,!0)}const zq=function(){function o(n){if(due){const i=new Uint16Array(n.length);let s=0;for(let a=n.length-1;a>=0;a--)i[s++]=n.charCodeAt(a);return cue().decode(i)}else{const i=[];let s=0;for(let a=n.length-1;a>=0;a--)i[s++]=n.charAt(a);return i.join(\"\")}}let e=null,t=null;return function(i){return e!==i&&(e=i,t=o(e)),t}}();class pm{static _findPrevBracketInText(e,t,n,i){const s=n.match(e);if(!s)return null;const a=n.length-(s.index||0),l=s[0].length,u=i+a;return new He(t,u-l+1,t,u+1)}static findPrevBracketInRange(e,t,n,i,s){const l=zq(n).substring(n.length-s,n.length-i);return this._findPrevBracketInText(e,t,l,i)}static findNextBracketInText(e,t,n,i){const s=n.match(e);if(!s)return null;const a=s.index||0,l=s[0].length;if(l===0)return null;const u=i+a;return new He(t,u+1,t,u+1+l)}static findNextBracketInRange(e,t,n,i,s){const a=n.substring(i,s);return this.findNextBracketInText(e,t,a,i)}}class JAe{constructor(e){this._richEditBrackets=e}getElectricCharacters(){const e=[];if(this._richEditBrackets)for(const t of this._richEditBrackets.brackets)for(const n of t.close){const i=n.charAt(n.length-1);e.push(i)}return Xv(e)}onElectricCharacter(e,t,n){if(!this._richEditBrackets||this._richEditBrackets.brackets.length===0)return null;const i=t.findTokenIndexAtOffset(n-1);if(_1(t.getStandardTokenType(i)))return null;const s=this._richEditBrackets.reversedRegex,a=t.getLineContent().substring(0,n-1)+e,l=pm.findPrevBracketInRange(s,1,a,0,a.length);if(!l)return null;const u=a.substring(l.startColumn-1,l.endColumn-1).toLowerCase();if(this._richEditBrackets.textIsOpenBracket[u])return null;const h=t.getActualLineContentBefore(l.startColumn-1);return/^\\s*$/.test(h)?{matchOpenBracket:u}:null}}function VF(o){return o.global&&(o.lastIndex=0),!0}class YAe{constructor(e){this._indentationRules=e}shouldIncrease(e){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&VF(this._indentationRules.increaseIndentPattern)&&this._indentationRules.increaseIndentPattern.test(e))}shouldDecrease(e){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&VF(this._indentationRules.decreaseIndentPattern)&&this._indentationRules.decreaseIndentPattern.test(e))}shouldIndentNextLine(e){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&VF(this._indentationRules.indentNextLinePattern)&&this._indentationRules.indentNextLinePattern.test(e))}shouldIgnore(e){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&VF(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 mx{constructor(e){e=e||{},e.brackets=e.brackets||[[\"(\",\")\"],[\"{\",\"}\"],[\"[\",\"]\"]],this._brackets=[],e.brackets.forEach(t=>{const n=mx._createOpenBracketRegExp(t[0]),i=mx._createCloseBracketRegExp(t[1]);n&&i&&this._brackets.push({open:t[0],openRegExp:n,close:t[1],closeRegExp:i})}),this._regExpRules=e.onEnterRules||[]}onEnter(e,t,n,i){if(e>=3)for(let s=0,a=this._regExpRules.length;s<a;s++){const l=this._regExpRules[s];if([{reg:l.beforeText,text:n},{reg:l.afterText,text:i},{reg:l.previousLineText,text:t}].every(d=>d.reg?(d.reg.lastIndex=0,d.reg.test(d.text)):!0))return l.action}if(e>=2&&n.length>0&&i.length>0)for(let s=0,a=this._brackets.length;s<a;s++){const l=this._brackets[s];if(l.openRegExp.test(n)&&l.closeRegExp.test(i))return{indentAction:bd.IndentOutdent}}if(e>=2&&n.length>0){for(let s=0,a=this._brackets.length;s<a;s++)if(this._brackets[s].openRegExp.test(n))return{indentAction:bd.Indent}}return null}static _createOpenBracketRegExp(e){let t=Ng(e);return/\\B/.test(t.charAt(0))||(t=\"\\\\b\"+t),t+=\"\\\\s*$\",mx._safeRegExp(t)}static _createCloseBracketRegExp(e){let t=Ng(e);return/\\B/.test(t.charAt(t.length-1))||(t=t+\"\\\\b\"),t=\"^\\\\s*\"+t,mx._safeRegExp(t)}static _safeRegExp(e){try{return new RegExp(e)}catch(t){return tl(t),null}}}const Uu=zl(\"configurationService\");function _ue(o,e){const t=Object.create(null);for(let n in o)Uq(t,n,o[n],e);return t}function Uq(o,e,t,n){const i=e.split(\".\"),s=i.pop();let a=o;for(let l=0;l<i.length;l++){let u=i[l],d=a[u];switch(typeof d){case\"undefined\":d=a[u]=Object.create(null);break;case\"object\":break;default:n(`Ignoring ${e} as ${i.slice(0,l+1).join(\".\")} is ${JSON.stringify(d)}`);return}a=d}if(typeof a==\"object\"&&a!==null)try{a[s]=t}catch{n(`Ignoring ${e} as ${i.join(\".\")} is ${JSON.stringify(a)}`)}else n(`Ignoring ${e} as ${i.join(\".\")} is ${JSON.stringify(a)}`)}function XAe(o,e){const t=e.split(\".\");gue(o,t)}function gue(o,e){const t=e.shift();if(e.length===0){delete o[t];return}if(Object.keys(o).indexOf(t)!==-1){const n=o[t];typeof n==\"object\"&&!Array.isArray(n)&&(gue(n,e),Object.keys(n).length===0&&delete o[t])}}function Jie(o,e,t){function n(a,l){let u=a;for(const d of l){if(typeof u!=\"object\"||u===null)return;u=u[d]}return u}const i=e.split(\".\"),s=n(o,i);return typeof s==\"undefined\"?t:s}const Pc=zl(\"languageService\");class w1{constructor(e,t=[],n=!1){this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=n}}const mue=[];function su(o,e,t){e instanceof w1||(e=new w1(e,[],t)),mue.push([o,e])}function Yie(){return mue}var QAe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},Xie=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};class ZW{constructor(e){this.languageId=e}affects(e){return this.languageId?this.languageId===e:!0}}const Dp=zl(\"languageConfigurationService\");let nz=class extends fr{constructor(e,t){super(),this.configurationService=e,this.languageService=t,this.onDidChangeEmitter=this._register(new ri),this.onDidChange=this.onDidChangeEmitter.event,this.configurations=new Map;const n=new Set(Object.values(iz));this._register(this.configurationService.onDidChangeConfiguration(i=>{const s=i.change.keys.some(l=>n.has(l)),a=i.change.overrides.filter(([l,u])=>u.some(d=>n.has(d))).map(([l])=>l);if(s)this.configurations.clear(),this.onDidChangeEmitter.fire(new ZW(void 0));else for(const l of a)this.languageService.isRegisteredLanguageId(l)&&(this.configurations.delete(l),this.onDidChangeEmitter.fire(new ZW(l)))})),this._register(Nd.onDidChange(i=>{this.configurations.delete(i.languageId),this.onDidChangeEmitter.fire(new ZW(i.languageId))}))}getLanguageConfiguration(e){let t=this.configurations.get(e);return t||(t=ZAe(e,this.configurationService,this.languageService),this.configurations.set(e,t)),t}};nz=QAe([Xie(0,Uu),Xie(1,Pc)],nz);function ZAe(o,e,t){let n=Nd.getLanguageConfiguration(o);if(!n){if(!t.isRegisteredLanguageId(o))throw new Error(`Language id \"${o}\" is not configured nor known`);n=new W3(o,{})}const i=eke(n.languageId,e),s=yue([n.underlyingConfig,i]);return new W3(n.languageId,s)}const iz={brackets:\"editor.language.brackets\",colorizedBracketPairs:\"editor.language.colorizedBracketPairs\"};function eke(o,e){const t=e.getValue(iz.brackets,{overrideIdentifier:o}),n=e.getValue(iz.colorizedBracketPairs,{overrideIdentifier:o});return{brackets:Qie(t),colorizedBracketPairs:Qie(n)}}function Qie(o){if(!!Array.isArray(o))return o.map(e=>{if(!(!Array.isArray(e)||e.length!==2))return[e[0],e[1]]}).filter(e=>!!e)}class Zie{constructor(e){this.languageId=e}}class tke{constructor(){this._entries=new Map,this._onDidChange=new ri,this.onDidChange=this._onDidChange.event}register(e,t,n=0){let i=this._entries.get(e);i||(i=new nke(e),this._entries.set(e,i));const s=i.register(t,n);return this._onDidChange.fire(new Zie(e)),wl(()=>{s.dispose(),this._onDidChange.fire(new Zie(e))})}getLanguageConfiguration(e){const t=this._entries.get(e);return(t==null?void 0:t.getResolvedConfiguration())||null}getComments(e){const t=this.getLanguageConfiguration(e);return t&&t.comments||null}getIndentRulesSupport(e){const t=this.getLanguageConfiguration(e);return t&&t.indentRulesSupport||null}getPrecedingValidLine(e,t,n){const i=e.getLanguageIdAtPosition(t,0);if(t>1){let s,a=-1;for(s=t-1;s>=1;s--){if(e.getLanguageIdAtPosition(s,0)!==i)return a;const l=e.getLineContent(s);if(n.shouldIgnore(l)||/^\\s+$/.test(l)||l===\"\"){a=s;continue}return s}}return-1}getInheritIndentForLine(e,t,n,i=!0){if(e<4)return null;const s=this.getIndentRulesSupport(t.getLanguageId());if(!s)return null;if(n<=1)return{indentation:\"\",action:null};const a=this.getPrecedingValidLine(t,n,s);if(a<0)return null;if(a<1)return{indentation:\"\",action:null};const l=t.getLineContent(a);if(s.shouldIncrease(l)||s.shouldIndentNextLine(l))return{indentation:Mu(l),action:bd.Indent,line:a};if(s.shouldDecrease(l))return{indentation:Mu(l),action:null,line:a};{if(a===1)return{indentation:Mu(t.getLineContent(a)),action:null,line:a};const u=a-1,d=s.getIndentMetadata(t.getLineContent(u));if(!(d&3)&&d&4){let h=0;for(let p=u-1;p>0;p--)if(!s.shouldIndentNextLine(t.getLineContent(p))){h=p;break}return{indentation:Mu(t.getLineContent(h+1)),action:null,line:h+1}}if(i)return{indentation:Mu(t.getLineContent(a)),action:null,line:a};for(let h=a;h>0;h--){const p=t.getLineContent(h);if(s.shouldIncrease(p))return{indentation:Mu(p),action:bd.Indent,line:h};if(s.shouldIndentNextLine(p)){let g=0;for(let y=h-1;y>0;y--)if(!s.shouldIndentNextLine(t.getLineContent(h))){g=y;break}return{indentation:Mu(t.getLineContent(g+1)),action:null,line:g+1}}else if(s.shouldDecrease(p))return{indentation:Mu(p),action:null,line:h}}return{indentation:Mu(t.getLineContent(1)),action:null,line:1}}}getGoodIndentForLine(e,t,n,i,s){if(e<4)return null;const a=this.getLanguageConfiguration(n);if(!a)return null;const l=this.getIndentRulesSupport(n);if(!l)return null;const u=this.getInheritIndentForLine(e,t,i),d=t.getLineContent(i);if(u){const h=u.line;if(h!==void 0){const p=a.onEnter(e,\"\",t.getLineContent(h),\"\");if(p){let g=Mu(t.getLineContent(h));return p.removeText&&(g=g.substring(0,g.length-p.removeText)),p.indentAction===bd.Indent||p.indentAction===bd.IndentOutdent?g=s.shiftIndent(g):p.indentAction===bd.Outdent&&(g=s.unshiftIndent(g)),l.shouldDecrease(d)&&(g=s.unshiftIndent(g)),p.appendText&&(g+=p.appendText),Mu(g)}}return l.shouldDecrease(d)?u.action===bd.Indent?u.indentation:s.unshiftIndent(u.indentation):u.action===bd.Indent?s.shiftIndent(u.indentation):u.indentation}return null}getIndentForEnter(e,t,n,i){if(e<4)return null;t.forceTokenization(n.startLineNumber);const s=t.getLineTokens(n.startLineNumber),a=$8(s,n.startColumn-1),l=a.getLineContent();let u=!1,d;a.firstCharOffset>0&&s.getLanguageId(0)!==a.languageId?(u=!0,d=l.substr(0,n.startColumn-1-a.firstCharOffset)):d=s.getLineContent().substring(0,n.startColumn-1);let h;n.isEmpty()?h=l.substr(n.startColumn-1-a.firstCharOffset):h=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-a.firstCharOffset);const p=this.getIndentRulesSupport(a.languageId);if(!p)return null;const g=d,y=Mu(d),D={getLineTokens:F=>t.getLineTokens(F),getLanguageId:()=>t.getLanguageId(),getLanguageIdAtPosition:(F,q)=>t.getLanguageIdAtPosition(F,q),getLineContent:F=>F===n.startLineNumber?g:t.getLineContent(F)},T=Mu(s.getLineContent()),k=this.getInheritIndentForLine(e,D,n.startLineNumber+1);if(!k){const F=u?T:y;return{beforeEnter:F,afterEnter:F}}let I=u?T:k.indentation;return k.action===bd.Indent&&(I=i.shiftIndent(I)),p.shouldDecrease(h)&&(I=i.unshiftIndent(I)),{beforeEnter:u?T:y,afterEnter:I}}getIndentActionForType(e,t,n,i,s){if(e<4)return null;const a=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn);if(a.firstCharOffset)return null;const l=this.getIndentRulesSupport(a.languageId);if(!l)return null;const u=a.getLineContent(),d=u.substr(0,n.startColumn-1-a.firstCharOffset);let h;if(n.isEmpty()?h=u.substr(n.startColumn-1-a.firstCharOffset):h=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-a.firstCharOffset),!l.shouldDecrease(d+h)&&l.shouldDecrease(d+i+h)){const p=this.getInheritIndentForLine(e,t,n.startLineNumber,!1);if(!p)return null;let g=p.indentation;return p.action!==bd.Indent&&(g=s.unshiftIndent(g)),g}return null}getIndentMetadata(e,t){const n=this.getIndentRulesSupport(e.getLanguageId());return!n||t<1||t>e.getLineCount()?null:n.getIndentMetadata(e.getLineContent(t))}getEnterAction(e,t,n){const i=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn),s=this.getLanguageConfiguration(i.languageId);if(!s)return null;const a=i.getLineContent(),l=a.substr(0,n.startColumn-1-i.firstCharOffset);let u;n.isEmpty()?u=a.substr(n.startColumn-1-i.firstCharOffset):u=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-i.firstCharOffset);let d=\"\";if(n.startLineNumber>1&&i.firstCharOffset===0){const T=this.getScopedLineTokens(t,n.startLineNumber-1);T.languageId===i.languageId&&(d=T.getLineContent())}const h=s.onEnter(e,d,l,u);if(!h)return null;const p=h.indentAction;let g=h.appendText;const y=h.removeText||0;g?p===bd.Indent&&(g=\"\t\"+g):p===bd.Indent||p===bd.IndentOutdent?g=\"\t\":g=\"\";let D=this.getIndentationAtPosition(t,n.startLineNumber,n.startColumn);return y&&(D=D.substring(0,D.length-y)),{indentAction:p,appendText:g,removeText:y,indentation:D}}getIndentationAtPosition(e,t,n){const i=e.getLineContent(t);let s=Mu(i);return s.length>n-1&&(s=s.substring(0,n-1)),s}getScopedLineTokens(e,t,n){e.forceTokenization(t);const i=e.getLineTokens(t),s=typeof n==\"undefined\"?e.getLineMaxColumn(t)-1:n-1;return $8(i,s)}}const Nd=new tke;class nke{constructor(e){this.languageId=e,this._resolved=null,this._entries=[],this._order=0,this._resolved=null}register(e,t){const n=new ere(e,t,++this._order);return this._entries.push(n),this._resolved=null,wl(()=>{for(let i=0;i<this._entries.length;i++)if(this._entries[i]===n){this._entries.splice(i,1),this._resolved=null;break}})}getResolvedConfiguration(){if(!this._resolved){const e=this._resolve();e&&(this._resolved=new W3(this.languageId,e))}return this._resolved}_resolve(){return this._entries.length===0?null:(this._entries.sort(ere.cmp),yue(this._entries.map(e=>e.configuration)))}}function yue(o){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 o)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 ere{constructor(e,t,n){this.configuration=e,this.priority=t,this.order=n}static cmp(e,t){return e.priority===t.priority?e.order-t.order:e.priority-t.priority}}class W3{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 mx(this.underlyingConfig):null,this.comments=W3._handleComments(this.underlyingConfig),this.characterPair=new CP(this.underlyingConfig),this.wordDefinition=this.underlyingConfig.wordPattern||mq,this.indentationRules=this.underlyingConfig.indentationRules,this.underlyingConfig.indentationRules?this.indentRulesSupport=new YAe(this.underlyingConfig.indentationRules):this.indentRulesSupport=null,this.foldingRules=this.underlyingConfig.folding||{}}getWordDefinition(){return Nle(this.wordDefinition)}get brackets(){return!this._brackets&&this.underlyingConfig.brackets&&(this._brackets=new $Ae(this.languageId,this.underlyingConfig.brackets)),this._brackets}get electricCharacter(){return this._electricCharacter||(this._electricCharacter=new JAe(this.brackets)),this._electricCharacter}onEnter(e,t,n,i){return this._onEnterSupport?this._onEnterSupport.onEnter(e,t,n,i):null}getAutoClosingPairs(){return new PAe(this.characterPair.getAutoClosingPairs())}getAutoCloseBeforeSet(){return this.characterPair.getAutoCloseBeforeSet()}getSurroundingPairs(){return this.characterPair.getSurroundingPairs()}static _handleComments(e){const t=e.comments;if(!t)return null;const n={};if(t.lineComment&&(n.lineCommentToken=t.lineComment),t.blockComment){const[i,s]=t.blockComment;n.blockCommentStartToken=i,n.blockCommentEndToken=s}return n}}su(Dp,nz);const iE=new class{clone(){return this}equals(o){return this===o}};function bue(o,e){return new Lq([new O3(0,\"\",o)],e)}function Kq(o,e){const t=new Uint32Array(2);return t[0]=0,t[1]=(o<<0|0<<8|0<<10|1<<14|2<<23)>>>0,new yP(t,e===null?iE:e)}const Oc=zl(\"modelService\");var mg=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})},$k=globalThis&&globalThis.__asyncValues||function(o){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var e=o[Symbol.asyncIterator],t;return e?e.call(o):(o=typeof __values==\"function\"?__values(o):o[Symbol.iterator](),t={},n(\"next\"),n(\"throw\"),n(\"return\"),t[Symbol.asyncIterator]=function(){return this},t);function n(s){t[s]=o[s]&&function(a){return new Promise(function(l,u){a=o[s](a),i(l,u,a.done,a.value)})}}function i(s,a,l,u){Promise.resolve(u).then(function(d){s({value:d,done:l})},a)}};function ike(o){return!!o&&typeof o.then==\"function\"}function Oh(o){const e=new Xh,t=o(e.token),n=new Promise((i,s)=>{const a=e.token.onCancellationRequested(()=>{a.dispose(),e.dispose(),s(new ow)});Promise.resolve(t).then(l=>{a.dispose(),e.dispose(),i(l)},l=>{a.dispose(),e.dispose(),s(l)})});return new class{cancel(){e.cancel()}then(i,s){return n.then(i,s)}catch(i){return this.then(void 0,i)}finally(i){return n.finally(i)}}}function qq(o,e,t){return new Promise((n,i)=>{const s=e.onCancellationRequested(()=>{s.dispose(),n(t)});o.then(n,i).finally(()=>s.dispose())})}class rke{constructor(){this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(e){if(this.activePromise){if(this.queuedPromiseFactory=e,!this.queuedPromise){const t=()=>{this.queuedPromise=null;const n=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,n};this.queuedPromise=new Promise(n=>{this.activePromise.then(t,t).then(n)})}return new Promise((t,n)=>{this.queuedPromise.then(t,n)})}return this.activePromise=e(),new Promise((t,n)=>{this.activePromise.then(i=>{this.activePromise=null,t(i)},i=>{this.activePromise=null,n(i)})})}}const ske=(o,e)=>{let t=!0;const n=setTimeout(()=>{t=!1,e()},o);return{isTriggered:()=>t,dispose:()=>{clearTimeout(n),t=!1}}},oke=o=>{let e=!0;return queueMicrotask(()=>{e&&(e=!1,o())}),{isTriggered:()=>e,dispose:()=>{e=!1}}},vue=Symbol(\"MicrotaskDelay\");class J1{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((i,s)=>{this.doResolve=i,this.doReject=s}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){const i=this.task;return this.task=null,i()}}));const n=()=>{var i;this.deferred=null,(i=this.doResolve)===null||i===void 0||i.call(this,null)};return this.deferred=t===vue?oke(n):ske(t,n),this.completionPromise}isTriggered(){var e;return!!(!((e=this.deferred)===null||e===void 0)&&e.isTriggered())}cancel(){this.cancelTimeout(),this.completionPromise&&(this.doReject&&this.doReject(new ow),this.completionPromise=null)}cancelTimeout(){var e;(e=this.deferred)===null||e===void 0||e.dispose(),this.deferred=null}dispose(){this.cancel()}}class ake{constructor(e){this.delayer=new J1(e),this.throttler=new rke}trigger(e,t){return this.delayer.trigger(()=>this.throttler.queue(e),t)}dispose(){this.delayer.dispose()}}function Zv(o,e){return e?new Promise((t,n)=>{const i=setTimeout(()=>{s.dispose(),t()},o),s=e.onCancellationRequested(()=>{clearTimeout(i),s.dispose(),n(new ow)})}):Oh(t=>Zv(o,t))}function SD(o,e=0){const t=setTimeout(o,e);return wl(()=>clearTimeout(t))}function Cue(o,e=n=>!!n,t=null){let n=0;const i=o.length,s=()=>{if(n>=i)return Promise.resolve(t);const a=o[n++];return Promise.resolve(a()).then(u=>e(u)?Promise.resolve(u):s())};return s()}class g_{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 e4{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearInterval(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setInterval(()=>{e()},t)}}class Bu{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(){this.runner&&this.runner()}}let V3;(function(){typeof requestIdleCallback!=\"function\"||typeof cancelIdleCallback!=\"function\"?V3=o=>{Tle(()=>{if(e)return;const t=Date.now()+15;o(Object.freeze({didTimeout:!0,timeRemaining(){return Math.max(0,t-Date.now())}}))});let e=!1;return{dispose(){e||(e=!0)}}}:V3=(o,e)=>{const t=requestIdleCallback(o,typeof e==\"number\"?{timeout:e}:void 0);let n=!1;return{dispose(){n||(n=!0,cancelIdleCallback(t))}}}})();class Bv{constructor(e){this._didRun=!1,this._executor=()=>{try{this._value=e()}catch(t){this._error=t}finally{this._didRun=!0}},this._handle=V3(()=>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 Gq{constructor(){this.rejected=!1,this.resolved=!1,this.p=new Promise((e,t)=>{this.completeCallback=e,this.errorCallback=t})}get isRejected(){return this.rejected}get isSettled(){return this.rejected||this.resolved}complete(e){return new Promise(t=>{this.completeCallback(e),this.resolved=!0,t()})}cancel(){new Promise(e=>{this.errorCallback(new ow),this.rejected=!0,e()})}}var rz;(function(o){function e(n){return mg(this,void 0,void 0,function*(){let i;const s=yield Promise.all(n.map(a=>a.then(l=>l,l=>{i||(i=l)})));if(typeof i!=\"undefined\")throw i;return s})}o.settled=e;function t(n){return new Promise((i,s)=>mg(this,void 0,void 0,function*(){try{yield n(i,s)}catch(a){s(a)}}))}o.withAsyncBody=t})(rz||(rz={}));class vd{constructor(e){this._state=0,this._results=[],this._error=null,this._onStateChanged=new ri,queueMicrotask(()=>mg(this,void 0,void 0,function*(){const t={emitOne:n=>this.emitOne(n),emitMany:n=>this.emitMany(n),reject:n=>this.reject(n)};try{yield Promise.resolve(e(t)),this.resolve()}catch(n){this.reject(n)}finally{t.emitOne=void 0,t.emitMany=void 0,t.reject=void 0}}))}static fromArray(e){return new vd(t=>{t.emitMany(e)})}static fromPromise(e){return new vd(t=>mg(this,void 0,void 0,function*(){t.emitMany(yield e)}))}static fromPromises(e){return new vd(t=>mg(this,void 0,void 0,function*(){yield Promise.all(e.map(n=>mg(this,void 0,void 0,function*(){return t.emitOne(yield n)})))}))}static merge(e){return new vd(t=>mg(this,void 0,void 0,function*(){yield Promise.all(e.map(n=>{var i,s;return mg(this,void 0,void 0,function*(){var a,l;try{for(i=$k(n);s=yield i.next(),!s.done;){const u=s.value;t.emitOne(u)}}catch(u){a={error:u}}finally{try{s&&!s.done&&(l=i.return)&&(yield l.call(i))}finally{if(a)throw a.error}}})}))}))}[Symbol.asyncIterator](){let e=0;return{next:()=>mg(this,void 0,void 0,function*(){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};yield Xo.toPromise(this._onStateChanged.event)}while(!0)})}}static map(e,t){return new vd(n=>mg(this,void 0,void 0,function*(){var i,s;try{for(var a=$k(e),l;l=yield a.next(),!l.done;){const u=l.value;n.emitOne(t(u))}}catch(u){i={error:u}}finally{try{l&&!l.done&&(s=a.return)&&(yield s.call(a))}finally{if(i)throw i.error}}}))}map(e){return vd.map(this,e)}static filter(e,t){return new vd(n=>mg(this,void 0,void 0,function*(){var i,s;try{for(var a=$k(e),l;l=yield a.next(),!l.done;){const u=l.value;t(u)&&n.emitOne(u)}}catch(u){i={error:u}}finally{try{l&&!l.done&&(s=a.return)&&(yield s.call(a))}finally{if(i)throw i.error}}}))}filter(e){return vd.filter(this,e)}static coalesce(e){return vd.filter(e,t=>!!t)}coalesce(){return vd.coalesce(this)}static toPromise(e){var t,n,i,s;return mg(this,void 0,void 0,function*(){const a=[];try{for(t=$k(e);n=yield t.next(),!n.done;){const l=n.value;a.push(l)}}catch(l){i={error:l}}finally{try{n&&!n.done&&(s=t.return)&&(yield s.call(t))}finally{if(i)throw i.error}}return a})}toPromise(){return vd.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())}}vd.EMPTY=vd.fromArray([]);class lke extends vd{constructor(e,t){super(t),this._source=e}cancel(){this._source.cancel()}}function uke(o){const e=new Xh,t=o(e.token);return new lke(e,n=>mg(this,void 0,void 0,function*(){var i,s;const a=e.token.onCancellationRequested(()=>{a.dispose(),e.dispose(),n.reject(new ow)});try{try{for(var l=$k(t),u;u=yield l.next(),!u.done;){const d=u.value;if(e.token.isCancellationRequested)return;n.emitOne(d)}}catch(d){i={error:d}}finally{try{u&&!u.done&&(s=l.return)&&(yield s.call(l))}finally{if(i)throw i.error}}a.dispose(),e.dispose()}catch(d){a.dispose(),e.dispose(),n.reject(d)}}))}const cke=\"$initialize\";let tre=!1;function sz(o){!bC||(tre||(tre=!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(o.message))}class dke{constructor(e,t,n,i){this.vsWorker=e,this.req=t,this.method=n,this.args=i,this.type=0}}class nre{constructor(e,t,n,i){this.vsWorker=e,this.seq=t,this.res=n,this.err=i,this.type=1}}class hke{constructor(e,t,n,i){this.vsWorker=e,this.req=t,this.eventName=n,this.arg=i,this.type=2}}class pke{constructor(e,t,n){this.vsWorker=e,this.req=t,this.event=n,this.type=3}}class fke{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class _ke{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 n=String(++this._lastSentReq);return new Promise((i,s)=>{this._pendingReplies[n]={resolve:i,reject:s},this._send(new dke(this._workerId,n,e,t))})}listen(e,t){let n=null;const i=new ri({onFirstListenerAdd:()=>{n=String(++this._lastSentReq),this._pendingEmitters.set(n,i),this._send(new hke(this._workerId,n,e,t))},onLastListenerRemove:()=>{this._pendingEmitters.delete(n),this._send(new fke(this._workerId,n)),n=null}});return i.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}let t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let n=e.err;e.err.$isError&&(n=new Error,n.name=e.err.name,n.message=e.err.message,n.stack=e.err.stack),t.reject(n);return}t.resolve(e.res)}_handleRequestMessage(e){let t=e.req;this._handler.handleMessage(e.method,e.args).then(i=>{this._send(new nre(this._workerId,t,i,void 0))},i=>{i.detail instanceof Error&&(i.detail=Bie(i.detail)),this._send(new nre(this._workerId,t,void 0,Bie(i)))})}_handleSubscribeEventMessage(e){const t=e.req,n=this._handler.handleEvent(e.eventName,e.arg)(i=>{this._send(new pke(this._workerId,t,i))});this._pendingEvents.set(t,n)}_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){let t=[];if(e.type===0)for(let n=0;n<e.args.length;n++)e.args[n]instanceof ArrayBuffer&&t.push(e.args[n]);else e.type===1&&e.res instanceof ArrayBuffer&&t.push(e.res);this._handler.sendMessage(e,t)}}class gke extends fr{constructor(e,t,n){super();let i=null;this._worker=this._register(e.create(\"vs/base/common/worker/simpleWorker\",d=>{this._protocol.handleMessage(d)},d=>{i&&i(d)})),this._protocol=new _ke({sendMessage:(d,h)=>{this._worker.postMessage(d,h)},handleMessage:(d,h)=>{if(typeof n[d]!=\"function\")return Promise.reject(new Error(\"Missing method \"+d+\" on main thread host.\"));try{return Promise.resolve(n[d].apply(n,h))}catch(p){return Promise.reject(p)}},handleEvent:(d,h)=>{if(wue(d)){const p=n[d].call(n,h);if(typeof p!=\"function\")throw new Error(`Missing dynamic event ${d} on main thread host.`);return p}if(Due(d)){const p=n[d];if(typeof p!=\"function\")throw new Error(`Missing event ${d} on main thread host.`);return p}throw new Error(`Malformed event name ${d}`)}}),this._protocol.setWorkerId(this._worker.getId());let s=null;typeof cd.require!=\"undefined\"&&typeof cd.require.getConfig==\"function\"?s=cd.require.getConfig():typeof cd.requirejs!=\"undefined\"&&(s=cd.requirejs.s.contexts._.config);const a=Cq(n);this._onModuleLoaded=this._protocol.sendMessage(cke,[this._worker.getId(),JSON.parse(JSON.stringify(s)),t,a]);const l=(d,h)=>this._request(d,h),u=(d,h)=>this._protocol.listen(d,h);this._lazyProxy=new Promise((d,h)=>{i=h,this._onModuleLoaded.then(p=>{d(mke(p,l,u))},p=>{h(p),this._onError(\"Worker failed to load \"+t,p)})})}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise((n,i)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,t).then(n,i)},i)})}_onError(e,t){console.error(e),console.info(t)}}function Due(o){return o[0]===\"o\"&&o[1]===\"n\"&&D1(o.charCodeAt(2))}function wue(o){return/^onDynamic/.test(o)&&D1(o.charCodeAt(9))}function mke(o,e,t){const n=a=>function(){const l=Array.prototype.slice.call(arguments,0);return e(a,l)},i=a=>function(l){return t(a,l)};let s={};for(const a of o){if(wue(a)){s[a]=i(a);continue}if(Due(a)){s[a]=t(a,void 0);continue}s[a]=n(a)}return s}var eV;const ire=(eV=window.trustedTypes)===null||eV===void 0?void 0:eV.createPolicy(\"defaultWorkerFactory\",{createScriptURL:o=>o});function yke(o){if(cd.MonacoEnvironment){if(typeof cd.MonacoEnvironment.getWorker==\"function\")return cd.MonacoEnvironment.getWorker(\"workerMain.js\",o);if(typeof cd.MonacoEnvironment.getWorkerUrl==\"function\"){const e=cd.MonacoEnvironment.getWorkerUrl(\"workerMain.js\",o);return new Worker(ire?ire.createScriptURL(e):e,{name:o})}}throw new Error(\"You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker\")}function bke(o){return typeof o.then==\"function\"}class vke{constructor(e,t,n,i,s){this.id=t;const a=yke(n);bke(a)?this.worker=a:this.worker=Promise.resolve(a),this.postMessage(e,[]),this.worker.then(l=>{l.onmessage=function(u){i(u.data)},l.onmessageerror=s,typeof l.addEventListener==\"function\"&&l.addEventListener(\"error\",s)})}getId(){return this.id}postMessage(e,t){this.worker&&this.worker.then(n=>n.postMessage(e,t))}dispose(){this.worker&&this.worker.then(e=>e.terminate()),this.worker=null}}class xP{constructor(e){this._label=e,this._webWorkerFailedBeforeError=!1}create(e,t,n){let i=++xP.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new vke(e,i,this._label||\"anonymous\"+i,t,s=>{sz(s),this._webWorkerFailedBeforeError=s,n(s)})}}xP.LAST_WORKER_ID=0;class bv{constructor(e,t,n,i){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=i}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function Sue(o){return EP(o,0)}function EP(o,e){switch(typeof o){case\"object\":return o===null?hb(349,e):Array.isArray(o)?Dke(o,e):wke(o,e);case\"string\":return Jq(o,e);case\"boolean\":return Cke(o,e);case\"number\":return hb(o,e);case\"undefined\":return hb(937,e);default:return hb(617,e)}}function hb(o,e){return(e<<5)-e+o|0}function Cke(o,e){return hb(o?433:863,e)}function Jq(o,e){e=hb(149417,e);for(let t=0,n=o.length;t<n;t++)e=hb(o.charCodeAt(t),e);return e}function Dke(o,e){return e=hb(104579,e),o.reduce((t,n)=>EP(n,t),e)}function wke(o,e){return e=hb(181387,e),Object.keys(o).sort().reduce((t,n)=>(t=Jq(n,t),EP(o[n],t)),e)}function tV(o,e,t=32){const n=t-e,i=~((1<<n)-1);return(o<<e|(i&o)>>>n)>>>0}function rre(o,e=0,t=o.byteLength,n=0){for(let i=0;i<t;i++)o[e+i]=n}function Ske(o,e,t=\"0\"){for(;o.length<e;)o=t+o;return o}function bk(o,e=32){return o instanceof ArrayBuffer?Array.from(new Uint8Array(o)).map(t=>t.toString(16).padStart(2,\"0\")).join(\"\"):Ske((o>>>0).toString(16),e/4)}class TP{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(64+3),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 n=this._buff;let i=this._buffLen,s=this._leftoverHighSurrogate,a,l;for(s!==0?(a=s,l=-1,s=0):(a=e.charCodeAt(0),l=0);;){let u=a;if(eh(a))if(l+1<t){const d=e.charCodeAt(l+1);DD(d)?(l++,u=Oq(a,d)):u=65533}else{s=a;break}else DD(a)&&(u=65533);if(i=this._push(n,i,u),l++,l<t)a=e.charCodeAt(l);else break}this._buffLen=i,this._leftoverHighSurrogate=s}_push(e,t,n){return n<128?e[t++]=n:n<2048?(e[t++]=192|(n&1984)>>>6,e[t++]=128|(n&63)>>>0):n<65536?(e[t++]=224|(n&61440)>>>12,e[t++]=128|(n&4032)>>>6,e[t++]=128|(n&63)>>>0):(e[t++]=240|(n&1835008)>>>18,e[t++]=128|(n&258048)>>>12,e[t++]=128|(n&4032)>>>6,e[t++]=128|(n&63)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64+0],e[1]=e[64+1],e[2]=e[64+2]),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()),bk(this._h0)+bk(this._h1)+bk(this._h2)+bk(this._h3)+bk(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,rre(this._buff,this._buffLen),this._buffLen>56&&(this._step(),rre(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=TP._bigBlock32,t=this._buffDV;for(let p=0;p<64;p+=4)e.setUint32(p,t.getUint32(p,!1),!1);for(let p=64;p<320;p+=4)e.setUint32(p,tV(e.getUint32(p-12,!1)^e.getUint32(p-32,!1)^e.getUint32(p-56,!1)^e.getUint32(p-64,!1),1),!1);let n=this._h0,i=this._h1,s=this._h2,a=this._h3,l=this._h4,u,d,h;for(let p=0;p<80;p++)p<20?(u=i&s|~i&a,d=1518500249):p<40?(u=i^s^a,d=1859775393):p<60?(u=i&s|i&a|s&a,d=2400959708):(u=i^s^a,d=3395469782),h=tV(n,5)+u+l+d+e.getUint32(p*4,!1)&4294967295,l=a,a=s,s=tV(i,30),i=n,n=h;this._h0=this._h0+n&4294967295,this._h1=this._h1+i&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+a&4294967295,this._h4=this._h4+l&4294967295}}TP._bigBlock32=new DataView(new ArrayBuffer(320));class sre{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let n=0,i=e.length;n<i;n++)t[n]=e.charCodeAt(n);return t}}function xke(o,e,t){return new k1(new sre(o),new sre(e)).ComputeDiff(t).changes}class $S{static Assert(e,t){if(!e)throw new Error(t)}}class zS{static Copy(e,t,n,i,s){for(let a=0;a<s;a++)n[i+a]=e[t+a]}static Copy2(e,t,n,i,s){for(let a=0;a<s;a++)n[i+a]=e[t+a]}}class ore{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 bv(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 k1{constructor(e,t,n=null){this.ContinueProcessingPredicate=n,this._originalSequence=e,this._modifiedSequence=t;const[i,s,a]=k1._getElements(e),[l,u,d]=k1._getElements(t);this._hasStrings=a&&d,this._originalStringElements=i,this._originalElementsOrHash=s,this._modifiedStringElements=l,this._modifiedElementsOrHash=u,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(k1._isStringArray(t)){const n=new Int32Array(t.length);for(let i=0,s=t.length;i<s;i++)n[i]=Jq(t[i],0);return[t,n,!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 n=k1._getStrictElement(this._originalSequence,e),i=k1._getStrictElement(this._modifiedSequence,t);return n===i}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,n,i,s){const a=[!1];let l=this.ComputeDiffRecursive(e,t,n,i,a);return s&&(l=this.PrettifyChanges(l)),{quitEarly:a[0],changes:l}}ComputeDiffRecursive(e,t,n,i,s){for(s[0]=!1;e<=t&&n<=i&&this.ElementsAreEqual(e,n);)e++,n++;for(;t>=e&&i>=n&&this.ElementsAreEqual(t,i);)t--,i--;if(e>t||n>i){let p;return n<=i?($S.Assert(e===t+1,\"originalStart should only be one more than originalEnd\"),p=[new bv(e,0,n,i-n+1)]):e<=t?($S.Assert(n===i+1,\"modifiedStart should only be one more than modifiedEnd\"),p=[new bv(e,t-e+1,n,0)]):($S.Assert(e===t+1,\"originalStart should only be one more than originalEnd\"),$S.Assert(n===i+1,\"modifiedStart should only be one more than modifiedEnd\"),p=[]),p}const a=[0],l=[0],u=this.ComputeRecursionPoint(e,t,n,i,a,l,s),d=a[0],h=l[0];if(u!==null)return u;if(!s[0]){const p=this.ComputeDiffRecursive(e,d,n,h,s);let g=[];return s[0]?g=[new bv(d+1,t-(d+1)+1,h+1,i-(h+1)+1)]:g=this.ComputeDiffRecursive(d+1,t,h+1,i,s),this.ConcatenateChanges(p,g)}return[new bv(e,t-e+1,n,i-n+1)]}WALKTRACE(e,t,n,i,s,a,l,u,d,h,p,g,y,D,T,k,I,F){let q=null,re=null,Ie=new ore,mt=t,Le=n,Ge=y[0]-k[0]-i,qt=-1073741824,gi=this.m_forwardHistory.length-1;do{const ai=Ge+e;ai===mt||ai<Le&&d[ai-1]<d[ai+1]?(p=d[ai+1],D=p-Ge-i,p<qt&&Ie.MarkNextChange(),qt=p,Ie.AddModifiedElement(p+1,D),Ge=ai+1-e):(p=d[ai-1]+1,D=p-Ge-i,p<qt&&Ie.MarkNextChange(),qt=p-1,Ie.AddOriginalElement(p,D+1),Ge=ai-1-e),gi>=0&&(d=this.m_forwardHistory[gi],e=d[0],mt=1,Le=d.length-1)}while(--gi>=-1);if(q=Ie.getReverseChanges(),F[0]){let ai=y[0]+1,Tr=k[0]+1;if(q!==null&&q.length>0){const Vr=q[q.length-1];ai=Math.max(ai,Vr.getOriginalEnd()),Tr=Math.max(Tr,Vr.getModifiedEnd())}re=[new bv(ai,g-ai+1,Tr,T-Tr+1)]}else{Ie=new ore,mt=a,Le=l,Ge=y[0]-k[0]-u,qt=1073741824,gi=I?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const ai=Ge+s;ai===mt||ai<Le&&h[ai-1]>=h[ai+1]?(p=h[ai+1]-1,D=p-Ge-u,p>qt&&Ie.MarkNextChange(),qt=p+1,Ie.AddOriginalElement(p+1,D+1),Ge=ai+1-s):(p=h[ai-1],D=p-Ge-u,p>qt&&Ie.MarkNextChange(),qt=p,Ie.AddModifiedElement(p+1,D+1),Ge=ai-1-s),gi>=0&&(h=this.m_reverseHistory[gi],s=h[0],mt=1,Le=h.length-1)}while(--gi>=-1);re=Ie.getChanges()}return this.ConcatenateChanges(q,re)}ComputeRecursionPoint(e,t,n,i,s,a,l){let u=0,d=0,h=0,p=0,g=0,y=0;e--,n--,s[0]=0,a[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const D=t-e+(i-n),T=D+1,k=new Int32Array(T),I=new Int32Array(T),F=i-n,q=t-e,re=e-n,Ie=t-i,Le=(q-F)%2===0;k[F]=e,I[q]=t,l[0]=!1;for(let Ge=1;Ge<=D/2+1;Ge++){let qt=0,gi=0;h=this.ClipDiagonalBound(F-Ge,Ge,F,T),p=this.ClipDiagonalBound(F+Ge,Ge,F,T);for(let Tr=h;Tr<=p;Tr+=2){Tr===h||Tr<p&&k[Tr-1]<k[Tr+1]?u=k[Tr+1]:u=k[Tr-1]+1,d=u-(Tr-F)-re;const Vr=u;for(;u<t&&d<i&&this.ElementsAreEqual(u+1,d+1);)u++,d++;if(k[Tr]=u,u+d>qt+gi&&(qt=u,gi=d),!Le&&Math.abs(Tr-q)<=Ge-1&&u>=I[Tr])return s[0]=u,a[0]=d,Vr<=I[Tr]&&1447>0&&Ge<=1447+1?this.WALKTRACE(F,h,p,re,q,g,y,Ie,k,I,u,t,s,d,i,a,Le,l):null}const ai=(qt-e+(gi-n)-Ge)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(qt,ai))return l[0]=!0,s[0]=qt,a[0]=gi,ai>0&&1447>0&&Ge<=1447+1?this.WALKTRACE(F,h,p,re,q,g,y,Ie,k,I,u,t,s,d,i,a,Le,l):(e++,n++,[new bv(e,t-e+1,n,i-n+1)]);g=this.ClipDiagonalBound(q-Ge,Ge,q,T),y=this.ClipDiagonalBound(q+Ge,Ge,q,T);for(let Tr=g;Tr<=y;Tr+=2){Tr===g||Tr<y&&I[Tr-1]>=I[Tr+1]?u=I[Tr+1]-1:u=I[Tr-1],d=u-(Tr-q)-Ie;const Vr=u;for(;u>e&&d>n&&this.ElementsAreEqual(u,d);)u--,d--;if(I[Tr]=u,Le&&Math.abs(Tr-F)<=Ge&&u<=k[Tr])return s[0]=u,a[0]=d,Vr>=k[Tr]&&1447>0&&Ge<=1447+1?this.WALKTRACE(F,h,p,re,q,g,y,Ie,k,I,u,t,s,d,i,a,Le,l):null}if(Ge<=1447){let Tr=new Int32Array(p-h+2);Tr[0]=F-h+1,zS.Copy2(k,h,Tr,1,p-h+1),this.m_forwardHistory.push(Tr),Tr=new Int32Array(y-g+2),Tr[0]=q-g+1,zS.Copy2(I,g,Tr,1,y-g+1),this.m_reverseHistory.push(Tr)}}return this.WALKTRACE(F,h,p,re,q,g,y,Ie,k,I,u,t,s,d,i,a,Le,l)}PrettifyChanges(e){for(let t=0;t<e.length;t++){const n=e[t],i=t<e.length-1?e[t+1].originalStart:this._originalElementsOrHash.length,s=t<e.length-1?e[t+1].modifiedStart:this._modifiedElementsOrHash.length,a=n.originalLength>0,l=n.modifiedLength>0;for(;n.originalStart+n.originalLength<i&&n.modifiedStart+n.modifiedLength<s&&(!a||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!l||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));){const d=this.ElementsAreStrictEqual(n.originalStart,n.modifiedStart);if(this.ElementsAreStrictEqual(n.originalStart+n.originalLength,n.modifiedStart+n.modifiedLength)&&!d)break;n.originalStart++,n.modifiedStart++}let u=[null];if(t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],u)){e[t]=u[0],e.splice(t+1,1),t--;continue}}for(let t=e.length-1;t>=0;t--){const n=e[t];let i=0,s=0;if(t>0){const p=e[t-1];i=p.originalStart+p.originalLength,s=p.modifiedStart+p.modifiedLength}const a=n.originalLength>0,l=n.modifiedLength>0;let u=0,d=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let p=1;;p++){const g=n.originalStart-p,y=n.modifiedStart-p;if(g<i||y<s||a&&!this.OriginalElementsAreEqual(g,g+n.originalLength)||l&&!this.ModifiedElementsAreEqual(y,y+n.modifiedLength))break;const T=(g===i&&y===s?5:0)+this._boundaryScore(g,n.originalLength,y,n.modifiedLength);T>d&&(d=T,u=p)}n.originalStart-=u,n.modifiedStart-=u;const h=[null];if(t>0&&this.ChangesOverlap(e[t-1],e[t],h)){e[t-1]=h[0],e.splice(t,1),t++;continue}}if(this._hasStrings)for(let t=1,n=e.length;t<n;t++){const i=e[t-1],s=e[t],a=s.originalStart-i.originalStart-i.originalLength,l=i.originalStart,u=s.originalStart+s.originalLength,d=u-l,h=i.modifiedStart,p=s.modifiedStart+s.modifiedLength,g=p-h;if(a<5&&d<20&&g<20){const y=this._findBetterContiguousSequence(l,d,h,g,a);if(y){const[D,T]=y;(D!==i.originalStart+i.originalLength||T!==i.modifiedStart+i.modifiedLength)&&(i.originalLength=D-i.originalStart,i.modifiedLength=T-i.modifiedStart,s.originalStart=D+a,s.modifiedStart=T+a,s.originalLength=u-s.originalStart,s.modifiedLength=p-s.modifiedStart)}}}return e}_findBetterContiguousSequence(e,t,n,i,s){if(t<s||i<s)return null;const a=e+t-s+1,l=n+i-s+1;let u=0,d=0,h=0;for(let p=e;p<a;p++)for(let g=n;g<l;g++){const y=this._contiguousSequenceScore(p,g,s);y>0&&y>u&&(u=y,d=p,h=g)}return u>0?[d,h]:null}_contiguousSequenceScore(e,t,n){let i=0;for(let s=0;s<n;s++){if(!this.ElementsAreEqual(e+s,t+s))return 0;i+=this._originalStringElements[e+s].length}return i}_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 n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))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 n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,i){const s=this._OriginalRegionIsBoundary(e,t)?1:0,a=this._ModifiedRegionIsBoundary(n,i)?1:0;return s+a}ConcatenateChanges(e,t){let n=[];if(e.length===0||t.length===0)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){const i=new Array(e.length+t.length-1);return zS.Copy(e,0,i,0,e.length-1),i[e.length-1]=n[0],zS.Copy(t,1,i,e.length,t.length-1),i}else{const i=new Array(e.length+t.length);return zS.Copy(e,0,i,0,e.length),zS.Copy(t,0,i,e.length,t.length),i}}ChangesOverlap(e,t,n){if($S.Assert(e.originalStart<=t.originalStart,\"Left change is not less than or equal to right change\"),$S.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 i=e.originalStart;let s=e.originalLength;const a=e.modifiedStart;let l=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(s=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(l=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new bv(i,s,a,l),!0}else return n[0]=null,!1}ClipDiagonalBound(e,t,n,i){if(e>=0&&e<i)return e;const s=n,a=i-n-1,l=t%2===0;if(e<0){const u=s%2===0;return l===u?0:1}else{const u=a%2===0;return l===u?i-1:i-2}}}const Eke=3;function xue(o,e,t,n){return new k1(o,e,t).ComputeDiff(n)}class are{constructor(e){const t=[],n=[];for(let i=0,s=e.length;i<s;i++)t[i]=oz(e[i],1),n[i]=az(e[i],1);this.lines=e,this._startColumns=t,this._endColumns=n}getElements(){const e=[];for(let t=0,n=this.lines.length;t<n;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,n){const i=[],s=[],a=[];let l=0;for(let u=t;u<=n;u++){const d=this.lines[u],h=e?this._startColumns[u]:1,p=e?this._endColumns[u]:d.length+1;for(let g=h;g<p;g++)i[l]=d.charCodeAt(g-1),s[l]=u+1,a[l]=g,l++}return new Tke(i,s,a)}}class Tke{constructor(e,t,n){this._charCodes=e,this._lineNumbers=t,this._columns=n}getElements(){return this._charCodes}getStartLineNumber(e){return this._lineNumbers[e]}getStartColumn(e){return this._columns[e]}getEndLineNumber(e){return this._lineNumbers[e]}getEndColumn(e){return this._columns[e]+1}}class H3{constructor(e,t,n,i,s,a,l,u){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=i,this.modifiedStartLineNumber=s,this.modifiedStartColumn=a,this.modifiedEndLineNumber=l,this.modifiedEndColumn=u}static createFromDiffChange(e,t,n){let i,s,a,l,u,d,h,p;return e.originalLength===0?(i=0,s=0,a=0,l=0):(i=t.getStartLineNumber(e.originalStart),s=t.getStartColumn(e.originalStart),a=t.getEndLineNumber(e.originalStart+e.originalLength-1),l=t.getEndColumn(e.originalStart+e.originalLength-1)),e.modifiedLength===0?(u=0,d=0,h=0,p=0):(u=n.getStartLineNumber(e.modifiedStart),d=n.getStartColumn(e.modifiedStart),h=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),p=n.getEndColumn(e.modifiedStart+e.modifiedLength-1)),new H3(i,s,a,l,u,d,h,p)}}function Ake(o){if(o.length<=1)return o;const e=[o[0]];let t=e[0];for(let n=1,i=o.length;n<i;n++){const s=o[n],a=s.originalStart-(t.originalStart+t.originalLength),l=s.modifiedStart-(t.modifiedStart+t.modifiedLength);Math.min(a,l)<Eke?(t.originalLength=s.originalStart+s.originalLength-t.originalStart,t.modifiedLength=s.modifiedStart+s.modifiedLength-t.modifiedStart):(e.push(s),t=s)}return e}class i3{constructor(e,t,n,i,s){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=i,this.charChanges=s}static createFromDiffResult(e,t,n,i,s,a,l){let u,d,h,p,g;if(t.originalLength===0?(u=n.getStartLineNumber(t.originalStart)-1,d=0):(u=n.getStartLineNumber(t.originalStart),d=n.getEndLineNumber(t.originalStart+t.originalLength-1)),t.modifiedLength===0?(h=i.getStartLineNumber(t.modifiedStart)-1,p=0):(h=i.getStartLineNumber(t.modifiedStart),p=i.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),a&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&s()){const y=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),D=i.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);let T=xue(y,D,s,!0).changes;l&&(T=Ake(T)),g=[];for(let k=0,I=T.length;k<I;k++)g.push(H3.createFromDiffChange(T[k],y,D))}return new i3(u,d,h,p,g)}}class kke{constructor(e,t,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=t,this.original=new are(e),this.modified=new are(t),this.continueLineDiff=lre(n.maxComputationTime),this.continueCharDiff=lre(n.maxComputationTime===0?0:Math.min(n.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:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber: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:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};const e=xue(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),t=e.changes,n=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){const l=[];for(let u=0,d=t.length;u<d;u++)l.push(i3.createFromDiffResult(this.shouldIgnoreTrimWhitespace,t[u],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:l}}const i=[];let s=0,a=0;for(let l=-1,u=t.length;l<u;l++){const d=l+1<u?t[l+1]:null,h=d?d.originalStart:this.originalLines.length,p=d?d.modifiedStart:this.modifiedLines.length;for(;s<h&&a<p;){const g=this.originalLines[s],y=this.modifiedLines[a];if(g!==y){{let D=oz(g,1),T=oz(y,1);for(;D>1&&T>1;){const k=g.charCodeAt(D-2),I=y.charCodeAt(T-2);if(k!==I)break;D--,T--}(D>1||T>1)&&this._pushTrimWhitespaceCharChange(i,s+1,1,D,a+1,1,T)}{let D=az(g,1),T=az(y,1);const k=g.length+1,I=y.length+1;for(;D<k&&T<I;){const F=g.charCodeAt(D-1),q=g.charCodeAt(T-1);if(F!==q)break;D++,T++}(D<k||T<I)&&this._pushTrimWhitespaceCharChange(i,s+1,D,k,a+1,T,I)}}s++,a++}d&&(i.push(i3.createFromDiffResult(this.shouldIgnoreTrimWhitespace,d,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),s+=d.originalLength,a+=d.modifiedLength)}return{quitEarly:n,changes:i}}_pushTrimWhitespaceCharChange(e,t,n,i,s,a,l){if(this._mergeTrimWhitespaceCharChange(e,t,n,i,s,a,l))return;let u;this.shouldComputeCharChanges&&(u=[new H3(t,n,t,i,s,a,s,l)]),e.push(new i3(t,t,s,s,u))}_mergeTrimWhitespaceCharChange(e,t,n,i,s,a,l){const u=e.length;if(u===0)return!1;const d=e[u-1];return d.originalEndLineNumber===0||d.modifiedEndLineNumber===0?!1:d.originalEndLineNumber+1===t&&d.modifiedEndLineNumber+1===s?(d.originalEndLineNumber=t,d.modifiedEndLineNumber=s,this.shouldComputeCharChanges&&d.charChanges&&d.charChanges.push(new H3(t,n,t,i,s,a,s,l)),!0):!1}}function oz(o,e){const t=pf(o);return t===-1?e:t+1}function az(o,e){const t=V1(o);return t===-1?e:t+2}function lre(o){if(o===0)return()=>!0;const e=Date.now();return()=>Date.now()-e<o}function U8(o){return o<0?0:o>255?255:o|0}function US(o){return o<0?0:o>4294967295?4294967295:o|0}class Lke{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=US(e);const n=this.values,i=this.prefixSum,s=t.length;return s===0?!1:(this.values=new Uint32Array(n.length+s),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+s),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(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=US(e),t=US(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=US(e),t=US(t);const n=this.values,i=this.prefixSum;if(e>=n.length)return!1;const s=n.length-e;return t>=s&&(t=s),t===0?!1:(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.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(i.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=US(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 n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,n=this.values.length-1,i=0,s=0,a=0;for(;t<=n;)if(i=t+(n-t)/2|0,s=this.prefixSum[i],a=s-this.values[i],e<a)n=i-1;else if(e>=s)t=i+1;else break;return new Eue(i,e-a)}}class Nke{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],n=t>0?this._prefixSum[t-1]:0;return new Eue(t,e-n)}removeValues(e,t){this._values.splice(e,t),this._invalidate(e)}insertValues(e,t){this._values=_P(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 n=this._values[e],i=e>0?this._prefixSum[e-1]:0;this._prefixSum[e]=i+n;for(let s=0;s<n;s++)this._indexBySum[i+s]=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 Eue{constructor(e,t){this.index=e,this.remainder=t,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=t}}class Ike{constructor(e,t,n,i){this._uri=e,this._lines=t,this._eol=n,this._versionId=i,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 n of t)this._acceptDeleteRange(n.range),this._acceptInsertText(new Ii(n.range.startLineNumber,n.range.startColumn),n.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let i=0;i<t;i++)n[i]=this._lines[i].length+e;this._lineStarts=new Lke(n)}}_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 n=G1(t);if(n.length===1){this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]+this._lines[e.lineNumber-1].substring(e.column-1));return}n[n.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)+n[0]);const i=new Uint32Array(n.length-1);for(let s=1;s<n.length;s++)this._lines.splice(e.lineNumber+s-1,0,n[s]),i[s-1]=n[s].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,i)}}class VE{constructor(e){const t=U8(e);this._defaultValue=t,this._asciiMap=VE._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){const t=new Uint8Array(256);for(let n=0;n<256;n++)t[n]=e;return t}set(e,t){const n=U8(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class yx{constructor(){this._actual=new VE(0)}add(e){this._actual.set(e,1)}has(e){return this._actual.get(e)===1}}class Fke{constructor(e,t,n){const i=new Uint8Array(e*t);for(let s=0,a=e*t;s<a;s++)i[s]=n;this._data=i,this.rows=e,this.cols=t}get(e,t){return this._data[e*this.cols+t]}set(e,t,n){this._data[e*this.cols+t]=n}}class Pke{constructor(e){let t=0,n=0;for(let s=0,a=e.length;s<a;s++){const[l,u,d]=e[s];u>t&&(t=u),l>n&&(n=l),d>n&&(n=d)}t++,n++;const i=new Fke(n,t,0);for(let s=0,a=e.length;s<a;s++){const[l,u,d]=e[s];i.set(l,u,d)}this._states=i,this._maxCharCode=t}nextState(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)}}let nV=null;function Oke(){return nV===null&&(nV=new Pke([[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]])),nV}let vk=null;function Mke(){if(vk===null){vk=new VE(0);const o=` \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`;for(let t=0;t<o.length;t++)vk.set(o.charCodeAt(t),1);const e=\".,;\";for(let t=0;t<e.length;t++)vk.set(e.charCodeAt(t),2)}return vk}class K8{static _createLink(e,t,n,i,s){let a=s-1;do{const l=t.charCodeAt(a);if(e.get(l)!==2)break;a--}while(a>i);if(i>0){const l=t.charCodeAt(i-1),u=t.charCodeAt(a);(l===40&&u===41||l===91&&u===93||l===123&&u===125)&&a--}return{range:{startLineNumber:n,startColumn:i+1,endLineNumber:n,endColumn:a+2},url:t.substring(i,a+1)}}static computeLinks(e,t=Oke()){const n=Mke(),i=[];for(let s=1,a=e.getLineCount();s<=a;s++){const l=e.getLineContent(s),u=l.length;let d=0,h=0,p=0,g=1,y=!1,D=!1,T=!1,k=!1;for(;d<u;){let I=!1;const F=l.charCodeAt(d);if(g===13){let q;switch(F){case 40:y=!0,q=0;break;case 41:q=y?0:1;break;case 91:T=!0,D=!0,q=0;break;case 93:T=!1,q=D?0:1;break;case 123:k=!0,q=0;break;case 125:q=k?0:1;break;case 39:q=p===34||p===96?0:1;break;case 34:q=p===39||p===96?0:1;break;case 96:q=p===39||p===34?0:1;break;case 42:q=p===42?1:0;break;case 124:q=p===124?1:0;break;case 32:q=T?0:1;break;default:q=n.get(F)}q===1&&(i.push(K8._createLink(n,l,s,h,d)),I=!0)}else if(g===12){let q;F===91?(D=!0,q=0):q=n.get(F),q===1?I=!0:g=13}else g=t.nextState(g,F),g===0&&(I=!0);I&&(g=1,y=!1,D=!1,k=!1,h=d+1,p=F),d++}g===13&&i.push(K8._createLink(n,l,s,h,u))}return i}}function Rke(o){return!o||typeof o.getLineCount!=\"function\"||typeof o.getLineContent!=\"function\"?[]:K8.computeLinks(o)}class lz{constructor(){this._defaultValueSet=[[\"true\",\"false\"],[\"True\",\"False\"],[\"Private\",\"Public\",\"Friend\",\"ReadOnly\",\"Partial\",\"Protected\",\"WriteOnly\"],[\"public\",\"protected\",\"private\"]]}navigateValueSet(e,t,n,i,s){if(e&&t){const a=this.doNavigateValueSet(t,s);if(a)return{range:e,value:a}}if(n&&i){const a=this.doNavigateValueSet(i,s);if(a)return{range:n,value:a}}return null}doNavigateValueSet(e,t){const n=this.numberReplace(e,t);return n!==null?n:this.textReplace(e,t)}numberReplace(e,t){const n=Math.pow(10,e.length-(e.lastIndexOf(\".\")+1));let i=Number(e),s=parseFloat(e);return!isNaN(i)&&!isNaN(s)&&i===s?i===0&&!t?null:(i=Math.floor(i*n),i+=t?n:-n,String(i/n)):null}textReplace(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)}valueSetsReplace(e,t,n){let i=null;for(let s=0,a=e.length;i===null&&s<a;s++)i=this.valueSetReplace(e[s],t,n);return i}valueSetReplace(e,t,n){let i=e.indexOf(t);return i>=0?(i+=n?1:-1,i<0?i=e.length-1:i%=e.length,e[i]):null}}lz.INSTANCE=new lz;class Bke extends VE{constructor(e){super(0);for(let t=0,n=e.length;t<n;t++)this.set(e.charCodeAt(t),2);this.set(32,1),this.set(9,1)}}function jke(o){const e={};return t=>(e.hasOwnProperty(t)||(e[t]=o(t)),e[t])}const Fg=jke(o=>new Bke(o)),Wke=999;class I2{constructor(e,t,n,i){this.searchString=e,this.isRegex=t,this.matchCase=n,this.wordSeparators=i}parseSearchRequest(){if(this.searchString===\"\")return null;let e;this.isRegex?e=Vke(this.searchString):e=this.searchString.indexOf(`\n`)>=0;let t=null;try{t=tue(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:e,global:!0,unicode:!0})}catch{return null}if(!t)return null;let n=!this.isRegex&&!e;return n&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(n=this.matchCase),new NAe(t,this.wordSeparators?Fg(this.wordSeparators):null,n?this.searchString:null)}}function Vke(o){if(!o||o.length===0)return!1;for(let e=0,t=o.length;e<t;e++)if(o.charCodeAt(e)===92){if(e++,e>=t)break;const i=o.charCodeAt(e);if(i===110||i===114||i===87)return!0}return!1}function R2(o,e,t){if(!t)return new j3(o,null);const n=[];for(let i=0,s=e.length;i<s;i++)n[i]=e[i];return new j3(o,n)}class ure{constructor(e){const t=[];let n=0;for(let i=0,s=e.length;i<s;i++)e.charCodeAt(i)===10&&(t[n++]=i);this._lineFeedsOffsets=t}findLineFeedCountBeforeOffset(e){const t=this._lineFeedsOffsets;let n=0,i=t.length-1;if(i===-1||e<=t[0])return 0;for(;n<i;){const s=n+((i-n)/2>>0);t[s]>=e?i=s-1:t[s+1]>=e?(n=s,i=s):n=s+1}return n+1}}class HF{static findMatches(e,t,n,i,s){const a=t.parseSearchRequest();return a?a.regex.multiline?this._doFindMatchesMultiline(e,n,new bx(a.wordSeparators,a.regex),i,s):this._doFindMatchesLineByLine(e,n,a,i,s):[]}static _getMultilineMatchRange(e,t,n,i,s,a){let l,u=0;i?(u=i.findLineFeedCountBeforeOffset(s),l=t+s+u):l=t+s;let d;if(i){const y=i.findLineFeedCountBeforeOffset(s+a.length)-u;d=l+a.length+y}else d=l+a.length;const h=e.getPositionAt(l),p=e.getPositionAt(d);return new He(h.lineNumber,h.column,p.lineNumber,p.column)}static _doFindMatchesMultiline(e,t,n,i,s){const a=e.getOffsetAt(t.getStartPosition()),l=e.getValueInRange(t,1),u=e.getEOL()===`\\r\n`?new ure(l):null,d=[];let h=0,p;for(n.reset(0);p=n.next(l);)if(d[h++]=R2(this._getMultilineMatchRange(e,a,l,u,p.index,p[0]),p,i),h>=s)return d;return d}static _doFindMatchesLineByLine(e,t,n,i,s){const a=[];let l=0;if(t.startLineNumber===t.endLineNumber){const d=e.getLineContent(t.startLineNumber).substring(t.startColumn-1,t.endColumn-1);return l=this._findMatchesInLine(n,d,t.startLineNumber,t.startColumn-1,l,a,i,s),a}const u=e.getLineContent(t.startLineNumber).substring(t.startColumn-1);l=this._findMatchesInLine(n,u,t.startLineNumber,t.startColumn-1,l,a,i,s);for(let d=t.startLineNumber+1;d<t.endLineNumber&&l<s;d++)l=this._findMatchesInLine(n,e.getLineContent(d),d,0,l,a,i,s);if(l<s){const d=e.getLineContent(t.endLineNumber).substring(0,t.endColumn-1);l=this._findMatchesInLine(n,d,t.endLineNumber,0,l,a,i,s)}return a}static _findMatchesInLine(e,t,n,i,s,a,l,u){const d=e.wordSeparators;if(!l&&e.simpleSearch){const g=e.simpleSearch,y=g.length,D=t.length;let T=-y;for(;(T=t.indexOf(g,T+y))!==-1;)if((!d||Yq(d,t,D,T,y))&&(a[s++]=new j3(new He(n,T+1+i,n,T+1+y+i),null),s>=u))return s;return s}const h=new bx(e.wordSeparators,e.regex);let p;h.reset(0);do if(p=h.next(t),p&&(a[s++]=R2(new He(n,p.index+1+i,n,p.index+1+p[0].length+i),p,l),s>=u))return s;while(p);return s}static findNextMatch(e,t,n,i){const s=t.parseSearchRequest();if(!s)return null;const a=new bx(s.wordSeparators,s.regex);return s.regex.multiline?this._doFindNextMatchMultiline(e,n,a,i):this._doFindNextMatchLineByLine(e,n,a,i)}static _doFindNextMatchMultiline(e,t,n,i){const s=new Ii(t.lineNumber,1),a=e.getOffsetAt(s),l=e.getLineCount(),u=e.getValueInRange(new He(s.lineNumber,s.column,l,e.getLineMaxColumn(l)),1),d=e.getEOL()===`\\r\n`?new ure(u):null;n.reset(t.column-1);let h=n.next(u);return h?R2(this._getMultilineMatchRange(e,a,u,d,h.index,h[0]),h,i):t.lineNumber!==1||t.column!==1?this._doFindNextMatchMultiline(e,new Ii(1,1),n,i):null}static _doFindNextMatchLineByLine(e,t,n,i){const s=e.getLineCount(),a=t.lineNumber,l=e.getLineContent(a),u=this._findFirstMatchInLine(n,l,a,t.column,i);if(u)return u;for(let d=1;d<=s;d++){const h=(a+d-1)%s,p=e.getLineContent(h+1),g=this._findFirstMatchInLine(n,p,h+1,1,i);if(g)return g}return null}static _findFirstMatchInLine(e,t,n,i,s){e.reset(i-1);const a=e.next(t);return a?R2(new He(n,a.index+1,n,a.index+1+a[0].length),a,s):null}static findPreviousMatch(e,t,n,i){const s=t.parseSearchRequest();if(!s)return null;const a=new bx(s.wordSeparators,s.regex);return s.regex.multiline?this._doFindPreviousMatchMultiline(e,n,a,i):this._doFindPreviousMatchLineByLine(e,n,a,i)}static _doFindPreviousMatchMultiline(e,t,n,i){const s=this._doFindMatchesMultiline(e,new He(1,1,t.lineNumber,t.column),n,i,10*Wke);if(s.length>0)return s[s.length-1];const a=e.getLineCount();return t.lineNumber!==a||t.column!==e.getLineMaxColumn(a)?this._doFindPreviousMatchMultiline(e,new Ii(a,e.getLineMaxColumn(a)),n,i):null}static _doFindPreviousMatchLineByLine(e,t,n,i){const s=e.getLineCount(),a=t.lineNumber,l=e.getLineContent(a).substring(0,t.column-1),u=this._findLastMatchInLine(n,l,a,i);if(u)return u;for(let d=1;d<=s;d++){const h=(s+a-d-1)%s,p=e.getLineContent(h+1),g=this._findLastMatchInLine(n,p,h+1,i);if(g)return g}return null}static _findLastMatchInLine(e,t,n,i){let s=null,a;for(e.reset(0);a=e.next(t);)s=R2(new He(n,a.index+1,n,a.index+1+a[0].length),a,i);return s}}function Hke(o,e,t,n,i){if(n===0)return!0;const s=e.charCodeAt(n-1);if(o.get(s)!==0||s===13||s===10)return!0;if(i>0){const a=e.charCodeAt(n);if(o.get(a)!==0)return!0}return!1}function $ke(o,e,t,n,i){if(n+i===t)return!0;const s=e.charCodeAt(n+i);if(o.get(s)!==0||s===13||s===10)return!0;if(i>0){const a=e.charCodeAt(n+i-1);if(o.get(a)!==0)return!0}return!1}function Yq(o,e,t,n,i){return Hke(o,e,t,n,i)&&$ke(o,e,t,n,i)}class bx{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 n;do{if(this._prevMatchStartIndex+this._prevMatchLength===t||(n=this._searchRegex.exec(e),!n))return null;const i=n.index,s=n[0].length;if(i===this._prevMatchStartIndex&&s===this._prevMatchLength){if(s===0){V8(e,t,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=i,this._prevMatchLength=s,!this._wordSeparators||Yq(this._wordSeparators,e,t,i,s))return n}while(n);return null}}class Xq{static computeUnicodeHighlights(e,t,n){const i=n?n.startLineNumber:1,s=n?n.endLineNumber:e.getLineCount(),a=new cre(t),l=a.getCandidateCodePoints();let u;l===\"allNonBasicAscii\"?u=new RegExp(\"[^\\\\t\\\\n\\\\r\\\\x20-\\\\x7E]\",\"g\"):u=new RegExp(`${zke(Array.from(l))}`,\"g\");const d=new bx(null,u),h=[];let p=!1,g,y=0,D=0,T=0;e:for(let k=i,I=s;k<=I;k++){const F=e.getLineContent(k),q=F.length;d.reset(0);do if(g=d.next(F),g){let re=g.index,Ie=g.index+g[0].length;if(re>0){const qt=F.charCodeAt(re-1);eh(qt)&&re--}if(Ie+1<q){const qt=F.charCodeAt(Ie-1);eh(qt)&&Ie++}const mt=F.substring(re,Ie),Le=P3(re+1,mq,F,0),Ge=a.shouldHighlightNonBasicASCII(mt,Le?Le.word:null);if(Ge!==0){Ge===3?y++:Ge===2?D++:Ge===1?T++:Dq();const qt=1e3;if(h.length>=qt){p=!0;break e}h.push(new He(k,re+1,k,Ie+1))}}while(g)}return{ranges:h,hasMore:p,ambiguousCharacterCount:y,invisibleCharacterCount:D,nonBasicAsciiCharacterCount:T}}static computeUnicodeHighlightReason(e,t){const n=new cre(t);switch(n.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{const s=e.codePointAt(0),a=n.ambiguousCharacters.getPrimaryConfusable(s),l=Tm.getLocales().filter(u=>!Tm.getInstance(new Set([...t.allowedLocales,u])).isAmbiguous(s));return{kind:0,confusableWith:String.fromCodePoint(a),notAmbiguousInLocales:l}}case 1:return{kind:2}}}}function zke(o,e){return`[${Ng(o.map(n=>String.fromCodePoint(n)).join(\"\"))}]`}class cre{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=Tm.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return\"allNonBasicAscii\";const e=new Set;if(this.options.invisibleCharacters)for(const t of H1.codePoints)dre(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 n=e.codePointAt(0);if(this.allowedCodePoints.has(n))return 0;if(this.options.nonBasicASCII)return 1;let i=!1,s=!1;if(t)for(let a of t){const l=a.codePointAt(0),u=vP(a);i=i||u,!u&&!this.ambiguousCharacters.isAmbiguous(l)&&!H1.isInvisibleCharacter(l)&&(s=!0)}return!i&&s?0:this.options.invisibleCharacters&&!dre(e)&&H1.isInvisibleCharacter(n)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(n)?3:0}}function dre(o){return o===\" \"||o===`\n`||o===\"\t\"}var S2=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};class Uke extends Ike{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,t){const n=P3(e.column,Nle(t),this._lines[e.lineNumber-1],0);return n?new He(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null}words(e){const t=this._lines,n=this._wordenize.bind(this);let i=0,s=\"\",a=0,l=[];return{*[Symbol.iterator](){for(;;)if(a<l.length){const u=s.substring(l[a].start,l[a].end);a+=1,yield u}else if(i<t.length)s=t[i],l=n(s,e),a=0,i+=1;else break}}}getLineWords(e,t){const n=this._lines[e-1],i=this._wordenize(n,t),s=[];for(const a of i)s.push({word:n.substring(a.start,a.end),startColumn:a.start+1,endColumn:a.end+1});return s}_wordenize(e,t){const n=[];let i;for(t.lastIndex=0;(i=t.exec(e))&&i[0].length!==0;)n.push({start:i.index,end:i.index+i[0].length});return n}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,n=e.startLineNumber-1,i=e.endLineNumber-1,s=[];s.push(this._lines[n].substring(e.startColumn-1));for(let a=n+1;a<i;a++)s.push(this._lines[a]);return s.push(this._lines[i].substring(0,e.endColumn-1)),s.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),n=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,n)}}_validateRange(e){const t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),n=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||n.lineNumber!==e.endLineNumber||n.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}:e}_validatePosition(e){if(!Ii.isIPosition(e))throw new Error(\"bad position\");let{lineNumber:t,column:n}=e,i=!1;if(t<1)t=1,n=1,i=!0;else if(t>this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,i=!0;else{const s=this._lines[t-1].length+1;n<1?(n=1,i=!0):n>s&&(n=s,i=!0)}return i?{lineNumber:t,column:n}:e}}class xD{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 Uke(wa.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]}computeUnicodeHighlights(e,t,n){return S2(this,void 0,void 0,function*(){const i=this._getModel(e);return i?Xq.computeUnicodeHighlights(i,t,n):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(e,t,n,i){return S2(this,void 0,void 0,function*(){const s=this._getModel(e),a=this._getModel(t);if(!s||!a)return null;const l=s.getLinesContent(),u=a.getLinesContent(),h=new kke(l,u,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:i}).computeDiff(),p=h.changes.length>0?!1:this._modelsAreIdentical(s,a);return{quitEarly:h.quitEarly,identical:p,changes:h.changes}})}_modelsAreIdentical(e,t){const n=e.getLineCount(),i=t.getLineCount();if(n!==i)return!1;for(let s=1;s<=n;s++){const a=e.getLineContent(s),l=t.getLineContent(s);if(a!==l)return!1}return!0}computeMoreMinimalEdits(e,t){return S2(this,void 0,void 0,function*(){const n=this._getModel(e);if(!n)return t;const i=[];let s;t=t.slice(0).sort((a,l)=>{if(a.range&&l.range)return He.compareRangesUsingStarts(a.range,l.range);const u=a.range?0:1,d=l.range?0:1;return u-d});for(let{range:a,text:l,eol:u}of t){if(typeof u==\"number\"&&(s=u),He.isEmpty(a)&&!l)continue;const d=n.getValueInRange(a);if(l=l.replace(/\\r\\n|\\n|\\r/g,n.eol),d===l)continue;if(Math.max(l.length,d.length)>xD._diffLimit){i.push({range:a,text:l});continue}const h=xke(d,l,!1),p=n.offsetAt(He.lift(a).getStartPosition());for(const g of h){const y=n.positionAt(p+g.originalStart),D=n.positionAt(p+g.originalStart+g.originalLength),T={text:l.substr(g.modifiedStart,g.modifiedLength),range:{startLineNumber:y.lineNumber,startColumn:y.column,endLineNumber:D.lineNumber,endColumn:D.column}};n.getValueInRange(T.range)!==T.text&&i.push(T)}}return typeof s==\"number\"&&i.push({eol:s,text:\"\",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),i})}computeLinks(e){return S2(this,void 0,void 0,function*(){const t=this._getModel(e);return t?Rke(t):null})}textualSuggest(e,t,n,i){return S2(this,void 0,void 0,function*(){const s=new Bf(!0),a=new RegExp(n,i),l=new Set;e:for(let u of e){const d=this._getModel(u);if(!!d){for(let h of d.words(a))if(!(h===t||!isNaN(Number(h)))&&(l.add(h),l.size>xD._suggestionsLimit))break e}}return{words:Array.from(l),duration:s.elapsed()}})}computeWordRanges(e,t,n,i){return S2(this,void 0,void 0,function*(){const s=this._getModel(e);if(!s)return Object.create(null);const a=new RegExp(n,i),l=Object.create(null);for(let u=t.startLineNumber;u<t.endLineNumber;u++){const d=s.getLineWords(u,a);for(const h of d){if(!isNaN(Number(h.word)))continue;let p=l[h.word];p||(p=[],l[h.word]=p),p.push({startLineNumber:u,startColumn:h.startColumn,endLineNumber:u,endColumn:h.endColumn})}}return l})}navigateValueSet(e,t,n,i,s){return S2(this,void 0,void 0,function*(){const a=this._getModel(e);if(!a)return null;const l=new RegExp(i,s);t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1});const u=a.getValueInRange(t),d=a.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},l);if(!d)return null;const h=a.getValueInRange(d);return lz.INSTANCE.navigateValueSet(t,u,d,h,n)})}loadForeignModule(e,t,n){const a={host:jEe(n,(l,u)=>this._host.fhr(l,u)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(a,t),Promise.resolve(Cq(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(n){return Promise.reject(n)}}}xD._diffLimit=1e5;xD._suggestionsLimit=1e4;typeof importScripts==\"function\"&&(cd.monaco=Xle());const Qq=zl(\"textResourceConfigurationService\"),Tue=zl(\"textResourcePropertiesService\"),km=zl(\"logService\");var d0;(function(o){o[o.Trace=0]=\"Trace\",o[o.Debug=1]=\"Debug\",o[o.Info=2]=\"Info\",o[o.Warning=3]=\"Warning\",o[o.Error=4]=\"Error\",o[o.Critical=5]=\"Critical\",o[o.Off=6]=\"Off\"})(d0||(d0={}));const Aue=d0.Info;class Kke extends fr{constructor(){super(...arguments),this.level=Aue,this._onDidChangeLogLevel=this._register(new ri)}setLevel(e){this.level!==e&&(this.level=e,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}}class qke extends Kke{constructor(e=Aue){super(),this.setLevel(e)}trace(e,...t){this.getLevel()<=d0.Trace&&console.log(\"%cTRACE\",\"color: #888\",e,...t)}debug(e,...t){this.getLevel()<=d0.Debug&&console.log(\"%cDEBUG\",\"background: #eee; color: #888\",e,...t)}info(e,...t){this.getLevel()<=d0.Info&&console.log(\"%c INFO\",\"color: #33f\",e,...t)}error(e,...t){this.getLevel()<=d0.Error&&console.log(\"%c  ERR\",\"color: #f33\",e,...t)}dispose(){}}class Gke extends fr{constructor(e){super(),this.logger=e,this._register(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)}error(e,...t){this.logger.error(e,...t)}}const $o=zl(\"ILanguageFeaturesService\");var Jke=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},Ck=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},uz=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};const hre=60*1e3,pre=5*60*1e3;function B2(o,e){const t=o.getModel(e);return!(!t||t.isTooLargeForSyncing())}let cz=class extends fr{constructor(e,t,n,i,s){super(),this._modelService=e,this._workerManager=this._register(new Xke(this._modelService,i)),this._logService=n,this._register(s.linkProvider.register({language:\"*\",hasAccessToAllModels:!0},{provideLinks:(a,l)=>B2(this._modelService,a.uri)?this._workerManager.withWorker().then(u=>u.computeLinks(a.uri)).then(u=>u&&{links:u}):Promise.resolve({links:[]})})),this._register(s.completionProvider.register(\"*\",new Yke(this._workerManager,t,this._modelService,i)))}dispose(){super.dispose()}canComputeUnicodeHighlights(e){return B2(this._modelService,e)}computedUnicodeHighlights(e,t,n){return this._workerManager.withWorker().then(i=>i.computedUnicodeHighlights(e,t,n))}computeDiff(e,t,n,i){return this._workerManager.withWorker().then(s=>s.computeDiff(e,t,n,i))}computeMoreMinimalEdits(e,t){if(d_(t)){if(!B2(this._modelService,e))return Promise.resolve(t);const n=Bf.create(!0),i=this._workerManager.withWorker().then(s=>s.computeMoreMinimalEdits(e,t));return i.finally(()=>this._logService.trace(\"FORMAT#computeMoreMinimalEdits\",e.toString(!0),n.elapsed())),Promise.race([i,Zv(1e3).then(()=>t)])}else return Promise.resolve(void 0)}canNavigateValueSet(e){return B2(this._modelService,e)}navigateValueSet(e,t,n){return this._workerManager.withWorker().then(i=>i.navigateValueSet(e,t,n))}canComputeWordRanges(e){return B2(this._modelService,e)}computeWordRanges(e,t){return this._workerManager.withWorker().then(n=>n.computeWordRanges(e,t))}};cz=Jke([Ck(0,Oc),Ck(1,Qq),Ck(2,km),Ck(3,Dp),Ck(4,$o)],cz);class Yke{constructor(e,t,n,i){this.languageConfigurationService=i,this._debugDisplayName=\"wordbasedCompletions\",this._workerManager=e,this._configurationService=t,this._modelService=n}provideCompletionItems(e,t){return uz(this,void 0,void 0,function*(){const n=this._configurationService.getValue(e.uri,t,\"editor\");if(!n.wordBasedSuggestions)return;const i=[];if(n.wordBasedSuggestionsMode===\"currentDocument\")B2(this._modelService,e.uri)&&i.push(e.uri);else for(const p of this._modelService.getModels())!B2(this._modelService,p.uri)||(p===e?i.unshift(p.uri):(n.wordBasedSuggestionsMode===\"allDocuments\"||p.getLanguageId()===e.getLanguageId())&&i.push(p.uri));if(i.length===0)return;const s=this.languageConfigurationService.getLanguageConfiguration(e.getLanguageId()).getWordDefinition(),a=e.getWordAtPosition(t),l=a?new He(t.lineNumber,a.startColumn,t.lineNumber,a.endColumn):He.fromPositions(t),u=l.setEndPosition(t.lineNumber,t.column),h=yield(yield this._workerManager.withWorker()).textualSuggest(i,a==null?void 0:a.word,s);if(!!h)return{duration:h.duration,suggestions:h.words.map(p=>({kind:18,label:p,insertText:p,range:{insert:u,replace:l}}))}})}}class Xke extends fr{constructor(e,t){super(),this.languageConfigurationService=t,this._modelService=e,this._editorWorkerClient=null,this._lastWorkerUsedTime=new Date().getTime(),this._register(new e4).cancelAndSet(()=>this._checkStopIdleWorker(),Math.round(pre/2)),this._register(this._modelService.onModelRemoved(i=>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>pre&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}withWorker(){return this._lastWorkerUsedTime=new Date().getTime(),this._editorWorkerClient||(this._editorWorkerClient=new kue(this._modelService,!1,\"editorWorkerService\",this.languageConfigurationService)),Promise.resolve(this._editorWorkerClient)}}class Qke extends fr{constructor(e,t,n){if(super(),this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),this._proxy=e,this._modelService=t,!n){const i=new e4;i.cancelAndSet(()=>this._checkStopModelSync(),Math.round(hre/2)),this._register(i)}}dispose(){for(let e in this._syncedModels)eu(this._syncedModels[e]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),super.dispose()}ensureSyncedResources(e,t){for(const n of e){const i=n.toString();this._syncedModels[i]||this._beginModelSync(n,t),this._syncedModels[i]&&(this._syncedModelsLastUsedTime[i]=new Date().getTime())}}_checkStopModelSync(){const e=new Date().getTime(),t=[];for(let n in this._syncedModelsLastUsedTime)e-this._syncedModelsLastUsedTime[n]>hre&&t.push(n);for(const n of t)this._stopModelSync(n)}_beginModelSync(e,t){const n=this._modelService.getModel(e);if(!n||!t&&n.isTooLargeForSyncing())return;const i=e.toString();this._proxy.acceptNewModel({url:n.uri.toString(),lines:n.getLinesContent(),EOL:n.getEOL(),versionId:n.getVersionId()});const s=new fs;s.add(n.onDidChangeContent(a=>{this._proxy.acceptModelChanged(i.toString(),a)})),s.add(n.onWillDispose(()=>{this._stopModelSync(i)})),s.add(wl(()=>{this._proxy.acceptRemovedModel(i)})),this._syncedModels[i]=s}_stopModelSync(e){const t=this._syncedModels[e];delete this._syncedModels[e],delete this._syncedModelsLastUsedTime[e],eu(t)}}class fre{constructor(e){this._instance=e,this._proxyObj=Promise.resolve(this._instance)}dispose(){this._instance.dispose()}getProxyObject(){return this._proxyObj}}class iV{constructor(e){this._workerClient=e}fhr(e,t){return this._workerClient.fhr(e,t)}}class kue extends fr{constructor(e,t,n,i){super(),this.languageConfigurationService=i,this._disposed=!1,this._modelService=e,this._keepIdleModels=t,this._workerFactory=new xP(n),this._worker=null,this._modelManager=null}fhr(e,t){throw new Error(\"Not implemented!\")}_getOrCreateWorker(){if(!this._worker)try{this._worker=this._register(new gke(this._workerFactory,\"vs/editor/common/services/editorSimpleWorker\",new iV(this)))}catch(e){sz(e),this._worker=new fre(new xD(new iV(this),null))}return this._worker}_getProxy(){return this._getOrCreateWorker().getProxyObject().then(void 0,e=>(sz(e),this._worker=new fre(new xD(new iV(this),null)),this._getOrCreateWorker().getProxyObject()))}_getOrCreateModelManager(e){return this._modelManager||(this._modelManager=this._register(new Qke(e,this._modelService,this._keepIdleModels))),this._modelManager}_withSyncedResources(e,t=!1){return uz(this,void 0,void 0,function*(){return this._disposed?Promise.reject(wq()):this._getProxy().then(n=>(this._getOrCreateModelManager(n).ensureSyncedResources(e,t),n))})}computedUnicodeHighlights(e,t,n){return this._withSyncedResources([e]).then(i=>i.computeUnicodeHighlights(e.toString(),t,n))}computeDiff(e,t,n,i){return this._withSyncedResources([e,t],!0).then(s=>s.computeDiff(e.toString(),t.toString(),n,i))}computeMoreMinimalEdits(e,t){return this._withSyncedResources([e]).then(n=>n.computeMoreMinimalEdits(e.toString(),t))}computeLinks(e){return this._withSyncedResources([e]).then(t=>t.computeLinks(e.toString()))}textualSuggest(e,t,n){return uz(this,void 0,void 0,function*(){const i=yield this._withSyncedResources(e),s=n.source,a=UW(n);return i.textualSuggest(e.map(l=>l.toString()),t,s,a)})}computeWordRanges(e,t){return this._withSyncedResources([e]).then(n=>{const i=this._modelService.getModel(e);if(!i)return Promise.resolve(null);const s=this.languageConfigurationService.getLanguageConfiguration(i.getLanguageId()).getWordDefinition(),a=s.source,l=UW(s);return n.computeWordRanges(e.toString(),t,a,l)})}navigateValueSet(e,t,n){return this._withSyncedResources([e]).then(i=>{const s=this._modelService.getModel(e);if(!s)return null;const a=this.languageConfigurationService.getLanguageConfiguration(s.getLanguageId()).getWordDefinition(),l=a.source,u=UW(a);return i.navigateValueSet(e.toString(),t,n,l,u)})}dispose(){super.dispose(),this._disposed=!0}}function Zke(o,e,t){return new e3e(o,e,t)}class e3e extends kue{constructor(e,t,n){super(e,n.keepIdleModels||!1,n.label,t),this._foreignModuleId=n.moduleId,this._foreignModuleCreateData=n.createData||null,this._foreignModuleHost=n.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(n){return Promise.reject(n)}}_getForeignProxy(){return this._foreignProxy||(this._foreignProxy=this._getProxy().then(e=>{const t=this._foreignModuleHost?Cq(this._foreignModuleHost):[];return e.loadForeignModule(this._foreignModuleId,this._foreignModuleCreateData,t).then(n=>{this._foreignModuleCreateData=null;const i=(l,u)=>e.fmr(l,u),s=(l,u)=>function(){const d=Array.prototype.slice.call(arguments,0);return u(l,d)},a={};for(const l of n)a[l]=s(l,i);return a})})),this._foreignProxy}getProxy(){return this._getForeignProxy()}withSyncedResources(e){return this._withSyncedResources(e).then(t=>this.getProxy())}}class th{constructor(e,t,n){this._lineTokensBrand=void 0,this._tokens=e,this._tokensCount=this._tokens.length>>>1,this._text=t,this._languageIdCodec=n}static createEmpty(e,t){const n=th.defaultTokenMetadata,i=new Uint32Array(2);return i[0]=e.length,i[1]=n,new th(i,e,t)}equals(e){return e instanceof th?this.slicedEquals(e,0,this._tokensCount):!1}slicedEquals(e,t,n){if(this._text!==e._text||this._tokensCount!==e._tokensCount)return!1;const i=t<<1,s=i+(n<<1);for(let a=i;a<s;a++)if(this._tokens[a]!==e._tokens[a])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],n=yp.getLanguageId(t);return this._languageIdCodec.decodeLanguageId(n)}getStandardTokenType(e){const t=this._tokens[(e<<1)+1];return yp.getTokenType(t)}getForeground(e){const t=this._tokens[(e<<1)+1];return yp.getForeground(t)}getClassName(e){const t=this._tokens[(e<<1)+1];return yp.getClassNameFromMetadata(t)}getInlineStyle(e,t){const n=this._tokens[(e<<1)+1];return yp.getInlineStyleFromMetadata(n,t)}getPresentation(e){const t=this._tokens[(e<<1)+1];return yp.getPresentationFromMetadata(t)}getEndOffset(e){return this._tokens[e<<1]}findTokenIndexAtOffset(e){return th.findIndexInTokensArray(this._tokens,e)}inflate(){return this}sliceAndInflate(e,t,n){return new Zq(this,e,t,n)}static convertToEndOffset(e,t){const i=(e.length>>>1)-1;for(let s=0;s<i;s++)e[s<<1]=e[s+1<<1];e[i<<1]=t}static findIndexInTokensArray(e,t){if(e.length<=2)return 0;let n=0,i=(e.length>>>1)-1;for(;n<i;){const s=n+Math.floor((i-n)/2),a=e[s<<1];if(a===t)return s+1;a<t?n=s+1:a>t&&(i=s)}return n}withInserted(e){if(e.length===0)return this;let t=0,n=0,i=\"\";const s=new Array;let a=0;for(;;){const l=t<this._tokensCount?this._tokens[t<<1]:-1,u=n<e.length?e[n]:null;if(l!==-1&&(u===null||l<=u.offset)){i+=this._text.substring(a,l);const d=this._tokens[(t<<1)+1];s.push(i.length,d),t++,a=l}else if(u){if(u.offset>a){i+=this._text.substring(a,u.offset);const d=this._tokens[(t<<1)+1];s.push(i.length,d),a=u.offset}i+=u.text,s.push(i.length,u.tokenMetadata),n++}else break}return new th(new Uint32Array(s),i,this._languageIdCodec)}}th.defaultTokenMetadata=(0<<10|1<<14|2<<23)>>>0;class Zq{constructor(e,t,n,i){this._source=e,this._startOffset=t,this._endOffset=n,this._deltaOffset=i,this._firstTokenIndex=e.findTokenIndexAtOffset(t),this._tokensCount=0;for(let s=this._firstTokenIndex,a=e.getCount();s<a&&!(e.getStartOffset(s)>=n);s++)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 Zq?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 z_{constructor(e,t,n,i){this.startColumn=e,this.endColumn=t,this.className=n,this.type=i,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 n=e.length,i=t.length;if(n!==i)return!1;for(let s=0;s<n;s++)if(!z_._equals(e[s],t[s]))return!1;return!0}static extractWrapped(e,t,n){if(e.length===0)return e;const i=t+1,s=n+1,a=n-t,l=[];let u=0;for(const d of e)d.endColumn<=i||d.startColumn>=s||(l[u++]=new z_(Math.max(1,d.startColumn-i+1),Math.min(a+1,d.endColumn-i+1),d.className,d.type));return l}static filter(e,t,n,i){if(e.length===0)return[];const s=[];let a=0;for(let l=0,u=e.length;l<u;l++){const d=e[l],h=d.range;if(h.endLineNumber<t||h.startLineNumber>t||h.isEmpty()&&(d.type===0||d.type===3))continue;const p=h.startLineNumber===t?h.startColumn:n,g=h.endLineNumber===t?h.endColumn:i;s[a++]=new z_(p,g,d.inlineClassName,d.type)}return s}static _typeCompare(e,t){const n=[2,0,1,3];return n[e]-n[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 n=z_._typeCompare(e.type,t.type);return n!==0?n:e.className!==t.className?e.className<t.className?-1:1:0}}class _re{constructor(e,t,n,i){this.startOffset=e,this.endOffset=t,this.className=n,this.metadata=i}}class q8{constructor(){this.stopOffsets=[],this.classNames=[],this.metadata=[],this.count=0}static _metadata(e){let t=0;for(let n=0,i=e.length;n<i;n++)t|=e[n];return t}consumeLowerThan(e,t,n){for(;this.count>0&&this.stopOffsets[0]<e;){let i=0;for(;i+1<this.count&&this.stopOffsets[i]===this.stopOffsets[i+1];)i++;n.push(new _re(t,this.stopOffsets[i],this.classNames.join(\" \"),q8._metadata(this.metadata))),t=this.stopOffsets[i]+1,this.stopOffsets.splice(0,i+1),this.classNames.splice(0,i+1),this.metadata.splice(0,i+1),this.count-=i+1}return this.count>0&&t<e&&(n.push(new _re(t,e-1,this.classNames.join(\" \"),q8._metadata(this.metadata))),t=e),t}insert(e,t,n){if(this.count===0||this.stopOffsets[this.count-1]<=e)this.stopOffsets.push(e),this.classNames.push(t),this.metadata.push(n);else for(let i=0;i<this.count;i++)if(this.stopOffsets[i]>=e){this.stopOffsets.splice(i,0,e),this.classNames.splice(i,0,t),this.metadata.splice(i,0,n);break}this.count++}}class t3e{static normalize(e,t){if(t.length===0)return[];const n=[],i=new q8;let s=0;for(let a=0,l=t.length;a<l;a++){const u=t[a];let d=u.startColumn,h=u.endColumn;const p=u.className,g=u.type===1?2:u.type===2?4:0;if(d>1){const T=e.charCodeAt(d-2);eh(T)&&d--}if(h>1){const T=e.charCodeAt(h-2);eh(T)&&h--}const y=d-1,D=h-2;s=i.consumeLowerThan(y,s,n),i.count===0&&(s=y),i.insert(D,p,g)}return i.consumeLowerThan(1073741824,s,n),n}}class mh{constructor(e,t,n){this._linePartBrand=void 0,this.endIndex=e,this.type=t,this.metadata=n}isWhitespace(){return!!(this.metadata&1)}isPseudoAfter(){return!!(this.metadata&4)}}class n3e{constructor(e,t){this.startOffset=e,this.endOffset=t}equals(e){return this.startOffset===e.startOffset&&this.endOffset===e.endOffset}}class lw{constructor(e,t,n,i,s,a,l,u,d,h,p,g,y,D,T,k,I,F,q){this.useMonospaceOptimizations=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=n,this.continuesWithWrappedLine=i,this.isBasicASCII=s,this.containsRTL=a,this.fauxIndentLength=l,this.lineTokens=u,this.lineDecorations=d.sort(z_.compare),this.tabSize=h,this.startVisibleColumn=p,this.spaceWidth=g,this.stopRenderingLineAfter=T,this.renderWhitespace=k===\"all\"?4:k===\"boundary\"?1:k===\"selection\"?2:k===\"trailing\"?3:0,this.renderControlCharacters=I,this.fontLigatures=F,this.selectionsOnLine=q&&q.sort((mt,Le)=>mt.startOffset<Le.startOffset?-1:1);const re=Math.abs(D-g),Ie=Math.abs(y-g);re<Ie?(this.renderSpaceWidth=D,this.renderSpaceCharCode=11825):(this.renderSpaceWidth=y,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&&z_.equalsArr(this.lineDecorations,e.lineDecorations)&&this.lineTokens.equals(e.lineTokens)&&this.sameSelection(e.selectionsOnLine)}}class eG{constructor(e,t){this.partIndex=e,this.charIndex=t}}class S1{constructor(e,t){this.length=e,this._data=new Uint32Array(this.length),this._absoluteOffsets=new Uint32Array(this.length)}static getPartIndex(e){return(e&4294901760)>>>16}static getCharIndex(e){return(e&65535)>>>0}setColumnInfo(e,t,n,i){const s=(t<<16|n<<0)>>>0;this._data[e-1]=s,this._absoluteOffsets[e-1]=i+n}getAbsoluteOffset(e){return this._absoluteOffsets.length===0?0:this._absoluteOffsets[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),n=S1.getPartIndex(t),i=S1.getCharIndex(t);return new eG(n,i)}getColumn(e,t){return this.partDataToCharOffset(e.partIndex,t,e.charIndex)+1}partDataToCharOffset(e,t,n){if(this.length===0)return 0;const i=(e<<16|n<<0)>>>0;let s=0,a=this.length-1;for(;s+1<a;){const T=s+a>>>1,k=this._data[T];if(k===i)return T;k>i?a=T:s=T}if(s===a)return s;const l=this._data[s],u=this._data[a];if(l===i)return s;if(u===i)return a;const d=S1.getPartIndex(l),h=S1.getCharIndex(l),p=S1.getPartIndex(u);let g;d!==p?g=t:g=S1.getCharIndex(u);const y=n-h,D=g-n;return y<=D?s:a}}class dz{constructor(e,t,n){this._renderLineOutputBrand=void 0,this.characterMapping=e,this.containsRTL=t,this.containsForeignElements=n}}function AP(o,e){if(o.lineContent.length===0){if(o.lineDecorations.length>0){e.appendASCIIString(\"<span>\");let t=0,n=0,i=0;for(const a of o.lineDecorations)(a.type===1||a.type===2)&&(e.appendASCIIString('<span class=\"'),e.appendASCIIString(a.className),e.appendASCIIString('\"></span>'),a.type===1&&(i|=1,t++),a.type===2&&(i|=2,n++));e.appendASCIIString(\"</span>\");const s=new S1(1,t+n);return s.setColumnInfo(1,t,0,0),new dz(s,!1,i)}return e.appendASCIIString(\"<span><span></span></span>\"),new dz(new S1(0,0),!1,0)}return d3e(s3e(o),e)}class i3e{constructor(e,t,n,i){this.characterMapping=e,this.html=t,this.containsRTL=n,this.containsForeignElements=i}}function kP(o){const e=wD(1e4),t=AP(o,e);return new i3e(t.characterMapping,e.build(),t.containsRTL,t.containsForeignElements)}class r3e{constructor(e,t,n,i,s,a,l,u,d,h,p,g,y,D,T){this.fontIsMonospace=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=n,this.len=i,this.isOverflowing=s,this.parts=a,this.containsForeignElements=l,this.fauxIndentLength=u,this.tabSize=d,this.startVisibleColumn=h,this.containsRTL=p,this.spaceWidth=g,this.renderSpaceCharCode=y,this.renderWhitespace=D,this.renderControlCharacters=T}}function s3e(o){const e=o.lineContent;let t,n;o.stopRenderingLineAfter!==-1&&o.stopRenderingLineAfter<e.length?(t=!0,n=o.stopRenderingLineAfter):(t=!1,n=e.length);let i=o3e(o.lineTokens,o.fauxIndentLength,n);o.renderControlCharacters&&!o.isBasicASCII&&(i=l3e(e,i)),(o.renderWhitespace===4||o.renderWhitespace===1||o.renderWhitespace===2&&!!o.selectionsOnLine||o.renderWhitespace===3)&&(i=u3e(o,e,n,i));let s=0;if(o.lineDecorations.length>0){for(let a=0,l=o.lineDecorations.length;a<l;a++){const u=o.lineDecorations[a];u.type===3||u.type===1?s|=1:u.type===2&&(s|=2)}i=c3e(e,n,i,o.lineDecorations)}return o.containsRTL||(i=a3e(e,i,!o.isBasicASCII||o.fontLigatures)),new r3e(o.useMonospaceOptimizations,o.canUseHalfwidthRightwardsArrow,e,n,t,i,s,o.fauxIndentLength,o.tabSize,o.startVisibleColumn,o.containsRTL,o.spaceWidth,o.renderSpaceCharCode,o.renderWhitespace,o.renderControlCharacters)}function o3e(o,e,t){const n=[];let i=0;e>0&&(n[i++]=new mh(e,\"\",0));for(let s=0,a=o.getCount();s<a;s++){const l=o.getEndOffset(s);if(l<=e)continue;const u=o.getClassName(s);if(l>=t){n[i++]=new mh(t,u,0);break}n[i++]=new mh(l,u,0)}return n}function a3e(o,e,t){let n=0;const i=[];let s=0;if(t)for(let a=0,l=e.length;a<l;a++){const u=e[a],d=u.endIndex;if(n+50<d){const h=u.type,p=u.metadata;let g=-1,y=n;for(let D=n;D<d;D++)o.charCodeAt(D)===32&&(g=D),g!==-1&&D-y>=50&&(i[s++]=new mh(g+1,h,p),y=g+1,g=-1);y!==d&&(i[s++]=new mh(d,h,p))}else i[s++]=u;n=d}else for(let a=0,l=e.length;a<l;a++){const u=e[a],d=u.endIndex,h=d-n;if(h>50){const p=u.type,g=u.metadata,y=Math.ceil(h/50);for(let D=1;D<y;D++){const T=n+D*50;i[s++]=new mh(T,p,g)}i[s++]=new mh(d,p,g)}else i[s++]=u;n=d}return i}function Lue(o){return o<32?o!==9:o===127||o>=8234&&o<=8238||o>=8294&&o<=8297||o>=8206&&o<=8207||o===1564}function l3e(o,e){const t=[];let n=new mh(0,\"\",0),i=0;for(const s of e){const a=s.endIndex;for(;i<a;i++){const l=o.charCodeAt(i);Lue(l)&&(i>n.endIndex&&(n=new mh(i,s.type,s.metadata),t.push(n)),n=new mh(i+1,\"mtkcontrol\",s.metadata),t.push(n))}i>n.endIndex&&(n=new mh(a,s.type,s.metadata),t.push(n))}return t}function u3e(o,e,t,n){const i=o.continuesWithWrappedLine,s=o.fauxIndentLength,a=o.tabSize,l=o.startVisibleColumn,u=o.useMonospaceOptimizations,d=o.selectionsOnLine,h=o.renderWhitespace===1,p=o.renderWhitespace===3,g=o.renderSpaceWidth!==o.spaceWidth,y=[];let D=0,T=0,k=n[T].type,I=n[T].endIndex;const F=n.length;let q=!1,re=pf(e),Ie;re===-1?(q=!0,re=t,Ie=t):Ie=V1(e);let mt=!1,Le=0,Ge=d&&d[Le],qt=l%a;for(let ai=s;ai<t;ai++){const Tr=e.charCodeAt(ai);Ge&&ai>=Ge.endOffset&&(Le++,Ge=d&&d[Le]);let Vr;if(ai<re||ai>Ie)Vr=!0;else if(Tr===9)Vr=!0;else if(Tr===32)if(h)if(mt)Vr=!0;else{const go=ai+1<t?e.charCodeAt(ai+1):0;Vr=go===32||go===9}else Vr=!0;else Vr=!1;if(Vr&&d&&(Vr=!!Ge&&Ge.startOffset<=ai&&Ge.endOffset>ai),Vr&&p&&(Vr=q||ai>Ie),mt){if(!Vr||!u&&qt>=a){if(g){const go=D>0?y[D-1].endIndex:s;for(let Js=go+1;Js<=ai;Js++)y[D++]=new mh(Js,\"mtkw\",1)}else y[D++]=new mh(ai,\"mtkw\",1);qt=qt%a}}else(ai===I||Vr&&ai>s)&&(y[D++]=new mh(ai,k,0),qt=qt%a);for(Tr===9?qt=a:Qv(Tr)?qt+=2:qt++,mt=Vr;ai===I&&(T++,T<F);)k=n[T].type,I=n[T].endIndex}let gi=!1;if(mt)if(i&&h){const ai=t>0?e.charCodeAt(t-1):0,Tr=t>1?e.charCodeAt(t-2):0;ai===32&&Tr!==32&&Tr!==9||(gi=!0)}else gi=!0;if(gi)if(g){const ai=D>0?y[D-1].endIndex:s;for(let Tr=ai+1;Tr<=t;Tr++)y[D++]=new mh(Tr,\"mtkw\",1)}else y[D++]=new mh(t,\"mtkw\",1);else y[D++]=new mh(t,k,0);return y}function c3e(o,e,t,n){n.sort(z_.compare);const i=t3e.normalize(o,n),s=i.length;let a=0;const l=[];let u=0,d=0;for(let p=0,g=t.length;p<g;p++){const y=t[p],D=y.endIndex,T=y.type,k=y.metadata;for(;a<s&&i[a].startOffset<D;){const I=i[a];if(I.startOffset>d&&(d=I.startOffset,l[u++]=new mh(d,T,k)),I.endOffset+1<=D)d=I.endOffset+1,l[u++]=new mh(d,T+\" \"+I.className,k|I.metadata),a++;else{d=D,l[u++]=new mh(d,T+\" \"+I.className,k|I.metadata);break}}D>d&&(d=D,l[u++]=new mh(d,T,k))}const h=t[t.length-1].endIndex;if(a<s&&i[a].startOffset===h)for(;a<s&&i[a].startOffset===h;){const p=i[a];l[u++]=new mh(d,p.className,p.metadata),a++}return l}function d3e(o,e){const t=o.fontIsMonospace,n=o.canUseHalfwidthRightwardsArrow,i=o.containsForeignElements,s=o.lineContent,a=o.len,l=o.isOverflowing,u=o.parts,d=o.fauxIndentLength,h=o.tabSize,p=o.startVisibleColumn,g=o.containsRTL,y=o.spaceWidth,D=o.renderSpaceCharCode,T=o.renderWhitespace,k=o.renderControlCharacters,I=new S1(a+1,u.length);let F=!1,q=0,re=p,Ie=0,mt=0,Le=0,Ge=0;g?e.appendASCIIString('<span dir=\"ltr\">'):e.appendASCIIString(\"<span>\");for(let qt=0,gi=u.length;qt<gi;qt++){Ge+=Le;const ai=u[qt],Tr=ai.endIndex,Vr=ai.type,go=T!==0&&ai.isWhitespace(),Js=go&&!t&&(Vr===\"mtkw\"||!i),Fo=q===Tr&&ai.isPseudoAfter();if(Ie=0,e.appendASCIIString('<span class=\"'),e.appendASCIIString(Js?\"mtkz\":Vr),e.appendASCII(34),go){let aa=0;{let Qo=q,Ao=re;for(;Qo<Tr;Qo++){const nl=(s.charCodeAt(Qo)===9?h-Ao%h:1)|0;aa+=nl,Qo>=d&&(Ao+=nl)}}for(Js&&(e.appendASCIIString(' style=\"width:'),e.appendASCIIString(String(y*aa)),e.appendASCIIString('px\"')),e.appendASCII(62);q<Tr;q++){I.setColumnInfo(q+1,qt-mt,Ie,Ge),mt=0;const Qo=s.charCodeAt(q);let Ao;if(Qo===9){Ao=h-re%h|0,!n||Ao>1?e.write1(8594):e.write1(65515);for(let Gl=2;Gl<=Ao;Gl++)e.write1(160)}else Ao=1,e.write1(D);Ie+=Ao,q>=d&&(re+=Ao)}Le=aa}else{let aa=0;for(e.appendASCII(62);q<Tr;q++){I.setColumnInfo(q+1,qt-mt,Ie,Ge),mt=0;const Qo=s.charCodeAt(q);let Ao=1,Gl=1;switch(Qo){case 9:Ao=h-re%h,Gl=Ao;for(let nl=1;nl<=Ao;nl++)e.write1(160);break;case 32:e.write1(160);break;case 60:e.appendASCIIString(\"&lt;\");break;case 62:e.appendASCIIString(\"&gt;\");break;case 38:e.appendASCIIString(\"&amp;\");break;case 0:k?e.write1(9216):e.appendASCIIString(\"&#00;\");break;case 65279:case 8232:case 8233:case 133:e.write1(65533);break;default:Qv(Qo)&&Gl++,k&&Qo<32?e.write1(9216+Qo):k&&Qo===127?e.write1(9249):k&&Lue(Qo)?(e.appendASCIIString(\"[U+\"),e.appendASCIIString(h3e(Qo)),e.appendASCIIString(\"]\"),Ao=8):e.write1(Qo)}Ie+=Ao,aa+=Ao,q>=d&&(re+=Gl)}Le=aa}Fo?mt++:mt=0,q>=a&&!F&&ai.isPseudoAfter()&&(F=!0,I.setColumnInfo(q+1,qt,Ie,Ge)),e.appendASCIIString(\"</span>\")}return F||I.setColumnInfo(a+1,u.length-1,Ie,Ge),l&&e.appendASCIIString(\"<span>&hellip;</span>\"),e.appendASCIIString(\"</span>\"),new dz(I,g,i)}function h3e(o){return o.toString(16).toUpperCase().padStart(4,\"0\")}class gre{constructor(e,t,n,i){this._viewportBrand=void 0,this.top=e|0,this.left=t|0,this.width=n|0,this.height=i|0}}class p3e{constructor(e,t){this.tabSize=e,this.data=t}}class tG{constructor(e,t,n,i,s,a,l){this._viewLineDataBrand=void 0,this.content=e,this.continuesWithWrappedLine=t,this.minColumn=n,this.maxColumn=i,this.startVisibleColumn=s,this.tokens=a,this.inlineDecorations=l}}class Y_{constructor(e,t,n,i,s,a,l,u,d,h){this.minColumn=e,this.maxColumn=t,this.content=n,this.continuesWithWrappedLine=i,this.isBasicASCII=Y_.isBasicASCII(n,a),this.containsRTL=Y_.containsRTL(n,this.isBasicASCII,s),this.tokens=l,this.inlineDecorations=u,this.tabSize=d,this.startVisibleColumn=h}static isBasicASCII(e,t){return t?vP(e):!0}static containsRTL(e,t,n){return!t&&n?bP(e):!1}}class r3{constructor(e,t,n){this.range=e,this.inlineClassName=t,this.type=n}}class f3e{constructor(e,t,n,i){this.startOffset=e,this.endOffset=t,this.inlineClassName=n,this.inlineClassNameAffectsLetterSpacing=i}toInlineDecoration(e){return new r3(new He(e,this.startOffset+1,e,this.endOffset+1),this.inlineClassName,this.inlineClassNameAffectsLetterSpacing?3:0)}}class Nue{constructor(e,t){this._viewModelDecorationBrand=void 0,this.range=e,this.options=t}}class Iue{constructor(e,t,n){this.color=e,this.zIndex=t,this.data=n}static cmp(e,t){return e.zIndex===t.zIndex?e.color<t.color?-1:e.color>t.color?1:0:e.zIndex-t.zIndex}}function _3e(o){return Array.isArray(o)}function g3e(o){return!_3e(o)}function Fue(o){return typeof o==\"string\"}function mre(o){return!Fue(o)}function ux(o){return!o}function jv(o,e){return o.ignoreCase&&e?e.toLowerCase():e}function yre(o){return o.replace(/[&<>'\"_]/g,\"-\")}function m3e(o,e){console.log(`${o.languageId}: ${e}`)}function ic(o,e){return new Error(`${o.languageId}: ${e}`)}function Sv(o,e,t,n,i){const s=/\\$((\\$)|(#)|(\\d\\d?)|[sS](\\d\\d?)|@(\\w+))/g;let a=null;return e.replace(s,function(l,u,d,h,p,g,y,D,T){return ux(d)?ux(h)?!ux(p)&&p<n.length?jv(o,n[p]):!ux(y)&&o&&typeof o[y]==\"string\"?o[y]:(a===null&&(a=i.split(\".\"),a.unshift(i)),!ux(g)&&g<a.length?jv(o,a[g]):\"\"):jv(o,t):\"$\"})}function $F(o,e){let t=e;for(;t&&t.length>0;){const n=o.tokenizer[t];if(n)return n;const i=t.lastIndexOf(\".\");i<0?t=null:t=t.substr(0,i)}return null}function y3e(o,e){let t=e;for(;t&&t.length>0;){if(o.stateNames[t])return!0;const i=t.lastIndexOf(\".\");i<0?t=null:t=t.substr(0,i)}return!1}const Pue=5;class $3{constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}static create(e,t){return this._INSTANCE.create(e,t)}create(e,t){if(e!==null&&e.depth>=this._maxCacheDepth)return new Px(e,t);let n=Px.getStackElementId(e);n.length>0&&(n+=\"|\"),n+=t;let i=this._entries[n];return i||(i=new Px(e,t),this._entries[n]=i,i)}}$3._INSTANCE=new $3(Pue);class Px{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 Px._equals(this,e)}push(e){return $3.create(this,e)}pop(){return this.parent}popall(){let e=this;for(;e.parent;)e=e.parent;return e}switchTo(e){return $3.create(this.parent,e)}}class vx{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 vx(this.languageId,this.state)}}class xv{constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}static create(e,t){return this._INSTANCE.create(e,t)}create(e,t){if(t!==null)return new s3(e,t);if(e!==null&&e.depth>=this._maxCacheDepth)return new s3(e,t);const n=Px.getStackElementId(e);let i=this._entries[n];return i||(i=new s3(e,null),this._entries[n]=i,i)}}xv._INSTANCE=new xv(Pue);class s3{constructor(e,t){this.stack=e,this.embeddedLanguageData=t}clone(){return(this.embeddedLanguageData?this.embeddedLanguageData.clone():null)===this.embeddedLanguageData?this:xv.create(this.stack,this.embeddedLanguageData)}equals(e){return!(e instanceof s3)||!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 b3e{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 O3(e,t,this._languageId)))}nestedLanguageTokenize(e,t,n,i){const s=n.languageId,a=n.state,l=Ic.get(s);if(!l)return this.enterLanguage(s),this.emit(i,\"\"),a;const u=l.tokenize(e,t,a);if(i!==0)for(const d of u.tokens)this._tokens.push(new O3(d.offset+i,d.type,d.language));else this._tokens=this._tokens.concat(u.tokens);return this._lastTokenType=null,this._lastTokenLanguage=null,this._languageId=null,u.endState}finalize(e){return new Lq(this._tokens,e)}}class G8{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 n=this._theme.match(this._currentLanguageId,t);this._lastTokenMetadata!==n&&(this._lastTokenMetadata=n,this._tokens.push(e),this._tokens.push(n))}static _merge(e,t,n){const i=e!==null?e.length:0,s=t.length,a=n!==null?n.length:0;if(i===0&&s===0&&a===0)return new Uint32Array(0);if(i===0&&s===0)return n;if(s===0&&a===0)return e;const l=new Uint32Array(i+s+a);e!==null&&l.set(e);for(let u=0;u<s;u++)l[i+u]=t[u];return n!==null&&l.set(n,i+s),l}nestedLanguageTokenize(e,t,n,i){const s=n.languageId,a=n.state,l=Ic.get(s);if(!l)return this.enterLanguage(s),this.emit(i,\"\"),a;const u=l.tokenizeEncoded(e,t,a);if(i!==0)for(let d=0,h=u.tokens.length;d<h;d+=2)u.tokens[d]+=i;return this._prependTokens=G8._merge(this._prependTokens,this._tokens,u.tokens),this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0,u.endState}finalize(e){return new yP(G8._merge(this._prependTokens,this._tokens,null),e)}}class t4{constructor(e,t,n,i){this._languageService=e,this._standaloneThemeService=t,this._languageId=n,this._lexer=i,this._embeddedLanguages=Object.create(null),this.embeddedLoaded=Promise.resolve(void 0);let s=!1;this._tokenizationRegistryListener=Ic.onDidChange(a=>{if(s)return;let l=!1;for(let u=0,d=a.changedLanguages.length;u<d;u++){const h=a.changedLanguages[u];if(this._embeddedLanguages[h]){l=!0;break}}l&&(s=!0,Ic.fire([this._languageId]),s=!1)})}dispose(){this._tokenizationRegistryListener.dispose()}getLoadStatus(){const e=[];for(let t in this._embeddedLanguages){const n=Ic.get(t);if(n){if(n instanceof t4){const i=n.getLoadStatus();i.loaded===!1&&e.push(i.promise)}continue}Ic.isResolved(t)||e.push(Ic.getOrCreate(t))}return e.length===0?{loaded:!0}:{loaded:!1,promise:Promise.all(e).then(t=>{})}}getInitialState(){const e=$3.create(null,this._lexer.start);return xv.create(e,null)}tokenize(e,t,n){const i=new b3e,s=this._tokenize(e,t,n,i);return i.finalize(s)}tokenizeEncoded(e,t,n){const i=new G8(this._languageService,this._standaloneThemeService.getColorTheme().tokenTheme),s=this._tokenize(e,t,n,i);return i.finalize(s)}_tokenize(e,t,n,i){return n.embeddedLanguageData?this._nestedTokenize(e,t,n,0,i):this._myTokenize(e,t,n,0,i)}_findLeavingNestedLanguageOffset(e,t){let n=this._lexer.tokenizer[t.stack.state];if(!n&&(n=$F(this._lexer,t.stack.state),!n))throw ic(this._lexer,\"tokenizer state is not defined: \"+t.stack.state);let i=-1,s=!1;for(const a of n){if(!mre(a.action)||a.action.nextEmbedded!==\"@pop\")continue;s=!0;let l=a.regex;const u=a.regex.source;if(u.substr(0,4)===\"^(?:\"&&u.substr(u.length-1,1)===\")\"){const h=(l.ignoreCase?\"i\":\"\")+(l.unicode?\"u\":\"\");l=new RegExp(u.substr(4,u.length-5),h)}const d=e.search(l);d===-1||d!==0&&a.matchOnlyAtLineStart||(i===-1||d<i)&&(i=d)}if(!s)throw ic(this._lexer,'no rule containing nextEmbedded: \"@pop\" in tokenizer embedded state: '+t.stack.state);return i}_nestedTokenize(e,t,n,i,s){const a=this._findLeavingNestedLanguageOffset(e,n);if(a===-1){const d=s.nestedLanguageTokenize(e,t,n.embeddedLanguageData,i);return xv.create(n.stack,new vx(n.embeddedLanguageData.languageId,d))}const l=e.substring(0,a);l.length>0&&s.nestedLanguageTokenize(l,!1,n.embeddedLanguageData,i);const u=e.substring(a);return this._myTokenize(u,t,n,i+a,s)}_safeRuleName(e){return e?e.name:\"(unknown)\"}_myTokenize(e,t,n,i,s){s.enterLanguage(this._languageId);const a=e.length,l=t&&this._lexer.includeLF?e+`\n`:e,u=l.length;let d=n.embeddedLanguageData,h=n.stack,p=0,g=null,y=!0;for(;y||p<u;){const D=p,T=h.depth,k=g?g.groups.length:0,I=h.state;let F=null,q=null,re=null,Ie=null,mt=null;if(g){F=g.matches;const qt=g.groups.shift();q=qt.matched,re=qt.action,Ie=g.rule,g.groups.length===0&&(g=null)}else{if(!y&&p>=u)break;y=!1;let qt=this._lexer.tokenizer[I];if(!qt&&(qt=$F(this._lexer,I),!qt))throw ic(this._lexer,\"tokenizer state is not defined: \"+I);let gi=l.substr(p);for(const ai of qt)if((p===0||!ai.matchOnlyAtLineStart)&&(F=gi.match(ai.regex),F)){q=F[0],re=ai.action;break}}if(F||(F=[\"\"],q=\"\"),re||(p<u&&(F=[l.charAt(p)],q=F[0]),re=this._lexer.defaultToken),q===null)break;for(p+=q.length;g3e(re)&&mre(re)&&re.test;)re=re.test(q,F,I,p===u);let Le=null;if(typeof re==\"string\"||Array.isArray(re))Le=re;else if(re.group)Le=re.group;else if(re.token!==null&&re.token!==void 0){if(re.tokenSubst?Le=Sv(this._lexer,re.token,q,F,I):Le=re.token,re.nextEmbedded)if(re.nextEmbedded===\"@pop\"){if(!d)throw ic(this._lexer,\"cannot pop embedded language if not inside one\");d=null}else{if(d)throw ic(this._lexer,\"cannot enter embedded language from within an embedded language\");mt=Sv(this._lexer,re.nextEmbedded,q,F,I)}if(re.goBack&&(p=Math.max(0,p-re.goBack)),re.switchTo&&typeof re.switchTo==\"string\"){let qt=Sv(this._lexer,re.switchTo,q,F,I);if(qt[0]===\"@\"&&(qt=qt.substr(1)),$F(this._lexer,qt))h=h.switchTo(qt);else throw ic(this._lexer,\"trying to switch to a state '\"+qt+\"' that is undefined in rule: \"+this._safeRuleName(Ie))}else{if(re.transform&&typeof re.transform==\"function\")throw ic(this._lexer,\"action.transform not supported\");if(re.next)if(re.next===\"@push\"){if(h.depth>=this._lexer.maxStack)throw ic(this._lexer,\"maximum tokenizer stack size reached: [\"+h.state+\",\"+h.parent.state+\",...]\");h=h.push(I)}else if(re.next===\"@pop\"){if(h.depth<=1)throw ic(this._lexer,\"trying to pop an empty stack in rule: \"+this._safeRuleName(Ie));h=h.pop()}else if(re.next===\"@popall\")h=h.popall();else{let qt=Sv(this._lexer,re.next,q,F,I);if(qt[0]===\"@\"&&(qt=qt.substr(1)),$F(this._lexer,qt))h=h.push(qt);else throw ic(this._lexer,\"trying to set a next state '\"+qt+\"' that is undefined in rule: \"+this._safeRuleName(Ie))}}re.log&&typeof re.log==\"string\"&&m3e(this._lexer,this._lexer.languageId+\": \"+Sv(this._lexer,re.log,q,F,I))}if(Le===null)throw ic(this._lexer,\"lexer rule has no well-defined action in rule: \"+this._safeRuleName(Ie));const Ge=qt=>{const gi=this._languageService.getLanguageIdByLanguageName(qt)||this._languageService.getLanguageIdByMimeType(qt)||qt,ai=this._getNestedEmbeddedLanguageData(gi);if(p<u){const Tr=e.substr(p);return this._nestedTokenize(Tr,t,xv.create(h,ai),i+p,s)}else return xv.create(h,ai)};if(Array.isArray(Le)){if(g&&g.groups.length>0)throw ic(this._lexer,\"groups cannot be nested: \"+this._safeRuleName(Ie));if(F.length!==Le.length+1)throw ic(this._lexer,\"matched number of groups does not match the number of actions in rule: \"+this._safeRuleName(Ie));let qt=0;for(let gi=1;gi<F.length;gi++)qt+=F[gi].length;if(qt!==q.length)throw ic(this._lexer,\"with groups, all characters should be matched in consecutive groups in rule: \"+this._safeRuleName(Ie));g={rule:Ie,matches:F,groups:[]};for(let gi=0;gi<Le.length;gi++)g.groups[gi]={action:Le[gi],matched:F[gi+1]};p-=q.length;continue}else{if(Le===\"@rematch\"&&(p-=q.length,q=\"\",F=null,Le=\"\",mt!==null))return Ge(mt);if(q.length===0){if(u===0||T!==h.depth||I!==h.state||(g?g.groups.length:0)!==k)continue;throw ic(this._lexer,\"no progress in tokenizer in rule: \"+this._safeRuleName(Ie))}let qt=null;if(Fue(Le)&&Le.indexOf(\"@brackets\")===0){const gi=Le.substr(9),ai=v3e(this._lexer,q);if(!ai)throw ic(this._lexer,\"@brackets token returned but no bracket defined as: \"+q);qt=yre(ai.token+gi)}else{const gi=Le===\"\"?\"\":Le+this._lexer.tokenPostfix;qt=yre(gi)}D<a&&s.emit(D+i,qt)}if(mt!==null)return Ge(mt)}return xv.create(h,d)}_getNestedEmbeddedLanguageData(e){if(!this._languageService.isRegisteredLanguageId(e))return new vx(e,iE);e!==this._languageId&&(Ic.getOrCreate(e),this._embeddedLanguages[e]=!0);const t=Ic.get(e);return t?new vx(e,t.getInitialState()):new vx(e,iE)}}function v3e(o,e){if(!e)return null;e=jv(o,e);const t=o.brackets;for(const n of t){if(n.open===e)return{token:n.token,bracketType:1};if(n.close===e)return{token:n.token,bracketType:-1}}return null}var C3e=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})},rV;const sV=(rV=window.trustedTypes)===null||rV===void 0?void 0:rV.createPolicy(\"standaloneColorizer\",{createHTML:o=>o});class nG{static colorizeElement(e,t,n,i){i=i||{};const s=i.theme||\"vs\",a=i.mimeType||n.getAttribute(\"lang\")||n.getAttribute(\"data-lang\");if(!a)return console.error(\"Mode not detected\"),Promise.resolve();const l=t.getLanguageIdByMimeType(a)||a;e.setTheme(s);const u=n.firstChild?n.firstChild.nodeValue:\"\";n.className+=\" \"+s;const d=h=>{var p;const g=(p=sV==null?void 0:sV.createHTML(h))!==null&&p!==void 0?p:h;n.innerHTML=g};return this.colorize(t,u||\"\",l,i).then(d,h=>console.error(h))}static colorize(e,t,n,i){return C3e(this,void 0,void 0,function*(){const s=e.languageIdCodec;let a=4;i&&typeof i.tabSize==\"number\"&&(a=i.tabSize),jq(t)&&(t=t.substr(1));const l=G1(t);if(!e.isRegisteredLanguageId(n))return bre(l,a,s);const u=yield Ic.getOrCreate(n);return u?D3e(l,a,u,s):bre(l,a,s)})}static colorizeLine(e,t,n,i,s=4){const a=Y_.isBasicASCII(e,t),l=Y_.containsRTL(e,a,n);return kP(new lw(!1,!0,e,!1,a,l,0,i,[],s,0,0,0,0,-1,\"none\",!1,!1,null)).html}static colorizeModelLine(e,t,n=4){const i=e.getLineContent(t);e.forceTokenization(t);const a=e.getLineTokens(t).inflate();return this.colorizeLine(i,e.mightContainNonBasicASCII(),e.mightContainRTL(),a,n)}}function D3e(o,e,t,n){return new Promise((i,s)=>{const a=()=>{const l=w3e(o,e,t,n);if(t instanceof t4){const u=t.getLoadStatus();if(u.loaded===!1){u.promise.then(a,s);return}}i(l)};a()})}function bre(o,e,t){let n=[];const s=new Uint32Array(2);s[0]=0,s[1]=16793600;for(let a=0,l=o.length;a<l;a++){const u=o[a];s[0]=u.length;const d=new th(s,u,t),h=Y_.isBasicASCII(u,!0),p=Y_.containsRTL(u,h,!0),g=kP(new lw(!1,!0,u,!1,h,p,0,d,[],e,0,0,0,0,-1,\"none\",!1,!1,null));n=n.concat(g.html),n.push(\"<br/>\")}return n.join(\"\")}function w3e(o,e,t,n){let i=[],s=t.getInitialState();for(let a=0,l=o.length;a<l;a++){const u=o[a],d=t.tokenizeEncoded(u,!0,s);th.convertToEndOffset(d.tokens,u.length);const h=new th(d.tokens,u,n),p=Y_.isBasicASCII(u,!0),g=Y_.containsRTL(u,p,!0),y=kP(new lw(!1,!0,u,!1,p,g,0,h.inflate(),[],e,0,0,0,0,-1,\"none\",!1,!1,null));i=i.concat(y.html),i.push(\"<br/>\"),s=d.endState}return i.join(\"\")}const LP={clipboard:{writeText:p0||document.queryCommandSupported&&document.queryCommandSupported(\"copy\")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:p0||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:(()=>p0||Hq?0:navigator.keyboard||Am?1:2)(),touch:\"ontouchstart\"in window||navigator.maxTouchPoints>0,pointerEvents:window.PointerEvent&&(\"ontouchstart\"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0)};function hz(o,e){if(o===0)return null;const t=(o&65535)>>>0,n=(o&4294901760)>>>16;return n!==0?new J8([oV(t,e),oV(n,e)]):new J8([oV(t,e)])}function oV(o,e){const t=!!(o&2048),n=!!(o&256),i=e===2?n:t,s=!!(o&1024),a=!!(o&512),l=e===2?t:n,u=o&255;return new ED(i,s,a,l,u)}class ED{constructor(e,t,n,i,s){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=i,this.keyCode=s}equals(e){return 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}toChord(){return new J8([this])}isDuplicateModifierCase(){return this.ctrlKey&&this.keyCode===5||this.shiftKey&&this.keyCode===4||this.altKey&&this.keyCode===6||this.metaKey&&this.keyCode===57}}class J8{constructor(e){if(e.length===0)throw f0(\"parts\");this.parts=e}}class S3e{constructor(e,t,n,i,s,a){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=i,this.keyLabel=s,this.keyAriaLabel=a}}class x3e{}function E3e(o){if(o.charCode){let t=String.fromCharCode(o.charCode).toUpperCase();return X2.fromString(t)}const e=o.keyCode;if(e===3)return 7;if(J_){if(e===59)return 80;if(e===107)return 81;if(e===109)return 83;if(El&&e===224)return 57}else if(Rv){if(e===91)return 57;if(El&&e===93)return 57;if(!El&&e===92)return 57}return zle[e]||0}const T3e=El?256:2048,A3e=512,k3e=1024,L3e=El?2048:256;class _c{constructor(e){this._standardKeyboardEventBrand=!0;let t=e;this.browserEvent=t,this.target=t.target,this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,this.keyCode=E3e(t),this.code=t.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._asRuntimeKeybinding=this._computeRuntimeKeybinding()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeybinding(){return this._asRuntimeKeybinding}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|=T3e),this.altKey&&(t|=A3e),this.shiftKey&&(t|=k3e),this.metaKey&&(t|=L3e),t|=e,t}_computeRuntimeKeybinding(){let e=0;return this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(e=this.keyCode),new ED(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,e)}}let pz=!1,KS=null;function N3e(o){if(!o.parent||o.parent===o)return null;try{let e=o.location,t=o.parent.location;if(e.origin!==\"null\"&&t.origin!==\"null\"&&e.origin!==t.origin)return pz=!0,null}catch{return pz=!0,null}return o.parent}class fz{static getSameOriginWindowChain(){if(!KS){KS=[];let e=window,t;do t=N3e(e),t?KS.push({window:e,iframeElement:e.frameElement||null}):KS.push({window:e,iframeElement:null}),e=t;while(e)}return KS.slice(0)}static hasDifferentOriginAncestor(){return KS||this.getSameOriginWindowChain(),pz}static getPositionOfChildWindowRelativeToAncestorWindow(e,t){if(!t||e===t)return{top:0,left:0};let n=0,i=0,s=this.getSameOriginWindowChain();for(const a of s){if(n+=a.window.scrollY,i+=a.window.scrollX,a.window===t||!a.iframeElement)break;let l=a.iframeElement.getBoundingClientRect();n+=l.top,i+=l.left}return{top:n,left:i}}}class Sg{constructor(e){this.timestamp=Date.now(),this.browserEvent=e,this.leftButton=e.button===0,this.middleButton=e.button===1,this.rightButton=e.button===2,this.buttons=e.buttons,this.target=e.target,this.detail=e.detail||1,e.type===\"dblclick\"&&(this.detail=2),this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,typeof e.pageX==\"number\"?(this.posx=e.pageX,this.posy=e.pageY):(this.posx=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=e.clientY+document.body.scrollTop+document.documentElement.scrollTop);let t=fz.getPositionOfChildWindowRelativeToAncestorWindow(self,e.view);this.posx-=t.left,this.posy-=t.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}class rE{constructor(e,t=0,n=0){if(this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=n,this.deltaX=t,e){let i=e,s=e;if(typeof i.wheelDeltaY!=\"undefined\")this.deltaY=i.wheelDeltaY/120;else if(typeof s.VERTICAL_AXIS!=\"undefined\"&&s.axis===s.VERTICAL_AXIS)this.deltaY=-s.detail/3;else if(e.type===\"wheel\"){const a=e;a.deltaMode===a.DOM_DELTA_LINE?J_&&!El?this.deltaY=-e.deltaY/3:this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40}if(typeof i.wheelDeltaX!=\"undefined\")Am&&Ph?this.deltaX=-(i.wheelDeltaX/120):this.deltaX=i.wheelDeltaX/120;else if(typeof s.HORIZONTAL_AXIS!=\"undefined\"&&s.axis===s.HORIZONTAL_AXIS)this.deltaX=-e.detail/3;else if(e.type===\"wheel\"){const a=e;a.deltaMode===a.DOM_DELTA_LINE?J_&&!El?this.deltaX=-e.deltaX/3:this.deltaX=-e.deltaX:this.deltaX=-e.deltaX/40}this.deltaY===0&&this.deltaX===0&&e.wheelDelta&&(this.deltaY=e.wheelDelta/120)}}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation()}}var dl;(function(o){o.inMemory=\"inmemory\",o.vscode=\"vscode\",o.internal=\"private\",o.walkThrough=\"walkThrough\",o.walkThroughSnippet=\"walkThroughSnippet\",o.http=\"http\",o.https=\"https\",o.file=\"file\",o.mailto=\"mailto\",o.untitled=\"untitled\",o.data=\"data\",o.command=\"command\",o.vscodeRemote=\"vscode-remote\",o.vscodeRemoteResource=\"vscode-remote-resource\",o.userData=\"vscode-userdata\",o.vscodeCustomEditor=\"vscode-custom-editor\",o.vscodeNotebook=\"vscode-notebook\",o.vscodeNotebookCell=\"vscode-notebook-cell\",o.vscodeNotebookCellMetadata=\"vscode-notebook-cell-metadata\",o.vscodeNotebookCellOutput=\"vscode-notebook-cell-output\",o.vscodeInteractive=\"vscode-interactive\",o.vscodeInteractiveInput=\"vscode-interactive-input\",o.vscodeSettings=\"vscode-settings\",o.vscodeWorkspaceTrust=\"vscode-workspace-trust\",o.vscodeTerminal=\"vscode-terminal\",o.webviewPanel=\"webview-panel\",o.vscodeWebview=\"vscode-webview\",o.extension=\"extension\",o.vscodeFileResource=\"vscode-file\",o.tmp=\"tmp\",o.vsls=\"vsls\"})(dl||(dl={}));const I3e=\"tkn\";class F3e{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema=\"http\",this._delegate=null}setPreferredWebSchema(e){this._preferredWebSchema=e}rewrite(e){if(this._delegate)return this._delegate(e);const t=e.authority;let n=this._hosts[t];n&&n.indexOf(\":\")!==-1&&(n=`[${n}]`);const i=this._ports[t],s=this._connectionTokens[t];let a=`path=${encodeURIComponent(e.path)}`;return typeof s==\"string\"&&(a+=`&${I3e}=${encodeURIComponent(s)}`),wa.from({scheme:bC?this._preferredWebSchema:dl.vscodeRemoteResource,authority:`${n}:${i}`,path:\"/vscode-remote-resource\",query:a})}}const Oue=new F3e;class z3{asBrowserUri(e,t){const n=this.toUri(e,t);return n.scheme===dl.vscodeRemote?Oue.rewrite(n):n.scheme===dl.file&&(p0||vEe&&cd.origin===`${dl.vscodeFileResource}://${z3.FALLBACK_AUTHORITY}`)?n.with({scheme:dl.vscodeFileResource,authority:n.authority||z3.FALLBACK_AUTHORITY,query:null,fragment:null}):n}toUri(e,t){return wa.isUri(e)?e:wa.parse(t.toUrl(e))}}z3.FALLBACK_AUTHORITY=\"vscode-app\";const Mue=new z3;function nh(o){for(;o.firstChild;)o.firstChild.remove()}function iG(o){var e;return(e=o==null?void 0:o.isConnected)!==null&&e!==void 0?e:!1}class Rue{constructor(e,t,n,i){this._node=e,this._type=t,this._handler=n,this._options=i||!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 hs(o,e,t,n){return new Rue(o,e,t,n)}function Bue(o){return function(e){return o(new Sg(e))}}function P3e(o){return function(e){return o(new _c(e))}}let Fh=function(e,t,n,i){let s=n;return t===\"click\"||t===\"mousedown\"?s=Bue(n):(t===\"keydown\"||t===\"keypress\"||t===\"keyup\")&&(s=P3e(n)),hs(e,t,s,i)},O3e=function(e,t,n){let i=Bue(t);return rG(e,i,n)};function rG(o,e,t){return hs(o,m0&&LP.pointerEvents?ca.POINTER_DOWN:ca.MOUSE_DOWN,e,t)}function jue(o,e,t){return hs(o,m0&&LP.pointerEvents?ca.POINTER_UP:ca.MOUSE_UP,e,t)}function sG(o,e){return hs(o,\"mouseout\",t=>{let n=t.relatedTarget;for(;n&&n!==o;)n=n.parentNode;n!==o&&e(t)})}function M3e(o,e){return hs(o,\"pointerout\",t=>{let n=t.relatedTarget;for(;n&&n!==o;)n=n.parentNode;n!==o&&e(t)})}function t0(o,e,t){let n=null;const i=u=>l.fire(u),s=()=>{n||(n=new Rue(o,e,i,t))},a=()=>{n&&(n.dispose(),n=null)},l=new ri({onFirstListenerAdd:s,onLastListenerRemove:a});return l}let aV=null;function R3e(o){if(!aV){const e=t=>setTimeout(()=>t(new Date().getTime()),0);aV=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||e}return aV.call(self,o)}let Wue,b0;class lV{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){tl(e)}}static sort(e,t){return t.priority-e.priority}}(function(){let o=[],e=null,t=!1,n=!1,i=()=>{for(t=!1,e=o,o=[],n=!0;e.length>0;)e.sort(lV.sort),e.shift().execute();n=!1};b0=(s,a=0)=>{let l=new lV(s,a);return o.push(l),t||(t=!0,R3e(i)),l},Wue=(s,a)=>{if(n){let l=new lV(s,a);return e.push(l),l}else return b0(s,a)}})();const B3e=8,j3e=function(o,e){return e};class W3e extends fr{constructor(e,t,n,i=j3e,s=B3e){super();let a=null,l=0,u=this._register(new g_),d=()=>{l=new Date().getTime(),n(a),a=null};this._register(hs(e,t,h=>{a=i(a,h);let p=new Date().getTime()-l;p>=s?(u.cancel(),d()):u.setIfNotSet(d,s-p)}))}}function oG(o,e,t,n,i){return new W3e(o,e,t,n,i)}function aG(o){return document.defaultView.getComputedStyle(o,null)}function NP(o){if(o!==document.body)return new Hu(o.clientWidth,o.clientHeight);if(m0&&window.visualViewport)return new Hu(window.visualViewport.width,window.visualViewport.height);if(window.innerWidth&&window.innerHeight)return new Hu(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new Hu(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new Hu(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error(\"Unable to figure out browser width and height\")}class Gc{static convertToPixels(e,t){return parseFloat(t)||0}static getDimension(e,t,n){let i=aG(e),s=\"0\";return i&&(i.getPropertyValue?s=i.getPropertyValue(t):s=i.getAttribute(n)),Gc.convertToPixels(e,s)}static getBorderLeftWidth(e){return Gc.getDimension(e,\"border-left-width\",\"borderLeftWidth\")}static getBorderRightWidth(e){return Gc.getDimension(e,\"border-right-width\",\"borderRightWidth\")}static getBorderTopWidth(e){return Gc.getDimension(e,\"border-top-width\",\"borderTopWidth\")}static getBorderBottomWidth(e){return Gc.getDimension(e,\"border-bottom-width\",\"borderBottomWidth\")}static getPaddingLeft(e){return Gc.getDimension(e,\"padding-left\",\"paddingLeft\")}static getPaddingRight(e){return Gc.getDimension(e,\"padding-right\",\"paddingRight\")}static getPaddingTop(e){return Gc.getDimension(e,\"padding-top\",\"paddingTop\")}static getPaddingBottom(e){return Gc.getDimension(e,\"padding-bottom\",\"paddingBottom\")}static getMarginLeft(e){return Gc.getDimension(e,\"margin-left\",\"marginLeft\")}static getMarginTop(e){return Gc.getDimension(e,\"margin-top\",\"marginTop\")}static getMarginRight(e){return Gc.getDimension(e,\"margin-right\",\"marginRight\")}static getMarginBottom(e){return Gc.getDimension(e,\"margin-bottom\",\"marginBottom\")}}class Hu{constructor(e,t){this.width=e,this.height=t}with(e=this.width,t=this.height){return e!==this.width||t!==this.height?new Hu(e,t):this}static is(e){return typeof e==\"object\"&&typeof e.height==\"number\"&&typeof e.width==\"number\"}static lift(e){return e instanceof Hu?e:new Hu(e.width,e.height)}static equals(e,t){return e===t?!0:!e||!t?!1:e.width===t.width&&e.height===t.height}}Hu.None=new Hu(0,0);function Vue(o){let e=o.offsetParent,t=o.offsetTop,n=o.offsetLeft;for(;(o=o.parentNode)!==null&&o!==document.body&&o!==document.documentElement;){t-=o.scrollTop;const i=$ue(o)?null:aG(o);i&&(n-=i.direction!==\"rtl\"?o.scrollLeft:-o.scrollLeft),o===e&&(n+=Gc.getBorderLeftWidth(o),t+=Gc.getBorderTopWidth(o),t+=o.offsetTop,n+=o.offsetLeft,e=o.offsetParent)}return{left:n,top:t}}function V3e(o,e,t){typeof e==\"number\"&&(o.style.width=`${e}px`),typeof t==\"number\"&&(o.style.height=`${t}px`)}function Gh(o){let e=o.getBoundingClientRect();return{left:e.left+mb.scrollX,top:e.top+mb.scrollY,width:e.width,height:e.height}}const mb=new class{get scrollX(){return typeof window.scrollX==\"number\"?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft}get scrollY(){return typeof window.scrollY==\"number\"?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop}};function fm(o){let e=Gc.getMarginLeft(o)+Gc.getMarginRight(o);return o.offsetWidth+e}function uV(o){let e=Gc.getBorderLeftWidth(o)+Gc.getBorderRightWidth(o),t=Gc.getPaddingLeft(o)+Gc.getPaddingRight(o);return o.offsetWidth-e-t}function H3e(o){let e=Gc.getBorderTopWidth(o)+Gc.getBorderBottomWidth(o),t=Gc.getPaddingTop(o)+Gc.getPaddingBottom(o);return o.offsetHeight-e-t}function _z(o){let e=Gc.getMarginTop(o)+Gc.getMarginBottom(o);return o.offsetHeight+e}function yb(o,e){for(;o;){if(o===e)return!0;o=o.parentNode}return!1}function Hue(o,e,t){for(;o&&o.nodeType===o.ELEMENT_NODE;){if(o.classList.contains(e))return o;if(t){if(typeof t==\"string\"){if(o.classList.contains(t))return null}else if(o===t)return null}o=o.parentNode}return null}function vre(o,e,t){return!!Hue(o,e,t)}function $ue(o){return o&&!!o.host&&!!o.mode}function U3(o){return!!eC(o)}function eC(o){for(;o.parentNode;){if(o===document.body)return null;o=o.parentNode}return $ue(o)?o:null}function Ox(){let o=document.activeElement;for(;o!=null&&o.shadowRoot;)o=o.shadowRoot.activeElement;return o}function Pg(o=document.getElementsByTagName(\"head\")[0]){let e=document.createElement(\"style\");return e.type=\"text/css\",e.media=\"screen\",o.appendChild(e),e}let cV=null;function zue(){return cV||(cV=Pg()),cV}function $3e(o){var e,t;return!((e=o==null?void 0:o.sheet)===null||e===void 0)&&e.rules?o.sheet.rules:!((t=o==null?void 0:o.sheet)===null||t===void 0)&&t.cssRules?o.sheet.cssRules:[]}function gz(o,e,t=zue()){!t||!e||t.sheet.insertRule(o+\"{\"+e+\"}\",0)}function Cre(o,e=zue()){if(!e)return;let t=$3e(e),n=[];for(let i=0;i<t.length;i++)t[i].selectorText.indexOf(o)!==-1&&n.push(i);for(let i=n.length-1;i>=0;i--)e.sheet.deleteRule(n[i])}function Uue(o){return typeof HTMLElement==\"object\"?o instanceof HTMLElement:o&&typeof o==\"object\"&&o.nodeType===1&&typeof o.nodeName==\"string\"}const ca={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\",CONTEXT_MENU:\"contextmenu\",WHEEL:\"wheel\",KEY_DOWN:\"keydown\",KEY_PRESS:\"keypress\",KEY_UP:\"keyup\",LOAD:\"load\",BEFORE_UNLOAD:\"beforeunload\",UNLOAD:\"unload\",PAGE_SHOW:\"pageshow\",PAGE_HIDE:\"pagehide\",ABORT:\"abort\",ERROR:\"error\",RESIZE:\"resize\",SCROLL:\"scroll\",FULLSCREEN_CHANGE:\"fullscreenchange\",WK_FULLSCREEN_CHANGE:\"webkitfullscreenchange\",SELECT:\"select\",CHANGE:\"change\",SUBMIT:\"submit\",RESET:\"reset\",FOCUS:\"focus\",FOCUS_IN:\"focusin\",FOCUS_OUT:\"focusout\",BLUR:\"blur\",INPUT:\"input\",STORAGE:\"storage\",DRAG_START:\"dragstart\",DRAG:\"drag\",DRAG_ENTER:\"dragenter\",DRAG_LEAVE:\"dragleave\",DRAG_OVER:\"dragover\",DROP:\"drop\",DRAG_END:\"dragend\",ANIMATION_START:Rv?\"webkitAnimationStart\":\"animationstart\",ANIMATION_END:Rv?\"webkitAnimationEnd\":\"animationend\",ANIMATION_ITERATION:Rv?\"webkitAnimationIteration\":\"animationiteration\"},xu={stop:function(o,e){o.preventDefault?o.preventDefault():o.returnValue=!1,e&&(o.stopPropagation?o.stopPropagation():o.cancelBubble=!0)}};function z3e(o){let e=[];for(let t=0;o&&o.nodeType===o.ELEMENT_NODE;t++)e[t]=o.scrollTop,o=o.parentNode;return e}function U3e(o,e){for(let t=0;o&&o.nodeType===o.ELEMENT_NODE;t++)o.scrollTop!==e[t]&&(o.scrollTop=e[t]),o=o.parentNode}class Y8 extends fr{constructor(e){super(),this._onDidFocus=this._register(new ri),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new ri),this.onDidBlur=this._onDidBlur.event;let t=Y8.hasFocusWithin(e),n=!1;const i=()=>{n=!1,t||(t=!0,this._onDidFocus.fire())},s=()=>{t&&(n=!0,window.setTimeout(()=>{n&&(n=!1,t=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{Y8.hasFocusWithin(e)!==t&&(t?s():i())},this._register(hs(e,ca.FOCUS,i,!0)),this._register(hs(e,ca.BLUR,s,!0)),this._register(hs(e,ca.FOCUS_IN,()=>this._refreshStateHandler())),this._register(hs(e,ca.FOCUS_OUT,()=>this._refreshStateHandler()))}static hasFocusWithin(e){const t=eC(e),n=t?t.activeElement:document.activeElement;return yb(n,e)}}function sE(o){return new Y8(o)}function Jr(o,...e){if(o.append(...e),e.length===1&&typeof e[0]!=\"string\")return e[0]}function K3e(o,e){return o.insertBefore(e,o.firstChild),e}function tC(o,...e){o.innerText=\"\",Jr(o,...e)}const q3e=/([\\w\\-]+)?(#([\\w\\-]+))?((\\.([\\w\\-]+))*)/;var K3;(function(o){o.HTML=\"http://www.w3.org/1999/xhtml\",o.SVG=\"http://www.w3.org/2000/svg\"})(K3||(K3={}));function Kue(o,e,t,...n){let i=q3e.exec(e);if(!i)throw new Error(\"Bad use of emmet\");t=Object.assign({},t||{});let s=i[1]||\"div\",a;return o!==K3.HTML?a=document.createElementNS(o,s):a=document.createElement(s),i[3]&&(a.id=i[3]),i[4]&&(a.className=i[4].replace(/\\./g,\" \").trim()),Object.keys(t).forEach(l=>{const u=t[l];typeof u!=\"undefined\"&&(/^on\\w+$/.test(l)?a[l]=u:l===\"selected\"?u&&a.setAttribute(l,\"true\"):a.setAttribute(l,u))}),a.append(...n),a}function ls(o,e,...t){return Kue(K3.HTML,o,e,...t)}ls.SVG=function(o,e,...t){return Kue(K3.SVG,o,e,...t)};function W_(...o){for(let e of o)e.style.display=\"\",e.removeAttribute(\"aria-hidden\")}function Of(...o){for(let e of o)e.style.display=\"none\",e.setAttribute(\"aria-hidden\",\"true\")}function G3e(o){return Array.prototype.slice.call(document.getElementsByTagName(o),0)}function Dre(o){const e=window.devicePixelRatio*o;return Math.max(1,Math.floor(e))/window.devicePixelRatio}function que(o){window.open(o,\"_blank\",\"noopener\")}function J3e(o){const e=()=>{o(),t=b0(e)};let t=b0(e);return wl(()=>t.dispose())}Oue.setPreferredWebSchema(/^https:/.test(window.location.href)?\"https\":\"http\");function TD(o){return o?`url('${Mue.asBrowserUri(o).toString(!0).replace(/'/g,\"%27\")}')`:\"url('')\"}function wre(o){return`'${o.replace(/'/g,\"%27\")}'`}class Q2 extends ri{constructor(){super(),this._subscriptions=new fs,this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1},this._subscriptions.add(hs(window,\"keydown\",e=>{if(e.defaultPrevented)return;const t=new _c(e);if(!(t.keyCode===6&&e.repeat)){if(e.altKey&&!this._keyStatus.altKey)this._keyStatus.lastKeyPressed=\"alt\";else if(e.ctrlKey&&!this._keyStatus.ctrlKey)this._keyStatus.lastKeyPressed=\"ctrl\";else if(e.metaKey&&!this._keyStatus.metaKey)this._keyStatus.lastKeyPressed=\"meta\";else if(e.shiftKey&&!this._keyStatus.shiftKey)this._keyStatus.lastKeyPressed=\"shift\";else if(t.keyCode!==6)this._keyStatus.lastKeyPressed=void 0;else return;this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyPressed&&(this._keyStatus.event=e,this.fire(this._keyStatus))}},!0)),this._subscriptions.add(hs(window,\"keyup\",e=>{e.defaultPrevented||(!e.altKey&&this._keyStatus.altKey?this._keyStatus.lastKeyReleased=\"alt\":!e.ctrlKey&&this._keyStatus.ctrlKey?this._keyStatus.lastKeyReleased=\"ctrl\":!e.metaKey&&this._keyStatus.metaKey?this._keyStatus.lastKeyReleased=\"meta\":!e.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=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyReleased&&(this._keyStatus.event=e,this.fire(this._keyStatus)))},!0)),this._subscriptions.add(hs(document.body,\"mousedown\",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(hs(document.body,\"mouseup\",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(hs(document.body,\"mousemove\",e=>{e.buttons&&(this._keyStatus.lastKeyPressed=void 0)},!0)),this._subscriptions.add(hs(window,\"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 Q2.instance||(Q2.instance=new Q2),Q2.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}function Y3e(o,e){window.matchMedia(o).addEventListener(\"change\",e)}const Sre=2e4;let j2,e8,mz,t8,yz;function X3e(o){j2=document.createElement(\"div\"),j2.className=\"monaco-aria-container\";const e=()=>{const n=document.createElement(\"div\");return n.className=\"monaco-alert\",n.setAttribute(\"role\",\"alert\"),n.setAttribute(\"aria-atomic\",\"true\"),j2.appendChild(n),n};e8=e(),mz=e();const t=()=>{const n=document.createElement(\"div\");return n.className=\"monaco-status\",n.setAttribute(\"role\",\"complementary\"),n.setAttribute(\"aria-live\",\"polite\"),n.setAttribute(\"aria-atomic\",\"true\"),j2.appendChild(n),n};t8=t(),yz=t(),o.appendChild(j2)}function Jh(o){!j2||(e8.textContent!==o?(nh(mz),Q8(e8,o)):(nh(e8),Q8(mz,o)))}function X8(o){!j2||(El?Jh(o):t8.textContent!==o?(nh(yz),Q8(t8,o)):(nh(t8),Q8(yz,o)))}function Q8(o,e){nh(o),e.length>Sre&&(e=e.substr(0,Sre)),o.textContent=e,o.style.visibility=\"hidden\",o.style.visibility=\"visible\"}const lG=zl(\"markerDecorationsService\"),Wf=zl(\"textModelService\");var Z8=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};class h_ extends fr{constructor(e,t=\"\",n=\"\",i=!0,s){super(),this._onDidChange=this._register(new ri),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=e,this._label=t,this._cssClass=n,this._enabled=i,this._actionCallback=s}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}))}run(e,t){return Z8(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(e))})}}class oE extends fr{constructor(){super(...arguments),this._onBeforeRun=this._register(new ri),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new ri),this.onDidRun=this._onDidRun.event}run(e,t){return Z8(this,void 0,void 0,function*(){if(!e.enabled)return;this._onBeforeRun.fire({action:e});let n;try{yield this.runAction(e,t)}catch(i){n=i}this._onDidRun.fire({action:e,error:n})})}runAction(e,t){return Z8(this,void 0,void 0,function*(){yield e.run(t)})}}class Ag extends h_{constructor(e){super(Ag.ID,e,e?\"separator text\":\"separator\"),this.checked=!1,this.enabled=!1}}Ag.ID=\"vs.actions.separator\";class IP{constructor(e,t,n,i){this.tooltip=\"\",this.enabled=!0,this.checked=void 0,this.id=e,this.label=t,this.class=i,this._actions=n}get actions(){return this._actions}dispose(){}run(){return Z8(this,void 0,void 0,function*(){})}}class FP extends h_{constructor(){super(FP.ID,w(\"submenu.empty\",\"(empty)\"),void 0,!1)}}FP.ID=\"vs.actions.empty\";const Dd=zl(\"commandService\"),tu=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new ri,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(o,e){if(!o)throw new Error(\"invalid command\");if(typeof o==\"string\"){if(!e)throw new Error(\"invalid command\");return this.registerCommand({id:o,handler:e})}if(o.description){const a=[];for(let u of o.description.args)a.push(u.constraint);const l=o.handler;o.handler=function(u,...d){return MEe(d,a),l(u,...d)}}const{id:t}=o;let n=this._commands.get(t);n||(n=new $_,this._commands.set(t,n));let i=n.unshift(o),s=wl(()=>{i();const a=this._commands.get(t);a!=null&&a.isEmpty()&&this._commands.delete(t)});return this._onDidRegisterCommand.fire(t),s}registerCommandAlias(o,e){return tu.registerCommand(o,(t,...n)=>t.get(Dd).executeCommand(e,...n))}getCommand(o){const e=this._commands.get(o);if(!(!e||e.isEmpty()))return Zl.first(e)}getCommands(){const o=new Map;for(const e of this._commands.keys()){const t=this.getCommand(e);t&&o.set(e,t)}return o}};tu.registerCommand(\"noop\",()=>{});const Cp=new Map;Cp.set(\"false\",!1);Cp.set(\"true\",!0);Cp.set(\"isMac\",El);Cp.set(\"isLinux\",vp);Cp.set(\"isWindows\",Ph);Cp.set(\"isWeb\",bC);Cp.set(\"isMacNative\",El&&!bC);Cp.set(\"isEdge\",SEe);Cp.set(\"isFirefox\",DEe);Cp.set(\"isChrome\",kle);Cp.set(\"isSafari\",wEe);const Q3e=Object.prototype.hasOwnProperty;class co{static has(e){return nC.create(e)}static equals(e,t){return aE.create(e,t)}static regex(e,t){return e7.create(e,t)}static not(e){return AD.create(e)}static and(...e){return Lv.create(e,null)}static or(...e){return pb.create(e,null,!0)}static deserialize(e,t=!1){if(!!e)return this._deserializeOrExpression(e,t)}static _deserializeOrExpression(e,t){let n=e.split(\"||\");return pb.create(n.map(i=>this._deserializeAndExpression(i,t)),null,!0)}static _deserializeAndExpression(e,t){let n=e.split(\"&&\");return Lv.create(n.map(i=>this._deserializeOne(i,t)),null)}static _deserializeOne(e,t){if(e=e.trim(),e.indexOf(\"!=\")>=0){let n=e.split(\"!=\");return PP.create(n[0].trim(),this._deserializeValue(n[1],t))}if(e.indexOf(\"==\")>=0){let n=e.split(\"==\");return aE.create(n[0].trim(),this._deserializeValue(n[1],t))}if(e.indexOf(\"=~\")>=0){let n=e.split(\"=~\");return e7.create(n[0].trim(),this._deserializeRegexValue(n[1],t))}if(e.indexOf(\" in \")>=0){let n=e.split(\" in \");return uG.create(n[0].trim(),n[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(e)){const n=e.split(\">=\");return RP.create(n[0].trim(),n[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(e)){const n=e.split(\">\");return MP.create(n[0].trim(),n[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(e)){const n=e.split(\"<=\");return jP.create(n[0].trim(),n[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(e)){const n=e.split(\"<\");return BP.create(n[0].trim(),n[1].trim())}return/^\\!\\s*/.test(e)?AD.create(e.substr(1).trim()):nC.create(e)}static _deserializeValue(e,t){if(e=e.trim(),e===\"true\")return!0;if(e===\"false\")return!1;let n=/^'([^']*)'$/.exec(e);return n?n[1].trim():e}static _deserializeRegexValue(e,t){if(Zle(e)){if(t)throw new Error(\"missing regexp-value for =~-expression\");return console.warn(\"missing regexp-value for =~-expression\"),null}let n=e.indexOf(\"/\"),i=e.lastIndexOf(\"/\");if(n===i||n<0){if(t)throw new Error(`bad regexp-value '${e}', missing /-enclosure`);return console.warn(`bad regexp-value '${e}', missing /-enclosure`),null}let s=e.slice(n+1,i),a=e[i+1]===\"i\"?\"i\":\"\";try{return new RegExp(s,a)}catch(l){if(t)throw new Error(`bad regexp-value '${e}', parse error: ${l}`);return console.warn(`bad regexp-value '${e}', parse error: ${l}`),null}}}function Z3e(o,e){const t=o?o.substituteConstants():void 0,n=e?e.substituteConstants():void 0;return!t&&!n?!0:!t||!n?!1:t.equals(n)}function Mx(o,e){return o.cmp(e)}class X_{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 Og.INSTANCE}}X_.INSTANCE=new X_;class Og{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 X_.INSTANCE}}Og.INSTANCE=new Og;class nC{constructor(e,t){this.key=e,this.negated=t,this.type=2}static create(e,t=null){const n=Cp.get(e);return typeof n==\"boolean\"?n?Og.INSTANCE:X_.INSTANCE:new nC(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:Jue(this.key,e.key)}equals(e){return e.type===this.type?this.key===e.key:!1}substituteConstants(){const e=Cp.get(this.key);return typeof e==\"boolean\"?e?Og.INSTANCE:X_.INSTANCE:this}evaluate(e){return!!e.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=AD.create(this.key,this)),this.negated}}class aE{constructor(e,t,n){this.key=e,this.value=t,this.negated=n,this.type=4}static create(e,t,n=null){if(typeof t==\"boolean\")return t?nC.create(e,n):AD.create(e,n);const i=Cp.get(e);return typeof i==\"boolean\"?t===(i?\"true\":\"false\")?Og.INSTANCE:X_.INSTANCE:new aE(e,t,n)}cmp(e){return e.type!==this.type?this.type-e.type:uw(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=Cp.get(this.key);if(typeof e==\"boolean\"){const t=e?\"true\":\"false\";return this.value===t?Og.INSTANCE:X_.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=PP.create(this.key,this.value,this)),this.negated}}class uG{constructor(e,t){this.key=e,this.valueKey=t,this.type=10,this.negated=null}static create(e,t){return new uG(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:uw(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),n=e.getValue(this.key);return Array.isArray(t)?t.indexOf(n)>=0:typeof n==\"string\"&&typeof t==\"object\"&&t!==null?Q3e.call(t,n):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=cG.create(this)),this.negated}}class cG{constructor(e){this._actual=e,this.type=11}static create(e){return new cG(e)}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(){throw new Error(\"Method not implemented.\")}keys(){return this._actual.keys()}negate(){return this._actual}}class PP{constructor(e,t,n){this.key=e,this.value=t,this.negated=n,this.type=5}static create(e,t,n=null){if(typeof t==\"boolean\")return t?AD.create(e,n):nC.create(e,n);const i=Cp.get(e);return typeof i==\"boolean\"?t===(i?\"true\":\"false\")?X_.INSTANCE:Og.INSTANCE:new PP(e,t,n)}cmp(e){return e.type!==this.type?this.type-e.type:uw(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=Cp.get(this.key);if(typeof e==\"boolean\"){const t=e?\"true\":\"false\";return this.value===t?X_.INSTANCE:Og.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=aE.create(this.key,this.value,this)),this.negated}}class AD{constructor(e,t){this.key=e,this.negated=t,this.type=3}static create(e,t=null){const n=Cp.get(e);return typeof n==\"boolean\"?n?X_.INSTANCE:Og.INSTANCE:new AD(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:Jue(this.key,e.key)}equals(e){return e.type===this.type?this.key===e.key:!1}substituteConstants(){const e=Cp.get(this.key);return typeof e==\"boolean\"?e?X_.INSTANCE:Og.INSTANCE:this}evaluate(e){return!e.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=nC.create(this.key,this)),this.negated}}function OP(o,e){if(typeof o==\"string\"){const t=parseFloat(o);isNaN(t)||(o=t)}return typeof o==\"string\"||typeof o==\"number\"?e(o):X_.INSTANCE}class MP{constructor(e,t,n){this.key=e,this.value=t,this.negated=n,this.type=12}static create(e,t,n=null){return OP(t,i=>new MP(e,i,n))}cmp(e){return e.type!==this.type?this.type-e.type:uw(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=jP.create(this.key,this.value,this)),this.negated}}class RP{constructor(e,t,n){this.key=e,this.value=t,this.negated=n,this.type=13}static create(e,t,n=null){return OP(t,i=>new RP(e,i,n))}cmp(e){return e.type!==this.type?this.type-e.type:uw(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=BP.create(this.key,this.value,this)),this.negated}}class BP{constructor(e,t,n){this.key=e,this.value=t,this.negated=n,this.type=14}static create(e,t,n=null){return OP(t,i=>new BP(e,i,n))}cmp(e){return e.type!==this.type?this.type-e.type:uw(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=RP.create(this.key,this.value,this)),this.negated}}class jP{constructor(e,t,n){this.key=e,this.value=t,this.negated=n,this.type=15}static create(e,t,n=null){return OP(t,i=>new jP(e,i,n))}cmp(e){return e.type!==this.type?this.type-e.type:uw(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=MP.create(this.key,this.value,this)),this.negated}}class e7{constructor(e,t){this.key=e,this.regexp=t,this.type=7,this.negated=null}static create(e,t){return new e7(e,t)}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:\"\",n=e.regexp?e.regexp.source:\"\";return t<n?-1:t>n?1:0}equals(e){if(e.type===this.type){const t=this.regexp?this.regexp.source:\"\",n=e.regexp?e.regexp.source:\"\";return this.key===e.key&&t===n}return!1}substituteConstants(){return this}evaluate(e){let t=e.getValue(this.key);return this.regexp?this.regexp.test(t):!1}serialize(){const e=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?\"i\":\"\"}`:\"/invalid/\";return`${this.key} =~ ${e}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=dG.create(this)),this.negated}}class dG{constructor(e){this._actual=e,this.type=8}static create(e){return new dG(e)}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(){throw new Error(\"Method not implemented.\")}keys(){return this._actual.keys()}negate(){return this._actual}}function Gue(o){let e=null;for(let t=0,n=o.length;t<n;t++){const i=o[t].substituteConstants();if(o[t]!==i&&e===null){e=[];for(let s=0;s<t;s++)e[s]=o[s]}e!==null&&(e[t]=i)}return e===null?o:e}class Lv{constructor(e,t){this.expr=e,this.negated=t,this.type=6}static create(e,t){return Lv._normalizeArr(e,t)}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,n=this.expr.length;t<n;t++){const i=Mx(this.expr[t],e.expr[t]);if(i!==0)return i}return 0}equals(e){if(e.type===this.type){if(this.expr.length!==e.expr.length)return!1;for(let t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].equals(e.expr[t]))return!1;return!0}return!1}substituteConstants(){const e=Gue(this.expr);return e===this.expr?this:Lv.create(e,this.negated)}evaluate(e){for(let t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].evaluate(e))return!1;return!0}static _normalizeArr(e,t){const n=[];let i=!1;for(const s of e)if(!!s){if(s.type===1){i=!0;continue}if(s.type===0)return X_.INSTANCE;if(s.type===6){n.push(...s.expr);continue}n.push(s)}if(n.length===0&&i)return Og.INSTANCE;if(n.length!==0){if(n.length===1)return n[0];n.sort(Mx);for(let s=1;s<n.length;s++)n[s-1].equals(n[s])&&(n.splice(s,1),s--);if(n.length===1)return n[0];for(;n.length>1;){const s=n[n.length-1];if(s.type!==9)break;n.pop();const a=n.pop(),l=n.length===0,u=pb.create(s.expr.map(d=>Lv.create([d,a],null)),null,l);u&&(n.push(u),n.sort(Mx))}return n.length===1?n[0]:new Lv(n,t)}}serialize(){return this.expr.map(e=>e.serialize()).join(\" && \")}keys(){const e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){const e=[];for(let t of this.expr)e.push(t.negate());this.negated=pb.create(e,this,!0)}return this.negated}}class pb{constructor(e,t){this.expr=e,this.negated=t,this.type=9}static create(e,t,n){return pb._normalizeArr(e,t,n)}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,n=this.expr.length;t<n;t++){const i=Mx(this.expr[t],e.expr[t]);if(i!==0)return i}return 0}equals(e){if(e.type===this.type){if(this.expr.length!==e.expr.length)return!1;for(let t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].equals(e.expr[t]))return!1;return!0}return!1}substituteConstants(){const e=Gue(this.expr);return e===this.expr?this:pb.create(e,this.negated,!1)}evaluate(e){for(let t=0,n=this.expr.length;t<n;t++)if(this.expr[t].evaluate(e))return!0;return!1}static _normalizeArr(e,t,n){let i=[],s=!1;if(e){for(let a=0,l=e.length;a<l;a++){const u=e[a];if(!!u){if(u.type===0){s=!0;continue}if(u.type===1)return Og.INSTANCE;if(u.type===9){i=i.concat(u.expr);continue}i.push(u)}}if(i.length===0&&s)return X_.INSTANCE;i.sort(Mx)}if(i.length!==0){if(i.length===1)return i[0];for(let a=1;a<i.length;a++)i[a-1].equals(i[a])&&(i.splice(a,1),a--);if(i.length===1)return i[0];if(n){for(let a=0;a<i.length;a++)for(let l=a+1;l<i.length;l++)Yue(i[a],i[l])&&(i.splice(l,1),l--);if(i.length===1)return i[0]}return new pb(i,t)}}serialize(){return this.expr.map(e=>e.serialize()).join(\" || \")}keys(){const e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){let e=[];for(let t of this.expr)e.push(t.negate());for(;e.length>1;){const t=e.shift(),n=e.shift(),i=[];for(const a of t7(t))for(const l of t7(n))i.push(Lv.create([a,l],null));const s=e.length===0;e.unshift(pb.create(i,null,s))}this.negated=e[0]}return this.negated}}class Do extends nC{constructor(e,t,n){super(e,null),this._defaultValue=t,typeof n==\"object\"?Do._info.push(Object.assign(Object.assign({},n),{key:e})):n!==!0&&Do._info.push({key:e,description:n,type:t!=null?typeof t:void 0})}static all(){return Do._info.values()}bindTo(e){return e.createKey(this.key,this._defaultValue)}getValue(e){return e.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(e){return aE.create(this.key,e)}}Do._info=[];const Xa=zl(\"contextKeyService\"),eLe=\"setContext\";function Jue(o,e){return o<e?-1:o>e?1:0}function uw(o,e,t,n){return o<t?-1:o>t?1:e<n?-1:e>n?1:0}function Yue(o,e){if(e.type===6&&o.type!==9&&o.type!==6){for(const i of e.expr)if(o.equals(i))return!0}const t=o.negate(),n=t7(t).concat(t7(e));n.sort(Mx);for(let i=0;i<n.length;i++){const a=n[i].negate();for(let l=i+1;l<n.length;l++){const u=n[l];if(a.equals(u))return!0}}return!1}function t7(o){return o.type===9?o.expr:[o]}class tLe{constructor(){this.data=new Map}add(e,t){Q5(Lg(e)),Q5(Mf(t)),Q5(!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 wd=new tLe;var wm;(function(o){o.DARK=\"dark\",o.LIGHT=\"light\",o.HIGH_CONTRAST=\"hc\"})(wm||(wm={}));const gc=zl(\"themeService\");var bz;(function(o){function e(t){return t&&typeof t==\"object\"&&typeof t.id==\"string\"}o.isThemeColor=e})(bz||(bz={}));function Jc(o){return{id:o}}var zu;(function(o){function e(d){return d&&typeof d==\"object\"&&typeof d.id==\"string\"&&(typeof d.color==\"undefined\"||bz.isThemeColor(d.color))}o.isThemeIcon=e;const t=new RegExp(`^\\\\$\\\\((${df.iconNameExpression}(?:${df.iconModifierExpression})?)\\\\)$`);function n(d){const h=t.exec(d);if(!h)return;let[,p]=h;return{id:p}}o.fromString=n;function i(d){return{id:d}}o.fromId=i;function s(d,h){let p=d.id;const g=p.lastIndexOf(\"~\");return g!==-1&&(p=p.substring(0,g)),h&&(p=`${p}~${h}`),{id:p}}o.modify=s;function a(d){const h=d.id.lastIndexOf(\"~\");if(h!==-1)return d.id.substring(h+1)}o.getModifier=a;function l(d,h){var p,g;return d.id===h.id&&((p=d.color)===null||p===void 0?void 0:p.id)===((g=h.color)===null||g===void 0?void 0:g.id)}o.isEqual=l;function u(d,h){return{id:d.id,color:h?Jc(h):void 0}}o.asThemeIcon=u,o.asClassNameArray=df.asClassNameArray,o.asClassName=df.asClassName,o.asCSSSelector=df.asCSSSelector})(zu||(zu={}));function n7(o){switch(o){case wm.DARK:return\"vs-dark\";case wm.HIGH_CONTRAST:return\"hc-black\";default:return\"vs\"}}const Xue={ThemingContribution:\"base.contributions.theming\"};class nLe{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new ri}onColorThemeChange(e){return this.themingParticipants.push(e),this.onThemingParticipantAddedEmitter.fire(e),wl(()=>{const t=this.themingParticipants.indexOf(e);this.themingParticipants.splice(t,1)})}getThemingParticipants(){return this.themingParticipants}}let Que=new nLe;wd.add(Xue.ThemingContribution,Que);function ac(o){return Que.onColorThemeChange(o)}class iLe extends fr{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(){}}var rLe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},xre=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};function Cx(o){return o.command!==void 0}class Fn{constructor(e){this.id=Fn._idPool++,this._debugName=e}}Fn._idPool=0;Fn.CommandPalette=new Fn(\"CommandPalette\");Fn.DebugBreakpointsContext=new Fn(\"DebugBreakpointsContext\");Fn.DebugCallStackContext=new Fn(\"DebugCallStackContext\");Fn.DebugConsoleContext=new Fn(\"DebugConsoleContext\");Fn.DebugVariablesContext=new Fn(\"DebugVariablesContext\");Fn.DebugWatchContext=new Fn(\"DebugWatchContext\");Fn.DebugToolBar=new Fn(\"DebugToolBar\");Fn.EditorContext=new Fn(\"EditorContext\");Fn.SimpleEditorContext=new Fn(\"SimpleEditorContext\");Fn.EditorContextCopy=new Fn(\"EditorContextCopy\");Fn.EditorContextPeek=new Fn(\"EditorContextPeek\");Fn.EditorTitle=new Fn(\"EditorTitle\");Fn.EditorTitleRun=new Fn(\"EditorTitleRun\");Fn.EditorTitleContext=new Fn(\"EditorTitleContext\");Fn.EmptyEditorGroup=new Fn(\"EmptyEditorGroup\");Fn.EmptyEditorGroupContext=new Fn(\"EmptyEditorGroupContext\");Fn.ExplorerContext=new Fn(\"ExplorerContext\");Fn.ExtensionContext=new Fn(\"ExtensionContext\");Fn.GlobalActivity=new Fn(\"GlobalActivity\");Fn.LayoutControlMenuSubmenu=new Fn(\"LayoutControlMenuSubmenu\");Fn.LayoutControlMenu=new Fn(\"LayoutControlMenu\");Fn.MenubarMainMenu=new Fn(\"MenubarMainMenu\");Fn.MenubarAppearanceMenu=new Fn(\"MenubarAppearanceMenu\");Fn.MenubarDebugMenu=new Fn(\"MenubarDebugMenu\");Fn.MenubarEditMenu=new Fn(\"MenubarEditMenu\");Fn.MenubarCopy=new Fn(\"MenubarCopy\");Fn.MenubarFileMenu=new Fn(\"MenubarFileMenu\");Fn.MenubarGoMenu=new Fn(\"MenubarGoMenu\");Fn.MenubarHelpMenu=new Fn(\"MenubarHelpMenu\");Fn.MenubarLayoutMenu=new Fn(\"MenubarLayoutMenu\");Fn.MenubarNewBreakpointMenu=new Fn(\"MenubarNewBreakpointMenu\");Fn.MenubarPanelAlignmentMenu=new Fn(\"MenubarPanelAlignmentMenu\");Fn.MenubarPanelPositionMenu=new Fn(\"MenubarPanelPositionMenu\");Fn.MenubarPreferencesMenu=new Fn(\"MenubarPreferencesMenu\");Fn.MenubarRecentMenu=new Fn(\"MenubarRecentMenu\");Fn.MenubarSelectionMenu=new Fn(\"MenubarSelectionMenu\");Fn.MenubarSwitchEditorMenu=new Fn(\"MenubarSwitchEditorMenu\");Fn.MenubarSwitchGroupMenu=new Fn(\"MenubarSwitchGroupMenu\");Fn.MenubarTerminalMenu=new Fn(\"MenubarTerminalMenu\");Fn.MenubarViewMenu=new Fn(\"MenubarViewMenu\");Fn.MenubarHomeMenu=new Fn(\"MenubarHomeMenu\");Fn.OpenEditorsContext=new Fn(\"OpenEditorsContext\");Fn.ProblemsPanelContext=new Fn(\"ProblemsPanelContext\");Fn.SCMChangeContext=new Fn(\"SCMChangeContext\");Fn.SCMResourceContext=new Fn(\"SCMResourceContext\");Fn.SCMResourceFolderContext=new Fn(\"SCMResourceFolderContext\");Fn.SCMResourceGroupContext=new Fn(\"SCMResourceGroupContext\");Fn.SCMSourceControl=new Fn(\"SCMSourceControl\");Fn.SCMTitle=new Fn(\"SCMTitle\");Fn.SearchContext=new Fn(\"SearchContext\");Fn.StatusBarWindowIndicatorMenu=new Fn(\"StatusBarWindowIndicatorMenu\");Fn.StatusBarRemoteIndicatorMenu=new Fn(\"StatusBarRemoteIndicatorMenu\");Fn.TestItem=new Fn(\"TestItem\");Fn.TestItemGutter=new Fn(\"TestItemGutter\");Fn.TestPeekElement=new Fn(\"TestPeekElement\");Fn.TestPeekTitle=new Fn(\"TestPeekTitle\");Fn.TouchBarContext=new Fn(\"TouchBarContext\");Fn.TitleBarContext=new Fn(\"TitleBarContext\");Fn.TunnelContext=new Fn(\"TunnelContext\");Fn.TunnelPrivacy=new Fn(\"TunnelPrivacy\");Fn.TunnelProtocol=new Fn(\"TunnelProtocol\");Fn.TunnelPortInline=new Fn(\"TunnelInline\");Fn.TunnelTitle=new Fn(\"TunnelTitle\");Fn.TunnelLocalAddressInline=new Fn(\"TunnelLocalAddressInline\");Fn.TunnelOriginInline=new Fn(\"TunnelOriginInline\");Fn.ViewItemContext=new Fn(\"ViewItemContext\");Fn.ViewContainerTitle=new Fn(\"ViewContainerTitle\");Fn.ViewContainerTitleContext=new Fn(\"ViewContainerTitleContext\");Fn.ViewTitle=new Fn(\"ViewTitle\");Fn.ViewTitleContext=new Fn(\"ViewTitleContext\");Fn.CommentThreadTitle=new Fn(\"CommentThreadTitle\");Fn.CommentThreadActions=new Fn(\"CommentThreadActions\");Fn.CommentTitle=new Fn(\"CommentTitle\");Fn.CommentActions=new Fn(\"CommentActions\");Fn.InteractiveToolbar=new Fn(\"InteractiveToolbar\");Fn.InteractiveCellTitle=new Fn(\"InteractiveCellTitle\");Fn.InteractiveCellExecute=new Fn(\"InteractiveCellExecute\");Fn.InteractiveInputExecute=new Fn(\"InteractiveInputExecute\");Fn.NotebookToolbar=new Fn(\"NotebookToolbar\");Fn.NotebookCellTitle=new Fn(\"NotebookCellTitle\");Fn.NotebookCellInsert=new Fn(\"NotebookCellInsert\");Fn.NotebookCellBetween=new Fn(\"NotebookCellBetween\");Fn.NotebookCellListTop=new Fn(\"NotebookCellTop\");Fn.NotebookCellExecute=new Fn(\"NotebookCellExecute\");Fn.NotebookCellExecutePrimary=new Fn(\"NotebookCellExecutePrimary\");Fn.NotebookDiffCellInputTitle=new Fn(\"NotebookDiffCellInputTitle\");Fn.NotebookDiffCellMetadataTitle=new Fn(\"NotebookDiffCellMetadataTitle\");Fn.NotebookDiffCellOutputsTitle=new Fn(\"NotebookDiffCellOutputsTitle\");Fn.NotebookOutputToolbar=new Fn(\"NotebookOutputToolbar\");Fn.NotebookEditorLayoutConfigure=new Fn(\"NotebookEditorLayoutConfigure\");Fn.BulkEditTitle=new Fn(\"BulkEditTitle\");Fn.BulkEditContext=new Fn(\"BulkEditContext\");Fn.TimelineItemContext=new Fn(\"TimelineItemContext\");Fn.TimelineTitle=new Fn(\"TimelineTitle\");Fn.TimelineTitleContext=new Fn(\"TimelineTitleContext\");Fn.AccountsContext=new Fn(\"AccountsContext\");Fn.PanelTitle=new Fn(\"PanelTitle\");Fn.AuxiliaryBarTitle=new Fn(\"AuxiliaryBarTitle\");Fn.TerminalInstanceContext=new Fn(\"TerminalInstanceContext\");Fn.TerminalEditorInstanceContext=new Fn(\"TerminalEditorInstanceContext\");Fn.TerminalNewDropdownContext=new Fn(\"TerminalNewDropdownContext\");Fn.TerminalTabContext=new Fn(\"TerminalTabContext\");Fn.TerminalTabEmptyAreaContext=new Fn(\"TerminalTabEmptyAreaContext\");Fn.TerminalInlineTabContext=new Fn(\"TerminalInlineTabContext\");Fn.WebviewContext=new Fn(\"WebviewContext\");Fn.InlineCompletionsActions=new Fn(\"InlineCompletionsActions\");Fn.NewFile=new Fn(\"NewFile\");const cw=zl(\"menuService\"),q_=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new ri,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:o=>o===Fn.CommandPalette}}addCommand(o){return this.addCommands(Zl.single(o))}addCommands(o){for(const e of o)this._commands.set(e.id,e);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),wl(()=>{let e=!1;for(const t of o)e=this._commands.delete(t.id)||e;e&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(o){return this._commands.get(o)}getCommands(){const o=new Map;return this._commands.forEach((e,t)=>o.set(t,e)),o}appendMenuItem(o,e){return this.appendMenuItems(Zl.single({id:o,item:e}))}appendMenuItems(o){const e=new Set,t=new $_;for(const{id:n,item:i}of o){let s=this._menuItems.get(n);s||(s=new $_,this._menuItems.set(n,s)),t.push(s.push(i)),e.add(n)}return this._onDidChangeMenu.fire(e),wl(()=>{if(t.size>0){for(let n of t)n();this._onDidChangeMenu.fire(e),t.clear()}})}getMenuItems(o){let e;return this._menuItems.has(o)?e=[...this._menuItems.get(o)]:e=[],o===Fn.CommandPalette&&this._appendImplicitItems(e),e}_appendImplicitItems(o){const e=new Set;for(const t of o)Cx(t)&&(e.add(t.command.id),t.alt&&e.add(t.alt.id));this._commands.forEach((t,n)=>{e.has(n)||o.push({command:t})})}};class hG extends IP{constructor(e,t,n,i){super(`submenuitem.${e.submenu.id}`,typeof e.title==\"string\"?e.title:e.title.value,[],\"submenu\"),this.item=e,this._menuService=t,this._contextKeyService=n,this._options=i}get actions(){const e=[],t=this._menuService.createMenu(this.item.submenu,this._contextKeyService),n=t.getActions(this._options);t.dispose();for(const[,i]of n)i.length>0&&(e.push(...i),e.push(new Ag));return e.length&&e.pop(),e}}let iC=class Zue{constructor(e,t,n,i,s){var a,l;if(this._commandService=s,this.id=e.id,this.label=(n==null?void 0:n.renderShortTitle)&&e.shortTitle?typeof e.shortTitle==\"string\"?e.shortTitle:e.shortTitle.value:typeof e.title==\"string\"?e.title:e.title.value,this.tooltip=(l=typeof e.tooltip==\"string\"?e.tooltip:(a=e.tooltip)===null||a===void 0?void 0:a.value)!==null&&l!==void 0?l:\"\",this.enabled=!e.precondition||i.contextMatchesRules(e.precondition),this.checked=void 0,e.toggled){const u=e.toggled.condition?e.toggled:{condition:e.toggled};this.checked=i.contextMatchesRules(u.condition),this.checked&&u.tooltip&&(this.tooltip=typeof u.tooltip==\"string\"?u.tooltip:u.tooltip.value),u.title&&(this.label=typeof u.title==\"string\"?u.title:u.title.value)}this.item=e,this.alt=t?new Zue(t,void 0,n,i,s):void 0,this._options=n,zu.isThemeIcon(e.icon)&&(this.class=df.asClassName(e.icon))}dispose(){}run(...e){var t,n;let i=[];return!((t=this._options)===null||t===void 0)&&t.arg&&(i=[...i,this._options.arg]),!((n=this._options)===null||n===void 0)&&n.shouldForwardArgs&&(i=[...i,...e]),this._commandService.executeCommand(this.id,...i)}};iC=rLe([xre(3,Xa),xre(4,Dd)],iC);class i7{constructor(){this._coreKeybindings=[],this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(e){if(bg===1){if(e&&e.win)return e.win}else if(bg===2){if(e&&e.mac)return e.mac}else if(e&&e.linux)return e.linux;return e}registerKeybindingRule(e){const t=i7.bindToCurrentPlatform(e);if(t&&t.primary){const n=hz(t.primary,bg);n&&this._registerDefaultKeybinding(n,e.id,e.args,e.weight,0,e.when)}if(t&&Array.isArray(t.secondary))for(let n=0,i=t.secondary.length;n<i;n++){const s=t.secondary[n],a=hz(s,bg);a&&this._registerDefaultKeybinding(a,e.id,e.args,e.weight,-n-1,e.when)}}registerCommandAndKeybindingRule(e){this.registerKeybindingRule(e),tu.registerCommand(e)}static _mightProduceChar(e){return e>=21&&e<=30||e>=31&&e<=56?!0:e===80||e===81||e===82||e===83||e===84||e===85||e===86||e===110||e===111||e===87||e===88||e===89||e===90||e===91||e===92}_assertNoCtrlAlt(e,t){e.ctrlKey&&e.altKey&&!e.metaKey&&i7._mightProduceChar(e.keyCode)&&console.warn(\"Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: \",e,\" for \",t)}_registerDefaultKeybinding(e,t,n,i,s,a){bg===1&&this._assertNoCtrlAlt(e.parts[0],t),this._coreKeybindings.push({keybinding:e.parts,command:t,commandArgs:n,when:a,weight1:i,weight2:s,extensionId:null,isBuiltinExtension:!1}),this._cachedMergedKeybindings=null}getDefaultKeybindings(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=[].concat(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(oLe)),this._cachedMergedKeybindings.slice(0)}}const gf=new i7,sLe={EditorModes:\"platform.keybindingsRegistry\"};wd.add(sLe.EditorModes,gf);function oLe(o,e){return o.weight1!==e.weight1?o.weight1-e.weight1:o.command<e.command?-1:o.command>e.command?1:o.weight2-e.weight2}const sy=zl(\"telemetryService\");class WP{constructor(e){this.id=e.id,this.precondition=e.precondition,this._kbOpts=e.kbOpts,this._menuOpts=e.menuOpts,this._description=e.description}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 n=t.kbExpr;this.precondition&&(n?n=co.and(n,this.precondition):n=this.precondition);const i={id:this.id,weight:t.weight,args:t.args,when:n,primary:t.primary,secondary:t.secondary,win:t.win,linux:t.linux,mac:t.mac};gf.registerKeybindingRule(i)}}tu.registerCommand({id:this.id,handler:(e,t)=>this.runCommand(e,t),description:this._description})}_registerMenuItem(e){q_.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 HE extends WP{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t,n){return this._implementations.push({priority:e,name:t,implementation:n}),this._implementations.sort((i,s)=>s.priority-i.priority),{dispose:()=>{for(let i=0;i<this._implementations.length;i++)if(this._implementations[i].implementation===n){this._implementations.splice(i,1);return}}}}runCommand(e,t){const n=e.get(km);n.trace(`Executing Command '${this.id}' which has ${this._implementations.length} bound.`);for(const i of this._implementations){const s=i.implementation(e,t);if(s)return n.trace(`Command '${this.id}' was handled by '${i.name}'.`),typeof s==\"boolean\"?void 0:s}n.trace(`The Command '${this.id}' was not handled by any implementation.`)}}class ece extends WP{constructor(e,t){super(t),this.command=e}runCommand(e,t){return this.command.runCommand(e,t)}}class Zh extends WP{static bindToContribution(e){return class extends Zh{constructor(n){super(n),this._callback=n.handler}runEditorCommand(n,i,s){const a=e(i);a&&this._callback(a,s)}}}runCommand(e,t){const n=e.get(Eu),i=n.getFocusedCodeEditor()||n.getActiveCodeEditor();if(!!i)return i.invokeWithinContext(s=>{if(!!s.get(Xa).contextMatchesRules(u_(this.precondition)))return this.runEditorCommand(s,i,t)})}}class xo extends Zh{constructor(e){super(xo.convertOptions(e)),this.label=e.label,this.alias=e.alias}static convertOptions(e){let t;Array.isArray(e.menuOpts)?t=e.menuOpts:e.menuOpts?t=[e.menuOpts]:t=[];function n(i){return i.menuId||(i.menuId=Fn.EditorContext),i.title||(i.title=e.label),i.when=co.and(e.precondition,i.when),i}return Array.isArray(e.contextMenuOpts)?t.push(...e.contextMenuOpts.map(n)):e.contextMenuOpts&&t.push(n(e.contextMenuOpts)),e.menuOpts=t,e}runEditorCommand(e,t,n){return this.reportTelemetry(e,t),this.run(e,t,n||{})}reportTelemetry(e,t){e.get(sy).publicLog2(\"editorActionInvoked\",{name:this.label,id:this.id})}}class tce extends xo{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t){return this._implementations.push([e,t]),this._implementations.sort((n,i)=>i[0]-n[0]),{dispose:()=>{for(let n=0;n<this._implementations.length;n++)if(this._implementations[n][1]===t){this._implementations.splice(n,1);return}}}}run(e,t,n){for(const i of this._implementations){const s=i[1](e,t,n);if(s)return typeof s==\"boolean\"?void 0:s}}}function oy(o,e){tu.registerCommand(o,function(t,...n){const i=t.get(Nl),[s,a]=n;$u(wa.isUri(s)),$u(Ii.isIPosition(a));const l=t.get(Oc).getModel(s);if(l){const u=Ii.lift(a);return i.invokeFunction(e,l,u,...n.slice(2))}return t.get(Wf).createModelReference(s).then(u=>new Promise((d,h)=>{try{const p=i.invokeFunction(e,u.object.textEditorModel,Ii.lift(a),n.slice(2));d(p)}catch(p){h(p)}}).finally(()=>{u.dispose()}))})}function Ns(o){return Cg.INSTANCE.registerEditorCommand(o),o}function Fs(o){const e=new o;return Cg.INSTANCE.registerEditorAction(e),e}function nce(o){return Cg.INSTANCE.registerEditorAction(o),o}function ice(o){Cg.INSTANCE.registerEditorAction(o)}function vu(o,e){Cg.INSTANCE.registerEditorContribution(o,e)}var oD;(function(o){function e(a){return Cg.INSTANCE.getEditorCommand(a)}o.getEditorCommand=e;function t(){return Cg.INSTANCE.getEditorActions()}o.getEditorActions=t;function n(){return Cg.INSTANCE.getEditorContributions()}o.getEditorContributions=n;function i(a){return Cg.INSTANCE.getEditorContributions().filter(l=>a.indexOf(l.id)>=0)}o.getSomeEditorContributions=i;function s(){return Cg.INSTANCE.getDiffEditorContributions()}o.getDiffEditorContributions=s})(oD||(oD={}));const aLe={EditorCommonContributions:\"editor.contributions\"};class Cg{constructor(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}registerEditorContribution(e,t){this.editorContributions.push({id:e,ctor:t})}getEditorContributions(){return this.editorContributions.slice(0)}getDiffEditorContributions(){return this.diffEditorContributions.slice(0)}registerEditorAction(e){e.register(),this.editorActions.push(e)}getEditorActions(){return this.editorActions.slice(0)}registerEditorCommand(e){e.register(),this.editorCommands[e.id]=e}getEditorCommand(e){return this.editorCommands[e]||null}}Cg.INSTANCE=new Cg;wd.add(aLe.EditorCommonContributions,Cg.INSTANCE);function n4(o){return o.register(),o}const rce=n4(new HE({id:\"undo\",precondition:void 0,kbOpts:{weight:0,primary:2104},menuOpts:[{menuId:Fn.MenubarEditMenu,group:\"1_do\",title:w({key:\"miUndo\",comment:[\"&& denotes a mnemonic\"]},\"&&Undo\"),order:1},{menuId:Fn.CommandPalette,group:\"\",title:w(\"undo\",\"Undo\"),order:1}]}));n4(new ece(rce,{id:\"default:undo\",precondition:void 0}));const sce=n4(new HE({id:\"redo\",precondition:void 0,kbOpts:{weight:0,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:[{menuId:Fn.MenubarEditMenu,group:\"1_do\",title:w({key:\"miRedo\",comment:[\"&& denotes a mnemonic\"]},\"&&Redo\"),order:2},{menuId:Fn.CommandPalette,group:\"\",title:w(\"redo\",\"Redo\"),order:1}]}));n4(new ece(sce,{id:\"default:redo\",precondition:void 0}));const lLe=n4(new HE({id:\"editor.action.selectAll\",precondition:void 0,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:[{menuId:Fn.MenubarSelectionMenu,group:\"1_basic\",title:w({key:\"miSelectAll\",comment:[\"&& denotes a mnemonic\"]},\"&&Select All\"),order:1},{menuId:Fn.CommandPalette,group:\"\",title:w(\"selectAll\",\"Select All\"),order:1}]}));var uLe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},cLe=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let q3=class{constructor(e,t){}dispose(){}};q3.ID=\"editor.contrib.markerDecorations\";q3=uLe([cLe(1,lG)],q3);vu(q3.ID,q3);class oce extends fr{constructor(e,t){super(),this._onDidChange=this._register(new ri),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(){!this._resizeObserver&&this._referenceDomElement&&(this._resizeObserver=new ResizeObserver(e=>{e&&e[0]&&e[0].contentRect?this.observe({width:e[0].contentRect.width,height:e[0].contentRect.height}):this.observe()}),this._resizeObserver.observe(this._referenceDomElement))}stopObserving(){this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null)}observe(e){this.measureReferenceDomElement(!0,e)}measureReferenceDomElement(e,t){let n=0,i=0;t?(n=t.width,i=t.height):this._referenceDomElement&&(n=this._referenceDomElement.clientWidth,i=this._referenceDomElement.clientHeight),n=Math.max(5,n),i=Math.max(5,i),(this._width!==n||this._height!==i)&&(this._width=n,this._height=i,e&&this._onDidChange.fire())}}const dLe=Object.prototype.hasOwnProperty;function hLe(o,e){for(let t in o)if(dLe.call(o,t)&&e({key:t,value:o[t]},function(){delete o[t]})===!1)return}class pLe{constructor(){this.map=new Map}add(e,t){let n=this.map.get(e);n||(n=new Set,this.map.set(e,n)),n.add(t)}delete(e,t){const n=this.map.get(e);!n||(n.delete(t),n.size===0&&this.map.delete(e))}forEach(e,t){const n=this.map.get(e);!n||n.forEach(t)}}function fLe(o){const e=o.wordWrap;e===!0?o.wordWrap=\"on\":e===!1&&(o.wordWrap=\"off\");const t=o.lineNumbers;t===!0?o.lineNumbers=\"on\":t===!1&&(o.lineNumbers=\"off\"),o.autoClosingBrackets===!1&&(o.autoClosingBrackets=\"never\",o.autoClosingQuotes=\"never\",o.autoSurround=\"never\"),o.cursorBlinking===\"visible\"&&(o.cursorBlinking=\"solid\");const s=o.renderWhitespace;s===!0?o.renderWhitespace=\"boundary\":s===!1&&(o.renderWhitespace=\"none\");const a=o.renderLineHighlight;a===!0?o.renderLineHighlight=\"line\":a===!1&&(o.renderLineHighlight=\"none\");const l=o.acceptSuggestionOnEnter;l===!0?o.acceptSuggestionOnEnter=\"on\":l===!1&&(o.acceptSuggestionOnEnter=\"off\");const u=o.tabCompletion;u===!1?o.tabCompletion=\"off\":u===!0&&(o.tabCompletion=\"onlySnippets\");const d=o.suggest;if(d&&typeof d.filteredTypes==\"object\"&&d.filteredTypes){const k={};k.method=\"showMethods\",k.function=\"showFunctions\",k.constructor=\"showConstructors\",k.deprecated=\"showDeprecated\",k.field=\"showFields\",k.variable=\"showVariables\",k.class=\"showClasses\",k.struct=\"showStructs\",k.interface=\"showInterfaces\",k.module=\"showModules\",k.property=\"showProperties\",k.event=\"showEvents\",k.operator=\"showOperators\",k.unit=\"showUnits\",k.value=\"showValues\",k.constant=\"showConstants\",k.enum=\"showEnums\",k.enumMember=\"showEnumMembers\",k.keyword=\"showKeywords\",k.text=\"showWords\",k.color=\"showColors\",k.file=\"showFiles\",k.reference=\"showReferences\",k.folder=\"showFolders\",k.typeParameter=\"showTypeParameters\",k.snippet=\"showSnippets\",hLe(k,I=>{const F=d.filteredTypes[I.key];F===!1&&(d[I.value]=F)})}const h=o.hover;h===!0?o.hover={enabled:!0}:h===!1&&(o.hover={enabled:!1});const p=o.parameterHints;p===!0?o.parameterHints={enabled:!0}:p===!1&&(o.parameterHints={enabled:!1});const g=o.autoIndent;g===!0?o.autoIndent=\"full\":g===!1&&(o.autoIndent=\"advanced\");const y=o.matchBrackets;y===!0?o.matchBrackets=\"always\":y===!1&&(o.matchBrackets=\"never\");const{renderIndentGuides:D,highlightActiveIndentGuide:T}=o;o.guides||(o.guides={}),D!==void 0&&(o.guides.indentation=!!D),T!==void 0&&(o.guides.highlightActiveIndentation=!!T)}class _Le{constructor(){this._tabFocus=!1,this._onDidChangeTabFocus=new ri,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}getTabFocusMode(){return this._tabFocus}setTabFocusMode(e){this._tabFocus!==e&&(this._tabFocus=e,this._onDidChangeTabFocus.fire(this._tabFocus))}}const r7=new _Le,m_=zl(\"accessibilityService\"),i4=new Do(\"accessibilityModeEnabled\",!1);var gLe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},mLe=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let vz=class extends fr{constructor(e,t,n,i){super(),this._accessibilityService=i,this._onDidChange=this._register(new ri),this.onDidChange=this._onDidChange.event,this._onDidChangeFast=this._register(new ri),this.onDidChangeFast=this._onDidChangeFast.event,this._isDominatedByLongLines=!1,this._viewLineCount=1,this._lineNumbersDigitCount=1,this._reservedHeight=0,this._computeOptionsMemory=new Vle,this.isSimpleWidget=e,this._containerObserver=this._register(new oce(n,t.dimension)),this._rawOptions=Ere(t),this._validatedOptions=Ev.validateOptions(this._rawOptions),this.options=this._computeOptions(),this.options.get(10)&&this._containerObserver.startObserving(),this._register(Sb.onDidChangeZoomLevel(()=>this._recomputeOptions())),this._register(r7.onDidChangeTabFocus(()=>this._recomputeOptions())),this._register(this._containerObserver.onDidChange(()=>this._recomputeOptions())),this._register(ez.onDidChange(()=>this._recomputeOptions())),this._register(nE.onDidChange(()=>this._recomputeOptions())),this._register(this._accessibilityService.onDidChangeScreenReaderOptimized(()=>this._recomputeOptions()))}_recomputeOptions(){const e=this._computeOptions(),t=Ev.checkEquals(this.options,e);t!==null&&(this.options=e,this._onDidChangeFast.fire(t),this._onDidChange.fire(t))}_computeOptions(){const e=this._readEnvConfiguration(),t=sD.createFromValidatedSettings(this._validatedOptions,e.pixelRatio,this.isSimpleWidget),n=this._readFontInfo(t),i={memory:this._computeOptionsMemory,outerWidth:e.outerWidth,outerHeight:e.outerHeight-this._reservedHeight,fontInfo:n,extraEditorClassName:e.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,viewLineCount:this._viewLineCount,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:e.emptySelectionClipboard,pixelRatio:e.pixelRatio,tabFocusMode:r7.getTabFocusMode(),accessibilitySupport:e.accessibilitySupport};return Ev.computeOptions(this._validatedOptions,i)}_readEnvConfiguration(){return{extraEditorClassName:bLe(),outerWidth:this._containerObserver.getWidth(),outerHeight:this._containerObserver.getHeight(),emptySelectionClipboard:Rv||J_,pixelRatio:nE.value,accessibilitySupport:this._accessibilityService.isScreenReaderOptimized()?2:this._accessibilityService.getAccessibilitySupport()}}_readFontInfo(e){return ez.readFontInfo(e)}getRawOptions(){return this._rawOptions}updateOptions(e){const t=Ere(e);!Ev.applyUpdate(this._rawOptions,t)||(this._validatedOptions=Ev.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=yLe(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())}};vz=gLe([mLe(3,m_)],vz);function yLe(o){let e=0;for(;o;)o=Math.floor(o/10),e++;return e||1}function bLe(){let o=\"\";return!Am&&!Vq&&(o+=\"no-user-select \"),Am&&(o+=\"no-minimap-shadow \"),El&&(o+=\"mac \"),o}class vLe{constructor(){this._values=[]}_read(e){return this._values[e]}get(e){return this._values[e]}_write(e,t){this._values[e]=t}}class CLe{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 Ev{static validateOptions(e){const t=new vLe;for(const n of _x){const i=n.name===\"_never_\"?void 0:e[n.name];t._write(n.id,n.validate(i))}return t}static computeOptions(e,t){const n=new CLe;for(const i of _x)n._write(i.id,i.compute(t,n,e._read(i.id)));return n}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)?K_(e,t):!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ev._deepEquals(e[n],t[n]))return!1;return!0}static checkEquals(e,t){const n=[];let i=!1;for(const s of _x){const a=!Ev._deepEquals(e._read(s.id),t._read(s.id));n[s.id]=a,a&&(i=!0)}return i?new Wle(n):null}static applyUpdate(e,t){let n=!1;for(const i of _x)if(t.hasOwnProperty(i.name)){const s=i.applyUpdate(e[i.name],t[i.name]);e[i.name]=s.newValue,n=n||s.didChange}return n}}function Ere(o){const e=tb(o);return fLe(e),e}function $d(o,e,t){let n=null,i=null;if(typeof t.value==\"function\"?(n=\"value\",i=t.value,i.length!==0&&console.warn(\"Memoize should only be used in functions with zero parameters\")):typeof t.get==\"function\"&&(n=\"get\",i=t.get),!i)throw new Error(\"not supported\");const s=`$memoize$${e}`;t[n]=function(...a){return this.hasOwnProperty(s)||Object.defineProperty(this,s,{configurable:!1,enumerable:!1,writable:!1,value:i.apply(this,a)}),this[s]}}var DLe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},sc;(function(o){o.Tap=\"-monaco-gesturetap\",o.Change=\"-monaco-gesturechange\",o.Start=\"-monaco-gesturestart\",o.End=\"-monaco-gesturesend\",o.Contextmenu=\"-monaco-gesturecontextmenu\"})(sc||(sc={}));class Iu extends fr{constructor(){super(),this.dispatched=!1,this.activeTouches={},this.handle=null,this.targets=[],this.ignoreTargets=[],this._lastSetTapCountTime=0,this._register(hs(document,\"touchstart\",e=>this.onTouchStart(e),{passive:!1})),this._register(hs(document,\"touchend\",e=>this.onTouchEnd(e))),this._register(hs(document,\"touchmove\",e=>this.onTouchMove(e),{passive:!1}))}static addTarget(e){return Iu.isTouchDevice()?(Iu.INSTANCE||(Iu.INSTANCE=new Iu),Iu.INSTANCE.targets.push(e),{dispose:()=>{Iu.INSTANCE.targets=Iu.INSTANCE.targets.filter(t=>t!==e)}}):fr.None}static ignoreTarget(e){return Iu.isTouchDevice()?(Iu.INSTANCE||(Iu.INSTANCE=new Iu),Iu.INSTANCE.ignoreTargets.push(e),{dispose:()=>{Iu.INSTANCE.ignoreTargets=Iu.INSTANCE.ignoreTargets.filter(t=>t!==e)}}):fr.None}static isTouchDevice(){return\"ontouchstart\"in window||navigator.maxTouchPoints>0}dispose(){this.handle&&(this.handle.dispose(),this.handle=null),super.dispose()}onTouchStart(e){let t=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(let n=0,i=e.targetTouches.length;n<i;n++){let s=e.targetTouches.item(n);this.activeTouches[s.identifier]={id:s.identifier,initialTarget:s.target,initialTimeStamp:t,initialPageX:s.pageX,initialPageY:s.pageY,rollingTimestamps:[t],rollingPageX:[s.pageX],rollingPageY:[s.pageY]};let a=this.newGestureEvent(sc.Start,s.target);a.pageX=s.pageX,a.pageY=s.pageY,this.dispatchEvent(a)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}onTouchEnd(e){let t=Date.now(),n=Object.keys(this.activeTouches).length;for(let i=0,s=e.changedTouches.length;i<s;i++){let a=e.changedTouches.item(i);if(!this.activeTouches.hasOwnProperty(String(a.identifier))){console.warn(\"move of an UNKNOWN touch\",a);continue}let l=this.activeTouches[a.identifier],u=Date.now()-l.initialTimeStamp;if(u<Iu.HOLD_DELAY&&Math.abs(l.initialPageX-gg(l.rollingPageX))<30&&Math.abs(l.initialPageY-gg(l.rollingPageY))<30){let d=this.newGestureEvent(sc.Tap,l.initialTarget);d.pageX=gg(l.rollingPageX),d.pageY=gg(l.rollingPageY),this.dispatchEvent(d)}else if(u>=Iu.HOLD_DELAY&&Math.abs(l.initialPageX-gg(l.rollingPageX))<30&&Math.abs(l.initialPageY-gg(l.rollingPageY))<30){let d=this.newGestureEvent(sc.Contextmenu,l.initialTarget);d.pageX=gg(l.rollingPageX),d.pageY=gg(l.rollingPageY),this.dispatchEvent(d)}else if(n===1){let d=gg(l.rollingPageX),h=gg(l.rollingPageY),p=gg(l.rollingTimestamps)-l.rollingTimestamps[0],g=d-l.rollingPageX[0],y=h-l.rollingPageY[0];const D=this.targets.filter(T=>l.initialTarget instanceof Node&&T.contains(l.initialTarget));this.inertia(D,t,Math.abs(g)/p,g>0?1:-1,d,Math.abs(y)/p,y>0?1:-1,h)}this.dispatchEvent(this.newGestureEvent(sc.End,l.initialTarget)),delete this.activeTouches[a.identifier]}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}newGestureEvent(e,t){let n=document.createEvent(\"CustomEvent\");return n.initEvent(e,!1,!0),n.initialTarget=t,n.tapCount=0,n}dispatchEvent(e){if(e.type===sc.Tap){const t=new Date().getTime();let n=0;t-this._lastSetTapCountTime>Iu.CLEAR_TAP_COUNT_TIME?n=1:n=2,this._lastSetTapCountTime=t,e.tapCount=n}else(e.type===sc.Change||e.type===sc.Contextmenu)&&(this._lastSetTapCountTime=0);for(let t=0;t<this.ignoreTargets.length;t++)if(e.initialTarget instanceof Node&&this.ignoreTargets[t].contains(e.initialTarget))return;this.targets.forEach(t=>{e.initialTarget instanceof Node&&t.contains(e.initialTarget)&&(t.dispatchEvent(e),this.dispatched=!0)})}inertia(e,t,n,i,s,a,l,u){this.handle=b0(()=>{let d=Date.now(),h=d-t,p=0,g=0,y=!0;n+=Iu.SCROLL_FRICTION*h,a+=Iu.SCROLL_FRICTION*h,n>0&&(y=!1,p=i*n*h),a>0&&(y=!1,g=l*a*h);let D=this.newGestureEvent(sc.Change);D.translationX=p,D.translationY=g,e.forEach(T=>T.dispatchEvent(D)),y||this.inertia(e,d,n,i,s+p,a,l,u+g)})}onTouchMove(e){let t=Date.now();for(let n=0,i=e.changedTouches.length;n<i;n++){let s=e.changedTouches.item(n);if(!this.activeTouches.hasOwnProperty(String(s.identifier))){console.warn(\"end of an UNKNOWN touch\",s);continue}let a=this.activeTouches[s.identifier],l=this.newGestureEvent(sc.Change,a.initialTarget);l.translationX=s.pageX-gg(a.rollingPageX),l.translationY=s.pageY-gg(a.rollingPageY),l.pageX=s.pageX,l.pageY=s.pageY,this.dispatchEvent(l),a.rollingPageX.length>3&&(a.rollingPageX.shift(),a.rollingPageY.shift(),a.rollingTimestamps.shift()),a.rollingPageX.push(s.pageX),a.rollingPageY.push(s.pageY),a.rollingTimestamps.push(t)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}}Iu.SCROLL_FRICTION=-.005;Iu.HOLD_DELAY=700;Iu.CLEAR_TAP_COUNT_TIME=400;DLe([$d],Iu,\"isTouchDevice\",null);function $E(o,e){let t=new Sg(e);return t.preventDefault(),{leftButton:t.leftButton,buttons:t.buttons,posx:t.posx,posy:t.posy}}class dw{constructor(){this._hooks=new fs,this._mouseMoveEventMerger=null,this._mouseMoveCallback=null,this._onStopCallback=null}dispose(){this.stopMonitoring(!1),this._hooks.dispose()}stopMonitoring(e,t){if(!this.isMonitoring())return;this._hooks.clear(),this._mouseMoveEventMerger=null,this._mouseMoveCallback=null;const n=this._onStopCallback;this._onStopCallback=null,e&&n&&n(t)}isMonitoring(){return!!this._mouseMoveEventMerger}startMonitoring(e,t,n,i,s){if(this.isMonitoring())return;this._mouseMoveEventMerger=n,this._mouseMoveCallback=i,this._onStopCallback=s;const a=fz.getSameOriginWindowChain(),l=m0?\"pointermove\":\"mousemove\",u=\"mouseup\",d=a.map(p=>p.window.document),h=eC(e);h&&d.unshift(h);for(const p of d)this._hooks.add(oG(p,l,g=>{if(g.buttons!==t){this.stopMonitoring(!0);return}this._mouseMoveCallback(g)},(g,y)=>this._mouseMoveEventMerger(g,y))),this._hooks.add(hs(p,u,g=>this.stopMonitoring(!0)));if(fz.hasDifferentOriginAncestor()){let p=a[a.length-1];this._hooks.add(hs(p.window.document,\"mouseout\",g=>{new Sg(g).target.tagName.toLowerCase()===\"html\"&&this.stopMonitoring(!0)})),this._hooks.add(hs(p.window.document,\"mouseover\",g=>{new Sg(g).target.tagName.toLowerCase()===\"html\"&&this.stopMonitoring(!0)})),this._hooks.add(hs(p.window.document.body,\"mouseleave\",g=>{this.stopMonitoring(!0)}))}}}function Wv(o,e){const t=Math.pow(10,e);return Math.round(o*t)/t}class Ml{constructor(e,t,n,i=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,n))|0,this.a=Wv(Math.max(Math.min(1,i),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class l0{constructor(e,t,n,i){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,e),0)|0,this.s=Wv(Math.max(Math.min(1,t),0),3),this.l=Wv(Math.max(Math.min(1,n),0),3),this.a=Wv(Math.max(Math.min(1,i),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,n=e.g/255,i=e.b/255,s=e.a,a=Math.max(t,n,i),l=Math.min(t,n,i);let u=0,d=0;const h=(l+a)/2,p=a-l;if(p>0){switch(d=Math.min(h<=.5?p/(2*h):p/(2-2*h),1),a){case t:u=(n-i)/p+(n<i?6:0);break;case n:u=(i-t)/p+2;break;case i:u=(t-n)/p+4;break}u*=60,u=Math.round(u)}return new l0(u,d,h,s)}static _hue2rgb(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}static toRGBA(e){const t=e.h/360,{s:n,l:i,a:s}=e;let a,l,u;if(n===0)a=l=u=i;else{const d=i<.5?i*(1+n):i+n-i*n,h=2*i-d;a=l0._hue2rgb(h,d,t+1/3),l=l0._hue2rgb(h,d,t),u=l0._hue2rgb(h,d,t-1/3)}return new Ml(Math.round(a*255),Math.round(l*255),Math.round(u*255),s)}}class O1{constructor(e,t,n,i){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,e),0)|0,this.s=Wv(Math.max(Math.min(1,t),0),3),this.v=Wv(Math.max(Math.min(1,n),0),3),this.a=Wv(Math.max(Math.min(1,i),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,n=e.g/255,i=e.b/255,s=Math.max(t,n,i),a=Math.min(t,n,i),l=s-a,u=s===0?0:l/s;let d;return l===0?d=0:s===t?d=((n-i)/l%6+6)%6:s===n?d=(i-t)/l+2:d=(t-n)/l+4,new O1(Math.round(d*60),u,s,e.a)}static toRGBA(e){const{h:t,s:n,v:i,a:s}=e,a=i*n,l=a*(1-Math.abs(t/60%2-1)),u=i-a;let[d,h,p]=[0,0,0];return t<60?(d=a,h=l):t<120?(d=l,h=a):t<180?(h=a,p=l):t<240?(h=l,p=a):t<300?(d=l,p=a):t<=360&&(d=a,p=l),d=Math.round((d+u)*255),h=Math.round((h+u)*255),p=Math.round((p+u)*255),new Ml(d,h,p,s)}}class Xi{constructor(e){if(e)if(e instanceof Ml)this.rgba=e;else if(e instanceof l0)this._hsla=e,this.rgba=l0.toRGBA(e);else if(e instanceof O1)this._hsva=e,this.rgba=O1.toRGBA(e);else throw new Error(\"Invalid color ctor argument\");else throw new Error(\"Color needs a value\")}static fromHex(e){return Xi.Format.CSS.parseHex(e)||Xi.red}get hsla(){return this._hsla?this._hsla:l0.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:O1.fromRGBA(this.rgba)}equals(e){return!!e&&Ml.equals(this.rgba,e.rgba)&&l0.equals(this.hsla,e.hsla)&&O1.equals(this.hsva,e.hsva)}getRelativeLuminance(){const e=Xi._relativeLuminanceForComponent(this.rgba.r),t=Xi._relativeLuminanceForComponent(this.rgba.g),n=Xi._relativeLuminanceForComponent(this.rgba.b),i=.2126*e+.7152*t+.0722*n;return Wv(i,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(),n=e.getRelativeLuminance();return t>n}isDarkerThan(e){const t=this.getRelativeLuminance(),n=e.getRelativeLuminance();return t<n}lighten(e){return new Xi(new l0(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*e,this.hsla.a))}darken(e){return new Xi(new l0(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*e,this.hsla.a))}transparent(e){const{r:t,g:n,b:i,a:s}=this.rgba;return new Xi(new Ml(t,n,i,s*e))}isTransparent(){return this.rgba.a===0}isOpaque(){return this.rgba.a===1}opposite(){return new Xi(new Ml(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}toString(){return this._toString||(this._toString=Xi.Format.CSS.format(this)),this._toString}static getLighterColor(e,t,n){if(e.isLighterThan(t))return e;n=n||.5;const i=e.getRelativeLuminance(),s=t.getRelativeLuminance();return n=n*(s-i)/s,e.lighten(n)}static getDarkerColor(e,t,n){if(e.isDarkerThan(t))return e;n=n||.5;const i=e.getRelativeLuminance(),s=t.getRelativeLuminance();return n=n*(i-s)/i,e.darken(n)}}Xi.white=new Xi(new Ml(255,255,255,1));Xi.black=new Xi(new Ml(0,0,0,1));Xi.red=new Xi(new Ml(255,0,0,1));Xi.blue=new Xi(new Ml(0,0,255,1));Xi.green=new Xi(new Ml(0,255,0,1));Xi.cyan=new Xi(new Ml(0,255,255,1));Xi.lightgrey=new Xi(new Ml(211,211,211,1));Xi.transparent=new Xi(new Ml(0,0,0,0));(function(o){(function(e){(function(t){function n(y){return y.rgba.a===1?`rgb(${y.rgba.r}, ${y.rgba.g}, ${y.rgba.b})`:o.Format.CSS.formatRGBA(y)}t.formatRGB=n;function i(y){return`rgba(${y.rgba.r}, ${y.rgba.g}, ${y.rgba.b}, ${+y.rgba.a.toFixed(2)})`}t.formatRGBA=i;function s(y){return y.hsla.a===1?`hsl(${y.hsla.h}, ${(y.hsla.s*100).toFixed(2)}%, ${(y.hsla.l*100).toFixed(2)}%)`:o.Format.CSS.formatHSLA(y)}t.formatHSL=s;function a(y){return`hsla(${y.hsla.h}, ${(y.hsla.s*100).toFixed(2)}%, ${(y.hsla.l*100).toFixed(2)}%, ${y.hsla.a.toFixed(2)})`}t.formatHSLA=a;function l(y){const D=y.toString(16);return D.length!==2?\"0\"+D:D}function u(y){return`#${l(y.rgba.r)}${l(y.rgba.g)}${l(y.rgba.b)}`}t.formatHex=u;function d(y,D=!1){return D&&y.rgba.a===1?o.Format.CSS.formatHex(y):`#${l(y.rgba.r)}${l(y.rgba.g)}${l(y.rgba.b)}${l(Math.round(y.rgba.a*255))}`}t.formatHexA=d;function h(y){return y.isOpaque()?o.Format.CSS.formatHex(y):o.Format.CSS.formatRGBA(y)}t.format=h;function p(y){const D=y.length;if(D===0||y.charCodeAt(0)!==35)return null;if(D===7){const T=16*g(y.charCodeAt(1))+g(y.charCodeAt(2)),k=16*g(y.charCodeAt(3))+g(y.charCodeAt(4)),I=16*g(y.charCodeAt(5))+g(y.charCodeAt(6));return new o(new Ml(T,k,I,1))}if(D===9){const T=16*g(y.charCodeAt(1))+g(y.charCodeAt(2)),k=16*g(y.charCodeAt(3))+g(y.charCodeAt(4)),I=16*g(y.charCodeAt(5))+g(y.charCodeAt(6)),F=16*g(y.charCodeAt(7))+g(y.charCodeAt(8));return new o(new Ml(T,k,I,F/255))}if(D===4){const T=g(y.charCodeAt(1)),k=g(y.charCodeAt(2)),I=g(y.charCodeAt(3));return new o(new Ml(16*T+T,16*k+k,16*I+I))}if(D===5){const T=g(y.charCodeAt(1)),k=g(y.charCodeAt(2)),I=g(y.charCodeAt(3)),F=g(y.charCodeAt(4));return new o(new Ml(16*T+T,16*k+k,16*I+I,(16*F+F)/255))}return null}t.parseHex=p;function g(y){switch(y){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={}))})(o.Format||(o.Format={}))})(Xi||(Xi={}));const VP={JSONContribution:\"base.contributions.json\"};function wLe(o){return o.length>0&&o.charAt(o.length-1)===\"#\"?o.substring(0,o.length-1):o}class SLe{constructor(){this._onDidChangeSchema=new ri,this.schemasById={}}registerSchema(e,t){this.schemasById[wLe(e)]=t,this._onDidChangeSchema.fire(e)}notifySchemaChanged(e){this._onDidChangeSchema.fire(e)}}const xLe=new SLe;wd.add(VP.JSONContribution,xLe);function ace(o){return`--vscode-${o.replace(/\\./g,\"-\")}`}const lce={ColorContribution:\"base.contributions.colors\"};class ELe{constructor(){this._onDidChangeSchema=new ri,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:\"object\",properties:{}},this.colorReferenceSchema={type:\"string\",enum:[],enumDescriptions:[]},this.colorsById={}}registerColor(e,t,n,i=!1,s){let a={id:e,description:n,defaults:t,needsTransparency:i,deprecationMessage:s};this.colorsById[e]=a;let l={type:\"string\",description:n,format:\"color-hex\",defaultSnippets:[{body:\"${1:#ff0000}\"}]};return s&&(l.deprecationMessage=s),this.colorSchema.properties[e]=l,this.colorReferenceSchema.enum.push(e),this.colorReferenceSchema.enumDescriptions.push(n),this._onDidChangeSchema.fire(),e}getColors(){return Object.keys(this.colorsById).map(e=>this.colorsById[e])}resolveDefaultColor(e,t){const n=this.colorsById[e];if(n&&n.defaults){const i=n.defaults[t.type];return Jy(i,t)}}getColorSchema(){return this.colorSchema}toString(){let e=(t,n)=>{let i=t.indexOf(\".\")===-1?0:1,s=n.indexOf(\".\")===-1?0:1;return i!==s?i-s:t.localeCompare(n)};return Object.keys(this.colorsById).sort(e).map(t=>`- \\`${t}\\`: ${this.colorsById[t].description}`).join(`\n`)}}const HP=new ELe;wd.add(lce.ColorContribution,HP);function ln(o,e,t,n,i){return HP.registerColor(o,e,t,n,i)}const wo=ln(\"foreground\",{dark:\"#CCCCCC\",light:\"#616161\",hc:\"#FFFFFF\"},w(\"foreground\",\"Overall foreground color. This color is only used if not overridden by a component.\")),TLe=ln(\"errorForeground\",{dark:\"#F48771\",light:\"#A1260D\",hc:\"#F48771\"},w(\"errorForeground\",\"Overall foreground color for error messages. This color is only used if not overridden by a component.\"));ln(\"descriptionForeground\",{light:\"#717171\",dark:Ra(wo,.7),hc:Ra(wo,.7)},w(\"descriptionForeground\",\"Foreground color for description text providing additional information, for example for a label.\"));const dV=ln(\"icon.foreground\",{dark:\"#C5C5C5\",light:\"#424242\",hc:\"#FFFFFF\"},w(\"iconForeground\",\"The default color for icons in the workbench.\")),$1=ln(\"focusBorder\",{dark:\"#007FD4\",light:\"#0090F1\",hc:\"#F38518\"},w(\"focusBorder\",\"Overall border color for focused elements. This color is only used if not overridden by a component.\")),Sc=ln(\"contrastBorder\",{light:null,dark:null,hc:\"#6FC3DF\"},w(\"contrastBorder\",\"An extra border around elements to separate them from others for greater contrast.\")),Bp=ln(\"contrastActiveBorder\",{light:null,dark:null,hc:$1},w(\"activeContrastBorder\",\"An extra border around active elements to separate them from others for greater contrast.\"));ln(\"selection.background\",{light:null,dark:null,hc:null},w(\"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.\"));ln(\"textSeparator.foreground\",{light:\"#0000002e\",dark:\"#ffffff2e\",hc:Xi.black},w(\"textSeparatorForeground\",\"Color for text separators.\"));const $P=ln(\"textLink.foreground\",{light:\"#006AB1\",dark:\"#3794FF\",hc:\"#3794FF\"},w(\"textLinkForeground\",\"Foreground color for links in text.\")),zP=ln(\"textLink.activeForeground\",{light:\"#006AB1\",dark:\"#3794FF\",hc:\"#3794FF\"},w(\"textLinkActiveForeground\",\"Foreground color for links in text when clicked on and on mouse hover.\"));ln(\"textPreformat.foreground\",{light:\"#A31515\",dark:\"#D7BA7D\",hc:\"#D7BA7D\"},w(\"textPreformatForeground\",\"Foreground color for preformatted text segments.\"));ln(\"textBlockQuote.background\",{light:\"#7f7f7f1a\",dark:\"#7f7f7f1a\",hc:null},w(\"textBlockQuoteBackground\",\"Background color for block quotes in text.\"));ln(\"textBlockQuote.border\",{light:\"#007acc80\",dark:\"#007acc80\",hc:Xi.white},w(\"textBlockQuoteBorder\",\"Border color for block quotes in text.\"));const uce=ln(\"textCodeBlock.background\",{light:\"#dcdcdc66\",dark:\"#0a0a0a66\",hc:Xi.black},w(\"textCodeBlockBackground\",\"Background color for code blocks in text.\")),rC=ln(\"widget.shadow\",{dark:Ra(Xi.black,.36),light:Ra(Xi.black,.16),hc:null},w(\"widgetShadow\",\"Shadow color of widgets such as find/replace inside the editor.\")),pG=ln(\"input.background\",{dark:\"#3C3C3C\",light:Xi.white,hc:Xi.black},w(\"inputBoxBackground\",\"Input box background.\")),fG=ln(\"input.foreground\",{dark:wo,light:wo,hc:wo},w(\"inputBoxForeground\",\"Input box foreground.\")),_G=ln(\"input.border\",{dark:null,light:null,hc:Sc},w(\"inputBoxBorder\",\"Input box border.\")),Cz=ln(\"inputOption.activeBorder\",{dark:\"#007ACC00\",light:\"#007ACC00\",hc:Sc},w(\"inputBoxActiveOptionBorder\",\"Border color of activated options in input fields.\"));ln(\"inputOption.hoverBackground\",{dark:\"#5a5d5e80\",light:\"#b8b8b850\",hc:null},w(\"inputOption.hoverBackground\",\"Background color of activated options in input fields.\"));const Dz=ln(\"inputOption.activeBackground\",{dark:Ra($1,.4),light:Ra($1,.2),hc:Xi.transparent},w(\"inputOption.activeBackground\",\"Background hover color of options in input fields.\")),wz=ln(\"inputOption.activeForeground\",{dark:Xi.white,light:Xi.black,hc:null},w(\"inputOption.activeForeground\",\"Foreground color of activated options in input fields.\"));ln(\"input.placeholderForeground\",{light:Ra(wo,.5),dark:Ra(wo,.5),hc:Ra(wo,.7)},w(\"inputPlaceholderForeground\",\"Input box foreground color for placeholder text.\"));const cce=ln(\"inputValidation.infoBackground\",{dark:\"#063B49\",light:\"#D6ECF2\",hc:Xi.black},w(\"inputValidationInfoBackground\",\"Input validation background color for information severity.\")),dce=ln(\"inputValidation.infoForeground\",{dark:null,light:null,hc:null},w(\"inputValidationInfoForeground\",\"Input validation foreground color for information severity.\")),hce=ln(\"inputValidation.infoBorder\",{dark:\"#007acc\",light:\"#007acc\",hc:Sc},w(\"inputValidationInfoBorder\",\"Input validation border color for information severity.\")),pce=ln(\"inputValidation.warningBackground\",{dark:\"#352A05\",light:\"#F6F5D2\",hc:Xi.black},w(\"inputValidationWarningBackground\",\"Input validation background color for warning severity.\")),fce=ln(\"inputValidation.warningForeground\",{dark:null,light:null,hc:null},w(\"inputValidationWarningForeground\",\"Input validation foreground color for warning severity.\")),_ce=ln(\"inputValidation.warningBorder\",{dark:\"#B89500\",light:\"#B89500\",hc:Sc},w(\"inputValidationWarningBorder\",\"Input validation border color for warning severity.\")),gce=ln(\"inputValidation.errorBackground\",{dark:\"#5A1D1D\",light:\"#F2DEDE\",hc:Xi.black},w(\"inputValidationErrorBackground\",\"Input validation background color for error severity.\")),mce=ln(\"inputValidation.errorForeground\",{dark:null,light:null,hc:null},w(\"inputValidationErrorForeground\",\"Input validation foreground color for error severity.\")),yce=ln(\"inputValidation.errorBorder\",{dark:\"#BE1100\",light:\"#BE1100\",hc:Sc},w(\"inputValidationErrorBorder\",\"Input validation border color for error severity.\")),aD=ln(\"dropdown.background\",{dark:\"#3C3C3C\",light:Xi.white,hc:Xi.black},w(\"dropdownBackground\",\"Dropdown background.\"));ln(\"dropdown.listBackground\",{dark:null,light:null,hc:Xi.black},w(\"dropdownListBackground\",\"Dropdown list background.\"));const o3=ln(\"dropdown.foreground\",{dark:\"#F0F0F0\",light:null,hc:Xi.white},w(\"dropdownForeground\",\"Dropdown foreground.\")),hV=ln(\"dropdown.border\",{dark:aD,light:\"#CECECE\",hc:Sc},w(\"dropdownBorder\",\"Dropdown border.\"));ln(\"checkbox.background\",{dark:aD,light:aD,hc:aD},w(\"checkbox.background\",\"Background color of checkbox widget.\"));ln(\"checkbox.foreground\",{dark:o3,light:o3,hc:o3},w(\"checkbox.foreground\",\"Foreground color of checkbox widget.\"));ln(\"checkbox.border\",{dark:hV,light:hV,hc:hV},w(\"checkbox.border\",\"Border color of checkbox widget.\"));const ALe=ln(\"button.foreground\",{dark:Xi.white,light:Xi.white,hc:Xi.white},w(\"buttonForeground\",\"Button foreground color.\")),Sz=ln(\"button.background\",{dark:\"#0E639C\",light:\"#007ACC\",hc:null},w(\"buttonBackground\",\"Button background color.\")),kLe=ln(\"button.hoverBackground\",{dark:sC(Sz,.2),light:UE(Sz,.2),hc:null},w(\"buttonHoverBackground\",\"Button background color when hovering.\"));ln(\"button.border\",{dark:Sc,light:Sc,hc:Sc},w(\"buttonBorder\",\"Button border color.\"));ln(\"button.secondaryForeground\",{dark:Xi.white,light:Xi.white,hc:Xi.white},w(\"buttonSecondaryForeground\",\"Secondary button foreground color.\"));const Tre=ln(\"button.secondaryBackground\",{dark:\"#3A3D41\",light:\"#5F6A79\",hc:null},w(\"buttonSecondaryBackground\",\"Secondary button background color.\"));ln(\"button.secondaryHoverBackground\",{dark:sC(Tre,.2),light:UE(Tre,.2),hc:null},w(\"buttonSecondaryHoverBackground\",\"Secondary button background color when hovering.\"));const a3=ln(\"badge.background\",{dark:\"#4D4D4D\",light:\"#C4C4C4\",hc:Xi.black},w(\"badgeBackground\",\"Badge background color. Badges are small information labels, e.g. for search results count.\")),l3=ln(\"badge.foreground\",{dark:Xi.white,light:\"#333\",hc:Xi.white},w(\"badgeForeground\",\"Badge foreground color. Badges are small information labels, e.g. for search results count.\")),zE=ln(\"scrollbar.shadow\",{dark:\"#000000\",light:\"#DDDDDD\",hc:null},w(\"scrollbarShadow\",\"Scrollbar shadow to indicate that the view is scrolled.\")),Rx=ln(\"scrollbarSlider.background\",{dark:Xi.fromHex(\"#797979\").transparent(.4),light:Xi.fromHex(\"#646464\").transparent(.4),hc:Ra(Sc,.6)},w(\"scrollbarSliderBackground\",\"Scrollbar slider background color.\")),Bx=ln(\"scrollbarSlider.hoverBackground\",{dark:Xi.fromHex(\"#646464\").transparent(.7),light:Xi.fromHex(\"#646464\").transparent(.7),hc:Ra(Sc,.8)},w(\"scrollbarSliderHoverBackground\",\"Scrollbar slider background color when hovering.\")),jx=ln(\"scrollbarSlider.activeBackground\",{dark:Xi.fromHex(\"#BFBFBF\").transparent(.4),light:Xi.fromHex(\"#000000\").transparent(.6),hc:Sc},w(\"scrollbarSliderActiveBackground\",\"Scrollbar slider background color when clicked on.\")),LLe=ln(\"progressBar.background\",{dark:Xi.fromHex(\"#0E70C0\"),light:Xi.fromHex(\"#0E70C0\"),hc:Sc},w(\"progressBarBackground\",\"Background color of the progress bar that can show for long running operations.\")),NLe=ln(\"editorError.background\",{dark:null,light:null,hc:null},w(\"editorError.background\",\"Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations.\"),!0),Vv=ln(\"editorError.foreground\",{dark:\"#F14C4C\",light:\"#E51400\",hc:null},w(\"editorError.foreground\",\"Foreground color of error squigglies in the editor.\")),bce=ln(\"editorError.border\",{dark:null,light:null,hc:Xi.fromHex(\"#E47777\").transparent(.8)},w(\"errorBorder\",\"Border color of error boxes in the editor.\")),ILe=ln(\"editorWarning.background\",{dark:null,light:null,hc:null},w(\"editorWarning.background\",\"Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations.\"),!0),Sm=ln(\"editorWarning.foreground\",{dark:\"#CCA700\",light:\"#BF8803\",hc:null},w(\"editorWarning.foreground\",\"Foreground color of warning squigglies in the editor.\")),UP=ln(\"editorWarning.border\",{dark:null,light:null,hc:Xi.fromHex(\"#FFCC00\").transparent(.8)},w(\"warningBorder\",\"Border color of warning boxes in the editor.\")),FLe=ln(\"editorInfo.background\",{dark:null,light:null,hc:null},w(\"editorInfo.background\",\"Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations.\"),!0),G_=ln(\"editorInfo.foreground\",{dark:\"#3794FF\",light:\"#1a85ff\",hc:\"#3794FF\"},w(\"editorInfo.foreground\",\"Foreground color of info squigglies in the editor.\")),gG=ln(\"editorInfo.border\",{dark:null,light:null,hc:Xi.fromHex(\"#3794FF\").transparent(.8)},w(\"infoBorder\",\"Border color of info boxes in the editor.\")),PLe=ln(\"editorHint.foreground\",{dark:Xi.fromHex(\"#eeeeee\").transparent(.7),light:\"#6c6c6c\",hc:null},w(\"editorHint.foreground\",\"Foreground color of hint squigglies in the editor.\")),OLe=ln(\"editorHint.border\",{dark:null,light:null,hc:Xi.fromHex(\"#eeeeee\").transparent(.8)},w(\"hintBorder\",\"Border color of hint boxes in the editor.\"));ln(\"sash.hoverBorder\",{dark:$1,light:$1,hc:$1},w(\"sashActiveBorder\",\"Border color of active sashes.\"));const Rf=ln(\"editor.background\",{light:\"#fffffe\",dark:\"#1E1E1E\",hc:Xi.black},w(\"editorBackground\",\"Editor background color.\")),Hv=ln(\"editor.foreground\",{light:\"#333333\",dark:\"#BBBBBB\",hc:Xi.white},w(\"editorForeground\",\"Editor default foreground color.\")),ff=ln(\"editorWidget.background\",{dark:\"#252526\",light:\"#F3F3F3\",hc:\"#0C141F\"},w(\"editorWidgetBackground\",\"Background color of editor widgets, such as find/replace.\")),bb=ln(\"editorWidget.foreground\",{dark:wo,light:wo,hc:wo},w(\"editorWidgetForeground\",\"Foreground color of editor widgets, such as find/replace.\")),lD=ln(\"editorWidget.border\",{dark:\"#454545\",light:\"#C8C8C8\",hc:Sc},w(\"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.\")),MLe=ln(\"editorWidget.resizeBorder\",{light:null,dark:null,hc:null},w(\"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.\")),Are=ln(\"quickInput.background\",{dark:ff,light:ff,hc:ff},w(\"pickerBackground\",\"Quick picker background color. The quick picker widget is the container for pickers like the command palette.\")),RLe=ln(\"quickInput.foreground\",{dark:bb,light:bb,hc:bb},w(\"pickerForeground\",\"Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.\")),BLe=ln(\"quickInputTitle.background\",{dark:new Xi(new Ml(255,255,255,.105)),light:new Xi(new Ml(0,0,0,.06)),hc:\"#000000\"},w(\"pickerTitleBackground\",\"Quick picker title background color. The quick picker widget is the container for pickers like the command palette.\")),jLe=ln(\"pickerGroup.foreground\",{dark:\"#3794FF\",light:\"#0066BF\",hc:Xi.white},w(\"pickerGroupForeground\",\"Quick picker color for grouping labels.\")),WLe=ln(\"pickerGroup.border\",{dark:\"#3F3F46\",light:\"#CCCEDB\",hc:Xi.white},w(\"pickerGroupBorder\",\"Quick picker color for grouping borders.\")),VLe=ln(\"keybindingLabel.background\",{dark:new Xi(new Ml(128,128,128,.17)),light:new Xi(new Ml(221,221,221,.4)),hc:Xi.transparent},w(\"keybindingLabelBackground\",\"Keybinding label background color. The keybinding label is used to represent a keyboard shortcut.\")),HLe=ln(\"keybindingLabel.foreground\",{dark:Xi.fromHex(\"#CCCCCC\"),light:Xi.fromHex(\"#555555\"),hc:Xi.white},w(\"keybindingLabelForeground\",\"Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut.\")),$Le=ln(\"keybindingLabel.border\",{dark:new Xi(new Ml(51,51,51,.6)),light:new Xi(new Ml(204,204,204,.4)),hc:new Xi(new Ml(111,195,223))},w(\"keybindingLabelBorder\",\"Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.\")),zLe=ln(\"keybindingLabel.bottomBorder\",{dark:new Xi(new Ml(68,68,68,.6)),light:new Xi(new Ml(187,187,187,.4)),hc:new Xi(new Ml(111,195,223))},w(\"keybindingLabelBottomBorder\",\"Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut.\")),$v=ln(\"editor.selectionBackground\",{light:\"#ADD6FF\",dark:\"#264F78\",hc:\"#f3f518\"},w(\"editorSelectionBackground\",\"Color of the editor selection.\")),ULe=ln(\"editor.selectionForeground\",{light:null,dark:null,hc:\"#000000\"},w(\"editorSelectionForeground\",\"Color of the selected text for high contrast.\")),mG=ln(\"editor.inactiveSelectionBackground\",{light:Ra($v,.5),dark:Ra($v,.5),hc:Ra($v,.5)},w(\"editorInactiveSelection\",\"Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations.\"),!0),yG=ln(\"editor.selectionHighlightBackground\",{light:Pre($v,Rf,.3,.6),dark:Pre($v,Rf,.3,.6),hc:null},w(\"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),KLe=ln(\"editor.selectionHighlightBorder\",{light:null,dark:null,hc:Bp},w(\"editorSelectionHighlightBorder\",\"Border color for regions with the same content as the selection.\")),qLe=ln(\"editor.findMatchBackground\",{light:\"#A8AC94\",dark:\"#515C6A\",hc:null},w(\"editorFindMatch\",\"Color of the current search match.\")),zv=ln(\"editor.findMatchHighlightBackground\",{light:\"#EA5C0055\",dark:\"#EA5C0055\",hc:null},w(\"findMatchHighlight\",\"Color of the other search matches. The color must not be opaque so as not to hide underlying decorations.\"),!0),GLe=ln(\"editor.findRangeHighlightBackground\",{dark:\"#3a3d4166\",light:\"#b4b4b44d\",hc:null},w(\"findRangeHighlight\",\"Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations.\"),!0),JLe=ln(\"editor.findMatchBorder\",{light:null,dark:null,hc:Bp},w(\"editorFindMatchBorder\",\"Border color of the current search match.\")),Wx=ln(\"editor.findMatchHighlightBorder\",{light:null,dark:null,hc:Bp},w(\"findMatchHighlightBorder\",\"Border color of the other search matches.\")),YLe=ln(\"editor.findRangeHighlightBorder\",{dark:null,light:null,hc:Ra(Bp,.4)},w(\"findRangeHighlightBorder\",\"Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations.\"),!0);ln(\"searchEditor.findMatchBackground\",{light:Ra(zv,.66),dark:Ra(zv,.66),hc:zv},w(\"searchEditor.queryMatch\",\"Color of the Search Editor query matches.\"));ln(\"searchEditor.findMatchBorder\",{light:Ra(Wx,.66),dark:Ra(Wx,.66),hc:Wx},w(\"searchEditor.editorFindMatchBorder\",\"Border color of the Search Editor query matches.\"));const XLe=ln(\"editor.hoverHighlightBackground\",{light:\"#ADD6FF26\",dark:\"#264f7840\",hc:\"#ADD6FF26\"},w(\"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),kD=ln(\"editorHoverWidget.background\",{light:ff,dark:ff,hc:ff},w(\"hoverBackground\",\"Background color of the editor hover.\")),bG=ln(\"editorHoverWidget.foreground\",{light:bb,dark:bb,hc:bb},w(\"hoverForeground\",\"Foreground color of the editor hover.\")),vG=ln(\"editorHoverWidget.border\",{light:lD,dark:lD,hc:lD},w(\"hoverBorder\",\"Border color of the editor hover.\")),QLe=ln(\"editorHoverWidget.statusBarBackground\",{dark:sC(kD,.2),light:UE(kD,.05),hc:ff},w(\"statusBarBackground\",\"Background color of the editor hover status bar.\")),CG=ln(\"editorLink.activeForeground\",{dark:\"#4E94CE\",light:Xi.blue,hc:Xi.cyan},w(\"activeLinkForeground\",\"Color of active links.\")),uD=ln(\"editorInlayHint.foreground\",{dark:Ra(l3,.8),light:Ra(l3,.8),hc:l3},w(\"editorInlayHintForeground\",\"Foreground color of inline hints\")),cD=ln(\"editorInlayHint.background\",{dark:Ra(a3,.6),light:Ra(a3,.3),hc:a3},w(\"editorInlayHintBackground\",\"Background color of inline hints\")),ZLe=ln(\"editorInlayHint.typeForeground\",{dark:uD,light:uD,hc:uD},w(\"editorInlayHintForegroundTypes\",\"Foreground color of inline hints for types\")),e4e=ln(\"editorInlayHint.typeBackground\",{dark:cD,light:cD,hc:cD},w(\"editorInlayHintBackgroundTypes\",\"Background color of inline hints for types\")),t4e=ln(\"editorInlayHint.parameterForeground\",{dark:uD,light:uD,hc:uD},w(\"editorInlayHintForegroundParameter\",\"Foreground color of inline hints for parameters\")),n4e=ln(\"editorInlayHint.parameterBackground\",{dark:cD,light:cD,hc:cD},w(\"editorInlayHintBackgroundParameter\",\"Background color of inline hints for parameters\")),i4e=ln(\"editorLightBulb.foreground\",{dark:\"#FFCC00\",light:\"#DDB100\",hc:\"#FFCC00\"},w(\"editorLightBulbForeground\",\"The color used for the lightbulb actions icon.\")),r4e=ln(\"editorLightBulbAutoFix.foreground\",{dark:\"#75BEFF\",light:\"#007ACC\",hc:\"#75BEFF\"},w(\"editorLightBulbAutoFixForeground\",\"The color used for the lightbulb auto fix actions icon.\")),xz=new Xi(new Ml(155,185,85,.2)),Ez=new Xi(new Ml(255,0,0,.2)),vce=ln(\"diffEditor.insertedTextBackground\",{dark:xz,light:xz,hc:null},w(\"diffEditorInserted\",\"Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations.\"),!0),Cce=ln(\"diffEditor.removedTextBackground\",{dark:Ez,light:Ez,hc:null},w(\"diffEditorRemoved\",\"Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations.\"),!0),s4e=ln(\"diffEditor.insertedLineBackground\",{dark:null,light:null,hc:null},w(\"diffEditorInsertedLines\",\"Background color for lines that got inserted. The color must not be opaque so as not to hide underlying decorations.\"),!0),o4e=ln(\"diffEditor.removedLineBackground\",{dark:null,light:null,hc:null},w(\"diffEditorRemovedLines\",\"Background color for lines that got removed. The color must not be opaque so as not to hide underlying decorations.\"),!0),a4e=ln(\"diffEditorGutter.insertedLineBackground\",{dark:null,light:null,hc:null},w(\"diffEditorInsertedLineGutter\",\"Background color for the margin where lines got inserted.\")),l4e=ln(\"diffEditorGutter.removedLineBackground\",{dark:null,light:null,hc:null},w(\"diffEditorRemovedLineGutter\",\"Background color for the margin where lines got removed.\")),u4e=ln(\"diffEditorOverview.insertedForeground\",{dark:null,light:null,hc:null},w(\"diffEditorOverviewInserted\",\"Diff overview ruler foreground for inserted content.\")),c4e=ln(\"diffEditorOverview.removedForeground\",{dark:null,light:null,hc:null},w(\"diffEditorOverviewRemoved\",\"Diff overview ruler foreground for removed content.\")),d4e=ln(\"diffEditor.insertedTextBorder\",{dark:null,light:null,hc:\"#33ff2eff\"},w(\"diffEditorInsertedOutline\",\"Outline color for the text that got inserted.\")),h4e=ln(\"diffEditor.removedTextBorder\",{dark:null,light:null,hc:\"#FF008F\"},w(\"diffEditorRemovedOutline\",\"Outline color for text that got removed.\")),p4e=ln(\"diffEditor.border\",{dark:null,light:null,hc:Sc},w(\"diffEditorBorder\",\"Border color between the two text editors.\")),f4e=ln(\"diffEditor.diagonalFill\",{dark:\"#cccccc33\",light:\"#22222233\",hc:null},w(\"diffDiagonalFill\",\"Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views.\")),_4e=ln(\"list.focusBackground\",{dark:null,light:null,hc:null},w(\"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.\")),g4e=ln(\"list.focusForeground\",{dark:null,light:null,hc:null},w(\"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.\")),m4e=ln(\"list.focusOutline\",{dark:$1,light:$1,hc:Bp},w(\"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.\")),Uv=ln(\"list.activeSelectionBackground\",{dark:\"#094771\",light:\"#0060C0\",hc:null},w(\"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.\")),Kv=ln(\"list.activeSelectionForeground\",{dark:Xi.white,light:Xi.white,hc:null},w(\"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.\")),n8=ln(\"list.activeSelectionIconForeground\",{dark:null,light:null,hc:null},w(\"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.\")),y4e=ln(\"list.inactiveSelectionBackground\",{dark:\"#37373D\",light:\"#E4E6F1\",hc:null},w(\"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.\")),b4e=ln(\"list.inactiveSelectionForeground\",{dark:null,light:null,hc:null},w(\"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.\")),v4e=ln(\"list.inactiveSelectionIconForeground\",{dark:null,light:null,hc:null},w(\"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.\")),C4e=ln(\"list.inactiveFocusBackground\",{dark:null,light:null,hc:null},w(\"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.\")),D4e=ln(\"list.inactiveFocusOutline\",{dark:null,light:null,hc:null},w(\"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.\")),w4e=ln(\"list.hoverBackground\",{dark:\"#2A2D2E\",light:\"#F0F0F0\",hc:null},w(\"listHoverBackground\",\"List/Tree background when hovering over items using the mouse.\")),S4e=ln(\"list.hoverForeground\",{dark:null,light:null,hc:null},w(\"listHoverForeground\",\"List/Tree foreground when hovering over items using the mouse.\")),x4e=ln(\"list.dropBackground\",{dark:\"#062F4A\",light:\"#D6EBFF\",hc:null},w(\"listDropBackground\",\"List/Tree drag and drop background when moving items around using the mouse.\")),vb=ln(\"list.highlightForeground\",{dark:\"#18A3FF\",light:\"#0066BF\",hc:$1},w(\"highlight\",\"List/Tree foreground color of the match highlights when searching inside the list/tree.\")),pV=ln(\"list.focusHighlightForeground\",{dark:vb,light:Y4e(Uv,vb,\"#9DDDFF\"),hc:vb},w(\"listFocusHighlightForeground\",\"List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree.\"));ln(\"list.invalidItemForeground\",{dark:\"#B89500\",light:\"#B89500\",hc:\"#B89500\"},w(\"invalidItemForeground\",\"List/Tree foreground color for invalid items, for example an unresolved root in explorer.\"));ln(\"list.errorForeground\",{dark:\"#F88070\",light:\"#B01011\",hc:null},w(\"listErrorForeground\",\"Foreground color of list items containing errors.\"));ln(\"list.warningForeground\",{dark:\"#CCA700\",light:\"#855F00\",hc:null},w(\"listWarningForeground\",\"Foreground color of list items containing warnings.\"));const E4e=ln(\"listFilterWidget.background\",{light:\"#efc1ad\",dark:\"#653723\",hc:Xi.black},w(\"listFilterWidgetBackground\",\"Background color of the type filter widget in lists and trees.\")),T4e=ln(\"listFilterWidget.outline\",{dark:Xi.transparent,light:Xi.transparent,hc:\"#f38518\"},w(\"listFilterWidgetOutline\",\"Outline color of the type filter widget in lists and trees.\")),A4e=ln(\"listFilterWidget.noMatchesOutline\",{dark:\"#BE1100\",light:\"#BE1100\",hc:Sc},w(\"listFilterWidgetNoMatchesOutline\",\"Outline color of the type filter widget in lists and trees, when there are no matches.\"));ln(\"list.filterMatchBackground\",{dark:zv,light:zv,hc:null},w(\"listFilterMatchHighlight\",\"Background color of the filtered match.\"));ln(\"list.filterMatchBorder\",{dark:Wx,light:Wx,hc:Sc},w(\"listFilterMatchHighlightBorder\",\"Border color of the filtered match.\"));const k4e=ln(\"tree.indentGuidesStroke\",{dark:\"#585858\",light:\"#a9a9a9\",hc:\"#a9a9a9\"},w(\"treeIndentGuidesStroke\",\"Tree stroke color for the indentation guides.\")),L4e=ln(\"tree.tableColumnsBorder\",{dark:\"#CCCCCC20\",light:\"#61616120\",hc:null},w(\"tableColumnsBorder\",\"Table border color between columns.\")),N4e=ln(\"tree.tableOddRowsBackground\",{dark:Ra(wo,.04),light:Ra(wo,.04),hc:null},w(\"tableOddRowsBackgroundColor\",\"Background color for odd table rows.\"));ln(\"list.deemphasizedForeground\",{dark:\"#8C8C8C\",light:\"#8E8E90\",hc:\"#A7A8A9\"},w(\"listDeemphasizedForeground\",\"List/Tree foreground color for items that are deemphasized. \"));const kre=ln(\"quickInput.list.focusBackground\",{dark:null,light:null,hc:null},\"\",void 0,w(\"quickInput.list.focusBackground deprecation\",\"Please use quickInputList.focusBackground instead\")),i8=ln(\"quickInputList.focusForeground\",{dark:Kv,light:Kv,hc:Kv},w(\"quickInput.listFocusForeground\",\"Quick picker foreground color for the focused item.\")),r8=ln(\"quickInputList.focusIconForeground\",{dark:n8,light:n8,hc:n8},w(\"quickInput.listFocusIconForeground\",\"Quick picker icon foreground color for the focused item.\")),s8=ln(\"quickInputList.focusBackground\",{dark:G3(kre,Uv),light:G3(kre,Uv),hc:null},w(\"quickInput.listFocusBackground\",\"Quick picker background color for the focused item.\")),I4e=ln(\"menu.border\",{dark:null,light:null,hc:Sc},w(\"menuBorder\",\"Border color of menus.\")),F4e=ln(\"menu.foreground\",{dark:o3,light:wo,hc:o3},w(\"menuForeground\",\"Foreground color of menu items.\")),P4e=ln(\"menu.background\",{dark:aD,light:aD,hc:aD},w(\"menuBackground\",\"Background color of menu items.\")),O4e=ln(\"menu.selectionForeground\",{dark:Kv,light:Kv,hc:Kv},w(\"menuSelectionForeground\",\"Foreground color of the selected menu item in menus.\")),M4e=ln(\"menu.selectionBackground\",{dark:Uv,light:Uv,hc:Uv},w(\"menuSelectionBackground\",\"Background color of the selected menu item in menus.\")),R4e=ln(\"menu.selectionBorder\",{dark:null,light:null,hc:Bp},w(\"menuSelectionBorder\",\"Border color of the selected menu item in menus.\")),B4e=ln(\"menu.separatorBackground\",{dark:\"#BBBBBB\",light:\"#888888\",hc:Sc},w(\"menuSeparatorBackground\",\"Color of a separator menu item in menus.\")),Tz=ln(\"toolbar.hoverBackground\",{dark:\"#5a5d5e50\",light:\"#b8b8b850\",hc:null},w(\"toolbarHoverBackground\",\"Toolbar background when hovering over actions using the mouse\"));ln(\"toolbar.hoverOutline\",{dark:null,light:null,hc:Bp},w(\"toolbarHoverOutline\",\"Toolbar outline when hovering over actions using the mouse\"));ln(\"toolbar.activeBackground\",{dark:sC(Tz,.1),light:UE(Tz,.1),hc:null},w(\"toolbarActiveBackground\",\"Toolbar background when holding the mouse over actions\"));ln(\"editor.snippetTabstopHighlightBackground\",{dark:new Xi(new Ml(124,124,124,.3)),light:new Xi(new Ml(10,50,100,.2)),hc:new Xi(new Ml(124,124,124,.3))},w(\"snippetTabstopHighlightBackground\",\"Highlight background color of a snippet tabstop.\"));ln(\"editor.snippetTabstopHighlightBorder\",{dark:null,light:null,hc:null},w(\"snippetTabstopHighlightBorder\",\"Highlight border color of a snippet tabstop.\"));ln(\"editor.snippetFinalTabstopHighlightBackground\",{dark:null,light:null,hc:null},w(\"snippetFinalTabstopHighlightBackground\",\"Highlight background color of the final tabstop of a snippet.\"));ln(\"editor.snippetFinalTabstopHighlightBorder\",{dark:\"#525252\",light:new Xi(new Ml(10,50,100,.5)),hc:\"#525252\"},w(\"snippetFinalTabstopHighlightBorder\",\"Highlight border color of the final tabstop of a snippet.\"));ln(\"breadcrumb.foreground\",{light:Ra(wo,.8),dark:Ra(wo,.8),hc:Ra(wo,.8)},w(\"breadcrumbsFocusForeground\",\"Color of focused breadcrumb items.\"));ln(\"breadcrumb.background\",{light:Rf,dark:Rf,hc:Rf},w(\"breadcrumbsBackground\",\"Background color of breadcrumb items.\"));ln(\"breadcrumb.focusForeground\",{light:UE(wo,.2),dark:sC(wo,.1),hc:sC(wo,.1)},w(\"breadcrumbsFocusForeground\",\"Color of focused breadcrumb items.\"));ln(\"breadcrumb.activeSelectionForeground\",{light:UE(wo,.2),dark:sC(wo,.1),hc:sC(wo,.1)},w(\"breadcrumbsSelectedForegound\",\"Color of selected breadcrumb items.\"));ln(\"breadcrumbPicker.background\",{light:ff,dark:ff,hc:ff},w(\"breadcrumbsSelectedBackground\",\"Background color of breadcrumb item picker.\"));const Dce=.5,Lre=Xi.fromHex(\"#40C8AE\").transparent(Dce),Nre=Xi.fromHex(\"#40A6FF\").transparent(Dce),Ire=Xi.fromHex(\"#606060\").transparent(.4),Cb=.4,lE=1,u3=ln(\"merge.currentHeaderBackground\",{dark:Lre,light:Lre,hc:null},w(\"mergeCurrentHeaderBackground\",\"Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.\"),!0);ln(\"merge.currentContentBackground\",{dark:Ra(u3,Cb),light:Ra(u3,Cb),hc:Ra(u3,Cb)},w(\"mergeCurrentContentBackground\",\"Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.\"),!0);const c3=ln(\"merge.incomingHeaderBackground\",{dark:Nre,light:Nre,hc:null},w(\"mergeIncomingHeaderBackground\",\"Incoming header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.\"),!0);ln(\"merge.incomingContentBackground\",{dark:Ra(c3,Cb),light:Ra(c3,Cb),hc:Ra(c3,Cb)},w(\"mergeIncomingContentBackground\",\"Incoming content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.\"),!0);const d3=ln(\"merge.commonHeaderBackground\",{dark:Ire,light:Ire,hc:null},w(\"mergeCommonHeaderBackground\",\"Common ancestor header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.\"),!0);ln(\"merge.commonContentBackground\",{dark:Ra(d3,Cb),light:Ra(d3,Cb),hc:Ra(d3,Cb)},w(\"mergeCommonContentBackground\",\"Common ancestor content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.\"),!0);const DG=ln(\"merge.border\",{dark:null,light:null,hc:\"#C3DF6F\"},w(\"mergeBorder\",\"Border color on headers and the splitter in inline merge-conflicts.\"));ln(\"editorOverviewRuler.currentContentForeground\",{dark:Ra(u3,lE),light:Ra(u3,lE),hc:DG},w(\"overviewRulerCurrentContentForeground\",\"Current overview ruler foreground for inline merge-conflicts.\"));ln(\"editorOverviewRuler.incomingContentForeground\",{dark:Ra(c3,lE),light:Ra(c3,lE),hc:DG},w(\"overviewRulerIncomingContentForeground\",\"Incoming overview ruler foreground for inline merge-conflicts.\"));ln(\"editorOverviewRuler.commonContentForeground\",{dark:Ra(d3,lE),light:Ra(d3,lE),hc:DG},w(\"overviewRulerCommonContentForeground\",\"Common ancestor overview ruler foreground for inline merge-conflicts.\"));const wG=ln(\"editorOverviewRuler.findMatchForeground\",{dark:\"#d186167e\",light:\"#d186167e\",hc:\"#AB5A00\"},w(\"overviewRulerFindMatchForeground\",\"Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations.\"),!0),wce=ln(\"editorOverviewRuler.selectionHighlightForeground\",{dark:\"#A0A0A0CC\",light:\"#A0A0A0CC\",hc:\"#A0A0A0CC\"},w(\"overviewRulerSelectionHighlightForeground\",\"Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations.\"),!0),h3=ln(\"minimap.findMatchHighlight\",{light:\"#d18616\",dark:\"#d18616\",hc:\"#AB5A00\"},w(\"minimapFindMatchHighlight\",\"Minimap marker color for find matches.\"),!0),KP=ln(\"minimap.selectionOccurrenceHighlight\",{light:\"#c9c9c9\",dark:\"#676767\",hc:\"#ffffff\"},w(\"minimapSelectionOccurrenceHighlight\",\"Minimap marker color for repeating editor selections.\"),!0),Fre=ln(\"minimap.selectionHighlight\",{light:\"#ADD6FF\",dark:\"#264F78\",hc:\"#ffffff\"},w(\"minimapSelectionHighlight\",\"Minimap marker color for the editor selection.\"),!0),j4e=ln(\"minimap.errorHighlight\",{dark:new Xi(new Ml(255,18,18,.7)),light:new Xi(new Ml(255,18,18,.7)),hc:new Xi(new Ml(255,50,50,1))},w(\"minimapError\",\"Minimap marker color for errors.\")),W4e=ln(\"minimap.warningHighlight\",{dark:Sm,light:Sm,hc:UP},w(\"overviewRuleWarning\",\"Minimap marker color for warnings.\")),V4e=ln(\"minimap.background\",{dark:null,light:null,hc:null},w(\"minimapBackground\",\"Minimap background color.\")),H4e=ln(\"minimap.foregroundOpacity\",{dark:Xi.fromHex(\"#000f\"),light:Xi.fromHex(\"#000f\"),hc:Xi.fromHex(\"#000f\")},w(\"minimapForegroundOpacity\",'Opacity of foreground elements rendered in the minimap. For example, \"#000000c0\" will render the elements with 75% opacity.')),$4e=ln(\"minimapSlider.background\",{light:Ra(Rx,.5),dark:Ra(Rx,.5),hc:Ra(Rx,.5)},w(\"minimapSliderBackground\",\"Minimap slider background color.\")),z4e=ln(\"minimapSlider.hoverBackground\",{light:Ra(Bx,.5),dark:Ra(Bx,.5),hc:Ra(Bx,.5)},w(\"minimapSliderHoverBackground\",\"Minimap slider background color when hovering.\")),U4e=ln(\"minimapSlider.activeBackground\",{light:Ra(jx,.5),dark:Ra(jx,.5),hc:Ra(jx,.5)},w(\"minimapSliderActiveBackground\",\"Minimap slider background color when clicked on.\")),K4e=ln(\"problemsErrorIcon.foreground\",{dark:Vv,light:Vv,hc:Vv},w(\"problemsErrorIconForeground\",\"The color used for the problems error icon.\")),q4e=ln(\"problemsWarningIcon.foreground\",{dark:Sm,light:Sm,hc:Sm},w(\"problemsWarningIconForeground\",\"The color used for the problems warning icon.\")),G4e=ln(\"problemsInfoIcon.foreground\",{dark:G_,light:G_,hc:G_},w(\"problemsInfoIconForeground\",\"The color used for the problems info icon.\"));ln(\"charts.foreground\",{dark:wo,light:wo,hc:wo},w(\"chartsForeground\",\"The foreground color used in charts.\"));ln(\"charts.lines\",{dark:Ra(wo,.5),light:Ra(wo,.5),hc:Ra(wo,.5)},w(\"chartsLines\",\"The color used for horizontal lines in charts.\"));ln(\"charts.red\",{dark:Vv,light:Vv,hc:Vv},w(\"chartsRed\",\"The red color used in chart visualizations.\"));ln(\"charts.blue\",{dark:G_,light:G_,hc:G_},w(\"chartsBlue\",\"The blue color used in chart visualizations.\"));ln(\"charts.yellow\",{dark:Sm,light:Sm,hc:Sm},w(\"chartsYellow\",\"The yellow color used in chart visualizations.\"));ln(\"charts.orange\",{dark:h3,light:h3,hc:h3},w(\"chartsOrange\",\"The orange color used in chart visualizations.\"));ln(\"charts.green\",{dark:\"#89D185\",light:\"#388A34\",hc:\"#89D185\"},w(\"chartsGreen\",\"The green color used in chart visualizations.\"));ln(\"charts.purple\",{dark:\"#B180D7\",light:\"#652D90\",hc:\"#B180D7\"},w(\"chartsPurple\",\"The purple color used in chart visualizations.\"));function J4e(o,e){var t,n,i;switch(o.op){case 0:return(t=Jy(o.value,e))===null||t===void 0?void 0:t.darken(o.factor);case 1:return(n=Jy(o.value,e))===null||n===void 0?void 0:n.lighten(o.factor);case 2:return(i=Jy(o.value,e))===null||i===void 0?void 0:i.transparent(o.factor);case 3:for(const s of o.values){const a=Jy(s,e);if(a)return a}return;case 5:return Jy(e.defines(o.if)?o.then:o.else,e);case 4:{const s=Jy(o.value,e);if(!s)return;const a=Jy(o.background,e);return a?s.isDarkerThan(a)?Xi.getLighterColor(s,a,o.factor).transparent(o.transparency):Xi.getDarkerColor(s,a,o.factor).transparent(o.transparency):s.transparent(o.factor*o.transparency)}default:throw Dq()}}function UE(o,e){return{op:0,value:o,factor:e}}function sC(o,e){return{op:1,value:o,factor:e}}function Ra(o,e){return{op:2,value:o,factor:e}}function G3(...o){return{op:3,values:o}}function Y4e(o,e,t){return{op:5,if:o,then:e,else:t}}function Pre(o,e,t,n){return{op:4,value:o,background:e,factor:t,transparency:n}}function Jy(o,e){if(o!==null){if(typeof o==\"string\")return o[0]===\"#\"?Xi.fromHex(o):e.getColor(o);if(o instanceof Xi)return o;if(typeof o==\"object\")return J4e(o,e)}}const Sce=\"vscode://schemas/workbench-colors\";let xce=wd.as(VP.JSONContribution);xce.registerSchema(Sce,HP.getColorSchema());const Ore=new Bu(()=>xce.notifySchemaChanged(Sce),200);HP.onDidChangeSchema(()=>{Ore.isScheduled()||Ore.schedule()});class SG{constructor(e,t){this.x=e,this.y=t,this._pageCoordinatesBrand=void 0}toClientCoordinates(){return new Ece(this.x-mb.scrollX,this.y-mb.scrollY)}}class Ece{constructor(e,t){this.clientX=e,this.clientY=t,this._clientCoordinatesBrand=void 0}toPageCoordinates(){return new SG(this.clientX+mb.scrollX,this.clientY+mb.scrollY)}}class X4e{constructor(e,t,n,i){this.x=e,this.y=t,this.width=n,this.height=i,this._editorPagePositionBrand=void 0}}class Q4e{constructor(e,t){this.x=e,this.y=t,this._positionRelativeToEditorBrand=void 0}}function Tce(o){const e=Gh(o);return new X4e(e.left,e.top,e.width,e.height)}function Ace(o,e,t){const n=e.width/o.offsetWidth,i=e.height/o.offsetHeight,s=(t.x-e.x)/n,a=(t.y-e.y)/i;return new Q4e(s,a)}class LD extends Sg{constructor(e,t){super(e),this._editorMouseEventBrand=void 0,this.pos=new SG(this.posx,this.posy),this.editorPos=Tce(t),this.relativePos=Ace(t,this.editorPos,this.pos)}}class Z4e{constructor(e){this._editorViewDomNode=e}_create(e){return new LD(e,this._editorViewDomNode)}onContextMenu(e,t){return hs(e,\"contextmenu\",n=>{t(this._create(n))})}onMouseUp(e,t){return hs(e,\"mouseup\",n=>{t(this._create(n))})}onMouseDown(e,t){return hs(e,\"mousedown\",n=>{t(this._create(n))})}onMouseLeave(e,t){return sG(e,n=>{t(this._create(n))})}onMouseMoveThrottled(e,t,n,i){return oG(e,\"mousemove\",t,(a,l)=>n(a,this._create(l)),i)}}class eNe{constructor(e){this._editorViewDomNode=e}_create(e){return new LD(e,this._editorViewDomNode)}onPointerUp(e,t){return hs(e,\"pointerup\",n=>{t(this._create(n))})}onPointerDown(e,t){return hs(e,\"pointerdown\",n=>{t(this._create(n))})}onPointerLeave(e,t){return M3e(e,n=>{t(this._create(n))})}onPointerMoveThrottled(e,t,n,i){return oG(e,\"pointermove\",t,(a,l)=>n(a,this._create(l)),i)}}class tNe extends fr{constructor(e){super(),this._editorViewDomNode=e,this._globalMouseMoveMonitor=this._register(new dw),this._keydownListener=null}startMonitoring(e,t,n,i,s){this._keydownListener=Fh(document,\"keydown\",l=>{l.toKeybinding().isModifierKey()||this._globalMouseMoveMonitor.stopMonitoring(!0,l.browserEvent)},!0);const a=(l,u)=>n(l,new LD(u,this._editorViewDomNode));this._globalMouseMoveMonitor.startMonitoring(e,t,a,i,l=>{this._keydownListener.dispose(),s(l)})}stopMonitoring(){this._globalMouseMoveMonitor.stopMonitoring(!0)}}class r4{constructor(e){this._editor=e,this._instanceId=++r4._idPool,this._counter=0,this._rules=new Map,this._garbageCollectionScheduler=new Bu(()=>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 n=this._rules.get(t);if(!n){const i=this._counter++;n=new nNe(t,`dyn-rule-${this._instanceId}-${i}`,U3(this._editor.getContainerDomNode())?this._editor.getContainerDomNode():void 0,e),this._rules.set(t,n)}return n}computeUniqueKey(e){return JSON.stringify(e)}garbageCollect(){for(const e of this._rules.values())e.hasReferences()||(this._rules.delete(e.key),e.dispose())}}r4._idPool=0;class nNe{constructor(e,t,n,i){this.key=e,this.className=t,this.properties=i,this._referenceCount=0,this._styleElement=Pg(n),this._styleElement.textContent=this.getCssText(this.className,this.properties)}getCssText(e,t){let n=`.${e} {`;for(const i in t){const s=t[i];let a;typeof s==\"object\"?a=`var(${ace(s.id)})`:a=s,n+=`\n\t${iNe(i)}: ${a};`}return n+=`\n}`,n}dispose(){this._styleElement.remove()}increaseRefCount(){this._referenceCount++}decreaseRefCount(){this._referenceCount--}hasReferences(){return this._referenceCount>0}}function iNe(o){return o.replace(/(^[A-Z])/,([e])=>e.toLowerCase()).replace(/([A-Z])/g,([e])=>`-${e.toLowerCase()}`)}class s4 extends fr{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 n=0,i=e.length;n<i;n++){const s=e[n];switch(s.type){case 0:this.onCompositionStart(s)&&(t=!0);break;case 1:this.onCompositionEnd(s)&&(t=!0);break;case 2:this.onConfigurationChanged(s)&&(t=!0);break;case 3:this.onCursorStateChanged(s)&&(t=!0);break;case 4:this.onDecorationsChanged(s)&&(t=!0);break;case 5:this.onFlushed(s)&&(t=!0);break;case 6:this.onFocusChanged(s)&&(t=!0);break;case 7:this.onLanguageConfigurationChanged(s)&&(t=!0);break;case 8:this.onLineMappingChanged(s)&&(t=!0);break;case 9:this.onLinesChanged(s)&&(t=!0);break;case 10:this.onLinesDeleted(s)&&(t=!0);break;case 11:this.onLinesInserted(s)&&(t=!0);break;case 12:this.onRevealRangeRequest(s)&&(t=!0);break;case 13:this.onScrollChanged(s)&&(t=!0);break;case 15:this.onTokensChanged(s)&&(t=!0);break;case 14:this.onThemeChanged(s)&&(t=!0);break;case 16:this.onTokensColorsChanged(s)&&(t=!0);break;case 17:this.onZonesChanged(s)&&(t=!0);break;default:console.info(\"View received unknown event: \"),console.info(s)}}t&&(this._shouldRender=!0)}}class Rg extends s4{constructor(e){super(),this._context=e,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}}class Y1{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 n=[];let i=0;for(;e&&e!==document.body&&e!==t;)e.nodeType===e.ELEMENT_NODE&&(n[i++]=this.read(e)),e=e.parentElement;const s=new Uint8Array(i);for(let a=0;a<i;a++)s[a]=n[i-a-1];return s}}class rNe{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 n=this._viewLayout.getCurrentViewport();this.scrollTop=n.top,this.scrollLeft=n.left,this.viewportWidth=n.width,this.viewportHeight=n.height}getScrolledTopFromAbsoluteTop(e){return e-this.scrollTop}getVerticalOffsetForLineNumber(e){return this._viewLayout.getVerticalOffsetForLineNumber(e)}getDecorationsInViewport(){return this.viewportData.getDecorationsInViewport()}}class sNe extends rNe{constructor(e,t,n){super(e,t),this._renderingContextBrand=void 0,this._viewLines=n}linesVisibleRangesForRange(e,t){return this._viewLines.linesVisibleRangesForRange(e,t)}visibleRangeForPosition(e){return this._viewLines.visibleRangeForPosition(e)}}class oNe{constructor(e,t,n){this.outsideRenderedLine=e,this.lineNumber=t,this.ranges=n}}class qP{constructor(e,t){this._horizontalRangeBrand=void 0,this.left=Math.round(e),this.width=Math.round(t)}static from(e){const t=new Array(e.length);for(let n=0,i=e.length;n<i;n++){const s=e[n];t[n]=new qP(s.left,s.width)}return t}toString(){return`[${this.left},${this.width}]`}}class Vx{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 aNe{constructor(e,t){this.outsideRenderedLine=e,this.originalLeft=t,this.left=Math.round(this.originalLeft)}}class lNe{constructor(e,t){this.outsideRenderedLine=e,this.ranges=t}}class fV{static _createRange(){return this._handyReadyRange||(this._handyReadyRange=document.createRange()),this._handyReadyRange}static _detachRange(e,t){e.selectNodeContents(t)}static _readClientRects(e,t,n,i,s){const a=this._createRange();try{return a.setStart(e,t),a.setEnd(n,i),a.getClientRects()}catch{return null}finally{this._detachRange(a,s)}}static _mergeAdjacentRanges(e){if(e.length===1)return e;e.sort(Vx.compare);const t=[];let n=0,i=e[0];for(let s=1,a=e.length;s<a;s++){const l=e[s];i.left+i.width+.9>=l.left?i.width=Math.max(i.width,l.left+l.width-i.left):(t[n++]=i,i=l)}return t[n++]=i,t}static _createHorizontalRangesFromClientRects(e,t,n){if(!e||e.length===0)return null;const i=[];for(let s=0,a=e.length;s<a;s++){const l=e[s];i[s]=new Vx(Math.max(0,(l.left-t)/n),l.width/n)}return this._mergeAdjacentRanges(i)}static readHorizontalRanges(e,t,n,i,s,a,l,u){const h=e.children.length-1;if(0>h)return null;if(t=Math.min(h,Math.max(0,t)),i=Math.min(h,Math.max(0,i)),t===i&&n===s&&n===0&&!e.children[t].firstChild){const D=e.children[t].getClientRects();return this._createHorizontalRangesFromClientRects(D,a,l)}t!==i&&i>0&&s===0&&(i--,s=1073741824);let p=e.children[t].firstChild,g=e.children[i].firstChild;if((!p||!g)&&(!p&&n===0&&t>0&&(p=e.children[t-1].firstChild,n=1073741824),!g&&s===0&&i>0&&(g=e.children[i-1].firstChild,s=1073741824)),!p||!g)return null;n=Math.min(p.textContent.length,Math.max(0,n)),s=Math.min(g.textContent.length,Math.max(0,s));const y=this._readClientRects(p,n,g,s,u);return this._createHorizontalRangesFromClientRects(y,a,l)}}const uNe=function(){return p0?!0:!(vp||J_||Am)}();let Hx=!0;class Mre{constructor(e,t){this._domNode=e,this._clientRectDeltaLeft=0,this._clientRectScale=1,this._clientRectRead=!1,this.endNode=t}readClientRect(){if(!this._clientRectRead){this._clientRectRead=!0;const e=this._domNode.getBoundingClientRect();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}}class Rre{constructor(e,t){this.themeType=t;const n=e.options,i=n.get(44);this.renderWhitespace=n.get(88),this.renderControlCharacters=n.get(83),this.spaceWidth=i.spaceWidth,this.middotWidth=i.middotWidth,this.wsmiddotWidth=i.wsmiddotWidth,this.useMonospaceOptimizations=i.isMonospace&&!n.get(29),this.canUseHalfwidthRightwardsArrow=i.canUseHalfwidthRightwardsArrow,this.lineHeight=n.get(59),this.stopRenderingLineAfter=n.get(105),this.fontLigatures=n.get(45)}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 L1{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=ru(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 this._options.themeType===wm.HIGH_CONTRAST||this._options.renderWhitespace===\"selection\"?(this._isMaybeInvalid=!0,!0):!1}renderLine(e,t,n,i){if(this._isMaybeInvalid===!1)return!1;this._isMaybeInvalid=!1;const s=n.getViewLineRenderingData(e),a=this._options,l=z_.filter(s.inlineDecorations,e,s.minColumn,s.maxColumn);let u=null;if(a.themeType===wm.HIGH_CONTRAST||this._options.renderWhitespace===\"selection\"){const g=n.selections;for(const y of g){if(y.endLineNumber<e||y.startLineNumber>e)continue;const D=y.startLineNumber===e?y.startColumn:s.minColumn,T=y.endLineNumber===e?y.endColumn:s.maxColumn;D<T&&(a.themeType===wm.HIGH_CONTRAST||this._options.renderWhitespace!==\"selection\"?l.push(new z_(D,T,\"inline-selected-text\",0)):(u||(u=[]),u.push(new n3e(D-1,T-1))))}}const d=new lw(a.useMonospaceOptimizations,a.canUseHalfwidthRightwardsArrow,s.content,s.continuesWithWrappedLine,s.isBasicASCII,s.containsRTL,s.minColumn-1,s.tokens,l,s.tabSize,s.startVisibleColumn,a.spaceWidth,a.middotWidth,a.wsmiddotWidth,a.stopRenderingLineAfter,a.renderWhitespace,a.renderControlCharacters,a.fontLigatures!==j_.OFF,u);if(this._renderedViewLine&&this._renderedViewLine.input.equals(d))return!1;i.appendASCIIString('<div style=\"top:'),i.appendASCIIString(String(t)),i.appendASCIIString(\"px;height:\"),i.appendASCIIString(String(this._options.lineHeight)),i.appendASCIIString('px;\" class=\"'),i.appendASCIIString(L1.CLASS_NAME),i.appendASCIIString('\">');const h=AP(d,i);i.appendASCIIString(\"</div>\");let p=null;return Hx&&uNe&&s.isBasicASCII&&a.useMonospaceOptimizations&&h.containsForeignElements===0&&s.content.length<300&&d.lineTokens.getCount()<100&&(p=new zF(this._renderedViewLine?this._renderedViewLine.domNode:null,d,h.characterMapping)),p||(p=Lce(this._renderedViewLine?this._renderedViewLine.domNode:null,d,h.characterMapping,h.containsRTL,h.containsForeignElements)),this._renderedViewLine=p,!0}layoutLine(e,t){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(t),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))}getWidth(){return this._renderedViewLine?this._renderedViewLine.getWidth():0}getWidthIsFast(){return this._renderedViewLine?this._renderedViewLine.getWidthIsFast():!0}needsMonospaceFontCheck(){return this._renderedViewLine?this._renderedViewLine instanceof zF:!1}monospaceAssumptionsAreValid(){return this._renderedViewLine&&this._renderedViewLine instanceof zF?this._renderedViewLine.monospaceAssumptionsAreValid():Hx}onMonospaceAssumptionsInvalidated(){this._renderedViewLine&&this._renderedViewLine instanceof zF&&(this._renderedViewLine=this._renderedViewLine.toSlowRenderedLine())}getVisibleRangesForRange(e,t,n,i){if(!this._renderedViewLine)return null;t=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,t)),n=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,n));const s=this._renderedViewLine.input.stopRenderingLineAfter;let a=!1;s!==-1&&t>s+1&&n>s+1&&(a=!0),s!==-1&&t>s+1&&(t=s+1),s!==-1&&n>s+1&&(n=s+1);const l=this._renderedViewLine.getVisibleRangesForRange(e,t,n,i);return l&&l.length>0?new lNe(a,l):null}getColumnOfNodeOffset(e,t,n){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(e,t,n):1}}L1.CLASS_NAME=\"view-line\";class zF{constructor(e,t,n){this.domNode=e,this.input=t,this._characterMapping=n,this._charWidth=t.spaceWidth}getWidth(){return Math.round(this._getCharPosition(this._characterMapping.length))}getWidthIsFast(){return!0}monospaceAssumptionsAreValid(){if(!this.domNode)return Hx;const e=this.getWidth(),t=this.domNode.domNode.firstChild.offsetWidth;return Math.abs(e-t)>=2&&(console.warn(\"monospace assumptions have been violated, therefore disabling monospace optimizations!\"),Hx=!1),Hx}toSlowRenderedLine(){return Lce(this.domNode,this.input,this._characterMapping,!1,0)}getVisibleRangesForRange(e,t,n,i){const s=this._getCharPosition(t),a=this._getCharPosition(n);return[new Vx(s,a-s)]}_getCharPosition(e){const t=this._characterMapping.getAbsoluteOffset(e);return this._charWidth*t}getColumnOfNodeOffset(e,t,n){const i=t.textContent.length;let s=-1;for(;t;)t=t.previousSibling,s++;return this._characterMapping.getColumn(new eG(s,n),i)}}class kce{constructor(e,t,n,i,s){if(this.domNode=e,this.input=t,this._characterMapping=n,this._isWhitespaceOnly=/^\\s*$/.test(t.lineContent),this._containsForeignElements=s,this._cachedWidth=-1,this._pixelOffsetCache=null,!i||this._characterMapping.length===0){this._pixelOffsetCache=new Float32Array(Math.max(2,this._characterMapping.length+1));for(let a=0,l=this._characterMapping.length;a<=l;a++)this._pixelOffsetCache[a]=-1}}_getReadingTarget(e){return e.domNode.firstChild}getWidth(){return this.domNode?(this._cachedWidth===-1&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth),this._cachedWidth):0}getWidthIsFast(){return this._cachedWidth!==-1}getVisibleRangesForRange(e,t,n,i){if(!this.domNode)return null;if(this._pixelOffsetCache!==null){const s=this._readPixelOffset(this.domNode,e,t,i);if(s===-1)return null;const a=this._readPixelOffset(this.domNode,e,n,i);return a===-1?null:[new Vx(s,a-s)]}return this._readVisibleRangesForRange(this.domNode,e,t,n,i)}_readVisibleRangesForRange(e,t,n,i,s){if(n===i){const a=this._readPixelOffset(e,t,n,s);return a===-1?null:[new Vx(a,0)]}else return this._readRawVisibleRangesForRange(e,n,i,s)}_readPixelOffset(e,t,n,i){if(this._characterMapping.length===0){if(this._containsForeignElements===0||this._containsForeignElements===2)return 0;if(this._containsForeignElements===1)return this.getWidth();const s=this._getReadingTarget(e);return s.firstChild?s.firstChild.offsetWidth:0}if(this._pixelOffsetCache!==null){const s=this._pixelOffsetCache[n];if(s!==-1)return s;const a=this._actualReadPixelOffset(e,t,n,i);return this._pixelOffsetCache[n]=a,a}return this._actualReadPixelOffset(e,t,n,i)}_actualReadPixelOffset(e,t,n,i){if(this._characterMapping.length===0){const u=fV.readHorizontalRanges(this._getReadingTarget(e),0,0,0,0,i.clientRectDeltaLeft,i.clientRectScale,i.endNode);return!u||u.length===0?-1:u[0].left}if(n===this._characterMapping.length&&this._isWhitespaceOnly&&this._containsForeignElements===0)return this.getWidth();const s=this._characterMapping.getDomPosition(n),a=fV.readHorizontalRanges(this._getReadingTarget(e),s.partIndex,s.charIndex,s.partIndex,s.charIndex,i.clientRectDeltaLeft,i.clientRectScale,i.endNode);if(!a||a.length===0)return-1;const l=a[0].left;if(this.input.isBasicASCII){const u=this._characterMapping.getAbsoluteOffset(n),d=Math.round(this.input.spaceWidth*u);if(Math.abs(d-l)<=1)return d}return l}_readRawVisibleRangesForRange(e,t,n,i){if(t===1&&n===this._characterMapping.length)return[new Vx(0,this.getWidth())];const s=this._characterMapping.getDomPosition(t),a=this._characterMapping.getDomPosition(n);return fV.readHorizontalRanges(this._getReadingTarget(e),s.partIndex,s.charIndex,a.partIndex,a.charIndex,i.clientRectDeltaLeft,i.clientRectScale,i.endNode)}getColumnOfNodeOffset(e,t,n){const i=t.textContent.length;let s=-1;for(;t;)t=t.previousSibling,s++;return this._characterMapping.getColumn(new eG(s,n),i)}}class cNe extends kce{_readVisibleRangesForRange(e,t,n,i,s){const a=super._readVisibleRangesForRange(e,t,n,i,s);if(!a||a.length===0||n===i||n===1&&i===this._characterMapping.length)return a;if(!this.input.containsRTL){const l=this._readPixelOffset(e,t,i,s);if(l!==-1){const u=a[a.length-1];u.left<l&&(u.width=l-u.left)}}return a}}const Lce=function(){return Rv?dNe:hNe}();function dNe(o,e,t,n,i){return new cNe(o,e,t,n,i)}function hNe(o,e,t,n,i){return new kce(o,e,t,n,i)}class Zd{static _nextVisibleColumn(e,t,n){return e===9?Zd.nextRenderTabStop(t,n):Qv(e)||Bq(e)?t+2:t+1}static visibleColumnFromColumn(e,t,n){const i=Math.min(t-1,e.length),s=e.substring(0,i),a=new H8(s);let l=0;for(;!a.eol();){const u=V8(s,i,a.offset);a.nextGraphemeLength(),l=this._nextVisibleColumn(u,l,n)}return l}static columnFromVisibleColumn(e,t,n){if(t<=0)return 1;const i=e.length,s=new H8(e);let a=0,l=1;for(;!s.eol();){const u=V8(e,i,s.offset);s.nextGraphemeLength();const d=this._nextVisibleColumn(u,a,n),h=s.offset+1;if(d>=t){const p=t-a;return d-t<p?h:l}a=d,l=h}return i+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 J3{static whitespaceVisibleColumn(e,t,n){const i=e.length;let s=0,a=-1,l=-1;for(let u=0;u<i;u++){if(u===t)return[a,l,s];switch(s%n===0&&(a=u,l=s),e.charCodeAt(u)){case 32:s+=1;break;case 9:s=Zd.nextRenderTabStop(s,n);break;default:return[-1,-1,-1]}}return t===i?[a,l,s]:[-1,-1,-1]}static atomicPosition(e,t,n,i){const s=e.length,[a,l,u]=J3.whitespaceVisibleColumn(e,t,n);if(u===-1)return-1;let d;switch(i){case 0:d=!0;break;case 1:d=!1;break;case 2:if(u%n===0)return t;d=u%n<=n/2;break}if(d){if(a===-1)return-1;let g=l;for(let y=a;y<s;++y){if(g===l+n)return a;switch(e.charCodeAt(y)){case 32:g+=1;break;case 9:g=Zd.nextRenderTabStop(g,n);break;default:return-1}}return g===l+n?a:-1}const h=Zd.nextRenderTabStop(u,n);let p=u;for(let g=t;g<s;g++){if(p===h)return g;switch(e.charCodeAt(g)){case 32:p+=1;break;case 9:p=Zd.nextRenderTabStop(p,n);break;default:return-1}}return p===h?s:-1}}class vv{constructor(e=null){this.hitTarget=e,this.type=0}}class Az{constructor(e,t,n){this.position=e,this.spanNode=t,this.injectedText=n,this.type=1}}var W2;(function(o){function e(t,n,i){const s=t.getPositionFromDOMInfo(n,i);return s?new Az(s,n,null):new vv(n)}o.createFromDOMInfo=e})(W2||(W2={}));class pNe{constructor(e,t){this.lastViewCursorsRenderData=e,this.lastTextareaPosition=t}}class If{static _deduceRage(e,t=null){return!t&&e?new He(e.lineNumber,e.column,e.lineNumber,e.column):t!=null?t:null}static createUnknown(e,t,n){return{type:0,element:e,mouseColumn:t,position:n,range:this._deduceRage(n)}}static createTextarea(e,t){return{type:1,element:e,mouseColumn:t,position:null,range:null}}static createMargin(e,t,n,i,s,a){return{type:e,element:t,mouseColumn:n,position:i,range:s,detail:a}}static createViewZone(e,t,n,i,s){return{type:e,element:t,mouseColumn:n,position:i,range:this._deduceRage(i),detail:s}}static createContentText(e,t,n,i,s){return{type:6,element:e,mouseColumn:t,position:n,range:this._deduceRage(n,i),detail:s}}static createContentEmpty(e,t,n,i){return{type:7,element:e,mouseColumn:t,position:n,range:this._deduceRage(n),detail:i}}static createContentWidget(e,t,n){return{type:9,element:e,mouseColumn:t,position:null,range:null,detail:n}}static createScrollbar(e,t,n){return{type:11,element:e,mouseColumn:t,position:n,range:this._deduceRage(n)}}static createOverlayWidget(e,t,n){return{type:12,element:e,mouseColumn:t,position:null,range:null,detail:n}}static createOutsideEditor(e,t){return{type:13,element:null,mouseColumn:e,position:t,range:this._deduceRage(t)}}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 dm{static isTextArea(e){return e.length===2&&e[0]===3&&e[1]===6}static isChildOfViewLines(e){return e.length>=4&&e[0]===3&&e[3]===7}static isStrictChildOfViewLines(e){return e.length>4&&e[0]===3&&e[3]===7}static isChildOfScrollableElement(e){return e.length>=2&&e[0]===3&&e[1]===5}static isChildOfMinimap(e){return e.length>=2&&e[0]===3&&e[1]===8}static isChildOfContentWidgets(e){return e.length>=4&&e[0]===3&&e[3]===1}static isChildOfOverflowingContentWidgets(e){return e.length>=1&&e[0]===2}static isChildOfOverlayWidgets(e){return e.length>=2&&e[0]===3&&e[1]===4}}class uE{constructor(e,t,n){this.viewModel=e.viewModel;const i=e.configuration.options;this.layoutInfo=i.get(131),this.viewDomNode=t.viewDomNode,this.lineHeight=i.get(59),this.stickyTabStops=i.get(104),this.typicalHalfwidthCharacterWidth=i.get(44).typicalHalfwidthCharacterWidth,this.lastRenderData=n,this._context=e,this._viewHelper=t}getZoneAtCoord(e){return uE.getZoneAtCoord(this._context,e)}static getZoneAtCoord(e,t){const n=e.viewLayout.getWhitespaceAtVerticalOffset(t);if(n){const i=n.verticalOffset+n.height/2,s=e.viewModel.getLineCount();let a=null,l,u=null;return n.afterLineNumber!==s&&(u=new Ii(n.afterLineNumber+1,1)),n.afterLineNumber>0&&(a=new Ii(n.afterLineNumber,e.viewModel.getLineMaxColumn(n.afterLineNumber))),u===null?l=a:a===null?l=u:t<i?l=a:l=u,{viewZoneId:n.id,afterLineNumber:n.afterLineNumber,positionBefore:a,positionAfter:u,position:l}}return null}getFullLineRangeAtCoord(e){if(this._context.viewLayout.isAfterLines(e)){const i=this._context.viewModel.getLineCount(),s=this._context.viewModel.getLineMaxColumn(i);return{range:new He(i,s,i,s),isAfterLines:!0}}const t=this._context.viewLayout.getLineNumberAtVerticalOffset(e),n=this._context.viewModel.getLineMaxColumn(t);return{range:new He(t,1,t,n),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 uE._findAttribute(e,t,this._viewHelper.viewDomNode)}static _findAttribute(e,t,n){for(;e&&e!==document.body;){if(e.hasAttribute&&e.hasAttribute(t))return e.getAttribute(t);if(e===n)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 fNe{constructor(e,t,n,i){this.editorPos=t,this.pos=n,this.relativePos=i,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,hp._getMouseColumn(this.mouseContentHorizontalOffset,e.typicalHalfwidthCharacterWidth))}}class xG extends fNe{constructor(e,t,n,i,s){super(e,t,n,i),this._ctx=e,s?(this.target=s,this.targetPath=Y1.collect(s,e.viewDomNode)):(this.target=null,this.targetPath=new Uint8Array(0))}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}`}_getMouseColumn(e=null){return e&&e.column<this._ctx.viewModel.getLineMaxColumn(e.lineNumber)?Zd.visibleColumnFromColumn(this._ctx.viewModel.getLineContent(e.lineNumber),e.column,this._ctx.viewModel.model.getOptions().tabSize)+1:this.mouseColumn}fulfillUnknown(e=null){return If.createUnknown(this.target,this._getMouseColumn(e),e)}fulfillTextarea(){return If.createTextarea(this.target,this._getMouseColumn())}fulfillMargin(e,t,n,i){return If.createMargin(e,this.target,this._getMouseColumn(t),t,n,i)}fulfillViewZone(e,t,n){return If.createViewZone(e,this.target,this._getMouseColumn(t),t,n)}fulfillContentText(e,t,n){return If.createContentText(this.target,this._getMouseColumn(e),e,t,n)}fulfillContentEmpty(e,t){return If.createContentEmpty(this.target,this._getMouseColumn(e),e,t)}fulfillContentWidget(e){return If.createContentWidget(this.target,this._getMouseColumn(),e)}fulfillScrollbar(e){return If.createScrollbar(this.target,this._getMouseColumn(e),e)}fulfillOverlayWidget(e){return If.createOverlayWidget(this.target,this._getMouseColumn(),e)}withTarget(e){return new xG(this._ctx,this.editorPos,this.pos,this.relativePos,e)}}const Bre={isAfterLines:!0};function _V(o){return{isAfterLines:!1,horizontalDistanceToText:o}}class hp{constructor(e,t){this._context=e,this._viewHelper=t}mouseTargetIsWidget(e){const t=e.target,n=Y1.collect(t,this._viewHelper.viewDomNode);return!!(dm.isChildOfContentWidgets(n)||dm.isChildOfOverflowingContentWidgets(n)||dm.isChildOfOverlayWidgets(n))}createMouseTarget(e,t,n,i,s){const a=new uE(this._context,this._viewHelper,e),l=new xG(a,t,n,i,s);try{return hp._createMouseTarget(a,l,!1)}catch{return l.fulfillUnknown()}}static _createMouseTarget(e,t,n){if(t.target===null){if(n)return t.fulfillUnknown();const a=hp._doHitTest(e,t);return a.type===1?hp.createMouseTargetFromHitTestPosition(e,t,a.spanNode,a.position,a.injectedText):this._createMouseTarget(e,t.withTarget(a.hitTarget),!0)}const i=t;let s=null;return s=s||hp._hitTestContentWidget(e,i),s=s||hp._hitTestOverlayWidget(e,i),s=s||hp._hitTestMinimap(e,i),s=s||hp._hitTestScrollbarSlider(e,i),s=s||hp._hitTestViewZone(e,i),s=s||hp._hitTestMargin(e,i),s=s||hp._hitTestViewCursor(e,i),s=s||hp._hitTestTextArea(e,i),s=s||hp._hitTestViewLines(e,i,n),s=s||hp._hitTestScrollbar(e,i),s||t.fulfillUnknown()}static _hitTestContentWidget(e,t){if(dm.isChildOfContentWidgets(t.targetPath)||dm.isChildOfOverflowingContentWidgets(t.targetPath)){const n=e.findAttribute(t.target,\"widgetId\");return n?t.fulfillContentWidget(n):t.fulfillUnknown()}return null}static _hitTestOverlayWidget(e,t){if(dm.isChildOfOverlayWidgets(t.targetPath)){const n=e.findAttribute(t.target,\"widgetId\");return n?t.fulfillOverlayWidget(n):t.fulfillUnknown()}return null}static _hitTestViewCursor(e,t){if(t.target){const n=e.lastRenderData.lastViewCursorsRenderData;for(const i of n)if(t.target===i.domNode)return t.fulfillContentText(i.position,null,{mightBeForeignElement:!1,injectedText:null})}if(t.isInContentArea){const n=e.lastRenderData.lastViewCursorsRenderData,i=t.mouseContentHorizontalOffset,s=t.mouseVerticalOffset;for(const a of n){if(i<a.contentLeft||i>a.contentLeft+a.width)continue;const l=e.getVerticalOffsetForLineNumber(a.position.lineNumber);if(l<=s&&s<=l+a.height)return t.fulfillContentText(a.position,null,{mightBeForeignElement:!1,injectedText:null})}}return null}static _hitTestViewZone(e,t){const n=e.getZoneAtCoord(t.mouseVerticalOffset);if(n){const i=t.isInContentArea?8:5;return t.fulfillViewZone(i,n.position,n)}return null}static _hitTestTextArea(e,t){return dm.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 n=e.getFullLineRangeAtCoord(t.mouseVerticalOffset),i=n.range.getStartPosition();let s=Math.abs(t.relativePos.x);const a={isAfterLines:n.isAfterLines,glyphMarginLeft:e.layoutInfo.glyphMarginLeft,glyphMarginWidth:e.layoutInfo.glyphMarginWidth,lineNumbersWidth:e.layoutInfo.lineNumbersWidth,offsetX:s};return s-=e.layoutInfo.glyphMarginLeft,s<=e.layoutInfo.glyphMarginWidth?t.fulfillMargin(2,i,n.range,a):(s-=e.layoutInfo.glyphMarginWidth,s<=e.layoutInfo.lineNumbersWidth?t.fulfillMargin(3,i,n.range,a):(s-=e.layoutInfo.lineNumbersWidth,t.fulfillMargin(4,i,n.range,a)))}return null}static _hitTestViewLines(e,t,n){if(!dm.isChildOfViewLines(t.targetPath))return null;if(e.isInTopPadding(t.mouseVerticalOffset))return t.fulfillContentEmpty(new Ii(1,1),Bre);if(e.isAfterLines(t.mouseVerticalOffset)||e.isInBottomPadding(t.mouseVerticalOffset)){const s=e.viewModel.getLineCount(),a=e.viewModel.getLineMaxColumn(s);return t.fulfillContentEmpty(new Ii(s,a),Bre)}if(n){if(dm.isStrictChildOfViewLines(t.targetPath)){const s=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset);if(e.viewModel.getLineLength(s)===0){const l=e.getLineWidth(s),u=_V(t.mouseContentHorizontalOffset-l);return t.fulfillContentEmpty(new Ii(s,1),u)}const a=e.getLineWidth(s);if(t.mouseContentHorizontalOffset>=a){const l=_V(t.mouseContentHorizontalOffset-a),u=new Ii(s,e.viewModel.getLineMaxColumn(s));return t.fulfillContentEmpty(u,l)}}return t.fulfillUnknown()}const i=hp._doHitTest(e,t);return i.type===1?hp.createMouseTargetFromHitTestPosition(e,t,i.spanNode,i.position,i.injectedText):this._createMouseTarget(e,t.withTarget(i.hitTarget),!0)}static _hitTestMinimap(e,t){if(dm.isChildOfMinimap(t.targetPath)){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.viewModel.getLineMaxColumn(n);return t.fulfillScrollbar(new Ii(n,i))}return null}static _hitTestScrollbarSlider(e,t){if(dm.isChildOfScrollableElement(t.targetPath)&&t.target&&t.target.nodeType===1){const n=t.target.className;if(n&&/\\b(slider|scrollbar)\\b/.test(n)){const i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),s=e.viewModel.getLineMaxColumn(i);return t.fulfillScrollbar(new Ii(i,s))}}return null}static _hitTestScrollbar(e,t){if(dm.isChildOfScrollableElement(t.targetPath)){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.viewModel.getLineMaxColumn(n);return t.fulfillScrollbar(new Ii(n,i))}return null}getMouseColumn(e){const t=this._context.configuration.options,n=t.get(131),i=this._context.viewLayout.getCurrentScrollLeft()+e.x-n.contentLeft;return hp._getMouseColumn(i,t.get(44).typicalHalfwidthCharacterWidth)}static _getMouseColumn(e,t){return e<0?1:Math.round(e/t)+1}static createMouseTargetFromHitTestPosition(e,t,n,i,s){const a=i.lineNumber,l=i.column,u=e.getLineWidth(a);if(t.mouseContentHorizontalOffset>u){const k=_V(t.mouseContentHorizontalOffset-u);return t.fulfillContentEmpty(i,k)}const d=e.visibleRangeForPosition(a,l);if(!d)return t.fulfillUnknown(i);const h=d.left;if(t.mouseContentHorizontalOffset===h)return t.fulfillContentText(i,null,{mightBeForeignElement:!!s,injectedText:s});const p=[];if(p.push({offset:d.left,column:l}),l>1){const k=e.visibleRangeForPosition(a,l-1);k&&p.push({offset:k.left,column:l-1})}const g=e.viewModel.getLineMaxColumn(a);if(l<g){const k=e.visibleRangeForPosition(a,l+1);k&&p.push({offset:k.left,column:l+1})}p.sort((k,I)=>k.offset-I.offset);const y=t.pos.toClientCoordinates(),D=n.getBoundingClientRect(),T=D.left<=y.clientX&&y.clientX<=D.right;for(let k=1;k<p.length;k++){const I=p[k-1],F=p[k];if(I.offset<=t.mouseContentHorizontalOffset&&t.mouseContentHorizontalOffset<=F.offset){const q=new He(a,I.column,a,F.column);return t.fulfillContentText(i,q,{mightBeForeignElement:!T||!!s,injectedText:s})}}return t.fulfillContentText(i,null,{mightBeForeignElement:!T||!!s,injectedText:s})}static _doHitTestWithCaretRangeFromPoint(e,t){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),s=e.getVerticalOffsetForLineNumber(n)+Math.floor(e.lineHeight/2);let a=t.pos.y+(s-t.mouseVerticalOffset);a<=t.editorPos.y&&(a=t.editorPos.y+1),a>=t.editorPos.y+t.editorPos.height&&(a=t.editorPos.y+t.editorPos.height-1);const l=new SG(t.pos.x,a),u=this._actualDoHitTestWithCaretRangeFromPoint(e,l.toClientCoordinates());return u.type===1?u:this._actualDoHitTestWithCaretRangeFromPoint(e,t.pos.toClientCoordinates())}static _actualDoHitTestWithCaretRangeFromPoint(e,t){const n=eC(e.viewDomNode);let i;if(n?typeof n.caretRangeFromPoint==\"undefined\"?i=_Ne(n,t.clientX,t.clientY):i=n.caretRangeFromPoint(t.clientX,t.clientY):i=document.caretRangeFromPoint(t.clientX,t.clientY),!i||!i.startContainer)return new vv;const s=i.startContainer;if(s.nodeType===s.TEXT_NODE){const a=s.parentNode,l=a?a.parentNode:null,u=l?l.parentNode:null;return(u&&u.nodeType===u.ELEMENT_NODE?u.className:null)===L1.CLASS_NAME?W2.createFromDOMInfo(e,a,i.startOffset):new vv(s.parentNode)}else if(s.nodeType===s.ELEMENT_NODE){const a=s.parentNode,l=a?a.parentNode:null;return(l&&l.nodeType===l.ELEMENT_NODE?l.className:null)===L1.CLASS_NAME?W2.createFromDOMInfo(e,s,s.textContent.length):new vv(s)}return new vv}static _doHitTestWithCaretPositionFromPoint(e,t){const n=document.caretPositionFromPoint(t.clientX,t.clientY);if(n.offsetNode.nodeType===n.offsetNode.TEXT_NODE){const i=n.offsetNode.parentNode,s=i?i.parentNode:null,a=s?s.parentNode:null;return(a&&a.nodeType===a.ELEMENT_NODE?a.className:null)===L1.CLASS_NAME?W2.createFromDOMInfo(e,n.offsetNode.parentNode,n.offset):new vv(n.offsetNode.parentNode)}if(n.offsetNode.nodeType===n.offsetNode.ELEMENT_NODE){const i=n.offsetNode.parentNode,s=i&&i.nodeType===i.ELEMENT_NODE?i.className:null,a=i?i.parentNode:null,l=a&&a.nodeType===a.ELEMENT_NODE?a.className:null;if(s===L1.CLASS_NAME){const u=n.offsetNode.childNodes[Math.min(n.offset,n.offsetNode.childNodes.length-1)];if(u)return W2.createFromDOMInfo(e,u,0)}else if(l===L1.CLASS_NAME)return W2.createFromDOMInfo(e,n.offsetNode,0)}return new vv(n.offsetNode)}static _snapToSoftTabBoundary(e,t){const n=t.getLineContent(e.lineNumber),{tabSize:i}=t.model.getOptions(),s=J3.atomicPosition(n,e.column-1,i,2);return s!==-1?new Ii(e.lineNumber,s+1):e}static _doHitTest(e,t){let n=new vv;if(typeof document.caretRangeFromPoint==\"function\"?n=this._doHitTestWithCaretRangeFromPoint(e,t):document.caretPositionFromPoint&&(n=this._doHitTestWithCaretPositionFromPoint(e,t.pos.toClientCoordinates())),n.type===1){const i=e.viewModel.getInjectedTextAt(n.position),s=e.viewModel.normalizePosition(n.position,2);(i||!s.equals(n.position))&&(n=new Az(s,n.spanNode,i))}return n.type===1&&e.stickyTabStops&&(n=new Az(this._snapToSoftTabBoundary(n.position,e.viewModel),n.spanNode,n.injectedText)),n}}function _Ne(o,e,t){const n=document.createRange();let i=o.elementFromPoint(e,t);if(i!==null){for(;i&&i.firstChild&&i.firstChild.nodeType!==i.firstChild.TEXT_NODE&&i.lastChild&&i.lastChild.firstChild;)i=i.lastChild;const s=i.getBoundingClientRect(),a=window.getComputedStyle(i,null).getPropertyValue(\"font\"),l=i.innerText;let u=s.left,d=0,h;if(e>s.left+s.width)d=l.length;else{const p=Z2.getInstance();for(let g=0;g<l.length+1;g++){if(h=p.getCharWidth(l.charAt(g),a)/2,u+=h,e<u){d=g;break}u+=h}}n.setStart(i.firstChild,d),n.setEnd(i.firstChild,d)}return n}class Z2{constructor(){this._cache={},this._canvas=document.createElement(\"canvas\")}static getInstance(){return Z2._INSTANCE||(Z2._INSTANCE=new Z2),Z2._INSTANCE}getCharWidth(e,t){const n=e+t;if(this._cache[n])return this._cache[n];const i=this._canvas.getContext(\"2d\");i.font=t;const a=i.measureText(e).width;return this._cache[n]=a,a}}Z2._INSTANCE=null;function s7(o){return function(e,t){let n=!1;return o&&(n=o.mouseTargetIsWidget(t)),n||t.preventDefault(),t}}class ND extends s4{constructor(e,t,n){super(),this._context=e,this.viewController=t,this.viewHelper=n,this.mouseTargetFactory=new hp(this._context,n),this._mouseDownOperation=this._register(new gNe(this._context,this.viewController,this.viewHelper,(a,l)=>this._createMouseTarget(a,l),a=>this._getMouseColumn(a))),this.lastMouseLeaveTime=-1,this._height=this._context.configuration.options.get(131).height;const i=new Z4e(this.viewHelper.viewDomNode);this._register(i.onContextMenu(this.viewHelper.viewDomNode,a=>this._onContextMenu(a,!0))),this._register(i.onMouseMoveThrottled(this.viewHelper.viewDomNode,a=>this._onMouseMove(a),s7(this.mouseTargetFactory),ND.MOUSE_MOVE_MINIMUM_TIME)),this._register(i.onMouseUp(this.viewHelper.viewDomNode,a=>this._onMouseUp(a))),this._register(i.onMouseLeave(this.viewHelper.viewDomNode,a=>this._onMouseLeave(a))),this._register(i.onMouseDown(this.viewHelper.viewDomNode,a=>this._onMouseDown(a)));const s=a=>{if(this.viewController.emitMouseWheel(a),!this._context.configuration.options.get(68))return;const l=new rE(a);if(El?(a.metaKey||a.ctrlKey)&&!a.shiftKey&&!a.altKey:a.ctrlKey&&!a.metaKey&&!a.shiftKey&&!a.altKey){const d=Sb.getZoomLevel(),h=l.deltaY>0?1:-1;Sb.setZoomLevel(d+h),l.preventDefault(),l.stopPropagation()}};this._register(hs(this.viewHelper.viewDomNode,ca.MOUSE_WHEEL,s,{capture:!0,passive:!1})),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onConfigurationChanged(e){if(e.hasChanged(131)){const t=this._context.configuration.options.get(131).height;this._height!==t&&(this._height=t,this._mouseDownOperation.onHeightChanged())}return!1}onCursorStateChanged(e){return this._mouseDownOperation.onCursorStateChanged(e),!1}onFocusChanged(e){return!1}onScrollChanged(e){return this._mouseDownOperation.onScrollChanged(),!1}getTargetAtClientPoint(e,t){const i=new Ece(e,t).toPageCoordinates(),s=Tce(this.viewHelper.viewDomNode);if(i.y<s.y||i.y>s.y+s.height||i.x<s.x||i.x>s.x+s.width)return null;const a=Ace(this.viewHelper.viewDomNode,s,i);return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),s,i,a,null)}_createMouseTarget(e,t){let n=e.target;if(!this.viewHelper.viewDomNode.contains(n)){const i=eC(this.viewHelper.viewDomNode);i&&(n=i.elementsFromPoint(e.posx,e.posy).find(s=>this.viewHelper.viewDomNode.contains(s)))}return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),e.editorPos,e.pos,e.relativePos,t?n: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._mouseDownOperation.isActive()||e.timestamp<this.lastMouseLeaveTime||this.viewController.emitMouseMove({event:e,target:this._createMouseTarget(e,!0)})}_onMouseLeave(e){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){const t=this._createMouseTarget(e,!0),n=t.type===6||t.type===7,i=t.type===2||t.type===3||t.type===4,s=t.type===3,a=this._context.configuration.options.get(98),l=t.type===8||t.type===5,u=t.type===9;let d=e.leftButton||e.middleButton;El&&e.leftButton&&e.ctrlKey&&(d=!1);const h=()=>{e.preventDefault(),this.viewHelper.focusTextArea()};if(d&&(n||s&&a))h(),this._mouseDownOperation.start(t.type,e);else if(i)e.preventDefault();else if(l){const p=t.detail;this.viewHelper.shouldSuppressMouseDownOnViewZone(p.viewZoneId)&&(h(),this._mouseDownOperation.start(t.type,e),e.preventDefault())}else u&&this.viewHelper.shouldSuppressMouseDownOnWidget(t.detail)&&(h(),e.preventDefault());this.viewController.emitMouseDown({event:e,target:t})}}ND.MOUSE_MOVE_MINIMUM_TIME=100;class gNe extends fr{constructor(e,t,n,i,s){super(),this._context=e,this._viewController=t,this._viewHelper=n,this._createMouseTarget=i,this._getMouseColumn=s,this._mouseMoveMonitor=this._register(new tNe(this._viewHelper.viewDomNode)),this._onScrollTimeout=this._register(new g_),this._mouseState=new GP,this._currentSelection=new oo(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,!0);!t||(this._mouseState.isDragAndDrop?this._viewController.emitMouseDrag({event:e,target:t}):this._dispatchMouse(t,!0))}start(e,t){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 i=this._context.configuration.options;if(!i.get(81)&&i.get(31)&&!i.get(18)&&!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(t.target,t.buttons,s7(null),s=>this._onMouseDownThenMove(s),s=>{const a=this._findMousePosition(this._lastMouseEvent,!0);s&&s instanceof KeyboardEvent?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),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(t.target,t.buttons,s7(null),s=>this._onMouseDownThenMove(s),()=>this._stop()))}_stop(){this._isActive=!1,this._onScrollTimeout.cancel()}onHeightChanged(){this._mouseMoveMonitor.stopMonitoring()}onScrollChanged(){!this._isActive||this._onScrollTimeout.setIfNotSet(()=>{if(!this._lastMouseEvent)return;const e=this._findMousePosition(this._lastMouseEvent,!1);!e||this._mouseState.isDragAndDrop||this._dispatchMouse(e,!0)},10)}onCursorStateChanged(e){this._currentSelection=e.selections[0]}_getPositionOutsideEditor(e){const t=e.editorPos,n=this._context.viewModel,i=this._context.viewLayout,s=this._getMouseColumn(e);if(e.posy<t.y){const l=Math.max(i.getCurrentScrollTop()-(t.y-e.posy),0),u=uE.getZoneAtCoord(this._context,l);if(u){const h=this._helpPositionJumpOverViewZone(u);if(h)return If.createOutsideEditor(s,h)}const d=i.getLineNumberAtVerticalOffset(l);return If.createOutsideEditor(s,new Ii(d,1))}if(e.posy>t.y+t.height){const l=i.getCurrentScrollTop()+e.relativePos.y,u=uE.getZoneAtCoord(this._context,l);if(u){const h=this._helpPositionJumpOverViewZone(u);if(h)return If.createOutsideEditor(s,h)}const d=i.getLineNumberAtVerticalOffset(l);return If.createOutsideEditor(s,new Ii(d,n.getLineMaxColumn(d)))}const a=i.getLineNumberAtVerticalOffset(i.getCurrentScrollTop()+e.relativePos.y);return e.posx<t.x?If.createOutsideEditor(s,new Ii(a,1)):e.posx>t.x+t.width?If.createOutsideEditor(s,new Ii(a,n.getLineMaxColumn(a))):null}_findMousePosition(e,t){const n=this._getPositionOutsideEditor(e);if(n)return n;const i=this._createMouseTarget(e,t);if(!i.position)return null;if(i.type===8||i.type===5){const a=this._helpPositionJumpOverViewZone(i.detail);if(a)return If.createViewZone(i.type,i.element,i.mouseColumn,a,i.detail)}return i}_helpPositionJumpOverViewZone(e){const t=new Ii(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),n=e.positionBefore,i=e.positionAfter;return n&&i?n.isBefore(t)?n:i:null}_dispatchMouse(e,t){!e.position||this._viewController.dispatchMouse({position:e.position,mouseColumn:e.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,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 GP{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 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}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 n=new Date().getTime();n-this._lastSetMouseDownCountTime>GP.CLEAR_MOUSE_DOWN_COUNT_TIME&&(e=1),this._lastSetMouseDownCountTime=n,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)}}GP.CLEAR_MOUSE_DOWN_COUNT_TIME=400;var u0;(function(o){o.text=\"text/plain\",o.binary=\"application/octet-stream\",o.unknown=\"application/unknown\",o.markdown=\"text/markdown\",o.latex=\"text/latex\",o.uriList=\"text/uri-list\"})(u0||(u0={}));class _p{constructor(e,t,n,i,s){this.value=e,this.selectionStart=t,this.selectionEnd=n,this.selectionStartPosition=i,this.selectionEndPosition=s}toString(){return`[ <${this.value}>, selectionStart: ${this.selectionStart}, selectionEnd: ${this.selectionEnd}]`}static readFromTextArea(e){return new _p(e.getValue(),e.getSelectionStart(),e.getSelectionEnd(),null,null)}collapseSelection(){return new _p(this.value,this.value.length,this.value.length,null,null)}writeToTextArea(e,t,n){t.setValue(e,this.value),n&&t.setSelectionRange(e,this.selectionStart,this.selectionEnd)}deduceEditorPosition(e){if(e<=this.selectionStart){const i=this.value.substring(e,this.selectionStart);return this._finishDeduceEditorPosition(this.selectionStartPosition,i,-1)}if(e>=this.selectionEnd){const i=this.value.substring(this.selectionEnd,e);return this._finishDeduceEditorPosition(this.selectionEndPosition,i,1)}const t=this.value.substring(this.selectionStart,e);if(t.indexOf(String.fromCharCode(8230))===-1)return this._finishDeduceEditorPosition(this.selectionStartPosition,t,1);const n=this.value.substring(e,this.selectionEnd);return this._finishDeduceEditorPosition(this.selectionEndPosition,n,-1)}_finishDeduceEditorPosition(e,t,n){let i=0,s=-1;for(;(s=t.indexOf(`\n`,s+1))!==-1;)i++;return[e,n*t.length,i]}static deduceInput(e,t,n){if(!e)return{text:\"\",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};const i=Math.min(tE(e.value,t.value),e.selectionStart,t.selectionStart),s=Math.min(W8(e.value,t.value),e.value.length-e.selectionEnd,t.value.length-t.selectionEnd);e.value.substring(i,e.value.length-s);const a=t.value.substring(i,t.value.length-s),l=e.selectionStart-i,u=e.selectionEnd-i,d=t.selectionStart-i,h=t.selectionEnd-i;if(d===h){const g=e.selectionStart-i;return{text:a,replacePrevCharCnt:g,replaceNextCharCnt:0,positionDelta:0}}const p=u-l;return{text:a,replacePrevCharCnt:p,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 n=Math.min(tE(e.value,t.value),e.selectionEnd),i=Math.min(W8(e.value,t.value),e.value.length-e.selectionEnd),s=e.value.substring(n,e.value.length-i),a=t.value.substring(n,t.value.length-i);e.selectionStart-n;const l=e.selectionEnd-n;t.selectionStart-n;const u=t.selectionEnd-n;return{text:a,replacePrevCharCnt:l,replaceNextCharCnt:s.length-l,positionDelta:u-a.length}}}_p.EMPTY=new _p(\"\",0,0,null,null);class Dx{static _getPageOfLine(e,t){return Math.floor((e-1)/t)}static _getRangeForPage(e,t){const n=e*t,i=n+1,s=n+t;return new He(i,1,s+1,1)}static fromEditorSelection(e,t,n,i,s){const a=Dx._getPageOfLine(n.startLineNumber,i),l=Dx._getRangeForPage(a,i),u=Dx._getPageOfLine(n.endLineNumber,i),d=Dx._getRangeForPage(u,i),h=l.intersectRanges(new He(1,1,n.startLineNumber,n.startColumn));let p=t.getValueInRange(h,1);const g=t.getLineCount(),y=t.getLineMaxColumn(g),D=d.intersectRanges(new He(n.endLineNumber,n.endColumn,g,y));let T=t.getValueInRange(D,1),k;if(a===u||a+1===u)k=t.getValueInRange(n,1);else{const I=l.intersectRanges(n),F=d.intersectRanges(n);k=t.getValueInRange(I,1)+String.fromCharCode(8230)+t.getValueInRange(F,1)}return s&&(p.length>500&&(p=p.substring(p.length-500,p.length)),T.length>500&&(T=T.substring(0,500)),k.length>2*500&&(k=k.substring(0,500)+String.fromCharCode(8230)+k.substring(k.length-500,k.length))),new _p(p+k+T,p.length,p.length+k.length,new Ii(n.startLineNumber,n.startColumn),new Ii(n.endLineNumber,n.endColumn))}}var o7;(function(o){o.Tap=\"-monaco-textarea-synthetic-tap\"})(o7||(o7={}));const kz={forceCopyWithSyntaxHighlighting:!1};class Y3{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)}}Y3.INSTANCE=new Y3;class mNe{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}}class yNe extends fr{constructor(e,t,n,i){super(),this._host=e,this._textArea=t,this._OS=n,this._browser=i,this._onFocus=this._register(new ri),this.onFocus=this._onFocus.event,this._onBlur=this._register(new ri),this.onBlur=this._onBlur.event,this._onKeyDown=this._register(new ri),this.onKeyDown=this._onKeyDown.event,this._onKeyUp=this._register(new ri),this.onKeyUp=this._onKeyUp.event,this._onCut=this._register(new ri),this.onCut=this._onCut.event,this._onPaste=this._register(new ri),this.onPaste=this._onPaste.event,this._onType=this._register(new ri),this.onType=this._onType.event,this._onCompositionStart=this._register(new ri),this.onCompositionStart=this._onCompositionStart.event,this._onCompositionUpdate=this._register(new ri),this.onCompositionUpdate=this._onCompositionUpdate.event,this._onCompositionEnd=this._register(new ri),this.onCompositionEnd=this._onCompositionEnd.event,this._onSelectionChangeRequest=this._register(new ri),this.onSelectionChangeRequest=this._onSelectionChangeRequest.event,this._asyncTriggerCut=this._register(new Bu(()=>this._onCut.fire(),0)),this._asyncFocusGainWriteScreenReaderContent=this._register(new Bu(()=>this.writeScreenReaderContent(\"asyncFocusGain\"),0)),this._textAreaState=_p.EMPTY,this._selectionChangeListener=null,this.writeScreenReaderContent(\"ctor\"),this._hasFocus=!1,this._currentComposition=null;let s=null;this._register(this._textArea.onKeyDown(a=>{const l=new _c(a);(l.keyCode===109||this._currentComposition&&l.keyCode===1)&&l.stopPropagation(),l.equals(9)&&l.preventDefault(),s=l,this._onKeyDown.fire(l)})),this._register(this._textArea.onKeyUp(a=>{const l=new _c(a);this._onKeyUp.fire(l)})),this._register(this._textArea.onCompositionStart(a=>{const l=new mNe;if(this._currentComposition){this._currentComposition=l;return}if(this._currentComposition=l,this._OS===2&&s&&s.equals(109)&&this._textAreaState.selectionStart===this._textAreaState.selectionEnd&&this._textAreaState.selectionStart>0&&this._textAreaState.value.substr(this._textAreaState.selectionStart-1,1)===a.data&&(s.code===\"ArrowRight\"||s.code===\"ArrowLeft\")){l.handleCompositionUpdate(\"x\"),this._onCompositionStart.fire({data:a.data});return}if(this._browser.isAndroid){this._onCompositionStart.fire({data:a.data});return}this._onCompositionStart.fire({data:a.data})})),this._register(this._textArea.onCompositionUpdate(a=>{const l=this._currentComposition;if(!l)return;if(this._browser.isAndroid){const d=_p.readFromTextArea(this._textArea),h=_p.deduceAndroidCompositionInput(this._textAreaState,d);this._textAreaState=d,this._onType.fire(h),this._onCompositionUpdate.fire(a);return}const u=l.handleCompositionUpdate(a.data);this._textAreaState=_p.readFromTextArea(this._textArea),this._onType.fire(u),this._onCompositionUpdate.fire(a)})),this._register(this._textArea.onCompositionEnd(a=>{const l=this._currentComposition;if(!l)return;if(this._currentComposition=null,this._browser.isAndroid){const d=_p.readFromTextArea(this._textArea),h=_p.deduceAndroidCompositionInput(this._textAreaState,d);this._textAreaState=d,this._onType.fire(h),this._onCompositionEnd.fire();return}const u=l.handleCompositionUpdate(a.data);this._textAreaState=_p.readFromTextArea(this._textArea),this._onType.fire(u),this._onCompositionEnd.fire()})),this._register(this._textArea.onInput(a=>{if(this._textArea.setIgnoreSelectionChangeTime(\"received input event\"),this._currentComposition)return;const l=_p.readFromTextArea(this._textArea),u=_p.deduceInput(this._textAreaState,l,this._OS===2);u.replacePrevCharCnt===0&&u.text.length===1&&eh(u.text.charCodeAt(0))||(this._textAreaState=l,(u.text!==\"\"||u.replacePrevCharCnt!==0||u.replaceNextCharCnt!==0||u.positionDelta!==0)&&this._onType.fire(u))})),this._register(this._textArea.onCut(a=>{this._textArea.setIgnoreSelectionChangeTime(\"received cut event\"),this._ensureClipboardGetsEditorSelection(a),this._asyncTriggerCut.schedule()})),this._register(this._textArea.onCopy(a=>{this._ensureClipboardGetsEditorSelection(a)})),this._register(this._textArea.onPaste(a=>{if(this._textArea.setIgnoreSelectionChangeTime(\"received paste event\"),a.preventDefault(),!a.clipboardData)return;let[l,u]=jre.getTextData(a.clipboardData);!l||(u=u||Y3.INSTANCE.get(l),this._onPaste.fire({text:l,metadata:u}))})),this._register(this._textArea.onFocus(()=>{const a=this._hasFocus;this._setHasFocus(!0),this._browser.isSafari&&!a&&this._hasFocus&&this._asyncFocusGainWriteScreenReaderContent.schedule()})),this._register(this._textArea.onBlur(()=>{this._currentComposition&&(this._currentComposition=null,this.writeScreenReaderContent(\"blurWithoutCompositionEnd\"),this._onCompositionEnd.fire()),this._setHasFocus(!1)})),this._register(this._textArea.onSyntheticTap(()=>{this._browser.isAndroid&&this._currentComposition&&(this._currentComposition=null,this.writeScreenReaderContent(\"tapWithoutCompositionEnd\"),this._onCompositionEnd.fire())}))}_installSelectionChangeListener(){let e=0;return hs(document,\"selectionchange\",t=>{if(!this._hasFocus||this._currentComposition||!this._browser.isChrome)return;const n=Date.now(),i=n-e;if(e=n,i<5)return;const s=n-this._textArea.getIgnoreSelectionChangeTime();if(this._textArea.resetSelectionChangeTime(),s<100||!this._textAreaState.selectionStartPosition||!this._textAreaState.selectionEndPosition)return;const a=this._textArea.getValue();if(this._textAreaState.value!==a)return;const l=this._textArea.getSelectionStart(),u=this._textArea.getSelectionEnd();if(this._textAreaState.selectionStart===l&&this._textAreaState.selectionEnd===u)return;const d=this._textAreaState.deduceEditorPosition(l),h=this._host.deduceModelPosition(d[0],d[1],d[2]),p=this._textAreaState.deduceEditorPosition(u),g=this._host.deduceModelPosition(p[0],p[1],p[2]),y=new oo(h.lineNumber,h.column,g.lineNumber,g.column);this._onSelectionChangeRequest.fire(y)})}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.writeScreenReaderContent(\"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}writeScreenReaderContent(e){this._currentComposition||this._setAndWriteTextAreaState(e,this._host.getScreenReaderContent(this._textAreaState))}_ensureClipboardGetsEditorSelection(e){const t=this._host.getDataToCopy(),n={version:1,isFromEmptySelection:t.isFromEmptySelection,multicursorText:t.multicursorText,mode:t.mode};Y3.INSTANCE.set(this._browser.isFirefox?t.text.replace(/\\r\\n/g,`\n`):t.text,n),e.preventDefault(),e.clipboardData&&jre.setTextData(e.clipboardData,t.text,t.html,n)}}class jre{static getTextData(e){const t=e.getData(u0.text);let n=null;const i=e.getData(\"vscode-editor-data\");if(typeof i==\"string\")try{n=JSON.parse(i),n.version!==1&&(n=null)}catch{}return[t,n]}static setTextData(e,t,n,i){e.setData(u0.text,t),typeof n==\"string\"&&e.setData(\"text/html\",n),e.setData(\"vscode-editor-data\",JSON.stringify(i))}}class bNe extends fr{constructor(e){super(),this._actual=e,this.onKeyDown=this._register(t0(this._actual,\"keydown\")).event,this.onKeyUp=this._register(t0(this._actual,\"keyup\")).event,this.onCompositionStart=this._register(t0(this._actual,\"compositionstart\")).event,this.onCompositionUpdate=this._register(t0(this._actual,\"compositionupdate\")).event,this.onCompositionEnd=this._register(t0(this._actual,\"compositionend\")).event,this.onInput=this._register(t0(this._actual,\"input\")).event,this.onCut=this._register(t0(this._actual,\"cut\")).event,this.onCopy=this._register(t0(this._actual,\"copy\")).event,this.onPaste=this._register(t0(this._actual,\"paste\")).event,this.onFocus=this._register(t0(this._actual,\"focus\")).event,this.onBlur=this._register(t0(this._actual,\"blur\")).event,this._onSyntheticTap=this._register(new ri),this.onSyntheticTap=this._onSyntheticTap.event,this._ignoreSelectionChangeTime=0,this._register(hs(this._actual,o7.Tap,()=>this._onSyntheticTap.fire()))}hasFocus(){const e=eC(this._actual);return e?e.activeElement===this._actual:iG(this._actual)?document.activeElement===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 n=this._actual;n.value!==t&&(this.setIgnoreSelectionChangeTime(\"setValue\"),n.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,n){const i=this._actual;let s=null;const a=eC(i);a?s=a.activeElement:s=document.activeElement;const l=s===i,u=i.selectionStart,d=i.selectionEnd;if(l&&u===t&&d===n){J_&&window.parent!==window&&i.focus();return}if(l){this.setIgnoreSelectionChangeTime(\"setSelectionRange\"),i.setSelectionRange(t,n),J_&&window.parent!==window&&i.focus();return}try{const h=z3e(i);this.setIgnoreSelectionChangeTime(\"setSelectionRange\"),i.focus(),i.setSelectionRange(t,n),U3e(i,h)}catch{}}}class vNe extends ND{constructor(e,t,n){super(e,t,n),this._register(Iu.addTarget(this.viewHelper.linesContentDomNode)),this._register(hs(this.viewHelper.linesContentDomNode,sc.Tap,s=>this.onTap(s))),this._register(hs(this.viewHelper.linesContentDomNode,sc.Change,s=>this.onChange(s))),this._register(hs(this.viewHelper.linesContentDomNode,sc.Contextmenu,s=>this._onContextMenu(new LD(s,this.viewHelper.viewDomNode),!1))),this._lastPointerType=\"mouse\",this._register(hs(this.viewHelper.linesContentDomNode,\"pointerdown\",s=>{const a=s.pointerType;if(a===\"mouse\"){this._lastPointerType=\"mouse\";return}else a===\"touch\"?this._lastPointerType=\"touch\":this._lastPointerType=\"pen\"}));const i=new eNe(this.viewHelper.viewDomNode);this._register(i.onPointerMoveThrottled(this.viewHelper.viewDomNode,s=>this._onMouseMove(s),s7(this.mouseTargetFactory),ND.MOUSE_MOVE_MINIMUM_TIME)),this._register(i.onPointerUp(this.viewHelper.viewDomNode,s=>this._onMouseUp(s))),this._register(i.onPointerLeave(this.viewHelper.viewDomNode,s=>this._onMouseLeave(s))),this._register(i.onPointerDown(this.viewHelper.viewDomNode,s=>this._onMouseDown(s)))}onTap(e){if(!e.initialTarget||!this.viewHelper.linesContentDomNode.contains(e.initialTarget))return;e.preventDefault(),this.viewHelper.focusTextArea();const t=this._createMouseTarget(new LD(e,this.viewHelper.viewDomNode),!1);t.position&&this.viewController.dispatchMouse({position:t.position,mouseColumn:t.position.column,startedOnLineNumbers:!1,mouseDownCount:e.tapCount,inSelectionMode:!1,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1,onInjectedText:t.type===6&&t.detail.injectedText!==null})}onChange(e){this._lastPointerType===\"touch\"&&this._context.viewModel.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)}_onMouseDown(e){e.browserEvent.pointerType!==\"touch\"&&super._onMouseDown(e)}}class CNe extends ND{constructor(e,t,n){super(e,t,n),this._register(Iu.addTarget(this.viewHelper.linesContentDomNode)),this._register(hs(this.viewHelper.linesContentDomNode,sc.Tap,i=>this.onTap(i))),this._register(hs(this.viewHelper.linesContentDomNode,sc.Change,i=>this.onChange(i))),this._register(hs(this.viewHelper.linesContentDomNode,sc.Contextmenu,i=>this._onContextMenu(new LD(i,this.viewHelper.viewDomNode),!1)))}onTap(e){e.preventDefault(),this.viewHelper.focusTextArea();const t=this._createMouseTarget(new LD(e,this.viewHelper.viewDomNode),!1);if(t.position){const n=document.createEvent(\"CustomEvent\");n.initEvent(o7.Tap,!1,!0),this.viewHelper.dispatchTextAreaEvent(n),this.viewController.moveTo(t.position)}}onChange(e){this._context.viewModel.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)}}class DNe extends fr{constructor(e,t,n){super(),m0&&LP.pointerEvents?this.handler=this._register(new vNe(e,t,n)):window.TouchEvent?this.handler=this._register(new CNe(e,t,n)):this.handler=this._register(new ND(e,t,n))}getTargetAtClientPoint(e,t){return this.handler.getTargetAtClientPoint(e,t)}}class KE extends s4{}const wNe=ln(\"editor.lineHighlightBackground\",{dark:null,light:null,hc:null},w(\"lineHighlight\",\"Background color for the highlight of line at the cursor position.\")),Wre=ln(\"editor.lineHighlightBorder\",{dark:\"#282828\",light:\"#eeeeee\",hc:\"#f38518\"},w(\"lineHighlightBorderBox\",\"Background color for the border around the line at the cursor position.\")),SNe=ln(\"editor.rangeHighlightBackground\",{dark:\"#ffffff0b\",light:\"#fdff0033\",hc:null},w(\"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),xNe=ln(\"editor.rangeHighlightBorder\",{dark:null,light:null,hc:Bp},w(\"rangeHighlightBorder\",\"Background color of the border around highlighted ranges.\"),!0),ENe=ln(\"editor.symbolHighlightBackground\",{dark:zv,light:zv,hc:null},w(\"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),TNe=ln(\"editor.symbolHighlightBorder\",{dark:null,light:null,hc:Bp},w(\"symbolHighlightBorder\",\"Background color of the border around highlighted symbols.\"),!0),Nce=ln(\"editorCursor.foreground\",{dark:\"#AEAFAD\",light:Xi.black,hc:Xi.white},w(\"caret\",\"Color of the editor cursor.\")),ANe=ln(\"editorCursor.background\",null,w(\"editorCursorBackground\",\"The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.\")),dD=ln(\"editorWhitespace.foreground\",{dark:\"#e3e4e229\",light:\"#33333333\",hc:\"#e3e4e229\"},w(\"editorWhitespaces\",\"Color of whitespace characters in the editor.\")),JP=ln(\"editorIndentGuide.background\",{dark:dD,light:dD,hc:dD},w(\"editorIndentGuides\",\"Color of the editor indentation guides.\")),YP=ln(\"editorIndentGuide.activeBackground\",{dark:dD,light:dD,hc:dD},w(\"editorActiveIndentGuide\",\"Color of the active editor indentation guides.\")),Ice=ln(\"editorLineNumber.foreground\",{dark:\"#858585\",light:\"#237893\",hc:Xi.white},w(\"editorLineNumbers\",\"Color of editor line numbers.\")),gV=ln(\"editorActiveLineNumber.foreground\",{dark:\"#c6c6c6\",light:\"#0B216F\",hc:Bp},w(\"editorActiveLineNumber\",\"Color of editor active line number\"),!1,w(\"deprecatedEditorActiveLineNumber\",\"Id is deprecated. Use 'editorLineNumber.activeForeground' instead.\")),kNe=ln(\"editorLineNumber.activeForeground\",{dark:gV,light:gV,hc:gV},w(\"editorActiveLineNumber\",\"Color of editor active line number\")),LNe=ln(\"editorRuler.foreground\",{dark:\"#5A5A5A\",light:Xi.lightgrey,hc:Xi.white},w(\"editorRuler\",\"Color of the editor rulers.\"));ln(\"editorCodeLens.foreground\",{dark:\"#999999\",light:\"#919191\",hc:\"#999999\"},w(\"editorCodeLensForeground\",\"Foreground color of editor CodeLens\"));const NNe=ln(\"editorBracketMatch.background\",{dark:\"#0064001a\",light:\"#0064001a\",hc:\"#0064001a\"},w(\"editorBracketMatchBackground\",\"Background color behind matching brackets\")),Fce=ln(\"editorBracketMatch.border\",{dark:\"#888\",light:\"#B9B9B9\",hc:Sc},w(\"editorBracketMatchBorder\",\"Color for matching brackets boxes\")),INe=ln(\"editorOverviewRuler.border\",{dark:\"#7f7f7f4d\",light:\"#7f7f7f4d\",hc:\"#7f7f7f4d\"},w(\"editorOverviewRulerBorder\",\"Color of the overview ruler border.\")),FNe=ln(\"editorOverviewRuler.background\",null,w(\"editorOverviewRulerBackground\",\"Background color of the editor overview ruler. Only used when the minimap is enabled and placed on the right side of the editor.\")),PNe=ln(\"editorGutter.background\",{dark:Rf,light:Rf,hc:Rf},w(\"editorGutter\",\"Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.\")),ONe=ln(\"editorUnnecessaryCode.border\",{dark:null,light:null,hc:Xi.fromHex(\"#fff\").transparent(.8)},w(\"unnecessaryCodeBorder\",\"Border color of unnecessary (unused) source code in the editor.\")),MNe=ln(\"editorUnnecessaryCode.opacity\",{dark:Xi.fromHex(\"#000a\"),light:Xi.fromHex(\"#0007\"),hc:null},w(\"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.`)),RNe=ln(\"editorGhostText.border\",{dark:null,light:null,hc:Xi.fromHex(\"#fff\").transparent(.8)},w(\"editorGhostTextBorder\",\"Border color of ghost text in the editor.\")),BNe=ln(\"editorGhostText.foreground\",{dark:Xi.fromHex(\"#ffffff56\"),light:Xi.fromHex(\"#0007\"),hc:null},w(\"editorGhostTextForeground\",\"Foreground color of the ghost text in the editor.\")),jNe=ln(\"editorGhostText.background\",{dark:null,light:null,hc:null},w(\"editorGhostTextBackground\",\"Background color of the ghost text in the editor.\")),mV=new Xi(new Ml(0,122,204,.6)),WNe=ln(\"editorOverviewRuler.rangeHighlightForeground\",{dark:mV,light:mV,hc:mV},w(\"overviewRulerRangeHighlight\",\"Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations.\"),!0),VNe=ln(\"editorOverviewRuler.errorForeground\",{dark:new Xi(new Ml(255,18,18,.7)),light:new Xi(new Ml(255,18,18,.7)),hc:new Xi(new Ml(255,50,50,1))},w(\"overviewRuleError\",\"Overview ruler marker color for errors.\")),HNe=ln(\"editorOverviewRuler.warningForeground\",{dark:Sm,light:Sm,hc:UP},w(\"overviewRuleWarning\",\"Overview ruler marker color for warnings.\")),$Ne=ln(\"editorOverviewRuler.infoForeground\",{dark:G_,light:G_,hc:gG},w(\"overviewRuleInfo\",\"Overview ruler marker color for infos.\")),Pce=ln(\"editorBracketHighlight.foreground1\",{dark:\"#FFD700\",light:\"#0431FAFF\",hc:\"#FFD700\"},w(\"editorBracketHighlightForeground1\",\"Foreground color of brackets (1). Requires enabling bracket pair colorization.\")),Oce=ln(\"editorBracketHighlight.foreground2\",{dark:\"#DA70D6\",light:\"#319331FF\",hc:\"#DA70D6\"},w(\"editorBracketHighlightForeground2\",\"Foreground color of brackets (2). Requires enabling bracket pair colorization.\")),Mce=ln(\"editorBracketHighlight.foreground3\",{dark:\"#179FFF\",light:\"#7B3814FF\",hc:\"#87CEFA\"},w(\"editorBracketHighlightForeground3\",\"Foreground color of brackets (3). Requires enabling bracket pair colorization.\")),Rce=ln(\"editorBracketHighlight.foreground4\",{dark:\"#00000000\",light:\"#00000000\",hc:\"#00000000\"},w(\"editorBracketHighlightForeground4\",\"Foreground color of brackets (4). Requires enabling bracket pair colorization.\")),Bce=ln(\"editorBracketHighlight.foreground5\",{dark:\"#00000000\",light:\"#00000000\",hc:\"#00000000\"},w(\"editorBracketHighlightForeground5\",\"Foreground color of brackets (5). Requires enabling bracket pair colorization.\")),jce=ln(\"editorBracketHighlight.foreground6\",{dark:\"#00000000\",light:\"#00000000\",hc:\"#00000000\"},w(\"editorBracketHighlightForeground6\",\"Foreground color of brackets (6). Requires enabling bracket pair colorization.\")),zNe=ln(\"editorBracketHighlight.unexpectedBracket.foreground\",{dark:new Xi(new Ml(255,18,18,.8)),light:new Xi(new Ml(255,18,18,.8)),hc:new Xi(new Ml(255,50,50,1))},w(\"editorBracketHighlightUnexpectedBracketForeground\",\"Foreground color of unexpected brackets.\")),UNe=ln(\"editorBracketPairGuide.background1\",{dark:\"#00000000\",light:\"#00000000\",hc:\"#00000000\"},w(\"editorBracketPairGuide.background1\",\"Background color of inactive bracket pair guides (1). Requires enabling bracket pair guides.\")),KNe=ln(\"editorBracketPairGuide.background2\",{dark:\"#00000000\",light:\"#00000000\",hc:\"#00000000\"},w(\"editorBracketPairGuide.background2\",\"Background color of inactive bracket pair guides (2). Requires enabling bracket pair guides.\")),qNe=ln(\"editorBracketPairGuide.background3\",{dark:\"#00000000\",light:\"#00000000\",hc:\"#00000000\"},w(\"editorBracketPairGuide.background3\",\"Background color of inactive bracket pair guides (3). Requires enabling bracket pair guides.\")),GNe=ln(\"editorBracketPairGuide.background4\",{dark:\"#00000000\",light:\"#00000000\",hc:\"#00000000\"},w(\"editorBracketPairGuide.background4\",\"Background color of inactive bracket pair guides (4). Requires enabling bracket pair guides.\")),JNe=ln(\"editorBracketPairGuide.background5\",{dark:\"#00000000\",light:\"#00000000\",hc:\"#00000000\"},w(\"editorBracketPairGuide.background5\",\"Background color of inactive bracket pair guides (5). Requires enabling bracket pair guides.\")),YNe=ln(\"editorBracketPairGuide.background6\",{dark:\"#00000000\",light:\"#00000000\",hc:\"#00000000\"},w(\"editorBracketPairGuide.background6\",\"Background color of inactive bracket pair guides (6). Requires enabling bracket pair guides.\")),XNe=ln(\"editorBracketPairGuide.activeBackground1\",{dark:\"#00000000\",light:\"#00000000\",hc:\"#00000000\"},w(\"editorBracketPairGuide.activeBackground1\",\"Background color of active bracket pair guides (1). Requires enabling bracket pair guides.\")),QNe=ln(\"editorBracketPairGuide.activeBackground2\",{dark:\"#00000000\",light:\"#00000000\",hc:\"#00000000\"},w(\"editorBracketPairGuide.activeBackground2\",\"Background color of active bracket pair guides (2). Requires enabling bracket pair guides.\")),ZNe=ln(\"editorBracketPairGuide.activeBackground3\",{dark:\"#00000000\",light:\"#00000000\",hc:\"#00000000\"},w(\"editorBracketPairGuide.activeBackground3\",\"Background color of active bracket pair guides (3). Requires enabling bracket pair guides.\")),e6e=ln(\"editorBracketPairGuide.activeBackground4\",{dark:\"#00000000\",light:\"#00000000\",hc:\"#00000000\"},w(\"editorBracketPairGuide.activeBackground4\",\"Background color of active bracket pair guides (4). Requires enabling bracket pair guides.\")),t6e=ln(\"editorBracketPairGuide.activeBackground5\",{dark:\"#00000000\",light:\"#00000000\",hc:\"#00000000\"},w(\"editorBracketPairGuide.activeBackground5\",\"Background color of active bracket pair guides (5). Requires enabling bracket pair guides.\")),n6e=ln(\"editorBracketPairGuide.activeBackground6\",{dark:\"#00000000\",light:\"#00000000\",hc:\"#00000000\"},w(\"editorBracketPairGuide.activeBackground6\",\"Background color of active bracket pair guides (6). Requires enabling bracket pair guides.\"));ln(\"editorUnicodeHighlight.border\",{dark:\"#BD9B03\",light:\"#CEA33D\",hc:\"#ff0000\"},w(\"editorUnicodeHighlight.border\",\"Border color used to highlight unicode characters.\"));ac((o,e)=>{const t=o.getColor(Rf);t&&e.addRule(`.monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input { background-color: ${t}; }`);const n=o.getColor(Hv);n&&e.addRule(`.monaco-editor, .monaco-editor .inputarea.ime-input { color: ${n}; }`);const i=o.getColor(PNe);i&&e.addRule(`.monaco-editor .margin { background-color: ${i}; }`);const s=o.getColor(SNe);s&&e.addRule(`.monaco-editor .rangeHighlight { background-color: ${s}; }`);const a=o.getColor(xNe);a&&e.addRule(`.monaco-editor .rangeHighlight { border: 1px ${o.type===\"hc\"?\"dotted\":\"solid\"} ${a}; }`);const l=o.getColor(ENe);l&&e.addRule(`.monaco-editor .symbolHighlight { background-color: ${l}; }`);const u=o.getColor(TNe);u&&e.addRule(`.monaco-editor .symbolHighlight { border: 1px ${o.type===\"hc\"?\"dotted\":\"solid\"} ${u}; }`);const d=o.getColor(dD);d&&(e.addRule(`.monaco-editor .mtkw { color: ${d} !important; }`),e.addRule(`.monaco-editor .mtkz { color: ${d} !important; }`))});class cE extends KE{constructor(e){super(),this._context=e,this._readConfig(),this._lastCursorModelPosition=new Ii(1,1),this._renderResult=null,this._activeLineNumber=1,this._context.addEventHandler(this)}_readConfig(){const e=this._context.configuration.options;this._lineHeight=e.get(59);const t=e.get(60);this._renderLineNumbers=t.renderType,this._renderCustomLineNumbers=t.renderFn,this._renderFinalNewline=e.get(84);const n=e.get(131);this._lineNumbersLeft=n.lineNumbersLeft,this._lineNumbersWidth=n.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 n=!1;return this._activeLineNumber!==t.lineNumber&&(this._activeLineNumber=t.lineNumber,n=!0),(this._renderLineNumbers===2||this._renderLineNumbers===3)&&(n=!0),n}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}_getLineRenderLineNumber(e){const t=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new Ii(e,1));if(t.column!==1)return\"\";const n=t.lineNumber;if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(n);if(this._renderLineNumbers===2){const i=Math.abs(this._lastCursorModelPosition.lineNumber-n);return i===0?'<span class=\"relative-current-line-number\">'+n+\"</span>\":String(i)}return this._renderLineNumbers===3?this._lastCursorModelPosition.lineNumber===n||n%10===0?String(n):\"\":String(n)}prepareRender(e){if(this._renderLineNumbers===0){this._renderResult=null;return}const t=vp?this._lineHeight%2===0?\" lh-even\":\" lh-odd\":\"\",n=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,s='<div class=\"'+cE.CLASS_NAME+t+'\" style=\"left:'+this._lineNumbersLeft+\"px;width:\"+this._lineNumbersWidth+'px;\">',a=this._context.viewModel.getLineCount(),l=[];for(let u=n;u<=i;u++){const d=u-n;if(!this._renderFinalNewline&&u===a&&this._context.viewModel.getLineLength(u)===0){l[d]=\"\";continue}const h=this._getLineRenderLineNumber(u);h?u===this._activeLineNumber?l[d]='<div class=\"active-line-number '+cE.CLASS_NAME+t+'\" style=\"left:'+this._lineNumbersLeft+\"px;width:\"+this._lineNumbersWidth+'px;\">'+h+\"</div>\":l[d]=s+h+\"</div>\":l[d]=\"\"}this._renderResult=l}render(e,t){if(!this._renderResult)return\"\";const n=t-e;return n<0||n>=this._renderResult.length?\"\":this._renderResult[n]}}cE.CLASS_NAME=\"line-numbers\";ac((o,e)=>{const t=o.getColor(Ice);t&&e.addRule(`.monaco-editor .line-numbers { color: ${t}; }`);const n=o.getColor(kNe);n&&e.addRule(`.monaco-editor .line-numbers.active-line-number { color: ${n}; }`)});class ID extends Rg{constructor(e){super(e);const t=this._context.configuration.options,n=t.get(131);this._canUseLayerHinting=!t.get(28),this._contentLeft=n.contentLeft,this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,this._domNode=ru(document.createElement(\"div\")),this._domNode.setClassName(ID.OUTER_CLASS_NAME),this._domNode.setPosition(\"absolute\"),this._domNode.setAttribute(\"role\",\"presentation\"),this._domNode.setAttribute(\"aria-hidden\",\"true\"),this._glyphMarginBackgroundDomNode=ru(document.createElement(\"div\")),this._glyphMarginBackgroundDomNode.setClassName(ID.CLASS_NAME),this._domNode.appendChild(this._glyphMarginBackgroundDomNode)}dispose(){super.dispose()}getDomNode(){return this._domNode}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(131);return this._canUseLayerHinting=!t.get(28),this._contentLeft=n.contentLeft,this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.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 n=Math.min(e.scrollHeight,1e6);this._domNode.setHeight(n),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(n)}}ID.CLASS_NAME=\"glyph-margin\";ID.OUTER_CLASS_NAME=\"margin\";const hD=\"monaco-mouse-cursor-text\";class i6e{constructor(e,t,n,i,s){this._context=e,this.modelLineNumber=t,this.distanceToModelLineStart=n,this.widthOfHiddenLineTextBefore=i,this.distanceToModelLineEnd=s,this._visibleTextAreaBrand=void 0,this.startPosition=null,this.endPosition=null,this.visibleTextareaStart=null,this.visibleTextareaEnd=null,this._previousPresentation=null}prepareRender(e){const t=new Ii(this.modelLineNumber,this.distanceToModelLineStart+1),n=new Ii(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(n),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 Dk=J_;class r6e extends Rg{constructor(e,t,n){super(e),this._primaryCursorPosition=new Ii(1,1),this._primaryCursorVisibleRange=null,this._viewController=t,this._visibleRangeProvider=n,this._scrollLeft=0,this._scrollTop=0;const i=this._context.configuration.options,s=i.get(131);this._setAccessibilityOptions(i),this._contentLeft=s.contentLeft,this._contentWidth=s.contentWidth,this._contentHeight=s.height,this._fontInfo=i.get(44),this._lineHeight=i.get(59),this._emptySelectionClipboard=i.get(32),this._copyWithSyntaxHighlighting=i.get(21),this._visibleTextArea=null,this._selections=[new oo(1,1,1,1)],this._modelSelections=[new oo(1,1,1,1)],this._lastRenderPosition=null,this.textArea=ru(document.createElement(\"textarea\")),Y1.write(this.textArea,6),this.textArea.setClassName(`inputarea ${hD}`),this.textArea.setAttribute(\"wrap\",\"off\"),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(i)),this.textArea.setAttribute(\"tabindex\",String(i.get(112))),this.textArea.setAttribute(\"role\",\"textbox\"),this.textArea.setAttribute(\"aria-roledescription\",w(\"editor\",\"editor\")),this.textArea.setAttribute(\"aria-multiline\",\"true\"),this.textArea.setAttribute(\"aria-haspopup\",\"false\"),this.textArea.setAttribute(\"aria-autocomplete\",\"both\"),i.get(30)&&i.get(81)&&this.textArea.setAttribute(\"readonly\",\"true\"),this.textAreaCover=ru(document.createElement(\"div\")),this.textAreaCover.setPosition(\"absolute\");const a={getLineCount:()=>this._context.viewModel.getLineCount(),getLineMaxColumn:d=>this._context.viewModel.getLineMaxColumn(d),getValueInRange:(d,h)=>this._context.viewModel.getValueInRange(d,h)},l={getDataToCopy:()=>{const d=this._context.viewModel.getPlainTextToCopy(this._modelSelections,this._emptySelectionClipboard,Ph),h=this._context.viewModel.model.getEOL(),p=this._emptySelectionClipboard&&this._modelSelections.length===1&&this._modelSelections[0].isEmpty(),g=Array.isArray(d)?d:null,y=Array.isArray(d)?d.join(h):d;let D,T=null;if(kz.forceCopyWithSyntaxHighlighting||this._copyWithSyntaxHighlighting&&y.length<65536){const k=this._context.viewModel.getRichTextToCopy(this._modelSelections,this._emptySelectionClipboard);k&&(D=k.html,T=k.mode)}return{isFromEmptySelection:p,multicursorText:g,text:y,html:D,mode:T}},getScreenReaderContent:d=>{if(this._accessibilitySupport===1){if(El){const h=this._selections[0];if(h.isEmpty()){const p=h.getStartPosition();let g=this._getWordBeforePosition(p);if(g.length===0&&(g=this._getCharacterBeforePosition(p)),g.length>0)return new _p(g,g.length,g.length,p,p)}}return _p.EMPTY}if(aue){const h=this._selections[0];if(h.isEmpty()){const p=h.getStartPosition(),[g,y]=this._getAndroidWordAtPosition(p);if(g.length>0)return new _p(g,y,y,p,p)}return _p.EMPTY}return Dx.fromEditorSelection(d,a,this._selections[0],this._accessibilityPageSize,this._accessibilitySupport===0)},deduceModelPosition:(d,h,p)=>this._context.viewModel.deduceModelPositionRelativeToViewPosition(d,h,p)},u=this._register(new bNe(this.textArea.domNode));this._textAreaInput=this._register(new yNe(l,u,bg,DAe)),this._register(this._textAreaInput.onKeyDown(d=>{this._viewController.emitKeyDown(d)})),this._register(this._textAreaInput.onKeyUp(d=>{this._viewController.emitKeyUp(d)})),this._register(this._textAreaInput.onPaste(d=>{let h=!1,p=null,g=null;d.metadata&&(h=this._emptySelectionClipboard&&!!d.metadata.isFromEmptySelection,p=typeof d.metadata.multicursorText!=\"undefined\"?d.metadata.multicursorText:null,g=d.metadata.mode),this._viewController.paste(d.text,h,p,g)})),this._register(this._textAreaInput.onCut(()=>{this._viewController.cut()})),this._register(this._textAreaInput.onType(d=>{d.replacePrevCharCnt||d.replaceNextCharCnt||d.positionDelta?this._viewController.compositionType(d.text,d.replacePrevCharCnt,d.replaceNextCharCnt,d.positionDelta):this._viewController.type(d.text)})),this._register(this._textAreaInput.onSelectionChangeRequest(d=>{this._viewController.setSelection(d)})),this._register(this._textAreaInput.onCompositionStart(d=>{const h=this.textArea.domNode,p=this._modelSelections[0],{distanceToModelLineStart:g,widthOfHiddenTextBefore:y}=(()=>{const T=h.value.substring(0,Math.min(h.selectionStart,h.selectionEnd)),k=T.lastIndexOf(`\n`),I=T.substring(k+1),F=I.lastIndexOf(\"\t\"),q=I.length-F-1,re=p.getStartPosition(),Ie=Math.min(re.column-1,q),mt=re.column-1-Ie,Le=I.substring(0,I.length-Ie),Ge=s6e(Le,this._fontInfo);return{distanceToModelLineStart:mt,widthOfHiddenTextBefore:Ge}})(),{distanceToModelLineEnd:D}=(()=>{const T=h.value.substring(Math.max(h.selectionStart,h.selectionEnd)),k=T.indexOf(`\n`),I=k===-1?T:T.substring(0,k),F=I.indexOf(\"\t\"),q=F===-1?I.length:I.length-F-1,re=p.getEndPosition(),Ie=Math.min(this._context.viewModel.model.getLineMaxColumn(re.lineNumber)-re.column,q);return{distanceToModelLineEnd:this._context.viewModel.model.getLineMaxColumn(re.lineNumber)-re.column-Ie}})();this._context.viewModel.revealRange(\"keyboard\",!0,He.fromPositions(this._selections[0].getStartPosition()),0,1),this._visibleTextArea=new i6e(this._context,p.startLineNumber,g,y,D),this._visibleTextArea.prepareRender(this._visibleRangeProvider),this._render(),this.textArea.setClassName(`inputarea ${hD} ime-input`),this._viewController.compositionStart(),this._context.viewModel.onCompositionStart()})),this._register(this._textAreaInput.onCompositionUpdate(d=>{!this._visibleTextArea||(this._visibleTextArea.prepareRender(this._visibleRangeProvider),this._render())})),this._register(this._textAreaInput.onCompositionEnd(()=>{this._visibleTextArea=null,this._render(),this.textArea.setClassName(`inputarea ${hD}`),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)}))}dispose(){super.dispose()}_getAndroidWordAtPosition(e){const t='`~!@#$%^&*()-=+[{]}\\\\|;:\",.<>/?',n=this._context.viewModel.getLineContent(e.lineNumber),i=Fg(t);let s=!0,a=e.column,l=!0,u=e.column,d=0;for(;d<50&&(s||l);){if(s&&a<=1&&(s=!1),s){const h=n.charCodeAt(a-2);i.get(h)!==0?s=!1:a--}if(l&&u>n.length&&(l=!1),l){const h=n.charCodeAt(u-1);i.get(h)!==0?l=!1:u++}d++}return[n.substring(a-1,u-1),e.column-a]}_getWordBeforePosition(e){const t=this._context.viewModel.getLineContent(e.lineNumber),n=Fg(this._context.configuration.options.get(117));let i=e.column,s=0;for(;i>1;){const a=t.charCodeAt(i-2);if(n.get(a)!==0||s>50)return t.substring(i-1,e.column-1);s++,i--}return t.substring(0,e.column-1)}_getCharacterBeforePosition(e){if(e.column>1){const n=this._context.viewModel.getLineContent(e.lineNumber).charAt(e.column-2);if(!eh(n.charCodeAt(0)))return n}return\"\"}_getAriaLabel(e){return e.get(2)===1?w(\"accessibilityOffAriaLabel\",\"The editor is not accessible at this time. Press {0} for options.\",vp?\"Shift+Alt+F1\":\"Alt+F1\"):e.get(4)}_setAccessibilityOptions(e){this._accessibilitySupport=e.get(2);const t=e.get(3);this._accessibilitySupport===2&&t===S0.accessibilityPageSize.defaultValue?this._accessibilityPageSize=500:this._accessibilityPageSize=t}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(131);return this._setAccessibilityOptions(t),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,this._contentHeight=n.height,this._fontInfo=t.get(44),this._lineHeight=t.get(59),this._emptySelectionClipboard=t.get(32),this._copyWithSyntaxHighlighting=t.get(21),this.textArea.setAttribute(\"aria-label\",this._getAriaLabel(t)),this.textArea.setAttribute(\"tabindex\",String(t.get(112))),(e.hasChanged(30)||e.hasChanged(81))&&(t.get(30)&&t.get(81)?this.textArea.setAttribute(\"readonly\",\"true\"):this.textArea.removeAttribute(\"readonly\")),e.hasChanged(2)&&this._textAreaInput.writeScreenReaderContent(\"strategy changed\"),!0}onCursorStateChanged(e){return this._selections=e.selections.slice(0),this._modelSelections=e.modelSelections.slice(0),this._textAreaInput.writeScreenReaderContent(\"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)}prepareRender(e){this._primaryCursorPosition=new Ii(this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=e.visibleRangeForPosition(this._primaryCursorPosition),this._visibleTextArea&&this._visibleTextArea.prepareRender(e)}render(e){this._textAreaInput.writeScreenReaderContent(\"render\"),this._render()}_render(){if(this._visibleTextArea){const n=this._visibleTextArea.visibleTextareaStart,i=this._visibleTextArea.visibleTextareaEnd,s=this._visibleTextArea.startPosition,a=this._visibleTextArea.endPosition;if(s&&a&&n&&i&&i.left>=this._scrollLeft&&n.left<=this._scrollLeft+this._contentWidth){const l=this._context.viewLayout.getVerticalOffsetForLineNumber(this._primaryCursorPosition.lineNumber)-this._scrollTop,u=this._newlinecount(this.textArea.domNode.value.substr(0,this.textArea.domNode.selectionStart));let d=this._visibleTextArea.widthOfHiddenLineTextBefore,h=this._contentLeft+n.left-this._scrollLeft,p=i.left-n.left+1;if(h<this._contentLeft){const I=this._contentLeft-h;h+=I,d+=I,p-=I}p>this._contentWidth&&(p=this._contentWidth);const g=this._context.viewModel.getViewLineData(s.lineNumber),y=g.tokens.findTokenIndexAtOffset(s.column-1),D=g.tokens.findTokenIndexAtOffset(a.column-1),T=y===D,k=this._visibleTextArea.definePresentation(T?g.tokens.getPresentation(y):null);this.textArea.domNode.scrollTop=u*this._lineHeight,this.textArea.domNode.scrollLeft=d,this._doRender({lastRenderPosition:null,top:l,left:h,width:p,height:this._lineHeight,useCover:!1,color:(Ic.getColorMap()||[])[k.foreground],italic:k.italic,bold:k.bold,underline:k.underline,strikethrough:k.strikethrough})}return}if(!this._primaryCursorVisibleRange){this._renderAtTopLeft();return}const e=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(e<this._contentLeft||e>this._contentLeft+this._contentWidth){this._renderAtTopLeft();return}const t=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;if(t<0||t>this._contentHeight){this._renderAtTopLeft();return}if(El){this._doRender({lastRenderPosition:this._primaryCursorPosition,top:t,left:e,width:Dk?0:1,height:this._lineHeight,useCover:!1}),this.textArea.domNode.scrollLeft=this._primaryCursorVisibleRange.left;const n=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:t,left:e,width:Dk?0:1,height:Dk?0:1,useCover:!1})}_newlinecount(e){let t=0,n=-1;do{if(n=e.indexOf(`\n`,n+1),n===-1)break;t++}while(!0);return t}_renderAtTopLeft(){this._doRender({lastRenderPosition:null,top:0,left:0,width:Dk?0:1,height:Dk?0:1,useCover:!0})}_doRender(e){this._lastRenderPosition=e.lastRenderPosition;const t=this.textArea,n=this.textAreaCover;bp(t,this._fontInfo),t.setTop(e.top),t.setLeft(e.left),t.setWidth(e.width),t.setHeight(e.height),t.setColor(e.color?Xi.Format.CSS.formatHex(e.color):\"\"),t.setFontStyle(e.italic?\"italic\":\"\"),e.bold&&t.setFontWeight(\"bold\"),t.setTextDecoration(`${e.underline?\" underline\":\"\"}${e.strikethrough?\" line-through\":\"\"}`),n.setTop(e.useCover?e.top:0),n.setLeft(e.useCover?e.left:0),n.setWidth(e.useCover?e.width:0),n.setHeight(e.useCover?e.height:0);const i=this._context.configuration.options;i.get(50)?n.setClassName(\"monaco-editor-background textAreaCover \"+ID.OUTER_CLASS_NAME):i.get(60).renderType!==0?n.setClassName(\"monaco-editor-background textAreaCover \"+cE.CLASS_NAME):n.setClassName(\"monaco-editor-background textAreaCover\")}}function s6e(o,e){if(o.length===0)return 0;const t=document.createElement(\"div\");t.style.position=\"absolute\",t.style.top=\"-50000px\",t.style.width=\"50000px\";const n=document.createElement(\"span\");bp(n,e),n.style.whiteSpace=\"pre\",n.append(o),t.appendChild(n),document.body.appendChild(t);const i=n.offsetWidth;return document.body.removeChild(t),i}function o6e(o,e,t){let n=0;for(let s=0;s<o.length;s++)o.charAt(s)===\"\t\"?n+=e:n++;let i=\"\";if(!t){const s=Math.floor(n/e);n=n%e;for(let a=0;a<s;a++)i+=\"\t\"}for(let s=0;s<n;s++)i+=\" \";return i}function a7(o,e,t){let n=pf(o);return n===-1&&(n=o.length),o6e(o.substring(0,n),e,t)+o.substring(n)}const a6e=()=>!0,l6e=()=>!1,u6e=o=>o===\" \"||o===\"\t\";class qS{constructor(e,t,n,i){this.languageConfigurationService=i,this._cursorMoveConfigurationBrand=void 0,this._languageId=e;const s=n.options,a=s.get(131);this.readOnly=s.get(81),this.tabSize=t.tabSize,this.indentSize=t.indentSize,this.insertSpaces=t.insertSpaces,this.stickyTabStops=s.get(104),this.lineHeight=s.get(59),this.pageSize=Math.max(1,Math.floor(a.height/this.lineHeight)-2),this.useTabStops=s.get(116),this.wordSeparators=s.get(117),this.emptySelectionClipboard=s.get(32),this.copyWithSyntaxHighlighting=s.get(21),this.multiCursorMergeOverlapping=s.get(69),this.multiCursorPaste=s.get(71),this.autoClosingBrackets=s.get(5),this.autoClosingQuotes=s.get(8),this.autoClosingDelete=s.get(6),this.autoClosingOvertype=s.get(7),this.autoSurround=s.get(11),this.autoIndent=s.get(9),this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:this._getShouldAutoClose(e,this.autoClosingQuotes),bracket:this._getShouldAutoClose(e,this.autoClosingBrackets)},this.autoClosingPairs=this.languageConfigurationService.getLanguageConfiguration(e).getAutoClosingPairs();const l=this.languageConfigurationService.getLanguageConfiguration(e).getSurroundingPairs();if(l)for(const u of l)this.surroundingPairs[u.open]=u.close}static shouldRecreate(e){return e.hasChanged(131)||e.hasChanged(117)||e.hasChanged(32)||e.hasChanged(69)||e.hasChanged(71)||e.hasChanged(5)||e.hasChanged(8)||e.hasChanged(6)||e.hasChanged(7)||e.hasChanged(11)||e.hasChanged(116)||e.hasChanged(59)||e.hasChanged(81)}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 n of t)this._electricChars[n]=!0}return this._electricChars}onElectricCharacter(e,t,n){const i=$8(t,n-1),s=this.languageConfigurationService.getLanguageConfiguration(i.languageId).electricCharacter;return s?s.onElectricCharacter(e,i,n-i.firstCharOffset):null}normalizeIndentation(e){return a7(e,this.indentSize,this.insertSpaces)}_getShouldAutoClose(e,t){switch(t){case\"beforeWhitespace\":return u6e;case\"languageDefined\":return this._getLanguageDefinedShouldAutoClose(e);case\"always\":return a6e;case\"never\":return l6e}}_getLanguageDefinedShouldAutoClose(e){const t=this.languageConfigurationService.getLanguageConfiguration(e).getAutoCloseBeforeSet();return n=>t.indexOf(n)!==-1}visibleColumnFromColumn(e,t){return Zd.visibleColumnFromColumn(e.getLineContent(t.lineNumber),t.column,this.tabSize)}columnFromVisibleColumn(e,t,n){const i=Zd.columnFromVisibleColumn(e.getLineContent(t),n,this.tabSize),s=e.getLineMinColumn(t);if(i<s)return s;const a=e.getLineMaxColumn(t);return i>a?a:i}}class Sl{constructor(e,t){this._cursorStateBrand=void 0,this.modelState=e,this.viewState=t}static fromModelState(e){return new c6e(e)}static fromViewState(e){return new d6e(e)}static fromModelSelection(e){const t=oo.liftSelection(e),n=new Nh(He.fromPositions(t.getSelectionStart()),0,t.getPosition(),0);return Sl.fromModelState(n)}static fromModelSelections(e){const t=[];for(let n=0,i=e.length;n<i;n++)t[n]=this.fromModelSelection(e[n]);return t}equals(e){return this.viewState.equals(e.viewState)&&this.modelState.equals(e.modelState)}}class c6e{constructor(e){this.modelState=e,this.viewState=null}}class d6e{constructor(e){this.modelState=null,this.viewState=e}}class Nh{constructor(e,t,n,i){this._singleCursorStateBrand=void 0,this.selectionStart=e,this.selectionStartLeftoverVisibleColumns=t,this.position=n,this.leftoverVisibleColumns=i,this.selection=Nh._computeSelection(this.selectionStart,this.position)}equals(e){return this.selectionStartLeftoverVisibleColumns===e.selectionStartLeftoverVisibleColumns&&this.leftoverVisibleColumns===e.leftoverVisibleColumns&&this.position.equals(e.position)&&this.selectionStart.equalsRange(e.selectionStart)}hasSelection(){return!this.selection.isEmpty()||!this.selectionStart.isEmpty()}move(e,t,n,i){return e?new Nh(this.selectionStart,this.selectionStartLeftoverVisibleColumns,new Ii(t,n),i):new Nh(new He(t,n,t,n),i,new Ii(t,n),i)}static _computeSelection(e,t){return e.isEmpty()||!t.isBeforeOrEqual(e.getStartPosition())?oo.fromPositions(e.getStartPosition(),t):oo.fromPositions(e.getEndPosition(),t)}}class n_{constructor(e,t,n){this._editOperationResultBrand=void 0,this.type=e,this.commands=t,this.shouldPushStackElementBefore=n.shouldPushStackElementBefore,this.shouldPushStackElementAfter=n.shouldPushStackElementAfter}}function cx(o){return o===\"'\"||o==='\"'||o===\"`\"}class V2{static columnSelect(e,t,n,i,s,a){const l=Math.abs(s-n)+1,u=n>s,d=i>a,h=i<a,p=[];for(let g=0;g<l;g++){const y=n+(u?-g:g),D=e.columnFromVisibleColumn(t,y,i),T=e.columnFromVisibleColumn(t,y,a),k=e.visibleColumnFromColumn(t,new Ii(y,D)),I=e.visibleColumnFromColumn(t,new Ii(y,T));h&&(k>a||I<i)||d&&(I>i||k<a)||p.push(new Nh(new He(y,D,y,D),0,new Ii(y,T),0))}if(p.length===0)for(let g=0;g<l;g++){const y=n+(u?-g:g),D=t.getLineMaxColumn(y);p.push(new Nh(new He(y,D,y,D),0,new Ii(y,D),0))}return{viewStates:p,reversed:u,fromLineNumber:n,fromVisualColumn:i,toLineNumber:s,toVisualColumn:a}}static columnSelectLeft(e,t,n){let i=n.toViewVisualColumn;return i>0&&i--,V2.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,n.toViewLineNumber,i)}static columnSelectRight(e,t,n){let i=0;const s=Math.min(n.fromViewLineNumber,n.toViewLineNumber),a=Math.max(n.fromViewLineNumber,n.toViewLineNumber);for(let u=s;u<=a;u++){const d=t.getLineMaxColumn(u),h=e.visibleColumnFromColumn(t,new Ii(u,d));i=Math.max(i,h)}let l=n.toViewVisualColumn;return l<i&&l++,this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,n.toViewLineNumber,l)}static columnSelectUp(e,t,n,i){const s=i?e.pageSize:1,a=Math.max(1,n.toViewLineNumber-s);return this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,a,n.toViewVisualColumn)}static columnSelectDown(e,t,n,i){const s=i?e.pageSize:1,a=Math.min(t.getLineCount(),n.toViewLineNumber+s);return this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,a,n.toViewVisualColumn)}}class Kh{constructor(e,t,n=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=n}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){const i=t.getInverseEditOperations()[0].range;return oo.fromPositions(i.getEndPosition())}}class h6e{constructor(e,t){this._range=e,this._text=t}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){const i=t.getInverseEditOperations()[0].range;return oo.fromRange(i,0)}}class UF{constructor(e,t,n=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=n}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){const i=t.getInverseEditOperations()[0].range;return oo.fromPositions(i.getStartPosition())}}class o8{constructor(e,t,n,i,s=!1){this._range=e,this._text=t,this._columnDeltaOffset=i,this._lineNumberDeltaOffset=n,this.insertsAutoWhitespace=s}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){const i=t.getInverseEditOperations()[0].range;return oo.fromPositions(i.getEndPosition().delta(this._lineNumberDeltaOffset,this._columnDeltaOffset))}}class EG{constructor(e,t,n,i=!1){this._range=e,this._text=t,this._initialSelection=n,this._forceMoveMarkers=i,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 yV{constructor(e,t,n){this._cursorPositionBrand=void 0,this.lineNumber=e,this.column=t,this.leftoverVisibleColumns=n}}class hu{static leftPosition(e,t){if(t.column>e.getLineMinColumn(t.lineNumber))return t.delta(void 0,-nue(e.getLineContent(t.lineNumber),t.column-1));if(t.lineNumber>1){const n=t.lineNumber-1;return new Ii(n,e.getLineMaxColumn(n))}else return t}static leftPositionAtomicSoftTabs(e,t,n){if(t.column<=e.getLineIndentColumn(t.lineNumber)){const i=e.getLineMinColumn(t.lineNumber),s=e.getLineContent(t.lineNumber),a=J3.atomicPosition(s,t.column-1,n,0);if(a!==-1&&a+1>=i)return new Ii(t.lineNumber,a+1)}return this.leftPosition(e,t)}static left(e,t,n){const i=e.stickyTabStops?hu.leftPositionAtomicSoftTabs(t,n,e.tabSize):hu.leftPosition(t,n);return new yV(i.lineNumber,i.column,0)}static moveLeft(e,t,n,i,s){let a,l;if(n.hasSelection()&&!i)a=n.selection.startLineNumber,l=n.selection.startColumn;else{const u=n.position.delta(void 0,-(s-1)),d=t.normalizePosition(hu.clipPositionColumn(u,t),0),h=hu.left(e,t,d);a=h.lineNumber,l=h.column}return n.move(i,a,l,0)}static clipPositionColumn(e,t){return new Ii(e.lineNumber,hu.clipRange(e.column,t.getLineMinColumn(e.lineNumber),t.getLineMaxColumn(e.lineNumber)))}static clipRange(e,t,n){return e<t?t:e>n?n:e}static rightPosition(e,t,n){return n<e.getLineMaxColumn(t)?n=n+Rq(e.getLineContent(t),n-1):t<e.getLineCount()&&(t=t+1,n=e.getLineMinColumn(t)),new Ii(t,n)}static rightPositionAtomicSoftTabs(e,t,n,i,s){if(n<e.getLineIndentColumn(t)){const a=e.getLineContent(t),l=J3.atomicPosition(a,n-1,i,1);if(l!==-1)return new Ii(t,l+1)}return this.rightPosition(e,t,n)}static right(e,t,n){const i=e.stickyTabStops?hu.rightPositionAtomicSoftTabs(t,n.lineNumber,n.column,e.tabSize,e.indentSize):hu.rightPosition(t,n.lineNumber,n.column);return new yV(i.lineNumber,i.column,0)}static moveRight(e,t,n,i,s){let a,l;if(n.hasSelection()&&!i)a=n.selection.endLineNumber,l=n.selection.endColumn;else{const u=n.position.delta(void 0,s-1),d=t.normalizePosition(hu.clipPositionColumn(u,t),1),h=hu.right(e,t,d);a=h.lineNumber,l=h.column}return n.move(i,a,l,0)}static vertical(e,t,n,i,s,a,l,u){const d=Zd.visibleColumnFromColumn(t.getLineContent(n),i,e.tabSize)+s,h=t.getLineCount(),p=n===1&&i===1,g=n===h&&i===t.getLineMaxColumn(n),y=a<n?p:g;if(n=a,n<1?(n=1,l?i=t.getLineMinColumn(n):i=Math.min(t.getLineMaxColumn(n),i)):n>h?(n=h,l?i=t.getLineMaxColumn(n):i=Math.min(t.getLineMaxColumn(n),i)):i=e.columnFromVisibleColumn(t,n,d),y?s=0:s=d-Zd.visibleColumnFromColumn(t.getLineContent(n),i,e.tabSize),u!==void 0){const D=new Ii(n,i),T=t.normalizePosition(D,u);s=s+(i-T.column),n=T.lineNumber,i=T.column}return new yV(n,i,s)}static down(e,t,n,i,s,a,l){return this.vertical(e,t,n,i,s,n+a,l,1)}static moveDown(e,t,n,i,s){let a,l;n.hasSelection()&&!i?(a=n.selection.endLineNumber,l=n.selection.endColumn):(a=n.position.lineNumber,l=n.position.column);const u=hu.down(e,t,a,l,n.leftoverVisibleColumns,s,!0);return n.move(i,u.lineNumber,u.column,u.leftoverVisibleColumns)}static translateDown(e,t,n){const i=n.selection,s=hu.down(e,t,i.selectionStartLineNumber,i.selectionStartColumn,n.selectionStartLeftoverVisibleColumns,1,!1),a=hu.down(e,t,i.positionLineNumber,i.positionColumn,n.leftoverVisibleColumns,1,!1);return new Nh(new He(s.lineNumber,s.column,s.lineNumber,s.column),s.leftoverVisibleColumns,new Ii(a.lineNumber,a.column),a.leftoverVisibleColumns)}static up(e,t,n,i,s,a,l){return this.vertical(e,t,n,i,s,n-a,l,0)}static moveUp(e,t,n,i,s){let a,l;n.hasSelection()&&!i?(a=n.selection.startLineNumber,l=n.selection.startColumn):(a=n.position.lineNumber,l=n.position.column);const u=hu.up(e,t,a,l,n.leftoverVisibleColumns,s,!0);return n.move(i,u.lineNumber,u.column,u.leftoverVisibleColumns)}static translateUp(e,t,n){const i=n.selection,s=hu.up(e,t,i.selectionStartLineNumber,i.selectionStartColumn,n.selectionStartLeftoverVisibleColumns,1,!1),a=hu.up(e,t,i.positionLineNumber,i.positionColumn,n.leftoverVisibleColumns,1,!1);return new Nh(new He(s.lineNumber,s.column,s.lineNumber,s.column),s.leftoverVisibleColumns,new Ii(a.lineNumber,a.column),a.leftoverVisibleColumns)}static _isBlankLine(e,t){return e.getLineFirstNonWhitespaceColumn(t)===0}static moveToPrevBlankLine(e,t,n,i){let s=n.position.lineNumber;for(;s>1&&this._isBlankLine(t,s);)s--;for(;s>1&&!this._isBlankLine(t,s);)s--;return n.move(i,s,t.getLineMinColumn(s),0)}static moveToNextBlankLine(e,t,n,i){const s=t.getLineCount();let a=n.position.lineNumber;for(;a<s&&this._isBlankLine(t,a);)a++;for(;a<s&&!this._isBlankLine(t,a);)a++;return n.move(i,a,t.getLineMinColumn(a),0)}static moveToBeginningOfLine(e,t,n,i){const s=n.position.lineNumber,a=t.getLineMinColumn(s),l=t.getLineFirstNonWhitespaceColumn(s)||a;let u;return n.position.column===l?u=a:u=l,n.move(i,s,u,0)}static moveToEndOfLine(e,t,n,i,s){const a=n.position.lineNumber,l=t.getLineMaxColumn(a);return n.move(i,a,l,s?1073741824-l:0)}static moveToBeginningOfBuffer(e,t,n,i){return n.move(i,1,1,0)}static moveToEndOfBuffer(e,t,n,i){const s=t.getLineCount(),a=t.getLineMaxColumn(s);return n.move(i,s,a,0)}}class FD{static deleteRight(e,t,n,i){const s=[];let a=e!==3;for(let l=0,u=i.length;l<u;l++){const d=i[l];let h=d;if(h.isEmpty()){const p=d.getPosition(),g=hu.right(t,n,p);h=new He(g.lineNumber,g.column,p.lineNumber,p.column)}if(h.isEmpty()){s[l]=null;continue}h.startLineNumber!==h.endLineNumber&&(a=!0),s[l]=new Kh(h,\"\")}return[a,s]}static isAutoClosingPairDelete(e,t,n,i,s,a,l){if(t===\"never\"&&n===\"never\"||e===\"never\")return!1;for(let u=0,d=a.length;u<d;u++){const h=a[u],p=h.getPosition();if(!h.isEmpty())return!1;const g=s.getLineContent(p.lineNumber);if(p.column<2||p.column>=g.length+1)return!1;const y=g.charAt(p.column-2),D=i.get(y);if(!D)return!1;if(cx(y)){if(n===\"never\")return!1}else if(t===\"never\")return!1;const T=g.charAt(p.column-1);let k=!1;for(const I of D)I.open===y&&I.close===T&&(k=!0);if(!k)return!1;if(e===\"auto\"){let I=!1;for(let F=0,q=l.length;F<q;F++){const re=l[F];if(p.lineNumber===re.startLineNumber&&p.column===re.startColumn){I=!0;break}}if(!I)return!1}}return!0}static _runAutoClosingPairDelete(e,t,n){const i=[];for(let s=0,a=n.length;s<a;s++){const l=n[s].getPosition(),u=new He(l.lineNumber,l.column-1,l.lineNumber,l.column+1);i[s]=new Kh(u,\"\")}return[!0,i]}static deleteLeft(e,t,n,i,s){if(this.isAutoClosingPairDelete(t.autoClosingDelete,t.autoClosingBrackets,t.autoClosingQuotes,t.autoClosingPairs.autoClosingPairsOpenByEnd,n,i,s))return this._runAutoClosingPairDelete(t,n,i);const a=[];let l=e!==2;for(let u=0,d=i.length;u<d;u++){const h=FD.getDeleteRange(i[u],n,t);if(h.isEmpty()){a[u]=null;continue}h.startLineNumber!==h.endLineNumber&&(l=!0),a[u]=new Kh(h,\"\")}return[l,a]}static getDeleteRange(e,t,n){if(!e.isEmpty())return e;const i=e.getPosition();if(n.useTabStops&&i.column>1){const s=t.getLineContent(i.lineNumber),a=pf(s),l=a===-1?s.length+1:a+1;if(i.column<=l){const u=n.visibleColumnFromColumn(t,i),d=Zd.prevIndentTabStop(u,n.indentSize),h=n.columnFromVisibleColumn(t,i.lineNumber,d);return new He(i.lineNumber,h,i.lineNumber,i.column)}}return He.fromPositions(FD.getPositionAfterDeleteLeft(i,t),i)}static getPositionAfterDeleteLeft(e,t){if(e.column>1){const n=fAe(e.column-1,t.getLineContent(e.lineNumber));return e.with(void 0,n+1)}else if(e.lineNumber>1){const n=e.lineNumber-1;return new Ii(n,t.getLineMaxColumn(n))}else return e}static cut(e,t,n){const i=[];let s=null;n.sort((a,l)=>Ii.compare(a.getStartPosition(),l.getEndPosition()));for(let a=0,l=n.length;a<l;a++){const u=n[a];if(u.isEmpty())if(e.emptySelectionClipboard){const d=u.getPosition();let h,p,g,y;d.lineNumber<t.getLineCount()?(h=d.lineNumber,p=1,g=d.lineNumber+1,y=1):d.lineNumber>1&&(s==null?void 0:s.endLineNumber)!==d.lineNumber?(h=d.lineNumber-1,p=t.getLineMaxColumn(d.lineNumber-1),g=d.lineNumber,y=t.getLineMaxColumn(d.lineNumber)):(h=d.lineNumber,p=1,g=d.lineNumber,y=t.getLineMaxColumn(d.lineNumber));const D=new He(h,p,g,y);s=D,D.isEmpty()?i[a]=null:i[a]=new Kh(D,\"\")}else i[a]=null;else i[a]=new Kh(u,\"\")}return new n_(0,i,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}}class iu{static _createWord(e,t,n,i,s){return{start:i,end:s,wordType:t,nextCharClass:n}}static _findPreviousWordOnLine(e,t,n){const i=t.getLineContent(n.lineNumber);return this._doFindPreviousWordOnLine(i,e,n)}static _doFindPreviousWordOnLine(e,t,n){let i=0;for(let s=n.column-2;s>=0;s--){const a=e.charCodeAt(s),l=t.get(a);if(l===0){if(i===2)return this._createWord(e,i,l,s+1,this._findEndOfWord(e,t,i,s+1));i=1}else if(l===2){if(i===1)return this._createWord(e,i,l,s+1,this._findEndOfWord(e,t,i,s+1));i=2}else if(l===1&&i!==0)return this._createWord(e,i,l,s+1,this._findEndOfWord(e,t,i,s+1))}return i!==0?this._createWord(e,i,1,0,this._findEndOfWord(e,t,i,0)):null}static _findEndOfWord(e,t,n,i){const s=e.length;for(let a=i;a<s;a++){const l=e.charCodeAt(a),u=t.get(l);if(u===1||n===1&&u===2||n===2&&u===0)return a}return s}static _findNextWordOnLine(e,t,n){const i=t.getLineContent(n.lineNumber);return this._doFindNextWordOnLine(i,e,n)}static _doFindNextWordOnLine(e,t,n){let i=0;const s=e.length;for(let a=n.column-1;a<s;a++){const l=e.charCodeAt(a),u=t.get(l);if(u===0){if(i===2)return this._createWord(e,i,u,this._findStartOfWord(e,t,i,a-1),a);i=1}else if(u===2){if(i===1)return this._createWord(e,i,u,this._findStartOfWord(e,t,i,a-1),a);i=2}else if(u===1&&i!==0)return this._createWord(e,i,u,this._findStartOfWord(e,t,i,a-1),a)}return i!==0?this._createWord(e,i,1,this._findStartOfWord(e,t,i,s-1),s):null}static _findStartOfWord(e,t,n,i){for(let s=i;s>=0;s--){const a=e.charCodeAt(s),l=t.get(a);if(l===1||n===1&&l===2||n===2&&l===0)return s+1}return 0}static moveWordLeft(e,t,n,i){let s=n.lineNumber,a=n.column;a===1&&s>1&&(s=s-1,a=t.getLineMaxColumn(s));let l=iu._findPreviousWordOnLine(e,t,new Ii(s,a));if(i===0)return new Ii(s,l?l.start+1:1);if(i===1)return l&&l.wordType===2&&l.end-l.start===1&&l.nextCharClass===0&&(l=iu._findPreviousWordOnLine(e,t,new Ii(s,l.start+1))),new Ii(s,l?l.start+1:1);if(i===3){for(;l&&l.wordType===2;)l=iu._findPreviousWordOnLine(e,t,new Ii(s,l.start+1));return new Ii(s,l?l.start+1:1)}return l&&a<=l.end+1&&(l=iu._findPreviousWordOnLine(e,t,new Ii(s,l.start+1))),new Ii(s,l?l.end+1:1)}static _moveWordPartLeft(e,t){const n=t.lineNumber,i=e.getLineMaxColumn(n);if(t.column===1)return n>1?new Ii(n-1,e.getLineMaxColumn(n-1)):t;const s=e.getLineContent(n);for(let a=t.column-1;a>1;a--){const l=s.charCodeAt(a-2),u=s.charCodeAt(a-1);if(l===95&&u!==95)return new Ii(n,a);if(Av(l)&&D1(u))return new Ii(n,a);if(D1(l)&&D1(u)&&a+1<i){const d=s.charCodeAt(a);if(Av(d))return new Ii(n,a)}}return new Ii(n,1)}static moveWordRight(e,t,n,i){let s=n.lineNumber,a=n.column,l=!1;a===t.getLineMaxColumn(s)&&s<t.getLineCount()&&(l=!0,s=s+1,a=1);let u=iu._findNextWordOnLine(e,t,new Ii(s,a));if(i===2)u&&u.wordType===2&&u.end-u.start===1&&u.nextCharClass===0&&(u=iu._findNextWordOnLine(e,t,new Ii(s,u.end+1))),u?a=u.end+1:a=t.getLineMaxColumn(s);else if(i===3){for(l&&(a=0);u&&(u.wordType===2||u.start+1<=a);)u=iu._findNextWordOnLine(e,t,new Ii(s,u.end+1));u?a=u.start+1:a=t.getLineMaxColumn(s)}else u&&!l&&a>=u.start+1&&(u=iu._findNextWordOnLine(e,t,new Ii(s,u.end+1))),u?a=u.start+1:a=t.getLineMaxColumn(s);return new Ii(s,a)}static _moveWordPartRight(e,t){const n=t.lineNumber,i=e.getLineMaxColumn(n);if(t.column===i)return n<e.getLineCount()?new Ii(n+1,1):t;const s=e.getLineContent(n);for(let a=t.column+1;a<i;a++){const l=s.charCodeAt(a-2),u=s.charCodeAt(a-1);if(l!==95&&u===95)return new Ii(n,a);if(Av(l)&&D1(u))return new Ii(n,a);if(D1(l)&&D1(u)&&a+1<i){const d=s.charCodeAt(a);if(Av(d))return new Ii(n,a)}}return new Ii(n,i)}static _deleteWordLeftWhitespace(e,t){const n=e.getLineContent(t.lineNumber),i=t.column-2,s=V1(n,i);return s+1<i?new He(t.lineNumber,s+2,t.lineNumber,t.column):null}static deleteWordLeft(e,t){const n=e.wordSeparators,i=e.model,s=e.selection,a=e.whitespaceHeuristics;if(!s.isEmpty())return s;if(FD.isAutoClosingPairDelete(e.autoClosingDelete,e.autoClosingBrackets,e.autoClosingQuotes,e.autoClosingPairs.autoClosingPairsOpenByEnd,e.model,[e.selection],e.autoClosedCharacters)){const p=e.selection.getPosition();return new He(p.lineNumber,p.column-1,p.lineNumber,p.column+1)}const l=new Ii(s.positionLineNumber,s.positionColumn);let u=l.lineNumber,d=l.column;if(u===1&&d===1)return null;if(a){const p=this._deleteWordLeftWhitespace(i,l);if(p)return p}let h=iu._findPreviousWordOnLine(n,i,l);return t===0?h?d=h.start+1:d>1?d=1:(u--,d=i.getLineMaxColumn(u)):(h&&d<=h.end+1&&(h=iu._findPreviousWordOnLine(n,i,new Ii(u,h.start+1))),h?d=h.end+1:d>1?d=1:(u--,d=i.getLineMaxColumn(u))),new He(u,d,l.lineNumber,l.column)}static deleteInsideWord(e,t,n){if(!n.isEmpty())return n;const i=new Ii(n.positionLineNumber,n.positionColumn),s=this._deleteInsideWordWhitespace(t,i);return s||this._deleteInsideWordDetermineDeleteRange(e,t,i)}static _charAtIsWhitespace(e,t){const n=e.charCodeAt(t);return n===32||n===9}static _deleteInsideWordWhitespace(e,t){const n=e.getLineContent(t.lineNumber),i=n.length;if(i===0)return null;let s=Math.max(t.column-2,0);if(!this._charAtIsWhitespace(n,s))return null;let a=Math.min(t.column-1,i-1);if(!this._charAtIsWhitespace(n,a))return null;for(;s>0&&this._charAtIsWhitespace(n,s-1);)s--;for(;a+1<i&&this._charAtIsWhitespace(n,a+1);)a++;return new He(t.lineNumber,s+1,t.lineNumber,a+2)}static _deleteInsideWordDetermineDeleteRange(e,t,n){const i=t.getLineContent(n.lineNumber),s=i.length;if(s===0)return n.lineNumber>1?new He(n.lineNumber-1,t.getLineMaxColumn(n.lineNumber-1),n.lineNumber,1):n.lineNumber<t.getLineCount()?new He(n.lineNumber,1,n.lineNumber+1,1):new He(n.lineNumber,1,n.lineNumber,1);const a=p=>p.start+1<=n.column&&n.column<=p.end+1,l=(p,g)=>(p=Math.min(p,n.column),g=Math.max(g,n.column),new He(n.lineNumber,p,n.lineNumber,g)),u=p=>{let g=p.start+1,y=p.end+1,D=!1;for(;y-1<s&&this._charAtIsWhitespace(i,y-1);)D=!0,y++;if(!D)for(;g>1&&this._charAtIsWhitespace(i,g-2);)g--;return l(g,y)},d=iu._findPreviousWordOnLine(e,t,n);if(d&&a(d))return u(d);const h=iu._findNextWordOnLine(e,t,n);return h&&a(h)?u(h):d&&h?l(d.end+1,h.start+1):d?l(d.start+1,d.end+1):h?l(h.start+1,h.end+1):l(1,s+1)}static _deleteWordPartLeft(e,t){if(!t.isEmpty())return t;const n=t.getPosition(),i=iu._moveWordPartLeft(e,n);return new He(n.lineNumber,n.column,i.lineNumber,i.column)}static _findFirstNonWhitespaceChar(e,t){const n=e.length;for(let i=t;i<n;i++){const s=e.charAt(i);if(s!==\" \"&&s!==\"\t\")return i}return n}static _deleteWordRightWhitespace(e,t){const n=e.getLineContent(t.lineNumber),i=t.column-1,s=this._findFirstNonWhitespaceChar(n,i);return i+1<s?new He(t.lineNumber,t.column,t.lineNumber,s+1):null}static deleteWordRight(e,t){const n=e.wordSeparators,i=e.model,s=e.selection,a=e.whitespaceHeuristics;if(!s.isEmpty())return s;const l=new Ii(s.positionLineNumber,s.positionColumn);let u=l.lineNumber,d=l.column;const h=i.getLineCount(),p=i.getLineMaxColumn(u);if(u===h&&d===p)return null;if(a){const y=this._deleteWordRightWhitespace(i,l);if(y)return y}let g=iu._findNextWordOnLine(n,i,l);return t===2?g?d=g.end+1:d<p||u===h?d=p:(u++,g=iu._findNextWordOnLine(n,i,new Ii(u,1)),g?d=g.start+1:d=i.getLineMaxColumn(u)):(g&&d>=g.start+1&&(g=iu._findNextWordOnLine(n,i,new Ii(u,g.end+1))),g?d=g.start+1:d<p||u===h?d=p:(u++,g=iu._findNextWordOnLine(n,i,new Ii(u,1)),g?d=g.start+1:d=i.getLineMaxColumn(u))),new He(u,d,l.lineNumber,l.column)}static _deleteWordPartRight(e,t){if(!t.isEmpty())return t;const n=t.getPosition(),i=iu._moveWordPartRight(e,n);return new He(n.lineNumber,n.column,i.lineNumber,i.column)}static _createWordAtPosition(e,t,n){const i=new He(t,n.start+1,t,n.end+1);return{word:e.getValueInRange(i),startColumn:i.startColumn,endColumn:i.endColumn}}static getWordAtPosition(e,t,n){const i=Fg(t),s=iu._findPreviousWordOnLine(i,e,n);if(s&&s.wordType===1&&s.start<=n.column-1&&n.column-1<=s.end)return iu._createWordAtPosition(e,n.lineNumber,s);const a=iu._findNextWordOnLine(i,e,n);return a&&a.wordType===1&&a.start<=n.column-1&&n.column-1<=a.end?iu._createWordAtPosition(e,n.lineNumber,a):null}static word(e,t,n,i,s){const a=Fg(e.wordSeparators),l=iu._findPreviousWordOnLine(a,t,s),u=iu._findNextWordOnLine(a,t,s);if(!i){let y,D;return l&&l.wordType===1&&l.start<=s.column-1&&s.column-1<=l.end?(y=l.start+1,D=l.end+1):u&&u.wordType===1&&u.start<=s.column-1&&s.column-1<=u.end?(y=u.start+1,D=u.end+1):(l?y=l.end+1:y=1,u?D=u.start+1:D=t.getLineMaxColumn(s.lineNumber)),new Nh(new He(s.lineNumber,y,s.lineNumber,D),0,new Ii(s.lineNumber,D),0)}let d,h;l&&l.wordType===1&&l.start<s.column-1&&s.column-1<l.end?(d=l.start+1,h=l.end+1):u&&u.wordType===1&&u.start<s.column-1&&s.column-1<u.end?(d=u.start+1,h=u.end+1):(d=s.column,h=s.column);const p=s.lineNumber;let g;if(n.selectionStart.containsPosition(s))g=n.selectionStart.endColumn;else if(s.isBeforeOrEqual(n.selectionStart.getStartPosition())){g=d;const y=new Ii(p,g);n.selectionStart.containsPosition(y)&&(g=n.selectionStart.endColumn)}else{g=h;const y=new Ii(p,g);n.selectionStart.containsPosition(y)&&(g=n.selectionStart.startColumn)}return n.move(!0,p,g,0)}}class XP extends iu{static deleteWordPartLeft(e){const t=KF([iu.deleteWordLeft(e,0),iu.deleteWordLeft(e,2),iu._deleteWordPartLeft(e.model,e.selection)]);return t.sort(He.compareRangesUsingEnds),t[2]}static deleteWordPartRight(e){const t=KF([iu.deleteWordRight(e,0),iu.deleteWordRight(e,2),iu._deleteWordPartRight(e.model,e.selection)]);return t.sort(He.compareRangesUsingStarts),t[0]}static moveWordPartLeft(e,t,n){const i=KF([iu.moveWordLeft(e,t,n,0),iu.moveWordLeft(e,t,n,2),iu._moveWordPartLeft(t,n)]);return i.sort(Ii.compare),i[2]}static moveWordPartRight(e,t,n){const i=KF([iu.moveWordRight(e,t,n,0),iu.moveWordRight(e,t,n,2),iu._moveWordPartRight(t,n)]);return i.sort(Ii.compare),i[0]}}function KF(o){return o.filter(e=>Boolean(e))}class Lh{static addCursorDown(e,t,n){const i=[];let s=0;for(let a=0,l=t.length;a<l;a++){const u=t[a];i[s++]=new Sl(u.modelState,u.viewState),n?i[s++]=Sl.fromModelState(hu.translateDown(e.cursorConfig,e.model,u.modelState)):i[s++]=Sl.fromViewState(hu.translateDown(e.cursorConfig,e,u.viewState))}return i}static addCursorUp(e,t,n){const i=[];let s=0;for(let a=0,l=t.length;a<l;a++){const u=t[a];i[s++]=new Sl(u.modelState,u.viewState),n?i[s++]=Sl.fromModelState(hu.translateUp(e.cursorConfig,e.model,u.modelState)):i[s++]=Sl.fromViewState(hu.translateUp(e.cursorConfig,e,u.viewState))}return i}static moveToBeginningOfLine(e,t,n){let i=[];for(let s=0,a=t.length;s<a;s++){const l=t[s];i[s]=this._moveToLineStart(e,l,n)}return i}static _moveToLineStart(e,t,n){const i=t.viewState.position.column,s=t.modelState.position.column,a=i===s,l=t.viewState.position.lineNumber,u=e.getLineFirstNonWhitespaceColumn(l);return!a&&!(i===u)?this._moveToLineStartByView(e,t,n):this._moveToLineStartByModel(e,t,n)}static _moveToLineStartByView(e,t,n){return Sl.fromViewState(hu.moveToBeginningOfLine(e.cursorConfig,e,t.viewState,n))}static _moveToLineStartByModel(e,t,n){return Sl.fromModelState(hu.moveToBeginningOfLine(e.cursorConfig,e.model,t.modelState,n))}static moveToEndOfLine(e,t,n,i){const s=[];for(let a=0,l=t.length;a<l;a++){const u=t[a];s[a]=this._moveToLineEnd(e,u,n,i)}return s}static _moveToLineEnd(e,t,n,i){const s=t.viewState.position,a=e.getLineMaxColumn(s.lineNumber),l=s.column===a,u=t.modelState.position,d=e.model.getLineMaxColumn(u.lineNumber),h=a-s.column===d-u.column;return l||h?this._moveToLineEndByModel(e,t,n,i):this._moveToLineEndByView(e,t,n,i)}static _moveToLineEndByView(e,t,n,i){return Sl.fromViewState(hu.moveToEndOfLine(e.cursorConfig,e,t.viewState,n,i))}static _moveToLineEndByModel(e,t,n,i){return Sl.fromModelState(hu.moveToEndOfLine(e.cursorConfig,e.model,t.modelState,n,i))}static expandLineSelection(e,t){const n=[];for(let i=0,s=t.length;i<s;i++){const a=t[i],l=a.modelState.selection.startLineNumber,u=e.model.getLineCount();let d=a.modelState.selection.endLineNumber,h;d===u?h=e.model.getLineMaxColumn(u):(d++,h=1),n[i]=Sl.fromModelState(new Nh(new He(l,1,l,1),0,new Ii(d,h),0))}return n}static moveToBeginningOfBuffer(e,t,n){const i=[];for(let s=0,a=t.length;s<a;s++){const l=t[s];i[s]=Sl.fromModelState(hu.moveToBeginningOfBuffer(e.cursorConfig,e.model,l.modelState,n))}return i}static moveToEndOfBuffer(e,t,n){const i=[];for(let s=0,a=t.length;s<a;s++){const l=t[s];i[s]=Sl.fromModelState(hu.moveToEndOfBuffer(e.cursorConfig,e.model,l.modelState,n))}return i}static selectAll(e,t){const n=e.model.getLineCount(),i=e.model.getLineMaxColumn(n);return Sl.fromModelState(new Nh(new He(1,1,1,1),0,new Ii(n,i),0))}static line(e,t,n,i,s){const a=e.model.validatePosition(i),l=s?e.coordinatesConverter.validateViewPosition(new Ii(s.lineNumber,s.column),a):e.coordinatesConverter.convertModelPositionToViewPosition(a);if(!n||!t.modelState.hasSelection()){const d=e.model.getLineCount();let h=a.lineNumber+1,p=1;return h>d&&(h=d,p=e.model.getLineMaxColumn(h)),Sl.fromModelState(new Nh(new He(a.lineNumber,1,h,p),0,new Ii(h,p),0))}const u=t.modelState.selectionStart.getStartPosition().lineNumber;if(a.lineNumber<u)return Sl.fromViewState(t.viewState.move(t.modelState.hasSelection(),l.lineNumber,1,0));if(a.lineNumber>u){const d=e.getLineCount();let h=l.lineNumber+1,p=1;return h>d&&(h=d,p=e.getLineMaxColumn(h)),Sl.fromViewState(t.viewState.move(t.modelState.hasSelection(),h,p,0))}else{const d=t.modelState.selectionStart.getEndPosition();return Sl.fromModelState(t.modelState.move(t.modelState.hasSelection(),d.lineNumber,d.column,0))}}static word(e,t,n,i){const s=e.model.validatePosition(i);return Sl.fromModelState(iu.word(e.cursorConfig,e.model,t.modelState,n,s))}static cancelSelection(e,t){if(!t.modelState.hasSelection())return new Sl(t.modelState,t.viewState);const n=t.viewState.position.lineNumber,i=t.viewState.position.column;return Sl.fromViewState(new Nh(new He(n,i,n,i),0,new Ii(n,i),0))}static moveTo(e,t,n,i,s){const a=e.model.validatePosition(i),l=s?e.coordinatesConverter.validateViewPosition(new Ii(s.lineNumber,s.column),a):e.coordinatesConverter.convertModelPositionToViewPosition(a);return Sl.fromViewState(t.viewState.move(n,l.lineNumber,l.column,0))}static simpleMove(e,t,n,i,s,a){switch(n){case 0:return a===4?this._moveHalfLineLeft(e,t,i):this._moveLeft(e,t,i,s);case 1:return a===4?this._moveHalfLineRight(e,t,i):this._moveRight(e,t,i,s);case 2:return a===2?this._moveUpByViewLines(e,t,i,s):this._moveUpByModelLines(e,t,i,s);case 3:return a===2?this._moveDownByViewLines(e,t,i,s):this._moveDownByModelLines(e,t,i,s);case 4:return a===2?t.map(l=>Sl.fromViewState(hu.moveToPrevBlankLine(e.cursorConfig,e,l.viewState,i))):t.map(l=>Sl.fromModelState(hu.moveToPrevBlankLine(e.cursorConfig,e.model,l.modelState,i)));case 5:return a===2?t.map(l=>Sl.fromViewState(hu.moveToNextBlankLine(e.cursorConfig,e,l.viewState,i))):t.map(l=>Sl.fromModelState(hu.moveToNextBlankLine(e.cursorConfig,e.model,l.modelState,i)));case 6:return this._moveToViewMinColumn(e,t,i);case 7:return this._moveToViewFirstNonWhitespaceColumn(e,t,i);case 8:return this._moveToViewCenterColumn(e,t,i);case 9:return this._moveToViewMaxColumn(e,t,i);case 10:return this._moveToViewLastNonWhitespaceColumn(e,t,i);default:return null}}static viewportMove(e,t,n,i,s){const a=e.getCompletelyVisibleViewRange(),l=e.coordinatesConverter.convertViewRangeToModelRange(a);switch(n){case 11:{const u=this._firstLineNumberInRange(e.model,l,s),d=e.model.getLineFirstNonWhitespaceColumn(u);return[this._moveToModelPosition(e,t[0],i,u,d)]}case 13:{const u=this._lastLineNumberInRange(e.model,l,s),d=e.model.getLineFirstNonWhitespaceColumn(u);return[this._moveToModelPosition(e,t[0],i,u,d)]}case 12:{const u=Math.round((l.startLineNumber+l.endLineNumber)/2),d=e.model.getLineFirstNonWhitespaceColumn(u);return[this._moveToModelPosition(e,t[0],i,u,d)]}case 14:{const u=[];for(let d=0,h=t.length;d<h;d++){const p=t[d];u[d]=this.findPositionInViewportIfOutside(e,p,a,i)}return u}default:return null}}static findPositionInViewportIfOutside(e,t,n,i){const s=t.viewState.position.lineNumber;if(n.startLineNumber<=s&&s<=n.endLineNumber-1)return new Sl(t.modelState,t.viewState);{let a;s>n.endLineNumber-1?a=n.endLineNumber-1:s<n.startLineNumber?a=n.startLineNumber:a=s;const l=hu.vertical(e.cursorConfig,e,s,t.viewState.position.column,t.viewState.leftoverVisibleColumns,a,!1);return Sl.fromViewState(t.viewState.move(i,l.lineNumber,l.column,l.leftoverVisibleColumns))}}static _firstLineNumberInRange(e,t,n){let i=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(i)&&i++,Math.min(t.endLineNumber,i+n-1)}static _lastLineNumberInRange(e,t,n){let i=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(i)&&i++,Math.max(i,t.endLineNumber-n+1)}static _moveLeft(e,t,n,i){return t.map(s=>Sl.fromViewState(hu.moveLeft(e.cursorConfig,e,s.viewState,n,i)))}static _moveHalfLineLeft(e,t,n){const i=[];for(let s=0,a=t.length;s<a;s++){const l=t[s],u=l.viewState.position.lineNumber,d=Math.round(e.getLineContent(u).length/2);i[s]=Sl.fromViewState(hu.moveLeft(e.cursorConfig,e,l.viewState,n,d))}return i}static _moveRight(e,t,n,i){return t.map(s=>Sl.fromViewState(hu.moveRight(e.cursorConfig,e,s.viewState,n,i)))}static _moveHalfLineRight(e,t,n){const i=[];for(let s=0,a=t.length;s<a;s++){const l=t[s],u=l.viewState.position.lineNumber,d=Math.round(e.getLineContent(u).length/2);i[s]=Sl.fromViewState(hu.moveRight(e.cursorConfig,e,l.viewState,n,d))}return i}static _moveDownByViewLines(e,t,n,i){const s=[];for(let a=0,l=t.length;a<l;a++){const u=t[a];s[a]=Sl.fromViewState(hu.moveDown(e.cursorConfig,e,u.viewState,n,i))}return s}static _moveDownByModelLines(e,t,n,i){const s=[];for(let a=0,l=t.length;a<l;a++){const u=t[a];s[a]=Sl.fromModelState(hu.moveDown(e.cursorConfig,e.model,u.modelState,n,i))}return s}static _moveUpByViewLines(e,t,n,i){const s=[];for(let a=0,l=t.length;a<l;a++){const u=t[a];s[a]=Sl.fromViewState(hu.moveUp(e.cursorConfig,e,u.viewState,n,i))}return s}static _moveUpByModelLines(e,t,n,i){const s=[];for(let a=0,l=t.length;a<l;a++){const u=t[a];s[a]=Sl.fromModelState(hu.moveUp(e.cursorConfig,e.model,u.modelState,n,i))}return s}static _moveToViewPosition(e,t,n,i,s){return Sl.fromViewState(t.viewState.move(n,i,s,0))}static _moveToModelPosition(e,t,n,i,s){return Sl.fromModelState(t.modelState.move(n,i,s,0))}static _moveToViewMinColumn(e,t,n){const i=[];for(let s=0,a=t.length;s<a;s++){const l=t[s],u=l.viewState.position.lineNumber,d=e.getLineMinColumn(u);i[s]=this._moveToViewPosition(e,l,n,u,d)}return i}static _moveToViewFirstNonWhitespaceColumn(e,t,n){const i=[];for(let s=0,a=t.length;s<a;s++){const l=t[s],u=l.viewState.position.lineNumber,d=e.getLineFirstNonWhitespaceColumn(u);i[s]=this._moveToViewPosition(e,l,n,u,d)}return i}static _moveToViewCenterColumn(e,t,n){const i=[];for(let s=0,a=t.length;s<a;s++){const l=t[s],u=l.viewState.position.lineNumber,d=Math.round((e.getLineMaxColumn(u)+e.getLineMinColumn(u))/2);i[s]=this._moveToViewPosition(e,l,n,u,d)}return i}static _moveToViewMaxColumn(e,t,n){const i=[];for(let s=0,a=t.length;s<a;s++){const l=t[s],u=l.viewState.position.lineNumber,d=e.getLineMaxColumn(u);i[s]=this._moveToViewPosition(e,l,n,u,d)}return i}static _moveToViewLastNonWhitespaceColumn(e,t,n){const i=[];for(let s=0,a=t.length;s<a;s++){const l=t[s],u=l.viewState.position.lineNumber,d=e.getLineLastNonWhitespaceColumn(u);i[s]=this._moveToViewPosition(e,l,n,u,d)}return i}}var l7;(function(o){const e=function(n){if(!Mf(n))return!1;const i=n;return!(!Lg(i.to)||!l_(i.select)&&!Ble(i.select)||!l_(i.by)&&!Lg(i.by)||!l_(i.value)&&!CD(i.value))};o.description={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}}}}]},o.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\"},o.RawUnit={Line:\"line\",WrappedLine:\"wrappedLine\",Character:\"character\",HalfLine:\"halfLine\"};function t(n){if(!n.to)return null;let i;switch(n.to){case o.RawDirection.Left:i=0;break;case o.RawDirection.Right:i=1;break;case o.RawDirection.Up:i=2;break;case o.RawDirection.Down:i=3;break;case o.RawDirection.PrevBlankLine:i=4;break;case o.RawDirection.NextBlankLine:i=5;break;case o.RawDirection.WrappedLineStart:i=6;break;case o.RawDirection.WrappedLineFirstNonWhitespaceCharacter:i=7;break;case o.RawDirection.WrappedLineColumnCenter:i=8;break;case o.RawDirection.WrappedLineEnd:i=9;break;case o.RawDirection.WrappedLineLastNonWhitespaceCharacter:i=10;break;case o.RawDirection.ViewPortTop:i=11;break;case o.RawDirection.ViewPortBottom:i=13;break;case o.RawDirection.ViewPortCenter:i=12;break;case o.RawDirection.ViewPortIfOutside:i=14;break;default:return null}let s=0;switch(n.by){case o.RawUnit.Line:s=1;break;case o.RawUnit.WrappedLine:s=2;break;case o.RawUnit.Character:s=3;break;case o.RawUnit.HalfLine:s=4;break}return{direction:i,unit:s,select:!!n.select,value:n.value||1}}o.parse=t})(l7||(l7={}));const bV=Object.create(null);function x2(o,e){if(e<=0)return\"\";bV[o]||(bV[o]=[\"\",o]);const t=bV[o];for(let n=t.length;n<=e;n++)t[n]=t[n-1]+o;return t[e]}class V_{constructor(e,t){this._opts=t,this._selection=e,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}static unshiftIndent(e,t,n,i,s){const a=Zd.visibleColumnFromColumn(e,t,n);if(s){const l=x2(\" \",i),d=Zd.prevIndentTabStop(a,i)/i;return x2(l,d)}else{const l=\"\t\",d=Zd.prevRenderTabStop(a,n)/n;return x2(l,d)}}static shiftIndent(e,t,n,i,s){const a=Zd.visibleColumnFromColumn(e,t,n);if(s){const l=x2(\" \",i),d=Zd.nextIndentTabStop(a,i)/i;return x2(l,d)}else{const l=\"\t\",d=Zd.nextRenderTabStop(a,n)/n;return x2(l,d)}}_addEditOperation(e,t,n){this._useLastEditRangeForCursorEndPosition?e.addTrackedEditOperation(t,n):e.addEditOperation(t,n)}getEditOperations(e,t){const n=this._selection.startLineNumber;let i=this._selection.endLineNumber;this._selection.endColumn===1&&n!==i&&(i=i-1);const{tabSize:s,indentSize:a,insertSpaces:l}=this._opts,u=n===i;if(this._opts.useTabStops){this._selection.isEmpty()&&/^\\s*$/.test(e.getLineContent(n))&&(this._useLastEditRangeForCursorEndPosition=!0);let d=0,h=0;for(let p=n;p<=i;p++,d=h){h=0;const g=e.getLineContent(p);let y=pf(g);if(this._opts.isUnshift&&(g.length===0||y===0)||!u&&!this._opts.isUnshift&&g.length===0)continue;if(y===-1&&(y=g.length),p>1&&Zd.visibleColumnFromColumn(g,y+1,s)%a!==0&&e.isCheapToTokenize(p-1)){const k=Nd.getEnterAction(this._opts.autoIndent,e,new He(p-1,e.getLineMaxColumn(p-1),p-1,e.getLineMaxColumn(p-1)));if(k){if(h=d,k.appendText)for(let I=0,F=k.appendText.length;I<F&&h<a&&k.appendText.charCodeAt(I)===32;I++)h++;k.removeText&&(h=Math.max(0,h-k.removeText));for(let I=0;I<h&&!(y===0||g.charCodeAt(y-1)!==32);I++)y--}}if(this._opts.isUnshift&&y===0)continue;let D;this._opts.isUnshift?D=V_.unshiftIndent(g,y+1,s,a,l):D=V_.shiftIndent(g,y+1,s,a,l),this._addEditOperation(t,new He(p,1,p,y+1),D),p===n&&!this._selection.isEmpty()&&(this._selectionStartColumnStaysPut=this._selection.startColumn<=y+1)}}else{!this._opts.isUnshift&&this._selection.isEmpty()&&e.getLineLength(n)===0&&(this._useLastEditRangeForCursorEndPosition=!0);const d=l?x2(\" \",a):\"\t\";for(let h=n;h<=i;h++){const p=e.getLineContent(h);let g=pf(p);if(!(this._opts.isUnshift&&(p.length===0||g===0))&&!(!u&&!this._opts.isUnshift&&p.length===0)&&(g===-1&&(g=p.length),!(this._opts.isUnshift&&g===0)))if(this._opts.isUnshift){g=Math.min(g,a);for(let y=0;y<g;y++)if(p.charCodeAt(y)===9){g=y+1;break}this._addEditOperation(t,new He(h,1,h,g+1),\"\")}else this._addEditOperation(t,new He(h,1,h,1),d),h===n&&!this._selection.isEmpty()&&(this._selectionStartColumnStaysPut=this._selection.startColumn===1)}}this._selectionId=t.trackSelection(this._selection)}computeCursorState(e,t){if(this._useLastEditRangeForCursorEndPosition){const i=t.getInverseEditOperations()[0];return new oo(i.range.endLineNumber,i.range.endColumn,i.range.endLineNumber,i.range.endColumn)}const n=t.getTrackedSelection(this._selectionId);if(this._selectionStartColumnStaysPut){const i=this._selection.startColumn;return n.startColumn<=i?n:n.getDirection()===0?new oo(n.startLineNumber,i,n.endLineNumber,n.endColumn):new oo(n.endLineNumber,n.endColumn,n.startLineNumber,i)}return n}}class p6e{constructor(e,t,n){this._range=e,this._charBeforeSelection=t,this._charAfterSelection=n}getEditOperations(e,t){t.addTrackedEditOperation(new He(this._range.startLineNumber,this._range.startColumn,this._range.startLineNumber,this._range.startColumn),this._charBeforeSelection),t.addTrackedEditOperation(new He(this._range.endLineNumber,this._range.endColumn,this._range.endLineNumber,this._range.endColumn),this._charAfterSelection)}computeCursorState(e,t){const n=t.getInverseEditOperations(),i=n[0].range,s=n[1].range;return new oo(i.endLineNumber,i.endColumn,s.endLineNumber,s.endColumn-this._charAfterSelection.length)}}class Lc{static indent(e,t,n){if(t===null||n===null)return[];const i=[];for(let s=0,a=n.length;s<a;s++)i[s]=new V_(n[s],{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent});return i}static outdent(e,t,n){const i=[];for(let s=0,a=n.length;s<a;s++)i[s]=new V_(n[s],{isUnshift:!0,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent});return i}static shiftIndent(e,t,n){return n=n||1,V_.shiftIndent(t,t.length+n,e.tabSize,e.indentSize,e.insertSpaces)}static unshiftIndent(e,t,n){return n=n||1,V_.unshiftIndent(t,t.length+n,e.tabSize,e.indentSize,e.insertSpaces)}static _distributedPaste(e,t,n,i){const s=[];for(let a=0,l=n.length;a<l;a++)s[a]=new Kh(n[a],i[a]);return new n_(0,s,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _simplePaste(e,t,n,i,s){const a=[];for(let l=0,u=n.length;l<u;l++){const d=n[l],h=d.getPosition();if(s&&!d.isEmpty()&&(s=!1),s&&i.indexOf(`\n`)!==i.length-1&&(s=!1),s){const p=new He(h.lineNumber,1,h.lineNumber,1);a[l]=new EG(p,i,d,!0)}else a[l]=new Kh(d,i)}return new n_(0,a,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _distributePasteToCursors(e,t,n,i,s){if(i||t.length===1)return null;if(s&&s.length===t.length)return s;if(e.multiCursorPaste===\"spread\"){n.charCodeAt(n.length-1)===10&&(n=n.substr(0,n.length-1)),n.charCodeAt(n.length-1)===13&&(n=n.substr(0,n.length-1));const a=G1(n);if(a.length===t.length)return a}return null}static paste(e,t,n,i,s,a){const l=this._distributePasteToCursors(e,n,i,s,a);return l?(n=n.sort(He.compareRangesUsingStarts),this._distributedPaste(e,t,n,l)):this._simplePaste(e,t,n,i,s)}static _goodIndentForLine(e,t,n){let i=null,s=\"\";const a=Nd.getInheritIndentForLine(e.autoIndent,t,n,!1);if(a)i=a.action,s=a.indentation;else if(n>1){let l;for(l=n-1;l>=1;l--){const h=t.getLineContent(l);if(V1(h)>=0)break}if(l<1)return null;const u=t.getLineMaxColumn(l),d=Nd.getEnterAction(e.autoIndent,t,new He(l,u,l,u));d&&(s=d.indentation+d.appendText)}return i&&(i===bd.Indent&&(s=Lc.shiftIndent(e,s)),i===bd.Outdent&&(s=Lc.unshiftIndent(e,s)),s=e.normalizeIndentation(s)),s||null}static _replaceJumpToNextIndent(e,t,n,i){let s=\"\";const a=n.getStartPosition();if(e.insertSpaces){const l=e.visibleColumnFromColumn(t,a),u=e.indentSize,d=u-l%u;for(let h=0;h<d;h++)s+=\" \"}else s=\"\t\";return new Kh(n,s,i)}static tab(e,t,n){const i=[];for(let s=0,a=n.length;s<a;s++){const l=n[s];if(l.isEmpty()){const u=t.getLineContent(l.startLineNumber);if(/^\\s*$/.test(u)&&t.isCheapToTokenize(l.startLineNumber)){let d=this._goodIndentForLine(e,t,l.startLineNumber);d=d||\"\t\";const h=e.normalizeIndentation(d);if(!u.startsWith(h)){i[s]=new Kh(new He(l.startLineNumber,1,l.startLineNumber,u.length+1),h,!0);continue}}i[s]=this._replaceJumpToNextIndent(e,t,l,!0)}else{if(l.startLineNumber===l.endLineNumber){const u=t.getLineMaxColumn(l.startLineNumber);if(l.startColumn!==1||l.endColumn!==u){i[s]=this._replaceJumpToNextIndent(e,t,l,!1);continue}}i[s]=new V_(l,{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent})}}return i}static compositionType(e,t,n,i,s,a,l,u){const d=i.map(h=>this._compositionType(n,h,s,a,l,u));return new n_(4,d,{shouldPushStackElementBefore:qF(e,4),shouldPushStackElementAfter:!1})}static _compositionType(e,t,n,i,s,a){if(!t.isEmpty())return null;const l=t.getPosition(),u=Math.max(1,l.column-i),d=Math.min(e.getLineMaxColumn(l.lineNumber),l.column+s),h=new He(l.lineNumber,u,l.lineNumber,d);return e.getValueInRange(h)===n&&a===0?null:new o8(h,n,0,a)}static _typeCommand(e,t,n){return n?new UF(e,t,!0):new Kh(e,t,!0)}static _enter(e,t,n,i){if(e.autoIndent===0)return Lc._typeCommand(i,`\n`,n);if(!t.isCheapToTokenize(i.getStartPosition().lineNumber)||e.autoIndent===1){const u=t.getLineContent(i.startLineNumber),d=Mu(u).substring(0,i.startColumn-1);return Lc._typeCommand(i,`\n`+e.normalizeIndentation(d),n)}const s=Nd.getEnterAction(e.autoIndent,t,i);if(s){if(s.indentAction===bd.None)return Lc._typeCommand(i,`\n`+e.normalizeIndentation(s.indentation+s.appendText),n);if(s.indentAction===bd.Indent)return Lc._typeCommand(i,`\n`+e.normalizeIndentation(s.indentation+s.appendText),n);if(s.indentAction===bd.IndentOutdent){const u=e.normalizeIndentation(s.indentation),d=e.normalizeIndentation(s.indentation+s.appendText),h=`\n`+d+`\n`+u;return n?new UF(i,h,!0):new o8(i,h,-1,d.length-u.length,!0)}else if(s.indentAction===bd.Outdent){const u=Lc.unshiftIndent(e,s.indentation);return Lc._typeCommand(i,`\n`+e.normalizeIndentation(u+s.appendText),n)}}const a=t.getLineContent(i.startLineNumber),l=Mu(a).substring(0,i.startColumn-1);if(e.autoIndent>=4){const u=Nd.getIndentForEnter(e.autoIndent,t,i,{unshiftIndent:d=>Lc.unshiftIndent(e,d),shiftIndent:d=>Lc.shiftIndent(e,d),normalizeIndentation:d=>e.normalizeIndentation(d)});if(u){let d=e.visibleColumnFromColumn(t,i.getEndPosition());const h=i.endColumn,p=t.getLineContent(i.endLineNumber),g=pf(p);if(g>=0?i=i.setEndPosition(i.endLineNumber,Math.max(i.endColumn,g+1)):i=i.setEndPosition(i.endLineNumber,t.getLineMaxColumn(i.endLineNumber)),n)return new UF(i,`\n`+e.normalizeIndentation(u.afterEnter),!0);{let y=0;return h<=g+1&&(e.insertSpaces||(d=Math.ceil(d/e.indentSize)),y=Math.min(d+1-e.normalizeIndentation(u.afterEnter).length-1,0)),new o8(i,`\n`+e.normalizeIndentation(u.afterEnter),0,y,!0)}}}return Lc._typeCommand(i,`\n`+e.normalizeIndentation(l),n)}static _isAutoIndentType(e,t,n){if(e.autoIndent<4)return!1;for(let i=0,s=n.length;i<s;i++)if(!t.isCheapToTokenize(n[i].getEndPosition().lineNumber))return!1;return!0}static _runAutoIndentType(e,t,n,i){const s=Nd.getIndentationAtPosition(t,n.startLineNumber,n.startColumn),a=Nd.getIndentActionForType(e.autoIndent,t,n,i,{shiftIndent:l=>Lc.shiftIndent(e,l),unshiftIndent:l=>Lc.unshiftIndent(e,l)});if(a===null)return null;if(a!==e.normalizeIndentation(s)){const l=t.getLineFirstNonWhitespaceColumn(n.startLineNumber);return l===0?Lc._typeCommand(new He(n.startLineNumber,1,n.endLineNumber,n.endColumn),e.normalizeIndentation(a)+i,!1):Lc._typeCommand(new He(n.startLineNumber,1,n.endLineNumber,n.endColumn),e.normalizeIndentation(a)+t.getLineContent(n.startLineNumber).substring(l-1,n.startColumn-1)+i,!1)}return null}static _isAutoClosingOvertype(e,t,n,i,s){if(e.autoClosingOvertype===\"never\"||!e.autoClosingPairs.autoClosingPairsCloseSingleChar.has(s))return!1;for(let a=0,l=n.length;a<l;a++){const u=n[a];if(!u.isEmpty())return!1;const d=u.getPosition(),h=t.getLineContent(d.lineNumber);if(h.charAt(d.column-1)!==s)return!1;const g=cx(s);if((d.column>2?h.charCodeAt(d.column-2):0)===92&&g)return!1;if(e.autoClosingOvertype===\"auto\"){let D=!1;for(let T=0,k=i.length;T<k;T++){const I=i[T];if(d.lineNumber===I.startLineNumber&&d.column===I.startColumn){D=!0;break}}if(!D)return!1}}return!0}static _runAutoClosingOvertype(e,t,n,i,s){const a=[];for(let l=0,u=i.length;l<u;l++){const h=i[l].getPosition(),p=new He(h.lineNumber,h.column,h.lineNumber,h.column+1);a[l]=new Kh(p,s)}return new n_(4,a,{shouldPushStackElementBefore:qF(e,4),shouldPushStackElementAfter:!1})}static _isBeforeClosingBrace(e,t){const n=t.charAt(0),i=e.autoClosingPairs.autoClosingPairsOpenByStart.get(n)||[],s=e.autoClosingPairs.autoClosingPairsCloseByStart.get(n)||[],a=i.some(u=>t.startsWith(u.open)),l=s.some(u=>t.startsWith(u.close));return!a&&l}static _findAutoClosingPairOpen(e,t,n,i){const s=e.autoClosingPairs.autoClosingPairsOpenByEnd.get(i);if(!s)return null;let a=null;for(const l of s)if(a===null||l.open.length>a.open.length){let u=!0;for(const d of n)if(t.getValueInRange(new He(d.lineNumber,d.column-l.open.length+1,d.lineNumber,d.column))+i!==l.open){u=!1;break}u&&(a=l)}return a}static _findContainedAutoClosingPair(e,t){if(t.open.length<=1)return null;const n=t.close.charAt(t.close.length-1),i=e.autoClosingPairs.autoClosingPairsCloseByEnd.get(n)||[];let s=null;for(const a of i)a.open!==t.open&&t.open.includes(a.open)&&t.close.endsWith(a.close)&&(!s||a.open.length>s.open.length)&&(s=a);return s}static _getAutoClosingPairClose(e,t,n,i,s){const a=cx(i),l=a?e.autoClosingQuotes:e.autoClosingBrackets,u=a?e.shouldAutoCloseBefore.quote:e.shouldAutoCloseBefore.bracket;if(l===\"never\")return null;for(const D of n)if(!D.isEmpty())return null;const d=n.map(D=>{const T=D.getPosition();return s?{lineNumber:T.lineNumber,beforeColumn:T.column-i.length,afterColumn:T.column}:{lineNumber:T.lineNumber,beforeColumn:T.column,afterColumn:T.column}}),h=this._findAutoClosingPairOpen(e,t,d.map(D=>new Ii(D.lineNumber,D.beforeColumn)),i);if(!h)return null;const p=this._findContainedAutoClosingPair(e,h),g=p?p.close:\"\";let y=!0;for(const D of d){const{lineNumber:T,beforeColumn:k,afterColumn:I}=D,F=t.getLineContent(T),q=F.substring(0,k-1),re=F.substring(I-1);if(re.startsWith(g)||(y=!1),re.length>0){const Ge=re.charAt(0);if(!Lc._isBeforeClosingBrace(e,re)&&!u(Ge))return null}if(h.open.length===1&&(i===\"'\"||i==='\"')&&l!==\"always\"){const Ge=Fg(e.wordSeparators);if(q.length>0){const qt=q.charCodeAt(q.length-1);if(Ge.get(qt)===0)return null}}if(!t.isCheapToTokenize(T))return null;t.forceTokenization(T);const Ie=t.getLineTokens(T),mt=$8(Ie,k-1);if(!h.shouldAutoClose(mt,k-mt.firstCharOffset))return null;const Le=h.findNeutralCharacter();if(Le){const Ge=t.getTokenTypeIfInsertingCharacter(T,k,Le);if(!h.isOK(Ge))return null}}return y?h.close.substring(0,h.close.length-g.length):h.close}static _runAutoClosingOpenCharType(e,t,n,i,s,a,l){const u=[];for(let d=0,h=i.length;d<h;d++){const p=i[d];u[d]=new Wce(p,s,!a,l)}return new n_(4,u,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}static _shouldSurroundChar(e,t){return cx(t)?e.autoSurround===\"quotes\"||e.autoSurround===\"languageDefined\":e.autoSurround===\"brackets\"||e.autoSurround===\"languageDefined\"}static _isSurroundSelectionType(e,t,n,i){if(!Lc._shouldSurroundChar(e,i)||!e.surroundingPairs.hasOwnProperty(i))return!1;const s=cx(i);for(let a=0,l=n.length;a<l;a++){const u=n[a];if(u.isEmpty())return!1;let d=!0;for(let h=u.startLineNumber;h<=u.endLineNumber;h++){const p=t.getLineContent(h),g=h===u.startLineNumber?u.startColumn-1:0,y=h===u.endLineNumber?u.endColumn-1:p.length,D=p.substring(g,y);if(/[^ \\t]/.test(D)){d=!1;break}}if(d)return!1;if(s&&u.startLineNumber===u.endLineNumber&&u.startColumn+1===u.endColumn){const h=t.getValueInRange(u);if(cx(h))return!1}}return!0}static _runSurroundSelectionType(e,t,n,i,s){const a=[];for(let l=0,u=i.length;l<u;l++){const d=i[l],h=t.surroundingPairs[s];a[l]=new p6e(d,s,h)}return new n_(0,a,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _isTypeInterceptorElectricChar(e,t,n){return!!(n.length===1&&t.isCheapToTokenize(n[0].getEndPosition().lineNumber))}static _typeInterceptorElectricChar(e,t,n,i,s){if(!t.electricChars.hasOwnProperty(s)||!i.isEmpty())return null;const a=i.getPosition();n.forceTokenization(a.lineNumber);const l=n.getLineTokens(a.lineNumber);let u;try{u=t.onElectricCharacter(s,l,a.column)}catch(d){return tl(d),null}if(!u)return null;if(u.matchOpenBracket){const d=(l.getLineContent()+s).lastIndexOf(u.matchOpenBracket)+1,h=n.bracketPairs.findMatchingBracketUp(u.matchOpenBracket,{lineNumber:a.lineNumber,column:d},500);if(h){if(h.startLineNumber===a.lineNumber)return null;const p=n.getLineContent(h.startLineNumber),g=Mu(p),y=t.normalizeIndentation(g),D=n.getLineContent(a.lineNumber),T=n.getLineFirstNonWhitespaceColumn(a.lineNumber)||a.column,k=D.substring(T-1,a.column-1),I=y+k+s,F=new He(a.lineNumber,1,a.lineNumber,a.column),q=new Kh(F,I);return new n_(vV(I,e),[q],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!0})}}return null}static compositionEndWithInterceptors(e,t,n,i,s,a){if(!i||oo.selectionsArrEqual(i,s))return null;let l=null;for(const d of s){if(!d.isEmpty())return null;const h=d.getPosition(),p=n.getValueInRange(new He(h.lineNumber,h.column-1,h.lineNumber,h.column));if(l===null)l=p;else if(l!==p)return null}if(!l)return null;if(this._isAutoClosingOvertype(t,n,s,a,l)){const d=s.map(h=>new Kh(new He(h.positionLineNumber,h.positionColumn,h.positionLineNumber,h.positionColumn+1),\"\",!1));return new n_(4,d,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}const u=this._getAutoClosingPairClose(t,n,s,l,!0);return u!==null?this._runAutoClosingOpenCharType(e,t,n,s,l,!0,u):null}static typeWithInterceptors(e,t,n,i,s,a,l){if(!e&&l===`\n`){const h=[];for(let p=0,g=s.length;p<g;p++)h[p]=Lc._enter(n,i,!1,s[p]);return new n_(4,h,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(!e&&this._isAutoIndentType(n,i,s)){const h=[];let p=!1;for(let g=0,y=s.length;g<y;g++)if(h[g]=this._runAutoIndentType(n,i,s[g],l),!h[g]){p=!0;break}if(!p)return new n_(4,h,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(!e&&this._isAutoClosingOvertype(n,i,s,a,l))return this._runAutoClosingOvertype(t,n,i,s,l);if(!e){const h=this._getAutoClosingPairClose(n,i,s,l,!1);if(h)return this._runAutoClosingOpenCharType(t,n,i,s,l,!1,h)}if(this._isSurroundSelectionType(n,i,s,l))return this._runSurroundSelectionType(t,n,i,s,l);if(!e&&this._isTypeInterceptorElectricChar(n,i,s)){const h=this._typeInterceptorElectricChar(t,n,i,s[0],l);if(h)return h}const u=[];for(let h=0,p=s.length;h<p;h++)u[h]=new Kh(s[h],l);const d=vV(l,t);return new n_(d,u,{shouldPushStackElementBefore:qF(t,d),shouldPushStackElementAfter:!1})}static typeWithoutInterceptors(e,t,n,i,s){const a=[];for(let u=0,d=i.length;u<d;u++)a[u]=new Kh(i[u],s);const l=vV(s,e);return new n_(l,a,{shouldPushStackElementBefore:qF(e,l),shouldPushStackElementAfter:!1})}static lineInsertBefore(e,t,n){if(t===null||n===null)return[];const i=[];for(let s=0,a=n.length;s<a;s++){let l=n[s].positionLineNumber;if(l===1)i[s]=new UF(new He(1,1,1,1),`\n`);else{l--;const u=t.getLineMaxColumn(l);i[s]=this._enter(e,t,!1,new He(l,u,l,u))}}return i}static lineInsertAfter(e,t,n){if(t===null||n===null)return[];const i=[];for(let s=0,a=n.length;s<a;s++){const l=n[s].positionLineNumber,u=t.getLineMaxColumn(l);i[s]=this._enter(e,t,!1,new He(l,u,l,u))}return i}static lineBreakInsert(e,t,n){const i=[];for(let s=0,a=n.length;s<a;s++)i[s]=this._enter(e,t,!0,n[s]);return i}}class Wce extends o8{constructor(e,t,n,i){super(e,(n?t:\"\")+i,0,-i.length),this._openCharacter=t,this._closeCharacter=i,this.closeCharacterRange=null,this.enclosingRange=null}computeCursorState(e,t){const i=t.getInverseEditOperations()[0].range;return this.closeCharacterRange=new He(i.startLineNumber,i.endColumn-this._closeCharacter.length,i.endLineNumber,i.endColumn),this.enclosingRange=new He(i.startLineNumber,i.endColumn-this._openCharacter.length-this._closeCharacter.length,i.endLineNumber,i.endColumn),super.computeCursorState(e,t)}}function vV(o,e){return o===\" \"?e===5||e===6?6:5:4}function qF(o,e){return Hre(o)&&!Hre(e)?!0:o===5?!1:Vre(o)!==Vre(e)}function Vre(o){return o===6||o===5?\"space\":o}function Hre(o){return o===4||o===5||o===6}var on;(function(o){o.editorSimpleInput=new Do(\"editorSimpleInput\",!1,!0),o.editorTextFocus=new Do(\"editorTextFocus\",!1,w(\"editorTextFocus\",\"Whether the editor text has focus (cursor is blinking)\")),o.focus=new Do(\"editorFocus\",!1,w(\"editorFocus\",\"Whether the editor or an editor widget has focus (e.g. focus is in the find widget)\")),o.textInputFocus=new Do(\"textInputFocus\",!1,w(\"textInputFocus\",\"Whether an editor or a rich text input has focus (cursor is blinking)\")),o.readOnly=new Do(\"editorReadonly\",!1,w(\"editorReadonly\",\"Whether the editor is read only\")),o.inDiffEditor=new Do(\"inDiffEditor\",!1,w(\"inDiffEditor\",\"Whether the context is a diff editor\")),o.columnSelection=new Do(\"editorColumnSelection\",!1,w(\"editorColumnSelection\",\"Whether `editor.columnSelection` is enabled\")),o.writable=o.readOnly.toNegated(),o.hasNonEmptySelection=new Do(\"editorHasSelection\",!1,w(\"editorHasSelection\",\"Whether the editor has text selected\")),o.hasOnlyEmptySelection=o.hasNonEmptySelection.toNegated(),o.hasMultipleSelections=new Do(\"editorHasMultipleSelections\",!1,w(\"editorHasMultipleSelections\",\"Whether the editor has multiple selections\")),o.hasSingleSelection=o.hasMultipleSelections.toNegated(),o.tabMovesFocus=new Do(\"editorTabMovesFocus\",!1,w(\"editorTabMovesFocus\",\"Whether `Tab` will move focus out of the editor\")),o.tabDoesNotMoveFocus=o.tabMovesFocus.toNegated(),o.isInWalkThroughSnippet=new Do(\"isInEmbeddedEditor\",!1,!0),o.canUndo=new Do(\"canUndo\",!1,!0),o.canRedo=new Do(\"canRedo\",!1,!0),o.hoverVisible=new Do(\"editorHoverVisible\",!1,w(\"editorHoverVisible\",\"Whether the editor hover is visible\")),o.inCompositeEditor=new Do(\"inCompositeEditor\",void 0,w(\"inCompositeEditor\",\"Whether the editor is part of a larger editor (e.g. notebooks)\")),o.notInCompositeEditor=o.inCompositeEditor.toNegated(),o.languageId=new Do(\"editorLangId\",\"\",w(\"editorLangId\",\"The language identifier of the editor\")),o.hasCompletionItemProvider=new Do(\"editorHasCompletionItemProvider\",!1,w(\"editorHasCompletionItemProvider\",\"Whether the editor has a completion item provider\")),o.hasCodeActionsProvider=new Do(\"editorHasCodeActionsProvider\",!1,w(\"editorHasCodeActionsProvider\",\"Whether the editor has a code actions provider\")),o.hasCodeLensProvider=new Do(\"editorHasCodeLensProvider\",!1,w(\"editorHasCodeLensProvider\",\"Whether the editor has a code lens provider\")),o.hasDefinitionProvider=new Do(\"editorHasDefinitionProvider\",!1,w(\"editorHasDefinitionProvider\",\"Whether the editor has a definition provider\")),o.hasDeclarationProvider=new Do(\"editorHasDeclarationProvider\",!1,w(\"editorHasDeclarationProvider\",\"Whether the editor has a declaration provider\")),o.hasImplementationProvider=new Do(\"editorHasImplementationProvider\",!1,w(\"editorHasImplementationProvider\",\"Whether the editor has an implementation provider\")),o.hasTypeDefinitionProvider=new Do(\"editorHasTypeDefinitionProvider\",!1,w(\"editorHasTypeDefinitionProvider\",\"Whether the editor has a type definition provider\")),o.hasHoverProvider=new Do(\"editorHasHoverProvider\",!1,w(\"editorHasHoverProvider\",\"Whether the editor has a hover provider\")),o.hasDocumentHighlightProvider=new Do(\"editorHasDocumentHighlightProvider\",!1,w(\"editorHasDocumentHighlightProvider\",\"Whether the editor has a document highlight provider\")),o.hasDocumentSymbolProvider=new Do(\"editorHasDocumentSymbolProvider\",!1,w(\"editorHasDocumentSymbolProvider\",\"Whether the editor has a document symbol provider\")),o.hasReferenceProvider=new Do(\"editorHasReferenceProvider\",!1,w(\"editorHasReferenceProvider\",\"Whether the editor has a reference provider\")),o.hasRenameProvider=new Do(\"editorHasRenameProvider\",!1,w(\"editorHasRenameProvider\",\"Whether the editor has a rename provider\")),o.hasSignatureHelpProvider=new Do(\"editorHasSignatureHelpProvider\",!1,w(\"editorHasSignatureHelpProvider\",\"Whether the editor has a signature help provider\")),o.hasInlayHintsProvider=new Do(\"editorHasInlayHintsProvider\",!1,w(\"editorHasInlayHintsProvider\",\"Whether the editor has an inline hints provider\")),o.hasDocumentFormattingProvider=new Do(\"editorHasDocumentFormattingProvider\",!1,w(\"editorHasDocumentFormattingProvider\",\"Whether the editor has a document formatting provider\")),o.hasDocumentSelectionFormattingProvider=new Do(\"editorHasDocumentSelectionFormattingProvider\",!1,w(\"editorHasDocumentSelectionFormattingProvider\",\"Whether the editor has a document selection formatting provider\")),o.hasMultipleDocumentFormattingProvider=new Do(\"editorHasMultipleDocumentFormattingProvider\",!1,w(\"editorHasMultipleDocumentFormattingProvider\",\"Whether the editor has multiple document formatting providers\")),o.hasMultipleDocumentSelectionFormattingProvider=new Do(\"editorHasMultipleDocumentSelectionFormattingProvider\",!1,w(\"editorHasMultipleDocumentSelectionFormattingProvider\",\"Whether the editor has multiple document selection formatting providers\"))})(on||(on={}));const _u=0;class kd extends Zh{runEditorCommand(e,t,n){const i=t._getViewModel();!i||this.runCoreEditorCommand(i,n||{})}}var u7;(function(o){const e=function(n){if(!Mf(n))return!1;const i=n;return!(!Lg(i.to)||!l_(i.by)&&!Lg(i.by)||!l_(i.value)&&!CD(i.value)||!l_(i.revealCursor)&&!Ble(i.revealCursor))};o.description={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'\\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\"]},value:{type:\"number\",default:1},revealCursor:{type:\"boolean\"}}}}]},o.RawDirection={Up:\"up\",Down:\"down\"},o.RawUnit={Line:\"line\",WrappedLine:\"wrappedLine\",Page:\"page\",HalfPage:\"halfPage\"};function t(n){let i;switch(n.to){case o.RawDirection.Up:i=1;break;case o.RawDirection.Down:i=2;break;default:return null}let s;switch(n.by){case o.RawUnit.Line:s=1;break;case o.RawUnit.WrappedLine:s=2;break;case o.RawUnit.Page:s=3;break;case o.RawUnit.HalfPage:s=4;break;default:s=2}const a=Math.floor(n.value||1),l=!!n.revealCursor;return{direction:i,unit:s,value:a,revealCursor:l,select:!!n.select}}o.parse=t})(u7||(u7={}));var wx;(function(o){const e=function(t){if(!Mf(t))return!1;const n=t;return!(!CD(n.lineNumber)&&!Lg(n.lineNumber)||!l_(n.at)&&!Lg(n.at))};o.description={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\"]}}}}]},o.RawAtArgument={Top:\"top\",Center:\"center\",Bottom:\"bottom\"}})(wx||(wx={}));class Lz{constructor(e){e.addImplementation(1e4,\"code-editor\",(t,n)=>{const i=t.get(Eu).getFocusedCodeEditor();return i&&i.hasTextFocus()?this._runEditorCommand(t,i,n):!1}),e.addImplementation(1e3,\"generic-dom-input-textarea\",(t,n)=>{const i=document.activeElement;return i&&[\"input\",\"textarea\"].indexOf(i.tagName.toLowerCase())>=0?(this.runDOMCommand(),!0):!1}),e.addImplementation(0,\"generic-dom\",(t,n)=>{const i=t.get(Eu).getActiveCodeEditor();return i?(i.focus(),this._runEditorCommand(t,i,n)):!1})}_runEditorCommand(e,t,n){const i=this.runEditorCommand(e,t,n);return i||!0}}var fh;(function(o){class e extends kd{constructor(F){super(F),this._minimalReveal=F.minimalReveal,this._inSelectionMode=F.inSelectionMode}runCoreEditorCommand(F,q){F.model.pushStackElement(),F.setCursorStates(q.source,3,[Lh.moveTo(F,F.getPrimaryCursorState(),this._inSelectionMode,q.position,q.viewPosition)])&&F.revealPrimaryCursor(q.source,!0,this._minimalReveal)}}o.MoveTo=Ns(new e({id:\"_moveTo\",minimalReveal:!0,inSelectionMode:!1,precondition:void 0})),o.MoveToSelect=Ns(new e({id:\"_moveToSelect\",minimalReveal:!1,inSelectionMode:!0,precondition:void 0}));class t extends kd{runCoreEditorCommand(F,q){F.model.pushStackElement();const re=this._getColumnSelectResult(F,F.getPrimaryCursorState(),F.getCursorColumnSelectData(),q);F.setCursorStates(q.source,3,re.viewStates.map(Ie=>Sl.fromViewState(Ie))),F.setCursorColumnSelectData({isReal:!0,fromViewLineNumber:re.fromLineNumber,fromViewVisualColumn:re.fromVisualColumn,toViewLineNumber:re.toLineNumber,toViewVisualColumn:re.toVisualColumn}),re.reversed?F.revealTopMostCursor(q.source):F.revealBottomMostCursor(q.source)}}o.ColumnSelect=Ns(new class extends t{constructor(){super({id:\"columnSelect\",precondition:void 0})}_getColumnSelectResult(I,F,q,re){const Ie=I.model.validatePosition(re.position),mt=I.coordinatesConverter.validateViewPosition(new Ii(re.viewPosition.lineNumber,re.viewPosition.column),Ie),Le=re.doColumnSelect?q.fromViewLineNumber:mt.lineNumber,Ge=re.doColumnSelect?q.fromViewVisualColumn:re.mouseColumn-1;return V2.columnSelect(I.cursorConfig,I,Le,Ge,mt.lineNumber,re.mouseColumn-1)}}),o.CursorColumnSelectLeft=Ns(new class extends t{constructor(){super({id:\"cursorColumnSelectLeft\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:3599,linux:{primary:0}}})}_getColumnSelectResult(I,F,q,re){return V2.columnSelectLeft(I.cursorConfig,I,q)}}),o.CursorColumnSelectRight=Ns(new class extends t{constructor(){super({id:\"cursorColumnSelectRight\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:3601,linux:{primary:0}}})}_getColumnSelectResult(I,F,q,re){return V2.columnSelectRight(I.cursorConfig,I,q)}});class n extends t{constructor(F){super(F),this._isPaged=F.isPaged}_getColumnSelectResult(F,q,re,Ie){return V2.columnSelectUp(F.cursorConfig,F,re,this._isPaged)}}o.CursorColumnSelectUp=Ns(new n({isPaged:!1,id:\"cursorColumnSelectUp\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:3600,linux:{primary:0}}})),o.CursorColumnSelectPageUp=Ns(new n({isPaged:!0,id:\"cursorColumnSelectPageUp\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:3595,linux:{primary:0}}}));class i extends t{constructor(F){super(F),this._isPaged=F.isPaged}_getColumnSelectResult(F,q,re,Ie){return V2.columnSelectDown(F.cursorConfig,F,re,this._isPaged)}}o.CursorColumnSelectDown=Ns(new i({isPaged:!1,id:\"cursorColumnSelectDown\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:3602,linux:{primary:0}}})),o.CursorColumnSelectPageDown=Ns(new i({isPaged:!0,id:\"cursorColumnSelectPageDown\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:3596,linux:{primary:0}}}));class s extends kd{constructor(){super({id:\"cursorMove\",precondition:void 0,description:l7.description})}runCoreEditorCommand(F,q){const re=l7.parse(q);!re||this._runCursorMove(F,q.source,re)}_runCursorMove(F,q,re){F.model.pushStackElement(),F.setCursorStates(q,3,s._move(F,F.getCursorStates(),re)),F.revealPrimaryCursor(q,!0)}static _move(F,q,re){const Ie=re.select,mt=re.value;switch(re.direction){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:return Lh.simpleMove(F,q,re.direction,Ie,mt,re.unit);case 11:case 13:case 12:case 14:return Lh.viewportMove(F,q,re.direction,Ie,mt);default:return null}}}o.CursorMoveImpl=s,o.CursorMove=Ns(new s);class a extends kd{constructor(F){super(F),this._staticArgs=F.args}runCoreEditorCommand(F,q){let re=this._staticArgs;this._staticArgs.value===-1&&(re={direction:this._staticArgs.direction,unit:this._staticArgs.unit,select:this._staticArgs.select,value:q.pageSize||F.cursorConfig.pageSize}),F.model.pushStackElement(),F.setCursorStates(q.source,3,Lh.simpleMove(F,F.getCursorStates(),re.direction,re.select,re.value,re.unit)),F.revealPrimaryCursor(q.source,!0)}}o.CursorLeft=Ns(new a({args:{direction:0,unit:0,select:!1,value:1},id:\"cursorLeft\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:15,mac:{primary:15,secondary:[288]}}})),o.CursorLeftSelect=Ns(new a({args:{direction:0,unit:0,select:!0,value:1},id:\"cursorLeftSelect\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:1039}})),o.CursorRight=Ns(new a({args:{direction:1,unit:0,select:!1,value:1},id:\"cursorRight\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:17,mac:{primary:17,secondary:[292]}}})),o.CursorRightSelect=Ns(new a({args:{direction:1,unit:0,select:!0,value:1},id:\"cursorRightSelect\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:1041}})),o.CursorUp=Ns(new a({args:{direction:2,unit:2,select:!1,value:1},id:\"cursorUp\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:16,mac:{primary:16,secondary:[302]}}})),o.CursorUpSelect=Ns(new a({args:{direction:2,unit:2,select:!0,value:1},id:\"cursorUpSelect\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:1040,secondary:[3088],mac:{primary:1040},linux:{primary:1040}}})),o.CursorPageUp=Ns(new a({args:{direction:2,unit:2,select:!1,value:-1},id:\"cursorPageUp\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:11}})),o.CursorPageUpSelect=Ns(new a({args:{direction:2,unit:2,select:!0,value:-1},id:\"cursorPageUpSelect\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:1035}})),o.CursorDown=Ns(new a({args:{direction:3,unit:2,select:!1,value:1},id:\"cursorDown\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:18,mac:{primary:18,secondary:[300]}}})),o.CursorDownSelect=Ns(new a({args:{direction:3,unit:2,select:!0,value:1},id:\"cursorDownSelect\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:1042,secondary:[3090],mac:{primary:1042},linux:{primary:1042}}})),o.CursorPageDown=Ns(new a({args:{direction:3,unit:2,select:!1,value:-1},id:\"cursorPageDown\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:12}})),o.CursorPageDownSelect=Ns(new a({args:{direction:3,unit:2,select:!0,value:-1},id:\"cursorPageDownSelect\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:1036}})),o.CreateCursor=Ns(new class extends kd{constructor(){super({id:\"createCursor\",precondition:void 0})}runCoreEditorCommand(I,F){let q;F.wholeLine?q=Lh.line(I,I.getPrimaryCursorState(),!1,F.position,F.viewPosition):q=Lh.moveTo(I,I.getPrimaryCursorState(),!1,F.position,F.viewPosition);const re=I.getCursorStates();if(re.length>1){const Ie=q.modelState?q.modelState.position:null,mt=q.viewState?q.viewState.position:null;for(let Le=0,Ge=re.length;Le<Ge;Le++){const qt=re[Le];if(!(Ie&&!qt.modelState.selection.containsPosition(Ie))&&!(mt&&!qt.viewState.selection.containsPosition(mt))){re.splice(Le,1),I.model.pushStackElement(),I.setCursorStates(F.source,3,re);return}}}re.push(q),I.model.pushStackElement(),I.setCursorStates(F.source,3,re)}}),o.LastCursorMoveToSelect=Ns(new class extends kd{constructor(){super({id:\"_lastCursorMoveToSelect\",precondition:void 0})}runCoreEditorCommand(I,F){const q=I.getLastAddedCursorIndex(),re=I.getCursorStates(),Ie=re.slice(0);Ie[q]=Lh.moveTo(I,re[q],!0,F.position,F.viewPosition),I.model.pushStackElement(),I.setCursorStates(F.source,3,Ie)}});class l extends kd{constructor(F){super(F),this._inSelectionMode=F.inSelectionMode}runCoreEditorCommand(F,q){F.model.pushStackElement(),F.setCursorStates(q.source,3,Lh.moveToBeginningOfLine(F,F.getCursorStates(),this._inSelectionMode)),F.revealPrimaryCursor(q.source,!0)}}o.CursorHome=Ns(new l({inSelectionMode:!1,id:\"cursorHome\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:14,mac:{primary:14,secondary:[2063]}}})),o.CursorHomeSelect=Ns(new l({inSelectionMode:!0,id:\"cursorHomeSelect\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:1038,mac:{primary:1038,secondary:[3087]}}}));class u extends kd{constructor(F){super(F),this._inSelectionMode=F.inSelectionMode}runCoreEditorCommand(F,q){F.model.pushStackElement(),F.setCursorStates(q.source,3,this._exec(F.getCursorStates())),F.revealPrimaryCursor(q.source,!0)}_exec(F){const q=[];for(let re=0,Ie=F.length;re<Ie;re++){const mt=F[re],Le=mt.modelState.position.lineNumber;q[re]=Sl.fromModelState(mt.modelState.move(this._inSelectionMode,Le,1,0))}return q}}o.CursorLineStart=Ns(new u({inSelectionMode:!1,id:\"cursorLineStart\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:0,mac:{primary:287}}})),o.CursorLineStartSelect=Ns(new u({inSelectionMode:!0,id:\"cursorLineStartSelect\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:0,mac:{primary:1311}}}));class d extends kd{constructor(F){super(F),this._inSelectionMode=F.inSelectionMode}runCoreEditorCommand(F,q){F.model.pushStackElement(),F.setCursorStates(q.source,3,Lh.moveToEndOfLine(F,F.getCursorStates(),this._inSelectionMode,q.sticky||!1)),F.revealPrimaryCursor(q.source,!0)}}o.CursorEnd=Ns(new d({inSelectionMode:!1,id:\"cursorEnd\",precondition:void 0,kbOpts:{args:{sticky:!1},weight:_u,kbExpr:on.textInputFocus,primary:13,mac:{primary:13,secondary:[2065]}},description:{description:\"Go to End\",args:[{name:\"args\",schema:{type:\"object\",properties:{sticky:{description:w(\"stickydesc\",\"Stick to the end even when going to longer lines\"),type:\"boolean\",default:!1}}}}]}})),o.CursorEndSelect=Ns(new d({inSelectionMode:!0,id:\"cursorEndSelect\",precondition:void 0,kbOpts:{args:{sticky:!1},weight:_u,kbExpr:on.textInputFocus,primary:1037,mac:{primary:1037,secondary:[3089]}},description:{description:\"Select to End\",args:[{name:\"args\",schema:{type:\"object\",properties:{sticky:{description:w(\"stickydesc\",\"Stick to the end even when going to longer lines\"),type:\"boolean\",default:!1}}}}]}}));class h extends kd{constructor(F){super(F),this._inSelectionMode=F.inSelectionMode}runCoreEditorCommand(F,q){F.model.pushStackElement(),F.setCursorStates(q.source,3,this._exec(F,F.getCursorStates())),F.revealPrimaryCursor(q.source,!0)}_exec(F,q){const re=[];for(let Ie=0,mt=q.length;Ie<mt;Ie++){const Le=q[Ie],Ge=Le.modelState.position.lineNumber,qt=F.model.getLineMaxColumn(Ge);re[Ie]=Sl.fromModelState(Le.modelState.move(this._inSelectionMode,Ge,qt,0))}return re}}o.CursorLineEnd=Ns(new h({inSelectionMode:!1,id:\"cursorLineEnd\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:0,mac:{primary:291}}})),o.CursorLineEndSelect=Ns(new h({inSelectionMode:!0,id:\"cursorLineEndSelect\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:0,mac:{primary:1315}}}));class p extends kd{constructor(F){super(F),this._inSelectionMode=F.inSelectionMode}runCoreEditorCommand(F,q){F.model.pushStackElement(),F.setCursorStates(q.source,3,Lh.moveToBeginningOfBuffer(F,F.getCursorStates(),this._inSelectionMode)),F.revealPrimaryCursor(q.source,!0)}}o.CursorTop=Ns(new p({inSelectionMode:!1,id:\"cursorTop\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:2062,mac:{primary:2064}}})),o.CursorTopSelect=Ns(new p({inSelectionMode:!0,id:\"cursorTopSelect\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:3086,mac:{primary:3088}}}));class g extends kd{constructor(F){super(F),this._inSelectionMode=F.inSelectionMode}runCoreEditorCommand(F,q){F.model.pushStackElement(),F.setCursorStates(q.source,3,Lh.moveToEndOfBuffer(F,F.getCursorStates(),this._inSelectionMode)),F.revealPrimaryCursor(q.source,!0)}}o.CursorBottom=Ns(new g({inSelectionMode:!1,id:\"cursorBottom\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:2061,mac:{primary:2066}}})),o.CursorBottomSelect=Ns(new g({inSelectionMode:!0,id:\"cursorBottomSelect\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:3085,mac:{primary:3090}}}));class y extends kd{constructor(){super({id:\"editorScroll\",precondition:void 0,description:u7.description})}runCoreEditorCommand(F,q){const re=u7.parse(q);!re||this._runEditorScroll(F,q.source,re)}_runEditorScroll(F,q,re){const Ie=this._computeDesiredScrollTop(F,re);if(re.revealCursor){const mt=F.getCompletelyVisibleViewRangeAtScrollTop(Ie);F.setCursorStates(q,3,[Lh.findPositionInViewportIfOutside(F,F.getPrimaryCursorState(),mt,re.select)])}F.viewLayout.setScrollPosition({scrollTop:Ie},0)}_computeDesiredScrollTop(F,q){if(q.unit===1){const mt=F.getCompletelyVisibleViewRange(),Le=F.coordinatesConverter.convertViewRangeToModelRange(mt);let Ge;q.direction===1?Ge=Math.max(1,Le.startLineNumber-q.value):Ge=Math.min(F.model.getLineCount(),Le.startLineNumber+q.value);const qt=F.coordinatesConverter.convertModelPositionToViewPosition(new Ii(Ge,1));return F.viewLayout.getVerticalOffsetForLineNumber(qt.lineNumber)}let re;q.unit===3?re=F.cursorConfig.pageSize*q.value:q.unit===4?re=Math.round(F.cursorConfig.pageSize/2)*q.value:re=q.value;const Ie=(q.direction===1?-1:1)*re;return F.viewLayout.getCurrentScrollTop()+Ie*F.cursorConfig.lineHeight}}o.EditorScrollImpl=y,o.EditorScroll=Ns(new y),o.ScrollLineUp=Ns(new class extends kd{constructor(){super({id:\"scrollLineUp\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:2064,mac:{primary:267}}})}runCoreEditorCommand(I,F){o.EditorScroll._runEditorScroll(I,F.source,{direction:1,unit:2,value:1,revealCursor:!1,select:!1})}}),o.ScrollPageUp=Ns(new class extends kd{constructor(){super({id:\"scrollPageUp\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:2059,win:{primary:523},linux:{primary:523}}})}runCoreEditorCommand(I,F){o.EditorScroll._runEditorScroll(I,F.source,{direction:1,unit:3,value:1,revealCursor:!1,select:!1})}}),o.ScrollLineDown=Ns(new class extends kd{constructor(){super({id:\"scrollLineDown\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:2066,mac:{primary:268}}})}runCoreEditorCommand(I,F){o.EditorScroll._runEditorScroll(I,F.source,{direction:2,unit:2,value:1,revealCursor:!1,select:!1})}}),o.ScrollPageDown=Ns(new class extends kd{constructor(){super({id:\"scrollPageDown\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:2060,win:{primary:524},linux:{primary:524}}})}runCoreEditorCommand(I,F){o.EditorScroll._runEditorScroll(I,F.source,{direction:2,unit:3,value:1,revealCursor:!1,select:!1})}});class D extends kd{constructor(F){super(F),this._inSelectionMode=F.inSelectionMode}runCoreEditorCommand(F,q){F.model.pushStackElement(),F.setCursorStates(q.source,3,[Lh.word(F,F.getPrimaryCursorState(),this._inSelectionMode,q.position)]),F.revealPrimaryCursor(q.source,!0)}}o.WordSelect=Ns(new D({inSelectionMode:!1,id:\"_wordSelect\",precondition:void 0})),o.WordSelectDrag=Ns(new D({inSelectionMode:!0,id:\"_wordSelectDrag\",precondition:void 0})),o.LastCursorWordSelect=Ns(new class extends kd{constructor(){super({id:\"lastCursorWordSelect\",precondition:void 0})}runCoreEditorCommand(I,F){const q=I.getLastAddedCursorIndex(),re=I.getCursorStates(),Ie=re.slice(0),mt=re[q];Ie[q]=Lh.word(I,mt,mt.modelState.hasSelection(),F.position),I.model.pushStackElement(),I.setCursorStates(F.source,3,Ie)}});class T extends kd{constructor(F){super(F),this._inSelectionMode=F.inSelectionMode}runCoreEditorCommand(F,q){F.model.pushStackElement(),F.setCursorStates(q.source,3,[Lh.line(F,F.getPrimaryCursorState(),this._inSelectionMode,q.position,q.viewPosition)]),F.revealPrimaryCursor(q.source,!1)}}o.LineSelect=Ns(new T({inSelectionMode:!1,id:\"_lineSelect\",precondition:void 0})),o.LineSelectDrag=Ns(new T({inSelectionMode:!0,id:\"_lineSelectDrag\",precondition:void 0}));class k extends kd{constructor(F){super(F),this._inSelectionMode=F.inSelectionMode}runCoreEditorCommand(F,q){const re=F.getLastAddedCursorIndex(),Ie=F.getCursorStates(),mt=Ie.slice(0);mt[re]=Lh.line(F,Ie[re],this._inSelectionMode,q.position,q.viewPosition),F.model.pushStackElement(),F.setCursorStates(q.source,3,mt)}}o.LastCursorLineSelect=Ns(new k({inSelectionMode:!1,id:\"lastCursorLineSelect\",precondition:void 0})),o.LastCursorLineSelectDrag=Ns(new k({inSelectionMode:!0,id:\"lastCursorLineSelectDrag\",precondition:void 0})),o.CancelSelection=Ns(new class extends kd{constructor(){super({id:\"cancelSelection\",precondition:on.hasNonEmptySelection,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:9,secondary:[1033]}})}runCoreEditorCommand(I,F){I.model.pushStackElement(),I.setCursorStates(F.source,3,[Lh.cancelSelection(I,I.getPrimaryCursorState())]),I.revealPrimaryCursor(F.source,!0)}}),o.RemoveSecondaryCursors=Ns(new class extends kd{constructor(){super({id:\"removeSecondaryCursors\",precondition:on.hasMultipleSelections,kbOpts:{weight:_u+1,kbExpr:on.textInputFocus,primary:9,secondary:[1033]}})}runCoreEditorCommand(I,F){I.model.pushStackElement(),I.setCursorStates(F.source,3,[I.getPrimaryCursorState()]),I.revealPrimaryCursor(F.source,!0),X8(w(\"removedCursor\",\"Removed secondary cursors\"))}}),o.RevealLine=Ns(new class extends kd{constructor(){super({id:\"revealLine\",precondition:void 0,description:wx.description})}runCoreEditorCommand(I,F){const q=F,re=q.lineNumber||0;let Ie=typeof re==\"number\"?re+1:parseInt(re)+1;Ie<1&&(Ie=1);const mt=I.model.getLineCount();Ie>mt&&(Ie=mt);const Le=new He(Ie,1,Ie,I.model.getLineMaxColumn(Ie));let Ge=0;if(q.at)switch(q.at){case wx.RawAtArgument.Top:Ge=3;break;case wx.RawAtArgument.Center:Ge=1;break;case wx.RawAtArgument.Bottom:Ge=4;break}const qt=I.coordinatesConverter.convertModelRangeToViewRange(Le);I.revealRange(F.source,!1,qt,Ge,0)}}),o.SelectAll=new class extends Lz{constructor(){super(lLe)}runDOMCommand(){J_&&(document.activeElement.focus(),document.activeElement.select()),document.execCommand(\"selectAll\")}runEditorCommand(I,F,q){const re=F._getViewModel();!re||this.runCoreEditorCommand(re,q)}runCoreEditorCommand(I,F){I.model.pushStackElement(),I.setCursorStates(\"keyboard\",3,[Lh.selectAll(I,I.getPrimaryCursorState())])}},o.SetSelection=Ns(new class extends kd{constructor(){super({id:\"setSelection\",precondition:void 0})}runCoreEditorCommand(I,F){I.model.pushStackElement(),I.setCursorStates(F.source,3,[Sl.fromModelSelection(F.selection)])}})})(fh||(fh={}));const f6e=co.and(on.textInputFocus,on.columnSelection);function qE(o,e){gf.registerKeybindingRule({id:o,primary:e,when:f6e,weight:_u+1})}qE(fh.CursorColumnSelectLeft.id,1039);qE(fh.CursorColumnSelectRight.id,1041);qE(fh.CursorColumnSelectUp.id,1040);qE(fh.CursorColumnSelectPageUp.id,1035);qE(fh.CursorColumnSelectDown.id,1042);qE(fh.CursorColumnSelectPageDown.id,1036);function $re(o){return o.register(),o}var $x;(function(o){class e extends Zh{runEditorCommand(n,i,s){const a=i._getViewModel();!a||this.runCoreEditingCommand(i,a,s||{})}}o.CoreEditingCommand=e,o.LineBreakInsert=Ns(new class extends e{constructor(){super({id:\"lineBreakInsert\",precondition:on.writable,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:0,mac:{primary:301}}})}runCoreEditingCommand(t,n,i){t.pushUndoStop(),t.executeCommands(this.id,Lc.lineBreakInsert(n.cursorConfig,n.model,n.getCursorStates().map(s=>s.modelState.selection)))}}),o.Outdent=Ns(new class extends e{constructor(){super({id:\"outdent\",precondition:on.writable,kbOpts:{weight:_u,kbExpr:co.and(on.editorTextFocus,on.tabDoesNotMoveFocus),primary:1026}})}runCoreEditingCommand(t,n,i){t.pushUndoStop(),t.executeCommands(this.id,Lc.outdent(n.cursorConfig,n.model,n.getCursorStates().map(s=>s.modelState.selection))),t.pushUndoStop()}}),o.Tab=Ns(new class extends e{constructor(){super({id:\"tab\",precondition:on.writable,kbOpts:{weight:_u,kbExpr:co.and(on.editorTextFocus,on.tabDoesNotMoveFocus),primary:2}})}runCoreEditingCommand(t,n,i){t.pushUndoStop(),t.executeCommands(this.id,Lc.tab(n.cursorConfig,n.model,n.getCursorStates().map(s=>s.modelState.selection))),t.pushUndoStop()}}),o.DeleteLeft=Ns(new class extends e{constructor(){super({id:\"deleteLeft\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})}runCoreEditingCommand(t,n,i){const[s,a]=FD.deleteLeft(n.getPrevEditOperationType(),n.cursorConfig,n.model,n.getCursorStates().map(l=>l.modelState.selection),n.getCursorAutoClosedCharacters());s&&t.pushUndoStop(),t.executeCommands(this.id,a),n.setPrevEditOperationType(2)}}),o.DeleteRight=Ns(new class extends e{constructor(){super({id:\"deleteRight\",precondition:void 0,kbOpts:{weight:_u,kbExpr:on.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})}runCoreEditingCommand(t,n,i){const[s,a]=FD.deleteRight(n.getPrevEditOperationType(),n.cursorConfig,n.model,n.getCursorStates().map(l=>l.modelState.selection));s&&t.pushUndoStop(),t.executeCommands(this.id,a),n.setPrevEditOperationType(3)}}),o.Undo=new class extends Lz{constructor(){super(rce)}runDOMCommand(){document.execCommand(\"undo\")}runEditorCommand(t,n,i){if(!(!n.hasModel()||n.getOption(81)===!0))return n.getModel().undo()}},o.Redo=new class extends Lz{constructor(){super(sce)}runDOMCommand(){document.execCommand(\"redo\")}runEditorCommand(t,n,i){if(!(!n.hasModel()||n.getOption(81)===!0))return n.getModel().redo()}}})($x||($x={}));class zre extends WP{constructor(e,t,n){super({id:e,precondition:void 0,description:n}),this._handlerId=t}runCommand(e,t){const n=e.get(Eu).getFocusedCodeEditor();!n||n.trigger(\"keyboard\",this._handlerId,t)}}function hw(o,e){$re(new zre(\"default:\"+o,o)),$re(new zre(o,o,e))}hw(\"type\",{description:\"Type\",args:[{name:\"args\",schema:{type:\"object\",required:[\"text\"],properties:{text:{type:\"string\"}}}}]});hw(\"replacePreviousChar\");hw(\"compositionType\");hw(\"compositionStart\");hw(\"compositionEnd\");hw(\"paste\");hw(\"cut\");class _6e{constructor(e,t,n,i){this.configuration=e,this.viewModel=t,this.userInputEvents=n,this.commandDelegate=i}paste(e,t,n,i){this.commandDelegate.paste(e,t,n,i)}type(e){this.commandDelegate.type(e)}compositionType(e,t,n,i){this.commandDelegate.compositionType(e,t,n,i)}compositionStart(){this.commandDelegate.startComposition()}compositionEnd(){this.commandDelegate.endComposition()}cut(){this.commandDelegate.cut()}setSelection(e){fh.SetSelection.runCoreEditorCommand(this.viewModel,{source:\"keyboard\",selection:e})}_validateViewColumn(e){const t=this.viewModel.getLineMinColumn(e.lineNumber);return e.column<t?new Ii(e.lineNumber,t):e}_hasMulticursorModifier(e){switch(this.configuration.options.get(70)){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(70)){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,n=vp&&t.get(96),i=t.get(18);e.middleButton&&!n?this._columnSelect(e.position,e.mouseColumn,e.inSelectionMode):e.startedOnLineNumbers?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelect(e.position):this._createCursor(e.position,!0):e.inSelectionMode?this._lineSelectDrag(e.position):this._lineSelect(e.position):e.mouseDownCount>=4?this._selectAll():e.mouseDownCount===3?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelectDrag(e.position):this._lastCursorLineSelect(e.position):e.inSelectionMode?this._lineSelectDrag(e.position):this._lineSelect(e.position):e.mouseDownCount===2?e.onInjectedText||(this._hasMulticursorModifier(e)?this._lastCursorWordSelect(e.position):e.inSelectionMode?this._wordSelectDrag(e.position):this._wordSelect(e.position)):this._hasMulticursorModifier(e)?this._hasNonMulticursorModifier(e)||(e.shiftKey?this._columnSelect(e.position,e.mouseColumn,!0):e.inSelectionMode?this._lastCursorMoveToSelect(e.position):this._createCursor(e.position,!1)):e.inSelectionMode?e.altKey?this._columnSelect(e.position,e.mouseColumn,!0):i?this._columnSelect(e.position,e.mouseColumn,!0):this._moveToSelect(e.position):this.moveTo(e.position)}_usualArgs(e){return e=this._validateViewColumn(e),{source:\"mouse\",position:this._convertViewToModelPosition(e),viewPosition:e}}moveTo(e){fh.MoveTo.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_moveToSelect(e){fh.MoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_columnSelect(e,t,n){e=this._validateViewColumn(e),fh.ColumnSelect.runCoreEditorCommand(this.viewModel,{source:\"mouse\",position:this._convertViewToModelPosition(e),viewPosition:e,mouseColumn:t,doColumnSelect:n})}_createCursor(e,t){e=this._validateViewColumn(e),fh.CreateCursor.runCoreEditorCommand(this.viewModel,{source:\"mouse\",position:this._convertViewToModelPosition(e),viewPosition:e,wholeLine:t})}_lastCursorMoveToSelect(e){fh.LastCursorMoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_wordSelect(e){fh.WordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_wordSelectDrag(e){fh.WordSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lastCursorWordSelect(e){fh.LastCursorWordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lineSelect(e){fh.LineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lineSelectDrag(e){fh.LineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lastCursorLineSelect(e){fh.LastCursorLineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lastCursorLineSelectDrag(e){fh.LastCursorLineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_selectAll(){fh.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 QP{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){this.onKeyDown&&this.onKeyDown(e)}emitKeyUp(e){this.onKeyUp&&this.onKeyUp(e)}emitContextMenu(e){this.onContextMenu&&this.onContextMenu(this._convertViewToModelMouseEvent(e))}emitMouseMove(e){this.onMouseMove&&this.onMouseMove(this._convertViewToModelMouseEvent(e))}emitMouseLeave(e){this.onMouseLeave&&this.onMouseLeave(this._convertViewToModelMouseEvent(e))}emitMouseDown(e){this.onMouseDown&&this.onMouseDown(this._convertViewToModelMouseEvent(e))}emitMouseUp(e){this.onMouseUp&&this.onMouseUp(this._convertViewToModelMouseEvent(e))}emitMouseDrag(e){this.onMouseDrag&&this.onMouseDrag(this._convertViewToModelMouseEvent(e))}emitMouseDrop(e){this.onMouseDrop&&this.onMouseDrop(this._convertViewToModelMouseEvent(e))}emitMouseDropCanceled(){this.onMouseDropCanceled&&this.onMouseDropCanceled()}emitMouseWheel(e){this.onMouseWheel&&this.onMouseWheel(e)}_convertViewToModelMouseEvent(e){return e.target?{event:e.event,target:this._convertViewToModelMouseTarget(e.target)}:e}_convertViewToModelMouseTarget(e){return QP.convertViewToModelMouseTarget(e,this._coordinatesConverter)}static convertViewToModelMouseTarget(e,t){const n=Object.assign({},e);return n.position&&(n.position=t.convertViewPositionToModelPosition(n.position)),n.range&&(n.range=t.convertViewRangeToModelRange(n.range)),n}}var CV;class Vce{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 Error(\"Illegal value for lineNumber\");return this._lines[t]}onLinesDeleted(e,t){if(this.getCount()===0)return null;const n=this.getStartLineNumber(),i=this.getEndLineNumber();if(t<n){const u=t-e+1;return this._rendLineNumberStart-=u,null}if(e>i)return null;let s=0,a=0;for(let u=n;u<=i;u++){const d=u-this._rendLineNumberStart;e<=u&&u<=t&&(a===0?(s=d,a=1):a++)}if(e<n){let u=0;t<n?u=t-e+1:u=n-e,this._rendLineNumberStart-=u}return this._lines.splice(s,a)}onLinesChanged(e,t){if(this.getCount()===0)return!1;const n=this.getStartLineNumber(),i=this.getEndLineNumber();let s=!1;for(let a=e;a<=t;a++)a>=n&&a<=i&&(this._lines[a-this._rendLineNumberStart].onContentChanged(),s=!0);return s}onLinesInserted(e,t){if(this.getCount()===0)return null;const n=t-e+1,i=this.getStartLineNumber(),s=this.getEndLineNumber();if(e<=i)return this._rendLineNumberStart+=n,null;if(e>s)return null;if(n+e>s)return this._lines.splice(e-this._rendLineNumberStart,s-e+1);const a=[];for(let p=0;p<n;p++)a[p]=this._createLine();const l=e-this._rendLineNumberStart,u=this._lines.slice(0,l),d=this._lines.slice(l,this._lines.length-n),h=this._lines.slice(this._lines.length-n,this._lines.length);return this._lines=u.concat(a).concat(d),h}onTokensChanged(e){if(this.getCount()===0)return!1;const t=this.getStartLineNumber(),n=this.getEndLineNumber();let i=!1;for(let s=0,a=e.length;s<a;s++){const l=e[s];if(l.toLineNumber<t||l.fromLineNumber>n)continue;const u=Math.max(t,l.fromLineNumber),d=Math.min(n,l.toLineNumber);for(let h=u;h<=d;h++){const p=h-this._rendLineNumberStart;this._lines[p].onTokensChanged(),i=!0}}return i}}class Hce{constructor(e){this._host=e,this.domNode=this._createDomNode(),this._linesCollection=new Vce(()=>this._host.createVisibleLine())}_createDomNode(){const e=ru(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(131)}onFlushed(e){return this._linesCollection.flush(),!0}onLinesChanged(e){return this._linesCollection.onLinesChanged(e.fromLineNumber,e.toLineNumber)}onLinesDeleted(e){const t=this._linesCollection.onLinesDeleted(e.fromLineNumber,e.toLineNumber);if(t)for(let n=0,i=t.length;n<i;n++){const s=t[n].getDomNode();s&&this.domNode.domNode.removeChild(s)}return!0}onLinesInserted(e){const t=this._linesCollection.onLinesInserted(e.fromLineNumber,e.toLineNumber);if(t)for(let n=0,i=t.length;n<i;n++){const s=t[n].getDomNode();s&&this.domNode.domNode.removeChild(s)}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(),n=new ab(this.domNode.domNode,this._host,e),i={rendLineNumberStart:t.rendLineNumberStart,lines:t.lines,linesLength:t.lines.length},s=n.render(i,e.startLineNumber,e.endLineNumber,e.relativeVerticalOffset);this._linesCollection._set(s.rendLineNumberStart,s.lines)}}class ab{constructor(e,t,n){this.domNode=e,this.host=t,this.viewportData=n}render(e,t,n,i){const s={rendLineNumberStart:e.rendLineNumberStart,lines:e.lines.slice(0),linesLength:e.linesLength};if(s.rendLineNumberStart+s.linesLength-1<t||n<s.rendLineNumberStart){s.rendLineNumberStart=t,s.linesLength=n-t+1,s.lines=[];for(let a=t;a<=n;a++)s.lines[a-t]=this.host.createVisibleLine();return this._finishRendering(s,!0,i),s}if(this._renderUntouchedLines(s,Math.max(t-s.rendLineNumberStart,0),Math.min(n-s.rendLineNumberStart,s.linesLength-1),i,t),s.rendLineNumberStart>t){const a=t,l=Math.min(n,s.rendLineNumberStart-1);a<=l&&(this._insertLinesBefore(s,a,l,i,t),s.linesLength+=l-a+1)}else if(s.rendLineNumberStart<t){const a=Math.min(s.linesLength,t-s.rendLineNumberStart);a>0&&(this._removeLinesBefore(s,a),s.linesLength-=a)}if(s.rendLineNumberStart=t,s.rendLineNumberStart+s.linesLength-1<n){const a=s.rendLineNumberStart+s.linesLength,l=n;a<=l&&(this._insertLinesAfter(s,a,l,i,t),s.linesLength+=l-a+1)}else if(s.rendLineNumberStart+s.linesLength-1>n){const a=Math.max(0,n-s.rendLineNumberStart+1),u=s.linesLength-1-a+1;u>0&&(this._removeLinesAfter(s,u),s.linesLength-=u)}return this._finishRendering(s,!1,i),s}_renderUntouchedLines(e,t,n,i,s){const a=e.rendLineNumberStart,l=e.lines;for(let u=t;u<=n;u++){const d=a+u;l[u].layoutLine(d,i[d-s])}}_insertLinesBefore(e,t,n,i,s){const a=[];let l=0;for(let u=t;u<=n;u++)a[l++]=this.host.createVisibleLine();e.lines=a.concat(e.lines)}_removeLinesBefore(e,t){for(let n=0;n<t;n++){const i=e.lines[n].getDomNode();i&&this.domNode.removeChild(i)}e.lines.splice(0,t)}_insertLinesAfter(e,t,n,i,s){const a=[];let l=0;for(let u=t;u<=n;u++)a[l++]=this.host.createVisibleLine();e.lines=e.lines.concat(a)}_removeLinesAfter(e,t){const n=e.linesLength-t;for(let i=0;i<t;i++){const s=e.lines[n+i].getDomNode();s&&this.domNode.removeChild(s)}e.lines.splice(n,t)}_finishRenderingNewLines(e,t,n,i){ab._ttPolicy&&(n=ab._ttPolicy.createHTML(n));const s=this.domNode.lastChild;t||!s?this.domNode.innerHTML=n:s.insertAdjacentHTML(\"afterend\",n);let a=this.domNode.lastChild;for(let l=e.linesLength-1;l>=0;l--){const u=e.lines[l];i[l]&&(u.setDomNode(a),a=a.previousSibling)}}_finishRenderingInvalidLines(e,t,n){const i=document.createElement(\"div\");ab._ttPolicy&&(t=ab._ttPolicy.createHTML(t)),i.innerHTML=t;for(let s=0;s<e.linesLength;s++){const a=e.lines[s];if(n[s]){const l=i.firstChild,u=a.getDomNode();u.parentNode.replaceChild(l,u),a.setDomNode(l)}}}_finishRendering(e,t,n){const i=ab._sb,s=e.linesLength,a=e.lines,l=e.rendLineNumberStart,u=[];{i.reset();let d=!1;for(let h=0;h<s;h++){const p=a[h];u[h]=!1,!(p.getDomNode()||!p.renderLine(h+l,n[h],this.viewportData,i))&&(u[h]=!0,d=!0)}d&&this._finishRenderingNewLines(e,t,i.build(),u)}{i.reset();let d=!1;const h=[];for(let p=0;p<s;p++){const g=a[p];h[p]=!1,!(u[p]||!g.renderLine(p+l,n[p],this.viewportData,i))&&(h[p]=!0,d=!0)}d&&this._finishRenderingInvalidLines(e,i.build(),h)}}}ab._ttPolicy=(CV=window.trustedTypes)===null||CV===void 0?void 0:CV.createPolicy(\"editorViewLayer\",{createHTML:o=>o});ab._sb=wD(1e5);class $ce extends Rg{constructor(e){super(e),this._visibleLines=new Hce(this),this.domNode=this._visibleLines.domNode,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 g6e(this._context.configuration,this._dynamicOverlays)}addDynamicOverlay(e){this._dynamicOverlays.push(e)}onConfigurationChanged(e){this._visibleLines.onConfigurationChanged(e);const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();for(let i=t;i<=n;i++)this._visibleLines.getVisibleLine(i).onConfigurationChanged(e);return!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(n=>n.shouldRender());for(let n=0,i=t.length;n<i;n++){const s=t[n];s.prepareRender(e),s.onDidRender()}}render(e){this._viewOverlaysRender(e),this.domNode.toggleClassName(\"focused\",this._isFocused)}_viewOverlaysRender(e){this._visibleLines.renderLines(e.viewportData)}}class g6e{constructor(e,t){this._configuration=e,this._lineHeight=this._configuration.options.get(59),this._dynamicOverlays=t,this._domNode=null,this._renderedContent=null}getDomNode(){return this._domNode?this._domNode.domNode:null}setDomNode(e){this._domNode=ru(e)}onContentChanged(){}onTokensChanged(){}onConfigurationChanged(e){this._lineHeight=this._configuration.options.get(59)}renderLine(e,t,n,i){let s=\"\";for(let a=0,l=this._dynamicOverlays.length;a<l;a++)s+=this._dynamicOverlays[a].render(n.startLineNumber,e);return this._renderedContent===s?!1:(this._renderedContent=s,i.appendASCIIString('<div style=\"position:absolute;top:'),i.appendASCIIString(String(t)),i.appendASCIIString(\"px;width:100%;height:\"),i.appendASCIIString(String(this._lineHeight)),i.appendASCIIString('px;\">'),i.appendASCIIString(s),i.appendASCIIString(\"</div>\"),!0)}layoutLine(e,t){this._domNode&&(this._domNode.setTop(t),this._domNode.setHeight(this._lineHeight))}}class m6e extends $ce{constructor(e){super(e);const n=this._context.configuration.options.get(131);this._contentWidth=n.contentWidth,this.domNode.setHeight(0)}onConfigurationChanged(e){const n=this._context.configuration.options.get(131);return this._contentWidth=n.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 y6e extends $ce{constructor(e){super(e);const t=this._context.configuration.options,n=t.get(131);this._contentLeft=n.contentLeft,this.domNode.setClassName(\"margin-view-overlays\"),this.domNode.setWidth(1),bp(this.domNode,t.get(44))}onConfigurationChanged(e){const t=this._context.configuration.options;bp(this.domNode,t.get(44));const n=t.get(131);return this._contentLeft=n.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 wk{constructor(e,t){this._coordinateBrand=void 0,this.top=e,this.left=t}}class b6e extends Rg{constructor(e,t){super(e),this._viewDomNode=t,this._widgets={},this.domNode=ru(document.createElement(\"div\")),Y1.write(this.domNode,1),this.domNode.setClassName(\"contentWidgets\"),this.domNode.setPosition(\"absolute\"),this.domNode.setTop(0),this.overflowingContentWidgetsDomNode=ru(document.createElement(\"div\")),Y1.write(this.overflowingContentWidgetsDomNode,2),this.overflowingContentWidgetsDomNode.setClassName(\"overflowingContentWidgets\")}dispose(){super.dispose(),this._widgets={}}onConfigurationChanged(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].onConfigurationChanged(e);return!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLineMappingChanged(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].onLineMappingChanged(e);return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return!0}onZonesChanged(e){return!0}addWidget(e){const t=new v6e(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,n){this._widgets[e.getId()].setPosition(t,n),this.setShouldRender()}removeWidget(e){const t=e.getId();if(this._widgets.hasOwnProperty(t)){const n=this._widgets[t];delete this._widgets[t];const i=n.domNode.domNode;i.parentNode.removeChild(i),i.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 n of t)this._widgets[n].onBeforeRender(e)}prepareRender(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].prepareRender(e)}render(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].render(e)}}class v6e{constructor(e,t,n){this._context=e,this._viewDomNode=t,this._actual=n,this.domNode=ru(this._actual.getDomNode()),this.id=this._actual.getId(),this.allowEditorOverflow=this._actual.allowEditorOverflow||!1,this.suppressMouseDown=this._actual.suppressMouseDown||!1;const i=this._context.configuration.options,s=i.get(131);this._fixedOverflowWidgets=i.get(36),this._contentWidth=s.contentWidth,this._contentLeft=s.contentLeft,this._lineHeight=i.get(59),this._range=null,this._viewRange=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(59),e.hasChanged(131)){const n=t.get(131);this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,this._maxWidth=this._getMaxWidth()}}onLineMappingChanged(e){this._setPosition(this._range)}_setPosition(e){if(this._range=e,this._viewRange=null,this._range){const t=this._context.viewModel.model.validateRange(this._range);(this._context.viewModel.coordinatesConverter.modelPositionIsVisible(t.getStartPosition())||this._context.viewModel.coordinatesConverter.modelPositionIsVisible(t.getEndPosition()))&&(this._viewRange=this._context.viewModel.coordinatesConverter.convertModelRangeToViewRange(t))}}_getMaxWidth(){return this.allowEditorOverflow?window.innerWidth||document.documentElement.offsetWidth||document.body.offsetWidth:this._contentWidth}setPosition(e,t){this._setPosition(e),this._preference=t,this._viewRange&&this._preference&&this._preference.length>0?this.domNode.setDisplay(\"block\"):this.domNode.setDisplay(\"none\"),this._cachedDomNodeOffsetWidth=-1,this._cachedDomNodeOffsetHeight=-1}_layoutBoxInViewport(e,t,n,i,s){const a=e.top,l=a,u=t.top+this._lineHeight,d=s.viewportHeight-u,h=a-i,p=l>=i,g=u,y=d>=i;let D=e.left,T=t.left;return D+n>s.scrollLeft+s.viewportWidth&&(D=s.scrollLeft+s.viewportWidth-n),T+n>s.scrollLeft+s.viewportWidth&&(T=s.scrollLeft+s.viewportWidth-n),D<s.scrollLeft&&(D=s.scrollLeft),T<s.scrollLeft&&(T=s.scrollLeft),{fitsAbove:p,aboveTop:h,aboveLeft:D,fitsBelow:y,belowTop:g,belowLeft:T}}_layoutHorizontalSegmentInPage(e,t,n,i){const s=Math.max(0,t.left-i),a=Math.min(t.left+t.width+i,e.width);let l=t.left+n-mb.scrollX;if(l+i>a){const u=l-(a-i);l-=u,n-=u}if(l<s){const u=l-s;l-=u,n-=u}return[n,l]}_layoutBoxInPage(e,t,n,i,s){const a=e.top-i,l=t.top+this._lineHeight,u=Gh(this._viewDomNode.domNode),d=u.top+a-mb.scrollY,h=u.top+l-mb.scrollY,p=NP(document.body),[g,y]=this._layoutHorizontalSegmentInPage(p,u,e.left-s.scrollLeft+this._contentLeft,n),[D,T]=this._layoutHorizontalSegmentInPage(p,u,t.left-s.scrollLeft+this._contentLeft,n),k=22,I=22,F=d>=k,q=h+i<=p.height-I;return this._fixedOverflowWidgets?{fitsAbove:F,aboveTop:Math.max(d,k),aboveLeft:y,fitsBelow:q,belowTop:h,belowLeft:T}:{fitsAbove:F,aboveTop:a,aboveLeft:g,fitsBelow:q,belowTop:l,belowLeft:D}}_prepareRenderWidgetAtExactPositionOverflowing(e){return new wk(e.top,e.left+this._contentLeft)}_getTopAndBottomLeft(e){if(!this._viewRange)return[null,null];const t=e.linesVisibleRangesForRange(this._viewRange,!1);if(!t||t.length===0)return[null,null];let n=t[0],i=t[0];for(const p of t)p.lineNumber<n.lineNumber&&(n=p),p.lineNumber>i.lineNumber&&(i=p);let s=1073741824;for(const p of n.ranges)p.left<s&&(s=p.left);let a=1073741824;for(const p of i.ranges)p.left<a&&(a=p.left);const l=e.getVerticalOffsetForLineNumber(n.lineNumber)-e.scrollTop,u=new wk(l,s),d=e.getVerticalOffsetForLineNumber(i.lineNumber)-e.scrollTop,h=new wk(d,a);return[u,h]}_prepareRenderWidget(e){if(!this._preference||this._preference.length===0)return null;const[t,n]=this._getTopAndBottomLeft(e);if(!t||!n)return null;if(this._cachedDomNodeOffsetWidth===-1||this._cachedDomNodeOffsetHeight===-1){let s=null;if(typeof this._actual.beforeRender==\"function\"&&(s=DV(this._actual.beforeRender,this._actual)),s)this._cachedDomNodeOffsetWidth=s.width,this._cachedDomNodeOffsetHeight=s.height;else{const a=this.domNode.domNode;this._cachedDomNodeOffsetWidth=a.offsetWidth,this._cachedDomNodeOffsetHeight=a.offsetHeight}}let i;this.allowEditorOverflow?i=this._layoutBoxInPage(t,n,this._cachedDomNodeOffsetWidth,this._cachedDomNodeOffsetHeight,e):i=this._layoutBoxInViewport(t,n,this._cachedDomNodeOffsetWidth,this._cachedDomNodeOffsetHeight,e);for(let s=1;s<=2;s++)for(const a of this._preference)if(a===1){if(!i)return null;if(s===2||i.fitsAbove)return{coordinate:new wk(i.aboveTop,i.aboveLeft),position:1}}else if(a===2){if(!i)return null;if(s===2||i.fitsBelow)return{coordinate:new wk(i.belowTop,i.belowLeft),position:2}}else return this.allowEditorOverflow?{coordinate:this._prepareRenderWidgetAtExactPositionOverflowing(t),position:0}:{coordinate:t,position:0};return null}onBeforeRender(e){!this._viewRange||!this._preference||this._viewRange.endLineNumber<e.startLineNumber||this._viewRange.startLineNumber>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\"&&DV(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\"&&DV(this._actual.afterRender,this._actual,this._renderData.position)}}function DV(o,e,...t){try{return o.call(e,...t)}catch{return null}}class zce extends KE{constructor(e){super(),this._context=e;const t=this._context.configuration.options,n=t.get(131);this._lineHeight=t.get(59),this._renderLineHighlight=t.get(85),this._renderLineHighlightOnlyWhenFocus=t.get(86),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,this._selectionIsEmpty=!0,this._focused=!1,this._cursorLineNumbers=[1],this._selections=[new oo(1,1,1,1)],this._renderData=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}_readFromSelections(){let e=!1;const t=this._selections.map(i=>i.positionLineNumber);t.sort((i,s)=>i-s),K_(this._cursorLineNumbers,t)||(this._cursorLineNumbers=t,e=!0);const n=this._selections.every(i=>i.isEmpty());return this._selectionIsEmpty!==n&&(this._selectionIsEmpty=n,e=!0),e}onThemeChanged(e){return this._readFromSelections()}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(131);return this._lineHeight=t.get(59),this._renderLineHighlight=t.get(85),this._renderLineHighlightOnlyWhenFocus=t.get(86),this._contentLeft=n.contentLeft,this._contentWidth=n.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=this._renderOne(e),n=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,s=this._cursorLineNumbers.length;let a=0;const l=[];for(let u=n;u<=i;u++){const d=u-n;for(;a<s&&this._cursorLineNumbers[a]<u;)a++;a<s&&this._cursorLineNumbers[a]===u?l[d]=t:l[d]=\"\"}this._renderData=l}render(e,t){if(!this._renderData)return\"\";const n=t-e;return n>=this._renderData.length?\"\":this._renderData[n]}_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 C6e extends zce{_renderOne(e){return`<div class=\"${\"current-line\"+(this._shouldRenderOther()?\" current-line-both\":\"\")}\" style=\"width:${Math.max(e.scrollWidth,this._contentWidth)}px; height:${this._lineHeight}px;\"></div>`}_shouldRenderThis(){return this._shouldRenderInContent()}_shouldRenderOther(){return this._shouldRenderInMargin()}}class D6e extends zce{_renderOne(e){return`<div class=\"${\"current-line\"+(this._shouldRenderInMargin()?\" current-line-margin\":\"\")+(this._shouldRenderOther()?\" current-line-margin-both\":\"\")}\" style=\"width:${this._contentLeft}px; height:${this._lineHeight}px;\"></div>`}_shouldRenderThis(){return!0}_shouldRenderOther(){return this._shouldRenderInContent()}}ac((o,e)=>{const t=o.getColor(wNe);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()||o.defines(Wre)){const n=o.getColor(Wre);n&&(e.addRule(`.monaco-editor .view-overlays .current-line { border: 2px solid ${n}; }`),e.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid ${n}; }`),o.type===\"hc\"&&(e.addRule(\".monaco-editor .view-overlays .current-line { border-width: 1px; }\"),e.addRule(\".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }\")))}});class w6e extends KE{constructor(e){super(),this._context=e;const t=this._context.configuration.options;this._lineHeight=t.get(59),this._typicalHalfwidthCharacterWidth=t.get(44).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._lineHeight=t.get(59),this._typicalHalfwidthCharacterWidth=t.get(44).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 n=[],i=0;for(let u=0,d=t.length;u<d;u++){const h=t[u];h.options.className&&(n[i++]=h)}n=n.sort((u,d)=>{if(u.options.zIndex<d.options.zIndex)return-1;if(u.options.zIndex>d.options.zIndex)return 1;const h=u.options.className,p=d.options.className;return h<p?-1:h>p?1:He.compareRangesUsingStarts(u.range,d.range)});const s=e.visibleRange.startLineNumber,a=e.visibleRange.endLineNumber,l=[];for(let u=s;u<=a;u++){const d=u-s;l[d]=\"\"}this._renderWholeLineDecorations(e,n,l),this._renderNormalDecorations(e,n,l),this._renderResult=l}_renderWholeLineDecorations(e,t,n){const i=String(this._lineHeight),s=e.visibleRange.startLineNumber,a=e.visibleRange.endLineNumber;for(let l=0,u=t.length;l<u;l++){const d=t[l];if(!d.options.isWholeLine)continue;const h='<div class=\"cdr '+d.options.className+'\" style=\"left:0;width:100%;height:'+i+'px;\"></div>',p=Math.max(d.range.startLineNumber,s),g=Math.min(d.range.endLineNumber,a);for(let y=p;y<=g;y++){const D=y-s;n[D]+=h}}}_renderNormalDecorations(e,t,n){const i=String(this._lineHeight),s=e.visibleRange.startLineNumber;let a=null,l=!1,u=null;for(let d=0,h=t.length;d<h;d++){const p=t[d];if(p.options.isWholeLine)continue;const g=p.options.className,y=Boolean(p.options.showIfCollapsed);let D=p.range;if(y&&D.endColumn===1&&D.endLineNumber!==D.startLineNumber&&(D=new He(D.startLineNumber,D.startColumn,D.endLineNumber-1,this._context.viewModel.getLineMaxColumn(D.endLineNumber-1))),a===g&&l===y&&He.areIntersectingOrTouching(u,D)){u=He.plusRange(u,D);continue}a!==null&&this._renderNormalDecoration(e,u,a,l,i,s,n),a=g,l=y,u=D}a!==null&&this._renderNormalDecoration(e,u,a,l,i,s,n)}_renderNormalDecoration(e,t,n,i,s,a,l){const u=e.linesVisibleRangesForRange(t,n===\"findMatch\");if(!!u)for(let d=0,h=u.length;d<h;d++){const p=u[d];if(p.outsideRenderedLine)continue;const g=p.lineNumber-a;if(i&&p.ranges.length===1){const y=p.ranges[0];if(y.width<this._typicalHalfwidthCharacterWidth){const D=Math.round(y.left+y.width/2),T=Math.max(0,Math.round(D-this._typicalHalfwidthCharacterWidth/2));p.ranges[0]=new qP(T,this._typicalHalfwidthCharacterWidth)}}for(let y=0,D=p.ranges.length;y<D;y++){const T=p.ranges[y],k='<div class=\"cdr '+n+'\" style=\"left:'+String(T.left)+\"px;width:\"+String(T.width)+\"px;height:\"+s+'px;\"></div>';l[g]+=k}}}render(e,t){if(!this._renderResult)return\"\";const n=t-e;return n<0||n>=this._renderResult.length?\"\":this._renderResult[n]}}class Lm extends fr{onclick(e,t){this._register(hs(e,ca.CLICK,n=>t(new Sg(n))))}onmousedown(e,t){this._register(hs(e,ca.MOUSE_DOWN,n=>t(new Sg(n))))}onmouseover(e,t){this._register(hs(e,ca.MOUSE_OVER,n=>t(new Sg(n))))}onnonbubblingmouseout(e,t){this._register(sG(e,n=>t(new Sg(n))))}onkeydown(e,t){this._register(hs(e,ca.KEY_DOWN,n=>t(new _c(n))))}onkeyup(e,t){this._register(hs(e,ca.KEY_UP,n=>t(new _c(n))))}oninput(e,t){this._register(hs(e,ca.INPUT,t))}onblur(e,t){this._register(hs(e,ca.BLUR,t))}onfocus(e,t){this._register(hs(e,ca.FOCUS,t))}ignoreGesture(e){Iu.ignoreTarget(e)}}const dE=11;class S6e extends Lm{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!=\"undefined\"&&(this.bgDomNode.style.top=\"0px\"),typeof e.left!=\"undefined\"&&(this.bgDomNode.style.left=\"0px\"),typeof e.bottom!=\"undefined\"&&(this.bgDomNode.style.bottom=\"0px\"),typeof e.right!=\"undefined\"&&(this.bgDomNode.style.right=\"0px\"),this.domNode=document.createElement(\"div\"),this.domNode.className=e.className,this.domNode.classList.add(...e.icon.classNamesArray),this.domNode.style.position=\"absolute\",this.domNode.style.width=dE+\"px\",this.domNode.style.height=dE+\"px\",typeof e.top!=\"undefined\"&&(this.domNode.style.top=e.top+\"px\"),typeof e.left!=\"undefined\"&&(this.domNode.style.left=e.left+\"px\"),typeof e.bottom!=\"undefined\"&&(this.domNode.style.bottom=e.bottom+\"px\"),typeof e.right!=\"undefined\"&&(this.domNode.style.right=e.right+\"px\"),this._mouseMoveMonitor=this._register(new dw),this.onmousedown(this.bgDomNode,t=>this._arrowMouseDown(t)),this.onmousedown(this.domNode,t=>this._arrowMouseDown(t)),this._mousedownRepeatTimer=this._register(new e4),this._mousedownScheduleRepeatTimer=this._register(new g_)}_arrowMouseDown(e){const t=()=>{this._mousedownRepeatTimer.cancelAndSet(()=>this._onActivate(),41.666666666666664)};this._onActivate(),this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancelAndSet(t,200),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,$E,n=>{},()=>{this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancel()}),e.preventDefault()}}class x6e extends fr{constructor(e,t,n){super(),this._visibility=e,this._visibleClassName=t,this._invisibleClassName=n,this._domNode=null,this._isVisible=!1,this._isNeeded=!1,this._rawShouldBeVisible=!1,this._shouldBeVisible=!1,this._revealTimer=this._register(new g_)}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(()=>{this._domNode&&this._domNode.setClassName(this._visibleClassName)},0))}_hide(e){this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,this._domNode&&this._domNode.setClassName(this._invisibleClassName+(e?\" fade\":\"\")))}}const E6e=140;class Uce extends Lm{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 x6e(e.visibility,\"visible scrollbar \"+e.extraScrollbarClassName,\"invisible scrollbar \"+e.extraScrollbarClassName)),this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._mouseMoveMonitor=this._register(new dw),this._shouldRender=!0,this.domNode=ru(document.createElement(\"div\")),this.domNode.setAttribute(\"role\",\"presentation\"),this.domNode.setAttribute(\"aria-hidden\",\"true\"),this._visibilityController.setDomNode(this.domNode),this.domNode.setPosition(\"absolute\"),this.onmousedown(this.domNode.domNode,t=>this._domNodeMouseDown(t))}_createArrow(e){const t=this._register(new S6e(e));this.domNode.domNode.appendChild(t.bgDomNode),this.domNode.domNode.appendChild(t.domNode)}_createSlider(e,t,n,i){this.slider=ru(document.createElement(\"div\")),this.slider.setClassName(\"slider\"),this.slider.setPosition(\"absolute\"),this.slider.setTop(e),this.slider.setLeft(t),typeof n==\"number\"&&this.slider.setWidth(n),typeof i==\"number\"&&this.slider.setHeight(i),this.slider.setLayerHinting(!0),this.slider.setContain(\"strict\"),this.domNode.domNode.appendChild(this.slider.domNode),this.onmousedown(this.slider.domNode,s=>{s.leftButton&&(s.preventDefault(),this._sliderMouseDown(s,()=>{}))}),this.onclick(this.slider.domNode,s=>{s.leftButton&&s.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()))}_domNodeMouseDown(e){e.target===this.domNode.domNode&&this._onMouseDown(e)}delegateMouseDown(e){const t=this.domNode.domNode.getClientRects()[0].top,n=t+this._scrollbarState.getSliderPosition(),i=t+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),s=this._sliderMousePosition(e);n<=s&&s<=i?e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,()=>{})):this._onMouseDown(e)}_onMouseDown(e){let t,n;if(e.target===this.domNode.domNode&&typeof e.browserEvent.offsetX==\"number\"&&typeof e.browserEvent.offsetY==\"number\")t=e.browserEvent.offsetX,n=e.browserEvent.offsetY;else{const s=Gh(this.domNode.domNode);t=e.posx-s.left,n=e.posy-s.top}const i=this._mouseDownRelativePosition(t,n);this._setDesiredScrollPositionNow(this._scrollByPage?this._scrollbarState.getDesiredScrollPositionFromOffsetPaged(i):this._scrollbarState.getDesiredScrollPositionFromOffset(i)),e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,()=>{}))}_sliderMouseDown(e,t){const n=this._sliderMousePosition(e),i=this._sliderOrthogonalMousePosition(e),s=this._scrollbarState.clone();this.slider.toggleClassName(\"active\",!0),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,$E,a=>{const l=this._sliderOrthogonalMousePosition(a),u=Math.abs(l-i);if(Ph&&u>E6e){this._setDesiredScrollPositionNow(s.getScrollPosition());return}const h=this._sliderMousePosition(a)-n;this._setDesiredScrollPositionNow(s.getDesiredScrollPositionFromDelta(h))},()=>{this.slider.toggleClassName(\"active\",!1),this._host.onDragEnd(),t()}),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 T6e=20;class X3{constructor(e,t,n,i,s,a){this._scrollbarSize=Math.round(t),this._oppositeScrollbarSize=Math.round(n),this._arrowSize=Math.round(e),this._visibleSize=i,this._scrollSize=s,this._scrollPosition=a,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}clone(){return new X3(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,n,i,s){const a=Math.max(0,n-e),l=Math.max(0,a-2*t),u=i>0&&i>n;if(!u)return{computedAvailableSize:Math.round(a),computedIsNeeded:u,computedSliderSize:Math.round(l),computedSliderRatio:0,computedSliderPosition:0};const d=Math.round(Math.max(T6e,Math.floor(n*l/i))),h=(l-d)/(i-n),p=s*h;return{computedAvailableSize:Math.round(a),computedIsNeeded:u,computedSliderSize:Math.round(d),computedSliderRatio:h,computedSliderPosition:Math.round(p)}}_refreshComputedValues(){const e=X3._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 n=this._scrollPosition;return t<this._computedSliderPosition?n-=this._visibleSize:n+=this._visibleSize,n}getDesiredScrollPositionFromDelta(e){if(!this._computedIsNeeded)return 0;const t=this._computedSliderPosition+e;return Math.round(t/this._computedSliderRatio)}}class A6e extends Uce{constructor(e,t,n){const i=e.getScrollDimensions(),s=e.getCurrentScrollPosition();if(super({lazyRender:t.lazyRender,host:n,scrollbarState:new X3(t.horizontalHasArrows?t.arrowSize:0,t.horizontal===2?0:t.horizontalScrollbarSize,t.vertical===2?0:t.verticalScrollbarSize,i.width,i.scrollWidth,s.scrollLeft),visibility:t.horizontal,extraScrollbarClassName:\"horizontal\",scrollable:e,scrollByPage:t.scrollByPage}),t.horizontalHasArrows){const a=(t.arrowSize-dE)/2,l=(t.horizontalScrollbarSize-dE)/2;this._createArrow({className:\"scra\",icon:E.scrollbarButtonLeft,top:l,left:a,bottom:void 0,right:void 0,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new rE(null,1,0))}),this._createArrow({className:\"scra\",icon:E.scrollbarButtonRight,top:l,left:void 0,bottom:void 0,right:a,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new rE(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}_mouseDownRelativePosition(e,t){return e}_sliderMousePosition(e){return e.posx}_sliderOrthogonalMousePosition(e){return e.posy}_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 k6e extends Uce{constructor(e,t,n){const i=e.getScrollDimensions(),s=e.getCurrentScrollPosition();if(super({lazyRender:t.lazyRender,host:n,scrollbarState:new X3(t.verticalHasArrows?t.arrowSize:0,t.vertical===2?0:t.verticalScrollbarSize,0,i.height,i.scrollHeight,s.scrollTop),visibility:t.vertical,extraScrollbarClassName:\"vertical\",scrollable:e,scrollByPage:t.scrollByPage}),t.verticalHasArrows){const a=(t.arrowSize-dE)/2,l=(t.verticalScrollbarSize-dE)/2;this._createArrow({className:\"scra\",icon:E.scrollbarButtonUp,top:a,left:l,bottom:void 0,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new rE(null,0,1))}),this._createArrow({className:\"scra\",icon:E.scrollbarButtonDown,top:void 0,left:l,bottom:a,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new rE(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}_mouseDownRelativePosition(e,t){return t}_sliderMousePosition(e){return e.posy}_sliderOrthogonalMousePosition(e){return e.posx}_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 c7{constructor(e,t,n,i,s,a,l){this._forceIntegerValues=e,this._scrollStateBrand=void 0,this._forceIntegerValues&&(t=t|0,n=n|0,i=i|0,s=s|0,a=a|0,l=l|0),this.rawScrollLeft=i,this.rawScrollTop=l,t<0&&(t=0),i+t>n&&(i=n-t),i<0&&(i=0),s<0&&(s=0),l+s>a&&(l=a-s),l<0&&(l=0),this.width=t,this.scrollWidth=n,this.scrollLeft=i,this.height=s,this.scrollHeight=a,this.scrollTop=l}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 c7(this._forceIntegerValues,typeof e.width!=\"undefined\"?e.width:this.width,typeof e.scrollWidth!=\"undefined\"?e.scrollWidth:this.scrollWidth,t?this.rawScrollLeft:this.scrollLeft,typeof e.height!=\"undefined\"?e.height:this.height,typeof e.scrollHeight!=\"undefined\"?e.scrollHeight:this.scrollHeight,t?this.rawScrollTop:this.scrollTop)}withScrollPosition(e){return new c7(this._forceIntegerValues,this.width,this.scrollWidth,typeof e.scrollLeft!=\"undefined\"?e.scrollLeft:this.rawScrollLeft,this.height,this.scrollHeight,typeof e.scrollTop!=\"undefined\"?e.scrollTop:this.rawScrollTop)}createScrollEvent(e,t){const n=this.width!==e.width,i=this.scrollWidth!==e.scrollWidth,s=this.scrollLeft!==e.scrollLeft,a=this.height!==e.height,l=this.scrollHeight!==e.scrollHeight,u=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:n,scrollWidthChanged:i,scrollLeftChanged:s,heightChanged:a,scrollHeightChanged:l,scrollTopChanged:u}}}class o4 extends fr{constructor(e){super(),this._scrollableBrand=void 0,this._onScroll=this._register(new ri),this.onScroll=this._onScroll.event,this._smoothScrollDuration=e.smoothScrollDuration,this._scheduleAtNextAnimationFrame=e.scheduleAtNextAnimationFrame,this._state=new c7(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){const n=this._state.withScrollDimensions(e,t);this._setState(n,Boolean(this._smoothScrolling)),this._smoothScrolling&&this._smoothScrolling.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==\"undefined\"?this._smoothScrolling.to.scrollLeft:e.scrollLeft,scrollTop:typeof e.scrollTop==\"undefined\"?this._smoothScrolling.to.scrollTop:e.scrollTop};const n=this._state.withScrollPosition(e);if(this._smoothScrolling.to.scrollLeft===n.scrollLeft&&this._smoothScrolling.to.scrollTop===n.scrollTop)return;let i;t?i=new Q3(this._smoothScrolling.from,n,this._smoothScrolling.startTime,this._smoothScrolling.duration):i=this._smoothScrolling.combine(this._state,n,this._smoothScrollDuration),this._smoothScrolling.dispose(),this._smoothScrolling=i}else{const n=this._state.withScrollPosition(e);this._smoothScrolling=Q3.start(this._state,n,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{!this._smoothScrolling||(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}_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 n=this._state;n.equals(e)||(this._state=e,this._onScroll.fire(this._state.createScrollEvent(n,t)))}}class Ure{constructor(e,t,n){this.scrollLeft=e,this.scrollTop=t,this.isDone=n}}function wV(o,e){const t=e-o;return function(n){return o+t*I6e(n)}}function L6e(o,e,t){return function(n){return n<t?o(n/t):e((n-t)/(1-t))}}class Q3{constructor(e,t,n,i){this.from=e,this.to=t,this.duration=i,this.startTime=n,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,n){if(Math.abs(e-t)>2.5*n){let s,a;return e<t?(s=e+.75*n,a=t-.75*n):(s=e-.75*n,a=t+.75*n),L6e(wV(e,s),wV(a,t),.33)}return wV(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 n=this.scrollLeft(t),i=this.scrollTop(t);return new Ure(n,i,!1)}return new Ure(this.to.scrollLeft,this.to.scrollTop,!0)}combine(e,t,n){return Q3.start(e,t,n)}static start(e,t,n){n=n+10;const i=Date.now()-10;return new Q3(e,t,i,n)}}function N6e(o){return Math.pow(o,3)}function I6e(o){return 1-N6e(1-o)}const F6e=500,Kre=50;class P6e{constructor(e,t,n){this.timestamp=e,this.deltaX=t,this.deltaY=n,this.score=0}}class Nz{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,n=1,i=this._rear;do{const s=i===this._front?e:Math.pow(2,-n);if(e-=s,t+=this._memory[i].score*s,i===this._front)break;i=(this._capacity+i-1)%this._capacity,n++}while(!0);return t<=.5}accept(e,t,n){const i=new P6e(e,t,n);i.score=this._computeScore(i),this._front===-1&&this._rear===-1?(this._memory[0]=i,this._front=0,this._rear=0):(this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=i)}_computeScore(e){if(Math.abs(e.deltaX)>0&&Math.abs(e.deltaY)>0)return 1;let t=.5;return this._front===-1&&this._rear===-1||this._memory[this._rear],(!this._isAlmostInt(e.deltaX)||!this._isAlmostInt(e.deltaY))&&(t+=.25),Math.min(Math.max(t,0),1)}_isAlmostInt(e){return Math.abs(Math.round(e)-e)<.01}}Nz.INSTANCE=new Nz;class TG extends Lm{constructor(e,t,n){super(),this._onScroll=this._register(new ri),this.onScroll=this._onScroll.event,this._onWillScroll=this._register(new ri),e.style.overflow=\"hidden\",this._options=O6e(t),this._scrollable=n,this._register(this._scrollable.onScroll(s=>{this._onWillScroll.fire(s),this._onDidScroll(s),this._onScroll.fire(s)}));const i={onMouseWheel:s=>this._onMouseWheel(s),onDragStart:()=>this._onDragStart(),onDragEnd:()=>this._onDragEnd()};this._verticalScrollbar=this._register(new k6e(this._scrollable,this._options,i)),this._horizontalScrollbar=this._register(new A6e(this._scrollable,this._options,i)),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=ru(document.createElement(\"div\")),this._leftShadowDomNode.setClassName(\"shadow\"),this._domNode.appendChild(this._leftShadowDomNode.domNode),this._topShadowDomNode=ru(document.createElement(\"div\")),this._topShadowDomNode.setClassName(\"shadow\"),this._domNode.appendChild(this._topShadowDomNode.domNode),this._topLeftShadowDomNode=ru(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,s=>this._onMouseOver(s)),this.onnonbubblingmouseout(this._listenOnDomNode,s=>this._onMouseOut(s)),this._hideTimeout=this._register(new g_),this._isDragging=!1,this._mouseIsOver=!1,this._shouldRender=!0,this._revealOnScroll=!0}get options(){return this._options}dispose(){this._mouseWheelToDispose=eu(this._mouseWheelToDispose),super.dispose()}getDomNode(){return this._domNode}getOverviewRulerLayoutInfo(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}}delegateVerticalScrollbarMouseDown(e){this._verticalScrollbar.delegateMouseDown(e)}getScrollDimensions(){return this._scrollable.getScrollDimensions()}setScrollDimensions(e){this._scrollable.setScrollDimensions(e,!1)}updateClassName(e){this._options.className=e,El&&(this._options.className+=\" mac\"),this._domNode.className=\"monaco-scrollable-element \"+this._options.className}updateOptions(e){typeof e.handleMouseWheel!=\"undefined\"&&(this._options.handleMouseWheel=e.handleMouseWheel,this._setListeningToMouseWheel(this._options.handleMouseWheel)),typeof e.mouseWheelScrollSensitivity!=\"undefined\"&&(this._options.mouseWheelScrollSensitivity=e.mouseWheelScrollSensitivity),typeof e.fastScrollSensitivity!=\"undefined\"&&(this._options.fastScrollSensitivity=e.fastScrollSensitivity),typeof e.scrollPredominantAxis!=\"undefined\"&&(this._options.scrollPredominantAxis=e.scrollPredominantAxis),typeof e.horizontal!=\"undefined\"&&(this._options.horizontal=e.horizontal),typeof e.vertical!=\"undefined\"&&(this._options.vertical=e.vertical),typeof e.horizontalScrollbarSize!=\"undefined\"&&(this._options.horizontalScrollbarSize=e.horizontalScrollbarSize),typeof e.verticalScrollbarSize!=\"undefined\"&&(this._options.verticalScrollbarSize=e.verticalScrollbarSize),typeof e.scrollByPage!=\"undefined\"&&(this._options.scrollByPage=e.scrollByPage),this._horizontalScrollbar.updateOptions(this._options),this._verticalScrollbar.updateOptions(this._options),this._options.lazyRender||this._render()}_setListeningToMouseWheel(e){if(this._mouseWheelToDispose.length>0!==e&&(this._mouseWheelToDispose=eu(this._mouseWheelToDispose),e)){const n=i=>{this._onMouseWheel(new rE(i))};this._mouseWheelToDispose.push(hs(this._listenOnDomNode,ca.MOUSE_WHEEL,n,{passive:!1}))}}_onMouseWheel(e){const t=Nz.INSTANCE;{const s=window.devicePixelRatio/oue();Ph||vp?t.accept(Date.now(),e.deltaX/s,e.deltaY/s):t.accept(Date.now(),e.deltaX,e.deltaY)}let n=!1;if(e.deltaY||e.deltaX){let s=e.deltaY*this._options.mouseWheelScrollSensitivity,a=e.deltaX*this._options.mouseWheelScrollSensitivity;this._options.scrollPredominantAxis&&(Math.abs(s)>=Math.abs(a)?a=0:s=0),this._options.flipAxes&&([s,a]=[a,s]);const l=!El&&e.browserEvent&&e.browserEvent.shiftKey;(this._options.scrollYToX||l)&&!a&&(a=s,s=0),e.browserEvent&&e.browserEvent.altKey&&(a=a*this._options.fastScrollSensitivity,s=s*this._options.fastScrollSensitivity);const u=this._scrollable.getFutureScrollPosition();let d={};if(s){const h=Kre*s,p=u.scrollTop-(h<0?Math.floor(h):Math.ceil(h));this._verticalScrollbar.writeScrollPosition(d,p)}if(a){const h=Kre*a,p=u.scrollLeft-(h<0?Math.floor(h):Math.ceil(h));this._horizontalScrollbar.writeScrollPosition(d,p)}d=this._scrollable.validateScrollPosition(d),(u.scrollLeft!==d.scrollLeft||u.scrollTop!==d.scrollTop)&&(this._options.mouseWheelSmoothScroll&&t.isPhysicalMouseWheel()?this._scrollable.setScrollPositionSmooth(d):this._scrollable.setScrollPositionNow(d),n=!0)}let i=n;!i&&this._options.alwaysConsumeMouseWheel&&(i=!0),!i&&this._options.consumeMouseWheelIfScrollbarIsNeeded&&(this._verticalScrollbar.isNeeded()||this._horizontalScrollbar.isNeeded())&&(i=!0),i&&(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,n=e.scrollLeft>0,i=n?\" left\":\"\",s=t?\" top\":\"\",a=n||t?\" top-left-corner\":\"\";this._leftShadowDomNode.setClassName(`shadow${i}`),this._topShadowDomNode.setClassName(`shadow${s}`),this._topLeftShadowDomNode.setClassName(`shadow${a}${s}${i}`)}}_onDragStart(){this._isDragging=!0,this._reveal()}_onDragEnd(){this._isDragging=!1,this._hide()}_onMouseOut(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(),F6e)}}class Kce extends TG{constructor(e,t){t=t||{},t.mouseWheelSmoothScroll=!1;const n=new o4({forceIntegerValues:!0,smoothScrollDuration:0,scheduleAtNextAnimationFrame:i=>b0(i)});super(e,t,n),this._register(n)}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}}class AG extends TG{constructor(e,t,n){super(e,t,n)}setScrollPosition(e){e.reuseAnimation?this._scrollable.setScrollPositionSmooth(e,e.reuseAnimation):this._scrollable.setScrollPositionNow(e)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}}class a4 extends TG{constructor(e,t){t=t||{},t.mouseWheelSmoothScroll=!1;const n=new o4({forceIntegerValues:!1,smoothScrollDuration:0,scheduleAtNextAnimationFrame:i=>b0(i)});super(e,t,n),this._register(n),this._element=e,this.onScroll(i=>{i.scrollTopChanged&&(this._element.scrollTop=i.scrollTop),i.scrollLeftChanged&&(this._element.scrollLeft=i.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 O6e(o){const e={lazyRender:typeof o.lazyRender!=\"undefined\"?o.lazyRender:!1,className:typeof o.className!=\"undefined\"?o.className:\"\",useShadows:typeof o.useShadows!=\"undefined\"?o.useShadows:!0,handleMouseWheel:typeof o.handleMouseWheel!=\"undefined\"?o.handleMouseWheel:!0,flipAxes:typeof o.flipAxes!=\"undefined\"?o.flipAxes:!1,consumeMouseWheelIfScrollbarIsNeeded:typeof o.consumeMouseWheelIfScrollbarIsNeeded!=\"undefined\"?o.consumeMouseWheelIfScrollbarIsNeeded:!1,alwaysConsumeMouseWheel:typeof o.alwaysConsumeMouseWheel!=\"undefined\"?o.alwaysConsumeMouseWheel:!1,scrollYToX:typeof o.scrollYToX!=\"undefined\"?o.scrollYToX:!1,mouseWheelScrollSensitivity:typeof o.mouseWheelScrollSensitivity!=\"undefined\"?o.mouseWheelScrollSensitivity:1,fastScrollSensitivity:typeof o.fastScrollSensitivity!=\"undefined\"?o.fastScrollSensitivity:5,scrollPredominantAxis:typeof o.scrollPredominantAxis!=\"undefined\"?o.scrollPredominantAxis:!0,mouseWheelSmoothScroll:typeof o.mouseWheelSmoothScroll!=\"undefined\"?o.mouseWheelSmoothScroll:!0,arrowSize:typeof o.arrowSize!=\"undefined\"?o.arrowSize:11,listenOnDomNode:typeof o.listenOnDomNode!=\"undefined\"?o.listenOnDomNode:null,horizontal:typeof o.horizontal!=\"undefined\"?o.horizontal:1,horizontalScrollbarSize:typeof o.horizontalScrollbarSize!=\"undefined\"?o.horizontalScrollbarSize:10,horizontalSliderSize:typeof o.horizontalSliderSize!=\"undefined\"?o.horizontalSliderSize:0,horizontalHasArrows:typeof o.horizontalHasArrows!=\"undefined\"?o.horizontalHasArrows:!1,vertical:typeof o.vertical!=\"undefined\"?o.vertical:1,verticalScrollbarSize:typeof o.verticalScrollbarSize!=\"undefined\"?o.verticalScrollbarSize:10,verticalHasArrows:typeof o.verticalHasArrows!=\"undefined\"?o.verticalHasArrows:!1,verticalSliderSize:typeof o.verticalSliderSize!=\"undefined\"?o.verticalSliderSize:0,scrollByPage:typeof o.scrollByPage!=\"undefined\"?o.scrollByPage:!1};return e.horizontalSliderSize=typeof o.horizontalSliderSize!=\"undefined\"?o.horizontalSliderSize:e.horizontalScrollbarSize,e.verticalSliderSize=typeof o.verticalSliderSize!=\"undefined\"?o.verticalSliderSize:e.verticalScrollbarSize,El&&(e.className+=\" mac\"),e}class M6e extends Rg{constructor(e,t,n,i){super(e);const s=this._context.configuration.options,a=s.get(92),l=s.get(67),u=s.get(34),d=s.get(95),h={listenOnDomNode:n.domNode,className:\"editor-scrollable \"+n7(e.theme.type),useShadows:!1,lazyRender:!0,vertical:a.vertical,horizontal:a.horizontal,verticalHasArrows:a.verticalHasArrows,horizontalHasArrows:a.horizontalHasArrows,verticalScrollbarSize:a.verticalScrollbarSize,verticalSliderSize:a.verticalSliderSize,horizontalScrollbarSize:a.horizontalScrollbarSize,horizontalSliderSize:a.horizontalSliderSize,handleMouseWheel:a.handleMouseWheel,alwaysConsumeMouseWheel:a.alwaysConsumeMouseWheel,arrowSize:a.arrowSize,mouseWheelScrollSensitivity:l,fastScrollSensitivity:u,scrollPredominantAxis:d,scrollByPage:a.scrollByPage};this.scrollbar=this._register(new AG(t.domNode,h,this._context.viewLayout.getScrollable())),Y1.write(this.scrollbar.getDomNode(),5),this.scrollbarDomNode=ru(this.scrollbar.getDomNode()),this.scrollbarDomNode.setPosition(\"absolute\"),this._setLayout();const p=(g,y,D)=>{const T={};if(y){const k=g.scrollTop;k&&(T.scrollTop=this._context.viewLayout.getCurrentScrollTop()+k,g.scrollTop=0)}if(D){const k=g.scrollLeft;k&&(T.scrollLeft=this._context.viewLayout.getCurrentScrollLeft()+k,g.scrollLeft=0)}this._context.viewModel.viewLayout.setScrollPosition(T,1)};this._register(hs(n.domNode,\"scroll\",g=>p(n.domNode,!0,!0))),this._register(hs(t.domNode,\"scroll\",g=>p(t.domNode,!0,!1))),this._register(hs(i.domNode,\"scroll\",g=>p(i.domNode,!0,!1))),this._register(hs(this.scrollbarDomNode.domNode,\"scroll\",g=>p(this.scrollbarDomNode.domNode,!0,!1)))}dispose(){super.dispose()}_setLayout(){const e=this._context.configuration.options,t=e.get(131);this.scrollbarDomNode.setLeft(t.contentLeft),e.get(65).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}delegateVerticalScrollbarMouseDown(e){this.scrollbar.delegateVerticalScrollbarMouseDown(e)}onConfigurationChanged(e){if(e.hasChanged(92)||e.hasChanged(67)||e.hasChanged(34)){const t=this._context.configuration.options,n=t.get(92),i=t.get(67),s=t.get(34),a=t.get(95),l={vertical:n.vertical,horizontal:n.horizontal,verticalScrollbarSize:n.verticalScrollbarSize,horizontalScrollbarSize:n.horizontalScrollbarSize,scrollByPage:n.scrollByPage,handleMouseWheel:n.handleMouseWheel,mouseWheelScrollSensitivity:i,fastScrollSensitivity:s,scrollPredominantAxis:a};this.scrollbar.updateOptions(l)}return e.hasChanged(131)&&this._setLayout(),!0}onScrollChanged(e){return!0}onThemeChanged(e){return this.scrollbar.updateClassName(\"editor-scrollable \"+n7(this._context.theme.type)),!0}prepareRender(e){}render(e){this.scrollbar.renderNow()}}ac((o,e)=>{const t=o.getColor(zE);t&&e.addRule(`\n\t\t\t.monaco-scrollable-element > .shadow.top {\n\t\t\t\tbox-shadow: ${t} 0 6px 6px -6px inset;\n\t\t\t}\n\n\t\t\t.monaco-scrollable-element > .shadow.left {\n\t\t\t\tbox-shadow: ${t} 6px 0 6px -6px inset;\n\t\t\t}\n\n\t\t\t.monaco-scrollable-element > .shadow.top.left {\n\t\t\t\tbox-shadow: ${t} 6px 6px 6px -6px inset;\n\t\t\t}\n\t\t`);const n=o.getColor(Rx);n&&e.addRule(`\n\t\t\t.monaco-scrollable-element > .scrollbar > .slider {\n\t\t\t\tbackground: ${n};\n\t\t\t}\n\t\t`);const i=o.getColor(Bx);i&&e.addRule(`\n\t\t\t.monaco-scrollable-element > .scrollbar > .slider:hover {\n\t\t\t\tbackground: ${i};\n\t\t\t}\n\t\t`);const s=o.getColor(jx);s&&e.addRule(`\n\t\t\t.monaco-scrollable-element > .scrollbar > .slider.active {\n\t\t\t\tbackground: ${s};\n\t\t\t}\n\t\t`)});class d7{constructor(e,t,n){this._decorationToRenderBrand=void 0,this.startLineNumber=+e,this.endLineNumber=+t,this.className=String(n)}}class kG extends KE{_render(e,t,n){const i=[];for(let l=e;l<=t;l++){const u=l-e;i[u]=[]}if(n.length===0)return i;n.sort((l,u)=>l.className===u.className?l.startLineNumber===u.startLineNumber?l.endLineNumber-u.endLineNumber:l.startLineNumber-u.startLineNumber:l.className<u.className?-1:1);let s=null,a=0;for(let l=0,u=n.length;l<u;l++){const d=n[l],h=d.className;let p=Math.max(d.startLineNumber,e)-e;const g=Math.min(d.endLineNumber,t)-e;s===h?(p=Math.max(a+1,p),a=Math.max(a,g)):(s=h,a=g);for(let y=p;y<=a;y++)i[y].push(s)}return i}}class R6e extends kG{constructor(e){super(),this._context=e;const t=this._context.configuration.options,n=t.get(131);this._lineHeight=t.get(59),this._glyphMargin=t.get(50),this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,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,n=t.get(131);return this._lineHeight=t.get(59),this._glyphMargin=t.get(50),this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,!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(),n=[];let i=0;for(let s=0,a=t.length;s<a;s++){const l=t[s],u=l.options.glyphMarginClassName;u&&(n[i++]=new d7(l.range.startLineNumber,l.range.endLineNumber,u))}return n}prepareRender(e){if(!this._glyphMargin){this._renderResult=null;return}const t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._render(t,n,this._getDecorations(e)),s=this._lineHeight.toString(),a=this._glyphMarginLeft.toString(),l=this._glyphMarginWidth.toString(),u='\" style=\"left:'+a+\"px;width:\"+l+\"px;height:\"+s+'px;\"></div>',d=[];for(let h=t;h<=n;h++){const p=h-t,g=i[p];g.length===0?d[p]=\"\":d[p]='<div class=\"cgmr codicon '+g.join(\" \")+u}this._renderResult=d}render(e,t){if(!this._renderResult)return\"\";const n=t-e;return n<0||n>=this._renderResult.length?\"\":this._renderResult[n]}}class B6e{constructor(){this._isDisposed=!1}dispose(){this._isDisposed=!0}assertNotDisposed(){if(this._isDisposed)throw new Error(\"TextModelPart is disposed!\")}}function ZP(o,e){let t=0,n=0;const i=o.length;for(;n<i;){const s=o.charCodeAt(n);if(s===32)t++;else if(s===9)t=t-t%e+e;else break;n++}return n===i?-1:t}var pD;(function(o){o[o.Disabled=0]=\"Disabled\",o[o.EnabledForActive=1]=\"EnabledForActive\",o[o.Enabled=2]=\"Enabled\"})(pD||(pD={}));class Sx{constructor(e,t,n){this.visibleColumn=e,this.className=t,this.horizontalLine=n}}class Iz{constructor(e,t){this.top=e,this.endColumn=t}}class j6e extends B6e{constructor(e,t){super(),this.textModel=e,this.languageConfigurationService=t}getLanguageConfiguration(e){return this.languageConfigurationService.getLanguageConfiguration(e)}_computeIndentLevel(e){return ZP(this.textModel.getLineContent(e+1),this.textModel.getOptions().tabSize)}getActiveIndentGuide(e,t,n){this.assertNotDisposed();const i=this.textModel.getLineCount();if(e<1||e>i)throw new Error(\"Illegal value for lineNumber\");const s=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,a=Boolean(s&&s.offSide);let l=-2,u=-1,d=-2,h=-1;const p=Le=>{if(l!==-1&&(l===-2||l>Le-1)){l=-1,u=-1;for(let Ge=Le-2;Ge>=0;Ge--){const qt=this._computeIndentLevel(Ge);if(qt>=0){l=Ge,u=qt;break}}}if(d===-2){d=-1,h=-1;for(let Ge=Le;Ge<i;Ge++){const qt=this._computeIndentLevel(Ge);if(qt>=0){d=Ge,h=qt;break}}}};let g=-2,y=-1,D=-2,T=-1;const k=Le=>{if(g===-2){g=-1,y=-1;for(let Ge=Le-2;Ge>=0;Ge--){const qt=this._computeIndentLevel(Ge);if(qt>=0){g=Ge,y=qt;break}}}if(D!==-1&&(D===-2||D<Le-1)){D=-1,T=-1;for(let Ge=Le;Ge<i;Ge++){const qt=this._computeIndentLevel(Ge);if(qt>=0){D=Ge,T=qt;break}}}};let I=0,F=!0,q=0,re=!0,Ie=0,mt=0;for(let Le=0;F||re;Le++){const Ge=e-Le,qt=e+Le;Le>1&&(Ge<1||Ge<t)&&(F=!1),Le>1&&(qt>i||qt>n)&&(re=!1),Le>5e4&&(F=!1,re=!1);let gi=-1;if(F&&Ge>=1){const Tr=this._computeIndentLevel(Ge-1);Tr>=0?(d=Ge-1,h=Tr,gi=Math.ceil(Tr/this.textModel.getOptions().indentSize)):(p(Ge),gi=this._getIndentLevelForWhitespaceLine(a,u,h))}let ai=-1;if(re&&qt<=i){const Tr=this._computeIndentLevel(qt-1);Tr>=0?(g=qt-1,y=Tr,ai=Math.ceil(Tr/this.textModel.getOptions().indentSize)):(k(qt),ai=this._getIndentLevelForWhitespaceLine(a,y,T))}if(Le===0){mt=gi;continue}if(Le===1){if(qt<=i&&ai>=0&&mt+1===ai){F=!1,I=qt,q=qt,Ie=ai;continue}if(Ge>=1&&gi>=0&&gi-1===mt){re=!1,I=Ge,q=Ge,Ie=gi;continue}if(I=e,q=e,Ie=mt,Ie===0)return{startLineNumber:I,endLineNumber:q,indent:Ie}}F&&(gi>=Ie?I=Ge:F=!1),re&&(ai>=Ie?q=qt:re=!1)}return{startLineNumber:I,endLineNumber:q,indent:Ie}}getLinesBracketGuides(e,t,n,i){var s,a,l,u,d;const h=[],p=this.textModel.bracketPairs.getBracketPairsInRangeWithMinIndentation(new He(e,1,t,this.textModel.getLineMaxColumn(t)));let g;if(n&&p.length>0){const I=e<=n.lineNumber&&n.lineNumber<=t?p.filter(F=>He.strictContainsPosition(F.range,n)):this.textModel.bracketPairs.getBracketPairsInRange(He.fromPositions(n));g=(s=kEe(I,F=>F.range.startLineNumber!==F.range.endLineNumber))===null||s===void 0?void 0:s.range}const y=new Zx(p),D=new Array,T=new Array,k=new qce;for(let I=e;I<=t;I++){let F=new Array;T.length>0&&(F=F.concat(T),T.length=0),h.push(F);for(const re of y.takeWhile(Ie=>Ie.openingBracketRange.startLineNumber<=I)||[]){if(re.range.startLineNumber===re.range.endLineNumber)continue;const Ie=Math.min(this.getVisibleColumnFromPosition(re.openingBracketRange.getStartPosition()),this.getVisibleColumnFromPosition((l=(a=re.closingBracketRange)===null||a===void 0?void 0:a.getStartPosition())!==null&&l!==void 0?l:re.range.getEndPosition()),re.minVisibleColumnIndentation+1);let mt=!1;re.closingBracketRange&&pf(this.textModel.getLineContent(re.closingBracketRange.startLineNumber))<re.closingBracketRange.startColumn-1&&(mt=!0);const Le=re.openingBracketRange.getStartPosition(),Ge=(d=(u=re.closingBracketRange)===null||u===void 0?void 0:u.getStartPosition())!==null&&d!==void 0?d:re.range.getEndPosition();re.closingBracketRange===void 0?D[re.nestingLevel]=null:D[re.nestingLevel]={nestingLevel:re.nestingLevel,guideVisibleColumn:Ie,start:Le,visibleStartColumn:this.getVisibleColumnFromPosition(Le),end:Ge,visibleEndColumn:this.getVisibleColumnFromPosition(Ge),bracketPair:re,renderHorizontalEndLineAtTheBottom:mt}}for(const re of D){if(!re)continue;const Ie=g&&re.bracketPair.range.equalsRange(g),mt=k.getInlineClassNameOfLevel(re.nestingLevel)+(i.highlightActive&&Ie?\" \"+k.activeClassName:\"\");(Ie&&i.horizontalGuides!==pD.Disabled||i.includeInactive&&i.horizontalGuides===pD.Enabled)&&(re.start.lineNumber===I&&re.guideVisibleColumn<re.visibleStartColumn&&F.push(new Sx(re.guideVisibleColumn,mt,new Iz(!1,re.start.column))),re.end.lineNumber===I+1&&re.guideVisibleColumn<re.visibleEndColumn&&T.push(new Sx(re.guideVisibleColumn,mt,new Iz(!re.renderHorizontalEndLineAtTheBottom,re.end.column))))}let q=Number.MAX_SAFE_INTEGER;for(let re=D.length-1;re>=0;re--){const Ie=D[re];if(!Ie)continue;const mt=i.highlightActive&&g&&Ie.bracketPair.range.equalsRange(g),Le=k.getInlineClassNameOfLevel(Ie.nestingLevel)+(mt?\" \"+k.activeClassName:\"\");(mt||i.includeInactive)&&Ie.renderHorizontalEndLineAtTheBottom&&Ie.end.lineNumber===I+1&&T.push(new Sx(Ie.guideVisibleColumn,Le,null)),!(Ie.end.lineNumber<=I||Ie.start.lineNumber>=I)&&(Ie.guideVisibleColumn>=q&&!mt||(q=Ie.guideVisibleColumn,(mt||i.includeInactive)&&F.push(new Sx(Ie.guideVisibleColumn,Le,null))))}F.sort((re,Ie)=>re.visibleColumn-Ie.visibleColumn)}return h}getVisibleColumnFromPosition(e){return Zd.visibleColumnFromColumn(this.textModel.getLineContent(e.lineNumber),e.column,this.textModel.getOptions().tabSize)+1}getLinesIndentGuides(e,t){this.assertNotDisposed();const n=this.textModel.getLineCount();if(e<1||e>n)throw new Error(\"Illegal value for startLineNumber\");if(t<1||t>n)throw new Error(\"Illegal value for endLineNumber\");const i=this.textModel.getOptions(),s=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,a=Boolean(s&&s.offSide),l=new Array(t-e+1);let u=-2,d=-1,h=-2,p=-1;for(let g=e;g<=t;g++){const y=g-e,D=this._computeIndentLevel(g-1);if(D>=0){u=g-1,d=D,l[y]=Math.ceil(D/i.indentSize);continue}if(u===-2){u=-1,d=-1;for(let T=g-2;T>=0;T--){const k=this._computeIndentLevel(T);if(k>=0){u=T,d=k;break}}}if(h!==-1&&(h===-2||h<g-1)){h=-1,p=-1;for(let T=g;T<n;T++){const k=this._computeIndentLevel(T);if(k>=0){h=T,p=k;break}}}l[y]=this._getIndentLevelForWhitespaceLine(a,d,p)}return l}_getIndentLevelForWhitespaceLine(e,t,n){const i=this.textModel.getOptions();return t===-1||n===-1?0:t<n?1+Math.floor(t/i.indentSize):t===n||e?Math.ceil(n/i.indentSize):1+Math.floor(n/i.indentSize)}}class qce{constructor(){this.activeClassName=\"indent-active\"}getInlineClassNameOfLevel(e){return`bracket-indent-guide lvl-${e%30}`}}class W6e extends KE{constructor(e){super(),this._context=e,this._primaryPosition=null;const t=this._context.configuration.options,n=t.get(132),i=t.get(44);this._lineHeight=t.get(59),this._spaceWidth=i.spaceWidth,this._maxIndentLeft=n.wrappingColumn===-1?-1:n.wrappingColumn*i.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(13),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,n=t.get(132),i=t.get(44);return this._lineHeight=t.get(59),this._spaceWidth=i.spaceWidth,this._maxIndentLeft=n.wrappingColumn===-1?-1:n.wrappingColumn*i.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(13),!0}onCursorStateChanged(e){var t;const i=e.selections[0].getPosition();return!((t=this._primaryPosition)===null||t===void 0)&&t.equals(i)?!1:(this._primaryPosition=i,!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,n,i,s;if(!this._bracketPairGuideOptions.indentation&&this._bracketPairGuideOptions.bracketPairs===!1){this._renderResult=null;return}const a=e.visibleRange.startLineNumber,l=e.visibleRange.endLineNumber,u=e.scrollWidth,d=this._lineHeight,h=this._primaryPosition,p=this.getGuidesByLine(a,l,h),g=[];for(let y=a;y<=l;y++){const D=y-a,T=p[D];let k=\"\";const I=(n=(t=e.visibleRangeForPosition(new Ii(y,1)))===null||t===void 0?void 0:t.left)!==null&&n!==void 0?n:0;for(const F of T){const q=I+(F.visibleColumn-1)*this._spaceWidth;if(q>u||this._maxIndentLeft>0&&q>this._maxIndentLeft)break;const re=F.horizontalLine?F.horizontalLine.top?\"horizontal-top\":\"horizontal-bottom\":\"vertical\",Ie=F.horizontalLine?((s=(i=e.visibleRangeForPosition(new Ii(y,F.horizontalLine.endColumn)))===null||i===void 0?void 0:i.left)!==null&&s!==void 0?s:q+this._spaceWidth)-q:this._spaceWidth;k+=`<div class=\"core-guide ${F.className} ${re}\" style=\"left:${q}px;height:${d}px;width:${Ie}px\"></div>`}g[D]=k}this._renderResult=g}getGuidesByLine(e,t,n){const i=this._bracketPairGuideOptions.bracketPairs!==!1?this._context.viewModel.getBracketGuidesInRangeByLine(e,t,n,{highlightActive:this._bracketPairGuideOptions.highlightActiveBracketPair,horizontalGuides:this._bracketPairGuideOptions.bracketPairsHorizontal===!0?pD.Enabled:this._bracketPairGuideOptions.bracketPairsHorizontal===\"active\"?pD.EnabledForActive:pD.Disabled,includeInactive:this._bracketPairGuideOptions.bracketPairs===!0}):null,s=this._bracketPairGuideOptions.indentation?this._context.viewModel.getLinesIndentGuides(e,t):null;let a=0,l=0,u=0;if(this._bracketPairGuideOptions.highlightActiveIndentation&&n){const p=this._context.viewModel.getActiveIndentGuide(n.lineNumber,e,t);a=p.startLineNumber,l=p.endLineNumber,u=p.indent}const{indentSize:d}=this._context.viewModel.model.getOptions(),h=[];for(let p=e;p<=t;p++){const g=new Array;h.push(g);const y=i?i[p-e]:[],D=new Zx(y),T=s?s[p-e]:[];for(let k=1;k<=T;k++){const I=(k-1)*d+1,F=y.length===0&&a<=p&&p<=l&&k===u;g.push(...D.takeWhile(re=>re.visibleColumn<I)||[]);const q=D.peek();(!q||q.visibleColumn!==I||q.horizontalLine)&&g.push(new Sx(I,F?\"core-guide-indent-active\":\"core-guide-indent\",null))}g.push(...D.takeWhile(k=>!0)||[])}return h}render(e,t){if(!this._renderResult)return\"\";const n=t-e;return n<0||n>=this._renderResult.length?\"\":this._renderResult[n]}}function GF(o){if(!(o&&o.isTransparent()))return o}ac((o,e)=>{const t=o.getColor(JP);t&&e.addRule(`.monaco-editor .lines-content .core-guide-indent { box-shadow: 1px 0 0 0 ${t} inset; }`);const n=o.getColor(YP)||t;n&&e.addRule(`.monaco-editor .lines-content .core-guide-indent-active { box-shadow: 1px 0 0 0 ${n} inset; }`);const i=[{bracketColor:Pce,guideColor:UNe,guideColorActive:XNe},{bracketColor:Oce,guideColor:KNe,guideColorActive:QNe},{bracketColor:Mce,guideColor:qNe,guideColorActive:ZNe},{bracketColor:Rce,guideColor:GNe,guideColorActive:e6e},{bracketColor:Bce,guideColor:JNe,guideColorActive:t6e},{bracketColor:jce,guideColor:YNe,guideColorActive:n6e}],s=new qce,a=i.map(l=>{var u,d;const h=o.getColor(l.bracketColor),p=o.getColor(l.guideColor),g=o.getColor(l.guideColorActive),y=GF((u=GF(p))!==null&&u!==void 0?u:h==null?void 0:h.transparent(.3)),D=GF((d=GF(g))!==null&&d!==void 0?d:h);if(!(!y||!D))return{guideColor:y,guideColorActive:D}}).filter(OEe);if(a.length>0){for(let l=0;l<30;l++){const u=a[l%a.length];e.addRule(`.monaco-editor .${s.getInlineClassNameOfLevel(l).replace(/ /g,\".\")} { --guide-color: ${u.guideColor}; --guide-color-active: ${u.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.${s.activeClassName} { box-shadow: 1px 0 0 0 var(--guide-color-active) inset; }`),e.addRule(`.monaco-editor .horizontal-top.${s.activeClassName} { border-top: 1px solid var(--guide-color-active); }`),e.addRule(`.monaco-editor .horizontal-bottom.${s.activeClassName} { border-bottom: 1px solid var(--guide-color-active); }`)}});class V6e{constructor(){this._currentVisibleRange=new He(1,1,1,1)}getCurrentVisibleRange(){return this._currentVisibleRange}setCurrentVisibleRange(e){this._currentVisibleRange=e}}class H6e{constructor(e,t,n,i,s,a,l){this.minimalReveal=e,this.lineNumber=t,this.startColumn=n,this.endColumn=i,this.startScrollTop=s,this.stopScrollTop=a,this.scrollType=l,this.type=\"range\",this.minLineNumber=t,this.maxLineNumber=t}}class $6e{constructor(e,t,n,i,s){this.minimalReveal=e,this.selections=t,this.startScrollTop=n,this.stopScrollTop=i,this.scrollType=s,this.type=\"selections\";let a=t[0].startLineNumber,l=t[0].endLineNumber;for(let u=1,d=t.length;u<d;u++){const h=t[u];a=Math.min(a,h.startLineNumber),l=Math.max(l,h.endLineNumber)}this.minLineNumber=a,this.maxLineNumber=l}}class e9 extends Rg{constructor(e,t){super(e),this._linesContent=t,this._textRangeRestingSpot=document.createElement(\"div\"),this._visibleLines=new Hce(this),this.domNode=this._visibleLines.domNode;const n=this._context.configuration,i=this._context.configuration.options,s=i.get(44),a=i.get(132),l=i.get(131);this._lineHeight=i.get(59),this._typicalHalfwidthCharacterWidth=s.typicalHalfwidthCharacterWidth,this._isViewportWrapping=a.isViewportWrapping,this._revealHorizontalRightPadding=i.get(89),this._horizontalScrollbarHeight=l.horizontalScrollbarHeight,this._cursorSurroundingLines=i.get(25),this._cursorSurroundingLinesStyle=i.get(26),this._canUseLayerHinting=!i.get(28),this._viewLineOptions=new Rre(n,this._context.theme.type),Y1.write(this.domNode,7),this.domNode.setClassName(`view-lines ${hD}`),bp(this.domNode,s),this._maxLineWidth=0,this._asyncUpdateLineWidths=new Bu(()=>{this._updateLineWidthsSlow()},200),this._asyncCheckMonospaceFontAssumptions=new Bu(()=>{this._checkMonospaceFontAssumptions()},2e3),this._lastRenderedData=new V6e,this._horizontalRevealRequest=null}dispose(){this._asyncUpdateLineWidths.dispose(),this._asyncCheckMonospaceFontAssumptions.dispose(),super.dispose()}getDomNode(){return this.domNode}createVisibleLine(){return new L1(this._viewLineOptions)}onConfigurationChanged(e){this._visibleLines.onConfigurationChanged(e),e.hasChanged(132)&&(this._maxLineWidth=0);const t=this._context.configuration.options,n=t.get(44),i=t.get(132),s=t.get(131);return this._lineHeight=t.get(59),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._isViewportWrapping=i.isViewportWrapping,this._revealHorizontalRightPadding=t.get(89),this._horizontalScrollbarHeight=s.horizontalScrollbarHeight,this._cursorSurroundingLines=t.get(25),this._cursorSurroundingLinesStyle=t.get(26),this._canUseLayerHinting=!t.get(28),bp(this.domNode,n),this._onOptionsMaybeChanged(),e.hasChanged(131)&&(this._maxLineWidth=0),!0}_onOptionsMaybeChanged(){const e=this._context.configuration,t=new Rre(e,this._context.theme.type);if(!this._viewLineOptions.equals(t)){this._viewLineOptions=t;const n=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();for(let s=n;s<=i;s++)this._visibleLines.getVisibleLine(s).onOptionsChanged(this._viewLineOptions);return!0}return!1}onCursorStateChanged(e){const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();let i=!1;for(let s=t;s<=n;s++)i=this._visibleLines.getVisibleLine(s).onSelectionChanged()||i;return i}onDecorationsChanged(e){{const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();for(let i=t;i<=n;i++)this._visibleLines.getVisibleLine(i).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 n=this._context.viewLayout.validateScrollPosition({scrollTop:t});e.revealHorizontal?e.range&&e.range.startLineNumber!==e.range.endLineNumber?n={scrollTop:n.scrollTop,scrollLeft:0}:e.range?this._horizontalRevealRequest=new H6e(e.minimalReveal,e.range.startLineNumber,e.range.startColumn,e.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),n.scrollTop,e.scrollType):e.selections&&e.selections.length>0&&(this._horizontalRevealRequest=new $6e(e.minimalReveal,e.selections,this._context.viewLayout.getCurrentScrollTop(),n.scrollTop,e.scrollType)):this._horizontalRevealRequest=null;const s=Math.abs(this._context.viewLayout.getCurrentScrollTop()-n.scrollTop)<=this._lineHeight?1:e.scrollType;return this._context.viewModel.viewLayout.setScrollPosition(n,s),!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),n=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(e.scrollTop<t||e.scrollTop>n)&&(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 n=this._getViewLineDomNode(e);if(n===null)return null;const i=this._getLineNumberFor(n);if(i===-1||i<1||i>this._context.viewModel.getLineCount())return null;if(this._context.viewModel.getLineMaxColumn(i)===1)return new Ii(i,1);const s=this._visibleLines.getStartLineNumber(),a=this._visibleLines.getEndLineNumber();if(i<s||i>a)return null;let l=this._visibleLines.getVisibleLine(i).getColumnOfNodeOffset(i,e,t);const u=this._context.viewModel.getLineMinColumn(i);return l<u&&(l=u),new Ii(i,l)}_getViewLineDomNode(e){for(;e&&e.nodeType===1;){if(e.className===L1.CLASS_NAME)return e;e=e.parentElement}return null}_getLineNumberFor(e){const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();for(let i=t;i<=n;i++){const s=this._visibleLines.getVisibleLine(i);if(e===s.getDomNode())return i}return-1}getLineWidth(e){const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();return e<t||e>n?-1:this._visibleLines.getVisibleLine(e).getWidth()}linesVisibleRangesForRange(e,t){if(this.shouldRender())return null;const n=e.endLineNumber,i=He.intersectRanges(e,this._lastRenderedData.getCurrentVisibleRange());if(!i)return null;let s=[],a=0;const l=new Mre(this.domNode.domNode,this._textRangeRestingSpot);let u=0;t&&(u=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new Ii(i.startLineNumber,1)).lineNumber);const d=this._visibleLines.getStartLineNumber(),h=this._visibleLines.getEndLineNumber();for(let p=i.startLineNumber;p<=i.endLineNumber;p++){if(p<d||p>h)continue;const g=p===i.startLineNumber?i.startColumn:1,y=p===i.endLineNumber?i.endColumn:this._context.viewModel.getLineMaxColumn(p),D=this._visibleLines.getVisibleLine(p).getVisibleRangesForRange(p,g,y,l);if(!!D){if(t&&p<n){const T=u;u=this._context.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new Ii(p+1,1)).lineNumber,T!==u&&(D.ranges[D.ranges.length-1].width+=this._typicalHalfwidthCharacterWidth)}s[a++]=new oNe(D.outsideRenderedLine,p,qP.from(D.ranges))}}return a===0?null:s}_visibleRangesForLineRange(e,t,n){return this.shouldRender()||e<this._visibleLines.getStartLineNumber()||e>this._visibleLines.getEndLineNumber()?null:this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(e,t,n,new Mre(this.domNode.domNode,this._textRangeRestingSpot))}visibleRangeForPosition(e){const t=this._visibleRangesForLineRange(e.lineNumber,e.column,e.column);return t?new aNe(t.outsideRenderedLine,t.ranges[0].left):null}updateLineWidths(){this._updateLineWidths(!1)}_updateLineWidthsFast(){return this._updateLineWidths(!0)}_updateLineWidthsSlow(){this._updateLineWidths(!1)}_updateLineWidths(e){const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();let i=1,s=!0;for(let a=t;a<=n;a++){const l=this._visibleLines.getVisibleLine(a);if(e&&!l.getWidthIsFast()){s=!1;continue}i=Math.max(i,l.getWidth())}return s&&t===1&&n===this._context.viewModel.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(i),s}_checkMonospaceFontAssumptions(){let e=-1,t=-1;const n=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();for(let s=n;s<=i;s++){const a=this._visibleLines.getVisibleLine(s);if(a.needsMonospaceFontCheck()){const l=a.getWidth();l>t&&(t=l,e=s)}}if(e!==-1&&!this._visibleLines.getVisibleLine(e).monospaceAssumptionsAreValid())for(let s=n;s<=i;s++)this._visibleLines.getVisibleLine(s).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 n=this._horizontalRevealRequest;if(e.startLineNumber<=n.minLineNumber&&n.maxLineNumber<=e.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();const i=this._computeScrollLeftToReveal(n);i&&(this._isViewportWrapping||this._ensureMaxLineWidth(i.maxHorizontalOffset),this._context.viewModel.viewLayout.setScrollPosition({scrollLeft:i.scrollLeft},n.scrollType))}}if(this._updateLineWidthsFast()||this._asyncUpdateLineWidths.schedule(),vp&&!this._asyncCheckMonospaceFontAssumptions.isScheduled()){const n=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();for(let s=n;s<=i;s++)if(this._visibleLines.getVisibleLine(s).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,n,i,s,a){const l=e.top,u=e.height,d=l+u;let h,p,g;if(s&&s.length>0){let T=s[0].startLineNumber,k=s[0].endLineNumber;for(let I=1,F=s.length;I<F;I++){const q=s[I];T=Math.min(T,q.startLineNumber),k=Math.max(k,q.endLineNumber)}h=!1,p=this._context.viewLayout.getVerticalOffsetForLineNumber(T),g=this._context.viewLayout.getVerticalOffsetForLineNumber(k)+this._lineHeight}else if(i)h=!0,p=this._context.viewLayout.getVerticalOffsetForLineNumber(i.startLineNumber),g=this._context.viewLayout.getVerticalOffsetForLineNumber(i.endLineNumber)+this._lineHeight;else return-1;if((t===\"mouse\"||n)&&this._cursorSurroundingLinesStyle===\"default\")n||(p-=this._lineHeight);else{const T=Math.min(u/this._lineHeight/2,this._cursorSurroundingLines);p-=T*this._lineHeight,g+=Math.max(0,T-1)*this._lineHeight}(a===0||a===4)&&(g+=n?this._horizontalScrollbarHeight:this._lineHeight);let D;if(g-p>u){if(!h)return-1;D=p}else if(a===5||a===6)if(a===6&&l<=p&&g<=d)D=l;else{const T=Math.max(5*this._lineHeight,u*.2),k=p-T,I=g-u;D=Math.max(I,k)}else if(a===1||a===2)if(a===2&&l<=p&&g<=d)D=l;else{const T=(p+g)/2;D=Math.max(0,T-u/2)}else D=this._computeMinimumScrolling(l,d,p,g,a===3,a===4);return D}_computeScrollLeftToReveal(e){const t=this._context.viewLayout.getCurrentViewport(),n=t.left,i=n+t.width;let s=1073741824,a=0;if(e.type===\"range\"){const u=this._visibleRangesForLineRange(e.lineNumber,e.startColumn,e.endColumn);if(!u)return null;for(const d of u.ranges)s=Math.min(s,Math.round(d.left)),a=Math.max(a,Math.round(d.left+d.width))}else for(const u of e.selections){if(u.startLineNumber!==u.endLineNumber)return null;const d=this._visibleRangesForLineRange(u.startLineNumber,u.startColumn,u.endColumn);if(!d)return null;for(const h of d.ranges)s=Math.min(s,Math.round(h.left)),a=Math.max(a,Math.round(h.left+h.width))}return e.minimalReveal||(s=Math.max(0,s-e9.HORIZONTAL_EXTRA_PX),a+=this._revealHorizontalRightPadding),e.type===\"selections\"&&a-s>t.width?null:{scrollLeft:this._computeMinimumScrolling(n,i,s,a),maxHorizontalOffset:a}}_computeMinimumScrolling(e,t,n,i,s,a){e=e|0,t=t|0,n=n|0,i=i|0,s=!!s,a=!!a;const l=t-e;if(i-n<l){if(s)return n;if(a)return Math.max(0,i-l);if(n<e)return n;if(i>t)return Math.max(0,i-l)}else return n;return e}}e9.HORIZONTAL_EXTRA_PX=30;class z6e extends kG{constructor(e){super(),this._context=e;const n=this._context.configuration.options.get(131);this._decorationsLeft=n.decorationsLeft,this._decorationsWidth=n.decorationsWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const n=this._context.configuration.options.get(131);return this._decorationsLeft=n.decorationsLeft,this._decorationsWidth=n.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){const t=e.getDecorationsInViewport(),n=[];let i=0;for(let s=0,a=t.length;s<a;s++){const l=t[s],u=l.options.linesDecorationsClassName;u&&(n[i++]=new d7(l.range.startLineNumber,l.range.endLineNumber,u));const d=l.options.firstLineDecorationClassName;d&&(n[i++]=new d7(l.range.startLineNumber,l.range.startLineNumber,d))}return n}prepareRender(e){const t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._render(t,n,this._getDecorations(e)),s=this._decorationsLeft.toString(),a=this._decorationsWidth.toString(),l='\" style=\"left:'+s+\"px;width:\"+a+'px;\"></div>',u=[];for(let d=t;d<=n;d++){const h=d-t,p=i[h];let g=\"\";for(let y=0,D=p.length;y<D;y++)g+='<div class=\"cldr '+p[y]+l;u[h]=g}this._renderResult=u}render(e,t){return this._renderResult?this._renderResult[t-e]:\"\"}}class U6e extends kG{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(),n=[];let i=0;for(let s=0,a=t.length;s<a;s++){const l=t[s],u=l.options.marginClassName;u&&(n[i++]=new d7(l.range.startLineNumber,l.range.endLineNumber,u))}return n}prepareRender(e){const t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._render(t,n,this._getDecorations(e)),s=[];for(let a=t;a<=n;a++){const l=a-t,u=i[l];let d=\"\";for(let h=0,p=u.length;h<p;h++)d+='<div class=\"cmdr '+u[h]+'\" style=\"\"></div>';s[l]=d}this._renderResult=s}render(e,t){return this._renderResult?this._renderResult[t-e]:\"\"}}class xg{constructor(e,t,n,i){this._rgba8Brand=void 0,this.r=xg._clamp(e),this.g=xg._clamp(t),this.b=xg._clamp(n),this.a=xg._clamp(i)}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}}xg.Empty=new xg(0,0,0,0);class l4 extends fr{constructor(){super(),this._onDidChange=new ri,this.onDidChange=this._onDidChange.event,this._updateColorMap(),this._register(Ic.onDidChange(e=>{e.changedColorMap&&this._updateColorMap()}))}static getInstance(){return this._INSTANCE||(this._INSTANCE=new l4),this._INSTANCE}_updateColorMap(){const e=Ic.getColorMap();if(!e){this._colors=[xg.Empty],this._backgroundIsLight=!0;return}this._colors=[xg.Empty];for(let n=1;n<e.length;n++){const i=e[n].rgba;this._colors[n]=new xg(i.r,i.g,i.b,Math.round(i.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}}l4._INSTANCE=null;const K6e=(()=>{const o=[];for(let e=32;e<=126;e++)o.push(e);return o.push(65533),o})(),q6e=(o,e)=>(o-=32,o<0||o>96?e<=2?(o+96)%96:96-1:o);class Z3{constructor(e,t){this.scale=t,this._minimapCharRendererBrand=void 0,this.charDataNormal=Z3.soften(e,12/15),this.charDataLight=Z3.soften(e,50/60)}static soften(e,t){const n=new Uint8ClampedArray(e.length);for(let i=0,s=e.length;i<s;i++)n[i]=U8(e[i]*t);return n}renderChar(e,t,n,i,s,a,l,u,d,h,p){const g=1*this.scale,y=2*this.scale,D=p?1:y;if(t+g>e.width||n+D>e.height){console.warn(\"bad render request outside image data\");return}const T=h?this.charDataLight:this.charDataNormal,k=q6e(i,d),I=e.width*4,F=l.r,q=l.g,re=l.b,Ie=s.r-F,mt=s.g-q,Le=s.b-re,Ge=Math.max(a,u),qt=e.data;let gi=k*g*y,ai=n*I+t*4;for(let Tr=0;Tr<D;Tr++){let Vr=ai;for(let go=0;go<g;go++){const Js=T[gi++]/255*(a/255);qt[Vr++]=F+Ie*Js,qt[Vr++]=q+mt*Js,qt[Vr++]=re+Le*Js,qt[Vr++]=Ge}ai+=I}}blockRenderChar(e,t,n,i,s,a,l,u){const d=1*this.scale,h=2*this.scale,p=u?1:h;if(t+d>e.width||n+p>e.height){console.warn(\"bad render request outside image data\");return}const g=e.width*4,y=.5*(s/255),D=a.r,T=a.g,k=a.b,I=i.r-D,F=i.g-T,q=i.b-k,re=D+I*y,Ie=T+F*y,mt=k+q*y,Le=Math.max(s,l),Ge=e.data;let qt=n*g+t*4;for(let gi=0;gi<p;gi++){let ai=qt;for(let Tr=0;Tr<d;Tr++)Ge[ai++]=re,Ge[ai++]=Ie,Ge[ai++]=mt,Ge[ai++]=Le;qt+=g}}}const qre={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},Gre=o=>{const e=new Uint8ClampedArray(o.length/2);for(let t=0;t<o.length;t+=2)e[t>>1]=qre[o[t]]<<4|qre[o[t+1]]&15;return e},Jre={1:wb(()=>Gre(\"0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792\")),2:wb(()=>Gre(\"000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126\"))};class p3{static create(e,t){if(this.lastCreated&&e===this.lastCreated.scale&&t===this.lastFontFamily)return this.lastCreated;let n;return Jre[e]?n=new Z3(Jre[e](),e):n=p3.createFromSampleData(p3.createSampleData(t).data,e),this.lastFontFamily=t,this.lastCreated=n,n}static createSampleData(e){const t=document.createElement(\"canvas\"),n=t.getContext(\"2d\");t.style.height=`${16}px`,t.height=16,t.width=96*10,t.style.width=96*10+\"px\",n.fillStyle=\"#ffffff\",n.font=`bold ${16}px ${e}`,n.textBaseline=\"middle\";let i=0;for(const s of K6e)n.fillText(String.fromCharCode(s),i,16/2),i+=10;return n.getImageData(0,0,96*10,16)}static createFromSampleData(e,t){if(e.length!==61440)throw new Error(\"Unexpected source in MinimapCharRenderer\");const i=p3._downsample(e,t);return new Z3(i,t)}static _downsampleChar(e,t,n,i,s){const a=1*s,l=2*s;let u=i,d=0;for(let h=0;h<l;h++){const p=h/l*16,g=(h+1)/l*16;for(let y=0;y<a;y++){const D=y/a*10,T=(y+1)/a*10;let k=0,I=0;for(let q=p;q<g;q++){const re=t+Math.floor(q)*3840,Ie=1-(q-Math.floor(q));for(let mt=D;mt<T;mt++){const Le=1-(mt-Math.floor(mt)),Ge=re+Math.floor(mt)*4,qt=Le*Ie;I+=qt,k+=e[Ge]*e[Ge+3]/255*qt}}const F=k/I;d=Math.max(d,F),n[u++]=U8(F)}}return d}static _downsample(e,t){const n=2*t*1*t,i=n*96,s=new Uint8ClampedArray(i);let a=0,l=0,u=0;for(let d=0;d<96;d++)u=Math.max(u,this._downsampleChar(e,l,s,a,t)),a+=n,l+=10*4;if(u>0){const d=255/u;for(let h=0;h<i;h++)s[h]*=d}return s}}const G6e=140,J6e=2;class eL{constructor(e,t,n){const i=e.options,s=i.get(129),a=i.get(131),l=a.minimap,u=i.get(44),d=i.get(65);this.renderMinimap=l.renderMinimap,this.size=d.size,this.minimapHeightIsEditorHeight=l.minimapHeightIsEditorHeight,this.scrollBeyondLastLine=i.get(94),this.showSlider=d.showSlider,this.pixelRatio=s,this.typicalHalfwidthCharacterWidth=u.typicalHalfwidthCharacterWidth,this.lineHeight=i.get(59),this.minimapLeft=l.minimapLeft,this.minimapWidth=l.minimapWidth,this.minimapHeight=a.height,this.canvasInnerWidth=l.minimapCanvasInnerWidth,this.canvasInnerHeight=l.minimapCanvasInnerHeight,this.canvasOuterWidth=l.minimapCanvasOuterWidth,this.canvasOuterHeight=l.minimapCanvasOuterHeight,this.isSampling=l.minimapIsSampling,this.editorHeight=a.height,this.fontScale=l.minimapScale,this.minimapLineHeight=l.minimapLineHeight,this.minimapCharWidth=1*this.fontScale,this.charRenderer=wb(()=>p3.create(this.fontScale,u.fontFamily)),this.defaultBackgroundColor=n.getColor(2),this.backgroundColor=eL._getMinimapBackground(t,this.defaultBackgroundColor),this.foregroundAlpha=eL._getMinimapForegroundOpacity(t)}static _getMinimapBackground(e,t){const n=e.getColor(V4e);return n?new xg(n.rgba.r,n.rgba.g,n.rgba.b,Math.round(255*n.rgba.a)):t}static _getMinimapForegroundOpacity(e){const t=e.getColor(H4e);return t?xg._clamp(Math.round(255*t.rgba.a)):255}equals(e){return this.renderMinimap===e.renderMinimap&&this.size===e.size&&this.minimapHeightIsEditorHeight===e.minimapHeightIsEditorHeight&&this.scrollBeyondLastLine===e.scrollBeyondLastLine&&this.showSlider===e.showSlider&&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.defaultBackgroundColor&&this.defaultBackgroundColor.equals(e.defaultBackgroundColor)&&this.backgroundColor&&this.backgroundColor.equals(e.backgroundColor)&&this.foregroundAlpha===e.foregroundAlpha}}class f3{constructor(e,t,n,i,s,a,l,u){this.scrollTop=e,this.scrollHeight=t,this.sliderNeeded=n,this._computedSliderRatio=i,this.sliderTop=s,this.sliderHeight=a,this.startLineNumber=l,this.endLineNumber=u}getDesiredScrollTopFromDelta(e){return Math.round(this.scrollTop+e/this._computedSliderRatio)}getDesiredScrollTopFromTouchLocation(e){return Math.round((e-this.sliderHeight/2)/this._computedSliderRatio)}static create(e,t,n,i,s,a,l,u,d,h,p){const g=e.pixelRatio,y=e.minimapLineHeight,D=Math.floor(e.canvasInnerHeight/y),T=e.lineHeight;if(e.minimapHeightIsEditorHeight){const Ie=u*e.lineHeight+(e.scrollBeyondLastLine?s-e.lineHeight:0),mt=Math.max(1,Math.floor(s*s/Ie)),Le=Math.max(0,e.minimapHeight-mt),Ge=Le/(h-s),qt=d*Ge,gi=Le>0,ai=Math.floor(e.canvasInnerHeight/e.minimapLineHeight);return new f3(d,h,gi,Ge,qt,mt,1,Math.min(l,ai))}let k;if(a&&n!==l){const Ie=n-t+1;k=Math.floor(Ie*y/g)}else{const Ie=s/T;k=Math.floor(Ie*y/g)}let I;e.scrollBeyondLastLine?I=(l-1)*y/g:I=Math.max(0,l*y/g-k),I=Math.min(e.minimapHeight-k,I);const F=I/(h-s),q=d*F;let re=0;if(e.scrollBeyondLastLine&&(re=s/T-1),D>=l+re){const mt=l,Le=I>0;return new f3(d,h,Le,F,q,k,1,mt)}else{let Ie=Math.max(1,Math.floor(t-q*g/y));p&&p.scrollHeight===h&&(p.scrollTop>d&&(Ie=Math.min(Ie,p.startLineNumber)),p.scrollTop<d&&(Ie=Math.max(Ie,p.startLineNumber)));const mt=Math.min(l,Ie+D-1),Le=(d-i)/T,Ge=(t-Ie+Le)*y/g;return new f3(d,h,!0,F,Ge,k,Ie,mt)}}}class h7{constructor(e){this.dy=e}onContentChanged(){this.dy=-1}onTokensChanged(){this.dy=-1}}h7.INVALID=new h7(-1);class Yre{constructor(e,t,n){this.renderedLayout=e,this._imageData=t,this._renderedLines=new Vce(()=>h7.INVALID),this._renderedLines._set(e.startLineNumber,n)}linesEquals(e){if(!this.scrollEquals(e))return!1;const n=this._renderedLines._get().lines;for(let i=0,s=n.length;i<s;i++)if(n[i].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 LG{constructor(e,t,n,i){this._backgroundFillData=LG._createBackgroundFillData(t,n,i),this._buffers=[e.createImageData(t,n),e.createImageData(t,n)],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,n){const i=n.r,s=n.g,a=n.b,l=n.a,u=new Uint8ClampedArray(e*t*4);let d=0;for(let h=0;h<t;h++)for(let p=0;p<e;p++)u[d]=i,u[d+1]=s,u[d+2]=a,u[d+3]=l,d+=4;return u}}class tL{constructor(e,t){this.samplingRatio=e,this.minimapLines=t}static compute(e,t,n){if(e.renderMinimap===0||!e.isSampling)return[null,[]];const i=e.pixelRatio,s=e.lineHeight,a=e.scrollBeyondLastLine,{minimapLineCount:l}=Ix.computeContainedMinimapLineCount({viewLineCount:t,scrollBeyondLastLine:a,height:e.editorHeight,lineHeight:s,pixelRatio:i}),u=t/l,d=u/2;if(!n||n.minimapLines.length===0){const q=[];if(q[0]=1,l>1){for(let re=0,Ie=l-1;re<Ie;re++)q[re]=Math.round(re*u+d);q[l-1]=t}return[new tL(u,q),[]]}const h=n.minimapLines,p=h.length,g=[];let y=0,D=0,T=1;const k=10;let I=[],F=null;for(let q=0;q<l;q++){const re=Math.max(T,Math.round(q*u)),Ie=Math.max(re,Math.round((q+1)*u));for(;y<p&&h[y]<re;){if(I.length<k){const Le=y+1+D;F&&F.type===\"deleted\"&&F._oldIndex===y-1?F.deleteToLineNumber++:(F={type:\"deleted\",_oldIndex:y,deleteFromLineNumber:Le,deleteToLineNumber:Le},I.push(F)),D--}y++}let mt;if(y<p&&h[y]<=Ie)mt=h[y],y++;else if(q===0?mt=1:q+1===l?mt=t:mt=Math.round(q*u+d),I.length<k){const Le=y+1+D;F&&F.type===\"inserted\"&&F._i===q-1?F.insertToLineNumber++:(F={type:\"inserted\",_i:q,insertFromLineNumber:Le,insertToLineNumber:Le},I.push(F)),D++}g[q]=mt,T=mt}if(I.length<k)for(;y<p;){const q=y+1+D;F&&F.type===\"deleted\"&&F._oldIndex===y-1?F.deleteToLineNumber++:(F={type:\"deleted\",_oldIndex:y,deleteFromLineNumber:q,deleteToLineNumber:q},I.push(F)),D--,y++}else I=[{type:\"flush\"}];return[new tL(u,g),I]}modelLineToMinimapLine(e){return Math.min(this.minimapLines.length,Math.max(1,Math.round(e/this.samplingRatio)))}modelLineRangeToMinimapLineRange(e,t){let n=this.modelLineToMinimapLine(e)-1;for(;n>0&&this.minimapLines[n-1]>=e;)n--;let i=this.modelLineToMinimapLine(t)-1;for(;i+1<this.minimapLines.length&&this.minimapLines[i+1]<=t;)i++;if(n===i){const s=this.minimapLines[n];if(s<e||s>t)return null}return[n+1,i+1]}decorationLineRangeToMinimapLineRange(e,t){let n=this.modelLineToMinimapLine(e),i=this.modelLineToMinimapLine(t);return e!==t&&i===n&&(i===this.minimapLines.length?n>1&&n--:i++),[n,i]}onLinesDeleted(e){const t=e.toLineNumber-e.fromLineNumber+1;let n=this.minimapLines.length,i=0;for(let s=this.minimapLines.length-1;s>=0&&!(this.minimapLines[s]<e.fromLineNumber);s--)this.minimapLines[s]<=e.toLineNumber?(this.minimapLines[s]=Math.max(1,e.fromLineNumber-1),n=Math.min(n,s),i=Math.max(i,s)):this.minimapLines[s]-=t;return[n,i]}onLinesInserted(e){const t=e.toLineNumber-e.fromLineNumber+1;for(let n=this.minimapLines.length-1;n>=0&&!(this.minimapLines[n]<e.fromLineNumber);n--)this.minimapLines[n]+=t}}class Y6e extends Rg{constructor(e){super(e),this.tokensColorTracker=l4.getInstance(),this._selections=[],this._minimapSelections=null,this.options=new eL(this._context.configuration,this._context.theme,this.tokensColorTracker);const[t]=tL.compute(this.options,this._context.viewModel.getLineCount(),null);this._samplingState=t,this._shouldCheckSampling=!1,this._actual=new p7(e.theme,this)}dispose(){this._actual.dispose(),super.dispose()}getDomNode(){return this._actual.getDomNode()}_onOptionsMaybeChanged(){const e=new eL(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.toLineNumber);return t?this._actual.onLinesChanged(t[0],t[1]):!1}else return this._actual.onLinesChanged(e.fromLineNumber,e.toLineNumber)}onLinesDeleted(e){if(this._samplingState){const[t,n]=this._samplingState.onLinesDeleted(e);return t<=n&&this._actual.onLinesChanged(t+1,n+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 n of e.ranges){const i=this._samplingState.modelLineRangeToMinimapLineRange(n.fromLineNumber,n.toLineNumber);i&&t.push({fromLineNumber:i[0],toLineNumber:i[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,n=e.visibleRange.endLineNumber;this._samplingState&&(t=this._samplingState.modelLineToMinimapLine(t),n=this._samplingState.modelLineToMinimapLine(n));const i={viewportContainsWhitespaceGaps:e.viewportData.whitespaceViewportData.length>0,scrollWidth:e.scrollWidth,scrollHeight:e.scrollHeight,viewportStartLineNumber:t,viewportEndLineNumber:n,viewportStartLineNumberVerticalOffset:e.getVerticalOffsetForLineNumber(t),scrollTop:e.scrollTop,scrollLeft:e.scrollLeft,viewportWidth:e.viewportWidth,viewportHeight:e.viewportHeight};this._actual.render(i)}_recreateLineSampling(){this._minimapSelections=null;const e=Boolean(this._samplingState),[t,n]=tL.compute(this.options,this._context.viewModel.getLineCount(),this._samplingState);if(this._samplingState=t,e&&this._samplingState)for(const i of n)switch(i.type){case\"deleted\":this._actual.onLinesDeleted(i.deleteFromLineNumber,i.deleteToLineNumber);break;case\"inserted\":this._actual.onLinesInserted(i.insertFromLineNumber,i.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,n){if(this._samplingState){const i=[];for(let s=0,a=t-e+1;s<a;s++)n[s]?i[s]=this._context.viewModel.getViewLineData(this._samplingState.minimapLines[e+s-1]):i[s]=null;return i}return this._context.viewModel.getMinimapLinesRenderingData(e,t,n).data}getSelections(){if(this._minimapSelections===null)if(this._samplingState){this._minimapSelections=[];for(const e of this._selections){const[t,n]=this._samplingState.decorationLineRangeToMinimapLineRange(e.startLineNumber,e.endLineNumber);this._minimapSelections.push(new oo(t,e.startColumn,n,e.endColumn))}}else this._minimapSelections=this._selections;return this._minimapSelections}getMinimapDecorationsInViewport(e,t){let n;if(this._samplingState){const s=this._samplingState.minimapLines[e-1],a=this._samplingState.minimapLines[t-1];n=new He(s,1,a,this._context.viewModel.getLineMaxColumn(a))}else n=new He(e,1,t,this._context.viewModel.getLineMaxColumn(t));const i=this._context.viewModel.getDecorationsInViewport(n);if(this._samplingState){const s=[];for(const a of i){if(!a.options.minimap)continue;const l=a.range,u=this._samplingState.modelLineToMinimapLine(l.startLineNumber),d=this._samplingState.modelLineToMinimapLine(l.endLineNumber);s.push(new Nue(new He(u,l.startColumn,d,l.endColumn),a.options))}return s}return i}getOptions(){return this._context.viewModel.model.getOptions()}revealLineNumber(e){this._samplingState&&(e=this._samplingState.minimapLines[e-1]),this._context.viewModel.revealRange(\"mouse\",!1,new He(e,1,e,1),1,0)}setScrollTop(e){this._context.viewModel.viewLayout.setScrollPosition({scrollTop:e},1)}}class p7 extends fr{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(Fre),this._domNode=ru(document.createElement(\"div\")),Y1.write(this._domNode,8),this._domNode.setClassName(this._getMinimapDomNodeClassName()),this._domNode.setPosition(\"absolute\"),this._domNode.setAttribute(\"role\",\"presentation\"),this._domNode.setAttribute(\"aria-hidden\",\"true\"),this._shadow=ru(document.createElement(\"div\")),this._shadow.setClassName(\"minimap-shadow-hidden\"),this._domNode.appendChild(this._shadow),this._canvas=ru(document.createElement(\"canvas\")),this._canvas.setPosition(\"absolute\"),this._canvas.setLeft(0),this._domNode.appendChild(this._canvas),this._decorationsCanvas=ru(document.createElement(\"canvas\")),this._decorationsCanvas.setPosition(\"absolute\"),this._decorationsCanvas.setClassName(\"minimap-decorations-layer\"),this._decorationsCanvas.setLeft(0),this._domNode.appendChild(this._decorationsCanvas),this._slider=ru(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=ru(document.createElement(\"div\")),this._sliderHorizontal.setPosition(\"absolute\"),this._sliderHorizontal.setClassName(\"minimap-slider-horizontal\"),this._slider.appendChild(this._sliderHorizontal),this._applyLayout(),this._mouseDownListener=Fh(this._domNode.domNode,\"mousedown\",n=>{if(n.preventDefault(),this._model.options.renderMinimap===0||!this._lastRenderData)return;if(this._model.options.size!==\"proportional\"){if(n.leftButton&&this._lastRenderData){const d=Gh(this._slider.domNode),h=d.top+d.height/2;this._startSliderDragging(n.buttons,n.posx,h,n.posy,this._lastRenderData.renderedLayout)}return}const s=this._model.options.minimapLineHeight,a=this._model.options.canvasInnerHeight/this._model.options.canvasOuterHeight*n.browserEvent.offsetY;let u=Math.floor(a/s)+this._lastRenderData.renderedLayout.startLineNumber;u=Math.min(u,this._model.getLineCount()),this._model.revealLineNumber(u)}),this._sliderMouseMoveMonitor=new dw,this._sliderMouseDownListener=Fh(this._slider.domNode,\"mousedown\",n=>{n.preventDefault(),n.stopPropagation(),n.leftButton&&this._lastRenderData&&this._startSliderDragging(n.buttons,n.posx,n.posy,n.posy,this._lastRenderData.renderedLayout)}),this._gestureDisposable=Iu.addTarget(this._domNode.domNode),this._sliderTouchStartListener=hs(this._domNode.domNode,sc.Start,n=>{n.preventDefault(),n.stopPropagation(),this._lastRenderData&&(this._slider.toggleClassName(\"active\",!0),this._gestureInProgress=!0,this.scrollDueToTouchEvent(n))},{passive:!1}),this._sliderTouchMoveListener=hs(this._domNode.domNode,sc.Change,n=>{n.preventDefault(),n.stopPropagation(),this._lastRenderData&&this._gestureInProgress&&this.scrollDueToTouchEvent(n)},{passive:!1}),this._sliderTouchEndListener=Fh(this._domNode.domNode,sc.End,n=>{n.preventDefault(),n.stopPropagation(),this._gestureInProgress=!1,this._slider.toggleClassName(\"active\",!1)})}_startSliderDragging(e,t,n,i,s){this._slider.toggleClassName(\"active\",!0);const a=(l,u)=>{const d=Math.abs(u-t);if(Ph&&d>G6e){this._model.setScrollTop(s.scrollTop);return}const h=l-n;this._model.setScrollTop(s.getDesiredScrollTopFromDelta(h))};i!==n&&a(i,t),this._sliderMouseMoveMonitor.startMonitoring(this._slider.domNode,e,$E,l=>a(l.posy,l.posx),()=>{this._slider.toggleClassName(\"active\",!1)})}scrollDueToTouchEvent(e){const t=this._domNode.domNode.getBoundingClientRect().top,n=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(e.pageY-t);this._model.setScrollTop(n)}dispose(){this._mouseDownListener.dispose(),this._sliderMouseMoveMonitor.dispose(),this._sliderMouseDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),super.dispose()}_getMinimapDomNodeClassName(){return this._model.options.showSlider===\"always\"?\"minimap slider-always\":\"minimap slider-mouseover\"}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 LG(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){return this._lastRenderData&&this._lastRenderData.onLinesDeleted(e,t),!0}onLinesInserted(e,t){return this._lastRenderData&&this._lastRenderData.onLinesInserted(e,t),!0}onScrollChanged(){return this._renderDecorations=!0,!0}onThemeChanged(){return this._selectionColor=this._theme.getColor(Fre),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 n=f3.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(n.sliderNeeded?\"block\":\"none\"),this._slider.setTop(n.sliderTop),this._slider.setHeight(n.sliderHeight),this._sliderHorizontal.setLeft(0),this._sliderHorizontal.setWidth(this._model.options.minimapWidth),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(n.sliderHeight),this.renderDecorations(n),this._lastRenderData=this.renderLines(n)}renderDecorations(e){if(this._renderDecorations){this._renderDecorations=!1;const t=this._model.getSelections();t.sort(He.compareRangesUsingStarts);const n=this._model.getMinimapDecorationsInViewport(e.startLineNumber,e.endLineNumber);n.sort((g,y)=>(g.options.zIndex||0)-(y.options.zIndex||0));const{canvasInnerWidth:i,canvasInnerHeight:s}=this._model.options,a=this._model.options.minimapLineHeight,l=this._model.options.minimapCharWidth,u=this._model.getOptions().tabSize,d=this._decorationsCanvas.domNode.getContext(\"2d\");d.clearRect(0,0,i,s);const h=new Xre(e.startLineNumber,e.endLineNumber,!1);this._renderSelectionLineHighlights(d,t,h,e,a),this._renderDecorationsLineHighlights(d,n,h,e,a);const p=new Xre(e.startLineNumber,e.endLineNumber,null);this._renderSelectionsHighlights(d,t,p,e,a,u,l,i),this._renderDecorationsHighlights(d,n,p,e,a,u,l,i)}}_renderSelectionLineHighlights(e,t,n,i,s){if(!this._selectionColor||this._selectionColor.isTransparent())return;e.fillStyle=this._selectionColor.transparent(.5).toString();let a=0,l=0;for(const u of t){const d=Math.max(i.startLineNumber,u.startLineNumber),h=Math.min(i.endLineNumber,u.endLineNumber);if(d>h)continue;for(let y=d;y<=h;y++)n.set(y,!0);const p=(d-i.startLineNumber)*s,g=(h-i.startLineNumber)*s+s;l>=p||(l>a&&e.fillRect(yv,a,e.canvas.width,l-a),a=p),l=g}l>a&&e.fillRect(yv,a,e.canvas.width,l-a)}_renderDecorationsLineHighlights(e,t,n,i,s){const a=new Map;for(let l=t.length-1;l>=0;l--){const u=t[l],d=u.options.minimap;if(!d||d.position!==Tg.Inline)continue;const h=Math.max(i.startLineNumber,u.range.startLineNumber),p=Math.min(i.endLineNumber,u.range.endLineNumber);if(h>p)continue;const g=d.getColor(this._theme.value);if(!g||g.isTransparent())continue;let y=a.get(g.toString());y||(y=g.transparent(.5).toString(),a.set(g.toString(),y)),e.fillStyle=y;for(let D=h;D<=p;D++){if(n.has(D))continue;n.set(D,!0);const T=(h-i.startLineNumber)*s;e.fillRect(yv,T,e.canvas.width,s)}}}_renderSelectionsHighlights(e,t,n,i,s,a,l,u){if(!(!this._selectionColor||this._selectionColor.isTransparent()))for(const d of t){const h=Math.max(i.startLineNumber,d.startLineNumber),p=Math.min(i.endLineNumber,d.endLineNumber);if(!(h>p))for(let g=h;g<=p;g++)this.renderDecorationOnLine(e,n,d,this._selectionColor,i,g,s,s,a,l,u)}}_renderDecorationsHighlights(e,t,n,i,s,a,l,u){for(const d of t){const h=d.options.minimap;if(!h)continue;const p=Math.max(i.startLineNumber,d.range.startLineNumber),g=Math.min(i.endLineNumber,d.range.endLineNumber);if(p>g)continue;const y=h.getColor(this._theme.value);if(!(!y||y.isTransparent()))for(let D=p;D<=g;D++)switch(h.position){case Tg.Inline:this.renderDecorationOnLine(e,n,d.range,y,i,D,s,s,a,l,u);continue;case Tg.Gutter:{const T=(D-i.startLineNumber)*s,k=2;this.renderDecoration(e,y,k,T,J6e,s);continue}}}}renderDecorationOnLine(e,t,n,i,s,a,l,u,d,h,p){const g=(a-s.startLineNumber)*u;if(g+l<0||g>this._model.options.canvasInnerHeight)return;const{startLineNumber:y,endLineNumber:D}=n,T=y===a?n.startColumn:1,k=D===a?n.endColumn:this._model.getLineMaxColumn(a),I=this.getXOffsetForPosition(t,a,T,d,h,p),F=this.getXOffsetForPosition(t,a,k,d,h,p);this.renderDecoration(e,i,I,g,F-I,l)}getXOffsetForPosition(e,t,n,i,s,a){if(n===1)return yv;if((n-1)*s>=a)return a;let u=e.get(t);if(!u){const d=this._model.getLineContent(t);u=[yv];let h=yv;for(let p=1;p<d.length+1;p++){const g=d.charCodeAt(p-1),y=g===9?i*s:Qv(g)?2*s:s,D=h+y;if(D>=a){u[p]=a;break}u[p]=D,h=D}e.set(t,u)}return n-1<u.length?u[n-1]:a}renderDecoration(e,t,n,i,s,a){e.fillStyle=t&&t.toString()||\"\",e.fillRect(n,i,s,a)}renderLines(e){const t=e.startLineNumber,n=e.endLineNumber,i=this._model.options.minimapLineHeight;if(this._lastRenderData&&this._lastRenderData.linesEquals(e)){const Js=this._lastRenderData._get();return new Yre(e,Js.imageData,Js.lines)}const s=this._getBuffer();if(!s)return null;const[a,l,u]=p7._renderUntouchedLines(s,t,n,i,this._lastRenderData),d=this._model.getMinimapLinesRenderingData(t,n,u),h=this._model.getOptions().tabSize,p=this._model.options.defaultBackgroundColor,g=this._model.options.backgroundColor,y=this._model.options.foregroundAlpha,D=this._model.tokensColorTracker,T=D.backgroundIsLight(),k=this._model.options.renderMinimap,I=this._model.options.charRenderer(),F=this._model.options.fontScale,q=this._model.options.minimapCharWidth,Ie=(k===1?2:2+1)*F,mt=i>Ie?Math.floor((i-Ie)/2):0,Le=g.a/255,Ge=new xg(Math.round((g.r-p.r)*Le+p.r),Math.round((g.g-p.g)*Le+p.g),Math.round((g.b-p.b)*Le+p.b),255);let qt=0;const gi=[];for(let Js=0,Fo=n-t+1;Js<Fo;Js++)u[Js]&&p7._renderLine(s,Ge,g.a,T,k,q,D,y,I,qt,mt,h,d[Js],F,i),gi[Js]=new h7(qt),qt+=i;const ai=a===-1?0:a,Vr=(l===-1?s.height:l)-ai;return this._canvas.domNode.getContext(\"2d\").putImageData(s,0,0,0,ai,s.width,Vr),new Yre(e,s,gi)}static _renderUntouchedLines(e,t,n,i,s){const a=[];if(!s){for(let Ge=0,qt=n-t+1;Ge<qt;Ge++)a[Ge]=!0;return[-1,-1,a]}const l=s._get(),u=l.imageData.data,d=l.rendLineNumberStart,h=l.lines,p=h.length,g=e.width,y=e.data,D=(n-t+1)*i*g*4;let T=-1,k=-1,I=-1,F=-1,q=-1,re=-1,Ie=0;for(let Ge=t;Ge<=n;Ge++){const qt=Ge-t,gi=Ge-d,ai=gi>=0&&gi<p?h[gi].dy:-1;if(ai===-1){a[qt]=!0,Ie+=i;continue}const Tr=ai*g*4,Vr=(ai+i)*g*4,go=Ie*g*4,Js=(Ie+i)*g*4;F===Tr&&re===go?(F=Vr,re=Js):(I!==-1&&(y.set(u.subarray(I,F),q),T===-1&&I===0&&I===q&&(T=F),k===-1&&F===D&&I===q&&(k=I)),I=Tr,F=Vr,q=go,re=Js),a[qt]=!1,Ie+=i}I!==-1&&(y.set(u.subarray(I,F),q),T===-1&&I===0&&I===q&&(T=F),k===-1&&F===D&&I===q&&(k=I));const mt=T===-1?-1:T/(g*4),Le=k===-1?-1:k/(g*4);return[mt,Le,a]}static _renderLine(e,t,n,i,s,a,l,u,d,h,p,g,y,D,T){const k=y.content,I=y.tokens,F=e.width-a,q=T===1;let re=yv,Ie=0,mt=0;for(let Le=0,Ge=I.getCount();Le<Ge;Le++){const qt=I.getEndOffset(Le),gi=I.getForeground(Le),ai=l.getColor(gi);for(;Ie<qt;Ie++){if(re>F)return;const Tr=k.charCodeAt(Ie);if(Tr===9){const Vr=g-(Ie+mt)%g;mt+=Vr-1,re+=Vr*a}else if(Tr===32)re+=a;else{const Vr=Qv(Tr)?2:1;for(let go=0;go<Vr;go++)if(s===2?d.blockRenderChar(e,re,h+p,ai,u,t,n,q):d.renderChar(e,re,h+p,Tr,ai,u,t,n,D,i,q),re+=a,re>F)return}}}}}class Xre{constructor(e,t,n){this._startLineNumber=e,this._endLineNumber=t,this._defaultValue=n,this._values=[];for(let i=0,s=this._endLineNumber-this._startLineNumber+1;i<s;i++)this._values[i]=n}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]}}ac((o,e)=>{const t=o.getColor($4e);t&&e.addRule(`.monaco-editor .minimap-slider .minimap-slider-horizontal { background: ${t}; }`);const n=o.getColor(z4e);n&&e.addRule(`.monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: ${n}; }`);const i=o.getColor(U4e);i&&e.addRule(`.monaco-editor .minimap-slider.active .minimap-slider-horizontal { background: ${i}; }`);const s=o.getColor(zE);s&&e.addRule(`.monaco-editor .minimap-shadow-visible { box-shadow: ${s} -6px 0 6px -6px inset; }`)});class X6e extends Rg{constructor(e){super(e);const n=this._context.configuration.options.get(131);this._widgets={},this._verticalScrollbarWidth=n.verticalScrollbarWidth,this._minimapWidth=n.minimap.minimapWidth,this._horizontalScrollbarHeight=n.horizontalScrollbarHeight,this._editorHeight=n.height,this._editorWidth=n.width,this._domNode=ru(document.createElement(\"div\")),Y1.write(this._domNode,4),this._domNode.setClassName(\"overlayWidgets\")}dispose(){super.dispose(),this._widgets={}}getDomNode(){return this._domNode}onConfigurationChanged(e){const n=this._context.configuration.options.get(131);return this._verticalScrollbarWidth=n.verticalScrollbarWidth,this._minimapWidth=n.minimap.minimapWidth,this._horizontalScrollbarHeight=n.horizontalScrollbarHeight,this._editorHeight=n.height,this._editorWidth=n.width,!0}addWidget(e){const t=ru(e.getDomNode());this._widgets[e.getId()]={widget:e,preference:null,domNode:t},t.setPosition(\"absolute\"),t.setAttribute(\"widgetId\",e.getId()),this._domNode.appendChild(t),this.setShouldRender()}setWidgetPosition(e,t){const n=this._widgets[e.getId()];return n.preference===t?!1:(n.preference=t,this.setShouldRender(),!0)}removeWidget(e){const t=e.getId();if(this._widgets.hasOwnProperty(t)){const i=this._widgets[t].domNode.domNode;delete this._widgets[t],i.parentNode.removeChild(i),this.setShouldRender()}}_renderWidget(e){const t=e.domNode;if(e.preference===null){t.unsetTop();return}if(e.preference===0)t.setTop(0),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth);else if(e.preference===1){const n=t.domNode.clientHeight;t.setTop(this._editorHeight-n-2*this._horizontalScrollbarHeight),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth)}else e.preference===2&&(t.setTop(0),t.domNode.style.right=\"50%\")}prepareRender(e){}render(e){this._domNode.setWidth(this._editorWidth);const t=Object.keys(this._widgets);for(let n=0,i=t.length;n<i;n++){const s=t[n];this._renderWidget(this._widgets[s])}}}class Q6e{constructor(e,t){const n=e.options;this.lineHeight=n.get(59),this.pixelRatio=n.get(129),this.overviewRulerLanes=n.get(74),this.renderBorder=n.get(73);const i=t.getColor(INe);this.borderColor=i?i.toString():null,this.hideCursor=n.get(52);const s=t.getColor(Nce);this.cursorColor=s?s.transparent(.7).toString():null,this.themeType=t.type;const a=n.get(65),l=a.enabled,u=a.side,d=l?t.getColor(FNe)||Ic.getDefaultBackground():null;d===null||u===\"left\"?this.backgroundColor=null:this.backgroundColor=Xi.Format.CSS.formatHex(d);const p=n.get(131).overviewRuler;this.top=p.top,this.right=p.right,this.domWidth=p.width,this.domHeight=p.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[g,y]=this._initLanes(1,this.canvasWidth,this.overviewRulerLanes);this.x=g,this.w=y}_initLanes(e,t,n){const i=t-e;if(n>=3){const s=Math.floor(i/3),a=Math.floor(i/3),l=i-s-a,u=e,d=u+s,h=u+s+l;return[[0,u,d,u,h,u,d,u],[0,s,l,s+l,a,s+l+a,l+a,s+l+a]]}else if(n===2){const s=Math.floor(i/2),a=i-s,l=e,u=l+s;return[[0,l,l,l,u,l,l,l],[0,s,s,s,a,s+a,s+a,s+a]]}else{const s=e,a=i;return[[0,s,s,s,s,s,s,s],[0,a,a,a,a,a,a,a]]}}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.cursorColor===e.cursorColor&&this.themeType===e.themeType&&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 Z6e extends Rg{constructor(e){super(e),this._domNode=ru(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=Ic.onDidChange(t=>{t.changedColorMap&&this._updateSettings(!0)}),this._cursorPositions=[]}dispose(){super.dispose(),this._tokensColorTrackerListener.dispose()}_updateSettings(e){const t=new Q6e(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)}onConfigurationChanged(e){return this._updateSettings(!1)}onCursorStateChanged(e){this._cursorPositions=[];for(let t=0,n=e.selections.length;t<n;t++)this._cursorPositions[t]=e.selections[t].getPosition();return this._cursorPositions.sort(Ii.compare),!0}onDecorationsChanged(e){return!!e.affectsOverviewRuler}onFlushed(e){return!0}onScrollChanged(e){return e.scrollHeightChanged}onZonesChanged(e){return!0}onThemeChanged(e){return this._updateSettings(!1)}getDomNode(){return this._domNode.domNode}prepareRender(e){}render(e){this._render()}_render(){if(this._settings.overviewRulerLanes===0){this._domNode.setBackgroundColor(this._settings.backgroundColor?this._settings.backgroundColor:\"\"),this._domNode.setDisplay(\"none\");return}this._domNode.setDisplay(\"block\");const e=this._settings.canvasWidth,t=this._settings.canvasHeight,n=this._settings.lineHeight,i=this._context.viewLayout,s=this._context.viewLayout.getScrollHeight(),a=t/s,l=this._context.viewModel.getAllOverviewRulerDecorations(this._context.theme),u=6*this._settings.pixelRatio|0,d=u/2|0,h=this._domNode.domNode.getContext(\"2d\");this._settings.backgroundColor===null?h.clearRect(0,0,e,t):(h.fillStyle=this._settings.backgroundColor,h.fillRect(0,0,e,t));const p=this._settings.x,g=this._settings.w;l.sort(Iue.cmp);for(const y of l){const D=y.color,T=y.data;h.fillStyle=D;let k=0,I=0,F=0;for(let q=0,re=T.length/3;q<re;q++){const Ie=T[3*q],mt=T[3*q+1],Le=T[3*q+2];let Ge=i.getVerticalOffsetForLineNumber(mt)*a|0,qt=(i.getVerticalOffsetForLineNumber(Le)+n)*a|0;if(qt-Ge<u){let ai=(Ge+qt)/2|0;ai<d?ai=d:ai+d>t&&(ai=t-d),Ge=ai-d,qt=ai+d}Ge>F+1||Ie!==k?(q!==0&&h.fillRect(p[k],I,g[k],F-I),k=Ie,I=Ge,F=qt):qt>F&&(F=qt)}h.fillRect(p[k],I,g[k],F-I)}if(!this._settings.hideCursor&&this._settings.cursorColor){const y=2*this._settings.pixelRatio|0,D=y/2|0,T=this._settings.x[7],k=this._settings.w[7];h.fillStyle=this._settings.cursorColor;let I=-100,F=-100;for(let q=0,re=this._cursorPositions.length;q<re;q++){const Ie=this._cursorPositions[q];let mt=i.getVerticalOffsetForLineNumber(Ie.lineNumber)*a|0;mt<D?mt=D:mt+D>t&&(mt=t-D);const Le=mt-D,Ge=Le+y;Le>F+1?(q!==0&&h.fillRect(T,I,k,F-I),I=Le,F=Ge):Ge>F&&(F=Ge)}h.fillRect(T,I,k,F-I)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(h.beginPath(),h.lineWidth=1,h.strokeStyle=this._settings.borderColor,h.moveTo(0,0),h.lineTo(0,t),h.stroke(),h.moveTo(0,0),h.lineTo(e,0),h.stroke())}}class Qre{constructor(e,t,n){this._colorZoneBrand=void 0,this.from=e|0,this.to=t|0,this.colorId=n|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 nL{constructor(e,t,n,i){this._overviewRulerZoneBrand=void 0,this.startLineNumber=e,this.endLineNumber=t,this.heightInLines=n,this.color=i,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 eIe{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(nL.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),n=Math.floor(this.getCanvasHeight()),i=Math.floor(this._outerHeight),s=n/i,a=Math.floor(4*this._pixelRatio/2),l=[];for(let u=0,d=this._zones.length;u<d;u++){const h=this._zones[u];if(!e){const re=h.getColorZones();if(re){l.push(re);continue}}const p=this._getVerticalOffsetForLine(h.startLineNumber),g=h.heightInLines===0?this._getVerticalOffsetForLine(h.endLineNumber)+t:p+h.heightInLines*t,y=Math.floor(s*p),D=Math.floor(s*g);let T=Math.floor((y+D)/2),k=D-T;k<a&&(k=a),T-k<0&&(T=k),T+k>n&&(T=n-k);const I=h.color;let F=this._color2Id[I];F||(F=++this._lastAssignedId,this._color2Id[I]=F,this._id2Color[F]=I);const q=new Qre(T-k,T+k,F);h.setColorZone(q),l.push(q)}return this._colorZonesInvalid=!1,l.sort(Qre.compare),l}}class tIe extends s4{constructor(e,t){super(),this._context=e;const n=this._context.configuration.options;this._domNode=ru(document.createElement(\"canvas\")),this._domNode.setClassName(t),this._domNode.setPosition(\"absolute\"),this._domNode.setLayerHinting(!0),this._domNode.setContain(\"strict\"),this._zoneManager=new eIe(i=>this._context.viewLayout.getVerticalOffsetForLineNumber(i)),this._zoneManager.setDOMWidth(0),this._zoneManager.setDOMHeight(0),this._zoneManager.setOuterHeight(this._context.viewLayout.getScrollHeight()),this._zoneManager.setLineHeight(n.get(59)),this._zoneManager.setPixelRatio(n.get(129)),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return e.hasChanged(59)&&(this._zoneManager.setLineHeight(t.get(59)),this._render()),e.hasChanged(129)&&(this._zoneManager.setPixelRatio(t.get(129)),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(),n=this._zoneManager.resolveColorZones(),i=this._zoneManager.getId2Color(),s=this._domNode.domNode.getContext(\"2d\");return s.clearRect(0,0,e,t),n.length>0&&this._renderOneLane(s,n,i,e),!0}_renderOneLane(e,t,n,i){let s=0,a=0,l=0;for(const u of t){const d=u.colorId,h=u.from,p=u.to;d!==s?(e.fillRect(0,a,i,l-a),s=d,e.fillStyle=n[s],a=h,l=p):l>=h?l=Math.max(l,p):(e.fillRect(0,a,i,l-a),a=h,l=p)}e.fillRect(0,a,i,l-a)}}class nIe extends Rg{constructor(e){super(e),this.domNode=ru(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(91),this._typicalHalfwidthCharacterWidth=t.get(44).typicalHalfwidthCharacterWidth}dispose(){super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return this._rulers=t.get(91),this._typicalHalfwidthCharacterWidth=t.get(44).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:i}=this._context.viewModel.model.getOptions(),s=i;let a=t-e;for(;a>0;){const l=ru(document.createElement(\"div\"));l.setClassName(\"view-ruler\"),l.setWidth(s),this.domNode.appendChild(l),this._renderedRulers.push(l),a--}return}let n=e-t;for(;n>0;){const i=this._renderedRulers.pop();this.domNode.removeChild(i),n--}}render(e){this._ensureRulersCount();for(let t=0,n=this._rulers.length;t<n;t++){const i=this._renderedRulers[t],s=this._rulers[t];i.setBoxShadow(s.color?`1px 0 0 0 ${s.color} inset`:\"\"),i.setHeight(Math.min(e.scrollHeight,1e6)),i.setLeft(s.column*this._typicalHalfwidthCharacterWidth)}}}ac((o,e)=>{const t=o.getColor(LNe);t&&e.addRule(`.monaco-editor .view-ruler { box-shadow: 1px 0 0 0 ${t} inset; }`)});class iIe extends Rg{constructor(e){super(e),this._scrollTop=0,this._width=0,this._updateWidth(),this._shouldShow=!1;const n=this._context.configuration.options.get(92);this._useShadows=n.useShadows,this._domNode=ru(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(131);t.minimap.renderMinimap===0||t.minimap.minimapWidth>0&&t.minimap.minimapLeft===0?this._width=t.width:this._width=t.width-t.minimap.minimapWidth-t.verticalScrollbarWidth}onConfigurationChanged(e){const n=this._context.configuration.options.get(92);return this._useShadows=n.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\":\"\")}}ac((o,e)=>{const t=o.getColor(zE);t&&e.addRule(`.monaco-editor .scroll-decoration { box-shadow: ${t} 0 6px 6px -6px inset; }`)});class rIe{constructor(e){this.left=e.left,this.width=e.width,this.startStyle=null,this.endStyle=null}}class sIe{constructor(e,t){this.lineNumber=e,this.ranges=t}}function oIe(o){return new rIe(o)}function aIe(o){return new sIe(o.lineNumber,o.ranges.map(oIe))}class qc extends KE{constructor(e){super(),this._previousFrameVisibleRangesWithStyle=[],this._context=e;const t=this._context.configuration.options;this._lineHeight=t.get(59),this._roundedSelection=t.get(90),this._typicalHalfwidthCharacterWidth=t.get(44).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._lineHeight=t.get(59),this._roundedSelection=t.get(90),this._typicalHalfwidthCharacterWidth=t.get(44).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,n=e.length;t<n;t++)if(e[t].ranges.length>1)return!0;return!1}_enrichVisibleRangesWithStyle(e,t,n){const i=this._typicalHalfwidthCharacterWidth/4;let s=null,a=null;if(n&&n.length>0&&t.length>0){const l=t[0].lineNumber;if(l===e.startLineNumber)for(let d=0;!s&&d<n.length;d++)n[d].lineNumber===l&&(s=n[d].ranges[0]);const u=t[t.length-1].lineNumber;if(u===e.endLineNumber)for(let d=n.length-1;!a&&d>=0;d--)n[d].lineNumber===u&&(a=n[d].ranges[0]);s&&!s.startStyle&&(s=null),a&&!a.startStyle&&(a=null)}for(let l=0,u=t.length;l<u;l++){const d=t[l].ranges[0],h=d.left,p=d.left+d.width,g={top:0,bottom:0},y={top:0,bottom:0};if(l>0){const D=t[l-1].ranges[0].left,T=t[l-1].ranges[0].left+t[l-1].ranges[0].width;JF(h-D)<i?g.top=2:h>D&&(g.top=1),JF(p-T)<i?y.top=2:D<p&&p<T&&(y.top=1)}else s&&(g.top=s.startStyle.top,y.top=s.endStyle.top);if(l+1<u){const D=t[l+1].ranges[0].left,T=t[l+1].ranges[0].left+t[l+1].ranges[0].width;JF(h-D)<i?g.bottom=2:D<h&&h<T&&(g.bottom=1),JF(p-T)<i?y.bottom=2:p<T&&(y.bottom=1)}else a&&(g.bottom=a.startStyle.bottom,y.bottom=a.endStyle.bottom);d.startStyle=g,d.endStyle=y}}_getVisibleRangesWithStyle(e,t,n){const s=(t.linesVisibleRangesForRange(e,!0)||[]).map(aIe);return!this._visibleRangesHaveGaps(s)&&this._roundedSelection&&this._enrichVisibleRangesWithStyle(t.visibleRange,s,n),s}_createSelectionPiece(e,t,n,i,s){return'<div class=\"cslr '+n+'\" style=\"top:'+e.toString()+\"px;left:\"+i.toString()+\"px;width:\"+s.toString()+\"px;height:\"+t+'px;\"></div>'}_actualRenderOneSelection(e,t,n,i){if(i.length===0)return;const s=!!i[0].ranges[0].startStyle,a=this._lineHeight.toString(),l=(this._lineHeight-1).toString(),u=i[0].lineNumber,d=i[i.length-1].lineNumber;for(let h=0,p=i.length;h<p;h++){const g=i[h],y=g.lineNumber,D=y-t,T=n&&(y===d||y===u)?l:a,k=n&&y===u?1:0;let I=\"\",F=\"\";for(let q=0,re=g.ranges.length;q<re;q++){const Ie=g.ranges[q];if(s){const Le=Ie.startStyle,Ge=Ie.endStyle;if(Le.top===1||Le.bottom===1){I+=this._createSelectionPiece(k,T,qc.SELECTION_CLASS_NAME,Ie.left-qc.ROUNDED_PIECE_WIDTH,qc.ROUNDED_PIECE_WIDTH);let qt=qc.EDITOR_BACKGROUND_CLASS_NAME;Le.top===1&&(qt+=\" \"+qc.SELECTION_TOP_RIGHT),Le.bottom===1&&(qt+=\" \"+qc.SELECTION_BOTTOM_RIGHT),I+=this._createSelectionPiece(k,T,qt,Ie.left-qc.ROUNDED_PIECE_WIDTH,qc.ROUNDED_PIECE_WIDTH)}if(Ge.top===1||Ge.bottom===1){I+=this._createSelectionPiece(k,T,qc.SELECTION_CLASS_NAME,Ie.left+Ie.width,qc.ROUNDED_PIECE_WIDTH);let qt=qc.EDITOR_BACKGROUND_CLASS_NAME;Ge.top===1&&(qt+=\" \"+qc.SELECTION_TOP_LEFT),Ge.bottom===1&&(qt+=\" \"+qc.SELECTION_BOTTOM_LEFT),I+=this._createSelectionPiece(k,T,qt,Ie.left+Ie.width,qc.ROUNDED_PIECE_WIDTH)}}let mt=qc.SELECTION_CLASS_NAME;if(s){const Le=Ie.startStyle,Ge=Ie.endStyle;Le.top===0&&(mt+=\" \"+qc.SELECTION_TOP_LEFT),Le.bottom===0&&(mt+=\" \"+qc.SELECTION_BOTTOM_LEFT),Ge.top===0&&(mt+=\" \"+qc.SELECTION_TOP_RIGHT),Ge.bottom===0&&(mt+=\" \"+qc.SELECTION_BOTTOM_RIGHT)}F+=this._createSelectionPiece(k,T,mt,Ie.left,Ie.width)}e[D][0]+=I,e[D][1]+=F}}prepareRender(e){const t=[],n=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber;for(let a=n;a<=i;a++){const l=a-n;t[l]=[\"\",\"\"]}const s=[];for(let a=0,l=this._selections.length;a<l;a++){const u=this._selections[a];if(u.isEmpty()){s[a]=null;continue}const d=this._getVisibleRangesWithStyle(u,e,this._previousFrameVisibleRangesWithStyle[a]);s[a]=d,this._actualRenderOneSelection(t,n,this._selections.length>1,d)}this._previousFrameVisibleRangesWithStyle=s,this._renderResult=t.map(([a,l])=>a+l)}render(e,t){if(!this._renderResult)return\"\";const n=t-e;return n<0||n>=this._renderResult.length?\"\":this._renderResult[n]}}qc.SELECTION_CLASS_NAME=\"selected-text\";qc.SELECTION_TOP_LEFT=\"top-left-radius\";qc.SELECTION_BOTTOM_LEFT=\"bottom-left-radius\";qc.SELECTION_TOP_RIGHT=\"top-right-radius\";qc.SELECTION_BOTTOM_RIGHT=\"bottom-right-radius\";qc.EDITOR_BACKGROUND_CLASS_NAME=\"monaco-editor-background\";qc.ROUNDED_PIECE_WIDTH=10;ac((o,e)=>{const t=o.getColor($v);t&&e.addRule(`.monaco-editor .focused .selected-text { background-color: ${t}; }`);const n=o.getColor(mG);n&&e.addRule(`.monaco-editor .selected-text { background-color: ${n}; }`);const i=o.getColor(ULe);i&&!i.isTransparent()&&e.addRule(`.monaco-editor .view-line span.inline-selected-text { color: ${i}; }`)});function JF(o){return o<0?-o:o}class Zre{constructor(e,t,n,i,s,a){this.top=e,this.left=t,this.width=n,this.height=i,this.textContent=s,this.textContentClassName=a}}class ese{constructor(e){this._context=e;const t=this._context.configuration.options,n=t.get(44);this._cursorStyle=t.get(24),this._lineHeight=t.get(59),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(27),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=ru(document.createElement(\"div\")),this._domNode.setClassName(`cursor ${hD}`),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),bp(this._domNode,n),this._domNode.setDisplay(\"none\"),this._position=new Ii(1,1),this._lastRenderedContent=\"\",this._renderData=null}getDomNode(){return this._domNode}getPosition(){return this._position}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,n=t.get(44);return this._cursorStyle=t.get(24),this._lineHeight=t.get(59),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(27),this._typicalHalfwidthCharacterWidth),bp(this._domNode,n),!0}onCursorPositionChanged(e){return this._position=e,!0}_getGraphemeAwarePosition(){const{lineNumber:e,column:t}=this._position,n=this._context.viewModel.getLineContent(e),[i,s]=lAe(n,t-1);return[new Ii(e,i+1),n.substring(i,s)]}_prepareRender(e){let t=\"\";const[n,i]=this._getGraphemeAwarePosition();if(this._cursorStyle===Ih.Line||this._cursorStyle===Ih.LineThin){const g=e.visibleRangeForPosition(n);if(!g||g.outsideRenderedLine)return null;let y;this._cursorStyle===Ih.Line?(y=Dre(this._lineCursorWidth>0?this._lineCursorWidth:2),y>2&&(t=i)):y=Dre(1);let D=g.left;y>=2&&D>=1&&(D-=1);const T=e.getVerticalOffsetForLineNumber(n.lineNumber)-e.bigNumbersDelta;return new Zre(T,D,y,this._lineHeight,t,\"\")}const s=e.linesVisibleRangesForRange(new He(n.lineNumber,n.column,n.lineNumber,n.column+i.length),!1);if(!s||s.length===0)return null;const a=s[0];if(a.outsideRenderedLine||a.ranges.length===0)return null;const l=a.ranges[0],u=l.width<1?this._typicalHalfwidthCharacterWidth:l.width;let d=\"\";if(this._cursorStyle===Ih.Block){const g=this._context.viewModel.getViewLineData(n.lineNumber);t=i;const y=g.tokens.findTokenIndexAtOffset(n.column-1);d=g.tokens.getClassName(y)}let h=e.getVerticalOffsetForLineNumber(n.lineNumber)-e.bigNumbersDelta,p=this._lineHeight;return(this._cursorStyle===Ih.Underline||this._cursorStyle===Ih.UnderlineThin)&&(h+=this._lineHeight-2,p=2),new Zre(h,l.left,u,p,t,d)}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 ${hD} ${this._renderData.textContentClassName}`),this._domNode.setDisplay(\"block\"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),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 iL extends Rg{constructor(e){super(e);const t=this._context.configuration.options;this._readOnly=t.get(81),this._cursorBlinking=t.get(22),this._cursorStyle=t.get(24),this._cursorSmoothCaretAnimation=t.get(23),this._selectionIsEmpty=!0,this._isComposingInput=!1,this._isVisible=!1,this._primaryCursor=new ese(this._context),this._secondaryCursors=[],this._renderData=[],this._domNode=ru(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 g_,this._cursorFlatBlinkInterval=new e4,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(81),this._cursorBlinking=t.get(22),this._cursorStyle=t.get(24),this._cursorSmoothCaretAnimation=t.get(23),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(e);for(let n=0,i=this._secondaryCursors.length;n<i;n++)this._secondaryCursors[n].onConfigurationChanged(e);return!0}_onCursorPositionChanged(e,t){if(this._primaryCursor.onCursorPositionChanged(e),this._updateBlinking(),this._secondaryCursors.length<t.length){const n=t.length-this._secondaryCursors.length;for(let i=0;i<n;i++){const s=new ese(this._context);this._domNode.domNode.insertBefore(s.getDomNode().domNode,this._primaryCursor.getDomNode().domNode.nextSibling),this._secondaryCursors.push(s)}}else if(this._secondaryCursors.length>t.length){const n=this._secondaryCursors.length-t.length;for(let i=0;i<n;i++)this._domNode.removeChild(this._secondaryCursors[0].getDomNode()),this._secondaryCursors.splice(0,1)}for(let n=0;n<t.length;n++)this._secondaryCursors[n].onCursorPositionChanged(t[n])}onCursorStateChanged(e){const t=[];for(let i=0,s=e.selections.length;i<s;i++)t[i]=e.selections[i].getPosition();this._onCursorPositionChanged(t[0],t.slice(1));const n=e.selections[0].isEmpty();return this._selectionIsEmpty!==n&&(this._selectionIsEmpty=n,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=n=>{for(let i=0,s=e.ranges.length;i<s;i++)if(e.ranges[i].fromLineNumber<=n.lineNumber&&n.lineNumber<=e.ranges[i].toLineNumber)return!0;return!1};if(t(this._primaryCursor.getPosition()))return!0;for(const n of this._secondaryCursors)if(t(n.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,n=e===5;t?this._hide():this._show(),this._blinkingEnabled=!1,this._updateDomClassName(),!t&&!n&&(e===1?this._cursorFlatBlinkInterval.cancelAndSet(()=>{this._isVisible?this._hide():this._show()},iL.BLINK_INTERVAL):this._startCursorBlinkAnimation.setIfNotSet(()=>{this._blinkingEnabled=!0,this._updateDomClassName()},iL.BLINK_INTERVAL))}_updateDomClassName(){this._domNode.setClassName(this._getClassName())}_getClassName(){let e=\"cursors-layer\";switch(this._selectionIsEmpty||(e+=\" has-selection\"),this._cursorStyle){case Ih.Line:e+=\" cursor-line-style\";break;case Ih.Block:e+=\" cursor-block-style\";break;case Ih.Underline:e+=\" cursor-underline-style\";break;case Ih.LineThin:e+=\" cursor-line-thin-style\";break;case Ih.BlockOutline:e+=\" cursor-block-outline-style\";break;case Ih.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&&(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,n=this._secondaryCursors.length;t<n;t++)this._secondaryCursors[t].prepareRender(e)}render(e){const t=[];let n=0;const i=this._primaryCursor.render(e);i&&(t[n++]=i);for(let s=0,a=this._secondaryCursors.length;s<a;s++){const l=this._secondaryCursors[s].render(e);l&&(t[n++]=l)}this._renderData=t}getLastRenderData(){return this._renderData}}iL.BLINK_INTERVAL=500;ac((o,e)=>{const t=o.getColor(Nce);if(t){let n=o.getColor(ANe);n||(n=t.opposite()),e.addRule(`.monaco-editor .inputarea.ime-input { caret-color: ${t}; }`),e.addRule(`.monaco-editor .cursors-layer .cursor { background-color: ${t}; border-color: ${t}; color: ${n}; }`),o.type===\"hc\"&&e.addRule(`.monaco-editor .cursors-layer.has-selection .cursor { border-left: 1px solid ${n}; border-right: 1px solid ${n}; }`)}});const SV=()=>{throw new Error(\"Invalid change accessor\")};class lIe extends Rg{constructor(e){super(e);const t=this._context.configuration.options,n=t.get(131);this._lineHeight=t.get(59),this._contentWidth=n.contentWidth,this._contentLeft=n.contentLeft,this.domNode=ru(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=ru(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 i of e)t.set(i.id,i);let n=!1;return this._context.viewModel.changeWhitespace(i=>{const s=Object.keys(this._zones);for(let a=0,l=s.length;a<l;a++){const u=s[a],d=this._zones[u],h=this._computeWhitespaceProps(d.delegate);d.isInHiddenArea=h.isInHiddenArea;const p=t.get(u);p&&(p.afterLineNumber!==h.afterViewLineNumber||p.height!==h.heightInPx)&&(i.changeOneWhitespace(u,h.afterViewLineNumber,h.heightInPx),this._safeCallOnComputedHeight(d.delegate,h.heightInPx),n=!0)}}),n}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(131);return this._lineHeight=t.get(59),this._contentWidth=n.contentWidth,this._contentLeft=n.contentLeft,e.hasChanged(59)&&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){return typeof e.afterColumn!=\"undefined\"?e.afterColumn: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!=\"undefined\")t=this._context.viewModel.model.validatePosition({lineNumber:e.afterLineNumber,column:e.afterColumn});else{const a=this._context.viewModel.model.validatePosition({lineNumber:e.afterLineNumber,column:1}).lineNumber;t=new Ii(a,this._context.viewModel.model.getLineMaxColumn(a))}let n;t.column===this._context.viewModel.model.getLineMaxColumn(t.lineNumber)?n=this._context.viewModel.model.validatePosition({lineNumber:t.lineNumber+1,column:1}):n=this._context.viewModel.model.validatePosition({lineNumber:t.lineNumber,column:t.column+1});const i=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(t,e.afterColumnAffinity),s=this._context.viewModel.coordinatesConverter.modelPositionIsVisible(n);return{isInHiddenArea:!s,afterViewLineNumber:i.lineNumber,heightInPx:s?this._heightInPixels(e):0,minWidthInPx:this._minWidthInPixels(e)}}changeViewZones(e){let t=!1;return this._context.viewModel.changeWhitespace(n=>{const i={addZone:s=>(t=!0,this._addZone(n,s)),removeZone:s=>{!s||(t=this._removeZone(n,s)||t)},layoutZone:s=>{!s||(t=this._layoutZone(n,s)||t)}};uIe(e,i),i.addZone=SV,i.removeZone=SV,i.layoutZone=SV}),t}_addZone(e,t){const n=this._computeWhitespaceProps(t),s={whitespaceId:e.insertWhitespace(n.afterViewLineNumber,this._getZoneOrdinal(t),n.heightInPx,n.minWidthInPx),delegate:t,isInHiddenArea:n.isInHiddenArea,isVisible:!1,domNode:ru(t.domNode),marginDomNode:t.marginDomNode?ru(t.marginDomNode):null};return this._safeCallOnComputedHeight(s.delegate,n.heightInPx),s.domNode.setPosition(\"absolute\"),s.domNode.domNode.style.width=\"100%\",s.domNode.setDisplay(\"none\"),s.domNode.setAttribute(\"monaco-view-zone\",s.whitespaceId),this.domNode.appendChild(s.domNode),s.marginDomNode&&(s.marginDomNode.setPosition(\"absolute\"),s.marginDomNode.domNode.style.width=\"100%\",s.marginDomNode.setDisplay(\"none\"),s.marginDomNode.setAttribute(\"monaco-view-zone\",s.whitespaceId),this.marginDomNode.appendChild(s.marginDomNode)),this._zones[s.whitespaceId]=s,this.setShouldRender(),s.whitespaceId}_removeZone(e,t){if(this._zones.hasOwnProperty(t)){const n=this._zones[t];return delete this._zones[t],e.removeWhitespace(n.whitespaceId),n.domNode.removeAttribute(\"monaco-visible-view-zone\"),n.domNode.removeAttribute(\"monaco-view-zone\"),n.domNode.domNode.parentNode.removeChild(n.domNode.domNode),n.marginDomNode&&(n.marginDomNode.removeAttribute(\"monaco-visible-view-zone\"),n.marginDomNode.removeAttribute(\"monaco-view-zone\"),n.marginDomNode.domNode.parentNode.removeChild(n.marginDomNode.domNode)),this.setShouldRender(),!0}return!1}_layoutZone(e,t){if(this._zones.hasOwnProperty(t)){const n=this._zones[t],i=this._computeWhitespaceProps(n.delegate);return n.isInHiddenArea=i.isInHiddenArea,e.changeOneWhitespace(n.whitespaceId,i.afterViewLineNumber,i.heightInPx),this._safeCallOnComputedHeight(n.delegate,i.heightInPx),this.setShouldRender(),!0}return!1}shouldSuppressMouseDownOnViewZone(e){if(this._zones.hasOwnProperty(e)){const t=this._zones[e];return Boolean(t.delegate.suppressMouseDown)}return!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(n){tl(n)}}_safeCallOnDomNodeTop(e,t){if(typeof e.onDomNodeTop==\"function\")try{e.onDomNodeTop(t)}catch(n){tl(n)}}prepareRender(e){}render(e){const t=e.viewportData.whitespaceViewportData,n={};let i=!1;for(const a of t)this._zones[a.id].isInHiddenArea||(n[a.id]=a,i=!0);const s=Object.keys(this._zones);for(let a=0,l=s.length;a<l;a++){const u=s[a],d=this._zones[u];let h=0,p=0,g=\"none\";n.hasOwnProperty(u)?(h=n[u].verticalOffset-e.bigNumbersDelta,p=n[u].height,g=\"block\",d.isVisible||(d.domNode.setAttribute(\"monaco-visible-view-zone\",\"true\"),d.isVisible=!0),this._safeCallOnDomNodeTop(d.delegate,e.getScrolledTopFromAbsoluteTop(n[u].verticalOffset))):(d.isVisible&&(d.domNode.removeAttribute(\"monaco-visible-view-zone\"),d.isVisible=!1),this._safeCallOnDomNodeTop(d.delegate,e.getScrolledTopFromAbsoluteTop(-1e6))),d.domNode.setTop(h),d.domNode.setHeight(p),d.domNode.setDisplay(g),d.marginDomNode&&(d.marginDomNode.setTop(h),d.marginDomNode.setHeight(p),d.marginDomNode.setDisplay(g))}i&&(this.domNode.setWidth(Math.max(e.scrollWidth,this._contentWidth)),this.marginDomNode.setWidth(this._contentLeft))}}function uIe(o,e){try{return o(e)}catch(t){tl(t)}}class cIe{constructor(e){this._theme=e}get type(){return this._theme.type}get value(){return this._theme}update(e){this._theme=e}getColor(e){return this._theme.getColor(e)}}class dIe{constructor(e,t,n){this.configuration=e,this.theme=new cIe(t),this.viewModel=n,this.viewLayout=n.viewLayout}addEventHandler(e){this.viewModel.addViewEventHandler(e)}removeEventHandler(e){this.viewModel.removeViewEventHandler(e)}}class hIe{constructor(e,t,n,i){this.selections=e,this.startLineNumber=t.startLineNumber|0,this.endLineNumber=t.endLineNumber|0,this.relativeVerticalOffset=t.relativeVerticalOffset,this.bigNumbersDelta=t.bigNumbersDelta|0,this.whitespaceViewportData=n,this._model=i,this.visibleRange=new He(t.startLineNumber,this._model.getLineMinColumn(t.startLineNumber),t.endLineNumber,this._model.getLineMaxColumn(t.endLineNumber))}getViewLineRenderingData(e){return this._model.getViewLineRenderingData(this.visibleRange,e)}getDecorationsInViewport(){return this._model.getDecorationsInViewport(this.visibleRange)}}class pIe extends s4{constructor(e,t,n,i,s,a){super(),this._selections=[new oo(1,1,1,1)],this._renderAnimationFrame=null;const l=new _6e(t,i,s,e);this._context=new dIe(t,n,i),this._context.addEventHandler(this),this._viewParts=[],this._textAreaHandler=new r6e(this._context,l,this._createTextAreaHandlerHelper()),this._viewParts.push(this._textAreaHandler),this._linesContent=ru(document.createElement(\"div\")),this._linesContent.setClassName(\"lines-content monaco-editor-background\"),this._linesContent.setPosition(\"absolute\"),this.domNode=ru(document.createElement(\"div\")),this.domNode.setClassName(this._getEditorClassName()),this.domNode.setAttribute(\"role\",\"code\"),this._overflowGuardContainer=ru(document.createElement(\"div\")),Y1.write(this._overflowGuardContainer,3),this._overflowGuardContainer.setClassName(\"overflow-guard\"),this._scrollbar=new M6e(this._context,this._linesContent,this.domNode,this._overflowGuardContainer),this._viewParts.push(this._scrollbar),this._viewLines=new e9(this._context,this._linesContent),this._viewZones=new lIe(this._context),this._viewParts.push(this._viewZones);const u=new Z6e(this._context);this._viewParts.push(u);const d=new iIe(this._context);this._viewParts.push(d);const h=new m6e(this._context);this._viewParts.push(h),h.addDynamicOverlay(new C6e(this._context)),h.addDynamicOverlay(new qc(this._context)),h.addDynamicOverlay(new W6e(this._context)),h.addDynamicOverlay(new w6e(this._context));const p=new y6e(this._context);this._viewParts.push(p),p.addDynamicOverlay(new D6e(this._context)),p.addDynamicOverlay(new R6e(this._context)),p.addDynamicOverlay(new U6e(this._context)),p.addDynamicOverlay(new z6e(this._context)),p.addDynamicOverlay(new cE(this._context));const g=new ID(this._context);g.getDomNode().appendChild(this._viewZones.marginDomNode),g.getDomNode().appendChild(p.getDomNode()),this._viewParts.push(g),this._contentWidgets=new b6e(this._context,this.domNode),this._viewParts.push(this._contentWidgets),this._viewCursors=new iL(this._context),this._viewParts.push(this._viewCursors),this._overlayWidgets=new X6e(this._context),this._viewParts.push(this._overlayWidgets);const y=new nIe(this._context);this._viewParts.push(y);const D=new Y6e(this._context);if(this._viewParts.push(D),u){const T=this._scrollbar.getOverviewRulerLayoutInfo();T.parent.insertBefore(u.getDomNode(),T.insertBefore)}this._linesContent.appendChild(h.getDomNode()),this._linesContent.appendChild(y.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(d.getDomNode()),this._overflowGuardContainer.appendChild(this._textAreaHandler.textArea),this._overflowGuardContainer.appendChild(this._textAreaHandler.textAreaCover),this._overflowGuardContainer.appendChild(this._overlayWidgets.getDomNode()),this._overflowGuardContainer.appendChild(D.getDomNode()),this.domNode.appendChild(this._overflowGuardContainer),a?a.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode.domNode):this.domNode.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode),this._applyLayout(),this._pointerHandler=this._register(new DNe(this._context,l,this._createPointerHandlerHelper()))}_flushAccumulatedAndRenderNow(){this._renderNow()}_createPointerHandlerHelper(){return{viewDomNode:this.domNode.domNode,linesContentDomNode:this._linesContent.domNode,focusTextArea:()=>{this.focus()},dispatchTextAreaEvent:e=>{this._textAreaHandler.textArea.domNode.dispatchEvent(e)},getLastRenderData:()=>{const e=this._viewCursors.getLastRenderData()||[],t=this._textAreaHandler.getLastRenderData();return new pNe(e,t)},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 Ii(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(131);this.domNode.setWidth(t.width),this.domNode.setHeight(t.height),this._overflowGuardContainer.setWidth(t.width),this._overflowGuardContainer.setHeight(t.height),this._linesContent.setWidth(1e6),this._linesContent.setHeight(1e6)}_getEditorClassName(){const e=this._textAreaHandler.isFocused()?\" focused\":\"\";return this._context.configuration.options.get(128)+\" \"+n7(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}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(){this._renderAnimationFrame===null&&(this._renderAnimationFrame=Wue(this._onRenderScheduled.bind(this),100))}_onRenderScheduled(){this._renderAnimationFrame=null,this._flushAccumulatedAndRenderNow()}_renderNow(){fIe(()=>this._actualRender())}_getViewPartsToRender(){const e=[];let t=0;for(const n of this._viewParts)n.shouldRender()&&(e[t++]=n);return e}_actualRender(){if(!iG(this.domNode.domNode))return;let e=this._getViewPartsToRender();if(!this._viewLines.shouldRender()&&e.length===0)return;const t=this._context.viewLayout.getLinesViewportData();this._context.viewModel.setViewport(t.startLineNumber,t.endLineNumber,t.centeredLineNumber);const n=new hIe(this._selections,t,this._context.viewLayout.getWhitespaceViewportData(),this._context.viewModel);this._contentWidgets.shouldRender()&&this._contentWidgets.onBeforeRender(n),this._viewLines.shouldRender()&&(this._viewLines.renderText(n),this._viewLines.onDidRender(),e=this._getViewPartsToRender());const i=new sNe(this._context.viewLayout,n,this._viewLines);for(const s of e)s.prepareRender(i);for(const s of e)s.render(i),s.onDidRender()}delegateVerticalScrollbarMouseDown(e){this._scrollbar.delegateVerticalScrollbarMouseDown(e)}restoreState(e){this._context.viewModel.viewLayout.setScrollPosition({scrollTop:e.scrollTop},1),this._context.viewModel.tokenizeViewport(),this._renderNow(),this._viewLines.updateLineWidths(),this._context.viewModel.viewLayout.setScrollPosition({scrollLeft:e.scrollLeft},1)}getOffsetForColumn(e,t){const n=this._context.viewModel.model.validatePosition({lineNumber:e,column:t}),i=this._context.viewModel.coordinatesConverter.convertModelPositionToViewPosition(n);this._flushAccumulatedAndRenderNow();const s=this._viewLines.visibleRangeForPosition(new Ii(i.lineNumber,i.column));return s?s.left:-1}getTargetAtClientPoint(e,t){const n=this._pointerHandler.getTargetAtClientPoint(e,t);return n?QP.convertViewToModelMouseTarget(n,this._context.viewModel.coordinatesConverter):null}createOverviewRuler(e){return new tIe(this._context,e)}change(e){this._viewZones.changeViewZones(e),this._scheduleRender()}render(e,t){if(t){this._viewLines.forceShouldRender();for(const n of this._viewParts)n.forceShouldRender()}e?this._flushAccumulatedAndRenderNow():this._scheduleRender()}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){let t=e.position&&e.position.range||null;if(t===null){const i=e.position?e.position.position:null;i!==null&&(t=new He(i.lineNumber,i.column,i.lineNumber,i.column))}const n=e.position?e.position.preference:null;this._contentWidgets.setWidgetPosition(e.widget,t,n),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()}}function fIe(o){try{return o()}catch(e){tl(e)}}class f7{constructor(e){this._selTrackedRange=null,this._trackSelection=!0,this._setState(e,new Nh(new He(1,1,1,1),0,new Ii(1,1),0),new Nh(new He(1,1,1,1),0,new Ii(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 Sl(this.modelState,this.viewState)}readSelectionFromMarkers(e){const t=e.model._getTrackedRange(this._selTrackedRange);return oo.fromRange(t,this.modelState.selection.getDirection())}ensureValidState(e){this._setState(e,this.modelState,this.viewState)}setState(e,t,n){this._setState(e,t,n)}static _validatePositionWithCache(e,t,n,i){return t.equals(n)?i:e.normalizePosition(t,2)}static _validateViewState(e,t){const n=t.position,i=t.selectionStart.getStartPosition(),s=t.selectionStart.getEndPosition(),a=e.normalizePosition(n,2),l=this._validatePositionWithCache(e,i,n,a),u=this._validatePositionWithCache(e,s,i,l);return n.equals(a)&&i.equals(l)&&s.equals(u)?t:new Nh(He.fromPositions(l,u),t.selectionStartLeftoverVisibleColumns+i.column-l.column,a,t.leftoverVisibleColumns+n.column-a.column)}_setState(e,t,n){if(n&&(n=f7._validateViewState(e.viewModel,n)),t){const i=e.model.validateRange(t.selectionStart),s=t.selectionStart.equalsRange(i)?t.selectionStartLeftoverVisibleColumns:0,a=e.model.validatePosition(t.position),l=t.position.equals(a)?t.leftoverVisibleColumns:0;t=new Nh(i,s,a,l)}else{if(!n)return;const i=e.model.validateRange(e.coordinatesConverter.convertViewRangeToModelRange(n.selectionStart)),s=e.model.validatePosition(e.coordinatesConverter.convertViewPositionToModelPosition(n.position));t=new Nh(i,n.selectionStartLeftoverVisibleColumns,s,n.leftoverVisibleColumns)}if(n){const i=e.coordinatesConverter.validateViewRange(n.selectionStart,t.selectionStart),s=e.coordinatesConverter.validateViewPosition(n.position,t.position);n=new Nh(i,t.selectionStartLeftoverVisibleColumns,s,t.leftoverVisibleColumns)}else{const i=e.coordinatesConverter.convertModelPositionToViewPosition(new Ii(t.selectionStart.startLineNumber,t.selectionStart.startColumn)),s=e.coordinatesConverter.convertModelPositionToViewPosition(new Ii(t.selectionStart.endLineNumber,t.selectionStart.endColumn)),a=new He(i.lineNumber,i.column,s.lineNumber,s.column),l=e.coordinatesConverter.convertModelPositionToViewPosition(t.position);n=new Nh(a,t.selectionStartLeftoverVisibleColumns,l,t.leftoverVisibleColumns)}this.modelState=t,this.viewState=n,this._updateTrackedRange(e)}}class tse{constructor(e){this.context=e,this.cursors=[new f7(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 PEe(this.cursors,J5(e=>e.viewState.position,Ii.compare)).viewState.position}getBottomMostViewPosition(){return FEe(this.cursors,J5(e=>e.viewState.position,Ii.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(Sl.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,n=e.length;if(t<n){const i=n-t;for(let s=0;s<i;s++)this._addSecondaryCursor()}else if(t>n){const i=t-n;for(let s=0;s<i;s++)this._removeSecondaryCursor(this.cursors.length-2)}for(let i=0;i<n;i++)this.cursors[i+1].setState(this.context,e[i].modelState,e[i].viewState)}killSecondaryCursors(){this._setSecondaryStates([])}_addSecondaryCursor(){this.cursors.push(new f7(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 n=0,i=e.length;n<i;n++)t.push({index:n,selection:e[n].modelState.selection});t.sort(J5(n=>n.selection,He.compareRangesUsingStarts));for(let n=0;n<t.length-1;n++){const i=t[n],s=t[n+1],a=i.selection,l=s.selection;if(!this.context.cursorConfig.multiCursorMergeOverlapping)continue;let u;if(l.isEmpty()||a.isEmpty()?u=l.getStartPosition().isBeforeOrEqual(a.getEndPosition()):u=l.getStartPosition().isBefore(a.getEndPosition()),u){const d=i.index<s.index?n:n+1,h=i.index<s.index?n+1:n,p=t[h].index,g=t[d].index,y=t[h].selection,D=t[d].selection;if(!y.equalsSelection(D)){const T=y.plusRange(D),k=y.selectionStartLineNumber===y.startLineNumber&&y.selectionStartColumn===y.startColumn,I=D.selectionStartLineNumber===D.startLineNumber&&D.selectionStartColumn===D.startColumn;let F;p===this.lastAddedCursorIndex?(F=k,this.lastAddedCursorIndex=g):F=I;let q;F?q=new oo(T.startLineNumber,T.startColumn,T.endLineNumber,T.endColumn):q=new oo(T.endLineNumber,T.endColumn,T.startLineNumber,T.startColumn),t[d].selection=q;const re=Sl.fromModelSelection(q);e[g].setState(this.context,re.modelState,re.viewState)}for(const T of t)T.index>p&&T.index--;e.splice(p,1),t.splice(h,1),this._removeSecondaryCursor(p-1),n--}}}}class nse{constructor(e,t,n,i){this._cursorContextBrand=void 0,this.model=e,this.viewModel=t,this.coordinatesConverter=n,this.cursorConfig=i}}class _Ie{constructor(){this.changeType=1}}class v0{constructor(e,t,n,i,s){this.ownerId=e,this.lineNumber=t,this.column=n,this.options=i,this.order=s}static applyInjectedText(e,t){if(!t||t.length===0)return e;let n=\"\",i=0;for(const s of t)n+=e.substring(i,s.column-1),i=s.column-1,n+=s.options.content;return n+=e.substring(i),n}static fromDecorations(e){const t=[];for(const n of e)n.options.before&&n.options.before.content.length>0&&t.push(new v0(n.ownerId,n.range.startLineNumber,n.range.startColumn,n.options.before,0)),n.options.after&&n.options.after.content.length>0&&t.push(new v0(n.ownerId,n.range.endLineNumber,n.range.endColumn,n.options.after,1));return t.sort((n,i)=>n.lineNumber===i.lineNumber?n.column===i.column?n.order-i.order:n.column-i.column:n.lineNumber-i.lineNumber),t}}class ise{constructor(e,t,n){this.changeType=2,this.lineNumber=e,this.detail=t,this.injectedText=n}}class gIe{constructor(e,t){this.changeType=3,this.fromLineNumber=e,this.toLineNumber=t}}class mIe{constructor(e,t,n,i){this.changeType=4,this.injectedTexts=i,this.fromLineNumber=e,this.toLineNumber=t,this.detail=n}}class yIe{constructor(){this.changeType=5}}class fD{constructor(e,t,n,i){this.changes=e,this.versionId=t,this.isUndoing=n,this.isRedoing=i,this.resultingSelection=null}containsEvent(e){for(let t=0,n=this.changes.length;t<n;t++)if(this.changes[t].changeType===e)return!0;return!1}static merge(e,t){const n=[].concat(e.changes).concat(t.changes),i=t.versionId,s=e.isUndoing||t.isUndoing,a=e.isRedoing||t.isRedoing;return new fD(n,i,s,a)}}class Gce{constructor(e){this.changes=e}}class _7{constructor(e,t){this.rawContentChangedEvent=e,this.contentChangedEvent=t}merge(e){const t=fD.merge(this.rawContentChangedEvent,e.rawContentChangedEvent),n=_7._mergeChangeEvents(this.contentChangedEvent,e.contentChangedEvent);return new _7(t,n)}static _mergeChangeEvents(e,t){const n=[].concat(e.changes).concat(t.changes),i=t.eol,s=t.versionId,a=e.isUndoing||t.isUndoing,l=e.isRedoing||t.isRedoing,u=e.isFlush||t.isFlush;return{changes:n,eol:i,versionId:s,isUndoing:a,isRedoing:l,isFlush:u}}}class bIe{constructor(){this.type=0}}class vIe{constructor(){this.type=1}}class CIe{constructor(e){this.type=2,this._source=e}hasChanged(e){return this._source.hasChanged(e)}}class DIe{constructor(e,t){this.type=3,this.selections=e,this.modelSelections=t}}class GS{constructor(e){this.type=4,e?(this.affectsMinimap=e.affectsMinimap,this.affectsOverviewRuler=e.affectsOverviewRuler):(this.affectsMinimap=!0,this.affectsOverviewRuler=!0)}}class YF{constructor(){this.type=5}}class wIe{constructor(e){this.type=6,this.isFocused=e}}class SIe{constructor(){this.type=7}}class XF{constructor(){this.type=8}}class Jce{constructor(e,t){this.type=9,this.fromLineNumber=e,this.toLineNumber=t}}class Fz{constructor(e,t){this.type=10,this.fromLineNumber=e,this.toLineNumber=t}}class Pz{constructor(e,t){this.type=11,this.fromLineNumber=e,this.toLineNumber=t}}class a8{constructor(e,t,n,i,s,a,l){this.source=e,this.minimalReveal=t,this.range=n,this.selections=i,this.verticalType=s,this.revealHorizontal=a,this.scrollType=l,this.type=12}}class xIe{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 EIe{constructor(e){this.theme=e,this.type=14}}class TIe{constructor(e){this.type=15,this.ranges=e}}class AIe{constructor(){this.type=16}}class kIe{constructor(){this.type=17}}class LIe extends fr{constructor(){super(),this._onEvent=this._register(new ri),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,n=this._outgoingEvents.length;t<n;t++)if(this._outgoingEvents[t].kind===e.kind){this._outgoingEvents[t]=this._outgoingEvents[t].merge(e);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,n=this._eventHandlers.length;t<n;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 NIe),this._collector}endEmitViewEvents(){if(this._collectorCnt--,this._collectorCnt===0){const e=this._collector.outgoingEvents,t=this._collector.viewEvents;this._collector=null;for(const n of e)this._addOutgoingEvent(n);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 n of t)n.handleEvents(e)}}}class NIe{constructor(){this.viewEvents=[],this.outgoingEvents=[]}emitViewEvent(e){this.viewEvents.push(e)}emitOutgoingEvent(e){this.outgoingEvents.push(e)}}class NG{constructor(e,t,n,i){this.kind=0,this._oldContentWidth=e,this._oldContentHeight=t,this.contentWidth=n,this.contentHeight=i,this.contentWidthChanged=this._oldContentWidth!==this.contentWidth,this.contentHeightChanged=this._oldContentHeight!==this.contentHeight}isNoOp(){return!this.contentWidthChanged&&!this.contentHeightChanged}merge(e){return e.kind!==0?this:new NG(this._oldContentWidth,this._oldContentHeight,e.contentWidth,e.contentHeight)}}class IG{constructor(e,t){this.kind=1,this.oldHasFocus=e,this.hasFocus=t}isNoOp(){return this.oldHasFocus===this.hasFocus}merge(e){return e.kind!==1?this:new IG(this.oldHasFocus,e.hasFocus)}}class FG{constructor(e,t,n,i,s,a,l,u){this.kind=2,this._oldScrollWidth=e,this._oldScrollLeft=t,this._oldScrollHeight=n,this._oldScrollTop=i,this.scrollWidth=s,this.scrollLeft=a,this.scrollHeight=l,this.scrollTop=u,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}merge(e){return e.kind!==2?this:new FG(this._oldScrollWidth,this._oldScrollLeft,this._oldScrollHeight,this._oldScrollTop,e.scrollWidth,e.scrollLeft,e.scrollHeight,e.scrollTop)}}class rse{constructor(){this.kind=3}isNoOp(){return!1}merge(e){return this}}class g7{constructor(e,t,n,i,s,a,l){this.kind=6,this.oldSelections=e,this.selections=t,this.oldModelVersionId=n,this.modelVersionId=i,this.source=s,this.reason=a,this.reachedMaxCursorCount=l}static _selectionsAreEqual(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;const n=e.length,i=t.length;if(n!==i)return!1;for(let s=0;s<n;s++)if(!e[s].equalsSelection(t[s]))return!1;return!0}isNoOp(){return g7._selectionsAreEqual(this.oldSelections,this.selections)&&this.oldModelVersionId===this.modelVersionId}merge(e){return e.kind!==6?this:new g7(this.oldSelections,e.selections,this.oldModelVersionId,e.modelVersionId,e.source,e.reason,this.reachedMaxCursorCount||e.reachedMaxCursorCount)}}class IIe{constructor(){this.kind=5}isNoOp(){return!1}merge(e){return this}}class hE extends fr{constructor(e,t,n,i){super(),this._model=e,this._knownModelVersionId=this._model.getVersionId(),this._viewModel=t,this._coordinatesConverter=n,this.context=new nse(this._model,this._viewModel,this._coordinatesConverter,i),this._cursors=new tse(this.context),this._hasFocus=!1,this._isHandling=!1,this._isDoingComposition=!1,this._selectionsWhenCompositionStarted=null,this._columnSelectData=null,this._autoClosedActions=[],this._prevEditOperationType=0}dispose(){this._cursors.dispose(),this._autoClosedActions=eu(this._autoClosedActions),super.dispose()}updateConfiguration(e){this.context=new nse(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 n=this._autoClosedActions[t];n.isValid(e)||(n.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,n,i){let s=!1;i!==null&&i.length>hE.MAX_CURSOR_COUNT&&(i=i.slice(0,hE.MAX_CURSOR_COUNT),s=!0);const a=_3.from(this._model,this);return this._cursors.setStates(i),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,t,n,a,s)}setCursorColumnSelectData(e){this._columnSelectData=e}revealPrimary(e,t,n,i,s,a){const l=this._cursors.getViewPositions();let u=null,d=null;l.length>1?d=this._cursors.getViewSelections():u=He.fromPositions(l[0],l[0]),e.emitViewEvent(new a8(t,n,u,d,i,s,a))}saveState(){const e=[],t=this._cursors.getSelections();for(let n=0,i=t.length;n<i;n++){const s=t[n];e.push({inSelectionMode:!s.isEmpty(),selectionStart:{lineNumber:s.selectionStartLineNumber,column:s.selectionStartColumn},position:{lineNumber:s.positionLineNumber,column:s.positionColumn}})}return e}restoreState(e,t){const n=[];for(let i=0,s=t.length;i<s;i++){const a=t[i];let l=1,u=1;a.position&&a.position.lineNumber&&(l=a.position.lineNumber),a.position&&a.position.column&&(u=a.position.column);let d=l,h=u;a.selectionStart&&a.selectionStart.lineNumber&&(d=a.selectionStart.lineNumber),a.selectionStart&&a.selectionStart.column&&(h=a.selectionStart.column),n.push({selectionStartLineNumber:d,selectionStartColumn:h,positionLineNumber:l,positionColumn:u})}this.setStates(e,\"restoreState\",0,Sl.fromModelSelections(n)),this.revealPrimary(e,\"restoreState\",!1,0,!0,1)}onModelContentChanged(e,t){if(t instanceof Gce){if(this._isHandling)return;this._isHandling=!0;try{this.setStates(e,\"modelChange\",0,this.getCursorStates())}finally{this._isHandling=!1}}else{if(this._knownModelVersionId=t.versionId,this._isHandling)return;const n=t.containsEvent(1);if(this._prevEditOperationType=0,n)this._cursors.dispose(),this._cursors=new tse(this.context),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,\"model\",1,null,!1);else if(this._hasFocus&&t.resultingSelection&&t.resultingSelection.length>0){const i=Sl.fromModelSelections(t.resultingSelection);this.setStates(e,\"modelChange\",t.isUndoing?5:t.isRedoing?6:2,i)&&this.revealPrimary(e,\"modelChange\",!1,0,!0,0)}else{const i=this._cursors.readSelectionFromMarkers();this.setStates(e,\"modelChange\",2,Sl.fromModelSelections(i))}}}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(),n=e.viewState.position;return{isReal:!1,fromViewLineNumber:t.lineNumber,fromViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,t),toViewLineNumber:n.lineNumber,toViewVisualColumn:this.context.cursorConfig.visibleColumnFromColumn(this._viewModel,n)}}getSelections(){return this._cursors.getSelections()}setSelections(e,t,n,i){this.setStates(e,t,i,Sl.fromModelSelections(n))}getPrevEditOperationType(){return this._prevEditOperationType}setPrevEditOperationType(e){this._prevEditOperationType=e}_pushAutoClosedAction(e,t){const n=[],i=[];for(let l=0,u=e.length;l<u;l++)n.push({range:e[l],options:{description:\"auto-closed-character\",inlineClassName:\"auto-closed-character\",stickiness:1}}),i.push({range:t[l],options:{description:\"auto-closed-enclosing\",stickiness:1}});const s=this._model.deltaDecorations([],n),a=this._model.deltaDecorations([],i);this._autoClosedActions.push(new sse(this._model,s,a))}_executeEditOperation(e){if(!e)return;e.shouldPushStackElementBefore&&this._model.pushStackElement();const t=FIe.executeCommands(this._model,this._cursors.getSelections(),e.commands);if(t){this._interpretCommandResult(t);const n=[],i=[];for(let s=0;s<e.commands.length;s++){const a=e.commands[s];a instanceof Wce&&a.enclosingRange&&a.closeCharacterRange&&(n.push(a.closeCharacterRange),i.push(a.enclosingRange))}n.length>0&&this._pushAutoClosedAction(n,i),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,n,i,s){const a=_3.from(this._model,this);if(a.equals(i))return!1;const l=this._cursors.getSelections(),u=this._cursors.getViewSelections();if(e.emitViewEvent(new DIe(u,l)),!i||i.cursorState.length!==a.cursorState.length||a.cursorState.some((d,h)=>!d.modelState.equals(i.cursorState[h].modelState))){const d=i?i.cursorState.map(p=>p.modelState.selection):null,h=i?i.modelVersionId:0;e.emitOutgoingEvent(new g7(d,l,h,a.modelVersionId,t||\"keyboard\",n,s))}return!0}_findAutoClosingPairs(e){if(!e.length)return null;const t=[];for(let n=0,i=e.length;n<i;n++){const s=e[n];if(!s.text||s.text.indexOf(`\n`)>=0)return null;const a=s.text.match(/([)\\]}>'\"`])([^)\\]}>'\"`]*)$/);if(!a)return null;const l=a[1],u=this.context.cursorConfig.autoClosingPairs.autoClosingPairsCloseSingleChar.get(l);if(!u||u.length!==1)return null;const d=u[0].open,h=s.text.length-a[2].length-1,p=s.text.lastIndexOf(d,h-1);if(p===-1)return null;t.push([p,h])}return t}executeEdits(e,t,n,i){let s=null;t===\"snippet\"&&(s=this._findAutoClosingPairs(n)),s&&(n[0]._isTracked=!0);const a=[],l=[],u=this._model.pushEditOperations(this.getSelections(),n,d=>{if(s)for(let p=0,g=s.length;p<g;p++){const[y,D]=s[p],T=d[p],k=T.range.startLineNumber,I=T.range.startColumn-1+y,F=T.range.startColumn-1+D;a.push(new He(k,F+1,k,F+2)),l.push(new He(k,I+1,k,F+2))}const h=i(d);return h&&(this._isHandling=!0),h});u&&(this._isHandling=!1,this.setSelections(e,t,u,0)),a.length>0&&this._pushAutoClosedAction(a,l)}_executeEdit(e,t,n,i=0){if(this.context.cursorConfig.readOnly)return;const s=_3.from(this._model,this);this._cursors.stopTrackingSelections(),this._isHandling=!0;try{this._cursors.ensureValidState(),e()}catch(a){tl(a)}this._isHandling=!1,this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(t,n,i,s,!1)&&this.revealPrimary(t,n,!1,0,!0,0)}setIsDoingComposition(e){this._isDoingComposition=e}getAutoClosedCharacters(){return sse.getAllAutoClosedCharacters(this._autoClosedActions)}startComposition(e){this._selectionsWhenCompositionStarted=this.getSelections().slice(0)}endComposition(e,t){this._executeEdit(()=>{t===\"keyboard\"&&(this._executeEditOperation(Lc.compositionEndWithInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,this._selectionsWhenCompositionStarted,this.getSelections(),this.getAutoClosedCharacters())),this._selectionsWhenCompositionStarted=null)},e,t)}type(e,t,n){this._executeEdit(()=>{if(n===\"keyboard\"){const i=t.length;let s=0;for(;s<i;){const a=Rq(t,s),l=t.substr(s,a);this._executeEditOperation(Lc.typeWithInterceptors(this._isDoingComposition,this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),this.getAutoClosedCharacters(),l)),s+=a}}else this._executeEditOperation(Lc.typeWithoutInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),t))},e,n)}compositionType(e,t,n,i,s,a){if(t.length===0&&n===0&&i===0){if(s!==0){const l=this.getSelections().map(u=>{const d=u.getPosition();return new oo(d.lineNumber,d.column+s,d.lineNumber,d.column+s)});this.setSelections(e,a,l,0)}return}this._executeEdit(()=>{this._executeEditOperation(Lc.compositionType(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),t,n,i,s))},e,a)}paste(e,t,n,i,s){this._executeEdit(()=>{this._executeEditOperation(Lc.paste(this.context.cursorConfig,this._model,this.getSelections(),t,n,i||[]))},e,s,4)}cut(e,t){this._executeEdit(()=>{this._executeEditOperation(FD.cut(this.context.cursorConfig,this._model,this.getSelections()))},e,t)}executeCommand(e,t,n){this._executeEdit(()=>{this._cursors.killSecondaryCursors(),this._executeEditOperation(new n_(0,[t],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},e,n)}executeCommands(e,t,n){this._executeEdit(()=>{this._executeEditOperation(new n_(0,t,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},e,n)}}hE.MAX_CURSOR_COUNT=1e4;class _3{constructor(e,t){this.modelVersionId=e,this.cursorState=t}static from(e,t){return new _3(e.getVersionId(),t.getCursorStates())}equals(e){if(!e||this.modelVersionId!==e.modelVersionId||this.cursorState.length!==e.cursorState.length)return!1;for(let t=0,n=this.cursorState.length;t<n;t++)if(!this.cursorState[t].equals(e.cursorState[t]))return!1;return!0}}class sse{constructor(e,t,n){this._model=e,this._autoClosedCharactersDecorations=t,this._autoClosedEnclosingDecorations=n}static getAllAutoClosedCharacters(e){let t=[];for(const n of e)t=t.concat(n.getAutoClosedCharactersRanges());return t}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 n=this._model.getDecorationRange(this._autoClosedCharactersDecorations[t]);n&&e.push(n)}return e}isValid(e){const t=[];for(let n=0;n<this._autoClosedEnclosingDecorations.length;n++){const i=this._model.getDecorationRange(this._autoClosedEnclosingDecorations[n]);if(i&&(t.push(i),i.startLineNumber!==i.endLineNumber))return!1}t.sort(He.compareRangesUsingStarts),e.sort(He.compareRangesUsingStarts);for(let n=0;n<e.length;n++)if(n>=t.length||!t[n].strictContainsRange(e[n]))return!1;return!0}}class FIe{static executeCommands(e,t,n){const i={model:e,selectionsBefore:t,trackedRanges:[],trackedRangesDirection:[]},s=this._innerExecuteCommands(i,n);for(let a=0,l=i.trackedRanges.length;a<l;a++)i.model._setTrackedRange(i.trackedRanges[a],null,0);return s}static _innerExecuteCommands(e,t){if(this._arrayIsEmpty(t))return null;const n=this._getEditOperations(e,t);if(n.operations.length===0)return null;const i=n.operations,s=this._getLoserCursorMap(i);if(s.hasOwnProperty(\"0\"))return console.warn(\"Ignoring commands\"),null;const a=[];for(let d=0,h=i.length;d<h;d++)s.hasOwnProperty(i[d].identifier.major.toString())||a.push(i[d]);n.hadTrackedEditOperation&&a.length>0&&(a[0]._isTracked=!0);let l=e.model.pushEditOperations(e.selectionsBefore,a,d=>{const h=[];for(let y=0;y<e.selectionsBefore.length;y++)h[y]=[];for(const y of d)!y.identifier||h[y.identifier.major].push(y);const p=(y,D)=>y.identifier.minor-D.identifier.minor,g=[];for(let y=0;y<e.selectionsBefore.length;y++)h[y].length>0?(h[y].sort(p),g[y]=t[y].computeCursorState(e.model,{getInverseEditOperations:()=>h[y],getTrackedSelection:D=>{const T=parseInt(D,10),k=e.model._getTrackedRange(e.trackedRanges[T]);return e.trackedRangesDirection[T]===0?new oo(k.startLineNumber,k.startColumn,k.endLineNumber,k.endColumn):new oo(k.endLineNumber,k.endColumn,k.startLineNumber,k.startColumn)}})):g[y]=e.selectionsBefore[y];return g});l||(l=e.selectionsBefore);const u=[];for(let d in s)s.hasOwnProperty(d)&&u.push(parseInt(d,10));u.sort((d,h)=>h-d);for(const d of u)l.splice(d,1);return l}static _arrayIsEmpty(e){for(let t=0,n=e.length;t<n;t++)if(e[t])return!1;return!0}static _getEditOperations(e,t){let n=[],i=!1;for(let s=0,a=t.length;s<a;s++){const l=t[s];if(l){const u=this._getEditOperationsFromCommand(e,s,l);n=n.concat(u.operations),i=i||u.hadTrackedEditOperation}}return{operations:n,hadTrackedEditOperation:i}}static _getEditOperationsFromCommand(e,t,n){const i=[];let s=0;const a=(p,g,y=!1)=>{He.isEmpty(p)&&g===\"\"||i.push({identifier:{major:t,minor:s++},range:p,text:g,forceMoveMarkers:y,isAutoWhitespaceEdit:n.insertsAutoWhitespace})};let l=!1;const h={addEditOperation:a,addTrackedEditOperation:(p,g,y)=>{l=!0,a(p,g,y)},trackSelection:(p,g)=>{const y=oo.liftSelection(p);let D;if(y.isEmpty())if(typeof g==\"boolean\")g?D=2:D=3;else{const I=e.model.getLineMaxColumn(y.startLineNumber);y.startColumn===I?D=2:D=3}else D=1;const T=e.trackedRanges.length,k=e.model._setTrackedRange(null,y,D);return e.trackedRanges[T]=k,e.trackedRangesDirection[T]=y.getDirection(),T.toString()}};try{n.getEditOperations(e.model,h)}catch(p){return tl(p),{operations:[],hadTrackedEditOperation:!1}}return{operations:i,hadTrackedEditOperation:l}}static _getLoserCursorMap(e){e=e.slice(0),e.sort((n,i)=>-He.compareRangesUsingEnds(n.range,i.range));const t={};for(let n=1;n<e.length;n++){const i=e[n-1],s=e[n];if(He.getStartPosition(i.range).isBefore(He.getEndPosition(s.range))){let a;i.identifier.major>s.identifier.major?a=i.identifier.major:a=s.identifier.major,t[a.toString()]=!0;for(let l=0;l<e.length;l++)e[l].identifier.major===a&&(e.splice(l,1),l<n&&n--,l--);n>0&&n--}}return t}}class Yce{constructor(e,t,n,i,s,a){this.id=e,this.label=t,this.alias=n,this._precondition=i,this._run=s,this._contextKeyService=a}isSupported(){return this._contextKeyService.contextMatchesRules(this._precondition)}run(){return this.isSupported()?this._run():Promise.resolve(void 0)}}const pw={Configuration:\"base.contributions.configuration\"},Sk=\"vscode://schemas/settings/resourceLanguage\",ose=wd.as(VP.JSONContribution);class PIe{constructor(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new ri,this._onDidUpdateConfiguration=new ri,this.configurationDefaultsOverrides=new Map,this.defaultLanguageConfigurationOverridesNode={id:\"defaultOverrides\",title:w(\"defaultLanguageConfigurationOverrides.title\",\"Default Language Configuration Overrides\"),properties:{}},this.configurationContributors=[this.defaultLanguageConfigurationOverridesNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!1,errorMessage:\"Unknown editor configuration setting\",allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.excludedConfigurationProperties={},ose.registerSchema(Sk,this.resourceLanguageSettingsSchema),this.registerOverridePropertyPatternKey()}registerConfiguration(e,t=!0){this.registerConfigurations([e],t)}registerConfigurations(e,t=!0){const n=this.doRegisterConfigurations(e,t);ose.registerSchema(Sk,this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:n})}registerDefaultConfigurations(e){var t;const n=[],i=[];for(const{overrides:s,source:a}of e)for(const l in s)if(n.push(l),rL.test(l)){const u=Object.assign(Object.assign({},((t=this.configurationDefaultsOverrides.get(l))===null||t===void 0?void 0:t.value)||{}),s[l]);this.configurationDefaultsOverrides.set(l,{source:a,value:u});const d={type:\"object\",default:u,description:w(\"defaultLanguageConfiguration.description\",\"Configure settings to be overridden for {0} language.\",l),$ref:Sk,defaultDefaultValue:u,source:Lg(a)?void 0:a};i.push(...Qce(l)),this.configurationProperties[l]=d,this.defaultLanguageConfigurationOverridesNode.properties[l]=d}else{this.configurationDefaultsOverrides.set(l,{value:s[l],source:a});const u=this.configurationProperties[l];u&&(this.updatePropertyDefaultValue(l,u),this.updateSchema(l,u))}this.registerOverrideIdentifiers(i),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:n,defaultsOverrides:!0})}registerOverrideIdentifiers(e){for(const t of e)this.overrideIdentifiers.add(t);this.updateOverridePropertyPatternKey()}doRegisterConfigurations(e,t){const n=[];return e.forEach(i=>{n.push(...this.validateAndRegisterProperties(i,t,i.extensionInfo,i.restrictedProperties)),this.configurationContributors.push(i),this.registerJSONConfiguration(i)}),n}validateAndRegisterProperties(e,t=!0,n,i,s=3){s=B_(e.scope)?s:e.scope;let a=[],l=e.properties;if(l)for(let d in l){if(t&&RIe(d)){delete l[d];continue}const h=l[d];if(h.source=n,h.defaultDefaultValue=l[d].default,this.updatePropertyDefaultValue(d,h),rL.test(d)?h.scope=void 0:(h.scope=B_(h.scope)?s:h.scope,h.restricted=B_(h.restricted)?!!(i!=null&&i.includes(d)):h.restricted),l[d].hasOwnProperty(\"included\")&&!l[d].included){this.excludedConfigurationProperties[d]=l[d],delete l[d];continue}else this.configurationProperties[d]=l[d];!l[d].deprecationMessage&&l[d].markdownDeprecationMessage&&(l[d].deprecationMessage=l[d].markdownDeprecationMessage),a.push(d)}let u=e.allOf;if(u)for(let d of u)a.push(...this.validateAndRegisterProperties(d,t,n,i,s));return a}getConfigurationProperties(){return this.configurationProperties}registerJSONConfiguration(e){const t=n=>{let i=n.properties;if(i)for(const a in i)this.updateSchema(a,i[a]);let s=n.allOf;s&&s.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}]`,n={type:\"object\",description:w(\"overrideSettings.defaultDescription\",\"Configure editor settings to be overridden for a language.\"),errorMessage:w(\"overrideSettings.errorMessage\",\"This setting does not support per-language configuration.\"),$ref:Sk};this.updatePropertyDefaultValue(t,n)}this._onDidSchemaChange.fire()}registerOverridePropertyPatternKey(){w(\"overrideSettings.defaultDescription\",\"Configure editor settings to be overridden for a language.\"),w(\"overrideSettings.errorMessage\",\"This setting does not support per-language configuration.\"),this._onDidSchemaChange.fire()}updatePropertyDefaultValue(e,t){const n=this.configurationDefaultsOverrides.get(e);let i=n==null?void 0:n.value,s=n==null?void 0:n.source;l_(i)&&(i=t.defaultDefaultValue,s=void 0),l_(i)&&(i=MIe(t.type)),t.default=i,t.defaultValueSource=s}}const Xce=\"\\\\[([^\\\\]]+)\\\\]\",ase=new RegExp(Xce,\"g\"),OIe=`^(${Xce})+$`,rL=new RegExp(OIe);function Qce(o){const e=[];if(rL.test(o)){let t=ase.exec(o);for(;t!=null&&t.length;){const n=t[1].trim();n&&e.push(n),t=ase.exec(o)}}return Xv(e)}function MIe(o){switch(Array.isArray(o)?o[0]:o){case\"boolean\":return!1;case\"integer\":case\"number\":return 0;case\"string\":return\"\";case\"array\":return[];case\"object\":return{};default:return null}}const Zce=new PIe;wd.add(pw.Configuration,Zce);function RIe(o){return o.trim()?rL.test(o)?w(\"config.property.languageDefault\",\"Cannot register '{0}'. This matches property pattern '\\\\\\\\[.*\\\\\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.\",o):Zce.getConfigurationProperties()[o]!==void 0?w(\"config.property.duplicate\",\"Cannot register '{0}'. This property is already registered.\",o):null:w(\"config.property.empty\",\"Cannot register an empty property\")}const BIe={ModesRegistry:\"editor.modesRegistry\"};class jIe{constructor(){this._onDidChangeLanguages=new ri,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[]}registerLanguage(e){return this._languages.push(e),this._onDidChangeLanguages.fire(void 0),{dispose:()=>{for(let t=0,n=this._languages.length;t<n;t++)if(this._languages[t]===e){this._languages.splice(t,1);return}}}}getLanguages(){return this._languages}}const pE=new jIe;wd.add(BIe.ModesRegistry,pE);const ay=\"plaintext\",WIe=\".txt\";pE.registerLanguage({id:ay,extensions:[WIe],aliases:[w(\"plainText.alias\",\"Plain Text\"),\"text\"],mimetypes:[u0.text]});Nd.register(ay,{brackets:[[\"(\",\")\"],[\"[\",\"]\"],[\"{\",\"}\"]],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"<\",close:\">\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"},{open:\"`\",close:\"`\"}],colorizedBracketPairs:[],folding:{offSide:!0}},0);wd.as(pw.Configuration).registerDefaultConfigurations([{overrides:{\"[plaintext]\":{\"editor.unicodeHighlight.ambiguousCharacters\":!1,\"editor.unicodeHighlight.invisibleCharacters\":!1}}}]);var VIe=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};const lse={getInitialState:()=>iE,tokenizeEncoded:(o,e,t)=>Kq(0,t)};function HIe(o,e,t){return VIe(this,void 0,void 0,function*(){if(!t)return use(e,o.languageIdCodec,lse);const n=yield Ic.getOrCreate(t);return use(e,o.languageIdCodec,n||lse)})}function $Ie(o,e,t,n,i,s,a){let l=\"<div>\",u=n,d=0,h=!0;for(let p=0,g=e.getCount();p<g;p++){const y=e.getEndOffset(p);if(y<=n)continue;let D=\"\";for(;u<y&&u<i;u++){const T=o.charCodeAt(u);switch(T){case 9:{let k=s-(u+d)%s;for(d+=k-1;k>0;)a&&h?(D+=\"&#160;\",h=!1):(D+=\" \",h=!0),k--;break}case 60:D+=\"&lt;\",h=!1;break;case 62:D+=\"&gt;\",h=!1;break;case 38:D+=\"&amp;\",h=!1;break;case 0:D+=\"&#00;\",h=!1;break;case 65279:case 8232:case 8233:case 133:D+=\"\\uFFFD\",h=!1;break;case 13:D+=\"&#8203\",h=!1;break;case 32:a&&h?(D+=\"&#160;\",h=!1):(D+=\" \",h=!0);break;default:D+=String.fromCharCode(T),h=!1}}if(l+=`<span style=\"${e.getInlineStyle(p,t)}\">${D}</span>`,y>i||u>=i)break}return l+=\"</div>\",l}function use(o,e,t){let n='<div class=\"monaco-tokenized-source\">';const i=G1(o);let s=t.getInitialState();for(let a=0,l=i.length;a<l;a++){const u=i[a];a>0&&(n+=\"<br/>\");const d=t.tokenizeEncoded(u,!0,s);th.convertToEndOffset(d.tokens,u.length);const p=new th(d.tokens,u,e).inflate();let g=0;for(let y=0,D=p.getCount();y<D;y++){const T=p.getClassName(y),k=p.getEndOffset(y);n+=`<span class=\"${T}\">${Nq(u.substring(g,k))}</span>`,g=k}s=d.endState}return n+=\"</div>\",n}class zIe{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,n=this._changes,i=this._removes;this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[],e._commitPendingChanges(t,n,i)}}class UIe{constructor(e,t,n,i,s){this.id=e,this.afterLineNumber=t,this.ordinal=n,this.height=i,this.minWidth=s,this.prefixSum=0}}class sL{constructor(e,t,n,i){this._instanceId=sue(++sL.INSTANCE_COUNT),this._pendingChanges=new zIe,this._lastWhitespaceId=0,this._arr=[],this._prefixSumValidIndex=-1,this._minWidth=-1,this._lineCount=e,this._lineHeight=t,this._paddingTop=n,this._paddingBottom=i}static findInsertionIndex(e,t,n){let i=0,s=e.length;for(;i<s;){const a=i+s>>>1;t===e[a].afterLineNumber?n<e[a].ordinal?s=a:i=a+1:t<e[a].afterLineNumber?s=a:i=a+1}return i}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:(i,s,a,l)=>{t=!0,i=i|0,s=s|0,a=a|0,l=l|0;const u=this._instanceId+ ++this._lastWhitespaceId;return this._pendingChanges.insert(new UIe(u,i,s,a,l)),u},changeOneWhitespace:(i,s,a)=>{t=!0,s=s|0,a=a|0,this._pendingChanges.change({id:i,newAfterLineNumber:s,newHeight:a})},removeWhitespace:i=>{t=!0,this._pendingChanges.remove({id:i})}})}finally{this._pendingChanges.commit(this)}return t}_commitPendingChanges(e,t,n){if((e.length>0||n.length>0)&&(this._minWidth=-1),e.length+t.length+n.length<=1){for(const u of e)this._insertWhitespace(u);for(const u of t)this._changeOneWhitespace(u.id,u.newAfterLineNumber,u.newHeight);for(const u of n){const d=this._findWhitespaceIndex(u.id);d!==-1&&this._removeWhitespace(d)}return}const i=new Set;for(const u of n)i.add(u.id);const s=new Map;for(const u of t)s.set(u.id,u);const a=u=>{const d=[];for(const h of u)if(!i.has(h.id)){if(s.has(h.id)){const p=s.get(h.id);h.afterLineNumber=p.newAfterLineNumber,h.height=p.newHeight}d.push(h)}return d},l=a(this._arr).concat(a(e));l.sort((u,d)=>u.afterLineNumber===d.afterLineNumber?u.ordinal-d.ordinal:u.afterLineNumber-d.afterLineNumber),this._arr=l,this._prefixSumValidIndex=-1}_checkPendingChanges(){this._pendingChanges.mustCommit()&&this._pendingChanges.commit(this)}_insertWhitespace(e){const t=sL.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 n=0,i=t.length;n<i;n++)if(t[n].id===e)return n;return-1}_changeOneWhitespace(e,t,n){const i=this._findWhitespaceIndex(e);if(i!==-1&&(this._arr[i].height!==n&&(this._arr[i].height=n,this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,i-1)),this._arr[i].afterLineNumber!==t)){const s=this._arr[i];this._removeWhitespace(i),s.afterLineNumber=t,this._insertWhitespace(s)}}_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 n=0,i=this._arr.length;n<i;n++){const s=this._arr[n].afterLineNumber;e<=s&&s<=t?this._arr[n].afterLineNumber=e-1:s>t&&(this._arr[n].afterLineNumber-=t-e+1)}}onLinesInserted(e,t){this._checkPendingChanges(),e=e|0,t=t|0,this._lineCount+=t-e+1;for(let n=0,i=this._arr.length;n<i;n++){const s=this._arr[n].afterLineNumber;e<=s&&(this._arr[n].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 n=t;n<=e;n++)this._arr[n].prefixSum=this._arr[n-1].prefixSum+this._arr[n].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 n=0,i=t.length-1;for(;n<=i;){const a=(i-n|0)/2|0,l=n+a|0;if(t[l].afterLineNumber<e){if(l+1>=t.length||t[l+1].afterLineNumber>=e)return l;n=l+1|0}else i=l-1|0}return-1}_findFirstWhitespaceAfterLineNumber(e){e=e|0;const n=this._findLastWhitespaceBeforeLineNumber(e)+1;return n<this._arr.length?n:-1}getFirstWhitespaceIndexAfterLineNumber(e){return this._checkPendingChanges(),e=e|0,this._findFirstWhitespaceAfterLineNumber(e)}getVerticalOffsetForLineNumber(e){this._checkPendingChanges(),e=e|0;let t;e>1?t=this._lineHeight*(e-1):t=0;const n=this.getWhitespaceAccumulatedHeightBeforeLineNumber(e);return t+n+this._paddingTop}getWhitespaceMinWidth(){if(this._checkPendingChanges(),this._minWidth===-1){let e=0;for(let t=0,n=this._arr.length;t<n;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,n=this._lineHeight;let i=1,s=t;for(;i<s;){const a=(i+s)/2|0,l=this.getVerticalOffsetForLineNumber(a)|0;if(e>=l+n)i=a+1;else{if(e>=l)return a;s=a}}return i>t?t:i}getLinesViewportData(e,t){this._checkPendingChanges(),e=e|0,t=t|0;const n=this._lineHeight,i=this.getLineNumberAtOrAfterVerticalOffset(e)|0,s=this.getVerticalOffsetForLineNumber(i)|0;let a=this._lineCount|0,l=this.getFirstWhitespaceIndexAfterLineNumber(i)|0;const u=this.getWhitespacesCount()|0;let d,h;l===-1?(l=u,h=a+1,d=0):(h=this.getAfterLineNumberForWhitespaceIndex(l)|0,d=this.getHeightForWhitespaceIndex(l)|0);let p=s,g=p;const y=5e5;let D=0;s>=y&&(D=Math.floor(s/y)*y,D=Math.floor(D/n)*n,g-=D);const T=[],k=e+(t-e)/2;let I=-1;for(let Ie=i;Ie<=a;Ie++){if(I===-1){const mt=p,Le=p+n;(mt<=k&&k<Le||mt>k)&&(I=Ie)}for(p+=n,T[Ie-i]=g,g+=n;h===Ie;)g+=d,p+=d,l++,l>=u?h=a+1:(h=this.getAfterLineNumberForWhitespaceIndex(l)|0,d=this.getHeightForWhitespaceIndex(l)|0);if(p>=t){a=Ie;break}}I===-1&&(I=a);const F=this.getVerticalOffsetForLineNumber(a)|0;let q=i,re=a;return q<re&&s<e&&q++,q<re&&F+n>t&&re--,{bigNumbersDelta:D,startLineNumber:i,endLineNumber:a,relativeVerticalOffset:T,centeredLineNumber:I,completelyVisibleStartLineNumber:q,completelyVisibleEndLineNumber:re}}getVerticalOffsetForWhitespaceIndex(e){this._checkPendingChanges(),e=e|0;const t=this.getAfterLineNumberForWhitespaceIndex(e);let n;t>=1?n=this._lineHeight*t:n=0;let i;return e>0?i=this.getWhitespacesAccumulatedHeight(e-1):i=0,n+i+this._paddingTop}getWhitespaceIndexAtOrAfterVerticallOffset(e){this._checkPendingChanges(),e=e|0;let t=0,n=this.getWhitespacesCount()-1;if(n<0)return-1;const i=this.getVerticalOffsetForWhitespaceIndex(n),s=this.getHeightForWhitespaceIndex(n);if(e>=i+s)return-1;for(;t<n;){const a=Math.floor((t+n)/2),l=this.getVerticalOffsetForWhitespaceIndex(a),u=this.getHeightForWhitespaceIndex(a);if(e>=l+u)t=a+1;else{if(e>=l)return a;n=a}}return t}getWhitespaceAtVerticalOffset(e){this._checkPendingChanges(),e=e|0;const t=this.getWhitespaceIndexAtOrAfterVerticallOffset(e);if(t<0||t>=this.getWhitespacesCount())return null;const n=this.getVerticalOffsetForWhitespaceIndex(t);if(n>e)return null;const i=this.getHeightForWhitespaceIndex(t),s=this.getIdForWhitespaceIndex(t),a=this.getAfterLineNumberForWhitespaceIndex(t);return{id:s,afterLineNumber:a,verticalOffset:n,height:i}}getWhitespaceViewportData(e,t){this._checkPendingChanges(),e=e|0,t=t|0;const n=this.getWhitespaceIndexAtOrAfterVerticallOffset(e),i=this.getWhitespacesCount()-1;if(n<0)return[];const s=[];for(let a=n;a<=i;a++){const l=this.getVerticalOffsetForWhitespaceIndex(a),u=this.getHeightForWhitespaceIndex(a);if(l>=t)break;s.push({id:this.getIdForWhitespaceIndex(a),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(a),verticalOffset:l,height:u})}return s}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}}sL.INSTANCE_COUNT=0;const KIe=125;class zk{constructor(e,t,n,i){e=e|0,t=t|0,n=n|0,i=i|0,e<0&&(e=0),t<0&&(t=0),n<0&&(n=0),i<0&&(i=0),this.width=e,this.contentWidth=t,this.scrollWidth=Math.max(e,t),this.height=n,this.contentHeight=i,this.scrollHeight=Math.max(n,i)}equals(e){return this.width===e.width&&this.contentWidth===e.contentWidth&&this.height===e.height&&this.contentHeight===e.contentHeight}}class qIe extends fr{constructor(e,t){super(),this._onDidContentSizeChange=this._register(new ri),this.onDidContentSizeChange=this._onDidContentSizeChange.event,this._dimensions=new zk(0,0,0,0),this._scrollable=this._register(new o4({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 n=t.contentWidth!==e.contentWidth,i=t.contentHeight!==e.contentHeight;(n||i)&&this._onDidContentSizeChange.fire(new NG(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)}}class GIe extends fr{constructor(e,t,n){super(),this._configuration=e;const i=this._configuration.options,s=i.get(131),a=i.get(75);this._linesLayout=new sL(t,i.get(59),a.top,a.bottom),this._scrollable=this._register(new qIe(0,n)),this._configureSmoothScrollDuration(),this._scrollable.setScrollDimensions(new zk(s.contentWidth,0,s.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(103)?KIe:0)}onConfigurationChanged(e){const t=this._configuration.options;if(e.hasChanged(59)&&this._linesLayout.setLineHeight(t.get(59)),e.hasChanged(75)){const n=t.get(75);this._linesLayout.setPadding(n.top,n.bottom)}if(e.hasChanged(131)){const n=t.get(131),i=n.contentWidth,s=n.height,a=this._scrollable.getScrollDimensions(),l=a.contentWidth;this._scrollable.setScrollDimensions(new zk(i,a.contentWidth,s,this._getContentHeight(i,s,l)))}else this._updateHeight();e.hasChanged(103)&&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 i=this._configuration.options.get(92);return i.horizontal===2||e>=t?0:i.horizontalScrollbarSize}_getContentHeight(e,t,n){const i=this._configuration.options;let s=this._linesLayout.getLinesTotalHeight();return i.get(94)?s+=Math.max(0,t-i.get(59)-i.get(75).bottom):s+=this._getHorizontalScrollbarHeight(e,n),s}_updateHeight(){const e=this._scrollable.getScrollDimensions(),t=e.width,n=e.height,i=e.contentWidth;this._scrollable.setScrollDimensions(new zk(t,e.contentWidth,n,this._getContentHeight(t,n,i)))}getCurrentViewport(){const e=this._scrollable.getScrollDimensions(),t=this._scrollable.getCurrentScrollPosition();return new gre(t.scrollTop,t.scrollLeft,e.width,e.height)}getFutureViewport(){const e=this._scrollable.getScrollDimensions(),t=this._scrollable.getFutureScrollPosition();return new gre(t.scrollTop,t.scrollLeft,e.width,e.height)}_computeContentWidth(e){const t=this._configuration.options,n=t.get(132),i=t.get(44);if(n.isViewportWrapping){const s=t.get(131),a=t.get(65);return e>s.contentWidth+i.typicalHalfwidthCharacterWidth&&a.enabled&&a.side===\"right\"?e+s.verticalScrollbarWidth:e}else{const s=t.get(93)*i.typicalHalfwidthCharacterWidth,a=this._linesLayout.getWhitespaceMinWidth();return Math.max(e+s,a)}}setMaxLineWidth(e){const t=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new zk(t.width,this._computeContentWidth(e),t.height,t.contentHeight)),this._updateHeight()}saveState(){const e=this._scrollable.getFutureScrollPosition(),t=e.scrollTop,n=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t),i=this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(n);return{scrollTop:t,scrollTopWithoutViewZones:t-i,scrollLeft:e.scrollLeft}}changeWhitespace(e){const t=this._linesLayout.changeWhitespace(e);return t&&this.onHeightMaybeChanged(),t}getVerticalOffsetForLineNumber(e){return this._linesLayout.getVerticalOffsetForLineNumber(e)}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)}deltaScrollNow(e,t){const n=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:n.scrollLeft+e,scrollTop:n.scrollTop+t})}}class JIe{constructor(e,t,n,i,s){this.editorId=e,this.model=t,this.configuration=n,this._linesCollection=i,this._coordinatesConverter=s,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 n=this._decorationsCache[t];if(!n){const i=e.range,s=e.options;let a;if(s.isWholeLine){const l=this._coordinatesConverter.convertModelPositionToViewPosition(new Ii(i.startLineNumber,1),0),u=this._coordinatesConverter.convertModelPositionToViewPosition(new Ii(i.endLineNumber,this.model.getLineMaxColumn(i.endLineNumber)),1);a=new He(l.lineNumber,l.column,u.lineNumber,u.column)}else a=this._coordinatesConverter.convertModelRangeToViewRange(i,1);n=new Nue(a,s),this._decorationsCache[t]=n}return n}getDecorationsViewportData(e){let t=this._cachedModelDecorationsResolver!==null;return t=t&&e.equalsRange(this._cachedModelDecorationsResolverViewRange),t||(this._cachedModelDecorationsResolver=this._getDecorationsViewportData(e),this._cachedModelDecorationsResolverViewRange=e),this._cachedModelDecorationsResolver}_getDecorationsViewportData(e){const t=this._linesCollection.getDecorationsInRange(e,this.editorId,P8(this.configuration.options)),n=e.startLineNumber,i=e.endLineNumber,s=[];let a=0;const l=[];for(let u=n;u<=i;u++)l[u-n]=[];for(let u=0,d=t.length;u<d;u++){const h=t[u],p=h.options;if(!PG(this.model,h))continue;const g=this._getOrCreateViewModelDecoration(h),y=g.range;if(s[a++]=g,p.inlineClassName){const D=new r3(y,p.inlineClassName,p.inlineClassNameAffectsLetterSpacing?3:0),T=Math.max(n,y.startLineNumber),k=Math.min(i,y.endLineNumber);for(let I=T;I<=k;I++)l[I-n].push(D)}if(p.beforeContentClassName&&n<=y.startLineNumber&&y.startLineNumber<=i){const D=new r3(new He(y.startLineNumber,y.startColumn,y.startLineNumber,y.startColumn),p.beforeContentClassName,1);l[y.startLineNumber-n].push(D)}if(p.afterContentClassName&&n<=y.endLineNumber&&y.endLineNumber<=i){const D=new r3(new He(y.endLineNumber,y.endColumn,y.endLineNumber,y.endColumn),p.afterContentClassName,2);l[y.endLineNumber-n].push(D)}}return{decorations:s,inlineDecorations:l}}}function PG(o,e){return!(e.options.hideInCommentTokens&&OG(o,e)||e.options.hideInStringTokens&&MG(o,e))}function OG(o,e){return ede(o,e.range,t=>t===1)}function MG(o,e){return ede(o,e.range,t=>t===2)}function ede(o,e,t){for(let n=e.startLineNumber;n<=e.endLineNumber;n++){const i=o.getLineTokens(n),s=n===e.startLineNumber,a=n===e.endLineNumber;let l=s?i.findTokenIndexAtOffset(e.startColumn-1):0;for(;l<i.getCount()&&!(a&&i.getStartOffset(l)>e.endColumn-1);){if(!t(i.getStandardTokenType(l)))return!1;l++}}return!0}class QF{constructor(e,t,n){this.range=e,this.nestingLevel=t,this.isInvalid=n}}class YIe{constructor(e,t,n,i){this.range=e,this.openingBracketRange=t,this.closingBracketRange=n,this.nestingLevel=i}}class XIe extends YIe{constructor(e,t,n,i,s){super(e,t,n,i),this.minVisibleColumnIndentation=s}}class Oz{constructor(e,t){this.lineCount=e,this.columnCount=t}toString(){return`${this.lineCount},${this.columnCount}`}}Oz.zero=new Oz(0,0);function QIe(o,e,t,n){return o!==t?ud(t-o,n):ud(0,n-e)}const X1=0;function ZIe(o){return o===0}const U_=Math.pow(2,26);function ud(o,e){return o*U_+e}function qv(o){const e=o,t=Math.floor(e/U_),n=e-t*U_;return new Oz(t,n)}function eFe(o){return Math.floor(o/U_)}function Fd(o,e){return e<U_?o+e:o-o%U_+e}function tFe(o,e){const t=o,n=e;if(n-t<=0)return X1;const s=Math.floor(t/U_),a=Math.floor(n/U_),l=n-a*U_;if(s===a){const u=t-s*U_;return ud(0,l-u)}else return ud(a-s,l)}function l8(o,e){return o<e}function eD(o,e){return o<=e}function ZF(o,e){return o>=e}function e5(o){return ud(o.lineNumber-1,o.column-1)}function tD(o,e){const t=o,n=Math.floor(t/U_),i=t-n*U_,s=e,a=Math.floor(s/U_),l=s-a*U_;return new He(n+1,i+1,a+1,l+1)}function nFe(o){const e=G1(o);return ud(e.length-1,e[e.length-1].length)}class cse{constructor(e,t,n){this.startOffset=e,this.endOffset=t,this.newLength=n}}class iFe{constructor(e,t){this.documentLength=t,this.nextEditIdx=0,this.deltaOldToNewLineCount=0,this.deltaOldToNewColumnCount=0,this.deltaLineIdxInOld=-1,this.edits=e.map(n=>RG.from(n))}getOffsetBeforeChange(e){return this.adjustNextEdit(e),this.translateCurToOld(e)}getDistanceToNextChange(e){this.adjustNextEdit(e);const t=this.edits[this.nextEditIdx],n=t?this.translateOldToCur(t.offsetObj):this.documentLength;return tFe(e,n)}translateOldToCur(e){return e.lineCount===this.deltaLineIdxInOld?ud(e.lineCount+this.deltaOldToNewLineCount,e.columnCount+this.deltaOldToNewColumnCount):ud(e.lineCount+this.deltaOldToNewLineCount,e.columnCount)}translateCurToOld(e){const t=qv(e);return t.lineCount-this.deltaOldToNewLineCount===this.deltaLineIdxInOld?ud(t.lineCount-this.deltaOldToNewLineCount,t.columnCount-this.deltaOldToNewColumnCount):ud(t.lineCount-this.deltaOldToNewLineCount,t.columnCount)}adjustNextEdit(e){for(;this.nextEditIdx<this.edits.length;){const t=this.edits[this.nextEditIdx],n=this.translateOldToCur(t.endOffsetAfterObj);if(eD(n,e)){this.nextEditIdx++;const i=qv(n),s=qv(this.translateOldToCur(t.endOffsetBeforeObj)),a=i.lineCount-s.lineCount;this.deltaOldToNewLineCount+=a;const l=this.deltaLineIdxInOld===t.endOffsetBeforeObj.lineCount?this.deltaOldToNewColumnCount:0,u=i.columnCount-s.columnCount;this.deltaOldToNewColumnCount=l+u,this.deltaLineIdxInOld=t.endOffsetBeforeObj.lineCount}else break}}}class RG{constructor(e,t,n){this.endOffsetBeforeObj=qv(t),this.endOffsetAfterObj=qv(Fd(e,n)),this.offsetObj=qv(e)}static from(e){return new RG(e.startOffset,e.endOffset,e.newLength)}}const u8=new Array;class Id{constructor(e,t){this.items=e,this.additionalItems=t}static create(e,t){if(e<=128&&t.length===0){let n=Id.cache[e];return n||(n=new Id(e,t),Id.cache[e]=n),n}return new Id(e,t)}static getEmpty(){return this.empty}add(e,t){const n=t.getKey(e);let i=n>>5;if(i===0){const a=1<<n|this.items;return a===this.items?this:Id.create(a,this.additionalItems)}i--;const s=this.additionalItems.slice(0);for(;s.length<i;)s.push(0);return s[i]|=1<<(n&31),Id.create(this.items,s)}merge(e){const t=this.items|e.items;if(this.additionalItems===u8&&e.additionalItems===u8)return t===this.items?this:t===e.items?e:Id.create(t,u8);const n=new Array;for(let i=0;i<Math.max(this.additionalItems.length,e.additionalItems.length);i++){const s=this.additionalItems[i]||0,a=e.additionalItems[i]||0;n.push(s|a)}return Id.create(t,n)}intersects(e){if((this.items&e.items)!==0)return!0;for(let t=0;t<Math.min(this.additionalItems.length,e.additionalItems.length);t++)if((this.additionalItems[t]&e.additionalItems[t])!==0)return!0;return!1}}Id.cache=new Array(129);Id.empty=Id.create(0,u8);const dse={getKey(o){return o}};class tde{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 BG{constructor(e){this._length=e}get length(){return this._length}}class oL extends BG{constructor(e,t,n,i,s){super(e),this.openingBracket=t,this.child=n,this.closingBracket=i,this.missingOpeningBracketIds=s}static create(e,t,n){let i=e.length;return t&&(i=Fd(i,t.length)),n&&(i=Fd(i,n.length)),new oL(i,e,t,n,t?t.missingOpeningBracketIds:Id.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=new Array;return e.push(this.openingBracket),this.child&&e.push(this.child),this.closingBracket&&e.push(this.closingBracket),e}canBeReused(e){return!(this.closingBracket===null||e.intersects(this.missingOpeningBracketIds))}deepClone(){return new oL(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(Fd(e,this.openingBracket.length),t):Number.MAX_SAFE_INTEGER}}class Q1 extends BG{constructor(e,t,n){super(e),this.listHeight=t,this._missingOpeningBracketIds=n,this.cachedMinIndentation=-1}static create23(e,t,n,i=!1){let s=e.length,a=e.missingOpeningBracketIds;if(e.listHeight!==t.listHeight)throw new Error(\"Invalid list heights\");if(s=Fd(s,t.length),a=a.merge(t.missingOpeningBracketIds),n){if(e.listHeight!==n.listHeight)throw new Error(\"Invalid list heights\");s=Fd(s,n.length),a=a.merge(n.missingOpeningBracketIds)}return i?new rFe(s,e.listHeight+1,e,t,n,a):new aL(s,e.listHeight+1,e,t,n,a)}static getEmpty(){return new sFe(X1,0,[],Id.getEmpty())}get kind(){return 4}get missingOpeningBracketIds(){return this._missingOpeningBracketIds}throwIfImmutable(){}makeLastElementMutable(){this.throwIfImmutable();const e=this.childrenLength;if(e===0)return;const t=this.getChild(e-1),n=t.kind===4?t.toMutable():t;return t!==n&&this.setChild(e-1,n),n}makeFirstElementMutable(){if(this.throwIfImmutable(),this.childrenLength===0)return;const t=this.getChild(0),n=t.kind===4?t.toMutable():t;return t!==n&&this.setChild(0,n),n}canBeReused(e){if(e.intersects(this.missingOpeningBracketIds))return!1;let t=this,n;for(;t.kind===4&&(n=t.childrenLength)>0;)t=t.getChild(n-1);return t.canBeReused(e)}handleChildrenChanged(){this.throwIfImmutable();const e=this.childrenLength;let t=this.getChild(0).length,n=this.getChild(0).missingOpeningBracketIds;for(let i=1;i<e;i++){const s=this.getChild(i);t=Fd(t,s.length),n=n.merge(s.missingOpeningBracketIds)}this._length=t,this._missingOpeningBracketIds=n,this.cachedMinIndentation=-1}computeMinIndentation(e,t){if(this.cachedMinIndentation!==-1)return this.cachedMinIndentation;let n=Number.MAX_SAFE_INTEGER,i=e;for(let s=0;s<this.childrenLength;s++){const a=this.getChild(s);a&&(n=Math.min(n,a.computeMinIndentation(i,t)),i=Fd(i,a.length))}return this.cachedMinIndentation=n,n}}class aL extends Q1{constructor(e,t,n,i,s,a){super(e,t,a),this._item1=n,this._item2=i,this._item3=s}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}deepClone(){return new aL(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 rFe extends aL{toMutable(){return new aL(this.length,this.listHeight,this.item1,this.item2,this.item3,this.missingOpeningBracketIds)}throwIfImmutable(){throw new Error(\"this instance is immutable\")}}class m7 extends Q1{constructor(e,t,n,i){super(e,t,i),this._children=n}get childrenLength(){return this._children.length}getChild(e){return this._children[e]}setChild(e,t){this._children[e]=t}get children(){return this._children}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 m7(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 sFe extends m7{toMutable(){return new m7(this.length,this.listHeight,[...this.children],this.missingOpeningBracketIds)}throwIfImmutable(){throw new Error(\"this instance is immutable\")}}const oFe=[];class jG extends BG{get listHeight(){return 0}get childrenLength(){return 0}getChild(e){return null}get children(){return oFe}deepClone(){return this}}class dx extends jG{get kind(){return 0}get missingOpeningBracketIds(){return Id.getEmpty()}canBeReused(e){return!0}computeMinIndentation(e,t){const n=qv(e),i=(n.columnCount===0?n.lineCount:n.lineCount+1)+1,s=eFe(Fd(e,this.length))+1;let a=Number.MAX_SAFE_INTEGER;for(let l=i;l<=s;l++){const u=t.getLineFirstNonWhitespaceColumn(l),d=t.getLineContent(l);if(u===0)continue;const h=Zd.visibleColumnFromColumn(d,u,t.getOptions().tabSize);a=Math.min(a,h)}return a}}class y7 extends jG{constructor(e,t,n){super(e),this.languageId=t,this.bracketIds=n}static create(e,t,n){return new y7(e,t,n)}get kind(){return 1}get missingOpeningBracketIds(){return Id.getEmpty()}canBeReused(e){return!1}computeMinIndentation(e,t){return Number.MAX_SAFE_INTEGER}}class aFe extends jG{constructor(e,t){super(t),this.missingOpeningBracketIds=e}get kind(){return 3}canBeReused(e){return!e.intersects(this.missingOpeningBracketIds)}computeMinIndentation(e,t){return Number.MAX_SAFE_INTEGER}}class Tv{constructor(e,t,n,i,s){this.length=e,this.kind=t,this.bracketId=n,this.bracketIds=i,this.astNode=s}}class nde{constructor(e,t){this.textModel=e,this.bracketTokens=t,this.reader=new lFe(this.textModel,this.bracketTokens),this._offset=X1,this.didPeek=!1,this.peeked=null,this.textBufferLineCount=e.getLineCount(),this.textBufferLastLineLength=e.getLineLength(this.textBufferLineCount)}get offset(){return this._offset}get length(){return ud(this.textBufferLineCount,this.textBufferLastLineLength)}skip(e){this.didPeek=!1,this._offset=Fd(this._offset,e);const t=qv(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=Fd(this._offset,e.length)),e}peek(){return this.didPeek||(this.peeked=this.reader.read(),this.didPeek=!0),this.peeked}}class lFe{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.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 s=this.peekedToken;return this.peekedToken=null,this.lineCharOffset+=s.length,s}if(this.lineIdx>this.textBufferLineCount-1||this.lineIdx===this.textBufferLineCount-1&&this.lineCharOffset>=this.textBufferLastLineLength)return null;this.line===null&&(this.lineTokens=this.textModel.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 n=0;for(;;){const s=this.lineTokens,a=s.getCount();let l=null;if(this.lineTokenOffset<a){const u=s.getMetadata(this.lineTokenOffset);for(;this.lineTokenOffset+1<a&&u===s.getMetadata(this.lineTokenOffset+1);)this.lineTokenOffset++;const d=yp.getTokenType(u)===0,h=s.getEndOffset(this.lineTokenOffset);if(d&&h!==this.lineCharOffset){const p=s.getLanguageId(this.lineTokenOffset),g=this.line.substring(this.lineCharOffset,h),y=this.bracketTokens.getSingleLanguageBracketTokens(p),D=y.regExpGlobal;if(D){D.lastIndex=0;const T=D.exec(g);T&&(l=y.getToken(T[0]),l&&(this.lineCharOffset+=T.index))}}if(n+=h-this.lineCharOffset,l)if(e!==this.lineIdx||t!==this.lineCharOffset){this.peekedToken=l;break}else return this.lineCharOffset+=l.length,l;else this.lineTokenOffset++,this.lineCharOffset=h}else if(this.lineIdx===this.textBufferLineCount-1||(this.lineIdx++,this.lineTokens=this.textModel.getLineTokens(this.lineIdx+1),this.lineTokenOffset=0,this.line=this.lineTokens.getLineContent(),this.lineCharOffset=0,n+=33,n>1e3))break;if(n>1500)break}const i=QIe(e,t,this.lineIdx,this.lineCharOffset);return new Tv(i,0,-1,Id.getEmpty(),new dx(i))}}class uFe{constructor(e,t){this.text=e,this._offset=X1,this.idx=0;const i=t.getRegExpStr()?new RegExp(t.getRegExpStr()+`|\n`,\"g\"):null,s=[];let a,l=0,u=0,d=0,h=0;const p=new Array;for(let D=0;D<60;D++)p.push(new Tv(ud(0,D),0,-1,Id.getEmpty(),new dx(ud(0,D))));const g=new Array;for(let D=0;D<60;D++)g.push(new Tv(ud(1,D),0,-1,Id.getEmpty(),new dx(ud(1,D))));if(i)for(i.lastIndex=0;(a=i.exec(e))!==null;){const D=a.index,T=a[0];if(T===`\n`)l++,u=D+1;else{if(d!==D){let k;if(h===l){const I=D-d;if(I<p.length)k=p[I];else{const F=ud(0,I);k=new Tv(F,0,-1,Id.getEmpty(),new dx(F))}}else{const I=l-h,F=D-u;if(I===1&&F<g.length)k=g[F];else{const q=ud(I,F);k=new Tv(q,0,-1,Id.getEmpty(),new dx(q))}}s.push(k)}s.push(t.getToken(T)),d=D+T.length,h=l}}const y=e.length;if(d!==y){const D=h===l?ud(0,y-d):ud(l-h,y-u);s.push(new Tv(D,0,-1,Id.getEmpty(),new dx(D)))}this.length=ud(l,y-u),this.tokens=s}get offset(){return this._offset}read(){return this.tokens[this.idx++]||null}peek(){return this.tokens[this.idx]||null}skip(e){throw new ETe}}class b7{constructor(e){this.map=e,this.hasRegExp=!1,this._regExpGlobal=null}static createFromLanguage(e,t){function n(u,d){return t.getKey(`${u}:::${d}`)}const i=e.characterPair.getColorizedBrackets(),s=new Map,a=new Set;for(const[u,d]of i){a.add(u);let h=s.get(d);const p=n(e.languageId,u);h||(h={openingBrackets:Id.getEmpty(),first:p},s.set(d,h)),h.openingBrackets=h.openingBrackets.add(p,dse)}const l=new Map;for(const[u,d]of s){const h=ud(0,u.length);l.set(u,new Tv(h,2,d.first,d.openingBrackets,y7.create(h,e.languageId,d.openingBrackets)))}for(const u of a){const d=ud(0,u.length),h=n(e.languageId,u),p=Id.getEmpty().add(h,dse);l.set(u,new Tv(d,1,h,p,y7.create(d,e.languageId,p)))}return new b7(l)}getRegExpStr(){if(this.isEmpty)return null;{const e=[...this.map.keys()];return e.sort(),e.reverse(),e.map(t=>cFe(t)).join(\"|\")}}get regExpGlobal(){if(!this.hasRegExp){const e=this.getRegExpStr();this._regExpGlobal=e?new RegExp(e,\"g\"):null,this.hasRegExp=!0}return this._regExpGlobal}getToken(e){return this.map.get(e)}findClosingTokenText(e){for(const[t,n]of this.map)if(n.bracketIds.intersects(e))return t}get isEmpty(){return this.map.size===0}}function cFe(o){const e=Ng(o);return/^[\\w ]+$/.test(o)?`\\\\b${e}\\\\b`:e}class ide{constructor(e,t){this.denseKeyProvider=e,this.getLanguageConfiguration=t,this.languageIdToBracketTokens=new Map}didLanguageChange(e){const t=this.languageIdToBracketTokens.get(e);if(!t)return!1;const n=b7.createFromLanguage(this.getLanguageConfiguration(e),this.denseKeyProvider).getRegExpStr();return t.getRegExpStr()!==n}getSingleLanguageBracketTokens(e){let t=this.languageIdToBracketTokens.get(e);return t||(t=b7.createFromLanguage(this.getLanguageConfiguration(e),this.denseKeyProvider),this.languageIdToBracketTokens.set(e,t)),t}}function dFe(o){if(o.length===0)return null;if(o.length===1)return o[0];let e=0;function t(){if(e>=o.length)return null;const a=e,l=o[a].listHeight;for(e++;e<o.length&&o[e].listHeight===l;)e++;return e-a>=2?rde(a===0&&e===o.length?o:o.slice(a,e),!1):o[a]}let n=t(),i=t();if(!i)return n;for(let a=t();a;a=t())hse(n,i)<=hse(i,a)?(n=xV(n,i),i=a):i=xV(i,a);return xV(n,i)}function rde(o,e=!1){if(o.length===0)return null;if(o.length===1)return o[0];let t=o.length;for(;t>3;){const n=t>>1;for(let i=0;i<n;i++){const s=i<<1;o[i]=Q1.create23(o[s],o[s+1],s+3===t?o[s+2]:null,e)}t=n}return Q1.create23(o[0],o[1],t>=3?o[2]:null,e)}function hse(o,e){return Math.abs(o.listHeight-e.listHeight)}function xV(o,e){return o.listHeight===e.listHeight?Q1.create23(o,e,null,!1):o.listHeight>e.listHeight?hFe(o,e):pFe(e,o)}function hFe(o,e){o=o.toMutable();let t=o;const n=new Array;let i;for(;;){if(e.listHeight===t.listHeight){i=e;break}if(t.kind!==4)throw new Error(\"unexpected\");n.push(t),t=t.makeLastElementMutable()}for(let s=n.length-1;s>=0;s--){const a=n[s];i?a.childrenLength>=3?i=Q1.create23(a.unappendChild(),i,null,!1):(a.appendChildOfSameHeight(i),i=void 0):a.handleChildrenChanged()}return i?Q1.create23(o,i,null,!1):o}function pFe(o,e){o=o.toMutable();let t=o;const n=new Array;for(;e.listHeight!==t.listHeight;){if(t.kind!==4)throw new Error(\"unexpected\");n.push(t),t=t.makeFirstElementMutable()}let i=e;for(let s=n.length-1;s>=0;s--){const a=n[s];i?a.childrenLength>=3?i=Q1.create23(i,a.unprependChild(),null,!1):(a.prependChildOfSameHeight(i),i=void 0):a.handleChildrenChanged()}return i?Q1.create23(i,o,null,!1):o}class fFe{constructor(e){this.lastOffset=X1,this.nextNodes=[e],this.offsets=[X1],this.idxs=[]}readLongestNodeAt(e,t){if(l8(e,this.lastOffset))throw new Error(\"Invalid offset\");for(this.lastOffset=e;;){const n=xk(this.nextNodes);if(!n)return;const i=xk(this.offsets);if(l8(e,i))return;if(l8(i,e))if(Fd(i,n.length)<=e)this.nextNodeAfterCurrent();else{const s=EV(n);s!==-1?(this.nextNodes.push(n.getChild(s)),this.offsets.push(i),this.idxs.push(s)):this.nextNodeAfterCurrent()}else{if(t(n))return this.nextNodeAfterCurrent(),n;{const s=EV(n);if(s===-1){this.nextNodeAfterCurrent();return}else this.nextNodes.push(n.getChild(s)),this.offsets.push(i),this.idxs.push(s)}}}}nextNodeAfterCurrent(){for(;;){const e=xk(this.offsets),t=xk(this.nextNodes);if(this.nextNodes.pop(),this.offsets.pop(),this.idxs.length===0)break;const n=xk(this.nextNodes),i=EV(n,this.idxs[this.idxs.length-1]);if(i!==-1){this.nextNodes.push(n.getChild(i)),this.offsets.push(Fd(e,t.length)),this.idxs[this.idxs.length-1]=i;break}else this.idxs.pop()}}}function EV(o,e=-1){for(;;){if(e++,e>=o.childrenLength)return-1;if(o.getChild(e))return e}}function xk(o){return o.length>0?o[o.length-1]:void 0}function Mz(o,e,t,n){return new _Fe(o,e,t,n).parseDocument()}class _Fe{constructor(e,t,n,i){if(this.tokenizer=e,this.createImmutableLists=i,this._itemsConstructed=0,this._itemsFromCache=0,n&&i)throw new Error(\"Not supported\");this.oldNodeReader=n?new fFe(n):void 0,this.positionMapper=new iFe(t,e.length)}parseDocument(){this._itemsConstructed=0,this._itemsFromCache=0;let e=this.parseList(Id.getEmpty());return e||(e=Q1.getEmpty()),e}parseList(e){const t=new Array;for(;;){const i=this.tokenizer.peek();if(!i||i.kind===2&&i.bracketIds.intersects(e))break;const s=this.parseChild(e);s.kind===4&&s.childrenLength===0||t.push(s)}return this.oldNodeReader?dFe(t):rde(t,this.createImmutableLists)}parseChild(e){if(this.oldNodeReader){const n=this.positionMapper.getDistanceToNextChange(this.tokenizer.offset);if(!ZIe(n)){const i=this.oldNodeReader.readLongestNodeAt(this.positionMapper.getOffsetBeforeChange(this.tokenizer.offset),s=>l8(s.length,n)?s.canBeReused(e):!1);if(i)return this._itemsFromCache++,this.tokenizer.skip(i.length),i}}this._itemsConstructed++;const t=this.tokenizer.read();switch(t.kind){case 2:return new aFe(t.bracketIds,t.length);case 0:return t.astNode;case 1:{const n=e.merge(t.bracketIds),i=this.parseList(n),s=this.tokenizer.peek();return s&&s.kind===2&&(s.bracketId===t.bracketId||s.bracketIds.intersects(t.bracketIds))?(this.tokenizer.read(),oL.create(t.astNode,i,s.astNode)):oL.create(t.astNode,i,null)}default:throw new Error(\"unexpected\")}}}class gFe extends fr{constructor(e,t){if(super(),this.textModel=e,this.getLanguageConfiguration=t,this.didChangeEmitter=new ri,this.denseKeyProvider=new tde,this.brackets=new ide(this.denseKeyProvider,this.getLanguageConfiguration),this.onDidChange=this.didChangeEmitter.event,e.backgroundTokenizationState===0){const n=this.brackets.getSingleLanguageBracketTokens(this.textModel.getLanguageId()),i=new uFe(this.textModel.getValue(),n);this.initialAstWithoutTokens=Mz(i,[],void 0,!0),this.astWithTokens=this.initialAstWithoutTokens}else e.backgroundTokenizationState===2?(this.initialAstWithoutTokens=void 0,this.astWithTokens=this.parseDocumentFromTextBuffer([],void 0,!1)):e.backgroundTokenizationState===1&&(this.initialAstWithoutTokens=this.parseDocumentFromTextBuffer([],void 0,!0),this.astWithTokens=this.initialAstWithoutTokens)}didLanguageChange(e){return this.brackets.didLanguageChange(e)}handleDidChangeBackgroundTokenizationState(){if(this.textModel.backgroundTokenizationState===2){const e=this.initialAstWithoutTokens===void 0;this.initialAstWithoutTokens=void 0,e||this.didChangeEmitter.fire()}}handleDidChangeTokens({ranges:e}){const t=e.map(n=>new cse(ud(n.fromLineNumber-1,0),ud(n.toLineNumber,0),ud(n.toLineNumber-n.fromLineNumber+1,0)));this.astWithTokens=this.parseDocumentFromTextBuffer(t,this.astWithTokens,!1),this.initialAstWithoutTokens||this.didChangeEmitter.fire()}handleContentChanged(e){const t=e.changes.map(n=>{const i=He.lift(n.range);return new cse(e5(i.getStartPosition()),e5(i.getEndPosition()),nFe(n.text))}).reverse();this.astWithTokens=this.parseDocumentFromTextBuffer(t,this.astWithTokens,!1),this.initialAstWithoutTokens&&(this.initialAstWithoutTokens=this.parseDocumentFromTextBuffer(t,this.initialAstWithoutTokens,!1))}parseDocumentFromTextBuffer(e,t,n){const i=t,s=new nde(this.textModel,this.brackets);return Mz(s,e,i,n)}getBracketsInRange(e){const t=ud(e.startLineNumber-1,e.startColumn-1),n=ud(e.endLineNumber-1,e.endColumn-1),i=new Array,s=this.initialAstWithoutTokens||this.astWithTokens;return Rz(s,X1,s.length,t,n,i),i}getBracketPairsInRange(e,t){const n=new Array,i=e5(e.getStartPosition()),s=e5(e.getEndPosition()),a=this.initialAstWithoutTokens||this.astWithTokens,l=new mFe(n,t,this.textModel);return sde(a,X1,a.length,i,s,l),n}}function Rz(o,e,t,n,i,s,a=0){if(o.kind===4)for(const l of o.children)t=Fd(e,l.length),eD(e,i)&&ZF(t,n)&&Rz(l,e,t,n,i,s,a),e=t;else if(o.kind===2){a++;{const l=o.openingBracket;if(t=Fd(e,l.length),eD(e,i)&&ZF(t,n)){const u=tD(e,t);s.push(new QF(u,a-1,!o.closingBracket))}e=t}if(o.child){const l=o.child;t=Fd(e,l.length),eD(e,i)&&ZF(t,n)&&Rz(l,e,t,n,i,s,a),e=t}if(o.closingBracket){const l=o.closingBracket;if(t=Fd(e,l.length),eD(e,i)&&ZF(t,n)){const u=tD(e,t);s.push(new QF(u,a-1,!1))}e=t}}else if(o.kind===3){const l=tD(e,t);s.push(new QF(l,a-1,!0))}else if(o.kind===1){const l=tD(e,t);s.push(new QF(l,a-1,!1))}}class mFe{constructor(e,t,n){this.result=e,this.includeMinIndentation=t,this.textModel=n}}function sde(o,e,t,n,i,s,a=0){var l;if(o.kind===2){const d=Fd(e,o.openingBracket.length);let h=-1;s.includeMinIndentation&&(h=o.computeMinIndentation(e,s.textModel)),s.result.push(new XIe(tD(e,t),tD(e,d),o.closingBracket?tD(Fd(d,((l=o.child)===null||l===void 0?void 0:l.length)||X1),t):void 0,a,h)),a++}let u=e;for(const d of o.children){const h=u;u=Fd(u,d.length),eD(h,i)&&eD(n,u)&&sde(d,h,u,n,i,s,a)}}class yFe extends fr{constructor(e,t){super(),this.textModel=e,this.languageConfigurationService=t,this.bracketPairsTree=this._register(new _f),this.onDidChangeEmitter=new ri,this.onDidChange=this.onDidChangeEmitter.event,this.bracketsRequested=!1,this._register(this.languageConfigurationService.onDidChange(n=>{var i;(!n.languageId||((i=this.bracketPairsTree.value)===null||i===void 0?void 0:i.object.didLanguageChange(n.languageId)))&&(this.bracketPairsTree.clear(),this.updateBracketPairsTree())}))}get isDocumentSupported(){return this.textModel.getValueLength()<=5e6}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.isDocumentSupported){if(!this.bracketPairsTree.value){const e=new fs;this.bracketPairsTree.value=bFe(e.add(new gFe(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))||[]}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))||[]}getBracketsInRange(e){var t;return this.bracketsRequested=!0,this.updateBracketPairsTree(),((t=this.bracketPairsTree.value)===null||t===void 0?void 0:t.object.getBracketsInRange(e))||[]}findMatchingBracketUp(e,t,n){const i=e.toLowerCase(),s=this.textModel.validatePosition(t),a=this.textModel.getLanguageIdAtPosition(s.lineNumber,s.column),l=this.languageConfigurationService.getLanguageConfiguration(a).brackets;if(!l)return null;const u=l.textIsBracket[i];return u?t5(this._findMatchingBracketUp(u,s,TV(n))):null}matchBracket(e,t){const n=TV(t);return this._matchBracket(this.textModel.validatePosition(e),n)}_establishBracketSearchOffsets(e,t,n,i){const s=t.getCount(),a=t.getLanguageId(i);let l=Math.max(0,e.column-1-n.maxBracketLength);for(let d=i-1;d>=0;d--){const h=t.getEndOffset(d);if(h<=l)break;if(_1(t.getStandardTokenType(d))||t.getLanguageId(d)!==a){l=h;break}}let u=Math.min(t.getLineContent().length,e.column-1+n.maxBracketLength);for(let d=i+1;d<s;d++){const h=t.getStartOffset(d);if(h>=u)break;if(_1(t.getStandardTokenType(d))||t.getLanguageId(d)!==a){u=h;break}}return{searchStartOffset:l,searchEndOffset:u}}_matchBracket(e,t){const n=e.lineNumber,i=this.textModel.getLineTokens(n),s=this.textModel.getLineContent(n),a=i.findTokenIndexAtOffset(e.column-1);if(a<0)return null;const l=this.languageConfigurationService.getLanguageConfiguration(i.getLanguageId(a)).brackets;if(l&&!_1(i.getStandardTokenType(a))){let{searchStartOffset:u,searchEndOffset:d}=this._establishBracketSearchOffsets(e,i,l,a),h=null;for(;;){const p=pm.findNextBracketInRange(l.forwardRegex,n,s,u,d);if(!p)break;if(p.startColumn<=e.column&&e.column<=p.endColumn){const g=s.substring(p.startColumn-1,p.endColumn-1).toLowerCase(),y=this._matchFoundBracket(p,l.textIsBracket[g],l.textIsOpenBracket[g],t);if(y){if(y instanceof nb)return null;h=y}}u=p.endColumn-1}if(h)return h}if(a>0&&i.getStartOffset(a)===e.column-1){const u=a-1,d=this.languageConfigurationService.getLanguageConfiguration(i.getLanguageId(u)).brackets;if(d&&!_1(i.getStandardTokenType(u))){const{searchStartOffset:h,searchEndOffset:p}=this._establishBracketSearchOffsets(e,i,d,u),g=pm.findPrevBracketInRange(d.reversedRegex,n,s,h,p);if(g&&g.startColumn<=e.column&&e.column<=g.endColumn){const y=s.substring(g.startColumn-1,g.endColumn-1).toLowerCase(),D=this._matchFoundBracket(g,d.textIsBracket[y],d.textIsOpenBracket[y],t);if(D)return D instanceof nb?null:D}}}return null}_matchFoundBracket(e,t,n,i){if(!t)return null;const s=n?this._findMatchingBracketDown(t,e.getEndPosition(),i):this._findMatchingBracketUp(t,e.getStartPosition(),i);return s?s instanceof nb?s:[e,s]:null}_findMatchingBracketUp(e,t,n){const i=e.languageId,s=e.reversedRegex;let a=-1,l=0;const u=(d,h,p,g)=>{for(;;){if(n&&++l%100===0&&!n())return nb.INSTANCE;const y=pm.findPrevBracketInRange(s,d,h,p,g);if(!y)break;const D=h.substring(y.startColumn-1,y.endColumn-1).toLowerCase();if(e.isOpen(D)?a++:e.isClose(D)&&a--,a===0)return y;g=y.startColumn-1}return null};for(let d=t.lineNumber;d>=1;d--){const h=this.textModel.getLineTokens(d),p=h.getCount(),g=this.textModel.getLineContent(d);let y=p-1,D=g.length,T=g.length;d===t.lineNumber&&(y=h.findTokenIndexAtOffset(t.column-1),D=t.column-1,T=t.column-1);let k=!0;for(;y>=0;y--){const I=h.getLanguageId(y)===i&&!_1(h.getStandardTokenType(y));if(I)k?D=h.getStartOffset(y):(D=h.getStartOffset(y),T=h.getEndOffset(y));else if(k&&D!==T){const F=u(d,g,D,T);if(F)return F}k=I}if(k&&D!==T){const I=u(d,g,D,T);if(I)return I}}return null}_findMatchingBracketDown(e,t,n){const i=e.languageId,s=e.forwardRegex;let a=1,l=0;const u=(h,p,g,y)=>{for(;;){if(n&&++l%100===0&&!n())return nb.INSTANCE;const D=pm.findNextBracketInRange(s,h,p,g,y);if(!D)break;const T=p.substring(D.startColumn-1,D.endColumn-1).toLowerCase();if(e.isOpen(T)?a++:e.isClose(T)&&a--,a===0)return D;g=D.endColumn-1}return null},d=this.textModel.getLineCount();for(let h=t.lineNumber;h<=d;h++){const p=this.textModel.getLineTokens(h),g=p.getCount(),y=this.textModel.getLineContent(h);let D=0,T=0,k=0;h===t.lineNumber&&(D=p.findTokenIndexAtOffset(t.column-1),T=t.column-1,k=t.column-1);let I=!0;for(;D<g;D++){const F=p.getLanguageId(D)===i&&!_1(p.getStandardTokenType(D));if(F)I||(T=p.getStartOffset(D)),k=p.getEndOffset(D);else if(I&&T!==k){const q=u(h,y,T,k);if(q)return q}I=F}if(I&&T!==k){const F=u(h,y,T,k);if(F)return F}}return null}findPrevBracket(e){const t=this.textModel.validatePosition(e);let n=null,i=null;for(let s=t.lineNumber;s>=1;s--){const a=this.textModel.getLineTokens(s),l=a.getCount(),u=this.textModel.getLineContent(s);let d=l-1,h=u.length,p=u.length;if(s===t.lineNumber){d=a.findTokenIndexAtOffset(t.column-1),h=t.column-1,p=t.column-1;const y=a.getLanguageId(d);n!==y&&(n=y,i=this.languageConfigurationService.getLanguageConfiguration(n).brackets)}let g=!0;for(;d>=0;d--){const y=a.getLanguageId(d);if(n!==y){if(i&&g&&h!==p){const T=pm.findPrevBracketInRange(i.reversedRegex,s,u,h,p);if(T)return this._toFoundBracket(i,T);g=!1}n=y,i=this.languageConfigurationService.getLanguageConfiguration(n).brackets}const D=!!i&&!_1(a.getStandardTokenType(d));if(D)g?h=a.getStartOffset(d):(h=a.getStartOffset(d),p=a.getEndOffset(d));else if(i&&g&&h!==p){const T=pm.findPrevBracketInRange(i.reversedRegex,s,u,h,p);if(T)return this._toFoundBracket(i,T)}g=D}if(i&&g&&h!==p){const y=pm.findPrevBracketInRange(i.reversedRegex,s,u,h,p);if(y)return this._toFoundBracket(i,y)}}return null}findNextBracket(e){const t=this.textModel.validatePosition(e),n=this.textModel.getLineCount();let i=null,s=null;for(let a=t.lineNumber;a<=n;a++){const l=this.textModel.getLineTokens(a),u=l.getCount(),d=this.textModel.getLineContent(a);let h=0,p=0,g=0;if(a===t.lineNumber){h=l.findTokenIndexAtOffset(t.column-1),p=t.column-1,g=t.column-1;const D=l.getLanguageId(h);i!==D&&(i=D,s=this.languageConfigurationService.getLanguageConfiguration(i).brackets)}let y=!0;for(;h<u;h++){const D=l.getLanguageId(h);if(i!==D){if(s&&y&&p!==g){const k=pm.findNextBracketInRange(s.forwardRegex,a,d,p,g);if(k)return this._toFoundBracket(s,k);y=!1}i=D,s=this.languageConfigurationService.getLanguageConfiguration(i).brackets}const T=!!s&&!_1(l.getStandardTokenType(h));if(T)y||(p=l.getStartOffset(h)),g=l.getEndOffset(h);else if(s&&y&&p!==g){const k=pm.findNextBracketInRange(s.forwardRegex,a,d,p,g);if(k)return this._toFoundBracket(s,k)}y=T}if(s&&y&&p!==g){const D=pm.findNextBracketInRange(s.forwardRegex,a,d,p,g);if(D)return this._toFoundBracket(s,D)}}return null}findEnclosingBrackets(e,t){const n=TV(t),i=this.textModel.validatePosition(e),s=this.textModel.getLineCount(),a=new Map;let l=[];const u=(y,D)=>{if(!a.has(y)){const T=[];for(let k=0,I=D?D.brackets.length:0;k<I;k++)T[k]=0;a.set(y,T)}l=a.get(y)};let d=0;const h=(y,D,T,k,I)=>{for(;;){if(n&&++d%100===0&&!n())return nb.INSTANCE;const F=pm.findNextBracketInRange(y.forwardRegex,D,T,k,I);if(!F)break;const q=T.substring(F.startColumn-1,F.endColumn-1).toLowerCase(),re=y.textIsBracket[q];if(re&&(re.isOpen(q)?l[re.index]++:re.isClose(q)&&l[re.index]--,l[re.index]===-1))return this._matchFoundBracket(F,re,!1,n);k=F.endColumn-1}return null};let p=null,g=null;for(let y=i.lineNumber;y<=s;y++){const D=this.textModel.getLineTokens(y),T=D.getCount(),k=this.textModel.getLineContent(y);let I=0,F=0,q=0;if(y===i.lineNumber){I=D.findTokenIndexAtOffset(i.column-1),F=i.column-1,q=i.column-1;const Ie=D.getLanguageId(I);p!==Ie&&(p=Ie,g=this.languageConfigurationService.getLanguageConfiguration(p).brackets,u(p,g))}let re=!0;for(;I<T;I++){const Ie=D.getLanguageId(I);if(p!==Ie){if(g&&re&&F!==q){const Le=h(g,y,k,F,q);if(Le)return t5(Le);re=!1}p=Ie,g=this.languageConfigurationService.getLanguageConfiguration(p).brackets,u(p,g)}const mt=!!g&&!_1(D.getStandardTokenType(I));if(mt)re||(F=D.getStartOffset(I)),q=D.getEndOffset(I);else if(g&&re&&F!==q){const Le=h(g,y,k,F,q);if(Le)return t5(Le)}re=mt}if(g&&re&&F!==q){const Ie=h(g,y,k,F,q);if(Ie)return t5(Ie)}}return null}_toFoundBracket(e,t){if(!t)return null;let n=this.textModel.getValueInRange(t);n=n.toLowerCase();const i=e.textIsBracket[n];return i?{range:t,open:i.open,close:i.close,isOpen:e.textIsOpenBracket[n]}:null}}function bFe(o,e){return{object:o,dispose:()=>e==null?void 0:e.dispose()}}function TV(o){if(typeof o==\"undefined\")return()=>!0;{const e=Date.now();return()=>Date.now()-e<=o}}class nb{constructor(){this._searchCanceledBrand=void 0}}nb.INSTANCE=new nb;function t5(o){return o instanceof nb?null:o}class vFe extends fr{constructor(e){super(),this.textModel=e,this.colorProvider=new ode,this.onDidChangeEmitter=new ri,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,n){if(t===void 0)return[];if(!this.colorizationOptions.enabled)return[];const i=new Array,s=this.textModel.bracketPairs.getBracketsInRange(e);for(const a of s)i.push({id:`bracket${a.range.toString()}-${a.nestingLevel}`,options:{description:\"BracketPairColorization\",inlineClassName:this.colorProvider.getInlineClassName(a)},ownerId:0,range:a.range});return i}getAllDecorations(e,t){return e===void 0?[]:this.colorizationOptions.enabled?this.getDecorationsInRange(new He(1,1,this.textModel.getLineCount(),1),e,t):[]}}class ode{constructor(){this.unexpectedClosingBracketClassName=\"unexpected-closing-bracket\"}getInlineClassName(e){return e.isInvalid?this.unexpectedClosingBracketClassName:this.getInlineClassNameOfLevel(e.nestingLevel)}getInlineClassNameOfLevel(e){return`bracket-highlighting-${e%30}`}}ac((o,e)=>{const t=[Pce,Oce,Mce,Rce,Bce,jce],n=new ode;e.addRule(`.monaco-editor .${n.unexpectedClosingBracketClassName} { color: ${o.getColor(zNe)}; }`);const i=t.map(s=>o.getColor(s)).filter(s=>!!s).filter(s=>!s.isTransparent());for(let s=0;s<30;s++){const a=i[s%i.length];e.addRule(`.monaco-editor .${n.getInlineClassNameOfLevel(s)} { color: ${a}; }`)}});function n5(o){return o.replace(/\\n/g,\"\\\\n\").replace(/\\r/g,\"\\\\r\")}class qh{constructor(e,t,n,i){this.oldPosition=e,this.oldText=t,this.newPosition=n,this.newText=i}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}toString(){return this.oldText.length===0?`(insert@${this.oldPosition} \"${n5(this.newText)}\")`:this.newText.length===0?`(delete@${this.oldPosition} \"${n5(this.oldText)}\")`:`(replace@${this.oldPosition} \"${n5(this.oldText)}\" with \"${n5(this.newText)}\")`}static _writeStringSize(e){return 4+2*e.length}static _writeString(e,t,n){const i=t.length;i0(e,i,n),n+=4;for(let s=0;s<i;s++)RAe(e,t.charCodeAt(s),n),n+=2;return n}static _readString(e,t){const n=n0(e,t);return t+=4,tz(e,t,n)}writeSize(){return 4+4+qh._writeStringSize(this.oldText)+qh._writeStringSize(this.newText)}write(e,t){return i0(e,this.oldPosition,t),t+=4,i0(e,this.newPosition,t),t+=4,t=qh._writeString(e,this.oldText,t),t=qh._writeString(e,this.newText,t),t}static read(e,t,n){const i=n0(e,t);t+=4;const s=n0(e,t);t+=4;const a=qh._readString(e,t);t+=qh._writeStringSize(a);const l=qh._readString(e,t);return t+=qh._writeStringSize(l),n.push(new qh(i,a,s,l)),t}}function CFe(o,e){return o===null||o.length===0?e:new y1(o,e).compress()}class y1{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,n=this._getPrev(e),i=this._getCurr(t);for(;e<this._prevLen||t<this._currLen;){if(n===null){this._acceptCurr(i),i=this._getCurr(++t);continue}if(i===null){this._acceptPrev(n),n=this._getPrev(++e);continue}if(i.oldEnd<=n.newPosition){this._acceptCurr(i),i=this._getCurr(++t);continue}if(n.newEnd<=i.oldPosition){this._acceptPrev(n),n=this._getPrev(++e);continue}if(i.oldPosition<n.newPosition){const[d,h]=y1._splitCurr(i,n.newPosition-i.oldPosition);this._acceptCurr(d),i=h;continue}if(n.newPosition<i.oldPosition){const[d,h]=y1._splitPrev(n,i.oldPosition-n.newPosition);this._acceptPrev(d),n=h;continue}let l,u;if(i.oldEnd===n.newEnd)l=n,u=i,n=this._getPrev(++e),i=this._getCurr(++t);else if(i.oldEnd<n.newEnd){const[d,h]=y1._splitPrev(n,i.oldLength);l=d,u=i,n=h,i=this._getCurr(++t)}else{const[d,h]=y1._splitCurr(i,n.newLength);l=n,u=d,n=this._getPrev(++e),i=h}this._result[this._resultLen++]=new qh(l.oldPosition,l.oldText,u.newPosition,u.newText),this._prevDeltaOffset+=l.newLength-l.oldLength,this._currDeltaOffset+=u.newLength-u.oldLength}const s=y1._merge(this._result);return y1._removeNoOps(s)}_acceptCurr(e){this._result[this._resultLen++]=y1._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++]=y1._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 qh(t.oldPosition-e,t.oldText,t.newPosition,t.newText)}static _rebasePrev(e,t){return new qh(t.oldPosition,t.oldText,t.newPosition+e,t.newText)}static _splitPrev(e,t){const n=e.newText.substr(0,t),i=e.newText.substr(t);return[new qh(e.oldPosition,e.oldText,e.newPosition,n),new qh(e.oldEnd,\"\",e.newPosition+t,i)]}static _splitCurr(e,t){const n=e.oldText.substr(0,t),i=e.oldText.substr(t);return[new qh(e.oldPosition,n,e.newPosition,e.newText),new qh(e.oldPosition+t,i,e.newEnd,\"\")]}static _merge(e){if(e.length===0)return e;const t=[];let n=0,i=e[0];for(let s=1;s<e.length;s++){const a=e[s];i.oldEnd===a.oldPosition?i=new qh(i.oldPosition,i.oldText+a.oldText,i.newPosition,i.newText+a.newText):(t[n++]=i,i=a)}return t[n++]=i,t}static _removeNoOps(e){if(e.length===0)return e;const t=[];let n=0;for(let i=0;i<e.length;i++){const s=e[i];s.oldText!==s.newText&&(t[n++]=s)}return t}}function hv(o){return o===47||o===92}function ade(o){return o.replace(/[\\\\/]/g,Cd.sep)}function DFe(o){return o.indexOf(\"/\")===-1&&(o=ade(o)),/^[a-zA-Z]:(\\/|$)/.test(o)&&(o=\"/\"+o),o}function pse(o,e=Cd.sep){if(!o)return\"\";const t=o.length,n=o.charCodeAt(0);if(hv(n)){if(hv(o.charCodeAt(1))&&!hv(o.charCodeAt(2))){let s=3;const a=s;for(;s<t&&!hv(o.charCodeAt(s));s++);if(a!==s&&!hv(o.charCodeAt(s+1))){for(s+=1;s<t;s++)if(hv(o.charCodeAt(s)))return o.slice(0,s+1).replace(/[\\\\/]/g,e)}}return e}else if(lde(n)&&o.charCodeAt(1)===58)return hv(o.charCodeAt(2))?o.slice(0,2)+e:o.slice(0,2);let i=o.indexOf(\"://\");if(i!==-1){for(i+=3;i<t;i++)if(hv(o.charCodeAt(i)))return o.slice(0,i+1)}return\"\"}function Bz(o,e,t,n=j1){if(o===e)return!0;if(!o||!e||e.length>o.length)return!1;if(t){if(!Pq(o,e))return!1;if(e.length===o.length)return!0;let s=e.length;return e.charAt(e.length-1)===n&&s--,o.charAt(s)===n}return e.charAt(e.length-1)!==n&&(e+=n),o.indexOf(e)===0}function lde(o){return o>=65&&o<=90||o>=97&&o<=122}function wFe(o){const e=kq(o);return Ph?o.length>3?!1:ude(e)&&(o.length===2||e.charCodeAt(2)===92):e===Cd.sep}function ude(o,e){return(e!==void 0?e:Ph)?lde(o.charCodeAt(0))&&o.charCodeAt(1)===58:!1}function g1(o){return B8(o,!0)}class WG{constructor(e){this._ignorePathCasing=e}compare(e,t,n=!1){return e===t?0:B3(this.getComparisonKey(e,n),this.getComparisonKey(t,n))}isEqual(e,t,n=!1){return e===t?!0:!e||!t?!1:this.getComparisonKey(e,n)===this.getComparisonKey(t,n)}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,n=!1){if(e.scheme===t.scheme){if(e.scheme===dl.file)return Bz(g1(e),g1(t),this._ignorePathCasing(e))&&e.query===t.query&&(n||e.fragment===t.fragment);if(_se(e.authority,t.authority))return Bz(e.path,t.path,this._ignorePathCasing(e),\"/\")&&e.query===t.query&&(n||e.fragment===t.fragment)}return!1}joinPath(e,...t){return wa.joinPath(e,...t)}basenameOrAuthority(e){return Mg(e)||e.authority}basename(e){return Cd.basename(e.path)}extname(e){return Cd.extname(e.path)}dirname(e){if(e.path.length===0)return e;let t;return e.scheme===dl.file?t=wa.file(qle(g1(e))).path:(t=Cd.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===dl.file?t=wa.file(kq(g1(e))).path:t=Cd.normalize(e.path),e.with({path:t})}relativePath(e,t){if(e.scheme!==t.scheme||!_se(e.authority,t.authority))return;if(e.scheme===dl.file){const s=HTe(g1(e),g1(t));return Ph?ade(s):s}let n=e.path||\"/\",i=t.path||\"/\";if(this._ignorePathCasing(e)){let s=0;for(const a=Math.min(n.length,i.length);s<a&&!(n.charCodeAt(s)!==i.charCodeAt(s)&&n.charAt(s).toLowerCase()!==i.charAt(s).toLowerCase());s++);n=i.substr(0,s)+n.substr(s)}return Cd.relative(n,i)}resolvePath(e,t){if(e.scheme===dl.file){const n=wa.file(VTe(g1(e),t));return e.with({authority:n.authority,path:n.path})}return t=DFe(t),e.with({path:Cd.resolve(e.path,t)})}isAbsolutePath(e){return!!e.path&&e.path[0]===\"/\"}isEqualAuthority(e,t){return e===t||e!==void 0&&t!==void 0&&gx(e,t)}hasTrailingPathSeparator(e,t=j1){if(e.scheme===dl.file){const n=g1(e);return n.length>pse(n).length&&n[n.length-1]===t}else{const n=e.path;return n.length>1&&n.charCodeAt(n.length-1)===47&&!/^[a-zA-Z]:(\\/$|\\\\$)/.test(e.fsPath)}}removeTrailingPathSeparator(e,t=j1){return gse(e,t)?e.with({path:e.path.substr(0,e.path.length-1)}):e}addTrailingPathSeparator(e,t=j1){let n=!1;if(e.scheme===dl.file){const i=g1(e);n=i!==void 0&&i.length===pse(i).length&&i[i.length-1]===t}else{t=\"/\";const i=e.path;n=i.length===1&&i.charCodeAt(i.length-1)===47}return!n&&!gse(e,t)?e.with({path:e.path+\"/\"}):e}}const oc=new WG(()=>!1);new WG(o=>o.scheme===dl.file?!vp:!0);new WG(o=>!0);const cde=oc.isEqual.bind(oc);oc.isEqualOrParent.bind(oc);oc.getComparisonKey.bind(oc);const SFe=oc.basenameOrAuthority.bind(oc),Mg=oc.basename.bind(oc),xFe=oc.extname.bind(oc),t9=oc.dirname.bind(oc),EFe=oc.joinPath.bind(oc),TFe=oc.normalizePath.bind(oc);oc.relativePath.bind(oc);const fse=oc.resolvePath.bind(oc);oc.isAbsolutePath.bind(oc);const _se=oc.isEqualAuthority.bind(oc),gse=oc.hasTrailingPathSeparator.bind(oc);oc.removeTrailingPathSeparator.bind(oc);oc.addTrailingPathSeparator.bind(oc);var oC;(function(o){o.META_DATA_LABEL=\"label\",o.META_DATA_DESCRIPTION=\"description\",o.META_DATA_SIZE=\"size\",o.META_DATA_MIME=\"mime\";function e(t){const n=new Map;t.path.substring(t.path.indexOf(\";\")+1,t.path.lastIndexOf(\";\")).split(\";\").forEach(a=>{const[l,u]=a.split(\":\");l&&u&&n.set(l,u)});const s=t.path.substring(0,t.path.indexOf(\";\"));return s&&n.set(o.META_DATA_MIME,s),n}o.parseMetaData=e})(oC||(oC={}));function JS(o){return o.toString()}class _h{constructor(e,t,n,i,s,a,l){this.beforeVersionId=e,this.afterVersionId=t,this.beforeEOL=n,this.afterEOL=i,this.beforeCursorState=s,this.afterCursorState=a,this.changes=l}static create(e,t){const n=e.getAlternativeVersionId(),i=jz(e);return new _h(n,n,i,i,t,t,[])}append(e,t,n,i,s){t.length>0&&(this.changes=CFe(this.changes,t)),this.afterEOL=n,this.afterVersionId=i,this.afterCursorState=s}static _writeSelectionsSize(e){return 4+4*4*(e?e.length:0)}static _writeSelections(e,t,n){if(i0(e,t?t.length:0,n),n+=4,t)for(const i of t)i0(e,i.selectionStartLineNumber,n),n+=4,i0(e,i.selectionStartColumn,n),n+=4,i0(e,i.positionLineNumber,n),n+=4,i0(e,i.positionColumn,n),n+=4;return n}static _readSelections(e,t,n){const i=n0(e,t);t+=4;for(let s=0;s<i;s++){const a=n0(e,t);t+=4;const l=n0(e,t);t+=4;const u=n0(e,t);t+=4;const d=n0(e,t);t+=4,n.push(new oo(a,l,u,d))}return t}serialize(){let e=10+_h._writeSelectionsSize(this.beforeCursorState)+_h._writeSelectionsSize(this.afterCursorState)+4;for(const i of this.changes)e+=i.writeSize();const t=new Uint8Array(e);let n=0;i0(t,this.beforeVersionId,n),n+=4,i0(t,this.afterVersionId,n),n+=4,Gie(t,this.beforeEOL,n),n+=1,Gie(t,this.afterEOL,n),n+=1,n=_h._writeSelections(t,this.beforeCursorState,n),n=_h._writeSelections(t,this.afterCursorState,n),i0(t,this.changes.length,n),n+=4;for(const i of this.changes)n=i.write(t,n);return t.buffer}static deserialize(e){const t=new Uint8Array(e);let n=0;const i=n0(t,n);n+=4;const s=n0(t,n);n+=4;const a=qie(t,n);n+=1;const l=qie(t,n);n+=1;const u=[];n=_h._readSelections(t,n,u);const d=[];n=_h._readSelections(t,n,d);const h=n0(t,n);n+=4;const p=[];for(let g=0;g<h;g++)n=qh.read(t,n,p);return new _h(i,s,a,l,u,d,p)}}class dde{constructor(e,t){this.model=e,this._data=_h.create(e,t)}get type(){return 0}get resource(){return wa.isUri(this.model)?this.model:this.model.uri}get label(){return w(\"edit\",\"Typing\")}toString(){return(this._data instanceof _h?this._data:_h.deserialize(this._data)).changes.map(t=>t.toString()).join(\", \")}matchesResource(e){return(wa.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 _h}append(e,t,n,i,s){this._data instanceof _h&&this._data.append(e,t,n,i,s)}close(){this._data instanceof _h&&(this._data=this._data.serialize())}open(){this._data instanceof _h||(this._data=_h.deserialize(this._data))}undo(){if(wa.isUri(this.model))throw new Error(\"Invalid SingleModelEditStackElement\");this._data instanceof _h&&(this._data=this._data.serialize());const e=_h.deserialize(this._data);this.model._applyUndo(e.changes,e.beforeEOL,e.beforeVersionId,e.beforeCursorState)}redo(){if(wa.isUri(this.model))throw new Error(\"Invalid SingleModelEditStackElement\");this._data instanceof _h&&(this._data=this._data.serialize());const e=_h.deserialize(this._data);this.model._applyRedo(e.changes,e.afterEOL,e.afterVersionId,e.afterCursorState)}heapSize(){return this._data instanceof _h&&(this._data=this._data.serialize()),this._data.byteLength+168}}class AFe{constructor(e,t){this.type=1,this.label=e,this._isOpen=!0,this._editStackElementsArr=t.slice(0),this._editStackElementsMap=new Map;for(const n of this._editStackElementsArr){const i=JS(n.resource);this._editStackElementsMap.set(i,n)}this._delegate=null}get resources(){return this._editStackElementsArr.map(e=>e.resource)}prepareUndoRedo(){if(this._delegate)return this._delegate.prepareUndoRedo(this)}matchesResource(e){const t=JS(e);return this._editStackElementsMap.has(t)}setModel(e){const t=JS(wa.isUri(e)?e:e.uri);this._editStackElementsMap.has(t)&&this._editStackElementsMap.get(t).setModel(e)}canAppend(e){if(!this._isOpen)return!1;const t=JS(e.uri);return this._editStackElementsMap.has(t)?this._editStackElementsMap.get(t).canAppend(e):!1}append(e,t,n,i,s){const a=JS(e.uri);this._editStackElementsMap.get(a).append(e,t,n,i,s)}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=JS(e);return this._editStackElementsMap.has(t)?this._editStackElementsMap.get(t).heapSize():0}split(){return this._editStackElementsArr}toString(){let e=[];for(const t of this._editStackElementsArr)e.push(`${Mg(t.resource)}: ${t}`);return`{${e.join(\", \")}}`}}function jz(o){return o.getEOL()===`\n`?0:1}function ib(o){return o?o instanceof dde||o instanceof AFe:!1}class VG{constructor(e,t){this._model=e,this._undoRedoService=t}pushStackElement(){const e=this._undoRedoService.getLastElement(this._model.uri);ib(e)&&e.close()}popStackElement(){const e=this._undoRedoService.getLastElement(this._model.uri);ib(e)&&e.open()}clear(){this._undoRedoService.removeElements(this._model.uri)}_getOrCreateEditStackElement(e){const t=this._undoRedoService.getLastElement(this._model.uri);if(ib(t)&&t.canAppend(this._model))return t;const n=new dde(this._model,e);return this._undoRedoService.pushElement(n),n}pushEOL(e){const t=this._getOrCreateEditStackElement(null);this._model.setEOL(e),t.append(this._model,[],jz(this._model),this._model.getAlternativeVersionId(),null)}pushEditOperation(e,t,n){const i=this._getOrCreateEditStackElement(e),s=this._model.applyEdits(t,!0),a=VG._computeCursorState(n,s),l=s.map((u,d)=>({index:d,textChange:u.textChange}));return l.sort((u,d)=>u.textChange.oldPosition===d.textChange.oldPosition?u.index-d.index:u.textChange.oldPosition-d.textChange.oldPosition),i.append(this._model,l.map(u=>u.textChange),jz(this._model),this._model.getAlternativeVersionId(),a),a}static _computeCursorState(e,t){try{return e?e(t):null}catch(n){return tl(n),null}}}class kFe{constructor(){this.spacesDiff=0,this.looksLikeAlignment=!1}}function LFe(o,e,t,n,i){i.spacesDiff=0,i.looksLikeAlignment=!1;let s;for(s=0;s<e&&s<n;s++){const g=o.charCodeAt(s),y=t.charCodeAt(s);if(g!==y)break}let a=0,l=0;for(let g=s;g<e;g++)o.charCodeAt(g)===32?a++:l++;let u=0,d=0;for(let g=s;g<n;g++)t.charCodeAt(g)===32?u++:d++;if(a>0&&l>0||u>0&&d>0)return;const h=Math.abs(l-d),p=Math.abs(a-u);if(h===0){i.spacesDiff=p,p>0&&0<=u-1&&u-1<o.length&&u<t.length&&t.charCodeAt(u)!==32&&o.charCodeAt(u-1)===32&&o.charCodeAt(o.length-1)===44&&(i.looksLikeAlignment=!0);return}if(p%h===0){i.spacesDiff=p/h;return}}function mse(o,e,t){const n=Math.min(o.getLineCount(),1e4);let i=0,s=0,a=\"\",l=0;const u=[2,4,6,8,3,5,7],d=8,h=[0,0,0,0,0,0,0,0,0],p=new kFe;for(let D=1;D<=n;D++){const T=o.getLineLength(D),k=o.getLineContent(D),I=T<=65536;let F=!1,q=0,re=0,Ie=0;for(let Le=0,Ge=T;Le<Ge;Le++){const qt=I?k.charCodeAt(Le):o.getLineCharCode(D,Le);if(qt===9)Ie++;else if(qt===32)re++;else{F=!0,q=Le;break}}if(!F||(Ie>0?i++:re>1&&s++,LFe(a,l,k,q,p),p.looksLikeAlignment&&!(t&&e===p.spacesDiff)))continue;const mt=p.spacesDiff;mt<=d&&h[mt]++,a=k,l=q}let g=t;i!==s&&(g=i<s);let y=e;if(g){let D=g?0:.1*n;u.forEach(T=>{const k=h[T];k>D&&(D=k,y=T)}),y===4&&h[4]>0&&h[2]>0&&h[2]>=h[4]/2&&(y=2)}return{insertSpaces:g,tabSize:y}}function Lf(o){return(o.metadata&1)>>>0}function nc(o,e){o.metadata=o.metadata&254|e<<0}function Yh(o){return(o.metadata&2)>>>1===1}function Ju(o,e){o.metadata=o.metadata&253|(e?1:0)<<1}function hde(o){return(o.metadata&4)>>>2===1}function yse(o,e){o.metadata=o.metadata&251|(e?1:0)<<2}function NFe(o){return(o.metadata&24)>>>3}function bse(o,e){o.metadata=o.metadata&231|e<<3}function IFe(o){return(o.metadata&32)>>>5===1}function vse(o,e){o.metadata=o.metadata&223|(e?1:0)<<5}class pde{constructor(e,t,n){this.metadata=0,this.parent=this,this.left=this,this.right=this,nc(this,1),this.start=t,this.end=n,this.delta=0,this.maxEnd=n,this.id=e,this.ownerId=0,this.options=null,yse(this,!1),bse(this,1),vse(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=null,Ju(this,!1)}reset(e,t,n,i){this.start=t,this.end=n,this.maxEnd=n,this.cachedVersionId=e,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=i}setOptions(e){this.options=e;const t=this.options.className;yse(this,t===\"squiggly-error\"||t===\"squiggly-warning\"||t===\"squiggly-info\"),bse(this,this.options.stickiness),vse(this,this.options.collapseOnReplaceEdit)}setCachedOffsets(e,t,n){this.cachedVersionId!==n&&(this.range=null),this.cachedVersionId=n,this.cachedAbsoluteStart=e,this.cachedAbsoluteEnd=t}detach(){this.parent=null,this.left=null,this.right=null}}const hl=new pde(null,0,0);hl.parent=hl;hl.left=hl;hl.right=hl;nc(hl,0);class AV{constructor(){this.root=hl,this.requestNormalizeDelta=!1}intervalSearch(e,t,n,i,s){return this.root===hl?[]:WFe(this,e,t,n,i,s)}search(e,t,n){return this.root===hl?[]:jFe(this,e,t,n)}collectNodesFromOwner(e){return RFe(this,e)}collectNodesPostOrder(){return BFe(this)}insert(e){Cse(this,e),this._normalizeDeltaIfNecessary()}delete(e){Dse(this,e),this._normalizeDeltaIfNecessary()}resolveNode(e,t){const n=e;let i=0;for(;e!==this.root;)e===e.parent.right&&(i+=e.parent.delta),e=e.parent;const s=n.start+i,a=n.end+i;n.setCachedOffsets(s,a,t)}acceptReplace(e,t,n,i){const s=OFe(this,e,e+t);for(let a=0,l=s.length;a<l;a++){const u=s[a];Dse(this,u)}this._normalizeDeltaIfNecessary(),MFe(this,e,e+t,n),this._normalizeDeltaIfNecessary();for(let a=0,l=s.length;a<l;a++){const u=s[a];u.start=u.cachedAbsoluteStart,u.end=u.cachedAbsoluteEnd,PFe(u,e,e+t,n,i),u.maxEnd=u.end,Cse(this,u)}this._normalizeDeltaIfNecessary()}_normalizeDeltaIfNecessary(){!this.requestNormalizeDelta||(this.requestNormalizeDelta=!1,FFe(this))}}function FFe(o){let e=o.root,t=0;for(;e!==hl;){if(e.left!==hl&&!Yh(e.left)){e=e.left;continue}if(e.right!==hl&&!Yh(e.right)){t+=e.delta,e=e.right;continue}e.start=t+e.start,e.end=t+e.end,e.delta=0,aC(e),Ju(e,!0),Ju(e.left,!1),Ju(e.right,!1),e===e.parent.right&&(t-=e.parent.delta),e=e.parent}Ju(o.root,!1)}function YS(o,e,t,n){return o<t?!0:o>t||n===1?!1:n===2?!0:e}function PFe(o,e,t,n,i){const s=NFe(o),a=s===0||s===2,l=s===1||s===2,u=t-e,d=n,h=Math.min(u,d),p=o.start;let g=!1;const y=o.end;let D=!1;e<=p&&y<=t&&IFe(o)&&(o.start=e,g=!0,o.end=e,D=!0);{const k=i?1:u>0?2:0;!g&&YS(p,a,e,k)&&(g=!0),!D&&YS(y,l,e,k)&&(D=!0)}if(h>0&&!i){const k=u>d?2:0;!g&&YS(p,a,e+h,k)&&(g=!0),!D&&YS(y,l,e+h,k)&&(D=!0)}{const k=i?1:0;!g&&YS(p,a,t,k)&&(o.start=e+d,g=!0),!D&&YS(y,l,t,k)&&(o.end=e+d,D=!0)}const T=d-u;g||(o.start=Math.max(0,p+T)),D||(o.end=Math.max(0,y+T)),o.start>o.end&&(o.end=o.start)}function OFe(o,e,t){let n=o.root,i=0,s=0,a=0,l=0;const u=[];let d=0;for(;n!==hl;){if(Yh(n)){Ju(n.left,!1),Ju(n.right,!1),n===n.parent.right&&(i-=n.parent.delta),n=n.parent;continue}if(!Yh(n.left)){if(s=i+n.maxEnd,s<e){Ju(n,!0);continue}if(n.left!==hl){n=n.left;continue}}if(a=i+n.start,a>t){Ju(n,!0);continue}if(l=i+n.end,l>=e&&(n.setCachedOffsets(a,l,0),u[d++]=n),Ju(n,!0),n.right!==hl&&!Yh(n.right)){i+=n.delta,n=n.right;continue}}return Ju(o.root,!1),u}function MFe(o,e,t,n){let i=o.root,s=0,a=0,l=0;const u=n-(t-e);for(;i!==hl;){if(Yh(i)){Ju(i.left,!1),Ju(i.right,!1),i===i.parent.right&&(s-=i.parent.delta),aC(i),i=i.parent;continue}if(!Yh(i.left)){if(a=s+i.maxEnd,a<e){Ju(i,!0);continue}if(i.left!==hl){i=i.left;continue}}if(l=s+i.start,l>t){i.start+=u,i.end+=u,i.delta+=u,(i.delta<-1073741824||i.delta>1073741824)&&(o.requestNormalizeDelta=!0),Ju(i,!0);continue}if(Ju(i,!0),i.right!==hl&&!Yh(i.right)){s+=i.delta,i=i.right;continue}}Ju(o.root,!1)}function RFe(o,e){let t=o.root;const n=[];let i=0;for(;t!==hl;){if(Yh(t)){Ju(t.left,!1),Ju(t.right,!1),t=t.parent;continue}if(t.left!==hl&&!Yh(t.left)){t=t.left;continue}if(t.ownerId===e&&(n[i++]=t),Ju(t,!0),t.right!==hl&&!Yh(t.right)){t=t.right;continue}}return Ju(o.root,!1),n}function BFe(o){let e=o.root;const t=[];let n=0;for(;e!==hl;){if(Yh(e)){Ju(e.left,!1),Ju(e.right,!1),e=e.parent;continue}if(e.left!==hl&&!Yh(e.left)){e=e.left;continue}if(e.right!==hl&&!Yh(e.right)){e=e.right;continue}t[n++]=e,Ju(e,!0)}return Ju(o.root,!1),t}function jFe(o,e,t,n){let i=o.root,s=0,a=0,l=0;const u=[];let d=0;for(;i!==hl;){if(Yh(i)){Ju(i.left,!1),Ju(i.right,!1),i===i.parent.right&&(s-=i.parent.delta),i=i.parent;continue}if(i.left!==hl&&!Yh(i.left)){i=i.left;continue}a=s+i.start,l=s+i.end,i.setCachedOffsets(a,l,n);let h=!0;if(e&&i.ownerId&&i.ownerId!==e&&(h=!1),t&&hde(i)&&(h=!1),h&&(u[d++]=i),Ju(i,!0),i.right!==hl&&!Yh(i.right)){s+=i.delta,i=i.right;continue}}return Ju(o.root,!1),u}function WFe(o,e,t,n,i,s){let a=o.root,l=0,u=0,d=0,h=0;const p=[];let g=0;for(;a!==hl;){if(Yh(a)){Ju(a.left,!1),Ju(a.right,!1),a===a.parent.right&&(l-=a.parent.delta),a=a.parent;continue}if(!Yh(a.left)){if(u=l+a.maxEnd,u<e){Ju(a,!0);continue}if(a.left!==hl){a=a.left;continue}}if(d=l+a.start,d>t){Ju(a,!0);continue}if(h=l+a.end,h>=e){a.setCachedOffsets(d,h,s);let y=!0;n&&a.ownerId&&a.ownerId!==n&&(y=!1),i&&hde(a)&&(y=!1),y&&(p[g++]=a)}if(Ju(a,!0),a.right!==hl&&!Yh(a.right)){l+=a.delta,a=a.right;continue}}return Ju(o.root,!1),p}function Cse(o,e){if(o.root===hl)return e.parent=hl,e.left=hl,e.right=hl,nc(e,0),o.root=e,o.root;VFe(o,e),Cv(e.parent);let t=e;for(;t!==o.root&&Lf(t.parent)===1;)if(t.parent===t.parent.parent.left){const n=t.parent.parent.right;Lf(n)===1?(nc(t.parent,0),nc(n,0),nc(t.parent.parent,1),t=t.parent.parent):(t===t.parent.right&&(t=t.parent,g3(o,t)),nc(t.parent,0),nc(t.parent.parent,1),m3(o,t.parent.parent))}else{const n=t.parent.parent.left;Lf(n)===1?(nc(t.parent,0),nc(n,0),nc(t.parent.parent,1),t=t.parent.parent):(t===t.parent.left&&(t=t.parent,m3(o,t)),nc(t.parent,0),nc(t.parent.parent,1),g3(o,t.parent.parent))}return nc(o.root,0),e}function VFe(o,e){let t=0,n=o.root;const i=e.start,s=e.end;for(;;)if($Fe(i,s,n.start+t,n.end+t)<0)if(n.left===hl){e.start-=t,e.end-=t,e.maxEnd-=t,n.left=e;break}else n=n.left;else if(n.right===hl){e.start-=t+n.delta,e.end-=t+n.delta,e.maxEnd-=t+n.delta,n.right=e;break}else t+=n.delta,n=n.right;e.parent=n,e.left=hl,e.right=hl,nc(e,1)}function Dse(o,e){let t,n;if(e.left===hl?(t=e.right,n=e,t.delta+=e.delta,(t.delta<-1073741824||t.delta>1073741824)&&(o.requestNormalizeDelta=!0),t.start+=e.delta,t.end+=e.delta):e.right===hl?(t=e.left,n=e):(n=HFe(e.right),t=n.right,t.start+=n.delta,t.end+=n.delta,t.delta+=n.delta,(t.delta<-1073741824||t.delta>1073741824)&&(o.requestNormalizeDelta=!0),n.start+=e.delta,n.end+=e.delta,n.delta=e.delta,(n.delta<-1073741824||n.delta>1073741824)&&(o.requestNormalizeDelta=!0)),n===o.root){o.root=t,nc(t,0),e.detach(),kV(),aC(t),o.root.parent=hl;return}const i=Lf(n)===1;if(n===n.parent.left?n.parent.left=t:n.parent.right=t,n===e?t.parent=n.parent:(n.parent===e?t.parent=n:t.parent=n.parent,n.left=e.left,n.right=e.right,n.parent=e.parent,nc(n,Lf(e)),e===o.root?o.root=n:e===e.parent.left?e.parent.left=n:e.parent.right=n,n.left!==hl&&(n.left.parent=n),n.right!==hl&&(n.right.parent=n)),e.detach(),i){Cv(t.parent),n!==e&&(Cv(n),Cv(n.parent)),kV();return}Cv(t),Cv(t.parent),n!==e&&(Cv(n),Cv(n.parent));let s;for(;t!==o.root&&Lf(t)===0;)t===t.parent.left?(s=t.parent.right,Lf(s)===1&&(nc(s,0),nc(t.parent,1),g3(o,t.parent),s=t.parent.right),Lf(s.left)===0&&Lf(s.right)===0?(nc(s,1),t=t.parent):(Lf(s.right)===0&&(nc(s.left,0),nc(s,1),m3(o,s),s=t.parent.right),nc(s,Lf(t.parent)),nc(t.parent,0),nc(s.right,0),g3(o,t.parent),t=o.root)):(s=t.parent.left,Lf(s)===1&&(nc(s,0),nc(t.parent,1),m3(o,t.parent),s=t.parent.left),Lf(s.left)===0&&Lf(s.right)===0?(nc(s,1),t=t.parent):(Lf(s.left)===0&&(nc(s.right,0),nc(s,1),g3(o,s),s=t.parent.left),nc(s,Lf(t.parent)),nc(t.parent,0),nc(s.left,0),m3(o,t.parent),t=o.root));nc(t,0),kV()}function HFe(o){for(;o.left!==hl;)o=o.left;return o}function kV(){hl.parent=hl,hl.delta=0,hl.start=0,hl.end=0}function g3(o,e){const t=e.right;t.delta+=e.delta,(t.delta<-1073741824||t.delta>1073741824)&&(o.requestNormalizeDelta=!0),t.start+=e.delta,t.end+=e.delta,e.right=t.left,t.left!==hl&&(t.left.parent=e),t.parent=e.parent,e.parent===hl?o.root=t:e===e.parent.left?e.parent.left=t:e.parent.right=t,t.left=e,e.parent=t,aC(e),aC(t)}function m3(o,e){const t=e.left;e.delta-=t.delta,(e.delta<-1073741824||e.delta>1073741824)&&(o.requestNormalizeDelta=!0),e.start-=t.delta,e.end-=t.delta,e.left=t.right,t.right!==hl&&(t.right.parent=e),t.parent=e.parent,e.parent===hl?o.root=t:e===e.parent.right?e.parent.right=t:e.parent.left=t,t.right=e,e.parent=t,aC(e),aC(t)}function fde(o){let e=o.end;if(o.left!==hl){const t=o.left.maxEnd;t>e&&(e=t)}if(o.right!==hl){const t=o.right.maxEnd+o.delta;t>e&&(e=t)}return e}function aC(o){o.maxEnd=fde(o)}function Cv(o){for(;o!==hl;){const e=fde(o);if(o.maxEnd===e)return;o.maxEnd=e,o=o.parent}}function $Fe(o,e,t,n){return o===t?e-n:o-t}class Wz{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!==$a)return HG(this.right);let e=this;for(;e.parent!==$a&&e.parent.left!==e;)e=e.parent;return e.parent===$a?$a:e.parent}prev(){if(this.left!==$a)return _de(this.left);let e=this;for(;e.parent!==$a&&e.parent.right!==e;)e=e.parent;return e.parent===$a?$a:e.parent}detach(){this.parent=null,this.left=null,this.right=null}}const $a=new Wz(null,0);$a.parent=$a;$a.left=$a;$a.right=$a;$a.color=0;function HG(o){for(;o.left!==$a;)o=o.left;return o}function _de(o){for(;o.right!==$a;)o=o.right;return o}function $G(o){return o===$a?0:o.size_left+o.piece.length+$G(o.right)}function zG(o){return o===$a?0:o.lf_left+o.piece.lineFeedCnt+zG(o.right)}function LV(){$a.parent=$a}function y3(o,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!==$a&&(t.left.parent=e),t.parent=e.parent,e.parent===$a?o.root=t:e.parent.left===e?e.parent.left=t:e.parent.right=t,t.left=e,e.parent=t}function b3(o,e){const t=e.left;e.left=t.right,t.right!==$a&&(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===$a?o.root=t:e===e.parent.right?e.parent.right=t:e.parent.left=t,t.right=e,e.parent=t}function i5(o,e){let t,n;if(e.left===$a?(n=e,t=n.right):e.right===$a?(n=e,t=n.left):(n=HG(e.right),t=n.right),n===o.root){o.root=t,t.color=0,e.detach(),LV(),o.root.parent=$a;return}const i=n.color===1;if(n===n.parent.left?n.parent.left=t:n.parent.right=t,n===e?(t.parent=n.parent,Uk(o,t)):(n.parent===e?t.parent=n:t.parent=n.parent,Uk(o,t),n.left=e.left,n.right=e.right,n.parent=e.parent,n.color=e.color,e===o.root?o.root=n:e===e.parent.left?e.parent.left=n:e.parent.right=n,n.left!==$a&&(n.left.parent=n),n.right!==$a&&(n.right.parent=n),n.size_left=e.size_left,n.lf_left=e.lf_left,Uk(o,n)),e.detach(),t.parent.left===t){const a=$G(t),l=zG(t);if(a!==t.parent.size_left||l!==t.parent.lf_left){const u=a-t.parent.size_left,d=l-t.parent.lf_left;t.parent.size_left=a,t.parent.lf_left=l,Gy(o,t.parent,u,d)}}if(Uk(o,t.parent),i){LV();return}let s;for(;t!==o.root&&t.color===0;)t===t.parent.left?(s=t.parent.right,s.color===1&&(s.color=0,t.parent.color=1,y3(o,t.parent),s=t.parent.right),s.left.color===0&&s.right.color===0?(s.color=1,t=t.parent):(s.right.color===0&&(s.left.color=0,s.color=1,b3(o,s),s=t.parent.right),s.color=t.parent.color,t.parent.color=0,s.right.color=0,y3(o,t.parent),t=o.root)):(s=t.parent.left,s.color===1&&(s.color=0,t.parent.color=1,b3(o,t.parent),s=t.parent.left),s.left.color===0&&s.right.color===0?(s.color=1,t=t.parent):(s.left.color===0&&(s.right.color=0,s.color=1,y3(o,s),s=t.parent.left),s.color=t.parent.color,t.parent.color=0,s.left.color=0,b3(o,t.parent),t=o.root));t.color=0,LV()}function wse(o,e){for(Uk(o,e);e!==o.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,y3(o,e)),e.parent.color=0,e.parent.parent.color=1,b3(o,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,b3(o,e)),e.parent.color=0,e.parent.parent.color=1,y3(o,e.parent.parent))}o.root.color=0}function Gy(o,e,t,n){for(;e!==o.root&&e!==$a;)e.parent.left===e&&(e.parent.size_left+=t,e.parent.lf_left+=n),e=e.parent}function Uk(o,e){let t=0,n=0;if(e!==o.root){for(;e!==o.root&&e===e.parent.right;)e=e.parent;if(e!==o.root)for(e=e.parent,t=$G(e.left)-e.size_left,n=zG(e.left)-e.lf_left,e.size_left+=t,e.lf_left+=n;e!==o.root&&(t!==0||n!==0);)e.parent.left===e&&(e.parent.size_left+=t,e.parent.lf_left+=n),e=e.parent}}const Vy=65535;function gde(o){let e;return o[o.length-1]<65536?e=new Uint16Array(o.length):e=new Uint32Array(o.length),e.set(o,0),e}class zFe{constructor(e,t,n,i,s){this.lineStarts=e,this.cr=t,this.lf=n,this.crlf=i,this.isBasicASCII=s}}function Yy(o,e=!0){const t=[0];let n=1;for(let i=0,s=o.length;i<s;i++){const a=o.charCodeAt(i);a===13?i+1<s&&o.charCodeAt(i+1)===10?(t[n++]=i+2,i++):t[n++]=i+1:a===10&&(t[n++]=i+1)}return e?gde(t):t}function UFe(o,e){o.length=0,o[0]=0;let t=1,n=0,i=0,s=0,a=!0;for(let u=0,d=e.length;u<d;u++){const h=e.charCodeAt(u);h===13?u+1<d&&e.charCodeAt(u+1)===10?(s++,o[t++]=u+2,u++):(n++,o[t++]=u+1):h===10?(i++,o[t++]=u+1):a&&h!==9&&(h<32||h>126)&&(a=!1)}const l=new zFe(gde(o),n,i,s,a);return o.length=0,l}class t_{constructor(e,t,n,i,s){this.bufferIndex=e,this.start=t,this.end=n,this.lineFeedCnt=i,this.length=s}}class H2{constructor(e,t){this.buffer=e,this.lineStarts=t}}class KFe{constructor(e,t){this._pieces=[],this._tree=e,this._BOM=t,this._index=0,e.root!==$a&&e.iterate(e.root,n=>(n!==$a&&this._pieces.push(n.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 qFe{constructor(e){this._limit=e,this._cache=[]}get(e){for(let t=this._cache.length-1;t>=0;t--){const n=this._cache[t];if(n.nodeStartOffset<=e&&n.nodeStartOffset+n.node.piece.length>=e)return n}return null}get2(e){for(let t=this._cache.length-1;t>=0;t--){const n=this._cache[t];if(n.nodeStartLineNumber&&n.nodeStartLineNumber<e&&n.nodeStartLineNumber+n.node.piece.lineFeedCnt>=e)return n}return null}set(e){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(e)}validate(e){let t=!1;const n=this._cache;for(let i=0;i<n.length;i++){const s=n[i];if(s.node.parent===null||s.nodeStartOffset>=e){n[i]=null,t=!0;continue}}if(t){const i=[];for(const s of n)s!==null&&i.push(s);this._cache=i}}}class GFe{constructor(e,t,n){this.create(e,t,n)}create(e,t,n){this._buffers=[new H2(\"\",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=$a,this._lineCnt=1,this._length=0,this._EOL=t,this._EOLLength=t.length,this._EOLNormalized=n;let i=null;for(let s=0,a=e.length;s<a;s++)if(e[s].buffer.length>0){e[s].lineStarts||(e[s].lineStarts=Yy(e[s].buffer));const l=new t_(s+1,{line:0,column:0},{line:e[s].lineStarts.length-1,column:e[s].buffer.length-e[s].lineStarts[e[s].lineStarts.length-1]},e[s].lineStarts.length-1,e[s].buffer.length);this._buffers.push(e[s]),i=this.rbInsertRight(i,l)}this._searchCache=new qFe(1),this._lastVisitedLine={lineNumber:0,value:\"\"},this.computeBufferMetadata()}normalizeEOL(e){const t=Vy,n=t-Math.floor(t/3),i=n*2;let s=\"\",a=0;const l=[];if(this.iterate(this.root,u=>{const d=this.getNodeContent(u),h=d.length;if(a<=n||a+h<i)return s+=d,a+=h,!0;const p=s.replace(/\\r\\n|\\r|\\n/g,e);return l.push(new H2(p,Yy(p))),s=d,a=h,!0}),a>0){const u=s.replace(/\\r\\n|\\r|\\n/g,e);l.push(new H2(u,Yy(u)))}this.create(l,e,!0)}getEOL(){return this._EOL}setEOL(e){this._EOL=e,this._EOLLength=this._EOL.length,this.normalizeEOL(e)}createSnapshot(e){return new KFe(this,e)}getOffsetAt(e,t){let n=0,i=this.root;for(;i!==$a;)if(i.left!==$a&&i.lf_left+1>=e)i=i.left;else{if(i.lf_left+i.piece.lineFeedCnt+1>=e)return n+=i.size_left,n+=this.getAccumulatedValue(i,e-i.lf_left-2)+t-1;e-=i.lf_left+i.piece.lineFeedCnt,n+=i.size_left+i.piece.length,i=i.right}return n}getPositionAt(e){e=Math.floor(e),e=Math.max(0,e);let t=this.root,n=0;const i=e;for(;t!==$a;)if(t.size_left!==0&&t.size_left>=e)t=t.left;else if(t.size_left+t.piece.length>=e){const s=this.getIndexOf(t,e-t.size_left);if(n+=t.lf_left+s.index,s.index===0){const a=this.getOffsetAt(n+1,1),l=i-a;return new Ii(n+1,l+1)}return new Ii(n+1,s.remainder+1)}else if(e-=t.size_left+t.piece.length,n+=t.lf_left+t.piece.lineFeedCnt,t.right===$a){const s=this.getOffsetAt(n+1,1),a=i-e-s;return new Ii(n+1,a+1)}else t=t.right;return new Ii(1,1)}getValueInRange(e,t){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return\"\";const n=this.nodeAt2(e.startLineNumber,e.startColumn),i=this.nodeAt2(e.endLineNumber,e.endColumn),s=this.getValueInRange2(n,i);return t?t!==this._EOL||!this._EOLNormalized?s.replace(/\\r\\n|\\r|\\n/g,t):t===this.getEOL()&&this._EOLNormalized?s:s.replace(/\\r\\n|\\r|\\n/g,t):s}getValueInRange2(e,t){if(e.node===t.node){const l=e.node,u=this._buffers[l.piece.bufferIndex].buffer,d=this.offsetInBuffer(l.piece.bufferIndex,l.piece.start);return u.substring(d+e.remainder,d+t.remainder)}let n=e.node;const i=this._buffers[n.piece.bufferIndex].buffer,s=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);let a=i.substring(s+e.remainder,s+n.piece.length);for(n=n.next();n!==$a;){const l=this._buffers[n.piece.bufferIndex].buffer,u=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);if(n===t.node){a+=l.substring(u,u+t.remainder);break}else a+=l.substr(u,n.piece.length);n=n.next()}return a}getLinesContent(){const e=[];let t=0,n=\"\",i=!1;return this.iterate(this.root,s=>{if(s===$a)return!0;const a=s.piece;let l=a.length;if(l===0)return!0;const u=this._buffers[a.bufferIndex].buffer,d=this._buffers[a.bufferIndex].lineStarts,h=a.start.line,p=a.end.line;let g=d[h]+a.start.column;if(i&&(u.charCodeAt(g)===10&&(g++,l--),e[t++]=n,n=\"\",i=!1,l===0))return!0;if(h===p)return!this._EOLNormalized&&u.charCodeAt(g+l-1)===13?(i=!0,n+=u.substr(g,l-1)):n+=u.substr(g,l),!0;n+=this._EOLNormalized?u.substring(g,Math.max(g,d[h+1]-this._EOLLength)):u.substring(g,d[h+1]).replace(/(\\r\\n|\\r|\\n)$/,\"\"),e[t++]=n;for(let y=h+1;y<p;y++)n=this._EOLNormalized?u.substring(d[y],d[y+1]-this._EOLLength):u.substring(d[y],d[y+1]).replace(/(\\r\\n|\\r|\\n)$/,\"\"),e[t++]=n;return!this._EOLNormalized&&u.charCodeAt(d[p]+a.end.column-1)===13?(i=!0,a.end.column===0?t--:n=u.substr(d[p],a.end.column-1)):n=u.substr(d[p],a.end.column),!0}),i&&(e[t++]=n,n=\"\"),e[t++]=n,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 n=this._buffers[t.piece.bufferIndex],i=this.offsetInBuffer(t.piece.bufferIndex,t.piece.start);return n.buffer.charCodeAt(i)}else{const t=this._buffers[e.node.piece.bufferIndex],i=this.offsetInBuffer(e.node.piece.bufferIndex,e.node.piece.start)+e.remainder;return t.buffer.charCodeAt(i)}}getLineCharCode(e,t){const n=this.nodeAt2(e,t+1);return this._getCharCode(n)}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,n,i,s,a,l,u,d,h,p){const g=this._buffers[e.piece.bufferIndex],y=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start),D=this.offsetInBuffer(e.piece.bufferIndex,s),T=this.offsetInBuffer(e.piece.bufferIndex,a);let k;const I={line:0,column:0};let F,q;t._wordSeparators?(F=g.buffer.substring(D,T),q=re=>re+D,t.reset(0)):(F=g.buffer,q=re=>re,t.reset(D));do if(k=t.next(F),k){if(q(k.index)>=T)return h;this.positionInBuffer(e,q(k.index)-y,I);const re=this.getLineFeedCnt(e.piece.bufferIndex,s,I),Ie=I.line===s.line?I.column-s.column+i:I.column+1,mt=Ie+k[0].length;if(p[h++]=R2(new He(n+re,Ie,n+re,mt),k,u),q(k.index)+k[0].length>=T||h>=d)return h}while(k);return h}findMatchesLineByLine(e,t,n,i){const s=[];let a=0;const l=new bx(t.wordSeparators,t.regex);let u=this.nodeAt2(e.startLineNumber,e.startColumn);if(u===null)return[];const d=this.nodeAt2(e.endLineNumber,e.endColumn);if(d===null)return[];let h=this.positionInBuffer(u.node,u.remainder);const p=this.positionInBuffer(d.node,d.remainder);if(u.node===d.node)return this.findMatchesInNode(u.node,l,e.startLineNumber,e.startColumn,h,p,t,n,i,a,s),s;let g=e.startLineNumber,y=u.node;for(;y!==d.node;){const T=this.getLineFeedCnt(y.piece.bufferIndex,h,y.piece.end);if(T>=1){const I=this._buffers[y.piece.bufferIndex].lineStarts,F=this.offsetInBuffer(y.piece.bufferIndex,y.piece.start),q=I[h.line+T],re=g===e.startLineNumber?e.startColumn:1;if(a=this.findMatchesInNode(y,l,g,re,h,this.positionInBuffer(y,q-F),t,n,i,a,s),a>=i)return s;g+=T}const k=g===e.startLineNumber?e.startColumn-1:0;if(g===e.endLineNumber){const I=this.getLineContent(g).substring(k,e.endColumn-1);return a=this._findMatchesInLine(t,l,I,e.endLineNumber,k,a,s,n,i),s}if(a=this._findMatchesInLine(t,l,this.getLineContent(g).substr(k),g,k,a,s,n,i),a>=i)return s;g++,u=this.nodeAt2(g,1),y=u.node,h=this.positionInBuffer(u.node,u.remainder)}if(g===e.endLineNumber){const T=g===e.startLineNumber?e.startColumn-1:0,k=this.getLineContent(g).substring(T,e.endColumn-1);return a=this._findMatchesInLine(t,l,k,e.endLineNumber,T,a,s,n,i),s}const D=g===e.startLineNumber?e.startColumn:1;return a=this.findMatchesInNode(d.node,l,g,D,h,p,t,n,i,a,s),s}_findMatchesInLine(e,t,n,i,s,a,l,u,d){const h=e.wordSeparators;if(!u&&e.simpleSearch){const g=e.simpleSearch,y=g.length,D=n.length;let T=-y;for(;(T=n.indexOf(g,T+y))!==-1;)if((!h||Yq(h,n,D,T,y))&&(l[a++]=new j3(new He(i,T+1+s,i,T+1+y+s),null),a>=d))return a;return a}let p;t.reset(0);do if(p=t.next(n),p&&(l[a++]=R2(new He(i,p.index+1+s,i,p.index+1+p[0].length+s),p,u),a>=d))return a;while(p);return a}insert(e,t,n=!1){if(this._EOLNormalized=this._EOLNormalized&&n,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value=\"\",this.root!==$a){const{node:i,remainder:s,nodeStartOffset:a}=this.nodeAt(e),l=i.piece,u=l.bufferIndex,d=this.positionInBuffer(i,s);if(i.piece.bufferIndex===0&&l.end.line===this._lastChangeBufferPos.line&&l.end.column===this._lastChangeBufferPos.column&&a+l.length===e&&t.length<Vy){this.appendToNode(i,t),this.computeBufferMetadata();return}if(a===e)this.insertContentToNodeLeft(t,i),this._searchCache.validate(e);else if(a+i.piece.length>e){const h=[];let p=new t_(l.bufferIndex,d,l.end,this.getLineFeedCnt(l.bufferIndex,d,l.end),this.offsetInBuffer(u,l.end)-this.offsetInBuffer(u,d));if(this.shouldCheckCRLF()&&this.endWithCR(t)&&this.nodeCharCodeAt(i,s)===10){const T={line:p.start.line+1,column:0};p=new t_(p.bufferIndex,T,p.end,this.getLineFeedCnt(p.bufferIndex,T,p.end),p.length-1),t+=`\n`}if(this.shouldCheckCRLF()&&this.startWithLF(t))if(this.nodeCharCodeAt(i,s-1)===13){const T=this.positionInBuffer(i,s-1);this.deleteNodeTail(i,T),t=\"\\r\"+t,i.piece.length===0&&h.push(i)}else this.deleteNodeTail(i,d);else this.deleteNodeTail(i,d);const g=this.createNewPieces(t);p.length>0&&this.rbInsertRight(i,p);let y=i;for(let D=0;D<g.length;D++)y=this.rbInsertRight(y,g[D]);this.deleteNodes(h)}else this.insertContentToNodeRight(t,i)}else{const i=this.createNewPieces(t);let s=this.rbInsertLeft(null,i[0]);for(let a=1;a<i.length;a++)s=this.rbInsertRight(s,i[a])}this.computeBufferMetadata()}delete(e,t){if(this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value=\"\",t<=0||this.root===$a)return;const n=this.nodeAt(e),i=this.nodeAt(e+t),s=n.node,a=i.node;if(s===a){const g=this.positionInBuffer(s,n.remainder),y=this.positionInBuffer(s,i.remainder);if(n.nodeStartOffset===e){if(t===s.piece.length){const D=s.next();i5(this,s),this.validateCRLFWithPrevNode(D),this.computeBufferMetadata();return}this.deleteNodeHead(s,y),this._searchCache.validate(e),this.validateCRLFWithPrevNode(s),this.computeBufferMetadata();return}if(n.nodeStartOffset+s.piece.length===e+t){this.deleteNodeTail(s,g),this.validateCRLFWithNextNode(s),this.computeBufferMetadata();return}this.shrinkNode(s,g,y),this.computeBufferMetadata();return}const l=[],u=this.positionInBuffer(s,n.remainder);this.deleteNodeTail(s,u),this._searchCache.validate(e),s.piece.length===0&&l.push(s);const d=this.positionInBuffer(a,i.remainder);this.deleteNodeHead(a,d),a.piece.length===0&&l.push(a);const h=s.next();for(let g=h;g!==$a&&g!==a;g=g.next())l.push(g);const p=s.piece.length===0?s.prev():s;this.deleteNodes(l),this.validateCRLFWithNextNode(p),this.computeBufferMetadata()}insertContentToNodeLeft(e,t){const n=[];if(this.shouldCheckCRLF()&&this.endWithCR(e)&&this.startWithLF(t)){const a=t.piece,l={line:a.start.line+1,column:0},u=new t_(a.bufferIndex,l,a.end,this.getLineFeedCnt(a.bufferIndex,l,a.end),a.length-1);t.piece=u,e+=`\n`,Gy(this,t,-1,-1),t.piece.length===0&&n.push(t)}const i=this.createNewPieces(e);let s=this.rbInsertLeft(t,i[i.length-1]);for(let a=i.length-2;a>=0;a--)s=this.rbInsertLeft(s,i[a]);this.validateCRLFWithPrevNode(s),this.deleteNodes(n)}insertContentToNodeRight(e,t){this.adjustCarriageReturnFromNext(e,t)&&(e+=`\n`);const n=this.createNewPieces(e),i=this.rbInsertRight(t,n[0]);let s=i;for(let a=1;a<n.length;a++)s=this.rbInsertRight(s,n[a]);this.validateCRLFWithPrevNode(i)}positionInBuffer(e,t,n){const i=e.piece,s=e.piece.bufferIndex,a=this._buffers[s].lineStarts,u=a[i.start.line]+i.start.column+t;let d=i.start.line,h=i.end.line,p=0,g=0,y=0;for(;d<=h&&(p=d+(h-d)/2|0,y=a[p],p!==h);)if(g=a[p+1],u<y)h=p-1;else if(u>=g)d=p+1;else break;return n?(n.line=p,n.column=u-y,null):{line:p,column:u-y}}getLineFeedCnt(e,t,n){if(n.column===0)return n.line-t.line;const i=this._buffers[e].lineStarts;if(n.line===i.length-1)return n.line-t.line;const s=i[n.line+1],a=i[n.line]+n.column;if(s>a+1)return n.line-t.line;const l=a-1;return this._buffers[e].buffer.charCodeAt(l)===13?n.line-t.line+1:n.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++)i5(this,e[t])}createNewPieces(e){if(e.length>Vy){const h=[];for(;e.length>Vy;){const g=e.charCodeAt(Vy-1);let y;g===13||g>=55296&&g<=56319?(y=e.substring(0,Vy-1),e=e.substring(Vy-1)):(y=e.substring(0,Vy),e=e.substring(Vy));const D=Yy(y);h.push(new t_(this._buffers.length,{line:0,column:0},{line:D.length-1,column:y.length-D[D.length-1]},D.length-1,y.length)),this._buffers.push(new H2(y,D))}const p=Yy(e);return h.push(new t_(this._buffers.length,{line:0,column:0},{line:p.length-1,column:e.length-p[p.length-1]},p.length-1,e.length)),this._buffers.push(new H2(e,p)),h}let t=this._buffers[0].buffer.length;const n=Yy(e,!1);let i=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},i=this._lastChangeBufferPos;for(let h=0;h<n.length;h++)n[h]+=t+1;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(n.slice(1)),this._buffers[0].buffer+=\"_\"+e,t+=1}else{if(t!==0)for(let h=0;h<n.length;h++)n[h]+=t;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(n.slice(1)),this._buffers[0].buffer+=e}const s=this._buffers[0].buffer.length,a=this._buffers[0].lineStarts.length-1,l=s-this._buffers[0].lineStarts[a],u={line:a,column:l},d=new t_(0,i,u,this.getLineFeedCnt(0,i,u),s-t);return this._lastChangeBufferPos=u,[d]}getLineRawContent(e,t=0){let n=this.root,i=\"\";const s=this._searchCache.get2(e);if(s){n=s.node;const a=this.getAccumulatedValue(n,e-s.nodeStartLineNumber-1),l=this._buffers[n.piece.bufferIndex].buffer,u=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);if(s.nodeStartLineNumber+n.piece.lineFeedCnt===e)i=l.substring(u+a,u+n.piece.length);else{const d=this.getAccumulatedValue(n,e-s.nodeStartLineNumber);return l.substring(u+a,u+d-t)}}else{let a=0;const l=e;for(;n!==$a;)if(n.left!==$a&&n.lf_left>=e-1)n=n.left;else if(n.lf_left+n.piece.lineFeedCnt>e-1){const u=this.getAccumulatedValue(n,e-n.lf_left-2),d=this.getAccumulatedValue(n,e-n.lf_left-1),h=this._buffers[n.piece.bufferIndex].buffer,p=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return a+=n.size_left,this._searchCache.set({node:n,nodeStartOffset:a,nodeStartLineNumber:l-(e-1-n.lf_left)}),h.substring(p+u,p+d-t)}else if(n.lf_left+n.piece.lineFeedCnt===e-1){const u=this.getAccumulatedValue(n,e-n.lf_left-2),d=this._buffers[n.piece.bufferIndex].buffer,h=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i=d.substring(h+u,h+n.piece.length);break}else e-=n.lf_left+n.piece.lineFeedCnt,a+=n.size_left+n.piece.length,n=n.right}for(n=n.next();n!==$a;){const a=this._buffers[n.piece.bufferIndex].buffer;if(n.piece.lineFeedCnt>0){const l=this.getAccumulatedValue(n,0),u=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return i+=a.substring(u,u+l-t),i}else{const l=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i+=a.substr(l,n.piece.length)}n=n.next()}return i}computeBufferMetadata(){let e=this.root,t=1,n=0;for(;e!==$a;)t+=e.lf_left+e.piece.lineFeedCnt,n+=e.size_left+e.piece.length,e=e.right;this._lineCnt=t,this._length=n,this._searchCache.validate(this._length)}getIndexOf(e,t){const n=e.piece,i=this.positionInBuffer(e,t),s=i.line-n.start.line;if(this.offsetInBuffer(n.bufferIndex,n.end)-this.offsetInBuffer(n.bufferIndex,n.start)===t){const a=this.getLineFeedCnt(e.piece.bufferIndex,n.start,i);if(a!==s)return{index:a,remainder:0}}return{index:s,remainder:i.column}}getAccumulatedValue(e,t){if(t<0)return 0;const n=e.piece,i=this._buffers[n.bufferIndex].lineStarts,s=n.start.line+t+1;return s>n.end.line?i[n.end.line]+n.end.column-i[n.start.line]-n.start.column:i[s]-i[n.start.line]-n.start.column}deleteNodeTail(e,t){const n=e.piece,i=n.lineFeedCnt,s=this.offsetInBuffer(n.bufferIndex,n.end),a=t,l=this.offsetInBuffer(n.bufferIndex,a),u=this.getLineFeedCnt(n.bufferIndex,n.start,a),d=u-i,h=l-s,p=n.length+h;e.piece=new t_(n.bufferIndex,n.start,a,u,p),Gy(this,e,h,d)}deleteNodeHead(e,t){const n=e.piece,i=n.lineFeedCnt,s=this.offsetInBuffer(n.bufferIndex,n.start),a=t,l=this.getLineFeedCnt(n.bufferIndex,a,n.end),u=this.offsetInBuffer(n.bufferIndex,a),d=l-i,h=s-u,p=n.length+h;e.piece=new t_(n.bufferIndex,a,n.end,l,p),Gy(this,e,h,d)}shrinkNode(e,t,n){const i=e.piece,s=i.start,a=i.end,l=i.length,u=i.lineFeedCnt,d=t,h=this.getLineFeedCnt(i.bufferIndex,i.start,d),p=this.offsetInBuffer(i.bufferIndex,t)-this.offsetInBuffer(i.bufferIndex,s);e.piece=new t_(i.bufferIndex,i.start,d,h,p),Gy(this,e,p-l,h-u);const g=new t_(i.bufferIndex,n,a,this.getLineFeedCnt(i.bufferIndex,n,a),this.offsetInBuffer(i.bufferIndex,a)-this.offsetInBuffer(i.bufferIndex,n)),y=this.rbInsertRight(e,g);this.validateCRLFWithPrevNode(y)}appendToNode(e,t){this.adjustCarriageReturnFromNext(t,e)&&(t+=`\n`);const n=this.shouldCheckCRLF()&&this.startWithLF(t)&&this.endWithCR(e),i=this._buffers[0].buffer.length;this._buffers[0].buffer+=t;const s=Yy(t,!1);for(let y=0;y<s.length;y++)s[y]+=i;if(n){const y=this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-2];this._buffers[0].lineStarts.pop(),this._lastChangeBufferPos={line:this._lastChangeBufferPos.line-1,column:i-y}}this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(s.slice(1));const a=this._buffers[0].lineStarts.length-1,l=this._buffers[0].buffer.length-this._buffers[0].lineStarts[a],u={line:a,column:l},d=e.piece.length+t.length,h=e.piece.lineFeedCnt,p=this.getLineFeedCnt(0,e.piece.start,u),g=p-h;e.piece=new t_(e.piece.bufferIndex,e.piece.start,u,p,d),this._lastChangeBufferPos=u,Gy(this,e,t.length,g)}nodeAt(e){let t=this.root;const n=this._searchCache.get(e);if(n)return{node:n.node,nodeStartOffset:n.nodeStartOffset,remainder:e-n.nodeStartOffset};let i=0;for(;t!==$a;)if(t.size_left>e)t=t.left;else if(t.size_left+t.piece.length>=e){i+=t.size_left;const s={node:t,remainder:e-t.size_left,nodeStartOffset:i};return this._searchCache.set(s),s}else e-=t.size_left+t.piece.length,i+=t.size_left+t.piece.length,t=t.right;return null}nodeAt2(e,t){let n=this.root,i=0;for(;n!==$a;)if(n.left!==$a&&n.lf_left>=e-1)n=n.left;else if(n.lf_left+n.piece.lineFeedCnt>e-1){const s=this.getAccumulatedValue(n,e-n.lf_left-2),a=this.getAccumulatedValue(n,e-n.lf_left-1);return i+=n.size_left,{node:n,remainder:Math.min(s+t-1,a),nodeStartOffset:i}}else if(n.lf_left+n.piece.lineFeedCnt===e-1){const s=this.getAccumulatedValue(n,e-n.lf_left-2);if(s+t-1<=n.piece.length)return{node:n,remainder:s+t-1,nodeStartOffset:i};t-=n.piece.length-s;break}else e-=n.lf_left+n.piece.lineFeedCnt,i+=n.size_left+n.piece.length,n=n.right;for(n=n.next();n!==$a;){if(n.piece.lineFeedCnt>0){const s=this.getAccumulatedValue(n,0),a=this.offsetOfNode(n);return{node:n,remainder:Math.min(t-1,s),nodeStartOffset:a}}else if(n.piece.length>=t-1){const s=this.offsetOfNode(n);return{node:n,remainder:t-1,nodeStartOffset:s}}else t-=n.piece.length;n=n.next()}return null}nodeCharCodeAt(e,t){if(e.piece.lineFeedCnt<1)return-1;const n=this._buffers[e.piece.bufferIndex],i=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start)+t;return n.buffer.charCodeAt(i)}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===$a||e.piece.lineFeedCnt===0)return!1;const t=e.piece,n=this._buffers[t.bufferIndex].lineStarts,i=t.start.line,s=n[i]+t.start.column;return i===n.length-1||n[i+1]>s+1?!1:this._buffers[t.bufferIndex].buffer.charCodeAt(s)===10}endWithCR(e){return typeof e==\"string\"?e.charCodeAt(e.length-1)===13:e===$a||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 n=[],i=this._buffers[e.piece.bufferIndex].lineStarts;let s;e.piece.end.column===0?s={line:e.piece.end.line-1,column:i[e.piece.end.line]-i[e.piece.end.line-1]-1}:s={line:e.piece.end.line,column:e.piece.end.column-1};const a=e.piece.length-1,l=e.piece.lineFeedCnt-1;e.piece=new t_(e.piece.bufferIndex,e.piece.start,s,l,a),Gy(this,e,-1,-1),e.piece.length===0&&n.push(e);const u={line:t.piece.start.line+1,column:0},d=t.piece.length-1,h=this.getLineFeedCnt(t.piece.bufferIndex,u,t.piece.end);t.piece=new t_(t.piece.bufferIndex,u,t.piece.end,h,d),Gy(this,t,-1,-1),t.piece.length===0&&n.push(t);const p=this.createNewPieces(`\\r\n`);this.rbInsertRight(e,p[0]);for(let g=0;g<n.length;g++)i5(this,n[g])}adjustCarriageReturnFromNext(e,t){if(this.shouldCheckCRLF()&&this.endWithCR(e)){const n=t.next();if(this.startWithLF(n)){if(e+=`\n`,n.piece.length===1)i5(this,n);else{const i=n.piece,s={line:i.start.line+1,column:0},a=i.length-1,l=this.getLineFeedCnt(i.bufferIndex,s,i.end);n.piece=new t_(i.bufferIndex,s,i.end,l,a),Gy(this,n,-1,-1)}return!0}}return!1}iterate(e,t){if(e===$a)return t($a);const n=this.iterate(e.left,t);return n&&t(e)&&this.iterate(e.right,t)}getNodeContent(e){if(e===$a)return\"\";const t=this._buffers[e.piece.bufferIndex];let n;const i=e.piece,s=this.offsetInBuffer(i.bufferIndex,i.start),a=this.offsetInBuffer(i.bufferIndex,i.end);return n=t.buffer.substring(s,a),n}getPieceContent(e){const t=this._buffers[e.bufferIndex],n=this.offsetInBuffer(e.bufferIndex,e.start),i=this.offsetInBuffer(e.bufferIndex,e.end);return t.buffer.substring(n,i)}rbInsertRight(e,t){const n=new Wz(t,1);if(n.left=$a,n.right=$a,n.parent=$a,n.size_left=0,n.lf_left=0,this.root===$a)this.root=n,n.color=0;else if(e.right===$a)e.right=n,n.parent=e;else{const s=HG(e.right);s.left=n,n.parent=s}return wse(this,n),n}rbInsertLeft(e,t){const n=new Wz(t,1);if(n.left=$a,n.right=$a,n.parent=$a,n.size_left=0,n.lf_left=0,this.root===$a)this.root=n,n.color=0;else if(e.left===$a)e.left=n,n.parent=e;else{const i=_de(e.left);i.right=n,n.parent=i}return wse(this,n),n}}function PD(o){let e=0,t=0,n=0,i=0;for(let s=0,a=o.length;s<a;s++){const l=o.charCodeAt(s);l===13?(e===0&&(t=s),e++,s+1<a&&o.charCodeAt(s+1)===10?(i|=2,s++):i|=3,n=s+1):l===10&&(i|=1,e===0&&(t=s),e++,n=s+1)}return e===0&&(t=o.length),[e,t,o.length-n,i]}class zx extends fr{constructor(e,t,n,i,s,a,l){super(),this._onDidChangeContent=this._register(new ri),this._BOM=t,this._mightContainNonBasicASCII=!a,this._mightContainRTL=i,this._mightContainUnusualLineTerminators=s,this._pieceTree=new GFe(e,n,l)}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 n=e+t,i=this.getPositionAt(e),s=this.getPositionAt(n);return new He(i.lineNumber,i.column,s.lineNumber,s.column)}getValueInRange(e,t=0){if(e.isEmpty())return\"\";const n=this._getEndOfLine(t);return this._pieceTree.getValueInRange(e,n)}getValueLengthInRange(e,t=0){if(e.isEmpty())return 0;if(e.startLineNumber===e.endLineNumber)return e.endColumn-e.startColumn;const n=this.getOffsetAt(e.startLineNumber,e.startColumn);return this.getOffsetAt(e.endLineNumber,e.endColumn)-n}getCharacterCountInRange(e,t=0){if(this._mightContainNonBasicASCII){let n=0;const i=e.startLineNumber,s=e.endLineNumber;for(let a=i;a<=s;a++){const l=this.getLineContent(a),u=a===i?e.startColumn-1:0,d=a===s?e.endColumn-1:l.length;for(let h=u;h<d;h++)eh(l.charCodeAt(h))?(n=n+1,h=h+1):n=n+1}return n+=this._getEndOfLine(t).length*(s-i),n}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=pf(this.getLineContent(e));return t===-1?0:t+1}getLineLastNonWhitespaceColumn(e){const t=V1(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,n){let i=this._mightContainRTL,s=this._mightContainUnusualLineTerminators,a=this._mightContainNonBasicASCII,l=!0,u=[];for(let T=0;T<e.length;T++){const k=e[T];l&&k._isTracked&&(l=!1);const I=k.range;if(k.text){let mt=!0;a||(mt=!vP(k.text),a=mt),!i&&mt&&(i=bP(k.text)),!s&&mt&&(s=rue(k.text))}let F=\"\",q=0,re=0,Ie=0;if(k.text){let mt;[q,re,Ie,mt]=PD(k.text);const Le=this.getEOL();mt===0||mt===(Le===`\\r\n`?2:1)?F=k.text:F=k.text.replace(/\\r\\n|\\r|\\n/g,Le)}u[T]={sortIndex:T,identifier:k.identifier||null,range:I,rangeOffset:this.getOffsetAt(I.startLineNumber,I.startColumn),rangeLength:this.getValueLengthInRange(I),text:F,eolCount:q,firstLineLength:re,lastLineLength:Ie,forceMoveMarkers:Boolean(k.forceMoveMarkers),isAutoWhitespaceEdit:k.isAutoWhitespaceEdit||!1}}u.sort(zx._sortOpsAscending);let d=!1;for(let T=0,k=u.length-1;T<k;T++){const I=u[T].range.getEndPosition(),F=u[T+1].range.getStartPosition();if(F.isBeforeOrEqual(I)){if(F.isBefore(I))throw new Error(\"Overlapping ranges are not allowed!\");d=!0}}l&&(u=this._reduceOperations(u));const h=n||t?zx._getInverseEditRanges(u):[],p=[];if(t)for(let T=0;T<u.length;T++){const k=u[T],I=h[T];if(k.isAutoWhitespaceEdit&&k.range.isEmpty())for(let F=I.startLineNumber;F<=I.endLineNumber;F++){let q=\"\";F===I.startLineNumber&&(q=this.getLineContent(k.range.startLineNumber),pf(q)!==-1)||p.push({lineNumber:F,oldContent:q})}}let g=null;if(n){let T=0;g=[];for(let k=0;k<u.length;k++){const I=u[k],F=h[k],q=this.getValueInRange(I.range),re=I.rangeOffset+T;T+=I.text.length-q.length,g[k]={sortIndex:I.sortIndex,identifier:I.identifier,range:F,text:q,textChange:new qh(I.rangeOffset,q,re,I.text)}}d||g.sort((k,I)=>k.sortIndex-I.sortIndex)}this._mightContainRTL=i,this._mightContainUnusualLineTerminators=s,this._mightContainNonBasicASCII=a;const y=this._doApplyEdits(u);let D=null;if(t&&p.length>0){p.sort((T,k)=>k.lineNumber-T.lineNumber),D=[];for(let T=0,k=p.length;T<k;T++){const I=p[T].lineNumber;if(T>0&&p[T-1].lineNumber===I)continue;const F=p[T].oldContent,q=this.getLineContent(I);q.length===0||q===F||pf(q)!==-1||D.push(I)}}return this._onDidChangeContent.fire(),new IAe(g,y,D)}_reduceOperations(e){return e.length<1e3?e:[this._toSingleEditOperation(e)]}_toSingleEditOperation(e){let t=!1;const n=e[0].range,i=e[e.length-1].range,s=new He(n.startLineNumber,n.startColumn,i.endLineNumber,i.endColumn);let a=n.startLineNumber,l=n.startColumn;const u=[];for(let y=0,D=e.length;y<D;y++){const T=e[y],k=T.range;t=t||T.forceMoveMarkers,u.push(this.getValueInRange(new He(a,l,k.startLineNumber,k.startColumn))),T.text.length>0&&u.push(T.text),a=k.endLineNumber,l=k.endColumn}const d=u.join(\"\"),[h,p,g]=PD(d);return{sortIndex:0,identifier:e[0].identifier,range:s,rangeOffset:this.getOffsetAt(s.startLineNumber,s.startColumn),rangeLength:this.getValueLengthInRange(s,0),text:d,eolCount:h,firstLineLength:p,lastLineLength:g,forceMoveMarkers:t,isAutoWhitespaceEdit:!1}}_doApplyEdits(e){e.sort(zx._sortOpsDescending);const t=[];for(let n=0;n<e.length;n++){const i=e[n],s=i.range.startLineNumber,a=i.range.startColumn,l=i.range.endLineNumber,u=i.range.endColumn;if(s===l&&a===u&&i.text.length===0)continue;i.text?(this._pieceTree.delete(i.rangeOffset,i.rangeLength),this._pieceTree.insert(i.rangeOffset,i.text,!0)):this._pieceTree.delete(i.rangeOffset,i.rangeLength);const d=new He(s,a,l,u);t.push({range:d,rangeLength:i.rangeLength,text:i.text,rangeOffset:i.rangeOffset,forceMoveMarkers:i.forceMoveMarkers})}return t}findMatchesLineByLine(e,t,n,i){return this._pieceTree.findMatchesLineByLine(e,t,n,i)}static _getInverseEditRanges(e){const t=[];let n=0,i=0,s=null;for(let a=0,l=e.length;a<l;a++){const u=e[a];let d,h;s?s.range.endLineNumber===u.range.startLineNumber?(d=n,h=i+(u.range.startColumn-s.range.endColumn)):(d=n+(u.range.startLineNumber-s.range.endLineNumber),h=u.range.startColumn):(d=u.range.startLineNumber,h=u.range.startColumn);let p;if(u.text.length>0){const g=u.eolCount+1;g===1?p=new He(d,h,d,h+u.firstLineLength):p=new He(d,h,d+g-1,u.lastLineLength+1)}else p=new He(d,h,d,h);n=p.endLineNumber,i=p.endColumn,t.push(p),s=u}return t}static _sortOpsAscending(e,t){const n=He.compareRangesUsingEnds(e.range,t.range);return n===0?e.sortIndex-t.sortIndex:n}static _sortOpsDescending(e,t){const n=He.compareRangesUsingEnds(e.range,t.range);return n===0?t.sortIndex-e.sortIndex:-n}}class JFe{constructor(e,t,n,i,s,a,l,u,d){this._chunks=e,this._bom=t,this._cr=n,this._lf=i,this._crlf=s,this._containsRTL=a,this._containsUnusualLineTerminators=l,this._isBasicASCII=u,this._normalizeEOL=d}_getEOL(e){const t=this._cr+this._lf+this._crlf,n=this._cr+this._crlf;return t===0?e===1?`\n`:`\\r\n`:n>t/2?`\\r\n`:`\n`}create(e){const t=this._getEOL(e),n=this._chunks;if(this._normalizeEOL&&(t===`\\r\n`&&(this._cr>0||this._lf>0)||t===`\n`&&(this._cr>0||this._crlf>0)))for(let s=0,a=n.length;s<a;s++){const l=n[s].buffer.replace(/\\r\\n|\\r|\\n/g,t),u=Yy(l);n[s]=new H2(l,u)}const i=new zx(n,this._bom,t,this._containsRTL,this._containsUnusualLineTerminators,this._isBasicASCII,this._normalizeEOL);return{textBuffer:i,disposable:i}}}class YFe{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&&jq(e)&&(this.BOM=dAe,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=UFe(this._tmpLineStarts,e);this.chunks.push(new H2(e,t.lineStarts)),this.cr+=t.cr,this.lf+=t.lf,this.crlf+=t.crlf,this.isBasicASCII&&(this.isBasicASCII=t.isBasicASCII),!this.isBasicASCII&&!this.containsRTL&&(this.containsRTL=bP(e)),!this.isBasicASCII&&!this.containsUnusualLineTerminators&&(this.containsUnusualLineTerminators=rue(e))}finish(e=!0){return this._finish(),new JFe(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=Yy(e.buffer);e.lineStarts=t,this._previousChar===13&&this.cr++}}}class XFe{constructor(e,t){this._startLineNumber=e,this._tokens=t}get startLineNumber(){return this._startLineNumber}get endLineNumber(){return this._startLineNumber+this._tokens.length-1}getLineTokens(e){return this._tokens[e-this._startLineNumber]}appendLineTokens(e){this._tokens.push(e)}}class NV{constructor(){this._tokens=[]}add(e,t){if(this._tokens.length>0){const n=this._tokens[this._tokens.length-1];if(n.endLineNumber+1===e){n.appendLineTokens(t);return}}this._tokens.push(new XFe(e,[t]))}finalize(){return this._tokens}}class Sse{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}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 n=[];for(let i=0;i<t;i++)n[i]=this._default;this._store=_P(this._store,e,n)}}class QFe{constructor(e,t){this.tokenizationSupport=e,this.initialState=t,this._lineBeginState=new Sse(null),this._lineNeedsTokenization=new Sse(!0),this._firstLineNeedsTokenization=0,this._lineBeginState.set(0,this.initialState)}get invalidLineStartIndex(){return this._firstLineNeedsTokenization}markMustBeTokenized(e){this._lineNeedsTokenization.set(e,!0),this._firstLineNeedsTokenization=Math.min(this._firstLineNeedsTokenization,e)}getBeginState(e){return this._lineBeginState.get(e)}setEndState(e,t,n){if(this._lineNeedsTokenization.set(t,!1),this._firstLineNeedsTokenization=t+1,t===e-1)return;const i=this._lineBeginState.get(t+1);if(i===null||!n.equals(i)){this._lineBeginState.set(t+1,n),this.markMustBeTokenized(t+1);return}let s=t+1;for(;s<e&&!this._lineNeedsTokenization.get(s);)s++;this._firstLineNeedsTokenization=s}applyEdits(e,t){this.markMustBeTokenized(e.startLineNumber-1),this._lineBeginState.delete(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineNeedsTokenization.delete(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineBeginState.insert(e.startLineNumber,t),this._lineNeedsTokenization.insert(e.startLineNumber,t)}}class ZFe extends fr{constructor(e,t){super(),this._textModel=e,this._languageIdCodec=t,this._isScheduled=!1,this._isDisposed=!1,this._tokenizationStateStore=null,this._register(Ic.onDidChange(n=>{const i=this._textModel.getLanguageId();n.changedLanguages.indexOf(i)!==-1&&(this._resetTokenizationState(),this._textModel.clearTokens())})),this._resetTokenizationState()}dispose(){this._isDisposed=!0,super.dispose()}handleDidChangeContent(e){if(e.isFlush){this._resetTokenizationState();return}if(this._tokenizationStateStore)for(let t=0,n=e.changes.length;t<n;t++){const i=e.changes[t],[s]=PD(i.text);this._tokenizationStateStore.applyEdits(i.range,s)}this._beginBackgroundTokenization()}handleDidChangeAttached(){this._beginBackgroundTokenization()}handleDidChangeLanguage(e){this._resetTokenizationState(),this._textModel.clearTokens()}_resetTokenizationState(){const[e,t]=e5e(this._textModel);e&&t?this._tokenizationStateStore=new QFe(e,t):this._tokenizationStateStore=null,this._beginBackgroundTokenization()}_beginBackgroundTokenization(){this._isScheduled||!this._textModel.isAttachedToEditor()||!this._hasLinesToTokenize()||(this._isScheduled=!0,V3(e=>{this._isScheduled=!1,this._backgroundTokenizeWithDeadline(e)}))}_backgroundTokenizeWithDeadline(e){const t=Date.now()+e.timeRemaining(),n=()=>{this._isDisposed||!this._textModel.isAttachedToEditor()||!this._hasLinesToTokenize()||(this._backgroundTokenizeForAtLeast1ms(),Date.now()<t?Tle(n):this._beginBackgroundTokenization())};n()}_backgroundTokenizeForAtLeast1ms(){const e=this._textModel.getLineCount(),t=new NV,n=Bf.create(!1);do if(n.elapsed()>1||this._tokenizeOneInvalidLine(t)>=e)break;while(this._hasLinesToTokenize());this._textModel.setTokens(t.finalize(),!this._hasLinesToTokenize())}tokenizeViewport(e,t){const n=new NV;this._tokenizeViewport(n,e,t),this._textModel.setTokens(n.finalize(),!this._hasLinesToTokenize())}reset(){this._resetTokenizationState(),this._textModel.clearTokens()}forceTokenization(e){const t=new NV;this._updateTokensUntilLine(t,e),this._textModel.setTokens(t.finalize(),!this._hasLinesToTokenize())}getTokenTypeIfInsertingCharacter(e,t){if(!this._tokenizationStateStore)return 0;this.forceTokenization(e.lineNumber);const n=this._tokenizationStateStore.getBeginState(e.lineNumber-1);if(!n)return 0;const i=this._textModel.getLanguageId(),s=this._textModel.getLineContent(e.lineNumber),a=s.substring(0,e.column-1)+t+s.substring(e.column-1),l=Ek(this._languageIdCodec,i,this._tokenizationStateStore.tokenizationSupport,a,!0,n),u=new th(l.tokens,a,this._languageIdCodec);if(u.getCount()===0)return 0;const d=u.findTokenIndexAtOffset(e.column-1);return u.getStandardTokenType(d)}tokenizeLineWithEdit(e,t,n){const i=e.lineNumber,s=e.column;if(!this._tokenizationStateStore)return null;this.forceTokenization(i);const a=this._tokenizationStateStore.getBeginState(i-1);if(!a)return null;const l=this._textModel.getLineContent(i),u=l.substring(0,s-1)+n+l.substring(s-1+t),d=this._textModel.getLanguageIdAtPosition(i,0),h=Ek(this._languageIdCodec,d,this._tokenizationStateStore.tokenizationSupport,u,!0,a);return new th(h.tokens,u,this._languageIdCodec)}isCheapToTokenize(e){if(!this._tokenizationStateStore)return!0;const t=this._tokenizationStateStore.invalidLineStartIndex+1;return e>t?!1:e<t||this._textModel.getLineLength(e)<2048}_hasLinesToTokenize(){return this._tokenizationStateStore?this._tokenizationStateStore.invalidLineStartIndex<this._textModel.getLineCount():!1}_tokenizeOneInvalidLine(e){if(!this._tokenizationStateStore||!this._hasLinesToTokenize())return this._textModel.getLineCount()+1;const t=this._tokenizationStateStore.invalidLineStartIndex+1;return this._updateTokensUntilLine(e,t),t}_updateTokensUntilLine(e,t){if(!this._tokenizationStateStore)return;const n=this._textModel.getLanguageId(),i=this._textModel.getLineCount(),s=t-1;for(let a=this._tokenizationStateStore.invalidLineStartIndex;a<=s;a++){const l=this._textModel.getLineContent(a+1),u=this._tokenizationStateStore.getBeginState(a),d=Ek(this._languageIdCodec,n,this._tokenizationStateStore.tokenizationSupport,l,!0,u);e.add(a+1,d.tokens),this._tokenizationStateStore.setEndState(i,a,d.endState),a=this._tokenizationStateStore.invalidLineStartIndex-1}}_tokenizeViewport(e,t,n){if(!this._tokenizationStateStore||n<=this._tokenizationStateStore.invalidLineStartIndex)return;if(t<=this._tokenizationStateStore.invalidLineStartIndex){this._updateTokensUntilLine(e,n);return}let i=this._textModel.getLineFirstNonWhitespaceColumn(t);const s=[];let a=null;for(let d=t-1;i>1&&d>=1;d--){const h=this._textModel.getLineFirstNonWhitespaceColumn(d);if(h!==0&&h<i){if(a=this._tokenizationStateStore.getBeginState(d-1),a)break;s.push(this._textModel.getLineContent(d)),i=h}}a||(a=this._tokenizationStateStore.initialState);const l=this._textModel.getLanguageId();let u=a;for(let d=s.length-1;d>=0;d--)u=Ek(this._languageIdCodec,l,this._tokenizationStateStore.tokenizationSupport,s[d],!1,u).endState;for(let d=t;d<=n;d++){const h=this._textModel.getLineContent(d),p=Ek(this._languageIdCodec,l,this._tokenizationStateStore.tokenizationSupport,h,!0,u);e.add(d,p.tokens),this._tokenizationStateStore.markMustBeTokenized(d-1),u=p.endState}}}function e5e(o){if(o.isTooLargeForTokenization())return[null,null];const e=Ic.get(o.getLanguageId());if(!e)return[null,null];let t;try{t=e.getInitialState()}catch(n){return tl(n),[null,null]}return[e,t]}function Ek(o,e,t,n,i,s){let a=null;if(t)try{a=t.tokenizeEncoded(n,i,s.clone())}catch(l){tl(l)}return a||(a=Kq(o.encodeLanguageId(e),s)),th.convertToEndOffset(a.tokens,n.length),a}const Xy=new Uint32Array(0).buffer;class b1{static deleteBeginning(e,t){return e===null||e===Xy?e:b1.delete(e,0,t)}static deleteEnding(e,t){if(e===null||e===Xy)return e;const n=lb(e),i=n[n.length-2];return b1.delete(e,t,i)}static delete(e,t,n){if(e===null||e===Xy||t===n)return e;const i=lb(e),s=i.length>>>1;if(t===0&&i[i.length-2]===n)return Xy;const a=th.findIndexInTokensArray(i,t),l=a>0?i[a-1<<1]:0,u=i[a<<1];if(n<u){const y=n-t;for(let D=a;D<s;D++)i[D<<1]-=y;return e}let d,h;l!==t?(i[a<<1]=t,d=a+1<<1,h=t):(d=a<<1,h=l);const p=n-t;for(let y=a+1;y<s;y++){const D=i[y<<1]-p;D>h&&(i[d++]=D,i[d++]=i[(y<<1)+1],h=D)}if(d===i.length)return e;const g=new Uint32Array(d);return g.set(i.subarray(0,d),0),g.buffer}static append(e,t){if(t===Xy)return e;if(e===Xy)return t;if(e===null)return e;if(t===null)return null;const n=lb(e),i=lb(t),s=i.length>>>1,a=new Uint32Array(n.length+i.length);a.set(n,0);let l=n.length;const u=n[n.length-2];for(let d=0;d<s;d++)a[l++]=i[d<<1]+u,a[l++]=i[(d<<1)+1];return a.buffer}static insert(e,t,n){if(e===null||e===Xy)return e;const i=lb(e),s=i.length>>>1;let a=th.findIndexInTokensArray(i,t);a>0&&i[a-1<<1]===t&&a--;for(let l=a;l<s;l++)i[l<<1]+=n;return e}}function lb(o){return o instanceof Uint32Array?o:new Uint32Array(o)}class v7{constructor(e){this._lineTokens=[],this._len=0,this._languageIdCodec=e}flush(){this._lineTokens=[],this._len=0}getTokens(e,t,n){let i=null;if(t<this._len&&(i=this._lineTokens[t]),i!==null&&i!==Xy)return new th(lb(i),n,this._languageIdCodec);const s=new Uint32Array(2);return s[0]=n.length,s[1]=xse(this._languageIdCodec.encodeLanguageId(e)),new th(s,n,this._languageIdCodec)}static _massageTokens(e,t,n){const i=n?lb(n):null;if(t===0){let s=!1;if(i&&i.length>1&&(s=yp.getLanguageId(i[1])!==e),!s)return Xy}if(!i||i.length===0){const s=new Uint32Array(2);return s[0]=t,s[1]=xse(e),s.buffer}return i[i.length-2]=t,i.byteOffset===0&&i.byteLength===i.buffer.byteLength?i.buffer:i}_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 n=[];for(let i=0;i<t;i++)n[i]=null;this._lineTokens=_P(this._lineTokens,e,n),this._len+=t}setTokens(e,t,n,i,s){const a=v7._massageTokens(this._languageIdCodec.encodeLanguageId(e),n,i);this._ensureLine(t);const l=this._lineTokens[t];return this._lineTokens[t]=a,s?!v7._equals(l,a):!1}static _equals(e,t){if(!e||!t)return!e&&!t;const n=lb(e),i=lb(t);if(n.length!==i.length)return!1;for(let s=0,a=n.length;s<a;s++)if(n[s]!==i[s])return!1;return!0}acceptEdit(e,t,n){this._acceptDeleteRange(e),this._acceptInsertText(new Ii(e.startLineNumber,e.startColumn),t,n)}_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]=b1.delete(this._lineTokens[t],e.startColumn-1,e.endColumn-1);return}this._lineTokens[t]=b1.deleteEnding(this._lineTokens[t],e.startColumn-1);const n=e.endLineNumber-1;let i=null;n<this._len&&(i=b1.deleteBeginning(this._lineTokens[n],e.endColumn-1)),this._lineTokens[t]=b1.append(this._lineTokens[t],i),this._deleteLines(e.startLineNumber,e.endLineNumber-e.startLineNumber)}_acceptInsertText(e,t,n){if(t===0&&n===0)return;const i=e.lineNumber-1;if(!(i>=this._len)){if(t===0){this._lineTokens[i]=b1.insert(this._lineTokens[i],e.column-1,n);return}this._lineTokens[i]=b1.deleteEnding(this._lineTokens[i],e.column-1),this._lineTokens[i]=b1.insert(this._lineTokens[i],e.column-1,n),this._insertLines(e.lineNumber,t)}}}function xse(o){return(o<<0|0<<8|0<<10|1<<14|2<<23)>>>0}class UG{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 n=e;if(t.length>0){const s=t[0].getRange(),a=t[t.length-1].getRange();if(!s||!a)return e;n=e.plusRange(s).plusRange(a)}let i=null;for(let s=0,a=this._pieces.length;s<a;s++){const l=this._pieces[s];if(l.endLineNumber<n.startLineNumber)continue;if(l.startLineNumber>n.endLineNumber){i=i||{index:s};break}if(l.removeTokens(n),l.isEmpty()){this._pieces.splice(s,1),s--,a--;continue}if(l.endLineNumber<n.startLineNumber)continue;if(l.startLineNumber>n.endLineNumber){i=i||{index:s};continue}const[u,d]=l.split(n);if(u.isEmpty()){i=i||{index:s};continue}d.isEmpty()||(this._pieces.splice(s,1,u,d),s++,a++,i=i||{index:s})}return i=i||{index:this._pieces.length},t.length>0&&(this._pieces=_P(this._pieces,i.index,t)),n}isComplete(){return this._isComplete}addSparseTokens(e,t){const n=this._pieces;if(n.length===0)return t;const i=UG._findFirstPieceWithLine(n,e),s=n[i].getLineTokens(e);if(!s)return t;const a=t.getCount(),l=s.getCount();let u=0;const d=[];let h=0,p=0;const g=(y,D)=>{y!==p&&(p=y,d[h++]=y,d[h++]=D)};for(let y=0;y<l;y++){const D=s.getStartCharacter(y),T=s.getEndCharacter(y),k=s.getMetadata(y),I=((k&1?1024:0)|(k&2?2048:0)|(k&4?4096:0)|(k&8?8192:0)|(k&16?8372224:0)|(k&32?4286578688:0))>>>0,F=~I>>>0;for(;u<a&&t.getEndOffset(u)<=D;)g(t.getEndOffset(u),t.getMetadata(u)),u++;for(u<a&&t.getStartOffset(u)<D&&g(D,t.getMetadata(u));u<a&&t.getEndOffset(u)<T;)g(t.getEndOffset(u),t.getMetadata(u)&F|k&I),u++;if(u<a)g(T,t.getMetadata(u)&F|k&I),t.getEndOffset(u)===T&&u++;else{const q=Math.min(Math.max(0,u-1),a-1);g(T,t.getMetadata(q)&F|k&I)}}for(;u<a;)g(t.getEndOffset(u),t.getMetadata(u)),u++;return new th(new Uint32Array(d),t.getLineContent(),this._languageIdCodec)}static _findFirstPieceWithLine(e,t){let n=0,i=e.length-1;for(;n<i;){let s=n+Math.floor((i-n)/2);if(e[s].endLineNumber<t)n=s+1;else if(e[s].startLineNumber>t)i=s-1;else{for(;s>n&&e[s-1].startLineNumber<=t&&t<=e[s-1].endLineNumber;)s--;return s}}return n}acceptEdit(e,t,n,i,s){for(const a of this._pieces)a.acceptEdit(e,t,n,i,s)}}const n9=zl(\"undoRedoService\");class mde{constructor(e,t){this.resource=e,this.elements=t}}class fE{constructor(){this.id=fE._ID++,this.order=1}nextOrder(){return this.id===0?0:this.order++}}fE._ID=0;fE.None=new fE;class N1{constructor(){this.id=N1._ID++,this.order=1}nextOrder(){return this.id===0?0:this.order++}}N1._ID=0;N1.None=new N1;var t5e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},IV=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};function n5e(){return new YFe}function i5e(o){const e=n5e();return e.acceptChunk(o),e.finish()}function Ese(o,e){return(typeof o==\"string\"?i5e(o):o).create(e)}let r5=0;const r5e=999,s5e=1e4;class o5e{constructor(e){this._source=e,this._eos=!1}read(){if(this._eos)return null;const e=[];let t=0,n=0;do{const i=this._source.read();if(i===null)return this._eos=!0,t===0?null:e.join(\"\");if(i.length>0&&(e[t++]=i,n+=i.length),n>=64*1024)return e.join(\"\")}while(!0)}}const Tk=()=>{throw new Error(\"Invalid change accessor\")};let xb=class F2 extends fr{constructor(e,t,n,i=null,s,a,l){super(),this._undoRedoService=s,this._languageService=a,this._languageConfigurationService=l,this._onWillDispose=this._register(new ri),this.onWillDispose=this._onWillDispose.event,this._onDidChangeDecorations=this._register(new c5e(g=>this.handleBeforeFireDecorationsChangedEvent(g))),this.onDidChangeDecorations=this._onDidChangeDecorations.event,this._onDidChangeLanguage=this._register(new ri),this.onDidChangeLanguage=this._onDidChangeLanguage.event,this._onDidChangeLanguageConfiguration=this._register(new ri),this.onDidChangeLanguageConfiguration=this._onDidChangeLanguageConfiguration.event,this._onDidChangeTokens=this._register(new ri),this.onDidChangeTokens=this._onDidChangeTokens.event,this._onDidChangeOptions=this._register(new ri),this.onDidChangeOptions=this._onDidChangeOptions.event,this._onDidChangeAttached=this._register(new ri),this.onDidChangeAttached=this._onDidChangeAttached.event,this._onDidChangeInjectedText=this._register(new ri),this._eventEmitter=this._register(new d5e),this._backgroundTokenizationState=0,this._onBackgroundTokenizationStateChanged=this._register(new ri),r5++,this.id=\"$model\"+r5,this.isForSimpleWidget=n.isForSimpleWidget,typeof i==\"undefined\"||i===null?this._associatedResource=wa.parse(\"inmemory://model/\"+r5):this._associatedResource=i,this._attachedEditorCount=0;const{textBuffer:u,disposable:d}=Ese(e,n.defaultEOL);this._buffer=u,this._bufferDisposable=d,this._options=F2.resolveOptions(this._buffer,n);const h=this._buffer.getLineCount(),p=this._buffer.getValueLengthInRange(new He(1,1,h,this._buffer.getLineLength(h)+1),0);n.largeFileOptimizations?this._isTooLargeForTokenization=p>F2.LARGE_FILE_SIZE_THRESHOLD||h>F2.LARGE_FILE_LINE_COUNT_THRESHOLD:this._isTooLargeForTokenization=!1,this._isTooLargeForSyncing=p>F2.MODEL_SYNC_LIMIT,this._versionId=1,this._alternativeVersionId=1,this._initialUndoRedoSnapshot=null,this._isDisposed=!1,this._isDisposing=!1,this._languageId=t,this._languageRegistryListener=this._languageConfigurationService.onDidChange(g=>{g.affects(this._languageId)&&this._onDidChangeLanguageConfiguration.fire({})}),this._instanceId=sue(r5),this._lastDecorationId=0,this._decorations=Object.create(null),this._decorationsTree=new Tse,this._commandManager=new VG(this,this._undoRedoService),this._isUndoing=!1,this._isRedoing=!1,this._trimAutoWhitespaceLines=null,this._tokens=new v7(this._languageService.languageIdCodec),this._semanticTokens=new UG(this._languageService.languageIdCodec),this._tokenization=new ZFe(this,this._languageService.languageIdCodec),this._bracketPairColorizer=this._register(new yFe(this,this._languageConfigurationService)),this._guidesTextModelPart=this._register(new j6e(this,this._languageConfigurationService)),this._decorationProvider=this._register(new vFe(this)),this._register(this._decorationProvider.onDidChange(()=>{this._onDidChangeDecorations.beginDeferredEmit(),this._onDidChangeDecorations.fire(),this._onDidChangeDecorations.endDeferredEmit()}))}static resolveOptions(e,t){if(t.detectIndentation){const n=mse(e,t.tabSize,t.insertSpaces);return new Z5({tabSize:n.tabSize,indentSize:n.tabSize,insertSpaces:n.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL,bracketPairColorizationOptions:t.bracketPairColorizationOptions})}return new Z5({tabSize:t.tabSize,indentSize:t.indentSize,insertSpaces:t.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL,bracketPairColorizationOptions:t.bracketPairColorizationOptions})}onDidChangeContent(e){return this._eventEmitter.slowEvent(t=>e(t.contentChangedEvent))}onDidChangeContentOrInjectedText(e){return gb(this._eventEmitter.fastEvent(t=>e(t.rawContentChangedEvent)),this._onDidChangeInjectedText.event(t=>e(t)))}get bracketPairs(){return this._bracketPairColorizer}get guides(){return this._guidesTextModelPart}get backgroundTokenizationState(){return this._backgroundTokenizationState}handleTokenizationProgress(e){if(this._backgroundTokenizationState===2)return;const t=e?2:1;this._backgroundTokenizationState!==t&&(this._backgroundTokenizationState=t,this._bracketPairColorizer.handleDidChangeBackgroundTokenizationState(),this._onBackgroundTokenizationStateChanged.fire())}dispose(){this._isDisposing=!0,this._onWillDispose.fire(),this._languageRegistryListener.dispose(),this._tokenization.dispose(),this._isDisposed=!0,super.dispose(),this._bufferDisposable.dispose(),this._isDisposing=!1;const e=new zx([],\"\",`\n`,!1,!1,!0,!0);e.dispose(),this._buffer=e,this._bufferDisposable=fr.None}_assertNotDisposed(){if(this._isDisposed)throw new Error(\"Model is disposed!\")}_emitContentChangedEvent(e,t){this._isDisposing||(this._bracketPairColorizer.handleDidChangeContent(t),this._tokenization.handleDidChangeContent(t),this._eventEmitter.fire(new _7(e,t)))}setValue(e){if(this._assertNotDisposed(),e===null)return;const{textBuffer:t,disposable:n}=Ese(e,this._options.defaultEOL);this._setValueFromTextBuffer(t,n)}_createContentChanged2(e,t,n,i,s,a,l){return{changes:[{range:e,rangeOffset:t,rangeLength:n,text:i}],eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:s,isRedoing:a,isFlush:l}}_setValueFromTextBuffer(e,t){this._assertNotDisposed();const n=this.getFullModelRange(),i=this.getValueLengthInRange(n),s=this.getLineCount(),a=this.getLineMaxColumn(s);this._buffer=e,this._bufferDisposable.dispose(),this._bufferDisposable=t,this._increaseVersionId(),this._tokens.flush(),this._semanticTokens.flush(),this._decorations=Object.create(null),this._decorationsTree=new Tse,this._commandManager.clear(),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new fD([new _Ie],this._versionId,!1,!1),this._createContentChanged2(new He(1,1,s,a),0,i,this.getValue(),!1,!1,!0))}setEOL(e){this._assertNotDisposed();const t=e===1?`\\r\n`:`\n`;if(this._buffer.getEOL()===t)return;const n=this.getFullModelRange(),i=this.getValueLengthInRange(n),s=this.getLineCount(),a=this.getLineMaxColumn(s);this._onBeforeEOLChange(),this._buffer.setEOL(t),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new fD([new yIe],this._versionId,!1,!1),this._createContentChanged2(new He(1,1,s,a),0,i,this.getValue(),!1,!1,!1))}_onBeforeEOLChange(){this._decorationsTree.ensureAllNodesHaveRanges(this)}_onAfterEOLChange(){const e=this.getVersionId(),t=this._decorationsTree.collectNodesPostOrder();for(let n=0,i=t.length;n<i;n++){const s=t[n],a=s.range,l=s.cachedAbsoluteStart-s.start,u=this._buffer.getOffsetAt(a.startLineNumber,a.startColumn),d=this._buffer.getOffsetAt(a.endLineNumber,a.endColumn);s.cachedAbsoluteStart=u,s.cachedAbsoluteEnd=d,s.cachedVersionId=e,s.start=u-l,s.end=d-l,aC(s)}}onBeforeAttached(){this._attachedEditorCount++,this._attachedEditorCount===1&&(this._tokenization.handleDidChangeAttached(),this._onDidChangeAttached.fire(void 0))}onBeforeDetached(){this._attachedEditorCount--,this._attachedEditorCount===0&&(this._tokenization.handleDidChangeAttached(),this._onDidChangeAttached.fire(void 0))}isAttachedToEditor(){return this._attachedEditorCount>0}getAttachedEditorCount(){return this._attachedEditorCount}isTooLargeForSyncing(){return this._isTooLargeForSyncing}isTooLargeForTokenization(){return this._isTooLargeForTokenization}isDisposed(){return this._isDisposed}isDominatedByLongLines(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;let e=0,t=0;const n=this._buffer.getLineCount();for(let i=1;i<=n;i++){const s=this._buffer.getLineLength(i);s>=s5e?t+=s:e+=s}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!=\"undefined\"?e.tabSize:this._options.tabSize,n=typeof e.indentSize!=\"undefined\"?e.indentSize:this._options.indentSize,i=typeof e.insertSpaces!=\"undefined\"?e.insertSpaces:this._options.insertSpaces,s=typeof e.trimAutoWhitespace!=\"undefined\"?e.trimAutoWhitespace:this._options.trimAutoWhitespace,a=typeof e.bracketColorizationOptions!=\"undefined\"?e.bracketColorizationOptions:this._options.bracketPairColorizationOptions,l=new Z5({tabSize:t,indentSize:n,insertSpaces:i,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:s,bracketPairColorizationOptions:a});if(this._options.equals(l))return;const u=this._options.createChangeEvent(l);this._options=l,this._bracketPairColorizer.handleDidChangeOptions(u),this._decorationProvider.handleDidChangeOptions(u),this._onDidChangeOptions.fire(u)}detectIndentation(e,t){this._assertNotDisposed();const n=mse(this._buffer,t,e);this.updateOptions({insertSpaces:n.insertSpaces,tabSize:n.tabSize,indentSize:n.tabSize})}normalizeIndentation(e){return this._assertNotDisposed(),a7(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(iue.source,!1,!0,!1,null,!1,1073741824);this._buffer.resetMightContainUnusualLineTerminators(),this.pushEditOperations(e,t.map(n=>({range:n.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){this._assertNotDisposed();const n=this.getFullModelRange(),i=this.getValueInRange(n,e);return t?this._buffer.getBOM()+i:i}createSnapshot(e=!1){return new o5e(this._buffer.createSnapshot(e))}getValueLength(e,t=!1){this._assertNotDisposed();const n=this.getFullModelRange(),i=this.getValueLengthInRange(n,e);return t?this._buffer.getBOM().length+i:i}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 Error(\"Illegal value for lineNumber\");return this._buffer.getLineContent(e)}getLineLength(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error(\"Illegal value for lineNumber\");return this._buffer.getLineLength(e)}getLinesContent(){return this._assertNotDisposed(),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 Error(\"Illegal value for lineNumber\");return this._buffer.getLineLength(e)+1}getLineFirstNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error(\"Illegal value for lineNumber\");return this._buffer.getLineFirstNonWhitespaceColumn(e)}getLineLastNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error(\"Illegal value for lineNumber\");return this._buffer.getLineLastNonWhitespaceColumn(e)}_validateRangeRelaxedNoAllocations(e){const t=this._buffer.getLineCount(),n=e.startLineNumber,i=e.startColumn;let s=Math.floor(typeof n==\"number\"&&!isNaN(n)?n:1),a=Math.floor(typeof i==\"number\"&&!isNaN(i)?i:1);if(s<1)s=1,a=1;else if(s>t)s=t,a=this.getLineMaxColumn(s);else if(a<=1)a=1;else{const p=this.getLineMaxColumn(s);a>=p&&(a=p)}const l=e.endLineNumber,u=e.endColumn;let d=Math.floor(typeof l==\"number\"&&!isNaN(l)?l:1),h=Math.floor(typeof u==\"number\"&&!isNaN(u)?u:1);if(d<1)d=1,h=1;else if(d>t)d=t,h=this.getLineMaxColumn(d);else if(h<=1)h=1;else{const p=this.getLineMaxColumn(d);h>=p&&(h=p)}return n===s&&i===a&&l===d&&u===h&&e instanceof He&&!(e instanceof oo)?e:new He(s,a,d,h)}_isValidPosition(e,t,n){if(typeof e!=\"number\"||typeof t!=\"number\"||isNaN(e)||isNaN(t)||e<1||t<1||(e|0)!==e||(t|0)!==t)return!1;const i=this._buffer.getLineCount();if(e>i)return!1;if(t===1)return!0;const s=this.getLineMaxColumn(e);if(t>s)return!1;if(n===1){const a=this._buffer.getLineCharCode(e,t-2);if(eh(a))return!1}return!0}_validatePosition(e,t,n){const i=Math.floor(typeof e==\"number\"&&!isNaN(e)?e:1),s=Math.floor(typeof t==\"number\"&&!isNaN(t)?t:1),a=this._buffer.getLineCount();if(i<1)return new Ii(1,1);if(i>a)return new Ii(a,this.getLineMaxColumn(a));if(s<=1)return new Ii(i,1);const l=this.getLineMaxColumn(i);if(s>=l)return new Ii(i,l);if(n===1){const u=this._buffer.getLineCharCode(i,s-2);if(eh(u))return new Ii(i,s-1)}return new Ii(i,s)}validatePosition(e){return this._assertNotDisposed(),e instanceof Ii&&this._isValidPosition(e.lineNumber,e.column,1)?e:this._validatePosition(e.lineNumber,e.column,1)}_isValidRange(e,t){const n=e.startLineNumber,i=e.startColumn,s=e.endLineNumber,a=e.endColumn;if(!this._isValidPosition(n,i,0)||!this._isValidPosition(s,a,0))return!1;if(t===1){const l=i>1?this._buffer.getLineCharCode(n,i-2):0,u=a>1&&a<=this._buffer.getLineLength(s)?this._buffer.getLineCharCode(s,a-2):0,d=eh(l),h=eh(u);return!d&&!h}return!0}validateRange(e){if(this._assertNotDisposed(),e instanceof He&&!(e instanceof oo)&&this._isValidRange(e,1))return e;const n=this._validatePosition(e.startLineNumber,e.startColumn,0),i=this._validatePosition(e.endLineNumber,e.endColumn,0),s=n.lineNumber,a=n.column,l=i.lineNumber,u=i.column;{const d=a>1?this._buffer.getLineCharCode(s,a-2):0,h=u>1&&u<=this._buffer.getLineLength(l)?this._buffer.getLineCharCode(l,u-2):0,p=eh(d),g=eh(h);return!p&&!g?new He(s,a,l,u):s===l&&a===u?new He(s,a-1,l,u-1):p&&g?new He(s,a-1,l,u+1):p?new He(s,a-1,l,u):new He(s,a,l,u+1)}}modifyPosition(e,t){this._assertNotDisposed();const n=this.getOffsetAt(e)+t;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,n)))}getFullModelRange(){this._assertNotDisposed();const e=this.getLineCount();return new He(1,1,e,this.getLineMaxColumn(e))}findMatchesLineByLine(e,t,n,i){return this._buffer.findMatchesLineByLine(e,t,n,i)}findMatches(e,t,n,i,s,a,l=r5e){this._assertNotDisposed();let u=null;t!==null&&(Array.isArray(t)||(t=[t]),t.every(p=>He.isIRange(p))&&(u=t.map(p=>this.validateRange(p)))),u===null&&(u=[this.getFullModelRange()]),u=u.sort((p,g)=>p.startLineNumber-g.startLineNumber||p.startColumn-g.startColumn);const d=[];d.push(u.reduce((p,g)=>He.areIntersecting(p,g)?p.plusRange(g):(d.push(p),g)));let h;if(!n&&e.indexOf(`\n`)<0){const g=new I2(e,n,i,s).parseSearchRequest();if(!g)return[];h=y=>this.findMatchesLineByLine(y,g,a,l)}else h=p=>HF.findMatches(this,new I2(e,n,i,s),p,a,l);return d.map(h).reduce((p,g)=>p.concat(g),[])}findNextMatch(e,t,n,i,s,a){this._assertNotDisposed();const l=this.validatePosition(t);if(!n&&e.indexOf(`\n`)<0){const d=new I2(e,n,i,s).parseSearchRequest();if(!d)return null;const h=this.getLineCount();let p=new He(l.lineNumber,l.column,h,this.getLineMaxColumn(h)),g=this.findMatchesLineByLine(p,d,a,1);return HF.findNextMatch(this,new I2(e,n,i,s),l,a),g.length>0||(p=new He(1,1,l.lineNumber,this.getLineMaxColumn(l.lineNumber)),g=this.findMatchesLineByLine(p,d,a,1),g.length>0)?g[0]:null}return HF.findNextMatch(this,new I2(e,n,i,s),l,a)}findPreviousMatch(e,t,n,i,s,a){this._assertNotDisposed();const l=this.validatePosition(t);return HF.findPreviousMatch(this,new I2(e,n,i,s),l,a)}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 qW?e:new qW(e.identifier||null,this.validateRange(e.range),e.text,e.forceMoveMarkers||!1,e.isAutoWhitespaceEdit||!1,e._isTracked||!1)}_validateEditOperations(e){const t=[];for(let n=0,i=e.length;n<i;n++)t[n]=this._validateEditOperation(e[n]);return t}pushEditOperations(e,t,n){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._pushEditOperations(e,this._validateEditOperations(t),n)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_pushEditOperations(e,t,n){if(this._options.trimAutoWhitespace&&this._trimAutoWhitespaceLines){const i=t.map(a=>({range:this.validateRange(a.range),text:a.text}));let s=!0;if(e)for(let a=0,l=e.length;a<l;a++){const u=e[a];let d=!1;for(let h=0,p=i.length;h<p;h++){const g=i[h].range,y=g.startLineNumber>u.endLineNumber,D=u.startLineNumber>g.endLineNumber;if(!y&&!D){d=!0;break}}if(!d){s=!1;break}}if(s)for(let a=0,l=this._trimAutoWhitespaceLines.length;a<l;a++){const u=this._trimAutoWhitespaceLines[a],d=this.getLineMaxColumn(u);let h=!0;for(let p=0,g=i.length;p<g;p++){const y=i[p].range,D=i[p].text;if(!(u<y.startLineNumber||u>y.endLineNumber)&&!(u===y.startLineNumber&&y.startColumn===d&&y.isEmpty()&&D&&D.length>0&&D.charAt(0)===`\n`)&&!(u===y.startLineNumber&&y.startColumn===1&&y.isEmpty()&&D&&D.length>0&&D.charAt(D.length-1)===`\n`)){h=!1;break}}if(h){const p=new He(u,1,u,d);t.push(new qW(null,p,null,!1,!1,!1))}}this._trimAutoWhitespaceLines=null}return this._initialUndoRedoSnapshot===null&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEditOperation(e,t,n)}_applyUndo(e,t,n,i){const s=e.map(a=>{const l=this.getPositionAt(a.newPosition),u=this.getPositionAt(a.newEnd);return{range:new He(l.lineNumber,l.column,u.lineNumber,u.column),text:a.oldText}});this._applyUndoRedoEdits(s,t,!0,!1,n,i)}_applyRedo(e,t,n,i){const s=e.map(a=>{const l=this.getPositionAt(a.oldPosition),u=this.getPositionAt(a.oldEnd);return{range:new He(l.lineNumber,l.column,u.lineNumber,u.column),text:a.newText}});this._applyUndoRedoEdits(s,t,!1,!0,n,i)}_applyUndoRedoEdits(e,t,n,i,s,a){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._isUndoing=n,this._isRedoing=i,this.applyEdits(e,!1),this.setEOL(t),this._overwriteAlternativeVersionId(s)}finally{this._isUndoing=!1,this._isRedoing=!1,this._eventEmitter.endDeferredEmit(a),this._onDidChangeDecorations.endDeferredEmit()}}applyEdits(e,t=!1){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit();const n=this._validateEditOperations(e);return this._doApplyEdits(n,t)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_doApplyEdits(e,t){const n=this._buffer.getLineCount(),i=this._buffer.applyEdits(e,this._options.trimAutoWhitespace,t),s=this._buffer.getLineCount(),a=i.changes;if(this._trimAutoWhitespaceLines=i.trimAutoWhitespaceLineNumbers,a.length!==0){for(let d=0,h=a.length;d<h;d++){const p=a[d],[g,y,D]=PD(p.text);this._tokens.acceptEdit(p.range,g,y),this._semanticTokens.acceptEdit(p.range,g,y,D,p.text.length>0?p.text.charCodeAt(0):0),this._decorationsTree.acceptReplace(p.rangeOffset,p.rangeLength,p.text.length,p.forceMoveMarkers)}const l=[];this._increaseVersionId();let u=n;for(let d=0,h=a.length;d<h;d++){const p=a[d],[g]=PD(p.text);this._onDidChangeDecorations.fire();const y=p.range.startLineNumber,D=p.range.endLineNumber,T=D-y,k=g,I=Math.min(T,k),F=k-T,q=s-u-F+y,re=q,Ie=q+k,mt=this._decorationsTree.getInjectedTextInInterval(this,this.getOffsetAt(new Ii(re,1)),this.getOffsetAt(new Ii(Ie,this.getLineMaxColumn(Ie))),0),Le=v0.fromDecorations(mt),Ge=new Zx(Le);for(let qt=I;qt>=0;qt--){const gi=y+qt,ai=q+qt;Ge.takeFromEndWhile(Vr=>Vr.lineNumber>ai);const Tr=Ge.takeFromEndWhile(Vr=>Vr.lineNumber===ai);l.push(new ise(gi,this.getLineContent(ai),Tr))}if(I<T){const qt=y+I;l.push(new gIe(qt+1,D))}if(I<k){const qt=new Zx(Le),gi=y+I,ai=k-I,Tr=s-u-ai+gi+1,Vr=[],go=[];for(let Js=0;Js<ai;Js++){const Fo=Tr+Js;go[Js]=this.getLineContent(Fo),qt.takeWhile(aa=>aa.lineNumber<Fo),Vr[Js]=qt.takeWhile(aa=>aa.lineNumber===Fo)}l.push(new mIe(gi+1,y+k,go,Vr))}u+=F}this._emitContentChangedEvent(new fD(l,this.getVersionId(),this._isUndoing,this._isRedoing),{changes:a,eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:this._isUndoing,isRedoing:this._isRedoing,isFlush:!1})}return i.reverseEdits===null?void 0:i.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 n=[...e].map(i=>new ise(i,this.getLineContent(i),this._getInjectedTextInLine(i)));this._onDidChangeInjectedText.fire(new Gce(n))}changeDecorations(e,t=0){this._assertNotDisposed();try{return this._onDidChangeDecorations.beginDeferredEmit(),this._changeDecorations(t,e)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_changeDecorations(e,t){const n={addDecoration:(s,a)=>this._deltaDecorationsImpl(e,[],[{range:s,options:a}])[0],changeDecoration:(s,a)=>{this._changeDecorationImpl(s,a)},changeDecorationOptions:(s,a)=>{this._changeDecorationOptionsImpl(s,kse(a))},removeDecoration:s=>{this._deltaDecorationsImpl(e,[s],[])},deltaDecorations:(s,a)=>s.length===0&&a.length===0?[]:this._deltaDecorationsImpl(e,s,a)};let i=null;try{i=t(n)}catch(s){tl(s)}return n.addDecoration=Tk,n.changeDecoration=Tk,n.changeDecorationOptions=Tk,n.removeDecoration=Tk,n.deltaDecorations=Tk,i}deltaDecorations(e,t,n=0){if(this._assertNotDisposed(),e||(e=[]),e.length===0&&t.length===0)return[];try{return this._onDidChangeDecorations.beginDeferredEmit(),this._deltaDecorationsImpl(n,e,t)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_getTrackedRange(e){return this.getDecorationRange(e)}_setTrackedRange(e,t,n){const i=e?this._decorations[e]:null;if(!i)return t?this._deltaDecorationsImpl(0,[],[{range:t,options:Ase[n]}])[0]:null;if(!t)return this._decorationsTree.delete(i),delete this._decorations[i.id],null;const s=this._validateRangeRelaxedNoAllocations(t),a=this._buffer.getOffsetAt(s.startLineNumber,s.startColumn),l=this._buffer.getOffsetAt(s.endLineNumber,s.endColumn);return this._decorationsTree.delete(i),i.reset(this.getVersionId(),a,l,s),i.setOptions(Ase[n]),this._decorationsTree.insert(i),i.id}removeAllDecorationsWithOwnerId(e){if(this._isDisposed)return;const t=this._decorationsTree.collectNodesFromOwner(e);for(let n=0,i=t.length;n<i;n++){const s=t[n];this._decorationsTree.delete(s),delete this._decorations[s.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,n=!1){return e<1||e>this.getLineCount()?[]:this.getLinesDecorations(e,e,t,n)}getLinesDecorations(e,t,n=0,i=!1){const s=this.getLineCount(),a=Math.min(s,Math.max(1,e)),l=Math.min(s,Math.max(1,t)),u=this.getLineMaxColumn(l),d=new He(a,1,l,u),h=this._getDecorationsInRange(d,n,i);return h.push(...this._decorationProvider.getDecorationsInRange(d,n,i)),h}getDecorationsInRange(e,t=0,n=!1){const i=this.validateRange(e),s=this._getDecorationsInRange(i,t,n);return s.push(...this._decorationProvider.getDecorationsInRange(i,t,n)),s}getOverviewRulerDecorations(e=0,t=!1){return this._decorationsTree.getAll(this,e,t,!0)}getInjectedTextDecorations(e=0){return this._decorationsTree.getAllInjectedText(this,e)}_getInjectedTextInLine(e){const t=this._buffer.getOffsetAt(e,1),n=t+this._buffer.getLineLength(e),i=this._decorationsTree.getInjectedTextInInterval(this,t,n,0);return v0.fromDecorations(i).filter(s=>s.lineNumber===e)}getAllDecorations(e=0,t=!1){let n=this._decorationsTree.getAll(this,e,t,!1);return n=n.concat(this._decorationProvider.getAllDecorations(e,t)),n}_getDecorationsInRange(e,t,n){const i=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn),s=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn);return this._decorationsTree.getAllInInterval(this,i,s,t,n)}getRangeAt(e,t){return this._buffer.getRangeAt(e,t-e)}_changeDecorationImpl(e,t){const n=this._decorations[e];if(!n)return;if(n.options.after){const l=this.getDecorationRange(e);this._onDidChangeDecorations.recordLineAffectedByInjectedText(l.endLineNumber)}if(n.options.before){const l=this.getDecorationRange(e);this._onDidChangeDecorations.recordLineAffectedByInjectedText(l.startLineNumber)}const i=this._validateRangeRelaxedNoAllocations(t),s=this._buffer.getOffsetAt(i.startLineNumber,i.startColumn),a=this._buffer.getOffsetAt(i.endLineNumber,i.endColumn);this._decorationsTree.delete(n),n.reset(this.getVersionId(),s,a,i),this._decorationsTree.insert(n),this._onDidChangeDecorations.checkAffectedAndFire(n.options),n.options.after&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(i.endLineNumber),n.options.before&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(i.startLineNumber)}_changeDecorationOptionsImpl(e,t){const n=this._decorations[e];if(!n)return;const i=!!(n.options.overviewRuler&&n.options.overviewRuler.color),s=!!(t.overviewRuler&&t.overviewRuler.color);if(this._onDidChangeDecorations.checkAffectedAndFire(n.options),this._onDidChangeDecorations.checkAffectedAndFire(t),n.options.after||t.after){const a=this._decorationsTree.getNodeRange(this,n);this._onDidChangeDecorations.recordLineAffectedByInjectedText(a.endLineNumber)}if(n.options.before||t.before){const a=this._decorationsTree.getNodeRange(this,n);this._onDidChangeDecorations.recordLineAffectedByInjectedText(a.startLineNumber)}i!==s?(this._decorationsTree.delete(n),n.setOptions(t),this._decorationsTree.insert(n)):n.setOptions(t)}_deltaDecorationsImpl(e,t,n){const i=this.getVersionId(),s=t.length;let a=0;const l=n.length;let u=0;const d=new Array(l);for(;a<s||u<l;){let h=null;if(a<s){do h=this._decorations[t[a++]];while(!h&&a<s);if(h){if(h.options.after){const p=this._decorationsTree.getNodeRange(this,h);this._onDidChangeDecorations.recordLineAffectedByInjectedText(p.endLineNumber)}if(h.options.before){const p=this._decorationsTree.getNodeRange(this,h);this._onDidChangeDecorations.recordLineAffectedByInjectedText(p.startLineNumber)}this._decorationsTree.delete(h),this._onDidChangeDecorations.checkAffectedAndFire(h.options)}}if(u<l){if(!h){const k=++this._lastDecorationId,I=`${this._instanceId};${k}`;h=new pde(I,0,0),this._decorations[I]=h}const p=n[u],g=this._validateRangeRelaxedNoAllocations(p.range),y=kse(p.options),D=this._buffer.getOffsetAt(g.startLineNumber,g.startColumn),T=this._buffer.getOffsetAt(g.endLineNumber,g.endColumn);h.ownerId=e,h.reset(i,D,T,g),h.setOptions(y),h.options.after&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(g.endLineNumber),h.options.before&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(g.startLineNumber),this._onDidChangeDecorations.checkAffectedAndFire(y),this._decorationsTree.insert(h),d[u]=h.id,u++}else h&&delete this._decorations[h.id]}return d}setTokens(e,t=!1){if(e.length!==0){const n=[];for(let i=0,s=e.length;i<s;i++){const a=e[i];let l=0,u=0,d=!1;for(let h=a.startLineNumber;h<=a.endLineNumber;h++)d?(this._tokens.setTokens(this._languageId,h-1,this._buffer.getLineLength(h),a.getLineTokens(h),!1),u=h):this._tokens.setTokens(this._languageId,h-1,this._buffer.getLineLength(h),a.getLineTokens(h),!0)&&(d=!0,l=h,u=h);d&&n.push({fromLineNumber:l,toLineNumber:u})}n.length>0&&this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:!1,ranges:n})}this.handleTokenizationProgress(t)}setSemanticTokens(e,t){this._semanticTokens.set(e,t),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:e!==null,ranges:[{fromLineNumber:1,toLineNumber:this.getLineCount()}]})}hasCompleteSemanticTokens(){return this._semanticTokens.isComplete()}hasSomeSemanticTokens(){return!this._semanticTokens.isEmpty()}setPartialSemanticTokens(e,t){if(this.hasCompleteSemanticTokens())return;const n=this.validateRange(this._semanticTokens.setPartial(e,t));this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:!0,ranges:[{fromLineNumber:n.startLineNumber,toLineNumber:n.endLineNumber}]})}tokenizeViewport(e,t){e=Math.max(1,e),t=Math.min(this._buffer.getLineCount(),t),this._tokenization.tokenizeViewport(e,t)}clearTokens(){this._tokens.flush(),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!0,semanticTokensApplied:!1,ranges:[{fromLineNumber:1,toLineNumber:this._buffer.getLineCount()}]})}_emitModelTokensChangedEvent(e){this._isDisposing||(this._bracketPairColorizer.handleDidChangeTokens(e),this._onDidChangeTokens.fire(e))}resetTokenization(){this._tokenization.reset()}forceTokenization(e){if(e<1||e>this.getLineCount())throw new Error(\"Illegal value for lineNumber\");this._tokenization.forceTokenization(e)}isCheapToTokenize(e){return this._tokenization.isCheapToTokenize(e)}tokenizeIfCheap(e){this.isCheapToTokenize(e)&&this.forceTokenization(e)}getLineTokens(e){if(e<1||e>this.getLineCount())throw new Error(\"Illegal value for lineNumber\");return this._getLineTokens(e)}_getLineTokens(e){const t=this.getLineContent(e),n=this._tokens.getTokens(this._languageId,e-1,t);return this._semanticTokens.addSparseTokens(e,n)}getLanguageId(){return this._languageId}setMode(e){if(this._languageId===e)return;const t={oldLanguage:this._languageId,newLanguage:e};this._languageId=e,this._bracketPairColorizer.handleDidChangeLanguage(t),this._tokenization.handleDidChangeLanguage(t),this._onDidChangeLanguage.fire(t),this._onDidChangeLanguageConfiguration.fire({})}getLanguageIdAtPosition(e,t){const n=this.validatePosition(new Ii(e,t)),i=this.getLineTokens(n.lineNumber);return i.getLanguageId(i.findTokenIndexAtOffset(n.column-1))}getTokenTypeIfInsertingCharacter(e,t,n){const i=this.validatePosition(new Ii(e,t));return this._tokenization.getTokenTypeIfInsertingCharacter(i,n)}tokenizeLineWithEdit(e,t,n){const i=this.validatePosition(e);return this._tokenization.tokenizeLineWithEdit(i,t,n)}getLanguageConfiguration(e){return this._languageConfigurationService.getLanguageConfiguration(e)}getWordAtPosition(e){this._assertNotDisposed();const t=this.validatePosition(e),n=this.getLineContent(t.lineNumber),i=this._getLineTokens(t.lineNumber),s=i.findTokenIndexAtOffset(t.column-1),[a,l]=F2._findLanguageBoundaries(i,s),u=P3(t.column,this.getLanguageConfiguration(i.getLanguageId(s)).getWordDefinition(),n.substring(a,l),a);if(u&&u.startColumn<=e.column&&e.column<=u.endColumn)return u;if(s>0&&a===t.column-1){const[d,h]=F2._findLanguageBoundaries(i,s-1),p=P3(t.column,this.getLanguageConfiguration(i.getLanguageId(s-1)).getWordDefinition(),n.substring(d,h),d);if(p&&p.startColumn<=e.column&&e.column<=p.endColumn)return p}return null}static _findLanguageBoundaries(e,t){const n=e.getLanguageId(t);let i=0;for(let a=t;a>=0&&e.getLanguageId(a)===n;a--)i=e.getStartOffset(a);let s=e.getLineContent().length;for(let a=t,l=e.getCount();a<l&&e.getLanguageId(a)===n;a++)s=e.getEndOffset(a);return[i,s]}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}}normalizePosition(e,t){return e}getLineIndentColumn(e){return a5e(this.getLineContent(e))+1}};xb.MODEL_SYNC_LIMIT=50*1024*1024;xb.LARGE_FILE_SIZE_THRESHOLD=20*1024*1024;xb.LARGE_FILE_LINE_COUNT_THRESHOLD=300*1e3;xb.DEFAULT_CREATION_OPTIONS={isForSimpleWidget:!1,tabSize:Op.tabSize,indentSize:Op.indentSize,insertSpaces:Op.insertSpaces,detectIndentation:!1,defaultEOL:1,trimAutoWhitespace:Op.trimAutoWhitespace,largeFileOptimizations:Op.largeFileOptimizations,bracketPairColorizationOptions:Op.bracketPairColorizationOptions};xb=t5e([IV(4,n9),IV(5,Pc),IV(6,Dp)],xb);function a5e(o){let e=0;for(const t of o)if(t===\" \"||t===\"\t\")e++;else break;return e}function FV(o){return!!(o.options.overviewRuler&&o.options.overviewRuler.color)}function PV(o){return!!o.options.after||!!o.options.before}class Tse{constructor(){this._decorationsTree0=new AV,this._decorationsTree1=new AV,this._injectedTextDecorationsTree=new AV}ensureAllNodesHaveRanges(e){this.getAll(e,0,!1,!1)}_ensureNodesHaveRanges(e,t){for(const n of t)n.range===null&&(n.range=e.getRangeAt(n.cachedAbsoluteStart,n.cachedAbsoluteEnd));return t}getAllInInterval(e,t,n,i,s){const a=e.getVersionId(),l=this._intervalSearch(t,n,i,s,a);return this._ensureNodesHaveRanges(e,l)}_intervalSearch(e,t,n,i,s){const a=this._decorationsTree0.intervalSearch(e,t,n,i,s),l=this._decorationsTree1.intervalSearch(e,t,n,i,s),u=this._injectedTextDecorationsTree.intervalSearch(e,t,n,i,s);return a.concat(l).concat(u)}getInjectedTextInInterval(e,t,n,i){const s=e.getVersionId(),a=this._injectedTextDecorationsTree.intervalSearch(t,n,i,!1,s);return this._ensureNodesHaveRanges(e,a).filter(l=>l.options.showIfCollapsed||!l.range.isEmpty())}getAllInjectedText(e,t){const n=e.getVersionId(),i=this._injectedTextDecorationsTree.search(t,!1,n);return this._ensureNodesHaveRanges(e,i).filter(s=>s.options.showIfCollapsed||!s.range.isEmpty())}getAll(e,t,n,i){const s=e.getVersionId(),a=this._search(t,n,i,s);return this._ensureNodesHaveRanges(e,a)}_search(e,t,n,i){if(n)return this._decorationsTree1.search(e,t,i);{const s=this._decorationsTree0.search(e,t,i),a=this._decorationsTree1.search(e,t,i),l=this._injectedTextDecorationsTree.search(e,t,i);return s.concat(a).concat(l)}}collectNodesFromOwner(e){const t=this._decorationsTree0.collectNodesFromOwner(e),n=this._decorationsTree1.collectNodesFromOwner(e),i=this._injectedTextDecorationsTree.collectNodesFromOwner(e);return t.concat(n).concat(i)}collectNodesPostOrder(){const e=this._decorationsTree0.collectNodesPostOrder(),t=this._decorationsTree1.collectNodesPostOrder(),n=this._injectedTextDecorationsTree.collectNodesPostOrder();return e.concat(t).concat(n)}insert(e){PV(e)?this._injectedTextDecorationsTree.insert(e):FV(e)?this._decorationsTree1.insert(e):this._decorationsTree0.insert(e)}delete(e){PV(e)?this._injectedTextDecorationsTree.delete(e):FV(e)?this._decorationsTree1.delete(e):this._decorationsTree0.delete(e)}getNodeRange(e,t){const n=e.getVersionId();return t.cachedVersionId!==n&&this._resolveNode(t,n),t.range===null&&(t.range=e.getRangeAt(t.cachedAbsoluteStart,t.cachedAbsoluteEnd)),t.range}_resolveNode(e,t){PV(e)?this._injectedTextDecorationsTree.resolveNode(e,t):FV(e)?this._decorationsTree1.resolveNode(e,t):this._decorationsTree0.resolveNode(e,t)}acceptReplace(e,t,n,i){this._decorationsTree0.acceptReplace(e,t,n,i),this._decorationsTree1.acceptReplace(e,t,n,i),this._injectedTextDecorationsTree.acceptReplace(e,t,n,i)}}function pv(o){return o.replace(/[^a-z0-9\\-_]/gi,\" \")}class yde{constructor(e){this.color=e.color||\"\",this.darkColor=e.darkColor||\"\"}}class l5e extends yde{constructor(e){super(e),this._resolvedColor=null,this.position=typeof e.position==\"number\"?e.position:Ig.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 n=e?t.getColor(e.id):null;return n?n.toString():\"\"}}class u5e extends yde{constructor(e){super(e),this.position=e.position}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\"?Xi.fromHex(e):t.getColor(e.id)}}class OD{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}static from(e){return e instanceof OD?e:new OD(e)}}class _l{constructor(e){var t,n;this.description=e.description,this.stickiness=e.stickiness||0,this.zIndex=e.zIndex||0,this.className=e.className?pv(e.className):null,this.hoverMessage=e.hoverMessage||null,this.glyphMarginHoverMessage=e.glyphMarginHoverMessage||null,this.isWholeLine=e.isWholeLine||!1,this.showIfCollapsed=e.showIfCollapsed||!1,this.collapseOnReplaceEdit=e.collapseOnReplaceEdit||!1,this.overviewRuler=e.overviewRuler?new l5e(e.overviewRuler):null,this.minimap=e.minimap?new u5e(e.minimap):null,this.glyphMarginClassName=e.glyphMarginClassName?pv(e.glyphMarginClassName):null,this.linesDecorationsClassName=e.linesDecorationsClassName?pv(e.linesDecorationsClassName):null,this.firstLineDecorationClassName=e.firstLineDecorationClassName?pv(e.firstLineDecorationClassName):null,this.marginClassName=e.marginClassName?pv(e.marginClassName):null,this.inlineClassName=e.inlineClassName?pv(e.inlineClassName):null,this.inlineClassNameAffectsLetterSpacing=e.inlineClassNameAffectsLetterSpacing||!1,this.beforeContentClassName=e.beforeContentClassName?pv(e.beforeContentClassName):null,this.afterContentClassName=e.afterContentClassName?pv(e.afterContentClassName):null,this.after=e.after?OD.from(e.after):null,this.before=e.before?OD.from(e.before):null,this.hideInCommentTokens=(t=e.hideInCommentTokens)!==null&&t!==void 0?t:!1,this.hideInStringTokens=(n=e.hideInStringTokens)!==null&&n!==void 0?n:!1}static register(e){return new _l(e)}static createDynamic(e){return new _l(e)}}_l.EMPTY=_l.register({description:\"empty\"});const Ase=[_l.register({description:\"tracked-range-always-grows-when-typing-at-edges\",stickiness:0}),_l.register({description:\"tracked-range-never-grows-when-typing-at-edges\",stickiness:1}),_l.register({description:\"tracked-range-grows-only-when-typing-before\",stickiness:2}),_l.register({description:\"tracked-range-grows-only-when-typing-after\",stickiness:3})];function kse(o){return o instanceof _l?o:_l.createDynamic(o)}class c5e extends fr{constructor(e){super(),this.handleBeforeFire=e,this._actual=this._register(new ri),this.event=this._actual.event,this._affectedInjectedTextLines=null,this._deferredCnt=0,this._shouldFire=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(){var e;if(this._deferredCnt--,this._deferredCnt===0){if(this._shouldFire){this.handleBeforeFire(this._affectedInjectedTextLines);const t={affectsMinimap:this._affectsMinimap,affectsOverviewRuler:this._affectsOverviewRuler};this._shouldFire=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._actual.fire(t)}(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){this._affectsMinimap||(this._affectsMinimap=!!(e.minimap&&e.minimap.position)),this._affectsOverviewRuler||(this._affectsOverviewRuler=!!(e.overviewRuler&&e.overviewRuler.color)),this._shouldFire=!0}fire(){this._affectsMinimap=!0,this._affectsOverviewRuler=!0,this._shouldFire=!0}}class d5e extends fr{constructor(){super(),this._fastEmitter=this._register(new ri),this.fastEvent=this._fastEmitter.event,this._slowEmitter=this._register(new ri),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)}}function OV(o,e){return o===null?e?C7.INSTANCE:D7.INSTANCE:new h5e(o,e)}class h5e{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,n){this._assertVisible();const i=n>0?this._projectionData.breakOffsets[n-1]:0,s=this._projectionData.breakOffsets[n];let a;if(this._projectionData.injectionOffsets!==null){const l=this._projectionData.injectionOffsets.map((d,h)=>new v0(0,0,d+1,this._projectionData.injectionOptions[h],0));a=v0.applyInjectedText(e.getLineContent(t),l).substring(i,s)}else a=e.getValueInRange({startLineNumber:t,startColumn:i+1,endLineNumber:t,endColumn:s+1});return n>0&&(a=Lse(this._projectionData.wrappedTextIndentLength)+a),a}getViewLineLength(e,t,n){return this._assertVisible(),this._projectionData.getLineLength(n)}getViewLineMinColumn(e,t,n){return this._assertVisible(),this._projectionData.getMinOutputOffset(n)+1}getViewLineMaxColumn(e,t,n){return this._assertVisible(),this._projectionData.getMaxOutputOffset(n)+1}getViewLineData(e,t,n){const i=new Array;return this.getViewLinesData(e,t,n,1,0,[!0],i),i[0]}getViewLinesData(e,t,n,i,s,a,l){this._assertVisible();const u=this._projectionData,d=u.injectionOffsets,h=u.injectionOptions;let p=null;if(d){p=[];let y=0,D=0;for(let T=0;T<u.getOutputLineCount();T++){const k=new Array;p[T]=k;const I=T>0?u.breakOffsets[T-1]:0,F=u.breakOffsets[T];for(;D<d.length;){const q=h[D].content.length,re=d[D]+y,Ie=re+q;if(re>F)break;if(I<Ie){const mt=h[D];if(mt.inlineClassName){const Le=T>0?u.wrappedTextIndentLength:0,Ge=Le+Math.max(re-I,0),qt=Le+Math.min(Ie-I,F);Ge!==qt&&k.push(new f3e(Ge,qt,mt.inlineClassName,mt.inlineClassNameAffectsLetterSpacing))}}if(Ie<=F)y+=q,D++;else break}}}let g;d?g=e.getLineTokens(t).withInserted(d.map((y,D)=>({offset:y,text:h[D].content,tokenMetadata:th.defaultTokenMetadata}))):g=e.getLineTokens(t);for(let y=n;y<n+i;y++){const D=s+y-n;if(!a[D]){l[D]=null;continue}l[D]=this._getViewLineData(g,p?p[y]:null,y)}}_getViewLineData(e,t,n){this._assertVisible();const i=this._projectionData,s=n>0?i.wrappedTextIndentLength:0,a=n>0?i.breakOffsets[n-1]:0,l=i.breakOffsets[n],u=e.sliceAndInflate(a,l,s);let d=u.getLineContent();n>0&&(d=Lse(i.wrappedTextIndentLength)+d);const h=this._projectionData.getMinOutputOffset(n)+1,p=d.length+1,g=n+1<this.getViewLineCount(),y=n===0?0:i.breakOffsetsVisibleColumn[n-1];return new tG(d,g,h,p,y,u,t)}getModelColumnOfViewPosition(e,t){return this._assertVisible(),this._projectionData.translateToInputOffset(e,t-1)+1}getViewPositionOfModelPosition(e,t,n=2){return this._assertVisible(),this._projectionData.translateToOutputPosition(t-1,n).toPosition(e)}getViewLineNumberOfModelPosition(e,t){this._assertVisible();const n=this._projectionData.translateToOutputPosition(t-1);return e+n.outputLineIndex}normalizePosition(e,t,n){const i=t.lineNumber-e;return this._projectionData.normalizeOutputPosition(e,t.column-1,n).toPosition(i)}getInjectedTextAt(e,t){return this._projectionData.getInjectedText(e,t-1)}_assertVisible(){if(!this._isVisible)throw new Error(\"Not supported\")}}class C7{constructor(){}isVisible(){return!0}setVisible(e){return e?this:D7.INSTANCE}getProjectionData(){return null}getViewLineCount(){return 1}getViewLineContent(e,t,n){return e.getLineContent(t)}getViewLineLength(e,t,n){return e.getLineLength(t)}getViewLineMinColumn(e,t,n){return e.getLineMinColumn(t)}getViewLineMaxColumn(e,t,n){return e.getLineMaxColumn(t)}getViewLineData(e,t,n){const i=e.getLineTokens(t),s=i.getLineContent();return new tG(s,!1,1,s.length+1,0,i.inflate(),null)}getViewLinesData(e,t,n,i,s,a,l){if(!a[s]){l[s]=null;return}l[s]=this.getViewLineData(e,t,0)}getModelColumnOfViewPosition(e,t){return t}getViewPositionOfModelPosition(e,t){return new Ii(e,t)}getViewLineNumberOfModelPosition(e,t){return e}normalizePosition(e,t,n){return t}getInjectedTextAt(e,t){return null}}C7.INSTANCE=new C7;class D7{constructor(){}isVisible(){return!1}setVisible(e){return e?C7.INSTANCE:this}getProjectionData(){return null}getViewLineCount(){return 0}getViewLineContent(e,t,n){throw new Error(\"Not supported\")}getViewLineLength(e,t,n){throw new Error(\"Not supported\")}getViewLineMinColumn(e,t,n){throw new Error(\"Not supported\")}getViewLineMaxColumn(e,t,n){throw new Error(\"Not supported\")}getViewLineData(e,t,n){throw new Error(\"Not supported\")}getViewLinesData(e,t,n,i,s,a,l){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,n){throw new Error(\"Not supported\")}getInjectedTextAt(e,t){throw new Error(\"Not supported\")}}D7.INSTANCE=new D7;let MV=[\"\"];function Lse(o){if(o>=MV.length)for(let e=1;e<=o;e++)MV[e]=p5e(e);return MV[o]}function p5e(o){return new Array(o+1).join(\" \")}class f5e{constructor(e,t,n,i,s,a,l,u,d){this._editorId=e,this.model=t,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=n,this._monospaceLineBreaksComputerFactory=i,this.fontInfo=s,this.tabSize=a,this.wrappingStrategy=l,this.wrappingColumn=u,this.wrappingIndent=d,this._constructLines(!0,null)}dispose(){this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[])}createCoordinatesConverter(){return new g5e(this)}_constructLines(e,t){this.modelLineProjections=[],e&&(this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[]));const n=this.model.getLinesContent(),i=this.model.getInjectedTextDecorations(this._editorId),s=n.length,a=this.createLineBreaksComputer(),l=new Zx(v0.fromDecorations(i));for(let T=0;T<s;T++){const k=l.takeWhile(I=>I.lineNumber===T+1);a.addRequest(n[T],k,t?t[T]:null)}const u=a.finalize(),d=[],h=this.hiddenAreasDecorationIds.map(T=>this.model.getDecorationRange(T)).sort(He.compareRangesUsingStarts);let p=1,g=0,y=-1,D=y+1<h.length?g+1:s+2;for(let T=0;T<s;T++){const k=T+1;k===D&&(y++,p=h[y].startLineNumber,g=h[y].endLineNumber,D=y+1<h.length?g+1:s+2);const I=k>=p&&k<=g,F=OV(u[T],!I);d[T]=F.getViewLineCount(),this.modelLineProjections[T]=F}this._validModelVersionId=this.model.getVersionId(),this.projectedModelLineLineCounts=new Nke(d)}getHiddenAreas(){return this.hiddenAreasDecorationIds.map(e=>this.model.getDecorationRange(e))}setHiddenAreas(e){const t=e.map(g=>this.model.validateRange(g)),n=_5e(t),i=this.hiddenAreasDecorationIds.map(g=>this.model.getDecorationRange(g)).sort(He.compareRangesUsingStarts);if(n.length===i.length){let g=!1;for(let y=0;y<n.length;y++)if(!n[y].equalsRange(i[y])){g=!0;break}if(!g)return!1}const s=n.map(g=>({range:g,options:_l.EMPTY}));this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,s);const a=n;let l=1,u=0,d=-1,h=d+1<a.length?u+1:this.modelLineProjections.length+2,p=!1;for(let g=0;g<this.modelLineProjections.length;g++){const y=g+1;y===h&&(d++,l=a[d].startLineNumber,u=a[d].endLineNumber,h=d+1<a.length?u+1:this.modelLineProjections.length+2);let D=!1;if(y>=l&&y<=u?this.modelLineProjections[g].isVisible()&&(this.modelLineProjections[g]=this.modelLineProjections[g].setVisible(!1),D=!0):(p=!0,this.modelLineProjections[g].isVisible()||(this.modelLineProjections[g]=this.modelLineProjections[g].setVisible(!0),D=!0)),D){const T=this.modelLineProjections[g].getViewLineCount();this.projectedModelLineLineCounts.setValue(g,T)}}return p||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,n,i){const s=this.fontInfo.equals(e),a=this.wrappingStrategy===t,l=this.wrappingColumn===n,u=this.wrappingIndent===i;if(s&&a&&l&&u)return!1;const d=s&&a&&!l&&u;this.fontInfo=e,this.wrappingStrategy=t,this.wrappingColumn=n,this.wrappingIndent=i;let h=null;if(d){h=[];for(let p=0,g=this.modelLineProjections.length;p<g;p++)h[p]=this.modelLineProjections[p].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)}onModelFlushed(){this._constructLines(!0,null)}onModelLinesDeleted(e,t,n){if(!e||e<=this._validModelVersionId)return null;const i=t===1?1:this.projectedModelLineLineCounts.getPrefixSum(t-1)+1,s=this.projectedModelLineLineCounts.getPrefixSum(n);return this.modelLineProjections.splice(t-1,n-t+1),this.projectedModelLineLineCounts.removeValues(t-1,n-t+1),new Fz(i,s)}onModelLinesInserted(e,t,n,i){if(!e||e<=this._validModelVersionId)return null;const s=t>2&&!this.modelLineProjections[t-2].isVisible(),a=t===1?1:this.projectedModelLineLineCounts.getPrefixSum(t-1)+1;let l=0;const u=[],d=[];for(let h=0,p=i.length;h<p;h++){const g=OV(i[h],!s);u.push(g);const y=g.getViewLineCount();l+=y,d[h]=y}return this.modelLineProjections=this.modelLineProjections.slice(0,t-1).concat(u).concat(this.modelLineProjections.slice(t-1)),this.projectedModelLineLineCounts.insertValues(t-1,d),new Pz(a,a+l-1)}onModelLineChanged(e,t,n){if(e!==null&&e<=this._validModelVersionId)return[!1,null,null,null];const i=t-1,s=this.modelLineProjections[i].getViewLineCount(),a=this.modelLineProjections[i].isVisible(),l=OV(n,a);this.modelLineProjections[i]=l;const u=this.modelLineProjections[i].getViewLineCount();let d=!1,h=0,p=-1,g=0,y=-1,D=0,T=-1;s>u?(h=this.projectedModelLineLineCounts.getPrefixSum(t-1)+1,p=h+u-1,D=p+1,T=D+(s-u)-1,d=!0):s<u?(h=this.projectedModelLineLineCounts.getPrefixSum(t-1)+1,p=h+s-1,g=p+1,y=g+(u-s)-1,d=!0):(h=this.projectedModelLineLineCounts.getPrefixSum(t-1)+1,p=h+u-1),this.projectedModelLineLineCounts.setValue(i,u);const k=h<=p?new Jce(h,p):null,I=g<=y?new Pz(g,y):null,F=D<=T?new Fz(D,T):null;return[d,k,I,F]}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,n){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t),n=this._toValidViewLineNumber(n);const i=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),s=this.convertViewPositionToModelPosition(t,this.getViewLineMinColumn(t)),a=this.convertViewPositionToModelPosition(n,this.getViewLineMinColumn(n)),l=this.model.guides.getActiveIndentGuide(i.lineNumber,s.lineNumber,a.lineNumber),u=this.convertModelPositionToViewPosition(l.startLineNumber,1),d=this.convertModelPositionToViewPosition(l.endLineNumber,this.model.getLineMaxColumn(l.endLineNumber));return{startLineNumber:u.lineNumber,endLineNumber:d.lineNumber,indent:l.indent}}getViewLineInfo(e){e=this._toValidViewLineNumber(e);const t=this.projectedModelLineLineCounts.getIndexOf(e-1),n=t.index,i=t.remainder;return new Nse(n+1,i)}getMinColumnOfViewLine(e){return this.modelLineProjections[e.modelLineNumber-1].getViewLineMinColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx)}getModelStartPositionOfViewLine(e){const t=this.modelLineProjections[e.modelLineNumber-1],n=t.getViewLineMinColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx),i=t.getModelColumnOfViewPosition(e.modelLineWrappedLineIdx,n);return new Ii(e.modelLineNumber,i)}getModelEndPositionOfViewLine(e){const t=this.modelLineProjections[e.modelLineNumber-1],n=t.getViewLineMaxColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx),i=t.getModelColumnOfViewPosition(e.modelLineWrappedLineIdx,n);return new Ii(e.modelLineNumber,i)}getViewLineInfosGroupedByModelRanges(e,t){const n=this.getViewLineInfo(e),i=this.getViewLineInfo(t),s=new Array;let a=this.getModelStartPositionOfViewLine(n),l=new Array;for(let u=n.modelLineNumber;u<=i.modelLineNumber;u++){const d=this.modelLineProjections[u-1];if(d.isVisible()){const h=u===n.modelLineNumber?n.modelLineWrappedLineIdx:0,p=u===i.modelLineNumber?i.modelLineWrappedLineIdx+1:d.getViewLineCount();for(let g=h;g<p;g++)l.push(new Nse(u,g))}if(!d.isVisible()&&a){const h=new Ii(u-1,this.model.getLineMaxColumn(u-1)+1),p=He.fromPositions(a,h);s.push(new Ise(p,l)),l=[],a=null}else d.isVisible()&&!a&&(a=new Ii(u,1))}if(a){const u=He.fromPositions(a,this.getModelEndPositionOfViewLine(i));s.push(new Ise(u,l))}return s}getViewLinesBracketGuides(e,t,n,i){const s=n?this.convertViewPositionToModelPosition(n.lineNumber,n.column):null,a=[];for(const l of this.getViewLineInfosGroupedByModelRanges(e,t)){const u=l.modelRange.startLineNumber,d=this.model.guides.getLinesBracketGuides(u,l.modelRange.endLineNumber,s,i);for(const h of l.viewLines)if(h.isWrappedLineContinuation&&this.getMinColumnOfViewLine(h)===1)a.push([]);else{let p=d[h.modelLineNumber-u];p=p.map(g=>g.horizontalLine?new Sx(g.visibleColumn,g.className,new Iz(g.horizontalLine.top,this.convertModelPositionToViewPosition(h.modelLineNumber,g.horizontalLine.endColumn).column)):g),a.push(p)}}return a}getViewLinesIndentGuides(e,t){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);const n=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),i=this.convertViewPositionToModelPosition(t,this.getViewLineMaxColumn(t));let s=[];const a=[],l=[],u=n.lineNumber-1,d=i.lineNumber-1;let h=null;for(let D=u;D<=d;D++){const T=this.modelLineProjections[D];if(T.isVisible()){const k=T.getViewLineNumberOfModelPosition(0,D===u?n.column:1),I=T.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(D+1)),F=I-k+1;let q=0;F>1&&T.getViewLineMinColumn(this.model,D+1,I)===1&&(q=k===0?1:2),a.push(F),l.push(q),h===null&&(h=new Ii(D+1,0))}else h!==null&&(s=s.concat(this.model.guides.getLinesIndentGuides(h.lineNumber,D)),h=null)}h!==null&&(s=s.concat(this.model.guides.getLinesIndentGuides(h.lineNumber,i.lineNumber)),h=null);const p=t-e+1,g=new Array(p);let y=0;for(let D=0,T=s.length;D<T;D++){let k=s[D];const I=Math.min(p-y,a[D]),F=l[D];let q;F===2?q=0:F===1?q=1:q=I;for(let re=0;re<I;re++)re===q&&(k=0),g[y++]=k}return g}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,n){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);const i=this.projectedModelLineLineCounts.getIndexOf(e-1);let s=e;const a=i.index,l=i.remainder,u=[];for(let d=a,h=this.model.getLineCount();d<h;d++){const p=this.modelLineProjections[d];if(!p.isVisible())continue;const g=d===a?l:0;let y=p.getViewLineCount()-g,D=!1;if(s+y>t&&(D=!0,y=t-s+1),p.getViewLinesData(this.model,d+1,g,y,s-e,n,u),s+=y,D)break}return u}validateViewPosition(e,t,n){e=this._toValidViewLineNumber(e);const i=this.projectedModelLineLineCounts.getIndexOf(e-1),s=i.index,a=i.remainder,l=this.modelLineProjections[s],u=l.getViewLineMinColumn(this.model,s+1,a),d=l.getViewLineMaxColumn(this.model,s+1,a);t<u&&(t=u),t>d&&(t=d);const h=l.getModelColumnOfViewPosition(a,t);return this.model.validatePosition(new Ii(s+1,h)).equals(n)?new Ii(e,t):this.convertModelPositionToViewPosition(n.lineNumber,n.column)}validateViewRange(e,t){const n=this.validateViewPosition(e.startLineNumber,e.startColumn,t.getStartPosition()),i=this.validateViewPosition(e.endLineNumber,e.endColumn,t.getEndPosition());return new He(n.lineNumber,n.column,i.lineNumber,i.column)}convertViewPositionToModelPosition(e,t){const n=this.getViewLineInfo(e),i=this.modelLineProjections[n.modelLineNumber-1].getModelColumnOfViewPosition(n.modelLineWrappedLineIdx,t);return this.model.validatePosition(new Ii(n.modelLineNumber,i))}convertViewRangeToModelRange(e){const t=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),n=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);return new He(t.lineNumber,t.column,n.lineNumber,n.column)}convertModelPositionToViewPosition(e,t,n=2){const i=this.model.validatePosition(new Ii(e,t)),s=i.lineNumber,a=i.column;let l=s-1,u=!1;for(;l>0&&!this.modelLineProjections[l].isVisible();)l--,u=!0;if(l===0&&!this.modelLineProjections[l].isVisible())return new Ii(1,1);const d=1+this.projectedModelLineLineCounts.getPrefixSum(l);let h;return u?h=this.modelLineProjections[l].getViewPositionOfModelPosition(d,this.model.getLineMaxColumn(l+1),n):h=this.modelLineProjections[s-1].getViewPositionOfModelPosition(d,a,n),h}convertModelRangeToViewRange(e,t=0){if(e.isEmpty()){const n=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn,t);return He.fromPositions(n)}else{const n=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn,1),i=this.convertModelPositionToViewPosition(e.endLineNumber,e.endColumn,0);return new He(n.lineNumber,n.column,i.lineNumber,i.column)}}getViewLineNumberOfModelPosition(e,t){let n=e-1;if(this.modelLineProjections[n].isVisible()){const s=1+this.projectedModelLineLineCounts.getPrefixSum(n);return this.modelLineProjections[n].getViewLineNumberOfModelPosition(s,t)}for(;n>0&&!this.modelLineProjections[n].isVisible();)n--;if(n===0&&!this.modelLineProjections[n].isVisible())return 1;const i=1+this.projectedModelLineLineCounts.getPrefixSum(n);return this.modelLineProjections[n].getViewLineNumberOfModelPosition(i,this.model.getLineMaxColumn(n+1))}getDecorationsInRange(e,t,n){const i=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),s=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);if(s.lineNumber-i.lineNumber<=e.endLineNumber-e.startLineNumber)return this.model.getDecorationsInRange(new He(i.lineNumber,1,s.lineNumber,s.column),t,n);let a=[];const l=i.lineNumber-1,u=s.lineNumber-1;let d=null;for(let y=l;y<=u;y++)if(this.modelLineProjections[y].isVisible())d===null&&(d=new Ii(y+1,y===l?i.column:1));else if(d!==null){const T=this.model.getLineMaxColumn(y);a=a.concat(this.model.getDecorationsInRange(new He(d.lineNumber,d.column,y,T),t,n)),d=null}d!==null&&(a=a.concat(this.model.getDecorationsInRange(new He(d.lineNumber,d.column,s.lineNumber,s.column),t,n)),d=null),a.sort((y,D)=>{const T=He.compareRangesUsingStarts(y.range,D.range);return T===0?y.id<D.id?-1:y.id>D.id?1:0:T});let h=[],p=0,g=null;for(const y of a){const D=y.id;g!==D&&(g=D,h[p++]=y)}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 n=this.getViewLineInfo(e.lineNumber);return this.modelLineProjections[n.modelLineNumber-1].normalizePosition(n.modelLineWrappedLineIdx,e,t)}getLineIndentColumn(e){const t=this.getViewLineInfo(e);return t.modelLineWrappedLineIdx===0?this.model.getLineIndentColumn(t.modelLineNumber):0}}function _5e(o){if(o.length===0)return[];const e=o.slice();e.sort(He.compareRangesUsingStarts);const t=[];let n=e[0].startLineNumber,i=e[0].endLineNumber;for(let s=1,a=e.length;s<a;s++){const l=e[s];l.startLineNumber>i+1?(t.push(new He(n,1,i,1)),n=l.startLineNumber,i=l.endLineNumber):l.endLineNumber>i&&(i=l.endLineNumber)}return t.push(new He(n,1,i,1)),t}class Nse{constructor(e,t){this.modelLineNumber=e,this.modelLineWrappedLineIdx=t}get isWrappedLineContinuation(){return this.modelLineWrappedLineIdx>0}}class Ise{constructor(e,t){this.modelRange=e,this.viewLines=t}}class g5e{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){return this._lines.convertModelPositionToViewPosition(e.lineNumber,e.column,t)}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 m5e{constructor(e){this.model=e}dispose(){}createCoordinatesConverter(){return new y5e(this)}getHiddenAreas(){return[]}setHiddenAreas(e){return!1}setTabSize(e){return!1}setWrappingSettings(e,t,n,i){return!1}createLineBreaksComputer(){const e=[];return{addRequest:(t,n,i)=>{e.push(null)},finalize:()=>e}}onModelFlushed(){}onModelLinesDeleted(e,t,n){return new Fz(t,n)}onModelLinesInserted(e,t,n,i){return new Pz(t,n)}onModelLineChanged(e,t,n){return[!1,new Jce(t,t),null,null]}acceptVersionId(e){}getViewLineCount(){return this.model.getLineCount()}getActiveIndentGuide(e,t,n){return{startLineNumber:e,endLineNumber:e,indent:0}}getViewLinesBracketGuides(e,t,n){return new Array(t-e+1).fill([])}getViewLinesIndentGuides(e,t){const n=t-e+1,i=new Array(n);for(let s=0;s<n;s++)i[s]=0;return i}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.getLineTokens(e),n=t.getLineContent();return new tG(n,!1,1,n.length+1,0,t.inflate(),null)}getViewLinesData(e,t,n){const i=this.model.getLineCount();e=Math.min(Math.max(1,e),i),t=Math.min(Math.max(1,t),i);const s=[];for(let a=e;a<=t;a++){const l=a-e;s[l]=n[l]?this.getViewLineData(a):null}return s}getDecorationsInRange(e,t,n){return this.model.getDecorationsInRange(e,t,n)}normalizePosition(e,t){return this.model.normalizePosition(e,t)}getLineIndentColumn(e){return this.model.getLineIndentColumn(e)}getInjectedTextAt(e){return null}}class y5e{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}}class b5e extends fr{constructor(e,t,n,i,s,a,l,u){if(super(),this.languageConfigurationService=l,this._themeService=u,this._editorId=e,this._configuration=t,this.model=n,this._eventDispatcher=new LIe,this.onEvent=this._eventDispatcher.onEvent,this.cursorConfig=new qS(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._tokenizeViewportSoon=this._register(new Bu(()=>this.tokenizeViewport(),50)),this._updateConfigurationViewLineCount=this._register(new Bu(()=>this._updateConfigurationViewLineCountNow(),0)),this._hasFocus=!1,this._viewportStartLine=-1,this._viewportStartLineTrackedRange=null,this._viewportStartLineDelta=0,this.model.isTooLargeForTokenization())this._lines=new m5e(this.model);else{const d=this._configuration.options,h=d.get(44),p=d.get(125),g=d.get(132),y=d.get(124);this._lines=new f5e(this._editorId,this.model,i,s,h,this.model.getOptions().tabSize,p,g.wrappingColumn,y)}this.coordinatesConverter=this._lines.createCoordinatesConverter(),this._cursor=this._register(new hE(n,this,this.coordinatesConverter,this.cursorConfig)),this.viewLayout=this._register(new GIe(this._configuration,this.getLineCount(),a)),this._register(this.viewLayout.onDidScroll(d=>{d.scrollTopChanged&&this._tokenizeViewportSoon.schedule(),this._eventDispatcher.emitSingleViewEvent(new xIe(d)),this._eventDispatcher.emitOutgoingEvent(new FG(d.oldScrollWidth,d.oldScrollLeft,d.oldScrollHeight,d.oldScrollTop,d.scrollWidth,d.scrollLeft,d.scrollHeight,d.scrollTop))})),this._register(this.viewLayout.onDidContentSizeChange(d=>{this._eventDispatcher.emitOutgoingEvent(d)})),this._decorations=new JIe(this._editorId,this.model,this._configuration,this._lines,this.coordinatesConverter),this._registerModelEvents(),this._register(this._configuration.onDidChangeFast(d=>{try{const h=this._eventDispatcher.beginEmitViewEvents();this._onConfigurationChanged(h,d)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(l4.getInstance().onDidChange(()=>{this._eventDispatcher.emitSingleViewEvent(new AIe)})),this._register(this._themeService.onDidColorThemeChange(d=>{this._invalidateDecorationsColorCache(),this._eventDispatcher.emitSingleViewEvent(new EIe(d))})),this._updateConfigurationViewLineCountNow()}dispose(){super.dispose(),this._decorations.dispose(),this._lines.dispose(),this._viewportStartLineTrackedRange=this.model._setTrackedRange(this._viewportStartLineTrackedRange,null,1),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())}tokenizeViewport(){const e=this.viewLayout.getLinesViewportData(),t=new He(e.startLineNumber,this.getLineMinColumn(e.startLineNumber),e.endLineNumber,this.getLineMaxColumn(e.endLineNumber)),n=this._toModelVisibleRanges(t);for(const i of n)this.model.tokenizeViewport(i.startLineNumber,i.endLineNumber)}setHasFocus(e){this._hasFocus=e,this._cursor.setHasFocus(e),this._eventDispatcher.emitSingleViewEvent(new wIe(e)),this._eventDispatcher.emitOutgoingEvent(new IG(!e,e))}onCompositionStart(){this._eventDispatcher.emitSingleViewEvent(new bIe)}onCompositionEnd(){this._eventDispatcher.emitSingleViewEvent(new vIe)}_onConfigurationChanged(e,t){let n=null;if(this._viewportStartLine!==-1){const h=new Ii(this._viewportStartLine,this.getLineMinColumn(this._viewportStartLine));n=this.coordinatesConverter.convertViewPositionToModelPosition(h)}let i=!1;const s=this._configuration.options,a=s.get(44),l=s.get(125),u=s.get(132),d=s.get(124);if(this._lines.setWrappingSettings(a,l,u.wrappingColumn,d)&&(e.emitViewEvent(new YF),e.emitViewEvent(new XF),e.emitViewEvent(new GS(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.getCurrentScrollTop()!==0&&(i=!0),this._updateConfigurationViewLineCount.schedule()),t.hasChanged(81)&&(this._decorations.reset(),e.emitViewEvent(new GS(null))),e.emitViewEvent(new CIe(t)),this.viewLayout.onConfigurationChanged(t),i&&n){const h=this.coordinatesConverter.convertModelPositionToViewPosition(n),p=this.viewLayout.getVerticalOffsetForLineNumber(h.lineNumber);this.viewLayout.setScrollPosition({scrollTop:p+this._viewportStartLineDelta},1)}qS.shouldRecreate(t)&&(this.cursorConfig=new qS(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig))}_registerModelEvents(){this._register(this.model.onDidChangeContentOrInjectedText(e=>{try{const t=this._eventDispatcher.beginEmitViewEvents();let n=!1,i=!1;const s=e.changes,a=e instanceof fD?e.versionId:null,l=this._lines.createLineBreaksComputer();for(const h of s)switch(h.changeType){case 4:{for(let p=0;p<h.detail.length;p++){const g=h.detail[p];let y=h.injectedTexts[p];y&&(y=y.filter(D=>!D.ownerId||D.ownerId===this._editorId)),l.addRequest(g,y,null)}break}case 2:{let p=null;h.injectedText&&(p=h.injectedText.filter(g=>!g.ownerId||g.ownerId===this._editorId)),l.addRequest(h.detail,p,null);break}}const u=l.finalize(),d=new Zx(u);for(const h of s)switch(h.changeType){case 1:{this._lines.onModelFlushed(),t.emitViewEvent(new YF),this._decorations.reset(),this.viewLayout.onFlushed(this.getLineCount()),n=!0;break}case 3:{const p=this._lines.onModelLinesDeleted(a,h.fromLineNumber,h.toLineNumber);p!==null&&(t.emitViewEvent(p),this.viewLayout.onLinesDeleted(p.fromLineNumber,p.toLineNumber)),n=!0;break}case 4:{const p=d.takeCount(h.detail.length),g=this._lines.onModelLinesInserted(a,h.fromLineNumber,h.toLineNumber,p);g!==null&&(t.emitViewEvent(g),this.viewLayout.onLinesInserted(g.fromLineNumber,g.toLineNumber)),n=!0;break}case 2:{const p=d.dequeue(),[g,y,D,T]=this._lines.onModelLineChanged(a,h.lineNumber,p);i=g,y&&t.emitViewEvent(y),D&&(t.emitViewEvent(D),this.viewLayout.onLinesInserted(D.fromLineNumber,D.toLineNumber)),T&&(t.emitViewEvent(T),this.viewLayout.onLinesDeleted(T.fromLineNumber,T.toLineNumber));break}case 5:break}a!==null&&this._lines.acceptVersionId(a),this.viewLayout.onHeightMaybeChanged(),!n&&i&&(t.emitViewEvent(new XF),t.emitViewEvent(new GS(null)),this._cursor.onLineMappingChanged(t),this._decorations.onLineMappingChanged())}finally{this._eventDispatcher.endEmitViewEvents()}if(this._viewportStartLine=-1,this._configuration.setModelLineCount(this.model.getLineCount()),this._updateConfigurationViewLineCountNow(),!this._hasFocus&&this.model.getAttachedEditorCount()>=2&&this._viewportStartLineTrackedRange){const t=this.model._getTrackedRange(this._viewportStartLineTrackedRange);if(t){const n=this.coordinatesConverter.convertModelPositionToViewPosition(t.getStartPosition()),i=this.viewLayout.getVerticalOffsetForLineNumber(n.lineNumber);this.viewLayout.setScrollPosition({scrollTop:i+this._viewportStartLineDelta},1)}}try{const t=this._eventDispatcher.beginEmitViewEvents();this._cursor.onModelContentChanged(t,e)}finally{this._eventDispatcher.endEmitViewEvents()}this._tokenizeViewportSoon.schedule()})),this._register(this.model.onDidChangeTokens(e=>{const t=[];for(let n=0,i=e.ranges.length;n<i;n++){const s=e.ranges[n],a=this.coordinatesConverter.convertModelPositionToViewPosition(new Ii(s.fromLineNumber,1)).lineNumber,l=this.coordinatesConverter.convertModelPositionToViewPosition(new Ii(s.toLineNumber,this.model.getLineMaxColumn(s.toLineNumber))).lineNumber;t[n]={fromLineNumber:a,toLineNumber:l}}this._eventDispatcher.emitSingleViewEvent(new TIe(t)),e.tokenizationSupportChanged&&this._tokenizeViewportSoon.schedule()})),this._register(this.model.onDidChangeLanguageConfiguration(e=>{this._eventDispatcher.emitSingleViewEvent(new SIe),this.cursorConfig=new qS(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeLanguage(e=>{this.cursorConfig=new qS(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeOptions(e=>{if(this._lines.setTabSize(this.model.getOptions().tabSize)){try{const t=this._eventDispatcher.beginEmitViewEvents();t.emitViewEvent(new YF),t.emitViewEvent(new XF),t.emitViewEvent(new GS(null)),this._cursor.onLineMappingChanged(t),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}this.cursorConfig=new qS(this.model.getLanguageId(),this.model.getOptions(),this._configuration,this.languageConfigurationService),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeDecorations(e=>{this._decorations.onModelDecorationsChanged(),this._eventDispatcher.emitSingleViewEvent(new GS(e))}))}setHiddenAreas(e){let t=!1;try{const n=this._eventDispatcher.beginEmitViewEvents();t=this._lines.setHiddenAreas(e),t&&(n.emitViewEvent(new YF),n.emitViewEvent(new XF),n.emitViewEvent(new GS(null)),this._cursor.onLineMappingChanged(n),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule(),t&&this._eventDispatcher.emitOutgoingEvent(new rse)}getVisibleRangesPlusViewportAboveBelow(){const e=this._configuration.options.get(131),t=this._configuration.options.get(59),n=Math.max(20,Math.round(e.height/t)),i=this.viewLayout.getLinesViewportData(),s=Math.max(1,i.completelyVisibleStartLineNumber-n),a=Math.min(this.getLineCount(),i.completelyVisibleEndLineNumber+n);return this._toModelVisibleRanges(new He(s,this.getLineMinColumn(s),a,this.getLineMaxColumn(a)))}getVisibleRanges(){const e=this.getCompletelyVisibleViewRange();return this._toModelVisibleRanges(e)}_toModelVisibleRanges(e){const t=this.coordinatesConverter.convertViewRangeToModelRange(e),n=this._lines.getHiddenAreas();if(n.length===0)return[t];const i=[];let s=0,a=t.startLineNumber,l=t.startColumn;const u=t.endLineNumber,d=t.endColumn;for(let h=0,p=n.length;h<p;h++){const g=n[h].startLineNumber,y=n[h].endLineNumber;y<a||g>u||(a<g&&(i[s++]=new He(a,l,g-1,this.model.getLineMaxColumn(g-1))),a=y+1,l=1)}return(a<u||a===u&&l<d)&&(i[s++]=new He(a,l,u,d)),i}getCompletelyVisibleViewRange(){const e=this.viewLayout.getLinesViewportData(),t=e.completelyVisibleStartLineNumber,n=e.completelyVisibleEndLineNumber;return new He(t,this.getLineMinColumn(t),n,this.getLineMaxColumn(n))}getCompletelyVisibleViewRangeAtScrollTop(e){const t=this.viewLayout.getLinesViewportDataAtScrollTop(e),n=t.completelyVisibleStartLineNumber,i=t.completelyVisibleEndLineNumber;return new He(n,this.getLineMinColumn(n),i,this.getLineMaxColumn(i))}saveState(){const e=this.viewLayout.saveState(),t=e.scrollTop,n=this.viewLayout.getLineNumberAtVerticalOffset(t),i=this.coordinatesConverter.convertViewPositionToModelPosition(new Ii(n,this.getLineMinColumn(n))),s=this.viewLayout.getVerticalOffsetForLineNumber(n)-t;return{scrollLeft:e.scrollLeft,firstPosition:i,firstPositionDeltaTop:s}}reduceRestoreState(e){if(typeof e.firstPosition==\"undefined\")return this._reduceRestoreStateCompatibility(e);const t=this.model.validatePosition(e.firstPosition),n=this.coordinatesConverter.convertModelPositionToViewPosition(t),i=this.viewLayout.getVerticalOffsetForLineNumber(n.lineNumber)-e.firstPositionDeltaTop;return{scrollLeft:e.scrollLeft,scrollTop:i}}_reduceRestoreStateCompatibility(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTopWithoutViewZones}}getTabSize(){return this.model.getOptions().tabSize}getLineCount(){return this._lines.getViewLineCount()}setViewport(e,t,n){this._viewportStartLine=e;const i=this.coordinatesConverter.convertViewPositionToModelPosition(new Ii(e,this.getLineMinColumn(e)));this._viewportStartLineTrackedRange=this.model._setTrackedRange(this._viewportStartLineTrackedRange,new He(i.lineNumber,i.column,i.lineNumber,i.column),1);const s=this.viewLayout.getVerticalOffsetForLineNumber(e),a=this.viewLayout.getCurrentScrollTop();this._viewportStartLineDelta=a-s}getActiveIndentGuide(e,t,n){return this._lines.getActiveIndentGuide(e,t,n)}getLinesIndentGuides(e,t){return this._lines.getViewLinesIndentGuides(e,t)}getBracketGuidesInRangeByLine(e,t,n,i){return this._lines.getViewLinesBracketGuides(e,t,n,i)}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=pf(this.getLineContent(e));return t===-1?0:t+1}getLineLastNonWhitespaceColumn(e){const t=V1(this.getLineContent(e));return t===-1?0:t+2}getDecorationsInViewport(e){return this._decorations.getDecorationsViewportData(e).decorations}getInjectedTextAt(e){return this._lines.getInjectedTextAt(e)}getViewLineRenderingData(e,t){const n=this.model.mightContainRTL(),i=this.model.mightContainNonBasicASCII(),s=this.getTabSize(),a=this._lines.getViewLineData(t);let u=this._decorations.getDecorationsViewportData(e).inlineDecorations[t-e.startLineNumber];return a.inlineDecorations&&(u=[...u,...a.inlineDecorations.map(d=>d.toInlineDecoration(t))]),new Y_(a.minColumn,a.maxColumn,a.content,a.continuesWithWrappedLine,n,i,a.tokens,u,s,a.startVisibleColumn)}getViewLineData(e){return this._lines.getViewLineData(e)}getMinimapLinesRenderingData(e,t,n){const i=this._lines.getViewLinesData(e,t,n);return new p3e(this.getTabSize(),i)}getAllOverviewRulerDecorations(e){const t=this.model.getOverviewRulerDecorations(this._editorId,P8(this._configuration.options)),n=new v5e;for(const i of t){const s=i.options,a=s.overviewRuler;if(!a)continue;const l=a.position;if(l===0)continue;const u=a.getColor(e.value),d=this.coordinatesConverter.getViewLineNumberOfModelPosition(i.range.startLineNumber,i.range.startColumn),h=this.coordinatesConverter.getViewLineNumberOfModelPosition(i.range.endLineNumber,i.range.endColumn);n.accept(u,s.zIndex,d,h,l)}return n.asArray}_invalidateDecorationsColorCache(){const e=this.model.getOverviewRulerDecorations();for(const t of e){const n=t.options.overviewRuler;n&&n.invalidateCachedColor();const i=t.options.minimap;i&&i.invalidateCachedColor()}}getValueInRange(e,t){const n=this.coordinatesConverter.convertViewRangeToModelRange(e);return this.model.getValueInRange(n,t)}deduceModelPositionRelativeToViewPosition(e,t,n){const i=this.coordinatesConverter.convertViewPositionToModelPosition(e);this.model.getEOL().length===2&&(t<0?t-=n:t+=n);const a=this.model.getOffsetAt(i)+t;return this.model.getPositionAt(a)}getPlainTextToCopy(e,t,n){const i=n?`\\r\n`:this.model.getEOL();e=e.slice(0),e.sort(He.compareRangesUsingStarts);let s=!1,a=!1;for(const u of e)u.isEmpty()?s=!0:a=!0;if(!a){if(!t)return\"\";const u=e.map(h=>h.startLineNumber);let d=\"\";for(let h=0;h<u.length;h++)h>0&&u[h-1]===u[h]||(d+=this.model.getLineContent(u[h])+i);return d}if(s&&t){const u=[];let d=0;for(const h of e){const p=h.startLineNumber;h.isEmpty()?p!==d&&u.push(this.model.getLineContent(p)):u.push(this.model.getValueInRange(h,n?2:0)),d=p}return u.length===1?u[0]:u}const l=[];for(const u of e)u.isEmpty()||l.push(this.model.getValueInRange(u,n?2:0));return l.length===1?l[0]:l}getRichTextToCopy(e,t){const n=this.model.getLanguageId();if(n===ay||e.length!==1)return null;let i=e[0];if(i.isEmpty()){if(!t)return null;const h=i.startLineNumber;i=new He(h,this.model.getLineMinColumn(h),h,this.model.getLineMaxColumn(h))}const s=this._configuration.options.get(44),a=this._getColorMap(),u=/[:;\\\\\\/<>]/.test(s.fontFamily)||s.fontFamily===Rp.fontFamily;let d;return u?d=Rp.fontFamily:(d=s.fontFamily,d=d.replace(/\"/g,\"'\"),/[,']/.test(d)||/[+ ]/.test(d)&&(d=`'${d}'`),d=`${d}, ${Rp.fontFamily}`),{mode:n,html:`<div style=\"color: ${a[1]};background-color: ${a[2]};font-family: ${d};font-weight: ${s.fontWeight};font-size: ${s.fontSize}px;line-height: ${s.lineHeight}px;white-space: pre;\">`+this._getHTMLToCopy(i,a)+\"</div>\"}}_getHTMLToCopy(e,t){const n=e.startLineNumber,i=e.startColumn,s=e.endLineNumber,a=e.endColumn,l=this.getTabSize();let u=\"\";for(let d=n;d<=s;d++){const h=this.model.getLineTokens(d),p=h.getLineContent(),g=d===n?i-1:0,y=d===s?a-1:p.length;p===\"\"?u+=\"<br>\":u+=$Ie(p,h.inflate(),t,g,y,l,Ph)}return u}_getColorMap(){const e=Ic.getColorMap(),t=[\"#000000\"];if(e)for(let n=1,i=e.length;n<i;n++)t[n]=Xi.Format.CSS.formatHex(e[n]);return t}getPrimaryCursorState(){return this._cursor.getPrimaryCursorState()}getLastAddedCursorIndex(){return this._cursor.getLastAddedCursorIndex()}getCursorStates(){return this._cursor.getCursorStates()}setCursorStates(e,t,n){return this._withViewEventsCollector(i=>this._cursor.setStates(i,e,t,n))}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,n=0){this._withViewEventsCollector(i=>this._cursor.setSelections(i,e,t,n))}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 IIe);return}this._withViewEventsCollector(e)}executeEdits(e,t,n){this._executeCursorEdit(i=>this._cursor.executeEdits(i,e,t,n))}startComposition(){this._cursor.setIsDoingComposition(!0),this._executeCursorEdit(e=>this._cursor.startComposition(e))}endComposition(e){this._cursor.setIsDoingComposition(!1),this._executeCursorEdit(t=>this._cursor.endComposition(t,e))}type(e,t){this._executeCursorEdit(n=>this._cursor.type(n,e,t))}compositionType(e,t,n,i,s){this._executeCursorEdit(a=>this._cursor.compositionType(a,e,t,n,i,s))}paste(e,t,n,i){this._executeCursorEdit(s=>this._cursor.paste(s,e,t,n,i))}cut(e){this._executeCursorEdit(t=>this._cursor.cut(t,e))}executeCommand(e,t){this._executeCursorEdit(n=>this._cursor.executeCommand(n,e,t))}executeCommands(e,t){this._executeCursorEdit(n=>this._cursor.executeCommands(n,e,t))}revealPrimaryCursor(e,t,n=!1){this._withViewEventsCollector(i=>this._cursor.revealPrimary(i,e,n,0,t,0))}revealTopMostCursor(e){const t=this._cursor.getTopMostViewPosition(),n=new He(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector(i=>i.emitViewEvent(new a8(e,!1,n,null,0,!0,0)))}revealBottomMostCursor(e){const t=this._cursor.getBottomMostViewPosition(),n=new He(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector(i=>i.emitViewEvent(new a8(e,!1,n,null,0,!0,0)))}revealRange(e,t,n,i,s){this._withViewEventsCollector(a=>a.emitViewEvent(new a8(e,!1,n,null,i,t,s)))}changeWhitespace(e){this.viewLayout.changeWhitespace(e)&&(this._eventDispatcher.emitSingleViewEvent(new kIe),this._eventDispatcher.emitOutgoingEvent(new rse))}_withViewEventsCollector(e){try{const t=this._eventDispatcher.beginEmitViewEvents();return e(t)}finally{this._eventDispatcher.endEmitViewEvents()}}normalizePosition(e,t){return this._lines.normalizePosition(e,t)}getLineIndentColumn(e){return this._lines.getLineIndentColumn(e)}}class v5e{constructor(){this._asMap=Object.create(null),this.asArray=[]}accept(e,t,n,i,s){const a=this._asMap[e];if(a){const l=a.data,u=l[l.length-3],d=l[l.length-1];if(u===s&&d+1>=n){i>d&&(l[l.length-1]=i);return}l.push(s,n,i)}else{const l=new Iue(e,t,[s,n,i]);this._asMap[e]=l,this.asArray.push(l)}}}class i9{constructor(...e){this._entries=new Map;for(let[t,n]of e)this.set(t,n)}set(e,t){const n=this._entries.get(e);return this._entries.set(e,t),n}get(e){return this._entries.get(e)}}var lL;(function(o){o[o.Ignore=0]=\"Ignore\",o[o.Info=1]=\"Info\",o[o.Warning=2]=\"Warning\",o[o.Error=3]=\"Error\"})(lL||(lL={}));(function(o){const e=\"error\",t=\"warning\",n=\"warn\",i=\"info\",s=\"ignore\";function a(u){return u?gx(e,u)?o.Error:gx(t,u)||gx(n,u)?o.Warning:gx(i,u)?o.Info:o.Ignore:o.Ignore}o.fromValue=a;function l(u){switch(u){case o.Error:return e;case o.Warning:return t;case o.Info:return i;default:return s}}o.toString=l})(lL||(lL={}));var Nc=lL,bde=Nc;const Sd=zl(\"notificationService\");class C5e{}class v3{constructor(e,t,n,i,s){this.injectionOffsets=e,this.injectionOptions=t,this.breakOffsets=n,this.breakOffsetsVisibleColumn=i,this.wrappedTextIndentLength=s}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 i=this.breakOffsets[e]-t;return e>0&&(i+=this.wrappedTextIndentLength),i}getMaxOutputOffset(e){return this.getLineLength(e)}translateToInputOffset(e,t){e>0&&(t=Math.max(0,t-this.wrappedTextIndentLength));let i=e===0?t:this.breakOffsets[e-1]+t;if(this.injectionOffsets!==null)for(let s=0;s<this.injectionOffsets.length&&i>this.injectionOffsets[s];s++)i<this.injectionOffsets[s]+this.injectionOptions[s].content.length?i=this.injectionOffsets[s]:i-=this.injectionOptions[s].content.length;return i}translateToOutputPosition(e,t=2){let n=e;if(this.injectionOffsets!==null)for(let i=0;i<this.injectionOffsets.length&&!(e<this.injectionOffsets[i]||t!==1&&e===this.injectionOffsets[i]);i++)n+=this.injectionOptions[i].content.length;return this.offsetInInputWithInjectionsToOutputPosition(n,t)}offsetInInputWithInjectionsToOutputPosition(e,t=2){let n=0,i=this.breakOffsets.length-1,s=0,a=0;for(;n<=i;){s=n+(i-n)/2|0;const u=this.breakOffsets[s];if(a=s>0?this.breakOffsets[s-1]:0,t===0)if(e<=a)i=s-1;else if(e>u)n=s+1;else break;else if(e<a)i=s-1;else if(e>=u)n=s+1;else break}let l=e-a;return s>0&&(l+=this.wrappedTextIndentLength),new s5(s,l)}normalizeOutputPosition(e,t,n){if(this.injectionOffsets!==null){const i=this.outputPositionToOffsetInInputWithInjections(e,t),s=this.normalizeOffsetInInputWithInjectionsAroundInjections(i,n);if(s!==i)return this.offsetInInputWithInjectionsToOutputPosition(s,n)}if(n===0){if(e>0&&t===this.getMinOutputOffset(e))return new s5(e-1,this.getMaxOutputOffset(e-1))}else if(n===1){const i=this.getOutputLineCount()-1;if(e<i&&t===this.getMaxOutputOffset(e))return new s5(e+1,this.getMinOutputOffset(e+1))}return new s5(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 n=this.getInjectedTextAtOffset(e);if(!n)return e;if(t===2){if(e===n.offsetInInputWithInjections+n.length&&Fse(this.injectionOptions[n.injectedTextIndex].cursorStops))return n.offsetInInputWithInjections+n.length;{let i=n.offsetInInputWithInjections;if(Pse(this.injectionOptions[n.injectedTextIndex].cursorStops))return i;let s=n.injectedTextIndex-1;for(;s>=0&&this.injectionOffsets[s]===this.injectionOffsets[n.injectedTextIndex]&&!(Fse(this.injectionOptions[s].cursorStops)||(i-=this.injectionOptions[s].content.length,Pse(this.injectionOptions[s].cursorStops)));)s--;return i}}else if(t===1){let i=n.offsetInInputWithInjections+n.length,s=n.injectedTextIndex;for(;s+1<this.injectionOffsets.length&&this.injectionOffsets[s+1]===this.injectionOffsets[s];)i+=this.injectionOptions[s+1].content.length,s++;return i}else if(t===0){let i=n.offsetInInputWithInjections,s=n.injectedTextIndex;for(;s-1>=0&&this.injectionOffsets[s-1]===this.injectionOffsets[s];)i-=this.injectionOptions[s-1].content.length,s--;return i}Dq()}getInjectedText(e,t){const n=this.outputPositionToOffsetInInputWithInjections(e,t),i=this.getInjectedTextAtOffset(n);return i?{options:this.injectionOptions[i.injectedTextIndex]}:null}getInjectedTextAtOffset(e){const t=this.injectionOffsets,n=this.injectionOptions;if(t!==null){let i=0;for(let s=0;s<t.length;s++){const a=n[s].content.length,l=t[s]+i,u=t[s]+i+a;if(l>e)break;if(e<=u)return{injectedTextIndex:s,offsetInInputWithInjections:l,length:a};i+=a}}}}function Fse(o){return o==null?!0:o===P1.Right||o===P1.Both}function Pse(o){return o==null?!0:o===P1.Left||o===P1.Both}class s5{constructor(e,t){this.outputLineIndex=e,this.outputOffset=t}toString(){return`${this.outputLineIndex}:${this.outputOffset}`}toPosition(e){return new Ii(e+this.outputLineIndex,this.outputOffset+1)}}class KG{constructor(e,t){this.classifier=new D5e(e,t)}static create(e){return new KG(e.get(120),e.get(119))}createLineBreaksComputer(e,t,n,i){const s=[],a=[],l=[];return{addRequest:(u,d,h)=>{s.push(u),a.push(d),l.push(h)},finalize:()=>{const u=e.typicalFullwidthCharacterWidth/e.typicalHalfwidthCharacterWidth,d=[];for(let h=0,p=s.length;h<p;h++){const g=a[h],y=l[h];y&&!y.injectionOptions&&!g?d[h]=w5e(this.classifier,y,s[h],t,n,u,i):d[h]=S5e(this.classifier,s[h],g,t,n,u,i)}return Vz.length=0,Hz.length=0,d}}}}class D5e extends VE{constructor(e,t){super(0);for(let n=0;n<e.length;n++)this.set(e.charCodeAt(n),1);for(let n=0;n<t.length;n++)this.set(t.charCodeAt(n),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 Vz=[],Hz=[];function w5e(o,e,t,n,i,s,a){if(i===-1)return null;const l=t.length;if(l<=1)return null;const u=e.breakOffsets,d=e.breakOffsetsVisibleColumn,h=vde(t,n,i,s,a),p=i-h,g=Vz,y=Hz;let D=0,T=0,k=0,I=i;const F=u.length;let q=0;if(q>=0){let re=Math.abs(d[q]-I);for(;q+1<F;){const Ie=Math.abs(d[q+1]-I);if(Ie>=re)break;re=Ie,q++}}for(;q<F;){let re=q<0?0:u[q],Ie=q<0?0:d[q];T>re&&(re=T,Ie=k);let mt=0,Le=0,Ge=0,qt=0;if(Ie<=I){let ai=Ie,Tr=re===0?0:t.charCodeAt(re-1),Vr=re===0?0:o.get(Tr),go=!0;for(let Js=re;Js<l;Js++){const Fo=Js,aa=t.charCodeAt(Js);let Qo,Ao;if(eh(aa)?(Js++,Qo=0,Ao=2):(Qo=o.get(aa),Ao=C3(aa,ai,n,s)),Fo>T&&$z(Tr,Vr,aa,Qo)&&(mt=Fo,Le=ai),ai+=Ao,ai>I){Fo>T?(Ge=Fo,qt=ai-Ao):(Ge=Js+1,qt=ai),ai-Le>p&&(mt=0),go=!1;break}Tr=aa,Vr=Qo}if(go){D>0&&(g[D]=u[u.length-1],y[D]=d[u.length-1],D++);break}}if(mt===0){let ai=Ie,Tr=t.charCodeAt(re),Vr=o.get(Tr),go=!1;for(let Js=re-1;Js>=T;Js--){const Fo=Js+1,aa=t.charCodeAt(Js);if(aa===9){go=!0;break}let Qo,Ao;if(DD(aa)?(Js--,Qo=0,Ao=2):(Qo=o.get(aa),Ao=Qv(aa)?s:1),ai<=I){if(Ge===0&&(Ge=Fo,qt=ai),ai<=I-p)break;if($z(aa,Qo,Tr,Vr)){mt=Fo,Le=ai;break}}ai-=Ao,Tr=aa,Vr=Qo}if(mt!==0){const Js=p-(qt-Le);if(Js<=n){const Fo=t.charCodeAt(Ge);let aa;eh(Fo)?aa=2:aa=C3(Fo,qt,n,s),Js-aa<0&&(mt=0)}}if(go){q--;continue}}if(mt===0&&(mt=Ge,Le=qt),mt<=T){const ai=t.charCodeAt(T);eh(ai)?(mt=T+2,Le=k+2):(mt=T+1,Le=k+C3(ai,k,n,s))}for(T=mt,g[D]=mt,k=Le,y[D]=Le,D++,I=Le+p;q<0||q<F&&d[q]<Le;)q++;let gi=Math.abs(d[q]-I);for(;q+1<F;){const ai=Math.abs(d[q+1]-I);if(ai>=gi)break;gi=ai,q++}}return D===0?null:(g.length=D,y.length=D,Vz=e.breakOffsets,Hz=e.breakOffsetsVisibleColumn,e.breakOffsets=g,e.breakOffsetsVisibleColumn=y,e.wrappedTextIndentLength=h,e)}function S5e(o,e,t,n,i,s,a){const l=v0.applyInjectedText(e,t);let u,d;if(t&&t.length>0?(u=t.map(Le=>Le.options),d=t.map(Le=>Le.column-1)):(u=null,d=null),i===-1)return u?new v3(d,u,[l.length],[],0):null;const h=l.length;if(h<=1)return u?new v3(d,u,[l.length],[],0):null;const p=vde(l,n,i,s,a),g=i-p,y=[],D=[];let T=0,k=0,I=0,F=i,q=l.charCodeAt(0),re=o.get(q),Ie=C3(q,0,n,s),mt=1;eh(q)&&(Ie+=1,q=l.charCodeAt(1),re=o.get(q),mt++);for(let Le=mt;Le<h;Le++){const Ge=Le,qt=l.charCodeAt(Le);let gi,ai;eh(qt)?(Le++,gi=0,ai=2):(gi=o.get(qt),ai=C3(qt,Ie,n,s)),$z(q,re,qt,gi)&&(k=Ge,I=Ie),Ie+=ai,Ie>F&&((k===0||Ie-I>g)&&(k=Ge,I=Ie-ai),y[T]=k,D[T]=I,T++,F=I+g,k=0),q=qt,re=gi}return T===0&&(!t||t.length===0)?null:(y[T]=h,D[T]=Ie,new v3(d,u,y,D,p))}function C3(o,e,t,n){return o===9?t-e%t:Qv(o)||o<32?n:1}function Ose(o,e){return e-o%e}function $z(o,e,t,n){return t!==32&&(e===2||e===3&&n!==2||n===1||n===3&&e!==1)}function vde(o,e,t,n,i){let s=0;if(i!==0){const a=pf(o);if(a!==-1){for(let u=0;u<a;u++)s+=o.charCodeAt(u)===9?Ose(s,e):1;const l=i===3?2:i===2?1:0;for(let u=0;u<l;u++)s+=Ose(s,e);s+n>t&&(s=0)}}return s}var RV;const BV=(RV=window.trustedTypes)===null||RV===void 0?void 0:RV.createPolicy(\"domLineBreaksComputer\",{createHTML:o=>o});class qG{static create(){return new qG}constructor(){}createLineBreaksComputer(e,t,n,i){const s=[],a=[];return{addRequest:(l,u,d)=>{s.push(l),a.push(u)},finalize:()=>x5e(s,e,t,n,i,a)}}}function x5e(o,e,t,n,i,s){var a;function l(Ge){const qt=s[Ge];if(qt){const gi=v0.applyInjectedText(o[Ge],qt),ai=qt.map(Vr=>Vr.options),Tr=qt.map(Vr=>Vr.column-1);return new v3(Tr,ai,[gi.length],[],0)}else return null}if(n===-1){const Ge=[];for(let qt=0,gi=o.length;qt<gi;qt++)Ge[qt]=l(qt);return Ge}const u=Math.round(n*e.typicalHalfwidthCharacterWidth),h=Math.round(t*(i===3?2:i===2?1:0)),p=Math.ceil(e.spaceWidth*h),g=document.createElement(\"div\");bp(g,e);const y=wD(1e4),D=[],T=[],k=[],I=[],F=[];for(let Ge=0;Ge<o.length;Ge++){const qt=v0.applyInjectedText(o[Ge],s[Ge]);let gi=0,ai=0,Tr=u;if(i!==0)if(gi=pf(qt),gi===-1)gi=0;else{for(let Fo=0;Fo<gi;Fo++)ai+=qt.charCodeAt(Fo)===9?t-ai%t:1;const Js=Math.ceil(e.spaceWidth*ai);Js+e.typicalFullwidthCharacterWidth>u?(gi=0,ai=0):Tr=u-Js}const Vr=qt.substr(gi),go=E5e(Vr,ai,t,Tr,y,p);D[Ge]=gi,T[Ge]=ai,k[Ge]=Vr,I[Ge]=go[0],F[Ge]=go[1]}const q=y.build(),re=(a=BV==null?void 0:BV.createHTML(q))!==null&&a!==void 0?a:q;g.innerHTML=re,g.style.position=\"absolute\",g.style.top=\"10000\",g.style.wordWrap=\"break-word\",document.body.appendChild(g);const Ie=document.createRange(),mt=Array.prototype.slice.call(g.children,0),Le=[];for(let Ge=0;Ge<o.length;Ge++){const qt=mt[Ge],gi=T5e(Ie,qt,k[Ge],I[Ge]);if(gi===null){Le[Ge]=l(Ge);continue}const ai=D[Ge],Tr=T[Ge]+h,Vr=F[Ge],go=[];for(let Qo=0,Ao=gi.length;Qo<Ao;Qo++)go[Qo]=Vr[gi[Qo]];if(ai!==0)for(let Qo=0,Ao=gi.length;Qo<Ao;Qo++)gi[Qo]+=ai;let Js,Fo;const aa=s[Ge];aa?(Js=aa.map(Qo=>Qo.options),Fo=aa.map(Qo=>Qo.column-1)):(Js=null,Fo=null),Le[Ge]=new v3(Fo,Js,gi,go,Tr)}return document.body.removeChild(g),Le}function E5e(o,e,t,n,i,s){if(s!==0){const g=String(s);i.appendASCIIString('<div style=\"text-indent: -'),i.appendASCIIString(g),i.appendASCIIString(\"px; padding-left: \"),i.appendASCIIString(g),i.appendASCIIString(\"px; box-sizing: border-box; width:\")}else i.appendASCIIString('<div style=\"width:');i.appendASCIIString(String(n)),i.appendASCIIString('px;\">');const a=o.length;let l=e,u=0;const d=[],h=[];let p=0<a?o.charCodeAt(0):0;i.appendASCIIString(\"<span>\");for(let g=0;g<a;g++){g!==0&&g%16384===0&&i.appendASCIIString(\"</span><span>\"),d[g]=u,h[g]=l;const y=p;p=g+1<a?o.charCodeAt(g+1):0;let D=1,T=1;switch(y){case 9:D=t-l%t,T=D;for(let k=1;k<=D;k++)k<D?i.write1(160):i.appendASCII(32);break;case 32:p===32?i.write1(160):i.appendASCII(32);break;case 60:i.appendASCIIString(\"&lt;\");break;case 62:i.appendASCIIString(\"&gt;\");break;case 38:i.appendASCIIString(\"&amp;\");break;case 0:i.appendASCIIString(\"&#00;\");break;case 65279:case 8232:case 8233:case 133:i.write1(65533);break;default:Qv(y)&&T++,y<32?i.write1(9216+y):i.write1(y)}u+=D,l+=T}return i.appendASCIIString(\"</span>\"),d[o.length]=u,h[o.length]=l,i.appendASCIIString(\"</div>\"),[d,h]}function T5e(o,e,t,n){if(t.length<=1)return null;const i=Array.prototype.slice.call(e.children,0),s=[];try{zz(o,i,n,0,null,t.length-1,null,s)}catch(a){return console.log(a),null}return s.length===0?null:(s.push(t.length),s)}function zz(o,e,t,n,i,s,a,l){if(n===s||(i=i||jV(o,e,t[n],t[n+1]),a=a||jV(o,e,t[s],t[s+1]),Math.abs(i[0].top-a[0].top)<=.1))return;if(n+1===s){l.push(s);return}const u=n+(s-n)/2|0,d=jV(o,e,t[u],t[u+1]);zz(o,e,t,n,i,u,d,l),zz(o,e,t,u,d,s,a,l)}function jV(o,e,t,n){return o.setStart(e[t/16384|0].firstChild,t%16384),o.setEnd(e[n/16384|0].firstChild,n%16384),o.getClientRects()}var A5e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},Hy=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let k5e=0;class L5e{constructor(e,t,n,i,s){this.model=e,this.viewModel=t,this.view=n,this.hasRealView=i,this.listenersToRemove=s}dispose(){eu(this.listenersToRemove),this.model.onBeforeDetached(),this.hasRealView&&this.view.dispose(),this.viewModel.dispose()}}let uL=class c8 extends fr{constructor(e,t,n,i,s,a,l,u,d,h,p,g){super(),this.languageConfigurationService=p,this._onDidDispose=this._register(new ri),this.onDidDispose=this._onDidDispose.event,this._onDidChangeModelContent=this._register(new ri),this.onDidChangeModelContent=this._onDidChangeModelContent.event,this._onDidChangeModelLanguage=this._register(new ri),this.onDidChangeModelLanguage=this._onDidChangeModelLanguage.event,this._onDidChangeModelLanguageConfiguration=this._register(new ri),this.onDidChangeModelLanguageConfiguration=this._onDidChangeModelLanguageConfiguration.event,this._onDidChangeModelOptions=this._register(new ri),this.onDidChangeModelOptions=this._onDidChangeModelOptions.event,this._onDidChangeModelDecorations=this._register(new ri),this.onDidChangeModelDecorations=this._onDidChangeModelDecorations.event,this._onDidChangeConfiguration=this._register(new ri),this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._onDidChangeModel=this._register(new ri),this.onDidChangeModel=this._onDidChangeModel.event,this._onDidChangeCursorPosition=this._register(new ri),this.onDidChangeCursorPosition=this._onDidChangeCursorPosition.event,this._onDidChangeCursorSelection=this._register(new ri),this.onDidChangeCursorSelection=this._onDidChangeCursorSelection.event,this._onDidAttemptReadOnlyEdit=this._register(new ri),this.onDidAttemptReadOnlyEdit=this._onDidAttemptReadOnlyEdit.event,this._onDidLayoutChange=this._register(new ri),this.onDidLayoutChange=this._onDidLayoutChange.event,this._editorTextFocus=this._register(new Mse),this.onDidFocusEditorText=this._editorTextFocus.onDidChangeToTrue,this.onDidBlurEditorText=this._editorTextFocus.onDidChangeToFalse,this._editorWidgetFocus=this._register(new Mse),this.onDidFocusEditorWidget=this._editorWidgetFocus.onDidChangeToTrue,this.onDidBlurEditorWidget=this._editorWidgetFocus.onDidChangeToFalse,this._onWillType=this._register(new ri),this.onWillType=this._onWillType.event,this._onDidType=this._register(new ri),this.onDidType=this._onDidType.event,this._onDidCompositionStart=this._register(new ri),this.onDidCompositionStart=this._onDidCompositionStart.event,this._onDidCompositionEnd=this._register(new ri),this.onDidCompositionEnd=this._onDidCompositionEnd.event,this._onDidPaste=this._register(new ri),this.onDidPaste=this._onDidPaste.event,this._onMouseUp=this._register(new ri),this.onMouseUp=this._onMouseUp.event,this._onMouseDown=this._register(new ri),this.onMouseDown=this._onMouseDown.event,this._onMouseDrag=this._register(new ri),this.onMouseDrag=this._onMouseDrag.event,this._onMouseDrop=this._register(new ri),this.onMouseDrop=this._onMouseDrop.event,this._onMouseDropCanceled=this._register(new ri),this.onMouseDropCanceled=this._onMouseDropCanceled.event,this._onContextMenu=this._register(new ri),this.onContextMenu=this._onContextMenu.event,this._onMouseMove=this._register(new ri),this.onMouseMove=this._onMouseMove.event,this._onMouseLeave=this._register(new ri),this.onMouseLeave=this._onMouseLeave.event,this._onMouseWheel=this._register(new ri),this.onMouseWheel=this._onMouseWheel.event,this._onKeyUp=this._register(new ri),this.onKeyUp=this._onKeyUp.event,this._onKeyDown=this._register(new ri),this.onKeyDown=this._onKeyDown.event,this._onDidContentSizeChange=this._register(new ri),this.onDidContentSizeChange=this._onDidContentSizeChange.event,this._onDidScrollChange=this._register(new ri),this.onDidScrollChange=this._onDidScrollChange.event,this._onDidChangeViewZones=this._register(new ri),this.onDidChangeViewZones=this._onDidChangeViewZones.event,this._onDidChangeHiddenAreas=this._register(new ri),this.onDidChangeHiddenAreas=this._onDidChangeHiddenAreas.event,this._bannerDomNode=null;const y=Object.assign({},t);this._domElement=e,this._overflowWidgetsDomNode=y.overflowWidgetsDomNode,delete y.overflowWidgetsDomNode,this._id=++k5e,this._decorationTypeKeysToIds={},this._decorationTypeSubtypes={},this._telemetryData=n.telemetryData,this._configuration=this._register(this._createConfiguration(n.isSimpleWidget||!1,y,h)),this._register(this._configuration.onDidChange(T=>{this._onDidChangeConfiguration.fire(T);const k=this._configuration.options;if(T.hasChanged(131)){const I=k.get(131);this._onDidLayoutChange.fire(I)}})),this._contextKeyService=this._register(l.createScoped(this._domElement)),this._notificationService=d,this._codeEditorService=s,this._commandService=a,this._themeService=u,this._register(new N5e(this,this._contextKeyService)),this._register(new I5e(this,this._contextKeyService,g)),this._instantiationService=i.createChild(new i9([Xa,this._contextKeyService])),this._modelData=null,this._contributions={},this._actions={},this._focusTracker=new F5e(e),this._register(this._focusTracker.onChange(()=>{this._editorWidgetFocus.setValue(this._focusTracker.hasFocus())})),this._contentWidgets={},this._overlayWidgets={};let D;Array.isArray(n.contributions)?D=n.contributions:D=oD.getEditorContributions();for(const T of D){if(this._contributions[T.id]){tl(new Error(`Cannot have two contributions with the same id ${T.id}`));continue}try{const k=this._instantiationService.createInstance(T.ctor,this);this._contributions[T.id]=k}catch(k){tl(k)}}oD.getEditorActions().forEach(T=>{if(this._actions[T.id]){tl(new Error(`Cannot have two actions with the same id ${T.id}`));return}const k=new Yce(T.id,T.label,T.alias,u_(T.precondition),()=>this._instantiationService.invokeFunction(I=>Promise.resolve(T.runEditorCommand(I,this,null))),this._contextKeyService);this._actions[k.id]=k}),this._codeEditorService.addCodeEditor(this)}get isSimpleWidget(){return this._configuration.isSimpleWidget}_createConfiguration(e,t,n){return new vz(e,t,this._domElement,n)}getId(){return this.getEditorType()+\":\"+this._id}getEditorType(){return ZL.ICodeEditor}dispose(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose();const e=Object.keys(this._contributions);for(let t=0,n=e.length;t<n;t++){const i=e[t];this._contributions[i].dispose()}this._contributions={},this._actions={},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?iu.getWordAtPosition(this._modelData.model,this._configuration.options.get(117),e):null}getValue(e=null){if(!this._modelData)return\"\";const t=!!(e&&e.preserveBOM);let n=0;return e&&e.lineEnding&&e.lineEnding===`\n`?n=1:e&&e.lineEnding&&e.lineEnding===`\\r\n`&&(n=2),this._modelData.model.getValue(n,t)}setValue(e){!this._modelData||this._modelData.model.setValue(e)}getModel(){return this._modelData?this._modelData.model:null}setModel(e=null){const t=e;if(this._modelData===null&&t===null||this._modelData&&this._modelData.model===t)return;const n=this.hasTextFocus(),i=this._detachModel();this._attachModel(t),n&&this.hasModel()&&this.focus();const s={oldModelUrl:i?i.uri:null,newModelUrl:t?t.uri:null};this._removeDecorationTypes(),this._onDidChangeModel.fire(s),this._postDetachModelCleanup(i)}_removeDecorationTypes(){if(this._decorationTypeKeysToIds={},this._decorationTypeSubtypes){for(let e in this._decorationTypeSubtypes){const t=this._decorationTypeSubtypes[e];for(let n in t)this._removeDecorationType(e+\"-\"+n)}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 _getVerticalOffsetForPosition(e,t,n){const i=e.model.validatePosition({lineNumber:t,column:n}),s=e.viewModel.coordinatesConverter.convertModelPositionToViewPosition(i);return e.viewModel.viewLayout.getVerticalOffsetForLineNumber(s.lineNumber)}getTopForLineNumber(e){return this._modelData?c8._getVerticalOffsetForPosition(this._modelData,e,1):-1}getTopForPosition(e,t){return this._modelData?c8._getVerticalOffsetForPosition(this._modelData,e,t):-1}setHiddenAreas(e){this._modelData&&this._modelData.viewModel.setHiddenAreas(e.map(t=>He.lift(t)))}getVisibleColumnFromPosition(e){if(!this._modelData)return e.column;const t=this._modelData.model.validatePosition(e),n=this._modelData.model.getOptions().tabSize;return Zd.visibleColumnFromColumn(this._modelData.model.getLineContent(t.lineNumber),t.column,n)+1}getPosition(){return this._modelData?this._modelData.viewModel.getPosition():null}setPosition(e,t=\"api\"){if(!!this._modelData){if(!Ii.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,n,i){if(!this._modelData)return;if(!He.isIRange(e))throw new Error(\"Invalid arguments\");const s=this._modelData.model.validateRange(e),a=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange(s);this._modelData.viewModel.revealRange(\"api\",n,a,t,i)}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,n){if(typeof e!=\"number\")throw new Error(\"Invalid arguments\");this._sendRevealRange(new He(e,1,e,1),t,!1,n)}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,n,i){if(!Ii.isIPosition(e))throw new Error(\"Invalid arguments\");this._sendRevealRange(new He(e.lineNumber,e.column,e.lineNumber,e.column),t,n,i)}getSelection(){return this._modelData?this._modelData.viewModel.getSelection():null}getSelections(){return this._modelData?this._modelData.viewModel.getSelections():null}setSelection(e,t=\"api\"){const n=oo.isISelection(e),i=He.isIRange(e);if(!n&&!i)throw new Error(\"Invalid arguments\");if(n)this._setSelectionImpl(e,t);else if(i){const s={selectionStartLineNumber:e.startLineNumber,selectionStartColumn:e.startColumn,positionLineNumber:e.endLineNumber,positionColumn:e.endColumn};this._setSelectionImpl(s,t)}}_setSelectionImpl(e,t){if(!this._modelData)return;const n=new oo(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn);this._modelData.viewModel.setSelections(t,[n])}revealLines(e,t,n=0){this._revealLines(e,t,0,n)}revealLinesInCenter(e,t,n=0){this._revealLines(e,t,1,n)}revealLinesInCenterIfOutsideViewport(e,t,n=0){this._revealLines(e,t,2,n)}revealLinesNearTop(e,t,n=0){this._revealLines(e,t,5,n)}_revealLines(e,t,n,i){if(typeof e!=\"number\"||typeof t!=\"number\")throw new Error(\"Invalid arguments\");this._sendRevealRange(new He(e,1,t,1),n,!1,i)}revealRange(e,t=0,n=!1,i=!0){this._revealRange(e,n?1:0,i,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,n,i){if(!He.isIRange(e))throw new Error(\"Invalid arguments\");this._sendRevealRange(He.lift(e),t,n,i)}setSelections(e,t=\"api\",n=0){if(!!this._modelData){if(!e||e.length===0)throw new Error(\"Invalid arguments\");for(let i=0,s=e.length;i<s;i++)if(!oo.isISelection(e[i]))throw new Error(\"Invalid arguments\");this._modelData.viewModel.setSelections(t,e,n)}}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)}saveViewState(){if(!this._modelData)return null;const e={},t=Object.keys(this._contributions);for(const s of t){const a=this._contributions[s];typeof a.saveViewState==\"function\"&&(e[s]=a.saveViewState())}const n=this._modelData.viewModel.saveCursorState(),i=this._modelData.viewModel.saveState();return{cursorState:n,viewState:i,contributionsState:e}}restoreViewState(e){if(!this._modelData||!this._modelData.hasRealView)return;const t=e;if(t&&t.cursorState&&t.viewState){const n=t.cursorState;Array.isArray(n)?n.length>0&&this._modelData.viewModel.restoreCursorState(n):this._modelData.viewModel.restoreCursorState([n]);const i=t.contributionsState||{},s=Object.keys(this._contributions);for(let l=0,u=s.length;l<u;l++){const d=s[l],h=this._contributions[d];typeof h.restoreViewState==\"function\"&&h.restoreViewState(i[d])}const a=this._modelData.viewModel.reduceRestoreState(t.viewState);this._modelData.view.restoreState(a)}}getContribution(e){return this._contributions[e]||null}getActions(){const e=[],t=Object.keys(this._actions);for(let n=0,i=t.length;n<i;n++){const s=t[n];e.push(this._actions[s])}return e}getSupportedActions(){let e=this.getActions();return e=e.filter(t=>t.isSupported()),e}getAction(e){return this._actions[e]||null}trigger(e,t,n){switch(n=n||{},t){case\"compositionStart\":this._startComposition();return;case\"compositionEnd\":this._endComposition(e);return;case\"type\":{const s=n;this._type(e,s.text||\"\");return}case\"replacePreviousChar\":{const s=n;this._compositionType(e,s.text||\"\",s.replaceCharCnt||0,0,0);return}case\"compositionType\":{const s=n;this._compositionType(e,s.text||\"\",s.replacePrevCharCnt||0,s.replaceNextCharCnt||0,s.positionDelta||0);return}case\"paste\":{const s=n;this._paste(e,s.text||\"\",s.pasteOnNewLine||!1,s.multicursorText||null,s.mode||null);return}case\"cut\":this._cut(e);return}const i=this.getAction(t);if(i){Promise.resolve(i.run()).then(void 0,tl);return}!this._modelData||this._triggerEditorCommand(e,t,n)||this._triggerCommand(t,n)}_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,n,i,s){!this._modelData||this._modelData.viewModel.compositionType(t,n,i,s,e)}_paste(e,t,n,i,s){if(!this._modelData||t.length===0)return;const a=this._modelData.viewModel.getSelection().getStartPosition();this._modelData.viewModel.paste(t,n,i,e);const l=this._modelData.viewModel.getSelection().getStartPosition();e===\"keyboard\"&&this._onDidPaste.fire({range:new He(a.lineNumber,a.column,l.lineNumber,l.column),languageId:s})}_cut(e){!this._modelData||this._modelData.viewModel.cut(e)}_triggerEditorCommand(e,t,n){const i=oD.getEditorCommand(t);return i?(n=n||{},n.source=e,this._instantiationService.invokeFunction(s=>{Promise.resolve(i.runEditorCommand(s,this,n)).then(void 0,tl)}),!0):!1}_getViewModel(){return this._modelData?this._modelData.viewModel:null}pushUndoStop(){return!this._modelData||this._configuration.options.get(81)?!1:(this._modelData.model.pushStackElement(),!0)}popUndoStop(){return!this._modelData||this._configuration.options.get(81)?!1:(this._modelData.model.popStackElement(),!0)}executeEdits(e,t,n){if(!this._modelData||this._configuration.options.get(81))return!1;let i;return n?Array.isArray(n)?i=()=>n:i=n:i=()=>null,this._modelData.viewModel.executeEdits(e,t,i),!0}executeCommand(e,t){!this._modelData||this._modelData.viewModel.executeCommand(t,e)}executeCommands(e,t){!this._modelData||this._modelData.viewModel.executeCommands(t,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,P8(this._configuration.options)):null}getDecorationsInRange(e){return this._modelData?this._modelData.model.getDecorationsInRange(e,this._id,P8(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){const t=this._decorationTypeKeysToIds[e];t&&this.deltaDecorations(t,[]),this._decorationTypeKeysToIds.hasOwnProperty(e)&&delete this._decorationTypeKeysToIds[e],this._decorationTypeSubtypes.hasOwnProperty(e)&&delete this._decorationTypeSubtypes[e]}getLayoutInfo(){return this._configuration.options.get(131)}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}delegateVerticalScrollbarMouseDown(e){!this._modelData||!this._modelData.hasRealView||this._modelData.view.delegateVerticalScrollbarMouseDown(e)}layout(e){this._configuration.observeContainer(e),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.\"),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 n=this._contentWidgets[t];n.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutContentWidget(n)}}removeContentWidget(e){const t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){const n=this._contentWidgets[t];delete this._contentWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeContentWidget(n)}}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 n=this._overlayWidgets[t];n.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutOverlayWidget(n)}}removeOverlayWidget(e){const t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){const n=this._overlayWidgets[t];delete this._overlayWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeOverlayWidget(n)}}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),n=this._configuration.options,i=n.get(131),s=c8._getVerticalOffsetForPosition(this._modelData,t.lineNumber,t.column)-this.getScrollTop(),a=this._modelData.view.getOffsetForColumn(t.lineNumber,t.column)+i.glyphMarginWidth+i.lineNumbersWidth+i.decorationsWidth-this.getScrollLeft();return{top:s,left:a,height:n.get(59)}}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.view.render(!0,e)}setAriaOptions(e){!this._modelData||!this._modelData.hasRealView||this._modelData.view.setAriaOptions(e)}applyFontInfo(e){bp(e,this._configuration.options.get(44))}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()),e.onBeforeAttached();const n=new b5e(this._id,this._configuration,e,qG.create(),KG.create(this._configuration.options),a=>b0(a),this.languageConfigurationService,this._themeService);t.push(e.onDidChangeDecorations(a=>this._onDidChangeModelDecorations.fire(a))),t.push(e.onDidChangeLanguage(a=>{this._domElement.setAttribute(\"data-mode-id\",e.getLanguageId()),this._onDidChangeModelLanguage.fire(a)})),t.push(e.onDidChangeLanguageConfiguration(a=>this._onDidChangeModelLanguageConfiguration.fire(a))),t.push(e.onDidChangeContent(a=>this._onDidChangeModelContent.fire(a))),t.push(e.onDidChangeOptions(a=>this._onDidChangeModelOptions.fire(a))),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:{a.reachedMaxCursorCount&&this._notificationService.warn(w(\"cursors.maximum\",\"The number of cursors has been limited to {0}.\",hE.MAX_CURSOR_COUNT));const l=[];for(let h=0,p=a.selections.length;h<p;h++)l[h]=a.selections[h].getPosition();const u={position:l[0],secondaryPositions:l.slice(1),reason:a.reason,source:a.source};this._onDidChangeCursorPosition.fire(u);const d={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(d);break}}}));const[i,s]=this._createView(n);if(s){this._domElement.appendChild(i.domNode.domNode);let a=Object.keys(this._contentWidgets);for(let l=0,u=a.length;l<u;l++){const d=a[l];i.addContentWidget(this._contentWidgets[d])}a=Object.keys(this._overlayWidgets);for(let l=0,u=a.length;l<u;l++){const d=a[l];i.addOverlayWidget(this._overlayWidgets[d])}i.render(!1,!0),i.domNode.domNode.setAttribute(\"data-uri\",e.uri.toString())}this._modelData=new L5e(e,n,i,s,t)}_createView(e){let t;this.isSimpleWidget?t={paste:(s,a,l,u)=>{this._paste(\"keyboard\",s,a,l,u)},type:s=>{this._type(\"keyboard\",s)},compositionType:(s,a,l,u)=>{this._compositionType(\"keyboard\",s,a,l,u)},startComposition:()=>{this._startComposition()},endComposition:()=>{this._endComposition(\"keyboard\")},cut:()=>{this._cut(\"keyboard\")}}:t={paste:(s,a,l,u)=>{const d={text:s,pasteOnNewLine:a,multicursorText:l,mode:u};this._commandService.executeCommand(\"paste\",d)},type:s=>{const a={text:s};this._commandService.executeCommand(\"type\",a)},compositionType:(s,a,l,u)=>{if(l||u){const d={text:s,replacePrevCharCnt:a,replaceNextCharCnt:l,positionDelta:u};this._commandService.executeCommand(\"compositionType\",d)}else{const d={text:s,replaceCharCnt:a};this._commandService.executeCommand(\"replacePreviousChar\",d)}},startComposition:()=>{this._commandService.executeCommand(\"compositionStart\",{})},endComposition:()=>{this._commandService.executeCommand(\"compositionEnd\",{})},cut:()=>{this._commandService.executeCommand(\"cut\",{})}};const n=new QP(e.coordinatesConverter);return n.onKeyDown=s=>this._onKeyDown.fire(s),n.onKeyUp=s=>this._onKeyUp.fire(s),n.onContextMenu=s=>this._onContextMenu.fire(s),n.onMouseMove=s=>this._onMouseMove.fire(s),n.onMouseLeave=s=>this._onMouseLeave.fire(s),n.onMouseDown=s=>this._onMouseDown.fire(s),n.onMouseUp=s=>this._onMouseUp.fire(s),n.onMouseDrag=s=>this._onMouseDrag.fire(s),n.onMouseDrop=s=>this._onMouseDrop.fire(s),n.onMouseDropCanceled=s=>this._onMouseDropCanceled.fire(s),n.onMouseWheel=s=>this._onMouseWheel.fire(s),[new pIe(t,this._configuration,this._themeService.getColorTheme(),e,n,this._overflowWidgetsDomNode),!0]}_postDetachModelCleanup(e){e&&e.removeAllDecorationsWithOwnerId(this._id)}_detachModel(){if(!this._modelData)return null;const e=this._modelData.model,t=this._modelData.hasRealView?this._modelData.view.domNode.domNode:null;return this._modelData.dispose(),this._modelData=null,this._domElement.removeAttribute(\"data-mode-id\"),t&&this._domElement.contains(t)&&this._domElement.removeChild(t),this._bannerDomNode&&this._domElement.contains(this._bannerDomNode)&&this._domElement.removeChild(this._bannerDomNode),e}_removeDecorationType(e){this._codeEditorService.removeDecorationType(e)}hasModel(){return this._modelData!==null}};uL=A5e([Hy(3,Nl),Hy(4,Eu),Hy(5,Dd),Hy(6,Xa),Hy(7,gc),Hy(8,Sd),Hy(9,m_),Hy(10,Dp),Hy(11,$o)],uL);class Mse extends fr{constructor(){super(),this._onDidChangeToTrue=this._register(new ri),this.onDidChangeToTrue=this._onDidChangeToTrue.event,this._onDidChangeToFalse=this._register(new ri),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 N5e extends fr{constructor(e,t){super(),this._editor=e,t.createKey(\"editorId\",e.getId()),this._editorSimpleInput=on.editorSimpleInput.bindTo(t),this._editorFocus=on.focus.bindTo(t),this._textInputFocus=on.textInputFocus.bindTo(t),this._editorTextFocus=on.editorTextFocus.bindTo(t),this._editorTabMovesFocus=on.tabMovesFocus.bindTo(t),this._editorReadonly=on.readOnly.bindTo(t),this._inDiffEditor=on.inDiffEditor.bindTo(t),this._editorColumnSelection=on.columnSelection.bindTo(t),this._hasMultipleSelections=on.hasMultipleSelections.bindTo(t),this._hasNonEmptySelection=on.hasNonEmptySelection.bindTo(t),this._canUndo=on.canUndo.bindTo(t),this._canRedo=on.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._updateFromConfig(),this._updateFromSelection(),this._updateFromFocus(),this._updateFromModel(),this._editorSimpleInput.set(this._editor.isSimpleWidget)}_updateFromConfig(){const e=this._editor.getOptions();this._editorTabMovesFocus.set(e.get(130)),this._editorReadonly.set(e.get(81)),this._inDiffEditor.set(e.get(54)),this._editorColumnSelection.set(e.get(18))}_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(Boolean(e&&e.canUndo())),this._canRedo.set(Boolean(e&&e.canRedo()))}}class I5e extends fr{constructor(e,t,n){super(),this._editor=e,this._contextKeyService=t,this._languageFeaturesService=n,this._langId=on.languageId.bindTo(t),this._hasCompletionItemProvider=on.hasCompletionItemProvider.bindTo(t),this._hasCodeActionsProvider=on.hasCodeActionsProvider.bindTo(t),this._hasCodeLensProvider=on.hasCodeLensProvider.bindTo(t),this._hasDefinitionProvider=on.hasDefinitionProvider.bindTo(t),this._hasDeclarationProvider=on.hasDeclarationProvider.bindTo(t),this._hasImplementationProvider=on.hasImplementationProvider.bindTo(t),this._hasTypeDefinitionProvider=on.hasTypeDefinitionProvider.bindTo(t),this._hasHoverProvider=on.hasHoverProvider.bindTo(t),this._hasDocumentHighlightProvider=on.hasDocumentHighlightProvider.bindTo(t),this._hasDocumentSymbolProvider=on.hasDocumentSymbolProvider.bindTo(t),this._hasReferenceProvider=on.hasReferenceProvider.bindTo(t),this._hasRenameProvider=on.hasRenameProvider.bindTo(t),this._hasSignatureHelpProvider=on.hasSignatureHelpProvider.bindTo(t),this._hasInlayHintsProvider=on.hasInlayHintsProvider.bindTo(t),this._hasDocumentFormattingProvider=on.hasDocumentFormattingProvider.bindTo(t),this._hasDocumentSelectionFormattingProvider=on.hasDocumentSelectionFormattingProvider.bindTo(t),this._hasMultipleDocumentFormattingProvider=on.hasMultipleDocumentFormattingProvider.bindTo(t),this._hasMultipleDocumentSelectionFormattingProvider=on.hasMultipleDocumentSelectionFormattingProvider.bindTo(t),this._isInWalkThrough=on.isInWalkThroughSnippet.bindTo(t);const i=()=>this._update();this._register(e.onDidChangeModel(i)),this._register(e.onDidChangeModelLanguage(i)),this._register(n.completionProvider.onDidChange(i)),this._register(n.codeActionProvider.onDidChange(i)),this._register(n.codeLensProvider.onDidChange(i)),this._register(n.definitionProvider.onDidChange(i)),this._register(n.declarationProvider.onDidChange(i)),this._register(n.implementationProvider.onDidChange(i)),this._register(n.typeDefinitionProvider.onDidChange(i)),this._register(n.hoverProvider.onDidChange(i)),this._register(n.documentHighlightProvider.onDidChange(i)),this._register(n.documentSymbolProvider.onDidChange(i)),this._register(n.referenceProvider.onDidChange(i)),this._register(n.renameProvider.onDidChange(i)),this._register(n.documentFormattingEditProvider.onDidChange(i)),this._register(n.documentRangeFormattingEditProvider.onDidChange(i)),this._register(n.signatureHelpProvider.onDidChange(i)),this._register(n.inlayHintsProvider.onDidChange(i)),i()}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._isInWalkThrough.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._isInWalkThrough.set(e.uri.scheme===dl.walkThroughSnippet)})}}class F5e extends fr{constructor(e){super(),this._onChange=this._register(new ri),this.onChange=this._onChange.event,this._hasFocus=!1,this._domFocusTracker=this._register(sE(e)),this._register(this._domFocusTracker.onDidFocus(()=>{this._hasFocus=!0,this._onChange.fire(void 0)})),this._register(this._domFocusTracker.onDidBlur(()=>{this._hasFocus=!1,this._onChange.fire(void 0)}))}hasFocus(){return this._hasFocus}}const P5e=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='\"),O5e=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 WV(o){return P5e+encodeURIComponent(o.toString())+O5e}const M5e=encodeURIComponent('<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"3\" width=\"12\"><g fill=\"'),R5e=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 B5e(o){return M5e+encodeURIComponent(o.toString())+R5e}ac((o,e)=>{const t=o.getColor(bce);t&&e.addRule(`.monaco-editor .squiggly-error { border-bottom: 4px double ${t}; }`);const n=o.getColor(Vv);n&&e.addRule(`.monaco-editor .squiggly-error { background: url(\"data:image/svg+xml,${WV(n)}\") repeat-x bottom left; }`);const i=o.getColor(NLe);i&&e.addRule(`.monaco-editor .squiggly-error::before { display: block; content: ''; width: 100%; height: 100%; background: ${i}; }`);const s=o.getColor(UP);s&&e.addRule(`.monaco-editor .squiggly-warning { border-bottom: 4px double ${s}; }`);const a=o.getColor(Sm);a&&e.addRule(`.monaco-editor .squiggly-warning { background: url(\"data:image/svg+xml,${WV(a)}\") repeat-x bottom left; }`);const l=o.getColor(ILe);l&&e.addRule(`.monaco-editor .squiggly-warning::before { display: block; content: ''; width: 100%; height: 100%; background: ${l}; }`);const u=o.getColor(gG);u&&e.addRule(`.monaco-editor .squiggly-info { border-bottom: 4px double ${u}; }`);const d=o.getColor(G_);d&&e.addRule(`.monaco-editor .squiggly-info { background: url(\"data:image/svg+xml,${WV(d)}\") repeat-x bottom left; }`);const h=o.getColor(FLe);h&&e.addRule(`.monaco-editor .squiggly-info::before { display: block; content: ''; width: 100%; height: 100%; background: ${h}; }`);const p=o.getColor(OLe);p&&e.addRule(`.monaco-editor .squiggly-hint { border-bottom: 2px dotted ${p}; }`);const g=o.getColor(PLe);g&&e.addRule(`.monaco-editor .squiggly-hint { background: url(\"data:image/svg+xml,${B5e(g)}\") no-repeat bottom left; }`);const y=o.getColor(MNe);y&&e.addRule(`.monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: ${y.rgba.a}; }`);const D=o.getColor(ONe);D&&e.addRule(`.monaco-editor.showUnused .squiggly-unnecessary { border-bottom: 2px dashed ${D}; }`);const T=o.getColor(Hv)||\"inherit\";e.addRule(`.monaco-editor.showDeprecated .squiggly-inline-deprecated { text-decoration: line-through; text-decoration-color: ${T}}`)});class Ru{constructor(e,t,n){const i=s=>this.emitter.fire(s);this.emitter=new ri({onFirstListenerAdd:()=>e.addEventListener(t,i,n),onLastListenerRemove:()=>e.removeEventListener(t,i,n)})}get event(){return this.emitter.event}dispose(){this.emitter.dispose()}}function Rse(o){return o.preventDefault(),o.stopPropagation(),o}var GE=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s};let j5e=!1;var w7;(function(o){o.North=\"north\",o.South=\"south\",o.East=\"east\",o.West=\"west\"})(w7||(w7={}));let W5e=4;const V5e=new ri;let H5e=300;const $5e=new ri;class GG{constructor(){this.disposables=new fs}get onPointerMove(){return this.disposables.add(new Ru(window,\"mousemove\")).event}get onPointerUp(){return this.disposables.add(new Ru(window,\"mouseup\")).event}dispose(){this.disposables.dispose()}}GE([$d],GG.prototype,\"onPointerMove\",null);GE([$d],GG.prototype,\"onPointerUp\",null);class JG{constructor(e){this.el=e,this.disposables=new fs}get onPointerMove(){return this.disposables.add(new Ru(this.el,sc.Change)).event}get onPointerUp(){return this.disposables.add(new Ru(this.el,sc.End)).event}dispose(){this.disposables.dispose()}}GE([$d],JG.prototype,\"onPointerMove\",null);GE([$d],JG.prototype,\"onPointerUp\",null);class S7{constructor(e){this.factory=e}get onPointerMove(){return this.factory.onPointerMove}get onPointerUp(){return this.factory.onPointerUp}dispose(){}}GE([$d],S7.prototype,\"onPointerMove\",null);GE([$d],S7.prototype,\"onPointerUp\",null);const Bse=\"pointer-events-disabled\";class gp extends fr{constructor(e,t,n){super(),this.hoverDelay=H5e,this.hoverDelayer=this._register(new J1(this.hoverDelay)),this._state=3,this.onDidEnablementChange=this._register(new ri),this._onDidStart=this._register(new ri),this._onDidChange=this._register(new ri),this._onDidReset=this._register(new ri),this._onDidEnd=this._register(new ri),this.orthogonalStartSashDisposables=this._register(new fs),this.orthogonalStartDragHandleDisposables=this._register(new fs),this.orthogonalEndSashDisposables=this._register(new fs),this.orthogonalEndDragHandleDisposables=this._register(new fs),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=Jr(e,ls(\".monaco-sash\")),n.orthogonalEdge&&this.el.classList.add(`orthogonal-edge-${n.orthogonalEdge}`),El&&this.el.classList.add(\"mac\");const i=this._register(new Ru(this.el,\"mousedown\")).event;this._register(i(p=>this.onPointerStart(p,new GG),this));const s=this._register(new Ru(this.el,\"dblclick\")).event;this._register(s(this.onPointerDoublePress,this));const a=this._register(new Ru(this.el,\"mouseenter\")).event;this._register(a(()=>gp.onMouseEnter(this)));const l=this._register(new Ru(this.el,\"mouseleave\")).event;this._register(l(()=>gp.onMouseLeave(this))),this._register(Iu.addTarget(this.el));const u=Xo.map(this._register(new Ru(this.el,sc.Start)).event,p=>{var g;return Object.assign(Object.assign({},p),{target:(g=p.initialTarget)!==null&&g!==void 0?g:null})});this._register(u(p=>this.onPointerStart(p,new JG(this.el)),this));const d=this._register(new Ru(this.el,sc.Tap)).event,h=Xo.map(Xo.filter(Xo.debounce(d,(p,g)=>{var y;return{event:g,count:((y=p==null?void 0:p.count)!==null&&y!==void 0?y:0)+1}},250),({count:p})=>p===2),({event:p})=>{var g;return Object.assign(Object.assign({},p),{target:(g=p.initialTarget)!==null&&g!==void 0?g:null})});this._register(h(this.onPointerDoublePress,this)),typeof n.size==\"number\"?(this.size=n.size,n.orientation===0?this.el.style.width=`${this.size}px`:this.el.style.height=`${this.size}px`):(this.size=W5e,this._register(V5e.event(p=>{this.size=p,this.layout()}))),this._register($5e.event(p=>this.hoverDelay=p)),this.layoutProvider=t,this.orthogonalStartSash=n.orthogonalStartSash,this.orthogonalEndSash=n.orthogonalEndSash,this.orientation=n.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\",j5e),this.layout()}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.orthogonalStartDragHandleDisposables.clear(),this.orthogonalStartSashDisposables.clear(),e){const t=n=>{this.orthogonalStartDragHandleDisposables.clear(),n!==0&&(this._orthogonalStartDragHandle=Jr(this.el,ls(\".orthogonal-drag-handle.start\")),this.orthogonalStartDragHandleDisposables.add(wl(()=>this._orthogonalStartDragHandle.remove())),this.orthogonalStartDragHandleDisposables.add(new Ru(this._orthogonalStartDragHandle,\"mouseenter\")).event(()=>gp.onMouseEnter(e),void 0,this.orthogonalStartDragHandleDisposables),this.orthogonalStartDragHandleDisposables.add(new Ru(this._orthogonalStartDragHandle,\"mouseleave\")).event(()=>gp.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.orthogonalEndDragHandleDisposables.clear(),this.orthogonalEndSashDisposables.clear(),e){const t=n=>{this.orthogonalEndDragHandleDisposables.clear(),n!==0&&(this._orthogonalEndDragHandle=Jr(this.el,ls(\".orthogonal-drag-handle.end\")),this.orthogonalEndDragHandleDisposables.add(wl(()=>this._orthogonalEndDragHandle.remove())),this.orthogonalEndDragHandleDisposables.add(new Ru(this._orthogonalEndDragHandle,\"mouseenter\")).event(()=>gp.onMouseEnter(e),void 0,this.orthogonalEndDragHandleDisposables),this.orthogonalEndDragHandleDisposables.add(new Ru(this._orthogonalEndDragHandle,\"mouseleave\")).event(()=>gp.onMouseLeave(e),void 0,this.orthogonalEndDragHandleDisposables))};this.orthogonalEndSashDisposables.add(e.onDidEnablementChange.event(t,this)),t(e.state)}this._orthogonalEndSash=e}onPointerStart(e,t){xu.stop(e);let n=!1;if(!e.__orthogonalSashEvent){const D=this.getOrthogonalSash(e);D&&(n=!0,e.__orthogonalSashEvent=!0,D.onPointerStart(e,new S7(t)))}if(this.linkedSash&&!e.__linkedSashEvent&&(e.__linkedSashEvent=!0,this.linkedSash.onPointerStart(e,new S7(t))),!this.state)return;const i=G3e(\"iframe\");for(const D of i)D.classList.add(Bse);const s=e.pageX,a=e.pageY,l=e.altKey,u={startX:s,currentX:s,startY:a,currentY:a,altKey:l};this.el.classList.add(\"active\"),this._onDidStart.fire(u);const d=Pg(this.el),h=()=>{let D=\"\";n?D=\"all-scroll\":this.orientation===1?this.state===1?D=\"s-resize\":this.state===2?D=\"n-resize\":D=El?\"row-resize\":\"ns-resize\":this.state===1?D=\"e-resize\":this.state===2?D=\"w-resize\":D=El?\"col-resize\":\"ew-resize\",d.textContent=`* { cursor: ${D} !important; }`},p=new fs;h(),n||this.onDidEnablementChange.event(h,null,p);const g=D=>{xu.stop(D,!1);const T={startX:s,currentX:D.pageX,startY:a,currentY:D.pageY,altKey:l};this._onDidChange.fire(T)},y=D=>{xu.stop(D,!1),this.el.removeChild(d),this.el.classList.remove(\"active\"),this._onDidEnd.fire(),p.dispose();for(const T of i)T.classList.remove(Bse)};t.onPointerMove(g,null,p),t.onPointerUp(y,null,p),p.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&&gp.onMouseEnter(e.linkedSash,!0)}static onMouseLeave(e,t=!1){e.hoverDelayer.cancel(),e.el.classList.remove(\"hover\"),!t&&e.linkedSash&&gp.onMouseLeave(e.linkedSash,!0)}clearSashHoverState(){gp.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){if(!(!e.target||!(e.target instanceof HTMLElement))&&e.target.classList.contains(\"orthogonal-drag-handle\"))return e.target.classList.contains(\"start\")?this.orthogonalStartSash:this.orthogonalEndSash}dispose(){super.dispose(),this.el.remove()}}class lC{constructor(e,t,n){this._visiblePosition=e,this._visiblePositionScrollDelta=t,this._cursorPosition=n}static capture(e){let t=null,n=0;if(e.getScrollTop()!==0){const i=e.getVisibleRanges();if(i.length>0){t=i[0].getStartPosition();const s=e.getTopForPosition(t.lineNumber,t.column);n=e.getScrollTop()-s}}return new lC(t,n,e.getPosition())}restore(e){if(this._visiblePosition){const t=e.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);e.setScrollTop(t+this._visiblePositionScrollDelta)}}restoreRelativeVerticalPositionOfCursor(e){const t=e.getPosition();if(!this._cursorPosition||!t)return;const n=e.getTopForLineNumber(t.lineNumber)-e.getTopForLineNumber(this._cursorPosition.lineNumber);e.setScrollTop(e.getScrollTop()+n)}}const Cde={RESOURCES:\"ResourceURLs\",DOWNLOAD_URL:\"DownloadURL\",FILES:\"Files\",TEXT:u0.text,TERMINALS:\"Terminals\"};class z5e{constructor(e){this.data=e}update(){}getData(){return this.data}}const Qy={CurrentDragAndDropData:void 0};class x1 extends fr{constructor(e,t,n={}){super(),this.options=n,this._context=e||this,this._action=t,t instanceof h_&&this._register(t.onDidChange(i=>{!this.element||this.handleActionChangeEvent(i)}))}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 oE)),this._actionRunner}set actionRunner(e){this._actionRunner=e}getAction(){return this._action}isEnabled(){return this._action.enabled}setActionContext(e){this._context=e}render(e){const t=this.element=e;this._register(Iu.addTarget(e));const n=this.options&&this.options.draggable;n&&(e.draggable=!0,J_&&this._register(hs(e,ca.DRAG_START,i=>{var s;return(s=i.dataTransfer)===null||s===void 0?void 0:s.setData(Cde.TEXT,this._action.label)}))),this._register(hs(t,sc.Tap,i=>this.onClick(i,!0))),this._register(hs(t,ca.MOUSE_DOWN,i=>{n||xu.stop(i,!0),this._action.enabled&&i.button===0&&t.classList.add(\"active\")})),El&&this._register(hs(t,ca.CONTEXT_MENU,i=>{i.button===0&&i.ctrlKey===!0&&this.onClick(i)})),this._register(hs(t,ca.CLICK,i=>{xu.stop(i,!0),this.options&&this.options.isMenu||this.onClick(i)})),this._register(hs(t,ca.DBLCLICK,i=>{xu.stop(i,!0)})),[ca.MOUSE_UP,ca.MOUSE_OUT].forEach(i=>{this._register(hs(t,i,s=>{xu.stop(s),t.classList.remove(\"active\")}))})}onClick(e,t=!1){var n;xu.stop(e,!0);const i=B_(this._context)?!((n=this.options)===null||n===void 0)&&n.useEventAsContext?e:{preserveFocus:t}:this._context;this.actionRunner.run(this._action,i)}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(){}updateTooltip(){}updateClass(){}updateChecked(){}dispose(){this.element&&(this.element.remove(),this.element=void 0),super.dispose()}}class cL extends x1{constructor(e,t,n={}){super(e,t,n),this.options=n,this.options.icon=n.icon!==void 0?n.icon:!1,this.options.label=n.label!==void 0?n.label:!0,this.cssClass=\"\"}render(e){super.render(e),this.element&&(this.label=Jr(this.element,ls(\"a.action-label\"))),this.label&&(this._action.id===Ag.ID?this.label.setAttribute(\"role\",\"presentation\"):this.options.isMenu?this.label.setAttribute(\"role\",\"menuitem\"):this.label.setAttribute(\"role\",\"button\")),this.options.label&&this.options.keybinding&&this.element&&(Jr(this.element,ls(\"span.keybinding\")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()}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.getAction().label)}updateTooltip(){let e=null;this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=w({key:\"titleLabel\",comment:[\"action title\",\"action keybinding\"]},\"{0} ({1})\",e,this.options.keybinding))),e&&this.label&&(this.label.title=e)}updateClass(){this.cssClass&&this.label&&this.label.classList.remove(...this.cssClass.split(\" \")),this.options.icon?(this.cssClass=this.getAction().class,this.label&&(this.label.classList.add(\"codicon\"),this.cssClass&&this.label.classList.add(...this.cssClass.split(\" \"))),this.updateEnabled()):this.label&&this.label.classList.remove(\"codicon\")}updateEnabled(){this.getAction().enabled?(this.label&&(this.label.removeAttribute(\"aria-disabled\"),this.label.classList.remove(\"disabled\")),this.element&&this.element.classList.remove(\"disabled\")):(this.label&&(this.label.setAttribute(\"aria-disabled\",\"true\"),this.label.classList.add(\"disabled\")),this.element&&this.element.classList.add(\"disabled\"))}updateChecked(){this.label&&(this.getAction().checked?this.label.classList.add(\"checked\"):this.label.classList.remove(\"checked\"))}}var U5e=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};class Z1 extends fr{constructor(e,t={}){var n,i,s,a,l,u;super(),this.triggerKeyDown=!1,this.focusable=!0,this._onDidBlur=this._register(new ri),this.onDidBlur=this._onDidBlur.event,this._onDidCancel=this._register(new ri({onFirstListenerAdd:()=>this.cancelHasListener=!0})),this.onDidCancel=this._onDidCancel.event,this.cancelHasListener=!1,this._onDidRun=this._register(new ri),this.onDidRun=this._onDidRun.event,this._onBeforeRun=this._register(new ri),this.onBeforeRun=this._onBeforeRun.event,this.options=t,this._context=(n=t.context)!==null&&n!==void 0?n:null,this._orientation=(i=this.options.orientation)!==null&&i!==void 0?i:0,this._triggerKeys={keyDown:(a=(s=this.options.triggerKeys)===null||s===void 0?void 0:s.keyDown)!==null&&a!==void 0?a:!1,keys:(u=(l=this.options.triggerKeys)===null||l===void 0?void 0:l.keys)!==null&&u!==void 0?u:[3,10]},this.options.actionRunner?this._actionRunner=this.options.actionRunner:(this._actionRunner=new oE,this._register(this._actionRunner)),this._register(this._actionRunner.onDidRun(p=>this._onDidRun.fire(p))),this._register(this._actionRunner.onBeforeRun(p=>this._onBeforeRun.fire(p))),this._actionIds=[],this.viewItems=[],this.focusedItem=void 0,this.domNode=document.createElement(\"div\"),this.domNode.className=\"monaco-action-bar\",t.animated!==!1&&this.domNode.classList.add(\"animated\");let d,h;switch(this._orientation){case 0:d=[15],h=[17];break;case 1:d=[16],h=[18],this.domNode.className+=\" vertical\";break}this._register(hs(this.domNode,ca.KEY_DOWN,p=>{const g=new _c(p);let y=!0;const D=typeof this.focusedItem==\"number\"?this.viewItems[this.focusedItem]:void 0;d&&(g.equals(d[0])||g.equals(d[1]))?y=this.focusPrevious():h&&(g.equals(h[0])||g.equals(h[1]))?y=this.focusNext():g.equals(9)&&this.cancelHasListener?this._onDidCancel.fire():g.equals(14)?y=this.focusFirst():g.equals(13)?y=this.focusLast():g.equals(2)&&D instanceof x1&&D.trapsArrowNavigation?y=this.focusNext():this.isTriggerKeyEvent(g)?this._triggerKeys.keyDown?this.doTrigger(g):this.triggerKeyDown=!0:y=!1,y&&(g.preventDefault(),g.stopPropagation())})),this._register(hs(this.domNode,ca.KEY_UP,p=>{const g=new _c(p);this.isTriggerKeyEvent(g)?(!this._triggerKeys.keyDown&&this.triggerKeyDown&&(this.triggerKeyDown=!1,this.doTrigger(g)),g.preventDefault(),g.stopPropagation()):(g.equals(2)||g.equals(1026))&&this.updateFocusedItem()})),this.focusTracker=this._register(sE(this.domNode)),this._register(this.focusTracker.onDidBlur(()=>{(Ox()===this.domNode||!yb(Ox(),this.domNode))&&(this._onDidBlur.fire(),this.focusedItem=void 0,this.previouslyFocusedItem=void 0,this.triggerKeyDown=!1)})),this._register(this.focusTracker.onDidFocus(()=>this.updateFocusedItem())),this.actionsList=document.createElement(\"ul\"),this.actionsList.className=\"actions-container\",this.actionsList.setAttribute(\"role\",\"toolbar\"),this.options.ariaLabel&&this.actionsList.setAttribute(\"aria-label\",this.options.ariaLabel),this.domNode.appendChild(this.actionsList),e.appendChild(this.domNode)}refreshRole(){this.length()>=2?this.actionsList.setAttribute(\"role\",\"toolbar\"):this.actionsList.setAttribute(\"role\",\"presentation\")}setFocusable(e){if(this.focusable=e,this.focusable){const t=this.viewItems.find(n=>n instanceof x1&&n.isEnabled());t instanceof x1&&t.setFocusable(!0)}else this.viewItems.forEach(t=>{t instanceof x1&&t.setFocusable(!1)})}isTriggerKeyEvent(e){let t=!1;return this._triggerKeys.keys.forEach(n=>{t=t||e.equals(n)}),t}updateFocusedItem(){for(let e=0;e<this.actionsList.children.length;e++){const t=this.actionsList.children[e];if(yb(Ox(),t)){this.focusedItem=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){e&&(this._actionRunner=e,this.viewItems.forEach(t=>t.actionRunner=e))}getContainer(){return this.domNode}push(e,t={}){const n=Array.isArray(e)?e:[e];let i=CD(t.index)?t.index:null;n.forEach(s=>{const a=document.createElement(\"li\");a.className=\"action-item\",a.setAttribute(\"role\",\"presentation\"),this.options.allowContextMenu||this._register(hs(a,ca.CONTEXT_MENU,u=>{xu.stop(u,!0)}));let l;this.options.actionViewItemProvider&&(l=this.options.actionViewItemProvider(s)),l||(l=new cL(this.context,s,t)),l.actionRunner=this._actionRunner,l.setActionContext(this.context),l.render(a),this.focusable&&l instanceof x1&&this.viewItems.length===0&&l.setFocusable(!0),i===null||i<0||i>=this.actionsList.children.length?(this.actionsList.appendChild(a),this.viewItems.push(l),this._actionIds.push(s.id)):(this.actionsList.insertBefore(a,this.actionsList.children[i]),this.viewItems.splice(i,0,l),this._actionIds.splice(i,0,s.id),i++)}),typeof this.focusedItem==\"number\"&&this.focus(this.focusedItem),this.refreshRole()}clear(){eu(this.viewItems),this.viewItems=[],this._actionIds=[],nh(this.actionsList),this.refreshRole()}length(){return this.viewItems.length}focus(e){let t=!1,n;if(e===void 0?t=!0:typeof e==\"number\"?n=e:typeof e==\"boolean\"&&(t=e),t&&typeof this.focusedItem==\"undefined\"){const i=this.viewItems.findIndex(s=>s.isEnabled());this.focusedItem=i===-1?void 0:i,this.updateFocus(void 0,void 0,!0)}else n!==void 0&&(this.focusedItem=n),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==\"undefined\")this.focusedItem=this.viewItems.length-1;else if(this.viewItems.length<=1)return!1;const t=this.focusedItem;let n;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,n=this.viewItems[this.focusedItem]}while(this.focusedItem!==t&&this.options.focusOnlyEnabledItems&&!n.isEnabled());return this.updateFocus(),!0}focusPrevious(e){if(typeof this.focusedItem==\"undefined\")this.focusedItem=0;else if(this.viewItems.length<=1)return!1;const t=this.focusedItem;let n;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}n=this.viewItems[this.focusedItem]}while(this.focusedItem!==t&&this.options.focusOnlyEnabledItems&&!n.isEnabled());return this.updateFocus(!0),!0}updateFocus(e,t,n=!1){var i;typeof this.focusedItem==\"undefined\"&&this.actionsList.focus({preventScroll:t}),this.previouslyFocusedItem!==void 0&&this.previouslyFocusedItem!==this.focusedItem&&((i=this.viewItems[this.previouslyFocusedItem])===null||i===void 0||i.blur());const s=this.focusedItem!==void 0&&this.viewItems[this.focusedItem];if(s){let a=!0;F8(s.focus)||(a=!1),this.options.focusOnlyEnabledItems&&F8(s.isEnabled)&&!s.isEnabled()&&(a=!1),a?(n||this.previouslyFocusedItem!==this.focusedItem)&&(s.focus(e),this.previouslyFocusedItem=this.focusedItem):(this.actionsList.focus({preventScroll:t}),this.previouslyFocusedItem=void 0)}}doTrigger(e){if(typeof this.focusedItem==\"undefined\")return;const t=this.viewItems[this.focusedItem];if(t instanceof x1){const n=t._context===null||t._context===void 0?e:t._context;this.run(t._action,n)}}run(e,t){return U5e(this,void 0,void 0,function*(){yield this._actionRunner.run(e,t)})}dispose(){eu(this.viewItems),this.viewItems=[],this._actionIds=[],this.getContainer().remove(),super.dispose()}}const K5e={IconContribution:\"base.contributions.icons\"};var jse;(function(o){function e(t,n){let i=t.defaults;for(;zu.isThemeIcon(i);){const s=fw.getIcon(i.id);if(!s)return;i=s.defaults}return i}o.getDefinition=e})(jse||(jse={}));class q5e{constructor(){this._onDidChange=new ri,this.onDidChange=this._onDidChange.event,this.iconSchema={definitions:{icons:{type:\"object\",properties:{fontId:{type:\"string\",description:w(\"iconDefinition.fontId\",\"The id of the font to use. If not set, the font that is defined first is used.\")},fontCharacter:{type:\"string\",description:w(\"iconDefinition.fontCharacter\",\"The font character associated with the icon definition.\")}},additionalProperties:!1,defaultSnippets:[{body:{fontCharacter:\"\\\\\\\\e030\"}}]}},type:\"object\",properties:{}},this.iconReferenceSchema={type:\"string\",pattern:`^${df.iconNameExpression}$`,enum:[],enumDescriptions:[]},this.iconsById={},this.iconFontsById={}}registerIcon(e,t,n,i){const s=this.iconsById[e];if(s){if(n&&!s.description){s.description=n,this.iconSchema.properties[e].markdownDescription=`${n} $(${e})`;const u=this.iconReferenceSchema.enum.indexOf(e);u!==-1&&(this.iconReferenceSchema.enumDescriptions[u]=n),this._onDidChange.fire()}return s}let a={id:e,description:n,defaults:t,deprecationMessage:i};this.iconsById[e]=a;let l={$ref:\"#/definitions/icons\"};return i&&(l.deprecationMessage=i),n&&(l.markdownDescription=`${n}: $(${e})`),this.iconSchema.properties[e]=l,this.iconReferenceSchema.enum.push(e),this.iconReferenceSchema.enumDescriptions.push(n||\"\"),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=(s,a)=>s.id.localeCompare(a.id),t=s=>{for(;zu.isThemeIcon(s.defaults);)s=this.iconsById[s.defaults.id];return`codicon codicon-${s?s.id:\"\"}`};let n=[];n.push(\"| preview     | identifier                        | default codicon ID                | description\"),n.push(\"| ----------- | --------------------------------- | --------------------------------- | --------------------------------- |\");const i=Object.keys(this.iconsById).map(s=>this.iconsById[s]);for(const s of i.filter(a=>!!a.description).sort(e))n.push(`|<i class=\"${t(s)}\"></i>|${s.id}|${zu.isThemeIcon(s.defaults)?s.defaults.id:s.id}|${s.description||\"\"}|`);n.push(\"| preview     | identifier                        \"),n.push(\"| ----------- | --------------------------------- |\");for(const s of i.filter(a=>!zu.isThemeIcon(a.defaults)).sort(e))n.push(`|<i class=\"${t(s)}\"></i>|${s.id}|`);return n.join(`\n`)}}const fw=new q5e;wd.add(K5e.IconContribution,fw);function rh(o,e,t,n){return fw.registerIcon(o,e,t,n)}function Dde(){return fw}function G5e(){for(const o of E.getAll())fw.registerIcon(o.id,o.definition,o.description)}G5e();const wde=\"vscode://schemas/icons\";let Sde=wd.as(VP.JSONContribution);Sde.registerSchema(wde,fw.getIconSchema());const Wse=new Bu(()=>Sde.notifySchemaChanged(wde),200);fw.onDidChange(()=>{Wse.isScheduled()||Wse.schedule()});const xde=rh(\"widget-close\",E.close,w(\"widgetClose\",\"Icon for the close action in widgets.\"));rh(\"goto-previous-location\",E.arrowUp,w(\"previousChangeIcon\",\"Icon for goto previous editor location.\"));rh(\"goto-next-location\",E.arrowDown,w(\"nextChangeIcon\",\"Icon for goto next editor location.\"));zu.modify(E.sync,\"spin\");zu.modify(E.loading,\"spin\");var J5e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},Y5e=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},X5e=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})},VV;const o5=3;class Ak{constructor(e,t,n,i){this.originalLineStart=e,this.originalLineEnd=t,this.modifiedLineStart=n,this.modifiedLineEnd=i}getType(){return this.originalLineStart===0?1:this.modifiedLineStart===0?2:0}}class HV{constructor(e){this.entries=e}}const Q5e=rh(\"diff-review-insert\",E.add,w(\"diffReviewInsertIcon\",\"Icon for 'Insert' in diff review.\")),Z5e=rh(\"diff-review-remove\",E.remove,w(\"diffReviewRemoveIcon\",\"Icon for 'Remove' in diff review.\")),e8e=rh(\"diff-review-close\",E.close,w(\"diffReviewCloseIcon\",\"Icon for 'Close' in diff review.\"));let x7=class P2 extends fr{constructor(e,t){super(),this._languageService=t,this._width=0,this._diffEditor=e,this._isVisible=!1,this.shadow=ru(document.createElement(\"div\")),this.shadow.setClassName(\"diff-review-shadow\"),this.actionBarContainer=ru(document.createElement(\"div\")),this.actionBarContainer.setClassName(\"diff-review-actions\"),this._actionBar=this._register(new Z1(this.actionBarContainer.domNode)),this._actionBar.push(new h_(\"diffreview.close\",w(\"label.close\",\"Close\"),\"close-diff-review \"+zu.asClassName(e8e),!0,()=>X5e(this,void 0,void 0,function*(){return this.hide()})),{label:!1,icon:!0}),this.domNode=ru(document.createElement(\"div\")),this.domNode.setClassName(\"diff-review monaco-editor-background\"),this._content=ru(document.createElement(\"div\")),this._content.setClassName(\"diff-review-content\"),this._content.setAttribute(\"role\",\"code\"),this.scrollbar=this._register(new a4(this._content.domNode,{})),this.domNode.domNode.appendChild(this.scrollbar.getDomNode()),this._register(e.onDidUpdateDiff(()=>{!this._isVisible||(this._diffs=this._compute(),this._render())})),this._register(e.getModifiedEditor().onDidChangeCursorPosition(()=>{!this._isVisible||this._render()})),this._register(Fh(this.domNode.domNode,\"click\",n=>{n.preventDefault();const i=Hue(n.target,\"diff-review-row\");i&&this._goToRow(i)})),this._register(Fh(this.domNode.domNode,\"keydown\",n=>{(n.equals(18)||n.equals(2066)||n.equals(530))&&(n.preventDefault(),this._goToRow(this._getNextRow())),(n.equals(16)||n.equals(2064)||n.equals(528))&&(n.preventDefault(),this._goToRow(this._getPrevRow())),(n.equals(9)||n.equals(2057)||n.equals(521)||n.equals(1033))&&(n.preventDefault(),this.hide()),(n.equals(10)||n.equals(3))&&(n.preventDefault(),this.accept())})),this._diffs=[],this._currentDiff=null}prev(){let e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){let n=-1;for(let i=0,s=this._diffs.length;i<s;i++)if(this._diffs[i]===this._currentDiff){n=i;break}e=this._diffs.length+n-1}else e=this._findDiffIndex(this._diffEditor.getPosition());if(this._diffs.length===0)return;e=e%this._diffs.length;const t=this._diffs[e].entries;this._diffEditor.setPosition(new Ii(t[0].modifiedLineStart,1)),this._diffEditor.setSelection({startColumn:1,startLineNumber:t[0].modifiedLineStart,endColumn:1073741824,endLineNumber:t[t.length-1].modifiedLineEnd}),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow())}next(){let e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){let n=-1;for(let i=0,s=this._diffs.length;i<s;i++)if(this._diffs[i]===this._currentDiff){n=i;break}e=n+1}else e=this._findDiffIndex(this._diffEditor.getPosition());if(this._diffs.length===0)return;e=e%this._diffs.length;const t=this._diffs[e].entries;this._diffEditor.setPosition(new Ii(t[0].modifiedLineStart,1)),this._diffEditor.setSelection({startColumn:1,startLineNumber:t[0].modifiedLineStart,endColumn:1073741824,endLineNumber:t[t.length-1].modifiedLineEnd}),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow())}accept(){let e=-1;const t=this._getCurrentFocusedRow();if(t){const n=parseInt(t.getAttribute(\"data-line\"),10);isNaN(n)||(e=n)}this.hide(),e!==-1&&(this._diffEditor.setPosition(new Ii(e,1)),this._diffEditor.revealPosition(new Ii(e,1),1))}hide(){this._isVisible=!1,this._diffEditor.updateOptions({readOnly:!1}),this._diffEditor.focus(),this._diffEditor.doLayout(),this._render()}_getPrevRow(){const e=this._getCurrentFocusedRow();return e?e.previousElementSibling?e.previousElementSibling:e:this._getFirstRow()}_getNextRow(){const e=this._getCurrentFocusedRow();return e?e.nextElementSibling?e.nextElementSibling:e:this._getFirstRow()}_getFirstRow(){return this.domNode.domNode.querySelector(\".diff-review-row\")}_getCurrentFocusedRow(){const e=document.activeElement;return e&&/diff-review-row/.test(e.className)?e:null}_goToRow(e){const t=this._getCurrentFocusedRow();e.tabIndex=0,e.focus(),t&&t!==e&&(t.tabIndex=-1),this.scrollbar.scanDomNode()}isVisible(){return this._isVisible}layout(e,t,n){this._width=t,this.shadow.setTop(e-6),this.shadow.setWidth(t),this.shadow.setHeight(this._isVisible?6:0),this.domNode.setTop(e),this.domNode.setWidth(t),this.domNode.setHeight(n),this._content.setHeight(n),this._content.setWidth(t),this._isVisible?(this.actionBarContainer.setAttribute(\"aria-hidden\",\"false\"),this.actionBarContainer.setDisplay(\"block\")):(this.actionBarContainer.setAttribute(\"aria-hidden\",\"true\"),this.actionBarContainer.setDisplay(\"none\"))}_compute(){const e=this._diffEditor.getLineChanges();if(!e||e.length===0)return[];const t=this._diffEditor.getOriginalEditor().getModel(),n=this._diffEditor.getModifiedEditor().getModel();return!t||!n?[]:P2._mergeAdjacent(e,t.getLineCount(),n.getLineCount())}static _mergeAdjacent(e,t,n){if(!e||e.length===0)return[];const i=[];let s=0;for(let d=0,h=e.length;d<h;d++){const p=e[d],g=p.originalStartLineNumber,y=p.originalEndLineNumber,D=p.modifiedStartLineNumber,T=p.modifiedEndLineNumber,k=[];let I=0;{const F=y===0?g:g-1,q=T===0?D:D-1;let re=1,Ie=1;if(d>0){const Ge=e[d-1];Ge.originalEndLineNumber===0?re=Ge.originalStartLineNumber+1:re=Ge.originalEndLineNumber+1,Ge.modifiedEndLineNumber===0?Ie=Ge.modifiedStartLineNumber+1:Ie=Ge.modifiedEndLineNumber+1}let mt=F-o5+1,Le=q-o5+1;if(mt<re){const Ge=re-mt;mt=mt+Ge,Le=Le+Ge}if(Le<Ie){const Ge=Ie-Le;mt=mt+Ge,Le=Le+Ge}k[I++]=new Ak(mt,F,Le,q)}y!==0&&(k[I++]=new Ak(g,y,0,0)),T!==0&&(k[I++]=new Ak(0,0,D,T));{const F=y===0?g+1:y+1,q=T===0?D+1:T+1;let re=t,Ie=n;if(d+1<h){const Ge=e[d+1];Ge.originalEndLineNumber===0?re=Ge.originalStartLineNumber:re=Ge.originalStartLineNumber-1,Ge.modifiedEndLineNumber===0?Ie=Ge.modifiedStartLineNumber:Ie=Ge.modifiedStartLineNumber-1}let mt=F+o5-1,Le=q+o5-1;if(mt>re){const Ge=re-mt;mt=mt+Ge,Le=Le+Ge}if(Le>Ie){const Ge=Ie-Le;mt=mt+Ge,Le=Le+Ge}k[I++]=new Ak(F,mt,q,Le)}i[s++]=new HV(k)}let a=i[0].entries;const l=[];let u=0;for(let d=1,h=i.length;d<h;d++){const p=i[d].entries,g=a[a.length-1],y=p[0];if(g.getType()===0&&y.getType()===0&&y.originalLineStart<=g.originalLineEnd){a[a.length-1]=new Ak(g.originalLineStart,y.originalLineEnd,g.modifiedLineStart,y.modifiedLineEnd),a=a.concat(p.slice(1));continue}l[u++]=new HV(a),a=p}return l[u++]=new HV(a),l}_findDiffIndex(e){const t=e.lineNumber;for(let n=0,i=this._diffs.length;n<i;n++){const s=this._diffs[n].entries,a=s[s.length-1].modifiedLineEnd;if(t<=a)return n}return 0}_render(){const e=this._diffEditor.getOriginalEditor().getOptions(),t=this._diffEditor.getModifiedEditor().getOptions(),n=this._diffEditor.getOriginalEditor().getModel(),i=this._diffEditor.getModifiedEditor().getModel(),s=n.getOptions(),a=i.getOptions();if(!this._isVisible||!n||!i){nh(this._content.domNode),this._currentDiff=null,this.scrollbar.scanDomNode();return}this._diffEditor.updateOptions({readOnly:!0});const l=this._findDiffIndex(this._diffEditor.getPosition());if(this._diffs[l]===this._currentDiff)return;this._currentDiff=this._diffs[l];const u=this._diffs[l].entries,d=document.createElement(\"div\");d.className=\"diff-review-table\",d.setAttribute(\"role\",\"list\"),d.setAttribute(\"aria-label\",'Difference review. Use \"Stage | Unstage | Revert Selected Ranges\" commands'),bp(d,t.get(44));let h=0,p=0,g=0,y=0;for(let Le=0,Ge=u.length;Le<Ge;Le++){const qt=u[Le],gi=qt.originalLineStart,ai=qt.originalLineEnd,Tr=qt.modifiedLineStart,Vr=qt.modifiedLineEnd;gi!==0&&(h===0||gi<h)&&(h=gi),ai!==0&&(p===0||ai>p)&&(p=ai),Tr!==0&&(g===0||Tr<g)&&(g=Tr),Vr!==0&&(y===0||Vr>y)&&(y=Vr)}const D=document.createElement(\"div\");D.className=\"diff-review-row\";const T=document.createElement(\"div\");T.className=\"diff-review-cell diff-review-summary\";const k=p-h+1,I=y-g+1;T.appendChild(document.createTextNode(`${l+1}/${this._diffs.length}: @@ -${h},${k} +${g},${I} @@`)),D.setAttribute(\"data-line\",String(g));const F=Le=>Le===0?w(\"no_lines_changed\",\"no lines changed\"):Le===1?w(\"one_line_changed\",\"1 line changed\"):w(\"more_lines_changed\",\"{0} lines changed\",Le),q=F(k),re=F(I);D.setAttribute(\"aria-label\",w({key:\"header\",comment:[\"This is the ARIA label for a git diff header.\",\"A git diff header looks like this: @@ -154,12 +159,39 @@.\",\"That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.\",\"Variables 0 and 1 refer to the diff index out of total number of diffs.\",\"Variables 2 and 4 will be numbers (a line number).\",'Variables 3 and 5 will be \"no lines changed\", \"1 line changed\" or \"X lines changed\", localized separately.']},\"Difference {0} of {1}: original line {2}, {3}, modified line {4}, {5}\",l+1,this._diffs.length,h,q,g,re)),D.appendChild(T),D.setAttribute(\"role\",\"listitem\"),d.appendChild(D);const Ie=t.get(59);let mt=g;for(let Le=0,Ge=u.length;Le<Ge;Le++){const qt=u[Le];P2._renderSection(d,qt,mt,Ie,this._width,e,n,s,t,i,a,this._languageService.languageIdCodec),qt.modifiedLineStart!==0&&(mt=qt.modifiedLineEnd)}nh(this._content.domNode),this._content.domNode.appendChild(d),this.scrollbar.scanDomNode()}static _renderSection(e,t,n,i,s,a,l,u,d,h,p,g){const y=t.getType();let D=\"diff-review-row\",T=\"\";const k=\"diff-review-spacer\";let I=null;switch(y){case 1:D=\"diff-review-row line-insert\",T=\" char-insert\",I=Q5e;break;case 2:D=\"diff-review-row line-delete\",T=\" char-delete\",I=Z5e;break}const F=t.originalLineStart,q=t.originalLineEnd,re=t.modifiedLineStart,Ie=t.modifiedLineEnd,mt=Math.max(Ie-re,q-F),Le=a.get(131),Ge=Le.glyphMarginWidth+Le.lineNumbersWidth,qt=d.get(131),gi=10+qt.glyphMarginWidth+qt.lineNumbersWidth;for(let ai=0;ai<=mt;ai++){const Tr=F===0?0:F+ai,Vr=re===0?0:re+ai,go=document.createElement(\"div\");go.style.minWidth=s+\"px\",go.className=D,go.setAttribute(\"role\",\"listitem\"),Vr!==0&&(n=Vr),go.setAttribute(\"data-line\",String(n));const Js=document.createElement(\"div\");Js.className=\"diff-review-cell\",Js.style.height=`${i}px`,go.appendChild(Js);const Fo=document.createElement(\"span\");Fo.style.width=Ge+\"px\",Fo.style.minWidth=Ge+\"px\",Fo.className=\"diff-review-line-number\"+T,Tr!==0?Fo.appendChild(document.createTextNode(String(Tr))):Fo.innerText=\"\\xA0\",Js.appendChild(Fo);const aa=document.createElement(\"span\");aa.style.width=gi+\"px\",aa.style.minWidth=gi+\"px\",aa.style.paddingRight=\"10px\",aa.className=\"diff-review-line-number\"+T,Vr!==0?aa.appendChild(document.createTextNode(String(Vr))):aa.innerText=\"\\xA0\",Js.appendChild(aa);const Qo=document.createElement(\"span\");if(Qo.className=k,I){const nl=document.createElement(\"span\");nl.className=zu.asClassName(I),nl.innerText=\"\\xA0\\xA0\",Qo.appendChild(nl)}else Qo.innerText=\"\\xA0\\xA0\";Js.appendChild(Qo);let Ao;if(Vr!==0){let nl=this._renderLine(h,d,p.tabSize,Vr,g);P2._ttPolicy&&(nl=P2._ttPolicy.createHTML(nl)),Js.insertAdjacentHTML(\"beforeend\",nl),Ao=h.getLineContent(Vr)}else{let nl=this._renderLine(l,a,u.tabSize,Tr,g);P2._ttPolicy&&(nl=P2._ttPolicy.createHTML(nl)),Js.insertAdjacentHTML(\"beforeend\",nl),Ao=l.getLineContent(Tr)}Ao.length===0&&(Ao=w(\"blankLine\",\"blank\"));let Gl=\"\";switch(y){case 0:Tr===Vr?Gl=w({key:\"unchangedLine\",comment:[\"The placeholders are contents of the line and should not be translated.\"]},\"{0} unchanged line {1}\",Ao,Tr):Gl=w(\"equalLine\",\"{0} original line {1} modified line {2}\",Ao,Tr,Vr);break;case 1:Gl=w(\"insertLine\",\"+ {0} modified line {1}\",Ao,Vr);break;case 2:Gl=w(\"deleteLine\",\"- {0} original line {1}\",Ao,Tr);break}go.setAttribute(\"aria-label\",Gl),e.appendChild(go)}}static _renderLine(e,t,n,i,s){const a=e.getLineContent(i),l=t.get(44),u=th.createEmpty(a,s),d=Y_.isBasicASCII(a,e.mightContainNonBasicASCII()),h=Y_.containsRTL(a,d,e.mightContainRTL());return kP(new lw(l.isMonospace&&!t.get(29),l.canUseHalfwidthRightwardsArrow,a,!1,d,h,0,u,[],n,0,l.spaceWidth,l.middotWidth,l.wsmiddotWidth,t.get(105),t.get(88),t.get(83),t.get(45)!==j_.OFF,null)).html}};x7._ttPolicy=(VV=window.trustedTypes)===null||VV===void 0?void 0:VV.createPolicy(\"diffReview\",{createHTML:o=>o});x7=J5e([Y5e(1,Pc)],x7);ac((o,e)=>{const t=o.getColor(Ice);t&&e.addRule(`.monaco-diff-editor .diff-review-line-number { color: ${t}; }`);const n=o.getColor(zE);n&&e.addRule(`.monaco-diff-editor .diff-review-shadow { box-shadow: ${n} 0 -6px 6px -6px inset; }`)});class t8e extends xo{constructor(){super({id:\"editor.action.diffReview.next\",label:w(\"editor.action.diffReview.next\",\"Go to Next Difference\"),alias:\"Go to Next Difference\",precondition:co.has(\"isInDiffEditor\"),kbOpts:{kbExpr:null,primary:65,weight:100}})}run(e,t){const n=Ede(e);n&&n.diffReviewNext()}}class n8e extends xo{constructor(){super({id:\"editor.action.diffReview.prev\",label:w(\"editor.action.diffReview.prev\",\"Go to Previous Difference\"),alias:\"Go to Previous Difference\",precondition:co.has(\"isInDiffEditor\"),kbOpts:{kbExpr:null,primary:1089,weight:100}})}run(e,t){const n=Ede(e);n&&n.diffReviewPrev()}}function Ede(o){const e=o.get(Eu),t=e.listDiffEditors(),n=e.getActiveCodeEditor();if(!n)return null;for(let i=0,s=t.length;i<s;i++){const a=t[i];if(a.getModifiedEditor().getId()===n.getId()||a.getOriginalEditor().getId()===n.getId())return a}return null}Fs(t8e);Fs(n8e);const i8e=\"editorWorkerService\",Bg=zl(i8e),u4=zl(\"contextViewService\"),vC=zl(\"contextMenuService\");var $V=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};class r8e extends fr{constructor(e,t,n,i,s,a){super(),this._viewZoneId=e,this._marginDomNode=t,this.editor=n,this.diff=i,this._contextMenuService=s,this._clipboardService=a,this._visibility=!1,this._marginDomNode.style.zIndex=\"10\",this._diffActions=document.createElement(\"div\"),this._diffActions.className=E.lightBulb.classNames+\" lightbulb-glyph\",this._diffActions.style.position=\"absolute\";const l=n.getOption(59),u=n.getModel().getEOL();this._diffActions.style.right=\"0px\",this._diffActions.style.visibility=\"hidden\",this._diffActions.style.height=`${l}px`,this._diffActions.style.lineHeight=`${l}px`,this._marginDomNode.appendChild(this._diffActions);const d=[],h=i.modifiedEndLineNumber===0;d.push(new h_(\"diff.clipboard.copyDeletedContent\",h?i.originalEndLineNumber>i.modifiedStartLineNumber?w(\"diff.clipboard.copyDeletedLinesContent.label\",\"Copy deleted lines\"):w(\"diff.clipboard.copyDeletedLinesContent.single.label\",\"Copy deleted line\"):i.originalEndLineNumber>i.modifiedStartLineNumber?w(\"diff.clipboard.copyChangedLinesContent.label\",\"Copy changed lines\"):w(\"diff.clipboard.copyChangedLinesContent.single.label\",\"Copy changed line\"),void 0,!0,()=>$V(this,void 0,void 0,function*(){const T=new He(i.originalStartLineNumber,1,i.originalEndLineNumber+1,1),k=i.originalModel.getValueInRange(T);yield this._clipboardService.writeText(k)})));let p=0,g;i.originalEndLineNumber>i.modifiedStartLineNumber&&(g=new h_(\"diff.clipboard.copyDeletedLineContent\",h?w(\"diff.clipboard.copyDeletedLineContent.label\",\"Copy deleted line ({0})\",i.originalStartLineNumber):w(\"diff.clipboard.copyChangedLineContent.label\",\"Copy changed line ({0})\",i.originalStartLineNumber),void 0,!0,()=>$V(this,void 0,void 0,function*(){const T=i.originalModel.getLineContent(i.originalStartLineNumber+p);if(T===\"\"){const k=i.originalModel.getEndOfLineSequence();yield this._clipboardService.writeText(k===0?`\n`:`\\r\n`)}else yield this._clipboardService.writeText(T)})),d.push(g)),n.getOption(81)||d.push(new h_(\"diff.inline.revertChange\",w(\"diff.inline.revertChange.label\",\"Revert this change\"),void 0,!0,()=>$V(this,void 0,void 0,function*(){const T=new He(i.originalStartLineNumber,1,i.originalEndLineNumber,i.originalModel.getLineMaxColumn(i.originalEndLineNumber)),k=i.originalModel.getValueInRange(T);if(i.modifiedEndLineNumber===0){const I=n.getModel().getLineMaxColumn(i.modifiedStartLineNumber);n.executeEdits(\"diffEditor\",[{range:new He(i.modifiedStartLineNumber,I,i.modifiedStartLineNumber,I),text:u+k}])}else{const I=n.getModel().getLineMaxColumn(i.modifiedEndLineNumber);n.executeEdits(\"diffEditor\",[{range:new He(i.modifiedStartLineNumber,1,i.modifiedEndLineNumber,I),text:k}])}})));const D=(T,k)=>{this._contextMenuService.showContextMenu({getAnchor:()=>({x:T,y:k}),getActions:()=>(g&&(g.label=h?w(\"diff.clipboard.copyDeletedLineContent.label\",\"Copy deleted line ({0})\",i.originalStartLineNumber+p):w(\"diff.clipboard.copyChangedLineContent.label\",\"Copy changed line ({0})\",i.originalStartLineNumber+p)),d),autoSelectFirstItem:!0})};this._register(Fh(this._diffActions,\"mousedown\",T=>{const{top:k,height:I}=Gh(this._diffActions),F=Math.floor(l/3);T.preventDefault(),D(T.posx,k+I+F)})),this._register(n.onMouseMove(T=>{T.target.type===8||T.target.type===5?T.target.detail.viewZoneId===this._viewZoneId?(this.visibility=!0,p=this._updateLightBulbPosition(this._marginDomNode,T.event.browserEvent.y,l)):this.visibility=!1:this.visibility=!1})),this._register(n.onMouseDown(T=>{!T.event.rightButton||(T.target.type===8||T.target.type===5)&&T.target.detail.viewZoneId===this._viewZoneId&&(T.event.preventDefault(),p=this._updateLightBulbPosition(this._marginDomNode,T.event.browserEvent.y,l),D(T.event.posx,T.event.posy+l))}))}get visibility(){return this._visibility}set visibility(e){this._visibility!==e&&(this._visibility=e,e?this._diffActions.style.visibility=\"visible\":this._diffActions.style.visibility=\"hidden\")}_updateLightBulbPosition(e,t,n){const{top:i}=Gh(e),s=t-i,a=Math.floor(s/n),l=a*n;if(this._diffActions.style.top=`${l}px`,this.diff.viewLineCounts){let u=0;for(let d=0;d<this.diff.viewLineCounts.length;d++)if(u+=this.diff.viewLineCounts[d],a<u)return d}return a}}const _w=zl(\"clipboardService\");Object.freeze({total(){},worked(){},done(){}});class gw{constructor(e){this.callback=e}report(e){this._value=e,this.callback(this._value)}}gw.None=Object.freeze({report(){}});const CC=zl(\"editorProgressService\");var s8e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},$y=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},zV;class Vse{constructor(e,t){this._contextMenuService=e,this._clipboardService=t,this._zones=[],this._inlineDiffMargins=[],this._zonesMap={},this._decorations=[]}getForeignViewZones(e){return e.filter(t=>!this._zonesMap[String(t.id)])}clean(e){this._zones.length>0&&e.changeViewZones(t=>{for(const n of this._zones)t.removeZone(n)}),this._zones=[],this._zonesMap={},this._decorations=e.deltaDecorations(this._decorations,[])}apply(e,t,n,i){const s=i?lC.capture(e):null;e.changeViewZones(a=>{var l;for(const u of this._zones)a.removeZone(u);for(const u of this._inlineDiffMargins)u.dispose();this._zones=[],this._zonesMap={},this._inlineDiffMargins=[];for(let u=0,d=n.zones.length;u<d;u++){const h=n.zones[u];h.suppressMouseDown=!0;const p=a.addZone(h);this._zones.push(p),this._zonesMap[String(p)]=!0,n.zones[u].diff&&h.marginDomNode&&(h.suppressMouseDown=!1,((l=n.zones[u].diff)===null||l===void 0?void 0:l.originalModel.getValueLength())!==0&&this._inlineDiffMargins.push(new r8e(p,h.marginDomNode,e,n.zones[u].diff,this._contextMenuService,this._clipboardService)))}}),s&&s.restore(e),this._decorations=e.deltaDecorations(this._decorations,n.decorations),t&&t.setZones(n.overviewZones)}}let o8e=0;const a8e=rh(\"diff-insert\",E.add,w(\"diffInsertIcon\",\"Line decoration for inserts in the diff editor.\")),Tde=rh(\"diff-remove\",E.remove,w(\"diffRemoveIcon\",\"Line decoration for removals in the diff editor.\")),Hse=(zV=window.trustedTypes)===null||zV===void 0?void 0:zV.createPolicy(\"diffEditorWidget\",{createHTML:o=>o});let uC=class dp extends fr{constructor(e,t,n,i,s,a,l,u,d,h,p,g){super(),this._editorProgressService=g,this._onDidDispose=this._register(new ri),this.onDidDispose=this._onDidDispose.event,this._onDidUpdateDiff=this._register(new ri),this.onDidUpdateDiff=this._onDidUpdateDiff.event,this._onDidContentSizeChange=this._register(new ri),this._lastOriginalWarning=null,this._lastModifiedWarning=null,this._editorWorkerService=s,this._codeEditorService=u,this._contextKeyService=this._register(a.createScoped(e)),this._instantiationService=l.createChild(new i9([Xa,this._contextKeyService])),this._contextKeyService.createKey(\"isInDiffEditor\",!0),this._themeService=d,this._notificationService=h,this._id=++o8e,this._state=0,this._updatingDiffProgress=null,this._domElement=e,t=t||{},this._options=Use(t,{enableSplitViewResizing:!0,renderSideBySide:!0,maxComputationTime:5e3,maxFileSize:50,ignoreTrimWhitespace:!0,renderIndicators:!0,originalEditable:!1,diffCodeLens:!1,renderOverviewRuler:!0,diffWordWrap:\"inherit\"}),typeof t.isInEmbeddedEditor!=\"undefined\"?this._contextKeyService.createKey(\"isInEmbeddedDiffEditor\",t.isInEmbeddedEditor):this._contextKeyService.createKey(\"isInEmbeddedDiffEditor\",!1),this._updateDecorationsRunner=this._register(new Bu(()=>this._updateDecorations(),0)),this._containerDomElement=document.createElement(\"div\"),this._containerDomElement.className=dp._getClassName(this._themeService.getColorTheme(),this._options.renderSideBySide),this._containerDomElement.style.position=\"relative\",this._containerDomElement.style.height=\"100%\",this._domElement.appendChild(this._containerDomElement),this._overviewViewportDomElement=ru(document.createElement(\"div\")),this._overviewViewportDomElement.setClassName(\"diffViewport\"),this._overviewViewportDomElement.setPosition(\"absolute\"),this._overviewDomElement=document.createElement(\"div\"),this._overviewDomElement.className=\"diffOverview\",this._overviewDomElement.style.position=\"absolute\",this._overviewDomElement.appendChild(this._overviewViewportDomElement.domNode),this._register(Fh(this._overviewDomElement,\"mousedown\",D=>{this._modifiedEditor.delegateVerticalScrollbarMouseDown(D)})),this._options.renderOverviewRuler&&this._containerDomElement.appendChild(this._overviewDomElement),this._originalDomNode=document.createElement(\"div\"),this._originalDomNode.className=\"editor original\",this._originalDomNode.style.position=\"absolute\",this._originalDomNode.style.height=\"100%\",this._containerDomElement.appendChild(this._originalDomNode),this._modifiedDomNode=document.createElement(\"div\"),this._modifiedDomNode.className=\"editor modified\",this._modifiedDomNode.style.position=\"absolute\",this._modifiedDomNode.style.height=\"100%\",this._containerDomElement.appendChild(this._modifiedDomNode),this._beginUpdateDecorationsTimeout=-1,this._currentlyChangingViewZones=!1,this._diffComputationToken=0,this._originalEditorState=new Vse(p,i),this._modifiedEditorState=new Vse(p,i),this._isVisible=!0,this._isHandlingScrollEvent=!1,this._elementSizeObserver=this._register(new oce(this._containerDomElement,t.dimension)),this._register(this._elementSizeObserver.onDidChange(()=>this._onDidContainerSizeChanged())),t.automaticLayout&&this._elementSizeObserver.startObserving(),this._diffComputationResult=null,this._originalEditor=this._createLeftHandSideEditor(t,n.originalEditor||{}),this._modifiedEditor=this._createRightHandSideEditor(t,n.modifiedEditor||{}),this._originalOverviewRuler=null,this._modifiedOverviewRuler=null,this._reviewPane=l.createInstance(x7,this),this._containerDomElement.appendChild(this._reviewPane.domNode.domNode),this._containerDomElement.appendChild(this._reviewPane.shadow.domNode),this._containerDomElement.appendChild(this._reviewPane.actionBarContainer.domNode),this._options.renderSideBySide?this._setStrategy(new ub(this._createDataSource(),this._options.enableSplitViewResizing)):this._setStrategy(new zse(this._createDataSource(),this._options.enableSplitViewResizing)),this._register(d.onDidColorThemeChange(D=>{this._strategy&&this._strategy.applyColors(D)&&this._updateDecorationsRunner.schedule(),this._containerDomElement.className=dp._getClassName(this._themeService.getColorTheme(),this._options.renderSideBySide)}));const y=oD.getDiffEditorContributions();for(const D of y)try{this._register(l.createInstance(D.ctor,this))}catch(T){tl(T)}this._codeEditorService.addDiffEditor(this)}_setState(e){this._state!==e&&(this._state=e,this._updatingDiffProgress&&(this._updatingDiffProgress.done(),this._updatingDiffProgress=null),this._state===1&&(this._updatingDiffProgress=this._editorProgressService.show(!0,1e3)))}diffReviewNext(){this._reviewPane.next()}diffReviewPrev(){this._reviewPane.prev()}static _getClassName(e,t){let n=\"monaco-diff-editor monaco-editor-background \";return t&&(n+=\"side-by-side \"),n+=n7(e.type),n}_recreateOverviewRulers(){!this._options.renderOverviewRuler||(this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this._originalEditor.hasModel()&&(this._originalOverviewRuler=this._originalEditor.createOverviewRuler(\"original diffOverviewRuler\"),this._overviewDomElement.appendChild(this._originalOverviewRuler.getDomNode())),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this._modifiedEditor.hasModel()&&(this._modifiedOverviewRuler=this._modifiedEditor.createOverviewRuler(\"modified diffOverviewRuler\"),this._overviewDomElement.appendChild(this._modifiedOverviewRuler.getDomNode())),this._layoutOverviewRulers())}_createLeftHandSideEditor(e,t){const n=this._createInnerEditor(this._instantiationService,this._originalDomNode,this._adjustOptionsForLeftHandSide(e),t);this._register(n.onDidScrollChange(s=>{this._isHandlingScrollEvent||!s.scrollTopChanged&&!s.scrollLeftChanged&&!s.scrollHeightChanged||(this._isHandlingScrollEvent=!0,this._modifiedEditor.setScrollPosition({scrollLeft:s.scrollLeft,scrollTop:s.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(n.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(n.onDidChangeConfiguration(s=>{!n.getModel()||(s.hasChanged(44)&&this._updateDecorationsRunner.schedule(),s.hasChanged(132)&&(this._updateDecorationsRunner.cancel(),this._updateDecorations()))})),this._register(n.onDidChangeHiddenAreas(()=>{this._updateDecorationsRunner.cancel(),this._updateDecorations()})),this._register(n.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()}));const i=this._contextKeyService.createKey(\"isInDiffLeftEditor\",n.hasWidgetFocus());return this._register(n.onDidFocusEditorWidget(()=>i.set(!0))),this._register(n.onDidBlurEditorWidget(()=>i.set(!1))),this._register(n.onDidContentSizeChange(s=>{const a=this._originalEditor.getContentWidth()+this._modifiedEditor.getContentWidth()+dp.ONE_OVERVIEW_WIDTH,l=Math.max(this._modifiedEditor.getContentHeight(),this._originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:l,contentWidth:a,contentHeightChanged:s.contentHeightChanged,contentWidthChanged:s.contentWidthChanged})})),n}_createRightHandSideEditor(e,t){const n=this._createInnerEditor(this._instantiationService,this._modifiedDomNode,this._adjustOptionsForRightHandSide(e),t);this._register(n.onDidScrollChange(s=>{this._isHandlingScrollEvent||!s.scrollTopChanged&&!s.scrollLeftChanged&&!s.scrollHeightChanged||(this._isHandlingScrollEvent=!0,this._originalEditor.setScrollPosition({scrollLeft:s.scrollLeft,scrollTop:s.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(n.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(n.onDidChangeConfiguration(s=>{!n.getModel()||(s.hasChanged(44)&&this._updateDecorationsRunner.schedule(),s.hasChanged(132)&&(this._updateDecorationsRunner.cancel(),this._updateDecorations()))})),this._register(n.onDidChangeHiddenAreas(()=>{this._updateDecorationsRunner.cancel(),this._updateDecorations()})),this._register(n.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()})),this._register(n.onDidChangeModelOptions(s=>{s.tabSize&&this._updateDecorationsRunner.schedule()}));const i=this._contextKeyService.createKey(\"isInDiffRightEditor\",n.hasWidgetFocus());return this._register(n.onDidFocusEditorWidget(()=>i.set(!0))),this._register(n.onDidBlurEditorWidget(()=>i.set(!1))),this._register(n.onDidContentSizeChange(s=>{const a=this._originalEditor.getContentWidth()+this._modifiedEditor.getContentWidth()+dp.ONE_OVERVIEW_WIDTH,l=Math.max(this._modifiedEditor.getContentHeight(),this._originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:l,contentWidth:a,contentHeightChanged:s.contentHeightChanged,contentWidthChanged:s.contentWidthChanged})})),n}_createInnerEditor(e,t,n,i){return e.createInstance(uL,t,n,i)}dispose(){this._codeEditorService.removeDiffEditor(this),this._beginUpdateDecorationsTimeout!==-1&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._cleanViewZonesAndDecorations(),this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this._overviewDomElement.removeChild(this._overviewViewportDomElement.domNode),this._options.renderOverviewRuler&&this._containerDomElement.removeChild(this._overviewDomElement),this._containerDomElement.removeChild(this._originalDomNode),this._originalEditor.dispose(),this._containerDomElement.removeChild(this._modifiedDomNode),this._modifiedEditor.dispose(),this._strategy.dispose(),this._containerDomElement.removeChild(this._reviewPane.domNode.domNode),this._containerDomElement.removeChild(this._reviewPane.shadow.domNode),this._containerDomElement.removeChild(this._reviewPane.actionBarContainer.domNode),this._reviewPane.dispose(),this._domElement.removeChild(this._containerDomElement),this._onDidDispose.fire(),super.dispose()}getId(){return this.getEditorType()+\":\"+this._id}getEditorType(){return ZL.IDiffEditor}getLineChanges(){return this._diffComputationResult?this._diffComputationResult.changes:null}getOriginalEditor(){return this._originalEditor}getModifiedEditor(){return this._modifiedEditor}updateOptions(e){const t=Use(e,this._options),n=d8e(this._options,t);this._options=t;const i=n.ignoreTrimWhitespace||n.renderIndicators,s=this._isVisible&&(n.maxComputationTime||n.maxFileSize);i?this._beginUpdateDecorations():s&&this._beginUpdateDecorationsSoon(),this._modifiedEditor.updateOptions(this._adjustOptionsForRightHandSide(e)),this._originalEditor.updateOptions(this._adjustOptionsForLeftHandSide(e)),this._strategy.setEnableSplitViewResizing(this._options.enableSplitViewResizing),n.renderSideBySide&&(this._options.renderSideBySide?this._setStrategy(new ub(this._createDataSource(),this._options.enableSplitViewResizing)):this._setStrategy(new zse(this._createDataSource(),this._options.enableSplitViewResizing)),this._containerDomElement.className=dp._getClassName(this._themeService.getColorTheme(),this._options.renderSideBySide)),n.renderOverviewRuler&&(this._options.renderOverviewRuler?this._containerDomElement.appendChild(this._overviewDomElement):this._containerDomElement.removeChild(this._overviewDomElement))}getModel(){return{original:this._originalEditor.getModel(),modified:this._modifiedEditor.getModel()}}setModel(e){if(e&&(!e.original||!e.modified))throw new Error(e.original?\"DiffEditorWidget.setModel: Modified model is null\":\"DiffEditorWidget.setModel: Original model is null\");this._cleanViewZonesAndDecorations(),this._originalEditor.setModel(e?e.original:null),this._modifiedEditor.setModel(e?e.modified:null),this._updateDecorationsRunner.cancel(),e&&(this._originalEditor.setScrollTop(0),this._modifiedEditor.setScrollTop(0)),this._diffComputationResult=null,this._diffComputationToken++,this._setState(0),e&&(this._recreateOverviewRulers(),this._beginUpdateDecorations()),this._layoutOverviewViewport()}getContainerDomNode(){return this._domElement}getVisibleColumnFromPosition(e){return this._modifiedEditor.getVisibleColumnFromPosition(e)}getPosition(){return this._modifiedEditor.getPosition()}setPosition(e,t=\"api\"){this._modifiedEditor.setPosition(e,t)}revealLine(e,t=0){this._modifiedEditor.revealLine(e,t)}revealLineInCenter(e,t=0){this._modifiedEditor.revealLineInCenter(e,t)}revealLineInCenterIfOutsideViewport(e,t=0){this._modifiedEditor.revealLineInCenterIfOutsideViewport(e,t)}revealLineNearTop(e,t=0){this._modifiedEditor.revealLineNearTop(e,t)}revealPosition(e,t=0){this._modifiedEditor.revealPosition(e,t)}revealPositionInCenter(e,t=0){this._modifiedEditor.revealPositionInCenter(e,t)}revealPositionInCenterIfOutsideViewport(e,t=0){this._modifiedEditor.revealPositionInCenterIfOutsideViewport(e,t)}revealPositionNearTop(e,t=0){this._modifiedEditor.revealPositionNearTop(e,t)}getSelection(){return this._modifiedEditor.getSelection()}getSelections(){return this._modifiedEditor.getSelections()}setSelection(e,t=\"api\"){this._modifiedEditor.setSelection(e,t)}setSelections(e,t=\"api\"){this._modifiedEditor.setSelections(e,t)}revealLines(e,t,n=0){this._modifiedEditor.revealLines(e,t,n)}revealLinesInCenter(e,t,n=0){this._modifiedEditor.revealLinesInCenter(e,t,n)}revealLinesInCenterIfOutsideViewport(e,t,n=0){this._modifiedEditor.revealLinesInCenterIfOutsideViewport(e,t,n)}revealLinesNearTop(e,t,n=0){this._modifiedEditor.revealLinesNearTop(e,t,n)}revealRange(e,t=0,n=!1,i=!0){this._modifiedEditor.revealRange(e,t,n,i)}revealRangeInCenter(e,t=0){this._modifiedEditor.revealRangeInCenter(e,t)}revealRangeInCenterIfOutsideViewport(e,t=0){this._modifiedEditor.revealRangeInCenterIfOutsideViewport(e,t)}revealRangeNearTop(e,t=0){this._modifiedEditor.revealRangeNearTop(e,t)}revealRangeNearTopIfOutsideViewport(e,t=0){this._modifiedEditor.revealRangeNearTopIfOutsideViewport(e,t)}revealRangeAtTop(e,t=0){this._modifiedEditor.revealRangeAtTop(e,t)}getSupportedActions(){return this._modifiedEditor.getSupportedActions()}saveViewState(){const e=this._originalEditor.saveViewState(),t=this._modifiedEditor.saveViewState();return{original:e,modified:t}}restoreViewState(e){if(e&&e.original&&e.modified){const t=e;this._originalEditor.restoreViewState(t.original),this._modifiedEditor.restoreViewState(t.modified)}}layout(e){this._elementSizeObserver.observe(e)}focus(){this._modifiedEditor.focus()}hasTextFocus(){return this._originalEditor.hasTextFocus()||this._modifiedEditor.hasTextFocus()}trigger(e,t,n){this._modifiedEditor.trigger(e,t,n)}changeDecorations(e){return this._modifiedEditor.changeDecorations(e)}_onDidContainerSizeChanged(){this._doLayout()}_getReviewHeight(){return this._reviewPane.isVisible()?this._elementSizeObserver.getHeight():0}_layoutOverviewRulers(){if(!this._options.renderOverviewRuler||!this._originalOverviewRuler||!this._modifiedOverviewRuler)return;const e=this._elementSizeObserver.getHeight(),t=this._getReviewHeight(),n=dp.ENTIRE_DIFF_OVERVIEW_WIDTH-2*dp.ONE_OVERVIEW_WIDTH;this._modifiedEditor.getLayoutInfo()&&(this._originalOverviewRuler.setLayout({top:0,width:dp.ONE_OVERVIEW_WIDTH,right:n+dp.ONE_OVERVIEW_WIDTH,height:e-t}),this._modifiedOverviewRuler.setLayout({top:0,right:0,width:dp.ONE_OVERVIEW_WIDTH,height:e-t}))}_onViewZonesChanged(){this._currentlyChangingViewZones||this._updateDecorationsRunner.schedule()}_beginUpdateDecorationsSoon(){this._beginUpdateDecorationsTimeout!==-1&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._beginUpdateDecorationsTimeout=window.setTimeout(()=>this._beginUpdateDecorations(),dp.UPDATE_DIFF_DECORATIONS_DELAY)}static _equals(e,t){return!e&&!t?!0:!e||!t?!1:e.toString()===t.toString()}_beginUpdateDecorations(){this._beginUpdateDecorationsTimeout=-1;const e=this._originalEditor.getModel(),t=this._modifiedEditor.getModel();if(!e||!t)return;this._diffComputationToken++;const n=this._diffComputationToken,i=this._options.maxFileSize*1024*1024,s=a=>{const l=a.getValueLength();return i===0||l<=i};if(!s(e)||!s(t)){(!dp._equals(e.uri,this._lastOriginalWarning)||!dp._equals(t.uri,this._lastModifiedWarning))&&(this._lastOriginalWarning=e.uri,this._lastModifiedWarning=t.uri,this._notificationService.warn(w(\"diff.tooLarge\",\"Cannot compare files because one file is too large.\")));return}this._setState(1),this._editorWorkerService.computeDiff(e.uri,t.uri,this._options.ignoreTrimWhitespace,this._options.maxComputationTime).then(a=>{n===this._diffComputationToken&&e===this._originalEditor.getModel()&&t===this._modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult=a,this._updateDecorationsRunner.schedule(),this._onDidUpdateDiff.fire())},a=>{n===this._diffComputationToken&&e===this._originalEditor.getModel()&&t===this._modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult=null,this._updateDecorationsRunner.schedule())})}_cleanViewZonesAndDecorations(){this._originalEditorState.clean(this._originalEditor),this._modifiedEditorState.clean(this._modifiedEditor)}_updateDecorations(){if(!this._originalEditor.getModel()||!this._modifiedEditor.getModel())return;const e=this._diffComputationResult?this._diffComputationResult.changes:[],t=this._originalEditorState.getForeignViewZones(this._originalEditor.getWhitespaces()),n=this._modifiedEditorState.getForeignViewZones(this._modifiedEditor.getWhitespaces()),i=this._strategy.getEditorsDiffDecorations(e,this._options.ignoreTrimWhitespace,this._options.renderIndicators,t,n);try{this._currentlyChangingViewZones=!0,this._originalEditorState.apply(this._originalEditor,this._originalOverviewRuler,i.original,!1),this._modifiedEditorState.apply(this._modifiedEditor,this._modifiedOverviewRuler,i.modified,!0)}finally{this._currentlyChangingViewZones=!1}}_adjustOptionsForSubEditor(e){const t=Object.assign({},e);return t.inDiffEditor=!0,t.automaticLayout=!1,t.scrollbar=Object.assign({},t.scrollbar||{}),t.scrollbar.vertical=\"visible\",t.folding=!1,t.codeLens=this._options.diffCodeLens,t.fixedOverflowWidgets=!0,t.minimap=Object.assign({},t.minimap||{}),t.minimap.enabled=!1,t}_adjustOptionsForLeftHandSide(e){const t=this._adjustOptionsForSubEditor(e);return this._options.renderSideBySide?t.wordWrapOverride1=this._options.diffWordWrap:(t.wordWrapOverride1=\"off\",t.wordWrapOverride2=\"off\"),e.originalAriaLabel&&(t.ariaLabel=e.originalAriaLabel),t.readOnly=!this._options.originalEditable,t.extraEditorClassName=\"original-in-monaco-diff-editor\",Object.assign(Object.assign({},t),{dimension:{height:0,width:0}})}_adjustOptionsForRightHandSide(e){const t=this._adjustOptionsForSubEditor(e);return e.modifiedAriaLabel&&(t.ariaLabel=e.modifiedAriaLabel),t.wordWrapOverride1=this._options.diffWordWrap,t.revealHorizontalRightPadding=S0.revealHorizontalRightPadding.defaultValue+dp.ENTIRE_DIFF_OVERVIEW_WIDTH,t.scrollbar.verticalHasArrows=!1,t.extraEditorClassName=\"modified-in-monaco-diff-editor\",Object.assign(Object.assign({},t),{dimension:{height:0,width:0}})}doLayout(){this._elementSizeObserver.observe(),this._doLayout()}_doLayout(){const e=this._elementSizeObserver.getWidth(),t=this._elementSizeObserver.getHeight(),n=this._getReviewHeight(),i=this._strategy.layout();this._originalDomNode.style.width=i+\"px\",this._originalDomNode.style.left=\"0px\",this._modifiedDomNode.style.width=e-i+\"px\",this._modifiedDomNode.style.left=i+\"px\",this._overviewDomElement.style.top=\"0px\",this._overviewDomElement.style.height=t-n+\"px\",this._overviewDomElement.style.width=dp.ENTIRE_DIFF_OVERVIEW_WIDTH+\"px\",this._overviewDomElement.style.left=e-dp.ENTIRE_DIFF_OVERVIEW_WIDTH+\"px\",this._overviewViewportDomElement.setWidth(dp.ENTIRE_DIFF_OVERVIEW_WIDTH),this._overviewViewportDomElement.setHeight(30),this._originalEditor.layout({width:i,height:t-n}),this._modifiedEditor.layout({width:e-i-(this._options.renderOverviewRuler?dp.ENTIRE_DIFF_OVERVIEW_WIDTH:0),height:t-n}),(this._originalOverviewRuler||this._modifiedOverviewRuler)&&this._layoutOverviewRulers(),this._reviewPane.layout(t-n,e,n),this._layoutOverviewViewport()}_layoutOverviewViewport(){const e=this._computeOverviewViewport();e?(this._overviewViewportDomElement.setTop(e.top),this._overviewViewportDomElement.setHeight(e.height)):(this._overviewViewportDomElement.setTop(0),this._overviewViewportDomElement.setHeight(0))}_computeOverviewViewport(){const e=this._modifiedEditor.getLayoutInfo();if(!e)return null;const t=this._modifiedEditor.getScrollTop(),n=this._modifiedEditor.getScrollHeight(),i=Math.max(0,e.height),s=Math.max(0,i-2*0),a=n>0?s/n:0,l=Math.max(0,Math.floor(e.height*a)),u=Math.floor(t*a);return{height:l,top:u}}_createDataSource(){return{getWidth:()=>this._elementSizeObserver.getWidth(),getHeight:()=>this._elementSizeObserver.getHeight()-this._getReviewHeight(),getOptions:()=>({renderOverviewRuler:this._options.renderOverviewRuler}),getContainerDomNode:()=>this._containerDomElement,relayoutEditors:()=>{this._doLayout()},getOriginalEditor:()=>this._originalEditor,getModifiedEditor:()=>this._modifiedEditor}}_setStrategy(e){this._strategy&&this._strategy.dispose(),this._strategy=e,e.applyColors(this._themeService.getColorTheme()),this._diffComputationResult&&this._updateDecorations(),this._doLayout()}_getLineChangeAtOrBeforeLineNumber(e,t){const n=this._diffComputationResult?this._diffComputationResult.changes:[];if(n.length===0||e<t(n[0]))return null;let i=0,s=n.length-1;for(;i<s;){const a=Math.floor((i+s)/2),l=t(n[a]),u=a+1<=s?t(n[a+1]):1073741824;e<l?s=a-1:e>=u?i=a+1:(i=a,s=a)}return n[i]}_getEquivalentLineForOriginalLineNumber(e){const t=this._getLineChangeAtOrBeforeLineNumber(e,u=>u.originalStartLineNumber);if(!t)return e;const n=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),i=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),s=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,a=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,l=e-n;return l<=s?i+Math.min(l,a):i+a-s+l}_getEquivalentLineForModifiedLineNumber(e){const t=this._getLineChangeAtOrBeforeLineNumber(e,u=>u.modifiedStartLineNumber);if(!t)return e;const n=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),i=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),s=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,a=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,l=e-i;return l<=a?n+Math.min(l,s):n+s-a+l}getDiffLineInformationForOriginal(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForOriginalLineNumber(e)}:null}getDiffLineInformationForModified(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForModifiedLineNumber(e)}:null}};uC.ONE_OVERVIEW_WIDTH=15;uC.ENTIRE_DIFF_OVERVIEW_WIDTH=30;uC.UPDATE_DIFF_DECORATIONS_DELAY=200;uC=s8e([$y(3,_w),$y(4,Bg),$y(5,Xa),$y(6,Nl),$y(7,Eu),$y(8,gc),$y(9,Sd),$y(10,vC),$y(11,CC)],uC);class Ade extends fr{constructor(e){super(),this._dataSource=e,this._insertColor=null,this._removeColor=null}applyColors(e){const t=e.getColor(u4e)||(e.getColor(vce)||xz).transparent(2),n=e.getColor(c4e)||(e.getColor(Cce)||Ez).transparent(2),i=!t.equals(this._insertColor)||!n.equals(this._removeColor);return this._insertColor=t,this._removeColor=n,i}getEditorsDiffDecorations(e,t,n,i,s){s=s.sort((d,h)=>d.afterLineNumber-h.afterLineNumber),i=i.sort((d,h)=>d.afterLineNumber-h.afterLineNumber);const a=this._getViewZones(e,i,s,n),l=this._getOriginalEditorDecorations(a,e,t,n),u=this._getModifiedEditorDecorations(a,e,t,n);return{original:{decorations:l.decorations,overviewZones:l.overviewZones,zones:a.original},modified:{decorations:u.decorations,overviewZones:u.overviewZones,zones:a.modified}}}}class $se{constructor(e){this._source=e,this._index=-1,this.current=null,this.advance()}advance(){this._index++,this._index<this._source.length?this.current=this._source[this._index]:this.current=null}}class nD{constructor(e,t,n,i,s){this._lineChanges=e,this._originalForeignVZ=t,this._modifiedForeignVZ=n,this._originalEditor=i,this._modifiedEditor=s}static _getViewLineCount(e,t,n){const i=e.getModel(),s=e._getViewModel();if(i&&s){const a=dL(i,s,t,n);return a.endLineNumber-a.startLineNumber+1}return n-t+1}getViewZones(){const e=this._originalEditor.getOption(59),t=this._modifiedEditor.getOption(59),n=this._originalEditor.getOption(132).wrappingColumn!==-1,i=this._modifiedEditor.getOption(132).wrappingColumn!==-1,s=n||i,a=this._originalEditor.getModel(),l=this._originalEditor._getViewModel().coordinatesConverter,u=this._modifiedEditor._getViewModel().coordinatesConverter,d={original:[],modified:[]};let h=0,p=0,g=0,y=0,D=0,T=0;const k=(mt,Le)=>mt.afterLineNumber-Le.afterLineNumber,I=(mt,Le)=>{if(Le.domNode===null&&mt.length>0){const Ge=mt[mt.length-1];if(Ge.afterLineNumber===Le.afterLineNumber&&Ge.domNode===null){Ge.heightInLines+=Le.heightInLines;return}}mt.push(Le)},F=new $se(this._modifiedForeignVZ),q=new $se(this._originalForeignVZ);let re=1,Ie=1;for(let mt=0,Le=this._lineChanges.length;mt<=Le;mt++){const Ge=mt<Le?this._lineChanges[mt]:null;Ge!==null?(g=Ge.originalStartLineNumber+(Ge.originalEndLineNumber>0?-1:0),y=Ge.modifiedStartLineNumber+(Ge.modifiedEndLineNumber>0?-1:0),p=Ge.originalEndLineNumber>0?nD._getViewLineCount(this._originalEditor,Ge.originalStartLineNumber,Ge.originalEndLineNumber):0,h=Ge.modifiedEndLineNumber>0?nD._getViewLineCount(this._modifiedEditor,Ge.modifiedStartLineNumber,Ge.modifiedEndLineNumber):0,D=Math.max(Ge.originalStartLineNumber,Ge.originalEndLineNumber),T=Math.max(Ge.modifiedStartLineNumber,Ge.modifiedEndLineNumber)):(g+=1e7+p,y+=1e7+h,D=g,T=y);let qt=[],gi=[];if(s){let Vr;Ge?Ge.originalEndLineNumber>0?Vr=Ge.originalStartLineNumber-re:Vr=Ge.modifiedStartLineNumber-Ie:Vr=a.getLineCount()-re+1;for(let go=0;go<Vr;go++){const Js=re+go,Fo=Ie+go,aa=l.getModelLineViewLineCount(Js),Qo=u.getModelLineViewLineCount(Fo);aa<Qo?qt.push({afterLineNumber:Js,heightInLines:Qo-aa,domNode:null,marginDomNode:null}):aa>Qo&&gi.push({afterLineNumber:Fo,heightInLines:aa-Qo,domNode:null,marginDomNode:null})}Ge&&(re=(Ge.originalEndLineNumber>0?Ge.originalEndLineNumber:Ge.originalStartLineNumber)+1,Ie=(Ge.modifiedEndLineNumber>0?Ge.modifiedEndLineNumber:Ge.modifiedStartLineNumber)+1)}for(;F.current&&F.current.afterLineNumber<=T;){let Vr;F.current.afterLineNumber<=y?Vr=g-y+F.current.afterLineNumber:Vr=D;let go=null;Ge&&Ge.modifiedStartLineNumber<=F.current.afterLineNumber&&F.current.afterLineNumber<=Ge.modifiedEndLineNumber&&(go=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),qt.push({afterLineNumber:Vr,heightInLines:F.current.height/t,domNode:null,marginDomNode:go}),F.advance()}for(;q.current&&q.current.afterLineNumber<=D;){let Vr;q.current.afterLineNumber<=g?Vr=y-g+q.current.afterLineNumber:Vr=T,gi.push({afterLineNumber:Vr,heightInLines:q.current.height/e,domNode:null}),q.advance()}if(Ge!==null&&Ux(Ge)){const Vr=this._produceOriginalFromDiff(Ge,p,h);Vr&&qt.push(Vr)}if(Ge!==null&&Kx(Ge)){const Vr=this._produceModifiedFromDiff(Ge,p,h);Vr&&gi.push(Vr)}let ai=0,Tr=0;for(qt=qt.sort(k),gi=gi.sort(k);ai<qt.length&&Tr<gi.length;){const Vr=qt[ai],go=gi[Tr],Js=Vr.afterLineNumber-g,Fo=go.afterLineNumber-y;Js<Fo?(I(d.original,Vr),ai++):Fo<Js?(I(d.modified,go),Tr++):Vr.shouldNotShrink?(I(d.original,Vr),ai++):go.shouldNotShrink?(I(d.modified,go),Tr++):Vr.heightInLines>=go.heightInLines?(Vr.heightInLines-=go.heightInLines,Tr++):(go.heightInLines-=Vr.heightInLines,ai++)}for(;ai<qt.length;)I(d.original,qt[ai]),ai++;for(;Tr<gi.length;)I(d.modified,gi[Tr]),Tr++}return{original:nD._ensureDomNodes(d.original),modified:nD._ensureDomNodes(d.modified)}}static _ensureDomNodes(e){return e.map(t=>(t.domNode||(t.domNode=kde()),t))}}function rb(o,e,t,n,i){return{range:new He(o,e,t,n),options:i}}const Nf={charDelete:_l.register({description:\"diff-editor-char-delete\",className:\"char-delete\"}),charDeleteWholeLine:_l.register({description:\"diff-editor-char-delete-whole-line\",className:\"char-delete\",isWholeLine:!0}),charInsert:_l.register({description:\"diff-editor-char-insert\",className:\"char-insert\"}),charInsertWholeLine:_l.register({description:\"diff-editor-char-insert-whole-line\",className:\"char-insert\",isWholeLine:!0}),lineInsert:_l.register({description:\"diff-editor-line-insert\",className:\"line-insert\",marginClassName:\"gutter-insert\",isWholeLine:!0}),lineInsertWithSign:_l.register({description:\"diff-editor-line-insert-with-sign\",className:\"line-insert\",linesDecorationsClassName:\"insert-sign \"+zu.asClassName(a8e),marginClassName:\"gutter-insert\",isWholeLine:!0}),lineDelete:_l.register({description:\"diff-editor-line-delete\",className:\"line-delete\",marginClassName:\"gutter-delete\",isWholeLine:!0}),lineDeleteWithSign:_l.register({description:\"diff-editor-line-delete-with-sign\",className:\"line-delete\",linesDecorationsClassName:\"delete-sign \"+zu.asClassName(Tde),marginClassName:\"gutter-delete\",isWholeLine:!0}),lineDeleteMargin:_l.register({description:\"diff-editor-line-delete-margin\",marginClassName:\"gutter-delete\"})};class ub extends Ade{constructor(e,t){super(e),this._disableSash=t===!1,this._sashRatio=null,this._sashPosition=null,this._startSashPosition=null,this._sash=this._register(new gp(this._dataSource.getContainerDomNode(),this,{orientation:0})),this._disableSash&&(this._sash.state=0),this._sash.onDidStart(()=>this._onSashDragStart()),this._sash.onDidChange(n=>this._onSashDrag(n)),this._sash.onDidEnd(()=>this._onSashDragEnd()),this._sash.onDidReset(()=>this._onSashReset())}setEnableSplitViewResizing(e){const t=e===!1;this._disableSash!==t&&(this._disableSash=t,this._sash.state=this._disableSash?0:3)}layout(e=this._sashRatio){const n=this._dataSource.getWidth()-(this._dataSource.getOptions().renderOverviewRuler?uC.ENTIRE_DIFF_OVERVIEW_WIDTH:0);let i=Math.floor((e||.5)*n);const s=Math.floor(.5*n);return i=this._disableSash?s:i||s,n>ub.MINIMUM_EDITOR_WIDTH*2?(i<ub.MINIMUM_EDITOR_WIDTH&&(i=ub.MINIMUM_EDITOR_WIDTH),i>n-ub.MINIMUM_EDITOR_WIDTH&&(i=n-ub.MINIMUM_EDITOR_WIDTH)):i=s,this._sashPosition!==i&&(this._sashPosition=i),this._sash.layout(),this._sashPosition}_onSashDragStart(){this._startSashPosition=this._sashPosition}_onSashDrag(e){const n=this._dataSource.getWidth()-(this._dataSource.getOptions().renderOverviewRuler?uC.ENTIRE_DIFF_OVERVIEW_WIDTH:0),i=this.layout((this._startSashPosition+(e.currentX-e.startX))/n);this._sashRatio=i/n,this._dataSource.relayoutEditors()}_onSashDragEnd(){this._sash.layout()}_onSashReset(){this._sashRatio=.5,this._dataSource.relayoutEditors(),this._sash.layout()}getVerticalSashTop(e){return 0}getVerticalSashLeft(e){return this._sashPosition}getVerticalSashHeight(e){return this._dataSource.getHeight()}_getViewZones(e,t,n){const i=this._dataSource.getOriginalEditor(),s=this._dataSource.getModifiedEditor();return new l8e(e,t,n,i,s).getViewZones()}_getOriginalEditorDecorations(e,t,n,i){const s=this._dataSource.getOriginalEditor(),a=String(this._removeColor),l={decorations:[],overviewZones:[]},u=s.getModel(),d=s._getViewModel();for(const h of t)if(Kx(h)){l.decorations.push({range:new He(h.originalStartLineNumber,1,h.originalEndLineNumber,1073741824),options:i?Nf.lineDeleteWithSign:Nf.lineDelete}),(!Ux(h)||!h.charChanges)&&l.decorations.push(rb(h.originalStartLineNumber,1,h.originalEndLineNumber,1073741824,Nf.charDeleteWholeLine));const p=dL(u,d,h.originalStartLineNumber,h.originalEndLineNumber);if(l.overviewZones.push(new nL(p.startLineNumber,p.endLineNumber,0,a)),h.charChanges){for(const g of h.charChanges)if(Kx(g))if(n)for(let y=g.originalStartLineNumber;y<=g.originalEndLineNumber;y++){let D,T;y===g.originalStartLineNumber?D=g.originalStartColumn:D=u.getLineFirstNonWhitespaceColumn(y),y===g.originalEndLineNumber?T=g.originalEndColumn:T=u.getLineLastNonWhitespaceColumn(y),l.decorations.push(rb(y,D,y,T,Nf.charDelete))}else l.decorations.push(rb(g.originalStartLineNumber,g.originalStartColumn,g.originalEndLineNumber,g.originalEndColumn,Nf.charDelete))}}return l}_getModifiedEditorDecorations(e,t,n,i){const s=this._dataSource.getModifiedEditor(),a=String(this._insertColor),l={decorations:[],overviewZones:[]},u=s.getModel(),d=s._getViewModel();for(const h of t)if(Ux(h)){l.decorations.push({range:new He(h.modifiedStartLineNumber,1,h.modifiedEndLineNumber,1073741824),options:i?Nf.lineInsertWithSign:Nf.lineInsert}),(!Kx(h)||!h.charChanges)&&l.decorations.push(rb(h.modifiedStartLineNumber,1,h.modifiedEndLineNumber,1073741824,Nf.charInsertWholeLine));const p=dL(u,d,h.modifiedStartLineNumber,h.modifiedEndLineNumber);if(l.overviewZones.push(new nL(p.startLineNumber,p.endLineNumber,0,a)),h.charChanges){for(const g of h.charChanges)if(Ux(g))if(n)for(let y=g.modifiedStartLineNumber;y<=g.modifiedEndLineNumber;y++){let D,T;y===g.modifiedStartLineNumber?D=g.modifiedStartColumn:D=u.getLineFirstNonWhitespaceColumn(y),y===g.modifiedEndLineNumber?T=g.modifiedEndColumn:T=u.getLineLastNonWhitespaceColumn(y),l.decorations.push(rb(y,D,y,T,Nf.charInsert))}else l.decorations.push(rb(g.modifiedStartLineNumber,g.modifiedStartColumn,g.modifiedEndLineNumber,g.modifiedEndColumn,Nf.charInsert))}}return l}}ub.MINIMUM_EDITOR_WIDTH=100;class l8e extends nD{constructor(e,t,n,i,s){super(e,t,n,i,s)}_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion(){return null}_produceOriginalFromDiff(e,t,n){return n>t?{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:n-t,domNode:null}:null}_produceModifiedFromDiff(e,t,n){return t>n?{afterLineNumber:Math.max(e.modifiedStartLineNumber,e.modifiedEndLineNumber),heightInLines:t-n,domNode:null}:null}}class zse extends Ade{constructor(e,t){super(e),this._decorationsLeft=e.getOriginalEditor().getLayoutInfo().decorationsLeft,this._register(e.getOriginalEditor().onDidLayoutChange(n=>{this._decorationsLeft!==n.decorationsLeft&&(this._decorationsLeft=n.decorationsLeft,e.relayoutEditors())}))}setEnableSplitViewResizing(e){}_getViewZones(e,t,n,i){const s=this._dataSource.getOriginalEditor(),a=this._dataSource.getModifiedEditor();return new u8e(e,t,n,s,a,i).getViewZones()}_getOriginalEditorDecorations(e,t,n,i){const s=String(this._removeColor),a={decorations:[],overviewZones:[]},l=this._dataSource.getOriginalEditor(),u=l.getModel(),d=l._getViewModel();let h=0;for(const p of t)if(Kx(p)){for(a.decorations.push({range:new He(p.originalStartLineNumber,1,p.originalEndLineNumber,1073741824),options:Nf.lineDeleteMargin});h<e.modified.length;){const D=e.modified[h];if(D.diff&&D.diff.originalStartLineNumber>=p.originalStartLineNumber)break;h++}let g=0;if(h<e.modified.length){const D=e.modified[h];D.diff&&D.diff.originalStartLineNumber===p.originalStartLineNumber&&D.diff.originalEndLineNumber===p.originalEndLineNumber&&D.diff.modifiedStartLineNumber===p.modifiedStartLineNumber&&D.diff.modifiedEndLineNumber===p.modifiedEndLineNumber&&(g=D.heightInLines)}const y=dL(u,d,p.originalStartLineNumber,p.originalEndLineNumber);a.overviewZones.push(new nL(y.startLineNumber,y.endLineNumber,g,s))}return a}_getModifiedEditorDecorations(e,t,n,i){const s=this._dataSource.getModifiedEditor(),a=String(this._insertColor),l={decorations:[],overviewZones:[]},u=s.getModel(),d=s._getViewModel();for(const h of t)if(Ux(h)){l.decorations.push({range:new He(h.modifiedStartLineNumber,1,h.modifiedEndLineNumber,1073741824),options:i?Nf.lineInsertWithSign:Nf.lineInsert});const p=dL(u,d,h.modifiedStartLineNumber,h.modifiedEndLineNumber);if(l.overviewZones.push(new nL(p.startLineNumber,p.endLineNumber,0,a)),h.charChanges){for(const g of h.charChanges)if(Ux(g))if(n)for(let y=g.modifiedStartLineNumber;y<=g.modifiedEndLineNumber;y++){let D,T;y===g.modifiedStartLineNumber?D=g.modifiedStartColumn:D=u.getLineFirstNonWhitespaceColumn(y),y===g.modifiedEndLineNumber?T=g.modifiedEndColumn:T=u.getLineLastNonWhitespaceColumn(y),l.decorations.push(rb(y,D,y,T,Nf.charInsert))}else l.decorations.push(rb(g.modifiedStartLineNumber,g.modifiedStartColumn,g.modifiedEndLineNumber,g.modifiedEndColumn,Nf.charInsert))}else l.decorations.push(rb(h.modifiedStartLineNumber,1,h.modifiedEndLineNumber,1073741824,Nf.charInsertWholeLine))}return l}layout(){return Math.max(5,this._decorationsLeft)}}class u8e extends nD{constructor(e,t,n,i,s,a){super(e,t,n,i,s),this._originalModel=i.getModel(),this._renderIndicators=a,this._pendingLineChange=[],this._pendingViewZones=[],this._lineBreaksComputer=this._modifiedEditor._getViewModel().createLineBreaksComputer()}getViewZones(){const e=super.getViewZones();return this._finalize(e),e}_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion(){const e=document.createElement(\"div\");return e.className=\"inline-added-margin-view-zone\",e}_produceOriginalFromDiff(e,t,n){const i=document.createElement(\"div\");return i.className=\"inline-added-margin-view-zone\",{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:n,domNode:document.createElement(\"div\"),marginDomNode:i}}_produceModifiedFromDiff(e,t,n){const i=document.createElement(\"div\");i.className=`view-lines line-delete ${hD}`;const s=document.createElement(\"div\");s.className=\"inline-deleted-margin-view-zone\";const a={shouldNotShrink:!0,afterLineNumber:e.modifiedEndLineNumber===0?e.modifiedStartLineNumber:e.modifiedStartLineNumber-1,heightInLines:t,minWidthInPx:0,domNode:i,marginDomNode:s,diff:{originalStartLineNumber:e.originalStartLineNumber,originalEndLineNumber:e.originalEndLineNumber,modifiedStartLineNumber:e.modifiedStartLineNumber,modifiedEndLineNumber:e.modifiedEndLineNumber,originalModel:this._originalModel,viewLineCounts:null}};for(let l=e.originalStartLineNumber;l<=e.originalEndLineNumber;l++)this._lineBreaksComputer.addRequest(this._originalModel.getLineContent(l),null,null);return this._pendingLineChange.push(e),this._pendingViewZones.push(a),a}_finalize(e){const t=this._modifiedEditor.getOptions(),n=this._modifiedEditor.getModel().getOptions().tabSize,i=t.get(44),s=t.get(29),a=i.typicalHalfwidthCharacterWidth,l=t.get(93),u=this._originalModel.mightContainNonBasicASCII(),d=this._originalModel.mightContainRTL(),h=t.get(59),g=t.get(131).decorationsWidth,y=t.get(105),D=t.get(88),T=t.get(83),k=t.get(45),I=this._lineBreaksComputer.finalize();let F=0;for(let q=0;q<this._pendingLineChange.length;q++){const re=this._pendingLineChange[q],Ie=this._pendingViewZones[q],mt=Ie.domNode;bp(mt,i);const Le=Ie.marginDomNode;bp(Le,i);const Ge=[];if(re.charChanges)for(const Fo of re.charChanges)Kx(Fo)&&Ge.push(new r3(new He(Fo.originalStartLineNumber,Fo.originalStartColumn,Fo.originalEndLineNumber,Fo.originalEndColumn),\"char-delete\",0));const qt=Ge.length>0,gi=wD(1e4);let ai=0,Tr=0,Vr=null;for(let Fo=re.originalStartLineNumber;Fo<=re.originalEndLineNumber;Fo++){const aa=Fo-re.originalStartLineNumber,Qo=this._originalModel.getLineTokens(Fo),Ao=Qo.getLineContent(),Gl=I[F++],nl=z_.filter(Ge,Fo,1,Ao.length+1);if(Gl){let Po=0;for(const Bl of Gl.breakOffsets){const mc=Qo.sliceAndInflate(Po,Bl,0),lc=Ao.substring(Po,Bl);ai=Math.max(ai,this._renderOriginalLine(Tr++,lc,mc,z_.extractWrapped(nl,Po,Bl),qt,u,d,i,s,h,g,y,D,T,k,n,gi,Le)),Po=Bl}for(Vr||(Vr=[]);Vr.length<aa;)Vr[Vr.length]=1;Vr[aa]=Gl.breakOffsets.length,Ie.heightInLines+=Gl.breakOffsets.length-1;const mo=document.createElement(\"div\");mo.className=\"gutter-delete\",e.original.push({afterLineNumber:Fo,afterColumn:0,heightInLines:Gl.breakOffsets.length-1,domNode:kde(),marginDomNode:mo})}else ai=Math.max(ai,this._renderOriginalLine(Tr++,Ao,Qo,nl,qt,u,d,i,s,h,g,y,D,T,k,n,gi,Le))}ai+=l;const go=gi.build(),Js=Hse?Hse.createHTML(go):go;if(mt.innerHTML=Js,Ie.minWidthInPx=ai*a,Vr){const Fo=re.originalEndLineNumber-re.originalStartLineNumber;for(;Vr.length<=Fo;)Vr[Vr.length]=1}Ie.diff.viewLineCounts=Vr}e.original.sort((q,re)=>q.afterLineNumber-re.afterLineNumber)}_renderOriginalLine(e,t,n,i,s,a,l,u,d,h,p,g,y,D,T,k,I,F){I.appendASCIIString('<div class=\"view-line'),s||I.appendASCIIString(\" char-delete\"),I.appendASCIIString('\" style=\"top:'),I.appendASCIIString(String(e*h)),I.appendASCIIString('px;width:1000000px;\">');const q=Y_.isBasicASCII(t,a),re=Y_.containsRTL(t,q,l),Ie=AP(new lw(u.isMonospace&&!d,u.canUseHalfwidthRightwardsArrow,t,!1,q,re,0,n,i,k,0,u.spaceWidth,u.middotWidth,u.wsmiddotWidth,g,y,D,T!==j_.OFF,null),I);if(I.appendASCIIString(\"</div>\"),this._renderIndicators){const mt=document.createElement(\"div\");mt.className=`delete-sign ${zu.asClassName(Tde)}`,mt.setAttribute(\"style\",`position:absolute;top:${e*h}px;width:${p}px;height:${h}px;right:0;`),F.appendChild(mt)}return Ie.characterMapping.getAbsoluteOffset(Ie.characterMapping.length)}}function c8e(o,e){return Pf(o,e,[\"off\",\"on\",\"inherit\"])}function Ux(o){return o.modifiedEndLineNumber>0}function Kx(o){return o.originalEndLineNumber>0}function kde(){const o=document.createElement(\"div\");return o.className=\"diagonal-fill\",o}function dL(o,e,t,n){const i=o.getLineCount();return t=Math.min(i,Math.max(1,t)),n=Math.min(i,Math.max(1,n)),e.coordinatesConverter.convertModelRangeToViewRange(new He(t,o.getLineMinColumn(t),n,o.getLineMaxColumn(n)))}function Use(o,e){return{enableSplitViewResizing:ya(o.enableSplitViewResizing,e.enableSplitViewResizing),renderSideBySide:ya(o.renderSideBySide,e.renderSideBySide),maxComputationTime:s$(o.maxComputationTime,e.maxComputationTime,0,1073741824),maxFileSize:s$(o.maxFileSize,e.maxFileSize,0,1073741824),ignoreTrimWhitespace:ya(o.ignoreTrimWhitespace,e.ignoreTrimWhitespace),renderIndicators:ya(o.renderIndicators,e.renderIndicators),originalEditable:ya(o.originalEditable,e.originalEditable),diffCodeLens:ya(o.diffCodeLens,e.diffCodeLens),renderOverviewRuler:ya(o.renderOverviewRuler,e.renderOverviewRuler),diffWordWrap:c8e(o.diffWordWrap,e.diffWordWrap)}}function d8e(o,e){return{enableSplitViewResizing:o.enableSplitViewResizing!==e.enableSplitViewResizing,renderSideBySide:o.renderSideBySide!==e.renderSideBySide,maxComputationTime:o.maxComputationTime!==e.maxComputationTime,maxFileSize:o.maxFileSize!==e.maxFileSize,ignoreTrimWhitespace:o.ignoreTrimWhitespace!==e.ignoreTrimWhitespace,renderIndicators:o.renderIndicators!==e.renderIndicators,originalEditable:o.originalEditable!==e.originalEditable,diffCodeLens:o.diffCodeLens!==e.diffCodeLens,renderOverviewRuler:o.renderOverviewRuler!==e.renderOverviewRuler,diffWordWrap:o.diffWordWrap!==e.diffWordWrap}}ac((o,e)=>{const t=o.getColor(vce);t&&e.addRule(`.monaco-editor .char-insert, .monaco-diff-editor .char-insert { background-color: ${t}; }`);const n=o.getColor(s4e)||t;n&&e.addRule(`.monaco-editor .line-insert, .monaco-diff-editor .line-insert { background-color: ${n}; }`);const i=o.getColor(a4e)||n;i&&(e.addRule(`.monaco-editor .inline-added-margin-view-zone { background-color: ${i}; }`),e.addRule(`.monaco-editor .gutter-insert, .monaco-diff-editor .gutter-insert { background-color: ${i}; }`));const s=o.getColor(Cce);s&&e.addRule(`.monaco-editor .char-delete, .monaco-diff-editor .char-delete { background-color: ${s}; }`);const a=o.getColor(o4e)||s;a&&e.addRule(`.monaco-editor .line-delete, .monaco-diff-editor .line-delete { background-color: ${a}; }`);const l=o.getColor(l4e)||a;l&&(e.addRule(`.monaco-editor .inline-deleted-margin-view-zone { background-color: ${l}; }`),e.addRule(`.monaco-editor .gutter-delete, .monaco-diff-editor .gutter-delete { background-color: ${l}; }`));const u=o.getColor(d4e);u&&e.addRule(`.monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px ${o.type===\"hc\"?\"dashed\":\"solid\"} ${u}; }`);const d=o.getColor(h4e);d&&e.addRule(`.monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px ${o.type===\"hc\"?\"dashed\":\"solid\"} ${d}; }`);const h=o.getColor(zE);h&&e.addRule(`.monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px ${h}; }`);const p=o.getColor(p4e);p&&e.addRule(`.monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid ${p}; }`);const g=o.getColor(Rx);g&&e.addRule(`\n\t\t\t.monaco-diff-editor .diffViewport {\n\t\t\t\tbackground: ${g};\n\t\t\t}\n\t\t`);const y=o.getColor(Bx);y&&e.addRule(`\n\t\t\t.monaco-diff-editor .diffViewport:hover {\n\t\t\t\tbackground: ${y};\n\t\t\t}\n\t\t`);const D=o.getColor(jx);D&&e.addRule(`\n\t\t\t.monaco-diff-editor .diffViewport:active {\n\t\t\t\tbackground: ${D};\n\t\t\t}\n\t\t`);const T=o.getColor(f4e);e.addRule(`\n\t.monaco-editor .diagonal-fill {\n\t\tbackground-image: linear-gradient(\n\t\t\t-45deg,\n\t\t\t${T} 12.5%,\n\t\t\t#0000 12.5%, #0000 50%,\n\t\t\t${T} 50%, ${T} 62.5%,\n\t\t\t#0000 62.5%, #0000 100%\n\t\t);\n\t\tbackground-size: 8px 8px;\n\t}\n\t`)});var h8e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},p8e=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let Uz=class extends fr{constructor(e){super(),this._themeService=e,this._onCodeEditorAdd=this._register(new ri),this.onCodeEditorAdd=this._onCodeEditorAdd.event,this._onCodeEditorRemove=this._register(new ri),this.onCodeEditorRemove=this._onCodeEditorRemove.event,this._onDiffEditorAdd=this._register(new ri),this.onDiffEditorAdd=this._onDiffEditorAdd.event,this._onDiffEditorRemove=this._register(new ri),this.onDiffEditorRemove=this._onDiffEditorRemove.event,this._decorationOptionProviders=new Map,this._modelProperties=new Map,this._codeEditors=Object.create(null),this._diffEditors=Object.create(null),this._globalStyleSheet=null}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])}addDiffEditor(e){this._diffEditors[e.getId()]=e,this._onDiffEditorAdd.fire(e)}removeDiffEditor(e){delete this._diffEditors[e.getId()]&&this._onDiffEditorRemove.fire(e)}listDiffEditors(){return Object.keys(this._diffEditors).map(e=>this._diffEditors[e])}getFocusedCodeEditor(){let e=null;const t=this.listCodeEditors();for(const n of t){if(n.hasTextFocus())return n;n.hasWidgetFocus()&&(e=n)}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(n=>n.removeDecorations(e))))}setModelProperty(e,t,n){const i=e.toString();let s;this._modelProperties.has(i)?s=this._modelProperties.get(i):(s=new Map,this._modelProperties.set(i,s)),s.set(t,n)}getModelProperty(e,t){const n=e.toString();if(this._modelProperties.has(n))return this._modelProperties.get(n).get(t)}};Uz=h8e([p8e(0,gc)],Uz);var f8e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},Kse=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let E7=class extends Uz{constructor(e,t){super(t),this.onCodeEditorAdd(()=>this._checkContextKey()),this.onCodeEditorRemove(()=>this._checkContextKey()),this._editorIsOpen=e.createKey(\"editorIsOpen\",!1),this._activeCodeEditor=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}openCodeEditor(e,t,n){return t?Promise.resolve(this.doOpenEditor(t,e)):Promise.resolve(null)}doOpenEditor(e,t){if(!this.findModel(e,t.resource)){if(t.resource){const s=t.resource.scheme;if(s===dl.http||s===dl.https)return que(t.resource.toString()),e}return null}const i=t.options?t.options.selection:null;if(i)if(typeof i.endLineNumber==\"number\"&&typeof i.endColumn==\"number\")e.setSelection(i),e.revealRangeInCenter(i,1);else{const s={lineNumber:i.startLineNumber,column:i.startColumn};e.setPosition(s),e.revealPositionInCenter(s,1)}return e}findModel(e,t){const n=e.getModel();return n&&n.uri.toString()!==t.toString()?null:n}};E7=f8e([Kse(0,Xa),Kse(1,gc)],E7);su(Eu,E7);const c4=zl(\"layoutService\");var Lde=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},Nde=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let T7=class{constructor(e){this._codeEditorService=e,this.onDidLayout=Xo.None}get dimension(){return this._dimension||(this._dimension=NP(window.document.body)),this._dimension}get hasContainer(){return!1}get container(){throw new Error(\"ILayoutService.container is not available in the standalone editor!\")}focus(){var e;(e=this._codeEditorService.getFocusedCodeEditor())===null||e===void 0||e.focus()}};T7=Lde([Nde(0,Eu)],T7);let Kz=class extends T7{constructor(e,t){super(t),this._container=e}get hasContainer(){return!1}get container(){return this._container}};Kz=Lde([Nde(1,Eu)],Kz);su(c4,T7);const d4=zl(\"dialogService\");var _8e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},qse=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},a5=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};function l5(o){return o.scheme===dl.file?o.fsPath:o.path}let Ide=0;class u5{constructor(e,t,n,i,s,a,l){this.id=++Ide,this.type=0,this.actual=e,this.label=e.label,this.confirmBeforeUndo=e.confirmBeforeUndo||!1,this.resourceLabel=t,this.strResource=n,this.resourceLabels=[this.resourceLabel],this.strResources=[this.strResource],this.groupId=i,this.groupOrder=s,this.sourceId=a,this.sourceOrder=l,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 Gse{constructor(e,t){this.resourceLabel=e,this.reason=t}}class Jse{constructor(){this.elements=new Map}createMessage(){const e=[],t=[];for(const[,i]of this.elements)(i.reason===0?e:t).push(i.resourceLabel);let n=[];return e.length>0&&n.push(w({key:\"externalRemoval\",comment:[\"{0} is a list of filenames\"]},\"The following files have been closed and modified on disk: {0}.\",e.join(\", \"))),t.length>0&&n.push(w({key:\"noParallelUniverses\",comment:[\"{0} is a list of filenames\"]},\"The following files have been modified in an incompatible way: {0}.\",t.join(\", \"))),n.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 g8e{constructor(e,t,n,i,s,a,l){this.id=++Ide,this.type=1,this.actual=e,this.label=e.label,this.confirmBeforeUndo=e.confirmBeforeUndo||!1,this.resourceLabels=t,this.strResources=n,this.groupId=i,this.groupOrder=s,this.sourceId=a,this.sourceOrder=l,this.removedResources=null,this.invalidatedResources=null}canSplit(){return typeof this.actual.split==\"function\"}removeResource(e,t,n){this.removedResources||(this.removedResources=new Jse),this.removedResources.has(t)||this.removedResources.set(t,new Gse(e,n))}setValid(e,t,n){n?this.invalidatedResources&&(this.invalidatedResources.delete(t),this.invalidatedResources.size===0&&(this.invalidatedResources=null)):(this.invalidatedResources||(this.invalidatedResources=new Jse),this.invalidatedResources.has(t)||this.invalidatedResources.set(t,new Gse(e,0)))}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.invalidatedResources?\"INVALID\":\"  VALID\"}] ${this.actual.constructor.name} - ${this.actual}`}}class Fde{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(){let 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 n of this._past)t(n.actual)&&this._setElementValidFlag(n,e);for(const n of this._future)t(n.actual)&&this._setElementValidFlag(n,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 n=0,i=this._past.length;n<i;n++)t.push(this._past[n].id);for(let n=this._future.length-1;n>=0;n--)t.push(this._future[n].id);return new mde(e,t)}restoreSnapshot(e){const t=e.elements.length;let n=!0,i=0,s=-1;for(let l=0,u=this._past.length;l<u;l++,i++){const d=this._past[l];n&&(i>=t||d.id!==e.elements[i])&&(n=!1,s=0),!n&&d.type===1&&d.removeResource(this.resourceLabel,this.strResource,0)}let a=-1;for(let l=this._future.length-1;l>=0;l--,i++){const u=this._future[l];n&&(i>=t||u.id!==e.elements[i])&&(n=!1,a=l),!n&&u.type===1&&u.removeResource(this.resourceLabel,this.strResource,0)}s!==-1&&(this._past=this._past.slice(0,s)),a!==-1&&(this._future=this._future.slice(a+1)),this.versionId++}getElements(){const e=[],t=[];for(const n of this._past)e.push(n.actual);for(const n of this._future)t.push(n.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 n=this._past.length-1;n>=0;n--)if(this._past[n]===e){t.has(this.strResource)?this._past[n]=t.get(this.strResource):this._past.splice(n,1);break}this.versionId++}splitFutureWorkspaceElement(e,t){for(let n=this._future.length-1;n>=0;n--)if(this._future[n]===e){t.has(this.strResource)?this._future[n]=t.get(this.strResource):this._future.splice(n,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 UV{constructor(e){this.editStacks=e,this._versionIds=[];for(let t=0,n=this.editStacks.length;t<n;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 Pde=new Fde(\"\",\"\");Pde.locked=!0;let qz=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}: `);let t=[];for(const n of this._editStacks)t.push(n[1].toString());console.log(t.join(`\n`))}pushElement(e,t=fE.None,n=N1.None){if(e.type===0){const i=l5(e.resource),s=this.getUriComparisonKey(e.resource);this._pushElement(new u5(e,i,s,t.id,t.nextOrder(),n.id,n.nextOrder()))}else{const i=new Set,s=[],a=[];for(const l of e.resources){const u=l5(l),d=this.getUriComparisonKey(l);i.has(d)||(i.add(d),s.push(u),a.push(d))}s.length===1?this._pushElement(new u5(e,s[0],a[0],t.id,t.nextOrder(),n.id,n.nextOrder())):this._pushElement(new g8e(e,s,a,t.id,t.nextOrder(),n.id,n.nextOrder()))}}_pushElement(e){for(let t=0,n=e.strResources.length;t<n;t++){const i=e.resourceLabels[t],s=e.strResources[t];let a;this._editStacks.has(s)?a=this._editStacks.get(s):(a=new Fde(i,s),this._editStacks.set(s,a)),a.pushElement(e)}}getLastElement(e){const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){const n=this._editStacks.get(t);if(n.hasFutureElements())return null;const i=n.getClosestPastElement();return i?i.actual:null}return null}_splitPastWorkspaceElement(e,t){const n=e.actual.split(),i=new Map;for(const s of n){const a=l5(s.resource),l=this.getUriComparisonKey(s.resource),u=new u5(s,a,l,0,0,0,0);i.set(u.strResource,u)}for(const s of e.strResources){if(t&&t.has(s))continue;this._editStacks.get(s).splitPastWorkspaceElement(e,i)}}_splitFutureWorkspaceElement(e,t){const n=e.actual.split(),i=new Map;for(const s of n){const a=l5(s.resource),l=this.getUriComparisonKey(s.resource),u=new u5(s,a,l,0,0,0,0);i.set(u.strResource,u)}for(const s of e.strResources){if(t&&t.has(s))continue;this._editStacks.get(s).splitFutureWorkspaceElement(e,i)}}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,n){const i=this.getUriComparisonKey(e);this._editStacks.has(i)&&this._editStacks.get(i).setElementsValidFlag(t,n)}createSnapshot(e){const t=this.getUriComparisonKey(e);return this._editStacks.has(t)?this._editStacks.get(t).createSnapshot(e):new mde(e,[])}restoreSnapshot(e){const t=this.getUriComparisonKey(e.resource);if(this._editStacks.has(t)){const n=this._editStacks.get(t);n.restoreSnapshot(e),!n.hasPastElements()&&!n.hasFutureElements()&&(n.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,n=null;for(const[i,s]of this._editStacks){const a=s.getClosestPastElement();!a||a.sourceId===e&&(!t||a.sourceOrder>t.sourceOrder)&&(t=a,n=i)}return[t,n]}canUndo(e){if(e instanceof N1){const[,n]=this._findClosestUndoElementWithSource(e.id);return!!n}const t=this.getUriComparisonKey(e);return this._editStacks.has(t)?this._editStacks.get(t).hasPastElements():!1}_onError(e,t){tl(e);for(const n of t.strResources)this.removeElements(n);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,n,i,s){const a=this._acquireLocks(n);let l;try{l=t()}catch(u){return a(),i.dispose(),this._onError(u,e)}return l?l.then(()=>(a(),i.dispose(),s()),u=>(a(),i.dispose(),this._onError(u,e))):(a(),i.dispose(),s())}_invokeWorkspacePrepare(e){return a5(this,void 0,void 0,function*(){if(typeof e.actual.prepareUndoRedo==\"undefined\")return fr.None;const t=e.actual.prepareUndoRedo();return typeof t==\"undefined\"?fr.None:t})}_invokeResourcePrepare(e,t){if(e.actual.type!==1||typeof e.actual.prepareUndoRedo==\"undefined\")return t(fr.None);const n=e.actual.prepareUndoRedo();return n?Sq(n)?t(n):n.then(i=>t(i)):t(fr.None)}_getAffectedEditStacks(e){const t=[];for(const n of e.strResources)t.push(this._editStacks.get(n)||Pde);return new UV(t)}_tryToSplitAndUndo(e,t,n,i){if(t.canSplit())return this._splitPastWorkspaceElement(t,n),this._notificationService.warn(i),new c5(this._undo(e,0,!0));for(const s of t.strResources)this.removeElements(s);return this._notificationService.warn(i),new c5}_checkWorkspaceUndo(e,t,n,i){if(t.removedResources)return this._tryToSplitAndUndo(e,t,t.removedResources,w({key:\"cannotWorkspaceUndo\",comment:[\"{0} is a label for an operation. {1} is another message.\"]},\"Could not undo '{0}' across all files. {1}\",t.label,t.removedResources.createMessage()));if(i&&t.invalidatedResources)return this._tryToSplitAndUndo(e,t,t.invalidatedResources,w({key:\"cannotWorkspaceUndo\",comment:[\"{0} is a label for an operation. {1} is another message.\"]},\"Could not undo '{0}' across all files. {1}\",t.label,t.invalidatedResources.createMessage()));const s=[];for(const l of n.editStacks)l.getClosestPastElement()!==t&&s.push(l.resourceLabel);if(s.length>0)return this._tryToSplitAndUndo(e,t,null,w({key:\"cannotWorkspaceUndoDueToChanges\",comment:[\"{0} is a label for an operation. {1} is a list of filenames.\"]},\"Could not undo '{0}' across all files because changes were made to {1}\",t.label,s.join(\", \")));const a=[];for(const l of n.editStacks)l.locked&&a.push(l.resourceLabel);return a.length>0?this._tryToSplitAndUndo(e,t,null,w({key:\"cannotWorkspaceUndoDueToInProgressUndoRedo\",comment:[\"{0} is a label for an operation. {1} is a list of filenames.\"]},\"Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}\",t.label,a.join(\", \"))):n.isValid()?null:this._tryToSplitAndUndo(e,t,null,w({key:\"cannotWorkspaceUndoDueToInMeantimeUndoRedo\",comment:[\"{0} is a label for an operation. {1} is a list of filenames.\"]},\"Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime\",t.label))}_workspaceUndo(e,t,n){const i=this._getAffectedEditStacks(t),s=this._checkWorkspaceUndo(e,t,i,!1);return s?s.returnValue:this._confirmAndExecuteWorkspaceUndo(e,t,i,n)}_isPartOfUndoGroup(e){if(!e.groupId)return!1;for(const[,t]of this._editStacks){const n=t.getClosestPastElement();if(!!n){if(n===e){const i=t.getSecondClosestPastElement();if(i&&i.groupId===e.groupId)return!0}if(n.groupId===e.groupId)return!0}}return!1}_confirmAndExecuteWorkspaceUndo(e,t,n,i){return a5(this,void 0,void 0,function*(){if(t.canSplit()&&!this._isPartOfUndoGroup(t)){const l=yield this._dialogService.show(Nc.Info,w(\"confirmWorkspace\",\"Would you like to undo '{0}' across all files?\",t.label),[w({key:\"ok\",comment:[\"{0} denotes a number that is > 1\"]},\"Undo in {0} Files\",n.editStacks.length),w(\"nok\",\"Undo this File\"),w(\"cancel\",\"Cancel\")],{cancelId:2});if(l.choice===2)return;if(l.choice===1)return this._splitPastWorkspaceElement(t,null),this._undo(e,0,!0);const u=this._checkWorkspaceUndo(e,t,n,!1);if(u)return u.returnValue;i=!0}let s;try{s=yield this._invokeWorkspacePrepare(t)}catch(l){return this._onError(l,t)}const a=this._checkWorkspaceUndo(e,t,n,!0);if(a)return s.dispose(),a.returnValue;for(const l of n.editStacks)l.moveBackward(t);return this._safeInvokeWithLocks(t,()=>t.actual.undo(),n,s,()=>this._continueUndoInGroup(t.groupId,i))})}_resourceUndo(e,t,n){if(!t.isValid){e.flushAllElements();return}if(e.locked){const i=w({key:\"cannotResourceUndoDueToInProgressUndoRedo\",comment:[\"{0} is a label for an operation.\"]},\"Could not undo '{0}' because there is already an undo or redo operation running.\",t.label);this._notificationService.warn(i);return}return this._invokeResourcePrepare(t,i=>(e.moveBackward(t),this._safeInvokeWithLocks(t,()=>t.actual.undo(),new UV([e]),i,()=>this._continueUndoInGroup(t.groupId,n))))}_findClosestUndoElementInGroup(e){if(!e)return[null,null];let t=null,n=null;for(const[i,s]of this._editStacks){const a=s.getClosestPastElement();!a||a.groupId===e&&(!t||a.groupOrder>t.groupOrder)&&(t=a,n=i)}return[t,n]}_continueUndoInGroup(e,t){if(!e)return;const[,n]=this._findClosestUndoElementInGroup(e);if(n)return this._undo(n,0,t)}undo(e){if(e instanceof N1){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,n){if(!this._editStacks.has(e))return;const i=this._editStacks.get(e),s=i.getClosestPastElement();if(!s)return;if(s.groupId){const[l,u]=this._findClosestUndoElementInGroup(s.groupId);if(s!==l&&u)return this._undo(u,t,n)}if((s.sourceId!==t||s.confirmBeforeUndo)&&!n)return this._confirmAndContinueUndo(e,t,s);try{return s.type===1?this._workspaceUndo(e,s,n):this._resourceUndo(i,s,n)}finally{}}_confirmAndContinueUndo(e,t,n){return a5(this,void 0,void 0,function*(){if((yield this._dialogService.show(Nc.Info,w(\"confirmDifferentSource\",\"Would you like to undo '{0}'?\",n.label),[w(\"confirmDifferentSource.yes\",\"Yes\"),w(\"confirmDifferentSource.no\",\"No\")],{cancelId:1})).choice!==1)return this._undo(e,t,!0)})}_findClosestRedoElementWithSource(e){if(!e)return[null,null];let t=null,n=null;for(const[i,s]of this._editStacks){const a=s.getClosestFutureElement();!a||a.sourceId===e&&(!t||a.sourceOrder<t.sourceOrder)&&(t=a,n=i)}return[t,n]}canRedo(e){if(e instanceof N1){const[,n]=this._findClosestRedoElementWithSource(e.id);return!!n}const t=this.getUriComparisonKey(e);return this._editStacks.has(t)?this._editStacks.get(t).hasFutureElements():!1}_tryToSplitAndRedo(e,t,n,i){if(t.canSplit())return this._splitFutureWorkspaceElement(t,n),this._notificationService.warn(i),new c5(this._redo(e));for(const s of t.strResources)this.removeElements(s);return this._notificationService.warn(i),new c5}_checkWorkspaceRedo(e,t,n,i){if(t.removedResources)return this._tryToSplitAndRedo(e,t,t.removedResources,w({key:\"cannotWorkspaceRedo\",comment:[\"{0} is a label for an operation. {1} is another message.\"]},\"Could not redo '{0}' across all files. {1}\",t.label,t.removedResources.createMessage()));if(i&&t.invalidatedResources)return this._tryToSplitAndRedo(e,t,t.invalidatedResources,w({key:\"cannotWorkspaceRedo\",comment:[\"{0} is a label for an operation. {1} is another message.\"]},\"Could not redo '{0}' across all files. {1}\",t.label,t.invalidatedResources.createMessage()));const s=[];for(const l of n.editStacks)l.getClosestFutureElement()!==t&&s.push(l.resourceLabel);if(s.length>0)return this._tryToSplitAndRedo(e,t,null,w({key:\"cannotWorkspaceRedoDueToChanges\",comment:[\"{0} is a label for an operation. {1} is a list of filenames.\"]},\"Could not redo '{0}' across all files because changes were made to {1}\",t.label,s.join(\", \")));const a=[];for(const l of n.editStacks)l.locked&&a.push(l.resourceLabel);return a.length>0?this._tryToSplitAndRedo(e,t,null,w({key:\"cannotWorkspaceRedoDueToInProgressUndoRedo\",comment:[\"{0} is a label for an operation. {1} is a list of filenames.\"]},\"Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}\",t.label,a.join(\", \"))):n.isValid()?null:this._tryToSplitAndRedo(e,t,null,w({key:\"cannotWorkspaceRedoDueToInMeantimeUndoRedo\",comment:[\"{0} is a label for an operation. {1} is a list of filenames.\"]},\"Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime\",t.label))}_workspaceRedo(e,t){const n=this._getAffectedEditStacks(t),i=this._checkWorkspaceRedo(e,t,n,!1);return i?i.returnValue:this._executeWorkspaceRedo(e,t,n)}_executeWorkspaceRedo(e,t,n){return a5(this,void 0,void 0,function*(){let i;try{i=yield this._invokeWorkspacePrepare(t)}catch(a){return this._onError(a,t)}const s=this._checkWorkspaceRedo(e,t,n,!0);if(s)return i.dispose(),s.returnValue;for(const a of n.editStacks)a.moveForward(t);return this._safeInvokeWithLocks(t,()=>t.actual.redo(),n,i,()=>this._continueRedoInGroup(t.groupId))})}_resourceRedo(e,t){if(!t.isValid){e.flushAllElements();return}if(e.locked){const n=w({key:\"cannotResourceRedoDueToInProgressUndoRedo\",comment:[\"{0} is a label for an operation.\"]},\"Could not redo '{0}' because there is already an undo or redo operation running.\",t.label);this._notificationService.warn(n);return}return this._invokeResourcePrepare(t,n=>(e.moveForward(t),this._safeInvokeWithLocks(t,()=>t.actual.redo(),new UV([e]),n,()=>this._continueRedoInGroup(t.groupId))))}_findClosestRedoElementInGroup(e){if(!e)return[null,null];let t=null,n=null;for(const[i,s]of this._editStacks){const a=s.getClosestFutureElement();!a||a.groupId===e&&(!t||a.groupOrder<t.groupOrder)&&(t=a,n=i)}return[t,n]}_continueRedoInGroup(e){if(!e)return;const[,t]=this._findClosestRedoElementInGroup(e);if(t)return this._redo(t)}redo(e){if(e instanceof N1){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),n=t.getClosestFutureElement();if(!!n){if(n.groupId){const[i,s]=this._findClosestRedoElementInGroup(n.groupId);if(n!==i&&s)return this._redo(s)}try{return n.type===1?this._workspaceRedo(e,n):this._resourceRedo(t,n)}finally{}}}};qz=_8e([qse(0,d4),qse(1,Sd)],qz);class c5{constructor(e){this.returnValue=e}}su(n9,qz);var Yse,Xse;class m8e{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),n=this._value.charCodeAt(this._pos);return t-n}value(){return this._value[this._pos]}}class y8e{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?Fq(e,this._value,0,e.length,this._from,this._to):QL(e,this._value,0,e.length,this._from,this._to)}value(){return this._value.substring(this._from,this._to)}}class b8e{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 n=this._value.charCodeAt(t);if(!(n===47||this._splitOnBackslash&&n===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?Fq(e,this._value,0,e.length,this._from,this._to):QL(e,this._value,0,e.length,this._from,this._to)}value(){return this._value.substring(this._from,this._to)}}class v8e{constructor(e){this._ignorePathCasing=e,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 b8e(!1,!this._ignorePathCasing(e)),this._pathIterator.reset(e.path),this._pathIterator.value()&&this._states.push(3)),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 X$(e,this._value.scheme);if(this._states[this._stateIdx]===2)return X$(e,this._value.authority);if(this._states[this._stateIdx]===3)return this._pathIterator.cmp(e);if(this._states[this._stateIdx]===4)return B3(e,this._value.query);if(this._states[this._stateIdx]===5)return B3(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 d5{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 qx{constructor(e){this._iter=e}static forUris(e=()=>!1){return new qx(new v8e(e))}static forStrings(){return new qx(new m8e)}static forConfigKeys(){return new qx(new y8e)}clear(){this._root=void 0}set(e,t){const n=this._iter.reset(e);let i;this._root||(this._root=new d5,this._root.segment=n.value());const s=[];for(i=this._root;;){const l=n.cmp(i.segment);if(l>0)i.left||(i.left=new d5,i.left.segment=n.value()),s.push([-1,i]),i=i.left;else if(l<0)i.right||(i.right=new d5,i.right.segment=n.value()),s.push([1,i]),i=i.right;else if(n.hasNext())n.next(),i.mid||(i.mid=new d5,i.mid.segment=n.value()),s.push([0,i]),i=i.mid;else break}const a=i.value;i.value=t,i.key=e;for(let l=s.length-1;l>=0;l--){const u=s[l][1];u.updateHeight();const d=u.balanceFactor();if(d<-1||d>1){const h=s[l][0],p=s[l+1][0];if(h===1&&p===1)s[l][1]=u.rotateLeft();else if(h===-1&&p===-1)s[l][1]=u.rotateRight();else if(h===1&&p===-1)u.right=s[l+1][1]=s[l+1][1].rotateRight(),s[l][1]=u.rotateLeft();else if(h===-1&&p===1)u.left=s[l+1][1]=s[l+1][1].rotateLeft(),s[l][1]=u.rotateRight();else throw new Error;if(l>0)switch(s[l-1][0]){case-1:s[l-1][1].left=s[l][1];break;case 1:s[l-1][1].right=s[l][1];break;case 0:s[l-1][1].mid=s[l][1];break}else this._root=s[0][1]}}return a}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 n=this._root;for(;n;){const i=t.cmp(n.segment);if(i>0)n=n.left;else if(i<0)n=n.right;else if(t.hasNext())t.next(),n=n.mid;else break}return n}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 n;const i=this._iter.reset(e),s=[];let a=this._root;for(;a;){const l=i.cmp(a.segment);if(l>0)s.push([-1,a]),a=a.left;else if(l<0)s.push([1,a]),a=a.right;else if(i.hasNext())i.next(),s.push([0,a]),a=a.mid;else break}if(!!a){if(t?(a.left=void 0,a.mid=void 0,a.right=void 0,a.height=1):(a.key=void 0,a.value=void 0),!a.mid&&!a.value)if(a.left&&a.right){const l=this._min(a.right),{key:u,value:d,segment:h}=l;this._delete(l.key,!1),a.key=u,a.value=d,a.segment=h}else{const l=(n=a.left)!==null&&n!==void 0?n:a.right;if(s.length>0){const[u,d]=s[s.length-1];switch(u){case-1:d.left=l;break;case 0:d.mid=l;break;case 1:d.right=l;break}}else this._root=l}for(let l=s.length-1;l>=0;l--){const u=s[l][1];u.updateHeight();const d=u.balanceFactor();if(d>1?(u.right.balanceFactor()>=0||(u.right=u.right.rotateRight()),s[l][1]=u.rotateLeft()):d<-1&&(u.left.balanceFactor()<=0||(u.left=u.left.rotateLeft()),s[l][1]=u.rotateRight()),l>0)switch(s[l-1][0]){case-1:s[l-1][1].left=s[l][1];break;case 1:s[l-1][1].right=s[l][1];break;case 0:s[l-1][1].mid=s[l][1];break}else this._root=s[0][1]}}}_min(e){for(;e.left;)e=e.left;return e}findSubstr(e){const t=this._iter.reset(e);let n=this._root,i;for(;n;){const s=t.cmp(n.segment);if(s>0)n=n.left;else if(s<0)n=n.right;else if(t.hasNext())t.next(),i=n.value||i,n=n.mid;else break}return n&&n.value||i}findSuperstr(e){const t=this._iter.reset(e);let n=this._root;for(;n;){const i=t.cmp(n.segment);if(i>0)n=n.left;else if(i<0)n=n.right;else if(t.hasNext())t.next(),n=n.mid;else return n.mid?this._entries(n.mid):void 0}}forEach(e){for(const[t,n]of this)e(n,t)}*[Symbol.iterator](){yield*this._entries(this._root)}*_entries(e){!e||(e.left&&(yield*this._entries(e.left)),e.value&&(yield[e.key,e.value]),e.mid&&(yield*this._entries(e.mid)),e.right&&(yield*this._entries(e.right)))}}class C8e{constructor(e,t){this.uri=e,this.value=t}}class hf{constructor(e,t){this[Yse]=\"ResourceMap\",e instanceof hf?(this.map=new Map(e.map),this.toKey=t!=null?t:hf.defaultToKey):(this.map=new Map,this.toKey=e!=null?e:hf.defaultToKey)}set(e,t){return this.map.set(this.toKey(e),new C8e(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!=\"undefined\"&&(e=e.bind(t));for(let[n,i]of this.map)e(i.value,i.uri,this)}*values(){for(let e of this.map.values())yield e.value}*keys(){for(let e of this.map.values())yield e.uri}*entries(){for(let e of this.map.values())yield[e.uri,e.value]}*[(Yse=Symbol.toStringTag,Symbol.iterator)](){for(let[,e]of this.map)yield[e.uri,e.value]}}hf.defaultToKey=o=>o.toString();class D8e{constructor(){this[Xse]=\"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 n=this._map.get(e);if(!!n)return t!==0&&this.touch(n,t),n.value}set(e,t,n=0){let i=this._map.get(e);if(i)i.value=t,n!==0&&this.touch(i,n);else{switch(i={key:e,value:t,next:void 0,previous:void 0},n){case 0:this.addItemLast(i);break;case 1:this.addItemFirst(i);break;case 2:this.addItemLast(i);break;default:this.addItemLast(i);break}this._map.set(e,i),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 n=this._state;let i=this._head;for(;i;){if(t?e.bind(t)(i.value,i.key,this):e(i.value,i.key,this),this._state!==n)throw new Error(\"LinkedMap got modified during iteration.\");i=i.next}}keys(){const e=this,t=this._state;let n=this._head;const i={[Symbol.iterator](){return i},next(){if(e._state!==t)throw new Error(\"LinkedMap got modified during iteration.\");if(n){const s={value:n.key,done:!1};return n=n.next,s}else return{value:void 0,done:!0}}};return i}values(){const e=this,t=this._state;let n=this._head;const i={[Symbol.iterator](){return i},next(){if(e._state!==t)throw new Error(\"LinkedMap got modified during iteration.\");if(n){const s={value:n.value,done:!1};return n=n.next,s}else return{value:void 0,done:!0}}};return i}entries(){const e=this,t=this._state;let n=this._head;const i={[Symbol.iterator](){return i},next(){if(e._state!==t)throw new Error(\"LinkedMap got modified during iteration.\");if(n){const s={value:[n.key,n.value],done:!1};return n=n.next,s}else return{value:void 0,done:!0}}};return i}[(Xse=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(e===0){this.clear();return}let t=this._head,n=this.size;for(;t&&n>e;)this._map.delete(t.key),t=t.next,n--;this._head=t,this._size=n,t&&(t.previous=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,n=e.previous;if(!t||!n)throw new Error(\"Invalid list\");t.previous=n,n.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 n=e.next,i=e.previous;e===this._tail?(i.next=void 0,this._tail=i):(n.previous=i,i.next=n),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 n=e.next,i=e.previous;e===this._head?(n.previous=void 0,this._head=n):(n.previous=i,i.next=n),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){const e=[];return this.forEach((t,n)=>{e.push([n,t])}),e}fromJSON(e){this.clear();for(const[t,n]of e)this.set(t,n)}}class DC extends D8e{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}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}function s_(o,e,t){return Math.min(Math.max(o,e),t)}class Ode{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 w8e{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}}var S8e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},x8e=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};const jg=zl(\"ILanguageFeatureDebounceService\");var A7;(function(o){const e=new WeakMap;let t=0;function n(i){let s=e.get(i);return s===void 0&&(s=++t,e.set(i,s)),s}o.of=n})(A7||(A7={}));class E8e{constructor(e,t,n,i,s,a){this._logService=e,this._name=t,this._registry=n,this._default=i,this._min=s,this._max=a,this._cache=new DC(50,.7)}_key(e){return e.id+this._registry.all(e).reduce((t,n)=>EP(A7.of(n),t),0)}get(e){const t=this._key(e),n=this._cache.get(t);return n?s_(n.value,this._min,this._max):this.default()}update(e,t){const n=this._key(e);let i=this._cache.get(n);i||(i=new w8e(6),this._cache.set(n,i));const s=s_(i.update(t),this._min,this._max);return this._logService.trace(`[DEBOUNCE: ${this._name}] for ${e.uri.toString()} is ${s}ms`),s}_overall(){const e=new Ode;for(const[,t]of this._cache)e.update(t.value);return e.value}default(){const e=this._overall()|0||this._default;return s_(e,this._min,this._max)}}let Gz=class{constructor(e){this._logService=e,this._data=new Map}for(e,t,n){var i,s,a;const l=(i=n==null?void 0:n.min)!==null&&i!==void 0?i:50,u=(s=n==null?void 0:n.max)!==null&&s!==void 0?s:Math.pow(l,2),d=(a=n==null?void 0:n.key)!==null&&a!==void 0?a:void 0,h=`${A7.of(e)},${l}${d?\",\"+d:\"\"}`;let p=this._data.get(h);return p||(p=new E8e(this._logService,t,e,this._overallAverage()|0||l*1.5,l,u),this._data.set(h,p)),p}_overallAverage(){let e=new Ode;for(let t of this._data.values())e.update(t.default());return e.value}};Gz=S8e([x8e(0,km)],Gz);su(jg,Gz,!0);const YG=zl(\"IWorkspaceEditService\");function T8e(o){return Mf(o)&&(Boolean(o.newUri)||Boolean(o.oldUri))}function A8e(o){return Mf(o)&&wa.isUri(o.resource)&&Mf(o.edit)}class r9{constructor(e){this.metadata=e}static convert(e){return e.edits.map(t=>{if(A8e(t))return new Mde(t.resource,t.edit,t.modelVersionId,t.metadata);if(T8e(t))return new k8e(t.oldUri,t.newUri,t.options,t.metadata);throw new Error(\"Unsupported edit\")})}}class Mde extends r9{constructor(e,t,n,i){super(i),this.resource=e,this.textEdit=t,this.versionId=n}}class k8e extends r9{constructor(e,t,n,i){super(i),this.oldResource=e,this.newResource=t,this.options=n}}const L8e=Object.freeze({id:\"editor\",order:5,type:\"object\",title:w(\"editorConfigurationTitle\",\"Editor\"),scope:5}),k7=Object.assign(Object.assign({},L8e),{properties:{\"editor.tabSize\":{type:\"number\",default:Op.tabSize,minimum:1,markdownDescription:w(\"tabSize\",\"The number of spaces a tab is equal to. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.\")},\"editor.insertSpaces\":{type:\"boolean\",default:Op.insertSpaces,markdownDescription:w(\"insertSpaces\",\"Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.\")},\"editor.detectIndentation\":{type:\"boolean\",default:Op.detectIndentation,markdownDescription:w(\"detectIndentation\",\"Controls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents.\")},\"editor.trimAutoWhitespace\":{type:\"boolean\",default:Op.trimAutoWhitespace,description:w(\"trimAutoWhitespace\",\"Remove trailing auto inserted whitespace.\")},\"editor.largeFileOptimizations\":{type:\"boolean\",default:Op.largeFileOptimizations,description:w(\"largeFileOptimizations\",\"Special handling for large files to disable certain memory intensive features.\")},\"editor.wordBasedSuggestions\":{type:\"boolean\",default:!0,description:w(\"wordBasedSuggestions\",\"Controls whether completions should be computed based on words in the document.\")},\"editor.wordBasedSuggestionsMode\":{enum:[\"currentDocument\",\"matchingDocuments\",\"allDocuments\"],default:\"matchingDocuments\",enumDescriptions:[w(\"wordBasedSuggestionsMode.currentDocument\",\"Only suggest words from the active document.\"),w(\"wordBasedSuggestionsMode.matchingDocuments\",\"Suggest words from all open documents of the same language.\"),w(\"wordBasedSuggestionsMode.allDocuments\",\"Suggest words from all open documents.\")],description:w(\"wordBasedSuggestionsMode\",\"Controls from which documents word based completions are computed.\")},\"editor.semanticHighlighting.enabled\":{enum:[!0,!1,\"configuredByTheme\"],enumDescriptions:[w(\"semanticHighlighting.true\",\"Semantic highlighting enabled for all color themes.\"),w(\"semanticHighlighting.false\",\"Semantic highlighting disabled for all color themes.\"),w(\"semanticHighlighting.configuredByTheme\",\"Semantic highlighting is configured by the current color theme's `semanticHighlighting` setting.\")],default:\"configuredByTheme\",description:w(\"semanticHighlighting.enabled\",\"Controls whether the semanticHighlighting is shown for the languages that support it.\")},\"editor.stablePeek\":{type:\"boolean\",default:!1,markdownDescription:w(\"stablePeek\",\"Keep peek editors open even when double clicking their content or when hitting `Escape`.\")},\"editor.maxTokenizationLineLength\":{type:\"integer\",default:2e4,description:w(\"maxTokenizationLineLength\",\"Lines above this length will not be tokenized for performance reasons\")},\"editor.language.brackets\":{type:\"array\",default:!1,description:w(\"schema.brackets\",\"Defines the bracket symbols that increase or decrease the indentation.\"),items:{type:\"array\",items:[{type:\"string\",description:w(\"schema.openBracket\",\"The opening bracket character or string sequence.\")},{type:\"string\",description:w(\"schema.closeBracket\",\"The closing bracket character or string sequence.\")}]}},\"editor.language.colorizedBracketPairs\":{type:\"array\",default:!1,description:w(\"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:w(\"schema.openBracket\",\"The opening bracket character or string sequence.\")},{type:\"string\",description:w(\"schema.closeBracket\",\"The closing bracket character or string sequence.\")}]}},\"diffEditor.maxComputationTime\":{type:\"number\",default:5e3,description:w(\"maxComputationTime\",\"Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.\")},\"diffEditor.maxFileSize\":{type:\"number\",default:50,description:w(\"maxFileSize\",\"Maximum file size in MB for which to compute diffs. Use 0 for no limit.\")},\"diffEditor.renderSideBySide\":{type:\"boolean\",default:!0,description:w(\"sideBySide\",\"Controls whether the diff editor shows the diff side by side or inline.\")},\"diffEditor.ignoreTrimWhitespace\":{type:\"boolean\",default:!0,description:w(\"ignoreTrimWhitespace\",\"When enabled, the diff editor ignores changes in leading or trailing whitespace.\")},\"diffEditor.renderIndicators\":{type:\"boolean\",default:!0,description:w(\"renderIndicators\",\"Controls whether the diff editor shows +/- indicators for added/removed changes.\")},\"diffEditor.codeLens\":{type:\"boolean\",default:!1,description:w(\"codeLens\",\"Controls whether the editor shows CodeLens.\")},\"diffEditor.wordWrap\":{type:\"string\",enum:[\"off\",\"on\",\"inherit\"],default:\"inherit\",markdownEnumDescriptions:[w(\"wordWrap.off\",\"Lines will never wrap.\"),w(\"wordWrap.on\",\"Lines will wrap at the viewport width.\"),w(\"wordWrap.inherit\",\"Lines will wrap according to the `#editor.wordWrap#` setting.\")]}}});function N8e(o){return typeof o.type!=\"undefined\"||typeof o.anyOf!=\"undefined\"}for(const o of _x){const e=o.schema;if(typeof e!=\"undefined\")if(N8e(e))k7.properties[`editor.${o.name}`]=e;else for(const t in e)Object.hasOwnProperty.call(e,t)&&(k7.properties[t]=e[t])}let h5=null;function Rde(){return h5===null&&(h5=Object.create(null),Object.keys(k7.properties).forEach(o=>{h5[o]=!0})),h5}function I8e(o){return Rde()[`editor.${o}`]||!1}function F8e(o){return Rde()[`diffEditor.${o}`]||!1}const P8e=wd.as(pw.Configuration);P8e.registerConfiguration(k7);class Yc{static insert(e,t){return{range:new He(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}}}class yg{constructor(e={},t=[],n=[]){this._contents=e,this._keys=t,this._overrides=n,this.isFrozen=!1,this.overrideConfigurations=new Map}get contents(){return this.checkAndFreeze(this._contents)}get overrides(){return this.checkAndFreeze(this._overrides)}get keys(){return this.checkAndFreeze(this._keys)}isEmpty(){return this._keys.length===0&&Object.keys(this._contents).length===0&&this._overrides.length===0}getValue(e){return e?Jie(this.contents,e):this.contents}getOverrideValue(e,t){const n=this.getContentsForOverrideIdentifer(t);return n?e?Jie(n,e):n:void 0}override(e){let t=this.overrideConfigurations.get(e);return t||(t=this.createOverrideConfigurationModel(e),this.overrideConfigurations.set(e,t)),t}merge(...e){const t=tb(this.contents),n=tb(this.overrides),i=[...this.keys];for(const s of e){this.mergeContents(t,s.contents);for(const a of s.overrides){const[l]=n.filter(u=>K_(u.identifiers,a.identifiers));l?(this.mergeContents(l.contents,a.contents),l.keys.push(...a.keys),l.keys=Xv(l.keys)):n.push(tb(a))}for(const a of s.keys)i.indexOf(a)===-1&&i.push(a)}return new yg(t,i,n)}freeze(){return this.isFrozen=!0,this}createOverrideConfigurationModel(e){const t=this.getContentsForOverrideIdentifer(e);if(!t||typeof t!=\"object\"||!Object.keys(t).length)return this;let n={};for(const i of Xv([...Object.keys(this.contents),...Object.keys(t)])){let s=this.contents[i],a=t[i];a&&(typeof s==\"object\"&&typeof a==\"object\"?(s=tb(s),this.mergeContents(s,a)):s=a),n[i]=s}return new yg(n,this.keys,this.overrides)}mergeContents(e,t){for(const n of Object.keys(t)){if(n in e&&Mf(e[n])&&Mf(t[n])){this.mergeContents(e[n],t[n]);continue}e[n]=tb(t[n])}}checkAndFreeze(e){return this.isFrozen&&!Object.isFrozen(e)?WEe(e):e}getContentsForOverrideIdentifer(e){let t=null,n=null;const i=s=>{s&&(n?this.mergeContents(n,s):n=tb(s))};for(const s of this.overrides)K_(s.identifiers,[e])?t=s.contents:s.identifiers.includes(e)&&i(s.contents);return i(t),n}toJSON(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}}setValue(e,t){this.addKey(e),Uq(this.contents,e,t,n=>{throw new Error(n)})}removeValue(e){this.removeKey(e)&&XAe(this.contents,e)}addKey(e){let t=this.keys.length;for(let n=0;n<t;n++)e.indexOf(this.keys[n])===0&&(t=n);this.keys.splice(t,1,e)}removeKey(e){let t=this.keys.indexOf(e);return t!==-1?(this.keys.splice(t,1),!0):!1}}class O8e extends yg{constructor(e={}){const t=wd.as(pw.Configuration).getConfigurationProperties(),n=Object.keys(t),i=Object.create(null),s=[];for(const a in t){const l=e[a],u=l!==void 0?l:t[a].default;Uq(i,a,u,d=>console.error(`Conflict in default settings: ${d}`))}for(const a of Object.keys(i))rL.test(a)&&s.push({identifiers:Qce(a),keys:Object.keys(i[a]),contents:_ue(i[a],l=>console.error(`Conflict in default settings file: ${l}`))});super(i,n,s)}}class s9{constructor(e,t,n=new yg,i=new yg,s=new hf,a=new yg,l=new hf,u=!0){this._defaultConfiguration=e,this._localUserConfiguration=t,this._remoteUserConfiguration=n,this._workspaceConfiguration=i,this._folderConfigurations=s,this._memoryConfiguration=a,this._memoryConfigurationByResource=l,this._freeze=u,this._workspaceConsolidatedConfiguration=null,this._foldersConsolidatedConfigurations=new hf,this._userConfiguration=null}getValue(e,t,n){return this.getConsolidateConfigurationModel(t,n).getValue(e)}updateValue(e,t,n={}){let i;n.resource?(i=this._memoryConfigurationByResource.get(n.resource),i||(i=new yg,this._memoryConfigurationByResource.set(n.resource,i))):i=this._memoryConfiguration,t===void 0?i.removeValue(e):i.setValue(e,t),n.resource||(this._workspaceConsolidatedConfiguration=null)}inspect(e,t,n){const i=this.getConsolidateConfigurationModel(t,n),s=this.getFolderConfigurationModelForResource(t.resource,n),a=t.resource?this._memoryConfigurationByResource.get(t.resource)||this._memoryConfiguration:this._memoryConfiguration,l=t.overrideIdentifier?this._defaultConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this._defaultConfiguration.freeze().getValue(e),u=t.overrideIdentifier?this.userConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this.userConfiguration.freeze().getValue(e),d=t.overrideIdentifier?this.localUserConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this.localUserConfiguration.freeze().getValue(e),h=t.overrideIdentifier?this.remoteUserConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this.remoteUserConfiguration.freeze().getValue(e),p=n?t.overrideIdentifier?this._workspaceConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this._workspaceConfiguration.freeze().getValue(e):void 0,g=s?t.overrideIdentifier?s.freeze().override(t.overrideIdentifier).getValue(e):s.freeze().getValue(e):void 0,y=t.overrideIdentifier?a.override(t.overrideIdentifier).getValue(e):a.getValue(e),D=i.getValue(e),T=Xv(bq(i.overrides.map(k=>k.identifiers))).filter(k=>i.getOverrideValue(e,k)!==void 0);return{defaultValue:l,userValue:u,userLocalValue:d,userRemoteValue:h,workspaceValue:p,workspaceFolderValue:g,memoryValue:y,value:D,default:l!==void 0?{value:this._defaultConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this._defaultConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,user:u!==void 0?{value:this.userConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this.userConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,userLocal:d!==void 0?{value:this.localUserConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this.localUserConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,userRemote:h!==void 0?{value:this.remoteUserConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this.remoteUserConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,workspace:p!==void 0?{value:this._workspaceConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this._workspaceConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,workspaceFolder:g!==void 0?{value:s==null?void 0:s.freeze().getValue(e),override:t.overrideIdentifier?s==null?void 0:s.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,memory:y!==void 0?{value:a.getValue(e),override:t.overrideIdentifier?a.getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,overrideIdentifiers:T.length?T:void 0}}get userConfiguration(){return this._userConfiguration||(this._userConfiguration=this._remoteUserConfiguration.isEmpty()?this._localUserConfiguration:this._localUserConfiguration.merge(this._remoteUserConfiguration),this._freeze&&this._userConfiguration.freeze()),this._userConfiguration}get localUserConfiguration(){return this._localUserConfiguration}get remoteUserConfiguration(){return this._remoteUserConfiguration}getConsolidateConfigurationModel(e,t){let n=this.getConsolidatedConfigurationModelForResource(e,t);return e.overrideIdentifier?n.override(e.overrideIdentifier):n}getConsolidatedConfigurationModelForResource({resource:e},t){let n=this.getWorkspaceConsolidatedConfiguration();if(t&&e){const i=t.getFolder(e);i&&(n=this.getFolderConsolidatedConfiguration(i.uri)||n);const s=this._memoryConfigurationByResource.get(e);s&&(n=n.merge(s))}return n}getWorkspaceConsolidatedConfiguration(){return this._workspaceConsolidatedConfiguration||(this._workspaceConsolidatedConfiguration=this._defaultConfiguration.merge(this.userConfiguration,this._workspaceConfiguration,this._memoryConfiguration),this._freeze&&(this._workspaceConfiguration=this._workspaceConfiguration.freeze())),this._workspaceConsolidatedConfiguration}getFolderConsolidatedConfiguration(e){let t=this._foldersConsolidatedConfigurations.get(e);if(!t){const n=this.getWorkspaceConsolidatedConfiguration(),i=this._folderConfigurations.get(e);i?(t=n.merge(i),this._freeze&&(t=t.freeze()),this._foldersConsolidatedConfigurations.set(e,t)):t=n}return t}getFolderConfigurationModelForResource(e,t){if(t&&e){const n=t.getFolder(e);if(n)return this._folderConfigurations.get(n.uri)}}toData(){return{defaults:{contents:this._defaultConfiguration.contents,overrides:this._defaultConfiguration.overrides,keys:this._defaultConfiguration.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:n,overrides:i,keys:s}=this._folderConfigurations.get(t);return e.push([t,{contents:n,overrides:i,keys:s}]),e},[])}}static parse(e){const t=this.parseConfigurationModel(e.defaults),n=this.parseConfigurationModel(e.user),i=this.parseConfigurationModel(e.workspace),s=e.folders.reduce((a,l)=>(a.set(wa.revive(l[0]),this.parseConfigurationModel(l[1])),a),new hf);return new s9(t,n,new yg,i,s,new yg,new hf,!1)}static parseConfigurationModel(e){return new yg(e.contents,e.keys,e.overrides).freeze()}}class M8e{constructor(e,t,n,i){this.change=e,this.previous=t,this.currentConfiguraiton=n,this.currentWorkspace=i,this._previousConfiguration=void 0;const s=new Set;e.keys.forEach(l=>s.add(l)),e.overrides.forEach(([,l])=>l.forEach(u=>s.add(u))),this.affectedKeys=[...s.values()];const a=new yg;this.affectedKeys.forEach(l=>a.setValue(l,{})),this.affectedKeysTree=a.contents}get previousConfiguration(){return!this._previousConfiguration&&this.previous&&(this._previousConfiguration=s9.parse(this.previous.data)),this._previousConfiguration}affectsConfiguration(e,t){var n;if(this.doesAffectedKeysTreeContains(this.affectedKeysTree,e)){if(t){const i=this.previousConfiguration?this.previousConfiguration.getValue(e,t,(n=this.previous)===null||n===void 0?void 0:n.workspace):void 0,s=this.currentConfiguraiton.getValue(e,t,this.currentWorkspace);return!Eg(i,s)}return!0}return!1}doesAffectedKeysTreeContains(e,t){let n=_ue({[t]:!0},()=>{}),i;for(;typeof n==\"object\"&&(i=Object.keys(n)[0]);){if(e=e[i],!e)return!1;n=n[i]}return!0}}const R8e=/^(cursor|delete)/;class B8e extends fr{constructor(e,t,n,i,s){super(),this._contextKeyService=e,this._commandService=t,this._telemetryService=n,this._notificationService=i,this._logService=s,this._onDidUpdateKeybindings=this._register(new ri),this._currentChord=null,this._currentChordChecker=new e4,this._currentChordStatusMessage=null,this._ignoreSingleModifiers=xx.EMPTY,this._currentSingleModifier=null,this._currentSingleModifierClearTimeout=new g_,this._logging=!1}get onDidUpdateKeybindings(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:Xo.None}dispose(){super.dispose()}_log(e){this._logging&&this._logService.info(`[KeybindingService]: ${e}`)}getKeybindings(){return this._getResolver().getKeybindings()}lookupKeybinding(e,t){const n=this._getResolver().lookupPrimaryKeybinding(e,t||this._contextKeyService);if(!!n)return n.resolvedKeybinding}dispatchEvent(e,t){return this._dispatch(e,t)}softDispatch(e,t){const n=this.resolveKeyboardEvent(e);if(n.isChord())return console.warn(\"Unexpected keyboard event mapped to a chord\"),null;const[i]=n.getDispatchParts();if(i===null)return null;const s=this._contextKeyService.getContext(t),a=this._currentChord?this._currentChord.keypress:null;return this._getResolver().resolve(s,a,i)}_enterChordMode(e,t){this._currentChord={keypress:e,label:t},this._currentChordStatusMessage=this._notificationService.status(w(\"first.chord\",\"({0}) was pressed. Waiting for second key of chord...\",t));const n=Date.now();this._currentChordChecker.cancelAndSet(()=>{if(!this._documentHasFocus()){this._leaveChordMode();return}Date.now()-n>5e3&&this._leaveChordMode()},500)}_leaveChordMode(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChord=null}_dispatch(e,t){return this._doDispatch(this.resolveKeyboardEvent(e),t,!1)}_singleModifierDispatch(e,t){const n=this.resolveKeyboardEvent(e),[i]=n.getSingleModifierDispatchParts();if(i)return this._ignoreSingleModifiers.has(i)?(this._log(`+ Ignoring single modifier ${i} due to it being pressed together with other keys.`),this._ignoreSingleModifiers=xx.EMPTY,this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1):(this._ignoreSingleModifiers=xx.EMPTY,this._currentSingleModifier===null?(this._log(`+ Storing single modifier for possible chord ${i}.`),this._currentSingleModifier=i,this._currentSingleModifierClearTimeout.cancelAndSet(()=>{this._log(\"+ Clearing single modifier due to 300ms elapsed.\"),this._currentSingleModifier=null},300),!1):i===this._currentSingleModifier?(this._log(`/ Dispatching single modifier chord ${i} ${i}`),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,this._doDispatch(n,t,!0)):(this._log(`+ Clearing single modifier due to modifier mismatch: ${this._currentSingleModifier} ${i}`),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1));const[s]=n.getParts();return this._ignoreSingleModifiers=new xx(s),this._currentSingleModifier!==null&&this._log(\"+ Clearing single modifier due to other key up.\"),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1}_doDispatch(e,t,n=!1){let i=!1;if(e.isChord())return console.warn(\"Unexpected keyboard event mapped to a chord\"),!1;let s=null,a=null;if(n){const[h]=e.getSingleModifierDispatchParts();s=h,a=h}else[s]=e.getDispatchParts(),a=this._currentChord?this._currentChord.keypress:null;if(s===null)return this._log(\"\\\\ Keyboard event cannot be dispatched in keydown phase.\"),i;const l=this._contextKeyService.getContext(t),u=e.getLabel(),d=this._getResolver().resolve(l,a,s);return this._logService.trace(\"KeybindingService#dispatch\",u,d==null?void 0:d.commandId),d&&d.enterChord?(i=!0,this._enterChordMode(s,u),i):(this._currentChord&&(!d||!d.commandId)&&(this._notificationService.status(w(\"missing.chord\",\"The key combination ({0}, {1}) is not a command.\",this._currentChord.label,u),{hideAfter:10*1e3}),i=!0),this._leaveChordMode(),d&&d.commandId&&(d.bubble||(i=!0),typeof d.commandArgs==\"undefined\"?this._commandService.executeCommand(d.commandId).then(void 0,h=>this._notificationService.warn(h)):this._commandService.executeCommand(d.commandId,d.commandArgs).then(void 0,h=>this._notificationService.warn(h)),R8e.test(d.commandId)||this._telemetryService.publicLog2(\"workbenchActionExecuted\",{id:d.commandId,from:\"keybinding\"})),i)}mightProducePrintableCharacter(e){return e.ctrlKey||e.metaKey?!1:e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30}}class xx{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}}}xx.EMPTY=new xx(null);const Xc=zl(\"keybindingService\");class D3{constructor(e,t,n){this._log=n,this._defaultKeybindings=e,this._defaultBoundCommands=new Map;for(const i of e){const s=i.command;s&&s.charAt(0)!==\"-\"&&this._defaultBoundCommands.set(s,!0)}this._map=new Map,this._lookupMap=new Map,this._keybindings=D3.handleRemovals([].concat(e).concat(t));for(let i=0,s=this._keybindings.length;i<s;i++){let a=this._keybindings[i];a.keypressParts.length!==0&&(a.when&&a.when.type===0||this._addKeyPress(a.keypressParts[0],a))}}static _isTargetedForRemoval(e,t,n,i){return!(t&&e.keypressParts[0]!==t||n&&e.keypressParts[1]!==n||i&&(!e.when||!Z3e(i,e.when)))}static handleRemovals(e){const t=new Map;for(let i=0,s=e.length;i<s;i++){const a=e[i];if(a.command&&a.command.charAt(0)===\"-\"){const l=a.command.substring(1);t.has(l)?t.get(l).push(a):t.set(l,[a])}}if(t.size===0)return e;const n=[];for(let i=0,s=e.length;i<s;i++){const a=e[i];if(!a.command||a.command.length===0){n.push(a);continue}if(a.command.charAt(0)===\"-\")continue;const l=t.get(a.command);if(!l||!a.isDefault){n.push(a);continue}let u=!1;for(const d of l){const h=d.keypressParts[0],p=d.keypressParts[1],g=d.when;if(this._isTargetedForRemoval(a,h,p,g)){u=!0;break}}if(!u){n.push(a);continue}}return n}_addKeyPress(e,t){const n=this._map.get(e);if(typeof n==\"undefined\"){this._map.set(e,[t]),this._addToLookupMap(t);return}for(let i=n.length-1;i>=0;i--){let s=n[i];if(s.command===t.command)continue;const a=s.keypressParts.length>1,l=t.keypressParts.length>1;a&&l&&s.keypressParts[1]!==t.keypressParts[1]||D3.whenIsEntirelyIncluded(s.when,t.when)&&this._removeFromLookupMap(s)}n.push(t),this._addToLookupMap(t)}_addToLookupMap(e){if(!e.command)return;let t=this._lookupMap.get(e.command);typeof t==\"undefined\"?(t=[e],this._lookupMap.set(e.command,t)):t.push(e)}_removeFromLookupMap(e){if(!e.command)return;let t=this._lookupMap.get(e.command);if(typeof t!=\"undefined\"){for(let n=0,i=t.length;n<i;n++)if(t[n]===e){t.splice(n,1);return}}}static whenIsEntirelyIncluded(e,t){return!t||t.type===1?!0:!e||e.type===1?!1:Yue(e,t)}getKeybindings(){return this._keybindings}lookupPrimaryKeybinding(e,t){const n=this._lookupMap.get(e);if(typeof n==\"undefined\"||n.length===0)return null;if(n.length===1)return n[0];for(let i=n.length-1;i>=0;i--){const s=n[i];if(t.contextMatchesRules(s.when))return s}return n[n.length-1]}resolve(e,t,n){this._log(`| Resolving ${n}${t?` chorded from ${t}`:\"\"}`);let i=null;if(t!==null){const a=this._map.get(t);if(typeof a==\"undefined\")return this._log(\"\\\\ No keybinding entries.\"),null;i=[];for(let l=0,u=a.length;l<u;l++){let d=a[l];d.keypressParts[1]===n&&i.push(d)}}else{const a=this._map.get(n);if(typeof a==\"undefined\")return this._log(\"\\\\ No keybinding entries.\"),null;i=a}let s=this._findCommand(e,i);return s?t===null&&s.keypressParts.length>1&&s.keypressParts[1]!==null?(this._log(`\\\\ From ${i.length} keybinding entries, matched chord, when: ${Qse(s.when)}, source: ${Zse(s)}.`),{enterChord:!0,leaveChord:!1,commandId:null,commandArgs:null,bubble:!1}):(this._log(`\\\\ From ${i.length} keybinding entries, matched ${s.command}, when: ${Qse(s.when)}, source: ${Zse(s)}.`),{enterChord:!1,leaveChord:s.keypressParts.length>1,commandId:s.command,commandArgs:s.commandArgs,bubble:s.bubble}):(this._log(`\\\\ From ${i.length} keybinding entries, no when clauses matched the context.`),null)}_findCommand(e,t){for(let n=t.length-1;n>=0;n--){let i=t[n];if(!!D3._contextMatchesRules(e,i.when))return i}return null}static _contextMatchesRules(e,t){return t?t.evaluate(e):!0}}function Qse(o){return o?`${o.serialize()}`:\"no when condition\"}function Zse(o){return o.extensionId?o.isBuiltinExtension?`built-in extension ${o.extensionId}`:`user extension ${o.extensionId}`:o.isDefault?\"built-in\":\"user\"}class eoe{constructor(e,t,n,i,s,a,l){this._resolvedKeybindingItemBrand=void 0,this.resolvedKeybinding=e,this.keypressParts=e?Jz(e.getDispatchParts()):[],e&&this.keypressParts.length===0&&(this.keypressParts=Jz(e.getSingleModifierDispatchParts())),this.bubble=t?t.charCodeAt(0)===94:!1,this.command=this.bubble?t.substr(1):t,this.commandArgs=n,this.when=i,this.isDefault=s,this.extensionId=a,this.isBuiltinExtension=l}}function Jz(o){let e=[];for(let t=0,n=o.length;t<n;t++){const i=o[t];if(!i)return e;e.push(i)}return e}class o9{constructor(e,t,n=t){this.modifierLabels=[null],this.modifierLabels[2]=e,this.modifierLabels[1]=t,this.modifierLabels[3]=n}toLabel(e,t,n){if(t.length===0)return null;const i=[];for(let s=0,a=t.length;s<a;s++){const l=t[s],u=n(l);if(u===null)return null;i[s]=V8e(l,u,this.modifierLabels[e])}return i.join(\" \")}}const XG=new o9({ctrlKey:\"\\u2303\",shiftKey:\"\\u21E7\",altKey:\"\\u2325\",metaKey:\"\\u2318\",separator:\"\"},{ctrlKey:w({key:\"ctrlKey\",comment:[\"This is the short form for the Control key on the keyboard\"]},\"Ctrl\"),shiftKey:w({key:\"shiftKey\",comment:[\"This is the short form for the Shift key on the keyboard\"]},\"Shift\"),altKey:w({key:\"altKey\",comment:[\"This is the short form for the Alt key on the keyboard\"]},\"Alt\"),metaKey:w({key:\"windowsKey\",comment:[\"This is the short form for the Windows key on the keyboard\"]},\"Windows\"),separator:\"+\"},{ctrlKey:w({key:\"ctrlKey\",comment:[\"This is the short form for the Control key on the keyboard\"]},\"Ctrl\"),shiftKey:w({key:\"shiftKey\",comment:[\"This is the short form for the Shift key on the keyboard\"]},\"Shift\"),altKey:w({key:\"altKey\",comment:[\"This is the short form for the Alt key on the keyboard\"]},\"Alt\"),metaKey:w({key:\"superKey\",comment:[\"This is the short form for the Super key on the keyboard\"]},\"Super\"),separator:\"+\"}),j8e=new o9({ctrlKey:w({key:\"ctrlKey.long\",comment:[\"This is the long form for the Control key on the keyboard\"]},\"Control\"),shiftKey:w({key:\"shiftKey.long\",comment:[\"This is the long form for the Shift key on the keyboard\"]},\"Shift\"),altKey:w({key:\"optKey.long\",comment:[\"This is the long form for the Alt/Option key on the keyboard\"]},\"Option\"),metaKey:w({key:\"cmdKey.long\",comment:[\"This is the long form for the Command key on the keyboard\"]},\"Command\"),separator:\"+\"},{ctrlKey:w({key:\"ctrlKey.long\",comment:[\"This is the long form for the Control key on the keyboard\"]},\"Control\"),shiftKey:w({key:\"shiftKey.long\",comment:[\"This is the long form for the Shift key on the keyboard\"]},\"Shift\"),altKey:w({key:\"altKey.long\",comment:[\"This is the long form for the Alt key on the keyboard\"]},\"Alt\"),metaKey:w({key:\"windowsKey.long\",comment:[\"This is the long form for the Windows key on the keyboard\"]},\"Windows\"),separator:\"+\"},{ctrlKey:w({key:\"ctrlKey.long\",comment:[\"This is the long form for the Control key on the keyboard\"]},\"Control\"),shiftKey:w({key:\"shiftKey.long\",comment:[\"This is the long form for the Shift key on the keyboard\"]},\"Shift\"),altKey:w({key:\"altKey.long\",comment:[\"This is the long form for the Alt key on the keyboard\"]},\"Alt\"),metaKey:w({key:\"superKey.long\",comment:[\"This is the long form for the Super key on the keyboard\"]},\"Super\"),separator:\"+\"}),W8e=new o9({ctrlKey:\"Ctrl\",shiftKey:\"Shift\",altKey:\"Alt\",metaKey:\"Cmd\",separator:\"+\"},{ctrlKey:\"Ctrl\",shiftKey:\"Shift\",altKey:\"Alt\",metaKey:\"Super\",separator:\"+\"});new o9({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 V8e(o,e,t){if(e===null)return\"\";const n=[];return o.ctrlKey&&n.push(t.ctrlKey),o.shiftKey&&n.push(t.shiftKey),o.altKey&&n.push(t.altKey),o.metaKey&&n.push(t.metaKey),e!==\"\"&&n.push(e),n.join(t.separator)}class H8e extends x3e{constructor(e,t){if(super(),t.length===0)throw f0(\"parts\");this._os=e,this._parts=t}getLabel(){return XG.toLabel(this._os,this._parts,e=>this._getLabel(e))}getAriaLabel(){return j8e.toLabel(this._os,this._parts,e=>this._getAriaLabel(e))}getElectronAccelerator(){return this._parts.length>1||this._parts[0].isDuplicateModifierCase()?null:W8e.toLabel(this._os,this._parts,e=>this._getElectronAccelerator(e))}isChord(){return this._parts.length>1}getParts(){return this._parts.map(e=>this._getPart(e))}_getPart(e){return new S3e(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,this._getLabel(e),this._getAriaLabel(e))}getDispatchParts(){return this._parts.map(e=>this._getDispatchPart(e))}getSingleModifierDispatchParts(){return this._parts.map(e=>this._getSingleModifierDispatchPart(e))}}class hL extends H8e{constructor(e,t){super(t,e.parts)}_keyCodeToUILabel(e){if(this._os===2)switch(e){case 15:return\"\\u2190\";case 16:return\"\\u2191\";case 17:return\"\\u2192\";case 18:return\"\\u2193\"}return X2.toString(e)}_getLabel(e){return e.isDuplicateModifierCase()?\"\":this._keyCodeToUILabel(e.keyCode)}_getAriaLabel(e){return e.isDuplicateModifierCase()?\"\":X2.toString(e.keyCode)}_getElectronAccelerator(e){return X2.toElectronAccelerator(e.keyCode)}_getDispatchPart(e){return hL.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+=X2.toString(e.keyCode),t}_getSingleModifierDispatchPart(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=Aq[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 83;case 52:return 81;case 53:return 87;case 54:return 89;case 55:return 88;case 56:return 0;case 57:return 80;case 58:return 90;case 59:return 86;case 60:return 82;case 61:return 84;case 62:return 85;case 106:return 92}return 0}static _resolveSimpleUserBinding(e){if(!e)return null;if(e instanceof ED)return e;const t=this._scanCodeToKeyCode(e.scanCode);return t===0?null:new ED(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,t)}static resolveUserBinding(e,t){const n=Jz(e.map(i=>this._resolveSimpleUserBinding(i)));return n.length>0?[new hL(new J8(n),t)]:[]}}const h4=zl(\"labelService\"),Bde=zl(\"contextService\");function toe(o){const e=o;return typeof(e==null?void 0:e.id)==\"string\"&&wa.isUri(e.uri)}function $8e(o){if(o.configuration)return{id:o.id,configPath:o.configuration};if(o.folders.length===1)return{id:o.id,uri:o.folders[0].uri}}class z8e{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 Yz=\"code-workspace\";w(\"codeWorkspace\",\"Code Workspace\");var Ld;(function(o){o.noSelection=w(\"noSelection\",\"No selection\"),o.singleSelectionRange=w(\"singleSelectionRange\",\"Line {0}, Column {1} ({2} selected)\"),o.singleSelection=w(\"singleSelection\",\"Line {0}, Column {1}\"),o.multiSelectionRange=w(\"multiSelectionRange\",\"{0} selections ({1} characters selected)\"),o.multiSelection=w(\"multiSelection\",\"{0} selections\"),o.emergencyConfOn=w(\"emergencyConfOn\",\"Now changing the setting `accessibilitySupport` to 'on'.\"),o.openingDocs=w(\"openingDocs\",\"Now opening the Editor Accessibility documentation page.\"),o.readonlyDiffEditor=w(\"readonlyDiffEditor\",\" in a read-only pane of a diff editor.\"),o.editableDiffEditor=w(\"editableDiffEditor\",\" in a pane of a diff editor.\"),o.readonlyEditor=w(\"readonlyEditor\",\" in a read-only code editor\"),o.editableEditor=w(\"editableEditor\",\" in a code editor\"),o.changeConfigToOnMac=w(\"changeConfigToOnMac\",\"To configure the editor to be optimized for usage with a Screen Reader press Command+E now.\"),o.changeConfigToOnWinLinux=w(\"changeConfigToOnWinLinux\",\"To configure the editor to be optimized for usage with a Screen Reader press Control+E now.\"),o.auto_on=w(\"auto_on\",\"The editor is configured to be optimized for usage with a Screen Reader.\"),o.auto_off=w(\"auto_off\",\"The editor is configured to never be optimized for usage with a Screen Reader, which is not the case at this time.\"),o.tabFocusModeOnMsg=w(\"tabFocusModeOnMsg\",\"Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}.\"),o.tabFocusModeOnMsgNoKb=w(\"tabFocusModeOnMsgNoKb\",\"Pressing Tab in the current editor will move focus to the next focusable element. The command {0} is currently not triggerable by a keybinding.\"),o.tabFocusModeOffMsg=w(\"tabFocusModeOffMsg\",\"Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}.\"),o.tabFocusModeOffMsgNoKb=w(\"tabFocusModeOffMsgNoKb\",\"Pressing Tab in the current editor will insert the tab character. The command {0} is currently not triggerable by a keybinding.\"),o.openDocMac=w(\"openDocMac\",\"Press Command+H now to open a browser window with more information related to editor accessibility.\"),o.openDocWinLinux=w(\"openDocWinLinux\",\"Press Control+H now to open a browser window with more information related to editor accessibility.\"),o.outroMsg=w(\"outroMsg\",\"You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape.\"),o.showAccessibilityHelpAction=w(\"showAccessibilityHelpAction\",\"Show Accessibility Help\")})(Ld||(Ld={}));var Xz;(function(o){o.inspectTokensAction=w(\"inspectTokens\",\"Developer: Inspect Tokens\")})(Xz||(Xz={}));var L7;(function(o){o.gotoLineActionLabel=w(\"gotoLineActionLabel\",\"Go to Line/Column...\")})(L7||(L7={}));var Qz;(function(o){o.helpQuickAccessActionLabel=w(\"helpQuickAccess\",\"Show all Quick Access Providers\")})(Qz||(Qz={}));var N7;(function(o){o.quickCommandActionLabel=w(\"quickCommandActionLabel\",\"Command Palette\"),o.quickCommandHelp=w(\"quickCommandActionHelp\",\"Show And Run Commands\")})(N7||(N7={}));var pL;(function(o){o.quickOutlineActionLabel=w(\"quickOutlineActionLabel\",\"Go to Symbol...\"),o.quickOutlineByCategoryActionLabel=w(\"quickOutlineByCategoryActionLabel\",\"Go to Symbol by Category...\")})(pL||(pL={}));var I7;(function(o){o.editorViewAccessibleLabel=w(\"editorViewAccessibleLabel\",\"Editor content\"),o.accessibilityHelpMessage=w(\"accessibilityHelpMessage\",\"Press Alt+F1 for Accessibility Options.\")})(I7||(I7={}));var Zz;(function(o){o.toggleHighContrast=w(\"toggleHighContrast\",\"Toggle High Contrast Theme\")})(Zz||(Zz={}));var eU;(function(o){o.bulkEditServiceSummary=w(\"bulkEditServiceSummary\",\"Made {0} edits in {1} files\")})(eU||(eU={}));const jde=zl(\"workspaceTrustManagementService\");var fp;(function(o){function e(s,a){if(s.start>=a.end||a.start>=s.end)return{start:0,end:0};const l=Math.max(s.start,a.start),u=Math.min(s.end,a.end);return u-l<=0?{start:0,end:0}:{start:l,end:u}}o.intersect=e;function t(s){return s.end-s.start<=0}o.isEmpty=t;function n(s,a){return!t(e(s,a))}o.intersects=n;function i(s,a){const l=[],u={start:s.start,end:Math.min(a.start,s.end)},d={start:Math.max(a.end,s.start),end:s.end};return t(u)||l.push(u),t(d)||l.push(d),l}o.relativeComplement=i})(fp||(fp={}));var Nv;(function(o){o[o.AVOID=0]=\"AVOID\",o[o.ALIGN=1]=\"ALIGN\"})(Nv||(Nv={}));function Ex(o,e,t){const n=t.mode===Nv.ALIGN?t.offset:t.offset+t.size,i=t.mode===Nv.ALIGN?t.offset+t.size:t.offset;return t.position===0?e<=o-n?n:e<=i?i-e:Math.max(o-e,0):e<=i?i-e:e<=o-n?n:0}class _E extends fr{constructor(e,t){super(),this.container=null,this.delegate=null,this.toDisposeOnClean=fr.None,this.toDisposeOnSetContainer=fr.None,this.shadowRoot=null,this.shadowRootHostElement=null,this.view=ls(\".context-view\"),this.useFixedPosition=!1,this.useShadowDOM=!1,Of(this.view),this.setContainer(e,t),this._register(wl(()=>this.setContainer(null,1)))}setContainer(e,t){var n;if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.shadowRoot?(this.shadowRoot.removeChild(this.view),this.shadowRoot=null,(n=this.shadowRootHostElement)===null||n===void 0||n.remove(),this.shadowRootHostElement=null):this.container.removeChild(this.view),this.container=null),e){if(this.container=e,this.useFixedPosition=t!==1,this.useShadowDOM=t===3,this.useShadowDOM){this.shadowRootHostElement=ls(\".shadow-root-host\"),this.container.appendChild(this.shadowRootHostElement),this.shadowRoot=this.shadowRootHostElement.attachShadow({mode:\"open\"});const s=document.createElement(\"style\");s.textContent=U8e,this.shadowRoot.appendChild(s),this.shadowRoot.appendChild(this.view),this.shadowRoot.appendChild(ls(\"slot\"))}else this.container.appendChild(this.view);const i=new fs;_E.BUBBLE_UP_EVENTS.forEach(s=>{i.add(Fh(this.container,s,a=>{this.onDOMEvent(a,!1)}))}),_E.BUBBLE_DOWN_EVENTS.forEach(s=>{i.add(Fh(this.container,s,a=>{this.onDOMEvent(a,!0)},!0))}),this.toDisposeOnSetContainer=i}}show(e){this.isVisible()&&this.hide(),nh(this.view),this.view.className=\"context-view\",this.view.style.top=\"0px\",this.view.style.left=\"0px\",this.view.style.zIndex=\"2500\",this.view.style.position=this.useFixedPosition?\"fixed\":\"absolute\",W_(this.view),this.toDisposeOnClean=e.render(this.view)||fr.None,this.delegate=e,this.doLayout(),this.delegate.focus&&this.delegate.focus()}getViewElement(){return this.view}layout(){if(!!this.isVisible()){if(this.delegate.canRelayout===!1&&!(m0&&LP.pointerEvents)){this.hide();return}this.delegate.layout&&this.delegate.layout(),this.doLayout()}}doLayout(){if(!this.isVisible())return;let e=this.delegate.getAnchor(),t;if(Uue(e)){let p=Gh(e);t={top:p.top,left:p.left,width:p.width,height:p.height}}else t={top:e.y,left:e.x,width:e.width||1,height:e.height||2};const n=fm(this.view),i=_z(this.view),s=this.delegate.anchorPosition||0,a=this.delegate.anchorAlignment||0,l=this.delegate.anchorAxisAlignment||0;let u,d;if(l===0){const p={offset:t.top-window.pageYOffset,size:t.height,position:s===0?0:1},g={offset:t.left,size:t.width,position:a===0?0:1,mode:Nv.ALIGN};u=Ex(window.innerHeight,i,p)+window.pageYOffset,fp.intersects({start:u,end:u+i},{start:p.offset,end:p.offset+p.size})&&(g.mode=Nv.AVOID),d=Ex(window.innerWidth,n,g)}else{const p={offset:t.left,size:t.width,position:a===0?0:1},g={offset:t.top,size:t.height,position:s===0?0:1,mode:Nv.ALIGN};d=Ex(window.innerWidth,n,p),fp.intersects({start:d,end:d+n},{start:p.offset,end:p.offset+p.size})&&(g.mode=Nv.AVOID),u=Ex(window.innerHeight,i,g)+window.pageYOffset}this.view.classList.remove(\"top\",\"bottom\",\"left\",\"right\"),this.view.classList.add(s===0?\"bottom\":\"top\"),this.view.classList.add(a===0?\"left\":\"right\"),this.view.classList.toggle(\"fixed\",this.useFixedPosition);const h=Gh(this.container);this.view.style.top=`${u-(this.useFixedPosition?Gh(this.view).top:h.top)}px`,this.view.style.left=`${d-(this.useFixedPosition?Gh(this.view).left:h.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(),Of(this.view)}isVisible(){return!!this.delegate}onDOMEvent(e,t){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(e,document.activeElement):t&&!yb(e.target,this.container)&&this.hide())}dispose(){this.hide(),super.dispose()}}_E.BUBBLE_UP_EVENTS=[\"click\",\"keydown\",\"focus\",\"blur\"];_E.BUBBLE_DOWN_EVENTS=[\"click\"];let U8e=`\n\t:host {\n\t\tall: initial; /* 1st rule so subsequent properties are reset. */\n\t}\n\n\t@font-face {\n\t\tfont-family: \"codicon\";\n\t\tfont-display: block;\n\t\tsrc: url(\"./codicon.ttf?5d4d76ab2ce5108968ad644d591a16a6\") format(\"truetype\");\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 K8e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},q8e=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let tU=class extends fr{constructor(e){super(),this.layoutService=e,this.currentViewDisposable=fr.None,this.container=e.hasContainer?e.container:null,this.contextView=this._register(new _E(this.container,1)),this.layout(),this._register(e.onDidLayout(()=>this.layout()))}setContainer(e,t){this.contextView.setContainer(e,t||1)}showContextView(e,t,n){t?t!==this.container&&(this.container=t,this.setContainer(t,n?3:2)):this.layoutService.hasContainer&&this.container!==this.layoutService.container&&(this.container=this.layoutService.container,this.setContainer(this.container,1)),this.contextView.show(e);const i=wl(()=>{this.currentViewDisposable===i&&this.hideContextView()});return this.currentViewDisposable=i,i}getContextViewElement(){return this.contextView.getViewElement()}layout(){this.contextView.layout()}hideContextView(e){this.contextView.hide(e)}};tU=K8e([q8e(0,c4)],tU);const KV=\"**\",noe=\"/\",d8=\"[/\\\\\\\\]\",h8=\"[^/\\\\\\\\]\",G8e=/\\//g;function ioe(o){switch(o){case 0:return\"\";case 1:return`${h8}*?`;default:return`(?:${d8}|${h8}+${d8}|${d8}${h8}+)*?`}}function roe(o,e){if(!o)return[];const t=[];let n=!1,i=!1,s=\"\";for(const a of o){switch(a){case e:if(!n&&!i){t.push(s),s=\"\";continue}break;case\"{\":n=!0;break;case\"}\":n=!1;break;case\"[\":i=!0;break;case\"]\":i=!1;break}s+=a}return s&&t.push(s),t}function Wde(o){if(!o)return\"\";let e=\"\";const t=roe(o,noe);if(t.every(n=>n===KV))e=\".*\";else{let n=!1;t.forEach((i,s)=>{if(i===KV){n||(e+=ioe(2),n=!0);return}let a=!1,l=\"\",u=!1,d=\"\";for(const h of i){if(h!==\"}\"&&a){l+=h;continue}if(u&&(h!==\"]\"||!d)){let p;h===\"-\"?p=h:(h===\"^\"||h===\"!\")&&!d?p=\"^\":h===noe?p=\"\":p=Ng(h),d+=p;continue}switch(h){case\"{\":a=!0;continue;case\"[\":u=!0;continue;case\"}\":{e+=`(?:${roe(l,\",\").map(y=>Wde(y)).join(\"|\")})`,a=!1,l=\"\";break}case\"]\":e+=\"[\"+d+\"]\",u=!1,d=\"\";break;case\"?\":e+=h8;continue;case\"*\":e+=ioe(1);continue;default:e+=Ng(h)}}s<t.length-1&&(t[s+1]!==KV||s+2<t.length)&&(e+=d8),n=!1})}return e}const J8e=/^\\*\\*\\/\\*\\.[\\w\\.-]+$/,Y8e=/^\\*\\*\\/([\\w\\.-]+)\\/?$/,X8e=/^{\\*\\*\\/\\*?[\\w\\.-]+\\/?(,\\*\\*\\/\\*?[\\w\\.-]+\\/?)*}$/,Q8e=/^{\\*\\*\\/\\*?[\\w\\.-]+(\\/(\\*\\*)?)?(,\\*\\*\\/\\*?[\\w\\.-]+(\\/(\\*\\*)?)?)*}$/,Z8e=/^\\*\\*((\\/[\\w\\.-]+)+)\\/?$/,e7e=/^([\\w\\.-]+(\\/[\\w\\.-]+)*)\\/?$/,soe=new DC(1e4),ooe=function(){return!1},z1=function(){return null};function QG(o,e){if(!o)return z1;let t;typeof o!=\"string\"?t=o.pattern:t=o,t=t.trim();const n=`${t}_${!!e.trimForExclusions}`;let i=soe.get(n);if(i)return aoe(i,o);let s;if(J8e.test(t)){const a=t.substr(4);i=function(l,u){return typeof l==\"string\"&&l.endsWith(a)?t:null}}else(s=Y8e.exec(qV(t,e)))?i=t7e(s[1],t):(e.trimForExclusions?Q8e:X8e).test(t)?i=n7e(t,e):(s=Z8e.exec(qV(t,e)))?i=loe(s[1].substr(1),t,!0):(s=e7e.exec(qV(t,e)))?i=loe(s[1],t,!1):i=i7e(t);return soe.set(n,i),aoe(i,o)}function aoe(o,e){return typeof e==\"string\"?o:function(t,n){return Bz(t,e.base,!vp)?o(t.substr(e.base.length+1),n):null}}function qV(o,e){return e.trimForExclusions&&o.endsWith(\"/**\")?o.substr(0,o.length-2):o}function t7e(o,e){const t=`/${o}`,n=`\\\\${o}`,i=function(a,l){return typeof a!=\"string\"?null:l?l===o?e:null:a===o||a.endsWith(t)||a.endsWith(n)?e:null},s=[o];return i.basenames=s,i.patterns=[e],i.allBasenames=s,i}function n7e(o,e){const t=Hde(o.slice(1,-1).split(\",\").map(l=>QG(l,e)).filter(l=>l!==z1),o),n=t.length;if(!n)return z1;if(n===1)return t[0];const i=function(l,u){for(let d=0,h=t.length;d<h;d++)if(t[d](l,u))return o;return null},s=t.find(l=>!!l.allBasenames);s&&(i.allBasenames=s.allBasenames);const a=t.reduce((l,u)=>u.allPaths?l.concat(u.allPaths):l,[]);return a.length&&(i.allPaths=a),i}function loe(o,e,t){const n=j1===Cd.sep,i=n?o:o.replace(G8e,j1),s=j1+i,a=Cd.sep+o,l=t?function(u,d){return typeof u==\"string\"&&(u===i||u.endsWith(s)||!n&&(u===o||u.endsWith(a)))?e:null}:function(u,d){return typeof u==\"string\"&&(u===i||!n&&u===o)?e:null};return l.allPaths=[(t?\"*/\":\"./\")+o],l}function i7e(o){try{const e=new RegExp(`^${Wde(o)}$`);return function(t){return e.lastIndex=0,typeof t==\"string\"&&e.test(t)?o:null}}catch{return z1}}function r7e(o,e,t){return!o||typeof e!=\"string\"?!1:Vde(o)(e,void 0,t)}function Vde(o,e={}){if(!o)return ooe;if(typeof o==\"string\"||s7e(o)){const t=QG(o,e);if(t===z1)return ooe;const n=function(i,s){return!!t(i,s)};return t.allBasenames&&(n.allBasenames=t.allBasenames),t.allPaths&&(n.allPaths=t.allPaths),n}return o7e(o,e)}function s7e(o){const e=o;return e?typeof e.base==\"string\"&&typeof e.pattern==\"string\":!1}function o7e(o,e){const t=Hde(Object.getOwnPropertyNames(o).map(l=>a7e(l,o[l],e)).filter(l=>l!==z1)),n=t.length;if(!n)return z1;if(!t.some(l=>!!l.requiresSiblings)){if(n===1)return t[0];const l=function(h,p){for(let g=0,y=t.length;g<y;g++){const D=t[g](h,p);if(D)return D}return null},u=t.find(h=>!!h.allBasenames);u&&(l.allBasenames=u.allBasenames);const d=t.reduce((h,p)=>p.allPaths?h.concat(p.allPaths):h,[]);return d.length&&(l.allPaths=d),l}const i=function(l,u,d){let h;for(let p=0,g=t.length;p<g;p++){const y=t[p];y.requiresSiblings&&d&&(u||(u=rD(l)),h||(h=u.substr(0,u.length-$Te(l).length)));const D=y(l,u,h,d);if(D)return D}return null},s=t.find(l=>!!l.allBasenames);s&&(i.allBasenames=s.allBasenames);const a=t.reduce((l,u)=>u.allPaths?l.concat(u.allPaths):l,[]);return a.length&&(i.allPaths=a),i}function a7e(o,e,t){if(e===!1)return z1;const n=QG(o,t);if(n===z1)return z1;if(typeof e==\"boolean\")return n;if(e){const i=e.when;if(typeof i==\"string\"){const s=(a,l,u,d)=>{if(!d||!n(a,l))return null;const h=i.replace(\"$(basename)\",u),p=d(h);return ike(p)?p.then(g=>g?o:null):p?o:null};return s.requiresSiblings=!0,s}}return n}function Hde(o,e){const t=o.filter(l=>!!l.basenames);if(t.length<2)return o;const n=t.reduce((l,u)=>{const d=u.basenames;return d?l.concat(d):l},[]);let i;if(e){i=[];for(let l=0,u=n.length;l<u;l++)i.push(e)}else i=t.reduce((l,u)=>{const d=u.patterns;return d?l.concat(d):l},[]);const s=function(l,u){if(typeof l!=\"string\")return null;if(!u){let h;for(h=l.length;h>0;h--){const p=l.charCodeAt(h-1);if(p===47||p===92)break}u=l.substr(h)}const d=n.indexOf(u);return d!==-1?i[d]:null};s.basenames=n,s.patterns=i,s.allBasenames=n;const a=o.filter(l=>!l.basenames);return a.push(s),a}let gE=[],ZG=[],$de=[];function p5(o,e=!1){l7e(o,!1,e)}function l7e(o,e,t){const n=u7e(o,e);gE.push(n),n.userConfigured?$de.push(n):ZG.push(n),t&&!n.userConfigured&&gE.forEach(i=>{i.mime===n.mime||i.userConfigured||(n.extension&&i.extension===n.extension&&console.warn(`Overwriting extension <<${n.extension}>> to now point to mime <<${n.mime}>>`),n.filename&&i.filename===n.filename&&console.warn(`Overwriting filename <<${n.filename}>> to now point to mime <<${n.mime}>>`),n.filepattern&&i.filepattern===n.filepattern&&console.warn(`Overwriting filepattern <<${n.filepattern}>> to now point to mime <<${n.mime}>>`),n.firstline&&i.firstline===n.firstline&&console.warn(`Overwriting firstline <<${n.firstline}>> to now point to mime <<${n.mime}>>`))})}function u7e(o,e){return{id:o.id,mime:o.mime,filename:o.filename,extension:o.extension,filepattern:o.filepattern,firstline:o.firstline,userConfigured:e,filenameLowercase:o.filename?o.filename.toLowerCase():void 0,extensionLowercase:o.extension?o.extension.toLowerCase():void 0,filepatternLowercase:o.filepattern?Vde(o.filepattern.toLowerCase()):void 0,filepatternOnPath:o.filepattern?o.filepattern.indexOf(Cd.sep)>=0:!1}}function c7e(){gE=gE.filter(o=>o.userConfigured),ZG=[]}function d7e(o,e){let t;if(o)switch(o.scheme){case dl.file:t=o.fsPath;break;case dl.data:{t=oC.parseMetaData(o).get(oC.META_DATA_LABEL);break}default:t=o.path}if(!t)return[u0.unknown];t=t.toLowerCase();const n=rD(t),i=uoe(t,n,$de);if(i)return[i,u0.text];const s=uoe(t,n,ZG);if(s)return[s,u0.text];if(e){const a=h7e(e);if(a)return[a,u0.text]}return[u0.unknown]}function uoe(o,e,t){var n;let i,s,a;for(let l=t.length-1;l>=0;l--){const u=t[l];if(e===u.filenameLowercase){i=u;break}if(u.filepattern&&(!s||u.filepattern.length>s.filepattern.length)){const d=u.filepatternOnPath?o:e;!((n=u.filepatternLowercase)===null||n===void 0)&&n.call(u,d)&&(s=u)}u.extension&&(!a||u.extension.length>a.extension.length)&&e.endsWith(u.extensionLowercase)&&(a=u)}if(i)return i.mime;if(s)return s.mime;if(a)return a.mime}function h7e(o){if(jq(o)&&(o=o.substr(1)),o.length>0)for(let e=gE.length-1;e>=0;e--){const t=gE[e];if(!t.firstline)continue;const n=o.match(t.firstline);if(n&&n.length>0)return t.mime}}const f5=Object.prototype.hasOwnProperty,nU=\"vs.editor.nullLanguage\";Nd.register(nU,{});class p7e{constructor(){this._languageIdToLanguage=[],this._languageToLanguageId=new Map,this._register(nU,0),this._register(ay,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]||nU}}class fL extends fr{constructor(e=!0,t=!1){super(),this._onDidChange=this._register(new ri),this.onDidChange=this._onDidChange.event,fL.instanceCount++,this._warnOnOverwrite=t,this.languageIdCodec=new p7e,this._dynamicLanguages=[],this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},e&&(this._initializeFromRegistry(),this._register(pE.onDidChangeLanguages(n=>{this._initializeFromRegistry()})))}dispose(){fL.instanceCount--,super.dispose()}_initializeFromRegistry(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},c7e();const e=[].concat(pE.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 n=this._languages[t];n.name&&(this._nameMap[n.name]=n.identifier),n.aliases.forEach(i=>{this._lowercaseNameMap[i.toLowerCase()]=n.identifier}),n.mimetypes.forEach(i=>{this._mimeTypesMap[i]=n.identifier})}),wd.as(pw.Configuration).registerOverrideIdentifiers(this.getRegisteredLanguageIds()),this._onDidChange.fire()}_registerLanguage(e){const t=e.id;let n;f5.call(this._languages,t)?n=this._languages[t]:(this.languageIdCodec.register(t),n={identifier:t,name:null,mimetypes:[],aliases:[],extensions:[],filenames:[],configurationFiles:[],icons:[]},this._languages[t]=n),this._mergeLanguage(n,e)}_mergeLanguage(e,t){const n=t.id;let i=null;if(Array.isArray(t.mimetypes)&&t.mimetypes.length>0&&(e.mimetypes.push(...t.mimetypes),i=t.mimetypes[0]),i||(i=`text/x-${n}`,e.mimetypes.push(i)),Array.isArray(t.extensions)){t.configuration?e.extensions=t.extensions.concat(e.extensions):e.extensions=e.extensions.concat(t.extensions);for(let l of t.extensions)p5({id:n,mime:i,extension:l},this._warnOnOverwrite)}if(Array.isArray(t.filenames))for(let l of t.filenames)p5({id:n,mime:i,filename:l},this._warnOnOverwrite),e.filenames.push(l);if(Array.isArray(t.filenamePatterns))for(let l of t.filenamePatterns)p5({id:n,mime:i,filepattern:l},this._warnOnOverwrite);if(typeof t.firstLine==\"string\"&&t.firstLine.length>0){let l=t.firstLine;l.charAt(0)!==\"^\"&&(l=\"^\"+l);try{const u=new RegExp(l);oAe(u)||p5({id:n,mime:i,firstline:u},this._warnOnOverwrite)}catch(u){tl(u)}}e.aliases.push(n);let s=null;if(typeof t.aliases!=\"undefined\"&&Array.isArray(t.aliases)&&(t.aliases.length===0?s=[null]:s=t.aliases),s!==null)for(const l of s)!l||l.length===0||e.aliases.push(l);const a=s!==null&&s.length>0;if(!(a&&s[0]===null)){const l=(a?s[0]:null)||n;(a||!e.name)&&(e.name=l)}t.configuration&&e.configurationFiles.push(t.configuration),t.icon&&e.icons.push(t.icon)}isRegisteredLanguageId(e){return e?f5.call(this._languages,e):!1}getRegisteredLanguageIds(){return Object.keys(this._languages)}getLanguageIdByLanguageName(e){const t=e.toLowerCase();return f5.call(this._lowercaseNameMap,t)?this._lowercaseNameMap[t]:null}getLanguageIdByMimeType(e){return e&&f5.call(this._mimeTypesMap,e)?this._mimeTypesMap[e]:null}guessLanguageIdByFilepathOrFirstLine(e,t){if(!e&&!t)return[];const n=d7e(e,t);return rw(n.map(i=>this.getLanguageIdByMimeType(i)))}}fL.instanceCount=0;class _L extends fr{constructor(e=!1){super(),this._onDidEncounterLanguage=this._register(new ri),this.onDidEncounterLanguage=this._onDidEncounterLanguage.event,this._onDidChange=this._register(new ri({leakWarningThreshold:200})),this.onDidChange=this._onDidChange.event,_L.instanceCount++,this._encounteredLanguages=new Set,this._registry=this._register(new fL(!0,e)),this.languageIdCodec=this._registry.languageIdCodec,this._register(this._registry.onDidChange(()=>this._onDidChange.fire()))}dispose(){_L.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 n=this._registry.guessLanguageIdByFilepathOrFirstLine(e,t);return Ple(n,null)}createById(e){return new coe(this.onDidChange,()=>this._createAndGetLanguageIdentifier(e))}createByFilepathOrFirstLine(e,t){return new coe(this.onDidChange,()=>{const n=this.guessLanguageIdByFilepathOrFirstLine(e,t);return this._createAndGetLanguageIdentifier(n)})}_createAndGetLanguageIdentifier(e){return(!e||!this.isRegisteredLanguageId(e))&&(e=ay),this._encounteredLanguages.has(e)||(this._encounteredLanguages.add(e),Ic.getOrCreate(e),this._onDidEncounterLanguage.fire(e)),e}}_L.instanceCount=0;class coe{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 ri({onLastListenerRemove:()=>{this._dispose()}})),this._emitter.event}_evaluate(){const e=this._selector();e!==this.languageId&&(this.languageId=e,this._emitter&&this._emitter.fire(this.languageId))}}function doe(o){let e=o.definition;for(;e instanceof E;)e=e.definition;return`.codicon-${o.id}:before { content: '${e.fontCharacter}'; }`}function eJ(...o){return function(e,t){for(let n=0,i=o.length;n<i;n++){const s=o[n](e,t);if(s)return s}return null}}zde.bind(void 0,!1);const a9=zde.bind(void 0,!0);function zde(o,e,t){if(!t||t.length<e.length)return null;let n;return o?n=Pq(t,e):n=t.indexOf(e)===0,n?e.length>0?[{start:0,end:e.length}]:[]:null}function Ude(o,e){const t=e.toLowerCase().indexOf(o.toLowerCase());return t===-1?null:[{start:t,end:t+o.length}]}function f7e(o,e){return iU(o.toLowerCase(),e.toLowerCase(),0,0)}function iU(o,e,t,n){if(t===o.length)return[];if(n===e.length)return null;if(o[t]===e[n]){let i=null;return(i=iU(o,e,t+1,n+1))?iJ({start:n,end:n+1},i):null}return iU(o,e,t,n+1)}function tJ(o){return 97<=o&&o<=122}function l9(o){return 65<=o&&o<=90}function nJ(o){return 48<=o&&o<=57}function Kde(o){return o===32||o===9||o===10||o===13}const qde=new Set;\"()[]{}<>`'\\\"-/;:,.?!\".split(\"\").forEach(o=>qde.add(o.charCodeAt(0)));function F7(o){return Kde(o)||qde.has(o)}function _7e(o,e){return o===e||F7(o)&&F7(e)}function Gde(o){return tJ(o)||l9(o)||nJ(o)}function iJ(o,e){return e.length===0?e=[o]:o.end===e[0].start?e[0].start=o.start:e.unshift(o),e}function Jde(o,e){for(let t=e;t<o.length;t++){const n=o.charCodeAt(t);if(l9(n)||nJ(n)||t>0&&!Gde(o.charCodeAt(t-1)))return t}return o.length}function rU(o,e,t,n){if(t===o.length)return[];if(n===e.length)return null;if(o[t]!==e[n].toLowerCase())return null;{let i=null,s=n+1;for(i=rU(o,e,t+1,n+1);!i&&(s=Jde(e,s))<e.length;)i=rU(o,e,t+1,s),s++;return i===null?null:iJ({start:n,end:n+1},i)}}function g7e(o){let e=0,t=0,n=0,i=0,s=0;for(let h=0;h<o.length;h++)s=o.charCodeAt(h),l9(s)&&e++,tJ(s)&&t++,Gde(s)&&n++,nJ(s)&&i++;const a=e/o.length,l=t/o.length,u=n/o.length,d=i/o.length;return{upperPercent:a,lowerPercent:l,alphaPercent:u,numericPercent:d}}function m7e(o){const{upperPercent:e,lowerPercent:t}=o;return t===0&&e>.6}function y7e(o){const{upperPercent:e,lowerPercent:t,alphaPercent:n,numericPercent:i}=o;return t>.2&&e<.8&&n>.6&&i<.2}function b7e(o){let e=0,t=0,n=0,i=0;for(let s=0;s<o.length;s++)n=o.charCodeAt(s),l9(n)&&e++,tJ(n)&&t++,Kde(n)&&i++;return(e===0||t===0)&&i===0?o.length<=30:e<=5}function Yde(o,e){if(!e||(e=e.trim(),e.length===0)||!b7e(o)||e.length>60)return null;const t=g7e(e);if(!y7e(t)){if(!m7e(t))return null;e=e.toLowerCase()}let n=null,i=0;for(o=o.toLowerCase();i<e.length&&(n=rU(o,e,0,i))===null;)i=Jde(e,i+1);return n}function v7e(o,e,t=!1){if(!e||e.length===0)return null;let n=null,i=0;for(o=o.toLowerCase(),e=e.toLowerCase();i<e.length&&(n=sU(o,e,0,i,t))===null;)i=Xde(e,i+1);return n}function sU(o,e,t,n,i){if(t===o.length)return[];if(n===e.length)return null;if(_7e(o.charCodeAt(t),e.charCodeAt(n))){let s=null,a=n+1;if(s=sU(o,e,t+1,n+1,i),!i)for(;!s&&(a=Xde(e,a))<e.length;)s=sU(o,e,t+1,a,i),a++;return s===null?null:iJ({start:n,end:n+1},s)}else return null}function Xde(o,e){for(let t=e;t<o.length;t++)if(F7(o.charCodeAt(t))||t>0&&F7(o.charCodeAt(t-1)))return t;return o.length}const C7e=eJ(a9,Yde,Ude),D7e=eJ(a9,Yde,f7e),hoe=new DC(1e4);function poe(o,e,t=!1){if(typeof o!=\"string\"||typeof e!=\"string\")return null;let n=hoe.get(o);n||(n=new RegExp(rAe(o),\"i\"),hoe.set(o,n));const i=n.exec(e);return i?[{start:i.index,end:i.index+i[0].length}]:t?D7e(o,e):C7e(o,e)}function w7e(o,e,t,n,i,s){const a=Math.min(13,o.length);for(;t<a;t++){const l=mE(o,e,t,n,i,s,!1);if(l)return l}return[0,s]}function u9(o){if(typeof o==\"undefined\")return[];const e=[],t=o[1];for(let n=o.length-1;n>1;n--){const i=o[n]+t,s=e[e.length-1];s&&s.end===i?s.end=i+1:e.push({start:i,end:i+1})}return e}const Iv=128;function rJ(){const o=[],e=[];for(let t=0;t<=Iv;t++)e[t]=0;for(let t=0;t<=Iv;t++)o.push(e.slice(0));return o}function Qde(o){const e=[];for(let t=0;t<=o;t++)e[t]=0;return e}const Zde=Qde(2*Iv),oU=Qde(2*Iv),zy=rJ(),E2=rJ(),_5=rJ();function g5(o,e){if(e<0||e>=o.length)return!1;const t=o.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 40:case 91:return!0;case void 0:return!1;default:return!!Bq(t)}}function foe(o,e){if(e<0||e>=o.length)return!1;switch(o.charCodeAt(e)){case 32:case 9:return!0;default:return!1}}function p8(o,e,t){return e[o]!==t[o]}function S7e(o,e,t,n,i,s,a=!1){for(;e<t&&i<s;)o[e]===n[i]&&(a&&(Zde[e]=i),e+=1),i+=1;return e===t}var _0;(function(o){o.Default=[-100,0];function e(t){return!t||t.length===2&&t[0]===-100&&t[1]===0}o.isDefault=e})(_0||(_0={}));function mE(o,e,t,n,i,s,a){const l=o.length>Iv?Iv:o.length,u=n.length>Iv?Iv:n.length;if(t>=l||s>=u||l-t>u-s||!S7e(e,t,l,i,s,u,!0))return;x7e(l,u,t,s,e,i);let d=1,h=1,p=t,g=s;const y=[!1];for(d=1,p=t;p<l;d++,p++){const F=Zde[p],q=oU[p],re=p+1<l?oU[p+1]:u;for(h=F-s+1,g=F;g<re;h++,g++){let Ie=Number.MIN_SAFE_INTEGER,mt=!1;g<=q&&(Ie=E7e(o,e,p,t,n,i,g,u,s,zy[d-1][h-1]===0,y));let Le=0;Ie!==Number.MAX_SAFE_INTEGER&&(mt=!0,Le=Ie+E2[d-1][h-1]);const Ge=g>F,qt=Ge?E2[d][h-1]+(zy[d][h-1]>0?-5:0):0,gi=g>F+1&&zy[d][h-1]>0,ai=gi?E2[d][h-2]+(zy[d][h-2]>0?-5:0):0;if(gi&&(!Ge||ai>=qt)&&(!mt||ai>=Le))E2[d][h]=ai,_5[d][h]=3,zy[d][h]=0;else if(Ge&&(!mt||qt>=Le))E2[d][h]=qt,_5[d][h]=2,zy[d][h]=0;else if(mt)E2[d][h]=Le,_5[d][h]=1,zy[d][h]=zy[d-1][h-1]+1;else throw new Error(\"not possible\")}}if(!y[0]&&!a)return;d--,h--;const D=[E2[d][h],s];let T=0,k=0;for(;d>=1;){let F=h;do{const q=_5[d][F];if(q===3)F=F-2;else if(q===2)F=F-1;else break}while(F>=1);T>1&&e[t+d-1]===i[s+h-1]&&!p8(F+s-1,n,i)&&T+1>zy[d][F]&&(F=h),F===h?T++:T=1,k||(k=F),d--,h=F-1,D.push(h)}u===l&&(D[0]+=2);const I=k-l;return D[0]-=I,D}function x7e(o,e,t,n,i,s){let a=o-1,l=e-1;for(;a>=t&&l>=n;)i[a]===s[l]&&(oU[a]=l,a--),l--}function E7e(o,e,t,n,i,s,a,l,u,d,h){if(e[t]!==s[a])return Number.MIN_SAFE_INTEGER;let p=1,g=!1;return a===t-n?p=o[t]===i[a]?7:5:p8(a,i,s)&&(a===0||!p8(a-1,i,s))?(p=o[t]===i[a]?7:5,g=!0):g5(s,a)&&(a===0||!g5(s,a-1))?p=5:(g5(s,a-1)||foe(s,a-1))&&(p=5,g=!0),p>1&&t===n&&(h[0]=!0),g||(g=p8(a,i,s)||g5(s,a-1)||foe(s,a-1)),t===n?a>u&&(p-=g?3:5):d?p+=g?2:0:p+=g?0:1,a+1===l&&(p-=g?3:5),p}function T7e(o,e,t,n,i,s,a){return A7e(o,e,t,n,i,s,!0,a)}function A7e(o,e,t,n,i,s,a,l){let u=mE(o,e,t,n,i,s,l);if(u&&!a)return u;if(o.length>=3){const d=Math.min(7,o.length-1);for(let h=t+1;h<d;h++){const p=k7e(o,h);if(p){const g=mE(p,p.toLowerCase(),t,n,i,s,l);g&&(g[0]-=3,(!u||g[0]>u[0])&&(u=g))}}}return u}function k7e(o,e){if(e+1>=o.length)return;const t=o[e],n=o[e+1];if(t!==n)return o.slice(0,e)+n+t+o.slice(e+2)}const w3=\"$(\",sJ=new RegExp(`\\\\$\\\\(${df.iconNameExpression}(?:${df.iconModifierExpression})?\\\\)`,\"g\"),L7e=new RegExp(df.iconNameCharacter),N7e=new RegExp(`(\\\\\\\\)?${sJ.source}`,\"g\");function I7e(o){return o.replace(N7e,(e,t)=>t?e:`\\\\${e}`)}const F7e=new RegExp(`\\\\\\\\${sJ.source}`,\"g\");function P7e(o){return o.replace(F7e,e=>`\\\\${e}`)}const O7e=new RegExp(`(\\\\s)?(\\\\\\\\)?${sJ.source}(\\\\s)?`,\"g\");function oJ(o){return o.indexOf(w3)===-1?o:o.replace(O7e,(e,t,n,i)=>n?e:t||i||\"\")}function m5(o){const e=o.indexOf(w3);return e===-1?{text:o}:M7e(o,e)}function M7e(o,e){const t=[];let n=\"\";function i(g){if(g){n+=g;for(const y of g)t.push(l)}}let s=-1,a=\"\",l=0,u,d,h=e;const p=o.length;for(i(o.substr(0,e));h<p;)u=o[h],d=o[h+1],u===w3[0]&&d===w3[1]?(s=h,i(a),a=w3,h++):u===\")\"&&s!==-1?(l+=h-s+1,s=-1,a=\"\"):s!==-1?L7e.test(u)?a+=u:(i(a),s=-1,a=\"\"):i(u),h++;return i(a),{text:n,iconOffsets:t}}function y5(o,e,t=!1){const{text:n,iconOffsets:i}=e;if(!i||i.length===0)return poe(o,n,t);const s=Iq(n,\" \"),a=n.length-s.length,l=poe(o,s,t);if(l)for(const u of l){const d=i[u.start+a]+a;u.start+=d,u.end+=d}return l}const aU=/\\(&([^\\s&])\\)|(^|[^&])&([^\\s&])/,GV=/(&amp;)?(&amp;)([^\\s&])/g;var P7;(function(o){o[o.Right=0]=\"Right\",o[o.Left=1]=\"Left\"})(P7||(P7={}));class Gx extends Z1{constructor(e,t,n={}){e.classList.add(\"monaco-menu-container\"),e.setAttribute(\"role\",\"presentation\");const i=document.createElement(\"div\");i.classList.add(\"monaco-menu\"),i.setAttribute(\"role\",\"presentation\"),super(i,{orientation:1,actionViewItemProvider:l=>this.doGetActionViewItem(l,n,s),context:n.context,actionRunner:n.actionRunner,ariaLabel:n.ariaLabel,focusOnlyEnabledItems:!0,triggerKeys:{keys:[3,...El||vp?[10]:[]],keyDown:!0}}),this.menuElement=i,this.actionsList.setAttribute(\"role\",\"menu\"),this.actionsList.tabIndex=0,this.menuDisposables=this._register(new fs),this.initializeOrUpdateStyleSheet(e,{}),this._register(Iu.addTarget(i)),hs(i,ca.KEY_DOWN,l=>{new _c(l).equals(2)&&l.preventDefault()}),n.enableMnemonics&&this.menuDisposables.add(hs(i,ca.KEY_DOWN,l=>{const u=l.key.toLocaleLowerCase();if(this.mnemonics.has(u)){xu.stop(l,!0);const d=this.mnemonics.get(u);if(d.length===1&&(d[0]instanceof _oe&&d[0].container&&this.focusItemByElement(d[0].container),d[0].onClick(l)),d.length>1){const h=d.shift();h&&h.container&&(this.focusItemByElement(h.container),d.push(h)),this.mnemonics.set(u,d)}}})),vp&&this._register(hs(i,ca.KEY_DOWN,l=>{const u=new _c(l);u.equals(14)||u.equals(11)?(this.focusedItem=this.viewItems.length-1,this.focusNext(),xu.stop(l,!0)):(u.equals(13)||u.equals(12))&&(this.focusedItem=0,this.focusPrevious(),xu.stop(l,!0))})),this._register(hs(this.domNode,ca.MOUSE_OUT,l=>{let u=l.relatedTarget;yb(u,this.domNode)||(this.focusedItem=void 0,this.updateFocus(),l.stopPropagation())})),this._register(hs(this.actionsList,ca.MOUSE_OVER,l=>{let u=l.target;if(!(!u||!yb(u,this.actionsList)||u===this.actionsList)){for(;u.parentElement!==this.actionsList&&u.parentElement!==null;)u=u.parentElement;if(u.classList.contains(\"action-item\")){const d=this.focusedItem;this.setFocusedItem(u),d!==this.focusedItem&&this.updateFocus()}}})),this._register(Iu.addTarget(this.actionsList)),this._register(hs(this.actionsList,sc.Tap,l=>{let u=l.initialTarget;if(!(!u||!yb(u,this.actionsList)||u===this.actionsList)){for(;u.parentElement!==this.actionsList&&u.parentElement!==null;)u=u.parentElement;if(u.classList.contains(\"action-item\")){const d=this.focusedItem;this.setFocusedItem(u),d!==this.focusedItem&&this.updateFocus()}}}));let s={parent:this};this.mnemonics=new Map,this.scrollableElement=this._register(new a4(i,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));const a=this.scrollableElement.getDomNode();a.style.position=\"\",this._register(hs(i,sc.Change,l=>{xu.stop(l,!0);const u=this.scrollableElement.getScrollPosition().scrollTop;this.scrollableElement.setScrollPosition({scrollTop:u-l.translationY})})),this._register(hs(a,ca.MOUSE_UP,l=>{l.preventDefault()})),i.style.maxHeight=`${Math.max(10,window.innerHeight-e.getBoundingClientRect().top-35)}px`,t=t.filter(l=>{var u;return!((u=n.submenuIds)===null||u===void 0)&&u.has(l.id)?(console.warn(`Found submenu cycle: ${l.id}`),!1):!0}),this.push(t,{icon:!0,label:!0,isMenu:!0}),e.appendChild(this.scrollableElement.getDomNode()),this.scrollableElement.scanDomNode(),this.viewItems.filter(l=>!(l instanceof JV)).forEach((l,u,d)=>{l.updatePositionInSet(u+1,d.length)})}initializeOrUpdateStyleSheet(e,t){this.styleSheet||(U3(e)?this.styleSheet=Pg(e):(Gx.globalStyleSheet||(Gx.globalStyleSheet=Pg()),this.styleSheet=Gx.globalStyleSheet)),this.styleSheet.textContent=B7e(t,U3(e))}style(e){const t=this.getContainer();this.initializeOrUpdateStyleSheet(t,e);const n=e.foregroundColor?`${e.foregroundColor}`:\"\",i=e.backgroundColor?`${e.backgroundColor}`:\"\",s=e.borderColor?`1px solid ${e.borderColor}`:\"\",a=e.shadowColor?`0 2px 4px ${e.shadowColor}`:\"\";t.style.border=s,this.domNode.style.color=n,this.domNode.style.backgroundColor=i,t.style.boxShadow=a,this.viewItems&&this.viewItems.forEach(l=>{(l instanceof lU||l instanceof JV)&&l.style(e)})}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++){let n=this.actionsList.children[t];if(e===n){this.focusedItem=t;break}}}updateFocus(e){super.updateFocus(e,!0,!0),typeof this.focusedItem!=\"undefined\"&&this.scrollableElement.setScrollPosition({scrollTop:Math.round(this.menuElement.scrollTop)})}doGetActionViewItem(e,t,n){if(e instanceof Ag)return new JV(t.context,e,{icon:!0});if(e instanceof IP){const i=new _oe(e,e.actions,n,Object.assign(Object.assign({},t),{submenuIds:new Set([...t.submenuIds||[],e.id])}));if(t.enableMnemonics){const s=i.getMnemonic();if(s&&i.isEnabled()){let a=[];this.mnemonics.has(s)&&(a=this.mnemonics.get(s)),a.push(i),this.mnemonics.set(s,a)}}return i}else{const i={enableMnemonics:t.enableMnemonics,useEventAsContext:t.useEventAsContext};if(t.getKeyBinding){const a=t.getKeyBinding(e);if(a){const l=a.getLabel();l&&(i.keybinding=l)}}const s=new lU(t.context,e,i);if(t.enableMnemonics){const a=s.getMnemonic();if(a&&s.isEnabled()){let l=[];this.mnemonics.has(a)&&(l=this.mnemonics.get(a)),l.push(s),this.mnemonics.set(a,l)}}return s}}}class lU extends x1{constructor(e,t,n={}){if(n.isMenu=!0,super(t,t,n),this.options=n,this.options.icon=n.icon!==void 0?n.icon:!1,this.options.label=n.label!==void 0?n.label:!0,this.cssClass=\"\",this.options.label&&n.enableMnemonics){let i=this.getAction().label;if(i){let s=aU.exec(i);s&&(this.mnemonic=(s[1]?s[1]:s[3]).toLocaleLowerCase())}}this.runOnceToEnableMouseUp=new Bu(()=>{!this.element||(this._register(hs(this.element,ca.MOUSE_UP,i=>{if(xu.stop(i,!0),J_){if(new Sg(i).rightButton)return;this.onClick(i)}else setTimeout(()=>{this.onClick(i)},0)})),this._register(hs(this.element,ca.CONTEXT_MENU,i=>{xu.stop(i,!0)})))},100),this._register(this.runOnceToEnableMouseUp)}render(e){super.render(e),this.element&&(this.container=e,this.item=Jr(this.element,ls(\"a.action-menu-item\")),this._action.id===Ag.ID?this.item.setAttribute(\"role\",\"presentation\"):(this.item.setAttribute(\"role\",\"menuitem\"),this.mnemonic&&this.item.setAttribute(\"aria-keyshortcuts\",`${this.mnemonic}`)),this.check=Jr(this.item,ls(\"span.menu-item-check\"+E.menuSelection.cssSelector)),this.check.setAttribute(\"role\",\"none\"),this.label=Jr(this.item,ls(\"span.action-label\")),this.options.label&&this.options.keybinding&&(Jr(this.item,ls(\"span.keybinding\")).textContent=this.options.keybinding),this.runOnceToEnableMouseUp.schedule(),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked())}blur(){super.blur(),this.applyStyle()}focus(){super.focus(),this.item&&this.item.focus(),this.applyStyle()}updatePositionInSet(e,t){this.item&&(this.item.setAttribute(\"aria-posinset\",`${e}`),this.item.setAttribute(\"aria-setsize\",`${t}`))}updateLabel(){if(!!this.label&&this.options.label){nh(this.label);let e=oJ(this.getAction().label);if(e){const t=R7e(e);this.options.enableMnemonics||(e=t),this.label.setAttribute(\"aria-label\",t.replace(/&&/g,\"&\"));const n=aU.exec(e);if(n){e=Nq(e),GV.lastIndex=0;let i=GV.exec(e);for(;i&&i[1];)i=GV.exec(e);const s=a=>a.replace(/&amp;&amp;/g,\"&amp;\");i?this.label.append(Iq(s(e.substr(0,i.index)),\" \"),ls(\"u\",{\"aria-hidden\":\"true\"},i[3]),eue(s(e.substr(i.index+i[0].length)),\" \")):this.label.innerText=s(e).trim(),this.item&&this.item.setAttribute(\"aria-keyshortcuts\",(n[1]?n[1]:n[3]).toLocaleLowerCase())}else this.label.innerText=e.replace(/&&/g,\"&\").trim()}}}updateTooltip(){}updateClass(){this.cssClass&&this.item&&this.item.classList.remove(...this.cssClass.split(\" \")),this.options.icon&&this.label?(this.cssClass=this.getAction().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.getAction().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.getAction().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(){if(!this.menuStyle)return;const e=this.element&&this.element.classList.contains(\"focused\"),t=e&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,n=e&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:void 0,i=e&&this.menuStyle.selectionBorderColor?`thin solid ${this.menuStyle.selectionBorderColor}`:\"\";this.item&&(this.item.style.color=t?t.toString():\"\",this.item.style.backgroundColor=n?n.toString():\"\"),this.check&&(this.check.style.color=t?t.toString():\"\"),this.container&&(this.container.style.border=i)}style(e){this.menuStyle=e,this.applyStyle()}}class _oe extends lU{constructor(e,t,n,i){super(e,e,i),this.submenuActions=t,this.parentData=n,this.submenuOptions=i,this.mysubmenu=null,this.submenuDisposables=this._register(new fs),this.mouseOver=!1,this.expandDirection=i&&i.expandDirection!==void 0?i.expandDirection:P7.Right,this.showScheduler=new Bu(()=>{this.mouseOver&&(this.cleanupExistingSubmenu(!1),this.createSubmenu(!1))},250),this.hideScheduler=new Bu(()=>{this.element&&!yb(Ox(),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=Jr(this.item,ls(\"span.submenu-indicator\"+E.menuSubmenu.cssSelector)),this.submenuIndicator.setAttribute(\"aria-hidden\",\"true\")),this._register(hs(this.element,ca.KEY_UP,t=>{let n=new _c(t);(n.equals(17)||n.equals(3))&&(xu.stop(t,!0),this.createSubmenu(!0))})),this._register(hs(this.element,ca.KEY_DOWN,t=>{let n=new _c(t);Ox()===this.item&&(n.equals(17)||n.equals(3))&&xu.stop(t,!0)})),this._register(hs(this.element,ca.MOUSE_OVER,t=>{this.mouseOver||(this.mouseOver=!0,this.showScheduler.schedule())})),this._register(hs(this.element,ca.MOUSE_LEAVE,t=>{this.mouseOver=!1})),this._register(hs(this.element,ca.FOCUS_OUT,t=>{this.element&&!yb(Ox(),this.element)&&this.hideScheduler.schedule()})),this._register(this.parentData.parent.onScroll(()=>{this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!1)})))}updateEnabled(){}onClick(e){xu.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,n,i){const s={top:0,left:0};return s.left=Ex(e.width,t.width,{position:i===P7.Right?0:1,offset:n.left,size:n.width}),s.left>=n.left&&s.left<n.left+n.width&&(n.left+10+t.width<=e.width&&(s.left=n.left+10),n.top+=10,n.height=0),s.top=Ex(e.height,t.height,{position:0,offset:n.top,size:0}),s.top+t.height===n.top&&s.top+n.height+t.height<=e.height&&(s.top+=n.height),s}createSubmenu(e=!0){if(!!this.element)if(this.parentData.submenu)this.parentData.submenu.focus(!1);else{this.updateAriaExpanded(\"true\"),this.submenuContainer=Jr(this.element,ls(\"div.monaco-submenu\")),this.submenuContainer.classList.add(\"menubar-menu-items-holder\",\"context-view\");const t=getComputedStyle(this.parentData.parent.domNode),n=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 Gx(this.submenuContainer,this.submenuActions.length?this.submenuActions:[new FP],this.submenuOptions),this.menuStyle&&this.parentData.submenu.style(this.menuStyle);const i=this.element.getBoundingClientRect(),s={top:i.top-n,left:i.left,height:i.height+2*n,width:i.width},a=this.submenuContainer.getBoundingClientRect(),{top:l,left:u}=this.calculateSubmenuMenuLayout(new Hu(window.innerWidth,window.innerHeight),Hu.lift(a),s,this.expandDirection);this.submenuContainer.style.left=`${u-a.left}px`,this.submenuContainer.style.top=`${l-a.top}px`,this.submenuDisposables.add(hs(this.submenuContainer,ca.KEY_UP,d=>{new _c(d).equals(15)&&(xu.stop(d,!0),this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0))})),this.submenuDisposables.add(hs(this.submenuContainer,ca.KEY_DOWN,d=>{new _c(d).equals(15)&&xu.stop(d,!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(){if(super.applyStyle(),!this.menuStyle)return;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?`${t}`:\"\"),this.parentData.submenu&&this.parentData.submenu.style(this.menuStyle)}dispose(){super.dispose(),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuContainer=void 0)}}class JV extends cL{style(e){this.label&&(this.label.style.borderBottomColor=e.separatorColor?`${e.separatorColor}`:\"\")}}function R7e(o){const e=aU,t=e.exec(o);if(!t)return o;const n=!t[1];return o.replace(e,n?\"$2$3\":\"\").trim()}function B7e(o,e){let t=`\n.monaco-menu {\n\tfont-size: 13px;\n\n}\n\n${doe(E.menuSelection)}\n${doe(E.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.animated .action-item.active {\n\ttransform: scale(1.272019649, 1.272019649); /* 1.272019649 = \\u221A\\u03C6 */\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\topacity: 0.4;\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 #bbb;\n\tpadding-top: 1px;\n\tmargin-left: .8em;\n\tmargin-right: .8em;\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}\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\tpadding: 0.5em 0 0 0;\n\tmargin-bottom: 0.5em;\n\twidth: 100%;\n\theight: 0px !important;\n\tmargin-left: .8em !important;\n\tmargin-right: .8em !important;\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.monaco-menu .monaco-action-bar.vertical .action-item {\n\tborder: thin solid transparent; /* prevents jumping behaviour on hover or focus */\n}\n\n\n/* High Contrast Theming */\n:host-context(.hc-black) .context-view.monaco-menu-container {\n\tbox-shadow: none;\n}\n\n:host-context(.hc-black) .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: .5em 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item {\n\theight: 1.8em;\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}\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\tpadding: 0.2em 0 0 0;\n\tmargin-bottom: 0.2em;\n}\n\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: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 n=o.scrollbarShadow;n&&(t+=`\n\t\t\t\t.monaco-scrollable-element > .shadow.top {\n\t\t\t\t\tbox-shadow: ${n} 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: ${n} 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: ${n} 6px 6px 6px -6px inset;\n\t\t\t\t}\n\t\t\t`);const i=o.scrollbarSliderBackground;i&&(t+=`\n\t\t\t\t.monaco-scrollable-element > .scrollbar > .slider {\n\t\t\t\t\tbackground: ${i};\n\t\t\t\t}\n\t\t\t`);const s=o.scrollbarSliderHoverBackground;s&&(t+=`\n\t\t\t\t.monaco-scrollable-element > .scrollbar > .slider:hover {\n\t\t\t\t\tbackground: ${s};\n\t\t\t\t}\n\t\t\t`);const a=o.scrollbarSliderActiveBackground;a&&(t+=`\n\t\t\t\t.monaco-scrollable-element > .scrollbar > .slider.active {\n\t\t\t\t\tbackground: ${a};\n\t\t\t\t}\n\t\t\t`)}return t}function s0(o,e){const t=Object.create(null);for(let n in e){const i=e[n];i&&(t[n]=Jy(i,o))}return t}function aJ(o,e,t){function n(){const i=s0(o.getColorTheme(),e);typeof t==\"function\"?t(i):t.style(i)}return n(),o.onDidColorThemeChange(n)}function j7e(o,e,t){return aJ(e,{badgeBackground:(t==null?void 0:t.badgeBackground)||a3,badgeForeground:(t==null?void 0:t.badgeForeground)||l3,badgeBorder:Sc},o)}function MD(o,e,t){return aJ(e,Object.assign(Object.assign({},c9),t||{}),o)}const c9={listFocusBackground:_4e,listFocusForeground:g4e,listFocusOutline:m4e,listActiveSelectionBackground:Uv,listActiveSelectionForeground:Kv,listActiveSelectionIconForeground:n8,listFocusAndSelectionBackground:Uv,listFocusAndSelectionForeground:Kv,listInactiveSelectionBackground:y4e,listInactiveSelectionIconForeground:v4e,listInactiveSelectionForeground:b4e,listInactiveFocusBackground:C4e,listInactiveFocusOutline:D4e,listHoverBackground:w4e,listHoverForeground:S4e,listDropBackground:x4e,listSelectionOutline:Bp,listHoverOutline:Bp,listFilterWidgetBackground:E4e,listFilterWidgetOutline:T4e,listFilterWidgetNoMatchesOutline:A4e,listMatchesShadow:rC,treeIndentGuidesStroke:k4e,tableColumnsBorder:L4e,tableOddRowsBackgroundColor:N4e},W7e={shadowColor:rC,borderColor:I4e,foregroundColor:F4e,backgroundColor:P4e,selectionForegroundColor:O4e,selectionBackgroundColor:M4e,selectionBorderColor:R4e,separatorColor:B4e,scrollbarShadow:zE,scrollbarSliderBackground:Rx,scrollbarSliderHoverBackground:Bx,scrollbarSliderActiveBackground:jx};function V7e(o,e,t){return aJ(e,Object.assign(Object.assign({},W7e),t),o)}class H7e{constructor(e,t,n,i,s){this.contextViewService=e,this.telemetryService=t,this.notificationService=n,this.keybindingService=i,this.themeService=s,this.focusToReturn=null,this.block=null,this.options={blockMouse:!0}}configure(e){this.options=e}showContextMenu(e){const t=e.getActions();if(!t.length)return;this.focusToReturn=document.activeElement;let n,i=Uue(e.domForShadowRoot)?e.domForShadowRoot:void 0;this.contextViewService.showContextView({getAnchor:()=>e.getAnchor(),canRelayout:!1,anchorAlignment:e.anchorAlignment,anchorAxisAlignment:e.anchorAxisAlignment,render:s=>{let a=e.getMenuClassName?e.getMenuClassName():\"\";a&&(s.className+=\" \"+a),this.options.blockMouse&&(this.block=s.appendChild(ls(\".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\",hs(this.block,ca.MOUSE_DOWN,d=>d.stopPropagation()));const l=new fs,u=e.actionRunner||new oE;return u.onBeforeRun(this.onActionRun,this,l),u.onDidRun(this.onDidActionRun,this,l),n=new Gx(s,t,{actionViewItemProvider:e.getActionViewItem,context:e.getActionsContext?e.getActionsContext():null,actionRunner:u,getKeyBinding:e.getKeyBinding?e.getKeyBinding:d=>this.keybindingService.lookupKeybinding(d.id)}),l.add(V7e(n,this.themeService)),n.onDidCancel(()=>this.contextViewService.hideContextView(!0),null,l),n.onDidBlur(()=>this.contextViewService.hideContextView(!0),null,l),l.add(hs(window,ca.BLUR,()=>this.contextViewService.hideContextView(!0))),l.add(hs(window,ca.MOUSE_DOWN,d=>{if(d.defaultPrevented)return;let h=new Sg(d),p=h.target;if(!h.rightButton){for(;p;){if(p===s)return;p=p.parentElement}this.contextViewService.hideContextView(!0)}})),gb(l,n)},focus:()=>{n&&n.focus(!!e.autoSelectFirstItem)},onHide:s=>{e.onHide&&e.onHide(!!s),this.block&&(this.block.remove(),this.block=null),this.focusToReturn&&this.focusToReturn.focus()}},i,!!i)}onActionRun(e){this.telemetryService.publicLog2(\"workbenchActionExecuted\",{id:e.action.id,from:\"contextMenu\"}),this.contextViewService.hideContextView(!1),this.focusToReturn&&this.focusToReturn.focus()}onDidActionRun(e){e.error&&!ry(e.error)&&this.notificationService.error(e.error)}}var $7e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},kk=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let uU=class extends fr{constructor(e,t,n,i,s){super(),this._onDidShowContextMenu=new ri,this._onDidHideContextMenu=new ri,this.contextMenuHandler=new H7e(n,e,t,i,s)}configure(e){this.contextMenuHandler.configure(e)}showContextMenu(e){this.contextMenuHandler.showContextMenu(Object.assign(Object.assign({},e),{onHide:t=>{e.onHide&&e.onHide(t),this._onDidHideContextMenu.fire()}})),Q2.getInstance().resetKeyStatus(),this._onDidShowContextMenu.fire()}};uU=$7e([kk(0,sy),kk(1,Sd),kk(2,u4),kk(3,Xc),kk(4,gc)],uU);function cU(o){let e=JSON.parse(o);return e=dU(e),e}function dU(o,e=0){if(!o||e>200)return o;if(typeof o==\"object\"){switch(o.$mid){case 1:return wa.revive(o);case 2:return new RegExp(o.source,o.flags);case 14:return new Date(o.source)}if(o instanceof DP||o instanceof Uint8Array)return o;if(Array.isArray(o))for(let t=0;t<o.length;++t)o[t]=dU(o[t],e+1);else for(const t in o)Object.hasOwnProperty.call(o,t)&&(o[t]=dU(o[t],e+1))}return o}var O7;(function(o){o[o.API=0]=\"API\",o[o.USER=1]=\"USER\"})(O7||(O7={}));var goe=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};const Wg=zl(\"openerService\"),z7e=Object.freeze({_serviceBrand:void 0,registerOpener(){return fr.None},registerValidator(){return fr.None},registerExternalUriResolver(){return fr.None},setDefaultExternalOpener(){},registerExternalOpener(){return fr.None},open(){return goe(this,void 0,void 0,function*(){return!1})},resolveExternalUri(o){return goe(this,void 0,void 0,function*(){return{resolved:o,dispose(){}}})}});function ehe(o,e){return wa.isUri(o)?gx(o.scheme,e):Pq(o,e+\":\")}function moe(o,...e){return e.some(t=>ehe(o,t))}function U7e(o){let e;const t=/^L?(\\d+)(?:,(\\d+))?(-L?(\\d+)(?:,(\\d+))?)?/.exec(o.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},o=o.with({fragment:\"\"})),{selection:e,uri:o}}var lJ=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},M7=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},$2=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};let hU=class{constructor(e){this._commandService=e}open(e,t){return $2(this,void 0,void 0,function*(){if(!ehe(e,dl.command))return!1;if(!(t!=null&&t.allowCommands))return!0;typeof e==\"string\"&&(e=wa.parse(e));let n=[];try{n=cU(decodeURIComponent(e.query))}catch{try{n=cU(e.query)}catch{}}return Array.isArray(n)||(n=[n]),yield this._commandService.executeCommand(e.path,...n),!0})}};hU=lJ([M7(0,Dd)],hU);let pU=class{constructor(e){this._editorService=e}open(e,t){return $2(this,void 0,void 0,function*(){typeof e==\"string\"&&(e=wa.parse(e));const{selection:n,uri:i}=U7e(e);return e=i,e.scheme===dl.file&&(e=TFe(e)),yield this._editorService.openCodeEditor({resource:e,options:Object.assign({selection:n,source:t!=null&&t.fromUserGesture?O7.USER:O7.API},t==null?void 0:t.editorOptions)},this._editorService.getFocusedCodeEditor(),t==null?void 0:t.openToSide),!0})}};pU=lJ([M7(0,Eu)],pU);let fU=class{constructor(e,t){this._openers=new $_,this._validators=new $_,this._resolvers=new $_,this._resolvedUriTargets=new hf(n=>n.with({path:null,fragment:null,query:null}).toString()),this._externalOpeners=new $_,this._defaultExternalOpener={openExternal:n=>$2(this,void 0,void 0,function*(){return moe(n,dl.http,dl.https)?que(n):window.location.href=n,!0})},this._openers.push({open:(n,i)=>$2(this,void 0,void 0,function*(){return(i==null?void 0:i.openExternal)||moe(n,dl.mailto,dl.http,dl.https,dl.vsls)?(yield this._doOpenExternal(n,i),!0):!1})}),this._openers.push(new hU(t)),this._openers.push(new pU(e))}registerOpener(e){return{dispose:this._openers.unshift(e)}}registerValidator(e){return{dispose:this._validators.push(e)}}registerExternalUriResolver(e){return{dispose:this._resolvers.push(e)}}setDefaultExternalOpener(e){this._defaultExternalOpener=e}registerExternalOpener(e){return{dispose:this._externalOpeners.push(e)}}open(e,t){var n;return $2(this,void 0,void 0,function*(){const i=typeof e==\"string\"?wa.parse(e):e,s=(n=this._resolvedUriTargets.get(i))!==null&&n!==void 0?n:e;for(const a of this._validators)if(!(yield a.shouldOpen(s)))return!1;for(const a of this._openers)if(yield a.open(e,t))return!0;return!1})}resolveExternalUri(e,t){return $2(this,void 0,void 0,function*(){for(const n of this._resolvers)try{const i=yield n.resolveExternalUri(e,t);if(i)return this._resolvedUriTargets.has(i.resolved)||this._resolvedUriTargets.set(i.resolved,e),i}catch{}throw new Error(\"Could not resolve external URI: \"+e.toString())})}_doOpenExternal(e,t){return $2(this,void 0,void 0,function*(){const n=typeof e==\"string\"?wa.parse(e):e;let i;try{i=(yield this.resolveExternalUri(n,t)).resolved}catch{i=n}let s;if(typeof e==\"string\"&&n.toString()===i.toString()?s=e:s=encodeURI(i.toString(!0)),t!=null&&t.allowContributedOpeners){const a=typeof(t==null?void 0:t.allowContributedOpeners)==\"string\"?t==null?void 0:t.allowContributedOpeners:void 0;for(const l of this._externalOpeners)if(yield l.openExternal(s,{sourceUri:n,preferredOpenerId:a},Ll.None))return!0}return this._defaultExternalOpener.openExternal(s,{sourceUri:n},Ll.None)})}dispose(){this._validators.clear()}};fU=lJ([M7(0,Eu),M7(1,Dd)],fU);var Fc;(function(o){o[o.Hint=1]=\"Hint\",o[o.Info=2]=\"Info\",o[o.Warning=4]=\"Warning\",o[o.Error=8]=\"Error\"})(Fc||(Fc={}));(function(o){function e(a,l){return l-a}o.compare=e;const t=Object.create(null);t[o.Error]=w(\"sev.error\",\"Error\"),t[o.Warning]=w(\"sev.warning\",\"Warning\"),t[o.Info]=w(\"sev.info\",\"Info\");function n(a){return t[a]||\"\"}o.toString=n;function i(a){switch(a){case Nc.Error:return o.Error;case Nc.Warning:return o.Warning;case Nc.Info:return o.Info;case Nc.Ignore:return o.Hint}}o.fromSeverity=i;function s(a){switch(a){case o.Error:return Nc.Error;case o.Warning:return Nc.Warning;case o.Info:return Nc.Info;case o.Hint:return Nc.Ignore}}o.toSeverity=s})(Fc||(Fc={}));var R7;(function(o){const e=\"\";function t(i){return n(i,!0)}o.makeKey=t;function n(i,s){let a=[e];return i.source?a.push(i.source.replace(\"\\xA6\",\"\\\\\\xA6\")):a.push(e),i.code?typeof i.code==\"string\"?a.push(i.code.replace(\"\\xA6\",\"\\\\\\xA6\")):a.push(i.code.value.replace(\"\\xA6\",\"\\\\\\xA6\")):a.push(e),i.severity!==void 0&&i.severity!==null?a.push(Fc.toString(i.severity)):a.push(e),i.message&&s?a.push(i.message.replace(\"\\xA6\",\"\\\\\\xA6\")):a.push(e),i.startLineNumber!==void 0&&i.startLineNumber!==null?a.push(i.startLineNumber.toString()):a.push(e),i.startColumn!==void 0&&i.startColumn!==null?a.push(i.startColumn.toString()):a.push(e),i.endLineNumber!==void 0&&i.endLineNumber!==null?a.push(i.endLineNumber.toString()):a.push(e),i.endColumn!==void 0&&i.endColumn!==null?a.push(i.endColumn.toString()):a.push(e),a.push(e),a.join(\"\\xA6\")}o.makeKeyOptionalMessage=n})(R7||(R7={}));const Lb=zl(\"markerService\");var K7e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},yoe=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};class q7e extends fr{constructor(e){super(),this.model=e,this._markersData=new Map,this._register(wl(()=>{this.model.deltaDecorations([...this._markersData.keys()],[]),this._markersData.clear()}))}update(e,t){const n=[...this._markersData.keys()];this._markersData.clear();const i=this.model.deltaDecorations(n,t);for(let s=0;s<i.length;s++)this._markersData.set(i[s],e[s]);return n.length!==0||i.length!==0}getMarker(e){return this._markersData.get(e.id)}}let _U=class extends fr{constructor(e,t){super(),this._markerService=t,this._onDidChangeMarker=this._register(new ri),this._markerDecorations=new hf,e.getModels().forEach(n=>this._onModelAdded(n)),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 n=this._markerDecorations.get(e);return n&&n.getMarker(t)||null}_handleMarkerChange(e){e.forEach(t=>{const n=this._markerDecorations.get(t);n&&this._updateDecorations(n)})}_onModelAdded(e){const t=new q7e(e);this._markerDecorations.set(e.uri,t),this._updateDecorations(t)}_onModelRemoved(e){const t=this._markerDecorations.get(e.uri);t&&(t.dispose(),this._markerDecorations.delete(e.uri)),(e.uri.scheme===dl.inMemory||e.uri.scheme===dl.internal||e.uri.scheme===dl.vscode)&&this._markerService&&this._markerService.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}),n=t.map(i=>({range:this._createDecorationRange(e.model,i),options:this._createDecorationOption(i)}));e.update(t,n)&&this._onDidChangeMarker.fire(e.model)}_createDecorationRange(e,t){let n=He.lift(t);if(t.severity===Fc.Hint&&!this._hasMarkerTag(t,1)&&!this._hasMarkerTag(t,2)&&(n=n.setEndPosition(n.startLineNumber,n.startColumn+2)),n=e.validateRange(n),n.isEmpty()){const i=e.getLineLastNonWhitespaceColumn(n.startLineNumber)||e.getLineMaxColumn(n.startLineNumber);if(i===1||n.endColumn>=i)return n;const s=e.getWordAtPosition(n.getStartPosition());s&&(n=new He(n.startLineNumber,s.startColumn,n.endLineNumber,s.endColumn))}else if(t.endColumn===Number.MAX_VALUE&&t.startColumn===1&&n.startLineNumber===n.endLineNumber){let i=e.getLineFirstNonWhitespaceColumn(t.startLineNumber);i<n.endColumn&&(n=new He(n.startLineNumber,i,n.endLineNumber,n.endColumn),t.startColumn=i)}return n}_createDecorationOption(e){let t,n,i,s,a;switch(e.severity){case Fc.Hint:this._hasMarkerTag(e,2)?t=void 0:this._hasMarkerTag(e,1)?t=\"squiggly-unnecessary\":t=\"squiggly-hint\",i=0;break;case Fc.Warning:t=\"squiggly-warning\",n=Jc(HNe),i=20,a={color:Jc(W4e),position:Tg.Inline};break;case Fc.Info:t=\"squiggly-info\",n=Jc($Ne),i=10;break;case Fc.Error:default:t=\"squiggly-error\",n=Jc(VNe),i=30,a={color:Jc(j4e),position:Tg.Inline};break}return e.tags&&(e.tags.indexOf(1)!==-1&&(s=\"squiggly-inline-unnecessary\"),e.tags.indexOf(2)!==-1&&(s=\"squiggly-inline-deprecated\")),{description:\"marker-decoration\",stickiness:1,className:t,showIfCollapsed:!0,overviewRuler:{color:n,position:Ig.Right},minimap:a,zIndex:i,inlineClassName:s}}_hasMarkerTag(e,t){return e.tags?e.tags.indexOf(t)>=0:!1}};_U=K7e([yoe(0,Oc),yoe(1,Lb)],_U);class S3{constructor(e,t){this._startLineNumber=e,this._tokens=t,this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}static create(e,t){return new S3(e,new B7(t))}get startLineNumber(){return this._startLineNumber}get endLineNumber(){return this._endLineNumber}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 He(this._startLineNumber+e.startLineNumber,e.startColumn,this._startLineNumber+e.endLineNumber,e.endColumn)}removeTokens(e){const t=e.startLineNumber-this._startLineNumber,n=e.endLineNumber-this._startLineNumber;this._startLineNumber+=this._tokens.removeTokens(t,e.startColumn-1,n,e.endColumn-1),this._updateEndLineNumber()}split(e){const t=e.startLineNumber-this._startLineNumber,n=e.endLineNumber-this._startLineNumber,[i,s,a]=this._tokens.split(t,e.startColumn-1,n,e.endColumn-1);return[new S3(this._startLineNumber,i),new S3(this._startLineNumber+a,s)]}applyEdit(e,t){const[n,i,s]=PD(t);this.acceptEdit(e,n,i,s,t.length>0?t.charCodeAt(0):0)}acceptEdit(e,t,n,i,s){this._acceptDeleteRange(e),this._acceptInsertText(new Ii(e.startLineNumber,e.startColumn),t,n,i,s),this._updateEndLineNumber()}_acceptDeleteRange(e){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return;const t=e.startLineNumber-this._startLineNumber,n=e.endLineNumber-this._startLineNumber;if(n<0){const s=n-t;this._startLineNumber-=s;return}const i=this._tokens.getMaxDeltaLine();if(!(t>=i+1)){if(t<0&&n>=i+1){this._startLineNumber=0,this._tokens.clear();return}if(t<0){const s=-t;this._startLineNumber-=s,this._tokens.acceptDeleteRange(e.startColumn-1,0,0,n,e.endColumn-1)}else this._tokens.acceptDeleteRange(0,t,e.startColumn-1,n,e.endColumn-1)}}_acceptInsertText(e,t,n,i,s){if(t===0&&n===0)return;const a=e.lineNumber-this._startLineNumber;if(a<0){this._startLineNumber+=t;return}const l=this._tokens.getMaxDeltaLine();a>=l+1||this._tokens.acceptInsertText(a,e.column-1,t,n,i,s)}}class B7{constructor(e){this._tokens=e,this._tokenCount=e.length/4}toString(e){const t=[];for(let n=0;n<this._tokenCount;n++)t.push(`(${this._getDeltaLine(n)+e},${this._getStartCharacter(n)}-${this._getEndCharacter(n)})`);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),n=this._getDeltaLine(e-1),i=this._getEndCharacter(e-1);return new He(0,t+1,n,i+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,n=this._getTokenCount()-1;for(;t<n;){const i=t+Math.floor((n-t)/2),s=this._getDeltaLine(i);if(s<e)t=i+1;else if(s>e)n=i-1;else{let a=i;for(;a>t&&this._getDeltaLine(a-1)===e;)a--;let l=i;for(;l<n&&this._getDeltaLine(l+1)===e;)l++;return new boe(this._tokens.subarray(4*a,4*l+4))}}return this._getDeltaLine(t)===e?new boe(this._tokens.subarray(4*t,4*t+4)):null}clear(){this._tokenCount=0}removeTokens(e,t,n,i){const s=this._tokens,a=this._tokenCount;let l=0,u=!1,d=0;for(let h=0;h<a;h++){const p=4*h,g=s[p],y=s[p+1],D=s[p+2],T=s[p+3];if((g>e||g===e&&D>=t)&&(g<n||g===n&&y<=i))u=!0;else{if(l===0&&(d=g),u){const k=4*l;s[k]=g-d,s[k+1]=y,s[k+2]=D,s[k+3]=T}l++}}return this._tokenCount=l,d}split(e,t,n,i){const s=this._tokens,a=this._tokenCount,l=[],u=[];let d=l,h=0,p=0;for(let g=0;g<a;g++){const y=4*g,D=s[y],T=s[y+1],k=s[y+2],I=s[y+3];if(D>e||D===e&&k>=t){if(D<n||D===n&&T<=i)continue;d!==u&&(d=u,h=0,p=D)}d[h++]=D-p,d[h++]=T,d[h++]=k,d[h++]=I}return[new B7(new Uint32Array(l)),new B7(new Uint32Array(u)),p]}acceptDeleteRange(e,t,n,i,s){const a=this._tokens,l=this._tokenCount,u=i-t;let d=0,h=!1;for(let p=0;p<l;p++){const g=4*p;let y=a[g],D=a[g+1],T=a[g+2];const k=a[g+3];if(y<t||y===t&&T<=n){d++;continue}else if(y===t&&D<n)y===i&&T>s?T-=s-n:T=n;else if(y===t&&D===n)if(y===i&&T>s)T-=s-n;else{h=!0;continue}else if(y<i||y===i&&D<s)if(y===i&&T>s)y===t?(D=n,T=D+(T-s)):(D=0,T=D+(T-s));else{h=!0;continue}else if(y>i){if(u===0&&!h){d=l;break}y-=u}else if(y===i&&D>=s)e&&y===0&&(D+=e,T+=e),y-=u,D-=s-n,T-=s-n;else throw new Error(\"Not possible!\");const I=4*d;a[I]=y,a[I+1]=D,a[I+2]=T,a[I+3]=k,d++}this._tokenCount=d}acceptInsertText(e,t,n,i,s,a){const l=n===0&&i===1&&(a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122),u=this._tokens,d=this._tokenCount;for(let h=0;h<d;h++){const p=4*h;let g=u[p],y=u[p+1],D=u[p+2];if(!(g<e||g===e&&D<t)){if(g===e&&D===t)if(l)D+=1;else continue;else if(g===e&&y<t&&t<D)n===0?D+=i:D=t;else{if(g===e&&y===t&&l)continue;if(g===e)if(g+=n,n===0)y+=i,D+=i;else{const T=D-y;y=s+(y-t),D=y+T}else g+=n}u[p]=g,u[p+1]=y,u[p+2]=D}}}}class boe{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 G7e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},YV=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let gU=class{constructor(e,t,n,i){this._legend=e,this._themeService=t,this._languageService=n,this._logService=i,this._hashTable=new sb,this._hasWarnedOverlappingTokens=!1}getMetadata(e,t,n){const i=this._languageService.languageIdCodec.encodeLanguageId(n),s=this._hashTable.get(e,t,i);let a;if(s)a=s.metadata,this._logService.getLevel()===d0.Trace&&this._logService.trace(`SemanticTokensProviderStyling [CACHED] ${e} / ${t}: foreground ${yp.getForeground(a)}, fontStyle ${yp.getFontStyle(a).toString(2)}`);else{let l=this._legend.tokenTypes[e];const u=[];if(l){let d=t;for(let p=0;d>0&&p<this._legend.tokenModifiers.length;p++)d&1&&u.push(this._legend.tokenModifiers[p]),d=d>>1;d>0&&this._logService.getLevel()===d0.Trace&&(this._logService.trace(`SemanticTokensProviderStyling: unknown token modifier index: ${t.toString(2)} for legend: ${JSON.stringify(this._legend.tokenModifiers)}`),u.push(\"not-in-legend\"));const h=this._themeService.getColorTheme().getTokenStyleMetadata(l,u,n);typeof h==\"undefined\"?a=2147483647:(a=0,typeof h.italic!=\"undefined\"&&(a|=(h.italic?1:0)<<10|1),typeof h.bold!=\"undefined\"&&(a|=(h.bold?2:0)<<10|2),typeof h.underline!=\"undefined\"&&(a|=(h.underline?4:0)<<10|4),typeof h.strikethrough!=\"undefined\"&&(a|=(h.strikethrough?8:0)<<10|8),h.foreground&&(a|=h.foreground<<14|16),a===0&&(a=2147483647))}else this._logService.getLevel()===d0.Trace&&this._logService.trace(`SemanticTokensProviderStyling: unknown token type index: ${e} for legend: ${JSON.stringify(this._legend.tokenTypes)}`),a=2147483647,l=\"not-in-legend\";this._hashTable.add(e,t,i,a),this._logService.getLevel()===d0.Trace&&this._logService.trace(`SemanticTokensProviderStyling ${e} (${l}) / ${t} (${u.join(\" \")}): foreground ${yp.getForeground(a)}, fontStyle ${yp.getFontStyle(a).toString(2)}`)}return a}warnOverlappingSemanticTokens(e,t){this._hasWarnedOverlappingTokens||(this._hasWarnedOverlappingTokens=!0,console.warn(`Overlapping semantic tokens detected at lineNumber ${e}, column ${t}`))}};gU=G7e([YV(1,gc),YV(2,Pc),YV(3,km)],gU);function the(o,e,t){const n=o.data,i=o.data.length/5|0,s=Math.max(Math.ceil(i/1024),400),a=[];let l=0,u=1,d=0;for(;l<i;){const h=l;let p=Math.min(h+s,i);if(p<i){let q=p;for(;q-1>h&&n[5*q]===0;)q--;if(q-1===h){let re=p;for(;re+1<i&&n[5*re]===0;)re++;p=re}else p=q}let g=new Uint32Array((p-h)*4),y=0,D=0,T=0,k=0,I=0;for(;l<p;){const q=5*l,re=n[q],Ie=n[q+1],mt=u+re|0,Le=re===0?d+Ie|0:Ie,Ge=n[q+2],qt=n[q+3],gi=n[q+4],ai=e.getMetadata(qt,gi,t);ai!==2147483647&&(D===0&&(D=mt),T===mt&&I>Le&&(e.warnOverlappingSemanticTokens(mt,Le+1),k<Le?g[y-4+2]=Le:y-=4),g[y]=mt-D,g[y+1]=Le,g[y+2]=Le+Ge,g[y+3]=ai,y+=4,T=mt,k=Le,I=Le+Ge),u=mt,d=Le,l++}y!==g.length&&(g=g.subarray(0,y));const F=S3.create(D,g);a.push(F)}return a}class J7e{constructor(e,t,n,i){this.tokenTypeIndex=e,this.tokenModifierSet=t,this.languageId=n,this.metadata=i,this.next=null}}class sb{constructor(){this._elementsCount=0,this._currentLengthIndex=0,this._currentLength=sb._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<sb._SIZES.length?2/3*this._currentLength:0),this._elements=[],sb._nullOutEntries(this._elements,this._currentLength)}static _nullOutEntries(e,t){for(let n=0;n<t;n++)e[n]=null}_hash2(e,t){return(e<<5)-e+t|0}_hashFunc(e,t,n){return this._hash2(this._hash2(e,t),n)%this._currentLength}get(e,t,n){const i=this._hashFunc(e,t,n);let s=this._elements[i];for(;s;){if(s.tokenTypeIndex===e&&s.tokenModifierSet===t&&s.languageId===n)return s;s=s.next}return null}add(e,t,n,i){if(this._elementsCount++,this._growCount!==0&&this._elementsCount>=this._growCount){const s=this._elements;this._currentLengthIndex++,this._currentLength=sb._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<sb._SIZES.length?2/3*this._currentLength:0),this._elements=[],sb._nullOutEntries(this._elements,this._currentLength);for(const a of s){let l=a;for(;l;){const u=l.next;l.next=null,this._add(l),l=u}}}this._add(new J7e(e,t,n,i))}_add(e){const t=this._hashFunc(e.tokenTypeIndex,e.tokenModifierSet,e.languageId);e.next=this._elements[t],this._elements[t]=e}}sb._SIZES=[3,7,13,31,61,127,251,509,1021,2039,4093,8191,16381,32749,65521,131071,262139,524287,1048573,2097143];function Y7e(o){for(let e=0,t=o.length;e<t;e+=4){const n=o[e+0],i=o[e+1],s=o[e+2],a=o[e+3];o[e+0]=a,o[e+1]=s,o[e+2]=i,o[e+3]=n}}function X7e(o){const e=new Uint8Array(o.buffer,o.byteOffset,o.length*4);return Ale()||Y7e(e),DP.wrap(e)}function nhe(o){const e=new Uint32Array(Q7e(o));let t=0;if(e[t++]=o.id,o.type===\"full\")e[t++]=1,e[t++]=o.data.length,e.set(o.data,t),t+=o.data.length;else{e[t++]=2,e[t++]=o.deltas.length;for(const n of o.deltas)e[t++]=n.start,e[t++]=n.deleteCount,n.data?(e[t++]=n.data.length,e.set(n.data,t),t+=n.data.length):e[t++]=0}return X7e(e)}function Q7e(o){let e=0;if(e+=1+1,o.type===\"full\")e+=1+o.data.length;else{e+=1,e+=(1+1+1)*o.deltas.length;for(const t of o.deltas)t.data&&(e+=t.data.length)}return e}var cC=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};function d9(o){return o&&!!o.data}function ihe(o){return o&&Array.isArray(o.edits)}class Z7e{constructor(e,t,n){this.provider=e,this.tokens=t,this.error=n}}function rhe(o,e){return o.has(e)}function ePe(o,e){const t=o.orderedGroups(e);return t.length>0?t[0]:[]}function she(o,e,t,n,i){return cC(this,void 0,void 0,function*(){const s=ePe(o,e),a=yield Promise.all(s.map(l=>cC(this,void 0,void 0,function*(){let u,d=null;try{u=yield l.provideDocumentSemanticTokens(e,l===t?n:null,i)}catch(h){d=h,u=null}return(!u||!d9(u)&&!ihe(u))&&(u=null),new Z7e(l,u,d)})));for(const l of a){if(l.error)throw l.error;if(l.tokens)return l}return a.length>0?a[0]:null})}function tPe(o,e){const t=o.orderedGroups(e);return t.length>0?t[0]:null}class nPe{constructor(e,t){this.provider=e,this.tokens=t}}function iPe(o,e){return o.has(e)}function ohe(o,e){const t=o.orderedGroups(e);return t.length>0?t[0]:[]}function uJ(o,e,t,n){return cC(this,void 0,void 0,function*(){const i=ohe(o,e),s=yield Promise.all(i.map(a=>cC(this,void 0,void 0,function*(){let l;try{l=yield a.provideDocumentRangeSemanticTokens(e,t,n)}catch(u){bh(u),l=null}return(!l||!d9(l))&&(l=null),new nPe(a,l)})));for(const a of s)if(a.tokens)return a;return s.length>0?s[0]:null})}tu.registerCommand(\"_provideDocumentSemanticTokensLegend\",(o,...e)=>cC(void 0,void 0,void 0,function*(){const[t]=e;$u(t instanceof wa);const n=o.get(Oc).getModel(t);if(!n)return;const{documentSemanticTokensProvider:i}=o.get($o),s=tPe(i,n);return s?s[0].getLegend():o.get(Dd).executeCommand(\"_provideDocumentRangeSemanticTokensLegend\",t)}));tu.registerCommand(\"_provideDocumentSemanticTokens\",(o,...e)=>cC(void 0,void 0,void 0,function*(){const[t]=e;$u(t instanceof wa);const n=o.get(Oc).getModel(t);if(!n)return;const{documentSemanticTokensProvider:i}=o.get($o);if(!rhe(i,n))return o.get(Dd).executeCommand(\"_provideDocumentRangeSemanticTokens\",t,n.getFullModelRange());const s=yield she(i,n,null,null,Ll.None);if(!s)return;const{provider:a,tokens:l}=s;if(!l||!d9(l))return;const u=nhe({id:0,type:\"full\",data:l.data});return l.resultId&&a.releaseDocumentSemanticTokens(l.resultId),u}));tu.registerCommand(\"_provideDocumentRangeSemanticTokensLegend\",(o,...e)=>cC(void 0,void 0,void 0,function*(){const[t,n]=e;$u(t instanceof wa);const i=o.get(Oc).getModel(t);if(!i)return;const{documentRangeSemanticTokensProvider:s}=o.get($o),a=ohe(s,i);if(a.length===0)return;if(a.length===1)return a[0].getLegend();if(!n||!He.isIRange(n))return console.warn(\"provideDocumentRangeSemanticTokensLegend might be out-of-sync with provideDocumentRangeSemanticTokens unless a range argument is passed in\"),a[0].getLegend();const l=yield uJ(s,i,He.lift(n),Ll.None);if(!!l)return l.provider.getLegend()}));tu.registerCommand(\"_provideDocumentRangeSemanticTokens\",(o,...e)=>cC(void 0,void 0,void 0,function*(){const[t,n]=e;$u(t instanceof wa),$u(He.isIRange(n));const i=o.get(Oc).getModel(t);if(!i)return;const{documentRangeSemanticTokensProvider:s}=o.get($o),a=yield uJ(s,i,He.lift(n),Ll.None);if(!(!a||!a.tokens))return nhe({id:0,type:\"full\",data:a.tokens.data})}));var cJ=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},uf=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};function fv(o){return o.toString()}function voe(o){const e=new TP,t=o.createSnapshot();let n;for(;n=t.read();)e.update(n);return e.digest()}class rPe{constructor(e,t,n){this._modelEventListeners=new fs,this.model=e,this._languageSelection=null,this._languageSelectionListener=null,this._modelEventListeners.add(e.onWillDispose(()=>t(e))),this._modelEventListeners.add(e.onDidChangeLanguage(i=>n(e,i)))}_disposeLanguageSelection(){this._languageSelectionListener&&(this._languageSelectionListener.dispose(),this._languageSelectionListener=null)}dispose(){this._modelEventListeners.dispose(),this._disposeLanguageSelection()}setLanguage(e){this._disposeLanguageSelection(),this._languageSelection=e,this._languageSelectionListener=this._languageSelection.onDidChange(()=>this.model.setMode(e.languageId)),this.model.setMode(e.languageId)}}const sPe=vp||El?1:2;class oPe{constructor(e,t,n,i,s,a,l,u){this.uri=e,this.initialUndoRedoSnapshot=t,this.time=n,this.sharesUndoRedoStack=i,this.heapSize=s,this.sha1=a,this.versionId=l,this.alternativeVersionId=u}}let j7=class Kk extends fr{constructor(e,t,n,i,s,a,l,u,d){super(),this._configurationService=e,this._resourcePropertiesService=t,this._themeService=n,this._logService=i,this._undoRedoService=s,this._languageService=a,this._languageConfigurationService=l,this._languageFeatureDebounceService=u,this._onModelAdded=this._register(new ri),this.onModelAdded=this._onModelAdded.event,this._onModelRemoved=this._register(new ri),this.onModelRemoved=this._onModelRemoved.event,this._onModelModeChanged=this._register(new ri),this.onModelLanguageChanged=this._onModelModeChanged.event,this._modelCreationOptionsByLanguageAndResource=Object.create(null),this._models={},this._disposedModels=new Map,this._disposedModelsHeapSize=0,this._semanticStyling=this._register(new aPe(this._themeService,this._languageService,this._logService)),this._register(this._configurationService.onDidChangeConfiguration(()=>this._updateModelOptions())),this._updateModelOptions(),this._register(new yU(this._semanticStyling,this,this._themeService,this._configurationService,this._languageFeatureDebounceService,d))}static _readModelOptions(e,t){var n;let i=Op.tabSize;if(e.editor&&typeof e.editor.tabSize!=\"undefined\"){const y=parseInt(e.editor.tabSize,10);isNaN(y)||(i=y),i<1&&(i=1)}let s=i;if(e.editor&&typeof e.editor.indentSize!=\"undefined\"&&e.editor.indentSize!==\"tabSize\"){const y=parseInt(e.editor.indentSize,10);isNaN(y)||(s=y),s<1&&(s=1)}let a=Op.insertSpaces;e.editor&&typeof e.editor.insertSpaces!=\"undefined\"&&(a=e.editor.insertSpaces===\"false\"?!1:Boolean(e.editor.insertSpaces));let l=sPe;const u=e.eol;u===`\\r\n`?l=2:u===`\n`&&(l=1);let d=Op.trimAutoWhitespace;e.editor&&typeof e.editor.trimAutoWhitespace!=\"undefined\"&&(d=e.editor.trimAutoWhitespace===\"false\"?!1:Boolean(e.editor.trimAutoWhitespace));let h=Op.detectIndentation;e.editor&&typeof e.editor.detectIndentation!=\"undefined\"&&(h=e.editor.detectIndentation===\"false\"?!1:Boolean(e.editor.detectIndentation));let p=Op.largeFileOptimizations;e.editor&&typeof e.editor.largeFileOptimizations!=\"undefined\"&&(p=e.editor.largeFileOptimizations===\"false\"?!1:Boolean(e.editor.largeFileOptimizations));let g=Op.bracketPairColorizationOptions;return((n=e.editor)===null||n===void 0?void 0:n.bracketPairColorization)&&typeof e.editor.bracketPairColorization==\"object\"&&(g={enabled:!!e.editor.bracketPairColorization.enabled}),{isForSimpleWidget:t,tabSize:i,indentSize:s,insertSpaces:a,detectIndentation:h,defaultEOL:l,trimAutoWhitespace:d,largeFileOptimizations:p,bracketPairColorizationOptions:g}}_getEOL(e,t){if(e)return this._resourcePropertiesService.getEOL(e,t);const n=this._configurationService.getValue(\"files.eol\",{overrideIdentifier:t});return n&&typeof n==\"string\"&&n!==\"auto\"?n:bg===3||bg===2?`\n`:`\\r\n`}_shouldRestoreUndoStack(){const e=this._configurationService.getValue(\"files.restoreUndoStack\");return typeof e==\"boolean\"?e:!0}getCreationOptions(e,t,n){let i=this._modelCreationOptionsByLanguageAndResource[e+t];if(!i){const s=this._configurationService.getValue(\"editor\",{overrideIdentifier:e,resource:t}),a=this._getEOL(t,e);i=Kk._readModelOptions({editor:s,eol:a},n),this._modelCreationOptionsByLanguageAndResource[e+t]=i}return i}_updateModelOptions(){const e=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);const t=Object.keys(this._models);for(let n=0,i=t.length;n<i;n++){const s=t[n],a=this._models[s],l=a.model.getLanguageId(),u=a.model.uri,d=e[l+u],h=this.getCreationOptions(l,u,a.model.isForSimpleWidget);Kk._setModelOptionsForModel(a.model,h,d)}}static _setModelOptionsForModel(e,t,n){n&&n.defaultEOL!==t.defaultEOL&&e.getLineCount()===1&&e.setEOL(t.defaultEOL===1?0:1),!(n&&n.detectIndentation===t.detectIndentation&&n.insertSpaces===t.insertSpaces&&n.tabSize===t.tabSize&&n.indentSize===t.indentSize&&n.trimAutoWhitespace===t.trimAutoWhitespace&&Eg(n.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(fv(e.uri),e),this._disposedModelsHeapSize+=e.heapSize}_removeDisposedModel(e){const t=this._disposedModels.get(fv(e));return t&&(this._disposedModelsHeapSize-=t.heapSize),this._disposedModels.delete(fv(e)),t}_ensureDisposedModelsHeapSize(e){if(this._disposedModelsHeapSize>e){const t=[];for(this._disposedModels.forEach(n=>{n.sharesUndoRedoStack||t.push(n)}),t.sort((n,i)=>n.time-i.time);t.length>0&&this._disposedModelsHeapSize>e;){const n=t.shift();this._removeDisposedModel(n.uri),n.initialUndoRedoSnapshot!==null&&this._undoRedoService.restoreSnapshot(n.initialUndoRedoSnapshot)}}}_createModelData(e,t,n,i){const s=this.getCreationOptions(t,n,i),a=new xb(e,t,s,n,this._undoRedoService,this._languageService,this._languageConfigurationService);if(n&&this._disposedModels.has(fv(n))){const d=this._removeDisposedModel(n),h=this._undoRedoService.getElements(n),p=voe(a)===d.sha1;if(p||d.sharesUndoRedoStack){for(const g of h.past)ib(g)&&g.matchesResource(n)&&g.setModel(a);for(const g of h.future)ib(g)&&g.matchesResource(n)&&g.setModel(a);this._undoRedoService.setElementsValidFlag(n,!0,g=>ib(g)&&g.matchesResource(n)),p&&(a._overwriteVersionId(d.versionId),a._overwriteAlternativeVersionId(d.alternativeVersionId),a._overwriteInitialUndoRedoSnapshot(d.initialUndoRedoSnapshot))}else d.initialUndoRedoSnapshot!==null&&this._undoRedoService.restoreSnapshot(d.initialUndoRedoSnapshot)}const l=fv(a.uri);if(this._models[l])throw new Error(\"ModelService: Cannot add model because it already exists!\");const u=new rPe(a,d=>this._onWillDispose(d),(d,h)=>this._onDidChangeLanguage(d,h));return this._models[l]=u,u}createModel(e,t,n,i=!1){let s;return t?(s=this._createModelData(e,t.languageId,n,i),this.setMode(s.model,t)):s=this._createModelData(e,ay,n,i),this._onModelAdded.fire(s.model),s.model}setMode(e,t){if(!t)return;const n=this._models[fv(e.uri)];!n||n.setLanguage(t)}getModels(){const e=[],t=Object.keys(this._models);for(let n=0,i=t.length;n<i;n++){const s=t[n];e.push(this._models[s].model)}return e}getModel(e){const t=fv(e),n=this._models[t];return n?n.model:null}getSemanticTokensProviderStyling(e){return this._semanticStyling.get(e)}_schemaShouldMaintainUndoRedoElements(e){return e.scheme===dl.file||e.scheme===dl.vscodeRemote||e.scheme===dl.userData||e.scheme===dl.vscodeNotebookCell||e.scheme===\"fake-fs\"}_onWillDispose(e){const t=fv(e.uri),n=this._models[t],i=this._undoRedoService.getUriComparisonKey(e.uri)!==e.uri.toString();let s=!1,a=0;if(i||this._shouldRestoreUndoStack()&&this._schemaShouldMaintainUndoRedoElements(e.uri)){const u=this._undoRedoService.getElements(e.uri);if(u.past.length>0||u.future.length>0){for(const d of u.past)ib(d)&&d.matchesResource(e.uri)&&(s=!0,a+=d.heapSize(e.uri),d.setModel(e.uri));for(const d of u.future)ib(d)&&d.matchesResource(e.uri)&&(s=!0,a+=d.heapSize(e.uri),d.setModel(e.uri))}}const l=Kk.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK;if(s)if(!i&&a>l){const u=n.model.getInitialUndoRedoSnapshot();u!==null&&this._undoRedoService.restoreSnapshot(u)}else this._ensureDisposedModelsHeapSize(l-a),this._undoRedoService.setElementsValidFlag(e.uri,!1,u=>ib(u)&&u.matchesResource(e.uri)),this._insertDisposedModel(new oPe(e.uri,n.model.getInitialUndoRedoSnapshot(),Date.now(),i,a,voe(e),e.getVersionId(),e.getAlternativeVersionId()));else if(!i){const u=n.model.getInitialUndoRedoSnapshot();u!==null&&this._undoRedoService.restoreSnapshot(u)}delete this._models[t],n.dispose(),delete this._modelCreationOptionsByLanguageAndResource[e.getLanguageId()+e.uri],this._onModelRemoved.fire(e)}_onDidChangeLanguage(e,t){const n=t.oldLanguage,i=e.getLanguageId(),s=this.getCreationOptions(n,e.uri,e.isForSimpleWidget),a=this.getCreationOptions(i,e.uri,e.isForSimpleWidget);Kk._setModelOptionsForModel(e,a,s),this._onModelModeChanged.fire({model:e,oldLanguageId:n})}};j7.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK=20*1024*1024;j7=cJ([uf(0,Uu),uf(1,Tue),uf(2,gc),uf(3,km),uf(4,n9),uf(5,Pc),uf(6,Dp),uf(7,jg),uf(8,$o)],j7);const dJ=\"editor.semanticHighlighting\";function mU(o,e,t){var n;const i=(n=t.getValue(dJ,{overrideIdentifier:o.getLanguageId(),resource:o.uri}))===null||n===void 0?void 0:n.enabled;return typeof i==\"boolean\"?i:e.getColorTheme().semanticHighlighting}let yU=class extends fr{constructor(e,t,n,i,s,a){super(),this._watchers=Object.create(null),this._semanticStyling=e;const l=h=>{this._watchers[h.uri.toString()]=new gL(h,this._semanticStyling,n,s,a)},u=(h,p)=>{p.dispose(),delete this._watchers[h.uri.toString()]},d=()=>{for(let h of t.getModels()){const p=this._watchers[h.uri.toString()];mU(h,n,i)?p||l(h):p&&u(h,p)}};this._register(t.onModelAdded(h=>{mU(h,n,i)&&l(h)})),this._register(t.onModelRemoved(h=>{const p=this._watchers[h.uri.toString()];p&&u(h,p)})),this._register(i.onDidChangeConfiguration(h=>{h.affectsConfiguration(dJ)&&d()})),this._register(n.onDidColorThemeChange(d))}};yU=cJ([uf(1,Oc),uf(2,gc),uf(3,Uu),uf(4,jg),uf(5,$o)],yU);class aPe extends fr{constructor(e,t,n){super(),this._themeService=e,this._languageService=t,this._logService=n,this._caches=new WeakMap,this._register(this._themeService.onDidColorThemeChange(()=>{this._caches=new WeakMap}))}get(e){return this._caches.has(e)||this._caches.set(e,new gU(e.getLegend(),this._themeService,this._languageService,this._logService)),this._caches.get(e)}}class lPe{constructor(e,t,n){this.provider=e,this.resultId=t,this.data=n}dispose(){this.provider.releaseDocumentSemanticTokens(this.resultId)}}let gL=class O2 extends fr{constructor(e,t,n,i,s){super(),this._isDisposed=!1,this._model=e,this._semanticStyling=t,this._provider=s.documentSemanticTokensProvider,this._debounceInformation=i.for(this._provider,\"DocumentSemanticTokens\",{min:O2.REQUEST_MIN_DELAY,max:O2.REQUEST_MAX_DELAY}),this._fetchDocumentSemanticTokens=this._register(new Bu(()=>this._fetchDocumentSemanticTokensNow(),O2.REQUEST_MIN_DELAY)),this._currentDocumentResponse=null,this._currentDocumentRequestCancellationTokenSource=null,this._documentProvidersChangeListeners=[],this._register(this._model.onDidChangeContent(()=>{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 a=()=>{eu(this._documentProvidersChangeListeners),this._documentProvidersChangeListeners=[];for(const l of this._provider.all(e))typeof l.onDidChange==\"function\"&&this._documentProvidersChangeListeners.push(l.onDidChange(()=>this._fetchDocumentSemanticTokens.schedule(0)))};a(),this._register(this._provider.onDidChange(()=>{a(),this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._register(n.onDidColorThemeChange(l=>{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),this._setDocumentSemanticTokens(null,null,null,[]),this._isDisposed=!0,super.dispose()}_fetchDocumentSemanticTokensNow(){if(this._currentDocumentRequestCancellationTokenSource)return;if(!rhe(this._provider,this._model)){this._currentDocumentResponse&&this._model.setSemanticTokens(null,!1);return}const e=new Xh,t=this._currentDocumentResponse?this._currentDocumentResponse.provider:null,n=this._currentDocumentResponse&&this._currentDocumentResponse.resultId||null,i=she(this._provider,this._model,t,n,e.token);this._currentDocumentRequestCancellationTokenSource=e;const s=[],a=this._model.onDidChangeContent(u=>{s.push(u)}),l=new Bf(!1);i.then(u=>{if(this._debounceInformation.update(this._model,l.elapsed()),this._currentDocumentRequestCancellationTokenSource=null,a.dispose(),!u)this._setDocumentSemanticTokens(null,null,null,s);else{const{provider:d,tokens:h}=u,p=this._semanticStyling.get(d);this._setDocumentSemanticTokens(d,h||null,p,s)}},u=>{u&&(ry(u)||typeof u.message==\"string\"&&u.message.indexOf(\"busy\")!==-1)||tl(u),this._currentDocumentRequestCancellationTokenSource=null,a.dispose(),s.length>0&&(this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model)))})}static _copy(e,t,n,i,s){for(let a=0;a<s;a++)n[i+a]=e[t+a]}_setDocumentSemanticTokens(e,t,n,i){const s=this._currentDocumentResponse,a=()=>{i.length>0&&!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||!n){this._model.setSemanticTokens(null,!1);return}if(!t){this._model.setSemanticTokens(null,!0),a();return}if(ihe(t)){if(!s){this._model.setSemanticTokens(null,!0);return}if(t.edits.length===0)t={resultId:t.resultId,data:s.data};else{let l=0;for(const g of t.edits)l+=(g.data?g.data.length:0)-g.deleteCount;const u=s.data,d=new Uint32Array(u.length+l);let h=u.length,p=d.length;for(let g=t.edits.length-1;g>=0;g--){const y=t.edits[g],D=h-(y.start+y.deleteCount);D>0&&(O2._copy(u,h-D,d,p-D,D),p-=D),y.data&&(O2._copy(y.data,0,d,p-y.data.length,y.data.length),p-=y.data.length),h=y.start}h>0&&O2._copy(u,0,d,0,h),t={resultId:t.resultId,data:d}}}if(d9(t)){this._currentDocumentResponse=new lPe(e,t.resultId,t.data);const l=the(t,n,this._model.getLanguageId());if(i.length>0)for(const u of i)for(const d of l)for(const h of u.changes)d.applyEdit(h.range,h.text);this._model.setSemanticTokens(l,!0)}else this._model.setSemanticTokens(null,!0);a()}};gL.REQUEST_MIN_DELAY=300;gL.REQUEST_MAX_DELAY=2e3;gL=cJ([uf(2,gc),uf(3,jg),uf(4,$o)],gL);const uPe=new RegExp(`(\\\\\\\\)?\\\\$\\\\((${df.iconNameExpression}(?:${df.iconModifierExpression})?)\\\\)`,\"g\");function _D(o){const e=new Array;let t,n=0,i=0;for(;(t=uPe.exec(o))!==null;){i=t.index||0,e.push(o.substring(n,i)),n=(t.index||0)+t[0].length;const[,s,a]=t;e.push(s?`$(${a})`:cPe({id:a}))}return n<o.length&&e.push(o.substring(n)),e}function cPe(o){const e=ls(\"span\");return e.classList.add(...df.asClassNameArray(o)),e}const dPe={buttonBackground:Xi.fromHex(\"#0E639C\"),buttonHoverBackground:Xi.fromHex(\"#006BB3\"),buttonForeground:Xi.white};class Coe extends fr{constructor(e,t){super(),this._onDidClick=this._register(new ri),this.options=t||Object.create(null),iy(this.options,dPe,!1),this.buttonForeground=this.options.buttonForeground,this.buttonBackground=this.options.buttonBackground,this.buttonHoverBackground=this.options.buttonHoverBackground,this.buttonSecondaryForeground=this.options.buttonSecondaryForeground,this.buttonSecondaryBackground=this.options.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=this.options.buttonSecondaryHoverBackground,this.buttonBorder=this.options.buttonBorder,this._element=document.createElement(\"a\"),this._element.classList.add(\"monaco-button\"),this._element.tabIndex=0,this._element.setAttribute(\"role\",\"button\"),e.appendChild(this._element),this._register(Iu.addTarget(this._element)),[ca.CLICK,sc.Tap].forEach(n=>{this._register(hs(this._element,n,i=>{if(!this.enabled){xu.stop(i);return}this._onDidClick.fire(i)}))}),this._register(hs(this._element,ca.KEY_DOWN,n=>{const i=new _c(n);let s=!1;this.enabled&&(i.equals(3)||i.equals(10))?(this._onDidClick.fire(n),s=!0):i.equals(9)&&(this._element.blur(),s=!0),s&&xu.stop(i,!0)})),this._register(hs(this._element,ca.MOUSE_OVER,n=>{this._element.classList.contains(\"disabled\")||this.setHoverBackground()})),this._register(hs(this._element,ca.MOUSE_OUT,n=>{this.applyStyles()})),this.focusTracker=this._register(sE(this._element)),this._register(this.focusTracker.onDidFocus(()=>this.setHoverBackground())),this._register(this.focusTracker.onDidBlur(()=>this.applyStyles())),this.applyStyles()}get onDidClick(){return this._onDidClick.event}setHoverBackground(){let e;this.options.secondary?e=this.buttonSecondaryHoverBackground?this.buttonSecondaryHoverBackground.toString():null:e=this.buttonHoverBackground?this.buttonHoverBackground.toString():null,e&&(this._element.style.backgroundColor=e)}style(e){this.buttonForeground=e.buttonForeground,this.buttonBackground=e.buttonBackground,this.buttonHoverBackground=e.buttonHoverBackground,this.buttonSecondaryForeground=e.buttonSecondaryForeground,this.buttonSecondaryBackground=e.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=e.buttonSecondaryHoverBackground,this.buttonBorder=e.buttonBorder,this.applyStyles()}applyStyles(){if(this._element){let e,t;this.options.secondary?(t=this.buttonSecondaryForeground?this.buttonSecondaryForeground.toString():\"\",e=this.buttonSecondaryBackground?this.buttonSecondaryBackground.toString():\"\"):(t=this.buttonForeground?this.buttonForeground.toString():\"\",e=this.buttonBackground?this.buttonBackground.toString():\"\");const n=this.buttonBorder?this.buttonBorder.toString():\"\";this._element.style.color=t,this._element.style.backgroundColor=e,this._element.style.borderWidth=n?\"1px\":\"\",this._element.style.borderStyle=n?\"solid\":\"\",this._element.style.borderColor=n}}get element(){return this._element}set label(e){this._element.classList.add(\"monaco-text-button\"),this.options.supportIcons?tC(this._element,..._D(e)):this._element.textContent=e,typeof this.options.title==\"string\"?this._element.title=this.options.title:this.options.title&&(this._element.title=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\")}}const hPe={badgeBackground:Xi.fromHex(\"#4D4D4D\"),badgeForeground:Xi.fromHex(\"#FFFFFF\")};class bU{constructor(e,t){this.count=0,this.options=t||Object.create(null),iy(this.options,hPe,!1),this.badgeBackground=this.options.badgeBackground,this.badgeForeground=this.options.badgeForeground,this.badgeBorder=this.options.badgeBorder,this.element=Jr(e,ls(\".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(){this.element.textContent=wg(this.countFormat,this.count),this.element.title=wg(this.titleFormat,this.count),this.applyStyles()}style(e){this.badgeBackground=e.badgeBackground,this.badgeForeground=e.badgeForeground,this.badgeBorder=e.badgeBorder,this.applyStyles()}applyStyles(){if(this.element){const e=this.badgeBackground?this.badgeBackground.toString():\"\",t=this.badgeForeground?this.badgeForeground.toString():\"\",n=this.badgeBorder?this.badgeBorder.toString():\"\";this.element.style.backgroundColor=e,this.element.style.color=t,this.element.style.borderWidth=n?\"1px\":\"\",this.element.style.borderStyle=n?\"solid\":\"\",this.element.style.borderColor=n}}}const Doe=\"done\",woe=\"active\",XV=\"infinite\",QV=\"infinite-long-running\",Soe=\"discrete\",pPe={progressBarBackground:Xi.fromHex(\"#0E70C0\")};class h9 extends fr{constructor(e,t){super(),this.options=t||Object.create(null),iy(this.options,pPe,!1),this.workedVal=0,this.progressBarBackground=this.options.progressBarBackground,this.showDelayedScheduler=this._register(new Bu(()=>W_(this.element),0)),this.longRunningScheduler=this._register(new Bu(()=>this.infiniteLongRunning(),h9.LONG_RUNNING_INFINITE_THRESHOLD)),this.create(e)}create(e){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.element.appendChild(this.bit),this.applyStyles()}off(){this.bit.style.width=\"inherit\",this.bit.style.opacity=\"1\",this.element.classList.remove(woe,XV,QV,Soe),this.workedVal=0,this.totalWork=void 0,this.longRunningScheduler.cancel()}stop(){return this.doDone(!1)}doDone(e){return this.element.classList.add(Doe),this.element.classList.contains(XV)?(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(Soe,Doe,QV),this.element.classList.add(woe,XV),this.longRunningScheduler.schedule(),this}infiniteLongRunning(){this.element.classList.add(QV)}getContainer(){return this.element}style(e){this.progressBarBackground=e.progressBarBackground,this.applyStyles()}applyStyles(){if(this.bit){const e=this.progressBarBackground?this.progressBarBackground.toString():\"\";this.bit.style.backgroundColor=e}}}h9.LONG_RUNNING_INFINITE_THRESHOLD=1e4;class hJ{constructor(e){this._prefix=e,this._lastId=0}nextId(){return this._prefix+ ++this._lastId}}const ahe=new hJ(\"id#\");const ZV={},fPe=new hJ(\"quick-input-button-icon-\");function vU(o){if(!o)return;let e;const t=o.dark.toString();return ZV[t]?e=ZV[t]:(e=fPe.nextId(),gz(`.${e}`,`background-image: ${TD(o.light||o.dark)}`),gz(`.vs-dark .${e}, .hc-black .${e}`,`background-image: ${TD(o.dark)}`),ZV[t]=e),e}const _Pe={ctrlCmd:!1,alt:!1};var mL;(function(o){o[o.Blur=1]=\"Blur\",o[o.Gesture=2]=\"Gesture\",o[o.Other=3]=\"Other\"})(mL||(mL={}));var r0;(function(o){o[o.NONE=0]=\"NONE\",o[o.FIRST=1]=\"FIRST\",o[o.SECOND=2]=\"SECOND\",o[o.LAST=3]=\"LAST\"})(r0||(r0={}));function gPe(o,e={}){const t=pJ(e);return t.textContent=o,t}function lhe(o,e={}){const t=pJ(e);return uhe(t,yPe(o,!!e.renderCodeSegments),e.actionHandler,e.renderCodeSegments),t}function pJ(o){const e=o.inline?\"span\":\"div\",t=document.createElement(e);return o.className&&(t.className=o.className),t}class mPe{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 uhe(o,e,t,n){let i;if(e.type===2)i=document.createTextNode(e.content||\"\");else if(e.type===3)i=document.createElement(\"b\");else if(e.type===4)i=document.createElement(\"i\");else if(e.type===7&&n)i=document.createElement(\"code\");else if(e.type===5&&t){const s=document.createElement(\"a\");t.disposables.add(Fh(s,\"click\",a=>{t.callback(String(e.index),a)})),i=s}else e.type===8?i=document.createElement(\"br\"):e.type===1&&(i=o);i&&o!==i&&o.appendChild(i),i&&Array.isArray(e.children)&&e.children.forEach(s=>{uhe(i,s,t,n)})}function yPe(o,e){const t={type:1,children:[]};let n=0,i=t;const s=[],a=new mPe(o);for(;!a.eos();){let l=a.next();const u=l===\"\\\\\"&&CU(a.peek(),e)!==0;if(u&&(l=a.next()),!u&&bPe(l,e)&&l===a.peek()){a.advance(),i.type===2&&(i=s.pop());const d=CU(l,e);if(i.type===d||i.type===5&&d===6)i=s.pop();else{const h={type:d,children:[]};d===5&&(h.index=n,n++),i.children.push(h),s.push(i),i=h}}else if(l===`\n`)i.type===2&&(i=s.pop()),i.children.push({type:8});else if(i.type!==2){const d={type:2,content:l};i.children.push(d),s.push(i),i=d}else i.content+=l}return i.type===2&&(i=s.pop()),t}function bPe(o,e){return CU(o,e)!==0}function CU(o,e){switch(o){case\"*\":return 3;case\"_\":return 4;case\"[\":return 5;case\"]\":return 6;case\"`\":return e?7:0;default:return 0}}class vPe{constructor(e,t=0,n=e.length,i=t-1){this.items=e,this.start=t,this.end=n,this.index=i}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 CPe{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._currentPosition()!==this._elements.length-1?this._navigator.next():null}previous(){return this._currentPosition()!==0?this._navigator.previous():null}current(){return this._navigator.current()}first(){return this._navigator.first()}last(){return this._navigator.last()}has(e){return this._history.has(e)}_onChange(){this._reduceToLimit();const e=this._elements;this._navigator=new vPe(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 Lk=ls,DPe={inputBackground:Xi.fromHex(\"#3C3C3C\"),inputForeground:Xi.fromHex(\"#CCCCCC\"),inputValidationInfoBorder:Xi.fromHex(\"#55AAFF\"),inputValidationInfoBackground:Xi.fromHex(\"#063B49\"),inputValidationWarningBorder:Xi.fromHex(\"#B89500\"),inputValidationWarningBackground:Xi.fromHex(\"#352A05\"),inputValidationErrorBorder:Xi.fromHex(\"#BE1100\"),inputValidationErrorBackground:Xi.fromHex(\"#5A1D1D\")};class che extends Lm{constructor(e,t,n){var i;super(),this.state=\"idle\",this.maxHeight=Number.POSITIVE_INFINITY,this._onDidChange=this._register(new ri),this.onDidChange=this._onDidChange.event,this._onDidHeightChange=this._register(new ri),this.onDidHeightChange=this._onDidHeightChange.event,this.contextViewProvider=t,this.options=n||Object.create(null),iy(this.options,DPe,!1),this.message=null,this.placeholder=this.options.placeholder||\"\",this.tooltip=(i=this.options.tooltip)!==null&&i!==void 0?i:this.placeholder||\"\",this.ariaLabel=this.options.ariaLabel||\"\",this.inputBackground=this.options.inputBackground,this.inputForeground=this.options.inputForeground,this.inputBorder=this.options.inputBorder,this.inputValidationInfoBorder=this.options.inputValidationInfoBorder,this.inputValidationInfoBackground=this.options.inputValidationInfoBackground,this.inputValidationInfoForeground=this.options.inputValidationInfoForeground,this.inputValidationWarningBorder=this.options.inputValidationWarningBorder,this.inputValidationWarningBackground=this.options.inputValidationWarningBackground,this.inputValidationWarningForeground=this.options.inputValidationWarningForeground,this.inputValidationErrorBorder=this.options.inputValidationErrorBorder,this.inputValidationErrorBackground=this.options.inputValidationErrorBackground,this.inputValidationErrorForeground=this.options.inputValidationErrorForeground,this.options.validationOptions&&(this.validation=this.options.validationOptions.validation),this.element=Jr(e,Lk(\".monaco-inputbox.idle\"));let s=this.options.flexibleHeight?\"textarea\":\"input\",a=Jr(this.element,Lk(\".ibwrapper\"));if(this.input=Jr(a,Lk(s+\".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=Jr(a,Lk(\"div.mirror\")),this.mirror.innerText=\"\\xA0\",this.scrollableElement=new Kce(this.element,{vertical:1}),this.options.flexibleWidth&&(this.input.setAttribute(\"wrap\",\"off\"),this.mirror.style.whiteSpace=\"pre\",this.mirror.style.wordWrap=\"initial\"),Jr(e,this.scrollableElement.getDomNode()),this._register(this.scrollableElement),this._register(this.scrollableElement.onScroll(d=>this.input.scrollTop=d.scrollTop));const l=this._register(new Ru(document,\"selectionchange\")),u=Xo.filter(l.event,()=>{const d=document.getSelection();return(d==null?void 0:d.anchorNode)===a});this._register(u(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.ignoreGesture(this.input),setTimeout(()=>this.updateMirror(),0),this.options.actions&&(this.actionbar=this._register(new Z1(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.input.title=e}setAriaLabel(e){this.ariaLabel=e,e?this.input.setAttribute(\"aria-label\",this.ariaLabel):this.input.removeAttribute(\"aria-label\")}getAriaLabel(){return this.ariaLabel}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:_z(this.element)}focus(){this.input.focus()}blur(){this.input.blur()}hasFocus(){return document.activeElement===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}enable(){this.input.removeAttribute(\"disabled\")}disable(){this.blur(),this.input.disabled=!0,this._hideMessage()}get width(){return fm(this.input)}set width(e){if(this.options.flexibleHeight&&this.options.flexibleWidth){let t=0;if(this.mirror){const n=parseFloat(this.mirror.style.paddingLeft||\"\")||0,i=parseFloat(this.mirror.style.paddingRight||\"\")||0;t=n+i}this.input.style.width=e-t+\"px\"}else this.input.style.width=e+\"px\";this.mirror&&(this.mirror.style.width=e+\"px\")}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,n=this.input.scrollTop;this.scrollableElement.setScrollDimensions({scrollHeight:e,height:t}),this.scrollableElement.setScrollPosition({scrollTop:n})}showMessage(e,t){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 n=this.stylesForType(this.message.type);this.element.style.border=n.border?`1px solid ${n.border}`:\"\",(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){switch(e){case 1:return{border:this.inputValidationInfoBorder,background:this.inputValidationInfoBackground,foreground:this.inputValidationInfoForeground};case 2:return{border:this.inputValidationWarningBorder,background:this.inputValidationWarningBackground,foreground:this.inputValidationWarningForeground};default:return{border:this.inputValidationErrorBorder,background:this.inputValidationErrorBackground,foreground:this.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,t=()=>e.style.width=fm(this.element)+\"px\";this.contextViewProvider.showContextView({getAnchor:()=>this.element,anchorAlignment:1,render:i=>{if(!this.message)return null;e=Jr(i,Lk(\".monaco-inputbox-container\")),t();const s={inline:!0,className:\"monaco-inputbox-message\"},a=this.message.formatContent?lhe(this.message.content,s):gPe(this.message.content,s);a.classList.add(this.classForType(this.message.type));const l=this.stylesForType(this.message.type);return a.style.backgroundColor=l.background?l.background.toString():\"\",a.style.color=l.foreground?l.foreground.toString():\"\",a.style.border=l.border?`1px solid ${l.border}`:\"\",Jr(e,a),null},onHide:()=>{this.state=\"closed\"},layout:t});let n;this.message.type===3?n=w(\"alertErrorMessage\",\"Error: {0}\",this.message.content):this.message.type===2?n=w(\"alertWarningMessage\",\"Warning: {0}\",this.message.content):n=w(\"alertInfoMessage\",\"Info: {0}\",this.message.content),Jh(n),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,n=e.charCodeAt(e.length-1)===10?\" \":\"\";(e+n).replace(/\\u000c/g,\"\")?this.mirror.textContent=e+n:this.mirror.innerText=\"\\xA0\",this.layout()}style(e){this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){const e=this.inputBackground?this.inputBackground.toString():\"\",t=this.inputForeground?this.inputForeground.toString():\"\",n=this.inputBorder?this.inputBorder.toString():\"\";this.element.style.backgroundColor=e,this.element.style.color=t,this.input.style.backgroundColor=\"inherit\",this.input.style.color=t,this.element.style.borderWidth=n?\"1px\":\"\",this.element.style.borderStyle=n?\"solid\":\"\",this.element.style.borderColor=n}layout(){if(!this.mirror)return;const e=this.cachedContentHeight;this.cachedContentHeight=_z(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,n=t.selectionStart,i=t.selectionEnd,s=t.value;n!==null&&i!==null&&(this.value=s.substr(0,n)+e+s.substr(i),t.setSelectionRange(n+1,n+1),this.layout())}dispose(){this._hideMessage(),this.message=null,this.actionbar&&this.actionbar.dispose(),super.dispose()}}class dhe extends che{constructor(e,t,n){const i=w({key:\"history.inputbox.hint\",comment:[\"Text will be prefixed with \\u21C5 plus a single space, then used as a hint where input field keeps history\"]},\"for history\"),s=` or \\u21C5 ${i}`,a=` (\\u21C5 ${i})`;super(e,t,n),this.history=new CPe(n.history,100);const l=()=>{if(n.showHistoryHint&&n.showHistoryHint()&&!this.placeholder.endsWith(s)&&!this.placeholder.endsWith(a)&&this.history.getHistory().length){const u=this.placeholder.endsWith(\")\")?s:a,d=this.placeholder+u;n.showPlaceholderOnFocus&&document.activeElement!==this.input?this.placeholder=d:this.setPlaceHolder(d)}};this.observer=new MutationObserver((u,d)=>{u.forEach(h=>{h.target.textContent||l()})}),this.observer.observe(this.input,{attributeFilter:[\"class\"]}),this.onfocus(this.input,()=>l()),this.onblur(this.input,()=>{const u=d=>{if(this.placeholder.endsWith(d)){const h=this.placeholder.slice(0,this.placeholder.length-d.length);return n.showPlaceholderOnFocus?this.placeholder=h:this.setPlaceHolder(h),!0}else return!1};u(a)||u(s)})}dispose(){super.dispose(),this.observer&&(this.observer.disconnect(),this.observer=void 0)}addToHistory(){this.value&&this.value!==this.getCurrentValue()&&this.history.add(this.value)}showNextValue(){this.history.has(this.value)||this.addToHistory();let e=this.getNextValue();e&&(e=e===this.value?this.getNextValue():e),e&&(this.value=e,X8(this.value))}showPreviousValue(){this.history.has(this.value)||this.addToHistory();let e=this.getPreviousValue();e&&(e=e===this.value?this.getPreviousValue():e),e&&(this.value=e,X8(this.value))}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()||this.history.last()}}const wPe=ls;class SPe extends fr{constructor(e){super(),this.parent=e,this.onKeyDown=t=>hs(this.inputBox.inputElement,ca.KEY_DOWN,n=>{t(new _c(n))}),this.onMouseDown=t=>hs(this.inputBox.inputElement,ca.MOUSE_DOWN,n=>{t(new Sg(n))}),this.onDidChange=t=>this.inputBox.onDidChange(t),this.container=Jr(this.parent,wPe(\".quick-input-box\")),this.inputBox=this._register(new che(this.container,void 0))}get value(){return this.inputBox.value}set value(e){this.inputBox.value=e}select(e=null){this.inputBox.select(e)}isSelectionAtEnd(){return this.inputBox.isSelectionAtEnd()}get placeholder(){return this.inputBox.inputElement.getAttribute(\"placeholder\")||\"\"}set placeholder(e){this.inputBox.setPlaceHolder(e)}get ariaLabel(){return this.inputBox.getAriaLabel()}set ariaLabel(e){this.inputBox.setAriaLabel(e)}get password(){return this.inputBox.inputElement.type===\"password\"}set password(e){this.inputBox.inputElement.type=e?\"password\":\"text\"}setAttribute(e,t){this.inputBox.inputElement.setAttribute(e,t)}removeAttribute(e){this.inputBox.inputElement.removeAttribute(e)}showDecoration(e){e===Nc.Ignore?this.inputBox.hideMessage():this.inputBox.showMessage({type:e===Nc.Info?1:e===Nc.Warning?2:3,content:\"\"})}stylesForType(e){return this.inputBox.stylesForType(e===Nc.Info?1:e===Nc.Warning?2:3)}setFocus(){this.inputBox.focus()}layout(){this.inputBox.layout()}style(e){this.inputBox.style(e)}}class RD{constructor(e,t){var n;this.text=\"\",this.title=\"\",this.highlights=[],this.didEverRender=!1,this.supportIcons=(n=t==null?void 0:t.supportIcons)!==null&&n!==void 0?n:!1,this.domNode=Jr(e,ls(\"span.monaco-highlighted-label\"))}get element(){return this.domNode}set(e,t=[],n=\"\",i){e||(e=\"\"),i&&(e=RD.escapeNewLines(e,t)),!(this.didEverRender&&this.text===e&&this.title===n&&Eg(this.highlights,t))&&(this.text=e,this.title=n,this.highlights=t,this.render())}render(){const e=[];let t=0;for(const n of this.highlights){if(n.end===n.start)continue;if(t<n.start){const a=this.text.substring(t,n.start);e.push(ls(\"span\",void 0,...this.supportIcons?_D(a):[a])),t=n.end}const i=this.text.substring(n.start,n.end),s=ls(\"span.highlight\",void 0,...this.supportIcons?_D(i):[i]);n.extraClasses&&s.classList.add(...n.extraClasses),e.push(s),t=n.end}if(t<this.text.length){const n=this.text.substring(t);e.push(ls(\"span\",void 0,...this.supportIcons?_D(n):[n]))}tC(this.domNode,...e),this.title?this.domNode.title=this.title:this.domNode.removeAttribute(\"title\"),this.didEverRender=!0}static escapeNewLines(e,t){let n=0,i=0;return e.replace(/\\r\\n|\\r|\\n/g,(s,a)=>{i=s===`\\r\n`?-1:0,a+=n;for(const l of t)l.end<=a||(l.start>=a&&(l.start+=i),l.end>=a&&(l.end+=i));return n+=i,\"\\u23CE\"})}}class H_{constructor(e=\"\",t=!1){var n,i,s;if(this.value=e,typeof this.value!=\"string\")throw f0(\"value\");typeof t==\"boolean\"?(this.isTrusted=t,this.supportThemeIcons=!1,this.supportHtml=!1):(this.isTrusted=(n=t.isTrusted)!==null&&n!==void 0?n:void 0,this.supportThemeIcons=(i=t.supportThemeIcons)!==null&&i!==void 0?i:!1,this.supportHtml=(s=t.supportHtml)!==null&&s!==void 0?s:!1)}appendText(e,t=0){return this.value+=xPe(this.supportThemeIcons?I7e(e):e).replace(/([ \\t]+)/g,(n,i)=>\"&nbsp;\".repeat(i.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```\",this.value+=e,this.value+=`\n`,this.value+=t,this.value+=\"\\n```\\n\",this}}function yE(o){return hhe(o)?!o.value:Array.isArray(o)?o.every(yE):!0}function hhe(o){return o instanceof H_?!0:o&&typeof o==\"object\"?typeof o.value==\"string\"&&(typeof o.isTrusted==\"boolean\"||o.isTrusted===void 0)&&(typeof o.supportThemeIcons==\"boolean\"||o.supportThemeIcons===void 0):!1}function xPe(o){return o.replace(/[\\\\`*_{}[\\]()#+\\-!]/g,\"\\\\$&\")}function eH(o){return o&&o.replace(/\\\\([\\\\`*_{}[\\]()#+\\-.!])/g,\"$1\")}function EPe(o){const e=[],t=o.split(\"|\").map(i=>i.trim());o=t[0];const n=t[1];if(n){const i=/height=(\\d+)/.exec(n),s=/width=(\\d+)/.exec(n),a=i?i[1]:\"\",l=s?s[1]:\"\",u=isFinite(parseInt(l)),d=isFinite(parseInt(a));u&&e.push(`width=\"${l}\"`),d&&e.push(`height=\"${a}\"`)}return{href:o,dimensions:e}}var DU=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};function TPe(o,e){Lg(e)?o.title=oJ(e):e!=null&&e.markdownNotSupportedFallback?o.title=e.markdownNotSupportedFallback:o.removeAttribute(\"title\")}class APe{constructor(e,t,n){this.hoverDelegate=e,this.target=t,this.fadeInAnimation=n}update(e,t){var n;return DU(this,void 0,void 0,function*(){if(this._cancellationTokenSource&&(this._cancellationTokenSource.dispose(!0),this._cancellationTokenSource=void 0),this.isDisposed)return;let i;if(e===void 0||Lg(e)||e instanceof HTMLElement)i=e;else if(!F8(e.markdown))i=(n=e.markdown)!==null&&n!==void 0?n:e.markdownNotSupportedFallback;else{this._hoverWidget||this.show(w(\"iconLabel.loading\",\"Loading...\"),t),this._cancellationTokenSource=new Xh;const s=this._cancellationTokenSource.token;if(i=yield e.markdown(s),i===void 0&&(i=e.markdownNotSupportedFallback),this.isDisposed||s.isCancellationRequested)return}this.show(i,t)})}show(e,t){const n=this._hoverWidget;if(this.hasContent(e)){const i={content:e,target:this.target,showPointer:this.hoverDelegate.placement===\"element\",hoverPosition:2,skipFadeInAnimation:!this.fadeInAnimation||!!n};this._hoverWidget=this.hoverDelegate.showHover(i,t)}n==null||n.dispose()}hasContent(e){return e?hhe(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}}function kPe(o,e,t){let n,i;const s=(h,p)=>{var g;h&&(i==null||i.dispose(),i=void 0),p&&(n==null||n.dispose(),n=void 0),(g=o.onDidHideHover)===null||g===void 0||g.call(o)},a=(h,p,g)=>new g_(()=>DU(this,void 0,void 0,function*(){(!i||i.isDisposed)&&(i=new APe(o,g||e,h>0),yield i.update(t,p))}),h),l=()=>{if(n)return;const h=new fs,p=D=>s(!1,D.fromElement===e);h.add(hs(e,ca.MOUSE_LEAVE,p,!0));const g=()=>s(!0,!0);h.add(hs(e,ca.MOUSE_DOWN,g,!0));const y={targetElements:[e],dispose:()=>{}};if(o.placement===void 0||o.placement===\"mouse\"){const D=T=>y.x=T.x+10;h.add(hs(e,ca.MOUSE_MOVE,D,!0))}h.add(a(o.delay,!1,y)),n=h},u=hs(e,ca.MOUSE_OVER,l,!0);return{show:h=>{s(!1,!0),a(0,h)},hide:()=>{s(!0,!0)},update:h=>DU(this,void 0,void 0,function*(){t=h,yield i==null?void 0:i.update(t)}),dispose:()=>{u.dispose(),s(!0,!0)}}}class tH{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 W7 extends fr{constructor(e,t){super(),this.customHovers=new Map,this.domNode=this._register(new tH(Jr(e,ls(\".monaco-icon-label\")))),this.labelContainer=Jr(this.domNode.element,ls(\".monaco-icon-label-container\"));const n=Jr(this.labelContainer,ls(\"span.monaco-icon-name-container\"));this.descriptionContainer=this._register(new tH(Jr(this.labelContainer,ls(\"span.monaco-icon-description-container\")))),(t==null?void 0:t.supportHighlights)||(t==null?void 0:t.supportIcons)?this.nameNode=new IPe(n,!!t.supportIcons):this.nameNode=new LPe(n),t!=null&&t.supportDescriptionHighlights?this.descriptionNodeFactory=()=>new RD(Jr(this.descriptionContainer.element,ls(\"span.label-description\")),{supportIcons:!!t.supportIcons}):this.descriptionNodeFactory=()=>this._register(new tH(Jr(this.descriptionContainer.element,ls(\"span.label-description\")))),this.hoverDelegate=t==null?void 0:t.hoverDelegate}get element(){return this.domNode.element}setLabel(e,t,n){const i=[\"monaco-icon-label\"];n&&(n.extraClasses&&i.push(...n.extraClasses),n.italic&&i.push(\"italic\"),n.strikethrough&&i.push(\"strikethrough\")),this.domNode.className=i.join(\" \"),this.setupHover(n!=null&&n.descriptionTitle?this.labelContainer:this.element,n==null?void 0:n.title),this.nameNode.setLabel(e,n),(t||this.descriptionNode)&&(this.descriptionNode||(this.descriptionNode=this.descriptionNodeFactory()),this.descriptionNode instanceof RD?(this.descriptionNode.set(t||\"\",n?n.descriptionMatches:void 0),this.setupHover(this.descriptionNode.element,n==null?void 0:n.descriptionTitle)):(this.descriptionNode.textContent=t||\"\",this.setupHover(this.descriptionNode.element,(n==null?void 0:n.descriptionTitle)||\"\"),this.descriptionNode.empty=!t))}setupHover(e,t){const n=this.customHovers.get(e);if(n&&(n.dispose(),this.customHovers.delete(e)),!t){e.removeAttribute(\"title\");return}if(!this.hoverDelegate)TPe(e,t);else{const i=kPe(this.hoverDelegate,e,t);i&&this.customHovers.set(e,i)}}dispose(){super.dispose();for(const e of this.customHovers.values())e.dispose();this.customHovers.clear()}}class LPe{constructor(e){this.container=e,this.label=void 0,this.singleLabel=void 0}setLabel(e,t){if(!(this.label===e&&Eg(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=Jr(this.container,ls(\"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 n=0;n<e.length;n++){const i=e[n],s=(t==null?void 0:t.domId)&&`${t==null?void 0:t.domId}_${n}`;Jr(this.container,ls(\"a.label-name\",{id:s,\"data-icon-label-count\":e.length,\"data-icon-label-index\":n,role:\"treeitem\"},i)),n<e.length-1&&Jr(this.container,ls(\"span.label-separator\",void 0,(t==null?void 0:t.separator)||\"/\"))}}}}function NPe(o,e,t){if(!t)return;let n=0;return o.map(i=>{const s={start:n,end:n+i.length},a=t.map(l=>fp.intersect(s,l)).filter(l=>!fp.isEmpty(l)).map(({start:l,end:u})=>({start:l-n,end:u-n}));return n=s.end+e.length,a})}class IPe{constructor(e,t){this.container=e,this.supportIcons=t,this.label=void 0,this.singleLabel=void 0}setLabel(e,t){if(!(this.label===e&&Eg(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=new RD(Jr(this.container,ls(\"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 n=(t==null?void 0:t.separator)||\"/\",i=NPe(e,n,t==null?void 0:t.matches);for(let s=0;s<e.length;s++){const a=e[s],l=i?i[s]:void 0,u=(t==null?void 0:t.domId)&&`${t==null?void 0:t.domId}_${s}`,d=ls(\"a.label-name\",{id:u,\"data-icon-label-count\":e.length,\"data-icon-label-index\":s,role:\"treeitem\"});new RD(Jr(this.container,d),{supportIcons:this.supportIcons}).set(a,l,void 0,t==null?void 0:t.labelEscapeNewLines),s<e.length-1&&Jr(d,ls(\"span.label-separator\",void 0,n))}}}}const b5=ls;class fJ{constructor(e,t,n){this.os=t,this.keyElements=new Set,this.options=n||Object.create(null),this.labelBackground=this.options.keybindingLabelBackground,this.labelForeground=this.options.keybindingLabelForeground,this.labelBorder=this.options.keybindingLabelBorder,this.labelBottomBorder=this.options.keybindingLabelBottomBorder,this.labelShadow=this.options.keybindingLabelShadow,this.domNode=Jr(e,b5(\".monaco-keybinding\")),this.didEverRender=!1,e.appendChild(this.domNode)}get element(){return this.domNode}set(e,t){this.didEverRender&&this.keybinding===e&&fJ.areSame(this.matches,t)||(this.keybinding=e,this.matches=t,this.render())}render(){if(this.clear(),this.keybinding){let[e,t]=this.keybinding.getParts();e&&this.renderPart(this.domNode,e,this.matches?this.matches.firstPart:null),t&&(Jr(this.domNode,b5(\"span.monaco-keybinding-key-chord-separator\",void 0,\" \")),this.renderPart(this.domNode,t,this.matches?this.matches.chordPart:null)),this.domNode.title=this.keybinding.getAriaLabel()||\"\"}else this.options&&this.options.renderUnboundKeybindings&&this.renderUnbound(this.domNode);this.applyStyles(),this.didEverRender=!0}clear(){nh(this.domNode),this.keyElements.clear()}renderPart(e,t,n){const i=XG.modifierLabels[this.os];t.ctrlKey&&this.renderKey(e,i.ctrlKey,Boolean(n==null?void 0:n.ctrlKey),i.separator),t.shiftKey&&this.renderKey(e,i.shiftKey,Boolean(n==null?void 0:n.shiftKey),i.separator),t.altKey&&this.renderKey(e,i.altKey,Boolean(n==null?void 0:n.altKey),i.separator),t.metaKey&&this.renderKey(e,i.metaKey,Boolean(n==null?void 0:n.metaKey),i.separator);const s=t.keyLabel;s&&this.renderKey(e,s,Boolean(n==null?void 0:n.keyCode),\"\")}renderKey(e,t,n,i){Jr(e,this.createKeyElement(t,n?\".highlight\":\"\")),i&&Jr(e,b5(\"span.monaco-keybinding-key-separator\",void 0,i))}renderUnbound(e){Jr(e,this.createKeyElement(w(\"unbound\",\"Unbound\")))}createKeyElement(e,t=\"\"){const n=b5(\"span.monaco-keybinding-key\"+t,void 0,e);return this.keyElements.add(n),n}style(e){this.labelBackground=e.keybindingLabelBackground,this.labelForeground=e.keybindingLabelForeground,this.labelBorder=e.keybindingLabelBorder,this.labelBottomBorder=e.keybindingLabelBottomBorder,this.labelShadow=e.keybindingLabelShadow,this.applyStyles()}applyStyles(){var e;if(this.element){for(const t of this.keyElements)this.labelBackground&&(t.style.backgroundColor=(e=this.labelBackground)===null||e===void 0?void 0:e.toString()),this.labelBorder&&(t.style.borderColor=this.labelBorder.toString()),this.labelBottomBorder&&(t.style.borderBottomColor=this.labelBottomBorder.toString()),this.labelShadow&&(t.style.boxShadow=`inset 0 -1px 0 ${this.labelShadow}`);this.labelForeground&&(this.element.style.color=this.labelForeground.toString())}}static areSame(e,t){return e===t||!e&&!t?!0:!!e&&!!t&&Eg(e.firstPart,t.firstPart)&&Eg(e.chordPart,t.chordPart)}}const xoe=new Bv(()=>{const o=new Intl.Collator(void 0,{numeric:!0,sensitivity:\"base\"});return{collator:o,collatorIsNumeric:o.resolvedOptions().numeric}});new Bv(()=>({collator:new Intl.Collator(void 0,{numeric:!0})}));new Bv(()=>({collator:new Intl.Collator(void 0,{numeric:!0,sensitivity:\"accent\"})}));function FPe(o,e,t=!1){const n=o||\"\",i=e||\"\",s=xoe.value.collator.compare(n,i);return xoe.value.collatorIsNumeric&&s===0&&n!==i?n<i?-1:1:s}function PPe(o,e,t){const n=o.toLowerCase(),i=e.toLowerCase(),s=OPe(o,e,t);if(s)return s;const a=n.endsWith(t),l=i.endsWith(t);if(a!==l)return a?-1:1;const u=FPe(n,i);return u!==0?u:n.localeCompare(i)}function OPe(o,e,t){const n=o.toLowerCase(),i=e.toLowerCase(),s=n.startsWith(t),a=i.startsWith(t);if(s!==a)return s?-1:1;if(s&&a){if(n.length<i.length)return-1;if(n.length>i.length)return 1}return 0}var phe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},MPe=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};const m1=ls;class RPe{constructor(e){this.hidden=!1,this._onChecked=new ri,this.onChecked=this._onChecked.event,Object.assign(this,e)}get checked(){return!!this._checked}set checked(e){e!==this._checked&&(this._checked=e,this._onChecked.fire(e))}dispose(){this._onChecked.dispose()}}class p4{get templateId(){return p4.ID}renderTemplate(e){const t=Object.create(null);t.toDisposeElement=[],t.toDisposeTemplate=[],t.entry=Jr(e,m1(\".quick-input-list-entry\"));const n=Jr(t.entry,m1(\"label.quick-input-list-label\"));t.toDisposeTemplate.push(Fh(n,ca.CLICK,d=>{t.checkbox.offsetParent||d.preventDefault()})),t.checkbox=Jr(n,m1(\"input.quick-input-list-checkbox\")),t.checkbox.type=\"checkbox\",t.toDisposeTemplate.push(Fh(t.checkbox,ca.CHANGE,d=>{t.element.checked=t.checkbox.checked}));const i=Jr(n,m1(\".quick-input-list-rows\")),s=Jr(i,m1(\".quick-input-list-row\")),a=Jr(i,m1(\".quick-input-list-row\"));t.label=new W7(s,{supportHighlights:!0,supportDescriptionHighlights:!0,supportIcons:!0});const l=Jr(s,m1(\".quick-input-list-entry-keybinding\"));t.keybinding=new fJ(l,bg);const u=Jr(a,m1(\".quick-input-list-label-meta\"));return t.detail=new W7(u,{supportHighlights:!0,supportIcons:!0}),t.separator=Jr(t.entry,m1(\".quick-input-list-separator\")),t.actionBar=new Z1(t.entry),t.actionBar.domNode.classList.add(\"quick-input-list-entry-action-bar\"),t.toDisposeTemplate.push(t.actionBar),t}renderElement(e,t,n){n.toDisposeElement=eu(n.toDisposeElement),n.element=e,n.checkbox.checked=e.checked,n.toDisposeElement.push(e.onChecked(d=>n.checkbox.checked=d));const{labelHighlights:i,descriptionHighlights:s,detailHighlights:a}=e,l=Object.create(null);l.matches=i||[],l.descriptionTitle=e.saneDescription,l.descriptionMatches=s||[],l.extraClasses=e.item.iconClasses,l.italic=e.item.italic,l.strikethrough=e.item.strikethrough,n.label.setLabel(e.saneLabel,e.saneDescription,l),n.keybinding.set(e.item.keybinding),e.saneDetail&&n.detail.setLabel(e.saneDetail,void 0,{matches:a,title:e.saneDetail}),e.separator&&e.separator.label?(n.separator.textContent=e.separator.label,n.separator.style.display=\"\"):n.separator.style.display=\"none\",n.entry.classList.toggle(\"quick-input-list-separator-border\",!!e.separator),n.actionBar.clear();const u=e.item.buttons;u&&u.length?(n.actionBar.push(u.map((d,h)=>{let p=d.iconClass||(d.iconPath?vU(d.iconPath):void 0);d.alwaysVisible&&(p=p?`${p} always-visible`:\"always-visible\");const g=new h_(`id-${h}`,\"\",p,!0,()=>MPe(this,void 0,void 0,function*(){e.fireButtonTriggered({button:d,item:e.item})}));return g.tooltip=d.tooltip||\"\",g}),{icon:!0,label:!1}),n.entry.classList.add(\"has-actions\")):n.entry.classList.remove(\"has-actions\")}disposeElement(e,t,n){n.toDisposeElement=eu(n.toDisposeElement)}disposeTemplate(e){e.toDisposeElement=eu(e.toDisposeElement),e.toDisposeTemplate=eu(e.toDisposeTemplate)}}p4.ID=\"listelement\";class BPe{getHeight(e){return e.saneDetail?44:22}getTemplateId(e){return p4.ID}}var yd;(function(o){o[o.First=1]=\"First\",o[o.Second=2]=\"Second\",o[o.Last=3]=\"Last\",o[o.Next=4]=\"Next\",o[o.Previous=5]=\"Previous\",o[o.NextPage=6]=\"NextPage\",o[o.PreviousPage=7]=\"PreviousPage\"})(yd||(yd={}));class _J{constructor(e,t,n){this.parent=e,this.inputElements=[],this.elements=[],this.elementsToIndexes=new Map,this.matchOnDescription=!1,this.matchOnDetail=!1,this.matchOnLabel=!0,this.matchOnMeta=!0,this.sortByLabel=!0,this._onChangedAllVisibleChecked=new ri,this.onChangedAllVisibleChecked=this._onChangedAllVisibleChecked.event,this._onChangedCheckedCount=new ri,this.onChangedCheckedCount=this._onChangedCheckedCount.event,this._onChangedVisibleCount=new ri,this.onChangedVisibleCount=this._onChangedVisibleCount.event,this._onChangedCheckedElements=new ri,this.onChangedCheckedElements=this._onChangedCheckedElements.event,this._onButtonTriggered=new ri,this.onButtonTriggered=this._onButtonTriggered.event,this._onKeyDown=new ri,this.onKeyDown=this._onKeyDown.event,this._onLeave=new ri,this.onLeave=this._onLeave.event,this._fireCheckedEvents=!0,this.elementDisposables=[],this.disposables=[],this.id=t,this.container=Jr(this.parent,m1(\".quick-input-list\"));const i=new BPe,s=new WPe;this.list=n.createList(\"QuickInput\",this.container,i,[new p4],{identityProvider:{getId:a=>a.saneLabel},setRowLineHeight:!1,multipleSelectionSupport:!1,horizontalScrolling:!1,accessibilityProvider:s}),this.list.getHTMLElement().id=t,this.disposables.push(this.list),this.disposables.push(this.list.onKeyDown(a=>{const l=new _c(a);switch(l.keyCode){case 10:this.toggleCheckbox();break;case 31:(El?a.metaKey:a.ctrlKey)&&this.list.setFocus(af(this.list.length));break;case 16:{const u=this.list.getFocus();u.length===1&&u[0]===0&&this._onLeave.fire();break}case 18:{const u=this.list.getFocus();u.length===1&&u[0]===this.list.length-1&&this._onLeave.fire();break}}this._onKeyDown.fire(l)})),this.disposables.push(this.list.onMouseDown(a=>{a.browserEvent.button!==2&&a.browserEvent.preventDefault()})),this.disposables.push(hs(this.container,ca.CLICK,a=>{(a.x||a.y)&&this._onLeave.fire()})),this.disposables.push(this.list.onMouseMiddleClick(a=>{this._onLeave.fire()})),this.disposables.push(this.list.onContextMenu(a=>{typeof a.index==\"number\"&&(a.browserEvent.preventDefault(),this.list.setSelection([a.index]))})),this.disposables.push(this._onChangedAllVisibleChecked,this._onChangedCheckedCount,this._onChangedVisibleCount,this._onChangedCheckedElements,this._onButtonTriggered,this._onLeave,this._onKeyDown)}get onDidChangeFocus(){return Xo.map(this.list.onDidChangeFocus,e=>e.elements.map(t=>t.item))}get onDidChangeSelection(){return Xo.map(this.list.onDidChangeSelection,e=>({items:e.elements.map(t=>t.item),event:e.browserEvent}))}get scrollTop(){return this.list.scrollTop}set scrollTop(e){this.list.scrollTop=e}getAllVisibleChecked(){return this.allVisibleChecked(this.elements,!1)}allVisibleChecked(e,t=!0){for(let n=0,i=e.length;n<i;n++){const s=e[n];if(!s.hidden)if(s.checked)t=!0;else return!1}return t}getCheckedCount(){let e=0;const t=this.elements;for(let n=0,i=t.length;n<i;n++)t[n].checked&&e++;return e}getVisibleCount(){let e=0;const t=this.elements;for(let n=0,i=t.length;n<i;n++)t[n].hidden||e++;return e}setAllVisibleChecked(e){try{this._fireCheckedEvents=!1,this.elements.forEach(t=>{t.hidden||(t.checked=e)})}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}setElements(e){this.elementDisposables=eu(this.elementDisposables);const t=n=>this.fireButtonTriggered(n);this.inputElements=e,this.elements=e.reduce((n,i,s)=>{var a,l,u;if(i.type!==\"separator\"){const d=s&&e[s-1],h=i.label&&i.label.replace(/\\r?\\n/g,\" \"),p=i.meta&&i.meta.replace(/\\r?\\n/g,\" \"),g=i.description&&i.description.replace(/\\r?\\n/g,\" \"),y=i.detail&&i.detail.replace(/\\r?\\n/g,\" \"),D=i.ariaLabel||[h,g,y].map(k=>ZTe(k)).filter(k=>!!k).join(\", \"),T=this.parent.classList.contains(\"show-checkboxes\");n.push(new RPe({hasCheckbox:T,index:s,item:i,saneLabel:h,saneMeta:p,saneAriaLabel:D,saneDescription:g,saneDetail:y,labelHighlights:(a=i.highlights)===null||a===void 0?void 0:a.label,descriptionHighlights:(l=i.highlights)===null||l===void 0?void 0:l.description,detailHighlights:(u=i.highlights)===null||u===void 0?void 0:u.detail,checked:!1,separator:d&&d.type===\"separator\"?d:void 0,fireButtonTriggered:t}))}return n},[]),this.elementDisposables.push(...this.elements),this.elementDisposables.push(...this.elements.map(n=>n.onChecked(()=>this.fireCheckedEvents()))),this.elementsToIndexes=this.elements.reduce((n,i,s)=>(n.set(i.item,s),n),new Map),this.list.splice(0,this.list.length),this.list.splice(0,this.list.length,this.elements),this._onChangedVisibleCount.fire(this.elements.length)}getFocusedElements(){return this.list.getFocusedElements().map(e=>e.item)}setFocusedElements(e){if(this.list.setFocus(e.filter(t=>this.elementsToIndexes.has(t)).map(t=>this.elementsToIndexes.get(t))),e.length>0){const t=this.list.getFocus()[0];typeof t==\"number\"&&this.list.reveal(t)}}getActiveDescendant(){return this.list.getHTMLElement().getAttribute(\"aria-activedescendant\")}setSelectedElements(e){this.list.setSelection(e.filter(t=>this.elementsToIndexes.has(t)).map(t=>this.elementsToIndexes.get(t)))}getCheckedElements(){return this.elements.filter(e=>e.checked).map(e=>e.item)}setCheckedElements(e){try{this._fireCheckedEvents=!1;const t=new Set;for(const n of e)t.add(n);for(const n of this.elements)n.checked=t.has(n.item)}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}set enabled(e){this.list.getHTMLElement().style.pointerEvents=e?\"\":\"none\"}focus(e){if(!this.list.length)return;switch(e===yd.Next&&this.list.getFocus()[0]===this.list.length-1&&(e=yd.First),e===yd.Previous&&this.list.getFocus()[0]===0&&(e=yd.Last),e===yd.Second&&this.list.length<2&&(e=yd.First),e){case yd.First:this.list.focusFirst();break;case yd.Second:this.list.focusNth(1);break;case yd.Last:this.list.focusLast();break;case yd.Next:this.list.focusNext();break;case yd.Previous:this.list.focusPrevious();break;case yd.NextPage:this.list.focusNextPage();break;case yd.PreviousPage:this.list.focusPreviousPage();break}const t=this.list.getFocus()[0];typeof t==\"number\"&&this.list.reveal(t)}clearFocus(){this.list.setFocus([])}domFocus(){this.list.domFocus()}layout(e){this.list.getHTMLElement().style.maxHeight=e?`calc(${Math.floor(e/44)*44}px)`:\"\",this.list.layout()}filter(e){if(!(this.sortByLabel||this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))return this.list.layout(),!1;if(e=e.trim(),!e||!(this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))this.elements.forEach(n=>{n.labelHighlights=void 0,n.descriptionHighlights=void 0,n.detailHighlights=void 0,n.hidden=!1;const i=n.index&&this.inputElements[n.index-1];n.separator=i&&i.type===\"separator\"?i:void 0});else{let n;this.elements.forEach(i=>{const s=this.matchOnLabel?u_(y5(e,m5(i.saneLabel))):void 0,a=this.matchOnDescription?u_(y5(e,m5(i.saneDescription||\"\"))):void 0,l=this.matchOnDetail?u_(y5(e,m5(i.saneDetail||\"\"))):void 0,u=this.matchOnMeta?u_(y5(e,m5(i.saneMeta||\"\"))):void 0;if(s||a||l||u?(i.labelHighlights=s,i.descriptionHighlights=a,i.detailHighlights=l,i.hidden=!1):(i.labelHighlights=void 0,i.descriptionHighlights=void 0,i.detailHighlights=void 0,i.hidden=!i.item.alwaysShow),i.separator=void 0,!this.sortByLabel){const d=i.index&&this.inputElements[i.index-1];n=d&&d.type===\"separator\"?d:n,n&&!i.hidden&&(i.separator=n,n=void 0)}})}const t=this.elements.filter(n=>!n.hidden);if(this.sortByLabel&&e){const n=e.toLowerCase();t.sort((i,s)=>jPe(i,s,n))}return this.elementsToIndexes=t.reduce((n,i,s)=>(n.set(i.item,s),n),new Map),this.list.splice(0,this.list.length,t),this.list.setFocus([]),this.list.layout(),this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedVisibleCount.fire(t.length),!0}toggleCheckbox(){try{this._fireCheckedEvents=!1;const e=this.list.getFocusedElements(),t=this.allVisibleChecked(e);for(const n of e)n.checked=!t}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}display(e){this.container.style.display=e?\"\":\"none\"}isDisplayed(){return this.container.style.display!==\"none\"}dispose(){this.elementDisposables=eu(this.elementDisposables),this.disposables=eu(this.disposables)}fireCheckedEvents(){this._fireCheckedEvents&&(this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedCheckedCount.fire(this.getCheckedCount()),this._onChangedCheckedElements.fire(this.getCheckedElements()))}fireButtonTriggered(e){this._onButtonTriggered.fire(e)}style(e){this.list.style(e)}}phe([$d],_J.prototype,\"onDidChangeFocus\",null);phe([$d],_J.prototype,\"onDidChangeSelection\",null);function jPe(o,e,t){const n=o.labelHighlights||[],i=e.labelHighlights||[];return n.length&&!i.length?-1:!n.length&&i.length?1:n.length===0&&i.length===0?0:PPe(o.saneLabel,e.saneLabel,t)}class WPe{getWidgetAriaLabel(){return w(\"quickInput\",\"Quick Input\")}getAriaLabel(e){return e.saneAriaLabel}getWidgetRole(){return\"listbox\"}getRole(e){return e.hasCheckbox?\"checkbox\":\"option\"}isChecked(e){if(!!e.hasCheckbox)return{value:e.checked,onDidChange:e.onChecked}}}var Eoe=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};const F_=ls,wU={iconClass:E.quickInputBack.classNames,tooltip:w(\"quickInput.back\",\"Back\"),handle:-1};class p9 extends fr{constructor(e){super(),this.ui=e,this.visible=!1,this._enabled=!0,this._busy=!1,this._ignoreFocusOut=!1,this._buttons=[],this.noValidationMessage=p9.noPromptMessage,this._severity=Nc.Ignore,this.buttonsUpdated=!1,this.onDidTriggerButtonEmitter=this._register(new ri),this.onDidHideEmitter=this._register(new ri),this.onDisposeEmitter=this._register(new ri),this.visibleDisposables=this._register(new fs),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&&!m0;this._ignoreFocusOut=e&&!m0,t&&this.update()}get buttons(){return this._buttons}set buttons(e){this._buttons=e,this.buttonsUpdated=!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.update())}hide(){!this.visible||this.ui.hide()}didHide(e=mL.Other){this.visible=!1,this.visibleDisposables.clear(),this.onDidHideEmitter.fire({reason:e})}update(){if(!this.visible)return;const e=this.getTitle();e&&this.ui.title.textContent!==e?this.ui.title.textContent=e:!e&&this.ui.title.innerHTML!==\"&nbsp;\"&&(this.ui.title.innerText=\"\\xA0\");const t=this.getDescription();if(this.ui.description1.textContent!==t&&(this.ui.description1.textContent=t),this.ui.description2.textContent!==t&&(this.ui.description2.textContent=t),this.busy&&!this.busyDelay&&(this.busyDelay=new g_,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 i=this.buttons.filter(a=>a===wU);this.ui.leftActionBar.push(i.map((a,l)=>{const u=new h_(`id-${l}`,\"\",a.iconClass||vU(a.iconPath),!0,()=>Eoe(this,void 0,void 0,function*(){this.onDidTriggerButtonEmitter.fire(a)}));return u.tooltip=a.tooltip||\"\",u}),{icon:!0,label:!1}),this.ui.rightActionBar.clear();const s=this.buttons.filter(a=>a!==wU);this.ui.rightActionBar.push(s.map((a,l)=>{const u=new h_(`id-${l}`,\"\",a.iconClass||vU(a.iconPath),!0,()=>Eoe(this,void 0,void 0,function*(){this.onDidTriggerButtonEmitter.fire(a)}));return u.tooltip=a.tooltip||\"\",u}),{icon:!0,label:!1})}this.ui.ignoreFocusOut=this.ignoreFocusOut,this.ui.setEnabled(this.enabled),this.ui.setContextKey(this.contextKey);const n=this.validationMessage||this.noValidationMessage;this._lastValidationMessage!==n&&(this._lastValidationMessage=n,tC(this.ui.message,..._D(n))),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?w(\"quickInput.steps\",\"{0}/{1}\",this.step,this.totalSteps):this.step?String(this.step):\"\"}showMessageDecoration(e){if(this.ui.inputBox.showDecoration(e),e!==Nc.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()}}p9.noPromptMessage=w(\"inputModeEntry\",\"Press 'Enter' to confirm your input or 'Escape' to cancel\");class yL extends p9{constructor(){super(...arguments),this._value=\"\",this.onDidChangeValueEmitter=this._register(new ri),this.onWillAcceptEmitter=this._register(new ri),this.onDidAcceptEmitter=this._register(new ri),this.onDidCustomEmitter=this._register(new ri),this._items=[],this.itemsUpdated=!1,this._canSelectMany=!1,this._canAcceptInBackground=!1,this._matchOnDescription=!1,this._matchOnDetail=!1,this._matchOnLabel=!0,this._sortByLabel=!0,this._autoFocusOnList=!0,this._keepScrollPosition=!1,this._itemActivation=this.ui.isScreenReaderOptimized()?r0.NONE:r0.FIRST,this._activeItems=[],this.activeItemsUpdated=!1,this.activeItemsToConfirm=[],this.onDidChangeActiveEmitter=this._register(new ri),this._selectedItems=[],this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=[],this.onDidChangeSelectionEmitter=this._register(new ri),this.onDidTriggerItemButtonEmitter=this._register(new ri),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}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 sortByLabel(){return this._sortByLabel}set sortByLabel(e){this._sortByLabel=e,this.update()}get autoFocusOnList(){return this._autoFocusOnList}set autoFocusOnList(e){this._autoFocusOnList=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?_Pe:this.ui.keyMods}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.autoFocusOnList&&(this.canSelectMany||this.ui.list.focus(yd.First))}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange(e=>{this.doSetValue(e,!0)})),this.visibleDisposables.add(this.ui.inputBox.onMouseDown(e=>{this.autoFocusOnList||this.ui.list.clearFocus()})),this.visibleDisposables.add((this._hideInput?this.ui.list:this.ui.inputBox).onKeyDown(e=>{switch(e.keyCode){case 18:this.ui.list.focus(yd.Next),this.canSelectMany&&this.ui.list.domFocus(),xu.stop(e,!0);break;case 16:this.ui.list.getFocusedElements().length?this.ui.list.focus(yd.Previous):this.ui.list.focus(yd.Last),this.canSelectMany&&this.ui.list.domFocus(),xu.stop(e,!0);break;case 12:this.ui.list.focus(yd.NextPage),this.canSelectMany&&this.ui.list.domFocus(),xu.stop(e,!0);break;case 11:this.ui.list.focus(yd.PreviousPage),this.canSelectMany&&this.ui.list.domFocus(),xu.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(yd.First),xu.stop(e,!0));break;case 13:(e.ctrlKey||e.metaKey)&&!e.shiftKey&&!e.altKey&&(this.ui.list.focus(yd.Last),xu.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&&K_(e,this._activeItems,(t,n)=>t===n)||(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&&K_(e,this._selectedItems,(n,i)=>n===i)||(this._selectedItems=e,this.onDidChangeSelectionEmitter.fire(e),e.length&&this.handleAccept(t instanceof MouseEvent&&t.button===1))})),this.visibleDisposables.add(this.ui.list.onChangedCheckedElements(e=>{!this.canSelectMany||this.selectedItemsToConfirm!==this._selectedItems&&K_(e,this._selectedItems,(t,n)=>t===n)||(this._selectedItems=e,this.onDidChangeSelectionEmitter.fire(e))})),this.visibleDisposables.add(this.ui.list.onButtonTriggered(e=>this.onDidTriggerItemButtonEmitter.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 hs(this.ui.container,ca.KEY_UP,e=>{if(this.canSelectMany||!this._quickNavigate)return;const t=new _c(e),n=t.keyCode;this._quickNavigate.keybindings.some(a=>{const[l,u]=a.getParts();return u?!1:l.shiftKey&&n===4?!(t.ctrlKey||t.altKey||t.metaKey):!!(l.altKey&&n===6||l.ctrlKey&&n===5||l.metaKey&&n===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._hideInput&&this._items.length>0;this.ui.container.classList.toggle(\"hidden-input\",t&&!this.description);const n={title:!!this.title||!!this.step||!!this.buttons.length,description:!!this.description,checkAll:this.canSelectMany&&!this._hideCheckAll,checkBox:this.canSelectMany,inputBox:!t,progressBar:!t,visibleCount:!0,count:this.canSelectMany,ok:this.ok===\"default\"?this.canSelectMany:this.ok,list:!0,message:!!this.validationMessage,customButton:this.customButton};this.ui.setVisibilities(n),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||\"\");const i=this.ariaLabel||this.placeholder||yL.DEFAULT_ARIA_LABEL;if(this.ui.inputBox.ariaLabel!==i&&(this.ui.inputBox.ariaLabel=i),this.ui.list.matchOnDescription=this.matchOnDescription,this.ui.list.matchOnDetail=this.matchOnDetail,this.ui.list.matchOnLabel=this.matchOnLabel,this.ui.list.sortByLabel=this.sortByLabel,this.itemsUpdated)switch(this.itemsUpdated=!1,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 r0.NONE:this._itemActivation=r0.FIRST;break;case r0.SECOND:this.ui.list.focus(yd.Second),this._itemActivation=r0.FIRST;break;case r0.LAST:this.ui.list.focus(yd.Last),this._itemActivation=r0.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||\"\",this.ui.setComboboxAccessibility(!0),n.inputBox||(this.ui.list.domFocus(),this.canSelectMany&&this.ui.list.focus(yd.First)),this.keepScrollPosition&&(this.scrollTop=e)}}yL.DEFAULT_ARIA_LABEL=w(\"quickInputBox.ariaLabel\",\"Type to narrow down results.\");class f9 extends fr{constructor(e){super(),this.options=e,this.comboboxAccessibility=!1,this.enabled=!0,this.onDidAcceptEmitter=this._register(new ri),this.onDidCustomEmitter=this._register(new ri),this.onDidTriggerButtonEmitter=this._register(new ri),this.keyMods={ctrlCmd:!1,alt:!1},this.controller=null,this.onShowEmitter=this._register(new ri),this.onShow=this.onShowEmitter.event,this.onHideEmitter=this._register(new ri),this.onHide=this.onHideEmitter.event,this.idPrefix=e.idPrefix,this.parentElement=e.container,this.styles=e.styles,this.registerKeyModsListeners()}registerKeyModsListeners(){const e=t=>{this.keyMods.ctrlCmd=t.ctrlKey||t.metaKey,this.keyMods.alt=t.altKey};this._register(hs(window,ca.KEY_DOWN,e,!0)),this._register(hs(window,ca.KEY_UP,e,!0)),this._register(hs(window,ca.MOUSE_DOWN,e,!0))}getUI(){if(this.ui)return this.ui;const e=Jr(this.parentElement,F_(\".quick-input-widget.show-file-icons\"));e.tabIndex=-1,e.style.display=\"none\";const t=Pg(e),n=Jr(e,F_(\".quick-input-titlebar\")),i=this._register(new Z1(n));i.domNode.classList.add(\"quick-input-left-action-bar\");const s=Jr(n,F_(\".quick-input-title\")),a=this._register(new Z1(n));a.domNode.classList.add(\"quick-input-right-action-bar\");const l=Jr(e,F_(\".quick-input-description\")),u=Jr(e,F_(\".quick-input-header\")),d=Jr(u,F_(\"input.quick-input-check-all\"));d.type=\"checkbox\",this._register(Fh(d,ca.CHANGE,gi=>{const ai=d.checked;Le.setAllVisibleChecked(ai)})),this._register(hs(d,ca.CLICK,gi=>{(gi.x||gi.y)&&y.setFocus()}));const h=Jr(u,F_(\".quick-input-description\")),p=Jr(u,F_(\".quick-input-and-message\")),g=Jr(p,F_(\".quick-input-filter\")),y=this._register(new SPe(g));y.setAttribute(\"aria-describedby\",`${this.idPrefix}message`);const D=Jr(g,F_(\".quick-input-visible-count\"));D.setAttribute(\"aria-live\",\"polite\"),D.setAttribute(\"aria-atomic\",\"true\");const T=new bU(D,{countFormat:w({key:\"quickInput.visibleCount\",comment:[\"This tells the user how many items are shown in a list of items to select from. The items can be anything. Currently not visible, but read by screen readers.\"]},\"{0} Results\")}),k=Jr(g,F_(\".quick-input-count\"));k.setAttribute(\"aria-live\",\"polite\");const I=new bU(k,{countFormat:w({key:\"quickInput.countSelected\",comment:[\"This tells the user how many items are selected in a list of items to select from. The items can be anything.\"]},\"{0} Selected\")}),F=Jr(u,F_(\".quick-input-action\")),q=new Coe(F);q.label=w(\"ok\",\"OK\"),this._register(q.onDidClick(gi=>{this.onDidAcceptEmitter.fire()}));const re=Jr(u,F_(\".quick-input-action\")),Ie=new Coe(re);Ie.label=w(\"custom\",\"Custom\"),this._register(Ie.onDidClick(gi=>{this.onDidCustomEmitter.fire()}));const mt=Jr(p,F_(`#${this.idPrefix}message.quick-input-message`)),Le=this._register(new _J(e,this.idPrefix+\"list\",this.options));this._register(Le.onChangedAllVisibleChecked(gi=>{d.checked=gi})),this._register(Le.onChangedVisibleCount(gi=>{T.setCount(gi)})),this._register(Le.onChangedCheckedCount(gi=>{I.setCount(gi)})),this._register(Le.onLeave(()=>{setTimeout(()=>{y.setFocus(),this.controller instanceof yL&&this.controller.canSelectMany&&Le.clearFocus()},0)})),this._register(Le.onDidChangeFocus(()=>{this.comboboxAccessibility&&this.getUI().inputBox.setAttribute(\"aria-activedescendant\",this.getUI().list.getActiveDescendant()||\"\")}));const Ge=new h9(e);Ge.getContainer().classList.add(\"quick-input-progress\");const qt=sE(e);return this._register(qt),this._register(hs(e,ca.FOCUS,gi=>{this.previousFocusElement=gi.relatedTarget instanceof HTMLElement?gi.relatedTarget:void 0},!0)),this._register(qt.onDidBlur(()=>{!this.getUI().ignoreFocusOut&&!this.options.ignoreFocusOut()&&this.hide(mL.Blur),this.previousFocusElement=void 0})),this._register(hs(e,ca.FOCUS,gi=>{y.setFocus()})),this._register(hs(e,ca.KEY_DOWN,gi=>{const ai=new _c(gi);switch(ai.keyCode){case 3:xu.stop(gi,!0),this.onDidAcceptEmitter.fire();break;case 9:xu.stop(gi,!0),this.hide(mL.Gesture);break;case 2:if(!ai.altKey&&!ai.ctrlKey&&!ai.metaKey){const Tr=[\".action-label.codicon\"];e.classList.contains(\"show-checkboxes\")?Tr.push(\"input\"):Tr.push(\"input[type=text]\"),this.getUI().list.isDisplayed()&&Tr.push(\".monaco-list\");const Vr=e.querySelectorAll(Tr.join(\", \"));ai.shiftKey&&ai.target===Vr[0]?(xu.stop(gi,!0),Vr[Vr.length-1].focus()):!ai.shiftKey&&ai.target===Vr[Vr.length-1]&&(xu.stop(gi,!0),Vr[0].focus())}break}})),this.ui={container:e,styleSheet:t,leftActionBar:i,titleBar:n,title:s,description1:l,description2:h,rightActionBar:a,checkAll:d,filterContainer:g,inputBox:y,visibleCountContainer:D,visibleCount:T,countContainer:k,count:I,okContainer:F,ok:q,message:mt,customButtonContainer:re,customButton:Ie,list:Le,progressBar:Ge,onDidAccept:this.onDidAcceptEmitter.event,onDidCustom:this.onDidCustomEmitter.event,onDidTriggerButton:this.onDidTriggerButtonEmitter.event,ignoreFocusOut:!1,keyMods:this.keyMods,isScreenReaderOptimized:()=>this.options.isScreenReaderOptimized(),show:gi=>this.show(gi),hide:()=>this.hide(),setVisibilities:gi=>this.setVisibilities(gi),setComboboxAccessibility:gi=>this.setComboboxAccessibility(gi),setEnabled:gi=>this.setEnabled(gi),setContextKey:gi=>this.options.setContextKey(gi)},this.updateStyles(),this.ui}pick(e,t={},n=Ll.None){return new Promise((i,s)=>{let a=h=>{a=i,t.onKeyMods&&t.onKeyMods(l.keyMods),i(h)};if(n.isCancellationRequested){a(void 0);return}const l=this.createQuickPick();let u;const d=[l,l.onDidAccept(()=>{if(l.canSelectMany)a(l.selectedItems.slice()),l.hide();else{const h=l.activeItems[0];h&&(a(h),l.hide())}}),l.onDidChangeActive(h=>{const p=h[0];p&&t.onDidFocus&&t.onDidFocus(p)}),l.onDidChangeSelection(h=>{if(!l.canSelectMany){const p=h[0];p&&(a(p),l.hide())}}),l.onDidTriggerItemButton(h=>t.onDidTriggerItemButton&&t.onDidTriggerItemButton(Object.assign(Object.assign({},h),{removeItem:()=>{const p=l.items.indexOf(h.item);if(p!==-1){const g=l.items.slice(),y=g.splice(p,1),D=l.activeItems.filter(k=>k!==y[0]),T=l.keepScrollPosition;l.keepScrollPosition=!0,l.items=g,D&&(l.activeItems=D),l.keepScrollPosition=T}}}))),l.onDidChangeValue(h=>{u&&!h&&(l.activeItems.length!==1||l.activeItems[0]!==u)&&(l.activeItems=[u])}),n.onCancellationRequested(()=>{l.hide()}),l.onDidHide(()=>{eu(d),a(void 0)})];l.title=t.title,l.canSelectMany=!!t.canPickMany,l.placeholder=t.placeHolder,l.ignoreFocusOut=!!t.ignoreFocusLost,l.matchOnDescription=!!t.matchOnDescription,l.matchOnDetail=!!t.matchOnDetail,l.matchOnLabel=t.matchOnLabel===void 0||t.matchOnLabel,l.autoFocusOnList=t.autoFocusOnList===void 0||t.autoFocusOnList,l.quickNavigate=t.quickNavigate,l.contextKey=t.contextKey,l.busy=!0,Promise.all([e,t.activeItem]).then(([h,p])=>{u=p,l.busy=!1,l.items=h,l.canSelectMany&&(l.selectedItems=h.filter(g=>g.type!==\"separator\"&&g.picked)),u&&(l.activeItems=[u])}),l.show(),Promise.resolve(e).then(void 0,h=>{s(h),l.hide()})})}createQuickPick(){const e=this.getUI();return new yL(e)}show(e){const t=this.getUI();this.onShowEmitter.fire();const n=this.controller;this.controller=e,n&&n.didHide(),this.setEnabled(!0),t.leftActionBar.clear(),t.title.textContent=\"\",t.description1.textContent=\"\",t.description2.textContent=\"\",t.rightActionBar.clear(),t.checkAll.checked=!1,t.inputBox.placeholder=\"\",t.inputBox.password=!1,t.inputBox.showDecoration(Nc.Ignore),t.visibleCount.setCount(0),t.count.setCount(0),tC(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,this.setComboboxAccessibility(!1),t.inputBox.ariaLabel=\"\";const i=this.options.backKeybindingLabel();wU.tooltip=i?w(\"quickInput.backWithKeybinding\",\"Back ({0})\",i):w(\"quickInput.back\",\"Back\"),t.container.style.display=\"\",this.updateLayout(),t.inputBox.setFocus()}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.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[e.checkBox?\"add\":\"remove\"](\"show-checkboxes\"),this.updateLayout()}setComboboxAccessibility(e){if(e!==this.comboboxAccessibility){const t=this.getUI();this.comboboxAccessibility=e,this.comboboxAccessibility?(t.inputBox.setAttribute(\"role\",\"combobox\"),t.inputBox.setAttribute(\"aria-haspopup\",\"true\"),t.inputBox.setAttribute(\"aria-autocomplete\",\"list\"),t.inputBox.setAttribute(\"aria-activedescendant\",t.list.getActiveDescendant()||\"\")):(t.inputBox.removeAttribute(\"role\"),t.inputBox.removeAttribute(\"aria-haspopup\"),t.inputBox.removeAttribute(\"aria-autocomplete\"),t.inputBox.removeAttribute(\"aria-activedescendant\"))}}setEnabled(e){if(e!==this.enabled){this.enabled=e;for(const t of this.getUI().leftActionBar.viewItems)t.getAction().enabled=e;for(const t of this.getUI().rightActionBar.viewItems)t.getAction().enabled=e;this.getUI().checkAll.disabled=!e,this.getUI().ok.enabled=e,this.getUI().list.enabled=e}}hide(e){var t;const n=this.controller;if(n){const i=!(!((t=this.ui)===null||t===void 0)&&t.container.contains(document.activeElement));if(this.controller=null,this.onHideEmitter.fire(),this.getUI().container.style.display=\"none\",!i){let s=this.previousFocusElement;for(;s&&!s.offsetParent;)s=u_(s.parentElement);s!=null&&s.offsetParent?(s.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.ui.container.style.top=`${this.titleBarOffset}px`;const e=this.ui.container.style,t=Math.min(this.dimension.width*.62,f9.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:n,contrastBorder:i,widgetShadow:s}=this.styles.widget;this.ui.titleBar.style.backgroundColor=e?e.toString():\"\",this.ui.container.style.backgroundColor=t?t.toString():\"\",this.ui.container.style.color=n?n.toString():\"\",this.ui.container.style.border=i?`1px solid ${i}`:\"\",this.ui.container.style.boxShadow=s?`0 0 8px 2px ${s}`:\"\",this.ui.inputBox.style(this.styles.inputBox),this.ui.count.style(this.styles.countBadge),this.ui.ok.style(this.styles.button),this.ui.customButton.style(this.styles.button),this.ui.progressBar.style(this.styles.progressBar),this.ui.list.style(this.styles.list);const a=[];this.styles.list.pickerGroupBorder&&a.push(`.quick-input-list .quick-input-list-entry { border-top-color:  ${this.styles.list.pickerGroupBorder}; }`),this.styles.list.pickerGroupForeground&&a.push(`.quick-input-list .quick-input-list-separator { color:  ${this.styles.list.pickerGroupForeground}; }`),(this.styles.keybindingLabel.keybindingLabelBackground||this.styles.keybindingLabel.keybindingLabelBorder||this.styles.keybindingLabel.keybindingLabelBottomBorder||this.styles.keybindingLabel.keybindingLabelShadow||this.styles.keybindingLabel.keybindingLabelForeground)&&(a.push(\".quick-input-list .monaco-keybinding > .monaco-keybinding-key {\"),this.styles.keybindingLabel.keybindingLabelBackground&&a.push(`background-color: ${this.styles.keybindingLabel.keybindingLabelBackground};`),this.styles.keybindingLabel.keybindingLabelBorder&&a.push(`border-color: ${this.styles.keybindingLabel.keybindingLabelBorder};`),this.styles.keybindingLabel.keybindingLabelBottomBorder&&a.push(`border-bottom-color: ${this.styles.keybindingLabel.keybindingLabelBottomBorder};`),this.styles.keybindingLabel.keybindingLabelShadow&&a.push(`box-shadow: inset 0 -1px 0 ${this.styles.keybindingLabel.keybindingLabelShadow};`),this.styles.keybindingLabel.keybindingLabelForeground&&a.push(`color: ${this.styles.keybindingLabel.keybindingLabelForeground};`),a.push(\"}\"));const l=a.join(`\n`);l!==this.ui.styleSheet.textContent&&(this.ui.styleSheet.textContent=l)}}}f9.MAX_WIDTH=600;class VPe{constructor(e){this.spliceables=e}splice(e,t,n){this.spliceables.forEach(i=>i.splice(e,t,n))}}class T2 extends Error{constructor(e,t){super(`ListError [${e}] ${t}`)}}function Toe(o,e){const t=[];for(let n of e){if(o.start>=n.range.end)continue;if(o.end<n.range.start)break;const i=fp.intersect(o,n.range);fp.isEmpty(i)||t.push({range:i,size:n.size})}return t}function SU({start:o,end:e},t){return{start:o+t,end:e+t}}function HPe(o){const e=[];let t=null;for(let n of o){const i=n.range.start,s=n.range.end,a=n.size;if(t&&a===t.size){t.range.end=s;continue}t={range:{start:i,end:s},size:a},e.push(t)}return e}function $Pe(...o){return HPe(o.reduce((e,t)=>e.concat(t),[]))}class Aoe{constructor(){this.groups=[],this._size=0}splice(e,t,n=[]){const i=n.length-t,s=Toe({start:0,end:e},this.groups),a=Toe({start:e+t,end:Number.POSITIVE_INFINITY},this.groups).map(u=>({range:SU(u.range,i),size:u.size})),l=n.map((u,d)=>({range:{start:e+d,end:e+d+1},size:u.size}));this.groups=$Pe(s,l,a),this._size=this.groups.reduce((u,d)=>u+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;let t=0,n=0;for(let i of this.groups){const s=i.range.end-i.range.start,a=n+s*i.size;if(e<a)return t+Math.floor((e-n)/i.size);t+=s,n=a}return t}indexAfter(e){return Math.min(this.indexAt(e)+1,this.count)}positionAt(e){if(e<0)return-1;let t=0,n=0;for(let i of this.groups){const s=i.range.end-i.range.start,a=n+s;if(e<a)return t+(e-n)*i.size;t+=s*i.size,n=a}return-1}}function zPe(o){try{o.parentElement&&o.parentElement.removeChild(o)}catch{}}class UPe{constructor(e){this.renderers=e,this.cache=new Map}alloc(e){let t=this.getTemplateCache(e).pop();if(!t){const n=ls(\".monaco-list-row\"),s=this.getRenderer(e).renderTemplate(n);t={domNode:n,templateId:e,templateData:s}}return t}release(e){!e||this.releaseRow(e)}releaseRow(e){const{domNode:t,templateId:n}=e;t&&(t.classList.remove(\"scrolling\"),zPe(t)),this.getTemplateCache(n).push(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 n of e)this.getRenderer(t).disposeTemplate(n.templateData),n.templateData=null}),this.cache.clear()}getRenderer(e){const t=this.renderers.get(e);if(!t)throw new Error(`No renderer found for ${e}`);return t}}var mw=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s};const d1={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,setRowHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements(o){return[o]},getDragURI(){return null},onDragStart(){},onDragOver(){return!1},drop(){}},horizontalScrolling:!1,transformOptimization:!0,alwaysConsumeMouseWheel:!0};class f4{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class KPe{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class qPe{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 n=e.files.item(t);n&&(n.size||n.type)&&this.files.push(n)}}}getData(){return{types:this.types,files:this.files}}}function GPe(o,e){return Array.isArray(o)&&Array.isArray(e)?K_(o,e):o===e}class JPe{constructor(e){e!=null&&e.getSetSize?this.getSetSize=e.getSetSize.bind(e):this.getSetSize=(t,n,i)=>i,e!=null&&e.getPosInSet?this.getPosInSet=e.getPosInSet.bind(e):this.getPosInSet=(t,n)=>n+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 x0{constructor(e,t,n,i=d1){if(this.virtualDelegate=t,this.domId=`list_id_${++x0.InstanceCount}`,this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new J1(50),this.splicing=!1,this.dragOverAnimationStopDisposable=fr.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=fr.None,this.onDragLeaveTimeout=fr.None,this.disposables=new fs,this._onDidChangeContentHeight=new ri,this._horizontalScrolling=!1,i.horizontalScrolling&&i.supportDynamicHeights)throw new Error(\"Horizontal scrolling and dynamic heights not supported simultaneously\");this.items=[],this.itemId=0,this.rangeMap=new Aoe;for(const a of n)this.renderers.set(a.templateId,a);this.cache=this.disposables.add(new UPe(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 i.mouseSupport==\"boolean\"?i.mouseSupport:!0),this._horizontalScrolling=c1(i,a=>a.horizontalScrolling,d1.horizontalScrolling),this.domNode.classList.toggle(\"horizontal-scrolling\",this._horizontalScrolling),this.additionalScrollHeight=typeof i.additionalScrollHeight==\"undefined\"?0:i.additionalScrollHeight,this.accessibilityProvider=new JPe(i.accessibilityProvider),this.rowsContainer=document.createElement(\"div\"),this.rowsContainer.className=\"monaco-list-rows\",c1(i,a=>a.transformOptimization,d1.transformOptimization)&&(this.rowsContainer.style.transform=\"translate3d(0px, 0px, 0px)\"),this.disposables.add(Iu.addTarget(this.rowsContainer)),this.scrollable=new o4({forceIntegerValues:!0,smoothScrollDuration:c1(i,a=>a.smoothScrolling,!1)?125:0,scheduleAtNextAnimationFrame:a=>b0(a)}),this.scrollableElement=this.disposables.add(new AG(this.rowsContainer,{alwaysConsumeMouseWheel:c1(i,a=>a.alwaysConsumeMouseWheel,d1.alwaysConsumeMouseWheel),horizontal:1,vertical:c1(i,a=>a.verticalScrollMode,d1.verticalScrollMode),useShadows:c1(i,a=>a.useShadows,d1.useShadows),mouseWheelScrollSensitivity:i.mouseWheelScrollSensitivity,fastScrollSensitivity:i.fastScrollSensitivity},this.scrollable)),this.domNode.appendChild(this.scrollableElement.getDomNode()),e.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),this.disposables.add(hs(this.rowsContainer,sc.Change,a=>this.onTouchChange(a))),this.disposables.add(hs(this.scrollableElement.getDomNode(),\"scroll\",a=>a.target.scrollTop=0)),this.disposables.add(hs(this.domNode,\"dragover\",a=>this.onDragOver(this.toDragEvent(a)))),this.disposables.add(hs(this.domNode,\"drop\",a=>this.onDrop(this.toDragEvent(a)))),this.disposables.add(hs(this.domNode,\"dragleave\",a=>this.onDragLeave(this.toDragEvent(a)))),this.disposables.add(hs(this.domNode,\"dragend\",a=>this.onDragEnd(a))),this.setRowLineHeight=c1(i,a=>a.setRowLineHeight,d1.setRowLineHeight),this.setRowHeight=c1(i,a=>a.setRowHeight,d1.setRowHeight),this.supportDynamicHeights=c1(i,a=>a.supportDynamicHeights,d1.supportDynamicHeights),this.dnd=c1(i,a=>a.dnd,d1.dnd),this.layout()}get contentHeight(){return this.rangeMap.size}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:uV(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=\"\"}}updateOptions(e){e.additionalScrollHeight!==void 0&&(this.additionalScrollHeight=e.additionalScrollHeight,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),e.mouseWheelScrollSensitivity!==void 0&&this.scrollableElement.updateOptions({mouseWheelScrollSensitivity:e.mouseWheelScrollSensitivity}),e.fastScrollSensitivity!==void 0&&this.scrollableElement.updateOptions({fastScrollSensitivity:e.fastScrollSensitivity})}splice(e,t,n=[]){if(this.splicing)throw new Error(\"Can't run recursive splices.\");this.splicing=!0;try{return this._splice(e,t,n)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}}_splice(e,t,n=[]){const i=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),s={start:e,end:e+t},a=fp.intersect(i,s),l=new Map;for(let mt=a.end-1;mt>=a.start;mt--){const Le=this.items[mt];if(Le.dragStartDisposable.dispose(),Le.row){let Ge=l.get(Le.templateId);Ge||(Ge=[],l.set(Le.templateId,Ge));const qt=this.renderers.get(Le.templateId);qt&&qt.disposeElement&&qt.disposeElement(Le.element,mt,Le.row.templateData,Le.size),Ge.push(Le.row)}Le.row=null}const u={start:e+t,end:this.items.length},d=fp.intersect(u,i),h=fp.relativeComplement(u,i),p=n.map(mt=>({id:String(this.itemId++),element:mt,templateId:this.virtualDelegate.getTemplateId(mt),size:this.virtualDelegate.getHeight(mt),width:void 0,hasDynamicHeight:!!this.virtualDelegate.hasDynamicHeight&&this.virtualDelegate.hasDynamicHeight(mt),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:fr.None,checkedDisposable:fr.None}));let g;e===0&&t>=this.items.length?(this.rangeMap=new Aoe,this.rangeMap.splice(0,0,p),g=this.items,this.items=p):(this.rangeMap.splice(e,t,p),g=this.items.splice(e,t,...p));const y=n.length-t,D=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),T=SU(d,y),k=fp.intersect(D,T);for(let mt=k.start;mt<k.end;mt++)this.updateItemInDOM(this.items[mt],mt);const I=fp.relativeComplement(T,D);for(const mt of I)for(let Le=mt.start;Le<mt.end;Le++)this.removeItemFromDOM(Le);const F=h.map(mt=>SU(mt,y)),re=[{start:e,end:e+n.length},...F].map(mt=>fp.intersect(D,mt)),Ie=this.getNextToLastElement(re);for(const mt of re)for(let Le=mt.start;Le<mt.end;Le++){const Ge=this.items[Le],qt=l.get(Ge.templateId),gi=qt==null?void 0:qt.pop();this.insertItemInDOM(Le,Ie,gi)}for(const mt of l.values())for(const Le of mt)this.cache.release(Le);return this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),g.map(mt=>mt.element)}eventuallyUpdateScrollDimensions(){this._scrollHeight=this.contentHeight,this.rowsContainer.style.height=`${this._scrollHeight}px`,this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=b0(()=>{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!=\"undefined\"&&(e=Math.max(e,t.width));this.scrollWidth=e,this.scrollableElement.setScrollDimensions({scrollWidth:e===0?0:e+10})}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}element(e){return this.items[e].element}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){let n={height:typeof e==\"number\"?e:H3e(this.domNode)};this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,n.scrollHeight=this.scrollHeight),this.scrollableElement.setScrollDimensions(n),typeof t!=\"undefined\"&&(this.renderWidth=t,this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight)),this.horizontalScrolling&&this.scrollableElement.setScrollDimensions({width:typeof t==\"number\"?t:uV(this.domNode)})}render(e,t,n,i,s,a=!1){const l=this.getRenderRange(t,n),u=fp.relativeComplement(l,e),d=fp.relativeComplement(e,l),h=this.getNextToLastElement(u);if(a){const p=fp.intersect(e,l);for(let g=p.start;g<p.end;g++)this.updateItemInDOM(this.items[g],g)}for(const p of u)for(let g=p.start;g<p.end;g++)this.insertItemInDOM(g,h);for(const p of d)for(let g=p.start;g<p.end;g++)this.removeItemFromDOM(g);i!==void 0&&(this.rowsContainer.style.left=`-${i}px`),this.rowsContainer.style.top=`-${t}px`,this.horizontalScrolling&&s!==void 0&&(this.rowsContainer.style.width=`${Math.max(s,this.renderWidth)}px`),this.lastRenderTop=t,this.lastRenderHeight=n}insertItemInDOM(e,t,n){const i=this.items[e];i.row||(i.row=n!=null?n:this.cache.alloc(i.templateId));const s=this.accessibilityProvider.getRole(i.element)||\"listitem\";i.row.domNode.setAttribute(\"role\",s);const a=this.accessibilityProvider.isChecked(i.element);if(typeof a==\"boolean\")i.row.domNode.setAttribute(\"aria-checked\",String(!!a));else if(a){const d=h=>i.row.domNode.setAttribute(\"aria-checked\",String(!!h));d(a.value),i.checkedDisposable=a.onDidChange(d)}i.row.domNode.parentElement||(t?this.rowsContainer.insertBefore(i.row.domNode,t):this.rowsContainer.appendChild(i.row.domNode)),this.updateItemInDOM(i,e);const l=this.renderers.get(i.templateId);if(!l)throw new Error(`No renderer found for template id ${i.templateId}`);l&&l.renderElement(i.element,e,i.row.templateData,i.size);const u=this.dnd.getDragURI(i.element);i.dragStartDisposable.dispose(),i.row.domNode.draggable=!!u,u&&(i.dragStartDisposable=hs(i.row.domNode,\"dragstart\",d=>this.onDragStart(i.element,u,d))),this.horizontalScrolling&&(this.measureItemWidth(i),this.eventuallyUpdateScrollWidth())}measureItemWidth(e){if(!e.row||!e.row.domNode)return;e.row.domNode.style.width=J_?\"-moz-fit-content\":\"fit-content\",e.width=uV(e.row.domNode);const t=window.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 n=this.renderers.get(t.templateId);n&&n.disposeElement&&n.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.additionalScrollHeight}get onMouseClick(){return Xo.map(this.disposables.add(new Ru(this.domNode,\"click\")).event,e=>this.toMouseEvent(e))}get onMouseDblClick(){return Xo.map(this.disposables.add(new Ru(this.domNode,\"dblclick\")).event,e=>this.toMouseEvent(e))}get onMouseMiddleClick(){return Xo.filter(Xo.map(this.disposables.add(new Ru(this.domNode,\"auxclick\")).event,e=>this.toMouseEvent(e)),e=>e.browserEvent.button===1)}get onMouseDown(){return Xo.map(this.disposables.add(new Ru(this.domNode,\"mousedown\")).event,e=>this.toMouseEvent(e))}get onContextMenu(){return Xo.any(Xo.map(this.disposables.add(new Ru(this.domNode,\"contextmenu\")).event,e=>this.toMouseEvent(e)),Xo.map(this.disposables.add(new Ru(this.domNode,sc.Contextmenu)).event,e=>this.toGestureEvent(e)))}get onTouchStart(){return Xo.map(this.disposables.add(new Ru(this.domNode,\"touchstart\")).event,e=>this.toTouchEvent(e))}get onTap(){return Xo.map(this.disposables.add(new Ru(this.rowsContainer,sc.Tap)).event,e=>this.toGestureEvent(e))}toMouseEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),n=typeof t==\"undefined\"?void 0:this.items[t],i=n&&n.element;return{browserEvent:e,index:t,element:i}}toTouchEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),n=typeof t==\"undefined\"?void 0:this.items[t],i=n&&n.element;return{browserEvent:e,index:t,element:i}}toGestureEvent(e){const t=this.getItemIndexFromEventTarget(e.initialTarget||null),n=typeof t==\"undefined\"?void 0:this.items[t],i=n&&n.element;return{browserEvent:e,index:t,element:i}}toDragEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),n=typeof t==\"undefined\"?void 0:this.items[t],i=n&&n.element;return{browserEvent:e,index:t,element:i}}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,n){if(!n.dataTransfer)return;const i=this.dnd.getDragElements(e);if(n.dataTransfer.effectAllowed=\"copyMove\",n.dataTransfer.setData(Cde.TEXT,t),n.dataTransfer.setDragImage){let s;this.dnd.getDragLabel&&(s=this.dnd.getDragLabel(i,n)),typeof s==\"undefined\"&&(s=String(i.length));const a=ls(\".monaco-drag-image\");a.textContent=s,document.body.appendChild(a),n.dataTransfer.setDragImage(a,-10,-10),setTimeout(()=>document.body.removeChild(a),0)}this.currentDragData=new f4(i),Qy.CurrentDragAndDropData=new KPe(i),this.dnd.onDragStart&&this.dnd.onDragStart(this.currentDragData,n)}onDragOver(e){if(e.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),Qy.CurrentDragAndDropData&&Qy.CurrentDragAndDropData.getData()===\"vscode-ui\"||(this.setupDragAndDropScrollTopAnimation(e.browserEvent),!e.browserEvent.dataTransfer))return!1;if(!this.currentDragData)if(Qy.CurrentDragAndDropData)this.currentDragData=Qy.CurrentDragAndDropData;else{if(!e.browserEvent.dataTransfer.types)return!1;this.currentDragData=new qPe}const t=this.dnd.onDragOver(this.currentDragData,e.element,e.index,e.browserEvent);if(this.canDrop=typeof t==\"boolean\"?t:t.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;e.browserEvent.dataTransfer.dropEffect=typeof t!=\"boolean\"&&t.effect===0?\"copy\":\"move\";let n;if(typeof t!=\"boolean\"&&t.feedback?n=t.feedback:typeof e.index==\"undefined\"?n=[-1]:n=[e.index],n=Xv(n).filter(i=>i>=-1&&i<this.length).sort((i,s)=>i-s),n=n[0]===-1?[-1]:n,GPe(this.currentDragFeedback,n))return!0;if(this.currentDragFeedback=n,this.currentDragFeedbackDisposable.dispose(),n[0]===-1)this.domNode.classList.add(\"drop-target\"),this.rowsContainer.classList.add(\"drop-target\"),this.currentDragFeedbackDisposable=wl(()=>{this.domNode.classList.remove(\"drop-target\"),this.rowsContainer.classList.remove(\"drop-target\")});else{for(const i of n){const s=this.items[i];s.dropTarget=!0,s.row&&s.row.domNode.classList.add(\"drop-target\")}this.currentDragFeedbackDisposable=wl(()=>{for(const i of n){const s=this.items[i];s.dropTarget=!1,s.row&&s.row.domNode.classList.remove(\"drop-target\")}})}return!0}onDragLeave(e){var t,n;this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=SD(()=>this.clearDragOverFeedback(),100),this.currentDragData&&((n=(t=this.dnd).onDragLeave)===null||n===void 0||n.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.currentDragData=void 0,Qy.CurrentDragAndDropData=void 0,!(!t||!e.browserEvent.dataTransfer)&&(e.browserEvent.preventDefault(),t.update(e.browserEvent.dataTransfer),this.dnd.drop(t,e.element,e.index,e.browserEvent))}onDragEnd(e){this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,Qy.CurrentDragAndDropData=void 0,this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}clearDragOverFeedback(){this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=fr.None}setupDragAndDropScrollTopAnimation(e){if(!this.dragOverAnimationDisposable){const t=Vue(this.domNode).top;this.dragOverAnimationDisposable=J3e(this.animateDragAndDropScrollTop.bind(this,t))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=SD(()=>{this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},1e3),this.dragOverMouseY=e.pageY}animateDragAndDropScrollTop(e){if(this.dragOverMouseY===void 0)return;const t=this.dragOverMouseY-e,n=this.renderHeight-35;t<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(t-35))):t>n&&(this.scrollTop+=Math.min(14,Math.floor(.3*(t-n))))}teardownDragAndDropScrollTopAnimation(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)}getItemIndexFromEventTarget(e){const t=this.scrollableElement.getDomNode();let n=e;for(;n instanceof HTMLElement&&n!==this.rowsContainer&&t.contains(n);){const i=n.getAttribute(\"data-index\");if(i){const s=Number(i);if(!isNaN(s))return s}n=n.parentElement}}getRenderRange(e,t){return{start:this.rangeMap.indexAt(e),end:this.rangeMap.indexAfter(e+t-1)}}_rerender(e,t,n){const i=this.getRenderRange(e,t);let s,a;e===this.elementTop(i.start)?(s=i.start,a=0):i.end-i.start>1&&(s=i.start+1,a=this.elementTop(s)-e);let l=0;for(;;){const u=this.getRenderRange(e,t);let d=!1;for(let h=u.start;h<u.end;h++){const p=this.probeDynamicHeight(h);p!==0&&this.rangeMap.splice(h,1,[this.items[h]]),l+=p,d=d||p!==0}if(!d){l!==0&&this.eventuallyUpdateScrollDimensions();const h=fp.relativeComplement(i,u);for(const g of h)for(let y=g.start;y<g.end;y++)this.items[y].row&&this.removeItemFromDOM(y);const p=fp.relativeComplement(u,i);for(const g of p)for(let y=g.start;y<g.end;y++){const D=y+1,T=D<this.items.length?this.items[D].row:null,k=T?T.domNode:null;this.insertItemInDOM(y,k)}for(let g=u.start;g<u.end;g++)this.items[g].row&&this.updateItemInDOM(this.items[g],g);if(typeof s==\"number\"){const g=this.scrollable.getFutureScrollPosition().scrollTop-e,y=this.elementTop(s)-a+g;this.setScrollTop(y,n)}this._onDidChangeContentHeight.fire(this.contentHeight);return}}}probeDynamicHeight(e){const t=this.items[e];if(this.virtualDelegate.getDynamicHeight){const a=this.virtualDelegate.getDynamicHeight(t.element);if(a!==null){const l=t.size;return t.size=a,t.lastDynamicHeightWidth=this.renderWidth,a-l}}if(!t.hasDynamicHeight||t.lastDynamicHeightWidth===this.renderWidth||!!this.virtualDelegate.hasDynamicHeight&&!this.virtualDelegate.hasDynamicHeight(t.element))return 0;const n=t.size;if(!this.setRowHeight&&t.row){let a=t.row.domNode.offsetHeight;return t.size=a,t.lastDynamicHeightWidth=this.renderWidth,a-n}const i=this.cache.alloc(t.templateId);i.domNode.style.height=\"\",this.rowsContainer.appendChild(i.domNode);const s=this.renderers.get(t.templateId);return s&&(s.renderElement(t.element,e,i.templateData,void 0),s.disposeElement&&s.disposeElement(t.element,e,i.templateData,void 0)),t.size=i.domNode.offsetHeight,this.virtualDelegate.setDynamicHeight&&this.virtualDelegate.setDynamicHeight(t.element,t.size),t.lastDynamicHeightWidth=this.renderWidth,this.rowsContainer.removeChild(i.domNode),this.cache.release(i),t.size-n}getNextToLastElement(e){const t=e[e.length-1];if(!t)return null;const n=this.items[t.end];return!n||!n.row?null:n.row.domNode}getElementDomId(e){return`${this.domId}_${e}`}dispose(){if(this.items){for(const e of this.items)if(e.row){const t=this.renderers.get(e.row.templateId);t&&(t.disposeElement&&t.disposeElement(e.element,-1,e.row.templateData,void 0),t.disposeTemplate(e.row.templateData))}this.items=[]}this.domNode&&this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),eu(this.disposables)}}x0.InstanceCount=0;mw([$d],x0.prototype,\"onMouseClick\",null);mw([$d],x0.prototype,\"onMouseDblClick\",null);mw([$d],x0.prototype,\"onMouseMiddleClick\",null);mw([$d],x0.prototype,\"onMouseDown\",null);mw([$d],x0.prototype,\"onContextMenu\",null);mw([$d],x0.prototype,\"onTouchStart\",null);mw([$d],x0.prototype,\"onTap\",null);var yw=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},koe=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};class YPe{constructor(e){this.trait=e,this.renderedElements=[]}get templateId(){return`template:${this.trait.name}`}renderTemplate(e){return e}renderElement(e,t,n){const i=this.renderedElements.findIndex(s=>s.templateData===n);if(i>=0){const s=this.renderedElements[i];this.trait.unrender(n),s.index=t}else{const s={index:t,templateData:n};this.renderedElements.push(s)}this.trait.renderIndex(t,n)}splice(e,t,n){const i=[];for(const s of this.renderedElements)s.index<e?i.push(s):s.index>=e+t&&i.push({index:s.index+n-t,templateData:s.templateData});this.renderedElements=i}renderIndexes(e){for(const{index:t,templateData:n}of this.renderedElements)e.indexOf(t)>-1&&this.trait.renderIndex(t,n)}disposeTemplate(e){const t=this.renderedElements.findIndex(n=>n.templateData===e);t<0||this.renderedElements.splice(t,1)}}class V7{constructor(e){this._trait=e,this.length=0,this.indexes=[],this.sortedIndexes=[],this._onChange=new ri,this.onChange=this._onChange.event}get name(){return this._trait}get renderer(){return new YPe(this)}splice(e,t,n){var i;t=Math.max(0,Math.min(t,this.length-e));const s=n.length-t,a=e+t,l=[...this.sortedIndexes.filter(d=>d<e),...n.map((d,h)=>d?h+e:-1).filter(d=>d!==-1),...this.sortedIndexes.filter(d=>d>=a).map(d=>d+s)],u=this.length+s;if(this.sortedIndexes.length>0&&l.length===0&&u>0){const d=(i=this.sortedIndexes.find(h=>h>=e))!==null&&i!==void 0?i:u-1;l.push(Math.min(d,u-1))}this.renderer.splice(e,t,n.length),this._set(l,l),this.length=u}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(Noe),t)}_set(e,t,n){const i=this.indexes,s=this.sortedIndexes;this.indexes=e,this.sortedIndexes=t;const a=xU(s,e);return this.renderer.renderIndexes(a),this._onChange.fire({indexes:e,browserEvent:n}),i}get(){return this.indexes}contains(e){return yq(this.sortedIndexes,e,Noe)>=0}dispose(){eu(this._onChange)}}yw([$d],V7.prototype,\"renderer\",null);class XPe extends V7{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 nH{constructor(e,t,n){this.trait=e,this.view=t,this.identityProvider=n}splice(e,t,n){if(!this.identityProvider)return this.trait.splice(e,t,n.map(()=>!1));const i=this.trait.get().map(a=>this.identityProvider.getId(this.view.element(a)).toString()),s=n.map(a=>i.indexOf(this.identityProvider.getId(a).toString())>-1);this.trait.splice(e,t,s)}}function dC(o){return o.tagName===\"INPUT\"||o.tagName===\"TEXTAREA\"}function Tx(o){return o.classList.contains(\"monaco-editor\")?!0:o.classList.contains(\"monaco-list\")||!o.parentElement?!1:Tx(o.parentElement)}class fhe{constructor(e,t,n){this.list=e,this.view=t,this.disposables=new fs,this.multipleSelectionDisposables=new fs,this.onKeyDown.filter(i=>i.keyCode===3).on(this.onEnter,this,this.disposables),this.onKeyDown.filter(i=>i.keyCode===16).on(this.onUpArrow,this,this.disposables),this.onKeyDown.filter(i=>i.keyCode===18).on(this.onDownArrow,this,this.disposables),this.onKeyDown.filter(i=>i.keyCode===11).on(this.onPageUpArrow,this,this.disposables),this.onKeyDown.filter(i=>i.keyCode===12).on(this.onPageDownArrow,this,this.disposables),this.onKeyDown.filter(i=>i.keyCode===9).on(this.onEscape,this,this.disposables),n.multipleSelectionSupport!==!1&&this.onKeyDown.filter(i=>(El?i.metaKey:i.ctrlKey)&&i.keyCode===31).on(this.onCtrlA,this,this.multipleSelectionDisposables)}get onKeyDown(){return Xo.chain(this.disposables.add(new Ru(this.view.domNode,\"keydown\")).event).filter(e=>!dC(e.target)).map(e=>new _c(e))}updateOptions(e){e.multipleSelectionSupport!==void 0&&(this.multipleSelectionDisposables.clear(),e.multipleSelectionSupport&&this.onKeyDown.filter(t=>(El?t.metaKey:t.ctrlKey)&&t.keyCode===31).on(this.onCtrlA,this,this.multipleSelectionDisposables))}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(af(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()}}yw([$d],fhe.prototype,\"onKeyDown\",null);var Ax;(function(o){o[o.Idle=0]=\"Idle\",o[o.Typing=1]=\"Typing\"})(Ax||(Ax={}));const _he=new class{mightProducePrintableCharacter(o){return o.ctrlKey||o.metaKey||o.altKey?!1:o.keyCode>=31&&o.keyCode<=56||o.keyCode>=21&&o.keyCode<=30||o.keyCode>=93&&o.keyCode<=102||o.keyCode>=80&&o.keyCode<=90}};class QPe{constructor(e,t,n,i){this.list=e,this.view=t,this.keyboardNavigationLabelProvider=n,this.delegate=i,this.enabled=!1,this.state=Ax.Idle,this.automaticKeyboardNavigation=!0,this.triggered=!1,this.previouslyFocused=-1,this.enabledDisposables=new fs,this.disposables=new fs,this.updateOptions(e.options)}updateOptions(e){(typeof e.enableKeyboardNavigation==\"undefined\"?!0:!!e.enableKeyboardNavigation)?this.enable():this.disable(),typeof e.automaticKeyboardNavigation!=\"undefined\"&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation)}enable(){if(this.enabled)return;const e=Xo.chain(this.enabledDisposables.add(new Ru(this.view.domNode,\"keydown\")).event).filter(i=>!dC(i.target)).filter(()=>this.automaticKeyboardNavigation||this.triggered).map(i=>new _c(i)).filter(i=>this.delegate.mightProducePrintableCharacter(i)).forEach(i=>i.preventDefault()).map(i=>i.browserEvent.key).event,t=Xo.debounce(e,()=>null,800);Xo.reduce(Xo.any(e,t),(i,s)=>s===null?null:(i||\"\")+s)(this.onInput,this,this.enabledDisposables),t(this.onClear,this,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 n=(e=this.list.options.accessibilityProvider)===null||e===void 0?void 0:e.getAriaLabel(this.list.element(t[0]));n&&Jh(n)}this.previouslyFocused=-1}onInput(e){if(!e){this.state=Ax.Idle,this.triggered=!1;return}const t=this.list.getFocus(),n=t.length>0?t[0]:0,i=this.state===Ax.Idle?1:0;this.state=Ax.Typing;for(let s=0;s<this.list.length;s++){const a=(n+s+i)%this.list.length,l=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(this.view.element(a)),u=l&&l.toString();if(typeof u==\"undefined\"||a9(e,u)){this.previouslyFocused=n,this.list.setFocus([a]),this.list.reveal(a);return}}}dispose(){this.disable(),this.enabledDisposables.dispose(),this.disposables.dispose()}}class ZPe{constructor(e,t){this.list=e,this.view=t,this.disposables=new fs,Xo.chain(this.disposables.add(new Ru(t.domNode,\"keydown\")).event).filter(i=>!dC(i.target)).map(i=>new _c(i)).filter(i=>i.keyCode===2&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&!i.altKey).on(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 n=this.view.domElement(t[0]);if(!n)return;const i=n.querySelector(\"[tabIndex]\");if(!i||!(i instanceof HTMLElement)||i.tabIndex===-1)return;const s=window.getComputedStyle(i);s.visibility===\"hidden\"||s.display===\"none\"||(e.preventDefault(),e.stopPropagation(),i.focus())}dispose(){this.disposables.dispose()}}function ghe(o){return El?o.browserEvent.metaKey:o.browserEvent.ctrlKey}function mhe(o){return o.browserEvent.shiftKey}function e9e(o){return o instanceof MouseEvent&&o.button===2}const Loe={isSelectionSingleChangeEvent:ghe,isSelectionRangeChangeEvent:mhe};class yhe{constructor(e){this.list=e,this.disposables=new fs,this._onPointer=new ri,this.onPointer=this._onPointer.event,e.options.multipleSelectionSupport!==!1&&(this.multipleSelectionController=this.list.options.multipleSelectionController||Loe),this.mouseSupport=typeof e.options.mouseSupport==\"undefined\"||!!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(Iu.addTarget(e.getHTMLElement()))),Xo.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||Loe))}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){Tx(e.browserEvent.target)||document.activeElement!==e.browserEvent.target&&this.list.domFocus()}onContextMenu(e){if(Tx(e.browserEvent.target))return;const t=typeof e.index==\"undefined\"?[]:[e.index];this.list.setFocus(t,e.browserEvent)}onViewPointer(e){if(!this.mouseSupport||dC(e.browserEvent.target)||Tx(e.browserEvent.target))return;const t=e.index;if(typeof t==\"undefined\"){this.list.setFocus([],e.browserEvent),this.list.setSelection([],e.browserEvent),this.list.setAnchor(void 0);return}if(this.isSelectionRangeChangeEvent(e))return this.changeSelection(e);if(this.isSelectionChangeEvent(e))return this.changeSelection(e);this.list.setFocus([t],e.browserEvent),this.list.setAnchor(t),e9e(e.browserEvent)||this.list.setSelection([t],e.browserEvent),this._onPointer.fire(e)}onDoubleClick(e){if(dC(e.browserEvent.target)||Tx(e.browserEvent.target)||this.isSelectionChangeEvent(e))return;const t=this.list.getFocus();this.list.setSelection(t,e.browserEvent)}changeSelection(e){const t=e.index;let n=this.list.getAnchor();if(this.isSelectionRangeChangeEvent(e)){if(typeof n==\"undefined\"){const h=this.list.getFocus()[0];n=h!=null?h:t,this.list.setAnchor(n)}const i=Math.min(n,t),s=Math.max(n,t),a=af(i,s+1),l=this.list.getSelection(),u=i9e(xU(l,[n]),n);if(u.length===0)return;const d=xU(a,r9e(l,u));this.list.setSelection(d,e.browserEvent),this.list.setFocus([t],e.browserEvent)}else if(this.isSelectionSingleChangeEvent(e)){const i=this.list.getSelection(),s=i.filter(a=>a!==t);this.list.setFocus([t]),this.list.setAnchor(t),i.length===s.length?this.list.setSelection([...s,t],e.browserEvent):this.list.setSelection(s,e.browserEvent)}}dispose(){this.disposables.dispose()}}class bhe{constructor(e,t){this.styleElement=e,this.selectorSuffix=t}style(e){const t=this.selectorSuffix&&`.${this.selectorSuffix}`,n=[];e.listBackground&&(e.listBackground.isOpaque()?n.push(`.monaco-list${t} .monaco-list-rows { background: ${e.listBackground}; }`):El||console.warn(`List with id '${this.selectorSuffix}' was styled with a non-opaque background color. This will break sub-pixel antialiasing.`)),e.listFocusBackground&&(n.push(`.monaco-list${t}:focus .monaco-list-row.focused { background-color: ${e.listFocusBackground}; }`),n.push(`.monaco-list${t}:focus .monaco-list-row.focused:hover { background-color: ${e.listFocusBackground}; }`)),e.listFocusForeground&&n.push(`.monaco-list${t}:focus .monaco-list-row.focused { color: ${e.listFocusForeground}; }`),e.listActiveSelectionBackground&&(n.push(`.monaco-list${t}:focus .monaco-list-row.selected { background-color: ${e.listActiveSelectionBackground}; }`),n.push(`.monaco-list${t}:focus .monaco-list-row.selected:hover { background-color: ${e.listActiveSelectionBackground}; }`)),e.listActiveSelectionForeground&&n.push(`.monaco-list${t}:focus .monaco-list-row.selected { color: ${e.listActiveSelectionForeground}; }`),e.listActiveSelectionIconForeground&&n.push(`.monaco-list${t}:focus .monaco-list-row.selected .codicon { color: ${e.listActiveSelectionIconForeground}; }`),e.listFocusAndSelectionBackground&&n.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.selected.focused { background-color: ${e.listFocusAndSelectionBackground}; }\n\t\t\t`),e.listFocusAndSelectionForeground&&n.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.selected.focused { color: ${e.listFocusAndSelectionForeground}; }\n\t\t\t`),e.listInactiveFocusForeground&&(n.push(`.monaco-list${t} .monaco-list-row.focused { color:  ${e.listInactiveFocusForeground}; }`),n.push(`.monaco-list${t} .monaco-list-row.focused:hover { color:  ${e.listInactiveFocusForeground}; }`)),e.listInactiveSelectionIconForeground&&n.push(`.monaco-list${t} .monaco-list-row.focused .codicon { color:  ${e.listInactiveSelectionIconForeground}; }`),e.listInactiveFocusBackground&&(n.push(`.monaco-list${t} .monaco-list-row.focused { background-color:  ${e.listInactiveFocusBackground}; }`),n.push(`.monaco-list${t} .monaco-list-row.focused:hover { background-color:  ${e.listInactiveFocusBackground}; }`)),e.listInactiveSelectionBackground&&(n.push(`.monaco-list${t} .monaco-list-row.selected { background-color:  ${e.listInactiveSelectionBackground}; }`),n.push(`.monaco-list${t} .monaco-list-row.selected:hover { background-color:  ${e.listInactiveSelectionBackground}; }`)),e.listInactiveSelectionForeground&&n.push(`.monaco-list${t} .monaco-list-row.selected { color: ${e.listInactiveSelectionForeground}; }`),e.listHoverBackground&&n.push(`.monaco-list${t}:not(.drop-target) .monaco-list-row:hover:not(.selected):not(.focused) { background-color: ${e.listHoverBackground}; }`),e.listHoverForeground&&n.push(`.monaco-list${t} .monaco-list-row:hover:not(.selected):not(.focused) { color:  ${e.listHoverForeground}; }`),e.listSelectionOutline&&n.push(`.monaco-list${t} .monaco-list-row.selected { outline: 1px dotted ${e.listSelectionOutline}; outline-offset: -1px; }`),e.listFocusOutline&&n.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}: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${t}.last-focused .monaco-list-row.focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; }\n\t\t\t`),e.listInactiveFocusOutline&&n.push(`.monaco-list${t} .monaco-list-row.focused { outline: 1px dotted ${e.listInactiveFocusOutline}; outline-offset: -1px; }`),e.listHoverOutline&&n.push(`.monaco-list${t} .monaco-list-row:hover { outline: 1px dashed ${e.listHoverOutline}; outline-offset: -1px; }`),e.listDropBackground&&n.push(`\n\t\t\t\t.monaco-list${t}.drop-target,\n\t\t\t\t.monaco-list${t} .monaco-list-rows.drop-target,\n\t\t\t\t.monaco-list${t} .monaco-list-row.drop-target { background-color: ${e.listDropBackground} !important; color: inherit !important; }\n\t\t\t`),e.listFilterWidgetBackground&&n.push(`.monaco-list-type-filter { background-color: ${e.listFilterWidgetBackground} }`),e.listFilterWidgetOutline&&n.push(`.monaco-list-type-filter { border: 1px solid ${e.listFilterWidgetOutline}; }`),e.listFilterWidgetNoMatchesOutline&&n.push(`.monaco-list-type-filter.no-matches { border: 1px solid ${e.listFilterWidgetNoMatchesOutline}; }`),e.listMatchesShadow&&n.push(`.monaco-list-type-filter { box-shadow: 1px 1px 1px ${e.listMatchesShadow}; }`),e.tableColumnsBorder&&n.push(`\n\t\t\t\t.monaco-table:hover > .monaco-split-view2,\n\t\t\t\t.monaco-table:hover > .monaco-split-view2 .monaco-sash.vertical::before {\n\t\t\t\t\tborder-color: ${e.tableColumnsBorder};\n\t\t\t}`),e.tableOddRowsBackgroundColor&&n.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=n.join(`\n`)}}const t9e={listFocusBackground:Xi.fromHex(\"#7FB0D0\"),listActiveSelectionBackground:Xi.fromHex(\"#0E639C\"),listActiveSelectionForeground:Xi.fromHex(\"#FFFFFF\"),listActiveSelectionIconForeground:Xi.fromHex(\"#FFFFFF\"),listFocusAndSelectionBackground:Xi.fromHex(\"#094771\"),listFocusAndSelectionForeground:Xi.fromHex(\"#FFFFFF\"),listInactiveSelectionBackground:Xi.fromHex(\"#3F3F46\"),listInactiveSelectionIconForeground:Xi.fromHex(\"#FFFFFF\"),listHoverBackground:Xi.fromHex(\"#2A2D2E\"),listDropBackground:Xi.fromHex(\"#383B3D\"),treeIndentGuidesStroke:Xi.fromHex(\"#a9a9a9\"),tableColumnsBorder:Xi.fromHex(\"#cccccc\").transparent(.2),tableOddRowsBackgroundColor:Xi.fromHex(\"#cccccc\").transparent(.04)},n9e={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI(){return null},onDragStart(){},onDragOver(){return!1},drop(){}}};function i9e(o,e){const t=o.indexOf(e);if(t===-1)return[];const n=[];let i=t-1;for(;i>=0&&o[i]===e-(t-i);)n.push(o[i--]);for(n.reverse(),i=t;i<o.length&&o[i]===e+(i-t);)n.push(o[i++]);return n}function xU(o,e){const t=[];let n=0,i=0;for(;n<o.length||i<e.length;)if(n>=o.length)t.push(e[i++]);else if(i>=e.length)t.push(o[n++]);else if(o[n]===e[i]){t.push(o[n]),n++,i++;continue}else o[n]<e[i]?t.push(o[n++]):t.push(e[i++]);return t}function r9e(o,e){const t=[];let n=0,i=0;for(;n<o.length||i<e.length;)if(n>=o.length)t.push(e[i++]);else if(i>=e.length)t.push(o[n++]);else if(o[n]===e[i]){n++,i++;continue}else o[n]<e[i]?t.push(o[n++]):i++;return t}const Noe=(o,e)=>o-e;class s9e{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,n,i){let s=0;for(const a of this.renderers)a.renderElement(e,t,n[s++],i)}disposeElement(e,t,n,i){let s=0;for(const a of this.renderers)a.disposeElement&&a.disposeElement(e,t,n[s],i),s+=1}disposeTemplate(e){let t=0;for(const n of this.renderers)n.disposeTemplate(e[t++])}}class o9e{constructor(e){this.accessibilityProvider=e,this.templateId=\"a18n\"}renderTemplate(e){return e}renderElement(e,t,n){const i=this.accessibilityProvider.getAriaLabel(e);i?n.setAttribute(\"aria-label\",i):n.removeAttribute(\"aria-label\");const s=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(e);typeof s==\"number\"?n.setAttribute(\"aria-level\",`${s}`):n.removeAttribute(\"aria-level\")}disposeTemplate(e){}}class a9e{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){this.dnd.onDragStart&&this.dnd.onDragStart(e,t)}onDragOver(e,t,n,i){return this.dnd.onDragOver(e,t,n,i)}onDragLeave(e,t,n,i){var s,a;(a=(s=this.dnd).onDragLeave)===null||a===void 0||a.call(s,e,t,n,i)}onDragEnd(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}drop(e,t,n,i){this.dnd.drop(e,t,n,i)}}class ly{constructor(e,t,n,i,s=n9e){var a;this.user=e,this._options=s,this.focus=new V7(\"focused\"),this.anchor=new V7(\"anchor\"),this.eventBufferer=new Eq,this._ariaLabel=\"\",this.disposables=new fs,this._onDidDispose=new ri,this.onDidDispose=this._onDidDispose.event;const l=this._options.accessibilityProvider&&this._options.accessibilityProvider.getWidgetRole?(a=this._options.accessibilityProvider)===null||a===void 0?void 0:a.getWidgetRole():\"list\";this.selection=new XPe(l!==\"listbox\"),iy(s,t9e,!1);const u=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=s.accessibilityProvider,this.accessibilityProvider&&(u.push(new o9e(this.accessibilityProvider)),this.accessibilityProvider.onDidChangeActiveDescendant&&this.accessibilityProvider.onDidChangeActiveDescendant(this.onDidChangeActiveDescendant,this,this.disposables)),i=i.map(h=>new s9e(h.templateId,[...u,h]));const d=Object.assign(Object.assign({},s),{dnd:s.dnd&&new a9e(this,s.dnd)});if(this.view=new x0(t,n,i,d),this.view.domNode.setAttribute(\"role\",l),s.styleController)this.styleController=s.styleController(this.view.domId);else{const h=Pg(this.view.domNode);this.styleController=new bhe(h,this.view.domId)}if(this.spliceable=new VPe([new nH(this.focus,this.view,s.identityProvider),new nH(this.selection,this.view,s.identityProvider),new nH(this.anchor,this.view,s.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 ZPe(this,this.view)),(typeof s.keyboardSupport!=\"boolean\"||s.keyboardSupport)&&(this.keyboardController=new fhe(this,this.view,s),this.disposables.add(this.keyboardController)),s.keyboardNavigationLabelProvider){const h=s.keyboardNavigationDelegate||_he;this.typeLabelController=new QPe(this,this.view,s.keyboardNavigationLabelProvider,h),this.disposables.add(this.typeLabelController)}this.mouseController=this.createMouseController(s),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\")}get onDidChangeFocus(){return Xo.map(this.eventBufferer.wrapEvent(this.focus.onChange),e=>this.toListEvent(e))}get onDidChangeSelection(){return Xo.map(this.eventBufferer.wrapEvent(this.selection.onChange),e=>this.toListEvent(e))}get domId(){return this.view.domId}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 onTouchStart(){return this.view.onTouchStart}get onTap(){return this.view.onTap}get onContextMenu(){let e=!1;const t=Xo.chain(this.disposables.add(new Ru(this.view.domNode,\"keydown\")).event).map(s=>new _c(s)).filter(s=>e=s.keyCode===58||s.shiftKey&&s.keyCode===68).map(Rse).filter(()=>!1).event,n=Xo.chain(this.disposables.add(new Ru(this.view.domNode,\"keyup\")).event).forEach(()=>e=!1).map(s=>new _c(s)).filter(s=>s.keyCode===58||s.shiftKey&&s.keyCode===68).map(Rse).map(({browserEvent:s})=>{const a=this.getFocus(),l=a.length?a[0]:void 0,u=typeof l!=\"undefined\"?this.view.element(l):void 0,d=typeof l!=\"undefined\"?this.view.domElement(l):this.view.domNode;return{index:l,element:u,anchor:d,browserEvent:s}}).event,i=Xo.chain(this.view.onContextMenu).filter(s=>!e).map(({element:s,index:a,browserEvent:l})=>({element:s,index:a,anchor:{x:l.pageX+1,y:l.pageY},browserEvent:l})).event;return Xo.any(t,n,i)}get onKeyDown(){return this.disposables.add(new Ru(this.view.domNode,\"keydown\")).event}get onDidFocus(){return Xo.signal(this.disposables.add(new Ru(this.view.domNode,\"focus\",!0)).event)}createMouseController(e){return new yhe(this)}updateOptions(e={}){var t;this._options=Object.assign(Object.assign({},this._options),e),this.typeLabelController&&this.typeLabelController.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),(t=this.keyboardController)===null||t===void 0||t.updateOptions(e),this.view.updateOptions(e)}get options(){return this._options}splice(e,t,n=[]){if(e<0||e>this.view.length)throw new T2(this.user,`Invalid start index: ${e}`);if(t<0)throw new T2(this.user,`Invalid delete count: ${t}`);t===0&&n.length===0||this.eventBufferer.bufferEvents(()=>this.spliceable.splice(e,t,n))}rerender(){this.view.rerender()}element(e){return this.view.element(e)}get length(){return this.view.length}get contentHeight(){return this.view.contentHeight}get scrollTop(){return this.view.getScrollTop()}set scrollTop(e){this.view.setScrollTop(e)}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 n of e)if(n<0||n>=this.length)throw new T2(this.user,`Invalid index ${n}`);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==\"undefined\"){this.anchor.set([]);return}if(e<0||e>=this.length)throw new T2(this.user,`Invalid index ${e}`);this.anchor.set([e])}getAnchor(){return Ple(this.anchor.get(),void 0)}getAnchorElement(){const e=this.getAnchor();return typeof e==\"undefined\"?void 0:this.element(e)}setFocus(e,t){for(const n of e)if(n<0||n>=this.length)throw new T2(this.user,`Invalid index ${n}`);this.focus.set(e,t)}focusNext(e=1,t=!1,n,i){if(this.length===0)return;const s=this.focus.get(),a=this.findNextIndex(s.length>0?s[0]+e:0,t,i);a>-1&&this.setFocus([a],n)}focusPrevious(e=1,t=!1,n,i){if(this.length===0)return;const s=this.focus.get(),a=this.findPreviousIndex(s.length>0?s[0]-e:0,t,i);a>-1&&this.setFocus([a],n)}focusNextPage(e,t){return koe(this,void 0,void 0,function*(){let n=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);n=n===0?0:n-1;const i=this.view.element(n),s=this.getFocusedElements()[0];if(s!==i){const a=this.findPreviousIndex(n,!1,t);a>-1&&s!==this.view.element(a)?this.setFocus([a],e):this.setFocus([n],e)}else{const a=this.view.getScrollTop();this.view.setScrollTop(a+this.view.renderHeight-this.view.elementHeight(n)),this.view.getScrollTop()!==a&&(this.setFocus([]),yield Zv(0),yield this.focusNextPage(e,t))}})}focusPreviousPage(e,t){return koe(this,void 0,void 0,function*(){let n;const i=this.view.getScrollTop();i===0?n=this.view.indexAt(i):n=this.view.indexAfter(i-1);const s=this.view.element(n),a=this.getFocusedElements()[0];if(a!==s){const l=this.findNextIndex(n,!1,t);l>-1&&a!==this.view.element(l)?this.setFocus([l],e):this.setFocus([n],e)}else{const l=i;this.view.setScrollTop(i-this.view.renderHeight),this.view.getScrollTop()!==l&&(this.setFocus([]),yield Zv(0),yield this.focusPreviousPage(e,t))}})}focusLast(e,t){if(this.length===0)return;const n=this.findPreviousIndex(this.length-1,!1,t);n>-1&&this.setFocus([n],e)}focusFirst(e,t){this.focusNth(0,e,t)}focusNth(e,t,n){if(this.length===0)return;const i=this.findNextIndex(e,!1,n);i>-1&&this.setFocus([i],t)}findNextIndex(e,t=!1,n){for(let i=0;i<this.length;i++){if(e>=this.length&&!t)return-1;if(e=e%this.length,!n||n(this.element(e)))return e;e++}return-1}findPreviousIndex(e,t=!1,n){for(let i=0;i<this.length;i++){if(e<0&&!t)return-1;if(e=(this.length+e%this.length)%this.length,!n||n(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){if(e<0||e>=this.length)throw new T2(this.user,`Invalid index ${e}`);const n=this.view.getScrollTop(),i=this.view.elementTop(e),s=this.view.elementHeight(e);if(CD(t)){const a=s-this.view.renderHeight;this.view.setScrollTop(a*s_(t,0,1)+i)}else{const a=i+s,l=n+this.view.renderHeight;i<n&&a>=l||(i<n||a>=l&&s>=this.view.renderHeight?this.view.setScrollTop(i):a>=l&&this.view.setScrollTop(a-this.view.renderHeight))}}getRelativeTop(e){if(e<0||e>=this.length)throw new T2(this.user,`Invalid index ${e}`);const t=this.view.getScrollTop(),n=this.view.elementTop(e),i=this.view.elementHeight(e);if(n<t||n+i>t+this.view.renderHeight)return null;const s=i-this.view.renderHeight;return Math.abs((t-n)/s)}getHTMLElement(){return this.view.domNode}style(e){this.styleController.style(e)}toListEvent({indexes:e,browserEvent:t}){return{indexes:e,elements:e.map(n=>this.view.element(n)),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 n;!((e=this.accessibilityProvider)===null||e===void 0)&&e.getActiveDescendantId&&(n=this.accessibilityProvider.getActiveDescendantId(this.view.element(t[0]))),this.view.domNode.setAttribute(\"aria-activedescendant\",n||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()}}yw([$d],ly.prototype,\"onDidChangeFocus\",null);yw([$d],ly.prototype,\"onDidChangeSelection\",null);yw([$d],ly.prototype,\"onContextMenu\",null);yw([$d],ly.prototype,\"onKeyDown\",null);yw([$d],ly.prototype,\"onDidFocus\",null);class l9e{constructor(e,t){this.renderer=e,this.modelProvider=t}get templateId(){return this.renderer.templateId}renderTemplate(e){return{data:this.renderer.renderTemplate(e),disposable:fr.None}}renderElement(e,t,n,i){if(n.disposable&&n.disposable.dispose(),!n.data)return;const s=this.modelProvider();if(s.isResolved(e))return this.renderer.renderElement(s.get(e),e,n.data,i);const a=new Xh,l=s.resolve(e,a.token);n.disposable={dispose:()=>a.cancel()},this.renderer.renderPlaceholder(e,n.data),l.then(u=>this.renderer.renderElement(u,e,n.data,i))}disposeTemplate(e){e.disposable&&(e.disposable.dispose(),e.disposable=void 0),e.data&&(this.renderer.disposeTemplate(e.data),e.data=void 0)}}class u9e{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 c9e(o,e){return Object.assign(Object.assign({},e),{accessibilityProvider:e.accessibilityProvider&&new u9e(o,e.accessibilityProvider)})}class d9e{constructor(e,t,n,i,s={}){const a=()=>this.model,l=i.map(u=>new l9e(u,a));this.list=new ly(e,t,n,l,c9e(a,s))}updateOptions(e){this.list.updateOptions(e)}getHTMLElement(){return this.list.getHTMLElement()}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}get onMouseDblClick(){return Xo.map(this.list.onMouseDblClick,({element:e,index:t,browserEvent:n})=>({element:e===void 0?void 0:this._model.get(e),index:t,browserEvent:n}))}get onPointer(){return Xo.map(this.list.onPointer,({element:e,index:t,browserEvent:n})=>({element:e===void 0?void 0:this._model.get(e),index:t,browserEvent:n}))}get onDidChangeSelection(){return Xo.map(this.list.onDidChangeSelection,({elements:e,indexes:t,browserEvent:n})=>({elements:e.map(i=>this._model.get(i)),indexes:t,browserEvent:n}))}get model(){return this._model}set model(e){this._model=e,this.list.splice(0,this.list.length,af(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()}}const h9e={separatorBorder:Xi.transparent};class vhe{constructor(e,t,n,i){this.container=e,this.view=t,this.disposable=i,this._cachedVisibleSize=void 0,typeof n==\"number\"?(this._size=n,this._cachedVisibleSize=void 0,e.classList.add(\"visible\")):(this._size=0,this._cachedVisibleSize=n.cachedVisibleSize)}set size(e){this._size=e}get size(){return this._size}get visible(){return typeof this._cachedVisibleSize==\"undefined\"}setVisible(e,t){e!==this.visible&&(e?(this.size=s_(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),this.view.setVisible&&this.view.setVisible(e))}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 snap(){return!!this.view.snap}set enabled(e){this.container.style.pointerEvents=e?\"\":\"none\"}layout(e,t){this.layoutContainer(e),this.view.layout(this.size,e,t)}dispose(){return this.disposable.dispose(),this.view}}class p9e extends vhe{layoutContainer(e){this.container.style.top=`${e}px`,this.container.style.height=`${this.size}px`}}class f9e extends vhe{layoutContainer(e){this.container.style.left=`${e}px`,this.container.style.width=`${this.size}px`}}var Zy;(function(o){o[o.Idle=0]=\"Idle\",o[o.Busy=1]=\"Busy\"})(Zy||(Zy={}));var H7;(function(o){o.Distribute={type:\"distribute\"};function e(n){return{type:\"split\",index:n}}o.Split=e;function t(n){return{type:\"invisible\",cachedVisibleSize:n}}o.Invisible=t})(H7||(H7={}));class Che extends fr{constructor(e,t={}){var n,i,s,a,l;super(),this.size=0,this.contentSize=0,this.proportions=void 0,this.viewItems=[],this.sashItems=[],this.state=Zy.Idle,this._onDidSashChange=this._register(new ri),this._onDidSashReset=this._register(new ri),this._startSnappingEnabled=!0,this._endSnappingEnabled=!0,this.onDidSashChange=this._onDidSashChange.event,this.onDidSashReset=this._onDidSashReset.event,this.orientation=(n=t.orientation)!==null&&n!==void 0?n:0,this.inverseAltBehavior=(i=t.inverseAltBehavior)!==null&&i!==void 0?i:!1,this.proportionalLayout=(s=t.proportionalLayout)!==null&&s!==void 0?s:!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=Jr(this.el,ls(\".sash-container\")),this.viewContainer=ls(\".split-view-container\"),this.scrollable=new o4({forceIntegerValues:!0,smoothScrollDuration:125,scheduleAtNextAnimationFrame:b0}),this.scrollableElement=this._register(new AG(this.viewContainer,{vertical:this.orientation===0?(a=t.scrollbarVisibility)!==null&&a!==void 0?a:1:2,horizontal:this.orientation===1?(l=t.scrollbarVisibility)!==null&&l!==void 0?l:1:2},this.scrollable)),this.onDidScroll=this.scrollableElement.onScroll,this._register(this.onDidScroll(u=>{this.viewContainer.scrollTop=u.scrollTop,this.viewContainer.scrollLeft=u.scrollLeft})),Jr(this.el,this.scrollableElement.getDomNode()),this.style(t.styles||h9e),t.descriptor&&(this.size=t.descriptor.size,t.descriptor.views.forEach((u,d)=>{const h=l_(u.visible)||u.visible?u.size:{type:\"invisible\",cachedVisibleSize:u.size},p=u.view;this.doAddView(p,h,d,!0)}),this.contentSize=this.viewItems.reduce((u,d)=>u+d.size,0),this.saveProportions())}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())}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,n=this.viewItems.length,i){this.doAddView(e,t,n,i)}layout(e,t){const n=Math.max(this.size,this.contentSize);if(this.size=e,this.layoutContext=t,this.proportions)for(let i=0;i<this.viewItems.length;i++){const s=this.viewItems[i];s.size=s_(Math.round(this.proportions[i]*e),s.minimumSize,s.maximumSize)}else{const i=af(this.viewItems.length),s=i.filter(l=>this.viewItems[l].priority===1),a=i.filter(l=>this.viewItems[l].priority===2);this.resize(this.viewItems.length-1,e-n,void 0,s,a)}this.distributeEmptySpace(),this.layoutViews()}saveProportions(){this.proportionalLayout&&this.contentSize>0&&(this.proportions=this.viewItems.map(e=>e.size/this.contentSize))}onSashStart({sash:e,start:t,alt:n}){for(const l of this.viewItems)l.enabled=!1;const i=this.sashItems.findIndex(l=>l.sash===e),s=gb(hs(document.body,\"keydown\",l=>a(this.sashDragState.current,l.altKey)),hs(document.body,\"keyup\",()=>a(this.sashDragState.current,!1))),a=(l,u)=>{const d=this.viewItems.map(D=>D.size);let h=Number.NEGATIVE_INFINITY,p=Number.POSITIVE_INFINITY;if(this.inverseAltBehavior&&(u=!u),u)if(i===this.sashItems.length-1){const T=this.viewItems[i];h=(T.minimumSize-T.size)/2,p=(T.maximumSize-T.size)/2}else{const T=this.viewItems[i+1];h=(T.size-T.maximumSize)/2,p=(T.size-T.minimumSize)/2}let g,y;if(!u){const D=af(i,-1),T=af(i+1,this.viewItems.length),k=D.reduce((Ge,qt)=>Ge+(this.viewItems[qt].minimumSize-d[qt]),0),I=D.reduce((Ge,qt)=>Ge+(this.viewItems[qt].viewMaximumSize-d[qt]),0),F=T.length===0?Number.POSITIVE_INFINITY:T.reduce((Ge,qt)=>Ge+(d[qt]-this.viewItems[qt].minimumSize),0),q=T.length===0?Number.NEGATIVE_INFINITY:T.reduce((Ge,qt)=>Ge+(d[qt]-this.viewItems[qt].viewMaximumSize),0),re=Math.max(k,q),Ie=Math.min(F,I),mt=this.findFirstSnapIndex(D),Le=this.findFirstSnapIndex(T);if(typeof mt==\"number\"){const Ge=this.viewItems[mt],qt=Math.floor(Ge.viewMinimumSize/2);g={index:mt,limitDelta:Ge.visible?re-qt:re+qt,size:Ge.size}}if(typeof Le==\"number\"){const Ge=this.viewItems[Le],qt=Math.floor(Ge.viewMinimumSize/2);y={index:Le,limitDelta:Ge.visible?Ie+qt:Ie-qt,size:Ge.size}}}this.sashDragState={start:l,current:l,index:i,sizes:d,minDelta:h,maxDelta:p,alt:u,snapBefore:g,snapAfter:y,disposable:s}};a(t,n)}onSashChange({current:e}){const{index:t,start:n,sizes:i,alt:s,minDelta:a,maxDelta:l,snapBefore:u,snapAfter:d}=this.sashDragState;this.sashDragState.current=e;const h=e-n,p=this.resize(t,h,i,void 0,void 0,a,l,u,d);if(s){const g=t===this.sashItems.length-1,y=this.viewItems.map(q=>q.size),D=g?t:t+1,T=this.viewItems[D],k=T.size-T.maximumSize,I=T.size-T.minimumSize,F=g?t-1:t+1;this.resize(F,-p,y,void 0,void 0,k,I)}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 n=this.viewItems.indexOf(e);n<0||n>=this.viewItems.length||(t=typeof t==\"number\"?t:e.size,t=s_(t,e.minimumSize,e.maximumSize),this.inverseAltBehavior&&n>0?(this.resize(n-1,Math.floor((e.size-t)/2)),this.distributeEmptySpace(),this.layoutViews()):(e.size=t,this.relayout([n],void 0)))}resizeView(e,t){if(this.state!==Zy.Idle)throw new Error(\"Cant modify splitview\");if(this.state=Zy.Busy,e<0||e>=this.viewItems.length)return;const n=af(this.viewItems.length).filter(l=>l!==e),i=[...n.filter(l=>this.viewItems[l].priority===1),e],s=n.filter(l=>this.viewItems[l].priority===2),a=this.viewItems[e];t=Math.round(t),t=s_(t,a.minimumSize,Math.min(a.maximumSize,this.size)),a.size=t,this.relayout(i,s),this.state=Zy.Idle}distributeViewSizes(){const e=[];let t=0;for(const l of this.viewItems)l.maximumSize-l.minimumSize>0&&(e.push(l),t+=l.size);const n=Math.floor(t/e.length);for(const l of e)l.size=s_(n,l.minimumSize,l.maximumSize);const i=af(this.viewItems.length),s=i.filter(l=>this.viewItems[l].priority===1),a=i.filter(l=>this.viewItems[l].priority===2);this.relayout(s,a)}getViewSize(e){return e<0||e>=this.viewItems.length?-1:this.viewItems[e].size}doAddView(e,t,n=this.viewItems.length,i){if(this.state!==Zy.Idle)throw new Error(\"Cant modify splitview\");this.state=Zy.Busy;const s=ls(\".split-view-view\");n===this.viewItems.length?this.viewContainer.appendChild(s):this.viewContainer.insertBefore(s,this.viewContainer.children.item(n));const a=e.onDidChange(g=>this.onViewChange(h,g)),l=wl(()=>this.viewContainer.removeChild(s)),u=gb(a,l);let d;typeof t==\"number\"?d=t:t.type===\"split\"?d=this.getViewSize(t.index)/2:t.type===\"invisible\"?d={cachedVisibleSize:t.cachedVisibleSize}:d=e.minimumSize;const h=this.orientation===0?new p9e(s,e,d,u):new f9e(s,e,d,u);if(this.viewItems.splice(n,0,h),this.viewItems.length>1){let g={orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash};const y=this.orientation===0?new gp(this.sashContainer,{getHorizontalSashTop:Ge=>this.getSashPosition(Ge),getHorizontalSashWidth:this.getSashOrthogonalSize},Object.assign(Object.assign({},g),{orientation:1})):new gp(this.sashContainer,{getVerticalSashLeft:Ge=>this.getSashPosition(Ge),getVerticalSashHeight:this.getSashOrthogonalSize},Object.assign(Object.assign({},g),{orientation:0})),D=this.orientation===0?Ge=>({sash:y,start:Ge.startY,current:Ge.currentY,alt:Ge.altKey}):Ge=>({sash:y,start:Ge.startX,current:Ge.currentX,alt:Ge.altKey}),k=Xo.map(y.onDidStart,D)(this.onSashStart,this),F=Xo.map(y.onDidChange,D)(this.onSashChange,this),re=Xo.map(y.onDidEnd,()=>this.sashItems.findIndex(Ge=>Ge.sash===y))(this.onSashEnd,this),Ie=y.onDidReset(()=>{const Ge=this.sashItems.findIndex(Vr=>Vr.sash===y),qt=af(Ge,-1),gi=af(Ge+1,this.viewItems.length),ai=this.findFirstSnapIndex(qt),Tr=this.findFirstSnapIndex(gi);typeof ai==\"number\"&&!this.viewItems[ai].visible||typeof Tr==\"number\"&&!this.viewItems[Tr].visible||this._onDidSashReset.fire(Ge)}),mt=gb(k,F,re,Ie,y),Le={sash:y,disposable:mt};this.sashItems.splice(n-1,0,Le)}s.appendChild(e.element);let p;typeof t!=\"number\"&&t.type===\"split\"&&(p=[t.index]),i||this.relayout([n],p),this.state=Zy.Idle,!i&&typeof t!=\"number\"&&t.type===\"distribute\"&&this.distributeViewSizes()}relayout(e,t){const n=this.viewItems.reduce((i,s)=>i+s.size,0);this.resize(this.viewItems.length-1,this.size-n,void 0,e,t),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}resize(e,t,n=this.viewItems.map(h=>h.size),i,s,a=Number.NEGATIVE_INFINITY,l=Number.POSITIVE_INFINITY,u,d){if(e<0||e>=this.viewItems.length)return 0;const h=af(e,-1),p=af(e+1,this.viewItems.length);if(s)for(const Le of s)zW(h,Le),zW(p,Le);if(i)for(const Le of i)BF(h,Le),BF(p,Le);const g=h.map(Le=>this.viewItems[Le]),y=h.map(Le=>n[Le]),D=p.map(Le=>this.viewItems[Le]),T=p.map(Le=>n[Le]),k=h.reduce((Le,Ge)=>Le+(this.viewItems[Ge].minimumSize-n[Ge]),0),I=h.reduce((Le,Ge)=>Le+(this.viewItems[Ge].maximumSize-n[Ge]),0),F=p.length===0?Number.POSITIVE_INFINITY:p.reduce((Le,Ge)=>Le+(n[Ge]-this.viewItems[Ge].minimumSize),0),q=p.length===0?Number.NEGATIVE_INFINITY:p.reduce((Le,Ge)=>Le+(n[Ge]-this.viewItems[Ge].maximumSize),0),re=Math.max(k,q,a),Ie=Math.min(F,I,l);let mt=!1;if(u){const Le=this.viewItems[u.index],Ge=t>=u.limitDelta;mt=Ge!==Le.visible,Le.setVisible(Ge,u.size)}if(!mt&&d){const Le=this.viewItems[d.index],Ge=t<d.limitDelta;mt=Ge!==Le.visible,Le.setVisible(Ge,d.size)}if(mt)return this.resize(e,t,n,i,s,a,l);t=s_(t,re,Ie);for(let Le=0,Ge=t;Le<g.length;Le++){const qt=g[Le],gi=s_(y[Le]+Ge,qt.minimumSize,qt.maximumSize);Ge-=gi-y[Le],qt.size=gi}for(let Le=0,Ge=t;Le<D.length;Le++){const qt=D[Le],gi=s_(T[Le]-Ge,qt.minimumSize,qt.maximumSize);Ge+=gi-T[Le],qt.size=gi}return t}distributeEmptySpace(e){const t=this.viewItems.reduce((l,u)=>l+u.size,0);let n=this.size-t;const i=af(this.viewItems.length-1,-1),s=i.filter(l=>this.viewItems[l].priority===1),a=i.filter(l=>this.viewItems[l].priority===2);for(const l of a)zW(i,l);for(const l of s)BF(i,l);typeof e==\"number\"&&BF(i,e);for(let l=0;n!==0&&l<i.length;l++){const u=this.viewItems[i[l]],d=s_(u.size+n,u.minimumSize,u.maximumSize);n-=d-u.size,u.size=d}}layoutViews(){this.contentSize=this.viewItems.reduce((t,n)=>t+n.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(u=>e=u.size-u.minimumSize>0||e);e=!1;const n=this.viewItems.map(u=>e=u.maximumSize-u.size>0||e),i=[...this.viewItems].reverse();e=!1;const s=i.map(u=>e=u.size-u.minimumSize>0||e).reverse();e=!1;const a=i.map(u=>e=u.maximumSize-u.size>0||e).reverse();let l=0;for(let u=0;u<this.sashItems.length;u++){const{sash:d}=this.sashItems[u];l+=this.viewItems[u].size;const p=!(t[u]&&a[u+1]),g=!(n[u]&&s[u+1]);if(p&&g){const y=af(u,-1),D=af(u+1,this.viewItems.length),T=this.findFirstSnapIndex(y),k=this.findFirstSnapIndex(D),I=typeof T==\"number\"&&!this.viewItems[T].visible,F=typeof k==\"number\"&&!this.viewItems[k].visible;I&&s[u]&&(l>0||this.startSnappingEnabled)?d.state=1:F&&t[u]&&(l<this.contentSize||this.endSnappingEnabled)?d.state=2:d.state=0}else p&&!g?d.state=1:!p&&g?d.state=2:d.state=3}}getSashPosition(e){let t=0;for(let n=0;n<this.sashItems.length;n++)if(t+=this.viewItems[n].size,this.sashItems[n].sash===e)return t;return 0}findFirstSnapIndex(e){for(const t of e){const n=this.viewItems[t];if(!!n.visible&&n.snap)return t}for(const t of e){const n=this.viewItems[t];if(n.visible&&n.maximumSize-n.minimumSize>0)return;if(!n.visible&&n.snap)return t}}dispose(){super.dispose(),eu(this.viewItems),this.viewItems=[],this.sashItems.forEach(e=>e.disposable.dispose()),this.sashItems=[]}}class _4{constructor(e,t,n){this.columns=e,this.getColumnSize=n,this.templateId=_4.TemplateId,this.renderedTemplates=new Set;const i=new Map(t.map(s=>[s.templateId,s]));this.renderers=[];for(const s of e){const a=i.get(s.templateId);if(!a)throw new Error(`Table cell renderer for template id ${s.templateId} not found.`);this.renderers.push(a)}}renderTemplate(e){const t=Jr(e,ls(\".monaco-table-tr\")),n=[],i=[];for(let a=0;a<this.columns.length;a++){const l=this.renderers[a],u=Jr(t,ls(\".monaco-table-td\",{\"data-col-index\":a}));u.style.width=`${this.getColumnSize(a)}px`,n.push(u),i.push(l.renderTemplate(u))}const s={container:e,cellContainers:n,cellTemplateData:i};return this.renderedTemplates.add(s),s}renderElement(e,t,n,i){for(let s=0;s<this.columns.length;s++){const l=this.columns[s].project(e);this.renderers[s].renderElement(l,t,n.cellTemplateData[s],i)}}disposeElement(e,t,n,i){for(let s=0;s<this.columns.length;s++){const a=this.renderers[s];if(a.disposeElement){const u=this.columns[s].project(e);a.disposeElement(u,t,n.cellTemplateData[s],i)}}}disposeTemplate(e){for(let t=0;t<this.columns.length;t++)this.renderers[t].disposeTemplate(e.cellTemplateData[t]);nh(e.container),this.renderedTemplates.delete(e)}layoutColumn(e,t){for(const{cellContainers:n}of this.renderedTemplates)n[e].style.width=`${t}px`}}_4.TemplateId=\"row\";function _9e(o){return{getHeight(e){return o.getHeight(e)},getTemplateId(){return _4.TemplateId}}}class g9e{constructor(e,t){this.column=e,this.index=t,this._onDidLayout=new ri,this.onDidLayout=this._onDidLayout.event,this.element=ls(\".monaco-table-th\",{\"data-col-index\":t,title:e.tooltip},e.label)}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:Xo.None}layout(e){this._onDidLayout.fire([this.index,e])}}class _9{constructor(e,t,n,i,s,a){this.virtualDelegate=n,this.domId=`table_id_${++_9.InstanceCount}`,this.disposables=new fs,this.cachedWidth=0,this.cachedHeight=0,this.domNode=Jr(t,ls(`.monaco-table.${this.domId}`));const l=i.map((h,p)=>new g9e(h,p)),u={size:l.reduce((h,p)=>h+p.column.weight,0),views:l.map(h=>({size:h.column.weight,view:h}))};this.splitview=this.disposables.add(new Che(this.domNode,{orientation:1,scrollbarVisibility:2,getSashOrthogonalSize:()=>this.cachedHeight,descriptor:u})),this.splitview.el.style.height=`${n.headerRowHeight}px`,this.splitview.el.style.lineHeight=`${n.headerRowHeight}px`;const d=new _4(i,s,h=>this.splitview.getViewSize(h));this.list=this.disposables.add(new ly(e,this.domNode,_9e(n),[d],a)),Xo.any(...l.map(h=>h.onDidLayout))(([h,p])=>d.layoutColumn(h,p),null,this.disposables),this.splitview.onDidSashReset(h=>{const p=i.reduce((y,D)=>y+D.weight,0),g=i[h].weight/p*this.cachedWidth;this.splitview.resizeView(h,g)},null,this.disposables),this.styleElement=Pg(this.domNode),this.style({})}get onDidChangeFocus(){return this.list.onDidChangeFocus}get onDidChangeSelection(){return this.list.onDidChangeSelection}get onMouseDblClick(){return this.list.onMouseDblClick}get onPointer(){return this.list.onPointer}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}updateOptions(e){this.list.updateOptions(e)}splice(e,t,n=[]){this.list.splice(e,t,n)}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()}}_9.InstanceCount=0;var x3;(function(o){o[o.Unknown=0]=\"Unknown\",o[o.Twistie=1]=\"Twistie\",o[o.Element=2]=\"Element\"})(x3||(x3={}));class Dg extends Error{constructor(e,t){super(`TreeError [${e}] ${t}`)}}class gJ{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 mJ(o){return typeof o==\"object\"&&\"visibility\"in o&&\"data\"in o}function bL(o){switch(o){case!0:return 1;case!1:return 0;default:return o}}function iH(o){return typeof o.collapsible==\"boolean\"}class m9e{constructor(e,t,n,i={}){this.user=e,this.list=t,this.rootRef=[],this.eventBufferer=new Eq,this._onDidChangeCollapseState=new ri,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new ri,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new ri,this.onDidSplice=this._onDidSplice.event,this.refilterDelayer=new J1(vue),this.collapseByDefault=typeof i.collapseByDefault==\"undefined\"?!1:i.collapseByDefault,this.filter=i.filter,this.autoExpandSingleChildren=typeof i.autoExpandSingleChildren==\"undefined\"?!1:i.autoExpandSingleChildren,this.root={parent:void 0,element:n,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visibility:1,visible:!0,filterData:void 0}}splice(e,t,n=Zl.empty(),i={}){if(e.length===0)throw new Dg(this.user,\"Invalid tree location\");i.diffIdentityProvider?this.spliceSmart(i.diffIdentityProvider,e,t,n,i):this.spliceSimple(e,t,n,i)}spliceSmart(e,t,n,i,s,a){var l;i===void 0&&(i=Zl.empty()),a===void 0&&(a=(l=s.diffDepth)!==null&&l!==void 0?l:0);const{parentNode:u}=this.getParentNodeWithListIndex(t);if(!u.lastDiffIds)return this.spliceSimple(t,n,i,s);const d=[...i],h=t[t.length-1],p=new k1({getElements:()=>u.lastDiffIds},{getElements:()=>[...u.children.slice(0,h),...d,...u.children.slice(h+n)].map(k=>e.getId(k.element).toString())}).ComputeDiff(!1);if(p.quitEarly)return u.lastDiffIds=void 0,this.spliceSimple(t,n,d,s);const g=t.slice(0,-1),y=(k,I,F)=>{if(a>0)for(let q=0;q<F;q++)k--,I--,this.spliceSmart(e,[...g,k,0],Number.MAX_SAFE_INTEGER,d[I].children,s,a-1)};let D=Math.min(u.children.length,h+n),T=d.length;for(const k of p.changes.sort((I,F)=>F.originalStart-I.originalStart))y(D,T,D-(k.originalStart+k.originalLength)),D=k.originalStart,T=k.modifiedStart-h,this.spliceSimple([...g,D],k.originalLength,Zl.slice(d,T,T+k.modifiedLength),s);y(D,T,D)}spliceSimple(e,t,n=Zl.empty(),{onDidCreateNode:i,onDidDeleteNode:s,diffIdentityProvider:a}){const{parentNode:l,listIndex:u,revealed:d,visible:h}=this.getParentNodeWithListIndex(e),p=[],g=Zl.map(n,Le=>this.createTreeNode(Le,l,l.visible?1:0,d,p,i)),y=e[e.length-1],D=l.children.length>0;let T=0;for(let Le=y;Le>=0&&Le<l.children.length;Le--){const Ge=l.children[Le];if(Ge.visible){T=Ge.visibleChildIndex;break}}const k=[];let I=0,F=0;for(const Le of g)k.push(Le),F+=Le.renderNodeCount,Le.visible&&(Le.visibleChildIndex=T+I++);const q=Oie(l.children,y,t,k);a?l.lastDiffIds?Oie(l.lastDiffIds,y,t,k.map(Le=>a.getId(Le.element).toString())):l.lastDiffIds=l.children.map(Le=>a.getId(Le.element).toString()):l.lastDiffIds=void 0;let re=0;for(const Le of q)Le.visible&&re++;if(re!==0)for(let Le=y+k.length;Le<l.children.length;Le++){const Ge=l.children[Le];Ge.visible&&(Ge.visibleChildIndex-=re)}if(l.visibleChildrenCount+=I-re,d&&h){const Le=q.reduce((Ge,qt)=>Ge+(qt.visible?qt.renderNodeCount:0),0);this._updateAncestorsRenderNodeCount(l,F-Le),this.list.splice(u,Le,p)}if(q.length>0&&s){const Le=Ge=>{s(Ge),Ge.children.forEach(Le)};q.forEach(Le)}this._onDidSplice.fire({insertedNodes:k,deletedNodes:q});const Ie=l.children.length>0;D!==Ie&&this.setCollapsible(e.slice(0,-1),Ie);let mt=l;for(;mt;){if(mt.visibility===2){this.refilterDelayer.trigger(()=>this.refilter());break}mt=mt.parent}}rerender(e){if(e.length===0)throw new Dg(this.user,\"Invalid tree location\");const{node:t,listIndex:n,revealed:i}=this.getTreeNodeWithListIndex(e);t.visible&&i&&this.list.splice(n,1,[t])}has(e){return this.hasTreeNode(e)}getListIndex(e){const{listIndex:t,visible:n,revealed:i}=this.getTreeNodeWithListIndex(e);return n&&i?t:-1}getListRenderCount(e){return this.getTreeNode(e).renderNodeCount}isCollapsible(e){return this.getTreeNode(e).collapsible}setCollapsible(e,t){const n=this.getTreeNode(e);typeof t==\"undefined\"&&(t=!n.collapsible);const i={collapsible:t};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(e,i))}isCollapsed(e){return this.getTreeNode(e).collapsed}setCollapsed(e,t,n){const i=this.getTreeNode(e);typeof t==\"undefined\"&&(t=!i.collapsed);const s={collapsed:t,recursive:n||!1};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(e,s))}_setCollapseState(e,t){const{node:n,listIndex:i,revealed:s}=this.getTreeNodeWithListIndex(e),a=this._setListNodeCollapseState(n,i,s,t);if(n!==this.root&&this.autoExpandSingleChildren&&a&&!iH(t)&&n.collapsible&&!n.collapsed&&!t.recursive){let l=-1;for(let u=0;u<n.children.length;u++)if(n.children[u].visible)if(l>-1){l=-1;break}else l=u;l>-1&&this._setCollapseState([...e,l],t)}return a}_setListNodeCollapseState(e,t,n,i){const s=this._setNodeCollapseState(e,i,!1);if(!n||!e.visible||!s)return s;const a=e.renderNodeCount,l=this.updateNodeAfterCollapseChange(e),u=a-(t===-1?0:1);return this.list.splice(t+1,u,l.slice(1)),s}_setNodeCollapseState(e,t,n){let i;if(e===this.root?i=!1:(iH(t)?(i=e.collapsible!==t.collapsible,e.collapsible=t.collapsible):e.collapsible?(i=e.collapsed!==t.collapsed,e.collapsed=t.collapsed):i=!1,i&&this._onDidChangeCollapseState.fire({node:e,deep:n})),!iH(t)&&t.recursive)for(const s of e.children)i=this._setNodeCollapseState(s,t,!0)||i;return i}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,n,i,s,a){const l={parent:t,element:e.element,children:[],depth:t.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:typeof e.collapsible==\"boolean\"?e.collapsible:typeof e.collapsed!=\"undefined\",collapsed:typeof e.collapsed==\"undefined\"?this.collapseByDefault:e.collapsed,renderNodeCount:1,visibility:1,visible:!0,filterData:void 0},u=this._filterNode(l,n);l.visibility=u,i&&s.push(l);const d=e.children||Zl.empty(),h=i&&u!==0&&!l.collapsed,p=Zl.map(d,D=>this.createTreeNode(D,l,u,h,s,a));let g=0,y=1;for(const D of p)l.children.push(D),y+=D.renderNodeCount,D.visible&&(D.visibleChildIndex=g++);return l.collapsible=l.collapsible||l.children.length>0,l.visibleChildrenCount=g,l.visible=u===2?g>0:u===1,l.visible?l.collapsed||(l.renderNodeCount=y):(l.renderNodeCount=0,i&&s.pop()),a&&a(l),l}updateNodeAfterCollapseChange(e){const t=e.renderNodeCount,n=[];return this._updateNodeAfterCollapseChange(e,n),this._updateAncestorsRenderNodeCount(e.parent,n.length-t),n}_updateNodeAfterCollapseChange(e,t){if(e.visible===!1)return 0;if(t.push(e),e.renderNodeCount=1,!e.collapsed)for(const n of e.children)e.renderNodeCount+=this._updateNodeAfterCollapseChange(n,t);return this._onDidChangeRenderNodeCount.fire(e),e.renderNodeCount}updateNodeAfterFilterChange(e){const t=e.renderNodeCount,n=[];return this._updateNodeAfterFilterChange(e,e.visible?1:0,n),this._updateAncestorsRenderNodeCount(e.parent,n.length-t),n}_updateNodeAfterFilterChange(e,t,n,i=!0){let s;if(e!==this.root){if(s=this._filterNode(e,t),s===0)return e.visible=!1,e.renderNodeCount=0,!1;i&&n.push(e)}const a=n.length;e.renderNodeCount=e===this.root?0:1;let l=!1;if(!e.collapsed||s!==0){let u=0;for(const d of e.children)l=this._updateNodeAfterFilterChange(d,s,n,i&&!e.collapsed)||l,d.visible&&(d.visibleChildIndex=u++);e.visibleChildrenCount=u}else e.visibleChildrenCount=0;return e!==this.root&&(e.visible=s===2?l:s===1,e.visibility=s),e.visible?e.collapsed||(e.renderNodeCount+=n.length-a):(e.renderNodeCount=0,i&&n.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 n=this.filter?this.filter.filter(e.element,t):1;return typeof n==\"boolean\"?(e.filterData=void 0,n?1:0):mJ(n)?(e.filterData=n.data,bL(n.visibility)):(e.filterData=void 0,bL(n))}hasTreeNode(e,t=this.root){if(!e||e.length===0)return!0;const[n,...i]=e;return n<0||n>t.children.length?!1:this.hasTreeNode(i,t.children[n])}getTreeNode(e,t=this.root){if(!e||e.length===0)return t;const[n,...i]=e;if(n<0||n>t.children.length)throw new Dg(this.user,\"Invalid tree location\");return this.getTreeNode(i,t.children[n])}getTreeNodeWithListIndex(e){if(e.length===0)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};const{parentNode:t,listIndex:n,revealed:i,visible:s}=this.getParentNodeWithListIndex(e),a=e[e.length-1];if(a<0||a>t.children.length)throw new Dg(this.user,\"Invalid tree location\");const l=t.children[a];return{node:l,listIndex:n,revealed:i,visible:s&&l.visible}}getParentNodeWithListIndex(e,t=this.root,n=0,i=!0,s=!0){const[a,...l]=e;if(a<0||a>t.children.length)throw new Dg(this.user,\"Invalid tree location\");for(let u=0;u<a;u++)n+=t.children[u].renderNodeCount;return i=i&&!t.collapsed,s=s&&t.visible,l.length===0?{parentNode:t,listIndex:n,revealed:i,visible:s}:this.getParentNodeWithListIndex(l,t.children[a],n+1,i,s)}getNode(e=[]){return this.getTreeNode(e)}getNodeLocation(e){const t=[];let n=e;for(;n.parent;)t.push(n.parent.children.indexOf(n)),n=n.parent;return t.reverse()}getParentNodeLocation(e){if(e.length!==0)return e.length===1?[]:AEe(e)[0]}getFirstElementChild(e){const t=this.getTreeNode(e);if(t.children.length!==0)return t.children[0].element}}class y9e extends f4{constructor(e){super(e.elements.map(t=>t.element)),this.data=e}}function rH(o){return o instanceof f4?new y9e(o):o}class b9e{constructor(e,t){this.modelProvider=e,this.dnd=t,this.autoExpandDisposable=fr.None}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map(n=>n.element),t)}onDragStart(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(rH(e),t)}onDragOver(e,t,n,i,s=!0){const a=this.dnd.onDragOver(rH(e),t&&t.element,n,i),l=this.autoExpandNode!==t;if(l&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=t),typeof t==\"undefined\")return a;if(l&&typeof a!=\"boolean\"&&a.autoExpand&&(this.autoExpandDisposable=SD(()=>{const g=this.modelProvider(),y=g.getNodeLocation(t);g.isCollapsed(y)&&g.setCollapsed(y,!1),this.autoExpandNode=void 0},500)),typeof a==\"boolean\"||!a.accept||typeof a.bubble==\"undefined\"||a.feedback){if(!s){const g=typeof a==\"boolean\"?a:a.accept,y=typeof a==\"boolean\"?void 0:a.effect;return{accept:g,effect:y,feedback:[n]}}return a}if(a.bubble===1){const g=this.modelProvider(),y=g.getNodeLocation(t),D=g.getParentNodeLocation(y),T=g.getNode(D),k=D&&g.getListIndex(D);return this.onDragOver(e,T,k,i,!1)}const u=this.modelProvider(),d=u.getNodeLocation(t),h=u.getListIndex(d),p=u.getListRenderCount(d);return Object.assign(Object.assign({},a),{feedback:af(h,h+p)})}drop(e,t,n,i){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(rH(e),t&&t.element,n,i)}onDragEnd(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}}function v9e(o,e){return e&&Object.assign(Object.assign({},e),{identityProvider:e.identityProvider&&{getId(t){return e.identityProvider.getId(t.element)}},dnd:e.dnd&&new b9e(o,e.dnd),multipleSelectionController:e.multipleSelectionController&&{isSelectionSingleChangeEvent(t){return e.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},t),{element:t.element}))},isSelectionRangeChangeEvent(t){return e.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},t),{element:t.element}))}},accessibilityProvider:e.accessibilityProvider&&Object.assign(Object.assign({},e.accessibilityProvider),{getSetSize(t){const n=o(),i=n.getNodeLocation(t),s=n.getParentNodeLocation(i);return n.getNode(s).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&&Object.assign(Object.assign({},e.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel(t){return e.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t.element)}}),enableKeyboardNavigation:e.simpleKeyboardNavigation})}class yJ{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){this.delegate.setDynamicHeight&&this.delegate.setDynamicHeight(e.element,t)}}var vL;(function(o){o.None=\"none\",o.OnHover=\"onHover\",o.Always=\"always\"})(vL||(vL={}));class C9e{constructor(e,t=[]){this._elements=t,this.onDidChange=Xo.forEach(e,n=>this._elements=n)}get elements(){return this._elements}}class CL{constructor(e,t,n,i,s={}){this.renderer=e,this.modelProvider=t,this.activeNodes=i,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=CL.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.renderedIndentGuides=new pLe,this.activeIndentNodes=new Set,this.indentGuidesDisposable=fr.None,this.disposables=new fs,this.templateId=e.templateId,this.updateOptions(s),Xo.map(n,a=>a.node)(this.onDidChangeNodeTwistieState,this,this.disposables),e.onDidChangeTwistieState&&e.onDidChangeTwistieState(this.onDidChangeTwistieState,this,this.disposables)}updateOptions(e={}){if(typeof e.indent!=\"undefined\"&&(this.indent=s_(e.indent,0,40)),typeof e.renderIndentGuides!=\"undefined\"){const t=e.renderIndentGuides!==vL.None;if(t!==this.shouldRenderIndentGuides&&(this.shouldRenderIndentGuides=t,this.indentGuidesDisposable.dispose(),t)){const n=new fs;this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,n),this.indentGuidesDisposable=n,this._onDidChangeActiveNodes(this.activeNodes.elements)}}typeof e.hideTwistiesOfChildlessElements!=\"undefined\"&&(this.hideTwistiesOfChildlessElements=e.hideTwistiesOfChildlessElements)}renderTemplate(e){const t=Jr(e,ls(\".monaco-tl-row\")),n=Jr(t,ls(\".monaco-tl-indent\")),i=Jr(t,ls(\".monaco-tl-twistie\")),s=Jr(t,ls(\".monaco-tl-contents\")),a=this.renderer.renderTemplate(s);return{container:e,indent:n,twistie:i,indentGuidesDisposable:fr.None,templateData:a}}renderElement(e,t,n,i){typeof i==\"number\"&&(this.renderedNodes.set(e,{templateData:n,height:i}),this.renderedElements.set(e.element,e));const s=CL.DefaultIndent+(e.depth-1)*this.indent;n.twistie.style.paddingLeft=`${s}px`,n.indent.style.width=`${s+this.indent-16}px`,this.renderTwistie(e,n),typeof i==\"number\"&&this.renderIndentGuides(e,n),this.renderer.renderElement(e,t,n.templateData,i)}disposeElement(e,t,n,i){n.indentGuidesDisposable.dispose(),this.renderer.disposeElement&&this.renderer.disposeElement(e,t,n.templateData,i),typeof i==\"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.renderTwistie(e,t.templateData),this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderIndentGuides(e,t.templateData))}renderTwistie(e,t){t.twistie.classList.remove(...E.treeItemExpanded.classNamesArray);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(...E.treeItemExpanded.classNamesArray),t.twistie.classList.add(\"collapsible\"),t.twistie.classList.toggle(\"collapsed\",e.collapsed)):t.twistie.classList.remove(\"collapsible\",\"collapsed\"),e.collapsible?t.container.setAttribute(\"aria-expanded\",String(!e.collapsed)):t.container.removeAttribute(\"aria-expanded\")}renderIndentGuides(e,t){if(nh(t.indent),t.indentGuidesDisposable.dispose(),!this.shouldRenderIndentGuides)return;const n=new fs,i=this.modelProvider();let s=e;for(;;){const a=i.getNodeLocation(s),l=i.getParentNodeLocation(a);if(!l)break;const u=i.getNode(l),d=ls(\".indent-guide\",{style:`width: ${this.indent}px`});this.activeIndentNodes.has(u)&&d.classList.add(\"active\"),t.indent.childElementCount===0?t.indent.appendChild(d):t.indent.insertBefore(d,t.indent.firstElementChild),this.renderedIndentGuides.add(u,d),n.add(wl(()=>this.renderedIndentGuides.delete(u,d))),s=u}t.indentGuidesDisposable=n}_onDidChangeActiveNodes(e){if(!this.shouldRenderIndentGuides)return;const t=new Set,n=this.modelProvider();e.forEach(i=>{const s=n.getNodeLocation(i);try{const a=n.getParentNodeLocation(s);i.collapsible&&i.children.length>0&&!i.collapsed?t.add(i):a&&t.add(n.getNode(a))}catch{}}),this.activeIndentNodes.forEach(i=>{t.has(i)||this.renderedIndentGuides.forEach(i,s=>s.classList.remove(\"active\"))}),t.forEach(i=>{this.activeIndentNodes.has(i)||this.renderedIndentGuides.forEach(i,s=>s.classList.add(\"active\"))}),this.activeIndentNodes=t}dispose(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),eu(this.disposables)}}CL.DefaultIndent=8;class D9e{constructor(e,t,n){this.tree=e,this.keyboardNavigationLabelProvider=t,this._filter=n,this._totalCount=0,this._matchCount=0,this._pattern=\"\",this._lowercasePattern=\"\",this.disposables=new fs,e.onWillRefilter(this.reset,this,this.disposables)}get totalCount(){return this._totalCount}get matchCount(){return this._matchCount}set pattern(e){this._pattern=e,this._lowercasePattern=e.toLowerCase()}filter(e,t){if(this._filter){const s=this._filter.filter(e,t);if(this.tree.options.simpleKeyboardNavigation)return s;let a;if(typeof s==\"boolean\"?a=s?1:0:mJ(s)?a=bL(s.visibility):a=s,a===0)return!1}if(this._totalCount++,this.tree.options.simpleKeyboardNavigation||!this._pattern)return this._matchCount++,{data:_0.Default,visibility:!0};const n=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e),i=Array.isArray(n)?n:[n];for(const s of i){const a=s&&s.toString();if(typeof a==\"undefined\")return{data:_0.Default,visibility:!0};const l=mE(this._pattern,this._lowercasePattern,0,a,a.toLowerCase(),0,!0);if(l)return this._matchCount++,i.length===1?{data:l,visibility:!0}:{data:{label:a,score:l},visibility:!0}}return this.tree.options.filterOnType?2:{data:_0.Default,visibility:!0}}reset(){this._totalCount=0,this._matchCount=0}dispose(){eu(this.disposables)}}class w9e{constructor(e,t,n,i,s){this.tree=e,this.view=n,this.filter=i,this.keyboardNavigationDelegate=s,this._enabled=!1,this._pattern=\"\",this._empty=!1,this._onDidChangeEmptyState=new ri,this.positionClassName=\"ne\",this.automaticKeyboardNavigation=!0,this.triggered=!1,this._onDidChangePattern=new ri,this.enabledDisposables=new fs,this.disposables=new fs,this.domNode=ls(`.monaco-list-type-filter.${this.positionClassName}`),this.domNode.draggable=!0,this.disposables.add(hs(this.domNode,\"dragstart\",()=>this.onDragStart())),this.messageDomNode=Jr(n.getHTMLElement(),ls(\".monaco-list-type-filter-message\")),this.labelDomNode=Jr(this.domNode,ls(\"span.label\"));const a=Jr(this.domNode,ls(\".controls\"));this._filterOnType=!!e.options.filterOnType,this.filterOnTypeDomNode=Jr(a,ls(\"input.filter\")),this.filterOnTypeDomNode.type=\"checkbox\",this.filterOnTypeDomNode.checked=this._filterOnType,this.filterOnTypeDomNode.tabIndex=-1,this.updateFilterOnTypeTitleAndIcon(),this.disposables.add(hs(this.filterOnTypeDomNode,\"input\",()=>this.onDidChangeFilterOnType())),this.clearDomNode=Jr(a,ls(\"button.clear\"+E.treeFilterClear.cssSelector)),this.clearDomNode.tabIndex=-1,this.clearDomNode.title=w(\"clear\",\"Clear\"),this.keyboardNavigationEventFilter=e.options.keyboardNavigationEventFilter,t.onDidSplice(this.onDidSpliceModel,this,this.disposables),this.updateOptions(e.options)}get enabled(){return this._enabled}get pattern(){return this._pattern}get filterOnType(){return this._filterOnType}updateOptions(e){e.simpleKeyboardNavigation?this.disable():this.enable(),typeof e.filterOnType!=\"undefined\"&&(this._filterOnType=!!e.filterOnType,this.filterOnTypeDomNode.checked=this._filterOnType,this.updateFilterOnTypeTitleAndIcon()),typeof e.automaticKeyboardNavigation!=\"undefined\"&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation),this.tree.refilter(),this.render(),this.automaticKeyboardNavigation||this.onEventOrInput(\"\")}enable(){if(this._enabled)return;const e=this.enabledDisposables.add(new Ru(this.view.getHTMLElement(),\"keydown\")),t=Xo.chain(e.event).filter(i=>!dC(i.target)||i.target===this.filterOnTypeDomNode).filter(i=>i.key!==\"Dead\"&&!/^Media/.test(i.key)).map(i=>new _c(i)).filter(this.keyboardNavigationEventFilter||(()=>!0)).filter(()=>this.automaticKeyboardNavigation||this.triggered).filter(i=>this.keyboardNavigationDelegate.mightProducePrintableCharacter(i)&&!(i.keyCode===18||i.keyCode===16||i.keyCode===15||i.keyCode===17)||(this.pattern.length>0||this.triggered)&&(i.keyCode===9||i.keyCode===1)&&!i.altKey&&!i.ctrlKey&&!i.metaKey||i.keyCode===1&&(El?i.altKey&&!i.metaKey:i.ctrlKey)&&!i.shiftKey).forEach(i=>{i.stopPropagation(),i.preventDefault()}).event,n=this.enabledDisposables.add(new Ru(this.clearDomNode,\"click\"));Xo.chain(Xo.any(t,n.event)).event(this.onEventOrInput,this,this.enabledDisposables),this.filter.pattern=\"\",this.tree.refilter(),this.render(),this._enabled=!0,this.triggered=!1}disable(){!this._enabled||(this.domNode.remove(),this.enabledDisposables.clear(),this.tree.refilter(),this.render(),this._enabled=!1,this.triggered=!1)}onEventOrInput(e){typeof e==\"string\"?this.onInput(e):e instanceof MouseEvent||e.keyCode===9||e.keyCode===1&&(El?e.altKey:e.ctrlKey)?this.onInput(\"\"):e.keyCode===1?this.onInput(this.pattern.length===0?\"\":this.pattern.substr(0,this.pattern.length-1)):this.onInput(this.pattern+e.browserEvent.key)}onInput(e){const t=this.view.getHTMLElement();e&&!this.domNode.parentElement?t.append(this.domNode):!e&&this.domNode.parentElement&&(this.domNode.remove(),this.tree.domFocus()),this._pattern=e,this._onDidChangePattern.fire(e),this.filter.pattern=e,this.tree.refilter(),e&&this.tree.focusNext(0,!0,void 0,i=>!_0.isDefault(i.filterData));const n=this.tree.getFocus();if(n.length>0){const i=n[0];this.tree.getRelativeTop(i)===null&&this.tree.reveal(i,.5)}this.render(),e||(this.triggered=!1)}onDragStart(){const e=this.view.getHTMLElement(),{left:t}=Gh(e),n=e.clientWidth,i=n/2,s=this.domNode.clientWidth,a=new fs;let l=this.positionClassName;const u=()=>{switch(l){case\"nw\":this.domNode.style.top=\"4px\",this.domNode.style.left=\"4px\";break;case\"ne\":this.domNode.style.top=\"4px\",this.domNode.style.left=`${n-s-6}px`;break}},d=p=>{p.preventDefault();const g=p.clientX-t;p.dataTransfer&&(p.dataTransfer.dropEffect=\"none\"),g<i?l=\"nw\":l=\"ne\",u()},h=()=>{this.positionClassName=l,this.domNode.className=`monaco-list-type-filter ${this.positionClassName}`,this.domNode.style.top=\"\",this.domNode.style.left=\"\",eu(a)};u(),this.domNode.classList.remove(l),this.domNode.classList.add(\"dragging\"),a.add(wl(()=>this.domNode.classList.remove(\"dragging\"))),a.add(hs(document,\"dragover\",p=>d(p))),a.add(hs(this.domNode,\"dragend\",()=>h())),Qy.CurrentDragAndDropData=new z5e(\"vscode-ui\"),a.add(wl(()=>Qy.CurrentDragAndDropData=void 0))}onDidSpliceModel(){!this._enabled||this.pattern.length===0||(this.tree.refilter(),this.render())}onDidChangeFilterOnType(){this.tree.updateOptions({filterOnType:this.filterOnTypeDomNode.checked}),this.tree.refilter(),this.tree.domFocus(),this.render(),this.updateFilterOnTypeTitleAndIcon()}updateFilterOnTypeTitleAndIcon(){this.filterOnType?(this.filterOnTypeDomNode.classList.remove(...E.treeFilterOnTypeOff.classNamesArray),this.filterOnTypeDomNode.classList.add(...E.treeFilterOnTypeOn.classNamesArray),this.filterOnTypeDomNode.title=w(\"disable filter on type\",\"Disable Filter on Type\")):(this.filterOnTypeDomNode.classList.remove(...E.treeFilterOnTypeOn.classNamesArray),this.filterOnTypeDomNode.classList.add(...E.treeFilterOnTypeOff.classNamesArray),this.filterOnTypeDomNode.title=w(\"enable filter on type\",\"Enable Filter on Type\"))}render(){const e=this.filter.totalCount>0&&this.filter.matchCount===0;this.pattern&&this.tree.options.filterOnType&&e?(this.messageDomNode.textContent=w(\"empty\",\"No elements found\"),this._empty=!0):(this.messageDomNode.innerText=\"\",this._empty=!1),this.domNode.classList.toggle(\"no-matches\",e),this.domNode.title=w(\"found\",\"Matched {0} out of {1} elements\",this.filter.matchCount,this.filter.totalCount),this.labelDomNode.textContent=this.pattern.length>16?\"\\u2026\"+this.pattern.substr(this.pattern.length-16):this.pattern,this._onDidChangeEmptyState.fire(this._empty)}shouldAllowFocus(e){return!this.enabled||!this.pattern||this.filterOnType||this.filter.totalCount>0&&this.filter.matchCount<=1?!0:!_0.isDefault(e.filterData)}dispose(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.dispose(),this._enabled=!1,this.triggered=!1),this._onDidChangePattern.dispose(),eu(this.disposables)}}function Ioe(o){let e=x3.Unknown;return vre(o.browserEvent.target,\"monaco-tl-twistie\",\"monaco-tl-row\")?e=x3.Twistie:vre(o.browserEvent.target,\"monaco-tl-contents\",\"monaco-tl-row\")&&(e=x3.Element),{browserEvent:o.browserEvent,element:o.element?o.element.element:null,target:e}}function f8(o,e){e(o),o.children.forEach(t=>f8(t,e))}class sH{constructor(e,t){this.getFirstViewElementWithTrait=e,this.identityProvider=t,this.nodes=[],this._onDidChange=new ri,this.onDidChange=this._onDidChange.event}get nodeSet(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet}set(e,t){!(t!=null&&t.__forceEvent)&&K_(this.nodes,e)||this._set(e,!1,t)}_set(e,t,n){if(this.nodes=[...e],this.elements=void 0,this._nodeSet=void 0,!t){const i=this;this._onDidChange.fire({get elements(){return i.get()},browserEvent:n})}}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 u=this.createNodeSet(),d=h=>u.delete(h);t.forEach(h=>f8(h,d)),this.set([...u.values()]);return}const n=new Set,i=u=>n.add(this.identityProvider.getId(u.element).toString());t.forEach(u=>f8(u,i));const s=new Map,a=u=>s.set(this.identityProvider.getId(u.element).toString(),u);e.forEach(u=>f8(u,a));const l=[];for(const u of this.nodes){const d=this.identityProvider.getId(u.element).toString();if(!n.has(d))l.push(u);else{const p=s.get(d);p&&l.push(p)}}if(this.nodes.length>0&&l.length===0){const u=this.getFirstViewElementWithTrait();u&&l.push(u)}this._set(l,!0)}createNodeSet(){const e=new Set;for(const t of this.nodes)e.add(t);return e}}class S9e extends yhe{constructor(e,t){super(e),this.tree=t}onViewPointer(e){if(dC(e.browserEvent.target)||Tx(e.browserEvent.target))return;const t=e.element;if(!t)return super.onViewPointer(e);if(this.isSelectionRangeChangeEvent(e)||this.isSelectionSingleChangeEvent(e))return super.onViewPointer(e);const n=e.browserEvent.target,i=n.classList.contains(\"monaco-tl-twistie\")||n.classList.contains(\"monaco-icon-label\")&&n.classList.contains(\"folder-icon\")&&e.browserEvent.offsetX<16;let s=!1;if(typeof this.tree.expandOnlyOnTwistieClick==\"function\"?s=this.tree.expandOnlyOnTwistieClick(t.element):s=!!this.tree.expandOnlyOnTwistieClick,s&&!i&&e.browserEvent.detail!==2)return super.onViewPointer(e);if(!this.tree.expandOnDoubleClick&&e.browserEvent.detail===2)return super.onViewPointer(e);if(t.collapsible){const a=this.tree.model,l=a.getNodeLocation(t),u=e.browserEvent.altKey;if(this.tree.setFocus([l]),a.setCollapsed(l,void 0,u),s&&i)return}super.onViewPointer(e)}onDoubleClick(e){e.browserEvent.target.classList.contains(\"monaco-tl-twistie\")||!this.tree.expandOnDoubleClick||super.onDoubleClick(e)}}class x9e extends ly{constructor(e,t,n,i,s,a,l,u){super(e,t,n,i,u),this.focusTrait=s,this.selectionTrait=a,this.anchorTrait=l}createMouseController(e){return new S9e(this,e.tree)}splice(e,t,n=[]){if(super.splice(e,t,n),n.length===0)return;const i=[],s=[];let a;n.forEach((l,u)=>{this.focusTrait.has(l)&&i.push(e+u),this.selectionTrait.has(l)&&s.push(e+u),this.anchorTrait.has(l)&&(a=e+u)}),i.length>0&&super.setFocus(Xv([...super.getFocus(),...i])),s.length>0&&super.setSelection(Xv([...super.getSelection(),...s])),typeof a==\"number\"&&super.setAnchor(a)}setFocus(e,t,n=!1){super.setFocus(e,t),n||this.focusTrait.set(e.map(i=>this.element(i)),t)}setSelection(e,t,n=!1){super.setSelection(e,t),n||this.selectionTrait.set(e.map(i=>this.element(i)),t)}setAnchor(e,t=!1){super.setAnchor(e),t||(typeof e==\"undefined\"?this.anchorTrait.set([]):this.anchorTrait.set([this.element(e)]))}}class Dhe{constructor(e,t,n,i,s={}){this._user=e,this._options=s,this.eventBufferer=new Eq,this.disposables=new fs,this._onWillRefilter=new ri,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new ri;const a=new yJ(n),l=new jie,u=new jie,d=new C9e(u.event);this.renderers=i.map(g=>new CL(g,()=>this.model,l.event,d,s));for(let g of this.renderers)this.disposables.add(g);let h;s.keyboardNavigationLabelProvider&&(h=new D9e(this,s.keyboardNavigationLabelProvider,s.filter),s=Object.assign(Object.assign({},s),{filter:h}),this.disposables.add(h)),this.focus=new sH(()=>this.view.getFocusedElements()[0],s.identityProvider),this.selection=new sH(()=>this.view.getSelectedElements()[0],s.identityProvider),this.anchor=new sH(()=>this.view.getAnchorElement(),s.identityProvider),this.view=new x9e(e,t,a,this.renderers,this.focus,this.selection,this.anchor,Object.assign(Object.assign({},v9e(()=>this.model,s)),{tree:this})),this.model=this.createModel(e,this.view,s),l.input=this.model.onDidChangeCollapseState;const p=Xo.forEach(this.model.onDidSplice,g=>{this.eventBufferer.bufferEvents(()=>{this.focus.onDidModelSplice(g),this.selection.onDidModelSplice(g)})});if(p(()=>null,null,this.disposables),u.input=Xo.chain(Xo.any(p,this.focus.onDidChange,this.selection.onDidChange)).debounce(()=>null,0).map(()=>{const g=new Set;for(const y of this.focus.getNodes())g.add(y);for(const y of this.selection.getNodes())g.add(y);return[...g.values()]}).event,s.keyboardSupport!==!1){const g=Xo.chain(this.view.onKeyDown).filter(y=>!dC(y.target)).map(y=>new _c(y));g.filter(y=>y.keyCode===15).on(this.onLeftArrow,this,this.disposables),g.filter(y=>y.keyCode===17).on(this.onRightArrow,this,this.disposables),g.filter(y=>y.keyCode===10).on(this.onSpace,this,this.disposables)}if(s.keyboardNavigationLabelProvider){const g=s.keyboardNavigationDelegate||_he;this.typeFilterController=new w9e(this,this.model,this.view,h,g),this.focusNavigationFilter=y=>this.typeFilterController.shouldAllowFocus(y),this.disposables.add(this.typeFilterController)}this.styleElement=Pg(this.view.getHTMLElement()),this.getHTMLElement().classList.toggle(\"always\",this._options.renderIndentGuides===vL.Always)}get onDidChangeFocus(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)}get onDidChangeSelection(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)}get onMouseDblClick(){return Xo.map(this.view.onMouseDblClick,Ioe)}get onPointer(){return Xo.map(this.view.onPointer,Ioe)}get onDidFocus(){return this.view.onDidFocus}get onDidChangeModel(){return Xo.signal(this.model.onDidSplice)}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get expandOnDoubleClick(){return typeof this._options.expandOnDoubleClick==\"undefined\"?!0:this._options.expandOnDoubleClick}get expandOnlyOnTwistieClick(){return typeof this._options.expandOnlyOnTwistieClick==\"undefined\"?!0:this._options.expandOnlyOnTwistieClick}get onDidDispose(){return this.view.onDidDispose}updateOptions(e={}){this._options=Object.assign(Object.assign({},this._options),e);for(const t of this.renderers)t.updateOptions(e);this.view.updateOptions(Object.assign(Object.assign({},this._options),{enableKeyboardNavigation:this._options.simpleKeyboardNavigation})),this.typeFilterController&&this.typeFilterController.updateOptions(this._options),this._onDidUpdateOptions.fire(this._options),this.getHTMLElement().classList.toggle(\"always\",this._options.renderIndentGuides===vL.Always)}get options(){return this._options}getHTMLElement(){return this.view.getHTMLElement()}get scrollTop(){return this.view.scrollTop}set scrollTop(e){this.view.scrollTop=e}domFocus(){this.view.domFocus()}layout(e,t){this.view.layout(e,t)}style(e){const t=`.${this.view.domId}`,n=[];e.treeIndentGuidesStroke&&(n.push(`.monaco-list${t}:hover .monaco-tl-indent > .indent-guide, .monaco-list${t}.always .monaco-tl-indent > .indent-guide  { border-color: ${e.treeIndentGuidesStroke.transparent(.4)}; }`),n.push(`.monaco-list${t} .monaco-tl-indent > .indent-guide.active { border-color: ${e.treeIndentGuidesStroke}; }`)),this.styleElement.textContent=n.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)}collapse(e,t=!1){return this.model.setCollapsed(e,!0,t)}expand(e,t=!1){return this.model.setCollapsed(e,!1,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){const n=e.map(s=>this.model.getNode(s));this.selection.set(n,t);const i=e.map(s=>this.model.getListIndex(s)).filter(s=>s>-1);this.view.setSelection(i,t,!0)}getSelection(){return this.selection.get()}setFocus(e,t){const n=e.map(s=>this.model.getNode(s));this.focus.set(n,t);const i=e.map(s=>this.model.getListIndex(s)).filter(s=>s>-1);this.view.setFocus(i,t,!0)}focusNext(e=1,t=!1,n,i=this.focusNavigationFilter){this.view.focusNext(e,t,n,i)}getFocus(){return this.focus.get()}reveal(e,t){this.model.expandTo(e);const n=this.model.getListIndex(e);n!==-1&&this.view.reveal(n,t)}getRelativeTop(e){const t=this.model.getListIndex(e);return t===-1?null:this.view.getRelativeTop(t)}onLeftArrow(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(t.length===0)return;const n=t[0],i=this.model.getNodeLocation(n);if(!this.model.setCollapsed(i,!0)){const a=this.model.getParentNodeLocation(i);if(!a)return;const l=this.model.getListIndex(a);this.view.reveal(l),this.view.setFocus([l])}}onRightArrow(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(t.length===0)return;const n=t[0],i=this.model.getNodeLocation(n);if(!this.model.setCollapsed(i,!1)){if(!n.children.some(u=>u.visible))return;const[a]=this.view.getFocus(),l=a+1;this.view.reveal(l),this.view.setFocus([l])}}onSpace(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(t.length===0)return;const n=t[0],i=this.model.getNodeLocation(n),s=e.browserEvent.altKey;this.model.setCollapsed(i,void 0,s)}dispose(){eu(this.disposables),this.view.dispose()}}class bJ{constructor(e,t,n={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.nodesByIdentity=new Map,this.model=new m9e(e,t,null,n),this.onDidSplice=this.model.onDidSplice,this.onDidChangeCollapseState=this.model.onDidChangeCollapseState,this.onDidChangeRenderNodeCount=this.model.onDidChangeRenderNodeCount,n.sorter&&(this.sorter={compare(i,s){return n.sorter.compare(i.element,s.element)}}),this.identityProvider=n.identityProvider}setChildren(e,t=Zl.empty(),n={}){const i=this.getElementLocation(e);this._setChildren(i,this.preserveCollapseState(t),n)}_setChildren(e,t=Zl.empty(),n){const i=new Set,s=new Set,a=u=>{var d;if(u.element===null)return;const h=u;if(i.add(h.element),this.nodes.set(h.element,h),this.identityProvider){const p=this.identityProvider.getId(h.element).toString();s.add(p),this.nodesByIdentity.set(p,h)}(d=n.onDidCreateNode)===null||d===void 0||d.call(n,h)},l=u=>{var d;if(u.element===null)return;const h=u;if(i.has(h.element)||this.nodes.delete(h.element),this.identityProvider){const p=this.identityProvider.getId(h.element).toString();s.has(p)||this.nodesByIdentity.delete(p)}(d=n.onDidDeleteNode)===null||d===void 0||d.call(n,h)};this.model.splice([...e,0],Number.MAX_VALUE,t,Object.assign(Object.assign({},n),{onDidCreateNode:a,onDidDeleteNode:l}))}preserveCollapseState(e=Zl.empty()){return this.sorter&&(e=[...e].sort(this.sorter.compare.bind(this.sorter))),Zl.map(e,t=>{let n=this.nodes.get(t.element);if(!n&&this.identityProvider){const a=this.identityProvider.getId(t.element).toString();n=this.nodesByIdentity.get(a)}if(!n)return Object.assign(Object.assign({},t),{children:this.preserveCollapseState(t.children)});const i=typeof t.collapsible==\"boolean\"?t.collapsible:n.collapsible,s=typeof t.collapsed!=\"undefined\"?t.collapsed:n.collapsed;return Object.assign(Object.assign({},t),{collapsible:i,collapsed:s,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 n=this.getElementLocation(e);return this.model.setCollapsible(n,t)}isCollapsed(e){const t=this.getElementLocation(e);return this.model.isCollapsed(t)}setCollapsed(e,t,n){const i=this.getElementLocation(e);return this.model.setCollapsed(i,t,n)}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 Dg(this.user,`Tree element not found: ${e}`);return t}getNodeLocation(e){return e.element}getParentNodeLocation(e){if(e===null)throw new Dg(this.user,\"Invalid getParentNodeLocation call\");const t=this.nodes.get(e);if(!t)throw new Dg(this.user,`Tree element not found: ${e}`);const n=this.model.getNodeLocation(t),i=this.model.getParentNodeLocation(n);return this.model.getNode(i).element}getElementLocation(e){if(e===null)return[];const t=this.nodes.get(e);if(!t)throw new Dg(this.user,`Tree element not found: ${e}`);return this.model.getNodeLocation(t)}}function _8(o){const e=[o.element],t=o.incompressible||!1;return{element:{elements:e,incompressible:t},children:Zl.map(Zl.from(o.children),_8),collapsible:o.collapsible,collapsed:o.collapsed}}function g8(o){const e=[o.element],t=o.incompressible||!1;let n,i;for(;[i,n]=Zl.consume(Zl.from(o.children),2),!(i.length!==1||i[0].incompressible);)o=i[0],e.push(o.element);return{element:{elements:e,incompressible:t},children:Zl.map(Zl.concat(i,n),g8),collapsible:o.collapsible,collapsed:o.collapsed}}function EU(o,e=0){let t;return e<o.element.elements.length-1?t=[EU(o,e+1)]:t=Zl.map(Zl.from(o.children),n=>EU(n,0)),e===0&&o.element.incompressible?{element:o.element.elements[e],children:t,incompressible:!0,collapsible:o.collapsible,collapsed:o.collapsed}:{element:o.element.elements[e],children:t,collapsible:o.collapsible,collapsed:o.collapsed}}function Foe(o){return EU(o,0)}function whe(o,e,t){return o.element===e?Object.assign(Object.assign({},o),{children:t}):Object.assign(Object.assign({},o),{children:Zl.map(Zl.from(o.children),n=>whe(n,e,t))})}const E9e=o=>({getId(e){return e.elements.map(t=>o.getId(t).toString()).join(\"\\0\")}});class T9e{constructor(e,t,n={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.model=new bJ(e,t,n),this.enabled=typeof n.compressionEnabled==\"undefined\"?!0:n.compressionEnabled,this.identityProvider=n.identityProvider}get onDidSplice(){return this.model.onDidSplice}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get onDidChangeRenderNodeCount(){return this.model.onDidChangeRenderNodeCount}setChildren(e,t=Zl.empty(),n){const i=n.diffIdentityProvider&&E9e(n.diffIdentityProvider);if(e===null){const y=Zl.map(t,this.enabled?g8:_8);this._setChildren(null,y,{diffIdentityProvider:i,diffDepth:1/0});return}const s=this.nodes.get(e);if(!s)throw new Error(\"Unknown compressed tree node\");const a=this.model.getNode(s),l=this.model.getParentNodeLocation(s),u=this.model.getNode(l),d=Foe(a),h=whe(d,e,t),p=(this.enabled?g8:_8)(h),g=u.children.map(y=>y===a?p:y);this._setChildren(u.element,g,{diffIdentityProvider:i,diffDepth:a.depth-u.depth})}setCompressionEnabled(e){if(e===this.enabled)return;this.enabled=e;const n=this.model.getNode().children,i=Zl.map(n,Foe),s=Zl.map(i,e?g8:_8);this._setChildren(null,s,{diffIdentityProvider:this.identityProvider,diffDepth:1/0})}_setChildren(e,t,n){const i=new Set,s=l=>{for(const u of l.element.elements)i.add(u),this.nodes.set(u,l.element)},a=l=>{for(const u of l.element.elements)i.has(u)||this.nodes.delete(u)};this.model.setChildren(e,t,Object.assign(Object.assign({},n),{onDidCreateNode:s,onDidDeleteNode:a}))}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==\"undefined\")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),n=this.model.getParentNodeLocation(t);return n===null?null:n.elements[n.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 n=this.getCompressedNode(e);return this.model.setCollapsible(n,t)}isCollapsed(e){const t=this.getCompressedNode(e);return this.model.isCollapsed(t)}setCollapsed(e,t,n){const i=this.getCompressedNode(e);return this.model.setCollapsed(i,t,n)}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 Dg(this.user,`Tree element not found: ${e}`);return t}}const A9e=o=>o[o.length-1];class vJ{constructor(e,t){this.unwrapper=e,this.node=t}get element(){return this.node.element===null?null:this.unwrapper(this.node.element)}get children(){return this.node.children.map(e=>new vJ(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}}function k9e(o,e){return{splice(t,n,i){e.splice(t,n,i.map(s=>o.map(s)))},updateElementHeight(t,n){e.updateElementHeight(t,n)}}}function L9e(o,e){return Object.assign(Object.assign({},e),{identityProvider:e.identityProvider&&{getId(t){return e.identityProvider.getId(o(t))}},sorter:e.sorter&&{compare(t,n){return e.sorter.compare(t.elements[0],n.elements[0])}},filter:e.filter&&{filter(t,n){return e.filter.filter(o(t),n)}}})}class N9e{constructor(e,t,n={}){this.rootRef=null,this.elementMapper=n.elementMapper||A9e;const i=s=>this.elementMapper(s.elements);this.nodeMapper=new gJ(s=>new vJ(i,s)),this.model=new T9e(e,k9e(this.nodeMapper,t),L9e(i,n))}get onDidSplice(){return Xo.map(this.model.onDidSplice,({insertedNodes:e,deletedNodes:t})=>({insertedNodes:e.map(n=>this.nodeMapper.map(n)),deletedNodes:t.map(n=>this.nodeMapper.map(n))}))}get onDidChangeCollapseState(){return Xo.map(this.model.onDidChangeCollapseState,({node:e,deep:t})=>({node:this.nodeMapper.map(e),deep:t}))}get onDidChangeRenderNodeCount(){return Xo.map(this.model.onDidChangeRenderNodeCount,e=>this.nodeMapper.map(e))}setChildren(e,t=Zl.empty(),n={}){this.model.setChildren(e,t,n)}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==\"undefined\"?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,n){return this.model.setCollapsed(e,t,n)}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 I9e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s};class CJ extends Dhe{constructor(e,t,n,i,s={}){super(e,t,n,i,s),this.user=e}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}setChildren(e,t=Zl.empty(),n){this.model.setChildren(e,t,n)}rerender(e){if(e===void 0){this.view.rerender();return}this.model.rerender(e)}hasElement(e){return this.model.has(e)}createModel(e,t,n){return new bJ(e,t,n)}}class She{constructor(e,t){this._compressedTreeNodeProvider=e,this.renderer=t,this.templateId=t.templateId,t.onDidChangeTwistieState&&(this.onDidChangeTwistieState=t.onDidChangeTwistieState)}get compressedTreeNodeProvider(){return this._compressedTreeNodeProvider()}renderTemplate(e){const t=this.renderer.renderTemplate(e);return{compressedTreeNode:void 0,data:t}}renderElement(e,t,n,i){const s=this.compressedTreeNodeProvider.getCompressedTreeNode(e.element);s.element.elements.length===1?(n.compressedTreeNode=void 0,this.renderer.renderElement(e,t,n.data,i)):(n.compressedTreeNode=s,this.renderer.renderCompressedElements(s,t,n.data,i))}disposeElement(e,t,n,i){n.compressedTreeNode?this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(n.compressedTreeNode,t,n.data,i):this.renderer.disposeElement&&this.renderer.disposeElement(e,t,n.data,i)}disposeTemplate(e){this.renderer.disposeTemplate(e.data)}renderTwistie(e,t){return this.renderer.renderTwistie?this.renderer.renderTwistie(e,t):!1}}I9e([$d],She.prototype,\"compressedTreeNodeProvider\",null);function F9e(o,e){return e&&Object.assign(Object.assign({},e),{keyboardNavigationLabelProvider:e.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel(t){let n;try{n=o().getCompressedTreeNode(t)}catch{return e.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t)}return n.element.elements.length===1?e.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t):e.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(n.element.elements)}}})}class xhe extends CJ{constructor(e,t,n,i,s={}){const a=()=>this,l=i.map(u=>new She(a,u));super(e,t,n,l,F9e(a,s))}setChildren(e,t=Zl.empty(),n){this.model.setChildren(e,t,n)}createModel(e,t,n){return new N9e(e,t,n)}updateOptions(e={}){super.updateOptions(e),typeof e.compressionEnabled!=\"undefined\"&&this.model.setCompressionEnabled(e.compressionEnabled)}getCompressedTreeNode(e=null){return this.model.getCompressedTreeNode(e)}}var _v=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};function oH(o){return Object.assign(Object.assign({},o),{children:[],refreshPromise:void 0,stale:!0,slow:!1,collapsedByDefault:void 0})}function TU(o,e){return e.parent?e.parent===o?!0:TU(o,e.parent):!1}function P9e(o,e){return o===e||TU(o,e)||TU(e,o)}class DJ{constructor(e){this.node=e}get element(){return this.node.element.element}get children(){return this.node.children.map(e=>new DJ(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}}class O9e{constructor(e,t,n){this.renderer=e,this.nodeMapper=t,this.onDidChangeTwistieState=n,this.renderedNodes=new Map,this.templateId=e.templateId}renderTemplate(e){return{templateData:this.renderer.renderTemplate(e)}}renderElement(e,t,n,i){this.renderer.renderElement(this.nodeMapper.map(e),t,n.templateData,i)}renderTwistie(e,t){return e.slow?(t.classList.add(...E.treeItemLoading.classNamesArray),!0):(t.classList.remove(...E.treeItemLoading.classNamesArray),!1)}disposeElement(e,t,n,i){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(e),t,n.templateData,i)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear()}}function Poe(o){return{browserEvent:o.browserEvent,elements:o.elements.map(e=>e.element)}}function Ooe(o){return{browserEvent:o.browserEvent,element:o.element&&o.element.element,target:o.target}}class M9e extends f4{constructor(e){super(e.elements.map(t=>t.element)),this.data=e}}function aH(o){return o instanceof f4?new M9e(o):o}class R9e{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(n=>n.element),t)}onDragStart(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(aH(e),t)}onDragOver(e,t,n,i,s=!0){return this.dnd.onDragOver(aH(e),t&&t.element,n,i)}drop(e,t,n,i){this.dnd.drop(aH(e),t&&t.element,n,i)}onDragEnd(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}}function Ehe(o){return o&&Object.assign(Object.assign({},o),{collapseByDefault:!0,identityProvider:o.identityProvider&&{getId(e){return o.identityProvider.getId(e.element)}},dnd:o.dnd&&new R9e(o.dnd),multipleSelectionController:o.multipleSelectionController&&{isSelectionSingleChangeEvent(e){return o.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},e),{element:e.element}))},isSelectionRangeChangeEvent(e){return o.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},e),{element:e.element}))}},accessibilityProvider:o.accessibilityProvider&&Object.assign(Object.assign({},o.accessibilityProvider),{getPosInSet:void 0,getSetSize:void 0,getRole:o.accessibilityProvider.getRole?e=>o.accessibilityProvider.getRole(e.element):()=>\"treeitem\",isChecked:o.accessibilityProvider.isChecked?e=>{var t;return!!(!((t=o.accessibilityProvider)===null||t===void 0)&&t.isChecked(e.element))}:void 0,getAriaLabel(e){return o.accessibilityProvider.getAriaLabel(e.element)},getWidgetAriaLabel(){return o.accessibilityProvider.getWidgetAriaLabel()},getWidgetRole:o.accessibilityProvider.getWidgetRole?()=>o.accessibilityProvider.getWidgetRole():()=>\"tree\",getAriaLevel:o.accessibilityProvider.getAriaLevel&&(e=>o.accessibilityProvider.getAriaLevel(e.element)),getActiveDescendantId:o.accessibilityProvider.getActiveDescendantId&&(e=>o.accessibilityProvider.getActiveDescendantId(e.element))}),filter:o.filter&&{filter(e,t){return o.filter.filter(e.element,t)}},keyboardNavigationLabelProvider:o.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},o.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel(e){return o.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e.element)}}),sorter:void 0,expandOnlyOnTwistieClick:typeof o.expandOnlyOnTwistieClick==\"undefined\"?void 0:typeof o.expandOnlyOnTwistieClick!=\"function\"?o.expandOnlyOnTwistieClick:e=>o.expandOnlyOnTwistieClick(e.element),additionalScrollHeight:o.additionalScrollHeight})}function AU(o,e){e(o),o.children.forEach(t=>AU(t,e))}class The{constructor(e,t,n,i,s,a={}){this.user=e,this.dataSource=s,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new ri,this._onDidChangeNodeSlowState=new ri,this.nodeMapper=new gJ(l=>new DJ(l)),this.disposables=new fs,this.identityProvider=a.identityProvider,this.autoExpandSingleChildren=typeof a.autoExpandSingleChildren==\"undefined\"?!1:a.autoExpandSingleChildren,this.sorter=a.sorter,this.collapseByDefault=a.collapseByDefault,this.tree=this.createTree(e,t,n,i,a),this.root=oH({element:void 0,parent:null,hasChildren:!0}),this.identityProvider&&(this.root=Object.assign(Object.assign({},this.root),{id:null})),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}get onDidChangeFocus(){return Xo.map(this.tree.onDidChangeFocus,Poe)}get onDidChangeSelection(){return Xo.map(this.tree.onDidChangeSelection,Poe)}get onMouseDblClick(){return Xo.map(this.tree.onMouseDblClick,Ooe)}get onPointer(){return Xo.map(this.tree.onPointer,Ooe)}get onDidFocus(){return this.tree.onDidFocus}get onDidChangeModel(){return this.tree.onDidChangeModel}get onDidChangeCollapseState(){return this.tree.onDidChangeCollapseState}get onDidDispose(){return this.tree.onDidDispose}createTree(e,t,n,i,s){const a=new yJ(n),l=i.map(d=>new O9e(d,this.nodeMapper,this._onDidChangeNodeSlowState.event)),u=Ehe(s)||{};return new CJ(e,t,a,l,u)}updateOptions(e={}){this.tree.updateOptions(e)}getHTMLElement(){return this.tree.getHTMLElement()}get scrollTop(){return this.tree.scrollTop}set scrollTop(e){this.tree.scrollTop=e}domFocus(){this.tree.domFocus()}layout(e,t){this.tree.layout(e,t)}style(e){this.tree.style(e)}getInput(){return this.root.element}setInput(e,t){return _v(this,void 0,void 0,function*(){this.refreshPromises.forEach(i=>i.cancel()),this.refreshPromises.clear(),this.root.element=e;const n=t&&{viewState:t,focus:[],selection:[]};yield this._updateChildren(e,!0,!1,n),n&&(this.tree.setFocus(n.focus),this.tree.setSelection(n.selection)),t&&typeof t.scrollTop==\"number\"&&(this.scrollTop=t.scrollTop)})}_updateChildren(e=this.root.element,t=!0,n=!1,i,s){return _v(this,void 0,void 0,function*(){if(typeof this.root.element==\"undefined\")throw new Dg(this.user,\"Tree input not set\");this.root.refreshPromise&&(yield this.root.refreshPromise,yield Xo.toPromise(this._onDidRender.event));const a=this.getDataNode(e);if(yield this.refreshAndRenderNode(a,t,i,s),n)try{this.tree.rerender(a)}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),n=this.tree.getNode(t===this.root?null:t);return this.nodeMapper.map(n)}collapse(e,t=!1){const n=this.getDataNode(e);return this.tree.collapse(n===this.root?null:n,t)}expand(e,t=!1){return _v(this,void 0,void 0,function*(){if(typeof this.root.element==\"undefined\")throw new Dg(this.user,\"Tree input not set\");this.root.refreshPromise&&(yield this.root.refreshPromise,yield Xo.toPromise(this._onDidRender.event));const n=this.getDataNode(e);if(this.tree.hasElement(n)&&!this.tree.isCollapsible(n)||(n.refreshPromise&&(yield this.root.refreshPromise,yield Xo.toPromise(this._onDidRender.event)),n!==this.root&&!n.refreshPromise&&!this.tree.isCollapsed(n)))return!1;const i=this.tree.expand(n===this.root?null:n,t);return n.refreshPromise&&(yield this.root.refreshPromise,yield Xo.toPromise(this._onDidRender.event)),i})}setSelection(e,t){const n=e.map(i=>this.getDataNode(i));this.tree.setSelection(n,t)}getSelection(){return this.tree.getSelection().map(t=>t.element)}setFocus(e,t){const n=e.map(i=>this.getDataNode(i));this.tree.setFocus(n,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),n=this.tree.getFirstElementChild(t===this.root?null:t);return n&&n.element}getDataNode(e){const t=this.nodes.get(e===this.root.element?null:e);if(!t)throw new Dg(this.user,`Data tree node not found: ${e}`);return t}refreshAndRenderNode(e,t,n,i){return _v(this,void 0,void 0,function*(){yield this.refreshNode(e,t,n),this.render(e,n,i)})}refreshNode(e,t,n){return _v(this,void 0,void 0,function*(){let i;return this.subTreeRefreshPromises.forEach((s,a)=>{!i&&P9e(a,e)&&(i=s.then(()=>this.refreshNode(e,t,n)))}),i||this.doRefreshSubTree(e,t,n)})}doRefreshSubTree(e,t,n){return _v(this,void 0,void 0,function*(){let i;e.refreshPromise=new Promise(s=>i=s),this.subTreeRefreshPromises.set(e,e.refreshPromise),e.refreshPromise.finally(()=>{e.refreshPromise=void 0,this.subTreeRefreshPromises.delete(e)});try{const s=yield this.doRefreshNode(e,t,n);e.stale=!1,yield rz.settled(s.map(a=>this.doRefreshSubTree(a,t,n)))}finally{i()}})}doRefreshNode(e,t,n){return _v(this,void 0,void 0,function*(){e.hasChildren=!!this.dataSource.hasChildren(e.element);let i;if(!e.hasChildren)i=Promise.resolve(Zl.empty());else{const s=this.doGetChildren(e);if(Mie(s))i=Promise.resolve(s);else{const a=Zv(800);a.then(()=>{e.slow=!0,this._onDidChangeNodeSlowState.fire(e)},l=>null),i=s.finally(()=>a.cancel())}}try{const s=yield i;return this.setChildren(e,s,t,n)}catch(s){if(e!==this.root&&this.tree.hasElement(e)&&this.tree.collapse(e),ry(s))return[];throw s}finally{e.slow&&(e.slow=!1,this._onDidChangeNodeSlowState.fire(e))}})}doGetChildren(e){let t=this.refreshPromises.get(e);if(t)return t;const n=this.dataSource.getChildren(e.element);return Mie(n)?this.processChildren(n):(t=Oh(()=>_v(this,void 0,void 0,function*(){return this.processChildren(yield n)})),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(tl))}setChildren(e,t,n,i){const s=[...t];if(e.children.length===0&&s.length===0)return[];const a=new Map,l=new Map;for(const h of e.children)if(a.set(h.element,h),this.identityProvider){const p=this.tree.isCollapsed(h);l.set(h.id,{node:h,collapsed:p})}const u=[],d=s.map(h=>{const p=!!this.dataSource.hasChildren(h);if(!this.identityProvider){const T=oH({element:h,parent:e,hasChildren:p});return p&&this.collapseByDefault&&!this.collapseByDefault(h)&&(T.collapsedByDefault=!1,u.push(T)),T}const g=this.identityProvider.getId(h).toString(),y=l.get(g);if(y){const T=y.node;return a.delete(T.element),this.nodes.delete(T.element),this.nodes.set(h,T),T.element=h,T.hasChildren=p,n?y.collapsed?(T.children.forEach(k=>AU(k,I=>this.nodes.delete(I.element))),T.children.splice(0,T.children.length),T.stale=!0):u.push(T):p&&this.collapseByDefault&&!this.collapseByDefault(h)&&(T.collapsedByDefault=!1,u.push(T)),T}const D=oH({element:h,parent:e,id:g,hasChildren:p});return i&&i.viewState.focus&&i.viewState.focus.indexOf(g)>-1&&i.focus.push(D),i&&i.viewState.selection&&i.viewState.selection.indexOf(g)>-1&&i.selection.push(D),i&&i.viewState.expanded&&i.viewState.expanded.indexOf(g)>-1?u.push(D):p&&this.collapseByDefault&&!this.collapseByDefault(h)&&(D.collapsedByDefault=!1,u.push(D)),D});for(const h of a.values())AU(h,p=>this.nodes.delete(p.element));for(const h of d)this.nodes.set(h.element,h);return e.children.splice(0,e.children.length,...d),e!==this.root&&this.autoExpandSingleChildren&&d.length===1&&u.length===0&&(d[0].collapsedByDefault=!1,u.push(d[0])),u}render(e,t,n){const i=e.children.map(a=>this.asTreeElement(a,t)),s=n&&Object.assign(Object.assign({},n),{diffIdentityProvider:n.diffIdentityProvider&&{getId(a){return n.diffIdentityProvider.getId(a.element)}}});this.tree.setChildren(e===this.root?null:e,i,s),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 n;return t&&t.viewState.expanded&&e.id&&t.viewState.expanded.indexOf(e.id)>-1?n=!1:n=e.collapsedByDefault,e.collapsedByDefault=void 0,{element:e,children:e.hasChildren?Zl.map(e.children,i=>this.asTreeElement(i,t)):[],collapsible:e.hasChildren,collapsed:n}}processChildren(e){return this.sorter&&(e=[...e].sort(this.sorter.compare.bind(this.sorter))),e}dispose(){this.disposables.dispose()}}class wJ{constructor(e){this.node=e}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 wJ(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}}class B9e{constructor(e,t,n,i){this.renderer=e,this.nodeMapper=t,this.compressibleNodeMapperProvider=n,this.onDidChangeTwistieState=i,this.renderedNodes=new Map,this.disposables=[],this.templateId=e.templateId}renderTemplate(e){return{templateData:this.renderer.renderTemplate(e)}}renderElement(e,t,n,i){this.renderer.renderElement(this.nodeMapper.map(e),t,n.templateData,i)}renderCompressedElements(e,t,n,i){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(e),t,n.templateData,i)}renderTwistie(e,t){return e.slow?(t.classList.add(...E.treeItemLoading.classNamesArray),!0):(t.classList.remove(...E.treeItemLoading.classNamesArray),!1)}disposeElement(e,t,n,i){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(e),t,n.templateData,i)}disposeCompressedElements(e,t,n,i){this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(this.compressibleNodeMapperProvider().map(e),t,n.templateData,i)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear(),this.disposables=eu(this.disposables)}}function j9e(o){const e=o&&Ehe(o);return e&&Object.assign(Object.assign({},e),{keyboardNavigationLabelProvider:e.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},e.keyboardNavigationLabelProvider),{getCompressedNodeKeyboardNavigationLabel(t){return o.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.map(n=>n.element))}})})}class W9e extends The{constructor(e,t,n,i,s,a,l={}){super(e,t,n,s,a,l),this.compressionDelegate=i,this.compressibleNodeMapper=new gJ(u=>new wJ(u)),this.filter=l.filter}createTree(e,t,n,i,s){const a=new yJ(n),l=i.map(d=>new B9e(d,this.nodeMapper,()=>this.compressibleNodeMapper,this._onDidChangeNodeSlowState.event)),u=j9e(s)||{};return new xhe(e,t,a,l,u)}asTreeElement(e,t){return Object.assign({incompressible:this.compressionDelegate.isIncompressible(e.element)},super.asTreeElement(e,t))}updateOptions(e={}){this.tree.updateOptions(e)}render(e,t){if(!this.identityProvider)return super.render(e,t);const n=g=>this.identityProvider.getId(g).toString(),i=g=>{const y=new Set;for(const D of g){const T=this.tree.getCompressedTreeNode(D===this.root?null:D);if(!!T.element)for(const k of T.element.elements)y.add(n(k.element))}return y},s=i(this.tree.getSelection()),a=i(this.tree.getFocus());super.render(e,t);const l=this.getSelection();let u=!1;const d=this.getFocus();let h=!1;const p=g=>{const y=g.element;if(y)for(let D=0;D<y.elements.length;D++){const T=n(y.elements[D].element),k=y.elements[y.elements.length-1].element;s.has(T)&&l.indexOf(k)===-1&&(l.push(k),u=!0),a.has(T)&&d.indexOf(k)===-1&&(d.push(k),h=!0)}g.children.forEach(p)};p(this.tree.getCompressedTreeNode(e===this.root?null:e)),u&&this.setSelection(l),h&&this.setFocus(d)}processChildren(e){return this.filter&&(e=Zl.filter(e,t=>{const n=this.filter.filter(t,1),i=V9e(n);if(i===2)throw new Error(\"Recursive tree visibility not supported in async data compressed trees\");return i===1})),super.processChildren(e)}}function V9e(o){return typeof o==\"boolean\"?o?1:0:mJ(o)?bL(o.visibility):bL(o)}class H9e extends Dhe{constructor(e,t,n,i,s,a={}){super(e,t,n,i,a),this.user=e,this.dataSource=s,this.identityProvider=a.identityProvider}createModel(e,t,n){return new bJ(e,t,n)}}new Do(\"isMac\",El,w(\"isMac\",\"Whether the operating system is macOS\"));new Do(\"isLinux\",vp,w(\"isLinux\",\"Whether the operating system is Linux\"));const g9=new Do(\"isWindows\",Ph,w(\"isWindows\",\"Whether the operating system is Windows\"));new Do(\"isWeb\",bC,w(\"isWeb\",\"Whether the platform is a web browser\"));new Do(\"isMacNative\",El&&!bC,w(\"isMacNative\",\"Whether the operating system is macOS on a non-browser platform\"));new Do(\"isIOS\",m0,w(\"isIOS\",\"Whether the operating system is iOS\"));new Do(\"isDevelopment\",!1,!0);const Ahe=\"inputFocus\";new Do(Ahe,!1,w(\"inputFocus\",\"Whether keyboard focus is inside an input box\"));var uy=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},kl=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};const Vg=zl(\"listService\");let kU=class{constructor(e){this._themeService=e,this.disposables=new fs,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}get lastFocusedList(){return this._lastFocusedWidget}setLastFocusedList(e){var t,n;e!==this._lastFocusedWidget&&((t=this._lastFocusedWidget)===null||t===void 0||t.getHTMLElement().classList.remove(\"last-focused\"),this._lastFocusedWidget=e,(n=this._lastFocusedWidget)===null||n===void 0||n.getHTMLElement().classList.add(\"last-focused\"))}register(e,t){if(!this._hasCreatedStyleController){this._hasCreatedStyleController=!0;const i=new bhe(Pg(),\"\");this.disposables.add(MD(i,this._themeService))}if(this.lists.some(i=>i.widget===e))throw new Error(\"Cannot register the same widget multiple times\");const n={widget:e,extraContextKeys:t};return this.lists.push(n),e.getHTMLElement()===document.activeElement&&this.setLastFocusedList(e),gb(e.onDidFocus(()=>this.setLastFocusedList(e)),wl(()=>this.lists.splice(this.lists.indexOf(n),1)),e.onDidDispose(()=>{this.lists=this.lists.filter(i=>i!==n),this._lastFocusedWidget===e&&this.setLastFocusedList(void 0)}))}dispose(){this.disposables.dispose()}};kU=uy([kl(0,gc)],kU);const khe=new Do(\"listFocus\",!0),m9=new Do(\"listSupportsMultiselect\",!0),Lhe=co.and(khe,co.not(Ahe)),SJ=new Do(\"listHasSelectionOrFocus\",!1),xJ=new Do(\"listDoubleSelection\",!1),EJ=new Do(\"listMultiSelection\",!1),y9=new Do(\"listSelectionNavigation\",!1),TJ=new Do(\"treeElementCanCollapse\",!1),$9e=new Do(\"treeElementHasParent\",!1),AJ=new Do(\"treeElementCanExpand\",!1),z9e=new Do(\"treeElementHasChild\",!1),Nhe=\"listAutomaticKeyboardNavigation\";function b9(o,e){const t=o.createScoped(e.getHTMLElement());return khe.bindTo(t),t}const bw=\"workbench.list.multiSelectModifier\",LU=\"workbench.list.openMode\",kg=\"workbench.list.horizontalScrolling\",$7=\"workbench.list.keyboardNavigation\",kJ=\"workbench.list.automaticKeyboardNavigation\",DL=\"workbench.tree.indent\",z7=\"workbench.tree.renderIndentGuides\",C0=\"workbench.list.smoothScrolling\",ey=\"workbench.list.mouseWheelScrollSensitivity\",ty=\"workbench.list.fastScrollSensitivity\",U7=\"workbench.tree.expandMode\";function ny(o){return o.getValue(bw)===\"alt\"}class U9e extends fr{constructor(e){super(),this.configurationService=e,this.useAltAsMultipleSelectionModifier=ny(e),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration(bw)&&(this.useAltAsMultipleSelectionModifier=ny(this.configurationService))}))}isSelectionSingleChangeEvent(e){return this.useAltAsMultipleSelectionModifier?e.browserEvent.altKey:ghe(e)}isSelectionRangeChangeEvent(e){return mhe(e)}}function v9(o,e,t){var n;const i=new fs;return[Object.assign(Object.assign({},o),{keyboardNavigationDelegate:{mightProducePrintableCharacter(a){return t.mightProducePrintableCharacter(a)}},smoothScrolling:Boolean(e.getValue(C0)),mouseWheelScrollSensitivity:e.getValue(ey),fastScrollSensitivity:e.getValue(ty),multipleSelectionController:(n=o.multipleSelectionController)!==null&&n!==void 0?n:i.add(new U9e(e))}),i]}let NU=class extends ly{constructor(e,t,n,i,s,a,l,u,d,h){const p=typeof s.horizontalScrolling!=\"undefined\"?s.horizontalScrolling:Boolean(d.getValue(kg)),[g,y]=v9(s,d,h);super(e,t,n,i,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},s0(u.getColorTheme(),c9)),g),{horizontalScrolling:p})),this.disposables.add(y),this.contextKeyService=b9(a,this),this.themeService=u,this.listSupportsMultiSelect=m9.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(s.multipleSelectionSupport!==!1),y9.bindTo(this.contextKeyService).set(Boolean(s.selectionNavigation)),this.listHasSelectionOrFocus=SJ.bindTo(this.contextKeyService),this.listDoubleSelection=xJ.bindTo(this.contextKeyService),this.listMultiSelection=EJ.bindTo(this.contextKeyService),this.horizontalScrolling=s.horizontalScrolling,this._useAltAsMultipleSelectionModifier=ny(d),this.disposables.add(this.contextKeyService),this.disposables.add(l.register(this)),s.overrideStyles&&this.updateStyles(s.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{const T=this.getSelection(),k=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(T.length>0||k.length>0),this.listMultiSelection.set(T.length>1),this.listDoubleSelection.set(T.length===2)})})),this.disposables.add(this.onDidChangeFocus(()=>{const T=this.getSelection(),k=this.getFocus();this.listHasSelectionOrFocus.set(T.length>0||k.length>0)})),this.disposables.add(d.onDidChangeConfiguration(T=>{T.affectsConfiguration(bw)&&(this._useAltAsMultipleSelectionModifier=ny(d));let k={};if(T.affectsConfiguration(kg)&&this.horizontalScrolling===void 0){const I=Boolean(d.getValue(kg));k=Object.assign(Object.assign({},k),{horizontalScrolling:I})}if(T.affectsConfiguration(C0)){const I=Boolean(d.getValue(C0));k=Object.assign(Object.assign({},k),{smoothScrolling:I})}if(T.affectsConfiguration(ey)){const I=d.getValue(ey);k=Object.assign(Object.assign({},k),{mouseWheelScrollSensitivity:I})}if(T.affectsConfiguration(ty)){const I=d.getValue(ty);k=Object.assign(Object.assign({},k),{fastScrollSensitivity:I})}Object.keys(k).length>0&&this.updateOptions(k)})),this.navigator=new Ihe(this,Object.assign({configurationService:d},s)),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),e.overrideStyles&&this.updateStyles(e.overrideStyles),e.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){var t;(t=this._styler)===null||t===void 0||t.dispose(),this._styler=MD(this,this.themeService,e)}dispose(){var e;(e=this._styler)===null||e===void 0||e.dispose(),super.dispose()}};NU=uy([kl(5,Xa),kl(6,Vg),kl(7,gc),kl(8,Uu),kl(9,Xc)],NU);let Moe=class extends d9e{constructor(e,t,n,i,s,a,l,u,d,h){const p=typeof s.horizontalScrolling!=\"undefined\"?s.horizontalScrolling:Boolean(d.getValue(kg)),[g,y]=v9(s,d,h);super(e,t,n,i,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},s0(u.getColorTheme(),c9)),g),{horizontalScrolling:p})),this.disposables=new fs,this.disposables.add(y),this.contextKeyService=b9(a,this),this.themeService=u,this.horizontalScrolling=s.horizontalScrolling,this.listSupportsMultiSelect=m9.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(s.multipleSelectionSupport!==!1),y9.bindTo(this.contextKeyService).set(Boolean(s.selectionNavigation)),this._useAltAsMultipleSelectionModifier=ny(d),this.disposables.add(this.contextKeyService),this.disposables.add(l.register(this)),s.overrideStyles&&this.updateStyles(s.overrideStyles),s.overrideStyles&&this.disposables.add(MD(this,u,s.overrideStyles)),this.disposables.add(d.onDidChangeConfiguration(T=>{T.affectsConfiguration(bw)&&(this._useAltAsMultipleSelectionModifier=ny(d));let k={};if(T.affectsConfiguration(kg)&&this.horizontalScrolling===void 0){const I=Boolean(d.getValue(kg));k=Object.assign(Object.assign({},k),{horizontalScrolling:I})}if(T.affectsConfiguration(C0)){const I=Boolean(d.getValue(C0));k=Object.assign(Object.assign({},k),{smoothScrolling:I})}if(T.affectsConfiguration(ey)){const I=d.getValue(ey);k=Object.assign(Object.assign({},k),{mouseWheelScrollSensitivity:I})}if(T.affectsConfiguration(ty)){const I=d.getValue(ty);k=Object.assign(Object.assign({},k),{fastScrollSensitivity:I})}Object.keys(k).length>0&&this.updateOptions(k)})),this.navigator=new Ihe(this,Object.assign({configurationService:d},s)),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),e.overrideStyles&&this.updateStyles(e.overrideStyles),e.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){var t;(t=this._styler)===null||t===void 0||t.dispose(),this._styler=MD(this,this.themeService,e)}dispose(){var e;(e=this._styler)===null||e===void 0||e.dispose(),this.disposables.dispose(),super.dispose()}};Moe=uy([kl(5,Xa),kl(6,Vg),kl(7,gc),kl(8,Uu),kl(9,Xc)],Moe);let Roe=class extends _9{constructor(e,t,n,i,s,a,l,u,d,h,p){const g=typeof a.horizontalScrolling!=\"undefined\"?a.horizontalScrolling:Boolean(h.getValue(kg)),[y,D]=v9(a,h,p);super(e,t,n,i,s,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},s0(d.getColorTheme(),c9)),y),{horizontalScrolling:g})),this.disposables.add(D),this.contextKeyService=b9(l,this),this.themeService=d,this.listSupportsMultiSelect=m9.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(a.multipleSelectionSupport!==!1),y9.bindTo(this.contextKeyService).set(Boolean(a.selectionNavigation)),this.listHasSelectionOrFocus=SJ.bindTo(this.contextKeyService),this.listDoubleSelection=xJ.bindTo(this.contextKeyService),this.listMultiSelection=EJ.bindTo(this.contextKeyService),this.horizontalScrolling=a.horizontalScrolling,this._useAltAsMultipleSelectionModifier=ny(h),this.disposables.add(this.contextKeyService),this.disposables.add(u.register(this)),a.overrideStyles&&this.updateStyles(a.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{const k=this.getSelection(),I=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(k.length>0||I.length>0),this.listMultiSelection.set(k.length>1),this.listDoubleSelection.set(k.length===2)})})),this.disposables.add(this.onDidChangeFocus(()=>{const k=this.getSelection(),I=this.getFocus();this.listHasSelectionOrFocus.set(k.length>0||I.length>0)})),this.disposables.add(h.onDidChangeConfiguration(k=>{k.affectsConfiguration(bw)&&(this._useAltAsMultipleSelectionModifier=ny(h));let I={};if(k.affectsConfiguration(kg)&&this.horizontalScrolling===void 0){const F=Boolean(h.getValue(kg));I=Object.assign(Object.assign({},I),{horizontalScrolling:F})}if(k.affectsConfiguration(C0)){const F=Boolean(h.getValue(C0));I=Object.assign(Object.assign({},I),{smoothScrolling:F})}if(k.affectsConfiguration(ey)){const F=h.getValue(ey);I=Object.assign(Object.assign({},I),{mouseWheelScrollSensitivity:F})}if(k.affectsConfiguration(ty)){const F=h.getValue(ty);I=Object.assign(Object.assign({},I),{fastScrollSensitivity:F})}Object.keys(I).length>0&&this.updateOptions(I)})),this.navigator=new K9e(this,Object.assign({configurationService:h},a)),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),e.overrideStyles&&this.updateStyles(e.overrideStyles),e.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){var t;(t=this._styler)===null||t===void 0||t.dispose(),this._styler=MD(this,this.themeService,e)}dispose(){var e;(e=this._styler)===null||e===void 0||e.dispose(),this.disposables.dispose(),super.dispose()}};Roe=uy([kl(6,Xa),kl(7,Vg),kl(8,gc),kl(9,Uu),kl(10,Xc)],Roe);class LJ extends fr{constructor(e,t){var n;super(),this.widget=e,this._onDidOpen=this._register(new ri),this.onDidOpen=this._onDidOpen.event,this._register(Xo.filter(this.widget.onDidChangeSelection,i=>i.browserEvent instanceof KeyboardEvent)(i=>this.onSelectionFromKeyboard(i))),this._register(this.widget.onPointer(i=>this.onPointer(i.element,i.browserEvent))),this._register(this.widget.onMouseDblClick(i=>this.onMouseDblClick(i.element,i.browserEvent))),typeof(t==null?void 0:t.openOnSingleClick)!=\"boolean\"&&(t==null?void 0:t.configurationService)?(this.openOnSingleClick=(t==null?void 0:t.configurationService.getValue(LU))!==\"doubleClick\",this._register(t==null?void 0:t.configurationService.onDidChangeConfiguration(()=>{this.openOnSingleClick=(t==null?void 0:t.configurationService.getValue(LU))!==\"doubleClick\"}))):this.openOnSingleClick=(n=t==null?void 0:t.openOnSingleClick)!==null&&n!==void 0?n:!0}onSelectionFromKeyboard(e){if(e.elements.length!==1)return;const t=e.browserEvent,n=typeof t.preserveFocus==\"boolean\"?t.preserveFocus:!0,i=typeof t.pinned==\"boolean\"?t.pinned:!n,s=!1;this._open(this.getSelectedElement(),n,i,s,e.browserEvent)}onPointer(e,t){if(!this.openOnSingleClick||t.detail===2)return;const i=t.button===1,s=!0,a=i,l=t.ctrlKey||t.metaKey||t.altKey;this._open(e,s,a,l,t)}onMouseDblClick(e,t){if(!t)return;const n=t.target;if(n.classList.contains(\"monaco-tl-twistie\")||n.classList.contains(\"monaco-icon-label\")&&n.classList.contains(\"folder-icon\")&&t.offsetX<16)return;const s=!1,a=!0,l=t.ctrlKey||t.metaKey||t.altKey;this._open(e,s,a,l,t)}_open(e,t,n,i,s){!e||this._onDidOpen.fire({editorOptions:{preserveFocus:t,pinned:n,revealIfVisible:!0},sideBySide:i,element:e,browserEvent:s})}}class Ihe extends LJ{constructor(e,t){super(e,t),this.widget=e}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class K9e extends LJ{constructor(e,t){super(e,t)}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class q9e extends LJ{constructor(e,t){super(e,t)}getSelectedElement(){var e;return(e=this.widget.getSelection()[0])!==null&&e!==void 0?e:void 0}}function G9e(o,e){let t=!1;return n=>{if(n.toKeybinding().isModifierKey())return!1;if(t)return t=!1,!1;const i=e.softDispatch(n,o);return i&&i.enterChord?(t=!0,!1):(t=!1,!0)}}let Boe=class extends CJ{constructor(e,t,n,i,s,a,l,u,d,h,p){const{options:g,getAutomaticKeyboardNavigation:y,disposable:D}=g4(t,s,a,d,h,p);super(e,t,n,i,g),this.disposables.add(D),this.internals=new BD(this,s,y,s.overrideStyles,a,l,u,d,p),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}};Boe=uy([kl(5,Xa),kl(6,Vg),kl(7,gc),kl(8,Uu),kl(9,Xc),kl(10,m_)],Boe);let joe=class extends xhe{constructor(e,t,n,i,s,a,l,u,d,h,p){const{options:g,getAutomaticKeyboardNavigation:y,disposable:D}=g4(t,s,a,d,h,p);super(e,t,n,i,g),this.disposables.add(D),this.internals=new BD(this,s,y,s.overrideStyles,a,l,u,d,p),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};joe=uy([kl(5,Xa),kl(6,Vg),kl(7,gc),kl(8,Uu),kl(9,Xc),kl(10,m_)],joe);let Woe=class extends H9e{constructor(e,t,n,i,s,a,l,u,d,h,p,g){const{options:y,getAutomaticKeyboardNavigation:D,disposable:T}=g4(t,a,l,h,p,g);super(e,t,n,i,s,y),this.disposables.add(T),this.internals=new BD(this,a,D,a.overrideStyles,l,u,d,h,g),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};Woe=uy([kl(6,Xa),kl(7,Vg),kl(8,gc),kl(9,Uu),kl(10,Xc),kl(11,m_)],Woe);let IU=class extends The{constructor(e,t,n,i,s,a,l,u,d,h,p,g){const{options:y,getAutomaticKeyboardNavigation:D,disposable:T}=g4(t,a,l,h,p,g);super(e,t,n,i,s,y),this.disposables.add(T),this.internals=new BD(this,a,D,a.overrideStyles,l,u,d,h,g),this.disposables.add(this.internals)}get onDidOpen(){return this.internals.onDidOpen}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};IU=uy([kl(6,Xa),kl(7,Vg),kl(8,gc),kl(9,Uu),kl(10,Xc),kl(11,m_)],IU);let Voe=class extends W9e{constructor(e,t,n,i,s,a,l,u,d,h,p,g,y){const{options:D,getAutomaticKeyboardNavigation:T,disposable:k}=g4(t,l,u,p,g,y);super(e,t,n,i,s,a,D),this.disposables.add(k),this.internals=new BD(this,l,T,l.overrideStyles,u,d,h,p,y),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}};Voe=uy([kl(7,Xa),kl(8,Vg),kl(9,gc),kl(10,Uu),kl(11,Xc),kl(12,m_)],Voe);function g4(o,e,t,n,i,s){var a;const l=()=>{let D=Boolean(t.getContextKeyValue(Nhe));return D&&(D=Boolean(n.getValue(kJ))),D},u=s.isScreenReaderOptimized(),d=e.simpleKeyboardNavigation||u?\"simple\":n.getValue($7),h=e.horizontalScrolling!==void 0?e.horizontalScrolling:Boolean(n.getValue(kg)),[p,g]=v9(e,n,i),y=e.additionalScrollHeight;return{getAutomaticKeyboardNavigation:l,disposable:g,options:Object.assign(Object.assign({keyboardSupport:!1},p),{indent:typeof n.getValue(DL)==\"number\"?n.getValue(DL):void 0,renderIndentGuides:n.getValue(z7),smoothScrolling:Boolean(n.getValue(C0)),automaticKeyboardNavigation:l(),simpleKeyboardNavigation:d===\"simple\",filterOnType:d===\"filter\",horizontalScrolling:h,keyboardNavigationEventFilter:G9e(o,i),additionalScrollHeight:y,hideTwistiesOfChildlessElements:e.hideTwistiesOfChildlessElements,expandOnlyOnTwistieClick:(a=e.expandOnlyOnTwistieClick)!==null&&a!==void 0?a:n.getValue(U7)===\"doubleClick\"})}}let BD=class{constructor(e,t,n,i,s,a,l,u,d){this.tree=e,this.themeService=l,this.disposables=[],this.contextKeyService=b9(s,e),this.listSupportsMultiSelect=m9.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(t.multipleSelectionSupport!==!1),y9.bindTo(this.contextKeyService).set(Boolean(t.selectionNavigation)),this.hasSelectionOrFocus=SJ.bindTo(this.contextKeyService),this.hasDoubleSelection=xJ.bindTo(this.contextKeyService),this.hasMultiSelection=EJ.bindTo(this.contextKeyService),this.treeElementCanCollapse=TJ.bindTo(this.contextKeyService),this.treeElementHasParent=$9e.bindTo(this.contextKeyService),this.treeElementCanExpand=AJ.bindTo(this.contextKeyService),this.treeElementHasChild=z9e.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=ny(u);const p=new Set;p.add(Nhe);const g=()=>{const T=d.isScreenReaderOptimized()?\"simple\":u.getValue($7);e.updateOptions({simpleKeyboardNavigation:T===\"simple\",filterOnType:T===\"filter\"})};this.updateStyleOverrides(i);const y=()=>{const D=e.getFocus()[0];if(!D)return;const T=e.getNode(D);this.treeElementCanCollapse.set(T.collapsible&&!T.collapsed),this.treeElementHasParent.set(!!e.getParentElement(D)),this.treeElementCanExpand.set(T.collapsible&&T.collapsed),this.treeElementHasChild.set(!!e.getFirstElementChild(D))};this.disposables.push(this.contextKeyService,a.register(e),e.onDidChangeSelection(()=>{const D=e.getSelection(),T=e.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.hasSelectionOrFocus.set(D.length>0||T.length>0),this.hasMultiSelection.set(D.length>1),this.hasDoubleSelection.set(D.length===2)})}),e.onDidChangeFocus(()=>{const D=e.getSelection(),T=e.getFocus();this.hasSelectionOrFocus.set(D.length>0||T.length>0),y()}),e.onDidChangeCollapseState(y),e.onDidChangeModel(y),u.onDidChangeConfiguration(D=>{let T={};if(D.affectsConfiguration(bw)&&(this._useAltAsMultipleSelectionModifier=ny(u)),D.affectsConfiguration(DL)){const k=u.getValue(DL);T=Object.assign(Object.assign({},T),{indent:k})}if(D.affectsConfiguration(z7)){const k=u.getValue(z7);T=Object.assign(Object.assign({},T),{renderIndentGuides:k})}if(D.affectsConfiguration(C0)){const k=Boolean(u.getValue(C0));T=Object.assign(Object.assign({},T),{smoothScrolling:k})}if(D.affectsConfiguration($7)&&g(),D.affectsConfiguration(kJ)&&(T=Object.assign(Object.assign({},T),{automaticKeyboardNavigation:n()})),D.affectsConfiguration(kg)&&t.horizontalScrolling===void 0){const k=Boolean(u.getValue(kg));T=Object.assign(Object.assign({},T),{horizontalScrolling:k})}if(D.affectsConfiguration(U7)&&t.expandOnlyOnTwistieClick===void 0&&(T=Object.assign(Object.assign({},T),{expandOnlyOnTwistieClick:u.getValue(U7)===\"doubleClick\"})),D.affectsConfiguration(ey)){const k=u.getValue(ey);T=Object.assign(Object.assign({},T),{mouseWheelScrollSensitivity:k})}if(D.affectsConfiguration(ty)){const k=u.getValue(ty);T=Object.assign(Object.assign({},T),{fastScrollSensitivity:k})}Object.keys(T).length>0&&e.updateOptions(T)}),this.contextKeyService.onDidChangeContext(D=>{D.affectsSome(p)&&e.updateOptions({automaticKeyboardNavigation:n()})}),d.onDidChangeScreenReaderOptimized(()=>g())),this.navigator=new q9e(e,Object.assign({configurationService:u},t)),this.disposables.push(this.navigator)}get onDidOpen(){return this.navigator.onDidOpen}updateOptions(e){e.multipleSelectionSupport!==void 0&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyleOverrides(e){eu(this.styler),this.styler=e?MD(this.tree,this.themeService,e):fr.None}dispose(){this.disposables=eu(this.disposables),eu(this.styler),this.styler=void 0}};BD=uy([kl(4,Xa),kl(5,Vg),kl(6,gc),kl(7,Uu),kl(8,m_)],BD);const J9e=wd.as(pw.Configuration);J9e.registerConfiguration({id:\"workbench\",order:7,title:w(\"workbenchConfigurationTitle\",\"Workbench\"),type:\"object\",properties:{[bw]:{type:\"string\",enum:[\"ctrlCmd\",\"alt\"],enumDescriptions:[w(\"multiSelectModifier.ctrlCmd\",\"Maps to `Control` on Windows and Linux and to `Command` on macOS.\"),w(\"multiSelectModifier.alt\",\"Maps to `Alt` on Windows and Linux and to `Option` on macOS.\")],default:\"ctrlCmd\",description:w({key:\"multiSelectModifier\",comment:[\"- `ctrlCmd` refers to a value the setting can take and should not be localized.\",\"- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized.\"]},\"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.\")},[LU]:{type:\"string\",enum:[\"singleClick\",\"doubleClick\"],default:\"singleClick\",description:w({key:\"openModeModifier\",comment:[\"`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized.\"]},\"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.\")},[kg]:{type:\"boolean\",default:!1,description:w(\"horizontalScrolling setting\",\"Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.\")},[DL]:{type:\"number\",default:8,minimum:4,maximum:40,description:w(\"tree indent setting\",\"Controls tree indentation in pixels.\")},[z7]:{type:\"string\",enum:[\"none\",\"onHover\",\"always\"],default:\"onHover\",description:w(\"render tree indent guides\",\"Controls whether the tree should render indent guides.\")},[C0]:{type:\"boolean\",default:!1,description:w(\"list smoothScrolling setting\",\"Controls whether lists and trees have smooth scrolling.\")},[ey]:{type:\"number\",default:1,description:w(\"Mouse Wheel Scroll Sensitivity\",\"A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.\")},[ty]:{type:\"number\",default:5,description:w(\"Fast Scroll Sensitivity\",\"Scrolling speed multiplier when pressing `Alt`.\")},[$7]:{type:\"string\",enum:[\"simple\",\"highlight\",\"filter\"],enumDescriptions:[w(\"keyboardNavigationSettingKey.simple\",\"Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes.\"),w(\"keyboardNavigationSettingKey.highlight\",\"Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements.\"),w(\"keyboardNavigationSettingKey.filter\",\"Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.\")],default:\"highlight\",description:w(\"keyboardNavigationSettingKey\",\"Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.\")},[kJ]:{type:\"boolean\",default:!0,markdownDescription:w(\"automatic keyboard navigation setting\",\"Controls whether keyboard navigation in lists and trees is automatically triggered simply by typing. If set to `false`, keyboard navigation is only triggered when executing the `list.toggleKeyboardNavigation` command, for which you can assign a keyboard shortcut.\")},[U7]:{type:\"string\",enum:[\"singleClick\",\"doubleClick\"],default:\"singleClick\",description:w(\"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.\")}}});var FU;(function(o){o[o.PRESERVE=0]=\"PRESERVE\",o[o.LAST=1]=\"LAST\"})(FU||(FU={}));const vw={Quickaccess:\"workbench.contributions.quickaccess\"};class Y9e{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,n)=>n.prefix.length-t.prefix.length),wl(()=>{this.providers.splice(this.providers.indexOf(e),1),this.defaultProvider===e&&(this.defaultProvider=void 0)})}getQuickAccessProviders(){return rw([this.defaultProvider,...this.providers])}getQuickAccessProvider(e){return e&&this.providers.find(n=>e.startsWith(n.prefix))||void 0||this.defaultProvider}}wd.add(vw.Quickaccess,new Y9e);const Nb=zl(\"quickInputService\");var X9e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},Hoe=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let PU=class extends fr{constructor(e,t){super(),this.quickInputService=e,this.instantiationService=t,this.registry=wd.as(vw.Quickaccess),this.mapProviderToDescriptor=new Map,this.lastAcceptedPickerValues=new Map,this.visibleQuickAccess=void 0}show(e=\"\",t){this.doShowOrPick(e,!1,t)}doShowOrPick(e,t,n){var i;const[s,a]=this.getOrInstantiateProvider(e),l=this.visibleQuickAccess,u=l==null?void 0:l.descriptor;if(l&&a&&u===a){e!==a.prefix&&!(n!=null&&n.preserveValue)&&(l.picker.value=e),this.adjustValueSelection(l.picker,a,n);return}if(a&&!(n!=null&&n.preserveValue)){let y;if(l&&u&&u!==a){const D=l.value.substr(u.prefix.length);D&&(y=`${a.prefix}${D}`)}if(!y){const D=s==null?void 0:s.defaultFilterValue;D===FU.LAST?y=this.lastAcceptedPickerValues.get(a):typeof D==\"string\"&&(y=`${a.prefix}${D}`)}typeof y==\"string\"&&(e=y)}const d=new fs,h=d.add(this.quickInputService.createQuickPick());h.value=e,this.adjustValueSelection(h,a,n),h.placeholder=a==null?void 0:a.placeholder,h.quickNavigate=n==null?void 0:n.quickNavigateConfiguration,h.hideInput=!!h.quickNavigate&&!l,(typeof(n==null?void 0:n.itemActivation)==\"number\"||(n==null?void 0:n.quickNavigateConfiguration))&&(h.itemActivation=(i=n==null?void 0:n.itemActivation)!==null&&i!==void 0?i:r0.SECOND),h.contextKey=a==null?void 0:a.contextKey,h.filterValue=y=>y.substring(a?a.prefix.length:0),a!=null&&a.placeholder&&(h.ariaLabel=a==null?void 0:a.placeholder);let p;t&&(p=new Gq,d.add(wb(h.onWillAccept)(y=>{y.veto(),h.hide()}))),d.add(this.registerPickerListeners(h,s,a,e));const g=d.add(new Xh);if(s&&d.add(s.provide(h,g.token)),wb(h.onDidHide)(()=>{h.selectedItems.length===0&&g.cancel(),d.dispose(),p==null||p.complete(h.selectedItems.slice(0))}),h.show(),t)return p==null?void 0:p.p}adjustValueSelection(e,t,n){var i;let s;n!=null&&n.preserveValue?s=[e.value.length,e.value.length]:s=[(i=t==null?void 0:t.prefix.length)!==null&&i!==void 0?i:0,e.value.length],e.valueSelection=s}registerPickerListeners(e,t,n,i){const s=new fs,a=this.visibleQuickAccess={picker:e,descriptor:n,value:i};return s.add(wl(()=>{a===this.visibleQuickAccess&&(this.visibleQuickAccess=void 0)})),s.add(e.onDidChangeValue(l=>{const[u]=this.getOrInstantiateProvider(l);u!==t?this.show(l,{preserveValue:!0}):a.value=l})),n&&s.add(e.onDidAccept(()=>{this.lastAcceptedPickerValues.set(n,e.value)})),s}getOrInstantiateProvider(e){const t=this.registry.getQuickAccessProvider(e);if(!t)return[void 0,void 0];let n=this.mapProviderToDescriptor.get(t);return n||(n=this.instantiationService.createInstance(t.ctor),this.mapProviderToDescriptor.set(t,n)),[n,t]}};PU=X9e([Hoe(0,Nb),Hoe(1,Nl)],PU);var Q9e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},Nk=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let OU=class extends iLe{constructor(e,t,n,i,s){super(n),this.instantiationService=e,this.contextKeyService=t,this.accessibilityService=i,this.layoutService=s,this.contexts=new Map}get controller(){return this._controller||(this._controller=this._register(this.createController())),this._controller}get quickAccess(){return this._quickAccess||(this._quickAccess=this._register(this.instantiationService.createInstance(PU))),this._quickAccess}createController(e=this.layoutService,t){var n,i;const s={idPrefix:\"quickInput_\",container:e.container,ignoreFocusOut:()=>!1,isScreenReaderOptimized:()=>this.accessibilityService.isScreenReaderOptimized(),backKeybindingLabel:()=>{},setContextKey:l=>this.setContextKey(l),returnFocus:()=>e.focus(),createList:(l,u,d,h,p)=>this.instantiationService.createInstance(NU,l,u,d,h,p),styles:this.computeStyles()},a=this._register(new f9(Object.assign(Object.assign({},s),t)));return a.layout(e.dimension,(i=(n=e.offset)===null||n===void 0?void 0:n.top)!==null&&i!==void 0?i:0),this._register(e.onDidLayout(l=>{var u,d;return a.layout(l,(d=(u=e.offset)===null||u===void 0?void 0:u.top)!==null&&d!==void 0?d:0)})),this._register(a.onShow(()=>this.resetContextKeys())),this._register(a.onHide(()=>this.resetContextKeys())),a}setContextKey(e){let t;e&&(t=this.contexts.get(e),t||(t=new Do(e,!1).bindTo(this.contextKeyService),this.contexts.set(e,t))),!(t&&t.get())&&(this.resetContextKeys(),t&&t.set(!0))}resetContextKeys(){this.contexts.forEach(e=>{e.get()&&e.reset()})}pick(e,t={},n=Ll.None){return this.controller.pick(e,t,n)}createQuickPick(){return this.controller.createQuickPick()}updateStyles(){this.controller.applyStyles(this.computeStyles())}computeStyles(){return{widget:Object.assign({},s0(this.theme,{quickInputBackground:Are,quickInputForeground:RLe,quickInputTitleBackground:BLe,contrastBorder:Sc,widgetShadow:rC})),inputBox:s0(this.theme,{inputForeground:fG,inputBackground:pG,inputBorder:_G,inputValidationInfoBackground:cce,inputValidationInfoForeground:dce,inputValidationInfoBorder:hce,inputValidationWarningBackground:pce,inputValidationWarningForeground:fce,inputValidationWarningBorder:_ce,inputValidationErrorBackground:gce,inputValidationErrorForeground:mce,inputValidationErrorBorder:yce}),countBadge:s0(this.theme,{badgeBackground:a3,badgeForeground:l3,badgeBorder:Sc}),button:s0(this.theme,{buttonForeground:ALe,buttonBackground:Sz,buttonHoverBackground:kLe,buttonBorder:Sc}),progressBar:s0(this.theme,{progressBarBackground:LLe}),keybindingLabel:s0(this.theme,{keybindingLabelBackground:VLe,keybindingLabelForeground:HLe,keybindingLabelBorder:$Le,keybindingLabelBottomBorder:zLe,keybindingLabelShadow:rC}),list:s0(this.theme,{listBackground:Are,listInactiveFocusForeground:i8,listInactiveSelectionIconForeground:r8,listInactiveFocusBackground:s8,listFocusOutline:Bp,listInactiveFocusOutline:Bp,pickerGroupBorder:WLe,pickerGroupForeground:jLe})}}};OU=Q9e([Nk(0,Nl),Nk(1,Xa),Nk(2,gc),Nk(3,m_),Nk(4,c4)],OU);var Fhe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},z2=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let MU=class extends OU{constructor(e,t,n,i,s,a){super(t,n,i,s,new Kz(e.getContainerDomNode(),a)),this.host=void 0;const l=bE.get(e);if(l){const u=l.widget;this.host={_serviceBrand:void 0,get hasContainer(){return!0},get container(){return u.getDomNode()},get dimension(){return e.getLayoutInfo()},get onDidLayout(){return e.onDidLayoutChange},focus:()=>e.focus()}}else this.host=void 0}createController(){return super.createController(this.host)}};MU=Fhe([z2(1,Nl),z2(2,Xa),z2(3,gc),z2(4,m_),z2(5,Eu)],MU);let RU=class{constructor(e,t){this.instantiationService=e,this.codeEditorService=t,this.mapEditorToService=new Map}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 n=t=this.instantiationService.createInstance(MU,e);this.mapEditorToService.set(e,t),wb(e.onDidDispose)(()=>{n.dispose(),this.mapEditorToService.delete(e)})}return t}get quickAccess(){return this.activeService.quickAccess}pick(e,t={},n=Ll.None){return this.activeService.pick(e,t,n)}createQuickPick(){return this.activeService.createQuickPick()}};RU=Fhe([z2(0,Nl),z2(1,Eu)],RU);class bE{constructor(e){this.editor=e,this.widget=new C9(this.editor)}static get(e){return e.getContribution(bE.ID)}dispose(){this.widget.dispose()}}bE.ID=\"editor.controller.quickInput\";class C9{constructor(e){this.codeEditor=e,this.domNode=document.createElement(\"div\"),this.codeEditor.addOverlayWidget(this)}getId(){return C9.ID}getDomNode(){return this.domNode}getPosition(){return{preference:2}}dispose(){this.codeEditor.removeOverlayWidget(this)}}C9.ID=\"editor.contrib.quickInputWidget\";vu(bE.ID,bE);class Z9e{constructor(e,t,n,i,s){this._parsedThemeRuleBrand=void 0,this.token=e,this.index=t,this.fontStyle=n,this.foreground=i,this.background=s}}function eOe(o){if(!o||!Array.isArray(o))return[];const e=[];let t=0;for(let n=0,i=o.length;n<i;n++){const s=o[n];let a=-1;if(typeof s.fontStyle==\"string\"){a=0;const d=s.fontStyle.split(\" \");for(let h=0,p=d.length;h<p;h++)switch(d[h]){case\"italic\":a=a|1;break;case\"bold\":a=a|2;break;case\"underline\":a=a|4;break;case\"strikethrough\":a=a|8;break}}let l=null;typeof s.foreground==\"string\"&&(l=s.foreground);let u=null;typeof s.background==\"string\"&&(u=s.background),e[t++]=new Z9e(s.token||\"\",n,a,l,u)}return e}function tOe(o,e){o.sort((h,p)=>{const g=oOe(h.token,p.token);return g!==0?g:h.index-p.index});let t=0,n=\"000000\",i=\"ffffff\";for(;o.length>=1&&o[0].token===\"\";){const h=o.shift();h.fontStyle!==-1&&(t=h.fontStyle),h.foreground!==null&&(n=h.foreground),h.background!==null&&(i=h.background)}const s=new iOe;for(let h of e)s.getId(h);const a=s.getId(n),l=s.getId(i),u=new NJ(t,a,l),d=new IJ(u);for(let h=0,p=o.length;h<p;h++){const g=o[h];d.insert(g.token,g.fontStyle,s.getId(g.foreground),s.getId(g.background))}return new Phe(s,d)}const nOe=/^#?([0-9A-Fa-f]{6})([0-9A-Fa-f]{2})?$/;class iOe{constructor(){this._lastColorId=0,this._id2color=[],this._color2id=new Map}getId(e){if(e===null)return 0;const t=e.match(nOe);if(!t)throw new Error(\"Illegal value for token color: \"+e);e=t[1].toUpperCase();let n=this._color2id.get(e);return n||(n=++this._lastColorId,this._color2id.set(e,n),this._id2color[n]=Xi.fromHex(\"#\"+e),n)}getColorMap(){return this._id2color.slice(0)}}class Phe{constructor(e,t){this._colorMap=e,this._root=t,this._cache=new Map}static createFromRawTokenTheme(e,t){return this.createFromParsedTokenTheme(eOe(e),t)}static createFromParsedTokenTheme(e,t){return tOe(e,t)}getColorMap(){return this._colorMap.getColorMap()}_match(e){return this._root.match(e)}match(e,t){let n=this._cache.get(t);if(typeof n==\"undefined\"){const i=this._match(t),s=sOe(t);n=(i.metadata|s<<8)>>>0,this._cache.set(t,n)}return(n|e<<0)>>>0}}const rOe=/\\b(comment|string|regex|regexp)\\b/;function sOe(o){const e=o.match(rOe);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 oOe(o,e){return o<e?-1:o>e?1:0}class NJ{constructor(e,t,n){this._themeTrieElementRuleBrand=void 0,this._fontStyle=e,this._foreground=t,this._background=n,this.metadata=(this._fontStyle<<10|this._foreground<<14|this._background<<23)>>>0}clone(){return new NJ(this._fontStyle,this._foreground,this._background)}acceptOverwrite(e,t,n){e!==-1&&(this._fontStyle=e),t!==0&&(this._foreground=t),n!==0&&(this._background=n),this.metadata=(this._fontStyle<<10|this._foreground<<14|this._background<<23)>>>0}}class IJ{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 n,i;t===-1?(n=e,i=\"\"):(n=e.substring(0,t),i=e.substring(t+1));const s=this._children.get(n);return typeof s!=\"undefined\"?s.match(i):this._mainRule}insert(e,t,n,i){if(e===\"\"){this._mainRule.acceptOverwrite(t,n,i);return}const s=e.indexOf(\".\");let a,l;s===-1?(a=e,l=\"\"):(a=e.substring(0,s),l=e.substring(s+1));let u=this._children.get(a);typeof u==\"undefined\"&&(u=new IJ(this._mainRule.clone()),this._children.set(a,u)),u.insert(l,t,n,i)}}function aOe(o){const e=[];for(let t=1,n=o.length;t<n;t++){const i=o[t];e[t]=`.mtk${t} { color: ${i}; }`}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 lOe={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:{[Rf]:\"#FFFFFE\",[Hv]:\"#000000\",[mG]:\"#E5EBF1\",[JP]:\"#D3D3D3\",[YP]:\"#939393\",[yG]:\"#ADD6FF4D\"}},uOe={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:{[Rf]:\"#1E1E1E\",[Hv]:\"#D4D4D4\",[mG]:\"#3A3D41\",[JP]:\"#404040\",[YP]:\"#707070\",[yG]:\"#ADD6FF26\"}},cOe={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:{[Rf]:\"#000000\",[Hv]:\"#FFFFFF\",[JP]:\"#FFFFFF\",[YP]:\"#FFFFFF\"}};function dOe(o){const e=new ri,t=Dde();return t.onDidChange(()=>e.fire()),o==null||o.onDidProductIconThemeChange(()=>e.fire()),{onDidChange:e.event,getCSS(){const n=o?o.getProductIconTheme():new Ohe,i={},s=l=>{const u=n.getIcon(l);if(!u)return;const d=u.font;return d?(i[d.id]=d.definition,`.codicon-${l.id}:before { content: '${u.fontCharacter}'; font-family: ${wre(d.id)}; }`):`.codicon-${l.id}:before { content: '${u.fontCharacter}'; }`},a=[];for(let l of t.getIcons()){const u=s(l);u&&a.push(u)}for(let l in i){const u=i[l],d=u.weight?`font-weight: ${u.weight};`:\"\",h=u.style?`font-style: ${u.style};`:\"\",p=u.src.map(g=>`${TD(g.location)} format('${g.format}')`).join(\", \");a.push(`@font-face { src: ${p}; font-family: ${wre(l)};${d}${h} font-display: block; }`)}return a.join(`\n`)}}}class Ohe{getIcon(e){const t=Dde();let n=e.defaults;for(;zu.isThemeIcon(n);){const i=t.getIcon(n.id);if(!i)return;n=i.defaults}return n}}const iD=\"vs\",K7=\"vs-dark\",Jx=\"hc-black\",Mhe=wd.as(lce.ColorContribution),hOe=wd.as(Xue.ThemingContribution);class Rhe{constructor(e,t){this.semanticHighlighting=!1,this.themeData=t;const n=t.base;e.length>0?(m8(e)?this.id=e:this.id=n+\" \"+e,this.themeName=e):(this.id=n,this.themeName=n),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(let t in this.themeData.colors)e.set(t,Xi.fromHex(this.themeData.colors[t]));if(this.themeData.inherit){const t=BU(this.themeData.base);for(let n in t.colors)e.has(n)||e.set(n,Xi.fromHex(t.colors[n]))}this.colors=e}return this.colors}getColor(e,t){const n=this.getColors().get(e);if(n)return n;if(t!==!1)return this.getDefault(e)}getDefault(e){let t=this.defaultColors[e];return t||(t=Mhe.resolveDefaultColor(e,this),this.defaultColors[e]=t,t)}defines(e){return Object.prototype.hasOwnProperty.call(this.getColors(),e)}get type(){switch(this.base){case iD:return wm.LIGHT;case Jx:return wm.HIGH_CONTRAST;default:return wm.DARK}}get tokenTheme(){if(!this._tokenTheme){let e=[],t=[];if(this.themeData.inherit){const s=BU(this.themeData.base);e=s.rules,s.encodedTokensColors&&(t=s.encodedTokensColors)}const n=this.themeData.colors[\"editor.foreground\"],i=this.themeData.colors[\"editor.background\"];if(n||i){const s={token:\"\"};n&&(s.foreground=n),i&&(s.background=i),e.push(s)}e=e.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(t=this.themeData.encodedTokensColors),this._tokenTheme=Phe.createFromRawTokenTheme(e,t)}return this._tokenTheme}getTokenStyleMetadata(e,t,n){const s=this.tokenTheme._match([e].concat(t).join(\".\")).metadata,a=yp.getForeground(s),l=yp.getFontStyle(s);return{foreground:a,italic:Boolean(l&1),bold:Boolean(l&2),underline:Boolean(l&4),strikethrough:Boolean(l&8)}}}function m8(o){return o===iD||o===K7||o===Jx}function BU(o){switch(o){case iD:return lOe;case K7:return uOe;case Jx:return cOe}}function lH(o){const e=BU(o);return new Rhe(o,e)}class pOe extends fr{constructor(){super(),this._onColorThemeChange=this._register(new ri),this.onDidColorThemeChange=this._onColorThemeChange.event,this._onProductIconThemeChange=this._register(new ri),this.onDidProductIconThemeChange=this._onProductIconThemeChange.event,this._environment=Object.create(null),this._builtInProductIconTheme=new Ohe,this._autoDetectHighContrast=!0,this._knownThemes=new Map,this._knownThemes.set(iD,lH(iD)),this._knownThemes.set(K7,lH(K7)),this._knownThemes.set(Jx,lH(Jx));const e=dOe(this);this._codiconCSS=e.getCSS(),this._themeCSS=\"\",this._allCSS=`${this._codiconCSS}\n${this._themeCSS}`,this._globalStyleElement=null,this._styleElements=[],this._colorMapOverride=null,this.setTheme(iD),e.onDidChange(()=>{this._codiconCSS=e.getCSS(),this._updateCSS()}),Y3e(\"(forced-colors: active)\",()=>{this._updateActualTheme()})}registerEditorContainer(e){return U3(e)?this._registerShadowDomContainer(e):this._registerRegularEditorContainer()}_registerRegularEditorContainer(){return this._globalStyleElement||(this._globalStyleElement=Pg(),this._globalStyleElement.className=\"monaco-colors\",this._globalStyleElement.textContent=this._allCSS,this._styleElements.push(this._globalStyleElement)),fr.None}_registerShadowDomContainer(e){const t=Pg(e);return t.className=\"monaco-colors\",t.textContent=this._allCSS,this._styleElements.push(t),{dispose:()=>{for(let n=0;n<this._styleElements.length;n++)if(this._styleElements[n]===t){this._styleElements.splice(n,1);return}}}}defineTheme(e,t){if(!/^[a-z0-9\\-]+$/i.test(e))throw new Error(\"Illegal theme name!\");if(!m8(t.base)&&!m8(e))throw new Error(\"Illegal theme base!\");this._knownThemes.set(e,new Rhe(e,t)),m8(e)&&this._knownThemes.forEach(n=>{n.base===e&&n.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(iD),this._desiredTheme=t,this._updateActualTheme()}_updateActualTheme(){const e=this._autoDetectHighContrast&&window.matchMedia(\"(forced-colors: active)\").matches?this._knownThemes.get(Jx):this._desiredTheme;this._theme!==e&&(this._theme=e,this._updateThemeOrColorMap())}setAutoDetectHighContrast(e){this._autoDetectHighContrast=e,this._updateActualTheme()}_updateThemeOrColorMap(){const e=[],t={},n={addRule:a=>{t[a]||(e.push(a),t[a]=!0)}};hOe.getThemingParticipants().forEach(a=>a(this._theme,n,this._environment));const i=[];for(const a of Mhe.getColors()){const l=this._theme.getColor(a.id,!0);l&&i.push(`${ace(a.id)}: ${l.toString()};`)}n.addRule(`.monaco-editor { ${i.join(`\n`)} }`);const s=this._colorMapOverride||this._theme.tokenTheme.getColorMap();n.addRule(aOe(s)),this._themeCSS=e.join(`\n`),this._updateCSS(),Ic.setColorMap(s),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 Z_=zl(\"themeService\");var fOe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},$oe=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let jU=class extends fr{constructor(e,t){super(),this._contextKeyService=e,this._configurationService=t,this._accessibilitySupport=0,this._onDidChangeScreenReaderOptimized=new ri,this._accessibilityModeEnabledContext=i4.bindTo(this._contextKeyService);const n=()=>this._accessibilityModeEnabledContext.set(this.isScreenReaderOptimized());this._register(this._configurationService.onDidChangeConfiguration(i=>{i.affectsConfiguration(\"editor.accessibilitySupport\")&&(n(),this._onDidChangeScreenReaderOptimized.fire())})),n(),this.onDidChangeScreenReaderOptimized(()=>n())}get onDidChangeScreenReaderOptimized(){return this._onDidChangeScreenReaderOptimized.event}isScreenReaderOptimized(){const e=this._configurationService.getValue(\"editor.accessibilitySupport\");return e===\"on\"||e===\"auto\"&&this._accessibilitySupport===2}getAccessibilitySupport(){return this._accessibilitySupport}};jU=fOe([$oe(0,Xa),$oe(1,Uu)],jU);var Bhe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},y8=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let WU=class{constructor(e){this._commandService=e}createMenu(e,t,n){return new VU(e,Object.assign({emitEventsForSubmenuChanges:!1,eventDebounceDelay:50},n),this._commandService,t,this)}};WU=Bhe([y8(0,Dd)],WU);let VU=class hx{constructor(e,t,n,i,s){this._id=e,this._options=t,this._commandService=n,this._contextKeyService=i,this._menuService=s,this._disposables=new fs,this._menuGroups=[],this._contextKeys=new Set,this._build();const a=new Bu(()=>{this._build(),this._onDidChange.fire(this)},t.eventDebounceDelay);this._disposables.add(a),this._disposables.add(q_.onDidChangeMenu(d=>{d.has(e)&&a.schedule()}));const l=this._disposables.add(new fs),u=()=>{const d=new Bu(()=>this._onDidChange.fire(this),t.eventDebounceDelay);l.add(d),l.add(i.onDidChangeContext(h=>{h.affectsSome(this._contextKeys)&&d.schedule()}))};this._onDidChange=new ri({onFirstListenerAdd:u,onLastListenerRemove:l.clear.bind(l)}),this.onDidChange=this._onDidChange.event}dispose(){this._disposables.dispose(),this._onDidChange.dispose()}_build(){this._menuGroups.length=0,this._contextKeys.clear();const e=q_.getMenuItems(this._id);let t;e.sort(hx._compareMenuItems);for(const n of e){const i=n.group||\"\";(!t||t[0]!==i)&&(t=[i,[]],this._menuGroups.push(t)),t[1].push(n),this._collectContextKeys(n)}}_collectContextKeys(e){if(hx._fillInKbExprKeys(e.when,this._contextKeys),Cx(e)){if(e.command.precondition&&hx._fillInKbExprKeys(e.command.precondition,this._contextKeys),e.command.toggled){const t=e.command.toggled.condition||e.command.toggled;hx._fillInKbExprKeys(t,this._contextKeys)}}else this._options.emitEventsForSubmenuChanges&&q_.getMenuItems(e.submenu).forEach(this._collectContextKeys,this)}getActions(e){const t=[];for(let n of this._menuGroups){const[i,s]=n,a=[];for(const l of s)if(this._contextKeyService.contextMatchesRules(l.when)){const u=Cx(l)?new iC(l.command,l.alt,e,this._contextKeyService,this._commandService):new hG(l,this._menuService,this._contextKeyService,e);a.push(u)}a.length>0&&t.push([i,a])}return t}static _fillInKbExprKeys(e,t){if(e)for(let n of e.keys())t.add(n)}static _compareMenuItems(e,t){let n=e.group,i=t.group;if(n!==i){if(n){if(!i)return-1}else return 1;if(n===\"navigation\")return-1;if(i===\"navigation\")return 1;let l=n.localeCompare(i);if(l!==0)return l}let s=e.order||0,a=t.order||0;return s<a?-1:s>a?1:hx._compareTitles(Cx(e)?e.command.title:e.title,Cx(t)?t.command.title:t.title)}static _compareTitles(e,t){const n=typeof e==\"string\"?e:e.original,i=typeof t==\"string\"?t:t.original;return n.localeCompare(i)}};VU=Bhe([y8(2,Dd),y8(3,Xa),y8(4,cw)],VU);var _Oe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},zoe=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},Ik=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};let HU=class extends fr{constructor(e,t){super(),this.layoutService=e,this.logService=t,this.mapTextToType=new Map,this.findText=\"\",(Am||Vq)&&this.installWebKitWriteTextWorkaround()}installWebKitWriteTextWorkaround(){const e=()=>{const t=new Gq;this.webKitPendingClipboardWritePromise&&!this.webKitPendingClipboardWritePromise.isSettled&&this.webKitPendingClipboardWritePromise.cancel(),this.webKitPendingClipboardWritePromise=t,navigator.clipboard.write([new ClipboardItem({\"text/plain\":t.p})]).catch(n=>Ik(this,void 0,void 0,function*(){(!(n instanceof Error)||n.name!==\"NotAllowedError\"||!t.isRejected)&&this.logService.error(n)}))};this.layoutService.hasContainer&&(this._register(hs(this.layoutService.container,\"click\",e)),this._register(hs(this.layoutService.container,\"keydown\",e)))}writeText(e,t){return Ik(this,void 0,void 0,function*(){if(t){this.mapTextToType.set(t,e);return}if(this.webKitPendingClipboardWritePromise)return this.webKitPendingClipboardWritePromise.complete(e);try{return yield navigator.clipboard.writeText(e)}catch(s){console.error(s)}const n=document.activeElement,i=document.body.appendChild(ls(\"textarea\",{\"aria-hidden\":!0}));i.style.height=\"1px\",i.style.width=\"1px\",i.style.position=\"absolute\",i.value=e,i.focus(),i.select(),document.execCommand(\"copy\"),n instanceof HTMLElement&&n.focus(),document.body.removeChild(i)})}readText(e){return Ik(this,void 0,void 0,function*(){if(e)return this.mapTextToType.get(e)||\"\";try{return yield navigator.clipboard.readText()}catch(t){return console.error(t),\"\"}})}readFindText(){return Ik(this,void 0,void 0,function*(){return this.findText})}writeFindText(e){return Ik(this,void 0,void 0,function*(){this.findText=e})}};HU=_Oe([zoe(0,c4),zoe(1,km)],HU);var gOe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},mOe=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};const E3=\"data-keybinding-context\";class FJ{constructor(e,t){this._id=e,this._parent=t,this._value=Object.create(null),this._value._contextId=e}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==\"undefined\"&&this._parent?this._parent.getValue(e):t}}class vE extends FJ{constructor(){super(-1,null)}setValue(e,t){return!1}removeValue(e){return!1}getValue(e){}}vE.INSTANCE=new vE;class wL extends FJ{constructor(e,t,n){super(e,null),this._configurationService=t,this._values=qx.forConfigKeys(),this._listener=this._configurationService.onDidChangeConfiguration(i=>{if(i.source===6){const s=Array.from(Zl.map(this._values,([a])=>a));this._values.clear(),n.fire(new Koe(s))}else{const s=[];for(const a of i.affectedKeys){const l=`config.${a}`,u=this._values.findSuperstr(l);u!==void 0&&(s.push(...Zl.map(u,([d])=>d)),this._values.deleteSuperstr(l)),this._values.has(l)&&(s.push(l),this._values.delete(l))}n.fire(new Koe(s))}})}dispose(){this._listener.dispose()}getValue(e){if(e.indexOf(wL._keyPrefix)!==0)return super.getValue(e);if(this._values.has(e))return this._values.get(e);const t=e.substr(wL._keyPrefix.length),n=this._configurationService.getValue(t);let i;switch(typeof n){case\"number\":case\"boolean\":case\"string\":i=n;break;default:Array.isArray(n)?i=JSON.stringify(n):i=n}return this._values.set(e,i),i}setValue(e,t){return super.setValue(e,t)}removeValue(e){return super.removeValue(e)}}wL._keyPrefix=\"config.\";class yOe{constructor(e,t,n){this._service=e,this._key=t,this._defaultValue=n,this.reset()}set(e){this._service.setContext(this._key,e)}reset(){typeof this._defaultValue==\"undefined\"?this._service.removeContext(this._key):this._service.setContext(this._key,this._defaultValue)}get(){return this._service.getContextKeyValue(this._key)}}class Uoe{constructor(e){this.key=e}affectsSome(e){return e.has(this.key)}}class Koe{constructor(e){this.keys=e}affectsSome(e){for(const t of this.keys)if(e.has(t))return!0;return!1}}class bOe{constructor(e){this.events=e}affectsSome(e){for(const t of this.events)if(t.affectsSome(e))return!0;return!1}}class jhe{constructor(e){this._onDidChangeContext=new M8({merge:t=>new bOe(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 yOe(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 vOe(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 n=this.getContextValuesContainer(this._myContextId);!n||n.setValue(e,t)&&this._onDidChangeContext.fire(new Uoe(e))}removeContext(e){this._isDisposed||this.getContextValuesContainer(this._myContextId).removeValue(e)&&this._onDidChangeContext.fire(new Uoe(e))}getContext(e){return this._isDisposed?vE.INSTANCE:this.getContextValuesContainer(COe(e))}}let $U=class extends jhe{constructor(e){super(0),this._contexts=new Map,this._toDispose=new fs,this._lastContextId=0;const t=new wL(this._myContextId,e,this._onDidChangeContext);this._contexts.set(this._myContextId,t),this._toDispose.add(t)}dispose(){this._onDidChangeContext.dispose(),this._isDisposed=!0,this._toDispose.dispose()}getContextValuesContainer(e){return this._isDisposed?vE.INSTANCE:this._contexts.get(e)||vE.INSTANCE}createChildContext(e=this._myContextId){if(this._isDisposed)throw new Error(\"ContextKeyService has been disposed\");let t=++this._lastContextId;return this._contexts.set(t,new FJ(t,this.getContextValuesContainer(e))),t}disposeContext(e){this._isDisposed||this._contexts.delete(e)}};$U=gOe([mOe(0,Uu)],$U);class vOe extends jhe{constructor(e,t){if(super(e.createChildContext()),this._parentChangeListener=new _f,this._parent=e,this._updateParentChangeListener(),this._domNode=t,this._domNode.hasAttribute(E3)){let n=\"\";this._domNode.classList&&(n=Array.from(this._domNode.classList.values()).join(\", \")),console.error(`Element already has context attribute${n?\": \"+n:\"\"}`)}this._domNode.setAttribute(E3,String(this._myContextId))}_updateParentChangeListener(){this._parentChangeListener.value=this._parent.onDidChangeContext(this._onDidChangeContext.fire,this._onDidChangeContext)}dispose(){this._isDisposed||(this._onDidChangeContext.dispose(),this._parent.disposeContext(this._myContextId),this._parentChangeListener.dispose(),this._domNode.removeAttribute(E3),this._isDisposed=!0)}getContextValuesContainer(e){return this._isDisposed?vE.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 COe(o){for(;o;){if(o.hasAttribute(E3)){const e=o.getAttribute(E3);return e?parseInt(e,10):NaN}o=o.parentElement}return 0}tu.registerCommand(eLe,function(o,e,t){o.get(Xa).createKey(String(e),t)});tu.registerCommand({id:\"getContextKeyInfo\",handler(){return[...Do.all()].sort((o,e)=>o.key.localeCompare(e.key))},description:{description:w(\"getContextKeyInfo\",\"A command that returns information about context keys\"),args:[]}});tu.registerCommand(\"_generateContextKeyInfo\",function(){const o=[],e=new Set;for(let t of Do.all())e.has(t.key)||(e.add(t.key),o.push(t));o.sort((t,n)=>t.key.localeCompare(n.key)),console.log(JSON.stringify(o,void 0,2))});class DOe{constructor(e){this.incoming=new Map,this.outgoing=new Map,this.data=e}}class wOe{constructor(e){this._hashFn=e,this._nodes=new Map}roots(){const e=[];for(let t of this._nodes.values())t.outgoing.size===0&&e.push(t);return e}insertEdge(e,t){const n=this.lookupOrInsertNode(e),i=this.lookupOrInsertNode(t);n.outgoing.set(this._hashFn(t),i),i.incoming.set(this._hashFn(e),n)}removeNode(e){const t=this._hashFn(e);this._nodes.delete(t);for(let n of this._nodes.values())n.outgoing.delete(t),n.incoming.delete(t)}lookupOrInsertNode(e){const t=this._hashFn(e);let n=this._nodes.get(t);return n||(n=new DOe(e),this._nodes.set(t,n)),n}isEmpty(){return this._nodes.size===0}toString(){let e=[];for(let[t,n]of this._nodes)e.push(`${t}, (incoming)[${[...n.incoming.keys()].join(\", \")}], (outgoing)[${[...n.outgoing.keys()].join(\",\")}]`);return e.join(`\n`)}findCycleSlow(){for(let[e,t]of this._nodes){const n=new Set([e]),i=this._findCycle(t,n);if(i)return i}}_findCycle(e,t){for(let[n,i]of e.outgoing){if(t.has(n))return[...t,n].join(\" -> \");t.add(n);const s=this._findCycle(i,t);if(s)return s;t.delete(n)}}}class qoe 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 PJ{constructor(e=new i9,t=!1,n){this._activeInstantiations=new Set,this._services=e,this._strict=t,this._parent=n,this._services.set(Nl,this)}createChild(e){return new PJ(e,this._strict,this)}invokeFunction(e,...t){let n=mm.traceInvocation(e),i=!1;try{return e({get:a=>{if(i)throw xTe(\"service accessor is only valid during the invocation of its target method\");const l=this._getOrCreateServiceInstance(a,n);if(!l)throw new Error(`[invokeFunction] unknown service '${a}'`);return l}},...t)}finally{i=!0,n.stop()}}createInstance(e,...t){let n,i;return e instanceof w1?(n=mm.traceCreation(e.ctor),i=this._createInstance(e.ctor,e.staticArguments.concat(t),n)):(n=mm.traceCreation(e),i=this._createInstance(e,t,n)),n.stop(),i}_createInstance(e,t=[],n){let i=c0.getServiceDependencies(e).sort((l,u)=>l.index-u.index),s=[];for(const l of i){let u=this._getOrCreateServiceInstance(l.id,n);u||this._throwIfStrict(`[createInstance] ${e.name} depends on UNKNOWN service ${l.id}.`,!1),s.push(u)}let a=i.length>0?i[0].index:t.length;if(t.length!==a){console.warn(`[createInstance] First service dependency of ${e.name} at position ${a+1} conflicts with ${t.length} static arguments`);let l=a-t.length;l>0?t=t.concat(new Array(l)):t=t.slice(0,a)}return new e(...t,...s)}_setServiceInstance(e,t){if(this._services.get(e)instanceof w1)this._services.set(e,t);else if(this._parent)this._parent._setServiceInstance(e,t);else throw new Error(\"illegalState - setting UNKNOWN service instance\")}_getServiceInstanceOrDescriptor(e){let t=this._services.get(e);return!t&&this._parent?this._parent._getServiceInstanceOrDescriptor(e):t}_getOrCreateServiceInstance(e,t){let n=this._getServiceInstanceOrDescriptor(e);return n instanceof w1?this._safeCreateAndCacheServiceInstance(e,n,t.branch(e,!0)):(t.branch(e,!1),n)}_safeCreateAndCacheServiceInstance(e,t,n){if(this._activeInstantiations.has(e))throw new Error(`illegal state - RECURSIVELY instantiating service '${e}'`);this._activeInstantiations.add(e);try{return this._createAndCacheServiceInstance(e,t,n)}finally{this._activeInstantiations.delete(e)}}_createAndCacheServiceInstance(e,t,n){const i=new wOe(l=>l.id.toString());let s=0;const a=[{id:e,desc:t,_trace:n}];for(;a.length;){const l=a.pop();if(i.lookupOrInsertNode(l),s++>1e3)throw new qoe(i);for(let u of c0.getServiceDependencies(l.desc.ctor)){let d=this._getServiceInstanceOrDescriptor(u.id);if(d||this._throwIfStrict(`[createInstance] ${e} depends on ${u.id} which is NOT registered.`,!0),d instanceof w1){const h={id:u.id,desc:d,_trace:l._trace.branch(u.id,!0)};i.insertEdge(l,h),a.push(h)}}}for(;;){const l=i.roots();if(l.length===0){if(!i.isEmpty())throw new qoe(i);break}for(const{data:u}of l){if(this._getServiceInstanceOrDescriptor(u.id)instanceof w1){const h=this._createServiceInstanceWithOwner(u.id,u.desc.ctor,u.desc.staticArguments,u.desc.supportsDelayedInstantiation,u._trace);this._setServiceInstance(u.id,h)}i.removeNode(u)}}return this._getServiceInstanceOrDescriptor(e)}_createServiceInstanceWithOwner(e,t,n=[],i,s){if(this._services.get(e)instanceof w1)return this._createServiceInstance(t,n,i,s);if(this._parent)return this._parent._createServiceInstanceWithOwner(e,t,n,i,s);throw new Error(`illegalState - creating UNKNOWN service instance ${t.name}`)}_createServiceInstance(e,t=[],n,i){if(n){const s=new Bv(()=>this._createInstance(e,t,i));return new Proxy(Object.create(null),{get(a,l){if(l in a)return a[l];let u=s.value,d=u[l];return typeof d!=\"function\"||(d=d.bind(u),a[l]=d),d},set(a,l,u){return s.value[l]=u,!0}})}else return this._createInstance(e,t,i)}_throwIfStrict(e,t){if(t&&console.warn(t),this._strict)throw new Error(e)}}class mm{constructor(e,t){this.type=e,this.name=t,this._start=Date.now(),this._dep=[]}static traceInvocation(e){return mm._None}static traceCreation(e){return mm._None}branch(e,t){let n=new mm(2,e.toString());return this._dep.push([e,t,n]),n}stop(){let e=Date.now()-this._start;mm._totals+=e;let t=!1;function n(s,a){let l=[],u=new Array(s+1).join(\"\t\");for(const[d,h,p]of a._dep)if(h&&p){t=!0,l.push(`${u}CREATES -> ${d}`);let g=n(s+1,p);g&&l.push(g)}else l.push(`${u}uses -> ${d}`);return l.join(`\n`)}let i=[`${this.type===0?\"CREATE\":\"CALL\"} ${this.name}`,`${n(1,this)}`,`DONE, took ${e.toFixed(2)}ms (grand total ${mm._totals.toFixed(2)}ms)`];(e>2||t)&&console.log(i.join(`\n`))}}mm._None=new class extends mm{constructor(){super(-1,null)}stop(){}branch(){return this}};mm._totals=0;class SOe{constructor(){this._byResource=new hf,this._byOwner=new Map}set(e,t,n){let i=this._byResource.get(e);i||(i=new Map,this._byResource.set(e,i)),i.set(t,n);let s=this._byOwner.get(t);s||(s=new hf,this._byOwner.set(t,s)),s.set(e,n)}get(e,t){let n=this._byResource.get(e);return n==null?void 0:n.get(t)}delete(e,t){let n=!1,i=!1,s=this._byResource.get(e);s&&(n=s.delete(t));let a=this._byOwner.get(t);if(a&&(i=a.delete(e)),n!==i)throw new Error(\"illegal state\");return n&&i}values(e){var t,n,i,s;return typeof e==\"string\"?(n=(t=this._byOwner.get(e))===null||t===void 0?void 0:t.values())!==null&&n!==void 0?n:Zl.empty():wa.isUri(e)?(s=(i=this._byResource.get(e))===null||i===void 0?void 0:i.values())!==null&&s!==void 0?s:Zl.empty():Zl.map(Zl.concat(...this._byOwner.values()),a=>a[1])}}class xOe{constructor(e){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=new hf,this._service=e,this._subscription=e.onMarkerChanged(this._update,this)}dispose(){this._subscription.dispose()}_update(e){for(const t of e){const n=this._data.get(t);n&&this._substract(n);const i=this._resourceStats(t);this._add(i),this._data.set(t,i)}}_resourceStats(e){const t={errors:0,warnings:0,infos:0,unknowns:0};if(e.scheme===dl.inMemory||e.scheme===dl.walkThrough||e.scheme===dl.walkThroughSnippet)return t;for(const{severity:n}of this._service.read({resource:e}))n===Fc.Error?t.errors+=1:n===Fc.Warning?t.warnings+=1:n===Fc.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 U2{constructor(){this._onMarkerChanged=new ITe({delay:0,merge:U2._merge}),this.onMarkerChanged=this._onMarkerChanged.event,this._data=new SOe,this._stats=new xOe(this)}dispose(){this._stats.dispose(),this._onMarkerChanged.dispose()}remove(e,t){for(const n of t||[])this.changeOne(e,n,[])}changeOne(e,t,n){if(Fle(n))this._data.delete(t,e)&&this._onMarkerChanged.fire([t]);else{const i=[];for(const s of n){const a=U2._toMarker(e,t,s);a&&i.push(a)}this._data.set(t,e,i),this._onMarkerChanged.fire([t])}}static _toMarker(e,t,n){let{code:i,severity:s,message:a,source:l,startLineNumber:u,startColumn:d,endLineNumber:h,endColumn:p,relatedInformation:g,tags:y}=n;if(!!a)return u=u>0?u:1,d=d>0?d:1,h=h>=u?h:u,p=p>0?p:d,{resource:t,owner:e,code:i,severity:s,message:a,source:l,startLineNumber:u,startColumn:d,endLineNumber:h,endColumn:p,relatedInformation:g,tags:y}}read(e=Object.create(null)){let{owner:t,resource:n,severities:i,take:s}=e;if((!s||s<0)&&(s=-1),t&&n){const a=this._data.get(n,t);if(a){const l=[];for(const u of a)if(U2._accept(u,i)){const d=l.push(u);if(s>0&&d===s)break}return l}else return[]}else if(!t&&!n){const a=[];for(let l of this._data.values())for(let u of l)if(U2._accept(u,i)){const d=a.push(u);if(s>0&&d===s)return a}return a}else{const a=this._data.values(n!=null?n:t),l=[];for(const u of a)for(const d of u)if(U2._accept(d,i)){const h=l.push(d);if(s>0&&h===s)return l}return l}}static _accept(e,t){return t===void 0||(t&e.severity)===e.severity}static _merge(e){const t=new hf;for(let n of e)for(let i of n)t.set(i,!0);return Array.from(t.keys())}}var qk=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})},kx;(function(o){o[o.None=0]=\"None\",o[o.Initialized=1]=\"Initialized\",o[o.Closed=2]=\"Closed\"})(kx||(kx={}));class SL extends fr{constructor(e,t=Object.create(null)){super(),this.database=e,this.options=t,this._onDidChangeStorage=this._register(new ri),this.onDidChangeStorage=this._onDidChangeStorage.event,this.state=kx.None,this.cache=new Map,this.flushDelayer=new ake(SL.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,n;(t=e.changed)===null||t===void 0||t.forEach((i,s)=>this.accept(s,i)),(n=e.deleted)===null||n===void 0||n.forEach(i=>this.accept(i,void 0))}accept(e,t){if(this.state===kx.Closed)return;let n=!1;B_(t)?n=this.cache.delete(e):this.cache.get(e)!==t&&(this.cache.set(e,t),n=!0),n&&this._onDidChangeStorage.fire(e)}get(e,t){const n=this.cache.get(e);return B_(n)?t:n}getBoolean(e,t){const n=this.get(e);return B_(n)?t:n===\"true\"}getNumber(e,t){const n=this.get(e);return B_(n)?t:parseInt(n,10)}set(e,t){return qk(this,void 0,void 0,function*(){if(this.state===kx.Closed)return;if(B_(t))return this.delete(e);const n=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(e),this.doFlush()})}delete(e){return qk(this,void 0,void 0,function*(){if(!(this.state===kx.Closed||!this.cache.delete(e)))return this.pendingDeletes.has(e)||this.pendingDeletes.add(e),this.pendingInserts.delete(e),this._onDidChangeStorage.fire(e),this.doFlush()})}get hasPending(){return this.pendingInserts.size>0||this.pendingDeletes.size>0}flushPending(){return qk(this,void 0,void 0,function*(){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()})})}doFlush(e){return qk(this,void 0,void 0,function*(){return this.flushDelayer.trigger(()=>this.flushPending(),e)})}dispose(){this.flushDelayer.dispose(),super.dispose()}}SL.DEFAULT_FLUSH_DELAY=100;class Goe{constructor(){this.onDidChangeItemsExternal=Xo.None,this.items=new Map}updateItems(e){return qk(this,void 0,void 0,function*(){e.insert&&e.insert.forEach((t,n)=>this.items.set(n,t)),e.delete&&e.delete.forEach(t=>this.items.delete(t))})}}const v5=\"__$__targetStorageMarker\",cy=zl(\"storageService\");var q7;(function(o){o[o.NONE=0]=\"NONE\",o[o.SHUTDOWN=1]=\"SHUTDOWN\"})(q7||(q7={}));class D9 extends fr{constructor(e={flushInterval:D9.DEFAULT_FLUSH_INTERVAL}){super(),this.options=e,this._onDidChangeValue=this._register(new M8),this._onDidChangeTarget=this._register(new M8),this._onWillSaveState=this._register(new ri),this.onWillSaveState=this._onWillSaveState.event,this._workspaceKeyTargets=void 0,this._globalKeyTargets=void 0}emitDidChangeValue(e,t){t===v5?(e===0?this._globalKeyTargets=void 0:e===1&&(this._workspaceKeyTargets=void 0),this._onDidChangeTarget.fire({scope:e})):this._onDidChangeValue.fire({scope:e,key:t,target:this.getKeyTargets(e)[t]})}get(e,t,n){var i;return(i=this.getStorage(t))===null||i===void 0?void 0:i.get(e,n)}getBoolean(e,t,n){var i;return(i=this.getStorage(t))===null||i===void 0?void 0:i.getBoolean(e,n)}getNumber(e,t,n){var i;return(i=this.getStorage(t))===null||i===void 0?void 0:i.getNumber(e,n)}store(e,t,n,i){if(B_(t)){this.remove(e,n);return}this.withPausedEmitters(()=>{var s;this.updateKeyTarget(e,n,i),(s=this.getStorage(n))===null||s===void 0||s.set(e,t)})}remove(e,t){this.withPausedEmitters(()=>{var n;this.updateKeyTarget(e,t,void 0),(n=this.getStorage(t))===null||n===void 0||n.delete(e)})}withPausedEmitters(e){this._onDidChangeValue.pause(),this._onDidChangeTarget.pause();try{e()}finally{this._onDidChangeValue.resume(),this._onDidChangeTarget.resume()}}updateKeyTarget(e,t,n){var i,s;const a=this.getKeyTargets(t);typeof n==\"number\"?a[e]!==n&&(a[e]=n,(i=this.getStorage(t))===null||i===void 0||i.set(v5,JSON.stringify(a))):typeof a[e]==\"number\"&&(delete a[e],(s=this.getStorage(t))===null||s===void 0||s.set(v5,JSON.stringify(a)))}get workspaceKeyTargets(){return this._workspaceKeyTargets||(this._workspaceKeyTargets=this.loadKeyTargets(1)),this._workspaceKeyTargets}get globalKeyTargets(){return this._globalKeyTargets||(this._globalKeyTargets=this.loadKeyTargets(0)),this._globalKeyTargets}getKeyTargets(e){return e===0?this.globalKeyTargets:this.workspaceKeyTargets}loadKeyTargets(e){const t=this.get(v5,e);if(t)try{return JSON.parse(t)}catch{}return Object.create(null)}}D9.DEFAULT_FLUSH_INTERVAL=60*1e3;class EOe extends D9{constructor(){super(),this.globalStorage=this._register(new SL(new Goe)),this.workspaceStorage=this._register(new SL(new Goe)),this._register(this.workspaceStorage.onDidChangeStorage(e=>this.emitDidChangeValue(1,e))),this._register(this.globalStorage.onDidChangeStorage(e=>this.emitDidChangeValue(0,e)))}getStorage(e){return e===0?this.globalStorage:this.workspaceStorage}}function Whe(o,e,t,n,i){if(Array.isArray(o)){let s=0;for(const a of o){const l=Whe(a,e,t,n,i);if(l===10)return l;l>s&&(s=l)}return s}else{if(typeof o==\"string\")return n?o===\"*\"?5:o===t?10:0:0;if(o){const{language:s,pattern:a,scheme:l,hasAccessToAllModels:u,notebookType:d}=o;if(!n&&!u)return 0;let h=0;if(l)if(l===e.scheme)h=10;else if(l===\"*\")h=5;else return 0;if(s)if(s===t)h=10;else if(s===\"*\")h=Math.max(h,5);else return 0;if(d)if(d===i)h=10;else if(d===\"*\")h=Math.max(h,5);else return 0;if(a){let p;if(typeof a==\"string\"?p=a:p=Object.assign(Object.assign({},a),{base:kq(a.base)}),p===e.fsPath||r7e(p,e.fsPath))h=10;else return 0}return h}else return 0}}function Vhe(o){return typeof o==\"string\"?!1:Array.isArray(o)?o.every(Vhe):!!o.exclusive}class ld{constructor(e){this._notebookTypeResolver=e,this._clock=0,this._entries=[],this._onDidChange=new ri,this.onDidChange=this._onDidChange.event}register(e,t){let n={selector:e,provider:t,_score:-1,_time:this._clock++};return this._entries.push(n),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),wl(()=>{if(n){const i=this._entries.indexOf(n);i>=0&&(this._entries.splice(i,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),n=void 0)}})}has(e){return this.all(e).length>0}all(e){if(!e)return[];this._updateScores(e);const t=[];for(let n of this._entries)n._score>0&&t.push(n.provider);return t}ordered(e){const t=[];return this._orderedForEach(e,n=>t.push(n.provider)),t}orderedGroups(e){const t=[];let n,i;return this._orderedForEach(e,s=>{n&&i===s._score?n.push(s.provider):(i=s._score,n=[s.provider],t.push(n))}),t}_orderedForEach(e,t){if(!!e){this._updateScores(e);for(const n of this._entries)n._score>0&&t(n)}}_updateScores(e){var t;const n=(t=this._notebookTypeResolver)===null||t===void 0?void 0:t.call(this,e.uri),i={uri:e.uri.toString(),language:e.getLanguageId(),notebookType:n};if(!(this._lastCandidate&&this._lastCandidate.language===i.language&&this._lastCandidate.uri===i.uri&&this._lastCandidate.notebookType===i.notebookType)){this._lastCandidate=i;for(let s of this._entries)if(s._score=Whe(s.selector,e.uri,e.getLanguageId(),FAe(e),n),Vhe(s.selector)&&s._score>0){for(let a of this._entries)a._score=0;s._score=1e3;break}this._entries.sort(ld._compareByScoreAndTime)}}static _compareByScoreAndTime(e,t){return e._score<t._score?1:e._score>t._score?-1:e._time<t._time?1:e._time>t._time?-1:0}}class TOe{constructor(){this.referenceProvider=new ld(this._score.bind(this)),this.renameProvider=new ld(this._score.bind(this)),this.codeActionProvider=new ld(this._score.bind(this)),this.definitionProvider=new ld(this._score.bind(this)),this.typeDefinitionProvider=new ld(this._score.bind(this)),this.declarationProvider=new ld(this._score.bind(this)),this.implementationProvider=new ld(this._score.bind(this)),this.documentSymbolProvider=new ld(this._score.bind(this)),this.inlayHintsProvider=new ld(this._score.bind(this)),this.colorProvider=new ld(this._score.bind(this)),this.codeLensProvider=new ld(this._score.bind(this)),this.documentFormattingEditProvider=new ld(this._score.bind(this)),this.documentRangeFormattingEditProvider=new ld(this._score.bind(this)),this.onTypeFormattingEditProvider=new ld(this._score.bind(this)),this.signatureHelpProvider=new ld(this._score.bind(this)),this.hoverProvider=new ld(this._score.bind(this)),this.documentHighlightProvider=new ld(this._score.bind(this)),this.selectionRangeProvider=new ld(this._score.bind(this)),this.foldingRangeProvider=new ld(this._score.bind(this)),this.linkProvider=new ld(this._score.bind(this)),this.inlineCompletionsProvider=new ld(this._score.bind(this)),this.completionProvider=new ld(this._score.bind(this)),this.linkedEditingRangeProvider=new ld(this._score.bind(this)),this.documentRangeSemanticTokensProvider=new ld(this._score.bind(this)),this.documentSemanticTokensProvider=new ld(this._score.bind(this))}_score(e){var t;return(t=this._notebookTypeResolver)===null||t===void 0?void 0:t.call(this,e)}}su($o,TOe,!0);var wC=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},Mp=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},Hhe=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};class AOe{constructor(e){this.disposed=!1,this.model=e,this._onWillDispose=new ri}get textEditorModel(){return this.model}dispose(){this.disposed=!0,this._onWillDispose.fire()}}let zU=class{constructor(e){this.modelService=e}createModelReference(e){const t=this.modelService.getModel(e);return t?Promise.resolve(new kTe(new AOe(t))):Promise.reject(new Error(\"Model not found\"))}};zU=wC([Mp(0,Oc)],zU);class w9{show(){return w9.NULL_PROGRESS_RUNNER}showWhile(e,t){return Hhe(this,void 0,void 0,function*(){yield e})}}w9.NULL_PROGRESS_RUNNER={done:()=>{},total:()=>{},worked:()=>{}};class kOe{confirm(e){return this.doConfirm(e).then(t=>({confirmed:t,checkboxChecked:!1}))}doConfirm(e){let t=e.message;return e.detail&&(t=t+`\n\n`+e.detail),Promise.resolve(window.confirm(t))}show(e,t,n,i){return Promise.resolve({choice:0})}}class S9{info(e){return this.notify({severity:Nc.Info,message:e})}warn(e){return this.notify({severity:Nc.Warning,message:e})}error(e){return this.notify({severity:Nc.Error,message:e})}notify(e){switch(e.severity){case Nc.Error:console.error(e.message);break;case Nc.Warning:console.warn(e.message);break;default:console.log(e.message);break}return S9.NO_OP}status(e,t){return fr.None}}S9.NO_OP=new C5e;let UU=class{constructor(e){this._onWillExecuteCommand=new ri,this._onDidExecuteCommand=new ri,this.onWillExecuteCommand=this._onWillExecuteCommand.event,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this._instantiationService=e}executeCommand(e,...t){const n=tu.getCommand(e);if(!n)return Promise.reject(new Error(`command '${e}' not found`));try{this._onWillExecuteCommand.fire({commandId:e,args:t});const i=this._instantiationService.invokeFunction.apply(this._instantiationService,[n.handler,...t]);return this._onDidExecuteCommand.fire({commandId:e,args:t}),Promise.resolve(i)}catch(i){return Promise.reject(i)}}};UU=wC([Mp(0,Nl)],UU);let G7=class extends B8e{constructor(e,t,n,i,s,a){super(e,t,n,i,s),this._cachedResolver=null,this._dynamicKeybindings=[],this._domNodeListeners=[];const l=y=>{const D=new fs;D.add(hs(y,ca.KEY_DOWN,T=>{const k=new _c(T);this._dispatch(k,k.target)&&(k.preventDefault(),k.stopPropagation())})),D.add(hs(y,ca.KEY_UP,T=>{const k=new _c(T);this._singleModifierDispatch(k,k.target)&&k.preventDefault()})),this._domNodeListeners.push(new LOe(y,D))},u=y=>{for(let D=0;D<this._domNodeListeners.length;D++){const T=this._domNodeListeners[D];T.domNode===y&&(this._domNodeListeners.splice(D,1),T.dispose())}},d=y=>{y.getOption(54)||l(y.getContainerDomNode())},h=y=>{y.getOption(54)||u(y.getContainerDomNode())};this._register(a.onCodeEditorAdd(d)),this._register(a.onCodeEditorRemove(h)),a.listCodeEditors().forEach(d);const p=y=>{l(y.getContainerDomNode())},g=y=>{u(y.getContainerDomNode())};this._register(a.onDiffEditorAdd(p)),this._register(a.onDiffEditorRemove(g)),a.listDiffEditors().forEach(p)}addDynamicKeybinding(e,t,n,i){const s=hz(t,bg),a=new fs;return s&&(this._dynamicKeybindings.push({keybinding:s.parts,command:e,when:i,weight1:1e3,weight2:0,extensionId:null,isBuiltinExtension:!1}),a.add(wl(()=>{for(let l=0;l<this._dynamicKeybindings.length;l++)if(this._dynamicKeybindings[l].command===e){this._dynamicKeybindings.splice(l,1),this.updateResolver({source:1});return}}))),a.add(tu.registerCommand(e,n)),this.updateResolver({source:1}),a}updateResolver(e){this._cachedResolver=null,this._onDidUpdateKeybindings.fire(e)}_getResolver(){if(!this._cachedResolver){const e=this._toNormalizedKeybindingItems(gf.getDefaultKeybindings(),!0),t=this._toNormalizedKeybindingItems(this._dynamicKeybindings,!1);this._cachedResolver=new D3(e,t,n=>this._log(n))}return this._cachedResolver}_documentHasFocus(){return document.hasFocus()}_toNormalizedKeybindingItems(e,t){const n=[];let i=0;for(const s of e){const a=s.when||void 0,l=s.keybinding;if(!l)n[i++]=new eoe(void 0,s.command,s.commandArgs,a,t,null,!1);else{const u=hL.resolveUserBinding(l,bg);for(const d of u)n[i++]=new eoe(d,s.command,s.commandArgs,a,t,null,!1)}}return n}resolveKeyboardEvent(e){const t=new ED(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,e.keyCode).toChord();return new hL(t,bg)}};G7=wC([Mp(0,Xa),Mp(1,Dd),Mp(2,sy),Mp(3,Sd),Mp(4,km),Mp(5,Eu)],G7);class LOe extends fr{constructor(e,t){super(),this.domNode=e,this._register(t)}}function Joe(o){return o&&typeof o==\"object\"&&(!o.overrideIdentifier||typeof o.overrideIdentifier==\"string\")&&(!o.resource||o.resource instanceof wa)}class $he{constructor(){this._onDidChangeConfiguration=new ri,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._configuration=new s9(new O8e,new yg)}getValue(e,t){const n=typeof e==\"string\"?e:void 0,i=Joe(e)?e:Joe(t)?t:{};return this._configuration.getValue(n,i,void 0)}updateValues(e){const t={data:this._configuration.toData()},n=[];for(const i of e){const[s,a]=i;this.getValue(s)!==a&&(this._configuration.updateValue(s,a),n.push(s))}if(n.length>0){const i=new M8e({keys:n,overrides:[]},t,this._configuration);i.source=7,i.sourceConfig=null,this._onDidChangeConfiguration.fire(i)}return Promise.resolve()}updateValue(e,t,n,i){return this.updateValues([[e,t]])}inspect(e,t={}){return this._configuration.inspect(e,t,void 0)}}let KU=class{constructor(e){this.configurationService=e,this._onDidChangeConfiguration=new ri,this.configurationService.onDidChangeConfiguration(t=>{this._onDidChangeConfiguration.fire({affectedKeys:t.affectedKeys,affectsConfiguration:(n,i)=>t.affectsConfiguration(i)})})}getValue(e,t,n){const s=(Ii.isIPosition(t)?t:null)?typeof n==\"string\"?n:void 0:typeof t==\"string\"?t:void 0;return typeof s==\"undefined\"?this.configurationService.getValue():this.configurationService.getValue(s)}};KU=wC([Mp(0,Uu)],KU);let qU=class{constructor(e){this.configurationService=e}getEOL(e,t){const n=this.configurationService.getValue(\"files.eol\",{overrideIdentifier:t,resource:e});return n&&typeof n==\"string\"&&n!==\"auto\"?n:vp||El?`\n`:`\\r\n`}};qU=wC([Mp(0,Uu)],qU);class NOe{publicLog(e,t){return Promise.resolve(void 0)}publicLog2(e,t){return this.publicLog(e,t)}}class x9{constructor(){const e=wa.from({scheme:x9.SCHEME,authority:\"model\",path:\"/\"});this.workspace={id:\"4064f6ec-cb38-4ad0-af64-ee6467e63c82\",folders:[new z8e({uri:e,name:\"\",index:0})]}}getWorkspace(){return this.workspace}}x9.SCHEME=\"inmemory\";function J7(o,e,t){if(!e||!(o instanceof $he))return;const n=[];Object.keys(e).forEach(i=>{I8e(i)&&n.push([`editor.${i}`,e[i]]),t&&F8e(i)&&n.push([`diffEditor.${i}`,e[i]])}),n.length>0&&o.updateValues(n)}let GU=class{constructor(e){this._modelService=e}hasPreviewHandler(){return!1}apply(e,t){return Hhe(this,void 0,void 0,function*(){const n=new Map;for(let a of e){if(!(a instanceof Mde))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 u=n.get(l);u||(u=[],n.set(l,u)),u.push(Yc.replaceMove(He.lift(a.textEdit.range),a.textEdit.text))}let i=0,s=0;for(const[a,l]of n)a.pushStackElement(),a.pushEditOperations([],l,()=>[]),a.pushStackElement(),s+=1,i+=l.length;return{ariaSummary:wg(eU.bulkEditServiceSummary,i,s)}})}};GU=wC([Mp(0,Oc)],GU);class IOe{getUriLabel(e,t){return e.scheme===\"file\"?e.fsPath:e.path}}let JU=class extends tU{constructor(e,t){super(e),this._codeEditorService=t}showContextView(e,t,n){if(!t){const i=this._codeEditorService.getFocusedCodeEditor()||this._codeEditorService.getActiveCodeEditor();i&&(t=i.getContainerDomNode())}return super.showContextView(e,t,n)}};JU=wC([Mp(0,c4),Mp(1,Eu)],JU);class FOe{constructor(){this._neverEmitter=new ri,this.onDidChangeTrust=this._neverEmitter.event}isWorkspaceTrusted(){return!0}}class POe extends _L{constructor(){super()}}class OOe extends Gke{constructor(){super(new qke)}}let YU=class extends uU{constructor(e,t,n,i,s){super(e,t,n,i,s),this.configure({blockMouse:!1})}};YU=wC([Mp(0,sy),Mp(1,Sd),Mp(2,u4),Mp(3,Xc),Mp(4,gc)],YU);su(Uu,$he);su(Qq,KU);su(Tue,qU);su(Bde,x9);su(h4,IOe);su(sy,NOe);su(d4,kOe);su(Sd,S9);su(Lb,U2);su(Pc,POe);su(Z_,pOe);su(km,OOe);su(Oc,j7);su(lG,_U);su(Xa,$U);su(CC,w9);su(cy,EOe);su(Bg,cz);su(YG,GU);su(jde,FOe);su(Wf,zU);su(m_,jU);su(Vg,kU);su(Dd,UU);su(Xc,G7);su(Nb,RU);su(u4,JU);su(Wg,fU);su(_w,HU);su(vC,YU);su(cw,WU);var Za;(function(o){const e=new i9;for(const[a,l]of Yie())e.set(a,l);const t=new PJ(e,!0);e.set(Nl,t);function n(a){const l=e.get(a);if(!l)throw new Error(\"Missing service \"+a);return l instanceof w1?t.invokeFunction(u=>u.get(a)):l}o.get=n;let i=!1;function s(a){if(i)return t;i=!0;for(const[l,u]of Yie())e.get(l)||e.set(l,u);for(const l in a)if(a.hasOwnProperty(l)){const u=zl(l);e.get(u)instanceof w1&&e.set(u,a[l])}return t}o.initialize=s})(Za||(Za={}));var OJ=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},fc=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let MOe=0,Yoe=!1;function ROe(o){if(!o){if(Yoe)return;Yoe=!0}X3e(o||document.body)}let Y7=class extends uL{constructor(e,t,n,i,s,a,l,u,d,h,p,g){const y=Object.assign({},t);y.ariaLabel=y.ariaLabel||I7.editorViewAccessibleLabel,y.ariaLabel=y.ariaLabel+\";\"+I7.accessibilityHelpMessage,super(e,y,{},n,i,s,a,u,d,h,p,g),l instanceof G7?this._standaloneKeybindingService=l:this._standaloneKeybindingService=null,ROe(y.ariaContainerElement)}addCommand(e,t,n){if(!this._standaloneKeybindingService)return console.warn(\"Cannot add command because the editor is configured with an unrecognized KeybindingService\"),null;const i=\"DYNAMIC_\"+ ++MOe,s=co.deserialize(n);return this._standaloneKeybindingService.addDynamicKeybinding(i,e,t,s),i}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\"),fr.None;const t=e.id,n=e.label,i=co.and(co.equals(\"editorId\",this.getId()),co.deserialize(e.precondition)),s=e.keybindings,a=co.and(i,co.deserialize(e.keybindingContext)),l=e.contextMenuGroupId||null,u=e.contextMenuOrder||0,d=(y,...D)=>Promise.resolve(e.run(this,...D)),h=new fs,p=this.getId()+\":\"+t;if(h.add(tu.registerCommand(p,d)),l){const y={command:{id:p,title:n},when:i,group:l,order:u};h.add(q_.appendMenuItem(Fn.EditorContext,y))}if(Array.isArray(s))for(const y of s)h.add(this._standaloneKeybindingService.addDynamicKeybinding(p,y,d,a));const g=new Yce(p,n,n,i,d,this._contextKeyService);return this._actions[t]=g,h.add(wl(()=>{delete this._actions[t]})),h}_triggerCommand(e,t){if(this._codeEditorService instanceof E7)try{this._codeEditorService.setActiveCodeEditor(this),super._triggerCommand(e,t)}finally{this._codeEditorService.setActiveCodeEditor(null)}else super._triggerCommand(e,t)}};Y7=OJ([fc(2,Nl),fc(3,Eu),fc(4,Dd),fc(5,Xa),fc(6,Xc),fc(7,gc),fc(8,Sd),fc(9,m_),fc(10,Dp),fc(11,$o)],Y7);let XU=class extends Y7{constructor(e,t,n,i,s,a,l,u,d,h,p,g,y,D,T){const k=Object.assign({},t);J7(h,k,!1);const I=u.registerEditorContainer(e);typeof k.theme==\"string\"&&u.setTheme(k.theme),typeof k.autoDetectHighContrast!=\"undefined\"&&u.setAutoDetectHighContrast(Boolean(k.autoDetectHighContrast));const F=k.model;delete k.model,super(e,k,n,i,s,a,l,u,d,p,D,T),this._configurationService=h,this._standaloneThemeService=u,this._register(I);let q;if(typeof F==\"undefined\"){const re=y.getLanguageIdByMimeType(k.language)||k.language||ay;q=zhe(g,y,k.value||\"\",re,void 0),this._ownsModel=!0}else q=F,this._ownsModel=!1;if(this._attachModel(q),q){const re={oldModelUrl:null,newModelUrl:q.uri};this._onDidChangeModel.fire(re)}}dispose(){super.dispose()}updateOptions(e){J7(this._configurationService,e,!1),typeof e.theme==\"string\"&&this._standaloneThemeService.setTheme(e.theme),typeof e.autoDetectHighContrast!=\"undefined\"&&this._standaloneThemeService.setAutoDetectHighContrast(Boolean(e.autoDetectHighContrast)),super.updateOptions(e)}_postDetachModelCleanup(e){super._postDetachModelCleanup(e),e&&this._ownsModel&&(e.dispose(),this._ownsModel=!1)}};XU=OJ([fc(2,Nl),fc(3,Eu),fc(4,Dd),fc(5,Xa),fc(6,Xc),fc(7,Z_),fc(8,Sd),fc(9,Uu),fc(10,m_),fc(11,Oc),fc(12,Pc),fc(13,Dp),fc(14,$o)],XU);let QU=class extends uC{constructor(e,t,n,i,s,a,l,u,d,h,p,g){const y=Object.assign({},t);J7(d,y,!0);const D=l.registerEditorContainer(e);typeof y.theme==\"string\"&&l.setTheme(y.theme),typeof y.autoDetectHighContrast!=\"undefined\"&&l.setAutoDetectHighContrast(Boolean(y.autoDetectHighContrast)),super(e,y,{},g,s,i,n,a,l,u,h,p),this._configurationService=d,this._standaloneThemeService=l,this._register(D)}dispose(){super.dispose()}updateOptions(e){J7(this._configurationService,e,!0),typeof e.theme==\"string\"&&this._standaloneThemeService.setTheme(e.theme),typeof e.autoDetectHighContrast!=\"undefined\"&&this._standaloneThemeService.setAutoDetectHighContrast(Boolean(e.autoDetectHighContrast)),super.updateOptions(e)}_createInnerEditor(e,t,n){return e.createInstance(Y7,t,n)}getOriginalEditor(){return super.getOriginalEditor()}getModifiedEditor(){return super.getModifiedEditor()}addCommand(e,t,n){return this.getModifiedEditor().addCommand(e,t,n)}createContextKey(e,t){return this.getModifiedEditor().createContextKey(e,t)}addAction(e){return this.getModifiedEditor().addAction(e)}};QU=OJ([fc(2,Nl),fc(3,Xa),fc(4,Bg),fc(5,Eu),fc(6,Z_),fc(7,Sd),fc(8,Uu),fc(9,vC),fc(10,CC),fc(11,_w)],QU);function zhe(o,e,t,n,i){if(t=t||\"\",!n){const s=t.indexOf(`\n`);let a=t;return s!==-1&&(a=t.substring(0,s)),Xoe(o,t,e.createByFilepathOrFirstLine(i||null,a),i)}return Xoe(o,t,e.createById(n),i)}function Xoe(o,e,t,n){return o.createModel(e,t,n)}function BOe(o,e,t){return Za.initialize(t||{}).createInstance(XU,o,e)}function jOe(o){return Za.get(Eu).onCodeEditorAdd(t=>{o(t)})}function WOe(o,e,t){return Za.initialize(t||{}).createInstance(QU,o,e)}function VOe(o,e){return new LAe(o,e)}function HOe(o,e,t){const n=Za.get(Pc),i=n.getLanguageIdByMimeType(e)||e;return zhe(Za.get(Oc),n,o,i,t)}function $Oe(o,e){const t=Za.get(Pc);Za.get(Oc).setMode(o,t.createById(e))}function zOe(o,e,t){o&&Za.get(Lb).changeOne(e,o.uri,t)}function UOe(o){return Za.get(Lb).read(o)}function KOe(o){return Za.get(Lb).onMarkerChanged(o)}function qOe(o){return Za.get(Oc).getModel(o)}function GOe(){return Za.get(Oc).getModels()}function JOe(o){return Za.get(Oc).onModelAdded(o)}function YOe(o){return Za.get(Oc).onModelRemoved(o)}function XOe(o){return Za.get(Oc).onModelLanguageChanged(t=>{o({model:t.model,oldLanguage:t.oldLanguageId})})}function QOe(o){return Zke(Za.get(Oc),Za.get(Dp),o)}function ZOe(o,e){const t=Za.get(Pc),n=Za.get(Z_);return n.registerEditorContainer(o),nG.colorizeElement(n,t,o,e)}function eMe(o,e,t){const n=Za.get(Pc);return Za.get(Z_).registerEditorContainer(document.body),nG.colorize(n,o,e,t)}function tMe(o,e,t=4){return Za.get(Z_).registerEditorContainer(document.body),nG.colorizeModelLine(o,e,t)}function nMe(o){const e=Ic.get(o);return e||{getInitialState:()=>iE,tokenize:(t,n,i)=>bue(o,i)}}function iMe(o,e){Ic.getOrCreate(e);const t=nMe(e),n=G1(o),i=[];let s=t.getInitialState();for(let a=0,l=n.length;a<l;a++){const u=n[a],d=t.tokenize(u,!0,s);i[a]=d.tokens,s=d.endState}return i}function rMe(o,e){Za.get(Z_).defineTheme(o,e)}function sMe(o){Za.get(Z_).setTheme(o)}function oMe(){ez.clearAllFontInfos()}function aMe(o,e){return tu.registerCommand({id:o,handler:e})}function lMe(){return{create:BOe,onDidCreateEditor:jOe,createDiffEditor:WOe,createDiffNavigator:VOe,createModel:HOe,setModelLanguage:$Oe,setModelMarkers:zOe,getModelMarkers:UOe,onDidChangeMarkers:KOe,getModels:GOe,getModel:qOe,onDidCreateModel:JOe,onWillDisposeModel:YOe,onDidChangeModelLanguage:XOe,createWebWorker:QOe,colorizeElement:ZOe,colorize:eMe,colorizeModelLine:tMe,tokenize:iMe,defineTheme:rMe,setTheme:sMe,remeasureFonts:oMe,registerCommand:aMe,AccessibilitySupport:f$,ContentWidgetPositionPreference:b$,CursorChangeReason:v$,DefaultEndOfLine:C$,EditorAutoIndentStrategy:w$,EditorOption:S$,EndOfLinePreference:x$,EndOfLineSequence:E$,MinimapPosition:P$,MouseTargetType:O$,OverlayWidgetPositionPreference:M$,OverviewRulerLane:R$,RenderLineNumbersType:j$,RenderMinimap:W$,ScrollbarVisibility:H$,ScrollType:V$,TextEditorCursorBlinkingStyle:q$,TextEditorCursorStyle:G$,TrackedRangeStickiness:J$,WrappingIndent:Y$,InjectedTextCursorStops:A$,PositionAffinity:B$,ConfigurationChangedEvent:Wle,BareFontInfo:sD,FontInfo:Z$,TextModelResolvedOptions:Z5,FindMatch:j3,ApplyUpdateResult:t3,EditorType:ZL,EditorOptions:S0}}function uMe(o,e){if(!e||!Array.isArray(e))return!1;for(const t of e)if(!o(t))return!1;return!0}function C5(o,e){return typeof o==\"boolean\"?o:e}function Qoe(o,e){return typeof o==\"string\"?o:e}function cMe(o){const e={};for(const t of o)e[t]=!0;return e}function Zoe(o,e=!1){e&&(o=o.map(function(n){return n.toLowerCase()}));const t=cMe(o);return e?function(n){return t[n.toLowerCase()]!==void 0&&t.hasOwnProperty(n.toLowerCase())}:function(n){return t[n]!==void 0&&t.hasOwnProperty(n)}}function ZU(o,e){e=e.replace(/@@/g,\"\u0001\");let t=0,n;do n=!1,e=e.replace(/@(\\w+)/g,function(s,a){n=!0;let l=\"\";if(typeof o[a]==\"string\")l=o[a];else if(o[a]&&o[a]instanceof RegExp)l=o[a].source;else throw o[a]===void 0?ic(o,\"language definition does not contain attribute '\"+a+\"', used at: \"+e):ic(o,\"attribute reference '\"+a+\"' must be a string, used at: \"+e);return ux(l)?\"\":\"(?:\"+l+\")\"}),t++;while(n&&t<5);e=e.replace(/\\x01/g,\"@\");const i=(o.ignoreCase?\"i\":\"\")+(o.unicode?\"u\":\"\");return new RegExp(e,i)}function dMe(o,e,t,n){if(n<0)return o;if(n<e.length)return e[n];if(n>=100){n=n-100;const i=t.split(\".\");if(i.unshift(t),n<i.length)return i[n]}return null}function hMe(o,e,t,n){let i=-1,s=t,a=t.match(/^\\$(([sS]?)(\\d\\d?)|#)(.*)$/);a&&(a[3]&&(i=parseInt(a[3]),a[2]&&(i=i+100)),s=a[4]);let l=\"~\",u=s;!s||s.length===0?(l=\"!=\",u=\"\"):/^\\w*$/.test(u)?l=\"==\":(a=s.match(/^(@|!@|~|!~|==|!=)(.*)$/),a&&(l=a[1],u=a[2]));let d;if((l===\"~\"||l===\"!~\")&&/^(\\w|\\|)*$/.test(u)){const h=Zoe(u.split(\"|\"),o.ignoreCase);d=function(p){return l===\"~\"?h(p):!h(p)}}else if(l===\"@\"||l===\"!@\"){const h=o[u];if(!h)throw ic(o,\"the @ match target '\"+u+\"' is not defined, in rule: \"+e);if(!uMe(function(g){return typeof g==\"string\"},h))throw ic(o,\"the @ match target '\"+u+\"' must be an array of strings, in rule: \"+e);const p=Zoe(h,o.ignoreCase);d=function(g){return l===\"@\"?p(g):!p(g)}}else if(l===\"~\"||l===\"!~\")if(u.indexOf(\"$\")<0){const h=ZU(o,\"^\"+u+\"$\");d=function(p){return l===\"~\"?h.test(p):!h.test(p)}}else d=function(h,p,g,y){return ZU(o,\"^\"+Sv(o,u,p,g,y)+\"$\").test(h)};else if(u.indexOf(\"$\")<0){const h=jv(o,u);d=function(p){return l===\"==\"?p===h:p!==h}}else{const h=jv(o,u);d=function(p,g,y,D,T){const k=Sv(o,h,g,y,D);return l===\"==\"?p===k:p!==k}}return i===-1?{name:t,value:n,test:function(h,p,g,y){return d(h,h,p,g,y)}}:{name:t,value:n,test:function(h,p,g,y){const D=dMe(h,p,g,i);return d(D||\"\",h,p,g,y)}}}function eK(o,e,t){if(t){if(typeof t==\"string\")return t;if(t.token||t.token===\"\"){if(typeof t.token!=\"string\")throw ic(o,\"a 'token' attribute must be of type string, in rule: \"+e);{const n={token:t.token};if(t.token.indexOf(\"$\")>=0&&(n.tokenSubst=!0),typeof t.bracket==\"string\")if(t.bracket===\"@open\")n.bracket=1;else if(t.bracket===\"@close\")n.bracket=-1;else throw ic(o,\"a 'bracket' attribute must be either '@open' or '@close', in rule: \"+e);if(t.next){if(typeof t.next!=\"string\")throw ic(o,\"the next state must be a string value in rule: \"+e);{let i=t.next;if(!/^(@pop|@push|@popall)$/.test(i)&&(i[0]===\"@\"&&(i=i.substr(1)),i.indexOf(\"$\")<0&&!y3e(o,Sv(o,i,\"\",[],\"\"))))throw ic(o,\"the next state '\"+t.next+\"' is not defined in rule: \"+e);n.next=i}}return typeof t.goBack==\"number\"&&(n.goBack=t.goBack),typeof t.switchTo==\"string\"&&(n.switchTo=t.switchTo),typeof t.log==\"string\"&&(n.log=t.log),typeof t.nextEmbedded==\"string\"&&(n.nextEmbedded=t.nextEmbedded,o.usesEmbedded=!0),n}}else if(Array.isArray(t)){const n=[];for(let i=0,s=t.length;i<s;i++)n[i]=eK(o,e,t[i]);return{group:n}}else if(t.cases){const n=[];for(let s in t.cases)if(t.cases.hasOwnProperty(s)){const a=eK(o,e,t.cases[s]);s===\"@default\"||s===\"@\"||s===\"\"?n.push({test:void 0,value:a,name:s}):s===\"@eos\"?n.push({test:function(l,u,d,h){return h},value:a,name:s}):n.push(hMe(o,e,s,a))}const i=o.defaultToken;return{test:function(s,a,l,u){for(const d of n)if(!d.test||d.test(s,a,l,u))return d.value;return i}}}else throw ic(o,\"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 pMe{constructor(e){this.regex=new RegExp(\"\"),this.action={token:\"\"},this.matchOnlyAtLineStart=!1,this.name=\"\",this.name=e}setRegex(e,t){let n;if(typeof t==\"string\")n=t;else if(t instanceof RegExp)n=t.source;else throw ic(e,\"rules must start with a match string or regular expression: \"+this.name);this.matchOnlyAtLineStart=n.length>0&&n[0]===\"^\",this.name=this.name+\": \"+n,this.regex=ZU(e,\"^(?:\"+(this.matchOnlyAtLineStart?n.substr(1):n)+\")\")}setAction(e,t){this.action=eK(e,this.name,t)}}function Uhe(o,e){if(!e||typeof e!=\"object\")throw new Error(\"Monarch: expecting a language definition object\");const t={};t.languageId=o,t.includeLF=C5(e.includeLF,!1),t.noThrow=!1,t.maxStack=100,t.start=typeof e.start==\"string\"?e.start:null,t.ignoreCase=C5(e.ignoreCase,!1),t.unicode=C5(e.unicode,!1),t.tokenPostfix=Qoe(e.tokenPostfix,\".\"+t.languageId),t.defaultToken=Qoe(e.defaultToken,\"source\"),t.usesEmbedded=!1;const n=e;n.languageId=o,n.includeLF=t.includeLF,n.ignoreCase=t.ignoreCase,n.unicode=t.unicode,n.noThrow=t.noThrow,n.usesEmbedded=t.usesEmbedded,n.stateNames=e.tokenizer,n.defaultToken=t.defaultToken;function i(a,l,u){for(const d of u){let h=d.include;if(h){if(typeof h!=\"string\")throw ic(t,\"an 'include' attribute must be a string at: \"+a);if(h[0]===\"@\"&&(h=h.substr(1)),!e.tokenizer[h])throw ic(t,\"include target '\"+h+\"' is not defined at: \"+a);i(a+\".\"+h,l,e.tokenizer[h])}else{const p=new pMe(a);if(Array.isArray(d)&&d.length>=1&&d.length<=3)if(p.setRegex(n,d[0]),d.length>=3)if(typeof d[1]==\"string\")p.setAction(n,{token:d[1],next:d[2]});else if(typeof d[1]==\"object\"){const g=d[1];g.next=d[2],p.setAction(n,g)}else throw ic(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: \"+a);else p.setAction(n,d[1]);else{if(!d.regex)throw ic(t,\"a rule must either be an array, or an object with a 'regex' or 'include' field at: \"+a);d.name&&typeof d.name==\"string\"&&(p.name=d.name),d.matchOnlyAtStart&&(p.matchOnlyAtLineStart=C5(d.matchOnlyAtLineStart,!1)),p.setRegex(n,d.regex),p.setAction(n,d.action)}l.push(p)}}}if(!e.tokenizer||typeof e.tokenizer!=\"object\")throw ic(t,\"a language definition must define the 'tokenizer' attribute as an object\");t.tokenizer=[];for(let a in e.tokenizer)if(e.tokenizer.hasOwnProperty(a)){t.start||(t.start=a);const l=e.tokenizer[a];t.tokenizer[a]=new Array,i(\"tokenizer.\"+a,t.tokenizer[a],l)}if(t.usesEmbedded=n.usesEmbedded,e.brackets){if(!Array.isArray(e.brackets))throw ic(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 s=[];for(let a of e.brackets){let l=a;if(l&&Array.isArray(l)&&l.length===3&&(l={token:l[2],open:l[0],close:l[1]}),l.open===l.close)throw ic(t,\"open and close brackets in a 'brackets' attribute must be different: \"+l.open+`\n hint: use the 'bracket' attribute if matching on equal brackets is required.`);if(typeof l.open==\"string\"&&typeof l.token==\"string\"&&typeof l.close==\"string\")s.push({token:l.token+t.tokenPostfix,open:jv(t,l.open),close:jv(t,l.close)});else throw ic(t,\"every element in the 'brackets' array must be a '{open,close,token}' object or array\")}return t.brackets=s,t.noThrow=!0,t}var fMe=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};function _Me(o){pE.registerLanguage(o)}function gMe(){let o=[];return o=o.concat(pE.getLanguages()),o}function mMe(o){return Za.get(Pc).languageIdCodec.encodeLanguageId(o)}function yMe(o,e){const n=Za.get(Pc).onDidEncounterLanguage(i=>{i===o&&(n.dispose(),e())});return n}function bMe(o,e){if(!Za.get(Pc).isRegisteredLanguageId(o))throw new Error(`Cannot set configuration for unknown language ${o}`);return Nd.register(o,e,100)}class vMe{constructor(e,t){this._languageId=e,this._actual=t}getInitialState(){return this._actual.getInitialState()}tokenize(e,t,n){if(typeof this._actual.tokenize==\"function\")return xL.adaptTokenize(this._languageId,this._actual,e,n);throw new Error(\"Not supported!\")}tokenizeEncoded(e,t,n){const i=this._actual.tokenizeEncoded(e,n);return new yP(i.tokens,i.endState)}}class xL{constructor(e,t,n,i){this._languageId=e,this._actual=t,this._languageService=n,this._standaloneThemeService=i}getInitialState(){return this._actual.getInitialState()}static _toClassicTokens(e,t){const n=[];let i=0;for(let s=0,a=e.length;s<a;s++){const l=e[s];let u=l.startIndex;s===0?u=0:u<i&&(u=i),n[s]=new O3(u,l.scopes,t),i=u}return n}static adaptTokenize(e,t,n,i){const s=t.tokenize(n,i),a=xL._toClassicTokens(s.tokens,e);let l;return s.endState.equals(i)?l=i:l=s.endState,new Lq(a,l)}tokenize(e,t,n){return xL.adaptTokenize(this._languageId,this._actual,e,n)}_toBinaryTokens(e,t){const n=e.encodeLanguageId(this._languageId),i=this._standaloneThemeService.getColorTheme().tokenTheme,s=[];let a=0,l=0;for(let d=0,h=t.length;d<h;d++){const p=t[d],g=i.match(n,p.scopes);if(a>0&&s[a-1]===g)continue;let y=p.startIndex;d===0?y=0:y<l&&(y=l),s[a++]=y,s[a++]=g,l=y}const u=new Uint32Array(a);for(let d=0;d<a;d++)u[d]=s[d];return u}tokenizeEncoded(e,t,n){const i=this._actual.tokenize(e,n),s=this._toBinaryTokens(this._languageService.languageIdCodec,i.tokens);let a;return i.endState.equals(n)?a=n:a=i.endState,new yP(s,a)}}function CMe(o){return typeof o.getInitialState==\"function\"}function DMe(o){return\"tokenizeEncoded\"in o}function Khe(o){return o&&typeof o.then==\"function\"}function wMe(o){const e=Za.get(Z_);if(o){const t=[null];for(let n=1,i=o.length;n<i;n++)t[n]=Xi.fromHex(o[n]);e.setColorMapOverride(t)}else e.setColorMapOverride(null)}function qhe(o,e){return DMe(e)?new vMe(o,e):new xL(o,e,Za.get(Pc),Za.get(Z_))}function MJ(o,e){const t={createTokenizationSupport:()=>fMe(this,void 0,void 0,function*(){const n=yield Promise.resolve(e.create());return n?CMe(n)?qhe(o,n):new t4(Za.get(Pc),Za.get(Z_),o,Uhe(o,n)):null})};return Ic.registerFactory(o,t)}function SMe(o,e){if(!Za.get(Pc).isRegisteredLanguageId(o))throw new Error(`Cannot set tokens provider for unknown language ${o}`);return Khe(e)?MJ(o,{create:()=>e}):Ic.register(o,qhe(o,e))}function xMe(o,e){const t=n=>new t4(Za.get(Pc),Za.get(Z_),o,Uhe(o,n));return Khe(e)?MJ(o,{create:()=>e}):Ic.register(o,t(e))}function EMe(o,e){return Za.get($o).referenceProvider.register(o,e)}function TMe(o,e){return Za.get($o).renameProvider.register(o,e)}function AMe(o,e){return Za.get($o).signatureHelpProvider.register(o,e)}function kMe(o,e){return Za.get($o).hoverProvider.register(o,{provideHover:(n,i,s)=>{const a=n.getWordAtPosition(i);return Promise.resolve(e.provideHover(n,i,s)).then(l=>{if(!!l)return!l.range&&a&&(l.range=new He(i.lineNumber,a.startColumn,i.lineNumber,a.endColumn)),l.range||(l.range=new He(i.lineNumber,i.column,i.lineNumber,i.column)),l})}})}function LMe(o,e){return Za.get($o).documentSymbolProvider.register(o,e)}function NMe(o,e){return Za.get($o).documentHighlightProvider.register(o,e)}function IMe(o,e){return Za.get($o).linkedEditingRangeProvider.register(o,e)}function FMe(o,e){return Za.get($o).definitionProvider.register(o,e)}function PMe(o,e){return Za.get($o).implementationProvider.register(o,e)}function OMe(o,e){return Za.get($o).typeDefinitionProvider.register(o,e)}function MMe(o,e){return Za.get($o).codeLensProvider.register(o,e)}function RMe(o,e,t){return Za.get($o).codeActionProvider.register(o,{providedCodeActionKinds:t==null?void 0:t.providedCodeActionKinds,provideCodeActions:(i,s,a,l)=>{const d=Za.get(Lb).read({resource:i.uri}).filter(h=>He.areIntersectingOrTouching(h,s));return e.provideCodeActions(i,s,{markers:d,only:a.only},l)},resolveCodeAction:e.resolveCodeAction})}function BMe(o,e){return Za.get($o).documentFormattingEditProvider.register(o,e)}function jMe(o,e){return Za.get($o).documentRangeFormattingEditProvider.register(o,e)}function WMe(o,e){return Za.get($o).onTypeFormattingEditProvider.register(o,e)}function VMe(o,e){return Za.get($o).linkProvider.register(o,e)}function HMe(o,e){return Za.get($o).completionProvider.register(o,e)}function $Me(o,e){return Za.get($o).colorProvider.register(o,e)}function zMe(o,e){return Za.get($o).foldingRangeProvider.register(o,e)}function UMe(o,e){return Za.get($o).declarationProvider.register(o,e)}function KMe(o,e){return Za.get($o).selectionRangeProvider.register(o,e)}function qMe(o,e){return Za.get($o).documentSemanticTokensProvider.register(o,e)}function GMe(o,e){return Za.get($o).documentRangeSemanticTokensProvider.register(o,e)}function JMe(o,e){return Za.get($o).inlineCompletionsProvider.register(o,e)}function YMe(o,e){return Za.get($o).inlayHintsProvider.register(o,e)}function XMe(){return{register:_Me,getLanguages:gMe,onLanguage:yMe,getEncodedLanguageId:mMe,setLanguageConfiguration:bMe,setColorMap:wMe,registerTokensProviderFactory:MJ,setTokensProvider:SMe,setMonarchTokensProvider:xMe,registerReferenceProvider:EMe,registerRenameProvider:TMe,registerCompletionItemProvider:HMe,registerSignatureHelpProvider:AMe,registerHoverProvider:kMe,registerDocumentSymbolProvider:LMe,registerDocumentHighlightProvider:NMe,registerLinkedEditingRangeProvider:IMe,registerDefinitionProvider:FMe,registerImplementationProvider:PMe,registerTypeDefinitionProvider:OMe,registerCodeLensProvider:MMe,registerCodeActionProvider:RMe,registerDocumentFormattingEditProvider:BMe,registerDocumentRangeFormattingEditProvider:jMe,registerOnTypeFormattingEditProvider:WMe,registerLinkProvider:VMe,registerColorProvider:$Me,registerFoldingRangeProvider:zMe,registerDeclarationProvider:UMe,registerSelectionRangeProvider:KMe,registerDocumentSemanticTokensProvider:qMe,registerDocumentRangeSemanticTokensProvider:GMe,registerInlineCompletionsProvider:JMe,registerInlayHintsProvider:YMe,DocumentHighlightKind:D$,CompletionItemKind:g$,CompletionItemTag:m$,CompletionItemInsertTextRule:_$,SymbolKind:U$,SymbolTag:K$,IndentAction:T$,CompletionTriggerKind:y$,SignatureHelpTriggerKind:z$,InlayHintKind:k$,InlineCompletionTriggerKind:L$,FoldingRangeKind:y0}}const RJ=zl(\"IEditorCancelService\"),Ghe=new Do(\"cancellableOperation\",!1,w(\"cancellableOperation\",\"Whether the editor runs a cancellable operation, e.g. like 'Peek References'\"));su(RJ,class{constructor(){this._tokens=new WeakMap}add(o,e){let t=this._tokens.get(o);t||(t=o.invokeWithinContext(i=>{const s=Ghe.bindTo(i.get(Xa)),a=new $_;return{key:s,tokens:a}}),this._tokens.set(o,t));let n;return t.key.set(!0),n=t.tokens.push(e),()=>{n&&(n(),t.key.set(!t.tokens.isEmpty()),n=void 0)}}cancel(o){const e=this._tokens.get(o);if(!e)return;const t=e.tokens.pop();t&&(t.cancel(),e.key.set(!e.tokens.isEmpty()))}},!0);class QMe extends Xh{constructor(e,t){super(t),this.editor=e,this._unregister=e.invokeWithinContext(n=>n.get(RJ).add(e,this))}dispose(){this._unregister(),super.dispose()}}Ns(new class extends Zh{constructor(){super({id:\"editor.cancelOperation\",kbOpts:{weight:100,primary:9},precondition:Ghe})}runEditorCommand(o,e){o.get(RJ).cancel(e)}});class EL{constructor(e,t){if(this.flags=t,(this.flags&1)!==0){const n=e.getModel();this.modelVersionId=n?wg(\"{0}#{1}\",n.uri.toString(),n.getVersionId()):null}else this.modelVersionId=null;(this.flags&4)!==0?this.position=e.getPosition():this.position=null,(this.flags&2)!==0?this.selection=e.getSelection():this.selection=null,(this.flags&8)!==0?(this.scrollLeft=e.getScrollLeft(),this.scrollTop=e.getScrollTop()):(this.scrollLeft=-1,this.scrollTop=-1)}_equals(e){if(!(e instanceof EL))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 EL(e,this.flags))}}class TL extends QMe{constructor(e,t,n,i){super(e,i),this._listener=new fs,t&4&&this._listener.add(e.onDidChangeCursorPosition(s=>{(!n||!He.containsPosition(n,s.position))&&this.cancel()})),t&2&&this._listener.add(e.onDidChangeCursorSelection(s=>{(!n||!He.containsRange(n,s.selection))&&this.cancel()})),t&8&&this._listener.add(e.onDidScrollChange(s=>this.cancel())),t&1&&(this._listener.add(e.onDidChangeModel(s=>this.cancel())),this._listener.add(e.onDidChangeModelContent(s=>this.cancel())))}dispose(){this._listener.dispose(),super.dispose()}}class BJ extends Xh{constructor(e,t){super(t),this._listener=e.onDidChangeContent(()=>this.cancel())}dispose(){this._listener.dispose(),super.dispose()}}function Eb(o){return o&&typeof o.getEditorType==\"function\"?o.getEditorType()===ZL.ICodeEditor:!1}function Jhe(o){return o&&typeof o.getEditorType==\"function\"?o.getEditorType()===ZL.IDiffEditor:!1}function Yhe(o){return Eb(o)?o:Jhe(o)?o.getModifiedEditor():null}class CE{static _handleEolEdits(e,t){let n,i=[];for(let s of t)typeof s.eol==\"number\"&&(n=s.eol),s.range&&typeof s.text==\"string\"&&i.push(s);return typeof n==\"number\"&&e.hasModel()&&e.getModel().pushEOL(n),i}static _isFullModelReplaceEdit(e,t){if(!e.hasModel())return!1;const n=e.getModel(),i=n.validateRange(t.range);return n.getFullModelRange().equalsRange(i)}static execute(e,t,n){n&&e.pushUndoStop();const i=CE._handleEolEdits(e,t);i.length===1&&CE._isFullModelReplaceEdit(e,i[0])?e.executeEdits(\"formatEditsCommand\",i.map(s=>Yc.replace(He.lift(s.range),s.text))):e.executeEdits(\"formatEditsCommand\",i.map(s=>Yc.replaceMove(He.lift(s.range),s.text))),n&&e.pushUndoStop()}}class uH{constructor(e){this.value=e,this._lower=e.toLowerCase()}static toKey(e){return typeof e==\"string\"?e.toLowerCase():e._lower}}var D0=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};function jJ(o){if(o=o.filter(i=>i.range),!o.length)return;let{range:e}=o[0];for(let i=1;i<o.length;i++)e=He.plusRange(e,o[i].range);const{startLineNumber:t,endLineNumber:n}=e;t===n?o.length===1?Jh(w(\"hint11\",\"Made 1 formatting edit on line {0}\",t)):Jh(w(\"hintn1\",\"Made {0} formatting edits on line {1}\",o.length,t)):o.length===1?Jh(w(\"hint1n\",\"Made 1 formatting edit between lines {0} and {1}\",t,n)):Jh(w(\"hintnn\",\"Made {0} formatting edits between lines {1} and {2}\",o.length,t,n))}function Xhe(o,e,t){const n=[],i=new Set,s=o.ordered(t);for(const l of s)n.push(l),l.extensionId&&i.add(uH.toKey(l.extensionId));const a=e.ordered(t);for(const l of a){if(l.extensionId){if(i.has(uH.toKey(l.extensionId)))continue;i.add(uH.toKey(l.extensionId))}n.push({displayName:l.displayName,extensionId:l.extensionId,provideDocumentFormattingEdits(u,d,h){return l.provideDocumentRangeFormattingEdits(u,u.getFullModelRange(),d,h)}})}return n}class jD{static setFormatterSelector(e){return{dispose:jD._selectors.unshift(e)}}static select(e,t,n){return D0(this,void 0,void 0,function*(){if(e.length===0)return;const i=Zl.first(jD._selectors);if(i)return yield i(e,t,n)})}}jD._selectors=new $_;function Qhe(o,e,t,n,i,s){return D0(this,void 0,void 0,function*(){const a=o.get(Nl),{documentRangeFormattingEditProvider:l}=o.get($o),u=Eb(e)?e.getModel():e,d=l.ordered(u),h=yield jD.select(d,u,n);h&&(i.report(h),yield a.invokeFunction(ZMe,h,e,t,s))})}function ZMe(o,e,t,n,i){return D0(this,void 0,void 0,function*(){const s=o.get(Bg);let a,l;Eb(t)?(a=t.getModel(),l=new TL(t,5,void 0,i)):(a=t,l=new BJ(t,i));let u=[],d=0;for(let D of vq(n).sort(He.compareRangesUsingStarts))d>0&&He.areIntersectingOrTouching(u[d-1],D)?u[d-1]=He.fromPositions(u[d-1].getStartPosition(),D.getEndPosition()):d=u.push(D);const h=D=>D0(this,void 0,void 0,function*(){return(yield e.provideDocumentRangeFormattingEdits(a,D,a.getFormattingOptions(),l.token))||[]}),p=(D,T)=>{if(!D.length||!T.length)return!1;const k=D.reduce((I,F)=>He.plusRange(I,F.range),D[0].range);if(!T.some(I=>He.intersectRanges(k,I.range)))return!1;for(let I of D)for(let F of T)if(He.intersectRanges(I.range,F.range))return!0;return!1},g=[],y=[];try{for(let D of u){if(l.token.isCancellationRequested)return!0;y.push(yield h(D))}for(let D=0;D<u.length;++D)for(let T=D+1;T<u.length;++T){if(l.token.isCancellationRequested)return!0;if(p(y[D],y[T])){const k=He.plusRange(u[D],u[T]),I=yield h(k);u.splice(T,1),u.splice(D,1),u.push(k),y.splice(T,1),y.splice(D,1),y.push(I),D=0,T=0}}for(let D of y){if(l.token.isCancellationRequested)return!0;const T=yield s.computeMoreMinimalEdits(a.uri,D);T&&g.push(...T)}}finally{l.dispose()}if(g.length===0)return!1;if(Eb(t))CE.execute(t,g,!0),jJ(g),t.revealPositionInCenterIfOutsideViewport(t.getPosition(),1);else{const[{range:D}]=g,T=new oo(D.startLineNumber,D.startColumn,D.endLineNumber,D.endColumn);a.pushEditOperations([T],g.map(k=>({text:k.text,range:He.lift(k.range),forceMoveMarkers:!0})),k=>{for(const{range:I}of k)if(He.areIntersectingOrTouching(I,T))return[new oo(I.startLineNumber,I.startColumn,I.endLineNumber,I.endColumn)];return null})}return!0})}function eRe(o,e,t,n,i){return D0(this,void 0,void 0,function*(){const s=o.get(Nl),a=o.get($o),l=Eb(e)?e.getModel():e,u=Xhe(a.documentFormattingEditProvider,a.documentRangeFormattingEditProvider,l),d=yield jD.select(u,l,t);d&&(n.report(d),yield s.invokeFunction(tRe,d,e,t,i))})}function tRe(o,e,t,n,i){return D0(this,void 0,void 0,function*(){const s=o.get(Bg);let a,l;Eb(t)?(a=t.getModel(),l=new TL(t,5,void 0,i)):(a=t,l=new BJ(t,i));let u;try{const d=yield e.provideDocumentFormattingEdits(a,a.getFormattingOptions(),l.token);if(u=yield s.computeMoreMinimalEdits(a.uri,d),l.token.isCancellationRequested)return!0}finally{l.dispose()}if(!u||u.length===0)return!1;if(Eb(t))CE.execute(t,u,n!==2),n!==2&&(jJ(u),t.revealPositionInCenterIfOutsideViewport(t.getPosition(),1));else{const[{range:d}]=u,h=new oo(d.startLineNumber,d.startColumn,d.endLineNumber,d.endColumn);a.pushEditOperations([h],u.map(p=>({text:p.text,range:He.lift(p.range),forceMoveMarkers:!0})),p=>{for(const{range:g}of p)if(He.areIntersectingOrTouching(g,h))return[new oo(g.startLineNumber,g.startColumn,g.endLineNumber,g.endColumn)];return null})}return!0})}function nRe(o,e,t,n,i,s){return D0(this,void 0,void 0,function*(){const a=e.documentRangeFormattingEditProvider.ordered(t);for(const l of a){let u=yield Promise.resolve(l.provideDocumentRangeFormattingEdits(t,n,i,s)).catch(bh);if(d_(u))return yield o.computeMoreMinimalEdits(t.uri,u)}})}function iRe(o,e,t,n,i){return D0(this,void 0,void 0,function*(){const s=Xhe(e.documentFormattingEditProvider,e.documentRangeFormattingEditProvider,t);for(const a of s){let l=yield Promise.resolve(a.provideDocumentFormattingEdits(t,n,i)).catch(bh);if(d_(l))return yield o.computeMoreMinimalEdits(t.uri,l)}})}function Zhe(o,e,t,n,i,s,a){const l=e.onTypeFormattingEditProvider.ordered(t);return l.length===0||l[0].autoFormatTriggerCharacters.indexOf(i)<0?Promise.resolve(void 0):Promise.resolve(l[0].provideOnTypeFormattingEdits(t,n,i,s,a)).catch(bh).then(u=>o.computeMoreMinimalEdits(t.uri,u))}tu.registerCommand(\"_executeFormatRangeProvider\",function(o,...e){return D0(this,void 0,void 0,function*(){const[t,n,i]=e;$u(wa.isUri(t)),$u(He.isIRange(n));const s=o.get(Wf),a=o.get(Bg),l=o.get($o),u=yield s.createModelReference(t);try{return nRe(a,l,u.object.textEditorModel,He.lift(n),i,Ll.None)}finally{u.dispose()}})});tu.registerCommand(\"_executeFormatDocumentProvider\",function(o,...e){return D0(this,void 0,void 0,function*(){const[t,n]=e;$u(wa.isUri(t));const i=o.get(Wf),s=o.get(Bg),a=o.get($o),l=yield i.createModelReference(t);try{return iRe(s,a,l.object.textEditorModel,n,Ll.None)}finally{l.dispose()}})});tu.registerCommand(\"_executeFormatOnTypeProvider\",function(o,...e){return D0(this,void 0,void 0,function*(){const[t,n,i,s]=e;$u(wa.isUri(t)),$u(Ii.isIPosition(n)),$u(typeof i==\"string\");const a=o.get(Wf),l=o.get(Bg),u=o.get($o),d=yield a.createModelReference(t);try{return Zhe(l,u,d.object.textEditorModel,Ii.lift(n),i,s,Ll.None)}finally{d.dispose()}})});var cH;S0.wrappingIndent.defaultValue=0;S0.glyphMargin.defaultValue=!1;S0.autoIndent.defaultValue=3;S0.overviewRulerLanes.defaultValue=2;jD.setFormatterSelector((o,e,t)=>Promise.resolve(o[0]));const mf=Xle();mf.editor=lMe();mf.languages=XMe();const rRe=mf.CancellationTokenSource,sRe=mf.Emitter,Pp=mf.KeyCode,pp=mf.KeyMod,oRe=mf.Position,epe=mf.Range,tpe=mf.Selection,aRe=mf.SelectionDirection,lRe=mf.MarkerSeverity,uRe=mf.MarkerTag,cRe=mf.Uri,dRe=mf.Token,vm=mf.editor,cf=mf.languages;(((cH=cd.MonacoEnvironment)===null||cH===void 0?void 0:cH.globalAPI)||typeof define==\"function\"&&define.amd)&&(self.monaco=mf);typeof self.require!=\"undefined\"&&typeof self.require.config==\"function\"&&self.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\"]});var m4=Object.freeze(Object.defineProperty({__proto__:null,CancellationTokenSource:rRe,Emitter:sRe,KeyCode:Pp,KeyMod:pp,Position:oRe,Range:epe,Selection:tpe,SelectionDirection:aRe,MarkerSeverity:lRe,MarkerTag:uRe,Uri:cRe,Token:dRe,editor:vm,languages:cf},Symbol.toStringTag,{value:\"Module\"}));/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var hRe=Object.defineProperty,pRe=Object.getOwnPropertyDescriptor,fRe=Object.getOwnPropertyNames,_Re=Object.prototype.hasOwnProperty,gRe=(o,e,t,n)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let i of fRe(e))!_Re.call(o,i)&&(t||i!==\"default\")&&hRe(o,i,{get:()=>e[i],enumerable:!(n=pRe(e,i))||n.enumerable});return o},Gk={};gRe(Gk,m4);var npe={},dH={},ipe=class{constructor(o){cl(this,\"_languageId\");cl(this,\"_loadingTriggered\");cl(this,\"_lazyLoadPromise\");cl(this,\"_lazyLoadPromiseResolve\");cl(this,\"_lazyLoadPromiseReject\");this._languageId=o,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((e,t)=>{this._lazyLoadPromiseResolve=e,this._lazyLoadPromiseReject=t})}static getOrCreate(o){return dH[o]||(dH[o]=new ipe(o)),dH[o]}load(){return this._loadingTriggered||(this._loadingTriggered=!0,npe[this._languageId].loader().then(o=>this._lazyLoadPromiseResolve(o),o=>this._lazyLoadPromiseReject(o))),this._lazyLoadPromise}};function ea(o){const e=o.id;npe[e]=o,Gk.languages.register(o);const t=ipe.getOrCreate(e);Gk.languages.registerTokensProviderFactory(e,{create:async()=>(await t.load()).language}),Gk.languages.onLanguage(e,async()=>{const n=await t.load();Gk.languages.setLanguageConfiguration(e,n.conf)})}ea({id:\"abap\",extensions:[\".abap\"],aliases:[\"abap\",\"ABAP\"],loader:()=>Go(()=>import(\"./abap.d6ef40ee.js\"),[])});ea({id:\"apex\",extensions:[\".cls\"],aliases:[\"Apex\",\"apex\"],mimetypes:[\"text/x-apex-source\",\"text/x-apex\"],loader:()=>Go(()=>import(\"./apex.7f8de8aa.js\"),[])});ea({id:\"azcli\",extensions:[\".azcli\"],aliases:[\"Azure CLI\",\"azcli\"],loader:()=>Go(()=>import(\"./azcli.0519e511.js\"),[])});ea({id:\"bat\",extensions:[\".bat\",\".cmd\"],aliases:[\"Batch\",\"bat\"],loader:()=>Go(()=>import(\"./bat.f2d79e9d.js\"),[])});ea({id:\"bicep\",extensions:[\".bicep\"],aliases:[\"Bicep\"],loader:()=>Go(()=>import(\"./bicep.e8099262.js\"),[])});ea({id:\"cameligo\",extensions:[\".mligo\"],aliases:[\"Cameligo\"],loader:()=>Go(()=>import(\"./cameligo.180434f7.js\"),[])});ea({id:\"clojure\",extensions:[\".clj\",\".cljs\",\".cljc\",\".edn\"],aliases:[\"clojure\",\"Clojure\"],loader:()=>Go(()=>import(\"./clojure.c88913fe.js\"),[])});ea({id:\"coffeescript\",extensions:[\".coffee\"],aliases:[\"CoffeeScript\",\"coffeescript\",\"coffee\"],mimetypes:[\"text/x-coffeescript\",\"text/coffeescript\"],loader:()=>Go(()=>import(\"./coffee.8a1694f5.js\"),[])});ea({id:\"c\",extensions:[\".c\",\".h\"],aliases:[\"C\",\"c\"],loader:()=>Go(()=>import(\"./cpp.c409f790.js\"),[])});ea({id:\"cpp\",extensions:[\".cpp\",\".cc\",\".cxx\",\".hpp\",\".hh\",\".hxx\"],aliases:[\"C++\",\"Cpp\",\"cpp\"],loader:()=>Go(()=>import(\"./cpp.c409f790.js\"),[])});ea({id:\"csharp\",extensions:[\".cs\",\".csx\",\".cake\"],aliases:[\"C#\",\"csharp\"],loader:()=>Go(()=>import(\"./csharp.41a26d75.js\"),[])});ea({id:\"csp\",extensions:[],aliases:[\"CSP\",\"csp\"],loader:()=>Go(()=>import(\"./csp.a35fa773.js\"),[])});ea({id:\"css\",extensions:[\".css\"],aliases:[\"CSS\",\"css\"],mimetypes:[\"text/css\"],loader:()=>Go(()=>import(\"./css.c24c8988.js\"),[])});ea({id:\"dart\",extensions:[\".dart\"],aliases:[\"Dart\",\"dart\"],mimetypes:[\"text/x-dart-source\",\"text/x-dart\"],loader:()=>Go(()=>import(\"./dart.320b7cd1.js\"),[])});ea({id:\"dockerfile\",extensions:[\".dockerfile\"],filenames:[\"Dockerfile\"],aliases:[\"Dockerfile\"],loader:()=>Go(()=>import(\"./dockerfile.a340fefe.js\"),[])});ea({id:\"ecl\",extensions:[\".ecl\"],aliases:[\"ECL\",\"Ecl\",\"ecl\"],loader:()=>Go(()=>import(\"./ecl.311d1611.js\"),[])});ea({id:\"elixir\",extensions:[\".ex\",\".exs\"],aliases:[\"Elixir\",\"elixir\",\"ex\"],loader:()=>Go(()=>import(\"./elixir.f66025dc.js\"),[])});ea({id:\"flow9\",extensions:[\".flow\"],aliases:[\"Flow9\",\"Flow\",\"flow9\",\"flow\"],loader:()=>Go(()=>import(\"./flow9.2c0e9b6f.js\"),[])});ea({id:\"fsharp\",extensions:[\".fs\",\".fsi\",\".ml\",\".mli\",\".fsx\",\".fsscript\"],aliases:[\"F#\",\"FSharp\",\"fsharp\"],loader:()=>Go(()=>import(\"./fsharp.da385d01.js\"),[])});ea({id:\"freemarker2\",extensions:[\".ftl\",\".ftlh\",\".ftlx\"],aliases:[\"FreeMarker2\",\"Apache FreeMarker2\"],loader:()=>Go(()=>import(\"./freemarker2.355133f8.js\"),[\"assets/freemarker2.355133f8.js\",\"assets/index.becaf6b8.js\",\"assets/index.e0fa4e9b.css\"]).then(o=>o.TagAutoInterpolationDollar)});ea({id:\"freemarker2.tag-angle.interpolation-dollar\",aliases:[\"FreeMarker2 (Angle/Dollar)\",\"Apache FreeMarker2 (Angle/Dollar)\"],loader:()=>Go(()=>import(\"./freemarker2.355133f8.js\"),[\"assets/freemarker2.355133f8.js\",\"assets/index.becaf6b8.js\",\"assets/index.e0fa4e9b.css\"]).then(o=>o.TagAngleInterpolationDollar)});ea({id:\"freemarker2.tag-bracket.interpolation-dollar\",aliases:[\"FreeMarker2 (Bracket/Dollar)\",\"Apache FreeMarker2 (Bracket/Dollar)\"],loader:()=>Go(()=>import(\"./freemarker2.355133f8.js\"),[\"assets/freemarker2.355133f8.js\",\"assets/index.becaf6b8.js\",\"assets/index.e0fa4e9b.css\"]).then(o=>o.TagBracketInterpolationDollar)});ea({id:\"freemarker2.tag-angle.interpolation-bracket\",aliases:[\"FreeMarker2 (Angle/Bracket)\",\"Apache FreeMarker2 (Angle/Bracket)\"],loader:()=>Go(()=>import(\"./freemarker2.355133f8.js\"),[\"assets/freemarker2.355133f8.js\",\"assets/index.becaf6b8.js\",\"assets/index.e0fa4e9b.css\"]).then(o=>o.TagAngleInterpolationBracket)});ea({id:\"freemarker2.tag-bracket.interpolation-bracket\",aliases:[\"FreeMarker2 (Bracket/Bracket)\",\"Apache FreeMarker2 (Bracket/Bracket)\"],loader:()=>Go(()=>import(\"./freemarker2.355133f8.js\"),[\"assets/freemarker2.355133f8.js\",\"assets/index.becaf6b8.js\",\"assets/index.e0fa4e9b.css\"]).then(o=>o.TagBracketInterpolationBracket)});ea({id:\"freemarker2.tag-auto.interpolation-dollar\",aliases:[\"FreeMarker2 (Auto/Dollar)\",\"Apache FreeMarker2 (Auto/Dollar)\"],loader:()=>Go(()=>import(\"./freemarker2.355133f8.js\"),[\"assets/freemarker2.355133f8.js\",\"assets/index.becaf6b8.js\",\"assets/index.e0fa4e9b.css\"]).then(o=>o.TagAutoInterpolationDollar)});ea({id:\"freemarker2.tag-auto.interpolation-bracket\",aliases:[\"FreeMarker2 (Auto/Bracket)\",\"Apache FreeMarker2 (Auto/Bracket)\"],loader:()=>Go(()=>import(\"./freemarker2.355133f8.js\"),[\"assets/freemarker2.355133f8.js\",\"assets/index.becaf6b8.js\",\"assets/index.e0fa4e9b.css\"]).then(o=>o.TagAutoInterpolationBracket)});ea({id:\"go\",extensions:[\".go\"],aliases:[\"Go\"],loader:()=>Go(()=>import(\"./go.b5c8acf0.js\"),[])});ea({id:\"graphql\",extensions:[\".graphql\",\".gql\"],aliases:[\"GraphQL\",\"graphql\",\"gql\"],mimetypes:[\"application/graphql\"],loader:()=>Go(()=>import(\"./graphql.031cd53e.js\"),[])});ea({id:\"handlebars\",extensions:[\".handlebars\",\".hbs\"],aliases:[\"Handlebars\",\"handlebars\",\"hbs\"],mimetypes:[\"text/x-handlebars-template\"],loader:()=>Go(()=>import(\"./handlebars.0696c272.js\"),[\"assets/handlebars.0696c272.js\",\"assets/index.becaf6b8.js\",\"assets/index.e0fa4e9b.css\"])});ea({id:\"hcl\",extensions:[\".tf\",\".tfvars\",\".hcl\"],aliases:[\"Terraform\",\"tf\",\"HCL\",\"hcl\"],loader:()=>Go(()=>import(\"./hcl.2a98b883.js\"),[])});ea({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:()=>Go(()=>import(\"./html.1d2c5b54.js\"),[\"assets/html.1d2c5b54.js\",\"assets/index.becaf6b8.js\",\"assets/index.e0fa4e9b.css\"])});ea({id:\"ini\",extensions:[\".ini\",\".properties\",\".gitconfig\"],filenames:[\"config\",\".gitattributes\",\".gitconfig\",\".editorconfig\"],aliases:[\"Ini\",\"ini\"],loader:()=>Go(()=>import(\"./ini.b415f46c.js\"),[])});ea({id:\"java\",extensions:[\".java\",\".jav\"],aliases:[\"Java\",\"java\"],mimetypes:[\"text/x-java-source\",\"text/x-java\"],loader:()=>Go(()=>import(\"./java.f01bc6f9.js\"),[])});ea({id:\"javascript\",extensions:[\".js\",\".es6\",\".jsx\",\".mjs\",\".cjs\"],firstLine:\"^#!.*\\\\bnode\",filenames:[\"jakefile\"],aliases:[\"JavaScript\",\"javascript\",\"js\"],mimetypes:[\"text/javascript\"],loader:()=>Go(()=>import(\"./javascript.b56ed86b.js\"),[\"assets/javascript.b56ed86b.js\",\"assets/typescript.0e1e0a69.js\",\"assets/index.becaf6b8.js\",\"assets/index.e0fa4e9b.css\"])});ea({id:\"julia\",extensions:[\".jl\"],aliases:[\"julia\",\"Julia\"],loader:()=>Go(()=>import(\"./julia.033b1357.js\"),[])});ea({id:\"kotlin\",extensions:[\".kt\"],aliases:[\"Kotlin\",\"kotlin\"],mimetypes:[\"text/x-kotlin-source\",\"text/x-kotlin\"],loader:()=>Go(()=>import(\"./kotlin.f702729c.js\"),[])});ea({id:\"less\",extensions:[\".less\"],aliases:[\"Less\",\"less\"],mimetypes:[\"text/x-less\",\"text/less\"],loader:()=>Go(()=>import(\"./less.ca69536d.js\"),[])});ea({id:\"lexon\",extensions:[\".lex\"],aliases:[\"Lexon\"],loader:()=>Go(()=>import(\"./lexon.98577e19.js\"),[])});ea({id:\"lua\",extensions:[\".lua\"],aliases:[\"Lua\",\"lua\"],loader:()=>Go(()=>import(\"./lua.fdd96ef3.js\"),[])});ea({id:\"liquid\",extensions:[\".liquid\",\".html.liquid\"],aliases:[\"Liquid\",\"liquid\"],mimetypes:[\"application/liquid\"],loader:()=>Go(()=>import(\"./liquid.c793915f.js\"),[\"assets/liquid.c793915f.js\",\"assets/index.becaf6b8.js\",\"assets/index.e0fa4e9b.css\"])});ea({id:\"m3\",extensions:[\".m3\",\".i3\",\".mg\",\".ig\"],aliases:[\"Modula-3\",\"Modula3\",\"modula3\",\"m3\"],loader:()=>Go(()=>import(\"./m3.696565eb.js\"),[])});ea({id:\"markdown\",extensions:[\".md\",\".markdown\",\".mdown\",\".mkdn\",\".mkd\",\".mdwn\",\".mdtxt\",\".mdtext\"],aliases:[\"Markdown\",\"markdown\"],loader:()=>Go(()=>import(\"./markdown.c830577a.js\"),[])});ea({id:\"mips\",extensions:[\".s\"],aliases:[\"MIPS\",\"MIPS-V\"],mimetypes:[\"text/x-mips\",\"text/mips\",\"text/plaintext\"],loader:()=>Go(()=>import(\"./mips.5568383b.js\"),[])});ea({id:\"msdax\",extensions:[\".dax\",\".msdax\"],aliases:[\"DAX\",\"MSDAX\"],loader:()=>Go(()=>import(\"./msdax.07a600d0.js\"),[])});ea({id:\"mysql\",extensions:[],aliases:[\"MySQL\",\"mysql\"],loader:()=>Go(()=>import(\"./mysql.7908aeda.js\"),[])});ea({id:\"objective-c\",extensions:[\".m\"],aliases:[\"Objective-C\"],loader:()=>Go(()=>import(\"./objective-c.09d904b0.js\"),[])});ea({id:\"pascal\",extensions:[\".pas\",\".p\",\".pp\"],aliases:[\"Pascal\",\"pas\"],mimetypes:[\"text/x-pascal-source\",\"text/x-pascal\"],loader:()=>Go(()=>import(\"./pascal.50da1bc1.js\"),[])});ea({id:\"pascaligo\",extensions:[\".ligo\"],aliases:[\"Pascaligo\",\"ligo\"],loader:()=>Go(()=>import(\"./pascaligo.244049b6.js\"),[])});ea({id:\"perl\",extensions:[\".pl\"],aliases:[\"Perl\",\"pl\"],loader:()=>Go(()=>import(\"./perl.649d12f9.js\"),[])});ea({id:\"pgsql\",extensions:[],aliases:[\"PostgreSQL\",\"postgres\",\"pg\",\"postgre\"],loader:()=>Go(()=>import(\"./pgsql.5f6e4267.js\"),[])});ea({id:\"php\",extensions:[\".php\",\".php4\",\".php5\",\".phtml\",\".ctp\"],aliases:[\"PHP\",\"php\"],mimetypes:[\"application/x-php\"],loader:()=>Go(()=>import(\"./php.052c065c.js\"),[])});ea({id:\"pla\",extensions:[\".pla\"],loader:()=>Go(()=>import(\"./pla.bb236946.js\"),[])});ea({id:\"postiats\",extensions:[\".dats\",\".sats\",\".hats\"],aliases:[\"ATS\",\"ATS/Postiats\"],loader:()=>Go(()=>import(\"./postiats.14dcf648.js\"),[])});ea({id:\"powerquery\",extensions:[\".pq\",\".pqm\"],aliases:[\"PQ\",\"M\",\"Power Query\",\"Power Query M\"],loader:()=>Go(()=>import(\"./powerquery.9eb89934.js\"),[])});ea({id:\"powershell\",extensions:[\".ps1\",\".psm1\",\".psd1\"],aliases:[\"PowerShell\",\"powershell\",\"ps\",\"ps1\"],loader:()=>Go(()=>import(\"./powershell.8fd167fe.js\"),[])});ea({id:\"proto\",extensions:[\".proto\"],aliases:[\"protobuf\",\"Protocol Buffers\"],loader:()=>Go(()=>import(\"./protobuf.fc81f9f6.js\"),[])});ea({id:\"pug\",extensions:[\".jade\",\".pug\"],aliases:[\"Pug\",\"Jade\",\"jade\"],loader:()=>Go(()=>import(\"./pug.16a0c97a.js\"),[])});ea({id:\"python\",extensions:[\".py\",\".rpy\",\".pyw\",\".cpy\",\".gyp\",\".gypi\"],aliases:[\"Python\",\"py\"],firstLine:\"^#!/.*\\\\bpython[0-9.-]*\\\\b\",loader:()=>Go(()=>import(\"./python.b2175380.js\"),[\"assets/python.b2175380.js\",\"assets/index.becaf6b8.js\",\"assets/index.e0fa4e9b.css\"])});ea({id:\"qsharp\",extensions:[\".qs\"],aliases:[\"Q#\",\"qsharp\"],loader:()=>Go(()=>import(\"./qsharp.657dcf33.js\"),[])});ea({id:\"r\",extensions:[\".r\",\".rhistory\",\".rmd\",\".rprofile\",\".rt\"],aliases:[\"R\",\"r\"],loader:()=>Go(()=>import(\"./r.2f32f10f.js\"),[])});ea({id:\"razor\",extensions:[\".cshtml\"],aliases:[\"Razor\",\"razor\"],mimetypes:[\"text/x-cshtml\"],loader:()=>Go(()=>import(\"./razor.ef01513e.js\"),[\"assets/razor.ef01513e.js\",\"assets/index.becaf6b8.js\",\"assets/index.e0fa4e9b.css\"])});ea({id:\"redis\",extensions:[\".redis\"],aliases:[\"redis\"],loader:()=>Go(()=>import(\"./redis.9808fa4a.js\"),[])});ea({id:\"redshift\",extensions:[],aliases:[\"Redshift\",\"redshift\"],loader:()=>Go(()=>import(\"./redshift.d34bf7aa.js\"),[])});ea({id:\"restructuredtext\",extensions:[\".rst\"],aliases:[\"reStructuredText\",\"restructuredtext\"],loader:()=>Go(()=>import(\"./restructuredtext.f3690597.js\"),[])});ea({id:\"ruby\",extensions:[\".rb\",\".rbx\",\".rjs\",\".gemspec\",\".pp\"],filenames:[\"rakefile\",\"Gemfile\"],aliases:[\"Ruby\",\"rb\"],loader:()=>Go(()=>import(\"./ruby.94797058.js\"),[])});ea({id:\"rust\",extensions:[\".rs\",\".rlib\"],aliases:[\"Rust\",\"rust\"],loader:()=>Go(()=>import(\"./rust.8826d0a9.js\"),[])});ea({id:\"sb\",extensions:[\".sb\"],aliases:[\"Small Basic\",\"sb\"],loader:()=>Go(()=>import(\"./sb.4bb8b85c.js\"),[])});ea({id:\"scala\",extensions:[\".scala\",\".sc\",\".sbt\"],aliases:[\"Scala\",\"scala\",\"SBT\",\"Sbt\",\"sbt\",\"Dotty\",\"dotty\"],mimetypes:[\"text/x-scala-source\",\"text/x-scala\",\"text/x-sbt\",\"text/x-dotty\"],loader:()=>Go(()=>import(\"./scala.87a6558f.js\"),[])});ea({id:\"scheme\",extensions:[\".scm\",\".ss\",\".sch\",\".rkt\"],aliases:[\"scheme\",\"Scheme\"],loader:()=>Go(()=>import(\"./scheme.0544bd16.js\"),[])});ea({id:\"scss\",extensions:[\".scss\"],aliases:[\"Sass\",\"sass\",\"scss\"],mimetypes:[\"text/x-scss\",\"text/scss\"],loader:()=>Go(()=>import(\"./scss.646efa7b.js\"),[])});ea({id:\"shell\",extensions:[\".sh\",\".bash\"],aliases:[\"Shell\",\"sh\"],loader:()=>Go(()=>import(\"./shell.bafd6f5f.js\"),[])});ea({id:\"sol\",extensions:[\".sol\"],aliases:[\"sol\",\"solidity\",\"Solidity\"],loader:()=>Go(()=>import(\"./solidity.79ca2cec.js\"),[])});ea({id:\"aes\",extensions:[\".aes\"],aliases:[\"aes\",\"sophia\",\"Sophia\"],loader:()=>Go(()=>import(\"./sophia.0a583064.js\"),[])});ea({id:\"sparql\",extensions:[\".rq\"],aliases:[\"sparql\",\"SPARQL\"],loader:()=>Go(()=>import(\"./sparql.7c6df35b.js\"),[])});ea({id:\"sql\",extensions:[\".sql\"],aliases:[\"SQL\"],loader:()=>Go(()=>import(\"./sql.377e3088.js\"),[])});ea({id:\"st\",extensions:[\".st\",\".iecst\",\".iecplc\",\".lc3lib\"],aliases:[\"StructuredText\",\"scl\",\"stl\"],loader:()=>Go(()=>import(\"./st.4b380b23.js\"),[])});ea({id:\"swift\",aliases:[\"Swift\",\"swift\"],extensions:[\".swift\"],mimetypes:[\"text/swift\"],loader:()=>Go(()=>import(\"./swift.e0a9351c.js\"),[])});ea({id:\"systemverilog\",extensions:[\".sv\",\".svh\"],aliases:[\"SV\",\"sv\",\"SystemVerilog\",\"systemverilog\"],loader:()=>Go(()=>import(\"./systemverilog.4c73c512.js\"),[])});ea({id:\"verilog\",extensions:[\".v\",\".vh\"],aliases:[\"V\",\"v\",\"Verilog\",\"verilog\"],loader:()=>Go(()=>import(\"./systemverilog.4c73c512.js\"),[])});ea({id:\"tcl\",extensions:[\".tcl\"],aliases:[\"tcl\",\"Tcl\",\"tcltk\",\"TclTk\",\"tcl/tk\",\"Tcl/Tk\"],loader:()=>Go(()=>import(\"./tcl.dbdb133c.js\"),[])});ea({id:\"twig\",extensions:[\".twig\"],aliases:[\"Twig\",\"twig\"],mimetypes:[\"text/x-twig\"],loader:()=>Go(()=>import(\"./twig.79989254.js\"),[])});ea({id:\"typescript\",extensions:[\".ts\",\".tsx\"],aliases:[\"TypeScript\",\"ts\",\"typescript\"],mimetypes:[\"text/typescript\"],loader:()=>Go(()=>import(\"./typescript.0e1e0a69.js\"),[\"assets/typescript.0e1e0a69.js\",\"assets/index.becaf6b8.js\",\"assets/index.e0fa4e9b.css\"])});ea({id:\"vb\",extensions:[\".vb\"],aliases:[\"Visual Basic\",\"vb\"],loader:()=>Go(()=>import(\"./vb.cce9947c.js\"),[])});ea({id:\"xml\",extensions:[\".xml\",\".dtd\",\".ascx\",\".csproj\",\".config\",\".wxi\",\".wxl\",\".wxs\",\".xaml\",\".svg\",\".svgz\",\".opf\",\".xsl\"],firstLine:\"(\\\\<\\\\?xml.*)|(\\\\<svg)|(\\\\<\\\\!doctype\\\\s+svg)\",aliases:[\"XML\",\"xml\"],mimetypes:[\"text/xml\",\"application/xml\",\"application/xaml+xml\",\"application/xml-dtd\"],loader:()=>Go(()=>import(\"./xml.7fe3cde4.js\"),[\"assets/xml.7fe3cde4.js\",\"assets/index.becaf6b8.js\",\"assets/index.e0fa4e9b.css\"])});ea({id:\"yaml\",extensions:[\".yaml\",\".yml\"],aliases:[\"YAML\",\"yaml\",\"YML\",\"yml\"],mimetypes:[\"application/x-yaml\",\"text/x-yaml\"],loader:()=>Go(()=>import(\"./yaml.e0b57566.js\"),[])});/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var mRe=Object.defineProperty,yRe=Object.getOwnPropertyDescriptor,bRe=Object.getOwnPropertyNames,vRe=Object.prototype.hasOwnProperty,CRe=(o,e,t,n)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let i of bRe(e))!vRe.call(o,i)&&(t||i!==\"default\")&&mRe(o,i,{get:()=>e[i],enumerable:!(n=yRe(e,i))||n.enumerable});return o},JE={};CRe(JE,m4);var WJ=class{constructor(o,e,t){cl(this,\"_onDidChange\",new JE.Emitter);cl(this,\"_options\");cl(this,\"_modeConfiguration\");cl(this,\"_languageId\");this._languageId=o,this.setOptions(e),this.setModeConfiguration(t)}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(o){this._options=o||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(o){this.setOptions(o)}setModeConfiguration(o){this._modeConfiguration=o||Object.create(null),this._onDidChange.fire(this)}},VJ={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}},HJ={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},rpe=new WJ(\"css\",VJ,HJ),spe=new WJ(\"scss\",VJ,HJ),ope=new WJ(\"less\",VJ,HJ);JE.languages.css={cssDefaults:rpe,lessDefaults:ope,scssDefaults:spe};function $J(){return Go(()=>import(\"./cssMode.51a330cf.js\"),[\"assets/cssMode.51a330cf.js\",\"assets/index.becaf6b8.js\",\"assets/index.e0fa4e9b.css\"])}JE.languages.onLanguage(\"less\",()=>{$J().then(o=>o.setupMode(ope))});JE.languages.onLanguage(\"scss\",()=>{$J().then(o=>o.setupMode(spe))});JE.languages.onLanguage(\"css\",()=>{$J().then(o=>o.setupMode(rpe))});/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var DRe=Object.defineProperty,wRe=Object.getOwnPropertyDescriptor,SRe=Object.getOwnPropertyNames,xRe=Object.prototype.hasOwnProperty,ERe=(o,e,t,n)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let i of SRe(e))!xRe.call(o,i)&&(t||i!==\"default\")&&DRe(o,i,{get:()=>e[i],enumerable:!(n=wRe(e,i))||n.enumerable});return o},E9={};ERe(E9,m4);var TRe=class{constructor(o,e,t){cl(this,\"_onDidChange\",new E9.Emitter);cl(this,\"_options\");cl(this,\"_modeConfiguration\");cl(this,\"_languageId\");this._languageId=o,this.setOptions(e),this.setModeConfiguration(t)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(o){this._options=o||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(o){this._modeConfiguration=o||Object.create(null),this._onDidChange.fire(this)}},ARe={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\"},T9={format:ARe,suggest:{},data:{useDefaultDataProvider:!0}};function A9(o){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:o===T3,documentFormattingEdits:o===T3,documentRangeFormattingEdits:o===T3}}var T3=\"html\",eae=\"handlebars\",tae=\"razor\",ape=k9(T3,T9,A9(T3)),kRe=ape.defaults,lpe=k9(eae,T9,A9(eae)),LRe=lpe.defaults,upe=k9(tae,T9,A9(tae)),NRe=upe.defaults;E9.languages.html={htmlDefaults:kRe,razorDefaults:NRe,handlebarDefaults:LRe,htmlLanguageService:ape,handlebarLanguageService:lpe,razorLanguageService:upe,registerHTMLLanguageService:k9};function IRe(){return Go(()=>import(\"./htmlMode.48899aa2.js\"),[\"assets/htmlMode.48899aa2.js\",\"assets/index.becaf6b8.js\",\"assets/index.e0fa4e9b.css\"])}function k9(o,e=T9,t=A9(o)){const n=new TRe(o,e,t);let i;const s=E9.languages.onLanguage(o,async()=>{i=(await IRe()).setupMode(n)});return{defaults:n,dispose(){s.dispose(),i==null||i.dispose(),i=void 0}}}/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var FRe=Object.defineProperty,PRe=Object.getOwnPropertyDescriptor,ORe=Object.getOwnPropertyNames,MRe=Object.prototype.hasOwnProperty,RRe=(o,e,t,n)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let i of ORe(e))!MRe.call(o,i)&&(t||i!==\"default\")&&FRe(o,i,{get:()=>e[i],enumerable:!(n=PRe(e,i))||n.enumerable});return o},y4={};RRe(y4,m4);var BRe=class{constructor(o,e,t){cl(this,\"_onDidChange\",new y4.Emitter);cl(this,\"_diagnosticsOptions\");cl(this,\"_modeConfiguration\");cl(this,\"_languageId\");this._languageId=o,this.setDiagnosticsOptions(e),this.setModeConfiguration(t)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(o){this._diagnosticsOptions=o||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(o){this._modeConfiguration=o||Object.create(null),this._onDidChange.fire(this)}},jRe={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:\"warning\",schemaValidation:\"warning\",comments:\"error\",trailingCommas:\"error\"},WRe={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},cpe=new BRe(\"json\",jRe,WRe);y4.languages.json={jsonDefaults:cpe};function VRe(){return Go(()=>import(\"./jsonMode.a02fce60.js\"),[\"assets/jsonMode.a02fce60.js\",\"assets/index.becaf6b8.js\",\"assets/index.e0fa4e9b.css\"])}y4.languages.register({id:\"json\",extensions:[\".json\",\".bowerrc\",\".jshintrc\",\".jscsrc\",\".eslintrc\",\".babelrc\",\".har\"],aliases:[\"JSON\",\"json\"],mimetypes:[\"application/json\"]});y4.languages.onLanguage(\"json\",()=>{VRe().then(o=>o.setupMode(cpe))});/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var HRe=Object.defineProperty,$Re=Object.getOwnPropertyDescriptor,zRe=Object.getOwnPropertyNames,URe=Object.prototype.hasOwnProperty,KRe=(o,e,t,n)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let i of zRe(e))!URe.call(o,i)&&(t||i!==\"default\")&&HRe(o,i,{get:()=>e[i],enumerable:!(n=$Re(e,i))||n.enumerable});return o},qRe=\"4.5.5\",DE={};KRe(DE,m4);var dpe=(o=>(o[o.None=0]=\"None\",o[o.CommonJS=1]=\"CommonJS\",o[o.AMD=2]=\"AMD\",o[o.UMD=3]=\"UMD\",o[o.System=4]=\"System\",o[o.ES2015=5]=\"ES2015\",o[o.ESNext=99]=\"ESNext\",o))(dpe||{}),hpe=(o=>(o[o.None=0]=\"None\",o[o.Preserve=1]=\"Preserve\",o[o.React=2]=\"React\",o[o.ReactNative=3]=\"ReactNative\",o[o.ReactJSX=4]=\"ReactJSX\",o[o.ReactJSXDev=5]=\"ReactJSXDev\",o))(hpe||{}),ppe=(o=>(o[o.CarriageReturnLineFeed=0]=\"CarriageReturnLineFeed\",o[o.LineFeed=1]=\"LineFeed\",o))(ppe||{}),fpe=(o=>(o[o.ES3=0]=\"ES3\",o[o.ES5=1]=\"ES5\",o[o.ES2015=2]=\"ES2015\",o[o.ES2016=3]=\"ES2016\",o[o.ES2017=4]=\"ES2017\",o[o.ES2018=5]=\"ES2018\",o[o.ES2019=6]=\"ES2019\",o[o.ES2020=7]=\"ES2020\",o[o.ESNext=99]=\"ESNext\",o[o.JSON=100]=\"JSON\",o[o.Latest=99]=\"Latest\",o))(fpe||{}),_pe=(o=>(o[o.Classic=1]=\"Classic\",o[o.NodeJs=2]=\"NodeJs\",o))(_pe||{}),gpe=class{constructor(o,e,t,n){cl(this,\"_onDidChange\",new DE.Emitter);cl(this,\"_onDidExtraLibsChange\",new DE.Emitter);cl(this,\"_extraLibs\");cl(this,\"_removedExtraLibs\");cl(this,\"_eagerModelSync\");cl(this,\"_compilerOptions\");cl(this,\"_diagnosticsOptions\");cl(this,\"_workerOptions\");cl(this,\"_onDidExtraLibsChangeTimeout\");cl(this,\"_inlayHintsOptions\");this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(o),this.setDiagnosticsOptions(e),this.setWorkerOptions(t),this.setInlayHintsOptions(n),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(o,e){let t;if(typeof e==\"undefined\"?t=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t=e,this._extraLibs[t]&&this._extraLibs[t].content===o)return{dispose:()=>{}};let n=1;return this._removedExtraLibs[t]&&(n=this._removedExtraLibs[t]+1),this._extraLibs[t]&&(n=this._extraLibs[t].version+1),this._extraLibs[t]={content:o,version:n},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let i=this._extraLibs[t];!i||i.version===n&&(delete this._extraLibs[t],this._removedExtraLibs[t]=n,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(o){for(const e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),o&&o.length>0)for(const e of o){const t=e.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,n=e.content;let i=1;this._removedExtraLibs[t]&&(i=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:n,version:i}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(o){this._compilerOptions=o||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(o){this._diagnosticsOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(o){this._workerOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(o){this._inlayHintsOptions=o||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(o){}setEagerModelSync(o){this._eagerModelSync=o}getEagerModelSync(){return this._eagerModelSync}},GRe=qRe,mpe=new gpe({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{}),ype=new gpe({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{}),JRe=()=>L9().then(o=>o.getTypeScriptWorker()),YRe=()=>L9().then(o=>o.getJavaScriptWorker());DE.languages.typescript={ModuleKind:dpe,JsxEmit:hpe,NewLineKind:ppe,ScriptTarget:fpe,ModuleResolutionKind:_pe,typescriptVersion:GRe,typescriptDefaults:mpe,javascriptDefaults:ype,getTypeScriptWorker:JRe,getJavaScriptWorker:YRe};function L9(){return Go(()=>import(\"./tsMode.6b562640.js\"),[\"assets/tsMode.6b562640.js\",\"assets/index.becaf6b8.js\",\"assets/index.e0fa4e9b.css\"])}DE.languages.onLanguage(\"typescript\",()=>L9().then(o=>o.setupTypeScript(mpe)));DE.languages.onLanguage(\"javascript\",()=>L9().then(o=>o.setupJavaScript(ype)));var XRe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},QRe=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},N9=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};const I9=new Do(\"selectionAnchorSet\",!1);let Tb=class bpe{constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=I9.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}static get(e){return e.getContribution(bpe.ID)}setSelectionAnchor(){if(this.editor.hasModel()){const e=this.editor.getPosition(),t=this.decorationId?[this.decorationId]:[],n=this.editor.deltaDecorations(t,[{range:oo.fromPositions(e,e),options:{description:\"selection-anchor\",stickiness:1,hoverMessage:new H_().appendText(w(\"selectionAnchor\",\"Selection Anchor\")),className:\"selection-anchor\"}}]);this.decorationId=n[0],this.selectionAnchorSetContextKey.set(!!this.decorationId),Jh(w(\"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(oo.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){this.decorationId&&(this.editor.deltaDecorations([this.decorationId],[]),this.decorationId=void 0,this.selectionAnchorSetContextKey.set(!1))}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};Tb.ID=\"editor.contrib.selectionAnchorController\";Tb=XRe([QRe(1,Xa)],Tb);class ZRe extends xo{constructor(){super({id:\"editor.action.setSelectionAnchor\",label:w(\"setSelectionAnchor\",\"Set Selection Anchor\"),alias:\"Set Selection Anchor\",precondition:void 0,kbOpts:{kbExpr:on.editorTextFocus,primary:vh(2089,2080),weight:100}})}run(e,t){var n;return N9(this,void 0,void 0,function*(){(n=Tb.get(t))===null||n===void 0||n.setSelectionAnchor()})}}class eBe extends xo{constructor(){super({id:\"editor.action.goToSelectionAnchor\",label:w(\"goToSelectionAnchor\",\"Go to Selection Anchor\"),alias:\"Go to Selection Anchor\",precondition:I9})}run(e,t){var n;return N9(this,void 0,void 0,function*(){(n=Tb.get(t))===null||n===void 0||n.goToSelectionAnchor()})}}class tBe extends xo{constructor(){super({id:\"editor.action.selectFromAnchorToCursor\",label:w(\"selectFromAnchorToCursor\",\"Select from Anchor to Cursor\"),alias:\"Select from Anchor to Cursor\",precondition:I9,kbOpts:{kbExpr:on.editorTextFocus,primary:vh(2089,2089),weight:100}})}run(e,t){var n;return N9(this,void 0,void 0,function*(){(n=Tb.get(t))===null||n===void 0||n.selectFromAnchorToCursor()})}}class nBe extends xo{constructor(){super({id:\"editor.action.cancelSelectionAnchor\",label:w(\"cancelSelectionAnchor\",\"Cancel Selection Anchor\"),alias:\"Cancel Selection Anchor\",precondition:I9,kbOpts:{kbExpr:on.editorTextFocus,primary:9,weight:100}})}run(e,t){var n;return N9(this,void 0,void 0,function*(){(n=Tb.get(t))===null||n===void 0||n.cancelSelectionAnchor()})}}vu(Tb.ID,Tb);Fs(ZRe);Fs(eBe);Fs(tBe);Fs(nBe);const iBe=ln(\"editorOverviewRuler.bracketMatchForeground\",{dark:\"#A0A0A0\",light:\"#A0A0A0\",hc:\"#A0A0A0\"},w(\"overviewRulerBracketMatchForeground\",\"Overview ruler marker color for matching brackets.\"));class rBe extends xo{constructor(){super({id:\"editor.action.jumpToBracket\",label:w(\"smartSelect.jumpBracket\",\"Go to Bracket\"),alias:\"Go to Bracket\",precondition:void 0,kbOpts:{kbExpr:on.editorTextFocus,primary:3160,weight:100}})}run(e,t){var n;(n=g0.get(t))===null||n===void 0||n.jumpToBracket()}}class sBe extends xo{constructor(){super({id:\"editor.action.selectToBracket\",label:w(\"smartSelect.selectToBracket\",\"Select to Bracket\"),alias:\"Select to Bracket\",precondition:void 0,description:{description:\"Select to Bracket\",args:[{name:\"args\",schema:{type:\"object\",properties:{selectBrackets:{type:\"boolean\",default:!0}}}}]}})}run(e,t,n){var i;let s=!0;n&&n.selectBrackets===!1&&(s=!1),(i=g0.get(t))===null||i===void 0||i.selectToBracket(s)}}class oBe{constructor(e,t,n){this.position=e,this.brackets=t,this.options=n}}class g0 extends fr{constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=[],this._updateBracketsSoon=this._register(new Bu(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(64),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._decorations=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(t=>{t.hasChanged(64)&&(this._matchBrackets=this._editor.getOption(64),this._decorations=this._editor.deltaDecorations(this._decorations,[]),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(e.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}static get(e){return e.getContribution(g0.ID)}jumpToBracket(){if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getSelections().map(n=>{const i=n.getStartPosition(),s=e.bracketPairs.matchBracket(i);let a=null;if(s)s[0].containsPosition(i)?a=s[1].getStartPosition():s[1].containsPosition(i)&&(a=s[0].getStartPosition());else{const l=e.bracketPairs.findEnclosingBrackets(i);if(l)a=l[0].getStartPosition();else{const u=e.bracketPairs.findNextBracket(i);u&&u.range&&(a=u.range.getStartPosition())}}return a?new oo(a.lineNumber,a.column,a.lineNumber,a.column):new oo(i.lineNumber,i.column,i.lineNumber,i.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),n=[];this._editor.getSelections().forEach(i=>{const s=i.getStartPosition();let a=t.bracketPairs.matchBracket(s);if(!a&&(a=t.bracketPairs.findEnclosingBrackets(s),!a)){const d=t.bracketPairs.findNextBracket(s);d&&d.range&&(a=t.bracketPairs.matchBracket(d.range.getStartPosition()))}let l=null,u=null;if(a){a.sort(He.compareRangesUsingStarts);const[d,h]=a;if(l=e?d.getStartPosition():d.getEndPosition(),u=e?h.getEndPosition():h.getStartPosition(),h.containsPosition(s)){const p=l;l=u,u=p}}l&&u&&n.push(new oo(l.lineNumber,l.column,u.lineNumber,u.column))}),n.length>0&&(this._editor.setSelections(n),this._editor.revealRange(n[0]))}_updateBrackets(){if(this._matchBrackets===\"never\")return;this._recomputeBrackets();let e=[],t=0;for(const n of this._lastBracketsData){let i=n.brackets;i&&(e[t++]={range:i[0],options:n.options},e[t++]={range:i[1],options:n.options})}this._decorations=this._editor.deltaDecorations(this._decorations,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(),n=t.getVersionId();let i=[];this._lastVersionId===n&&(i=this._lastBracketsData);let s=[],a=0;for(let p=0,g=e.length;p<g;p++){let y=e[p];y.isEmpty()&&(s[a++]=y.getStartPosition())}s.length>1&&s.sort(Ii.compare);let l=[],u=0,d=0,h=i.length;for(let p=0,g=s.length;p<g;p++){let y=s[p];for(;d<h&&i[d].position.isBefore(y);)d++;if(d<h&&i[d].position.equals(y))l[u++]=i[d];else{let D=t.bracketPairs.matchBracket(y,20),T=g0._DECORATION_OPTIONS_WITH_OVERVIEW_RULER;!D&&this._matchBrackets===\"always\"&&(D=t.bracketPairs.findEnclosingBrackets(y,20),T=g0._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER),l[u++]=new oBe(y,D,T)}}this._lastBracketsData=l,this._lastVersionId=n}}g0.ID=\"editor.contrib.bracketMatchingController\";g0._DECORATION_OPTIONS_WITH_OVERVIEW_RULER=_l.register({description:\"bracket-match-overview\",stickiness:1,className:\"bracket-match\",overviewRuler:{color:Jc(iBe),position:Ig.Center}});g0._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER=_l.register({description:\"bracket-match-no-overview\",stickiness:1,className:\"bracket-match\"});vu(g0.ID,g0);Fs(sBe);Fs(rBe);ac((o,e)=>{const t=o.getColor(NNe);t&&e.addRule(`.monaco-editor .bracket-match { background-color: ${t}; }`);const n=o.getColor(Fce);n&&e.addRule(`.monaco-editor .bracket-match { border: 1px solid ${n}; }`)});q_.appendMenuItem(Fn.MenubarGoMenu,{group:\"5_infile_nav\",command:{id:\"editor.action.jumpToBracket\",title:w({key:\"miGoToBracket\",comment:[\"&& denotes a mnemonic\"]},\"Go to &&Bracket\")},order:2});class aBe{constructor(e,t){this._selection=e,this._isMovingLeft=t}getEditOperations(e,t){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;const n=this._selection.startLineNumber,i=this._selection.startColumn,s=this._selection.endColumn;if(!(this._isMovingLeft&&i===1)&&!(!this._isMovingLeft&&s===e.getLineMaxColumn(n)))if(this._isMovingLeft){const a=new He(n,i-1,n,i),l=e.getValueInRange(a);t.addEditOperation(a,null),t.addEditOperation(new He(n,s,n,s),l)}else{const a=new He(n,s,n,s+1),l=e.getValueInRange(a);t.addEditOperation(a,null),t.addEditOperation(new He(n,i,n,i),l)}}computeCursorState(e,t){return this._isMovingLeft?new oo(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new oo(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}class vpe extends xo{constructor(e,t){super(t),this.left=e}run(e,t){if(!t.hasModel())return;const n=[],i=t.getSelections();for(const s of i)n.push(new aBe(s,this.left));t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop()}}class lBe extends vpe{constructor(){super(!0,{id:\"editor.action.moveCarretLeftAction\",label:w(\"caret.moveLeft\",\"Move Selected Text Left\"),alias:\"Move Selected Text Left\",precondition:on.writable})}}class uBe extends vpe{constructor(){super(!1,{id:\"editor.action.moveCarretRightAction\",label:w(\"caret.moveRight\",\"Move Selected Text Right\"),alias:\"Move Selected Text Right\",precondition:on.writable})}}Fs(lBe);Fs(uBe);class cBe extends xo{constructor(){super({id:\"editor.action.transposeLetters\",label:w(\"transposeLetters.label\",\"Transpose Letters\"),alias:\"Transpose Letters\",precondition:on.writable,kbOpts:{kbExpr:on.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(e,t){if(!t.hasModel())return;let n=t.getModel(),i=[],s=t.getSelections();for(let a of s){if(!a.isEmpty())continue;let l=a.startLineNumber,u=a.startColumn,d=n.getLineMaxColumn(l);if(l===1&&(u===1||u===2&&d===2))continue;let h=u===d?a.getPosition():hu.rightPosition(n,a.getPosition().lineNumber,a.getPosition().column),p=hu.leftPosition(n,h),g=hu.leftPosition(n,p),y=n.getValueInRange(He.fromPositions(g,p)),D=n.getValueInRange(He.fromPositions(p,h)),T=He.fromPositions(g,h);i.push(new Kh(T,D+y))}i.length>0&&(t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop())}}Fs(cBe);var dBe=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};const WD=\"9_cutcopypaste\",hBe=p0||document.queryCommandSupported(\"cut\"),Cpe=p0||document.queryCommandSupported(\"copy\"),pBe=typeof navigator.clipboard==\"undefined\"||J_?document.queryCommandSupported(\"paste\"):!0;function zJ(o){return o.register(),o}const fBe=hBe?zJ(new HE({id:\"editor.action.clipboardCutAction\",precondition:void 0,kbOpts:p0?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:Fn.MenubarEditMenu,group:\"2_ccp\",title:w({key:\"miCut\",comment:[\"&& denotes a mnemonic\"]},\"Cu&&t\"),order:1},{menuId:Fn.EditorContext,group:WD,title:w(\"actions.clipboard.cutLabel\",\"Cut\"),when:on.writable,order:1},{menuId:Fn.CommandPalette,group:\"\",title:w(\"actions.clipboard.cutLabel\",\"Cut\"),order:1},{menuId:Fn.SimpleEditorContext,group:WD,title:w(\"actions.clipboard.cutLabel\",\"Cut\"),when:on.writable,order:1}]})):void 0,_Be=Cpe?zJ(new HE({id:\"editor.action.clipboardCopyAction\",precondition:void 0,kbOpts:p0?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:Fn.MenubarEditMenu,group:\"2_ccp\",title:w({key:\"miCopy\",comment:[\"&& denotes a mnemonic\"]},\"&&Copy\"),order:2},{menuId:Fn.EditorContext,group:WD,title:w(\"actions.clipboard.copyLabel\",\"Copy\"),order:2},{menuId:Fn.CommandPalette,group:\"\",title:w(\"actions.clipboard.copyLabel\",\"Copy\"),order:1},{menuId:Fn.SimpleEditorContext,group:WD,title:w(\"actions.clipboard.copyLabel\",\"Copy\"),order:2}]})):void 0;q_.appendMenuItem(Fn.MenubarEditMenu,{submenu:Fn.MenubarCopy,title:{value:w(\"copy as\",\"Copy As\"),original:\"Copy As\"},group:\"2_ccp\",order:3});q_.appendMenuItem(Fn.EditorContext,{submenu:Fn.EditorContextCopy,title:{value:w(\"copy as\",\"Copy As\"),original:\"Copy As\"},group:WD,order:3});const hH=pBe?zJ(new HE({id:\"editor.action.clipboardPasteAction\",precondition:void 0,kbOpts:p0?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:Fn.MenubarEditMenu,group:\"2_ccp\",title:w({key:\"miPaste\",comment:[\"&& denotes a mnemonic\"]},\"&&Paste\"),order:4},{menuId:Fn.EditorContext,group:WD,title:w(\"actions.clipboard.pasteLabel\",\"Paste\"),when:on.writable,order:4},{menuId:Fn.CommandPalette,group:\"\",title:w(\"actions.clipboard.pasteLabel\",\"Paste\"),order:1},{menuId:Fn.SimpleEditorContext,group:WD,title:w(\"actions.clipboard.pasteLabel\",\"Paste\"),when:on.writable,order:4}]})):void 0;class gBe extends xo{constructor(){super({id:\"editor.action.clipboardCopyWithSyntaxHighlightingAction\",label:w(\"actions.clipboard.copyWithSyntaxHighlightingLabel\",\"Copy With Syntax Highlighting\"),alias:\"Copy With Syntax Highlighting\",precondition:void 0,kbOpts:{kbExpr:on.textInputFocus,primary:0,weight:100}})}run(e,t){!t.hasModel()||!t.getOption(32)&&t.getSelection().isEmpty()||(kz.forceCopyWithSyntaxHighlighting=!0,t.focus(),document.execCommand(\"copy\"),kz.forceCopyWithSyntaxHighlighting=!1)}}function Dpe(o,e){!o||(o.addImplementation(1e4,\"code-editor\",(t,n)=>{const i=t.get(Eu).getFocusedCodeEditor();if(i&&i.hasTextFocus()){const s=i.getOption(32),a=i.getSelection();return a&&a.isEmpty()&&!s||document.execCommand(e),!0}return!1}),o.addImplementation(0,\"generic-dom\",(t,n)=>(document.execCommand(e),!0)))}Dpe(fBe,\"cut\");Dpe(_Be,\"copy\");hH&&(hH.addImplementation(1e4,\"code-editor\",(o,e)=>{const t=o.get(Eu),n=o.get(_w),i=t.getFocusedCodeEditor();return i&&i.hasTextFocus()?!document.execCommand(\"paste\")&&bC?(()=>dBe(void 0,void 0,void 0,function*(){const a=yield n.readText();if(a!==\"\"){const l=Y3.INSTANCE.get(a);let u=!1,d=null,h=null;l&&(u=i.getOption(32)&&!!l.isFromEmptySelection,d=typeof l.multicursorText!=\"undefined\"?l.multicursorText:null,h=l.mode),i.trigger(\"keyboard\",\"paste\",{text:a,pasteOnNewLine:u,multicursorText:d,mode:h})}}))():!0:!1}),hH.addImplementation(0,\"generic-dom\",(o,e)=>(document.execCommand(\"paste\"),!0)));Cpe&&Fs(gBe);class Rl{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+Rl.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(e){return new Rl(this.value+Rl.sep+e)}}Rl.sep=\".\";Rl.None=new Rl(\"@@none@@\");Rl.Empty=new Rl(\"\");Rl.QuickFix=new Rl(\"quickfix\");Rl.Refactor=new Rl(\"refactor\");Rl.Source=new Rl(\"source\");Rl.SourceOrganizeImports=Rl.Source.append(\"organizeImports\");Rl.SourceFixAll=Rl.Source.append(\"fixAll\");function mBe(o,e){return!(o.include&&!o.include.intersects(e)||o.excludes&&o.excludes.some(t=>wpe(e,t,o.include))||!o.includeSourceActions&&Rl.Source.contains(e))}function yBe(o,e){const t=e.kind?new Rl(e.kind):void 0;return!(o.include&&(!t||!o.include.contains(t))||o.excludes&&t&&o.excludes.some(n=>wpe(t,n,o.include))||!o.includeSourceActions&&t&&Rl.Source.contains(t)||o.onlyIncludePreferredActions&&!e.isPreferred)}function wpe(o,e,t){return!(!e.contains(o)||t&&e.contains(t))}class I1{constructor(e,t,n){this.kind=e,this.apply=t,this.preferred=n}static fromUser(e,t){return!e||typeof e!=\"object\"?new I1(t.kind,t.apply,!1):new I1(I1.getKindFromUser(e,t.kind),I1.getApplyFromUser(e,t.apply),I1.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 Rl(e.kind):t}static getPreferredUser(e){return typeof e.preferred==\"boolean\"?e.preferred:!1}}var UJ=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};const Spe=\"editor.action.codeAction\",xpe=\"editor.action.refactor\",Epe=\"editor.action.sourceAction\",KJ=\"editor.action.organizeImports\",qJ=\"editor.action.fixAll\";class Tpe{constructor(e,t){this.action=e,this.provider=t}resolve(e){var t;return UJ(this,void 0,void 0,function*(){if(((t=this.provider)===null||t===void 0?void 0:t.resolveCodeAction)&&!this.action.edit){let n;try{n=yield this.provider.resolveCodeAction(this.action,e)}catch(i){bh(i)}n&&(this.action.edit=n.edit)}return this})}}class GJ extends fr{constructor(e,t,n){super(),this.documentation=t,this._register(n),this.allActions=[...e].sort(GJ.codeActionsComparator),this.validActions=this.allActions.filter(({action:i})=>!i.disabled)}static codeActionsComparator({action:e},{action:t}){return e.isPreferred&&!t.isPreferred?-1:!e.isPreferred&&t.isPreferred?1:d_(e.diagnostics)?d_(t.diagnostics)?e.diagnostics[0].message.localeCompare(t.diagnostics[0].message):-1:d_(t.diagnostics)?1:0}get hasAutoFix(){return this.validActions.some(({action:e})=>!!e.kind&&Rl.QuickFix.contains(new Rl(e.kind))&&!!e.isPreferred)}}const nae={actions:[],documentation:void 0};function JJ(o,e,t,n,i,s){var a;const l=n.filter||{},u={only:(a=l.include)===null||a===void 0?void 0:a.value,trigger:n.type},d=new BJ(e,s),h=bBe(o,e,l),p=new fs,g=h.map(D=>UJ(this,void 0,void 0,function*(){try{i.report(D);const T=yield D.provideCodeActions(e,t,u,d.token);if(T&&p.add(T),d.token.isCancellationRequested)return nae;const k=((T==null?void 0:T.actions)||[]).filter(F=>F&&yBe(l,F)),I=vBe(D,k,l.include);return{actions:k.map(F=>new Tpe(F,D)),documentation:I}}catch(T){if(ry(T))throw T;return bh(T),nae}})),y=o.onDidChange(()=>{const D=o.all(e);K_(D,h)||d.cancel()});return Promise.all(g).then(D=>{const T=bq(D.map(I=>I.actions)),k=rw(D.map(I=>I.documentation));return new GJ(T,k,p)}).finally(()=>{y.dispose(),d.dispose()})}function bBe(o,e,t){return o.all(e).filter(n=>n.providedCodeActionKinds?n.providedCodeActionKinds.some(i=>mBe(t,new Rl(i))):!0)}function vBe(o,e,t){if(!o.documentation)return;const n=o.documentation.map(i=>({kind:new Rl(i.kind),command:i.command}));if(t){let i;for(const s of n)s.kind.contains(t)&&(i?i.kind.contains(s.kind)&&(i=s):i=s);if(i)return i==null?void 0:i.command}for(const i of e)if(!!i.kind){for(const s of n)if(s.kind.contains(new Rl(i.kind)))return s.command}}tu.registerCommand(\"_executeCodeActionProvider\",function(o,e,t,n,i){return UJ(this,void 0,void 0,function*(){if(!(e instanceof wa))throw f0();const{codeActionProvider:s}=o.get($o),a=o.get(Oc).getModel(e);if(!a)throw f0();const l=oo.isISelection(t)?oo.liftSelection(t):He.isIRange(t)?a.validateRange(t):void 0;if(!l)throw f0();const u=typeof n==\"string\"?new Rl(n):void 0,d=yield JJ(s,a,l,{type:1,filter:{includeSourceActions:!0,include:u}},gw.None,Ll.None),h=[],p=Math.min(d.validActions.length,typeof i==\"number\"?i:0);for(let g=0;g<p;g++)h.push(d.validActions[g].resolve(Ll.None));try{return yield Promise.all(h),d.validActions.map(g=>g.action)}finally{setTimeout(()=>d.dispose(),100)}})});var CBe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},DBe=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let Q_=class tK{constructor(e,t){this._messageWidget=new _f,this._messageListeners=new fs,this._editor=e,this._visible=tK.MESSAGE_VISIBLE.bindTo(t),this._editorListener=this._editor.onDidAttemptReadOnlyEdit(()=>this._onDidAttemptReadOnlyEdit())}static get(e){return e.getContribution(tK.ID)}dispose(){this._editorListener.dispose(),this._messageListeners.dispose(),this._messageWidget.dispose(),this._visible.reset()}showMessage(e,t){Jh(e),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._messageWidget.value=new iae(this._editor,t,e),this._messageListeners.add(this._editor.onDidBlurEditorText(()=>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(new g_(()=>this.closeMessage(),3e3));let n;this._messageListeners.add(this._editor.onMouseMove(i=>{!i.target.position||(n?n.containsPosition(i.target.position)||this.closeMessage():n=new He(t.lineNumber-3,1,i.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(iae.fadeOut(this._messageWidget.value))}_onDidAttemptReadOnlyEdit(){this._editor.hasModel()&&this.showMessage(w(\"editor.readonly\",\"Cannot edit in read-only editor\"),this._editor.getPosition())}};Q_.ID=\"editor.contrib.messageController\";Q_.MESSAGE_VISIBLE=new Do(\"messageVisible\",!1,w(\"messageVisible\",\"Whether the editor is currently showing an inline message\"));Q_=CBe([DBe(1,Xa)],Q_);const wBe=Zh.bindToContribution(Q_.get);Ns(new wBe({id:\"leaveEditorMessage\",precondition:Q_.MESSAGE_VISIBLE,handler:o=>o.closeMessage(),kbOpts:{weight:100+30,primary:9}}));class iae{constructor(e,{lineNumber:t,column:n},i){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(t,t,0),this._position={lineNumber:t,column:n-1},this._domNode=document.createElement(\"div\"),this._domNode.classList.add(\"monaco-editor-overlaymessage\");const s=document.createElement(\"div\");s.classList.add(\"anchor\",\"top\"),this._domNode.appendChild(s);const a=document.createElement(\"div\");a.classList.add(\"message\"),a.textContent=i,this._domNode.appendChild(a);const l=document.createElement(\"div\");l.classList.add(\"anchor\",\"below\"),this._domNode.appendChild(l),this._editor.addContentWidget(this),this._domNode.classList.add(\"fadeIn\")}static fadeOut(e){let t;const n=()=>{e.dispose(),clearTimeout(t),e.getDomNode().removeEventListener(\"animationend\",n)};return t=setTimeout(n,110),e.getDomNode().addEventListener(\"animationend\",n),e.getDomNode().classList.add(\"fadeOut\"),{dispose:n}}dispose(){this._editor.removeContentWidget(this)}getId(){return\"messageoverlay\"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2]}}afterRender(e){this._domNode.classList.toggle(\"below\",e===2)}}vu(Q_.ID,Q_);var SBe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},pH=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},xBe=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};class rae extends h_{constructor(e,t){super(e.command?e.command.id:e.title,EBe(e.title),void 0,!e.disabled,t),this.action=e}}function EBe(o){return o.replace(/\\r\\n|\\r|\\n/g,\" \")}let nK=class extends fr{constructor(e,t,n,i,s){super(),this._editor=e,this._delegate=t,this._contextMenuService=n,this._languageFeaturesService=s,this._visible=!1,this._showingActions=this._register(new _f),this._keybindingResolver=new F9({getKeybindings:()=>i.getKeybindings()})}get isVisible(){return this._visible}show(e,t,n,i){return xBe(this,void 0,void 0,function*(){const s=i.includeDisabledActions?t.allActions:t.validActions;if(!s.length){this._visible=!1;return}if(!this._editor.getDomNode())throw this._visible=!1,wq();this._visible=!0,this._showingActions.value=t;const a=this.getMenuActions(e,s,t.documentation),l=Ii.isIPosition(n)?this._toCoords(n):n||{x:0,y:0},u=this._keybindingResolver.getResolver(),d=this._editor.getOption(115);this._contextMenuService.showContextMenu({domForShadowRoot:d?this._editor.getDomNode():void 0,getAnchor:()=>l,getActions:()=>a,onHide:()=>{this._visible=!1,this._editor.focus()},autoSelectFirstItem:!0,getKeyBinding:h=>h instanceof rae?u(h.action):void 0})})}getMenuActions(e,t,n){var i,s;const a=h=>new rae(h.action,()=>this._delegate.onSelectCodeAction(h)),l=t.map(a),u=[...n],d=this._editor.getModel();if(d&&l.length)for(const h of this._languageFeaturesService.codeActionProvider.all(d))h._getAdditionalMenuItems&&u.push(...h._getAdditionalMenuItems({trigger:e.type,only:(s=(i=e.filter)===null||i===void 0?void 0:i.include)===null||s===void 0?void 0:s.value},t.map(p=>p.action)));return u.length&&l.push(new Ag,...u.map(h=>a(new Tpe({title:h.title,command:h},void 0)))),l}_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),n=Gh(this._editor.getDomNode()),i=n.left+t.left,s=n.top+t.top+t.height;return{x:i,y:s}}};nK=SBe([pH(2,vC),pH(3,Xc),pH(4,$o)],nK);class F9{constructor(e){this._keybindingProvider=e}getResolver(){const e=new eE(()=>this._keybindingProvider.getKeybindings().filter(t=>F9.codeActionCommands.indexOf(t.command)>=0).filter(t=>t.resolvedKeybinding).map(t=>{let n=t.commandArgs;return t.command===KJ?n={kind:Rl.SourceOrganizeImports.value}:t.command===qJ&&(n={kind:Rl.SourceFixAll.value}),Object.assign({resolvedKeybinding:t.resolvedKeybinding},I1.fromUser(n,{kind:Rl.None,apply:\"never\"}))}));return t=>{if(t.kind){const n=this.bestKeybindingForCodeAction(t,e.getValue());return n==null?void 0:n.resolvedKeybinding}}}bestKeybindingForCodeAction(e,t){if(!e.kind)return;const n=new Rl(e.kind);return t.filter(i=>i.kind.contains(n)).filter(i=>i.preferred?e.isPreferred:!0).reduceRight((i,s)=>i?i.kind.contains(s.kind)?s:i:s,void 0)}}F9.codeActionCommands=[xpe,Spe,Epe,KJ,qJ];var TBe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},ABe=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},A3;(function(o){o.Hidden={type:0};class e{constructor(n,i,s,a){this.actions=n,this.trigger=i,this.editorPosition=s,this.widgetPosition=a,this.type=1}}o.Showing=e})(A3||(A3={}));let X7=class Ape extends fr{constructor(e,t,n,i){super(),this._editor=e,this._quickFixActionId=t,this._preferredFixActionId=n,this._keybindingService=i,this._onClick=this._register(new ri),this.onClick=this._onClick.event,this._state=A3.Hidden,this._domNode=document.createElement(\"div\"),this._domNode.className=E.lightBulb.classNames,this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent(s=>{const a=this._editor.getModel();(this.state.type!==1||!a||this.state.editorPosition.lineNumber>=a.getLineCount())&&this.hide()})),Iu.ignoreTarget(this._domNode),this._register(O3e(this._domNode,s=>{if(this.state.type!==1)return;this._editor.focus(),s.preventDefault();const{top:a,height:l}=Gh(this._domNode),u=this._editor.getOption(59);let d=Math.floor(u/3);this.state.widgetPosition.position!==null&&this.state.widgetPosition.position.lineNumber<this.state.editorPosition.lineNumber&&(d+=u),this._onClick.fire({x:s.posx,y:a+l+d,actions:this.state.actions,trigger:this.state.trigger})})),this._register(hs(this._domNode,\"mouseenter\",s=>{if((s.buttons&1)!==1)return;this.hide();const a=new dw;a.startMonitoring(s.target,s.buttons,$E,()=>{},()=>{a.dispose()})})),this._register(this._editor.onDidChangeConfiguration(s=>{s.hasChanged(57)&&!this._editor.getOption(57).enabled&&this.hide()})),this._updateLightBulbTitleAndIcon(),this._register(this._keybindingService.onDidUpdateKeybindings(this._updateLightBulbTitleAndIcon,this))}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,n){if(e.validActions.length<=0)return this.hide();const i=this._editor.getOptions();if(!i.get(57).enabled)return this.hide();const s=this._editor.getModel();if(!s)return this.hide();const{lineNumber:a,column:l}=s.validatePosition(n),u=s.getOptions().tabSize,d=i.get(44),h=s.getLineContent(a),p=ZP(h,u),g=d.spaceWidth*p>22,y=T=>T>2&&this._editor.getTopForLineNumber(T)===this._editor.getTopForLineNumber(T-1);let D=a;if(!g){if(a>1&&!y(a-1))D-=1;else if(!y(a+1))D+=1;else if(l*d.spaceWidth<22)return this.hide()}this.state=new A3.Showing(e,t,n,{position:{lineNumber:D,column:1},preference:Ape._posPref}),this._editor.layoutContentWidget(this)}hide(){this.state=A3.Hidden,this._editor.layoutContentWidget(this)}get state(){return this._state}set state(e){this._state=e,this._updateLightBulbTitleAndIcon()}_updateLightBulbTitleAndIcon(){if(this.state.type===1&&this.state.actions.hasAutoFix){this._domNode.classList.remove(...E.lightBulb.classNamesArray),this._domNode.classList.add(...E.lightbulbAutofix.classNamesArray);const t=this._keybindingService.lookupKeybinding(this._preferredFixActionId);if(t){this.title=w(\"preferredcodeActionWithKb\",\"Show Code Actions. Preferred Quick Fix Available ({0})\",t.getLabel());return}}this._domNode.classList.remove(...E.lightbulbAutofix.classNamesArray),this._domNode.classList.add(...E.lightBulb.classNamesArray);const e=this._keybindingService.lookupKeybinding(this._quickFixActionId);e?this.title=w(\"codeActionWithKb\",\"Show Code Actions ({0})\",e.getLabel()):this.title=w(\"codeAction\",\"Show Code Actions\")}set title(e){this._domNode.title=e}};X7._posPref=[0];X7=TBe([ABe(3,Xc)],X7);ac((o,e)=>{var t;const n=(t=o.getColor(Rf))===null||t===void 0?void 0:t.transparent(.7),i=o.getColor(i4e);i&&e.addRule(`\n\t\t.monaco-editor .contentWidgets ${E.lightBulb.cssSelector} {\n\t\t\tcolor: ${i};\n\t\t\tbackground-color: ${n};\n\t\t}`);const s=o.getColor(r4e);s&&e.addRule(`\n\t\t.monaco-editor .contentWidgets ${E.lightbulbAutofix.cssSelector} {\n\t\t\tcolor: ${s};\n\t\t\tbackground-color: ${n};\n\t\t}`)});var kBe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},LBe=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},fH=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})},NBe=globalThis&&globalThis.__classPrivateFieldSet||function(o,e,t,n,i){if(n===\"m\")throw new TypeError(\"Private method is not writable\");if(n===\"a\"&&!i)throw new TypeError(\"Private accessor was defined without a setter\");if(typeof e==\"function\"?o!==e||!i:!e.has(o))throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");return n===\"a\"?i.call(o,t):i?i.value=t:e.set(o,t),t},IBe=globalThis&&globalThis.__classPrivateFieldGet||function(o,e,t,n){if(t===\"a\"&&!n)throw new TypeError(\"Private accessor was defined without a getter\");if(typeof e==\"function\"?o!==e||!n:!e.has(o))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return t===\"m\"?n:t===\"a\"?n.call(o):n?n.value:e.get(o)},b8;let iK=class extends fr{constructor(e,t,n,i,s){super(),this._editor=e,this.delegate=i,this._activeCodeActions=this._register(new _f),b8.set(this,!1),this._codeActionWidget=new eE(()=>this._register(s.createInstance(nK,this._editor,{onSelectCodeAction:a=>fH(this,void 0,void 0,function*(){this.delegate.applyCodeAction(a,!0)})}))),this._lightBulbWidget=new eE(()=>{const a=this._register(s.createInstance(X7,this._editor,t,n));return this._register(a.onClick(l=>this.showCodeActionList(l.trigger,l.actions,l,{includeDisabledActions:!1}))),a})}dispose(){NBe(this,b8,!0,\"f\"),super.dispose()}update(e){var t,n,i,s,a;return fH(this,void 0,void 0,function*(){if(e.type!==1){(t=this._lightBulbWidget.rawValue)===null||t===void 0||t.hide();return}let l;try{l=yield e.actions}catch(u){tl(u);return}if(!IBe(this,b8,\"f\"))if(this._lightBulbWidget.getValue().update(l,e.trigger,e.position),e.trigger.type===1){if(!((n=e.trigger.filter)===null||n===void 0)&&n.include){const d=this.tryGetValidActionToApply(e.trigger,l);if(d){try{this._lightBulbWidget.getValue().hide(),yield this.delegate.applyCodeAction(d,!1)}finally{l.dispose()}return}if(e.trigger.context){const h=this.getInvalidActionThatWouldHaveBeenApplied(e.trigger,l);if(h&&h.action.disabled){(i=Q_.get(this._editor))===null||i===void 0||i.showMessage(h.action.disabled,e.trigger.context.position),l.dispose();return}}}const u=!!(!((s=e.trigger.filter)===null||s===void 0)&&s.include);if(e.trigger.context&&(!l.allActions.length||!u&&!l.validActions.length)){(a=Q_.get(this._editor))===null||a===void 0||a.showMessage(e.trigger.context.notAvailableMessage,e.trigger.context.position),this._activeCodeActions.value=l,l.dispose();return}this._activeCodeActions.value=l,this._codeActionWidget.getValue().show(e.trigger,l,e.position,{includeDisabledActions:u})}else this._codeActionWidget.getValue().isVisible?l.dispose():this._activeCodeActions.value=l})}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:n})=>n.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]}showCodeActionList(e,t,n,i){return fH(this,void 0,void 0,function*(){this._codeActionWidget.getValue().show(e,t,n,i)})}};b8=new WeakMap;iK=kBe([LBe(4,Nl)],iK);var _H=globalThis&&globalThis.__classPrivateFieldGet||function(o,e,t,n){if(t===\"a\"&&!n)throw new TypeError(\"Private accessor was defined without a getter\");if(typeof e==\"function\"?o!==e||!n:!e.has(o))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return t===\"m\"?n:t===\"a\"?n.call(o):n?n.value:e.get(o)},FBe=globalThis&&globalThis.__classPrivateFieldSet||function(o,e,t,n,i){if(n===\"m\")throw new TypeError(\"Private method is not writable\");if(n===\"a\"&&!i)throw new TypeError(\"Private accessor was defined without a setter\");if(typeof e==\"function\"?o!==e||!i:!e.has(o))throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");return n===\"a\"?i.call(o,t):i?i.value=t:e.set(o,t),t},px;const kpe=new Do(\"supportedCodeAction\",\"\");class PBe extends fr{constructor(e,t,n,i=250){super(),this._editor=e,this._markerService=t,this._signalChange=n,this._delay=i,this._autoTriggerTimer=this._register(new g_),this._register(this._markerService.onMarkerChanged(s=>this._onMarkerChanges(s))),this._register(this._editor.onDidChangeCursorPosition(()=>this._onCursorChange()))}trigger(e){const t=this._getRangeOfSelectionUnlessWhitespaceEnclosed(e);return this._createEventAndSignalChange(e,t)}_onMarkerChanges(e){const t=this._editor.getModel();!t||e.some(n=>cde(n,t.uri))&&this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:2})},this._delay)}_onCursorChange(){this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:2})},this._delay)}_getRangeOfMarker(e){const t=this._editor.getModel();if(!!t)for(const n of this._markerService.read({resource:t.uri})){const i=t.validateRange(n);if(He.intersectRanges(i,e))return He.lift(i)}}_getRangeOfSelectionUnlessWhitespaceEnclosed(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),n=this._editor.getSelection();if(n.isEmpty()&&e.type===2){const{lineNumber:i,column:s}=n.getPosition(),a=t.getLineContent(i);if(a.length===0)return;if(s===1){if(/\\s/.test(a[0]))return}else if(s===t.getLineMaxColumn(i)){if(/\\s/.test(a[a.length-1]))return}else if(/\\s/.test(a[s-2])&&/\\s/.test(a[s-1]))return}return n}_createEventAndSignalChange(e,t){const n=this._editor.getModel();if(!t||!n){this._signalChange(void 0);return}const i=this._getRangeOfMarker(t),s=i?i.getStartPosition():t.getStartPosition(),a={trigger:e,selection:t,position:s};return this._signalChange(a),a}}var K2;(function(o){o.Empty={type:0};class e{constructor(n,i,s,a){this.trigger=n,this.rangeOrSelection=i,this.position=s,this._cancellablePromise=a,this.type=1,this.actions=a.catch(l=>{if(ry(l))return OBe;throw l})}cancel(){this._cancellablePromise.cancel()}}o.Triggered=e})(K2||(K2={}));const OBe={allActions:[],validActions:[],dispose:()=>{},documentation:[],hasAutoFix:!1};class MBe extends fr{constructor(e,t,n,i,s){super(),this._editor=e,this._registry=t,this._markerService=n,this._progressService=s,this._codeActionOracle=this._register(new _f),this._state=K2.Empty,this._onDidChangeState=this._register(new ri),this.onDidChangeState=this._onDidChangeState.event,px.set(this,!1),this._supportedCodeActions=kpe.bindTo(i),this._register(this._editor.onDidChangeModel(()=>this._update())),this._register(this._editor.onDidChangeModelLanguage(()=>this._update())),this._register(this._registry.onDidChange(()=>this._update())),this._update()}dispose(){_H(this,px,\"f\")||(FBe(this,px,!0,\"f\"),super.dispose(),this.setState(K2.Empty,!0))}_update(){if(_H(this,px,\"f\"))return;this._codeActionOracle.value=void 0,this.setState(K2.Empty);const e=this._editor.getModel();if(e&&this._registry.has(e)&&!this._editor.getOption(81)){const t=[];for(const n of this._registry.all(e))Array.isArray(n.providedCodeActionKinds)&&t.push(...n.providedCodeActionKinds);this._supportedCodeActions.set(t.join(\" \")),this._codeActionOracle.value=new PBe(this._editor,this._markerService,n=>{var i;if(!n){this.setState(K2.Empty);return}const s=Oh(a=>JJ(this._registry,e,n.selection,n.trigger,gw.None,a));n.trigger.type===1&&((i=this._progressService)===null||i===void 0||i.showWhile(s,250)),this.setState(new K2.Triggered(n.trigger,n.selection,n.position,s))},void 0),this._codeActionOracle.value.trigger({type:2})}else this._supportedCodeActions.reset()}trigger(e){this._codeActionOracle.value&&this._codeActionOracle.value.trigger(e)}setState(e,t){e!==this._state&&(this._state.type===1&&this._state.cancel(),this._state=e,!t&&!_H(this,px,\"f\")&&this._onDidChangeState.fire(e))}}px=new WeakMap;var RBe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},Fk=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},Lpe=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};function b4(o){return co.regex(kpe.keys()[0],new RegExp(\"(\\\\s|^)\"+Ng(o.value)+\"\\\\b\"))}const YJ={type:\"object\",defaultSnippets:[{body:{kind:\"\"}}],properties:{kind:{type:\"string\",description:w(\"args.schema.kind\",\"Kind of the code action to run.\")},apply:{type:\"string\",description:w(\"args.schema.apply\",\"Controls when the returned actions are applied.\"),default:\"ifSingle\",enum:[\"first\",\"ifSingle\",\"never\"],enumDescriptions:[w(\"args.schema.apply.first\",\"Always apply the first returned code action.\"),w(\"args.schema.apply.ifSingle\",\"Apply the first returned code action if it is the only one.\"),w(\"args.schema.apply.never\",\"Do not apply the returned code actions.\")]},preferred:{type:\"boolean\",default:!1,description:w(\"args.schema.preferred\",\"Controls if only preferred code actions should be returned.\")}}};let VD=class Npe extends fr{constructor(e,t,n,i,s,a){super(),this._instantiationService=s,this._editor=e,this._model=this._register(new MBe(this._editor,a.codeActionProvider,t,n,i)),this._register(this._model.onDidChangeState(l=>this.update(l))),this._ui=new eE(()=>this._register(new iK(e,YE.Id,v4.Id,{applyCodeAction:(l,u)=>Lpe(this,void 0,void 0,function*(){try{yield this._applyCodeAction(l)}finally{u&&this._trigger({type:2,filter:{}})}})},this._instantiationService)))}static get(e){return e.getContribution(Npe.ID)}update(e){this._ui.getValue().update(e)}showCodeActions(e,t,n){return this._ui.getValue().showCodeActionList(e,t,n,{includeDisabledActions:!1})}manualTriggerAtCurrentPosition(e,t,n){var i;if(!this._editor.hasModel())return;(i=Q_.get(this._editor))===null||i===void 0||i.closeMessage();const s=this._editor.getPosition();this._trigger({type:1,filter:t,autoApply:n,context:{notAvailableMessage:e,position:s}})}_trigger(e){return this._model.trigger(e)}_applyCodeAction(e){return this._instantiationService.invokeFunction(BBe,e,this._editor)}};VD.ID=\"editor.contrib.quickFixController\";VD=RBe([Fk(1,Lb),Fk(2,Xa),Fk(3,CC),Fk(4,Nl),Fk(5,$o)],VD);function BBe(o,e,t){return Lpe(this,void 0,void 0,function*(){const n=o.get(YG),i=o.get(Dd),s=o.get(sy),a=o.get(Sd);if(s.publicLog2(\"codeAction.applyCodeAction\",{codeActionTitle:e.action.title,codeActionKind:e.action.kind,codeActionIsPreferred:!!e.action.isPreferred}),yield e.resolve(Ll.None),e.action.edit&&(yield n.apply(r9.convert(e.action.edit),{editor:t,label:e.action.title})),e.action.command)try{yield i.executeCommand(e.action.command.id,...e.action.command.arguments||[])}catch(l){const u=jBe(l);a.error(typeof u==\"string\"?u:w(\"applyCodeActionFailed\",\"An unknown error occurred while applying the code action\"))}})}function jBe(o){return typeof o==\"string\"?o:o instanceof Error&&typeof o.message==\"string\"?o.message:void 0}function Cw(o,e,t,n){if(o.hasModel()){const i=VD.get(o);i&&i.manualTriggerAtCurrentPosition(e,t,n)}}class YE extends xo{constructor(){super({id:YE.Id,label:w(\"quickfix.trigger.label\",\"Quick Fix...\"),alias:\"Quick Fix...\",precondition:co.and(on.writable,on.hasCodeActionsProvider),kbOpts:{kbExpr:on.editorTextFocus,primary:2132,weight:100}})}run(e,t){return Cw(t,w(\"editor.action.quickFix.noneMessage\",\"No code actions available\"),void 0,void 0)}}YE.Id=\"editor.action.quickFix\";class WBe extends Zh{constructor(){super({id:Spe,precondition:co.and(on.writable,on.hasCodeActionsProvider),description:{description:\"Trigger a code action\",args:[{name:\"args\",schema:YJ}]}})}runEditorCommand(e,t,n){const i=I1.fromUser(n,{kind:Rl.Empty,apply:\"ifSingle\"});return Cw(t,typeof(n==null?void 0:n.kind)==\"string\"?i.preferred?w(\"editor.action.codeAction.noneMessage.preferred.kind\",\"No preferred code actions for '{0}' available\",n.kind):w(\"editor.action.codeAction.noneMessage.kind\",\"No code actions for '{0}' available\",n.kind):i.preferred?w(\"editor.action.codeAction.noneMessage.preferred\",\"No preferred code actions available\"):w(\"editor.action.codeAction.noneMessage\",\"No code actions available\"),{include:i.kind,includeSourceActions:!0,onlyIncludePreferredActions:i.preferred},i.apply)}}class VBe extends xo{constructor(){super({id:xpe,label:w(\"refactor.label\",\"Refactor...\"),alias:\"Refactor...\",precondition:co.and(on.writable,on.hasCodeActionsProvider),kbOpts:{kbExpr:on.editorTextFocus,primary:3120,mac:{primary:1328},weight:100},contextMenuOpts:{group:\"1_modification\",order:2,when:co.and(on.writable,b4(Rl.Refactor))},description:{description:\"Refactor...\",args:[{name:\"args\",schema:YJ}]}})}run(e,t,n){const i=I1.fromUser(n,{kind:Rl.Refactor,apply:\"never\"});return Cw(t,typeof(n==null?void 0:n.kind)==\"string\"?i.preferred?w(\"editor.action.refactor.noneMessage.preferred.kind\",\"No preferred refactorings for '{0}' available\",n.kind):w(\"editor.action.refactor.noneMessage.kind\",\"No refactorings for '{0}' available\",n.kind):i.preferred?w(\"editor.action.refactor.noneMessage.preferred\",\"No preferred refactorings available\"):w(\"editor.action.refactor.noneMessage\",\"No refactorings available\"),{include:Rl.Refactor.contains(i.kind)?i.kind:Rl.None,onlyIncludePreferredActions:i.preferred},i.apply)}}class HBe extends xo{constructor(){super({id:Epe,label:w(\"source.label\",\"Source Action...\"),alias:\"Source Action...\",precondition:co.and(on.writable,on.hasCodeActionsProvider),contextMenuOpts:{group:\"1_modification\",order:2.1,when:co.and(on.writable,b4(Rl.Source))},description:{description:\"Source Action...\",args:[{name:\"args\",schema:YJ}]}})}run(e,t,n){const i=I1.fromUser(n,{kind:Rl.Source,apply:\"never\"});return Cw(t,typeof(n==null?void 0:n.kind)==\"string\"?i.preferred?w(\"editor.action.source.noneMessage.preferred.kind\",\"No preferred source actions for '{0}' available\",n.kind):w(\"editor.action.source.noneMessage.kind\",\"No source actions for '{0}' available\",n.kind):i.preferred?w(\"editor.action.source.noneMessage.preferred\",\"No preferred source actions available\"):w(\"editor.action.source.noneMessage\",\"No source actions available\"),{include:Rl.Source.contains(i.kind)?i.kind:Rl.None,includeSourceActions:!0,onlyIncludePreferredActions:i.preferred},i.apply)}}class $Be extends xo{constructor(){super({id:KJ,label:w(\"organizeImports.label\",\"Organize Imports\"),alias:\"Organize Imports\",precondition:co.and(on.writable,b4(Rl.SourceOrganizeImports)),kbOpts:{kbExpr:on.editorTextFocus,primary:1581,weight:100}})}run(e,t){return Cw(t,w(\"editor.action.organize.noneMessage\",\"No organize imports action available\"),{include:Rl.SourceOrganizeImports,includeSourceActions:!0},\"ifSingle\")}}class zBe extends xo{constructor(){super({id:qJ,label:w(\"fixAll.label\",\"Fix All\"),alias:\"Fix All\",precondition:co.and(on.writable,b4(Rl.SourceFixAll))})}run(e,t){return Cw(t,w(\"fixAll.noneMessage\",\"No fix all action available\"),{include:Rl.SourceFixAll,includeSourceActions:!0},\"ifSingle\")}}class v4 extends xo{constructor(){super({id:v4.Id,label:w(\"autoFix.label\",\"Auto Fix...\"),alias:\"Auto Fix...\",precondition:co.and(on.writable,b4(Rl.QuickFix)),kbOpts:{kbExpr:on.editorTextFocus,primary:1620,mac:{primary:2644},weight:100}})}run(e,t){return Cw(t,w(\"editor.action.autoFix.noneMessage\",\"No auto fixes available\"),{include:Rl.QuickFix,onlyIncludePreferredActions:!0},\"ifSingle\")}}v4.Id=\"editor.action.autoFix\";vu(VD.ID,VD);Fs(YE);Fs(VBe);Fs(HBe);Fs($Be);Fs(v4);Fs(zBe);Ns(new WBe);var sae=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};class rK{constructor(){this.lenses=[],this._disposables=new fs}dispose(){this._disposables.dispose()}get isDisposed(){return this._disposables.isDisposed}add(e,t){this._disposables.add(e);for(const n of e.lenses)this.lenses.push({symbol:n,provider:t})}}function Ipe(o,e,t){return sae(this,void 0,void 0,function*(){const n=o.ordered(e),i=new Map,s=new rK,a=n.map((l,u)=>sae(this,void 0,void 0,function*(){i.set(l,u);try{const d=yield Promise.resolve(l.provideCodeLenses(e,t));d&&s.add(d,l)}catch(d){bh(d)}}));return yield Promise.all(a),s.lenses=s.lenses.sort((l,u)=>l.symbol.range.startLineNumber<u.symbol.range.startLineNumber?-1:l.symbol.range.startLineNumber>u.symbol.range.startLineNumber?1:i.get(l.provider)<i.get(u.provider)?-1:i.get(l.provider)>i.get(u.provider)?1:l.symbol.range.startColumn<u.symbol.range.startColumn?-1:l.symbol.range.startColumn>u.symbol.range.startColumn?1:0),s})}tu.registerCommand(\"_executeCodeLensProvider\",function(o,...e){let[t,n]=e;$u(wa.isUri(t)),$u(typeof n==\"number\"||!n);const{codeLensProvider:i}=o.get($o),s=o.get(Oc).getModel(t);if(!s)throw f0();const a=[],l=new fs;return Ipe(i,s,Ll.None).then(u=>{l.add(u);let d=[];for(const h of u.lenses)n==null||Boolean(h.symbol.command)?a.push(h.symbol):n-- >0&&h.provider.resolveCodeLens&&d.push(Promise.resolve(h.provider.resolveCodeLens(s,h.symbol,Ll.None)).then(p=>a.push(p||h.symbol)));return Promise.all(d)}).then(()=>a).finally(()=>{setTimeout(()=>l.dispose(),100)})});var UBe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},KBe=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};const Fpe=zl(\"ICodeLensCache\");class oae{constructor(e,t){this.lineCount=e,this.data=t}}let sK=class{constructor(e){this._fakeProvider=new class{provideCodeLenses(){throw new Error(\"not supported\")}},this._cache=new DC(20,.75);const t=\"codelens/cache\";V3(()=>e.remove(t,1));const n=\"codelens/cache2\",i=e.get(n,1,\"{}\");this._deserialize(i),wb(e.onWillSaveState)(s=>{s.reason===q7.SHUTDOWN&&e.store(n,this._serialize(),1,1)})}put(e,t){const n=t.lenses.map(a=>{var l;return{range:a.symbol.range,command:a.symbol.command&&{id:\"\",title:(l=a.symbol.command)===null||l===void 0?void 0:l.title}}}),i=new rK;i.add({lenses:n,dispose:()=>{}},this._fakeProvider);const s=new oae(e.getLineCount(),i);this._cache.set(e.uri.toString(),s)}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,n]of this._cache){const i=new Set;for(const s of n.data.lenses)i.add(s.symbol.range.startLineNumber);e[t]={lineCount:n.lineCount,lines:[...i.values()]}}return JSON.stringify(e)}_deserialize(e){try{const t=JSON.parse(e);for(const n in t){const i=t[n],s=[];for(const l of i.lines)s.push({range:new He(l,1,l,11)});const a=new rK;a.add({lenses:s,dispose(){}},this._fakeProvider),this._cache.set(n,new oae(i.lineCount,a))}}catch{}}};sK=UBe([KBe(0,cy)],sK);su(Fpe,sK);class qBe{constructor(e,t,n){this.afterColumn=1073741824,this.afterLineNumber=e,this.heightInPx=t,this._onHeight=n,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 P9{constructor(e,t,n){this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this._commands=new Map,this._isEmpty=!0,this._editor=e,this._id=`codelens.widget-${P9._idPool++}`,this.updatePosition(n),this._domNode=document.createElement(\"span\"),this._domNode.className=`codelens-decoration ${t}`}withCommands(e,t){this._commands.clear();let n=[],i=!1;for(let s=0;s<e.length;s++){const a=e[s];if(!!a&&(i=!0,a.command)){const l=_D(a.command.title.trim());a.command.id?(n.push(ls(\"a\",{id:String(s),title:a.command.tooltip},...l)),this._commands.set(String(s),a.command)):n.push(ls(\"span\",{title:a.command.tooltip},...l)),s+1<e.length&&n.push(ls(\"span\",void 0,\"\\xA0|\\xA0\"))}}i?(tC(this._domNode,...n),this._isEmpty&&t&&this._domNode.classList.add(\"fadein\"),this._isEmpty=!1):tC(this._domNode,ls(\"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}}P9._idPool=0;class gH{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){let t=e.deltaDecorations(this._removeDecorations,this._addDecorations);for(let n=0,i=t.length;n<i;n++)this._addDecorationsCallbacks[n](t[n])}}class aae{constructor(e,t,n,i,s,a,l){this._isDisposed=!1,this._editor=t,this._className=n,this._data=e,this._decorationIds=[];let u,d=[];this._data.forEach((h,p)=>{h.symbol.command&&d.push(h.symbol),i.addDecoration({range:h.symbol.range,options:_l.EMPTY},g=>this._decorationIds[p]=g),u?u=He.plusRange(u,h.symbol.range):u=He.lift(h.symbol.range)}),this._viewZone=new qBe(u.startLineNumber-1,a,l),this._viewZoneId=s.addZone(this._viewZone),d.length>0&&(this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(d,!1))}_createContentWidgetIfNecessary(){this._contentWidget?this._editor.layoutContentWidget(this._contentWidget):(this._contentWidget=new P9(this._editor,this._className,this._viewZone.afterLineNumber+1),this._editor.addContentWidget(this._contentWidget))}dispose(e,t){this._decorationIds.forEach(e.removeDecoration,e),this._decorationIds=[],t&&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 n=this._editor.getModel().getDecorationRange(e),i=this._data[t].symbol;return!!(n&&He.isEmpty(i.range)===n.isEmpty())})}updateCodeLensSymbols(e,t){this._decorationIds.forEach(t.removeDecoration,t),this._decorationIds=[],this._data=e,this._data.forEach((n,i)=>{t.addDecoration({range:n.symbol.range,options:_l.EMPTY},s=>this._decorationIds[i]=s)})}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 n=e.getDecorationRange(this._decorationIds[t]);n&&(this._data[t].symbol.range=n)}return this._data}updateCommands(e){this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(e,!0);for(let t=0;t<this._data.length;t++){const n=e[t];if(n){const{symbol:i}=this._data[t];i.command=n.command||i.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 GBe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},Pk=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},JBe=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};let wE=class{constructor(e,t,n,i,s,a){this._editor=e,this._languageFeaturesService=t,this._commandService=i,this._notificationService=s,this._codeLensCache=a,this._disposables=new fs,this._localToDispose=new fs,this._lenses=[],this._oldCodeLensModels=new fs,this._provideCodeLensDebounce=n.for(t.codeLensProvider,\"CodeLensProvide\",{min:250}),this._resolveCodeLensesDebounce=n.for(t.codeLensProvider,\"CodeLensResolve\",{min:250,salt:\"resolve\"}),this._resolveCodeLensesScheduler=new Bu(()=>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(l=>{(l.hasChanged(44)||l.hasChanged(16)||l.hasChanged(15))&&this._updateLensStyle(),l.hasChanged(14)&&this._onModelChange()})),this._disposables.add(t.codeLensProvider.onDidChange(this._onModelChange,this)),this._onModelChange(),this._styleClassName=\"_\"+Sue(this._editor.getId()).toString(16),this._styleElement=Pg(U3(this._editor.getContainerDomNode())?this._editor.getContainerDomNode():void 0),this._updateLensStyle()}dispose(){var e;this._localDispose(),this._disposables.dispose(),this._oldCodeLensModels.dispose(),(e=this._currentCodeLensModel)===null||e===void 0||e.dispose(),this._styleElement.remove()}_getLayoutInfo(){let e=this._editor.getOption(16),t;return!e||e<5?(e=this._editor.getOption(46)*.9|0,t=this._editor.getOption(59)):t=e*Math.max(1.3,this._editor.getOption(59)/this._editor.getOption(46))|0,{codeLensHeight:t,fontSize:e}}_updateLensStyle(){const{codeLensHeight:e,fontSize:t}=this._getLayoutInfo(),n=this._editor.getOption(15),i=this._editor.getOption(44),s=`--codelens-font-family${this._styleClassName}`,a=`--codelens-font-features${this._styleClassName}`;let l=`\n\t\t.monaco-editor .codelens-decoration.${this._styleClassName} { line-height: ${e}px; font-size: ${t}px; padding-right: ${Math.round(t*.5)}px; font-feature-settings: var(${a}) }\n\t\t.monaco-editor .codelens-decoration.${this._styleClassName} span.codicon { line-height: ${e}px; font-size: ${t}px; }\n\t\t`;n&&(l+=`.monaco-editor .codelens-decoration.${this._styleClassName} { font-family: var(${s}), ${Rp.fontFamily}}`),this._styleElement.textContent=l,this._editor.getContainerDomNode().style.setProperty(s,n!=null?n:\"inherit\"),this._editor.getContainerDomNode().style.setProperty(a,i.fontFeatureSettings),this._editor.changeViewZones(u=>{for(let d of this._lenses)d.updateHeight(e,u)})}_localDispose(){var e,t,n;(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(),(n=this._currentCodeLensModel)===null||n===void 0||n.dispose()}_onModelChange(){this._localDispose();const e=this._editor.getModel();if(!e||!this._editor.getOption(14))return;const t=this._codeLensCache.get(e);if(t&&this._renderCodeLensSymbols(t),!this._languageFeaturesService.codeLensProvider.has(e)){t&&this._localToDispose.add(SD(()=>{const i=this._codeLensCache.get(e);t===i&&(this._codeLensCache.delete(e),this._onModelChange())},30*1e3));return}for(const i of this._languageFeaturesService.codeLensProvider.all(e))if(typeof i.onDidChange==\"function\"){let s=i.onDidChange(()=>n.schedule());this._localToDispose.add(s)}const n=new Bu(()=>{var i;const s=Date.now();(i=this._getCodeLensModelPromise)===null||i===void 0||i.cancel(),this._getCodeLensModelPromise=Oh(a=>Ipe(this._languageFeaturesService.codeLensProvider,e,a)),this._getCodeLensModelPromise.then(a=>{this._currentCodeLensModel&&this._oldCodeLensModels.add(this._currentCodeLensModel),this._currentCodeLensModel=a,this._codeLensCache.put(e,a);const l=this._provideCodeLensDebounce.update(e,Date.now()-s);n.delay=l,this._renderCodeLensSymbols(a),this._resolveCodeLensesInViewportSoon()},tl)},this._provideCodeLensDebounce.get(e));this._localToDispose.add(n),this._localToDispose.add(wl(()=>this._resolveCodeLensesScheduler.cancel())),this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{this._editor.changeDecorations(i=>{this._editor.changeViewZones(s=>{let a=[],l=-1;this._lenses.forEach(d=>{!d.isValid()||l===d.getLineNumber()?a.push(d):(d.update(s),l=d.getLineNumber())});let u=new gH;a.forEach(d=>{d.dispose(u,s),this._lenses.splice(this._lenses.indexOf(d),1)}),u.commit(i)})}),n.schedule()})),this._localToDispose.add(this._editor.onDidFocusEditorWidget(()=>{n.schedule()})),this._localToDispose.add(this._editor.onDidScrollChange(i=>{i.scrollTopChanged&&this._lenses.length>0&&this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add(this._editor.onDidLayoutChange(()=>{this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add(wl(()=>{if(this._editor.getModel()){const i=lC.capture(this._editor);this._editor.changeDecorations(s=>{this._editor.changeViewZones(a=>{this._disposeAllLenses(s,a)})}),i.restore(this._editor)}else this._disposeAllLenses(void 0,void 0)})),this._localToDispose.add(this._editor.onMouseDown(i=>{if(i.target.type!==9)return;let s=i.target.element;if((s==null?void 0:s.tagName)===\"SPAN\"&&(s=s.parentElement),(s==null?void 0:s.tagName)===\"A\")for(const a of this._lenses){let l=a.getCommand(s);if(l){this._commandService.executeCommand(l.id,...l.arguments||[]).catch(u=>this._notificationService.error(u));break}}})),n.schedule()}_disposeAllLenses(e,t){const n=new gH;for(const i of this._lenses)i.dispose(n,t);e&&n.commit(e),this._lenses.length=0}_renderCodeLensSymbols(e){if(!this._editor.hasModel())return;let t=this._editor.getModel().getLineCount(),n=[],i;for(let l of e.lenses){let u=l.symbol.range.startLineNumber;u<1||u>t||(i&&i[i.length-1].symbol.range.startLineNumber===u?i.push(l):(i=[l],n.push(i)))}const s=lC.capture(this._editor),a=this._getLayoutInfo();this._editor.changeDecorations(l=>{this._editor.changeViewZones(u=>{const d=new gH;let h=0,p=0;for(;p<n.length&&h<this._lenses.length;){let g=n[p][0].symbol.range.startLineNumber,y=this._lenses[h].getLineNumber();y<g?(this._lenses[h].dispose(d,u),this._lenses.splice(h,1)):y===g?(this._lenses[h].updateCodeLensSymbols(n[p],d),p++,h++):(this._lenses.splice(h,0,new aae(n[p],this._editor,this._styleClassName,d,u,a.codeLensHeight,()=>this._resolveCodeLensesInViewportSoon())),h++,p++)}for(;h<this._lenses.length;)this._lenses[h].dispose(d,u),this._lenses.splice(h,1);for(;p<n.length;)this._lenses.push(new aae(n[p],this._editor,this._styleClassName,d,u,a.codeLensHeight,()=>this._resolveCodeLensesInViewportSoon())),p++;d.commit(l)})}),s.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 n=[],i=[];if(this._lenses.forEach(l=>{const u=l.computeIfNecessary(t);u&&(n.push(u),i.push(l))}),n.length===0)return;const s=Date.now(),a=Oh(l=>{const u=n.map((d,h)=>{const p=new Array(d.length),g=d.map((y,D)=>!y.symbol.command&&typeof y.provider.resolveCodeLens==\"function\"?Promise.resolve(y.provider.resolveCodeLens(t,y.symbol,l)).then(T=>{p[D]=T},bh):(p[D]=y.symbol,Promise.resolve(void 0)));return Promise.all(g).then(()=>{!l.isCancellationRequested&&!i[h].isDisposed()&&i[h].updateCommands(p)})});return Promise.all(u)});this._resolveCodeLensesPromise=a,this._resolveCodeLensesPromise.then(()=>{const l=this._resolveCodeLensesDebounce.update(t,Date.now()-s);this._resolveCodeLensesScheduler.delay=l,this._currentCodeLensModel&&this._codeLensCache.put(t,this._currentCodeLensModel),this._oldCodeLensModels.clear(),a===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)},l=>{tl(l),a===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)})}getModel(){return this._currentCodeLensModel}};wE.ID=\"css.editor.codeLens\";wE=GBe([Pk(1,$o),Pk(2,jg),Pk(3,Dd),Pk(4,Sd),Pk(5,Fpe)],wE);vu(wE.ID,wE);Fs(class extends xo{constructor(){super({id:\"codelens.showLensesInCurrentLine\",precondition:on.hasCodeLensProvider,label:w(\"showLensOnLine\",\"Show CodeLens Commands For Current Line\"),alias:\"Show CodeLens Commands For Current Line\"})}run(e,t){return JBe(this,void 0,void 0,function*(){if(!t.hasModel())return;const n=e.get(Nb),i=e.get(Dd),s=e.get(Sd),a=t.getSelection().positionLineNumber,l=t.getContribution(wE.ID);if(!l)return;const u=l.getModel();if(!u)return;const d=[];for(const p of u.lenses)p.symbol.command&&p.symbol.range.startLineNumber===a&&d.push({label:p.symbol.command.title,command:p.symbol.command});if(d.length===0)return;const h=yield n.pick(d,{canPickMany:!1});if(!!h){if(u.isDisposed)return yield i.executeCommand(this.id);try{yield i.executeCommand(h.command.id,...h.command.arguments||[])}catch(p){s.error(p)}}})}});function YBe(o,e,t){const n=[],s=o.ordered(e).reverse().map(a=>Promise.resolve(a.provideDocumentColors(e,t)).then(l=>{if(Array.isArray(l))for(let u of l)n.push({colorInfo:u,provider:a})}));return Promise.all(s).then(()=>n)}function lae(o,e,t,n){return Promise.resolve(t.provideColorPresentations(o,e,n))}tu.registerCommand(\"_executeDocumentColorProvider\",function(o,...e){const[t]=e;if(!(t instanceof wa))throw f0();const{colorProvider:n}=o.get($o),i=o.get(Oc).getModel(t);if(!i)throw f0();const s=[],l=n.ordered(i).reverse().map(u=>Promise.resolve(u.provideDocumentColors(i,Ll.None)).then(d=>{if(Array.isArray(d))for(let h of d)s.push({range:h.range,color:[h.color.red,h.color.green,h.color.blue,h.color.alpha]})}));return Promise.all(l).then(()=>s)});tu.registerCommand(\"_executeColorPresentationProvider\",function(o,...e){const[t,n]=e,{uri:i,range:s}=n;if(!(i instanceof wa)||!Array.isArray(t)||t.length!==4||!He.isIRange(s))throw f0();const[a,l,u,d]=t,{colorProvider:h}=o.get($o),p=o.get(Oc).getModel(i);if(!p)throw f0();const g={range:s,color:{red:a,green:l,blue:u,alpha:d}},y=[],T=h.ordered(p).reverse().map(k=>Promise.resolve(k.provideColorPresentations(p,g,Ll.None)).then(I=>{Array.isArray(I)&&y.push(...I)}));return Promise.all(T).then(()=>y)});var XBe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},mH=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},QBe=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};const Ppe=Object.create({}),ZBe=500;let HD=class Ope extends fr{constructor(e,t,n,i){super(),this._editor=e,this._configurationService=t,this._languageFeaturesService=n,this._localToDispose=this._register(new fs),this._decorationsIds=[],this._colorDatas=new Map,this._colorDecoratorIds=new Set,this._ruleFactory=new r4(this._editor),this._colorDecorationClassRefs=this._register(new fs),this._debounceInformation=i.for(n.colorProvider,\"Document Colors\",{min:Ope.RECOMPUTE_TIME}),this._register(e.onDidChangeModel(()=>{this._isEnabled=this.isEnabled(),this.onModelChanged()})),this._register(e.onDidChangeModelLanguage(()=>this.onModelChanged())),this._register(n.colorProvider.onDidChange(()=>this.onModelChanged())),this._register(e.onDidChangeConfiguration(()=>{let s=this._isEnabled;this._isEnabled=this.isEnabled(),s!==this._isEnabled&&(this._isEnabled?this.onModelChanged():this.removeAllDecorations())})),this._timeoutTimer=null,this._computePromise=null,this._isEnabled=this.isEnabled(),this.onModelChanged()}isEnabled(){const e=this._editor.getModel();if(!e)return!1;const t=e.getLanguageId(),n=this._configurationService.getValue(t);if(n&&typeof n==\"object\"){const i=n.colorDecorators;if(i&&i.enable!==void 0&&!i.enable)return i.enable}return this._editor.getOption(17)}static get(e){return e.getContribution(this.ID)}dispose(){this.stop(),this.removeAllDecorations(),super.dispose()}onModelChanged(){if(this.stop(),!this._isEnabled)return;const e=this._editor.getModel();!e||!this._languageFeaturesService.colorProvider.has(e)||(this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{this._timeoutTimer||(this._timeoutTimer=new g_,this._timeoutTimer.cancelAndSet(()=>{this._timeoutTimer=null,this.beginCompute()},this._debounceInformation.get(e)))})),this.beginCompute())}beginCompute(){this._computePromise=Oh(e=>QBe(this,void 0,void 0,function*(){const t=this._editor.getModel();if(!t)return Promise.resolve([]);const n=new Bf(!1),i=yield YBe(this._languageFeaturesService.colorProvider,t,e);return this._debounceInformation.update(t,n.elapsed()),i})),this._computePromise.then(e=>{this.updateDecorations(e),this.updateColorDecorators(e),this._computePromise=null},tl)}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(n=>({range:{startLineNumber:n.colorInfo.range.startLineNumber,startColumn:n.colorInfo.range.startColumn,endLineNumber:n.colorInfo.range.endLineNumber,endColumn:n.colorInfo.range.endColumn},options:_l.EMPTY}));this._decorationsIds=this._editor.deltaDecorations(this._decorationsIds,t),this._colorDatas=new Map,this._decorationsIds.forEach((n,i)=>this._colorDatas.set(n,e[i]))}updateColorDecorators(e){this._colorDecorationClassRefs.clear();let t=[];for(let n=0;n<e.length&&t.length<ZBe;n++){const{red:i,green:s,blue:a,alpha:l}=e[n].colorInfo.color,u=new Ml(Math.round(i*255),Math.round(s*255),Math.round(a*255),l);let d=`rgba(${u.r}, ${u.g}, ${u.b}, ${u.a})`;const h=this._colorDecorationClassRefs.add(this._ruleFactory.createClassNameRef({backgroundColor:d}));t.push({range:{startLineNumber:e[n].colorInfo.range.startLineNumber,startColumn:e[n].colorInfo.range.startColumn,endLineNumber:e[n].colorInfo.range.endLineNumber,endColumn:e[n].colorInfo.range.endColumn},options:{description:\"colorDetector\",before:{content:mAe,inlineClassName:`${h.className} colorpicker-color-decoration`,inlineClassNameAffectsLetterSpacing:!0,attachedData:Ppe}}})}this._colorDecoratorIds=new Set(this._editor.deltaDecorations([...this._colorDecoratorIds],t))}removeAllDecorations(){this._decorationsIds=this._editor.deltaDecorations(this._decorationsIds,[]),this._colorDecoratorIds=new Set(this._editor.deltaDecorations([...this._colorDecoratorIds],[])),this._colorDecorationClassRefs.clear()}getColorData(e){const t=this._editor.getModel();if(!t)return null;const n=t.getDecorationsInRange(He.fromPositions(e,e)).filter(i=>this._colorDatas.has(i.id));return n.length===0?null:this._colorDatas.get(n[0].id)}isColorDecorationId(e){return this._colorDecoratorIds.has(e)}};HD.ID=\"editor.contrib.colorDetector\";HD.RECOMPUTE_TIME=1e3;HD=XBe([mH(1,Uu),mH(2,$o),mH(3,jg)],HD);vu(HD.ID,HD);class eje{constructor(e,t,n){this.presentationIndex=n,this._onColorFlushed=new ri,this.onColorFlushed=this._onColorFlushed.event,this._onDidChangeColor=new ri,this.onDidChangeColor=this._onDidChangeColor.event,this._onDidChangePresentation=new ri,this.onDidChangePresentation=this._onDidChangePresentation.event,this.originalColor=e,this._color=e,this._colorPresentations=t}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)}selectNextColorPresentation(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)}guessColorPresentation(e,t){for(let n=0;n<this.colorPresentations.length;n++)if(t.toLowerCase()===this.colorPresentations[n].label){this.presentationIndex=n,this._onDidChangePresentation.fire(this.presentation);break}}flushColor(){this._onColorFlushed.fire(this._color)}}const h0=ls;class tje extends fr{constructor(e,t,n){super(),this.model=t,this.domNode=h0(\".colorpicker-header\"),Jr(e,this.domNode),this.pickedColorNode=Jr(this.domNode,h0(\".picked-color\"));const i=w(\"clickToToggleColorOptions\",\"Click to toggle color options (rgb/hsl/hex)\");this.pickedColorNode.setAttribute(\"title\",i);const s=Jr(this.domNode,h0(\".original-color\"));s.style.backgroundColor=Xi.Format.CSS.format(this.model.originalColor)||\"\",this.backgroundColor=n.getColorTheme().getColor(kD)||Xi.white,this._register(ac((a,l)=>{this.backgroundColor=a.getColor(kD)||Xi.white})),this._register(hs(this.pickedColorNode,ca.CLICK,()=>this.model.selectNextColorPresentation())),this._register(hs(s,ca.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=Xi.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)}onDidChangeColor(e){this.pickedColorNode.style.backgroundColor=Xi.Format.CSS.format(e)||\"\",this.pickedColorNode.classList.toggle(\"light\",e.rgba.a<.5?this.backgroundColor.isLighter():e.isLighter()),this.onDidChangePresentation()}onDidChangePresentation(){this.pickedColorNode.textContent=this.model.presentation?this.model.presentation.label:\"\",this.pickedColorNode.prepend(h0(\".codicon.codicon-color-mode\"))}}class nje extends fr{constructor(e,t,n){super(),this.model=t,this.pixelRatio=n,this.domNode=h0(\".colorpicker-body\"),Jr(e,this.domNode),this.saturationBox=new ije(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 rje(this.domNode,this.model),this._register(this.opacityStrip),this._register(this.opacityStrip.onDidChange(this.onDidOpacityChange,this)),this._register(this.opacityStrip.onColorFlushed(this.flushColor,this)),this.hueStrip=new sje(this.domNode,this.model),this._register(this.hueStrip),this._register(this.hueStrip.onDidChange(this.onDidHueChange,this)),this._register(this.hueStrip.onColorFlushed(this.flushColor,this))}flushColor(){this.model.flushColor()}onDidSaturationValueChange({s:e,v:t}){const n=this.model.color.hsva;this.model.color=new Xi(new O1(n.h,e,t,n.a))}onDidOpacityChange(e){const t=this.model.color.hsva;this.model.color=new Xi(new O1(t.h,t.s,t.v,e))}onDidHueChange(e){const t=this.model.color.hsva,n=(1-e)*360;this.model.color=new Xi(new O1(n===360?0:n,t.s,t.v,t.a))}layout(){this.saturationBox.layout(),this.opacityStrip.layout(),this.hueStrip.layout()}}class ije extends fr{constructor(e,t,n){super(),this.model=t,this.pixelRatio=n,this._onDidChange=new ri,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new ri,this.onColorFlushed=this._onColorFlushed.event,this.domNode=h0(\".saturation-wrap\"),Jr(e,this.domNode),this.canvas=document.createElement(\"canvas\"),this.canvas.className=\"saturation-box\",Jr(this.domNode,this.canvas),this.selection=h0(\".saturation-selection\"),Jr(this.domNode,this.selection),this.layout(),this._register(rG(this.domNode,i=>this.onMouseDown(i))),this._register(this.model.onDidChangeColor(this.onDidChangeColor,this)),this.monitor=null}onMouseDown(e){this.monitor=this._register(new dw);const t=Gh(this.domNode);e.target!==this.selection&&this.onDidChangePosition(e.offsetX,e.offsetY),this.monitor.startMonitoring(e.target,e.buttons,$E,i=>this.onDidChangePosition(i.posx-t.left,i.posy-t.top),()=>null);const n=jue(document,()=>{this._onColorFlushed.fire(),n.dispose(),this.monitor&&(this.monitor.stopMonitoring(!0),this.monitor=null)},!0)}onDidChangePosition(e,t){const n=Math.max(0,Math.min(1,e/this.width)),i=Math.max(0,Math.min(1,1-t/this.height));this.paintSelection(n,i),this._onDidChange.fire({s:n,v:i})}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 Xi(new O1(e.h,1,1,1)),n=this.canvas.getContext(\"2d\"),i=n.createLinearGradient(0,0,this.canvas.width,0);i.addColorStop(0,\"rgba(255, 255, 255, 1)\"),i.addColorStop(.5,\"rgba(255, 255, 255, 0.5)\"),i.addColorStop(1,\"rgba(255, 255, 255, 0)\");const s=n.createLinearGradient(0,0,0,this.canvas.height);s.addColorStop(0,\"rgba(0, 0, 0, 0)\"),s.addColorStop(1,\"rgba(0, 0, 0, 1)\"),n.rect(0,0,this.canvas.width,this.canvas.height),n.fillStyle=Xi.Format.CSS.format(t),n.fill(),n.fillStyle=i,n.fill(),n.fillStyle=s,n.fill()}paintSelection(e,t){this.selection.style.left=`${e*this.width}px`,this.selection.style.top=`${this.height-t*this.height}px`}onDidChangeColor(){this.monitor&&this.monitor.isMonitoring()||this.paint()}}class Mpe extends fr{constructor(e,t){super(),this.model=t,this._onDidChange=new ri,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new ri,this.onColorFlushed=this._onColorFlushed.event,this.domNode=Jr(e,h0(\".strip\")),this.overlay=Jr(this.domNode,h0(\".overlay\")),this.slider=Jr(this.domNode,h0(\".slider\")),this.slider.style.top=\"0px\",this._register(rG(this.domNode,n=>this.onMouseDown(n))),this.layout()}layout(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;const e=this.getValue(this.model.color);this.updateSliderPosition(e)}onMouseDown(e){const t=this._register(new dw),n=Gh(this.domNode);this.domNode.classList.add(\"grabbing\"),e.target!==this.slider&&this.onDidChangeTop(e.offsetY),t.startMonitoring(e.target,e.buttons,$E,s=>this.onDidChangeTop(s.posy-n.top),()=>null);const i=jue(document,()=>{this._onColorFlushed.fire(),i.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 rje extends Mpe{constructor(e,t){super(e,t),this.domNode.classList.add(\"opacity-strip\"),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this.onDidChangeColor(this.model.color)}onDidChangeColor(e){const{r:t,g:n,b:i}=e.rgba,s=new Xi(new Ml(t,n,i,1)),a=new Xi(new Ml(t,n,i,0));this.overlay.style.background=`linear-gradient(to bottom, ${s} 0%, ${a} 100%)`}getValue(e){return e.hsva.a}}class sje extends Mpe{constructor(e,t){super(e,t),this.domNode.classList.add(\"hue-strip\")}getValue(e){return 1-e.hsva.h/360}}class oje extends Lm{constructor(e,t,n,i){super(),this.model=t,this.pixelRatio=n,this._register(nE.onDidChange(()=>this.layout()));const s=h0(\".colorpicker-widget\");e.appendChild(s);const a=new tje(s,this.model,i);this.body=new nje(s,this.model,this.pixelRatio),this._register(a),this._register(this.body)}layout(){this.body.layout()}}var aje=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},lje=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},uae=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};class uje{constructor(e,t,n,i){this.owner=e,this.range=t,this.model=n,this.provider=i,this.forceShowAtRange=!0}isValidForHoverAnchor(e){return e.type===1&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}let oK=class{constructor(e,t){this._editor=e,this._themeService=t,this.hoverOrdinal=1}computeSync(e,t){return[]}computeAsync(e,t,n){return vd.fromPromise(this._computeAsync(e,t,n))}_computeAsync(e,t,n){return uae(this,void 0,void 0,function*(){if(!this._editor.hasModel())return[];const i=HD.get(this._editor);if(!i)return[];for(const s of t){if(!i.isColorDecorationId(s.id))continue;const a=i.getColorData(s.range.getStartPosition());if(a)return[yield this._createColorHover(this._editor.getModel(),a.colorInfo,a.provider)]}return[]})}_createColorHover(e,t,n){return uae(this,void 0,void 0,function*(){const i=e.getValueInRange(t.range),{red:s,green:a,blue:l,alpha:u}=t.color,d=new Ml(Math.round(s*255),Math.round(a*255),Math.round(l*255),u),h=new Xi(d),p=yield lae(e,t,n,Ll.None),g=new eje(h,[],0);return g.colorPresentations=p||[],g.guessColorPresentation(h,i),new uje(this,He.lift(t.range),g,n)})}renderHoverParts(e,t){if(t.length===0||!this._editor.hasModel())return fr.None;const n=new fs,i=t[0],s=this._editor.getModel(),a=i.model,l=n.add(new oje(e.fragment,a,this._editor.getOption(129),this._themeService));e.setColorPicker(l);let u=new He(i.range.startLineNumber,i.range.startColumn,i.range.endLineNumber,i.range.endColumn);const d=()=>{let p,g;if(a.presentation.textEdit){p=[a.presentation.textEdit],g=new He(a.presentation.textEdit.range.startLineNumber,a.presentation.textEdit.range.startColumn,a.presentation.textEdit.range.endLineNumber,a.presentation.textEdit.range.endColumn);const y=this._editor.getModel()._setTrackedRange(null,g,3);this._editor.pushUndoStop(),this._editor.executeEdits(\"colorpicker\",p),g=this._editor.getModel()._getTrackedRange(y)||g}else p=[{range:u,text:a.presentation.label,forceMoveMarkers:!1}],g=u.setEndPosition(u.endLineNumber,u.startColumn+a.presentation.label.length),this._editor.pushUndoStop(),this._editor.executeEdits(\"colorpicker\",p);a.presentation.additionalTextEdits&&(p=[...a.presentation.additionalTextEdits],this._editor.executeEdits(\"colorpicker\",p),e.hide()),this._editor.pushUndoStop(),u=g},h=p=>lae(s,{range:u,color:{red:p.rgba.r/255,green:p.rgba.g/255,blue:p.rgba.b/255,alpha:p.rgba.a}},i.provider,Ll.None).then(g=>{a.colorPresentations=g||[]});return n.add(a.onColorFlushed(p=>{h(p).then(d)})),n.add(a.onDidChangeColor(h)),n}};oK=aje([lje(1,gc)],oK);function aK(o,e){return!!o[e]}class yH{constructor(e,t){this.target=e.target,this.hasTriggerModifier=aK(e.event,t.triggerModifier),this.hasSideBySideModifier=aK(e.event,t.triggerSideBySideModifier),this.isNoneOrSingleMouseDown=e.event.detail<=1}}class cae{constructor(e,t){this.keyCodeIsTriggerKey=e.keyCode===t.triggerKey,this.keyCodeIsSideBySideKey=e.keyCode===t.triggerSideBySideKey,this.hasTriggerModifier=aK(e,t.triggerModifier)}}class D5{constructor(e,t,n,i){this.triggerKey=e,this.triggerModifier=t,this.triggerSideBySideKey=n,this.triggerSideBySideModifier=i}equals(e){return this.triggerKey===e.triggerKey&&this.triggerModifier===e.triggerModifier&&this.triggerSideBySideKey===e.triggerSideBySideKey&&this.triggerSideBySideModifier===e.triggerSideBySideModifier}}function dae(o){return o===\"altKey\"?El?new D5(57,\"metaKey\",6,\"altKey\"):new D5(5,\"ctrlKey\",6,\"altKey\"):El?new D5(6,\"altKey\",57,\"metaKey\"):new D5(6,\"altKey\",5,\"ctrlKey\")}class XJ extends fr{constructor(e){super(),this._onMouseMoveOrRelevantKeyDown=this._register(new ri),this.onMouseMoveOrRelevantKeyDown=this._onMouseMoveOrRelevantKeyDown.event,this._onExecute=this._register(new ri),this.onExecute=this._onExecute.event,this._onCancel=this._register(new ri),this.onCancel=this._onCancel.event,this._editor=e,this._opts=dae(this._editor.getOption(70)),this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._register(this._editor.onDidChangeConfiguration(t=>{if(t.hasChanged(70)){const n=dae(this._editor.getOption(70));if(this._opts.equals(n))return;this._opts=n,this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._onCancel.fire()}})),this._register(this._editor.onMouseMove(t=>this._onEditorMouseMove(new yH(t,this._opts)))),this._register(this._editor.onMouseDown(t=>this._onEditorMouseDown(new yH(t,this._opts)))),this._register(this._editor.onMouseUp(t=>this._onEditorMouseUp(new yH(t,this._opts)))),this._register(this._editor.onKeyDown(t=>this._onEditorKeyDown(new cae(t,this._opts)))),this._register(this._editor.onKeyUp(t=>this._onEditorKeyUp(new cae(t,this._opts)))),this._register(this._editor.onMouseDrag(()=>this._resetHandler())),this._register(this._editor.onDidChangeCursorSelection(t=>this._onDidChangeCursorSelection(t))),this._register(this._editor.onDidChangeModel(t=>this._resetHandler())),this._register(this._editor.onDidChangeModelContent(()=>this._resetHandler())),this._register(this._editor.onDidScrollChange(t=>{(t.scrollTopChanged||t.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=e.target.position?e.target.position.lineNumber:0}_onEditorMouseUp(e){const t=e.target.position?e.target.position.lineNumber:0;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()}}var cje=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},Uy=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let $D=class extends uL{constructor(e,t,n,i,s,a,l,u,d,h,p,g){super(e,Object.assign(Object.assign({},n.getRawOptions()),{overflowWidgetsDomNode:n.getOverflowWidgetsDomNode()}),{},i,s,a,l,u,d,h,p,g),this._parentEditor=n,this._overwriteOptions=t,super.updateOptions(this._overwriteOptions),this._register(n.onDidChangeConfiguration(y=>this._onParentConfigurationChanged(y)))}getParentEditor(){return this._parentEditor}_onParentConfigurationChanged(e){super.updateOptions(this._parentEditor.getRawOptions()),super.updateOptions(this._overwriteOptions)}updateOptions(e){iy(this._overwriteOptions,e,!0),super.updateOptions(this._overwriteOptions)}};$D=cje([Uy(3,Nl),Uy(4,Eu),Uy(5,Dd),Uy(6,Xa),Uy(7,gc),Uy(8,Sd),Uy(9,m_),Uy(10,Dp),Uy(11,$o)],$D);const hae=new Xi(new Ml(0,122,204)),dje={showArrow:!0,showFrame:!0,className:\"\",frameColor:hae,arrowColor:hae,keepEditorSelection:!1},hje=\"vs.editor.contrib.zoneWidget\";class pje{constructor(e,t,n,i,s,a){this.id=\"\",this.domNode=e,this.afterLineNumber=t,this.afterColumn=n,this.heightInLines=i,this._onDomNodeTop=s,this._onComputedHeight=a}onDomNodeTop(e){this._onDomNodeTop(e)}onComputedHeight(e){this._onComputedHeight(e)}}class fje{constructor(e,t){this._id=e,this._domNode=t}getId(){return this._id}getDomNode(){return this._domNode}getPosition(){return null}}class O9{constructor(e){this._editor=e,this._ruleName=O9._IdGenerator.nextId(),this._decorations=[],this._color=null,this._height=-1}dispose(){this.hide(),Cre(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(){Cre(this._ruleName),gz(`.monaco-editor ${this._ruleName}`,`border-style: solid; border-color: transparent; border-bottom-color: ${this._color}; border-width: ${this._height}px; bottom: -${this._height}px; margin-left: -${this._height}px; `)}show(e){e.column===1&&(e={lineNumber:e.lineNumber,column:2}),this._decorations=this._editor.deltaDecorations(this._decorations,[{range:He.fromPositions(e),options:{description:\"zone-widget-arrow\",className:this._ruleName,stickiness:1}}])}hide(){this._editor.deltaDecorations(this._decorations,[])}}O9._IdGenerator=new hJ(\".arrow-decoration-\");class _je{constructor(e,t={}){this._arrow=null,this._overlayWidget=null,this._resizeSash=null,this._positionMarkerId=[],this._viewZone=null,this._disposables=new fs,this.container=null,this._isShowing=!1,this.editor=e,this.options=tb(t),iy(this.options,dje,!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(n=>{const i=this._getWidth(n);this.domNode.style.width=i+\"px\",this.domNode.style.left=this._getLeft(n)+\"px\",this._onWidth(i)}))}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.editor.deltaDecorations(this._positionMarkerId,[]),this._positionMarkerId=[],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 O9(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){let e=this.options.frameColor.toString();this.container.style.borderTopColor=e,this.container.style.borderBottomColor=e}if(this._arrow&&this.options.arrowColor){let 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){if(this.domNode.style.height=`${e}px`,this.container){let t=e-this._decoratingElementsHeight();this.container.style.height=`${t}px`;const n=this.editor.getLayoutInfo();this._doLayout(t,this._getWidth(n))}this._resizeSash&&this._resizeSash.layout()}get position(){const[e]=this._positionMarkerId;if(!e)return;const t=this.editor.getModel();if(!t)return;const n=t.getDecorationRange(e);if(!!n)return n.getStartPosition()}show(e,t){const n=He.isIRange(e)?He.lift(e):He.fromPositions(e);this._isShowing=!0,this._showImpl(n,t),this._isShowing=!1,this._positionMarkerId=this.editor.deltaDecorations(this._positionMarkerId,[{range:n,options:_l.EMPTY}])}hide(){this._viewZone&&(this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id)}),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._arrow&&this._arrow.hide()}_decoratingElementsHeight(){let e=this.editor.getOption(59),t=0;if(this.options.showArrow){let n=Math.round(e/3);t+=2*n}if(this.options.showFrame){let n=Math.round(e/9);t+=2*n}return t}_showImpl(e,t){const n=e.getStartPosition(),i=this.editor.getLayoutInfo(),s=this._getWidth(i);this.domNode.style.width=`${s}px`,this.domNode.style.left=this._getLeft(i)+\"px\";const a=document.createElement(\"div\");a.style.overflow=\"hidden\";const l=this.editor.getOption(59),u=Math.max(12,this.editor.getLayoutInfo().height/l*.8);t=Math.min(t,u);let d=0,h=0;if(this._arrow&&this.options.showArrow&&(d=Math.round(l/3),this._arrow.height=d,this._arrow.show(n)),this.options.showFrame&&(h=Math.round(l/9)),this.editor.changeViewZones(y=>{this._viewZone&&y.removeZone(this._viewZone.id),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this.domNode.style.top=\"-1000px\",this._viewZone=new pje(a,n.lineNumber,n.column,t,D=>this._onViewZoneTop(D),D=>this._onViewZoneHeight(D)),this._viewZone.id=y.addZone(this._viewZone),this._overlayWidget=new fje(hje+this._viewZone.id,this.domNode),this.editor.addOverlayWidget(this._overlayWidget)}),this.container&&this.options.showFrame){const y=this.options.frameWidth?this.options.frameWidth:h;this.container.style.borderTopWidth=y+\"px\",this.container.style.borderBottomWidth=y+\"px\"}let p=t*l-this._decoratingElementsHeight();this.container&&(this.container.style.top=d+\"px\",this.container.style.height=p+\"px\",this.container.style.overflow=\"hidden\"),this._doLayout(p,s),this.options.keepEditorSelection||this.editor.setSelection(e);const g=this.editor.getModel();if(g){const y=e.endLineNumber+1;y<=g.getLineCount()?this.revealLine(y,!1):this.revealLine(g.getLineCount(),!0)}}revealLine(e,t){t?this.editor.revealLineInCenter(e,0):this.editor.revealLine(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 gp(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){let n=(t.currentY-e.startY)/this.editor.getOption(59),i=n<0?Math.ceil(n):Math.floor(n),s=e.heightInLines+i;s>5&&s<35&&this._relayout(s)}}))}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}}class gje extends oE{constructor(e,t){super(),this._onDidChangeVisibility=this._register(new ri),this.onDidChangeVisibility=this._onDidChangeVisibility.event,this._element=Jr(e,ls(\".monaco-dropdown\")),this._label=Jr(this._element,ls(\".dropdown-label\"));let n=t.labelRenderer;n||(n=s=>(s.textContent=t.label||\"\",null));for(const s of[ca.CLICK,ca.MOUSE_DOWN,sc.Tap])this._register(hs(this.element,s,a=>xu.stop(a,!0)));for(const s of[ca.MOUSE_DOWN,sc.Tap])this._register(hs(this._label,s,a=>{a instanceof MouseEvent&&a.detail>1||(this.visible?this.hide():this.show())}));this._register(hs(this._label,ca.KEY_UP,s=>{const a=new _c(s);(a.equals(3)||a.equals(10))&&(xu.stop(s,!0),this.visible?this.hide():this.show())}));const i=n(this._label);i&&this._register(i),this._register(Iu.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 mje extends gje{constructor(e,t){super(e,t),this._actions=[],this._contextMenuProvider=t.contextMenuProvider,this.actions=t.actions||[],this.actionProvider=t.actionProvider,this.menuClassName=t.menuClassName||\"\",this.menuAsChild=!!t.menuAsChild}set menuOptions(e){this._menuOptions=e}get menuOptions(){return this._menuOptions}get actions(){return this.actionProvider?this.actionProvider.getActions():this._actions}set actions(e){this._actions=e}show(){super.show(),this.element.classList.add(\"active\"),this._contextMenuProvider.showContextMenu({getAnchor:()=>this.element,getActions:()=>this.actions,getActionsContext:()=>this.menuOptions?this.menuOptions.context:null,getActionViewItem:e=>this.menuOptions&&this.menuOptions.actionViewItemProvider?this.menuOptions.actionViewItemProvider(e):void 0,getKeyBinding:e=>this.menuOptions&&this.menuOptions.getKeyBinding?this.menuOptions.getKeyBinding(e):void 0,getMenuClassName:()=>this.menuClassName,onHide:()=>this.onHide(),actionRunner:this.menuOptions?this.menuOptions.actionRunner:void 0,anchorAlignment:this.menuOptions?this.menuOptions.anchorAlignment:0,domForShadowRoot:this.menuAsChild?this.element:void 0})}hide(){super.hide()}onHide(){this.hide(),this.element.classList.remove(\"active\")}}class Rpe extends x1{constructor(e,t,n,i=Object.create(null)){super(null,e,i),this.actionItem=null,this._onDidChangeVisibility=this._register(new ri),this.menuActionsOrProvider=t,this.contextMenuProvider=n,this.options=i,this.options.actionRunner&&(this.actionRunner=this.options.actionRunner)}render(e){this.actionItem=e;const t=s=>{this.element=Jr(s,ls(\"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.element.title=this._action.label||\"\",null},n=Array.isArray(this.menuActionsOrProvider),i={contextMenuProvider:this.contextMenuProvider,labelRenderer:t,menuAsChild:this.options.menuAsChild,actions:n?this.menuActionsOrProvider:void 0,actionProvider:n?void 0:this.menuActionsOrProvider};if(this.dropdownMenu=this._register(new mje(e,i)),this._register(this.dropdownMenu.onDidChangeVisibility(s=>{var a;(a=this.element)===null||a===void 0||a.setAttribute(\"aria-expanded\",`${s}`),this._onDidChangeVisibility.fire(s)})),this.dropdownMenu.menuOptions={actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,getKeyBinding:this.options.keybindingProvider,context:this._context},this.options.anchorAlignmentProvider){const s=this;this.dropdownMenu.menuOptions=Object.assign(Object.assign({},this.dropdownMenu.menuOptions),{get anchorAlignment(){return s.options.anchorAlignmentProvider()}})}this.updateEnabled()}setActionContext(e){super.setActionContext(e),this.dropdownMenu&&(this.dropdownMenu.menuOptions?this.dropdownMenu.menuOptions.context=e:this.dropdownMenu.menuOptions={context:e})}updateEnabled(){var e,t;const n=!this.getAction().enabled;(e=this.actionItem)===null||e===void 0||e.classList.toggle(\"disabled\",n),(t=this.element)===null||t===void 0||t.classList.toggle(\"disabled\",n)}}var QJ=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},E1=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},Bpe=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};function yje(o,e,t,n,i,s,a){const l=o.getActions(e);return vje(l,t,!1,typeof n==\"string\"?d=>d===n:n,i,s,a),bje(l)}function bje(o){const e=new fs;for(const[,t]of o)for(const n of t)e.add(n);return e}function vje(o,e,t,n=l=>l===\"navigation\",i=Number.MAX_SAFE_INTEGER,s=()=>!1,a=!1){let l,u;Array.isArray(e)?(l=e,u=e):(l=e.primary,u=e.secondary);const d=new Set;for(const[h,p]of o){let g;n(h)?(g=l,g.length>0&&a&&g.push(new Ag)):(g=u,g.length>0&&g.push(new Ag));for(let y of p){t&&(y=y instanceof iC&&y.alt?y.alt:y);const D=g.push(y);y instanceof IP&&d.add({group:h,action:y,index:D-1})}}for(const{group:h,action:p,index:g}of d){const y=n(h)?l:u,D=p.actions;(D.length<=1||y.length+D.length-2<=i)&&s(p,h,y.length)&&y.splice(g,1,...D)}if(l!==u&&l.length>i){const h=l.splice(i,l.length-i);u.unshift(...h,new Ag)}}let SE=class extends cL{constructor(e,t,n,i,s){super(void 0,e,{icon:!!(e.class||e.item.icon),label:!e.class&&!e.item.icon,draggable:t==null?void 0:t.draggable}),this._keybindingService=n,this._notificationService=i,this._contextKeyService=s,this._wantsAltCommand=!1,this._itemClassDispose=this._register(new _f),this._altKey=Q2.getInstance()}get _menuItemAction(){return this._action}get _commandAction(){return this._wantsAltCommand&&this._menuItemAction.alt||this._menuItemAction}onClick(e){return Bpe(this,void 0,void 0,function*(){e.preventDefault(),e.stopPropagation();try{yield this.actionRunner.run(this._commandAction,this._context)}catch(t){this._notificationService.error(t)}})}render(e){super.render(e),e.classList.add(\"menu-entry\"),this._updateItemClass(this._menuItemAction.item);let t=!1,n=this._altKey.keyStatus.altKey||(Ph||vp)&&this._altKey.keyStatus.shiftKey;const i=()=>{const s=t&&n;s!==this._wantsAltCommand&&(this._wantsAltCommand=s,this.updateLabel(),this.updateTooltip(),this.updateClass())};this._menuItemAction.alt&&this._register(this._altKey.event(s=>{n=s.altKey||(Ph||vp)&&s.shiftKey,i()})),this._register(hs(e,\"mouseleave\",s=>{t=!1,i()})),this._register(hs(e,\"mouseenter\",s=>{t=!0,i()}))}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this._commandAction.label)}updateTooltip(){if(this.label){const e=this._keybindingService.lookupKeybinding(this._commandAction.id,this._contextKeyService),t=e&&e.getLabel(),n=this._commandAction.tooltip||this._commandAction.label;let i=t?w(\"titleAndKb\",\"{0} ({1})\",n,t):n;if(!this._wantsAltCommand&&this._menuItemAction.alt){const s=this._menuItemAction.alt.tooltip||this._menuItemAction.alt.label,a=this._keybindingService.lookupKeybinding(this._menuItemAction.alt.id,this._contextKeyService),l=a&&a.getLabel(),u=l?w(\"titleAndKb\",\"{0} ({1})\",s,l):s;i+=`\n[${XG.modifierLabels[bg].altKey}] ${u}`}this.label.title=i}}updateClass(){this.options.icon&&(this._commandAction!==this._menuItemAction?this._menuItemAction.alt&&this._updateItemClass(this._menuItemAction.alt.item):this._menuItemAction.alt&&this._updateItemClass(this._menuItemAction.item))}_updateItemClass(e){var t;this._itemClassDispose.value=void 0;const{element:n,label:i}=this;if(!n||!i)return;const s=this._commandAction.checked&&((t=e.toggled)===null||t===void 0?void 0:t.icon)?e.toggled.icon:e.icon;if(!!s)if(zu.isThemeIcon(s)){const a=zu.asClassNameArray(s);i.classList.add(...a),this._itemClassDispose.value=wl(()=>{i.classList.remove(...a)})}else s.light&&i.style.setProperty(\"--menu-entry-icon-light\",TD(s.light)),s.dark&&i.style.setProperty(\"--menu-entry-icon-dark\",TD(s.dark)),i.classList.add(\"icon\"),this._itemClassDispose.value=wl(()=>{i.classList.remove(\"icon\"),i.style.removeProperty(\"--menu-entry-icon-light\"),i.style.removeProperty(\"--menu-entry-icon-dark\")})}};SE=QJ([E1(2,Xc),E1(3,Sd),E1(4,Xa)],SE);let lK=class extends Rpe{constructor(e,t,n){var i,s;const a=Object.assign({},t!=null?t:Object.create(null),{menuAsChild:(i=t==null?void 0:t.menuAsChild)!==null&&i!==void 0?i:!1,classNames:(s=t==null?void 0:t.classNames)!==null&&s!==void 0?s:zu.isThemeIcon(e.item.icon)?zu.asClassName(e.item.icon):void 0});super(e,{getActions:()=>e.actions},n,a)}render(e){if(super.render(e),this.element){e.classList.add(\"menu-entry\");const{icon:t}=this._action.item;t&&!zu.isThemeIcon(t)&&(this.element.classList.add(\"icon\"),t.light&&this.element.style.setProperty(\"--menu-entry-icon-light\",TD(t.light)),t.dark&&this.element.style.setProperty(\"--menu-entry-icon-dark\",TD(t.dark)))}}};lK=QJ([E1(2,vC)],lK);let uK=class extends x1{constructor(e,t,n,i,s,a,l,u){var d,h,p;super(null,e),this._keybindingService=n,this._notificationService=i,this._contextMenuService=s,this._menuService=a,this._instaService=l,this._storageService=u,this._container=null,this._storageKey=`${e.item.submenu._debugName}_lastActionId`;let g,y=u.get(this._storageKey,1);y&&(g=e.actions.find(T=>y===T.id)),g||(g=e.actions[0]),this._defaultAction=this._instaService.createInstance(SE,g,void 0);const D=Object.assign({},t!=null?t:Object.create(null),{menuAsChild:(d=t==null?void 0:t.menuAsChild)!==null&&d!==void 0?d:!0,classNames:(h=t==null?void 0:t.classNames)!==null&&h!==void 0?h:[\"codicon\",\"codicon-chevron-down\"],actionRunner:(p=t==null?void 0:t.actionRunner)!==null&&p!==void 0?p:new oE});this._dropdown=new Rpe(e,e.actions,this._contextMenuService,D),this._dropdown.actionRunner.onDidRun(T=>{T.action instanceof iC&&this.update(T.action)})}update(e){this._storageService.store(this._storageKey,e.id,1,0),this._defaultAction.dispose(),this._defaultAction=this._instaService.createInstance(SE,e,void 0),this._defaultAction.actionRunner=new class extends oE{runAction(t,n){return Bpe(this,void 0,void 0,function*(){yield t.run(void 0)})}},this._container&&this._defaultAction.render(K3e(this._container,ls(\".action-container\")))}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=ls(\".action-container\");this._defaultAction.render(Jr(this._container,t)),this._register(hs(t,ca.KEY_DOWN,i=>{const s=new _c(i);s.equals(17)&&(this._defaultAction.element.tabIndex=-1,this._dropdown.focus(),s.stopPropagation())}));const n=ls(\".dropdown-action-container\");this._dropdown.render(Jr(this._container,n)),this._register(hs(n,ca.KEY_DOWN,i=>{var s;const a=new _c(i);a.equals(15)&&(this._defaultAction.element.tabIndex=0,this._dropdown.setFocusable(!1),(s=this._defaultAction.element)===null||s===void 0||s.focus(),a.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()}};uK=QJ([E1(2,Xc),E1(3,Sd),E1(4,vC),E1(5,cw),E1(6,Nl),E1(7,cy)],uK);function Cje(o,e,t){return e instanceof iC?o.createInstance(SE,e,void 0):e instanceof hG?e.item.rememberDefaultAction?o.createInstance(uK,e,t):o.createInstance(lK,e,t):void 0}var jpe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},Wpe=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};const Vpe=zl(\"IPeekViewService\");su(Vpe,class{constructor(){this._widgets=new Map}addExclusiveWidget(o,e){const t=this._widgets.get(o);t&&(t.listener.dispose(),t.widget.dispose());const n=()=>{const i=this._widgets.get(o);i&&i.widget===e&&(i.listener.dispose(),this._widgets.delete(o))};this._widgets.set(o,{widget:e,listener:e.onDidClose(n)})}});var jf;(function(o){o.inPeekEditor=new Do(\"inReferenceSearchEditor\",!0,w(\"inReferenceSearchEditor\",\"Whether the current code editor is embedded inside peek\")),o.notInPeekEditor=o.inPeekEditor.toNegated()})(jf||(jf={}));let AL=class{constructor(e,t){e instanceof $D&&jf.inPeekEditor.bindTo(t)}dispose(){}};AL.ID=\"editor.contrib.referenceController\";AL=jpe([Wpe(1,Xa)],AL);vu(AL.ID,AL);function Dje(o){let e=o.get(Eu).getFocusedCodeEditor();return e instanceof $D?e.getParentEditor():e}const wje={headerBackgroundColor:Xi.white,primaryHeadingColor:Xi.fromHex(\"#333333\"),secondaryHeadingColor:Xi.fromHex(\"#6c6c6cb3\")};let Q7=class extends _je{constructor(e,t,n){super(e,t),this.instantiationService=n,this._onDidClose=new ri,this.onDidClose=this._onDidClose.event,iy(this.options,wje,!1)}dispose(){this.disposed||(this.disposed=!0,super.dispose(),this._onDidClose.fire(this))}style(e){let 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();let 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=ls(\".head\"),this._bodyElement=ls(\".body\"),this._fillHead(this._headElement),this._fillBody(this._bodyElement),e.appendChild(this._headElement),e.appendChild(this._bodyElement)}_fillHead(e,t){const n=ls(\".peekview-title\");this.options.supportOnTitleClick&&(n.classList.add(\"clickable\"),Fh(n,\"click\",a=>this._onTitleClick(a))),Jr(this._headElement,n),this._fillTitleIcon(n),this._primaryHeading=ls(\"span.filename\"),this._secondaryHeading=ls(\"span.dirname\"),this._metaHeading=ls(\"span.meta\"),Jr(n,this._primaryHeading,this._secondaryHeading,this._metaHeading);const i=ls(\".peekview-actions\");Jr(this._headElement,i);const s=this._getActionBarOptions();this._actionbarWidget=new Z1(i,s),this._disposables.add(this._actionbarWidget),t||this._actionbarWidget.push(new h_(\"peekview.close\",w(\"label.close\",\"Close\"),E.close.classNames,!0,()=>(this.dispose(),Promise.resolve())),{label:!1,icon:!0})}_fillTitleIcon(e){}_getActionBarOptions(){return{actionViewItemProvider:Cje.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:nh(this._secondaryHeading))}setMetaTitle(e){this._metaHeading&&(e?(this._metaHeading.innerText=e,W_(this._metaHeading)):Of(this._metaHeading))}_doLayout(e,t){if(!this._isShowing&&e<0){this.dispose();return}const n=Math.ceil(this.editor.getOption(59)*1.2),i=Math.round(e-(n+2));this._doLayoutHead(n,t),this._doLayoutBody(i,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`)}};Q7=jpe([Wpe(2,Nl)],Q7);const Sje=ln(\"peekViewTitle.background\",{dark:Ra(G_,.1),light:Ra(G_,.1),hc:null},w(\"peekViewTitleBackground\",\"Background color of the peek view title area.\")),Hpe=ln(\"peekViewTitleLabel.foreground\",{dark:Xi.white,light:Xi.black,hc:Xi.white},w(\"peekViewTitleForeground\",\"Color of the peek view title.\")),$pe=ln(\"peekViewTitleDescription.foreground\",{dark:\"#ccccccb3\",light:\"#616161\",hc:\"#FFFFFF99\"},w(\"peekViewTitleInfoForeground\",\"Color of the peek view title info.\")),xje=ln(\"peekView.border\",{dark:G_,light:G_,hc:Sc},w(\"peekViewBorder\",\"Color of the peek view borders and arrow.\")),Eje=ln(\"peekViewResult.background\",{dark:\"#252526\",light:\"#F3F3F3\",hc:Xi.black},w(\"peekViewResultsBackground\",\"Background color of the peek view result list.\"));ln(\"peekViewResult.lineForeground\",{dark:\"#bbbbbb\",light:\"#646465\",hc:Xi.white},w(\"peekViewResultsMatchForeground\",\"Foreground color for line nodes in the peek view result list.\"));ln(\"peekViewResult.fileForeground\",{dark:Xi.white,light:\"#1E1E1E\",hc:Xi.white},w(\"peekViewResultsFileForeground\",\"Foreground color for file nodes in the peek view result list.\"));ln(\"peekViewResult.selectionBackground\",{dark:\"#3399ff33\",light:\"#3399ff33\",hc:null},w(\"peekViewResultsSelectionBackground\",\"Background color of the selected entry in the peek view result list.\"));ln(\"peekViewResult.selectionForeground\",{dark:Xi.white,light:\"#6C6C6C\",hc:Xi.white},w(\"peekViewResultsSelectionForeground\",\"Foreground color of the selected entry in the peek view result list.\"));const bH=ln(\"peekViewEditor.background\",{dark:\"#001F33\",light:\"#F2F8FC\",hc:Xi.black},w(\"peekViewEditorBackground\",\"Background color of the peek view editor.\"));ln(\"peekViewEditorGutter.background\",{dark:bH,light:bH,hc:bH},w(\"peekViewEditorGutterBackground\",\"Background color of the gutter in the peek view editor.\"));ln(\"peekViewResult.matchHighlightBackground\",{dark:\"#ea5c004d\",light:\"#ea5c004d\",hc:null},w(\"peekViewResultsMatchHighlight\",\"Match highlight color in the peek view result list.\"));ln(\"peekViewEditor.matchHighlightBackground\",{dark:\"#ff8f0099\",light:\"#f5d802de\",hc:null},w(\"peekViewEditorMatchHighlight\",\"Match highlight color in the peek view editor.\"));ln(\"peekViewEditor.matchHighlightBorder\",{dark:null,light:null,hc:Bp},w(\"peekViewEditorMatchHighlightBorder\",\"Match highlight border in the peek view editor.\"));var Tje=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};class hC{constructor(e,t,n,i){this.isProviderFirst=e,this.parent=t,this.link=n,this._rangeCallback=i,this.id=ahe.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?w({key:\"aria.oneReference.preview\",comment:[\"Placeholders are: 0: filename, 1:line number, 2: column number, 3: preview snippet of source code\"]},\"symbol in {0} on line {1} at column {2}, {3}\",Mg(this.uri),this.range.startLineNumber,this.range.startColumn,t.value):w(\"aria.oneReference\",\"symbol in {0} on line {1} at column {2}\",Mg(this.uri),this.range.startLineNumber,this.range.startColumn)}}class Aje{constructor(e){this._modelReference=e}dispose(){this._modelReference.dispose()}preview(e,t=8){const n=this._modelReference.object.textEditorModel;if(!n)return;const{startLineNumber:i,startColumn:s,endLineNumber:a,endColumn:l}=e,u=n.getWordUntilPosition({lineNumber:i,column:s-t}),d=new He(i,u.startColumn,i,s),h=new He(a,l,a,1073741824),p=n.getValueInRange(d).replace(/^\\s+/,\"\"),g=n.getValueInRange(e),y=n.getValueInRange(h).replace(/\\s+$/,\"\");return{value:p+g+y,highlight:{start:p.length,end:p.length+g.length}}}}class kL{constructor(e,t){this.parent=e,this.uri=t,this.children=[],this._previews=new hf}dispose(){eu(this._previews.values()),this._previews.clear()}getPreview(e){return this._previews.get(e.uri)}get ariaMessage(){const e=this.children.length;return e===1?w(\"aria.fileReferences.1\",\"1 symbol in {0}, full path {1}\",Mg(this.uri),this.uri.fsPath):w(\"aria.fileReferences.N\",\"{0} symbols in {1}, full path {2}\",e,Mg(this.uri),this.uri.fsPath)}resolve(e){return Tje(this,void 0,void 0,function*(){if(this._previews.size!==0)return this;for(let t of this.children)if(!this._previews.has(t.uri))try{const n=yield e.createModelReference(t.uri);this._previews.set(t.uri,new Aje(n))}catch(n){tl(n)}return this})}}class p_{constructor(e,t){this.groups=[],this.references=[],this._onDidChangeReferenceRange=new ri,this.onDidChangeReferenceRange=this._onDidChangeReferenceRange.event,this._links=e,this._title=t;const[n]=e;e.sort(p_._compareReferences);let i;for(let s of e)if((!i||!oc.isEqual(i.uri,s.uri,!0))&&(i=new kL(this,s.uri),this.groups.push(i)),i.children.length===0||p_._compareReferences(s,i.children[i.children.length-1])!==0){const a=new hC(n===s,i,s,l=>this._onDidChangeReferenceRange.fire(l));this.references.push(a),i.children.push(a)}}dispose(){eu(this.groups),this._onDidChangeReferenceRange.dispose(),this.groups.length=0}clone(){return new p_(this._links,this._title)}get title(){return this._title}get isEmpty(){return this.groups.length===0}get ariaMessage(){return this.isEmpty?w(\"aria.result.0\",\"No results found\"):this.references.length===1?w(\"aria.result.1\",\"Found 1 symbol in {0}\",this.references[0].uri.fsPath):this.groups.length===1?w(\"aria.result.n1\",\"Found {0} symbols in {1}\",this.references.length,this.groups[0].uri.fsPath):w(\"aria.result.nm\",\"Found {0} symbols in {1} files\",this.references.length,this.groups.length)}nextOrPreviousReference(e,t){let{parent:n}=e,i=n.children.indexOf(e),s=n.children.length,a=n.parent.groups.length;return a===1||t&&i+1<s||!t&&i>0?(t?i=(i+1)%s:i=(i+s-1)%s,n.children[i]):(i=n.parent.groups.indexOf(n),t?(i=(i+1)%a,n.parent.groups[i].children[0]):(i=(i+a-1)%a,n.parent.groups[i].children[n.parent.groups[i].children.length-1]))}nearestReference(e,t){const n=this.references.map((i,s)=>({idx:s,prefixLen:tE(i.uri.toString(),e.toString()),offsetDist:Math.abs(i.range.startLineNumber-t.lineNumber)*100+Math.abs(i.range.startColumn-t.column)})).sort((i,s)=>i.prefixLen>s.prefixLen?-1:i.prefixLen<s.prefixLen?1:i.offsetDist<s.offsetDist?-1:i.offsetDist>s.offsetDist?1:0)[0];if(n)return this.references[n.idx]}referenceAt(e,t){for(const n of this.references)if(n.uri.toString()===e.toString()&&He.containsPosition(n.range,t))return n}firstReference(){for(const e of this.references)if(e.isProviderFirst)return e;return this.references[0]}static _compareReferences(e,t){return oc.compare(e.uri,t.uri)||He.compareRangesUsingStarts(e.range,t.range)}}function zpe(o){if(!o)return;typeof o==\"string\"&&(o=wa.file(o));const e=Mg(o)||(o.scheme===dl.file?o.fsPath:o.path);return Ph&&wFe(e)?cK(e):e}function cK(o,e){return ude(o,e)?o.charAt(0).toUpperCase()+o.slice(1):o}var M9=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},LL=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let dK=class{constructor(e){this._resolverService=e}hasChildren(e){return e instanceof p_||e instanceof kL}getChildren(e){if(e instanceof p_)return e.groups;if(e instanceof kL)return e.resolve(this._resolverService).then(t=>t.children);throw new Error(\"bad tree\")}};dK=M9([LL(0,Wf)],dK);class kje{getHeight(){return 23}getTemplateId(e){return e instanceof kL?NL.id:C4.id}}let hK=class{constructor(e){this._keybindingService=e}getKeyboardNavigationLabel(e){var t;if(e instanceof hC){const n=(t=e.parent.getPreview(e))===null||t===void 0?void 0:t.preview(e.range);if(n)return n.value}return Mg(e.uri)}};hK=M9([LL(0,Xc)],hK);class Lje{getId(e){return e instanceof hC?e.id:e.uri}}let pK=class extends fr{constructor(e,t,n){super(),this._uriLabel=t;const i=document.createElement(\"div\");i.classList.add(\"reference-file\"),this.file=this._register(new W7(i,{supportHighlights:!0})),this.badge=new bU(Jr(i,ls(\".count\"))),this._register(j7e(this.badge,n)),e.appendChild(i)}set(e,t){let n=t9(e.uri);this.file.setLabel(zpe(e.uri),this._uriLabel.getUriLabel(n,{relative:!0}),{title:this._uriLabel.getUriLabel(e.uri),matches:t});const i=e.children.length;this.badge.setCount(i),i>1?this.badge.setTitleFormat(w(\"referencesCount\",\"{0} references\",i)):this.badge.setTitleFormat(w(\"referenceCount\",\"{0} reference\",i))}};pK=M9([LL(1,h4),LL(2,gc)],pK);let NL=class Upe{constructor(e){this._instantiationService=e,this.templateId=Upe.id}renderTemplate(e){return this._instantiationService.createInstance(pK,e)}renderElement(e,t,n){n.set(e.element,u9(e.filterData))}disposeTemplate(e){e.dispose()}};NL.id=\"FileReferencesRenderer\";NL=M9([LL(0,Nl)],NL);class Nje{constructor(e){this.label=new RD(e)}set(e,t){var n;const i=(n=e.parent.getPreview(e))===null||n===void 0?void 0:n.preview(e.range);if(!i||!i.value)this.label.set(`${Mg(e.uri)}:${e.range.startLineNumber+1}:${e.range.startColumn+1}`);else{const{value:s,highlight:a}=i;t&&!_0.isDefault(t)?(this.label.element.classList.toggle(\"referenceMatch\",!1),this.label.set(s,u9(t))):(this.label.element.classList.toggle(\"referenceMatch\",!0),this.label.set(s,[a]))}}}class C4{constructor(){this.templateId=C4.id}renderTemplate(e){return new Nje(e)}renderElement(e,t,n){n.set(e.element,e.filterData)}disposeTemplate(){}}C4.id=\"OneReferenceRenderer\";class Ije{getWidgetAriaLabel(){return w(\"treeAriaLabel\",\"References\")}getAriaLabel(e){return e.ariaMessage}}var Fje=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},Ky=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},pae=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};class R9{constructor(e,t){this._editor=e,this._model=t,this._decorations=new Map,this._decorationIgnoreSet=new Set,this._callOnDispose=new fs,this._callOnModelChange=new fs,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(let 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=[],n=[];for(let s=0,a=e.children.length;s<a;s++){let l=e.children[s];this._decorationIgnoreSet.has(l.id)||l.uri.toString()===this._editor.getModel().uri.toString()&&(t.push({range:l.range,options:R9.DecorationOptions}),n.push(s))}const i=this._editor.deltaDecorations([],t);for(let s=0;s<i.length;s++)this._decorations.set(i[s],e.children[n[s]])}_onDecorationChanged(){const e=[],t=this._editor.getModel();if(!!t){for(let[n,i]of this._decorations){const s=t.getDecorationRange(n);if(!s)continue;let a=!1;if(!He.equalsRange(s,i.range)){if(He.spansMultipleLines(s))a=!0;else{const l=i.range.endColumn-i.range.startColumn,u=s.endColumn-s.startColumn;l!==u&&(a=!0)}a?(this._decorationIgnoreSet.add(i.id),e.push(n)):i.range=s}}for(let n=0,i=e.length;n<i;n++)this._decorations.delete(e[n]);this._editor.deltaDecorations(e,[])}}removeDecorations(){this._editor.deltaDecorations([...this._decorations.keys()],[]),this._decorations.clear()}}R9.DecorationOptions=_l.register({description:\"reference-decoration\",stickiness:1,className:\"reference-decoration\"});class Pje{constructor(){this.ratio=.7,this.heightInLines=18}static fromJSON(e){let t,n;try{const i=JSON.parse(e);t=i.ratio,n=i.heightInLines}catch{}return{ratio:t||.7,heightInLines:n||18}}}class Oje extends IU{}let fK=class extends Q7{constructor(e,t,n,i,s,a,l,u,d,h,p,g){super(e,{showFrame:!1,showArrow:!0,isResizeable:!0,isAccessible:!0,supportOnTitleClick:!0},a),this._defaultTreeKeyboardSupport=t,this.layoutData=n,this._textModelResolverService=s,this._instantiationService=a,this._peekViewService=l,this._uriLabel=u,this._undoRedoService=d,this._keybindingService=h,this._languageService=p,this._languageConfigurationService=g,this._disposeOnNewModel=new fs,this._callOnDispose=new fs,this._onDidSelectReference=new ri,this.onDidSelectReference=this._onDidSelectReference.event,this._dim=new Hu(0,0),this._applyTheme(i.getColorTheme()),this._callOnDispose.add(i.onDidColorThemeChange(this._applyTheme.bind(this))),this._peekViewService.addExclusiveWidget(e,this),this.create()}dispose(){this.setModel(void 0),this._callOnDispose.dispose(),this._disposeOnNewModel.dispose(),eu(this._preview),eu(this._previewNotAvailableMessage),eu(this._tree),eu(this._previewModelReference),this._splitView.dispose(),super.dispose()}_applyTheme(e){const t=e.getColor(xje)||Xi.transparent;this.style({arrowColor:t,frameColor:t,headerBackgroundColor:e.getColor(Sje)||Xi.transparent,primaryHeadingColor:e.getColor(Hpe),secondaryHeadingColor:e.getColor($pe)})}show(e){this.editor.revealRangeInCenterIfOutsideViewport(e,0),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=Jr(e,ls(\"div.messages\")),Of(this._messageContainer),this._splitView=new Che(e,{orientation:1}),this._previewContainer=Jr(e,ls(\"div.preview.inline\"));let t={scrollBeyondLastLine:!1,scrollbar:{verticalScrollbarSize:14,horizontal:\"auto\",useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,alwaysConsumeMouseWheel:!1},overviewRulerLanes:2,fixedOverflowWidgets:!0,minimap:{enabled:!1}};this._preview=this._instantiationService.createInstance($D,this._previewContainer,t,this.editor),Of(this._previewContainer),this._previewNotAvailableMessage=new xb(w(\"missingPreviewMessage\",\"no preview available\"),ay,xb.DEFAULT_CREATION_OPTIONS,null,this._undoRedoService,this._languageService,this._languageConfigurationService),this._treeContainer=Jr(e,ls(\"div.ref-tree.inline\"));const n={keyboardSupport:this._defaultTreeKeyboardSupport,accessibilityProvider:new Ije,keyboardNavigationLabelProvider:this._instantiationService.createInstance(hK),identityProvider:new Lje,openOnSingleClick:!0,selectionNavigation:!0,overrideStyles:{listBackground:Eje}};this._defaultTreeKeyboardSupport&&this._callOnDispose.add(Fh(this._treeContainer,\"keydown\",s=>{s.equals(9)&&(this._keybindingService.dispatchEvent(s,s.target),s.stopPropagation())},!0)),this._tree=this._instantiationService.createInstance(Oje,\"ReferencesWidget\",this._treeContainer,new kje,[this._instantiationService.createInstance(NL),this._instantiationService.createInstance(C4)],this._instantiationService.createInstance(dK),n),this._splitView.addView({onDidChange:Xo.None,element:this._previewContainer,minimumSize:200,maximumSize:Number.MAX_VALUE,layout:s=>{this._preview.layout({height:this._dim.height,width:s})}},H7.Distribute),this._splitView.addView({onDidChange:Xo.None,element:this._treeContainer,minimumSize:100,maximumSize:Number.MAX_VALUE,layout:s=>{this._treeContainer.style.height=`${this._dim.height}px`,this._treeContainer.style.width=`${s}px`,this._tree.layout(this._dim.height,s)}},H7.Distribute),this._disposables.add(this._splitView.onDidSashChange(()=>{this._dim.width&&(this.layoutData.ratio=this._splitView.getViewSize(0)/this._dim.width)},void 0));let i=(s,a)=>{s instanceof hC&&(a===\"show\"&&this._revealReference(s,!1),this._onDidSelectReference.fire({element:s,kind:a,source:\"tree\"}))};this._tree.onDidOpen(s=>{s.sideBySide?i(s.element,\"side\"):s.editorOptions.pinned?i(s.element,\"goto\"):i(s.element,\"show\")}),Of(this._treeContainer)}_onWidth(e){this._dim&&this._doLayoutBody(this._dim.height,e)}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._dim=new Hu(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=w(\"noResults\",\"No results\"),W_(this._messageContainer),Promise.resolve(void 0)):(Of(this._messageContainer),this._decorationsManager=new R9(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:n}=e;if(t.detail!==2)return;const i=this._getFocusedReference();!i||this._onDidSelectReference.fire({element:{uri:i.uri,range:n.range},kind:t.ctrlKey||t.metaKey||t.altKey?\"side\":\"open\",source:\"editor\"})})),this.container.classList.add(\"results-loaded\"),W_(this._treeContainer),W_(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 hC)return e;if(e instanceof kL&&e.children.length>0)return e.children[0]}revealReference(e){return pae(this,void 0,void 0,function*(){yield this._revealReference(e,!1),this._onDidSelectReference.fire({element:e,kind:\"goto\",source:\"tree\"})})}_revealReference(e,t){return pae(this,void 0,void 0,function*(){if(this._revealedReference===e)return;this._revealedReference=e,e.uri.scheme!==dl.inMemory?this.setTitle(SFe(e.uri),this._uriLabel.getUriLabel(t9(e.uri))):this.setTitle(w(\"peekView.alternateTitle\",\"References\"));const n=this._textModelResolverService.createModelReference(e.uri);this._tree.getInput()===e.parent?this._tree.reveal(e):(t&&this._tree.reveal(e.parent),yield this._tree.expand(e.parent),this._tree.reveal(e));const i=yield n;if(!this._model){i.dispose();return}eu(this._previewModelReference);const s=i.object;if(s){const a=this._preview.getModel()===s.textEditorModel?0:1,l=He.lift(e.range).collapseToStart();this._previewModelReference=i,this._preview.setModel(s.textEditorModel),this._preview.setSelection(l),this._preview.revealRangeInCenter(l,a)}else this._preview.setModel(this._previewNotAvailableMessage),i.dispose()})}};fK=Fje([Ky(3,gc),Ky(4,Wf),Ky(5,Nl),Ky(6,Vpe),Ky(7,h4),Ky(8,n9),Ky(9,Xc),Ky(10,Pc),Ky(11,Dp)],fK);var Mje=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},XS=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},fae=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};const Dw=new Do(\"referenceSearchVisible\",!1,w(\"referenceSearchVisible\",\"Whether reference peek is visible, like 'Peek References' or 'Peek Definition'\"));let pC=class _K{constructor(e,t,n,i,s,a,l,u){this._defaultTreeKeyboardSupport=e,this._editor=t,this._editorService=i,this._notificationService=s,this._instantiationService=a,this._storageService=l,this._configurationService=u,this._disposables=new fs,this._requestIdPool=0,this._ignoreModelChangeEvent=!1,this._referenceSearchVisible=Dw.bindTo(n)}static get(e){return e.getContribution(_K.ID)}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,n){let i;if(this._widget&&(i=this._widget.position),this.closeWidget(),!!i&&e.containsPosition(i))return;this._peekMode=n,this._referenceSearchVisible.set(!0),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>{this.closeWidget()})),this._disposables.add(this._editor.onDidChangeModel(()=>{this._ignoreModelChangeEvent||this.closeWidget()}));const s=\"peekViewLayout\",a=Pje.fromJSON(this._storageService.get(s,0,\"{}\"));this._widget=this._instantiationService.createInstance(fK,this._editor,this._defaultTreeKeyboardSupport,a),this._widget.setTitle(w(\"labelLoading\",\"Loading...\")),this._widget.show(e),this._disposables.add(this._widget.onDidClose(()=>{t.cancel(),this._widget&&(this._storageService.store(s,JSON.stringify(this._widget.layoutData),0,1),this._widget=void 0),this.closeWidget()})),this._disposables.add(this._widget.onDidSelectReference(u=>{let{element:d,kind:h}=u;if(!!d)switch(h){case\"open\":(u.source!==\"editor\"||!this._configurationService.getValue(\"editor.stablePeek\"))&&this.openReference(d,!1,!1);break;case\"side\":this.openReference(d,!0,!1);break;case\"goto\":n?this._gotoReference(d):this.openReference(d,!1,!0);break}}));const l=++this._requestIdPool;t.then(u=>{var d;if(l!==this._requestIdPool||!this._widget){u.dispose();return}return(d=this._model)===null||d===void 0||d.dispose(),this._model=u,this._widget.setModel(this._model).then(()=>{if(this._widget&&this._model&&this._editor.hasModel()){this._model.isEmpty?this._widget.setMetaTitle(\"\"):this._widget.setMetaTitle(w(\"metaTitle.N\",\"{0} ({1})\",this._model.title,this._model.references.length));let h=this._editor.getModel().uri,p=new Ii(e.startLineNumber,e.startColumn),g=this._model.nearestReference(h,p);if(g)return this._widget.setSelection(g).then(()=>{this._widget&&this._editor.getOption(77)===\"editor\"&&this._widget.focusOnPreviewEditor()})}})},u=>{this._notificationService.error(u)})}changeFocusBetweenPreviewAndReferences(){!this._widget||(this._widget.isPreviewEditorFocused()?this._widget.focusOnReferenceTree():this._widget.focusOnPreviewEditor())}goToNextOrPreviousReference(e){return fae(this,void 0,void 0,function*(){if(!this._editor.hasModel()||!this._model||!this._widget)return;const t=this._widget.position;if(!t)return;const n=this._model.nearestReference(this._editor.getModel().uri,t);if(!n)return;const i=this._model.nextOrPreviousReference(n,e),s=this._editor.hasTextFocus(),a=this._widget.isPreviewEditorFocused();yield this._widget.setSelection(i),yield this._gotoReference(i),s?this._editor.focus():this._widget&&a&&this._widget.focusOnPreviewEditor()})}revealReference(e){return fae(this,void 0,void 0,function*(){!this._editor.hasModel()||!this._model||!this._widget||(yield this._widget.revealReference(e))})}closeWidget(e=!0){var t,n;(t=this._widget)===null||t===void 0||t.dispose(),(n=this._model)===null||n===void 0||n.dispose(),this._referenceSearchVisible.reset(),this._disposables.clear(),this._widget=void 0,this._model=void 0,e&&this._editor.focus(),this._requestIdPool+=1}_gotoReference(e){this._widget&&this._widget.hide(),this._ignoreModelChangeEvent=!0;const t=He.lift(e.range).collapseToStart();return this._editorService.openCodeEditor({resource:e.uri,options:{selection:t,selectionSource:\"code.jump\"}},this._editor).then(n=>{var i;if(this._ignoreModelChangeEvent=!1,!n||!this._widget){this.closeWidget();return}if(this._editor===n)this._widget.show(t),this._widget.focusOnReferenceTree();else{const s=_K.get(n),a=this._model.clone();this.closeWidget(),n.focus(),s==null||s.toggleWidget(t,Oh(l=>Promise.resolve(a)),(i=this._peekMode)!==null&&i!==void 0?i:!1)}},n=>{this._ignoreModelChangeEvent=!1,tl(n)})}openReference(e,t,n){t||this.closeWidget();const{uri:i,range:s}=e;this._editorService.openCodeEditor({resource:i,options:{selection:s,selectionSource:\"code.jump\",pinned:n}},this._editor,t)}};pC.ID=\"editor.contrib.referencesController\";pC=Mje([XS(2,Xa),XS(3,Eu),XS(4,Sd),XS(5,Nl),XS(6,cy),XS(7,Uu)],pC);function ww(o,e){const t=Dje(o);if(!t)return;const n=pC.get(t);n&&e(n)}gf.registerCommandAndKeybindingRule({id:\"togglePeekWidgetFocus\",weight:100,primary:vh(2089,60),when:co.or(Dw,jf.inPeekEditor),handler(o){ww(o,e=>{e.changeFocusBetweenPreviewAndReferences()})}});gf.registerCommandAndKeybindingRule({id:\"goToNextReference\",weight:100-10,primary:62,secondary:[70],when:co.or(Dw,jf.inPeekEditor),handler(o){ww(o,e=>{e.goToNextOrPreviousReference(!0)})}});gf.registerCommandAndKeybindingRule({id:\"goToPreviousReference\",weight:100-10,primary:1086,secondary:[1094],when:co.or(Dw,jf.inPeekEditor),handler(o){ww(o,e=>{e.goToNextOrPreviousReference(!1)})}});tu.registerCommandAlias(\"goToNextReferenceFromEmbeddedEditor\",\"goToNextReference\");tu.registerCommandAlias(\"goToPreviousReferenceFromEmbeddedEditor\",\"goToPreviousReference\");tu.registerCommandAlias(\"closeReferenceSearchEditor\",\"closeReferenceSearch\");tu.registerCommand(\"closeReferenceSearch\",o=>ww(o,e=>e.closeWidget()));gf.registerKeybindingRule({id:\"closeReferenceSearch\",weight:100-101,primary:9,secondary:[1033],when:co.and(jf.inPeekEditor,co.not(\"config.editor.stablePeek\"))});gf.registerKeybindingRule({id:\"closeReferenceSearch\",weight:200+50,primary:9,secondary:[1033],when:co.and(Dw,co.not(\"config.editor.stablePeek\"))});gf.registerCommandAndKeybindingRule({id:\"revealReference\",weight:200,primary:3,mac:{primary:3,secondary:[2066]},when:co.and(Dw,Lhe,TJ.negate(),AJ.negate()),handler(o){var e;const n=(e=o.get(Vg).lastFocusedList)===null||e===void 0?void 0:e.getFocus();Array.isArray(n)&&n[0]instanceof hC&&ww(o,i=>i.revealReference(n[0]))}});gf.registerCommandAndKeybindingRule({id:\"openReferenceToSide\",weight:100,primary:2051,mac:{primary:259},when:co.and(Dw,Lhe,TJ.negate(),AJ.negate()),handler(o){var e;const n=(e=o.get(Vg).lastFocusedList)===null||e===void 0?void 0:e.getFocus();Array.isArray(n)&&n[0]instanceof hC&&ww(o,i=>i.openReference(n[0],!0,!0))}});tu.registerCommand(\"openReference\",o=>{var e;const n=(e=o.get(Vg).lastFocusedList)===null||e===void 0?void 0:e.getFocus();Array.isArray(n)&&n[0]instanceof hC&&ww(o,i=>i.openReference(n[0],!1,!0))});var Kpe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},Jk=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};const ZJ=new Do(\"hasSymbols\",!1,w(\"hasSymbols\",\"Whether there are symbol locations that can be navigated via keyboard-only.\")),B9=zl(\"ISymbolNavigationService\");let gK=class{constructor(e,t,n,i){this._editorService=t,this._notificationService=n,this._keybindingService=i,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=ZJ.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 n=new mK(this._editorService),i=n.onDidChange(s=>{if(this._ignoreEditorChange)return;const a=this._editorService.getActiveCodeEditor();if(!a)return;const l=a.getModel(),u=a.getPosition();if(!l||!u)return;let d=!1,h=!1;for(const p of t.references)if(cde(p.uri,l.uri))d=!0,h=h||He.containsPosition(p.range,u);else if(d)break;(!d||!h)&&this.reset()});this._currentState=gb(n,i)}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:He.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\"),n=t?w(\"location.kb\",\"Symbol {0} of {1}, {2} for next\",this._currentIdx+1,this._currentModel.references.length,t.getLabel()):w(\"location\",\"Symbol {0} of {1}\",this._currentIdx+1,this._currentModel.references.length);this._currentMessage=this._notificationService.status(n)}};gK=Kpe([Jk(0,Xa),Jk(1,Eu),Jk(2,Sd),Jk(3,Xc)],gK);su(B9,gK,!0);Ns(new class extends Zh{constructor(){super({id:\"editor.gotoNextSymbolFromResult\",precondition:ZJ,kbOpts:{weight:100,primary:70}})}runEditorCommand(o,e){return o.get(B9).revealNext(e)}});gf.registerCommandAndKeybindingRule({id:\"editor.gotoNextSymbolFromResult.cancel\",weight:100,when:ZJ,primary:9,handler(o){o.get(B9).reset()}});let mK=class{constructor(e){this._listener=new Map,this._disposables=new fs,this._onDidChange=new ri,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(),eu(this._listener.values())}_onDidAddEditor(e){this._listener.set(e,gb(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)}};mK=Kpe([Jk(0,Eu)],mK);var qpe=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};function D4(o,e,t,n){const s=t.ordered(o).map(a=>Promise.resolve(n(a,o,e)).then(void 0,l=>{bh(l)}));return Promise.all(s).then(a=>{const l=[];for(let u of a)Array.isArray(u)?l.push(...u):u&&l.push(u);return l})}function eY(o,e,t,n){return D4(e,t,o,(i,s,a)=>i.provideDefinition(s,a,n))}function Gpe(o,e,t,n){return D4(e,t,o,(i,s,a)=>i.provideDeclaration(s,a,n))}function Jpe(o,e,t,n){return D4(e,t,o,(i,s,a)=>i.provideImplementation(s,a,n))}function Ype(o,e,t,n){return D4(e,t,o,(i,s,a)=>i.provideTypeDefinition(s,a,n))}function j9(o,e,t,n,i){return D4(e,t,o,(s,a,l)=>qpe(this,void 0,void 0,function*(){const u=yield s.provideReferences(a,l,{includeDeclaration:!0},i);if(!n||!u||u.length!==2)return u;const d=yield s.provideReferences(a,l,{includeDeclaration:!1},i);return d&&d.length===1?d:u}))}function w4(o){return qpe(this,void 0,void 0,function*(){const e=yield o(),t=new p_(e,\"\"),n=t.references.map(i=>i.link);return t.dispose(),n})}oy(\"_executeDefinitionProvider\",(o,e,t)=>{const n=o.get($o),i=eY(n.definitionProvider,e,t,Ll.None);return w4(()=>i)});oy(\"_executeTypeDefinitionProvider\",(o,e,t)=>{const n=o.get($o),i=Ype(n.typeDefinitionProvider,e,t,Ll.None);return w4(()=>i)});oy(\"_executeDeclarationProvider\",(o,e,t)=>{const n=o.get($o),i=Gpe(n.declarationProvider,e,t,Ll.None);return w4(()=>i)});oy(\"_executeReferenceProvider\",(o,e,t)=>{const n=o.get($o),i=j9(n.referenceProvider,e,t,!1,Ll.None);return w4(()=>i)});oy(\"_executeImplementationProvider\",(o,e,t)=>{const n=o.get($o),i=Jpe(n.implementationProvider,e,t,Ll.None);return w4(()=>i)});var xm=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})},vH,CH,DH,wH,SH,xH,EH,TH;q_.appendMenuItem(Fn.EditorContext,{submenu:Fn.EditorContextPeek,title:w(\"peek.submenu\",\"Peek\"),group:\"navigation\",order:100});const Xpe=new Set;function E0(o){const e=new o;return ice(e),Xpe.add(e.id),e}class IL{constructor(e,t){this.model=e,this.position=t}static is(e){return!e||typeof e!=\"object\"?!1:!!(e instanceof IL||Ii.isIPosition(e.position)&&e.model)}}class Sw extends xo{constructor(e,t){super(t),this.configuration=e}run(e,t,n){if(!t.hasModel())return Promise.resolve(void 0);const i=e.get(Sd),s=e.get(Eu),a=e.get(CC),l=e.get(B9),u=e.get($o),d=t.getModel(),h=t.getPosition(),p=IL.is(n)?n:new IL(d,h),g=new TL(t,5),y=qq(this._getLocationModel(u,p.model,p.position,g.token),g.token).then(D=>xm(this,void 0,void 0,function*(){var T;if(!D||g.token.isCancellationRequested)return;Jh(D.ariaMessage);let k;if(D.referenceAt(d.uri,h)){const F=this._getAlternativeCommand(t);F!==this.id&&Xpe.has(F)&&(k=t.getAction(F))}const I=D.references.length;if(I===0){if(!this.configuration.muteMessage){const F=d.getWordAtPosition(h);(T=Q_.get(t))===null||T===void 0||T.showMessage(this._getNoResultFoundMessage(F),h)}}else if(I===1&&k)k.run();else return this._onResult(s,l,t,D)}),D=>{i.error(D)}).finally(()=>{g.dispose()});return a.showWhile(y,250),y}_onResult(e,t,n,i){return xm(this,void 0,void 0,function*(){const s=this._getGoToPreference(n);if(!(n instanceof $D)&&(this.configuration.openInPeek||s===\"peek\"&&i.references.length>1))this._openInPeek(n,i);else{const a=i.firstReference(),l=i.references.length>1&&s===\"gotoAndPeek\",u=yield this._openReference(n,e,a,this.configuration.openToSide,!l);l&&u?this._openInPeek(u,i):i.dispose(),s===\"goto\"&&t.put(a)}})}_openReference(e,t,n,i,s){return xm(this,void 0,void 0,function*(){let a;if(eAe(n)&&(a=n.targetSelectionRange),a||(a=n.range),!a)return;const l=yield t.openCodeEditor({resource:n.uri,options:{selection:He.collapseToStart(a),selectionRevealType:3,selectionSource:\"code.jump\"}},e,i);if(!!l){if(s){const u=l.getModel(),d=l.deltaDecorations([],[{range:a,options:{description:\"symbol-navigate-action-highlight\",className:\"symbolHighlight\"}}]);setTimeout(()=>{l.getModel()===u&&l.deltaDecorations(d,[])},350)}return l}})}_openInPeek(e,t){const n=pC.get(e);n&&e.hasModel()?n.toggleWidget(e.getSelection(),Oh(i=>Promise.resolve(t)),this.configuration.openInPeek):t.dispose()}}class S4 extends Sw{_getLocationModel(e,t,n,i){return xm(this,void 0,void 0,function*(){return new p_(yield eY(e.definitionProvider,t,n,i),w(\"def.title\",\"Definitions\"))})}_getNoResultFoundMessage(e){return e&&e.word?w(\"noResultWord\",\"No definition found for '{0}'\",e.word):w(\"generic.noResults\",\"No definition found\")}_getAlternativeCommand(e){return e.getOption(51).alternativeDefinitionCommand}_getGoToPreference(e){return e.getOption(51).multipleDefinitions}}const Qpe=bC&&!Hq?2118:70;E0((vH=class yK extends S4{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:yK.id,label:w(\"actions.goToDecl.label\",\"Go to Definition\"),alias:\"Go to Definition\",precondition:co.and(on.hasDefinitionProvider,on.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:on.editorTextFocus,primary:Qpe,weight:100},contextMenuOpts:{group:\"navigation\",order:1.1}}),tu.registerCommandAlias(\"editor.action.goToDeclaration\",yK.id)}},vH.id=\"editor.action.revealDefinition\",vH));E0((CH=class bK extends S4{constructor(){super({openToSide:!0,openInPeek:!1,muteMessage:!1},{id:bK.id,label:w(\"actions.goToDeclToSide.label\",\"Open Definition to the Side\"),alias:\"Open Definition to the Side\",precondition:co.and(on.hasDefinitionProvider,on.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:on.editorTextFocus,primary:vh(2089,Qpe),weight:100}}),tu.registerCommandAlias(\"editor.action.openDeclarationToTheSide\",bK.id)}},CH.id=\"editor.action.revealDefinitionAside\",CH));E0((DH=class vK extends S4{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:vK.id,label:w(\"actions.previewDecl.label\",\"Peek Definition\"),alias:\"Peek Definition\",precondition:co.and(on.hasDefinitionProvider,jf.notInPeekEditor,on.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:on.editorTextFocus,primary:582,linux:{primary:3140},weight:100},contextMenuOpts:{menuId:Fn.EditorContextPeek,group:\"peek\",order:2}}),tu.registerCommandAlias(\"editor.action.previewDeclaration\",vK.id)}},DH.id=\"editor.action.peekDefinition\",DH));class Zpe extends Sw{_getLocationModel(e,t,n,i){return xm(this,void 0,void 0,function*(){return new p_(yield Gpe(e.declarationProvider,t,n,i),w(\"decl.title\",\"Declarations\"))})}_getNoResultFoundMessage(e){return e&&e.word?w(\"decl.noResultWord\",\"No declaration found for '{0}'\",e.word):w(\"decl.generic.noResults\",\"No declaration found\")}_getAlternativeCommand(e){return e.getOption(51).alternativeDeclarationCommand}_getGoToPreference(e){return e.getOption(51).multipleDeclarations}}E0((wH=class efe extends Zpe{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:efe.id,label:w(\"actions.goToDeclaration.label\",\"Go to Declaration\"),alias:\"Go to Declaration\",precondition:co.and(on.hasDeclarationProvider,on.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{group:\"navigation\",order:1.3}})}_getNoResultFoundMessage(e){return e&&e.word?w(\"decl.noResultWord\",\"No declaration found for '{0}'\",e.word):w(\"decl.generic.noResults\",\"No declaration found\")}},wH.id=\"editor.action.revealDeclaration\",wH));E0(class extends Zpe{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:\"editor.action.peekDeclaration\",label:w(\"actions.peekDecl.label\",\"Peek Declaration\"),alias:\"Peek Declaration\",precondition:co.and(on.hasDeclarationProvider,jf.notInPeekEditor,on.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:Fn.EditorContextPeek,group:\"peek\",order:3}})}});class tfe extends Sw{_getLocationModel(e,t,n,i){return xm(this,void 0,void 0,function*(){return new p_(yield Ype(e.typeDefinitionProvider,t,n,i),w(\"typedef.title\",\"Type Definitions\"))})}_getNoResultFoundMessage(e){return e&&e.word?w(\"goToTypeDefinition.noResultWord\",\"No type definition found for '{0}'\",e.word):w(\"goToTypeDefinition.generic.noResults\",\"No type definition found\")}_getAlternativeCommand(e){return e.getOption(51).alternativeTypeDefinitionCommand}_getGoToPreference(e){return e.getOption(51).multipleTypeDefinitions}}E0((SH=class nfe extends tfe{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:nfe.ID,label:w(\"actions.goToTypeDefinition.label\",\"Go to Type Definition\"),alias:\"Go to Type Definition\",precondition:co.and(on.hasTypeDefinitionProvider,on.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:on.editorTextFocus,primary:0,weight:100},contextMenuOpts:{group:\"navigation\",order:1.4}})}},SH.ID=\"editor.action.goToTypeDefinition\",SH));E0((xH=class ife extends tfe{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:ife.ID,label:w(\"actions.peekTypeDefinition.label\",\"Peek Type Definition\"),alias:\"Peek Type Definition\",precondition:co.and(on.hasTypeDefinitionProvider,jf.notInPeekEditor,on.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:Fn.EditorContextPeek,group:\"peek\",order:4}})}},xH.ID=\"editor.action.peekTypeDefinition\",xH));class rfe extends Sw{_getLocationModel(e,t,n,i){return xm(this,void 0,void 0,function*(){return new p_(yield Jpe(e.implementationProvider,t,n,i),w(\"impl.title\",\"Implementations\"))})}_getNoResultFoundMessage(e){return e&&e.word?w(\"goToImplementation.noResultWord\",\"No implementation found for '{0}'\",e.word):w(\"goToImplementation.generic.noResults\",\"No implementation found\")}_getAlternativeCommand(e){return e.getOption(51).alternativeImplementationCommand}_getGoToPreference(e){return e.getOption(51).multipleImplementations}}E0((EH=class sfe extends rfe{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:sfe.ID,label:w(\"actions.goToImplementation.label\",\"Go to Implementations\"),alias:\"Go to Implementations\",precondition:co.and(on.hasImplementationProvider,on.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:on.editorTextFocus,primary:2118,weight:100},contextMenuOpts:{group:\"navigation\",order:1.45}})}},EH.ID=\"editor.action.goToImplementation\",EH));E0((TH=class ofe extends rfe{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:ofe.ID,label:w(\"actions.peekImplementation.label\",\"Peek Implementations\"),alias:\"Peek Implementations\",precondition:co.and(on.hasImplementationProvider,jf.notInPeekEditor,on.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:on.editorTextFocus,primary:3142,weight:100},contextMenuOpts:{menuId:Fn.EditorContextPeek,group:\"peek\",order:5}})}},TH.ID=\"editor.action.peekImplementation\",TH));class afe extends Sw{_getNoResultFoundMessage(e){return e?w(\"references.no\",\"No references found for '{0}'\",e.word):w(\"references.noGeneric\",\"No references found\")}_getAlternativeCommand(e){return e.getOption(51).alternativeReferenceCommand}_getGoToPreference(e){return e.getOption(51).multipleReferences}}E0(class extends afe{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:\"editor.action.goToReferences\",label:w(\"goToReferences.label\",\"Go to References\"),alias:\"Go to References\",precondition:co.and(on.hasReferenceProvider,jf.notInPeekEditor,on.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:on.editorTextFocus,primary:1094,weight:100},contextMenuOpts:{group:\"navigation\",order:1.45}})}_getLocationModel(e,t,n,i){return xm(this,void 0,void 0,function*(){return new p_(yield j9(e.referenceProvider,t,n,!0,i),w(\"ref.title\",\"References\"))})}});E0(class extends afe{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:\"editor.action.referenceSearch.trigger\",label:w(\"references.action.label\",\"Peek References\"),alias:\"Peek References\",precondition:co.and(on.hasReferenceProvider,jf.notInPeekEditor,on.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:Fn.EditorContextPeek,group:\"peek\",order:6}})}_getLocationModel(e,t,n,i){return xm(this,void 0,void 0,function*(){return new p_(yield j9(e.referenceProvider,t,n,!1,i),w(\"ref.title\",\"References\"))})}});class Rje extends Sw{constructor(e,t,n){super(e,{id:\"editor.action.goToLocation\",label:w(\"label.generic\",\"Go to Any Symbol\"),alias:\"Go to Any Symbol\",precondition:co.and(jf.notInPeekEditor,on.isInWalkThroughSnippet.toNegated())}),this._references=t,this._gotoMultipleBehaviour=n}_getLocationModel(e,t,n,i){return xm(this,void 0,void 0,function*(){return new p_(this._references,w(\"generic.title\",\"Locations\"))})}_getNoResultFoundMessage(e){return e&&w(\"generic.noResult\",\"No results for '{0}'\",e.word)||\"\"}_getGoToPreference(e){var t;return(t=this._gotoMultipleBehaviour)!==null&&t!==void 0?t:e.getOption(51).multipleReferences}_getAlternativeCommand(){return\"\"}}tu.registerCommand({id:\"editor.action.goToLocations\",description:{description:\"Go to locations from a position in a file\",args:[{name:\"uri\",description:\"The text document in which to start\",constraint:wa},{name:\"position\",description:\"The position at which to start\",constraint:Ii.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:(o,e,t,n,i,s,a)=>xm(void 0,void 0,void 0,function*(){$u(wa.isUri(e)),$u(Ii.isIPosition(t)),$u(Array.isArray(n)),$u(typeof i==\"undefined\"||typeof i==\"string\"),$u(typeof a==\"undefined\"||typeof a==\"boolean\");const l=o.get(Eu),u=yield l.openCodeEditor({resource:e},l.getFocusedCodeEditor());if(Eb(u))return u.setPosition(t),u.revealPositionInCenterIfOutsideViewport(t,0),u.invokeWithinContext(d=>{const h=new class extends Rje{_getNoResultFoundMessage(p){return s||super._getNoResultFoundMessage(p)}}({muteMessage:!Boolean(s),openInPeek:Boolean(a),openToSide:!1},n,i);d.get(Nl).invokeFunction(h.run.bind(h),u)})})});tu.registerCommand({id:\"editor.action.peekLocations\",description:{description:\"Peek locations from a position in a file\",args:[{name:\"uri\",description:\"The text document in which to start\",constraint:wa},{name:\"position\",description:\"The position at which to start\",constraint:Ii.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:(o,e,t,n,i)=>xm(void 0,void 0,void 0,function*(){o.get(Dd).executeCommand(\"editor.action.goToLocations\",e,t,n,i,void 0,!0)})});tu.registerCommand({id:\"editor.action.findReferences\",handler:(o,e,t)=>{$u(wa.isUri(e)),$u(Ii.isIPosition(t));const n=o.get($o),i=o.get(Eu);return i.openCodeEditor({resource:e},i.getFocusedCodeEditor()).then(s=>{if(!Eb(s)||!s.hasModel())return;const a=pC.get(s);if(!a)return;const l=Oh(d=>j9(n.referenceProvider,s.getModel(),Ii.lift(t),!1,d).then(h=>new p_(h,w(\"ref.title\",\"References\")))),u=new He(t.lineNumber,t.column,t.lineNumber,t.column);return Promise.resolve(a.toggleWidget(u,l,!1))})}});tu.registerCommandAlias(\"editor.action.showReferences\",\"editor.action.peekLocations\");q_.appendMenuItems([{id:Fn.MenubarGoMenu,item:{command:{id:\"editor.action.revealDefinition\",title:w({key:\"miGotoDefinition\",comment:[\"&& denotes a mnemonic\"]},\"Go to &&Definition\")},group:\"4_symbol_nav\",order:2}},{id:Fn.MenubarGoMenu,item:{command:{id:\"editor.action.revealDeclaration\",title:w({key:\"miGotoDeclaration\",comment:[\"&& denotes a mnemonic\"]},\"Go to &&Declaration\")},group:\"4_symbol_nav\",order:3}},{id:Fn.MenubarGoMenu,item:{command:{id:\"editor.action.goToTypeDefinition\",title:w({key:\"miGotoTypeDefinition\",comment:[\"&& denotes a mnemonic\"]},\"Go to &&Type Definition\")},group:\"4_symbol_nav\",order:3}},{id:Fn.MenubarGoMenu,item:{command:{id:\"editor.action.goToImplementation\",title:w({key:\"miGotoImplementation\",comment:[\"&& denotes a mnemonic\"]},\"Go to &&Implementations\")},group:\"4_symbol_nav\",order:4}},{id:Fn.MenubarGoMenu,item:{command:{id:\"editor.action.goToReferences\",title:w({key:\"miGotoReference\",comment:[\"&& denotes a mnemonic\"]},\"Go to &&References\")},group:\"4_symbol_nav\",order:5}}]);var Bje=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},AH=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let zD=class Yk{constructor(e,t,n,i){this.textModelResolverService=t,this.languageService=n,this.languageFeaturesService=i,this.toUnhook=new fs,this.toUnhookForKeyboard=new fs,this.linkDecorations=[],this.currentWordAtPosition=null,this.previousPromise=null,this.editor=e;let s=new XJ(e);this.toUnhook.add(s),this.toUnhook.add(s.onMouseMoveOrRelevantKeyDown(([a,l])=>{this.startFindDefinitionFromMouse(a,u_(l))})),this.toUnhook.add(s.onExecute(a=>{this.isEnabled(a)&&this.gotoDefinition(a.target.position,a.hasSideBySideModifier).then(()=>{this.removeLinkDecorations()},l=>{this.removeLinkDecorations(),tl(l)})})),this.toUnhook.add(s.onCancel(()=>{this.removeLinkDecorations(),this.currentWordAtPosition=null}))}static get(e){return e.getContribution(Yk.ID)}startFindDefinitionFromCursor(e){return this.startFindDefinition(e).then(()=>{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 n=e.target.position;this.startFindDefinition(n)}startFindDefinition(e){var t;this.toUnhookForKeyboard.clear();const n=e?(t=this.editor.getModel())===null||t===void 0?void 0:t.getWordAtPosition(e):null;if(!n)return this.currentWordAtPosition=null,this.removeLinkDecorations(),Promise.resolve(0);if(this.currentWordAtPosition&&this.currentWordAtPosition.startColumn===n.startColumn&&this.currentWordAtPosition.endColumn===n.endColumn&&this.currentWordAtPosition.word===n.word)return Promise.resolve(0);this.currentWordAtPosition=n;let i=new EL(this.editor,15);return this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=Oh(s=>this.findDefinition(e,s)),this.previousPromise.then(s=>{if(!s||!s.length||!i.validate(this.editor)){this.removeLinkDecorations();return}if(s.length>1)this.addDecoration(new He(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn),new H_().appendText(w(\"multipleResults\",\"Click to show {0} definitions.\",s.length)));else{let a=s[0];if(!a.uri)return;this.textModelResolverService.createModelReference(a.uri).then(l=>{if(!l.object||!l.object.textEditorModel){l.dispose();return}const{object:{textEditorModel:u}}=l,{startLineNumber:d}=a.range;if(d<1||d>u.getLineCount()){l.dispose();return}const h=this.getPreviewValue(u,d,a);let p;a.originSelectionRange?p=He.lift(a.originSelectionRange):p=new He(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn);const g=this.languageService.guessLanguageIdByFilepathOrFirstLine(u.uri);this.addDecoration(p,new H_().appendCodeblock(g||\"\",h)),l.dispose()})}}).then(void 0,tl)}getPreviewValue(e,t,n){let i=n.targetSelectionRange?n.range:this.getPreviewRangeBasedOnBrackets(e,t);return i.endLineNumber-i.startLineNumber>=Yk.MAX_SOURCE_PREVIEW_LINES&&(i=this.getPreviewRangeBasedOnIndentation(e,t)),this.stripIndentationFromPreviewRange(e,t,i)}stripIndentationFromPreviewRange(e,t,n){let s=e.getLineFirstNonWhitespaceColumn(t);for(let l=t+1;l<n.endLineNumber;l++){const u=e.getLineFirstNonWhitespaceColumn(l);s=Math.min(s,u)}return e.getValueInRange(n).replace(new RegExp(`^\\\\s{${s-1}}`,\"gm\"),\"\").trim()}getPreviewRangeBasedOnIndentation(e,t){const n=e.getLineFirstNonWhitespaceColumn(t),i=Math.min(e.getLineCount(),t+Yk.MAX_SOURCE_PREVIEW_LINES);let s=t+1;for(;s<i;s++){let a=e.getLineFirstNonWhitespaceColumn(s);if(n===a)break}return new He(t,1,s+1,1)}getPreviewRangeBasedOnBrackets(e,t){const n=Math.min(e.getLineCount(),t+Yk.MAX_SOURCE_PREVIEW_LINES),i=[];let s=!0,a=e.bracketPairs.findNextBracket(new Ii(t,1));for(;a!==null;){if(i.length===0)i.push(a);else{const h=i[i.length-1];if(h.open[0]===a.open[0]&&h.isOpen&&!a.isOpen?i.pop():i.push(a),i.length===0)if(s)s=!1;else return new He(t,1,a.range.endLineNumber+1,1)}const l=e.getLineMaxColumn(t);let u=a.range.endLineNumber,d=a.range.endColumn;if(l===a.range.endColumn&&(u++,d=1),u>n)return new He(t,1,n+1,1);a=e.bracketPairs.findNextBracket(new Ii(u,d))}return new He(t,1,n+1,1)}addDecoration(e,t){const n={range:e,options:{description:\"goto-definition-link\",inlineClassName:\"goto-definition-link\",hoverMessage:t}};this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[n])}removeLinkDecorations(){this.linkDecorations.length>0&&(this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[]))}isEnabled(e,t){return this.editor.hasModel()&&e.isNoneOrSingleMouseDown&&e.target.type===6&&(e.hasTriggerModifier||(t?t.keyCodeIsTriggerKey:!1))&&this.languageFeaturesService.definitionProvider.has(this.editor.getModel())}findDefinition(e,t){const n=this.editor.getModel();return n?eY(this.languageFeaturesService.definitionProvider,n,e,t):Promise.resolve(null)}gotoDefinition(e,t){return this.editor.setPosition(e),this.editor.invokeWithinContext(n=>{const i=!t&&this.editor.getOption(78)&&!this.isInPeekEditor(n);return new S4({openToSide:t,openInPeek:i,muteMessage:!0},{alias:\"\",label:\"\",id:\"\",precondition:void 0}).run(n,this.editor)})}isInPeekEditor(e){const t=e.get(Xa);return jf.inPeekEditor.getValue(t)}dispose(){this.toUnhook.dispose()}};zD.ID=\"editor.contrib.gotodefinitionatposition\";zD.MAX_SOURCE_PREVIEW_LINES=8;zD=Bje([AH(1,Wf),AH(2,Pc),AH(3,$o)],zD);vu(zD.ID,zD);ac((o,e)=>{const t=o.getColor(CG);t&&e.addRule(`.monaco-editor .goto-definition-link { color: ${t} !important; }`)});const w5=ls;class lfe extends fr{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 a4(this.contentsDomNode,{consumeMouseWheelIfScrollbarIsNeeded:!0})),this.containerDomNode.appendChild(this.scrollbar.getDomNode())}onContentsChanged(){this.scrollbar.scanDomNode()}}class tY extends fr{constructor(e,t,n){super(),this.actionContainer=Jr(e,w5(\"div.action-container\")),this.actionContainer.setAttribute(\"tabindex\",\"0\"),this.action=Jr(this.actionContainer,w5(\"a.action\")),this.action.setAttribute(\"role\",\"button\"),t.iconClass&&Jr(this.action,w5(`span.icon.${t.iconClass}`));const i=Jr(this.action,w5(\"span\"));i.textContent=n?`${t.label} (${n})`:t.label,this._register(hs(this.actionContainer,ca.CLICK,s=>{s.stopPropagation(),s.preventDefault(),t.run(this.actionContainer)})),this._register(hs(this.actionContainer,ca.KEY_UP,s=>{new _c(s).equals(3)&&(s.stopPropagation(),s.preventDefault(),t.run(this.actionContainer))})),this.setEnabled(!0)}static render(e,t,n){return new tY(e,t,n)}setEnabled(e){e?(this.actionContainer.classList.remove(\"disabled\"),this.actionContainer.removeAttribute(\"aria-disabled\")):(this.actionContainer.classList.add(\"disabled\"),this.actionContainer.setAttribute(\"aria-disabled\",\"true\"))}}var jje=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})},Wje=globalThis&&globalThis.__asyncValues||function(o){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var e=o[Symbol.asyncIterator],t;return e?e.call(o):(o=typeof __values==\"function\"?__values(o):o[Symbol.iterator](),t={},n(\"next\"),n(\"throw\"),n(\"return\"),t[Symbol.asyncIterator]=function(){return this},t);function n(s){t[s]=o[s]&&function(a){return new Promise(function(l,u){a=o[s](a),i(l,u,a.done,a.value)})}}function i(s,a,l,u){Promise.resolve(u).then(function(d){s({value:d,done:l})},a)}};class Vje{constructor(e,t,n){this.value=e,this.isComplete=t,this.hasLoadingMessage=n}}class ufe extends fr{constructor(e,t){super(),this._editor=e,this._computer=t,this._onResult=this._register(new ri),this.onResult=this._onResult.event,this._firstWaitScheduler=this._register(new Bu(()=>this._triggerAsyncComputation(),0)),this._secondWaitScheduler=this._register(new Bu(()=>this._triggerSyncComputation(),0)),this._loadingMessageScheduler=this._register(new Bu(()=>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(53).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=uke(e=>this._computer.computeAsync(e)),jje(this,void 0,void 0,function*(){var e,t;try{try{for(var n=Wje(this._asyncIterable),i;i=yield n.next(),!i.done;){const s=i.value;s&&(this._result.push(s),this._fireResult())}}catch(s){e={error:s}}finally{try{i&&!i.done&&(t=n.return)&&(yield t.call(n))}finally{if(e)throw e.error}}this._asyncIterableDone=!0,(this._state===3||this._state===4)&&this._setState(0)}catch(s){tl(s)}})):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 Vje(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 kH{constructor(e,t){this.priority=e,this.range=t,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 v8{constructor(e,t,n){this.priority=e,this.owner=t,this.range=n,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 xw=new class{constructor(){this._participants=[]}register(e){this._participants.push(e)}getAll(){return this._participants}};class _m{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};let e=this.pos,t=0,n=this.value.charCodeAt(e),i;if(i=_m._table[n],typeof i==\"number\")return this.pos+=1,{type:i,pos:e,len:1};if(_m.isDigitCharacter(n)){i=8;do t+=1,n=this.value.charCodeAt(e+t);while(_m.isDigitCharacter(n));return this.pos+=t,{type:i,pos:e,len:t}}if(_m.isVariableCharacter(n)){i=9;do n=this.value.charCodeAt(e+ ++t);while(_m.isVariableCharacter(n)||_m.isDigitCharacter(n));return this.pos+=t,{type:i,pos:e,len:t}}i=10;do t+=1,n=this.value.charCodeAt(e+t);while(!isNaN(n)&&typeof _m._table[n]==\"undefined\"&&!_m.isDigitCharacter(n)&&!_m.isVariableCharacter(n));return this.pos+=t,{type:i,pos:e,len:t}}}_m._table={[36]:0,[58]:1,[44]:2,[123]:3,[125]:4,[92]:5,[47]:6,[124]:7,[43]:11,[45]:12,[63]:13};class XE{constructor(){this._children=[]}appendChild(e){return e instanceof a_&&this._children[this._children.length-1]instanceof a_?this._children[this._children.length-1].value+=e.value:(e.parent=this,this._children.push(e)),this}replace(e,t){const{parent:n}=e,i=n.children.indexOf(e),s=n.children.slice(0);s.splice(i,1,...t),n._children=s,function a(l,u){for(const d of l)d.parent=u,a(d.children,d)}(t,n)}get children(){return this._children}get snippet(){let e=this;for(;;){if(!e)return;if(e instanceof W9)return e;e=e.parent}}toString(){return this.children.reduce((e,t)=>e+t.toString(),\"\")}len(){return 0}}class a_ extends XE{constructor(e){super(),this.value=e}toString(){return this.value}len(){return this.value.length}clone(){return new a_(this.value)}}class cfe extends XE{}class ym extends cfe{constructor(e){super(),this.index=e}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}get isFinalTabstop(){return this.index===0}get choice(){return this._children.length===1&&this._children[0]instanceof x4?this._children[0]:void 0}clone(){let e=new ym(this.index);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(t=>t.clone()),e}}class x4 extends XE{constructor(){super(...arguments),this.options=[]}appendChild(e){return e instanceof a_&&(e.parent=this,this.options.push(e)),this}toString(){return this.options[0].value}len(){return this.options[0].len()}clone(){let e=new x4;return this.options.forEach(e.appendChild,e),e}}class nY extends XE{constructor(){super(...arguments),this.regexp=new RegExp(\"\")}resolve(e){const t=this;let n=!1,i=e.replace(this.regexp,function(){return n=!0,t._replace(Array.prototype.slice.call(arguments,0,-2))});return!n&&this._children.some(s=>s instanceof o0&&Boolean(s.elseValue))&&(i=this._replace([])),i}_replace(e){let t=\"\";for(const n of this._children)if(n instanceof o0){let i=e[n.index]||\"\";i=n.resolve(i),t+=i}else t+=n.toString();return t}toString(){return\"\"}clone(){let e=new nY;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 o0 extends XE{constructor(e,t,n,i){super(),this.index=e,this.shorthandName=t,this.ifValue=n,this.elseValue=i}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):\"\":Boolean(e)&&typeof this.ifValue==\"string\"?this.ifValue:!Boolean(e)&&typeof this.elseValue==\"string\"?this.elseValue:e||\"\"}_toPascalCase(e){const t=e.match(/[a-z0-9]+/gi);return t?t.map(n=>n.charAt(0).toUpperCase()+n.substr(1).toLowerCase()).join(\"\"):e}_toCamelCase(e){const t=e.match(/[a-z0-9]+/gi);return t?t.map((n,i)=>i===0?n.toLowerCase():n.charAt(0).toUpperCase()+n.substr(1).toLowerCase()).join(\"\"):e}clone(){return new o0(this.index,this.shorthandName,this.ifValue,this.elseValue)}}class FL extends cfe{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 a_(t)],!0):!1}clone(){const e=new FL(this.name);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(t=>t.clone()),e}}function _ae(o,e){const t=[...o];for(;t.length>0;){const n=t.shift();if(!e(n))break;t.unshift(...n.children)}}class W9 extends XE{get placeholderInfo(){if(!this._placeholders){let e=[],t;this.walk(function(n){return n instanceof ym&&(e.push(n),t=!t||t.index<n.index?n: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,n=!1;return this.walk(i=>i===e?(n=!0,!1):(t+=i.len(),!0)),n?t:-1}fullLen(e){let t=0;return _ae([e],n=>(t+=n.len(),!0)),t}enclosingPlaceholders(e){let t=[],{parent:n}=e;for(;n;)n instanceof ym&&t.push(n),n=n.parent;return t}resolveVariables(e){return this.walk(t=>(t instanceof FL&&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(){let e=new W9;return this._children=this.children.map(t=>t.clone()),e}walk(e){_ae(this.children,e)}}class V9{constructor(){this._scanner=new _m,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,n){this._scanner.text(e),this._token=this._scanner.next();const i=new W9;for(;this._parse(i););const s=new Map,a=[];let l=0;i.walk(u=>(u instanceof ym&&(l+=1,u.isFinalTabstop?s.set(0,void 0):!s.has(u.index)&&u.children.length>0?s.set(u.index,u.children):a.push(u)),!0));for(const u of a){const d=s.get(u.index);if(d){const h=new ym(u.index);h.transform=u.transform;for(const p of d)h.appendChild(p.clone());i.replace(u,[h])}}return n||(n=l>0&&t),!s.has(0)&&n&&i.appendChild(new ym(0)),i}_accept(e,t){if(e===void 0||this._token.type===e){let n=t?this._scanner.tokenText(this._token):!0;return this._token=this._scanner.next(),n}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 i=this._scanner.next();if(i.type!==0&&i.type!==4&&i.type!==5)return!1}this._token=this._scanner.next()}const n=this._scanner.value.substring(t.pos,this._token.pos).replace(/\\\\(\\$|}|\\\\)/g,\"$1\");return this._token=this._scanner.next(),n}_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 a_(t)),!0):!1}_parseTabstopOrVariableName(e){let t;const n=this._token;return this._accept(0)&&(t=this._accept(9,!0)||this._accept(8,!0))?(e.appendChild(/^\\d+$/.test(t)?new ym(Number(t)):new FL(t)),!0):this._backTo(n)}_parseComplexPlaceholder(e){let t;const n=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(8,!0))))return this._backTo(n);const s=new ym(Number(t));if(this._accept(1))for(;;){if(this._accept(4))return e.appendChild(s),!0;if(!this._parse(s))return e.appendChild(new a_(\"${\"+t+\":\")),s.children.forEach(e.appendChild,e),!0}else if(s.index>0&&this._accept(7)){const a=new x4;for(;;){if(this._parseChoiceElement(a)){if(this._accept(2))continue;if(this._accept(7)&&(s.appendChild(a),this._accept(4)))return e.appendChild(s),!0}return this._backTo(n),!1}}else return this._accept(6)?this._parseTransform(s)?(e.appendChild(s),!0):(this._backTo(n),!1):this._accept(4)?(e.appendChild(s),!0):this._backTo(n)}_parseChoiceElement(e){const t=this._token,n=[];for(;!(this._token.type===2||this._token.type===7);){let i;if((i=this._accept(5,!0))?i=this._accept(2,!0)||this._accept(7,!0)||this._accept(5,!0)||i:i=this._accept(void 0,!0),!i)return this._backTo(t),!1;n.push(i)}return n.length===0?(this._backTo(t),!1):(e.appendChild(new a_(n.join(\"\"))),!0)}_parseComplexVariable(e){let t;const n=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(9,!0))))return this._backTo(n);const s=new FL(t);if(this._accept(1))for(;;){if(this._accept(4))return e.appendChild(s),!0;if(!this._parse(s))return e.appendChild(new a_(\"${\"+t+\":\")),s.children.forEach(e.appendChild,e),!0}else return this._accept(6)?this._parseTransform(s)?(e.appendChild(s),!0):(this._backTo(n),!1):this._accept(4)?(e.appendChild(s),!0):this._backTo(n)}_parseTransform(e){let t=new nY,n=\"\",i=\"\";for(;!this._accept(6);){let s;if(s=this._accept(5,!0)){s=this._accept(6,!0)||s,n+=s;continue}if(this._token.type!==14){n+=this._accept(void 0,!0);continue}return!1}for(;!this._accept(6);){let s;if(s=this._accept(5,!0)){s=this._accept(5,!0)||this._accept(6,!0)||s,t.appendChild(new a_(s));continue}if(!(this._parseFormatString(t)||this._parseAnything(t)))return!1}for(;!this._accept(4);){if(this._token.type!==14){i+=this._accept(void 0,!0);continue}return!1}try{t.regexp=new RegExp(n,i)}catch{return!1}return e.transform=t,!0}_parseFormatString(e){const t=this._token;if(!this._accept(0))return!1;let n=!1;this._accept(3)&&(n=!0);let i=this._accept(8,!0);if(i)if(n){if(this._accept(4))return e.appendChild(new o0(Number(i))),!0;if(!this._accept(1))return this._backTo(t),!1}else return e.appendChild(new o0(Number(i))),!0;else return this._backTo(t),!1;if(this._accept(6)){let s=this._accept(9,!0);return!s||!this._accept(4)?(this._backTo(t),!1):(e.appendChild(new o0(Number(i),s)),!0)}else if(this._accept(11)){let s=this._until(4);if(s)return e.appendChild(new o0(Number(i),void 0,s,void 0)),!0}else if(this._accept(12)){let s=this._until(4);if(s)return e.appendChild(new o0(Number(i),void 0,void 0,s)),!0}else if(this._accept(13)){let s=this._until(1);if(s){let a=this._until(4);if(a)return e.appendChild(new o0(Number(i),void 0,s,a)),!0}}else{let s=this._until(4);if(s)return e.appendChild(new o0(Number(i),void 0,void 0,s)),!0}return this._backTo(t),!1}_parseAnything(e){return this._token.type!==14?(e.appendChild(new a_(this._scanner.tokenText(this._token))),this._accept(void 0),!0):!1}}const Hje={inputActiveOptionBorder:Xi.fromHex(\"#007ACC00\"),inputActiveOptionForeground:Xi.fromHex(\"#FFFFFF\"),inputActiveOptionBackground:Xi.fromHex(\"#0E639C50\")};class E4 extends Lm{constructor(e){super(),this._onChange=this._register(new ri),this.onChange=this._onChange.event,this._onKeyDown=this._register(new ri),this.onKeyDown=this._onKeyDown.event,this._opts=Object.assign(Object.assign({},Hje),e),this._checked=this._opts.isChecked;const t=[\"monaco-custom-checkbox\"];this._opts.icon&&t.push(...df.asClassNameArray(this._opts.icon)),this._opts.actionClassName&&t.push(...this._opts.actionClassName.split(\" \")),this._checked&&t.push(\"checked\"),this.domNode=document.createElement(\"div\"),this.domNode.title=this._opts.title,this.domNode.classList.add(...t),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.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();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 2+2+2+16}style(e){e.inputActiveOptionBorder&&(this._opts.inputActiveOptionBorder=e.inputActiveOptionBorder),e.inputActiveOptionForeground&&(this._opts.inputActiveOptionForeground=e.inputActiveOptionForeground),e.inputActiveOptionBackground&&(this._opts.inputActiveOptionBackground=e.inputActiveOptionBackground),this.applyStyles()}applyStyles(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder?this._opts.inputActiveOptionBorder.toString():\"\",this.domNode.style.color=this._checked&&this._opts.inputActiveOptionForeground?this._opts.inputActiveOptionForeground.toString():\"inherit\",this.domNode.style.backgroundColor=this._checked&&this._opts.inputActiveOptionBackground?this._opts.inputActiveOptionBackground.toString():\"\")}enable(){this.domNode.setAttribute(\"aria-disabled\",String(!1))}disable(){this.domNode.setAttribute(\"aria-disabled\",String(!0))}}const $je=w(\"caseDescription\",\"Match Case\"),zje=w(\"wordsDescription\",\"Match Whole Word\"),Uje=w(\"regexDescription\",\"Use Regular Expression\");class dfe extends E4{constructor(e){super({icon:E.caseSensitive,title:$je+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class hfe extends E4{constructor(e){super({icon:E.wholeWord,title:zje+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class pfe extends E4{constructor(e){super({icon:E.regex,title:Uje+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}const Kje=w(\"defaultLabel\",\"input\");class qje extends Lm{constructor(e,t,n,i){super(),this._showOptionButtons=n,this.fixFocusOnOptionClickEnabled=!0,this.imeSessionInProgress=!1,this._onDidOptionChange=this._register(new ri),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new ri),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new ri),this.onMouseDown=this._onMouseDown.event,this._onInput=this._register(new ri),this._onKeyUp=this._register(new ri),this._onCaseSensitiveKeyDown=this._register(new ri),this.onCaseSensitiveKeyDown=this._onCaseSensitiveKeyDown.event,this._onRegexKeyDown=this._register(new ri),this.onRegexKeyDown=this._onRegexKeyDown.event,this._lastHighlightFindOptions=0,this.contextViewProvider=t,this.placeholder=i.placeholder||\"\",this.validation=i.validation,this.label=i.label||Kje,this.inputActiveOptionBorder=i.inputActiveOptionBorder,this.inputActiveOptionForeground=i.inputActiveOptionForeground,this.inputActiveOptionBackground=i.inputActiveOptionBackground,this.inputBackground=i.inputBackground,this.inputForeground=i.inputForeground,this.inputBorder=i.inputBorder,this.inputValidationInfoBorder=i.inputValidationInfoBorder,this.inputValidationInfoBackground=i.inputValidationInfoBackground,this.inputValidationInfoForeground=i.inputValidationInfoForeground,this.inputValidationWarningBorder=i.inputValidationWarningBorder,this.inputValidationWarningBackground=i.inputValidationWarningBackground,this.inputValidationWarningForeground=i.inputValidationWarningForeground,this.inputValidationErrorBorder=i.inputValidationErrorBorder,this.inputValidationErrorBackground=i.inputValidationErrorBackground,this.inputValidationErrorForeground=i.inputValidationErrorForeground;const s=i.appendCaseSensitiveLabel||\"\",a=i.appendWholeWordsLabel||\"\",l=i.appendRegexLabel||\"\",u=i.history||[],d=!!i.flexibleHeight,h=!!i.flexibleWidth,p=i.flexibleMaxHeight;this.domNode=document.createElement(\"div\"),this.domNode.classList.add(\"monaco-findInput\"),this.inputBox=this._register(new dhe(this.domNode,this.contextViewProvider,{placeholder:this.placeholder||\"\",ariaLabel:this.label||\"\",validationOptions:{validation:this.validation},inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder,history:u,showHistoryHint:i.showHistoryHint,flexibleHeight:d,flexibleWidth:h,flexibleMaxHeight:p})),this.regex=this._register(new pfe({appendTitle:l,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.regex.onChange(y=>{this._onDidOptionChange.fire(y),!y&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.regex.onKeyDown(y=>{this._onRegexKeyDown.fire(y)})),this.wholeWords=this._register(new hfe({appendTitle:a,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.wholeWords.onChange(y=>{this._onDidOptionChange.fire(y),!y&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this.caseSensitive=this._register(new dfe({appendTitle:s,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.caseSensitive.onChange(y=>{this._onDidOptionChange.fire(y),!y&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.caseSensitive.onKeyDown(y=>{this._onCaseSensitiveKeyDown.fire(y)})),this._showOptionButtons&&(this.inputBox.paddingRight=this.caseSensitive.width()+this.wholeWords.width()+this.regex.width());let g=[this.caseSensitive.domNode,this.wholeWords.domNode,this.regex.domNode];this.onkeydown(this.domNode,y=>{if(y.equals(15)||y.equals(17)||y.equals(9)){let D=g.indexOf(document.activeElement);if(D>=0){let T=-1;y.equals(17)?T=(D+1)%g.length:y.equals(15)&&(D===0?T=g.length-1:T=D-1),y.equals(9)?(g[D].blur(),this.inputBox.focus()):T>=0&&g[T].focus(),xu.stop(y,!0)}}}),this.controls=document.createElement(\"div\"),this.controls.className=\"controls\",this.controls.style.display=this._showOptionButtons?\"block\":\"none\",this.controls.appendChild(this.caseSensitive.domNode),this.controls.appendChild(this.wholeWords.domNode),this.controls.appendChild(this.regex.domNode),this.domNode.appendChild(this.controls),e&&e.appendChild(this.domNode),this._register(hs(this.inputBox.inputElement,\"compositionstart\",y=>{this.imeSessionInProgress=!0})),this._register(hs(this.inputBox.inputElement,\"compositionend\",y=>{this.imeSessionInProgress=!1,this._onInput.fire()})),this.onkeydown(this.inputBox.inputElement,y=>this._onKeyDown.fire(y)),this.onkeyup(this.inputBox.inputElement,y=>this._onKeyUp.fire(y)),this.oninput(this.inputBox.inputElement,y=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,y=>this._onMouseDown.fire(y))}enable(){this.domNode.classList.remove(\"disabled\"),this.inputBox.enable(),this.regex.enable(),this.wholeWords.enable(),this.caseSensitive.enable()}disable(){this.domNode.classList.add(\"disabled\"),this.inputBox.disable(),this.regex.disable(),this.wholeWords.disable(),this.caseSensitive.disable()}setFocusInputOnOptionClick(e){this.fixFocusOnOptionClickEnabled=e}setEnabled(e){e?this.enable():this.disable()}getValue(){return this.inputBox.value}setValue(e){this.inputBox.value!==e&&(this.inputBox.value=e)}style(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionForeground=e.inputActiveOptionForeground,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){if(this.domNode){const e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground};this.regex.style(e),this.wholeWords.style(e),this.caseSensitive.style(e);const t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getCaseSensitive(){return this.caseSensitive.checked}setCaseSensitive(e){this.caseSensitive.checked=e}getWholeWords(){return this.wholeWords.checked}setWholeWords(e){this.wholeWords.checked=e}getRegex(){return this.regex.checked}setRegex(e){this.regex.checked=e,this.validate()}focusOnCaseSensitive(){this.caseSensitive.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()}clearMessage(){this.inputBox.hideMessage()}}const Gje=w(\"defaultLabel\",\"input\"),Jje=w(\"label.preserveCaseCheckbox\",\"Preserve Case\");class Yje extends E4{constructor(e){super({icon:E.preserveCase,title:Jje+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class Xje extends Lm{constructor(e,t,n,i){super(),this._showOptionButtons=n,this.fixFocusOnOptionClickEnabled=!0,this.cachedOptionsWidth=0,this._onDidOptionChange=this._register(new ri),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new ri),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new ri),this._onInput=this._register(new ri),this._onKeyUp=this._register(new ri),this._onPreserveCaseKeyDown=this._register(new ri),this.onPreserveCaseKeyDown=this._onPreserveCaseKeyDown.event,this.contextViewProvider=t,this.placeholder=i.placeholder||\"\",this.validation=i.validation,this.label=i.label||Gje,this.inputActiveOptionBorder=i.inputActiveOptionBorder,this.inputActiveOptionForeground=i.inputActiveOptionForeground,this.inputActiveOptionBackground=i.inputActiveOptionBackground,this.inputBackground=i.inputBackground,this.inputForeground=i.inputForeground,this.inputBorder=i.inputBorder,this.inputValidationInfoBorder=i.inputValidationInfoBorder,this.inputValidationInfoBackground=i.inputValidationInfoBackground,this.inputValidationInfoForeground=i.inputValidationInfoForeground,this.inputValidationWarningBorder=i.inputValidationWarningBorder,this.inputValidationWarningBackground=i.inputValidationWarningBackground,this.inputValidationWarningForeground=i.inputValidationWarningForeground,this.inputValidationErrorBorder=i.inputValidationErrorBorder,this.inputValidationErrorBackground=i.inputValidationErrorBackground,this.inputValidationErrorForeground=i.inputValidationErrorForeground;const s=i.appendPreserveCaseLabel||\"\",a=i.history||[],l=!!i.flexibleHeight,u=!!i.flexibleWidth,d=i.flexibleMaxHeight;this.domNode=document.createElement(\"div\"),this.domNode.classList.add(\"monaco-findInput\"),this.inputBox=this._register(new dhe(this.domNode,this.contextViewProvider,{ariaLabel:this.label||\"\",placeholder:this.placeholder||\"\",validationOptions:{validation:this.validation},inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder,history:a,showHistoryHint:i.showHistoryHint,flexibleHeight:l,flexibleWidth:u,flexibleMaxHeight:d})),this.preserveCase=this._register(new Yje({appendTitle:s,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.preserveCase.onChange(g=>{this._onDidOptionChange.fire(g),!g&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.preserveCase.onKeyDown(g=>{this._onPreserveCaseKeyDown.fire(g)})),this._showOptionButtons?this.cachedOptionsWidth=this.preserveCase.width():this.cachedOptionsWidth=0;let h=[this.preserveCase.domNode];this.onkeydown(this.domNode,g=>{if(g.equals(15)||g.equals(17)||g.equals(9)){let y=h.indexOf(document.activeElement);if(y>=0){let D=-1;g.equals(17)?D=(y+1)%h.length:g.equals(15)&&(y===0?D=h.length-1:D=y-1),g.equals(9)?(h[y].blur(),this.inputBox.focus()):D>=0&&h[D].focus(),xu.stop(g,!0)}}});let p=document.createElement(\"div\");p.className=\"controls\",p.style.display=this._showOptionButtons?\"block\":\"none\",p.appendChild(this.preserveCase.domNode),this.domNode.appendChild(p),e&&e.appendChild(this.domNode),this.onkeydown(this.inputBox.inputElement,g=>this._onKeyDown.fire(g)),this.onkeyup(this.inputBox.inputElement,g=>this._onKeyUp.fire(g)),this.oninput(this.inputBox.inputElement,g=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,g=>this._onMouseDown.fire(g))}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()}style(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionForeground=e.inputActiveOptionForeground,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){if(this.domNode){const e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground};this.preserveCase.style(e);const t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getPreserveCase(){return this.preserveCase.checked}setPreserveCase(e){this.preserveCase.checked=e}focusOnPreserve(){this.preserveCase.focus()}validate(){this.inputBox&&this.inputBox.validate()}set width(e){this.inputBox.paddingRight=this.cachedOptionsWidth,this.inputBox.width=e,this.domNode.style.width=e+\"px\"}dispose(){super.dispose()}}var ffe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},_fe=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};const iY=new Do(\"suggestWidgetVisible\",!1,w(\"suggestWidgetVisible\",\"Whether suggestion are visible\")),PL=\"historyNavigationWidget\",gfe=\"historyNavigationForwardsEnabled\",mfe=\"historyNavigationBackwardsEnabled\";function Qje(o,e,t){new Do(t,e).bindTo(o)}function Zje(o,e){return o.createScoped(e.target)}function yfe(o,e){return o.getContext(document.activeElement).getValue(e)}function bfe(o,e){const t=Zje(o,e);Qje(t,e,PL);const n=new Do(gfe,!0).bindTo(t),i=new Do(mfe,!0).bindTo(t);return{scopedContextKeyService:t,historyNavigationForwardsEnablement:n,historyNavigationBackwardsEnablement:i}}let CK=class extends qje{constructor(e,t,n,i,s=!1){super(e,t,s,n),this._register(bfe(i,{target:this.inputBox.element,historyNavigator:this.inputBox}).scopedContextKeyService)}};CK=ffe([_fe(3,Xa)],CK);let DK=class extends Xje{constructor(e,t,n,i,s=!1){super(e,t,s,n),this._register(bfe(i,{target:this.inputBox.element,historyNavigator:this.inputBox}).scopedContextKeyService)}};DK=ffe([_fe(3,Xa)],DK);gf.registerCommandAndKeybindingRule({id:\"history.showPrevious\",weight:200,when:co.and(co.has(PL),co.equals(mfe,!0),iY.isEqualTo(!1)),primary:16,secondary:[528],handler:o=>{const e=yfe(o.get(Xa),PL);e&&e.historyNavigator.showPreviousValue()}});gf.registerCommandAndKeybindingRule({id:\"history.showNext\",weight:200,when:co.and(co.has(PL),co.equals(gfe,!0),iY.isEqualTo(!1)),primary:18,secondary:[530],handler:o=>{const e=yfe(o.get(Xa),PL);e&&e.historyNavigator.showNextValue()}});var k3=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};const Kl={Visible:iY,DetailsVisible:new Do(\"suggestWidgetDetailsVisible\",!1,w(\"suggestWidgetDetailsVisible\",\"Whether suggestion details are visible\")),MultipleSuggestions:new Do(\"suggestWidgetMultipleSuggestions\",!1,w(\"suggestWidgetMultipleSuggestions\",\"Whether there are multiple suggestions to pick from\")),MakesTextEdit:new Do(\"suggestionMakesTextEdit\",!0,w(\"suggestionMakesTextEdit\",\"Whether inserting the current suggestion yields in a change or has everything already been typed\")),AcceptSuggestionsOnEnter:new Do(\"acceptSuggestionOnEnter\",!0,w(\"acceptSuggestionOnEnter\",\"Whether suggestions are inserted when pressing Enter\")),HasInsertAndReplaceRange:new Do(\"suggestionHasInsertAndReplaceRange\",!1,w(\"suggestionHasInsertAndReplaceRange\",\"Whether the current suggestion has insert and replace behaviour\")),InsertMode:new Do(\"suggestionInsertMode\",void 0,{type:\"string\",description:w(\"suggestionInsertMode\",\"Whether the default behaviour is to insert or replace\")}),CanResolve:new Do(\"suggestionCanResolve\",!1,w(\"suggestionCanResolve\",\"Whether the current suggestion supports to resolve further details\"))},fC=new Fn(\"suggestWidgetStatusBar\");class eWe{constructor(e,t,n,i){this.position=e,this.completion=t,this.container=n,this.provider=i,this.isInvalid=!1,this.score=_0.Default,this.distance=0,this.textLabel=typeof t.label==\"string\"?t.label:t.label.label,this.labelLow=this.textLabel.toLowerCase(),this.isInvalid=!this.textLabel,this.sortTextLow=t.sortText&&t.sortText.toLowerCase(),this.filterTextLow=t.filterText&&t.filterText.toLowerCase(),He.isIRange(t.range)?(this.editStart=new Ii(t.range.startLineNumber,t.range.startColumn),this.editInsertEnd=new Ii(t.range.endLineNumber,t.range.endColumn),this.editReplaceEnd=new Ii(t.range.endLineNumber,t.range.endColumn),this.isInvalid=this.isInvalid||He.spansMultipleLines(t.range)||t.range.startLineNumber!==e.lineNumber):(this.editStart=new Ii(t.range.insert.startLineNumber,t.range.insert.startColumn),this.editInsertEnd=new Ii(t.range.insert.endLineNumber,t.range.insert.endColumn),this.editReplaceEnd=new Ii(t.range.replace.endLineNumber,t.range.replace.endColumn),this.isInvalid=this.isInvalid||He.spansMultipleLines(t.range.insert)||He.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 i.resolveCompletionItem!=\"function\"&&(this._resolveCache=Promise.resolve(),this._isResolved=!0)}get isResolved(){return!!this._isResolved}resolve(e){return k3(this,void 0,void 0,function*(){if(!this._resolveCache){const t=e.onCancellationRequested(()=>{this._resolveCache=void 0,this._isResolved=!1});this._resolveCache=Promise.resolve(this.provider.resolveCompletionItem(this.completion,e)).then(n=>{Object.assign(this.completion,n),this._isResolved=!0,t.dispose()},n=>{ry(n)&&(this._resolveCache=void 0,this._isResolved=!1)})}return this._resolveCache})}}class Z7{constructor(e=2,t=new Set,n=new Set,i=!0){this.snippetSortOrder=e,this.kindFilter=t,this.providerFilter=n,this.showDeprecated=i}}Z7.default=new Z7;let tWe;function nWe(){return tWe}class iWe{constructor(e,t,n,i){this.items=e,this.needsClipboard=t,this.durations=n,this.disposable=i}}function vfe(o,e,t,n=Z7.default,i={triggerKind:0},s=Ll.None){return k3(this,void 0,void 0,function*(){const a=new Bf(!0);t=t.clone();const l=e.getWordAtPosition(t),u=l?new He(t.lineNumber,l.startColumn,t.lineNumber,l.endColumn):He.fromPositions(t),d={replace:u,insert:u.setEndPosition(t.lineNumber,t.column)},h=[],p=new fs,g=[];let y=!1;const D=(k,I,F)=>{var q,re,Ie;let mt=!1;if(!I)return mt;for(let Le of I.suggestions)if(!n.kindFilter.has(Le.kind)){if(!n.showDeprecated&&((q=Le==null?void 0:Le.tags)===null||q===void 0?void 0:q.includes(1)))continue;Le.range||(Le.range=d),Le.sortText||(Le.sortText=typeof Le.label==\"string\"?Le.label:Le.label.label),!y&&Le.insertTextRules&&Le.insertTextRules&4&&(y=V9.guessNeedsClipboard(Le.insertText)),h.push(new eWe(t,Le,I,k)),mt=!0}return Sq(I)&&p.add(I),g.push({providerName:(re=k._debugDisplayName)!==null&&re!==void 0?re:\"unknown_provider\",elapsedProvider:(Ie=I.duration)!==null&&Ie!==void 0?Ie:-1,elapsedOverall:F.elapsed()}),mt},T=(()=>k3(this,void 0,void 0,function*(){}))();for(let k of o.orderedGroups(e)){let I=!1;if(yield Promise.all(k.map(F=>k3(this,void 0,void 0,function*(){if(!(n.providerFilter.size>0&&!n.providerFilter.has(F)))try{const q=new Bf(!0),re=yield F.provideCompletionItems(e,t,i,s);I=D(F,re,q)||I}catch(q){bh(q)}}))),I||s.isCancellationRequested)break}return yield T,s.isCancellationRequested?(p.dispose(),Promise.reject(wq())):new iWe(h.sort(Cfe(n.snippetSortOrder)),y,{entries:g,elapsed:a.elapsed()},p)})}function rY(o,e){if(o.sortTextLow&&e.sortTextLow){if(o.sortTextLow<e.sortTextLow)return-1;if(o.sortTextLow>e.sortTextLow)return 1}return o.completion.label<e.completion.label?-1:o.completion.label>e.completion.label?1:o.completion.kind-e.completion.kind}function rWe(o,e){if(o.completion.kind!==e.completion.kind){if(o.completion.kind===27)return-1;if(e.completion.kind===27)return 1}return rY(o,e)}function sWe(o,e){if(o.completion.kind!==e.completion.kind){if(o.completion.kind===27)return 1;if(e.completion.kind===27)return-1}return rY(o,e)}const H9=new Map;H9.set(0,rWe);H9.set(2,sWe);H9.set(1,rY);function Cfe(o){return H9.get(o)}tu.registerCommand(\"_executeCompletionItemProvider\",(o,...e)=>k3(void 0,void 0,void 0,function*(){const[t,n,i,s]=e;$u(wa.isUri(t)),$u(Ii.isIPosition(n)),$u(typeof i==\"string\"||!i),$u(typeof s==\"number\"||!s);const{completionProvider:a}=o.get($o),l=yield o.get(Wf).createModelReference(t);try{const u={incomplete:!1,suggestions:[]},d=[],h=yield vfe(a,l.object.textEditorModel,Ii.lift(n),void 0,{triggerCharacter:i,triggerKind:i?1:0});for(const p of h.items)d.length<(s!=null?s:0)&&d.push(p.resolve(Ll.None)),u.incomplete=u.incomplete||p.container.incomplete,u.suggestions.push(p.completion);try{return yield Promise.all(d),u}finally{setTimeout(()=>h.disposable.dispose(),100)}}finally{l.dispose()}}));let S5,LH=[];function oWe(o,e,t){const{completionProvider:n}=o.get($o);S5||(S5=new class{provideCompletionItems(){let s={suggestions:LH.slice(0)};return LH.length=0,s}},n.register(\"*\",S5)),setTimeout(()=>{var i;LH.push(...t),(i=e.getContribution(\"editor.contrib.suggestController\"))===null||i===void 0||i.triggerSuggest(new Set().add(S5))},0)}var sY=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},eP=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};const gae=ls;let tP=class Dfe extends fr{constructor(e,t,n){super(),this._editor=e,this._instantiationService=t,this._keybindingService=n,this._widget=this._register(this._instantiationService.createInstance(gD,this._editor)),this._decorationsChangerListener=this._register(new aWe(this._editor)),this._messages=[],this._messagesAreComplete=!1,this._participants=[];for(const i of xw.getAll())this._participants.push(this._instantiationService.createInstance(i,this._editor));this._participants.sort((i,s)=>i.hoverOrdinal-s.hoverOrdinal),this._computer=new nP(this._editor,this._participants),this._hoverOperation=this._register(new ufe(this._editor,this._computer)),this._register(this._hoverOperation.onResult(i=>{this._withResult(i.value,i.isComplete,i.hasLoadingMessage)})),this._register(this._decorationsChangerListener.onDidChangeModelDecorations(()=>this._onModelDecorationsChanged())),this._register(Fh(this._widget.getDomNode(),\"keydown\",i=>{i.equals(9)&&this.hide()})),this._register(Ic.onDidChange(()=>{this._widget.position&&this._computer.anchor&&this._messages.length>0&&(this._widget.clear(),this._renderMessages(this._computer.anchor,this._messages))}))}_onModelDecorationsChanged(){this._widget.position&&(this._hoverOperation.cancel(),this._widget.isColorPickerVisible||this._hoverOperation.start(0))}maybeShowAt(e){const t=[];for(const i of this._participants)if(i.suggestHoverAnchor){const s=i.suggestHoverAnchor(e);s&&t.push(s)}const n=e.target;if(n.type===6&&t.push(new kH(0,n.range)),n.type===7){const i=this._editor.getOption(44).typicalHalfwidthCharacterWidth/2;!n.detail.isAfterLines&&typeof n.detail.horizontalDistanceToText==\"number\"&&n.detail.horizontalDistanceToText<i&&t.push(new kH(0,n.range))}return t.length===0?!1:(t.sort((i,s)=>s.priority-i.priority),this._startShowingAt(t[0],0,!1),!0)}startShowingAtRange(e,t,n){this._startShowingAt(new kH(0,e),t,n)}_startShowingAt(e,t,n){if(!(this._computer.anchor&&this._computer.anchor.equals(e))){if(this._hoverOperation.cancel(),this._widget.position)if(!this._computer.anchor||!e.canAdoptVisibleHover(this._computer.anchor,this._widget.position))this.hide();else{const i=this._messages.filter(s=>s.isValidForHoverAnchor(e));if(i.length===0)this.hide();else{if(i.length===this._messages.length&&this._messagesAreComplete)return;this._renderMessages(e,i)}}this._computer.anchor=e,this._computer.shouldFocus=n,this._hoverOperation.start(t)}}hide(){this._computer.anchor=null,this._hoverOperation.cancel(),this._widget.hide()}isColorPickerVisible(){return this._widget.isColorPickerVisible}_addLoadingMessage(e){if(this._computer.anchor){for(const t of this._participants)if(t.createLoadingMessage){const n=t.createLoadingMessage(this._computer.anchor);if(n)return e.slice(0).concat([n])}}return e}_withResult(e,t,n){this._messages=n?this._addLoadingMessage(e):e,this._messagesAreComplete=t,this._computer.anchor&&this._messages.length>0?this._renderMessages(this._computer.anchor,this._messages):t&&this.hide()}_renderMessages(e,t){let n=1073741824,i=t[0].range,s=null;for(const p of t)n=Math.min(n,p.range.startColumn),i=He.plusRange(i,p.range),p.forceShowAtRange&&(s=p.range);const a=new fs,l=a.add(new wK(this._keybindingService)),u=document.createDocumentFragment();let d=null;const h={fragment:u,statusBar:l,setColorPicker:p=>d=p,onContentsChanged:()=>this._widget.onContentsChanged(),hide:()=>this.hide()};for(const p of this._participants){const g=t.filter(y=>y.owner===p);g.length>0&&a.add(p.renderHoverParts(h,g))}if(l.hasContent&&u.appendChild(l.hoverElement),u.hasChildNodes()){if(i){const p=this._decorationsChangerListener.deltaDecorations([],[{range:i,options:Dfe._DECORATION_OPTIONS}]);a.add(wl(()=>{this._decorationsChangerListener.deltaDecorations(p,[])}))}this._widget.showAt(u,new lWe(d,s?s.getStartPosition():new Ii(e.range.startLineNumber,n),s||i,this._editor.getOption(53).above,this._computer.shouldFocus,a))}else a.dispose()}};tP._DECORATION_OPTIONS=_l.register({description:\"content-hover-highlight\",className:\"hoverHighlight\"});tP=sY([eP(1,Nl),eP(2,Xc)],tP);class aWe extends fr{constructor(e){super(),this._editor=e,this._onDidChangeModelDecorations=this._register(new ri),this.onDidChangeModelDecorations=this._onDidChangeModelDecorations.event,this._isChangingDecorations=!1,this._register(this._editor.onDidChangeModelDecorations(t=>{this._isChangingDecorations||this._onDidChangeModelDecorations.fire(t)}))}deltaDecorations(e,t){try{return this._isChangingDecorations=!0,this._editor.deltaDecorations(e,t)}finally{this._isChangingDecorations=!1}}}class lWe{constructor(e,t,n,i,s,a){this.colorPicker=e,this.showAtPosition=t,this.showAtRange=n,this.preferAbove=i,this.stoleFocus=s,this.disposables=a}}let gD=class wfe extends fr{constructor(e,t){super(),this._editor=e,this._contextKeyService=t,this.allowEditorOverflow=!0,this._hoverVisibleKey=on.hoverVisible.bindTo(this._contextKeyService),this._hover=this._register(new lfe),this._visibleData=null,this._register(this._editor.onDidLayoutChange(()=>this._layout())),this._register(this._editor.onDidChangeConfiguration(n=>{n.hasChanged(44)&&this._updateFont()})),this._setVisibleData(null),this._layout(),this._editor.addContentWidget(this)}get position(){var e,t;return(t=(e=this._visibleData)===null||e===void 0?void 0:e.showAtPosition)!==null&&t!==void 0?t:null}get isColorPickerVisible(){var e;return Boolean((e=this._visibleData)===null||e===void 0?void 0:e.colorPicker)}dispose(){this._editor.removeContentWidget(this),this._visibleData&&this._visibleData.disposables.dispose(),super.dispose()}getId(){return wfe.ID}getDomNode(){return this._hover.containerDomNode}getPosition(){if(!this._visibleData)return null;let e=this._visibleData.preferAbove;return!e&&this._contextKeyService.getContextKeyValue(Kl.Visible.key)&&(e=!0),{position:this._visibleData.showAtPosition,range:this._visibleData.showAtRange,preference:e?[1,2]:[2,1]}}_setVisibleData(e){this._visibleData&&this._visibleData.disposables.dispose(),this._visibleData=e,this._hoverVisibleKey.set(!!this._visibleData),this._hover.containerDomNode.classList.toggle(\"hidden\",!this._visibleData)}_layout(){const e=Math.max(this._editor.getLayoutInfo().height/4,250),{fontSize:t,lineHeight:n}=this._editor.getOption(44);this._hover.contentsDomNode.style.fontSize=`${t}px`,this._hover.contentsDomNode.style.lineHeight=`${n/t}`,this._hover.contentsDomNode.style.maxHeight=`${e}px`,this._hover.contentsDomNode.style.maxWidth=`${Math.max(this._editor.getLayoutInfo().width*.66,500)}px`}_updateFont(){Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName(\"code\")).forEach(t=>this._editor.applyFontInfo(t))}showAt(e,t){this._setVisibleData(t),this._hover.contentsDomNode.textContent=\"\",this._hover.contentsDomNode.appendChild(e),this._hover.contentsDomNode.style.paddingBottom=\"\",this._updateFont(),this._editor.layoutContentWidget(this),this.onContentsChanged(),this._editor.render(),this._editor.layoutContentWidget(this),this.onContentsChanged(),t.stoleFocus&&this._hover.containerDomNode.focus(),t.colorPicker&&t.colorPicker.layout()}hide(){if(this._visibleData){const e=this._visibleData.stoleFocus;this._setVisibleData(null),this._editor.layoutContentWidget(this),e&&this._editor.focus()}}onContentsChanged(){this._hover.onContentsChanged();const e=this._hover.scrollbar.getScrollDimensions();if(e.scrollWidth>e.width){const n=`${this._hover.scrollbar.options.horizontalScrollbarSize}px`;this._hover.contentsDomNode.style.paddingBottom!==n&&(this._hover.contentsDomNode.style.paddingBottom=n,this._editor.layoutContentWidget(this),this._hover.onContentsChanged())}}clear(){this._hover.contentsDomNode.textContent=\"\"}};gD.ID=\"editor.contrib.contentHoverWidget\";gD=sY([eP(1,Xa)],gD);let wK=class extends fr{constructor(e){super(),this._keybindingService=e,this._hasContent=!1,this.hoverElement=gae(\"div.hover-row.status-bar\"),this.actionsElement=Jr(this.hoverElement,gae(\"div.actions\"))}get hasContent(){return this._hasContent}addAction(e){const t=this._keybindingService.lookupKeybinding(e.commandId),n=t?t.getLabel():null;return this._hasContent=!0,this._register(tY.render(this.actionsElement,e,n))}append(e){const t=Jr(this.actionsElement,e);return this._hasContent=!0,t}};wK=sY([eP(0,Xc)],wK);class nP{constructor(e,t){this._editor=e,this._participants=t,this._anchor=null,this._shouldFocus=!1}get anchor(){return this._anchor}set anchor(e){this._anchor=e}get shouldFocus(){return this._shouldFocus}set shouldFocus(e){this._shouldFocus=e}static _getLineDecorations(e,t){if(t.type!==1)return[];const n=e.getModel(),i=t.range.startLineNumber,s=n.getLineMaxColumn(i);return e.getLineDecorations(i).filter(a=>{if(a.options.isWholeLine)return!0;const l=a.range.startLineNumber===i?a.range.startColumn:1,u=a.range.endLineNumber===i?a.range.endColumn:s;if(a.options.showIfCollapsed){if(l>t.range.startColumn+1||t.range.endColumn-1>u)return!1}else if(l>t.range.startColumn||t.range.endColumn>u)return!1;return!0})}computeAsync(e){const t=this._anchor;if(!this._editor.hasModel()||!t)return vd.EMPTY;const n=nP._getLineDecorations(this._editor,t);return vd.merge(this._participants.map(i=>i.computeAsync?i.computeAsync(t,n,e):vd.EMPTY))}computeSync(){if(!this._editor.hasModel()||!this._anchor)return[];const e=nP._getLineDecorations(this._editor,this._anchor);let t=[];for(const n of this._participants)t=t.concat(n.computeSync(this._anchor,e));return rw(t)}}/*! @license DOMPurify 2.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.1/LICENSE */function uWe(o){if(Array.isArray(o)){for(var e=0,t=Array(o.length);e<o.length;e++)t[e]=o[e];return t}else return Array.from(o)}var cWe=Object.hasOwnProperty,mae=Object.setPrototypeOf,dWe=Object.isFrozen,hWe=Object.getPrototypeOf,pWe=Object.getOwnPropertyDescriptor,f_=Object.freeze,Ab=Object.seal,fWe=Object.create,Sfe=typeof Reflect!=\"undefined\"&&Reflect,iP=Sfe.apply,SK=Sfe.construct;iP||(iP=function(e,t,n){return e.apply(t,n)});f_||(f_=function(e){return e});Ab||(Ab=function(e){return e});SK||(SK=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(uWe(t))))});var _We=w0(Array.prototype.forEach),yae=w0(Array.prototype.pop),Ok=w0(Array.prototype.push),M2=w0(String.prototype.toLowerCase),bae=w0(String.prototype.match),gv=w0(String.prototype.replace),gWe=w0(String.prototype.indexOf),mWe=w0(String.prototype.trim),qy=w0(RegExp.prototype.test),vae=yWe(TypeError);function w0(o){return function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return iP(o,e,n)}}function yWe(o){return function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return SK(o,t)}}function Nu(o,e){mae&&mae(o,null);for(var t=e.length;t--;){var n=e[t];if(typeof n==\"string\"){var i=M2(n);i!==n&&(dWe(e)||(e[t]=i),n=i)}o[n]=!0}return o}function A2(o){var e=fWe(null),t=void 0;for(t in o)iP(cWe,o,[t])&&(e[t]=o[t]);return e}function x5(o,e){for(;o!==null;){var t=pWe(o,e);if(t){if(t.get)return w0(t.get);if(typeof t.value==\"function\")return w0(t.value)}o=hWe(o)}function n(i){return console.warn(\"fallback value for\",i),null}return n}var Cae=f_([\"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\"]),NH=f_([\"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\"]),IH=f_([\"feBlend\",\"feColorMatrix\",\"feComponentTransfer\",\"feComposite\",\"feConvolveMatrix\",\"feDiffuseLighting\",\"feDisplacementMap\",\"feDistantLight\",\"feFlood\",\"feFuncA\",\"feFuncB\",\"feFuncG\",\"feFuncR\",\"feGaussianBlur\",\"feMerge\",\"feMergeNode\",\"feMorphology\",\"feOffset\",\"fePointLight\",\"feSpecularLighting\",\"feSpotLight\",\"feTile\",\"feTurbulence\"]),bWe=f_([\"animate\",\"color-profile\",\"cursor\",\"discard\",\"fedropshadow\",\"feimage\",\"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\"]),FH=f_([\"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\"]),vWe=f_([\"maction\",\"maligngroup\",\"malignmark\",\"mlongdiv\",\"mscarries\",\"mscarry\",\"msgroup\",\"mstack\",\"msline\",\"msrow\",\"semantics\",\"annotation\",\"annotation-xml\",\"mprescripts\",\"none\"]),Dae=f_([\"#text\"]),wae=f_([\"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\",\"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\"]),PH=f_([\"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\",\"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\"]),Sae=f_([\"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\"]),E5=f_([\"xlink:href\",\"xml:id\",\"xlink:title\",\"xml:space\",\"xmlns:xlink\"]),CWe=Ab(/\\{\\{[\\s\\S]*|[\\s\\S]*\\}\\}/gm),DWe=Ab(/<%[\\s\\S]*|[\\s\\S]*%>/gm),wWe=Ab(/^data-[\\-\\w.\\u00B7-\\uFFFF]/),SWe=Ab(/^aria-[\\-\\w]+$/),xWe=Ab(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\\-]+(?:[^a-z+.\\-:]|$))/i),EWe=Ab(/^(?:\\w+script|data):/i),TWe=Ab(/[\\u0000-\\u0020\\u00A0\\u1680\\u180E\\u2000-\\u2029\\u205F\\u3000]/g),Xk=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(o){return typeof o}:function(o){return o&&typeof Symbol==\"function\"&&o.constructor===Symbol&&o!==Symbol.prototype?\"symbol\":typeof o};function h1(o){if(Array.isArray(o)){for(var e=0,t=Array(o.length);e<o.length;e++)t[e]=o[e];return t}else return Array.from(o)}var AWe=function(){return typeof window==\"undefined\"?null:window},kWe=function(e,t){if((typeof e==\"undefined\"?\"undefined\":Xk(e))!==\"object\"||typeof e.createPolicy!=\"function\")return null;var n=null,i=\"data-tt-policy-suffix\";t.currentScript&&t.currentScript.hasAttribute(i)&&(n=t.currentScript.getAttribute(i));var s=\"dompurify\"+(n?\"#\"+n:\"\");try{return e.createPolicy(s,{createHTML:function(l){return l}})}catch{return console.warn(\"TrustedTypes policy \"+s+\" could not be created.\"),null}};function xfe(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:AWe(),e=function(_t){return xfe(_t)};if(e.version=\"2.3.1\",e.removed=[],!o||!o.document||o.document.nodeType!==9)return e.isSupported=!1,e;var t=o.document,n=o.document,i=o.DocumentFragment,s=o.HTMLTemplateElement,a=o.Node,l=o.Element,u=o.NodeFilter,d=o.NamedNodeMap,h=d===void 0?o.NamedNodeMap||o.MozNamedAttrMap:d,p=o.Text,g=o.Comment,y=o.DOMParser,D=o.trustedTypes,T=l.prototype,k=x5(T,\"cloneNode\"),I=x5(T,\"nextSibling\"),F=x5(T,\"childNodes\"),q=x5(T,\"parentNode\");if(typeof s==\"function\"){var re=n.createElement(\"template\");re.content&&re.content.ownerDocument&&(n=re.content.ownerDocument)}var Ie=kWe(D,t),mt=Ie&&Ch?Ie.createHTML(\"\"):\"\",Le=n,Ge=Le.implementation,qt=Le.createNodeIterator,gi=Le.createDocumentFragment,ai=Le.getElementsByTagName,Tr=t.importNode,Vr={};try{Vr=A2(n).documentMode?n.documentMode:{}}catch{}var go={};e.isSupported=typeof q==\"function\"&&Ge&&typeof Ge.createHTMLDocument!=\"undefined\"&&Vr!==9;var Js=CWe,Fo=DWe,aa=wWe,Qo=SWe,Ao=EWe,Gl=TWe,nl=xWe,Po=null,mo=Nu({},[].concat(h1(Cae),h1(NH),h1(IH),h1(FH),h1(Dae))),Bl=null,mc=Nu({},[].concat(h1(wae),h1(PH),h1(Sae),h1(E5))),lc=null,dd=null,gu=!0,Ka=!0,Qc=!1,Ba=!1,xd=!1,jp=!1,Fu=!1,Ed=!1,wp=!1,zd=!0,Ch=!1,sh=!0,$r=!0,sr=!1,gr={},It=null,dn=Nu({},[\"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\"]),Si=null,Yn=Nu({},[\"audio\",\"video\",\"img\",\"source\",\"image\",\"track\"]),Zr=null,vs=Nu({},[\"alt\",\"class\",\"for\",\"id\",\"label\",\"name\",\"pattern\",\"placeholder\",\"role\",\"summary\",\"title\",\"value\",\"style\",\"xmlns\"]),ra=\"http://www.w3.org/1998/Math/MathML\",zo=\"http://www.w3.org/2000/svg\",za=\"http://www.w3.org/1999/xhtml\",La=za,Ul=!1,bl=null,ua=n.createElement(\"form\"),Qs=function(_t){bl&&bl===_t||((!_t||(typeof _t==\"undefined\"?\"undefined\":Xk(_t))!==\"object\")&&(_t={}),_t=A2(_t),Po=\"ALLOWED_TAGS\"in _t?Nu({},_t.ALLOWED_TAGS):mo,Bl=\"ALLOWED_ATTR\"in _t?Nu({},_t.ALLOWED_ATTR):mc,Zr=\"ADD_URI_SAFE_ATTR\"in _t?Nu(A2(vs),_t.ADD_URI_SAFE_ATTR):vs,Si=\"ADD_DATA_URI_TAGS\"in _t?Nu(A2(Yn),_t.ADD_DATA_URI_TAGS):Yn,It=\"FORBID_CONTENTS\"in _t?Nu({},_t.FORBID_CONTENTS):dn,lc=\"FORBID_TAGS\"in _t?Nu({},_t.FORBID_TAGS):{},dd=\"FORBID_ATTR\"in _t?Nu({},_t.FORBID_ATTR):{},gr=\"USE_PROFILES\"in _t?_t.USE_PROFILES:!1,gu=_t.ALLOW_ARIA_ATTR!==!1,Ka=_t.ALLOW_DATA_ATTR!==!1,Qc=_t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ba=_t.SAFE_FOR_TEMPLATES||!1,xd=_t.WHOLE_DOCUMENT||!1,Ed=_t.RETURN_DOM||!1,wp=_t.RETURN_DOM_FRAGMENT||!1,zd=_t.RETURN_DOM_IMPORT!==!1,Ch=_t.RETURN_TRUSTED_TYPE||!1,Fu=_t.FORCE_BODY||!1,sh=_t.SANITIZE_DOM!==!1,$r=_t.KEEP_CONTENT!==!1,sr=_t.IN_PLACE||!1,nl=_t.ALLOWED_URI_REGEXP||nl,La=_t.NAMESPACE||za,Ba&&(Ka=!1),wp&&(Ed=!0),gr&&(Po=Nu({},[].concat(h1(Dae))),Bl=[],gr.html===!0&&(Nu(Po,Cae),Nu(Bl,wae)),gr.svg===!0&&(Nu(Po,NH),Nu(Bl,PH),Nu(Bl,E5)),gr.svgFilters===!0&&(Nu(Po,IH),Nu(Bl,PH),Nu(Bl,E5)),gr.mathMl===!0&&(Nu(Po,FH),Nu(Bl,Sae),Nu(Bl,E5))),_t.ADD_TAGS&&(Po===mo&&(Po=A2(Po)),Nu(Po,_t.ADD_TAGS)),_t.ADD_ATTR&&(Bl===mc&&(Bl=A2(Bl)),Nu(Bl,_t.ADD_ATTR)),_t.ADD_URI_SAFE_ATTR&&Nu(Zr,_t.ADD_URI_SAFE_ATTR),_t.FORBID_CONTENTS&&(It===dn&&(It=A2(It)),Nu(It,_t.FORBID_CONTENTS)),$r&&(Po[\"#text\"]=!0),xd&&Nu(Po,[\"html\",\"head\",\"body\"]),Po.table&&(Nu(Po,[\"tbody\"]),delete lc.tbody),f_&&f_(_t),bl=_t)},Dr=Nu({},[\"mi\",\"mo\",\"mn\",\"ms\",\"mtext\"]),Ar=Nu({},[\"foreignobject\",\"desc\",\"title\",\"annotation-xml\"]),li=Nu({},NH);Nu(li,IH),Nu(li,bWe);var gn=Nu({},FH);Nu(gn,vWe);var kn=function(_t){var ht=q(_t);(!ht||!ht.tagName)&&(ht={namespaceURI:za,tagName:\"template\"});var $e=M2(_t.tagName),ot=M2(ht.tagName);if(_t.namespaceURI===zo)return ht.namespaceURI===za?$e===\"svg\":ht.namespaceURI===ra?$e===\"svg\"&&(ot===\"annotation-xml\"||Dr[ot]):Boolean(li[$e]);if(_t.namespaceURI===ra)return ht.namespaceURI===za?$e===\"math\":ht.namespaceURI===zo?$e===\"math\"&&Ar[ot]:Boolean(gn[$e]);if(_t.namespaceURI===za){if(ht.namespaceURI===zo&&!Ar[ot]||ht.namespaceURI===ra&&!Dr[ot])return!1;var Rt=Nu({},[\"title\",\"style\",\"font\",\"a\",\"script\"]);return!gn[$e]&&(Rt[$e]||!li[$e])}return!1},ei=function(_t){Ok(e.removed,{element:_t});try{_t.parentNode.removeChild(_t)}catch{try{_t.outerHTML=mt}catch{_t.remove()}}},Yt=function(_t,ht){try{Ok(e.removed,{attribute:ht.getAttributeNode(_t),from:ht})}catch{Ok(e.removed,{attribute:null,from:ht})}if(ht.removeAttribute(_t),_t===\"is\"&&!Bl[_t])if(Ed||wp)try{ei(ht)}catch{}else try{ht.setAttribute(_t,\"\")}catch{}},zi=function(_t){var ht=void 0,$e=void 0;if(Fu)_t=\"<remove></remove>\"+_t;else{var ot=bae(_t,/^[\\r\\n\\t ]+/);$e=ot&&ot[0]}var Rt=Ie?Ie.createHTML(_t):_t;if(La===za)try{ht=new y().parseFromString(Rt,\"text/html\")}catch{}if(!ht||!ht.documentElement){ht=Ge.createDocument(La,\"template\",null);try{ht.documentElement.innerHTML=Ul?\"\":Rt}catch{}}var et=ht.body||ht.documentElement;return _t&&$e&&et.insertBefore(n.createTextNode($e),et.childNodes[0]||null),La===za?ai.call(ht,xd?\"html\":\"body\")[0]:xd?ht.documentElement:et},kr=function(_t){return qt.call(_t.ownerDocument||_t,_t,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},Gn=function(_t){return _t instanceof p||_t instanceof g?!1:typeof _t.nodeName!=\"string\"||typeof _t.textContent!=\"string\"||typeof _t.removeChild!=\"function\"||!(_t.attributes instanceof h)||typeof _t.removeAttribute!=\"function\"||typeof _t.setAttribute!=\"function\"||typeof _t.namespaceURI!=\"string\"||typeof _t.insertBefore!=\"function\"},ni=function(_t){return(typeof a==\"undefined\"?\"undefined\":Xk(a))===\"object\"?_t instanceof a:_t&&(typeof _t==\"undefined\"?\"undefined\":Xk(_t))===\"object\"&&typeof _t.nodeType==\"number\"&&typeof _t.nodeName==\"string\"},us=function(_t,ht,$e){!go[_t]||_We(go[_t],function(ot){ot.call(e,ht,$e,bl)})},ks=function(_t){var ht=void 0;if(us(\"beforeSanitizeElements\",_t,null),Gn(_t)||bae(_t.nodeName,/[\\u0080-\\uFFFF]/))return ei(_t),!0;var $e=M2(_t.nodeName);if(us(\"uponSanitizeElement\",_t,{tagName:$e,allowedTags:Po}),!ni(_t.firstElementChild)&&(!ni(_t.content)||!ni(_t.content.firstElementChild))&&qy(/<[/\\w]/g,_t.innerHTML)&&qy(/<[/\\w]/g,_t.textContent)||$e===\"select\"&&qy(/<template/i,_t.innerHTML))return ei(_t),!0;if(!Po[$e]||lc[$e]){if($r&&!It[$e]){var ot=q(_t)||_t.parentNode,Rt=F(_t)||_t.childNodes;if(Rt&&ot)for(var et=Rt.length,We=et-1;We>=0;--We)ot.insertBefore(k(Rt[We],!0),I(_t))}return ei(_t),!0}return _t instanceof l&&!kn(_t)||($e===\"noscript\"||$e===\"noembed\")&&qy(/<\\/no(script|embed)/i,_t.innerHTML)?(ei(_t),!0):(Ba&&_t.nodeType===3&&(ht=_t.textContent,ht=gv(ht,Js,\" \"),ht=gv(ht,Fo,\" \"),_t.textContent!==ht&&(Ok(e.removed,{element:_t.cloneNode()}),_t.textContent=ht)),us(\"afterSanitizeElements\",_t,null),!1)},Us=function(_t,ht,$e){if(sh&&(ht===\"id\"||ht===\"name\")&&($e in n||$e in ua))return!1;if(!(Ka&&!dd[ht]&&qy(aa,ht))){if(!(gu&&qy(Qo,ht))){if(!Bl[ht]||dd[ht])return!1;if(!Zr[ht]){if(!qy(nl,gv($e,Gl,\"\"))){if(!((ht===\"src\"||ht===\"xlink:href\"||ht===\"href\")&&_t!==\"script\"&&gWe($e,\"data:\")===0&&Si[_t])){if(!(Qc&&!qy(Ao,gv($e,Gl,\"\")))){if($e)return!1}}}}}}return!0},Li=function(_t){var ht=void 0,$e=void 0,ot=void 0,Rt=void 0;us(\"beforeSanitizeAttributes\",_t,null);var et=_t.attributes;if(!!et){var We={attrName:\"\",attrValue:\"\",keepAttr:!0,allowedAttributes:Bl};for(Rt=et.length;Rt--;){ht=et[Rt];var it=ht,vt=it.name,At=it.namespaceURI;if($e=mWe(ht.value),ot=M2(vt),We.attrName=ot,We.attrValue=$e,We.keepAttr=!0,We.forceKeepAttr=void 0,us(\"uponSanitizeAttribute\",_t,We),$e=We.attrValue,!We.forceKeepAttr&&(Yt(vt,_t),!!We.keepAttr)){if(qy(/\\/>/i,$e)){Yt(vt,_t);continue}Ba&&($e=gv($e,Js,\" \"),$e=gv($e,Fo,\" \"));var en=_t.nodeName.toLowerCase();if(!!Us(en,ot,$e))try{At?_t.setAttributeNS(At,vt,$e):_t.setAttribute(vt,$e),yae(e.removed)}catch{}}}us(\"afterSanitizeAttributes\",_t,null)}},Uo=function Wi(_t){var ht=void 0,$e=kr(_t);for(us(\"beforeSanitizeShadowDOM\",_t,null);ht=$e.nextNode();)us(\"uponSanitizeShadowNode\",ht,null),!ks(ht)&&(ht.content instanceof i&&Wi(ht.content),Li(ht));us(\"afterSanitizeShadowDOM\",_t,null)};return e.sanitize=function(Wi,_t){var ht=void 0,$e=void 0,ot=void 0,Rt=void 0,et=void 0;if(Ul=!Wi,Ul&&(Wi=\"<!-->\"),typeof Wi!=\"string\"&&!ni(Wi)){if(typeof Wi.toString!=\"function\")throw vae(\"toString is not a function\");if(Wi=Wi.toString(),typeof Wi!=\"string\")throw vae(\"dirty is not a string, aborting\")}if(!e.isSupported){if(Xk(o.toStaticHTML)===\"object\"||typeof o.toStaticHTML==\"function\"){if(typeof Wi==\"string\")return o.toStaticHTML(Wi);if(ni(Wi))return o.toStaticHTML(Wi.outerHTML)}return Wi}if(jp||Qs(_t),e.removed=[],typeof Wi==\"string\"&&(sr=!1),!sr)if(Wi instanceof a)ht=zi(\"<!---->\"),$e=ht.ownerDocument.importNode(Wi,!0),$e.nodeType===1&&$e.nodeName===\"BODY\"||$e.nodeName===\"HTML\"?ht=$e:ht.appendChild($e);else{if(!Ed&&!Ba&&!xd&&Wi.indexOf(\"<\")===-1)return Ie&&Ch?Ie.createHTML(Wi):Wi;if(ht=zi(Wi),!ht)return Ed?null:mt}ht&&Fu&&ei(ht.firstChild);for(var We=kr(sr?Wi:ht);ot=We.nextNode();)ot.nodeType===3&&ot===Rt||ks(ot)||(ot.content instanceof i&&Uo(ot.content),Li(ot),Rt=ot);if(Rt=null,sr)return Wi;if(Ed){if(wp)for(et=gi.call(ht.ownerDocument);ht.firstChild;)et.appendChild(ht.firstChild);else et=ht;return zd&&(et=Tr.call(t,et,!0)),et}var it=xd?ht.outerHTML:ht.innerHTML;return Ba&&(it=gv(it,Js,\" \"),it=gv(it,Fo,\" \")),Ie&&Ch?Ie.createHTML(it):it},e.setConfig=function(Wi){Qs(Wi),jp=!0},e.clearConfig=function(){bl=null,jp=!1},e.isValidAttribute=function(Wi,_t,ht){bl||Qs({});var $e=M2(Wi),ot=M2(_t);return Us($e,ot,ht)},e.addHook=function(Wi,_t){typeof _t==\"function\"&&(go[Wi]=go[Wi]||[],Ok(go[Wi],_t))},e.removeHook=function(Wi){go[Wi]&&yae(go[Wi])},e.removeHooks=function(Wi){go[Wi]&&(go[Wi]=[])},e.removeAllHooks=function(){go={}},e}var dy=xfe();dy.version;dy.isSupported;const LWe=dy.sanitize;dy.setConfig;dy.clearConfig;dy.isValidAttribute;const xae=dy.addHook,Eae=dy.removeHook;dy.removeHooks;dy.removeAllHooks;let Efe={};(function(){function o(e,t){t(Efe)}o.amd=!0,function(e,t){typeof exports==\"object\"&&typeof module!=\"undefined\"?t(exports):typeof o==\"function\"&&o.amd?o([\"exports\"],t):(e=typeof globalThis!=\"undefined\"?globalThis:e||self,t(e.marked={}))}(this,function(e){function t($r,sr){for(var gr=0;gr<sr.length;gr++){var It=sr[gr];It.enumerable=It.enumerable||!1,It.configurable=!0,\"value\"in It&&(It.writable=!0),Object.defineProperty($r,It.key,It)}}function n($r,sr,gr){return sr&&t($r.prototype,sr),gr&&t($r,gr),Object.defineProperty($r,\"prototype\",{writable:!1}),$r}function i($r,sr){if(!!$r){if(typeof $r==\"string\")return s($r,sr);var gr=Object.prototype.toString.call($r).slice(8,-1);if(gr===\"Object\"&&$r.constructor&&(gr=$r.constructor.name),gr===\"Map\"||gr===\"Set\")return Array.from($r);if(gr===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(gr))return s($r,sr)}}function s($r,sr){(sr==null||sr>$r.length)&&(sr=$r.length);for(var gr=0,It=new Array(sr);gr<sr;gr++)It[gr]=$r[gr];return It}function a($r,sr){var gr=typeof Symbol!=\"undefined\"&&$r[Symbol.iterator]||$r[\"@@iterator\"];if(gr)return(gr=gr.call($r)).next.bind(gr);if(Array.isArray($r)||(gr=i($r))||sr&&$r&&typeof $r.length==\"number\"){gr&&($r=gr);var It=0;return function(){return It>=$r.length?{done:!0}:{done:!1,value:$r[It++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(){return{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=l();function u($r){e.defaults=$r}var d=/[&<>\"']/,h=/[&<>\"']/g,p=/[<>\"']|&(?!#?\\w+;)/,g=/[<>\"']|&(?!#?\\w+;)/g,y={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#39;\"},D=function(sr){return y[sr]};function T($r,sr){if(sr){if(d.test($r))return $r.replace(h,D)}else if(p.test($r))return $r.replace(g,D);return $r}var k=/&(#(?:\\d+)|(?:#x[0-9A-Fa-f]+)|(?:\\w+));?/ig;function I($r){return $r.replace(k,function(sr,gr){return gr=gr.toLowerCase(),gr===\"colon\"?\":\":gr.charAt(0)===\"#\"?gr.charAt(1)===\"x\"?String.fromCharCode(parseInt(gr.substring(2),16)):String.fromCharCode(+gr.substring(1)):\"\"})}var F=/(^|[^\\[])\\^/g;function q($r,sr){$r=$r.source||$r,sr=sr||\"\";var gr={replace:function(dn,Si){return Si=Si.source||Si,Si=Si.replace(F,\"$1\"),$r=$r.replace(dn,Si),gr},getRegex:function(){return new RegExp($r,sr)}};return gr}var re=/[^\\w:]/g,Ie=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function mt($r,sr,gr){if($r){var It;try{It=decodeURIComponent(I(gr)).replace(re,\"\").toLowerCase()}catch{return null}if(It.indexOf(\"javascript:\")===0||It.indexOf(\"vbscript:\")===0||It.indexOf(\"data:\")===0)return null}sr&&!Ie.test(gr)&&(gr=ai(sr,gr));try{gr=encodeURI(gr).replace(/%25/g,\"%\")}catch{return null}return gr}var Le={},Ge=/^[^:]+:\\/*[^/]*$/,qt=/^([^:]+:)[\\s\\S]*$/,gi=/^([^:]+:\\/*[^/]*)[\\s\\S]*$/;function ai($r,sr){Le[\" \"+$r]||(Ge.test($r)?Le[\" \"+$r]=$r+\"/\":Le[\" \"+$r]=Js($r,\"/\",!0)),$r=Le[\" \"+$r];var gr=$r.indexOf(\":\")===-1;return sr.substring(0,2)===\"//\"?gr?sr:$r.replace(qt,\"$1\")+sr:sr.charAt(0)===\"/\"?gr?sr:$r.replace(gi,\"$1\")+sr:$r+sr}var Tr={exec:function(){}};function Vr($r){for(var sr=1,gr,It;sr<arguments.length;sr++){gr=arguments[sr];for(It in gr)Object.prototype.hasOwnProperty.call(gr,It)&&($r[It]=gr[It])}return $r}function go($r,sr){var gr=$r.replace(/\\|/g,function(Si,Yn,Zr){for(var vs=!1,ra=Yn;--ra>=0&&Zr[ra]===\"\\\\\";)vs=!vs;return vs?\"|\":\" |\"}),It=gr.split(/ \\|/),dn=0;if(It[0].trim()||It.shift(),It[It.length-1].trim()||It.pop(),It.length>sr)It.splice(sr);else for(;It.length<sr;)It.push(\"\");for(;dn<It.length;dn++)It[dn]=It[dn].trim().replace(/\\\\\\|/g,\"|\");return It}function Js($r,sr,gr){var It=$r.length;if(It===0)return\"\";for(var dn=0;dn<It;){var Si=$r.charAt(It-dn-1);if(Si===sr&&!gr)dn++;else if(Si!==sr&&gr)dn++;else break}return $r.substr(0,It-dn)}function Fo($r,sr){if($r.indexOf(sr[1])===-1)return-1;for(var gr=$r.length,It=0,dn=0;dn<gr;dn++)if($r[dn]===\"\\\\\")dn++;else if($r[dn]===sr[0])It++;else if($r[dn]===sr[1]&&(It--,It<0))return dn;return-1}function aa($r){$r&&$r.sanitize&&!$r.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 Qo($r,sr){if(sr<1)return\"\";for(var gr=\"\";sr>1;)sr&1&&(gr+=$r),sr>>=1,$r+=$r;return gr+$r}function Ao($r,sr,gr,It){var dn=sr.href,Si=sr.title?T(sr.title):null,Yn=$r[1].replace(/\\\\([\\[\\]])/g,\"$1\");if($r[0].charAt(0)!==\"!\"){It.state.inLink=!0;var Zr={type:\"link\",raw:gr,href:dn,title:Si,text:Yn,tokens:It.inlineTokens(Yn,[])};return It.state.inLink=!1,Zr}else return{type:\"image\",raw:gr,href:dn,title:Si,text:T(Yn)}}function Gl($r,sr){var gr=$r.match(/^(\\s+)(?:```)/);if(gr===null)return sr;var It=gr[1];return sr.split(`\n`).map(function(dn){var Si=dn.match(/^\\s+/);if(Si===null)return dn;var Yn=Si[0];return Yn.length>=It.length?dn.slice(It.length):dn}).join(`\n`)}var nl=function(){function $r(gr){this.options=gr||e.defaults}var sr=$r.prototype;return sr.space=function(It){var dn=this.rules.block.newline.exec(It);if(dn&&dn[0].length>0)return{type:\"space\",raw:dn[0]}},sr.code=function(It){var dn=this.rules.block.code.exec(It);if(dn){var Si=dn[0].replace(/^ {1,4}/gm,\"\");return{type:\"code\",raw:dn[0],codeBlockStyle:\"indented\",text:this.options.pedantic?Si:Js(Si,`\n`)}}},sr.fences=function(It){var dn=this.rules.block.fences.exec(It);if(dn){var Si=dn[0],Yn=Gl(Si,dn[3]||\"\");return{type:\"code\",raw:Si,lang:dn[2]?dn[2].trim():dn[2],text:Yn}}},sr.heading=function(It){var dn=this.rules.block.heading.exec(It);if(dn){var Si=dn[2].trim();if(/#$/.test(Si)){var Yn=Js(Si,\"#\");(this.options.pedantic||!Yn||/ $/.test(Yn))&&(Si=Yn.trim())}var Zr={type:\"heading\",raw:dn[0],depth:dn[1].length,text:Si,tokens:[]};return this.lexer.inline(Zr.text,Zr.tokens),Zr}},sr.hr=function(It){var dn=this.rules.block.hr.exec(It);if(dn)return{type:\"hr\",raw:dn[0]}},sr.blockquote=function(It){var dn=this.rules.block.blockquote.exec(It);if(dn){var Si=dn[0].replace(/^ *> ?/gm,\"\");return{type:\"blockquote\",raw:dn[0],tokens:this.lexer.blockTokens(Si,[]),text:Si}}},sr.list=function(It){var dn=this.rules.block.list.exec(It);if(dn){var Si,Yn,Zr,vs,ra,zo,za,La,Ul,bl,ua,Qs,Dr=dn[1].trim(),Ar=Dr.length>1,li={type:\"list\",raw:\"\",ordered:Ar,start:Ar?+Dr.slice(0,-1):\"\",loose:!1,items:[]};Dr=Ar?\"\\\\d{1,9}\\\\\"+Dr.slice(-1):\"\\\\\"+Dr,this.options.pedantic&&(Dr=Ar?Dr:\"[*+-]\");for(var gn=new RegExp(\"^( {0,3}\"+Dr+\")((?: [^\\\\n]*)?(?:\\\\n|$))\");It&&(Qs=!1,!(!(dn=gn.exec(It))||this.rules.block.hr.test(It)));){if(Si=dn[0],It=It.substring(Si.length),La=dn[2].split(`\n`,1)[0],Ul=It.split(`\n`,1)[0],this.options.pedantic?(vs=2,ua=La.trimLeft()):(vs=dn[2].search(/[^ ]/),vs=vs>4?1:vs,ua=La.slice(vs),vs+=dn[1].length),zo=!1,!La&&/^ *$/.test(Ul)&&(Si+=Ul+`\n`,It=It.substring(Ul.length+1),Qs=!0),!Qs)for(var kn=new RegExp(\"^ {0,\"+Math.min(3,vs-1)+\"}(?:[*+-]|\\\\d{1,9}[.)])\");It&&(bl=It.split(`\n`,1)[0],La=bl,this.options.pedantic&&(La=La.replace(/^ {1,4}(?=( {4})*[^ ])/g,\"  \")),!kn.test(La));){if(La.search(/[^ ]/)>=vs||!La.trim())ua+=`\n`+La.slice(vs);else if(!zo)ua+=`\n`+La;else break;!zo&&!La.trim()&&(zo=!0),Si+=bl+`\n`,It=It.substring(bl.length+1)}li.loose||(za?li.loose=!0:/\\n *\\n *$/.test(Si)&&(za=!0)),this.options.gfm&&(Yn=/^\\[[ xX]\\] /.exec(ua),Yn&&(Zr=Yn[0]!==\"[ ] \",ua=ua.replace(/^\\[[ xX]\\] +/,\"\"))),li.items.push({type:\"list_item\",raw:Si,task:!!Yn,checked:Zr,loose:!1,text:ua}),li.raw+=Si}li.items[li.items.length-1].raw=Si.trimRight(),li.items[li.items.length-1].text=ua.trimRight(),li.raw=li.raw.trimRight();var ei=li.items.length;for(ra=0;ra<ei;ra++){this.lexer.state.top=!1,li.items[ra].tokens=this.lexer.blockTokens(li.items[ra].text,[]);var Yt=li.items[ra].tokens.filter(function(kr){return kr.type===\"space\"}),zi=Yt.every(function(kr){for(var Gn=kr.raw.split(\"\"),ni=0,us=a(Gn),ks;!(ks=us()).done;){var Us=ks.value;if(Us===`\n`&&(ni+=1),ni>1)return!0}return!1});!li.loose&&Yt.length&&zi&&(li.loose=!0,li.items[ra].loose=!0)}return li}},sr.html=function(It){var dn=this.rules.block.html.exec(It);if(dn){var Si={type:\"html\",raw:dn[0],pre:!this.options.sanitizer&&(dn[1]===\"pre\"||dn[1]===\"script\"||dn[1]===\"style\"),text:dn[0]};return this.options.sanitize&&(Si.type=\"paragraph\",Si.text=this.options.sanitizer?this.options.sanitizer(dn[0]):T(dn[0]),Si.tokens=[],this.lexer.inline(Si.text,Si.tokens)),Si}},sr.def=function(It){var dn=this.rules.block.def.exec(It);if(dn){dn[3]&&(dn[3]=dn[3].substring(1,dn[3].length-1));var Si=dn[1].toLowerCase().replace(/\\s+/g,\" \");return{type:\"def\",tag:Si,raw:dn[0],href:dn[2],title:dn[3]}}},sr.table=function(It){var dn=this.rules.block.table.exec(It);if(dn){var Si={type:\"table\",header:go(dn[1]).map(function(za){return{text:za}}),align:dn[2].replace(/^ *|\\| *$/g,\"\").split(/ *\\| */),rows:dn[3]?dn[3].replace(/\\n[ \\t]*$/,\"\").split(`\n`):[]};if(Si.header.length===Si.align.length){Si.raw=dn[0];var Yn=Si.align.length,Zr,vs,ra,zo;for(Zr=0;Zr<Yn;Zr++)/^ *-+: *$/.test(Si.align[Zr])?Si.align[Zr]=\"right\":/^ *:-+: *$/.test(Si.align[Zr])?Si.align[Zr]=\"center\":/^ *:-+ *$/.test(Si.align[Zr])?Si.align[Zr]=\"left\":Si.align[Zr]=null;for(Yn=Si.rows.length,Zr=0;Zr<Yn;Zr++)Si.rows[Zr]=go(Si.rows[Zr],Si.header.length).map(function(za){return{text:za}});for(Yn=Si.header.length,vs=0;vs<Yn;vs++)Si.header[vs].tokens=[],this.lexer.inlineTokens(Si.header[vs].text,Si.header[vs].tokens);for(Yn=Si.rows.length,vs=0;vs<Yn;vs++)for(zo=Si.rows[vs],ra=0;ra<zo.length;ra++)zo[ra].tokens=[],this.lexer.inlineTokens(zo[ra].text,zo[ra].tokens);return Si}}},sr.lheading=function(It){var dn=this.rules.block.lheading.exec(It);if(dn){var Si={type:\"heading\",raw:dn[0],depth:dn[2].charAt(0)===\"=\"?1:2,text:dn[1],tokens:[]};return this.lexer.inline(Si.text,Si.tokens),Si}},sr.paragraph=function(It){var dn=this.rules.block.paragraph.exec(It);if(dn){var Si={type:\"paragraph\",raw:dn[0],text:dn[1].charAt(dn[1].length-1)===`\n`?dn[1].slice(0,-1):dn[1],tokens:[]};return this.lexer.inline(Si.text,Si.tokens),Si}},sr.text=function(It){var dn=this.rules.block.text.exec(It);if(dn){var Si={type:\"text\",raw:dn[0],text:dn[0],tokens:[]};return this.lexer.inline(Si.text,Si.tokens),Si}},sr.escape=function(It){var dn=this.rules.inline.escape.exec(It);if(dn)return{type:\"escape\",raw:dn[0],text:T(dn[1])}},sr.tag=function(It){var dn=this.rules.inline.tag.exec(It);if(dn)return!this.lexer.state.inLink&&/^<a /i.test(dn[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\\/a>/i.test(dn[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\\s|>)/i.test(dn[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\\/(pre|code|kbd|script)(\\s|>)/i.test(dn[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?\"text\":\"html\",raw:dn[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(dn[0]):T(dn[0]):dn[0]}},sr.link=function(It){var dn=this.rules.inline.link.exec(It);if(dn){var Si=dn[2].trim();if(!this.options.pedantic&&/^</.test(Si)){if(!/>$/.test(Si))return;var Yn=Js(Si.slice(0,-1),\"\\\\\");if((Si.length-Yn.length)%2===0)return}else{var Zr=Fo(dn[2],\"()\");if(Zr>-1){var vs=dn[0].indexOf(\"!\")===0?5:4,ra=vs+dn[1].length+Zr;dn[2]=dn[2].substring(0,Zr),dn[0]=dn[0].substring(0,ra).trim(),dn[3]=\"\"}}var zo=dn[2],za=\"\";if(this.options.pedantic){var La=/^([^'\"]*[^\\s])\\s+(['\"])(.*)\\2/.exec(zo);La&&(zo=La[1],za=La[3])}else za=dn[3]?dn[3].slice(1,-1):\"\";return zo=zo.trim(),/^</.test(zo)&&(this.options.pedantic&&!/>$/.test(Si)?zo=zo.slice(1):zo=zo.slice(1,-1)),Ao(dn,{href:zo&&zo.replace(this.rules.inline._escapes,\"$1\"),title:za&&za.replace(this.rules.inline._escapes,\"$1\")},dn[0],this.lexer)}},sr.reflink=function(It,dn){var Si;if((Si=this.rules.inline.reflink.exec(It))||(Si=this.rules.inline.nolink.exec(It))){var Yn=(Si[2]||Si[1]).replace(/\\s+/g,\" \");if(Yn=dn[Yn.toLowerCase()],!Yn||!Yn.href){var Zr=Si[0].charAt(0);return{type:\"text\",raw:Zr,text:Zr}}return Ao(Si,Yn,Si[0],this.lexer)}},sr.emStrong=function(It,dn,Si){Si===void 0&&(Si=\"\");var Yn=this.rules.inline.emStrong.lDelim.exec(It);if(!!Yn&&!(Yn[3]&&Si.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 Zr=Yn[1]||Yn[2]||\"\";if(!Zr||Zr&&(Si===\"\"||this.rules.inline.punctuation.exec(Si))){var vs=Yn[0].length-1,ra,zo,za=vs,La=0,Ul=Yn[0][0]===\"*\"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(Ul.lastIndex=0,dn=dn.slice(-1*It.length+vs);(Yn=Ul.exec(dn))!=null;)if(ra=Yn[1]||Yn[2]||Yn[3]||Yn[4]||Yn[5]||Yn[6],!!ra){if(zo=ra.length,Yn[3]||Yn[4]){za+=zo;continue}else if((Yn[5]||Yn[6])&&vs%3&&!((vs+zo)%3)){La+=zo;continue}if(za-=zo,!(za>0)){if(zo=Math.min(zo,zo+za+La),Math.min(vs,zo)%2){var bl=It.slice(1,vs+Yn.index+zo);return{type:\"em\",raw:It.slice(0,vs+Yn.index+zo+1),text:bl,tokens:this.lexer.inlineTokens(bl,[])}}var ua=It.slice(2,vs+Yn.index+zo-1);return{type:\"strong\",raw:It.slice(0,vs+Yn.index+zo+1),text:ua,tokens:this.lexer.inlineTokens(ua,[])}}}}}},sr.codespan=function(It){var dn=this.rules.inline.code.exec(It);if(dn){var Si=dn[2].replace(/\\n/g,\" \"),Yn=/[^ ]/.test(Si),Zr=/^ /.test(Si)&&/ $/.test(Si);return Yn&&Zr&&(Si=Si.substring(1,Si.length-1)),Si=T(Si,!0),{type:\"codespan\",raw:dn[0],text:Si}}},sr.br=function(It){var dn=this.rules.inline.br.exec(It);if(dn)return{type:\"br\",raw:dn[0]}},sr.del=function(It){var dn=this.rules.inline.del.exec(It);if(dn)return{type:\"del\",raw:dn[0],text:dn[2],tokens:this.lexer.inlineTokens(dn[2],[])}},sr.autolink=function(It,dn){var Si=this.rules.inline.autolink.exec(It);if(Si){var Yn,Zr;return Si[2]===\"@\"?(Yn=T(this.options.mangle?dn(Si[1]):Si[1]),Zr=\"mailto:\"+Yn):(Yn=T(Si[1]),Zr=Yn),{type:\"link\",raw:Si[0],text:Yn,href:Zr,tokens:[{type:\"text\",raw:Yn,text:Yn}]}}},sr.url=function(It,dn){var Si;if(Si=this.rules.inline.url.exec(It)){var Yn,Zr;if(Si[2]===\"@\")Yn=T(this.options.mangle?dn(Si[0]):Si[0]),Zr=\"mailto:\"+Yn;else{var vs;do vs=Si[0],Si[0]=this.rules.inline._backpedal.exec(Si[0])[0];while(vs!==Si[0]);Yn=T(Si[0]),Si[1]===\"www.\"?Zr=\"http://\"+Yn:Zr=Yn}return{type:\"link\",raw:Si[0],text:Yn,href:Zr,tokens:[{type:\"text\",raw:Yn,text:Yn}]}}},sr.inlineText=function(It,dn){var Si=this.rules.inline.text.exec(It);if(Si){var Yn;return this.lexer.state.inRawBlock?Yn=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Si[0]):T(Si[0]):Si[0]:Yn=T(this.options.smartypants?dn(Si[0]):Si[0]),{type:\"text\",raw:Si[0],text:Yn}}},$r}(),Po={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}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\\s|$)(.*)(?:\\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\\n]*)(?:\\n|$))+/,list:/^( {0,3}bull)( [^\\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:Tr,lheading:/^([^\\n]+)\\n {0,3}(=+|-+) *(?:\\n+|$)/,_paragraph:/^([^\\n]+(?:\\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\\n)[^\\n]+)*)/,text:/^[^\\n]+/};Po._label=/(?!\\s*\\])(?:\\\\.|[^\\[\\]\\\\])+/,Po._title=/(?:\"(?:\\\\\"?|[^\"\\\\])*\"|'[^'\\n]*(?:\\n[^'\\n]+)*\\n?'|\\([^()]*\\))/,Po.def=q(Po.def).replace(\"label\",Po._label).replace(\"title\",Po._title).getRegex(),Po.bullet=/(?:[*+-]|\\d{1,9}[.)])/,Po.listItemStart=q(/^( *)(bull) */).replace(\"bull\",Po.bullet).getRegex(),Po.list=q(Po.list).replace(/bull/g,Po.bullet).replace(\"hr\",\"\\\\n+(?=\\\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\\\* *){3,})(?:\\\\n+|$))\").replace(\"def\",\"\\\\n+(?=\"+Po.def.source+\")\").getRegex(),Po._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\",Po._comment=/<!--(?!-?>)[\\s\\S]*?(?:-->|$)/,Po.html=q(Po.html,\"i\").replace(\"comment\",Po._comment).replace(\"tag\",Po._tag).replace(\"attribute\",/ +[a-zA-Z:_][\\w.:-]*(?: *= *\"[^\"\\n]*\"| *= *'[^'\\n]*'| *= *[^\\s\"'=<>`]+)?/).getRegex(),Po.paragraph=q(Po._paragraph).replace(\"hr\",Po.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\",Po._tag).getRegex(),Po.blockquote=q(Po.blockquote).replace(\"paragraph\",Po.paragraph).getRegex(),Po.normal=Vr({},Po),Po.gfm=Vr({},Po.normal,{table:\"^ *([^\\\\n ].*\\\\|.*)\\\\n {0,3}(?:\\\\| *)?(:?-+:? *(?:\\\\| *:?-+:? *)*)(?:\\\\| *)?(?:\\\\n((?:(?! *\\\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\\\n|$))*)\\\\n*|$)\"}),Po.gfm.table=q(Po.gfm.table).replace(\"hr\",Po.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\",Po._tag).getRegex(),Po.gfm.paragraph=q(Po._paragraph).replace(\"hr\",Po.hr).replace(\"heading\",\" {0,3}#{1,6} \").replace(\"|lheading\",\"\").replace(\"table\",Po.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\",Po._tag).getRegex(),Po.pedantic=Vr({},Po.normal,{html:q(`^ *(?:comment *(?:\\\\n|\\\\s*$)|<(tag)[\\\\s\\\\S]+?</\\\\1> *(?:\\\\n{2,}|\\\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\\\s[^'\"/>\\\\s]*)*?/?> *(?:\\\\n{2,}|\\\\s*$))`).replace(\"comment\",Po._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:Tr,paragraph:q(Po.normal._paragraph).replace(\"hr\",Po.hr).replace(\"heading\",` *#{1,6} *[^\n]`).replace(\"lheading\",Po.lheading).replace(\"blockquote\",\" {0,3}>\").replace(\"|fences\",\"\").replace(\"|list\",\"\").replace(\"|html\",\"\").getRegex()});var mo={escape:/^\\\\([!\"#$%&'()*+,\\-./:;<=>?@\\[\\]\\\\^_`{|}~])/,autolink:/^<(scheme:[^\\s\\x00-\\x1f<>]*|email)>/,url:Tr,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:Tr,text:/^(`+|[^`])(?:(?= {2,}\\n)|[\\s\\S]*?(?:(?=[\\\\<!\\[`*_]|\\b_|$)|[^ ](?= {2,}\\n)))/,punctuation:/^([\\spunctuation])/};mo._punctuation=\"!\\\"#$%&'()+\\\\-.,/:;<=>?@\\\\[\\\\]`^{|}~\",mo.punctuation=q(mo.punctuation).replace(/punctuation/g,mo._punctuation).getRegex(),mo.blockSkip=/\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>/g,mo.escapedEmSt=/\\\\\\*|\\\\_/g,mo._comment=q(Po._comment).replace(\"(?:-->|$)\",\"-->\").getRegex(),mo.emStrong.lDelim=q(mo.emStrong.lDelim).replace(/punct/g,mo._punctuation).getRegex(),mo.emStrong.rDelimAst=q(mo.emStrong.rDelimAst,\"g\").replace(/punct/g,mo._punctuation).getRegex(),mo.emStrong.rDelimUnd=q(mo.emStrong.rDelimUnd,\"g\").replace(/punct/g,mo._punctuation).getRegex(),mo._escapes=/\\\\([!\"#$%&'()*+,\\-./:;<=>?@\\[\\]\\\\^_`{|}~])/g,mo._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,mo._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])?)+(?![-_])/,mo.autolink=q(mo.autolink).replace(\"scheme\",mo._scheme).replace(\"email\",mo._email).getRegex(),mo._attribute=/\\s+[a-zA-Z:_][\\w.:-]*(?:\\s*=\\s*\"[^\"]*\"|\\s*=\\s*'[^']*'|\\s*=\\s*[^\\s\"'=<>`]+)?/,mo.tag=q(mo.tag).replace(\"comment\",mo._comment).replace(\"attribute\",mo._attribute).getRegex(),mo._label=/(?:\\[(?:\\\\.|[^\\[\\]\\\\])*\\]|\\\\.|`[^`]*`|[^\\[\\]\\\\`])*?/,mo._href=/<(?:\\\\.|[^\\n<>\\\\])+>|[^\\s\\x00-\\x1f]*/,mo._title=/\"(?:\\\\\"?|[^\"\\\\])*\"|'(?:\\\\'?|[^'\\\\])*'|\\((?:\\\\\\)?|[^)\\\\])*\\)/,mo.link=q(mo.link).replace(\"label\",mo._label).replace(\"href\",mo._href).replace(\"title\",mo._title).getRegex(),mo.reflink=q(mo.reflink).replace(\"label\",mo._label).replace(\"ref\",Po._label).getRegex(),mo.nolink=q(mo.nolink).replace(\"ref\",Po._label).getRegex(),mo.reflinkSearch=q(mo.reflinkSearch,\"g\").replace(\"reflink\",mo.reflink).replace(\"nolink\",mo.nolink).getRegex(),mo.normal=Vr({},mo),mo.pedantic=Vr({},mo.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:q(/^!?\\[(label)\\]\\((.*?)\\)/).replace(\"label\",mo._label).getRegex(),reflink:q(/^!?\\[(label)\\]\\s*\\[([^\\]]*)\\]/).replace(\"label\",mo._label).getRegex()}),mo.gfm=Vr({},mo.normal,{escape:q(mo.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.!#$%&'*+\\/=?_`{\\|}~-]+@)))/}),mo.gfm.url=q(mo.gfm.url,\"i\").replace(\"email\",mo.gfm._extended_email).getRegex(),mo.breaks=Vr({},mo.gfm,{br:q(mo.br).replace(\"{2,}\",\"*\").getRegex(),text:q(mo.gfm.text).replace(\"\\\\b_\",\"\\\\b_| {2,}\\\\n\").replace(/\\{2,\\}/g,\"*\").getRegex()});function Bl($r){return $r.replace(/---/g,\"\\u2014\").replace(/--/g,\"\\u2013\").replace(/(^|[-\\u2014/(\\[{\"\\s])'/g,\"$1\\u2018\").replace(/'/g,\"\\u2019\").replace(/(^|[-\\u2014/(\\[{\\u2018\\s])\"/g,\"$1\\u201C\").replace(/\"/g,\"\\u201D\").replace(/\\.{3}/g,\"\\u2026\")}function mc($r){var sr=\"\",gr,It,dn=$r.length;for(gr=0;gr<dn;gr++)It=$r.charCodeAt(gr),Math.random()>.5&&(It=\"x\"+It.toString(16)),sr+=\"&#\"+It+\";\";return sr}var lc=function(){function $r(gr){this.tokens=[],this.tokens.links=Object.create(null),this.options=gr||e.defaults,this.options.tokenizer=this.options.tokenizer||new nl,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 It={block:Po.normal,inline:mo.normal};this.options.pedantic?(It.block=Po.pedantic,It.inline=mo.pedantic):this.options.gfm&&(It.block=Po.gfm,this.options.breaks?It.inline=mo.breaks:It.inline=mo.gfm),this.tokenizer.rules=It}$r.lex=function(It,dn){var Si=new $r(dn);return Si.lex(It)},$r.lexInline=function(It,dn){var Si=new $r(dn);return Si.inlineTokens(It)};var sr=$r.prototype;return sr.lex=function(It){It=It.replace(/\\r\\n|\\r/g,`\n`).replace(/\\t/g,\"    \"),this.blockTokens(It,this.tokens);for(var dn;dn=this.inlineQueue.shift();)this.inlineTokens(dn.src,dn.tokens);return this.tokens},sr.blockTokens=function(It,dn){var Si=this;dn===void 0&&(dn=[]),this.options.pedantic&&(It=It.replace(/^ +$/gm,\"\"));for(var Yn,Zr,vs,ra;It;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(function(za){return(Yn=za.call({lexer:Si},It,dn))?(It=It.substring(Yn.raw.length),dn.push(Yn),!0):!1}))){if(Yn=this.tokenizer.space(It)){It=It.substring(Yn.raw.length),Yn.raw.length===1&&dn.length>0?dn[dn.length-1].raw+=`\n`:dn.push(Yn);continue}if(Yn=this.tokenizer.code(It)){It=It.substring(Yn.raw.length),Zr=dn[dn.length-1],Zr&&(Zr.type===\"paragraph\"||Zr.type===\"text\")?(Zr.raw+=`\n`+Yn.raw,Zr.text+=`\n`+Yn.text,this.inlineQueue[this.inlineQueue.length-1].src=Zr.text):dn.push(Yn);continue}if(Yn=this.tokenizer.fences(It)){It=It.substring(Yn.raw.length),dn.push(Yn);continue}if(Yn=this.tokenizer.heading(It)){It=It.substring(Yn.raw.length),dn.push(Yn);continue}if(Yn=this.tokenizer.hr(It)){It=It.substring(Yn.raw.length),dn.push(Yn);continue}if(Yn=this.tokenizer.blockquote(It)){It=It.substring(Yn.raw.length),dn.push(Yn);continue}if(Yn=this.tokenizer.list(It)){It=It.substring(Yn.raw.length),dn.push(Yn);continue}if(Yn=this.tokenizer.html(It)){It=It.substring(Yn.raw.length),dn.push(Yn);continue}if(Yn=this.tokenizer.def(It)){It=It.substring(Yn.raw.length),Zr=dn[dn.length-1],Zr&&(Zr.type===\"paragraph\"||Zr.type===\"text\")?(Zr.raw+=`\n`+Yn.raw,Zr.text+=`\n`+Yn.raw,this.inlineQueue[this.inlineQueue.length-1].src=Zr.text):this.tokens.links[Yn.tag]||(this.tokens.links[Yn.tag]={href:Yn.href,title:Yn.title});continue}if(Yn=this.tokenizer.table(It)){It=It.substring(Yn.raw.length),dn.push(Yn);continue}if(Yn=this.tokenizer.lheading(It)){It=It.substring(Yn.raw.length),dn.push(Yn);continue}if(vs=It,this.options.extensions&&this.options.extensions.startBlock&&function(){var za=1/0,La=It.slice(1),Ul=void 0;Si.options.extensions.startBlock.forEach(function(bl){Ul=bl.call({lexer:this},La),typeof Ul==\"number\"&&Ul>=0&&(za=Math.min(za,Ul))}),za<1/0&&za>=0&&(vs=It.substring(0,za+1))}(),this.state.top&&(Yn=this.tokenizer.paragraph(vs))){Zr=dn[dn.length-1],ra&&Zr.type===\"paragraph\"?(Zr.raw+=`\n`+Yn.raw,Zr.text+=`\n`+Yn.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=Zr.text):dn.push(Yn),ra=vs.length!==It.length,It=It.substring(Yn.raw.length);continue}if(Yn=this.tokenizer.text(It)){It=It.substring(Yn.raw.length),Zr=dn[dn.length-1],Zr&&Zr.type===\"text\"?(Zr.raw+=`\n`+Yn.raw,Zr.text+=`\n`+Yn.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=Zr.text):dn.push(Yn);continue}if(It){var zo=\"Infinite loop on byte: \"+It.charCodeAt(0);if(this.options.silent){console.error(zo);break}else throw new Error(zo)}}return this.state.top=!0,dn},sr.inline=function(It,dn){this.inlineQueue.push({src:It,tokens:dn})},sr.inlineTokens=function(It,dn){var Si=this;dn===void 0&&(dn=[]);var Yn,Zr,vs,ra=It,zo,za,La;if(this.tokens.links){var Ul=Object.keys(this.tokens.links);if(Ul.length>0)for(;(zo=this.tokenizer.rules.inline.reflinkSearch.exec(ra))!=null;)Ul.includes(zo[0].slice(zo[0].lastIndexOf(\"[\")+1,-1))&&(ra=ra.slice(0,zo.index)+\"[\"+Qo(\"a\",zo[0].length-2)+\"]\"+ra.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(zo=this.tokenizer.rules.inline.blockSkip.exec(ra))!=null;)ra=ra.slice(0,zo.index)+\"[\"+Qo(\"a\",zo[0].length-2)+\"]\"+ra.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(zo=this.tokenizer.rules.inline.escapedEmSt.exec(ra))!=null;)ra=ra.slice(0,zo.index)+\"++\"+ra.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;It;)if(za||(La=\"\"),za=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(function(ua){return(Yn=ua.call({lexer:Si},It,dn))?(It=It.substring(Yn.raw.length),dn.push(Yn),!0):!1}))){if(Yn=this.tokenizer.escape(It)){It=It.substring(Yn.raw.length),dn.push(Yn);continue}if(Yn=this.tokenizer.tag(It)){It=It.substring(Yn.raw.length),Zr=dn[dn.length-1],Zr&&Yn.type===\"text\"&&Zr.type===\"text\"?(Zr.raw+=Yn.raw,Zr.text+=Yn.text):dn.push(Yn);continue}if(Yn=this.tokenizer.link(It)){It=It.substring(Yn.raw.length),dn.push(Yn);continue}if(Yn=this.tokenizer.reflink(It,this.tokens.links)){It=It.substring(Yn.raw.length),Zr=dn[dn.length-1],Zr&&Yn.type===\"text\"&&Zr.type===\"text\"?(Zr.raw+=Yn.raw,Zr.text+=Yn.text):dn.push(Yn);continue}if(Yn=this.tokenizer.emStrong(It,ra,La)){It=It.substring(Yn.raw.length),dn.push(Yn);continue}if(Yn=this.tokenizer.codespan(It)){It=It.substring(Yn.raw.length),dn.push(Yn);continue}if(Yn=this.tokenizer.br(It)){It=It.substring(Yn.raw.length),dn.push(Yn);continue}if(Yn=this.tokenizer.del(It)){It=It.substring(Yn.raw.length),dn.push(Yn);continue}if(Yn=this.tokenizer.autolink(It,mc)){It=It.substring(Yn.raw.length),dn.push(Yn);continue}if(!this.state.inLink&&(Yn=this.tokenizer.url(It,mc))){It=It.substring(Yn.raw.length),dn.push(Yn);continue}if(vs=It,this.options.extensions&&this.options.extensions.startInline&&function(){var ua=1/0,Qs=It.slice(1),Dr=void 0;Si.options.extensions.startInline.forEach(function(Ar){Dr=Ar.call({lexer:this},Qs),typeof Dr==\"number\"&&Dr>=0&&(ua=Math.min(ua,Dr))}),ua<1/0&&ua>=0&&(vs=It.substring(0,ua+1))}(),Yn=this.tokenizer.inlineText(vs,Bl)){It=It.substring(Yn.raw.length),Yn.raw.slice(-1)!==\"_\"&&(La=Yn.raw.slice(-1)),za=!0,Zr=dn[dn.length-1],Zr&&Zr.type===\"text\"?(Zr.raw+=Yn.raw,Zr.text+=Yn.text):dn.push(Yn);continue}if(It){var bl=\"Infinite loop on byte: \"+It.charCodeAt(0);if(this.options.silent){console.error(bl);break}else throw new Error(bl)}}return dn},n($r,null,[{key:\"rules\",get:function(){return{block:Po,inline:mo}}}]),$r}(),dd=function(){function $r(gr){this.options=gr||e.defaults}var sr=$r.prototype;return sr.code=function(It,dn,Si){var Yn=(dn||\"\").match(/\\S*/)[0];if(this.options.highlight){var Zr=this.options.highlight(It,Yn);Zr!=null&&Zr!==It&&(Si=!0,It=Zr)}return It=It.replace(/\\n$/,\"\")+`\n`,Yn?'<pre><code class=\"'+this.options.langPrefix+T(Yn,!0)+'\">'+(Si?It:T(It,!0))+`</code></pre>\n`:\"<pre><code>\"+(Si?It:T(It,!0))+`</code></pre>\n`},sr.blockquote=function(It){return`<blockquote>\n`+It+`</blockquote>\n`},sr.html=function(It){return It},sr.heading=function(It,dn,Si,Yn){return this.options.headerIds?\"<h\"+dn+' id=\"'+this.options.headerPrefix+Yn.slug(Si)+'\">'+It+\"</h\"+dn+`>\n`:\"<h\"+dn+\">\"+It+\"</h\"+dn+`>\n`},sr.hr=function(){return this.options.xhtml?`<hr/>\n`:`<hr>\n`},sr.list=function(It,dn,Si){var Yn=dn?\"ol\":\"ul\",Zr=dn&&Si!==1?' start=\"'+Si+'\"':\"\";return\"<\"+Yn+Zr+`>\n`+It+\"</\"+Yn+`>\n`},sr.listitem=function(It){return\"<li>\"+It+`</li>\n`},sr.checkbox=function(It){return\"<input \"+(It?'checked=\"\" ':\"\")+'disabled=\"\" type=\"checkbox\"'+(this.options.xhtml?\" /\":\"\")+\"> \"},sr.paragraph=function(It){return\"<p>\"+It+`</p>\n`},sr.table=function(It,dn){return dn&&(dn=\"<tbody>\"+dn+\"</tbody>\"),`<table>\n<thead>\n`+It+`</thead>\n`+dn+`</table>\n`},sr.tablerow=function(It){return`<tr>\n`+It+`</tr>\n`},sr.tablecell=function(It,dn){var Si=dn.header?\"th\":\"td\",Yn=dn.align?\"<\"+Si+' align=\"'+dn.align+'\">':\"<\"+Si+\">\";return Yn+It+\"</\"+Si+`>\n`},sr.strong=function(It){return\"<strong>\"+It+\"</strong>\"},sr.em=function(It){return\"<em>\"+It+\"</em>\"},sr.codespan=function(It){return\"<code>\"+It+\"</code>\"},sr.br=function(){return this.options.xhtml?\"<br/>\":\"<br>\"},sr.del=function(It){return\"<del>\"+It+\"</del>\"},sr.link=function(It,dn,Si){if(It=mt(this.options.sanitize,this.options.baseUrl,It),It===null)return Si;var Yn='<a href=\"'+T(It)+'\"';return dn&&(Yn+=' title=\"'+dn+'\"'),Yn+=\">\"+Si+\"</a>\",Yn},sr.image=function(It,dn,Si){if(It=mt(this.options.sanitize,this.options.baseUrl,It),It===null)return Si;var Yn='<img src=\"'+It+'\" alt=\"'+Si+'\"';return dn&&(Yn+=' title=\"'+dn+'\"'),Yn+=this.options.xhtml?\"/>\":\">\",Yn},sr.text=function(It){return It},$r}(),gu=function(){function $r(){}var sr=$r.prototype;return sr.strong=function(It){return It},sr.em=function(It){return It},sr.codespan=function(It){return It},sr.del=function(It){return It},sr.html=function(It){return It},sr.text=function(It){return It},sr.link=function(It,dn,Si){return\"\"+Si},sr.image=function(It,dn,Si){return\"\"+Si},sr.br=function(){return\"\"},$r}(),Ka=function(){function $r(){this.seen={}}var sr=$r.prototype;return sr.serialize=function(It){return It.toLowerCase().trim().replace(/<[!\\/a-z].*?>/ig,\"\").replace(/[\\u2000-\\u206F\\u2E00-\\u2E7F\\\\'!\"#$%&()*+,./:;<=>?@[\\]^`{|}~]/g,\"\").replace(/\\s/g,\"-\")},sr.getNextSafeSlug=function(It,dn){var Si=It,Yn=0;if(this.seen.hasOwnProperty(Si)){Yn=this.seen[It];do Yn++,Si=It+\"-\"+Yn;while(this.seen.hasOwnProperty(Si))}return dn||(this.seen[It]=Yn,this.seen[Si]=0),Si},sr.slug=function(It,dn){dn===void 0&&(dn={});var Si=this.serialize(It);return this.getNextSafeSlug(Si,dn.dryrun)},$r}(),Qc=function(){function $r(gr){this.options=gr||e.defaults,this.options.renderer=this.options.renderer||new dd,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new gu,this.slugger=new Ka}$r.parse=function(It,dn){var Si=new $r(dn);return Si.parse(It)},$r.parseInline=function(It,dn){var Si=new $r(dn);return Si.parseInline(It)};var sr=$r.prototype;return sr.parse=function(It,dn){dn===void 0&&(dn=!0);var Si=\"\",Yn,Zr,vs,ra,zo,za,La,Ul,bl,ua,Qs,Dr,Ar,li,gn,kn,ei,Yt,zi,kr=It.length;for(Yn=0;Yn<kr;Yn++){if(ua=It[Yn],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[ua.type]&&(zi=this.options.extensions.renderers[ua.type].call({parser:this},ua),zi!==!1||![\"space\",\"hr\",\"heading\",\"code\",\"table\",\"blockquote\",\"list\",\"html\",\"paragraph\",\"text\"].includes(ua.type))){Si+=zi||\"\";continue}switch(ua.type){case\"space\":continue;case\"hr\":{Si+=this.renderer.hr();continue}case\"heading\":{Si+=this.renderer.heading(this.parseInline(ua.tokens),ua.depth,I(this.parseInline(ua.tokens,this.textRenderer)),this.slugger);continue}case\"code\":{Si+=this.renderer.code(ua.text,ua.lang,ua.escaped);continue}case\"table\":{for(Ul=\"\",La=\"\",ra=ua.header.length,Zr=0;Zr<ra;Zr++)La+=this.renderer.tablecell(this.parseInline(ua.header[Zr].tokens),{header:!0,align:ua.align[Zr]});for(Ul+=this.renderer.tablerow(La),bl=\"\",ra=ua.rows.length,Zr=0;Zr<ra;Zr++){for(za=ua.rows[Zr],La=\"\",zo=za.length,vs=0;vs<zo;vs++)La+=this.renderer.tablecell(this.parseInline(za[vs].tokens),{header:!1,align:ua.align[vs]});bl+=this.renderer.tablerow(La)}Si+=this.renderer.table(Ul,bl);continue}case\"blockquote\":{bl=this.parse(ua.tokens),Si+=this.renderer.blockquote(bl);continue}case\"list\":{for(Qs=ua.ordered,Dr=ua.start,Ar=ua.loose,ra=ua.items.length,bl=\"\",Zr=0;Zr<ra;Zr++)gn=ua.items[Zr],kn=gn.checked,ei=gn.task,li=\"\",gn.task&&(Yt=this.renderer.checkbox(kn),Ar?gn.tokens.length>0&&gn.tokens[0].type===\"paragraph\"?(gn.tokens[0].text=Yt+\" \"+gn.tokens[0].text,gn.tokens[0].tokens&&gn.tokens[0].tokens.length>0&&gn.tokens[0].tokens[0].type===\"text\"&&(gn.tokens[0].tokens[0].text=Yt+\" \"+gn.tokens[0].tokens[0].text)):gn.tokens.unshift({type:\"text\",text:Yt}):li+=Yt),li+=this.parse(gn.tokens,Ar),bl+=this.renderer.listitem(li,ei,kn);Si+=this.renderer.list(bl,Qs,Dr);continue}case\"html\":{Si+=this.renderer.html(ua.text);continue}case\"paragraph\":{Si+=this.renderer.paragraph(this.parseInline(ua.tokens));continue}case\"text\":{for(bl=ua.tokens?this.parseInline(ua.tokens):ua.text;Yn+1<kr&&It[Yn+1].type===\"text\";)ua=It[++Yn],bl+=`\n`+(ua.tokens?this.parseInline(ua.tokens):ua.text);Si+=dn?this.renderer.paragraph(bl):bl;continue}default:{var Gn='Token with \"'+ua.type+'\" type was not found.';if(this.options.silent){console.error(Gn);return}else throw new Error(Gn)}}}return Si},sr.parseInline=function(It,dn){dn=dn||this.renderer;var Si=\"\",Yn,Zr,vs,ra=It.length;for(Yn=0;Yn<ra;Yn++){if(Zr=It[Yn],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[Zr.type]&&(vs=this.options.extensions.renderers[Zr.type].call({parser:this},Zr),vs!==!1||![\"escape\",\"html\",\"link\",\"image\",\"strong\",\"em\",\"codespan\",\"br\",\"del\",\"text\"].includes(Zr.type))){Si+=vs||\"\";continue}switch(Zr.type){case\"escape\":{Si+=dn.text(Zr.text);break}case\"html\":{Si+=dn.html(Zr.text);break}case\"link\":{Si+=dn.link(Zr.href,Zr.title,this.parseInline(Zr.tokens,dn));break}case\"image\":{Si+=dn.image(Zr.href,Zr.title,Zr.text);break}case\"strong\":{Si+=dn.strong(this.parseInline(Zr.tokens,dn));break}case\"em\":{Si+=dn.em(this.parseInline(Zr.tokens,dn));break}case\"codespan\":{Si+=dn.codespan(Zr.text);break}case\"br\":{Si+=dn.br();break}case\"del\":{Si+=dn.del(this.parseInline(Zr.tokens,dn));break}case\"text\":{Si+=dn.text(Zr.text);break}default:{var zo='Token with \"'+Zr.type+'\" type was not found.';if(this.options.silent){console.error(zo);return}else throw new Error(zo)}}}return Si},$r}();function Ba($r,sr,gr){if(typeof $r==\"undefined\"||$r===null)throw new Error(\"marked(): input parameter is undefined or null\");if(typeof $r!=\"string\")throw new Error(\"marked(): input parameter is of type \"+Object.prototype.toString.call($r)+\", string expected\");if(typeof sr==\"function\"&&(gr=sr,sr=null),sr=Vr({},Ba.defaults,sr||{}),aa(sr),gr){var It=sr.highlight,dn;try{dn=lc.lex($r,sr)}catch(vs){return gr(vs)}var Si=function(ra){var zo;if(!ra)try{sr.walkTokens&&Ba.walkTokens(dn,sr.walkTokens),zo=Qc.parse(dn,sr)}catch(za){ra=za}return sr.highlight=It,ra?gr(ra):gr(null,zo)};if(!It||It.length<3||(delete sr.highlight,!dn.length))return Si();var Yn=0;Ba.walkTokens(dn,function(vs){vs.type===\"code\"&&(Yn++,setTimeout(function(){It(vs.text,vs.lang,function(ra,zo){if(ra)return Si(ra);zo!=null&&zo!==vs.text&&(vs.text=zo,vs.escaped=!0),Yn--,Yn===0&&Si()})},0))}),Yn===0&&Si();return}try{var Zr=lc.lex($r,sr);return sr.walkTokens&&Ba.walkTokens(Zr,sr.walkTokens),Qc.parse(Zr,sr)}catch(vs){if(vs.message+=`\nPlease report this to https://github.com/markedjs/marked.`,sr.silent)return\"<p>An error occurred:</p><pre>\"+T(vs.message+\"\",!0)+\"</pre>\";throw vs}}Ba.options=Ba.setOptions=function($r){return Vr(Ba.defaults,$r),u(Ba.defaults),Ba},Ba.getDefaults=l,Ba.defaults=e.defaults,Ba.use=function(){for(var $r=arguments.length,sr=new Array($r),gr=0;gr<$r;gr++)sr[gr]=arguments[gr];var It=Vr.apply(void 0,[{}].concat(sr)),dn=Ba.defaults.extensions||{renderers:{},childTokens:{}},Si;sr.forEach(function(Yn){if(Yn.extensions&&(Si=!0,Yn.extensions.forEach(function(vs){if(!vs.name)throw new Error(\"extension name required\");if(vs.renderer){var ra=dn.renderers?dn.renderers[vs.name]:null;ra?dn.renderers[vs.name]=function(){for(var zo=arguments.length,za=new Array(zo),La=0;La<zo;La++)za[La]=arguments[La];var Ul=vs.renderer.apply(this,za);return Ul===!1&&(Ul=ra.apply(this,za)),Ul}:dn.renderers[vs.name]=vs.renderer}if(vs.tokenizer){if(!vs.level||vs.level!==\"block\"&&vs.level!==\"inline\")throw new Error(\"extension level must be 'block' or 'inline'\");dn[vs.level]?dn[vs.level].unshift(vs.tokenizer):dn[vs.level]=[vs.tokenizer],vs.start&&(vs.level===\"block\"?dn.startBlock?dn.startBlock.push(vs.start):dn.startBlock=[vs.start]:vs.level===\"inline\"&&(dn.startInline?dn.startInline.push(vs.start):dn.startInline=[vs.start]))}vs.childTokens&&(dn.childTokens[vs.name]=vs.childTokens)})),Yn.renderer&&function(){var vs=Ba.defaults.renderer||new dd,ra=function(La){var Ul=vs[La];vs[La]=function(){for(var bl=arguments.length,ua=new Array(bl),Qs=0;Qs<bl;Qs++)ua[Qs]=arguments[Qs];var Dr=Yn.renderer[La].apply(vs,ua);return Dr===!1&&(Dr=Ul.apply(vs,ua)),Dr}};for(var zo in Yn.renderer)ra(zo);It.renderer=vs}(),Yn.tokenizer&&function(){var vs=Ba.defaults.tokenizer||new nl,ra=function(La){var Ul=vs[La];vs[La]=function(){for(var bl=arguments.length,ua=new Array(bl),Qs=0;Qs<bl;Qs++)ua[Qs]=arguments[Qs];var Dr=Yn.tokenizer[La].apply(vs,ua);return Dr===!1&&(Dr=Ul.apply(vs,ua)),Dr}};for(var zo in Yn.tokenizer)ra(zo);It.tokenizer=vs}(),Yn.walkTokens){var Zr=Ba.defaults.walkTokens;It.walkTokens=function(vs){Yn.walkTokens.call(this,vs),Zr&&Zr.call(this,vs)}}Si&&(It.extensions=dn),Ba.setOptions(It)})},Ba.walkTokens=function($r,sr){for(var gr=function(){var Yn=dn.value;switch(sr.call(Ba,Yn),Yn.type){case\"table\":{for(var Zr=a(Yn.header),vs;!(vs=Zr()).done;){var ra=vs.value;Ba.walkTokens(ra.tokens,sr)}for(var zo=a(Yn.rows),za;!(za=zo()).done;)for(var La=za.value,Ul=a(La),bl;!(bl=Ul()).done;){var ua=bl.value;Ba.walkTokens(ua.tokens,sr)}break}case\"list\":{Ba.walkTokens(Yn.items,sr);break}default:Ba.defaults.extensions&&Ba.defaults.extensions.childTokens&&Ba.defaults.extensions.childTokens[Yn.type]?Ba.defaults.extensions.childTokens[Yn.type].forEach(function(Qs){Ba.walkTokens(Yn[Qs],sr)}):Yn.tokens&&Ba.walkTokens(Yn.tokens,sr)}},It=a($r),dn;!(dn=It()).done;)gr()},Ba.parseInline=function($r,sr){if(typeof $r==\"undefined\"||$r===null)throw new Error(\"marked.parseInline(): input parameter is undefined or null\");if(typeof $r!=\"string\")throw new Error(\"marked.parseInline(): input parameter is of type \"+Object.prototype.toString.call($r)+\", string expected\");sr=Vr({},Ba.defaults,sr||{}),aa(sr);try{var gr=lc.lexInline($r,sr);return sr.walkTokens&&Ba.walkTokens(gr,sr.walkTokens),Qc.parseInline(gr,sr)}catch(It){if(It.message+=`\nPlease report this to https://github.com/markedjs/marked.`,sr.silent)return\"<p>An error occurred:</p><pre>\"+T(It.message+\"\",!0)+\"</pre>\";throw It}},Ba.Parser=Qc,Ba.parser=Qc.parse,Ba.Renderer=dd,Ba.TextRenderer=gu,Ba.Lexer=lc,Ba.lexer=lc.lex,Ba.Tokenizer=nl,Ba.Slugger=Ka,Ba.parse=Ba;var xd=Ba.options,jp=Ba.setOptions,Fu=Ba.use,Ed=Ba.walkTokens,wp=Ba.parseInline,zd=Ba,Ch=Qc.parse,sh=lc.lex;e.Lexer=lc,e.Parser=Qc,e.Renderer=dd,e.Slugger=Ka,e.TextRenderer=gu,e.Tokenizer=nl,e.getDefaults=l,e.lexer=sh,e.marked=Ba,e.options=xd,e.parse=zd,e.parseInline=wp,e.parser=Ch,e.setOptions=jp,e.use=Fu,e.walkTokens=Ed,Object.defineProperty(e,\"__esModule\",{value:!0})})})();var Tae=Efe||exports;function NWe(o,e={},t={}){var n;const i=new fs;let s=!1;const a=i.add(new Xh),l=pJ(e),u=function(I){let F;try{F=cU(decodeURIComponent(I))}catch{}return F?(F=VEe(F,q=>{if(o.uris&&o.uris[q])return wa.revive(o.uris[q])}),encodeURIComponent(JSON.stringify(F))):I},d=function(I,F){const q=o.uris&&o.uris[I];let re=wa.revive(q);return F?I.startsWith(dl.data+\":\")?I:(re||(re=wa.parse(I)),Mue.asBrowserUri(re).toString(!0)):!re||wa.parse(I).toString()===re.toString()?I:(re.query&&(re=re.with({query:u(re.query)})),re.toString())};let h;const p=new Promise(I=>h=I),g=new Tae.Renderer;if(g.image=(I,F,q)=>{let re=[],Ie=[];return I&&({href:I,dimensions:re}=EPe(I),Ie.push(`src=\"${I}\"`)),q&&Ie.push(`alt=\"${q}\"`),F&&Ie.push(`title=\"${F}\"`),re.length&&(Ie=Ie.concat(re)),\"<img \"+Ie.join(\" \")+\">\"},g.link=(I,F,q)=>typeof I!=\"string\"?\"\":(I===q&&(q=eH(q)),I=d(I,!1),o.baseUri&&(I=OH(wa.from(o.baseUri),I)),F=typeof F==\"string\"?eH(F):\"\",I=eH(I),!I||/^data:|javascript:/i.test(I)||/^command:/i.test(I)&&!o.isTrusted||/^command:(\\/\\/\\/)?_workbench\\.downloadResource/i.test(I)?q:(I=I.replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\").replace(/'/g,\"&#39;\"),`<a data-href=\"${I}\" title=\"${F||I}\">${q}</a>`)),g.paragraph=I=>`<p>${I}</p>`,e.codeBlockRenderer&&(g.code=(I,F)=>{const q=e.codeBlockRenderer(F!=null?F:\"\",I),re=ahe.nextId();return qq(Promise.all([q,p]),a.token).then(Ie=>{var mt;if(!s&&Ie){const Le=l.querySelector(`div[data-code=\"${re}\"]`);Le&&tC(Le,Ie[0]),(mt=e.asyncRenderCallback)===null||mt===void 0||mt.call(e)}}).catch(()=>{}),`<div class=\"code\" data-code=\"${re}\">${Nq(I)}</div>`}),e.actionHandler){const I=e.actionHandler.disposables.add(new Ru(l,\"click\")),F=e.actionHandler.disposables.add(new Ru(l,\"auxclick\"));e.actionHandler.disposables.add(Xo.any(I.event,F.event)(q=>{const re=new Sg(q);if(!re.leftButton&&!re.middleButton)return;let Ie=re.target;if(!(Ie.tagName!==\"A\"&&(Ie=Ie.parentElement,!Ie||Ie.tagName!==\"A\")))try{let mt=Ie.dataset.href;mt&&(o.baseUri&&(mt=OH(wa.from(o.baseUri),mt)),e.actionHandler.callback(mt,re))}catch(mt){tl(mt)}finally{re.preventDefault()}}))}o.supportHtml||(t.sanitizer=I=>(o.isTrusted?I.match(/^(<span[^>]+>)|(<\\/\\s*span>)$/):void 0)?I:\"\",t.sanitize=!0,t.silent=!0),t.renderer=g;let y=(n=o.value)!==null&&n!==void 0?n:\"\";y.length>1e5&&(y=`${y.substr(0,1e5)}\\u2026`),o.supportThemeIcons&&(y=P7e(y));let D=Tae.parse(y,t);o.supportThemeIcons&&(D=_D(D).map(F=>typeof F==\"string\"?F:F.outerHTML).join(\"\"));const k=new DOMParser().parseFromString(Aae(o,D),\"text/html\");if(k.body.querySelectorAll(\"img\").forEach(I=>{const F=I.getAttribute(\"src\");if(F){let q=F;try{o.baseUri&&(q=OH(wa.from(o.baseUri),q))}catch{}I.src=d(q,!0)}}),l.innerHTML=Aae(o,k.body.innerHTML),h(),e.asyncRenderCallback)for(const I of l.getElementsByTagName(\"img\")){const F=i.add(hs(I,\"load\",()=>{F.dispose(),e.asyncRenderCallback()}))}return{element:l,dispose:()=>{s=!0,a.cancel(),i.dispose()}}}function OH(o,e){return/^\\w[\\w\\d+.-]*:/.test(e)?e:o.path.endsWith(\"/\")?fse(o,e).toString():fse(t9(o),e).toString()}function Aae(o,e){const{config:t,allowedSchemes:n}=IWe(o);xae(\"uponSanitizeAttribute\",(s,a)=>{if(a.attrName===\"style\"||a.attrName===\"class\"){if(s.tagName===\"SPAN\"){if(a.attrName===\"style\"){a.keepAttr=/^(color\\:#[0-9a-fA-F]+;)?(background-color\\:#[0-9a-fA-F]+;)?$/.test(a.attrValue);return}else if(a.attrName===\"class\"){a.keepAttr=/^codicon codicon-[a-z\\-]+( codicon-modifier-[a-z\\-]+)?$/.test(a.attrValue);return}}a.keepAttr=!1;return}});const i=document.createElement(\"a\");xae(\"afterSanitizeAttributes\",s=>{for(const a of[\"href\",\"src\"])s.hasAttribute(a)&&(i.href=s.getAttribute(a),n.includes(i.protocol.replace(/:$/,\"\"))||s.removeAttribute(a))});try{return LWe(e,Object.assign(Object.assign({},t),{RETURN_TRUSTED_TYPE:!0}))}finally{Eae(\"uponSanitizeAttribute\"),Eae(\"afterSanitizeAttributes\")}}function IWe(o){const e=[dl.http,dl.https,dl.mailto,dl.data,dl.file,dl.vscodeFileResource,dl.vscodeRemote,dl.vscodeRemoteResource];return o.isTrusted&&e.push(dl.command),{config:{ALLOWED_TAGS:[\"ul\",\"li\",\"p\",\"b\",\"i\",\"code\",\"blockquote\",\"ol\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"hr\",\"em\",\"pre\",\"table\",\"thead\",\"tbody\",\"tr\",\"th\",\"td\",\"div\",\"del\",\"a\",\"strong\",\"br\",\"img\",\"span\"],ALLOWED_ATTR:[\"href\",\"data-href\",\"target\",\"title\",\"src\",\"alt\",\"class\",\"style\",\"data-code\",\"width\",\"height\",\"align\"],ALLOW_UNKNOWN_PROTOCOLS:!0},allowedSchemes:e}}var FWe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},kae=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},PWe=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})},MH;let kb=class Tfe{constructor(e,t,n){this._options=e,this._languageService=t,this._openerService=n,this._onDidRenderAsync=new ri,this.onDidRenderAsync=this._onDidRenderAsync.event}dispose(){this._onDidRenderAsync.dispose()}render(e,t,n){if(!e)return{element:document.createElement(\"span\"),dispose:()=>{}};const i=new fs;return{element:i.add(NWe(e,Object.assign(Object.assign({},this._getRenderOptions(e,i)),t),n)).element,dispose:()=>i.dispose()}}_getRenderOptions(e,t){return{codeBlockRenderer:(n,i)=>PWe(this,void 0,void 0,function*(){var s,a,l;let u;n?u=this._languageService.getLanguageIdByLanguageName(n):this._options.editor&&(u=(s=this._options.editor.getModel())===null||s===void 0?void 0:s.getLanguageId()),u||(u=ay);const d=yield HIe(this._languageService,i,u),h=document.createElement(\"span\");if(h.innerHTML=(l=(a=Tfe._ttpTokenizer)===null||a===void 0?void 0:a.createHTML(d))!==null&&l!==void 0?l:d,this._options.editor){const p=this._options.editor.getOption(44);bp(h,p)}else this._options.codeBlockFontFamily&&(h.style.fontFamily=this._options.codeBlockFontFamily);return h}),asyncRenderCallback:()=>this._onDidRenderAsync.fire(),actionHandler:{callback:n=>this._openerService.open(n,{fromUserGesture:!0,allowContributedOpeners:!0,allowCommands:e.isTrusted}).catch(tl),disposables:t}}}};kb._ttpTokenizer=(MH=window.trustedTypes)===null||MH===void 0?void 0:MH.createPolicy(\"tokenizeToString\",{createHTML(o){return o}});kb=FWe([kae(1,Pc),kae(2,Wg)],kb);const Lae=ls;class Yx extends fr{constructor(e,t,n=z7e){super(),this._renderDisposeables=this._register(new fs),this._editor=e,this._isVisible=!1,this._messages=[],this._hover=this._register(new lfe),this._hover.containerDomNode.classList.toggle(\"hidden\",!this._isVisible),this._markdownRenderer=this._register(new kb({editor:this._editor},t,n)),this._computer=new OWe(this._editor),this._hoverOperation=this._register(new ufe(this._editor,this._computer)),this._register(this._hoverOperation.onResult(i=>{this._withResult(i.value)})),this._register(this._editor.onDidChangeModelDecorations(()=>this._onModelDecorationsChanged())),this._register(this._editor.onDidChangeConfiguration(i=>{i.hasChanged(44)&&this._updateFont()})),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return Yx.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))}startShowingAt(e){this._computer.lineNumber!==e&&(this._hoverOperation.cancel(),this.hide(),this._computer.lineNumber=e,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 n=document.createDocumentFragment();for(const i of t){const s=Lae(\"div.hover-row.markdown-hover\"),a=Jr(s,Lae(\"div.hover-contents\")),l=this._renderDisposeables.add(this._markdownRenderer.render(i.value));a.appendChild(l.element),n.appendChild(s)}this._updateContents(n),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(),n=this._editor.getTopForLineNumber(e),i=this._editor.getScrollTop(),s=this._editor.getOption(59),a=this._hover.containerDomNode.clientHeight,l=n-i-(a-s)/2;this._hover.containerDomNode.style.left=`${t.glyphMarginLeft+t.glyphMarginWidth}px`,this._hover.containerDomNode.style.top=`${Math.max(Math.round(l),0)}px`}}Yx.ID=\"editor.contrib.modesGlyphHoverWidget\";class OWe{constructor(e){this._editor=e,this._lineNumber=-1}get lineNumber(){return this._lineNumber}set lineNumber(e){this._lineNumber=e}computeSync(){const e=i=>({value:i}),t=this._editor.getLineDecorations(this._lineNumber),n=[];if(!t)return n;for(const i of t){if(!i.options.glyphMarginClassName)continue;const s=i.options.glyphMarginHoverMessage;!s||yE(s)||n.push(...vq(s).map(e))}return n}}var MWe=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};class RWe{constructor(e,t,n){this.provider=e,this.hover=t,this.ordinal=n}}function BWe(o,e,t,n,i){return MWe(this,void 0,void 0,function*(){try{const s=yield Promise.resolve(o.provideHover(t,n,i));if(s&&WWe(s))return new RWe(o,s,e)}catch(s){bh(s)}})}function oY(o,e,t,n){const s=o.ordered(e).map((a,l)=>BWe(a,l,e,t,n));return vd.fromPromises(s).coalesce()}function jWe(o,e,t,n){return oY(o,e,t,n).map(i=>i.hover).toPromise()}oy(\"_executeHoverProvider\",(o,e,t)=>{const n=o.get($o);return jWe(n.hoverProvider,e,t,Ll.None)});function WWe(o){const e=typeof o.range!=\"undefined\",t=typeof o.contents!=\"undefined\"&&o.contents&&o.contents.length>0;return e&&t}var VWe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},T5=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};const Nae=ls;class fb{constructor(e,t,n,i){this.owner=e,this.range=t,this.contents=n,this.ordinal=i}isValidForHoverAnchor(e){return e.type===1&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}let rP=class{constructor(e,t,n,i,s){this._editor=e,this._languageService=t,this._openerService=n,this._configurationService=i,this._languageFeaturesService=s,this.hoverOrdinal=2}createLoadingMessage(e){return new fb(this,e.range,[new H_().appendText(w(\"modesContentHover.loading\",\"Loading...\"))],2e3)}computeSync(e,t){if(!this._editor.hasModel()||e.type!==1)return[];const n=this._editor.getModel(),i=e.range.startLineNumber,s=n.getLineMaxColumn(i),a=[];let l=1e3;const u=n.getLineLength(i),d=n.getLanguageIdAtPosition(e.range.startLineNumber,e.range.startColumn),h=this._configurationService.getValue(\"editor.maxTokenizationLineLength\",{overrideIdentifier:d});typeof h==\"number\"&&u>=h&&a.push(new fb(this,e.range,[{value:w(\"too many characters\",\"Tokenization is skipped for long lines for performance reasons. This can be configured via `editor.maxTokenizationLineLength`.\")}],l++));for(const p of t){const g=p.range.startLineNumber===i?p.range.startColumn:1,y=p.range.endLineNumber===i?p.range.endColumn:s,D=p.options.hoverMessage;if(!D||yE(D))continue;const T=new He(e.range.startLineNumber,g,e.range.startLineNumber,y);a.push(new fb(this,T,vq(D),l++))}return a}computeAsync(e,t,n){if(!this._editor.hasModel()||e.type!==1)return vd.EMPTY;const i=this._editor.getModel();if(!this._languageFeaturesService.hoverProvider.has(i))return vd.EMPTY;const s=new Ii(e.range.startLineNumber,e.range.startColumn);return oY(this._languageFeaturesService.hoverProvider,i,s,n).filter(a=>!yE(a.hover.contents)).map(a=>{const l=a.hover.range?He.lift(a.hover.range):e.range;return new fb(this,l,a.hover.contents,a.ordinal)})}renderHoverParts(e,t){return Afe(e,t,this._editor,this._languageService,this._openerService)}};rP=VWe([T5(1,Pc),T5(2,Wg),T5(3,Uu),T5(4,$o)],rP);function Afe(o,e,t,n,i){e.sort((a,l)=>a.ordinal-l.ordinal);const s=new fs;for(const a of e)for(const l of a.contents){if(yE(l))continue;const u=Nae(\"div.hover-row.markdown-hover\"),d=Jr(u,Nae(\"div.hover-contents\")),h=s.add(new kb({editor:t},n,i));s.add(h.onDidRenderAsync(()=>{d.className=\"hover-contents code-hover-contents\",o.onContentsChanged()}));const p=s.add(h.render(l));d.appendChild(p.element),o.fragment.appendChild(u)}return s}var kfe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},sP=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};class Iae{constructor(e,t,n){this.marker=e,this.index=t,this.total=n}}let xK=class{constructor(e,t,n){this._markerService=t,this._configService=n,this._onDidChange=new ri,this.onDidChange=this._onDidChange.event,this._dispoables=new fs,this._markers=[],this._nextIdx=-1,wa.isUri(e)?this._resourceFilter=l=>l.toString()===e.toString():e&&(this._resourceFilter=e);const i=this._configService.getValue(\"problems.sortOrder\"),s=(l,u)=>{let d=B3(l.resource.toString(),u.resource.toString());return d===0&&(i===\"position\"?d=He.compareRangesUsingStarts(l,u)||Fc.compare(l.severity,u.severity):d=Fc.compare(l.severity,u.severity)||He.compareRangesUsingStarts(l,u)),d},a=()=>{this._markers=this._markerService.read({resource:wa.isUri(e)?e:void 0,severities:Fc.Error|Fc.Warning|Fc.Info}),typeof e==\"function\"&&(this._markers=this._markers.filter(l=>this._resourceFilter(l.resource))),this._markers.sort(s)};a(),this._dispoables.add(t.onMarkerChanged(l=>{(!this._resourceFilter||l.some(u=>this._resourceFilter(u)))&&(a(),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 Iae(e,this._nextIdx+1,this._markers.length)}_initIdx(e,t,n){let i=!1,s=this._markers.findIndex(a=>a.resource.toString()===e.uri.toString());s<0&&(s=yq(this._markers,{resource:e.uri},(a,l)=>B3(a.resource.toString(),l.resource.toString())),s<0&&(s=~s));for(let a=s;a<this._markers.length;a++){let l=He.lift(this._markers[a]);if(l.isEmpty()){const u=e.getWordAtPosition(l.getStartPosition());u&&(l=new He(l.startLineNumber,u.startColumn,l.startLineNumber,u.endColumn))}if(t&&(l.containsPosition(t)||t.isBeforeOrEqual(l.getStartPosition()))){this._nextIdx=a,i=!0;break}if(this._markers[a].resource.toString()!==e.uri.toString())break}i||(this._nextIdx=n?0:this._markers.length-1),this._nextIdx<0&&(this._nextIdx=this._markers.length-1)}resetIndex(){this._nextIdx=-1}move(e,t,n){if(this._markers.length===0)return!1;let i=this._nextIdx;return this._nextIdx===-1?this._initIdx(t,n,e):e?this._nextIdx=(this._nextIdx+1)%this._markers.length:e||(this._nextIdx=(this._nextIdx-1+this._markers.length)%this._markers.length),i!==this._nextIdx}find(e,t){let n=this._markers.findIndex(i=>i.resource.toString()===e.toString());if(!(n<0)){for(;n<this._markers.length;n++)if(He.containsPosition(this._markers[n],t))return new Iae(this._markers[n],n+1,this._markers.length)}}};xK=kfe([sP(1,Lb),sP(2,Uu)],xK);const Lfe=zl(\"IMarkerNavigationService\");let EK=class{constructor(e,t){this._markerService=e,this._configService=t,this._provider=new $_}getMarkerList(e){for(let t of this._provider){const n=t.getMarkerList(e);if(n)return n}return new xK(e,this._markerService,this._configService)}};EK=kfe([sP(0,Lb),sP(1,Uu)],EK);su(Lfe,EK,!0);var TK;(function(o){function e(t){switch(t){case Nc.Ignore:return\"severity-ignore \"+E.info.classNames;case Nc.Info:return E.info.classNames;case Nc.Warning:return E.warning.classNames;case Nc.Error:return E.error.classNames;default:return\"\"}}o.className=e})(TK||(TK={}));ac((o,e)=>{const t=o.getColor(K4e);if(t){const s=E.error.cssSelector;e.addRule(`\n\t\t\t.monaco-editor .zone-widget ${s},\n\t\t\t.markers-panel .marker-icon${s},\n\t\t\t.text-search-provider-messages .providerMessage ${s},\n\t\t\t.extensions-viewlet > .extensions ${s} {\n\t\t\t\tcolor: ${t};\n\t\t\t}\n\t\t`)}const n=o.getColor(q4e);if(n){const s=E.warning.cssSelector;e.addRule(`\n\t\t\t.monaco-editor .zone-widget ${s},\n\t\t\t.markers-panel .marker-icon${s},\n\t\t\t.extensions-viewlet > .extensions ${s},\n\t\t\t.extension-editor ${s},\n\t\t\t.text-search-provider-messages .providerMessage ${s},\n\t\t\t.preferences-editor ${s} {\n\t\t\t\tcolor: ${n};\n\t\t\t}\n\t\t`)}const i=o.getColor(G4e);if(i){const s=E.info.cssSelector;e.addRule(`\n\t\t\t.monaco-editor .zone-widget ${s},\n\t\t\t.markers-panel .marker-icon${s},\n\t\t\t.extensions-viewlet > .extensions ${s},\n\t\t\t.text-search-provider-messages .providerMessage ${s},\n\t\t\t.extension-editor ${s} {\n\t\t\t\tcolor: ${i};\n\t\t\t}\n\t\t`)}});var HWe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},QS=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};class $We{constructor(e,t,n,i,s){this._openerService=i,this._labelService=s,this._lines=0,this._longestLineLength=0,this._relatedDiagnostics=new WeakMap,this._disposables=new fs,this._editor=t;const a=document.createElement(\"div\");a.className=\"descriptioncontainer\",this._messageBlock=document.createElement(\"div\"),this._messageBlock.classList.add(\"message\"),this._messageBlock.setAttribute(\"aria-live\",\"assertive\"),this._messageBlock.setAttribute(\"role\",\"alert\"),a.appendChild(this._messageBlock),this._relatedBlock=document.createElement(\"div\"),a.appendChild(this._relatedBlock),this._disposables.add(Fh(this._relatedBlock,\"click\",l=>{l.preventDefault();const u=this._relatedDiagnostics.get(l.target);u&&n(u)})),this._scrollable=new Kce(a,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:6,verticalScrollbarSize:6}),e.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll(l=>{a.style.left=`-${l.scrollLeft}px`,a.style.top=`-${l.scrollTop}px`})),this._disposables.add(this._scrollable)}dispose(){eu(this._disposables)}update(e){const{source:t,message:n,relatedInformation:i,code:s}=e;let a=((t==null?void 0:t.length)||0)+2;s&&(typeof s==\"string\"?a+=s.length:a+=s.value.length);const l=G1(n);this._lines=l.length,this._longestLineLength=0;for(const g of l)this._longestLineLength=Math.max(g.length+a,this._longestLineLength);nh(this._messageBlock),this._messageBlock.setAttribute(\"aria-label\",this.getAriaLabel(e)),this._editor.applyFontInfo(this._messageBlock);let u=this._messageBlock;for(const g of l)u=document.createElement(\"div\"),u.innerText=g,g===\"\"&&(u.style.height=this._messageBlock.style.lineHeight),this._messageBlock.appendChild(u);if(t||s){const g=document.createElement(\"span\");if(g.classList.add(\"details\"),u.appendChild(g),t){const y=document.createElement(\"span\");y.innerText=t,y.classList.add(\"source\"),g.appendChild(y)}if(s)if(typeof s==\"string\"){const y=document.createElement(\"span\");y.innerText=`(${s})`,y.classList.add(\"code\"),g.appendChild(y)}else{this._codeLink=ls(\"a.code-link\"),this._codeLink.setAttribute(\"href\",`${s.target.toString()}`),this._codeLink.onclick=D=>{this._openerService.open(s.target,{allowCommands:!0}),D.preventDefault(),D.stopPropagation()};const y=Jr(this._codeLink,ls(\"span\"));y.innerText=s.value,g.appendChild(this._codeLink)}}if(nh(this._relatedBlock),this._editor.applyFontInfo(this._relatedBlock),d_(i)){const g=this._relatedBlock.appendChild(document.createElement(\"div\"));g.style.paddingTop=`${Math.floor(this._editor.getOption(59)*.66)}px`,this._lines+=1;for(const y of i){let D=document.createElement(\"div\"),T=document.createElement(\"a\");T.classList.add(\"filename\"),T.innerText=`${zpe(y.resource)}(${y.startLineNumber}, ${y.startColumn}): `,T.title=this._labelService.getUriLabel(y.resource),this._relatedDiagnostics.set(T,y);let k=document.createElement(\"span\");k.innerText=y.message,D.appendChild(T),D.appendChild(k),this._lines+=1,g.appendChild(D)}}const d=this._editor.getOption(44),h=Math.ceil(d.typicalFullwidthCharacterWidth*this._longestLineLength*.75),p=d.lineHeight*this._lines;this._scrollable.setScrollDimensions({scrollWidth:h,scrollHeight:p})}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 Fc.Error:t=w(\"Error\",\"Error\");break;case Fc.Warning:t=w(\"Warning\",\"Warning\");break;case Fc.Info:t=w(\"Info\",\"Info\");break;case Fc.Hint:t=w(\"Hint\",\"Hint\");break}let n=w(\"marker aria\",\"{0} at {1}. \",t,e.startLineNumber+\":\"+e.startColumn);const i=this._editor.getModel();return i&&e.startLineNumber<=i.getLineCount()&&e.startLineNumber>=1&&(n=`${i.getLineContent(e.startLineNumber)}, ${n}`),n}}let xE=class Nfe extends Q7{constructor(e,t,n,i,s,a,l){super(e,{showArrow:!0,showFrame:!0,isAccessible:!0,frameWidth:1},s),this._themeService=t,this._openerService=n,this._menuService=i,this._contextKeyService=a,this._labelService=l,this._callOnDispose=new fs,this._onDidSelectRelatedInformation=new ri,this.onDidSelectRelatedInformation=this._onDidSelectRelatedInformation.event,this._severity=Fc.Warning,this._backgroundColor=Xi.white,this._applyTheme(t.getColorTheme()),this._callOnDispose.add(t.onDidColorThemeChange(this._applyTheme.bind(this))),this.create()}_applyTheme(e){this._backgroundColor=e.getColor(qWe);let t=AK,n=zWe;this._severity===Fc.Warning?(t=kK,n=UWe):this._severity===Fc.Info&&(t=LK,n=KWe);const i=e.getColor(t),s=e.getColor(n);this.style({arrowColor:i,frameColor:i,headerBackgroundColor:s,primaryHeadingColor:e.getColor(Hpe),secondaryHeadingColor:e.getColor($pe)})}_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.onBeforeRun(i=>this.editor.focus()));const t=[],n=this._menuService.createMenu(Nfe.TitleMenu,this._contextKeyService);yje(n,void 0,t),this._actionbarWidget.push(t,{label:!1,icon:!0,index:0}),n.dispose()}_fillTitleIcon(e){this._icon=Jr(e,ls(\"\"))}_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 $We(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,n){this._container.classList.remove(\"stale\"),this._message.update(e),this._severity=e.severity,this._applyTheme(this._themeService.getColorTheme());let i=He.lift(e);const s=this.editor.getPosition();let a=s&&i.containsPosition(s)?s:i.getStartPosition();super.show(a,this.computeRequiredHeight());const l=this.editor.getModel();if(l){const u=n>1?w(\"problems\",\"{0} of {1} problems\",t,n):w(\"change\",\"{0} of {1} problem\",t,n);this.setTitle(Mg(l.uri),u)}this._icon.className=`codicon ${TK.className(Fc.toSeverity(this._severity))}`,this.editor.revealPositionNearTop(a,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()}};xE.TitleMenu=new Fn(\"gotoErrorTitleMenu\");xE=HWe([QS(1,gc),QS(2,Wg),QS(3,cw),QS(4,Nl),QS(5,Xa),QS(6,h4)],xE);let Fae=G3(Vv,bce),Pae=G3(Sm,UP),Oae=G3(G_,gG);const AK=ln(\"editorMarkerNavigationError.background\",{dark:Fae,light:Fae,hc:Sc},w(\"editorMarkerNavigationError\",\"Editor marker navigation widget error color.\")),zWe=ln(\"editorMarkerNavigationError.headerBackground\",{dark:Ra(AK,.1),light:Ra(AK,.1),hc:null},w(\"editorMarkerNavigationErrorHeaderBackground\",\"Editor marker navigation widget error heading background.\")),kK=ln(\"editorMarkerNavigationWarning.background\",{dark:Pae,light:Pae,hc:Sc},w(\"editorMarkerNavigationWarning\",\"Editor marker navigation widget warning color.\")),UWe=ln(\"editorMarkerNavigationWarning.headerBackground\",{dark:Ra(kK,.1),light:Ra(kK,.1),hc:\"#0C141F\"},w(\"editorMarkerNavigationWarningBackground\",\"Editor marker navigation widget warning heading background.\")),LK=ln(\"editorMarkerNavigationInfo.background\",{dark:Oae,light:Oae,hc:Sc},w(\"editorMarkerNavigationInfo\",\"Editor marker navigation widget info color.\")),KWe=ln(\"editorMarkerNavigationInfo.headerBackground\",{dark:Ra(LK,.1),light:Ra(LK,.1),hc:null},w(\"editorMarkerNavigationInfoHeaderBackground\",\"Editor marker navigation widget info heading background.\")),qWe=ln(\"editorMarkerNavigation.background\",{dark:Rf,light:Rf,hc:Rf},w(\"editorMarkerNavigationBackground\",\"Editor marker navigation widget background.\"));var GWe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},A5=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},Ife=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};let _C=class C8{constructor(e,t,n,i,s){this._markerNavigationService=t,this._contextKeyService=n,this._editorService=i,this._instantiationService=s,this._sessionDispoables=new fs,this._editor=e,this._widgetVisible=Ffe.bindTo(this._contextKeyService)}static get(e){return e.getContribution(C8.ID)}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(xE,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(n=>{var i,s,a;(!(!((i=this._model)===null||i===void 0)&&i.selected)||!He.containsPosition((s=this._model)===null||s===void 0?void 0:s.selected.marker,n.position))&&((a=this._model)===null||a===void 0||a.resetIndex())})),this._sessionDispoables.add(this._model.onDidChange(()=>{if(!this._widget||!this._widget.position||!this._model)return;const n=this._model.find(this._editor.getModel().uri,this._widget.position);n?this._widget.updateMarker(n.marker):this._widget.showStale()})),this._sessionDispoables.add(this._widget.onDidSelectRelatedInformation(n=>{this._editorService.openCodeEditor({resource:n.resource,options:{pinned:!0,revealIfOpened:!0,selection:He.lift(n).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 Ii(e.startLineNumber,e.startColumn)),t.selected&&this._widget.showAtMarker(t.selected.marker,t.selected.index,t.selected.total)}}nagivate(e,t){var n,i;return Ife(this,void 0,void 0,function*(){if(this._editor.hasModel()){const s=this._getOrCreateModel(t?void 0:this._editor.getModel().uri);if(s.move(e,this._editor.getModel(),this._editor.getPosition()),!s.selected)return;if(s.selected.marker.resource.toString()!==this._editor.getModel().uri.toString()){this._cleanUp();const a=yield this._editorService.openCodeEditor({resource:s.selected.marker.resource,options:{pinned:!1,revealIfOpened:!0,selectionRevealType:2,selection:s.selected.marker}},this._editor);a&&((n=C8.get(a))===null||n===void 0||n.close(),(i=C8.get(a))===null||i===void 0||i.nagivate(e,t))}else this._widget.showAtMarker(s.selected.marker,s.selected.index,s.selected.total)}})}};_C.ID=\"editor.contrib.markerController\";_C=GWe([A5(1,Lfe),A5(2,Xa),A5(3,Eu),A5(4,Nl)],_C);class $9 extends xo{constructor(e,t,n){super(n),this._next=e,this._multiFile=t}run(e,t){var n;return Ife(this,void 0,void 0,function*(){t.hasModel()&&((n=_C.get(t))===null||n===void 0||n.nagivate(this._next,this._multiFile))})}}class Gv extends $9{constructor(){super(!0,!1,{id:Gv.ID,label:Gv.LABEL,alias:\"Go to Next Problem (Error, Warning, Info)\",precondition:void 0,kbOpts:{kbExpr:on.focus,primary:578,weight:100},menuOpts:{menuId:xE.TitleMenu,title:Gv.LABEL,icon:rh(\"marker-navigation-next\",E.arrowDown,w(\"nextMarkerIcon\",\"Icon for goto next marker.\")),group:\"navigation\",order:1}})}}Gv.ID=\"editor.action.marker.next\";Gv.LABEL=w(\"markerAction.next.label\",\"Go to Next Problem (Error, Warning, Info)\");class mD extends $9{constructor(){super(!1,!1,{id:mD.ID,label:mD.LABEL,alias:\"Go to Previous Problem (Error, Warning, Info)\",precondition:void 0,kbOpts:{kbExpr:on.focus,primary:1602,weight:100},menuOpts:{menuId:xE.TitleMenu,title:mD.LABEL,icon:rh(\"marker-navigation-previous\",E.arrowUp,w(\"previousMarkerIcon\",\"Icon for goto previous marker.\")),group:\"navigation\",order:2}})}}mD.ID=\"editor.action.marker.prev\";mD.LABEL=w(\"markerAction.previous.label\",\"Go to Previous Problem (Error, Warning, Info)\");class JWe extends $9{constructor(){super(!0,!0,{id:\"editor.action.marker.nextInFiles\",label:w(\"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:on.focus,primary:66,weight:100},menuOpts:{menuId:Fn.MenubarGoMenu,title:w({key:\"miGotoNextProblem\",comment:[\"&& denotes a mnemonic\"]},\"Next &&Problem\"),group:\"6_problem_nav\",order:1}})}}class YWe extends $9{constructor(){super(!1,!0,{id:\"editor.action.marker.prevInFiles\",label:w(\"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:on.focus,primary:1090,weight:100},menuOpts:{menuId:Fn.MenubarGoMenu,title:w({key:\"miGotoPreviousProblem\",comment:[\"&& denotes a mnemonic\"]},\"Previous &&Problem\"),group:\"6_problem_nav\",order:2}})}}vu(_C.ID,_C);Fs(Gv);Fs(mD);Fs(JWe);Fs(YWe);const Ffe=new Do(\"markersNavigationVisible\",!1),XWe=Zh.bindToContribution(_C.get);Ns(new XWe({id:\"closeMarkersNavigation\",precondition:Ffe,handler:o=>o.close(),kbOpts:{weight:100+50,kbExpr:on.focus,primary:9,secondary:[1033]}}));var QWe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},RH=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};const hm=ls;class ZWe{constructor(e,t,n){this.owner=e,this.range=t,this.marker=n}isValidForHoverAnchor(e){return e.type===1&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}const Mae={type:1,filter:{include:Rl.QuickFix}};let NK=class{constructor(e,t,n,i){this._editor=e,this._markerDecorationsService=t,this._openerService=n,this._languageFeaturesService=i,this.hoverOrdinal=5,this.recentMarkerCodeActionsInfo=void 0}computeSync(e,t){if(!this._editor.hasModel()||e.type!==1)return[];const n=this._editor.getModel(),i=e.range.startLineNumber,s=n.getLineMaxColumn(i),a=[];for(const l of t){const u=l.range.startLineNumber===i?l.range.startColumn:1,d=l.range.endLineNumber===i?l.range.endColumn:s,h=this._markerDecorationsService.getMarker(n.uri,l);if(!h)continue;const p=new He(e.range.startLineNumber,u,e.range.startLineNumber,d);a.push(new ZWe(this,p,h))}return a}renderHoverParts(e,t){if(!t.length)return fr.None;const n=new fs;t.forEach(s=>e.fragment.appendChild(this.renderMarkerHover(s,n)));const i=t.length===1?t[0]:t.sort((s,a)=>Fc.compare(s.marker.severity,a.marker.severity))[0];return this.renderMarkerStatusbar(e,i,n),n}renderMarkerHover(e,t){const n=hm(\"div.hover-row\"),i=Jr(n,hm(\"div.marker.hover-contents\")),{source:s,message:a,code:l,relatedInformation:u}=e.marker;this._editor.applyFontInfo(i);const d=Jr(i,hm(\"span\"));if(d.style.whiteSpace=\"pre-wrap\",d.innerText=a,s||l)if(l&&typeof l!=\"string\"){const h=hm(\"span\");if(s){const D=Jr(h,hm(\"span\"));D.innerText=s}const p=Jr(h,hm(\"a.code-link\"));p.setAttribute(\"href\",l.target.toString()),t.add(hs(p,\"click\",D=>{this._openerService.open(l.target,{allowCommands:!0}),D.preventDefault(),D.stopPropagation()}));const g=Jr(p,hm(\"span\"));g.innerText=l.value;const y=Jr(i,h);y.style.opacity=\"0.6\",y.style.paddingLeft=\"6px\"}else{const h=Jr(i,hm(\"span\"));h.style.opacity=\"0.6\",h.style.paddingLeft=\"6px\",h.innerText=s&&l?`${s}(${l})`:s||`(${l})`}if(d_(u))for(const{message:h,resource:p,startLineNumber:g,startColumn:y}of u){const D=Jr(i,hm(\"div\"));D.style.marginTop=\"8px\";const T=Jr(D,hm(\"a\"));T.innerText=`${Mg(p)}(${g}, ${y}): `,T.style.cursor=\"pointer\",t.add(hs(T,\"click\",I=>{I.stopPropagation(),I.preventDefault(),this._openerService&&this._openerService.open(p,{fromUserGesture:!0,editorOptions:{selection:{startLineNumber:g,startColumn:y}}}).catch(tl)}));const k=Jr(D,hm(\"span\"));k.innerText=h,this._editor.applyFontInfo(k)}return n}renderMarkerStatusbar(e,t,n){if((t.marker.severity===Fc.Error||t.marker.severity===Fc.Warning||t.marker.severity===Fc.Info)&&e.statusBar.addAction({label:w(\"view problem\",\"View Problem\"),commandId:Gv.ID,run:()=>{var i;e.hide(),(i=_C.get(this._editor))===null||i===void 0||i.showAtMarker(t.marker),this._editor.focus()}}),!this._editor.getOption(81)){const i=e.statusBar.append(hm(\"div\"));this.recentMarkerCodeActionsInfo&&(R7.makeKey(this.recentMarkerCodeActionsInfo.marker)===R7.makeKey(t.marker)?this.recentMarkerCodeActionsInfo.hasCodeActions||(i.textContent=w(\"noQuickFixes\",\"No quick fixes available\")):this.recentMarkerCodeActionsInfo=void 0);const s=this.recentMarkerCodeActionsInfo&&!this.recentMarkerCodeActionsInfo.hasCodeActions?fr.None:n.add(SD(()=>i.textContent=w(\"checkingForQuickFixes\",\"Checking for quick fixes...\"),200));i.textContent||(i.textContent=String.fromCharCode(160));const a=this.getCodeActions(t.marker);n.add(wl(()=>a.cancel())),a.then(l=>{if(s.dispose(),this.recentMarkerCodeActionsInfo={marker:t.marker,hasCodeActions:l.validActions.length>0},!this.recentMarkerCodeActionsInfo.hasCodeActions){l.dispose(),i.textContent=w(\"noQuickFixes\",\"No quick fixes available\");return}i.style.display=\"none\";let u=!1;n.add(wl(()=>{u||l.dispose()})),e.statusBar.addAction({label:w(\"quick fixes\",\"Quick Fix...\"),commandId:YE.Id,run:d=>{u=!0;const h=VD.get(this._editor),p=Gh(d);e.hide(),h==null||h.showCodeActions(Mae,l,{x:p.left+6,y:p.top+p.height+6})}})},tl)}}getCodeActions(e){return Oh(t=>JJ(this._languageFeaturesService.codeActionProvider,this._editor.getModel(),new He(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),Mae,gw.None,t))}};NK=QWe([RH(1,lG),RH(2,Wg),RH(3,$o)],NK);ac((o,e)=>{const t=o.getColor($P);t&&e.addRule(`.monaco-hover .hover-contents a.code-link span { color: ${t}; }`);const n=o.getColor(zP);n&&e.addRule(`.monaco-hover .hover-contents a.code-link span:hover { color: ${n}; }`)});var eVe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},k5=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let gC=class Pfe{constructor(e,t,n,i,s){this._editor=e,this._instantiationService=t,this._openerService=n,this._languageService=i,this._toUnhook=new fs,this._isMouseDown=!1,this._hoverClicked=!1,this._contentWidget=null,this._glyphWidget=null,this._hookEvents(),this._didChangeConfigurationHandler=this._editor.onDidChangeConfiguration(a=>{a.hasChanged(53)&&(this._unhookEvents(),this._hookEvents())})}static get(e){return e.getContribution(Pfe.ID)}_hookEvents(){const e=()=>this._hideWidgets(),t=this._editor.getOption(53);this._isHoverEnabled=t.enabled,this._isHoverSticky=t.sticky,this._isHoverEnabled?(this._toUnhook.add(this._editor.onMouseDown(n=>this._onEditorMouseDown(n))),this._toUnhook.add(this._editor.onMouseUp(n=>this._onEditorMouseUp(n))),this._toUnhook.add(this._editor.onMouseMove(n=>this._onEditorMouseMove(n))),this._toUnhook.add(this._editor.onKeyDown(n=>this._onKeyDown(n)))):(this._toUnhook.add(this._editor.onMouseMove(n=>this._onEditorMouseMove(n))),this._toUnhook.add(this._editor.onKeyDown(n=>this._onKeyDown(n)))),this._toUnhook.add(this._editor.onMouseLeave(e)),this._toUnhook.add(this._editor.onDidChangeModel(e)),this._toUnhook.add(this._editor.onDidScrollChange(n=>this._onEditorScrollChanged(n)))}_unhookEvents(){this._toUnhook.clear()}_onEditorScrollChanged(e){(e.scrollTopChanged||e.scrollLeftChanged)&&this._hideWidgets()}_onEditorMouseDown(e){this._isMouseDown=!0;const t=e.target;if(t.type===9&&t.detail===gD.ID){this._hoverClicked=!0;return}t.type===12&&t.detail===Yx.ID||(t.type!==12&&(this._hoverClicked=!1),this._hideWidgets())}_onEditorMouseUp(e){this._isMouseDown=!1}_onEditorMouseMove(e){var t,n,i,s,a;const l=e.target;if(this._isMouseDown&&this._hoverClicked||this._isHoverSticky&&l.type===9&&l.detail===gD.ID||this._isHoverSticky&&!(!((n=(t=e.event.browserEvent.view)===null||t===void 0?void 0:t.getSelection())===null||n===void 0)&&n.isCollapsed)||!this._isHoverSticky&&l.type===9&&l.detail===gD.ID&&((i=this._contentWidget)===null||i===void 0?void 0:i.isColorPickerVisible())||this._isHoverSticky&&l.type===12&&l.detail===Yx.ID)return;if(!this._isHoverEnabled){this._hideWidgets();return}if(this._getOrCreateContentWidget().maybeShowAt(e)){(s=this._glyphWidget)===null||s===void 0||s.hide();return}if(l.type===2&&l.position){(a=this._contentWidget)===null||a===void 0||a.hide(),this._glyphWidget||(this._glyphWidget=new Yx(this._editor,this._languageService,this._openerService)),this._glyphWidget.startShowingAt(l.position.lineNumber);return}this._hideWidgets()}_onKeyDown(e){e.keyCode!==5&&e.keyCode!==6&&e.keyCode!==57&&e.keyCode!==4&&this._hideWidgets()}_hideWidgets(){var e,t,n;this._isMouseDown&&this._hoverClicked&&((e=this._contentWidget)===null||e===void 0?void 0:e.isColorPickerVisible())||(this._hoverClicked=!1,(t=this._glyphWidget)===null||t===void 0||t.hide(),(n=this._contentWidget)===null||n===void 0||n.hide())}_getOrCreateContentWidget(){return this._contentWidget||(this._contentWidget=this._instantiationService.createInstance(tP,this._editor)),this._contentWidget}isColorPickerVisible(){var e;return((e=this._contentWidget)===null||e===void 0?void 0:e.isColorPickerVisible())||!1}showContentHover(e,t,n){this._getOrCreateContentWidget().startShowingAtRange(e,t,n)}dispose(){var e,t;this._unhookEvents(),this._toUnhook.dispose(),this._didChangeConfigurationHandler.dispose(),(e=this._glyphWidget)===null||e===void 0||e.dispose(),(t=this._contentWidget)===null||t===void 0||t.dispose()}};gC.ID=\"editor.contrib.hover\";gC=eVe([k5(1,Nl),k5(2,Wg),k5(3,Pc),k5(4,Xa)],gC);class tVe extends xo{constructor(){super({id:\"editor.action.showHover\",label:w({key:\"showHover\",comment:[\"Label for action that will trigger the showing of a hover in the editor.\",\"This allows for users to show the hover without using the mouse.\"]},\"Show Hover\"),alias:\"Show Hover\",precondition:void 0,kbOpts:{kbExpr:on.editorTextFocus,primary:vh(2089,2087),weight:100}})}run(e,t){if(!t.hasModel())return;let n=gC.get(t);if(!n)return;const i=t.getPosition(),s=new He(i.lineNumber,i.column,i.lineNumber,i.column),a=t.getOption(2)===2;n.showContentHover(s,1,a)}}class nVe extends xo{constructor(){super({id:\"editor.action.showDefinitionPreviewHover\",label:w({key:\"showDefinitionPreviewHover\",comment:[\"Label for action that will trigger the showing of definition preview hover in the editor.\",\"This allows for users to show the definition preview hover without using the mouse.\"]},\"Show Definition Preview Hover\"),alias:\"Show Definition Preview Hover\",precondition:void 0})}run(e,t){const n=gC.get(t);if(!n)return;const i=t.getPosition();if(!i)return;const s=new He(i.lineNumber,i.column,i.lineNumber,i.column),a=zD.get(t);if(!a)return;a.startFindDefinitionFromCursor(i).then(()=>{n.showContentHover(s,1,!0)})}}vu(gC.ID,gC);Fs(tVe);Fs(nVe);xw.register(rP);xw.register(NK);ac((o,e)=>{const t=o.getColor(XLe);t&&e.addRule(`.monaco-editor .hoverHighlight { background-color: ${t}; }`);const n=o.getColor(kD);n&&e.addRule(`.monaco-editor .monaco-hover { background-color: ${n}; }`);const i=o.getColor(vG);i&&(e.addRule(`.monaco-editor .monaco-hover { border: 1px solid ${i}; }`),e.addRule(`.monaco-editor .monaco-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${i.transparent(.5)}; }`),e.addRule(`.monaco-editor .monaco-hover hr { border-top: 1px solid ${i.transparent(.5)}; }`),e.addRule(`.monaco-editor .monaco-hover hr { border-bottom: 0px solid ${i.transparent(.5)}; }`));const s=o.getColor($P);s&&e.addRule(`.monaco-editor .monaco-hover a { color: ${s}; }`);const a=o.getColor(zP);a&&e.addRule(`.monaco-editor .monaco-hover a:hover { color: ${a}; }`);const l=o.getColor(bG);l&&e.addRule(`.monaco-editor .monaco-hover { color: ${l}; }`);const u=o.getColor(QLe);u&&e.addRule(`.monaco-editor .monaco-hover .hover-row .actions { background-color: ${u}; }`);const d=o.getColor(uce);d&&e.addRule(`.monaco-editor .monaco-hover code { background-color: ${d}; }`)});class IK extends fr{constructor(e){super(),this._editor=e,this._register(e.onMouseDown(t=>this.onMouseDown(t)))}dispose(){super.dispose()}onMouseDown(e){const t=e.target;if(t.type!==6||!t.detail.injectedText||t.detail.injectedText.options.attachedData!==Ppe||!t.range)return;const n=this._editor.getContribution(gC.ID);if(!!n&&!n.isColorPickerVisible()){const i=new He(t.range.startLineNumber,t.range.startColumn+1,t.range.endLineNumber,t.range.endColumn+1);n.showContentHover(i,1,!1)}}}IK.ID=\"editor.contrib.colorContribution\";vu(IK.ID,IK);xw.register(oK);class Fv{constructor(e,t,n){this.languageConfigurationService=n,this._selection=e,this._insertSpace=t,this._usedEndToken=null}static _haystackHasNeedleAtOffset(e,t,n){if(n<0)return!1;const i=t.length,s=e.length;if(n+i>s)return!1;for(let a=0;a<i;a++){const l=e.charCodeAt(n+a),u=t.charCodeAt(a);if(l!==u&&!(l>=65&&l<=90&&l+32===u)&&!(u>=65&&u<=90&&u+32===l))return!1}return!0}_createOperationsForBlockComment(e,t,n,i,s,a){const l=e.startLineNumber,u=e.startColumn,d=e.endLineNumber,h=e.endColumn,p=s.getLineContent(l),g=s.getLineContent(d);let y=p.lastIndexOf(t,u-1+t.length),D=g.indexOf(n,h-1-n.length);if(y!==-1&&D!==-1)if(l===d)p.substring(y+t.length,D).indexOf(n)>=0&&(y=-1,D=-1);else{const k=p.substring(y+t.length),I=g.substring(0,D);(k.indexOf(n)>=0||I.indexOf(n)>=0)&&(y=-1,D=-1)}let T;y!==-1&&D!==-1?(i&&y+t.length<p.length&&p.charCodeAt(y+t.length)===32&&(t=t+\" \"),i&&D>0&&g.charCodeAt(D-1)===32&&(n=\" \"+n,D-=1),T=Fv._createRemoveBlockCommentOperations(new He(l,y+t.length+1,d,D+1),t,n)):(T=Fv._createAddBlockCommentOperations(e,t,n,this._insertSpace),this._usedEndToken=T.length===1?n:null);for(const k of T)a.addTrackedEditOperation(k.range,k.text)}static _createRemoveBlockCommentOperations(e,t,n){let i=[];return He.isEmpty(e)?i.push(Yc.delete(new He(e.startLineNumber,e.startColumn-t.length,e.endLineNumber,e.endColumn+n.length))):(i.push(Yc.delete(new He(e.startLineNumber,e.startColumn-t.length,e.startLineNumber,e.startColumn))),i.push(Yc.delete(new He(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn+n.length)))),i}static _createAddBlockCommentOperations(e,t,n,i){let s=[];return He.isEmpty(e)?s.push(Yc.replace(new He(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),t+\"  \"+n)):(s.push(Yc.insert(new Ii(e.startLineNumber,e.startColumn),t+(i?\" \":\"\"))),s.push(Yc.insert(new Ii(e.endLineNumber,e.endColumn),(i?\" \":\"\")+n))),s}getEditOperations(e,t){const n=this._selection.startLineNumber,i=this._selection.startColumn;e.tokenizeIfCheap(n);const s=e.getLanguageIdAtPosition(n,i),a=this.languageConfigurationService.getLanguageConfiguration(s).comments;!a||!a.blockCommentStartToken||!a.blockCommentEndToken||this._createOperationsForBlockComment(this._selection,a.blockCommentStartToken,a.blockCommentEndToken,this._insertSpace,e,t)}computeCursorState(e,t){const n=t.getInverseEditOperations();if(n.length===2){const i=n[0],s=n[1];return new oo(i.range.endLineNumber,i.range.endColumn,s.range.startLineNumber,s.range.startColumn)}else{const i=n[0].range,s=this._usedEndToken?-this._usedEndToken.length-1:0;return new oo(i.endLineNumber,i.endColumn+s,i.endLineNumber,i.endColumn+s)}}}class eb{constructor(e,t,n,i,s,a,l){this.languageConfigurationService=e,this._selection=t,this._tabSize=n,this._type=i,this._insertSpace=s,this._selectionId=null,this._deltaColumn=0,this._moveEndPositionDown=!1,this._ignoreEmptyLines=a,this._ignoreFirstLine=l||!1}static _gatherPreflightCommentStrings(e,t,n,i){e.tokenizeIfCheap(t);const s=e.getLanguageIdAtPosition(t,1),a=i.getLanguageConfiguration(s).comments,l=a?a.lineCommentToken:null;if(!l)return null;let u=[];for(let d=0,h=n-t+1;d<h;d++)u[d]={ignore:!1,commentStr:l,commentStrOffset:0,commentStrLength:l.length};return u}static _analyzeLines(e,t,n,i,s,a,l,u){let d=!0,h;e===0?h=!0:e===1?h=!1:h=!0;for(let p=0,g=i.length;p<g;p++){const y=i[p],D=s+p;if(D===s&&l){y.ignore=!0;continue}const T=n.getLineContent(D),k=pf(T);if(k===-1){y.ignore=a,y.commentStrOffset=T.length;continue}if(d=!1,y.ignore=!1,y.commentStrOffset=k,h&&!Fv._haystackHasNeedleAtOffset(T,y.commentStr,k)&&(e===0?h=!1:e===1||(y.ignore=!0)),h&&t){const I=k+y.commentStrLength;I<T.length&&T.charCodeAt(I)===32&&(y.commentStrLength+=1)}}if(e===0&&d){h=!1;for(let p=0,g=i.length;p<g;p++)i[p].ignore=!1}return{supported:!0,shouldRemoveComments:h,lines:i}}static _gatherPreflightData(e,t,n,i,s,a,l,u){const d=eb._gatherPreflightCommentStrings(n,i,s,u);return d===null?{supported:!1}:eb._analyzeLines(e,t,n,d,i,a,l,u)}_executeLineComments(e,t,n,i){let s;n.shouldRemoveComments?s=eb._createRemoveLineCommentsOperations(n.lines,i.startLineNumber):(eb._normalizeInsertionPoint(e,n.lines,i.startLineNumber,this._tabSize),s=this._createAddLineCommentsOperations(n.lines,i.startLineNumber));const a=new Ii(i.positionLineNumber,i.positionColumn);for(let l=0,u=s.length;l<u;l++)t.addEditOperation(s[l].range,s[l].text),He.isEmpty(s[l].range)&&He.getStartPosition(s[l].range).equals(a)&&e.getLineContent(a.lineNumber).length+1===a.column&&(this._deltaColumn=(s[l].text||\"\").length);this._selectionId=t.trackSelection(i)}_attemptRemoveBlockComment(e,t,n,i){let s=t.startLineNumber,a=t.endLineNumber,l=i.length+Math.max(e.getLineFirstNonWhitespaceColumn(t.startLineNumber),t.startColumn),u=e.getLineContent(s).lastIndexOf(n,l-1),d=e.getLineContent(a).indexOf(i,t.endColumn-1-n.length);return u!==-1&&d===-1&&(d=e.getLineContent(s).indexOf(i,u+n.length),a=s),u===-1&&d!==-1&&(u=e.getLineContent(a).lastIndexOf(n,d),s=a),t.isEmpty()&&(u===-1||d===-1)&&(u=e.getLineContent(s).indexOf(n),u!==-1&&(d=e.getLineContent(s).indexOf(i,u+n.length))),u!==-1&&e.getLineContent(s).charCodeAt(u+n.length)===32&&(n+=\" \"),d!==-1&&e.getLineContent(a).charCodeAt(d-1)===32&&(i=\" \"+i,d-=1),u!==-1&&d!==-1?Fv._createRemoveBlockCommentOperations(new He(s,u+n.length+1,a,d+1),n,i):null}_executeBlockComment(e,t,n){e.tokenizeIfCheap(n.startLineNumber);let i=e.getLanguageIdAtPosition(n.startLineNumber,1),s=Nd.getComments(i);if(!s||!s.blockCommentStartToken||!s.blockCommentEndToken)return;const a=s.blockCommentStartToken,l=s.blockCommentEndToken;let u=this._attemptRemoveBlockComment(e,n,a,l);if(!u){if(n.isEmpty()){const d=e.getLineContent(n.startLineNumber);let h=pf(d);h===-1&&(h=d.length),u=Fv._createAddBlockCommentOperations(new He(n.startLineNumber,h+1,n.startLineNumber,d.length+1),a,l,this._insertSpace)}else u=Fv._createAddBlockCommentOperations(new He(n.startLineNumber,e.getLineFirstNonWhitespaceColumn(n.startLineNumber),n.endLineNumber,e.getLineMaxColumn(n.endLineNumber)),a,l,this._insertSpace);u.length===1&&(this._deltaColumn=a.length+1)}this._selectionId=t.trackSelection(n);for(const d of u)t.addEditOperation(d.range,d.text)}getEditOperations(e,t){let n=this._selection;if(this._moveEndPositionDown=!1,n.startLineNumber===n.endLineNumber&&this._ignoreFirstLine){t.addEditOperation(new He(n.startLineNumber,e.getLineMaxColumn(n.startLineNumber),n.startLineNumber+1,1),n.startLineNumber===e.getLineCount()?\"\":`\n`),this._selectionId=t.trackSelection(n);return}n.startLineNumber<n.endLineNumber&&n.endColumn===1&&(this._moveEndPositionDown=!0,n=n.setEndPosition(n.endLineNumber-1,e.getLineMaxColumn(n.endLineNumber-1)));const i=eb._gatherPreflightData(this._type,this._insertSpace,e,n.startLineNumber,n.endLineNumber,this._ignoreEmptyLines,this._ignoreFirstLine,this.languageConfigurationService);return i.supported?this._executeLineComments(e,t,i,n):this._executeBlockComment(e,t,n)}computeCursorState(e,t){let n=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(n=n.setEndPosition(n.endLineNumber+1,1)),new oo(n.selectionStartLineNumber,n.selectionStartColumn+this._deltaColumn,n.positionLineNumber,n.positionColumn+this._deltaColumn)}static _createRemoveLineCommentsOperations(e,t){let n=[];for(let i=0,s=e.length;i<s;i++){const a=e[i];a.ignore||n.push(Yc.delete(new He(t+i,a.commentStrOffset+1,t+i,a.commentStrOffset+a.commentStrLength+1)))}return n}_createAddLineCommentsOperations(e,t){let n=[];const i=this._insertSpace?\" \":\"\";for(let s=0,a=e.length;s<a;s++){const l=e[s];l.ignore||n.push(Yc.insert(new Ii(t+s,l.commentStrOffset+1),l.commentStr+i))}return n}static nextVisibleColumn(e,t,n,i){return n?e+(t-e%t):e+i}static _normalizeInsertionPoint(e,t,n,i){let s=1073741824,a,l;for(let u=0,d=t.length;u<d;u++){if(t[u].ignore)continue;const h=e.getLineContent(n+u);let p=0;for(let g=0,y=t[u].commentStrOffset;p<s&&g<y;g++)p=eb.nextVisibleColumn(p,i,h.charCodeAt(g)===9,1);p<s&&(s=p)}s=Math.floor(s/i)*i;for(let u=0,d=t.length;u<d;u++){if(t[u].ignore)continue;const h=e.getLineContent(n+u);let p=0;for(a=0,l=t[u].commentStrOffset;p<s&&a<l;a++)p=eb.nextVisibleColumn(p,i,h.charCodeAt(a)===9,1);p>s?t[u].commentStrOffset=a-1:t[u].commentStrOffset=a}}}class aY extends xo{constructor(e,t){super(t),this._type=e}run(e,t){const n=e.get(Dp);if(!t.hasModel())return;const i=t.getModel(),s=[],a=i.getOptions(),l=t.getOption(19),u=t.getSelections().map((h,p)=>({selection:h,index:p,ignoreFirstLine:!1}));u.sort((h,p)=>He.compareRangesUsingStarts(h.selection,p.selection));let d=u[0];for(let h=1;h<u.length;h++){const p=u[h];d.selection.endLineNumber===p.selection.startLineNumber&&(d.index<p.index?p.ignoreFirstLine=!0:(d.ignoreFirstLine=!0,d=p))}for(const h of u)s.push(new eb(n,h.selection,a.tabSize,this._type,l.insertSpace,l.ignoreEmptyLines,h.ignoreFirstLine));t.pushUndoStop(),t.executeCommands(this.id,s),t.pushUndoStop()}}class iVe extends aY{constructor(){super(0,{id:\"editor.action.commentLine\",label:w(\"comment.line\",\"Toggle Line Comment\"),alias:\"Toggle Line Comment\",precondition:on.writable,kbOpts:{kbExpr:on.editorTextFocus,primary:2133,weight:100},menuOpts:{menuId:Fn.MenubarEditMenu,group:\"5_insert\",title:w({key:\"miToggleLineComment\",comment:[\"&& denotes a mnemonic\"]},\"&&Toggle Line Comment\"),order:1}})}}class rVe extends aY{constructor(){super(1,{id:\"editor.action.addCommentLine\",label:w(\"comment.line.add\",\"Add Line Comment\"),alias:\"Add Line Comment\",precondition:on.writable,kbOpts:{kbExpr:on.editorTextFocus,primary:vh(2089,2081),weight:100}})}}class sVe extends aY{constructor(){super(2,{id:\"editor.action.removeCommentLine\",label:w(\"comment.line.remove\",\"Remove Line Comment\"),alias:\"Remove Line Comment\",precondition:on.writable,kbOpts:{kbExpr:on.editorTextFocus,primary:vh(2089,2099),weight:100}})}}class oVe extends xo{constructor(){super({id:\"editor.action.blockComment\",label:w(\"comment.block\",\"Toggle Block Comment\"),alias:\"Toggle Block Comment\",precondition:on.writable,kbOpts:{kbExpr:on.editorTextFocus,primary:1567,linux:{primary:3103},weight:100},menuOpts:{menuId:Fn.MenubarEditMenu,group:\"5_insert\",title:w({key:\"miToggleBlockComment\",comment:[\"&& denotes a mnemonic\"]},\"Toggle &&Block Comment\"),order:2}})}run(e,t){const n=e.get(Dp);if(!t.hasModel())return;const i=t.getOption(19),s=[],a=t.getSelections();for(const l of a)s.push(new Fv(l,i.insertSpace,n));t.pushUndoStop(),t.executeCommands(this.id,s),t.pushUndoStop()}}Fs(iVe);Fs(rVe);Fs(sVe);Fs(oVe);var aVe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},Mk=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let EE=class Ofe{constructor(e,t,n,i,s,a){this._contextMenuService=t,this._contextViewService=n,this._contextKeyService=i,this._keybindingService=s,this._menuService=a,this._toDispose=new fs,this._contextMenuIsBeingShownCount=0,this._editor=e,this._toDispose.add(this._editor.onContextMenu(l=>this._onContextMenu(l))),this._toDispose.add(this._editor.onMouseWheel(l=>{if(this._contextMenuIsBeingShownCount>0){const u=this._contextViewService.getContextViewElement(),d=l.srcElement;d.shadowRoot&&eC(u)===d.shadowRoot||this._contextViewService.hideContextView()}})),this._toDispose.add(this._editor.onKeyDown(l=>{l.keyCode===58&&(l.preventDefault(),l.stopPropagation(),this.showContextMenu())}))}static get(e){return e.getContribution(Ofe.ID)}_onContextMenu(e){if(!this._editor.hasModel())return;if(!this._editor.getOption(20)){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||(e.event.preventDefault(),e.event.stopPropagation(),e.target.type!==6&&e.target.type!==7&&e.target.type!==1))return;if(this._editor.focus(),e.target.position){let n=!1;for(const i of this._editor.getSelections())if(i.containsPosition(e.target.position)){n=!0;break}n||this._editor.setPosition(e.target.position)}let t=null;e.target.type!==1&&(t={x:e.event.posx-1,width:2,y:e.event.posy-1,height:2}),this.showContextMenu(t)}showContextMenu(e){if(!this._editor.getOption(20)||!this._editor.hasModel())return;if(!this._contextMenuService){this._editor.focus();return}const t=this._getMenuActions(this._editor.getModel(),this._editor.isSimpleWidget?Fn.SimpleEditorContext:Fn.EditorContext);t.length>0&&this._doShowContextMenu(t,e)}_getMenuActions(e,t){const n=[],i=this._menuService.createMenu(t,this._contextKeyService),s=i.getActions({arg:e.uri});i.dispose();for(let a of s){const[,l]=a;let u=0;for(const d of l)if(d instanceof hG){const h=this._getMenuActions(e,d.item.submenu);h.length>0&&(n.push(new IP(d.id,d.label,h)),u++)}else n.push(d),u++;u&&n.push(new Ag)}return n.length&&n.pop(),n}_doShowContextMenu(e,t=null){if(!this._editor.hasModel())return;const n=this._editor.getOption(53);if(this._editor.updateOptions({hover:{enabled:!1}}),!t){this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render();const s=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),a=Gh(this._editor.getDomNode()),l=a.left+s.left,u=a.top+s.top+s.height;t={x:l,y:u}}const i=this._editor.getOption(115)&&!m0;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:i?this._editor.getDomNode():void 0,getAnchor:()=>t,getActions:()=>e,getActionViewItem:s=>{const a=this._keybindingFor(s);if(a)return new cL(s,s,{label:!0,keybinding:a.getLabel(),isMenu:!0});const l=s;return typeof l.getActionViewItem==\"function\"?l.getActionViewItem():new cL(s,s,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:s=>this._keybindingFor(s),onHide:s=>{this._contextMenuIsBeingShownCount--,this._editor.focus(),this._editor.updateOptions({hover:n})}})}_keybindingFor(e){return this._keybindingService.lookupKeybinding(e.id)}dispose(){this._contextMenuIsBeingShownCount>0&&this._contextViewService.hideContextView(),this._toDispose.dispose()}};EE.ID=\"editor.contrib.contextmenu\";EE=aVe([Mk(1,vC),Mk(2,u4),Mk(3,Xa),Mk(4,Xc),Mk(5,cw)],EE);class lVe extends xo{constructor(){super({id:\"editor.action.showContextMenu\",label:w(\"action.showContextMenu.label\",\"Show Editor Context Menu\"),alias:\"Show Editor Context Menu\",precondition:void 0,kbOpts:{kbExpr:on.textInputFocus,primary:1092,weight:100}})}run(e,t){var n;(n=EE.get(t))===null||n===void 0||n.showContextMenu()}}vu(EE.ID,EE);Fs(lVe);class BH{constructor(e){this.selections=e}equals(e){const t=this.selections.length,n=e.selections.length;if(t!==n)return!1;for(let i=0;i<t;i++)if(!this.selections[i].equalsSelection(e.selections[i]))return!1;return!0}}class jH{constructor(e,t,n){this.cursorState=e,this.scrollTop=t,this.scrollLeft=n}}class UD extends fr{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 n=new BH(t.oldSelections);this._undoStack.length>0&&this._undoStack[this._undoStack.length-1].cursorState.equals(n)||(this._undoStack.push(new jH(n,e.getScrollTop(),e.getScrollLeft())),this._redoStack=[],this._undoStack.length>50&&this._undoStack.shift())}))}static get(e){return e.getContribution(UD.ID)}cursorUndo(){!this._editor.hasModel()||this._undoStack.length===0||(this._redoStack.push(new jH(new BH(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 jH(new BH(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}}UD.ID=\"editor.contrib.cursorUndoRedoController\";class uVe extends xo{constructor(){super({id:\"cursorUndo\",label:w(\"cursor.undo\",\"Cursor Undo\"),alias:\"Cursor Undo\",precondition:void 0,kbOpts:{kbExpr:on.textInputFocus,primary:2099,weight:100}})}run(e,t,n){var i;(i=UD.get(t))===null||i===void 0||i.cursorUndo()}}class cVe extends xo{constructor(){super({id:\"cursorRedo\",label:w(\"cursor.redo\",\"Cursor Redo\"),alias:\"Cursor Redo\",precondition:void 0})}run(e,t,n){var i;(i=UD.get(t))===null||i===void 0||i.cursorRedo()}}vu(UD.ID,UD);Fs(uVe);Fs(cVe);class dVe{constructor(e,t,n){this.selection=e,this.targetPosition=t,this.copy=n,this.targetSelection=null}getEditOperations(e,t){let n=e.getValueInRange(this.selection);if(this.copy||t.addEditOperation(this.selection,null),t.addEditOperation(new He(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),n),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 oo(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 oo(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 oo(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 oo(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 oo(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 ZS(o){return El?o.altKey:o.ctrlKey}class Db extends fr{constructor(e){super(),this._editor=e,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._dndDecorationIds=[],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(31)||this._editor.getOption(18)||(ZS(e)&&(this._modifierPressed=!0),this._mouseDown&&ZS(e)&&this._editor.updateOptions({mouseStyle:\"copy\"}))}onEditorKeyUp(e){!this._editor.getOption(31)||this._editor.getOption(18)||(ZS(e)&&(this._modifierPressed=!1),this._mouseDown&&e.keyCode===Db.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){let t=e.target;if(this._dragSelection===null){let i=(this._editor.getSelections()||[]).filter(s=>t.position&&s.containsPosition(t.position));if(i.length===1)this._dragSelection=i[0];else return}ZS(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){let t=new Ii(e.target.position.lineNumber,e.target.position.column);if(this._dragSelection===null){let n=null;if(e.event.shiftKey){let i=this._editor.getSelection();if(i){const{selectionStartLineNumber:s,selectionStartColumn:a}=i;n=[new oo(s,a,t.lineNumber,t.column)]}}else n=(this._editor.getSelections()||[]).map(i=>i.containsPosition(t)?new oo(t.lineNumber,t.column,t.lineNumber,t.column):i);this._editor.setSelections(n||[],\"mouse\",3)}else(!this._dragSelection.containsPosition(t)||(ZS(e.event)||this._modifierPressed)&&(this._dragSelection.getEndPosition().equals(t)||this._dragSelection.getStartPosition().equals(t)))&&(this._editor.pushUndoStop(),this._editor.executeCommand(Db.ID,new dVe(this._dragSelection,t,ZS(e.event)||this._modifierPressed)),this._editor.pushUndoStop())}this._editor.updateOptions({mouseStyle:\"text\"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}showAt(e){let t=[{range:new He(e.lineNumber,e.column,e.lineNumber,e.column),options:Db._DECORATION_OPTIONS}];this._dndDecorationIds=this._editor.deltaDecorations(this._dndDecorationIds,t),this._editor.revealPosition(e,1)}_removeDecoration(){this._dndDecorationIds=this._editor.deltaDecorations(this._dndDecorationIds,[])}_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()}}Db.ID=\"editor.contrib.dragAndDrop\";Db.TRIGGER_KEY_VALUE=El?6:5;Db._DECORATION_OPTIONS=_l.register({description:\"dnd-target\",className:\"dnd-target\"});vu(Db.ID,Db);class Fp{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.deltaDecorations(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}getCurrentMatchesPosition(e){let t=this._editor.getModel().getDecorationsInRange(e);for(const n of t){const i=n.options;if(i===Fp._FIND_MATCH_DECORATION||i===Fp._CURRENT_FIND_MATCH_DECORATION)return this._getDecorationIndex(n.id)}return 0}setCurrentFindMatch(e){let t=null,n=0;if(e)for(let i=0,s=this._decorations.length;i<s;i++){let a=this._editor.getModel().getDecorationRange(this._decorations[i]);if(e.equalsRange(a)){t=this._decorations[i],n=i+1;break}}return(this._highlightedDecorationId!==null||t!==null)&&this._editor.changeDecorations(i=>{if(this._highlightedDecorationId!==null&&(i.changeDecorationOptions(this._highlightedDecorationId,Fp._FIND_MATCH_DECORATION),this._highlightedDecorationId=null),t!==null&&(this._highlightedDecorationId=t,i.changeDecorationOptions(this._highlightedDecorationId,Fp._CURRENT_FIND_MATCH_DECORATION)),this._rangeHighlightDecorationId!==null&&(i.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),t!==null){let s=this._editor.getModel().getDecorationRange(t);if(s.startLineNumber!==s.endLineNumber&&s.endColumn===1){let a=s.endLineNumber-1,l=this._editor.getModel().getLineMaxColumn(a);s=new He(s.startLineNumber,s.startColumn,a,l)}this._rangeHighlightDecorationId=i.addDecoration(s,Fp._RANGE_HIGHLIGHT_DECORATION)}}),n}set(e,t){this._editor.changeDecorations(n=>{let i=Fp._FIND_MATCH_DECORATION,s=[];if(e.length>1e3){i=Fp._FIND_MATCH_NO_OVERVIEW_DECORATION;const l=this._editor.getModel().getLineCount(),d=this._editor.getLayoutInfo().height/l,h=Math.max(2,Math.ceil(3/d));let p=e[0].range.startLineNumber,g=e[0].range.endLineNumber;for(let y=1,D=e.length;y<D;y++){const T=e[y].range;g+h>=T.startLineNumber?T.endLineNumber>g&&(g=T.endLineNumber):(s.push({range:new He(p,1,g,1),options:Fp._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),p=T.startLineNumber,g=T.endLineNumber)}s.push({range:new He(p,1,g,1),options:Fp._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}let a=new Array(e.length);for(let l=0,u=e.length;l<u;l++)a[l]={range:e[l].range,options:i};this._decorations=n.deltaDecorations(this._decorations,a),this._overviewRulerApproximateDecorations=n.deltaDecorations(this._overviewRulerApproximateDecorations,s),this._rangeHighlightDecorationId&&(n.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),this._findScopeDecorationIds.length&&(this._findScopeDecorationIds.forEach(l=>n.removeDecoration(l)),this._findScopeDecorationIds=[]),t!=null&&t.length&&(this._findScopeDecorationIds=t.map(l=>n.addDecoration(l,Fp._FIND_SCOPE_DECORATION)))})}matchBeforePosition(e){if(this._decorations.length===0)return null;for(let t=this._decorations.length-1;t>=0;t--){let n=this._decorations[t],i=this._editor.getModel().getDecorationRange(n);if(!(!i||i.endLineNumber>e.lineNumber)){if(i.endLineNumber<e.lineNumber)return i;if(!(i.endColumn>e.column))return i}}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])}matchAfterPosition(e){if(this._decorations.length===0)return null;for(let t=0,n=this._decorations.length;t<n;t++){let i=this._decorations[t],s=this._editor.getModel().getDecorationRange(i);if(!(!s||s.startLineNumber<e.lineNumber)){if(s.startLineNumber>e.lineNumber)return s;if(!(s.startColumn<e.column))return s}}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}}Fp._CURRENT_FIND_MATCH_DECORATION=_l.register({description:\"current-find-match\",stickiness:1,zIndex:13,className:\"currentFindMatch\",showIfCollapsed:!0,overviewRuler:{color:Jc(wG),position:Ig.Center},minimap:{color:Jc(h3),position:Tg.Inline}});Fp._FIND_MATCH_DECORATION=_l.register({description:\"find-match\",stickiness:1,zIndex:10,className:\"findMatch\",showIfCollapsed:!0,overviewRuler:{color:Jc(wG),position:Ig.Center},minimap:{color:Jc(h3),position:Tg.Inline}});Fp._FIND_MATCH_NO_OVERVIEW_DECORATION=_l.register({description:\"find-match-no-overview\",stickiness:1,className:\"findMatch\",showIfCollapsed:!0});Fp._FIND_MATCH_ONLY_OVERVIEW_DECORATION=_l.register({description:\"find-match-only-overview\",stickiness:1,overviewRuler:{color:Jc(wG),position:Ig.Center}});Fp._RANGE_HIGHLIGHT_DECORATION=_l.register({description:\"find-range-highlight\",stickiness:1,className:\"rangeHighlight\",isWholeLine:!0});Fp._FIND_SCOPE_DECORATION=_l.register({description:\"find-scope\",className:\"findScope\",isWholeLine:!0});class hVe{constructor(e,t,n){this._editorSelection=e,this._ranges=t,this._replaceStrings=n,this._trackedEditorSelectionId=null}getEditOperations(e,t){if(this._ranges.length>0){let n=[];for(let a=0;a<this._ranges.length;a++)n.push({range:this._ranges[a],text:this._replaceStrings[a]});n.sort((a,l)=>He.compareRangesUsingStarts(a.range,l.range));let i=[],s=n[0];for(let a=1;a<n.length;a++)s.range.endLineNumber===n[a].range.startLineNumber&&s.range.endColumn===n[a].range.startColumn?(s.range=s.range.plusRange(n[a].range),s.text=s.text+n[a].text):(i.push(s),s=n[a]);i.push(s);for(const a of i)t.addEditOperation(a.range,a.text)}this._trackedEditorSelectionId=t.trackSelection(this._editorSelection)}computeCursorState(e,t){return t.getTrackedSelection(this._trackedEditorSelectionId)}}function Mfe(o,e){if(o&&o[0]!==\"\"){const t=Rae(o,e,\"-\"),n=Rae(o,e,\"_\");return t&&!n?Bae(o,e,\"-\"):!t&&n?Bae(o,e,\"_\"):o[0].toUpperCase()===o[0]?e.toUpperCase():o[0].toLowerCase()===o[0]?e.toLowerCase():hAe(o[0][0])&&e.length>0?e[0].toUpperCase()+e.substr(1):o[0][0].toUpperCase()!==o[0][0]&&e.length>0?e[0].toLowerCase()+e.substr(1):e}else return e}function Rae(o,e,t){return o[0].indexOf(t)!==-1&&e.indexOf(t)!==-1&&o[0].split(t).length===e.split(t).length}function Bae(o,e,t){const n=e.split(t),i=o[0].split(t);let s=\"\";return n.forEach((a,l)=>{s+=Mfe([i[l]],a)+t}),s.slice(0,-1)}class jae{constructor(e){this.staticValue=e,this.kind=0}}class pVe{constructor(e){this.pieces=e,this.kind=1}}class TE{constructor(e){!e||e.length===0?this._state=new jae(\"\"):e.length===1&&e[0].staticValue!==null?this._state=new jae(e[0].staticValue):this._state=new pVe(e)}static fromStaticValue(e){return new TE([yD.staticValue(e)])}get hasReplacementPatterns(){return this._state.kind===1}buildReplaceString(e,t){if(this._state.kind===0)return t?Mfe(e,this._state.staticValue):this._state.staticValue;let n=\"\";for(let i=0,s=this._state.pieces.length;i<s;i++){let a=this._state.pieces[i];if(a.staticValue!==null){n+=a.staticValue;continue}let l=TE._substitute(a.matchIndex,e);if(a.caseOps!==null&&a.caseOps.length>0){let u=[],d=a.caseOps.length,h=0;for(let p=0,g=l.length;p<g;p++){if(h>=d){u.push(l.slice(p));break}switch(a.caseOps[h]){case\"U\":u.push(l[p].toUpperCase());break;case\"u\":u.push(l[p].toUpperCase()),h++;break;case\"L\":u.push(l[p].toLowerCase());break;case\"l\":u.push(l[p].toLowerCase()),h++;break;default:u.push(l[p])}}l=u.join(\"\")}n+=l}return n}static _substitute(e,t){if(t===null)return\"\";if(e===0)return t[0];let n=\"\";for(;e>0;){if(e<t.length)return(t[e]||\"\")+n;n=String(e%10)+n,e=Math.floor(e/10)}return\"$\"+n}}class yD{constructor(e,t,n){this.staticValue=e,this.matchIndex=t,!n||n.length===0?this.caseOps=null:this.caseOps=n.slice(0)}static staticValue(e){return new yD(e,-1,null)}static caseOps(e,t){return new yD(null,e,t)}}class fVe{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,n){this._currentStaticPiece.length!==0&&(this._result[this._resultLen++]=yD.staticValue(this._currentStaticPiece),this._currentStaticPiece=\"\"),this._result[this._resultLen++]=yD.caseOps(e,n),this._lastCharIndex=t}finalize(){return this.emitUnchanged(this._source.length),this._currentStaticPiece.length!==0&&(this._result[this._resultLen++]=yD.staticValue(this._currentStaticPiece),this._currentStaticPiece=\"\"),new TE(this._result)}}function _Ve(o){if(!o||o.length===0)return new TE(null);let e=[],t=new fVe(o);for(let n=0,i=o.length;n<i;n++){let s=o.charCodeAt(n);if(s===92){if(n++,n>=i)break;let a=o.charCodeAt(n);switch(a){case 92:t.emitUnchanged(n-1),t.emitStatic(\"\\\\\",n+1);break;case 110:t.emitUnchanged(n-1),t.emitStatic(`\n`,n+1);break;case 116:t.emitUnchanged(n-1),t.emitStatic(\"\t\",n+1);break;case 117:case 85:case 108:case 76:t.emitUnchanged(n-1),t.emitStatic(\"\",n+1),e.push(String.fromCharCode(a));break}continue}if(s===36){if(n++,n>=i)break;let a=o.charCodeAt(n);if(a===36){t.emitUnchanged(n-1),t.emitStatic(\"$\",n+1);continue}if(a===48||a===38){t.emitUnchanged(n-1),t.emitMatchIndex(0,n+1,e),e.length=0;continue}if(49<=a&&a<=57){let l=a-48;if(n+1<i){let u=o.charCodeAt(n+1);if(48<=u&&u<=57){n++,l=l*10+(u-48),t.emitUnchanged(n-2),t.emitMatchIndex(l,n+1,e),e.length=0;continue}}t.emitUnchanged(n-1),t.emitMatchIndex(l,n+1,e),e.length=0;continue}}}return t.finalize()}const SC=new Do(\"findWidgetVisible\",!1);SC.toNegated();const z9=new Do(\"findInputFocussed\",!1),lY=new Do(\"replaceInputFocussed\",!1),L5={primary:545,mac:{primary:2593}},N5={primary:565,mac:{primary:2613}},I5={primary:560,mac:{primary:2608}},F5={primary:554,mac:{primary:2602}},P5={primary:558,mac:{primary:2606}},rc={StartFindAction:\"actions.find\",StartFindWithSelection:\"actions.findWithSelection\",StartFindWithArgs:\"editor.actions.findWithArgs\",NextMatchFindAction:\"editor.action.nextMatchFindAction\",PreviousMatchFindAction:\"editor.action.previousMatchFindAction\",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\"},Pv=19999,gVe=240;class L3{constructor(e,t){this._toDispose=new fs,this._editor=e,this._state=t,this._isDisposed=!1,this._startSearchingTimer=new g_,this._decorations=new Fp(e),this._toDispose.add(this._decorations),this._updateDecorationsScheduler=new Bu(()=>this.research(!1),100),this._toDispose.add(this._updateDecorationsScheduler),this._toDispose.add(this._editor.onDidChangeCursorPosition(n=>{(n.reason===3||n.reason===5||n.reason===6)&&this._decorations.setStartPosition(this._editor.getPosition())})),this._ignoreModelContentChanged=!1,this._toDispose.add(this._editor.onDidChangeModelContent(n=>{this._ignoreModelContentChanged||(n.isFlush&&this._decorations.reset(),this._decorations.setStartPosition(this._editor.getPosition()),this._updateDecorationsScheduler.schedule())})),this._toDispose.add(this._state.onFindReplaceStateChange(n=>this._onStateChanged(n))),this.research(!1,this._state.searchScope)}dispose(){this._isDisposed=!0,eu(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)},gVe)):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 n=null;typeof t!=\"undefined\"?t!==null&&(Array.isArray(t)?n=t:n=[t]):n=this._decorations.getFindScopes(),n!==null&&(n=n.map(l=>{if(l.startLineNumber!==l.endLineNumber){let u=l.endLineNumber;return l.endColumn===1&&(u=u-1),new He(l.startLineNumber,1,u,this._editor.getModel().getLineMaxColumn(u))}return l}));let i=this._findMatches(n,!1,Pv);this._decorations.set(i,n);const s=this._editor.getSelection();let a=this._decorations.getCurrentMatchesPosition(s);if(a===0&&i.length>0){const l=Ile(i.map(u=>u.range),u=>He.compareRangesUsingStarts(u,s)>=0);a=l>0?l-1+1:a}this._state.changeMatchInfo(a,this._decorations.getCount(),void 0),e&&this._editor.getOption(35).cursorMoveOnType&&this._moveToNextMatch(this._decorations.getStartPosition())}_hasMatches(){return this._state.matchesCount>0}_cannotFind(){if(!this._hasMatches()){let e=this._decorations.getFindScope();return e&&this._editor.revealRangeInCenterIfOutsideViewport(e,0),!0}return!1}_setCurrentFindMatch(e){let t=this._decorations.setCurrentFindMatch(e);this._state.changeMatchInfo(t,this._decorations.getCount(),e),this._editor.setSelection(e),this._editor.revealRangeInCenterIfOutsideViewport(e,0)}_prevSearchPosition(e){let t=this._state.isRegex&&(this._state.searchString.indexOf(\"^\")>=0||this._state.searchString.indexOf(\"$\")>=0),{lineNumber:n,column:i}=e,s=this._editor.getModel();return t||i===1?(n===1?n=s.getLineCount():n--,i=s.getLineMaxColumn(n)):i--,new Ii(n,i)}_moveToPrevMatch(e,t=!1){if(!this._state.canNavigateBack()){const h=this._decorations.matchAfterPosition(e);h&&this._setCurrentFindMatch(h);return}if(this._decorations.getCount()<Pv){let h=this._decorations.matchBeforePosition(e);h&&h.isEmpty()&&h.getStartPosition().equals(e)&&(e=this._prevSearchPosition(e),h=this._decorations.matchBeforePosition(e)),h&&this._setCurrentFindMatch(h);return}if(this._cannotFind())return;let n=this._decorations.getFindScope(),i=L3._getSearchRange(this._editor.getModel(),n);i.getEndPosition().isBefore(e)&&(e=i.getEndPosition()),e.isBefore(i.getStartPosition())&&(e=i.getEndPosition());let{lineNumber:s,column:a}=e,l=this._editor.getModel(),u=new Ii(s,a),d=l.findPreviousMatch(this._state.searchString,u,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(117):null,!1);if(d&&d.range.isEmpty()&&d.range.getStartPosition().equals(u)&&(u=this._prevSearchPosition(u),d=l.findPreviousMatch(this._state.searchString,u,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(117):null,!1)),!!d){if(!t&&!i.containsRange(d.range))return this._moveToPrevMatch(d.range.getStartPosition(),!0);this._setCurrentFindMatch(d.range)}}moveToPrevMatch(){this._moveToPrevMatch(this._editor.getSelection().getStartPosition())}_nextSearchPosition(e){let t=this._state.isRegex&&(this._state.searchString.indexOf(\"^\")>=0||this._state.searchString.indexOf(\"$\")>=0),{lineNumber:n,column:i}=e,s=this._editor.getModel();return t||i===s.getLineMaxColumn(n)?(n===s.getLineCount()?n=1:n++,i=1):i++,new Ii(n,i)}_moveToNextMatch(e){if(!this._state.canNavigateForward()){const n=this._decorations.matchBeforePosition(e);n&&this._setCurrentFindMatch(n);return}if(this._decorations.getCount()<Pv){let n=this._decorations.matchAfterPosition(e);n&&n.isEmpty()&&n.getStartPosition().equals(e)&&(e=this._nextSearchPosition(e),n=this._decorations.matchAfterPosition(e)),n&&this._setCurrentFindMatch(n);return}let t=this._getNextMatch(e,!1,!0);t&&this._setCurrentFindMatch(t.range)}_getNextMatch(e,t,n,i=!1){if(this._cannotFind())return null;let s=this._decorations.getFindScope(),a=L3._getSearchRange(this._editor.getModel(),s);a.getEndPosition().isBefore(e)&&(e=a.getStartPosition()),e.isBefore(a.getStartPosition())&&(e=a.getStartPosition());let{lineNumber:l,column:u}=e,d=this._editor.getModel(),h=new Ii(l,u),p=d.findNextMatch(this._state.searchString,h,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(117):null,t);return n&&p&&p.range.isEmpty()&&p.range.getStartPosition().equals(h)&&(h=this._nextSearchPosition(h),p=d.findNextMatch(this._state.searchString,h,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(117):null,t)),p?!i&&!a.containsRange(p.range)?this._getNextMatch(p.range.getEndPosition(),t,n,!0):p:null}moveToNextMatch(){this._moveToNextMatch(this._editor.getSelection().getEndPosition())}_getReplacePattern(){return this._state.isRegex?_Ve(this._state.replaceString):TE.fromStaticValue(this._state.replaceString)}replace(){if(!this._hasMatches())return;let e=this._getReplacePattern(),t=this._editor.getSelection(),n=this._getNextMatch(t.getStartPosition(),!0,!1);if(n)if(t.equalsRange(n.range)){let i=e.buildReplaceString(n.matches,this._state.preserveCase),s=new Kh(t,i);this._executeEditorCommand(\"replace\",s),this._decorations.setStartPosition(new Ii(t.startLineNumber,t.startColumn+i.length)),this.research(!0)}else this._decorations.setStartPosition(this._editor.getPosition()),this._setCurrentFindMatch(n.range)}_findMatches(e,t,n){const i=(e||[null]).map(s=>L3._getSearchRange(this._editor.getModel(),s));return this._editor.getModel().findMatches(this._state.searchString,i,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(117):null,t,n)}replaceAll(){if(!this._hasMatches())return;const e=this._decorations.getFindScopes();e===null&&this._state.matchesCount>=Pv?this._largeReplaceAll():this._regularReplaceAll(e),this.research(!1)}_largeReplaceAll(){const t=new I2(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(117):null).parseSearchRequest();if(!t)return;let n=t.regex;if(!n.multiline){let p=\"mu\";n.ignoreCase&&(p+=\"i\"),n.global&&(p+=\"g\"),n=new RegExp(n.source,p)}const i=this._editor.getModel(),s=i.getValue(1),a=i.getFullModelRange(),l=this._getReplacePattern();let u;const d=this._state.preserveCase;l.hasReplacementPatterns||d?u=s.replace(n,function(){return l.buildReplaceString(arguments,d)}):u=s.replace(n,l.buildReplaceString(null,d));let h=new EG(a,u,this._editor.getSelection());this._executeEditorCommand(\"replaceAll\",h)}_regularReplaceAll(e){const t=this._getReplacePattern();let n=this._findMatches(e,t.hasReplacementPatterns||this._state.preserveCase,1073741824),i=[];for(let a=0,l=n.length;a<l;a++)i[a]=t.buildReplaceString(n[a].matches,this._state.preserveCase);let s=new hVe(this._editor.getSelection(),n.map(a=>a.range),i);this._executeEditorCommand(\"replaceAll\",s)}selectAllMatches(){if(!this._hasMatches())return;let e=this._decorations.getFindScopes(),n=this._findMatches(e,!1,1073741824).map(s=>new oo(s.range.startLineNumber,s.range.startColumn,s.range.endLineNumber,s.range.endColumn)),i=this._editor.getSelection();for(let s=0,a=n.length;s<a;s++)if(n[s].equalsRange(i)){n=[i].concat(n.slice(0,s)).concat(n.slice(s+1));break}this._editor.setSelections(n)}_executeEditorCommand(e,t){try{this._ignoreModelContentChanged=!0,this._editor.pushUndoStop(),this._editor.executeCommand(e,t),this._editor.pushUndoStop()}finally{this._ignoreModelContentChanged=!1}}}class U9 extends Lm{constructor(e,t,n,i){super(),this._hideSoon=this._register(new Bu(()=>this._hide(),2e3)),this._isVisible=!1,this._editor=e,this._state=t,this._keybindingService=n,this._domNode=document.createElement(\"div\"),this._domNode.className=\"findOptionsWidget\",this._domNode.style.display=\"none\",this._domNode.style.top=\"10px\",this._domNode.setAttribute(\"role\",\"presentation\"),this._domNode.setAttribute(\"aria-hidden\",\"true\");const s=i.getColorTheme().getColor(Cz),a=i.getColorTheme().getColor(wz),l=i.getColorTheme().getColor(Dz);this.caseSensitive=this._register(new dfe({appendTitle:this._keybindingLabelFor(rc.ToggleCaseSensitiveCommand),isChecked:this._state.matchCase,inputActiveOptionBorder:s,inputActiveOptionForeground:a,inputActiveOptionBackground:l})),this._domNode.appendChild(this.caseSensitive.domNode),this._register(this.caseSensitive.onChange(()=>{this._state.change({matchCase:this.caseSensitive.checked},!1)})),this.wholeWords=this._register(new hfe({appendTitle:this._keybindingLabelFor(rc.ToggleWholeWordCommand),isChecked:this._state.wholeWord,inputActiveOptionBorder:s,inputActiveOptionForeground:a,inputActiveOptionBackground:l})),this._domNode.appendChild(this.wholeWords.domNode),this._register(this.wholeWords.onChange(()=>{this._state.change({wholeWord:this.wholeWords.checked},!1)})),this.regex=this._register(new pfe({appendTitle:this._keybindingLabelFor(rc.ToggleRegexCommand),isChecked:this._state.isRegex,inputActiveOptionBorder:s,inputActiveOptionForeground:a,inputActiveOptionBackground:l})),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(u=>{let d=!1;u.isRegex&&(this.regex.checked=this._state.isRegex,d=!0),u.wholeWord&&(this.wholeWords.checked=this._state.wholeWord,d=!0),u.matchCase&&(this.caseSensitive.checked=this._state.matchCase,d=!0),!this._state.isRevealed&&d&&this._revealTemporarily()})),this._register(sG(this._domNode,u=>this._onMouseOut())),this._register(hs(this._domNode,\"mouseover\",u=>this._onMouseOver())),this._applyTheme(i.getColorTheme()),this._register(i.onDidColorThemeChange(this._applyTheme.bind(this)))}_keybindingLabelFor(e){let t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:\"\"}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return U9.ID}getDomNode(){return this._domNode}getPosition(){return{preference:0}}highlightFindOptions(){this._revealTemporarily()}_revealTemporarily(){this._show(),this._hideSoon.schedule()}_onMouseOut(){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\")}_applyTheme(e){let t={inputActiveOptionBorder:e.getColor(Cz),inputActiveOptionForeground:e.getColor(wz),inputActiveOptionBackground:e.getColor(Dz)};this.caseSensitive.style(t),this.wholeWords.style(t),this.regex.style(t)}}U9.ID=\"editor.contrib.findOptionsWidget\";ac((o,e)=>{const t=o.getColor(ff);t&&e.addRule(`.monaco-editor .findOptionsWidget { background-color: ${t}; }`);const n=o.getColor(bb);n&&e.addRule(`.monaco-editor .findOptionsWidget { color: ${n}; }`);const i=o.getColor(rC);i&&e.addRule(`.monaco-editor .findOptionsWidget { box-shadow: 0 0 8px 2px ${i}; }`);const s=o.getColor(Sc);s&&e.addRule(`.monaco-editor .findOptionsWidget { border: 2px solid ${s}; }`)});function O5(o,e){return o===1?!0:o===2?!1:e}class mVe extends fr{constructor(){super(),this._onFindReplaceStateChange=this._register(new ri),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}get searchString(){return this._searchString}get replaceString(){return this._replaceString}get isRevealed(){return this._isRevealed}get isReplaceRevealed(){return this._isReplaceRevealed}get isRegex(){return O5(this._isRegexOverride,this._isRegex)}get wholeWord(){return O5(this._wholeWordOverride,this._wholeWord)}get matchCase(){return O5(this._matchCaseOverride,this._matchCase)}get preserveCase(){return O5(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}changeMatchInfo(e,t,n){let i={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},s=!1;t===0&&(e=0),e>t&&(e=t),this._matchesPosition!==e&&(this._matchesPosition=e,i.matchesPosition=!0,s=!0),this._matchesCount!==t&&(this._matchesCount=t,i.matchesCount=!0,s=!0),typeof n!=\"undefined\"&&(He.equalsRange(this._currentMatch,n)||(this._currentMatch=n,i.currentMatch=!0,s=!0)),s&&this._onFindReplaceStateChange.fire(i)}change(e,t,n=!0){var i;let s={moveCursor:t,updateHistory:n,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},a=!1;const l=this.isRegex,u=this.wholeWord,d=this.matchCase,h=this.preserveCase;typeof e.searchString!=\"undefined\"&&this._searchString!==e.searchString&&(this._searchString=e.searchString,s.searchString=!0,a=!0),typeof e.replaceString!=\"undefined\"&&this._replaceString!==e.replaceString&&(this._replaceString=e.replaceString,s.replaceString=!0,a=!0),typeof e.isRevealed!=\"undefined\"&&this._isRevealed!==e.isRevealed&&(this._isRevealed=e.isRevealed,s.isRevealed=!0,a=!0),typeof e.isReplaceRevealed!=\"undefined\"&&this._isReplaceRevealed!==e.isReplaceRevealed&&(this._isReplaceRevealed=e.isReplaceRevealed,s.isReplaceRevealed=!0,a=!0),typeof e.isRegex!=\"undefined\"&&(this._isRegex=e.isRegex),typeof e.wholeWord!=\"undefined\"&&(this._wholeWord=e.wholeWord),typeof e.matchCase!=\"undefined\"&&(this._matchCase=e.matchCase),typeof e.preserveCase!=\"undefined\"&&(this._preserveCase=e.preserveCase),typeof e.searchScope!=\"undefined\"&&(!((i=e.searchScope)===null||i===void 0)&&i.every(p=>{var g;return(g=this._searchScope)===null||g===void 0?void 0:g.some(y=>!He.equalsRange(y,p))})||(this._searchScope=e.searchScope,s.searchScope=!0,a=!0)),typeof e.loop!=\"undefined\"&&this._loop!==e.loop&&(this._loop=e.loop,s.loop=!0,a=!0),typeof e.isSearching!=\"undefined\"&&this._isSearching!==e.isSearching&&(this._isSearching=e.isSearching,s.isSearching=!0,a=!0),typeof e.filters!=\"undefined\"&&(this._filters?this._filters.update(e.filters):this._filters=e.filters,s.filters=!0,a=!0),this._isRegexOverride=typeof e.isRegexOverride!=\"undefined\"?e.isRegexOverride:0,this._wholeWordOverride=typeof e.wholeWordOverride!=\"undefined\"?e.wholeWordOverride:0,this._matchCaseOverride=typeof e.matchCaseOverride!=\"undefined\"?e.matchCaseOverride:0,this._preserveCaseOverride=typeof e.preserveCaseOverride!=\"undefined\"?e.preserveCaseOverride:0,l!==this.isRegex&&(a=!0,s.isRegex=!0),u!==this.wholeWord&&(a=!0,s.wholeWord=!0),d!==this.matchCase&&(a=!0,s.matchCase=!0),h!==this.preserveCase&&(a=!0,s.preserveCase=!0),a&&this._onFindReplaceStateChange.fire(s)}canNavigateBack(){return this.canNavigateInLoop()||this.matchesPosition!==1}canNavigateForward(){return this.canNavigateInLoop()||this.matchesPosition<this.matchesCount}canNavigateInLoop(){return this._loop||this.matchesCount>=Pv}}function Wae(o){var e,t;return((e=o.lookupKeybinding(\"history.showPrevious\"))===null||e===void 0?void 0:e.getElectronAccelerator())===\"Up\"&&((t=o.lookupKeybinding(\"history.showNext\"))===null||t===void 0?void 0:t.getElectronAccelerator())===\"Down\"}var yVe=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};const bVe=rh(\"find-selection\",E.selection,w(\"findSelectionIcon\",\"Icon for 'Find in Selection' in the editor find widget.\")),Vae=rh(\"find-collapsed\",E.chevronRight,w(\"findCollapsedIcon\",\"Icon to indicate that the editor find widget is collapsed.\")),Hae=rh(\"find-expanded\",E.chevronDown,w(\"findExpandedIcon\",\"Icon to indicate that the editor find widget is expanded.\")),vVe=rh(\"find-replace\",E.replace,w(\"findReplaceIcon\",\"Icon for 'Replace' in the editor find widget.\")),CVe=rh(\"find-replace-all\",E.replaceAll,w(\"findReplaceAllIcon\",\"Icon for 'Replace All' in the editor find widget.\")),DVe=rh(\"find-previous-match\",E.arrowUp,w(\"findPreviousMatchIcon\",\"Icon for 'Find Previous' in the editor find widget.\")),wVe=rh(\"find-next-match\",E.arrowDown,w(\"findNextMatchIcon\",\"Icon for 'Find Next' in the editor find widget.\")),SVe=w(\"label.find\",\"Find\"),xVe=w(\"placeholder.find\",\"Find\"),EVe=w(\"label.previousMatchButton\",\"Previous Match\"),TVe=w(\"label.nextMatchButton\",\"Next Match\"),AVe=w(\"label.toggleSelectionFind\",\"Find in Selection\"),kVe=w(\"label.closeButton\",\"Close\"),LVe=w(\"label.replace\",\"Replace\"),NVe=w(\"placeholder.replace\",\"Replace\"),IVe=w(\"label.replaceButton\",\"Replace\"),FVe=w(\"label.replaceAllButton\",\"Replace All\"),PVe=w(\"label.toggleReplaceButton\",\"Toggle Replace\"),OVe=w(\"title.matchesCountLimit\",\"Only the first {0} results are highlighted, but all find operations work on the entire text.\",Pv),MVe=w(\"label.matchesLocation\",\"{0} of {1}\"),$ae=w(\"label.noResults\",\"No results\"),p1=419,RVe=275,BVe=RVe-54;let Rk=69;const jVe=33,zae=\"ctrlEnterReplaceAll.windows.donotask\",Uae=El?256:2048;class WH{constructor(e){this.afterLineNumber=e,this.heightInPx=jVe,this.suppressMouseDown=!1,this.domNode=document.createElement(\"div\"),this.domNode.className=\"dock-find-viewzone\"}}function Kae(o,e,t){const n=!!e.match(/\\n/);if(t&&n&&t.selectionStart>0){o.stopPropagation();return}}function qae(o,e,t){const n=!!e.match(/\\n/);if(t&&n&&t.selectionEnd<t.value.length){o.stopPropagation();return}}class K9 extends Lm{constructor(e,t,n,i,s,a,l,u,d){super(),this._cachedHeight=null,this._revealTimeouts=[],this._codeEditor=e,this._controller=t,this._state=n,this._contextViewProvider=i,this._keybindingService=s,this._contextKeyService=a,this._storageService=u,this._notificationService=d,this._ctrlEnterReplaceAllWarningPrompted=!!u.getBoolean(zae,0),this._isVisible=!1,this._isReplaceVisible=!1,this._ignoreChangeEvent=!1,this._updateHistoryDelayer=new J1(500),this._register(wl(()=>this._updateHistoryDelayer.cancel())),this._register(this._state.onFindReplaceStateChange(h=>this._onStateChanged(h))),this._buildDomNode(),this._updateButtons(),this._tryUpdateWidgetWidth(),this._findInput.inputBox.layout(),this._register(this._codeEditor.onDidChangeConfiguration(h=>{if(h.hasChanged(81)&&(this._codeEditor.getOption(81)&&this._state.change({isReplaceRevealed:!1},!1),this._updateButtons()),h.hasChanged(131)&&this._tryUpdateWidgetWidth(),h.hasChanged(2)&&this.updateAccessibilitySupport(),h.hasChanged(35)){const p=this._codeEditor.getOption(35).addExtraSpaceOnTop;p&&!this._viewZone&&(this._viewZone=new WH(0),this._showViewZone()),!p&&this._viewZone&&this._removeViewZone()}})),this.updateAccessibilitySupport(),this._register(this._codeEditor.onDidChangeCursorSelection(()=>{this._isVisible&&this._updateToggleSelectionFindButton()})),this._register(this._codeEditor.onDidFocusEditorWidget(()=>yVe(this,void 0,void 0,function*(){if(this._isVisible){let h=yield this._controller.getGlobalBufferTerm();h&&h!==this._state.searchString&&(this._state.change({searchString:h},!1),this._findInput.select())}}))),this._findInputFocused=z9.bindTo(a),this._findFocusTracker=this._register(sE(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=lY.bindTo(a),this._replaceFocusTracker=this._register(sE(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(35).addExtraSpaceOnTop&&(this._viewZone=new WH(0)),this._applyTheme(l.getColorTheme()),this._register(l.onDidColorThemeChange(this._applyTheme.bind(this))),this._register(this._codeEditor.onDidChangeModel(()=>{!this._isVisible||(this._viewZoneId=void 0)})),this._register(this._codeEditor.onDidScrollChange(h=>{if(h.scrollTopChanged){this._layoutViewZone();return}setTimeout(()=>{this._layoutViewZone()},0)}))}getId(){return K9.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(81)&&!this._isReplaceVisible&&(this._isReplaceVisible=!0,this._replaceInput.width=fm(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){let 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,tl)}_updateHistory(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInput.inputBox.addToHistory()}_updateMatchesCount(){this._matchesCount.style.minWidth=Rk+\"px\",this._state.matchesCount>=Pv?this._matchesCount.title=OVe: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>=Pv&&(t+=\"+\");let n=String(this._state.matchesPosition);n===\"0\"&&(n=\"?\"),e=wg(MVe,n,t)}else e=$ae;this._matchesCount.appendChild(document.createTextNode(e)),Jh(this._getAriaLabel(e,this._state.currentMatch,this._state.searchString)),Rk=Math.max(Rk,this._matchesCount.clientWidth)}_getAriaLabel(e,t,n){if(e===$ae)return n===\"\"?w(\"ariaSearchNoResultEmpty\",\"{0} found\",e):w(\"ariaSearchNoResult\",\"{0} found for '{1}'\",e,n);if(t){const i=w(\"ariaSearchNoResultWithLineNum\",\"{0} found for '{1}', at {2}\",e,n,t.startLineNumber+\":\"+t.startColumn),s=this._codeEditor.getModel();return s&&t.startLineNumber<=s.getLineCount()&&t.startLineNumber>=1?`${s.getLineContent(t.startLineNumber)}, ${i}`:i}return w(\"ariaSearchNoResultWithLineNumNoCurrentMatch\",\"{0} found for '{1}'\",e,n)}_updateToggleSelectionFindButton(){let e=this._codeEditor.getSelection(),t=e?e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn:!1,n=this._toggleSelectionFind.checked;this._isVisible&&(n||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);let 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);let n=!this._codeEditor.getOption(81);this._toggleReplaceBtn.setEnabled(this._isVisible&&n)}_reveal(){if(this._revealTimeouts.forEach(e=>{clearTimeout(e)}),this._revealTimeouts=[],!this._isVisible){this._isVisible=!0;const e=this._codeEditor.getSelection();switch(this._codeEditor.getOption(35).autoFindInSelection){case\"always\":this._toggleSelectionFind.checked=!0;break;case\"never\":this._toggleSelectionFind.checked=!1;break;case\"multiline\":{const n=!!e&&e.startLineNumber!==e.endLineNumber;this._toggleSelectionFind.checked=n;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(35).seedSearchStringFromSelection&&e){const n=this._codeEditor.getDomNode();if(n){const i=Gh(n),s=this._codeEditor.getScrolledVisiblePosition(e.getStartPosition()),a=i.left+(s?s.left:0),l=s?s.top:0;if(this._viewZone&&l<this._viewZone.heightInPx){e.endLineNumber>e.startLineNumber&&(t=!1);const u=Vue(this._domNode).left;a>u&&(t=!1);const d=this._codeEditor.getScrolledVisiblePosition(e.getEndPosition());i.left+(d?d.left:0)>u&&(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(35).addExtraSpaceOnTop){this._removeViewZone();return}if(!this._isVisible)return;const n=this._viewZone;this._viewZoneId!==void 0||!n||this._codeEditor.changeViewZones(i=>{n.heightInPx=this._getHeight(),this._viewZoneId=i.addZone(n),this._codeEditor.setScrollTop(e||this._codeEditor.getScrollTop()+n.heightInPx)})}_showViewZone(e=!0){if(!this._isVisible||!this._codeEditor.getOption(35).addExtraSpaceOnTop)return;this._viewZone===void 0&&(this._viewZone=new WH(0));const n=this._viewZone;this._codeEditor.changeViewZones(i=>{if(this._viewZoneId!==void 0){const s=this._getHeight();if(s===n.heightInPx)return;let a=s-n.heightInPx;n.heightInPx=s,i.layoutZone(this._viewZoneId),e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+a);return}else{let s=this._getHeight();if(s-=this._codeEditor.getOption(75).top,s<=0)return;n.heightInPx=s,this._viewZoneId=i.addZone(n),e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+s)}})}_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))})}_applyTheme(e){let t={inputActiveOptionBorder:e.getColor(Cz),inputActiveOptionBackground:e.getColor(Dz),inputActiveOptionForeground:e.getColor(wz),inputBackground:e.getColor(pG),inputForeground:e.getColor(fG),inputBorder:e.getColor(_G),inputValidationInfoBackground:e.getColor(cce),inputValidationInfoForeground:e.getColor(dce),inputValidationInfoBorder:e.getColor(hce),inputValidationWarningBackground:e.getColor(pce),inputValidationWarningForeground:e.getColor(fce),inputValidationWarningBorder:e.getColor(_ce),inputValidationErrorBackground:e.getColor(gce),inputValidationErrorForeground:e.getColor(mce),inputValidationErrorBorder:e.getColor(yce)};this._findInput.style(t),this._replaceInput.style(t),this._toggleSelectionFind.style(t)}_tryUpdateWidgetWidth(){if(!this._isVisible||!iG(this._domNode))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 n=e.width,i=e.minimap.minimapWidth;let s=!1,a=!1,l=!1;if(this._resized&&fm(this._domNode)>p1){this._domNode.style.maxWidth=`${n-28-i-15}px`,this._replaceInput.width=fm(this._findInput.domNode);return}if(p1+28+i>=n&&(a=!0),p1+28+i-Rk>=n&&(l=!0),p1+28+i-Rk>=n+50&&(s=!0),this._domNode.classList.toggle(\"collapsed-find-widget\",s),this._domNode.classList.toggle(\"narrow-find-widget\",l),this._domNode.classList.toggle(\"reduced-find-widget\",a),!l&&!s&&(this._domNode.style.maxWidth=`${n-28-i-15}px`),this._resized){this._findInput.inputBox.layout();let u=this._findInput.inputBox.element.clientWidth;u>0&&(this._replaceInput.width=u)}else this._isReplaceVisible&&(this._replaceInput.width=fm(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){let 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 n=this._state.currentMatch;return t.startLineNumber!==t.endLineNumber&&!He.equalsRange(t,n)?t:null}).filter(t=>!!t),e.length&&this._state.change({searchScope:e},!0)}}_onFindInputMouseDown(e){e.middleButton&&e.stopPropagation()}_onFindInputKeyDown(e){if(e.equals(Uae|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 Kae(e,this._findInput.getValue(),this._findInput.domNode.querySelector(\"textarea\"));if(e.equals(18))return qae(e,this._findInput.getValue(),this._findInput.domNode.querySelector(\"textarea\"))}_onReplaceInputKeyDown(e){if(e.equals(Uae|3))if(this._keybindingService.dispatchEvent(e,e.target)){e.preventDefault();return}else{Ph&&p0&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(w(\"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(zae,!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 Kae(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector(\"textarea\"));if(e.equals(18))return qae(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector(\"textarea\"))}getVerticalSashLeft(e){return 0}_keybindingLabelFor(e){let t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:\"\"}_buildDomNode(){this._findInput=this._register(new CK(null,this._contextViewProvider,{width:BVe,label:SVe,placeholder:xVe,appendCaseSensitiveLabel:this._keybindingLabelFor(rc.ToggleCaseSensitiveCommand),appendWholeWordsLabel:this._keybindingLabelFor(rc.ToggleWholeWordCommand),appendRegexLabel:this._keybindingLabelFor(rc.ToggleRegexCommand),validation:u=>{if(u.length===0||!this._findInput.getRegex())return null;try{return new RegExp(u,\"gu\"),null}catch(d){return{content:d.message}}},flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118,showHistoryHint:()=>Wae(this._keybindingService)},this._contextKeyService,!0)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown(u=>this._onFindInputKeyDown(u))),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(u=>{u.equals(1026)&&this._isReplaceVisible&&(this._replaceInput.focus(),u.preventDefault())})),this._register(this._findInput.onRegexKeyDown(u=>{u.equals(2)&&this._isReplaceVisible&&(this._replaceInput.focusOnPreserve(),u.preventDefault())})),this._register(this._findInput.inputBox.onDidHeightChange(u=>{this._tryUpdateHeight()&&this._showViewZone()})),vp&&this._register(this._findInput.onMouseDown(u=>this._onFindInputMouseDown(u))),this._matchesCount=document.createElement(\"div\"),this._matchesCount.className=\"matchesCount\",this._updateMatchesCount(),this._prevBtn=this._register(new ex({label:EVe+this._keybindingLabelFor(rc.PreviousMatchFindAction),icon:DVe,onTrigger:()=>{this._codeEditor.getAction(rc.PreviousMatchFindAction).run().then(void 0,tl)}})),this._nextBtn=this._register(new ex({label:TVe+this._keybindingLabelFor(rc.NextMatchFindAction),icon:wVe,onTrigger:()=>{this._codeEditor.getAction(rc.NextMatchFindAction).run().then(void 0,tl)}}));let n=document.createElement(\"div\");n.className=\"find-part\",n.appendChild(this._findInput.domNode);const i=document.createElement(\"div\");i.className=\"find-actions\",n.appendChild(i),i.appendChild(this._matchesCount),i.appendChild(this._prevBtn.domNode),i.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new E4({icon:bVe,title:AVe+this._keybindingLabelFor(rc.ToggleSearchScopeCommand),isChecked:!1})),this._register(this._toggleSelectionFind.onChange(()=>{if(this._toggleSelectionFind.checked){if(this._codeEditor.hasModel()){let u=this._codeEditor.getSelections();u.map(d=>(d.endColumn===1&&d.endLineNumber>d.startLineNumber&&(d=d.setEndPosition(d.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(d.endLineNumber-1))),d.isEmpty()?null:d)).filter(d=>!!d),u.length&&this._state.change({searchScope:u},!0)}}else this._state.change({searchScope:null},!0)})),i.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new ex({label:kVe+this._keybindingLabelFor(rc.CloseFindWidgetCommand),icon:xde,onTrigger:()=>{this._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:u=>{u.equals(2)&&this._isReplaceVisible&&(this._replaceBtn.isEnabled()?this._replaceBtn.focus():this._codeEditor.focus(),u.preventDefault())}})),i.appendChild(this._closeBtn.domNode),this._replaceInput=this._register(new DK(null,void 0,{label:LVe,placeholder:NVe,appendPreserveCaseLabel:this._keybindingLabelFor(rc.TogglePreserveCaseCommand),history:[],flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118,showHistoryHint:()=>Wae(this._keybindingService)},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown(u=>this._onReplaceInputKeyDown(u))),this._register(this._replaceInput.inputBox.onDidChange(()=>{this._state.change({replaceString:this._replaceInput.inputBox.value},!1)})),this._register(this._replaceInput.inputBox.onDidHeightChange(u=>{this._isReplaceVisible&&this._tryUpdateHeight()&&this._showViewZone()})),this._register(this._replaceInput.onDidOptionChange(()=>{this._state.change({preserveCase:this._replaceInput.getPreserveCase()},!0)})),this._register(this._replaceInput.onPreserveCaseKeyDown(u=>{u.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(),u.preventDefault())})),this._replaceBtn=this._register(new ex({label:IVe+this._keybindingLabelFor(rc.ReplaceOneAction),icon:vVe,onTrigger:()=>{this._controller.replace()},onKeyDown:u=>{u.equals(1026)&&(this._closeBtn.focus(),u.preventDefault())}})),this._replaceAllBtn=this._register(new ex({label:FVe+this._keybindingLabelFor(rc.ReplaceAllAction),icon:CVe,onTrigger:()=>{this._controller.replaceAll()}}));let s=document.createElement(\"div\");s.className=\"replace-part\",s.appendChild(this._replaceInput.domNode);const a=document.createElement(\"div\");a.className=\"replace-actions\",s.appendChild(a),a.appendChild(this._replaceBtn.domNode),a.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new ex({label:PVe,className:\"codicon toggle left\",onTrigger:()=>{this._state.change({isReplaceRevealed:!this._isReplaceVisible},!1),this._isReplaceVisible&&(this._replaceInput.width=fm(this._findInput.domNode),this._replaceInput.inputBox.layout()),this._showViewZone()}})),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.style.width=`${p1}px`,this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(n),this._domNode.appendChild(s),this._resizeSash=new gp(this._domNode,this,{orientation:0,size:2}),this._resized=!1;let l=p1;this._register(this._resizeSash.onDidStart(()=>{l=fm(this._domNode)})),this._register(this._resizeSash.onDidChange(u=>{this._resized=!0;let d=l+u.startX-u.currentX;if(d<p1)return;const h=parseFloat(aG(this._domNode).maxWidth)||0;d>h||(this._domNode.style.width=`${d}px`,this._isReplaceVisible&&(this._replaceInput.width=fm(this._findInput.domNode)),this._findInput.inputBox.layout(),this._tryUpdateHeight())})),this._register(this._resizeSash.onDidReset(()=>{const u=fm(this._domNode);if(u<p1)return;let d=p1;if(!this._resized||u===p1){const h=this._codeEditor.getLayoutInfo();d=h.width-28-h.minimap.minimapWidth-15,this._resized=!0}this._domNode.style.width=`${d}px`,this._isReplaceVisible&&(this._replaceInput.width=fm(this._findInput.domNode)),this._findInput.inputBox.layout()}))}updateAccessibilitySupport(){const e=this._codeEditor.getOption(2);this._findInput.setFocusInputOnOptionClick(e!==2)}}K9.ID=\"editor.contrib.findWidget\";class ex extends Lm{constructor(e){super(),this._opts=e;let t=\"button\";this._opts.className&&(t=t+\" \"+this._opts.className),this._opts.icon&&(t=t+\" \"+zu.asClassName(this._opts.icon)),this._domNode=document.createElement(\"div\"),this._domNode.title=this._opts.label,this._domNode.tabIndex=0,this._domNode.className=t,this._domNode.setAttribute(\"role\",\"button\"),this._domNode.setAttribute(\"aria-label\",this._opts.label),this.onclick(this._domNode,n=>{this._opts.onTrigger(),n.preventDefault()}),this.onkeydown(this._domNode,n=>{if(n.equals(10)||n.equals(3)){this._opts.onTrigger(),n.preventDefault();return}this._opts.onKeyDown&&this._opts.onKeyDown(n)})}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(...zu.asClassNameArray(Vae)),this._domNode.classList.add(...zu.asClassNameArray(Hae))):(this._domNode.classList.remove(...zu.asClassNameArray(Hae)),this._domNode.classList.add(...zu.asClassNameArray(Vae)))}}ac((o,e)=>{const t=(D,T)=>{T&&e.addRule(`.monaco-editor ${D} { background-color: ${T}; }`)};t(\".findMatch\",o.getColor(zv)),t(\".currentFindMatch\",o.getColor(qLe)),t(\".findScope\",o.getColor(GLe));const n=o.getColor(ff);t(\".find-widget\",n);const i=o.getColor(rC);i&&e.addRule(`.monaco-editor .find-widget { box-shadow: 0 0 8px 2px ${i}; }`);const s=o.getColor(Wx);s&&e.addRule(`.monaco-editor .findMatch { border: 1px ${o.type===\"hc\"?\"dotted\":\"solid\"} ${s}; box-sizing: border-box; }`);const a=o.getColor(JLe);a&&e.addRule(`.monaco-editor .currentFindMatch { border: 2px solid ${a}; padding: 1px; box-sizing: border-box; }`);const l=o.getColor(YLe);l&&e.addRule(`.monaco-editor .findScope { border: 1px ${o.type===\"hc\"?\"dashed\":\"solid\"} ${l}; }`);const u=o.getColor(Sc);u&&e.addRule(`.monaco-editor .find-widget { border: 1px solid ${u}; }`);const d=o.getColor(bb);d&&e.addRule(`.monaco-editor .find-widget { color: ${d}; }`);const h=o.getColor(TLe);h&&e.addRule(`.monaco-editor .find-widget.no-results .matchesCount { color: ${h}; }`);const p=o.getColor(MLe);if(p)e.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${p}; }`);else{const D=o.getColor(lD);D&&e.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${D}; }`)}const g=o.getColor(Tz);g&&e.addRule(`\n\t\t.monaco-editor .find-widget .button:not(.disabled):hover,\n\t\t.monaco-editor .find-widget .codicon-find-selection:hover {\n\t\t\tbackground-color: ${g} !important;\n\t\t}\n\t`);const y=o.getColor($1);y&&e.addRule(`.monaco-editor .find-widget .monaco-inputbox.synthetic-focus { outline-color: ${y}; }`)});var Rfe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},v1=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},KD=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};const WVe=524288;function FK(o,e=\"single\",t=!1){if(!o.hasModel())return null;const n=o.getSelection();if(e===\"single\"&&n.startLineNumber===n.endLineNumber||e===\"multiple\"){if(n.isEmpty()){const i=o.getConfiguredWordAtPosition(n.getStartPosition());if(i&&t===!1)return i.word}else if(o.getModel().getValueLengthInRange(n)<WVe)return o.getModel().getValueInRange(n)}return null}let __=class Bfe extends fr{constructor(e,t,n,i){super(),this._editor=e,this._findWidgetVisible=SC.bindTo(t),this._contextKeyService=t,this._storageService=n,this._clipboardService=i,this._updateHistoryDelayer=new J1(500),this._state=this._register(new mVe),this.loadQueryState(),this._register(this._state.onFindReplaceStateChange(s=>this._onStateChanged(s))),this._model=null,this._register(this._editor.onDidChangeModel(()=>{let s=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),s&&this._start({forceRevealReplace:!1,seedSearchStringFromSelection:\"none\",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1,loop:this._editor.getOption(35).loop})}))}get editor(){return this._editor}static get(e){return e.getContribution(Bfe.ID)}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,0),e.wholeWord&&this._storageService.store(\"editor.wholeWord\",this._state.actualWholeWord,1,0),e.matchCase&&this._storageService.store(\"editor.matchCase\",this._state.actualMatchCase,1,0),e.preserveCase&&this._storageService.store(\"editor.preserveCase\",this._state.actualPreserveCase,1,0)}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!!z9.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.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=Ng(e)),this._state.change({searchString:e},!1)}highlightFindOptions(e=!1){}_start(e,t){return KD(this,void 0,void 0,function*(){if(this.disposeModel(),!this._editor.hasModel())return;let n=Object.assign(Object.assign({},t),{isRevealed:!0});if(e.seedSearchStringFromSelection===\"single\"){let i=FK(this._editor,e.seedSearchStringFromSelection,e.seedSearchStringFromNonEmptySelection);i&&(this._state.isRegex?n.searchString=Ng(i):n.searchString=i)}else if(e.seedSearchStringFromSelection===\"multiple\"&&!e.updateSearchScope){let i=FK(this._editor,e.seedSearchStringFromSelection);i&&(n.searchString=i)}if(!n.searchString&&e.seedSearchStringFromGlobalClipboard){let i=yield this.getGlobalBufferTerm();if(!this._editor.hasModel())return;i&&(n.searchString=i)}if(e.forceRevealReplace||n.isReplaceRevealed?n.isReplaceRevealed=!0:this._findWidgetVisible.get()||(n.isReplaceRevealed=!1),e.updateSearchScope){let i=this._editor.getSelections();i.some(s=>!s.isEmpty())&&(n.searchScope=i)}n.loop=e.loop,this._state.change(n,!1),this._model||(this._model=new L3(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}replace(){return this._model?(this._model.replace(),!0):!1}replaceAll(){return this._model?(this._model.replaceAll(),!0):!1}selectAllMatches(){return this._model?(this._model.selectAllMatches(),this._editor.focus(),!0):!1}getGlobalBufferTerm(){return KD(this,void 0,void 0,function*(){return this._editor.getOption(35).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():\"\"})}setGlobalBufferTerm(e){this._editor.getOption(35).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(e)}};__.ID=\"editor.contrib.findController\";__=Rfe([v1(1,Xa),v1(2,cy),v1(3,_w)],__);let PK=class extends __{constructor(e,t,n,i,s,a,l,u){super(e,n,l,u),this._contextViewService=t,this._keybindingService=i,this._themeService=s,this._notificationService=a,this._widget=null,this._findOptionsWidget=null}_start(e,t){const n=Object.create(null,{_start:{get:()=>super._start}});return KD(this,void 0,void 0,function*(){this._widget||this._createFindWidget();const i=this._editor.getSelection();let s=!1;switch(this._editor.getOption(35).autoFindInSelection){case\"always\":s=!0;break;case\"never\":s=!1;break;case\"multiline\":{s=!!i&&i.startLineNumber!==i.endLineNumber;break}}e.updateSearchScope=e.updateSearchScope||s,yield n._start.call(this,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 K9(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService)),this._findOptionsWidget=this._register(new U9(this._editor,this._state,this._keybindingService,this._themeService))}};PK=Rfe([v1(1,u4),v1(2,Xa),v1(3,Xc),v1(4,gc),v1(5,Sd),v1(6,cy),v1(7,_w)],PK);const VVe=nce(new tce({id:rc.StartFindAction,label:w(\"startFindAction\",\"Find\"),alias:\"Find\",precondition:co.or(on.focus,co.has(\"editorIsOpen\")),kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:Fn.MenubarEditMenu,group:\"3_find\",title:w({key:\"miFind\",comment:[\"&& denotes a mnemonic\"]},\"&&Find\"),order:1}}));VVe.addImplementation(0,(o,e,t)=>{const n=__.get(e);return n?n.start({forceRevealReplace:!1,seedSearchStringFromSelection:e.getOption(35).seedSearchStringFromSelection!==\"never\"?\"single\":\"none\",seedSearchStringFromNonEmptySelection:e.getOption(35).seedSearchStringFromSelection===\"selection\",seedSearchStringFromGlobalClipboard:e.getOption(35).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1,loop:e.getOption(35).loop}):!1});const HVe={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\"},regex:{type:\"boolean\"},regexOverride:{type:\"number\",description:w(\"actions.find.isRegexOverride\",`Overrides \"Use Regular Expression\" flag.\nThe flag will not be saved for the future.\n0: Do Nothing\n1: True\n2: False`)},wholeWord:{type:\"boolean\"},wholeWordOverride:{type:\"number\",description:w(\"actions.find.wholeWordOverride\",`Overrides \"Match Whole Word\" flag.\nThe flag will not be saved for the future.\n0: Do Nothing\n1: True\n2: False`)},matchCase:{type:\"boolean\"},matchCaseOverride:{type:\"number\",description:w(\"actions.find.matchCaseOverride\",`Overrides \"Math Case\" flag.\nThe flag will not be saved for the future.\n0: Do Nothing\n1: True\n2: False`)},preserveCase:{type:\"boolean\"},preserveCaseOverride:{type:\"number\",description:w(\"actions.find.preserveCaseOverride\",`Overrides \"Preserve Case\" flag.\nThe flag will not be saved for the future.\n0: Do Nothing\n1: True\n2: False`)},findInSelection:{type:\"boolean\"}}}}]};class $Ve extends xo{constructor(){super({id:rc.StartFindWithArgs,label:w(\"startFindWithArgsAction\",\"Find With Arguments\"),alias:\"Find With Arguments\",precondition:void 0,kbOpts:{kbExpr:null,primary:0,weight:100},description:HVe})}run(e,t,n){return KD(this,void 0,void 0,function*(){const i=__.get(t);if(i){const s=n?{searchString:n.searchString,replaceString:n.replaceString,isReplaceRevealed:n.replaceString!==void 0,isRegex:n.isRegex,wholeWord:n.matchWholeWord,matchCase:n.isCaseSensitive,preserveCase:n.preserveCase}:{};yield i.start({forceRevealReplace:!1,seedSearchStringFromSelection:i.getState().searchString.length===0&&t.getOption(35).seedSearchStringFromSelection!==\"never\"?\"single\":\"none\",seedSearchStringFromNonEmptySelection:t.getOption(35).seedSearchStringFromSelection===\"selection\",seedSearchStringFromGlobalClipboard:!0,shouldFocus:1,shouldAnimate:!0,updateSearchScope:(n==null?void 0:n.findInSelection)||!1,loop:t.getOption(35).loop},s),i.setGlobalBufferTerm(i.getState().searchString)}})}}class zVe extends xo{constructor(){super({id:rc.StartFindWithSelection,label:w(\"startFindWithSelectionAction\",\"Find With Selection\"),alias:\"Find With Selection\",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})}run(e,t){return KD(this,void 0,void 0,function*(){const n=__.get(t);n&&(yield n.start({forceRevealReplace:!1,seedSearchStringFromSelection:\"multiple\",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(35).loop}),n.setGlobalBufferTerm(n.getState().searchString))})}}class jfe extends xo{run(e,t){return KD(this,void 0,void 0,function*(){const n=__.get(t);n&&!this._run(n)&&(yield n.start({forceRevealReplace:!1,seedSearchStringFromSelection:n.getState().searchString.length===0&&t.getOption(35).seedSearchStringFromSelection!==\"never\"?\"single\":\"none\",seedSearchStringFromNonEmptySelection:t.getOption(35).seedSearchStringFromSelection===\"selection\",seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(35).loop}),this._run(n))})}}class UVe extends jfe{constructor(){super({id:rc.NextMatchFindAction,label:w(\"findNextMatchAction\",\"Find Next\"),alias:\"Find Next\",precondition:void 0,kbOpts:[{kbExpr:on.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100},{kbExpr:co.and(on.focus,z9),primary:3,weight:100}]})}_run(e){return e.moveToNextMatch()?(e.editor.pushUndoStop(),!0):!1}}class KVe extends jfe{constructor(){super({id:rc.PreviousMatchFindAction,label:w(\"findPreviousMatchAction\",\"Find Previous\"),alias:\"Find Previous\",precondition:void 0,kbOpts:[{kbExpr:on.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100},{kbExpr:co.and(on.focus,z9),primary:1027,weight:100}]})}_run(e){return e.moveToPrevMatch()}}class Wfe extends xo{run(e,t){return KD(this,void 0,void 0,function*(){const n=__.get(t);if(!n)return;const i=t.getOption(35).seedSearchStringFromSelection===\"selection\";let s=null;t.getOption(35).seedSearchStringFromSelection!==\"never\"&&(s=FK(t,\"single\",i)),s&&n.setSearchString(s),this._run(n)||(yield n.start({forceRevealReplace:!1,seedSearchStringFromSelection:t.getOption(35).seedSearchStringFromSelection!==\"never\"?\"single\":\"none\",seedSearchStringFromNonEmptySelection:i,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(35).loop}),this._run(n))})}}class qVe extends Wfe{constructor(){super({id:rc.NextSelectionMatchFindAction,label:w(\"nextSelectionMatchFindAction\",\"Find Next Selection\"),alias:\"Find Next Selection\",precondition:void 0,kbOpts:{kbExpr:on.focus,primary:2109,weight:100}})}_run(e){return e.moveToNextMatch()}}class GVe extends Wfe{constructor(){super({id:rc.PreviousSelectionMatchFindAction,label:w(\"previousSelectionMatchFindAction\",\"Find Previous Selection\"),alias:\"Find Previous Selection\",precondition:void 0,kbOpts:{kbExpr:on.focus,primary:3133,weight:100}})}_run(e){return e.moveToPrevMatch()}}const JVe=nce(new tce({id:rc.StartFindReplaceAction,label:w(\"startReplace\",\"Replace\"),alias:\"Replace\",precondition:co.or(on.focus,co.has(\"editorIsOpen\")),kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:Fn.MenubarEditMenu,group:\"3_find\",title:w({key:\"miReplace\",comment:[\"&& denotes a mnemonic\"]},\"&&Replace\"),order:2}}));JVe.addImplementation(0,(o,e,t)=>{if(!e.hasModel()||e.getOption(81))return!1;const n=__.get(e);if(!n)return!1;const i=e.getSelection(),s=n.isFindInputFocused(),a=!i.isEmpty()&&i.startLineNumber===i.endLineNumber&&e.getOption(35).seedSearchStringFromSelection!==\"never\"&&!s,l=s||a?2:1;return n.start({forceRevealReplace:!0,seedSearchStringFromSelection:a?\"single\":\"none\",seedSearchStringFromNonEmptySelection:e.getOption(35).seedSearchStringFromSelection===\"selection\",seedSearchStringFromGlobalClipboard:e.getOption(35).seedSearchStringFromSelection!==\"never\",shouldFocus:l,shouldAnimate:!0,updateSearchScope:!1,loop:e.getOption(35).loop})});vu(__.ID,PK);Fs($Ve);Fs(zVe);Fs(UVe);Fs(KVe);Fs(qVe);Fs(GVe);const T0=Zh.bindToContribution(__.get);Ns(new T0({id:rc.CloseFindWidgetCommand,precondition:SC,handler:o=>o.closeFindWidget(),kbOpts:{weight:100+5,kbExpr:co.and(on.focus,co.not(\"isComposing\")),primary:9,secondary:[1033]}}));Ns(new T0({id:rc.ToggleCaseSensitiveCommand,precondition:void 0,handler:o=>o.toggleCaseSensitive(),kbOpts:{weight:100+5,kbExpr:on.focus,primary:L5.primary,mac:L5.mac,win:L5.win,linux:L5.linux}}));Ns(new T0({id:rc.ToggleWholeWordCommand,precondition:void 0,handler:o=>o.toggleWholeWords(),kbOpts:{weight:100+5,kbExpr:on.focus,primary:N5.primary,mac:N5.mac,win:N5.win,linux:N5.linux}}));Ns(new T0({id:rc.ToggleRegexCommand,precondition:void 0,handler:o=>o.toggleRegex(),kbOpts:{weight:100+5,kbExpr:on.focus,primary:I5.primary,mac:I5.mac,win:I5.win,linux:I5.linux}}));Ns(new T0({id:rc.ToggleSearchScopeCommand,precondition:void 0,handler:o=>o.toggleSearchScope(),kbOpts:{weight:100+5,kbExpr:on.focus,primary:F5.primary,mac:F5.mac,win:F5.win,linux:F5.linux}}));Ns(new T0({id:rc.TogglePreserveCaseCommand,precondition:void 0,handler:o=>o.togglePreserveCase(),kbOpts:{weight:100+5,kbExpr:on.focus,primary:P5.primary,mac:P5.mac,win:P5.win,linux:P5.linux}}));Ns(new T0({id:rc.ReplaceOneAction,precondition:SC,handler:o=>o.replace(),kbOpts:{weight:100+5,kbExpr:on.focus,primary:3094}}));Ns(new T0({id:rc.ReplaceOneAction,precondition:SC,handler:o=>o.replace(),kbOpts:{weight:100+5,kbExpr:co.and(on.focus,lY),primary:3}}));Ns(new T0({id:rc.ReplaceAllAction,precondition:SC,handler:o=>o.replaceAll(),kbOpts:{weight:100+5,kbExpr:on.focus,primary:2563}}));Ns(new T0({id:rc.ReplaceAllAction,precondition:SC,handler:o=>o.replaceAll(),kbOpts:{weight:100+5,kbExpr:co.and(on.focus,lY),primary:void 0,mac:{primary:2051}}}));Ns(new T0({id:rc.SelectAllMatchesAction,precondition:SC,handler:o=>o.selectAllMatches(),kbOpts:{weight:100+5,kbExpr:on.focus,primary:515}}));const Gae=65535,cb=16777215,Jae=4278190080;class OL{constructor(e,t,n){if(e.length!==t.length||e.length>Gae)throw new Error(\"invalid startIndexes or endIndexes size\");this._startIndexes=e,this._endIndexes=t,this._collapseStates=new Uint32Array(Math.ceil(e.length/32)),this._types=n,this._parentsComputed=!1}ensureParentIndices(){if(!this._parentsComputed){this._parentsComputed=!0;let e=[],t=(n,i)=>{let s=e[e.length-1];return this.getStartLineNumber(s)<=n&&this.getEndLineNumber(s)>=i};for(let n=0,i=this._startIndexes.length;n<i;n++){let s=this._startIndexes[n],a=this._endIndexes[n];if(s>cb||a>cb)throw new Error(\"startLineNumber or endLineNumber must not exceed \"+cb);for(;e.length>0&&!t(s,a);)e.pop();let l=e.length>0?e[e.length-1]:-1;e.push(n),this._startIndexes[n]=s+((l&255)<<24),this._endIndexes[n]=a+((l&65280)<<16)}}}get length(){return this._startIndexes.length}getStartLineNumber(e){return this._startIndexes[e]&cb}getEndLineNumber(e){return this._endIndexes[e]&cb}getType(e){return this._types?this._types[e]:void 0}hasTypes(){return!!this._types}isCollapsed(e){let t=e/32|0,n=e%32;return(this._collapseStates[t]&1<<n)!==0}setCollapsed(e,t){let n=e/32|0,i=e%32,s=this._collapseStates[n];t?this._collapseStates[n]=s|1<<i:this._collapseStates[n]=s&~(1<<i)}setCollapsedAllOfType(e,t){let n=!1;if(this._types)for(let i=0;i<this._types.length;i++)this._types[i]===e&&(this.setCollapsed(i,t),n=!0);return n}toRegion(e){return new YVe(this,e)}getParentIndex(e){this.ensureParentIndices();let t=((this._startIndexes[e]&Jae)>>>24)+((this._endIndexes[e]&Jae)>>>16);return t===Gae?-1:t}contains(e,t){return this.getStartLineNumber(e)<=t&&this.getEndLineNumber(e)>=t}findIndex(e){let t=0,n=this._startIndexes.length;if(n===0)return-1;for(;t<n;){let i=Math.floor((t+n)/2);e<this.getStartLineNumber(i)?n=i:t=i+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(){let e=[];for(let t=0;t<this.length;t++)e[t]=`[${this.isCollapsed(t)?\"+\":\"-\"}] ${this.getStartLineNumber(t)}/${this.getEndLineNumber(t)}`;return e.join(\", \")}}class YVe{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 XVe{constructor(e,t){this._updateEventEmitter=new ri,this.onDidChange=this._updateEventEmitter.event,this._textModel=e,this._decorationProvider=t,this._regions=new OL(new Uint32Array(0),new Uint32Array(0)),this._editorDecorationIds=[],this._isInitialized=!1}get regions(){return this._regions}get textModel(){return this._textModel}get isInitialized(){return this._isInitialized}toggleCollapseState(e){if(!e.length)return;e=e.sort((n,i)=>n.regionIndex-i.regionIndex);const t={};this._decorationProvider.changeDecorations(n=>{let i=0,s=-1,a=-1;const l=u=>{for(;i<u;){const d=this._regions.getEndLineNumber(i),h=this._regions.isCollapsed(i);d<=s&&n.changeDecorationOptions(this._editorDecorationIds[i],this._decorationProvider.getDecorationOption(h,d<=a)),h&&d>a&&(a=d),i++}};for(let u of e){let d=u.regionIndex,h=this._editorDecorationIds[d];if(h&&!t[h]){t[h]=!0,l(d);let p=!this._regions.isCollapsed(d);this._regions.setCollapsed(d,p),s=Math.max(s,this._regions.getEndLineNumber(d))}}l(this._regions.length)}),this._updateEventEmitter.fire({model:this,collapseStateChanged:e})}update(e,t=[]){let n=[],i=(p,g)=>{for(let y of t)if(p<y&&y<=g)return!0;return!1},s=-1,a=(p,g)=>{const y=e.getStartLineNumber(p),D=e.getEndLineNumber(p);g||(g=e.isCollapsed(p)),g&&i(y,D)&&(g=!1),e.setCollapsed(p,g);const T=this._textModel.getLineMaxColumn(y),k={startLineNumber:y,startColumn:Math.max(T-1,1),endLineNumber:y,endColumn:T};n.push({range:k,options:this._decorationProvider.getDecorationOption(g,D<=s)}),g&&D>s&&(s=D)},l=0,u=()=>{for(;l<this._regions.length;){let p=this._regions.isCollapsed(l);if(l++,p)return l-1}return-1},d=0,h=u();for(;h!==-1&&d<e.length;){let p=this._textModel.getDecorationRange(this._editorDecorationIds[h]);if(p){let g=p.startLineNumber;if(p.startColumn===Math.max(p.endColumn-1,1)&&this._textModel.getLineMaxColumn(g)===p.endColumn)for(;d<e.length;){let y=e.getStartLineNumber(d);if(g>=y)a(d,g===y),d++;else break}}h=u()}for(;d<e.length;)a(d,!1),d++;this._editorDecorationIds=this._decorationProvider.deltaDecorations(this._editorDecorationIds,n),this._regions=e,this._isInitialized=!0,this._updateEventEmitter.fire({model:this})}getMemento(){let e=[];for(let t=0;t<this._regions.length;t++)if(this._regions.isCollapsed(t)){let n=this._textModel.getDecorationRange(this._editorDecorationIds[t]);if(n){let i=n.startLineNumber,s=n.endLineNumber+this._regions.getEndLineNumber(t)-this._regions.getStartLineNumber(t);e.push({startLineNumber:i,endLineNumber:s})}}if(e.length>0)return e}applyMemento(e){if(!Array.isArray(e))return;let t=[];for(let n of e){let i=this.getRegionAtLine(n.startLineNumber);i&&!i.isCollapsed&&t.push(i)}this.toggleCollapseState(t)}dispose(){this._decorationProvider.deltaDecorations(this._editorDecorationIds,[])}getAllRegionsAtLine(e,t){let n=[];if(this._regions){let i=this._regions.findRange(e),s=1;for(;i>=0;){let a=this._regions.toRegion(i);(!t||t(a,s))&&n.push(a),s++,i=a.parentIndex}}return n}getRegionAtLine(e){if(this._regions){let t=this._regions.findRange(e);if(t>=0)return this._regions.toRegion(t)}return null}getRegionsInside(e,t){let n=[],i=e?e.regionIndex+1:0,s=e?e.endLineNumber:Number.MAX_VALUE;if(t&&t.length===2){const a=[];for(let l=i,u=this._regions.length;l<u;l++){let d=this._regions.toRegion(l);if(this._regions.getStartLineNumber(l)<s){for(;a.length>0&&!d.containedBy(a[a.length-1]);)a.pop();a.push(d),t(d,a.length)&&n.push(d)}else break}}else for(let a=i,l=this._regions.length;a<l;a++){let u=this._regions.toRegion(a);if(this._regions.getStartLineNumber(a)<s)(!t||t(u))&&n.push(u);else break}return n}}function QVe(o,e,t){let n=[];for(let i of t){let s=o.getRegionAtLine(i);if(s){const a=!s.isCollapsed;if(n.push(s),e>1){let l=o.getRegionsInside(s,(u,d)=>u.isCollapsed!==a&&d<e);n.push(...l)}}}o.toggleCollapseState(n)}function QE(o,e,t=Number.MAX_VALUE,n){let i=[];if(n&&n.length>0)for(let s of n){let a=o.getRegionAtLine(s);if(a&&(a.isCollapsed!==e&&i.push(a),t>1)){let l=o.getRegionsInside(a,(u,d)=>u.isCollapsed!==e&&d<t);i.push(...l)}}else{let s=o.getRegionsInside(null,(a,l)=>a.isCollapsed!==e&&l<t);i.push(...s)}o.toggleCollapseState(i)}function Vfe(o,e,t,n){let i=[];for(let s of n){let a=o.getAllRegionsAtLine(s,(l,u)=>l.isCollapsed!==e&&u<=t);i.push(...a)}o.toggleCollapseState(i)}function ZVe(o,e,t){let n=[];for(let i of t){let s=o.getAllRegionsAtLine(i,a=>a.isCollapsed!==e);s.length>0&&n.push(s[0])}o.toggleCollapseState(n)}function eHe(o,e,t,n){let i=(a,l)=>l===e&&a.isCollapsed!==t&&!n.some(u=>a.containsLine(u)),s=o.getRegionsInside(null,i);o.toggleCollapseState(s)}function Hfe(o,e,t){let n=[];for(let a of t){const l=o.getAllRegionsAtLine(a,void 0);l.length>0&&n.push(l[0])}let i=a=>n.every(l=>!l.containedBy(a)&&!a.containedBy(l))&&a.isCollapsed!==e,s=o.getRegionsInside(null,i);o.toggleCollapseState(s)}function uY(o,e,t){let n=o.textModel,i=o.regions,s=[];for(let a=i.length-1;a>=0;a--)if(t!==i.isCollapsed(a)){let l=i.getStartLineNumber(a);e.test(n.getLineContent(l))&&s.push(i.toRegion(a))}o.toggleCollapseState(s)}function cY(o,e,t){let n=o.regions,i=[];for(let s=n.length-1;s>=0;s--)t!==n.isCollapsed(s)&&e===n.getType(s)&&i.push(n.toRegion(s));o.toggleCollapseState(i)}function tHe(o,e){let t=null,n=e.getRegionAtLine(o);if(n!==null&&(t=n.startLineNumber,o===t)){let i=n.parentIndex;i!==-1?t=e.regions.getStartLineNumber(i):t=null}return t}function nHe(o,e){let t=e.getRegionAtLine(o);if(t!==null&&t.startLineNumber===o){if(o!==t.startLineNumber)return t.startLineNumber;{let n=t.parentIndex,i=0;for(n!==-1&&(i=e.regions.getStartLineNumber(t.parentIndex));t!==null;)if(t.regionIndex>0){if(t=e.regions.toRegion(t.regionIndex-1),t.startLineNumber<=i)return null;if(t.parentIndex===n)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<o)return t.startLineNumber;t.regionIndex>0?t=e.regions.toRegion(t.regionIndex-1):t=null}return null}function iHe(o,e){let t=e.getRegionAtLine(o);if(t!==null&&t.startLineNumber===o){let n=t.parentIndex,i=0;if(n!==-1)i=e.regions.getEndLineNumber(t.parentIndex);else{if(e.regions.length===0)return null;i=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>=i)return null;if(t.parentIndex===n)return t.startLineNumber}else return null}else if(e.regions.length>0)for(t=e.regions.toRegion(0);t!==null;){if(t.startLineNumber>o)return t.startLineNumber;t.regionIndex<e.regions.length?t=e.regions.toRegion(t.regionIndex+1):t=null}return null}class rHe{constructor(e){this._updateEventEmitter=new ri,this._hasLineChanges=!1,this._foldingModel=e,this._foldingModelListener=e.onDidChange(t=>this.updateHiddenRanges()),this._hiddenRanges=[],e.regions.length&&this.updateHiddenRanges()}get onDidChange(){return this._updateEventEmitter.event}get hiddenRanges(){return this._hiddenRanges}notifyChangeModelContent(e){this._hiddenRanges.length&&!this._hasLineChanges&&(this._hasLineChanges=e.changes.some(t=>t.range.endLineNumber!==t.range.startLineNumber||PD(t.text)[0]!==0))}updateHiddenRanges(){let e=!1,t=[],n=0,i=0,s=Number.MAX_VALUE,a=-1,l=this._foldingModel.regions;for(;n<l.length;n++){if(!l.isCollapsed(n))continue;let u=l.getStartLineNumber(n)+1,d=l.getEndLineNumber(n);s<=u&&d<=a||(!e&&i<this._hiddenRanges.length&&this._hiddenRanges[i].startLineNumber===u&&this._hiddenRanges[i].endLineNumber===d?(t.push(this._hiddenRanges[i]),i++):(e=!0,t.push(new He(u,1,d,1))),s=u,a=d)}(this._hasLineChanges||e||i<this._hiddenRanges.length)&&this.applyHiddenRanges(t)}applyMemento(e){if(!Array.isArray(e)||e.length===0)return!1;let t=[];for(let n of e){if(!n.startLineNumber||!n.endLineNumber)return!1;t.push(new He(n.startLineNumber+1,1,n.endLineNumber,1))}return this.applyHiddenRanges(t),!0}getMemento(){return this._hiddenRanges.map(e=>({startLineNumber:e.startLineNumber-1,endLineNumber:e.endLineNumber}))}applyHiddenRanges(e){this._hiddenRanges=e,this._hasLineChanges=!1,this._updateEventEmitter.fire(e)}hasRanges(){return this._hiddenRanges.length>0}isHidden(e){return Yae(this._hiddenRanges,e)!==null}adjustSelections(e){let t=!1,n=this._foldingModel.textModel,i=null,s=a=>((!i||!sHe(a,i))&&(i=Yae(this._hiddenRanges,a)),i?i.startLineNumber-1:null);for(let a=0,l=e.length;a<l;a++){let u=e[a],d=s(u.startLineNumber);d&&(u=u.setStartPosition(d,n.getLineMaxColumn(d)),t=!0);let h=s(u.endLineNumber);h&&(u=u.setEndPosition(h,n.getLineMaxColumn(h)),t=!0),e[a]=u}return t}dispose(){this.hiddenRanges.length>0&&(this._hiddenRanges=[],this._updateEventEmitter.fire(this._hiddenRanges)),this._foldingModelListener&&(this._foldingModelListener.dispose(),this._foldingModelListener=null)}}function sHe(o,e){return o>=e.startLineNumber&&o<=e.endLineNumber}function Yae(o,e){let t=Ile(o,n=>e<n.startLineNumber)-1;return t>=0&&o[t].endLineNumber>=e?o[t]:null}const oHe=5e3,aHe=\"indent\";class lHe{constructor(e,t,n){this.editorModel=e,this.languageConfigurationService=t,this.maxFoldingRegions=n,this.id=aHe}dispose(){}compute(e,t){let n=this.languageConfigurationService.getLanguageConfiguration(this.editorModel.getLanguageId()).foldingRules,i=n&&!!n.offSide,s=n&&n.markers;return Promise.resolve(cHe(this.editorModel,i,s,this.maxFoldingRegions,t))}}class uHe{constructor(e,t){this._notifyTooManyRegions=t,this._startIndexes=[],this._endIndexes=[],this._indentOccurrences=[],this._length=0,this._foldingRangesLimit=e}insertFirst(e,t,n){if(e>cb||t>cb)return;let i=this._length;this._startIndexes[i]=e,this._endIndexes[i]=t,this._length++,n<1e3&&(this._indentOccurrences[n]=(this._indentOccurrences[n]||0)+1)}toIndentRanges(e){if(this._length<=this._foldingRangesLimit){let t=new Uint32Array(this._length),n=new Uint32Array(this._length);for(let i=this._length-1,s=0;i>=0;i--,s++)t[s]=this._startIndexes[i],n[s]=this._endIndexes[i];return new OL(t,n)}else{this._notifyTooManyRegions&&this._notifyTooManyRegions(this._foldingRangesLimit);let t=0,n=this._indentOccurrences.length;for(let l=0;l<this._indentOccurrences.length;l++){let u=this._indentOccurrences[l];if(u){if(u+t>this._foldingRangesLimit){n=l;break}t+=u}}const i=e.getOptions().tabSize;let s=new Uint32Array(this._foldingRangesLimit),a=new Uint32Array(this._foldingRangesLimit);for(let l=this._length-1,u=0;l>=0;l--){let d=this._startIndexes[l],h=e.getLineContent(d),p=ZP(h,i);(p<n||p===n&&t++<this._foldingRangesLimit)&&(s[u]=d,a[u]=this._endIndexes[l],u++)}return new OL(s,a)}}}function cHe(o,e,t,n,i){const s=o.getOptions().tabSize;n=n!=null?n:oHe;let a=new uHe(n,i),l;t&&(l=new RegExp(`(${t.start.source})|(?:${t.end.source})`));let u=[],d=o.getLineCount()+1;u.push({indent:-1,endAbove:d,line:d});for(let h=o.getLineCount();h>0;h--){let p=o.getLineContent(h),g=ZP(p,s),y=u[u.length-1];if(g===-1){e&&(y.endAbove=h);continue}let D;if(l&&(D=p.match(l)))if(D[1]){let T=u.length-1;for(;T>0&&u[T].indent!==-2;)T--;if(T>0){u.length=T+1,y=u[T],a.insertFirst(h,y.line,g),y.line=h,y.indent=g,y.endAbove=h;continue}}else{u.push({indent:-2,endAbove:h,line:h});continue}if(y.indent>g){do u.pop(),y=u[u.length-1];while(y.indent>g);let T=y.endAbove-1;T-h>=1&&a.insertFirst(h,T,g)}y.indent===g?y.endAbove=h:u.push({indent:g,endAbove:h,line:h})}return a.toIndentRanges(o)}const dHe={},$fe=\"syntax\";class hHe{constructor(e,t,n,i){this.editorModel=e,this.providers=t,this.limit=i,this.id=$fe;for(const s of t)typeof s.onDidChange==\"function\"&&(this.disposables||(this.disposables=new fs),this.disposables.add(s.onDidChange(n)))}compute(e,t){return pHe(this.providers,this.editorModel,e).then(n=>n?zfe(n,this.limit,t):null)}dispose(){var e;(e=this.disposables)===null||e===void 0||e.dispose()}}function pHe(o,e,t){let n=null,i=o.map((s,a)=>Promise.resolve(s.provideFoldingRanges(e,dHe,t)).then(l=>{if(!t.isCancellationRequested&&Array.isArray(l)){Array.isArray(n)||(n=[]);let u=e.getLineCount();for(let d of l)d.start>0&&d.end>d.start&&d.end<=u&&n.push({start:d.start,end:d.end,rank:a,kind:d.kind})}},bh));return Promise.all(i).then(s=>n)}class fHe{constructor(e,t){this._notifyTooManyRegions=t,this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=e}add(e,t,n,i){if(e>cb||t>cb)return;let s=this._length;this._startIndexes[s]=e,this._endIndexes[s]=t,this._nestingLevels[s]=i,this._types[s]=n,this._length++,i<30&&(this._nestingLevelCounts[i]=(this._nestingLevelCounts[i]||0)+1)}toIndentRanges(){if(this._length<=this._foldingRangesLimit){let e=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let n=0;n<this._length;n++)e[n]=this._startIndexes[n],t[n]=this._endIndexes[n];return new OL(e,t,this._types)}else{this._notifyTooManyRegions&&this._notifyTooManyRegions(this._foldingRangesLimit);let e=0,t=this._nestingLevelCounts.length;for(let a=0;a<this._nestingLevelCounts.length;a++){let l=this._nestingLevelCounts[a];if(l){if(l+e>this._foldingRangesLimit){t=a;break}e+=l}}let n=new Uint32Array(this._foldingRangesLimit),i=new Uint32Array(this._foldingRangesLimit),s=[];for(let a=0,l=0;a<this._length;a++){let u=this._nestingLevels[a];(u<t||u===t&&e++<this._foldingRangesLimit)&&(n[l]=this._startIndexes[a],i[l]=this._endIndexes[a],s[l]=this._types[a],l++)}return new OL(n,i,s)}}}function zfe(o,e,t){let n=o.sort((l,u)=>{let d=l.start-u.start;return d===0&&(d=l.rank-u.rank),d}),i=new fHe(e,t),s,a=[];for(let l of n)if(!s)s=l,i.add(l.start,l.end,l.kind&&l.kind.value,a.length);else if(l.start>s.start)if(l.end<=s.end)a.push(s),s=l,i.add(l.start,l.end,l.kind&&l.kind.value,a.length);else{if(l.start>s.end){do s=a.pop();while(s&&l.start>s.end);s&&a.push(s),s=l}i.add(l.start,l.end,l.kind&&l.kind.value,a.length)}return i.toIndentRanges()}const Ufe=\"init\";class _He{constructor(e,t,n,i){if(this.editorModel=e,this.id=Ufe,t.length){let s=a=>({range:{startLineNumber:a.startLineNumber,startColumn:0,endLineNumber:a.endLineNumber,endColumn:e.getLineLength(a.endLineNumber)},options:{description:\"folding-initializing-range-provider\",stickiness:1}});this.decorationIds=e.deltaDecorations([],t.map(s)),this.timeout=setTimeout(n,i)}}dispose(){this.decorationIds&&(this.editorModel.deltaDecorations(this.decorationIds,[]),this.decorationIds=void 0),typeof this.timeout==\"number\"&&(clearTimeout(this.timeout),this.timeout=void 0)}compute(e){let t=[];if(this.decorationIds)for(let n of this.decorationIds){let i=this.editorModel.getDecorationRange(n);i&&t.push({start:i.startLineNumber,end:i.endLineNumber,rank:1})}return Promise.resolve(zfe(t,Number.MAX_VALUE))}}const dY=rh(\"folding-expanded\",E.chevronDown,w(\"foldingExpandedIcon\",\"Icon for expanded ranges in the editor glyph margin.\")),hY=rh(\"folding-collapsed\",E.chevronRight,w(\"foldingCollapsedIcon\",\"Icon for collapsed ranges in the editor glyph margin.\"));class bm{constructor(e){this.editor=e,this.autoHideFoldingControls=!0,this.showFoldingHighlights=!0}getDecorationOption(e,t){return t?bm.HIDDEN_RANGE_DECORATION:e?this.showFoldingHighlights?bm.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION:bm.COLLAPSED_VISUAL_DECORATION:this.autoHideFoldingControls?bm.EXPANDED_AUTO_HIDE_VISUAL_DECORATION:bm.EXPANDED_VISUAL_DECORATION}deltaDecorations(e,t){return this.editor.deltaDecorations(e,t)}changeDecorations(e){return this.editor.changeDecorations(e)}}bm.COLLAPSED_VISUAL_DECORATION=_l.register({description:\"folding-collapsed-visual-decoration\",stickiness:1,afterContentClassName:\"inline-folded\",isWholeLine:!0,firstLineDecorationClassName:zu.asClassName(hY)});bm.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION=_l.register({description:\"folding-collapsed-highlighted-visual-decoration\",stickiness:1,afterContentClassName:\"inline-folded\",className:\"folded-background\",isWholeLine:!0,firstLineDecorationClassName:zu.asClassName(hY)});bm.EXPANDED_AUTO_HIDE_VISUAL_DECORATION=_l.register({description:\"folding-expanded-auto-hide-visual-decoration\",stickiness:1,isWholeLine:!0,firstLineDecorationClassName:zu.asClassName(dY)});bm.EXPANDED_VISUAL_DECORATION=_l.register({description:\"folding-expanded-visual-decoration\",stickiness:1,isWholeLine:!0,firstLineDecorationClassName:\"alwaysShowFoldIcons \"+zu.asClassName(dY)});bm.HIDDEN_RANGE_DECORATION=_l.register({description:\"folding-hidden-range-decoration\",stickiness:1});var gHe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},Bk=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};const yf=new Do(\"foldingEnabled\",!1);let AE=class Kfe extends fr{constructor(e,t,n,i,s,a){super(),this.contextKeyService=t,this.languageConfigurationService=n,this.languageFeaturesService=a,this._tooManyRegionsNotified=!1,this.localToDispose=this._register(new fs),this.editor=e;const l=this.editor.getOptions();this._isEnabled=l.get(37),this._useFoldingProviders=l.get(38)!==\"indentation\",this._unfoldOnClickAfterEndOfLine=l.get(42),this._restoringViewState=!1,this._currentModelHasFoldedImports=!1,this._foldingImportsByDefault=l.get(40),this._maxFoldingRegions=l.get(41),this.updateDebounceInfo=s.for(a.foldingRangeProvider,\"Folding\",{min:200}),this.foldingModel=null,this.hiddenRangeModel=null,this.rangeProvider=null,this.foldingRegionPromise=null,this.foldingStateMemento=null,this.foldingModelPromise=null,this.updateScheduler=null,this.cursorChangedScheduler=null,this.mouseDownInfo=null,this.foldingDecorationProvider=new bm(e),this.foldingDecorationProvider.autoHideFoldingControls=l.get(99)===\"mouseover\",this.foldingDecorationProvider.showFoldingHighlights=l.get(39),this.foldingEnabled=yf.bindTo(this.contextKeyService),this.foldingEnabled.set(this._isEnabled),this._notifyTooManyRegions=u=>{this._tooManyRegionsNotified||(i.notify({severity:Nc.Warning,sticky:!0,message:w(\"maximum fold ranges\",`The number of foldable regions is limited to a maximum of {0}. Increase configuration option ['Folding Maximum Regions'](command:workbench.action.openSettings?[\"editor.foldingMaximumRegions\"]) to enable more.`,u)}),this._tooManyRegionsNotified=!0)},this._register(this.editor.onDidChangeModel(()=>this.onModelChanged())),this._register(this.editor.onDidChangeConfiguration(u=>{if(u.hasChanged(37)&&(this._isEnabled=this.editor.getOptions().get(37),this.foldingEnabled.set(this._isEnabled),this.onModelChanged()),u.hasChanged(41)&&(this._maxFoldingRegions=this.editor.getOptions().get(41),this._tooManyRegionsNotified=!1,this.onModelChanged()),u.hasChanged(99)||u.hasChanged(39)){const d=this.editor.getOptions();this.foldingDecorationProvider.autoHideFoldingControls=d.get(99)===\"mouseover\",this.foldingDecorationProvider.showFoldingHighlights=d.get(39),this.triggerFoldingModelChanged()}u.hasChanged(38)&&(this._useFoldingProviders=this.editor.getOptions().get(38)!==\"indentation\",this.onFoldingStrategyChanged()),u.hasChanged(42)&&(this._unfoldOnClickAfterEndOfLine=this.editor.getOptions().get(42)),u.hasChanged(40)&&(this._foldingImportsByDefault=this.editor.getOptions().get(40))})),this.onModelChanged()}static get(e){return e.getContribution(Kfe.ID)}saveViewState(){let e=this.editor.getModel();if(!e||!this._isEnabled||e.isTooLargeForTokenization())return{};if(this.foldingModel){let t=this.foldingModel.isInitialized?this.foldingModel.getMemento():this.hiddenRangeModel.getMemento(),n=this.rangeProvider?this.rangeProvider.id:void 0;return{collapsedRegions:t,lineCount:e.getLineCount(),provider:n,foldedImports:this._currentModelHasFoldedImports}}}restoreViewState(e){let t=this.editor.getModel();if(!t||!this._isEnabled||t.isTooLargeForTokenization()||!this.hiddenRangeModel||!e||e.lineCount!==t.getLineCount()||(this._currentModelHasFoldedImports=!!e.foldedImports,!e.collapsedRegions))return;(e.provider===$fe||e.provider===Ufe)&&(this.foldingStateMemento=e);const n=e.collapsedRegions;if(this.hiddenRangeModel.applyMemento(n)){const i=this.getFoldingModel();i&&i.then(s=>{if(s){this._restoringViewState=!0;try{s.applyMemento(n)}finally{this._restoringViewState=!1}}}).then(void 0,tl)}}onModelChanged(){this.localToDispose.clear();let e=this.editor.getModel();!this._isEnabled||!e||e.isTooLargeForTokenization()||(this._currentModelHasFoldedImports=!1,this.foldingModel=new XVe(e,this.foldingDecorationProvider),this.localToDispose.add(this.foldingModel),this.hiddenRangeModel=new rHe(this.foldingModel),this.localToDispose.add(this.hiddenRangeModel),this.localToDispose.add(this.hiddenRangeModel.onDidChange(t=>this.onHiddenRangesChanges(t))),this.updateScheduler=new J1(this.updateDebounceInfo.get(e)),this.cursorChangedScheduler=new Bu(()=>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:()=>{this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.updateScheduler&&this.updateScheduler.cancel(),this.updateScheduler=null,this.foldingModel=null,this.foldingModelPromise=null,this.hiddenRangeModel=null,this.cursorChangedScheduler=null,this.foldingStateMemento=null,this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null}}),this.triggerFoldingModelChanged())}onFoldingStrategyChanged(){this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null,this.triggerFoldingModelChanged()}getRangeProvider(e){if(this.rangeProvider)return this.rangeProvider;if(this.rangeProvider=new lHe(e,this.languageConfigurationService,this._maxFoldingRegions),this._useFoldingProviders&&this.foldingModel){let t=this.languageFeaturesService.foldingRangeProvider.ordered(this.foldingModel.textModel);if(t.length===0&&this.foldingStateMemento&&this.foldingStateMemento.collapsedRegions)return this.rangeProvider=new _He(e,this.foldingStateMemento.collapsedRegions,()=>{this.foldingStateMemento=null,this.onFoldingStrategyChanged()},3e4);t.length>0&&(this.rangeProvider=new hHe(e,t,()=>this.triggerFoldingModelChanged(),this._maxFoldingRegions))}return this.foldingStateMemento=null,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 Bf(!0),n=this.getRangeProvider(e.textModel);let i=this.foldingRegionPromise=Oh(s=>n.compute(s,this._notifyTooManyRegions));return i.then(s=>{if(s&&i===this.foldingRegionPromise){let a;if(this._foldingImportsByDefault&&!this._currentModelHasFoldedImports){const h=s.setCollapsedAllOfType(y0.Imports.value,!0);h&&(a=lC.capture(this.editor),this._currentModelHasFoldedImports=h)}let l=this.editor.getSelections(),u=l?l.map(h=>h.startLineNumber):[];e.update(s,u),a&&a.restore(this.editor);const d=this.updateDebounceInfo.update(e.textModel,t.elapsed());this.updateScheduler&&(this.updateScheduler.defaultDelay=d)}return e})}).then(void 0,e=>(tl(e),null)))}onHiddenRangesChanges(e){if(this.hiddenRangeModel&&e.length&&!this._restoringViewState){let t=this.editor.getSelections();t&&this.hiddenRangeModel.adjustSelections(t)&&this.editor.setSelections(t)}this.editor.setHiddenAreas(e)}onCursorPositionChanged(){this.hiddenRangeModel&&this.hiddenRangeModel.hasRanges()&&this.cursorChangedScheduler.schedule()}revealCursor(){const e=this.getFoldingModel();!e||e.then(t=>{if(t){let n=this.editor.getSelections();if(n&&n.length>0){let i=[];for(let s of n){let a=s.selectionStartLineNumber;this.hiddenRangeModel&&this.hiddenRangeModel.isHidden(a)&&i.push(...t.getAllRegionsAtLine(a,l=>l.isCollapsed&&a>l.startLineNumber))}i.length&&(t.toggleCollapseState(i),this.reveal(n[0].getPosition()))}}}).then(void 0,tl)}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 n=!1;switch(e.target.type){case 4:{const i=e.target.detail,s=e.target.element.offsetLeft;if(i.offsetX-s<5)return;n=!0;break}case 7:{if(this._unfoldOnClickAfterEndOfLine&&this.hiddenRangeModel.hasRanges()&&!e.target.detail.isAfterLines)break;return}case 6:{if(this.hiddenRangeModel.hasRanges()){let i=this.editor.getModel();if(i&&t.startColumn===i.getLineMaxColumn(t.startLineNumber))break}return}default:return}this.mouseDownInfo={lineNumber:t.startLineNumber,iconClicked:n}}onEditorMouseUp(e){const t=this.getFoldingModel();if(!t||!this.mouseDownInfo||!e.target)return;let n=this.mouseDownInfo.lineNumber,i=this.mouseDownInfo.iconClicked,s=e.target.range;if(!(!s||s.startLineNumber!==n)){if(i){if(e.target.type!==4)return}else{let a=this.editor.getModel();if(!a||s.startColumn!==a.getLineMaxColumn(n))return}t.then(a=>{if(a){let l=a.getRegionAtLine(n);if(l&&l.startLineNumber===n){let u=l.isCollapsed;if(i||u){let d=e.event.altKey,h=[];if(d){let p=y=>!y.containedBy(l)&&!l.containedBy(y),g=a.getRegionsInside(null,p);for(const y of g)y.isCollapsed&&h.push(y);h.length===0&&(h=g)}else{let p=e.event.middleButton||e.event.shiftKey;if(p)for(const g of a.getRegionsInside(l))g.isCollapsed===u&&h.push(g);(u||!p||h.length===0)&&h.push(l)}a.toggleCollapseState(h),this.reveal({lineNumber:n,column:1})}}}}).then(void 0,tl)}}reveal(e){this.editor.revealPositionInCenterIfOutsideViewport(e,0)}};AE.ID=\"editor.contrib.folding\";AE=gHe([Bk(1,Xa),Bk(2,Dp),Bk(3,Sd),Bk(4,jg),Bk(5,$o)],AE);class Vf extends xo{runEditorCommand(e,t,n){const i=e.get(Dp),s=AE.get(t);if(!s)return;const a=s.getFoldingModel();if(a)return this.reportTelemetry(e,t),a.then(l=>{if(l){this.invoke(s,l,t,n,i);const u=t.getSelection();u&&s.reveal(u.getStartPosition())}})}getSelectedLines(e){let t=e.getSelections();return t?t.map(n=>n.startLineNumber):[]}getLineNumbers(e,t){return e&&e.selectionLines?e.selectionLines.map(n=>n+1):this.getSelectedLines(t)}run(e,t){}}function qfe(o){if(!l_(o)){if(!Mf(o))return!1;const e=o;if(!l_(e.levels)&&!CD(e.levels)||!l_(e.direction)&&!Lg(e.direction)||!l_(e.selectionLines)&&(!Rle(e.selectionLines)||!e.selectionLines.every(CD)))return!1}return!0}class mHe extends Vf{constructor(){super({id:\"editor.unfold\",label:w(\"unfoldAction.label\",\"Unfold\"),alias:\"Unfold\",precondition:yf,kbOpts:{kbExpr:on.editorTextFocus,primary:3161,mac:{primary:2649},weight:100},description:{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': 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:qfe,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,n,i){let s=i&&i.levels||1,a=this.getLineNumbers(i,n);i&&i.direction===\"up\"?Vfe(t,!1,s,a):QE(t,!1,s,a)}}class yHe extends Vf{constructor(){super({id:\"editor.unfoldRecursively\",label:w(\"unFoldRecursivelyAction.label\",\"Unfold Recursively\"),alias:\"Unfold Recursively\",precondition:yf,kbOpts:{kbExpr:on.editorTextFocus,primary:vh(2089,2137),weight:100}})}invoke(e,t,n,i){QE(t,!1,Number.MAX_VALUE,this.getSelectedLines(n))}}class bHe extends Vf{constructor(){super({id:\"editor.fold\",label:w(\"foldAction.label\",\"Fold\"),alias:\"Fold\",precondition:yf,kbOpts:{kbExpr:on.editorTextFocus,primary:3159,mac:{primary:2647},weight:100},description:{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': 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:qfe,schema:{type:\"object\",properties:{levels:{type:\"number\"},direction:{type:\"string\",enum:[\"up\",\"down\"]},selectionLines:{type:\"array\",items:{type:\"number\"}}}}}]}})}invoke(e,t,n,i){let s=this.getLineNumbers(i,n);const a=i&&i.levels,l=i&&i.direction;typeof a!=\"number\"&&typeof l!=\"string\"?ZVe(t,!0,s):l===\"up\"?Vfe(t,!0,a||1,s):QE(t,!0,a||1,s)}}class vHe extends Vf{constructor(){super({id:\"editor.toggleFold\",label:w(\"toggleFoldAction.label\",\"Toggle Fold\"),alias:\"Toggle Fold\",precondition:yf,kbOpts:{kbExpr:on.editorTextFocus,primary:vh(2089,2090),weight:100}})}invoke(e,t,n){let i=this.getSelectedLines(n);QVe(t,1,i)}}class CHe extends Vf{constructor(){super({id:\"editor.foldRecursively\",label:w(\"foldRecursivelyAction.label\",\"Fold Recursively\"),alias:\"Fold Recursively\",precondition:yf,kbOpts:{kbExpr:on.editorTextFocus,primary:vh(2089,2135),weight:100}})}invoke(e,t,n){let i=this.getSelectedLines(n);QE(t,!0,Number.MAX_VALUE,i)}}class DHe extends Vf{constructor(){super({id:\"editor.foldAllBlockComments\",label:w(\"foldAllBlockComments.label\",\"Fold All Block Comments\"),alias:\"Fold All Block Comments\",precondition:yf,kbOpts:{kbExpr:on.editorTextFocus,primary:vh(2089,2133),weight:100}})}invoke(e,t,n,i,s){if(t.regions.hasTypes())cY(t,y0.Comment.value,!0);else{const a=n.getModel();if(!a)return;const l=s.getLanguageConfiguration(a.getLanguageId()).comments;if(l&&l.blockCommentStartToken){let u=new RegExp(\"^\\\\s*\"+Ng(l.blockCommentStartToken));uY(t,u,!0)}}}}class wHe extends Vf{constructor(){super({id:\"editor.foldAllMarkerRegions\",label:w(\"foldAllMarkerRegions.label\",\"Fold All Regions\"),alias:\"Fold All Regions\",precondition:yf,kbOpts:{kbExpr:on.editorTextFocus,primary:vh(2089,2077),weight:100}})}invoke(e,t,n,i,s){if(t.regions.hasTypes())cY(t,y0.Region.value,!0);else{const a=n.getModel();if(!a)return;const l=s.getLanguageConfiguration(a.getLanguageId()).foldingRules;if(l&&l.markers&&l.markers.start){let u=new RegExp(l.markers.start);uY(t,u,!0)}}}}class SHe extends Vf{constructor(){super({id:\"editor.unfoldAllMarkerRegions\",label:w(\"unfoldAllMarkerRegions.label\",\"Unfold All Regions\"),alias:\"Unfold All Regions\",precondition:yf,kbOpts:{kbExpr:on.editorTextFocus,primary:vh(2089,2078),weight:100}})}invoke(e,t,n,i,s){if(t.regions.hasTypes())cY(t,y0.Region.value,!1);else{const a=n.getModel();if(!a)return;const l=s.getLanguageConfiguration(a.getLanguageId()).foldingRules;if(l&&l.markers&&l.markers.start){let u=new RegExp(l.markers.start);uY(t,u,!1)}}}}class xHe extends Vf{constructor(){super({id:\"editor.foldAllExcept\",label:w(\"foldAllExcept.label\",\"Fold All Regions Except Selected\"),alias:\"Fold All Regions Except Selected\",precondition:yf,kbOpts:{kbExpr:on.editorTextFocus,primary:vh(2089,2131),weight:100}})}invoke(e,t,n){let i=this.getSelectedLines(n);Hfe(t,!0,i)}}class EHe extends Vf{constructor(){super({id:\"editor.unfoldAllExcept\",label:w(\"unfoldAllExcept.label\",\"Unfold All Regions Except Selected\"),alias:\"Unfold All Regions Except Selected\",precondition:yf,kbOpts:{kbExpr:on.editorTextFocus,primary:vh(2089,2129),weight:100}})}invoke(e,t,n){let i=this.getSelectedLines(n);Hfe(t,!1,i)}}class THe extends Vf{constructor(){super({id:\"editor.foldAll\",label:w(\"foldAllAction.label\",\"Fold All\"),alias:\"Fold All\",precondition:yf,kbOpts:{kbExpr:on.editorTextFocus,primary:vh(2089,2069),weight:100}})}invoke(e,t,n){QE(t,!0)}}class AHe extends Vf{constructor(){super({id:\"editor.unfoldAll\",label:w(\"unfoldAllAction.label\",\"Unfold All\"),alias:\"Unfold All\",precondition:yf,kbOpts:{kbExpr:on.editorTextFocus,primary:vh(2089,2088),weight:100}})}invoke(e,t,n){QE(t,!1)}}class qD extends Vf{getFoldingLevel(){return parseInt(this.id.substr(qD.ID_PREFIX.length))}invoke(e,t,n){eHe(t,this.getFoldingLevel(),!0,this.getSelectedLines(n))}}qD.ID_PREFIX=\"editor.foldLevel\";qD.ID=o=>qD.ID_PREFIX+o;class kHe extends Vf{constructor(){super({id:\"editor.gotoParentFold\",label:w(\"gotoParentFold.label\",\"Go to Parent Fold\"),alias:\"Go to Parent Fold\",precondition:yf,kbOpts:{kbExpr:on.editorTextFocus,weight:100}})}invoke(e,t,n){let i=this.getSelectedLines(n);if(i.length>0){let s=tHe(i[0],t);s!==null&&n.setSelection({startLineNumber:s,startColumn:1,endLineNumber:s,endColumn:1})}}}class LHe extends Vf{constructor(){super({id:\"editor.gotoPreviousFold\",label:w(\"gotoPreviousFold.label\",\"Go to Previous Folding Range\"),alias:\"Go to Previous Folding Range\",precondition:yf,kbOpts:{kbExpr:on.editorTextFocus,weight:100}})}invoke(e,t,n){let i=this.getSelectedLines(n);if(i.length>0){let s=nHe(i[0],t);s!==null&&n.setSelection({startLineNumber:s,startColumn:1,endLineNumber:s,endColumn:1})}}}class NHe extends Vf{constructor(){super({id:\"editor.gotoNextFold\",label:w(\"gotoNextFold.label\",\"Go to Next Folding Range\"),alias:\"Go to Next Folding Range\",precondition:yf,kbOpts:{kbExpr:on.editorTextFocus,weight:100}})}invoke(e,t,n){let i=this.getSelectedLines(n);if(i.length>0){let s=iHe(i[0],t);s!==null&&n.setSelection({startLineNumber:s,startColumn:1,endLineNumber:s,endColumn:1})}}}vu(AE.ID,AE);Fs(mHe);Fs(yHe);Fs(bHe);Fs(CHe);Fs(THe);Fs(AHe);Fs(DHe);Fs(wHe);Fs(SHe);Fs(xHe);Fs(EHe);Fs(vHe);Fs(kHe);Fs(LHe);Fs(NHe);for(let o=1;o<=7;o++)ice(new qD({id:qD.ID(o),label:w(\"foldLevelAction.label\",\"Fold Level {0}\",o),alias:`Fold Level ${o}`,precondition:yf,kbOpts:{kbExpr:on.editorTextFocus,primary:vh(2089,2048|21+o),weight:100}}));const IHe=ln(\"editor.foldBackground\",{light:Ra($v,.3),dark:Ra($v,.3),hc:null},w(\"foldBackgroundBackground\",\"Background color behind folded ranges. The color must not be opaque so as not to hide underlying decorations.\"),!0),FHe=ln(\"editorGutter.foldingControlForeground\",{dark:dV,light:dV,hc:dV},w(\"editorGutter.foldingControlForeground\",\"Color of the folding control in the editor gutter.\"));ac((o,e)=>{const t=o.getColor(IHe);t&&e.addRule(`.monaco-editor .folded-background { background-color: ${t}; }`);const n=o.getColor(FHe);n&&e.addRule(`\n\t\t.monaco-editor .cldr${zu.asCSSSelector(dY)},\n\t\t.monaco-editor .cldr${zu.asCSSSelector(hY)} {\n\t\t\tcolor: ${n} !important;\n\t\t}\n\t\t`)});class PHe extends xo{constructor(){super({id:\"editor.action.fontZoomIn\",label:w(\"EditorFontZoomIn.label\",\"Editor Font Zoom In\"),alias:\"Editor Font Zoom In\",precondition:void 0})}run(e,t){Sb.setZoomLevel(Sb.getZoomLevel()+1)}}class OHe extends xo{constructor(){super({id:\"editor.action.fontZoomOut\",label:w(\"EditorFontZoomOut.label\",\"Editor Font Zoom Out\"),alias:\"Editor Font Zoom Out\",precondition:void 0})}run(e,t){Sb.setZoomLevel(Sb.getZoomLevel()-1)}}class MHe extends xo{constructor(){super({id:\"editor.action.fontZoomReset\",label:w(\"EditorFontZoomReset.label\",\"Editor Font Zoom Reset\"),alias:\"Editor Font Zoom Reset\",precondition:void 0})}run(e,t){Sb.setZoomLevel(0)}}Fs(PHe);Fs(OHe);Fs(MHe);var Gfe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},oP=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},pY=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};let ML=class{constructor(e,t,n){this._editor=e,this._languageFeaturesService=t,this._workerService=n,this._disposables=new fs,this._sessionDisposables=new fs,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(i=>{i.hasChanged(49)&&this._update()}))}dispose(){this._disposables.dispose(),this._sessionDisposables.dispose()}_update(){if(this._sessionDisposables.clear(),!this._editor.getOption(49)||!this._editor.hasModel())return;const e=this._editor.getModel(),[t]=this._languageFeaturesService.onTypeFormattingEditProvider.ordered(e);if(!t||!t.autoFormatTriggerCharacters)return;let n=new yx;for(let i of t.autoFormatTriggerCharacters)n.add(i.charCodeAt(0));this._sessionDisposables.add(this._editor.onDidType(i=>{let s=i.charCodeAt(i.length-1);n.has(s)&&this._trigger(String.fromCharCode(s))}))}_trigger(e){if(!this._editor.hasModel()||this._editor.getSelections().length>1||!this._editor.getSelection().isEmpty())return;const t=this._editor.getModel(),n=this._editor.getPosition(),i=new Xh,s=this._editor.onDidChangeModelContent(a=>{if(a.isFlush){i.cancel(),s.dispose();return}for(let l=0,u=a.changes.length;l<u;l++)if(a.changes[l].range.endLineNumber<=n.lineNumber){i.cancel(),s.dispose();return}});Zhe(this._workerService,this._languageFeaturesService,t,n,e,t.getFormattingOptions(),i.token).then(a=>{i.token.isCancellationRequested||d_(a)&&(CE.execute(this._editor,a,!0),jJ(a))}).finally(()=>{s.dispose()})}};ML.ID=\"editor.contrib.autoFormat\";ML=Gfe([oP(1,$o),oP(2,Bg)],ML);let RL=class{constructor(e,t,n){this.editor=e,this._languageFeaturesService=t,this._instantiationService=n,this._callOnDispose=new fs,this._callOnModel=new fs,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(48)&&(!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(Qhe,this.editor,e,2,gw.None,Ll.None).catch(tl)}};RL.ID=\"editor.contrib.formatOnPaste\";RL=Gfe([oP(1,$o),oP(2,Nl)],RL);class RHe extends xo{constructor(){super({id:\"editor.action.formatDocument\",label:w(\"formatDocument.label\",\"Format Document\"),alias:\"Format Document\",precondition:co.and(on.notInCompositeEditor,on.writable,on.hasDocumentFormattingProvider),kbOpts:{kbExpr:on.editorTextFocus,primary:1572,linux:{primary:3111},weight:100},contextMenuOpts:{group:\"1_modification\",order:1.3}})}run(e,t){return pY(this,void 0,void 0,function*(){if(t.hasModel()){const n=e.get(Nl);yield e.get(CC).showWhile(n.invokeFunction(eRe,t,1,gw.None,Ll.None),250)}})}}class BHe extends xo{constructor(){super({id:\"editor.action.formatSelection\",label:w(\"formatSelection.label\",\"Format Selection\"),alias:\"Format Selection\",precondition:co.and(on.writable,on.hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:on.editorTextFocus,primary:vh(2089,2084),weight:100},contextMenuOpts:{when:on.hasNonEmptySelection,group:\"1_modification\",order:1.31}})}run(e,t){return pY(this,void 0,void 0,function*(){if(!t.hasModel())return;const n=e.get(Nl),i=t.getModel(),s=t.getSelections().map(l=>l.isEmpty()?new He(l.startLineNumber,1,l.startLineNumber,i.getLineMaxColumn(l.startLineNumber)):l);yield e.get(CC).showWhile(n.invokeFunction(Qhe,t,s,1,gw.None,Ll.None),250)})}}vu(ML.ID,ML);vu(RL.ID,RL);Fs(RHe);Fs(BHe);tu.registerCommand(\"editor.action.format\",o=>pY(void 0,void 0,void 0,function*(){const e=o.get(Eu).getFocusedCodeEditor();if(!e||!e.hasModel())return;const t=o.get(Dd);e.getSelection().isEmpty()?yield t.executeCommand(\"editor.action.formatDocument\"):yield t.executeCommand(\"editor.action.formatSelection\")}));var jHe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},VH=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},WHe=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};class Lx{remove(){this.parent&&this.parent.children.delete(this.id)}static findId(e,t){let n;typeof e==\"string\"?n=`${t.id}/${e}`:(n=`${t.id}/${e.name}`,t.children.get(n)!==void 0&&(n=`${t.id}/${e.name}_${e.range.startLineNumber}_${e.range.startColumn}`));let i=n;for(let s=0;t.children.get(i)!==void 0;s++)i=`${n}_${s}`;return i}static empty(e){return e.children.size===0}}class Xae extends Lx{constructor(e,t,n){super(),this.id=e,this.parent=t,this.symbol=n,this.children=new Map}}class VHe extends Lx{constructor(e,t,n,i){super(),this.id=e,this.parent=t,this.label=n,this.order=i,this.children=new Map}}class Dv extends Lx{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}static create(e,t,n){const i=new Xh(n),s=new Dv(t.uri),a=e.ordered(t),l=a.map((d,h)=>{var p;let g=Lx.findId(`provider_${h}`,s),y=new VHe(g,s,(p=d.displayName)!==null&&p!==void 0?p:\"Unknown Outline Provider\",h);return Promise.resolve(d.provideDocumentSymbols(t,i.token)).then(D=>{for(const T of D||[])Dv._makeOutlineElement(T,y);return y},D=>(bh(D),y)).then(D=>{Lx.empty(D)?D.remove():s._groups.set(g,D)})}),u=e.onDidChange(()=>{const d=e.ordered(t);K_(d,a)||i.cancel()});return Promise.all(l).then(()=>i.token.isCancellationRequested&&!n.isCancellationRequested?Dv.create(e,t,n):s._compact()).finally(()=>{u.dispose()})}static _makeOutlineElement(e,t){let n=Lx.findId(e,t),i=new Xae(n,t,e);if(e.children)for(const s of e.children)Dv._makeOutlineElement(s,i);t.children.set(i.id,i)}_compact(){let e=0;for(const[t,n]of this._groups)n.children.size===0?this._groups.delete(t):e+=1;if(e!==1)this.children=this._groups;else{let t=Zl.first(this._groups.values());for(let[,n]of t.children)n.parent=this,this.children.set(n.id,n)}return this}getTopLevelSymbols(){const e=[];for(const t of this.children.values())t instanceof Xae?e.push(t.symbol):e.push(...Zl.map(t.children.values(),n=>n.symbol));return e.sort((t,n)=>He.compareRangesUsingStarts(t.range,n.range))}asListOfDocumentSymbols(){const e=this.getTopLevelSymbols(),t=[];return Dv._flattenDocumentSymbols(t,e,\"\"),t.sort((n,i)=>Ii.compare(He.getStartPosition(n.range),He.getStartPosition(i.range))||Ii.compare(He.getEndPosition(i.range),He.getEndPosition(n.range)))}static _flattenDocumentSymbols(e,t,n){for(const i of t)e.push({kind:i.kind,tags:i.tags,name:i.name,detail:i.detail,containerName:i.containerName||n,range:i.range,selectionRange:i.selectionRange,children:void 0}),i.children&&Dv._flattenDocumentSymbols(e,i.children,i.name)}}const q9=zl(\"IOutlineModelService\");let OK=class{constructor(e,t,n){this._languageFeaturesService=e,this._disposables=new fs,this._cache=new DC(10,.7),this._debounceInformation=t.for(e.documentSymbolProvider,\"DocumentSymbols\",{min:350}),this._disposables.add(n.onModelRemoved(i=>{this._cache.delete(i.id)}))}dispose(){this._disposables.dispose()}getOrCreate(e,t){return WHe(this,void 0,void 0,function*(){const n=this._languageFeaturesService.documentSymbolProvider,i=n.ordered(e);let s=this._cache.get(e.id);if(!s||s.versionId!==e.getVersionId()||!K_(s.provider,i)){let l=new Xh;s={versionId:e.getVersionId(),provider:i,promiseCnt:0,source:l,promise:Dv.create(n,e,l.token),model:void 0},this._cache.set(e.id,s);const u=Date.now();s.promise.then(d=>{s.model=d,this._debounceInformation.update(e,Date.now()-u)}).catch(d=>{this._cache.delete(e.id)})}if(s.model)return s.model;s.promiseCnt+=1;const a=t.onCancellationRequested(()=>{--s.promiseCnt===0&&(s.source.cancel(),this._cache.delete(e.id))});try{return yield s.promise}finally{a.dispose()}})}};OK=jHe([VH(0,$o),VH(1,jg),VH(2,Oc)],OK);su(q9,OK,!0);var HHe=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};tu.registerCommand(\"_executeDocumentSymbolProvider\",function(o,...e){return HHe(this,void 0,void 0,function*(){const[t]=e;$u(wa.isUri(t));const n=o.get(q9),s=yield o.get(Wf).createModelReference(t);try{return(yield n.getOrCreate(s.object.textEditorModel,Ll.None)).getTopLevelSymbols()}finally{s.dispose()}})});const Jfe=\"editor.action.inlineSuggest.commit\";class Yfe{constructor(e,t,n=0){this.lineNumber=e,this.parts=t,this.additionalReservedLineCount=n}renderForScreenReader(e){if(this.parts.length===0)return\"\";const t=this.parts[this.parts.length-1],n=e.substr(0,t.column-1);return zHe(n,this.parts.map(s=>({range:{startLineNumber:1,endLineNumber:1,startColumn:s.column,endColumn:s.column},text:s.lines.join(`\n`)}))).substring(this.parts[0].column-1)}}class $He{constructor(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}}function zHe(o,e){const t=new $He(o),n=e.map(i=>{const s=He.lift(i.range);return{startOffset:t.getOffset(s.getStartPosition()),endOffset:t.getOffset(s.getEndPosition()),text:i.text}});n.sort((i,s)=>s.startOffset-i.startOffset);for(const i of n)o=o.substring(0,i.startOffset)+i.text+o.substring(i.endOffset);return o}class Qae{constructor(e,t,n){this.column=e,this.lines=t,this.preview=n}}class Xfe extends fr{constructor(e){super(),this.editor=e,this._expanded=void 0,this.onDidChangeEmitter=new ri,this.onDidChange=this.onDidChangeEmitter.event,this._register(e.onDidChangeConfiguration(t=>{t.hasChanged(106)&&this._expanded===void 0&&this.onDidChangeEmitter.fire()}))}setExpanded(e){this._expanded=!0,this.onDidChangeEmitter.fire()}}function UHe(o,e){return o===e?!0:!o||!e?!1:o.range.equalsRange(e.range)&&o.text===e.text&&o.command===e.command}function Qfe(o,e,t,n,i=0){if(o.range.startLineNumber!==o.range.endLineNumber)return;const s=e.getLineContent(o.range.startLineNumber),a=Mu(s).length;if(o.range.startColumn-1<=a){const y=Mu(o.text).length,D=s.substring(o.range.startColumn-1,a),T=He.fromPositions(o.range.getStartPosition().delta(0,D.length),o.range.getEndPosition()),k=o.text.startsWith(D)?o.text.substring(D.length):o.text.substring(y);o={range:T,text:k,command:o.command}}const u=e.getValueInRange(o.range),d=KHe(u,o.text);if(!d)return;const h=o.range.startLineNumber,p=new Array;if(t===\"prefix\"){const y=d.filter(D=>D.originalLength===0);if(y.length>1||y.length===1&&y[0].originalStart!==u.length)return}const g=o.text.length-i;for(const y of d){const D=o.range.startColumn+y.originalStart+y.originalLength;if(t===\"subwordSmart\"&&n&&n.lineNumber===o.range.startLineNumber&&D<n.column||y.originalLength>0)return;if(y.modifiedLength===0)continue;const T=y.modifiedStart+y.modifiedLength,k=Math.max(y.modifiedStart,Math.min(T,g)),I=o.text.substring(y.modifiedStart,k),F=o.text.substring(k,Math.max(y.modifiedStart,T));if(I.length>0){const q=G1(I);p.push(new Qae(D,q,!1))}if(F.length>0){const q=G1(F);p.push(new Qae(D,q,!0))}}return new Yfe(h,p,0)}let f1;function KHe(o,e){if((f1==null?void 0:f1.originalValue)===o&&(f1==null?void 0:f1.newValue)===e)return f1==null?void 0:f1.changes;{const t=qHe(o,e);return f1={originalValue:o,newValue:e,changes:t},t}}function qHe(o,e){if(o.length>5e3||e.length>5e3)return;function t(u){let d=0;for(let h=0,p=u.length;h<p;h++){const g=u.charCodeAt(h);g>d&&(d=g)}return d}const n=Math.max(t(o),t(e));function i(u){if(u<0)throw new Error(\"unexpected\");return n+u+1}function s(u){let d=0,h=0;const p=new Int32Array(u.length);for(let g=0,y=u.length;g<y;g++){const D=h*100+d;u[g]===\"(\"?(p[g]=i(2*D),d++):u[g]===\")\"?(p[g]=i(2*D+1),d===1&&h++,d=Math.max(d-1,0)):p[g]=u.charCodeAt(g)}return p}const a=s(o),l=s(e);return new k1({getElements:()=>a},{getElements:()=>l}).ComputeDiff(!1).changes}function GHe(o,e){const t=new tde,n=new ide(t,d=>e.getLanguageConfiguration(d)),i=new nde(new JHe([o]),n),s=Mz(i,[],void 0,!0);let a=\"\";const l=o.getLineContent();function u(d,h){if(d.kind===2)u(d.openingBracket,h),h=Fd(h,d.openingBracket.length),d.child&&(u(d.child,h),h=Fd(h,d.child.length)),d.closingBracket?(u(d.closingBracket,h),h=Fd(h,d.closingBracket.length)):a+=n.getSingleLanguageBracketTokens(d.openingBracket.languageId).findClosingTokenText(d.openingBracket.bracketIds);else if(d.kind!==3){if(d.kind===0||d.kind===1)a+=l.substring(h,Fd(h,d.length));else if(d.kind===4)for(const p of d.children)u(p,h),h=Fd(h,p.length)}}return u(s,X1),a}class JHe{constructor(e){this.lines=e}getLineCount(){return this.lines.length}getLineLength(e){return this.lines[e-1].getLineContent().length}getLineTokens(e){return this.lines[e-1]}}var YHe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},M5=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},ob=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};let MK=class extends fr{constructor(e,t,n,i,s,a){super(),this.editor=e,this.cache=t,this.commandService=n,this.languageConfigurationService=i,this.languageFeaturesService=s,this.debounceService=a,this.onDidChangeEmitter=new ri,this.onDidChange=this.onDidChangeEmitter.event,this.completionSession=this._register(new _f),this.active=!1,this.disposed=!1,this.debounceValue=this.debounceService.for(this.languageFeaturesService.inlineCompletionsProvider,\"InlineCompletionsDebounce\",{min:50,max:200}),this._register(n.onDidExecuteCommand(l=>{new Set([$x.Tab.id,$x.DeleteLeft.id,$x.DeleteRight.id,Jfe,\"acceptSelectedSuggestion\"]).has(l.commandId)&&e.hasTextFocus()&&this.handleUserInput()})),this._register(this.editor.onDidType(l=>{this.handleUserInput()})),this._register(this.editor.onDidChangeCursorPosition(l=>{this.session&&!this.session.isValid&&this.hide()})),this._register(wl(()=>{this.disposed=!0})),this._register(this.editor.onDidBlurEditorWidget(()=>{this.hide()}))}handleUserInput(){this.session&&!this.session.isValid&&this.hide(),setTimeout(()=>{this.disposed||this.startSessionIfTriggered()},0)}get session(){return this.completionSession.value}get ghostText(){var e;return(e=this.session)===null||e===void 0?void 0:e.ghostText}get minReservedLineCount(){return this.session?this.session.minReservedLineCount:0}setExpanded(e){var t;(t=this.session)===null||t===void 0||t.setExpanded(e)}setActive(e){var t;this.active=e,e&&((t=this.session)===null||t===void 0||t.scheduleAutomaticUpdate())}startSessionIfTriggered(){!this.editor.getOption(55).enabled||this.session&&this.session.isValid||this.trigger(vg.Automatic)}trigger(e){if(this.completionSession.value){e===vg.Explicit&&this.completionSession.value.ensureUpdateWithExplicitContext();return}this.completionSession.value=new XHe(this.editor,this.editor.getPosition(),()=>this.active,this.commandService,this.cache,e,this.languageConfigurationService,this.languageFeaturesService.inlineCompletionsProvider,this.debounceValue),this.completionSession.value.takeOwnership(this.completionSession.value.onDidChange(()=>{this.onDidChangeEmitter.fire()}))}hide(){this.completionSession.clear(),this.onDidChangeEmitter.fire()}commitCurrentSuggestion(){var e;(e=this.session)===null||e===void 0||e.commitCurrentCompletion()}showNext(){var e;(e=this.session)===null||e===void 0||e.showNextInlineCompletion()}showPrevious(){var e;(e=this.session)===null||e===void 0||e.showPreviousInlineCompletion()}hasMultipleInlineCompletions(){var e;return ob(this,void 0,void 0,function*(){const t=yield(e=this.session)===null||e===void 0?void 0:e.hasMultipleInlineCompletions();return t!==void 0?t:!1})}};MK=YHe([M5(2,Dd),M5(3,Dp),M5(4,$o),M5(5,jg)],MK);class XHe extends Xfe{constructor(e,t,n,i,s,a,l,u,d){super(e),this.triggerPosition=t,this.shouldUpdate=n,this.commandService=i,this.cache=s,this.initialTriggerKind=a,this.languageConfigurationService=l,this.registry=u,this.debounce=d,this.minReservedLineCount=0,this.updateOperation=this._register(new _f),this.updateSoon=this._register(new Bu(()=>{let p=this.initialTriggerKind;return this.initialTriggerKind=vg.Automatic,this.update(p)},50)),this.currentlySelectedCompletionId=void 0;let h;this._register(this.onDidChange(()=>{const p=this.currentCompletion;if(p&&p.sourceInlineCompletion!==h){h=p.sourceInlineCompletion;const g=p.sourceProvider;g.handleItemDidShow&&g.handleItemDidShow(p.sourceInlineCompletions,h)}})),this._register(wl(()=>{this.cache.clear()})),this._register(this.editor.onDidChangeCursorPosition(p=>{this.cache.value&&this.onDidChangeEmitter.fire()})),this._register(this.editor.onDidChangeModelContent(p=>{this.scheduleAutomaticUpdate()})),this._register(this.registry.onDidChange(()=>{this.updateSoon.schedule(this.debounce.get(this.editor.getModel()))})),this.scheduleAutomaticUpdate()}fixAndGetIndexOfCurrentSelection(){if(!this.currentlySelectedCompletionId||!this.cache.value||this.cache.value.completions.length===0)return 0;const e=this.cache.value.completions.findIndex(t=>t.semanticId===this.currentlySelectedCompletionId);return e===-1?(this.currentlySelectedCompletionId=void 0,0):e}get currentCachedCompletion(){if(!!this.cache.value)return this.cache.value.completions[this.fixAndGetIndexOfCurrentSelection()]}showNextInlineCompletion(){var e;return ob(this,void 0,void 0,function*(){yield this.ensureUpdateWithExplicitContext();const t=((e=this.cache.value)===null||e===void 0?void 0:e.completions)||[];if(t.length>0){const n=(this.fixAndGetIndexOfCurrentSelection()+1)%t.length;this.currentlySelectedCompletionId=t[n].semanticId}else this.currentlySelectedCompletionId=void 0;this.onDidChangeEmitter.fire()})}showPreviousInlineCompletion(){var e;return ob(this,void 0,void 0,function*(){yield this.ensureUpdateWithExplicitContext();const t=((e=this.cache.value)===null||e===void 0?void 0:e.completions)||[];if(t.length>0){const n=(this.fixAndGetIndexOfCurrentSelection()+t.length-1)%t.length;this.currentlySelectedCompletionId=t[n].semanticId}else this.currentlySelectedCompletionId=void 0;this.onDidChangeEmitter.fire()})}ensureUpdateWithExplicitContext(){var e;return ob(this,void 0,void 0,function*(){this.updateOperation.value?this.updateOperation.value.triggerKind===vg.Explicit?yield this.updateOperation.value.promise:yield this.update(vg.Explicit):((e=this.cache.value)===null||e===void 0?void 0:e.triggerKind)!==vg.Explicit&&(yield this.update(vg.Explicit))})}hasMultipleInlineCompletions(){var e;return ob(this,void 0,void 0,function*(){return yield this.ensureUpdateWithExplicitContext(),(((e=this.cache.value)===null||e===void 0?void 0:e.completions.length)||0)>1})}get ghostText(){const e=this.currentCompletion,t=this.editor.getOptions().get(55).mode;return e?Qfe(e,this.editor.getModel(),t,this.editor.getPosition()):void 0}get currentCompletion(){const e=this.currentCachedCompletion;if(!!e)return e.toLiveInlineCompletion()}get isValid(){return this.editor.getPosition().lineNumber===this.triggerPosition.lineNumber}scheduleAutomaticUpdate(){this.updateOperation.clear(),this.updateSoon.schedule(this.debounce.get(this.editor.getModel()))}update(e){return ob(this,void 0,void 0,function*(){if(!this.shouldUpdate())return;const t=this.editor.getPosition(),n=new Date,i=Oh(a=>ob(this,void 0,void 0,function*(){let l;try{l=yield e_e(this.registry,t,this.editor.getModel(),{triggerKind:e,selectedSuggestionInfo:void 0},a,this.languageConfigurationService);const u=new Date;this.debounce.update(this.editor.getModel(),u.getTime()-n.getTime())}catch(u){tl(u);return}a.isCancellationRequested||(this.cache.setValue(this.editor,l,e),this.onDidChangeEmitter.fire())})),s=new Zfe(i,e);this.updateOperation.value=s,yield i,this.updateOperation.value===s&&this.updateOperation.clear()})}takeOwnership(e){this._register(e)}commitCurrentCompletion(){if(!this.ghostText)return;const e=this.currentCompletion;e&&this.commit(e)}commit(e){const t=this.cache.clearAndLeak();this.editor.executeEdits(\"inlineSuggestion.accept\",[Yc.replaceMove(e.range,e.text)]),e.command?this.commandService.executeCommand(e.command.id,...e.command.arguments||[]).finally(()=>{t==null||t.dispose()}).then(void 0,bh):t==null||t.dispose(),this.onDidChangeEmitter.fire()}}class Zfe{constructor(e,t){this.promise=e,this.triggerKind=t}dispose(){this.promise.cancel()}}class QHe extends fr{constructor(e,t,n,i){super(),this.triggerKind=i;const s=e.deltaDecorations([],t.items.map(a=>({range:a.range,options:{description:\"inline-completion-tracking-range\"}})));this._register(wl(()=>{e.deltaDecorations(s,[])})),this.completions=t.items.map((a,l)=>new ZHe(a,s[l])),this._register(e.onDidChangeModelContent(()=>{let a=!1;const l=e.getModel();for(const u of this.completions){const d=l.getDecorationRange(u.decorationId);if(!d){tl(new Error(\"Decoration has no range\"));continue}u.synchronizedRange.equalsRange(d)||(a=!0,u.synchronizedRange=d)}a&&n()})),this._register(t)}}class ZHe{constructor(e,t){this.inlineCompletion=e,this.decorationId=t,this.semanticId=JSON.stringify({text:this.inlineCompletion.text,startLine:this.inlineCompletion.range.startLineNumber,startColumn:this.inlineCompletion.range.startColumn,command:this.inlineCompletion.command}),this.synchronizedRange=e.range}toLiveInlineCompletion(){return{text:this.inlineCompletion.text,range:this.synchronizedRange,command:this.inlineCompletion.command,sourceProvider:this.inlineCompletion.sourceProvider,sourceInlineCompletions:this.inlineCompletion.sourceInlineCompletions,sourceInlineCompletion:this.inlineCompletion.sourceInlineCompletion}}}function e$e(o,e){const t=e.getWordAtPosition(o),n=e.getLineMaxColumn(o.lineNumber);return t?new He(o.lineNumber,t.startColumn,o.lineNumber,n):He.fromPositions(o,o.with(void 0,n))}function e_e(o,e,t,n,i=Ll.None,s){return ob(this,void 0,void 0,function*(){const a=e$e(e,t),l=o.all(t),u=yield Promise.all(l.map(h=>ob(this,void 0,void 0,function*(){const p=yield Promise.resolve(h.provideInlineCompletions(t,e,n,i)).catch(bh);return{completions:p,provider:h,dispose:()=>{p&&h.freeInlineCompletions(p)}}}))),d=new Map;for(const h of u){const p=h.completions;if(p)for(const g of p.items){const y=g.range?He.lift(g.range):a;if(y.startLineNumber!==y.endLineNumber)continue;const D=s&&g.completeBracketPairs?t$e(g.text,y.getStartPosition(),t,s):g.text,T={text:D,range:y,command:g.command,sourceProvider:h.provider,sourceInlineCompletions:p,sourceInlineCompletion:g};d.set(JSON.stringify({text:D,range:g.range}),T)}}return{items:[...d.values()],dispose:()=>{for(const h of u)h.dispose()}}})}function t$e(o,e,t,n){const s=t.getLineContent(e.lineNumber).substring(0,e.column-1)+o,a=t.tokenizeLineWithEdit(e,s.length-(e.column-1),o),l=a==null?void 0:a.sliceAndInflate(e.column-1,s.length,0);return l?(console.log(l),GHe(l,n)):o}function aP(o,e){if(!e)return e;const t=o.getValueInRange(e.range),n=tE(t,e.text),i=o.getOffsetAt(e.range.getStartPosition())+n,s=o.getPositionAt(i),a=t.substr(n),l=W8(a,e.text),u=o.getPositionAt(Math.max(i,o.getOffsetAt(e.range.getEndPosition())-l));return{range:He.fromPositions(s,u),text:e.text.substr(n,e.text.length-n-l)}}const kh=new Uint8Array(16),of=[];for(let o=0;o<256;o++)of.push(o.toString(16).padStart(2,\"0\"));let RK;typeof crypto==\"object\"&&typeof crypto.getRandomValues==\"function\"?RK=crypto.getRandomValues.bind(crypto):RK=function(o){for(let e=0;e<o.length;e++)o[e]=Math.floor(Math.random()*256);return o};function n$e(){RK(kh),kh[6]=kh[6]&15|64,kh[8]=kh[8]&63|128;let o=0,e=\"\";return e+=of[kh[o++]],e+=of[kh[o++]],e+=of[kh[o++]],e+=of[kh[o++]],e+=\"-\",e+=of[kh[o++]],e+=of[kh[o++]],e+=\"-\",e+=of[kh[o++]],e+=of[kh[o++]],e+=\"-\",e+=of[kh[o++]],e+=of[kh[o++]],e+=\"-\",e+=of[kh[o++]],e+=of[kh[o++]],e+=of[kh[o++]],e+=of[kh[o++]],e+=of[kh[o++]],e+=of[kh[o++]],e}Object.freeze({CURRENT_YEAR:!0,CURRENT_YEAR_SHORT:!0,CURRENT_MONTH:!0,CURRENT_DATE:!0,CURRENT_HOUR:!0,CURRENT_MINUTE:!0,CURRENT_SECOND:!0,CURRENT_DAY_NAME:!0,CURRENT_DAY_NAME_SHORT:!0,CURRENT_MONTH_NAME:!0,CURRENT_MONTH_NAME_SHORT:!0,CURRENT_SECONDS_UNIX:!0,SELECTION:!0,CLIPBOARD:!0,TM_SELECTED_TEXT:!0,TM_CURRENT_LINE:!0,TM_CURRENT_WORD:!0,TM_LINE_INDEX:!0,TM_LINE_NUMBER:!0,TM_FILENAME:!0,TM_FILENAME_BASE:!0,TM_DIRECTORY:!0,TM_FILEPATH:!0,RELATIVE_FILEPATH:!0,BLOCK_COMMENT_START:!0,BLOCK_COMMENT_END:!0,LINE_COMMENT:!0,WORKSPACE_NAME:!0,WORKSPACE_FOLDER:!0,RANDOM:!0,RANDOM_HEX:!0,UUID:!0});class i$e{constructor(e){this._delegates=e}resolve(e){for(const t of this._delegates){let n=t.resolve(e);if(n!==void 0)return n}}}class r$e{constructor(e,t,n,i){this._model=e,this._selection=t,this._selectionIdx=n,this._overtypingCapturer=i}resolve(e){const{name:t}=e;if(t===\"SELECTION\"||t===\"TM_SELECTED_TEXT\"){let n=this._model.getValueInRange(this._selection)||void 0,i=this._selection.startLineNumber!==this._selection.endLineNumber;if(!n&&this._overtypingCapturer){const s=this._overtypingCapturer.getLastOvertypedInfo(this._selectionIdx);s&&(n=s.value,i=s.multiline)}if(n&&i&&e.snippet){const s=this._model.getLineContent(this._selection.startLineNumber),a=Mu(s,0,this._selection.startColumn-1);let l=a;e.snippet.walk(d=>d===e?!1:(d instanceof a_&&(l=Mu(G1(d.value).pop())),!0));const u=tE(l,a);n=n.replace(/(\\r\\n|\\r|\\n)(.*)/g,(d,h,p)=>`${h}${l.substr(u)}${p}`)}return n}else{if(t===\"TM_CURRENT_LINE\")return this._model.getLineContent(this._selection.positionLineNumber);if(t===\"TM_CURRENT_WORD\"){const n=this._model.getWordAtPosition({lineNumber:this._selection.positionLineNumber,column:this._selection.positionColumn});return n&&n.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)}}}}class s$e{constructor(e,t){this._labelService=e,this._model=t}resolve(e){const{name:t}=e;if(t===\"TM_FILENAME\")return rD(this._model.uri.fsPath);if(t===\"TM_FILENAME_BASE\"){const n=rD(this._model.uri.fsPath),i=n.lastIndexOf(\".\");return i<=0?n:n.slice(0,i)}else{if(t===\"TM_DIRECTORY\")return qle(this._model.uri.fsPath)===\".\"?\"\":this._labelService.getUriLabel(t9(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 o$e{constructor(e,t,n,i){this._readClipboardText=e,this._selectionIdx=t,this._selectionCount=n,this._spread=i}resolve(e){if(e.name!==\"CLIPBOARD\")return;const t=this._readClipboardText();if(!!t){if(this._spread){const n=t.split(/\\r\\n|\\n|\\r/).filter(i=>!Zle(i));if(n.length===this._selectionCount)return n[this._selectionIdx]}return t}}}class a$e{constructor(e,t){this._model=e,this._selection=t}resolve(e){const{name:t}=e,n=this._model.getLanguageIdAtPosition(this._selection.selectionStartLineNumber,this._selection.selectionStartColumn),i=Nd.getComments(n);if(!!i){if(t===\"LINE_COMMENT\")return i.lineCommentToken||void 0;if(t===\"BLOCK_COMMENT_START\")return i.blockCommentStartToken||void 0;if(t===\"BLOCK_COMMENT_END\")return i.blockCommentEndToken||void 0}}}class M1{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 M1.dayNames[this._date.getDay()];if(t===\"CURRENT_DAY_NAME_SHORT\")return M1.dayNamesShort[this._date.getDay()];if(t===\"CURRENT_MONTH_NAME\")return M1.monthNames[this._date.getMonth()];if(t===\"CURRENT_MONTH_NAME_SHORT\")return M1.monthNamesShort[this._date.getMonth()];if(t===\"CURRENT_SECONDS_UNIX\")return String(Math.floor(this._date.getTime()/1e3))}}M1.dayNames=[w(\"Sunday\",\"Sunday\"),w(\"Monday\",\"Monday\"),w(\"Tuesday\",\"Tuesday\"),w(\"Wednesday\",\"Wednesday\"),w(\"Thursday\",\"Thursday\"),w(\"Friday\",\"Friday\"),w(\"Saturday\",\"Saturday\")];M1.dayNamesShort=[w(\"SundayShort\",\"Sun\"),w(\"MondayShort\",\"Mon\"),w(\"TuesdayShort\",\"Tue\"),w(\"WednesdayShort\",\"Wed\"),w(\"ThursdayShort\",\"Thu\"),w(\"FridayShort\",\"Fri\"),w(\"SaturdayShort\",\"Sat\")];M1.monthNames=[w(\"January\",\"January\"),w(\"February\",\"February\"),w(\"March\",\"March\"),w(\"April\",\"April\"),w(\"May\",\"May\"),w(\"June\",\"June\"),w(\"July\",\"July\"),w(\"August\",\"August\"),w(\"September\",\"September\"),w(\"October\",\"October\"),w(\"November\",\"November\"),w(\"December\",\"December\")];M1.monthNamesShort=[w(\"JanuaryShort\",\"Jan\"),w(\"FebruaryShort\",\"Feb\"),w(\"MarchShort\",\"Mar\"),w(\"AprilShort\",\"Apr\"),w(\"MayShort\",\"May\"),w(\"JuneShort\",\"Jun\"),w(\"JulyShort\",\"Jul\"),w(\"AugustShort\",\"Aug\"),w(\"SeptemberShort\",\"Sep\"),w(\"OctoberShort\",\"Oct\"),w(\"NovemberShort\",\"Nov\"),w(\"DecemberShort\",\"Dec\")];class l$e{constructor(e){this._workspaceService=e}resolve(e){if(!this._workspaceService)return;const t=$8e(this._workspaceService.getWorkspace());if(!!t){if(e.name===\"WORKSPACE_NAME\")return this._resolveWorkspaceName(t);if(e.name===\"WORKSPACE_FOLDER\")return this._resoveWorkspacePath(t)}}_resolveWorkspaceName(e){if(toe(e))return rD(e.uri.path);let t=rD(e.configPath.path);return t.endsWith(Yz)&&(t=t.substr(0,t.length-Yz.length-1)),t}_resoveWorkspacePath(e){if(toe(e))return cK(e.uri.fsPath);let t=rD(e.configPath.path),n=e.configPath.fsPath;return n.endsWith(t)&&(n=n.substr(0,n.length-t.length-1)),n?cK(n):\"/\"}}class u$e{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 n$e()}}class gm{constructor(e,t,n,i){this._editor=e,this._snippet=t,this._offset=n,this._snippetLineLeadingWhitespace=i,this._nestingLevel=1,this._placeholderGroups=Pie(t.placeholders,ym.compareByIndex),this._placeholderGroupsIdx=-1}dispose(){this._placeholderDecorations&&this._editor.deltaDecorations([...this._placeholderDecorations.values()],[]),this._placeholderGroups.length=0}_initDecorations(){if(this._placeholderDecorations)return;this._placeholderDecorations=new Map;const e=this._editor.getModel();this._editor.changeDecorations(t=>{for(const n of this._snippet.placeholders){const i=this._snippet.offset(n),s=this._snippet.fullLen(n),a=He.fromPositions(e.getPositionAt(this._offset+i),e.getPositionAt(this._offset+i+s)),l=n.isFinalTabstop?gm._decor.inactiveFinal:gm._decor.inactive,u=t.addDecoration(a,l);this._placeholderDecorations.set(n,u)}})}move(e){if(!this._editor.hasModel())return[];if(this._initDecorations(),this._placeholderGroupsIdx>=0){let i=[];for(const s of this._placeholderGroups[this._placeholderGroupsIdx])if(s.transform){const a=this._placeholderDecorations.get(s),l=this._editor.getModel().getDecorationRange(a),u=this._editor.getModel().getValueInRange(l),d=s.transform.resolve(u).split(/\\r\\n|\\r|\\n/);for(let h=1;h<d.length;h++)d[h]=this._editor.getModel().normalizeIndentation(this._snippetLineLeadingWhitespace+d[h]);i.push(Yc.replace(l,d.join(this._editor.getModel().getEOL())))}i.length>0&&this._editor.executeEdits(\"snippet.placeholderTransform\",i)}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 n=this._editor.getModel().changeDecorations(i=>{const s=new Set,a=[];for(const l of this._placeholderGroups[this._placeholderGroupsIdx]){const u=this._placeholderDecorations.get(l),d=this._editor.getModel().getDecorationRange(u);a.push(new oo(d.startLineNumber,d.startColumn,d.endLineNumber,d.endColumn)),t=t&&this._hasPlaceholderBeenCollapsed(l),i.changeDecorationOptions(u,l.isFinalTabstop?gm._decor.activeFinal:gm._decor.active),s.add(l);for(const h of this._snippet.enclosingPlaceholders(l)){const p=this._placeholderDecorations.get(h);i.changeDecorationOptions(p,h.isFinalTabstop?gm._decor.activeFinal:gm._decor.active),s.add(h)}}for(const[l,u]of this._placeholderDecorations)s.has(l)||i.changeDecorationOptions(u,l.isFinalTabstop?gm._decor.inactiveFinal:gm._decor.inactive);return a});return t?this.move(e):n!=null?n:[]}_hasPlaceholderBeenCollapsed(e){let t=e;for(;t;){if(t instanceof ym){const n=this._placeholderDecorations.get(t);if(this._editor.getModel().getDecorationRange(n).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}computePossibleSelections(){const e=new Map;for(const t of this._placeholderGroups){let n;for(const i of t){if(i.isFinalTabstop)break;n||(n=[],e.set(i.index,n));const s=this._placeholderDecorations.get(i),a=this._editor.getModel().getDecorationRange(s);if(!a){e.delete(i.index);break}n.push(a)}}return e}get choice(){return this._placeholderGroups[this._placeholderGroupsIdx][0].choice}merge(e){const t=this._editor.getModel();this._nestingLevel*=10,this._editor.changeDecorations(n=>{for(const i of this._placeholderGroups[this._placeholderGroupsIdx]){const s=e.shift();console.assert(!s._placeholderDecorations);const a=s._snippet.placeholderInfo.last.index;for(const u of s._snippet.placeholderInfo.all)u.isFinalTabstop?u.index=i.index+(a+1)/this._nestingLevel:u.index=i.index+u.index/this._nestingLevel;this._snippet.replace(i,s._snippet.children);const l=this._placeholderDecorations.get(i);n.removeDecoration(l),this._placeholderDecorations.delete(i);for(const u of s._snippet.placeholders){const d=s._snippet.offset(u),h=s._snippet.fullLen(u),p=He.fromPositions(t.getPositionAt(s._offset+d),t.getPositionAt(s._offset+d+h)),g=n.addDecoration(p,gm._decor.inactive);this._placeholderDecorations.set(u,g)}}this._placeholderGroups=Pie(this._snippet.placeholders,ym.compareByIndex)})}}gm._decor={active:_l.register({description:\"snippet-placeholder-1\",stickiness:0,className:\"snippet-placeholder\"}),inactive:_l.register({description:\"snippet-placeholder-2\",stickiness:1,className:\"snippet-placeholder\"}),activeFinal:_l.register({description:\"snippet-placeholder-3\",stickiness:1,className:\"finish-snippet-placeholder\"}),inactiveFinal:_l.register({description:\"snippet-placeholder-4\",stickiness:1,className:\"finish-snippet-placeholder\"})};const Zae={overwriteBefore:0,overwriteAfter:0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};class C1{constructor(e,t,n=Zae){this._templateMerges=[],this._snippets=[],this._editor=e,this._template=t,this._options=n}static adjustWhitespace(e,t,n,i,s){const a=e.getLineContent(t.lineNumber),l=Mu(a,0,t.column-1);let u;return n.walk(d=>{if(!(d instanceof a_)||d.parent instanceof x4)return!0;const h=d.value.split(/\\r\\n|\\r|\\n/);if(i){const g=n.offset(d);if(g===0)h[0]=e.normalizeIndentation(h[0]);else{u=u!=null?u:n.toString();let y=u.charCodeAt(g-1);(y===10||y===13)&&(h[0]=e.normalizeIndentation(l+h[0]))}for(let y=1;y<h.length;y++)h[y]=e.normalizeIndentation(l+h[y])}const p=h.join(e.getEOL());return p!==d.value&&(d.parent.replace(d,[new a_(p)]),u=void 0),!0}),l}static adjustSelection(e,t,n,i){if(n!==0||i!==0){const{positionLineNumber:s,positionColumn:a}=t,l=a-n,u=a+i,d=e.validateRange({startLineNumber:s,startColumn:l,endLineNumber:s,endColumn:u});t=oo.createWithDirection(d.startLineNumber,d.startColumn,d.endLineNumber,d.endColumn,t.getDirection())}return t}static createEditsAndSnippets(e,t,n,i,s,a,l,u){const d=[],h=[];if(!e.hasModel())return{edits:d,snippets:h};const p=e.getModel(),g=e.invokeWithinContext(re=>re.get(Bde)),y=e.invokeWithinContext(re=>new s$e(re.get(h4),p)),D=()=>l;let T=0,k=p.getValueInRange(C1.adjustSelection(p,e.getSelection(),n,0)),I=p.getValueInRange(C1.adjustSelection(p,e.getSelection(),0,i)),F=p.getLineFirstNonWhitespaceColumn(e.getSelection().positionLineNumber);const q=e.getSelections().map((re,Ie)=>({selection:re,idx:Ie})).sort((re,Ie)=>He.compareRangesUsingStarts(re.selection,Ie.selection));for(const{selection:re,idx:Ie}of q){let mt=C1.adjustSelection(p,re,n,0),Le=C1.adjustSelection(p,re,0,i);k!==p.getValueInRange(mt)&&(mt=re),I!==p.getValueInRange(Le)&&(Le=re);const Ge=re.setStartPosition(mt.startLineNumber,mt.startColumn).setEndPosition(Le.endLineNumber,Le.endColumn),qt=new V9().parse(t,!0,s),gi=Ge.getStartPosition(),ai=C1.adjustWhitespace(p,gi,qt,a||Ie>0&&F!==p.getLineFirstNonWhitespaceColumn(re.positionLineNumber),!0);qt.resolveVariables(new i$e([y,new o$e(D,Ie,q.length,e.getOption(71)===\"spread\"),new r$e(p,re,Ie,u),new a$e(p,re),new M1,new l$e(g),new u$e]));const Tr=p.getOffsetAt(gi)+T;T+=qt.toString().length-p.getValueLengthInRange(Ge),d[Ie]=Yc.replace(Ge,qt.toString()),d[Ie].identifier={major:Ie,minor:0},h[Ie]=new gm(e,qt,Tr,ai)}return{edits:d,snippets:h}}dispose(){eu(this._snippets)}_logInfo(){return`template=\"${this._template}\", merged_templates=\"${this._templateMerges.join(\" -> \")}\"`}insert(){if(!this._editor.hasModel())return;const{edits:e,snippets:t}=C1.createEditsAndSnippets(this._editor,this._template,this._options.overwriteBefore,this._options.overwriteAfter,!1,this._options.adjustWhitespace,this._options.clipboardText,this._options.overtypingCapturer);this._snippets=t,this._editor.executeEdits(\"snippet\",e,n=>this._snippets[0].hasPlaceholder?this._move(!0):n.filter(i=>!!i.identifier).map(i=>oo.fromPositions(i.range.getEndPosition()))),this._editor.revealRange(this._editor.getSelections()[0])}merge(e,t=Zae){if(!this._editor.hasModel())return;this._templateMerges.push([this._snippets[0]._nestingLevel,this._snippets[0]._placeholderGroupsIdx,e]);const{edits:n,snippets:i}=C1.createEditsAndSnippets(this._editor,e,t.overwriteBefore,t.overwriteAfter,!0,t.adjustWhitespace,t.clipboardText,t.overtypingCapturer);this._editor.executeEdits(\"snippet\",n,s=>{for(const a of this._snippets)a.merge(i);return console.assert(i.length===0),this._snippets[0].hasPlaceholder?this._move(void 0):s.filter(a=>!!a.identifier).map(a=>oo.fromPositions(a.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 n of this._snippets){const i=n.move(e);t.push(...i)}return t}get isAtFirstPlaceholder(){return this._snippets[0].isAtFirstPlaceholder}get isAtLastPlaceholder(){return this._snippets[0].isAtLastPlaceholder}get hasPlaceholder(){return this._snippets[0].hasPlaceholder}get choice(){return this._snippets[0].choice}isSelectionWithinPlaceholders(){if(!this.hasPlaceholder)return!1;const e=this._editor.getSelections();if(e.length<this._snippets.length)return!1;let t=new Map;for(const n of this._snippets){const i=n.computePossibleSelections();if(t.size===0)for(const[s,a]of i){a.sort(He.compareRangesUsingStarts);for(const l of e)if(a[0].containsRange(l)){t.set(s,[]);break}}if(t.size===0)return!1;t.forEach((s,a)=>{s.push(...i.get(a))})}e.sort(He.compareRangesUsingStarts);for(let[n,i]of t){if(i.length!==e.length){t.delete(n);continue}i.sort(He.compareRangesUsingStarts);for(let s=0;s<i.length;s++)if(!i[s].containsRange(e[s])){t.delete(n);continue}}return t.size>0}}var c$e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},HH=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};const ele={overwriteBefore:0,overwriteAfter:0,undoStopBefore:!0,undoStopAfter:!0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};let Qh=class Qk{constructor(e,t,n,i){this._editor=e,this._instantiationService=t,this._logService=n,this._snippetListener=new fs,this._modelVersionId=-1,this._inSnippet=Qk.InSnippetMode.bindTo(i),this._hasNextTabstop=Qk.HasNextTabstop.bindTo(i),this._hasPrevTabstop=Qk.HasPrevTabstop.bindTo(i)}static get(e){return e.getContribution(Qk.ID)}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==\"undefined\"?ele:Object.assign(Object.assign({},ele),t))}catch(n){this.cancel(),this._logService.error(n),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){!this._editor.hasModel()||(this._snippetListener.clear(),t.undoStopBefore&&this._editor.getModel().pushStackElement(),this._session?this._session.merge(e,t):(this._modelVersionId=this._editor.getModel().getAlternativeVersionId(),this._session=new C1(this._editor,e,t),this._session.insert()),t.undoStopAfter&&this._editor.getModel().pushStackElement(),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(){if(!this._session||!this._editor.hasModel()){this._currentChoice=void 0;return}const{choice:e}=this._session;if(!e){this._currentChoice=void 0;return}if(this._currentChoice!==e){this._currentChoice=e,this._editor.setSelections(this._editor.getSelections().map(n=>oo.fromPositions(n.getStartPosition())));const[t]=e.options;this._instantiationService.invokeFunction(oWe,this._editor,e.options.map((n,i)=>({kind:13,label:n.value,insertText:n.value,sortText:\"a\".repeat(i+1),range:He.fromPositions(this._editor.getPosition(),this._editor.getPosition().delta(0,t.value.length))})))}}finish(){for(;this._inSnippet.get();)this.next()}cancel(e=!1){var t;this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),this._snippetListener.clear(),(t=this._session)===null||t===void 0||t.dispose(),this._session=void 0,this._modelVersionId=-1,e&&this._editor.setSelections([this._editor.getSelection()])}prev(){this._session&&this._session.prev(),this._updateState()}next(){this._session&&this._session.next(),this._updateState()}isInSnippet(){return Boolean(this._inSnippet.get())}};Qh.ID=\"snippetController2\";Qh.InSnippetMode=new Do(\"inSnippetMode\",!1,w(\"inSnippetMode\",\"Whether the editor in current in snippet mode\"));Qh.HasNextTabstop=new Do(\"hasNextTabstop\",!1,w(\"hasNextTabstop\",\"Whether there is a next tab stop when in snippet mode\"));Qh.HasPrevTabstop=new Do(\"hasPrevTabstop\",!1,w(\"hasPrevTabstop\",\"Whether there is a previous tab stop when in snippet mode\"));Qh=c$e([HH(1,Nl),HH(2,km),HH(3,Xa)],Qh);vu(Qh.ID,Qh);const G9=Zh.bindToContribution(Qh.get);Ns(new G9({id:\"jumpToNextSnippetPlaceholder\",precondition:co.and(Qh.InSnippetMode,Qh.HasNextTabstop),handler:o=>o.next(),kbOpts:{weight:100+30,kbExpr:on.editorTextFocus,primary:2}}));Ns(new G9({id:\"jumpToPrevSnippetPlaceholder\",precondition:co.and(Qh.InSnippetMode,Qh.HasPrevTabstop),handler:o=>o.prev(),kbOpts:{weight:100+30,kbExpr:on.editorTextFocus,primary:1026}}));Ns(new G9({id:\"leaveSnippet\",precondition:Qh.InSnippetMode,handler:o=>o.cancel(!0),kbOpts:{weight:100+30,kbExpr:on.editorTextFocus,primary:9,secondary:[1033]}}));Ns(new G9({id:\"acceptSnippet\",precondition:Qh.InSnippetMode,handler:o=>o.finish()}));var d$e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},tle=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};class fY{constructor(e){this.name=e}select(e,t,n){if(n.length===0)return 0;let i=n[0].score[0];for(let s=0;s<n.length;s++){const{score:a,completion:l}=n[s];if(a[0]!==i)break;if(l.preselect)return s}return 0}}class t_e extends fY{constructor(){super(\"first\")}memorize(e,t,n){}toJSON(){}fromJSON(){}}class h$e extends fY{constructor(){super(\"recentlyUsed\"),this._cache=new DC(300,.66),this._seq=0}memorize(e,t,n){const i=`${e.getLanguageId()}/${n.textLabel}`;this._cache.set(i,{touch:this._seq++,type:n.completion.kind,insertText:n.completion.insertText})}select(e,t,n){if(n.length===0)return 0;const i=e.getLineContent(t.lineNumber).substr(t.column-10,t.column-1);if(/\\s$/.test(i))return super.select(e,t,n);let s=n[0].score[0],a=-1,l=-1,u=-1;for(let d=0;d<n.length&&n[d].score[0]===s;d++){const h=`${e.getLanguageId()}/${n[d].textLabel}`,p=this._cache.peek(h);if(p&&p.touch>u&&p.type===n[d].completion.kind&&p.insertText===n[d].completion.insertText&&(u=p.touch,l=d),n[d].completion.preselect&&a===-1)return a=d}return l!==-1?l:a!==-1?a:0}toJSON(){return this._cache.toJSON()}fromJSON(e){this._cache.clear();let t=0;for(const[n,i]of e)i.touch=t,i.type=typeof i.type==\"number\"?i.type:M3.fromString(i.type),this._cache.set(n,i);this._seq=this._cache.size}}class p$e extends fY{constructor(){super(\"recentlyUsedByPrefix\"),this._trie=qx.forStrings(),this._seq=0}memorize(e,t,n){const{word:i}=e.getWordUntilPosition(t),s=`${e.getLanguageId()}/${i}`;this._trie.set(s,{type:n.completion.kind,insertText:n.completion.insertText,touch:this._seq++})}select(e,t,n){let{word:i}=e.getWordUntilPosition(t);if(!i)return super.select(e,t,n);let s=`${e.getLanguageId()}/${i}`,a=this._trie.get(s);if(a||(a=this._trie.findSubstr(s)),a)for(let l=0;l<n.length;l++){let{kind:u,insertText:d}=n[l].completion;if(u===a.type&&d===a.insertText)return l}return super.select(e,t,n)}toJSON(){let e=[];return this._trie.forEach((t,n)=>e.push([n,t])),e.sort((t,n)=>-(t[1].touch-n[1].touch)).forEach((t,n)=>t[1].touch=n),e.slice(0,200)}fromJSON(e){if(this._trie.clear(),e.length>0){this._seq=e[0][1].touch+1;for(const[t,n]of e)n.type=typeof n.type==\"number\"?n.type:M3.fromString(n.type),this._trie.set(t,n)}}}let BL=class D8{constructor(e,t){this._storageService=e,this._configService=t,this._disposables=new fs,this._persistSoon=new Bu(()=>this._saveState(),500),this._disposables.add(e.onWillSaveState(n=>{n.reason===q7.SHUTDOWN&&this._saveState()}))}dispose(){this._disposables.dispose(),this._persistSoon.dispose()}memorize(e,t,n){this._withStrategy(e,t).memorize(e,t,n),this._persistSoon.schedule()}select(e,t,n){return this._withStrategy(e,t).select(e,t,n)}_withStrategy(e,t){var n;const i=this._configService.getValue(\"editor.suggestSelection\",{overrideIdentifier:e.getLanguageIdAtPosition(t.lineNumber,t.column),resource:e.uri});if(((n=this._strategy)===null||n===void 0?void 0:n.name)!==i){this._saveState();const s=D8._strategyCtors.get(i)||t_e;this._strategy=new s;try{const l=this._configService.getValue(\"editor.suggest.shareSuggestSelections\")?0:1,u=this._storageService.get(`${D8._storagePrefix}/${i}`,l);u&&this._strategy.fromJSON(JSON.parse(u))}catch{}}return this._strategy}_saveState(){if(this._strategy){const t=this._configService.getValue(\"editor.suggest.shareSuggestSelections\")?0:1,n=JSON.stringify(this._strategy);this._storageService.store(`${D8._storagePrefix}/${this._strategy.name}`,n,t,1)}}};BL._strategyCtors=new Map([[\"recentlyUsedByPrefix\",p$e],[\"recentlyUsed\",h$e],[\"first\",t_e]]);BL._storagePrefix=\"suggest/memories\";BL=d$e([tle(0,cy),tle(1,Uu)],BL);const n_e=zl(\"ISuggestMemories\");su(n_e,BL,!0);var f$e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},_$e=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let jL=class i_e{constructor(e,t){this._editor=e,this._enabled=!1,this._ckAtEnd=i_e.AtEnd.bindTo(t),this._configListener=this._editor.onDidChangeConfiguration(n=>n.hasChanged(111)&&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(111)===\"on\";if(this._enabled!==e)if(this._enabled=e,this._enabled){const t=()=>{if(!this._editor.hasModel()){this._ckAtEnd.set(!1);return}const n=this._editor.getModel(),i=this._editor.getSelection(),s=n.getWordAtPosition(i.getStartPosition());if(!s){this._ckAtEnd.set(!1);return}this._ckAtEnd.set(s.endColumn===i.getStartPosition().column)};this._selectionListener=this._editor.onDidChangeCursorSelection(t),t()}else this._selectionListener&&(this._ckAtEnd.reset(),this._selectionListener.dispose(),this._selectionListener=void 0)}};jL.AtEnd=new Do(\"atEndOfWord\",!1);jL=f$e([_$e(1,Xa)],jL);var g$e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},m$e=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let GD=class w8{constructor(e,t){this._editor=e,this._index=0,this._ckOtherSuggestions=w8.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},n){if(e.items.length===0){this.reset();return}if(w8._moveIndex(!0,e,t)===t){this.reset();return}this._acceptNext=n,this._model=e,this._index=t,this._listener=this._editor.onDidChangeCursorPosition(()=>{this._ignore||this.reset()}),this._ckOtherSuggestions.set(!0)}static _moveIndex(e,t,n){let i=n;for(;i=(i+t.items.length+(e?1:-1))%t.items.length,!(i===n||!t.items[i].completion.additionalTextEdits););return i}next(){this._move(!0)}prev(){this._move(!1)}_move(e){if(!!this._model)try{this._ignore=!0,this._index=w8._moveIndex(e,this._model,this._index),this._acceptNext({index:this._index,item:this._model.items[this._index],model:this._model})}finally{this._ignore=!1}}};GD.OtherSuggestions=new Do(\"hasOtherSuggestions\",!1);GD=g$e([m$e(1,Xa)],GD);class y$e{constructor(e,t,n){this._disposables=new fs,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(i=>{if(this._active&&!t.isFrozen()){const s=i.charCodeAt(i.length-1);this._active.acceptCharacters.has(s)&&e.getOption(0)&&n(this._active.item)}}))}_onItem(e){if(!e||!d_(e.item.completion.commitCharacters)){this.reset();return}if(this._active&&this._active.item.item===e.item)return;const t=new yx;for(const n of e.item.completion.commitCharacters)n.length>0&&t.add(n.charCodeAt(0));this._active={acceptCharacters:t,item:e}}reset(){this._active=void 0}dispose(){this._disposables.dispose()}}var b$e=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};class R_{provideSelectionRanges(e,t){return b$e(this,void 0,void 0,function*(){const n=[];for(const i of t){const s=[];n.push(s);const a=new Map;yield new Promise(l=>R_._bracketsRightYield(l,0,e,i,a)),yield new Promise(l=>R_._bracketsLeftYield(l,0,e,i,a,s))}return n})}static _bracketsRightYield(e,t,n,i,s){const a=new Map,l=Date.now();for(;;){if(t>=R_._maxRounds){e();break}if(!i){e();break}let u=n.bracketPairs.findNextBracket(i);if(!u){e();break}if(Date.now()-l>R_._maxDuration){setTimeout(()=>R_._bracketsRightYield(e,t+1,n,i,s));break}const h=u.close[0];if(u.isOpen){let p=a.has(h)?a.get(h):0;a.set(h,p+1)}else{let p=a.has(h)?a.get(h):0;if(p-=1,a.set(h,Math.max(0,p)),p<0){let g=s.get(h);g||(g=new $_,s.set(h,g)),g.push(u.range)}}i=u.range.getEndPosition()}}static _bracketsLeftYield(e,t,n,i,s,a){const l=new Map,u=Date.now();for(;;){if(t>=R_._maxRounds&&s.size===0){e();break}if(!i){e();break}let d=n.bracketPairs.findPrevBracket(i);if(!d){e();break}if(Date.now()-u>R_._maxDuration){setTimeout(()=>R_._bracketsLeftYield(e,t+1,n,i,s,a));break}const p=d.close[0];if(d.isOpen){let g=l.has(p)?l.get(p):0;if(g-=1,l.set(p,Math.max(0,g)),g<0){let y=s.get(p);if(y){let D=y.shift();y.size===0&&s.delete(p);const T=He.fromPositions(d.range.getEndPosition(),D.getStartPosition()),k=He.fromPositions(d.range.getStartPosition(),D.getEndPosition());a.push({range:T}),a.push({range:k}),R_._addBracketLeading(n,k,a)}}}else{let g=l.has(p)?l.get(p):0;l.set(p,g+1)}i=d.range.getStartPosition()}}static _addBracketLeading(e,t,n){if(t.startLineNumber===t.endLineNumber)return;const i=t.startLineNumber,s=e.getLineFirstNonWhitespaceColumn(i);s!==0&&s!==t.startColumn&&(n.push({range:He.fromPositions(new Ii(i,s),t.getEndPosition())}),n.push({range:He.fromPositions(new Ii(i,1),t.getEndPosition())}));const a=i-1;if(a>0){const l=e.getLineFirstNonWhitespaceColumn(a);l===t.startColumn&&l!==e.getLineLastNonWhitespaceColumn(a)&&(n.push({range:He.fromPositions(new Ii(a,l),t.getEndPosition())}),n.push({range:He.fromPositions(new Ii(a,1),t.getEndPosition())}))}}}R_._maxDuration=30;R_._maxRounds=2;var v$e=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};class T1{static create(e,t){return v$e(this,void 0,void 0,function*(){if(!t.getOption(106).localityBonus||!t.hasModel())return T1.None;const n=t.getModel(),i=t.getPosition();if(!e.canComputeWordRanges(n.uri))return T1.None;const[s]=yield new R_().provideSelectionRanges(n,[i]);if(s.length===0)return T1.None;const a=yield e.computeWordRanges(n.uri,s[0].range);if(!a)return T1.None;const l=n.getWordUntilPosition(i);return delete a[l.word],new class extends T1{distance(u,d){if(!i.equals(t.getPosition()))return 0;if(d.kind===17)return 2<<20;let h=typeof d.label==\"string\"?d.label:d.label.label,p=a[h];if(Fle(p))return 2<<20;let g=yq(p,He.fromPositions(u),He.compareRangesUsingStarts),y=g>=0?p[g]:p[Math.max(0,~g-1)],D=s.length;for(const T of s){if(!He.containsRange(T.range,y))break;D-=1}return D}}})}}T1.None=new class extends T1{distance(){return 0}};class q2{constructor(e,t,n,i,s,a,l){this.clipboardText=l,this._snippetCompareFn=q2._compareCompletionItems,this._items=e,this._column=t,this._wordDistance=i,this._options=s,this._refilterKind=1,this._lineContext=n,a===\"top\"?this._snippetCompareFn=q2._compareCompletionItemsSnippetsUp:a===\"bottom\"&&(this._snippetCompareFn=q2._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}get allProvider(){return this._ensureCachedState(),this._providerInfo.keys()}get incomplete(){this._ensureCachedState();const e=new Set;for(let[t,n]of this._providerInfo)n&&e.add(t);return e}adopt(e){let t=[];for(let n=0;n<this._items.length;)e.has(this._items[n].provider)?n++:(t.push(this._items[n]),this._items[n]=this._items[this._items.length-1],this._items.pop());return this._refilterKind=1,t}get stats(){return this._ensureCachedState(),this._stats}_ensureCachedState(){this._refilterKind!==0&&this._createCachedState()}_createCachedState(){this._providerInfo=new Map;const e=[],{leadingLineContent:t,characterCountDelta:n}=this._lineContext;let i=\"\",s=\"\";const a=this._refilterKind===1?this._items:this._filteredItems,l=[],u=!this._options.filterGraceful||a.length>2e3?mE:T7e;for(let d=0;d<a.length;d++){const h=a[d];if(h.isInvalid)continue;this._providerInfo.set(h.provider,Boolean(h.container.incomplete));const p=h.position.column-h.editStart.column,g=p+n-(h.position.column-this._column);if(i.length!==g&&(i=g===0?\"\":t.slice(-g),s=i.toLowerCase()),h.word=i,g===0)h.score=_0.Default;else{let y=0;for(;y<p;){const D=i.charCodeAt(y);if(D===32||D===9)y+=1;else break}if(y>=g)h.score=_0.Default;else if(typeof h.completion.filterText==\"string\"){let D=u(i,s,y,h.completion.filterText,h.filterTextLow,0,!1);if(!D)continue;X$(h.completion.filterText,h.textLabel)===0?h.score=D:(h.score=w7e(i,s,y,h.textLabel,h.labelLow,0),h.score[0]=D[0])}else{let D=u(i,s,y,h.textLabel,h.labelLow,0,!1);if(!D)continue;h.score=D}}h.idx=d,h.distance=this._wordDistance.distance(h.position,h.completion),l.push(h),e.push(h.textLabel.length)}this._filteredItems=l.sort(this._snippetCompareFn),this._refilterKind=0,this._stats={pLabelLen:e.length?i$(e.length-.85,e,(d,h)=>d-h):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 q2._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 q2._compareCompletionItems(e,t)}}var C$e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},k2=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},D$e=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};class tx{constructor(e,t,n,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.auto=n,this.shy=i}static shouldAutoTrigger(e){if(!e.hasModel())return!1;const t=e.getModel(),n=e.getPosition();t.tokenizeIfCheap(n.lineNumber);const i=t.getWordAtPosition(n);return!(!i||i.endColumn!==n.column||!isNaN(Number(i.word)))}}function w$e(o,e,t){if(!Boolean(e.getContextKeyValue(\"inlineSuggestionVisible\")))return!0;const n=t.getValue(\"editor.inlineSuggest.allowQuickSuggestions\");return n!==void 0?Boolean(n):!1}function S$e(o,e,t){if(!Boolean(e.getContextKeyValue(\"inlineSuggestionVisible\")))return!0;const n=t.getValue(\"editor.inlineSuggest.allowSuggestOnTriggerCharacters\");return n!==void 0?Boolean(n):!1}let BK=class r_e{constructor(e,t,n,i,s,a,l,u){this._editor=e,this._editorWorkerService=t,this._clipboardService=n,this._telemetryService=i,this._logService=s,this._contextKeyService=a,this._configurationService=l,this._languageFeaturesService=u,this._toDispose=new fs,this._quickSuggestDelay=10,this._triggerCharacterListener=new fs,this._triggerQuickSuggest=new g_,this._state=0,this._completionDisposables=new fs,this._onDidCancel=new ri,this._onDidTrigger=new ri,this._onDidSuggest=new ri,this.onDidCancel=this._onDidCancel.event,this.onDidTrigger=this._onDidTrigger.event,this.onDidSuggest=this._onDidSuggest.event,this._telemetryGate=0,this._currentSelection=this._editor.getSelection()||new oo(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._updateQuickSuggest()})),this._toDispose.add(this._languageFeaturesService.completionProvider.onDidChange(()=>{this._updateTriggerCharacters(),this._updateActiveSuggestSession()}));let d=!1;this._toDispose.add(this._editor.onDidCompositionStart(()=>{d=!0})),this._toDispose.add(this._editor.onDidCompositionEnd(()=>{d=!1,this._onCompositionEnd()})),this._toDispose.add(this._editor.onDidChangeCursorSelection(h=>{d||this._onCursorChange(h)})),this._toDispose.add(this._editor.onDidChangeModelContent(()=>{d||this._refilterCompletionItems()})),this._updateTriggerCharacters(),this._updateQuickSuggest()}dispose(){eu(this._triggerCharacterListener),eu([this._onDidCancel,this._onDidSuggest,this._onDidTrigger,this._triggerQuickSuggest]),this._toDispose.dispose(),this._completionDisposables.dispose(),this.cancel()}_updateQuickSuggest(){this._quickSuggestDelay=this._editor.getOption(80),(isNaN(this._quickSuggestDelay)||!this._quickSuggestDelay&&this._quickSuggestDelay!==0||this._quickSuggestDelay<0)&&(this._quickSuggestDelay=10)}_updateTriggerCharacters(){if(this._triggerCharacterListener.clear(),this._editor.getOption(81)||!this._editor.hasModel()||!this._editor.getOption(109))return;const e=new Map;for(const n of this._languageFeaturesService.completionProvider.all(this._editor.getModel()))for(const i of n.triggerCharacters||[]){let s=e.get(i);s||(s=new Set,s.add(nWe()),e.set(i,s)),s.add(n)}const t=n=>{if(!S$e(this._editor,this._contextKeyService,this._configurationService)||tx.shouldAutoTrigger(this._editor))return;if(!n){const a=this._editor.getPosition();n=this._editor.getModel().getLineContent(a.lineNumber).substr(0,a.column-1)}let i=\"\";DD(n.charCodeAt(n.length-1))?eh(n.charCodeAt(n.length-2))&&(i=n.substr(n.length-2)):i=n.charAt(n.length-1);const s=e.get(i);if(s){const a=this._completionModel?{items:this._completionModel.adopt(s),clipboardText:this._completionModel.clipboardText}:void 0;this.trigger({auto:!0,shy:!1,triggerCharacter:i},Boolean(this._completionModel),s,a)}};this._triggerCharacterListener.add(this._editor.onDidType(t)),this._triggerCharacterListener.add(this._editor.onDidCompositionEnd(()=>t()))}get state(){return this._state}cancel(e=!1){var t;this._state!==0&&(this._triggerQuickSuggest.cancel(),(t=this._requestToken)===null||t===void 0||t.cancel(),this._requestToken=void 0,this._state=0,this._completionModel=void 0,this._context=void 0,this._onDidCancel.fire({retrigger:e}))}clear(){this._completionDisposables.clear()}_updateActiveSuggestSession(){this._state!==0&&(!this._editor.hasModel()||!this._languageFeaturesService.completionProvider.has(this._editor.getModel())?this.cancel():this.trigger({auto:this._state===2,shy:!1},!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._state===0&&e.reason===0?(t.containsRange(this._currentSelection)||t.getEndPosition().isBeforeOrEqual(this._currentSelection.getPosition()))&&this._doTriggerQuickSuggest():this._state!==0&&e.reason===3&&this._refilterCompletionItems()}_onCompositionEnd(){this._state===0?this._doTriggerQuickSuggest():this._refilterCompletionItems()}_doTriggerQuickSuggest(){var e;this._editor.getOption(79)!==!1&&(this._editor.getOption(106).snippetsPreventQuickSuggestions&&((e=Qh.get(this._editor))===null||e===void 0?void 0:e.isInSnippet())||(this.cancel(),this._triggerQuickSuggest.cancelAndSet(()=>{if(this._state!==0||!tx.shouldAutoTrigger(this._editor)||!this._editor.hasModel())return;const t=this._editor.getModel(),n=this._editor.getPosition(),i=this._editor.getOption(79);if(i!==!1){if(i!==!0){t.tokenizeIfCheap(n.lineNumber);const s=t.getLineTokens(n.lineNumber),a=s.getStandardTokenType(s.findTokenIndexAtOffset(Math.max(n.column-1-1,0)));if(!(i.other&&a===0||i.comments&&a===1||i.strings&&a===2))return}!w$e(this._editor,this._contextKeyService,this._configurationService)||!this._languageFeaturesService.completionProvider.has(t)||this.trigger({auto:!0,shy:!1})}},this._quickSuggestDelay)))}_refilterCompletionItems(){Promise.resolve().then(()=>{if(this._state===0||!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getPosition(),n=new tx(e,t,this._state===2,!1);this._onNewContext(n)})}trigger(e,t=!1,n,i){var s;if(!this._editor.hasModel())return;const a=this._editor.getModel(),l=e.auto,u=new tx(a,this._editor.getPosition(),l,e.shy);this.cancel(t),this._state=l?2:1,this._onDidTrigger.fire({auto:l,shy:e.shy,position:this._editor.getPosition()}),this._context=u;let d={triggerKind:(s=e.triggerKind)!==null&&s!==void 0?s:0};e.triggerCharacter&&(d={triggerKind:1,triggerCharacter:e.triggerCharacter}),this._requestToken=new Xh;const h=this._editor.getOption(101);let p=1;switch(h){case\"top\":p=0;break;case\"bottom\":p=2;break}const{itemKind:g,showDeprecated:y}=r_e._createSuggestFilter(this._editor),D=T1.create(this._editorWorkerService,this._editor),T=vfe(this._languageFeaturesService.completionProvider,a,this._editor.getPosition(),new Z7(p,g,n,y),d,this._requestToken.token);Promise.all([T,D]).then(([k,I])=>D$e(this,void 0,void 0,function*(){var F;if((F=this._requestToken)===null||F===void 0||F.dispose(),!this._editor.hasModel())return;let q=i==null?void 0:i.clipboardText;if(!q&&k.needsClipboard&&(q=yield this._clipboardService.readText()),this._state===0)return;const re=this._editor.getModel();let Ie=k.items;if(i){const Le=Cfe(p);Ie=Ie.concat(i.items).sort(Le)}const mt=new tx(re,this._editor.getPosition(),l,e.shy);this._completionModel=new q2(Ie,this._context.column,{leadingLineContent:mt.leadingLineContent,characterCountDelta:mt.column-this._context.column},I,this._editor.getOption(106),this._editor.getOption(101),q),this._completionDisposables.add(k.disposable),this._onNewContext(mt),this._reportDurationsTelemetry(k.durations)})).catch(tl)}_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(101)===\"none\"&&t.add(27);const i=e.getOption(106);return i.showMethods||t.add(0),i.showFunctions||t.add(1),i.showConstructors||t.add(2),i.showFields||t.add(3),i.showVariables||t.add(4),i.showClasses||t.add(5),i.showStructs||t.add(6),i.showInterfaces||t.add(7),i.showModules||t.add(8),i.showProperties||t.add(9),i.showEvents||t.add(10),i.showOperators||t.add(11),i.showUnits||t.add(12),i.showValues||t.add(13),i.showConstants||t.add(14),i.showEnums||t.add(15),i.showEnumMembers||t.add(16),i.showKeywords||t.add(17),i.showWords||t.add(18),i.showColors||t.add(19),i.showFiles||t.add(20),i.showReferences||t.add(21),i.showColors||t.add(22),i.showFolders||t.add(23),i.showTypeParameters||t.add(24),i.showSnippets||t.add(27),i.showUsers||t.add(25),i.showIssues||t.add(26),{itemKind:t,showDeprecated:i.showDeprecated}}_onNewContext(e){if(!!this._context){if(e.lineNumber!==this._context.lineNumber){this.cancel();return}if(Mu(e.leadingLineContent)!==Mu(this._context.leadingLineContent)){this.cancel();return}if(e.column<this._context.column){e.leadingWord.word?this.trigger({auto:this._context.auto,shy:!1},!0):this.cancel();return}if(!!this._completionModel){if(e.leadingWord.word.length!==0&&e.leadingWord.startColumn>this._context.leadingWord.startColumn){const t=new Set(this._languageFeaturesService.completionProvider.all(this._editor.getModel()));for(let i of this._completionModel.allProvider)t.delete(i);const n=this._completionModel.adopt(new Set);this.trigger({auto:this._context.auto,shy:!1},!0,t,{items:n,clipboardText:this._completionModel.clipboardText});return}if(e.column>this._context.column&&this._completionModel.incomplete.size>0&&e.leadingWord.word.length!==0){const{incomplete:t}=this._completionModel,n=this._completionModel.adopt(t);this.trigger({auto:this._state===2,shy:!1,triggerKind:2},!0,t,{items:n,clipboardText:this._completionModel.clipboardText})}else{let t=this._completionModel.lineContext,n=!1;if(this._completionModel.lineContext={leadingLineContent:e.leadingLineContent,characterCountDelta:e.column-this._context.column},this._completionModel.items.length===0){if(tx.shouldAutoTrigger(this._editor)&&this._context.leadingWord.endColumn<e.leadingWord.startColumn){this.trigger({auto:this._context.auto,shy:!1},!0);return}if(this._context.auto){this.cancel();return}else if(this._completionModel.lineContext=t,n=this._completionModel.items.length>0,n&&e.leadingWord.word.length===0){this.cancel();return}}this._onDidSuggest.fire({completionModel:this._completionModel,auto:this._context.auto,shy:this._context.shy,isFrozen:n})}}}}};BK=C$e([k2(1,Bg),k2(2,_w),k2(3,sy),k2(4,km),k2(5,Xa),k2(6,Uu),k2(7,$o)],BK);class J9{constructor(e,t){this._disposables=new fs,this._lastOvertyped=[],this._empty=!0,this._disposables.add(e.onWillType(()=>{if(!this._empty||!e.hasModel())return;const n=e.getSelections(),i=n.length;let s=!1;for(let l=0;l<i;l++)if(!n[l].isEmpty()){s=!0;break}if(!s)return;this._lastOvertyped=[];const a=e.getModel();for(let l=0;l<i;l++){const u=n[l];if(a.getValueLengthInRange(u)>J9._maxSelectionLength)return;this._lastOvertyped[l]={value:a.getValueInRange(u),multiline:u.startLineNumber!==u.endLineNumber}}this._empty=!1})),this._disposables.add(t.onDidCancel(n=>{!this._empty&&!n.retrigger&&(this._empty=!0)}))}getLastOvertypedInfo(e){if(!this._empty&&e>=0&&e<this._lastOvertyped.length)return this._lastOvertyped[e]}dispose(){this._disposables.dispose()}}J9._maxSelectionLength=51200;var x$e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},$H=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};class _Y extends SE{updateLabel(){const e=this._keybindingService.lookupKeybinding(this._action.id,this._contextKeyService);if(!e)return super.updateLabel();this.label&&(this.label.textContent=w(\"ddd\",\"{0} ({1})\",this._action.label,_Y.symbolPrintEnter(e)))}static symbolPrintEnter(e){var t;return(t=e.getLabel())===null||t===void 0?void 0:t.replace(/\\benter\\b/gi,\"\\u23CE\")}}let jK=class{constructor(e,t,n,i){this._menuService=n,this._contextKeyService=i,this._menuDisposables=new fs,this.element=Jr(e,ls(\".suggest-status-bar\"));const s=a=>a instanceof iC?t.createInstance(_Y,a,void 0):void 0;this._leftActions=new Z1(this.element,{actionViewItemProvider:s}),this._rightActions=new Z1(this.element,{actionViewItemProvider:s}),this._leftActions.domNode.classList.add(\"left\"),this._rightActions.domNode.classList.add(\"right\")}dispose(){this._menuDisposables.dispose(),this.element.remove()}show(){const e=this._menuService.createMenu(fC,this._contextKeyService),t=()=>{const n=[],i=[];for(let[s,a]of e.getActions())s===\"left\"?n.push(...a):i.push(...a);this._leftActions.clear(),this._leftActions.push(n),this._rightActions.clear(),this._rightActions.push(i)};this._menuDisposables.add(e.onDidChange(()=>t())),this._menuDisposables.add(e)}hide(){this._menuDisposables.clear()}};jK=x$e([$H(1,Nl),$H(2,cw),$H(3,Xa)],jK);const E$e=ln(\"symbolIcon.arrayForeground\",{dark:wo,light:wo,hc:wo},w(\"symbolIcon.arrayForeground\",\"The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),T$e=ln(\"symbolIcon.booleanForeground\",{dark:wo,light:wo,hc:wo},w(\"symbolIcon.booleanForeground\",\"The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),A$e=ln(\"symbolIcon.classForeground\",{dark:\"#EE9D28\",light:\"#D67E00\",hc:\"#EE9D28\"},w(\"symbolIcon.classForeground\",\"The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),k$e=ln(\"symbolIcon.colorForeground\",{dark:wo,light:wo,hc:wo},w(\"symbolIcon.colorForeground\",\"The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),L$e=ln(\"symbolIcon.constantForeground\",{dark:wo,light:wo,hc:wo},w(\"symbolIcon.constantForeground\",\"The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),N$e=ln(\"symbolIcon.constructorForeground\",{dark:\"#B180D7\",light:\"#652D90\",hc:\"#B180D7\"},w(\"symbolIcon.constructorForeground\",\"The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),I$e=ln(\"symbolIcon.enumeratorForeground\",{dark:\"#EE9D28\",light:\"#D67E00\",hc:\"#EE9D28\"},w(\"symbolIcon.enumeratorForeground\",\"The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),F$e=ln(\"symbolIcon.enumeratorMemberForeground\",{dark:\"#75BEFF\",light:\"#007ACC\",hc:\"#75BEFF\"},w(\"symbolIcon.enumeratorMemberForeground\",\"The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),P$e=ln(\"symbolIcon.eventForeground\",{dark:\"#EE9D28\",light:\"#D67E00\",hc:\"#EE9D28\"},w(\"symbolIcon.eventForeground\",\"The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),O$e=ln(\"symbolIcon.fieldForeground\",{dark:\"#75BEFF\",light:\"#007ACC\",hc:\"#75BEFF\"},w(\"symbolIcon.fieldForeground\",\"The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),M$e=ln(\"symbolIcon.fileForeground\",{dark:wo,light:wo,hc:wo},w(\"symbolIcon.fileForeground\",\"The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),R$e=ln(\"symbolIcon.folderForeground\",{dark:wo,light:wo,hc:wo},w(\"symbolIcon.folderForeground\",\"The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),B$e=ln(\"symbolIcon.functionForeground\",{dark:\"#B180D7\",light:\"#652D90\",hc:\"#B180D7\"},w(\"symbolIcon.functionForeground\",\"The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),j$e=ln(\"symbolIcon.interfaceForeground\",{dark:\"#75BEFF\",light:\"#007ACC\",hc:\"#75BEFF\"},w(\"symbolIcon.interfaceForeground\",\"The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),W$e=ln(\"symbolIcon.keyForeground\",{dark:wo,light:wo,hc:wo},w(\"symbolIcon.keyForeground\",\"The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),V$e=ln(\"symbolIcon.keywordForeground\",{dark:wo,light:wo,hc:wo},w(\"symbolIcon.keywordForeground\",\"The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),H$e=ln(\"symbolIcon.methodForeground\",{dark:\"#B180D7\",light:\"#652D90\",hc:\"#B180D7\"},w(\"symbolIcon.methodForeground\",\"The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),$$e=ln(\"symbolIcon.moduleForeground\",{dark:wo,light:wo,hc:wo},w(\"symbolIcon.moduleForeground\",\"The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),z$e=ln(\"symbolIcon.namespaceForeground\",{dark:wo,light:wo,hc:wo},w(\"symbolIcon.namespaceForeground\",\"The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),U$e=ln(\"symbolIcon.nullForeground\",{dark:wo,light:wo,hc:wo},w(\"symbolIcon.nullForeground\",\"The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),K$e=ln(\"symbolIcon.numberForeground\",{dark:wo,light:wo,hc:wo},w(\"symbolIcon.numberForeground\",\"The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),q$e=ln(\"symbolIcon.objectForeground\",{dark:wo,light:wo,hc:wo},w(\"symbolIcon.objectForeground\",\"The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),G$e=ln(\"symbolIcon.operatorForeground\",{dark:wo,light:wo,hc:wo},w(\"symbolIcon.operatorForeground\",\"The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),J$e=ln(\"symbolIcon.packageForeground\",{dark:wo,light:wo,hc:wo},w(\"symbolIcon.packageForeground\",\"The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),Y$e=ln(\"symbolIcon.propertyForeground\",{dark:wo,light:wo,hc:wo},w(\"symbolIcon.propertyForeground\",\"The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),X$e=ln(\"symbolIcon.referenceForeground\",{dark:wo,light:wo,hc:wo},w(\"symbolIcon.referenceForeground\",\"The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),Q$e=ln(\"symbolIcon.snippetForeground\",{dark:wo,light:wo,hc:wo},w(\"symbolIcon.snippetForeground\",\"The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),Z$e=ln(\"symbolIcon.stringForeground\",{dark:wo,light:wo,hc:wo},w(\"symbolIcon.stringForeground\",\"The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),eze=ln(\"symbolIcon.structForeground\",{dark:wo,light:wo,hc:wo},w(\"symbolIcon.structForeground\",\"The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),tze=ln(\"symbolIcon.textForeground\",{dark:wo,light:wo,hc:wo},w(\"symbolIcon.textForeground\",\"The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),nze=ln(\"symbolIcon.typeParameterForeground\",{dark:wo,light:wo,hc:wo},w(\"symbolIcon.typeParameterForeground\",\"The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),ize=ln(\"symbolIcon.unitForeground\",{dark:wo,light:wo,hc:wo},w(\"symbolIcon.unitForeground\",\"The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\")),rze=ln(\"symbolIcon.variableForeground\",{dark:\"#75BEFF\",light:\"#007ACC\",hc:\"#75BEFF\"},w(\"symbolIcon.variableForeground\",\"The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget.\"));ac((o,e)=>{const t=o.getColor(E$e);t&&e.addRule(`${E.symbolArray.cssSelector} { color: ${t}; }`);const n=o.getColor(T$e);n&&e.addRule(`${E.symbolBoolean.cssSelector} { color: ${n}; }`);const i=o.getColor(A$e);i&&e.addRule(`${E.symbolClass.cssSelector} { color: ${i}; }`);const s=o.getColor(H$e);s&&e.addRule(`${E.symbolMethod.cssSelector} { color: ${s}; }`);const a=o.getColor(k$e);a&&e.addRule(`${E.symbolColor.cssSelector} { color: ${a}; }`);const l=o.getColor(L$e);l&&e.addRule(`${E.symbolConstant.cssSelector} { color: ${l}; }`);const u=o.getColor(N$e);u&&e.addRule(`${E.symbolConstructor.cssSelector} { color: ${u}; }`);const d=o.getColor(I$e);d&&e.addRule(`\n\t\t\t${E.symbolValue.cssSelector},${E.symbolEnum.cssSelector} { color: ${d}; }`);const h=o.getColor(F$e);h&&e.addRule(`${E.symbolEnumMember.cssSelector} { color: ${h}; }`);const p=o.getColor(P$e);p&&e.addRule(`${E.symbolEvent.cssSelector} { color: ${p}; }`);const g=o.getColor(O$e);g&&e.addRule(`${E.symbolField.cssSelector} { color: ${g}; }`);const y=o.getColor(M$e);y&&e.addRule(`${E.symbolFile.cssSelector} { color: ${y}; }`);const D=o.getColor(R$e);D&&e.addRule(`${E.symbolFolder.cssSelector} { color: ${D}; }`);const T=o.getColor(B$e);T&&e.addRule(`${E.symbolFunction.cssSelector} { color: ${T}; }`);const k=o.getColor(j$e);k&&e.addRule(`${E.symbolInterface.cssSelector} { color: ${k}; }`);const I=o.getColor(W$e);I&&e.addRule(`${E.symbolKey.cssSelector} { color: ${I}; }`);const F=o.getColor(V$e);F&&e.addRule(`${E.symbolKeyword.cssSelector} { color: ${F}; }`);const q=o.getColor($$e);q&&e.addRule(`${E.symbolModule.cssSelector} { color: ${q}; }`);const re=o.getColor(z$e);re&&e.addRule(`${E.symbolNamespace.cssSelector} { color: ${re}; }`);const Ie=o.getColor(U$e);Ie&&e.addRule(`${E.symbolNull.cssSelector} { color: ${Ie}; }`);const mt=o.getColor(K$e);mt&&e.addRule(`${E.symbolNumber.cssSelector} { color: ${mt}; }`);const Le=o.getColor(q$e);Le&&e.addRule(`${E.symbolObject.cssSelector} { color: ${Le}; }`);const Ge=o.getColor(G$e);Ge&&e.addRule(`${E.symbolOperator.cssSelector} { color: ${Ge}; }`);const qt=o.getColor(J$e);qt&&e.addRule(`${E.symbolPackage.cssSelector} { color: ${qt}; }`);const gi=o.getColor(Y$e);gi&&e.addRule(`${E.symbolProperty.cssSelector} { color: ${gi}; }`);const ai=o.getColor(X$e);ai&&e.addRule(`${E.symbolReference.cssSelector} { color: ${ai}; }`);const Tr=o.getColor(Q$e);Tr&&e.addRule(`${E.symbolSnippet.cssSelector} { color: ${Tr}; }`);const Vr=o.getColor(Z$e);Vr&&e.addRule(`${E.symbolString.cssSelector} { color: ${Vr}; }`);const go=o.getColor(eze);go&&e.addRule(`${E.symbolStruct.cssSelector} { color: ${go}; }`);const Js=o.getColor(tze);Js&&e.addRule(`${E.symbolText.cssSelector} { color: ${Js}; }`);const Fo=o.getColor(nze);Fo&&e.addRule(`${E.symbolTypeParameter.cssSelector} { color: ${Fo}; }`);const aa=o.getColor(ize);aa&&e.addRule(`${E.symbolUnit.cssSelector} { color: ${aa}; }`);const Qo=o.getColor(rze);Qo&&e.addRule(`${E.symbolVariable.cssSelector} { color: ${Qo}; }`)});class s_e{constructor(){this._onDidWillResize=new ri,this.onDidWillResize=this._onDidWillResize.event,this._onDidResize=new ri,this.onDidResize=this._onDidResize.event,this._sashListener=new fs,this._size=new Hu(0,0),this._minSize=new Hu(0,0),this._maxSize=new Hu(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),this.domNode=document.createElement(\"div\"),this._eastSash=new gp(this.domNode,{getVerticalSashLeft:()=>this._size.width},{orientation:0}),this._westSash=new gp(this.domNode,{getVerticalSashLeft:()=>0},{orientation:0}),this._northSash=new gp(this.domNode,{getHorizontalSashTop:()=>0},{orientation:1,orthogonalEdge:w7.North}),this._southSash=new gp(this.domNode,{getHorizontalSashTop:()=>this._size.height},{orientation:1,orthogonalEdge:w7.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,n=0;this._sashListener.add(Xo.any(this._northSash.onDidStart,this._eastSash.onDidStart,this._southSash.onDidStart,this._westSash.onDidStart)(()=>{e===void 0&&(this._onDidWillResize.fire(),e=this._size,t=0,n=0)})),this._sashListener.add(Xo.any(this._northSash.onDidEnd,this._eastSash.onDidEnd,this._southSash.onDidEnd,this._westSash.onDidEnd)(()=>{e!==void 0&&(e=void 0,t=0,n=0,this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(this._eastSash.onDidChange(i=>{e&&(n=i.currentX-i.startX,this.layout(e.height+t,e.width+n),this._onDidResize.fire({dimension:this._size,done:!1,east:!0}))})),this._sashListener.add(this._westSash.onDidChange(i=>{e&&(n=-(i.currentX-i.startX),this.layout(e.height+t,e.width+n),this._onDidResize.fire({dimension:this._size,done:!1,west:!0}))})),this._sashListener.add(this._northSash.onDidChange(i=>{e&&(t=-(i.currentY-i.startY),this.layout(e.height+t,e.width+n),this._onDidResize.fire({dimension:this._size,done:!1,north:!0}))})),this._sashListener.add(this._southSash.onDidChange(i=>{e&&(t=i.currentY-i.startY,this.layout(e.height+t,e.width+n),this._onDidResize.fire({dimension:this._size,done:!1,south:!0}))})),this._sashListener.add(Xo.any(this._eastSash.onDidReset,this._westSash.onDidReset)(i=>{this._preferredSize&&(this.layout(this._size.height,this._preferredSize.width),this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(Xo.any(this._northSash.onDidReset,this._southSash.onDidReset)(i=>{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,n,i){this._northSash.state=e?3:0,this._eastSash.state=t?3:0,this._southSash.state=n?3:0,this._westSash.state=i?3:0}layout(e=this.size.height,t=this.size.width){const{height:n,width:i}=this._minSize,{height:s,width:a}=this._maxSize;e=Math.max(n,Math.min(s,e)),t=Math.max(i,Math.min(a,t));const l=new Hu(t,e);Hu.equals(l,this._size)||(this.domNode.style.height=e+\"px\",this.domNode.style.width=t+\"px\",this._size=l,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}}var sze=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},oze=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};function gY(o){return!!o&&Boolean(o.completion.documentation||o.completion.detail&&o.completion.detail!==o.completion.label)}let WK=class{constructor(e,t){this._editor=e,this._onDidClose=new ri,this.onDidClose=this._onDidClose.event,this._onDidChangeContents=new ri,this.onDidChangeContents=this._onDidChangeContents.event,this._disposables=new fs,this._renderDisposeable=new fs,this._borderWidth=1,this._size=new Hu(330,0),this.domNode=ls(\".suggest-details\"),this.domNode.classList.add(\"no-docs\"),this._markdownRenderer=t.createInstance(kb,{editor:e}),this._body=ls(\".body\"),this._scrollbar=new a4(this._body,{}),Jr(this.domNode,this._scrollbar.getDomNode()),this._disposables.add(this._scrollbar),this._header=Jr(this._body,ls(\".header\")),this._close=Jr(this._header,ls(\"span\"+E.close.cssSelector)),this._close.title=w(\"details.close\",\"Close\"),this._type=Jr(this._header,ls(\"p.type\")),this._docs=Jr(this._body,ls(\"p.docs\")),this._configureFont(),this._disposables.add(this._editor.onDidChangeConfiguration(n=>{n.hasChanged(44)&&this._configureFont()}))}dispose(){this._disposables.dispose(),this._renderDisposeable.dispose()}_configureFont(){const e=this._editor.getOptions(),t=e.get(44),n=t.getMassagedFontFamily(Am?Rp.fontFamily:null),i=e.get(107)||t.fontSize,s=e.get(108)||t.lineHeight,a=t.fontWeight,l=`${i}px`,u=`${s}px`;this.domNode.style.fontSize=l,this.domNode.style.lineHeight=`${s/i}`,this.domNode.style.fontWeight=a,this.domNode.style.fontFeatureSettings=t.fontFeatureSettings,this._type.style.fontFamily=n,this._close.style.height=u,this._close.style.width=u}getLayoutInfo(){const e=this._editor.getOption(108)||this._editor.getOption(44).lineHeight,t=this._borderWidth,n=t*2;return{lineHeight:e,borderWidth:t,borderHeight:n,verticalPadding:22,horizontalPadding:14}}renderLoading(){this._type.textContent=w(\"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 n,i;this._renderDisposeable.clear();let{detail:s,documentation:a}=e.completion;if(t){let l=\"\";l+=`score: ${e.score[0]}\n`,l+=`prefix: ${(n=e.word)!==null&&n!==void 0?n:\"(no prefix)\"}\n`,l+=`word: ${e.completion.filterText?e.completion.filterText+\" (filterText)\":e.textLabel}\n`,l+=`distance: ${e.distance} (localityBonus-setting)\n`,l+=`index: ${e.idx}, based on ${e.completion.sortText&&`sortText: \"${e.completion.sortText}\"`||\"label\"}\n`,l+=`commit_chars: ${(i=e.completion.commitCharacters)===null||i===void 0?void 0:i.join(\"\")}\n`,a=new H_().appendCodeblock(\"empty\",l),s=`Provider: ${e.provider._debugDisplayName}`}if(!t&&!gY(e)){this.clearContents();return}if(this.domNode.classList.remove(\"no-docs\",\"no-type\"),s){const l=s.length>1e5?`${s.substr(0,1e5)}\\u2026`:s;this._type.textContent=l,this._type.title=l,W_(this._type),this._type.classList.toggle(\"auto-wrap\",!/\\r?\\n^\\s+/gmi.test(l))}else nh(this._type),this._type.title=\"\",Of(this._type),this.domNode.classList.add(\"no-type\");if(nh(this._docs),typeof a==\"string\")this._docs.classList.remove(\"markdown-docs\"),this._docs.textContent=a;else if(a){this._docs.classList.add(\"markdown-docs\"),nh(this._docs);const l=this._markdownRenderer.render(a);this._docs.appendChild(l.element),this._renderDisposeable.add(l),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=l=>{l.preventDefault(),l.stopPropagation()},this._close.onclick=l=>{l.preventDefault(),l.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 size(){return this._size}layout(e,t){const n=new Hu(e,t);Hu.equals(n,this._size)||(this._size=n,V3e(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}};WK=sze([oze(1,Nl)],WK);class aze{constructor(e,t){this.widget=e,this._editor=t,this._disposables=new fs,this._added=!1,this._preferAlignAtTop=!0,this._resizable=new s_e,this._resizable.domNode.classList.add(\"suggest-details-container\"),this._resizable.domNode.appendChild(e.domNode),this._resizable.enableSashes(!1,!0,!0,!1);let n,i,s=0,a=0;this._disposables.add(this._resizable.onDidWillResize(()=>{n=this._topLeft,i=this._resizable.size})),this._disposables.add(this._resizable.onDidResize(l=>{if(n&&i){this.widget.layout(l.dimension.width,l.dimension.height);let u=!1;l.west&&(a=i.width-l.dimension.width,u=!0),l.north&&(s=i.height-l.dimension.height,u=!0),u&&this._applyTopLeft({top:n.top+s,left:n.left+a})}l.done&&(n=void 0,i=void 0,s=0,a=0,this._userSize=l.dimension)})),this._disposables.add(this.widget.onDidChangeContents(()=>{var l;this._anchorBox&&this._placeAtAnchor(this._anchorBox,(l=this._userSize)!==null&&l!==void 0?l: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 null}show(){this._added||(this._editor.addOverlayWidget(this),this.getDomNode().style.position=\"fixed\",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 n;const i=e.getBoundingClientRect();this._anchorBox=i,this._preferAlignAtTop=t,this._placeAtAnchor(this._anchorBox,(n=this._userSize)!==null&&n!==void 0?n:this.widget.size,t)}_placeAtAnchor(e,t,n){var i;const s=NP(document.body),a=this.widget.getLayoutInfo(),l=new Hu(220,2*a.lineHeight),u=e.top,d=function(){const q=s.width-(e.left+e.width+a.borderWidth+a.horizontalPadding),re=-a.borderWidth+e.left+e.width,Ie=new Hu(q,s.height-e.top-a.borderHeight-a.verticalPadding),mt=Ie.with(void 0,e.top+e.height-a.borderHeight-a.verticalPadding);return{top:u,left:re,fit:q-t.width,maxSizeTop:Ie,maxSizeBottom:mt,minSize:l.with(Math.min(q,l.width))}}(),h=function(){const q=e.left-a.borderWidth-a.horizontalPadding,re=Math.max(a.horizontalPadding,e.left-t.width-a.borderWidth),Ie=new Hu(q,s.height-e.top-a.borderHeight-a.verticalPadding),mt=Ie.with(void 0,e.top+e.height-a.borderHeight-a.verticalPadding);return{top:u,left:re,fit:q-t.width,maxSizeTop:Ie,maxSizeBottom:mt,minSize:l.with(Math.min(q,l.width))}}(),p=function(){const q=e.left,re=-a.borderWidth+e.top+e.height,Ie=new Hu(e.width-a.borderHeight,s.height-e.top-e.height-a.verticalPadding);return{top:re,left:q,fit:Ie.height-t.height,maxSizeBottom:Ie,maxSizeTop:Ie,minSize:l.with(Ie.width)}}(),g=[d,h,p],y=(i=g.find(q=>q.fit>=0))!==null&&i!==void 0?i:g.sort((q,re)=>re.fit-q.fit)[0],D=e.top+e.height-a.borderHeight;let T,k=t.height;const I=Math.max(y.maxSizeTop.height,y.maxSizeBottom.height);k>I&&(k=I);let F;n?k<=y.maxSizeTop.height?(T=!0,F=y.maxSizeTop):(T=!1,F=y.maxSizeBottom):k<=y.maxSizeBottom.height?(T=!1,F=y.maxSizeBottom):(T=!0,F=y.maxSizeTop),this._applyTopLeft({left:y.left,top:T?y.top:D-k}),this.getDomNode().style.position=\"fixed\",this._resizable.enableSashes(!T,y===d,T,y!==d),this._resizable.minSize=y.minSize,this._resizable.maxSize=F,this._resizable.layout(k,Math.min(F.width,t.width)),this.widget.layout(this._resizable.size.width,this._resizable.size.height)}_applyTopLeft(e){this._topLeft=e,this.getDomNode().style.left=`${this._topLeft.left}px`,this.getDomNode().style.top=`${this._topLeft.top}px`}}var _b;(function(o){o[o.FILE=0]=\"FILE\",o[o.FOLDER=1]=\"FOLDER\",o[o.ROOT_FOLDER=2]=\"ROOT_FOLDER\"})(_b||(_b={}));const lze=/(?:\\/|^)(?:([^\\/]+)\\/)?([^\\/]+)$/;function R5(o,e,t,n){const i=n===_b.ROOT_FOLDER?[\"rootfolder-icon\"]:n===_b.FOLDER?[\"folder-icon\"]:[\"file-icon\"];if(t){let s;if(t.scheme===dl.data)s=oC.parseMetaData(t).get(oC.META_DATA_LABEL);else{const a=t.path.match(lze);a?(s=B5(a[2].toLowerCase()),a[1]&&i.push(`${B5(a[1].toLowerCase())}-name-dir-icon`)):s=B5(t.authority.toLowerCase())}if(n===_b.FOLDER)i.push(`${s}-name-folder-icon`);else{if(s){if(i.push(`${s}-name-file-icon`),i.push(\"name-file-icon\"),s.length<=255){const l=s.split(\".\");for(let u=1;u<l.length;u++)i.push(`${l.slice(u).join(\".\")}-ext-file-icon`)}i.push(\"ext-file-icon\")}const a=uze(o,e,t);a&&i.push(`${B5(a)}-lang-file-icon`)}}return i}function uze(o,e,t){if(!t)return null;let n=null;if(t.scheme===dl.data){const s=oC.parseMetaData(t).get(oC.META_DATA_MIME);s&&(n=e.getLanguageIdByMimeType(s))}else{const i=o.getModel(t);i&&(n=i.getLanguageId())}return n&&n!==ay?n:e.guessLanguageIdByFilepathOrFirstLine(t)}function B5(o){return o.replace(/[\\11\\12\\14\\15\\40]/g,\"/\")}var cze=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},zH=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},jk;function o_e(o){return`suggest-aria-id:${o}`}const dze=rh(\"suggest-more-info\",E.chevronRight,w(\"suggestMoreInfoIcon\",\"Icon for more information in the suggest widget.\")),hze=new(jk=class S8{extract(e,t){if(e.textLabel.match(S8._regexStrict))return t[0]=e.textLabel,!0;if(e.completion.detail&&e.completion.detail.match(S8._regexStrict))return t[0]=e.completion.detail,!0;if(typeof e.completion.documentation==\"string\"){const n=S8._regexRelaxed.exec(e.completion.documentation);if(n&&(n.index===0||n.index+n[0].length===e.completion.documentation.length))return t[0]=n[0],!0}return!1}},jk._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*\\))/,jk._regexStrict=new RegExp(`^${jk._regexRelaxed.source}$`,\"i\"),jk);let VK=class{constructor(e,t,n,i){this._editor=e,this._modelService=t,this._languageService=n,this._themeService=i,this._onDidToggleDetails=new ri,this.onDidToggleDetails=this._onDidToggleDetails.event,this.templateId=\"suggestion\"}dispose(){this._onDidToggleDetails.dispose()}renderTemplate(e){const t=Object.create(null);t.disposables=new fs,t.root=e,t.root.classList.add(\"show-file-icons\"),t.icon=Jr(e,ls(\".icon\")),t.colorspan=Jr(t.icon,ls(\"span.colorspan\"));const n=Jr(e,ls(\".contents\")),i=Jr(n,ls(\".main\"));t.iconContainer=Jr(i,ls(\".icon-label.codicon\")),t.left=Jr(i,ls(\"span.left\")),t.right=Jr(i,ls(\"span.right\")),t.iconLabel=new W7(t.left,{supportHighlights:!0,supportIcons:!0}),t.disposables.add(t.iconLabel),t.parametersLabel=Jr(t.left,ls(\"span.signature-label\")),t.qualifierLabel=Jr(t.left,ls(\"span.qualifier-label\")),t.detailsLabel=Jr(t.right,ls(\"span.details-label\")),t.readMore=Jr(t.right,ls(\"span.readMore\"+zu.asCSSSelector(dze))),t.readMore.title=w(\"readMore\",\"Read More\");const s=()=>{const a=this._editor.getOptions(),l=a.get(44),u=l.getMassagedFontFamily(Am?Rp.fontFamily:null),d=l.fontFeatureSettings,h=a.get(107)||l.fontSize,p=a.get(108)||l.lineHeight,g=l.fontWeight,y=`${h}px`,D=`${p}px`;t.root.style.fontSize=y,t.root.style.fontWeight=g,i.style.fontFamily=u,i.style.fontFeatureSettings=d,i.style.lineHeight=D,t.icon.style.height=D,t.icon.style.width=D,t.readMore.style.height=D,t.readMore.style.width=D};return s(),t.disposables.add(this._editor.onDidChangeConfiguration(a=>{(a.hasChanged(44)||a.hasChanged(107)||a.hasChanged(108))&&s()})),t}renderElement(e,t,n){const{completion:i}=e;n.root.id=o_e(t),n.colorspan.style.backgroundColor=\"\";const s={labelEscapeNewLines:!0,matches:u9(e.score)};let a=[];if(i.kind===19&&hze.extract(e,a))n.icon.className=\"icon customcolor\",n.iconContainer.className=\"icon hide\",n.colorspan.style.backgroundColor=a[0];else if(i.kind===20&&this._themeService.getFileIconTheme().hasFileIcons){n.icon.className=\"icon hide\",n.iconContainer.className=\"icon hide\";const l=R5(this._modelService,this._languageService,wa.from({scheme:\"fake\",path:e.textLabel}),_b.FILE),u=R5(this._modelService,this._languageService,wa.from({scheme:\"fake\",path:i.detail}),_b.FILE);s.extraClasses=l.length>u.length?l:u}else i.kind===23&&this._themeService.getFileIconTheme().hasFolderIcons?(n.icon.className=\"icon hide\",n.iconContainer.className=\"icon hide\",s.extraClasses=bq([R5(this._modelService,this._languageService,wa.from({scheme:\"fake\",path:e.textLabel}),_b.FOLDER),R5(this._modelService,this._languageService,wa.from({scheme:\"fake\",path:i.detail}),_b.FOLDER)])):(n.icon.className=\"icon hide\",n.iconContainer.className=\"\",n.iconContainer.classList.add(\"suggest-icon\",...df.asClassNameArray(M3.toIcon(i.kind))));i.tags&&i.tags.indexOf(1)>=0&&(s.extraClasses=(s.extraClasses||[]).concat([\"deprecated\"]),s.matches=[]),n.iconLabel.setLabel(e.textLabel,void 0,s),typeof i.label==\"string\"?(n.parametersLabel.textContent=\"\",n.detailsLabel.textContent=UH(i.detail||\"\"),n.root.classList.add(\"string-label\")):(n.parametersLabel.textContent=UH(i.label.detail||\"\"),n.detailsLabel.textContent=UH(i.label.description||\"\"),n.root.classList.remove(\"string-label\")),this._editor.getOption(106).showInlineDetails?W_(n.detailsLabel):Of(n.detailsLabel),gY(e)?(n.right.classList.add(\"can-expand-details\"),W_(n.readMore),n.readMore.onmousedown=l=>{l.stopPropagation(),l.preventDefault()},n.readMore.onclick=l=>{l.stopPropagation(),l.preventDefault(),this._onDidToggleDetails.fire()}):(n.right.classList.remove(\"can-expand-details\"),Of(n.readMore),n.readMore.onmousedown=null,n.readMore.onclick=null)}disposeTemplate(e){e.disposables.dispose()}};VK=cze([zH(1,Oc),zH(2,Pc),zH(3,gc)],VK);function UH(o){return o.replace(/\\r\\n|\\r|\\n/g,\"\")}var pze=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},j5=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},fze=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};ln(\"editorSuggestWidget.background\",{dark:ff,light:ff,hc:ff},w(\"editorSuggestWidgetBackground\",\"Background color of the suggest widget.\"));ln(\"editorSuggestWidget.border\",{dark:lD,light:lD,hc:lD},w(\"editorSuggestWidgetBorder\",\"Border color of the suggest widget.\"));const KH=ln(\"editorSuggestWidget.foreground\",{dark:Hv,light:Hv,hc:Hv},w(\"editorSuggestWidgetForeground\",\"Foreground color of the suggest widget.\"));ln(\"editorSuggestWidget.selectedForeground\",{dark:i8,light:i8,hc:i8},w(\"editorSuggestWidgetSelectedForeground\",\"Foreground color of the selected entry in the suggest widget.\"));ln(\"editorSuggestWidget.selectedIconForeground\",{dark:r8,light:r8,hc:r8},w(\"editorSuggestWidgetSelectedIconForeground\",\"Icon foreground color of the selected entry in the suggest widget.\"));const _ze=ln(\"editorSuggestWidget.selectedBackground\",{dark:s8,light:s8,hc:s8},w(\"editorSuggestWidgetSelectedBackground\",\"Background color of the selected entry in the suggest widget.\"));ln(\"editorSuggestWidget.highlightForeground\",{dark:vb,light:vb,hc:vb},w(\"editorSuggestWidgetHighlightForeground\",\"Color of the match highlights in the suggest widget.\"));ln(\"editorSuggestWidget.focusHighlightForeground\",{dark:pV,light:pV,hc:pV},w(\"editorSuggestWidgetFocusHighlightForeground\",\"Color of the match highlights in the suggest widget when an item is focused.\"));ln(\"editorSuggestWidgetStatus.foreground\",{dark:Ra(KH,.5),light:Ra(KH,.5),hc:Ra(KH,.5)},w(\"editorSuggestWidgetStatusForeground\",\"Foreground color of the suggest widget status.\"));class gze{constructor(e,t){this._service=e,this._key=`suggestWidget.size/${t.getEditorType()}/${t instanceof $D}`}restore(){var e;const t=(e=this._service.get(this._key,0))!==null&&e!==void 0?e:\"\";try{const n=JSON.parse(t);if(Hu.is(n))return Hu.lift(n)}catch{}}store(e){this._service.store(this._key,JSON.stringify(e),0,1)}reset(){this._service.remove(this._key,0)}}let WL=class HK{constructor(e,t,n,i,s){this.editor=e,this._storageService=t,this._state=0,this._isAuto=!1,this._ignoreFocusEvents=!1,this._forceRenderingAbove=!1,this._explainMode=!1,this._showTimeout=new g_,this._disposables=new fs,this._onDidSelect=new ri,this._onDidFocus=new ri,this._onDidHide=new ri,this._onDidShow=new ri,this.onDidSelect=this._onDidSelect.event,this.onDidFocus=this._onDidFocus.event,this.onDidHide=this._onDidHide.event,this.onDidShow=this._onDidShow.event,this._onDetailsKeydown=new ri,this.onDetailsKeyDown=this._onDetailsKeydown.event,this.element=new s_e,this.element.domNode.classList.add(\"editor-widget\",\"suggest-widget\"),this._contentWidget=new mze(this,e),this._persistedSize=new gze(t,e);class a{constructor(y,D,T=!1,k=!1){this.persistedSize=y,this.currentSize=D,this.persistHeight=T,this.persistWidth=k}}let l;this._disposables.add(this.element.onDidWillResize(()=>{this._contentWidget.lockPreference(),l=new a(this._persistedSize.restore(),this.element.size)})),this._disposables.add(this.element.onDidResize(g=>{var y,D,T,k;if(this._resize(g.dimension.width,g.dimension.height),l&&(l.persistHeight=l.persistHeight||!!g.north||!!g.south,l.persistWidth=l.persistWidth||!!g.east||!!g.west),!!g.done){if(l){const{itemHeight:I,defaultSize:F}=this.getLayoutInfo(),q=Math.round(I/2);let{width:re,height:Ie}=this.element.size;(!l.persistHeight||Math.abs(l.currentSize.height-Ie)<=q)&&(Ie=(D=(y=l.persistedSize)===null||y===void 0?void 0:y.height)!==null&&D!==void 0?D:F.height),(!l.persistWidth||Math.abs(l.currentSize.width-re)<=q)&&(re=(k=(T=l.persistedSize)===null||T===void 0?void 0:T.width)!==null&&k!==void 0?k:F.width),this._persistedSize.store(new Hu(re,Ie))}this._contentWidget.unlockPreference(),l=void 0}})),this._messageElement=Jr(this.element.domNode,ls(\".message\")),this._listElement=Jr(this.element.domNode,ls(\".tree\"));const u=s.createInstance(WK,this.editor);u.onDidClose(this.toggleDetails,this,this._disposables),this._details=new aze(u,this.editor);const d=()=>this.element.domNode.classList.toggle(\"no-icons\",!this.editor.getOption(106).showIcons);d();const h=s.createInstance(VK,this.editor);this._disposables.add(h),this._disposables.add(h.onDidToggleDetails(()=>this.toggleDetails())),this._list=new ly(\"SuggestWidget\",this._listElement,{getHeight:g=>this.getLayoutInfo().itemHeight,getTemplateId:g=>\"suggestion\"},[h],{alwaysConsumeMouseWheel:!0,useShadows:!1,mouseSupport:!1,accessibilityProvider:{getRole:()=>\"option\",getWidgetAriaLabel:()=>w(\"suggest\",\"Suggest\"),getWidgetRole:()=>\"listbox\",getAriaLabel:g=>{let y=g.textLabel;if(typeof g.completion.label!=\"string\"){const{detail:I,description:F}=g.completion.label;I&&F?y=w(\"label.full\",\"{0}{1}, {2}\",y,I,F):I?y=w(\"label.detail\",\"{0}{1}\",y,I):F&&(y=w(\"label.desc\",\"{0}, {1}\",y,F))}if(!g.isResolved||!this._isDetailsVisible())return y;const{documentation:D,detail:T}=g.completion,k=wg(\"{0}{1}\",T||\"\",D?typeof D==\"string\"?D:D.value:\"\");return w(\"ariaCurrenttSuggestionReadDetails\",\"{0}, docs: {1}\",y,k)}}}),this._status=s.createInstance(jK,this.element.domNode);const p=()=>this.element.domNode.classList.toggle(\"with-status-bar\",this.editor.getOption(106).showStatusBar);p(),this._disposables.add(MD(this._list,i,{listInactiveFocusBackground:_ze,listInactiveFocusOutline:Bp})),this._disposables.add(i.onDidColorThemeChange(g=>this._onThemeChange(g))),this._onThemeChange(i.getColorTheme()),this._disposables.add(this._list.onMouseDown(g=>this._onListMouseDownOrTap(g))),this._disposables.add(this._list.onTap(g=>this._onListMouseDownOrTap(g))),this._disposables.add(this._list.onDidChangeSelection(g=>this._onListSelection(g))),this._disposables.add(this._list.onDidChangeFocus(g=>this._onListFocus(g))),this._disposables.add(this.editor.onDidChangeCursorSelection(()=>this._onCursorSelectionChanged())),this._disposables.add(this.editor.onDidChangeConfiguration(g=>{g.hasChanged(106)&&(p(),d())})),this._ctxSuggestWidgetVisible=Kl.Visible.bindTo(n),this._ctxSuggestWidgetDetailsVisible=Kl.DetailsVisible.bindTo(n),this._ctxSuggestWidgetMultipleSuggestions=Kl.MultipleSuggestions.bindTo(n),this._disposables.add(Fh(this._details.widget.domNode,\"keydown\",g=>{this._onDetailsKeydown.fire(g)})),this._disposables.add(this.editor.onMouseDown(g=>this._onEditorMouseDown(g)))}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._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==\"undefined\"||typeof e.index==\"undefined\"||(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 n=this._completionModel;n&&(this._onDidSelect.fire({item:e,index:t,model:n}),this.editor.focus())}_onThemeChange(e){this._details.widget.borderWidth=e.type===\"hc\"?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});return}if(!this._completionModel)return;const n=e.elements[0],i=e.indexes[0];n!==this._focusedItem&&((t=this._currentSuggestionDetails)===null||t===void 0||t.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=n,this._list.reveal(i),this._currentSuggestionDetails=Oh(s=>fze(this,void 0,void 0,function*(){const a=SD(()=>{this._isDetailsVisible()&&this.showDetails(!0)},250),l=s.onCancellationRequested(()=>a.dispose()),u=yield n.resolve(s);return a.dispose(),l.dispose(),u})),this._currentSuggestionDetails.then(()=>{i>=this._list.length||n!==this._list.element(i)||(this._ignoreFocusEvents=!0,this._list.splice(i,1,[n]),this._list.setFocus([i]),this._ignoreFocusEvents=!1,this._isDetailsVisible()?this.showDetails(!1):this.element.domNode.classList.remove(\"docs-side\"),this.editor.setAriaOptions({activeDescendant:o_e(i)}))}).catch(tl)),this._onDidFocus.fire({item:n,index:i,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:Of(this._messageElement,this._listElement,this._status.element),this._details.hide(!0),this._status.hide(),this._contentWidget.hide(),this._ctxSuggestWidgetVisible.reset(),this._ctxSuggestWidgetMultipleSuggestions.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=HK.LOADING_MESSAGE,Of(this._listElement,this._status.element),W_(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0;break;case 2:this.element.domNode.classList.add(\"message\"),this._messageElement.textContent=HK.NO_SUGGESTIONS_MESSAGE,Of(this._listElement,this._status.element),W_(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0;break;case 3:Of(this._messageElement),W_(this._listElement,this._status.element),this._show();break;case 4:Of(this._messageElement),W_(this._listElement,this._status.element),this._show();break;case 5:Of(this._messageElement),W_(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=SD(()=>this._setState(1),t)))}showSuggestions(e,t,n,i){var s,a;if(this._contentWidget.setPosition(this.editor.getPosition()),(s=this._loadingTimeout)===null||s===void 0||s.dispose(),(a=this._currentSuggestionDetails)===null||a===void 0||a.cancel(),this._currentSuggestionDetails=void 0,this._completionModel!==e&&(this._completionModel=e),n&&this._state!==2&&this._state!==0){this._setState(4);return}const l=this._completionModel.items.length,u=l===0;if(this._ctxSuggestWidgetMultipleSuggestions.set(l>1),u){this._setState(i?0:2),this._completionModel=void 0;return}this._focusedItem=void 0,this._list.splice(0,this._list.length,this._completionModel.items),this._setState(n?4:3),this._list.reveal(t,0),this._list.setFocus([t]),this._layout(this.element.size),this._details.widget.domNode.classList.remove(\"focused\")}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)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._ctxSuggestWidgetDetailsVisible.set(!1),this._setDetailsVisible(!1),this._details.hide(),this.element.domNode.classList.remove(\"shows-details\")):(gY(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._details.show(),e?this._details.widget.renderLoading():this._details.widget.renderItem(this._list.getFocusedElements()[0],this._explainMode),this._positionDetails(),this.editor.focus(),this.element.domNode.classList.add(\"shows-details\")}toggleExplainMode(){this._list.getFocusedElements()[0]&&(this._explainMode=!this._explainMode,this._isDetailsVisible()?this.showDetails(!1):this.toggleDetails())}resetPersistedSize(){this._persistedSize.reset()}hideWidget(){var e;(e=this._loadingTimeout)===null||e===void 0||e.dispose(),this._setState(0),this._onDidHide.fire(this),this.element.clearSashHoverState();const t=this._persistedSize.restore(),n=Math.ceil(this.getLayoutInfo().itemHeight*4.3);t&&t.height<n&&this._persistedSize.store(t.with(void 0,n))}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.show(),this._positionDetails())}_layout(e){var t,n,i;if(!this.editor.hasModel()||!this.editor.getDomNode())return;const s=NP(document.body),a=this.getLayoutInfo();e||(e=a.defaultSize);let l=e.height,u=e.width;if(this._status.element.style.lineHeight=`${a.itemHeight}px`,this._state===2||this._state===1)l=a.itemHeight+a.borderHeight,u=a.defaultSize.width/2,this.element.enableSashes(!1,!1,!1,!1),this.element.minSize=this.element.maxSize=new Hu(u,l),this._contentWidget.setPreference(2);else{const d=s.width-a.borderHeight-2*a.horizontalPadding;u>d&&(u=d);const h=this._completionModel?this._completionModel.stats.pLabelLen*a.typicalHalfwidthCharacterWidth:u,p=a.statusBarHeight+this._list.contentHeight+a.borderHeight,g=a.itemHeight+a.statusBarHeight,y=Gh(this.editor.getDomNode()),D=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),T=y.top+D.top+D.height,k=Math.min(s.height-T-a.verticalPadding,p),I=y.top+D.top-a.verticalPadding,F=Math.min(I,p);let q=Math.min(Math.max(F,k)+a.borderHeight,p);l===((t=this._cappedHeight)===null||t===void 0?void 0:t.capped)&&(l=this._cappedHeight.wanted),l<g&&(l=g),l>q&&(l=q);const re=150;l>k||this._forceRenderingAbove&&I>re?(this._contentWidget.setPreference(1),this.element.enableSashes(!0,!0,!1,!1),q=F):(this._contentWidget.setPreference(2),this.element.enableSashes(!1,!0,!0,!1),q=k),this.element.preferredSize=new Hu(h,a.defaultSize.height),this.element.maxSize=new Hu(d,q),this.element.minSize=new Hu(220,g),this._cappedHeight=l===p?{wanted:(i=(n=this._cappedHeight)===null||n===void 0?void 0:n.wanted)!==null&&i!==void 0?i:e.height,capped:l}:void 0}this._resize(u,l)}_resize(e,t){const{width:n,height:i}=this.element.maxSize;e=Math.min(n,e),t=Math.min(i,t);const{statusBarHeight:s}=this.getLayoutInfo();this._list.layout(t-s,e),this._listElement.style.height=`${t-s}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(44),t=s_(this.editor.getOption(108)||e.lineHeight,8,1e3),n=!this.editor.getOption(106).showStatusBar||this._state===2||this._state===1?0:t,i=this._details.widget.borderWidth,s=2*i;return{itemHeight:t,statusBarHeight:n,borderWidth:i,borderHeight:s,typicalHalfwidthCharacterWidth:e.typicalHalfwidthCharacterWidth,verticalPadding:22,horizontalPadding:14,defaultSize:new Hu(430,n+12*t+s)}}_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}};WL.LOADING_MESSAGE=w(\"suggestWidget.loading\",\"Loading...\");WL.NO_SUGGESTIONS_MESSAGE=w(\"suggestWidget.noSuggestions\",\"No suggestions.\");WL=pze([j5(1,cy),j5(2,Xa),j5(3,gc),j5(4,Nl)],WL);class mze{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:n,horizontalPadding:i}=this._widget.getLayoutInfo();return new Hu(t+2*n+i,e+2*n)}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 yze=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},nx=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};class bze{constructor(e,t){if(this._model=e,this._position=t,e.getLineMaxColumn(t.lineNumber)!==t.column){const i=e.getOffsetAt(t),s=e.getPositionAt(i+1);this._marker=e.deltaDecorations([],[{range:He.fromPositions(t,s),options:{description:\"suggest-line-suffix\",stickiness:1}}])}}dispose(){this._marker&&!this._model.isDisposed()&&this._model.deltaDecorations(this._marker,[])}delta(e){if(this._model.isDisposed()||this._position.lineNumber!==e.lineNumber)return 0;if(this._marker){const t=this._model.getDecorationRange(this._marker[0]);return this._model.getOffsetAt(t.getStartPosition())-this._model.getOffsetAt(e)}else return this._model.getLineMaxColumn(e.lineNumber)-e.column}}let Cm=class a_e{constructor(e,t,n,i,s,a,l){this._memoryService=t,this._commandService=n,this._contextKeyService=i,this._instantiationService=s,this._logService=a,this._telemetryService=l,this._lineSuffix=new _f,this._toDispose=new fs,this._selectors=new vze(p=>p.priority),this._telemetryGate=0,this.editor=e,this.model=s.createInstance(BK,this.editor);const u=Kl.InsertMode.bindTo(i);u.set(e.getOption(106).insertMode),this.model.onDidTrigger(()=>u.set(e.getOption(106).insertMode)),this.widget=this._toDispose.add(new Bv(()=>{const p=this._instantiationService.createInstance(WL,this.editor);this._toDispose.add(p),this._toDispose.add(p.onDidSelect(k=>this._insertSuggestion(k,0),this));const g=new y$e(this.editor,p,k=>this._insertSuggestion(k,2));this._toDispose.add(g),this._toDispose.add(this.model.onDidSuggest(k=>{k.completionModel.items.length===0&&g.reset()}));const y=Kl.MakesTextEdit.bindTo(this._contextKeyService),D=Kl.HasInsertAndReplaceRange.bindTo(this._contextKeyService),T=Kl.CanResolve.bindTo(this._contextKeyService);return this._toDispose.add(wl(()=>{y.reset(),D.reset(),T.reset()})),this._toDispose.add(p.onDidFocus(({item:k})=>{const I=this.editor.getPosition(),F=k.editStart.column,q=I.column;let re=!0;this.editor.getOption(1)===\"smart\"&&this.model.state===2&&!k.completion.additionalTextEdits&&!(k.completion.insertTextRules&4)&&q-F===k.completion.insertText.length&&(re=this.editor.getModel().getValueInRange({startLineNumber:I.lineNumber,startColumn:F,endLineNumber:I.lineNumber,endColumn:q})!==k.completion.insertText),y.set(re),D.set(!Ii.equals(k.editInsertEnd,k.editReplaceEnd)),T.set(Boolean(k.provider.resolveCompletionItem)||Boolean(k.completion.documentation)||k.completion.detail!==k.completion.label)})),this._toDispose.add(p.onDetailsKeyDown(k=>{if(k.toKeybinding().equals(new ED(!0,!1,!1,!1,33))||El&&k.toKeybinding().equals(new ED(!1,!1,!1,!0,33))){k.stopPropagation();return}k.toKeybinding().isModifierKey()||this.editor.focus()})),p})),this._overtypingCapturer=this._toDispose.add(new Bv(()=>this._toDispose.add(new J9(this.editor,this.model)))),this._alternatives=this._toDispose.add(new Bv(()=>this._toDispose.add(new GD(this.editor,this._contextKeyService)))),this._toDispose.add(s.createInstance(jL,e)),this._toDispose.add(this.model.onDidTrigger(p=>{this.widget.value.showTriggered(p.auto,p.shy?250:50),this._lineSuffix.value=new bze(this.editor.getModel(),p.position)})),this._toDispose.add(this.model.onDidSuggest(p=>{if(!p.shy){let g=-1;for(const y of this._selectors.itemsOrderedByPriorityDesc)if(g=y.select(this.editor.getModel(),this.editor.getPosition(),p.completionModel.items),g!==-1)break;g===-1&&(g=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),p.completionModel.items)),this.widget.value.showSuggestions(p.completionModel,g,p.isFrozen,p.auto)}})),this._toDispose.add(this.model.onDidCancel(p=>{p.retrigger||this.widget.value.hideWidget()})),this._toDispose.add(this.editor.onDidBlurEditorWidget(()=>{this.model.cancel(),this.model.clear()}));let d=Kl.AcceptSuggestionsOnEnter.bindTo(i),h=()=>{const p=this.editor.getOption(1);d.set(p===\"on\"||p===\"smart\")};this._toDispose.add(this.editor.onDidChangeConfiguration(()=>h())),h()}static get(e){return e.getContribution(a_e.ID)}dispose(){this._alternatives.dispose(),this._toDispose.dispose(),this.widget.dispose(),this.model.dispose(),this._lineSuffix.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 n=Qh.get(this.editor);if(!n)return;const i=this.editor.getModel(),s=i.getAlternativeVersionId(),{item:a}=e,l=[],u=new Xh;t&1||this.editor.pushUndoStop();const d=this.getOverwriteInfo(a,Boolean(t&8));if(this._memoryService.memorize(i,this.editor.getPosition(),a),Array.isArray(a.completion.additionalTextEdits)){const p=lC.capture(this.editor);this.editor.executeEdits(\"suggestController.additionalTextEdits.sync\",a.completion.additionalTextEdits.map(g=>Yc.replace(He.lift(g.range),g.text))),p.restoreRelativeVerticalPositionOfCursor(this.editor)}else if(!a.isResolved){const p=new Bf(!0);let g;const y=i.onDidChangeContent(I=>{if(I.isFlush){u.cancel(),y.dispose();return}for(let F of I.changes){const q=He.getEndPosition(F.range);(!g||Ii.isBefore(q,g))&&(g=q)}});let D=t;t|=2;let T=!1,k=this.editor.onWillType(()=>{k.dispose(),T=!0,D&2||this.editor.pushUndoStop()});l.push(a.resolve(u.token).then(()=>{if(!a.completion.additionalTextEdits||u.token.isCancellationRequested||g&&a.completion.additionalTextEdits.some(F=>Ii.isBefore(g,He.getStartPosition(F.range))))return!1;T&&this.editor.pushUndoStop();const I=lC.capture(this.editor);return this.editor.executeEdits(\"suggestController.additionalTextEdits.async\",a.completion.additionalTextEdits.map(F=>Yc.replace(He.lift(F.range),F.text))),I.restoreRelativeVerticalPositionOfCursor(this.editor),(T||!(D&2))&&this.editor.pushUndoStop(),!0}).then(I=>{this._logService.trace(\"[suggest] async resolving of edits DONE (ms, applied?)\",p.elapsed(),I),y.dispose(),k.dispose()}))}let{insertText:h}=a.completion;a.completion.insertTextRules&4||(h=V9.escape(h)),n.insert(h,{overwriteBefore:d.overwriteBefore,overwriteAfter:d.overwriteAfter,undoStopBefore:!1,undoStopAfter:!1,adjustWhitespace:!(a.completion.insertTextRules&1),clipboardText:e.model.clipboardText,overtypingCapturer:this._overtypingCapturer.value}),t&2||this.editor.pushUndoStop(),a.completion.command?a.completion.command.id===T4.id?this.model.trigger({auto:!0,shy:!1},!0):(l.push(this._commandService.executeCommand(a.completion.command.id,...a.completion.command.arguments?[...a.completion.command.arguments]:[]).catch(tl)),this.model.cancel()):this.model.cancel(),t&4&&this._alternatives.value.set(e,p=>{for(u.cancel();i.canUndo();){s!==i.getAlternativeVersionId()&&i.undo(),this._insertSuggestion(p,3|(t&8?8:0));break}}),this._alertCompletionItem(a),Promise.all(l).finally(()=>{this._reportSuggestionAcceptedTelemetry(i,e),this.model.clear(),u.dispose()})}_reportSuggestionAcceptedTelemetry(e,t){var n;if(this._telemetryGate++%100!==0)return;const i=((n=t.item.provider._debugDisplayName)!==null&&n!==void 0?n:\"unknown\").split(\"(\",1)[0].toLowerCase();this._telemetryService.publicLog2(\"suggest.acceptedSuggestion\",{providerId:i,basenameHash:Sue(Mg(e.uri)).toString(16),languageId:e.getLanguageId(),fileExtension:xFe(e.uri)})}getOverwriteInfo(e,t){$u(this.editor.hasModel());let n=this.editor.getOption(106).insertMode===\"replace\";t&&(n=!n);const i=e.position.column-e.editStart.column,s=(n?e.editReplaceEnd.column:e.editInsertEnd.column)-e.position.column,a=this.editor.getPosition().column-e.position.column,l=this._lineSuffix.value?this._lineSuffix.value.delta(this.editor.getPosition()):0;return{overwriteBefore:i+a,overwriteAfter:s+l}}_alertCompletionItem(e){if(d_(e.completion.additionalTextEdits)){let t=w(\"aria.alert.snippet\",\"Accepting '{0}' made {1} additional edits\",e.textLabel,e.completion.additionalTextEdits.length);Jh(t)}}triggerSuggest(e,t){this.editor.hasModel()&&(this.model.trigger({auto:t!=null?t:!1,shy:!1},!1,e),this.editor.revealPosition(this.editor.getPosition(),0),this.editor.focus())}triggerSuggestAndAcceptBest(e){if(!this.editor.hasModel())return;const t=this.editor.getPosition(),n=()=>{t.equals(this.editor.getPosition())&&this._commandService.executeCommand(e.fallback)},i=s=>{if(s.completion.insertTextRules&4||s.completion.additionalTextEdits)return!0;const a=this.editor.getPosition(),l=s.editStart.column,u=a.column;return u-l!==s.completion.insertText.length?!0:this.editor.getModel().getValueInRange({startLineNumber:a.lineNumber,startColumn:l,endLineNumber:a.lineNumber,endColumn:u})!==s.completion.insertText};Xo.once(this.model.onDidTrigger)(s=>{let a=[];Xo.any(this.model.onDidTrigger,this.model.onDidCancel)(()=>{eu(a),n()},void 0,a),this.model.onDidSuggest(({completionModel:l})=>{if(eu(a),l.items.length===0){n();return}const u=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),l.items),d=l.items[u];if(!i(d)){n();return}this.editor.pushUndoStop(),this._insertSuggestion({index:u,item:d,model:l},7)},void 0,a)}),this.model.trigger({auto:!1,shy:!0}),this.editor.revealPosition(t,0),this.editor.focus()}acceptSelectedSuggestion(e,t){const n=this.widget.value.getFocusedItem();let i=0;e&&(i|=4),t&&(i|=8),this._insertSuggestion(n,i)}acceptNextSuggestion(){this._alternatives.value.next()}acceptPrevSuggestion(){this._alternatives.value.prev()}cancelSuggestWidget(){this.model.cancel(),this.model.clear(),this.widget.value.hideWidget()}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)}};Cm.ID=\"editor.contrib.suggestController\";Cm=yze([nx(1,n_e),nx(2,Dd),nx(3,Xa),nx(4,Nl),nx(5,km),nx(6,sy)],Cm);class vze{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,n)=>this.prioritySelector(n)-this.prioritySelector(t)),{dispose:()=>{const t=this._items.indexOf(e);t>=0&&this._items.splice(t,1)}}}get itemsOrderedByPriorityDesc(){return this._items}}class T4 extends xo{constructor(){super({id:T4.id,label:w(\"suggest.trigger.label\",\"Trigger Suggest\"),alias:\"Trigger Suggest\",precondition:co.and(on.writable,on.hasCompletionItemProvider),kbOpts:{kbExpr:on.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[521,2087]},weight:100}})}run(e,t,n){const i=Cm.get(t);if(!i)return;let s;n&&typeof n==\"object\"&&n.auto===!0&&(s=!0),i.triggerSuggest(void 0,s)}}T4.id=\"editor.action.triggerSuggest\";vu(Cm.ID,Cm);Fs(T4);const Hg=100+90,y_=Zh.bindToContribution(Cm.get);Ns(new y_({id:\"acceptSelectedSuggestion\",precondition:Kl.Visible,handler(o){o.acceptSelectedSuggestion(!0,!1)}}));gf.registerKeybindingRule({id:\"acceptSelectedSuggestion\",when:co.and(Kl.Visible,on.textInputFocus),primary:2,weight:Hg});gf.registerKeybindingRule({id:\"acceptSelectedSuggestion\",when:co.and(Kl.Visible,on.textInputFocus,Kl.AcceptSuggestionsOnEnter,Kl.MakesTextEdit),primary:3,weight:Hg});q_.appendMenuItem(fC,{command:{id:\"acceptSelectedSuggestion\",title:w(\"accept.insert\",\"Insert\")},group:\"left\",order:1,when:Kl.HasInsertAndReplaceRange.toNegated()});q_.appendMenuItem(fC,{command:{id:\"acceptSelectedSuggestion\",title:w(\"accept.insert\",\"Insert\")},group:\"left\",order:1,when:co.and(Kl.HasInsertAndReplaceRange,Kl.InsertMode.isEqualTo(\"insert\"))});q_.appendMenuItem(fC,{command:{id:\"acceptSelectedSuggestion\",title:w(\"accept.replace\",\"Replace\")},group:\"left\",order:1,when:co.and(Kl.HasInsertAndReplaceRange,Kl.InsertMode.isEqualTo(\"replace\"))});Ns(new y_({id:\"acceptAlternativeSelectedSuggestion\",precondition:co.and(Kl.Visible,on.textInputFocus),kbOpts:{weight:Hg,kbExpr:on.textInputFocus,primary:1027,secondary:[1026]},handler(o){o.acceptSelectedSuggestion(!1,!0)},menuOpts:[{menuId:fC,group:\"left\",order:2,when:co.and(Kl.HasInsertAndReplaceRange,Kl.InsertMode.isEqualTo(\"insert\")),title:w(\"accept.replace\",\"Replace\")},{menuId:fC,group:\"left\",order:2,when:co.and(Kl.HasInsertAndReplaceRange,Kl.InsertMode.isEqualTo(\"replace\")),title:w(\"accept.insert\",\"Insert\")}]}));tu.registerCommandAlias(\"acceptSelectedSuggestionOnEnter\",\"acceptSelectedSuggestion\");Ns(new y_({id:\"hideSuggestWidget\",precondition:Kl.Visible,handler:o=>o.cancelSuggestWidget(),kbOpts:{weight:Hg,kbExpr:on.textInputFocus,primary:9,secondary:[1033]}}));Ns(new y_({id:\"selectNextSuggestion\",precondition:co.and(Kl.Visible,Kl.MultipleSuggestions),handler:o=>o.selectNextSuggestion(),kbOpts:{weight:Hg,kbExpr:on.textInputFocus,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}}));Ns(new y_({id:\"selectNextPageSuggestion\",precondition:co.and(Kl.Visible,Kl.MultipleSuggestions),handler:o=>o.selectNextPageSuggestion(),kbOpts:{weight:Hg,kbExpr:on.textInputFocus,primary:12,secondary:[2060]}}));Ns(new y_({id:\"selectLastSuggestion\",precondition:co.and(Kl.Visible,Kl.MultipleSuggestions),handler:o=>o.selectLastSuggestion()}));Ns(new y_({id:\"selectPrevSuggestion\",precondition:co.and(Kl.Visible,Kl.MultipleSuggestions),handler:o=>o.selectPrevSuggestion(),kbOpts:{weight:Hg,kbExpr:on.textInputFocus,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}}));Ns(new y_({id:\"selectPrevPageSuggestion\",precondition:co.and(Kl.Visible,Kl.MultipleSuggestions),handler:o=>o.selectPrevPageSuggestion(),kbOpts:{weight:Hg,kbExpr:on.textInputFocus,primary:11,secondary:[2059]}}));Ns(new y_({id:\"selectFirstSuggestion\",precondition:co.and(Kl.Visible,Kl.MultipleSuggestions),handler:o=>o.selectFirstSuggestion()}));Ns(new y_({id:\"toggleSuggestionDetails\",precondition:Kl.Visible,handler:o=>o.toggleSuggestionDetails(),kbOpts:{weight:Hg,kbExpr:on.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[2087]}},menuOpts:[{menuId:fC,group:\"right\",order:1,when:co.and(Kl.DetailsVisible,Kl.CanResolve),title:w(\"detail.more\",\"show less\")},{menuId:fC,group:\"right\",order:1,when:co.and(Kl.DetailsVisible.toNegated(),Kl.CanResolve),title:w(\"detail.less\",\"show more\")}]}));Ns(new y_({id:\"toggleExplainMode\",precondition:Kl.Visible,handler:o=>o.toggleExplainMode(),kbOpts:{weight:100,primary:2133}}));Ns(new y_({id:\"toggleSuggestionFocus\",precondition:Kl.Visible,handler:o=>o.toggleSuggestionFocus(),kbOpts:{weight:Hg,kbExpr:on.textInputFocus,primary:2570,mac:{primary:778}}}));Ns(new y_({id:\"insertBestCompletion\",precondition:co.and(on.textInputFocus,co.equals(\"config.editor.tabCompletion\",\"on\"),jL.AtEnd,Kl.Visible.toNegated(),GD.OtherSuggestions.toNegated(),Qh.InSnippetMode.toNegated()),handler:(o,e)=>{o.triggerSuggestAndAcceptBest(Mf(e)?Object.assign({fallback:\"tab\"},e):{fallback:\"tab\"})},kbOpts:{weight:Hg,primary:2}}));Ns(new y_({id:\"insertNextSuggestion\",precondition:co.and(on.textInputFocus,co.equals(\"config.editor.tabCompletion\",\"on\"),GD.OtherSuggestions,Kl.Visible.toNegated(),Qh.InSnippetMode.toNegated()),handler:o=>o.acceptNextSuggestion(),kbOpts:{weight:Hg,kbExpr:on.textInputFocus,primary:2}}));Ns(new y_({id:\"insertPrevSuggestion\",precondition:co.and(on.textInputFocus,co.equals(\"config.editor.tabCompletion\",\"on\"),GD.OtherSuggestions,Kl.Visible.toNegated(),Qh.InSnippetMode.toNegated()),handler:o=>o.acceptPrevSuggestion(),kbOpts:{weight:Hg,kbExpr:on.textInputFocus,primary:1026}}));Fs(class extends xo{constructor(){super({id:\"editor.action.resetSuggestSize\",label:w(\"suggest.reset.label\",\"Reset Suggest Widget Size\"),alias:\"Reset Suggest Widget Size\",precondition:void 0})}run(o,e){var t;(t=Cm.get(e))===null||t===void 0||t.resetWidgetSize()}});class Cze extends fr{constructor(e,t){super(),this.editor=e,this.suggestControllerPreselector=t,this.isSuggestWidgetVisible=!1,this.isShiftKeyPressed=!1,this._isActive=!1,this._currentSuggestItemInfo=void 0,this.onDidChangeEmitter=new ri,this.onDidChange=this.onDidChangeEmitter.event,this.setInactiveDelayed=this._register(new Bu(()=>{this.isSuggestWidgetVisible||this._isActive&&(this._isActive=!1,this.onDidChangeEmitter.fire())},100)),this._register(e.onKeyDown(i=>{i.shiftKey&&!this.isShiftKeyPressed&&(this.isShiftKeyPressed=!0,this.update(this._isActive))})),this._register(e.onKeyUp(i=>{i.shiftKey&&this.isShiftKeyPressed&&(this.isShiftKeyPressed=!1,this.update(this._isActive))}));const n=Cm.get(this.editor);if(n){this._register(n.registerSelector({priority:100,select:(a,l,u)=>{const d=this.editor.getModel(),h=aP(d,this.suggestControllerPreselector());if(!h)return-1;const p=Ii.lift(l),g=u.map((D,T)=>{const k=nle(n,p,D,this.isShiftKeyPressed),I=aP(d,k==null?void 0:k.normalizedInlineCompletion);if(!I)return;const F=Dze(h.range,I.range)&&h.text.startsWith(I.text);return{index:T,valid:F,prefixLength:I.text.length,suggestItem:D}}).filter(D=>D&&D.valid),y=Mle(g,J5(D=>D.prefixLength,IEe));return y?y.index:-1}}));let i=!1;const s=()=>{i||(i=!0,this._register(n.widget.value.onDidShow(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})),this._register(n.widget.value.onDidHide(()=>{this.isSuggestWidgetVisible=!1,this.setInactiveDelayed.schedule(),this.update(this._isActive)})),this._register(n.widget.value.onDidFocus(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})))};this._register(Xo.once(n.model.onDidTrigger)(a=>{s()}))}this.update(this._isActive)}get state(){if(!!this._isActive)return{selectedItem:this._currentSuggestItemInfo}}update(e){const t=this.getSuggestItemInfo();let n=!1;wze(this._currentSuggestItemInfo,t)||(this._currentSuggestItemInfo=t,n=!0),this._isActive!==e&&(this._isActive=e,n=!0),n&&this.onDidChangeEmitter.fire()}getSuggestItemInfo(){const e=Cm.get(this.editor);if(!e||!this.isSuggestWidgetVisible)return;const t=e.widget.value.getFocusedItem();if(!!t)return nle(e,this.editor.getPosition(),t.item,this.isShiftKeyPressed)}stopForceRenderingAbove(){const e=Cm.get(this.editor);e&&e.stopForceRenderingAbove()}forceRenderingAbove(){const e=Cm.get(this.editor);e&&e.forceRenderingAbove()}}function Dze(o,e){return e.startLineNumber===o.startLineNumber&&e.startColumn===o.startColumn&&(e.endLineNumber<o.endLineNumber||e.endLineNumber===o.endLineNumber&&e.endColumn<=o.endColumn)}function wze(o,e){return o===e?!0:!o||!e?!1:o.completionItemKind===e.completionItemKind&&o.isSnippetText===e.isSnippetText&&UHe(o.normalizedInlineCompletion,e.normalizedInlineCompletion)}function nle(o,e,t,n){if(Array.isArray(t.completion.additionalTextEdits)&&t.completion.additionalTextEdits.length>0)return{completionItemKind:t.completion.kind,isSnippetText:!1,normalizedInlineCompletion:{range:He.fromPositions(e,e),text:\"\"}};let{insertText:i}=t.completion,s=!1;if(t.completion.insertTextRules&4){const l=new V9().parse(i),u=o.editor.getModel();if(l.children.length>100)return;C1.adjustWhitespace(u,e,l,!0,!0),i=l.toString(),s=!0}const a=o.getOverwriteInfo(t,n);return{isSnippetText:s,completionItemKind:t.completion.kind,normalizedInlineCompletion:{text:i,range:He.fromPositions(e.delta(0,-a.overwriteBefore),e.delta(0,Math.max(a.overwriteAfter,0)))}}}var Sze=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},xze=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},ile=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};let $K=class extends Xfe{constructor(e,t,n){super(e),this.cache=t,this.languageFeaturesService=n,this.suggestionInlineCompletionSource=this._register(new Cze(this.editor,()=>{var i,s;return(s=(i=this.cache.value)===null||i===void 0?void 0:i.completions[0])===null||s===void 0?void 0:s.toLiveInlineCompletion()})),this.updateOperation=this._register(new _f),this.updateCacheSoon=this._register(new Bu(()=>this.updateCache(),50)),this.minReservedLineCount=0,this._register(this.suggestionInlineCompletionSource.onDidChange(()=>{this.updateCacheSoon.schedule(),this.suggestionInlineCompletionSource.state||(this.minReservedLineCount=0);const s=this.ghostText;s&&(this.minReservedLineCount=Math.max(this.minReservedLineCount,Eze(s.parts.map(a=>a.lines.length-1)))),this.minReservedLineCount>=1?this.suggestionInlineCompletionSource.forceRenderingAbove():this.suggestionInlineCompletionSource.stopForceRenderingAbove(),this.onDidChangeEmitter.fire()})),this._register(this.cache.onDidChange(()=>{this.onDidChangeEmitter.fire()})),this._register(this.editor.onDidChangeCursorPosition(i=>{this.minReservedLineCount=0,this.updateCacheSoon.schedule(),this.onDidChangeEmitter.fire()})),this._register(wl(()=>this.suggestionInlineCompletionSource.stopForceRenderingAbove()))}get isActive(){return this.suggestionInlineCompletionSource.state!==void 0}isSuggestionPreviewEnabled(){return this.editor.getOption(106).preview}updateCache(){return ile(this,void 0,void 0,function*(){const e=this.suggestionInlineCompletionSource.state;if(!e||!e.selectedItem)return;const t={text:e.selectedItem.normalizedInlineCompletion.text,range:e.selectedItem.normalizedInlineCompletion.range,isSnippetText:e.selectedItem.isSnippetText,completionKind:e.selectedItem.completionItemKind},n=this.editor.getPosition(),i=Oh(a=>ile(this,void 0,void 0,function*(){let l;try{l=yield e_e(this.languageFeaturesService.inlineCompletionsProvider,n,this.editor.getModel(),{triggerKind:vg.Automatic,selectedSuggestionInfo:t},a)}catch(u){tl(u);return}a.isCancellationRequested||(this.cache.setValue(this.editor,l,vg.Automatic),this.onDidChangeEmitter.fire())})),s=new Zfe(i,vg.Automatic);this.updateOperation.value=s,yield i,this.updateOperation.value===s&&this.updateOperation.clear()})}get ghostText(){var e,t,n;const i=this.isSuggestionPreviewEnabled(),s=aP(this.editor.getModel(),(t=(e=this.cache.value)===null||e===void 0?void 0:e.completions[0])===null||t===void 0?void 0:t.toLiveInlineCompletion()),a=this.suggestionInlineCompletionSource.state,l=aP(this.editor.getModel(),(n=a==null?void 0:a.selectedItem)===null||n===void 0?void 0:n.normalizedInlineCompletion),u=s&&l&&s.text.startsWith(l.text)&&s.range.equalsRange(l.range);if(!i&&!u)return;const d=u?s:l||s,h=u?d.text.length-l.text.length:0;return this.toGhostText(d,h)}toGhostText(e,t){const n=this.editor.getOptions().get(106).previewMode;return e?Qfe(e,this.editor.getModel(),n,this.editor.getPosition(),t)||new Yfe(e.range.endLineNumber,[],this.minReservedLineCount):void 0}};$K=Sze([xze(2,$o)],$K);function Eze(o){return o.reduce((e,t)=>e+t,0)}function Tze(o,e){return{object:o,dispose:()=>e==null?void 0:e.dispose()}}var Aze=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},kze=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},Lze=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};class Nze extends fr{constructor(){super(...arguments),this.onDidChangeEmitter=new ri,this.onDidChange=this.onDidChangeEmitter.event,this.hasCachedGhostText=!1,this.currentModelRef=this._register(new _f)}get targetModel(){var e;return(e=this.currentModelRef.value)===null||e===void 0?void 0:e.object}setTargetModel(e){var t;((t=this.currentModelRef.value)===null||t===void 0?void 0:t.object)!==e&&(this.currentModelRef.clear(),this.currentModelRef.value=e?Tze(e,e.onDidChange(()=>{this.hasCachedGhostText=!1,this.onDidChangeEmitter.fire()})):void 0,this.hasCachedGhostText=!1,this.onDidChangeEmitter.fire())}get ghostText(){var e,t;return this.hasCachedGhostText||(this.cachedGhostText=(t=(e=this.currentModelRef.value)===null||e===void 0?void 0:e.object)===null||t===void 0?void 0:t.ghostText,this.hasCachedGhostText=!0),this.cachedGhostText}setExpanded(e){var t;(t=this.targetModel)===null||t===void 0||t.setExpanded(e)}get minReservedLineCount(){return this.targetModel?this.targetModel.minReservedLineCount:0}}let zK=class extends Nze{constructor(e,t){super(),this.editor=e,this.instantiationService=t,this.sharedCache=this._register(new Ize),this.suggestWidgetAdapterModel=this._register(this.instantiationService.createInstance($K,this.editor,this.sharedCache)),this.inlineCompletionsModel=this._register(this.instantiationService.createInstance(MK,this.editor,this.sharedCache)),this._register(this.suggestWidgetAdapterModel.onDidChange(()=>{this.updateModel()})),this.updateModel()}get activeInlineCompletionsModel(){if(this.targetModel===this.inlineCompletionsModel)return this.inlineCompletionsModel}updateModel(){this.setTargetModel(this.suggestWidgetAdapterModel.isActive?this.suggestWidgetAdapterModel:this.inlineCompletionsModel),this.inlineCompletionsModel.setActive(this.targetModel===this.inlineCompletionsModel)}shouldShowHoverAt(e){var t;const n=(t=this.activeInlineCompletionsModel)===null||t===void 0?void 0:t.ghostText;return n?n.parts.some(i=>e.containsPosition(new Ii(n.lineNumber,i.column))):!1}triggerInlineCompletion(){var e;(e=this.activeInlineCompletionsModel)===null||e===void 0||e.trigger(vg.Explicit)}commitInlineCompletion(){var e;(e=this.activeInlineCompletionsModel)===null||e===void 0||e.commitCurrentSuggestion()}hideInlineCompletion(){var e;(e=this.activeInlineCompletionsModel)===null||e===void 0||e.hide()}showNextInlineCompletion(){var e;(e=this.activeInlineCompletionsModel)===null||e===void 0||e.showNext()}showPreviousInlineCompletion(){var e;(e=this.activeInlineCompletionsModel)===null||e===void 0||e.showPrevious()}hasMultipleInlineCompletions(){var e;return Lze(this,void 0,void 0,function*(){const t=yield(e=this.activeInlineCompletionsModel)===null||e===void 0?void 0:e.hasMultipleInlineCompletions();return t!==void 0?t:!1})}};zK=Aze([kze(1,Nl)],zK);class Ize extends fr{constructor(){super(...arguments),this.onDidChangeEmitter=new ri,this.onDidChange=this.onDidChangeEmitter.event,this.cache=this._register(new _f)}get value(){return this.cache.value}setValue(e,t,n){this.cache.value=new QHe(e,t,()=>this.onDidChangeEmitter.fire(),n)}clearAndLeak(){return this.cache.clearAndLeak()}clear(){this.cache.clear()}}var Fze=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},rle=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},qH;const sle=(qH=window.trustedTypes)===null||qH===void 0?void 0:qH.createPolicy(\"editorGhostText\",{createHTML:o=>o});let UK=class extends fr{constructor(e,t,n,i){super(),this.editor=e,this.model=t,this.instantiationService=n,this.languageService=i,this.disposed=!1,this.partsWidget=this._register(this.instantiationService.createInstance(Pze,this.editor)),this.additionalLinesWidget=this._register(new Oze(this.editor,this.languageService.languageIdCodec)),this.viewMoreContentWidget=void 0,this._register(this.editor.onDidChangeConfiguration(s=>{(s.hasChanged(29)||s.hasChanged(105)||s.hasChanged(88)||s.hasChanged(83)||s.hasChanged(45)||s.hasChanged(44)||s.hasChanged(59))&&this.update()})),this._register(wl(()=>{var s;this.disposed=!0,this.update(),(s=this.viewMoreContentWidget)===null||s===void 0||s.dispose(),this.viewMoreContentWidget=void 0})),this._register(t.onDidChange(()=>{this.update()})),this.update()}shouldShowHoverAtViewZone(e){return this.additionalLinesWidget.viewZoneId===e}update(){var e;const t=this.model.ghostText;if(!this.editor.hasModel()||!t||this.disposed){this.partsWidget.clear(),this.additionalLinesWidget.clear();return}const n=new Array,i=new Array;function s(d,h){if(i.length>0){const p=i[i.length-1];h&&p.decorations.push(new z_(p.content.length+1,p.content.length+1+d[0].length,h,0)),p.content+=d[0],d=d.slice(1)}for(const p of d)i.push({content:p,decorations:h?[new z_(1,p.length+1,h,0)]:[]})}const a=this.editor.getModel().getLineContent(t.lineNumber);this.editor.getModel().getLineTokens(t.lineNumber);let l,u=0;for(const d of t.parts){let h=d.lines;l===void 0?(n.push({column:d.column,text:h[0],preview:d.preview}),h=h.slice(1)):s([a.substring(u,d.column-1)],void 0),h.length>0&&(s(h,\"ghost-text\"),l===void 0&&d.column<=a.length&&(l=d.column)),u=d.column-1}l!==void 0&&s([a.substring(u)],void 0),this.partsWidget.setParts(t.lineNumber,n,l!==void 0?{column:l,length:a.length+1-l}:void 0),this.additionalLinesWidget.updateLines(t.lineNumber,i,t.additionalReservedLineCount),t.parts.some(d=>d.lines.length<0)?this.viewMoreContentWidget=this.renderViewMoreLines(new Ii(t.lineNumber,this.editor.getModel().getLineMaxColumn(t.lineNumber)),\"\",0):((e=this.viewMoreContentWidget)===null||e===void 0||e.dispose(),this.viewMoreContentWidget=void 0)}renderViewMoreLines(e,t,n){const i=this.editor.getOption(44),s=document.createElement(\"div\");s.className=\"suggest-preview-additional-widget\",bp(s,i);const a=document.createElement(\"span\");a.className=\"content-spacer\",a.append(t),s.append(a);const l=document.createElement(\"span\");l.className=\"content-newline suggest-preview-text\",l.append(\"\\u23CE  \"),s.append(l);const u=new fs,d=document.createElement(\"div\");return d.className=\"button suggest-preview-text\",d.append(`+${n} lines\\u2026`),u.add(Fh(d,\"mousedown\",h=>{var p;(p=this.model)===null||p===void 0||p.setExpanded(!0),h.preventDefault(),this.editor.focus()})),s.append(d),new Rze(this.editor,e,s,u)}};UK=Fze([rle(2,Nl),rle(3,Pc)],UK);class Pze{constructor(e){this.editor=e,this.decorationIds=[],this.disposableStore=new fs}dispose(){this.clear(),this.disposableStore.dispose()}clear(){this.editor.deltaDecorations(this.decorationIds,[]),this.disposableStore.clear()}setParts(e,t,n){if(this.disposableStore.clear(),!this.editor.getModel())return;const s=new Array;n&&s.push({range:He.fromPositions(new Ii(e,n.column),new Ii(e,n.column+n.length)),options:{inlineClassName:\"ghost-text-hidden\",description:\"ghost-text-hidden\"}}),this.decorationIds=this.editor.deltaDecorations(this.decorationIds,t.map(a=>({range:He.fromPositions(new Ii(e,a.column)),options:{description:\"ghost-text\",after:{content:a.text,inlineClassName:a.preview?\"ghost-text-decoration-preview\":\"ghost-text-decoration\"},showIfCollapsed:!0}})).concat(s))}}class Oze{constructor(e,t){this.editor=e,this.languageIdCodec=t,this._viewZoneId=void 0}get viewZoneId(){return this._viewZoneId}dispose(){this.clear()}clear(){this.editor.changeViewZones(e=>{this._viewZoneId&&(e.removeZone(this._viewZoneId),this._viewZoneId=void 0)})}updateLines(e,t,n){const i=this.editor.getModel();if(!i)return;const{tabSize:s}=i.getOptions();this.editor.changeViewZones(a=>{this._viewZoneId&&(a.removeZone(this._viewZoneId),this._viewZoneId=void 0);const l=Math.max(t.length,n);if(l>0){const u=document.createElement(\"div\");Mze(u,s,t,this.editor.getOptions(),this.languageIdCodec),this._viewZoneId=a.addZone({afterLineNumber:e,heightInLines:l,domNode:u,afterColumnAffinity:1})}})}}function Mze(o,e,t,n,i){const s=n.get(29),a=n.get(105),l=\"none\",u=n.get(83),d=n.get(45),h=n.get(44),p=n.get(59),g=wD(1e4);g.appendASCIIString('<div class=\"suggest-preview-text\">');for(let T=0,k=t.length;T<k;T++){const I=t[T],F=I.content;g.appendASCIIString('<div class=\"view-line'),g.appendASCIIString('\" style=\"top:'),g.appendASCIIString(String(T*p)),g.appendASCIIString('px;width:1000000px;\">');const q=vP(F),re=bP(F),Ie=th.createEmpty(F,i);AP(new lw(h.isMonospace&&!s,h.canUseHalfwidthRightwardsArrow,F,!1,q,re,0,Ie,I.decorations,e,0,h.spaceWidth,h.middotWidth,h.wsmiddotWidth,a,l,u,d!==j_.OFF,null),g),g.appendASCIIString(\"</div>\")}g.appendASCIIString(\"</div>\"),bp(o,h);const y=g.build(),D=sle?sle.createHTML(y):y;o.innerHTML=D}class Rze extends fr{constructor(e,t,n,i){super(),this.editor=e,this.position=t,this.domNode=n,this.allowEditorOverflow=!1,this.suppressMouseDown=!1,this._register(i),this._register(wl(()=>{this.editor.removeContentWidget(this)})),this.editor.addContentWidget(this)}getId(){return\"editor.widget.viewMoreLinesWidget\"}getDomNode(){return this.domNode}getPosition(){return{position:this.position,preference:[0]}}}ac((o,e)=>{const t=o.getColor(BNe);t&&(e.addRule(`.monaco-editor .ghost-text-decoration { color: ${t.toString()} !important; }`),e.addRule(`.monaco-editor .ghost-text-decoration-preview { color: ${t.toString()} !important; }`),e.addRule(`.monaco-editor .suggest-preview-text .ghost-text { color: ${t.toString()} !important; }`));const n=o.getColor(jNe);n&&(e.addRule(`.monaco-editor .ghost-text-decoration { background-color: ${n.toString()}; }`),e.addRule(`.monaco-editor .ghost-text-decoration-preview { background-color: ${n.toString()}; }`),e.addRule(`.monaco-editor .suggest-preview-text .ghost-text { background-color: ${n.toString()}; }`));const i=o.getColor(RNe);i&&(e.addRule(`.monaco-editor .suggest-preview-text .ghost-text { border: 1px solid ${i}; }`),e.addRule(`.monaco-editor .ghost-text-decoration { border: 1px solid ${i}; }`),e.addRule(`.monaco-editor .ghost-text-decoration-preview { border: 1px solid ${i}; }`))});var l_e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},KK=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},Y9=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};let yh=class u_e extends fr{constructor(e,t){super(),this.editor=e,this.instantiationService=t,this.triggeredExplicitly=!1,this.activeController=this._register(new _f),this.activeModelDidChangeEmitter=this._register(new ri),this._register(this.editor.onDidChangeModel(()=>{this.updateModelController()})),this._register(this.editor.onDidChangeConfiguration(n=>{n.hasChanged(106)&&this.updateModelController(),n.hasChanged(55)&&this.updateModelController()})),this.updateModelController()}static get(e){return e.getContribution(u_e.ID)}get activeModel(){var e;return(e=this.activeController.value)===null||e===void 0?void 0:e.model}updateModelController(){const e=this.editor.getOption(106),t=this.editor.getOption(55);this.activeController.value=void 0,this.activeController.value=this.editor.hasModel()&&(e.preview||t.enabled||this.triggeredExplicitly)?this.instantiationService.createInstance(qK,this.editor):void 0,this.activeModelDidChangeEmitter.fire()}shouldShowHoverAt(e){var t;return((t=this.activeModel)===null||t===void 0?void 0:t.shouldShowHoverAt(e))||!1}shouldShowHoverAtViewZone(e){var t,n;return((n=(t=this.activeController.value)===null||t===void 0?void 0:t.widget)===null||n===void 0?void 0:n.shouldShowHoverAtViewZone(e))||!1}trigger(){var e;this.triggeredExplicitly=!0,this.activeController.value||this.updateModelController(),(e=this.activeModel)===null||e===void 0||e.triggerInlineCompletion()}commit(){var e;(e=this.activeModel)===null||e===void 0||e.commitInlineCompletion()}hide(){var e;(e=this.activeModel)===null||e===void 0||e.hideInlineCompletion()}showNextInlineCompletion(){var e;(e=this.activeModel)===null||e===void 0||e.showNextInlineCompletion()}showPreviousInlineCompletion(){var e;(e=this.activeModel)===null||e===void 0||e.showPreviousInlineCompletion()}hasMultipleInlineCompletions(){var e;return Y9(this,void 0,void 0,function*(){const t=yield(e=this.activeModel)===null||e===void 0?void 0:e.hasMultipleInlineCompletions();return t!==void 0?t:!1})}};yh.inlineSuggestionVisible=new Do(\"inlineSuggestionVisible\",!1,w(\"inlineSuggestionVisible\",\"Whether an inline suggestion is visible\"));yh.inlineSuggestionHasIndentation=new Do(\"inlineSuggestionHasIndentation\",!1,w(\"inlineSuggestionHasIndentation\",\"Whether the inline suggestion starts with whitespace\"));yh.inlineSuggestionHasIndentationLessThanTabSize=new Do(\"inlineSuggestionHasIndentationLessThanTabSize\",!0,w(\"inlineSuggestionHasIndentationLessThanTabSize\",\"Whether the inline suggestion starts with whitespace that is less than what would be inserted by tab\"));yh.ID=\"editor.contrib.ghostTextController\";yh=l_e([KK(1,Nl)],yh);class Bze{constructor(e){this.contextKeyService=e,this.inlineCompletionVisible=yh.inlineSuggestionVisible.bindTo(this.contextKeyService),this.inlineCompletionSuggestsIndentation=yh.inlineSuggestionHasIndentation.bindTo(this.contextKeyService),this.inlineCompletionSuggestsIndentationLessThanTabSize=yh.inlineSuggestionHasIndentationLessThanTabSize.bindTo(this.contextKeyService)}}let qK=class extends fr{constructor(e,t,n){super(),this.editor=e,this.instantiationService=t,this.contextKeyService=n,this.contextKeys=new Bze(this.contextKeyService),this.model=this._register(this.instantiationService.createInstance(zK,this.editor)),this.widget=this._register(this.instantiationService.createInstance(UK,this.editor,this.model)),this._register(wl(()=>{this.contextKeys.inlineCompletionVisible.set(!1),this.contextKeys.inlineCompletionSuggestsIndentation.set(!1),this.contextKeys.inlineCompletionSuggestsIndentationLessThanTabSize.set(!0)})),this._register(this.model.onDidChange(()=>{this.updateContextKeys()})),this.updateContextKeys()}updateContextKeys(){var e;this.contextKeys.inlineCompletionVisible.set(((e=this.model.activeInlineCompletionsModel)===null||e===void 0?void 0:e.ghostText)!==void 0);let t=!1,n=!0;const i=this.model.inlineCompletionsModel.ghostText;if(!!this.model.activeInlineCompletionsModel&&i&&i.parts.length>0){const{column:s,lines:a}=i.parts[0],l=a[0],u=this.editor.getModel().getLineIndentColumn(i.lineNumber);if(s<=u){let h=pf(l);h===-1&&(h=l.length-1),t=h>0;const p=this.editor.getModel().getOptions().tabSize;n=Zd.visibleColumnFromColumn(l,h+1,p)<p}}this.contextKeys.inlineCompletionSuggestsIndentation.set(t),this.contextKeys.inlineCompletionSuggestsIndentationLessThanTabSize.set(n)}};qK=l_e([KK(1,Nl),KK(2,Xa)],qK);const c_e=Zh.bindToContribution(yh.get),VL=new c_e({id:Jfe,precondition:yh.inlineSuggestionVisible,handler(o){o.commit(),o.editor.focus()}});Ns(VL);gf.registerKeybindingRule({primary:2,weight:200,id:VL.id,when:co.and(VL.precondition,on.tabMovesFocus.toNegated(),yh.inlineSuggestionHasIndentationLessThanTabSize)});Ns(new c_e({id:\"editor.action.inlineSuggest.hide\",precondition:yh.inlineSuggestionVisible,kbOpts:{weight:100,primary:9},handler(o){o.hide()}}));class kE extends xo{constructor(){super({id:kE.ID,label:w(\"action.inlineSuggest.showNext\",\"Show Next Inline Suggestion\"),alias:\"Show Next Inline Suggestion\",precondition:co.and(on.writable,yh.inlineSuggestionVisible),kbOpts:{weight:100,primary:601}})}run(e,t){return Y9(this,void 0,void 0,function*(){const n=yh.get(t);n&&(n.showNextInlineCompletion(),t.focus())})}}kE.ID=\"editor.action.inlineSuggest.showNext\";class LE extends xo{constructor(){super({id:LE.ID,label:w(\"action.inlineSuggest.showPrevious\",\"Show Previous Inline Suggestion\"),alias:\"Show Previous Inline Suggestion\",precondition:co.and(on.writable,yh.inlineSuggestionVisible),kbOpts:{weight:100,primary:599}})}run(e,t){return Y9(this,void 0,void 0,function*(){const n=yh.get(t);n&&(n.showPreviousInlineCompletion(),t.focus())})}}LE.ID=\"editor.action.inlineSuggest.showPrevious\";class jze extends xo{constructor(){super({id:\"editor.action.inlineSuggest.trigger\",label:w(\"action.inlineSuggest.trigger\",\"Trigger Inline Suggestion\"),alias:\"Trigger Inline Suggestion\",precondition:on.writable})}run(e,t){return Y9(this,void 0,void 0,function*(){const n=yh.get(t);n&&n.trigger()})}}var Wze=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},ix=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};class Vze{constructor(e,t,n){this.owner=e,this.range=t,this.controller=n}isValidForHoverAnchor(e){return e.type===1&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}hasMultipleSuggestions(){return this.controller.hasMultipleInlineCompletions()}}let GK=class{constructor(e,t,n,i,s,a,l){this._editor=e,this._commandService=t,this._menuService=n,this._contextKeyService=i,this._languageService=s,this._openerService=a,this.accessibilityService=l,this.hoverOrdinal=3}suggestHoverAnchor(e){const t=yh.get(this._editor);if(!t)return null;const n=e.target;if(n.type===8){const i=n.detail;if(t.shouldShowHoverAtViewZone(i.viewZoneId))return new v8(1e3,this,He.fromPositions(i.positionBefore||i.position,i.positionBefore||i.position))}return n.type===7&&t.shouldShowHoverAt(n.range)?new v8(1e3,this,n.range):n.type===6&&n.detail.mightBeForeignElement&&t.shouldShowHoverAt(n.range)?new v8(1e3,this,n.range):null}computeSync(e,t){const n=yh.get(this._editor);return n&&n.shouldShowHoverAt(e.range)?[new Vze(this,e.range,n)]:[]}renderHoverParts(e,t){const n=new fs,i=t[0];this.accessibilityService.isScreenReaderOptimized()&&this.renderScreenReaderText(e,i,n);const s=n.add(this._menuService.createMenu(Fn.InlineCompletionsActions,this._contextKeyService)),a=e.statusBar.addAction({label:w(\"showNextInlineSuggestion\",\"Next\"),commandId:kE.ID,run:()=>this._commandService.executeCommand(kE.ID)}),l=e.statusBar.addAction({label:w(\"showPreviousInlineSuggestion\",\"Previous\"),commandId:LE.ID,run:()=>this._commandService.executeCommand(LE.ID)});e.statusBar.addAction({label:w(\"acceptInlineSuggestion\",\"Accept\"),commandId:VL.id,run:()=>this._commandService.executeCommand(VL.id)});const u=[a,l];for(const d of u)d.setEnabled(!1);i.hasMultipleSuggestions().then(d=>{for(const h of u)h.setEnabled(d)});for(const[d,h]of s.getActions())for(const p of h)p instanceof iC&&e.statusBar.addAction({label:p.label,commandId:p.item.id,run:()=>this._commandService.executeCommand(p.item.id)});return n}renderScreenReaderText(e,t,n){var i,s;const a=ls,l=a(\"div.hover-row.markdown-hover\"),u=Jr(l,a(\"div.hover-contents\")),d=n.add(new kb({editor:this._editor},this._languageService,this._openerService)),h=g=>{n.add(d.onDidRenderAsync(()=>{u.className=\"hover-contents code-hover-contents\",e.onContentsChanged()}));const y=w(\"inlineSuggestionFollows\",\"Suggestion:\"),D=n.add(d.render(new H_().appendText(y).appendCodeblock(\"text\",g)));u.replaceChildren(D.element)},p=(s=(i=t.controller.activeModel)===null||i===void 0?void 0:i.inlineCompletionsModel)===null||s===void 0?void 0:s.ghostText;if(p){const g=this._editor.getModel().getLineContent(p.lineNumber);h(p.renderForScreenReader(g))}e.fragment.appendChild(l)}};GK=Wze([ix(1,Dd),ix(2,cw),ix(3,Xa),ix(4,Pc),ix(5,Wg),ix(6,m_)],GK);vu(yh.ID,yh);Fs(jze);Fs(kE);Fs(LE);xw.register(GK);function i_(o,e){let t=0;for(let n=0;n<o.length;n++)o.charAt(n)===\"\t\"?t+=e:t++;return t}function N3(o,e,t){o=o<0?0:o;let n=\"\";if(!t){let i=Math.floor(o/e);o=o%e;for(let s=0;s<i;s++)n+=\"\t\"}for(let i=0;i<o;i++)n+=\" \";return n}function d_e(o,e,t,n,i){if(o.getLineCount()===1&&o.getLineMaxColumn(1)===1)return[];const s=e.getLanguageConfiguration(o.getLanguageId()).indentationRules;if(!s)return[];for(n=Math.min(n,o.getLineCount());t<=n&&s.unIndentedLinePattern;){let k=o.getLineContent(t);if(!s.unIndentedLinePattern.test(k))break;t++}if(t>n-1)return[];const{tabSize:a,indentSize:l,insertSpaces:u}=o.getOptions(),d=(k,I)=>(I=I||1,V_.shiftIndent(k,k.length+I,a,l,u)),h=(k,I)=>(I=I||1,V_.unshiftIndent(k,k.length+I,a,l,u));let p=[],g,y=o.getLineContent(t),D=y;if(i!=null){g=i;let k=Mu(y);D=g+y.substring(k.length),s.decreaseIndentPattern&&s.decreaseIndentPattern.test(D)&&(g=h(g),D=g+y.substring(k.length)),y!==D&&p.push(Yc.replaceMove(new oo(t,1,t,k.length+1),a7(g,l,u)))}else g=Mu(y);let T=g;s.increaseIndentPattern&&s.increaseIndentPattern.test(D)?(T=d(T),g=d(g)):s.indentNextLinePattern&&s.indentNextLinePattern.test(D)&&(T=d(T)),t++;for(let k=t;k<=n;k++){let I=o.getLineContent(k),F=Mu(I),q=T+I.substring(F.length);s.decreaseIndentPattern&&s.decreaseIndentPattern.test(q)&&(T=h(T),g=h(g)),F!==T&&p.push(Yc.replaceMove(new oo(k,1,k,F.length+1),a7(T,l,u))),!(s.unIndentedLinePattern&&s.unIndentedLinePattern.test(I))&&(s.increaseIndentPattern&&s.increaseIndentPattern.test(q)?(g=d(g),T=g):s.indentNextLinePattern&&s.indentNextLinePattern.test(q)?T=d(T):T=g)}return p}class X9 extends xo{constructor(){super({id:X9.ID,label:w(\"indentationToSpaces\",\"Convert Indentation to Spaces\"),alias:\"Convert Indentation to Spaces\",precondition:on.writable})}run(e,t){let n=t.getModel();if(!n)return;let i=n.getOptions(),s=t.getSelection();if(!s)return;const a=new Uze(s,i.tabSize);t.pushUndoStop(),t.executeCommands(this.id,[a]),t.pushUndoStop(),n.updateOptions({insertSpaces:!0})}}X9.ID=\"editor.action.indentationToSpaces\";class Q9 extends xo{constructor(){super({id:Q9.ID,label:w(\"indentationToTabs\",\"Convert Indentation to Tabs\"),alias:\"Convert Indentation to Tabs\",precondition:on.writable})}run(e,t){let n=t.getModel();if(!n)return;let i=n.getOptions(),s=t.getSelection();if(!s)return;const a=new Kze(s,i.tabSize);t.pushUndoStop(),t.executeCommands(this.id,[a]),t.pushUndoStop(),n.updateOptions({insertSpaces:!1})}}Q9.ID=\"editor.action.indentationToTabs\";class h_e extends xo{constructor(e,t){super(t),this.insertSpaces=e}run(e,t){const n=e.get(Nb),i=e.get(Oc);let s=t.getModel();if(!s)return;const a=i.getCreationOptions(s.getLanguageId(),s.uri,s.isForSimpleWidget),l=[1,2,3,4,5,6,7,8].map(d=>({id:d.toString(),label:d.toString(),description:d===a.tabSize?w(\"configuredTabSize\",\"Configured Tab Size\"):void 0})),u=Math.min(s.getOptions().tabSize-1,7);setTimeout(()=>{n.pick(l,{placeHolder:w({key:\"selectTabWidth\",comment:[\"Tab corresponds to the tab key\"]},\"Select Tab Size for Current File\"),activeItem:l[u]}).then(d=>{d&&s&&!s.isDisposed()&&s.updateOptions({tabSize:parseInt(d.label,10),insertSpaces:this.insertSpaces})})},50)}}class Z9 extends h_e{constructor(){super(!1,{id:Z9.ID,label:w(\"indentUsingTabs\",\"Indent Using Tabs\"),alias:\"Indent Using Tabs\",precondition:void 0})}}Z9.ID=\"editor.action.indentUsingTabs\";class eO extends h_e{constructor(){super(!0,{id:eO.ID,label:w(\"indentUsingSpaces\",\"Indent Using Spaces\"),alias:\"Indent Using Spaces\",precondition:void 0})}}eO.ID=\"editor.action.indentUsingSpaces\";class tO extends xo{constructor(){super({id:tO.ID,label:w(\"detectIndentation\",\"Detect Indentation from Content\"),alias:\"Detect Indentation from Content\",precondition:void 0})}run(e,t){const n=e.get(Oc);let i=t.getModel();if(!i)return;const s=n.getCreationOptions(i.getLanguageId(),i.uri,i.isForSimpleWidget);i.detectIndentation(s.insertSpaces,s.tabSize)}}tO.ID=\"editor.action.detectIndentation\";class Hze extends xo{constructor(){super({id:\"editor.action.reindentlines\",label:w(\"editor.reindentlines\",\"Reindent Lines\"),alias:\"Reindent Lines\",precondition:on.writable})}run(e,t){const n=e.get(Dp);let i=t.getModel();if(!i)return;let s=d_e(i,n,1,i.getLineCount());s.length>0&&(t.pushUndoStop(),t.executeEdits(this.id,s),t.pushUndoStop())}}class $ze extends xo{constructor(){super({id:\"editor.action.reindentselectedlines\",label:w(\"editor.reindentselectedlines\",\"Reindent Selected Lines\"),alias:\"Reindent Selected Lines\",precondition:on.writable})}run(e,t){const n=e.get(Dp);let i=t.getModel();if(!i)return;let s=t.getSelections();if(s===null)return;let a=[];for(let l of s){let u=l.startLineNumber,d=l.endLineNumber;if(u!==d&&l.endColumn===1&&d--,u===1){if(u===d)continue}else u--;let h=d_e(i,n,u,d);a.push(...h)}a.length>0&&(t.pushUndoStop(),t.executeEdits(this.id,a),t.pushUndoStop())}}class zze{constructor(e,t){this._initialSelection=t,this._edits=[],this._selectionId=null;for(let n of e)n.range&&typeof n.text==\"string\"&&this._edits.push(n)}getEditOperations(e,t){for(let i of this._edits)t.addEditOperation(He.lift(i.range),i.text);let n=!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?(n=!0,this._selectionId=t.trackSelection(this._initialSelection,!0)):this._edits[0].range.endColumn===this._initialSelection.startColumn&&this._edits[0].range.endLineNumber===this._initialSelection.startLineNumber&&(n=!0,this._selectionId=t.trackSelection(this._initialSelection,!1))),n||(this._selectionId=t.trackSelection(this._initialSelection))}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}class JK{constructor(e){this.callOnDispose=new fs,this.callOnModel=new fs,this.editor=e,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(9)<4||this.editor.getOption(48))&&(!this.editor.hasModel()||this.callOnModel.add(this.editor.onDidPaste(({range:e})=>{this.trigger(e)})))}trigger(e){let t=this.editor.getSelections();if(t===null||t.length>1)return;const n=this.editor.getModel();if(!n||!n.isCheapToTokenize(e.getStartPosition().lineNumber))return;const i=this.editor.getOption(9),{tabSize:s,indentSize:a,insertSpaces:l}=n.getOptions();let u=[],d={shiftIndent:y=>V_.shiftIndent(y,y.length+1,s,a,l),unshiftIndent:y=>V_.unshiftIndent(y,y.length+1,s,a,l)},h=e.startLineNumber;for(;h<=e.endLineNumber;){if(this.shouldIgnoreLine(n,h)){h++;continue}break}if(h>e.endLineNumber)return;let p=n.getLineContent(h);if(!/\\S/.test(p.substring(0,e.startColumn-1))){const y=Nd.getGoodIndentForLine(i,n,n.getLanguageId(),h,d);if(y!==null){let D=Mu(p),T=i_(y,s),k=i_(D,s);if(T!==k){let I=N3(T,s,l);u.push({range:new He(h,1,h,D.length+1),text:I}),p=I+p.substr(D.length)}else{let I=Nd.getIndentMetadata(n,h);if(I===0||I===8)return}}}const g=h;for(;h<e.endLineNumber;){if(!/\\S/.test(n.getLineContent(h+1))){h++;continue}break}if(h!==e.endLineNumber){let y={getLineTokens:T=>n.getLineTokens(T),getLanguageId:()=>n.getLanguageId(),getLanguageIdAtPosition:(T,k)=>n.getLanguageIdAtPosition(T,k),getLineContent:T=>T===g?p:n.getLineContent(T)},D=Nd.getGoodIndentForLine(i,y,n.getLanguageId(),h+1,d);if(D!==null){let T=i_(D,s),k=i_(Mu(n.getLineContent(h+1)),s);if(T!==k){let I=T-k;for(let F=h+1;F<=e.endLineNumber;F++){let q=n.getLineContent(F),re=Mu(q),mt=i_(re,s)+I,Le=N3(mt,s,l);Le!==re&&u.push({range:new He(F,1,F,re.length+1),text:Le})}}}}if(u.length>0){this.editor.pushUndoStop();let y=new zze(u,this.editor.getSelection());this.editor.executeCommand(\"autoIndentOnPaste\",y),this.editor.pushUndoStop()}}shouldIgnoreLine(e,t){e.forceTokenization(t);let n=e.getLineFirstNonWhitespaceColumn(t);if(n===0)return!0;let i=e.getLineTokens(t);if(i.getCount()>0){let s=i.findTokenIndexAtOffset(n);if(s>=0&&i.getStandardTokenType(s)===1)return!0}return!1}dispose(){this.callOnDispose.dispose(),this.callOnModel.dispose()}}JK.ID=\"editor.contrib.autoIndentOnPaste\";function p_e(o,e,t,n){if(o.getLineCount()===1&&o.getLineMaxColumn(1)===1)return;let i=\"\";for(let a=0;a<t;a++)i+=\" \";let s=new RegExp(i,\"gi\");for(let a=1,l=o.getLineCount();a<=l;a++){let u=o.getLineFirstNonWhitespaceColumn(a);if(u===0&&(u=o.getLineMaxColumn(a)),u===1)continue;const d=new He(a,1,a,u),h=o.getValueInRange(d),p=n?h.replace(/\\t/ig,i):h.replace(s,\"\t\");e.addEditOperation(d,p)}}class Uze{constructor(e,t){this.selection=e,this.tabSize=t,this.selectionId=null}getEditOperations(e,t){this.selectionId=t.trackSelection(this.selection),p_e(e,t,this.tabSize,!0)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}}class Kze{constructor(e,t){this.selection=e,this.tabSize=t,this.selectionId=null}getEditOperations(e,t){this.selectionId=t.trackSelection(this.selection),p_e(e,t,this.tabSize,!1)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}}vu(JK.ID,JK);Fs(X9);Fs(Q9);Fs(Z9);Fs(eO);Fs(tO);Fs(Hze);Fs($ze);var lP=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};class f_e{constructor(e,t){this.range=e,this.direction=t}}class mY{constructor(e,t,n){this.hint=e,this.anchor=t,this.provider=n,this._isResolved=!1}with(e){const t=new mY(this.hint,e.anchor,this.provider);return t._isResolved=this._isResolved,t._currentResolve=this._currentResolve,t}resolve(e){return lP(this,void 0,void 0,function*(){if(typeof this.provider.resolveInlayHint==\"function\"){if(this._currentResolve)return yield this._currentResolve,e.isCancellationRequested?void 0:this.resolve(e);this._isResolved||(this._currentResolve=this._doResolve(e).finally(()=>this._currentResolve=void 0)),yield this._currentResolve}})}_doResolve(e){var t,n;return lP(this,void 0,void 0,function*(){try{const i=yield Promise.resolve(this.provider.resolveInlayHint(this.hint,e));this.hint.tooltip=(t=i==null?void 0:i.tooltip)!==null&&t!==void 0?t:this.hint.tooltip,this.hint.label=(n=i==null?void 0:i.label)!==null&&n!==void 0?n:this.hint.label,this._isResolved=!0}catch(i){bh(i),this._isResolved=!1}})}}class HL{constructor(e,t,n){this._disposables=new fs,this.ranges=e,this.provider=new Set;const i=[];for(const[s,a]of t){this._disposables.add(s),this.provider.add(a);for(const l of s.hints){let u=n.validatePosition(l.position),d=\"before\";const h=HL._getRangeAtPosition(n,u);let p;h.getStartPosition().isBefore(u)?(p=He.fromPositions(h.getStartPosition(),u),d=\"after\"):(p=He.fromPositions(u,h.getEndPosition()),d=\"before\"),i.push(new mY(l,new f_e(p,d),a))}}this.items=i.sort((s,a)=>Ii.compare(s.hint.position,a.hint.position))}static create(e,t,n,i){return lP(this,void 0,void 0,function*(){const s=[],a=e.ordered(t).reverse().map(l=>n.map(u=>lP(this,void 0,void 0,function*(){try{const d=yield l.provideInlayHints(t,u,i);d!=null&&d.hints.length&&s.push([d,l])}catch(d){bh(d)}})));if(yield Promise.all(a.flat()),i.isCancellationRequested||t.isDisposed())throw new ow;return new HL(n,s,t)})}dispose(){this._disposables.dispose()}static _getRangeAtPosition(e,t){const n=t.lineNumber,i=e.getWordAtPosition(t);if(i)return new He(n,i.startColumn,n,i.endColumn);e.tokenizeIfCheap(n);const s=e.getLineTokens(n),a=t.column-1,l=s.findTokenIndexAtOffset(a);let u=s.getStartOffset(l),d=s.getEndOffset(l);return d-u===1&&(u===a&&l>1?(u=s.getStartOffset(l-1),d=s.getEndOffset(l-1)):d===a&&l<s.getCount()-1&&(u=s.getStartOffset(l+1),d=s.getEndOffset(l+1))),new He(n,u+1,n,d+1)}}function qze(o){return wa.from({scheme:dl.command,path:o.id,query:o.arguments&&encodeURIComponent(JSON.stringify(o.arguments))}).toString()}var I3=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};function Gze(o,e,t,n){var i;return I3(this,void 0,void 0,function*(){const s=o.get(Wf),a=o.get(vC),l=o.get(Dd),u=o.get(Nl),d=o.get(Sd);if(yield n.item.resolve(Ll.None),!n.part.location)return;const h=n.part.location,p=[],g=new Set(q_.getMenuItems(Fn.EditorContext).map(D=>Cx(D)?D.command.id:\"\"));for(const D of oD.getEditorActions())D instanceof Sw&&g.has(D.id)&&p.push(new h_(D.id,D.label,void 0,!0,()=>I3(this,void 0,void 0,function*(){const T=yield s.createModelReference(h.uri);try{yield u.invokeFunction(D.run.bind(D),e,new IL(T.object.textEditorModel,He.getStartPosition(h.range)))}finally{T.dispose()}})));if(n.part.command){const{command:D}=n.part;p.push(new Ag),p.push(new h_(D.id,D.title,void 0,!0,()=>I3(this,void 0,void 0,function*(){var T;try{yield l.executeCommand(D.id,...(T=D.arguments)!==null&&T!==void 0?T:[])}catch(k){d.notify({severity:bde.Error,source:n.item.provider.displayName,message:k})}})))}const y=e.getOption(115);a.showContextMenu({domForShadowRoot:y&&(i=e.getDomNode())!==null&&i!==void 0?i:void 0,getAnchor:()=>{const D=Gh(t);return{x:D.left,y:D.top+D.height+8}},getActions:()=>p,onHide:()=>{e.focus()},autoSelectFirstItem:!0})})}function Jze(o,e,t,n){return I3(this,void 0,void 0,function*(){const s=yield o.get(Wf).createModelReference(n.uri);yield t.invokeWithinContext(a=>I3(this,void 0,void 0,function*(){const l=e.hasSideBySideModifier,u=a.get(Xa),d=jf.inPeekEditor.getValue(u),h=!l&&t.getOption(78)&&!d;return new S4({openToSide:l,openInPeek:h,muteMessage:!0},{alias:\"\",label:\"\",id:\"\",precondition:void 0}).run(a,t,{model:s.object.textEditorModel,position:He.getStartPosition(n.range)})})),s.dispose()})}var Yze=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},rx=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},fx=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};class uP{constructor(){this._entries=new DC(50)}get(e){const t=uP._key(e);return this._entries.get(t)}set(e,t){const n=uP._key(e);this._entries.set(n,t)}static _key(e){return`${e.uri.toString()}/${e.getVersionId()}`}}const __e=zl(\"IInlayHintsCache\");su(__e,uP,!0);class YK{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 Xze{constructor(e,t){this.part=e,this.hasTriggerModifier=t}}let JD=class XK{constructor(e,t,n,i,s,a,l){this._editor=e,this._languageFeaturesService=t,this._inlayHintsCache=i,this._commandService=s,this._notificationService=a,this._instaService=l,this._disposables=new fs,this._sessionDisposables=new fs,this._decorationsMetadata=new Map,this._ruleFactory=new r4(this._editor),this._debounceInfo=n.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(u=>{u.hasChanged(127)&&this._update()})),this._update()}static get(e){var t;return(t=e.getContribution(XK.ID))!==null&&t!==void 0?t:void 0}dispose(){this._sessionDisposables.dispose(),this._removeAllDecorations(),this._disposables.dispose()}_update(){if(this._sessionDisposables.clear(),this._removeAllDecorations(),!this._editor.getOption(127).enabled)return;const e=this._editor.getModel();if(!e||!this._languageFeaturesService.inlayHintsProvider.has(e))return;const t=this._inlayHintsCache.get(e);t&&this._updateHintsDecorators([e.getFullModelRange()],t),this._sessionDisposables.add(wl(()=>{e.isDisposed()||this._cacheHintsForFastRestore(e)}));let n,i=new Set;const s=new Bu(()=>fx(this,void 0,void 0,function*(){const a=Date.now();n==null||n.dispose(!0),n=new Xh;const l=e.onWillDispose(()=>n==null?void 0:n.cancel());try{const u=n.token,d=yield HL.create(this._languageFeaturesService.inlayHintsProvider,e,this._getHintsRanges(),u);if(s.delay=this._debounceInfo.update(e,Date.now()-a),u.isCancellationRequested){d.dispose();return}for(const h of d.provider)typeof h.onDidChangeInlayHints==\"function\"&&!i.has(h)&&(i.add(h),this._sessionDisposables.add(h.onDidChangeInlayHints(()=>{s.isScheduled()||s.schedule()})));this._sessionDisposables.add(d),this._updateHintsDecorators(d.ranges,d.items),this._cacheHintsForFastRestore(e)}catch(u){tl(u)}finally{n.dispose(),l.dispose()}}),this._debounceInfo.get(e));this._sessionDisposables.add(s),this._sessionDisposables.add(wl(()=>n==null?void 0:n.dispose(!0))),s.schedule(0),this._sessionDisposables.add(this._editor.onDidScrollChange(a=>{(a.scrollTopChanged||!s.isScheduled())&&s.schedule()})),this._sessionDisposables.add(this._editor.onDidChangeModelContent(a=>{const l=Math.max(s.delay,1250);s.schedule(l)})),this._sessionDisposables.add(this._installLinkGesture()),this._sessionDisposables.add(this._installDblClickGesture()),this._sessionDisposables.add(this._installContextMenu())}_installLinkGesture(){const e=new fs,t=e.add(new XJ(this._editor)),n=new fs;return e.add(n),e.add(t.onMouseMoveOrRelevantKeyDown(i=>{const[s]=i,a=this._getInlayHintLabelPart(s),l=this._editor.getModel();if(!a||!l){n.clear();return}const u=new Xh;n.add(wl(()=>u.dispose(!0))),a.item.resolve(u.token),this._activeInlayHintPart=a.part.command||a.part.location?new Xze(a,s.hasTriggerModifier):void 0;const d=a.item.hint.position.lineNumber,h=new He(d,1,d,l.getLineMaxColumn(d)),p=new Set;for(const g of this._decorationsMetadata.values())h.containsRange(g.item.anchor.range)&&p.add(g.item);this._updateHintsDecorators([h],Array.from(p)),n.add(wl(()=>{this._activeInlayHintPart=void 0,this._updateHintsDecorators([h],Array.from(p))}))})),e.add(t.onCancel(()=>n.clear())),e.add(t.onExecute(i=>fx(this,void 0,void 0,function*(){const s=this._getInlayHintLabelPart(i);if(s){const a=s.part;a.location?this._instaService.invokeFunction(Jze,i,this._editor,a.location):p$.is(a.command)&&(yield this._invokeCommand(a.command,s.item))}}))),e}_installDblClickGesture(){return this._editor.onMouseUp(e=>fx(this,void 0,void 0,function*(){if(e.event.detail!==2)return;const t=this._getInlayHintLabelPart(e);!t||(e.event.preventDefault(),yield t.item.resolve(Ll.None),t.item.hint.command&&(yield this._invokeCommand(t.item.hint.command,t.item)))}))}_installContextMenu(){return this._editor.onContextMenu(e=>fx(this,void 0,void 0,function*(){if(!(e.event.target instanceof HTMLElement))return;const t=this._getInlayHintLabelPart(e);t&&(yield this._instaService.invokeFunction(Gze,this._editor,e.event.target,t))}))}_getInlayHintLabelPart(e){var t;if(e.target.type!==6)return;const n=(t=e.target.detail.injectedText)===null||t===void 0?void 0:t.options;if(n instanceof OD&&(n==null?void 0:n.attachedData)instanceof YK)return n.attachedData}_invokeCommand(e,t){var n;return fx(this,void 0,void 0,function*(){try{yield this._commandService.executeCommand(e.id,...(n=e.arguments)!==null&&n!==void 0?n:[])}catch(i){this._notificationService.notify({severity:bde.Error,source:t.provider.displayName,message:i})}})}_cacheHintsForFastRestore(e){const t=new Map;for(const[n,i]of this._decorationsMetadata){if(t.has(i.item))continue;let s=i.item;const a=e.getDecorationRange(n);if(a){const l=new f_e(a,i.item.anchor.direction);s=i.item.with({anchor:l})}t.set(i.item,s)}this._inlayHintsCache.set(e,Array.from(t.values()))}_getHintsRanges(){const t=this._editor.getModel(),n=this._editor.getVisibleRangesPlusViewportAboveBelow(),i=[];for(const s of n.sort(He.compareRangesUsingStarts)){const a=t.validateRange(new He(s.startLineNumber-30,s.startColumn,s.endLineNumber+30,s.endColumn));i.length===0||!He.areIntersectingOrTouching(i[i.length-1],a)?i.push(a):i[i.length-1]=He.plusRange(i[i.length-1],a)}return i}_updateHintsDecorators(e,t){var n,i;const s=[],a=(y,D,T,k,I)=>{s.push({item:y,classNameRef:D,decoration:{range:y.anchor.range,options:{description:\"InlayHint\",showIfCollapsed:y.anchor.range.isEmpty(),collapseOnReplaceEdit:!y.anchor.range.isEmpty(),stickiness:0,[y.anchor.direction]:{content:T,inlineClassNameAffectsLetterSpacing:!0,inlineClassName:D.className,cursorStops:k,attachedData:I}}}})},l=(y,D)=>{const T=this._ruleFactory.createClassNameRef({width:`${u/3|0}px`,display:\"inline-block\"});a(y,T,\"\\u200A\",D?P1.Right:P1.None)},{fontSize:u,fontFamily:d}=this._getLayoutInfo(),h=\"--code-editorInlayHintsFontFamily\";this._editor.getContainerDomNode().style.setProperty(h,d);for(const y of t){y.hint.paddingLeft&&l(y,!1);const D=typeof y.hint.label==\"string\"?[{label:y.hint.label}]:y.hint.label;for(let T=0;T<D.length;T++){const k=D[T],I=T===0,F=T===D.length-1,q={fontSize:`${u}px`,fontFamily:`var(${h}), ${Rp.fontFamily}`,verticalAlign:\"middle\"};y.hint.command&&(q.cursor=\"pointer\"),this._fillInColors(q,y.hint),(k.command||k.location)&&((n=this._activeInlayHintPart)===null||n===void 0?void 0:n.part.item)===y&&this._activeInlayHintPart.part.index===T&&(q.textDecoration=\"underline\",this._activeInlayHintPart.hasTriggerModifier&&(q.color=Jc(CG),q.cursor=\"pointer\")),I&&F?(q.padding=`1px ${Math.max(1,u/4)|0}px`,q.borderRadius=`${u/4|0}px`):I?(q.padding=`1px 0 1px ${Math.max(1,u/4)|0}px`,q.borderRadius=`${u/4|0}px 0 0 ${u/4|0}px`):F?(q.padding=`1px ${Math.max(1,u/4)|0}px 1px 0`,q.borderRadius=`0 ${u/4|0}px ${u/4|0}px 0`):q.padding=\"1px 0 1px 0\",a(y,this._ruleFactory.createClassNameRef(q),Qze(k.label),F&&!y.hint.paddingRight?P1.Right:P1.None,new YK(y,T))}if(y.hint.paddingRight&&l(y,!0),s.length>XK._MAX_DECORATORS)break}const p=[];for(const y of e)for(const{id:D}of(i=this._editor.getDecorationsInRange(y))!==null&&i!==void 0?i:[]){const T=this._decorationsMetadata.get(D);T&&(p.push(D),T.classNameRef.dispose(),this._decorationsMetadata.delete(D))}const g=this._editor.deltaDecorations(p,s.map(y=>y.decoration));for(let y=0;y<g.length;y++){const D=s[y];this._decorationsMetadata.set(g[y],{item:D.item,classNameRef:D.classNameRef})}}_fillInColors(e,t){t.kind===j8.Parameter?(e.backgroundColor=Jc(n4e),e.color=Jc(t4e)):t.kind===j8.Type?(e.backgroundColor=Jc(e4e),e.color=Jc(ZLe)):(e.backgroundColor=Jc(cD),e.color=Jc(uD))}_getLayoutInfo(){const e=this._editor.getOption(127),t=this._editor.getOption(46);let n=e.fontSize;(!n||n<5||n>t)&&(n=t*.9|0);const i=e.fontFamily||this._editor.getOption(43);return{fontSize:n,fontFamily:i}}_removeAllDecorations(){this._editor.deltaDecorations(Array.from(this._decorationsMetadata.keys()),[]);for(let e of this._decorationsMetadata.values())e.classNameRef.dispose();this._decorationsMetadata.clear()}};JD.ID=\"editor.contrib.InlayHints\";JD._MAX_DECORATORS=1500;JD=Yze([rx(1,$o),rx(2,jg),rx(3,__e),rx(4,Dd),rx(5,Sd),rx(6,Nl)],JD);function Qze(o){const e=\"\\xA0\";return o.replace(/[ \\t]/g,e)}tu.registerCommand(\"_executeInlayHintProvider\",(o,...e)=>fx(void 0,void 0,void 0,function*(){const[t,n]=e;$u(wa.isUri(t)),$u(He.isIRange(n));const{inlayHintsProvider:i}=o.get($o),s=yield o.get(Wf).createModelReference(t);try{const a=yield HL.create(i,s.object.textEditorModel,[He.lift(n)],Ll.None),l=a.items.map(u=>u.hint);return setTimeout(()=>a.dispose(),0),l}finally{s.dispose()}}));var Zze=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},Wk=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},ole=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})},eUe=globalThis&&globalThis.__asyncValues||function(o){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var e=o[Symbol.asyncIterator],t;return e?e.call(o):(o=typeof __values==\"function\"?__values(o):o[Symbol.iterator](),t={},n(\"next\"),n(\"throw\"),n(\"return\"),t[Symbol.asyncIterator]=function(){return this},t);function n(s){t[s]=o[s]&&function(a){return new Promise(function(l,u){a=o[s](a),i(l,u,a.done,a.value)})}}function i(s,a,l,u){Promise.resolve(u).then(function(d){s({value:d,done:l})},a)}};class ale extends v8{constructor(e,t){super(10,t,e.item.anchor.range),this.part=e}}let QK=class extends rP{constructor(e,t,n,i,s,a){super(e,t,n,i,a),this._resolverService=s,this.hoverOrdinal=6}suggestHoverAnchor(e){var t;if(!JD.get(this._editor)||e.target.type!==6)return null;const i=(t=e.target.detail.injectedText)===null||t===void 0?void 0:t.options;return i instanceof OD&&i.attachedData instanceof YK?new ale(i.attachedData,this):null}computeSync(){return[]}computeAsync(e,t,n){return e instanceof ale?new vd(i=>ole(this,void 0,void 0,function*(){var s,a;const{part:l}=e;if(yield l.item.resolve(n),n.isCancellationRequested)return;let u;typeof l.item.hint.tooltip==\"string\"?u=new H_().appendText(l.item.hint.tooltip):l.item.hint.tooltip&&(u=l.item.hint.tooltip),u&&i.emitOne(new fb(this,e.range,[u],0));let d;if(typeof l.part.tooltip==\"string\"?d=new H_().appendText(l.part.tooltip):l.part.tooltip&&(d=l.part.tooltip),d&&i.emitOne(new fb(this,e.range,[d],1)),l.part.location||l.part.command){let y;const T=this._editor.getOption(70)===\"altKey\"?El?w(\"links.navigate.kb.meta.mac\",\"cmd + click\"):w(\"links.navigate.kb.meta\",\"ctrl + click\"):El?w(\"links.navigate.kb.alt.mac\",\"option + click\"):w(\"links.navigate.kb.alt\",\"alt + click\");l.part.location&&l.part.command?y=new H_().appendText(w(\"hint.defAndCommand\",\"Go to Definition ({0}), right click for more\",T)):l.part.location?y=new H_().appendText(w(\"hint.def\",\"Go to Definition ({0})\",T)):l.part.command&&(y=new H_(`[${w(\"hint.cmd\",\"Execute Command\")}](${qze(l.part.command)} \"${l.part.command.title}\") (${T})`,{isTrusted:!0})),y&&i.emitOne(new fb(this,e.range,[y],1e4))}const h=yield this._resolveInlayHintLabelPartHover(l,n);try{for(var p=eUe(h),g;g=yield p.next(),!g.done;){let y=g.value;i.emitOne(y)}}catch(y){s={error:y}}finally{try{g&&!g.done&&(a=p.return)&&(yield a.call(p))}finally{if(s)throw s.error}}})):vd.EMPTY}_resolveInlayHintLabelPartHover(e,t){return ole(this,void 0,void 0,function*(){if(!e.part.location)return vd.EMPTY;const{uri:n,range:i}=e.part.location,s=yield this._resolverService.createModelReference(n);try{const a=s.object.textEditorModel;return this._languageFeaturesService.hoverProvider.has(a)?oY(this._languageFeaturesService.hoverProvider,a,new Ii(i.startLineNumber,i.startColumn),t).filter(l=>!yE(l.hover.contents)).map(l=>new fb(this,e.item.anchor.range,l.hover.contents,2+l.ordinal)):vd.EMPTY}finally{s.dispose()}})}};QK=Zze([Wk(1,Pc),Wk(2,Wg),Wk(3,Uu),Wk(4,Wf),Wk(5,$o)],QK);vu(JD.ID,JD);xw.register(QK);class tUe{constructor(e,t,n){this._editRange=e,this._originalSelection=t,this._text=n}getEditOperations(e,t){t.addTrackedEditOperation(this._editRange,this._text)}computeCursorState(e,t){const i=t.getInverseEditOperations()[0].range;return this._originalSelection.isEmpty()?new oo(i.endLineNumber,Math.min(this._originalSelection.positionColumn,i.endColumn),i.endLineNumber,Math.min(this._originalSelection.positionColumn,i.endColumn)):new oo(i.endLineNumber,i.endColumn-this._text.length,i.endLineNumber,i.endColumn)}}var nUe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},iUe=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let mC=class ZK{constructor(e,t){this.decorationIds=[],this.editor=e,this.editorWorkerService=t}static get(e){return e.getContribution(ZK.ID)}dispose(){}run(e,t){this.currentRequest&&this.currentRequest.cancel();const n=this.editor.getSelection(),i=this.editor.getModel();if(!i||!n)return;let s=n;if(s.startLineNumber!==s.endLineNumber)return;const a=new EL(this.editor,5),l=i.uri;return this.editorWorkerService.canNavigateValueSet(l)?(this.currentRequest=Oh(u=>this.editorWorkerService.navigateValueSet(l,s,t)),this.currentRequest.then(u=>{if(!u||!u.range||!u.value||!a.validate(this.editor))return;let d=He.lift(u.range),h=u.range,p=u.value.length-(s.endColumn-s.startColumn);h={startLineNumber:h.startLineNumber,startColumn:h.startColumn,endLineNumber:h.endLineNumber,endColumn:h.startColumn+u.value.length},p>1&&(s=new oo(s.startLineNumber,s.startColumn,s.endLineNumber,s.endColumn+p-1));const g=new tUe(d,s,u.value);this.editor.pushUndoStop(),this.editor.executeCommand(e,g),this.editor.pushUndoStop(),this.decorationIds=this.editor.deltaDecorations(this.decorationIds,[{range:h,options:ZK.DECORATION}]),this.decorationRemover&&this.decorationRemover.cancel(),this.decorationRemover=Zv(350),this.decorationRemover.then(()=>this.decorationIds=this.editor.deltaDecorations(this.decorationIds,[])).catch(tl)}).catch(tl)):Promise.resolve(void 0)}};mC.ID=\"editor.contrib.inPlaceReplaceController\";mC.DECORATION=_l.register({description:\"in-place-replace\",className:\"valueSetReplacement\"});mC=nUe([iUe(1,Bg)],mC);class rUe extends xo{constructor(){super({id:\"editor.action.inPlaceReplace.up\",label:w(\"InPlaceReplaceAction.previous.label\",\"Replace with Previous Value\"),alias:\"Replace with Previous Value\",precondition:on.writable,kbOpts:{kbExpr:on.editorTextFocus,primary:3154,weight:100}})}run(e,t){const n=mC.get(t);return n?n.run(this.id,!0):Promise.resolve(void 0)}}class sUe extends xo{constructor(){super({id:\"editor.action.inPlaceReplace.down\",label:w(\"InPlaceReplaceAction.next.label\",\"Replace with Next Value\"),alias:\"Replace with Next Value\",precondition:on.writable,kbOpts:{kbExpr:on.editorTextFocus,primary:3156,weight:100}})}run(e,t){const n=mC.get(t);return n?n.run(this.id,!1):Promise.resolve(void 0)}}vu(mC.ID,mC);Fs(rUe);Fs(sUe);ac((o,e)=>{const t=o.getColor(Fce);t&&e.addRule(`.monaco-editor.vs .valueSetReplacement { outline: solid 2px ${t}; }`)});class oUe extends xo{constructor(){super({id:\"expandLineSelection\",label:w(\"expandLineSelection\",\"Expand Line Selection\"),alias:\"Expand Line Selection\",precondition:void 0,kbOpts:{weight:0,kbExpr:on.textInputFocus,primary:2090}})}run(e,t,n){if(n=n||{},!t.hasModel())return;const i=t._getViewModel();i.model.pushStackElement(),i.setCursorStates(n.source,3,Lh.expandLineSelection(i,i.getCursorStates())),i.revealPrimaryCursor(n.source,!0)}}Fs(oUe);class aUe{constructor(e,t){this._selection=e,this._cursors=t,this._selectionId=null}getEditOperations(e,t){const n=lUe(e,this._cursors);for(let i=0,s=n.length;i<s;i++){const a=n[i];t.addEditOperation(a.range,a.text)}this._selectionId=t.trackSelection(this._selection)}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}function lUe(o,e){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 t=[];let n=0,i=0;const s=e.length;for(let a=1,l=o.getLineCount();a<=l;a++){const u=o.getLineContent(a),d=u.length+1;let h=0;if(i<s&&e[i].lineNumber===a&&(h=e[i].column,i++,h===d)||u.length===0)continue;const p=V1(u);let g=0;if(p===-1)g=1;else if(p!==u.length-1)g=p+2;else continue;g=Math.max(h,g),t[n++]=Yc.delete(new He(a,g,a,d))}return t}class g_e{constructor(e,t,n){this._selection=e,this._isCopyingDown=t,this._noop=n||!1,this._selectionDirection=0,this._selectionId=null,this._startLineNumberDelta=0,this._endLineNumberDelta=0}getEditOperations(e,t){let n=this._selection;this._startLineNumberDelta=0,this._endLineNumberDelta=0,n.startLineNumber<n.endLineNumber&&n.endColumn===1&&(this._endLineNumberDelta=1,n=n.setEndPosition(n.endLineNumber-1,e.getLineMaxColumn(n.endLineNumber-1)));let i=[];for(let a=n.startLineNumber;a<=n.endLineNumber;a++)i.push(e.getLineContent(a));const s=i.join(`\n`);s===\"\"&&this._isCopyingDown&&(this._startLineNumberDelta++,this._endLineNumberDelta++),this._noop?t.addEditOperation(new He(n.endLineNumber,e.getLineMaxColumn(n.endLineNumber),n.endLineNumber+1,1),n.endLineNumber===e.getLineCount()?\"\":`\n`):this._isCopyingDown?t.addEditOperation(new He(n.startLineNumber,1,n.startLineNumber,1),s+`\n`):t.addEditOperation(new He(n.endLineNumber,e.getLineMaxColumn(n.endLineNumber),n.endLineNumber,e.getLineMaxColumn(n.endLineNumber)),`\n`+s),this._selectionId=t.trackSelection(n),this._selectionDirection=this._selection.getDirection()}computeCursorState(e,t){let n=t.getTrackedSelection(this._selectionId);if(this._startLineNumberDelta!==0||this._endLineNumberDelta!==0){let i=n.startLineNumber,s=n.startColumn,a=n.endLineNumber,l=n.endColumn;this._startLineNumberDelta!==0&&(i=i+this._startLineNumberDelta,s=1),this._endLineNumberDelta!==0&&(a=a+this._endLineNumberDelta,l=1),n=oo.createWithDirection(i,s,a,l,this._selectionDirection)}return n}}class uUe{constructor(e,t,n){this._selection=e,this._isMovingDown=t,this._autoIndent=n,this._selectionId=null,this._moveEndLineSelectionShrink=!1}getEditOperations(e,t){let n=e.getLineCount();if(this._isMovingDown&&this._selection.endLineNumber===n){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 i=this._selection;i.startLineNumber<i.endLineNumber&&i.endColumn===1&&(this._moveEndPositionDown=!0,i=i.setEndPosition(i.endLineNumber-1,e.getLineMaxColumn(i.endLineNumber-1)));const{tabSize:s,indentSize:a,insertSpaces:l}=e.getOptions();let u=this.buildIndentConverter(s,a,l),d={getLineTokens:h=>e.getLineTokens(h),getLanguageId:()=>e.getLanguageId(),getLanguageIdAtPosition:(h,p)=>e.getLanguageIdAtPosition(h,p),getLineContent:null};if(i.startLineNumber===i.endLineNumber&&e.getLineMaxColumn(i.startLineNumber)===1){let h=i.startLineNumber,p=this._isMovingDown?h+1:h-1;e.getLineMaxColumn(p)===1?t.addEditOperation(new He(1,1,1,1),null):(t.addEditOperation(new He(h,1,h,1),e.getLineContent(p)),t.addEditOperation(new He(p,1,p,e.getLineMaxColumn(p)),null)),i=new oo(p,1,p,1)}else{let h,p;if(this._isMovingDown){h=i.endLineNumber+1,p=e.getLineContent(h),t.addEditOperation(new He(h-1,e.getLineMaxColumn(h-1),h,e.getLineMaxColumn(h)),null);let g=p;if(this.shouldAutoIndent(e,i)){let y=this.matchEnterRule(e,u,s,h,i.startLineNumber-1);if(y!==null){let T=Mu(e.getLineContent(h)),k=y+i_(T,s);g=N3(k,s,l)+this.trimLeft(p)}else{d.getLineContent=k=>k===i.startLineNumber?e.getLineContent(h):e.getLineContent(k);let T=Nd.getGoodIndentForLine(this._autoIndent,d,e.getLanguageIdAtPosition(h,1),i.startLineNumber,u);if(T!==null){let k=Mu(e.getLineContent(h)),I=i_(T,s),F=i_(k,s);I!==F&&(g=N3(I,s,l)+this.trimLeft(p))}}t.addEditOperation(new He(i.startLineNumber,1,i.startLineNumber,1),g+`\n`);let D=this.matchEnterRuleMovingDown(e,u,s,i.startLineNumber,h,g);if(D!==null)D!==0&&this.getIndentEditsOfMovingBlock(e,t,i,s,l,D);else{d.getLineContent=k=>k===i.startLineNumber?g:k>=i.startLineNumber+1&&k<=i.endLineNumber+1?e.getLineContent(k-1):e.getLineContent(k);let T=Nd.getGoodIndentForLine(this._autoIndent,d,e.getLanguageIdAtPosition(h,1),i.startLineNumber+1,u);if(T!==null){const k=Mu(e.getLineContent(i.startLineNumber)),I=i_(T,s),F=i_(k,s);if(I!==F){const q=I-F;this.getIndentEditsOfMovingBlock(e,t,i,s,l,q)}}}}else t.addEditOperation(new He(i.startLineNumber,1,i.startLineNumber,1),g+`\n`)}else if(h=i.startLineNumber-1,p=e.getLineContent(h),t.addEditOperation(new He(h,1,h+1,1),null),t.addEditOperation(new He(i.endLineNumber,e.getLineMaxColumn(i.endLineNumber),i.endLineNumber,e.getLineMaxColumn(i.endLineNumber)),`\n`+p),this.shouldAutoIndent(e,i)){d.getLineContent=y=>y===h?e.getLineContent(i.startLineNumber):e.getLineContent(y);let g=this.matchEnterRule(e,u,s,i.startLineNumber,i.startLineNumber-2);if(g!==null)g!==0&&this.getIndentEditsOfMovingBlock(e,t,i,s,l,g);else{let y=Nd.getGoodIndentForLine(this._autoIndent,d,e.getLanguageIdAtPosition(i.startLineNumber,1),h,u);if(y!==null){let D=Mu(e.getLineContent(i.startLineNumber)),T=i_(y,s),k=i_(D,s);if(T!==k){let I=T-k;this.getIndentEditsOfMovingBlock(e,t,i,s,l,I)}}}}}this._selectionId=t.trackSelection(i)}buildIndentConverter(e,t,n){return{shiftIndent:i=>V_.shiftIndent(i,i.length+1,e,t,n),unshiftIndent:i=>V_.unshiftIndent(i,i.length+1,e,t,n)}}parseEnterResult(e,t,n,i,s){if(s){let a=s.indentation;s.indentAction===bd.None||s.indentAction===bd.Indent?a=s.indentation+s.appendText:s.indentAction===bd.IndentOutdent?a=s.indentation:s.indentAction===bd.Outdent&&(a=t.unshiftIndent(s.indentation)+s.appendText);let l=e.getLineContent(i);if(this.trimLeft(l).indexOf(this.trimLeft(a))>=0){let u=Mu(e.getLineContent(i)),d=Mu(a),h=Nd.getIndentMetadata(e,i);h!==null&&h&2&&(d=t.unshiftIndent(d));let p=i_(d,n),g=i_(u,n);return p-g}}return null}matchEnterRuleMovingDown(e,t,n,i,s,a){if(V1(a)>=0){let l=e.getLineMaxColumn(s),u=Nd.getEnterAction(this._autoIndent,e,new He(s,l,s,l));return this.parseEnterResult(e,t,n,i,u)}else{let l=i-1;for(;l>=1;){let h=e.getLineContent(l);if(V1(h)>=0)break;l--}if(l<1||i>e.getLineCount())return null;let u=e.getLineMaxColumn(l),d=Nd.getEnterAction(this._autoIndent,e,new He(l,u,l,u));return this.parseEnterResult(e,t,n,i,d)}}matchEnterRule(e,t,n,i,s,a){let l=s;for(;l>=1;){let h;if(l===s&&a!==void 0?h=a:h=e.getLineContent(l),V1(h)>=0)break;l--}if(l<1||i>e.getLineCount())return null;let u=e.getLineMaxColumn(l),d=Nd.getEnterAction(this._autoIndent,e,new He(l,u,l,u));return this.parseEnterResult(e,t,n,i,d)}trimLeft(e){return e.replace(/^\\s+/,\"\")}shouldAutoIndent(e,t){if(this._autoIndent<4||!e.isCheapToTokenize(t.startLineNumber))return!1;let n=e.getLanguageIdAtPosition(t.startLineNumber,1),i=e.getLanguageIdAtPosition(t.endLineNumber,1);return!(n!==i||Nd.getIndentRulesSupport(n)===null)}getIndentEditsOfMovingBlock(e,t,n,i,s,a){for(let l=n.startLineNumber;l<=n.endLineNumber;l++){let u=e.getLineContent(l),d=Mu(u),p=i_(d,i)+a,g=N3(p,i,s);g!==d&&(t.addEditOperation(new He(l,1,l,d.length+1),g),l===n.endLineNumber&&n.endColumn<=d.length+1&&g===\"\"&&(this._moveEndLineSelectionShrink=!0))}}computeCursorState(e,t){let n=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(n=n.setEndPosition(n.endLineNumber+1,1)),this._moveEndLineSelectionShrink&&n.startLineNumber<n.endLineNumber&&(n=n.setEndPosition(n.endLineNumber,2)),n}}class Jv{constructor(e,t){this.selection=e,this.descending=t,this.selectionId=null}static getCollator(){return Jv._COLLATOR||(Jv._COLLATOR=new Intl.Collator),Jv._COLLATOR}getEditOperations(e,t){let n=cUe(e,this.selection,this.descending);n&&t.addEditOperation(n.range,n.text),this.selectionId=t.trackSelection(this.selection)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}static canRun(e,t,n){if(e===null)return!1;let i=m_e(e,t,n);if(!i)return!1;for(let s=0,a=i.before.length;s<a;s++)if(i.before[s]!==i.after[s])return!0;return!1}}Jv._COLLATOR=null;function m_e(o,e,t){let n=e.startLineNumber,i=e.endLineNumber;if(e.endColumn===1&&i--,n>=i)return null;let s=[];for(let l=n;l<=i;l++)s.push(o.getLineContent(l));let a=s.slice(0);return a.sort(Jv.getCollator().compare),t===!0&&(a=a.reverse()),{startLineNumber:n,endLineNumber:i,before:s,after:a}}function cUe(o,e,t){let n=m_e(o,e,t);return n?Yc.replace(new He(n.startLineNumber,1,n.endLineNumber,o.getLineMaxColumn(n.endLineNumber)),n.after.join(`\n`)):null}class y_e extends xo{constructor(e,t){super(t),this.down=e}run(e,t){if(!t.hasModel())return;const n=t.getSelections().map((a,l)=>({selection:a,index:l,ignore:!1}));n.sort((a,l)=>He.compareRangesUsingStarts(a.selection,l.selection));let i=n[0];for(let a=1;a<n.length;a++){const l=n[a];i.selection.endLineNumber===l.selection.startLineNumber&&(i.index<l.index?l.ignore=!0:(i.ignore=!0,i=l))}const s=[];for(const a of n)s.push(new g_e(a.selection,this.down,a.ignore));t.pushUndoStop(),t.executeCommands(this.id,s),t.pushUndoStop()}}class dUe extends y_e{constructor(){super(!1,{id:\"editor.action.copyLinesUpAction\",label:w(\"lines.copyUp\",\"Copy Line Up\"),alias:\"Copy Line Up\",precondition:on.writable,kbOpts:{kbExpr:on.editorTextFocus,primary:1552,linux:{primary:3600},weight:100},menuOpts:{menuId:Fn.MenubarSelectionMenu,group:\"2_line\",title:w({key:\"miCopyLinesUp\",comment:[\"&& denotes a mnemonic\"]},\"&&Copy Line Up\"),order:1}})}}class hUe extends y_e{constructor(){super(!0,{id:\"editor.action.copyLinesDownAction\",label:w(\"lines.copyDown\",\"Copy Line Down\"),alias:\"Copy Line Down\",precondition:on.writable,kbOpts:{kbExpr:on.editorTextFocus,primary:1554,linux:{primary:3602},weight:100},menuOpts:{menuId:Fn.MenubarSelectionMenu,group:\"2_line\",title:w({key:\"miCopyLinesDown\",comment:[\"&& denotes a mnemonic\"]},\"Co&&py Line Down\"),order:2}})}}class pUe extends xo{constructor(){super({id:\"editor.action.duplicateSelection\",label:w(\"duplicateSelection\",\"Duplicate Selection\"),alias:\"Duplicate Selection\",precondition:on.writable,menuOpts:{menuId:Fn.MenubarSelectionMenu,group:\"2_line\",title:w({key:\"miDuplicateSelection\",comment:[\"&& denotes a mnemonic\"]},\"&&Duplicate Selection\"),order:5}})}run(e,t,n){if(!t.hasModel())return;const i=[],s=t.getSelections(),a=t.getModel();for(const l of s)if(l.isEmpty())i.push(new g_e(l,!0));else{const u=new oo(l.endLineNumber,l.endColumn,l.endLineNumber,l.endColumn);i.push(new h6e(u,a.getValueInRange(l)))}t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}class b_e extends xo{constructor(e,t){super(t),this.down=e}run(e,t){let n=[],i=t.getSelections()||[];const s=t.getOption(9);for(const a of i)n.push(new uUe(a,this.down,s));t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop()}}class fUe extends b_e{constructor(){super(!1,{id:\"editor.action.moveLinesUpAction\",label:w(\"lines.moveUp\",\"Move Line Up\"),alias:\"Move Line Up\",precondition:on.writable,kbOpts:{kbExpr:on.editorTextFocus,primary:528,linux:{primary:528},weight:100},menuOpts:{menuId:Fn.MenubarSelectionMenu,group:\"2_line\",title:w({key:\"miMoveLinesUp\",comment:[\"&& denotes a mnemonic\"]},\"Mo&&ve Line Up\"),order:3}})}}class _Ue extends b_e{constructor(){super(!0,{id:\"editor.action.moveLinesDownAction\",label:w(\"lines.moveDown\",\"Move Line Down\"),alias:\"Move Line Down\",precondition:on.writable,kbOpts:{kbExpr:on.editorTextFocus,primary:530,linux:{primary:530},weight:100},menuOpts:{menuId:Fn.MenubarSelectionMenu,group:\"2_line\",title:w({key:\"miMoveLinesDown\",comment:[\"&& denotes a mnemonic\"]},\"Move &&Line Down\"),order:4}})}}class v_e extends xo{constructor(e,t){super(t),this.descending=e}run(e,t){const n=t.getSelections()||[];for(const s of n)if(!Jv.canRun(t.getModel(),s,this.descending))return;let i=[];for(let s=0,a=n.length;s<a;s++)i[s]=new Jv(n[s],this.descending);t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}class gUe extends v_e{constructor(){super(!1,{id:\"editor.action.sortLinesAscending\",label:w(\"lines.sortAscending\",\"Sort Lines Ascending\"),alias:\"Sort Lines Ascending\",precondition:on.writable})}}class mUe extends v_e{constructor(){super(!0,{id:\"editor.action.sortLinesDescending\",label:w(\"lines.sortDescending\",\"Sort Lines Descending\"),alias:\"Sort Lines Descending\",precondition:on.writable})}}class yUe extends xo{constructor(){super({id:\"editor.action.removeDuplicateLines\",label:w(\"lines.deleteDuplicates\",\"Delete Duplicate Lines\"),alias:\"Delete Duplicate Lines\",precondition:on.writable})}run(e,t){if(!t.hasModel())return;let n=t.getModel();if(n.getLineCount()===1&&n.getLineMaxColumn(1)===1)return;let i=[],s=[],a=0;for(let l of t.getSelections()){let u=new Set,d=[];for(let y=l.startLineNumber;y<=l.endLineNumber;y++){let D=n.getLineContent(y);u.has(D)||(d.push(D),u.add(D))}let h=new oo(l.startLineNumber,1,l.endLineNumber,n.getLineMaxColumn(l.endLineNumber)),p=l.startLineNumber-a,g=new oo(p,1,p+d.length-1,d[d.length-1].length);i.push(Yc.replace(h,d.join(`\n`))),s.push(g),a+=l.endLineNumber-l.startLineNumber+1-d.length}t.pushUndoStop(),t.executeEdits(this.id,i,s),t.pushUndoStop()}}class nO extends xo{constructor(){super({id:nO.ID,label:w(\"lines.trimTrailingWhitespace\",\"Trim Trailing Whitespace\"),alias:\"Trim Trailing Whitespace\",precondition:on.writable,kbOpts:{kbExpr:on.editorTextFocus,primary:vh(2089,2102),weight:100}})}run(e,t,n){let i=[];n.reason===\"auto-save\"&&(i=(t.getSelections()||[]).map(l=>new Ii(l.positionLineNumber,l.positionColumn)));let s=t.getSelection();if(s===null)return;let a=new aUe(s,i);t.pushUndoStop(),t.executeCommands(this.id,[a]),t.pushUndoStop()}}nO.ID=\"editor.action.trimTrailingWhitespace\";class bUe extends xo{constructor(){super({id:\"editor.action.deleteLines\",label:w(\"lines.delete\",\"Delete Line\"),alias:\"Delete Line\",precondition:on.writable,kbOpts:{kbExpr:on.textInputFocus,primary:3113,weight:100}})}run(e,t){if(!t.hasModel())return;let n=this._getLinesToRemove(t),i=t.getModel();if(i.getLineCount()===1&&i.getLineMaxColumn(1)===1)return;let s=0,a=[],l=[];for(let u=0,d=n.length;u<d;u++){const h=n[u];let p=h.startLineNumber,g=h.endLineNumber,y=1,D=i.getLineMaxColumn(g);g<i.getLineCount()?(g+=1,D=1):p>1&&(p-=1,y=i.getLineMaxColumn(p)),a.push(Yc.replace(new oo(p,y,g,D),\"\")),l.push(new oo(p-s,h.positionColumn,p-s,h.positionColumn)),s+=h.endLineNumber-h.startLineNumber+1}t.pushUndoStop(),t.executeEdits(this.id,a,l),t.pushUndoStop()}_getLinesToRemove(e){let t=e.getSelections().map(s=>{let a=s.endLineNumber;return s.startLineNumber<s.endLineNumber&&s.endColumn===1&&(a-=1),{startLineNumber:s.startLineNumber,selectionStartColumn:s.selectionStartColumn,endLineNumber:a,positionColumn:s.positionColumn}});t.sort((s,a)=>s.startLineNumber===a.startLineNumber?s.endLineNumber-a.endLineNumber:s.startLineNumber-a.startLineNumber);let n=[],i=t[0];for(let s=1;s<t.length;s++)i.endLineNumber+1>=t[s].startLineNumber?i.endLineNumber=t[s].endLineNumber:(n.push(i),i=t[s]);return n.push(i),n}}class vUe extends xo{constructor(){super({id:\"editor.action.indentLines\",label:w(\"lines.indent\",\"Indent Line\"),alias:\"Indent Line\",precondition:on.writable,kbOpts:{kbExpr:on.editorTextFocus,primary:2137,weight:100}})}run(e,t){const n=t._getViewModel();!n||(t.pushUndoStop(),t.executeCommands(this.id,Lc.indent(n.cursorConfig,t.getModel(),t.getSelections())),t.pushUndoStop())}}class CUe extends xo{constructor(){super({id:\"editor.action.outdentLines\",label:w(\"lines.outdent\",\"Outdent Line\"),alias:\"Outdent Line\",precondition:on.writable,kbOpts:{kbExpr:on.editorTextFocus,primary:2135,weight:100}})}run(e,t){$x.Outdent.runEditorCommand(e,t,null)}}class DUe extends xo{constructor(){super({id:\"editor.action.insertLineBefore\",label:w(\"lines.insertBefore\",\"Insert Line Above\"),alias:\"Insert Line Above\",precondition:on.writable,kbOpts:{kbExpr:on.editorTextFocus,primary:3075,weight:100}})}run(e,t){const n=t._getViewModel();!n||(t.pushUndoStop(),t.executeCommands(this.id,Lc.lineInsertBefore(n.cursorConfig,t.getModel(),t.getSelections())))}}class wUe extends xo{constructor(){super({id:\"editor.action.insertLineAfter\",label:w(\"lines.insertAfter\",\"Insert Line Below\"),alias:\"Insert Line Below\",precondition:on.writable,kbOpts:{kbExpr:on.editorTextFocus,primary:2051,weight:100}})}run(e,t){const n=t._getViewModel();!n||(t.pushUndoStop(),t.executeCommands(this.id,Lc.lineInsertAfter(n.cursorConfig,t.getModel(),t.getSelections())))}}class C_e extends xo{run(e,t){if(!t.hasModel())return;const n=t.getSelection();let i=this._getRangesToDelete(t),s=[];for(let u=0,d=i.length-1;u<d;u++){let h=i[u],p=i[u+1];He.intersectRanges(h,p)===null?s.push(h):i[u+1]=He.plusRange(h,p)}s.push(i[i.length-1]);let a=this._getEndCursorState(n,s),l=s.map(u=>Yc.replace(u,\"\"));t.pushUndoStop(),t.executeEdits(this.id,l,a),t.pushUndoStop()}}class SUe extends C_e{constructor(){super({id:\"deleteAllLeft\",label:w(\"lines.deleteAllLeft\",\"Delete All Left\"),alias:\"Delete All Left\",precondition:on.writable,kbOpts:{kbExpr:on.textInputFocus,primary:0,mac:{primary:2049},weight:100}})}_getEndCursorState(e,t){let n=null,i=[],s=0;return t.forEach(a=>{let l;if(a.endColumn===1&&s>0){let u=a.startLineNumber-s;l=new oo(u,a.startColumn,u,a.startColumn)}else l=new oo(a.startLineNumber,a.startColumn,a.startLineNumber,a.startColumn);s+=a.endLineNumber-a.startLineNumber,a.intersectRanges(e)?n=l:i.push(l)}),n&&i.unshift(n),i}_getRangesToDelete(e){let t=e.getSelections();if(t===null)return[];let n=t,i=e.getModel();return i===null?[]:(n.sort(He.compareRangesUsingStarts),n=n.map(s=>{if(s.isEmpty())if(s.startColumn===1){let a=Math.max(1,s.startLineNumber-1),l=s.startLineNumber===1?1:i.getLineContent(a).length+1;return new He(a,l,s.startLineNumber,1)}else return new He(s.startLineNumber,1,s.startLineNumber,s.startColumn);else return new He(s.startLineNumber,1,s.endLineNumber,s.endColumn)}),n)}}class xUe extends C_e{constructor(){super({id:\"deleteAllRight\",label:w(\"lines.deleteAllRight\",\"Delete All Right\"),alias:\"Delete All Right\",precondition:on.writable,kbOpts:{kbExpr:on.textInputFocus,primary:0,mac:{primary:297,secondary:[2068]},weight:100}})}_getEndCursorState(e,t){let n=null,i=[];for(let s=0,a=t.length,l=0;s<a;s++){let u=t[s],d=new oo(u.startLineNumber-l,u.startColumn,u.startLineNumber-l,u.startColumn);u.intersectRanges(e)?n=d:i.push(d)}return n&&i.unshift(n),i}_getRangesToDelete(e){let t=e.getModel();if(t===null)return[];let n=e.getSelections();if(n===null)return[];let i=n.map(s=>{if(s.isEmpty()){const a=t.getLineMaxColumn(s.startLineNumber);return s.startColumn===a?new He(s.startLineNumber,s.startColumn,s.startLineNumber+1,1):new He(s.startLineNumber,s.startColumn,s.startLineNumber,a)}return s});return i.sort(He.compareRangesUsingStarts),i}}class EUe extends xo{constructor(){super({id:\"editor.action.joinLines\",label:w(\"lines.joinLines\",\"Join Lines\"),alias:\"Join Lines\",precondition:on.writable,kbOpts:{kbExpr:on.editorTextFocus,primary:0,mac:{primary:296},weight:100}})}run(e,t){let n=t.getSelections();if(n===null)return;let i=t.getSelection();if(i===null)return;n.sort(He.compareRangesUsingStarts);let s=[],a=n.reduce((g,y)=>g.isEmpty()?g.endLineNumber===y.startLineNumber?(i.equalsSelection(g)&&(i=y),y):y.startLineNumber>g.endLineNumber+1?(s.push(g),y):new oo(g.startLineNumber,g.startColumn,y.endLineNumber,y.endColumn):y.startLineNumber>g.endLineNumber?(s.push(g),y):new oo(g.startLineNumber,g.startColumn,y.endLineNumber,y.endColumn));s.push(a);let l=t.getModel();if(l===null)return;let u=[],d=[],h=i,p=0;for(let g=0,y=s.length;g<y;g++){let D=s[g],T=D.startLineNumber,k=1,I=0,F,q,re=l.getLineContent(D.endLineNumber).length-D.endColumn;if(D.isEmpty()||D.startLineNumber===D.endLineNumber){let Le=D.getStartPosition();Le.lineNumber<l.getLineCount()?(F=T+1,q=l.getLineMaxColumn(F)):(F=Le.lineNumber,q=l.getLineMaxColumn(Le.lineNumber))}else F=D.endLineNumber,q=l.getLineMaxColumn(F);let Ie=l.getLineContent(T);for(let Le=T+1;Le<=F;Le++){let Ge=l.getLineContent(Le),qt=l.getLineFirstNonWhitespaceColumn(Le);if(qt>=1){let gi=!0;Ie===\"\"&&(gi=!1),gi&&(Ie.charAt(Ie.length-1)===\" \"||Ie.charAt(Ie.length-1)===\"\t\")&&(gi=!1,Ie=Ie.replace(/[\\s\\uFEFF\\xA0]+$/g,\" \"));let ai=Ge.substr(qt-1);Ie+=(gi?\" \":\"\")+ai,gi?I=ai.length+1:I=ai.length}else I=0}let mt=new He(T,k,F,q);if(!mt.isEmpty()){let Le;D.isEmpty()?(u.push(Yc.replace(mt,Ie)),Le=new oo(mt.startLineNumber-p,Ie.length-I+1,T-p,Ie.length-I+1)):D.startLineNumber===D.endLineNumber?(u.push(Yc.replace(mt,Ie)),Le=new oo(D.startLineNumber-p,D.startColumn,D.endLineNumber-p,D.endColumn)):(u.push(Yc.replace(mt,Ie)),Le=new oo(D.startLineNumber-p,D.startColumn,D.startLineNumber-p,Ie.length-re)),He.intersectRanges(mt,i)!==null?h=Le:d.push(Le)}p+=mt.endLineNumber-mt.startLineNumber}d.unshift(h),t.pushUndoStop(),t.executeEdits(this.id,u,d),t.pushUndoStop()}}class TUe extends xo{constructor(){super({id:\"editor.action.transpose\",label:w(\"editor.transpose\",\"Transpose characters around the cursor\"),alias:\"Transpose characters around the cursor\",precondition:on.writable})}run(e,t){let n=t.getSelections();if(n===null)return;let i=t.getModel();if(i===null)return;let s=[];for(let a=0,l=n.length;a<l;a++){let u=n[a];if(!u.isEmpty())continue;let d=u.getStartPosition(),h=i.getLineMaxColumn(d.lineNumber);if(d.column>=h){if(d.lineNumber===i.getLineCount())continue;let p=new He(d.lineNumber,Math.max(1,d.column-1),d.lineNumber+1,1),g=i.getValueInRange(p).split(\"\").reverse().join(\"\");s.push(new Kh(new oo(d.lineNumber,Math.max(1,d.column-1),d.lineNumber+1,1),g))}else{let p=new He(d.lineNumber,Math.max(1,d.column-1),d.lineNumber,d.column+1),g=i.getValueInRange(p).split(\"\").reverse().join(\"\");s.push(new EG(p,g,new oo(d.lineNumber,d.column+1,d.lineNumber,d.column+1)))}}t.pushUndoStop(),t.executeCommands(this.id,s),t.pushUndoStop()}}class iO extends xo{run(e,t){const n=t.getSelections();if(n===null)return;const i=t.getModel();if(i===null)return;const s=t.getOption(117),a=[];for(const l of n)if(l.isEmpty()){const u=l.getStartPosition(),d=t.getConfiguredWordAtPosition(u);if(!d)continue;const h=new He(u.lineNumber,d.startColumn,u.lineNumber,d.endColumn),p=i.getValueInRange(h);a.push(Yc.replace(h,this._modifyText(p,s)))}else{const u=i.getValueInRange(l);a.push(Yc.replace(l,this._modifyText(u,s)))}t.pushUndoStop(),t.executeEdits(this.id,a),t.pushUndoStop()}}class AUe extends iO{constructor(){super({id:\"editor.action.transformToUppercase\",label:w(\"editor.transformToUppercase\",\"Transform to Uppercase\"),alias:\"Transform to Uppercase\",precondition:on.writable})}_modifyText(e,t){return e.toLocaleUpperCase()}}class kUe extends iO{constructor(){super({id:\"editor.action.transformToLowercase\",label:w(\"editor.transformToLowercase\",\"Transform to Lowercase\"),alias:\"Transform to Lowercase\",precondition:on.writable})}_modifyText(e,t){return e.toLocaleLowerCase()}}class yY{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 $L extends iO{constructor(){super({id:\"editor.action.transformToTitlecase\",label:w(\"editor.transformToTitlecase\",\"Transform to Title Case\"),alias:\"Transform to Title Case\",precondition:on.writable})}_modifyText(e,t){const n=$L.titleBoundary.get();return n?e.toLocaleLowerCase().replace(n,i=>i.toLocaleUpperCase()):e}}$L.titleBoundary=new yY(\"(^|[^\\\\p{L}\\\\p{N}']|((^|\\\\P{L})'))\\\\p{L}\",\"gmu\");class Yv extends iO{constructor(){super({id:\"editor.action.transformToSnakecase\",label:w(\"editor.transformToSnakecase\",\"Transform to Snake Case\"),alias:\"Transform to Snake Case\",precondition:on.writable})}_modifyText(e,t){const n=Yv.caseBoundary.get(),i=Yv.singleLetters.get();return!n||!i?e:e.replace(n,\"$1_$2\").replace(i,\"$1_$2$3\").toLocaleLowerCase()}}Yv.caseBoundary=new yY(\"(\\\\p{Ll})(\\\\p{Lu})\",\"gmu\");Yv.singleLetters=new yY(\"(\\\\p{Lu}|\\\\p{N})(\\\\p{Lu})(\\\\p{Ll})\",\"gmu\");Fs(dUe);Fs(hUe);Fs(pUe);Fs(fUe);Fs(_Ue);Fs(gUe);Fs(mUe);Fs(yUe);Fs(nO);Fs(bUe);Fs(vUe);Fs(CUe);Fs(DUe);Fs(wUe);Fs(SUe);Fs(xUe);Fs(EUe);Fs(TUe);Fs(AUe);Fs(kUe);Yv.caseBoundary.isSupported()&&Yv.singleLetters.isSupported()&&Fs(Yv);$L.titleBoundary.isSupported()&&Fs($L);var LUe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},W5=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},eq=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};const D_e=new Do(\"LinkedEditingInputVisible\",!1),w_e=\"linked-editing-decoration\";let yC=class tq extends fr{constructor(e,t,n,i,s){super(),this.languageConfigurationService=i,this._localToDispose=this._register(new fs),this._editor=e,this._providers=n.linkedEditingRangeProvider,this._enabled=!1,this._visibleContextKey=D_e.bindTo(t),this._debounceInformation=s.for(this._providers,\"Linked Editing\",{min:200}),this._currentDecorations=[],this._languageWordPattern=null,this._currentWordPattern=null,this._ignoreChangeEvent=!1,this._localToDispose=this._register(new fs),this._rangeUpdateTriggerPromise=null,this._rangeSyncTriggerPromise=null,this._currentRequest=null,this._currentRequestPosition=null,this._currentRequestModelVersion=null,this._register(this._editor.onDidChangeModel(()=>this.reinitialize(!0))),this._register(this._editor.onDidChangeConfiguration(a=>{(a.hasChanged(62)||a.hasChanged(82))&&this.reinitialize(!1)})),this._register(this._providers.onDidChange(()=>this.reinitialize(!1))),this._register(this._editor.onDidChangeModelLanguage(()=>this.reinitialize(!0))),this.reinitialize(!0)}static get(e){return e.getContribution(tq.ID)}reinitialize(e){const t=this._editor.getModel(),n=t!==null&&(this._editor.getOption(62)||this._editor.getOption(82))&&this._providers.has(t);if(n===this._enabled&&!e||(this._enabled=n,this.clearRanges(),this._localToDispose.clear(),!n||t===null))return;this._localToDispose.add(Xo.runAndSubscribe(t.onDidChangeLanguageConfiguration,()=>{this._languageWordPattern=this.languageConfigurationService.getLanguageConfiguration(t.getLanguageId()).getWordDefinition()}));const i=new J1(this._debounceInformation.get(t)),s=()=>{var u;this._rangeUpdateTriggerPromise=i.trigger(()=>this.updateRanges(),(u=this._debounceDuration)!==null&&u!==void 0?u:this._debounceInformation.get(t))},a=new J1(0),l=u=>{this._rangeSyncTriggerPromise=a.trigger(()=>this._syncRanges(u))};this._localToDispose.add(this._editor.onDidChangeCursorPosition(()=>{s()})),this._localToDispose.add(this._editor.onDidChangeModelContent(u=>{if(!this._ignoreChangeEvent&&this._currentDecorations.length>0){const d=t.getDecorationRange(this._currentDecorations[0]);if(d&&u.changes.every(h=>d.intersectRanges(h.range))){l(this._currentDecorations);return}}s()})),this._localToDispose.add({dispose:()=>{i.dispose(),a.dispose()}}),this.updateRanges()}_syncRanges(e){if(!this._editor.hasModel()||e!==this._currentDecorations||e.length===0)return;const t=this._editor.getModel(),n=t.getDecorationRange(e[0]);if(!n||n.startLineNumber!==n.endLineNumber)return this.clearRanges();const i=t.getValueInRange(n);if(this._currentWordPattern){const a=i.match(this._currentWordPattern);if((a?a[0].length:0)!==i.length)return this.clearRanges()}let s=[];for(let a=1,l=e.length;a<l;a++){const u=t.getDecorationRange(e[a]);if(!!u)if(u.startLineNumber!==u.endLineNumber)s.push({range:u,text:i});else{let d=t.getValueInRange(u),h=i,p=u.startColumn,g=u.endColumn;const y=tE(d,h);p+=y,d=d.substr(y),h=h.substr(y);const D=W8(d,h);g-=D,d=d.substr(0,d.length-D),h=h.substr(0,h.length-D),(p!==g||h.length!==0)&&s.push({range:new He(u.startLineNumber,p,u.endLineNumber,g),text:h})}}if(s.length!==0)try{this._editor.popUndoStop(),this._ignoreChangeEvent=!0;const a=this._editor._getViewModel().getPrevEditOperationType();this._editor.executeEdits(\"linkedEditing\",s),this._editor._getViewModel().setPrevEditOperationType(a)}finally{this._ignoreChangeEvent=!1}}dispose(){this.clearRanges(),super.dispose()}clearRanges(){this._visibleContextKey.set(!1),this._currentDecorations=this._editor.deltaDecorations(this._currentDecorations,[]),this._currentRequest&&(this._currentRequest.cancel(),this._currentRequest=null,this._currentRequestPosition=null)}updateRanges(e=!1){return eq(this,void 0,void 0,function*(){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 n=this._editor.getModel(),i=n.getVersionId();if(this._currentRequestPosition&&this._currentRequestModelVersion===i){if(t.equals(this._currentRequestPosition))return;if(this._currentDecorations&&this._currentDecorations.length>0){const a=n.getDecorationRange(this._currentDecorations[0]);if(a&&a.containsPosition(t))return}}this._currentRequestPosition=t,this._currentRequestModelVersion=i;const s=Oh(a=>eq(this,void 0,void 0,function*(){try{const l=new Bf(!1),u=yield S_e(this._providers,n,t,a);if(this._debounceInformation.update(n,l.elapsed()),s!==this._currentRequest||(this._currentRequest=null,i!==n.getVersionId()))return;let d=[];u!=null&&u.ranges&&(d=u.ranges),this._currentWordPattern=(u==null?void 0:u.wordPattern)||this._languageWordPattern;let h=!1;for(let g=0,y=d.length;g<y;g++)if(He.containsPosition(d[g],t)){if(h=!0,g!==0){const D=d[g];d.splice(g,1),d.unshift(D)}break}if(!h){this.clearRanges();return}const p=d.map(g=>({range:g,options:tq.DECORATION}));this._visibleContextKey.set(!0),this._currentDecorations=this._editor.deltaDecorations(this._currentDecorations,p)}catch(l){ry(l)||tl(l),(this._currentRequest===s||!this._currentRequest)&&this.clearRanges()}}));return this._currentRequest=s,s})}};yC.ID=\"editor.contrib.linkedEditing\";yC.DECORATION=_l.register({description:\"linked-editing\",stickiness:0,className:w_e});yC=LUe([W5(1,Xa),W5(2,$o),W5(3,Dp),W5(4,jg)],yC);class NUe extends xo{constructor(){super({id:\"editor.action.linkedEditing\",label:w(\"linkedEditing.label\",\"Start Linked Editing\"),alias:\"Start Linked Editing\",precondition:co.and(on.writable,on.hasRenameProvider),kbOpts:{kbExpr:on.editorTextFocus,primary:3132,weight:100}})}runCommand(e,t){const n=e.get(Eu),[i,s]=Array.isArray(t)&&t||[void 0,void 0];return wa.isUri(i)&&Ii.isIPosition(s)?n.openCodeEditor({resource:i},n.getActiveCodeEditor()).then(a=>{!a||(a.setPosition(s),a.invokeWithinContext(l=>(this.reportTelemetry(l,a),this.run(l,a))))},tl):super.runCommand(e,t)}run(e,t){const n=yC.get(t);return n?Promise.resolve(n.updateRanges(!0)):Promise.resolve()}}const IUe=Zh.bindToContribution(yC.get);Ns(new IUe({id:\"cancelLinkedEditingInput\",precondition:D_e,handler:o=>o.clearRanges(),kbOpts:{kbExpr:on.editorTextFocus,weight:100+99,primary:9,secondary:[1033]}}));function S_e(o,e,t,n){const i=o.ordered(e);return Cue(i.map(s=>()=>eq(this,void 0,void 0,function*(){try{return yield s.provideLinkedEditingRanges(e,t,n)}catch(a){bh(a);return}})),s=>!!s&&d_(s==null?void 0:s.ranges))}const FUe=ln(\"editor.linkedEditingBackground\",{dark:Xi.fromHex(\"#f00\").transparent(.3),light:Xi.fromHex(\"#f00\").transparent(.3),hc:Xi.fromHex(\"#f00\").transparent(.3)},w(\"editorLinkedEditingBackground\",\"Background color when the editor auto renames on type.\"));ac((o,e)=>{const t=o.getColor(FUe);t&&e.addRule(`.monaco-editor .${w_e} { background: ${t}; border-left-color: ${t}; }`)});oy(\"_executeLinkedEditingProvider\",(o,e,t)=>{const{linkedEditingRangeProvider:n}=o.get($o);return S_e(n,e,t,Ll.None)});vu(yC.ID,yC);Fs(NUe);var x_e=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};class PUe{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}resolve(e){return x_e(this,void 0,void 0,function*(){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 cP{constructor(e){this._disposables=new fs;let t=[];for(const[n,i]of e){const s=n.links.map(a=>new PUe(a,i));t=cP._union(t,s),Sq(n)&&this._disposables.add(n)}this.links=t}dispose(){this._disposables.dispose(),this.links.length=0}static _union(e,t){let n=[],i,s,a,l;for(i=0,a=0,s=e.length,l=t.length;i<s&&a<l;){const u=e[i],d=t[a];if(He.areIntersectingOrTouching(u.range,d.range)){i++;continue}He.compareRangesUsingStarts(u.range,d.range)<0?(n.push(u),i++):(n.push(d),a++)}for(;i<s;i++)n.push(e[i]);for(;a<l;a++)n.push(t[a]);return n}}function E_e(o,e,t){const n=[],i=o.ordered(e).reverse().map((s,a)=>Promise.resolve(s.provideLinks(e,t)).then(l=>{l&&(n[a]=[l,s])},bh));return Promise.all(i).then(()=>{const s=new cP(rw(n));return t.isCancellationRequested?(s.dispose(),new cP([])):s})}tu.registerCommand(\"_executeLinkProvider\",(o,...e)=>x_e(void 0,void 0,void 0,function*(){let[t,n]=e;$u(t instanceof wa),typeof n!=\"number\"&&(n=0);const{linkProvider:i}=o.get($o),s=o.get(Oc).getModel(t);if(!s)return[];const a=yield E_e(i,s,Ll.None);if(!a)return[];for(let u=0;u<Math.min(n,a.links.length);u++)yield a.links[u].resolve(Ll.None);const l=a.links.slice(0);return a.dispose(),l}));var OUe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},V5=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},MUe=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};let NE=class T_e extends fr{constructor(e,t,n,i,s){super(),this.editor=e,this.openerService=t,this.notificationService=n,this.languageFeaturesService=i,this.providers=this.languageFeaturesService.linkProvider,this.debounceInformation=s.for(this.providers,\"Links\",{min:1e3,max:4e3}),this.computeLinks=this._register(new Bu(()=>this.computeLinksNow(),1e3)),this.computePromise=null,this.activeLinksList=null,this.currentOccurrences={},this.activeLinkDecorationId=null;const a=this._register(new XJ(e));this._register(a.onMouseMoveOrRelevantKeyDown(([l,u])=>{this._onEditorMouseMove(l,u)})),this._register(a.onExecute(l=>{this.onEditorMouseUp(l)})),this._register(a.onCancel(l=>{this.cleanUpActiveLinkDecoration()})),this._register(e.onDidChangeConfiguration(l=>{!l.hasChanged(63)||(this.updateDecorations([]),this.stop(),this.computeLinks.schedule(0))})),this._register(e.onDidChangeModelContent(l=>{!this.editor.hasModel()||this.computeLinks.schedule(this.debounceInformation.get(this.editor.getModel()))})),this._register(e.onDidChangeModel(l=>{this.currentOccurrences={},this.activeLinkDecorationId=null,this.stop(),this.computeLinks.schedule(0)})),this._register(e.onDidChangeModelLanguage(l=>{this.stop(),this.computeLinks.schedule(0)})),this._register(this.providers.onDidChange(l=>{this.stop(),this.computeLinks.schedule(0)})),this.computeLinks.schedule(0)}static get(e){return e.getContribution(T_e.ID)}computeLinksNow(){return MUe(this,void 0,void 0,function*(){if(!this.editor.hasModel()||!this.editor.getOption(63))return;const e=this.editor.getModel();if(!!this.providers.has(e)){this.activeLinksList&&(this.activeLinksList.dispose(),this.activeLinksList=null),this.computePromise=Oh(t=>E_e(this.providers,e,t));try{const t=new Bf(!1);if(this.activeLinksList=yield this.computePromise,this.debounceInformation.update(e,t.elapsed()),e.isDisposed())return;this.updateDecorations(this.activeLinksList.links)}catch(t){tl(t)}finally{this.computePromise=null}}})}updateDecorations(e){const t=this.editor.getOption(70)===\"altKey\",n=[],i=Object.keys(this.currentOccurrences);for(const l of i){const u=this.currentOccurrences[l];n.push(u.decorationId)}const s=[];if(e)for(const l of e)s.push(Xx.decoration(l,t));const a=this.editor.deltaDecorations(n,s);this.currentOccurrences={},this.activeLinkDecorationId=null;for(let l=0,u=a.length;l<u;l++){const d=new Xx(e[l],a[l]);this.currentOccurrences[d.decorationId]=d}}_onEditorMouseMove(e,t){const n=this.editor.getOption(70)===\"altKey\";if(this.isEnabled(e,t)){this.cleanUpActiveLinkDecoration();const i=this.getLinkOccurrence(e.target.position);i&&this.editor.changeDecorations(s=>{i.activate(s,n),this.activeLinkDecorationId=i.decorationId})}else this.cleanUpActiveLinkDecoration()}cleanUpActiveLinkDecoration(){const e=this.editor.getOption(70)===\"altKey\";if(this.activeLinkDecorationId){const t=this.currentOccurrences[this.activeLinkDecorationId];t&&this.editor.changeDecorations(n=>{t.deactivate(n,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,n=!1){if(!this.openerService)return;const{link:i}=e;i.resolve(Ll.None).then(s=>{if(typeof s==\"string\"&&this.editor.hasModel()){const a=this.editor.getModel().uri;if(a.scheme===dl.file&&s.startsWith(`${dl.file}:`)){const l=wa.parse(s);if(l.scheme===dl.file){const u=g1(l);let d=null;u.startsWith(\"/./\")?d=`.${u.substr(1)}`:u.startsWith(\"//./\")&&(d=`.${u.substr(2)}`),d&&(s=EFe(a,d))}}}return this.openerService.open(s,{openToSide:t,fromUserGesture:n,allowContributedOpeners:!0,allowCommands:!0})},s=>{const a=s instanceof Error?s.message:s;a===\"invalid\"?this.notificationService.warn(w(\"invalid.url\",\"Failed to open this link because it is not well-formed: {0}\",i.url.toString())):a===\"missing\"?this.notificationService.warn(w(\"missing.url\",\"Failed to open this link because its target is missing.\")):tl(s)})}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 n of t){const i=this.currentOccurrences[n.id];if(i)return i}return null}isEnabled(e,t){return Boolean(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()}};NE.ID=\"editor.linkDetector\";NE=OUe([V5(1,Wg),V5(2,Sd),V5(3,$o),V5(4,jg)],NE);const lle={general:_l.register({description:\"detected-link\",stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:\"detected-link\"}),active:_l.register({description:\"detected-link-active\",stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:\"detected-link-active\"})};class Xx{constructor(e,t){this.link=e,this.decorationId=t}static decoration(e,t){return{range:e.range,options:Xx._getOptions(e,t,!1)}}static _getOptions(e,t,n){const i=Object.assign({},n?lle.active:lle.general);return i.hoverMessage=RUe(e,t),i}activate(e,t){e.changeDecorationOptions(this.decorationId,Xx._getOptions(this.link,t,!0))}deactivate(e,t){e.changeDecorationOptions(this.decorationId,Xx._getOptions(this.link,t,!1))}}function RUe(o,e){const t=o.url&&/^command:/i.test(o.url.toString()),n=o.tooltip?o.tooltip:t?w(\"links.navigate.executeCmd\",\"Execute command\"):w(\"links.navigate.follow\",\"Follow link\"),i=e?El?w(\"links.navigate.kb.meta.mac\",\"cmd + click\"):w(\"links.navigate.kb.meta\",\"ctrl + click\"):El?w(\"links.navigate.kb.alt.mac\",\"option + click\"):w(\"links.navigate.kb.alt\",\"alt + click\");if(o.url){let s=\"\";if(/^command:/i.test(o.url.toString())){const l=o.url.toString().match(/^command:([^?#]+)/);if(l){const u=l[1];s=` \"${w(\"tooltip.explanation\",\"Execute command {0}\",u)}\"`}}return new H_(\"\",!0).appendMarkdown(`[${n}](${o.url.toString(!0).replace(/ /g,\"%20\")}${s}) (${i})`)}else return new H_().appendText(`${n} (${i})`)}class BUe extends xo{constructor(){super({id:\"editor.action.openLink\",label:w(\"label\",\"Open Link\"),alias:\"Open Link\",precondition:void 0})}run(e,t){const n=NE.get(t);if(!n||!t.hasModel())return;const i=t.getSelections();for(const s of i){const a=n.getLinkOccurrence(s.getEndPosition());a&&n.openLinkOccurrence(a,!1)}}}vu(NE.ID,NE);Fs(BUe);ac((o,e)=>{const t=o.getColor(CG);t&&e.addRule(`.monaco-editor .detected-link-active { color: ${t} !important; }`)});var jUe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},WUe=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};function ZE(o,e){const t=e.filter(n=>!o.find(i=>i.equals(n)));if(t.length>=1){const n=t.map(s=>`line ${s.viewState.position.lineNumber} column ${s.viewState.position.column}`).join(\", \"),i=t.length===1?w(\"cursorAdded\",\"Cursor added: {0}\",n):w(\"cursorsAdded\",\"Cursors added: {0}\",n);X8(i)}}class VUe extends xo{constructor(){super({id:\"editor.action.insertCursorAbove\",label:w(\"mutlicursor.insertAbove\",\"Add Cursor Above\"),alias:\"Add Cursor Above\",precondition:void 0,kbOpts:{kbExpr:on.editorTextFocus,primary:2576,linux:{primary:1552,secondary:[3088]},weight:100},menuOpts:{menuId:Fn.MenubarSelectionMenu,group:\"3_multi\",title:w({key:\"miInsertCursorAbove\",comment:[\"&& denotes a mnemonic\"]},\"&&Add Cursor Above\"),order:2}})}run(e,t,n){if(!t.hasModel())return;let i=!0;n&&n.logicalLine===!1&&(i=!1);const s=t._getViewModel();if(s.cursorConfig.readOnly)return;s.model.pushStackElement();const a=s.getCursorStates();s.setCursorStates(n.source,3,Lh.addCursorUp(s,a,i)),s.revealTopMostCursor(n.source),ZE(a,s.getCursorStates())}}class HUe extends xo{constructor(){super({id:\"editor.action.insertCursorBelow\",label:w(\"mutlicursor.insertBelow\",\"Add Cursor Below\"),alias:\"Add Cursor Below\",precondition:void 0,kbOpts:{kbExpr:on.editorTextFocus,primary:2578,linux:{primary:1554,secondary:[3090]},weight:100},menuOpts:{menuId:Fn.MenubarSelectionMenu,group:\"3_multi\",title:w({key:\"miInsertCursorBelow\",comment:[\"&& denotes a mnemonic\"]},\"A&&dd Cursor Below\"),order:3}})}run(e,t,n){if(!t.hasModel())return;let i=!0;n&&n.logicalLine===!1&&(i=!1);const s=t._getViewModel();if(s.cursorConfig.readOnly)return;s.model.pushStackElement();const a=s.getCursorStates();s.setCursorStates(n.source,3,Lh.addCursorDown(s,a,i)),s.revealBottomMostCursor(n.source),ZE(a,s.getCursorStates())}}class $Ue extends xo{constructor(){super({id:\"editor.action.insertCursorAtEndOfEachLineSelected\",label:w(\"mutlicursor.insertAtEndOfEachLineSelected\",\"Add Cursors to Line Ends\"),alias:\"Add Cursors to Line Ends\",precondition:void 0,kbOpts:{kbExpr:on.editorTextFocus,primary:1575,weight:100},menuOpts:{menuId:Fn.MenubarSelectionMenu,group:\"3_multi\",title:w({key:\"miInsertCursorAtEndOfEachLineSelected\",comment:[\"&& denotes a mnemonic\"]},\"Add C&&ursors to Line Ends\"),order:4}})}getCursorsForSelection(e,t,n){if(!e.isEmpty()){for(let i=e.startLineNumber;i<e.endLineNumber;i++){let s=t.getLineMaxColumn(i);n.push(new oo(i,s,i,s))}e.endColumn>1&&n.push(new oo(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn))}}run(e,t){if(!t.hasModel())return;const n=t.getModel(),i=t.getSelections(),s=t._getViewModel(),a=s.getCursorStates();let l=[];i.forEach(u=>this.getCursorsForSelection(u,n,l)),l.length>0&&t.setSelections(l),ZE(a,s.getCursorStates())}}class zUe extends xo{constructor(){super({id:\"editor.action.addCursorsToBottom\",label:w(\"mutlicursor.addCursorsToBottom\",\"Add Cursors To Bottom\"),alias:\"Add Cursors To Bottom\",precondition:void 0})}run(e,t){if(!t.hasModel())return;const n=t.getSelections(),i=t.getModel().getLineCount();let s=[];for(let u=n[0].startLineNumber;u<=i;u++)s.push(new oo(u,n[0].startColumn,u,n[0].endColumn));const a=t._getViewModel(),l=a.getCursorStates();s.length>0&&t.setSelections(s),ZE(l,a.getCursorStates())}}class UUe extends xo{constructor(){super({id:\"editor.action.addCursorsToTop\",label:w(\"mutlicursor.addCursorsToTop\",\"Add Cursors To Top\"),alias:\"Add Cursors To Top\",precondition:void 0})}run(e,t){if(!t.hasModel())return;const n=t.getSelections();let i=[];for(let l=n[0].startLineNumber;l>=1;l--)i.push(new oo(l,n[0].startColumn,l,n[0].endColumn));const s=t._getViewModel(),a=s.getCursorStates();i.length>0&&t.setSelections(i),ZE(a,s.getCursorStates())}}class H5{constructor(e,t,n){this.selections=e,this.revealRange=t,this.revealScrollType=n}}class zL{constructor(e,t,n,i,s,a,l){this._editor=e,this.findController=t,this.isDisconnectedFromFindController=n,this.searchText=i,this.wholeWord=s,this.matchCase=a,this.currentMatch=l}static create(e,t){if(!e.hasModel())return null;const n=t.getState();if(!e.hasTextFocus()&&n.isRevealed&&n.searchString.length>0)return new zL(e,t,!1,n.searchString,n.wholeWord,n.matchCase,null);let i=!1,s,a;const l=e.getSelections();l.length===1&&l[0].isEmpty()?(i=!0,s=!0,a=!0):(s=n.wholeWord,a=n.matchCase);const u=e.getSelection();let d,h=null;if(u.isEmpty()){const p=e.getConfiguredWordAtPosition(u.getStartPosition());if(!p)return null;d=p.word,h=new oo(u.startLineNumber,p.startColumn,u.startLineNumber,p.endColumn)}else d=e.getModel().getValueInRange(u).replace(/\\r\\n/g,`\n`);return new zL(e,t,i,d,s,a,h)}addSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;const e=this._getNextMatch();if(!e)return null;const t=this._editor.getSelections();return new H5(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 H5(t.slice(0,t.length-1).concat(e),e,0)}_getNextMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){const i=this.currentMatch;return this.currentMatch=null,i}this.findController.highlightFindOptions();const e=this._editor.getSelections(),t=e[e.length-1],n=this._editor.getModel().findNextMatch(this.searchText,t.getEndPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(117):null,!1);return n?new oo(n.range.startLineNumber,n.range.startColumn,n.range.endLineNumber,n.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 H5(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 H5(t.slice(0,t.length-1).concat(e),e,0)}_getPreviousMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){const i=this.currentMatch;return this.currentMatch=null,i}this.findController.highlightFindOptions();const e=this._editor.getSelections(),t=e[e.length-1],n=this._editor.getModel().findPreviousMatch(this.searchText,t.getStartPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(117):null,!1);return n?new oo(n.range.startLineNumber,n.range.startColumn,n.range.endLineNumber,n.range.endColumn):null}selectAll(){return this._editor.hasModel()?(this.findController.highlightFindOptions(),this._editor.getModel().findMatches(this.searchText,!0,!1,this.matchCase,this.wholeWord?this._editor.getOption(117):null,!1,1073741824)):[]}}class YD extends fr{constructor(e){super(),this._sessionDispose=this._register(new fs),this._editor=e,this._ignoreSelectionChange=!1,this._session=null}static get(e){return e.getContribution(YD.ID)}dispose(){this._endSession(),super.dispose()}_beginSessionIfNeeded(e){if(!this._session){const t=zL.create(this._editor,e);if(!t)return;this._session=t;const n={searchString:this._session.searchText};this._session.isDisconnectedFromFindController&&(n.wholeWordOverride=1,n.matchCaseOverride=1,n.isRegexOverride=2),e.getState().change(n,!1),this._sessionDispose.add(this._editor.onDidChangeCursorSelection(i=>{this._ignoreSelectionChange||this._endSession()})),this._sessionDispose.add(this._editor.onDidBlurEditorText(()=>{this._endSession()})),this._sessionDispose.add(e.getState().onFindReplaceStateChange(i=>{(i.matchCase||i.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 n=this._editor.getConfiguredWordAtPosition(t.getStartPosition());return n?new oo(t.startLineNumber,n.startColumn,t.startLineNumber,n.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 i=e.getState().matchCase;if(!A_e(this._editor.getModel(),t,i)){const a=this._editor.getModel();let l=[];for(let u=0,d=t.length;u<d;u++)l[u]=this._expandEmptyToWord(a,t[u]);this._editor.setSelections(l);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 n=e.getState();if(n.isRevealed&&n.searchString.length>0&&n.isRegex)t=this._editor.getModel().findMatches(n.searchString,!0,n.isRegex,n.matchCase,n.wholeWord?this._editor.getOption(117):null,!1,1073741824);else{if(this._beginSessionIfNeeded(e),!this._session)return;t=this._session.selectAll()}if(n.searchScope){const i=n.searchScope;let s=[];t.forEach(a=>{i.forEach(l=>{a.range.endLineNumber<=l.endLineNumber&&a.range.startLineNumber>=l.startLineNumber&&s.push(a)})}),t=s}if(t.length>0){const i=this._editor.getSelection();for(let s=0,a=t.length;s<a;s++){const l=t[s];if(l.range.intersectRanges(i)){t[s]=t[0],t[0]=l;break}}this._setSelections(t.map(s=>new oo(s.range.startLineNumber,s.range.startColumn,s.range.endLineNumber,s.range.endColumn)))}}}YD.ID=\"editor.contrib.multiCursorController\";class eT extends xo{run(e,t){const n=YD.get(t);if(!n)return;const i=__.get(t);if(!i)return;const s=t._getViewModel();if(s){const a=s.getCursorStates();this._run(n,i),ZE(a,s.getCursorStates())}}}class KUe extends eT{constructor(){super({id:\"editor.action.addSelectionToNextFindMatch\",label:w(\"addSelectionToNextFindMatch\",\"Add Selection To Next Find Match\"),alias:\"Add Selection To Next Find Match\",precondition:void 0,kbOpts:{kbExpr:on.focus,primary:2082,weight:100},menuOpts:{menuId:Fn.MenubarSelectionMenu,group:\"3_multi\",title:w({key:\"miAddSelectionToNextFindMatch\",comment:[\"&& denotes a mnemonic\"]},\"Add &&Next Occurrence\"),order:5}})}_run(e,t){e.addSelectionToNextFindMatch(t)}}class qUe extends eT{constructor(){super({id:\"editor.action.addSelectionToPreviousFindMatch\",label:w(\"addSelectionToPreviousFindMatch\",\"Add Selection To Previous Find Match\"),alias:\"Add Selection To Previous Find Match\",precondition:void 0,menuOpts:{menuId:Fn.MenubarSelectionMenu,group:\"3_multi\",title:w({key:\"miAddSelectionToPreviousFindMatch\",comment:[\"&& denotes a mnemonic\"]},\"Add P&&revious Occurrence\"),order:6}})}_run(e,t){e.addSelectionToPreviousFindMatch(t)}}class GUe extends eT{constructor(){super({id:\"editor.action.moveSelectionToNextFindMatch\",label:w(\"moveSelectionToNextFindMatch\",\"Move Last Selection To Next Find Match\"),alias:\"Move Last Selection To Next Find Match\",precondition:void 0,kbOpts:{kbExpr:on.focus,primary:vh(2089,2082),weight:100}})}_run(e,t){e.moveSelectionToNextFindMatch(t)}}class JUe extends eT{constructor(){super({id:\"editor.action.moveSelectionToPreviousFindMatch\",label:w(\"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 YUe extends eT{constructor(){super({id:\"editor.action.selectHighlights\",label:w(\"selectAllOccurrencesOfFindMatch\",\"Select All Occurrences of Find Match\"),alias:\"Select All Occurrences of Find Match\",precondition:void 0,kbOpts:{kbExpr:on.focus,primary:3114,weight:100},menuOpts:{menuId:Fn.MenubarSelectionMenu,group:\"3_multi\",title:w({key:\"miSelectHighlights\",comment:[\"&& denotes a mnemonic\"]},\"Select All &&Occurrences\"),order:7}})}_run(e,t){e.selectAll(t)}}class XUe extends eT{constructor(){super({id:\"editor.action.changeAll\",label:w(\"changeAll.label\",\"Change All Occurrences\"),alias:\"Change All Occurrences\",precondition:co.and(on.writable,on.editorTextFocus),kbOpts:{kbExpr:on.editorTextFocus,primary:2108,weight:100},contextMenuOpts:{group:\"1_modification\",order:1.2}})}_run(e,t){e.selectAll(t)}}class QUe{constructor(e,t,n,i,s){this._model=e,this._searchText=t,this._matchCase=n,this._wordSeparators=i,this._modelVersionId=this._model.getVersionId(),this._cachedFindMatches=null,s&&this._model===s._model&&this._searchText===s._searchText&&this._matchCase===s._matchCase&&this._wordSeparators===s._wordSeparators&&this._modelVersionId===s._modelVersionId&&(this._cachedFindMatches=s._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(He.compareRangesUsingStarts)),this._cachedFindMatches}}let XD=class x8 extends fr{constructor(e,t){super(),this._languageFeaturesService=t,this.editor=e,this._isEnabled=e.getOption(97),this.decorations=[],this.updateSoon=this._register(new Bu(()=>this._update(),300)),this.state=null,this._register(e.onDidChangeConfiguration(i=>{this._isEnabled=e.getOption(97)})),this._register(e.onDidChangeCursorSelection(i=>{!this._isEnabled||(i.selection.isEmpty()?i.reason===3?(this.state&&this._setState(null),this.updateSoon.schedule()):this._setState(null):this._update())})),this._register(e.onDidChangeModel(i=>{this._setState(null)})),this._register(e.onDidChangeModelContent(i=>{this._isEnabled&&this.updateSoon.schedule()}));const n=__.get(e);n&&this._register(n.getState().onFindReplaceStateChange(i=>{this._update()}))}_update(){this._setState(x8._createState(this.state,this._isEnabled,this.editor))}static _createState(e,t,n){if(!t||!n.hasModel())return null;const i=n.getSelection();if(i.startLineNumber!==i.endLineNumber)return null;const s=YD.get(n);if(!s)return null;const a=__.get(n);if(!a)return null;let l=s.getSession(a);if(!l){const h=n.getSelections();if(h.length>1){const g=a.getState().matchCase;if(!A_e(n.getModel(),h,g))return null}l=zL.create(n,a)}if(!l||l.currentMatch||/^[ \\t]+$/.test(l.searchText)||l.searchText.length>200)return null;const u=a.getState(),d=u.matchCase;if(u.isRevealed){let h=u.searchString;d||(h=h.toLowerCase());let p=l.searchText;if(d||(p=p.toLowerCase()),h===p&&l.matchCase===u.matchCase&&l.wholeWord===u.wholeWord&&!u.isRegex)return null}return new QUe(n.getModel(),l.searchText,l.matchCase,l.wholeWord?n.getOption(117):null,e)}_setState(e){if(this.state=e,!this.state){this.decorations=this.editor.deltaDecorations(this.decorations,[]);return}if(!this.editor.hasModel())return;const t=this.editor.getModel();if(t.isTooLargeForTokenization())return;const n=this.state.findMatches(),i=this.editor.getSelections();i.sort(He.compareRangesUsingStarts);const s=[];for(let u=0,d=0,h=n.length,p=i.length;u<h;){const g=n[u];if(d>=p)s.push(g),u++;else{const y=He.compareRangesUsingStarts(g,i[d]);y<0?((i[d].isEmpty()||!He.areIntersecting(g,i[d]))&&s.push(g),u++):(y>0||u++,d++)}}const a=this._languageFeaturesService.documentHighlightProvider.has(t)&&this.editor.getOption(72),l=s.map(u=>({range:u,options:a?x8._SELECTION_HIGHLIGHT:x8._SELECTION_HIGHLIGHT_OVERVIEW}));this.decorations=this.editor.deltaDecorations(this.decorations,l)}dispose(){this._setState(null),super.dispose()}};XD.ID=\"editor.contrib.selectionHighlighter\";XD._SELECTION_HIGHLIGHT_OVERVIEW=_l.register({description:\"selection-highlight-overview\",stickiness:1,className:\"selectionHighlight\",minimap:{color:Jc(KP),position:Tg.Inline},overviewRuler:{color:Jc(wce),position:Ig.Center}});XD._SELECTION_HIGHLIGHT=_l.register({description:\"selection-highlight\",stickiness:1,className:\"selectionHighlight\"});XD=jUe([WUe(1,$o)],XD);function A_e(o,e,t){const n=ule(o,e[0],!t);for(let i=1,s=e.length;i<s;i++){const a=e[i];if(a.isEmpty())return!1;const l=ule(o,a,!t);if(n!==l)return!1}return!0}function ule(o,e,t){const n=o.getValueInRange(e);return t?n.toLowerCase():n}vu(YD.ID,YD);vu(XD.ID,XD);Fs(VUe);Fs(HUe);Fs($Ue);Fs(KUe);Fs(qUe);Fs(GUe);Fs(JUe);Fs(YUe);Fs(XUe);Fs(zUe);Fs(UUe);var k_e=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};const QD={Visible:new Do(\"parameterHintsVisible\",!1),MultipleSignatures:new Do(\"parameterHintsMultipleSignatures\",!1)};function L_e(o,e,t,n,i){return k_e(this,void 0,void 0,function*(){const s=o.ordered(e);for(const a of s)try{const l=yield a.provideSignatureHelp(e,t,i,n);if(l)return l}catch(l){bh(l)}})}tu.registerCommand(\"_executeSignatureHelpProvider\",(o,...e)=>k_e(void 0,void 0,void 0,function*(){const[t,n,i]=e;$u(wa.isUri(t)),$u(Ii.isIPosition(n)),$u(typeof i==\"string\"||!i);const s=o.get($o),a=yield o.get(Wf).createModelReference(t);try{const l=yield L_e(s.signatureHelpProvider,a.object.textEditorModel,Ii.lift(n),{triggerKind:W1.Invoke,isRetrigger:!1,triggerCharacter:i},Ll.None);return l?(setTimeout(()=>l.dispose(),0),l.value):void 0}finally{a.dispose()}}));var ZUe=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})},wv;(function(o){o.Default={type:0};class e{constructor(i,s){this.request=i,this.previouslyActiveHints=s,this.type=2}}o.Pending=e;class t{constructor(i){this.hints=i,this.type=1}}o.Active=t})(wv||(wv={}));class rO extends fr{constructor(e,t,n=rO.DEFAULT_DELAY){super(),this._onChangedHints=this._register(new ri),this.onChangedHints=this._onChangedHints.event,this.triggerOnType=!1,this._state=wv.Default,this._pendingTriggers=[],this._lastSignatureHelpResult=this._register(new _f),this.triggerChars=new yx,this.retriggerChars=new yx,this.triggerId=0,this.editor=e,this.providers=t,this.throttledDelayer=new J1(n),this._register(this.editor.onDidBlurEditorWidget(()=>this.cancel())),this._register(this.editor.onDidChangeConfiguration(()=>this.onEditorConfigurationChange())),this._register(this.editor.onDidChangeModel(i=>this.onModelChanged())),this._register(this.editor.onDidChangeModelLanguage(i=>this.onModelChanged())),this._register(this.editor.onDidChangeCursorSelection(i=>this.onCursorChange(i))),this._register(this.editor.onDidChangeModelContent(i=>this.onModelContentChange())),this._register(this.providers.onDidChange(this.onModelChanged,this)),this._register(this.editor.onDidType(i=>this.onDidType(i))),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=wv.Default,this.throttledDelayer.cancel(),e||this._onChangedHints.fire(void 0)}trigger(e,t){const n=this.editor.getModel();if(!n||!this.providers.has(n))return;const i=++this.triggerId;this._pendingTriggers.push(e),this.throttledDelayer.trigger(()=>this.doTrigger(i),t).catch(tl)}next(){if(this.state.type!==1)return;const e=this.state.hints.signatures.length,t=this.state.hints.activeSignature,n=t%e===e-1,i=this.editor.getOption(76).cycle;if((e<2||n)&&!i){this.cancel();return}this.updateActiveSignature(n&&i?0:t+1)}previous(){if(this.state.type!==1)return;const e=this.state.hints.signatures.length,t=this.state.hints.activeSignature,n=t===0,i=this.editor.getOption(76).cycle;if((e<2||n)&&!i){this.cancel();return}this.updateActiveSignature(n&&i?e-1:t-1)}updateActiveSignature(e){this.state.type===1&&(this.state=new wv.Active(Object.assign(Object.assign({},this.state.hints),{activeSignature:e})),this._onChangedHints.fire(this.state.hints))}doTrigger(e){return ZUe(this,void 0,void 0,function*(){const t=this.state.type===1||this.state.type===2,n=this.getLastActiveHints();if(this.cancel(!0),this._pendingTriggers.length===0)return!1;const i=this._pendingTriggers.reduce(eKe);this._pendingTriggers=[];const s={triggerKind:i.triggerKind,triggerCharacter:i.triggerCharacter,isRetrigger:t,activeSignatureHelp:n};if(!this.editor.hasModel())return!1;const a=this.editor.getModel(),l=this.editor.getPosition();this.state=new wv.Pending(Oh(u=>L_e(this.providers,a,l,s,u)),n);try{const u=yield this.state.request;return e!==this.triggerId?(u==null||u.dispose(),!1):!u||!u.value.signatures||u.value.signatures.length===0?(u==null||u.dispose(),this._lastSignatureHelpResult.clear(),this.cancel(),!1):(this.state=new wv.Active(u.value),this._lastSignatureHelpResult.value=u,this._onChangedHints.fire(this.state.hints),!0)}catch(u){return e===this.triggerId&&(this.state=wv.Default),tl(u),!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=new yx,this.retriggerChars=new yx;const e=this.editor.getModel();if(!!e)for(const t of this.providers.ordered(e)){for(const n of t.signatureHelpTriggerCharacters||[])this.triggerChars.add(n.charCodeAt(0)),this.retriggerChars.add(n.charCodeAt(0));for(const n of t.signatureHelpRetriggerCharacters||[])this.retriggerChars.add(n.charCodeAt(0))}}onDidType(e){if(!this.triggerOnType)return;const t=e.length-1,n=e.charCodeAt(t);(this.triggerChars.has(n)||this.isTriggered&&this.retriggerChars.has(n))&&this.trigger({triggerKind:W1.TriggerCharacter,triggerCharacter:e.charAt(t)})}onCursorChange(e){e.source===\"mouse\"?this.cancel():this.isTriggered&&this.trigger({triggerKind:W1.ContentChange})}onModelContentChange(){this.isTriggered&&this.trigger({triggerKind:W1.ContentChange})}onEditorConfigurationChange(){this.triggerOnType=this.editor.getOption(76).enabled,this.triggerOnType||this.cancel()}dispose(){this.cancel(!0),super.dispose()}}rO.DEFAULT_DELAY=120;function eKe(o,e){switch(e.triggerKind){case W1.Invoke:return e;case W1.ContentChange:return o;case W1.TriggerCharacter:default:return e}}var tKe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},$5=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};const P_=ls,nKe=rh(\"parameter-hints-next\",E.chevronDown,w(\"parameterHintsNextIcon\",\"Icon for show next parameter hint.\")),iKe=rh(\"parameter-hints-previous\",E.chevronUp,w(\"parameterHintsPreviousIcon\",\"Icon for show previous parameter hint.\"));let dP=class N_e extends fr{constructor(e,t,n,i,s){super(),this.editor=e,this.renderDisposeables=this._register(new fs),this.visible=!1,this.announcedLabel=null,this.allowEditorOverflow=!0,this.markdownRenderer=this._register(new kb({editor:e},i,n)),this.model=this._register(new rO(e,s.signatureHelpProvider)),this.keyVisible=QD.Visible.bindTo(t),this.keyMultipleSignatures=QD.MultipleSignatures.bindTo(t),this._register(this.model.onChangedHints(a=>{a?(this.show(),this.render(a)):this.hide()}))}createParameterHintDOMNodes(){const e=P_(\".editor-widget.parameter-hints-widget\"),t=Jr(e,P_(\".phwrapper\"));t.tabIndex=-1;const n=Jr(t,P_(\".controls\")),i=Jr(n,P_(\".button\"+zu.asCSSSelector(iKe))),s=Jr(n,P_(\".overloads\")),a=Jr(n,P_(\".button\"+zu.asCSSSelector(nKe)));this._register(hs(i,\"click\",g=>{xu.stop(g),this.previous()})),this._register(hs(a,\"click\",g=>{xu.stop(g),this.next()}));const l=P_(\".body\"),u=new a4(l,{});this._register(u),t.appendChild(u.getDomNode());const d=Jr(l,P_(\".signature\")),h=Jr(l,P_(\".docs\"));e.style.userSelect=\"text\",this.domNodes={element:e,signature:d,overloads:s,docs:h,scrollbar:u},this.editor.addContentWidget(this),this.hide(),this._register(this.editor.onDidChangeCursorSelection(g=>{this.visible&&this.editor.layoutContentWidget(this)}));const p=()=>{if(!this.domNodes)return;const g=this.editor.getOption(44);this.domNodes.element.style.fontSize=`${g.fontSize}px`,this.domNodes.element.style.lineHeight=`${g.lineHeight/g.fontSize}`};p(),this._register(Xo.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(g=>g.hasChanged(44)).on(p,null)),this._register(this.editor.onDidLayoutChange(g=>this.updateMaxHeight())),this.updateMaxHeight()}show(){this.visible||(this.domNodes||this.createParameterHintDOMNodes(),this.keyVisible.set(!0),this.visible=!0,setTimeout(()=>{this.domNodes&&this.domNodes.element.classList.add(\"visible\")},100),this.editor.layoutContentWidget(this))}hide(){this.renderDisposeables.clear(),this.visible&&(this.keyVisible.reset(),this.visible=!1,this.announcedLabel=null,this.domNodes&&this.domNodes.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 n=e.signatures.length>1;this.domNodes.element.classList.toggle(\"multiple\",n),this.keyMultipleSignatures.set(n),this.domNodes.signature.innerText=\"\",this.domNodes.docs.innerText=\"\";const i=e.signatures[e.activeSignature];if(!i)return;const s=Jr(this.domNodes.signature,P_(\".code\")),a=this.editor.getOption(44);s.style.fontSize=`${a.fontSize}px`,s.style.fontFamily=a.fontFamily;const l=i.parameters.length>0,u=(t=i.activeParameter)!==null&&t!==void 0?t:e.activeParameter;if(l)this.renderParameters(s,i,u);else{const p=Jr(s,P_(\"span\"));p.textContent=i.label}const d=i.parameters[u];if(d!=null&&d.documentation){const p=P_(\"span.documentation\");if(typeof d.documentation==\"string\")p.textContent=d.documentation;else{const g=this.renderMarkdownDocs(d.documentation);p.appendChild(g.element)}Jr(this.domNodes.docs,P_(\"p\",{},p))}if(i.documentation!==void 0)if(typeof i.documentation==\"string\")Jr(this.domNodes.docs,P_(\"p\",{},i.documentation));else{const p=this.renderMarkdownDocs(i.documentation);Jr(this.domNodes.docs,p.element)}const h=this.hasDocs(i,d);if(this.domNodes.signature.classList.toggle(\"has-docs\",h),this.domNodes.docs.classList.toggle(\"empty\",!h),this.domNodes.overloads.textContent=String(e.activeSignature+1).padStart(e.signatures.length.toString().length,\"0\")+\"/\"+e.signatures.length,d){let p=\"\";const g=i.parameters[u];Array.isArray(g.label)?p=i.label.substring(g.label[0],g.label[1]):p=g.label,g.documentation&&(p+=typeof g.documentation==\"string\"?`, ${g.documentation}`:`, ${g.documentation.value}`),i.documentation&&(p+=typeof i.documentation==\"string\"?`, ${i.documentation}`:`, ${i.documentation.value}`),this.announcedLabel!==p&&(Jh(w(\"hint\",\"{0}, hint\",p)),this.announcedLabel=p)}this.editor.layoutContentWidget(this),this.domNodes.scrollbar.scanDomNode()}renderMarkdownDocs(e){const t=this.renderDisposeables.add(this.markdownRenderer.render(e,{asyncRenderCallback:()=>{var n;(n=this.domNodes)===null||n===void 0||n.scrollbar.scanDomNode()}}));return t.element.classList.add(\"markdown-docs\"),t}hasDocs(e,t){return!!(t&&typeof t.documentation==\"string\"&&jF(t.documentation).length>0||t&&typeof t.documentation==\"object\"&&jF(t.documentation).value.length>0||e.documentation&&typeof e.documentation==\"string\"&&jF(e.documentation).length>0||e.documentation&&typeof e.documentation==\"object\"&&jF(e.documentation.value).length>0)}renderParameters(e,t,n){const[i,s]=this.getParameterLabelOffsets(t,n),a=document.createElement(\"span\");a.textContent=t.label.substring(0,i);const l=document.createElement(\"span\");l.textContent=t.label.substring(i,s),l.className=\"parameter active\";const u=document.createElement(\"span\");u.textContent=t.label.substring(s),Jr(e,a,l,u)}getParameterLabelOffsets(e,t){const n=e.parameters[t];if(n){if(Array.isArray(n.label))return n.label;if(n.label.length){const i=new RegExp(`(\\\\W|^)${Ng(n.label)}(?=\\\\W|$)`,\"g\");i.test(e.label);const s=i.lastIndex-n.label.length;return s>=0?[s,i.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()}cancel(){this.model.cancel()}getDomNode(){return this.domNodes||this.createParameterHintDOMNodes(),this.domNodes.element}getId(){return N_e.ID}trigger(e){this.model.trigger(e,0)}updateMaxHeight(){if(!this.domNodes)return;const t=`${Math.max(this.editor.getLayoutInfo().height/4,250)}px`;this.domNodes.element.style.maxHeight=t;const n=this.domNodes.element.getElementsByClassName(\"phwrapper\");n.length&&(n[0].style.maxHeight=t)}};dP.ID=\"editor.widget.parameterHintsWidget\";dP=tKe([$5(1,Xa),$5(2,Wg),$5(3,Pc),$5(4,$o)],dP);const rKe=ln(\"editorHoverWidget.highlightForeground\",{dark:vb,light:vb,hc:vb},w(\"editorHoverWidgetHighlightForeground\",\"Foreground color of the active item in the parameter hint.\"));ac((o,e)=>{const t=o.getColor(vG);if(t){const d=o.type===wm.HIGH_CONTRAST?2:1;e.addRule(`.monaco-editor .parameter-hints-widget { border: ${d}px solid ${t}; }`),e.addRule(`.monaco-editor .parameter-hints-widget.multiple .body { border-left: 1px solid ${t.transparent(.5)}; }`),e.addRule(`.monaco-editor .parameter-hints-widget .signature.has-docs { border-bottom: 1px solid ${t.transparent(.5)}; }`)}const n=o.getColor(kD);n&&e.addRule(`.monaco-editor .parameter-hints-widget { background-color: ${n}; }`);const i=o.getColor($P);i&&e.addRule(`.monaco-editor .parameter-hints-widget a { color: ${i}; }`);const s=o.getColor(zP);s&&e.addRule(`.monaco-editor .parameter-hints-widget a:hover { color: ${s}; }`);const a=o.getColor(bG);a&&e.addRule(`.monaco-editor .parameter-hints-widget { color: ${a}; }`);const l=o.getColor(uce);l&&e.addRule(`.monaco-editor .parameter-hints-widget code { background-color: ${l}; }`);const u=o.getColor(rKe);u&&e.addRule(`.monaco-editor .parameter-hints-widget .parameter.active { color: ${u}}`)});var sKe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},oKe=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let ZD=class I_e extends fr{constructor(e,t){super(),this.editor=e,this.widget=this._register(t.createInstance(dP,this.editor))}static get(e){return e.getContribution(I_e.ID)}cancel(){this.widget.cancel()}previous(){this.widget.previous()}next(){this.widget.next()}trigger(e){this.widget.trigger(e)}};ZD.ID=\"editor.controller.parameterHints\";ZD=sKe([oKe(1,Nl)],ZD);class aKe extends xo{constructor(){super({id:\"editor.action.triggerParameterHints\",label:w(\"parameterHints.trigger.label\",\"Trigger Parameter Hints\"),alias:\"Trigger Parameter Hints\",precondition:on.hasSignatureHelpProvider,kbOpts:{kbExpr:on.editorTextFocus,primary:3082,weight:100}})}run(e,t){const n=ZD.get(t);n&&n.trigger({triggerKind:W1.Invoke})}}vu(ZD.ID,ZD);Fs(aKe);const bY=100+75,vY=Zh.bindToContribution(ZD.get);Ns(new vY({id:\"closeParameterHints\",precondition:QD.Visible,handler:o=>o.cancel(),kbOpts:{weight:bY,kbExpr:on.focus,primary:9,secondary:[1033]}}));Ns(new vY({id:\"showPrevParameterHint\",precondition:co.and(QD.Visible,QD.MultipleSignatures),handler:o=>o.previous(),kbOpts:{weight:bY,kbExpr:on.focus,primary:16,secondary:[528],mac:{primary:16,secondary:[528,302]}}}));Ns(new vY({id:\"showNextParameterHint\",precondition:co.and(QD.Visible,QD.MultipleSignatures),handler:o=>o.next(),kbOpts:{weight:bY,kbExpr:on.focus,primary:18,secondary:[530],mac:{primary:18,secondary:[530,300]}}}));var lKe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},GH=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};const sO=new Do(\"renameInputVisible\",!1,w(\"renameInputVisible\",\"Whether the rename input widget is visible\"));let nq=class{constructor(e,t,n,i,s){this._editor=e,this._acceptKeybindings=t,this._themeService=n,this._keybindingService=i,this._disposables=new fs,this.allowEditorOverflow=!0,this._visibleContextKey=sO.bindTo(s),this._editor.addContentWidget(this),this._disposables.add(this._editor.onDidChangeConfiguration(a=>{a.hasChanged(44)&&this._updateFont()})),this._disposables.add(n.onDidColorThemeChange(this._updateStyles,this))}dispose(){this._disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return\"__renameInputWidget\"}getDomNode(){if(!this._domNode){this._domNode=document.createElement(\"div\"),this._domNode.className=\"monaco-editor rename-box\",this._input=document.createElement(\"input\"),this._input.className=\"rename-input\",this._input.type=\"text\",this._input.setAttribute(\"aria-label\",w(\"renameAriaLabel\",\"Rename input. Type new name and press Enter to commit.\")),this._domNode.appendChild(this._input),this._label=document.createElement(\"div\"),this._label.className=\"rename-label\",this._domNode.appendChild(this._label);const e=()=>{var t,n;const[i,s]=this._acceptKeybindings;this._keybindingService.lookupKeybinding(i),this._label.innerText=w({key:\"label\",comment:['placeholders are keybindings, e.g \"F2 to Rename, Shift+F2 to Preview\"']},\"{0} to Rename, {1} to Preview\",(t=this._keybindingService.lookupKeybinding(i))===null||t===void 0?void 0:t.getLabel(),(n=this._keybindingService.lookupKeybinding(s))===null||n===void 0?void 0:n.getLabel())};e(),this._disposables.add(this._keybindingService.onDidUpdateKeybindings(e)),this._updateFont(),this._updateStyles(this._themeService.getColorTheme())}return this._domNode}_updateStyles(e){var t,n,i,s;if(!this._input||!this._domNode)return;const a=e.getColor(rC);this._domNode.style.backgroundColor=String((t=e.getColor(ff))!==null&&t!==void 0?t:\"\"),this._domNode.style.boxShadow=a?` 0 0 8px 2px ${a}`:\"\",this._domNode.style.color=String((n=e.getColor(fG))!==null&&n!==void 0?n:\"\"),this._input.style.backgroundColor=String((i=e.getColor(pG))!==null&&i!==void 0?i:\"\");const l=e.getColor(_G);this._input.style.borderWidth=l?\"1px\":\"0px\",this._input.style.borderStyle=l?\"solid\":\"none\",this._input.style.borderColor=(s=l==null?void 0:l.toString())!==null&&s!==void 0?s:\"none\"}_updateFont(){if(!this._input||!this._label)return;const e=this._editor.getOption(44);this._input.style.fontFamily=e.fontFamily,this._input.style.fontWeight=e.fontWeight,this._input.style.fontSize=`${e.fontSize}px`,this._label.style.fontSize=`${e.fontSize*.8}px`}getPosition(){return this._visible?{position:this._position,preference:[2,1]}:null}afterRender(e){e||this.cancelInput(!0)}acceptInput(e){this._currentAcceptInput&&this._currentAcceptInput(e)}cancelInput(e){this._currentCancelInput&&this._currentCancelInput(e)}getInput(e,t,n,i,s,a){this._domNode.classList.toggle(\"preview\",s),this._position=new Ii(e.startLineNumber,e.startColumn),this._input.value=t,this._input.setAttribute(\"selectionStart\",n.toString()),this._input.setAttribute(\"selectionEnd\",i.toString()),this._input.size=Math.max((e.endColumn-e.startColumn)*1.1,20);const l=new fs;return new Promise(u=>{this._currentCancelInput=d=>(this._currentAcceptInput=void 0,this._currentCancelInput=void 0,u(d),!0),this._currentAcceptInput=d=>{if(this._input.value.trim().length===0||this._input.value===t){this.cancelInput(!0);return}this._currentAcceptInput=void 0,this._currentCancelInput=void 0,u({newName:this._input.value,wantsPreview:s&&d})},l.add(a.onCancellationRequested(()=>this.cancelInput(!0))),l.add(this._editor.onDidBlurEditorWidget(()=>this.cancelInput(!1))),this._show()}).finally(()=>{l.dispose(),this._hide()})}_show(){this._editor.revealLineInCenterIfOutsideViewport(this._position.lineNumber,0),this._visible=!0,this._visibleContextKey.set(!0),this._editor.layoutContentWidget(this),setTimeout(()=>{this._input.focus(),this._input.setSelectionRange(parseInt(this._input.getAttribute(\"selectionStart\")),parseInt(this._input.getAttribute(\"selectionEnd\")))},100)}_hide(){this._visible=!1,this._visibleContextKey.reset(),this._editor.layoutContentWidget(this)}};nq=lKe([GH(2,gc),GH(3,Xc),GH(4,Xa)],nq);var uKe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},L2=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},bD=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};class CY{constructor(e,t,n){this.model=e,this.position=t,this._providerRenameIdx=0,this._providers=n.ordered(e)}hasProvider(){return this._providers.length>0}resolveRenameLocation(e){return bD(this,void 0,void 0,function*(){const t=[];for(this._providerRenameIdx=0;this._providerRenameIdx<this._providers.length;this._providerRenameIdx++){const i=this._providers[this._providerRenameIdx];if(!i.resolveRenameLocation)break;let s=yield i.resolveRenameLocation(this.model,this.position,e);if(!!s){if(s.rejectReason){t.push(s.rejectReason);continue}return s}}const n=this.model.getWordAtPosition(this.position);return n?{range:new He(this.position.lineNumber,n.startColumn,this.position.lineNumber,n.endColumn),text:n.word,rejectReason:t.length>0?t.join(`\n`):void 0}:{range:He.fromPositions(this.position),text:\"\",rejectReason:t.length>0?t.join(`\n`):void 0}})}provideRenameEdits(e,t){return bD(this,void 0,void 0,function*(){return this._provideRenameEdits(e,this._providerRenameIdx,[],t)})}_provideRenameEdits(e,t,n,i){return bD(this,void 0,void 0,function*(){const s=this._providers[t];if(!s)return{edits:[],rejectReason:n.join(`\n`)};const a=yield s.provideRenameEdits(this.model,this.position,e,i);if(a){if(a.rejectReason)return this._provideRenameEdits(e,t+1,n.concat(a.rejectReason),i)}else return this._provideRenameEdits(e,t+1,n.concat(w(\"no result\",\"No result.\")),i);return a})}}function cKe(o,e,t,n){return bD(this,void 0,void 0,function*(){const i=new CY(e,t,o),s=yield i.resolveRenameLocation(Ll.None);return s!=null&&s.rejectReason?{edits:[],rejectReason:s.rejectReason}:i.provideRenameEdits(n,Ll.None)})}let ew=class F_e{constructor(e,t,n,i,s,a,l,u){this.editor=e,this._instaService=t,this._notificationService=n,this._bulkEditService=i,this._progressService=s,this._logService=a,this._configService=l,this._languageFeaturesService=u,this._dispoableStore=new fs,this._cts=new Xh,this._renameInputField=this._dispoableStore.add(new Bv(()=>this._dispoableStore.add(this._instaService.createInstance(nq,this.editor,[\"acceptRenameInput\",\"acceptRenameInputWithPreview\"]))))}static get(e){return e.getContribution(F_e.ID)}dispose(){this._dispoableStore.dispose(),this._cts.dispose(!0)}run(){var e,t;return bD(this,void 0,void 0,function*(){if(this._cts.dispose(!0),!this.editor.hasModel())return;const n=this.editor.getPosition(),i=new CY(this.editor.getModel(),n,this._languageFeaturesService.renameProvider);if(!i.hasProvider())return;this._cts=new TL(this.editor,5);let s;try{const g=i.resolveRenameLocation(this._cts.token);this._progressService.showWhile(g,250),s=yield g}catch(g){(e=Q_.get(this.editor))===null||e===void 0||e.showMessage(g||w(\"resolveRenameLocationFailed\",\"An unknown error occurred while resolving rename location\"),n);return}if(!s)return;if(s.rejectReason){(t=Q_.get(this.editor))===null||t===void 0||t.showMessage(s.rejectReason,n);return}if(this._cts.token.isCancellationRequested)return;this._cts.dispose(),this._cts=new TL(this.editor,5,s.range);let a=this.editor.getSelection(),l=0,u=s.text.length;!He.isEmpty(a)&&!He.spansMultipleLines(a)&&He.containsRange(s.range,a)&&(l=Math.max(0,a.startColumn-s.range.startColumn),u=Math.min(s.range.endColumn,a.endColumn)-s.range.startColumn);const d=this._bulkEditService.hasPreviewHandler()&&this._configService.getValue(this.editor.getModel().uri,\"editor.rename.enablePreview\"),h=yield this._renameInputField.value.getInput(s.range,s.text,l,u,d,this._cts.token);if(typeof h==\"boolean\"){h&&this.editor.focus();return}this.editor.focus();const p=qq(i.provideRenameEdits(h.newName,this._cts.token),this._cts.token).then(g=>bD(this,void 0,void 0,function*(){if(!(!g||!this.editor.hasModel())){if(g.rejectReason){this._notificationService.info(g.rejectReason);return}this.editor.setSelection(He.fromPositions(this.editor.getSelection().getPosition())),this._bulkEditService.apply(r9.convert(g),{editor:this.editor,showPreview:h.wantsPreview,label:w(\"label\",\"Renaming '{0}'\",s==null?void 0:s.text),quotableLabel:w(\"quotableLabel\",\"Renaming {0}\",s==null?void 0:s.text)}).then(y=>{y.ariaSummary&&Jh(w(\"aria\",\"Successfully renamed '{0}' to '{1}'. Summary: {2}\",s.text,h.newName,y.ariaSummary))}).catch(y=>{this._notificationService.error(w(\"rename.failedApply\",\"Rename failed to apply edits\")),this._logService.error(y)})}}),g=>{this._notificationService.error(w(\"rename.failed\",\"Rename failed to compute edits\")),this._logService.error(g)});return this._progressService.showWhile(p,250),p})}acceptRenameInput(e){this._renameInputField.value.acceptInput(e)}cancelRenameInput(){this._renameInputField.value.cancelInput(!0)}};ew.ID=\"editor.contrib.renameController\";ew=uKe([L2(1,Nl),L2(2,Sd),L2(3,YG),L2(4,CC),L2(5,km),L2(6,Qq),L2(7,$o)],ew);class dKe extends xo{constructor(){super({id:\"editor.action.rename\",label:w(\"rename.label\",\"Rename Symbol\"),alias:\"Rename Symbol\",precondition:co.and(on.writable,on.hasRenameProvider),kbOpts:{kbExpr:on.editorTextFocus,primary:60,weight:100},contextMenuOpts:{group:\"1_modification\",order:1.1}})}runCommand(e,t){const n=e.get(Eu),[i,s]=Array.isArray(t)&&t||[void 0,void 0];return wa.isUri(i)&&Ii.isIPosition(s)?n.openCodeEditor({resource:i},n.getActiveCodeEditor()).then(a=>{!a||(a.setPosition(s),a.invokeWithinContext(l=>(this.reportTelemetry(l,a),this.run(l,a))))},tl):super.runCommand(e,t)}run(e,t){const n=ew.get(t);return n?n.run():Promise.resolve()}}vu(ew.ID,ew);Fs(dKe);const DY=Zh.bindToContribution(ew.get);Ns(new DY({id:\"acceptRenameInput\",precondition:sO,handler:o=>o.acceptRenameInput(!1),kbOpts:{weight:100+99,kbExpr:on.focus,primary:3}}));Ns(new DY({id:\"acceptRenameInputWithPreview\",precondition:co.and(sO,co.has(\"config.editor.rename.enablePreview\")),handler:o=>o.acceptRenameInput(!0),kbOpts:{weight:100+99,kbExpr:on.focus,primary:1024+3}}));Ns(new DY({id:\"cancelRenameInput\",precondition:sO,handler:o=>o.cancelRenameInput(),kbOpts:{weight:100+99,kbExpr:on.focus,primary:9,secondary:[1033]}}));oy(\"_executeDocumentRenameProvider\",function(o,e,t,...n){const[i]=n;$u(typeof i==\"string\");const{renameProvider:s}=o.get($o);return cKe(s,e,t,i)});oy(\"_executePrepareRename\",function(o,e,t){return bD(this,void 0,void 0,function*(){const{renameProvider:n}=o.get($o),s=yield new CY(e,t,n).resolveRenameLocation(Ll.None);if(s!=null&&s.rejectReason)throw new Error(s.rejectReason);return s})});wd.as(pw.Configuration).registerConfiguration({id:\"editor\",properties:{\"editor.rename.enablePreview\":{scope:5,description:w(\"enablePreview\",\"Enable/disable the ability to preview changes before renaming\"),default:!0,type:\"boolean\"}}});class hKe{provideSelectionRanges(e,t){const n=[];for(const i of t){const s=[];n.push(s),this._addInWordRanges(s,e,i),this._addWordRanges(s,e,i),this._addWhitespaceLine(s,e,i),s.push({range:e.getFullModelRange()})}return n}_addInWordRanges(e,t,n){const i=t.getWordAtPosition(n);if(!i)return;let{word:s,startColumn:a}=i,l=n.column-a,u=l,d=l,h=0;for(;u>=0;u--){let p=s.charCodeAt(u);if(u!==l&&(p===95||p===45))break;if(Av(p)&&D1(h))break;h=p}for(u+=1;d<s.length;d++){let p=s.charCodeAt(d);if(D1(p)&&Av(h))break;if(p===95||p===45)break;h=p}u<d&&e.push({range:new He(n.lineNumber,a+u,n.lineNumber,a+d)})}_addWordRanges(e,t,n){const i=t.getWordAtPosition(n);i&&e.push({range:new He(n.lineNumber,i.startColumn,n.lineNumber,i.endColumn)})}_addWhitespaceLine(e,t,n){t.getLineLength(n.lineNumber)>0&&t.getLineFirstNonWhitespaceColumn(n.lineNumber)===0&&t.getLineLastNonWhitespaceColumn(n.lineNumber)===0&&e.push({range:new He(n.lineNumber,1,n.lineNumber,t.getLineMaxColumn(n.lineNumber))})}}var pKe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},fKe=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},oO=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};class wY{constructor(e,t){this.index=e,this.ranges=t}mov(e){let t=this.index+(e?1:-1);if(t<0||t>=this.ranges.length)return this;const n=new wY(t,this.ranges);return n.ranges[t].equalsRange(this.ranges[this.index])?n.mov(e):n}}let IE=class P_e{constructor(e,t){this._editor=e,this._languageFeaturesService=t,this._ignoreSelection=!1}static get(e){return e.getContribution(P_e.ID)}dispose(){var e;(e=this._selectionListener)===null||e===void 0||e.dispose()}run(e){return oO(this,void 0,void 0,function*(){if(!this._editor.hasModel())return;const t=this._editor.getSelections(),n=this._editor.getModel();if(this._state||(yield M_e(this._languageFeaturesService.selectionRangeProvider,n,t.map(s=>s.getPosition()),this._editor.getOption(102),Ll.None).then(s=>{var a;if(!(!d_(s)||s.length!==t.length)&&!(!this._editor.hasModel()||!K_(this._editor.getSelections(),t,(l,u)=>l.equalsSelection(u)))){for(let l=0;l<s.length;l++)s[l]=s[l].filter(u=>u.containsPosition(t[l].getStartPosition())&&u.containsPosition(t[l].getEndPosition())),s[l].unshift(t[l]);this._state=s.map(l=>new wY(0,l)),(a=this._selectionListener)===null||a===void 0||a.dispose(),this._selectionListener=this._editor.onDidChangeCursorPosition(()=>{var l;this._ignoreSelection||((l=this._selectionListener)===null||l===void 0||l.dispose(),this._state=void 0)})}})),!this._state)return;this._state=this._state.map(s=>s.mov(e));const i=this._state.map(s=>oo.fromPositions(s.ranges[s.index].getStartPosition(),s.ranges[s.index].getEndPosition()));this._ignoreSelection=!0;try{this._editor.setSelections(i)}finally{this._ignoreSelection=!1}})}};IE.ID=\"editor.contrib.smartSelectController\";IE=pKe([fKe(1,$o)],IE);class O_e extends xo{constructor(e,t){super(t),this._forward=e}run(e,t){return oO(this,void 0,void 0,function*(){let n=IE.get(t);n&&(yield n.run(this._forward))})}}class _Ke extends O_e{constructor(){super(!0,{id:\"editor.action.smartSelect.expand\",label:w(\"smartSelect.expand\",\"Expand Selection\"),alias:\"Expand Selection\",precondition:void 0,kbOpts:{kbExpr:on.editorTextFocus,primary:1553,mac:{primary:3345,secondary:[1297]},weight:100},menuOpts:{menuId:Fn.MenubarSelectionMenu,group:\"1_basic\",title:w({key:\"miSmartSelectGrow\",comment:[\"&& denotes a mnemonic\"]},\"&&Expand Selection\"),order:2}})}}tu.registerCommandAlias(\"editor.action.smartSelect.grow\",\"editor.action.smartSelect.expand\");class gKe extends O_e{constructor(){super(!1,{id:\"editor.action.smartSelect.shrink\",label:w(\"smartSelect.shrink\",\"Shrink Selection\"),alias:\"Shrink Selection\",precondition:void 0,kbOpts:{kbExpr:on.editorTextFocus,primary:1551,mac:{primary:3343,secondary:[1295]},weight:100},menuOpts:{menuId:Fn.MenubarSelectionMenu,group:\"1_basic\",title:w({key:\"miSmartSelectShrink\",comment:[\"&& denotes a mnemonic\"]},\"&&Shrink Selection\"),order:3}})}}vu(IE.ID,IE);Fs(_Ke);Fs(gKe);function M_e(o,e,t,n,i){return oO(this,void 0,void 0,function*(){const s=o.all(e).concat(new hKe);s.length===1&&s.unshift(new R_);let a=[],l=[];for(const u of s)a.push(Promise.resolve(u.provideSelectionRanges(e,t,i)).then(d=>{if(d_(d)&&d.length===t.length)for(let h=0;h<t.length;h++){l[h]||(l[h]=[]);for(const p of d[h])He.isIRange(p.range)&&He.containsPosition(p.range,t[h])&&l[h].push(He.lift(p.range))}},bh));return yield Promise.all(a),l.map(u=>{if(u.length===0)return[];u.sort((g,y)=>Ii.isBefore(g.getStartPosition(),y.getStartPosition())?1:Ii.isBefore(y.getStartPosition(),g.getStartPosition())||Ii.isBefore(g.getEndPosition(),y.getEndPosition())?-1:Ii.isBefore(y.getEndPosition(),g.getEndPosition())?1:0);let d=[],h;for(const g of u)(!h||He.containsRange(g,h)&&!He.equalsRange(g,h))&&(d.push(g),h=g);if(!n.selectLeadingAndTrailingWhitespace)return d;let p=[d[0]];for(let g=1;g<d.length;g++){const y=d[g-1],D=d[g];if(D.startLineNumber!==y.startLineNumber||D.endLineNumber!==y.endLineNumber){const T=new He(y.startLineNumber,e.getLineFirstNonWhitespaceColumn(y.startLineNumber),y.endLineNumber,e.getLineLastNonWhitespaceColumn(y.endLineNumber));T.containsRange(y)&&!T.equalsRange(y)&&D.containsRange(T)&&!D.equalsRange(T)&&p.push(T);const k=new He(y.startLineNumber,1,y.endLineNumber,e.getLineMaxColumn(y.endLineNumber));k.containsRange(y)&&!k.equalsRange(T)&&D.containsRange(k)&&!D.equalsRange(k)&&p.push(k)}p.push(D)}return p})})}tu.registerCommand(\"_executeSelectionRangeProvider\",function(o,...e){return oO(this,void 0,void 0,function*(){const[t,n]=e;$u(wa.isUri(t));const i=o.get($o).selectionRangeProvider,s=yield o.get(Wf).createModelReference(t);try{return M_e(i,s.object.textEditorModel,n,{selectLeadingAndTrailingWhitespace:!0},Ll.None)}finally{s.dispose()}})});class mKe extends xo{constructor(){super({id:\"editor.action.forceRetokenize\",label:w(\"forceRetokenize\",\"Developer: Force Retokenize\"),alias:\"Developer: Force Retokenize\",precondition:void 0})}run(e,t){if(!t.hasModel())return;const n=t.getModel();n.resetTokenization();const i=new Bf(!0);n.forceTokenization(n.getLineCount()),i.stop(),console.log(`tokenization took ${i.elapsed()}`)}}Fs(mKe);class FE extends xo{constructor(){super({id:FE.ID,label:w({key:\"toggle.tabMovesFocus\",comment:[\"Turn on/off use of tab key for moving focus around VS Code\"]},\"Toggle Tab Key Moves Focus\"),alias:\"Toggle Tab Key Moves Focus\",precondition:void 0,kbOpts:{kbExpr:null,primary:2091,mac:{primary:1323},weight:100}})}run(e,t){const i=!r7.getTabFocusMode();r7.setTabFocusMode(i),Jh(i?w(\"toggle.tabMovesFocus.on\",\"Pressing Tab will now move focus to the next focusable element\"):w(\"toggle.tabMovesFocus.off\",\"Pressing Tab will now insert the tab character\"))}}FE.ID=\"editor.action.toggleTabFocusMode\";Fs(FE);var yKe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},bKe=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let iq=class extends fr{constructor(e,t,n={},i){var s;super(),this._link=t,this._enabled=!0,this.el=Jr(e,ls(\"a.monaco-link\",{tabIndex:(s=t.tabIndex)!==null&&s!==void 0?s:0,href:t.href,title:t.title},t.label)),this.el.setAttribute(\"role\",\"button\");const a=this._register(new Ru(this.el,\"click\")),l=this._register(new Ru(this.el,\"keypress\")),u=Xo.chain(l.event).map(p=>new _c(p)).filter(p=>p.keyCode===3).event,d=this._register(new Ru(this.el,sc.Tap)).event;this._register(Iu.addTarget(this.el));const h=Xo.any(a.event,u,d);this._register(h(p=>{!this.enabled||(xu.stop(p,!0),n!=null&&n.opener?n.opener(this._link.href):i.open(this._link.href,{allowCommands:!0}))})),this.enabled=!0}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}};iq=yKe([bKe(3,Wg)],iq);ac((o,e)=>{const t=o.getColor($P);t&&e.addRule(`.monaco-link { color: ${t}; }`);const n=o.getColor(zP);n&&e.addRule(`.monaco-link:hover { color: ${n}; }`)});var R_e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},B_e=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};const vKe=26;let rq=class extends fr{constructor(e,t){super(),this._editor=e,this.instantiationService=t,this.banner=this._register(this.instantiationService.createInstance(sq))}hide(){this._editor.setBanner(null,0),this.banner.clear()}show(e){this.banner.show(Object.assign(Object.assign({},e),{onClose:()=>{this.hide(),e.onClose&&e.onClose()}})),this._editor.setBanner(this.banner.element,vKe)}};rq=R_e([B_e(1,Nl)],rq);let sq=class extends fr{constructor(e){super(),this.instantiationService=e,this.markdownRenderer=this.instantiationService.createInstance(kb,{}),this.element=ls(\"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=ls(\"span\");return t.innerText=e,t}return this.markdownRenderer.render(e).element}clear(){nh(this.element)}show(e){nh(this.element);const t=this.getAriaLabel(e);t&&this.element.setAttribute(\"aria-label\",t);const n=Jr(this.element,ls(\"div.icon-container\"));n.setAttribute(\"aria-hidden\",\"true\"),e.icon&&n.appendChild(ls(`div${zu.asCSSSelector(e.icon)}`));const i=Jr(this.element,ls(\"div.message-container\"));if(i.setAttribute(\"aria-hidden\",\"true\"),i.appendChild(this.getBannerMessage(e.message)),this.messageActionsContainer=Jr(this.element,ls(\"div.message-actions-container\")),e.actions)for(const a of e.actions)this._register(this.instantiationService.createInstance(iq,this.messageActionsContainer,Object.assign(Object.assign({},a),{tabIndex:-1}),{}));const s=Jr(this.element,ls(\"div.action-container\"));this.actionBar=this._register(new Z1(s)),this.actionBar.push(this._register(new h_(\"banner.close\",\"Close Banner\",zu.asClassName(xde),!0,()=>{typeof e.onClose==\"function\"&&e.onClose()})),{icon:!0,label:!1}),this.actionBar.setFocusable(!1)}};sq=R_e([B_e(0,Nl)],sq);var SY=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},Qx=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},mp=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};const CKe=rh(\"extensions-warning-message\",E.warning,w(\"warningIcon\",\"Icon shown with a warning message in the extensions editor.\"));let PE=class extends fr{constructor(e,t,n,i){super(),this._editor=e,this._editorWorkerService=t,this._workspaceTrustService=n,this._highlighter=null,this._bannerClosed=!1,this._updateState=s=>{if(s&&s.hasMore){if(this._bannerClosed)return;const a=Math.max(s.ambiguousCharacterCount,s.nonBasicAsciiCharacterCount,s.invisibleCharacterCount);let l;if(s.nonBasicAsciiCharacterCount>=a)l={message:w(\"unicodeHighlighting.thisDocumentHasManyNonBasicAsciiUnicodeCharacters\",\"This document contains many non-basic ASCII unicode characters\"),command:new nT};else if(s.ambiguousCharacterCount>=a)l={message:w(\"unicodeHighlighting.thisDocumentHasManyAmbiguousUnicodeCharacters\",\"This document contains many ambiguous unicode characters\"),command:new xC};else if(s.invisibleCharacterCount>=a)l={message:w(\"unicodeHighlighting.thisDocumentHasManyInvisibleUnicodeCharacters\",\"This document contains many invisible unicode characters\"),command:new tT};else throw new Error(\"Unreachable\");this._bannerController.show({id:\"unicodeHighlightBanner\",message:l.message,icon:CKe,actions:[{label:l.command.shortLabel,href:`command:${l.command.id}`}],onClose:()=>{this._bannerClosed=!0}})}else this._bannerController.hide()},this._bannerController=this._register(i.createInstance(rq,e)),this._register(this._editor.onDidChangeModel(()=>{this._bannerClosed=!1,this._updateHighlighter()})),this._options=e.getOption(113),this._register(n.onDidChangeTrust(s=>{this._updateHighlighter()})),this._register(e.onDidChangeConfiguration(s=>{s.hasChanged(113)&&(this._options=e.getOption(113),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=DKe(this._workspaceTrustService.isWorkspaceTrusted(),this._options);if([e.nonBasicASCII,e.ambiguousCharacters,e.invisibleCharacters].every(n=>n===!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(n=>n.codePointAt(0)),allowedLocales:Object.keys(e.allowedLocales).map(n=>n===\"_os\"?new Intl.NumberFormat().resolvedOptions().locale:n===\"_vscode\"?CEe:n)};this._editorWorkerService.canComputeUnicodeHighlights(this._editor.getModel().uri)?this._highlighter=new oq(this._editor,t,this._updateState,this._editorWorkerService):this._highlighter=new wKe(this._editor,t,this._updateState)}getDecorationInfo(e){return this._highlighter?this._highlighter.getDecorationInfo(e):null}};PE.ID=\"editor.contrib.unicodeHighlighter\";PE=SY([Qx(1,Bg),Qx(2,jde),Qx(3,Nl)],PE);function DKe(o,e){return{nonBasicASCII:e.nonBasicASCII===M_?!o:e.nonBasicASCII,ambiguousCharacters:e.ambiguousCharacters,invisibleCharacters:e.invisibleCharacters,includeComments:e.includeComments===M_?!o:e.includeComments,includeStrings:e.includeStrings===M_?!o:e.includeStrings,allowedCharacters:e.allowedCharacters,allowedLocales:e.allowedLocales}}let oq=class extends fr{constructor(e,t,n,i){super(),this._editor=e,this._options=t,this._updateState=n,this._editorWorkerService=i,this._model=this._editor.getModel(),this._decorationIds=new Set,this._updateSoon=this._register(new Bu(()=>this._update(),250)),this._register(this._editor.onDidChangeModelContent(()=>{this._updateSoon.schedule()})),this._updateSoon.schedule()}dispose(){this._decorationIds=new Set(this._model.deltaDecorations(Array.from(this._decorationIds),[])),super.dispose()}_update(){if(this._model.isDisposed())return;if(!this._model.mightContainNonBasicASCII()){this._decorationIds=new Set(this._editor.deltaDecorations(Array.from(this._decorationIds),[]));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 n=[];if(!t.hasMore)for(const i of t.ranges)n.push({range:i,options:OE.instance.getDecorationFromOptions(this._options)});this._decorationIds=new Set(this._editor.deltaDecorations(Array.from(this._decorationIds),n))})}getDecorationInfo(e){if(!this._decorationIds.has(e))return null;const t=this._editor.getModel(),n=t.getDecorationRange(e),i={range:n,options:OE.instance.getDecorationFromOptions(this._options),id:e,ownerId:0};if(!PG(t,i))return null;const s=t.getValueInRange(n);return{reason:j_e(s,this._options),inComment:OG(t,i),inString:MG(t,i)}}};oq=SY([Qx(3,Bg)],oq);class wKe extends fr{constructor(e,t,n){super(),this._editor=e,this._options=t,this._updateState=n,this._model=this._editor.getModel(),this._decorationIds=new Set,this._updateSoon=this._register(new Bu(()=>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._decorationIds=new Set(this._model.deltaDecorations(Array.from(this._decorationIds),[])),super.dispose()}_update(){if(this._model.isDisposed())return;if(!this._model.mightContainNonBasicASCII()){this._decorationIds=new Set(this._editor.deltaDecorations(Array.from(this._decorationIds),[]));return}const e=this._editor.getVisibleRanges(),t=[],n={ranges:[],ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0,hasMore:!1};for(const i of e){const s=Xq.computeUnicodeHighlights(this._model,this._options,i);for(const a of s.ranges)n.ranges.push(a);n.ambiguousCharacterCount+=n.ambiguousCharacterCount,n.invisibleCharacterCount+=n.invisibleCharacterCount,n.nonBasicAsciiCharacterCount+=n.nonBasicAsciiCharacterCount,n.hasMore=n.hasMore||s.hasMore}if(!n.hasMore)for(const i of n.ranges)t.push({range:i,options:OE.instance.getDecorationFromOptions(this._options)});this._updateState(n),this._decorationIds=new Set(this._editor.deltaDecorations(Array.from(this._decorationIds),t))}getDecorationInfo(e){if(!this._decorationIds.has(e))return null;const t=this._editor.getModel(),n=t.getDecorationRange(e),i=t.getValueInRange(n),s={range:n,options:OE.instance.getDecorationFromOptions(this._options),id:e,ownerId:0};return PG(t,s)?{reason:j_e(i,this._options),inComment:OG(t,s),inString:MG(t,s)}:null}}let aq=class{constructor(e,t,n){this._editor=e,this._languageService=t,this._openerService=n,this.hoverOrdinal=4}computeSync(e,t){if(!this._editor.hasModel()||e.type!==1)return[];const n=this._editor.getModel(),i=this._editor.getContribution(PE.ID);if(!i)return[];const s=[];let a=300;for(const l of t){const u=i.getDecorationInfo(l.id);if(!u)continue;const h=n.getValueInRange(l.range).codePointAt(0),p=cle(h);let g;switch(u.reason.kind){case 0:g=w(\"unicodeHighlight.characterIsAmbiguous\",\"The character {0} could be confused with the character {1}, which is more common in source code.\",p,cle(u.reason.confusableWith.codePointAt(0)));break;case 1:g=w(\"unicodeHighlight.characterIsInvisible\",\"The character {0} is invisible.\",p);break;case 2:g=w(\"unicodeHighlight.characterIsNonBasicAscii\",\"The character {0} is not a basic ASCII character.\",p);break}const y={codePoint:h,reason:u.reason,inComment:u.inComment,inString:u.inString},D=w(\"unicodeHighlight.adjustSettings\",\"Adjust settings\"),T=[{value:`${g} [${D}](command:${A4.ID}?${encodeURIComponent(JSON.stringify(y))})`,isTrusted:!0}];s.push(new fb(this,l.range,T,a++))}return s}renderHoverParts(e,t){return Afe(e,t,this._editor,this._languageService,this._openerService)}};aq=SY([Qx(1,Pc),Qx(2,Wg)],aq);function lq(o){return`U+${o.toString(16).padStart(4,\"0\")}`}function cle(o){let e=`\\`${lq(o)}\\``;return H1.isInvisibleCharacter(o)||(e+=` \"${`${SKe(o)}`}\"`),e}function SKe(o){return o===96?\"`` ` ``\":\"`\"+String.fromCodePoint(o)+\"`\"}function j_e(o,e){return Xq.computeUnicodeHighlightReason(o,e)}class OE{constructor(){this.map=new Map}getDecorationFromOptions(e){return this.getDecoration(!e.includeComments,!e.includeStrings)}getDecoration(e,t){const n=`${e}${t}`;let i=this.map.get(n);return i||(i=_l.createDynamic({description:\"unicode-highlight\",stickiness:1,className:\"unicode-highlight\",showIfCollapsed:!0,overviewRuler:null,minimap:null,hideInCommentTokens:e,hideInStringTokens:t}),this.map.set(n,i)),i}}OE.instance=new OE;class xKe extends xo{constructor(){super({id:xC.ID,label:w(\"action.unicodeHighlight.disableHighlightingInComments\",\"Disable highlighting of characters in comments\"),alias:\"Disable highlighting of characters in comments\",precondition:void 0}),this.shortLabel=w(\"unicodeHighlight.disableHighlightingInComments.shortLabel\",\"Disable Highlight In Comments\")}run(e,t,n){return mp(this,void 0,void 0,function*(){let i=e==null?void 0:e.get(Uu);i&&this.runAction(i)})}runAction(e){return mp(this,void 0,void 0,function*(){yield e.updateValue(Ff.includeComments,!1,1)})}}class EKe extends xo{constructor(){super({id:xC.ID,label:w(\"action.unicodeHighlight.disableHighlightingInStrings\",\"Disable highlighting of characters in strings\"),alias:\"Disable highlighting of characters in strings\",precondition:void 0}),this.shortLabel=w(\"unicodeHighlight.disableHighlightingInStrings.shortLabel\",\"Disable Highlight In Strings\")}run(e,t,n){return mp(this,void 0,void 0,function*(){let i=e==null?void 0:e.get(Uu);i&&this.runAction(i)})}runAction(e){return mp(this,void 0,void 0,function*(){yield e.updateValue(Ff.includeStrings,!1,1)})}}class xC extends xo{constructor(){super({id:xC.ID,label:w(\"action.unicodeHighlight.disableHighlightingOfAmbiguousCharacters\",\"Disable highlighting of ambiguous characters\"),alias:\"Disable highlighting of ambiguous characters\",precondition:void 0}),this.shortLabel=w(\"unicodeHighlight.disableHighlightingOfAmbiguousCharacters.shortLabel\",\"Disable Ambiguous Highlight\")}run(e,t,n){return mp(this,void 0,void 0,function*(){let i=e==null?void 0:e.get(Uu);i&&this.runAction(i)})}runAction(e){return mp(this,void 0,void 0,function*(){yield e.updateValue(Ff.ambiguousCharacters,!1,1)})}}xC.ID=\"editor.action.unicodeHighlight.disableHighlightingOfAmbiguousCharacters\";class tT extends xo{constructor(){super({id:tT.ID,label:w(\"action.unicodeHighlight.disableHighlightingOfInvisibleCharacters\",\"Disable highlighting of invisible characters\"),alias:\"Disable highlighting of invisible characters\",precondition:void 0}),this.shortLabel=w(\"unicodeHighlight.disableHighlightingOfInvisibleCharacters.shortLabel\",\"Disable Invisible Highlight\")}run(e,t,n){return mp(this,void 0,void 0,function*(){let i=e==null?void 0:e.get(Uu);i&&this.runAction(i)})}runAction(e){return mp(this,void 0,void 0,function*(){yield e.updateValue(Ff.invisibleCharacters,!1,1)})}}tT.ID=\"editor.action.unicodeHighlight.disableHighlightingOfInvisibleCharacters\";class nT extends xo{constructor(){super({id:nT.ID,label:w(\"action.unicodeHighlight.disableHighlightingOfNonBasicAsciiCharacters\",\"Disable highlighting of non basic ASCII characters\"),alias:\"Disable highlighting of non basic ASCII characters\",precondition:void 0}),this.shortLabel=w(\"unicodeHighlight.disableHighlightingOfNonBasicAsciiCharacters.shortLabel\",\"Disable Non ASCII Highlight\")}run(e,t,n){return mp(this,void 0,void 0,function*(){let i=e==null?void 0:e.get(Uu);i&&this.runAction(i)})}runAction(e){return mp(this,void 0,void 0,function*(){yield e.updateValue(Ff.nonBasicASCII,!1,1)})}}nT.ID=\"editor.action.unicodeHighlight.disableHighlightingOfNonBasicAsciiCharacters\";class A4 extends xo{constructor(){super({id:A4.ID,label:w(\"action.unicodeHighlight.showExcludeOptions\",\"Show Exclude Options\"),alias:\"Show Exclude Options\",precondition:void 0})}run(e,t,n){return mp(this,void 0,void 0,function*(){const{codePoint:i,reason:s,inString:a,inComment:l}=n,u=String.fromCodePoint(i),d=e.get(Nb),h=e.get(Uu);function p(D){return H1.isInvisibleCharacter(D)?w(\"unicodeHighlight.excludeInvisibleCharFromBeingHighlighted\",\"Exclude {0} (invisible character) from being highlighted\",lq(D)):w(\"unicodeHighlight.excludeCharFromBeingHighlighted\",\"Exclude {0} from being highlighted\",`${lq(D)} \"${u}\"`)}const g=[];if(s.kind===0)for(const D of s.notAmbiguousInLocales)g.push({label:w(\"unicodeHighlight.allowCommonCharactersInLanguage\",'Allow unicode characters that are more common in the language \"{0}\".',D),run:()=>mp(this,void 0,void 0,function*(){AKe(h,[D])})});if(g.push({label:p(i),run:()=>TKe(h,[i])}),l){const D=new xKe;g.push({label:D.label,run:()=>mp(this,void 0,void 0,function*(){return D.runAction(h)})})}else if(a){const D=new EKe;g.push({label:D.label,run:()=>mp(this,void 0,void 0,function*(){return D.runAction(h)})})}if(s.kind===0){const D=new xC;g.push({label:D.label,run:()=>mp(this,void 0,void 0,function*(){return D.runAction(h)})})}else if(s.kind===1){const D=new tT;g.push({label:D.label,run:()=>mp(this,void 0,void 0,function*(){return D.runAction(h)})})}else if(s.kind===2){const D=new nT;g.push({label:D.label,run:()=>mp(this,void 0,void 0,function*(){return D.runAction(h)})})}else kKe(s);const y=yield d.pick(g,{title:w(\"unicodeHighlight.configureUnicodeHighlightOptions\",\"Configure Unicode Highlight Options\")});y&&(yield y.run())})}}A4.ID=\"editor.action.unicodeHighlight.showExcludeOptions\";function TKe(o,e){return mp(this,void 0,void 0,function*(){const t=o.getValue(Ff.allowedCharacters);let n;typeof t==\"object\"&&t?n=t:n={};for(const i of e)n[String.fromCodePoint(i)]=!0;yield o.updateValue(Ff.allowedCharacters,n,1)})}function AKe(o,e){var t;return mp(this,void 0,void 0,function*(){const n=(t=o.inspect(Ff.allowedLocales).user)===null||t===void 0?void 0:t.value;let i;typeof n==\"object\"&&n?i=Object.assign({},n):i={};for(const s of e)i[s]=!0;yield o.updateValue(Ff.allowedLocales,i,1)})}function kKe(o){throw new Error(`Unexpected value: ${o}`)}Fs(xC);Fs(tT);Fs(nT);Fs(A4);vu(PE.ID,PE);xw.register(aq);var LKe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},dle=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},NKe=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};const W_e=\"ignoreUnusualLineTerminators\";function IKe(o,e,t){o.setModelProperty(e.uri,W_e,t)}function FKe(o,e){return o.getModelProperty(e.uri,W_e)}let UL=class extends fr{constructor(e,t,n){super(),this._editor=e,this._dialogService=t,this._codeEditorService=n,this._config=this._editor.getOption(114),this._register(this._editor.onDidChangeConfiguration(i=>{i.hasChanged(114)&&(this._config=this._editor.getOption(114),this._checkForUnusualLineTerminators())})),this._register(this._editor.onDidChangeModel(()=>{this._checkForUnusualLineTerminators()})),this._register(this._editor.onDidChangeModelContent(i=>{i.isUndoing||this._checkForUnusualLineTerminators()}))}_checkForUnusualLineTerminators(){return NKe(this,void 0,void 0,function*(){if(this._config===\"off\"||!this._editor.hasModel())return;const e=this._editor.getModel();if(!e.mightContainUnusualLineTerminators()||FKe(this._codeEditorService,e)===!0||this._editor.getOption(81))return;if(this._config===\"auto\"){e.removeUnusualLineTerminators(this._editor.getSelections());return}if(!(yield this._dialogService.confirm({title:w(\"unusualLineTerminators.title\",\"Unusual Line Terminators\"),message:w(\"unusualLineTerminators.message\",\"Detected unusual line terminators\"),detail:w(\"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`.\",Mg(e.uri)),primaryButton:w(\"unusualLineTerminators.fix\",\"Remove Unusual Line Terminators\"),secondaryButton:w(\"unusualLineTerminators.ignore\",\"Ignore\")})).confirmed){IKe(this._codeEditorService,e,!0);return}e.removeUnusualLineTerminators(this._editor.getSelections())})}};UL.ID=\"editor.contrib.unusualLineTerminatorsDetector\";UL=LKe([dle(1,d4),dle(2,Eu)],UL);vu(UL.ID,UL);var PKe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},Vk=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let KL=class extends fr{constructor(e,t,n,i,s,a){super(),this._modelService=t,this._themeService=n,this._configurationService=i,this._editor=e,this._provider=a.documentRangeSemanticTokensProvider,this._debounceInformation=s.for(this._provider,\"DocumentRangeSemanticTokens\",{min:100,max:500}),this._tokenizeViewport=this._register(new Bu(()=>this._tokenizeViewportNow(),100)),this._outstandingRequests=[];const l=()=>{this._editor.hasModel()&&this._tokenizeViewport.schedule(this._debounceInformation.get(this._editor.getModel()))};this._register(this._editor.onDidScrollChange(()=>{l()})),this._register(this._editor.onDidChangeModel(()=>{this._cancelAll(),l()})),this._register(this._editor.onDidChangeModelContent(u=>{this._cancelAll(),l()})),this._register(this._provider.onDidChange(()=>{this._cancelAll(),l()})),this._register(this._configurationService.onDidChangeConfiguration(u=>{u.affectsConfiguration(dJ)&&(this._cancelAll(),l())})),this._register(this._themeService.onDidColorThemeChange(()=>{this._cancelAll(),l()}))}_cancelAll(){for(const e of this._outstandingRequests)e.cancel();this._outstandingRequests=[]}_removeOutstandingRequest(e){for(let t=0,n=this._outstandingRequests.length;t<n;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.hasCompleteSemanticTokens())return;if(!mU(e,this._themeService,this._configurationService)){e.hasSomeSemanticTokens()&&e.setSemanticTokens(null,!1);return}if(!iPe(this._provider,e)){e.hasSomeSemanticTokens()&&e.setSemanticTokens(null,!1);return}const t=this._editor.getVisibleRangesPlusViewportAboveBelow();this._outstandingRequests=this._outstandingRequests.concat(t.map(n=>this._requestRange(e,n)))}_requestRange(e,t){const n=e.getVersionId(),i=Oh(a=>Promise.resolve(uJ(this._provider,e,t,a))),s=new Bf(!1);return i.then(a=>{if(this._debounceInformation.update(e,s.elapsed()),!a||!a.tokens||e.isDisposed()||e.getVersionId()!==n)return;const{provider:l,tokens:u}=a,d=this._modelService.getSemanticTokensProviderStyling(l);e.setPartialSemanticTokens(t,the(u,d,e.getLanguageId()))}).then(()=>this._removeOutstandingRequest(i),()=>this._removeOutstandingRequest(i)),i}};KL.ID=\"editor.contrib.viewportSemanticTokens\";KL=PKe([Vk(1,Oc),Vk(2,gc),Vk(3,Uu),Vk(4,jg),Vk(5,$o)],KL);vu(KL.ID,KL);var OKe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},hle=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};const MKe=ln(\"editor.wordHighlightBackground\",{dark:\"#575757B8\",light:\"#57575740\",hc:null},w(\"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),RKe=ln(\"editor.wordHighlightStrongBackground\",{dark:\"#004972B8\",light:\"#0e639c40\",hc:null},w(\"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),BKe=ln(\"editor.wordHighlightBorder\",{light:null,dark:null,hc:Bp},w(\"wordHighlightBorder\",\"Border color of a symbol during read-access, like reading a variable.\")),jKe=ln(\"editor.wordHighlightStrongBorder\",{light:null,dark:null,hc:Bp},w(\"wordHighlightStrongBorder\",\"Border color of a symbol during write-access, like writing to a variable.\")),WKe=ln(\"editorOverviewRuler.wordHighlightForeground\",{dark:\"#A0A0A0CC\",light:\"#A0A0A0CC\",hc:\"#A0A0A0CC\"},w(\"overviewRulerWordHighlightForeground\",\"Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations.\"),!0),VKe=ln(\"editorOverviewRuler.wordHighlightStrongForeground\",{dark:\"#C0A0C0CC\",light:\"#C0A0C0CC\",hc:\"#C0A0C0CC\"},w(\"overviewRulerWordHighlightStrongForeground\",\"Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations.\"),!0),aO=new Do(\"hasWordHighlights\",!1);function V_e(o,e,t,n){const i=o.ordered(e);return Cue(i.map(s=>()=>Promise.resolve(s.provideDocumentHighlights(e,t,n)).then(void 0,bh)),d_)}class H_e{constructor(e,t,n){this._model=e,this._selection=t,this._wordSeparators=n,this._wordRange=this._getCurrentWordRange(e,t),this._result=null}get result(){return this._result||(this._result=Oh(e=>this._compute(this._model,this._selection,this._wordSeparators,e))),this._result}_getCurrentWordRange(e,t){const n=e.getWordAtPosition(t.getPosition());return n?new He(t.startLineNumber,n.startColumn,t.startLineNumber,n.endColumn):null}isValid(e,t,n){const i=t.startLineNumber,s=t.startColumn,a=t.endColumn,l=this._getCurrentWordRange(e,t);let u=Boolean(this._wordRange&&this._wordRange.equalsRange(l));for(let d=0,h=n.length;!u&&d<h;d++){let p=e.getDecorationRange(n[d]);p&&p.startLineNumber===i&&p.startColumn<=s&&p.endColumn>=a&&(u=!0)}return u}cancel(){this.result.cancel()}}class HKe extends H_e{constructor(e,t,n,i){super(e,t,n),this._providers=i}_compute(e,t,n,i){return V_e(this._providers,e,t.getPosition(),i).then(s=>s||[])}}class $Ke extends H_e{constructor(e,t,n){super(e,t,n),this._selectionIsEmpty=t.isEmpty()}_compute(e,t,n,i){return Zv(250,i).then(()=>{if(!t.isEmpty())return[];const s=e.getWordAtPosition(t.getPosition());return!s||s.word.length>1e3?[]:e.findMatches(s.word,!0,!1,!0,n,!1).map(l=>({range:l.range,kind:R3.Text}))})}isValid(e,t,n){const i=t.isEmpty();return this._selectionIsEmpty!==i?!1:super.isValid(e,t,n)}}function zKe(o,e,t,n){return o.has(e)?new HKe(e,t,n,o):new $Ke(e,t,n)}oy(\"_executeDocumentHighlights\",(o,e,t)=>{const n=o.get($o);return V_e(n.documentHighlightProvider,e,t,Ll.None)});class iT{constructor(e,t,n){this.toUnhook=new fs,this.workerRequestTokenId=0,this.workerRequestCompleted=!1,this.workerRequestValue=[],this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1,this.editor=e,this.providers=t,this._hasWordHighlights=aO.bindTo(n),this._ignorePositionChangeEvent=!1,this.occurrencesHighlight=this.editor.getOption(72),this.model=this.editor.getModel(),this.toUnhook.add(e.onDidChangeCursorPosition(i=>{this._ignorePositionChangeEvent||!this.occurrencesHighlight||this._onPositionChanged(i)})),this.toUnhook.add(e.onDidChangeModelContent(i=>{this._stopAll()})),this.toUnhook.add(e.onDidChangeConfiguration(i=>{let s=this.editor.getOption(72);this.occurrencesHighlight!==s&&(this.occurrencesHighlight=s,this._stopAll())})),this._decorationIds=[],this.workerRequestTokenId=0,this.workerRequest=null,this.workerRequestCompleted=!1,this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1}hasDecorations(){return this._decorationIds.length>0}restore(){!this.occurrencesHighlight||this._run()}_getSortedHighlights(){return rw(this._decorationIds.map(e=>this.model.getDecorationRange(e)).sort(He.compareRangesUsingStarts))}moveNext(){let e=this._getSortedHighlights(),n=(e.findIndex(s=>s.containsPosition(this.editor.getPosition()))+1)%e.length,i=e[n];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(i.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(i);const s=this._getWord();if(s){const a=this.editor.getModel().getLineContent(i.startLineNumber);Jh(`${a}, ${n+1} of ${e.length} for '${s.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}moveBack(){let e=this._getSortedHighlights(),n=(e.findIndex(s=>s.containsPosition(this.editor.getPosition()))-1+e.length)%e.length,i=e[n];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(i.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(i);const s=this._getWord();if(s){const a=this.editor.getModel().getLineContent(i.startLineNumber);Jh(`${a}, ${n+1} of ${e.length} for '${s.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}_removeDecorations(){this._decorationIds.length>0&&(this._decorationIds=this.editor.deltaDecorations(this._decorationIds,[]),this._hasWordHighlights.set(!1))}_stopAll(){this._removeDecorations(),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){if(!this.occurrencesHighlight){this._stopAll();return}if(e.reason!==3){this._stopAll();return}this._run()}_getWord(){let e=this.editor.getSelection(),t=e.startLineNumber,n=e.startColumn;return this.model.getWordAtPosition({lineNumber:t,column:n})}_run(){let e=this.editor.getSelection();if(e.startLineNumber!==e.endLineNumber){this._stopAll();return}let t=e.startColumn,n=e.endColumn;const i=this._getWord();if(!i||i.startColumn>t||i.endColumn<n){this._stopAll();return}const s=this.workerRequest&&this.workerRequest.isValid(this.model,e,this._decorationIds);if(this.lastCursorPositionChangeTime=new Date().getTime(),s)this.workerRequestCompleted&&this.renderDecorationsTimer!==-1&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1,this._beginRenderDecorations());else{this._stopAll();let a=++this.workerRequestTokenId;this.workerRequestCompleted=!1,this.workerRequest=zKe(this.providers,this.model,this.editor.getSelection(),this.editor.getOption(117)),this.workerRequest.result.then(l=>{a===this.workerRequestTokenId&&(this.workerRequestCompleted=!0,this.workerRequestValue=l||[],this._beginRenderDecorations())},tl)}}_beginRenderDecorations(){let e=new Date().getTime(),t=this.lastCursorPositionChangeTime+250;e>=t?(this.renderDecorationsTimer=-1,this.renderDecorations()):this.renderDecorationsTimer=setTimeout(()=>{this.renderDecorations()},t-e)}renderDecorations(){this.renderDecorationsTimer=-1;let e=[];for(const t of this.workerRequestValue)t.range&&e.push({range:t.range,options:iT._getDecorationOptions(t.kind)});this._decorationIds=this.editor.deltaDecorations(this._decorationIds,e),this._hasWordHighlights.set(this.hasDecorations())}static _getDecorationOptions(e){return e===R3.Write?this._WRITE_OPTIONS:e===R3.Text?this._TEXT_OPTIONS:this._REGULAR_OPTIONS}dispose(){this._stopAll(),this.toUnhook.dispose()}}iT._WRITE_OPTIONS=_l.register({description:\"word-highlight-strong\",stickiness:1,className:\"wordHighlightStrong\",overviewRuler:{color:Jc(VKe),position:Ig.Center},minimap:{color:Jc(KP),position:Tg.Inline}});iT._TEXT_OPTIONS=_l.register({description:\"selection-highlight\",stickiness:1,className:\"selectionHighlight\",overviewRuler:{color:Jc(wce),position:Ig.Center},minimap:{color:Jc(KP),position:Tg.Inline}});iT._REGULAR_OPTIONS=_l.register({description:\"word-highlight\",stickiness:1,className:\"wordHighlight\",overviewRuler:{color:Jc(WKe),position:Ig.Center},minimap:{color:Jc(KP),position:Tg.Inline}});let tw=class $_e extends fr{constructor(e,t,n){super(),this.wordHighlighter=null;const i=()=>{e.hasModel()&&(this.wordHighlighter=new iT(e,n.documentHighlightProvider,t))};this._register(e.onDidChangeModel(s=>{this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),i()})),i()}static get(e){return e.getContribution($_e.ID)}saveViewState(){return!!(this.wordHighlighter&&this.wordHighlighter.hasDecorations())}moveNext(){this.wordHighlighter&&this.wordHighlighter.moveNext()}moveBack(){this.wordHighlighter&&this.wordHighlighter.moveBack()}restoreViewState(e){this.wordHighlighter&&e&&this.wordHighlighter.restore()}dispose(){this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),super.dispose()}};tw.ID=\"editor.contrib.wordHighlighter\";tw=OKe([hle(1,Xa),hle(2,$o)],tw);class z_e extends xo{constructor(e,t){super(t),this._isNext=e}run(e,t){const n=tw.get(t);!n||(this._isNext?n.moveNext():n.moveBack())}}class UKe extends z_e{constructor(){super(!0,{id:\"editor.action.wordHighlight.next\",label:w(\"wordHighlight.next.label\",\"Go to Next Symbol Highlight\"),alias:\"Go to Next Symbol Highlight\",precondition:aO,kbOpts:{kbExpr:on.editorTextFocus,primary:65,weight:100}})}}class KKe extends z_e{constructor(){super(!1,{id:\"editor.action.wordHighlight.prev\",label:w(\"wordHighlight.previous.label\",\"Go to Previous Symbol Highlight\"),alias:\"Go to Previous Symbol Highlight\",precondition:aO,kbOpts:{kbExpr:on.editorTextFocus,primary:1089,weight:100}})}}class qKe extends xo{constructor(){super({id:\"editor.action.wordHighlight.trigger\",label:w(\"wordHighlight.trigger.label\",\"Trigger Symbol Highlight\"),alias:\"Trigger Symbol Highlight\",precondition:aO.toNegated(),kbOpts:{kbExpr:on.editorTextFocus,primary:0,weight:100}})}run(e,t,n){const i=tw.get(t);!i||i.restoreViewState(!0)}}vu(tw.ID,tw);Fs(UKe);Fs(KKe);Fs(qKe);ac((o,e)=>{const t=o.getColor(yG);t&&(e.addRule(`.monaco-editor .focused .selectionHighlight { background-color: ${t}; }`),e.addRule(`.monaco-editor .selectionHighlight { background-color: ${t.transparent(.5)}; }`));const n=o.getColor(MKe);n&&e.addRule(`.monaco-editor .wordHighlight { background-color: ${n}; }`);const i=o.getColor(RKe);i&&e.addRule(`.monaco-editor .wordHighlightStrong { background-color: ${i}; }`);const s=o.getColor(KLe);s&&e.addRule(`.monaco-editor .selectionHighlight { border: 1px ${o.type===\"hc\"?\"dotted\":\"solid\"} ${s}; box-sizing: border-box; }`);const a=o.getColor(BKe);a&&e.addRule(`.monaco-editor .wordHighlight { border: 1px ${o.type===\"hc\"?\"dashed\":\"solid\"} ${a}; box-sizing: border-box; }`);const l=o.getColor(jKe);l&&e.addRule(`.monaco-editor .wordHighlightStrong { border: 1px ${o.type===\"hc\"?\"dashed\":\"solid\"} ${l}; box-sizing: border-box; }`)});class lO extends Zh{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode,this._wordNavigationType=e.wordNavigationType}runEditorCommand(e,t,n){if(!t.hasModel())return;const i=Fg(t.getOption(117)),s=t.getModel(),l=t.getSelections().map(u=>{const d=new Ii(u.positionLineNumber,u.positionColumn),h=this._move(i,s,d,this._wordNavigationType);return this._moveTo(u,h,this._inSelectionMode)});if(s.pushStackElement(),t._getViewModel().setCursorStates(\"moveWordCommand\",3,l.map(u=>Sl.fromModelSelection(u))),l.length===1){const u=new Ii(l[0].positionLineNumber,l[0].positionColumn);t.revealPosition(u,0)}}_moveTo(e,t,n){return n?new oo(e.selectionStartLineNumber,e.selectionStartColumn,t.lineNumber,t.column):new oo(t.lineNumber,t.column,t.lineNumber,t.column)}}class EC extends lO{_move(e,t,n,i){return iu.moveWordLeft(e,t,n,i)}}class TC extends lO{_move(e,t,n,i){return iu.moveWordRight(e,t,n,i)}}class GKe extends EC{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:\"cursorWordStartLeft\",precondition:void 0})}}class JKe extends EC{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:\"cursorWordEndLeft\",precondition:void 0})}}class YKe extends EC{constructor(){var e;super({inSelectionMode:!1,wordNavigationType:1,id:\"cursorWordLeft\",precondition:void 0,kbOpts:{kbExpr:co.and(on.textInputFocus,(e=co.and(i4,g9))===null||e===void 0?void 0:e.negate()),primary:2063,mac:{primary:527},weight:100}})}}class XKe extends EC{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:\"cursorWordStartLeftSelect\",precondition:void 0})}}class QKe extends EC{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:\"cursorWordEndLeftSelect\",precondition:void 0})}}class ZKe extends EC{constructor(){var e;super({inSelectionMode:!0,wordNavigationType:1,id:\"cursorWordLeftSelect\",precondition:void 0,kbOpts:{kbExpr:co.and(on.textInputFocus,(e=co.and(i4,g9))===null||e===void 0?void 0:e.negate()),primary:3087,mac:{primary:1551},weight:100}})}}class eqe extends EC{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:\"cursorWordAccessibilityLeft\",precondition:void 0})}_move(e,t,n,i){return super._move(Fg(S0.wordSeparators.defaultValue),t,n,i)}}class tqe extends EC{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:\"cursorWordAccessibilityLeftSelect\",precondition:void 0})}_move(e,t,n,i){return super._move(Fg(S0.wordSeparators.defaultValue),t,n,i)}}class nqe extends TC{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:\"cursorWordStartRight\",precondition:void 0})}}class iqe extends TC{constructor(){var e;super({inSelectionMode:!1,wordNavigationType:2,id:\"cursorWordEndRight\",precondition:void 0,kbOpts:{kbExpr:co.and(on.textInputFocus,(e=co.and(i4,g9))===null||e===void 0?void 0:e.negate()),primary:2065,mac:{primary:529},weight:100}})}}class rqe extends TC{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:\"cursorWordRight\",precondition:void 0})}}class sqe extends TC{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:\"cursorWordStartRightSelect\",precondition:void 0})}}class oqe extends TC{constructor(){var e;super({inSelectionMode:!0,wordNavigationType:2,id:\"cursorWordEndRightSelect\",precondition:void 0,kbOpts:{kbExpr:co.and(on.textInputFocus,(e=co.and(i4,g9))===null||e===void 0?void 0:e.negate()),primary:3089,mac:{primary:1553},weight:100}})}}class aqe extends TC{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:\"cursorWordRightSelect\",precondition:void 0})}}class lqe extends TC{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:\"cursorWordAccessibilityRight\",precondition:void 0})}_move(e,t,n,i){return super._move(Fg(S0.wordSeparators.defaultValue),t,n,i)}}class uqe extends TC{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:\"cursorWordAccessibilityRightSelect\",precondition:void 0})}_move(e,t,n,i){return super._move(Fg(S0.wordSeparators.defaultValue),t,n,i)}}class uO extends Zh{constructor(e){super(e),this._whitespaceHeuristics=e.whitespaceHeuristics,this._wordNavigationType=e.wordNavigationType}runEditorCommand(e,t,n){const i=e.get(Dp);if(!t.hasModel())return;const s=Fg(t.getOption(117)),a=t.getModel(),l=t.getSelections(),u=t.getOption(5),d=t.getOption(8),h=i.getLanguageConfiguration(a.getLanguageId()).getAutoClosingPairs(),p=t._getViewModel(),g=l.map(y=>{const D=this._delete({wordSeparators:s,model:a,selection:y,whitespaceHeuristics:this._whitespaceHeuristics,autoClosingDelete:t.getOption(6),autoClosingBrackets:u,autoClosingQuotes:d,autoClosingPairs:h,autoClosedCharacters:p.getCursorAutoClosedCharacters()},this._wordNavigationType);return new Kh(D,\"\")});t.pushUndoStop(),t.executeCommands(this.id,g),t.pushUndoStop()}}class xY extends uO{_delete(e,t){let n=iu.deleteWordLeft(e,t);return n||new He(1,1,1,1)}}class EY extends uO{_delete(e,t){let n=iu.deleteWordRight(e,t);if(n)return n;const i=e.model.getLineCount(),s=e.model.getLineMaxColumn(i);return new He(i,s,i,s)}}class cqe extends xY{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:\"deleteWordStartLeft\",precondition:on.writable})}}class dqe extends xY{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:\"deleteWordEndLeft\",precondition:on.writable})}}class hqe extends xY{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:\"deleteWordLeft\",precondition:on.writable,kbOpts:{kbExpr:on.textInputFocus,primary:2049,mac:{primary:513},weight:100}})}}class pqe extends EY{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:\"deleteWordStartRight\",precondition:on.writable})}}class fqe extends EY{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:\"deleteWordEndRight\",precondition:on.writable})}}class _qe extends EY{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:\"deleteWordRight\",precondition:on.writable,kbOpts:{kbExpr:on.textInputFocus,primary:2068,mac:{primary:532},weight:100}})}}class gqe extends xo{constructor(){super({id:\"deleteInsideWord\",precondition:on.writable,label:w(\"deleteInsideWord\",\"Delete Word\"),alias:\"Delete Word\"})}run(e,t,n){if(!t.hasModel())return;const i=Fg(t.getOption(117)),s=t.getModel(),l=t.getSelections().map(u=>{const d=iu.deleteInsideWord(i,s,u);return new Kh(d,\"\")});t.pushUndoStop(),t.executeCommands(this.id,l),t.pushUndoStop()}}Ns(new GKe);Ns(new JKe);Ns(new YKe);Ns(new XKe);Ns(new QKe);Ns(new ZKe);Ns(new nqe);Ns(new iqe);Ns(new rqe);Ns(new sqe);Ns(new oqe);Ns(new aqe);Ns(new eqe);Ns(new tqe);Ns(new lqe);Ns(new uqe);Ns(new cqe);Ns(new dqe);Ns(new hqe);Ns(new pqe);Ns(new fqe);Ns(new _qe);Fs(gqe);class mqe extends uO{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:\"deleteWordPartLeft\",precondition:on.writable,kbOpts:{kbExpr:on.textInputFocus,primary:0,mac:{primary:769},weight:100}})}_delete(e,t){let n=XP.deleteWordPartLeft(e);return n||new He(1,1,1,1)}}class yqe extends uO{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:\"deleteWordPartRight\",precondition:on.writable,kbOpts:{kbExpr:on.textInputFocus,primary:0,mac:{primary:788},weight:100}})}_delete(e,t){let n=XP.deleteWordPartRight(e);if(n)return n;const i=e.model.getLineCount(),s=e.model.getLineMaxColumn(i);return new He(i,s,i,s)}}class U_e extends lO{_move(e,t,n,i){return XP.moveWordPartLeft(e,t,n)}}class bqe extends U_e{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:\"cursorWordPartLeft\",precondition:void 0,kbOpts:{kbExpr:on.textInputFocus,primary:0,mac:{primary:783},weight:100}})}}tu.registerCommandAlias(\"cursorWordPartStartLeft\",\"cursorWordPartLeft\");class vqe extends U_e{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:\"cursorWordPartLeftSelect\",precondition:void 0,kbOpts:{kbExpr:on.textInputFocus,primary:0,mac:{primary:1807},weight:100}})}}tu.registerCommandAlias(\"cursorWordPartStartLeftSelect\",\"cursorWordPartLeftSelect\");class K_e extends lO{_move(e,t,n,i){return XP.moveWordPartRight(e,t,n)}}class Cqe extends K_e{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:\"cursorWordPartRight\",precondition:void 0,kbOpts:{kbExpr:on.textInputFocus,primary:0,mac:{primary:785},weight:100}})}}class Dqe extends K_e{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:\"cursorWordPartRightSelect\",precondition:void 0,kbOpts:{kbExpr:on.textInputFocus,primary:0,mac:{primary:1809},weight:100}})}}Ns(new mqe);Ns(new yqe);Ns(new bqe);Ns(new vqe);Ns(new Cqe);Ns(new Dqe);var q_e=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},E8=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};const G_e=new Do(\"accessibilityHelpWidgetVisible\",!1);let nw=class J_e extends fr{constructor(e,t){super(),this._editor=e,this._widget=this._register(t.createInstance(ME,this._editor))}static get(e){return e.getContribution(J_e.ID)}show(){this._widget.show()}hide(){this._widget.hide()}};nw.ID=\"editor.contrib.accessibilityHelpController\";nw=q_e([E8(1,Nl)],nw);function wqe(o,e){return!o||o.length===0?Ld.noSelection:o.length===1?e?wg(Ld.singleSelectionRange,o[0].positionLineNumber,o[0].positionColumn,e):wg(Ld.singleSelection,o[0].positionLineNumber,o[0].positionColumn):e?wg(Ld.multiSelectionRange,o.length,e):o.length>0?wg(Ld.multiSelection,o.length):\"\"}let ME=class T8 extends Lm{constructor(e,t,n,i){super(),this._contextKeyService=t,this._keybindingService=n,this._openerService=i,this._editor=e,this._isVisibleKey=G_e.bindTo(this._contextKeyService),this._domNode=ru(document.createElement(\"div\")),this._domNode.setClassName(\"accessibilityHelpWidget\"),this._domNode.setDisplay(\"none\"),this._domNode.setAttribute(\"role\",\"dialog\"),this._domNode.setAttribute(\"aria-hidden\",\"true\"),this._contentDomNode=ru(document.createElement(\"div\")),this._contentDomNode.setAttribute(\"role\",\"document\"),this._domNode.appendChild(this._contentDomNode),this._isVisible=!1,this._register(this._editor.onDidLayoutChange(()=>{this._isVisible&&this._layout()})),this._register(Fh(this._contentDomNode.domNode,\"keydown\",s=>{if(!!this._isVisible&&(s.equals(2083)&&(Jh(Ld.emergencyConfOn),this._editor.updateOptions({accessibilitySupport:\"on\"}),nh(this._contentDomNode.domNode),this._buildContent(),this._contentDomNode.domNode.focus(),s.preventDefault(),s.stopPropagation()),s.equals(2086))){Jh(Ld.openingDocs);let a=this._editor.getRawOptions().accessibilityHelpUrl;typeof a==\"undefined\"&&(a=\"https://go.microsoft.com/fwlink/?linkid=852450\"),this._openerService.open(wa.parse(a)),s.preventDefault(),s.stopPropagation()}})),this.onblur(this._contentDomNode.domNode,()=>{this.hide()}),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return T8.ID}getDomNode(){return this._domNode.domNode}getPosition(){return{preference:null}}show(){this._isVisible||(this._isVisible=!0,this._isVisibleKey.set(!0),this._layout(),this._domNode.setDisplay(\"block\"),this._domNode.setAttribute(\"aria-hidden\",\"false\"),this._contentDomNode.domNode.tabIndex=0,this._buildContent(),this._contentDomNode.domNode.focus())}_descriptionForCommand(e,t,n){const i=this._keybindingService.lookupKeybinding(e);return i?wg(t,i.getAriaLabel()):wg(n,e)}_buildContent(){const e=this._editor.getOptions(),t=this._editor.getSelections();let n=0;if(t){const l=this._editor.getModel();l&&t.forEach(u=>{n+=l.getValueLengthInRange(u)})}let i=wqe(t,n);e.get(54)?e.get(81)?i+=Ld.readonlyDiffEditor:i+=Ld.editableDiffEditor:e.get(81)?i+=Ld.readonlyEditor:i+=Ld.editableEditor;const s=El?Ld.changeConfigToOnMac:Ld.changeConfigToOnWinLinux;switch(e.get(2)){case 0:i+=`\n\n - `+s;break;case 2:i+=`\n\n - `+Ld.auto_on;break;case 1:i+=`\n\n - `+Ld.auto_off,i+=\" \"+s;break}e.get(130)?i+=`\n\n - `+this._descriptionForCommand(FE.ID,Ld.tabFocusModeOnMsg,Ld.tabFocusModeOnMsgNoKb):i+=`\n\n - `+this._descriptionForCommand(FE.ID,Ld.tabFocusModeOffMsg,Ld.tabFocusModeOffMsgNoKb);const a=El?Ld.openDocMac:Ld.openDocWinLinux;i+=`\n\n - `+a,i+=`\n\n`+Ld.outroMsg,this._contentDomNode.domNode.appendChild(lhe(i)),this._contentDomNode.domNode.setAttribute(\"aria-label\",i)}hide(){!this._isVisible||(this._isVisible=!1,this._isVisibleKey.reset(),this._domNode.setDisplay(\"none\"),this._domNode.setAttribute(\"aria-hidden\",\"true\"),this._contentDomNode.domNode.tabIndex=-1,nh(this._contentDomNode.domNode),this._editor.focus())}_layout(){const e=this._editor.getLayoutInfo(),t=Math.max(5,Math.min(T8.WIDTH,e.width-40)),n=Math.max(5,Math.min(T8.HEIGHT,e.height-40));this._domNode.setWidth(t),this._domNode.setHeight(n);const i=Math.round((e.height-n)/2);this._domNode.setTop(i);const s=Math.round((e.width-t)/2);this._domNode.setLeft(s)}};ME.ID=\"editor.contrib.accessibilityHelpWidget\";ME.WIDTH=500;ME.HEIGHT=300;ME=q_e([E8(1,Xa),E8(2,Xc),E8(3,Wg)],ME);class Sqe extends xo{constructor(){super({id:\"editor.action.showAccessibilityHelp\",label:Ld.showAccessibilityHelpAction,alias:\"Show Accessibility Help\",precondition:void 0,kbOpts:{primary:571,weight:100,linux:{primary:1595,secondary:[571]}}})}run(e,t){const n=nw.get(t);n&&n.show()}}vu(nw.ID,nw);Fs(Sqe);const xqe=Zh.bindToContribution(nw.get);Ns(new xqe({id:\"closeAccessibilityHelp\",precondition:G_e,handler:o=>o.hide(),kbOpts:{weight:100+100,kbExpr:on.focus,primary:9,secondary:[1033]}}));ac((o,e)=>{const t=o.getColor(ff);t&&e.addRule(`.monaco-editor .accessibilityHelpWidget { background-color: ${t}; }`);const n=o.getColor(bb);n&&e.addRule(`.monaco-editor .accessibilityHelpWidget { color: ${n}; }`);const i=o.getColor(rC);i&&e.addRule(`.monaco-editor .accessibilityHelpWidget { box-shadow: 0 2px 8px ${i}; }`);const s=o.getColor(Sc);s&&e.addRule(`.monaco-editor .accessibilityHelpWidget { border: 2px solid ${s}; }`)});class uq extends fr{constructor(e){super(),this.editor=e,this.widget=null,m0&&(this._register(e.onDidChangeConfiguration(()=>this.update())),this.update())}update(){const e=!this.editor.getOption(81);!this.widget&&e?this.widget=new cO(this.editor):this.widget&&!e&&(this.widget.dispose(),this.widget=null)}dispose(){super.dispose(),this.widget&&(this.widget.dispose(),this.widget=null)}}uq.ID=\"editor.contrib.iPadShowKeyboard\";class cO extends fr{constructor(e){super(),this.editor=e,this._domNode=document.createElement(\"textarea\"),this._domNode.className=\"iPadShowKeyboard\",this._register(hs(this._domNode,\"touchstart\",t=>{this.editor.focus()})),this._register(hs(this._domNode,\"focus\",t=>{this.editor.focus()})),this.editor.addOverlayWidget(this)}dispose(){this.editor.removeOverlayWidget(this),super.dispose()}getId(){return cO.ID}getDomNode(){return this._domNode}getPosition(){return{preference:1}}}cO.ID=\"editor.contrib.ShowKeyboardWidget\";vu(uq.ID,uq);var Eqe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},ple=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let RE=class Y_e extends fr{constructor(e,t,n){super(),this._editor=e,this._languageService=n,this._widget=null,this._register(this._editor.onDidChangeModel(i=>this.stop())),this._register(this._editor.onDidChangeModelLanguage(i=>this.stop())),this._register(Ic.onDidChange(i=>this.stop())),this._register(this._editor.onKeyUp(i=>i.keyCode===9&&this.stop()))}static get(e){return e.getContribution(Y_e.ID)}dispose(){this.stop(),super.dispose()}launch(){this._widget||!this._editor.hasModel()||(this._widget=new dO(this._editor,this._languageService))}stop(){this._widget&&(this._widget.dispose(),this._widget=null)}};RE.ID=\"editor.contrib.inspectTokens\";RE=Eqe([ple(1,Z_),ple(2,Pc)],RE);class Tqe extends xo{constructor(){super({id:\"editor.action.inspectTokens\",label:Xz.inspectTokensAction,alias:\"Developer: Inspect Tokens\",precondition:void 0})}run(e,t){const n=RE.get(t);n&&n.launch()}}function Aqe(o){let e=\"\";for(let t=0,n=o.length;t<n;t++){const i=o.charCodeAt(t);switch(i){case 9:e+=\"\\u2192\";break;case 32:e+=\"\\xB7\";break;default:e+=String.fromCharCode(i)}}return e}function kqe(o,e){const t=Ic.get(e);if(t)return t;const n=o.encodeLanguageId(e);return{getInitialState:()=>iE,tokenize:(i,s,a)=>bue(e,a),tokenizeEncoded:(i,s,a)=>Kq(n,a)}}class dO extends fr{constructor(e,t){super(),this.allowEditorOverflow=!0,this._editor=e,this._languageService=t,this._model=this._editor.getModel(),this._domNode=document.createElement(\"div\"),this._domNode.className=\"tokens-inspect-widget\",this._tokenizationSupport=kqe(this._languageService.languageIdCodec,this._model.getLanguageId()),this._compute(this._editor.getPosition()),this._register(this._editor.onDidChangeCursorPosition(n=>this._compute(this._editor.getPosition()))),this._editor.addContentWidget(this)}dispose(){this._editor.removeContentWidget(this),super.dispose()}getId(){return dO._ID}_compute(e){const t=this._getTokensAtLine(e.lineNumber);let n=0;for(let u=t.tokens1.length-1;u>=0;u--){const d=t.tokens1[u];if(e.column-1>=d.offset){n=u;break}}let i=0;for(let u=t.tokens2.length>>>1;u>=0;u--)if(e.column-1>=t.tokens2[u<<1]){i=u;break}const s=this._model.getLineContent(e.lineNumber);let a=\"\";if(n<t.tokens1.length){const u=t.tokens1[n].offset,d=n+1<t.tokens1.length?t.tokens1[n+1].offset:s.length;a=s.substring(u,d)}tC(this._domNode,ls(\"h2.tm-token\",void 0,Aqe(a),ls(\"span.tm-token-length\",void 0,`${a.length} ${a.length===1?\"char\":\"chars\"}`))),Jr(this._domNode,ls(\"hr.tokens-inspect-separator\",{style:\"clear:both\"}));const l=(i<<1)+1<t.tokens2.length?this._decodeMetadata(t.tokens2[(i<<1)+1]):null;Jr(this._domNode,ls(\"table.tm-metadata-table\",void 0,ls(\"tbody\",void 0,ls(\"tr\",void 0,ls(\"td.tm-metadata-key\",void 0,\"language\"),ls(\"td.tm-metadata-value\",void 0,`${l?l.languageId:\"-?-\"}`)),ls(\"tr\",void 0,ls(\"td.tm-metadata-key\",void 0,\"token type\"),ls(\"td.tm-metadata-value\",void 0,`${l?this._tokenTypeToString(l.tokenType):\"-?-\"}`)),ls(\"tr\",void 0,ls(\"td.tm-metadata-key\",void 0,\"font style\"),ls(\"td.tm-metadata-value\",void 0,`${l?this._fontStyleToString(l.fontStyle):\"-?-\"}`)),ls(\"tr\",void 0,ls(\"td.tm-metadata-key\",void 0,\"foreground\"),ls(\"td.tm-metadata-value\",void 0,`${l?Xi.Format.CSS.formatHex(l.foreground):\"-?-\"}`)),ls(\"tr\",void 0,ls(\"td.tm-metadata-key\",void 0,\"background\"),ls(\"td.tm-metadata-value\",void 0,`${l?Xi.Format.CSS.formatHex(l.background):\"-?-\"}`))))),Jr(this._domNode,ls(\"hr.tokens-inspect-separator\")),n<t.tokens1.length&&Jr(this._domNode,ls(\"span.tm-token-type\",void 0,t.tokens1[n].type)),this._editor.layoutContentWidget(this)}_decodeMetadata(e){const t=Ic.getColorMap(),n=yp.getLanguageId(e),i=yp.getTokenType(e),s=yp.getFontStyle(e),a=yp.getForeground(e),l=yp.getBackground(e);return{languageId:this._languageService.languageIdCodec.decodeLanguageId(n),tokenType:i,fontStyle:s,foreground:t[a],background:t[l]}}_tokenTypeToString(e){switch(e){case 0:return\"Other\";case 1:return\"Comment\";case 2:return\"String\";case 3:return\"RegEx\";default:return\"??\"}}_fontStyleToString(e){let t=\"\";return e&1&&(t+=\"italic \"),e&2&&(t+=\"bold \"),e&4&&(t+=\"underline \"),e&8&&(t+=\"strikethrough \"),t.length===0&&(t=\"---\"),t}_getTokensAtLine(e){const t=this._getStateBeforeLine(e),n=this._tokenizationSupport.tokenize(this._model.getLineContent(e),!0,t),i=this._tokenizationSupport.tokenizeEncoded(this._model.getLineContent(e),!0,t);return{startState:t,tokens1:n.tokens,tokens2:i.tokens,endState:n.endState}}_getStateBeforeLine(e){let t=this._tokenizationSupport.getInitialState();for(let n=1;n<e;n++)t=this._tokenizationSupport.tokenize(this._model.getLineContent(n),!0,t).endState;return t}getDomNode(){return this._domNode}getPosition(){return{position:this._editor.getPosition(),preference:[2,1]}}}dO._ID=\"editor.contrib.inspectTokensWidget\";vu(RE.ID,RE);Fs(Tqe);ac((o,e)=>{const t=o.getColor(vG);if(t){const s=o.type===wm.HIGH_CONTRAST?2:1;e.addRule(`.monaco-editor .tokens-inspect-widget { border: ${s}px solid ${t}; }`),e.addRule(`.monaco-editor .tokens-inspect-widget .tokens-inspect-separator { background-color: ${t}; }`)}const n=o.getColor(kD);n&&e.addRule(`.monaco-editor .tokens-inspect-widget { background-color: ${n}; }`);const i=o.getColor(bG);i&&e.addRule(`.monaco-editor .tokens-inspect-widget { color: ${i}; }`)});var Lqe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},Nqe=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let hP=class A8{constructor(e){this.quickInputService=e,this.registry=wd.as(vw.Quickaccess)}provide(e){const t=new fs;t.add(e.onDidAccept(()=>{const[s]=e.selectedItems;s&&this.quickInputService.quickAccess.show(s.prefix,{preserveValue:!0})})),t.add(e.onDidChangeValue(s=>{const a=this.registry.getQuickAccessProvider(s.substr(A8.PREFIX.length));a&&a.prefix&&a.prefix!==A8.PREFIX&&this.quickInputService.quickAccess.show(a.prefix,{preserveValue:!0})}));const{editorProviders:n,globalProviders:i}=this.getQuickAccessProviders();return e.items=n.length===0||i.length===0?[...n.length===0?i:n]:[{label:w(\"globalCommands\",\"global commands\"),type:\"separator\"},...i,{label:w(\"editorCommands\",\"editor commands\"),type:\"separator\"},...n],t}getQuickAccessProviders(){const e=[],t=[];for(const n of this.registry.getQuickAccessProviders().sort((i,s)=>i.prefix.localeCompare(s.prefix)))if(n.prefix!==A8.PREFIX)for(const i of n.helpEntries){const s=i.prefix||n.prefix,a=s||\"\\u2026\";(i.needsEditor?t:e).push({prefix:s,label:a,ariaLabel:w(\"helpPickAriaLabel\",\"{0}, {1}\",a,i.description),description:i.description})}return{editorProviders:t,globalProviders:e}}};hP.PREFIX=\"?\";hP=Lqe([Nqe(0,Nb)],hP);wd.as(vw.Quickaccess).registerQuickAccessProvider({ctor:hP,prefix:\"\",helpEntries:[{description:Qz.helpQuickAccessActionLabel,needsEditor:!0}]});class X_e{constructor(e){this.options=e,this.rangeHighlightDecorationId=void 0}provide(e,t){var n;const i=new fs;e.canAcceptInBackground=!!(!((n=this.options)===null||n===void 0)&&n.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;const s=i.add(new _f);return s.value=this.doProvide(e,t),i.add(this.onDidActiveTextEditorControlChange(()=>{s.value=void 0,s.value=this.doProvide(e,t)})),i}doProvide(e,t){const n=new fs,i=this.activeTextEditorControl;if(i&&this.canProvideWithTextEditor(i)){const s={editor:i},a=Yhe(i);if(a){let l=u_(i.saveViewState());n.add(a.onDidChangeCursorPosition(()=>{l=u_(i.saveViewState())})),s.restoreViewState=()=>{l&&i===this.activeTextEditorControl&&i.restoreViewState(l)},n.add(wb(t.onCancellationRequested)(()=>{var u;return(u=s.restoreViewState)===null||u===void 0?void 0:u.call(s)}))}n.add(wl(()=>this.clearDecorations(i))),n.add(this.provideWithTextEditor(s,e,t))}else n.add(this.provideWithoutTextEditor(e,t));return n}canProvideWithTextEditor(e){return!0}gotoLocation({editor:e},t){e.setSelection(t.range),e.revealRangeInCenter(t.range,0),t.preserveFocus||e.focus()}getModel(e){var t;return Jhe(e)?(t=e.getModel())===null||t===void 0?void 0:t.modified:e.getModel()}addDecorations(e,t){e.changeDecorations(n=>{const i=[];this.rangeHighlightDecorationId&&(i.push(this.rangeHighlightDecorationId.overviewRulerDecorationId),i.push(this.rangeHighlightDecorationId.rangeHighlightId),this.rangeHighlightDecorationId=void 0);const s=[{range:t,options:{description:\"quick-access-range-highlight\",className:\"rangeHighlight\",isWholeLine:!0}},{range:t,options:{description:\"quick-access-range-highlight-overview\",overviewRuler:{color:Jc(WNe),position:Ig.Full}}}],[a,l]=n.deltaDecorations(i,s);this.rangeHighlightDecorationId={rangeHighlightId:a,overviewRulerDecorationId:l}})}clearDecorations(e){const t=this.rangeHighlightDecorationId;t&&(e.changeDecorations(n=>{n.deltaDecorations([t.overviewRulerDecorationId,t.rangeHighlightId],[])}),this.rangeHighlightDecorationId=void 0)}}class hO extends X_e{constructor(){super({canAcceptInBackground:!0})}provideWithoutTextEditor(e){const t=w(\"cannotRunGotoLine\",\"Open a text editor first to go to a line.\");return e.items=[{label:t}],e.ariaLabel=t,fr.None}provideWithTextEditor(e,t,n){const i=e.editor,s=new fs;s.add(t.onDidAccept(u=>{const[d]=t.selectedItems;if(d){if(!this.isValidLineNumber(i,d.lineNumber))return;this.gotoLocation(e,{range:this.toRange(d.lineNumber,d.column),keyMods:t.keyMods,preserveFocus:u.inBackground}),u.inBackground||t.hide()}}));const a=()=>{const u=this.parsePosition(i,t.value.trim().substr(hO.PREFIX.length)),d=this.getPickLabel(i,u.lineNumber,u.column);if(t.items=[{lineNumber:u.lineNumber,column:u.column,label:d}],t.ariaLabel=d,!this.isValidLineNumber(i,u.lineNumber)){this.clearDecorations(i);return}const h=this.toRange(u.lineNumber,u.column);i.revealRangeInCenter(h,0),this.addDecorations(i,h)};a(),s.add(t.onDidChangeValue(()=>a()));const l=Yhe(i);return l&&l.getOptions().get(60).renderType===2&&(l.updateOptions({lineNumbers:\"on\"}),s.add(wl(()=>l.updateOptions({lineNumbers:\"relative\"})))),s}toRange(e=1,t=1){return{startLineNumber:e,startColumn:t,endLineNumber:e,endColumn:t}}parsePosition(e,t){const n=t.split(/,|:|#/).map(s=>parseInt(s,10)).filter(s=>!isNaN(s)),i=this.lineCount(e)+1;return{lineNumber:n[0]>0?n[0]:i+n[0],column:n[1]}}getPickLabel(e,t,n){if(this.isValidLineNumber(e,t))return this.isValidColumn(e,t,n)?w(\"gotoLineColumnLabel\",\"Go to line {0} and character {1}.\",t,n):w(\"gotoLineLabel\",\"Go to line {0}.\",t);const i=e.getPosition()||{lineNumber:1,column:1},s=this.lineCount(e);return s>1?w(\"gotoLineLabelEmptyWithLimit\",\"Current Line: {0}, Character: {1}. Type a line number between 1 and {2} to navigate to.\",i.lineNumber,i.column,s):w(\"gotoLineLabelEmpty\",\"Current Line: {0}, Character: {1}. Type a line number to navigate to.\",i.lineNumber,i.column)}isValidLineNumber(e,t){return!t||typeof t!=\"number\"?!1:t>0&&t<=this.lineCount(e)}isValidColumn(e,t,n){if(!n||typeof n!=\"number\")return!1;const i=this.getModel(e);if(!i)return!1;const s={lineNumber:t,column:n};return i.validatePosition(s).equals(s)}lineCount(e){var t,n;return(n=(t=this.getModel(e))===null||t===void 0?void 0:t.getLineCount())!==null&&n!==void 0?n:0}}hO.PREFIX=\":\";var Iqe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},Fqe=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let qL=class extends hO{constructor(e){super(),this.editorService=e,this.onDidActiveTextEditorControlChange=Xo.None}get activeTextEditorControl(){return u_(this.editorService.getFocusedCodeEditor())}};qL=Iqe([Fqe(0,Eu)],qL);wd.as(vw.Quickaccess).registerQuickAccessProvider({ctor:qL,prefix:qL.PREFIX,helpEntries:[{description:L7.gotoLineActionLabel,needsEditor:!0}]});class Pqe extends xo{constructor(){super({id:\"editor.action.gotoLine\",label:L7.gotoLineActionLabel,alias:\"Go to Line/Column...\",precondition:void 0,kbOpts:{kbExpr:on.focus,primary:2085,mac:{primary:293},weight:100}})}run(e){e.get(Nb).quickAccess.show(qL.PREFIX)}}Fs(Pqe);const Q_e=[void 0,[]];function JH(o,e,t=0,n=0){const i=e;return i.values&&i.values.length>1?Oqe(o,i.values,t,n):Z_e(o,e,t,n)}function Oqe(o,e,t,n){let i=0;const s=[];for(const a of e){const[l,u]=Z_e(o,a,t,n);if(typeof l!=\"number\")return Q_e;i+=l,s.push(...u)}return[i,Mqe(s)]}function Z_e(o,e,t,n){const i=mE(e.original,e.originalLowercase,t,o,o.toLowerCase(),n,!0);return i?[i[0],u9(i)]:Q_e}Object.freeze({score:0});function Mqe(o){const e=o.sort((i,s)=>i.start-s.start),t=[];let n;for(const i of e)!n||!Rqe(n,i)?(n=i,t.push(i)):(n.start=Math.min(n.start,i.start),n.end=Math.max(n.end,i.end));return t}function Rqe(o,e){return!(o.end<e.start||e.end<o.start)}function fle(o){return o.startsWith('\"')&&o.endsWith('\"')}const ege=\" \";function cq(o){typeof o!=\"string\"&&(o=\"\");const e=o.toLowerCase(),{pathNormalized:t,normalized:n,normalizedLowercase:i}=_le(o),s=t.indexOf(j1)>=0,a=fle(o);let l;const u=o.split(ege);if(u.length>1)for(const d of u){const h=fle(d),{pathNormalized:p,normalized:g,normalizedLowercase:y}=_le(d);g&&(l||(l=[]),l.push({original:d,originalLowercase:d.toLowerCase(),pathNormalized:p,normalized:g,normalizedLowercase:y,expectContiguousMatch:h}))}return{original:o,originalLowercase:e,pathNormalized:t,normalized:n,normalizedLowercase:i,values:l,containsPathSeparator:s,expectContiguousMatch:a}}function _le(o){let e;Ph?e=o.replace(/\\//g,j1):e=o.replace(/\\\\/g,j1);const t=sAe(e).replace(/\\s|\"/g,\"\");return{pathNormalized:e,normalized:t,normalizedLowercase:t.toLowerCase()}}function gle(o){return Array.isArray(o)?cq(o.map(e=>e.original).join(ege)):cq(o.original)}var Bqe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},mle=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},Hk=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};let Em=class dq extends X_e{constructor(e,t,n=Object.create(null)){super(n),this._languageFeaturesService=e,this._outlineModelService=t,this.options=n,this.options.canAcceptInBackground=!0}provideWithoutTextEditor(e){return this.provideLabelPick(e,w(\"cannotRunGotoSymbolWithoutEditor\",\"To go to a symbol, first open a text editor with symbol information.\")),fr.None}provideWithTextEditor(e,t,n){const i=e.editor,s=this.getModel(i);return s?this._languageFeaturesService.documentSymbolProvider.has(s)?this.doProvideWithEditorSymbols(e,s,t,n):this.doProvideWithoutEditorSymbols(e,s,t,n):fr.None}doProvideWithoutEditorSymbols(e,t,n,i){const s=new fs;return this.provideLabelPick(n,w(\"cannotRunGotoSymbolWithoutSymbolProvider\",\"The active text editor does not provide symbol information.\")),Hk(this,void 0,void 0,function*(){!(yield this.waitForLanguageSymbolRegistry(t,s))||i.isCancellationRequested||s.add(this.doProvideWithEditorSymbols(e,t,n,i))}),s}provideLabelPick(e,t){e.items=[{label:t,index:0,kind:14}],e.ariaLabel=t}waitForLanguageSymbolRegistry(e,t){return Hk(this,void 0,void 0,function*(){if(this._languageFeaturesService.documentSymbolProvider.has(e))return!0;const n=new Gq,i=t.add(this._languageFeaturesService.documentSymbolProvider.onDidChange(()=>{this._languageFeaturesService.documentSymbolProvider.has(e)&&(i.dispose(),n.complete(!0))}));return t.add(wl(()=>n.complete(!1))),n.p})}doProvideWithEditorSymbols(e,t,n,i){const s=e.editor,a=new fs;a.add(n.onDidAccept(p=>{const[g]=n.selectedItems;g&&g.range&&(this.gotoLocation(e,{range:g.range.selection,keyMods:n.keyMods,preserveFocus:p.inBackground}),p.inBackground||n.hide())})),a.add(n.onDidTriggerItemButton(({item:p})=>{p&&p.range&&(this.gotoLocation(e,{range:p.range.selection,keyMods:n.keyMods,forceSideBySide:!0}),n.hide())}));const l=this.getDocumentSymbols(t,i);let u;const d=()=>Hk(this,void 0,void 0,function*(){u==null||u.dispose(!0),n.busy=!1,u=new Xh(i),n.busy=!0;try{const p=cq(n.value.substr(dq.PREFIX.length).trim()),g=yield this.doGetSymbolPicks(l,p,void 0,u.token);if(i.isCancellationRequested)return;g.length>0?n.items=g:p.original.length>0?this.provideLabelPick(n,w(\"noMatchingSymbolResults\",\"No matching editor symbols\")):this.provideLabelPick(n,w(\"noSymbolResults\",\"No editor symbols\"))}finally{i.isCancellationRequested||(n.busy=!1)}});a.add(n.onDidChangeValue(()=>d())),d();let h=!0;return a.add(n.onDidChangeActive(()=>{const[p]=n.activeItems;if(p&&p.range){if(h){h=!1;return}s.revealRangeInCenter(p.range.selection,0),this.addDecorations(s,p.range.decoration)}})),a}doGetSymbolPicks(e,t,n,i){return Hk(this,void 0,void 0,function*(){const s=yield e;if(i.isCancellationRequested)return[];const a=t.original.indexOf(dq.SCOPE_PREFIX)===0,l=a?1:0;let u,d;t.values&&t.values.length>1?(u=gle(t.values[0]),d=gle(t.values.slice(1))):u=t;const h=[];for(let y=0;y<s.length;y++){const D=s[y],T=iAe(D.name),k=`$(${h$.toIcon(D.kind).id}) ${T}`,I=k.length-T.length;let F=D.containerName;n!=null&&n.extraContainerLabel&&(F?F=`${n.extraContainerLabel} \\u2022 ${F}`:F=n.extraContainerLabel);let q,re,Ie,mt;if(t.original.length>l){let Ge=!1;if(u!==t&&([q,re]=JH(k,Object.assign(Object.assign({},t),{values:void 0}),l,I),typeof q==\"number\"&&(Ge=!0)),typeof q!=\"number\"&&([q,re]=JH(k,u,l,I),typeof q!=\"number\"))continue;if(!Ge&&d){if(F&&d.original.length>0&&([Ie,mt]=JH(F,d)),typeof Ie!=\"number\")continue;typeof q==\"number\"&&(q+=Ie)}}const Le=D.tags&&D.tags.indexOf(1)>=0;h.push({index:y,kind:D.kind,score:q,label:k,ariaLabel:T,description:F,highlights:Le?void 0:{label:re,description:mt},range:{selection:He.collapseToStart(D.selectionRange),decoration:D.range},strikethrough:Le,buttons:(()=>{var Ge,qt;const gi=!((Ge=this.options)===null||Ge===void 0)&&Ge.openSideBySideDirection?(qt=this.options)===null||qt===void 0?void 0:qt.openSideBySideDirection():void 0;if(!!gi)return[{iconClass:gi===\"right\"?E.splitHorizontal.classNames:E.splitVertical.classNames,tooltip:gi===\"right\"?w(\"openToSide\",\"Open to the Side\"):w(\"openToBottom\",\"Open to the Bottom\")}]})()})}const p=h.sort((y,D)=>a?this.compareByKindAndScore(y,D):this.compareByScore(y,D));let g=[];if(a){let k=function(){D&&typeof y==\"number\"&&T>0&&(D.label=wg(XH[y]||YH,T))},y,D,T=0;for(const I of p)y!==I.kind?(k(),y=I.kind,T=1,D={type:\"separator\"},g.push(D)):T++,g.push(I);k()}else p.length>0&&(g=[{label:w(\"symbols\",\"symbols ({0})\",h.length),type:\"separator\"},...p]);return g})}compareByScore(e,t){if(typeof e.score!=\"number\"&&typeof t.score==\"number\")return 1;if(typeof e.score==\"number\"&&typeof t.score!=\"number\")return-1;if(typeof e.score==\"number\"&&typeof t.score==\"number\"){if(e.score>t.score)return-1;if(e.score<t.score)return 1}return e.index<t.index?-1:e.index>t.index?1:0}compareByKindAndScore(e,t){const n=XH[e.kind]||YH,i=XH[t.kind]||YH,s=n.localeCompare(i);return s===0?this.compareByScore(e,t):s}getDocumentSymbols(e,t){return Hk(this,void 0,void 0,function*(){const n=yield this._outlineModelService.getOrCreate(e,t);return t.isCancellationRequested?[]:n.asListOfDocumentSymbols()})}};Em.PREFIX=\"@\";Em.SCOPE_PREFIX=\":\";Em.PREFIX_BY_CATEGORY=`${Em.PREFIX}${Em.SCOPE_PREFIX}`;Em=Bqe([mle(0,$o),mle(1,q9)],Em);const YH=w(\"property\",\"properties ({0})\"),XH={[5]:w(\"method\",\"methods ({0})\"),[11]:w(\"function\",\"functions ({0})\"),[8]:w(\"_constructor\",\"constructors ({0})\"),[12]:w(\"variable\",\"variables ({0})\"),[4]:w(\"class\",\"classes ({0})\"),[22]:w(\"struct\",\"structs ({0})\"),[23]:w(\"event\",\"events ({0})\"),[24]:w(\"operator\",\"operators ({0})\"),[10]:w(\"interface\",\"interfaces ({0})\"),[2]:w(\"namespace\",\"namespaces ({0})\"),[3]:w(\"package\",\"packages ({0})\"),[25]:w(\"typeParameter\",\"type parameters ({0})\"),[1]:w(\"modules\",\"modules ({0})\"),[6]:w(\"property\",\"properties ({0})\"),[9]:w(\"enum\",\"enumerations ({0})\"),[21]:w(\"enumMember\",\"enumeration members ({0})\"),[14]:w(\"string\",\"strings ({0})\"),[0]:w(\"file\",\"files ({0})\"),[17]:w(\"array\",\"arrays ({0})\"),[15]:w(\"number\",\"numbers ({0})\"),[16]:w(\"boolean\",\"booleans ({0})\"),[18]:w(\"object\",\"objects ({0})\"),[19]:w(\"key\",\"keys ({0})\"),[7]:w(\"field\",\"fields ({0})\"),[13]:w(\"constant\",\"constants ({0})\")};var jqe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},QH=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let hq=class extends Em{constructor(e,t,n){super(t,n),this.editorService=e,this.onDidActiveTextEditorControlChange=Xo.None}get activeTextEditorControl(){return u_(this.editorService.getFocusedCodeEditor())}};hq=jqe([QH(0,Eu),QH(1,$o),QH(2,q9)],hq);wd.as(vw.Quickaccess).registerQuickAccessProvider({ctor:hq,prefix:Em.PREFIX,helpEntries:[{description:pL.quickOutlineActionLabel,prefix:Em.PREFIX,needsEditor:!0},{description:pL.quickOutlineByCategoryActionLabel,prefix:Em.PREFIX_BY_CATEGORY,needsEditor:!0}]});class Wqe extends xo{constructor(){super({id:\"editor.action.quickOutline\",label:pL.quickOutlineActionLabel,alias:\"Go to Symbol...\",precondition:on.hasDocumentSymbolProvider,kbOpts:{kbExpr:on.focus,primary:3117,weight:100},contextMenuOpts:{group:\"navigation\",order:3}})}run(e){e.get(Nb).quickAccess.show(Em.PREFIX)}}Fs(Wqe);function ZH(o,e){return e&&(o.stack||o.stacktrace)?w(\"stackTrace.format\",\"{0}: {1}\",ble(o),yle(o.stack)||yle(o.stacktrace)):ble(o)}function yle(o){return Array.isArray(o)?o.join(`\n`):o}function ble(o){return typeof o.code==\"string\"&&typeof o.errno==\"number\"&&typeof o.syscall==\"string\"?w(\"nodeExceptionMessage\",\"A system error occurred ({0})\",o.message):o.message||w(\"error.defaultMessage\",\"An unknown error occurred. Please consult the log for more details.\")}function tge(o=null,e=!1){if(!o)return w(\"error.defaultMessage\",\"An unknown error occurred. Please consult the log for more details.\");if(Array.isArray(o)){const t=rw(o),n=tge(t[0],e);return t.length>1?w(\"error.moreErrors\",\"{0} ({1} errors in total)\",n,t.length):n}if(Lg(o))return o;if(o.detail){const t=o.detail;if(t.error)return ZH(t.error,e);if(t.exception)return ZH(t.exception,e)}return o.stack?ZH(o,e):o.message?o.message:w(\"error.defaultMessage\",\"An unknown error occurred. Please consult the log for more details.\")}var z5=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})},Nx;(function(o){o[o.NO_ACTION=0]=\"NO_ACTION\",o[o.CLOSE_PICKER=1]=\"CLOSE_PICKER\",o[o.REFRESH_PICKER=2]=\"REFRESH_PICKER\",o[o.REMOVE_ITEM=3]=\"REMOVE_ITEM\"})(Nx||(Nx={}));function e$(o){const e=o;return Array.isArray(e.items)}function Vqe(o){const e=o;return!!e.picks&&e.additionalPicks instanceof Promise}class pO extends fr{constructor(e,t){super(),this.prefix=e,this.options=t}provide(e,t){var n;const i=new fs;e.canAcceptInBackground=!!(!((n=this.options)===null||n===void 0)&&n.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;let s;const a=i.add(new _f),l=()=>z5(this,void 0,void 0,function*(){const u=a.value=new fs;s==null||s.dispose(!0),e.busy=!1,s=new Xh(t);const d=s.token,h=e.value.substr(this.prefix.length).trim(),p=this._getPicks(h,u,d),g=(y,D)=>{var T;let k,I;if(e$(y)?(k=y.items,I=y.active):k=y,k.length===0){if(D)return!1;h.length>0&&((T=this.options)===null||T===void 0?void 0:T.noResultsPick)&&(k=[this.options.noResultsPick])}return e.items=k,I&&(e.activeItems=[I]),!0};if(p!==null)if(Vqe(p)){let y=!1,D=!1;yield Promise.all([(()=>z5(this,void 0,void 0,function*(){yield Zv(pO.FAST_PICKS_RACE_DELAY),!d.isCancellationRequested&&(D||(y=g(p.picks,!0)))}))(),(()=>z5(this,void 0,void 0,function*(){e.busy=!0;try{const T=yield p.additionalPicks;if(d.isCancellationRequested)return;let k,I;e$(p.picks)?(k=p.picks.items,I=p.picks.active):k=p.picks;let F,q;if(e$(T)?(F=T.items,q=T.active):F=T,F.length>0||!y){let re;if(!I&&!q){const Ie=e.activeItems[0];Ie&&k.indexOf(Ie)!==-1&&(re=Ie)}g({items:[...k,...F],active:I||q||re})}}finally{d.isCancellationRequested||(e.busy=!1),D=!0}}))()])}else if(!(p instanceof Promise))g(p);else{e.busy=!0;try{const y=yield p;if(d.isCancellationRequested)return;g(y)}finally{d.isCancellationRequested||(e.busy=!1)}}});return i.add(e.onDidChangeValue(()=>l())),l(),i.add(e.onDidAccept(u=>{const[d]=e.selectedItems;typeof(d==null?void 0:d.accept)==\"function\"&&(u.inBackground||e.hide(),d.accept(e.keyMods,u))})),i.add(e.onDidTriggerItemButton(({button:u,item:d})=>z5(this,void 0,void 0,function*(){var h,p;if(typeof d.trigger==\"function\"){const g=(p=(h=d.buttons)===null||h===void 0?void 0:h.indexOf(u))!==null&&p!==void 0?p:-1;if(g>=0){const y=d.trigger(g,e.keyMods),D=typeof y==\"number\"?y:yield y;if(t.isCancellationRequested)return;switch(D){case Nx.NO_ACTION:break;case Nx.CLOSE_PICKER:e.hide();break;case Nx.REFRESH_PICKER:l();break;case Nx.REMOVE_ITEM:{const T=e.items.indexOf(d);if(T!==-1){const k=e.items.slice(),I=k.splice(T,1),F=e.activeItems.filter(re=>re!==I[0]),q=e.keepScrollPosition;e.keepScrollPosition=!0,e.items=k,F&&(e.activeItems=F),e.keepScrollPosition=q}break}}}}}))),i}}pO.FAST_PICKS_RACE_DELAY=200;var nge=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},G2=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},vle=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};let GL=class k8 extends pO{constructor(e,t,n,i,s,a){super(k8.PREFIX,e),this.instantiationService=t,this.keybindingService=n,this.commandService=i,this.telemetryService=s,this.dialogService=a,this.commandsHistory=this._register(this.instantiationService.createInstance(iw)),this.options=e}_getPicks(e,t,n){return vle(this,void 0,void 0,function*(){const i=yield this.getCommandPicks(t,n);if(n.isCancellationRequested)return[];const s=[];for(const d of i){const h=u_(k8.WORD_FILTER(e,d.label)),p=d.commandAlias?u_(k8.WORD_FILTER(e,d.commandAlias)):void 0;h||p?(d.highlights={label:h,detail:this.options.showAlias?p:void 0},s.push(d)):e===d.commandId&&s.push(d)}const a=new Map;for(const d of s){const h=a.get(d.label);h?(d.description=d.commandId,h.description=h.commandId):a.set(d.label,d)}s.sort((d,h)=>{const p=this.commandsHistory.peek(d.commandId),g=this.commandsHistory.peek(h.commandId);return p&&g?p>g?-1:1:p?-1:g?1:d.label.localeCompare(h.label)});const l=[];let u=!1;for(let d=0;d<s.length;d++){const h=s[d],p=this.keybindingService.lookupKeybinding(h.commandId),g=p?w(\"commandPickAriaLabelWithKeybinding\",\"{0}, {1}\",h.label,p.getAriaLabel()):h.label;d===0&&this.commandsHistory.peek(h.commandId)&&(l.push({type:\"separator\",label:w(\"recentlyUsed\",\"recently used\")}),u=!0),d!==0&&u&&!this.commandsHistory.peek(h.commandId)&&(l.push({type:\"separator\",label:w(\"morecCommands\",\"other commands\")}),u=!1),l.push(Object.assign(Object.assign({},h),{ariaLabel:g,detail:this.options.showAlias&&h.commandAlias!==h.label?h.commandAlias:void 0,keybinding:p,accept:()=>vle(this,void 0,void 0,function*(){this.commandsHistory.push(h.commandId),this.telemetryService.publicLog2(\"workbenchActionExecuted\",{id:h.commandId,from:\"quick open\"});try{yield this.commandService.executeCommand(h.commandId)}catch(y){ry(y)||this.dialogService.show(Nc.Error,w(\"canNotRun\",\"Command '{0}' resulted in an error ({1})\",h.label,tge(y)))}})}))}return l})}};GL.PREFIX=\">\";GL.WORD_FILTER=eJ(a9,v7e,Ude);GL=nge([G2(1,Nl),G2(2,Xc),G2(3,Dd),G2(4,sy),G2(5,d4)],GL);let iw=class ph extends fr{constructor(e,t){super(),this.storageService=e,this.configurationService=t,this.configuredCommandsHistoryLength=0,this.updateConfiguration(),this.load(),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(()=>this.updateConfiguration()))}updateConfiguration(){this.configuredCommandsHistoryLength=ph.getConfiguredCommandHistoryLength(this.configurationService),ph.cache&&ph.cache.limit!==this.configuredCommandsHistoryLength&&(ph.cache.limit=this.configuredCommandsHistoryLength,ph.saveState(this.storageService))}load(){const e=this.storageService.get(ph.PREF_KEY_CACHE,0);let t;if(e)try{t=JSON.parse(e)}catch{}const n=ph.cache=new DC(this.configuredCommandsHistoryLength,1);if(t){let i;t.usesLRU?i=t.entries:i=t.entries.sort((s,a)=>s.value-a.value),i.forEach(s=>n.set(s.key,s.value))}ph.counter=this.storageService.getNumber(ph.PREF_KEY_COUNTER,0,ph.counter)}push(e){!ph.cache||(ph.cache.set(e,ph.counter++),ph.saveState(this.storageService))}peek(e){var t;return(t=ph.cache)===null||t===void 0?void 0:t.peek(e)}static saveState(e){if(!ph.cache)return;const t={usesLRU:!0,entries:[]};ph.cache.forEach((n,i)=>t.entries.push({key:i,value:n})),e.store(ph.PREF_KEY_CACHE,JSON.stringify(t),0,0),e.store(ph.PREF_KEY_COUNTER,ph.counter,0,0)}static getConfiguredCommandHistoryLength(e){var t,n;const s=(n=(t=e.getValue().workbench)===null||t===void 0?void 0:t.commandPalette)===null||n===void 0?void 0:n.history;return typeof s==\"number\"?s:ph.DEFAULT_COMMANDS_HISTORY_LENGTH}};iw.DEFAULT_COMMANDS_HISTORY_LENGTH=50;iw.PREF_KEY_CACHE=\"commandPalette.mru.cache\";iw.PREF_KEY_COUNTER=\"commandPalette.mru.counter\";iw.counter=1;iw=nge([G2(0,cy),G2(1,Uu)],iw);class Hqe extends GL{constructor(e,t,n,i,s,a){super(e,t,n,i,s,a)}getCodeEditorCommandPicks(){const e=this.activeTextEditorControl;if(!e)return[];const t=[];for(const n of e.getSupportedActions())t.push({commandId:n.id,commandAlias:n.alias,label:oJ(n.label)||n.id});return t}}var $qe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},sx=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}},zqe=globalThis&&globalThis.__awaiter||function(o,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function l(h){try{d(n.next(h))}catch(p){a(p)}}function u(h){try{d(n.throw(h))}catch(p){a(p)}}function d(h){h.done?s(h.value):i(h.value).then(l,u)}d((n=n.apply(o,e||[])).next())})};let JL=class extends Hqe{constructor(e,t,n,i,s,a){super({showAlias:!1},e,n,i,s,a),this.codeEditorService=t}get activeTextEditorControl(){return u_(this.codeEditorService.getFocusedCodeEditor())}getCommandPicks(){return zqe(this,void 0,void 0,function*(){return this.getCodeEditorCommandPicks()})}};JL=$qe([sx(0,Nl),sx(1,Eu),sx(2,Xc),sx(3,Dd),sx(4,sy),sx(5,d4)],JL);wd.as(vw.Quickaccess).registerQuickAccessProvider({ctor:JL,prefix:JL.PREFIX,helpEntries:[{description:N7.quickCommandHelp,needsEditor:!0}]});class Uqe extends xo{constructor(){super({id:\"editor.action.quickCommand\",label:N7.quickCommandActionLabel,alias:\"Command Palette\",precondition:void 0,kbOpts:{kbExpr:on.focus,primary:59,weight:100},contextMenuOpts:{group:\"z_commands\",order:1}})}run(e){e.get(Nb).quickAccess.show(JL.PREFIX)}}Fs(Uqe);var Kqe=globalThis&&globalThis.__decorate||function(o,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")s=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(a=o[l])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s},ox=globalThis&&globalThis.__param||function(o,e){return function(t,n){e(t,n,o)}};let pq=class extends pC{constructor(e,t,n,i,s,a,l){super(!0,e,t,n,i,s,a,l)}};pq=Kqe([ox(1,Xa),ox(2,Eu),ox(3,Sd),ox(4,Nl),ox(5,cy),ox(6,Uu)],pq);vu(pC.ID,pq);class qqe extends xo{constructor(){super({id:\"editor.action.toggleHighContrast\",label:Zz.toggleHighContrast,alias:\"Toggle High Contrast Theme\",precondition:void 0}),this._originalThemeName=null}run(e,t){const n=e.get(Z_);this._originalThemeName?(n.setTheme(this._originalThemeName),this._originalThemeName=null):(this._originalThemeName=n.getColorTheme().themeName,n.setTheme(\"hc-black\"))}}Fs(qqe);function Gqe(){return new Worker(\"/assets/editor.worker.6369e042.js\",{type:\"module\"})}function Jqe(){return new Worker(\"/assets/json.worker.cc26763b.js\",{type:\"module\"})}function Yqe(){return new Worker(\"/assets/css.worker.57c3cb89.js\",{type:\"module\"})}function Xqe(){return new Worker(\"/assets/html.worker.ae09e20d.js\",{type:\"module\"})}function Qqe(){return new Worker(\"/assets/ts.worker.bcb033c8.js\",{type:\"module\"})}self.MonacoEnvironment={getWorker(o,e){return e===\"json\"?new Jqe:e===\"css\"||e===\"scss\"||e===\"less\"?new Yqe:e===\"html\"||e===\"handlebars\"||e===\"razor\"?new Xqe:e===\"typescript\"||e===\"javascript\"?new Qqe:new Gqe}};function Ov(o){return o?new Error(`Illegal argument: ${o}`):new Error(\"Illegal argument\")}function Zqe(o){const e=[];return o.forEach(t=>e.push(t)),e}class xl{constructor(e,t){cl(this,\"_line\");cl(this,\"_character\");if(e<0)throw Ov(\"line must be non-negative\");if(t<0)throw Ov(\"character must be non-negative\");this._line=e,this._character=t}static Min(...e){if(e.length===0)throw new TypeError;let t=e[0];for(let n=1;n<e.length;n++){const i=e[n];i.isBefore(t)&&(t=i)}return t}static Max(...e){if(e.length===0)throw new TypeError;let t=e[0];for(let n=1;n<e.length;n++){const i=e[n];i.isAfter(t)&&(t=i)}return t}static isPosition(e){if(!e)return!1;if(e instanceof xl)return!0;let{line:t,character:n}=e;return typeof t==\"number\"&&typeof n==\"number\"}get line(){return this._line}get character(){return this._character}isBefore(e){return this._line<e._line?!0:e._line<this._line?!1:this._character<e._character}isBeforeOrEqual(e){return this._line<e._line?!0:e._line<this._line?!1:this._character<=e._character}isAfter(e){return!this.isBeforeOrEqual(e)}isAfterOrEqual(e){return!this.isBefore(e)}isEqual(e){return this._line===e._line&&this._character===e._character}compareTo(e){return this._line<e._line?-1:this._line>e.line?1:this._character<e._character?-1:this._character>e._character?1:0}translate(e,t=0){if(e===null||t===null)throw Ov();let n;return typeof e==\"undefined\"?n=0:typeof e==\"number\"?n=e:(n=typeof e.lineDelta==\"number\"?e.lineDelta:0,t=typeof e.characterDelta==\"number\"?e.characterDelta:0),n===0&&t===0?this:new xl(this.line+n,this.character+t)}with(e,t=this.character){if(e===null||t===null)throw Ov();let n;return typeof e==\"undefined\"?n=this.line:typeof e==\"number\"?n=e:(n=typeof e.line==\"number\"?e.line:this.line,t=typeof e.character==\"number\"?e.character:this.character),n===this.line&&t===this.character?this:new xl(n,t)}toJSON(){return{line:this.line,character:this.character}}}class ql{constructor(e,t,n,i){cl(this,\"_start\");cl(this,\"_end\");let s,a;if(typeof e==\"number\"&&typeof t==\"number\"&&typeof n==\"number\"&&typeof i==\"number\"?(s=new xl(e,t),a=new xl(n,i)):e instanceof xl&&t instanceof xl&&(s=e,a=t),!s||!a)throw new Error(\"Invalid arguments\");s.isBefore(a)?(this._start=s,this._end=a):(this._start=a,this._end=s)}static isRange(e){return e instanceof ql?!0:e?xl.isPosition(e.start)&&xl.isPosition(e.end):!1}get start(){return this._start}get end(){return this._end}contains(e){return e instanceof ql?this.contains(e._start)&&this.contains(e._end):e instanceof xl?!(e.isBefore(this._start)||this._end.isBefore(e)):!1}isEqual(e){return this._start.isEqual(e._start)&&this._end.isEqual(e._end)}intersection(e){const t=xl.Max(e.start,this._start),n=xl.Min(e.end,this._end);if(!t.isAfter(n))return new ql(t,n)}union(e){if(this.contains(e))return this;if(e.contains(this))return e;const t=xl.Min(e.start,this._start),n=xl.Max(e.end,this.end);return new ql(t,n)}get isEmpty(){return this._start.isEqual(this._end)}get isSingleLine(){return this._start.line===this._end.line}with(e,t=this.end){if(e===null||t===null)throw Ov();let n;return e?xl.isPosition(e)?n=e:(n=e.start||this.start,t=e.end||this.end):n=this.start,n.isEqual(this._start)&&t.isEqual(this.end)?this:new ql(n,t)}toJSON(){return[this.start,this.end]}}class Dm extends ql{constructor(t,n,i,s){let a,l;if(typeof t==\"number\"&&typeof n==\"number\"&&typeof i==\"number\"&&typeof s==\"number\"?(a=new xl(t,n),l=new xl(i,s)):t instanceof xl&&n instanceof xl&&(a=t,l=n),!a||!l)throw new Error(\"Invalid arguments\");super(a,l);cl(this,\"_anchor\");cl(this,\"_active\");this._anchor=a,this._active=l}static isSelection(t){return t instanceof Dm?!0:t?ql.isRange(t)&&xl.isPosition(t.anchor)&&xl.isPosition(t.active)&&typeof t.isReversed==\"boolean\":!1}get anchor(){return this._anchor}get active(){return this._active}get isReversed(){return this._anchor===this._end}toJSON(){return{start:this.start,end:this.end,active:this.active,anchor:this.anchor}}}var R1=(o=>(o[o.LF=1]=\"LF\",o[o.CRLF=2]=\"CRLF\",o))(R1||{});class J2{constructor(e,t){cl(this,\"_range\");cl(this,\"_newText\");cl(this,\"_newEol\");this.range=e,this._newText=t}static isTextEdit(e){return e instanceof J2?!0:e?ql.isRange(e)&&typeof e.newText==\"string\":!1}static replace(e,t){return new J2(e,t)}static insert(e,t){return J2.replace(new ql(e,e),t)}static delete(e){return J2.replace(e,\"\")}static setEndOfLine(e){const t=new J2(new ql(new xl(0,0),new xl(0,0)),\"\");return t.newEol=e,t}get range(){return this._range}set range(e){if(e&&!ql.isRange(e))throw Ov(\"range\");this._range=e}get newText(){return this._newText||\"\"}set newText(e){if(e&&typeof e!=\"string\")throw Ov(\"newText\");this._newText=e}get newEol(){return this._newEol}set newEol(e){if(e&&typeof e!=\"number\")throw Ov(\"newEol\");this._newEol=e}toJSON(){return{range:this.range,newText:this.newText,newEol:this._newEol}}}class fO{constructor(){cl(this,\"_edits\",new Array)}renameFile(e,t,n){this._edits.push({_type:1,from:e,to:t,options:n})}createFile(e,t){this._edits.push({_type:1,from:void 0,to:e,options:t})}deleteFile(e,t){this._edits.push({_type:1,from:e,to:void 0,options:t})}replace(e,t,n){this._edits.push({_type:2,uri:e,edit:new J2(t,n)})}insert(e,t,n){this.replace(e,new ql(t,t),n)}delete(e,t){this.replace(e,t,\"\")}has(e){for(const t of this._edits)if(t._type===2&&t.uri.toString()===e.toString())return!0;return!1}set(e,t){if(t)for(const n of t)n&&this._edits.push({_type:2,uri:e,edit:n});else for(let n=0;n<this._edits.length;n++){const i=this._edits[n];i._type===2&&i.uri.toString()===e.toString()&&(this._edits[n]=void 0)}}get(e){const t=[];for(let n of this._edits)n._type===2&&n.uri.toString()===e.toString()&&t.push(n.edit);return t}entries(){const e=new Map;for(let t of this._edits)if(t._type===2){let n=e.get(t.uri.toString());n||(n=[t.uri,[]],e.set(t.uri.toString(),n)),n[1].push(t.edit)}return Zqe(e)}_allEntries(){const e=[];for(let t of this._edits)t._type===1?e.push([t.from,t.to,t.options]):e.push([t.uri,[t.edit]]);return e}get size(){return this.entries().length}toJSON(){return this.entries()}}var Zk=(o=>(o[o.Default=0]=\"Default\",o[o.InCenter=1]=\"InCenter\",o[o.InCenterIfOutsideViewport=2]=\"InCenterIfOutsideViewport\",o[o.AtTop=3]=\"AtTop\",o))(Zk||{});class db{constructor(e){cl(this,\"_tabstop\",1);cl(this,\"value\");this.value=e||\"\"}static isSnippetString(e){return e instanceof db?!0:e?typeof e.value==\"string\":!1}static _escape(e){return e.replace(/\\$|}|\\\\/g,\"\\\\$&\")}appendText(e){return this.value+=db._escape(e),this}appendTabstop(e=this._tabstop++){return this.value+=\"$\",this.value+=e,this}appendPlaceholder(e,t=this._tabstop++){if(typeof e==\"function\"){const n=new db;n._tabstop=this._tabstop,e(n),this._tabstop=n._tabstop,e=n.value}else e=db._escape(e);return this.value+=\"${\",this.value+=t,this.value+=\":\",this.value+=e,this.value+=\"}\",this}appendVariable(e,t){if(typeof t==\"function\"){const n=new db;n._tabstop=this._tabstop,t(n),this._tabstop=n._tabstop,t=n.value}else typeof t==\"string\"&&(t=t.replace(/\\$|}/g,\"\\\\$&\"));return this.value+=\"${\",this.value+=e,t&&(this.value+=\":\",this.value+=t),this.value+=\"}\",this}}function TY(o,e){let n=o.getText(new ql(new xl(0,0),new xl(e,0))).match(/^```[\\w ]*$/gm);return n==null?!1:n.length%2!=0}function eGe(o){return nGe(tGe(o))}function tGe(o){return o.replace(/\\[([^\\]]+?)\\]\\([^\\)]+?\\)/g,(e,t)=>t)}function nGe(o){return o.replace(/(&emsp;)/g,e=>\"\\u2003\").replace(/(<!--[^>]*?-->)/g,\"\").replace(/<span[^>]*>(.*?)<\\/span>/g,(e,t)=>t).replace(/ +/g,\" \")}const iGe=/[^0-9A-Z_a-z\\- ª²-³µ¹-º¼-¾À-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ\\u0300-ʹͶ-ͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ\\u0483-ԣԱ-Ֆՙա-և\\u0591-\\u05bd\\u05bf\\u05c1-\\u05c2\\u05c4-\\u05c5\\u05c7א-תװ-ײ\\u0610-\\u061aء-\\u065e٠-٩ٮ-ۓە-\\u06dc\\u06de-\\u06e8\\u06ea-ۼۿܐ-\\u074aݍ-ޱ߀-ߵߺ\\u0901-ह\\u093c-\\u094dॐ-\\u0954क़-\\u0963०-९ॱ-ॲॻ-ॿ\\u0981-\\u0983অ-ঌএ-ঐও-নপ-রলশ-হ\\u09bc-\\u09c4\\u09c7-\\u09c8\\u09cb-ৎ\\u09d7ড়-ঢ়য়-\\u09e3০-ৱ৴-৹\\u0a01-\\u0a03ਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹ\\u0a3c\\u0a3e-\\u0a42\\u0a47-\\u0a48\\u0a4b-\\u0a4d\\u0a51ਖ਼-ੜਫ਼੦-\\u0a75\\u0a81-\\u0a83અ-ઍએ-ઑઓ-નપ-રલ-ળવ-હ\\u0abc-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acdૐૠ-\\u0ae3૦-૯\\u0b01-\\u0b03ଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହ\\u0b3c-\\u0b44\\u0b47-\\u0b48\\u0b4b-\\u0b4d\\u0b56-\\u0b57ଡ଼-ଢ଼ୟ-\\u0b63୦-୯ୱ\\u0b82-ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹ\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcdௐ\\u0bd7௦-௲\\u0c01-\\u0c03అ-ఌఎ-ఐఒ-నప-ళవ-హఽ-\\u0c44\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55-\\u0c56ౘ-ౙౠ-\\u0c63౦-౯౸-౾\\u0c82-\\u0c83ಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ\\u0cbc-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5-\\u0cd6ೞೠ-\\u0ce3೦-೯\\u0d02-\\u0d03അ-ഌഎ-ഐഒ-നപ-ഹഽ-\\u0d44\\u0d46-\\u0d48\\u0d4a-\\u0d4d\\u0d57ൠ-\\u0d63൦-൵ൺ-ൿ\\u0d82-\\u0d83අ-ඖක-නඳ-රලව-ෆ\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2-\\u0df3ก-\\u0e3aเ-\\u0e4e๐-๙ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-\\u0eb9\\u0ebb-ຽເ-ໄໆ\\u0ec8-\\u0ecd໐-໙ໜ-ໝༀ\\u0f18-\\u0f19༠-༳\\u0f35\\u0f37\\u0f39\\u0f3e-ཇཉ-ཬ\\u0f71-\\u0f84\\u0f86-ྋ\\u0f90-\\u0f97\\u0f99-\\u0fbc\\u0fc6က-၉ၐ-႙Ⴀ-Ⴥა-ჺჼᄀ-ᅙᅟ-ᆢᆨ-ᇹሀ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ\\u135f፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙶᚁ-ᚚᚠ-ᛪ\\u16ee-\\u16f0ᜀ-ᜌᜎ-\\u1714ᜠ-\\u1734ᝀ-\\u1753ᝠ-ᝬᝮ-ᝰ\\u1772-\\u1773ក-ឳ\\u17b6-\\u17d3ៗៜ-\\u17dd០-៩៰-៹\\u180b-\\u180d᠐-᠙ᠠ-ᡷᢀ-ᢪᤀ-ᤜ\\u1920-\\u192b\\u1930-\\u193b᥆-ᥭᥰ-ᥴᦀ-ᦩ\\u19b0-\\u19c9᧐-᧙ᨀ-\\u1a1b\\u1b00-ᭋ᭐-᭙\\u1b6b-\\u1b73\\u1b80-\\u1baaᮮ-᮹ᰀ-\\u1c37᱀-᱉ᱍ-ᱽᴀ-\\u1de6\\u1dfe-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‿-⁀⁔⁰-ⁱ⁴-⁹ⁿ-₉ₐ-ₔ\\u20d0-\\u20f0ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎ⅓-\\u2188①-⒛⓪-⓿❶-➓Ⰰ-Ⱞⰰ-ⱞⱠ-Ɐⱱ-ⱽⲀ-ⳤ⳽ⴀ-ⴥⴰ-ⵥⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ\\u2de0-\\u2dffⸯ々-\\u3007\\u3021-\\u302f〱-〵\\u3038-〼ぁ-ゖ\\u3099-\\u309aゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎ㆒-㆕ㆠ-ㆷㇰ-ㇿ㈠-㈩㉑-㉟㊀-㊉㊱-㊿㐀-䶵一-鿃ꀀ-ꒌꔀ-ꘌꘐ-ꘫꙀ-ꙟꙢ-\\ua672\\ua67c-\\ua67dꙿ-ꚗꜗ-ꜟꜢ-ꞈꞋ-ꞌꟻ-\\ua827ꡀ-ꡳ\\ua880-\\ua8c4꣐-꣙꤀-\\ua92dꤰ-\\ua953ꨀ-\\uaa36ꩀ-\\uaa4d꩐-꩙가-힣豈-鶴侮-頻並-龎ﬀ-ﬆﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ\\ufe00-\\ufe0f\\ufe20-\\ufe26︳-︴﹍-﹏ﹰ-ﹴﹶ-ﻼ０-９Ａ-Ｚ＿ａ-ｚｦ-ﾾￂ-ￇￊ-ￏￒ-ￗￚ-ￜ]/gu;function rGe(o){let e=eGe(o.trim()).replace(iGe,\"\").replace(/ /g,\"-\");return e=e.replace(/[A-Z]/g,t=>t.toLowerCase()),e}function sGe(o){ige(o,\"shift\")}function oGe(o){let e=\"editorTextFocus && !editorReadonly && !suggestWidgetVisible\";r_(o,\"onEnterKey\",AY,[Pp.Enter],\"\",e,null),r_(o,\"onCtrlEnterKey\",lGe,[Pp.Enter|pp.CtrlCmd],\"\",e,null),r_(o,\"onShiftEnterKey\",aGe,[Pp.Enter|pp.Shift],\"\",e,null),r_(o,\"onTabKey\",ige,[Pp.Tab],\"\",e,null),r_(o,\"onShiftTabKey\",sGe,[Pp.Tab|pp.Shift],\"\",e,null),r_(o,\"onBackspaceKey\",uGe,[Pp.Backspace],\"\",e,null)}function aGe(o){AY(o,\"shift\")}function lGe(o){AY(o,\"ctrl\")}function AY(o,e){let t=o.selection.active,n=o.document.lineAt(t.line),i=n.text.substr(0,t.character),s=n.text.substr(t.character),a=t;if(e==\"ctrl\"&&(a=n.range.end),e==\"shift\"||TY(o.document,t.line))return vD(o,\"enter\",e);if(/^(>|([-+*]|[0-9]+[.)])( +\\[[ x]\\])?)$/.test(i.trim())&&s.trim().length==0)return o.edit(u=>{u.delete(n.range),u.insert(n.range.end,`\n`)}).then(()=>{o.revealRange(o.selection)}).then(()=>B1(o,F3(o)));let l;if(/^> /.test(i))return o.edit(u=>{u.insert(a,`\n> `)}).then(()=>{if(e==\"ctrl\"&&!t.isEqual(a)){let u=t.with(n.lineNumber+1,2);o.selection=new Dm(u,u)}}).then(()=>{o.revealRange(o.selection)});if((l=/^(\\s*[-+*] +(\\[[ x]\\] +)?)/.exec(i))!==null)return o.edit(u=>{u.insert(a,`\n${l[1].replace(\"[x]\",\"[ ]\")}`)}).then(()=>{if(e==\"ctrl\"&&!t.isEqual(a)){let u=t.with(n.lineNumber+1,l[1].length);o.selection=new Dm(u,u)}}).then(()=>{o.revealRange(o.selection)});if((l=/^(\\s*)([0-9]+)([.)])( +)((\\[[ x]\\] +)?)/.exec(i))!==null){let u=o.getConfiguration(\"markdown.extension.orderedList\").get(\"marker\"),d=\"1\",h=l[1],p=l[2],g=l[3],y=l[4],D=l[5].replace(\"[x]\",\"[ ]\"),T=(p+g+y).length;u==\"ordered\"&&(d=String(Number(p)+1)),y=\" \".repeat(Math.max(1,T-(d+g).length));const k=h+d+g+y+D;return o.edit(I=>{I.insert(a,`\n${k}`)},{undoStopBefore:!0,undoStopAfter:!1}).then(()=>{if(e==\"ctrl\"&&!t.isEqual(a)){let I=t.with(n.lineNumber+1,k.length);o.selection=new Dm(I,I)}}).then(()=>B1(o)).then(()=>{o.revealRange(o.selection)})}else return vD(o,\"enter\",e)}function ige(o,e){let t=o.selection.start,n=o.document.lineAt(t.line).text;if(TY(o.document,t.line))return vD(o,\"tab\",e);let i=/^\\s*([-+*]|[0-9]+[.)]) +(\\[[ x]\\] +)?/.exec(n);return i&&(e===\"shift\"||!o.selection.isEmpty||o.selection.isEmpty&&t.character<=i[0].length)?e===\"shift\"?rge(o).then(()=>B1(o)):cGe(o).then(()=>B1(o)):vD(o,\"tab\",e)}function uGe(o){let e=o.selection.active,t=o.document,n=t.lineAt(e.line).text.substr(0,e.character);return TY(t,e.line)?vD(o,\"backspace\"):o.selection.isEmpty?/^\\s+([-+*]|[0-9]+[.)]) $/.test(n)?rge(o).then(()=>B1(o)):/^([-+*]|[0-9]+[.)]) $/.test(n)?o.edit(i=>{i.replace(new ql(e.with({character:0}),e),\" \".repeat(n.length))}).then(()=>B1(o,F3(o))):/^\\s*([-+*]|[0-9]+[.)]) +(\\[[ x]\\] )$/.test(n)?hGe(o,new ql(e.with({character:n.length-4}),e)).then(()=>B1(o,F3(o))):vD(o,\"backspace\"):vD(o,\"backspace\").then(()=>B1(o,F3(o)))}function vD(o,e,t){switch(e){case\"enter\":return t===\"ctrl\"?o.executeCommand(\"editor.action.insertLineAfter\"):o.executeCommand(\"type\",{source:\"keyboard\",text:`\n`});case\"tab\":return o.getConfiguration(\"emmet\").get(\"triggerExpansionOnTab\")?o.executeCommand(\"editor.emmet.action.expandAbbreviation\"):t===\"shift\"?o.executeCommand(\"editor.action.outdentLines\"):o.executeCommand(\"tab\");case\"backspace\":return o.executeCommand(\"deleteLeft\")}}function cGe(o){if(o.getConfiguration(\"markdown.extension.list\").get(\"indentationSize\")===\"adaptive\")try{const e=o.selection,t=sge(o,e.start.line,o.document.lineAt(e.start.line).firstNonWhitespaceCharacterIndex);let n=new fO;for(let i=e.start.line;i<=e.end.line&&!(i===e.end.line&&!e.isEmpty&&e.end.character===0);i++)o.document.lineAt(i).text.length!==0&&n.insert(o.document.uri,new xl(i,0),\" \".repeat(t));return o.applyEdit(n)}catch{}return o.executeCommand(\"editor.action.indentLines\")}function rge(o){if(o.getConfiguration(\"markdown.extension.list\").get(\"indentationSize\")===\"adaptive\")try{const e=o.selection,t=sge(o,e.start.line,o.document.lineAt(e.start.line).firstNonWhitespaceCharacterIndex);let n=new fO;for(let i=e.start.line;i<=e.end.line&&!(i===e.end.line&&!e.isEmpty&&e.end.character===0);i++){const s=o.document.lineAt(i).text;let a;s.trim().length===0?a=s.length:a=o.document.lineAt(i).firstNonWhitespaceCharacterIndex,a>0&&n.delete(o.document.uri,new ql(i,0,i,Math.min(t,a)))}return o.applyEdit(n)}catch{}return o.executeCommand(\"editor.action.outdentLines\")}function sge(o,e,t){for(;--e>=0;){const n=o.document.lineAt(e).text;let i;if((i=/^(\\s*)(([-+*]|[0-9]+[.)]) +)(\\[[ x]\\] +)?/.exec(n))!==null&&i[1].length<=t)return i[2].length}throw\"No previous Markdown list item\"}function F3(o,e){for(e===void 0&&(e=o.selection.start.line);e<o.document.lineCount;){const t=o.document.lineAt(e).text;if(/^\\s*[0-9]+[.)] +/.exec(t)!==null)return e;e++}}function dGe(o,e,t){for(;--e>=0;){const n=o.document.lineAt(e).text;let i;if((i=/^(\\s*)(([0-9]+)[.)] +)/.exec(n))!==null){let s=i[1],a=i[3];if(s.length===t)return Number(a)+1;if(!s.includes(\"\t\")&&s.length+i[2].length<=t||s.includes(\"\t\")&&s.length+1<=t)return 1}else if((i=/^(\\s*)\\S/.exec(n))!==null&&i[1].length<=t)break}return 1}function B1(o,e){if(e===void 0&&(e=F3(o),(e===void 0||e>o.selection.end.line)&&(e=o.selection.active.line)),e<0||o.document.lineCount<=e)return;let t=o.document.lineAt(e).text,n;if((n=/^(\\s*)([0-9]+)([.)])( +)/.exec(t))!==null){let i=n[1],s=n[2],a=n[3],l=n[4],u=dGe(o,e,i.length),d=s.length+a.length+l.length,h=String(u);return o.edit(p=>{s!==h&&(h+=a+\" \".repeat(Math.max(1,d-(h+a).length)),p.replace(new ql(e,i.length,e,i.length+d),h))},{undoStopBefore:!1,undoStopAfter:!1}).then(()=>{let p=e+1,g=\" \".repeat(d);for(;o.document.lineCount>p;){const y=o.document.lineAt(p).text;if(/^\\s*[0-9]+[.)] +/.test(y))return B1(o,p);if(/^\\s*$/.test(y))p++;else{if(d<=4&&!y.startsWith(g))return;p++}}})}}function hGe(o,e){return o.edit(t=>{t.delete(e)},{undoStopBefore:!0,undoStopAfter:!1})}function r_(o,e,t,n,i,s,a=\"markdown.extension.editing\"){o.addAction({contextMenuGroupId:a,contextMenuOrder:0,id:\"markdown.extension.editing.\"+e,keybindingContext:s,keybindings:n,label:i,precondition:\"\",run(l){t(o)}})}function pGe(o){r_(o,\"toggleBold\",fGe,[pp.CtrlCmd|Pp.KeyB],\"Toggle bold\"),r_(o,\"toggleItalic\",_Ge,[pp.CtrlCmd|Pp.KeyI],\"Toggle italic\"),r_(o,\"toggleCodeSpan\",gGe,[pp.CtrlCmd|Pp.Backquote],\"Toggle code span\"),r_(o,\"toggleStrikethrough\",mGe,[pp.Alt|Pp.KeyS],\"Toggle strikethrough\"),r_(o,\"toggleMath\",wGe,[pp.CtrlCmd|Pp.KeyM],\"Toggle math\"),r_(o,\"toggleMathReverse\",SGe,[pp.CtrlCmd|pp.Shift|Pp.KeyM],\"Toggle math reverse\"),r_(o,\"toggleHeadingUp\",yGe,[pp.WinCtrl|pp.Shift|Pp.BracketLeft],\"Heading up\"),r_(o,\"toggleHeadingDown\",bGe,[pp.WinCtrl|pp.Shift|Pp.BracketRight],\"Heading down\"),r_(o,\"toggleList\",xGe,[pp.CtrlCmd|Pp.KeyL],\"Toggle list\")}function fGe(o){return _O(o,\"**\")}function _Ge(o){return _O(o,\"*\")}function gGe(o){return _O(o,\"`\")}function mGe(o){return _O(o,\"~~\")}const e3=\"######\";function yGe(o){let e=o.selection.active.line,t=o.document.lineAt(e).text;return o.edit(n=>{if(!t.startsWith(\"#\"))n.insert(new xl(e,0),\"# \");else if(t.startsWith(e3)){let i=t.startsWith(e3+\" \")?e3.length+1:e3.length;n.delete(new ql(new xl(e,0),new xl(e,i)))}else n.insert(new xl(e,0),\"#\")})}function bGe(o){let e=o.selection.active.line,t=o.document.lineAt(e).text;o.edit(n=>{t.startsWith(\"# \")?n.delete(new ql(new xl(e,0),new xl(e,2))):t.startsWith(\"#\")?n.delete(new ql(new xl(e,0),new xl(e,1))):n.insert(new xl(e,0),e3+\" \")})}function vGe(o,e){return pP(o,e,\"$\")===\"$|$\"?1:pP(o,e,\"$$ \",\" $$\")===\"$$ | $$\"?2:o.document.lineAt(e.line).text===\"\"&&e.line>0&&o.document.lineAt(e.line-1).text===\"$$\"&&e.line<o.document.lineCount-1&&o.document.lineAt(e.line+1).text===\"$$\"?3:0}function CGe(o,e,t,n){o.edit(i=>{let s;switch(t){case 0:s=new ql(e,e);break;case 1:s=new ql(new xl(e.line,e.character-1),new xl(e.line,e.character+1));break;case 2:s=new ql(new xl(e.line,e.character-3),new xl(e.line,e.character+3));break;case 3:s=new ql(new xl(e.line-1,0),new xl(e.line+1,2));break}i.delete(s)}).then(()=>{o.edit(i=>{let s=o.selection.active,a;switch(n){case 0:a=\"\";break;case 1:a=\"$$\";break;case 2:a=\"$$  $$\";break;case 3:a=`$$\n\n$$`;break}i.insert(s,a)}).then(()=>{let i=o.selection.active,s;switch(n){case 0:s=i;break;case 1:s=i.with(i.line,i.character-1);break;case 2:s=i.with(i.line,i.character-3);break;case 3:s=i.with(i.line-1,0);break}o.selection=new Dm(s,s)})})}const oge=[0,1,3,2],DGe=new Array(...oge).reverse();function wGe(o){age(o,oge)}function SGe(o){age(o,DGe)}function age(o,e){if(!o.selection.isEmpty)return;let t=o.selection.active,n=vGe(o,t),i=e.indexOf(n);CGe(o,t,n,e[(i+1)%e.length])}function xGe(o){const e=o.document;let t=new fO;return o.selections.forEach(n=>{if(n.isEmpty)Cle(e,n.active.line,t);else for(let i=n.start.line;i<=n.end.line;i++)Cle(e,i,t)}),o.applyEdit(t,[]).then(()=>B1(o))}function Cle(o,e,t){const n=o.lineAt(e).text,i=n.trim().length===0?n.length:n.indexOf(n.trim()),s=n.substr(i);s.startsWith(\"- \")?t.replace(o.uri,new ql(e,i,e,i+2),\"* \"):s.startsWith(\"* \")?t.replace(o.uri,new ql(e,i,e,i+2),\"+ \"):s.startsWith(\"+ \")?t.replace(o.uri,new ql(e,i,e,i+2),\"1. \"):/^\\d\\. /.test(s)?t.replace(o.uri,new ql(e,i+1,e,i+2),\")\"):/^\\d\\) /.test(s)?t.delete(o.uri,new ql(e,i,e,i+3)):t.insert(o.uri,new xl(e,i),\"- \")}function _O(o,e,t){t==null&&(t=e);let n=o.selections,i=new fO,s=[],a=n.slice();n.forEach((u,d)=>{let h=u.active;const p=s.map(([g,y])=>u.start.line==g.line&&u.start.character>=g.character?y:0).reduce((g,y)=>g+y,0);if(u.isEmpty)if(e!==\"~~\"&&pP(o,h,e)===`${e}text|${t}`){let g=h.with({character:h.character+p+t.length});a[d]=new Dm(g,g);return}else if(pP(o,h,e)===`${e}|${t}`){let g=h.with({character:h.character-e.length}),y=h.with({character:h.character+t.length});t$(o,i,s,a,d,p,h,new ql(g,y),!1,e)}else{let g=o.document.getWordRangeAtPosition(h);g==null&&(g=u);const y=o.document.lineAt(h.line);e===\"~~\"&&/^\\s*[\\*\\+\\-] (\\[[ x]\\] )? */g.test(y.text)&&(g=y.range.with(new xl(h.line,y.text.match(/^\\s*[\\*\\+\\-] (\\[[ x]\\] )? */g)[0].length))),t$(o,i,s,a,d,p,h,g,!1,e)}else t$(o,i,s,a,d,p,h,u,!0,e)});const l=o.selection&&!o.selection.isEmpty;return o.applyEdit(i,a).then(()=>{l||(o.selections=a)})}function t$(o,e,t,n,i,s,a,l,u,d,h){h==null&&(h=d);let p=o.document.getText(l);const g=n[i],y=(d+h).length;let D=a.with({character:a.character+s}),T;EGe(p,d)?(e.replace(o.document.uri,l,p.substr(d.length,p.length-y)),t.push([l.end,-y]),u?T=new Dm(g.start.with({character:g.start.character+s}),g.end.with({character:g.end.character+s-y})):(l.isEmpty?D=a.with({character:a.character+s+d.length}):a.character==l.end.character?D=a.with({character:a.character+s-y}):D=a.with({character:a.character+s-d.length}),T=new Dm(D,D))):(e.replace(o.document.uri,l,d+p+h),t.push([l.end,y]),u?T=new Dm(g.start.with({character:g.start.character+s}),g.end.with({character:g.end.character+s+y})):(l.isEmpty?D=a.with({character:a.character+s+d.length}):a.character==l.end.character?D=a.with({character:a.character+s+y}):D=a.with({character:a.character+s+d.length}),T=new Dm(D,D))),n[i]=T}function EGe(o,e,t){return t==null&&(t=e),o.startsWith(e)&&o.endsWith(t)}function pP(o,e,t,n){n==null&&(n=t);let i=e.character-t.length,s=e.character+n.length;i<0&&(i=0);let a=o.document.getText(new ql(e.line,i,e.line,e.character));return o.document.getText(new ql(e.line,e.character,e.line,s))==n?a==t?`${t}|${n}`:`${t}text|${n}`:\"|\"}function TGe(o){return o.source===\"^\"||o.source===\"^$\"||o.source===\"$\"||o.source===\"^\\\\s*$\"?!1:!!(o.exec(\"\")&&o.lastIndex===0)}const AGe=\"`~!@#$%^&*()-=+[{]}\\\\|;:'\\\",.<>/?\";function kGe(o=\"\"){let e=\"(-?\\\\d*\\\\.\\\\d\\\\w*)|([^\";for(const t of AGe)o.indexOf(t)>=0||(e+=\"\\\\\"+t);return e+=\"\\\\s]+)\",new RegExp(e,\"g\")}const LGe=kGe();function NGe(o){let e=LGe;if(o&&o instanceof RegExp)if(o.global)e=o;else{let t=\"g\";o.ignoreCase&&(t+=\"i\"),o.multiline&&(t+=\"m\"),o.unicode&&(t+=\"u\"),e=new RegExp(o.source,t)}return e.lastIndex=0,e}function IGe(o,e,t,n){let i=o-1-n,s=t.lastIndexOf(\" \",i-1)+1;e.lastIndex=s;let a;for(;a=e.exec(t);){const l=a.index||0;if(l<=i&&e.lastIndex>=i)return{word:a[0],startColumn:n+1+l,endColumn:n+1+e.lastIndex}}return null}function FGe(o,e,t,n){let i=o-1-n;e.lastIndex=0;let s;for(;s=e.exec(t);){const a=s.index||0;if(a>i)return null;if(e.lastIndex>=i)return{word:s[0],startColumn:n+1+a,endColumn:n+1+e.lastIndex}}return null}function PGe(o,e,t,n){e.lastIndex=0;let i=e.exec(t);if(!i)return null;const s=i[0].indexOf(\" \")>=0?FGe(o,e,t,n):IGe(o,e,t,n);return e.lastIndex=0,s}var Y2;(o=>{function e(n){const{selectionStartLineNumber:i,selectionStartColumn:s,positionLineNumber:a,positionColumn:l}=n,u=new xl(i-1,s-1),d=new xl(a-1,l-1);return new Dm(u,d)}o.to=e;function t(n){const{anchor:i,active:s}=n;return new tpe(i.line+1,i.character+1,s.line+1,s.character+1)}o.from=t})(Y2||(Y2={}));var U1;(o=>{function e(n){if(!n)return;const{start:i,end:s}=n;return new epe(i.line+1,i.character+1,s.line+1,s.character+1)}o.from=e;function t(n){if(!n)return;const{startLineNumber:i,startColumn:s,endLineNumber:a,endColumn:l}=n;return new ql(i-1,s-1,a-1,l-1)}o.to=t})(U1||(U1={}));var YL;(o=>{function e(n){return new xl(n.lineNumber-1,n.column-1)}o.to=e;function t(n){return{lineNumber:n.line+1,column:n.character+1}}o.from=t})(YL||(YL={}));var Dle;(o=>{function e(n){if(n===R1.CRLF)return vm.EndOfLineSequence.CRLF;if(n===R1.LF)return vm.EndOfLineSequence.LF}o.from=e;function t(n){if(n===vm.EndOfLineSequence.CRLF)return R1.CRLF;if(n===vm.EndOfLineSequence.LF)return R1.LF}o.to=t})(Dle||(Dle={}));var fq;(o=>{function e(t){let n=[];for(const i of t._allEntries()){const[s,a]=i;if(Array.isArray(a))for(const l of a)n.push({range:U1.from(l.range),text:l.newText,forceMoveMarkers:!1});else throw new Error(\"Not implemented for \"+s)}return n}o.from=e})(fq||(fq={}));const lge=new Map;function OGe(o,e){lge.set(o,e)}function wle(o){return lge.get(o)}function MGe(o,e,t){switch(t){case Zk.Default:case void 0:o.revealRange(e,vm.ScrollType.Smooth);break;case Zk.InCenter:o.revealRangeInCenter(e,vm.ScrollType.Smooth);break;case Zk.InCenterIfOutsideViewport:o.revealRangeInCenterIfOutsideViewport(e,vm.ScrollType.Smooth);break;case Zk.AtTop:o.revealRangeAtTop(e,vm.ScrollType.Smooth);break;default:console.warn(`Unknown revealType: ${t}`);break}}class kY{constructor(e){cl(this,\"uri\");cl(this,\"version\");cl(this,\"model\");cl(this,\"_textLines\",[]);cl(this,\"languageId\");this.model=e,this.languageId=uge(e)}get eol(){switch(this.model.getEOL()){case`\n`:return R1.LF;case`\\r\n`:return R1.CRLF;default:throw new Error(\"invalid argument\")}}get fileName(){return\"\"}get isClosed(){return!1}get isDirty(){return!1}get isUntitled(){return!0}get lineCount(){return this.model.getLineCount()}get _lines(){return this.model.getLinesContent()}getText(e){return e?this.model.getValueInRange(U1.from(e)):this.model.getValue()}lineAt(e){let t;if(e instanceof xl?t=e.line:typeof e==\"number\"&&(t=e),typeof t!=\"number\"||t<0||t>=this._lines.length)throw new Error(\"Illegal value for `line`\");let n=this._textLines[t];if(!n||n.lineNumber!==t||n.text!==this._lines[t]){const i=this._lines[t],s=/^(\\s*)/.exec(i)[1].length,a=new ql(t,0,t,i.length),l=t<this._lines.length-1?new ql(t,0,t+1,0):a;n=Object.freeze({lineNumber:t,range:a,rangeIncludingLineBreak:l,text:i,firstNonWhitespaceCharacterIndex:s,isEmptyOrWhitespace:s===i.length}),this._textLines[t]=n}return n}offsetAt(e){return this.model.getOffsetAt(YL.from(e))}positionAt(e){return YL.to(this.model.getPositionAt(e))}save(){throw new Error(\"Not implemented\")}validateRange(e){if(!(e instanceof ql))throw new Error(\"Invalid argument\");const t=this.validatePosition(e.start),n=this.validatePosition(e.end);return t===e.start&&n===e.end?e:new ql(t.line,t.character,n.line,n.character)}validatePosition(e){if(!(e instanceof xl))throw new Error(\"Invalid argument\");let{line:t,character:n}=e,i=!1;if(t<0)t=0,n=0,i=!0;else if(t>=this._lines.length)t=this._lines.length-1,n=this._lines[t].length,i=!0;else{const s=this._lines[t].length;n<0?(n=0,i=!0):n>s&&(n=s,i=!0)}return i?new xl(t,n):e}getWordRangeAtPosition(e,t){const n=this.validatePosition(e);t?TGe(t)&&(console.warn(`[getWordRangeAtPosition]: ignoring custom regexp '${t.source}' because it matches the empty string.`),t=wle(this.languageId)):t=wle(this.languageId);const i=PGe(n.character+1,NGe(t),this._lines[n.line],0);if(i)return new ql(n.line,i.startColumn-1,n.line,i.endColumn-1)}}function uge(o){return o.getLanguageId()}class RGe{constructor(e){cl(this,\"editor\");cl(this,\"_disposed\",!1);this.editor=e}get languageId(){return uge(this.editor.getModel())}get document(){return new kY(this.editor.getModel())}get selection(){return Y2.to(this.editor.getSelection())}set selection(e){this.editor.setSelection(Y2.from(e))}get selections(){return this.editor.getSelections().map(e=>Y2.to(e))}set selections(e){this.editor.setSelections(e.map(t=>Y2.from(t)))}get visibleRanges(){return this.editor.getVisibleRanges().map(e=>U1.to(e))}edit(e,t={undoStopBefore:!0,undoStopAfter:!0}){if(this._disposed)return Promise.reject(new Error(\"TextEditor#edit not possible on closed editors\"));const n=new jGe(this.document,t);return e(n),this._applyEdit(n)}_applyEdit(e){const t=e.finalize();if(t.edits.length===0&&!t.setEndOfLine)return Promise.resolve(null);const n=t.edits.map(s=>s.range);n.sort((s,a)=>s.end.line===a.end.line?s.end.character===a.end.character?s.start.line===a.start.line?s.start.character-a.start.character:s.start.line-a.start.line:s.end.character-a.end.character:s.end.line-a.end.line);for(let s=0,a=n.length-1;s<a;s++){const l=n[s].end;if(n[s+1].start.isBefore(l))return Promise.reject(new Error(\"Overlapping ranges are not allowed!\"))}const i=t.edits.map(s=>({range:U1.from(s.range),text:s.text,forceMoveMarkers:s.forceMoveMarkers}));return this.editor.getModel().pushEditOperations(this.editor.getSelections(),i,()=>[]),Promise.resolve(null)}revealRange(e,t){MGe(this.editor,U1.from(e),t)}applyEdit(e,t){return t||(t=[]),this.editor.getModel().pushEditOperations(this.editor.getSelections(),fq.from(e),()=>t.map(n=>Y2.from(n))),Promise.resolve(null)}addAction(e){this.editor.addAction(e)}executeCommand(e,...t){switch(e){case\"type\":return this.editor.trigger(\"keyboard\",e,t[0]),Promise.resolve();case\"tab\":case\"deleteLeft\":return this.editor.trigger(\"keyboard\",e,void 0),Promise.resolve();default:let n=this.editor.getAction(e);if(n&&n.isSupported())return n.run()}}getConfiguration(e){switch(e){case\"\":break;default:return new BGe}}}class BGe{get(e){}}class jGe{constructor(e,t){cl(this,\"_document\");cl(this,\"_documentVersionId\");cl(this,\"_undoStopBefore\");cl(this,\"_undoStopAfter\");cl(this,\"_collectedEdits\",[]);cl(this,\"_setEndOfLine\");cl(this,\"_finalized\",!1);this._document=e,this._documentVersionId=e.version,this._undoStopBefore=t.undoStopBefore,this._undoStopAfter=t.undoStopAfter}finalize(){return this._finalized=!0,{documentVersionId:this._documentVersionId,edits:this._collectedEdits,setEndOfLine:this._setEndOfLine,undoStopBefore:this._undoStopBefore,undoStopAfter:this._undoStopAfter}}_throwIfFinalized(){if(this._finalized)throw new Error(\"Edit is only valid while callback runs\")}replace(e,t){this._throwIfFinalized();let n=null;if(e instanceof xl)n=new ql(e,e);else if(e instanceof ql)n=e;else throw new Error(\"Unrecognized location\");this._pushEdit(n,t,!1)}insert(e,t){this._throwIfFinalized(),this._pushEdit(new ql(e,e),t,!0)}delete(e){this._throwIfFinalized();let t=null;if(e instanceof ql)t=e;else throw new Error(\"Unrecognized location\");this._pushEdit(t,null,!0)}_pushEdit(e,t,n){const i=this._document.validateRange(e);this._collectedEdits.push({range:i,text:t,forceMoveMarkers:n})}setEndOfLine(e){if(this._throwIfFinalized(),e!==R1.LF&&e!==R1.CRLF)throw new Error(\"Illegal argument endOfLine\");this._setEndOfLine=e}}function WGe(o){let e,t=o.getText().replace(/^```[\\W\\w]+?^```/gm,\"\").replace(/<!-- omit in (toc|TOC) -->/g,\"&lt; omit in toc &gt;\").replace(/<!--[\\W\\w]+?-->/,\"\").replace(/^---[\\W\\w]+?(\\r?\\n)---/,\"\").split(/\\r?\\n/g);return t.forEach((n,i,s)=>{i<s.length-1&&n.match(/^ {0,3}\\S.*$/)&&s[i+1].match(/^ {0,3}(=+|-{2,}) *$/)&&(s[i]=(s[i+1].includes(\"=\")?\"# \":\"## \")+n)}),e=t.filter(n=>n.startsWith(\"#\")&&n.includes(\"# \")&&!n.includes(\"&lt; omit in toc &gt;\")).map(n=>{let i=/^(#+) (.*)/.exec(n);return{level:i[1].length,text:i[2].replace(/#+$/,\"\").trim()}}),e}let VGe=[\"tilde\",\"mathring\",\"widetilde\",\"overgroup\",\"utilde\",\"undergroup\",\"acute\",\"vec\",\"Overrightarrow\",\"bar\",\"overleftarrow\",\"overrightarrow\",\"breve\",\"underleftarrow\",\"underrightarrow\",\"check\",\"overleftharpoon\",\"overrightharpoon\",\"dot\",\"overleftrightarrow\",\"overbrace\",\"ddot\",\"underleftrightarrow\",\"underbrace\",\"grave\",\"overline\",\"overlinesegment\",\"hat\",\"underline\",\"underlinesegment\",\"widehat\",\"widecheck\"],HGe=[\"lparen\",\"rparen\",\"lceil\",\"rceil\",\"uparrow\",\"lbrack\",\"rbrack\",\"lfloor\",\"rfloor\",\"downarrow\",\"updownarrow\",\"langle\",\"rangle\",\"lgroup\",\"rgroup\",\"Uparrow\",\"vert\",\"ulcorner\",\"urcorner\",\"Downarrow\",\"Vert\",\"llcorner\",\"lrcorner\",\"Updownarrow\",\"lvert\",\"rvert\",\"lVert\",\"rVert\",\"backslash\",\"lang\",\"rang\",\"lt\",\"gt\"],$Ge=[\"left\",\"big\",\"bigl\",\"bigm\",\"bigr\",\"middle\",\"Big\",\"Bigl\",\"Bigm\",\"Bigr\",\"right\",\"bigg\",\"biggl\",\"biggm\",\"biggr\",\"Bigg\",\"Biggl\",\"Biggm\",\"Biggr\"],zGe=[\"Alpha\",\"Beta\",\"Gamma\",\"Delta\",\"Epsilon\",\"Zeta\",\"Eta\",\"Theta\",\"Iota\",\"Kappa\",\"Lambda\",\"Mu\",\"Nu\",\"Xi\",\"Omicron\",\"Pi\",\"Sigma\",\"Tau\",\"Upsilon\",\"Phi\",\"Chi\",\"Psi\",\"Omega\",\"varGamma\",\"varDelta\",\"varTheta\",\"varLambda\",\"varXi\",\"varPi\",\"varSigma\",\"varUpsilon\",\"varPhi\",\"varPsi\",\"varOmega\",\"alpha\",\"beta\",\"gamma\",\"delta\",\"epsilon\",\"zeta\",\"eta\",\"theta\",\"iota\",\"kappa\",\"lambda\",\"mu\",\"nu\",\"xi\",\"omicron\",\"pi\",\"rho\",\"sigma\",\"tau\",\"upsilon\",\"phi\",\"chi\",\"psi\",\"omega\",\"varepsilon\",\"varkappa\",\"vartheta\",\"thetasym\",\"varpi\",\"varrho\",\"varsigma\",\"varphi\",\"digamma\"],UGe=[\"imath\",\"nabla\",\"Im\",\"Reals\",\"jmath\",\"partial\",\"image\",\"wp\",\"aleph\",\"Game\",\"Bbbk\",\"weierp\",\"alef\",\"Finv\",\"N\",\"Z\",\"alefsym\",\"cnums\",\"natnums\",\"beth\",\"Complex\",\"R\",\"gimel\",\"ell\",\"Re\",\"daleth\",\"hbar\",\"real\",\"eth\",\"hslash\",\"reals\"],KGe=[\"cancel\",\"overbrace\",\"bcancel\",\"underbrace\",\"xcancel\",\"not =\",\"sout\",\"boxed\",\"tag\",\"tag*\"],qGe=[\"atop\"],GGe=[\"stackrel\",\"overset\",\"underset\",\"raisebox\"],JGe=[\"mathllap\",\"mathrlap\",\"mathclap\",\"llap\",\"rlap\",\"clap\",\"smash\"],YGe=[\"thinspace\",\"medspace\",\"thickspace\",\"enspace\",\"quad\",\"qquad\",\"negthinspace\",\"negmedspace\",\"nobreakspace\",\"negthickspace\"],XGe=[\"kern\",\"mkern\",\"mskip\",\"hskip\",\"hspace\",\"hspace*\",\"phantom\",\"hphantom\",\"vphantom\"],QGe=[\"forall\",\"complement\",\"therefore\",\"emptyset\",\"exists\",\"subset\",\"because\",\"empty\",\"exist\",\"supset\",\"mapsto\",\"varnothing\",\"nexists\",\"mid\",\"to\",\"implies\",\"in\",\"land\",\"gets\",\"impliedby\",\"isin\",\"lor\",\"leftrightarrow\",\"iff\",\"notin\",\"ni\",\"notni\",\"neg\",\"lnot\"],ZGe=[\"sum\",\"prod\",\"bigotimes\",\"bigvee\",\"int\",\"coprod\",\"bigoplus\",\"bigwedge\",\"iint\",\"intop\",\"bigodot\",\"bigcap\",\"iiint\",\"smallint\",\"biguplus\",\"bigcup\",\"oint\",\"oiint\",\"oiiint\",\"bigsqcup\"],eJe=[\"cdot\",\"gtrdot\",\"pmod\",\"cdotp\",\"intercal\",\"pod\",\"centerdot\",\"land\",\"rhd\",\"circ\",\"leftthreetimes\",\"rightthreetimes\",\"amalg\",\"circledast\",\"ldotp\",\"rtimes\",\"And\",\"circledcirc\",\"lor\",\"setminus\",\"ast\",\"circleddash\",\"lessdot\",\"smallsetminus\",\"barwedge\",\"Cup\",\"lhd\",\"sqcap\",\"bigcirc\",\"cup\",\"ltimes\",\"sqcup\",\"bmod\",\"curlyvee\",\"times\",\"boxdot\",\"curlywedge\",\"mp\",\"unlhd\",\"boxminus\",\"div\",\"odot\",\"unrhd\",\"boxplus\",\"divideontimes\",\"ominus\",\"uplus\",\"boxtimes\",\"dotplus\",\"oplus\",\"vee\",\"bullet\",\"doublebarwedge\",\"otimes\",\"veebar\",\"Cap\",\"doublecap\",\"oslash\",\"wedge\",\"cap\",\"doublecup\",\"pm\",\"plusmn\",\"wr\"],tJe=[\"over\",\"above\"],nJe=[\"frac\",\"dfrac\",\"tfrac\",\"cfrac\",\"genfrac\"],iJe=[\"choose\"],rJe=[\"binom\",\"dbinom\",\"tbinom\",\"brace\",\"brack\"],sJe=[\"arcsin\",\"cotg\",\"ln\",\"det\",\"arccos\",\"coth\",\"log\",\"gcd\",\"arctan\",\"csc\",\"sec\",\"inf\",\"arctg\",\"ctg\",\"sin\",\"lim\",\"arcctg\",\"cth\",\"sinh\",\"liminf\",\"arg\",\"deg\",\"sh\",\"limsup\",\"ch\",\"dim\",\"tan\",\"max\",\"cos\",\"exp\",\"tanh\",\"min\",\"cosec\",\"hom\",\"tg\",\"Pr\",\"cosh\",\"ker\",\"th\",\"sup\",\"cot\",\"lg\",\"argmax\",\"argmin\",\"limits\"],oJe=[\"operatorname\"],aJe=[\"sqrt\"],lJe=[\"eqcirc\",\"lesseqgtr\",\"sqsupset\",\"eqcolon\",\"lesseqqgtr\",\"sqsupseteq\",\"Eqcolon\",\"lessgtr\",\"Subset\",\"eqqcolon\",\"lesssim\",\"subset\",\"approx\",\"Eqqcolon\",\"ll\",\"subseteq\",\"sube\",\"approxeq\",\"eqsim\",\"lll\",\"subseteqq\",\"asymp\",\"eqslantgtr\",\"llless\",\"succ\",\"backepsilon\",\"eqslantless\",\"lt\",\"succapprox\",\"backsim\",\"equiv\",\"mid\",\"succcurlyeq\",\"backsimeq\",\"fallingdotseq\",\"models\",\"succeq\",\"between\",\"frown\",\"multimap\",\"succsim\",\"bowtie\",\"ge\",\"owns\",\"Supset\",\"bumpeq\",\"geq\",\"parallel\",\"supset\",\"Bumpeq\",\"geqq\",\"perp\",\"supseteq\",\"circeq\",\"geqslant\",\"pitchfork\",\"supseteqq\",\"colonapprox\",\"gg\",\"prec\",\"thickapprox\",\"Colonapprox\",\"ggg\",\"precapprox\",\"thicksim\",\"coloneq\",\"gggtr\",\"preccurlyeq\",\"trianglelefteq\",\"Coloneq\",\"gt\",\"preceq\",\"triangleq\",\"coloneqq\",\"gtrapprox\",\"precsim\",\"trianglerighteq\",\"Coloneqq\",\"gtreqless\",\"propto\",\"varpropto\",\"colonsim\",\"gtreqqless\",\"risingdotseq\",\"vartriangle\",\"Colonsim\",\"gtrless\",\"shortmid\",\"vartriangleleft\",\"cong\",\"gtrsim\",\"shortparallel\",\"vartriangleright\",\"curlyeqprec\",\"in\",\"sim\",\"vcentcolon\",\"curlyeqsucc\",\"Join\",\"simeq\",\"vdash\",\"dashv\",\"le\",\"smallfrown\",\"vDash\",\"dblcolon\",\"leq\",\"smallsmile\",\"Vdash\",\"doteq\",\"leqq\",\"smile\",\"Vvdash\",\"Doteq\",\"leqslant\",\"sqsubset\",\"doteqdot\",\"lessapprox\",\"sqsubseteq\"],uJe=[\"gnapprox\",\"ngeqslant\",\"nsubseteq\",\"precneqq\",\"gneq\",\"ngtr\",\"nsubseteqq\",\"precnsim\",\"gneqq\",\"nleq\",\"nsucc\",\"subsetneq\",\"gnsim\",\"nleqq\",\"nsucceq\",\"subsetneqq\",\"gvertneqq\",\"nleqslant\",\"nsupseteq\",\"succnapprox\",\"lnapprox\",\"nless\",\"nsupseteqq\",\"succneqq\",\"lneq\",\"nmid\",\"ntriangleleft\",\"succnsim\",\"lneqq\",\"notin\",\"ntrianglelefteq\",\"supsetneq\",\"lnsim\",\"notni\",\"ntriangleright\",\"supsetneqq\",\"lvertneqq\",\"nparallel\",\"ntrianglerighteq\",\"varsubsetneq\",\"ncong\",\"nprec\",\"nvdash\",\"varsubsetneqq\",\"ne\",\"npreceq\",\"nvDash\",\"varsupsetneq\",\"neq\",\"nshortmid\",\"nVDash\",\"varsupsetneqq\",\"ngeq\",\"nshortparallel\",\"nVdash\",\"ngeqq\",\"nsim\",\"precnapprox\"],cJe=[\"circlearrowleft\",\"leftharpoonup\",\"rArr\",\"circlearrowright\",\"leftleftarrows\",\"rarr\",\"curvearrowleft\",\"leftrightarrow\",\"restriction\",\"curvearrowright\",\"Leftrightarrow\",\"rightarrow\",\"Darr\",\"leftrightarrows\",\"Rightarrow\",\"dArr\",\"leftrightharpoons\",\"rightarrowtail\",\"darr\",\"leftrightsquigarrow\",\"rightharpoondown\",\"dashleftarrow\",\"Lleftarrow\",\"rightharpoonup\",\"dashrightarrow\",\"longleftarrow\",\"rightleftarrows\",\"downarrow\",\"Longleftarrow\",\"rightleftharpoons\",\"Downarrow\",\"longleftrightarrow\",\"rightrightarrows\",\"downdownarrows\",\"Longleftrightarrow\",\"rightsquigarrow\",\"downharpoonleft\",\"longmapsto\",\"Rrightarrow\",\"downharpoonright\",\"longrightarrow\",\"Rsh\",\"gets\",\"Longrightarrow\",\"searrow\",\"Harr\",\"looparrowleft\",\"swarrow\",\"hArr\",\"looparrowright\",\"to\",\"harr\",\"Lrarr\",\"twoheadleftarrow\",\"hookleftarrow\",\"lrArr\",\"twoheadrightarrow\",\"hookrightarrow\",\"lrarr\",\"Uarr\",\"iff\",\"Lsh\",\"uArr\",\"impliedby\",\"mapsto\",\"uarr\",\"implies\",\"nearrow\",\"uparrow\",\"Larr\",\"nleftarrow\",\"Uparrow\",\"lArr\",\"nLeftarrow\",\"updownarrow\",\"larr\",\"nleftrightarrow\",\"Updownarrow\",\"leadsto\",\"nLeftrightarrow\",\"upharpoonleft\",\"leftarrow\",\"nrightarrow\",\"upharpoonright\",\"Leftarrow\",\"nRightarrow\",\"upuparrows\",\"leftarrowtail\",\"nwarrow\",\"leftharpoondown\",\"Rarr\"],dJe=[\"xleftarrow\",\"xrightarrow\",\"xLeftarrow\",\"xRightarrow\",\"xleftrightarrow\",\"xLeftrightarrow\",\"xhookleftarrow\",\"xhookrightarrow\",\"xtwoheadleftarrow\",\"xtwoheadrightarrow\",\"xleftharpoonup\",\"xrightharpoonup\",\"xleftharpoondown\",\"xrightharpoondown\",\"xleftrightharpoons\",\"xrightleftharpoons\",\"xtofrom\",\"xmapsto\",\"xlongequal\"],hJe=[\"mathbin\",\"mathclose\",\"mathinner\",\"mathop\",\"mathopen\",\"mathord\",\"mathpunct\",\"mathrel\"],pJe=[\"color\",\"textcolor\",\"colorbox\"],fJe=[\"rm\",\"bf\",\"it\",\"sf\",\"tt\"],_Je=[\"mathrm\",\"mathbf\",\"mathit\",\"mathnormal\",\"textbf\",\"textit\",\"textrm\",\"bold\",\"Bbb\",\"textnormal\",\"boldsymbol\",\"mathbb\",\"text\",\"bm\",\"frak\",\"mathsf\",\"mathtt\",\"mathfrak\",\"textsf\",\"texttt\",\"mathcal\",\"mathscr\"],gJe=[\"Huge\",\"huge\",\"LARGE\",\"Large\",\"large\",\"normalsize\",\"small\",\"footnotesize\",\"scriptsize\",\"tiny\"],mJe=[\"displaystyle\",\"textstyle\",\"scriptstyle\",\"scriptscriptstyle\",\"limits\",\"nolimits\",\"verb\"],yJe=[\"cdots\",\"LaTeX\",\"ddots\",\"TeX\",\"ldots\",\"nabla\",\"vdots\",\"infty\",\"dotsb\",\"infin\",\"dotsc\",\"checkmark\",\"dotsi\",\"dag\",\"dotsm\",\"dagger\",\"dotso\",\"sdot\",\"ddag\",\"mathellipsis\",\"ddagger\",\"Box\",\"Dagger\",\"lq\",\"square\",\"angle\",\"blacksquare\",\"measuredangle\",\"rq\",\"triangle\",\"sphericalangle\",\"triangledown\",\"top\",\"triangleleft\",\"bot\",\"triangleright\",\"colon\",\"bigtriangledown\",\"backprime\",\"bigtriangleup\",\"pounds\",\"prime\",\"blacktriangle\",\"mathsterling\",\"blacktriangledown\",\"blacktriangleleft\",\"yen\",\"blacktriangleright\",\"surd\",\"diamond\",\"degree\",\"Diamond\",\"lozenge\",\"mho\",\"blacklozenge\",\"diagdown\",\"star\",\"diagup\",\"bigstar\",\"flat\",\"clubsuit\",\"natural\",\"copyright\",\"clubs\",\"sharp\",\"circledR\",\"diamondsuit\",\"heartsuit\",\"diamonds\",\"hearts\",\"circledS\",\"spadesuit\",\"spades\",\"maltese\"],cge=Array.from(new Set([...HGe,...$Ge,...zGe,...UGe,...YGe,...qGe,...QGe,...ZGe,...eJe,...iJe,...tJe,...sJe,...lJe,...uJe,...cJe,...fJe,...gJe,...mJe,...yJe])),dge=Array.from(new Set([...VGe,...KGe,...JGe,...XGe,...oJe,...aJe,...dJe,..._Je,...hJe])),hge=Array.from(new Set([...GGe,...rJe,...nJe,...pJe])),bJe=[\"begin\",\"end\"],vJe=[\"aligned\",\"alignedat\",\"array\",\"bmatrix\",\"Bmatrix\",\"cases\",\"darray\",\"dcases\",\"gathered\",\"matrix\",\"pmatrix\",\"vmatrix\",\"Vmatrix\"],CJe=[...cge,...dge,...hge,...bJe].map(o=>\"\\\\\"+o),Sle=!1;function DJe(o){if(!Sle){let e=new wJe;cf.registerCompletionItemProvider(o.languageId,e),Sle=!0}}function ax(o){return{suggestions:o.map((e,t)=>Object.assign({},e))}}function lx(o,e){return{label:o,kind:e,additionalTextEdits:void 0,command:void 0,commitCharacters:void 0,detail:void 0,documentation:void 0,filterText:void 0,insertTextRules:void 0,preselect:!1,range:void 0,sortText:void 0,insertText:void 0}}class wJe{constructor(){cl(this,\"triggerCharacters\",[\"(\",\"\\\\\",\"/\",\"[\",\"#\"]);cl(this,\"mathCompletions\");let e=cge.map(s=>{let a=lx(\"\\\\\"+s,cf.CompletionItemKind.Function);return a.insertText=s,a}),t=dge.map(s=>{let a=lx(\"\\\\\"+s,cf.CompletionItemKind.Function);return a.insertText=new db(`${s}{$1}`).value,a.insertTextRules=cf.CompletionItemInsertTextRule.InsertAsSnippet,a}),n=hge.map(s=>{let a=lx(\"\\\\\"+s,cf.CompletionItemKind.Function);return a.insertText=new db(`${s}{$1}{$2}`).value,a.insertTextRules=cf.CompletionItemInsertTextRule.InsertAsSnippet,a}),i=lx(\"\\\\begin\",cf.CompletionItemKind.Snippet);i.insertText=new db(`begin{\\${1|aligned,alignedat,array,bmatrix,Bmatrix,cases,darray,dcases,gathered,matrix,pmatrix,vmatrix,Vmatrix|}}\n\t$2\n\\\\end{$1}`).value,i.insertTextRules=cf.CompletionItemInsertTextRule.InsertAsSnippet,this.mathCompletions=[...e,...t,...n,i],this.mathCompletions.forEach(s=>{s.sortText=(typeof s.label==\"string\"?s.label:s.label.label).replace(/[a-zA-Z]/g,a=>/[a-z]/.test(a)?`0${a}`:`1${a.toLowerCase()}`)})}provideCompletionItems(e,t,n,i){let s=new kY(e),a=YL.to(t);const l=s.lineAt(a.line).text.substring(0,a.character),u=s.lineAt(a.line).text.substring(a.character);let d;if((d=l.match(/\\\\[^$]*$/))!==null){if(/(^|[^\\$])\\$(|[^ \\$].*)\\\\\\w*$/.test(l)&&u.includes(\"$\"))return ax(this.mathCompletions);{const h=s.getText(new ql(new xl(0,0),a)),p=s.getText().substr(s.offsetAt(a));return(d=h.match(/\\$\\$/g))!==null&&d.length%2!==0&&p.includes(\"$$\")?ax(this.mathCompletions):ax([])}}else if(/\\[[^\\]]*?\\]\\[[^\\]]*$/.test(l)){let h=l.lastIndexOf(\"[\");const p=new ql(a.with({character:h+1}),a);return new Promise((g,y)=>{const D=s.getText().split(/\\r?\\n/),T=D.reduce((I,F)=>{let q;const re=/\\[[^\\]]+\\]\\[([^\\]]*?)\\]/g;for(;(q=re.exec(F))!==null;){let Ie=q[1];I.has(Ie)||I.set(Ie,0),I.set(Ie,I.get(Ie)+1)}return I},new Map);let k=D.reduce((I,F)=>{let q;if((q=/^\\[([^\\]]*?)\\]: (\\S*)( .*)?/.exec(F))!==null){const re=q[1];let Ie=lx(re,cf.CompletionItemKind.Reference);const mt=T.get(re)||0;Ie.insertText=re,Ie.documentation={value:q[2]},Ie.detail=mt===1?\"1 usage\":`${mt} usages`,Ie.sortText=mt===0?`0-${re}`:Ie.sortText=`1-${re}`,Ie.range=U1.from(p),I.push(Ie)}return I},[]);g(ax(k))})}else if(/\\[[^\\]]*\\]\\(#[^\\)]*$/.test(l)){let h=l.lastIndexOf(\"(\"),p=a,g=!1;if(/^([^\\) ]+\\s*|^\\s*)\\)/.test(u))p=a.with({character:+p.character+u.indexOf(\")\")});else{let D=0;for(;D<u.length&&` \t\n\\r\\v`.indexOf(u.charAt(D))!=-1;)D++;p=a.with({character:+p.character+D}),g=!0}const y=new ql(a.with({character:h+1}),p);return new Promise((D,T)=>{const I=WGe(s).reduce((F,q)=>{let re=lx(\"#\"+rGe(q.text),cf.CompletionItemKind.Reference),Ie=typeof re.label==\"string\"?re.label:re.label.label;return g?re.insertText=Ie+\")\":re.insertText=Ie,re.documentation=q.text,re.range=U1.from(y),F.push(re),F},[]);D(ax(I))})}else return ax([])}}function SJe(o){cf.registerDocumentFormattingEditProvider(o.languageId,new xJe)}class xJe{provideDocumentFormattingEdits(e,t,n){let i=[],s=new kY(e),a=this.detectTables(s.getText());return a!==null?(a.forEach(l=>{i.push({range:U1.from(this.getRange(s,l)),text:this.formatTable(l,s,t)})}),i):[]}detectTables(e){const t=\"\\\\r?\\\\n\",n=\"\\\\|?.*\\\\|.*\\\\|?\",i=\"[ \\\\t]*\\\\|?( *:?-+:? *\\\\|)+( *:?-+:? *\\\\|?)[ \\\\t]*\",s=new RegExp(n+t+i+\"(?:\"+t+n+\")*\",\"g\");return e.match(s)}getRange(e,t){let n=e.getText(),i=e.positionAt(n.indexOf(t)),s=e.positionAt(n.indexOf(t)+t.length);return new ql(i,s)}getTableIndentation(e,t){let n=!0,i=new RegExp(/^(\\s*)\\S/u),a=e.match(i)[1].length,l=Math.round(a/t.tabSize);return n?\" \".repeat(t.tabSize*l):\" \".repeat(a)}formatTable(e,t,n){let i=this.getTableIndentation(e,n),s=[],a=new RegExp(/^\\s*(\\S.*)$/gum),l=null;for(;(l=a.exec(e))!==null;)s.push(l[1].trim());let u=[],d=[],h=new RegExp(/(?:((?:\\\\\\||`.*?`|[^\\|])*)\\|)/gu),p=/[\\u3000-\\u9fff\\uff01-\\uff60]/g,g=s.map((y,D)=>{y.startsWith(\"|\")&&(y=y.slice(1)),y.endsWith(\"|\")||(y=y+\"|\");let T=null,k=[],I=0;for(;(T=h.exec(y))!==null;){let F=T[1].trim();if(k.push(F),D!=1){let q=p.test(F)?F.length+F.match(p).length:F.length;u[I]=u[I]>q?u[I]:q}I++}return k});return g[1]=g[1].map((y,D)=>{if(/:-+:/.test(y))return u[D]=Math.max(u[D],5),d[D]=\"c\",\":\"+\"-\".repeat(u[D]-2)+\":\";if(/:-+/.test(y))return u[D]=Math.max(u[D],4),d[D]=\"l\",\":\"+\"-\".repeat(u[D]-1);if(/-+:/.test(y))return u[D]=Math.max(u[D],4),d[D]=\"r\",\"-\".repeat(u[D]-1)+\":\";if(/-+/.test(y))return u[D]=Math.max(u[D],3),d[D]=\"l\",\"-\".repeat(u[D]);d[D]=\"l\"}),g.map(y=>{let D=y.map((T,k)=>{let I=u[k];return p.test(T)&&(I-=T.match(p).length),this.alignText(T,d[k],I)});return i+\"| \"+D.join(\" | \")+\" |\"}).join(t.eol===R1.LF?`\n`:`\\r\n`)}alignText(e,t,n){return t===\"c\"&&n>e.length?(\" \".repeat(Math.floor((n-e.length)/2))+e+\" \".repeat(n)).slice(0,n):t===\"r\"?(\" \".repeat(n)+e).slice(-n):(e+\" \".repeat(n)).slice(0,n)}}let pge={};function EJe(o){const e=pge[o].loader;return e().then(t=>{cf.setMonarchTokensProvider(o,t.language),cf.setLanguageConfiguration(o,t.conf)})}let n$={};function TJe(o){return n$[o]||(n$[o]=EJe(o)),n$[o]}function AJe(o){let e=o.id;pge[e]=o,cf.register(o),cf.onLanguage(e,()=>{TJe(e)})}const kJe={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.*-->\")}}},LJe={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\"],latexKeywords:CJe,latexBeginKeywords:vJe,tokenizer:{root:[[/^(\\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\"}],[/(^\\${2})/,{token:\"comment.math\",next:\"math\",bracket:\"@open\"}],{include:\"@linecontent\"}],codeblock:[[/^\\s*~~~\\s*$/,{token:\"string\",next:\"@pop\"}],[/^\\s*```\\s*$/,{token:\"string\",next:\"@pop\"}],[/.*$/,\"variable.source\"]],codeblockgh:[[/```\\s*$/,{token:\"variable.source\",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\"],[/(\\$\\$)([^$]*)(\\$\\$)/,[{token:\"comment.math\",bracket:\"@open\"},{token:\"@rematch\",next:\"mathInline\",goBack:2},{token:\"comment.math\",bracket:\"@close\"}]],[/(\\$)([^$]+)(\\$)/,[{token:\"comment.math\",bracket:\"@open\"},{token:\"@rematch\",next:\"mathInline\",goBack:1},{token:\"comment.math\",bracket:\"@close\"}]],{include:\"html\"}],html:[[/<(\\w+)\\/>/,\"tag\"],[/<(\\w+)/,{cases:{\"@empty\":{token:\"tag\",next:\"@tag.$1\"},\"@default\":{token:\"tag\",next:\"@tag.$1\"}}}],[/<\\/(\\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\"}],[/</,\"\"]],math:[[/(\\${2})/,{token:\"comment.math\",next:\"@pop\",bracket:\"@close\"}],{include:\"latex\"}],mathInline:[[/\\${1,2}/,{token:\"comment.math\",next:\"@pop\",bracket:\"@close\"}],{include:\"latex\"}],latex:[[/(\\\\begin)({)/,[\"keyword\",{token:\"\",next:\"latexBeginArg\"}]],[/(\\\\end)({)/,[\"keyword\",{token:\"\",next:\"latexBeginArg\"}]],[/\\\\\\w+/,{cases:{\"@latexKeywords\":\"keyword\",\"@default\":\"\"}}]],latexBeginArg:[[/\\w+/,{cases:{\"@latexBeginKeywords\":\"keyword\",\"@default\":\"\"}}],[/}/,{token:\"\",next:\"@pop\",bracket:\"@close\"}]]}};function NJe(){AJe({id:\"markdown-math\",extensions:[\".md\",\".markdown\",\".mdown\",\".mkdn\",\".mkd\",\".mdwn\",\".mdtxt\",\".mdtext\"],aliases:[\"Markdown\",\"markdown\"],loader:()=>Promise.resolve({conf:kJe,language:LJe})})}class IJe{activate(e){let t=new RGe(e);pGe(t),oGe(t),DJe(t),SJe(t),OGe(t.languageId,/(-?\\d*\\.\\d\\w*)|([^\\!\\@\\#\\%\\^\\&\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s\\，\\。\\《\\》\\？\\；\\：\\‘\\“\\’\\”\\（\\）\\【\\】\\、]+)/g)}}NJe();var fge={exports:{}};(function(o,e){(function(t){o.exports=t()})(function(){var t=(et,We)=>()=>(We||et((We={exports:{}}).exports,We),We.exports),n=t((et,We)=>{var it=function(vt){return vt&&vt.Math==Math&&vt};We.exports=it(typeof globalThis==\"object\"&&globalThis)||it(typeof window==\"object\"&&window)||it(typeof self==\"object\"&&self)||it(typeof K1==\"object\"&&K1)||function(){return this}()||Function(\"return this\")()}),i=t((et,We)=>{We.exports=function(it){try{return!!it()}catch{return!0}}}),s=t((et,We)=>{var it=i();We.exports=!it(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),a=t((et,We)=>{var it=i();We.exports=!it(function(){var vt=function(){}.bind();return typeof vt!=\"function\"||vt.hasOwnProperty(\"prototype\")})}),l=t((et,We)=>{var it=a(),vt=Function.prototype.call;We.exports=it?vt.bind(vt):function(){return vt.apply(vt,arguments)}}),u=t(et=>{var We={}.propertyIsEnumerable,it=Object.getOwnPropertyDescriptor,vt=it&&!We.call({1:2},1);et.f=vt?function(At){var en=it(this,At);return!!en&&en.enumerable}:We}),d=t((et,We)=>{We.exports=function(it,vt){return{enumerable:!(it&1),configurable:!(it&2),writable:!(it&4),value:vt}}}),h=t((et,We)=>{var it=a(),vt=Function.prototype,At=vt.call,en=it&&vt.bind.bind(At,At);We.exports=it?en:function(gt){return function(){return At.apply(gt,arguments)}}}),p=t((et,We)=>{var it=h(),vt=it({}.toString),At=it(\"\".slice);We.exports=function(en){return At(vt(en),8,-1)}}),g=t((et,We)=>{var it=h(),vt=i(),At=p(),en=Object,gt=it(\"\".split);We.exports=vt(function(){return!en(\"z\").propertyIsEnumerable(0)})?function(_i){return At(_i)==\"String\"?gt(_i,\"\"):en(_i)}:en}),y=t((et,We)=>{We.exports=function(it){return it==null}}),D=t((et,We)=>{var it=y(),vt=TypeError;We.exports=function(At){if(it(At))throw vt(\"Can't call method on \"+At);return At}}),T=t((et,We)=>{var it=g(),vt=D();We.exports=function(At){return it(vt(At))}}),k=t((et,We)=>{var it=typeof document==\"object\"&&document.all,vt=typeof it>\"u\"&&it!==void 0;We.exports={all:it,IS_HTMLDDA:vt}}),I=t((et,We)=>{var it=k(),vt=it.all;We.exports=it.IS_HTMLDDA?function(At){return typeof At==\"function\"||At===vt}:function(At){return typeof At==\"function\"}}),F=t((et,We)=>{var it=I(),vt=k(),At=vt.all;We.exports=vt.IS_HTMLDDA?function(en){return typeof en==\"object\"?en!==null:it(en)||en===At}:function(en){return typeof en==\"object\"?en!==null:it(en)}}),q=t((et,We)=>{var it=n(),vt=I(),At=function(en){return vt(en)?en:void 0};We.exports=function(en,gt){return arguments.length<2?At(it[en]):it[en]&&it[en][gt]}}),re=t((et,We)=>{var it=h();We.exports=it({}.isPrototypeOf)}),Ie=t((et,We)=>{var it=q();We.exports=it(\"navigator\",\"userAgent\")||\"\"}),mt=t((et,We)=>{var it=n(),vt=Ie(),At=it.process,en=it.Deno,gt=At&&At.versions||en&&en.version,_i=gt&&gt.v8,Rn,Ni;_i&&(Rn=_i.split(\".\"),Ni=Rn[0]>0&&Rn[0]<4?1:+(Rn[0]+Rn[1])),!Ni&&vt&&(Rn=vt.match(/Edge\\/(\\d+)/),(!Rn||Rn[1]>=74)&&(Rn=vt.match(/Chrome\\/(\\d+)/),Rn&&(Ni=+Rn[1]))),We.exports=Ni}),Le=t((et,We)=>{var it=mt(),vt=i();We.exports=!!Object.getOwnPropertySymbols&&!vt(function(){var At=Symbol();return!String(At)||!(Object(At)instanceof Symbol)||!Symbol.sham&&it&&it<41})}),Ge=t((et,We)=>{var it=Le();We.exports=it&&!Symbol.sham&&typeof Symbol.iterator==\"symbol\"}),qt=t((et,We)=>{var it=q(),vt=I(),At=re(),en=Ge(),gt=Object;We.exports=en?function(_i){return typeof _i==\"symbol\"}:function(_i){var Rn=it(\"Symbol\");return vt(Rn)&&At(Rn.prototype,gt(_i))}}),gi=t((et,We)=>{var it=String;We.exports=function(vt){try{return it(vt)}catch{return\"Object\"}}}),ai=t((et,We)=>{var it=I(),vt=gi(),At=TypeError;We.exports=function(en){if(it(en))return en;throw At(vt(en)+\" is not a function\")}}),Tr=t((et,We)=>{var it=ai(),vt=y();We.exports=function(At,en){var gt=At[en];return vt(gt)?void 0:it(gt)}}),Vr=t((et,We)=>{var it=l(),vt=I(),At=F(),en=TypeError;We.exports=function(gt,_i){var Rn,Ni;if(_i===\"string\"&&vt(Rn=gt.toString)&&!At(Ni=it(Rn,gt))||vt(Rn=gt.valueOf)&&!At(Ni=it(Rn,gt))||_i!==\"string\"&&vt(Rn=gt.toString)&&!At(Ni=it(Rn,gt)))return Ni;throw en(\"Can't convert object to primitive value\")}}),go=t((et,We)=>{We.exports=!1}),Js=t((et,We)=>{var it=n(),vt=Object.defineProperty;We.exports=function(At,en){try{vt(it,At,{value:en,configurable:!0,writable:!0})}catch{it[At]=en}return en}}),Fo=t((et,We)=>{var it=n(),vt=Js(),At=\"__core-js_shared__\",en=it[At]||vt(At,{});We.exports=en}),aa=t((et,We)=>{var it=go(),vt=Fo();(We.exports=function(At,en){return vt[At]||(vt[At]=en!==void 0?en:{})})(\"versions\",[]).push({version:\"3.26.1\",mode:it?\"pure\":\"global\",copyright:\"\\xA9 2014-2022 Denis Pushkarev (zloirock.ru)\",license:\"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE\",source:\"https://github.com/zloirock/core-js\"})}),Qo=t((et,We)=>{var it=D(),vt=Object;We.exports=function(At){return vt(it(At))}}),Ao=t((et,We)=>{var it=h(),vt=Qo(),At=it({}.hasOwnProperty);We.exports=Object.hasOwn||function(en,gt){return At(vt(en),gt)}}),Gl=t((et,We)=>{var it=h(),vt=0,At=Math.random(),en=it(1 .toString);We.exports=function(gt){return\"Symbol(\"+(gt===void 0?\"\":gt)+\")_\"+en(++vt+At,36)}}),nl=t((et,We)=>{var it=n(),vt=aa(),At=Ao(),en=Gl(),gt=Le(),_i=Ge(),Rn=vt(\"wks\"),Ni=it.Symbol,Lr=Ni&&Ni.for,Or=_i?Ni:Ni&&Ni.withoutSetter||en;We.exports=function(Pn){if(!At(Rn,Pn)||!(gt||typeof Rn[Pn]==\"string\")){var os=\"Symbol.\"+Pn;gt&&At(Ni,Pn)?Rn[Pn]=Ni[Pn]:_i&&Lr?Rn[Pn]=Lr(os):Rn[Pn]=Or(os)}return Rn[Pn]}}),Po=t((et,We)=>{var it=l(),vt=F(),At=qt(),en=Tr(),gt=Vr(),_i=nl(),Rn=TypeError,Ni=_i(\"toPrimitive\");We.exports=function(Lr,Or){if(!vt(Lr)||At(Lr))return Lr;var Pn=en(Lr,Ni),os;if(Pn){if(Or===void 0&&(Or=\"default\"),os=it(Pn,Lr,Or),!vt(os)||At(os))return os;throw Rn(\"Can't convert object to primitive value\")}return Or===void 0&&(Or=\"number\"),gt(Lr,Or)}}),mo=t((et,We)=>{var it=Po(),vt=qt();We.exports=function(At){var en=it(At,\"string\");return vt(en)?en:en+\"\"}}),Bl=t((et,We)=>{var it=n(),vt=F(),At=it.document,en=vt(At)&&vt(At.createElement);We.exports=function(gt){return en?At.createElement(gt):{}}}),mc=t((et,We)=>{var it=s(),vt=i(),At=Bl();We.exports=!it&&!vt(function(){return Object.defineProperty(At(\"div\"),\"a\",{get:function(){return 7}}).a!=7})}),lc=t(et=>{var We=s(),it=l(),vt=u(),At=d(),en=T(),gt=mo(),_i=Ao(),Rn=mc(),Ni=Object.getOwnPropertyDescriptor;et.f=We?Ni:function(Lr,Or){if(Lr=en(Lr),Or=gt(Or),Rn)try{return Ni(Lr,Or)}catch{}if(_i(Lr,Or))return At(!it(vt.f,Lr,Or),Lr[Or])}}),dd=t((et,We)=>{var it=s(),vt=i();We.exports=it&&vt(function(){return Object.defineProperty(function(){},\"prototype\",{value:42,writable:!1}).prototype!=42})}),gu=t((et,We)=>{var it=F(),vt=String,At=TypeError;We.exports=function(en){if(it(en))return en;throw At(vt(en)+\" is not an object\")}}),Ka=t(et=>{var We=s(),it=mc(),vt=dd(),At=gu(),en=mo(),gt=TypeError,_i=Object.defineProperty,Rn=Object.getOwnPropertyDescriptor,Ni=\"enumerable\",Lr=\"configurable\",Or=\"writable\";et.f=We?vt?function(Pn,os,Ct){if(At(Pn),os=en(os),At(Ct),typeof Pn==\"function\"&&os===\"prototype\"&&\"value\"in Ct&&Or in Ct&&!Ct[Or]){var bo=Rn(Pn,os);bo&&bo[Or]&&(Pn[os]=Ct.value,Ct={configurable:Lr in Ct?Ct[Lr]:bo[Lr],enumerable:Ni in Ct?Ct[Ni]:bo[Ni],writable:!1})}return _i(Pn,os,Ct)}:_i:function(Pn,os,Ct){if(At(Pn),os=en(os),At(Ct),it)try{return _i(Pn,os,Ct)}catch{}if(\"get\"in Ct||\"set\"in Ct)throw gt(\"Accessors not supported\");return\"value\"in Ct&&(Pn[os]=Ct.value),Pn}}),Qc=t((et,We)=>{var it=s(),vt=Ka(),At=d();We.exports=it?function(en,gt,_i){return vt.f(en,gt,At(1,_i))}:function(en,gt,_i){return en[gt]=_i,en}}),Ba=t((et,We)=>{var it=s(),vt=Ao(),At=Function.prototype,en=it&&Object.getOwnPropertyDescriptor,gt=vt(At,\"name\"),_i=gt&&function(){}.name===\"something\",Rn=gt&&(!it||it&&en(At,\"name\").configurable);We.exports={EXISTS:gt,PROPER:_i,CONFIGURABLE:Rn}}),xd=t((et,We)=>{var it=h(),vt=I(),At=Fo(),en=it(Function.toString);vt(At.inspectSource)||(At.inspectSource=function(gt){return en(gt)}),We.exports=At.inspectSource}),jp=t((et,We)=>{var it=n(),vt=I(),At=it.WeakMap;We.exports=vt(At)&&/native code/.test(String(At))}),Fu=t((et,We)=>{var it=aa(),vt=Gl(),At=it(\"keys\");We.exports=function(en){return At[en]||(At[en]=vt(en))}}),Ed=t((et,We)=>{We.exports={}}),wp=t((et,We)=>{var it=jp(),vt=n(),At=F(),en=Qc(),gt=Ao(),_i=Fo(),Rn=Fu(),Ni=Ed(),Lr=\"Object already initialized\",Or=vt.TypeError,Pn=vt.WeakMap,os,Ct,bo,Vo=function(Un){return bo(Un)?Ct(Un):os(Un,{})},ja=function(Un){return function(mu){var uc;if(!At(mu)||(uc=Ct(mu)).type!==Un)throw Or(\"Incompatible receiver, \"+Un+\" required\");return uc}};it||_i.state?(Ha=_i.state||(_i.state=new Pn),Ha.get=Ha.get,Ha.has=Ha.has,Ha.set=Ha.set,os=function(Un,mu){if(Ha.has(Un))throw Or(Lr);return mu.facade=Un,Ha.set(Un,mu),mu},Ct=function(Un){return Ha.get(Un)||{}},bo=function(Un){return Ha.has(Un)}):(jl=Rn(\"state\"),Ni[jl]=!0,os=function(Un,mu){if(gt(Un,jl))throw Or(Lr);return mu.facade=Un,en(Un,jl,mu),mu},Ct=function(Un){return gt(Un,jl)?Un[jl]:{}},bo=function(Un){return gt(Un,jl)});var Ha,jl;We.exports={set:os,get:Ct,has:bo,enforce:Vo,getterFor:ja}}),zd=t((et,We)=>{var it=i(),vt=I(),At=Ao(),en=s(),gt=Ba().CONFIGURABLE,_i=xd(),Rn=wp(),Ni=Rn.enforce,Lr=Rn.get,Or=Object.defineProperty,Pn=en&&!it(function(){return Or(function(){},\"length\",{value:8}).length!==8}),os=String(String).split(\"String\"),Ct=We.exports=function(bo,Vo,ja){String(Vo).slice(0,7)===\"Symbol(\"&&(Vo=\"[\"+String(Vo).replace(/^Symbol\\(([^)]*)\\)/,\"$1\")+\"]\"),ja&&ja.getter&&(Vo=\"get \"+Vo),ja&&ja.setter&&(Vo=\"set \"+Vo),(!At(bo,\"name\")||gt&&bo.name!==Vo)&&(en?Or(bo,\"name\",{value:Vo,configurable:!0}):bo.name=Vo),Pn&&ja&&At(ja,\"arity\")&&bo.length!==ja.arity&&Or(bo,\"length\",{value:ja.arity});try{ja&&At(ja,\"constructor\")&&ja.constructor?en&&Or(bo,\"prototype\",{writable:!1}):bo.prototype&&(bo.prototype=void 0)}catch{}var Ha=Ni(bo);return At(Ha,\"source\")||(Ha.source=os.join(typeof Vo==\"string\"?Vo:\"\")),bo};Function.prototype.toString=Ct(function(){return vt(this)&&Lr(this).source||_i(this)},\"toString\")}),Ch=t((et,We)=>{var it=I(),vt=Ka(),At=zd(),en=Js();We.exports=function(gt,_i,Rn,Ni){Ni||(Ni={});var Lr=Ni.enumerable,Or=Ni.name!==void 0?Ni.name:_i;if(it(Rn)&&At(Rn,Or,Ni),Ni.global)Lr?gt[_i]=Rn:en(_i,Rn);else{try{Ni.unsafe?gt[_i]&&(Lr=!0):delete gt[_i]}catch{}Lr?gt[_i]=Rn:vt.f(gt,_i,{value:Rn,enumerable:!1,configurable:!Ni.nonConfigurable,writable:!Ni.nonWritable})}return gt}}),sh=t((et,We)=>{var it=Math.ceil,vt=Math.floor;We.exports=Math.trunc||function(At){var en=+At;return(en>0?vt:it)(en)}}),$r=t((et,We)=>{var it=sh();We.exports=function(vt){var At=+vt;return At!==At||At===0?0:it(At)}}),sr=t((et,We)=>{var it=$r(),vt=Math.max,At=Math.min;We.exports=function(en,gt){var _i=it(en);return _i<0?vt(_i+gt,0):At(_i,gt)}}),gr=t((et,We)=>{var it=$r(),vt=Math.min;We.exports=function(At){return At>0?vt(it(At),9007199254740991):0}}),It=t((et,We)=>{var it=gr();We.exports=function(vt){return it(vt.length)}}),dn=t((et,We)=>{var it=T(),vt=sr(),At=It(),en=function(gt){return function(_i,Rn,Ni){var Lr=it(_i),Or=At(Lr),Pn=vt(Ni,Or),os;if(gt&&Rn!=Rn){for(;Or>Pn;)if(os=Lr[Pn++],os!=os)return!0}else for(;Or>Pn;Pn++)if((gt||Pn in Lr)&&Lr[Pn]===Rn)return gt||Pn||0;return!gt&&-1}};We.exports={includes:en(!0),indexOf:en(!1)}}),Si=t((et,We)=>{var it=h(),vt=Ao(),At=T(),en=dn().indexOf,gt=Ed(),_i=it([].push);We.exports=function(Rn,Ni){var Lr=At(Rn),Or=0,Pn=[],os;for(os in Lr)!vt(gt,os)&&vt(Lr,os)&&_i(Pn,os);for(;Ni.length>Or;)vt(Lr,os=Ni[Or++])&&(~en(Pn,os)||_i(Pn,os));return Pn}}),Yn=t((et,We)=>{We.exports=[\"constructor\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"toLocaleString\",\"toString\",\"valueOf\"]}),Zr=t(et=>{var We=Si(),it=Yn(),vt=it.concat(\"length\",\"prototype\");et.f=Object.getOwnPropertyNames||function(At){return We(At,vt)}}),vs=t(et=>{et.f=Object.getOwnPropertySymbols}),ra=t((et,We)=>{var it=q(),vt=h(),At=Zr(),en=vs(),gt=gu(),_i=vt([].concat);We.exports=it(\"Reflect\",\"ownKeys\")||function(Rn){var Ni=At.f(gt(Rn)),Lr=en.f;return Lr?_i(Ni,Lr(Rn)):Ni}}),zo=t((et,We)=>{var it=Ao(),vt=ra(),At=lc(),en=Ka();We.exports=function(gt,_i,Rn){for(var Ni=vt(_i),Lr=en.f,Or=At.f,Pn=0;Pn<Ni.length;Pn++){var os=Ni[Pn];!it(gt,os)&&!(Rn&&it(Rn,os))&&Lr(gt,os,Or(_i,os))}}}),za=t((et,We)=>{var it=i(),vt=I(),At=/#|\\.prototype\\./,en=function(Lr,Or){var Pn=_i[gt(Lr)];return Pn==Ni?!0:Pn==Rn?!1:vt(Or)?it(Or):!!Or},gt=en.normalize=function(Lr){return String(Lr).replace(At,\".\").toLowerCase()},_i=en.data={},Rn=en.NATIVE=\"N\",Ni=en.POLYFILL=\"P\";We.exports=en}),La=t((et,We)=>{var it=n(),vt=lc().f,At=Qc(),en=Ch(),gt=Js(),_i=zo(),Rn=za();We.exports=function(Ni,Lr){var Or=Ni.target,Pn=Ni.global,os=Ni.stat,Ct,bo,Vo,ja,Ha,jl;if(Pn?bo=it:os?bo=it[Or]||gt(Or,{}):bo=(it[Or]||{}).prototype,bo)for(Vo in Lr){if(Ha=Lr[Vo],Ni.dontCallGetSet?(jl=vt(bo,Vo),ja=jl&&jl.value):ja=bo[Vo],Ct=Rn(Pn?Vo:Or+(os?\".\":\"#\")+Vo,Ni.forced),!Ct&&ja!==void 0){if(typeof Ha==typeof ja)continue;_i(Ha,ja)}(Ni.sham||ja&&ja.sham)&&At(Ha,\"sham\",!0),en(bo,Vo,Ha,Ni)}}}),Ul=t((et,We)=>{var it=p();We.exports=Array.isArray||function(vt){return it(vt)==\"Array\"}}),bl=t((et,We)=>{var it=TypeError,vt=9007199254740991;We.exports=function(At){if(At>vt)throw it(\"Maximum allowed index exceeded\");return At}}),ua=t((et,We)=>{var it=p(),vt=h();We.exports=function(At){if(it(At)===\"Function\")return vt(At)}}),Qs=t((et,We)=>{var it=ua(),vt=ai(),At=a(),en=it(it.bind);We.exports=function(gt,_i){return vt(gt),_i===void 0?gt:At?en(gt,_i):function(){return gt.apply(_i,arguments)}}}),Dr=t((et,We)=>{var it=Ul(),vt=It(),At=bl(),en=Qs(),gt=function(_i,Rn,Ni,Lr,Or,Pn,os,Ct){for(var bo=Or,Vo=0,ja=os?en(os,Ct):!1,Ha,jl;Vo<Lr;)Vo in Ni&&(Ha=ja?ja(Ni[Vo],Vo,Rn):Ni[Vo],Pn>0&&it(Ha)?(jl=vt(Ha),bo=gt(_i,Rn,Ha,jl,bo,Pn-1)-1):(At(bo+1),_i[bo]=Ha),bo++),Vo++;return bo};We.exports=gt}),Ar=t((et,We)=>{var it=nl(),vt=it(\"toStringTag\"),At={};At[vt]=\"z\",We.exports=String(At)===\"[object z]\"}),li=t((et,We)=>{var it=Ar(),vt=I(),At=p(),en=nl(),gt=en(\"toStringTag\"),_i=Object,Rn=At(function(){return arguments}())==\"Arguments\",Ni=function(Lr,Or){try{return Lr[Or]}catch{}};We.exports=it?At:function(Lr){var Or,Pn,os;return Lr===void 0?\"Undefined\":Lr===null?\"Null\":typeof(Pn=Ni(Or=_i(Lr),gt))==\"string\"?Pn:Rn?At(Or):(os=At(Or))==\"Object\"&&vt(Or.callee)?\"Arguments\":os}}),gn=t((et,We)=>{var it=h(),vt=i(),At=I(),en=li(),gt=q(),_i=xd(),Rn=function(){},Ni=[],Lr=gt(\"Reflect\",\"construct\"),Or=/^\\s*(?:class|function)\\b/,Pn=it(Or.exec),os=!Or.exec(Rn),Ct=function(Vo){if(!At(Vo))return!1;try{return Lr(Rn,Ni,Vo),!0}catch{return!1}},bo=function(Vo){if(!At(Vo))return!1;switch(en(Vo)){case\"AsyncFunction\":case\"GeneratorFunction\":case\"AsyncGeneratorFunction\":return!1}try{return os||!!Pn(Or,_i(Vo))}catch{return!0}};bo.sham=!0,We.exports=!Lr||vt(function(){var Vo;return Ct(Ct.call)||!Ct(Object)||!Ct(function(){Vo=!0})||Vo})?bo:Ct}),kn=t((et,We)=>{var it=Ul(),vt=gn(),At=F(),en=nl(),gt=en(\"species\"),_i=Array;We.exports=function(Rn){var Ni;return it(Rn)&&(Ni=Rn.constructor,vt(Ni)&&(Ni===_i||it(Ni.prototype))?Ni=void 0:At(Ni)&&(Ni=Ni[gt],Ni===null&&(Ni=void 0))),Ni===void 0?_i:Ni}}),ei=t((et,We)=>{var it=kn();We.exports=function(vt,At){return new(it(vt))(At===0?0:At)}}),Yt=t(()=>{var et=La(),We=Dr(),it=ai(),vt=Qo(),At=It(),en=ei();et({target:\"Array\",proto:!0},{flatMap:function(gt){var _i=vt(this),Rn=At(_i),Ni;return it(gt),Ni=en(_i,0),Ni.length=We(Ni,_i,_i,Rn,0,1,gt,arguments.length>1?arguments[1]:void 0),Ni}})}),zi=t((et,We)=>{We.exports={}}),kr=t((et,We)=>{var it=nl(),vt=zi(),At=it(\"iterator\"),en=Array.prototype;We.exports=function(gt){return gt!==void 0&&(vt.Array===gt||en[At]===gt)}}),Gn=t((et,We)=>{var it=li(),vt=Tr(),At=y(),en=zi(),gt=nl(),_i=gt(\"iterator\");We.exports=function(Rn){if(!At(Rn))return vt(Rn,_i)||vt(Rn,\"@@iterator\")||en[it(Rn)]}}),ni=t((et,We)=>{var it=l(),vt=ai(),At=gu(),en=gi(),gt=Gn(),_i=TypeError;We.exports=function(Rn,Ni){var Lr=arguments.length<2?gt(Rn):Ni;if(vt(Lr))return At(it(Lr,Rn));throw _i(en(Rn)+\" is not iterable\")}}),us=t((et,We)=>{var it=l(),vt=gu(),At=Tr();We.exports=function(en,gt,_i){var Rn,Ni;vt(en);try{if(Rn=At(en,\"return\"),!Rn){if(gt===\"throw\")throw _i;return _i}Rn=it(Rn,en)}catch(Lr){Ni=!0,Rn=Lr}if(gt===\"throw\")throw _i;if(Ni)throw Rn;return vt(Rn),_i}}),ks=t((et,We)=>{var it=Qs(),vt=l(),At=gu(),en=gi(),gt=kr(),_i=It(),Rn=re(),Ni=ni(),Lr=Gn(),Or=us(),Pn=TypeError,os=function(bo,Vo){this.stopped=bo,this.result=Vo},Ct=os.prototype;We.exports=function(bo,Vo,ja){var Ha=ja&&ja.that,jl=!!(ja&&ja.AS_ENTRIES),Un=!!(ja&&ja.IS_RECORD),mu=!!(ja&&ja.IS_ITERATOR),uc=!!(ja&&ja.INTERRUPTED),Zc=it(Vo,Ha),Ku,Pd,qu,Yu,xc,Vc,ep,Od=function(Md){return Ku&&Or(Ku,\"normal\",Md),new os(!0,Md)},gl=function(Md){return jl?(At(Md),uc?Zc(Md[0],Md[1],Od):Zc(Md[0],Md[1])):uc?Zc(Md,Od):Zc(Md)};if(Un)Ku=bo.iterator;else if(mu)Ku=bo;else{if(Pd=Lr(bo),!Pd)throw Pn(en(bo)+\" is not iterable\");if(gt(Pd)){for(qu=0,Yu=_i(bo);Yu>qu;qu++)if(xc=gl(bo[qu]),xc&&Rn(Ct,xc))return xc;return new os(!1)}Ku=Ni(bo,Pd)}for(Vc=Un?bo.next:Ku.next;!(ep=vt(Vc,Ku)).done;){try{xc=gl(ep.value)}catch(Md){Or(Ku,\"throw\",Md)}if(typeof xc==\"object\"&&xc&&Rn(Ct,xc))return xc}return new os(!1)}}),Us=t((et,We)=>{var it=mo(),vt=Ka(),At=d();We.exports=function(en,gt,_i){var Rn=it(gt);Rn in en?vt.f(en,Rn,At(0,_i)):en[Rn]=_i}}),Li=t(()=>{var et=La(),We=ks(),it=Us();et({target:\"Object\",stat:!0},{fromEntries:function(vt){var At={};return We(vt,function(en,gt){it(At,en,gt)},{AS_ENTRIES:!0}),At}})}),Uo=t((et,We)=>{var it=zd(),vt=Ka();We.exports=function(At,en,gt){return gt.get&&it(gt.get,en,{getter:!0}),gt.set&&it(gt.set,en,{setter:!0}),vt.f(At,en,gt)}}),Wi=t((et,We)=>{var it=gu();We.exports=function(){var vt=it(this),At=\"\";return vt.hasIndices&&(At+=\"d\"),vt.global&&(At+=\"g\"),vt.ignoreCase&&(At+=\"i\"),vt.multiline&&(At+=\"m\"),vt.dotAll&&(At+=\"s\"),vt.unicode&&(At+=\"u\"),vt.unicodeSets&&(At+=\"v\"),vt.sticky&&(At+=\"y\"),At}}),_t=t(()=>{var et=n(),We=s(),it=Uo(),vt=Wi(),At=i(),en=et.RegExp,gt=en.prototype,_i=We&&At(function(){var Rn=!0;try{en(\".\",\"d\")}catch{Rn=!1}var Ni={},Lr=\"\",Or=Rn?\"dgimsy\":\"gimsy\",Pn=function(Vo,ja){Object.defineProperty(Ni,Vo,{get:function(){return Lr+=ja,!0}})},os={dotAll:\"s\",global:\"g\",ignoreCase:\"i\",multiline:\"m\",sticky:\"y\"};Rn&&(os.hasIndices=\"d\");for(var Ct in os)Pn(Ct,os[Ct]);var bo=Object.getOwnPropertyDescriptor(gt,\"flags\").get.call(Ni);return bo!==Or||Lr!==Or});_i&&it(gt,\"flags\",{configurable:!0,get:vt})}),ht=t(()=>{var et=La(),We=n();et({global:!0,forced:We.globalThis!==We},{globalThis:We})}),$e=t(()=>{ht()}),ot=t(()=>{var et=La(),We=Dr(),it=Qo(),vt=It(),At=$r(),en=ei();et({target:\"Array\",proto:!0},{flat:function(){var gt=arguments.length?arguments[0]:void 0,_i=it(this),Rn=vt(_i),Ni=en(_i,0);return Ni.length=We(Ni,_i,_i,Rn,0,gt===void 0?1:At(gt)),Ni}})}),Rt=t((et,We)=>{var it=[\"cliName\",\"cliCategory\",\"cliDescription\"],vt=[\"_\"],At=[\"languageId\"];function en(z,ee){if(z==null)return{};var R=gt(z,ee),Y,G;if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(z);for(G=0;G<M.length;G++)Y=M[G],!(ee.indexOf(Y)>=0)&&Object.prototype.propertyIsEnumerable.call(z,Y)&&(R[Y]=z[Y])}return R}function gt(z,ee){if(z==null)return{};var R={},Y=Object.keys(z),G,M;for(M=0;M<Y.length;M++)G=Y[M],!(ee.indexOf(G)>=0)&&(R[G]=z[G]);return R}Yt(),Li(),_t(),$e(),ot();var _i=Object.create,Rn=Object.defineProperty,Ni=Object.getOwnPropertyDescriptor,Lr=Object.getOwnPropertyNames,Or=Object.getPrototypeOf,Pn=Object.prototype.hasOwnProperty,os=(z,ee)=>function(){return z&&(ee=(0,z[Lr(z)[0]])(z=0)),ee},Ct=(z,ee)=>function(){return ee||(0,z[Lr(z)[0]])((ee={exports:{}}).exports,ee),ee.exports},bo=(z,ee)=>{for(var R in ee)Rn(z,R,{get:ee[R],enumerable:!0})},Vo=(z,ee,R,Y)=>{if(ee&&typeof ee==\"object\"||typeof ee==\"function\")for(let G of Lr(ee))!Pn.call(z,G)&&G!==R&&Rn(z,G,{get:()=>ee[G],enumerable:!(Y=Ni(ee,G))||Y.enumerable});return z},ja=(z,ee,R)=>(R=z!=null?_i(Or(z)):{},Vo(ee||!z||!z.__esModule?Rn(R,\"default\",{value:z,enumerable:!0}):R,z)),Ha=z=>Vo(Rn({},\"__esModule\",{value:!0}),z),jl,Un=os({\"<define:process>\"(){jl={env:{},argv:[]}}}),mu=Ct({\"package.json\"(z,ee){ee.exports={version:\"2.8.8\"}}}),uc=Ct({\"node_modules/diff/lib/diff/base.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0}),z.default=ee;function ee(){}ee.prototype={diff:function(G,M){var H=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},$=H.callback;typeof H==\"function\"&&($=H,H={}),this.options=H;var Z=this;function oe(Ae){return $?(setTimeout(function(){$(void 0,Ae)},0),!0):Ae}G=this.castInput(G),M=this.castInput(M),G=this.removeEmpty(this.tokenize(G)),M=this.removeEmpty(this.tokenize(M));var ye=M.length,_e=G.length,ge=1,ne=ye+_e,le=[{newPos:-1,components:[]}],xe=this.extractCommon(le[0],M,G,0);if(le[0].newPos+1>=ye&&xe+1>=_e)return oe([{value:this.join(M),count:M.length}]);function tt(){for(var Ae=-1*ge;Ae<=ge;Ae+=2){var rt=void 0,je=le[Ae-1],pt=le[Ae+1],at=(pt?pt.newPos:0)-Ae;je&&(le[Ae-1]=void 0);var fn=je&&je.newPos+1<ye,ce=pt&&0<=at&&at<_e;if(!fn&&!ce){le[Ae]=void 0;continue}if(!fn||ce&&je.newPos<pt.newPos?(rt=Y(pt),Z.pushComponent(rt.components,void 0,!0)):(rt=je,rt.newPos++,Z.pushComponent(rt.components,!0,void 0)),at=Z.extractCommon(rt,M,G,Ae),rt.newPos+1>=ye&&at+1>=_e)return oe(R(Z,rt.components,M,G,Z.useLongestToken));le[Ae]=rt}ge++}if($)(function Ae(){setTimeout(function(){if(ge>ne)return $();tt()||Ae()},0)})();else for(;ge<=ne;){var j=tt();if(j)return j}},pushComponent:function(G,M,H){var $=G[G.length-1];$&&$.added===M&&$.removed===H?G[G.length-1]={count:$.count+1,added:M,removed:H}:G.push({count:1,added:M,removed:H})},extractCommon:function(G,M,H,$){for(var Z=M.length,oe=H.length,ye=G.newPos,_e=ye-$,ge=0;ye+1<Z&&_e+1<oe&&this.equals(M[ye+1],H[_e+1]);)ye++,_e++,ge++;return ge&&G.components.push({count:ge}),G.newPos=ye,_e},equals:function(G,M){return this.options.comparator?this.options.comparator(G,M):G===M||this.options.ignoreCase&&G.toLowerCase()===M.toLowerCase()},removeEmpty:function(G){for(var M=[],H=0;H<G.length;H++)G[H]&&M.push(G[H]);return M},castInput:function(G){return G},tokenize:function(G){return G.split(\"\")},join:function(G){return G.join(\"\")}};function R(G,M,H,$,Z){for(var oe=0,ye=M.length,_e=0,ge=0;oe<ye;oe++){var ne=M[oe];if(ne.removed){if(ne.value=G.join($.slice(ge,ge+ne.count)),ge+=ne.count,oe&&M[oe-1].added){var le=M[oe-1];M[oe-1]=M[oe],M[oe]=le}}else{if(!ne.added&&Z){var xe=H.slice(_e,_e+ne.count);xe=xe.map(function(j,Ae){var rt=$[ge+Ae];return rt.length>j.length?rt:j}),ne.value=G.join(xe)}else ne.value=G.join(H.slice(_e,_e+ne.count));_e+=ne.count,ne.added||(ge+=ne.count)}}var tt=M[ye-1];return ye>1&&typeof tt.value==\"string\"&&(tt.added||tt.removed)&&G.equals(\"\",tt.value)&&(M[ye-2].value+=tt.value,M.pop()),M}function Y(G){return{newPos:G.newPos,components:G.components.slice(0)}}}}),Zc=Ct({\"node_modules/diff/lib/diff/array.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0}),z.diffArrays=G,z.arrayDiff=void 0;var ee=R(uc());function R(M){return M&&M.__esModule?M:{default:M}}var Y=new ee.default;z.arrayDiff=Y,Y.tokenize=function(M){return M.slice()},Y.join=Y.removeEmpty=function(M){return M};function G(M,H,$){return Y.diff(M,H,$)}}}),Ku=Ct({\"src/document/doc-builders.js\"(z,ee){Un();function R(Ee){return{type:\"concat\",parts:Ee}}function Y(Ee){return{type:\"indent\",contents:Ee}}function G(Ee,J){return{type:\"align\",contents:J,n:Ee}}function M(Ee){let J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:\"group\",id:J.id,contents:Ee,break:Boolean(J.shouldBreak),expandedStates:J.expandedStates}}function H(Ee){return G(Number.NEGATIVE_INFINITY,Ee)}function $(Ee){return G({type:\"root\"},Ee)}function Z(Ee){return G(-1,Ee)}function oe(Ee,J){return M(Ee[0],Object.assign(Object.assign({},J),{},{expandedStates:Ee}))}function ye(Ee){return{type:\"fill\",parts:Ee}}function _e(Ee,J){let me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:\"if-break\",breakContents:Ee,flatContents:J,groupId:me.groupId}}function ge(Ee,J){return{type:\"indent-if-break\",contents:Ee,groupId:J.groupId,negate:J.negate}}function ne(Ee){return{type:\"line-suffix\",contents:Ee}}var le={type:\"line-suffix-boundary\"},xe={type:\"break-parent\"},tt={type:\"trim\"},j={type:\"line\",hard:!0},Ae={type:\"line\",hard:!0,literal:!0},rt={type:\"line\"},je={type:\"line\",soft:!0},pt=R([j,xe]),at=R([Ae,xe]),fn={type:\"cursor\",placeholder:Symbol(\"cursor\")};function ce(Ee,J){let me=[];for(let we=0;we<J.length;we++)we!==0&&me.push(Ee),me.push(J[we]);return R(me)}function Ve(Ee,J,me){let we=Ee;if(J>0){for(let Fe=0;Fe<Math.floor(J/me);++Fe)we=Y(we);we=G(J%me,we),we=G(Number.NEGATIVE_INFINITY,we)}return we}function ae(Ee,J){return{type:\"label\",label:Ee,contents:J}}ee.exports={concat:R,join:ce,line:rt,softline:je,hardline:pt,literalline:at,group:M,conditionalGroup:oe,fill:ye,lineSuffix:ne,lineSuffixBoundary:le,cursor:fn,breakParent:xe,ifBreak:_e,trim:tt,indent:Y,indentIfBreak:ge,align:G,addAlignmentToDoc:Ve,markAsRoot:$,dedentToRoot:H,dedent:Z,hardlineWithoutBreakParent:j,literallineWithoutBreakParent:Ae,label:ae}}}),Pd=Ct({\"src/common/end-of-line.js\"(z,ee){Un();function R(H){let $=H.indexOf(\"\\r\");return $>=0?H.charAt($+1)===`\n`?\"crlf\":\"cr\":\"lf\"}function Y(H){switch(H){case\"cr\":return\"\\r\";case\"crlf\":return`\\r\n`;default:return`\n`}}function G(H,$){let Z;switch($){case`\n`:Z=/\\n/g;break;case\"\\r\":Z=/\\r/g;break;case`\\r\n`:Z=/\\r\\n/g;break;default:throw new Error(`Unexpected \"eol\" ${JSON.stringify($)}.`)}let oe=H.match(Z);return oe?oe.length:0}function M(H){return H.replace(/\\r\\n?/g,`\n`)}ee.exports={guessEndOfLine:R,convertEndOfLineToChars:Y,countEndOfLineChars:G,normalizeEndOfLine:M}}}),qu=Ct({\"src/utils/get-last.js\"(z,ee){Un();var R=Y=>Y[Y.length-1];ee.exports=R}});function Yu(){let{onlyFirst:z=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ee=[\"[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]+)*|[a-zA-Z\\\\d]+(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)\",\"(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PR-TZcf-ntqry=><~]))\"].join(\"|\");return new RegExp(ee,z?void 0:\"g\")}var xc=os({\"node_modules/strip-ansi/node_modules/ansi-regex/index.js\"(){Un()}});function Vc(z){if(typeof z!=\"string\")throw new TypeError(`Expected a \\`string\\`, got \\`${typeof z}\\``);return z.replace(Yu(),\"\")}var ep=os({\"node_modules/strip-ansi/index.js\"(){Un(),xc()}});function Od(z){return Number.isInteger(z)?z>=4352&&(z<=4447||z===9001||z===9002||11904<=z&&z<=12871&&z!==12351||12880<=z&&z<=19903||19968<=z&&z<=42182||43360<=z&&z<=43388||44032<=z&&z<=55203||63744<=z&&z<=64255||65040<=z&&z<=65049||65072<=z&&z<=65131||65281<=z&&z<=65376||65504<=z&&z<=65510||110592<=z&&z<=110593||127488<=z&&z<=127569||131072<=z&&z<=262141):!1}var gl=os({\"node_modules/is-fullwidth-code-point/index.js\"(){Un()}}),Md=Ct({\"node_modules/emoji-regex/index.js\"(z,ee){Un(),ee.exports=function(){return/\\uD83C\\uDFF4\\uDB40\\uDC67\\uDB40\\uDC62(?:\\uDB40\\uDC77\\uDB40\\uDC6C\\uDB40\\uDC73|\\uDB40\\uDC73\\uDB40\\uDC63\\uDB40\\uDC74|\\uDB40\\uDC65\\uDB40\\uDC6E\\uDB40\\uDC67)\\uDB40\\uDC7F|(?:\\uD83E\\uDDD1\\uD83C\\uDFFF\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFF\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFB-\\uDFFE])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFE\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFE\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFB-\\uDFFD\\uDFFF])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFD\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFD\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFC\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFC\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFB\\uDFFD-\\uDFFF])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFB\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFB\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFC-\\uDFFF])|\\uD83D\\uDC68(?:\\uD83C\\uDFFB(?:\\u200D(?:\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFF]))|\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFC-\\uDFFF])|[\\u2695\\u2696\\u2708]\\uFE0F|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD]))?|(?:\\uD83C[\\uDFFC-\\uDFFF])\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFF]))|\\u200D(?:\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83D\\uDC68|(?:\\uD83D[\\uDC68\\uDC69])\\u200D(?:\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67]))|\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFF\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFE])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFE\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFD\\uDFFF])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFD\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFC\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB\\uDFFD-\\uDFFF])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|(?:\\uD83C\\uDFFF\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFE\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFD\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFC\\u200D[\\u2695\\u2696\\u2708]|\\u200D[\\u2695\\u2696\\u2708])\\uFE0F|\\u200D(?:(?:\\uD83D[\\uDC68\\uDC69])\\u200D(?:\\uD83D[\\uDC66\\uDC67])|\\uD83D[\\uDC66\\uDC67])|\\uD83C\\uDFFF|\\uD83C\\uDFFE|\\uD83C\\uDFFD|\\uD83C\\uDFFC)?|(?:\\uD83D\\uDC69(?:\\uD83C\\uDFFB\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D(?:\\uD83D[\\uDC68\\uDC69])|\\uD83D[\\uDC68\\uDC69])|(?:\\uD83C[\\uDFFC-\\uDFFF])\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D(?:\\uD83D[\\uDC68\\uDC69])|\\uD83D[\\uDC68\\uDC69]))|\\uD83E\\uDDD1(?:\\uD83C[\\uDFFB-\\uDFFF])\\u200D\\uD83E\\uDD1D\\u200D\\uD83E\\uDDD1)(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83D\\uDC69\\u200D\\uD83D\\uDC69\\u200D(?:\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67]))|\\uD83D\\uDC69(?:\\u200D(?:\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D(?:\\uD83D[\\uDC68\\uDC69])|\\uD83D[\\uDC68\\uDC69])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFF\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFE\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFD\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFC\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFB\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD]))|\\uD83E\\uDDD1(?:\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83E\\uDDD1|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFF\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFE\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFD\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFC\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFB\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD]))|\\uD83D\\uDC69\\u200D\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC69\\u200D\\uD83D\\uDC69\\u200D(?:\\uD83D[\\uDC66\\uDC67])|\\uD83D\\uDC69\\u200D\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67])|(?:\\uD83D\\uDC41\\uFE0F\\u200D\\uD83D\\uDDE8|\\uD83E\\uDDD1(?:\\uD83C\\uDFFF\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFE\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFD\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFC\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFB\\u200D[\\u2695\\u2696\\u2708]|\\u200D[\\u2695\\u2696\\u2708])|\\uD83D\\uDC69(?:\\uD83C\\uDFFF\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFE\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFD\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFC\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFB\\u200D[\\u2695\\u2696\\u2708]|\\u200D[\\u2695\\u2696\\u2708])|\\uD83D\\uDE36\\u200D\\uD83C\\uDF2B|\\uD83C\\uDFF3\\uFE0F\\u200D\\u26A7|\\uD83D\\uDC3B\\u200D\\u2744|(?:(?:\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC70\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD35\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD4\\uDDD6-\\uDDDD])(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83D\\uDC6F|\\uD83E[\\uDD3C\\uDDDE\\uDDDF])\\u200D[\\u2640\\u2642]|(?:\\u26F9|\\uD83C[\\uDFCB\\uDFCC]|\\uD83D\\uDD75)(?:\\uFE0F|\\uD83C[\\uDFFB-\\uDFFF])\\u200D[\\u2640\\u2642]|\\uD83C\\uDFF4\\u200D\\u2620|(?:\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC70\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD35\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD4\\uDDD6-\\uDDDD])\\u200D[\\u2640\\u2642]|[\\xA9\\xAE\\u203C\\u2049\\u2122\\u2139\\u2194-\\u2199\\u21A9\\u21AA\\u2328\\u23CF\\u23ED-\\u23EF\\u23F1\\u23F2\\u23F8-\\u23FA\\u24C2\\u25AA\\u25AB\\u25B6\\u25C0\\u25FB\\u25FC\\u2600-\\u2604\\u260E\\u2611\\u2618\\u2620\\u2622\\u2623\\u2626\\u262A\\u262E\\u262F\\u2638-\\u263A\\u2640\\u2642\\u265F\\u2660\\u2663\\u2665\\u2666\\u2668\\u267B\\u267E\\u2692\\u2694-\\u2697\\u2699\\u269B\\u269C\\u26A0\\u26A7\\u26B0\\u26B1\\u26C8\\u26CF\\u26D1\\u26D3\\u26E9\\u26F0\\u26F1\\u26F4\\u26F7\\u26F8\\u2702\\u2708\\u2709\\u270F\\u2712\\u2714\\u2716\\u271D\\u2721\\u2733\\u2734\\u2744\\u2747\\u2763\\u27A1\\u2934\\u2935\\u2B05-\\u2B07\\u3030\\u303D\\u3297\\u3299]|\\uD83C[\\uDD70\\uDD71\\uDD7E\\uDD7F\\uDE02\\uDE37\\uDF21\\uDF24-\\uDF2C\\uDF36\\uDF7D\\uDF96\\uDF97\\uDF99-\\uDF9B\\uDF9E\\uDF9F\\uDFCD\\uDFCE\\uDFD4-\\uDFDF\\uDFF5\\uDFF7]|\\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|\\uD83C\\uDFF3\\uFE0F\\u200D\\uD83C\\uDF08|\\uD83D\\uDC69\\u200D\\uD83D\\uDC67|\\uD83D\\uDC69\\u200D\\uD83D\\uDC66|\\uD83D\\uDE35\\u200D\\uD83D\\uDCAB|\\uD83D\\uDE2E\\u200D\\uD83D\\uDCA8|\\uD83D\\uDC15\\u200D\\uD83E\\uDDBA|\\uD83E\\uDDD1(?:\\uD83C\\uDFFF|\\uD83C\\uDFFE|\\uD83C\\uDFFD|\\uD83C\\uDFFC|\\uD83C\\uDFFB)?|\\uD83D\\uDC69(?:\\uD83C\\uDFFF|\\uD83C\\uDFFE|\\uD83C\\uDFFD|\\uD83C\\uDFFC|\\uD83C\\uDFFB)?|\\uD83C\\uDDFD\\uD83C\\uDDF0|\\uD83C\\uDDF6\\uD83C\\uDDE6|\\uD83C\\uDDF4\\uD83C\\uDDF2|\\uD83D\\uDC08\\u200D\\u2B1B|\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDD25|\\uD83E\\uDE79)|\\uD83D\\uDC41\\uFE0F|\\uD83C\\uDFF3\\uFE0F|\\uD83C\\uDDFF(?:\\uD83C[\\uDDE6\\uDDF2\\uDDFC])|\\uD83C\\uDDFE(?:\\uD83C[\\uDDEA\\uDDF9])|\\uD83C\\uDDFC(?:\\uD83C[\\uDDEB\\uDDF8])|\\uD83C\\uDDFB(?:\\uD83C[\\uDDE6\\uDDE8\\uDDEA\\uDDEC\\uDDEE\\uDDF3\\uDDFA])|\\uD83C\\uDDFA(?:\\uD83C[\\uDDE6\\uDDEC\\uDDF2\\uDDF3\\uDDF8\\uDDFE\\uDDFF])|\\uD83C\\uDDF9(?:\\uD83C[\\uDDE6\\uDDE8\\uDDE9\\uDDEB-\\uDDED\\uDDEF-\\uDDF4\\uDDF7\\uDDF9\\uDDFB\\uDDFC\\uDDFF])|\\uD83C\\uDDF8(?:\\uD83C[\\uDDE6-\\uDDEA\\uDDEC-\\uDDF4\\uDDF7-\\uDDF9\\uDDFB\\uDDFD-\\uDDFF])|\\uD83C\\uDDF7(?:\\uD83C[\\uDDEA\\uDDF4\\uDDF8\\uDDFA\\uDDFC])|\\uD83C\\uDDF5(?:\\uD83C[\\uDDE6\\uDDEA-\\uDDED\\uDDF0-\\uDDF3\\uDDF7-\\uDDF9\\uDDFC\\uDDFE])|\\uD83C\\uDDF3(?:\\uD83C[\\uDDE6\\uDDE8\\uDDEA-\\uDDEC\\uDDEE\\uDDF1\\uDDF4\\uDDF5\\uDDF7\\uDDFA\\uDDFF])|\\uD83C\\uDDF2(?:\\uD83C[\\uDDE6\\uDDE8-\\uDDED\\uDDF0-\\uDDFF])|\\uD83C\\uDDF1(?:\\uD83C[\\uDDE6-\\uDDE8\\uDDEE\\uDDF0\\uDDF7-\\uDDFB\\uDDFE])|\\uD83C\\uDDF0(?:\\uD83C[\\uDDEA\\uDDEC-\\uDDEE\\uDDF2\\uDDF3\\uDDF5\\uDDF7\\uDDFC\\uDDFE\\uDDFF])|\\uD83C\\uDDEF(?:\\uD83C[\\uDDEA\\uDDF2\\uDDF4\\uDDF5])|\\uD83C\\uDDEE(?:\\uD83C[\\uDDE8-\\uDDEA\\uDDF1-\\uDDF4\\uDDF6-\\uDDF9])|\\uD83C\\uDDED(?:\\uD83C[\\uDDF0\\uDDF2\\uDDF3\\uDDF7\\uDDF9\\uDDFA])|\\uD83C\\uDDEC(?:\\uD83C[\\uDDE6\\uDDE7\\uDDE9-\\uDDEE\\uDDF1-\\uDDF3\\uDDF5-\\uDDFA\\uDDFC\\uDDFE])|\\uD83C\\uDDEB(?:\\uD83C[\\uDDEE-\\uDDF0\\uDDF2\\uDDF4\\uDDF7])|\\uD83C\\uDDEA(?:\\uD83C[\\uDDE6\\uDDE8\\uDDEA\\uDDEC\\uDDED\\uDDF7-\\uDDFA])|\\uD83C\\uDDE9(?:\\uD83C[\\uDDEA\\uDDEC\\uDDEF\\uDDF0\\uDDF2\\uDDF4\\uDDFF])|\\uD83C\\uDDE8(?:\\uD83C[\\uDDE6\\uDDE8\\uDDE9\\uDDEB-\\uDDEE\\uDDF0-\\uDDF5\\uDDF7\\uDDFA-\\uDDFF])|\\uD83C\\uDDE7(?:\\uD83C[\\uDDE6\\uDDE7\\uDDE9-\\uDDEF\\uDDF1-\\uDDF4\\uDDF6-\\uDDF9\\uDDFB\\uDDFC\\uDDFE\\uDDFF])|\\uD83C\\uDDE6(?:\\uD83C[\\uDDE8-\\uDDEC\\uDDEE\\uDDF1\\uDDF2\\uDDF4\\uDDF6-\\uDDFA\\uDDFC\\uDDFD\\uDDFF])|[#\\*0-9]\\uFE0F\\u20E3|\\u2764\\uFE0F|(?:\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC70\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD35\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD4\\uDDD6-\\uDDDD])(?:\\uD83C[\\uDFFB-\\uDFFF])|(?:\\u26F9|\\uD83C[\\uDFCB\\uDFCC]|\\uD83D\\uDD75)(?:\\uFE0F|\\uD83C[\\uDFFB-\\uDFFF])|\\uD83C\\uDFF4|(?:[\\u270A\\u270B]|\\uD83C[\\uDF85\\uDFC2\\uDFC7]|\\uD83D[\\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]|\\uD83E[\\uDD0C\\uDD0F\\uDD18-\\uDD1C\\uDD1E\\uDD1F\\uDD30-\\uDD34\\uDD36\\uDD77\\uDDB5\\uDDB6\\uDDBB\\uDDD2\\uDDD3\\uDDD5])(?:\\uD83C[\\uDFFB-\\uDFFF])|(?:[\\u261D\\u270C\\u270D]|\\uD83D[\\uDD74\\uDD90])(?:\\uFE0F|\\uD83C[\\uDFFB-\\uDFFF])|[\\u270A\\u270B]|\\uD83C[\\uDF85\\uDFC2\\uDFC7]|\\uD83D[\\uDC08\\uDC15\\uDC3B\\uDC42\\uDC43\\uDC46-\\uDC50\\uDC66\\uDC67\\uDC6B-\\uDC6D\\uDC72\\uDC74-\\uDC76\\uDC78\\uDC7C\\uDC83\\uDC85\\uDC8F\\uDC91\\uDCAA\\uDD7A\\uDD95\\uDD96\\uDE2E\\uDE35\\uDE36\\uDE4C\\uDE4F\\uDEC0\\uDECC]|\\uD83E[\\uDD0C\\uDD0F\\uDD18-\\uDD1C\\uDD1E\\uDD1F\\uDD30-\\uDD34\\uDD36\\uDD77\\uDDB5\\uDDB6\\uDDBB\\uDDD2\\uDDD3\\uDDD5]|\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC70\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD35\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD4\\uDDD6-\\uDDDD]|\\uD83D\\uDC6F|\\uD83E[\\uDD3C\\uDDDE\\uDDDF]|[\\u231A\\u231B\\u23E9-\\u23EC\\u23F0\\u23F3\\u25FD\\u25FE\\u2614\\u2615\\u2648-\\u2653\\u267F\\u2693\\u26A1\\u26AA\\u26AB\\u26BD\\u26BE\\u26C4\\u26C5\\u26CE\\u26D4\\u26EA\\u26F2\\u26F3\\u26F5\\u26FA\\u26FD\\u2705\\u2728\\u274C\\u274E\\u2753-\\u2755\\u2757\\u2795-\\u2797\\u27B0\\u27BF\\u2B1B\\u2B1C\\u2B50\\u2B55]|\\uD83C[\\uDC04\\uDCCF\\uDD8E\\uDD91-\\uDD9A\\uDE01\\uDE1A\\uDE2F\\uDE32-\\uDE36\\uDE38-\\uDE3A\\uDE50\\uDE51\\uDF00-\\uDF20\\uDF2D-\\uDF35\\uDF37-\\uDF7C\\uDF7E-\\uDF84\\uDF86-\\uDF93\\uDFA0-\\uDFC1\\uDFC5\\uDFC6\\uDFC8\\uDFC9\\uDFCF-\\uDFD3\\uDFE0-\\uDFF0\\uDFF8-\\uDFFF]|\\uD83D[\\uDC00-\\uDC07\\uDC09-\\uDC14\\uDC16-\\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-\\uDE44\\uDE48-\\uDE4A\\uDE80-\\uDEA2\\uDEA4-\\uDEB3\\uDEB7-\\uDEBF\\uDEC1-\\uDEC5\\uDED0-\\uDED2\\uDED5-\\uDED7\\uDEEB\\uDEEC\\uDEF4-\\uDEFC\\uDFE0-\\uDFEB]|\\uD83E[\\uDD0D\\uDD0E\\uDD10-\\uDD17\\uDD1D\\uDD20-\\uDD25\\uDD27-\\uDD2F\\uDD3A\\uDD3F-\\uDD45\\uDD47-\\uDD76\\uDD78\\uDD7A-\\uDDB4\\uDDB7\\uDDBA\\uDDBC-\\uDDCB\\uDDD0\\uDDE0-\\uDDFF\\uDE70-\\uDE74\\uDE78-\\uDE7A\\uDE80-\\uDE86\\uDE90-\\uDEA8\\uDEB0-\\uDEB6\\uDEC0-\\uDEC2\\uDED0-\\uDED6]|(?:[\\u231A\\u231B\\u23E9-\\u23EC\\u23F0\\u23F3\\u25FD\\u25FE\\u2614\\u2615\\u2648-\\u2653\\u267F\\u2693\\u26A1\\u26AA\\u26AB\\u26BD\\u26BE\\u26C4\\u26C5\\u26CE\\u26D4\\u26EA\\u26F2\\u26F3\\u26F5\\u26FA\\u26FD\\u2705\\u270A\\u270B\\u2728\\u274C\\u274E\\u2753-\\u2755\\u2757\\u2795-\\u2797\\u27B0\\u27BF\\u2B1B\\u2B1C\\u2B50\\u2B55]|\\uD83C[\\uDC04\\uDCCF\\uDD8E\\uDD91-\\uDD9A\\uDDE6-\\uDDFF\\uDE01\\uDE1A\\uDE2F\\uDE32-\\uDE36\\uDE38-\\uDE3A\\uDE50\\uDE51\\uDF00-\\uDF20\\uDF2D-\\uDF35\\uDF37-\\uDF7C\\uDF7E-\\uDF93\\uDFA0-\\uDFCA\\uDFCF-\\uDFD3\\uDFE0-\\uDFF0\\uDFF4\\uDFF8-\\uDFFF]|\\uD83D[\\uDC00-\\uDC3E\\uDC40\\uDC42-\\uDCFC\\uDCFF-\\uDD3D\\uDD4B-\\uDD4E\\uDD50-\\uDD67\\uDD7A\\uDD95\\uDD96\\uDDA4\\uDDFB-\\uDE4F\\uDE80-\\uDEC5\\uDECC\\uDED0-\\uDED2\\uDED5-\\uDED7\\uDEEB\\uDEEC\\uDEF4-\\uDEFC\\uDFE0-\\uDFEB]|\\uD83E[\\uDD0C-\\uDD3A\\uDD3C-\\uDD45\\uDD47-\\uDD78\\uDD7A-\\uDDCB\\uDDCD-\\uDDFF\\uDE70-\\uDE74\\uDE78-\\uDE7A\\uDE80-\\uDE86\\uDE90-\\uDEA8\\uDEB0-\\uDEB6\\uDEC0-\\uDEC2\\uDED0-\\uDED6])|(?:[#\\*0-9\\xA9\\xAE\\u203C\\u2049\\u2122\\u2139\\u2194-\\u2199\\u21A9\\u21AA\\u231A\\u231B\\u2328\\u23CF\\u23E9-\\u23F3\\u23F8-\\u23FA\\u24C2\\u25AA\\u25AB\\u25B6\\u25C0\\u25FB-\\u25FE\\u2600-\\u2604\\u260E\\u2611\\u2614\\u2615\\u2618\\u261D\\u2620\\u2622\\u2623\\u2626\\u262A\\u262E\\u262F\\u2638-\\u263A\\u2640\\u2642\\u2648-\\u2653\\u265F\\u2660\\u2663\\u2665\\u2666\\u2668\\u267B\\u267E\\u267F\\u2692-\\u2697\\u2699\\u269B\\u269C\\u26A0\\u26A1\\u26A7\\u26AA\\u26AB\\u26B0\\u26B1\\u26BD\\u26BE\\u26C4\\u26C5\\u26C8\\u26CE\\u26CF\\u26D1\\u26D3\\u26D4\\u26E9\\u26EA\\u26F0-\\u26F5\\u26F7-\\u26FA\\u26FD\\u2702\\u2705\\u2708-\\u270D\\u270F\\u2712\\u2714\\u2716\\u271D\\u2721\\u2728\\u2733\\u2734\\u2744\\u2747\\u274C\\u274E\\u2753-\\u2755\\u2757\\u2763\\u2764\\u2795-\\u2797\\u27A1\\u27B0\\u27BF\\u2934\\u2935\\u2B05-\\u2B07\\u2B1B\\u2B1C\\u2B50\\u2B55\\u3030\\u303D\\u3297\\u3299]|\\uD83C[\\uDC04\\uDCCF\\uDD70\\uDD71\\uDD7E\\uDD7F\\uDD8E\\uDD91-\\uDD9A\\uDDE6-\\uDDFF\\uDE01\\uDE02\\uDE1A\\uDE2F\\uDE32-\\uDE3A\\uDE50\\uDE51\\uDF00-\\uDF21\\uDF24-\\uDF93\\uDF96\\uDF97\\uDF99-\\uDF9B\\uDF9E-\\uDFF0\\uDFF3-\\uDFF5\\uDFF7-\\uDFFF]|\\uD83D[\\uDC00-\\uDCFD\\uDCFF-\\uDD3D\\uDD49-\\uDD4E\\uDD50-\\uDD67\\uDD6F\\uDD70\\uDD73-\\uDD7A\\uDD87\\uDD8A-\\uDD8D\\uDD90\\uDD95\\uDD96\\uDDA4\\uDDA5\\uDDA8\\uDDB1\\uDDB2\\uDDBC\\uDDC2-\\uDDC4\\uDDD1-\\uDDD3\\uDDDC-\\uDDDE\\uDDE1\\uDDE3\\uDDE8\\uDDEF\\uDDF3\\uDDFA-\\uDE4F\\uDE80-\\uDEC5\\uDECB-\\uDED2\\uDED5-\\uDED7\\uDEE0-\\uDEE5\\uDEE9\\uDEEB\\uDEEC\\uDEF0\\uDEF3-\\uDEFC\\uDFE0-\\uDFEB]|\\uD83E[\\uDD0C-\\uDD3A\\uDD3C-\\uDD45\\uDD47-\\uDD78\\uDD7A-\\uDDCB\\uDDCD-\\uDDFF\\uDE70-\\uDE74\\uDE78-\\uDE7A\\uDE80-\\uDE86\\uDE90-\\uDEA8\\uDEB0-\\uDEB6\\uDEC0-\\uDEC2\\uDED0-\\uDED6])\\uFE0F|(?:[\\u261D\\u26F9\\u270A-\\u270D]|\\uD83C[\\uDF85\\uDFC2-\\uDFC4\\uDFC7\\uDFCA-\\uDFCC]|\\uD83D[\\uDC42\\uDC43\\uDC46-\\uDC50\\uDC66-\\uDC78\\uDC7C\\uDC81-\\uDC83\\uDC85-\\uDC87\\uDC8F\\uDC91\\uDCAA\\uDD74\\uDD75\\uDD7A\\uDD90\\uDD95\\uDD96\\uDE45-\\uDE47\\uDE4B-\\uDE4F\\uDEA3\\uDEB4-\\uDEB6\\uDEC0\\uDECC]|\\uD83E[\\uDD0C\\uDD0F\\uDD18-\\uDD1F\\uDD26\\uDD30-\\uDD39\\uDD3C-\\uDD3E\\uDD77\\uDDB5\\uDDB6\\uDDB8\\uDDB9\\uDDBB\\uDDCD-\\uDDCF\\uDDD1-\\uDDDD])/g}}}),oh={};bo(oh,{default:()=>bf});function bf(z){if(typeof z!=\"string\"||z.length===0||(z=Vc(z),z.length===0))return 0;z=z.replace((0,vf.default)(),\"  \");let ee=0;for(let R=0;R<z.length;R++){let Y=z.codePointAt(R);Y<=31||Y>=127&&Y<=159||Y>=768&&Y<=879||(Y>65535&&R++,ee+=Od(Y)?2:1)}return ee}var vf,Wp=os({\"node_modules/string-width/index.js\"(){Un(),ep(),gl(),vf=ja(Md())}}),Cf=Ct({\"src/utils/get-string-width.js\"(z,ee){Un();var R=(Wp(),Ha(oh)).default,Y=/[^\\x20-\\x7F]/;function G(M){return M?Y.test(M)?R(M):M.length:0}ee.exports=G}}),Vp=Ct({\"src/document/doc-utils.js\"(z,ee){Un();var R=qu(),{literalline:Y,join:G}=Ku(),M=J=>Array.isArray(J)||J&&J.type===\"concat\",H=J=>{if(Array.isArray(J))return J;if(J.type!==\"concat\"&&J.type!==\"fill\")throw new Error(\"Expect doc type to be `concat` or `fill`.\");return J.parts},$={};function Z(J,me,we,Fe){let Me=[J];for(;Me.length>0;){let Xe=Me.pop();if(Xe===$){we(Me.pop());continue}if(we&&Me.push(Xe,$),!me||me(Xe)!==!1)if(M(Xe)||Xe.type===\"fill\"){let Dt=H(Xe);for(let Xt=Dt.length,hn=Xt-1;hn>=0;--hn)Me.push(Dt[hn])}else if(Xe.type===\"if-break\")Xe.flatContents&&Me.push(Xe.flatContents),Xe.breakContents&&Me.push(Xe.breakContents);else if(Xe.type===\"group\"&&Xe.expandedStates)if(Fe)for(let Dt=Xe.expandedStates.length,Xt=Dt-1;Xt>=0;--Xt)Me.push(Xe.expandedStates[Xt]);else Me.push(Xe.contents);else Xe.contents&&Me.push(Xe.contents)}}function oe(J,me){let we=new Map;return Fe(J);function Fe(Xe){if(we.has(Xe))return we.get(Xe);let Dt=Me(Xe);return we.set(Xe,Dt),Dt}function Me(Xe){if(Array.isArray(Xe))return me(Xe.map(Fe));if(Xe.type===\"concat\"||Xe.type===\"fill\"){let Dt=Xe.parts.map(Fe);return me(Object.assign(Object.assign({},Xe),{},{parts:Dt}))}if(Xe.type===\"if-break\"){let Dt=Xe.breakContents&&Fe(Xe.breakContents),Xt=Xe.flatContents&&Fe(Xe.flatContents);return me(Object.assign(Object.assign({},Xe),{},{breakContents:Dt,flatContents:Xt}))}if(Xe.type===\"group\"&&Xe.expandedStates){let Dt=Xe.expandedStates.map(Fe),Xt=Dt[0];return me(Object.assign(Object.assign({},Xe),{},{contents:Xt,expandedStates:Dt}))}if(Xe.contents){let Dt=Fe(Xe.contents);return me(Object.assign(Object.assign({},Xe),{},{contents:Dt}))}return me(Xe)}}function ye(J,me,we){let Fe=we,Me=!1;function Xe(Dt){let Xt=me(Dt);if(Xt!==void 0&&(Me=!0,Fe=Xt),Me)return!1}return Z(J,Xe),Fe}function _e(J){if(J.type===\"group\"&&J.break||J.type===\"line\"&&J.hard||J.type===\"break-parent\")return!0}function ge(J){return ye(J,_e,!1)}function ne(J){if(J.length>0){let me=R(J);!me.expandedStates&&!me.break&&(me.break=\"propagated\")}return null}function le(J){let me=new Set,we=[];function Fe(Xe){if(Xe.type===\"break-parent\"&&ne(we),Xe.type===\"group\"){if(we.push(Xe),me.has(Xe))return!1;me.add(Xe)}}function Me(Xe){Xe.type===\"group\"&&we.pop().break&&ne(we)}Z(J,Fe,Me,!0)}function xe(J){return J.type===\"line\"&&!J.hard?J.soft?\"\":\" \":J.type===\"if-break\"?J.flatContents||\"\":J}function tt(J){return oe(J,xe)}var j=(J,me)=>J&&J.type===\"line\"&&J.hard&&me&&me.type===\"break-parent\";function Ae(J){if(!J)return J;if(M(J)||J.type===\"fill\"){let me=H(J);for(;me.length>1&&j(...me.slice(-2));)me.length-=2;if(me.length>0){let we=Ae(R(me));me[me.length-1]=we}return Array.isArray(J)?me:Object.assign(Object.assign({},J),{},{parts:me})}switch(J.type){case\"align\":case\"indent\":case\"indent-if-break\":case\"group\":case\"line-suffix\":case\"label\":{let me=Ae(J.contents);return Object.assign(Object.assign({},J),{},{contents:me})}case\"if-break\":{let me=Ae(J.breakContents),we=Ae(J.flatContents);return Object.assign(Object.assign({},J),{},{breakContents:me,flatContents:we})}}return J}function rt(J){return Ae(pt(J))}function je(J){switch(J.type){case\"fill\":if(J.parts.every(we=>we===\"\"))return\"\";break;case\"group\":if(!J.contents&&!J.id&&!J.break&&!J.expandedStates)return\"\";if(J.contents.type===\"group\"&&J.contents.id===J.id&&J.contents.break===J.break&&J.contents.expandedStates===J.expandedStates)return J.contents;break;case\"align\":case\"indent\":case\"indent-if-break\":case\"line-suffix\":if(!J.contents)return\"\";break;case\"if-break\":if(!J.flatContents&&!J.breakContents)return\"\";break}if(!M(J))return J;let me=[];for(let we of H(J)){if(!we)continue;let[Fe,...Me]=M(we)?H(we):[we];typeof Fe==\"string\"&&typeof R(me)==\"string\"?me[me.length-1]+=Fe:me.push(Fe),me.push(...Me)}return me.length===0?\"\":me.length===1?me[0]:Array.isArray(J)?me:Object.assign(Object.assign({},J),{},{parts:me})}function pt(J){return oe(J,me=>je(me))}function at(J){let me=[],we=J.filter(Boolean);for(;we.length>0;){let Fe=we.shift();if(Fe){if(M(Fe)){we.unshift(...H(Fe));continue}if(me.length>0&&typeof R(me)==\"string\"&&typeof Fe==\"string\"){me[me.length-1]+=Fe;continue}me.push(Fe)}}return me}function fn(J){return oe(J,me=>Array.isArray(me)?at(me):me.parts?Object.assign(Object.assign({},me),{},{parts:at(me.parts)}):me)}function ce(J){return oe(J,me=>typeof me==\"string\"&&me.includes(`\n`)?Ve(me):me)}function Ve(J){let me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Y;return G(me,J.split(`\n`)).parts}function ae(J){if(J.type===\"line\")return!0}function Ee(J){return ye(J,ae,!1)}ee.exports={isConcat:M,getDocParts:H,willBreak:ge,traverseDoc:Z,findInDoc:ye,mapDoc:oe,propagateBreaks:le,removeLines:tt,stripTrailingHardline:rt,normalizeParts:at,normalizeDoc:fn,cleanDoc:pt,replaceTextEndOfLine:Ve,replaceEndOfLine:ce,canBreak:Ee}}}),hd=Ct({\"src/document/doc-printer.js\"(z,ee){Un();var{convertEndOfLineToChars:R}=Pd(),Y=qu(),G=Cf(),{fill:M,cursor:H,indent:$}=Ku(),{isConcat:Z,getDocParts:oe}=Vp(),ye,_e=1,ge=2;function ne(){return{value:\"\",length:0,queue:[]}}function le(je,pt){return tt(je,{type:\"indent\"},pt)}function xe(je,pt,at){return pt===Number.NEGATIVE_INFINITY?je.root||ne():pt<0?tt(je,{type:\"dedent\"},at):pt?pt.type===\"root\"?Object.assign(Object.assign({},je),{},{root:je}):tt(je,{type:typeof pt==\"string\"?\"stringAlign\":\"numberAlign\",n:pt},at):je}function tt(je,pt,at){let fn=pt.type===\"dedent\"?je.queue.slice(0,-1):[...je.queue,pt],ce=\"\",Ve=0,ae=0,Ee=0;for(let Dt of fn)switch(Dt.type){case\"indent\":we(),at.useTabs?J(1):me(at.tabWidth);break;case\"stringAlign\":we(),ce+=Dt.n,Ve+=Dt.n.length;break;case\"numberAlign\":ae+=1,Ee+=Dt.n;break;default:throw new Error(`Unexpected type '${Dt.type}'`)}return Me(),Object.assign(Object.assign({},je),{},{value:ce,length:Ve,queue:fn});function J(Dt){ce+=\"\t\".repeat(Dt),Ve+=at.tabWidth*Dt}function me(Dt){ce+=\" \".repeat(Dt),Ve+=Dt}function we(){at.useTabs?Fe():Me()}function Fe(){ae>0&&J(ae),Xe()}function Me(){Ee>0&&me(Ee),Xe()}function Xe(){ae=0,Ee=0}}function j(je){if(je.length===0)return 0;let pt=0;for(;je.length>0&&typeof Y(je)==\"string\"&&/^[\\t ]*$/.test(Y(je));)pt+=je.pop().length;if(je.length>0&&typeof Y(je)==\"string\"){let at=Y(je).replace(/[\\t ]*$/,\"\");pt+=Y(je).length-at.length,je[je.length-1]=at}return pt}function Ae(je,pt,at,fn,ce){let Ve=pt.length,ae=[je],Ee=[];for(;at>=0;){if(ae.length===0){if(Ve===0)return!0;ae.push(pt[--Ve]);continue}let{mode:J,doc:me}=ae.pop();if(typeof me==\"string\")Ee.push(me),at-=G(me);else if(Z(me)||me.type===\"fill\"){let we=oe(me);for(let Fe=we.length-1;Fe>=0;Fe--)ae.push({mode:J,doc:we[Fe]})}else switch(me.type){case\"indent\":case\"align\":case\"indent-if-break\":case\"label\":ae.push({mode:J,doc:me.contents});break;case\"trim\":at+=j(Ee);break;case\"group\":{if(ce&&me.break)return!1;let we=me.break?_e:J,Fe=me.expandedStates&&we===_e?Y(me.expandedStates):me.contents;ae.push({mode:we,doc:Fe});break}case\"if-break\":{let we=(me.groupId?ye[me.groupId]||ge:J)===_e?me.breakContents:me.flatContents;we&&ae.push({mode:J,doc:we});break}case\"line\":if(J===_e||me.hard)return!0;me.soft||(Ee.push(\" \"),at--);break;case\"line-suffix\":fn=!0;break;case\"line-suffix-boundary\":if(fn)return!1;break}}return!1}function rt(je,pt){ye={};let at=pt.printWidth,fn=R(pt.endOfLine),ce=0,Ve=[{ind:ne(),mode:_e,doc:je}],ae=[],Ee=!1,J=[];for(;Ve.length>0;){let{ind:we,mode:Fe,doc:Me}=Ve.pop();if(typeof Me==\"string\"){let Xe=fn!==`\n`?Me.replace(/\\n/g,fn):Me;ae.push(Xe),ce+=G(Xe)}else if(Z(Me)){let Xe=oe(Me);for(let Dt=Xe.length-1;Dt>=0;Dt--)Ve.push({ind:we,mode:Fe,doc:Xe[Dt]})}else switch(Me.type){case\"cursor\":ae.push(H.placeholder);break;case\"indent\":Ve.push({ind:le(we,pt),mode:Fe,doc:Me.contents});break;case\"align\":Ve.push({ind:xe(we,Me.n,pt),mode:Fe,doc:Me.contents});break;case\"trim\":ce-=j(ae);break;case\"group\":switch(Fe){case ge:if(!Ee){Ve.push({ind:we,mode:Me.break?_e:ge,doc:Me.contents});break}case _e:{Ee=!1;let Xe={ind:we,mode:ge,doc:Me.contents},Dt=at-ce,Xt=J.length>0;if(!Me.break&&Ae(Xe,Ve,Dt,Xt))Ve.push(Xe);else if(Me.expandedStates){let hn=Y(Me.expandedStates);if(Me.break){Ve.push({ind:we,mode:_e,doc:hn});break}else for(let Jt=1;Jt<Me.expandedStates.length+1;Jt++)if(Jt>=Me.expandedStates.length){Ve.push({ind:we,mode:_e,doc:hn});break}else{let Hn=Me.expandedStates[Jt],Nt={ind:we,mode:ge,doc:Hn};if(Ae(Nt,Ve,Dt,Xt)){Ve.push(Nt);break}}}else Ve.push({ind:we,mode:_e,doc:Me.contents});break}}Me.id&&(ye[Me.id]=Y(Ve).mode);break;case\"fill\":{let Xe=at-ce,{parts:Dt}=Me;if(Dt.length===0)break;let[Xt,hn]=Dt,Jt={ind:we,mode:ge,doc:Xt},Hn={ind:we,mode:_e,doc:Xt},Nt=Ae(Jt,[],Xe,J.length>0,!0);if(Dt.length===1){Nt?Ve.push(Jt):Ve.push(Hn);break}let Di={ind:we,mode:ge,doc:hn},cn={ind:we,mode:_e,doc:hn};if(Dt.length===2){Nt?Ve.push(Di,Jt):Ve.push(cn,Hn);break}Dt.splice(0,2);let Ht={ind:we,mode:Fe,doc:M(Dt)},vi=Dt[0];Ae({ind:we,mode:ge,doc:[Xt,hn,vi]},[],Xe,J.length>0,!0)?Ve.push(Ht,Di,Jt):Nt?Ve.push(Ht,cn,Jt):Ve.push(Ht,cn,Hn);break}case\"if-break\":case\"indent-if-break\":{let Xe=Me.groupId?ye[Me.groupId]:Fe;if(Xe===_e){let Dt=Me.type===\"if-break\"?Me.breakContents:Me.negate?Me.contents:$(Me.contents);Dt&&Ve.push({ind:we,mode:Fe,doc:Dt})}if(Xe===ge){let Dt=Me.type===\"if-break\"?Me.flatContents:Me.negate?$(Me.contents):Me.contents;Dt&&Ve.push({ind:we,mode:Fe,doc:Dt})}break}case\"line-suffix\":J.push({ind:we,mode:Fe,doc:Me.contents});break;case\"line-suffix-boundary\":J.length>0&&Ve.push({ind:we,mode:Fe,doc:{type:\"line\",hard:!0}});break;case\"line\":switch(Fe){case ge:if(Me.hard)Ee=!0;else{Me.soft||(ae.push(\" \"),ce+=1);break}case _e:if(J.length>0){Ve.push({ind:we,mode:Fe,doc:Me},...J.reverse()),J.length=0;break}Me.literal?we.root?(ae.push(fn,we.root.value),ce=we.root.length):(ae.push(fn),ce=0):(ce-=j(ae),ae.push(fn+we.value),ce=we.length);break}break;case\"label\":Ve.push({ind:we,mode:Fe,doc:Me.contents});break}Ve.length===0&&J.length>0&&(Ve.push(...J.reverse()),J.length=0)}let me=ae.indexOf(H.placeholder);if(me!==-1){let we=ae.indexOf(H.placeholder,me+1),Fe=ae.slice(0,me).join(\"\"),Me=ae.slice(me+1,we).join(\"\"),Xe=ae.slice(we+1).join(\"\");return{formatted:Fe+Me+Xe,cursorNodeStart:Fe.length,cursorNodeText:Me}}return{formatted:ae.join(\"\")}}ee.exports={printDocToString:rt}}}),tp=Ct({\"src/document/doc-debug.js\"(z,ee){Un();var{isConcat:R,getDocParts:Y}=Vp();function G(H){if(!H)return\"\";if(R(H)){let $=[];for(let Z of Y(H))if(R(Z))$.push(...G(Z).parts);else{let oe=G(Z);oe!==\"\"&&$.push(oe)}return{type:\"concat\",parts:$}}return H.type===\"if-break\"?Object.assign(Object.assign({},H),{},{breakContents:G(H.breakContents),flatContents:G(H.flatContents)}):H.type===\"group\"?Object.assign(Object.assign({},H),{},{contents:G(H.contents),expandedStates:H.expandedStates&&H.expandedStates.map(G)}):H.type===\"fill\"?{type:\"fill\",parts:H.parts.map(G)}:H.contents?Object.assign(Object.assign({},H),{},{contents:G(H.contents)}):H}function M(H){let $=Object.create(null),Z=new Set;return oe(G(H));function oe(_e,ge,ne){if(typeof _e==\"string\")return JSON.stringify(_e);if(R(_e)){let le=Y(_e).map(oe).filter(Boolean);return le.length===1?le[0]:`[${le.join(\", \")}]`}if(_e.type===\"line\"){let le=Array.isArray(ne)&&ne[ge+1]&&ne[ge+1].type===\"break-parent\";return _e.literal?le?\"literalline\":\"literallineWithoutBreakParent\":_e.hard?le?\"hardline\":\"hardlineWithoutBreakParent\":_e.soft?\"softline\":\"line\"}if(_e.type===\"break-parent\")return Array.isArray(ne)&&ne[ge-1]&&ne[ge-1].type===\"line\"&&ne[ge-1].hard?void 0:\"breakParent\";if(_e.type===\"trim\")return\"trim\";if(_e.type===\"indent\")return\"indent(\"+oe(_e.contents)+\")\";if(_e.type===\"align\")return _e.n===Number.NEGATIVE_INFINITY?\"dedentToRoot(\"+oe(_e.contents)+\")\":_e.n<0?\"dedent(\"+oe(_e.contents)+\")\":_e.n.type===\"root\"?\"markAsRoot(\"+oe(_e.contents)+\")\":\"align(\"+JSON.stringify(_e.n)+\", \"+oe(_e.contents)+\")\";if(_e.type===\"if-break\")return\"ifBreak(\"+oe(_e.breakContents)+(_e.flatContents?\", \"+oe(_e.flatContents):\"\")+(_e.groupId?(_e.flatContents?\"\":', \"\"')+`, { groupId: ${ye(_e.groupId)} }`:\"\")+\")\";if(_e.type===\"indent-if-break\"){let le=[];_e.negate&&le.push(\"negate: true\"),_e.groupId&&le.push(`groupId: ${ye(_e.groupId)}`);let xe=le.length>0?`, { ${le.join(\", \")} }`:\"\";return`indentIfBreak(${oe(_e.contents)}${xe})`}if(_e.type===\"group\"){let le=[];_e.break&&_e.break!==\"propagated\"&&le.push(\"shouldBreak: true\"),_e.id&&le.push(`id: ${ye(_e.id)}`);let xe=le.length>0?`, { ${le.join(\", \")} }`:\"\";return _e.expandedStates?`conditionalGroup([${_e.expandedStates.map(tt=>oe(tt)).join(\",\")}]${xe})`:`group(${oe(_e.contents)}${xe})`}if(_e.type===\"fill\")return`fill([${_e.parts.map(le=>oe(le)).join(\", \")}])`;if(_e.type===\"line-suffix\")return\"lineSuffix(\"+oe(_e.contents)+\")\";if(_e.type===\"line-suffix-boundary\")return\"lineSuffixBoundary\";if(_e.type===\"label\")return`label(${JSON.stringify(_e.label)}, ${oe(_e.contents)})`;throw new Error(\"Unknown doc type \"+_e.type)}function ye(_e){if(typeof _e!=\"symbol\")return JSON.stringify(String(_e));if(_e in $)return $[_e];let ge=String(_e).slice(7,-1)||\"symbol\";for(let ne=0;;ne++){let le=ge+(ne>0?` #${ne}`:\"\");if(!Z.has(le))return Z.add(le),$[_e]=`Symbol.for(${JSON.stringify(le)})`}}}ee.exports={printDocToDebug:M}}}),Ia=Ct({\"src/document/index.js\"(z,ee){Un(),ee.exports={builders:Ku(),printer:hd(),utils:Vp(),debug:tp()}}}),eg={};bo(eg,{default:()=>$g});function $g(z){if(typeof z!=\"string\")throw new TypeError(\"Expected a string\");return z.replace(/[|\\\\{}()[\\]^$+*?.]/g,\"\\\\$&\").replace(/-/g,\"\\\\x2d\")}var ed=os({\"node_modules/escape-string-regexp/index.js\"(){Un()}}),Hp=Ct({\"node_modules/semver/internal/debug.js\"(z,ee){Un();var R=typeof jl==\"object\"&&jl.env&&jl.env.NODE_DEBUG&&/\\bsemver\\b/i.test(jl.env.NODE_DEBUG)?function(){for(var Y=arguments.length,G=new Array(Y),M=0;M<Y;M++)G[M]=arguments[M];return console.error(\"SEMVER\",...G)}:()=>{};ee.exports=R}}),Ke=Ct({\"node_modules/semver/internal/constants.js\"(z,ee){Un();var R=\"2.0.0\",Y=256,G=Number.MAX_SAFE_INTEGER||9007199254740991,M=16;ee.exports={SEMVER_SPEC_VERSION:R,MAX_LENGTH:Y,MAX_SAFE_INTEGER:G,MAX_SAFE_COMPONENT_LENGTH:M}}}),U=Ct({\"node_modules/semver/internal/re.js\"(z,ee){Un();var{MAX_SAFE_COMPONENT_LENGTH:R}=Ke(),Y=Hp();z=ee.exports={};var G=z.re=[],M=z.src=[],H=z.t={},$=0,Z=(oe,ye,_e)=>{let ge=$++;Y(oe,ge,ye),H[oe]=ge,M[ge]=ye,G[ge]=new RegExp(ye,_e?\"g\":void 0)};Z(\"NUMERICIDENTIFIER\",\"0|[1-9]\\\\d*\"),Z(\"NUMERICIDENTIFIERLOOSE\",\"[0-9]+\"),Z(\"NONNUMERICIDENTIFIER\",\"\\\\d*[a-zA-Z-][a-zA-Z0-9-]*\"),Z(\"MAINVERSION\",`(${M[H.NUMERICIDENTIFIER]})\\\\.(${M[H.NUMERICIDENTIFIER]})\\\\.(${M[H.NUMERICIDENTIFIER]})`),Z(\"MAINVERSIONLOOSE\",`(${M[H.NUMERICIDENTIFIERLOOSE]})\\\\.(${M[H.NUMERICIDENTIFIERLOOSE]})\\\\.(${M[H.NUMERICIDENTIFIERLOOSE]})`),Z(\"PRERELEASEIDENTIFIER\",`(?:${M[H.NUMERICIDENTIFIER]}|${M[H.NONNUMERICIDENTIFIER]})`),Z(\"PRERELEASEIDENTIFIERLOOSE\",`(?:${M[H.NUMERICIDENTIFIERLOOSE]}|${M[H.NONNUMERICIDENTIFIER]})`),Z(\"PRERELEASE\",`(?:-(${M[H.PRERELEASEIDENTIFIER]}(?:\\\\.${M[H.PRERELEASEIDENTIFIER]})*))`),Z(\"PRERELEASELOOSE\",`(?:-?(${M[H.PRERELEASEIDENTIFIERLOOSE]}(?:\\\\.${M[H.PRERELEASEIDENTIFIERLOOSE]})*))`),Z(\"BUILDIDENTIFIER\",\"[0-9A-Za-z-]+\"),Z(\"BUILD\",`(?:\\\\+(${M[H.BUILDIDENTIFIER]}(?:\\\\.${M[H.BUILDIDENTIFIER]})*))`),Z(\"FULLPLAIN\",`v?${M[H.MAINVERSION]}${M[H.PRERELEASE]}?${M[H.BUILD]}?`),Z(\"FULL\",`^${M[H.FULLPLAIN]}$`),Z(\"LOOSEPLAIN\",`[v=\\\\s]*${M[H.MAINVERSIONLOOSE]}${M[H.PRERELEASELOOSE]}?${M[H.BUILD]}?`),Z(\"LOOSE\",`^${M[H.LOOSEPLAIN]}$`),Z(\"GTLT\",\"((?:<|>)?=?)\"),Z(\"XRANGEIDENTIFIERLOOSE\",`${M[H.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`),Z(\"XRANGEIDENTIFIER\",`${M[H.NUMERICIDENTIFIER]}|x|X|\\\\*`),Z(\"XRANGEPLAIN\",`[v=\\\\s]*(${M[H.XRANGEIDENTIFIER]})(?:\\\\.(${M[H.XRANGEIDENTIFIER]})(?:\\\\.(${M[H.XRANGEIDENTIFIER]})(?:${M[H.PRERELEASE]})?${M[H.BUILD]}?)?)?`),Z(\"XRANGEPLAINLOOSE\",`[v=\\\\s]*(${M[H.XRANGEIDENTIFIERLOOSE]})(?:\\\\.(${M[H.XRANGEIDENTIFIERLOOSE]})(?:\\\\.(${M[H.XRANGEIDENTIFIERLOOSE]})(?:${M[H.PRERELEASELOOSE]})?${M[H.BUILD]}?)?)?`),Z(\"XRANGE\",`^${M[H.GTLT]}\\\\s*${M[H.XRANGEPLAIN]}$`),Z(\"XRANGELOOSE\",`^${M[H.GTLT]}\\\\s*${M[H.XRANGEPLAINLOOSE]}$`),Z(\"COERCE\",`(^|[^\\\\d])(\\\\d{1,${R}})(?:\\\\.(\\\\d{1,${R}}))?(?:\\\\.(\\\\d{1,${R}}))?(?:$|[^\\\\d])`),Z(\"COERCERTL\",M[H.COERCE],!0),Z(\"LONETILDE\",\"(?:~>?)\"),Z(\"TILDETRIM\",`(\\\\s*)${M[H.LONETILDE]}\\\\s+`,!0),z.tildeTrimReplace=\"$1~\",Z(\"TILDE\",`^${M[H.LONETILDE]}${M[H.XRANGEPLAIN]}$`),Z(\"TILDELOOSE\",`^${M[H.LONETILDE]}${M[H.XRANGEPLAINLOOSE]}$`),Z(\"LONECARET\",\"(?:\\\\^)\"),Z(\"CARETTRIM\",`(\\\\s*)${M[H.LONECARET]}\\\\s+`,!0),z.caretTrimReplace=\"$1^\",Z(\"CARET\",`^${M[H.LONECARET]}${M[H.XRANGEPLAIN]}$`),Z(\"CARETLOOSE\",`^${M[H.LONECARET]}${M[H.XRANGEPLAINLOOSE]}$`),Z(\"COMPARATORLOOSE\",`^${M[H.GTLT]}\\\\s*(${M[H.LOOSEPLAIN]})$|^$`),Z(\"COMPARATOR\",`^${M[H.GTLT]}\\\\s*(${M[H.FULLPLAIN]})$|^$`),Z(\"COMPARATORTRIM\",`(\\\\s*)${M[H.GTLT]}\\\\s*(${M[H.LOOSEPLAIN]}|${M[H.XRANGEPLAIN]})`,!0),z.comparatorTrimReplace=\"$1$2$3\",Z(\"HYPHENRANGE\",`^\\\\s*(${M[H.XRANGEPLAIN]})\\\\s+-\\\\s+(${M[H.XRANGEPLAIN]})\\\\s*$`),Z(\"HYPHENRANGELOOSE\",`^\\\\s*(${M[H.XRANGEPLAINLOOSE]})\\\\s+-\\\\s+(${M[H.XRANGEPLAINLOOSE]})\\\\s*$`),Z(\"STAR\",\"(<|>)?=?\\\\s*\\\\*\"),Z(\"GTE0\",\"^\\\\s*>=\\\\s*0\\\\.0\\\\.0\\\\s*$\"),Z(\"GTE0PRE\",\"^\\\\s*>=\\\\s*0\\\\.0\\\\.0-0\\\\s*$\")}}),Pe=Ct({\"node_modules/semver/internal/parse-options.js\"(z,ee){Un();var R=[\"includePrerelease\",\"loose\",\"rtl\"],Y=G=>G?typeof G!=\"object\"?{loose:!0}:R.filter(M=>G[M]).reduce((M,H)=>(M[H]=!0,M),{}):{};ee.exports=Y}}),Dn=Ct({\"node_modules/semver/internal/identifiers.js\"(z,ee){Un();var R=/^[0-9]+$/,Y=(M,H)=>{let $=R.test(M),Z=R.test(H);return $&&Z&&(M=+M,H=+H),M===H?0:$&&!Z?-1:Z&&!$?1:M<H?-1:1},G=(M,H)=>Y(H,M);ee.exports={compareIdentifiers:Y,rcompareIdentifiers:G}}}),$n=Ct({\"node_modules/semver/classes/semver.js\"(z,ee){Un();var R=Hp(),{MAX_LENGTH:Y,MAX_SAFE_INTEGER:G}=Ke(),{re:M,t:H}=U(),$=Pe(),{compareIdentifiers:Z}=Dn(),oe=class{constructor(ye,_e){if(_e=$(_e),ye instanceof oe){if(ye.loose===!!_e.loose&&ye.includePrerelease===!!_e.includePrerelease)return ye;ye=ye.version}else if(typeof ye!=\"string\")throw new TypeError(`Invalid Version: ${ye}`);if(ye.length>Y)throw new TypeError(`version is longer than ${Y} characters`);R(\"SemVer\",ye,_e),this.options=_e,this.loose=!!_e.loose,this.includePrerelease=!!_e.includePrerelease;let ge=ye.trim().match(_e.loose?M[H.LOOSE]:M[H.FULL]);if(!ge)throw new TypeError(`Invalid Version: ${ye}`);if(this.raw=ye,this.major=+ge[1],this.minor=+ge[2],this.patch=+ge[3],this.major>G||this.major<0)throw new TypeError(\"Invalid major version\");if(this.minor>G||this.minor<0)throw new TypeError(\"Invalid minor version\");if(this.patch>G||this.patch<0)throw new TypeError(\"Invalid patch version\");ge[4]?this.prerelease=ge[4].split(\".\").map(ne=>{if(/^[0-9]+$/.test(ne)){let le=+ne;if(le>=0&&le<G)return le}return ne}):this.prerelease=[],this.build=ge[5]?ge[5].split(\".\"):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(\".\")}`),this.version}toString(){return this.version}compare(ye){if(R(\"SemVer.compare\",this.version,this.options,ye),!(ye instanceof oe)){if(typeof ye==\"string\"&&ye===this.version)return 0;ye=new oe(ye,this.options)}return ye.version===this.version?0:this.compareMain(ye)||this.comparePre(ye)}compareMain(ye){return ye instanceof oe||(ye=new oe(ye,this.options)),Z(this.major,ye.major)||Z(this.minor,ye.minor)||Z(this.patch,ye.patch)}comparePre(ye){if(ye instanceof oe||(ye=new oe(ye,this.options)),this.prerelease.length&&!ye.prerelease.length)return-1;if(!this.prerelease.length&&ye.prerelease.length)return 1;if(!this.prerelease.length&&!ye.prerelease.length)return 0;let _e=0;do{let ge=this.prerelease[_e],ne=ye.prerelease[_e];if(R(\"prerelease compare\",_e,ge,ne),ge===void 0&&ne===void 0)return 0;if(ne===void 0)return 1;if(ge===void 0)return-1;if(ge!==ne)return Z(ge,ne)}while(++_e)}compareBuild(ye){ye instanceof oe||(ye=new oe(ye,this.options));let _e=0;do{let ge=this.build[_e],ne=ye.build[_e];if(R(\"prerelease compare\",_e,ge,ne),ge===void 0&&ne===void 0)return 0;if(ne===void 0)return 1;if(ge===void 0)return-1;if(ge!==ne)return Z(ge,ne)}while(++_e)}inc(ye,_e){switch(ye){case\"premajor\":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc(\"pre\",_e);break;case\"preminor\":this.prerelease.length=0,this.patch=0,this.minor++,this.inc(\"pre\",_e);break;case\"prepatch\":this.prerelease.length=0,this.inc(\"patch\",_e),this.inc(\"pre\",_e);break;case\"prerelease\":this.prerelease.length===0&&this.inc(\"patch\",_e),this.inc(\"pre\",_e);break;case\"major\":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case\"minor\":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case\"patch\":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case\"pre\":if(this.prerelease.length===0)this.prerelease=[0];else{let ge=this.prerelease.length;for(;--ge>=0;)typeof this.prerelease[ge]==\"number\"&&(this.prerelease[ge]++,ge=-2);ge===-1&&this.prerelease.push(0)}_e&&(Z(this.prerelease[0],_e)===0?isNaN(this.prerelease[1])&&(this.prerelease=[_e,0]):this.prerelease=[_e,0]);break;default:throw new Error(`invalid increment argument: ${ye}`)}return this.format(),this.raw=this.version,this}};ee.exports=oe}}),zn=Ct({\"node_modules/semver/functions/compare.js\"(z,ee){Un();var R=$n(),Y=(G,M,H)=>new R(G,H).compare(new R(M,H));ee.exports=Y}}),Ji=Ct({\"node_modules/semver/functions/lt.js\"(z,ee){Un();var R=zn(),Y=(G,M,H)=>R(G,M,H)<0;ee.exports=Y}}),or=Ct({\"node_modules/semver/functions/gte.js\"(z,ee){Un();var R=zn(),Y=(G,M,H)=>R(G,M,H)>=0;ee.exports=Y}}),Ls=Ct({\"src/utils/arrayify.js\"(z,ee){Un(),ee.exports=(R,Y)=>Object.entries(R).map(G=>{let[M,H]=G;return Object.assign({[Y]:M},H)})}}),qi=Ct({\"node_modules/outdent/lib/index.js\"(z,ee){Un(),Object.defineProperty(z,\"__esModule\",{value:!0}),z.outdent=void 0;function R(){for(var Ae=[],rt=0;rt<arguments.length;rt++)Ae[rt]=arguments[rt]}function Y(){return typeof WeakMap<\"u\"?new WeakMap:G()}function G(){return{add:R,delete:R,get:R,set:R,has:function(Ae){return!1}}}var M=Object.prototype.hasOwnProperty,H=function(Ae,rt){return M.call(Ae,rt)};function $(Ae,rt){for(var je in rt)H(rt,je)&&(Ae[je]=rt[je]);return Ae}var Z=/^[ \\t]*(?:\\r\\n|\\r|\\n)/,oe=/(?:\\r\\n|\\r|\\n)[ \\t]*$/,ye=/^(?:[\\r\\n]|$)/,_e=/(?:\\r\\n|\\r|\\n)([ \\t]*)(?:[^ \\t\\r\\n]|$)/,ge=/^[ \\t]*[\\r\\n][ \\t\\r\\n]*$/;function ne(Ae,rt,je){var pt=0,at=Ae[0].match(_e);at&&(pt=at[1].length);var fn=\"(\\\\r\\\\n|\\\\r|\\\\n).{0,\"+pt+\"}\",ce=new RegExp(fn,\"g\");rt&&(Ae=Ae.slice(1));var Ve=je.newline,ae=je.trimLeadingNewline,Ee=je.trimTrailingNewline,J=typeof Ve==\"string\",me=Ae.length,we=Ae.map(function(Fe,Me){return Fe=Fe.replace(ce,\"$1\"),Me===0&&ae&&(Fe=Fe.replace(Z,\"\")),Me===me-1&&Ee&&(Fe=Fe.replace(oe,\"\")),J&&(Fe=Fe.replace(/\\r\\n|\\n|\\r/g,function(Xe){return Ve})),Fe});return we}function le(Ae,rt){for(var je=\"\",pt=0,at=Ae.length;pt<at;pt++)je+=Ae[pt],pt<at-1&&(je+=rt[pt]);return je}function xe(Ae){return H(Ae,\"raw\")&&H(Ae,\"length\")}function tt(Ae){var rt=Y(),je=Y();function pt(fn){for(var ce=[],Ve=1;Ve<arguments.length;Ve++)ce[Ve-1]=arguments[Ve];if(xe(fn)){var ae=fn,Ee=(ce[0]===pt||ce[0]===j)&&ge.test(ae[0])&&ye.test(ae[1]),J=Ee?je:rt,me=J.get(ae);if(me||(me=ne(ae,Ee,Ae),J.set(ae,me)),ce.length===0)return me[0];var we=le(me,Ee?ce.slice(1):ce);return we}else return tt($($({},Ae),fn||{}))}var at=$(pt,{string:function(fn){return ne([fn],!1,Ae)[0]}});return at}var j=tt({trimLeadingNewline:!0,trimTrailingNewline:!0});if(z.outdent=j,z.default=j,typeof ee<\"u\")try{ee.exports=j,Object.defineProperty(j,\"__esModule\",{value:!0}),j.default=j,j.outdent=j}catch{}}}),br=Ct({\"src/main/core-options.js\"(z,ee){Un();var{outdent:R}=qi(),Y=\"Config\",G=\"Editor\",M=\"Format\",H=\"Other\",$=\"Output\",Z=\"Global\",oe=\"Special\",ye={cursorOffset:{since:\"1.4.0\",category:oe,type:\"int\",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:R`\n      Print (to stderr) where a cursor at the given position would move to after formatting.\n      This option cannot be used with --range-start and --range-end.\n    `,cliCategory:G},endOfLine:{since:\"1.15.0\",category:Z,type:\"choice\",default:[{since:\"1.15.0\",value:\"auto\"},{since:\"2.0.0\",value:\"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:R`\n          Maintain existing\n          (mixed values within one file are normalised by looking at what's used after the first line)\n        `}]},filepath:{since:\"1.4.0\",category:oe,type:\"path\",description:\"Specify the input filepath. This will be used to do parser inference.\",cliName:\"stdin-filepath\",cliCategory:H,cliDescription:\"Path to the file to pretend that stdin comes from.\"},insertPragma:{since:\"1.8.0\",category:oe,type:\"boolean\",default:!1,description:\"Insert @format pragma into file's first docblock comment.\",cliCategory:H},parser:{since:\"0.0.10\",category:Z,type:\"choice\",default:[{since:\"0.0.10\",value:\"babylon\"},{since:\"1.13.0\",value:void 0}],description:\"Which parser to use.\",exception:_e=>typeof _e==\"string\"||typeof _e==\"function\",choices:[{value:\"flow\",description:\"Flow\"},{value:\"babel\",since:\"1.16.0\",description:\"JavaScript\"},{value:\"babel-flow\",since:\"1.16.0\",description:\"Flow\"},{value:\"babel-ts\",since:\"2.0.0\",description:\"TypeScript\"},{value:\"typescript\",since:\"1.4.0\",description:\"TypeScript\"},{value:\"acorn\",since:\"2.6.0\",description:\"JavaScript\"},{value:\"espree\",since:\"2.2.0\",description:\"JavaScript\"},{value:\"meriyah\",since:\"2.2.0\",description:\"JavaScript\"},{value:\"css\",since:\"1.7.1\",description:\"CSS\"},{value:\"less\",since:\"1.7.1\",description:\"Less\"},{value:\"scss\",since:\"1.7.1\",description:\"SCSS\"},{value:\"json\",since:\"1.5.0\",description:\"JSON\"},{value:\"json5\",since:\"1.13.0\",description:\"JSON5\"},{value:\"json-stringify\",since:\"1.13.0\",description:\"JSON.stringify\"},{value:\"graphql\",since:\"1.5.0\",description:\"GraphQL\"},{value:\"markdown\",since:\"1.8.0\",description:\"Markdown\"},{value:\"mdx\",since:\"1.15.0\",description:\"MDX\"},{value:\"vue\",since:\"1.10.0\",description:\"Vue\"},{value:\"yaml\",since:\"1.14.0\",description:\"YAML\"},{value:\"glimmer\",since:\"2.3.0\",description:\"Ember / Handlebars\"},{value:\"html\",since:\"1.15.0\",description:\"HTML\"},{value:\"angular\",since:\"1.15.0\",description:\"Angular\"},{value:\"lwc\",since:\"1.17.0\",description:\"Lightning Web Components\"}]},plugins:{since:\"1.10.0\",type:\"path\",array:!0,default:[{value:[]}],category:Z,description:\"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.\",exception:_e=>typeof _e==\"string\"||typeof _e==\"object\",cliName:\"plugin\",cliCategory:Y},pluginSearchDirs:{since:\"1.13.0\",type:\"path\",array:!0,default:[{value:[]}],category:Z,description:R`\n      Custom directory that contains prettier plugins in node_modules subdirectory.\n      Overrides default behavior when plugins are searched relatively to the location of Prettier.\n      Multiple values are accepted.\n    `,exception:_e=>typeof _e==\"string\"||typeof _e==\"object\",cliName:\"plugin-search-dir\",cliCategory:Y},printWidth:{since:\"0.0.0\",category:Z,type:\"int\",default:80,description:\"The line length where Prettier will try wrap.\",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:\"1.4.0\",category:oe,type:\"int\",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:R`\n      Format code ending at a given character offset (exclusive).\n      The range will extend forwards to the end of the selected statement.\n      This option cannot be used with --cursor-offset.\n    `,cliCategory:G},rangeStart:{since:\"1.4.0\",category:oe,type:\"int\",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:R`\n      Format code starting at a given character offset.\n      The range will extend backwards to the start of the first line containing the selected statement.\n      This option cannot be used with --cursor-offset.\n    `,cliCategory:G},requirePragma:{since:\"1.7.0\",category:oe,type:\"boolean\",default:!1,description:R`\n      Require either '@prettier' or '@format' to be present in the file's first docblock comment\n      in order for it to be formatted.\n    `,cliCategory:H},tabWidth:{type:\"int\",category:Z,default:2,description:\"Number of spaces per indentation level.\",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:\"1.0.0\",category:Z,type:\"boolean\",default:!1,description:\"Indent with tabs instead of spaces.\"},embeddedLanguageFormatting:{since:\"2.1.0\",category:Z,type:\"choice\",default:[{since:\"2.1.0\",value:\"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.\"}]}};ee.exports={CATEGORY_CONFIG:Y,CATEGORY_EDITOR:G,CATEGORY_FORMAT:M,CATEGORY_OTHER:H,CATEGORY_OUTPUT:$,CATEGORY_GLOBAL:Z,CATEGORY_SPECIAL:oe,options:ye}}}),Yr=Ct({\"src/main/support.js\"(z,ee){Un();var R={compare:zn(),lt:Ji(),gte:or()},Y=Ls(),G=mu().version,M=br().options;function H(){let{plugins:Z=[],showUnreleased:oe=!1,showDeprecated:ye=!1,showInternal:_e=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ge=G.split(\"-\",1)[0],ne=Z.flatMap(Ae=>Ae.languages||[]).filter(xe),le=Y(Object.assign({},...Z.map(Ae=>{let{options:rt}=Ae;return rt}),M),\"name\").filter(Ae=>xe(Ae)&&tt(Ae)).sort((Ae,rt)=>Ae.name===rt.name?0:Ae.name<rt.name?-1:1).map(j).map(Ae=>{Ae=Object.assign({},Ae),Array.isArray(Ae.default)&&(Ae.default=Ae.default.length===1?Ae.default[0].value:Ae.default.filter(xe).sort((je,pt)=>R.compare(pt.since,je.since))[0].value),Array.isArray(Ae.choices)&&(Ae.choices=Ae.choices.filter(je=>xe(je)&&tt(je)),Ae.name===\"parser\"&&$(Ae,ne,Z));let rt=Object.fromEntries(Z.filter(je=>je.defaultOptions&&je.defaultOptions[Ae.name]!==void 0).map(je=>[je.name,je.defaultOptions[Ae.name]]));return Object.assign(Object.assign({},Ae),{},{pluginDefaults:rt})});return{languages:ne,options:le};function xe(Ae){return oe||!(\"since\"in Ae)||Ae.since&&R.gte(ge,Ae.since)}function tt(Ae){return ye||!(\"deprecated\"in Ae)||Ae.deprecated&&R.lt(ge,Ae.deprecated)}function j(Ae){return _e?Ae:en(Ae,it)}}function $(Z,oe,ye){let _e=new Set(Z.choices.map(ge=>ge.value));for(let ge of oe)if(ge.parsers){for(let ne of ge.parsers)if(!_e.has(ne)){_e.add(ne);let le=ye.find(tt=>tt.parsers&&tt.parsers[ne]),xe=ge.name;le&&le.name&&(xe+=` (plugin: ${le.name})`),Z.choices.push({value:ne,description:xe})}}}ee.exports={getSupportInfo:H}}}),Cs=Ct({\"src/utils/is-non-empty-array.js\"(z,ee){Un();function R(Y){return Array.isArray(Y)&&Y.length>0}ee.exports=R}}),rs=Ct({\"src/utils/text/skip.js\"(z,ee){Un();function R($){return(Z,oe,ye)=>{let _e=ye&&ye.backwards;if(oe===!1)return!1;let{length:ge}=Z,ne=oe;for(;ne>=0&&ne<ge;){let le=Z.charAt(ne);if($ instanceof RegExp){if(!$.test(le))return ne}else if(!$.includes(le))return ne;_e?ne--:ne++}return ne===-1||ne===ge?ne:!1}}var Y=R(/\\s/),G=R(\" \t\"),M=R(\",; \t\"),H=R(/[^\\n\\r]/);ee.exports={skipWhitespace:Y,skipSpaces:G,skipToLineEnd:M,skipEverythingButNewLine:H}}}),Ps=Ct({\"src/utils/text/skip-inline-comment.js\"(z,ee){Un();function R(Y,G){if(G===!1)return!1;if(Y.charAt(G)===\"/\"&&Y.charAt(G+1)===\"*\"){for(let M=G+2;M<Y.length;++M)if(Y.charAt(M)===\"*\"&&Y.charAt(M+1)===\"/\")return M+2}return G}ee.exports=R}}),Os=Ct({\"src/utils/text/skip-trailing-comment.js\"(z,ee){Un();var{skipEverythingButNewLine:R}=rs();function Y(G,M){return M===!1?!1:G.charAt(M)===\"/\"&&G.charAt(M+1)===\"/\"?R(G,M):M}ee.exports=Y}}),zs=Ct({\"src/utils/text/skip-newline.js\"(z,ee){Un();function R(Y,G,M){let H=M&&M.backwards;if(G===!1)return!1;let $=Y.charAt(G);if(H){if(Y.charAt(G-1)===\"\\r\"&&$===`\n`)return G-2;if($===`\n`||$===\"\\r\"||$===\"\\u2028\"||$===\"\\u2029\")return G-1}else{if($===\"\\r\"&&Y.charAt(G+1)===`\n`)return G+2;if($===`\n`||$===\"\\r\"||$===\"\\u2028\"||$===\"\\u2029\")return G+1}return G}ee.exports=R}}),sa=Ct({\"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js\"(z,ee){Un();var R=Ps(),Y=zs(),G=Os(),{skipSpaces:M}=rs();function H($,Z){let oe=null,ye=Z;for(;ye!==oe;)oe=ye,ye=M($,ye),ye=R($,ye),ye=G($,ye),ye=Y($,ye);return ye}ee.exports=H}}),sn=Ct({\"src/common/util.js\"(z,ee){Un();var{default:R}=(ed(),Ha(eg)),Y=qu(),{getSupportInfo:G}=Yr(),M=Cs(),H=Cf(),{skipWhitespace:$,skipSpaces:Z,skipToLineEnd:oe,skipEverythingButNewLine:ye}=rs(),_e=Ps(),ge=Os(),ne=zs(),le=sa(),xe=cn=>cn[cn.length-2];function tt(cn){return(Ht,vi,Ci)=>{let ki=Ci&&Ci.backwards;if(vi===!1)return!1;let{length:Cr}=Ht,pn=vi;for(;pn>=0&&pn<Cr;){let ui=Ht.charAt(pn);if(cn instanceof RegExp){if(!cn.test(ui))return pn}else if(!cn.includes(ui))return pn;ki?pn--:pn++}return pn===-1||pn===Cr?pn:!1}}function j(cn,Ht){let vi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ci=Z(cn,vi.backwards?Ht-1:Ht,vi),ki=ne(cn,Ci,vi);return Ci!==ki}function Ae(cn,Ht,vi){for(let Ci=Ht;Ci<vi;++Ci)if(cn.charAt(Ci)===`\n`)return!0;return!1}function rt(cn,Ht,vi){let Ci=vi(Ht)-1;Ci=Z(cn,Ci,{backwards:!0}),Ci=ne(cn,Ci,{backwards:!0}),Ci=Z(cn,Ci,{backwards:!0});let ki=ne(cn,Ci,{backwards:!0});return Ci!==ki}function je(cn,Ht){let vi=null,Ci=Ht;for(;Ci!==vi;)vi=Ci,Ci=oe(cn,Ci),Ci=_e(cn,Ci),Ci=Z(cn,Ci);return Ci=ge(cn,Ci),Ci=ne(cn,Ci),Ci!==!1&&j(cn,Ci)}function pt(cn,Ht,vi){return je(cn,vi(Ht))}function at(cn,Ht,vi){return le(cn,vi(Ht))}function fn(cn,Ht,vi){return cn.charAt(at(cn,Ht,vi))}function ce(cn,Ht){let vi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Z(cn,vi.backwards?Ht-1:Ht,vi)!==Ht}function Ve(cn,Ht){let vi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,Ci=0;for(let ki=vi;ki<cn.length;++ki)cn[ki]===\"\t\"?Ci=Ci+Ht-Ci%Ht:Ci++;return Ci}function ae(cn,Ht){let vi=cn.lastIndexOf(`\n`);return vi===-1?0:Ve(cn.slice(vi+1).match(/^[\\t ]*/)[0],Ht)}function Ee(cn,Ht){let vi={quote:'\"',regex:/\"/g,escaped:\"&quot;\"},Ci={quote:\"'\",regex:/'/g,escaped:\"&apos;\"},ki=Ht===\"'\"?Ci:vi,Cr=ki===Ci?vi:Ci,pn=ki;if(cn.includes(ki.quote)||cn.includes(Cr.quote)){let ui=(cn.match(ki.regex)||[]).length,Zi=(cn.match(Cr.regex)||[]).length;pn=ui>Zi?Cr:ki}return pn}function J(cn,Ht){let vi=cn.slice(1,-1),Ci=Ht.parser===\"json\"||Ht.parser===\"json5\"&&Ht.quoteProps===\"preserve\"&&!Ht.singleQuote?'\"':Ht.__isInHtmlAttribute?\"'\":Ee(vi,Ht.singleQuote?\"'\":'\"').quote;return me(vi,Ci,!(Ht.parser===\"css\"||Ht.parser===\"less\"||Ht.parser===\"scss\"||Ht.__embeddedInHtml))}function me(cn,Ht,vi){let Ci=Ht==='\"'?\"'\":'\"',ki=/\\\\(.)|([\"'])/gs,Cr=cn.replace(ki,(pn,ui,Zi)=>ui===Ci?ui:Zi===Ht?\"\\\\\"+Zi:Zi||(vi&&/^[^\\n\\r\"'0-7\\\\bfnrt-vx\\u2028\\u2029]$/.test(ui)?ui:\"\\\\\"+ui));return Ht+Cr+Ht}function we(cn){return cn.toLowerCase().replace(/^([+-]?[\\d.]+e)(?:\\+|(-))?0*(\\d)/,\"$1$2$3\").replace(/^([+-]?[\\d.]+)e[+-]?0+$/,\"$1\").replace(/^([+-])?\\./,\"$10.\").replace(/(\\.\\d+?)0+(?=e|$)/,\"$1\").replace(/\\.(?=e|$)/,\"\")}function Fe(cn,Ht){let vi=cn.match(new RegExp(`(${R(Ht)})+`,\"g\"));return vi===null?0:vi.reduce((Ci,ki)=>Math.max(Ci,ki.length/Ht.length),0)}function Me(cn,Ht){let vi=cn.match(new RegExp(`(${R(Ht)})+`,\"g\"));if(vi===null)return 0;let Ci=new Map,ki=0;for(let Cr of vi){let pn=Cr.length/Ht.length;Ci.set(pn,!0),pn>ki&&(ki=pn)}for(let Cr=1;Cr<ki;Cr++)if(!Ci.get(Cr))return Cr;return ki+1}function Xe(cn,Ht){(cn.comments||(cn.comments=[])).push(Ht),Ht.printed=!1,Ht.nodeDescription=Di(cn)}function Dt(cn,Ht){Ht.leading=!0,Ht.trailing=!1,Xe(cn,Ht)}function Xt(cn,Ht,vi){Ht.leading=!1,Ht.trailing=!1,vi&&(Ht.marker=vi),Xe(cn,Ht)}function hn(cn,Ht){Ht.leading=!1,Ht.trailing=!0,Xe(cn,Ht)}function Jt(cn,Ht){let{languages:vi}=G({plugins:Ht.plugins}),Ci=vi.find(ki=>{let{name:Cr}=ki;return Cr.toLowerCase()===cn})||vi.find(ki=>{let{aliases:Cr}=ki;return Array.isArray(Cr)&&Cr.includes(cn)})||vi.find(ki=>{let{extensions:Cr}=ki;return Array.isArray(Cr)&&Cr.includes(`.${cn}`)});return Ci&&Ci.parsers[0]}function Hn(cn){return cn&&cn.type===\"front-matter\"}function Nt(cn){let Ht=new WeakMap;return function(vi){return Ht.has(vi)||Ht.set(vi,Symbol(cn)),Ht.get(vi)}}function Di(cn){let Ht=cn.type||cn.kind||\"(unknown type)\",vi=String(cn.name||cn.id&&(typeof cn.id==\"object\"?cn.id.name:cn.id)||cn.key&&(typeof cn.key==\"object\"?cn.key.name:cn.key)||cn.value&&(typeof cn.value==\"object\"?\"\":String(cn.value))||cn.operator||\"\");return vi.length>20&&(vi=vi.slice(0,19)+\"\\u2026\"),Ht+(vi?\" \"+vi:\"\")}ee.exports={inferParserByLanguage:Jt,getStringWidth:H,getMaxContinuousCount:Fe,getMinNotPresentContinuousCount:Me,getPenultimate:xe,getLast:Y,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:le,getNextNonSpaceNonCommentCharacterIndex:at,getNextNonSpaceNonCommentCharacter:fn,skip:tt,skipWhitespace:$,skipSpaces:Z,skipToLineEnd:oe,skipEverythingButNewLine:ye,skipInlineComment:_e,skipTrailingComment:ge,skipNewline:ne,isNextLineEmptyAfterIndex:je,isNextLineEmpty:pt,isPreviousLineEmpty:rt,hasNewline:j,hasNewlineInRange:Ae,hasSpaces:ce,getAlignmentSize:Ve,getIndentSize:ae,getPreferredQuote:Ee,printString:J,printNumber:we,makeString:me,addLeadingComment:Dt,addDanglingComment:Xt,addTrailingComment:hn,isFrontMatterNode:Hn,isNonEmptyArray:M,createGroupIdMapper:Nt}}}),Ze={};bo(Ze,{basename:()=>Ir,default:()=>Tu,delimiter:()=>Jl,dirname:()=>ii,extname:()=>gs,isAbsolute:()=>Ln,join:()=>Xn,normalize:()=>jt,relative:()=>bn,resolve:()=>ze,sep:()=>pl});function be(z,ee){for(var R=0,Y=z.length-1;Y>=0;Y--){var G=z[Y];G===\".\"?z.splice(Y,1):G===\"..\"?(z.splice(Y,1),R++):R&&(z.splice(Y,1),R--)}if(ee)for(;R--;R)z.unshift(\"..\");return z}function ze(){for(var z=\"\",ee=!1,R=arguments.length-1;R>=-1&&!ee;R--){var Y=R>=0?arguments[R]:\"/\";if(typeof Y!=\"string\")throw new TypeError(\"Arguments to path.resolve must be strings\");!Y||(z=Y+\"/\"+z,ee=Y.charAt(0)===\"/\")}return z=be(Ys(z.split(\"/\"),function(G){return!!G}),!ee).join(\"/\"),(ee?\"/\":\"\")+z||\".\"}function jt(z){var ee=Ln(z),R=pd(z,-1)===\"/\";return z=be(Ys(z.split(\"/\"),function(Y){return!!Y}),!ee).join(\"/\"),!z&&!ee&&(z=\".\"),z&&R&&(z+=\"/\"),(ee?\"/\":\"\")+z}function Ln(z){return z.charAt(0)===\"/\"}function Xn(){var z=Array.prototype.slice.call(arguments,0);return jt(Ys(z,function(ee,R){if(typeof ee!=\"string\")throw new TypeError(\"Arguments to path.join must be strings\");return ee}).join(\"/\"))}function bn(z,ee){z=ze(z).substr(1),ee=ze(ee).substr(1);function R(oe){for(var ye=0;ye<oe.length&&oe[ye]===\"\";ye++);for(var _e=oe.length-1;_e>=0&&oe[_e]===\"\";_e--);return ye>_e?[]:oe.slice(ye,_e-ye+1)}for(var Y=R(z.split(\"/\")),G=R(ee.split(\"/\")),M=Math.min(Y.length,G.length),H=M,$=0;$<M;$++)if(Y[$]!==G[$]){H=$;break}for(var Z=[],$=H;$<Y.length;$++)Z.push(\"..\");return Z=Z.concat(G.slice(H)),Z.join(\"/\")}function ii(z){var ee=Eo(z),R=ee[0],Y=ee[1];return!R&&!Y?\".\":(Y&&(Y=Y.substr(0,Y.length-1)),R+Y)}function Ir(z,ee){var R=Eo(z)[2];return ee&&R.substr(-1*ee.length)===ee&&(R=R.substr(0,R.length-ee.length)),R}function gs(z){return Eo(z)[3]}function Ys(z,ee){if(z.filter)return z.filter(ee);for(var R=[],Y=0;Y<z.length;Y++)ee(z[Y],Y,z)&&R.push(z[Y]);return R}var _a,Eo,pl,Jl,Tu,pd,Cc=os({\"node-modules-polyfills:path\"(){Un(),_a=/^(\\/?|)([\\s\\S]*?)((?:\\.{1,2}|[^\\/]+?|)(\\.[^.\\/]*|))(?:[\\/]*)$/,Eo=function(z){return _a.exec(z).slice(1)},pl=\"/\",Jl=\":\",Tu={extname:gs,basename:Ir,dirname:ii,sep:pl,delimiter:Jl,relative:bn,join:Xn,isAbsolute:Ln,normalize:jt,resolve:ze},pd=\"ab\".substr(-1)===\"b\"?function(z,ee,R){return z.substr(ee,R)}:function(z,ee,R){return ee<0&&(ee=z.length+ee),z.substr(ee,R)}}}),wr=Ct({\"node-modules-polyfills-commonjs:path\"(z,ee){Un();var R=(Cc(),Ha(Ze));if(R&&R.default){ee.exports=R.default;for(let Y in R)ee.exports[Y]=R[Y]}else R&&(ee.exports=R)}}),_o=Ct({\"src/common/errors.js\"(z,ee){Un();var R=class extends Error{},Y=class extends Error{},G=class extends Error{},M=class extends Error{};ee.exports={ConfigError:R,DebugError:Y,UndefinedParserError:G,ArgExpansionBailout:M}}}),oa={};bo(oa,{__assign:()=>Te,__asyncDelegator:()=>dr,__asyncGenerator:()=>Ui,__asyncValues:()=>Jn,__await:()=>mi,__awaiter:()=>Kd,__classPrivateFieldGet:()=>ko,__classPrivateFieldSet:()=>fi,__createBinding:()=>Sp,__decorate:()=>ou,__exportStar:()=>Rd,__extends:()=>Da,__generator:()=>fd,__importDefault:()=>zr,__importStar:()=>Rr,__makeTemplateObject:()=>bi,__metadata:()=>np,__param:()=>Ud,__read:()=>Hf,__rest:()=>ml,__spread:()=>kt,__spreadArrays:()=>Wn,__values:()=>qd});function Da(z,ee){Ce(z,ee);function R(){this.constructor=z}z.prototype=ee===null?Object.create(ee):(R.prototype=ee.prototype,new R)}function ml(z,ee){var R={};for(var Y in z)Object.prototype.hasOwnProperty.call(z,Y)&&ee.indexOf(Y)<0&&(R[Y]=z[Y]);if(z!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var G=0,Y=Object.getOwnPropertySymbols(z);G<Y.length;G++)ee.indexOf(Y[G])<0&&Object.prototype.propertyIsEnumerable.call(z,Y[G])&&(R[Y[G]]=z[Y[G]]);return R}function ou(z,ee,R,Y){var G=arguments.length,M=G<3?ee:Y===null?Y=Object.getOwnPropertyDescriptor(ee,R):Y,H;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")M=Reflect.decorate(z,ee,R,Y);else for(var $=z.length-1;$>=0;$--)(H=z[$])&&(M=(G<3?H(M):G>3?H(ee,R,M):H(ee,R))||M);return G>3&&M&&Object.defineProperty(ee,R,M),M}function Ud(z,ee){return function(R,Y){ee(R,Y,z)}}function np(z,ee){if(typeof Reflect==\"object\"&&typeof Reflect.metadata==\"function\")return Reflect.metadata(z,ee)}function Kd(z,ee,R,Y){function G(M){return M instanceof R?M:new R(function(H){H(M)})}return new(R||(R=Promise))(function(M,H){function $(ye){try{oe(Y.next(ye))}catch(_e){H(_e)}}function Z(ye){try{oe(Y.throw(ye))}catch(_e){H(_e)}}function oe(ye){ye.done?M(ye.value):G(ye.value).then($,Z)}oe((Y=Y.apply(z,ee||[])).next())})}function fd(z,ee){var R={label:0,sent:function(){if(M[0]&1)throw M[1];return M[1]},trys:[],ops:[]},Y,G,M,H;return H={next:$(0),throw:$(1),return:$(2)},typeof Symbol==\"function\"&&(H[Symbol.iterator]=function(){return this}),H;function $(oe){return function(ye){return Z([oe,ye])}}function Z(oe){if(Y)throw new TypeError(\"Generator is already executing.\");for(;R;)try{if(Y=1,G&&(M=oe[0]&2?G.return:oe[0]?G.throw||((M=G.return)&&M.call(G),0):G.next)&&!(M=M.call(G,oe[1])).done)return M;switch(G=0,M&&(oe=[oe[0]&2,M.value]),oe[0]){case 0:case 1:M=oe;break;case 4:return R.label++,{value:oe[1],done:!1};case 5:R.label++,G=oe[1],oe=[0];continue;case 7:oe=R.ops.pop(),R.trys.pop();continue;default:if(M=R.trys,!(M=M.length>0&&M[M.length-1])&&(oe[0]===6||oe[0]===2)){R=0;continue}if(oe[0]===3&&(!M||oe[1]>M[0]&&oe[1]<M[3])){R.label=oe[1];break}if(oe[0]===6&&R.label<M[1]){R.label=M[1],M=oe;break}if(M&&R.label<M[2]){R.label=M[2],R.ops.push(oe);break}M[2]&&R.ops.pop(),R.trys.pop();continue}oe=ee.call(z,R)}catch(ye){oe=[6,ye],G=0}finally{Y=M=0}if(oe[0]&5)throw oe[1];return{value:oe[0]?oe[1]:void 0,done:!0}}}function Sp(z,ee,R,Y){Y===void 0&&(Y=R),z[Y]=ee[R]}function Rd(z,ee){for(var R in z)R!==\"default\"&&!ee.hasOwnProperty(R)&&(ee[R]=z[R])}function qd(z){var ee=typeof Symbol==\"function\"&&Symbol.iterator,R=ee&&z[ee],Y=0;if(R)return R.call(z);if(z&&typeof z.length==\"number\")return{next:function(){return z&&Y>=z.length&&(z=void 0),{value:z&&z[Y++],done:!z}}};throw new TypeError(ee?\"Object is not iterable.\":\"Symbol.iterator is not defined.\")}function Hf(z,ee){var R=typeof Symbol==\"function\"&&z[Symbol.iterator];if(!R)return z;var Y=R.call(z),G,M=[],H;try{for(;(ee===void 0||ee-- >0)&&!(G=Y.next()).done;)M.push(G.value)}catch($){H={error:$}}finally{try{G&&!G.done&&(R=Y.return)&&R.call(Y)}finally{if(H)throw H.error}}return M}function kt(){for(var z=[],ee=0;ee<arguments.length;ee++)z=z.concat(Hf(arguments[ee]));return z}function Wn(){for(var z=0,ee=0,R=arguments.length;ee<R;ee++)z+=arguments[ee].length;for(var Y=Array(z),G=0,ee=0;ee<R;ee++)for(var M=arguments[ee],H=0,$=M.length;H<$;H++,G++)Y[G]=M[H];return Y}function mi(z){return this instanceof mi?(this.v=z,this):new mi(z)}function Ui(z,ee,R){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var Y=R.apply(z,ee||[]),G,M=[];return G={},H(\"next\"),H(\"throw\"),H(\"return\"),G[Symbol.asyncIterator]=function(){return this},G;function H(ge){Y[ge]&&(G[ge]=function(ne){return new Promise(function(le,xe){M.push([ge,ne,le,xe])>1||$(ge,ne)})})}function $(ge,ne){try{Z(Y[ge](ne))}catch(le){_e(M[0][3],le)}}function Z(ge){ge.value instanceof mi?Promise.resolve(ge.value.v).then(oe,ye):_e(M[0][2],ge)}function oe(ge){$(\"next\",ge)}function ye(ge){$(\"throw\",ge)}function _e(ge,ne){ge(ne),M.shift(),M.length&&$(M[0][0],M[0][1])}}function dr(z){var ee,R;return ee={},Y(\"next\"),Y(\"throw\",function(G){throw G}),Y(\"return\"),ee[Symbol.iterator]=function(){return this},ee;function Y(G,M){ee[G]=z[G]?function(H){return(R=!R)?{value:mi(z[G](H)),done:G===\"return\"}:M?M(H):H}:M}}function Jn(z){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var ee=z[Symbol.asyncIterator],R;return ee?ee.call(z):(z=typeof qd==\"function\"?qd(z):z[Symbol.iterator](),R={},Y(\"next\"),Y(\"throw\"),Y(\"return\"),R[Symbol.asyncIterator]=function(){return this},R);function Y(M){R[M]=z[M]&&function(H){return new Promise(function($,Z){H=z[M](H),G($,Z,H.done,H.value)})}}function G(M,H,$,Z){Promise.resolve(Z).then(function(oe){M({value:oe,done:$})},H)}}function bi(z,ee){return Object.defineProperty?Object.defineProperty(z,\"raw\",{value:ee}):z.raw=ee,z}function Rr(z){if(z&&z.__esModule)return z;var ee={};if(z!=null)for(var R in z)Object.hasOwnProperty.call(z,R)&&(ee[R]=z[R]);return ee.default=z,ee}function zr(z){return z&&z.__esModule?z:{default:z}}function ko(z,ee){if(!ee.has(z))throw new TypeError(\"attempted to get private field on non-instance\");return ee.get(z)}function fi(z,ee,R){if(!ee.has(z))throw new TypeError(\"attempted to set private field on non-instance\");return ee.set(z,R),R}var Ce,Te,Ft=os({\"node_modules/tslib/tslib.es6.js\"(){Un(),Ce=function(z,ee){return Ce=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,Y){R.__proto__=Y}||function(R,Y){for(var G in Y)Y.hasOwnProperty(G)&&(R[G]=Y[G])},Ce(z,ee)},Te=function(){return Te=Object.assign||function(z){for(var ee,R=1,Y=arguments.length;R<Y;R++){ee=arguments[R];for(var G in ee)Object.prototype.hasOwnProperty.call(ee,G)&&(z[G]=ee[G])}return z},Te.apply(this,arguments)}}}),Lt=Ct({\"node_modules/vnopts/lib/descriptors/api.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0}),z.apiDescriptor={key:ee=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(ee)?ee:JSON.stringify(ee),value(ee){if(ee===null||typeof ee!=\"object\")return JSON.stringify(ee);if(Array.isArray(ee))return`[${ee.map(Y=>z.apiDescriptor.value(Y)).join(\", \")}]`;let R=Object.keys(ee);return R.length===0?\"{}\":`{ ${R.map(Y=>`${z.apiDescriptor.key(Y)}: ${z.apiDescriptor.value(ee[Y])}`).join(\", \")} }`},pair:ee=>{let{key:R,value:Y}=ee;return z.apiDescriptor.value({[R]:Y})}}}}),nn=Ct({\"node_modules/vnopts/lib/descriptors/index.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=(Ft(),Ha(oa));ee.__exportStar(Lt(),z)}}),Nn=Ct({\"scripts/build/shims/chalk.cjs\"(z,ee){Un();var R=Y=>Y;R.grey=R,R.red=R,R.bold=R,R.yellow=R,R.blue=R,R.default=R,ee.exports=R}}),Pi=Ct({\"node_modules/vnopts/lib/handlers/deprecated/common.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=Nn();z.commonDeprecatedHandler=(R,Y,G)=>{let{descriptor:M}=G,H=[`${ee.default.yellow(typeof R==\"string\"?M.key(R):M.pair(R))} is deprecated`];return Y&&H.push(`we now treat it as ${ee.default.blue(typeof Y==\"string\"?M.key(Y):M.pair(Y))}`),H.join(\"; \")+\".\"}}}),si=Ct({\"node_modules/vnopts/lib/handlers/deprecated/index.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=(Ft(),Ha(oa));ee.__exportStar(Pi(),z)}}),Ur=Ct({\"node_modules/vnopts/lib/handlers/invalid/common.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=Nn();z.commonInvalidHandler=(R,Y,G)=>[`Invalid ${ee.default.red(G.descriptor.key(R))} value.`,`Expected ${ee.default.blue(G.schemas[R].expected(G))},`,`but received ${ee.default.red(G.descriptor.value(Y))}.`].join(\" \")}}),Xr=Ct({\"node_modules/vnopts/lib/handlers/invalid/index.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=(Ft(),Ha(oa));ee.__exportStar(Ur(),z)}}),eo=Ct({\"node_modules/vnopts/node_modules/leven/index.js\"(z,ee){Un();var R=[],Y=[];ee.exports=function(G,M){if(G===M)return 0;var H=G;G.length>M.length&&(G=M,M=H);var $=G.length,Z=M.length;if($===0)return Z;if(Z===0)return $;for(;$>0&&G.charCodeAt(~-$)===M.charCodeAt(~-Z);)$--,Z--;if($===0)return Z;for(var oe=0;oe<$&&G.charCodeAt(oe)===M.charCodeAt(oe);)oe++;if($-=oe,Z-=oe,$===0)return Z;for(var ye,_e,ge,ne,le=0,xe=0;le<$;)Y[oe+le]=G.charCodeAt(oe+le),R[le]=++le;for(;xe<Z;)for(ye=M.charCodeAt(oe+xe),ge=xe++,_e=xe,le=0;le<$;le++)ne=ye===Y[oe+le]?ge:ge+1,ge=R[le],_e=R[le]=ge>_e?ne>_e?_e+1:ne:ne>ge?ge+1:ne;return _e}}}),Br=Ct({\"node_modules/vnopts/lib/handlers/unknown/leven.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=Nn(),R=eo();z.levenUnknownHandler=(Y,G,M)=>{let{descriptor:H,logger:$,schemas:Z}=M,oe=[`Ignored unknown option ${ee.default.yellow(H.pair({key:Y,value:G}))}.`],ye=Object.keys(Z).sort().find(_e=>R(Y,_e)<3);ye&&oe.push(`Did you mean ${ee.default.blue(H.key(ye))}?`),$.warn(oe.join(\" \"))}}}),Oo=Ct({\"node_modules/vnopts/lib/handlers/unknown/index.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=(Ft(),Ha(oa));ee.__exportStar(Br(),z)}}),Ko=Ct({\"node_modules/vnopts/lib/handlers/index.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=(Ft(),Ha(oa));ee.__exportStar(si(),z),ee.__exportStar(Xr(),z),ee.__exportStar(Oo(),z)}}),Ho=Ct({\"node_modules/vnopts/lib/schema.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=[\"default\",\"expected\",\"validate\",\"deprecated\",\"forward\",\"redirect\",\"overlap\",\"preprocess\",\"postprocess\"];function R(M,H){let $=new M(H),Z=Object.create($);for(let oe of ee)oe in H&&(Z[oe]=G(H[oe],$,Y.prototype[oe].length));return Z}z.createSchema=R;var Y=class{constructor(M){this.name=M.name}static create(M){return R(this,M)}default(M){}expected(M){return\"nothing\"}validate(M,H){return!1}deprecated(M,H){return!1}forward(M,H){}redirect(M,H){}overlap(M,H,$){return M}preprocess(M,H){return M}postprocess(M,H){return M}};z.Schema=Y;function G(M,H,$){return typeof M==\"function\"?function(){for(var Z=arguments.length,oe=new Array(Z),ye=0;ye<Z;ye++)oe[ye]=arguments[ye];return M(...oe.slice(0,$-1),H,...oe.slice($-1))}:()=>M}}}),ba=Ct({\"node_modules/vnopts/lib/schemas/alias.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=Ho(),R=class extends ee.Schema{constructor(Y){super(Y),this._sourceName=Y.sourceName}expected(Y){return Y.schemas[this._sourceName].expected(Y)}validate(Y,G){return G.schemas[this._sourceName].validate(Y,G)}redirect(Y,G){return this._sourceName}};z.AliasSchema=R}}),$t=Ct({\"node_modules/vnopts/lib/schemas/any.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=Ho(),R=class extends ee.Schema{expected(){return\"anything\"}validate(){return!0}};z.AnySchema=R}}),Kn=Ct({\"node_modules/vnopts/lib/schemas/array.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=(Ft(),Ha(oa)),R=Ho(),Y=class extends R.Schema{constructor(M){var{valueSchema:H,name:$=H.name}=M,Z=ee.__rest(M,[\"valueSchema\",\"name\"]);super(Object.assign({},Z,{name:$})),this._valueSchema=H}expected(M){return`an array of ${this._valueSchema.expected(M)}`}validate(M,H){if(!Array.isArray(M))return!1;let $=[];for(let Z of M){let oe=H.normalizeValidateResult(this._valueSchema.validate(Z,H),Z);oe!==!0&&$.push(oe.value)}return $.length===0?!0:{value:$}}deprecated(M,H){let $=[];for(let Z of M){let oe=H.normalizeDeprecatedResult(this._valueSchema.deprecated(Z,H),Z);oe!==!1&&$.push(...oe.map(ye=>{let{value:_e}=ye;return{value:[_e]}}))}return $}forward(M,H){let $=[];for(let Z of M){let oe=H.normalizeForwardResult(this._valueSchema.forward(Z,H),Z);$.push(...oe.map(G))}return $}redirect(M,H){let $=[],Z=[];for(let oe of M){let ye=H.normalizeRedirectResult(this._valueSchema.redirect(oe,H),oe);\"remain\"in ye&&$.push(ye.remain),Z.push(...ye.redirect.map(G))}return $.length===0?{redirect:Z}:{redirect:Z,remain:$}}overlap(M,H){return M.concat(H)}};z.ArraySchema=Y;function G(M){let{from:H,to:$}=M;return{from:[H],to:$}}}}),Nr=Ct({\"node_modules/vnopts/lib/schemas/boolean.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=Ho(),R=class extends ee.Schema{expected(){return\"true or false\"}validate(Y){return typeof Y==\"boolean\"}};z.BooleanSchema=R}}),nr=Ct({\"node_modules/vnopts/lib/utils.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});function ee(ne,le){let xe=Object.create(null);for(let tt of ne){let j=tt[le];if(xe[j])throw new Error(`Duplicate ${le} ${JSON.stringify(j)}`);xe[j]=tt}return xe}z.recordFromArray=ee;function R(ne,le){let xe=new Map;for(let tt of ne){let j=tt[le];if(xe.has(j))throw new Error(`Duplicate ${le} ${JSON.stringify(j)}`);xe.set(j,tt)}return xe}z.mapFromArray=R;function Y(){let ne=Object.create(null);return le=>{let xe=JSON.stringify(le);return ne[xe]?!0:(ne[xe]=!0,!1)}}z.createAutoChecklist=Y;function G(ne,le){let xe=[],tt=[];for(let j of ne)le(j)?xe.push(j):tt.push(j);return[xe,tt]}z.partition=G;function M(ne){return ne===Math.floor(ne)}z.isInt=M;function H(ne,le){if(ne===le)return 0;let xe=typeof ne,tt=typeof le,j=[\"undefined\",\"object\",\"boolean\",\"number\",\"string\"];return xe!==tt?j.indexOf(xe)-j.indexOf(tt):xe!==\"string\"?Number(ne)-Number(le):ne.localeCompare(le)}z.comparePrimitive=H;function $(ne){return ne===void 0?{}:ne}z.normalizeDefaultResult=$;function Z(ne,le){return ne===!0?!0:ne===!1?{value:le}:ne}z.normalizeValidateResult=Z;function oe(ne,le){let xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return ne===!1?!1:ne===!0?xe?!0:[{value:le}]:\"value\"in ne?[ne]:ne.length===0?!1:ne}z.normalizeDeprecatedResult=oe;function ye(ne,le){return typeof ne==\"string\"||\"key\"in ne?{from:le,to:ne}:\"from\"in ne?{from:ne.from,to:ne.to}:{from:le,to:ne.to}}z.normalizeTransferResult=ye;function _e(ne,le){return ne===void 0?[]:Array.isArray(ne)?ne.map(xe=>ye(xe,le)):[ye(ne,le)]}z.normalizeForwardResult=_e;function ge(ne,le){let xe=_e(typeof ne==\"object\"&&\"redirect\"in ne?ne.redirect:ne,le);return xe.length===0?{remain:le,redirect:xe}:typeof ne==\"object\"&&\"remain\"in ne?{remain:ne.remain,redirect:xe}:{redirect:xe}}z.normalizeRedirectResult=ge}}),ps=Ct({\"node_modules/vnopts/lib/schemas/choice.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=Ho(),R=nr(),Y=class extends ee.Schema{constructor(G){super(G),this._choices=R.mapFromArray(G.choices.map(M=>M&&typeof M==\"object\"?M:{value:M}),\"value\")}expected(G){let{descriptor:M}=G,H=Array.from(this._choices.keys()).map(oe=>this._choices.get(oe)).filter(oe=>!oe.deprecated).map(oe=>oe.value).sort(R.comparePrimitive).map(M.value),$=H.slice(0,-2),Z=H.slice(-2);return $.concat(Z.join(\" or \")).join(\", \")}validate(G){return this._choices.has(G)}deprecated(G){let M=this._choices.get(G);return M&&M.deprecated?{value:G}:!1}forward(G){let M=this._choices.get(G);return M?M.forward:void 0}redirect(G){let M=this._choices.get(G);return M?M.redirect:void 0}};z.ChoiceSchema=Y}}),ga=Ct({\"node_modules/vnopts/lib/schemas/number.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=Ho(),R=class extends ee.Schema{expected(){return\"a number\"}validate(Y,G){return typeof Y==\"number\"}};z.NumberSchema=R}}),Yl=Ct({\"node_modules/vnopts/lib/schemas/integer.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=nr(),R=ga(),Y=class extends R.NumberSchema{expected(){return\"an integer\"}validate(G,M){return M.normalizeValidateResult(super.validate(G,M),G)===!0&&ee.isInt(G)}};z.IntegerSchema=Y}}),Td=Ct({\"node_modules/vnopts/lib/schemas/string.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=Ho(),R=class extends ee.Schema{expected(){return\"a string\"}validate(Y){return typeof Y==\"string\"}};z.StringSchema=R}}),Mc=Ct({\"node_modules/vnopts/lib/schemas/index.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=(Ft(),Ha(oa));ee.__exportStar(ba(),z),ee.__exportStar($t(),z),ee.__exportStar(Kn(),z),ee.__exportStar(Nr(),z),ee.__exportStar(ps(),z),ee.__exportStar(Yl(),z),ee.__exportStar(ga(),z),ee.__exportStar(Td(),z)}}),ah=Ct({\"node_modules/vnopts/lib/defaults.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=Lt(),R=Pi(),Y=Xr(),G=Br();z.defaultDescriptor=ee.apiDescriptor,z.defaultUnknownHandler=G.levenUnknownHandler,z.defaultInvalidHandler=Y.commonInvalidHandler,z.defaultDeprecatedHandler=R.commonDeprecatedHandler}}),Gd=Ct({\"node_modules/vnopts/lib/normalize.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=ah(),R=nr();z.normalize=(G,M,H)=>new Y(M,H).normalize(G);var Y=class{constructor(G,M){let{logger:H=console,descriptor:$=ee.defaultDescriptor,unknown:Z=ee.defaultUnknownHandler,invalid:oe=ee.defaultInvalidHandler,deprecated:ye=ee.defaultDeprecatedHandler}=M||{};this._utils={descriptor:$,logger:H||{warn:()=>{}},schemas:R.recordFromArray(G,\"name\"),normalizeDefaultResult:R.normalizeDefaultResult,normalizeDeprecatedResult:R.normalizeDeprecatedResult,normalizeForwardResult:R.normalizeForwardResult,normalizeRedirectResult:R.normalizeRedirectResult,normalizeValidateResult:R.normalizeValidateResult},this._unknownHandler=Z,this._invalidHandler=oe,this._deprecatedHandler=ye,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=R.createAutoChecklist()}normalize(G){let M={},H=[G],$=()=>{for(;H.length!==0;){let Z=H.shift(),oe=this._applyNormalization(Z,M);H.push(...oe)}};$();for(let Z of Object.keys(this._utils.schemas)){let oe=this._utils.schemas[Z];if(!(Z in M)){let ye=R.normalizeDefaultResult(oe.default(this._utils));\"value\"in ye&&H.push({[Z]:ye.value})}}$();for(let Z of Object.keys(this._utils.schemas)){let oe=this._utils.schemas[Z];Z in M&&(M[Z]=oe.postprocess(M[Z],this._utils))}return M}_applyNormalization(G,M){let H=[],[$,Z]=R.partition(Object.keys(G),oe=>oe in this._utils.schemas);for(let oe of $){let ye=this._utils.schemas[oe],_e=ye.preprocess(G[oe],this._utils),ge=R.normalizeValidateResult(ye.validate(_e,this._utils),_e);if(ge!==!0){let{value:tt}=ge,j=this._invalidHandler(oe,tt,this._utils);throw typeof j==\"string\"?new Error(j):j}let ne=tt=>{let{from:j,to:Ae}=tt;H.push(typeof Ae==\"string\"?{[Ae]:j}:{[Ae.key]:Ae.value})},le=tt=>{let{value:j,redirectTo:Ae}=tt,rt=R.normalizeDeprecatedResult(ye.deprecated(j,this._utils),_e,!0);if(rt!==!1)if(rt===!0)this._hasDeprecationWarned(oe)||this._utils.logger.warn(this._deprecatedHandler(oe,Ae,this._utils));else for(let{value:je}of rt){let pt={key:oe,value:je};if(!this._hasDeprecationWarned(pt)){let at=typeof Ae==\"string\"?{key:Ae,value:je}:Ae;this._utils.logger.warn(this._deprecatedHandler(pt,at,this._utils))}}};R.normalizeForwardResult(ye.forward(_e,this._utils),_e).forEach(ne);let xe=R.normalizeRedirectResult(ye.redirect(_e,this._utils),_e);if(xe.redirect.forEach(ne),\"remain\"in xe){let tt=xe.remain;M[oe]=oe in M?ye.overlap(M[oe],tt,this._utils):tt,le({value:tt})}for(let{from:tt,to:j}of xe.redirect)le({value:tt,redirectTo:j})}for(let oe of Z){let ye=G[oe],_e=this._unknownHandler(oe,ye,this._utils);if(_e)for(let ge of Object.keys(_e)){let ne={[ge]:_e[ge]};ge in this._utils.schemas?H.push(ne):Object.assign(M,ne)}}return H}};z.Normalizer=Y}}),Mh=Ct({\"node_modules/vnopts/lib/index.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=(Ft(),Ha(oa));ee.__exportStar(nn(),z),ee.__exportStar(Ko(),z),ee.__exportStar(Mc(),z),ee.__exportStar(Gd(),z),ee.__exportStar(Ho(),z)}}),Rh=Ct({\"src/main/options-normalizer.js\"(z,ee){Un();var R=Mh(),Y=qu(),G={key:ge=>ge.length===1?`-${ge}`:`--${ge}`,value:ge=>R.apiDescriptor.value(ge),pair:ge=>{let{key:ne,value:le}=ge;return le===!1?`--no-${ne}`:le===!0?G.key(ne):le===\"\"?`${G.key(ne)} without an argument`:`${G.key(ne)}=${le}`}},M=ge=>{let{colorsModule:ne,levenshteinDistance:le}=ge;return class extends R.ChoiceSchema{constructor(xe){let{name:tt,flags:j}=xe;super({name:tt,choices:j}),this._flags=[...j].sort()}preprocess(xe,tt){if(typeof xe==\"string\"&&xe.length>0&&!this._flags.includes(xe)){let j=this._flags.find(Ae=>le(Ae,xe)<3);if(j)return tt.logger.warn([`Unknown flag ${ne.yellow(tt.descriptor.value(xe))},`,`did you mean ${ne.blue(tt.descriptor.value(j))}?`].join(\" \")),j}return xe}expected(){return\"a flag\"}}},H;function $(ge,ne){let{logger:le=!1,isCLI:xe=!1,passThrough:tt=!1,colorsModule:j=null,levenshteinDistance:Ae=null}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},rt=tt?Array.isArray(tt)?(Ve,ae)=>tt.includes(Ve)?{[Ve]:ae}:void 0:(Ve,ae)=>({[Ve]:ae}):(Ve,ae,Ee)=>{let J=Ee.schemas,me=en(J,vt);return R.levenUnknownHandler(Ve,ae,Object.assign(Object.assign({},Ee),{},{schemas:me}))},je=xe?G:R.apiDescriptor,pt=Z(ne,{isCLI:xe,colorsModule:j,levenshteinDistance:Ae}),at=new R.Normalizer(pt,{logger:le,unknown:rt,descriptor:je}),fn=le!==!1;fn&&H&&(at._hasDeprecationWarned=H);let ce=at.normalize(ge);return fn&&(H=at._hasDeprecationWarned),xe&&ce[\"plugin-search\"]===!1&&(ce[\"plugin-search-dir\"]=!1),ce}function Z(ge,ne){let{isCLI:le,colorsModule:xe,levenshteinDistance:tt}=ne,j=[];le&&j.push(R.AnySchema.create({name:\"_\"}));for(let Ae of ge)j.push(oe(Ae,{isCLI:le,optionInfos:ge,colorsModule:xe,levenshteinDistance:tt})),Ae.alias&&le&&j.push(R.AliasSchema.create({name:Ae.alias,sourceName:Ae.name}));return j}function oe(ge,ne){let{isCLI:le,optionInfos:xe,colorsModule:tt,levenshteinDistance:j}=ne,{name:Ae}=ge;if(Ae===\"plugin-search-dir\"||Ae===\"pluginSearchDirs\")return R.AnySchema.create({name:Ae,preprocess(at){return at===!1||(at=Array.isArray(at)?at:[at]),at},validate(at){return at===!1?!0:at.every(fn=>typeof fn==\"string\")},expected(){return\"false or paths to plugin search dir\"}});let rt={name:Ae},je,pt={};switch(ge.type){case\"int\":je=R.IntegerSchema,le&&(rt.preprocess=Number);break;case\"string\":je=R.StringSchema;break;case\"choice\":je=R.ChoiceSchema,rt.choices=ge.choices.map(at=>typeof at==\"object\"&&at.redirect?Object.assign(Object.assign({},at),{},{redirect:{to:{key:ge.name,value:at.redirect}}}):at);break;case\"boolean\":je=R.BooleanSchema;break;case\"flag\":je=M({colorsModule:tt,levenshteinDistance:j}),rt.flags=xe.flatMap(at=>[at.alias,at.description&&at.name,at.oppositeDescription&&`no-${at.name}`].filter(Boolean));break;case\"path\":je=R.StringSchema;break;default:throw new Error(`Unexpected type ${ge.type}`)}if(ge.exception?rt.validate=(at,fn,ce)=>ge.exception(at)||fn.validate(at,ce):rt.validate=(at,fn,ce)=>at===void 0||fn.validate(at,ce),ge.redirect&&(pt.redirect=at=>at?{to:{key:ge.redirect.option,value:ge.redirect.value}}:void 0),ge.deprecated&&(pt.deprecated=!0),le&&!ge.array){let at=rt.preprocess||(fn=>fn);rt.preprocess=(fn,ce,Ve)=>ce.preprocess(at(Array.isArray(fn)?Y(fn):fn),Ve)}return ge.array?R.ArraySchema.create(Object.assign(Object.assign(Object.assign({},le?{preprocess:at=>Array.isArray(at)?at:[at]}:{}),pt),{},{valueSchema:je.create(rt)})):je.create(Object.assign(Object.assign({},rt),pt))}function ye(ge,ne,le){return $(ge,ne,le)}function _e(ge,ne,le){return $(ge,ne,Object.assign({isCLI:!0},le))}ee.exports={normalizeApiOptions:ye,normalizeCliOptions:_e}}}),Pu=Ct({\"src/language-js/loc.js\"(z,ee){Un();var R=Cs();function Y(Z){var oe,ye;let _e=Z.range?Z.range[0]:Z.start,ge=(oe=(ye=Z.declaration)===null||ye===void 0?void 0:ye.decorators)!==null&&oe!==void 0?oe:Z.decorators;return R(ge)?Math.min(Y(ge[0]),_e):_e}function G(Z){return Z.range?Z.range[1]:Z.end}function M(Z,oe){let ye=Y(Z);return Number.isInteger(ye)&&ye===Y(oe)}function H(Z,oe){let ye=G(Z);return Number.isInteger(ye)&&ye===G(oe)}function $(Z,oe){return M(Z,oe)&&H(Z,oe)}ee.exports={locStart:Y,locEnd:G,hasSameLocStart:M,hasSameLoc:$}}}),ho=Ct({\"src/main/load-parser.js\"(z,ee){Un(),ee.exports=()=>{}}}),jo=Ct({\"scripts/build/shims/babel-highlight.cjs\"(z,ee){Un();var R=Nn(),Y={shouldHighlight:()=>!1,getChalk:()=>R};ee.exports=Y}}),Sa=Ct({\"node_modules/@babel/code-frame/lib/index.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0}),z.codeFrameColumns=H,z.default=$;var ee=jo(),R=!1;function Y(Z){return{gutter:Z.grey,marker:Z.red.bold,message:Z.red.bold}}var G=/\\r\\n|[\\n\\r\\u2028\\u2029]/;function M(Z,oe,ye){let _e=Object.assign({column:0,line:-1},Z.start),ge=Object.assign({},_e,Z.end),{linesAbove:ne=2,linesBelow:le=3}=ye||{},xe=_e.line,tt=_e.column,j=ge.line,Ae=ge.column,rt=Math.max(xe-(ne+1),0),je=Math.min(oe.length,j+le);xe===-1&&(rt=0),j===-1&&(je=oe.length);let pt=j-xe,at={};if(pt)for(let fn=0;fn<=pt;fn++){let ce=fn+xe;if(!tt)at[ce]=!0;else if(fn===0){let Ve=oe[ce-1].length;at[ce]=[tt,Ve-tt+1]}else if(fn===pt)at[ce]=[0,Ae];else{let Ve=oe[ce-fn].length;at[ce]=[0,Ve]}}else tt===Ae?tt?at[xe]=[tt,0]:at[xe]=!0:at[xe]=[tt,Ae-tt];return{start:rt,end:je,markerLines:at}}function H(Z,oe){let ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},_e=(ye.highlightCode||ye.forceColor)&&(0,ee.shouldHighlight)(ye),ge=(0,ee.getChalk)(ye),ne=Y(ge),le=(at,fn)=>_e?at(fn):fn,xe=Z.split(G),{start:tt,end:j,markerLines:Ae}=M(oe,xe,ye),rt=oe.start&&typeof oe.start.column==\"number\",je=String(j).length,pt=(_e?(0,ee.default)(Z,ye):Z).split(G,j).slice(tt,j).map((at,fn)=>{let ce=tt+1+fn,Ve=` ${` ${ce}`.slice(-je)} |`,ae=Ae[ce],Ee=!Ae[ce+1];if(ae){let J=\"\";if(Array.isArray(ae)){let me=at.slice(0,Math.max(ae[0]-1,0)).replace(/[^\\t]/g,\" \"),we=ae[1]||1;J=[`\n `,le(ne.gutter,Ve.replace(/\\d/g,\" \")),\" \",me,le(ne.marker,\"^\").repeat(we)].join(\"\"),Ee&&ye.message&&(J+=\" \"+le(ne.message,ye.message))}return[le(ne.marker,\">\"),le(ne.gutter,Ve),at.length>0?` ${at}`:\"\",J].join(\"\")}else return` ${le(ne.gutter,Ve)}${at.length>0?` ${at}`:\"\"}`}).join(`\n`);return ye.message&&!rt&&(pt=`${\" \".repeat(je+1)}${ye.message}\n${pt}`),_e?ge.reset(pt):pt}function $(Z,oe,ye){let _e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!R){R=!0;let ge=\"Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.\";if(jl.emitWarning)jl.emitWarning(ge,\"DeprecationWarning\");else{let ne=new Error(ge);ne.name=\"DeprecationWarning\",console.warn(new Error(ge))}}return ye=Math.max(ye,0),H(Z,{start:{column:ye,line:oe}},_e)}}}),va=Ct({\"src/main/parser.js\"(z,ee){Un();var{ConfigError:R}=_o(),Y=Pu();ho();var{locStart:G,locEnd:M}=Y,H=Object.getOwnPropertyNames,$=Object.getOwnPropertyDescriptor;function Z(_e){let ge={};for(let ne of _e.plugins)if(ne.parsers)for(let le of H(ne.parsers))Object.defineProperty(ge,le,$(ne.parsers,le));return ge}function oe(_e){let ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Z(_e);if(typeof _e.parser==\"function\")return{parse:_e.parser,astFormat:\"estree\",locStart:G,locEnd:M};if(typeof _e.parser==\"string\"){if(Object.prototype.hasOwnProperty.call(ge,_e.parser))return ge[_e.parser];throw new R(`Couldn't resolve parser \"${_e.parser}\". Parsers must be explicitly added to the standalone bundle.`)}}function ye(_e,ge){let ne=Z(ge),le=Object.defineProperties({},Object.fromEntries(Object.keys(ne).map(tt=>[tt,{enumerable:!0,get(){return ne[tt].parse}}]))),xe=oe(ge,ne);try{return xe.preprocess&&(_e=xe.preprocess(_e,ge)),{text:_e,ast:xe.parse(_e,le,ge)}}catch(tt){let{loc:j}=tt;if(j){let{codeFrameColumns:Ae}=Sa();throw tt.codeFrame=Ae(_e,j,{highlightCode:!0}),tt.message+=`\n`+tt.codeFrame,tt}throw tt}}ee.exports={parse:ye,resolveParser:oe}}}),el=Ct({\"src/main/options.js\"(z,ee){Un();var R=wr(),{UndefinedParserError:Y}=_o(),{getSupportInfo:G}=Yr(),M=Rh(),{resolveParser:H}=va(),$={astFormat:\"estree\",printer:{},originalText:void 0,locStart:null,locEnd:null};function Z(_e){let ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ne=Object.assign({},_e),le=G({plugins:_e.plugins,showUnreleased:!0,showDeprecated:!0}).options,xe=Object.assign(Object.assign({},$),Object.fromEntries(le.filter(je=>je.default!==void 0).map(je=>[je.name,je.default])));if(!ne.parser){if(!ne.filepath)(ge.logger||console).warn(\"No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.\"),ne.parser=\"babel\";else if(ne.parser=ye(ne.filepath,ne.plugins),!ne.parser)throw new Y(`No parser could be inferred for file: ${ne.filepath}`)}let tt=H(M.normalizeApiOptions(ne,[le.find(je=>je.name===\"parser\")],{passThrough:!0,logger:!1}));ne.astFormat=tt.astFormat,ne.locEnd=tt.locEnd,ne.locStart=tt.locStart;let j=oe(ne);ne.printer=j.printers[ne.astFormat];let Ae=Object.fromEntries(le.filter(je=>je.pluginDefaults&&je.pluginDefaults[j.name]!==void 0).map(je=>[je.name,je.pluginDefaults[j.name]])),rt=Object.assign(Object.assign({},xe),Ae);for(let[je,pt]of Object.entries(rt))(ne[je]===null||ne[je]===void 0)&&(ne[je]=pt);return ne.parser===\"json\"&&(ne.trailingComma=\"none\"),M.normalizeApiOptions(ne,le,Object.assign({passThrough:Object.keys($)},ge))}function oe(_e){let{astFormat:ge}=_e;if(!ge)throw new Error(\"getPlugin() requires astFormat to be set\");let ne=_e.plugins.find(le=>le.printers&&le.printers[ge]);if(!ne)throw new Error(`Couldn't find plugin for AST format \"${ge}\"`);return ne}function ye(_e,ge){let ne=R.basename(_e).toLowerCase(),le=G({plugins:ge}).languages.filter(xe=>xe.since!==null).find(xe=>xe.extensions&&xe.extensions.some(tt=>ne.endsWith(tt))||xe.filenames&&xe.filenames.some(tt=>tt.toLowerCase()===ne));return le&&le.parsers[0]}ee.exports={normalize:Z,hiddenDefaults:$,inferParser:ye}}}),Cu=Ct({\"src/main/massage-ast.js\"(z,ee){Un();function R(Y,G,M){if(Array.isArray(Y))return Y.map(oe=>R(oe,G,M)).filter(Boolean);if(!Y||typeof Y!=\"object\")return Y;let H=G.printer.massageAstNode,$;H&&H.ignoredProperties?$=H.ignoredProperties:$=new Set;let Z={};for(let[oe,ye]of Object.entries(Y))!$.has(oe)&&typeof ye!=\"function\"&&(Z[oe]=R(ye,G,Y));if(H){let oe=H(Y,Z,M);if(oe===null)return;if(oe)return oe}return Z}ee.exports=R}}),Au=Ct({\"scripts/build/shims/assert.cjs\"(z,ee){Un();var R=()=>{};R.ok=R,R.strictEqual=R,ee.exports=R}}),nu=Ct({\"src/main/comments.js\"(z,ee){Un();var R=Au(),{builders:{line:Y,hardline:G,breakParent:M,indent:H,lineSuffix:$,join:Z,cursor:oe}}=Ia(),{hasNewline:ye,skipNewline:_e,skipSpaces:ge,isPreviousLineEmpty:ne,addLeadingComment:le,addDanglingComment:xe,addTrailingComment:tt}=sn(),j=new WeakMap;function Ae(Dt,Xt,hn){if(!Dt)return;let{printer:Jt,locStart:Hn,locEnd:Nt}=Xt;if(hn){if(Jt.canAttachComment&&Jt.canAttachComment(Dt)){let cn;for(cn=hn.length-1;cn>=0&&!(Hn(hn[cn])<=Hn(Dt)&&Nt(hn[cn])<=Nt(Dt));--cn);hn.splice(cn+1,0,Dt);return}}else if(j.has(Dt))return j.get(Dt);let Di=Jt.getCommentChildNodes&&Jt.getCommentChildNodes(Dt,Xt)||typeof Dt==\"object\"&&Object.entries(Dt).filter(cn=>{let[Ht]=cn;return Ht!==\"enclosingNode\"&&Ht!==\"precedingNode\"&&Ht!==\"followingNode\"&&Ht!==\"tokens\"&&Ht!==\"comments\"&&Ht!==\"parent\"}).map(cn=>{let[,Ht]=cn;return Ht});if(Di){hn||(hn=[],j.set(Dt,hn));for(let cn of Di)Ae(cn,Xt,hn);return hn}}function rt(Dt,Xt,hn,Jt){let{locStart:Hn,locEnd:Nt}=hn,Di=Hn(Xt),cn=Nt(Xt),Ht=Ae(Dt,hn),vi,Ci,ki=0,Cr=Ht.length;for(;ki<Cr;){let pn=ki+Cr>>1,ui=Ht[pn],Zi=Hn(ui),yr=Nt(ui);if(Zi<=Di&&cn<=yr)return rt(ui,Xt,hn,ui);if(yr<=Di){vi=ui,ki=pn+1;continue}if(cn<=Zi){Ci=ui,Cr=pn;continue}throw new Error(\"Comment location overlaps with node location\")}if(Jt&&Jt.type===\"TemplateLiteral\"){let{quasis:pn}=Jt,ui=Ee(pn,Xt,hn);vi&&Ee(pn,vi,hn)!==ui&&(vi=null),Ci&&Ee(pn,Ci,hn)!==ui&&(Ci=null)}return{enclosingNode:Jt,precedingNode:vi,followingNode:Ci}}var je=()=>!1;function pt(Dt,Xt,hn,Jt){if(!Array.isArray(Dt))return;let Hn=[],{locStart:Nt,locEnd:Di,printer:{handleComments:cn={}}}=Jt,{avoidAstMutation:Ht,ownLine:vi=je,endOfLine:Ci=je,remaining:ki=je}=cn,Cr=Dt.map((pn,ui)=>Object.assign(Object.assign({},rt(Xt,pn,Jt)),{},{comment:pn,text:hn,options:Jt,ast:Xt,isLastComment:Dt.length-1===ui}));for(let[pn,ui]of Cr.entries()){let{comment:Zi,precedingNode:yr,enclosingNode:Zs,followingNode:hi,text:An,options:Fi,ast:Yi,isLastComment:Fr}=ui;if(Fi.parser===\"json\"||Fi.parser===\"json5\"||Fi.parser===\"__js_expression\"||Fi.parser===\"__vue_expression\"||Fi.parser===\"__vue_ts_expression\"){if(Nt(Zi)-Nt(Yi)<=0){le(Yi,Zi);continue}if(Di(Zi)-Di(Yi)>=0){tt(Yi,Zi);continue}}let as;if(Ht?as=[ui]:(Zi.enclosingNode=Zs,Zi.precedingNode=yr,Zi.followingNode=hi,as=[Zi,An,Fi,Yi,Fr]),fn(An,Fi,Cr,pn))Zi.placement=\"ownLine\",vi(...as)||(hi?le(hi,Zi):yr?tt(yr,Zi):xe(Zs||Yi,Zi));else if(ce(An,Fi,Cr,pn))Zi.placement=\"endOfLine\",Ci(...as)||(yr?tt(yr,Zi):hi?le(hi,Zi):xe(Zs||Yi,Zi));else if(Zi.placement=\"remaining\",!ki(...as))if(yr&&hi){let Ds=Hn.length;Ds>0&&Hn[Ds-1].followingNode!==hi&&Ve(Hn,An,Fi),Hn.push(ui)}else yr?tt(yr,Zi):hi?le(hi,Zi):xe(Zs||Yi,Zi)}if(Ve(Hn,hn,Jt),!Ht)for(let pn of Dt)delete pn.precedingNode,delete pn.enclosingNode,delete pn.followingNode}var at=Dt=>!/[\\S\\n\\u2028\\u2029]/.test(Dt);function fn(Dt,Xt,hn,Jt){let{comment:Hn,precedingNode:Nt}=hn[Jt],{locStart:Di,locEnd:cn}=Xt,Ht=Di(Hn);if(Nt)for(let vi=Jt-1;vi>=0;vi--){let{comment:Ci,precedingNode:ki}=hn[vi];if(ki!==Nt||!at(Dt.slice(cn(Ci),Ht)))break;Ht=Di(Ci)}return ye(Dt,Ht,{backwards:!0})}function ce(Dt,Xt,hn,Jt){let{comment:Hn,followingNode:Nt}=hn[Jt],{locStart:Di,locEnd:cn}=Xt,Ht=cn(Hn);if(Nt)for(let vi=Jt+1;vi<hn.length;vi++){let{comment:Ci,followingNode:ki}=hn[vi];if(ki!==Nt||!at(Dt.slice(Ht,Di(Ci))))break;Ht=cn(Ci)}return ye(Dt,Ht)}function Ve(Dt,Xt,hn){let Jt=Dt.length;if(Jt===0)return;let{precedingNode:Hn,followingNode:Nt,enclosingNode:Di}=Dt[0],cn=hn.printer.getGapRegex&&hn.printer.getGapRegex(Di)||/^[\\s(]*$/,Ht=hn.locStart(Nt),vi;for(vi=Jt;vi>0;--vi){let{comment:Ci,precedingNode:ki,followingNode:Cr}=Dt[vi-1];R.strictEqual(ki,Hn),R.strictEqual(Cr,Nt);let pn=Xt.slice(hn.locEnd(Ci),Ht);if(cn.test(pn))Ht=hn.locStart(Ci);else break}for(let[Ci,{comment:ki}]of Dt.entries())Ci<vi?tt(Hn,ki):le(Nt,ki);for(let Ci of[Hn,Nt])Ci.comments&&Ci.comments.length>1&&Ci.comments.sort((ki,Cr)=>hn.locStart(ki)-hn.locStart(Cr));Dt.length=0}function ae(Dt,Xt){let hn=Dt.getValue();return hn.printed=!0,Xt.printer.printComment(Dt,Xt)}function Ee(Dt,Xt,hn){let Jt=hn.locStart(Xt)-1;for(let Hn=1;Hn<Dt.length;++Hn)if(Jt<hn.locStart(Dt[Hn]))return Hn-1;return 0}function J(Dt,Xt){let hn=Dt.getValue(),Jt=[ae(Dt,Xt)],{printer:Hn,originalText:Nt,locStart:Di,locEnd:cn}=Xt;if(Hn.isBlockComment&&Hn.isBlockComment(hn)){let vi=ye(Nt,cn(hn))?ye(Nt,Di(hn),{backwards:!0})?G:Y:\" \";Jt.push(vi)}else Jt.push(G);let Ht=_e(Nt,ge(Nt,cn(hn)));return Ht!==!1&&ye(Nt,Ht)&&Jt.push(G),Jt}function me(Dt,Xt){let hn=Dt.getValue(),Jt=ae(Dt,Xt),{printer:Hn,originalText:Nt,locStart:Di}=Xt,cn=Hn.isBlockComment&&Hn.isBlockComment(hn);if(ye(Nt,Di(hn),{backwards:!0})){let vi=ne(Nt,hn,Di);return $([G,vi?G:\"\",Jt])}let Ht=[\" \",Jt];return cn||(Ht=[$(Ht),M]),Ht}function we(Dt,Xt,hn,Jt){let Hn=[],Nt=Dt.getValue();return!Nt||!Nt.comments||(Dt.each(()=>{let Di=Dt.getValue();!Di.leading&&!Di.trailing&&(!Jt||Jt(Di))&&Hn.push(ae(Dt,Xt))},\"comments\"),Hn.length===0)?\"\":hn?Z(G,Hn):H([G,Z(G,Hn)])}function Fe(Dt,Xt,hn){let Jt=Dt.getValue();if(!Jt)return{};let Hn=Jt.comments||[];hn&&(Hn=Hn.filter(Ht=>!hn.has(Ht)));let Nt=Jt===Xt.cursorNode;if(Hn.length===0){let Ht=Nt?oe:\"\";return{leading:Ht,trailing:Ht}}let Di=[],cn=[];return Dt.each(()=>{let Ht=Dt.getValue();if(hn&&hn.has(Ht))return;let{leading:vi,trailing:Ci}=Ht;vi?Di.push(J(Dt,Xt)):Ci&&cn.push(me(Dt,Xt))},\"comments\"),Nt&&(Di.unshift(oe),cn.push(oe)),{leading:Di,trailing:cn}}function Me(Dt,Xt,hn,Jt){let{leading:Hn,trailing:Nt}=Fe(Dt,hn,Jt);return!Hn&&!Nt?Xt:[Hn,Xt,Nt]}function Xe(Dt){if(Dt)for(let Xt of Dt){if(!Xt.printed)throw new Error('Comment \"'+Xt.value.trim()+'\" was not printed. Please report this error!');delete Xt.printed}}ee.exports={attach:pt,printComments:Me,printCommentsSeparately:Fe,printDanglingComments:we,getSortedChildNodes:Ae,ensureAllCommentsPrinted:Xe}}}),lh=Ct({\"src/common/ast-path.js\"(z,ee){Un();var R=qu();function Y(H,$){let Z=G(H.stack,$);return Z===-1?null:H.stack[Z]}function G(H,$){for(let Z=H.length-1;Z>=0;Z-=2){let oe=H[Z];if(oe&&!Array.isArray(oe)&&--$<0)return Z}return-1}var M=class{constructor(H){this.stack=[H]}getName(){let{stack:H}=this,{length:$}=H;return $>1?H[$-2]:null}getValue(){return R(this.stack)}getNode(){let H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Y(this,H)}getParentNode(){let H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Y(this,H+1)}call(H){let{stack:$}=this,{length:Z}=$,oe=R($);for(var ye=arguments.length,_e=new Array(ye>1?ye-1:0),ge=1;ge<ye;ge++)_e[ge-1]=arguments[ge];for(let le of _e)oe=oe[le],$.push(le,oe);let ne=H(this);return $.length=Z,ne}callParent(H){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Z=G(this.stack,$+1),oe=this.stack.splice(Z+1),ye=H(this);return this.stack.push(...oe),ye}each(H){let{stack:$}=this,{length:Z}=$,oe=R($);for(var ye=arguments.length,_e=new Array(ye>1?ye-1:0),ge=1;ge<ye;ge++)_e[ge-1]=arguments[ge];for(let ne of _e)oe=oe[ne],$.push(ne,oe);for(let ne=0;ne<oe.length;++ne)$.push(ne,oe[ne]),H(this,ne,oe),$.length-=2;$.length=Z}map(H){let $=[];for(var Z=arguments.length,oe=new Array(Z>1?Z-1:0),ye=1;ye<Z;ye++)oe[ye-1]=arguments[ye];return this.each((_e,ge,ne)=>{$[ge]=H(_e,ge,ne)},...oe),$}try(H){let{stack:$}=this,Z=[...$];try{return H()}finally{$.length=0,$.push(...Z)}}match(){let H=this.stack.length-1,$=null,Z=this.stack[H--];for(var oe=arguments.length,ye=new Array(oe),_e=0;_e<oe;_e++)ye[_e]=arguments[_e];for(let ge of ye){if(Z===void 0)return!1;let ne=null;if(typeof $==\"number\"&&(ne=$,$=this.stack[H--],Z=this.stack[H--]),ge&&!ge(Z,$,ne))return!1;$=this.stack[H--],Z=this.stack[H--]}return!0}findAncestor(H){let $=this.stack.length-1,Z=null,oe=this.stack[$--];for(;oe;){let ye=null;if(typeof Z==\"number\"&&(ye=Z,Z=this.stack[$--],oe=this.stack[$--]),Z!==null&&H(oe,Z,ye))return oe;Z=this.stack[$--],oe=this.stack[$--]}}};ee.exports=M}}),b_=Ct({\"src/main/multiparser.js\"(z,ee){Un();var{utils:{stripTrailingHardline:R}}=Ia(),{normalize:Y}=el(),G=nu();function M($,Z,oe,ye){if(oe.printer.embed&&oe.embeddedLanguageFormatting===\"auto\")return oe.printer.embed($,Z,(_e,ge,ne)=>H(_e,ge,oe,ye,ne),oe)}function H($,Z,oe,ye){let{stripTrailingHardline:_e=!1}=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},ge=Y(Object.assign(Object.assign(Object.assign({},oe),Z),{},{parentParser:oe.parser,originalText:$}),{passThrough:!0}),ne=va().parse($,ge),{ast:le}=ne;$=ne.text;let xe=le.comments;delete le.comments,G.attach(xe,le,$,ge),ge[Symbol.for(\"comments\")]=xe||[],ge[Symbol.for(\"tokens\")]=le.tokens||[];let tt=ye(le,ge);return G.ensureAllCommentsPrinted(xe),_e?typeof tt==\"string\"?tt.replace(/(?:\\r?\\n)*$/,\"\"):R(tt):tt}ee.exports={printSubtree:M}}}),v_=Ct({\"src/main/ast-to-doc.js\"(z,ee){Un();var R=lh(),{builders:{hardline:Y,addAlignmentToDoc:G},utils:{propagateBreaks:M}}=Ia(),{printComments:H}=nu(),$=b_();function Z(_e,ge){let ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,{printer:le}=ge;le.preprocess&&(_e=le.preprocess(_e,ge));let xe=new Map,tt=new R(_e),j=Ae();return ne>0&&(j=G([Y,j],ne,ge.tabWidth)),M(j),j;function Ae(je,pt){return je===void 0||je===tt?rt(pt):Array.isArray(je)?tt.call(()=>rt(pt),...je):tt.call(()=>rt(pt),je)}function rt(je){let pt=tt.getValue(),at=pt&&typeof pt==\"object\"&&je===void 0;if(at&&xe.has(pt))return xe.get(pt);let fn=ye(tt,ge,Ae,je);return at&&xe.set(pt,fn),fn}}function oe(_e,ge){let{originalText:ne,[Symbol.for(\"comments\")]:le,locStart:xe,locEnd:tt}=ge,j=xe(_e),Ae=tt(_e),rt=new Set;for(let je of le)xe(je)>=j&&tt(je)<=Ae&&(je.printed=!0,rt.add(je));return{doc:ne.slice(j,Ae),printedComments:rt}}function ye(_e,ge,ne,le){let xe=_e.getValue(),{printer:tt}=ge,j,Ae;if(tt.hasPrettierIgnore&&tt.hasPrettierIgnore(_e))({doc:j,printedComments:Ae}=oe(xe,ge));else{if(xe)try{j=$.printSubtree(_e,ne,ge,Z)}catch(rt){if(globalThis.PRETTIER_DEBUG)throw rt}j||(j=tt.print(_e,ge,ne,le))}return(!tt.willPrintOwnComments||!tt.willPrintOwnComments(_e,ge))&&(j=H(_e,j,ge,Ae)),j}ee.exports=Z}}),zg=Ct({\"src/main/range-util.js\"(z,ee){Un();var R=Au(),Y=nu(),G=le=>{let{parser:xe}=le;return xe===\"json\"||xe===\"json5\"||xe===\"json-stringify\"};function M(le,xe){let tt=[le.node,...le.parentNodes],j=new Set([xe.node,...xe.parentNodes]);return tt.find(Ae=>ye.has(Ae.type)&&j.has(Ae))}function H(le){let xe=le.length-1;for(;;){let tt=le[xe];if(tt&&(tt.type===\"Program\"||tt.type===\"File\"))xe--;else break}return le.slice(0,xe+1)}function $(le,xe,tt){let{locStart:j,locEnd:Ae}=tt,rt=le.node,je=xe.node;if(rt===je)return{startNode:rt,endNode:je};let pt=j(le.node);for(let fn of H(xe.parentNodes))if(j(fn)>=pt)je=fn;else break;let at=Ae(xe.node);for(let fn of H(le.parentNodes)){if(Ae(fn)<=at)rt=fn;else break;if(rt===je)break}return{startNode:rt,endNode:je}}function Z(le,xe,tt,j){let Ae=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],rt=arguments.length>5?arguments[5]:void 0,{locStart:je,locEnd:pt}=tt,at=je(le),fn=pt(le);if(!(xe>fn||xe<at||rt===\"rangeEnd\"&&xe===at||rt===\"rangeStart\"&&xe===fn)){for(let ce of Y.getSortedChildNodes(le,tt)){let Ve=Z(ce,xe,tt,j,[le,...Ae],rt);if(Ve)return Ve}if(!j||j(le,Ae[0]))return{node:le,parentNodes:Ae}}}function oe(le,xe){return xe!==\"DeclareExportDeclaration\"&&le!==\"TypeParameterDeclaration\"&&(le===\"Directive\"||le===\"TypeAlias\"||le===\"TSExportAssignment\"||le.startsWith(\"Declare\")||le.startsWith(\"TSDeclare\")||le.endsWith(\"Statement\")||le.endsWith(\"Declaration\"))}var ye=new Set([\"ObjectExpression\",\"ArrayExpression\",\"StringLiteral\",\"NumericLiteral\",\"BooleanLiteral\",\"NullLiteral\",\"UnaryExpression\",\"TemplateLiteral\"]),_e=new Set([\"OperationDefinition\",\"FragmentDefinition\",\"VariableDefinition\",\"TypeExtensionDefinition\",\"ObjectTypeDefinition\",\"FieldDefinition\",\"DirectiveDefinition\",\"EnumTypeDefinition\",\"EnumValueDefinition\",\"InputValueDefinition\",\"InputObjectTypeDefinition\",\"SchemaDefinition\",\"OperationTypeDefinition\",\"InterfaceTypeDefinition\",\"UnionTypeDefinition\",\"ScalarTypeDefinition\"]);function ge(le,xe,tt){if(!xe)return!1;switch(le.parser){case\"flow\":case\"babel\":case\"babel-flow\":case\"babel-ts\":case\"typescript\":case\"acorn\":case\"espree\":case\"meriyah\":case\"__babel_estree\":return oe(xe.type,tt&&tt.type);case\"json\":case\"json5\":case\"json-stringify\":return ye.has(xe.type);case\"graphql\":return _e.has(xe.kind);case\"vue\":return xe.tag!==\"root\"}return!1}function ne(le,xe,tt){let{rangeStart:j,rangeEnd:Ae,locStart:rt,locEnd:je}=xe;R.ok(Ae>j);let pt=le.slice(j,Ae).search(/\\S/),at=pt===-1;if(!at)for(j+=pt;Ae>j&&!/\\S/.test(le[Ae-1]);--Ae);let fn=Z(tt,j,xe,(Ee,J)=>ge(xe,Ee,J),[],\"rangeStart\"),ce=at?fn:Z(tt,Ae,xe,Ee=>ge(xe,Ee),[],\"rangeEnd\");if(!fn||!ce)return{rangeStart:0,rangeEnd:0};let Ve,ae;if(G(xe)){let Ee=M(fn,ce);Ve=Ee,ae=Ee}else({startNode:Ve,endNode:ae}=$(fn,ce,xe));return{rangeStart:Math.min(rt(Ve),rt(ae)),rangeEnd:Math.max(je(Ve),je(ae))}}ee.exports={calculateRange:ne,findNodeAtOffset:Z}}}),tg=Ct({\"src/main/core.js\"(z,ee){Un();var{diffArrays:R}=Zc(),{printer:{printDocToString:Y},debug:{printDocToDebug:G}}=Ia(),{getAlignmentSize:M}=sn(),{guessEndOfLine:H,convertEndOfLineToChars:$,countEndOfLineChars:Z,normalizeEndOfLine:oe}=Pd(),ye=el().normalize,_e=Cu(),ge=nu(),ne=va(),le=v_(),xe=zg(),tt=\"\\uFEFF\",j=Symbol(\"cursor\");function Ae(ae,Ee,J){let me=Ee.comments;return me&&(delete Ee.comments,ge.attach(me,Ee,ae,J)),J[Symbol.for(\"comments\")]=me||[],J[Symbol.for(\"tokens\")]=Ee.tokens||[],J.originalText=ae,me}function rt(ae,Ee){let J=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!ae||ae.trim().length===0)return{formatted:\"\",cursorOffset:-1,comments:[]};let{ast:me,text:we}=ne.parse(ae,Ee);if(Ee.cursorOffset>=0){let Dt=xe.findNodeAtOffset(me,Ee.cursorOffset,Ee);Dt&&Dt.node&&(Ee.cursorNode=Dt.node)}let Fe=Ae(we,me,Ee),Me=le(me,Ee,J),Xe=Y(Me,Ee);if(ge.ensureAllCommentsPrinted(Fe),J>0){let Dt=Xe.formatted.trim();Xe.cursorNodeStart!==void 0&&(Xe.cursorNodeStart-=Xe.formatted.indexOf(Dt)),Xe.formatted=Dt+$(Ee.endOfLine)}if(Ee.cursorOffset>=0){let Dt,Xt,hn,Jt,Hn;if(Ee.cursorNode&&Xe.cursorNodeText?(Dt=Ee.locStart(Ee.cursorNode),Xt=we.slice(Dt,Ee.locEnd(Ee.cursorNode)),hn=Ee.cursorOffset-Dt,Jt=Xe.cursorNodeStart,Hn=Xe.cursorNodeText):(Dt=0,Xt=we,hn=Ee.cursorOffset,Jt=0,Hn=Xe.formatted),Xt===Hn)return{formatted:Xe.formatted,cursorOffset:Jt+hn,comments:Fe};let Nt=[...Xt];Nt.splice(hn,0,j);let Di=[...Hn],cn=R(Nt,Di),Ht=Jt;for(let vi of cn)if(vi.removed){if(vi.value.includes(j))break}else Ht+=vi.count;return{formatted:Xe.formatted,cursorOffset:Ht,comments:Fe}}return{formatted:Xe.formatted,cursorOffset:-1,comments:Fe}}function je(ae,Ee){let{ast:J,text:me}=ne.parse(ae,Ee),{rangeStart:we,rangeEnd:Fe}=xe.calculateRange(me,Ee,J),Me=me.slice(we,Fe),Xe=Math.min(we,me.lastIndexOf(`\n`,we)+1),Dt=me.slice(Xe,we).match(/^\\s*/)[0],Xt=M(Dt,Ee.tabWidth),hn=rt(Me,Object.assign(Object.assign({},Ee),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:Ee.cursorOffset>we&&Ee.cursorOffset<=Fe?Ee.cursorOffset-we:-1,endOfLine:\"lf\"}),Xt),Jt=hn.formatted.trimEnd(),{cursorOffset:Hn}=Ee;Hn>Fe?Hn+=Jt.length-Me.length:hn.cursorOffset>=0&&(Hn=hn.cursorOffset+we);let Nt=me.slice(0,we)+Jt+me.slice(Fe);if(Ee.endOfLine!==\"lf\"){let Di=$(Ee.endOfLine);Hn>=0&&Di===`\\r\n`&&(Hn+=Z(Nt.slice(0,Hn),`\n`)),Nt=Nt.replace(/\\n/g,Di)}return{formatted:Nt,cursorOffset:Hn,comments:hn.comments}}function pt(ae,Ee,J){return typeof Ee!=\"number\"||Number.isNaN(Ee)||Ee<0||Ee>ae.length?J:Ee}function at(ae,Ee){let{cursorOffset:J,rangeStart:me,rangeEnd:we}=Ee;return J=pt(ae,J,-1),me=pt(ae,me,0),we=pt(ae,we,ae.length),Object.assign(Object.assign({},Ee),{},{cursorOffset:J,rangeStart:me,rangeEnd:we})}function fn(ae,Ee){let{cursorOffset:J,rangeStart:me,rangeEnd:we,endOfLine:Fe}=at(ae,Ee),Me=ae.charAt(0)===tt;if(Me&&(ae=ae.slice(1),J--,me--,we--),Fe===\"auto\"&&(Fe=H(ae)),ae.includes(\"\\r\")){let Xe=Dt=>Z(ae.slice(0,Math.max(Dt,0)),`\\r\n`);J-=Xe(J),me-=Xe(me),we-=Xe(we),ae=oe(ae)}return{hasBOM:Me,text:ae,options:at(ae,Object.assign(Object.assign({},Ee),{},{cursorOffset:J,rangeStart:me,rangeEnd:we,endOfLine:Fe}))}}function ce(ae,Ee){let J=ne.resolveParser(Ee);return!J.hasPragma||J.hasPragma(ae)}function Ve(ae,Ee){let{hasBOM:J,text:me,options:we}=fn(ae,ye(Ee));if(we.rangeStart>=we.rangeEnd&&me!==\"\"||we.requirePragma&&!ce(me,we))return{formatted:ae,cursorOffset:Ee.cursorOffset,comments:[]};let Fe;return we.rangeStart>0||we.rangeEnd<me.length?Fe=je(me,we):(!we.requirePragma&&we.insertPragma&&we.printer.insertPragma&&!ce(me,we)&&(me=we.printer.insertPragma(me)),Fe=rt(me,we)),J&&(Fe.formatted=tt+Fe.formatted,Fe.cursorOffset>=0&&Fe.cursorOffset++),Fe}ee.exports={formatWithCursor:Ve,parse(ae,Ee,J){let{text:me,options:we}=fn(ae,ye(Ee)),Fe=ne.parse(me,we);return J&&(Fe.ast=_e(Fe.ast,we)),Fe},formatAST(ae,Ee){Ee=ye(Ee);let J=le(ae,Ee);return Y(J,Ee)},formatDoc(ae,Ee){return Ve(G(ae),Object.assign(Object.assign({},Ee),{},{parser:\"__js_expression\"})).formatted},printToDoc(ae,Ee){Ee=ye(Ee);let{ast:J,text:me}=ne.parse(ae,Ee);return Ae(me,J,Ee),le(J,Ee)},printDocToString(ae,Ee){return Y(ae,ye(Ee))}}}}),Ug=Ct({\"src/common/util-shared.js\"(z,ee){Un();var{getMaxContinuousCount:R,getStringWidth:Y,getAlignmentSize:G,getIndentSize:M,skip:H,skipWhitespace:$,skipSpaces:Z,skipNewline:oe,skipToLineEnd:ye,skipEverythingButNewLine:_e,skipInlineComment:ge,skipTrailingComment:ne,hasNewline:le,hasNewlineInRange:xe,hasSpaces:tt,isNextLineEmpty:j,isNextLineEmptyAfterIndex:Ae,isPreviousLineEmpty:rt,getNextNonSpaceNonCommentCharacterIndex:je,makeString:pt,addLeadingComment:at,addDanglingComment:fn,addTrailingComment:ce}=sn();ee.exports={getMaxContinuousCount:R,getStringWidth:Y,getAlignmentSize:G,getIndentSize:M,skip:H,skipWhitespace:$,skipSpaces:Z,skipNewline:oe,skipToLineEnd:ye,skipEverythingButNewLine:_e,skipInlineComment:ge,skipTrailingComment:ne,hasNewline:le,hasNewlineInRange:xe,hasSpaces:tt,isNextLineEmpty:j,isNextLineEmptyAfterIndex:Ae,isPreviousLineEmpty:rt,getNextNonSpaceNonCommentCharacterIndex:je,makeString:pt,addLeadingComment:at,addDanglingComment:fn,addTrailingComment:ce}}}),Rc=Ct({\"src/utils/create-language.js\"(z,ee){Un(),ee.exports=function(R,Y){let{languageId:G}=R,M=en(R,At);return Object.assign(Object.assign({linguistLanguageId:G},M),Y(R))}}}),Bh=Ct({\"node_modules/esutils/lib/ast.js\"(z,ee){Un(),function(){function R(Z){if(Z==null)return!1;switch(Z.type){case\"ArrayExpression\":case\"AssignmentExpression\":case\"BinaryExpression\":case\"CallExpression\":case\"ConditionalExpression\":case\"FunctionExpression\":case\"Identifier\":case\"Literal\":case\"LogicalExpression\":case\"MemberExpression\":case\"NewExpression\":case\"ObjectExpression\":case\"SequenceExpression\":case\"ThisExpression\":case\"UnaryExpression\":case\"UpdateExpression\":return!0}return!1}function Y(Z){if(Z==null)return!1;switch(Z.type){case\"DoWhileStatement\":case\"ForInStatement\":case\"ForStatement\":case\"WhileStatement\":return!0}return!1}function G(Z){if(Z==null)return!1;switch(Z.type){case\"BlockStatement\":case\"BreakStatement\":case\"ContinueStatement\":case\"DebuggerStatement\":case\"DoWhileStatement\":case\"EmptyStatement\":case\"ExpressionStatement\":case\"ForInStatement\":case\"ForStatement\":case\"IfStatement\":case\"LabeledStatement\":case\"ReturnStatement\":case\"SwitchStatement\":case\"ThrowStatement\":case\"TryStatement\":case\"VariableDeclaration\":case\"WhileStatement\":case\"WithStatement\":return!0}return!1}function M(Z){return G(Z)||Z!=null&&Z.type===\"FunctionDeclaration\"}function H(Z){switch(Z.type){case\"IfStatement\":return Z.alternate!=null?Z.alternate:Z.consequent;case\"LabeledStatement\":case\"ForStatement\":case\"ForInStatement\":case\"WhileStatement\":case\"WithStatement\":return Z.body}return null}function $(Z){var oe;if(Z.type!==\"IfStatement\"||Z.alternate==null)return!1;oe=Z.consequent;do{if(oe.type===\"IfStatement\"&&oe.alternate==null)return!0;oe=H(oe)}while(oe);return!1}ee.exports={isExpression:R,isStatement:G,isIterationStatement:Y,isSourceElement:M,isProblematicIfStatement:$,trailingStatement:H}}()}}),$p=Ct({\"node_modules/esutils/lib/code.js\"(z,ee){Un(),function(){var R,Y,G,M,H,$;Y={NonAsciiIdentifierStart:/[\\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]/,NonAsciiIdentifierPart:/[\\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]/},R={NonAsciiIdentifierStart:/[\\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-\\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\\u2118-\\u211D\\u2124\\u2126\\u2128\\u212A-\\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\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309B-\\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]|\\uD800[\\uDC00-\\uDC0B\\uDC0D-\\uDC26\\uDC28-\\uDC3A\\uDC3C\\uDC3D\\uDC3F-\\uDC4D\\uDC50-\\uDC5D\\uDC80-\\uDCFA\\uDD40-\\uDD74\\uDE80-\\uDE9C\\uDEA0-\\uDED0\\uDF00-\\uDF1F\\uDF30-\\uDF4A\\uDF50-\\uDF75\\uDF80-\\uDF9D\\uDFA0-\\uDFC3\\uDFC8-\\uDFCF\\uDFD1-\\uDFD5]|\\uD801[\\uDC00-\\uDC9D\\uDCB0-\\uDCD3\\uDCD8-\\uDCFB\\uDD00-\\uDD27\\uDD30-\\uDD63\\uDE00-\\uDF36\\uDF40-\\uDF55\\uDF60-\\uDF67]|\\uD802[\\uDC00-\\uDC05\\uDC08\\uDC0A-\\uDC35\\uDC37\\uDC38\\uDC3C\\uDC3F-\\uDC55\\uDC60-\\uDC76\\uDC80-\\uDC9E\\uDCE0-\\uDCF2\\uDCF4\\uDCF5\\uDD00-\\uDD15\\uDD20-\\uDD39\\uDD80-\\uDDB7\\uDDBE\\uDDBF\\uDE00\\uDE10-\\uDE13\\uDE15-\\uDE17\\uDE19-\\uDE33\\uDE60-\\uDE7C\\uDE80-\\uDE9C\\uDEC0-\\uDEC7\\uDEC9-\\uDEE4\\uDF00-\\uDF35\\uDF40-\\uDF55\\uDF60-\\uDF72\\uDF80-\\uDF91]|\\uD803[\\uDC00-\\uDC48\\uDC80-\\uDCB2\\uDCC0-\\uDCF2]|\\uD804[\\uDC03-\\uDC37\\uDC83-\\uDCAF\\uDCD0-\\uDCE8\\uDD03-\\uDD26\\uDD50-\\uDD72\\uDD76\\uDD83-\\uDDB2\\uDDC1-\\uDDC4\\uDDDA\\uDDDC\\uDE00-\\uDE11\\uDE13-\\uDE2B\\uDE80-\\uDE86\\uDE88\\uDE8A-\\uDE8D\\uDE8F-\\uDE9D\\uDE9F-\\uDEA8\\uDEB0-\\uDEDE\\uDF05-\\uDF0C\\uDF0F\\uDF10\\uDF13-\\uDF28\\uDF2A-\\uDF30\\uDF32\\uDF33\\uDF35-\\uDF39\\uDF3D\\uDF50\\uDF5D-\\uDF61]|\\uD805[\\uDC00-\\uDC34\\uDC47-\\uDC4A\\uDC80-\\uDCAF\\uDCC4\\uDCC5\\uDCC7\\uDD80-\\uDDAE\\uDDD8-\\uDDDB\\uDE00-\\uDE2F\\uDE44\\uDE80-\\uDEAA\\uDF00-\\uDF19]|\\uD806[\\uDCA0-\\uDCDF\\uDCFF\\uDEC0-\\uDEF8]|\\uD807[\\uDC00-\\uDC08\\uDC0A-\\uDC2E\\uDC40\\uDC72-\\uDC8F]|\\uD808[\\uDC00-\\uDF99]|\\uD809[\\uDC00-\\uDC6E\\uDC80-\\uDD43]|[\\uD80C\\uD81C-\\uD820\\uD840-\\uD868\\uD86A-\\uD86C\\uD86F-\\uD872][\\uDC00-\\uDFFF]|\\uD80D[\\uDC00-\\uDC2E]|\\uD811[\\uDC00-\\uDE46]|\\uD81A[\\uDC00-\\uDE38\\uDE40-\\uDE5E\\uDED0-\\uDEED\\uDF00-\\uDF2F\\uDF40-\\uDF43\\uDF63-\\uDF77\\uDF7D-\\uDF8F]|\\uD81B[\\uDF00-\\uDF44\\uDF50\\uDF93-\\uDF9F\\uDFE0]|\\uD821[\\uDC00-\\uDFEC]|\\uD822[\\uDC00-\\uDEF2]|\\uD82C[\\uDC00\\uDC01]|\\uD82F[\\uDC00-\\uDC6A\\uDC70-\\uDC7C\\uDC80-\\uDC88\\uDC90-\\uDC99]|\\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]|\\uD83A[\\uDC00-\\uDCC4\\uDD00-\\uDD43]|\\uD83B[\\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]|\\uD869[\\uDC00-\\uDED6\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF34\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D\\uDC20-\\uDFFF]|\\uD873[\\uDC00-\\uDEA1]|\\uD87E[\\uDC00-\\uDE1D]/,NonAsciiIdentifierPart:/[\\xAA\\xB5\\xB7\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386-\\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\\u1369-\\u1371\\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-\\u19DA\\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\\u2118-\\u211D\\u2124\\u2126\\u2128\\u212A-\\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\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099-\\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]|\\uD800[\\uDC00-\\uDC0B\\uDC0D-\\uDC26\\uDC28-\\uDC3A\\uDC3C\\uDC3D\\uDC3F-\\uDC4D\\uDC50-\\uDC5D\\uDC80-\\uDCFA\\uDD40-\\uDD74\\uDDFD\\uDE80-\\uDE9C\\uDEA0-\\uDED0\\uDEE0\\uDF00-\\uDF1F\\uDF30-\\uDF4A\\uDF50-\\uDF7A\\uDF80-\\uDF9D\\uDFA0-\\uDFC3\\uDFC8-\\uDFCF\\uDFD1-\\uDFD5]|\\uD801[\\uDC00-\\uDC9D\\uDCA0-\\uDCA9\\uDCB0-\\uDCD3\\uDCD8-\\uDCFB\\uDD00-\\uDD27\\uDD30-\\uDD63\\uDE00-\\uDF36\\uDF40-\\uDF55\\uDF60-\\uDF67]|\\uD802[\\uDC00-\\uDC05\\uDC08\\uDC0A-\\uDC35\\uDC37\\uDC38\\uDC3C\\uDC3F-\\uDC55\\uDC60-\\uDC76\\uDC80-\\uDC9E\\uDCE0-\\uDCF2\\uDCF4\\uDCF5\\uDD00-\\uDD15\\uDD20-\\uDD39\\uDD80-\\uDDB7\\uDDBE\\uDDBF\\uDE00-\\uDE03\\uDE05\\uDE06\\uDE0C-\\uDE13\\uDE15-\\uDE17\\uDE19-\\uDE33\\uDE38-\\uDE3A\\uDE3F\\uDE60-\\uDE7C\\uDE80-\\uDE9C\\uDEC0-\\uDEC7\\uDEC9-\\uDEE6\\uDF00-\\uDF35\\uDF40-\\uDF55\\uDF60-\\uDF72\\uDF80-\\uDF91]|\\uD803[\\uDC00-\\uDC48\\uDC80-\\uDCB2\\uDCC0-\\uDCF2]|\\uD804[\\uDC00-\\uDC46\\uDC66-\\uDC6F\\uDC7F-\\uDCBA\\uDCD0-\\uDCE8\\uDCF0-\\uDCF9\\uDD00-\\uDD34\\uDD36-\\uDD3F\\uDD50-\\uDD73\\uDD76\\uDD80-\\uDDC4\\uDDCA-\\uDDCC\\uDDD0-\\uDDDA\\uDDDC\\uDE00-\\uDE11\\uDE13-\\uDE37\\uDE3E\\uDE80-\\uDE86\\uDE88\\uDE8A-\\uDE8D\\uDE8F-\\uDE9D\\uDE9F-\\uDEA8\\uDEB0-\\uDEEA\\uDEF0-\\uDEF9\\uDF00-\\uDF03\\uDF05-\\uDF0C\\uDF0F\\uDF10\\uDF13-\\uDF28\\uDF2A-\\uDF30\\uDF32\\uDF33\\uDF35-\\uDF39\\uDF3C-\\uDF44\\uDF47\\uDF48\\uDF4B-\\uDF4D\\uDF50\\uDF57\\uDF5D-\\uDF63\\uDF66-\\uDF6C\\uDF70-\\uDF74]|\\uD805[\\uDC00-\\uDC4A\\uDC50-\\uDC59\\uDC80-\\uDCC5\\uDCC7\\uDCD0-\\uDCD9\\uDD80-\\uDDB5\\uDDB8-\\uDDC0\\uDDD8-\\uDDDD\\uDE00-\\uDE40\\uDE44\\uDE50-\\uDE59\\uDE80-\\uDEB7\\uDEC0-\\uDEC9\\uDF00-\\uDF19\\uDF1D-\\uDF2B\\uDF30-\\uDF39]|\\uD806[\\uDCA0-\\uDCE9\\uDCFF\\uDEC0-\\uDEF8]|\\uD807[\\uDC00-\\uDC08\\uDC0A-\\uDC36\\uDC38-\\uDC40\\uDC50-\\uDC59\\uDC72-\\uDC8F\\uDC92-\\uDCA7\\uDCA9-\\uDCB6]|\\uD808[\\uDC00-\\uDF99]|\\uD809[\\uDC00-\\uDC6E\\uDC80-\\uDD43]|[\\uD80C\\uD81C-\\uD820\\uD840-\\uD868\\uD86A-\\uD86C\\uD86F-\\uD872][\\uDC00-\\uDFFF]|\\uD80D[\\uDC00-\\uDC2E]|\\uD811[\\uDC00-\\uDE46]|\\uD81A[\\uDC00-\\uDE38\\uDE40-\\uDE5E\\uDE60-\\uDE69\\uDED0-\\uDEED\\uDEF0-\\uDEF4\\uDF00-\\uDF36\\uDF40-\\uDF43\\uDF50-\\uDF59\\uDF63-\\uDF77\\uDF7D-\\uDF8F]|\\uD81B[\\uDF00-\\uDF44\\uDF50-\\uDF7E\\uDF8F-\\uDF9F\\uDFE0]|\\uD821[\\uDC00-\\uDFEC]|\\uD822[\\uDC00-\\uDEF2]|\\uD82C[\\uDC00\\uDC01]|\\uD82F[\\uDC00-\\uDC6A\\uDC70-\\uDC7C\\uDC80-\\uDC88\\uDC90-\\uDC99\\uDC9D\\uDC9E]|\\uD834[\\uDD65-\\uDD69\\uDD6D-\\uDD72\\uDD7B-\\uDD82\\uDD85-\\uDD8B\\uDDAA-\\uDDAD\\uDE42-\\uDE44]|\\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]|\\uD836[\\uDE00-\\uDE36\\uDE3B-\\uDE6C\\uDE75\\uDE84\\uDE9B-\\uDE9F\\uDEA1-\\uDEAF]|\\uD838[\\uDC00-\\uDC06\\uDC08-\\uDC18\\uDC1B-\\uDC21\\uDC23\\uDC24\\uDC26-\\uDC2A]|\\uD83A[\\uDC00-\\uDCC4\\uDCD0-\\uDCD6\\uDD00-\\uDD4A\\uDD50-\\uDD59]|\\uD83B[\\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]|\\uD869[\\uDC00-\\uDED6\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF34\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D\\uDC20-\\uDFFF]|\\uD873[\\uDC00-\\uDEA1]|\\uD87E[\\uDC00-\\uDE1D]|\\uDB40[\\uDD00-\\uDDEF]/};function Z(Ae){return 48<=Ae&&Ae<=57}function oe(Ae){return 48<=Ae&&Ae<=57||97<=Ae&&Ae<=102||65<=Ae&&Ae<=70}function ye(Ae){return Ae>=48&&Ae<=55}G=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function _e(Ae){return Ae===32||Ae===9||Ae===11||Ae===12||Ae===160||Ae>=5760&&G.indexOf(Ae)>=0}function ge(Ae){return Ae===10||Ae===13||Ae===8232||Ae===8233}function ne(Ae){if(Ae<=65535)return String.fromCharCode(Ae);var rt=String.fromCharCode(Math.floor((Ae-65536)/1024)+55296),je=String.fromCharCode((Ae-65536)%1024+56320);return rt+je}for(M=new Array(128),$=0;$<128;++$)M[$]=$>=97&&$<=122||$>=65&&$<=90||$===36||$===95;for(H=new Array(128),$=0;$<128;++$)H[$]=$>=97&&$<=122||$>=65&&$<=90||$>=48&&$<=57||$===36||$===95;function le(Ae){return Ae<128?M[Ae]:Y.NonAsciiIdentifierStart.test(ne(Ae))}function xe(Ae){return Ae<128?H[Ae]:Y.NonAsciiIdentifierPart.test(ne(Ae))}function tt(Ae){return Ae<128?M[Ae]:R.NonAsciiIdentifierStart.test(ne(Ae))}function j(Ae){return Ae<128?H[Ae]:R.NonAsciiIdentifierPart.test(ne(Ae))}ee.exports={isDecimalDigit:Z,isHexDigit:oe,isOctalDigit:ye,isWhiteSpace:_e,isLineTerminator:ge,isIdentifierStartES5:le,isIdentifierPartES5:xe,isIdentifierStartES6:tt,isIdentifierPartES6:j}}()}}),hy=Ct({\"node_modules/esutils/lib/keyword.js\"(z,ee){Un(),function(){var R=$p();function Y(le){switch(le){case\"implements\":case\"interface\":case\"package\":case\"private\":case\"protected\":case\"public\":case\"static\":case\"let\":return!0;default:return!1}}function G(le,xe){return!xe&&le===\"yield\"?!1:M(le,xe)}function M(le,xe){if(xe&&Y(le))return!0;switch(le.length){case 2:return le===\"if\"||le===\"in\"||le===\"do\";case 3:return le===\"var\"||le===\"for\"||le===\"new\"||le===\"try\";case 4:return le===\"this\"||le===\"else\"||le===\"case\"||le===\"void\"||le===\"with\"||le===\"enum\";case 5:return le===\"while\"||le===\"break\"||le===\"catch\"||le===\"throw\"||le===\"const\"||le===\"yield\"||le===\"class\"||le===\"super\";case 6:return le===\"return\"||le===\"typeof\"||le===\"delete\"||le===\"switch\"||le===\"export\"||le===\"import\";case 7:return le===\"default\"||le===\"finally\"||le===\"extends\";case 8:return le===\"function\"||le===\"continue\"||le===\"debugger\";case 10:return le===\"instanceof\";default:return!1}}function H(le,xe){return le===\"null\"||le===\"true\"||le===\"false\"||G(le,xe)}function $(le,xe){return le===\"null\"||le===\"true\"||le===\"false\"||M(le,xe)}function Z(le){return le===\"eval\"||le===\"arguments\"}function oe(le){var xe,tt,j;if(le.length===0||(j=le.charCodeAt(0),!R.isIdentifierStartES5(j)))return!1;for(xe=1,tt=le.length;xe<tt;++xe)if(j=le.charCodeAt(xe),!R.isIdentifierPartES5(j))return!1;return!0}function ye(le,xe){return(le-55296)*1024+(xe-56320)+65536}function _e(le){var xe,tt,j,Ae,rt;if(le.length===0)return!1;for(rt=R.isIdentifierStartES6,xe=0,tt=le.length;xe<tt;++xe){if(j=le.charCodeAt(xe),55296<=j&&j<=56319){if(++xe,xe>=tt||(Ae=le.charCodeAt(xe),!(56320<=Ae&&Ae<=57343)))return!1;j=ye(j,Ae)}if(!rt(j))return!1;rt=R.isIdentifierPartES6}return!0}function ge(le,xe){return oe(le)&&!H(le,xe)}function ne(le,xe){return _e(le)&&!$(le,xe)}ee.exports={isKeywordES5:G,isKeywordES6:M,isReservedWordES5:H,isReservedWordES6:$,isRestrictedWord:Z,isIdentifierNameES5:oe,isIdentifierNameES6:_e,isIdentifierES5:ge,isIdentifierES6:ne}}()}}),py=Ct({\"node_modules/esutils/lib/utils.js\"(z){Un(),function(){z.ast=Bh(),z.code=$p(),z.keyword=hy()}()}}),ng=Ct({\"src/language-js/utils/is-block-comment.js\"(z,ee){Un();var R=new Set([\"Block\",\"CommentBlock\",\"MultiLine\"]),Y=G=>R.has(G==null?void 0:G.type);ee.exports=Y}}),C_=Ct({\"src/language-js/utils/is-node-matches.js\"(z,ee){Un();function R(G,M){let H=M.split(\".\");for(let $=H.length-1;$>=0;$--){let Z=H[$];if($===0)return G.type===\"Identifier\"&&G.name===Z;if(G.type!==\"MemberExpression\"||G.optional||G.computed||G.property.type!==\"Identifier\"||G.property.name!==Z)return!1;G=G.object}}function Y(G,M){return M.some(H=>R(G,H))}ee.exports=Y}}),uu=Ct({\"src/language-js/utils/index.js\"(z,ee){Un();var R=py().keyword.isIdentifierNameES5,{getLast:Y,hasNewline:G,skipWhitespace:M,isNonEmptyArray:H,isNextLineEmptyAfterIndex:$,getStringWidth:Z}=sn(),{locStart:oe,locEnd:ye,hasSameLocStart:_e}=Pu(),ge=ng(),ne=C_(),le=\"(?:(?=.)\\\\s)\",xe=new RegExp(`^${le}*:`),tt=new RegExp(`^${le}*::`);function j(Mt){var Pr,fa;return((Pr=Mt.extra)===null||Pr===void 0?void 0:Pr.parenthesized)&&ge((fa=Mt.trailingComments)===null||fa===void 0?void 0:fa[0])&&xe.test(Mt.trailingComments[0].value)}function Ae(Mt){let Pr=Mt==null?void 0:Mt[0];return ge(Pr)&&tt.test(Pr.value)}function rt(Mt,Pr){if(!Mt||typeof Mt!=\"object\")return!1;if(Array.isArray(Mt))return Mt.some(Pl=>rt(Pl,Pr));let fa=Pr(Mt);return typeof fa==\"boolean\"?fa:Object.values(Mt).some(Pl=>rt(Pl,Pr))}function je(Mt){return Mt.type===\"AssignmentExpression\"||Mt.type===\"BinaryExpression\"||Mt.type===\"LogicalExpression\"||Mt.type===\"NGPipeExpression\"||Mt.type===\"ConditionalExpression\"||Zi(Mt)||yr(Mt)||Mt.type===\"SequenceExpression\"||Mt.type===\"TaggedTemplateExpression\"||Mt.type===\"BindExpression\"||Mt.type===\"UpdateExpression\"&&!Mt.prefix||Gp(Mt)||Mt.type===\"TSNonNullExpression\"}function pt(Mt){var Pr,fa,Pl,Wl,Ep,Ec;return Mt.expressions?Mt.expressions[0]:(Pr=(fa=(Pl=(Wl=(Ep=(Ec=Mt.left)!==null&&Ec!==void 0?Ec:Mt.test)!==null&&Ep!==void 0?Ep:Mt.callee)!==null&&Wl!==void 0?Wl:Mt.object)!==null&&Pl!==void 0?Pl:Mt.tag)!==null&&fa!==void 0?fa:Mt.argument)!==null&&Pr!==void 0?Pr:Mt.expression}function at(Mt,Pr){if(Pr.expressions)return[\"expressions\",0];if(Pr.left)return[\"left\"];if(Pr.test)return[\"test\"];if(Pr.object)return[\"object\"];if(Pr.callee)return[\"callee\"];if(Pr.tag)return[\"tag\"];if(Pr.argument)return[\"argument\"];if(Pr.expression)return[\"expression\"];throw new Error(\"Unexpected node has no left side.\")}function fn(Mt){return Mt=new Set(Mt),Pr=>Mt.has(Pr==null?void 0:Pr.type)}var ce=fn([\"Line\",\"CommentLine\",\"SingleLine\",\"HashbangComment\",\"HTMLOpen\",\"HTMLClose\"]),Ve=fn([\"ExportDefaultDeclaration\",\"ExportDefaultSpecifier\",\"DeclareExportDeclaration\",\"ExportNamedDeclaration\",\"ExportAllDeclaration\"]);function ae(Mt){let Pr=Mt.getParentNode();return Mt.getName()===\"declaration\"&&Ve(Pr)?Pr:null}var Ee=fn([\"BooleanLiteral\",\"DirectiveLiteral\",\"Literal\",\"NullLiteral\",\"NumericLiteral\",\"BigIntLiteral\",\"DecimalLiteral\",\"RegExpLiteral\",\"StringLiteral\",\"TemplateLiteral\",\"TSTypeLiteral\",\"JSXText\"]);function J(Mt){return Mt.type===\"NumericLiteral\"||Mt.type===\"Literal\"&&typeof Mt.value==\"number\"}function me(Mt){return Mt.type===\"UnaryExpression\"&&(Mt.operator===\"+\"||Mt.operator===\"-\")&&J(Mt.argument)}function we(Mt){return Mt.type===\"StringLiteral\"||Mt.type===\"Literal\"&&typeof Mt.value==\"string\"}var Fe=fn([\"ObjectTypeAnnotation\",\"TSTypeLiteral\",\"TSMappedType\"]),Me=fn([\"FunctionExpression\",\"ArrowFunctionExpression\"]);function Xe(Mt){return Mt.type===\"FunctionExpression\"||Mt.type===\"ArrowFunctionExpression\"&&Mt.body.type===\"BlockStatement\"}function Dt(Mt){return Zi(Mt)&&Mt.callee.type===\"Identifier\"&&[\"async\",\"inject\",\"fakeAsync\",\"waitForAsync\"].includes(Mt.callee.name)}var Xt=fn([\"JSXElement\",\"JSXFragment\"]);function hn(Mt,Pr){if(Mt.parentParser!==\"markdown\"&&Mt.parentParser!==\"mdx\")return!1;let fa=Pr.getNode();if(!fa.expression||!Xt(fa.expression))return!1;let Pl=Pr.getParentNode();return Pl.type===\"Program\"&&Pl.body.length===1}function Jt(Mt){return Mt.kind===\"get\"||Mt.kind===\"set\"}function Hn(Mt){return Jt(Mt)||_e(Mt,Mt.value)}function Nt(Mt){return(Mt.type===\"ObjectTypeProperty\"||Mt.type===\"ObjectTypeInternalSlot\")&&Mt.value.type===\"FunctionTypeAnnotation\"&&!Mt.static&&!Hn(Mt)}function Di(Mt){return(Mt.type===\"TypeAnnotation\"||Mt.type===\"TSTypeAnnotation\")&&Mt.typeAnnotation.type===\"FunctionTypeAnnotation\"&&!Mt.static&&!_e(Mt,Mt.typeAnnotation)}var cn=fn([\"BinaryExpression\",\"LogicalExpression\",\"NGPipeExpression\"]);function Ht(Mt){return yr(Mt)||Mt.type===\"BindExpression\"&&Boolean(Mt.object)}var vi=new Set([\"AnyTypeAnnotation\",\"TSAnyKeyword\",\"NullLiteralTypeAnnotation\",\"TSNullKeyword\",\"ThisTypeAnnotation\",\"TSThisType\",\"NumberTypeAnnotation\",\"TSNumberKeyword\",\"VoidTypeAnnotation\",\"TSVoidKeyword\",\"BooleanTypeAnnotation\",\"TSBooleanKeyword\",\"BigIntTypeAnnotation\",\"TSBigIntKeyword\",\"SymbolTypeAnnotation\",\"TSSymbolKeyword\",\"StringTypeAnnotation\",\"TSStringKeyword\",\"BooleanLiteralTypeAnnotation\",\"StringLiteralTypeAnnotation\",\"BigIntLiteralTypeAnnotation\",\"NumberLiteralTypeAnnotation\",\"TSLiteralType\",\"TSTemplateLiteralType\",\"EmptyTypeAnnotation\",\"MixedTypeAnnotation\",\"TSNeverKeyword\",\"TSObjectKeyword\",\"TSUndefinedKeyword\",\"TSUnknownKeyword\"]);function Ci(Mt){return Mt?!!((Mt.type===\"GenericTypeAnnotation\"||Mt.type===\"TSTypeReference\")&&!Mt.typeParameters||vi.has(Mt.type)):!1}function ki(Mt){let Pr=/^(?:before|after)(?:Each|All)$/;return Mt.callee.type===\"Identifier\"&&Pr.test(Mt.callee.name)&&Mt.arguments.length===1}var Cr=[\"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 pn(Mt){return ne(Mt,Cr)}function ui(Mt,Pr){if(Mt.type!==\"CallExpression\")return!1;if(Mt.arguments.length===1){if(Dt(Mt)&&Pr&&ui(Pr))return Me(Mt.arguments[0]);if(ki(Mt))return Dt(Mt.arguments[0])}else if((Mt.arguments.length===2||Mt.arguments.length===3)&&(Mt.arguments[0].type===\"TemplateLiteral\"||we(Mt.arguments[0]))&&pn(Mt.callee))return Mt.arguments[2]&&!J(Mt.arguments[2])?!1:(Mt.arguments.length===2?Me(Mt.arguments[1]):Xe(Mt.arguments[1])&&Ts(Mt.arguments[1]).length<=1)||Dt(Mt.arguments[1]);return!1}var Zi=fn([\"CallExpression\",\"OptionalCallExpression\"]),yr=fn([\"MemberExpression\",\"OptionalMemberExpression\"]);function Zs(Mt){let Pr=\"expressions\";Mt.type===\"TSTemplateLiteralType\"&&(Pr=\"types\");let fa=Mt[Pr];return fa.length===0?!1:fa.every(Pl=>{if(Ua(Pl))return!1;if(Pl.type===\"Identifier\"||Pl.type===\"ThisExpression\")return!0;if(yr(Pl)){let Wl=Pl;for(;yr(Wl);)if(Wl.property.type!==\"Identifier\"&&Wl.property.type!==\"Literal\"&&Wl.property.type!==\"StringLiteral\"&&Wl.property.type!==\"NumericLiteral\"||(Wl=Wl.object,Ua(Wl)))return!1;return Wl.type===\"Identifier\"||Wl.type===\"ThisExpression\"}return!1})}function hi(Mt,Pr){return Mt===\"+\"||Mt===\"-\"?Mt+Pr:Pr}function An(Mt,Pr){let fa=oe(Pr),Pl=M(Mt,ye(Pr));return Pl!==!1&&Mt.slice(fa,fa+2)===\"/*\"&&Mt.slice(Pl,Pl+2)===\"*/\"}function Fi(Mt,Pr){return Xt(Pr)?ol(Pr):Ua(Pr,Bo.Leading,fa=>G(Mt,ye(fa)))}function Yi(Mt,Pr){return Pr.parser!==\"json\"&&we(Mt.key)&&ir(Mt.key).slice(1,-1)===Mt.key.value&&(R(Mt.key.value)&&!(Pr.parser===\"babel-ts\"&&Mt.type===\"ClassProperty\"||Pr.parser===\"typescript\"&&Mt.type===\"PropertyDefinition\")||Fr(Mt.key.value)&&String(Number(Mt.key.value))===Mt.key.value&&(Pr.parser===\"babel\"||Pr.parser===\"acorn\"||Pr.parser===\"espree\"||Pr.parser===\"meriyah\"||Pr.parser===\"__babel_estree\"))}function Fr(Mt){return/^(?:\\d+|\\d+\\.\\d+)$/.test(Mt)}function as(Mt,Pr){let fa=/^[fx]?(?:describe|it|test)$/;return Pr.type===\"TaggedTemplateExpression\"&&Pr.quasi===Mt&&Pr.tag.type===\"MemberExpression\"&&Pr.tag.property.type===\"Identifier\"&&Pr.tag.property.name===\"each\"&&(Pr.tag.object.type===\"Identifier\"&&fa.test(Pr.tag.object.name)||Pr.tag.object.type===\"MemberExpression\"&&Pr.tag.object.property.type===\"Identifier\"&&(Pr.tag.object.property.name===\"only\"||Pr.tag.object.property.name===\"skip\")&&Pr.tag.object.object.type===\"Identifier\"&&fa.test(Pr.tag.object.object.name))}function Ds(Mt){return Mt.quasis.some(Pr=>Pr.value.raw.includes(`\n`))}function ta(Mt,Pr){return(Mt.type===\"TemplateLiteral\"&&Ds(Mt)||Mt.type===\"TaggedTemplateExpression\"&&Ds(Mt.quasi))&&!G(Pr,oe(Mt),{backwards:!0})}function ll(Mt){if(!Ua(Mt))return!1;let Pr=Y(cr(Mt,Bo.Dangling));return Pr&&!ge(Pr)}function Bn(Mt){if(Mt.length<=1)return!1;let Pr=0;for(let fa of Mt)if(Me(fa)){if(Pr+=1,Pr>1)return!0}else if(Zi(fa)){for(let Pl of fa.arguments)if(Me(Pl))return!0}return!1}function Zo(Mt){let Pr=Mt.getValue(),fa=Mt.getParentNode();return Zi(Pr)&&Zi(fa)&&fa.callee===Pr&&Pr.arguments.length>fa.arguments.length&&fa.arguments.length>0}function Ta(Mt,Pr){if(Pr>=2)return!1;let fa=Ec=>Ta(Ec,Pr+1),Pl=Mt.type===\"Literal\"&&\"regex\"in Mt&&Mt.regex.pattern||Mt.type===\"RegExpLiteral\"&&Mt.pattern;if(Pl&&Z(Pl)>5)return!1;if(Mt.type===\"Literal\"||Mt.type===\"BigIntLiteral\"||Mt.type===\"DecimalLiteral\"||Mt.type===\"BooleanLiteral\"||Mt.type===\"NullLiteral\"||Mt.type===\"NumericLiteral\"||Mt.type===\"RegExpLiteral\"||Mt.type===\"StringLiteral\"||Mt.type===\"Identifier\"||Mt.type===\"ThisExpression\"||Mt.type===\"Super\"||Mt.type===\"PrivateName\"||Mt.type===\"PrivateIdentifier\"||Mt.type===\"ArgumentPlaceholder\"||Mt.type===\"Import\")return!0;if(Mt.type===\"TemplateLiteral\")return Mt.quasis.every(Ec=>!Ec.value.raw.includes(`\n`))&&Mt.expressions.every(fa);if(Mt.type===\"ObjectExpression\")return Mt.properties.every(Ec=>!Ec.computed&&(Ec.shorthand||Ec.value&&fa(Ec.value)));if(Mt.type===\"ArrayExpression\")return Mt.elements.every(Ec=>Ec===null||fa(Ec));if(uh(Mt))return(Mt.type===\"ImportExpression\"||Ta(Mt.callee,Pr))&&dc(Mt).every(fa);if(yr(Mt))return Ta(Mt.object,Pr)&&Ta(Mt.property,Pr);let Wl={\"!\":!0,\"-\":!0,\"+\":!0,\"~\":!0};if(Mt.type===\"UnaryExpression\"&&Wl[Mt.operator])return Ta(Mt.argument,Pr);let Ep={\"++\":!0,\"--\":!0};return Mt.type===\"UpdateExpression\"&&Ep[Mt.operator]?Ta(Mt.argument,Pr):Mt.type===\"TSNonNullExpression\"?Ta(Mt.expression,Pr):!1}function ir(Mt){var Pr,fa;return(Pr=(fa=Mt.extra)===null||fa===void 0?void 0:fa.raw)!==null&&Pr!==void 0?Pr:Mt.raw}function Sn(Mt){return Mt}function ur(Mt){return Mt.filepath&&/\\.tsx$/i.test(Mt.filepath)}function pi(Mt){let Pr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:\"es5\";return Mt.trailingComma===\"es5\"&&Pr===\"es5\"||Mt.trailingComma===\"all\"&&(Pr===\"all\"||Pr===\"es5\")}function pr(Mt,Pr){switch(Mt.type){case\"BinaryExpression\":case\"LogicalExpression\":case\"AssignmentExpression\":case\"NGPipeExpression\":return pr(Mt.left,Pr);case\"MemberExpression\":case\"OptionalMemberExpression\":return pr(Mt.object,Pr);case\"TaggedTemplateExpression\":return Mt.tag.type===\"FunctionExpression\"?!1:pr(Mt.tag,Pr);case\"CallExpression\":case\"OptionalCallExpression\":return Mt.callee.type===\"FunctionExpression\"?!1:pr(Mt.callee,Pr);case\"ConditionalExpression\":return pr(Mt.test,Pr);case\"UpdateExpression\":return!Mt.prefix&&pr(Mt.argument,Pr);case\"BindExpression\":return Mt.object&&pr(Mt.object,Pr);case\"SequenceExpression\":return pr(Mt.expressions[0],Pr);case\"TSSatisfiesExpression\":case\"TSAsExpression\":case\"TSNonNullExpression\":return pr(Mt.expression,Pr);default:return Pr(Mt)}}var yo={\"==\":!0,\"!=\":!0,\"===\":!0,\"!==\":!0},Gs={\"*\":!0,\"/\":!0,\"%\":!0},Er={\">>\":!0,\">>>\":!0,\"<<\":!0};function Ne(Mt,Pr){return!(er(Pr)!==er(Mt)||Mt===\"**\"||yo[Mt]&&yo[Pr]||Pr===\"%\"&&Gs[Mt]||Mt===\"%\"&&Gs[Pr]||Pr!==Mt&&Gs[Pr]&&Gs[Mt]||Er[Mt]&&Er[Pr])}var Vn=new Map([[\"|>\"],[\"??\"],[\"||\"],[\"&&\"],[\"|\"],[\"^\"],[\"&\"],[\"==\",\"===\",\"!=\",\"!==\"],[\"<\",\">\",\"<=\",\">=\",\"in\",\"instanceof\"],[\">>\",\"<<\",\">>>\"],[\"+\",\"-\"],[\"*\",\"/\",\"%\"],[\"**\"]].flatMap((Mt,Pr)=>Mt.map(fa=>[fa,Pr])));function er(Mt){return Vn.get(Mt)}function _s(Mt){return Boolean(Er[Mt])||Mt===\"|\"||Mt===\"^\"||Mt===\"&\"}function js(Mt){var Pr;if(Mt.rest)return!0;let fa=Ts(Mt);return((Pr=Y(fa))===null||Pr===void 0?void 0:Pr.type)===\"RestElement\"}var qo=new WeakMap;function Ts(Mt){if(qo.has(Mt))return qo.get(Mt);let Pr=[];return Mt.this&&Pr.push(Mt.this),Array.isArray(Mt.parameters)?Pr.push(...Mt.parameters):Array.isArray(Mt.params)&&Pr.push(...Mt.params),Mt.rest&&Pr.push(Mt.rest),qo.set(Mt,Pr),Pr}function Dc(Mt,Pr){let fa=Mt.getValue(),Pl=0,Wl=Ep=>Pr(Ep,Pl++);fa.this&&Mt.call(Wl,\"this\"),Array.isArray(fa.parameters)?Mt.each(Wl,\"parameters\"):Array.isArray(fa.params)&&Mt.each(Wl,\"params\"),fa.rest&&Mt.call(Wl,\"rest\")}var No=new WeakMap;function dc(Mt){if(No.has(Mt))return No.get(Mt);let Pr=Mt.arguments;return Mt.type===\"ImportExpression\"&&(Pr=[Mt.source],Mt.attributes&&Pr.push(Mt.attributes)),No.set(Mt,Pr),Pr}function To(Mt,Pr){let fa=Mt.getValue();fa.type===\"ImportExpression\"?(Mt.call(Pl=>Pr(Pl,0),\"source\"),fa.attributes&&Mt.call(Pl=>Pr(Pl,1),\"attributes\")):Mt.each(Pr,\"arguments\")}function Va(Mt){return Mt.value.trim()===\"prettier-ignore\"&&!Mt.unignore}function ol(Mt){return Mt&&(Mt.prettierIgnore||Ua(Mt,Bo.PrettierIgnore))}function Lu(Mt){let Pr=Mt.getValue();return ol(Pr)}var Bo={Leading:1<<1,Trailing:1<<2,Dangling:1<<3,Block:1<<4,Line:1<<5,PrettierIgnore:1<<6,First:1<<7,Last:1<<8},il=(Mt,Pr)=>{if(typeof Mt==\"function\"&&(Pr=Mt,Mt=0),Mt||Pr)return(fa,Pl,Wl)=>!(Mt&Bo.Leading&&!fa.leading||Mt&Bo.Trailing&&!fa.trailing||Mt&Bo.Dangling&&(fa.leading||fa.trailing)||Mt&Bo.Block&&!ge(fa)||Mt&Bo.Line&&!ce(fa)||Mt&Bo.First&&Pl!==0||Mt&Bo.Last&&Pl!==Wl.length-1||Mt&Bo.PrettierIgnore&&!Va(fa)||Pr&&!Pr(fa))};function Ua(Mt,Pr,fa){if(!H(Mt==null?void 0:Mt.comments))return!1;let Pl=il(Pr,fa);return Pl?Mt.comments.some(Pl):!0}function cr(Mt,Pr,fa){if(!Array.isArray(Mt==null?void 0:Mt.comments))return[];let Pl=il(Pr,fa);return Pl?Mt.comments.filter(Pl):Mt.comments}var qp=(Mt,Pr)=>{let{originalText:fa}=Pr;return $(fa,ye(Mt))};function uh(Mt){return Zi(Mt)||Mt.type===\"NewExpression\"||Mt.type===\"ImportExpression\"}function Il(Mt){return Mt&&(Mt.type===\"ObjectProperty\"||Mt.type===\"Property\"&&!Mt.method&&Mt.kind===\"init\")}function Fl(Mt){return Boolean(Mt.__isUsingHackPipeline)}var ju=Symbol(\"ifWithoutBlockAndSameLineComment\");function Gp(Mt){return Mt.type===\"TSAsExpression\"||Mt.type===\"TSSatisfiesExpression\"}ee.exports={getFunctionParameters:Ts,iterateFunctionParametersPath:Dc,getCallArguments:dc,iterateCallArgumentsPath:To,hasRestParameter:js,getLeftSide:pt,getLeftSidePathName:at,getParentExportDeclaration:ae,getTypeScriptMappedTypeModifier:hi,hasFlowAnnotationComment:Ae,hasFlowShorthandAnnotationComment:j,hasLeadingOwnLineComment:Fi,hasNakedLeftSide:je,hasNode:rt,hasIgnoreComment:Lu,hasNodeIgnoreComment:ol,identity:Sn,isBinaryish:cn,isCallLikeExpression:uh,isEnabledHackPipeline:Fl,isLineComment:ce,isPrettierIgnoreComment:Va,isCallExpression:Zi,isMemberExpression:yr,isExportDeclaration:Ve,isFlowAnnotationComment:An,isFunctionCompositionArgs:Bn,isFunctionNotation:Hn,isFunctionOrArrowExpression:Me,isGetterOrSetter:Jt,isJestEachTemplateLiteral:as,isJsxNode:Xt,isLiteral:Ee,isLongCurriedCallExpression:Zo,isSimpleCallArgument:Ta,isMemberish:Ht,isNumericLiteral:J,isSignedNumericLiteral:me,isObjectProperty:Il,isObjectType:Fe,isObjectTypePropertyAFunction:Nt,isSimpleType:Ci,isSimpleNumber:Fr,isSimpleTemplateLiteral:Zs,isStringLiteral:we,isStringPropSafeToUnquote:Yi,isTemplateOnItsOwnLine:ta,isTestCall:ui,isTheOnlyJsxElementInMarkdown:hn,isTSXFile:ur,isTypeAnnotationAFunction:Di,isNextLineEmpty:qp,needsHardlineAfterDanglingComment:ll,rawText:ir,shouldPrintComma:pi,isBitwiseOperator:_s,shouldFlatten:Ne,startsWithNoLookaheadToken:pr,getPrecedence:er,hasComment:Ua,getComments:cr,CommentCheckFlags:Bo,markerForIfWithoutBlockAndSameLineComment:ju,isTSTypeExpression:Gp}}}),Kg=Ct({\"src/language-js/print/template-literal.js\"(z,ee){Un();var R=qu(),{getStringWidth:Y,getIndentSize:G}=sn(),{builders:{join:M,hardline:H,softline:$,group:Z,indent:oe,align:ye,lineSuffixBoundary:_e,addAlignmentToDoc:ge},printer:{printDocToString:ne},utils:{mapDoc:le}}=Ia(),{isBinaryish:xe,isJestEachTemplateLiteral:tt,isSimpleTemplateLiteral:j,hasComment:Ae,isMemberExpression:rt,isTSTypeExpression:je}=uu();function pt(Ee,J,me){let we=Ee.getValue();if(we.type===\"TemplateLiteral\"&&tt(we,Ee.getParentNode())){let Xt=at(Ee,me,J);if(Xt)return Xt}let Fe=\"expressions\";we.type===\"TSTemplateLiteralType\"&&(Fe=\"types\");let Me=[],Xe=Ee.map(J,Fe),Dt=j(we);return Dt&&(Xe=Xe.map(Xt=>ne(Xt,Object.assign(Object.assign({},me),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),Me.push(_e,\"`\"),Ee.each(Xt=>{let hn=Xt.getName();if(Me.push(J()),hn<Xe.length){let{tabWidth:Jt}=me,Hn=Xt.getValue(),Nt=G(Hn.value.raw,Jt),Di=Xe[hn];if(!Dt){let Ht=we[Fe][hn];(Ae(Ht)||rt(Ht)||Ht.type===\"ConditionalExpression\"||Ht.type===\"SequenceExpression\"||je(Ht)||xe(Ht))&&(Di=[oe([$,Di]),$])}let cn=Nt===0&&Hn.value.raw.endsWith(`\n`)?ye(Number.NEGATIVE_INFINITY,Di):ge(Di,Nt,Jt);Me.push(Z([\"${\",cn,_e,\"}\"]))}},\"quasis\"),Me.push(\"`\"),Me}function at(Ee,J,me){let we=Ee.getNode(),Fe=we.quasis[0].value.raw.trim().split(/\\s*\\|\\s*/);if(Fe.length>1||Fe.some(Me=>Me.length>0)){J.__inJestEach=!0;let Me=Ee.map(me,\"expressions\");J.__inJestEach=!1;let Xe=[],Dt=Me.map(Nt=>\"${\"+ne(Nt,Object.assign(Object.assign({},J),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:\"lf\"})).formatted+\"}\"),Xt=[{hasLineBreak:!1,cells:[]}];for(let Nt=1;Nt<we.quasis.length;Nt++){let Di=R(Xt),cn=Dt[Nt-1];Di.cells.push(cn),cn.includes(`\n`)&&(Di.hasLineBreak=!0),we.quasis[Nt].value.raw.includes(`\n`)&&Xt.push({hasLineBreak:!1,cells:[]})}let hn=Math.max(Fe.length,...Xt.map(Nt=>Nt.cells.length)),Jt=Array.from({length:hn}).fill(0),Hn=[{cells:Fe},...Xt.filter(Nt=>Nt.cells.length>0)];for(let{cells:Nt}of Hn.filter(Di=>!Di.hasLineBreak))for(let[Di,cn]of Nt.entries())Jt[Di]=Math.max(Jt[Di],Y(cn));return Xe.push(_e,\"`\",oe([H,M(H,Hn.map(Nt=>M(\" | \",Nt.cells.map((Di,cn)=>Nt.hasLineBreak?Di:Di+\" \".repeat(Jt[cn]-Y(Di))))))]),H,\"`\"),Xe}}function fn(Ee,J){let me=Ee.getValue(),we=J();return Ae(me)&&(we=Z([oe([$,we]),$])),[\"${\",we,_e,\"}\"]}function ce(Ee,J){return Ee.map(me=>fn(me,J),\"expressions\")}function Ve(Ee,J){return le(Ee,me=>typeof me==\"string\"?J?me.replace(/(\\\\*)`/g,\"$1$1\\\\`\"):ae(me):me)}function ae(Ee){return Ee.replace(/([\\\\`]|\\${)/g,\"\\\\$1\")}ee.exports={printTemplateLiteral:pt,printTemplateExpressions:ce,escapeTemplateCharacters:Ve,uncookTemplateElementValue:ae}}}),fy=Ct({\"src/language-js/embed/markdown.js\"(z,ee){Un();var{builders:{indent:R,softline:Y,literalline:G,dedentToRoot:M}}=Ia(),{escapeTemplateCharacters:H}=Kg();function $(oe,ye,_e){let ge=oe.getValue().quasis[0].value.raw.replace(/((?:\\\\\\\\)*)\\\\`/g,(tt,j)=>\"\\\\\".repeat(j.length/2)+\"`\"),ne=Z(ge),le=ne!==\"\";le&&(ge=ge.replace(new RegExp(`^${ne}`,\"gm\"),\"\"));let xe=H(_e(ge,{parser:\"markdown\",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return[\"`\",le?R([Y,xe]):[G,M(xe)],Y,\"`\"]}function Z(oe){let ye=oe.match(/^([^\\S\\n]*)\\S/m);return ye===null?\"\":ye[1]}ee.exports=$}}),_y=Ct({\"src/language-js/embed/css.js\"(z,ee){Un();var{isNonEmptyArray:R}=sn(),{builders:{indent:Y,hardline:G,softline:M},utils:{mapDoc:H,replaceEndOfLine:$,cleanDoc:Z}}=Ia(),{printTemplateExpressions:oe}=Kg();function ye(ne,le,xe){let tt=ne.getValue(),j=tt.quasis.map(at=>at.value.raw),Ae=0,rt=j.reduce((at,fn,ce)=>ce===0?fn:at+\"@prettier-placeholder-\"+Ae+++\"-id\"+fn,\"\"),je=xe(rt,{parser:\"scss\"},{stripTrailingHardline:!0}),pt=oe(ne,le);return _e(je,tt,pt)}function _e(ne,le,xe){if(le.quasis.length===1&&!le.quasis[0].value.raw.trim())return\"``\";let tt=ge(ne,xe);if(!tt)throw new Error(\"Couldn't insert all the expressions\");return[\"`\",Y([G,tt]),M,\"`\"]}function ge(ne,le){if(!R(le))return ne;let xe=0,tt=H(Z(ne),j=>typeof j!=\"string\"||!j.includes(\"@prettier-placeholder\")?j:j.split(/@prettier-placeholder-(\\d+)-id/).map((Ae,rt)=>rt%2===0?$(Ae):(xe++,le[Ae])));return le.length===xe?tt:null}ee.exports=ye}}),Ib=Ct({\"src/language-js/embed/graphql.js\"(z,ee){Un();var{builders:{indent:R,join:Y,hardline:G}}=Ia(),{escapeTemplateCharacters:M,printTemplateExpressions:H}=Kg();function $(oe,ye,_e){let ge=oe.getValue(),ne=ge.quasis.length;if(ne===1&&ge.quasis[0].value.raw.trim()===\"\")return\"``\";let le=H(oe,ye),xe=[];for(let tt=0;tt<ne;tt++){let j=ge.quasis[tt],Ae=tt===0,rt=tt===ne-1,je=j.value.cooked,pt=je.split(`\n`),at=pt.length,fn=le[tt],ce=at>2&&pt[0].trim()===\"\"&&pt[1].trim()===\"\",Ve=at>2&&pt[at-1].trim()===\"\"&&pt[at-2].trim()===\"\",ae=pt.every(J=>/^\\s*(?:#[^\\n\\r]*)?$/.test(J));if(!rt&&/#[^\\n\\r]*$/.test(pt[at-1]))return null;let Ee=null;ae?Ee=Z(pt):Ee=_e(je,{parser:\"graphql\"},{stripTrailingHardline:!0}),Ee?(Ee=M(Ee,!1),!Ae&&ce&&xe.push(\"\"),xe.push(Ee),!rt&&Ve&&xe.push(\"\")):!Ae&&!rt&&ce&&xe.push(\"\"),fn&&xe.push(fn)}return[\"`\",R([G,Y(G,xe)]),G,\"`\"]}function Z(oe){let ye=[],_e=!1,ge=oe.map(ne=>ne.trim());for(let[ne,le]of ge.entries())le!==\"\"&&(ge[ne-1]===\"\"&&_e?ye.push([G,le]):ye.push(le),_e=!0);return ye.length===0?null:Y(G,ye)}ee.exports=$}}),Fb=Ct({\"src/language-js/embed/html.js\"(z,ee){Un();var{builders:{indent:R,line:Y,hardline:G,group:M},utils:{mapDoc:H}}=Ia(),{printTemplateExpressions:$,uncookTemplateElementValue:Z}=Kg(),oe=0;function ye(_e,ge,ne,le,xe){let{parser:tt}=xe,j=_e.getValue(),Ae=oe;oe=oe+1>>>0;let rt=me=>`PRETTIER_HTML_PLACEHOLDER_${me}_${Ae}_IN_JS`,je=j.quasis.map((me,we,Fe)=>we===Fe.length-1?me.value.cooked:me.value.cooked+rt(we)).join(\"\"),pt=$(_e,ge);if(pt.length===0&&je.trim().length===0)return\"``\";let at=new RegExp(rt(\"(\\\\d+)\"),\"g\"),fn=0,ce=ne(je,{parser:tt,__onHtmlRoot(me){fn=me.children.length}},{stripTrailingHardline:!0}),Ve=H(ce,me=>{if(typeof me!=\"string\")return me;let we=[],Fe=me.split(at);for(let Me=0;Me<Fe.length;Me++){let Xe=Fe[Me];if(Me%2===0){Xe&&(Xe=Z(Xe),le.__embeddedInHtml&&(Xe=Xe.replace(/<\\/(script)\\b/gi,\"<\\\\/$1\")),we.push(Xe));continue}let Dt=Number(Xe);we.push(pt[Dt])}return we}),ae=/^\\s/.test(je)?\" \":\"\",Ee=/\\s$/.test(je)?\" \":\"\",J=le.htmlWhitespaceSensitivity===\"ignore\"?G:ae&&Ee?Y:null;return M(J?[\"`\",R([J,M(Ve)]),J,\"`\"]:[\"`\",ae,fn>1?R(M(Ve)):M(Ve),Ee,\"`\"])}ee.exports=ye}}),Pb=Ct({\"src/language-js/embed.js\"(z,ee){Un();var{hasComment:R,CommentCheckFlags:Y,isObjectProperty:G}=uu(),M=fy(),H=_y(),$=Ib(),Z=Fb();function oe(ce){if(ge(ce)||tt(ce)||j(ce)||ne(ce))return\"css\";if(je(ce))return\"graphql\";if(at(ce))return\"html\";if(le(ce))return\"angular\";if(_e(ce))return\"markdown\"}function ye(ce,Ve,ae,Ee){let J=ce.getValue();if(J.type!==\"TemplateLiteral\"||fn(J))return;let me=oe(ce);if(me){if(me===\"markdown\")return M(ce,Ve,ae);if(me===\"css\")return H(ce,Ve,ae);if(me===\"graphql\")return $(ce,Ve,ae);if(me===\"html\"||me===\"angular\")return Z(ce,Ve,ae,Ee,{parser:me})}}function _e(ce){let Ve=ce.getValue(),ae=ce.getParentNode();return ae&&ae.type===\"TaggedTemplateExpression\"&&Ve.quasis.length===1&&ae.tag.type===\"Identifier\"&&(ae.tag.name===\"md\"||ae.tag.name===\"markdown\")}function ge(ce){let Ve=ce.getValue(),ae=ce.getParentNode(),Ee=ce.getParentNode(1);return Ee&&Ve.quasis&&ae.type===\"JSXExpressionContainer\"&&Ee.type===\"JSXElement\"&&Ee.openingElement.name.name===\"style\"&&Ee.openingElement.attributes.some(J=>J.name.name===\"jsx\")||ae&&ae.type===\"TaggedTemplateExpression\"&&ae.tag.type===\"Identifier\"&&ae.tag.name===\"css\"||ae&&ae.type===\"TaggedTemplateExpression\"&&ae.tag.type===\"MemberExpression\"&&ae.tag.object.name===\"css\"&&(ae.tag.property.name===\"global\"||ae.tag.property.name===\"resolve\")}function ne(ce){return ce.match(Ve=>Ve.type===\"TemplateLiteral\",(Ve,ae)=>Ve.type===\"ArrayExpression\"&&ae===\"elements\",(Ve,ae)=>G(Ve)&&Ve.key.type===\"Identifier\"&&Ve.key.name===\"styles\"&&ae===\"value\",...xe)}function le(ce){return ce.match(Ve=>Ve.type===\"TemplateLiteral\",(Ve,ae)=>G(Ve)&&Ve.key.type===\"Identifier\"&&Ve.key.name===\"template\"&&ae===\"value\",...xe)}var xe=[(ce,Ve)=>ce.type===\"ObjectExpression\"&&Ve===\"properties\",(ce,Ve)=>ce.type===\"CallExpression\"&&ce.callee.type===\"Identifier\"&&ce.callee.name===\"Component\"&&Ve===\"arguments\",(ce,Ve)=>ce.type===\"Decorator\"&&Ve===\"expression\"];function tt(ce){let Ve=ce.getParentNode();if(!Ve||Ve.type!==\"TaggedTemplateExpression\")return!1;let ae=Ve.tag.type===\"ParenthesizedExpression\"?Ve.tag.expression:Ve.tag;switch(ae.type){case\"MemberExpression\":return Ae(ae.object)||rt(ae);case\"CallExpression\":return Ae(ae.callee)||ae.callee.type===\"MemberExpression\"&&(ae.callee.object.type===\"MemberExpression\"&&(Ae(ae.callee.object.object)||rt(ae.callee.object))||ae.callee.object.type===\"CallExpression\"&&Ae(ae.callee.object.callee));case\"Identifier\":return ae.name===\"css\";default:return!1}}function j(ce){let Ve=ce.getParentNode(),ae=ce.getParentNode(1);return ae&&Ve.type===\"JSXExpressionContainer\"&&ae.type===\"JSXAttribute\"&&ae.name.type===\"JSXIdentifier\"&&ae.name.name===\"css\"}function Ae(ce){return ce.type===\"Identifier\"&&ce.name===\"styled\"}function rt(ce){return/^[A-Z]/.test(ce.object.name)&&ce.property.name===\"extend\"}function je(ce){let Ve=ce.getValue(),ae=ce.getParentNode();return pt(Ve,\"GraphQL\")||ae&&(ae.type===\"TaggedTemplateExpression\"&&(ae.tag.type===\"MemberExpression\"&&ae.tag.object.name===\"graphql\"&&ae.tag.property.name===\"experimental\"||ae.tag.type===\"Identifier\"&&(ae.tag.name===\"gql\"||ae.tag.name===\"graphql\"))||ae.type===\"CallExpression\"&&ae.callee.type===\"Identifier\"&&ae.callee.name===\"graphql\")}function pt(ce,Ve){return R(ce,Y.Block|Y.Leading,ae=>{let{value:Ee}=ae;return Ee===` ${Ve} `})}function at(ce){return pt(ce.getValue(),\"HTML\")||ce.match(Ve=>Ve.type===\"TemplateLiteral\",(Ve,ae)=>Ve.type===\"TaggedTemplateExpression\"&&Ve.tag.type===\"Identifier\"&&Ve.tag.name===\"html\"&&ae===\"quasi\")}function fn(ce){let{quasis:Ve}=ce;return Ve.some(ae=>{let{value:{cooked:Ee}}=ae;return Ee===null})}ee.exports=ye}}),Ob=Ct({\"src/language-js/clean.js\"(z,ee){Un();var R=ng(),Y=new Set([\"range\",\"raw\",\"comments\",\"leadingComments\",\"trailingComments\",\"innerComments\",\"extra\",\"start\",\"end\",\"loc\",\"flags\",\"errors\",\"tokens\"]),G=H=>{for(let $ of H.quasis)delete $.value};function M(H,$,Z){if(H.type===\"Program\"&&delete $.sourceType,(H.type===\"BigIntLiteral\"||H.type===\"BigIntLiteralTypeAnnotation\")&&$.value&&($.value=$.value.toLowerCase()),(H.type===\"BigIntLiteral\"||H.type===\"Literal\")&&$.bigint&&($.bigint=$.bigint.toLowerCase()),H.type===\"DecimalLiteral\"&&($.value=Number($.value)),H.type===\"Literal\"&&$.decimal&&($.decimal=Number($.decimal)),H.type===\"EmptyStatement\"||H.type===\"JSXText\"||H.type===\"JSXExpressionContainer\"&&(H.expression.type===\"Literal\"||H.expression.type===\"StringLiteral\")&&H.expression.value===\" \")return null;if((H.type===\"Property\"||H.type===\"ObjectProperty\"||H.type===\"MethodDefinition\"||H.type===\"ClassProperty\"||H.type===\"ClassMethod\"||H.type===\"PropertyDefinition\"||H.type===\"TSDeclareMethod\"||H.type===\"TSPropertySignature\"||H.type===\"ObjectTypeProperty\")&&typeof H.key==\"object\"&&H.key&&(H.key.type===\"Literal\"||H.key.type===\"NumericLiteral\"||H.key.type===\"StringLiteral\"||H.key.type===\"Identifier\")&&delete $.key,H.type===\"JSXElement\"&&H.openingElement.name.name===\"style\"&&H.openingElement.attributes.some(_e=>_e.name.name===\"jsx\"))for(let{type:_e,expression:ge}of $.children)_e===\"JSXExpressionContainer\"&&ge.type===\"TemplateLiteral\"&&G(ge);H.type===\"JSXAttribute\"&&H.name.name===\"css\"&&H.value.type===\"JSXExpressionContainer\"&&H.value.expression.type===\"TemplateLiteral\"&&G($.value.expression),H.type===\"JSXAttribute\"&&H.value&&H.value.type===\"Literal\"&&/[\"']|&quot;|&apos;/.test(H.value.value)&&($.value.value=$.value.value.replace(/[\"']|&quot;|&apos;/g,'\"'));let oe=H.expression||H.callee;if(H.type===\"Decorator\"&&oe.type===\"CallExpression\"&&oe.callee.name===\"Component\"&&oe.arguments.length===1){let _e=H.expression.arguments[0].properties;for(let[ge,ne]of $.expression.arguments[0].properties.entries())switch(_e[ge].key.name){case\"styles\":ne.value.type===\"ArrayExpression\"&&G(ne.value.elements[0]);break;case\"template\":ne.value.type===\"TemplateLiteral\"&&G(ne.value);break}}if(H.type===\"TaggedTemplateExpression\"&&(H.tag.type===\"MemberExpression\"||H.tag.type===\"Identifier\"&&(H.tag.name===\"gql\"||H.tag.name===\"graphql\"||H.tag.name===\"css\"||H.tag.name===\"md\"||H.tag.name===\"markdown\"||H.tag.name===\"html\")||H.tag.type===\"CallExpression\")&&G($.quasi),H.type===\"TemplateLiteral\"){var ye;(((ye=H.leadingComments)===null||ye===void 0?void 0:ye.some(_e=>R(_e)&&[\"GraphQL\",\"HTML\"].some(ge=>_e.value===` ${ge} `)))||Z.type===\"CallExpression\"&&Z.callee.name===\"graphql\"||!H.leadingComments)&&G($)}if(H.type===\"InterpreterDirective\"&&($.value=$.value.trimEnd()),(H.type===\"TSIntersectionType\"||H.type===\"TSUnionType\")&&H.types.length===1)return $.types[0]}M.ignoredProperties=Y,ee.exports=M}}),Nm={};bo(Nm,{EOL:()=>Zt,arch:()=>Pt,cpus:()=>En,default:()=>qn,endianness:()=>ig,freemem:()=>A0,getNetworkInterfaces:()=>yt,hostname:()=>Im,loadavg:()=>Fm,networkInterfaces:()=>Vt,platform:()=>Gt,release:()=>Wt,tmpDir:()=>St,tmpdir:()=>ft,totalmem:()=>di,type:()=>Ot,uptime:()=>Pm});function ig(){if(typeof un>\"u\"){var z=new ArrayBuffer(2),ee=new Uint8Array(z),R=new Uint16Array(z);if(ee[0]=1,ee[1]=2,R[0]===258)un=\"BE\";else if(R[0]===513)un=\"LE\";else throw new Error(\"unable to figure out endianess\")}return un}function Im(){return typeof globalThis.location<\"u\"?globalThis.location.hostname:\"\"}function Fm(){return[]}function Pm(){return 0}function A0(){return Number.MAX_VALUE}function di(){return Number.MAX_VALUE}function En(){return[]}function Ot(){return\"Browser\"}function Wt(){return typeof globalThis.navigator<\"u\"?globalThis.navigator.appVersion:\"\"}function Vt(){}function yt(){}function Pt(){return\"javascript\"}function Gt(){return\"browser\"}function St(){return\"/tmp\"}var un,ft,Zt,qn,On=os({\"node-modules-polyfills:os\"(){Un(),ft=St,Zt=`\n`,qn={EOL:Zt,tmpdir:ft,tmpDir:St,networkInterfaces:Vt,getNetworkInterfaces:yt,release:Wt,type:Ot,cpus:En,totalmem:di,freemem:A0,uptime:Pm,loadavg:Fm,hostname:Im,endianness:ig}}}),Ri=Ct({\"node-modules-polyfills-commonjs:os\"(z,ee){Un();var R=(On(),Ha(Nm));if(R&&R.default){ee.exports=R.default;for(let Y in R)ee.exports[Y]=R[Y]}else R&&(ee.exports=R)}}),Gi=Ct({\"node_modules/detect-newline/index.js\"(z,ee){Un();var R=Y=>{if(typeof Y!=\"string\")throw new TypeError(\"Expected a string\");let G=Y.match(/(?:\\r?\\n)/g)||[];if(G.length===0)return;let M=G.filter($=>$===`\\r\n`).length,H=G.length-M;return M>H?`\\r\n`:`\n`};ee.exports=R,ee.exports.graceful=Y=>typeof Y==\"string\"&&R(Y)||`\n`}}),Ti=Ct({\"node_modules/jest-docblock/build/index.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0}),z.extract=ne,z.parse=xe,z.parseWithComments=tt,z.print=j,z.strip=le;function ee(){let rt=Ri();return ee=function(){return rt},rt}function R(){let rt=Y(Gi());return R=function(){return rt},rt}function Y(rt){return rt&&rt.__esModule?rt:{default:rt}}var G=/\\*\\/$/,M=/^\\/\\*\\*?/,H=/^\\s*(\\/\\*\\*?(.|\\r?\\n)*?\\*\\/)/,$=/(^|\\s+)\\/\\/([^\\r\\n]*)/g,Z=/^(\\r?\\n)+/,oe=/(?:^|\\r?\\n) *(@[^\\r\\n]*?) *\\r?\\n *(?![^@\\r\\n]*\\/\\/[^]*)([^@\\r\\n\\s][^@\\r\\n]+?) *\\r?\\n/g,ye=/(?:^|\\r?\\n) *@(\\S+) *([^\\r\\n]*)/g,_e=/(\\r?\\n|^) *\\* ?/g,ge=[];function ne(rt){let je=rt.match(H);return je?je[0].trimLeft():\"\"}function le(rt){let je=rt.match(H);return je&&je[0]?rt.substring(je[0].length):rt}function xe(rt){return tt(rt).pragmas}function tt(rt){let je=(0,R().default)(rt)||ee().EOL;rt=rt.replace(M,\"\").replace(G,\"\").replace(_e,\"$1\");let pt=\"\";for(;pt!==rt;)pt=rt,rt=rt.replace(oe,`${je}$1 $2${je}`);rt=rt.replace(Z,\"\").trimRight();let at=Object.create(null),fn=rt.replace(ye,\"\").replace(Z,\"\").trimRight(),ce;for(;ce=ye.exec(rt);){let Ve=ce[2].replace($,\"\");typeof at[ce[1]]==\"string\"||Array.isArray(at[ce[1]])?at[ce[1]]=ge.concat(at[ce[1]],Ve):at[ce[1]]=Ve}return{comments:fn,pragmas:at}}function j(rt){let{comments:je=\"\",pragmas:pt={}}=rt,at=(0,R().default)(je)||ee().EOL,fn=\"/**\",ce=\" *\",Ve=\" */\",ae=Object.keys(pt),Ee=ae.map(me=>Ae(me,pt[me])).reduce((me,we)=>me.concat(we),[]).map(me=>`${ce} ${me}${at}`).join(\"\");if(!je){if(ae.length===0)return\"\";if(ae.length===1&&!Array.isArray(pt[ae[0]])){let me=pt[ae[0]];return`${fn} ${Ae(ae[0],me)[0]}${Ve}`}}let J=je.split(at).map(me=>`${ce} ${me}`).join(at)+at;return fn+at+(je?J:\"\")+(je&&ae.length?ce+at:\"\")+Ee+Ve}function Ae(rt,je){return ge.concat(je).map(pt=>`@${rt} ${pt}`.trim())}}}),mr=Ct({\"src/language-js/utils/get-shebang.js\"(z,ee){Un();function R(Y){if(!Y.startsWith(\"#!\"))return\"\";let G=Y.indexOf(`\n`);return G===-1?Y:Y.slice(0,G)}ee.exports=R}}),mn=Ct({\"src/language-js/pragma.js\"(z,ee){Un();var{parseWithComments:R,strip:Y,extract:G,print:M}=Ti(),{normalizeEndOfLine:H}=Pd(),$=mr();function Z(_e){let ge=$(_e);ge&&(_e=_e.slice(ge.length+1));let ne=G(_e),{pragmas:le,comments:xe}=R(ne);return{shebang:ge,text:_e,pragmas:le,comments:xe}}function oe(_e){let ge=Object.keys(Z(_e).pragmas);return ge.includes(\"prettier\")||ge.includes(\"format\")}function ye(_e){let{shebang:ge,text:ne,pragmas:le,comments:xe}=Z(_e),tt=Y(ne),j=M({pragmas:Object.assign({format:\"\"},le),comments:xe.trimStart()});return(ge?`${ge}\n`:\"\")+H(j)+(tt.startsWith(`\n`)?`\n`:`\n\n`)+tt}ee.exports={hasPragma:oe,insertPragma:ye}}}),hr=Ct({\"src/language-js/utils/is-type-cast-comment.js\"(z,ee){Un();var R=ng();function Y(G){return R(G)&&G.value[0]===\"*\"&&/@(?:type|satisfies)\\b/.test(G.value)}ee.exports=Y}}),ti=Ct({\"src/language-js/comments.js\"(z,ee){Un();var{getLast:R,hasNewline:Y,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:G,getNextNonSpaceNonCommentCharacter:M,hasNewlineInRange:H,addLeadingComment:$,addTrailingComment:Z,addDanglingComment:oe,getNextNonSpaceNonCommentCharacterIndex:ye,isNonEmptyArray:_e}=sn(),{getFunctionParameters:ge,isPrettierIgnoreComment:ne,isJsxNode:le,hasFlowShorthandAnnotationComment:xe,hasFlowAnnotationComment:tt,hasIgnoreComment:j,isCallLikeExpression:Ae,getCallArguments:rt,isCallExpression:je,isMemberExpression:pt,isObjectProperty:at,isLineComment:fn,getComments:ce,CommentCheckFlags:Ve,markerForIfWithoutBlockAndSameLineComment:ae}=uu(),{locStart:Ee,locEnd:J}=Pu(),me=ng(),we=hr();function Fe(Er){return[Sn,Zs,Di,Jt,Hn,Nt,Ci,Ds,Yi,as,ta,ll,Cr,hi,An].some(Ne=>Ne(Er))}function Me(Er){return[hn,Zs,cn,ta,Jt,Hn,Nt,Ci,hi,Fi,Fr,as,Ta,An,pi].some(Ne=>Ne(Er))}function Xe(Er){return[Sn,Jt,Hn,Ht,yr,Cr,as,Zi,ui,ur,An,ir].some(Ne=>Ne(Er))}function Dt(Er,Ne){let Vn=(Er.body||Er.properties).find(er=>{let{type:_s}=er;return _s!==\"EmptyStatement\"});Vn?$(Vn,Ne):oe(Er,Ne)}function Xt(Er,Ne){Er.type===\"BlockStatement\"?Dt(Er,Ne):$(Er,Ne)}function hn(Er){let{comment:Ne,followingNode:Vn}=Er;return Vn&&we(Ne)?($(Vn,Ne),!0):!1}function Jt(Er){let{comment:Ne,precedingNode:Vn,enclosingNode:er,followingNode:_s,text:js}=Er;if((er==null?void 0:er.type)!==\"IfStatement\"||!_s)return!1;if(M(js,Ne,J)===\")\")return Z(Vn,Ne),!0;if(Vn===er.consequent&&_s===er.alternate){if(Vn.type===\"BlockStatement\")Z(Vn,Ne);else{let qo=Ne.type===\"SingleLine\"||Ne.loc.start.line===Ne.loc.end.line,Ts=Ne.loc.start.line===Vn.loc.start.line;qo&&Ts?oe(Vn,Ne,ae):oe(er,Ne)}return!0}return _s.type===\"BlockStatement\"?(Dt(_s,Ne),!0):_s.type===\"IfStatement\"?(Xt(_s.consequent,Ne),!0):er.consequent===_s?($(_s,Ne),!0):!1}function Hn(Er){let{comment:Ne,precedingNode:Vn,enclosingNode:er,followingNode:_s,text:js}=Er;return(er==null?void 0:er.type)!==\"WhileStatement\"||!_s?!1:M(js,Ne,J)===\")\"?(Z(Vn,Ne),!0):_s.type===\"BlockStatement\"?(Dt(_s,Ne),!0):er.body===_s?($(_s,Ne),!0):!1}function Nt(Er){let{comment:Ne,precedingNode:Vn,enclosingNode:er,followingNode:_s}=Er;return(er==null?void 0:er.type)!==\"TryStatement\"&&(er==null?void 0:er.type)!==\"CatchClause\"||!_s?!1:er.type===\"CatchClause\"&&Vn?(Z(Vn,Ne),!0):_s.type===\"BlockStatement\"?(Dt(_s,Ne),!0):_s.type===\"TryStatement\"?(Xt(_s.finalizer,Ne),!0):_s.type===\"CatchClause\"?(Xt(_s.body,Ne),!0):!1}function Di(Er){let{comment:Ne,enclosingNode:Vn,followingNode:er}=Er;return pt(Vn)&&(er==null?void 0:er.type)===\"Identifier\"?($(Vn,Ne),!0):!1}function cn(Er){let{comment:Ne,precedingNode:Vn,enclosingNode:er,followingNode:_s,text:js}=Er,qo=Vn&&!H(js,J(Vn),Ee(Ne));return(!Vn||!qo)&&((er==null?void 0:er.type)===\"ConditionalExpression\"||(er==null?void 0:er.type)===\"TSConditionalType\")&&_s?($(_s,Ne),!0):!1}function Ht(Er){let{comment:Ne,precedingNode:Vn,enclosingNode:er}=Er;return at(er)&&er.shorthand&&er.key===Vn&&er.value.type===\"AssignmentPattern\"?(Z(er.value.left,Ne),!0):!1}var vi=new Set([\"ClassDeclaration\",\"ClassExpression\",\"DeclareClass\",\"DeclareInterface\",\"InterfaceDeclaration\",\"TSInterfaceDeclaration\"]);function Ci(Er){let{comment:Ne,precedingNode:Vn,enclosingNode:er,followingNode:_s}=Er;if(vi.has(er==null?void 0:er.type)){if(_e(er.decorators)&&!(_s&&_s.type===\"Decorator\"))return Z(R(er.decorators),Ne),!0;if(er.body&&_s===er.body)return Dt(er.body,Ne),!0;if(_s){if(er.superClass&&_s===er.superClass&&Vn&&(Vn===er.id||Vn===er.typeParameters))return Z(Vn,Ne),!0;for(let js of[\"implements\",\"extends\",\"mixins\"])if(er[js]&&_s===er[js][0])return Vn&&(Vn===er.id||Vn===er.typeParameters||Vn===er.superClass)?Z(Vn,Ne):oe(er,Ne,js),!0}}return!1}var ki=new Set([\"ClassMethod\",\"ClassProperty\",\"PropertyDefinition\",\"TSAbstractPropertyDefinition\",\"TSAbstractMethodDefinition\",\"TSDeclareMethod\",\"MethodDefinition\",\"ClassAccessorProperty\",\"AccessorProperty\",\"TSAbstractAccessorProperty\"]);function Cr(Er){let{comment:Ne,precedingNode:Vn,enclosingNode:er,text:_s}=Er;return er&&Vn&&M(_s,Ne,J)===\"(\"&&(er.type===\"Property\"||er.type===\"TSDeclareMethod\"||er.type===\"TSAbstractMethodDefinition\")&&Vn.type===\"Identifier\"&&er.key===Vn&&M(_s,Vn,J)!==\":\"||(Vn==null?void 0:Vn.type)===\"Decorator\"&&ki.has(er==null?void 0:er.type)?(Z(Vn,Ne),!0):!1}var pn=new Set([\"FunctionDeclaration\",\"FunctionExpression\",\"ClassMethod\",\"MethodDefinition\",\"ObjectMethod\"]);function ui(Er){let{comment:Ne,precedingNode:Vn,enclosingNode:er,text:_s}=Er;return M(_s,Ne,J)!==\"(\"?!1:Vn&&pn.has(er==null?void 0:er.type)?(Z(Vn,Ne),!0):!1}function Zi(Er){let{comment:Ne,enclosingNode:Vn,text:er}=Er;if((Vn==null?void 0:Vn.type)!==\"ArrowFunctionExpression\")return!1;let _s=ye(er,Ne,J);return _s!==!1&&er.slice(_s,_s+2)===\"=>\"?(oe(Vn,Ne),!0):!1}function yr(Er){let{comment:Ne,enclosingNode:Vn,text:er}=Er;return M(er,Ne,J)!==\")\"?!1:Vn&&(pr(Vn)&&ge(Vn).length===0||Ae(Vn)&&rt(Vn).length===0)?(oe(Vn,Ne),!0):((Vn==null?void 0:Vn.type)===\"MethodDefinition\"||(Vn==null?void 0:Vn.type)===\"TSAbstractMethodDefinition\")&&ge(Vn.value).length===0?(oe(Vn.value,Ne),!0):!1}function Zs(Er){let{comment:Ne,precedingNode:Vn,enclosingNode:er,followingNode:_s,text:js}=Er;if((Vn==null?void 0:Vn.type)===\"FunctionTypeParam\"&&(er==null?void 0:er.type)===\"FunctionTypeAnnotation\"&&(_s==null?void 0:_s.type)!==\"FunctionTypeParam\"||((Vn==null?void 0:Vn.type)===\"Identifier\"||(Vn==null?void 0:Vn.type)===\"AssignmentPattern\")&&er&&pr(er)&&M(js,Ne,J)===\")\")return Z(Vn,Ne),!0;if((er==null?void 0:er.type)===\"FunctionDeclaration\"&&(_s==null?void 0:_s.type)===\"BlockStatement\"){let qo=(()=>{let Ts=ge(er);if(Ts.length>0)return G(js,J(R(Ts)));let Dc=G(js,J(er.id));return Dc!==!1&&G(js,Dc+1)})();if(Ee(Ne)>qo)return Dt(_s,Ne),!0}return!1}function hi(Er){let{comment:Ne,enclosingNode:Vn}=Er;return(Vn==null?void 0:Vn.type)===\"LabeledStatement\"?($(Vn,Ne),!0):!1}function An(Er){let{comment:Ne,enclosingNode:Vn}=Er;return((Vn==null?void 0:Vn.type)===\"ContinueStatement\"||(Vn==null?void 0:Vn.type)===\"BreakStatement\")&&!Vn.label?(Z(Vn,Ne),!0):!1}function Fi(Er){let{comment:Ne,precedingNode:Vn,enclosingNode:er}=Er;return je(er)&&Vn&&er.callee===Vn&&er.arguments.length>0?($(er.arguments[0],Ne),!0):!1}function Yi(Er){let{comment:Ne,precedingNode:Vn,enclosingNode:er,followingNode:_s}=Er;return(er==null?void 0:er.type)===\"UnionTypeAnnotation\"||(er==null?void 0:er.type)===\"TSUnionType\"?(ne(Ne)&&(_s.prettierIgnore=!0,Ne.unignore=!0),Vn?(Z(Vn,Ne),!0):!1):(((_s==null?void 0:_s.type)===\"UnionTypeAnnotation\"||(_s==null?void 0:_s.type)===\"TSUnionType\")&&ne(Ne)&&(_s.types[0].prettierIgnore=!0,Ne.unignore=!0),!1)}function Fr(Er){let{comment:Ne,enclosingNode:Vn}=Er;return at(Vn)?($(Vn,Ne),!0):!1}function as(Er){let{comment:Ne,enclosingNode:Vn,followingNode:er,ast:_s,isLastComment:js}=Er;return _s&&_s.body&&_s.body.length===0?(js?oe(_s,Ne):$(_s,Ne),!0):(Vn==null?void 0:Vn.type)===\"Program\"&&(Vn==null?void 0:Vn.body.length)===0&&!_e(Vn.directives)?(js?oe(Vn,Ne):$(Vn,Ne),!0):(er==null?void 0:er.type)===\"Program\"&&(er==null?void 0:er.body.length)===0&&(Vn==null?void 0:Vn.type)===\"ModuleExpression\"?(oe(er,Ne),!0):!1}function Ds(Er){let{comment:Ne,enclosingNode:Vn}=Er;return(Vn==null?void 0:Vn.type)===\"ForInStatement\"||(Vn==null?void 0:Vn.type)===\"ForOfStatement\"?($(Vn,Ne),!0):!1}function ta(Er){let{comment:Ne,precedingNode:Vn,enclosingNode:er,text:_s}=Er;if((er==null?void 0:er.type)===\"ImportSpecifier\"||(er==null?void 0:er.type)===\"ExportSpecifier\")return $(er,Ne),!0;let js=(Vn==null?void 0:Vn.type)===\"ImportSpecifier\"&&(er==null?void 0:er.type)===\"ImportDeclaration\",qo=(Vn==null?void 0:Vn.type)===\"ExportSpecifier\"&&(er==null?void 0:er.type)===\"ExportNamedDeclaration\";return(js||qo)&&Y(_s,J(Ne))?(Z(Vn,Ne),!0):!1}function ll(Er){let{comment:Ne,enclosingNode:Vn}=Er;return(Vn==null?void 0:Vn.type)===\"AssignmentPattern\"?($(Vn,Ne),!0):!1}var Bn=new Set([\"VariableDeclarator\",\"AssignmentExpression\",\"TypeAlias\",\"TSTypeAliasDeclaration\"]),Zo=new Set([\"ObjectExpression\",\"ArrayExpression\",\"TemplateLiteral\",\"TaggedTemplateExpression\",\"ObjectTypeAnnotation\",\"TSTypeLiteral\"]);function Ta(Er){let{comment:Ne,enclosingNode:Vn,followingNode:er}=Er;return Bn.has(Vn==null?void 0:Vn.type)&&er&&(Zo.has(er.type)||me(Ne))?($(er,Ne),!0):!1}function ir(Er){let{comment:Ne,enclosingNode:Vn,followingNode:er,text:_s}=Er;return!er&&((Vn==null?void 0:Vn.type)===\"TSMethodSignature\"||(Vn==null?void 0:Vn.type)===\"TSDeclareFunction\"||(Vn==null?void 0:Vn.type)===\"TSAbstractMethodDefinition\")&&M(_s,Ne,J)===\";\"?(Z(Vn,Ne),!0):!1}function Sn(Er){let{comment:Ne,enclosingNode:Vn,followingNode:er}=Er;if(ne(Ne)&&(Vn==null?void 0:Vn.type)===\"TSMappedType\"&&(er==null?void 0:er.type)===\"TSTypeParameter\"&&er.constraint)return Vn.prettierIgnore=!0,Ne.unignore=!0,!0}function ur(Er){let{comment:Ne,precedingNode:Vn,enclosingNode:er,followingNode:_s}=Er;return(er==null?void 0:er.type)!==\"TSMappedType\"?!1:(_s==null?void 0:_s.type)===\"TSTypeParameter\"&&_s.name?($(_s.name,Ne),!0):(Vn==null?void 0:Vn.type)===\"TSTypeParameter\"&&Vn.constraint?(Z(Vn.constraint,Ne),!0):!1}function pi(Er){let{comment:Ne,enclosingNode:Vn,followingNode:er}=Er;return!Vn||Vn.type!==\"SwitchCase\"||Vn.test||!er||er!==Vn.consequent[0]?!1:(er.type===\"BlockStatement\"&&fn(Ne)?Dt(er,Ne):oe(Vn,Ne),!0)}function pr(Er){return Er.type===\"ArrowFunctionExpression\"||Er.type===\"FunctionExpression\"||Er.type===\"FunctionDeclaration\"||Er.type===\"ObjectMethod\"||Er.type===\"ClassMethod\"||Er.type===\"TSDeclareFunction\"||Er.type===\"TSCallSignatureDeclaration\"||Er.type===\"TSConstructSignatureDeclaration\"||Er.type===\"TSMethodSignature\"||Er.type===\"TSConstructorType\"||Er.type===\"TSFunctionType\"||Er.type===\"TSDeclareMethod\"}function yo(Er,Ne){if((Ne.parser===\"typescript\"||Ne.parser===\"flow\"||Ne.parser===\"acorn\"||Ne.parser===\"espree\"||Ne.parser===\"meriyah\"||Ne.parser===\"__babel_estree\")&&Er.type===\"MethodDefinition\"&&Er.value&&Er.value.type===\"FunctionExpression\"&&ge(Er.value).length===0&&!Er.value.returnType&&!_e(Er.value.typeParameters)&&Er.value.body)return[...Er.decorators||[],Er.key,Er.value.body]}function Gs(Er){let Ne=Er.getValue(),Vn=Er.getParentNode(),er=_s=>tt(ce(_s,Ve.Leading))||tt(ce(_s,Ve.Trailing));return(Ne&&(le(Ne)||xe(Ne)||je(Vn)&&er(Ne))||Vn&&(Vn.type===\"JSXSpreadAttribute\"||Vn.type===\"JSXSpreadChild\"||Vn.type===\"UnionTypeAnnotation\"||Vn.type===\"TSUnionType\"||(Vn.type===\"ClassDeclaration\"||Vn.type===\"ClassExpression\")&&Vn.superClass===Ne))&&(!j(Er)||Vn.type===\"UnionTypeAnnotation\"||Vn.type===\"TSUnionType\")}ee.exports={handleOwnLineComment:Fe,handleEndOfLineComment:Me,handleRemainingComment:Xe,getCommentChildNodes:yo,willPrintOwnComments:Gs}}}),Qn=Ct({\"src/language-js/needs-parens.js\"(z,ee){Un();var R=qu(),Y=Cs(),{getFunctionParameters:G,getLeftSidePathName:M,hasFlowShorthandAnnotationComment:H,hasNakedLeftSide:$,hasNode:Z,isBitwiseOperator:oe,startsWithNoLookaheadToken:ye,shouldFlatten:_e,getPrecedence:ge,isCallExpression:ne,isMemberExpression:le,isObjectProperty:xe,isTSTypeExpression:tt}=uu();function j(ce,Ve){let ae=ce.getParentNode();if(!ae)return!1;let Ee=ce.getName(),J=ce.getNode();if(Ve.__isInHtmlInterpolation&&!Ve.bracketSpacing&&pt(J)&&at(ce))return!0;if(Ae(J))return!1;if(Ve.parser!==\"flow\"&&H(ce.getValue()))return!0;if(J.type===\"Identifier\"){if(J.extra&&J.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\\d+_\\d+_IN_JS$/.test(J.name)||Ee===\"left\"&&(J.name===\"async\"&&!ae.await||J.name===\"let\")&&ae.type===\"ForOfStatement\")return!0;if(J.name===\"let\"){var me;let Fe=(me=ce.findAncestor(Me=>Me.type===\"ForOfStatement\"))===null||me===void 0?void 0:me.left;if(Fe&&ye(Fe,Me=>Me===J))return!0}if(Ee===\"object\"&&J.name===\"let\"&&ae.type===\"MemberExpression\"&&ae.computed&&!ae.optional){let Fe=ce.findAncestor(Xe=>Xe.type===\"ExpressionStatement\"||Xe.type===\"ForStatement\"||Xe.type===\"ForInStatement\"),Me=Fe?Fe.type===\"ExpressionStatement\"?Fe.expression:Fe.type===\"ForStatement\"?Fe.init:Fe.left:void 0;if(Me&&ye(Me,Xe=>Xe===J))return!0}return!1}if(J.type===\"ObjectExpression\"||J.type===\"FunctionExpression\"||J.type===\"ClassExpression\"||J.type===\"DoExpression\"){var we;let Fe=(we=ce.findAncestor(Me=>Me.type===\"ExpressionStatement\"))===null||we===void 0?void 0:we.expression;if(Fe&&ye(Fe,Me=>Me===J))return!0}switch(ae.type){case\"ParenthesizedExpression\":return!1;case\"ClassDeclaration\":case\"ClassExpression\":{if(Ee===\"superClass\"&&(J.type===\"ArrowFunctionExpression\"||J.type===\"AssignmentExpression\"||J.type===\"AwaitExpression\"||J.type===\"BinaryExpression\"||J.type===\"ConditionalExpression\"||J.type===\"LogicalExpression\"||J.type===\"NewExpression\"||J.type===\"ObjectExpression\"||J.type===\"SequenceExpression\"||J.type===\"TaggedTemplateExpression\"||J.type===\"UnaryExpression\"||J.type===\"UpdateExpression\"||J.type===\"YieldExpression\"||J.type===\"TSNonNullExpression\"))return!0;break}case\"ExportDefaultDeclaration\":return fn(ce,Ve)||J.type===\"SequenceExpression\";case\"Decorator\":{if(Ee===\"expression\"){if(le(J)&&J.computed)return!0;let Fe=!1,Me=!1,Xe=J;for(;Xe;)switch(Xe.type){case\"MemberExpression\":Me=!0,Xe=Xe.object;break;case\"CallExpression\":if(Me||Fe)return Ve.parser!==\"typescript\";Fe=!0,Xe=Xe.callee;break;case\"Identifier\":return!1;case\"TaggedTemplateExpression\":return Ve.parser!==\"typescript\";default:return!0}return!0}break}case\"ArrowFunctionExpression\":{if(Ee===\"body\"&&J.type!==\"SequenceExpression\"&&ye(J,Fe=>Fe.type===\"ObjectExpression\"))return!0;break}}switch(J.type){case\"UpdateExpression\":if(ae.type===\"UnaryExpression\")return J.prefix&&(J.operator===\"++\"&&ae.operator===\"+\"||J.operator===\"--\"&&ae.operator===\"-\");case\"UnaryExpression\":switch(ae.type){case\"UnaryExpression\":return J.operator===ae.operator&&(J.operator===\"+\"||J.operator===\"-\");case\"BindExpression\":return!0;case\"MemberExpression\":case\"OptionalMemberExpression\":return Ee===\"object\";case\"TaggedTemplateExpression\":return!0;case\"NewExpression\":case\"CallExpression\":case\"OptionalCallExpression\":return Ee===\"callee\";case\"BinaryExpression\":return Ee===\"left\"&&ae.operator===\"**\";case\"TSNonNullExpression\":return!0;default:return!1}case\"BinaryExpression\":{if(ae.type===\"UpdateExpression\"||J.operator===\"in\"&&rt(ce))return!0;if(J.operator===\"|>\"&&J.extra&&J.extra.parenthesized){let Fe=ce.getParentNode(1);if(Fe.type===\"BinaryExpression\"&&Fe.operator===\"|>\")return!0}}case\"TSTypeAssertion\":case\"TSAsExpression\":case\"TSSatisfiesExpression\":case\"LogicalExpression\":switch(ae.type){case\"TSSatisfiesExpression\":case\"TSAsExpression\":return!tt(J);case\"ConditionalExpression\":return tt(J);case\"CallExpression\":case\"NewExpression\":case\"OptionalCallExpression\":return Ee===\"callee\";case\"ClassExpression\":case\"ClassDeclaration\":return Ee===\"superClass\";case\"TSTypeAssertion\":case\"TaggedTemplateExpression\":case\"UnaryExpression\":case\"JSXSpreadAttribute\":case\"SpreadElement\":case\"SpreadProperty\":case\"BindExpression\":case\"AwaitExpression\":case\"TSNonNullExpression\":case\"UpdateExpression\":return!0;case\"MemberExpression\":case\"OptionalMemberExpression\":return Ee===\"object\";case\"AssignmentExpression\":case\"AssignmentPattern\":return Ee===\"left\"&&(J.type===\"TSTypeAssertion\"||tt(J));case\"LogicalExpression\":if(J.type===\"LogicalExpression\")return ae.operator!==J.operator;case\"BinaryExpression\":{let{operator:Fe,type:Me}=J;if(!Fe&&Me!==\"TSTypeAssertion\")return!0;let Xe=ge(Fe),Dt=ae.operator,Xt=ge(Dt);return Xt>Xe||Ee===\"right\"&&Xt===Xe||Xt===Xe&&!_e(Dt,Fe)?!0:Xt<Xe&&Fe===\"%\"?Dt===\"+\"||Dt===\"-\":!!oe(Dt)}default:return!1}case\"SequenceExpression\":switch(ae.type){case\"ReturnStatement\":return!1;case\"ForStatement\":return!1;case\"ExpressionStatement\":return Ee!==\"expression\";case\"ArrowFunctionExpression\":return Ee!==\"body\";default:return!0}case\"YieldExpression\":if(ae.type===\"UnaryExpression\"||ae.type===\"AwaitExpression\"||tt(ae)||ae.type===\"TSNonNullExpression\")return!0;case\"AwaitExpression\":switch(ae.type){case\"TaggedTemplateExpression\":case\"UnaryExpression\":case\"LogicalExpression\":case\"SpreadElement\":case\"SpreadProperty\":case\"TSAsExpression\":case\"TSSatisfiesExpression\":case\"TSNonNullExpression\":case\"BindExpression\":return!0;case\"MemberExpression\":case\"OptionalMemberExpression\":return Ee===\"object\";case\"NewExpression\":case\"CallExpression\":case\"OptionalCallExpression\":return Ee===\"callee\";case\"ConditionalExpression\":return Ee===\"test\";case\"BinaryExpression\":return!(!J.argument&&ae.operator===\"|>\");default:return!1}case\"TSConditionalType\":case\"TSFunctionType\":case\"TSConstructorType\":if(Ee===\"extendsType\"&&ae.type===\"TSConditionalType\"){if(J.type===\"TSConditionalType\")return!0;let{typeAnnotation:Fe}=J.returnType||J.typeAnnotation;if(Fe.type===\"TSTypePredicate\"&&Fe.typeAnnotation&&(Fe=Fe.typeAnnotation.typeAnnotation),Fe.type===\"TSInferType\"&&Fe.typeParameter.constraint)return!0}if(Ee===\"checkType\"&&ae.type===\"TSConditionalType\")return!0;case\"TSUnionType\":case\"TSIntersectionType\":if((ae.type===\"TSUnionType\"||ae.type===\"TSIntersectionType\")&&ae.types.length>1&&(!J.types||J.types.length>1))return!0;case\"TSInferType\":if(J.type===\"TSInferType\"&&ae.type===\"TSRestType\")return!1;case\"TSTypeOperator\":return ae.type===\"TSArrayType\"||ae.type===\"TSOptionalType\"||ae.type===\"TSRestType\"||Ee===\"objectType\"&&ae.type===\"TSIndexedAccessType\"||ae.type===\"TSTypeOperator\"||ae.type===\"TSTypeAnnotation\"&&ce.getParentNode(1).type.startsWith(\"TSJSDoc\");case\"TSTypeQuery\":return Ee===\"objectType\"&&ae.type===\"TSIndexedAccessType\"||Ee===\"elementType\"&&ae.type===\"TSArrayType\";case\"TypeofTypeAnnotation\":return Ee===\"objectType\"&&(ae.type===\"IndexedAccessType\"||ae.type===\"OptionalIndexedAccessType\")||Ee===\"elementType\"&&ae.type===\"ArrayTypeAnnotation\";case\"ArrayTypeAnnotation\":return ae.type===\"NullableTypeAnnotation\";case\"IntersectionTypeAnnotation\":case\"UnionTypeAnnotation\":return ae.type===\"ArrayTypeAnnotation\"||ae.type===\"NullableTypeAnnotation\"||ae.type===\"IntersectionTypeAnnotation\"||ae.type===\"UnionTypeAnnotation\"||Ee===\"objectType\"&&(ae.type===\"IndexedAccessType\"||ae.type===\"OptionalIndexedAccessType\");case\"NullableTypeAnnotation\":return ae.type===\"ArrayTypeAnnotation\"||Ee===\"objectType\"&&(ae.type===\"IndexedAccessType\"||ae.type===\"OptionalIndexedAccessType\");case\"FunctionTypeAnnotation\":{let Fe=ae.type===\"NullableTypeAnnotation\"?ce.getParentNode(1):ae;return Fe.type===\"UnionTypeAnnotation\"||Fe.type===\"IntersectionTypeAnnotation\"||Fe.type===\"ArrayTypeAnnotation\"||Ee===\"objectType\"&&(Fe.type===\"IndexedAccessType\"||Fe.type===\"OptionalIndexedAccessType\")||Fe.type===\"NullableTypeAnnotation\"||ae.type===\"FunctionTypeParam\"&&ae.name===null&&G(J).some(Me=>Me.typeAnnotation&&Me.typeAnnotation.type===\"NullableTypeAnnotation\")}case\"OptionalIndexedAccessType\":return Ee===\"objectType\"&&ae.type===\"IndexedAccessType\";case\"StringLiteral\":case\"NumericLiteral\":case\"Literal\":if(typeof J.value==\"string\"&&ae.type===\"ExpressionStatement\"&&!ae.directive){let Fe=ce.getParentNode(1);return Fe.type===\"Program\"||Fe.type===\"BlockStatement\"}return Ee===\"object\"&&ae.type===\"MemberExpression\"&&typeof J.value==\"number\";case\"AssignmentExpression\":{let Fe=ce.getParentNode(1);return Ee===\"body\"&&ae.type===\"ArrowFunctionExpression\"?!0:Ee===\"key\"&&(ae.type===\"ClassProperty\"||ae.type===\"PropertyDefinition\")&&ae.computed||(Ee===\"init\"||Ee===\"update\")&&ae.type===\"ForStatement\"?!1:ae.type===\"ExpressionStatement\"?J.left.type===\"ObjectPattern\":!(Ee===\"key\"&&ae.type===\"TSPropertySignature\"||ae.type===\"AssignmentExpression\"||ae.type===\"SequenceExpression\"&&Fe&&Fe.type===\"ForStatement\"&&(Fe.init===ae||Fe.update===ae)||Ee===\"value\"&&ae.type===\"Property\"&&Fe&&Fe.type===\"ObjectPattern\"&&Fe.properties.includes(ae)||ae.type===\"NGChainedExpression\")}case\"ConditionalExpression\":switch(ae.type){case\"TaggedTemplateExpression\":case\"UnaryExpression\":case\"SpreadElement\":case\"SpreadProperty\":case\"BinaryExpression\":case\"LogicalExpression\":case\"NGPipeExpression\":case\"ExportDefaultDeclaration\":case\"AwaitExpression\":case\"JSXSpreadAttribute\":case\"TSTypeAssertion\":case\"TypeCastExpression\":case\"TSAsExpression\":case\"TSSatisfiesExpression\":case\"TSNonNullExpression\":return!0;case\"NewExpression\":case\"CallExpression\":case\"OptionalCallExpression\":return Ee===\"callee\";case\"ConditionalExpression\":return Ee===\"test\";case\"MemberExpression\":case\"OptionalMemberExpression\":return Ee===\"object\";default:return!1}case\"FunctionExpression\":switch(ae.type){case\"NewExpression\":case\"CallExpression\":case\"OptionalCallExpression\":return Ee===\"callee\";case\"TaggedTemplateExpression\":return!0;default:return!1}case\"ArrowFunctionExpression\":switch(ae.type){case\"BinaryExpression\":return ae.operator!==\"|>\"||J.extra&&J.extra.parenthesized;case\"NewExpression\":case\"CallExpression\":case\"OptionalCallExpression\":return Ee===\"callee\";case\"MemberExpression\":case\"OptionalMemberExpression\":return Ee===\"object\";case\"TSAsExpression\":case\"TSSatisfiesExpression\":case\"TSNonNullExpression\":case\"BindExpression\":case\"TaggedTemplateExpression\":case\"UnaryExpression\":case\"LogicalExpression\":case\"AwaitExpression\":case\"TSTypeAssertion\":return!0;case\"ConditionalExpression\":return Ee===\"test\";default:return!1}case\"ClassExpression\":if(Y(J.decorators))return!0;switch(ae.type){case\"NewExpression\":return Ee===\"callee\";default:return!1}case\"OptionalMemberExpression\":case\"OptionalCallExpression\":{let Fe=ce.getParentNode(1);if(Ee===\"object\"&&ae.type===\"MemberExpression\"||Ee===\"callee\"&&(ae.type===\"CallExpression\"||ae.type===\"NewExpression\")||ae.type===\"TSNonNullExpression\"&&Fe.type===\"MemberExpression\"&&Fe.object===ae)return!0}case\"CallExpression\":case\"MemberExpression\":case\"TaggedTemplateExpression\":case\"TSNonNullExpression\":if(Ee===\"callee\"&&(ae.type===\"BindExpression\"||ae.type===\"NewExpression\")){let Fe=J;for(;Fe;)switch(Fe.type){case\"CallExpression\":case\"OptionalCallExpression\":return!0;case\"MemberExpression\":case\"OptionalMemberExpression\":case\"BindExpression\":Fe=Fe.object;break;case\"TaggedTemplateExpression\":Fe=Fe.tag;break;case\"TSNonNullExpression\":Fe=Fe.expression;break;default:return!1}}return!1;case\"BindExpression\":return Ee===\"callee\"&&(ae.type===\"BindExpression\"||ae.type===\"NewExpression\")||Ee===\"object\"&&le(ae);case\"NGPipeExpression\":return!(ae.type===\"NGRoot\"||ae.type===\"NGMicrosyntaxExpression\"||ae.type===\"ObjectProperty\"&&!(J.extra&&J.extra.parenthesized)||ae.type===\"ArrayExpression\"||ne(ae)&&ae.arguments[Ee]===J||Ee===\"right\"&&ae.type===\"NGPipeExpression\"||Ee===\"property\"&&ae.type===\"MemberExpression\"||ae.type===\"AssignmentExpression\");case\"JSXFragment\":case\"JSXElement\":return Ee===\"callee\"||Ee===\"left\"&&ae.type===\"BinaryExpression\"&&ae.operator===\"<\"||ae.type!==\"ArrayExpression\"&&ae.type!==\"ArrowFunctionExpression\"&&ae.type!==\"AssignmentExpression\"&&ae.type!==\"AssignmentPattern\"&&ae.type!==\"BinaryExpression\"&&ae.type!==\"NewExpression\"&&ae.type!==\"ConditionalExpression\"&&ae.type!==\"ExpressionStatement\"&&ae.type!==\"JsExpressionRoot\"&&ae.type!==\"JSXAttribute\"&&ae.type!==\"JSXElement\"&&ae.type!==\"JSXExpressionContainer\"&&ae.type!==\"JSXFragment\"&&ae.type!==\"LogicalExpression\"&&!ne(ae)&&!xe(ae)&&ae.type!==\"ReturnStatement\"&&ae.type!==\"ThrowStatement\"&&ae.type!==\"TypeCastExpression\"&&ae.type!==\"VariableDeclarator\"&&ae.type!==\"YieldExpression\";case\"TypeAnnotation\":return Ee===\"returnType\"&&ae.type===\"ArrowFunctionExpression\"&&je(J)}return!1}function Ae(ce){return ce.type===\"BlockStatement\"||ce.type===\"BreakStatement\"||ce.type===\"ClassBody\"||ce.type===\"ClassDeclaration\"||ce.type===\"ClassMethod\"||ce.type===\"ClassProperty\"||ce.type===\"PropertyDefinition\"||ce.type===\"ClassPrivateProperty\"||ce.type===\"ContinueStatement\"||ce.type===\"DebuggerStatement\"||ce.type===\"DeclareClass\"||ce.type===\"DeclareExportAllDeclaration\"||ce.type===\"DeclareExportDeclaration\"||ce.type===\"DeclareFunction\"||ce.type===\"DeclareInterface\"||ce.type===\"DeclareModule\"||ce.type===\"DeclareModuleExports\"||ce.type===\"DeclareVariable\"||ce.type===\"DoWhileStatement\"||ce.type===\"EnumDeclaration\"||ce.type===\"ExportAllDeclaration\"||ce.type===\"ExportDefaultDeclaration\"||ce.type===\"ExportNamedDeclaration\"||ce.type===\"ExpressionStatement\"||ce.type===\"ForInStatement\"||ce.type===\"ForOfStatement\"||ce.type===\"ForStatement\"||ce.type===\"FunctionDeclaration\"||ce.type===\"IfStatement\"||ce.type===\"ImportDeclaration\"||ce.type===\"InterfaceDeclaration\"||ce.type===\"LabeledStatement\"||ce.type===\"MethodDefinition\"||ce.type===\"ReturnStatement\"||ce.type===\"SwitchStatement\"||ce.type===\"ThrowStatement\"||ce.type===\"TryStatement\"||ce.type===\"TSDeclareFunction\"||ce.type===\"TSEnumDeclaration\"||ce.type===\"TSImportEqualsDeclaration\"||ce.type===\"TSInterfaceDeclaration\"||ce.type===\"TSModuleDeclaration\"||ce.type===\"TSNamespaceExportDeclaration\"||ce.type===\"TypeAlias\"||ce.type===\"VariableDeclaration\"||ce.type===\"WhileStatement\"||ce.type===\"WithStatement\"}function rt(ce){let Ve=0,ae=ce.getValue();for(;ae;){let Ee=ce.getParentNode(Ve++);if(Ee&&Ee.type===\"ForStatement\"&&Ee.init===ae)return!0;ae=Ee}return!1}function je(ce){return Z(ce,Ve=>Ve.type===\"ObjectTypeAnnotation\"&&Z(Ve,ae=>ae.type===\"FunctionTypeAnnotation\"||void 0)||void 0)}function pt(ce){switch(ce.type){case\"ObjectExpression\":return!0;default:return!1}}function at(ce){let Ve=ce.getValue(),ae=ce.getParentNode(),Ee=ce.getName();switch(ae.type){case\"NGPipeExpression\":if(typeof Ee==\"number\"&&ae.arguments[Ee]===Ve&&ae.arguments.length-1===Ee)return ce.callParent(at);break;case\"ObjectProperty\":if(Ee===\"value\"){let J=ce.getParentNode(1);return R(J.properties)===ae}break;case\"BinaryExpression\":case\"LogicalExpression\":if(Ee===\"right\")return ce.callParent(at);break;case\"ConditionalExpression\":if(Ee===\"alternate\")return ce.callParent(at);break;case\"UnaryExpression\":if(ae.prefix)return ce.callParent(at);break}return!1}function fn(ce,Ve){let ae=ce.getValue(),Ee=ce.getParentNode();return ae.type===\"FunctionExpression\"||ae.type===\"ClassExpression\"?Ee.type===\"ExportDefaultDeclaration\"||!j(ce,Ve):!$(ae)||Ee.type!==\"ExportDefaultDeclaration\"&&j(ce,Ve)?!1:ce.call(J=>fn(J,Ve),...M(ce,ae))}ee.exports=j}}),b=Ct({\"src/language-js/print-preprocess.js\"(z,ee){Un();function R(Y,G){switch(G.parser){case\"json\":case\"json5\":case\"json-stringify\":case\"__js_expression\":case\"__vue_expression\":case\"__vue_ts_expression\":return Object.assign(Object.assign({},Y),{},{type:G.parser.startsWith(\"__\")?\"JsExpressionRoot\":\"JsonRoot\",node:Y,comments:[],rootMarker:G.rootMarker});default:return Y}}ee.exports=R}}),v=Ct({\"src/language-js/print/html-binding.js\"(z,ee){Un();var{builders:{join:R,line:Y,group:G,softline:M,indent:H}}=Ia();function $(oe,ye,_e){let ge=oe.getValue();if(ye.__onHtmlBindingRoot&&oe.getName()===null&&ye.__onHtmlBindingRoot(ge,ye),ge.type===\"File\"){if(ye.__isVueForBindingLeft)return oe.call(ne=>{let le=R([\",\",Y],ne.map(_e,\"params\")),{params:xe}=ne.getValue();return xe.length===1?le:[\"(\",H([M,G(le)]),M,\")\"]},\"program\",\"body\",0);if(ye.__isVueBindings)return oe.call(ne=>R([\",\",Y],ne.map(_e,\"params\")),\"program\",\"body\",0)}}function Z(oe){switch(oe.type){case\"MemberExpression\":switch(oe.property.type){case\"Identifier\":case\"NumericLiteral\":case\"StringLiteral\":return Z(oe.object)}return!1;case\"Identifier\":return!0;default:return!1}}ee.exports={isVueEventBindingExpression:Z,printHtmlBinding:$}}}),X=Ct({\"src/language-js/print/binaryish.js\"(z,ee){Un();var{printComments:R}=nu(),{getLast:Y}=sn(),{builders:{join:G,line:M,softline:H,group:$,indent:Z,align:oe,indentIfBreak:ye},utils:{cleanDoc:_e,getDocParts:ge,isConcat:ne}}=Ia(),{hasLeadingOwnLineComment:le,isBinaryish:xe,isJsxNode:tt,shouldFlatten:j,hasComment:Ae,CommentCheckFlags:rt,isCallExpression:je,isMemberExpression:pt,isObjectProperty:at,isEnabledHackPipeline:fn}=uu(),ce=0;function Ve(J,me,we){let Fe=J.getValue(),Me=J.getParentNode(),Xe=J.getParentNode(1),Dt=Fe!==Me.body&&(Me.type===\"IfStatement\"||Me.type===\"WhileStatement\"||Me.type===\"SwitchStatement\"||Me.type===\"DoWhileStatement\"),Xt=fn(me)&&Fe.operator===\"|>\",hn=ae(J,we,me,!1,Dt);if(Dt)return hn;if(Xt)return $(hn);if(je(Me)&&Me.callee===Fe||Me.type===\"UnaryExpression\"||pt(Me)&&!Me.computed)return $([Z([H,...hn]),H]);let Jt=Me.type===\"ReturnStatement\"||Me.type===\"ThrowStatement\"||Me.type===\"JSXExpressionContainer\"&&Xe.type===\"JSXAttribute\"||Fe.operator!==\"|\"&&Me.type===\"JsExpressionRoot\"||Fe.type!==\"NGPipeExpression\"&&(Me.type===\"NGRoot\"&&me.parser===\"__ng_binding\"||Me.type===\"NGMicrosyntaxExpression\"&&Xe.type===\"NGMicrosyntax\"&&Xe.body.length===1)||Fe===Me.body&&Me.type===\"ArrowFunctionExpression\"||Fe!==Me.body&&Me.type===\"ForStatement\"||Me.type===\"ConditionalExpression\"&&Xe.type!==\"ReturnStatement\"&&Xe.type!==\"ThrowStatement\"&&!je(Xe)||Me.type===\"TemplateLiteral\",Hn=Me.type===\"AssignmentExpression\"||Me.type===\"VariableDeclarator\"||Me.type===\"ClassProperty\"||Me.type===\"PropertyDefinition\"||Me.type===\"TSAbstractPropertyDefinition\"||Me.type===\"ClassPrivateProperty\"||at(Me),Nt=xe(Fe.left)&&j(Fe.operator,Fe.left.operator);if(Jt||Ee(Fe)&&!Nt||!Ee(Fe)&&Hn)return $(hn);if(hn.length===0)return\"\";let Di=tt(Fe.right),cn=hn.findIndex(pn=>typeof pn!=\"string\"&&!Array.isArray(pn)&&pn.type===\"group\"),Ht=hn.slice(0,cn===-1?1:cn+1),vi=hn.slice(Ht.length,Di?-1:void 0),Ci=Symbol(\"logicalChain-\"+ ++ce),ki=$([...Ht,Z(vi)],{id:Ci});if(!Di)return ki;let Cr=Y(hn);return $([ki,ye(Cr,{groupId:Ci})])}function ae(J,me,we,Fe,Me){let Xe=J.getValue();if(!xe(Xe))return[$(me())];let Dt=[];j(Xe.operator,Xe.left.operator)?Dt=J.call(vi=>ae(vi,me,we,!0,Me),\"left\"):Dt.push($(me(\"left\")));let Xt=Ee(Xe),hn=(Xe.operator===\"|>\"||Xe.type===\"NGPipeExpression\"||Xe.operator===\"|\"&&we.parser===\"__vue_expression\")&&!le(we.originalText,Xe.right),Jt=Xe.type===\"NGPipeExpression\"?\"|\":Xe.operator,Hn=Xe.type===\"NGPipeExpression\"&&Xe.arguments.length>0?$(Z([M,\": \",G([M,\": \"],J.map(me,\"arguments\").map(vi=>oe(2,$(vi))))])):\"\",Nt;if(Xt)Nt=[Jt,\" \",me(\"right\"),Hn];else{let vi=fn(we)&&Jt===\"|>\"?J.call(Ci=>ae(Ci,me,we,!0,Me),\"right\"):me(\"right\");Nt=[hn?M:\"\",Jt,hn?\" \":M,vi,Hn]}let Di=J.getParentNode(),cn=Ae(Xe.left,rt.Trailing|rt.Line),Ht=cn||!(Me&&Xe.type===\"LogicalExpression\")&&Di.type!==Xe.type&&Xe.left.type!==Xe.type&&Xe.right.type!==Xe.type;if(Dt.push(hn?\"\":\" \",Ht?$(Nt,{shouldBreak:cn}):Nt),Fe&&Ae(Xe)){let vi=_e(R(J,Dt,we));return ne(vi)||vi.type===\"fill\"?ge(vi):[vi]}return Dt}function Ee(J){return J.type!==\"LogicalExpression\"?!1:!!(J.right.type===\"ObjectExpression\"&&J.right.properties.length>0||J.right.type===\"ArrayExpression\"&&J.right.elements.length>0||tt(J.right))}ee.exports={printBinaryishExpression:Ve,shouldInlineLogicalExpression:Ee}}}),de=Ct({\"src/language-js/print/angular.js\"(z,ee){Un();var{builders:{join:R,line:Y,group:G}}=Ia(),{hasNode:M,hasComment:H,getComments:$}=uu(),{printBinaryishExpression:Z}=X();function oe(ge,ne,le){let xe=ge.getValue();if(xe.type.startsWith(\"NG\"))switch(xe.type){case\"NGRoot\":return[le(\"node\"),H(xe.node)?\" //\"+$(xe.node)[0].value.trimEnd():\"\"];case\"NGPipeExpression\":return Z(ge,ne,le);case\"NGChainedExpression\":return G(R([\";\",Y],ge.map(tt=>_e(tt)?le():[\"(\",le(),\")\"],\"expressions\")));case\"NGEmptyExpression\":return\"\";case\"NGQuotedExpression\":return[xe.prefix,\": \",xe.value.trim()];case\"NGMicrosyntax\":return ge.map((tt,j)=>[j===0?\"\":ye(tt.getValue(),j,xe)?\" \":[\";\",Y],le()],\"body\");case\"NGMicrosyntaxKey\":return/^[$_a-z][\\w$]*(?:-[$_a-z][\\w$])*$/i.test(xe.name)?xe.name:JSON.stringify(xe.name);case\"NGMicrosyntaxExpression\":return[le(\"expression\"),xe.alias===null?\"\":[\" as \",le(\"alias\")]];case\"NGMicrosyntaxKeyedExpression\":{let tt=ge.getName(),j=ge.getParentNode(),Ae=ye(xe,tt,j)||(tt===1&&(xe.key.name===\"then\"||xe.key.name===\"else\")||tt===2&&xe.key.name===\"else\"&&j.body[tt-1].type===\"NGMicrosyntaxKeyedExpression\"&&j.body[tt-1].key.name===\"then\")&&j.body[0].type===\"NGMicrosyntaxExpression\";return[le(\"key\"),Ae?\" \":\": \",le(\"expression\")]}case\"NGMicrosyntaxLet\":return[\"let \",le(\"key\"),xe.value===null?\"\":[\" = \",le(\"value\")]];case\"NGMicrosyntaxAs\":return[le(\"key\"),\" as \",le(\"alias\")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(xe.type)}.`)}}function ye(ge,ne,le){return ge.type===\"NGMicrosyntaxKeyedExpression\"&&ge.key.name===\"of\"&&ne===1&&le.body[0].type===\"NGMicrosyntaxLet\"&&le.body[0].value===null}function _e(ge){return M(ge.getValue(),ne=>{switch(ne.type){case void 0:return!1;case\"CallExpression\":case\"OptionalCallExpression\":case\"AssignmentExpression\":return!0}})}ee.exports={printAngular:oe}}}),ve=Ct({\"src/language-js/print/jsx.js\"(z,ee){Un();var{printComments:R,printDanglingComments:Y,printCommentsSeparately:G}=nu(),{builders:{line:M,hardline:H,softline:$,group:Z,indent:oe,conditionalGroup:ye,fill:_e,ifBreak:ge,lineSuffixBoundary:ne,join:le},utils:{willBreak:xe}}=Ia(),{getLast:tt,getPreferredQuote:j}=sn(),{isJsxNode:Ae,rawText:rt,isCallExpression:je,isStringLiteral:pt,isBinaryish:at,hasComment:fn,CommentCheckFlags:ce,hasNodeIgnoreComment:Ve}=uu(),ae=Qn(),{willPrintOwnComments:Ee}=ti(),J=An=>An===\"\"||An===M||An===H||An===$;function me(An,Fi,Yi){let Fr=An.getValue();if(Fr.type===\"JSXElement\"&&Zi(Fr))return[Yi(\"openingElement\"),Yi(\"closingElement\")];let as=Fr.type===\"JSXElement\"?Yi(\"openingElement\"):Yi(\"openingFragment\"),Ds=Fr.type===\"JSXElement\"?Yi(\"closingElement\"):Yi(\"closingFragment\");if(Fr.children.length===1&&Fr.children[0].type===\"JSXExpressionContainer\"&&(Fr.children[0].expression.type===\"TemplateLiteral\"||Fr.children[0].expression.type===\"TaggedTemplateExpression\"))return[as,...An.map(Yi,\"children\"),Ds];Fr.children=Fr.children.map(Ne=>Zs(Ne)?{type:\"JSXText\",value:\" \",raw:\" \"}:Ne);let ta=Fr.children.some(Ae),ll=Fr.children.filter(Ne=>Ne.type===\"JSXExpressionContainer\").length>1,Bn=Fr.type===\"JSXElement\"&&Fr.openingElement.attributes.length>1,Zo=xe(as)||ta||Bn||ll,Ta=An.getParentNode().rootMarker===\"mdx\",ir=Fi.singleQuote?\"{' '}\":'{\" \"}',Sn=Ta?\" \":ge([ir,$],\" \"),ur=Fr.openingElement&&Fr.openingElement.name&&Fr.openingElement.name.name===\"fbt\",pi=we(An,Fi,Yi,Sn,ur),pr=Fr.children.some(Ne=>yr(Ne));for(let Ne=pi.length-2;Ne>=0;Ne--){let Vn=pi[Ne]===\"\"&&pi[Ne+1]===\"\",er=pi[Ne]===H&&pi[Ne+1]===\"\"&&pi[Ne+2]===H,_s=(pi[Ne]===$||pi[Ne]===H)&&pi[Ne+1]===\"\"&&pi[Ne+2]===Sn,js=pi[Ne]===Sn&&pi[Ne+1]===\"\"&&(pi[Ne+2]===$||pi[Ne+2]===H),qo=pi[Ne]===Sn&&pi[Ne+1]===\"\"&&pi[Ne+2]===Sn,Ts=pi[Ne]===$&&pi[Ne+1]===\"\"&&pi[Ne+2]===H||pi[Ne]===H&&pi[Ne+1]===\"\"&&pi[Ne+2]===$;er&&pr||Vn||_s||qo||Ts?pi.splice(Ne,2):js&&pi.splice(Ne+1,2)}for(;pi.length>0&&J(tt(pi));)pi.pop();for(;pi.length>1&&J(pi[0])&&J(pi[1]);)pi.shift(),pi.shift();let yo=[];for(let[Ne,Vn]of pi.entries()){if(Vn===Sn){if(Ne===1&&pi[Ne-1]===\"\"){if(pi.length===2){yo.push(ir);continue}yo.push([ir,H]);continue}else if(Ne===pi.length-1){yo.push(ir);continue}else if(pi[Ne-1]===\"\"&&pi[Ne-2]===H){yo.push(ir);continue}}yo.push(Vn),xe(Vn)&&(Zo=!0)}let Gs=pr?_e(yo):Z(yo,{shouldBreak:!0});if(Ta)return Gs;let Er=Z([as,oe([H,Gs]),H,Ds]);return Zo?Er:ye([Z([as,...pi,Ds]),Er])}function we(An,Fi,Yi,Fr,as){let Ds=[];return An.each((ta,ll,Bn)=>{let Zo=ta.getValue();if(Zo.type===\"JSXText\"){let Ta=rt(Zo);if(yr(Zo)){let ir=Ta.split(Cr);if(ir[0]===\"\"){if(Ds.push(\"\"),ir.shift(),/\\n/.test(ir[0])){let ur=Bn[ll+1];Ds.push(Me(as,ir[1],Zo,ur))}else Ds.push(Fr);ir.shift()}let Sn;if(tt(ir)===\"\"&&(ir.pop(),Sn=ir.pop()),ir.length===0)return;for(let[ur,pi]of ir.entries())ur%2===1?Ds.push(M):Ds.push(pi);if(Sn!==void 0)if(/\\n/.test(Sn)){let ur=Bn[ll+1];Ds.push(Me(as,tt(Ds),Zo,ur))}else Ds.push(Fr);else{let ur=Bn[ll+1];Ds.push(Fe(as,tt(Ds),Zo,ur))}}else/\\n/.test(Ta)?Ta.match(/\\n/g).length>1&&Ds.push(\"\",H):Ds.push(\"\",Fr)}else{let Ta=Yi();Ds.push(Ta);let ir=Bn[ll+1];if(ir&&yr(ir)){let Sn=ui(rt(ir)).split(Cr)[0];Ds.push(Fe(as,Sn,Zo,ir))}else Ds.push(H)}},\"children\"),Ds}function Fe(An,Fi,Yi,Fr){return An?\"\":Yi.type===\"JSXElement\"&&!Yi.closingElement||Fr&&Fr.type===\"JSXElement\"&&!Fr.closingElement?Fi.length===1?$:H:$}function Me(An,Fi,Yi,Fr){return An?H:Fi.length===1?Yi.type===\"JSXElement\"&&!Yi.closingElement||Fr&&Fr.type===\"JSXElement\"&&!Fr.closingElement?H:$:H}function Xe(An,Fi,Yi){let Fr=An.getParentNode();if(!Fr||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[Fr.type])return Fi;let as=An.match(void 0,ta=>ta.type===\"ArrowFunctionExpression\",je,ta=>ta.type===\"JSXExpressionContainer\"),Ds=ae(An,Yi);return Z([Ds?\"\":ge(\"(\"),oe([$,Fi]),$,Ds?\"\":ge(\")\")],{shouldBreak:as})}function Dt(An,Fi,Yi){let Fr=An.getValue(),as=[];if(as.push(Yi(\"name\")),Fr.value){let Ds;if(pt(Fr.value)){let ta=rt(Fr.value).slice(1,-1).replace(/&apos;/g,\"'\").replace(/&quot;/g,'\"'),{escaped:ll,quote:Bn,regex:Zo}=j(ta,Fi.jsxSingleQuote?\"'\":'\"');ta=ta.replace(Zo,ll);let{leading:Ta,trailing:ir}=An.call(()=>G(An,Fi),\"value\");Ds=[Ta,Bn,ta,Bn,ir]}else Ds=Yi(\"value\");as.push(\"=\",Ds)}return as}function Xt(An,Fi,Yi){let Fr=An.getValue(),as=(Ds,ta)=>Ds.type===\"JSXEmptyExpression\"||!fn(Ds)&&(Ds.type===\"ArrayExpression\"||Ds.type===\"ObjectExpression\"||Ds.type===\"ArrowFunctionExpression\"||Ds.type===\"AwaitExpression\"&&(as(Ds.argument,Ds)||Ds.argument.type===\"JSXElement\")||je(Ds)||Ds.type===\"FunctionExpression\"||Ds.type===\"TemplateLiteral\"||Ds.type===\"TaggedTemplateExpression\"||Ds.type===\"DoExpression\"||Ae(ta)&&(Ds.type===\"ConditionalExpression\"||at(Ds)));return as(Fr.expression,An.getParentNode(0))?Z([\"{\",Yi(\"expression\"),ne,\"}\"]):Z([\"{\",oe([$,Yi(\"expression\")]),$,ne,\"}\"])}function hn(An,Fi,Yi){let Fr=An.getValue(),as=Fr.name&&fn(Fr.name)||Fr.typeParameters&&fn(Fr.typeParameters);if(Fr.selfClosing&&Fr.attributes.length===0&&!as)return[\"<\",Yi(\"name\"),Yi(\"typeParameters\"),\" />\"];if(Fr.attributes&&Fr.attributes.length===1&&Fr.attributes[0].value&&pt(Fr.attributes[0].value)&&!Fr.attributes[0].value.value.includes(`\n`)&&!as&&!fn(Fr.attributes[0]))return Z([\"<\",Yi(\"name\"),Yi(\"typeParameters\"),\" \",...An.map(Yi,\"attributes\"),Fr.selfClosing?\" />\":\">\"]);let Ds=Fr.attributes&&Fr.attributes.some(ll=>ll.value&&pt(ll.value)&&ll.value.value.includes(`\n`)),ta=Fi.singleAttributePerLine&&Fr.attributes.length>1?H:M;return Z([\"<\",Yi(\"name\"),Yi(\"typeParameters\"),oe(An.map(()=>[ta,Yi()],\"attributes\")),...Jt(Fr,Fi,as)],{shouldBreak:Ds})}function Jt(An,Fi,Yi){return An.selfClosing?[M,\"/>\"]:Hn(An,Fi,Yi)?[\">\"]:[$,\">\"]}function Hn(An,Fi,Yi){let Fr=An.attributes.length>0&&fn(tt(An.attributes),ce.Trailing);return An.attributes.length===0&&!Yi||(Fi.bracketSameLine||Fi.jsxBracketSameLine)&&(!Yi||An.attributes.length>0)&&!Fr}function Nt(An,Fi,Yi){let Fr=An.getValue(),as=[];as.push(\"</\");let Ds=Yi(\"name\");return fn(Fr.name,ce.Leading|ce.Line)?as.push(oe([H,Ds]),H):fn(Fr.name,ce.Leading|ce.Block)?as.push(\" \",Ds):as.push(Ds),as.push(\">\"),as}function Di(An,Fi){let Yi=An.getValue(),Fr=fn(Yi),as=fn(Yi,ce.Line),Ds=Yi.type===\"JSXOpeningFragment\";return[Ds?\"<\":\"</\",oe([as?H:Fr&&!Ds?\" \":\"\",Y(An,Fi,!0)]),as?H:\"\",\">\"]}function cn(An,Fi,Yi){let Fr=R(An,me(An,Fi,Yi),Fi);return Xe(An,Fr,Fi)}function Ht(An,Fi){let Yi=An.getValue(),Fr=fn(Yi,ce.Line);return[Y(An,Fi,!Fr),Fr?H:\"\"]}function vi(An,Fi,Yi){let Fr=An.getValue();return[\"{\",An.call(as=>{let Ds=[\"...\",Yi()],ta=as.getValue();return!fn(ta)||!Ee(as)?Ds:[oe([$,R(as,Ds,Fi)]),$]},Fr.type===\"JSXSpreadAttribute\"?\"argument\":\"expression\"),\"}\"]}function Ci(An,Fi,Yi){let Fr=An.getValue();if(Fr.type.startsWith(\"JSX\"))switch(Fr.type){case\"JSXAttribute\":return Dt(An,Fi,Yi);case\"JSXIdentifier\":return String(Fr.name);case\"JSXNamespacedName\":return le(\":\",[Yi(\"namespace\"),Yi(\"name\")]);case\"JSXMemberExpression\":return le(\".\",[Yi(\"object\"),Yi(\"property\")]);case\"JSXSpreadAttribute\":return vi(An,Fi,Yi);case\"JSXSpreadChild\":return vi(An,Fi,Yi);case\"JSXExpressionContainer\":return Xt(An,Fi,Yi);case\"JSXFragment\":case\"JSXElement\":return cn(An,Fi,Yi);case\"JSXOpeningElement\":return hn(An,Fi,Yi);case\"JSXClosingElement\":return Nt(An,Fi,Yi);case\"JSXOpeningFragment\":case\"JSXClosingFragment\":return Di(An,Fi);case\"JSXEmptyExpression\":return Ht(An,Fi);case\"JSXText\":throw new Error(\"JSXText should be handled by JSXElement\");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(Fr.type)}.`)}}var ki=` \n\\r\t`,Cr=new RegExp(\"([\"+ki+\"]+)\"),pn=new RegExp(\"[^\"+ki+\"]\"),ui=An=>An.replace(new RegExp(\"(?:^\"+Cr.source+\"|\"+Cr.source+\"$)\"),\"\");function Zi(An){if(An.children.length===0)return!0;if(An.children.length>1)return!1;let Fi=An.children[0];return Fi.type===\"JSXText\"&&!yr(Fi)}function yr(An){return An.type===\"JSXText\"&&(pn.test(rt(An))||!/\\n/.test(rt(An)))}function Zs(An){return An.type===\"JSXExpressionContainer\"&&pt(An.expression)&&An.expression.value===\" \"&&!fn(An.expression)}function hi(An){let Fi=An.getValue(),Yi=An.getParentNode();if(!Yi||!Fi||!Ae(Fi)||!Ae(Yi))return!1;let Fr=Yi.children.indexOf(Fi),as=null;for(let Ds=Fr;Ds>0;Ds--){let ta=Yi.children[Ds-1];if(!(ta.type===\"JSXText\"&&!yr(ta))){as=ta;break}}return as&&as.type===\"JSXExpressionContainer\"&&as.expression.type===\"JSXEmptyExpression\"&&Ve(as.expression)}ee.exports={hasJsxIgnoreComment:hi,printJsx:Ci}}}),ie=Ct({\"src/language-js/print/misc.js\"(z,ee){Un();var{isNonEmptyArray:R}=sn(),{builders:{indent:Y,join:G,line:M}}=Ia(),{isFlowAnnotationComment:H}=uu();function $(tt){let j=tt.getValue();return!j.optional||j.type===\"Identifier\"&&j===tt.getParentNode().key?\"\":j.type===\"OptionalCallExpression\"||j.type===\"OptionalMemberExpression\"&&j.computed?\"?.\":\"?\"}function Z(tt){return tt.getValue().definite||tt.match(void 0,(j,Ae)=>Ae===\"id\"&&j.type===\"VariableDeclarator\"&&j.definite)?\"!\":\"\"}function oe(tt,j,Ae){let rt=tt.getValue();return rt.typeArguments?Ae(\"typeArguments\"):rt.typeParameters?Ae(\"typeParameters\"):\"\"}function ye(tt,j,Ae){let rt=tt.getValue();if(!rt.typeAnnotation)return\"\";let je=tt.getParentNode(),pt=je.type===\"DeclareFunction\"&&je.id===rt;return H(j.originalText,rt.typeAnnotation)?[\" /*: \",Ae(\"typeAnnotation\"),\" */\"]:[pt?\"\":\": \",Ae(\"typeAnnotation\")]}function _e(tt,j,Ae){return[\"::\",Ae(\"callee\")]}function ge(tt,j,Ae){let rt=tt.getValue();return R(rt.modifiers)?[G(\" \",tt.map(Ae,\"modifiers\")),\" \"]:\"\"}function ne(tt,j,Ae){return tt.type===\"EmptyStatement\"?\";\":tt.type===\"BlockStatement\"||Ae?[\" \",j]:Y([M,j])}function le(tt,j,Ae){return[\"...\",Ae(\"argument\"),ye(tt,j,Ae)]}function xe(tt,j){let Ae=tt.slice(1,-1);if(Ae.includes('\"')||Ae.includes(\"'\"))return tt;let rt=j.singleQuote?\"'\":'\"';return rt+Ae+rt}ee.exports={printOptionalToken:$,printDefiniteToken:Z,printFunctionTypeParameters:oe,printBindExpressionCallee:_e,printTypeScriptModifiers:ge,printTypeAnnotation:ye,printRestSpread:le,adjustClause:ne,printDirective:xe}}}),V=Ct({\"src/language-js/print/array.js\"(z,ee){Un();var{printDanglingComments:R}=nu(),{builders:{line:Y,softline:G,hardline:M,group:H,indent:$,ifBreak:Z,fill:oe}}=Ia(),{getLast:ye,hasNewline:_e}=sn(),{shouldPrintComma:ge,hasComment:ne,CommentCheckFlags:le,isNextLineEmpty:xe,isNumericLiteral:tt,isSignedNumericLiteral:j}=uu(),{locStart:Ae}=Pu(),{printOptionalToken:rt,printTypeAnnotation:je}=ie();function pt(Ve,ae,Ee){let J=Ve.getValue(),me=[],we=J.type===\"TupleExpression\"?\"#[\":\"[\",Fe=\"]\";if(J.elements.length===0)ne(J,le.Dangling)?me.push(H([we,R(Ve,ae),G,Fe])):me.push(we,Fe);else{let Me=ye(J.elements),Xe=!(Me&&Me.type===\"RestElement\"),Dt=Me===null,Xt=Symbol(\"array\"),hn=!ae.__inJestEach&&J.elements.length>1&&J.elements.every((Nt,Di,cn)=>{let Ht=Nt&&Nt.type;if(Ht!==\"ArrayExpression\"&&Ht!==\"ObjectExpression\")return!1;let vi=cn[Di+1];if(vi&&Ht!==vi.type)return!1;let Ci=Ht===\"ArrayExpression\"?\"elements\":\"properties\";return Nt[Ci]&&Nt[Ci].length>1}),Jt=at(J,ae),Hn=Xe?Dt?\",\":ge(ae)?Jt?Z(\",\",\"\",{groupId:Xt}):Z(\",\"):\"\":\"\";me.push(H([we,$([G,Jt?ce(Ve,ae,Ee,Hn):[fn(Ve,ae,\"elements\",Ee),Hn],R(Ve,ae,!0)]),G,Fe],{shouldBreak:hn,id:Xt}))}return me.push(rt(Ve),je(Ve,ae,Ee)),me}function at(Ve,ae){return Ve.elements.length>1&&Ve.elements.every(Ee=>Ee&&(tt(Ee)||j(Ee)&&!ne(Ee.argument))&&!ne(Ee,le.Trailing|le.Line,J=>!_e(ae.originalText,Ae(J),{backwards:!0})))}function fn(Ve,ae,Ee,J){let me=[],we=[];return Ve.each(Fe=>{me.push(we,H(J())),we=[\",\",Y],Fe.getValue()&&xe(Fe.getValue(),ae)&&we.push(G)},Ee),me}function ce(Ve,ae,Ee,J){let me=[];return Ve.each((we,Fe,Me)=>{let Xe=Fe===Me.length-1;me.push([Ee(),Xe?J:\",\"]),Xe||me.push(xe(we.getValue(),ae)?[M,M]:ne(Me[Fe+1],le.Leading|le.Line)?M:Y)},\"elements\"),oe(me)}ee.exports={printArray:pt,printArrayItems:fn,isConciselyPrintedArray:at}}}),P=Ct({\"src/language-js/print/call-arguments.js\"(z,ee){Un();var{printDanglingComments:R}=nu(),{getLast:Y,getPenultimate:G}=sn(),{getFunctionParameters:M,hasComment:H,CommentCheckFlags:$,isFunctionCompositionArgs:Z,isJsxNode:oe,isLongCurriedCallExpression:ye,shouldPrintComma:_e,getCallArguments:ge,iterateCallArgumentsPath:ne,isNextLineEmpty:le,isCallExpression:xe,isStringLiteral:tt,isObjectProperty:j,isTSTypeExpression:Ae}=uu(),{builders:{line:rt,hardline:je,softline:pt,group:at,indent:fn,conditionalGroup:ce,ifBreak:Ve,breakParent:ae},utils:{willBreak:Ee}}=Ia(),{ArgExpansionBailout:J}=_o(),{isConciselyPrintedArray:me}=V();function we(Jt,Hn,Nt){let Di=Jt.getValue(),cn=Di.type===\"ImportExpression\",Ht=ge(Di);if(Ht.length===0)return[\"(\",R(Jt,Hn,!0),\")\"];if(Dt(Ht))return[\"(\",Nt([\"arguments\",0]),\", \",Nt([\"arguments\",1]),\")\"];let vi=!1,Ci=!1,ki=Ht.length-1,Cr=[];ne(Jt,(hi,An)=>{let Fi=hi.getNode(),Yi=[Nt()];An===ki||(le(Fi,Hn)?(An===0&&(Ci=!0),vi=!0,Yi.push(\",\",je,je)):Yi.push(\",\",rt)),Cr.push(Yi)});let pn=!(cn||Di.callee&&Di.callee.type===\"Import\")&&_e(Hn,\"all\")?\",\":\"\";function ui(){return at([\"(\",fn([rt,...Cr]),pn,rt,\")\"],{shouldBreak:!0})}if(vi||Jt.getParentNode().type!==\"Decorator\"&&Z(Ht))return ui();let Zi=Xe(Ht),yr=Me(Ht,Hn);if(Zi||yr){if(Zi?Cr.slice(1).some(Ee):Cr.slice(0,-1).some(Ee))return ui();let hi=[];try{Jt.try(()=>{ne(Jt,(An,Fi)=>{Zi&&Fi===0&&(hi=[[Nt([],{expandFirstArg:!0}),Cr.length>1?\",\":\"\",Ci?je:rt,Ci?je:\"\"],...Cr.slice(1)]),yr&&Fi===ki&&(hi=[...Cr.slice(0,-1),Nt([],{expandLastArg:!0})])})})}catch(An){if(An instanceof J)return ui();throw An}return[Cr.some(Ee)?ae:\"\",ce([[\"(\",...hi,\")\"],Zi?[\"(\",at(hi[0],{shouldBreak:!0}),...hi.slice(1),\")\"]:[\"(\",...Cr.slice(0,-1),at(Y(hi),{shouldBreak:!0}),\")\"],ui()])]}let Zs=[\"(\",fn([pt,...Cr]),Ve(pn),pt,\")\"];return ye(Jt)?Zs:at(Zs,{shouldBreak:Cr.some(Ee)||vi})}function Fe(Jt){let Hn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Jt.type===\"ObjectExpression\"&&(Jt.properties.length>0||H(Jt))||Jt.type===\"ArrayExpression\"&&(Jt.elements.length>0||H(Jt))||Jt.type===\"TSTypeAssertion\"&&Fe(Jt.expression)||Ae(Jt)&&Fe(Jt.expression)||Jt.type===\"FunctionExpression\"||Jt.type===\"ArrowFunctionExpression\"&&(!Jt.returnType||!Jt.returnType.typeAnnotation||Jt.returnType.typeAnnotation.type!==\"TSTypeReference\"||Xt(Jt.body))&&(Jt.body.type===\"BlockStatement\"||Jt.body.type===\"ArrowFunctionExpression\"&&Fe(Jt.body,!0)||Jt.body.type===\"ObjectExpression\"||Jt.body.type===\"ArrayExpression\"||!Hn&&(xe(Jt.body)||Jt.body.type===\"ConditionalExpression\")||oe(Jt.body))||Jt.type===\"DoExpression\"||Jt.type===\"ModuleExpression\"}function Me(Jt,Hn){let Nt=Y(Jt),Di=G(Jt);return!H(Nt,$.Leading)&&!H(Nt,$.Trailing)&&Fe(Nt)&&(!Di||Di.type!==Nt.type)&&(Jt.length!==2||Di.type!==\"ArrowFunctionExpression\"||Nt.type!==\"ArrayExpression\")&&!(Jt.length>1&&Nt.type===\"ArrayExpression\"&&me(Nt,Hn))}function Xe(Jt){if(Jt.length!==2)return!1;let[Hn,Nt]=Jt;return Hn.type===\"ModuleExpression\"&&hn(Nt)?!0:!H(Hn)&&(Hn.type===\"FunctionExpression\"||Hn.type===\"ArrowFunctionExpression\"&&Hn.body.type===\"BlockStatement\")&&Nt.type!==\"FunctionExpression\"&&Nt.type!==\"ArrowFunctionExpression\"&&Nt.type!==\"ConditionalExpression\"&&!Fe(Nt)}function Dt(Jt){return Jt.length===2&&Jt[0].type===\"ArrowFunctionExpression\"&&M(Jt[0]).length===0&&Jt[0].body.type===\"BlockStatement\"&&Jt[1].type===\"ArrayExpression\"&&!Jt.some(Hn=>H(Hn))}function Xt(Jt){return Jt.type===\"BlockStatement\"&&(Jt.body.some(Hn=>Hn.type!==\"EmptyStatement\")||H(Jt,$.Dangling))}function hn(Jt){return Jt.type===\"ObjectExpression\"&&Jt.properties.length===1&&j(Jt.properties[0])&&Jt.properties[0].key.type===\"Identifier\"&&Jt.properties[0].key.name===\"type\"&&tt(Jt.properties[0].value)&&Jt.properties[0].value.value===\"module\"}ee.exports=we}}),he=Ct({\"src/language-js/print/member.js\"(z,ee){Un();var{builders:{softline:R,group:Y,indent:G,label:M}}=Ia(),{isNumericLiteral:H,isMemberExpression:$,isCallExpression:Z}=uu(),{printOptionalToken:oe}=ie();function ye(ge,ne,le){let xe=ge.getValue(),tt=ge.getParentNode(),j,Ae=0;do j=ge.getParentNode(Ae),Ae++;while(j&&($(j)||j.type===\"TSNonNullExpression\"));let rt=le(\"object\"),je=_e(ge,ne,le),pt=j&&(j.type===\"NewExpression\"||j.type===\"BindExpression\"||j.type===\"AssignmentExpression\"&&j.left.type!==\"Identifier\")||xe.computed||xe.object.type===\"Identifier\"&&xe.property.type===\"Identifier\"&&!$(tt)||(tt.type===\"AssignmentExpression\"||tt.type===\"VariableDeclarator\")&&(Z(xe.object)&&xe.object.arguments.length>0||xe.object.type===\"TSNonNullExpression\"&&Z(xe.object.expression)&&xe.object.expression.arguments.length>0||rt.label===\"member-chain\");return M(rt.label===\"member-chain\"?\"member-chain\":\"member\",[rt,pt?je:Y(G([R,je]))])}function _e(ge,ne,le){let xe=le(\"property\"),tt=ge.getValue(),j=oe(ge);return tt.computed?!tt.property||H(tt.property)?[j,\"[\",xe,\"]\"]:Y([j,\"[\",G([R,xe]),R,\"]\"]):[j,\".\",xe]}ee.exports={printMemberExpression:ye,printMemberLookup:_e}}}),N=Ct({\"src/language-js/print/member-chain.js\"(z,ee){Un();var{printComments:R}=nu(),{getLast:Y,isNextLineEmptyAfterIndex:G,getNextNonSpaceNonCommentCharacterIndex:M}=sn(),H=Qn(),{isCallExpression:$,isMemberExpression:Z,isFunctionOrArrowExpression:oe,isLongCurriedCallExpression:ye,isMemberish:_e,isNumericLiteral:ge,isSimpleCallArgument:ne,hasComment:le,CommentCheckFlags:xe,isNextLineEmpty:tt}=uu(),{locEnd:j}=Pu(),{builders:{join:Ae,hardline:rt,group:je,indent:pt,conditionalGroup:at,breakParent:fn,label:ce},utils:{willBreak:Ve}}=Ia(),ae=P(),{printMemberLookup:Ee}=he(),{printOptionalToken:J,printFunctionTypeParameters:me,printBindExpressionCallee:we}=ie();function Fe(Me,Xe,Dt){let Xt=Me.getParentNode(),hn=!Xt||Xt.type===\"ExpressionStatement\",Jt=[];function Hn(Zo){let{originalText:Ta}=Xe,ir=M(Ta,Zo,j);return Ta.charAt(ir)===\")\"?ir!==!1&&G(Ta,ir+1):tt(Zo,Xe)}function Nt(Zo){let Ta=Zo.getValue();$(Ta)&&(_e(Ta.callee)||$(Ta.callee))?(Jt.unshift({node:Ta,printed:[R(Zo,[J(Zo),me(Zo,Xe,Dt),ae(Zo,Xe,Dt)],Xe),Hn(Ta)?rt:\"\"]}),Zo.call(ir=>Nt(ir),\"callee\")):_e(Ta)?(Jt.unshift({node:Ta,needsParens:H(Zo,Xe),printed:R(Zo,Z(Ta)?Ee(Zo,Xe,Dt):we(Zo,Xe,Dt),Xe)}),Zo.call(ir=>Nt(ir),\"object\")):Ta.type===\"TSNonNullExpression\"?(Jt.unshift({node:Ta,printed:R(Zo,\"!\",Xe)}),Zo.call(ir=>Nt(ir),\"expression\")):Jt.unshift({node:Ta,printed:Dt()})}let Di=Me.getValue();Jt.unshift({node:Di,printed:[J(Me),me(Me,Xe,Dt),ae(Me,Xe,Dt)]}),Di.callee&&Me.call(Zo=>Nt(Zo),\"callee\");let cn=[],Ht=[Jt[0]],vi=1;for(;vi<Jt.length&&(Jt[vi].node.type===\"TSNonNullExpression\"||$(Jt[vi].node)||Z(Jt[vi].node)&&Jt[vi].node.computed&&ge(Jt[vi].node.property));++vi)Ht.push(Jt[vi]);if(!$(Jt[0].node))for(;vi+1<Jt.length&&_e(Jt[vi].node)&&_e(Jt[vi+1].node);++vi)Ht.push(Jt[vi]);cn.push(Ht),Ht=[];let Ci=!1;for(;vi<Jt.length;++vi){if(Ci&&_e(Jt[vi].node)){if(Jt[vi].node.computed&&ge(Jt[vi].node.property)){Ht.push(Jt[vi]);continue}cn.push(Ht),Ht=[],Ci=!1}($(Jt[vi].node)||Jt[vi].node.type===\"ImportExpression\")&&(Ci=!0),Ht.push(Jt[vi]),le(Jt[vi].node,xe.Trailing)&&(cn.push(Ht),Ht=[],Ci=!1)}Ht.length>0&&cn.push(Ht);function ki(Zo){return/^[A-Z]|^[$_]+$/.test(Zo)}function Cr(Zo){return Zo.length<=Xe.tabWidth}function pn(Zo){let Ta=Zo[1].length>0&&Zo[1][0].node.computed;if(Zo[0].length===1){let Sn=Zo[0][0].node;return Sn.type===\"ThisExpression\"||Sn.type===\"Identifier\"&&(ki(Sn.name)||hn&&Cr(Sn.name)||Ta)}let ir=Y(Zo[0]).node;return Z(ir)&&ir.property.type===\"Identifier\"&&(ki(ir.property.name)||Ta)}let ui=cn.length>=2&&!le(cn[1][0].node)&&pn(cn);function Zi(Zo){let Ta=Zo.map(ir=>ir.printed);return Zo.length>0&&Y(Zo).needsParens?[\"(\",...Ta,\")\"]:Ta}function yr(Zo){return Zo.length===0?\"\":pt(je([rt,Ae(rt,Zo.map(Zi))]))}let Zs=cn.map(Zi),hi=Zs,An=ui?3:2,Fi=cn.flat(),Yi=Fi.slice(1,-1).some(Zo=>le(Zo.node,xe.Leading))||Fi.slice(0,-1).some(Zo=>le(Zo.node,xe.Trailing))||cn[An]&&le(cn[An][0].node,xe.Leading);if(cn.length<=An&&!Yi)return ye(Me)?hi:je(hi);let Fr=Y(cn[ui?1:0]).node,as=!$(Fr)&&Hn(Fr),Ds=[Zi(cn[0]),ui?cn.slice(1,2).map(Zi):\"\",as?rt:\"\",yr(cn.slice(ui?2:1))],ta=Jt.map(Zo=>{let{node:Ta}=Zo;return Ta}).filter($);function ll(){let Zo=Y(Y(cn)).node,Ta=Y(Zs);return $(Zo)&&Ve(Ta)&&ta.slice(0,-1).some(ir=>ir.arguments.some(oe))}let Bn;return Yi||ta.length>2&&ta.some(Zo=>!Zo.arguments.every(Ta=>ne(Ta,0)))||Zs.slice(0,-1).some(Ve)||ll()?Bn=je(Ds):Bn=[Ve(hi)||as?fn:\"\",at([hi,Ds])],ce(\"member-chain\",Bn)}ee.exports=Fe}}),se=Ct({\"src/language-js/print/call-expression.js\"(z,ee){Un();var{builders:{join:R,group:Y}}=Ia(),G=Qn(),{getCallArguments:M,hasFlowAnnotationComment:H,isCallExpression:$,isMemberish:Z,isStringLiteral:oe,isTemplateOnItsOwnLine:ye,isTestCall:_e,iterateCallArgumentsPath:ge}=uu(),ne=N(),le=P(),{printOptionalToken:xe,printFunctionTypeParameters:tt}=ie();function j(rt,je,pt){let at=rt.getValue(),fn=rt.getParentNode(),ce=at.type===\"NewExpression\",Ve=at.type===\"ImportExpression\",ae=xe(rt),Ee=M(at);if(Ee.length>0&&(!Ve&&!ce&&Ae(at,fn)||Ee.length===1&&ye(Ee[0],je.originalText)||!ce&&_e(at,fn))){let we=[];return ge(rt,()=>{we.push(pt())}),[ce?\"new \":\"\",pt(\"callee\"),ae,tt(rt,je,pt),\"(\",R(\", \",we),\")\"]}let J=(je.parser===\"babel\"||je.parser===\"babel-flow\")&&at.callee&&at.callee.type===\"Identifier\"&&H(at.callee.trailingComments);if(J&&(at.callee.trailingComments[0].printed=!0),!Ve&&!ce&&Z(at.callee)&&!rt.call(we=>G(we,je),\"callee\"))return ne(rt,je,pt);let me=[ce?\"new \":\"\",Ve?\"import\":pt(\"callee\"),ae,J?`/*:: ${at.callee.trailingComments[0].value.slice(2).trim()} */`:\"\",tt(rt,je,pt),le(rt,je,pt)];return Ve||$(at.callee)?Y(me):me}function Ae(rt,je){if(rt.callee.type!==\"Identifier\")return!1;if(rt.callee.name===\"require\")return!0;if(rt.callee.name===\"define\"){let pt=M(rt);return je.type===\"ExpressionStatement\"&&(pt.length===1||pt.length===2&&pt[0].type===\"ArrayExpression\"||pt.length===3&&oe(pt[0])&&pt[1].type===\"ArrayExpression\")}return!1}ee.exports={printCallExpression:j}}}),Se=Ct({\"src/language-js/print/assignment.js\"(z,ee){Un();var{isNonEmptyArray:R,getStringWidth:Y}=sn(),{builders:{line:G,group:M,indent:H,indentIfBreak:$,lineSuffixBoundary:Z},utils:{cleanDoc:oe,willBreak:ye,canBreak:_e}}=Ia(),{hasLeadingOwnLineComment:ge,isBinaryish:ne,isStringLiteral:le,isLiteral:xe,isNumericLiteral:tt,isCallExpression:j,isMemberExpression:Ae,getCallArguments:rt,rawText:je,hasComment:pt,isSignedNumericLiteral:at,isObjectProperty:fn}=uu(),{shouldInlineLogicalExpression:ce}=X(),{printCallExpression:Ve}=se();function ae(pn,ui,Zi,yr,Zs,hi){let An=me(pn,ui,Zi,yr,hi),Fi=Zi(hi,{assignmentLayout:An});switch(An){case\"break-after-operator\":return M([M(yr),Zs,M(H([G,Fi]))]);case\"never-break-after-operator\":return M([M(yr),Zs,\" \",Fi]);case\"fluid\":{let Yi=Symbol(\"assignment\");return M([M(yr),Zs,M(H(G),{id:Yi}),Z,$(Fi,{groupId:Yi})])}case\"break-lhs\":return M([yr,Zs,\" \",M(Fi)]);case\"chain\":return[M(yr),Zs,G,Fi];case\"chain-tail\":return[M(yr),Zs,H([G,Fi])];case\"chain-tail-arrow-chain\":return[M(yr),Zs,Fi];case\"only-left\":return yr}}function Ee(pn,ui,Zi){let yr=pn.getValue();return ae(pn,ui,Zi,Zi(\"left\"),[\" \",yr.operator],\"right\")}function J(pn,ui,Zi){return ae(pn,ui,Zi,Zi(\"id\"),\" =\",\"init\")}function me(pn,ui,Zi,yr,Zs){let hi=pn.getValue(),An=hi[Zs];if(!An)return\"only-left\";let Fi=!Me(An);if(pn.match(Me,Xe,Fr=>!Fi||Fr.type!==\"ExpressionStatement\"&&Fr.type!==\"VariableDeclaration\"))return Fi?An.type===\"ArrowFunctionExpression\"&&An.body.type===\"ArrowFunctionExpression\"?\"chain-tail-arrow-chain\":\"chain-tail\":\"chain\";if(!Fi&&Me(An.right)||ge(ui.originalText,An))return\"break-after-operator\";if(An.type===\"CallExpression\"&&An.callee.name===\"require\"||ui.parser===\"json5\"||ui.parser===\"json\")return\"never-break-after-operator\";if(Fe(hi)||Dt(hi)||Jt(hi)||Hn(hi)&&_e(yr))return\"break-lhs\";let Yi=Ci(hi,yr,ui);return pn.call(()=>we(pn,ui,Zi,Yi),Zs)?\"break-after-operator\":Yi||An.type===\"TemplateLiteral\"||An.type===\"TaggedTemplateExpression\"||An.type===\"BooleanLiteral\"||tt(An)||An.type===\"ClassExpression\"?\"never-break-after-operator\":\"fluid\"}function we(pn,ui,Zi,yr){let Zs=pn.getValue();if(ne(Zs)&&!ce(Zs))return!0;switch(Zs.type){case\"StringLiteralTypeAnnotation\":case\"SequenceExpression\":return!0;case\"ConditionalExpression\":{let{test:Fi}=Zs;return ne(Fi)&&!ce(Fi)}case\"ClassExpression\":return R(Zs.decorators)}if(yr)return!1;let hi=Zs,An=[];for(;;)if(hi.type===\"UnaryExpression\")hi=hi.argument,An.push(\"argument\");else if(hi.type===\"TSNonNullExpression\")hi=hi.expression,An.push(\"expression\");else break;return!!(le(hi)||pn.call(()=>cn(pn,ui,Zi),...An))}function Fe(pn){if(Xe(pn)){let ui=pn.left||pn.id;return ui.type===\"ObjectPattern\"&&ui.properties.length>2&&ui.properties.some(Zi=>fn(Zi)&&(!Zi.shorthand||Zi.value&&Zi.value.type===\"AssignmentPattern\"))}return!1}function Me(pn){return pn.type===\"AssignmentExpression\"}function Xe(pn){return Me(pn)||pn.type===\"VariableDeclarator\"}function Dt(pn){let ui=Xt(pn);if(R(ui)){let Zi=pn.type===\"TSTypeAliasDeclaration\"?\"constraint\":\"bound\";if(ui.length>1&&ui.some(yr=>yr[Zi]||yr.default))return!0}return!1}function Xt(pn){return hn(pn)&&pn.typeParameters&&pn.typeParameters.params?pn.typeParameters.params:null}function hn(pn){return pn.type===\"TSTypeAliasDeclaration\"||pn.type===\"TypeAlias\"}function Jt(pn){if(pn.type!==\"VariableDeclarator\")return!1;let{typeAnnotation:ui}=pn.id;if(!ui||!ui.typeAnnotation)return!1;let Zi=Nt(ui.typeAnnotation);return R(Zi)&&Zi.length>1&&Zi.some(yr=>R(Nt(yr))||yr.type===\"TSConditionalType\")}function Hn(pn){return pn.type===\"VariableDeclarator\"&&pn.init&&pn.init.type===\"ArrowFunctionExpression\"}function Nt(pn){return Di(pn)&&pn.typeParameters&&pn.typeParameters.params?pn.typeParameters.params:null}function Di(pn){return pn.type===\"TSTypeReference\"||pn.type===\"GenericTypeAnnotation\"}function cn(pn,ui,Zi){let yr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Zs=pn.getValue(),hi=()=>cn(pn,ui,Zi,!0);if(Zs.type===\"TSNonNullExpression\")return pn.call(hi,\"expression\");if(j(Zs)){if(Ve(pn,ui,Zi).label===\"member-chain\")return!1;let An=rt(Zs);return!(An.length===0||An.length===1&&vi(An[0],ui))||ki(Zs,Zi)?!1:pn.call(hi,\"callee\")}return Ae(Zs)?pn.call(hi,\"object\"):yr&&(Zs.type===\"Identifier\"||Zs.type===\"ThisExpression\")}var Ht=.25;function vi(pn,ui){let{printWidth:Zi}=ui;if(pt(pn))return!1;let yr=Zi*Ht;if(pn.type===\"ThisExpression\"||pn.type===\"Identifier\"&&pn.name.length<=yr||at(pn)&&!pt(pn.argument))return!0;let Zs=pn.type===\"Literal\"&&\"regex\"in pn&&pn.regex.pattern||pn.type===\"RegExpLiteral\"&&pn.pattern;return Zs?Zs.length<=yr:le(pn)?je(pn).length<=yr:pn.type===\"TemplateLiteral\"?pn.expressions.length===0&&pn.quasis[0].value.raw.length<=yr&&!pn.quasis[0].value.raw.includes(`\n`):xe(pn)}function Ci(pn,ui,Zi){if(!fn(pn))return!1;ui=oe(ui);let yr=3;return typeof ui==\"string\"&&Y(ui)<Zi.tabWidth+yr}function ki(pn,ui){let Zi=Cr(pn);if(R(Zi)){if(Zi.length>1)return!0;if(Zi.length===1){let Zs=Zi[0];if(Zs.type===\"TSUnionType\"||Zs.type===\"UnionTypeAnnotation\"||Zs.type===\"TSIntersectionType\"||Zs.type===\"IntersectionTypeAnnotation\"||Zs.type===\"TSTypeLiteral\"||Zs.type===\"ObjectTypeAnnotation\")return!0}let yr=pn.typeParameters?\"typeParameters\":\"typeArguments\";if(ye(ui(yr)))return!0}return!1}function Cr(pn){return pn.typeParameters&&pn.typeParameters.params||pn.typeArguments&&pn.typeArguments.params}ee.exports={printVariableDeclarator:J,printAssignmentExpression:Ee,printAssignment:ae,isArrowFunctionVariableDeclarator:Hn}}}),S=Ct({\"src/language-js/print/function-parameters.js\"(z,ee){Un();var{getNextNonSpaceNonCommentCharacter:R}=sn(),{printDanglingComments:Y}=nu(),{builders:{line:G,hardline:M,softline:H,group:$,indent:Z,ifBreak:oe},utils:{removeLines:ye,willBreak:_e}}=Ia(),{getFunctionParameters:ge,iterateFunctionParametersPath:ne,isSimpleType:le,isTestCall:xe,isTypeAnnotationAFunction:tt,isObjectType:j,isObjectTypePropertyAFunction:Ae,hasRestParameter:rt,shouldPrintComma:je,hasComment:pt,isNextLineEmpty:at}=uu(),{locEnd:fn}=Pu(),{ArgExpansionBailout:ce}=_o(),{printFunctionTypeParameters:Ve}=ie();function ae(we,Fe,Me,Xe,Dt){let Xt=we.getValue(),hn=ge(Xt),Jt=Dt?Ve(we,Me,Fe):\"\";if(hn.length===0)return[Jt,\"(\",Y(we,Me,!0,vi=>R(Me.originalText,vi,fn)===\")\"),\")\"];let Hn=we.getParentNode(),Nt=xe(Hn),Di=Ee(Xt),cn=[];if(ne(we,(vi,Ci)=>{let ki=Ci===hn.length-1;ki&&Xt.rest&&cn.push(\"...\"),cn.push(Fe()),!ki&&(cn.push(\",\"),Nt||Di?cn.push(\" \"):at(hn[Ci],Me)?cn.push(M,M):cn.push(G))}),Xe){if(_e(Jt)||_e(cn))throw new ce;return $([ye(Jt),\"(\",ye(cn),\")\"])}let Ht=hn.every(vi=>!vi.decorators);return Di&&Ht?[Jt,\"(\",...cn,\")\"]:Nt?[Jt,\"(\",...cn,\")\"]:(Ae(Hn)||tt(Hn)||Hn.type===\"TypeAlias\"||Hn.type===\"UnionTypeAnnotation\"||Hn.type===\"TSUnionType\"||Hn.type===\"IntersectionTypeAnnotation\"||Hn.type===\"FunctionTypeAnnotation\"&&Hn.returnType===Xt)&&hn.length===1&&hn[0].name===null&&Xt.this!==hn[0]&&hn[0].typeAnnotation&&Xt.typeParameters===null&&le(hn[0].typeAnnotation)&&!Xt.rest?Me.arrowParens===\"always\"?[\"(\",...cn,\")\"]:cn:[Jt,\"(\",Z([H,...cn]),oe(!rt(Xt)&&je(Me,\"all\")?\",\":\"\"),H,\")\"]}function Ee(we){if(!we)return!1;let Fe=ge(we);if(Fe.length!==1)return!1;let[Me]=Fe;return!pt(Me)&&(Me.type===\"ObjectPattern\"||Me.type===\"ArrayPattern\"||Me.type===\"Identifier\"&&Me.typeAnnotation&&(Me.typeAnnotation.type===\"TypeAnnotation\"||Me.typeAnnotation.type===\"TSTypeAnnotation\")&&j(Me.typeAnnotation.typeAnnotation)||Me.type===\"FunctionTypeParam\"&&j(Me.typeAnnotation)||Me.type===\"AssignmentPattern\"&&(Me.left.type===\"ObjectPattern\"||Me.left.type===\"ArrayPattern\")&&(Me.right.type===\"Identifier\"||Me.right.type===\"ObjectExpression\"&&Me.right.properties.length===0||Me.right.type===\"ArrayExpression\"&&Me.right.elements.length===0))}function J(we){let Fe;return we.returnType?(Fe=we.returnType,Fe.typeAnnotation&&(Fe=Fe.typeAnnotation)):we.typeAnnotation&&(Fe=we.typeAnnotation),Fe}function me(we,Fe){let Me=J(we);if(!Me)return!1;let Xe=we.typeParameters&&we.typeParameters.params;if(Xe){if(Xe.length>1)return!1;if(Xe.length===1){let Dt=Xe[0];if(Dt.constraint||Dt.default)return!1}}return ge(we).length===1&&(j(Me)||_e(Fe))}ee.exports={printFunctionParameters:ae,shouldHugFunctionParameters:Ee,shouldGroupFunctionParameters:me}}}),Re=Ct({\"src/language-js/print/type-annotation.js\"(z,ee){Un();var{printComments:R,printDanglingComments:Y}=nu(),{isNonEmptyArray:G}=sn(),{builders:{group:M,join:H,line:$,softline:Z,indent:oe,align:ye,ifBreak:_e}}=Ia(),ge=Qn(),{locStart:ne}=Pu(),{isSimpleType:le,isObjectType:xe,hasLeadingOwnLineComment:tt,isObjectTypePropertyAFunction:j,shouldPrintComma:Ae}=uu(),{printAssignment:rt}=Se(),{printFunctionParameters:je,shouldGroupFunctionParameters:pt}=S(),{printArrayItems:at}=V();function fn(Me){if(le(Me)||xe(Me))return!0;if(Me.type===\"UnionTypeAnnotation\"||Me.type===\"TSUnionType\"){let Xe=Me.types.filter(Xt=>Xt.type===\"VoidTypeAnnotation\"||Xt.type===\"TSVoidKeyword\"||Xt.type===\"NullLiteralTypeAnnotation\"||Xt.type===\"TSNullKeyword\").length,Dt=Me.types.some(Xt=>Xt.type===\"ObjectTypeAnnotation\"||Xt.type===\"TSTypeLiteral\"||Xt.type===\"GenericTypeAnnotation\"||Xt.type===\"TSTypeReference\");if(Me.types.length-1===Xe&&Dt)return!0}return!1}function ce(Me,Xe,Dt){let Xt=Xe.semi?\";\":\"\",hn=Me.getValue(),Jt=[];return Jt.push(\"opaque type \",Dt(\"id\"),Dt(\"typeParameters\")),hn.supertype&&Jt.push(\": \",Dt(\"supertype\")),hn.impltype&&Jt.push(\" = \",Dt(\"impltype\")),Jt.push(Xt),Jt}function Ve(Me,Xe,Dt){let Xt=Xe.semi?\";\":\"\",hn=Me.getValue(),Jt=[];hn.declare&&Jt.push(\"declare \"),Jt.push(\"type \",Dt(\"id\"),Dt(\"typeParameters\"));let Hn=hn.type===\"TSTypeAliasDeclaration\"?\"typeAnnotation\":\"right\";return[rt(Me,Xe,Dt,Jt,\" =\",Hn),Xt]}function ae(Me,Xe,Dt){let Xt=Me.getValue(),hn=Me.map(Dt,\"types\"),Jt=[],Hn=!1;for(let Nt=0;Nt<hn.length;++Nt)Nt===0?Jt.push(hn[Nt]):xe(Xt.types[Nt-1])&&xe(Xt.types[Nt])?Jt.push([\" & \",Hn?oe(hn[Nt]):hn[Nt]]):!xe(Xt.types[Nt-1])&&!xe(Xt.types[Nt])?Jt.push(oe([\" &\",$,hn[Nt]])):(Nt>1&&(Hn=!0),Jt.push(\" & \",Nt>1?oe(hn[Nt]):hn[Nt]));return M(Jt)}function Ee(Me,Xe,Dt){let Xt=Me.getValue(),hn=Me.getParentNode(),Jt=hn.type!==\"TypeParameterInstantiation\"&&hn.type!==\"TSTypeParameterInstantiation\"&&hn.type!==\"GenericTypeAnnotation\"&&hn.type!==\"TSTypeReference\"&&hn.type!==\"TSTypeAssertion\"&&hn.type!==\"TupleTypeAnnotation\"&&hn.type!==\"TSTupleType\"&&!(hn.type===\"FunctionTypeParam\"&&!hn.name&&Me.getParentNode(1).this!==hn)&&!((hn.type===\"TypeAlias\"||hn.type===\"VariableDeclarator\"||hn.type===\"TSTypeAliasDeclaration\")&&tt(Xe.originalText,Xt)),Hn=fn(Xt),Nt=Me.map(Ht=>{let vi=Dt();return Hn||(vi=ye(2,vi)),R(Ht,vi,Xe)},\"types\");if(Hn)return H(\" | \",Nt);let Di=Jt&&!tt(Xe.originalText,Xt),cn=[_e([Di?$:\"\",\"| \"]),H([$,\"| \"],Nt)];return ge(Me,Xe)?M([oe(cn),Z]):hn.type===\"TupleTypeAnnotation\"&&hn.types.length>1||hn.type===\"TSTupleType\"&&hn.elementTypes.length>1?M([oe([_e([\"(\",Z]),cn]),Z,_e(\")\")]):M(Jt?oe(cn):cn)}function J(Me,Xe,Dt){let Xt=Me.getValue(),hn=[],Jt=Me.getParentNode(0),Hn=Me.getParentNode(1),Nt=Me.getParentNode(2),Di=Xt.type===\"TSFunctionType\"||!((Jt.type===\"ObjectTypeProperty\"||Jt.type===\"ObjectTypeInternalSlot\")&&!Jt.variance&&!Jt.optional&&ne(Jt)===ne(Xt)||Jt.type===\"ObjectTypeCallProperty\"||Nt&&Nt.type===\"DeclareFunction\"),cn=Di&&(Jt.type===\"TypeAnnotation\"||Jt.type===\"TSTypeAnnotation\"),Ht=cn&&Di&&(Jt.type===\"TypeAnnotation\"||Jt.type===\"TSTypeAnnotation\")&&Hn.type===\"ArrowFunctionExpression\";j(Jt)&&(Di=!0,cn=!0),Ht&&hn.push(\"(\");let vi=je(Me,Dt,Xe,!1,!0),Ci=Xt.returnType||Xt.predicate||Xt.typeAnnotation?[Di?\" => \":\": \",Dt(\"returnType\"),Dt(\"predicate\"),Dt(\"typeAnnotation\")]:\"\",ki=pt(Xt,Ci);return hn.push(ki?M(vi):vi),Ci&&hn.push(Ci),Ht&&hn.push(\")\"),M(hn)}function me(Me,Xe,Dt){let Xt=Me.getValue(),hn=Xt.type===\"TSTupleType\"?\"elementTypes\":\"types\",Jt=Xt[hn],Hn=G(Jt),Nt=Hn?Z:\"\";return M([\"[\",oe([Nt,at(Me,Xe,hn,Dt)]),_e(Hn&&Ae(Xe,\"all\")?\",\":\"\"),Y(Me,Xe,!0),Nt,\"]\"])}function we(Me,Xe,Dt){let Xt=Me.getValue(),hn=Xt.type===\"OptionalIndexedAccessType\"&&Xt.optional?\"?.[\":\"[\";return[Dt(\"objectType\"),hn,Dt(\"indexType\"),\"]\"]}function Fe(Me,Xe,Dt){let Xt=Me.getValue();return[Xt.postfix?\"\":Dt,Xe(\"typeAnnotation\"),Xt.postfix?Dt:\"\"]}ee.exports={printOpaqueType:ce,printTypeAlias:Ve,printIntersectionType:ae,printUnionType:Ee,printFunctionType:J,printTupleType:me,printIndexedAccessType:we,shouldHugType:fn,printJSDocType:Fe}}}),dt=Ct({\"src/language-js/print/type-parameters.js\"(z,ee){Un();var{printDanglingComments:R}=nu(),{builders:{join:Y,line:G,hardline:M,softline:H,group:$,indent:Z,ifBreak:oe}}=Ia(),{isTestCall:ye,hasComment:_e,CommentCheckFlags:ge,isTSXFile:ne,shouldPrintComma:le,getFunctionParameters:xe,isObjectType:tt,getTypeScriptMappedTypeModifier:j}=uu(),{createGroupIdMapper:Ae}=sn(),{shouldHugType:rt}=Re(),{isArrowFunctionVariableDeclarator:je}=Se(),pt=Ae(\"typeParameters\");function at(Ve,ae,Ee,J){let me=Ve.getValue();if(!me[J])return\"\";if(!Array.isArray(me[J]))return Ee(J);let we=Ve.getNode(2),Fe=we&&ye(we),Me=Ve.match(Dt=>!(Dt[J].length===1&&tt(Dt[J][0])),void 0,(Dt,Xt)=>Xt===\"typeAnnotation\",Dt=>Dt.type===\"Identifier\",je);if(me[J].length===0||!Me&&(Fe||me[J].length===1&&(me[J][0].type===\"NullableTypeAnnotation\"||rt(me[J][0]))))return[\"<\",Y(\", \",Ve.map(Ee,J)),fn(Ve,ae),\">\"];let Xe=me.type===\"TSTypeParameterInstantiation\"?\"\":xe(me).length===1&&ne(ae)&&!me[J][0].constraint&&Ve.getParentNode().type===\"ArrowFunctionExpression\"?\",\":le(ae,\"all\")?oe(\",\"):\"\";return $([\"<\",Z([H,Y([\",\",G],Ve.map(Ee,J))]),Xe,H,\">\"],{id:pt(me)})}function fn(Ve,ae){let Ee=Ve.getValue();if(!_e(Ee,ge.Dangling))return\"\";let J=!_e(Ee,ge.Line),me=R(Ve,ae,J);return J?me:[me,M]}function ce(Ve,ae,Ee){let J=Ve.getValue(),me=[J.type===\"TSTypeParameter\"&&J.const?\"const \":\"\"],we=Ve.getParentNode();return we.type===\"TSMappedType\"?(we.readonly&&me.push(j(we.readonly,\"readonly\"),\" \"),me.push(\"[\",Ee(\"name\")),J.constraint&&me.push(\" in \",Ee(\"constraint\")),we.nameType&&me.push(\" as \",Ve.callParent(()=>Ee(\"nameType\"))),me.push(\"]\"),me):(J.variance&&me.push(Ee(\"variance\")),J.in&&me.push(\"in \"),J.out&&me.push(\"out \"),me.push(Ee(\"name\")),J.bound&&me.push(\": \",Ee(\"bound\")),J.constraint&&me.push(\" extends \",Ee(\"constraint\")),J.default&&me.push(\" = \",Ee(\"default\")),me)}ee.exports={printTypeParameter:ce,printTypeParameters:at,getTypeParametersGroupId:pt}}}),_n=Ct({\"src/language-js/print/property.js\"(z,ee){Un();var{printComments:R}=nu(),{printString:Y,printNumber:G}=sn(),{isNumericLiteral:M,isSimpleNumber:H,isStringLiteral:$,isStringPropSafeToUnquote:Z,rawText:oe}=uu(),{printAssignment:ye}=Se(),_e=new WeakMap;function ge(le,xe,tt){let j=le.getNode();if(j.computed)return[\"[\",tt(\"key\"),\"]\"];let Ae=le.getParentNode(),{key:rt}=j;if(xe.quoteProps===\"consistent\"&&!_e.has(Ae)){let je=(Ae.properties||Ae.body||Ae.members).some(pt=>!pt.computed&&pt.key&&$(pt.key)&&!Z(pt,xe));_e.set(Ae,je)}if((rt.type===\"Identifier\"||M(rt)&&H(G(oe(rt)))&&String(rt.value)===G(oe(rt))&&!(xe.parser===\"typescript\"||xe.parser===\"babel-ts\"))&&(xe.parser===\"json\"||xe.quoteProps===\"consistent\"&&_e.get(Ae))){let je=Y(JSON.stringify(rt.type===\"Identifier\"?rt.name:rt.value.toString()),xe);return le.call(pt=>R(pt,je,xe),\"key\")}return Z(j,xe)&&(xe.quoteProps===\"as-needed\"||xe.quoteProps===\"consistent\"&&!_e.get(Ae))?le.call(je=>R(je,/^\\d/.test(rt.value)?G(rt.value):rt.value,xe),\"key\"):tt(\"key\")}function ne(le,xe,tt){return le.getValue().shorthand?tt(\"value\"):ye(le,xe,tt,ge(le,xe,tt),\":\",\"value\")}ee.exports={printProperty:ne,printPropertyKey:ge}}}),Qt=Ct({\"src/language-js/print/function.js\"(z,ee){Un();var R=Au(),{printDanglingComments:Y,printCommentsSeparately:G}=nu(),M=qu(),{getNextNonSpaceNonCommentCharacterIndex:H}=sn(),{builders:{line:$,softline:Z,group:oe,indent:ye,ifBreak:_e,hardline:ge,join:ne,indentIfBreak:le},utils:{removeLines:xe,willBreak:tt}}=Ia(),{ArgExpansionBailout:j}=_o(),{getFunctionParameters:Ae,hasLeadingOwnLineComment:rt,isFlowAnnotationComment:je,isJsxNode:pt,isTemplateOnItsOwnLine:at,shouldPrintComma:fn,startsWithNoLookaheadToken:ce,isBinaryish:Ve,isLineComment:ae,hasComment:Ee,getComments:J,CommentCheckFlags:me,isCallLikeExpression:we,isCallExpression:Fe,getCallArguments:Me,hasNakedLeftSide:Xe,getLeftSide:Dt}=uu(),{locEnd:Xt}=Pu(),{printFunctionParameters:hn,shouldGroupFunctionParameters:Jt}=S(),{printPropertyKey:Hn}=_n(),{printFunctionTypeParameters:Nt}=ie();function Di(An,Fi,Yi,Fr){let as=An.getValue(),Ds=!1;if((as.type===\"FunctionDeclaration\"||as.type===\"FunctionExpression\")&&Fr&&Fr.expandLastArg){let Ta=An.getParentNode();Fe(Ta)&&Me(Ta).length>1&&(Ds=!0)}let ta=[];as.type===\"TSDeclareFunction\"&&as.declare&&ta.push(\"declare \"),as.async&&ta.push(\"async \"),as.generator?ta.push(\"function* \"):ta.push(\"function \"),as.id&&ta.push(Fi(\"id\"));let ll=hn(An,Fi,Yi,Ds),Bn=ui(An,Fi,Yi),Zo=Jt(as,Bn);return ta.push(Nt(An,Yi,Fi),oe([Zo?oe(ll):ll,Bn]),as.body?\" \":\"\",Fi(\"body\")),Yi.semi&&(as.declare||!as.body)&&ta.push(\";\"),ta}function cn(An,Fi,Yi){let Fr=An.getNode(),{kind:as}=Fr,Ds=Fr.value||Fr,ta=[];return!as||as===\"init\"||as===\"method\"||as===\"constructor\"?Ds.async&&ta.push(\"async \"):(R.ok(as===\"get\"||as===\"set\"),ta.push(as,\" \")),Ds.generator&&ta.push(\"*\"),ta.push(Hn(An,Fi,Yi),Fr.optional||Fr.key.optional?\"?\":\"\"),Fr===Ds?ta.push(Ht(An,Fi,Yi)):Ds.type===\"FunctionExpression\"?ta.push(An.call(ll=>Ht(ll,Fi,Yi),\"value\")):ta.push(Yi(\"value\")),ta}function Ht(An,Fi,Yi){let Fr=An.getNode(),as=hn(An,Yi,Fi),Ds=ui(An,Yi,Fi),ta=Jt(Fr,Ds),ll=[Nt(An,Fi,Yi),oe([ta?oe(as):as,Ds])];return Fr.body?ll.push(\" \",Yi(\"body\")):ll.push(Fi.semi?\";\":\"\"),ll}function vi(An,Fi,Yi,Fr){let as=An.getValue(),Ds=[];if(as.async&&Ds.push(\"async \"),pn(An,Fi))Ds.push(Yi([\"params\",0]));else{let ll=Fr&&(Fr.expandLastArg||Fr.expandFirstArg),Bn=ui(An,Yi,Fi);if(ll){if(tt(Bn))throw new j;Bn=oe(xe(Bn))}Ds.push(oe([hn(An,Yi,Fi,ll,!0),Bn]))}let ta=Y(An,Fi,!0,ll=>{let Bn=H(Fi.originalText,ll,Xt);return Bn!==!1&&Fi.originalText.slice(Bn,Bn+2)===\"=>\"});return ta&&Ds.push(\" \",ta),Ds}function Ci(An,Fi,Yi,Fr,as,Ds){let ta=An.getName(),ll=An.getParentNode(),Bn=we(ll)&&ta===\"callee\",Zo=Boolean(Fi&&Fi.assignmentLayout),Ta=Ds.body.type!==\"BlockStatement\"&&Ds.body.type!==\"ObjectExpression\"&&Ds.body.type!==\"SequenceExpression\",ir=Bn&&Ta||Fi&&Fi.assignmentLayout===\"chain-tail-arrow-chain\",Sn=Symbol(\"arrow-chain\");return Ds.body.type===\"SequenceExpression\"&&(as=oe([\"(\",ye([Z,as]),Z,\")\"])),oe([oe(ye([Bn||Zo?Z:\"\",oe(ne([\" =>\",$],Yi),{shouldBreak:Fr})]),{id:Sn,shouldBreak:ir}),\" =>\",le(Ta?ye([$,as]):[\" \",as],{groupId:Sn}),Bn?_e(Z,\"\",{groupId:Sn}):\"\"])}function ki(An,Fi,Yi,Fr){let as=An.getValue(),Ds=[],ta=[],ll=!1;if(function Sn(){let ur=vi(An,Fi,Yi,Fr);if(Ds.length===0)Ds.push(ur);else{let{leading:pi,trailing:pr}=G(An,Fi);Ds.push([pi,ur]),ta.unshift(pr)}ll=ll||as.returnType&&Ae(as).length>0||as.typeParameters||Ae(as).some(pi=>pi.type!==\"Identifier\"),as.body.type!==\"ArrowFunctionExpression\"||Fr&&Fr.expandLastArg?ta.unshift(Yi(\"body\",Fr)):(as=as.body,An.call(Sn,\"body\"))}(),Ds.length>1)return Ci(An,Fr,Ds,ll,ta,as);let Bn=Ds;if(Bn.push(\" =>\"),!rt(Fi.originalText,as.body)&&(as.body.type===\"ArrayExpression\"||as.body.type===\"ObjectExpression\"||as.body.type===\"BlockStatement\"||pt(as.body)||at(as.body,Fi.originalText)||as.body.type===\"ArrowFunctionExpression\"||as.body.type===\"DoExpression\"))return oe([...Bn,\" \",ta]);if(as.body.type===\"SequenceExpression\")return oe([...Bn,oe([\" (\",ye([Z,ta]),Z,\")\"])]);let Zo=(Fr&&Fr.expandLastArg||An.getParentNode().type===\"JSXExpressionContainer\")&&!Ee(as),Ta=Fr&&Fr.expandLastArg&&fn(Fi,\"all\"),ir=as.body.type===\"ConditionalExpression\"&&!ce(as.body,Sn=>Sn.type===\"ObjectExpression\");return oe([...Bn,oe([ye([$,ir?_e(\"\",\"(\"):\"\",ta,ir?_e(\"\",\")\"):\"\"]),Zo?[_e(Ta?\",\":\"\"),Z]:\"\"])])}function Cr(An){let Fi=Ae(An);return Fi.length===1&&!An.typeParameters&&!Ee(An,me.Dangling)&&Fi[0].type===\"Identifier\"&&!Fi[0].typeAnnotation&&!Ee(Fi[0])&&!Fi[0].optional&&!An.predicate&&!An.returnType}function pn(An,Fi){if(Fi.arrowParens===\"always\")return!1;if(Fi.arrowParens===\"avoid\"){let Yi=An.getValue();return Cr(Yi)}return!1}function ui(An,Fi,Yi){let Fr=An.getValue(),as=Fi(\"returnType\");if(Fr.returnType&&je(Yi.originalText,Fr.returnType))return[\" /*: \",as,\" */\"];let Ds=[as];return Fr.returnType&&Fr.returnType.typeAnnotation&&Ds.unshift(\": \"),Fr.predicate&&Ds.push(Fr.returnType?\" \":\": \",Fi(\"predicate\")),Ds}function Zi(An,Fi,Yi){let Fr=An.getValue(),as=Fi.semi?\";\":\"\",Ds=[];Fr.argument&&(hi(Fi,Fr.argument)?Ds.push([\" (\",ye([ge,Yi(\"argument\")]),ge,\")\"]):Ve(Fr.argument)||Fr.argument.type===\"SequenceExpression\"?Ds.push(oe([_e(\" (\",\" \"),ye([Z,Yi(\"argument\")]),Z,_e(\")\")])):Ds.push(\" \",Yi(\"argument\")));let ta=J(Fr),ll=M(ta),Bn=ll&&ae(ll);return Bn&&Ds.push(as),Ee(Fr,me.Dangling)&&Ds.push(\" \",Y(An,Fi,!0)),Bn||Ds.push(as),Ds}function yr(An,Fi,Yi){return[\"return\",Zi(An,Fi,Yi)]}function Zs(An,Fi,Yi){return[\"throw\",Zi(An,Fi,Yi)]}function hi(An,Fi){if(rt(An.originalText,Fi))return!0;if(Xe(Fi)){let Yi=Fi,Fr;for(;Fr=Dt(Yi);)if(Yi=Fr,rt(An.originalText,Yi))return!0}return!1}ee.exports={printFunction:Di,printArrowFunction:ki,printMethod:cn,printReturnStatement:yr,printThrowStatement:Zs,printMethodInternal:Ht,shouldPrintParamsWithoutParens:pn}}}),Mn=Ct({\"src/language-js/print/decorators.js\"(z,ee){Un();var{isNonEmptyArray:R,hasNewline:Y}=sn(),{builders:{line:G,hardline:M,join:H,breakParent:$,group:Z}}=Ia(),{locStart:oe,locEnd:ye}=Pu(),{getParentExportDeclaration:_e}=uu();function ge(j,Ae,rt){let je=j.getValue();return Z([H(G,j.map(rt,\"decorators\")),xe(je,Ae)?M:G])}function ne(j,Ae,rt){return[H(M,j.map(rt,\"declaration\",\"decorators\")),M]}function le(j,Ae,rt){let je=j.getValue(),{decorators:pt}=je;if(!R(pt)||tt(j.getParentNode()))return;let at=je.type===\"ClassExpression\"||je.type===\"ClassDeclaration\"||xe(je,Ae);return[_e(j)?M:at?$:\"\",H(G,j.map(rt,\"decorators\")),G]}function xe(j,Ae){return j.decorators.some(rt=>Y(Ae.originalText,ye(rt)))}function tt(j){if(j.type!==\"ExportDefaultDeclaration\"&&j.type!==\"ExportNamedDeclaration\"&&j.type!==\"DeclareExportDeclaration\")return!1;let Ae=j.declaration&&j.declaration.decorators;return R(Ae)&&oe(j)===oe(Ae[0])}ee.exports={printDecorators:le,printClassMemberDecorators:ge,printDecoratorsBeforeExport:ne,hasDecoratorsBeforeExport:tt}}}),Bi=Ct({\"src/language-js/print/class.js\"(z,ee){Un();var{isNonEmptyArray:R,createGroupIdMapper:Y}=sn(),{printComments:G,printDanglingComments:M}=nu(),{builders:{join:H,line:$,hardline:Z,softline:oe,group:ye,indent:_e,ifBreak:ge}}=Ia(),{hasComment:ne,CommentCheckFlags:le}=uu(),{getTypeParametersGroupId:xe}=dt(),{printMethod:tt}=Qt(),{printOptionalToken:j,printTypeAnnotation:Ae,printDefiniteToken:rt}=ie(),{printPropertyKey:je}=_n(),{printAssignment:pt}=Se(),{printClassMemberDecorators:at}=Mn();function fn(Me,Xe,Dt){let Xt=Me.getValue(),hn=[];Xt.declare&&hn.push(\"declare \"),Xt.abstract&&hn.push(\"abstract \"),hn.push(\"class\");let Jt=Xt.id&&ne(Xt.id,le.Trailing)||Xt.typeParameters&&ne(Xt.typeParameters,le.Trailing)||Xt.superClass&&ne(Xt.superClass)||R(Xt.extends)||R(Xt.mixins)||R(Xt.implements),Hn=[],Nt=[];if(Xt.id&&Hn.push(\" \",Dt(\"id\")),Hn.push(Dt(\"typeParameters\")),Xt.superClass){let Di=[me(Me,Xe,Dt),Dt(\"superTypeParameters\")],cn=Me.call(Ht=>[\"extends \",G(Ht,Di,Xe)],\"superClass\");Jt?Nt.push($,ye(cn)):Nt.push(\" \",cn)}else Nt.push(J(Me,Xe,Dt,\"extends\"));if(Nt.push(J(Me,Xe,Dt,\"mixins\"),J(Me,Xe,Dt,\"implements\")),Jt){let Di;Ee(Xt)?Di=[...Hn,_e(Nt)]:Di=_e([...Hn,Nt]),hn.push(ye(Di,{id:ce(Xt)}))}else hn.push(...Hn,...Nt);return hn.push(\" \",Dt(\"body\")),hn}var ce=Y(\"heritageGroup\");function Ve(Me){return ge(Z,\"\",{groupId:ce(Me)})}function ae(Me){return[\"superClass\",\"extends\",\"mixins\",\"implements\"].filter(Xe=>Boolean(Me[Xe])).length>1}function Ee(Me){return Me.typeParameters&&!ne(Me.typeParameters,le.Trailing|le.Line)&&!ae(Me)}function J(Me,Xe,Dt,Xt){let hn=Me.getValue();if(!R(hn[Xt]))return\"\";let Jt=M(Me,Xe,!0,Hn=>{let{marker:Nt}=Hn;return Nt===Xt});return[Ee(hn)?ge(\" \",$,{groupId:xe(hn.typeParameters)}):$,Jt,Jt&&Z,Xt,ye(_e([$,H([\",\",$],Me.map(Dt,Xt))]))]}function me(Me,Xe,Dt){let Xt=Dt(\"superClass\");return Me.getParentNode().type===\"AssignmentExpression\"?ye(ge([\"(\",_e([oe,Xt]),oe,\")\"],Xt)):Xt}function we(Me,Xe,Dt){let Xt=Me.getValue(),hn=[];return R(Xt.decorators)&&hn.push(at(Me,Xe,Dt)),Xt.accessibility&&hn.push(Xt.accessibility+\" \"),Xt.readonly&&hn.push(\"readonly \"),Xt.declare&&hn.push(\"declare \"),Xt.static&&hn.push(\"static \"),(Xt.type===\"TSAbstractMethodDefinition\"||Xt.abstract)&&hn.push(\"abstract \"),Xt.override&&hn.push(\"override \"),hn.push(tt(Me,Xe,Dt)),hn}function Fe(Me,Xe,Dt){let Xt=Me.getValue(),hn=[],Jt=Xe.semi?\";\":\"\";return R(Xt.decorators)&&hn.push(at(Me,Xe,Dt)),Xt.accessibility&&hn.push(Xt.accessibility+\" \"),Xt.declare&&hn.push(\"declare \"),Xt.static&&hn.push(\"static \"),(Xt.type===\"TSAbstractPropertyDefinition\"||Xt.type===\"TSAbstractAccessorProperty\"||Xt.abstract)&&hn.push(\"abstract \"),Xt.override&&hn.push(\"override \"),Xt.readonly&&hn.push(\"readonly \"),Xt.variance&&hn.push(Dt(\"variance\")),(Xt.type===\"ClassAccessorProperty\"||Xt.type===\"AccessorProperty\"||Xt.type===\"TSAbstractAccessorProperty\")&&hn.push(\"accessor \"),hn.push(je(Me,Xe,Dt),j(Me),rt(Me),Ae(Me,Xe,Dt)),[pt(Me,Xe,Dt,hn,\" =\",\"value\"),Jt]}ee.exports={printClass:fn,printClassMethod:we,printClassProperty:Fe,printHardlineAfterHeritage:Ve}}}),yn=Ct({\"src/language-js/print/interface.js\"(z,ee){Un();var{isNonEmptyArray:R}=sn(),{builders:{join:Y,line:G,group:M,indent:H,ifBreak:$}}=Ia(),{hasComment:Z,identity:oe,CommentCheckFlags:ye}=uu(),{getTypeParametersGroupId:_e}=dt(),{printTypeScriptModifiers:ge}=ie();function ne(le,xe,tt){let j=le.getValue(),Ae=[];j.declare&&Ae.push(\"declare \"),j.type===\"TSInterfaceDeclaration\"&&Ae.push(j.abstract?\"abstract \":\"\",ge(le,xe,tt)),Ae.push(\"interface\");let rt=[],je=[];j.type!==\"InterfaceTypeAnnotation\"&&rt.push(\" \",tt(\"id\"),tt(\"typeParameters\"));let pt=j.typeParameters&&!Z(j.typeParameters,ye.Trailing|ye.Line);return R(j.extends)&&je.push(pt?$(\" \",G,{groupId:_e(j.typeParameters)}):G,\"extends \",(j.extends.length===1?oe:H)(Y([\",\",G],le.map(tt,\"extends\")))),j.id&&Z(j.id,ye.Trailing)||R(j.extends)?pt?Ae.push(M([...rt,H(je)])):Ae.push(M(H([...rt,...je]))):Ae.push(...rt,...je),Ae.push(\" \",tt(\"body\")),M(Ae)}ee.exports={printInterface:ne}}}),vn=Ct({\"src/language-js/print/module.js\"(z,ee){Un();var{isNonEmptyArray:R}=sn(),{builders:{softline:Y,group:G,indent:M,join:H,line:$,ifBreak:Z,hardline:oe}}=Ia(),{printDanglingComments:ye}=nu(),{hasComment:_e,CommentCheckFlags:ge,shouldPrintComma:ne,needsHardlineAfterDanglingComment:le,isStringLiteral:xe,rawText:tt}=uu(),{locStart:j,hasSameLoc:Ae}=Pu(),{hasDecoratorsBeforeExport:rt,printDecoratorsBeforeExport:je}=Mn();function pt(Fe,Me,Xe){let Dt=Fe.getValue(),Xt=Me.semi?\";\":\"\",hn=[],{importKind:Jt}=Dt;return hn.push(\"import\"),Jt&&Jt!==\"value\"&&hn.push(\" \",Jt),hn.push(ae(Fe,Me,Xe),Ve(Fe,Me,Xe),J(Fe,Me,Xe),Xt),hn}function at(Fe,Me,Xe){let Dt=Fe.getValue(),Xt=[];rt(Dt)&&Xt.push(je(Fe,Me,Xe));let{type:hn,exportKind:Jt,declaration:Hn}=Dt;return Xt.push(\"export\"),(Dt.default||hn===\"ExportDefaultDeclaration\")&&Xt.push(\" default\"),_e(Dt,ge.Dangling)&&(Xt.push(\" \",ye(Fe,Me,!0)),le(Dt)&&Xt.push(oe)),Hn?Xt.push(\" \",Xe(\"declaration\")):Xt.push(Jt===\"type\"?\" type\":\"\",ae(Fe,Me,Xe),Ve(Fe,Me,Xe),J(Fe,Me,Xe)),ce(Dt,Me)&&Xt.push(\";\"),Xt}function fn(Fe,Me,Xe){let Dt=Fe.getValue(),Xt=Me.semi?\";\":\"\",hn=[],{exportKind:Jt,exported:Hn}=Dt;return hn.push(\"export\"),Jt===\"type\"&&hn.push(\" type\"),hn.push(\" *\"),Hn&&hn.push(\" as \",Xe(\"exported\")),hn.push(Ve(Fe,Me,Xe),J(Fe,Me,Xe),Xt),hn}function ce(Fe,Me){if(!Me.semi)return!1;let{type:Xe,declaration:Dt}=Fe,Xt=Fe.default||Xe===\"ExportDefaultDeclaration\";if(!Dt)return!0;let{type:hn}=Dt;return!!(Xt&&hn!==\"ClassDeclaration\"&&hn!==\"FunctionDeclaration\"&&hn!==\"TSInterfaceDeclaration\"&&hn!==\"DeclareClass\"&&hn!==\"DeclareFunction\"&&hn!==\"TSDeclareFunction\"&&hn!==\"EnumDeclaration\")}function Ve(Fe,Me,Xe){let Dt=Fe.getValue();if(!Dt.source)return\"\";let Xt=[];return Ee(Dt,Me)||Xt.push(\" from\"),Xt.push(\" \",Xe(\"source\")),Xt}function ae(Fe,Me,Xe){let Dt=Fe.getValue();if(Ee(Dt,Me))return\"\";let Xt=[\" \"];if(R(Dt.specifiers)){let hn=[],Jt=[];Fe.each(()=>{let Hn=Fe.getValue().type;if(Hn===\"ExportNamespaceSpecifier\"||Hn===\"ExportDefaultSpecifier\"||Hn===\"ImportNamespaceSpecifier\"||Hn===\"ImportDefaultSpecifier\")hn.push(Xe());else if(Hn===\"ExportSpecifier\"||Hn===\"ImportSpecifier\")Jt.push(Xe());else throw new Error(`Unknown specifier type ${JSON.stringify(Hn)}`)},\"specifiers\"),Xt.push(H(\", \",hn)),Jt.length>0&&(hn.length>0&&Xt.push(\", \"),Jt.length>1||hn.length>0||Dt.specifiers.some(Hn=>_e(Hn))?Xt.push(G([\"{\",M([Me.bracketSpacing?$:Y,H([\",\",$],Jt)]),Z(ne(Me)?\",\":\"\"),Me.bracketSpacing?$:Y,\"}\"])):Xt.push([\"{\",Me.bracketSpacing?\" \":\"\",...Jt,Me.bracketSpacing?\" \":\"\",\"}\"]))}else Xt.push(\"{}\");return Xt}function Ee(Fe,Me){let{type:Xe,importKind:Dt,source:Xt,specifiers:hn}=Fe;return Xe!==\"ImportDeclaration\"||R(hn)||Dt===\"type\"?!1:!/{\\s*}/.test(Me.originalText.slice(j(Fe),j(Xt)))}function J(Fe,Me,Xe){let Dt=Fe.getNode();return R(Dt.assertions)?[\" assert {\",Me.bracketSpacing?\" \":\"\",H(\", \",Fe.map(Xe,\"assertions\")),Me.bracketSpacing?\" \":\"\",\"}\"]:\"\"}function me(Fe,Me,Xe){let Dt=Fe.getNode(),{type:Xt}=Dt,hn=[],Jt=Xt===\"ImportSpecifier\"?Dt.importKind:Dt.exportKind;Jt&&Jt!==\"value\"&&hn.push(Jt,\" \");let Hn=Xt.startsWith(\"Import\"),Nt=Hn?\"imported\":\"local\",Di=Hn?\"local\":\"exported\",cn=Dt[Nt],Ht=Dt[Di],vi=\"\",Ci=\"\";return Xt===\"ExportNamespaceSpecifier\"||Xt===\"ImportNamespaceSpecifier\"?vi=\"*\":cn&&(vi=Xe(Nt)),Ht&&!we(Dt)&&(Ci=Xe(Di)),hn.push(vi,vi&&Ci?\" as \":\"\",Ci),hn}function we(Fe){if(Fe.type!==\"ImportSpecifier\"&&Fe.type!==\"ExportSpecifier\")return!1;let{local:Me,[Fe.type===\"ImportSpecifier\"?\"imported\":\"exported\"]:Xe}=Fe;if(Me.type!==Xe.type||!Ae(Me,Xe))return!1;if(xe(Me))return Me.value===Xe.value&&tt(Me)===tt(Xe);switch(Me.type){case\"Identifier\":return Me.name===Xe.name;default:return!1}}ee.exports={printImportDeclaration:pt,printExportDeclaration:at,printExportAllDeclaration:fn,printModuleSpecifier:me}}}),Ut=Ct({\"src/language-js/print/object.js\"(z,ee){Un();var{printDanglingComments:R}=nu(),{builders:{line:Y,softline:G,group:M,indent:H,ifBreak:$,hardline:Z}}=Ia(),{getLast:oe,hasNewlineInRange:ye,hasNewline:_e,isNonEmptyArray:ge}=sn(),{shouldPrintComma:ne,hasComment:le,getComments:xe,CommentCheckFlags:tt,isNextLineEmpty:j}=uu(),{locStart:Ae,locEnd:rt}=Pu(),{printOptionalToken:je,printTypeAnnotation:pt}=ie(),{shouldHugFunctionParameters:at}=S(),{shouldHugType:fn}=Re(),{printHardlineAfterHeritage:ce}=Bi();function Ve(ae,Ee,J){let me=Ee.semi?\";\":\"\",we=ae.getValue(),Fe;we.type===\"TSTypeLiteral\"?Fe=\"members\":we.type===\"TSInterfaceBody\"?Fe=\"body\":Fe=\"properties\";let Me=we.type===\"ObjectTypeAnnotation\",Xe=[Fe];Me&&Xe.push(\"indexers\",\"callProperties\",\"internalSlots\");let Dt=Xe.map(pn=>we[pn][0]).sort((pn,ui)=>Ae(pn)-Ae(ui))[0],Xt=ae.getParentNode(0),hn=Me&&Xt&&(Xt.type===\"InterfaceDeclaration\"||Xt.type===\"DeclareInterface\"||Xt.type===\"DeclareClass\")&&ae.getName()===\"body\",Jt=we.type===\"TSInterfaceBody\"||hn||we.type===\"ObjectPattern\"&&Xt.type!==\"FunctionDeclaration\"&&Xt.type!==\"FunctionExpression\"&&Xt.type!==\"ArrowFunctionExpression\"&&Xt.type!==\"ObjectMethod\"&&Xt.type!==\"ClassMethod\"&&Xt.type!==\"ClassPrivateMethod\"&&Xt.type!==\"AssignmentPattern\"&&Xt.type!==\"CatchClause\"&&we.properties.some(pn=>pn.value&&(pn.value.type===\"ObjectPattern\"||pn.value.type===\"ArrayPattern\"))||we.type!==\"ObjectPattern\"&&Dt&&ye(Ee.originalText,Ae(we),Ae(Dt)),Hn=hn?\";\":we.type===\"TSInterfaceBody\"||we.type===\"TSTypeLiteral\"?$(me,\";\"):\",\",Nt=we.type===\"RecordExpression\"?\"#{\":we.exact?\"{|\":\"{\",Di=we.exact?\"|}\":\"}\",cn=[];for(let pn of Xe)ae.each(ui=>{let Zi=ui.getValue();cn.push({node:Zi,printed:J(),loc:Ae(Zi)})},pn);Xe.length>1&&cn.sort((pn,ui)=>pn.loc-ui.loc);let Ht=[],vi=cn.map(pn=>{let ui=[...Ht,M(pn.printed)];return Ht=[Hn,Y],(pn.node.type===\"TSPropertySignature\"||pn.node.type===\"TSMethodSignature\"||pn.node.type===\"TSConstructSignatureDeclaration\")&&le(pn.node,tt.PrettierIgnore)&&Ht.shift(),j(pn.node,Ee)&&Ht.push(Z),ui});if(we.inexact){let pn;if(le(we,tt.Dangling)){let ui=le(we,tt.Line);pn=[R(ae,Ee,!0),ui||_e(Ee.originalText,rt(oe(xe(we))))?Z:Y,\"...\"]}else pn=[\"...\"];vi.push([...Ht,...pn])}let Ci=oe(we[Fe]),ki=!(we.inexact||Ci&&Ci.type===\"RestElement\"||Ci&&(Ci.type===\"TSPropertySignature\"||Ci.type===\"TSCallSignatureDeclaration\"||Ci.type===\"TSMethodSignature\"||Ci.type===\"TSConstructSignatureDeclaration\")&&le(Ci,tt.PrettierIgnore)),Cr;if(vi.length===0){if(!le(we,tt.Dangling))return[Nt,Di,pt(ae,Ee,J)];Cr=M([Nt,R(ae,Ee),G,Di,je(ae),pt(ae,Ee,J)])}else Cr=[hn&&ge(we.properties)?ce(Xt):\"\",Nt,H([Ee.bracketSpacing?Y:G,...vi]),$(ki&&(Hn!==\",\"||ne(Ee))?Hn:\"\"),Ee.bracketSpacing?Y:G,Di,je(ae),pt(ae,Ee,J)];return ae.match(pn=>pn.type===\"ObjectPattern\"&&!pn.decorators,(pn,ui,Zi)=>at(pn)&&(ui===\"params\"||ui===\"parameters\"||ui===\"this\"||ui===\"rest\")&&Zi===0)||ae.match(fn,(pn,ui)=>ui===\"typeAnnotation\",(pn,ui)=>ui===\"typeAnnotation\",(pn,ui,Zi)=>at(pn)&&(ui===\"params\"||ui===\"parameters\"||ui===\"this\"||ui===\"rest\")&&Zi===0)||!Jt&&ae.match(pn=>pn.type===\"ObjectPattern\",pn=>pn.type===\"AssignmentExpression\"||pn.type===\"VariableDeclarator\")?Cr:M(Cr,{shouldBreak:Jt})}ee.exports={printObject:Ve}}}),In=Ct({\"src/language-js/print/flow.js\"(z,ee){Un();var R=Au(),{printDanglingComments:Y}=nu(),{printString:G,printNumber:M}=sn(),{builders:{hardline:H,softline:$,group:Z,indent:oe}}=Ia(),{getParentExportDeclaration:ye,isFunctionNotation:_e,isGetterOrSetter:ge,rawText:ne,shouldPrintComma:le}=uu(),{locStart:xe,locEnd:tt}=Pu(),{replaceTextEndOfLine:j}=Vp(),{printClass:Ae}=Bi(),{printOpaqueType:rt,printTypeAlias:je,printIntersectionType:pt,printUnionType:at,printFunctionType:fn,printTupleType:ce,printIndexedAccessType:Ve}=Re(),{printInterface:ae}=yn(),{printTypeParameter:Ee,printTypeParameters:J}=dt(),{printExportDeclaration:me,printExportAllDeclaration:we}=vn(),{printArrayItems:Fe}=V(),{printObject:Me}=Ut(),{printPropertyKey:Xe}=_n(),{printOptionalToken:Dt,printTypeAnnotation:Xt,printRestSpread:hn}=ie();function Jt(Nt,Di,cn){let Ht=Nt.getValue(),vi=Di.semi?\";\":\"\",Ci=[];switch(Ht.type){case\"DeclareClass\":return Hn(Nt,Ae(Nt,Di,cn));case\"DeclareFunction\":return Hn(Nt,[\"function \",cn(\"id\"),Ht.predicate?\" \":\"\",cn(\"predicate\"),vi]);case\"DeclareModule\":return Hn(Nt,[\"module \",cn(\"id\"),\" \",cn(\"body\")]);case\"DeclareModuleExports\":return Hn(Nt,[\"module.exports\",\": \",cn(\"typeAnnotation\"),vi]);case\"DeclareVariable\":return Hn(Nt,[\"var \",cn(\"id\"),vi]);case\"DeclareOpaqueType\":return Hn(Nt,rt(Nt,Di,cn));case\"DeclareInterface\":return Hn(Nt,ae(Nt,Di,cn));case\"DeclareTypeAlias\":return Hn(Nt,je(Nt,Di,cn));case\"DeclareExportDeclaration\":return Hn(Nt,me(Nt,Di,cn));case\"DeclareExportAllDeclaration\":return Hn(Nt,we(Nt,Di,cn));case\"OpaqueType\":return rt(Nt,Di,cn);case\"TypeAlias\":return je(Nt,Di,cn);case\"IntersectionTypeAnnotation\":return pt(Nt,Di,cn);case\"UnionTypeAnnotation\":return at(Nt,Di,cn);case\"FunctionTypeAnnotation\":return fn(Nt,Di,cn);case\"TupleTypeAnnotation\":return ce(Nt,Di,cn);case\"GenericTypeAnnotation\":return[cn(\"id\"),J(Nt,Di,cn,\"typeParameters\")];case\"IndexedAccessType\":case\"OptionalIndexedAccessType\":return Ve(Nt,Di,cn);case\"TypeAnnotation\":return cn(\"typeAnnotation\");case\"TypeParameter\":return Ee(Nt,Di,cn);case\"TypeofTypeAnnotation\":return[\"typeof \",cn(\"argument\")];case\"ExistsTypeAnnotation\":return\"*\";case\"EmptyTypeAnnotation\":return\"empty\";case\"MixedTypeAnnotation\":return\"mixed\";case\"ArrayTypeAnnotation\":return[cn(\"elementType\"),\"[]\"];case\"BooleanLiteralTypeAnnotation\":return String(Ht.value);case\"EnumDeclaration\":return[\"enum \",cn(\"id\"),\" \",cn(\"body\")];case\"EnumBooleanBody\":case\"EnumNumberBody\":case\"EnumStringBody\":case\"EnumSymbolBody\":{if(Ht.type===\"EnumSymbolBody\"||Ht.explicitType){let ki=null;switch(Ht.type){case\"EnumBooleanBody\":ki=\"boolean\";break;case\"EnumNumberBody\":ki=\"number\";break;case\"EnumStringBody\":ki=\"string\";break;case\"EnumSymbolBody\":ki=\"symbol\";break}Ci.push(\"of \",ki,\" \")}if(Ht.members.length===0&&!Ht.hasUnknownMembers)Ci.push(Z([\"{\",Y(Nt,Di),$,\"}\"]));else{let ki=Ht.members.length>0?[H,Fe(Nt,Di,\"members\",cn),Ht.hasUnknownMembers||le(Di)?\",\":\"\"]:[];Ci.push(Z([\"{\",oe([...ki,...Ht.hasUnknownMembers?[H,\"...\"]:[]]),Y(Nt,Di,!0),H,\"}\"]))}return Ci}case\"EnumBooleanMember\":case\"EnumNumberMember\":case\"EnumStringMember\":return[cn(\"id\"),\" = \",typeof Ht.init==\"object\"?cn(\"init\"):String(Ht.init)];case\"EnumDefaultedMember\":return cn(\"id\");case\"FunctionTypeParam\":{let ki=Ht.name?cn(\"name\"):Nt.getParentNode().this===Ht?\"this\":\"\";return[ki,Dt(Nt),ki?\": \":\"\",cn(\"typeAnnotation\")]}case\"InterfaceDeclaration\":case\"InterfaceTypeAnnotation\":return ae(Nt,Di,cn);case\"ClassImplements\":case\"InterfaceExtends\":return[cn(\"id\"),cn(\"typeParameters\")];case\"NullableTypeAnnotation\":return[\"?\",cn(\"typeAnnotation\")];case\"Variance\":{let{kind:ki}=Ht;return R.ok(ki===\"plus\"||ki===\"minus\"),ki===\"plus\"?\"+\":\"-\"}case\"ObjectTypeCallProperty\":return Ht.static&&Ci.push(\"static \"),Ci.push(cn(\"value\")),Ci;case\"ObjectTypeIndexer\":return[Ht.static?\"static \":\"\",Ht.variance?cn(\"variance\"):\"\",\"[\",cn(\"id\"),Ht.id?\": \":\"\",cn(\"key\"),\"]: \",cn(\"value\")];case\"ObjectTypeProperty\":{let ki=\"\";return Ht.proto?ki=\"proto \":Ht.static&&(ki=\"static \"),[ki,ge(Ht)?Ht.kind+\" \":\"\",Ht.variance?cn(\"variance\"):\"\",Xe(Nt,Di,cn),Dt(Nt),_e(Ht)?\"\":\": \",cn(\"value\")]}case\"ObjectTypeAnnotation\":return Me(Nt,Di,cn);case\"ObjectTypeInternalSlot\":return[Ht.static?\"static \":\"\",\"[[\",cn(\"id\"),\"]]\",Dt(Nt),Ht.method?\"\":\": \",cn(\"value\")];case\"ObjectTypeSpreadProperty\":return hn(Nt,Di,cn);case\"QualifiedTypeofIdentifier\":case\"QualifiedTypeIdentifier\":return[cn(\"qualification\"),\".\",cn(\"id\")];case\"StringLiteralTypeAnnotation\":return j(G(ne(Ht),Di));case\"NumberLiteralTypeAnnotation\":R.strictEqual(typeof Ht.value,\"number\");case\"BigIntLiteralTypeAnnotation\":return Ht.extra?M(Ht.extra.raw):M(Ht.raw);case\"TypeCastExpression\":return[\"(\",cn(\"expression\"),Xt(Nt,Di,cn),\")\"];case\"TypeParameterDeclaration\":case\"TypeParameterInstantiation\":{let ki=J(Nt,Di,cn,\"params\");if(Di.parser===\"flow\"){let Cr=xe(Ht),pn=tt(Ht),ui=Di.originalText.lastIndexOf(\"/*\",Cr),Zi=Di.originalText.indexOf(\"*/\",pn);if(ui!==-1&&Zi!==-1){let yr=Di.originalText.slice(ui+2,Zi).trim();if(yr.startsWith(\"::\")&&!yr.includes(\"/*\")&&!yr.includes(\"*/\"))return[\"/*:: \",ki,\" */\"]}}return ki}case\"InferredPredicate\":return\"%checks\";case\"DeclaredPredicate\":return[\"%checks(\",cn(\"value\"),\")\"];case\"AnyTypeAnnotation\":return\"any\";case\"BooleanTypeAnnotation\":return\"boolean\";case\"BigIntTypeAnnotation\":return\"bigint\";case\"NullLiteralTypeAnnotation\":return\"null\";case\"NumberTypeAnnotation\":return\"number\";case\"SymbolTypeAnnotation\":return\"symbol\";case\"StringTypeAnnotation\":return\"string\";case\"VoidTypeAnnotation\":return\"void\";case\"ThisTypeAnnotation\":return\"this\";case\"Node\":case\"Printable\":case\"SourceLocation\":case\"Position\":case\"Statement\":case\"Function\":case\"Pattern\":case\"Expression\":case\"Declaration\":case\"Specifier\":case\"NamedSpecifier\":case\"Comment\":case\"MemberTypeAnnotation\":case\"Type\":throw new Error(\"unprintable type: \"+JSON.stringify(Ht.type))}}function Hn(Nt,Di){let cn=ye(Nt);return cn?(R.strictEqual(cn.type,\"DeclareExportDeclaration\"),Di):[\"declare \",Di]}ee.exports={printFlow:Jt}}}),Vi=Ct({\"src/language-js/utils/is-ts-keyword-type.js\"(z,ee){Un();function R(Y){let{type:G}=Y;return G.startsWith(\"TS\")&&G.endsWith(\"Keyword\")}ee.exports=R}}),ct=Ct({\"src/language-js/print/ternary.js\"(z,ee){Un();var{hasNewlineInRange:R}=sn(),{isJsxNode:Y,getComments:G,isCallExpression:M,isMemberExpression:H,isTSTypeExpression:$}=uu(),{locStart:Z,locEnd:oe}=Pu(),ye=ng(),{builders:{line:_e,softline:ge,group:ne,indent:le,align:xe,ifBreak:tt,dedent:j,breakParent:Ae}}=Ia();function rt(ce){let Ve=[ce];for(let ae=0;ae<Ve.length;ae++){let Ee=Ve[ae];for(let J of[\"test\",\"consequent\",\"alternate\"]){let me=Ee[J];if(Y(me))return!0;me.type===\"ConditionalExpression\"&&Ve.push(me)}}return!1}function je(ce,Ve,ae){let Ee=ce.getValue(),J=Ee.type===\"ConditionalExpression\",me=J?\"alternate\":\"falseType\",we=ce.getParentNode(),Fe=J?ae(\"test\"):[ae(\"checkType\"),\" \",\"extends\",\" \",ae(\"extendsType\")];return we.type===Ee.type&&we[me]===Ee?xe(2,Fe):Fe}var pt=new Map([[\"AssignmentExpression\",\"right\"],[\"VariableDeclarator\",\"init\"],[\"ReturnStatement\",\"argument\"],[\"ThrowStatement\",\"argument\"],[\"UnaryExpression\",\"argument\"],[\"YieldExpression\",\"argument\"]]);function at(ce){let Ve=ce.getValue();if(Ve.type!==\"ConditionalExpression\")return!1;let ae,Ee=Ve;for(let J=0;!ae;J++){let me=ce.getParentNode(J);if(M(me)&&me.callee===Ee||H(me)&&me.object===Ee||me.type===\"TSNonNullExpression\"&&me.expression===Ee){Ee=me;continue}me.type===\"NewExpression\"&&me.callee===Ee||$(me)&&me.expression===Ee?(ae=ce.getParentNode(J+1),Ee=me):ae=me}return Ee===Ve?!1:ae[pt.get(ae.type)]===Ee}function fn(ce,Ve,ae){let Ee=ce.getValue(),J=Ee.type===\"ConditionalExpression\",me=J?\"consequent\":\"trueType\",we=J?\"alternate\":\"falseType\",Fe=J?[\"test\"]:[\"checkType\",\"extendsType\"],Me=Ee[me],Xe=Ee[we],Dt=[],Xt=!1,hn=ce.getParentNode(),Jt=hn.type===Ee.type&&Fe.some(Zi=>hn[Zi]===Ee),Hn=hn.type===Ee.type&&!Jt,Nt,Di,cn=0;do Di=Nt||Ee,Nt=ce.getParentNode(cn),cn++;while(Nt&&Nt.type===Ee.type&&Fe.every(Zi=>Nt[Zi]!==Di));let Ht=Nt||hn,vi=Di;if(J&&(Y(Ee[Fe[0]])||Y(Me)||Y(Xe)||rt(vi))){Xt=!0,Hn=!0;let Zi=Zs=>[tt(\"(\"),le([ge,Zs]),ge,tt(\")\")],yr=Zs=>Zs.type===\"NullLiteral\"||Zs.type===\"Literal\"&&Zs.value===null||Zs.type===\"Identifier\"&&Zs.name===\"undefined\";Dt.push(\" ? \",yr(Me)?ae(me):Zi(ae(me)),\" : \",Xe.type===Ee.type||yr(Xe)?ae(we):Zi(ae(we)))}else{let Zi=[_e,\"? \",Me.type===Ee.type?tt(\"\",\"(\"):\"\",xe(2,ae(me)),Me.type===Ee.type?tt(\"\",\")\"):\"\",_e,\": \",Xe.type===Ee.type?ae(we):xe(2,ae(we))];Dt.push(hn.type!==Ee.type||hn[we]===Ee||Jt?Zi:Ve.useTabs?j(le(Zi)):xe(Math.max(0,Ve.tabWidth-2),Zi))}let Ci=[...Fe.map(Zi=>G(Ee[Zi])),G(Me),G(Xe)].flat().some(Zi=>ye(Zi)&&R(Ve.originalText,Z(Zi),oe(Zi))),ki=Zi=>hn===Ht?ne(Zi,{shouldBreak:Ci}):Ci?[Zi,Ae]:Zi,Cr=!Xt&&(H(hn)||hn.type===\"NGPipeExpression\"&&hn.left===Ee)&&!hn.computed,pn=at(ce),ui=ki([je(ce,Ve,ae),Hn?Dt:le(Dt),J&&Cr&&!pn?ge:\"\"]);return Jt||pn?ne([le([ge,ui]),ge]):ui}ee.exports={printTernary:fn}}}),xi=Ct({\"src/language-js/print/statement.js\"(z,ee){Un();var{builders:{hardline:R}}=Ia(),Y=Qn(),{getLeftSidePathName:G,hasNakedLeftSide:M,isJsxNode:H,isTheOnlyJsxElementInMarkdown:$,hasComment:Z,CommentCheckFlags:oe,isNextLineEmpty:ye}=uu(),{shouldPrintParamsWithoutParens:_e}=Qt();function ge(je,pt,at,fn){let ce=je.getValue(),Ve=[],ae=ce.type===\"ClassBody\",Ee=ne(ce[fn]);return je.each((J,me,we)=>{let Fe=J.getValue();if(Fe.type===\"EmptyStatement\")return;let Me=at();!pt.semi&&!ae&&!$(pt,J)&&le(J,pt)?Z(Fe,oe.Leading)?Ve.push(at([],{needsSemi:!0})):Ve.push(\";\",Me):Ve.push(Me),!pt.semi&&ae&&Ae(Fe)&&rt(Fe,we[me+1])&&Ve.push(\";\"),Fe!==Ee&&(Ve.push(R),ye(Fe,pt)&&Ve.push(R))},fn),Ve}function ne(je){for(let pt=je.length-1;pt>=0;pt--){let at=je[pt];if(at.type!==\"EmptyStatement\")return at}}function le(je,pt){return je.getNode().type!==\"ExpressionStatement\"?!1:je.call(at=>xe(at,pt),\"expression\")}function xe(je,pt){let at=je.getValue();switch(at.type){case\"ParenthesizedExpression\":case\"TypeCastExpression\":case\"ArrayExpression\":case\"ArrayPattern\":case\"TemplateLiteral\":case\"TemplateElement\":case\"RegExpLiteral\":return!0;case\"ArrowFunctionExpression\":{if(!_e(je,pt))return!0;break}case\"UnaryExpression\":{let{prefix:fn,operator:ce}=at;if(fn&&(ce===\"+\"||ce===\"-\"))return!0;break}case\"BindExpression\":{if(!at.object)return!0;break}case\"Literal\":{if(at.regex)return!0;break}default:if(H(at))return!0}return Y(je,pt)?!0:M(at)?je.call(fn=>xe(fn,pt),...G(je,at)):!1}function tt(je,pt,at){return ge(je,pt,at,\"body\")}function j(je,pt,at){return ge(je,pt,at,\"consequent\")}var Ae=je=>{let{type:pt}=je;return pt===\"ClassProperty\"||pt===\"PropertyDefinition\"||pt===\"ClassPrivateProperty\"||pt===\"ClassAccessorProperty\"||pt===\"AccessorProperty\"||pt===\"TSAbstractPropertyDefinition\"||pt===\"TSAbstractAccessorProperty\"};function rt(je,pt){let{type:at,name:fn}=je.key;if(!je.computed&&at===\"Identifier\"&&(fn===\"static\"||fn===\"get\"||fn===\"set\"||fn===\"accessor\")&&!je.value&&!je.typeAnnotation)return!0;if(!pt||pt.static||pt.accessibility)return!1;if(!pt.computed){let ce=pt.key&&pt.key.name;if(ce===\"in\"||ce===\"instanceof\")return!0}if(Ae(pt)&&pt.variance&&!pt.static&&!pt.declare)return!0;switch(pt.type){case\"ClassProperty\":case\"PropertyDefinition\":case\"TSAbstractPropertyDefinition\":return pt.computed;case\"MethodDefinition\":case\"TSAbstractMethodDefinition\":case\"ClassMethod\":case\"ClassPrivateMethod\":{if((pt.value?pt.value.async:pt.async)||pt.kind===\"get\"||pt.kind===\"set\")return!1;let ce=pt.value?pt.value.generator:pt.generator;return!!(pt.computed||ce)}case\"TSIndexSignature\":return!0}return!1}ee.exports={printBody:tt,printSwitchCaseConsequent:j}}}),qr=Ct({\"src/language-js/print/block.js\"(z,ee){Un();var{printDanglingComments:R}=nu(),{isNonEmptyArray:Y}=sn(),{builders:{hardline:G,indent:M}}=Ia(),{hasComment:H,CommentCheckFlags:$,isNextLineEmpty:Z}=uu(),{printHardlineAfterHeritage:oe}=Bi(),{printBody:ye}=xi();function _e(ne,le,xe){let tt=ne.getValue(),j=[];if(tt.type===\"StaticBlock\"&&j.push(\"static \"),tt.type===\"ClassBody\"&&Y(tt.body)){let rt=ne.getParentNode();j.push(oe(rt))}j.push(\"{\");let Ae=ge(ne,le,xe);if(Ae)j.push(M([G,Ae]),G);else{let rt=ne.getParentNode(),je=ne.getParentNode(1);rt.type===\"ArrowFunctionExpression\"||rt.type===\"FunctionExpression\"||rt.type===\"FunctionDeclaration\"||rt.type===\"ObjectMethod\"||rt.type===\"ClassMethod\"||rt.type===\"ClassPrivateMethod\"||rt.type===\"ForStatement\"||rt.type===\"WhileStatement\"||rt.type===\"DoWhileStatement\"||rt.type===\"DoExpression\"||rt.type===\"CatchClause\"&&!je.finalizer||rt.type===\"TSModuleDeclaration\"||rt.type===\"TSDeclareFunction\"||tt.type===\"StaticBlock\"||tt.type===\"ClassBody\"||j.push(G)}return j.push(\"}\"),j}function ge(ne,le,xe){let tt=ne.getValue(),j=Y(tt.directives),Ae=tt.body.some(pt=>pt.type!==\"EmptyStatement\"),rt=H(tt,$.Dangling);if(!j&&!Ae&&!rt)return\"\";let je=[];if(j&&ne.each((pt,at,fn)=>{je.push(xe()),(at<fn.length-1||Ae||rt)&&(je.push(G),Z(pt.getValue(),le)&&je.push(G))},\"directives\"),Ae&&je.push(ye(ne,le,xe)),rt&&je.push(R(ne,le,!0)),tt.type===\"Program\"){let pt=ne.getParentNode();(!pt||pt.type!==\"ModuleExpression\")&&je.push(G)}return je}ee.exports={printBlock:_e,printBlockBody:ge}}}),xr=Ct({\"src/language-js/print/typescript.js\"(z,ee){Un();var{printDanglingComments:R}=nu(),{hasNewlineInRange:Y}=sn(),{builders:{join:G,line:M,hardline:H,softline:$,group:Z,indent:oe,conditionalGroup:ye,ifBreak:_e}}=Ia(),{isStringLiteral:ge,getTypeScriptMappedTypeModifier:ne,shouldPrintComma:le,isCallExpression:xe,isMemberExpression:tt}=uu(),j=Vi(),{locStart:Ae,locEnd:rt}=Pu(),{printOptionalToken:je,printTypeScriptModifiers:pt}=ie(),{printTernary:at}=ct(),{printFunctionParameters:fn,shouldGroupFunctionParameters:ce}=S(),{printTemplateLiteral:Ve}=Kg(),{printArrayItems:ae}=V(),{printObject:Ee}=Ut(),{printClassProperty:J,printClassMethod:me}=Bi(),{printTypeParameter:we,printTypeParameters:Fe}=dt(),{printPropertyKey:Me}=_n(),{printFunction:Xe,printMethodInternal:Dt}=Qt(),{printInterface:Xt}=yn(),{printBlock:hn}=qr(),{printTypeAlias:Jt,printIntersectionType:Hn,printUnionType:Nt,printFunctionType:Di,printTupleType:cn,printIndexedAccessType:Ht,printJSDocType:vi}=Re();function Ci(ki,Cr,pn){let ui=ki.getValue();if(!ui.type.startsWith(\"TS\"))return;if(j(ui))return ui.type.slice(2,-7).toLowerCase();let Zi=Cr.semi?\";\":\"\",yr=[];switch(ui.type){case\"TSThisType\":return\"this\";case\"TSTypeAssertion\":{let Zs=!(ui.expression.type===\"ArrayExpression\"||ui.expression.type===\"ObjectExpression\"),hi=Z([\"<\",oe([$,pn(\"typeAnnotation\")]),$,\">\"]),An=[_e(\"(\"),oe([$,pn(\"expression\")]),$,_e(\")\")];return Zs?ye([[hi,pn(\"expression\")],[hi,Z(An,{shouldBreak:!0})],[hi,pn(\"expression\")]]):Z([hi,pn(\"expression\")])}case\"TSDeclareFunction\":return Xe(ki,pn,Cr);case\"TSExportAssignment\":return[\"export = \",pn(\"expression\"),Zi];case\"TSModuleBlock\":return hn(ki,Cr,pn);case\"TSInterfaceBody\":case\"TSTypeLiteral\":return Ee(ki,Cr,pn);case\"TSTypeAliasDeclaration\":return Jt(ki,Cr,pn);case\"TSQualifiedName\":return G(\".\",[pn(\"left\"),pn(\"right\")]);case\"TSAbstractMethodDefinition\":case\"TSDeclareMethod\":return me(ki,Cr,pn);case\"TSAbstractAccessorProperty\":case\"TSAbstractPropertyDefinition\":return J(ki,Cr,pn);case\"TSInterfaceHeritage\":case\"TSExpressionWithTypeArguments\":return yr.push(pn(\"expression\")),ui.typeParameters&&yr.push(pn(\"typeParameters\")),yr;case\"TSTemplateLiteralType\":return Ve(ki,pn,Cr);case\"TSNamedTupleMember\":return[pn(\"label\"),ui.optional?\"?\":\"\",\": \",pn(\"elementType\")];case\"TSRestType\":return[\"...\",pn(\"typeAnnotation\")];case\"TSOptionalType\":return[pn(\"typeAnnotation\"),\"?\"];case\"TSInterfaceDeclaration\":return Xt(ki,Cr,pn);case\"TSClassImplements\":return[pn(\"expression\"),pn(\"typeParameters\")];case\"TSTypeParameterDeclaration\":case\"TSTypeParameterInstantiation\":return Fe(ki,Cr,pn,\"params\");case\"TSTypeParameter\":return we(ki,Cr,pn);case\"TSSatisfiesExpression\":case\"TSAsExpression\":{let Zs=ui.type===\"TSAsExpression\"?\"as\":\"satisfies\";yr.push(pn(\"expression\"),` ${Zs} `,pn(\"typeAnnotation\"));let hi=ki.getParentNode();return xe(hi)&&hi.callee===ui||tt(hi)&&hi.object===ui?Z([oe([$,...yr]),$]):yr}case\"TSArrayType\":return[pn(\"elementType\"),\"[]\"];case\"TSPropertySignature\":return ui.readonly&&yr.push(\"readonly \"),yr.push(Me(ki,Cr,pn),je(ki)),ui.typeAnnotation&&yr.push(\": \",pn(\"typeAnnotation\")),ui.initializer&&yr.push(\" = \",pn(\"initializer\")),yr;case\"TSParameterProperty\":return ui.accessibility&&yr.push(ui.accessibility+\" \"),ui.export&&yr.push(\"export \"),ui.static&&yr.push(\"static \"),ui.override&&yr.push(\"override \"),ui.readonly&&yr.push(\"readonly \"),yr.push(pn(\"parameter\")),yr;case\"TSTypeQuery\":return[\"typeof \",pn(\"exprName\"),pn(\"typeParameters\")];case\"TSIndexSignature\":{let Zs=ki.getParentNode(),hi=ui.parameters.length>1?_e(le(Cr)?\",\":\"\"):\"\",An=Z([oe([$,G([\", \",$],ki.map(pn,\"parameters\"))]),hi,$]);return[ui.export?\"export \":\"\",ui.accessibility?[ui.accessibility,\" \"]:\"\",ui.static?\"static \":\"\",ui.readonly?\"readonly \":\"\",ui.declare?\"declare \":\"\",\"[\",ui.parameters?An:\"\",ui.typeAnnotation?\"]: \":\"]\",ui.typeAnnotation?pn(\"typeAnnotation\"):\"\",Zs.type===\"ClassBody\"?Zi:\"\"]}case\"TSTypePredicate\":return[ui.asserts?\"asserts \":\"\",pn(\"parameterName\"),ui.typeAnnotation?[\" is \",pn(\"typeAnnotation\")]:\"\"];case\"TSNonNullExpression\":return[pn(\"expression\"),\"!\"];case\"TSImportType\":return[ui.isTypeOf?\"typeof \":\"\",\"import(\",pn(ui.parameter?\"parameter\":\"argument\"),\")\",ui.qualifier?[\".\",pn(\"qualifier\")]:\"\",Fe(ki,Cr,pn,\"typeParameters\")];case\"TSLiteralType\":return pn(\"literal\");case\"TSIndexedAccessType\":return Ht(ki,Cr,pn);case\"TSConstructSignatureDeclaration\":case\"TSCallSignatureDeclaration\":case\"TSConstructorType\":{if(ui.type===\"TSConstructorType\"&&ui.abstract&&yr.push(\"abstract \"),ui.type!==\"TSCallSignatureDeclaration\"&&yr.push(\"new \"),yr.push(Z(fn(ki,pn,Cr,!1,!0))),ui.returnType||ui.typeAnnotation){let Zs=ui.type===\"TSConstructorType\";yr.push(Zs?\" => \":\": \",pn(\"returnType\"),pn(\"typeAnnotation\"))}return yr}case\"TSTypeOperator\":return[ui.operator,\" \",pn(\"typeAnnotation\")];case\"TSMappedType\":{let Zs=Y(Cr.originalText,Ae(ui),rt(ui));return Z([\"{\",oe([Cr.bracketSpacing?M:$,pn(\"typeParameter\"),ui.optional?ne(ui.optional,\"?\"):\"\",ui.typeAnnotation?\": \":\"\",pn(\"typeAnnotation\"),_e(Zi)]),R(ki,Cr,!0),Cr.bracketSpacing?M:$,\"}\"],{shouldBreak:Zs})}case\"TSMethodSignature\":{let Zs=ui.kind&&ui.kind!==\"method\"?`${ui.kind} `:\"\";yr.push(ui.accessibility?[ui.accessibility,\" \"]:\"\",Zs,ui.export?\"export \":\"\",ui.static?\"static \":\"\",ui.readonly?\"readonly \":\"\",ui.abstract?\"abstract \":\"\",ui.declare?\"declare \":\"\",ui.computed?\"[\":\"\",pn(\"key\"),ui.computed?\"]\":\"\",je(ki));let hi=fn(ki,pn,Cr,!1,!0),An=ui.returnType?\"returnType\":\"typeAnnotation\",Fi=ui[An],Yi=Fi?pn(An):\"\",Fr=ce(ui,Yi);return yr.push(Fr?Z(hi):hi),Fi&&yr.push(\": \",Z(Yi)),Z(yr)}case\"TSNamespaceExportDeclaration\":return yr.push(\"export as namespace \",pn(\"id\")),Cr.semi&&yr.push(\";\"),Z(yr);case\"TSEnumDeclaration\":return ui.declare&&yr.push(\"declare \"),ui.modifiers&&yr.push(pt(ki,Cr,pn)),ui.const&&yr.push(\"const \"),yr.push(\"enum \",pn(\"id\"),\" \"),ui.members.length===0?yr.push(Z([\"{\",R(ki,Cr),$,\"}\"])):yr.push(Z([\"{\",oe([H,ae(ki,Cr,\"members\",pn),le(Cr,\"es5\")?\",\":\"\"]),R(ki,Cr,!0),H,\"}\"])),yr;case\"TSEnumMember\":return ui.computed?yr.push(\"[\",pn(\"id\"),\"]\"):yr.push(pn(\"id\")),ui.initializer&&yr.push(\" = \",pn(\"initializer\")),yr;case\"TSImportEqualsDeclaration\":return ui.isExport&&yr.push(\"export \"),yr.push(\"import \"),ui.importKind&&ui.importKind!==\"value\"&&yr.push(ui.importKind,\" \"),yr.push(pn(\"id\"),\" = \",pn(\"moduleReference\")),Cr.semi&&yr.push(\";\"),Z(yr);case\"TSExternalModuleReference\":return[\"require(\",pn(\"expression\"),\")\"];case\"TSModuleDeclaration\":{let Zs=ki.getParentNode(),hi=ge(ui.id),An=Zs.type===\"TSModuleDeclaration\",Fi=ui.body&&ui.body.type===\"TSModuleDeclaration\";if(An)yr.push(\".\");else{ui.declare&&yr.push(\"declare \"),yr.push(pt(ki,Cr,pn));let Yi=Cr.originalText.slice(Ae(ui),Ae(ui.id));ui.id.type===\"Identifier\"&&ui.id.name===\"global\"&&!/namespace|module/.test(Yi)||yr.push(hi||/(?:^|\\s)module(?:\\s|$)/.test(Yi)?\"module \":\"namespace \")}return yr.push(pn(\"id\")),Fi?yr.push(pn(\"body\")):ui.body?yr.push(\" \",Z(pn(\"body\"))):yr.push(Zi),yr}case\"TSConditionalType\":return at(ki,Cr,pn);case\"TSInferType\":return[\"infer\",\" \",pn(\"typeParameter\")];case\"TSIntersectionType\":return Hn(ki,Cr,pn);case\"TSUnionType\":return Nt(ki,Cr,pn);case\"TSFunctionType\":return Di(ki,Cr,pn);case\"TSTupleType\":return cn(ki,Cr,pn);case\"TSTypeReference\":return[pn(\"typeName\"),Fe(ki,Cr,pn,\"typeParameters\")];case\"TSTypeAnnotation\":return pn(\"typeAnnotation\");case\"TSEmptyBodyFunctionExpression\":return Dt(ki,Cr,pn);case\"TSJSDocAllType\":return\"*\";case\"TSJSDocUnknownType\":return\"?\";case\"TSJSDocNullableType\":return vi(ki,pn,\"?\");case\"TSJSDocNonNullableType\":return vi(ki,pn,\"!\");case\"TSInstantiationExpression\":return[pn(\"expression\"),pn(\"typeParameters\")];default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(ui.type)}.`)}}ee.exports={printTypescript:Ci}}}),Bs=Ct({\"src/language-js/print/comment.js\"(z,ee){Un();var{hasNewline:R}=sn(),{builders:{join:Y,hardline:G},utils:{replaceTextEndOfLine:M}}=Ia(),{isLineComment:H}=uu(),{locStart:$,locEnd:Z}=Pu(),oe=ng();function ye(ne,le){let xe=ne.getValue();if(H(xe))return le.originalText.slice($(xe),Z(xe)).trimEnd();if(oe(xe)){if(_e(xe)){let Ae=ge(xe);return xe.trailing&&!R(le.originalText,$(xe),{backwards:!0})?[G,Ae]:Ae}let tt=Z(xe),j=le.originalText.slice(tt-3,tt)===\"*-/\";return[\"/*\",M(xe.value),j?\"*-/\":\"*/\"]}throw new Error(\"Not a comment: \"+JSON.stringify(xe))}function _e(ne){let le=`*${ne.value}*`.split(`\n`);return le.length>1&&le.every(xe=>xe.trim()[0]===\"*\")}function ge(ne){let le=ne.value.split(`\n`);return[\"/*\",Y(G,le.map((xe,tt)=>tt===0?xe.trimEnd():\" \"+(tt<le.length-1?xe.trim():xe.trimStart()))),\"*/\"]}ee.exports={printComment:ye}}}),Mi=Ct({\"src/language-js/print/literal.js\"(z,ee){Un();var{printString:R,printNumber:Y}=sn(),{replaceTextEndOfLine:G}=Vp(),{printDirective:M}=ie();function H(ye,_e){let ge=ye.getNode();switch(ge.type){case\"RegExpLiteral\":return oe(ge);case\"BigIntLiteral\":return Z(ge.bigint||ge.extra.raw);case\"NumericLiteral\":return Y(ge.extra.raw);case\"StringLiteral\":return G(R(ge.extra.raw,_e));case\"NullLiteral\":return\"null\";case\"BooleanLiteral\":return String(ge.value);case\"DecimalLiteral\":return Y(ge.value)+\"m\";case\"Literal\":{if(ge.regex)return oe(ge.regex);if(ge.bigint)return Z(ge.raw);if(ge.decimal)return Y(ge.decimal)+\"m\";let{value:ne}=ge;return typeof ne==\"number\"?Y(ge.raw):typeof ne==\"string\"?$(ye)?M(ge.raw,_e):G(R(ge.raw,_e)):String(ne)}}}function $(ye){if(ye.getName()!==\"expression\")return;let _e=ye.getParentNode();return _e.type===\"ExpressionStatement\"&&_e.directive}function Z(ye){return ye.toLowerCase()}function oe(ye){let{pattern:_e,flags:ge}=ye;return ge=[...ge].sort().join(\"\"),`/${_e}/${ge}`}ee.exports={printLiteral:H}}}),ms=Ct({\"src/language-js/printer-estree.js\"(z,ee){Un();var{printDanglingComments:R}=nu(),{hasNewline:Y}=sn(),{builders:{join:G,line:M,hardline:H,softline:$,group:Z,indent:oe},utils:{replaceTextEndOfLine:ye}}=Ia(),_e=Pb(),ge=Ob(),{insertPragma:ne}=mn(),le=ti(),xe=Qn(),tt=b(),{hasFlowShorthandAnnotationComment:j,hasComment:Ae,CommentCheckFlags:rt,isTheOnlyJsxElementInMarkdown:je,isLineComment:pt,isNextLineEmpty:at,needsHardlineAfterDanglingComment:fn,hasIgnoreComment:ce,isCallExpression:Ve,isMemberExpression:ae,markerForIfWithoutBlockAndSameLineComment:Ee}=uu(),{locStart:J,locEnd:me}=Pu(),we=ng(),{printHtmlBinding:Fe,isVueEventBindingExpression:Me}=v(),{printAngular:Xe}=de(),{printJsx:Dt,hasJsxIgnoreComment:Xt}=ve(),{printFlow:hn}=In(),{printTypescript:Jt}=xr(),{printOptionalToken:Hn,printBindExpressionCallee:Nt,printTypeAnnotation:Di,adjustClause:cn,printRestSpread:Ht,printDefiniteToken:vi,printDirective:Ci}=ie(),{printImportDeclaration:ki,printExportDeclaration:Cr,printExportAllDeclaration:pn,printModuleSpecifier:ui}=vn(),{printTernary:Zi}=ct(),{printTemplateLiteral:yr}=Kg(),{printArray:Zs}=V(),{printObject:hi}=Ut(),{printClass:An,printClassMethod:Fi,printClassProperty:Yi}=Bi(),{printProperty:Fr}=_n(),{printFunction:as,printArrowFunction:Ds,printMethod:ta,printReturnStatement:ll,printThrowStatement:Bn}=Qt(),{printCallExpression:Zo}=se(),{printVariableDeclarator:Ta,printAssignmentExpression:ir}=Se(),{printBinaryishExpression:Sn}=X(),{printSwitchCaseConsequent:ur}=xi(),{printMemberExpression:pi}=he(),{printBlock:pr,printBlockBody:yo}=qr(),{printComment:Gs}=Bs(),{printLiteral:Er}=Mi(),{printDecorators:Ne}=Mn();function Vn(js,qo,Ts,Dc){let No=er(js,qo,Ts,Dc);if(!No)return\"\";let dc=js.getValue(),{type:To}=dc;if(To===\"ClassMethod\"||To===\"ClassPrivateMethod\"||To===\"ClassProperty\"||To===\"ClassAccessorProperty\"||To===\"AccessorProperty\"||To===\"TSAbstractAccessorProperty\"||To===\"PropertyDefinition\"||To===\"TSAbstractPropertyDefinition\"||To===\"ClassPrivateProperty\"||To===\"MethodDefinition\"||To===\"TSAbstractMethodDefinition\"||To===\"TSDeclareMethod\")return No;let Va=[No],ol=Ne(js,qo,Ts),Lu=dc.type===\"ClassExpression\"&&ol;if(ol&&(Va=[...ol,No],!Lu))return Z(Va);if(!xe(js,qo))return Dc&&Dc.needsSemi&&Va.unshift(\";\"),Va.length===1&&Va[0]===No?No:Va;if(Lu&&(Va=[oe([M,...Va])]),Va.unshift(\"(\"),Dc&&Dc.needsSemi&&Va.unshift(\";\"),j(dc)){let[Bo]=dc.trailingComments;Va.push(\" /*\",Bo.value.trimStart(),\"*/\"),Bo.printed=!0}return Lu&&Va.push(M),Va.push(\")\"),Va}function er(js,qo,Ts,Dc){let No=js.getValue(),dc=qo.semi?\";\":\"\";if(!No)return\"\";if(typeof No==\"string\")return No;for(let Va of[Er,Fe,Xe,Dt,hn,Jt]){let ol=Va(js,qo,Ts);if(typeof ol<\"u\")return ol}let To=[];switch(No.type){case\"JsExpressionRoot\":return Ts(\"node\");case\"JsonRoot\":return[Ts(\"node\"),H];case\"File\":return No.program&&No.program.interpreter&&To.push(Ts([\"program\",\"interpreter\"])),To.push(Ts(\"program\")),To;case\"Program\":return yo(js,qo,Ts);case\"EmptyStatement\":return\"\";case\"ExpressionStatement\":{if(qo.parser===\"__vue_event_binding\"||qo.parser===\"__vue_ts_event_binding\"){let ol=js.getParentNode();if(ol.type===\"Program\"&&ol.body.length===1&&ol.body[0]===No)return[Ts(\"expression\"),Me(No.expression)?\";\":\"\"]}let Va=R(js,qo,!0,ol=>{let{marker:Lu}=ol;return Lu===Ee});return[Ts(\"expression\"),je(qo,js)?\"\":dc,Va?[\" \",Va]:\"\"]}case\"ParenthesizedExpression\":return!Ae(No.expression)&&(No.expression.type===\"ObjectExpression\"||No.expression.type===\"ArrayExpression\")?[\"(\",Ts(\"expression\"),\")\"]:Z([\"(\",oe([$,Ts(\"expression\")]),$,\")\"]);case\"AssignmentExpression\":return ir(js,qo,Ts);case\"VariableDeclarator\":return Ta(js,qo,Ts);case\"BinaryExpression\":case\"LogicalExpression\":return Sn(js,qo,Ts);case\"AssignmentPattern\":return[Ts(\"left\"),\" = \",Ts(\"right\")];case\"OptionalMemberExpression\":case\"MemberExpression\":return pi(js,qo,Ts);case\"MetaProperty\":return[Ts(\"meta\"),\".\",Ts(\"property\")];case\"BindExpression\":return No.object&&To.push(Ts(\"object\")),To.push(Z(oe([$,Nt(js,qo,Ts)]))),To;case\"Identifier\":return[No.name,Hn(js),vi(js),Di(js,qo,Ts)];case\"V8IntrinsicIdentifier\":return[\"%\",No.name];case\"SpreadElement\":case\"SpreadElementPattern\":case\"SpreadProperty\":case\"SpreadPropertyPattern\":case\"RestElement\":return Ht(js,qo,Ts);case\"FunctionDeclaration\":case\"FunctionExpression\":return as(js,Ts,qo,Dc);case\"ArrowFunctionExpression\":return Ds(js,qo,Ts,Dc);case\"YieldExpression\":return To.push(\"yield\"),No.delegate&&To.push(\"*\"),No.argument&&To.push(\" \",Ts(\"argument\")),To;case\"AwaitExpression\":{if(To.push(\"await\"),No.argument){To.push(\" \",Ts(\"argument\"));let Va=js.getParentNode();if(Ve(Va)&&Va.callee===No||ae(Va)&&Va.object===No){To=[oe([$,...To]),$];let ol=js.findAncestor(Lu=>Lu.type===\"AwaitExpression\"||Lu.type===\"BlockStatement\");if(!ol||ol.type!==\"AwaitExpression\")return Z(To)}}return To}case\"ExportDefaultDeclaration\":case\"ExportNamedDeclaration\":return Cr(js,qo,Ts);case\"ExportAllDeclaration\":return pn(js,qo,Ts);case\"ImportDeclaration\":return ki(js,qo,Ts);case\"ImportSpecifier\":case\"ExportSpecifier\":case\"ImportNamespaceSpecifier\":case\"ExportNamespaceSpecifier\":case\"ImportDefaultSpecifier\":case\"ExportDefaultSpecifier\":return ui(js,qo,Ts);case\"ImportAttribute\":return[Ts(\"key\"),\": \",Ts(\"value\")];case\"Import\":return\"import\";case\"BlockStatement\":case\"StaticBlock\":case\"ClassBody\":return pr(js,qo,Ts);case\"ThrowStatement\":return Bn(js,qo,Ts);case\"ReturnStatement\":return ll(js,qo,Ts);case\"NewExpression\":case\"ImportExpression\":case\"OptionalCallExpression\":case\"CallExpression\":return Zo(js,qo,Ts);case\"ObjectExpression\":case\"ObjectPattern\":case\"RecordExpression\":return hi(js,qo,Ts);case\"ObjectProperty\":case\"Property\":return No.method||No.kind===\"get\"||No.kind===\"set\"?ta(js,qo,Ts):Fr(js,qo,Ts);case\"ObjectMethod\":return ta(js,qo,Ts);case\"Decorator\":return[\"@\",Ts(\"expression\")];case\"ArrayExpression\":case\"ArrayPattern\":case\"TupleExpression\":return Zs(js,qo,Ts);case\"SequenceExpression\":{let Va=js.getParentNode(0);if(Va.type===\"ExpressionStatement\"||Va.type===\"ForStatement\"){let ol=[];return js.each((Lu,Bo)=>{Bo===0?ol.push(Ts()):ol.push(\",\",oe([M,Ts()]))},\"expressions\"),Z(ol)}return Z(G([\",\",M],js.map(Ts,\"expressions\")))}case\"ThisExpression\":return\"this\";case\"Super\":return\"super\";case\"Directive\":return[Ts(\"value\"),dc];case\"DirectiveLiteral\":return Ci(No.extra.raw,qo);case\"UnaryExpression\":return To.push(No.operator),/[a-z]$/.test(No.operator)&&To.push(\" \"),Ae(No.argument)?To.push(Z([\"(\",oe([$,Ts(\"argument\")]),$,\")\"])):To.push(Ts(\"argument\")),To;case\"UpdateExpression\":return To.push(Ts(\"argument\"),No.operator),No.prefix&&To.reverse(),To;case\"ConditionalExpression\":return Zi(js,qo,Ts);case\"VariableDeclaration\":{let Va=js.map(Ts,\"declarations\"),ol=js.getParentNode(),Lu=ol.type===\"ForStatement\"||ol.type===\"ForInStatement\"||ol.type===\"ForOfStatement\",Bo=No.declarations.some(Ua=>Ua.init),il;return Va.length===1&&!Ae(No.declarations[0])?il=Va[0]:Va.length>0&&(il=oe(Va[0])),To=[No.declare?\"declare \":\"\",No.kind,il?[\" \",il]:\"\",oe(Va.slice(1).map(Ua=>[\",\",Bo&&!Lu?H:M,Ua]))],Lu&&ol.body!==No||To.push(dc),Z(To)}case\"WithStatement\":return Z([\"with (\",Ts(\"object\"),\")\",cn(No.body,Ts(\"body\"))]);case\"IfStatement\":{let Va=cn(No.consequent,Ts(\"consequent\")),ol=Z([\"if (\",Z([oe([$,Ts(\"test\")]),$]),\")\",Va]);if(To.push(ol),No.alternate){let Lu=Ae(No.consequent,rt.Trailing|rt.Line)||fn(No),Bo=No.consequent.type===\"BlockStatement\"&&!Lu;To.push(Bo?\" \":H),Ae(No,rt.Dangling)&&To.push(R(js,qo,!0),Lu?H:\" \"),To.push(\"else\",Z(cn(No.alternate,Ts(\"alternate\"),No.alternate.type===\"IfStatement\")))}return To}case\"ForStatement\":{let Va=cn(No.body,Ts(\"body\")),ol=R(js,qo,!0),Lu=ol?[ol,$]:\"\";return!No.init&&!No.test&&!No.update?[Lu,Z([\"for (;;)\",Va])]:[Lu,Z([\"for (\",Z([oe([$,Ts(\"init\"),\";\",M,Ts(\"test\"),\";\",M,Ts(\"update\")]),$]),\")\",Va])]}case\"WhileStatement\":return Z([\"while (\",Z([oe([$,Ts(\"test\")]),$]),\")\",cn(No.body,Ts(\"body\"))]);case\"ForInStatement\":return Z([\"for (\",Ts(\"left\"),\" in \",Ts(\"right\"),\")\",cn(No.body,Ts(\"body\"))]);case\"ForOfStatement\":return Z([\"for\",No.await?\" await\":\"\",\" (\",Ts(\"left\"),\" of \",Ts(\"right\"),\")\",cn(No.body,Ts(\"body\"))]);case\"DoWhileStatement\":{let Va=cn(No.body,Ts(\"body\"));return To=[Z([\"do\",Va])],No.body.type===\"BlockStatement\"?To.push(\" \"):To.push(H),To.push(\"while (\",Z([oe([$,Ts(\"test\")]),$]),\")\",dc),To}case\"DoExpression\":return[No.async?\"async \":\"\",\"do \",Ts(\"body\")];case\"BreakStatement\":return To.push(\"break\"),No.label&&To.push(\" \",Ts(\"label\")),To.push(dc),To;case\"ContinueStatement\":return To.push(\"continue\"),No.label&&To.push(\" \",Ts(\"label\")),To.push(dc),To;case\"LabeledStatement\":return No.body.type===\"EmptyStatement\"?[Ts(\"label\"),\":;\"]:[Ts(\"label\"),\": \",Ts(\"body\")];case\"TryStatement\":return[\"try \",Ts(\"block\"),No.handler?[\" \",Ts(\"handler\")]:\"\",No.finalizer?[\" finally \",Ts(\"finalizer\")]:\"\"];case\"CatchClause\":if(No.param){let Va=Ae(No.param,Lu=>!we(Lu)||Lu.leading&&Y(qo.originalText,me(Lu))||Lu.trailing&&Y(qo.originalText,J(Lu),{backwards:!0})),ol=Ts(\"param\");return[\"catch \",Va?[\"(\",oe([$,ol]),$,\") \"]:[\"(\",ol,\") \"],Ts(\"body\")]}return[\"catch \",Ts(\"body\")];case\"SwitchStatement\":return[Z([\"switch (\",oe([$,Ts(\"discriminant\")]),$,\")\"]),\" {\",No.cases.length>0?oe([H,G(H,js.map((Va,ol,Lu)=>{let Bo=Va.getValue();return[Ts(),ol!==Lu.length-1&&at(Bo,qo)?H:\"\"]},\"cases\"))]):\"\",H,\"}\"];case\"SwitchCase\":{No.test?To.push(\"case \",Ts(\"test\"),\":\"):To.push(\"default:\"),Ae(No,rt.Dangling)&&To.push(\" \",R(js,qo,!0));let Va=No.consequent.filter(ol=>ol.type!==\"EmptyStatement\");if(Va.length>0){let ol=ur(js,qo,Ts);To.push(Va.length===1&&Va[0].type===\"BlockStatement\"?[\" \",ol]:oe([H,ol]))}return To}case\"DebuggerStatement\":return[\"debugger\",dc];case\"ClassDeclaration\":case\"ClassExpression\":return An(js,qo,Ts);case\"ClassMethod\":case\"ClassPrivateMethod\":case\"MethodDefinition\":return Fi(js,qo,Ts);case\"ClassProperty\":case\"PropertyDefinition\":case\"ClassPrivateProperty\":case\"ClassAccessorProperty\":case\"AccessorProperty\":return Yi(js,qo,Ts);case\"TemplateElement\":return ye(No.value.raw);case\"TemplateLiteral\":return yr(js,Ts,qo);case\"TaggedTemplateExpression\":return[Ts(\"tag\"),Ts(\"typeParameters\"),Ts(\"quasi\")];case\"PrivateIdentifier\":return[\"#\",Ts(\"name\")];case\"PrivateName\":return[\"#\",Ts(\"id\")];case\"InterpreterDirective\":return To.push(\"#!\",No.value,H),at(No,qo)&&To.push(H),To;case\"TopicReference\":return\"%\";case\"ArgumentPlaceholder\":return\"?\";case\"ModuleExpression\":{To.push(\"module {\");let Va=Ts(\"body\");return Va&&To.push(oe([H,Va]),H),To.push(\"}\"),To}default:throw new Error(\"unknown type: \"+JSON.stringify(No.type))}}function _s(js){return js.type&&!we(js)&&!pt(js)&&js.type!==\"EmptyStatement\"&&js.type!==\"TemplateElement\"&&js.type!==\"Import\"&&js.type!==\"TSEmptyBodyFunctionExpression\"}ee.exports={preprocess:tt,print:Vn,embed:_e,insertPragma:ne,massageAstNode:ge,hasPrettierIgnore(js){return ce(js)||Xt(js)},willPrintOwnComments:le.willPrintOwnComments,canAttachComment:_s,printComment:Gs,isBlockComment:we,handleComments:{avoidAstMutation:!0,ownLine:le.handleOwnLineComment,endOfLine:le.handleEndOfLineComment,remaining:le.handleRemainingComment},getCommentChildNodes:le.getCommentChildNodes}}}),Ks=Ct({\"src/language-js/printer-estree-json.js\"(z,ee){Un();var{builders:{hardline:R,indent:Y,join:G}}=Ia(),M=b();function H(ye,_e,ge){let ne=ye.getValue();switch(ne.type){case\"JsonRoot\":return[ge(\"node\"),R];case\"ArrayExpression\":{if(ne.elements.length===0)return\"[]\";let le=ye.map(()=>ye.getValue()===null?\"null\":ge(),\"elements\");return[\"[\",Y([R,G([\",\",R],le)]),R,\"]\"]}case\"ObjectExpression\":return ne.properties.length===0?\"{}\":[\"{\",Y([R,G([\",\",R],ye.map(ge,\"properties\"))]),R,\"}\"];case\"ObjectProperty\":return[ge(\"key\"),\": \",ge(\"value\")];case\"UnaryExpression\":return[ne.operator===\"+\"?\"\":ne.operator,ge(\"argument\")];case\"NullLiteral\":return\"null\";case\"BooleanLiteral\":return ne.value?\"true\":\"false\";case\"StringLiteral\":return JSON.stringify(ne.value);case\"NumericLiteral\":return $(ye)?JSON.stringify(String(ne.value)):JSON.stringify(ne.value);case\"Identifier\":return $(ye)?JSON.stringify(ne.name):ne.name;case\"TemplateLiteral\":return ge([\"quasis\",0]);case\"TemplateElement\":return JSON.stringify(ne.value.cooked);default:throw new Error(\"unknown type: \"+JSON.stringify(ne.type))}}function $(ye){return ye.getName()===\"key\"&&ye.getParentNode().type===\"ObjectProperty\"}var Z=new Set([\"start\",\"end\",\"extra\",\"loc\",\"comments\",\"leadingComments\",\"trailingComments\",\"innerComments\",\"errors\",\"range\",\"tokens\"]);function oe(ye,_e){let{type:ge}=ye;if(ge===\"ObjectProperty\"){let{key:ne}=ye;ne.type===\"Identifier\"?_e.key={type:\"StringLiteral\",value:ne.name}:ne.type===\"NumericLiteral\"&&(_e.key={type:\"StringLiteral\",value:String(ne.value)});return}if(ge===\"UnaryExpression\"&&ye.operator===\"+\")return _e.argument;if(ge===\"ArrayExpression\"){for(let[ne,le]of ye.elements.entries())le===null&&_e.elements.splice(ne,0,{type:\"NullLiteral\"});return}if(ge===\"TemplateLiteral\")return{type:\"StringLiteral\",value:ye.quasis[0].value.cooked}}oe.ignoredProperties=Z,ee.exports={preprocess:M,print:H,massageAstNode:oe}}}),is=Ct({\"src/common/common-options.js\"(z,ee){Un();var R=\"Common\";ee.exports={bracketSpacing:{since:\"0.0.0\",category:R,type:\"boolean\",default:!0,description:\"Print spaces between brackets.\",oppositeDescription:\"Do not print spaces between brackets.\"},singleQuote:{since:\"0.0.0\",category:R,type:\"boolean\",default:!1,description:\"Use single quotes instead of double quotes.\"},proseWrap:{since:\"1.8.2\",category:R,type:\"choice\",default:[{since:\"1.8.2\",value:!0},{since:\"1.9.0\",value:\"preserve\"}],description:\"How to wrap prose.\",choices:[{since:\"1.9.0\",value:\"always\",description:\"Wrap prose if it exceeds the print width.\"},{since:\"1.9.0\",value:\"never\",description:\"Do not wrap prose.\"},{since:\"1.9.0\",value:\"preserve\",description:\"Wrap prose as-is.\"}]},bracketSameLine:{since:\"2.4.0\",category:R,type:\"boolean\",default:!1,description:\"Put > of opening tags on the last line instead of on a new line.\"},singleAttributePerLine:{since:\"2.6.0\",category:R,type:\"boolean\",default:!1,description:\"Enforce single attribute per line in HTML, Vue and JSX.\"}}}}),Ms=Ct({\"src/language-js/options.js\"(z,ee){Un();var R=is(),Y=\"JavaScript\";ee.exports={arrowParens:{since:\"1.9.0\",category:Y,type:\"choice\",default:[{since:\"1.9.0\",value:\"avoid\"},{since:\"2.0.0\",value:\"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:R.bracketSameLine,bracketSpacing:R.bracketSpacing,jsxBracketSameLine:{since:\"0.17.0\",category:Y,type:\"boolean\",description:\"Put > on the last line instead of at a new line.\",deprecated:\"2.4.0\"},semi:{since:\"1.0.0\",category:Y,type:\"boolean\",default:!0,description:\"Print semicolons.\",oppositeDescription:\"Do not print semicolons, except at the beginning of lines which may need them.\"},singleQuote:R.singleQuote,jsxSingleQuote:{since:\"1.15.0\",category:Y,type:\"boolean\",default:!1,description:\"Use single quotes in JSX.\"},quoteProps:{since:\"1.17.0\",category:Y,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:{since:\"0.0.0\",category:Y,type:\"choice\",default:[{since:\"0.0.0\",value:!1},{since:\"0.19.0\",value:\"none\"},{since:\"2.0.0\",value:\"es5\"}],description:\"Print trailing commas wherever possible when multi-line.\",choices:[{value:\"es5\",description:\"Trailing commas where valid in ES5 (objects, arrays, etc.)\"},{value:\"none\",description:\"No trailing commas.\"},{value:\"all\",description:\"Trailing commas wherever possible (including function arguments).\"}]},singleAttributePerLine:R.singleAttributePerLine}}}),to=Ct({\"src/language-js/parse/parsers.js\"(){Un()}}),Lo=Ct({\"node_modules/linguist-languages/data/JavaScript.json\"(z,ee){ee.exports={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\",\".jsx\",\".mjs\",\".njs\",\".pac\",\".sjs\",\".ssjs\",\".xsjs\",\".xsjslib\"],filenames:[\"Jakefile\"],interpreters:[\"chakra\",\"d8\",\"gjs\",\"js\",\"node\",\"nodejs\",\"qjs\",\"rhino\",\"v8\",\"v8-shell\"],languageId:183}}}),ji=Ct({\"node_modules/linguist-languages/data/TypeScript.json\"(z,ee){ee.exports={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\",languageId:378}}}),jr=Ct({\"node_modules/linguist-languages/data/TSX.json\"(z,ee){ee.exports={name:\"TSX\",type:\"programming\",color:\"#3178c6\",group:\"TypeScript\",extensions:[\".tsx\"],tmScope:\"source.tsx\",aceMode:\"javascript\",codemirrorMode:\"jsx\",codemirrorMimeType:\"text/jsx\",languageId:94901924}}}),ss=Ct({\"node_modules/linguist-languages/data/JSON.json\"(z,ee){ee.exports={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\",\".jsonl\",\".mcmeta\",\".tfstate\",\".tfstate.backup\",\".topojson\",\".webapp\",\".webmanifest\",\".yy\",\".yyp\"],filenames:[\".arcconfig\",\".auto-changelog\",\".c8rc\",\".htmlhintrc\",\".imgbotconfig\",\".nycrc\",\".tern-config\",\".tern-project\",\".watchmanconfig\",\"Pipfile.lock\",\"composer.lock\",\"mcmod.info\"],languageId:174}}}),Jo=Ct({\"node_modules/linguist-languages/data/JSON with Comments.json\"(z,ee){ee.exports={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\",\".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:[\".babelrc\",\".devcontainer.json\",\".eslintrc.json\",\".jscsrc\",\".jshintrc\",\".jslintrc\",\"api-extractor.json\",\"devcontainer.json\",\"jsconfig.json\",\"language-configuration.json\",\"tsconfig.json\",\"tslint.json\"],languageId:423}}}),da=Ct({\"node_modules/linguist-languages/data/JSON5.json\"(z,ee){ee.exports={name:\"JSON5\",type:\"data\",color:\"#267CB9\",extensions:[\".json5\"],tmScope:\"source.js\",aceMode:\"javascript\",codemirrorMode:\"javascript\",codemirrorMimeType:\"application/json\",languageId:175}}}),ha=Ct({\"src/language-js/index.js\"(z,ee){Un();var R=Rc(),Y=ms(),G=Ks(),M=Ms(),H=to(),$=[R(Lo(),oe=>({since:\"0.0.0\",parsers:[\"babel\",\"acorn\",\"espree\",\"meriyah\",\"babel-flow\",\"babel-ts\",\"flow\",\"typescript\"],vscodeLanguageIds:[\"javascript\",\"mongo\"],interpreters:[...oe.interpreters,\"zx\"],extensions:[...oe.extensions.filter(ye=>ye!==\".jsx\"),\".wxs\"]})),R(Lo(),()=>({name:\"Flow\",since:\"0.0.0\",parsers:[\"flow\",\"babel-flow\"],vscodeLanguageIds:[\"javascript\"],aliases:[],filenames:[],extensions:[\".js.flow\"]})),R(Lo(),()=>({name:\"JSX\",since:\"0.0.0\",parsers:[\"babel\",\"babel-flow\",\"babel-ts\",\"flow\",\"typescript\",\"espree\",\"meriyah\"],vscodeLanguageIds:[\"javascriptreact\"],aliases:void 0,filenames:void 0,extensions:[\".jsx\"],group:\"JavaScript\",interpreters:void 0,tmScope:\"source.js.jsx\",aceMode:\"javascript\",codemirrorMode:\"jsx\",codemirrorMimeType:\"text/jsx\",color:void 0})),R(ji(),()=>({since:\"1.4.0\",parsers:[\"typescript\",\"babel-ts\"],vscodeLanguageIds:[\"typescript\"]})),R(jr(),()=>({since:\"1.4.0\",parsers:[\"typescript\",\"babel-ts\"],vscodeLanguageIds:[\"typescriptreact\"]})),R(ss(),()=>({name:\"JSON.stringify\",since:\"1.13.0\",parsers:[\"json-stringify\"],vscodeLanguageIds:[\"json\"],extensions:[\".importmap\"],filenames:[\"package.json\",\"package-lock.json\",\"composer.json\"]})),R(ss(),oe=>({since:\"1.5.0\",parsers:[\"json\"],vscodeLanguageIds:[\"json\"],extensions:oe.extensions.filter(ye=>ye!==\".jsonl\")})),R(Jo(),oe=>({since:\"1.5.0\",parsers:[\"json\"],vscodeLanguageIds:[\"jsonc\"],filenames:[...oe.filenames,\".eslintrc\",\".swcrc\"]})),R(da(),()=>({since:\"1.13.0\",parsers:[\"json5\"],vscodeLanguageIds:[\"json5\"]}))],Z={estree:Y,\"estree-json\":G};ee.exports={languages:$,options:M,printers:Z,parsers:H}}}),cc=Ct({\"src/language-css/clean.js\"(z,ee){Un();var{isFrontMatterNode:R}=sn(),Y=qu(),G=new Set([\"raw\",\"raws\",\"sourceIndex\",\"source\",\"before\",\"after\",\"trailingComma\"]);function M($,Z,oe){if(R($)&&$.lang===\"yaml\"&&delete Z.value,$.type===\"css-comment\"&&oe.type===\"css-root\"&&oe.nodes.length>0&&((oe.nodes[0]===$||R(oe.nodes[0])&&oe.nodes[1]===$)&&(delete Z.text,/^\\*\\s*@(?:format|prettier)\\s*$/.test($.text))||oe.type===\"css-root\"&&Y(oe.nodes)===$))return null;if($.type===\"value-root\"&&delete Z.text,($.type===\"media-query\"||$.type===\"media-query-list\"||$.type===\"media-feature-expression\")&&delete Z.value,$.type===\"css-rule\"&&delete Z.params,$.type===\"selector-combinator\"&&(Z.value=Z.value.replace(/\\s+/g,\" \")),$.type===\"media-feature\"&&(Z.value=Z.value.replace(/ /g,\"\")),($.type===\"value-word\"&&($.isColor&&$.isHex||[\"initial\",\"inherit\",\"unset\",\"revert\"].includes(Z.value.replace().toLowerCase()))||$.type===\"media-feature\"||$.type===\"selector-root-invalid\"||$.type===\"selector-pseudo\")&&(Z.value=Z.value.toLowerCase()),$.type===\"css-decl\"&&(Z.prop=Z.prop.toLowerCase()),($.type===\"css-atrule\"||$.type===\"css-import\")&&(Z.name=Z.name.toLowerCase()),$.type===\"value-number\"&&(Z.unit=Z.unit.toLowerCase()),($.type===\"media-feature\"||$.type===\"media-keyword\"||$.type===\"media-type\"||$.type===\"media-unknown\"||$.type===\"media-url\"||$.type===\"media-value\"||$.type===\"selector-attribute\"||$.type===\"selector-string\"||$.type===\"selector-class\"||$.type===\"selector-combinator\"||$.type===\"value-string\")&&Z.value&&(Z.value=H(Z.value)),$.type===\"selector-attribute\"&&(Z.attribute=Z.attribute.trim(),Z.namespace&&typeof Z.namespace==\"string\"&&(Z.namespace=Z.namespace.trim(),Z.namespace.length===0&&(Z.namespace=!0)),Z.value&&(Z.value=Z.value.trim().replace(/^[\"']|[\"']$/g,\"\"),delete Z.quoted)),($.type===\"media-value\"||$.type===\"media-type\"||$.type===\"value-number\"||$.type===\"selector-root-invalid\"||$.type===\"selector-class\"||$.type===\"selector-combinator\"||$.type===\"selector-tag\")&&Z.value&&(Z.value=Z.value.replace(/([\\d+.Ee-]+)([A-Za-z]*)/g,(ye,_e,ge)=>{let ne=Number(_e);return Number.isNaN(ne)?ye:ne+ge.toLowerCase()})),$.type===\"selector-tag\"){let ye=$.value.toLowerCase();[\"from\",\"to\"].includes(ye)&&(Z.value=ye)}if($.type===\"css-atrule\"&&$.name.toLowerCase()===\"supports\"&&delete Z.value,$.type===\"selector-unknown\"&&delete Z.value,$.type===\"value-comma_group\"){let ye=$.groups.findIndex(_e=>_e.type===\"value-number\"&&_e.unit===\"...\");ye!==-1&&(Z.groups[ye].unit=\"\",Z.groups.splice(ye+1,0,{type:\"value-word\",value:\"...\",isColor:!1,isHex:!1}))}if($.type===\"value-comma_group\"&&$.groups.some(ye=>ye.type===\"value-atword\"&&ye.value.endsWith(\"[\")||ye.type===\"value-word\"&&ye.value.startsWith(\"]\")))return{type:\"value-atword\",value:$.groups.map(ye=>ye.value).join(\"\"),group:{open:null,close:null,groups:[],type:\"value-paren_group\"}}}M.ignoredProperties=G;function H($){return $.replace(/'/g,'\"').replace(/\\\\([^\\dA-Fa-f])/g,\"$1\")}ee.exports=M}}),Ou=Ct({\"src/utils/front-matter/print.js\"(z,ee){Un();var{builders:{hardline:R,markAsRoot:Y}}=Ia();function G(M,H){if(M.lang===\"yaml\"){let $=M.value.trim(),Z=$?H($,{parser:\"yaml\"},{stripTrailingHardline:!0}):\"\";return Y([M.startDelimiter,R,Z,Z?R:\"\",M.endDelimiter])}}ee.exports=G}}),Xu=Ct({\"src/language-css/embed.js\"(z,ee){Un();var{builders:{hardline:R}}=Ia(),Y=Ou();function G(M,H,$){let Z=M.getValue();if(Z.type===\"front-matter\"){let oe=Y(Z,$);return oe?[oe,R]:\"\"}}ee.exports=G}}),Bd=Ct({\"src/utils/front-matter/parse.js\"(z,ee){Un();var R=new RegExp(\"^(?<startDelimiter>-{3}|\\\\+{3})(?<language>[^\\\\n]*)\\\\n(?:|(?<value>.*?)\\\\n)(?<endDelimiter>\\\\k<startDelimiter>|\\\\.{3})[^\\\\S\\\\n]*(?:\\\\n|$)\",\"s\");function Y(G){let M=G.match(R);if(!M)return{content:G};let{startDelimiter:H,language:$,value:Z=\"\",endDelimiter:oe}=M.groups,ye=$.trim()||\"yaml\";if(H===\"+++\"&&(ye=\"toml\"),ye!==\"yaml\"&&H!==oe)return{content:G};let[_e]=M;return{frontMatter:{type:\"front-matter\",lang:ye,value:Z,startDelimiter:H,endDelimiter:oe,raw:_e.replace(/\\n$/,\"\")},content:_e.replace(/[^\\n]/g,\" \")+G.slice(_e.length)}}ee.exports=Y}}),ip=Ct({\"src/language-css/pragma.js\"(z,ee){Un();var R=mn(),Y=Bd();function G(H){return R.hasPragma(Y(H).content)}function M(H){let{frontMatter:$,content:Z}=Y(H);return($?$.raw+`\n\n`:\"\")+R.insertPragma(Z)}ee.exports={hasPragma:G,insertPragma:M}}}),zp=Ct({\"src/language-css/utils/index.js\"(z,ee){Un();var R=new Set([\"red\",\"green\",\"blue\",\"alpha\",\"a\",\"rgb\",\"hue\",\"h\",\"saturation\",\"s\",\"lightness\",\"l\",\"whiteness\",\"w\",\"blackness\",\"b\",\"tint\",\"shade\",\"blend\",\"blenda\",\"contrast\",\"hsl\",\"hsla\",\"hwb\",\"hwba\"]);function Y(hi,An){let Fi=Array.isArray(An)?An:[An],Yi=-1,Fr;for(;Fr=hi.getParentNode(++Yi);)if(Fi.includes(Fr.type))return Yi;return-1}function G(hi,An){let Fi=Y(hi,An);return Fi===-1?null:hi.getParentNode(Fi)}function M(hi){var An;let Fi=G(hi,\"css-decl\");return Fi==null||(An=Fi.prop)===null||An===void 0?void 0:An.toLowerCase()}var H=new Set([\"initial\",\"inherit\",\"unset\",\"revert\"]);function $(hi){return H.has(hi.toLowerCase())}function Z(hi,An){let Fi=G(hi,\"css-atrule\");return(Fi==null?void 0:Fi.name)&&Fi.name.toLowerCase().endsWith(\"keyframes\")&&[\"from\",\"to\"].includes(An.toLowerCase())}function oe(hi){return hi.includes(\"$\")||hi.includes(\"@\")||hi.includes(\"#\")||hi.startsWith(\"%\")||hi.startsWith(\"--\")||hi.startsWith(\":--\")||hi.includes(\"(\")&&hi.includes(\")\")?hi:hi.toLowerCase()}function ye(hi,An){var Fi;let Yi=G(hi,\"value-func\");return(Yi==null||(Fi=Yi.value)===null||Fi===void 0?void 0:Fi.toLowerCase())===An}function _e(hi){var An;let Fi=G(hi,\"css-rule\"),Yi=Fi==null||(An=Fi.raws)===null||An===void 0?void 0:An.selector;return Yi&&(Yi.startsWith(\":import\")||Yi.startsWith(\":export\"))}function ge(hi,An){let Fi=Array.isArray(An)?An:[An],Yi=G(hi,\"css-atrule\");return Yi&&Fi.includes(Yi.name.toLowerCase())}function ne(hi){let An=hi.getValue(),Fi=G(hi,\"css-atrule\");return(Fi==null?void 0:Fi.name)===\"import\"&&An.groups[0].value===\"url\"&&An.groups.length===2}function le(hi){return hi.type===\"value-func\"&&hi.value.toLowerCase()===\"url\"}function xe(hi,An){var Fi;let Yi=(Fi=hi.getParentNode())===null||Fi===void 0?void 0:Fi.nodes;return Yi&&Yi.indexOf(An)===Yi.length-1}function tt(hi){let{selector:An}=hi;return An?typeof An==\"string\"&&/^@.+:.*$/.test(An)||An.value&&/^@.+:.*$/.test(An.value):!1}function j(hi){return hi.type===\"value-word\"&&[\"from\",\"through\",\"end\"].includes(hi.value)}function Ae(hi){return hi.type===\"value-word\"&&[\"and\",\"or\",\"not\"].includes(hi.value)}function rt(hi){return hi.type===\"value-word\"&&hi.value===\"in\"}function je(hi){return hi.type===\"value-operator\"&&hi.value===\"*\"}function pt(hi){return hi.type===\"value-operator\"&&hi.value===\"/\"}function at(hi){return hi.type===\"value-operator\"&&hi.value===\"+\"}function fn(hi){return hi.type===\"value-operator\"&&hi.value===\"-\"}function ce(hi){return hi.type===\"value-operator\"&&hi.value===\"%\"}function Ve(hi){return je(hi)||pt(hi)||at(hi)||fn(hi)||ce(hi)}function ae(hi){return hi.type===\"value-word\"&&[\"==\",\"!=\"].includes(hi.value)}function Ee(hi){return hi.type===\"value-word\"&&[\"<\",\">\",\"<=\",\">=\"].includes(hi.value)}function J(hi){return hi.type===\"css-atrule\"&&[\"if\",\"else\",\"for\",\"each\",\"while\"].includes(hi.name)}function me(hi){var An;return((An=hi.raws)===null||An===void 0?void 0:An.params)&&/^\\(\\s*\\)$/.test(hi.raws.params)}function we(hi){return hi.name.startsWith(\"prettier-placeholder\")}function Fe(hi){return hi.prop.startsWith(\"@prettier-placeholder\")}function Me(hi,An){return hi.value===\"$$\"&&hi.type===\"value-func\"&&(An==null?void 0:An.type)===\"value-word\"&&!An.raws.before}function Xe(hi){var An,Fi;return((An=hi.value)===null||An===void 0?void 0:An.type)===\"value-root\"&&((Fi=hi.value.group)===null||Fi===void 0?void 0:Fi.type)===\"value-value\"&&hi.prop.toLowerCase()===\"composes\"}function Dt(hi){var An,Fi,Yi;return((An=hi.value)===null||An===void 0||(Fi=An.group)===null||Fi===void 0||(Yi=Fi.group)===null||Yi===void 0?void 0:Yi.type)===\"value-paren_group\"&&hi.value.group.group.open!==null&&hi.value.group.group.close!==null}function Xt(hi){var An;return((An=hi.raws)===null||An===void 0?void 0:An.before)===\"\"}function hn(hi){var An,Fi;return hi.type===\"value-comma_group\"&&((An=hi.groups)===null||An===void 0||(Fi=An[1])===null||Fi===void 0?void 0:Fi.type)===\"value-colon\"}function Jt(hi){var An;return hi.type===\"value-paren_group\"&&((An=hi.groups)===null||An===void 0?void 0:An[0])&&hn(hi.groups[0])}function Hn(hi){var An;let Fi=hi.getValue();if(Fi.groups.length===0)return!1;let Yi=hi.getParentNode(1);if(!Jt(Fi)&&!(Yi&&Jt(Yi)))return!1;let Fr=G(hi,\"css-decl\");return!!(Fr!=null&&(An=Fr.prop)!==null&&An!==void 0&&An.startsWith(\"$\")||Jt(Yi)||Yi.type===\"value-func\")}function Nt(hi){return hi.type===\"value-comment\"&&hi.inline}function Di(hi){return hi.type===\"value-word\"&&hi.value===\"#\"}function cn(hi){return hi.type===\"value-word\"&&hi.value===\"{\"}function Ht(hi){return hi.type===\"value-word\"&&hi.value===\"}\"}function vi(hi){return[\"value-word\",\"value-atword\"].includes(hi.type)}function Ci(hi){return(hi==null?void 0:hi.type)===\"value-colon\"}function ki(hi,An){if(!hn(An))return!1;let{groups:Fi}=An,Yi=Fi.indexOf(hi);return Yi===-1?!1:Ci(Fi[Yi+1])}function Cr(hi){return hi.value&&[\"not\",\"and\",\"or\"].includes(hi.value.toLowerCase())}function pn(hi){return hi.type!==\"value-func\"?!1:R.has(hi.value.toLowerCase())}function ui(hi){return/\\/\\//.test(hi.split(/[\\n\\r]/).pop())}function Zi(hi){return(hi==null?void 0:hi.type)===\"value-atword\"&&hi.value.startsWith(\"prettier-placeholder-\")}function yr(hi,An){var Fi,Yi;if(((Fi=hi.open)===null||Fi===void 0?void 0:Fi.value)!==\"(\"||((Yi=hi.close)===null||Yi===void 0?void 0:Yi.value)!==\")\"||hi.groups.some(Fr=>Fr.type!==\"value-comma_group\"))return!1;if(An.type===\"value-comma_group\"){let Fr=An.groups.indexOf(hi)-1,as=An.groups[Fr];if((as==null?void 0:as.type)===\"value-word\"&&as.value===\"with\")return!0}return!1}function Zs(hi){var An,Fi;return hi.type===\"value-paren_group\"&&((An=hi.open)===null||An===void 0?void 0:An.value)===\"(\"&&((Fi=hi.close)===null||Fi===void 0?void 0:Fi.value)===\")\"}ee.exports={getAncestorCounter:Y,getAncestorNode:G,getPropOfDeclNode:M,maybeToLowerCase:oe,insideValueFunctionNode:ye,insideICSSRuleNode:_e,insideAtRuleNode:ge,insideURLFunctionInImportAtRuleNode:ne,isKeyframeAtRuleKeywords:Z,isWideKeywords:$,isLastNode:xe,isSCSSControlDirectiveNode:J,isDetachedRulesetDeclarationNode:tt,isRelationalOperatorNode:Ee,isEqualityOperatorNode:ae,isMultiplicationNode:je,isDivisionNode:pt,isAdditionNode:at,isSubtractionNode:fn,isModuloNode:ce,isMathOperatorNode:Ve,isEachKeywordNode:rt,isForKeywordNode:j,isURLFunctionNode:le,isIfElseKeywordNode:Ae,hasComposesNode:Xe,hasParensAroundNode:Dt,hasEmptyRawBefore:Xt,isDetachedRulesetCallNode:me,isTemplatePlaceholderNode:we,isTemplatePropNode:Fe,isPostcssSimpleVarNode:Me,isKeyValuePairNode:hn,isKeyValuePairInParenGroupNode:Jt,isKeyInValuePairNode:ki,isSCSSMapItemNode:Hn,isInlineValueCommentNode:Nt,isHashNode:Di,isLeftCurlyBraceNode:cn,isRightCurlyBraceNode:Ht,isWordNode:vi,isColonNode:Ci,isMediaAndSupportsKeywords:Cr,isColorAdjusterFuncNode:pn,lastLineHasInlineComment:ui,isAtWordPlaceholderNode:Zi,isConfigurationNode:yr,isParenGroupNode:Zs}}}),Kr=Ct({\"src/utils/line-column-to-index.js\"(z,ee){Un(),ee.exports=function(R,Y){let G=0;for(let M=0;M<R.line-1;++M)G=Y.indexOf(`\n`,G)+1;return G+R.column}}}),so=Ct({\"src/language-css/loc.js\"(z,ee){Un();var{skipEverythingButNewLine:R}=rs(),Y=qu(),G=Kr();function M(ne,le){return typeof ne.sourceIndex==\"number\"?ne.sourceIndex:ne.source?G(ne.source.start,le)-1:null}function H(ne,le){if(ne.type===\"css-comment\"&&ne.inline)return R(le,ne.source.startOffset);let xe=ne.nodes&&Y(ne.nodes);return xe&&ne.source&&!ne.source.end&&(ne=xe),ne.source&&ne.source.end?G(ne.source.end,le):null}function $(ne,le){ne.source&&(ne.source.startOffset=M(ne,le),ne.source.endOffset=H(ne,le));for(let xe in ne){let tt=ne[xe];xe===\"source\"||!tt||typeof tt!=\"object\"||(tt.type===\"value-root\"||tt.type===\"value-unknown\"?Z(tt,oe(ne),tt.text||tt.value):$(tt,le))}}function Z(ne,le,xe){ne.source&&(ne.source.startOffset=M(ne,xe)+le,ne.source.endOffset=H(ne,xe)+le);for(let tt in ne){let j=ne[tt];tt===\"source\"||!j||typeof j!=\"object\"||Z(j,le,xe)}}function oe(ne){let le=ne.source.startOffset;return typeof ne.prop==\"string\"&&(le+=ne.prop.length),ne.type===\"css-atrule\"&&typeof ne.name==\"string\"&&(le+=1+ne.name.length+ne.raws.afterName.match(/^\\s*:?\\s*/)[0].length),ne.type!==\"css-atrule\"&&ne.raws&&typeof ne.raws.between==\"string\"&&(le+=ne.raws.between.length),le}function ye(ne){let le=\"initial\",xe=\"initial\",tt,j=!1,Ae=[];for(let rt=0;rt<ne.length;rt++){let je=ne[rt];switch(le){case\"initial\":if(je===\"'\"){le=\"single-quotes\";continue}if(je==='\"'){le=\"double-quotes\";continue}if((je===\"u\"||je===\"U\")&&ne.slice(rt,rt+4).toLowerCase()===\"url(\"){le=\"url\",rt+=3;continue}if(je===\"*\"&&ne[rt-1]===\"/\"){le=\"comment-block\";continue}if(je===\"/\"&&ne[rt-1]===\"/\"){le=\"comment-inline\",tt=rt-1;continue}continue;case\"single-quotes\":if(je===\"'\"&&ne[rt-1]!==\"\\\\\"&&(le=xe,xe=\"initial\"),je===`\n`||je===\"\\r\")return ne;continue;case\"double-quotes\":if(je==='\"'&&ne[rt-1]!==\"\\\\\"&&(le=xe,xe=\"initial\"),je===`\n`||je===\"\\r\")return ne;continue;case\"url\":if(je===\")\"&&(le=\"initial\"),je===`\n`||je===\"\\r\")return ne;if(je===\"'\"){le=\"single-quotes\",xe=\"url\";continue}if(je==='\"'){le=\"double-quotes\",xe=\"url\";continue}continue;case\"comment-block\":je===\"/\"&&ne[rt-1]===\"*\"&&(le=\"initial\");continue;case\"comment-inline\":(je==='\"'||je===\"'\"||je===\"*\")&&(j=!0),(je===`\n`||je===\"\\r\")&&(j&&Ae.push([tt,rt]),le=\"initial\",j=!1);continue}}for(let[rt,je]of Ae)ne=ne.slice(0,rt)+ne.slice(rt,je).replace(/[\"'*]/g,\" \")+ne.slice(je);return ne}function _e(ne){return ne.source.startOffset}function ge(ne){return ne.source.endOffset}ee.exports={locStart:_e,locEnd:ge,calculateLoc:$,replaceQuotesInInlineComments:ye}}}),xa=Ct({\"src/language-css/utils/is-less-parser.js\"(z,ee){Un();function R(Y){return Y.parser===\"css\"||Y.parser===\"less\"}ee.exports=R}}),Wa=Ct({\"src/language-css/utils/is-scss.js\"(z,ee){Un();function R(Y,G){return Y===\"less\"||Y===\"scss\"?Y===\"scss\":/(?:\\w\\s*:\\s*[^:}]+|#){|@import[^\\n]+(?:url|,)/.test(G)}ee.exports=R}}),pu=Ct({\"src/language-css/utils/css-units.evaluate.js\"(z,ee){ee.exports={em:\"em\",rem:\"rem\",ex:\"ex\",rex:\"rex\",cap:\"cap\",rcap:\"rcap\",ch:\"ch\",rch:\"rch\",ic:\"ic\",ric:\"ric\",lh:\"lh\",rlh:\"rlh\",vw:\"vw\",svw:\"svw\",lvw:\"lvw\",dvw:\"dvw\",vh:\"vh\",svh:\"svh\",lvh:\"lvh\",dvh:\"dvh\",vi:\"vi\",svi:\"svi\",lvi:\"lvi\",dvi:\"dvi\",vb:\"vb\",svb:\"svb\",lvb:\"lvb\",dvb:\"dvb\",vmin:\"vmin\",svmin:\"svmin\",lvmin:\"lvmin\",dvmin:\"dvmin\",vmax:\"vmax\",svmax:\"svmax\",lvmax:\"lvmax\",dvmax:\"dvmax\",cm:\"cm\",mm:\"mm\",q:\"Q\",in:\"in\",pt:\"pt\",pc:\"pc\",px:\"px\",deg:\"deg\",grad:\"grad\",rad:\"rad\",turn:\"turn\",s:\"s\",ms:\"ms\",hz:\"Hz\",khz:\"kHz\",dpi:\"dpi\",dpcm:\"dpcm\",dppx:\"dppx\",x:\"x\"}}}),yc=Ct({\"src/language-css/utils/print-unit.js\"(z,ee){Un();var R=pu();function Y(G){let M=G.toLowerCase();return Object.prototype.hasOwnProperty.call(R,M)?R[M]:G}ee.exports=Y}}),Df=Ct({\"src/language-css/printer-postcss.js\"(z,ee){Un();var R=qu(),{printNumber:Y,printString:G,hasNewline:M,isFrontMatterNode:H,isNextLineEmpty:$,isNonEmptyArray:Z}=sn(),{builders:{join:oe,line:ye,hardline:_e,softline:ge,group:ne,fill:le,indent:xe,dedent:tt,ifBreak:j,breakParent:Ae},utils:{removeLines:rt,getDocParts:je}}=Ia(),pt=cc(),at=Xu(),{insertPragma:fn}=ip(),{getAncestorNode:ce,getPropOfDeclNode:Ve,maybeToLowerCase:ae,insideValueFunctionNode:Ee,insideICSSRuleNode:J,insideAtRuleNode:me,insideURLFunctionInImportAtRuleNode:we,isKeyframeAtRuleKeywords:Fe,isWideKeywords:Me,isLastNode:Xe,isSCSSControlDirectiveNode:Dt,isDetachedRulesetDeclarationNode:Xt,isRelationalOperatorNode:hn,isEqualityOperatorNode:Jt,isMultiplicationNode:Hn,isDivisionNode:Nt,isAdditionNode:Di,isSubtractionNode:cn,isMathOperatorNode:Ht,isEachKeywordNode:vi,isForKeywordNode:Ci,isURLFunctionNode:ki,isIfElseKeywordNode:Cr,hasComposesNode:pn,hasParensAroundNode:ui,hasEmptyRawBefore:Zi,isKeyValuePairNode:yr,isKeyInValuePairNode:Zs,isDetachedRulesetCallNode:hi,isTemplatePlaceholderNode:An,isTemplatePropNode:Fi,isPostcssSimpleVarNode:Yi,isSCSSMapItemNode:Fr,isInlineValueCommentNode:as,isHashNode:Ds,isLeftCurlyBraceNode:ta,isRightCurlyBraceNode:ll,isWordNode:Bn,isColonNode:Zo,isMediaAndSupportsKeywords:Ta,isColorAdjusterFuncNode:ir,lastLineHasInlineComment:Sn,isAtWordPlaceholderNode:ur,isConfigurationNode:pi,isParenGroupNode:pr}=zp(),{locStart:yo,locEnd:Gs}=so(),Er=xa(),Ne=Wa(),Vn=yc();function er(Bo){return Bo.trailingComma===\"es5\"||Bo.trailingComma===\"all\"}function _s(Bo,il,Ua){let cr=Bo.getValue();if(!cr)return\"\";if(typeof cr==\"string\")return cr;switch(cr.type){case\"front-matter\":return[cr.raw,_e];case\"css-root\":{let Il=js(Bo,il,Ua),Fl=cr.raws.after.trim();return Fl.startsWith(\";\")&&(Fl=Fl.slice(1).trim()),[Il,Fl?` ${Fl}`:\"\",je(Il).length>0?_e:\"\"]}case\"css-comment\":{let Il=cr.inline||cr.raws.inline,Fl=il.originalText.slice(yo(cr),Gs(cr));return Il?Fl.trimEnd():Fl}case\"css-rule\":return[Ua(\"selector\"),cr.important?\" !important\":\"\",cr.nodes?[cr.selector&&cr.selector.type===\"selector-unknown\"&&Sn(cr.selector.value)?ye:\" \",\"{\",cr.nodes.length>0?xe([_e,js(Bo,il,Ua)]):\"\",_e,\"}\",Xt(cr)?\";\":\"\"]:\";\"];case\"css-decl\":{let Il=Bo.getParentNode(),{between:Fl}=cr.raws,ju=Fl.trim(),Gp=ju===\":\",Mt=pn(cr)?rt(Ua(\"value\")):Ua(\"value\");return!Gp&&Sn(ju)&&(Mt=xe([_e,tt(Mt)])),[cr.raws.before.replace(/[\\s;]/g,\"\"),Il.type===\"css-atrule\"&&Il.variable||J(Bo)?cr.prop:ae(cr.prop),ju.startsWith(\"//\")?\" \":\"\",ju,cr.extend?\"\":\" \",Er(il)&&cr.extend&&cr.selector?[\"extend(\",Ua(\"selector\"),\")\"]:\"\",Mt,cr.raws.important?cr.raws.important.replace(/\\s*!\\s*important/i,\" !important\"):cr.important?\" !important\":\"\",cr.raws.scssDefault?cr.raws.scssDefault.replace(/\\s*!default/i,\" !default\"):cr.scssDefault?\" !default\":\"\",cr.raws.scssGlobal?cr.raws.scssGlobal.replace(/\\s*!global/i,\" !global\"):cr.scssGlobal?\" !global\":\"\",cr.nodes?[\" {\",xe([ge,js(Bo,il,Ua)]),ge,\"}\"]:Fi(cr)&&!Il.raws.semicolon&&il.originalText[Gs(cr)-1]!==\";\"?\"\":il.__isHTMLStyleAttribute&&Xe(Bo,cr)?j(\";\"):\";\"]}case\"css-atrule\":{let Il=Bo.getParentNode(),Fl=An(cr)&&!Il.raws.semicolon&&il.originalText[Gs(cr)-1]!==\";\";if(Er(il)){if(cr.mixin)return[Ua(\"selector\"),cr.important?\" !important\":\"\",Fl?\"\":\";\"];if(cr.function)return[cr.name,Ua(\"params\"),Fl?\"\":\";\"];if(cr.variable)return[\"@\",cr.name,\": \",cr.value?Ua(\"value\"):\"\",cr.raws.between.trim()?cr.raws.between.trim()+\" \":\"\",cr.nodes?[\"{\",xe([cr.nodes.length>0?ge:\"\",js(Bo,il,Ua)]),ge,\"}\"]:\"\",Fl?\"\":\";\"]}return[\"@\",hi(cr)||cr.name.endsWith(\":\")?cr.name:ae(cr.name),cr.params?[hi(cr)?\"\":An(cr)?cr.raws.afterName===\"\"?\"\":cr.name.endsWith(\":\")?\" \":/^\\s*\\n\\s*\\n/.test(cr.raws.afterName)?[_e,_e]:/^\\s*\\n/.test(cr.raws.afterName)?_e:\" \":\" \",Ua(\"params\")]:\"\",cr.selector?xe([\" \",Ua(\"selector\")]):\"\",cr.value?ne([\" \",Ua(\"value\"),Dt(cr)?ui(cr)?\" \":ye:\"\"]):cr.name===\"else\"?\" \":\"\",cr.nodes?[Dt(cr)?\"\":cr.selector&&!cr.selector.nodes&&typeof cr.selector.value==\"string\"&&Sn(cr.selector.value)||!cr.selector&&typeof cr.params==\"string\"&&Sn(cr.params)?ye:\" \",\"{\",xe([cr.nodes.length>0?ge:\"\",js(Bo,il,Ua)]),ge,\"}\"]:Fl?\"\":\";\"]}case\"media-query-list\":{let Il=[];return Bo.each(Fl=>{let ju=Fl.getValue();ju.type===\"media-query\"&&ju.value===\"\"||Il.push(Ua())},\"nodes\"),ne(xe(oe(ye,Il)))}case\"media-query\":return[oe(\" \",Bo.map(Ua,\"nodes\")),Xe(Bo,cr)?\"\":\",\"];case\"media-type\":return ol(To(cr.value,il));case\"media-feature-expression\":return cr.nodes?[\"(\",...Bo.map(Ua,\"nodes\"),\")\"]:cr.value;case\"media-feature\":return ae(To(cr.value.replace(/ +/g,\" \"),il));case\"media-colon\":return[cr.value,\" \"];case\"media-value\":return ol(To(cr.value,il));case\"media-keyword\":return To(cr.value,il);case\"media-url\":return To(cr.value.replace(/^url\\(\\s+/gi,\"url(\").replace(/\\s+\\)$/g,\")\"),il);case\"media-unknown\":return cr.value;case\"selector-root\":return ne([me(Bo,\"custom-selector\")?[ce(Bo,\"css-atrule\").customSelector,ye]:\"\",oe([\",\",me(Bo,[\"extend\",\"custom-selector\",\"nest\"])?ye:_e],Bo.map(Ua,\"nodes\"))]);case\"selector-selector\":return ne(xe(Bo.map(Ua,\"nodes\")));case\"selector-comment\":return cr.value;case\"selector-string\":return To(cr.value,il);case\"selector-tag\":{let Il=Bo.getParentNode(),Fl=Il&&Il.nodes.indexOf(cr),ju=Fl&&Il.nodes[Fl-1];return[cr.namespace?[cr.namespace===!0?\"\":cr.namespace.trim(),\"|\"]:\"\",ju.type===\"selector-nesting\"?cr.value:ol(Fe(Bo,cr.value)?cr.value.toLowerCase():cr.value)]}case\"selector-id\":return[\"#\",cr.value];case\"selector-class\":return[\".\",ol(To(cr.value,il))];case\"selector-attribute\":{var qp;return[\"[\",cr.namespace?[cr.namespace===!0?\"\":cr.namespace.trim(),\"|\"]:\"\",cr.attribute.trim(),(qp=cr.operator)!==null&&qp!==void 0?qp:\"\",cr.value?Va(To(cr.value.trim(),il),il):\"\",cr.insensitive?\" i\":\"\",\"]\"]}case\"selector-combinator\":{if(cr.value===\"+\"||cr.value===\">\"||cr.value===\"~\"||cr.value===\">>>\"){let ju=Bo.getParentNode();return[ju.type===\"selector-selector\"&&ju.nodes[0]===cr?\"\":ye,cr.value,Xe(Bo,cr)?\"\":\" \"]}let Il=cr.value.trim().startsWith(\"(\")?ye:\"\",Fl=ol(To(cr.value.trim(),il))||ye;return[Il,Fl]}case\"selector-universal\":return[cr.namespace?[cr.namespace===!0?\"\":cr.namespace.trim(),\"|\"]:\"\",cr.value];case\"selector-pseudo\":return[ae(cr.value),Z(cr.nodes)?ne([\"(\",xe([ge,oe([\",\",ye],Bo.map(Ua,\"nodes\"))]),ge,\")\"]):\"\"];case\"selector-nesting\":return cr.value;case\"selector-unknown\":{let Il=ce(Bo,\"css-rule\");if(Il&&Il.isSCSSNesterProperty)return ol(To(ae(cr.value),il));let Fl=Bo.getParentNode();if(Fl.raws&&Fl.raws.selector){let Gp=yo(Fl),Mt=Gp+Fl.raws.selector.length;return il.originalText.slice(Gp,Mt).trim()}let ju=Bo.getParentNode(1);if(Fl.type===\"value-paren_group\"&&ju&&ju.type===\"value-func\"&&ju.value===\"selector\"){let Gp=Gs(Fl.open)+1,Mt=yo(Fl.close),Pr=il.originalText.slice(Gp,Mt).trim();return Sn(Pr)?[Ae,Pr]:Pr}return cr.value}case\"value-value\":case\"value-root\":return Ua(\"group\");case\"value-comment\":return il.originalText.slice(yo(cr),Gs(cr));case\"value-comma_group\":{let Il=Bo.getParentNode(),Fl=Bo.getParentNode(1),ju=Ve(Bo),Gp=ju&&Il.type===\"value-value\"&&(ju===\"grid\"||ju.startsWith(\"grid-template\")),Mt=ce(Bo,\"css-atrule\"),Pr=Mt&&Dt(Mt),fa=cr.groups.some(Jp=>as(Jp)),Pl=Bo.map(Ua,\"groups\"),Wl=[],Ep=Ee(Bo,\"url\"),Ec=!1,Dh=!1;for(let Jp=0;Jp<cr.groups.length;++Jp){var uh;Wl.push(Pl[Jp]);let _d=cr.groups[Jp-1],qa=cr.groups[Jp],yl=cr.groups[Jp+1],Rb=cr.groups[Jp+2];if(Ep){(yl&&Di(yl)||Di(qa))&&Wl.push(\" \");continue}if(me(Bo,\"forward\")&&qa.type===\"value-word\"&&qa.value&&_d!==void 0&&_d.type===\"value-word\"&&_d.value===\"as\"&&yl.type===\"value-operator\"&&yl.value===\"*\"||!yl||qa.type===\"value-word\"&&qa.value.endsWith(\"-\")&&ur(yl))continue;if(qa.type===\"value-string\"&&qa.quoted){let IC=qa.value.lastIndexOf(\"#{\"),FC=qa.value.lastIndexOf(\"}\");IC!==-1&&FC!==-1?Ec=IC>FC:IC!==-1?Ec=!0:FC!==-1&&(Ec=!1)}if(Ec||Zo(qa)||Zo(yl)||qa.type===\"value-atword\"&&(qa.value===\"\"||qa.value.endsWith(\"[\"))||yl.type===\"value-word\"&&yl.value.startsWith(\"]\")||qa.value===\"~\"||qa.value&&qa.value.includes(\"\\\\\")&&yl&&yl.type!==\"value-comment\"||_d&&_d.value&&_d.value.indexOf(\"\\\\\")===_d.value.length-1&&qa.type===\"value-operator\"&&qa.value===\"/\"||qa.value===\"\\\\\"||Yi(qa,yl)||Ds(qa)||ta(qa)||ll(yl)||ta(yl)&&Zi(yl)||ll(qa)&&Zi(yl)||qa.value===\"--\"&&Ds(yl))continue;let LC=Ht(qa),kw=Ht(yl);if((LC&&Ds(yl)||kw&&ll(qa))&&Zi(yl)||!_d&&Nt(qa)||Ee(Bo,\"calc\")&&(Di(qa)||Di(yl)||cn(qa)||cn(yl))&&Zi(yl))continue;let aT=(Di(qa)||cn(qa))&&Jp===0&&(yl.type===\"value-number\"||yl.isHex)&&Fl&&ir(Fl)&&!Zi(yl),NC=Rb&&Rb.type===\"value-func\"||Rb&&Bn(Rb)||qa.type===\"value-func\"||Bn(qa),Lw=yl.type===\"value-func\"||Bn(yl)||_d&&_d.type===\"value-func\"||_d&&Bn(_d);if(!(!(Hn(yl)||Hn(qa))&&!Ee(Bo,\"calc\")&&!aT&&(Nt(yl)&&!NC||Nt(qa)&&!Lw||Di(yl)&&!NC||Di(qa)&&!Lw||cn(yl)||cn(qa))&&(Zi(yl)||LC&&(!_d||_d&&Ht(_d))))&&!((il.parser===\"scss\"||il.parser===\"less\")&&LC&&qa.value===\"-\"&&pr(yl)&&Gs(qa)===yo(yl.open)&&yl.open.value===\"(\")){if(as(qa)){if(Il.type===\"value-paren_group\"){Wl.push(tt(_e));continue}Wl.push(_e);continue}if(Pr&&(Jt(yl)||hn(yl)||Cr(yl)||vi(qa)||Ci(qa))){Wl.push(\" \");continue}if(Mt&&Mt.name.toLowerCase()===\"namespace\"){Wl.push(\" \");continue}if(Gp){qa.source&&yl.source&&qa.source.start.line!==yl.source.start.line?(Wl.push(_e),Dh=!0):Wl.push(\" \");continue}if(kw){Wl.push(\" \");continue}if(!(yl&&yl.value===\"...\")&&!(ur(qa)&&ur(yl)&&Gs(qa)===yo(yl))){if(ur(qa)&&pr(yl)&&Gs(qa)===yo(yl.open)){Wl.push(ge);continue}if(qa.value===\"with\"&&pr(yl)){Wl.push(\" \");continue}(uh=qa.value)!==null&&uh!==void 0&&uh.endsWith(\"#\")&&yl.value===\"{\"&&pr(yl.group)||Wl.push(ye)}}}return fa&&Wl.push(Ae),Dh&&Wl.unshift(_e),Pr?ne(xe(Wl)):we(Bo)?ne(le(Wl)):ne(xe(le(Wl)))}case\"value-paren_group\":{let Il=Bo.getParentNode();if(Il&&ki(Il)&&(cr.groups.length===1||cr.groups.length>0&&cr.groups[0].type===\"value-comma_group\"&&cr.groups[0].groups.length>0&&cr.groups[0].groups[0].type===\"value-word\"&&cr.groups[0].groups[0].value.startsWith(\"data:\")))return[cr.open?Ua(\"open\"):\"\",oe(\",\",Bo.map(Ua,\"groups\")),cr.close?Ua(\"close\"):\"\"];if(!cr.open){let Ep=Bo.map(Ua,\"groups\"),Ec=[];for(let Dh=0;Dh<Ep.length;Dh++)Dh!==0&&Ec.push([\",\",ye]),Ec.push(Ep[Dh]);return ne(xe(le(Ec)))}let Fl=Fr(Bo),ju=R(cr.groups),Gp=ju&&ju.type===\"value-comment\",Mt=Zs(cr,Il),Pr=pi(cr,Il),fa=Pr||Fl&&!Mt,Pl=Pr||Mt,Wl=ne([cr.open?Ua(\"open\"):\"\",xe([ge,oe([ye],Bo.map((Ep,Ec)=>{let Dh=Ep.getValue(),Jp=Ec===cr.groups.length-1,_d=[Ua(),Jp?\"\":\",\"];if(yr(Dh)&&Dh.type===\"value-comma_group\"&&Dh.groups&&Dh.groups[0].type!==\"value-paren_group\"&&Dh.groups[2]&&Dh.groups[2].type===\"value-paren_group\"){let qa=je(_d[0].contents.contents);qa[1]=ne(qa[1]),_d=[ne(tt(_d))]}if(!Jp&&Dh.type===\"value-comma_group\"&&Z(Dh.groups)){let qa=R(Dh.groups);!qa.source&&qa.close&&(qa=qa.close),qa.source&&$(il.originalText,qa,Gs)&&_d.push(_e)}return _d},\"groups\"))]),j(!Gp&&Ne(il.parser,il.originalText)&&Fl&&er(il)?\",\":\"\"),ge,cr.close?Ua(\"close\"):\"\"],{shouldBreak:fa});return Pl?tt(Wl):Wl}case\"value-func\":return[cr.value,me(Bo,\"supports\")&&Ta(cr)?\" \":\"\",Ua(\"group\")];case\"value-paren\":return cr.value;case\"value-number\":return[Lu(cr.value),Vn(cr.unit)];case\"value-operator\":return cr.value;case\"value-word\":return cr.isColor&&cr.isHex||Me(cr.value)?cr.value.toLowerCase():cr.value;case\"value-colon\":{let Il=Bo.getParentNode(),Fl=Il&&Il.groups.indexOf(cr),ju=Fl&&Il.groups[Fl-1];return[cr.value,ju&&typeof ju.value==\"string\"&&R(ju.value)===\"\\\\\"||Ee(Bo,\"url\")?\"\":ye]}case\"value-comma\":return[cr.value,\" \"];case\"value-string\":return G(cr.raws.quote+cr.value+cr.raws.quote,il);case\"value-atword\":return[\"@\",cr.value];case\"value-unicode-range\":return cr.value;case\"value-unknown\":return cr.value;default:throw new Error(`Unknown postcss type ${JSON.stringify(cr.type)}`)}}function js(Bo,il,Ua){let cr=[];return Bo.each((qp,uh,Il)=>{let Fl=Il[uh-1];if(Fl&&Fl.type===\"css-comment\"&&Fl.text.trim()===\"prettier-ignore\"){let ju=qp.getValue();cr.push(il.originalText.slice(yo(ju),Gs(ju)))}else cr.push(Ua());uh!==Il.length-1&&(Il[uh+1].type===\"css-comment\"&&!M(il.originalText,yo(Il[uh+1]),{backwards:!0})&&!H(Il[uh])||Il[uh+1].type===\"css-atrule\"&&Il[uh+1].name===\"else\"&&Il[uh].type!==\"css-comment\"?cr.push(\" \"):(cr.push(il.__isHTMLStyleAttribute?ye:_e),$(il.originalText,qp.getValue(),Gs)&&!H(Il[uh])&&cr.push(_e)))},\"nodes\"),cr}var qo=/([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*\\1/gs,Ts=/(?:\\d*\\.\\d+|\\d+\\.?)(?:[Ee][+-]?\\d+)?/g,Dc=/[A-Za-z]+/g,No=/[$@]?[A-Z_a-z\\u0080-\\uFFFF][\\w\\u0080-\\uFFFF-]*/g,dc=new RegExp(qo.source+`|(${No.source})?(${Ts.source})(${Dc.source})?`,\"g\");function To(Bo,il){return Bo.replace(qo,Ua=>G(Ua,il))}function Va(Bo,il){let Ua=il.singleQuote?\"'\":'\"';return Bo.includes('\"')||Bo.includes(\"'\")?Bo:Ua+Bo+Ua}function ol(Bo){return Bo.replace(dc,(il,Ua,cr,qp,uh)=>!cr&&qp?Lu(qp)+ae(uh||\"\"):il)}function Lu(Bo){return Y(Bo).replace(/\\.0(?=$|e)/,\"\")}ee.exports={print:_s,embed:at,insertPragma:fn,massageAstNode:pt}}}),jh=Ct({\"src/language-css/options.js\"(z,ee){Un();var R=is();ee.exports={singleQuote:R.singleQuote}}}),Qu=Ct({\"src/language-css/parsers.js\"(){Un()}}),Up=Ct({\"node_modules/linguist-languages/data/CSS.json\"(z,ee){ee.exports={name:\"CSS\",type:\"markup\",tmScope:\"source.css\",aceMode:\"css\",codemirrorMode:\"css\",codemirrorMimeType:\"text/css\",color:\"#563d7c\",extensions:[\".css\"],languageId:50}}}),Om=Ct({\"node_modules/linguist-languages/data/PostCSS.json\"(z,ee){ee.exports={name:\"PostCSS\",type:\"markup\",color:\"#dc3a0c\",tmScope:\"source.postcss\",group:\"CSS\",extensions:[\".pcss\",\".postcss\"],aceMode:\"text\",languageId:262764437}}}),xp=Ct({\"node_modules/linguist-languages/data/Less.json\"(z,ee){ee.exports={name:\"Less\",type:\"markup\",color:\"#1d365d\",aliases:[\"less-css\"],extensions:[\".less\"],tmScope:\"source.css.less\",aceMode:\"less\",codemirrorMode:\"css\",codemirrorMimeType:\"text/css\",languageId:198}}}),$f=Ct({\"node_modules/linguist-languages/data/SCSS.json\"(z,ee){ee.exports={name:\"SCSS\",type:\"markup\",color:\"#c6538c\",tmScope:\"source.css.scss\",aceMode:\"scss\",codemirrorMode:\"css\",codemirrorMimeType:\"text/x-scss\",extensions:[\".scss\"],languageId:329}}}),D_=Ct({\"src/language-css/index.js\"(z,ee){Un();var R=Rc(),Y=Df(),G=jh(),M=Qu(),H=[R(Up(),Z=>({since:\"1.4.0\",parsers:[\"css\"],vscodeLanguageIds:[\"css\"],extensions:[...Z.extensions,\".wxss\"]})),R(Om(),()=>({since:\"1.4.0\",parsers:[\"css\"],vscodeLanguageIds:[\"postcss\"]})),R(xp(),()=>({since:\"1.4.0\",parsers:[\"less\"],vscodeLanguageIds:[\"less\"]})),R($f(),()=>({since:\"1.4.0\",parsers:[\"scss\"],vscodeLanguageIds:[\"scss\"]}))],$={postcss:Y};ee.exports={languages:H,options:G,printers:$,parsers:M}}}),K=Ct({\"src/language-handlebars/loc.js\"(z,ee){Un();function R(G){return G.loc.start.offset}function Y(G){return G.loc.end.offset}ee.exports={locStart:R,locEnd:Y}}}),nt=Ct({\"src/language-handlebars/clean.js\"(z,ee){Un();function R(Y,G){if(Y.type===\"TextNode\"){let M=Y.chars.trim();if(!M)return null;G.chars=M.replace(/[\\t\\n\\f\\r ]+/g,\" \")}Y.type===\"AttrNode\"&&Y.name.toLowerCase()===\"class\"&&delete G.value}R.ignoredProperties=new Set([\"loc\",\"selfClosing\"]),ee.exports=R}}),Ue=Ct({\"src/language-handlebars/html-void-elements.evaluate.js\"(z,ee){ee.exports=[\"area\",\"base\",\"br\",\"col\",\"command\",\"embed\",\"hr\",\"img\",\"input\",\"keygen\",\"link\",\"meta\",\"param\",\"source\",\"track\",\"wbr\"]}}),qe=Ct({\"src/language-handlebars/utils.js\"(z,ee){Un();var R=qu(),Y=Ue();function G(je){let pt=je.getValue(),at=je.getParentNode(0);return!!(ge(je,[\"ElementNode\"])&&R(at.children)===pt||ge(je,[\"Block\"])&&R(at.body)===pt)}function M(je){return je.toUpperCase()===je}function H(je){return _e(je,[\"ElementNode\"])&&typeof je.tag==\"string\"&&!je.tag.startsWith(\":\")&&(M(je.tag[0])||je.tag.includes(\".\"))}var $=new Set(Y);function Z(je){return $.has(je.toLowerCase())&&!M(je[0])}function oe(je){return je.selfClosing===!0||Z(je.tag)||H(je)&&je.children.every(pt=>ye(pt))}function ye(je){return _e(je,[\"TextNode\"])&&!/\\S/.test(je.chars)}function _e(je,pt){return je&&pt.includes(je.type)}function ge(je,pt){let at=je.getParentNode(0);return _e(at,pt)}function ne(je,pt){let at=tt(je);return _e(at,pt)}function le(je,pt){let at=j(je);return _e(at,pt)}function xe(je,pt){var at,fn,ce,Ve;let ae=je.getValue(),Ee=(at=je.getParentNode(0))!==null&&at!==void 0?at:{},J=(fn=(ce=(Ve=Ee.children)!==null&&Ve!==void 0?Ve:Ee.body)!==null&&ce!==void 0?ce:Ee.parts)!==null&&fn!==void 0?fn:[],me=J.indexOf(ae);return me!==-1&&J[me+pt]}function tt(je){let pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return xe(je,-pt)}function j(je){return xe(je,1)}function Ae(je){return _e(je,[\"MustacheCommentStatement\"])&&typeof je.value==\"string\"&&je.value.trim()===\"prettier-ignore\"}function rt(je){let pt=je.getValue(),at=tt(je,2);return Ae(pt)||Ae(at)}ee.exports={getNextNode:j,getPreviousNode:tt,hasPrettierIgnore:rt,isLastNodeOfSiblings:G,isNextNodeOfSomeType:le,isNodeOfSomeType:_e,isParentOfSomeType:ge,isPreviousNodeOfSomeType:ne,isVoid:oe,isWhitespaceNode:ye}}}),Ye=Ct({\"src/language-handlebars/printer-glimmer.js\"(z,ee){Un();var{builders:{dedent:R,fill:Y,group:G,hardline:M,ifBreak:H,indent:$,join:Z,line:oe,softline:ye},utils:{getDocParts:_e,replaceTextEndOfLine:ge}}=Ia(),{getPreferredQuote:ne,isNonEmptyArray:le}=sn(),{locStart:xe,locEnd:tt}=K(),j=nt(),{getNextNode:Ae,getPreviousNode:rt,hasPrettierIgnore:je,isLastNodeOfSiblings:pt,isNextNodeOfSomeType:at,isNodeOfSomeType:fn,isParentOfSomeType:ce,isPreviousNodeOfSomeType:Ve,isVoid:ae,isWhitespaceNode:Ee}=qe(),J=2;function me(Sn,ur,pi){let pr=Sn.getValue();if(!pr)return\"\";if(je(Sn))return ur.originalText.slice(xe(pr),tt(pr));let yo=ur.singleQuote?\"'\":'\"';switch(pr.type){case\"Block\":case\"Program\":case\"Template\":return G(Sn.map(pi,\"body\"));case\"ElementNode\":{let Gs=G(Fe(Sn,pi)),Er=ur.htmlWhitespaceSensitivity===\"ignore\"&&at(Sn,[\"ElementNode\"])?ye:\"\";if(ae(pr))return[Gs,Er];let Ne=[\"</\",pr.tag,\">\"];return pr.children.length===0?[Gs,$(Ne),Er]:ur.htmlWhitespaceSensitivity===\"ignore\"?[Gs,$(Me(Sn,ur,pi)),M,$(Ne),Er]:[Gs,$(G(Me(Sn,ur,pi))),$(Ne),Er]}case\"BlockStatement\":{let Gs=Sn.getParentNode(1);return Gs&&Gs.inverse&&Gs.inverse.body.length===1&&Gs.inverse.body[0]===pr&&Gs.inverse.body[0].path.parts[0]===Gs.path.parts[0]?[Ci(Sn,pi,Gs.inverse.body[0].path.parts[0]),Zi(Sn,pi,ur),yr(Sn,pi,ur)]:[Ht(Sn,pi),G([Zi(Sn,pi,ur),yr(Sn,pi,ur),ki(Sn,pi,ur)])]}case\"ElementModifierStatement\":return G([\"{{\",Bn(Sn,pi),\"}}\"]);case\"MustacheStatement\":return G([Dt(pr),Bn(Sn,pi),Xt(pr)]);case\"SubExpression\":return G([\"(\",ll(Sn,pi),ye,\")\"]);case\"AttrNode\":{let Gs=pr.value.type===\"TextNode\";if(Gs&&pr.value.chars===\"\"&&xe(pr.value)===tt(pr.value))return pr.name;let Er=Gs?ne(pr.value.chars,yo).quote:pr.value.type===\"ConcatStatement\"?ne(pr.value.parts.filter(Vn=>Vn.type===\"TextNode\").map(Vn=>Vn.chars).join(\"\"),yo).quote:\"\",Ne=pi(\"value\");return[pr.name,\"=\",Er,pr.name===\"class\"&&Er?G($(Ne)):Ne,Er]}case\"ConcatStatement\":return Sn.map(pi,\"parts\");case\"Hash\":return Z(oe,Sn.map(pi,\"pairs\"));case\"HashPair\":return[pr.key,\"=\",pi(\"value\")];case\"TextNode\":{let Gs=pr.chars.replace(/{{/g,\"\\\\{{\"),Er=An(Sn);if(Er){if(Er===\"class\"){let No=Gs.trim().split(/\\s+/).join(\" \"),dc=!1,To=!1;return ce(Sn,[\"ConcatStatement\"])&&(Ve(Sn,[\"MustacheStatement\"])&&/^\\s/.test(Gs)&&(dc=!0),at(Sn,[\"MustacheStatement\"])&&/\\s$/.test(Gs)&&No!==\"\"&&(To=!0)),[dc?oe:\"\",No,To?oe:\"\"]}return ge(Gs)}let Ne=/^[\\t\\n\\f\\r ]*$/.test(Gs),Vn=!rt(Sn),er=!Ae(Sn);if(ur.htmlWhitespaceSensitivity!==\"ignore\"){let No=/^[\\t\\n\\f\\r ]*/,dc=/[\\t\\n\\f\\r ]*$/,To=er&&ce(Sn,[\"Template\"]),Va=Vn&&ce(Sn,[\"Template\"]);if(Ne){if(Va||To)return\"\";let Ua=[oe],cr=Fi(Gs);return cr&&(Ua=as(cr)),pt(Sn)&&(Ua=Ua.map(qp=>R(qp))),Ua}let[ol]=Gs.match(No),[Lu]=Gs.match(dc),Bo=[];if(ol){Bo=[oe];let Ua=Fi(ol);Ua&&(Bo=as(Ua)),Gs=Gs.replace(No,\"\")}let il=[];if(Lu){if(!To){il=[oe];let Ua=Fi(Lu);Ua&&(il=as(Ua)),pt(Sn)&&(il=il.map(cr=>R(cr)))}Gs=Gs.replace(dc,\"\")}return[...Bo,Y(Zs(Gs)),...il]}let _s=Fi(Gs),js=Yi(Gs),qo=Fr(Gs);if((Vn||er)&&Ne&&ce(Sn,[\"Block\",\"ElementNode\",\"Template\"]))return\"\";Ne&&_s?(js=Math.min(_s,J),qo=0):(at(Sn,[\"BlockStatement\",\"ElementNode\"])&&(qo=Math.max(qo,1)),Ve(Sn,[\"BlockStatement\",\"ElementNode\"])&&(js=Math.max(js,1)));let Ts=\"\",Dc=\"\";return qo===0&&at(Sn,[\"MustacheStatement\"])&&(Dc=\" \"),js===0&&Ve(Sn,[\"MustacheStatement\"])&&(Ts=\" \"),Vn&&(js=0,Ts=\"\"),er&&(qo=0,Dc=\"\"),Gs=Gs.replace(/^[\\t\\n\\f\\r ]+/g,Ts).replace(/[\\t\\n\\f\\r ]+$/,Dc),[...as(js),Y(Zs(Gs)),...as(qo)]}case\"MustacheCommentStatement\":{let Gs=xe(pr),Er=tt(pr),Ne=ur.originalText.charAt(Gs+2)===\"~\",Vn=ur.originalText.charAt(Er-3)===\"~\",er=pr.value.includes(\"}}\")?\"--\":\"\";return[\"{{\",Ne?\"~\":\"\",\"!\",er,pr.value,er,Vn?\"~\":\"\",\"}}\"]}case\"PathExpression\":return pr.original;case\"BooleanLiteral\":return String(pr.value);case\"CommentStatement\":return[\"<!--\",pr.value,\"-->\"];case\"StringLiteral\":{if(ta(Sn)){let Gs=ur.singleQuote?'\"':\"'\";return Ds(pr.value,Gs)}return Ds(pr.value,yo)}case\"NumberLiteral\":return String(pr.value);case\"UndefinedLiteral\":return\"undefined\";case\"NullLiteral\":return\"null\";default:throw new Error(\"unknown glimmer type: \"+JSON.stringify(pr.type))}}function we(Sn,ur){return xe(Sn)-xe(ur)}function Fe(Sn,ur){let pi=Sn.getValue(),pr=[\"attributes\",\"modifiers\",\"comments\"].filter(Gs=>le(pi[Gs])),yo=pr.flatMap(Gs=>pi[Gs]).sort(we);for(let Gs of pr)Sn.each(Er=>{let Ne=yo.indexOf(Er.getValue());yo.splice(Ne,1,[oe,ur()])},Gs);return le(pi.blockParams)&&yo.push(oe,ir(pi)),[\"<\",pi.tag,$(yo),Xe(pi)]}function Me(Sn,ur,pi){let pr=Sn.getValue().children.every(yo=>Ee(yo));return ur.htmlWhitespaceSensitivity===\"ignore\"&&pr?\"\":Sn.map((yo,Gs)=>{let Er=pi();return Gs===0&&ur.htmlWhitespaceSensitivity===\"ignore\"?[ye,Er]:Er},\"children\")}function Xe(Sn){return ae(Sn)?H([ye,\"/>\"],[\" />\",ye]):H([ye,\">\"],\">\")}function Dt(Sn){let ur=Sn.escaped===!1?\"{{{\":\"{{\",pi=Sn.strip&&Sn.strip.open?\"~\":\"\";return[ur,pi]}function Xt(Sn){let ur=Sn.escaped===!1?\"}}}\":\"}}\";return[Sn.strip&&Sn.strip.close?\"~\":\"\",ur]}function hn(Sn){let ur=Dt(Sn),pi=Sn.openStrip.open?\"~\":\"\";return[ur,pi,\"#\"]}function Jt(Sn){let ur=Xt(Sn);return[Sn.openStrip.close?\"~\":\"\",ur]}function Hn(Sn){let ur=Dt(Sn),pi=Sn.closeStrip.open?\"~\":\"\";return[ur,pi,\"/\"]}function Nt(Sn){let ur=Xt(Sn);return[Sn.closeStrip.close?\"~\":\"\",ur]}function Di(Sn){let ur=Dt(Sn),pi=Sn.inverseStrip.open?\"~\":\"\";return[ur,pi]}function cn(Sn){let ur=Xt(Sn);return[Sn.inverseStrip.close?\"~\":\"\",ur]}function Ht(Sn,ur){let pi=Sn.getValue(),pr=[],yo=Ta(Sn,ur);return yo&&pr.push(G(yo)),le(pi.program.blockParams)&&pr.push(ir(pi.program)),G([hn(pi),Zo(Sn,ur),pr.length>0?$([oe,Z(oe,pr)]):\"\",ye,Jt(pi)])}function vi(Sn,ur){return[ur.htmlWhitespaceSensitivity===\"ignore\"?M:\"\",Di(Sn),\"else\",cn(Sn)]}function Ci(Sn,ur,pi){let pr=Sn.getValue(),yo=Sn.getParentNode(1);return G([Di(yo),[\"else\",\" \",pi],$([oe,G(Ta(Sn,ur)),...le(pr.program.blockParams)?[oe,ir(pr.program)]:[]]),ye,cn(yo)])}function ki(Sn,ur,pi){let pr=Sn.getValue();return pi.htmlWhitespaceSensitivity===\"ignore\"?[Cr(pr)?ye:M,Hn(pr),ur(\"path\"),Nt(pr)]:[Hn(pr),ur(\"path\"),Nt(pr)]}function Cr(Sn){return fn(Sn,[\"BlockStatement\"])&&Sn.program.body.every(ur=>Ee(ur))}function pn(Sn){return ui(Sn)&&Sn.inverse.body.length===1&&fn(Sn.inverse.body[0],[\"BlockStatement\"])&&Sn.inverse.body[0].path.parts[0]===Sn.path.parts[0]}function ui(Sn){return fn(Sn,[\"BlockStatement\"])&&Sn.inverse}function Zi(Sn,ur,pi){let pr=Sn.getValue();if(Cr(pr))return\"\";let yo=ur(\"program\");return pi.htmlWhitespaceSensitivity===\"ignore\"?$([M,yo]):$(yo)}function yr(Sn,ur,pi){let pr=Sn.getValue(),yo=ur(\"inverse\"),Gs=pi.htmlWhitespaceSensitivity===\"ignore\"?[M,yo]:yo;return pn(pr)?Gs:ui(pr)?[vi(pr,pi),$(Gs)]:\"\"}function Zs(Sn){return _e(Z(oe,hi(Sn)))}function hi(Sn){return Sn.split(/[\\t\\n\\f\\r ]+/)}function An(Sn){for(let ur=0;ur<2;ur++){let pi=Sn.getParentNode(ur);if(pi&&pi.type===\"AttrNode\")return pi.name.toLowerCase()}}function Fi(Sn){return Sn=typeof Sn==\"string\"?Sn:\"\",Sn.split(`\n`).length-1}function Yi(Sn){Sn=typeof Sn==\"string\"?Sn:\"\";let ur=(Sn.match(/^([^\\S\\n\\r]*[\\n\\r])+/g)||[])[0]||\"\";return Fi(ur)}function Fr(Sn){Sn=typeof Sn==\"string\"?Sn:\"\";let ur=(Sn.match(/([\\n\\r][^\\S\\n\\r]*)+$/g)||[])[0]||\"\";return Fi(ur)}function as(){let Sn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(Sn,J)}).fill(M)}function Ds(Sn,ur){let{quote:pi,regex:pr}=ne(Sn,ur);return[pi,Sn.replace(pr,`\\\\${pi}`),pi]}function ta(Sn){let ur=0,pi=Sn.getParentNode(ur);for(;pi&&fn(pi,[\"SubExpression\"]);)ur++,pi=Sn.getParentNode(ur);return!!(pi&&fn(Sn.getParentNode(ur+1),[\"ConcatStatement\"])&&fn(Sn.getParentNode(ur+2),[\"AttrNode\"]))}function ll(Sn,ur){let pi=Zo(Sn,ur),pr=Ta(Sn,ur);return pr?$([pi,oe,G(pr)]):pi}function Bn(Sn,ur){let pi=Zo(Sn,ur),pr=Ta(Sn,ur);return pr?[$([pi,oe,pr]),ye]:pi}function Zo(Sn,ur){return ur(\"path\")}function Ta(Sn,ur){let pi=Sn.getValue(),pr=[];if(pi.params.length>0){let yo=Sn.map(ur,\"params\");pr.push(...yo)}if(pi.hash&&pi.hash.pairs.length>0){let yo=ur(\"hash\");pr.push(yo)}return pr.length===0?\"\":Z(oe,pr)}function ir(Sn){return[\"as |\",Sn.blockParams.join(\" \"),\"|\"]}ee.exports={print:me,massageAstNode:j}}}),xt=Ct({\"src/language-handlebars/parsers.js\"(){Un()}}),bt=Ct({\"node_modules/linguist-languages/data/Handlebars.json\"(z,ee){ee.exports={name:\"Handlebars\",type:\"markup\",color:\"#f7931e\",aliases:[\"hbs\",\"htmlbars\"],extensions:[\".handlebars\",\".hbs\"],tmScope:\"text.html.handlebars\",aceMode:\"handlebars\",languageId:155}}}),wt=Ct({\"src/language-handlebars/index.js\"(z,ee){Un();var R=Rc(),Y=Ye(),G=xt(),M=[R(bt(),()=>({since:\"2.3.0\",parsers:[\"glimmer\"],vscodeLanguageIds:[\"handlebars\"]}))],H={glimmer:Y};ee.exports={languages:M,printers:H,parsers:G}}}),lt=Ct({\"src/language-graphql/pragma.js\"(z,ee){Un();function R(G){return/^\\s*#[^\\S\\n]*@(?:format|prettier)\\s*(?:\\n|$)/.test(G)}function Y(G){return`# @format\n\n`+G}ee.exports={hasPragma:R,insertPragma:Y}}}),Et=Ct({\"src/language-graphql/loc.js\"(z,ee){Un();function R(G){return typeof G.start==\"number\"?G.start:G.loc&&G.loc.start}function Y(G){return typeof G.end==\"number\"?G.end:G.loc&&G.loc.end}ee.exports={locStart:R,locEnd:Y}}}),Q=Ct({\"src/language-graphql/printer-graphql.js\"(z,ee){Un();var{builders:{join:R,hardline:Y,line:G,softline:M,group:H,indent:$,ifBreak:Z}}=Ia(),{isNextLineEmpty:oe,isNonEmptyArray:ye}=sn(),{insertPragma:_e}=lt(),{locStart:ge,locEnd:ne}=Et();function le(at,fn,ce){let Ve=at.getValue();if(!Ve)return\"\";if(typeof Ve==\"string\")return Ve;switch(Ve.kind){case\"Document\":{let ae=[];return at.each((Ee,J,me)=>{ae.push(ce()),J!==me.length-1&&(ae.push(Y),oe(fn.originalText,Ee.getValue(),ne)&&ae.push(Y))},\"definitions\"),[...ae,Y]}case\"OperationDefinition\":{let ae=fn.originalText[ge(Ve)]!==\"{\",Ee=Boolean(Ve.name);return[ae?Ve.operation:\"\",ae&&Ee?[\" \",ce(\"name\")]:\"\",ae&&!Ee&&ye(Ve.variableDefinitions)?\" \":\"\",ye(Ve.variableDefinitions)?H([\"(\",$([M,R([Z(\"\",\", \"),M],at.map(ce,\"variableDefinitions\"))]),M,\")\"]):\"\",xe(at,ce,Ve),Ve.selectionSet?!ae&&!Ee?\"\":\" \":\"\",ce(\"selectionSet\")]}case\"FragmentDefinition\":return[\"fragment \",ce(\"name\"),ye(Ve.variableDefinitions)?H([\"(\",$([M,R([Z(\"\",\", \"),M],at.map(ce,\"variableDefinitions\"))]),M,\")\"]):\"\",\" on \",ce(\"typeCondition\"),xe(at,ce,Ve),\" \",ce(\"selectionSet\")];case\"SelectionSet\":return[\"{\",$([Y,R(Y,tt(at,fn,ce,\"selections\"))]),Y,\"}\"];case\"Field\":return H([Ve.alias?[ce(\"alias\"),\": \"]:\"\",ce(\"name\"),Ve.arguments.length>0?H([\"(\",$([M,R([Z(\"\",\", \"),M],tt(at,fn,ce,\"arguments\"))]),M,\")\"]):\"\",xe(at,ce,Ve),Ve.selectionSet?\" \":\"\",ce(\"selectionSet\")]);case\"Name\":return Ve.value;case\"StringValue\":{if(Ve.block){let ae=Ve.value.replace(/\"\"\"/g,\"\\\\$&\").split(`\n`);return ae.length===1&&(ae[0]=ae[0].trim()),ae.every(Ee=>Ee===\"\")&&(ae.length=0),R(Y,['\"\"\"',...ae,'\"\"\"'])}return['\"',Ve.value.replace(/[\"\\\\]/g,\"\\\\$&\").replace(/\\n/g,\"\\\\n\"),'\"']}case\"IntValue\":case\"FloatValue\":case\"EnumValue\":return Ve.value;case\"BooleanValue\":return Ve.value?\"true\":\"false\";case\"NullValue\":return\"null\";case\"Variable\":return[\"$\",ce(\"name\")];case\"ListValue\":return H([\"[\",$([M,R([Z(\"\",\", \"),M],at.map(ce,\"values\"))]),M,\"]\"]);case\"ObjectValue\":return H([\"{\",fn.bracketSpacing&&Ve.fields.length>0?\" \":\"\",$([M,R([Z(\"\",\", \"),M],at.map(ce,\"fields\"))]),M,Z(\"\",fn.bracketSpacing&&Ve.fields.length>0?\" \":\"\"),\"}\"]);case\"ObjectField\":case\"Argument\":return[ce(\"name\"),\": \",ce(\"value\")];case\"Directive\":return[\"@\",ce(\"name\"),Ve.arguments.length>0?H([\"(\",$([M,R([Z(\"\",\", \"),M],tt(at,fn,ce,\"arguments\"))]),M,\")\"]):\"\"];case\"NamedType\":return ce(\"name\");case\"VariableDefinition\":return[ce(\"variable\"),\": \",ce(\"type\"),Ve.defaultValue?[\" = \",ce(\"defaultValue\")]:\"\",xe(at,ce,Ve)];case\"ObjectTypeExtension\":case\"ObjectTypeDefinition\":return[ce(\"description\"),Ve.description?Y:\"\",Ve.kind===\"ObjectTypeExtension\"?\"extend \":\"\",\"type \",ce(\"name\"),Ve.interfaces.length>0?[\" implements \",...rt(at,fn,ce)]:\"\",xe(at,ce,Ve),Ve.fields.length>0?[\" {\",$([Y,R(Y,tt(at,fn,ce,\"fields\"))]),Y,\"}\"]:\"\"];case\"FieldDefinition\":return[ce(\"description\"),Ve.description?Y:\"\",ce(\"name\"),Ve.arguments.length>0?H([\"(\",$([M,R([Z(\"\",\", \"),M],tt(at,fn,ce,\"arguments\"))]),M,\")\"]):\"\",\": \",ce(\"type\"),xe(at,ce,Ve)];case\"DirectiveDefinition\":return[ce(\"description\"),Ve.description?Y:\"\",\"directive \",\"@\",ce(\"name\"),Ve.arguments.length>0?H([\"(\",$([M,R([Z(\"\",\", \"),M],tt(at,fn,ce,\"arguments\"))]),M,\")\"]):\"\",Ve.repeatable?\" repeatable\":\"\",\" on \",R(\" | \",at.map(ce,\"locations\"))];case\"EnumTypeExtension\":case\"EnumTypeDefinition\":return[ce(\"description\"),Ve.description?Y:\"\",Ve.kind===\"EnumTypeExtension\"?\"extend \":\"\",\"enum \",ce(\"name\"),xe(at,ce,Ve),Ve.values.length>0?[\" {\",$([Y,R(Y,tt(at,fn,ce,\"values\"))]),Y,\"}\"]:\"\"];case\"EnumValueDefinition\":return[ce(\"description\"),Ve.description?Y:\"\",ce(\"name\"),xe(at,ce,Ve)];case\"InputValueDefinition\":return[ce(\"description\"),Ve.description?Ve.description.block?Y:G:\"\",ce(\"name\"),\": \",ce(\"type\"),Ve.defaultValue?[\" = \",ce(\"defaultValue\")]:\"\",xe(at,ce,Ve)];case\"InputObjectTypeExtension\":case\"InputObjectTypeDefinition\":return[ce(\"description\"),Ve.description?Y:\"\",Ve.kind===\"InputObjectTypeExtension\"?\"extend \":\"\",\"input \",ce(\"name\"),xe(at,ce,Ve),Ve.fields.length>0?[\" {\",$([Y,R(Y,tt(at,fn,ce,\"fields\"))]),Y,\"}\"]:\"\"];case\"SchemaExtension\":return[\"extend schema\",xe(at,ce,Ve),...Ve.operationTypes.length>0?[\" {\",$([Y,R(Y,tt(at,fn,ce,\"operationTypes\"))]),Y,\"}\"]:[]];case\"SchemaDefinition\":return[ce(\"description\"),Ve.description?Y:\"\",\"schema\",xe(at,ce,Ve),\" {\",Ve.operationTypes.length>0?$([Y,R(Y,tt(at,fn,ce,\"operationTypes\"))]):\"\",Y,\"}\"];case\"OperationTypeDefinition\":return[ce(\"operation\"),\": \",ce(\"type\")];case\"InterfaceTypeExtension\":case\"InterfaceTypeDefinition\":return[ce(\"description\"),Ve.description?Y:\"\",Ve.kind===\"InterfaceTypeExtension\"?\"extend \":\"\",\"interface \",ce(\"name\"),Ve.interfaces.length>0?[\" implements \",...rt(at,fn,ce)]:\"\",xe(at,ce,Ve),Ve.fields.length>0?[\" {\",$([Y,R(Y,tt(at,fn,ce,\"fields\"))]),Y,\"}\"]:\"\"];case\"FragmentSpread\":return[\"...\",ce(\"name\"),xe(at,ce,Ve)];case\"InlineFragment\":return[\"...\",Ve.typeCondition?[\" on \",ce(\"typeCondition\")]:\"\",xe(at,ce,Ve),\" \",ce(\"selectionSet\")];case\"UnionTypeExtension\":case\"UnionTypeDefinition\":return H([ce(\"description\"),Ve.description?Y:\"\",H([Ve.kind===\"UnionTypeExtension\"?\"extend \":\"\",\"union \",ce(\"name\"),xe(at,ce,Ve),Ve.types.length>0?[\" =\",Z(\"\",\" \"),$([Z([G,\"  \"]),R([G,\"| \"],at.map(ce,\"types\"))])]:\"\"])]);case\"ScalarTypeExtension\":case\"ScalarTypeDefinition\":return[ce(\"description\"),Ve.description?Y:\"\",Ve.kind===\"ScalarTypeExtension\"?\"extend \":\"\",\"scalar \",ce(\"name\"),xe(at,ce,Ve)];case\"NonNullType\":return[ce(\"type\"),\"!\"];case\"ListType\":return[\"[\",ce(\"type\"),\"]\"];default:throw new Error(\"unknown graphql type: \"+JSON.stringify(Ve.kind))}}function xe(at,fn,ce){if(ce.directives.length===0)return\"\";let Ve=R(G,at.map(fn,\"directives\"));return ce.kind===\"FragmentDefinition\"||ce.kind===\"OperationDefinition\"?H([G,Ve]):[\" \",H($([M,Ve]))]}function tt(at,fn,ce,Ve){return at.map((ae,Ee,J)=>{let me=ce();return Ee<J.length-1&&oe(fn.originalText,ae.getValue(),ne)?[me,Y]:me},Ve)}function j(at){return at.kind&&at.kind!==\"Comment\"}function Ae(at){let fn=at.getValue();if(fn.kind===\"Comment\")return\"#\"+fn.value.trimEnd();throw new Error(\"Not a comment: \"+JSON.stringify(fn))}function rt(at,fn,ce){let Ve=at.getNode(),ae=[],{interfaces:Ee}=Ve,J=at.map(me=>ce(me),\"interfaces\");for(let me=0;me<Ee.length;me++){let we=Ee[me];ae.push(J[me]);let Fe=Ee[me+1];if(Fe){let Me=fn.originalText.slice(we.loc.end,Fe.loc.start),Xe=Me.includes(\"#\"),Dt=Me.replace(/#.*/g,\"\").trim();ae.push(Dt===\",\"?\",\":\" &\",Xe?G:\" \")}}return ae}function je(at,fn){at.kind===\"StringValue\"&&at.block&&!at.value.includes(`\n`)&&(fn.value=fn.value.trim())}je.ignoredProperties=new Set([\"loc\",\"comments\"]);function pt(at){var fn;let ce=at.getValue();return ce==null||(fn=ce.comments)===null||fn===void 0?void 0:fn.some(Ve=>Ve.value.trim()===\"prettier-ignore\")}ee.exports={print:le,massageAstNode:je,hasPrettierIgnore:pt,insertPragma:_e,printComment:Ae,canAttachComment:j}}}),W=Ct({\"src/language-graphql/options.js\"(z,ee){Un();var R=is();ee.exports={bracketSpacing:R.bracketSpacing}}}),Je=Ct({\"src/language-graphql/parsers.js\"(){Un()}}),Oe=Ct({\"node_modules/linguist-languages/data/GraphQL.json\"(z,ee){ee.exports={name:\"GraphQL\",type:\"data\",color:\"#e10098\",extensions:[\".graphql\",\".gql\",\".graphqls\"],tmScope:\"source.graphql\",aceMode:\"text\",languageId:139}}}),zt=Ct({\"src/language-graphql/index.js\"(z,ee){Un();var R=Rc(),Y=Q(),G=W(),M=Je(),H=[R(Oe(),()=>({since:\"1.5.0\",parsers:[\"graphql\"],vscodeLanguageIds:[\"graphql\"]}))],$={graphql:Y};ee.exports={languages:H,options:G,printers:$,parsers:M}}}),Tt=Ct({\"node_modules/collapse-white-space/index.js\"(z,ee){Un(),ee.exports=R;function R(Y){return String(Y).replace(/\\s+/g,\" \")}}}),xn=Ct({\"src/language-markdown/loc.js\"(z,ee){Un();function R(G){return G.position.start.offset}function Y(G){return G.position.end.offset}ee.exports={locStart:R,locEnd:Y}}}),Cn=Ct({\"src/language-markdown/constants.evaluate.js\"(z,ee){ee.exports={cjkPattern:\"(?:[\\\\u02ea-\\\\u02eb\\\\u1100-\\\\u11ff\\\\u2e80-\\\\u2e99\\\\u2e9b-\\\\u2ef3\\\\u2f00-\\\\u2fd5\\\\u2ff0-\\\\u303f\\\\u3041-\\\\u3096\\\\u3099-\\\\u309f\\\\u30a1-\\\\u30fa\\\\u30fc-\\\\u30ff\\\\u3105-\\\\u312f\\\\u3131-\\\\u318e\\\\u3190-\\\\u3191\\\\u3196-\\\\u31ba\\\\u31c0-\\\\u31e3\\\\u31f0-\\\\u321e\\\\u322a-\\\\u3247\\\\u3260-\\\\u327e\\\\u328a-\\\\u32b0\\\\u32c0-\\\\u32cb\\\\u32d0-\\\\u3370\\\\u337b-\\\\u337f\\\\u33e0-\\\\u33fe\\\\u3400-\\\\u4db5\\\\u4e00-\\\\u9fef\\\\ua960-\\\\ua97c\\\\uac00-\\\\ud7a3\\\\ud7b0-\\\\ud7c6\\\\ud7cb-\\\\ud7fb\\\\uf900-\\\\ufa6d\\\\ufa70-\\\\ufad9\\\\ufe10-\\\\ufe1f\\\\ufe30-\\\\ufe6f\\\\uff00-\\\\uffef]|[\\\\ud840-\\\\ud868\\\\ud86a-\\\\ud86c\\\\ud86f-\\\\ud872\\\\ud874-\\\\ud879][\\\\udc00-\\\\udfff]|\\\\ud82c[\\\\udc00-\\\\udd1e\\\\udd50-\\\\udd52\\\\udd64-\\\\udd67]|\\\\ud83c[\\\\ude00\\\\ude50-\\\\ude51]|\\\\ud869[\\\\udc00-\\\\uded6\\\\udf00-\\\\udfff]|\\\\ud86d[\\\\udc00-\\\\udf34\\\\udf40-\\\\udfff]|\\\\ud86e[\\\\udc00-\\\\udc1d\\\\udc20-\\\\udfff]|\\\\ud873[\\\\udc00-\\\\udea1\\\\udeb0-\\\\udfff]|\\\\ud87a[\\\\udc00-\\\\udfe0]|\\\\ud87e[\\\\udc00-\\\\ude1d])(?:[\\\\ufe00-\\\\ufe0f]|\\\\udb40[\\\\udd00-\\\\uddef])?\",kPattern:\"[\\\\u1100-\\\\u11ff\\\\u3001-\\\\u3003\\\\u3008-\\\\u3011\\\\u3013-\\\\u301f\\\\u302e-\\\\u3030\\\\u3037\\\\u30fb\\\\u3131-\\\\u318e\\\\u3200-\\\\u321e\\\\u3260-\\\\u327e\\\\ua960-\\\\ua97c\\\\uac00-\\\\ud7a3\\\\ud7b0-\\\\ud7c6\\\\ud7cb-\\\\ud7fb\\\\ufe45-\\\\ufe46\\\\uff61-\\\\uff65\\\\uffa0-\\\\uffbe\\\\uffc2-\\\\uffc7\\\\uffca-\\\\uffcf\\\\uffd2-\\\\uffd7\\\\uffda-\\\\uffdc]\",punctuationPattern:\"[\\\\u0021-\\\\u002f\\\\u003a-\\\\u0040\\\\u005b-\\\\u0060\\\\u007b-\\\\u007e\\\\u00a1\\\\u00a7\\\\u00ab\\\\u00b6-\\\\u00b7\\\\u00bb\\\\u00bf\\\\u037e\\\\u0387\\\\u055a-\\\\u055f\\\\u0589-\\\\u058a\\\\u05be\\\\u05c0\\\\u05c3\\\\u05c6\\\\u05f3-\\\\u05f4\\\\u0609-\\\\u060a\\\\u060c-\\\\u060d\\\\u061b\\\\u061e-\\\\u061f\\\\u066a-\\\\u066d\\\\u06d4\\\\u0700-\\\\u070d\\\\u07f7-\\\\u07f9\\\\u0830-\\\\u083e\\\\u085e\\\\u0964-\\\\u0965\\\\u0970\\\\u09fd\\\\u0a76\\\\u0af0\\\\u0c77\\\\u0c84\\\\u0df4\\\\u0e4f\\\\u0e5a-\\\\u0e5b\\\\u0f04-\\\\u0f12\\\\u0f14\\\\u0f3a-\\\\u0f3d\\\\u0f85\\\\u0fd0-\\\\u0fd4\\\\u0fd9-\\\\u0fda\\\\u104a-\\\\u104f\\\\u10fb\\\\u1360-\\\\u1368\\\\u1400\\\\u166e\\\\u169b-\\\\u169c\\\\u16eb-\\\\u16ed\\\\u1735-\\\\u1736\\\\u17d4-\\\\u17d6\\\\u17d8-\\\\u17da\\\\u1800-\\\\u180a\\\\u1944-\\\\u1945\\\\u1a1e-\\\\u1a1f\\\\u1aa0-\\\\u1aa6\\\\u1aa8-\\\\u1aad\\\\u1b5a-\\\\u1b60\\\\u1bfc-\\\\u1bff\\\\u1c3b-\\\\u1c3f\\\\u1c7e-\\\\u1c7f\\\\u1cc0-\\\\u1cc7\\\\u1cd3\\\\u2010-\\\\u2027\\\\u2030-\\\\u2043\\\\u2045-\\\\u2051\\\\u2053-\\\\u205e\\\\u207d-\\\\u207e\\\\u208d-\\\\u208e\\\\u2308-\\\\u230b\\\\u2329-\\\\u232a\\\\u2768-\\\\u2775\\\\u27c5-\\\\u27c6\\\\u27e6-\\\\u27ef\\\\u2983-\\\\u2998\\\\u29d8-\\\\u29db\\\\u29fc-\\\\u29fd\\\\u2cf9-\\\\u2cfc\\\\u2cfe-\\\\u2cff\\\\u2d70\\\\u2e00-\\\\u2e2e\\\\u2e30-\\\\u2e4f\\\\u3001-\\\\u3003\\\\u3008-\\\\u3011\\\\u3014-\\\\u301f\\\\u3030\\\\u303d\\\\u30a0\\\\u30fb\\\\ua4fe-\\\\ua4ff\\\\ua60d-\\\\ua60f\\\\ua673\\\\ua67e\\\\ua6f2-\\\\ua6f7\\\\ua874-\\\\ua877\\\\ua8ce-\\\\ua8cf\\\\ua8f8-\\\\ua8fa\\\\ua8fc\\\\ua92e-\\\\ua92f\\\\ua95f\\\\ua9c1-\\\\ua9cd\\\\ua9de-\\\\ua9df\\\\uaa5c-\\\\uaa5f\\\\uaade-\\\\uaadf\\\\uaaf0-\\\\uaaf1\\\\uabeb\\\\ufd3e-\\\\ufd3f\\\\ufe10-\\\\ufe19\\\\ufe30-\\\\ufe52\\\\ufe54-\\\\ufe61\\\\ufe63\\\\ufe68\\\\ufe6a-\\\\ufe6b\\\\uff01-\\\\uff03\\\\uff05-\\\\uff0a\\\\uff0c-\\\\uff0f\\\\uff1a-\\\\uff1b\\\\uff1f-\\\\uff20\\\\uff3b-\\\\uff3d\\\\uff3f\\\\uff5b\\\\uff5d\\\\uff5f-\\\\uff65]|\\\\ud800[\\\\udd00-\\\\udd02\\\\udf9f\\\\udfd0]|\\\\ud801[\\\\udd6f]|\\\\ud802[\\\\udc57\\\\udd1f\\\\udd3f\\\\ude50-\\\\ude58\\\\ude7f\\\\udef0-\\\\udef6\\\\udf39-\\\\udf3f\\\\udf99-\\\\udf9c]|\\\\ud803[\\\\udf55-\\\\udf59]|\\\\ud804[\\\\udc47-\\\\udc4d\\\\udcbb-\\\\udcbc\\\\udcbe-\\\\udcc1\\\\udd40-\\\\udd43\\\\udd74-\\\\udd75\\\\uddc5-\\\\uddc8\\\\uddcd\\\\udddb\\\\udddd-\\\\udddf\\\\ude38-\\\\ude3d\\\\udea9]|\\\\ud805[\\\\udc4b-\\\\udc4f\\\\udc5b\\\\udc5d\\\\udcc6\\\\uddc1-\\\\uddd7\\\\ude41-\\\\ude43\\\\ude60-\\\\ude6c\\\\udf3c-\\\\udf3e]|\\\\ud806[\\\\udc3b\\\\udde2\\\\ude3f-\\\\ude46\\\\ude9a-\\\\ude9c\\\\ude9e-\\\\udea2]|\\\\ud807[\\\\udc41-\\\\udc45\\\\udc70-\\\\udc71\\\\udef7-\\\\udef8\\\\udfff]|\\\\ud809[\\\\udc70-\\\\udc74]|\\\\ud81a[\\\\ude6e-\\\\ude6f\\\\udef5\\\\udf37-\\\\udf3b\\\\udf44]|\\\\ud81b[\\\\ude97-\\\\ude9a\\\\udfe2]|\\\\ud82f[\\\\udc9f]|\\\\ud836[\\\\ude87-\\\\ude8b]|\\\\ud83a[\\\\udd5e-\\\\udd5f]\"}}}),Bt=Ct({\"src/language-markdown/utils.js\"(z,ee){Un();var{getLast:R}=sn(),{locStart:Y,locEnd:G}=xn(),{cjkPattern:M,kPattern:H,punctuationPattern:$}=Cn(),Z=[\"liquidNode\",\"inlineCode\",\"emphasis\",\"esComment\",\"strong\",\"delete\",\"wikiLink\",\"link\",\"linkReference\",\"image\",\"imageReference\",\"footnote\",\"footnoteReference\",\"sentence\",\"whitespace\",\"word\",\"break\",\"inlineMath\"],oe=[...Z,\"tableCell\",\"paragraph\",\"heading\"],ye=new RegExp(H),_e=new RegExp($);function ge(Ae,rt){let je=\"non-cjk\",pt=\"cj-letter\",at=\"k-letter\",fn=\"cjk-punctuation\",ce=[],Ve=(rt.proseWrap===\"preserve\"?Ae:Ae.replace(new RegExp(`(${M})\n(${M})`,\"g\"),\"$1$2\")).split(/([\\t\\n ]+)/);for(let[Ee,J]of Ve.entries()){if(Ee%2===1){ce.push({type:\"whitespace\",value:/\\n/.test(J)?`\n`:\" \"});continue}if((Ee===0||Ee===Ve.length-1)&&J===\"\")continue;let me=J.split(new RegExp(`(${M})`));for(let[we,Fe]of me.entries())if(!((we===0||we===me.length-1)&&Fe===\"\")){if(we%2===0){Fe!==\"\"&&ae({type:\"word\",value:Fe,kind:je,hasLeadingPunctuation:_e.test(Fe[0]),hasTrailingPunctuation:_e.test(R(Fe))});continue}ae(_e.test(Fe)?{type:\"word\",value:Fe,kind:fn,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:\"word\",value:Fe,kind:ye.test(Fe)?at:pt,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return ce;function ae(Ee){let J=R(ce);J&&J.type===\"word\"&&(J.kind===je&&Ee.kind===pt&&!J.hasTrailingPunctuation||J.kind===pt&&Ee.kind===je&&!Ee.hasLeadingPunctuation?ce.push({type:\"whitespace\",value:\" \"}):!me(je,fn)&&![J.value,Ee.value].some(we=>/\\u3000/.test(we))&&ce.push({type:\"whitespace\",value:\"\"})),ce.push(Ee);function me(we,Fe){return J.kind===we&&Ee.kind===Fe||J.kind===Fe&&Ee.kind===we}}}function ne(Ae,rt){let[,je,pt,at]=rt.slice(Ae.position.start.offset,Ae.position.end.offset).match(/^\\s*(\\d+)(\\.|\\))(\\s*)/);return{numberText:je,marker:pt,leadingSpaces:at}}function le(Ae,rt){if(!Ae.ordered||Ae.children.length<2)return!1;let je=Number(ne(Ae.children[0],rt.originalText).numberText),pt=Number(ne(Ae.children[1],rt.originalText).numberText);if(je===0&&Ae.children.length>2){let at=Number(ne(Ae.children[2],rt.originalText).numberText);return pt===1&&at===1}return pt===1}function xe(Ae,rt){let{value:je}=Ae;return Ae.position.end.offset===rt.length&&je.endsWith(`\n`)&&rt.endsWith(`\n`)?je.slice(0,-1):je}function tt(Ae,rt){return function je(pt,at,fn){let ce=Object.assign({},rt(pt,at,fn));return ce.children&&(ce.children=ce.children.map((Ve,ae)=>je(Ve,ae,[ce,...fn]))),ce}(Ae,null,[])}function j(Ae){if((Ae==null?void 0:Ae.type)!==\"link\"||Ae.children.length!==1)return!1;let[rt]=Ae.children;return Y(Ae)===Y(rt)&&G(Ae)===G(rt)}ee.exports={mapAst:tt,splitText:ge,punctuationPattern:$,getFencedCodeBlockValue:xe,getOrderedListItemInfo:ne,hasGitDiffFriendlyOrderedList:le,INLINE_NODE_TYPES:Z,INLINE_NODE_WRAPPER_TYPES:oe,isAutolink:j}}}),yi=Ct({\"src/language-markdown/embed.js\"(z,ee){Un();var{inferParserByLanguage:R,getMaxContinuousCount:Y}=sn(),{builders:{hardline:G,markAsRoot:M},utils:{replaceEndOfLine:H}}=Ia(),$=Ou(),{getFencedCodeBlockValue:Z}=Bt();function oe(ye,_e,ge,ne){let le=ye.getValue();if(le.type===\"code\"&&le.lang!==null){let xe=R(le.lang,ne);if(xe){let tt=ne.__inJsTemplate?\"~\":\"`\",j=tt.repeat(Math.max(3,Y(le.value,tt)+1)),Ae={parser:xe};le.lang===\"tsx\"&&(Ae.filepath=\"dummy.tsx\");let rt=ge(Z(le,ne.originalText),Ae,{stripTrailingHardline:!0});return M([j,le.lang,le.meta?\" \"+le.meta:\"\",G,H(rt),G,j])}}switch(le.type){case\"front-matter\":return $(le,ge);case\"importExport\":return[ge(le.value,{parser:\"babel\"},{stripTrailingHardline:!0}),G];case\"jsx\":return ge(`<$>${le.value}</$>`,{parser:\"__js_expression\",rootMarker:\"mdx\"},{stripTrailingHardline:!0})}return null}ee.exports=oe}}),Oi=Ct({\"src/language-markdown/pragma.js\"(z,ee){Un();var R=Bd(),Y=[\"format\",\"prettier\"];function G(M){let H=`@(${Y.join(\"|\")})`,$=new RegExp([`<!--\\\\s*${H}\\\\s*-->`,`{\\\\s*\\\\/\\\\*\\\\s*${H}\\\\s*\\\\*\\\\/\\\\s*}`,`<!--.*\\r?\n[\\\\s\\\\S]*(^|\n)[^\\\\S\n]*${H}[^\\\\S\n]*($|\n)[\\\\s\\\\S]*\n.*-->`].join(\"|\"),\"m\"),Z=M.match($);return(Z==null?void 0:Z.index)===0}ee.exports={startWithPragma:G,hasPragma:M=>G(R(M).content.trimStart()),insertPragma:M=>{let H=R(M),$=`<!-- @${Y[0]} -->`;return H.frontMatter?`${H.frontMatter.raw}\n\n${$}\n\n${H.content}`:`${$}\n\n${H.content}`}}}}),Qi=Ct({\"src/language-markdown/print-preprocess.js\"(z,ee){Un();var R=qu(),{getOrderedListItemInfo:Y,mapAst:G,splitText:M}=Bt(),H=/^.$/su;function $(j,Ae){return j=ye(j,Ae),j=ne(j),j=oe(j,Ae),j=xe(j,Ae),j=tt(j,Ae),j=le(j,Ae),j=Z(j),j=_e(j),j}function Z(j){return G(j,Ae=>Ae.type!==\"import\"&&Ae.type!==\"export\"?Ae:Object.assign(Object.assign({},Ae),{},{type:\"importExport\"}))}function oe(j,Ae){return G(j,rt=>rt.type!==\"inlineCode\"||Ae.proseWrap===\"preserve\"?rt:Object.assign(Object.assign({},rt),{},{value:rt.value.replace(/\\s+/g,\" \")}))}function ye(j,Ae){return G(j,rt=>rt.type!==\"text\"||rt.value===\"*\"||rt.value===\"_\"||!H.test(rt.value)||rt.position.end.offset-rt.position.start.offset===rt.value.length?rt:Object.assign(Object.assign({},rt),{},{value:Ae.originalText.slice(rt.position.start.offset,rt.position.end.offset)}))}function _e(j){return ge(j,(Ae,rt)=>Ae.type===\"importExport\"&&rt.type===\"importExport\",(Ae,rt)=>({type:\"importExport\",value:Ae.value+`\n\n`+rt.value,position:{start:Ae.position.start,end:rt.position.end}}))}function ge(j,Ae,rt){return G(j,je=>{if(!je.children)return je;let pt=je.children.reduce((at,fn)=>{let ce=R(at);return ce&&Ae(ce,fn)?at.splice(-1,1,rt(ce,fn)):at.push(fn),at},[]);return Object.assign(Object.assign({},je),{},{children:pt})})}function ne(j){return ge(j,(Ae,rt)=>Ae.type===\"text\"&&rt.type===\"text\",(Ae,rt)=>({type:\"text\",value:Ae.value+rt.value,position:{start:Ae.position.start,end:rt.position.end}}))}function le(j,Ae){return G(j,(rt,je,pt)=>{let[at]=pt;if(rt.type!==\"text\")return rt;let{value:fn}=rt;return at.type===\"paragraph\"&&(je===0&&(fn=fn.trimStart()),je===at.children.length-1&&(fn=fn.trimEnd())),{type:\"sentence\",position:rt.position,children:M(fn,Ae)}})}function xe(j,Ae){return G(j,(rt,je,pt)=>{if(rt.type===\"code\"){let at=/^\\n?(?: {4,}|\\t)/.test(Ae.originalText.slice(rt.position.start.offset,rt.position.end.offset));if(rt.isIndented=at,at)for(let fn=0;fn<pt.length;fn++){let ce=pt[fn];if(ce.hasIndentedCodeblock)break;ce.type===\"list\"&&(ce.hasIndentedCodeblock=!0)}}return rt})}function tt(j,Ae){return G(j,(pt,at,fn)=>{if(pt.type===\"list\"&&pt.children.length>0){for(let ce=0;ce<fn.length;ce++){let Ve=fn[ce];if(Ve.type===\"list\"&&!Ve.isAligned)return pt.isAligned=!1,pt}pt.isAligned=je(pt)}return pt});function rt(pt){return pt.children.length===0?-1:pt.children[0].position.start.column-1}function je(pt){if(!pt.ordered)return!0;let[at,fn]=pt.children;if(Y(at,Ae.originalText).leadingSpaces.length>1)return!0;let ce=rt(at);if(ce===-1)return!1;if(pt.children.length===1)return ce%Ae.tabWidth===0;let Ve=rt(fn);return ce!==Ve?!1:ce%Ae.tabWidth===0?!0:Y(fn,Ae.originalText).leadingSpaces.length>1}}ee.exports=$}}),$s=Ct({\"src/language-markdown/clean.js\"(z,ee){Un();var R=Tt(),{isFrontMatterNode:Y}=sn(),{startWithPragma:G}=Oi(),M=new Set([\"position\",\"raw\"]);function H($,Z,oe){if(($.type===\"front-matter\"||$.type===\"code\"||$.type===\"yaml\"||$.type===\"import\"||$.type===\"export\"||$.type===\"jsx\")&&delete Z.value,$.type===\"list\"&&delete Z.isAligned,($.type===\"list\"||$.type===\"listItem\")&&(delete Z.spread,delete Z.loose),$.type===\"text\"||($.type===\"inlineCode\"&&(Z.value=$.value.replace(/[\\t\\n ]+/g,\" \")),$.type===\"wikiLink\"&&(Z.value=$.value.trim().replace(/[\\t\\n]+/g,\" \")),($.type===\"definition\"||$.type===\"linkReference\"||$.type===\"imageReference\")&&(Z.label=R($.label)),($.type===\"definition\"||$.type===\"link\"||$.type===\"image\")&&$.title&&(Z.title=$.title.replace(/\\\\([\"')])/g,\"$1\")),oe&&oe.type===\"root\"&&oe.children.length>0&&(oe.children[0]===$||Y(oe.children[0])&&oe.children[1]===$)&&$.type===\"html\"&&G($.value)))return null}H.ignoredProperties=M,ee.exports=H}}),vo=Ct({\"src/language-markdown/printer-markdown.js\"(z,ee){Un();var R=Tt(),{getLast:Y,getMinNotPresentContinuousCount:G,getMaxContinuousCount:M,getStringWidth:H,isNonEmptyArray:$}=sn(),{builders:{breakParent:Z,join:oe,line:ye,literalline:_e,markAsRoot:ge,hardline:ne,softline:le,ifBreak:xe,fill:tt,align:j,indent:Ae,group:rt,hardlineWithoutBreakParent:je},utils:{normalizeDoc:pt,replaceTextEndOfLine:at},printer:{printDocToString:fn}}=Ia(),ce=yi(),{insertPragma:Ve}=Oi(),{locStart:ae,locEnd:Ee}=xn(),J=Qi(),me=$s(),{getFencedCodeBlockValue:we,hasGitDiffFriendlyOrderedList:Fe,splitText:Me,punctuationPattern:Xe,INLINE_NODE_TYPES:Dt,INLINE_NODE_WRAPPER_TYPES:Xt,isAutolink:hn}=Bt(),Jt=new Set([\"importExport\"]),Hn=[\"heading\",\"tableCell\",\"link\",\"wikiLink\"],Nt=new Set([\"listItem\",\"definition\",\"footnoteDefinition\"]);function Di(ir,Sn,ur){let pi=ir.getValue();if(as(ir))return Me(Sn.originalText.slice(pi.position.start.offset,pi.position.end.offset),Sn).map(pr=>pr.type===\"word\"?pr.value:pr.value===\"\"?\"\":pn(ir,pr.value,Sn));switch(pi.type){case\"front-matter\":return Sn.originalText.slice(pi.position.start.offset,pi.position.end.offset);case\"root\":return pi.children.length===0?\"\":[pt(Zi(ir,Sn,ur)),Jt.has(hi(pi).type)?\"\":ne];case\"paragraph\":return yr(ir,Sn,ur,{postprocessor:tt});case\"sentence\":return yr(ir,Sn,ur);case\"word\":{let pr=pi.value.replace(/\\*/g,\"\\\\$&\").replace(new RegExp([`(^|${Xe})(_+)`,`(_+)(${Xe}|$)`].join(\"|\"),\"g\"),(Er,Ne,Vn,er,_s)=>(Vn?`${Ne}${Vn}`:`${er}${_s}`).replace(/_/g,\"\\\\_\")),yo=(Er,Ne,Vn)=>Er.type===\"sentence\"&&Vn===0,Gs=(Er,Ne,Vn)=>hn(Er.children[Vn-1]);return pr!==pi.value&&(ir.match(void 0,yo,Gs)||ir.match(void 0,yo,(Er,Ne,Vn)=>Er.type===\"emphasis\"&&Vn===0,Gs))&&(pr=pr.replace(/^(\\\\?[*_])+/,Er=>Er.replace(/\\\\/g,\"\"))),pr}case\"whitespace\":{let pr=ir.getParentNode(),yo=pr.children.indexOf(pi),Gs=pr.children[yo+1],Er=Gs&&/^>|^(?:[*+-]|#{1,6}|\\d+[).])$/.test(Gs.value)?\"never\":Sn.proseWrap;return pn(ir,pi.value,{proseWrap:Er})}case\"emphasis\":{let pr;if(hn(pi.children[0]))pr=Sn.originalText[pi.position.start.offset];else{let yo=ir.getParentNode(),Gs=yo.children.indexOf(pi),Er=yo.children[Gs-1],Ne=yo.children[Gs+1];pr=Er&&Er.type===\"sentence\"&&Er.children.length>0&&Y(Er.children).type===\"word\"&&!Y(Er.children).hasTrailingPunctuation||Ne&&Ne.type===\"sentence\"&&Ne.children.length>0&&Ne.children[0].type===\"word\"&&!Ne.children[0].hasLeadingPunctuation||Cr(ir,\"emphasis\")?\"*\":\"_\"}return[pr,yr(ir,Sn,ur),pr]}case\"strong\":return[\"**\",yr(ir,Sn,ur),\"**\"];case\"delete\":return[\"~~\",yr(ir,Sn,ur),\"~~\"];case\"inlineCode\":{let pr=G(pi.value,\"`\"),yo=\"`\".repeat(pr||1),Gs=pr&&!/^\\s/.test(pi.value)?\" \":\"\";return[yo,Gs,pi.value,Gs,yo]}case\"wikiLink\":{let pr=\"\";return Sn.proseWrap===\"preserve\"?pr=pi.value:pr=pi.value.replace(/[\\t\\n]+/g,\" \"),[\"[[\",pr,\"]]\"]}case\"link\":switch(Sn.originalText[pi.position.start.offset]){case\"<\":{let pr=\"mailto:\";return[\"<\",pi.url.startsWith(pr)&&Sn.originalText.slice(pi.position.start.offset+1,pi.position.start.offset+1+pr.length)!==pr?pi.url.slice(pr.length):pi.url,\">\"]}case\"[\":return[\"[\",yr(ir,Sn,ur),\"](\",Ds(pi.url,\")\"),ta(pi.title,Sn),\")\"];default:return Sn.originalText.slice(pi.position.start.offset,pi.position.end.offset)}case\"image\":return[\"![\",pi.alt||\"\",\"](\",Ds(pi.url,\")\"),ta(pi.title,Sn),\")\"];case\"blockquote\":return[\"> \",j(\"> \",yr(ir,Sn,ur))];case\"heading\":return[\"#\".repeat(pi.depth)+\" \",yr(ir,Sn,ur)];case\"code\":{if(pi.isIndented){let Gs=\" \".repeat(4);return j(Gs,[Gs,...at(pi.value,ne)])}let pr=Sn.__inJsTemplate?\"~\":\"`\",yo=pr.repeat(Math.max(3,M(pi.value,pr)+1));return[yo,pi.lang||\"\",pi.meta?\" \"+pi.meta:\"\",ne,...at(we(pi,Sn.originalText),ne),ne,yo]}case\"html\":{let pr=ir.getParentNode(),yo=pr.type===\"root\"&&Y(pr.children)===pi?pi.value.trimEnd():pi.value,Gs=/^<!--.*-->$/s.test(yo);return at(yo,Gs?ne:ge(_e))}case\"list\":{let pr=vi(pi,ir.getParentNode()),yo=Fe(pi,Sn);return yr(ir,Sn,ur,{processor:(Gs,Er)=>{let Ne=er(),Vn=Gs.getValue();if(Vn.children.length===2&&Vn.children[1].type===\"html\"&&Vn.children[0].position.start.column!==Vn.children[1].position.start.column)return[Ne,cn(Gs,Sn,ur,Ne)];return[Ne,j(\" \".repeat(Ne.length),cn(Gs,Sn,ur,Ne))];function er(){let _s=pi.ordered?(Er===0?pi.start:yo?1:pi.start+Er)+(pr%2===0?\". \":\") \"):pr%2===0?\"- \":\"* \";return pi.isAligned||pi.hasIndentedCodeblock?Ht(_s,Sn):_s}}})}case\"thematicBreak\":{let pr=ki(ir,\"list\");return pr===-1?\"---\":vi(ir.getParentNode(pr),ir.getParentNode(pr+1))%2===0?\"***\":\"---\"}case\"linkReference\":return[\"[\",yr(ir,Sn,ur),\"]\",pi.referenceType===\"full\"?Zo(pi):pi.referenceType===\"collapsed\"?\"[]\":\"\"];case\"imageReference\":switch(pi.referenceType){case\"full\":return[\"![\",pi.alt||\"\",\"]\",Zo(pi)];default:return[\"![\",pi.alt,\"]\",pi.referenceType===\"collapsed\"?\"[]\":\"\"]}case\"definition\":{let pr=Sn.proseWrap===\"always\"?ye:\" \";return rt([Zo(pi),\":\",Ae([pr,Ds(pi.url),pi.title===null?\"\":[pr,ta(pi.title,Sn,!1)]])])}case\"footnote\":return[\"[^\",yr(ir,Sn,ur),\"]\"];case\"footnoteReference\":return Ta(pi);case\"footnoteDefinition\":{let pr=ir.getParentNode().children[ir.getName()+1],yo=pi.children.length===1&&pi.children[0].type===\"paragraph\"&&(Sn.proseWrap===\"never\"||Sn.proseWrap===\"preserve\"&&pi.children[0].position.start.line===pi.children[0].position.end.line);return[Ta(pi),\": \",yo?yr(ir,Sn,ur):rt([j(\" \".repeat(4),yr(ir,Sn,ur,{processor:(Gs,Er)=>Er===0?rt([le,ur()]):ur()})),pr&&pr.type===\"footnoteDefinition\"?le:\"\"])]}case\"table\":return ui(ir,Sn,ur);case\"tableCell\":return yr(ir,Sn,ur);case\"break\":return/\\s/.test(Sn.originalText[pi.position.start.offset])?[\"  \",ge(_e)]:[\"\\\\\",ne];case\"liquidNode\":return at(pi.value,ne);case\"importExport\":return[pi.value,ne];case\"esComment\":return[\"{/* \",pi.value,\" */}\"];case\"jsx\":return pi.value;case\"math\":return[\"$$\",ne,pi.value?[...at(pi.value,ne),ne]:\"\",\"$$\"];case\"inlineMath\":return Sn.originalText.slice(ae(pi),Ee(pi));case\"tableRow\":case\"listItem\":default:throw new Error(`Unknown markdown type ${JSON.stringify(pi.type)}`)}}function cn(ir,Sn,ur,pi){let pr=ir.getValue(),yo=pr.checked===null?\"\":pr.checked?\"[x] \":\"[ ] \";return[yo,yr(ir,Sn,ur,{processor:(Gs,Er)=>{if(Er===0&&Gs.getValue().type!==\"list\")return j(\" \".repeat(yo.length),ur());let Ne=\" \".repeat(ll(Sn.tabWidth-pi.length,0,3));return[Ne,j(Ne,ur())]}})]}function Ht(ir,Sn){let ur=pi();return ir+\" \".repeat(ur>=4?0:ur);function pi(){let pr=ir.length%Sn.tabWidth;return pr===0?0:Sn.tabWidth-pr}}function vi(ir,Sn){return Ci(ir,Sn,ur=>ur.ordered===ir.ordered)}function Ci(ir,Sn,ur){let pi=-1;for(let pr of Sn.children)if(pr.type===ir.type&&ur(pr)?pi++:pi=-1,pr===ir)return pi}function ki(ir,Sn){let ur=Array.isArray(Sn)?Sn:[Sn],pi=-1,pr;for(;pr=ir.getParentNode(++pi);)if(ur.includes(pr.type))return pi;return-1}function Cr(ir,Sn){let ur=ki(ir,Sn);return ur===-1?null:ir.getParentNode(ur)}function pn(ir,Sn,ur){if(ur.proseWrap===\"preserve\"&&Sn===`\n`)return ne;let pi=ur.proseWrap===\"always\"&&!Cr(ir,Hn);return Sn!==\"\"?pi?ye:\" \":pi?le:\"\"}function ui(ir,Sn,ur){let pi=ir.getValue(),pr=[],yo=ir.map(_s=>_s.map((js,qo)=>{let Ts=fn(ur(),Sn).formatted,Dc=H(Ts);return pr[qo]=Math.max(pr[qo]||3,Dc),{text:Ts,width:Dc}},\"children\"),\"children\"),Gs=Ne(!1);if(Sn.proseWrap!==\"never\")return[Z,Gs];let Er=Ne(!0);return[Z,rt(xe(Er,Gs))];function Ne(_s){let js=[er(yo[0],_s),Vn(_s)];return yo.length>1&&js.push(oe(je,yo.slice(1).map(qo=>er(qo,_s)))),oe(je,js)}function Vn(_s){return`| ${pr.map((js,qo)=>{let Ts=pi.align[qo],Dc=Ts===\"center\"||Ts===\"left\"?\":\":\"-\",No=Ts===\"center\"||Ts===\"right\"?\":\":\"-\",dc=_s?\"-\":\"-\".repeat(js-2);return`${Dc}${dc}${No}`}).join(\" | \")} |`}function er(_s,js){return`| ${_s.map((qo,Ts)=>{let{text:Dc,width:No}=qo;if(js)return Dc;let dc=pr[Ts]-No,To=pi.align[Ts],Va=0;To===\"right\"?Va=dc:To===\"center\"&&(Va=Math.floor(dc/2));let ol=dc-Va;return`${\" \".repeat(Va)}${Dc}${\" \".repeat(ol)}`}).join(\" | \")} |`}}function Zi(ir,Sn,ur){let pi=[],pr=null,{children:yo}=ir.getValue();for(let[Gs,Er]of yo.entries())switch(An(Er)){case\"start\":pr===null&&(pr={index:Gs,offset:Er.position.end.offset});break;case\"end\":pr!==null&&(pi.push({start:pr,end:{index:Gs,offset:Er.position.start.offset}}),pr=null);break}return yr(ir,Sn,ur,{processor:(Gs,Er)=>{if(pi.length>0){let Ne=pi[0];if(Er===Ne.start.index)return[Zs(yo[Ne.start.index]),Sn.originalText.slice(Ne.start.offset,Ne.end.offset),Zs(yo[Ne.end.index])];if(Ne.start.index<Er&&Er<Ne.end.index)return!1;if(Er===Ne.end.index)return pi.shift(),!1}return ur()}})}function yr(ir,Sn,ur){let pi=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:pr}=pi,yo=pi.processor||(()=>ur()),Gs=ir.getValue(),Er=[],Ne;return ir.each((Vn,er)=>{let _s=Vn.getValue(),js=yo(Vn,er);if(js!==!1){let qo={parts:Er,prevNode:Ne,parentNode:Gs,options:Sn};Fi(_s,qo)&&(Er.push(ne),Ne&&Jt.has(Ne.type)||(Yi(_s,qo)||Fr(_s,qo))&&Er.push(ne),Fr(_s,qo)&&Er.push(ne)),Er.push(js),Ne=_s}},\"children\"),pr?pr(Er):Er}function Zs(ir){if(ir.type===\"html\")return ir.value;if(ir.type===\"paragraph\"&&Array.isArray(ir.children)&&ir.children.length===1&&ir.children[0].type===\"esComment\")return[\"{/* \",ir.children[0].value,\" */}\"]}function hi(ir){let Sn=ir;for(;$(Sn.children);)Sn=Y(Sn.children);return Sn}function An(ir){let Sn;if(ir.type===\"html\")Sn=ir.value.match(/^<!--\\s*prettier-ignore(?:-(start|end))?\\s*-->$/);else{let ur;ir.type===\"esComment\"?ur=ir:ir.type===\"paragraph\"&&ir.children.length===1&&ir.children[0].type===\"esComment\"&&(ur=ir.children[0]),ur&&(Sn=ur.value.match(/^prettier-ignore(?:-(start|end))?$/))}return Sn?Sn[1]||\"next\":!1}function Fi(ir,Sn){let ur=Sn.parts.length===0,pi=Dt.includes(ir.type),pr=ir.type===\"html\"&&Xt.includes(Sn.parentNode.type);return!ur&&!pi&&!pr}function Yi(ir,Sn){var ur,pi,pr;let yo=(Sn.prevNode&&Sn.prevNode.type)===ir.type&&Nt.has(ir.type),Gs=Sn.parentNode.type===\"listItem\"&&!Sn.parentNode.loose,Er=((ur=Sn.prevNode)===null||ur===void 0?void 0:ur.type)===\"listItem\"&&Sn.prevNode.loose,Ne=An(Sn.prevNode)===\"next\",Vn=ir.type===\"html\"&&((pi=Sn.prevNode)===null||pi===void 0?void 0:pi.type)===\"html\"&&Sn.prevNode.position.end.line+1===ir.position.start.line,er=ir.type===\"html\"&&Sn.parentNode.type===\"listItem\"&&((pr=Sn.prevNode)===null||pr===void 0?void 0:pr.type)===\"paragraph\"&&Sn.prevNode.position.end.line+1===ir.position.start.line;return Er||!(yo||Gs||Ne||Vn||er)}function Fr(ir,Sn){let ur=Sn.prevNode&&Sn.prevNode.type===\"list\",pi=ir.type===\"code\"&&ir.isIndented;return ur&&pi}function as(ir){let Sn=Cr(ir,[\"linkReference\",\"imageReference\"]);return Sn&&(Sn.type!==\"linkReference\"||Sn.referenceType!==\"full\")}function Ds(ir){let Sn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ur=[\" \",...Array.isArray(Sn)?Sn:[Sn]];return new RegExp(ur.map(pi=>`\\\\${pi}`).join(\"|\")).test(ir)?`<${ir}>`:ir}function ta(ir,Sn){let ur=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!ir)return\"\";if(ur)return\" \"+ta(ir,Sn,!1);if(ir=ir.replace(/\\\\([\"')])/g,\"$1\"),ir.includes('\"')&&ir.includes(\"'\")&&!ir.includes(\")\"))return`(${ir})`;let pi=ir.split(\"'\").length-1,pr=ir.split('\"').length-1,yo=pi>pr?'\"':pr>pi||Sn.singleQuote?\"'\":'\"';return ir=ir.replace(/\\\\/,\"\\\\\\\\\"),ir=ir.replace(new RegExp(`(${yo})`,\"g\"),\"\\\\$1\"),`${yo}${ir}${yo}`}function ll(ir,Sn,ur){return ir<Sn?Sn:ir>ur?ur:ir}function Bn(ir){let Sn=Number(ir.getName());if(Sn===0)return!1;let ur=ir.getParentNode().children[Sn-1];return An(ur)===\"next\"}function Zo(ir){return`[${R(ir.label)}]`}function Ta(ir){return`[^${ir.label}]`}ee.exports={preprocess:J,print:Di,embed:ce,massageAstNode:me,hasPrettierIgnore:Bn,insertPragma:Ve}}}),Mo=Ct({\"src/language-markdown/options.js\"(z,ee){Un();var R=is();ee.exports={proseWrap:R.proseWrap,singleQuote:R.singleQuote}}}),Ea=Ct({\"src/language-markdown/parsers.js\"(){Un()}}),Ca=Ct({\"node_modules/linguist-languages/data/Markdown.json\"(z,ee){ee.exports={name:\"Markdown\",type:\"prose\",color:\"#083fa1\",aliases:[\"pandoc\"],aceMode:\"markdown\",codemirrorMode:\"gfm\",codemirrorMimeType:\"text/x-gfm\",wrap:!0,extensions:[\".md\",\".livemd\",\".markdown\",\".mdown\",\".mdwn\",\".mdx\",\".mkd\",\".mkdn\",\".mkdown\",\".ronn\",\".scd\",\".workbook\"],filenames:[\"contents.lr\"],tmScope:\"source.gfm\",languageId:222}}}),Ma=Ct({\"src/language-markdown/index.js\"(z,ee){Un();var R=Rc(),Y=vo(),G=Mo(),M=Ea(),H=[R(Ca(),Z=>({since:\"1.8.0\",parsers:[\"markdown\"],vscodeLanguageIds:[\"markdown\"],filenames:[...Z.filenames,\"README\"],extensions:Z.extensions.filter(oe=>oe!==\".mdx\")})),R(Ca(),()=>({name:\"MDX\",since:\"1.15.0\",parsers:[\"mdx\"],vscodeLanguageIds:[\"mdx\"],filenames:[],extensions:[\".mdx\"]}))],$={mdast:Y};ee.exports={languages:H,options:G,printers:$,parsers:M}}}),Yo=Ct({\"src/language-html/clean.js\"(z,ee){Un();var{isFrontMatterNode:R}=sn(),Y=new Set([\"sourceSpan\",\"startSourceSpan\",\"endSourceSpan\",\"nameSpan\",\"valueSpan\"]);function G(M,H){if(M.type===\"text\"||M.type===\"comment\"||R(M)||M.type===\"yaml\"||M.type===\"toml\")return null;M.type===\"attribute\"&&delete H.value,M.type===\"docType\"&&delete H.value}G.ignoredProperties=Y,ee.exports=G}}),Oa=Ct({\"src/language-html/constants.evaluate.js\"(z,ee){ee.exports={CSS_DISPLAY_TAGS:{area:\"none\",base:\"none\",basefont:\"none\",datalist:\"none\",head:\"none\",link:\"none\",meta:\"none\",noembed:\"none\",noframes:\"none\",param:\"block\",rp:\"none\",script:\"block\",source:\"block\",style:\"none\",template:\"inline\",track:\"block\",title:\"none\",html:\"block\",body:\"block\",address:\"block\",blockquote:\"block\",center:\"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\",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\",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\",fieldset:\"block\",button:\"inline-block\",details:\"block\",summary:\"block\",dialog:\"block\",meter:\"inline-block\",progress:\"inline-block\",object:\"inline-block\",video:\"inline-block\",audio:\"inline-block\",select:\"inline-block\",option:\"block\",optgroup:\"block\"},CSS_DISPLAY_DEFAULT:\"inline\",CSS_WHITE_SPACE_TAGS:{listing:\"pre\",plaintext:\"pre\",pre:\"pre\",xmp:\"pre\",nobr:\"nowrap\",table:\"initial\",textarea:\"pre-wrap\"},CSS_WHITE_SPACE_DEFAULT:\"normal\"}}}),qs=Ct({\"src/language-html/utils/is-unknown-namespace.js\"(z,ee){Un();function R(Y){return Y.type===\"element\"&&!Y.hasExplicitNamespace&&![\"html\",\"svg\"].includes(Y.namespace)}ee.exports=R}}),cs=Ct({\"src/language-html/utils/index.js\"(z,ee){Un();var{inferParserByLanguage:R,isFrontMatterNode:Y}=sn(),{builders:{line:G,hardline:M,join:H},utils:{getDocParts:$,replaceTextEndOfLine:Z}}=Ia(),{CSS_DISPLAY_TAGS:oe,CSS_DISPLAY_DEFAULT:ye,CSS_WHITE_SPACE_TAGS:_e,CSS_WHITE_SPACE_DEFAULT:ge}=Oa(),ne=qs(),le=new Set([\"\t\",`\n`,\"\\f\",\"\\r\",\" \"]),xe=Ne=>Ne.replace(/^[\\t\\n\\f\\r ]+/,\"\"),tt=Ne=>Ne.replace(/[\\t\\n\\f\\r ]+$/,\"\"),j=Ne=>xe(tt(Ne)),Ae=Ne=>Ne.replace(/^[\\t\\f\\r ]*\\n/g,\"\"),rt=Ne=>Ae(tt(Ne)),je=Ne=>Ne.split(/[\\t\\n\\f\\r ]+/),pt=Ne=>Ne.match(/^[\\t\\n\\f\\r ]*/)[0],at=Ne=>{let[,Vn,er,_s]=Ne.match(/^([\\t\\n\\f\\r ]*)(.*?)([\\t\\n\\f\\r ]*)$/s);return{leadingWhitespace:Vn,trailingWhitespace:_s,text:er}},fn=Ne=>/[\\t\\n\\f\\r ]/.test(Ne);function ce(Ne,Vn){return!!(Ne.type===\"ieConditionalComment\"&&Ne.lastChild&&!Ne.lastChild.isSelfClosing&&!Ne.lastChild.endSourceSpan||Ne.type===\"ieConditionalComment\"&&!Ne.complete||Yi(Ne)&&Ne.children.some(er=>er.type!==\"text\"&&er.type!==\"interpolation\")||pi(Ne,Vn)&&!J(Ne)&&Ne.type!==\"interpolation\")}function Ve(Ne){return Ne.type===\"attribute\"||!Ne.parent||!Ne.prev?!1:ae(Ne.prev)}function ae(Ne){return Ne.type===\"comment\"&&Ne.value.trim()===\"prettier-ignore\"}function Ee(Ne){return Ne.type===\"text\"||Ne.type===\"comment\"}function J(Ne){return Ne.type===\"element\"&&(Ne.fullName===\"script\"||Ne.fullName===\"style\"||Ne.fullName===\"svg:style\"||ne(Ne)&&(Ne.name===\"script\"||Ne.name===\"style\"))}function me(Ne){return Ne.children&&!J(Ne)}function we(Ne){return J(Ne)||Ne.type===\"interpolation\"||Fe(Ne)}function Fe(Ne){return ta(Ne).startsWith(\"pre\")}function Me(Ne,Vn){let er=_s();if(er&&!Ne.prev&&Ne.parent&&Ne.parent.tagDefinition&&Ne.parent.tagDefinition.ignoreFirstLf)return Ne.type===\"interpolation\";return er;function _s(){return Y(Ne)?!1:(Ne.type===\"text\"||Ne.type===\"interpolation\")&&Ne.prev&&(Ne.prev.type===\"text\"||Ne.prev.type===\"interpolation\")?!0:!Ne.parent||Ne.parent.cssDisplay===\"none\"?!1:Yi(Ne.parent)?!0:!(!Ne.prev&&(Ne.parent.type===\"root\"||Yi(Ne)&&Ne.parent||J(Ne.parent)||Sn(Ne.parent,Vn)||!yr(Ne.parent.cssDisplay))||Ne.prev&&!An(Ne.prev.cssDisplay))}}function Xe(Ne,Vn){return Y(Ne)?!1:(Ne.type===\"text\"||Ne.type===\"interpolation\")&&Ne.next&&(Ne.next.type===\"text\"||Ne.next.type===\"interpolation\")?!0:!Ne.parent||Ne.parent.cssDisplay===\"none\"?!1:Yi(Ne.parent)?!0:!(!Ne.next&&(Ne.parent.type===\"root\"||Yi(Ne)&&Ne.parent||J(Ne.parent)||Sn(Ne.parent,Vn)||!Zs(Ne.parent.cssDisplay))||Ne.next&&!hi(Ne.next.cssDisplay))}function Dt(Ne){return Fi(Ne.cssDisplay)&&!J(Ne)}function Xt(Ne){return Y(Ne)||Ne.next&&Ne.sourceSpan.end&&Ne.sourceSpan.end.line+1<Ne.next.sourceSpan.start.line}function hn(Ne){return Jt(Ne)||Ne.type===\"element\"&&Ne.children.length>0&&([\"body\",\"script\",\"style\"].includes(Ne.name)||Ne.children.some(Vn=>ki(Vn)))||Ne.firstChild&&Ne.firstChild===Ne.lastChild&&Ne.firstChild.type!==\"text\"&&cn(Ne.firstChild)&&(!Ne.lastChild.isTrailingSpaceSensitive||Ht(Ne.lastChild))}function Jt(Ne){return Ne.type===\"element\"&&Ne.children.length>0&&([\"html\",\"head\",\"ul\",\"ol\",\"select\"].includes(Ne.name)||Ne.cssDisplay.startsWith(\"table\")&&Ne.cssDisplay!==\"table-cell\")}function Hn(Ne){return vi(Ne)||Ne.prev&&Nt(Ne.prev)||Di(Ne)}function Nt(Ne){return vi(Ne)||Ne.type===\"element\"&&Ne.fullName===\"br\"||Di(Ne)}function Di(Ne){return cn(Ne)&&Ht(Ne)}function cn(Ne){return Ne.hasLeadingSpaces&&(Ne.prev?Ne.prev.sourceSpan.end.line<Ne.sourceSpan.start.line:Ne.parent.type===\"root\"||Ne.parent.startSourceSpan.end.line<Ne.sourceSpan.start.line)}function Ht(Ne){return Ne.hasTrailingSpaces&&(Ne.next?Ne.next.sourceSpan.start.line>Ne.sourceSpan.end.line:Ne.parent.type===\"root\"||Ne.parent.endSourceSpan&&Ne.parent.endSourceSpan.start.line>Ne.sourceSpan.end.line)}function vi(Ne){switch(Ne.type){case\"ieConditionalComment\":case\"comment\":case\"directive\":return!0;case\"element\":return[\"script\",\"select\"].includes(Ne.name)}return!1}function Ci(Ne){return Ne.lastChild?Ci(Ne.lastChild):Ne}function ki(Ne){return Ne.children&&Ne.children.some(Vn=>Vn.type!==\"text\")}function Cr(Ne){let{type:Vn,lang:er}=Ne.attrMap;if(Vn===\"module\"||Vn===\"text/javascript\"||Vn===\"text/babel\"||Vn===\"application/javascript\"||er===\"jsx\")return\"babel\";if(Vn===\"application/x-typescript\"||er===\"ts\"||er===\"tsx\")return\"typescript\";if(Vn===\"text/markdown\")return\"markdown\";if(Vn===\"text/html\")return\"html\";if(Vn&&(Vn.endsWith(\"json\")||Vn.endsWith(\"importmap\"))||Vn===\"speculationrules\")return\"json\";if(Vn===\"text/x-handlebars-template\")return\"glimmer\"}function pn(Ne,Vn){let{lang:er}=Ne.attrMap;if(!er||er===\"postcss\"||er===\"css\")return\"css\";if(er===\"scss\")return\"scss\";if(er===\"less\")return\"less\";if(er===\"stylus\")return R(\"stylus\",Vn)}function ui(Ne,Vn){if(Ne.name===\"script\"&&!Ne.attrMap.src)return!Ne.attrMap.lang&&!Ne.attrMap.type?\"babel\":Cr(Ne);if(Ne.name===\"style\")return pn(Ne,Vn);if(Vn&&pi(Ne,Vn))return Cr(Ne)||!(\"src\"in Ne.attrMap)&&R(Ne.attrMap.lang,Vn)}function Zi(Ne){return Ne===\"block\"||Ne===\"list-item\"||Ne.startsWith(\"table\")}function yr(Ne){return!Zi(Ne)&&Ne!==\"inline-block\"}function Zs(Ne){return!Zi(Ne)&&Ne!==\"inline-block\"}function hi(Ne){return!Zi(Ne)}function An(Ne){return!Zi(Ne)}function Fi(Ne){return!Zi(Ne)&&Ne!==\"inline-block\"}function Yi(Ne){return ta(Ne).startsWith(\"pre\")}function Fr(Ne,Vn){let er=0;for(let _s=Ne.stack.length-1;_s>=0;_s--){let js=Ne.stack[_s];js&&typeof js==\"object\"&&!Array.isArray(js)&&Vn(js)&&er++}return er}function as(Ne,Vn){let er=Ne;for(;er;){if(Vn(er))return!0;er=er.parent}return!1}function Ds(Ne,Vn){if(Ne.prev&&Ne.prev.type===\"comment\"){let _s=Ne.prev.value.match(/^\\s*display:\\s*([a-z]+)\\s*$/);if(_s)return _s[1]}let er=!1;if(Ne.type===\"element\"&&Ne.namespace===\"svg\")if(as(Ne,_s=>_s.fullName===\"svg:foreignObject\"))er=!0;else return Ne.name===\"svg\"?\"inline-block\":\"block\";switch(Vn.htmlWhitespaceSensitivity){case\"strict\":return\"inline\";case\"ignore\":return\"block\";default:return Vn.parser===\"vue\"&&Ne.parent&&Ne.parent.type===\"root\"?\"block\":Ne.type===\"element\"&&(!Ne.namespace||er||ne(Ne))&&oe[Ne.name]||ye}}function ta(Ne){return Ne.type===\"element\"&&(!Ne.namespace||ne(Ne))&&_e[Ne.name]||ge}function ll(Ne){let Vn=Number.POSITIVE_INFINITY;for(let er of Ne.split(`\n`)){if(er.length===0)continue;if(!le.has(er[0]))return 0;let _s=pt(er).length;er.length!==_s&&_s<Vn&&(Vn=_s)}return Vn===Number.POSITIVE_INFINITY?0:Vn}function Bn(Ne){let Vn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ll(Ne);return Vn===0?Ne:Ne.split(`\n`).map(er=>er.slice(Vn)).join(`\n`)}function Zo(Ne,Vn){let er=0;for(let _s=0;_s<Ne.length;_s++)Ne[_s]===Vn&&er++;return er}function Ta(Ne){return Ne.replace(/&apos;/g,\"'\").replace(/&quot;/g,'\"')}var ir=new Set([\"template\",\"style\",\"script\"]);function Sn(Ne,Vn){return ur(Ne,Vn)&&!ir.has(Ne.fullName)}function ur(Ne,Vn){return Vn.parser===\"vue\"&&Ne.type===\"element\"&&Ne.parent.type===\"root\"&&Ne.fullName.toLowerCase()!==\"html\"}function pi(Ne,Vn){return ur(Ne,Vn)&&(Sn(Ne,Vn)||Ne.attrMap.lang&&Ne.attrMap.lang!==\"html\")}function pr(Ne){let Vn=Ne.fullName;return Vn.charAt(0)===\"#\"||Vn===\"slot-scope\"||Vn===\"v-slot\"||Vn.startsWith(\"v-slot:\")}function yo(Ne,Vn){let er=Ne.parent;if(!ur(er,Vn))return!1;let _s=er.fullName,js=Ne.fullName;return _s===\"script\"&&js===\"setup\"||_s===\"style\"&&js===\"vars\"}function Gs(Ne){let Vn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ne.value;return Ne.parent.isWhitespaceSensitive?Ne.parent.isIndentationSensitive?Z(Vn):Z(Bn(rt(Vn)),M):$(H(G,je(Vn)))}function Er(Ne,Vn){return ur(Ne,Vn)&&Ne.name===\"script\"}ee.exports={htmlTrim:j,htmlTrimPreserveIndentation:rt,hasHtmlWhitespace:fn,getLeadingAndTrailingHtmlWhitespace:at,canHaveInterpolation:me,countChars:Zo,countParents:Fr,dedentString:Bn,forceBreakChildren:Jt,forceBreakContent:hn,forceNextEmptyLine:Xt,getLastDescendant:Ci,getNodeCssStyleDisplay:Ds,getNodeCssStyleWhiteSpace:ta,hasPrettierIgnore:Ve,inferScriptParser:ui,isVueCustomBlock:Sn,isVueNonHtmlBlock:pi,isVueScriptTag:Er,isVueSlotAttribute:pr,isVueSfcBindingsAttribute:yo,isVueSfcBlock:ur,isDanglingSpaceSensitiveNode:Dt,isIndentationSensitiveNode:Fe,isLeadingSpaceSensitiveNode:Me,isPreLikeNode:Yi,isScriptLikeTag:J,isTextLikeNode:Ee,isTrailingSpaceSensitiveNode:Xe,isWhitespaceSensitiveNode:we,isUnknownNamespace:ne,preferHardlineAsLeadingSpaces:Hn,preferHardlineAsTrailingSpaces:Nt,shouldPreserveContent:ce,unescapeQuoteEntities:Ta,getTextValueParts:Gs}}}),Xs=Ct({\"node_modules/angular-html-parser/lib/compiler/src/chars.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0}),z.$EOF=0,z.$BSPACE=8,z.$TAB=9,z.$LF=10,z.$VTAB=11,z.$FF=12,z.$CR=13,z.$SPACE=32,z.$BANG=33,z.$DQ=34,z.$HASH=35,z.$$=36,z.$PERCENT=37,z.$AMPERSAND=38,z.$SQ=39,z.$LPAREN=40,z.$RPAREN=41,z.$STAR=42,z.$PLUS=43,z.$COMMA=44,z.$MINUS=45,z.$PERIOD=46,z.$SLASH=47,z.$COLON=58,z.$SEMICOLON=59,z.$LT=60,z.$EQ=61,z.$GT=62,z.$QUESTION=63,z.$0=48,z.$7=55,z.$9=57,z.$A=65,z.$E=69,z.$F=70,z.$X=88,z.$Z=90,z.$LBRACKET=91,z.$BACKSLASH=92,z.$RBRACKET=93,z.$CARET=94,z.$_=95,z.$a=97,z.$b=98,z.$e=101,z.$f=102,z.$n=110,z.$r=114,z.$t=116,z.$u=117,z.$v=118,z.$x=120,z.$z=122,z.$LBRACE=123,z.$BAR=124,z.$RBRACE=125,z.$NBSP=160,z.$PIPE=124,z.$TILDA=126,z.$AT=64,z.$BT=96;function ee($){return $>=z.$TAB&&$<=z.$SPACE||$==z.$NBSP}z.isWhitespace=ee;function R($){return z.$0<=$&&$<=z.$9}z.isDigit=R;function Y($){return $>=z.$a&&$<=z.$z||$>=z.$A&&$<=z.$Z}z.isAsciiLetter=Y;function G($){return $>=z.$a&&$<=z.$f||$>=z.$A&&$<=z.$F||R($)}z.isAsciiHexDigit=G;function M($){return $===z.$LF||$===z.$CR}z.isNewLine=M;function H($){return z.$0<=$&&$<=z.$7}z.isOctalDigit=H}}),ds=Ct({\"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=class{constructor(Y,G,M){this.filePath=Y,this.name=G,this.members=M}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};z.StaticSymbol=ee;var R=class{constructor(){this.cache=new Map}get(Y,G,M){M=M||[];let H=M.length?`.${M.join(\".\")}`:\"\",$=`\"${Y}\".${G}${H}`,Z=this.cache.get($);return Z||(Z=new ee(Y,G,M),this.cache.set($,Z)),Z}};z.StaticSymbolCache=R}}),Zu=Ct({\"node_modules/angular-html-parser/lib/compiler/src/util.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=/-+([a-z0-9])/g;function R(J){return J.replace(ee,function(){for(var me=arguments.length,we=new Array(me),Fe=0;Fe<me;Fe++)we[Fe]=arguments[Fe];return we[1].toUpperCase()})}z.dashCaseToCamelCase=R;function Y(J,me){return M(J,\":\",me)}z.splitAtColon=Y;function G(J,me){return M(J,\".\",me)}z.splitAtPeriod=G;function M(J,me,we){let Fe=J.indexOf(me);return Fe==-1?we:[J.slice(0,Fe).trim(),J.slice(Fe+1).trim()]}function H(J,me,we){return Array.isArray(J)?me.visitArray(J,we):Ae(J)?me.visitStringMap(J,we):J==null||typeof J==\"string\"||typeof J==\"number\"||typeof J==\"boolean\"?me.visitPrimitive(J,we):me.visitOther(J,we)}z.visitValue=H;function $(J){return J!=null}z.isDefined=$;function Z(J){return J===void 0?null:J}z.noUndefined=Z;var oe=class{visitArray(J,me){return J.map(we=>H(we,this,me))}visitStringMap(J,me){let we={};return Object.keys(J).forEach(Fe=>{we[Fe]=H(J[Fe],this,me)}),we}visitPrimitive(J,me){return J}visitOther(J,me){return J}};z.ValueTransformer=oe,z.SyncAsync={assertSync:J=>{if(at(J))throw new Error(\"Illegal state: value cannot be a promise\");return J},then:(J,me)=>at(J)?J.then(me):me(J),all:J=>J.some(at)?Promise.all(J):J};function ye(J){throw new Error(`Internal Error: ${J}`)}z.error=ye;function _e(J,me){let we=Error(J);return we[ge]=!0,me&&(we[ne]=me),we}z.syntaxError=_e;var ge=\"ngSyntaxError\",ne=\"ngParseErrors\";function le(J){return J[ge]}z.isSyntaxError=le;function xe(J){return J[ne]||[]}z.getParseErrors=xe;function tt(J){return J.replace(/([.*+?^=!:${}()|[\\]\\/\\\\])/g,\"\\\\$1\")}z.escapeRegExp=tt;var j=Object.getPrototypeOf({});function Ae(J){return typeof J==\"object\"&&J!==null&&Object.getPrototypeOf(J)===j}function rt(J){let me=\"\";for(let we=0;we<J.length;we++){let Fe=J.charCodeAt(we);if(Fe>=55296&&Fe<=56319&&J.length>we+1){let Me=J.charCodeAt(we+1);Me>=56320&&Me<=57343&&(we++,Fe=(Fe-55296<<10)+Me-56320+65536)}Fe<=127?me+=String.fromCharCode(Fe):Fe<=2047?me+=String.fromCharCode(Fe>>6&31|192,Fe&63|128):Fe<=65535?me+=String.fromCharCode(Fe>>12|224,Fe>>6&63|128,Fe&63|128):Fe<=2097151&&(me+=String.fromCharCode(Fe>>18&7|240,Fe>>12&63|128,Fe>>6&63|128,Fe&63|128))}return me}z.utf8Encode=rt;function je(J){if(typeof J==\"string\")return J;if(J instanceof Array)return\"[\"+J.map(je).join(\", \")+\"]\";if(J==null)return\"\"+J;if(J.overriddenName)return`${J.overriddenName}`;if(J.name)return`${J.name}`;if(!J.toString)return\"object\";let me=J.toString();if(me==null)return\"\"+me;let we=me.indexOf(`\n`);return we===-1?me:me.substring(0,we)}z.stringify=je;function pt(J){return typeof J==\"function\"&&J.hasOwnProperty(\"__forward_ref__\")?J():J}z.resolveForwardRef=pt;function at(J){return!!J&&typeof J.then==\"function\"}z.isPromise=at;var fn=class{constructor(J){this.full=J;let me=J.split(\".\");this.major=me[0],this.minor=me[1],this.patch=me.slice(2).join(\".\")}};z.Version=fn;var ce=typeof window<\"u\"&&window,Ve=typeof self<\"u\"&&typeof WorkerGlobalScope<\"u\"&&self instanceof WorkerGlobalScope&&self,ae=typeof globalThis<\"u\"&&globalThis,Ee=ae||ce||Ve;z.global=Ee}}),au=Ct({\"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=ds(),R=Zu(),Y=/^(?:(?:\\[([^\\]]+)\\])|(?:\\(([^\\)]+)\\)))|(\\@[-\\w]+)$/;function G(we){return we.replace(/\\W/g,\"_\")}z.sanitizeIdentifier=G;var M=0;function H(we){if(!we||!we.reference)return null;let Fe=we.reference;if(Fe instanceof ee.StaticSymbol)return Fe.name;if(Fe.__anonymousType)return Fe.__anonymousType;let Me=R.stringify(Fe);return Me.indexOf(\"(\")>=0?(Me=`anonymous_${M++}`,Fe.__anonymousType=Me):Me=G(Me),Me}z.identifierName=H;function $(we){let Fe=we.reference;return Fe instanceof ee.StaticSymbol?Fe.filePath:`./${R.stringify(Fe)}`}z.identifierModuleUrl=$;function Z(we,Fe){return`View_${H({reference:we})}_${Fe}`}z.viewClassName=Z;function oe(we){return`RenderType_${H({reference:we})}`}z.rendererTypeName=oe;function ye(we){return`HostView_${H({reference:we})}`}z.hostViewClassName=ye;function _e(we){return`${H({reference:we})}NgFactory`}z.componentFactoryName=_e;var ge;(function(we){we[we.Pipe=0]=\"Pipe\",we[we.Directive=1]=\"Directive\",we[we.NgModule=2]=\"NgModule\",we[we.Injectable=3]=\"Injectable\"})(ge=z.CompileSummaryKind||(z.CompileSummaryKind={}));function ne(we){return we.value!=null?G(we.value):H(we.identifier)}z.tokenName=ne;function le(we){return we.identifier!=null?we.identifier.reference:we.value}z.tokenReference=le;var xe=class{constructor(){let{moduleUrl:we,styles:Fe,styleUrls:Me}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=we||null,this.styles=at(Fe),this.styleUrls=at(Me)}};z.CompileStylesheetMetadata=xe;var tt=class{constructor(we){let{encapsulation:Fe,template:Me,templateUrl:Xe,htmlAst:Dt,styles:Xt,styleUrls:hn,externalStylesheets:Jt,animations:Hn,ngContentSelectors:Nt,interpolation:Di,isInline:cn,preserveWhitespaces:Ht}=we;if(this.encapsulation=Fe,this.template=Me,this.templateUrl=Xe,this.htmlAst=Dt,this.styles=at(Xt),this.styleUrls=at(hn),this.externalStylesheets=at(Jt),this.animations=Hn?ce(Hn):[],this.ngContentSelectors=Nt||[],Di&&Di.length!=2)throw new Error(\"'interpolation' should have a start and an end symbol.\");this.interpolation=Di,this.isInline=cn,this.preserveWhitespaces=Ht}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};z.CompileTemplateMetadata=tt;var j=class{static create(we){let{isHost:Fe,type:Me,isComponent:Xe,selector:Dt,exportAs:Xt,changeDetection:hn,inputs:Jt,outputs:Hn,host:Nt,providers:Di,viewProviders:cn,queries:Ht,guards:vi,viewQueries:Ci,entryComponents:ki,template:Cr,componentViewType:pn,rendererType:ui,componentFactory:Zi}=we,yr={},Zs={},hi={};Nt!=null&&Object.keys(Nt).forEach(Yi=>{let Fr=Nt[Yi],as=Yi.match(Y);as===null?hi[Yi]=Fr:as[1]!=null?Zs[as[1]]=Fr:as[2]!=null&&(yr[as[2]]=Fr)});let An={};Jt!=null&&Jt.forEach(Yi=>{let Fr=R.splitAtColon(Yi,[Yi,Yi]);An[Fr[0]]=Fr[1]});let Fi={};return Hn!=null&&Hn.forEach(Yi=>{let Fr=R.splitAtColon(Yi,[Yi,Yi]);Fi[Fr[0]]=Fr[1]}),new j({isHost:Fe,type:Me,isComponent:!!Xe,selector:Dt,exportAs:Xt,changeDetection:hn,inputs:An,outputs:Fi,hostListeners:yr,hostProperties:Zs,hostAttributes:hi,providers:Di,viewProviders:cn,queries:Ht,guards:vi,viewQueries:Ci,entryComponents:ki,template:Cr,componentViewType:pn,rendererType:ui,componentFactory:Zi})}constructor(we){let{isHost:Fe,type:Me,isComponent:Xe,selector:Dt,exportAs:Xt,changeDetection:hn,inputs:Jt,outputs:Hn,hostListeners:Nt,hostProperties:Di,hostAttributes:cn,providers:Ht,viewProviders:vi,queries:Ci,guards:ki,viewQueries:Cr,entryComponents:pn,template:ui,componentViewType:Zi,rendererType:yr,componentFactory:Zs}=we;this.isHost=!!Fe,this.type=Me,this.isComponent=Xe,this.selector=Dt,this.exportAs=Xt,this.changeDetection=hn,this.inputs=Jt,this.outputs=Hn,this.hostListeners=Nt,this.hostProperties=Di,this.hostAttributes=cn,this.providers=at(Ht),this.viewProviders=at(vi),this.queries=at(Ci),this.guards=ki,this.viewQueries=at(Cr),this.entryComponents=at(pn),this.template=ui,this.componentViewType=Zi,this.rendererType=yr,this.componentFactory=Zs}toSummary(){return{summaryKind:ge.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};z.CompileDirectiveMetadata=j;var Ae=class{constructor(we){let{type:Fe,name:Me,pure:Xe}=we;this.type=Fe,this.name=Me,this.pure=!!Xe}toSummary(){return{summaryKind:ge.Pipe,type:this.type,name:this.name,pure:this.pure}}};z.CompilePipeMetadata=Ae;var rt=class{};z.CompileShallowModuleMetadata=rt;var je=class{constructor(we){let{type:Fe,providers:Me,declaredDirectives:Xe,exportedDirectives:Dt,declaredPipes:Xt,exportedPipes:hn,entryComponents:Jt,bootstrapComponents:Hn,importedModules:Nt,exportedModules:Di,schemas:cn,transitiveModule:Ht,id:vi}=we;this.type=Fe||null,this.declaredDirectives=at(Xe),this.exportedDirectives=at(Dt),this.declaredPipes=at(Xt),this.exportedPipes=at(hn),this.providers=at(Me),this.entryComponents=at(Jt),this.bootstrapComponents=at(Hn),this.importedModules=at(Nt),this.exportedModules=at(Di),this.schemas=at(cn),this.id=vi||null,this.transitiveModule=Ht||null}toSummary(){let we=this.transitiveModule;return{summaryKind:ge.NgModule,type:this.type,entryComponents:we.entryComponents,providers:we.providers,modules:we.modules,exportedDirectives:we.exportedDirectives,exportedPipes:we.exportedPipes}}};z.CompileNgModuleMetadata=je;var pt=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(we,Fe){this.providers.push({provider:we,module:Fe})}addDirective(we){this.directivesSet.has(we.reference)||(this.directivesSet.add(we.reference),this.directives.push(we))}addExportedDirective(we){this.exportedDirectivesSet.has(we.reference)||(this.exportedDirectivesSet.add(we.reference),this.exportedDirectives.push(we))}addPipe(we){this.pipesSet.has(we.reference)||(this.pipesSet.add(we.reference),this.pipes.push(we))}addExportedPipe(we){this.exportedPipesSet.has(we.reference)||(this.exportedPipesSet.add(we.reference),this.exportedPipes.push(we))}addModule(we){this.modulesSet.has(we.reference)||(this.modulesSet.add(we.reference),this.modules.push(we))}addEntryComponent(we){this.entryComponentsSet.has(we.componentType)||(this.entryComponentsSet.add(we.componentType),this.entryComponents.push(we))}};z.TransitiveCompileNgModuleMetadata=pt;function at(we){return we||[]}var fn=class{constructor(we,Fe){let{useClass:Me,useValue:Xe,useExisting:Dt,useFactory:Xt,deps:hn,multi:Jt}=Fe;this.token=we,this.useClass=Me||null,this.useValue=Xe,this.useExisting=Dt,this.useFactory=Xt||null,this.dependencies=hn||null,this.multi=!!Jt}};z.ProviderMeta=fn;function ce(we){return we.reduce((Fe,Me)=>{let Xe=Array.isArray(Me)?ce(Me):Me;return Fe.concat(Xe)},[])}z.flatten=ce;function Ve(we){return we.replace(/(\\w+:\\/\\/[\\w:-]+)?(\\/+)?/,\"ng:///\")}function ae(we,Fe,Me){let Xe;return Me.isInline?Fe.type.reference instanceof ee.StaticSymbol?Xe=`${Fe.type.reference.filePath}.${Fe.type.reference.name}.html`:Xe=`${H(we)}/${H(Fe.type)}.html`:Xe=Me.templateUrl,Fe.type.reference instanceof ee.StaticSymbol?Xe:Ve(Xe)}z.templateSourceUrl=ae;function Ee(we,Fe){let Me=we.moduleUrl.split(/\\/\\\\/g),Xe=Me[Me.length-1];return Ve(`css/${Fe}${Xe}.ngstyle.js`)}z.sharedStylesheetJitUrl=Ee;function J(we){return Ve(`${H(we.type)}/module.ngfactory.js`)}z.ngModuleJitUrl=J;function me(we,Fe){return Ve(`${H(we)}/${H(Fe.type)}.ngfactory.js`)}z.templateJitUrl=me}}),Du=Ct({\"node_modules/angular-html-parser/lib/compiler/src/parse_util.js\"(z){Un(),Object.defineProperty(z,\"__esModule\",{value:!0});var ee=Xs(),R=au(),Y=class{constructor(ye,_e,ge,ne){this.file=ye,this.offset=_e,this.line=ge,this.col=ne}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(ye){let _e=this.file.content,ge=_e.length,ne=this.offset,le=this.line,xe=this.col;for(;ne>0&&ye<0;)if(ne--,ye++,_e.charCodeAt(ne)==ee.$LF){le--;let tt=_e.substr(0,ne-1).lastIndexOf(String.fromCharCode(ee.$LF));xe=tt>0?ne-tt:ne}else xe--;for(;ne<ge&&ye>0;){let tt=_e.charCodeAt(ne);ne++,ye--,tt==ee.$LF?(le++,xe=0):xe++}return new Y(this.file,ne,le,xe)}getContext(ye,_e){let ge=this.file.content,ne=this.offset;if(ne!=null){ne>ge.length-1&&(ne=ge.length-1);let le=ne,xe=0,tt=0;for(;xe<ye&&ne>0&&(ne--,xe++,!(ge[ne]==`\n`&&++tt==_e)););for(xe=0,tt=0;xe<ye&&le<ge.length-1&&(le++,xe++,!(ge[le]==`\n`&&++tt==_e)););return{before:ge.substring(ne,this.offset),after:ge.substring(this.offset,le+1)}}return null}};z.ParseLocation=Y;var G=class{constructor(ye,_e){this.content=ye,this.url=_e}};z.ParseSourceFile=G;var M=class{constructor(ye,_e){let ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=ye,this.end=_e,this.details=ge}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};z.ParseSourceSpan=M,z.EMPTY_PARSE_LOCATION=new Y(new G(\"\",\"\"),0,0,0),z.EMPTY_SOURCE_SPAN=new M(z.EMPTY_PARSE_LOCATION,z.EMPTY_PARSE_LOCATION);var H;(function(ye){ye[ye.WARNING=0]=\"WARNING\",ye[ye.ERROR=1]=\"ERROR\"})(H=z.ParseErrorLevel||(z.ParseErrorLevel={}));var $=class{constructor(ye,_e){let ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:H.ERROR;this.span=ye,this.msg=_e,this.level=ge}contextualMessage(){let ye=this.span.start.getContext(100,3);return ye?`${this.msg} (\"${ye.before}[${H[this.level]} ->]${ye.after}\")`:this.msg}toString(){let ye=this.span.details?`, ${this.span.details}`:\"\";return`${this.contextualMessage()}: ${this.span.start}${ye}`}};z.ParseError=$;function Z(ye,_e){let ge=R.identifierModuleUrl(_e),ne=ge!=null?`in ${ye} ${R.identifierName(_e)} in ${ge}`:`in ${ye} ${R.identifierName(_e)}`,le=new G(\"\",ne);return new M(new Y(le,-1,-1,-1),new Y(le,-1,-1,-1))}z.typeSourceSpan=Z;function oe(ye,_e,ge){let ne=`in ${ye} ${_e} in ${ge}`,le=new G(\"\",ne);return new M(new Y(le,-1,-1,-1),new Y(le,-1,-1,-1))}z.r3JitTypeSourceSpan=oe}}),ue=Ct({\"src/language-html/print-preprocess.js\"(z,ee){Un();var{ParseSourceSpan:R}=Du(),{htmlTrim:Y,getLeadingAndTrailingHtmlWhitespace:G,hasHtmlWhitespace:M,canHaveInterpolation:H,getNodeCssStyleDisplay:$,isDanglingSpaceSensitiveNode:Z,isIndentationSensitiveNode:oe,isLeadingSpaceSensitiveNode:ye,isTrailingSpaceSensitiveNode:_e,isWhitespaceSensitiveNode:ge,isVueScriptTag:ne}=cs(),le=[tt,j,rt,pt,at,Ve,fn,ce,ae,je,Ee];function xe(J,me){for(let we of le)we(J,me);return J}function tt(J){J.walk(me=>{if(me.type===\"element\"&&me.tagDefinition.ignoreFirstLf&&me.children.length>0&&me.children[0].type===\"text\"&&me.children[0].value[0]===`\n`){let we=me.children[0];we.value.length===1?me.removeChild(we):we.value=we.value.slice(1)}})}function j(J){let me=we=>we.type===\"element\"&&we.prev&&we.prev.type===\"ieConditionalStartComment\"&&we.prev.sourceSpan.end.offset===we.startSourceSpan.start.offset&&we.firstChild&&we.firstChild.type===\"ieConditionalEndComment\"&&we.firstChild.sourceSpan.start.offset===we.startSourceSpan.end.offset;J.walk(we=>{if(we.children)for(let Fe=0;Fe<we.children.length;Fe++){let Me=we.children[Fe];if(!me(Me))continue;let Xe=Me.prev,Dt=Me.firstChild;we.removeChild(Xe),Fe--;let Xt=new R(Xe.sourceSpan.start,Dt.sourceSpan.end),hn=new R(Xt.start,Me.sourceSpan.end);Me.condition=Xe.condition,Me.sourceSpan=hn,Me.startSourceSpan=Xt,Me.removeChild(Dt)}})}function Ae(J,me,we){J.walk(Fe=>{if(Fe.children)for(let Me=0;Me<Fe.children.length;Me++){let Xe=Fe.children[Me];if(Xe.type!==\"text\"&&!me(Xe))continue;Xe.type!==\"text\"&&(Xe.type=\"text\",Xe.value=we(Xe));let Dt=Xe.prev;!Dt||Dt.type!==\"text\"||(Dt.value+=Xe.value,Dt.sourceSpan=new R(Dt.sourceSpan.start,Xe.sourceSpan.end),Fe.removeChild(Xe),Me--)}})}function rt(J){return Ae(J,me=>me.type===\"cdata\",me=>`<![CDATA[${me.value}]]>`)}function je(J){let me=we=>we.type===\"element\"&&we.attrs.length===0&&we.children.length===1&&we.firstChild.type===\"text\"&&!M(we.children[0].value)&&!we.firstChild.hasLeadingSpaces&&!we.firstChild.hasTrailingSpaces&&we.isLeadingSpaceSensitive&&!we.hasLeadingSpaces&&we.isTrailingSpaceSensitive&&!we.hasTrailingSpaces&&we.prev&&we.prev.type===\"text\"&&we.next&&we.next.type===\"text\";J.walk(we=>{if(we.children)for(let Fe=0;Fe<we.children.length;Fe++){let Me=we.children[Fe];if(!me(Me))continue;let Xe=Me.prev,Dt=Me.next;Xe.value+=`<${Me.rawName}>`+Me.firstChild.value+`</${Me.rawName}>`+Dt.value,Xe.sourceSpan=new R(Xe.sourceSpan.start,Dt.sourceSpan.end),Xe.isTrailingSpaceSensitive=Dt.isTrailingSpaceSensitive,Xe.hasTrailingSpaces=Dt.hasTrailingSpaces,we.removeChild(Me),Fe--,we.removeChild(Dt)}})}function pt(J,me){if(me.parser===\"html\")return;let we=/{{(.+?)}}/s;J.walk(Fe=>{if(H(Fe))for(let Me of Fe.children){if(Me.type!==\"text\")continue;let Xe=Me.sourceSpan.start,Dt=null,Xt=Me.value.split(we);for(let hn=0;hn<Xt.length;hn++,Xe=Dt){let Jt=Xt[hn];if(hn%2===0){Dt=Xe.moveBy(Jt.length),Jt.length>0&&Fe.insertChildBefore(Me,{type:\"text\",value:Jt,sourceSpan:new R(Xe,Dt)});continue}Dt=Xe.moveBy(Jt.length+4),Fe.insertChildBefore(Me,{type:\"interpolation\",sourceSpan:new R(Xe,Dt),children:Jt.length===0?[]:[{type:\"text\",value:Jt,sourceSpan:new R(Xe.moveBy(2),Dt.moveBy(-2))}]})}Fe.removeChild(Me)}})}function at(J){J.walk(me=>{if(!me.children)return;if(me.children.length===0||me.children.length===1&&me.children[0].type===\"text\"&&Y(me.children[0].value).length===0){me.hasDanglingSpaces=me.children.length>0,me.children=[];return}let we=ge(me),Fe=oe(me);if(!we)for(let Me=0;Me<me.children.length;Me++){let Xe=me.children[Me];if(Xe.type!==\"text\")continue;let{leadingWhitespace:Dt,text:Xt,trailingWhitespace:hn}=G(Xe.value),Jt=Xe.prev,Hn=Xe.next;Xt?(Xe.value=Xt,Xe.sourceSpan=new R(Xe.sourceSpan.start.moveBy(Dt.length),Xe.sourceSpan.end.moveBy(-hn.length)),Dt&&(Jt&&(Jt.hasTrailingSpaces=!0),Xe.hasLeadingSpaces=!0),hn&&(Xe.hasTrailingSpaces=!0,Hn&&(Hn.hasLeadingSpaces=!0))):(me.removeChild(Xe),Me--,(Dt||hn)&&(Jt&&(Jt.hasTrailingSpaces=!0),Hn&&(Hn.hasLeadingSpaces=!0)))}me.isWhitespaceSensitive=we,me.isIndentationSensitive=Fe})}function fn(J){J.walk(me=>{me.isSelfClosing=!me.children||me.type===\"element\"&&(me.tagDefinition.isVoid||me.startSourceSpan===me.endSourceSpan)})}function ce(J,me){J.walk(we=>{we.type===\"element\"&&(we.hasHtmComponentClosingTag=we.endSourceSpan&&/^<\\s*\\/\\s*\\/\\s*>$/.test(me.originalText.slice(we.endSourceSpan.start.offset,we.endSourceSpan.end.offset)))})}function Ve(J,me){J.walk(we=>{we.cssDisplay=$(we,me)})}function ae(J,me){J.walk(we=>{let{children:Fe}=we;if(Fe){if(Fe.length===0){we.isDanglingSpaceSensitive=Z(we);return}for(let Me of Fe)Me.isLeadingSpaceSensitive=ye(Me,me),Me.isTrailingSpaceSensitive=_e(Me,me);for(let Me=0;Me<Fe.length;Me++){let Xe=Fe[Me];Xe.isLeadingSpaceSensitive=(Me===0||Xe.prev.isTrailingSpaceSensitive)&&Xe.isLeadingSpaceSensitive,Xe.isTrailingSpaceSensitive=(Me===Fe.length-1||Xe.next.isLeadingSpaceSensitive)&&Xe.isTrailingSpaceSensitive}}})}function Ee(J,me){if(me.parser===\"vue\"){let we=J.children.find(Me=>ne(Me,me));if(!we)return;let{lang:Fe}=we.attrMap;(Fe===\"ts\"||Fe===\"typescript\")&&(me.__should_parse_vue_template_with_ts=!0)}}ee.exports=xe}}),Tn=Ct({\"src/language-html/pragma.js\"(z,ee){Un();function R(G){return/^\\s*<!--\\s*@(?:format|prettier)\\s*-->/.test(G)}function Y(G){return`<!-- @format -->\n\n`+G.replace(/^\\s*\\n/,\"\")}ee.exports={hasPragma:R,insertPragma:Y}}}),Ei=Ct({\"src/language-html/loc.js\"(z,ee){Un();function R(G){return G.sourceSpan.start.offset}function Y(G){return G.sourceSpan.end.offset}ee.exports={locStart:R,locEnd:Y}}}),Gr=Ct({\"src/language-html/print/tag.js\"(z,ee){Un();var R=Au(),{isNonEmptyArray:Y}=sn(),{builders:{indent:G,join:M,line:H,softline:$,hardline:Z},utils:{replaceTextEndOfLine:oe}}=Ia(),{locStart:ye,locEnd:_e}=Ei(),{isTextLikeNode:ge,getLastDescendant:ne,isPreLikeNode:le,hasPrettierIgnore:xe,shouldPreserveContent:tt,isVueSfcBlock:j}=cs();function Ae(Nt,Di){return[Nt.isSelfClosing?\"\":rt(Nt,Di),je(Nt,Di)]}function rt(Nt,Di){return Nt.lastChild&&J(Nt.lastChild)?\"\":[pt(Nt,Di),fn(Nt,Di)]}function je(Nt,Di){return(Nt.next?ae(Nt.next):Ee(Nt.parent))?\"\":[ce(Nt,Di),at(Nt,Di)]}function pt(Nt,Di){return Ee(Nt)?ce(Nt.lastChild,Di):\"\"}function at(Nt,Di){return J(Nt)?fn(Nt.parent,Di):me(Nt)?Jt(Nt.next):\"\"}function fn(Nt,Di){if(R(!Nt.isSelfClosing),Ve(Nt,Di))return\"\";switch(Nt.type){case\"ieConditionalComment\":return\"<!\";case\"element\":if(Nt.hasHtmComponentClosingTag)return\"<//\";default:return`</${Nt.rawName}`}}function ce(Nt,Di){if(Ve(Nt,Di))return\"\";switch(Nt.type){case\"ieConditionalComment\":case\"ieConditionalEndComment\":return\"[endif]-->\";case\"ieConditionalStartComment\":return\"]><!-->\";case\"interpolation\":return\"}}\";case\"element\":if(Nt.isSelfClosing)return\"/>\";default:return\">\"}}function Ve(Nt,Di){return!Nt.isSelfClosing&&!Nt.endSourceSpan&&(xe(Nt)||tt(Nt.parent,Di))}function ae(Nt){return Nt.prev&&Nt.prev.type!==\"docType\"&&!ge(Nt.prev)&&Nt.isLeadingSpaceSensitive&&!Nt.hasLeadingSpaces}function Ee(Nt){return Nt.lastChild&&Nt.lastChild.isTrailingSpaceSensitive&&!Nt.lastChild.hasTrailingSpaces&&!ge(ne(Nt.lastChild))&&!le(Nt)}function J(Nt){return!Nt.next&&!Nt.hasTrailingSpaces&&Nt.isTrailingSpaceSensitive&&ge(ne(Nt))}function me(Nt){return Nt.next&&!ge(Nt.next)&&ge(Nt)&&Nt.isTrailingSpaceSensitive&&!Nt.hasTrailingSpaces}function we(Nt){let Di=Nt.trim().match(/^prettier-ignore-attribute(?:\\s+(.+))?$/s);return Di?Di[1]?Di[1].split(/\\s+/):!0:!1}function Fe(Nt){return!Nt.prev&&Nt.isLeadingSpaceSensitive&&!Nt.hasLeadingSpaces}function Me(Nt,Di,cn){let Ht=Nt.getValue();if(!Y(Ht.attrs))return Ht.isSelfClosing?\" \":\"\";let vi=Ht.prev&&Ht.prev.type===\"comment\"&&we(Ht.prev.value),Ci=typeof vi==\"boolean\"?()=>vi:Array.isArray(vi)?Zi=>vi.includes(Zi.rawName):()=>!1,ki=Nt.map(Zi=>{let yr=Zi.getValue();return Ci(yr)?oe(Di.originalText.slice(ye(yr),_e(yr))):cn()},\"attrs\"),Cr=Ht.type===\"element\"&&Ht.fullName===\"script\"&&Ht.attrs.length===1&&Ht.attrs[0].fullName===\"src\"&&Ht.children.length===0,pn=Di.singleAttributePerLine&&Ht.attrs.length>1&&!j(Ht,Di)?Z:H,ui=[G([Cr?\" \":H,M(pn,ki)])];return Ht.firstChild&&Fe(Ht.firstChild)||Ht.isSelfClosing&&Ee(Ht.parent)||Cr?ui.push(Ht.isSelfClosing?\" \":\"\"):ui.push(Di.bracketSameLine?Ht.isSelfClosing?\" \":\"\":Ht.isSelfClosing?H:$),ui}function Xe(Nt){return Nt.firstChild&&Fe(Nt.firstChild)?\"\":Hn(Nt)}function Dt(Nt,Di,cn){let Ht=Nt.getValue();return[Xt(Ht,Di),Me(Nt,Di,cn),Ht.isSelfClosing?\"\":Xe(Ht)]}function Xt(Nt,Di){return Nt.prev&&me(Nt.prev)?\"\":[hn(Nt,Di),Jt(Nt)]}function hn(Nt,Di){return Fe(Nt)?Hn(Nt.parent):ae(Nt)?ce(Nt.prev,Di):\"\"}function Jt(Nt){switch(Nt.type){case\"ieConditionalComment\":case\"ieConditionalStartComment\":return`<!--[if ${Nt.condition}`;case\"ieConditionalEndComment\":return\"<!--<!\";case\"interpolation\":return\"{{\";case\"docType\":return\"<!DOCTYPE\";case\"element\":if(Nt.condition)return`<!--[if ${Nt.condition}]><!--><${Nt.rawName}`;default:return`<${Nt.rawName}`}}function Hn(Nt){switch(R(!Nt.isSelfClosing),Nt.type){case\"ieConditionalComment\":return\"]>\";case\"element\":if(Nt.condition)return\"><!--<![endif]-->\";default:return\">\"}}ee.exports={printClosingTag:Ae,printClosingTagStart:rt,printClosingTagStartMarker:fn,printClosingTagEndMarker:ce,printClosingTagSuffix:at,printClosingTagEnd:je,needsToBorrowLastChildClosingTagEndMarker:Ee,needsToBorrowParentClosingTagStartMarker:J,needsToBorrowPrevClosingTagEndMarker:ae,printOpeningTag:Dt,printOpeningTagStart:Xt,printOpeningTagPrefix:hn,printOpeningTagStartMarker:Jt,printOpeningTagEndMarker:Hn,needsToBorrowNextOpeningTagStartMarker:me,needsToBorrowParentOpeningTagEndMarker:Fe}}}),ts=Ct({\"node_modules/parse-srcset/src/parse-srcset.js\"(z,ee){Un(),function(R,Y){typeof ee==\"object\"&&ee.exports?ee.exports=Y():R.parseSrcset=Y()}(z,function(){return function(R,Y){var G=Y&&Y.logger||console;function M(fn){return fn===\" \"||fn===\"\t\"||fn===`\n`||fn===\"\\f\"||fn===\"\\r\"}function H(fn){var ce,Ve=fn.exec(R.substring(rt));if(Ve)return ce=Ve[0],rt+=ce.length,ce}for(var $=R.length,Z=/^[ \\t\\n\\r\\u000c]+/,oe=/^[, \\t\\n\\r\\u000c]+/,ye=/^[^ \\t\\n\\r\\u000c]+/,_e=/[,]+$/,ge=/^\\d+$/,ne=/^-?(?:[0-9]+|[0-9]*\\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,le,xe,tt,j,Ae,rt=0,je=[];;){if(H(oe),rt>=$)return je;le=H(ye),xe=[],le.slice(-1)===\",\"?(le=le.replace(_e,\"\"),at()):pt()}function pt(){for(H(Z),tt=\"\",j=\"in descriptor\";;){if(Ae=R.charAt(rt),j===\"in descriptor\")if(M(Ae))tt&&(xe.push(tt),tt=\"\",j=\"after descriptor\");else if(Ae===\",\"){rt+=1,tt&&xe.push(tt),at();return}else if(Ae===\"(\")tt=tt+Ae,j=\"in parens\";else if(Ae===\"\"){tt&&xe.push(tt),at();return}else tt=tt+Ae;else if(j===\"in parens\")if(Ae===\")\")tt=tt+Ae,j=\"in descriptor\";else if(Ae===\"\"){xe.push(tt),at();return}else tt=tt+Ae;else if(j===\"after descriptor\"&&!M(Ae))if(Ae===\"\"){at();return}else j=\"in descriptor\",rt-=1;rt+=1}}function at(){var fn=!1,ce,Ve,ae,Ee,J={},me,we,Fe,Me,Xe;for(Ee=0;Ee<xe.length;Ee++)me=xe[Ee],we=me[me.length-1],Fe=me.substring(0,me.length-1),Me=parseInt(Fe,10),Xe=parseFloat(Fe),ge.test(Fe)&&we===\"w\"?((ce||Ve)&&(fn=!0),Me===0?fn=!0:ce=Me):ne.test(Fe)&&we===\"x\"?((ce||Ve||ae)&&(fn=!0),Xe<0?fn=!0:Ve=Xe):ge.test(Fe)&&we===\"h\"?((ae||Ve)&&(fn=!0),Me===0?fn=!0:ae=Me):fn=!0;fn?G&&G.error&&G.error(\"Invalid srcset descriptor found in '\"+R+\"' at '\"+me+\"'.\"):(J.url=le,ce&&(J.w=ce),Ve&&(J.d=Ve),ae&&(J.h=ae),je.push(J))}}})}}),Es=Ct({\"src/language-html/syntax-attribute.js\"(z,ee){Un();var R=ts(),{builders:{ifBreak:Y,join:G,line:M}}=Ia();function H(Z){let oe=R(Z,{logger:{error(pt){throw new Error(pt)}}}),ye=oe.some(pt=>{let{w:at}=pt;return at}),_e=oe.some(pt=>{let{h:at}=pt;return at}),ge=oe.some(pt=>{let{d:at}=pt;return at});if(ye+_e+ge>1)throw new Error(\"Mixed descriptor in srcset is not supported\");let ne=ye?\"w\":_e?\"h\":\"d\",le=ye?\"w\":_e?\"h\":\"x\",xe=pt=>Math.max(...pt),tt=oe.map(pt=>pt.url),j=xe(tt.map(pt=>pt.length)),Ae=oe.map(pt=>pt[ne]).map(pt=>pt?pt.toString():\"\"),rt=Ae.map(pt=>{let at=pt.indexOf(\".\");return at===-1?pt.length:at}),je=xe(rt);return G([\",\",M],tt.map((pt,at)=>{let fn=[pt],ce=Ae[at];if(ce){let Ve=j-pt.length+1,ae=je-rt[at],Ee=\" \".repeat(Ve+ae);fn.push(Y(Ee,\" \"),ce+le)}return fn}))}function $(Z){return Z.trim().split(/\\s+/).join(\" \")}ee.exports={printImgSrcset:H,printClassNames:$}}}),Ai=Ct({\"src/language-html/syntax-vue.js\"(z,ee){Un();var{builders:{group:R}}=Ia();function Y($,Z){let{left:oe,operator:ye,right:_e}=G($);return[R(Z(`function _(${oe}) {}`,{parser:\"babel\",__isVueForBindingLeft:!0})),\" \",ye,\" \",Z(_e,{parser:\"__js_expression\"},{stripTrailingHardline:!0})]}function G($){let Z=/(.*?)\\s+(in|of)\\s+(.*)/s,oe=/,([^,\\]}]*)(?:,([^,\\]}]*))?$/,ye=/^\\(|\\)$/g,_e=$.match(Z);if(!_e)return;let ge={};if(ge.for=_e[3].trim(),!ge.for)return;let ne=_e[1].trim().replace(ye,\"\"),le=ne.match(oe);le?(ge.alias=ne.replace(oe,\"\"),ge.iterator1=le[1].trim(),le[2]&&(ge.iterator2=le[2].trim())):ge.alias=ne;let xe=[ge.alias,ge.iterator1,ge.iterator2];if(!xe.some((tt,j)=>!tt&&(j===0||xe.slice(j+1).some(Boolean))))return{left:xe.filter(Boolean).join(\",\"),operator:_e[2],right:ge.for}}function M($,Z){return Z(`function _(${$}) {}`,{parser:\"babel\",__isVueBindings:!0})}function H($){let Z=/^(?:[\\w$]+|\\([^)]*\\))\\s*=>|^function\\s*\\(/,oe=/^[$A-Z_a-z][\\w$]*(?:\\.[$A-Z_a-z][\\w$]*|\\['[^']*']|\\[\"[^\"]*\"]|\\[\\d+]|\\[[$A-Z_a-z][\\w$]*])*$/,ye=$.trim();return Z.test(ye)||oe.test(ye)}ee.exports={isVueEventBindingExpression:H,printVueFor:Y,printVueBindings:M}}}),Mr=Ct({\"src/language-html/get-node-content.js\"(z,ee){Un();var{needsToBorrowParentClosingTagStartMarker:R,printClosingTagStartMarker:Y,needsToBorrowLastChildClosingTagEndMarker:G,printClosingTagEndMarker:M,needsToBorrowParentOpeningTagEndMarker:H,printOpeningTagEndMarker:$}=Gr();function Z(oe,ye){let _e=oe.startSourceSpan.end.offset;oe.firstChild&&H(oe.firstChild)&&(_e-=$(oe).length);let ge=oe.endSourceSpan.start.offset;return oe.lastChild&&R(oe.lastChild)?ge+=Y(oe,ye).length:G(oe)&&(ge-=M(oe.lastChild,ye).length),ye.originalText.slice(_e,ge)}ee.exports=Z}}),vr=Ct({\"src/language-html/embed.js\"(z,ee){Un();var{builders:{breakParent:R,group:Y,hardline:G,indent:M,line:H,fill:$,softline:Z},utils:{mapDoc:oe,replaceTextEndOfLine:ye}}=Ia(),_e=Ou(),{printClosingTag:ge,printClosingTagSuffix:ne,needsToBorrowPrevClosingTagEndMarker:le,printOpeningTagPrefix:xe,printOpeningTag:tt}=Gr(),{printImgSrcset:j,printClassNames:Ae}=Es(),{printVueFor:rt,printVueBindings:je,isVueEventBindingExpression:pt}=Ai(),{isScriptLikeTag:at,isVueNonHtmlBlock:fn,inferScriptParser:ce,htmlTrimPreserveIndentation:Ve,dedentString:ae,unescapeQuoteEntities:Ee,isVueSlotAttribute:J,isVueSfcBindingsAttribute:me,getTextValueParts:we}=cs(),Fe=Mr();function Me(Dt,Xt,hn){let Jt=ki=>new RegExp(ki.join(\"|\")).test(Dt.fullName),Hn=()=>Ee(Dt.value),Nt=!1,Di=(ki,Cr)=>{let pn=ki.type===\"NGRoot\"?ki.node.type===\"NGMicrosyntax\"&&ki.node.body.length===1&&ki.node.body[0].type===\"NGMicrosyntaxExpression\"?ki.node.body[0].expression:ki.node:ki.type===\"JsExpressionRoot\"?ki.node:ki;pn&&(pn.type===\"ObjectExpression\"||pn.type===\"ArrayExpression\"||Cr.parser===\"__vue_expression\"&&(pn.type===\"TemplateLiteral\"||pn.type===\"StringLiteral\"))&&(Nt=!0)},cn=ki=>Y(ki),Ht=function(ki){let Cr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Y([M([Z,ki]),Cr?Z:\"\"])},vi=ki=>Nt?cn(ki):Ht(ki),Ci=(ki,Cr)=>Xt(ki,Object.assign({__onHtmlBindingRoot:Di,__embeddedInHtml:!0},Cr));if(Dt.fullName===\"srcset\"&&(Dt.parent.fullName===\"img\"||Dt.parent.fullName===\"source\"))return Ht(j(Hn()));if(Dt.fullName===\"class\"&&!hn.parentParser){let ki=Hn();if(!ki.includes(\"{{\"))return Ae(ki)}if(Dt.fullName===\"style\"&&!hn.parentParser){let ki=Hn();if(!ki.includes(\"{{\"))return Ht(Ci(ki,{parser:\"css\",__isHTMLStyleAttribute:!0}))}if(hn.parser===\"vue\"){if(Dt.fullName===\"v-for\")return rt(Hn(),Ci);if(J(Dt)||me(Dt,hn))return je(Hn(),Ci);let ki=[\"^@\",\"^v-on:\"],Cr=[\"^:\",\"^v-bind:\"],pn=[\"^v-\"];if(Jt(ki)){let ui=Hn(),Zi=pt(ui)?\"__js_expression\":hn.__should_parse_vue_template_with_ts?\"__vue_ts_event_binding\":\"__vue_event_binding\";return vi(Ci(ui,{parser:Zi}))}if(Jt(Cr))return vi(Ci(Hn(),{parser:\"__vue_expression\"}));if(Jt(pn))return vi(Ci(Hn(),{parser:\"__js_expression\"}))}if(hn.parser===\"angular\"){let ki=(hi,An)=>Ci(hi,Object.assign(Object.assign({},An),{},{trailingComma:\"none\"})),Cr=[\"^\\\\*\"],pn=[\"^\\\\(.+\\\\)$\",\"^on-\"],ui=[\"^\\\\[.+\\\\]$\",\"^bind(on)?-\",\"^ng-(if|show|hide|class|style)$\"],Zi=[\"^i18n(-.+)?$\"];if(Jt(pn))return vi(ki(Hn(),{parser:\"__ng_action\"}));if(Jt(ui))return vi(ki(Hn(),{parser:\"__ng_binding\"}));if(Jt(Zi)){let hi=Hn().trim();return Ht($(we(Dt,hi)),!hi.includes(\"@@\"))}if(Jt(Cr))return vi(ki(Hn(),{parser:\"__ng_directive\"}));let yr=/{{(.+?)}}/s,Zs=Hn();if(yr.test(Zs)){let hi=[];for(let[An,Fi]of Zs.split(yr).entries())if(An%2===0)hi.push(ye(Fi));else try{hi.push(Y([\"{{\",M([H,ki(Fi,{parser:\"__ng_interpolation\",__isInHtmlInterpolation:!0})]),H,\"}}\"]))}catch{hi.push(\"{{\",ye(Fi),\"}}\")}return Y(hi)}}return null}function Xe(Dt,Xt,hn,Jt){let Hn=Dt.getValue();switch(Hn.type){case\"element\":{if(at(Hn)||Hn.type===\"interpolation\")return;if(!Hn.isSelfClosing&&fn(Hn,Jt)){let Nt=ce(Hn,Jt);if(!Nt)return;let Di=Fe(Hn,Jt),cn=/^\\s*$/.test(Di),Ht=\"\";return cn||(Ht=hn(Ve(Di),{parser:Nt,__embeddedInHtml:!0},{stripTrailingHardline:!0}),cn=Ht===\"\"),[xe(Hn,Jt),Y(tt(Dt,Jt,Xt)),cn?\"\":G,Ht,cn?\"\":G,ge(Hn,Jt),ne(Hn,Jt)]}break}case\"text\":{if(at(Hn.parent)){let Nt=ce(Hn.parent,Jt);if(Nt){let Di=Nt===\"markdown\"?ae(Hn.value.replace(/^[^\\S\\n]*\\n/,\"\")):Hn.value,cn={parser:Nt,__embeddedInHtml:!0};if(Jt.parser===\"html\"&&Nt===\"babel\"){let Ht=\"script\",{attrMap:vi}=Hn.parent;vi&&(vi.type===\"module\"||vi.type===\"text/babel\"&&vi[\"data-type\"]===\"module\")&&(Ht=\"module\"),cn.__babelSourceType=Ht}return[R,xe(Hn,Jt),hn(Di,cn,{stripTrailingHardline:!0}),ne(Hn,Jt)]}}else if(Hn.parent.type===\"interpolation\"){let Nt={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return Jt.parser===\"angular\"?(Nt.parser=\"__ng_interpolation\",Nt.trailingComma=\"none\"):Jt.parser===\"vue\"?Nt.parser=Jt.__should_parse_vue_template_with_ts?\"__vue_ts_expression\":\"__vue_expression\":Nt.parser=\"__js_expression\",[M([H,hn(Hn.value,Nt,{stripTrailingHardline:!0})]),Hn.parent.next&&le(Hn.parent.next)?\" \":H]}break}case\"attribute\":{if(!Hn.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\\d+_\\d+_IN_JS$/.test(Jt.originalText.slice(Hn.valueSpan.start.offset,Hn.valueSpan.end.offset)))return[Hn.rawName,\"=\",Hn.value];if(Jt.parser===\"lwc\"&&/^{.*}$/s.test(Jt.originalText.slice(Hn.valueSpan.start.offset,Hn.valueSpan.end.offset)))return[Hn.rawName,\"=\",Hn.value];let Nt=Me(Hn,(Di,cn)=>hn(Di,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},cn),{stripTrailingHardline:!0}),Jt);if(Nt)return[Hn.rawName,'=\"',Y(oe(Nt,Di=>typeof Di==\"string\"?Di.replace(/\"/g,\"&quot;\"):Di)),'\"'];break}case\"front-matter\":return _e(Hn,hn)}}ee.exports=Xe}}),ao=Ct({\"src/language-html/print/children.js\"(z,ee){Un();var{builders:{breakParent:R,group:Y,ifBreak:G,line:M,softline:H,hardline:$},utils:{replaceTextEndOfLine:Z}}=Ia(),{locStart:oe,locEnd:ye}=Ei(),{forceBreakChildren:_e,forceNextEmptyLine:ge,isTextLikeNode:ne,hasPrettierIgnore:le,preferHardlineAsLeadingSpaces:xe}=cs(),{printOpeningTagPrefix:tt,needsToBorrowNextOpeningTagStartMarker:j,printOpeningTagStartMarker:Ae,needsToBorrowPrevClosingTagEndMarker:rt,printClosingTagEndMarker:je,printClosingTagSuffix:pt,needsToBorrowParentClosingTagStartMarker:at}=Gr();function fn(ae,Ee,J){let me=ae.getValue();return le(me)?[tt(me,Ee),...Z(Ee.originalText.slice(oe(me)+(me.prev&&j(me.prev)?Ae(me).length:0),ye(me)-(me.next&&rt(me.next)?je(me,Ee).length:0))),pt(me,Ee)]:J()}function ce(ae,Ee){return ne(ae)&&ne(Ee)?ae.isTrailingSpaceSensitive?ae.hasTrailingSpaces?xe(Ee)?$:M:\"\":xe(Ee)?$:H:j(ae)&&(le(Ee)||Ee.firstChild||Ee.isSelfClosing||Ee.type===\"element\"&&Ee.attrs.length>0)||ae.type===\"element\"&&ae.isSelfClosing&&rt(Ee)?\"\":!Ee.isLeadingSpaceSensitive||xe(Ee)||rt(Ee)&&ae.lastChild&&at(ae.lastChild)&&ae.lastChild.lastChild&&at(ae.lastChild.lastChild)?$:Ee.hasLeadingSpaces?M:H}function Ve(ae,Ee,J){let me=ae.getValue();if(_e(me))return[R,...ae.map(Fe=>{let Me=Fe.getValue(),Xe=Me.prev?ce(Me.prev,Me):\"\";return[Xe?[Xe,ge(Me.prev)?$:\"\"]:\"\",fn(Fe,Ee,J)]},\"children\")];let we=me.children.map(()=>Symbol(\"\"));return ae.map((Fe,Me)=>{let Xe=Fe.getValue();if(ne(Xe)){if(Xe.prev&&ne(Xe.prev)){let Di=ce(Xe.prev,Xe);if(Di)return ge(Xe.prev)?[$,$,fn(Fe,Ee,J)]:[Di,fn(Fe,Ee,J)]}return fn(Fe,Ee,J)}let Dt=[],Xt=[],hn=[],Jt=[],Hn=Xe.prev?ce(Xe.prev,Xe):\"\",Nt=Xe.next?ce(Xe,Xe.next):\"\";return Hn&&(ge(Xe.prev)?Dt.push($,$):Hn===$?Dt.push($):ne(Xe.prev)?Xt.push(Hn):Xt.push(G(\"\",H,{groupId:we[Me-1]}))),Nt&&(ge(Xe)?ne(Xe.next)&&Jt.push($,$):Nt===$?ne(Xe.next)&&Jt.push($):hn.push(Nt)),[...Dt,Y([...Xt,Y([fn(Fe,Ee,J),...hn],{id:we[Me]})]),...Jt]},\"children\")}ee.exports={printChildren:Ve}}}),$i=Ct({\"src/language-html/print/element.js\"(z,ee){Un();var{builders:{breakParent:R,dedentToRoot:Y,group:G,ifBreak:M,indentIfBreak:H,indent:$,line:Z,softline:oe},utils:{replaceTextEndOfLine:ye}}=Ia(),_e=Mr(),{shouldPreserveContent:ge,isScriptLikeTag:ne,isVueCustomBlock:le,countParents:xe,forceBreakContent:tt}=cs(),{printOpeningTagPrefix:j,printOpeningTag:Ae,printClosingTagSuffix:rt,printClosingTag:je,needsToBorrowPrevClosingTagEndMarker:pt,needsToBorrowLastChildClosingTagEndMarker:at}=Gr(),{printChildren:fn}=ao();function ce(Ve,ae,Ee){let J=Ve.getValue();if(ge(J,ae))return[j(J,ae),G(Ae(Ve,ae,Ee)),...ye(_e(J,ae)),...je(J,ae),rt(J,ae)];let me=J.children.length===1&&J.firstChild.type===\"interpolation\"&&J.firstChild.isLeadingSpaceSensitive&&!J.firstChild.hasLeadingSpaces&&J.lastChild.isTrailingSpaceSensitive&&!J.lastChild.hasTrailingSpaces,we=Symbol(\"element-attr-group-id\"),Fe=Xt=>G([G(Ae(Ve,ae,Ee),{id:we}),Xt,je(J,ae)]),Me=Xt=>me?H(Xt,{groupId:we}):(ne(J)||le(J,ae))&&J.parent.type===\"root\"&&ae.parser===\"vue\"&&!ae.vueIndentScriptAndStyle?Xt:$(Xt),Xe=()=>me?M(oe,\"\",{groupId:we}):J.firstChild.hasLeadingSpaces&&J.firstChild.isLeadingSpaceSensitive?Z:J.firstChild.type===\"text\"&&J.isWhitespaceSensitive&&J.isIndentationSensitive?Y(oe):oe,Dt=()=>(J.next?pt(J.next):at(J.parent))?J.lastChild.hasTrailingSpaces&&J.lastChild.isTrailingSpaceSensitive?\" \":\"\":me?M(oe,\"\",{groupId:we}):J.lastChild.hasTrailingSpaces&&J.lastChild.isTrailingSpaceSensitive?Z:(J.lastChild.type===\"comment\"||J.lastChild.type===\"text\"&&J.isWhitespaceSensitive&&J.isIndentationSensitive)&&new RegExp(`\\\\n[\\\\t ]{${ae.tabWidth*xe(Ve,Xt=>Xt.parent&&Xt.parent.type!==\"root\")}}$`).test(J.lastChild.value)?\"\":oe;return J.children.length===0?Fe(J.hasDanglingSpaces&&J.isDanglingSpaceSensitive?Z:\"\"):Fe([tt(J)?R:\"\",Me([Xe(),fn(Ve,ae,Ee)]),Dt()])}ee.exports={printElement:ce}}}),pa=Ct({\"src/language-html/printer-html.js\"(z,ee){Un();var{builders:{fill:R,group:Y,hardline:G,literalline:M},utils:{cleanDoc:H,getDocParts:$,isConcat:Z,replaceTextEndOfLine:oe}}=Ia(),ye=Yo(),{countChars:_e,unescapeQuoteEntities:ge,getTextValueParts:ne}=cs(),le=ue(),{insertPragma:xe}=Tn(),{locStart:tt,locEnd:j}=Ei(),Ae=vr(),{printClosingTagSuffix:rt,printClosingTagEnd:je,printOpeningTagPrefix:pt,printOpeningTagStart:at}=Gr(),{printElement:fn}=$i(),{printChildren:ce}=ao();function Ve(ae,Ee,J){let me=ae.getValue();switch(me.type){case\"front-matter\":return oe(me.raw);case\"root\":return Ee.__onHtmlRoot&&Ee.__onHtmlRoot(me),[Y(ce(ae,Ee,J)),G];case\"element\":case\"ieConditionalComment\":return fn(ae,Ee,J);case\"ieConditionalStartComment\":case\"ieConditionalEndComment\":return[at(me),je(me)];case\"interpolation\":return[at(me,Ee),...ae.map(J,\"children\"),je(me,Ee)];case\"text\":{if(me.parent.type===\"interpolation\"){let Fe=/\\n[^\\S\\n]*$/,Me=Fe.test(me.value),Xe=Me?me.value.replace(Fe,\"\"):me.value;return[...oe(Xe),Me?G:\"\"]}let we=H([pt(me,Ee),...ne(me),rt(me,Ee)]);return Z(we)||we.type===\"fill\"?R($(we)):we}case\"docType\":return[Y([at(me,Ee),\" \",me.value.replace(/^html\\b/i,\"html\").replace(/\\s+/g,\" \")]),je(me,Ee)];case\"comment\":return[pt(me,Ee),...oe(Ee.originalText.slice(tt(me),j(me)),M),rt(me,Ee)];case\"attribute\":{if(me.value===null)return me.rawName;let we=ge(me.value),Fe=_e(we,\"'\"),Me=_e(we,'\"'),Xe=Fe<Me?\"'\":'\"';return[me.rawName,\"=\",Xe,...oe(Xe==='\"'?we.replace(/\"/g,\"&quot;\"):we.replace(/'/g,\"&apos;\")),Xe]}default:throw new Error(`Unexpected node type ${me.type}`)}}ee.exports={preprocess:le,print:Ve,insertPragma:xe,massageAstNode:ye,embed:Ae}}}),Ro=Ct({\"src/language-html/options.js\"(z,ee){Un();var R=is(),Y=\"HTML\";ee.exports={bracketSameLine:R.bracketSameLine,htmlWhitespaceSensitivity:{since:\"1.15.0\",category:Y,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:R.singleAttributePerLine,vueIndentScriptAndStyle:{since:\"1.19.0\",category:Y,type:\"boolean\",default:!1,description:\"Indent script and style tags in Vue files.\"}}}}),td=Ct({\"src/language-html/parsers.js\"(){Un()}}),Bc=Ct({\"node_modules/linguist-languages/data/HTML.json\"(z,ee){ee.exports={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\"],languageId:146}}}),fu=Ct({\"node_modules/linguist-languages/data/Vue.json\"(z,ee){ee.exports={name:\"Vue\",type:\"markup\",color:\"#41b883\",extensions:[\".vue\"],tmScope:\"text.html.vue\",aceMode:\"html\",languageId:391}}}),Wh=Ct({\"src/language-html/index.js\"(z,ee){Un();var R=Rc(),Y=pa(),G=Ro(),M=td(),H=[R(Bc(),()=>({name:\"Angular\",since:\"1.15.0\",parsers:[\"angular\"],vscodeLanguageIds:[\"html\"],extensions:[\".component.html\"],filenames:[]})),R(Bc(),Z=>({since:\"1.15.0\",parsers:[\"html\"],vscodeLanguageIds:[\"html\"],extensions:[...Z.extensions,\".mjml\"]})),R(Bc(),()=>({name:\"Lightning Web Components\",since:\"1.17.0\",parsers:[\"lwc\"],vscodeLanguageIds:[\"html\"],extensions:[],filenames:[]})),R(fu(),()=>({since:\"1.10.0\",parsers:[\"vue\"],vscodeLanguageIds:[\"vue\"]}))],$={html:Y};ee.exports={languages:H,printers:$,options:G,parsers:M}}}),nd=Ct({\"src/language-yaml/pragma.js\"(z,ee){Un();function R(M){return/^\\s*@(?:prettier|format)\\s*$/.test(M)}function Y(M){return/^\\s*#[^\\S\\n]*@(?:prettier|format)\\s*?(?:\\n|$)/.test(M)}function G(M){return`# @format\n\n${M}`}ee.exports={isPragma:R,hasPragma:Y,insertPragma:G}}}),Hc=Ct({\"src/language-yaml/loc.js\"(z,ee){Un();function R(G){return G.position.start.offset}function Y(G){return G.position.end.offset}ee.exports={locStart:R,locEnd:Y}}}),bc=Ct({\"src/language-yaml/embed.js\"(z,ee){Un();function R(Y,G,M,H){if(Y.getValue().type===\"root\"&&H.filepath&&/(?:[/\\\\]|^)\\.(?:prettier|stylelint|lintstaged)rc$/.test(H.filepath))return M(H.originalText,Object.assign(Object.assign({},H),{},{parser:\"json\"}))}ee.exports=R}}),Su=Ct({\"src/language-yaml/utils.js\"(z,ee){Un();var{getLast:R,isNonEmptyArray:Y}=sn();function G(ce,Ve){let ae=0,Ee=ce.stack.length-1;for(let J=0;J<Ee;J++){let me=ce.stack[J];M(me)&&Ve(me)&&ae++}return ae}function M(ce,Ve){return ce&&typeof ce.type==\"string\"&&(!Ve||Ve.includes(ce.type))}function H(ce,Ve,ae){return Ve(\"children\"in ce?Object.assign(Object.assign({},ce),{},{children:ce.children.map(Ee=>H(Ee,Ve,ce))}):ce,ae)}function $(ce,Ve,ae){Object.defineProperty(ce,Ve,{get:ae,enumerable:!1})}function Z(ce,Ve){let ae=0,Ee=Ve.length;for(let J=ce.position.end.offset-1;J<Ee;J++){let me=Ve[J];if(me===`\n`&&ae++,ae===1&&/\\S/.test(me))return!1;if(ae===2)return!0}return!1}function oe(ce){switch(ce.getValue().type){case\"tag\":case\"anchor\":case\"comment\":return!1}let Ve=ce.stack.length;for(let ae=1;ae<Ve;ae++){let Ee=ce.stack[ae],J=ce.stack[ae-1];if(Array.isArray(J)&&typeof Ee==\"number\"&&Ee!==J.length-1)return!1}return!0}function ye(ce){return Y(ce.children)?ye(R(ce.children)):ce}function _e(ce){return ce.value.trim()===\"prettier-ignore\"}function ge(ce){let Ve=ce.getValue();if(Ve.type===\"documentBody\"){let ae=ce.getParentNode();return rt(ae.head)&&_e(R(ae.head.endComments))}return xe(Ve)&&_e(R(Ve.leadingComments))}function ne(ce){return!Y(ce.children)&&!le(ce)}function le(ce){return xe(ce)||tt(ce)||j(ce)||Ae(ce)||rt(ce)}function xe(ce){return Y(ce==null?void 0:ce.leadingComments)}function tt(ce){return Y(ce==null?void 0:ce.middleComments)}function j(ce){return ce==null?void 0:ce.indicatorComment}function Ae(ce){return ce==null?void 0:ce.trailingComment}function rt(ce){return Y(ce==null?void 0:ce.endComments)}function je(ce){let Ve=[],ae;for(let Ee of ce.split(/( +)/))Ee!==\" \"?ae===\" \"?Ve.push(Ee):Ve.push((Ve.pop()||\"\")+Ee):ae===void 0&&Ve.unshift(\"\"),ae=Ee;return ae===\" \"&&Ve.push((Ve.pop()||\"\")+\" \"),Ve[0]===\"\"&&(Ve.shift(),Ve.unshift(\" \"+(Ve.shift()||\"\"))),Ve}function pt(ce,Ve,ae){let Ee=Ve.split(`\n`).map((J,me,we)=>me===0&&me===we.length-1?J:me!==0&&me!==we.length-1?J.trim():me===0?J.trimEnd():J.trimStart());return ae.proseWrap===\"preserve\"?Ee.map(J=>J.length===0?[]:[J]):Ee.map(J=>J.length===0?[]:je(J)).reduce((J,me,we)=>we!==0&&Ee[we-1].length>0&&me.length>0&&!(ce===\"quoteDouble\"&&R(R(J)).endsWith(\"\\\\\"))?[...J.slice(0,-1),[...R(J),...me]]:[...J,me],[]).map(J=>ae.proseWrap===\"never\"?[J.join(\" \")]:J)}function at(ce,Ve){let{parentIndent:ae,isLastDescendant:Ee,options:J}=Ve,me=ce.position.start.line===ce.position.end.line?\"\":J.originalText.slice(ce.position.start.offset,ce.position.end.offset).match(/^[^\\n]*\\n(.*)$/s)[1],we;if(ce.indent===null){let Xe=me.match(/^(?<leadingSpace> *)[^\\n\\r ]/m);we=Xe?Xe.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else we=ce.indent-1+ae;let Fe=me.split(`\n`).map(Xe=>Xe.slice(we));if(J.proseWrap===\"preserve\"||ce.type===\"blockLiteral\")return Me(Fe.map(Xe=>Xe.length===0?[]:[Xe]));return Me(Fe.map(Xe=>Xe.length===0?[]:je(Xe)).reduce((Xe,Dt,Xt)=>Xt!==0&&Fe[Xt-1].length>0&&Dt.length>0&&!/^\\s/.test(Dt[0])&&!/^\\s|\\s$/.test(R(Xe))?[...Xe.slice(0,-1),[...R(Xe),...Dt]]:[...Xe,Dt],[]).map(Xe=>Xe.reduce((Dt,Xt)=>Dt.length>0&&/\\s$/.test(R(Dt))?[...Dt.slice(0,-1),R(Dt)+\" \"+Xt]:[...Dt,Xt],[])).map(Xe=>J.proseWrap===\"never\"?[Xe.join(\" \")]:Xe));function Me(Xe){if(ce.chomping===\"keep\")return R(Xe).length===0?Xe.slice(0,-1):Xe;let Dt=0;for(let Xt=Xe.length-1;Xt>=0&&Xe[Xt].length===0;Xt--)Dt++;return Dt===0?Xe:Dt>=2&&!Ee?Xe.slice(0,-(Dt-1)):Xe.slice(0,-Dt)}}function fn(ce){if(!ce)return!0;switch(ce.type){case\"plain\":case\"quoteDouble\":case\"quoteSingle\":case\"alias\":case\"flowMapping\":case\"flowSequence\":return!0;default:return!1}}ee.exports={getLast:R,getAncestorCount:G,isNode:M,isEmptyNode:ne,isInlineNode:fn,mapNode:H,defineShortcut:$,isNextLineEmpty:Z,isLastDescendantNode:oe,getBlockValueLineContents:at,getFlowScalarLineContents:pt,getLastDescendantNode:ye,hasPrettierIgnore:ge,hasLeadingComments:xe,hasMiddleComments:tt,hasIndicatorComment:j,hasTrailingComment:Ae,hasEndComments:rt}}}),ku=Ct({\"src/language-yaml/print-preprocess.js\"(z,ee){Un();var{defineShortcut:R,mapNode:Y}=Su();function G(H){return Y(H,M)}function M(H){switch(H.type){case\"document\":R(H,\"head\",()=>H.children[0]),R(H,\"body\",()=>H.children[1]);break;case\"documentBody\":case\"sequenceItem\":case\"flowSequenceItem\":case\"mappingKey\":case\"mappingValue\":R(H,\"content\",()=>H.children[0]);break;case\"mappingItem\":case\"flowMappingItem\":R(H,\"key\",()=>H.children[0]),R(H,\"value\",()=>H.children[1]);break}return H}ee.exports=G}}),id=Ct({\"src/language-yaml/print/misc.js\"(z,ee){Un();var{builders:{softline:R,align:Y}}=Ia(),{hasEndComments:G,isNextLineEmpty:M,isNode:H}=Su(),$=new WeakMap;function Z(_e,ge){let ne=_e.getValue(),le=_e.stack[0],xe;return $.has(le)?xe=$.get(le):(xe=new Set,$.set(le,xe)),!xe.has(ne.position.end.line)&&(xe.add(ne.position.end.line),M(ne,ge)&&!oe(_e.getParentNode()))?R:\"\"}function oe(_e){return G(_e)&&!H(_e,[\"documentHead\",\"documentBody\",\"flowMapping\",\"flowSequence\"])}function ye(_e,ge){return Y(\" \".repeat(_e),ge)}ee.exports={alignWithSpaces:ye,shouldPrintEndComments:oe,printNextEmptyLine:Z}}}),gy=Ct({\"src/language-yaml/print/flow-mapping-sequence.js\"(z,ee){Un();var{builders:{ifBreak:R,line:Y,softline:G,hardline:M,join:H}}=Ia(),{isEmptyNode:$,getLast:Z,hasEndComments:oe}=Su(),{printNextEmptyLine:ye,alignWithSpaces:_e}=id();function ge(le,xe,tt){let j=le.getValue(),Ae=j.type===\"flowMapping\",rt=Ae?\"{\":\"[\",je=Ae?\"}\":\"]\",pt=G;Ae&&j.children.length>0&&tt.bracketSpacing&&(pt=Y);let at=Z(j.children),fn=at&&at.type===\"flowMappingItem\"&&$(at.key)&&$(at.value);return[rt,_e(tt.tabWidth,[pt,ne(le,xe,tt),tt.trailingComma===\"none\"?\"\":R(\",\"),oe(j)?[M,H(M,le.map(xe,\"endComments\"))]:\"\"]),fn?\"\":pt,je]}function ne(le,xe,tt){let j=le.getValue();return le.map((Ae,rt)=>[xe(),rt===j.children.length-1?\"\":[\",\",Y,j.children[rt].position.start.line!==j.children[rt+1].position.start.line?ye(Ae,tt.originalText):\"\"]],\"children\")}ee.exports={printFlowMapping:ge,printFlowSequence:ge}}}),Mb=Ct({\"src/language-yaml/print/mapping-item.js\"(z,ee){Un();var{builders:{conditionalGroup:R,group:Y,hardline:G,ifBreak:M,join:H,line:$}}=Ia(),{hasLeadingComments:Z,hasMiddleComments:oe,hasTrailingComment:ye,hasEndComments:_e,isNode:ge,isEmptyNode:ne,isInlineNode:le}=Su(),{alignWithSpaces:xe}=id();function tt(je,pt,at,fn,ce){let{key:Ve,value:ae}=je,Ee=ne(Ve),J=ne(ae);if(Ee&&J)return\": \";let me=fn(\"key\"),we=Ae(je)?\" \":\"\";if(J)return je.type===\"flowMappingItem\"&&pt.type===\"flowMapping\"?me:je.type===\"mappingItem\"&&j(Ve.content,ce)&&!ye(Ve.content)&&(!pt.tag||pt.tag.value!==\"tag:yaml.org,2002:set\")?[me,we,\":\"]:[\"? \",xe(2,me)];let Fe=fn(\"value\");if(Ee)return[\": \",xe(2,Fe)];if(Z(ae)||!le(Ve.content))return[\"? \",xe(2,me),G,H(\"\",at.map(fn,\"value\",\"leadingComments\").map(Jt=>[Jt,G])),\": \",xe(2,Fe)];if(rt(Ve.content)&&!Z(Ve.content)&&!oe(Ve.content)&&!ye(Ve.content)&&!_e(Ve)&&!Z(ae.content)&&!oe(ae.content)&&!_e(ae)&&j(ae.content,ce))return[me,we,\": \",Fe];let Me=Symbol(\"mappingKey\"),Xe=Y([M(\"? \"),Y(xe(2,me),{id:Me})]),Dt=[G,\": \",xe(2,Fe)],Xt=[we,\":\"];Z(ae.content)||_e(ae)&&ae.content&&!ge(ae.content,[\"mapping\",\"sequence\"])||pt.type===\"mapping\"&&ye(Ve.content)&&le(ae.content)||ge(ae.content,[\"mapping\",\"sequence\"])&&ae.content.tag===null&&ae.content.anchor===null?Xt.push(G):ae.content&&Xt.push($),Xt.push(Fe);let hn=xe(ce.tabWidth,Xt);return j(Ve.content,ce)&&!Z(Ve.content)&&!oe(Ve.content)&&!_e(Ve)?R([[me,hn]]):R([[Xe,M(Dt,hn,{groupId:Me})]])}function j(je,pt){if(!je)return!0;switch(je.type){case\"plain\":case\"quoteSingle\":case\"quoteDouble\":break;case\"alias\":return!0;default:return!1}if(pt.proseWrap===\"preserve\")return je.position.start.line===je.position.end.line;if(/\\\\$/m.test(pt.originalText.slice(je.position.start.offset,je.position.end.offset)))return!1;switch(pt.proseWrap){case\"never\":return!je.value.includes(`\n`);case\"always\":return!/[\\n ]/.test(je.value);default:return!1}}function Ae(je){return je.key.content&&je.key.content.type===\"alias\"}function rt(je){if(!je)return!0;switch(je.type){case\"plain\":case\"quoteDouble\":case\"quoteSingle\":return je.position.start.line===je.position.end.line;case\"alias\":return!0;default:return!1}}ee.exports=tt}}),ec=Ct({\"src/language-yaml/print/block.js\"(z,ee){Un();var{builders:{dedent:R,dedentToRoot:Y,fill:G,hardline:M,join:H,line:$,literalline:Z,markAsRoot:oe},utils:{getDocParts:ye}}=Ia(),{getAncestorCount:_e,getBlockValueLineContents:ge,hasIndicatorComment:ne,isLastDescendantNode:le,isNode:xe}=Su(),{alignWithSpaces:tt}=id();function j(Ae,rt,je){let pt=Ae.getValue(),at=_e(Ae,Ee=>xe(Ee,[\"sequence\",\"mapping\"])),fn=le(Ae),ce=[pt.type===\"blockFolded\"?\">\":\"|\"];pt.indent!==null&&ce.push(pt.indent.toString()),pt.chomping!==\"clip\"&&ce.push(pt.chomping===\"keep\"?\"+\":\"-\"),ne(pt)&&ce.push(\" \",rt(\"indicatorComment\"));let Ve=ge(pt,{parentIndent:at,isLastDescendant:fn,options:je}),ae=[];for(let[Ee,J]of Ve.entries())Ee===0&&ae.push(M),ae.push(G(ye(H($,J)))),Ee!==Ve.length-1?ae.push(J.length===0?M:oe(Z)):pt.chomping===\"keep\"&&fn&&ae.push(Y(J.length===0?M:Z));return pt.indent===null?ce.push(R(tt(je.tabWidth,ae))):ce.push(Y(tt(pt.indent-1+at,ae))),ce}ee.exports=j}}),Ew=Ct({\"src/language-yaml/printer-yaml.js\"(z,ee){Un();var{builders:{breakParent:R,fill:Y,group:G,hardline:M,join:H,line:$,lineSuffix:Z,literalline:oe},utils:{getDocParts:ye,replaceTextEndOfLine:_e}}=Ia(),{isPreviousLineEmpty:ge}=sn(),{insertPragma:ne,isPragma:le}=nd(),{locStart:xe}=Hc(),tt=bc(),{getFlowScalarLineContents:j,getLastDescendantNode:Ae,hasLeadingComments:rt,hasMiddleComments:je,hasTrailingComment:pt,hasEndComments:at,hasPrettierIgnore:fn,isLastDescendantNode:ce,isNode:Ve,isInlineNode:ae}=Su(),Ee=ku(),{alignWithSpaces:J,printNextEmptyLine:me,shouldPrintEndComments:we}=id(),{printFlowMapping:Fe,printFlowSequence:Me}=gy(),Xe=Mb(),Dt=ec();function Xt(Ht,vi,Ci){let ki=Ht.getValue(),Cr=[];ki.type!==\"mappingValue\"&&rt(ki)&&Cr.push([H(M,Ht.map(Ci,\"leadingComments\")),M]);let{tag:pn,anchor:ui}=ki;pn&&Cr.push(Ci(\"tag\")),pn&&ui&&Cr.push(\" \"),ui&&Cr.push(Ci(\"anchor\"));let Zi=\"\";Ve(ki,[\"mapping\",\"sequence\",\"comment\",\"directive\",\"mappingItem\",\"sequenceItem\"])&&!ce(Ht)&&(Zi=me(Ht,vi.originalText)),(pn||ui)&&(Ve(ki,[\"sequence\",\"mapping\"])&&!je(ki)?Cr.push(M):Cr.push(\" \")),je(ki)&&Cr.push([ki.middleComments.length===1?\"\":M,H(M,Ht.map(Ci,\"middleComments\")),M]);let yr=Ht.getParentNode();return fn(Ht)?Cr.push(_e(vi.originalText.slice(ki.position.start.offset,ki.position.end.offset).trimEnd(),oe)):Cr.push(G(hn(ki,yr,Ht,vi,Ci))),pt(ki)&&!Ve(ki,[\"document\",\"documentHead\"])&&Cr.push(Z([ki.type===\"mappingValue\"&&!ki.content?\"\":\" \",yr.type===\"mappingKey\"&&Ht.getParentNode(2).type===\"mapping\"&&ae(ki)?\"\":R,Ci(\"trailingComment\")])),we(ki)&&Cr.push(J(ki.type===\"sequenceItem\"?2:0,[M,H(M,Ht.map(Zs=>[ge(vi.originalText,Zs.getValue(),xe)?M:\"\",Ci()],\"endComments\"))])),Cr.push(Zi),Cr}function hn(Ht,vi,Ci,ki,Cr){switch(Ht.type){case\"root\":{let{children:pn}=Ht,ui=[];Ci.each((yr,Zs)=>{let hi=pn[Zs],An=pn[Zs+1];Zs!==0&&ui.push(M),ui.push(Cr()),Hn(hi,An)?(ui.push(M,\"...\"),pt(hi)&&ui.push(\" \",Cr(\"trailingComment\"))):An&&!pt(An.head)&&ui.push(M,\"---\")},\"children\");let Zi=Ae(Ht);return(!Ve(Zi,[\"blockLiteral\",\"blockFolded\"])||Zi.chomping!==\"keep\")&&ui.push(M),ui}case\"document\":{let pn=vi.children[Ci.getName()+1],ui=[];return Nt(Ht,pn,vi,ki)===\"head\"&&((Ht.head.children.length>0||Ht.head.endComments.length>0)&&ui.push(Cr(\"head\")),pt(Ht.head)?ui.push([\"---\",\" \",Cr([\"head\",\"trailingComment\"])]):ui.push(\"---\")),Jt(Ht)&&ui.push(Cr(\"body\")),H(M,ui)}case\"documentHead\":return H(M,[...Ci.map(Cr,\"children\"),...Ci.map(Cr,\"endComments\")]);case\"documentBody\":{let{children:pn,endComments:ui}=Ht,Zi=\"\";if(pn.length>0&&ui.length>0){let yr=Ae(Ht);Ve(yr,[\"blockFolded\",\"blockLiteral\"])?yr.chomping!==\"keep\"&&(Zi=[M,M]):Zi=M}return[H(M,Ci.map(Cr,\"children\")),Zi,H(M,Ci.map(Cr,\"endComments\"))]}case\"directive\":return[\"%\",H(\" \",[Ht.name,...Ht.parameters])];case\"comment\":return[\"#\",Ht.value];case\"alias\":return[\"*\",Ht.value];case\"tag\":return ki.originalText.slice(Ht.position.start.offset,Ht.position.end.offset);case\"anchor\":return[\"&\",Ht.value];case\"plain\":return Di(Ht.type,ki.originalText.slice(Ht.position.start.offset,Ht.position.end.offset),ki);case\"quoteDouble\":case\"quoteSingle\":{let pn=\"'\",ui='\"',Zi=ki.originalText.slice(Ht.position.start.offset+1,Ht.position.end.offset-1);if(Ht.type===\"quoteSingle\"&&Zi.includes(\"\\\\\")||Ht.type===\"quoteDouble\"&&/\\\\[^\"]/.test(Zi)){let Zs=Ht.type===\"quoteDouble\"?ui:pn;return[Zs,Di(Ht.type,Zi,ki),Zs]}if(Zi.includes(ui))return[pn,Di(Ht.type,Ht.type===\"quoteDouble\"?Zi.replace(/\\\\\"/g,ui).replace(/'/g,pn.repeat(2)):Zi,ki),pn];if(Zi.includes(pn))return[ui,Di(Ht.type,Ht.type===\"quoteSingle\"?Zi.replace(/''/g,pn):Zi,ki),ui];let yr=ki.singleQuote?pn:ui;return[yr,Di(Ht.type,Zi,ki),yr]}case\"blockFolded\":case\"blockLiteral\":return Dt(Ci,Cr,ki);case\"mapping\":case\"sequence\":return H(M,Ci.map(Cr,\"children\"));case\"sequenceItem\":return[\"- \",J(2,Ht.content?Cr(\"content\"):\"\")];case\"mappingKey\":case\"mappingValue\":return Ht.content?Cr(\"content\"):\"\";case\"mappingItem\":case\"flowMappingItem\":return Xe(Ht,vi,Ci,Cr,ki);case\"flowMapping\":return Fe(Ci,Cr,ki);case\"flowSequence\":return Me(Ci,Cr,ki);case\"flowSequenceItem\":return Cr(\"content\");default:throw new Error(`Unexpected node type ${Ht.type}`)}}function Jt(Ht){return Ht.body.children.length>0||at(Ht.body)}function Hn(Ht,vi){return pt(Ht)||vi&&(vi.head.children.length>0||at(vi.head))}function Nt(Ht,vi,Ci,ki){return Ci.children[0]===Ht&&/---(?:\\s|$)/.test(ki.originalText.slice(xe(Ht),xe(Ht)+4))||Ht.head.children.length>0||at(Ht.head)||pt(Ht.head)?\"head\":Hn(Ht,vi)?!1:vi?\"root\":!1}function Di(Ht,vi,Ci){let ki=j(Ht,vi,Ci);return H(M,ki.map(Cr=>Y(ye(H($,Cr)))))}function cn(Ht,vi){if(Ve(vi))switch(delete vi.position,vi.type){case\"comment\":if(le(vi.value))return null;break;case\"quoteDouble\":case\"quoteSingle\":vi.type=\"quote\";break}}ee.exports={preprocess:Ee,embed:tt,print:Xt,massageAstNode:cn,insertPragma:ne}}}),Tw=Ct({\"src/language-yaml/options.js\"(z,ee){Un();var R=is();ee.exports={bracketSpacing:R.bracketSpacing,singleQuote:R.singleQuote,proseWrap:R.proseWrap}}}),rT=Ct({\"src/language-yaml/parsers.js\"(){Un()}}),AC=Ct({\"node_modules/linguist-languages/data/YAML.json\"(z,ee){ee.exports={name:\"YAML\",type:\"data\",color:\"#cb171e\",tmScope:\"source.yaml\",aliases:[\"yml\"],extensions:[\".yml\",\".mir\",\".reek\",\".rviz\",\".sublime-syntax\",\".syntax\",\".yaml\",\".yaml-tmlanguage\",\".yaml.sed\",\".yml.mysql\"],filenames:[\".clang-format\",\".clang-tidy\",\".gemrc\",\"CITATION.cff\",\"glide.lock\",\"yarn.lock\"],aceMode:\"yaml\",codemirrorMode:\"yaml\",codemirrorMimeType:\"text/x-yaml\",languageId:407}}}),Kp=Ct({\"src/language-yaml/index.js\"(z,ee){Un();var R=Rc(),Y=Ew(),G=Tw(),M=rT(),H=[R(AC(),$=>({since:\"1.14.0\",parsers:[\"yaml\"],vscodeLanguageIds:[\"yaml\",\"ansible\",\"home-assistant\"],filenames:[...$.filenames.filter(Z=>Z!==\"yarn.lock\"),\".prettierrc\",\".stylelintrc\",\".lintstagedrc\"]}))];ee.exports={languages:H,printers:{yaml:Y},options:G,parsers:M}}}),sT=Ct({\"src/languages.js\"(z,ee){Un(),ee.exports=[ha(),D_(),wt(),zt(),Ma(),Wh(),Kp()]}});Un();var{version:oT}=mu(),k0=tg(),{getSupportInfo:qg}=Yr(),L0=Ug(),my=sT(),Aw=Ia();function rd(z){let ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var R=arguments.length,Y=new Array(R),G=0;G<R;G++)Y[G]=arguments[G];let M=Y[ee]||{},H=M.plugins||[];return Y[ee]=Object.assign(Object.assign({},M),{},{plugins:[...my,...Array.isArray(H)?H:Object.values(H)]}),z(...Y)}}var kC=rd(k0.formatWithCursor);We.exports={formatWithCursor:kC,format(z,ee){return kC(z,ee).formatted},check(z,ee){let{formatted:R}=kC(z,ee);return R===z},doc:Aw,getSupportInfo:rd(qg,0),version:oT,util:L0,__debug:{parse:rd(k0.parse),formatAST:rd(k0.formatAST),formatDoc:rd(k0.formatDoc),printToDoc:rd(k0.printToDoc),printDocToString:rd(k0.printDocToString)}}});return Rt()})})(fge);var FJe=BE(fge.exports),_ge={exports:{}};(function(o,e){(function(t){o.exports=t()})(function(){var t=(Wi,_t)=>()=>(_t||Wi((_t={exports:{}}).exports,_t),_t.exports),n=t((Wi,_t)=>{var ht=function($e){return $e&&$e.Math==Math&&$e};_t.exports=ht(typeof globalThis==\"object\"&&globalThis)||ht(typeof window==\"object\"&&window)||ht(typeof self==\"object\"&&self)||ht(typeof K1==\"object\"&&K1)||function(){return this}()||Function(\"return this\")()}),i=t((Wi,_t)=>{_t.exports=function(ht){try{return!!ht()}catch{return!0}}}),s=t((Wi,_t)=>{var ht=i();_t.exports=!ht(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),a=t((Wi,_t)=>{var ht=i();_t.exports=!ht(function(){var $e=function(){}.bind();return typeof $e!=\"function\"||$e.hasOwnProperty(\"prototype\")})}),l=t((Wi,_t)=>{var ht=a(),$e=Function.prototype.call;_t.exports=ht?$e.bind($e):function(){return $e.apply($e,arguments)}}),u=t(Wi=>{var _t={}.propertyIsEnumerable,ht=Object.getOwnPropertyDescriptor,$e=ht&&!_t.call({1:2},1);Wi.f=$e?function(ot){var Rt=ht(this,ot);return!!Rt&&Rt.enumerable}:_t}),d=t((Wi,_t)=>{_t.exports=function(ht,$e){return{enumerable:!(ht&1),configurable:!(ht&2),writable:!(ht&4),value:$e}}}),h=t((Wi,_t)=>{var ht=a(),$e=Function.prototype,ot=$e.call,Rt=ht&&$e.bind.bind(ot,ot);_t.exports=ht?Rt:function(et){return function(){return ot.apply(et,arguments)}}}),p=t((Wi,_t)=>{var ht=h(),$e=ht({}.toString),ot=ht(\"\".slice);_t.exports=function(Rt){return ot($e(Rt),8,-1)}}),g=t((Wi,_t)=>{var ht=h(),$e=i(),ot=p(),Rt=Object,et=ht(\"\".split);_t.exports=$e(function(){return!Rt(\"z\").propertyIsEnumerable(0)})?function(We){return ot(We)==\"String\"?et(We,\"\"):Rt(We)}:Rt}),y=t((Wi,_t)=>{_t.exports=function(ht){return ht==null}}),D=t((Wi,_t)=>{var ht=y(),$e=TypeError;_t.exports=function(ot){if(ht(ot))throw $e(\"Can't call method on \"+ot);return ot}}),T=t((Wi,_t)=>{var ht=g(),$e=D();_t.exports=function(ot){return ht($e(ot))}}),k=t((Wi,_t)=>{var ht=typeof document==\"object\"&&document.all,$e=typeof ht>\"u\"&&ht!==void 0;_t.exports={all:ht,IS_HTMLDDA:$e}}),I=t((Wi,_t)=>{var ht=k(),$e=ht.all;_t.exports=ht.IS_HTMLDDA?function(ot){return typeof ot==\"function\"||ot===$e}:function(ot){return typeof ot==\"function\"}}),F=t((Wi,_t)=>{var ht=I(),$e=k(),ot=$e.all;_t.exports=$e.IS_HTMLDDA?function(Rt){return typeof Rt==\"object\"?Rt!==null:ht(Rt)||Rt===ot}:function(Rt){return typeof Rt==\"object\"?Rt!==null:ht(Rt)}}),q=t((Wi,_t)=>{var ht=n(),$e=I(),ot=function(Rt){return $e(Rt)?Rt:void 0};_t.exports=function(Rt,et){return arguments.length<2?ot(ht[Rt]):ht[Rt]&&ht[Rt][et]}}),re=t((Wi,_t)=>{var ht=h();_t.exports=ht({}.isPrototypeOf)}),Ie=t((Wi,_t)=>{var ht=q();_t.exports=ht(\"navigator\",\"userAgent\")||\"\"}),mt=t((Wi,_t)=>{var ht=n(),$e=Ie(),ot=ht.process,Rt=ht.Deno,et=ot&&ot.versions||Rt&&Rt.version,We=et&&et.v8,it,vt;We&&(it=We.split(\".\"),vt=it[0]>0&&it[0]<4?1:+(it[0]+it[1])),!vt&&$e&&(it=$e.match(/Edge\\/(\\d+)/),(!it||it[1]>=74)&&(it=$e.match(/Chrome\\/(\\d+)/),it&&(vt=+it[1]))),_t.exports=vt}),Le=t((Wi,_t)=>{var ht=mt(),$e=i();_t.exports=!!Object.getOwnPropertySymbols&&!$e(function(){var ot=Symbol();return!String(ot)||!(Object(ot)instanceof Symbol)||!Symbol.sham&&ht&&ht<41})}),Ge=t((Wi,_t)=>{var ht=Le();_t.exports=ht&&!Symbol.sham&&typeof Symbol.iterator==\"symbol\"}),qt=t((Wi,_t)=>{var ht=q(),$e=I(),ot=re(),Rt=Ge(),et=Object;_t.exports=Rt?function(We){return typeof We==\"symbol\"}:function(We){var it=ht(\"Symbol\");return $e(it)&&ot(it.prototype,et(We))}}),gi=t((Wi,_t)=>{var ht=String;_t.exports=function($e){try{return ht($e)}catch{return\"Object\"}}}),ai=t((Wi,_t)=>{var ht=I(),$e=gi(),ot=TypeError;_t.exports=function(Rt){if(ht(Rt))return Rt;throw ot($e(Rt)+\" is not a function\")}}),Tr=t((Wi,_t)=>{var ht=ai(),$e=y();_t.exports=function(ot,Rt){var et=ot[Rt];return $e(et)?void 0:ht(et)}}),Vr=t((Wi,_t)=>{var ht=l(),$e=I(),ot=F(),Rt=TypeError;_t.exports=function(et,We){var it,vt;if(We===\"string\"&&$e(it=et.toString)&&!ot(vt=ht(it,et))||$e(it=et.valueOf)&&!ot(vt=ht(it,et))||We!==\"string\"&&$e(it=et.toString)&&!ot(vt=ht(it,et)))return vt;throw Rt(\"Can't convert object to primitive value\")}}),go=t((Wi,_t)=>{_t.exports=!1}),Js=t((Wi,_t)=>{var ht=n(),$e=Object.defineProperty;_t.exports=function(ot,Rt){try{$e(ht,ot,{value:Rt,configurable:!0,writable:!0})}catch{ht[ot]=Rt}return Rt}}),Fo=t((Wi,_t)=>{var ht=n(),$e=Js(),ot=\"__core-js_shared__\",Rt=ht[ot]||$e(ot,{});_t.exports=Rt}),aa=t((Wi,_t)=>{var ht=go(),$e=Fo();(_t.exports=function(ot,Rt){return $e[ot]||($e[ot]=Rt!==void 0?Rt:{})})(\"versions\",[]).push({version:\"3.26.1\",mode:ht?\"pure\":\"global\",copyright:\"\\xA9 2014-2022 Denis Pushkarev (zloirock.ru)\",license:\"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE\",source:\"https://github.com/zloirock/core-js\"})}),Qo=t((Wi,_t)=>{var ht=D(),$e=Object;_t.exports=function(ot){return $e(ht(ot))}}),Ao=t((Wi,_t)=>{var ht=h(),$e=Qo(),ot=ht({}.hasOwnProperty);_t.exports=Object.hasOwn||function(Rt,et){return ot($e(Rt),et)}}),Gl=t((Wi,_t)=>{var ht=h(),$e=0,ot=Math.random(),Rt=ht(1 .toString);_t.exports=function(et){return\"Symbol(\"+(et===void 0?\"\":et)+\")_\"+Rt(++$e+ot,36)}}),nl=t((Wi,_t)=>{var ht=n(),$e=aa(),ot=Ao(),Rt=Gl(),et=Le(),We=Ge(),it=$e(\"wks\"),vt=ht.Symbol,At=vt&&vt.for,en=We?vt:vt&&vt.withoutSetter||Rt;_t.exports=function(gt){if(!ot(it,gt)||!(et||typeof it[gt]==\"string\")){var _i=\"Symbol.\"+gt;et&&ot(vt,gt)?it[gt]=vt[gt]:We&&At?it[gt]=At(_i):it[gt]=en(_i)}return it[gt]}}),Po=t((Wi,_t)=>{var ht=l(),$e=F(),ot=qt(),Rt=Tr(),et=Vr(),We=nl(),it=TypeError,vt=We(\"toPrimitive\");_t.exports=function(At,en){if(!$e(At)||ot(At))return At;var gt=Rt(At,vt),_i;if(gt){if(en===void 0&&(en=\"default\"),_i=ht(gt,At,en),!$e(_i)||ot(_i))return _i;throw it(\"Can't convert object to primitive value\")}return en===void 0&&(en=\"number\"),et(At,en)}}),mo=t((Wi,_t)=>{var ht=Po(),$e=qt();_t.exports=function(ot){var Rt=ht(ot,\"string\");return $e(Rt)?Rt:Rt+\"\"}}),Bl=t((Wi,_t)=>{var ht=n(),$e=F(),ot=ht.document,Rt=$e(ot)&&$e(ot.createElement);_t.exports=function(et){return Rt?ot.createElement(et):{}}}),mc=t((Wi,_t)=>{var ht=s(),$e=i(),ot=Bl();_t.exports=!ht&&!$e(function(){return Object.defineProperty(ot(\"div\"),\"a\",{get:function(){return 7}}).a!=7})}),lc=t(Wi=>{var _t=s(),ht=l(),$e=u(),ot=d(),Rt=T(),et=mo(),We=Ao(),it=mc(),vt=Object.getOwnPropertyDescriptor;Wi.f=_t?vt:function(At,en){if(At=Rt(At),en=et(en),it)try{return vt(At,en)}catch{}if(We(At,en))return ot(!ht($e.f,At,en),At[en])}}),dd=t((Wi,_t)=>{var ht=s(),$e=i();_t.exports=ht&&$e(function(){return Object.defineProperty(function(){},\"prototype\",{value:42,writable:!1}).prototype!=42})}),gu=t((Wi,_t)=>{var ht=F(),$e=String,ot=TypeError;_t.exports=function(Rt){if(ht(Rt))return Rt;throw ot($e(Rt)+\" is not an object\")}}),Ka=t(Wi=>{var _t=s(),ht=mc(),$e=dd(),ot=gu(),Rt=mo(),et=TypeError,We=Object.defineProperty,it=Object.getOwnPropertyDescriptor,vt=\"enumerable\",At=\"configurable\",en=\"writable\";Wi.f=_t?$e?function(gt,_i,Rn){if(ot(gt),_i=Rt(_i),ot(Rn),typeof gt==\"function\"&&_i===\"prototype\"&&\"value\"in Rn&&en in Rn&&!Rn[en]){var Ni=it(gt,_i);Ni&&Ni[en]&&(gt[_i]=Rn.value,Rn={configurable:At in Rn?Rn[At]:Ni[At],enumerable:vt in Rn?Rn[vt]:Ni[vt],writable:!1})}return We(gt,_i,Rn)}:We:function(gt,_i,Rn){if(ot(gt),_i=Rt(_i),ot(Rn),ht)try{return We(gt,_i,Rn)}catch{}if(\"get\"in Rn||\"set\"in Rn)throw et(\"Accessors not supported\");return\"value\"in Rn&&(gt[_i]=Rn.value),gt}}),Qc=t((Wi,_t)=>{var ht=s(),$e=Ka(),ot=d();_t.exports=ht?function(Rt,et,We){return $e.f(Rt,et,ot(1,We))}:function(Rt,et,We){return Rt[et]=We,Rt}}),Ba=t((Wi,_t)=>{var ht=s(),$e=Ao(),ot=Function.prototype,Rt=ht&&Object.getOwnPropertyDescriptor,et=$e(ot,\"name\"),We=et&&function(){}.name===\"something\",it=et&&(!ht||ht&&Rt(ot,\"name\").configurable);_t.exports={EXISTS:et,PROPER:We,CONFIGURABLE:it}}),xd=t((Wi,_t)=>{var ht=h(),$e=I(),ot=Fo(),Rt=ht(Function.toString);$e(ot.inspectSource)||(ot.inspectSource=function(et){return Rt(et)}),_t.exports=ot.inspectSource}),jp=t((Wi,_t)=>{var ht=n(),$e=I(),ot=ht.WeakMap;_t.exports=$e(ot)&&/native code/.test(String(ot))}),Fu=t((Wi,_t)=>{var ht=aa(),$e=Gl(),ot=ht(\"keys\");_t.exports=function(Rt){return ot[Rt]||(ot[Rt]=$e(Rt))}}),Ed=t((Wi,_t)=>{_t.exports={}}),wp=t((Wi,_t)=>{var ht=jp(),$e=n(),ot=F(),Rt=Qc(),et=Ao(),We=Fo(),it=Fu(),vt=Ed(),At=\"Object already initialized\",en=$e.TypeError,gt=$e.WeakMap,_i,Rn,Ni,Lr=function(Ct){return Ni(Ct)?Rn(Ct):_i(Ct,{})},Or=function(Ct){return function(bo){var Vo;if(!ot(bo)||(Vo=Rn(bo)).type!==Ct)throw en(\"Incompatible receiver, \"+Ct+\" required\");return Vo}};ht||We.state?(Pn=We.state||(We.state=new gt),Pn.get=Pn.get,Pn.has=Pn.has,Pn.set=Pn.set,_i=function(Ct,bo){if(Pn.has(Ct))throw en(At);return bo.facade=Ct,Pn.set(Ct,bo),bo},Rn=function(Ct){return Pn.get(Ct)||{}},Ni=function(Ct){return Pn.has(Ct)}):(os=it(\"state\"),vt[os]=!0,_i=function(Ct,bo){if(et(Ct,os))throw en(At);return bo.facade=Ct,Rt(Ct,os,bo),bo},Rn=function(Ct){return et(Ct,os)?Ct[os]:{}},Ni=function(Ct){return et(Ct,os)});var Pn,os;_t.exports={set:_i,get:Rn,has:Ni,enforce:Lr,getterFor:Or}}),zd=t((Wi,_t)=>{var ht=i(),$e=I(),ot=Ao(),Rt=s(),et=Ba().CONFIGURABLE,We=xd(),it=wp(),vt=it.enforce,At=it.get,en=Object.defineProperty,gt=Rt&&!ht(function(){return en(function(){},\"length\",{value:8}).length!==8}),_i=String(String).split(\"String\"),Rn=_t.exports=function(Ni,Lr,Or){String(Lr).slice(0,7)===\"Symbol(\"&&(Lr=\"[\"+String(Lr).replace(/^Symbol\\(([^)]*)\\)/,\"$1\")+\"]\"),Or&&Or.getter&&(Lr=\"get \"+Lr),Or&&Or.setter&&(Lr=\"set \"+Lr),(!ot(Ni,\"name\")||et&&Ni.name!==Lr)&&(Rt?en(Ni,\"name\",{value:Lr,configurable:!0}):Ni.name=Lr),gt&&Or&&ot(Or,\"arity\")&&Ni.length!==Or.arity&&en(Ni,\"length\",{value:Or.arity});try{Or&&ot(Or,\"constructor\")&&Or.constructor?Rt&&en(Ni,\"prototype\",{writable:!1}):Ni.prototype&&(Ni.prototype=void 0)}catch{}var Pn=vt(Ni);return ot(Pn,\"source\")||(Pn.source=_i.join(typeof Lr==\"string\"?Lr:\"\")),Ni};Function.prototype.toString=Rn(function(){return $e(this)&&At(this).source||We(this)},\"toString\")}),Ch=t((Wi,_t)=>{var ht=I(),$e=Ka(),ot=zd(),Rt=Js();_t.exports=function(et,We,it,vt){vt||(vt={});var At=vt.enumerable,en=vt.name!==void 0?vt.name:We;if(ht(it)&&ot(it,en,vt),vt.global)At?et[We]=it:Rt(We,it);else{try{vt.unsafe?et[We]&&(At=!0):delete et[We]}catch{}At?et[We]=it:$e.f(et,We,{value:it,enumerable:!1,configurable:!vt.nonConfigurable,writable:!vt.nonWritable})}return et}}),sh=t((Wi,_t)=>{var ht=Math.ceil,$e=Math.floor;_t.exports=Math.trunc||function(ot){var Rt=+ot;return(Rt>0?$e:ht)(Rt)}}),$r=t((Wi,_t)=>{var ht=sh();_t.exports=function($e){var ot=+$e;return ot!==ot||ot===0?0:ht(ot)}}),sr=t((Wi,_t)=>{var ht=$r(),$e=Math.max,ot=Math.min;_t.exports=function(Rt,et){var We=ht(Rt);return We<0?$e(We+et,0):ot(We,et)}}),gr=t((Wi,_t)=>{var ht=$r(),$e=Math.min;_t.exports=function(ot){return ot>0?$e(ht(ot),9007199254740991):0}}),It=t((Wi,_t)=>{var ht=gr();_t.exports=function($e){return ht($e.length)}}),dn=t((Wi,_t)=>{var ht=T(),$e=sr(),ot=It(),Rt=function(et){return function(We,it,vt){var At=ht(We),en=ot(At),gt=$e(vt,en),_i;if(et&&it!=it){for(;en>gt;)if(_i=At[gt++],_i!=_i)return!0}else for(;en>gt;gt++)if((et||gt in At)&&At[gt]===it)return et||gt||0;return!et&&-1}};_t.exports={includes:Rt(!0),indexOf:Rt(!1)}}),Si=t((Wi,_t)=>{var ht=h(),$e=Ao(),ot=T(),Rt=dn().indexOf,et=Ed(),We=ht([].push);_t.exports=function(it,vt){var At=ot(it),en=0,gt=[],_i;for(_i in At)!$e(et,_i)&&$e(At,_i)&&We(gt,_i);for(;vt.length>en;)$e(At,_i=vt[en++])&&(~Rt(gt,_i)||We(gt,_i));return gt}}),Yn=t((Wi,_t)=>{_t.exports=[\"constructor\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"toLocaleString\",\"toString\",\"valueOf\"]}),Zr=t(Wi=>{var _t=Si(),ht=Yn(),$e=ht.concat(\"length\",\"prototype\");Wi.f=Object.getOwnPropertyNames||function(ot){return _t(ot,$e)}}),vs=t(Wi=>{Wi.f=Object.getOwnPropertySymbols}),ra=t((Wi,_t)=>{var ht=q(),$e=h(),ot=Zr(),Rt=vs(),et=gu(),We=$e([].concat);_t.exports=ht(\"Reflect\",\"ownKeys\")||function(it){var vt=ot.f(et(it)),At=Rt.f;return At?We(vt,At(it)):vt}}),zo=t((Wi,_t)=>{var ht=Ao(),$e=ra(),ot=lc(),Rt=Ka();_t.exports=function(et,We,it){for(var vt=$e(We),At=Rt.f,en=ot.f,gt=0;gt<vt.length;gt++){var _i=vt[gt];!ht(et,_i)&&!(it&&ht(it,_i))&&At(et,_i,en(We,_i))}}}),za=t((Wi,_t)=>{var ht=i(),$e=I(),ot=/#|\\.prototype\\./,Rt=function(At,en){var gt=We[et(At)];return gt==vt?!0:gt==it?!1:$e(en)?ht(en):!!en},et=Rt.normalize=function(At){return String(At).replace(ot,\".\").toLowerCase()},We=Rt.data={},it=Rt.NATIVE=\"N\",vt=Rt.POLYFILL=\"P\";_t.exports=Rt}),La=t((Wi,_t)=>{var ht=n(),$e=lc().f,ot=Qc(),Rt=Ch(),et=Js(),We=zo(),it=za();_t.exports=function(vt,At){var en=vt.target,gt=vt.global,_i=vt.stat,Rn,Ni,Lr,Or,Pn,os;if(gt?Ni=ht:_i?Ni=ht[en]||et(en,{}):Ni=(ht[en]||{}).prototype,Ni)for(Lr in At){if(Pn=At[Lr],vt.dontCallGetSet?(os=$e(Ni,Lr),Or=os&&os.value):Or=Ni[Lr],Rn=it(gt?Lr:en+(_i?\".\":\"#\")+Lr,vt.forced),!Rn&&Or!==void 0){if(typeof Pn==typeof Or)continue;We(Pn,Or)}(vt.sham||Or&&Or.sham)&&ot(Pn,\"sham\",!0),Rt(Ni,Lr,Pn,vt)}}}),Ul=t((Wi,_t)=>{var ht=p();_t.exports=Array.isArray||function($e){return ht($e)==\"Array\"}}),bl=t((Wi,_t)=>{var ht=TypeError,$e=9007199254740991;_t.exports=function(ot){if(ot>$e)throw ht(\"Maximum allowed index exceeded\");return ot}}),ua=t((Wi,_t)=>{var ht=p(),$e=h();_t.exports=function(ot){if(ht(ot)===\"Function\")return $e(ot)}}),Qs=t((Wi,_t)=>{var ht=ua(),$e=ai(),ot=a(),Rt=ht(ht.bind);_t.exports=function(et,We){return $e(et),We===void 0?et:ot?Rt(et,We):function(){return et.apply(We,arguments)}}}),Dr=t((Wi,_t)=>{var ht=Ul(),$e=It(),ot=bl(),Rt=Qs(),et=function(We,it,vt,At,en,gt,_i,Rn){for(var Ni=en,Lr=0,Or=_i?Rt(_i,Rn):!1,Pn,os;Lr<At;)Lr in vt&&(Pn=Or?Or(vt[Lr],Lr,it):vt[Lr],gt>0&&ht(Pn)?(os=$e(Pn),Ni=et(We,it,Pn,os,Ni,gt-1)-1):(ot(Ni+1),We[Ni]=Pn),Ni++),Lr++;return Ni};_t.exports=et}),Ar=t((Wi,_t)=>{var ht=nl(),$e=ht(\"toStringTag\"),ot={};ot[$e]=\"z\",_t.exports=String(ot)===\"[object z]\"}),li=t((Wi,_t)=>{var ht=Ar(),$e=I(),ot=p(),Rt=nl(),et=Rt(\"toStringTag\"),We=Object,it=ot(function(){return arguments}())==\"Arguments\",vt=function(At,en){try{return At[en]}catch{}};_t.exports=ht?ot:function(At){var en,gt,_i;return At===void 0?\"Undefined\":At===null?\"Null\":typeof(gt=vt(en=We(At),et))==\"string\"?gt:it?ot(en):(_i=ot(en))==\"Object\"&&$e(en.callee)?\"Arguments\":_i}}),gn=t((Wi,_t)=>{var ht=h(),$e=i(),ot=I(),Rt=li(),et=q(),We=xd(),it=function(){},vt=[],At=et(\"Reflect\",\"construct\"),en=/^\\s*(?:class|function)\\b/,gt=ht(en.exec),_i=!en.exec(it),Rn=function(Lr){if(!ot(Lr))return!1;try{return At(it,vt,Lr),!0}catch{return!1}},Ni=function(Lr){if(!ot(Lr))return!1;switch(Rt(Lr)){case\"AsyncFunction\":case\"GeneratorFunction\":case\"AsyncGeneratorFunction\":return!1}try{return _i||!!gt(en,We(Lr))}catch{return!0}};Ni.sham=!0,_t.exports=!At||$e(function(){var Lr;return Rn(Rn.call)||!Rn(Object)||!Rn(function(){Lr=!0})||Lr})?Ni:Rn}),kn=t((Wi,_t)=>{var ht=Ul(),$e=gn(),ot=F(),Rt=nl(),et=Rt(\"species\"),We=Array;_t.exports=function(it){var vt;return ht(it)&&(vt=it.constructor,$e(vt)&&(vt===We||ht(vt.prototype))?vt=void 0:ot(vt)&&(vt=vt[et],vt===null&&(vt=void 0))),vt===void 0?We:vt}}),ei=t((Wi,_t)=>{var ht=kn();_t.exports=function($e,ot){return new(ht($e))(ot===0?0:ot)}}),Yt=t(()=>{var Wi=La(),_t=Dr(),ht=ai(),$e=Qo(),ot=It(),Rt=ei();Wi({target:\"Array\",proto:!0},{flatMap:function(et){var We=$e(this),it=ot(We),vt;return ht(et),vt=Rt(We,0),vt.length=_t(vt,We,We,it,0,1,et,arguments.length>1?arguments[1]:void 0),vt}})}),zi=t((Wi,_t)=>{_t.exports={}}),kr=t((Wi,_t)=>{var ht=nl(),$e=zi(),ot=ht(\"iterator\"),Rt=Array.prototype;_t.exports=function(et){return et!==void 0&&($e.Array===et||Rt[ot]===et)}}),Gn=t((Wi,_t)=>{var ht=li(),$e=Tr(),ot=y(),Rt=zi(),et=nl(),We=et(\"iterator\");_t.exports=function(it){if(!ot(it))return $e(it,We)||$e(it,\"@@iterator\")||Rt[ht(it)]}}),ni=t((Wi,_t)=>{var ht=l(),$e=ai(),ot=gu(),Rt=gi(),et=Gn(),We=TypeError;_t.exports=function(it,vt){var At=arguments.length<2?et(it):vt;if($e(At))return ot(ht(At,it));throw We(Rt(it)+\" is not iterable\")}}),us=t((Wi,_t)=>{var ht=l(),$e=gu(),ot=Tr();_t.exports=function(Rt,et,We){var it,vt;$e(Rt);try{if(it=ot(Rt,\"return\"),!it){if(et===\"throw\")throw We;return We}it=ht(it,Rt)}catch(At){vt=!0,it=At}if(et===\"throw\")throw We;if(vt)throw it;return $e(it),We}}),ks=t((Wi,_t)=>{var ht=Qs(),$e=l(),ot=gu(),Rt=gi(),et=kr(),We=It(),it=re(),vt=ni(),At=Gn(),en=us(),gt=TypeError,_i=function(Ni,Lr){this.stopped=Ni,this.result=Lr},Rn=_i.prototype;_t.exports=function(Ni,Lr,Or){var Pn=Or&&Or.that,os=!!(Or&&Or.AS_ENTRIES),Ct=!!(Or&&Or.IS_RECORD),bo=!!(Or&&Or.IS_ITERATOR),Vo=!!(Or&&Or.INTERRUPTED),ja=ht(Lr,Pn),Ha,jl,Un,mu,uc,Zc,Ku,Pd=function(Yu){return Ha&&en(Ha,\"normal\",Yu),new _i(!0,Yu)},qu=function(Yu){return os?(ot(Yu),Vo?ja(Yu[0],Yu[1],Pd):ja(Yu[0],Yu[1])):Vo?ja(Yu,Pd):ja(Yu)};if(Ct)Ha=Ni.iterator;else if(bo)Ha=Ni;else{if(jl=At(Ni),!jl)throw gt(Rt(Ni)+\" is not iterable\");if(et(jl)){for(Un=0,mu=We(Ni);mu>Un;Un++)if(uc=qu(Ni[Un]),uc&&it(Rn,uc))return uc;return new _i(!1)}Ha=vt(Ni,jl)}for(Zc=Ct?Ni.next:Ha.next;!(Ku=$e(Zc,Ha)).done;){try{uc=qu(Ku.value)}catch(Yu){en(Ha,\"throw\",Yu)}if(typeof uc==\"object\"&&uc&&it(Rn,uc))return uc}return new _i(!1)}}),Us=t((Wi,_t)=>{var ht=mo(),$e=Ka(),ot=d();_t.exports=function(Rt,et,We){var it=ht(et);it in Rt?$e.f(Rt,it,ot(0,We)):Rt[it]=We}}),Li=t(()=>{var Wi=La(),_t=ks(),ht=Us();Wi({target:\"Object\",stat:!0},{fromEntries:function($e){var ot={};return _t($e,function(Rt,et){ht(ot,Rt,et)},{AS_ENTRIES:!0}),ot}})}),Uo=t((Wi,_t)=>{var ht=[\"cliName\",\"cliCategory\",\"cliDescription\"];function $e(di,En){if(di==null)return{};var Ot=ot(di,En),Wt,Vt;if(Object.getOwnPropertySymbols){var yt=Object.getOwnPropertySymbols(di);for(Vt=0;Vt<yt.length;Vt++)Wt=yt[Vt],!(En.indexOf(Wt)>=0)&&Object.prototype.propertyIsEnumerable.call(di,Wt)&&(Ot[Wt]=di[Wt])}return Ot}function ot(di,En){if(di==null)return{};var Ot={},Wt=Object.keys(di),Vt,yt;for(yt=0;yt<Wt.length;yt++)Vt=Wt[yt],!(En.indexOf(Vt)>=0)&&(Ot[Vt]=di[Vt]);return Ot}Yt(),Li();var Rt=Object.create,et=Object.defineProperty,We=Object.getOwnPropertyDescriptor,it=Object.getOwnPropertyNames,vt=Object.getPrototypeOf,At=Object.prototype.hasOwnProperty,en=(di,En)=>function(){return di&&(En=(0,di[it(di)[0]])(di=0)),En},gt=(di,En)=>function(){return En||(0,di[it(di)[0]])((En={exports:{}}).exports,En),En.exports},_i=(di,En)=>{for(var Ot in En)et(di,Ot,{get:En[Ot],enumerable:!0})},Rn=(di,En,Ot,Wt)=>{if(En&&typeof En==\"object\"||typeof En==\"function\")for(let Vt of it(En))!At.call(di,Vt)&&Vt!==Ot&&et(di,Vt,{get:()=>En[Vt],enumerable:!(Wt=We(En,Vt))||Wt.enumerable});return di},Ni=(di,En,Ot)=>(Ot=di!=null?Rt(vt(di)):{},Rn(En||!di||!di.__esModule?et(Ot,\"default\",{value:di,enumerable:!0}):Ot,di)),Lr=di=>Rn(et({},\"__esModule\",{value:!0}),di),Or,Pn=en({\"<define:process>\"(){Or={env:{},argv:[]}}}),os=gt({\"node_modules/xtend/immutable.js\"(di,En){Pn(),En.exports=Wt;var Ot=Object.prototype.hasOwnProperty;function Wt(){for(var Vt={},yt=0;yt<arguments.length;yt++){var Pt=arguments[yt];for(var Gt in Pt)Ot.call(Pt,Gt)&&(Vt[Gt]=Pt[Gt])}return Vt}}}),Ct=gt({\"node_modules/inherits/inherits_browser.js\"(di,En){Pn(),typeof Object.create==\"function\"?En.exports=function(Ot,Wt){Wt&&(Ot.super_=Wt,Ot.prototype=Object.create(Wt.prototype,{constructor:{value:Ot,enumerable:!1,writable:!0,configurable:!0}}))}:En.exports=function(Ot,Wt){if(Wt){Ot.super_=Wt;var Vt=function(){};Vt.prototype=Wt.prototype,Ot.prototype=new Vt,Ot.prototype.constructor=Ot}}}}),bo=gt({\"node_modules/unherit/index.js\"(di,En){Pn();var Ot=os(),Wt=Ct();En.exports=Vt;function Vt(yt){var Pt,Gt,St;Wt(ft,yt),Wt(un,ft),Pt=ft.prototype;for(Gt in Pt)St=Pt[Gt],St&&typeof St==\"object\"&&(Pt[Gt]=\"concat\"in St?St.concat():Ot(St));return ft;function un(Zt){return yt.apply(this,Zt)}function ft(){return this instanceof ft?yt.apply(this,arguments):new un(arguments)}}}}),Vo=gt({\"node_modules/state-toggle/index.js\"(di,En){Pn(),En.exports=Ot;function Ot(Wt,Vt,yt){return Pt;function Pt(){var Gt=yt||this,St=Gt[Wt];return Gt[Wt]=!Vt,un;function un(){Gt[Wt]=St}}}}}),ja=gt({\"node_modules/vfile-location/index.js\"(di,En){Pn(),En.exports=Ot;function Ot(Wt){for(var Vt=String(Wt),yt=[],Pt=/\\r?\\n|\\r/g;Pt.exec(Vt);)yt.push(Pt.lastIndex);return yt.push(Vt.length+1),{toPoint:Gt,toPosition:Gt,toOffset:St};function Gt(un){var ft=-1;if(un>-1&&un<yt[yt.length-1]){for(;++ft<yt.length;)if(yt[ft]>un)return{line:ft+1,column:un-(yt[ft-1]||0)+1,offset:un}}return{}}function St(un){var ft=un&&un.line,Zt=un&&un.column,qn;return!isNaN(ft)&&!isNaN(Zt)&&ft-1 in yt&&(qn=(yt[ft-2]||0)+Zt-1||0),qn>-1&&qn<yt[yt.length-1]?qn:-1}}}}),Ha=gt({\"node_modules/remark-parse/lib/unescape.js\"(di,En){Pn(),En.exports=Wt;var Ot=\"\\\\\";function Wt(Vt,yt){return Pt;function Pt(Gt){for(var St=0,un=Gt.indexOf(Ot),ft=Vt[yt],Zt=[],qn;un!==-1;)Zt.push(Gt.slice(St,un)),St=un+1,qn=Gt.charAt(St),(!qn||ft.indexOf(qn)===-1)&&Zt.push(Ot),un=Gt.indexOf(Ot,St+1);return Zt.push(Gt.slice(St)),Zt.join(\"\")}}}}),jl=gt({\"node_modules/character-entities-legacy/index.json\"(di,En){En.exports={AElig:\"\\xC6\",AMP:\"&\",Aacute:\"\\xC1\",Acirc:\"\\xC2\",Agrave:\"\\xC0\",Aring:\"\\xC5\",Atilde:\"\\xC3\",Auml:\"\\xC4\",COPY:\"\\xA9\",Ccedil:\"\\xC7\",ETH:\"\\xD0\",Eacute:\"\\xC9\",Ecirc:\"\\xCA\",Egrave:\"\\xC8\",Euml:\"\\xCB\",GT:\">\",Iacute:\"\\xCD\",Icirc:\"\\xCE\",Igrave:\"\\xCC\",Iuml:\"\\xCF\",LT:\"<\",Ntilde:\"\\xD1\",Oacute:\"\\xD3\",Ocirc:\"\\xD4\",Ograve:\"\\xD2\",Oslash:\"\\xD8\",Otilde:\"\\xD5\",Ouml:\"\\xD6\",QUOT:'\"',REG:\"\\xAE\",THORN:\"\\xDE\",Uacute:\"\\xDA\",Ucirc:\"\\xDB\",Ugrave:\"\\xD9\",Uuml:\"\\xDC\",Yacute:\"\\xDD\",aacute:\"\\xE1\",acirc:\"\\xE2\",acute:\"\\xB4\",aelig:\"\\xE6\",agrave:\"\\xE0\",amp:\"&\",aring:\"\\xE5\",atilde:\"\\xE3\",auml:\"\\xE4\",brvbar:\"\\xA6\",ccedil:\"\\xE7\",cedil:\"\\xB8\",cent:\"\\xA2\",copy:\"\\xA9\",curren:\"\\xA4\",deg:\"\\xB0\",divide:\"\\xF7\",eacute:\"\\xE9\",ecirc:\"\\xEA\",egrave:\"\\xE8\",eth:\"\\xF0\",euml:\"\\xEB\",frac12:\"\\xBD\",frac14:\"\\xBC\",frac34:\"\\xBE\",gt:\">\",iacute:\"\\xED\",icirc:\"\\xEE\",iexcl:\"\\xA1\",igrave:\"\\xEC\",iquest:\"\\xBF\",iuml:\"\\xEF\",laquo:\"\\xAB\",lt:\"<\",macr:\"\\xAF\",micro:\"\\xB5\",middot:\"\\xB7\",nbsp:\"\\xA0\",not:\"\\xAC\",ntilde:\"\\xF1\",oacute:\"\\xF3\",ocirc:\"\\xF4\",ograve:\"\\xF2\",ordf:\"\\xAA\",ordm:\"\\xBA\",oslash:\"\\xF8\",otilde:\"\\xF5\",ouml:\"\\xF6\",para:\"\\xB6\",plusmn:\"\\xB1\",pound:\"\\xA3\",quot:'\"',raquo:\"\\xBB\",reg:\"\\xAE\",sect:\"\\xA7\",shy:\"\\xAD\",sup1:\"\\xB9\",sup2:\"\\xB2\",sup3:\"\\xB3\",szlig:\"\\xDF\",thorn:\"\\xFE\",times:\"\\xD7\",uacute:\"\\xFA\",ucirc:\"\\xFB\",ugrave:\"\\xF9\",uml:\"\\xA8\",uuml:\"\\xFC\",yacute:\"\\xFD\",yen:\"\\xA5\",yuml:\"\\xFF\"}}}),Un=gt({\"node_modules/character-reference-invalid/index.json\"(di,En){En.exports={0:\"\\uFFFD\",128:\"\\u20AC\",130:\"\\u201A\",131:\"\\u0192\",132:\"\\u201E\",133:\"\\u2026\",134:\"\\u2020\",135:\"\\u2021\",136:\"\\u02C6\",137:\"\\u2030\",138:\"\\u0160\",139:\"\\u2039\",140:\"\\u0152\",142:\"\\u017D\",145:\"\\u2018\",146:\"\\u2019\",147:\"\\u201C\",148:\"\\u201D\",149:\"\\u2022\",150:\"\\u2013\",151:\"\\u2014\",152:\"\\u02DC\",153:\"\\u2122\",154:\"\\u0161\",155:\"\\u203A\",156:\"\\u0153\",158:\"\\u017E\",159:\"\\u0178\"}}}),mu=gt({\"node_modules/is-decimal/index.js\"(di,En){Pn(),En.exports=Ot;function Ot(Wt){var Vt=typeof Wt==\"string\"?Wt.charCodeAt(0):Wt;return Vt>=48&&Vt<=57}}}),uc=gt({\"node_modules/is-hexadecimal/index.js\"(di,En){Pn(),En.exports=Ot;function Ot(Wt){var Vt=typeof Wt==\"string\"?Wt.charCodeAt(0):Wt;return Vt>=97&&Vt<=102||Vt>=65&&Vt<=70||Vt>=48&&Vt<=57}}}),Zc=gt({\"node_modules/is-alphabetical/index.js\"(di,En){Pn(),En.exports=Ot;function Ot(Wt){var Vt=typeof Wt==\"string\"?Wt.charCodeAt(0):Wt;return Vt>=97&&Vt<=122||Vt>=65&&Vt<=90}}}),Ku=gt({\"node_modules/is-alphanumerical/index.js\"(di,En){Pn();var Ot=Zc(),Wt=mu();En.exports=Vt;function Vt(yt){return Ot(yt)||Wt(yt)}}}),Pd=gt({\"node_modules/character-entities/index.json\"(di,En){En.exports={AEli:\"\\xC6\",AElig:\"\\xC6\",AM:\"&\",AMP:\"&\",Aacut:\"\\xC1\",Aacute:\"\\xC1\",Abreve:\"\\u0102\",Acir:\"\\xC2\",Acirc:\"\\xC2\",Acy:\"\\u0410\",Afr:\"\\u{1D504}\",Agrav:\"\\xC0\",Agrave:\"\\xC0\",Alpha:\"\\u0391\",Amacr:\"\\u0100\",And:\"\\u2A53\",Aogon:\"\\u0104\",Aopf:\"\\u{1D538}\",ApplyFunction:\"\\u2061\",Arin:\"\\xC5\",Aring:\"\\xC5\",Ascr:\"\\u{1D49C}\",Assign:\"\\u2254\",Atild:\"\\xC3\",Atilde:\"\\xC3\",Aum:\"\\xC4\",Auml:\"\\xC4\",Backslash:\"\\u2216\",Barv:\"\\u2AE7\",Barwed:\"\\u2306\",Bcy:\"\\u0411\",Because:\"\\u2235\",Bernoullis:\"\\u212C\",Beta:\"\\u0392\",Bfr:\"\\u{1D505}\",Bopf:\"\\u{1D539}\",Breve:\"\\u02D8\",Bscr:\"\\u212C\",Bumpeq:\"\\u224E\",CHcy:\"\\u0427\",COP:\"\\xA9\",COPY:\"\\xA9\",Cacute:\"\\u0106\",Cap:\"\\u22D2\",CapitalDifferentialD:\"\\u2145\",Cayleys:\"\\u212D\",Ccaron:\"\\u010C\",Ccedi:\"\\xC7\",Ccedil:\"\\xC7\",Ccirc:\"\\u0108\",Cconint:\"\\u2230\",Cdot:\"\\u010A\",Cedilla:\"\\xB8\",CenterDot:\"\\xB7\",Cfr:\"\\u212D\",Chi:\"\\u03A7\",CircleDot:\"\\u2299\",CircleMinus:\"\\u2296\",CirclePlus:\"\\u2295\",CircleTimes:\"\\u2297\",ClockwiseContourIntegral:\"\\u2232\",CloseCurlyDoubleQuote:\"\\u201D\",CloseCurlyQuote:\"\\u2019\",Colon:\"\\u2237\",Colone:\"\\u2A74\",Congruent:\"\\u2261\",Conint:\"\\u222F\",ContourIntegral:\"\\u222E\",Copf:\"\\u2102\",Coproduct:\"\\u2210\",CounterClockwiseContourIntegral:\"\\u2233\",Cross:\"\\u2A2F\",Cscr:\"\\u{1D49E}\",Cup:\"\\u22D3\",CupCap:\"\\u224D\",DD:\"\\u2145\",DDotrahd:\"\\u2911\",DJcy:\"\\u0402\",DScy:\"\\u0405\",DZcy:\"\\u040F\",Dagger:\"\\u2021\",Darr:\"\\u21A1\",Dashv:\"\\u2AE4\",Dcaron:\"\\u010E\",Dcy:\"\\u0414\",Del:\"\\u2207\",Delta:\"\\u0394\",Dfr:\"\\u{1D507}\",DiacriticalAcute:\"\\xB4\",DiacriticalDot:\"\\u02D9\",DiacriticalDoubleAcute:\"\\u02DD\",DiacriticalGrave:\"`\",DiacriticalTilde:\"\\u02DC\",Diamond:\"\\u22C4\",DifferentialD:\"\\u2146\",Dopf:\"\\u{1D53B}\",Dot:\"\\xA8\",DotDot:\"\\u20DC\",DotEqual:\"\\u2250\",DoubleContourIntegral:\"\\u222F\",DoubleDot:\"\\xA8\",DoubleDownArrow:\"\\u21D3\",DoubleLeftArrow:\"\\u21D0\",DoubleLeftRightArrow:\"\\u21D4\",DoubleLeftTee:\"\\u2AE4\",DoubleLongLeftArrow:\"\\u27F8\",DoubleLongLeftRightArrow:\"\\u27FA\",DoubleLongRightArrow:\"\\u27F9\",DoubleRightArrow:\"\\u21D2\",DoubleRightTee:\"\\u22A8\",DoubleUpArrow:\"\\u21D1\",DoubleUpDownArrow:\"\\u21D5\",DoubleVerticalBar:\"\\u2225\",DownArrow:\"\\u2193\",DownArrowBar:\"\\u2913\",DownArrowUpArrow:\"\\u21F5\",DownBreve:\"\\u0311\",DownLeftRightVector:\"\\u2950\",DownLeftTeeVector:\"\\u295E\",DownLeftVector:\"\\u21BD\",DownLeftVectorBar:\"\\u2956\",DownRightTeeVector:\"\\u295F\",DownRightVector:\"\\u21C1\",DownRightVectorBar:\"\\u2957\",DownTee:\"\\u22A4\",DownTeeArrow:\"\\u21A7\",Downarrow:\"\\u21D3\",Dscr:\"\\u{1D49F}\",Dstrok:\"\\u0110\",ENG:\"\\u014A\",ET:\"\\xD0\",ETH:\"\\xD0\",Eacut:\"\\xC9\",Eacute:\"\\xC9\",Ecaron:\"\\u011A\",Ecir:\"\\xCA\",Ecirc:\"\\xCA\",Ecy:\"\\u042D\",Edot:\"\\u0116\",Efr:\"\\u{1D508}\",Egrav:\"\\xC8\",Egrave:\"\\xC8\",Element:\"\\u2208\",Emacr:\"\\u0112\",EmptySmallSquare:\"\\u25FB\",EmptyVerySmallSquare:\"\\u25AB\",Eogon:\"\\u0118\",Eopf:\"\\u{1D53C}\",Epsilon:\"\\u0395\",Equal:\"\\u2A75\",EqualTilde:\"\\u2242\",Equilibrium:\"\\u21CC\",Escr:\"\\u2130\",Esim:\"\\u2A73\",Eta:\"\\u0397\",Eum:\"\\xCB\",Euml:\"\\xCB\",Exists:\"\\u2203\",ExponentialE:\"\\u2147\",Fcy:\"\\u0424\",Ffr:\"\\u{1D509}\",FilledSmallSquare:\"\\u25FC\",FilledVerySmallSquare:\"\\u25AA\",Fopf:\"\\u{1D53D}\",ForAll:\"\\u2200\",Fouriertrf:\"\\u2131\",Fscr:\"\\u2131\",GJcy:\"\\u0403\",G:\">\",GT:\">\",Gamma:\"\\u0393\",Gammad:\"\\u03DC\",Gbreve:\"\\u011E\",Gcedil:\"\\u0122\",Gcirc:\"\\u011C\",Gcy:\"\\u0413\",Gdot:\"\\u0120\",Gfr:\"\\u{1D50A}\",Gg:\"\\u22D9\",Gopf:\"\\u{1D53E}\",GreaterEqual:\"\\u2265\",GreaterEqualLess:\"\\u22DB\",GreaterFullEqual:\"\\u2267\",GreaterGreater:\"\\u2AA2\",GreaterLess:\"\\u2277\",GreaterSlantEqual:\"\\u2A7E\",GreaterTilde:\"\\u2273\",Gscr:\"\\u{1D4A2}\",Gt:\"\\u226B\",HARDcy:\"\\u042A\",Hacek:\"\\u02C7\",Hat:\"^\",Hcirc:\"\\u0124\",Hfr:\"\\u210C\",HilbertSpace:\"\\u210B\",Hopf:\"\\u210D\",HorizontalLine:\"\\u2500\",Hscr:\"\\u210B\",Hstrok:\"\\u0126\",HumpDownHump:\"\\u224E\",HumpEqual:\"\\u224F\",IEcy:\"\\u0415\",IJlig:\"\\u0132\",IOcy:\"\\u0401\",Iacut:\"\\xCD\",Iacute:\"\\xCD\",Icir:\"\\xCE\",Icirc:\"\\xCE\",Icy:\"\\u0418\",Idot:\"\\u0130\",Ifr:\"\\u2111\",Igrav:\"\\xCC\",Igrave:\"\\xCC\",Im:\"\\u2111\",Imacr:\"\\u012A\",ImaginaryI:\"\\u2148\",Implies:\"\\u21D2\",Int:\"\\u222C\",Integral:\"\\u222B\",Intersection:\"\\u22C2\",InvisibleComma:\"\\u2063\",InvisibleTimes:\"\\u2062\",Iogon:\"\\u012E\",Iopf:\"\\u{1D540}\",Iota:\"\\u0399\",Iscr:\"\\u2110\",Itilde:\"\\u0128\",Iukcy:\"\\u0406\",Ium:\"\\xCF\",Iuml:\"\\xCF\",Jcirc:\"\\u0134\",Jcy:\"\\u0419\",Jfr:\"\\u{1D50D}\",Jopf:\"\\u{1D541}\",Jscr:\"\\u{1D4A5}\",Jsercy:\"\\u0408\",Jukcy:\"\\u0404\",KHcy:\"\\u0425\",KJcy:\"\\u040C\",Kappa:\"\\u039A\",Kcedil:\"\\u0136\",Kcy:\"\\u041A\",Kfr:\"\\u{1D50E}\",Kopf:\"\\u{1D542}\",Kscr:\"\\u{1D4A6}\",LJcy:\"\\u0409\",L:\"<\",LT:\"<\",Lacute:\"\\u0139\",Lambda:\"\\u039B\",Lang:\"\\u27EA\",Laplacetrf:\"\\u2112\",Larr:\"\\u219E\",Lcaron:\"\\u013D\",Lcedil:\"\\u013B\",Lcy:\"\\u041B\",LeftAngleBracket:\"\\u27E8\",LeftArrow:\"\\u2190\",LeftArrowBar:\"\\u21E4\",LeftArrowRightArrow:\"\\u21C6\",LeftCeiling:\"\\u2308\",LeftDoubleBracket:\"\\u27E6\",LeftDownTeeVector:\"\\u2961\",LeftDownVector:\"\\u21C3\",LeftDownVectorBar:\"\\u2959\",LeftFloor:\"\\u230A\",LeftRightArrow:\"\\u2194\",LeftRightVector:\"\\u294E\",LeftTee:\"\\u22A3\",LeftTeeArrow:\"\\u21A4\",LeftTeeVector:\"\\u295A\",LeftTriangle:\"\\u22B2\",LeftTriangleBar:\"\\u29CF\",LeftTriangleEqual:\"\\u22B4\",LeftUpDownVector:\"\\u2951\",LeftUpTeeVector:\"\\u2960\",LeftUpVector:\"\\u21BF\",LeftUpVectorBar:\"\\u2958\",LeftVector:\"\\u21BC\",LeftVectorBar:\"\\u2952\",Leftarrow:\"\\u21D0\",Leftrightarrow:\"\\u21D4\",LessEqualGreater:\"\\u22DA\",LessFullEqual:\"\\u2266\",LessGreater:\"\\u2276\",LessLess:\"\\u2AA1\",LessSlantEqual:\"\\u2A7D\",LessTilde:\"\\u2272\",Lfr:\"\\u{1D50F}\",Ll:\"\\u22D8\",Lleftarrow:\"\\u21DA\",Lmidot:\"\\u013F\",LongLeftArrow:\"\\u27F5\",LongLeftRightArrow:\"\\u27F7\",LongRightArrow:\"\\u27F6\",Longleftarrow:\"\\u27F8\",Longleftrightarrow:\"\\u27FA\",Longrightarrow:\"\\u27F9\",Lopf:\"\\u{1D543}\",LowerLeftArrow:\"\\u2199\",LowerRightArrow:\"\\u2198\",Lscr:\"\\u2112\",Lsh:\"\\u21B0\",Lstrok:\"\\u0141\",Lt:\"\\u226A\",Map:\"\\u2905\",Mcy:\"\\u041C\",MediumSpace:\"\\u205F\",Mellintrf:\"\\u2133\",Mfr:\"\\u{1D510}\",MinusPlus:\"\\u2213\",Mopf:\"\\u{1D544}\",Mscr:\"\\u2133\",Mu:\"\\u039C\",NJcy:\"\\u040A\",Nacute:\"\\u0143\",Ncaron:\"\\u0147\",Ncedil:\"\\u0145\",Ncy:\"\\u041D\",NegativeMediumSpace:\"\\u200B\",NegativeThickSpace:\"\\u200B\",NegativeThinSpace:\"\\u200B\",NegativeVeryThinSpace:\"\\u200B\",NestedGreaterGreater:\"\\u226B\",NestedLessLess:\"\\u226A\",NewLine:`\n`,Nfr:\"\\u{1D511}\",NoBreak:\"\\u2060\",NonBreakingSpace:\"\\xA0\",Nopf:\"\\u2115\",Not:\"\\u2AEC\",NotCongruent:\"\\u2262\",NotCupCap:\"\\u226D\",NotDoubleVerticalBar:\"\\u2226\",NotElement:\"\\u2209\",NotEqual:\"\\u2260\",NotEqualTilde:\"\\u2242\\u0338\",NotExists:\"\\u2204\",NotGreater:\"\\u226F\",NotGreaterEqual:\"\\u2271\",NotGreaterFullEqual:\"\\u2267\\u0338\",NotGreaterGreater:\"\\u226B\\u0338\",NotGreaterLess:\"\\u2279\",NotGreaterSlantEqual:\"\\u2A7E\\u0338\",NotGreaterTilde:\"\\u2275\",NotHumpDownHump:\"\\u224E\\u0338\",NotHumpEqual:\"\\u224F\\u0338\",NotLeftTriangle:\"\\u22EA\",NotLeftTriangleBar:\"\\u29CF\\u0338\",NotLeftTriangleEqual:\"\\u22EC\",NotLess:\"\\u226E\",NotLessEqual:\"\\u2270\",NotLessGreater:\"\\u2278\",NotLessLess:\"\\u226A\\u0338\",NotLessSlantEqual:\"\\u2A7D\\u0338\",NotLessTilde:\"\\u2274\",NotNestedGreaterGreater:\"\\u2AA2\\u0338\",NotNestedLessLess:\"\\u2AA1\\u0338\",NotPrecedes:\"\\u2280\",NotPrecedesEqual:\"\\u2AAF\\u0338\",NotPrecedesSlantEqual:\"\\u22E0\",NotReverseElement:\"\\u220C\",NotRightTriangle:\"\\u22EB\",NotRightTriangleBar:\"\\u29D0\\u0338\",NotRightTriangleEqual:\"\\u22ED\",NotSquareSubset:\"\\u228F\\u0338\",NotSquareSubsetEqual:\"\\u22E2\",NotSquareSuperset:\"\\u2290\\u0338\",NotSquareSupersetEqual:\"\\u22E3\",NotSubset:\"\\u2282\\u20D2\",NotSubsetEqual:\"\\u2288\",NotSucceeds:\"\\u2281\",NotSucceedsEqual:\"\\u2AB0\\u0338\",NotSucceedsSlantEqual:\"\\u22E1\",NotSucceedsTilde:\"\\u227F\\u0338\",NotSuperset:\"\\u2283\\u20D2\",NotSupersetEqual:\"\\u2289\",NotTilde:\"\\u2241\",NotTildeEqual:\"\\u2244\",NotTildeFullEqual:\"\\u2247\",NotTildeTilde:\"\\u2249\",NotVerticalBar:\"\\u2224\",Nscr:\"\\u{1D4A9}\",Ntild:\"\\xD1\",Ntilde:\"\\xD1\",Nu:\"\\u039D\",OElig:\"\\u0152\",Oacut:\"\\xD3\",Oacute:\"\\xD3\",Ocir:\"\\xD4\",Ocirc:\"\\xD4\",Ocy:\"\\u041E\",Odblac:\"\\u0150\",Ofr:\"\\u{1D512}\",Ograv:\"\\xD2\",Ograve:\"\\xD2\",Omacr:\"\\u014C\",Omega:\"\\u03A9\",Omicron:\"\\u039F\",Oopf:\"\\u{1D546}\",OpenCurlyDoubleQuote:\"\\u201C\",OpenCurlyQuote:\"\\u2018\",Or:\"\\u2A54\",Oscr:\"\\u{1D4AA}\",Oslas:\"\\xD8\",Oslash:\"\\xD8\",Otild:\"\\xD5\",Otilde:\"\\xD5\",Otimes:\"\\u2A37\",Oum:\"\\xD6\",Ouml:\"\\xD6\",OverBar:\"\\u203E\",OverBrace:\"\\u23DE\",OverBracket:\"\\u23B4\",OverParenthesis:\"\\u23DC\",PartialD:\"\\u2202\",Pcy:\"\\u041F\",Pfr:\"\\u{1D513}\",Phi:\"\\u03A6\",Pi:\"\\u03A0\",PlusMinus:\"\\xB1\",Poincareplane:\"\\u210C\",Popf:\"\\u2119\",Pr:\"\\u2ABB\",Precedes:\"\\u227A\",PrecedesEqual:\"\\u2AAF\",PrecedesSlantEqual:\"\\u227C\",PrecedesTilde:\"\\u227E\",Prime:\"\\u2033\",Product:\"\\u220F\",Proportion:\"\\u2237\",Proportional:\"\\u221D\",Pscr:\"\\u{1D4AB}\",Psi:\"\\u03A8\",QUO:'\"',QUOT:'\"',Qfr:\"\\u{1D514}\",Qopf:\"\\u211A\",Qscr:\"\\u{1D4AC}\",RBarr:\"\\u2910\",RE:\"\\xAE\",REG:\"\\xAE\",Racute:\"\\u0154\",Rang:\"\\u27EB\",Rarr:\"\\u21A0\",Rarrtl:\"\\u2916\",Rcaron:\"\\u0158\",Rcedil:\"\\u0156\",Rcy:\"\\u0420\",Re:\"\\u211C\",ReverseElement:\"\\u220B\",ReverseEquilibrium:\"\\u21CB\",ReverseUpEquilibrium:\"\\u296F\",Rfr:\"\\u211C\",Rho:\"\\u03A1\",RightAngleBracket:\"\\u27E9\",RightArrow:\"\\u2192\",RightArrowBar:\"\\u21E5\",RightArrowLeftArrow:\"\\u21C4\",RightCeiling:\"\\u2309\",RightDoubleBracket:\"\\u27E7\",RightDownTeeVector:\"\\u295D\",RightDownVector:\"\\u21C2\",RightDownVectorBar:\"\\u2955\",RightFloor:\"\\u230B\",RightTee:\"\\u22A2\",RightTeeArrow:\"\\u21A6\",RightTeeVector:\"\\u295B\",RightTriangle:\"\\u22B3\",RightTriangleBar:\"\\u29D0\",RightTriangleEqual:\"\\u22B5\",RightUpDownVector:\"\\u294F\",RightUpTeeVector:\"\\u295C\",RightUpVector:\"\\u21BE\",RightUpVectorBar:\"\\u2954\",RightVector:\"\\u21C0\",RightVectorBar:\"\\u2953\",Rightarrow:\"\\u21D2\",Ropf:\"\\u211D\",RoundImplies:\"\\u2970\",Rrightarrow:\"\\u21DB\",Rscr:\"\\u211B\",Rsh:\"\\u21B1\",RuleDelayed:\"\\u29F4\",SHCHcy:\"\\u0429\",SHcy:\"\\u0428\",SOFTcy:\"\\u042C\",Sacute:\"\\u015A\",Sc:\"\\u2ABC\",Scaron:\"\\u0160\",Scedil:\"\\u015E\",Scirc:\"\\u015C\",Scy:\"\\u0421\",Sfr:\"\\u{1D516}\",ShortDownArrow:\"\\u2193\",ShortLeftArrow:\"\\u2190\",ShortRightArrow:\"\\u2192\",ShortUpArrow:\"\\u2191\",Sigma:\"\\u03A3\",SmallCircle:\"\\u2218\",Sopf:\"\\u{1D54A}\",Sqrt:\"\\u221A\",Square:\"\\u25A1\",SquareIntersection:\"\\u2293\",SquareSubset:\"\\u228F\",SquareSubsetEqual:\"\\u2291\",SquareSuperset:\"\\u2290\",SquareSupersetEqual:\"\\u2292\",SquareUnion:\"\\u2294\",Sscr:\"\\u{1D4AE}\",Star:\"\\u22C6\",Sub:\"\\u22D0\",Subset:\"\\u22D0\",SubsetEqual:\"\\u2286\",Succeeds:\"\\u227B\",SucceedsEqual:\"\\u2AB0\",SucceedsSlantEqual:\"\\u227D\",SucceedsTilde:\"\\u227F\",SuchThat:\"\\u220B\",Sum:\"\\u2211\",Sup:\"\\u22D1\",Superset:\"\\u2283\",SupersetEqual:\"\\u2287\",Supset:\"\\u22D1\",THOR:\"\\xDE\",THORN:\"\\xDE\",TRADE:\"\\u2122\",TSHcy:\"\\u040B\",TScy:\"\\u0426\",Tab:\"\t\",Tau:\"\\u03A4\",Tcaron:\"\\u0164\",Tcedil:\"\\u0162\",Tcy:\"\\u0422\",Tfr:\"\\u{1D517}\",Therefore:\"\\u2234\",Theta:\"\\u0398\",ThickSpace:\"\\u205F\\u200A\",ThinSpace:\"\\u2009\",Tilde:\"\\u223C\",TildeEqual:\"\\u2243\",TildeFullEqual:\"\\u2245\",TildeTilde:\"\\u2248\",Topf:\"\\u{1D54B}\",TripleDot:\"\\u20DB\",Tscr:\"\\u{1D4AF}\",Tstrok:\"\\u0166\",Uacut:\"\\xDA\",Uacute:\"\\xDA\",Uarr:\"\\u219F\",Uarrocir:\"\\u2949\",Ubrcy:\"\\u040E\",Ubreve:\"\\u016C\",Ucir:\"\\xDB\",Ucirc:\"\\xDB\",Ucy:\"\\u0423\",Udblac:\"\\u0170\",Ufr:\"\\u{1D518}\",Ugrav:\"\\xD9\",Ugrave:\"\\xD9\",Umacr:\"\\u016A\",UnderBar:\"_\",UnderBrace:\"\\u23DF\",UnderBracket:\"\\u23B5\",UnderParenthesis:\"\\u23DD\",Union:\"\\u22C3\",UnionPlus:\"\\u228E\",Uogon:\"\\u0172\",Uopf:\"\\u{1D54C}\",UpArrow:\"\\u2191\",UpArrowBar:\"\\u2912\",UpArrowDownArrow:\"\\u21C5\",UpDownArrow:\"\\u2195\",UpEquilibrium:\"\\u296E\",UpTee:\"\\u22A5\",UpTeeArrow:\"\\u21A5\",Uparrow:\"\\u21D1\",Updownarrow:\"\\u21D5\",UpperLeftArrow:\"\\u2196\",UpperRightArrow:\"\\u2197\",Upsi:\"\\u03D2\",Upsilon:\"\\u03A5\",Uring:\"\\u016E\",Uscr:\"\\u{1D4B0}\",Utilde:\"\\u0168\",Uum:\"\\xDC\",Uuml:\"\\xDC\",VDash:\"\\u22AB\",Vbar:\"\\u2AEB\",Vcy:\"\\u0412\",Vdash:\"\\u22A9\",Vdashl:\"\\u2AE6\",Vee:\"\\u22C1\",Verbar:\"\\u2016\",Vert:\"\\u2016\",VerticalBar:\"\\u2223\",VerticalLine:\"|\",VerticalSeparator:\"\\u2758\",VerticalTilde:\"\\u2240\",VeryThinSpace:\"\\u200A\",Vfr:\"\\u{1D519}\",Vopf:\"\\u{1D54D}\",Vscr:\"\\u{1D4B1}\",Vvdash:\"\\u22AA\",Wcirc:\"\\u0174\",Wedge:\"\\u22C0\",Wfr:\"\\u{1D51A}\",Wopf:\"\\u{1D54E}\",Wscr:\"\\u{1D4B2}\",Xfr:\"\\u{1D51B}\",Xi:\"\\u039E\",Xopf:\"\\u{1D54F}\",Xscr:\"\\u{1D4B3}\",YAcy:\"\\u042F\",YIcy:\"\\u0407\",YUcy:\"\\u042E\",Yacut:\"\\xDD\",Yacute:\"\\xDD\",Ycirc:\"\\u0176\",Ycy:\"\\u042B\",Yfr:\"\\u{1D51C}\",Yopf:\"\\u{1D550}\",Yscr:\"\\u{1D4B4}\",Yuml:\"\\u0178\",ZHcy:\"\\u0416\",Zacute:\"\\u0179\",Zcaron:\"\\u017D\",Zcy:\"\\u0417\",Zdot:\"\\u017B\",ZeroWidthSpace:\"\\u200B\",Zeta:\"\\u0396\",Zfr:\"\\u2128\",Zopf:\"\\u2124\",Zscr:\"\\u{1D4B5}\",aacut:\"\\xE1\",aacute:\"\\xE1\",abreve:\"\\u0103\",ac:\"\\u223E\",acE:\"\\u223E\\u0333\",acd:\"\\u223F\",acir:\"\\xE2\",acirc:\"\\xE2\",acut:\"\\xB4\",acute:\"\\xB4\",acy:\"\\u0430\",aeli:\"\\xE6\",aelig:\"\\xE6\",af:\"\\u2061\",afr:\"\\u{1D51E}\",agrav:\"\\xE0\",agrave:\"\\xE0\",alefsym:\"\\u2135\",aleph:\"\\u2135\",alpha:\"\\u03B1\",amacr:\"\\u0101\",amalg:\"\\u2A3F\",am:\"&\",amp:\"&\",and:\"\\u2227\",andand:\"\\u2A55\",andd:\"\\u2A5C\",andslope:\"\\u2A58\",andv:\"\\u2A5A\",ang:\"\\u2220\",ange:\"\\u29A4\",angle:\"\\u2220\",angmsd:\"\\u2221\",angmsdaa:\"\\u29A8\",angmsdab:\"\\u29A9\",angmsdac:\"\\u29AA\",angmsdad:\"\\u29AB\",angmsdae:\"\\u29AC\",angmsdaf:\"\\u29AD\",angmsdag:\"\\u29AE\",angmsdah:\"\\u29AF\",angrt:\"\\u221F\",angrtvb:\"\\u22BE\",angrtvbd:\"\\u299D\",angsph:\"\\u2222\",angst:\"\\xC5\",angzarr:\"\\u237C\",aogon:\"\\u0105\",aopf:\"\\u{1D552}\",ap:\"\\u2248\",apE:\"\\u2A70\",apacir:\"\\u2A6F\",ape:\"\\u224A\",apid:\"\\u224B\",apos:\"'\",approx:\"\\u2248\",approxeq:\"\\u224A\",arin:\"\\xE5\",aring:\"\\xE5\",ascr:\"\\u{1D4B6}\",ast:\"*\",asymp:\"\\u2248\",asympeq:\"\\u224D\",atild:\"\\xE3\",atilde:\"\\xE3\",aum:\"\\xE4\",auml:\"\\xE4\",awconint:\"\\u2233\",awint:\"\\u2A11\",bNot:\"\\u2AED\",backcong:\"\\u224C\",backepsilon:\"\\u03F6\",backprime:\"\\u2035\",backsim:\"\\u223D\",backsimeq:\"\\u22CD\",barvee:\"\\u22BD\",barwed:\"\\u2305\",barwedge:\"\\u2305\",bbrk:\"\\u23B5\",bbrktbrk:\"\\u23B6\",bcong:\"\\u224C\",bcy:\"\\u0431\",bdquo:\"\\u201E\",becaus:\"\\u2235\",because:\"\\u2235\",bemptyv:\"\\u29B0\",bepsi:\"\\u03F6\",bernou:\"\\u212C\",beta:\"\\u03B2\",beth:\"\\u2136\",between:\"\\u226C\",bfr:\"\\u{1D51F}\",bigcap:\"\\u22C2\",bigcirc:\"\\u25EF\",bigcup:\"\\u22C3\",bigodot:\"\\u2A00\",bigoplus:\"\\u2A01\",bigotimes:\"\\u2A02\",bigsqcup:\"\\u2A06\",bigstar:\"\\u2605\",bigtriangledown:\"\\u25BD\",bigtriangleup:\"\\u25B3\",biguplus:\"\\u2A04\",bigvee:\"\\u22C1\",bigwedge:\"\\u22C0\",bkarow:\"\\u290D\",blacklozenge:\"\\u29EB\",blacksquare:\"\\u25AA\",blacktriangle:\"\\u25B4\",blacktriangledown:\"\\u25BE\",blacktriangleleft:\"\\u25C2\",blacktriangleright:\"\\u25B8\",blank:\"\\u2423\",blk12:\"\\u2592\",blk14:\"\\u2591\",blk34:\"\\u2593\",block:\"\\u2588\",bne:\"=\\u20E5\",bnequiv:\"\\u2261\\u20E5\",bnot:\"\\u2310\",bopf:\"\\u{1D553}\",bot:\"\\u22A5\",bottom:\"\\u22A5\",bowtie:\"\\u22C8\",boxDL:\"\\u2557\",boxDR:\"\\u2554\",boxDl:\"\\u2556\",boxDr:\"\\u2553\",boxH:\"\\u2550\",boxHD:\"\\u2566\",boxHU:\"\\u2569\",boxHd:\"\\u2564\",boxHu:\"\\u2567\",boxUL:\"\\u255D\",boxUR:\"\\u255A\",boxUl:\"\\u255C\",boxUr:\"\\u2559\",boxV:\"\\u2551\",boxVH:\"\\u256C\",boxVL:\"\\u2563\",boxVR:\"\\u2560\",boxVh:\"\\u256B\",boxVl:\"\\u2562\",boxVr:\"\\u255F\",boxbox:\"\\u29C9\",boxdL:\"\\u2555\",boxdR:\"\\u2552\",boxdl:\"\\u2510\",boxdr:\"\\u250C\",boxh:\"\\u2500\",boxhD:\"\\u2565\",boxhU:\"\\u2568\",boxhd:\"\\u252C\",boxhu:\"\\u2534\",boxminus:\"\\u229F\",boxplus:\"\\u229E\",boxtimes:\"\\u22A0\",boxuL:\"\\u255B\",boxuR:\"\\u2558\",boxul:\"\\u2518\",boxur:\"\\u2514\",boxv:\"\\u2502\",boxvH:\"\\u256A\",boxvL:\"\\u2561\",boxvR:\"\\u255E\",boxvh:\"\\u253C\",boxvl:\"\\u2524\",boxvr:\"\\u251C\",bprime:\"\\u2035\",breve:\"\\u02D8\",brvba:\"\\xA6\",brvbar:\"\\xA6\",bscr:\"\\u{1D4B7}\",bsemi:\"\\u204F\",bsim:\"\\u223D\",bsime:\"\\u22CD\",bsol:\"\\\\\",bsolb:\"\\u29C5\",bsolhsub:\"\\u27C8\",bull:\"\\u2022\",bullet:\"\\u2022\",bump:\"\\u224E\",bumpE:\"\\u2AAE\",bumpe:\"\\u224F\",bumpeq:\"\\u224F\",cacute:\"\\u0107\",cap:\"\\u2229\",capand:\"\\u2A44\",capbrcup:\"\\u2A49\",capcap:\"\\u2A4B\",capcup:\"\\u2A47\",capdot:\"\\u2A40\",caps:\"\\u2229\\uFE00\",caret:\"\\u2041\",caron:\"\\u02C7\",ccaps:\"\\u2A4D\",ccaron:\"\\u010D\",ccedi:\"\\xE7\",ccedil:\"\\xE7\",ccirc:\"\\u0109\",ccups:\"\\u2A4C\",ccupssm:\"\\u2A50\",cdot:\"\\u010B\",cedi:\"\\xB8\",cedil:\"\\xB8\",cemptyv:\"\\u29B2\",cen:\"\\xA2\",cent:\"\\xA2\",centerdot:\"\\xB7\",cfr:\"\\u{1D520}\",chcy:\"\\u0447\",check:\"\\u2713\",checkmark:\"\\u2713\",chi:\"\\u03C7\",cir:\"\\u25CB\",cirE:\"\\u29C3\",circ:\"\\u02C6\",circeq:\"\\u2257\",circlearrowleft:\"\\u21BA\",circlearrowright:\"\\u21BB\",circledR:\"\\xAE\",circledS:\"\\u24C8\",circledast:\"\\u229B\",circledcirc:\"\\u229A\",circleddash:\"\\u229D\",cire:\"\\u2257\",cirfnint:\"\\u2A10\",cirmid:\"\\u2AEF\",cirscir:\"\\u29C2\",clubs:\"\\u2663\",clubsuit:\"\\u2663\",colon:\":\",colone:\"\\u2254\",coloneq:\"\\u2254\",comma:\",\",commat:\"@\",comp:\"\\u2201\",compfn:\"\\u2218\",complement:\"\\u2201\",complexes:\"\\u2102\",cong:\"\\u2245\",congdot:\"\\u2A6D\",conint:\"\\u222E\",copf:\"\\u{1D554}\",coprod:\"\\u2210\",cop:\"\\xA9\",copy:\"\\xA9\",copysr:\"\\u2117\",crarr:\"\\u21B5\",cross:\"\\u2717\",cscr:\"\\u{1D4B8}\",csub:\"\\u2ACF\",csube:\"\\u2AD1\",csup:\"\\u2AD0\",csupe:\"\\u2AD2\",ctdot:\"\\u22EF\",cudarrl:\"\\u2938\",cudarrr:\"\\u2935\",cuepr:\"\\u22DE\",cuesc:\"\\u22DF\",cularr:\"\\u21B6\",cularrp:\"\\u293D\",cup:\"\\u222A\",cupbrcap:\"\\u2A48\",cupcap:\"\\u2A46\",cupcup:\"\\u2A4A\",cupdot:\"\\u228D\",cupor:\"\\u2A45\",cups:\"\\u222A\\uFE00\",curarr:\"\\u21B7\",curarrm:\"\\u293C\",curlyeqprec:\"\\u22DE\",curlyeqsucc:\"\\u22DF\",curlyvee:\"\\u22CE\",curlywedge:\"\\u22CF\",curre:\"\\xA4\",curren:\"\\xA4\",curvearrowleft:\"\\u21B6\",curvearrowright:\"\\u21B7\",cuvee:\"\\u22CE\",cuwed:\"\\u22CF\",cwconint:\"\\u2232\",cwint:\"\\u2231\",cylcty:\"\\u232D\",dArr:\"\\u21D3\",dHar:\"\\u2965\",dagger:\"\\u2020\",daleth:\"\\u2138\",darr:\"\\u2193\",dash:\"\\u2010\",dashv:\"\\u22A3\",dbkarow:\"\\u290F\",dblac:\"\\u02DD\",dcaron:\"\\u010F\",dcy:\"\\u0434\",dd:\"\\u2146\",ddagger:\"\\u2021\",ddarr:\"\\u21CA\",ddotseq:\"\\u2A77\",de:\"\\xB0\",deg:\"\\xB0\",delta:\"\\u03B4\",demptyv:\"\\u29B1\",dfisht:\"\\u297F\",dfr:\"\\u{1D521}\",dharl:\"\\u21C3\",dharr:\"\\u21C2\",diam:\"\\u22C4\",diamond:\"\\u22C4\",diamondsuit:\"\\u2666\",diams:\"\\u2666\",die:\"\\xA8\",digamma:\"\\u03DD\",disin:\"\\u22F2\",div:\"\\xF7\",divid:\"\\xF7\",divide:\"\\xF7\",divideontimes:\"\\u22C7\",divonx:\"\\u22C7\",djcy:\"\\u0452\",dlcorn:\"\\u231E\",dlcrop:\"\\u230D\",dollar:\"$\",dopf:\"\\u{1D555}\",dot:\"\\u02D9\",doteq:\"\\u2250\",doteqdot:\"\\u2251\",dotminus:\"\\u2238\",dotplus:\"\\u2214\",dotsquare:\"\\u22A1\",doublebarwedge:\"\\u2306\",downarrow:\"\\u2193\",downdownarrows:\"\\u21CA\",downharpoonleft:\"\\u21C3\",downharpoonright:\"\\u21C2\",drbkarow:\"\\u2910\",drcorn:\"\\u231F\",drcrop:\"\\u230C\",dscr:\"\\u{1D4B9}\",dscy:\"\\u0455\",dsol:\"\\u29F6\",dstrok:\"\\u0111\",dtdot:\"\\u22F1\",dtri:\"\\u25BF\",dtrif:\"\\u25BE\",duarr:\"\\u21F5\",duhar:\"\\u296F\",dwangle:\"\\u29A6\",dzcy:\"\\u045F\",dzigrarr:\"\\u27FF\",eDDot:\"\\u2A77\",eDot:\"\\u2251\",eacut:\"\\xE9\",eacute:\"\\xE9\",easter:\"\\u2A6E\",ecaron:\"\\u011B\",ecir:\"\\xEA\",ecirc:\"\\xEA\",ecolon:\"\\u2255\",ecy:\"\\u044D\",edot:\"\\u0117\",ee:\"\\u2147\",efDot:\"\\u2252\",efr:\"\\u{1D522}\",eg:\"\\u2A9A\",egrav:\"\\xE8\",egrave:\"\\xE8\",egs:\"\\u2A96\",egsdot:\"\\u2A98\",el:\"\\u2A99\",elinters:\"\\u23E7\",ell:\"\\u2113\",els:\"\\u2A95\",elsdot:\"\\u2A97\",emacr:\"\\u0113\",empty:\"\\u2205\",emptyset:\"\\u2205\",emptyv:\"\\u2205\",emsp13:\"\\u2004\",emsp14:\"\\u2005\",emsp:\"\\u2003\",eng:\"\\u014B\",ensp:\"\\u2002\",eogon:\"\\u0119\",eopf:\"\\u{1D556}\",epar:\"\\u22D5\",eparsl:\"\\u29E3\",eplus:\"\\u2A71\",epsi:\"\\u03B5\",epsilon:\"\\u03B5\",epsiv:\"\\u03F5\",eqcirc:\"\\u2256\",eqcolon:\"\\u2255\",eqsim:\"\\u2242\",eqslantgtr:\"\\u2A96\",eqslantless:\"\\u2A95\",equals:\"=\",equest:\"\\u225F\",equiv:\"\\u2261\",equivDD:\"\\u2A78\",eqvparsl:\"\\u29E5\",erDot:\"\\u2253\",erarr:\"\\u2971\",escr:\"\\u212F\",esdot:\"\\u2250\",esim:\"\\u2242\",eta:\"\\u03B7\",et:\"\\xF0\",eth:\"\\xF0\",eum:\"\\xEB\",euml:\"\\xEB\",euro:\"\\u20AC\",excl:\"!\",exist:\"\\u2203\",expectation:\"\\u2130\",exponentiale:\"\\u2147\",fallingdotseq:\"\\u2252\",fcy:\"\\u0444\",female:\"\\u2640\",ffilig:\"\\uFB03\",fflig:\"\\uFB00\",ffllig:\"\\uFB04\",ffr:\"\\u{1D523}\",filig:\"\\uFB01\",fjlig:\"fj\",flat:\"\\u266D\",fllig:\"\\uFB02\",fltns:\"\\u25B1\",fnof:\"\\u0192\",fopf:\"\\u{1D557}\",forall:\"\\u2200\",fork:\"\\u22D4\",forkv:\"\\u2AD9\",fpartint:\"\\u2A0D\",frac1:\"\\xBC\",frac12:\"\\xBD\",frac13:\"\\u2153\",frac14:\"\\xBC\",frac15:\"\\u2155\",frac16:\"\\u2159\",frac18:\"\\u215B\",frac23:\"\\u2154\",frac25:\"\\u2156\",frac3:\"\\xBE\",frac34:\"\\xBE\",frac35:\"\\u2157\",frac38:\"\\u215C\",frac45:\"\\u2158\",frac56:\"\\u215A\",frac58:\"\\u215D\",frac78:\"\\u215E\",frasl:\"\\u2044\",frown:\"\\u2322\",fscr:\"\\u{1D4BB}\",gE:\"\\u2267\",gEl:\"\\u2A8C\",gacute:\"\\u01F5\",gamma:\"\\u03B3\",gammad:\"\\u03DD\",gap:\"\\u2A86\",gbreve:\"\\u011F\",gcirc:\"\\u011D\",gcy:\"\\u0433\",gdot:\"\\u0121\",ge:\"\\u2265\",gel:\"\\u22DB\",geq:\"\\u2265\",geqq:\"\\u2267\",geqslant:\"\\u2A7E\",ges:\"\\u2A7E\",gescc:\"\\u2AA9\",gesdot:\"\\u2A80\",gesdoto:\"\\u2A82\",gesdotol:\"\\u2A84\",gesl:\"\\u22DB\\uFE00\",gesles:\"\\u2A94\",gfr:\"\\u{1D524}\",gg:\"\\u226B\",ggg:\"\\u22D9\",gimel:\"\\u2137\",gjcy:\"\\u0453\",gl:\"\\u2277\",glE:\"\\u2A92\",gla:\"\\u2AA5\",glj:\"\\u2AA4\",gnE:\"\\u2269\",gnap:\"\\u2A8A\",gnapprox:\"\\u2A8A\",gne:\"\\u2A88\",gneq:\"\\u2A88\",gneqq:\"\\u2269\",gnsim:\"\\u22E7\",gopf:\"\\u{1D558}\",grave:\"`\",gscr:\"\\u210A\",gsim:\"\\u2273\",gsime:\"\\u2A8E\",gsiml:\"\\u2A90\",g:\">\",gt:\">\",gtcc:\"\\u2AA7\",gtcir:\"\\u2A7A\",gtdot:\"\\u22D7\",gtlPar:\"\\u2995\",gtquest:\"\\u2A7C\",gtrapprox:\"\\u2A86\",gtrarr:\"\\u2978\",gtrdot:\"\\u22D7\",gtreqless:\"\\u22DB\",gtreqqless:\"\\u2A8C\",gtrless:\"\\u2277\",gtrsim:\"\\u2273\",gvertneqq:\"\\u2269\\uFE00\",gvnE:\"\\u2269\\uFE00\",hArr:\"\\u21D4\",hairsp:\"\\u200A\",half:\"\\xBD\",hamilt:\"\\u210B\",hardcy:\"\\u044A\",harr:\"\\u2194\",harrcir:\"\\u2948\",harrw:\"\\u21AD\",hbar:\"\\u210F\",hcirc:\"\\u0125\",hearts:\"\\u2665\",heartsuit:\"\\u2665\",hellip:\"\\u2026\",hercon:\"\\u22B9\",hfr:\"\\u{1D525}\",hksearow:\"\\u2925\",hkswarow:\"\\u2926\",hoarr:\"\\u21FF\",homtht:\"\\u223B\",hookleftarrow:\"\\u21A9\",hookrightarrow:\"\\u21AA\",hopf:\"\\u{1D559}\",horbar:\"\\u2015\",hscr:\"\\u{1D4BD}\",hslash:\"\\u210F\",hstrok:\"\\u0127\",hybull:\"\\u2043\",hyphen:\"\\u2010\",iacut:\"\\xED\",iacute:\"\\xED\",ic:\"\\u2063\",icir:\"\\xEE\",icirc:\"\\xEE\",icy:\"\\u0438\",iecy:\"\\u0435\",iexc:\"\\xA1\",iexcl:\"\\xA1\",iff:\"\\u21D4\",ifr:\"\\u{1D526}\",igrav:\"\\xEC\",igrave:\"\\xEC\",ii:\"\\u2148\",iiiint:\"\\u2A0C\",iiint:\"\\u222D\",iinfin:\"\\u29DC\",iiota:\"\\u2129\",ijlig:\"\\u0133\",imacr:\"\\u012B\",image:\"\\u2111\",imagline:\"\\u2110\",imagpart:\"\\u2111\",imath:\"\\u0131\",imof:\"\\u22B7\",imped:\"\\u01B5\",in:\"\\u2208\",incare:\"\\u2105\",infin:\"\\u221E\",infintie:\"\\u29DD\",inodot:\"\\u0131\",int:\"\\u222B\",intcal:\"\\u22BA\",integers:\"\\u2124\",intercal:\"\\u22BA\",intlarhk:\"\\u2A17\",intprod:\"\\u2A3C\",iocy:\"\\u0451\",iogon:\"\\u012F\",iopf:\"\\u{1D55A}\",iota:\"\\u03B9\",iprod:\"\\u2A3C\",iques:\"\\xBF\",iquest:\"\\xBF\",iscr:\"\\u{1D4BE}\",isin:\"\\u2208\",isinE:\"\\u22F9\",isindot:\"\\u22F5\",isins:\"\\u22F4\",isinsv:\"\\u22F3\",isinv:\"\\u2208\",it:\"\\u2062\",itilde:\"\\u0129\",iukcy:\"\\u0456\",ium:\"\\xEF\",iuml:\"\\xEF\",jcirc:\"\\u0135\",jcy:\"\\u0439\",jfr:\"\\u{1D527}\",jmath:\"\\u0237\",jopf:\"\\u{1D55B}\",jscr:\"\\u{1D4BF}\",jsercy:\"\\u0458\",jukcy:\"\\u0454\",kappa:\"\\u03BA\",kappav:\"\\u03F0\",kcedil:\"\\u0137\",kcy:\"\\u043A\",kfr:\"\\u{1D528}\",kgreen:\"\\u0138\",khcy:\"\\u0445\",kjcy:\"\\u045C\",kopf:\"\\u{1D55C}\",kscr:\"\\u{1D4C0}\",lAarr:\"\\u21DA\",lArr:\"\\u21D0\",lAtail:\"\\u291B\",lBarr:\"\\u290E\",lE:\"\\u2266\",lEg:\"\\u2A8B\",lHar:\"\\u2962\",lacute:\"\\u013A\",laemptyv:\"\\u29B4\",lagran:\"\\u2112\",lambda:\"\\u03BB\",lang:\"\\u27E8\",langd:\"\\u2991\",langle:\"\\u27E8\",lap:\"\\u2A85\",laqu:\"\\xAB\",laquo:\"\\xAB\",larr:\"\\u2190\",larrb:\"\\u21E4\",larrbfs:\"\\u291F\",larrfs:\"\\u291D\",larrhk:\"\\u21A9\",larrlp:\"\\u21AB\",larrpl:\"\\u2939\",larrsim:\"\\u2973\",larrtl:\"\\u21A2\",lat:\"\\u2AAB\",latail:\"\\u2919\",late:\"\\u2AAD\",lates:\"\\u2AAD\\uFE00\",lbarr:\"\\u290C\",lbbrk:\"\\u2772\",lbrace:\"{\",lbrack:\"[\",lbrke:\"\\u298B\",lbrksld:\"\\u298F\",lbrkslu:\"\\u298D\",lcaron:\"\\u013E\",lcedil:\"\\u013C\",lceil:\"\\u2308\",lcub:\"{\",lcy:\"\\u043B\",ldca:\"\\u2936\",ldquo:\"\\u201C\",ldquor:\"\\u201E\",ldrdhar:\"\\u2967\",ldrushar:\"\\u294B\",ldsh:\"\\u21B2\",le:\"\\u2264\",leftarrow:\"\\u2190\",leftarrowtail:\"\\u21A2\",leftharpoondown:\"\\u21BD\",leftharpoonup:\"\\u21BC\",leftleftarrows:\"\\u21C7\",leftrightarrow:\"\\u2194\",leftrightarrows:\"\\u21C6\",leftrightharpoons:\"\\u21CB\",leftrightsquigarrow:\"\\u21AD\",leftthreetimes:\"\\u22CB\",leg:\"\\u22DA\",leq:\"\\u2264\",leqq:\"\\u2266\",leqslant:\"\\u2A7D\",les:\"\\u2A7D\",lescc:\"\\u2AA8\",lesdot:\"\\u2A7F\",lesdoto:\"\\u2A81\",lesdotor:\"\\u2A83\",lesg:\"\\u22DA\\uFE00\",lesges:\"\\u2A93\",lessapprox:\"\\u2A85\",lessdot:\"\\u22D6\",lesseqgtr:\"\\u22DA\",lesseqqgtr:\"\\u2A8B\",lessgtr:\"\\u2276\",lesssim:\"\\u2272\",lfisht:\"\\u297C\",lfloor:\"\\u230A\",lfr:\"\\u{1D529}\",lg:\"\\u2276\",lgE:\"\\u2A91\",lhard:\"\\u21BD\",lharu:\"\\u21BC\",lharul:\"\\u296A\",lhblk:\"\\u2584\",ljcy:\"\\u0459\",ll:\"\\u226A\",llarr:\"\\u21C7\",llcorner:\"\\u231E\",llhard:\"\\u296B\",lltri:\"\\u25FA\",lmidot:\"\\u0140\",lmoust:\"\\u23B0\",lmoustache:\"\\u23B0\",lnE:\"\\u2268\",lnap:\"\\u2A89\",lnapprox:\"\\u2A89\",lne:\"\\u2A87\",lneq:\"\\u2A87\",lneqq:\"\\u2268\",lnsim:\"\\u22E6\",loang:\"\\u27EC\",loarr:\"\\u21FD\",lobrk:\"\\u27E6\",longleftarrow:\"\\u27F5\",longleftrightarrow:\"\\u27F7\",longmapsto:\"\\u27FC\",longrightarrow:\"\\u27F6\",looparrowleft:\"\\u21AB\",looparrowright:\"\\u21AC\",lopar:\"\\u2985\",lopf:\"\\u{1D55D}\",loplus:\"\\u2A2D\",lotimes:\"\\u2A34\",lowast:\"\\u2217\",lowbar:\"_\",loz:\"\\u25CA\",lozenge:\"\\u25CA\",lozf:\"\\u29EB\",lpar:\"(\",lparlt:\"\\u2993\",lrarr:\"\\u21C6\",lrcorner:\"\\u231F\",lrhar:\"\\u21CB\",lrhard:\"\\u296D\",lrm:\"\\u200E\",lrtri:\"\\u22BF\",lsaquo:\"\\u2039\",lscr:\"\\u{1D4C1}\",lsh:\"\\u21B0\",lsim:\"\\u2272\",lsime:\"\\u2A8D\",lsimg:\"\\u2A8F\",lsqb:\"[\",lsquo:\"\\u2018\",lsquor:\"\\u201A\",lstrok:\"\\u0142\",l:\"<\",lt:\"<\",ltcc:\"\\u2AA6\",ltcir:\"\\u2A79\",ltdot:\"\\u22D6\",lthree:\"\\u22CB\",ltimes:\"\\u22C9\",ltlarr:\"\\u2976\",ltquest:\"\\u2A7B\",ltrPar:\"\\u2996\",ltri:\"\\u25C3\",ltrie:\"\\u22B4\",ltrif:\"\\u25C2\",lurdshar:\"\\u294A\",luruhar:\"\\u2966\",lvertneqq:\"\\u2268\\uFE00\",lvnE:\"\\u2268\\uFE00\",mDDot:\"\\u223A\",mac:\"\\xAF\",macr:\"\\xAF\",male:\"\\u2642\",malt:\"\\u2720\",maltese:\"\\u2720\",map:\"\\u21A6\",mapsto:\"\\u21A6\",mapstodown:\"\\u21A7\",mapstoleft:\"\\u21A4\",mapstoup:\"\\u21A5\",marker:\"\\u25AE\",mcomma:\"\\u2A29\",mcy:\"\\u043C\",mdash:\"\\u2014\",measuredangle:\"\\u2221\",mfr:\"\\u{1D52A}\",mho:\"\\u2127\",micr:\"\\xB5\",micro:\"\\xB5\",mid:\"\\u2223\",midast:\"*\",midcir:\"\\u2AF0\",middo:\"\\xB7\",middot:\"\\xB7\",minus:\"\\u2212\",minusb:\"\\u229F\",minusd:\"\\u2238\",minusdu:\"\\u2A2A\",mlcp:\"\\u2ADB\",mldr:\"\\u2026\",mnplus:\"\\u2213\",models:\"\\u22A7\",mopf:\"\\u{1D55E}\",mp:\"\\u2213\",mscr:\"\\u{1D4C2}\",mstpos:\"\\u223E\",mu:\"\\u03BC\",multimap:\"\\u22B8\",mumap:\"\\u22B8\",nGg:\"\\u22D9\\u0338\",nGt:\"\\u226B\\u20D2\",nGtv:\"\\u226B\\u0338\",nLeftarrow:\"\\u21CD\",nLeftrightarrow:\"\\u21CE\",nLl:\"\\u22D8\\u0338\",nLt:\"\\u226A\\u20D2\",nLtv:\"\\u226A\\u0338\",nRightarrow:\"\\u21CF\",nVDash:\"\\u22AF\",nVdash:\"\\u22AE\",nabla:\"\\u2207\",nacute:\"\\u0144\",nang:\"\\u2220\\u20D2\",nap:\"\\u2249\",napE:\"\\u2A70\\u0338\",napid:\"\\u224B\\u0338\",napos:\"\\u0149\",napprox:\"\\u2249\",natur:\"\\u266E\",natural:\"\\u266E\",naturals:\"\\u2115\",nbs:\"\\xA0\",nbsp:\"\\xA0\",nbump:\"\\u224E\\u0338\",nbumpe:\"\\u224F\\u0338\",ncap:\"\\u2A43\",ncaron:\"\\u0148\",ncedil:\"\\u0146\",ncong:\"\\u2247\",ncongdot:\"\\u2A6D\\u0338\",ncup:\"\\u2A42\",ncy:\"\\u043D\",ndash:\"\\u2013\",ne:\"\\u2260\",neArr:\"\\u21D7\",nearhk:\"\\u2924\",nearr:\"\\u2197\",nearrow:\"\\u2197\",nedot:\"\\u2250\\u0338\",nequiv:\"\\u2262\",nesear:\"\\u2928\",nesim:\"\\u2242\\u0338\",nexist:\"\\u2204\",nexists:\"\\u2204\",nfr:\"\\u{1D52B}\",ngE:\"\\u2267\\u0338\",nge:\"\\u2271\",ngeq:\"\\u2271\",ngeqq:\"\\u2267\\u0338\",ngeqslant:\"\\u2A7E\\u0338\",nges:\"\\u2A7E\\u0338\",ngsim:\"\\u2275\",ngt:\"\\u226F\",ngtr:\"\\u226F\",nhArr:\"\\u21CE\",nharr:\"\\u21AE\",nhpar:\"\\u2AF2\",ni:\"\\u220B\",nis:\"\\u22FC\",nisd:\"\\u22FA\",niv:\"\\u220B\",njcy:\"\\u045A\",nlArr:\"\\u21CD\",nlE:\"\\u2266\\u0338\",nlarr:\"\\u219A\",nldr:\"\\u2025\",nle:\"\\u2270\",nleftarrow:\"\\u219A\",nleftrightarrow:\"\\u21AE\",nleq:\"\\u2270\",nleqq:\"\\u2266\\u0338\",nleqslant:\"\\u2A7D\\u0338\",nles:\"\\u2A7D\\u0338\",nless:\"\\u226E\",nlsim:\"\\u2274\",nlt:\"\\u226E\",nltri:\"\\u22EA\",nltrie:\"\\u22EC\",nmid:\"\\u2224\",nopf:\"\\u{1D55F}\",no:\"\\xAC\",not:\"\\xAC\",notin:\"\\u2209\",notinE:\"\\u22F9\\u0338\",notindot:\"\\u22F5\\u0338\",notinva:\"\\u2209\",notinvb:\"\\u22F7\",notinvc:\"\\u22F6\",notni:\"\\u220C\",notniva:\"\\u220C\",notnivb:\"\\u22FE\",notnivc:\"\\u22FD\",npar:\"\\u2226\",nparallel:\"\\u2226\",nparsl:\"\\u2AFD\\u20E5\",npart:\"\\u2202\\u0338\",npolint:\"\\u2A14\",npr:\"\\u2280\",nprcue:\"\\u22E0\",npre:\"\\u2AAF\\u0338\",nprec:\"\\u2280\",npreceq:\"\\u2AAF\\u0338\",nrArr:\"\\u21CF\",nrarr:\"\\u219B\",nrarrc:\"\\u2933\\u0338\",nrarrw:\"\\u219D\\u0338\",nrightarrow:\"\\u219B\",nrtri:\"\\u22EB\",nrtrie:\"\\u22ED\",nsc:\"\\u2281\",nsccue:\"\\u22E1\",nsce:\"\\u2AB0\\u0338\",nscr:\"\\u{1D4C3}\",nshortmid:\"\\u2224\",nshortparallel:\"\\u2226\",nsim:\"\\u2241\",nsime:\"\\u2244\",nsimeq:\"\\u2244\",nsmid:\"\\u2224\",nspar:\"\\u2226\",nsqsube:\"\\u22E2\",nsqsupe:\"\\u22E3\",nsub:\"\\u2284\",nsubE:\"\\u2AC5\\u0338\",nsube:\"\\u2288\",nsubset:\"\\u2282\\u20D2\",nsubseteq:\"\\u2288\",nsubseteqq:\"\\u2AC5\\u0338\",nsucc:\"\\u2281\",nsucceq:\"\\u2AB0\\u0338\",nsup:\"\\u2285\",nsupE:\"\\u2AC6\\u0338\",nsupe:\"\\u2289\",nsupset:\"\\u2283\\u20D2\",nsupseteq:\"\\u2289\",nsupseteqq:\"\\u2AC6\\u0338\",ntgl:\"\\u2279\",ntild:\"\\xF1\",ntilde:\"\\xF1\",ntlg:\"\\u2278\",ntriangleleft:\"\\u22EA\",ntrianglelefteq:\"\\u22EC\",ntriangleright:\"\\u22EB\",ntrianglerighteq:\"\\u22ED\",nu:\"\\u03BD\",num:\"#\",numero:\"\\u2116\",numsp:\"\\u2007\",nvDash:\"\\u22AD\",nvHarr:\"\\u2904\",nvap:\"\\u224D\\u20D2\",nvdash:\"\\u22AC\",nvge:\"\\u2265\\u20D2\",nvgt:\">\\u20D2\",nvinfin:\"\\u29DE\",nvlArr:\"\\u2902\",nvle:\"\\u2264\\u20D2\",nvlt:\"<\\u20D2\",nvltrie:\"\\u22B4\\u20D2\",nvrArr:\"\\u2903\",nvrtrie:\"\\u22B5\\u20D2\",nvsim:\"\\u223C\\u20D2\",nwArr:\"\\u21D6\",nwarhk:\"\\u2923\",nwarr:\"\\u2196\",nwarrow:\"\\u2196\",nwnear:\"\\u2927\",oS:\"\\u24C8\",oacut:\"\\xF3\",oacute:\"\\xF3\",oast:\"\\u229B\",ocir:\"\\xF4\",ocirc:\"\\xF4\",ocy:\"\\u043E\",odash:\"\\u229D\",odblac:\"\\u0151\",odiv:\"\\u2A38\",odot:\"\\u2299\",odsold:\"\\u29BC\",oelig:\"\\u0153\",ofcir:\"\\u29BF\",ofr:\"\\u{1D52C}\",ogon:\"\\u02DB\",ograv:\"\\xF2\",ograve:\"\\xF2\",ogt:\"\\u29C1\",ohbar:\"\\u29B5\",ohm:\"\\u03A9\",oint:\"\\u222E\",olarr:\"\\u21BA\",olcir:\"\\u29BE\",olcross:\"\\u29BB\",oline:\"\\u203E\",olt:\"\\u29C0\",omacr:\"\\u014D\",omega:\"\\u03C9\",omicron:\"\\u03BF\",omid:\"\\u29B6\",ominus:\"\\u2296\",oopf:\"\\u{1D560}\",opar:\"\\u29B7\",operp:\"\\u29B9\",oplus:\"\\u2295\",or:\"\\u2228\",orarr:\"\\u21BB\",ord:\"\\xBA\",order:\"\\u2134\",orderof:\"\\u2134\",ordf:\"\\xAA\",ordm:\"\\xBA\",origof:\"\\u22B6\",oror:\"\\u2A56\",orslope:\"\\u2A57\",orv:\"\\u2A5B\",oscr:\"\\u2134\",oslas:\"\\xF8\",oslash:\"\\xF8\",osol:\"\\u2298\",otild:\"\\xF5\",otilde:\"\\xF5\",otimes:\"\\u2297\",otimesas:\"\\u2A36\",oum:\"\\xF6\",ouml:\"\\xF6\",ovbar:\"\\u233D\",par:\"\\xB6\",para:\"\\xB6\",parallel:\"\\u2225\",parsim:\"\\u2AF3\",parsl:\"\\u2AFD\",part:\"\\u2202\",pcy:\"\\u043F\",percnt:\"%\",period:\".\",permil:\"\\u2030\",perp:\"\\u22A5\",pertenk:\"\\u2031\",pfr:\"\\u{1D52D}\",phi:\"\\u03C6\",phiv:\"\\u03D5\",phmmat:\"\\u2133\",phone:\"\\u260E\",pi:\"\\u03C0\",pitchfork:\"\\u22D4\",piv:\"\\u03D6\",planck:\"\\u210F\",planckh:\"\\u210E\",plankv:\"\\u210F\",plus:\"+\",plusacir:\"\\u2A23\",plusb:\"\\u229E\",pluscir:\"\\u2A22\",plusdo:\"\\u2214\",plusdu:\"\\u2A25\",pluse:\"\\u2A72\",plusm:\"\\xB1\",plusmn:\"\\xB1\",plussim:\"\\u2A26\",plustwo:\"\\u2A27\",pm:\"\\xB1\",pointint:\"\\u2A15\",popf:\"\\u{1D561}\",poun:\"\\xA3\",pound:\"\\xA3\",pr:\"\\u227A\",prE:\"\\u2AB3\",prap:\"\\u2AB7\",prcue:\"\\u227C\",pre:\"\\u2AAF\",prec:\"\\u227A\",precapprox:\"\\u2AB7\",preccurlyeq:\"\\u227C\",preceq:\"\\u2AAF\",precnapprox:\"\\u2AB9\",precneqq:\"\\u2AB5\",precnsim:\"\\u22E8\",precsim:\"\\u227E\",prime:\"\\u2032\",primes:\"\\u2119\",prnE:\"\\u2AB5\",prnap:\"\\u2AB9\",prnsim:\"\\u22E8\",prod:\"\\u220F\",profalar:\"\\u232E\",profline:\"\\u2312\",profsurf:\"\\u2313\",prop:\"\\u221D\",propto:\"\\u221D\",prsim:\"\\u227E\",prurel:\"\\u22B0\",pscr:\"\\u{1D4C5}\",psi:\"\\u03C8\",puncsp:\"\\u2008\",qfr:\"\\u{1D52E}\",qint:\"\\u2A0C\",qopf:\"\\u{1D562}\",qprime:\"\\u2057\",qscr:\"\\u{1D4C6}\",quaternions:\"\\u210D\",quatint:\"\\u2A16\",quest:\"?\",questeq:\"\\u225F\",quo:'\"',quot:'\"',rAarr:\"\\u21DB\",rArr:\"\\u21D2\",rAtail:\"\\u291C\",rBarr:\"\\u290F\",rHar:\"\\u2964\",race:\"\\u223D\\u0331\",racute:\"\\u0155\",radic:\"\\u221A\",raemptyv:\"\\u29B3\",rang:\"\\u27E9\",rangd:\"\\u2992\",range:\"\\u29A5\",rangle:\"\\u27E9\",raqu:\"\\xBB\",raquo:\"\\xBB\",rarr:\"\\u2192\",rarrap:\"\\u2975\",rarrb:\"\\u21E5\",rarrbfs:\"\\u2920\",rarrc:\"\\u2933\",rarrfs:\"\\u291E\",rarrhk:\"\\u21AA\",rarrlp:\"\\u21AC\",rarrpl:\"\\u2945\",rarrsim:\"\\u2974\",rarrtl:\"\\u21A3\",rarrw:\"\\u219D\",ratail:\"\\u291A\",ratio:\"\\u2236\",rationals:\"\\u211A\",rbarr:\"\\u290D\",rbbrk:\"\\u2773\",rbrace:\"}\",rbrack:\"]\",rbrke:\"\\u298C\",rbrksld:\"\\u298E\",rbrkslu:\"\\u2990\",rcaron:\"\\u0159\",rcedil:\"\\u0157\",rceil:\"\\u2309\",rcub:\"}\",rcy:\"\\u0440\",rdca:\"\\u2937\",rdldhar:\"\\u2969\",rdquo:\"\\u201D\",rdquor:\"\\u201D\",rdsh:\"\\u21B3\",real:\"\\u211C\",realine:\"\\u211B\",realpart:\"\\u211C\",reals:\"\\u211D\",rect:\"\\u25AD\",re:\"\\xAE\",reg:\"\\xAE\",rfisht:\"\\u297D\",rfloor:\"\\u230B\",rfr:\"\\u{1D52F}\",rhard:\"\\u21C1\",rharu:\"\\u21C0\",rharul:\"\\u296C\",rho:\"\\u03C1\",rhov:\"\\u03F1\",rightarrow:\"\\u2192\",rightarrowtail:\"\\u21A3\",rightharpoondown:\"\\u21C1\",rightharpoonup:\"\\u21C0\",rightleftarrows:\"\\u21C4\",rightleftharpoons:\"\\u21CC\",rightrightarrows:\"\\u21C9\",rightsquigarrow:\"\\u219D\",rightthreetimes:\"\\u22CC\",ring:\"\\u02DA\",risingdotseq:\"\\u2253\",rlarr:\"\\u21C4\",rlhar:\"\\u21CC\",rlm:\"\\u200F\",rmoust:\"\\u23B1\",rmoustache:\"\\u23B1\",rnmid:\"\\u2AEE\",roang:\"\\u27ED\",roarr:\"\\u21FE\",robrk:\"\\u27E7\",ropar:\"\\u2986\",ropf:\"\\u{1D563}\",roplus:\"\\u2A2E\",rotimes:\"\\u2A35\",rpar:\")\",rpargt:\"\\u2994\",rppolint:\"\\u2A12\",rrarr:\"\\u21C9\",rsaquo:\"\\u203A\",rscr:\"\\u{1D4C7}\",rsh:\"\\u21B1\",rsqb:\"]\",rsquo:\"\\u2019\",rsquor:\"\\u2019\",rthree:\"\\u22CC\",rtimes:\"\\u22CA\",rtri:\"\\u25B9\",rtrie:\"\\u22B5\",rtrif:\"\\u25B8\",rtriltri:\"\\u29CE\",ruluhar:\"\\u2968\",rx:\"\\u211E\",sacute:\"\\u015B\",sbquo:\"\\u201A\",sc:\"\\u227B\",scE:\"\\u2AB4\",scap:\"\\u2AB8\",scaron:\"\\u0161\",sccue:\"\\u227D\",sce:\"\\u2AB0\",scedil:\"\\u015F\",scirc:\"\\u015D\",scnE:\"\\u2AB6\",scnap:\"\\u2ABA\",scnsim:\"\\u22E9\",scpolint:\"\\u2A13\",scsim:\"\\u227F\",scy:\"\\u0441\",sdot:\"\\u22C5\",sdotb:\"\\u22A1\",sdote:\"\\u2A66\",seArr:\"\\u21D8\",searhk:\"\\u2925\",searr:\"\\u2198\",searrow:\"\\u2198\",sec:\"\\xA7\",sect:\"\\xA7\",semi:\";\",seswar:\"\\u2929\",setminus:\"\\u2216\",setmn:\"\\u2216\",sext:\"\\u2736\",sfr:\"\\u{1D530}\",sfrown:\"\\u2322\",sharp:\"\\u266F\",shchcy:\"\\u0449\",shcy:\"\\u0448\",shortmid:\"\\u2223\",shortparallel:\"\\u2225\",sh:\"\\xAD\",shy:\"\\xAD\",sigma:\"\\u03C3\",sigmaf:\"\\u03C2\",sigmav:\"\\u03C2\",sim:\"\\u223C\",simdot:\"\\u2A6A\",sime:\"\\u2243\",simeq:\"\\u2243\",simg:\"\\u2A9E\",simgE:\"\\u2AA0\",siml:\"\\u2A9D\",simlE:\"\\u2A9F\",simne:\"\\u2246\",simplus:\"\\u2A24\",simrarr:\"\\u2972\",slarr:\"\\u2190\",smallsetminus:\"\\u2216\",smashp:\"\\u2A33\",smeparsl:\"\\u29E4\",smid:\"\\u2223\",smile:\"\\u2323\",smt:\"\\u2AAA\",smte:\"\\u2AAC\",smtes:\"\\u2AAC\\uFE00\",softcy:\"\\u044C\",sol:\"/\",solb:\"\\u29C4\",solbar:\"\\u233F\",sopf:\"\\u{1D564}\",spades:\"\\u2660\",spadesuit:\"\\u2660\",spar:\"\\u2225\",sqcap:\"\\u2293\",sqcaps:\"\\u2293\\uFE00\",sqcup:\"\\u2294\",sqcups:\"\\u2294\\uFE00\",sqsub:\"\\u228F\",sqsube:\"\\u2291\",sqsubset:\"\\u228F\",sqsubseteq:\"\\u2291\",sqsup:\"\\u2290\",sqsupe:\"\\u2292\",sqsupset:\"\\u2290\",sqsupseteq:\"\\u2292\",squ:\"\\u25A1\",square:\"\\u25A1\",squarf:\"\\u25AA\",squf:\"\\u25AA\",srarr:\"\\u2192\",sscr:\"\\u{1D4C8}\",ssetmn:\"\\u2216\",ssmile:\"\\u2323\",sstarf:\"\\u22C6\",star:\"\\u2606\",starf:\"\\u2605\",straightepsilon:\"\\u03F5\",straightphi:\"\\u03D5\",strns:\"\\xAF\",sub:\"\\u2282\",subE:\"\\u2AC5\",subdot:\"\\u2ABD\",sube:\"\\u2286\",subedot:\"\\u2AC3\",submult:\"\\u2AC1\",subnE:\"\\u2ACB\",subne:\"\\u228A\",subplus:\"\\u2ABF\",subrarr:\"\\u2979\",subset:\"\\u2282\",subseteq:\"\\u2286\",subseteqq:\"\\u2AC5\",subsetneq:\"\\u228A\",subsetneqq:\"\\u2ACB\",subsim:\"\\u2AC7\",subsub:\"\\u2AD5\",subsup:\"\\u2AD3\",succ:\"\\u227B\",succapprox:\"\\u2AB8\",succcurlyeq:\"\\u227D\",succeq:\"\\u2AB0\",succnapprox:\"\\u2ABA\",succneqq:\"\\u2AB6\",succnsim:\"\\u22E9\",succsim:\"\\u227F\",sum:\"\\u2211\",sung:\"\\u266A\",sup:\"\\u2283\",sup1:\"\\xB9\",sup2:\"\\xB2\",sup3:\"\\xB3\",supE:\"\\u2AC6\",supdot:\"\\u2ABE\",supdsub:\"\\u2AD8\",supe:\"\\u2287\",supedot:\"\\u2AC4\",suphsol:\"\\u27C9\",suphsub:\"\\u2AD7\",suplarr:\"\\u297B\",supmult:\"\\u2AC2\",supnE:\"\\u2ACC\",supne:\"\\u228B\",supplus:\"\\u2AC0\",supset:\"\\u2283\",supseteq:\"\\u2287\",supseteqq:\"\\u2AC6\",supsetneq:\"\\u228B\",supsetneqq:\"\\u2ACC\",supsim:\"\\u2AC8\",supsub:\"\\u2AD4\",supsup:\"\\u2AD6\",swArr:\"\\u21D9\",swarhk:\"\\u2926\",swarr:\"\\u2199\",swarrow:\"\\u2199\",swnwar:\"\\u292A\",szli:\"\\xDF\",szlig:\"\\xDF\",target:\"\\u2316\",tau:\"\\u03C4\",tbrk:\"\\u23B4\",tcaron:\"\\u0165\",tcedil:\"\\u0163\",tcy:\"\\u0442\",tdot:\"\\u20DB\",telrec:\"\\u2315\",tfr:\"\\u{1D531}\",there4:\"\\u2234\",therefore:\"\\u2234\",theta:\"\\u03B8\",thetasym:\"\\u03D1\",thetav:\"\\u03D1\",thickapprox:\"\\u2248\",thicksim:\"\\u223C\",thinsp:\"\\u2009\",thkap:\"\\u2248\",thksim:\"\\u223C\",thor:\"\\xFE\",thorn:\"\\xFE\",tilde:\"\\u02DC\",time:\"\\xD7\",times:\"\\xD7\",timesb:\"\\u22A0\",timesbar:\"\\u2A31\",timesd:\"\\u2A30\",tint:\"\\u222D\",toea:\"\\u2928\",top:\"\\u22A4\",topbot:\"\\u2336\",topcir:\"\\u2AF1\",topf:\"\\u{1D565}\",topfork:\"\\u2ADA\",tosa:\"\\u2929\",tprime:\"\\u2034\",trade:\"\\u2122\",triangle:\"\\u25B5\",triangledown:\"\\u25BF\",triangleleft:\"\\u25C3\",trianglelefteq:\"\\u22B4\",triangleq:\"\\u225C\",triangleright:\"\\u25B9\",trianglerighteq:\"\\u22B5\",tridot:\"\\u25EC\",trie:\"\\u225C\",triminus:\"\\u2A3A\",triplus:\"\\u2A39\",trisb:\"\\u29CD\",tritime:\"\\u2A3B\",trpezium:\"\\u23E2\",tscr:\"\\u{1D4C9}\",tscy:\"\\u0446\",tshcy:\"\\u045B\",tstrok:\"\\u0167\",twixt:\"\\u226C\",twoheadleftarrow:\"\\u219E\",twoheadrightarrow:\"\\u21A0\",uArr:\"\\u21D1\",uHar:\"\\u2963\",uacut:\"\\xFA\",uacute:\"\\xFA\",uarr:\"\\u2191\",ubrcy:\"\\u045E\",ubreve:\"\\u016D\",ucir:\"\\xFB\",ucirc:\"\\xFB\",ucy:\"\\u0443\",udarr:\"\\u21C5\",udblac:\"\\u0171\",udhar:\"\\u296E\",ufisht:\"\\u297E\",ufr:\"\\u{1D532}\",ugrav:\"\\xF9\",ugrave:\"\\xF9\",uharl:\"\\u21BF\",uharr:\"\\u21BE\",uhblk:\"\\u2580\",ulcorn:\"\\u231C\",ulcorner:\"\\u231C\",ulcrop:\"\\u230F\",ultri:\"\\u25F8\",umacr:\"\\u016B\",um:\"\\xA8\",uml:\"\\xA8\",uogon:\"\\u0173\",uopf:\"\\u{1D566}\",uparrow:\"\\u2191\",updownarrow:\"\\u2195\",upharpoonleft:\"\\u21BF\",upharpoonright:\"\\u21BE\",uplus:\"\\u228E\",upsi:\"\\u03C5\",upsih:\"\\u03D2\",upsilon:\"\\u03C5\",upuparrows:\"\\u21C8\",urcorn:\"\\u231D\",urcorner:\"\\u231D\",urcrop:\"\\u230E\",uring:\"\\u016F\",urtri:\"\\u25F9\",uscr:\"\\u{1D4CA}\",utdot:\"\\u22F0\",utilde:\"\\u0169\",utri:\"\\u25B5\",utrif:\"\\u25B4\",uuarr:\"\\u21C8\",uum:\"\\xFC\",uuml:\"\\xFC\",uwangle:\"\\u29A7\",vArr:\"\\u21D5\",vBar:\"\\u2AE8\",vBarv:\"\\u2AE9\",vDash:\"\\u22A8\",vangrt:\"\\u299C\",varepsilon:\"\\u03F5\",varkappa:\"\\u03F0\",varnothing:\"\\u2205\",varphi:\"\\u03D5\",varpi:\"\\u03D6\",varpropto:\"\\u221D\",varr:\"\\u2195\",varrho:\"\\u03F1\",varsigma:\"\\u03C2\",varsubsetneq:\"\\u228A\\uFE00\",varsubsetneqq:\"\\u2ACB\\uFE00\",varsupsetneq:\"\\u228B\\uFE00\",varsupsetneqq:\"\\u2ACC\\uFE00\",vartheta:\"\\u03D1\",vartriangleleft:\"\\u22B2\",vartriangleright:\"\\u22B3\",vcy:\"\\u0432\",vdash:\"\\u22A2\",vee:\"\\u2228\",veebar:\"\\u22BB\",veeeq:\"\\u225A\",vellip:\"\\u22EE\",verbar:\"|\",vert:\"|\",vfr:\"\\u{1D533}\",vltri:\"\\u22B2\",vnsub:\"\\u2282\\u20D2\",vnsup:\"\\u2283\\u20D2\",vopf:\"\\u{1D567}\",vprop:\"\\u221D\",vrtri:\"\\u22B3\",vscr:\"\\u{1D4CB}\",vsubnE:\"\\u2ACB\\uFE00\",vsubne:\"\\u228A\\uFE00\",vsupnE:\"\\u2ACC\\uFE00\",vsupne:\"\\u228B\\uFE00\",vzigzag:\"\\u299A\",wcirc:\"\\u0175\",wedbar:\"\\u2A5F\",wedge:\"\\u2227\",wedgeq:\"\\u2259\",weierp:\"\\u2118\",wfr:\"\\u{1D534}\",wopf:\"\\u{1D568}\",wp:\"\\u2118\",wr:\"\\u2240\",wreath:\"\\u2240\",wscr:\"\\u{1D4CC}\",xcap:\"\\u22C2\",xcirc:\"\\u25EF\",xcup:\"\\u22C3\",xdtri:\"\\u25BD\",xfr:\"\\u{1D535}\",xhArr:\"\\u27FA\",xharr:\"\\u27F7\",xi:\"\\u03BE\",xlArr:\"\\u27F8\",xlarr:\"\\u27F5\",xmap:\"\\u27FC\",xnis:\"\\u22FB\",xodot:\"\\u2A00\",xopf:\"\\u{1D569}\",xoplus:\"\\u2A01\",xotime:\"\\u2A02\",xrArr:\"\\u27F9\",xrarr:\"\\u27F6\",xscr:\"\\u{1D4CD}\",xsqcup:\"\\u2A06\",xuplus:\"\\u2A04\",xutri:\"\\u25B3\",xvee:\"\\u22C1\",xwedge:\"\\u22C0\",yacut:\"\\xFD\",yacute:\"\\xFD\",yacy:\"\\u044F\",ycirc:\"\\u0177\",ycy:\"\\u044B\",ye:\"\\xA5\",yen:\"\\xA5\",yfr:\"\\u{1D536}\",yicy:\"\\u0457\",yopf:\"\\u{1D56A}\",yscr:\"\\u{1D4CE}\",yucy:\"\\u044E\",yum:\"\\xFF\",yuml:\"\\xFF\",zacute:\"\\u017A\",zcaron:\"\\u017E\",zcy:\"\\u0437\",zdot:\"\\u017C\",zeetrf:\"\\u2128\",zeta:\"\\u03B6\",zfr:\"\\u{1D537}\",zhcy:\"\\u0436\",zigrarr:\"\\u21DD\",zopf:\"\\u{1D56B}\",zscr:\"\\u{1D4CF}\",zwj:\"\\u200D\",zwnj:\"\\u200C\"}}}),qu=gt({\"node_modules/parse-entities/decode-entity.js\"(di,En){Pn();var Ot=Pd();En.exports=Vt;var Wt={}.hasOwnProperty;function Vt(yt){return Wt.call(Ot,yt)?Ot[yt]:!1}}}),Yu=gt({\"node_modules/parse-entities/index.js\"(di,En){Pn();var Ot=jl(),Wt=Un(),Vt=mu(),yt=uc(),Pt=Ku(),Gt=qu();En.exports=_n;var St={}.hasOwnProperty,un=String.fromCharCode,ft=Function.prototype,Zt={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},qn=9,On=10,Ri=12,Gi=32,Ti=38,mr=59,mn=60,hr=61,ti=35,Qn=88,b=120,v=65533,X=\"named\",de=\"hexadecimal\",ve=\"decimal\",ie={};ie[de]=16,ie[ve]=10;var V={};V[X]=Pt,V[ve]=Vt,V[de]=yt;var P=1,he=2,N=3,se=4,Se=5,S=6,Re=7,dt={};dt[P]=\"Named character references must be terminated by a semicolon\",dt[he]=\"Numeric character references must be terminated by a semicolon\",dt[N]=\"Named character references cannot be empty\",dt[se]=\"Numeric character references cannot be empty\",dt[Se]=\"Named character references must be known\",dt[S]=\"Numeric character references cannot be disallowed\",dt[Re]=\"Numeric character references cannot be outside the permissible Unicode range\";function _n(yn,vn){var Ut={},In,Vi;vn||(vn={});for(Vi in Zt)In=vn[Vi],Ut[Vi]=In==null?Zt[Vi]:In;return(Ut.position.indent||Ut.position.start)&&(Ut.indent=Ut.position.indent||[],Ut.position=Ut.position.start),Qt(yn,Ut)}function Qt(yn,vn){var Ut=vn.additional,In=vn.nonTerminated,Vi=vn.text,ct=vn.reference,xi=vn.warning,qr=vn.textContext,xr=vn.referenceContext,Bs=vn.warningContext,Mi=vn.position,ms=vn.indent||[],Ks=yn.length,is=0,Ms=-1,to=Mi.column||1,Lo=Mi.line||1,ji=\"\",jr=[],ss,Jo,da,ha,cc,Ou,Xu,Bd,ip,zp,Kr,so,xa,Wa,pu,yc,Df,jh,Qu;for(typeof Ut==\"string\"&&(Ut=Ut.charCodeAt(0)),yc=Up(),Bd=xi?Om:ft,is--,Ks++;++is<Ks;)if(cc===On&&(to=ms[Ms]||1),cc=yn.charCodeAt(is),cc===Ti){if(Xu=yn.charCodeAt(is+1),Xu===qn||Xu===On||Xu===Ri||Xu===Gi||Xu===Ti||Xu===mn||Xu!==Xu||Ut&&Xu===Ut){ji+=un(cc),to++;continue}for(xa=is+1,so=xa,Qu=xa,Xu===ti?(Qu=++so,Xu=yn.charCodeAt(Qu),Xu===Qn||Xu===b?(Wa=de,Qu=++so):Wa=ve):Wa=X,ss=\"\",Kr=\"\",ha=\"\",pu=V[Wa],Qu--;++Qu<Ks&&(Xu=yn.charCodeAt(Qu),!!pu(Xu));)ha+=un(Xu),Wa===X&&St.call(Ot,ha)&&(ss=ha,Kr=Ot[ha]);da=yn.charCodeAt(Qu)===mr,da&&(Qu++,Jo=Wa===X?Gt(ha):!1,Jo&&(ss=ha,Kr=Jo)),jh=1+Qu-xa,!da&&!In||(ha?Wa===X?(da&&!Kr?Bd(Se,1):(ss!==ha&&(Qu=so+ss.length,jh=1+Qu-so,da=!1),da||(ip=ss?P:N,vn.attribute?(Xu=yn.charCodeAt(Qu),Xu===hr?(Bd(ip,jh),Kr=null):Pt(Xu)?Kr=null:Bd(ip,jh)):Bd(ip,jh))),Ou=Kr):(da||Bd(he,jh),Ou=parseInt(ha,ie[Wa]),Mn(Ou)?(Bd(Re,jh),Ou=un(v)):Ou in Wt?(Bd(S,jh),Ou=Wt[Ou]):(zp=\"\",Bi(Ou)&&Bd(S,jh),Ou>65535&&(Ou-=65536,zp+=un(Ou>>>10|55296),Ou=56320|Ou&1023),Ou=zp+un(Ou))):Wa!==X&&Bd(se,jh)),Ou?(xp(),yc=Up(),is=Qu-1,to+=Qu-xa+1,jr.push(Ou),Df=Up(),Df.offset++,ct&&ct.call(xr,Ou,{start:yc,end:Df},yn.slice(xa-1,Qu)),yc=Df):(ha=yn.slice(xa-1,Qu),ji+=ha,to+=ha.length,is=Qu-1)}else cc===10&&(Lo++,Ms++,to=0),cc===cc?(ji+=un(cc),to++):xp();return jr.join(\"\");function Up(){return{line:Lo,column:to,offset:is+(Mi.offset||0)}}function Om($f,D_){var K=Up();K.column+=D_,K.offset+=D_,xi.call(Bs,dt[$f],K,$f)}function xp(){ji&&(jr.push(ji),Vi&&Vi.call(qr,ji,{start:yc,end:Up()}),ji=\"\")}}function Mn(yn){return yn>=55296&&yn<=57343||yn>1114111}function Bi(yn){return yn>=1&&yn<=8||yn===11||yn>=13&&yn<=31||yn>=127&&yn<=159||yn>=64976&&yn<=65007||(yn&65535)===65535||(yn&65535)===65534}}}),xc=gt({\"node_modules/remark-parse/lib/decode.js\"(di,En){Pn();var Ot=os(),Wt=Yu();En.exports=Vt;function Vt(yt){return Gt.raw=St,Gt;function Pt(ft){for(var Zt=yt.offset,qn=ft.line,On=[];++qn&&qn in Zt;)On.push((Zt[qn]||0)+1);return{start:ft,indent:On}}function Gt(ft,Zt,qn){Wt(ft,{position:Pt(Zt),warning:un,text:qn,reference:qn,textContext:yt,referenceContext:yt})}function St(ft,Zt,qn){return Wt(ft,Ot(qn,{position:Pt(Zt),warning:un}))}function un(ft,Zt,qn){qn!==3&&yt.file.message(ft,Zt)}}}}),Vc=gt({\"node_modules/remark-parse/lib/tokenizer.js\"(di,En){Pn(),En.exports=Ot;function Ot(Pt){return Gt;function Gt(St,un){var ft=this,Zt=ft.offset,qn=[],On=ft[Pt+\"Methods\"],Ri=ft[Pt+\"Tokenizers\"],Gi=un.line,Ti=un.column,mr,mn,hr,ti,Qn,b;if(!St)return qn;for(he.now=de,he.file=ft.file,v(\"\");St;){for(mr=-1,mn=On.length,Qn=!1;++mr<mn&&(ti=On[mr],hr=Ri[ti],!(hr&&(!hr.onlyAtStart||ft.atStart)&&(!hr.notInList||!ft.inList)&&(!hr.notInBlock||!ft.inBlock)&&(!hr.notInLink||!ft.inLink)&&(b=St.length,hr.apply(ft,[he,St]),Qn=b!==St.length,Qn))););Qn||ft.file.fail(new Error(\"Infinite loop\"),he.now())}return ft.eof=de(),qn;function v(N){for(var se=-1,Se=N.indexOf(`\n`);Se!==-1;)Gi++,se=Se,Se=N.indexOf(`\n`,Se+1);se===-1?Ti+=N.length:Ti=N.length-se,Gi in Zt&&(se!==-1?Ti+=Zt[Gi]:Ti<=Zt[Gi]&&(Ti=Zt[Gi]+1))}function X(){var N=[],se=Gi+1;return function(){for(var Se=Gi+1;se<Se;)N.push((Zt[se]||0)+1),se++;return N}}function de(){var N={line:Gi,column:Ti};return N.offset=ft.toOffset(N),N}function ve(N){this.start=N,this.end=de()}function ie(N){St.slice(0,N.length)!==N&&ft.file.fail(new Error(\"Incorrectly eaten value: please report this warning on https://git.io/vg5Ft\"),de())}function V(){var N=de();return se;function se(Se,S){var Re=Se.position,dt=Re?Re.start:N,_n=[],Qt=Re&&Re.end.line,Mn=N.line;if(Se.position=new ve(dt),Re&&S&&Re.indent){if(_n=Re.indent,Qt<Mn){for(;++Qt<Mn;)_n.push((Zt[Qt]||0)+1);_n.push(N.column)}S=_n.concat(S)}return Se.position.indent=S||[],Se}}function P(N,se){var Se=se?se.children:qn,S=Se[Se.length-1],Re;return S&&N.type===S.type&&(N.type===\"text\"||N.type===\"blockquote\")&&Wt(S)&&Wt(N)&&(Re=N.type===\"text\"?Vt:yt,N=Re.call(ft,S,N)),N!==S&&Se.push(N),ft.atStart&&qn.length!==0&&ft.exitStart(),N}function he(N){var se=X(),Se=V(),S=de();return ie(N),Re.reset=dt,dt.test=_n,Re.test=_n,St=St.slice(N.length),v(N),se=se(),Re;function Re(Qt,Mn){return Se(P(Se(Qt),Mn),se)}function dt(){var Qt=Re.apply(null,arguments);return Gi=S.line,Ti=S.column,St=N+St,Qt}function _n(){var Qt=Se({});return Gi=S.line,Ti=S.column,St=N+St,Qt.position}}}}function Wt(Pt){var Gt,St;return Pt.type!==\"text\"||!Pt.position?!0:(Gt=Pt.position.start,St=Pt.position.end,Gt.line!==St.line||St.column-Gt.column===Pt.value.length)}function Vt(Pt,Gt){return Pt.value+=Gt.value,Pt}function yt(Pt,Gt){return this.options.commonmark||this.options.gfm?Gt:(Pt.children=Pt.children.concat(Gt.children),Pt)}}}),ep=gt({\"node_modules/markdown-escapes/index.js\"(di,En){Pn(),En.exports=yt;var Ot=[\"\\\\\",\"`\",\"*\",\"{\",\"}\",\"[\",\"]\",\"(\",\")\",\"#\",\"+\",\"-\",\".\",\"!\",\"_\",\">\"],Wt=Ot.concat([\"~\",\"|\"]),Vt=Wt.concat([`\n`,'\"',\"$\",\"%\",\"&\",\"'\",\",\",\"/\",\":\",\";\",\"<\",\"=\",\"?\",\"@\",\"^\"]);yt.default=Ot,yt.gfm=Wt,yt.commonmark=Vt;function yt(Pt){var Gt=Pt||{};return Gt.commonmark?Vt:Gt.gfm?Wt:Ot}}}),Od=gt({\"node_modules/remark-parse/lib/block-elements.js\"(di,En){Pn(),En.exports=[\"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\",\"hgroup\",\"hr\",\"html\",\"iframe\",\"legend\",\"li\",\"link\",\"main\",\"menu\",\"menuitem\",\"meta\",\"nav\",\"noframes\",\"ol\",\"optgroup\",\"option\",\"p\",\"param\",\"pre\",\"section\",\"source\",\"title\",\"summary\",\"table\",\"tbody\",\"td\",\"tfoot\",\"th\",\"thead\",\"title\",\"tr\",\"track\",\"ul\"]}}),gl=gt({\"node_modules/remark-parse/lib/defaults.js\"(di,En){Pn(),En.exports={position:!0,gfm:!0,commonmark:!1,pedantic:!1,blocks:Od()}}}),Md=gt({\"node_modules/remark-parse/lib/set-options.js\"(di,En){Pn();var Ot=os(),Wt=ep(),Vt=gl();En.exports=yt;function yt(Pt){var Gt=this,St=Gt.options,un,ft;if(Pt==null)Pt={};else if(typeof Pt==\"object\")Pt=Ot(Pt);else throw new Error(\"Invalid value `\"+Pt+\"` for setting `options`\");for(un in Vt){if(ft=Pt[un],ft==null&&(ft=St[un]),un!==\"blocks\"&&typeof ft!=\"boolean\"||un===\"blocks\"&&typeof ft!=\"object\")throw new Error(\"Invalid value `\"+ft+\"` for setting `options.\"+un+\"`\");Pt[un]=ft}return Gt.options=Pt,Gt.escape=Wt(Pt),Gt}}}),oh=gt({\"node_modules/unist-util-is/convert.js\"(di,En){Pn(),En.exports=Ot;function Ot(Gt){if(Gt==null)return Pt;if(typeof Gt==\"string\")return yt(Gt);if(typeof Gt==\"object\")return\"length\"in Gt?Vt(Gt):Wt(Gt);if(typeof Gt==\"function\")return Gt;throw new Error(\"Expected function, string, or object as test\")}function Wt(Gt){return St;function St(un){var ft;for(ft in Gt)if(un[ft]!==Gt[ft])return!1;return!0}}function Vt(Gt){for(var St=[],un=-1;++un<Gt.length;)St[un]=Ot(Gt[un]);return ft;function ft(){for(var Zt=-1;++Zt<St.length;)if(St[Zt].apply(this,arguments))return!0;return!1}}function yt(Gt){return St;function St(un){return Boolean(un&&un.type===Gt)}}function Pt(){return!0}}}),bf=gt({\"node_modules/unist-util-visit-parents/color.browser.js\"(di,En){Pn(),En.exports=Ot;function Ot(Wt){return Wt}}}),vf=gt({\"node_modules/unist-util-visit-parents/index.js\"(di,En){Pn(),En.exports=Gt;var Ot=oh(),Wt=bf(),Vt=!0,yt=\"skip\",Pt=!1;Gt.CONTINUE=Vt,Gt.SKIP=yt,Gt.EXIT=Pt;function Gt(un,ft,Zt,qn){var On,Ri;typeof ft==\"function\"&&typeof Zt!=\"function\"&&(qn=Zt,Zt=ft,ft=null),Ri=Ot(ft),On=qn?-1:1,Gi(un,null,[])();function Gi(Ti,mr,mn){var hr=typeof Ti==\"object\"&&Ti!==null?Ti:{},ti;return typeof hr.type==\"string\"&&(ti=typeof hr.tagName==\"string\"?hr.tagName:typeof hr.name==\"string\"?hr.name:void 0,Qn.displayName=\"node (\"+Wt(hr.type+(ti?\"<\"+ti+\">\":\"\"))+\")\"),Qn;function Qn(){var b=mn.concat(Ti),v=[],X,de;if((!ft||Ri(Ti,mr,mn[mn.length-1]||null))&&(v=St(Zt(Ti,mn)),v[0]===Pt))return v;if(Ti.children&&v[0]!==yt)for(de=(qn?Ti.children.length:-1)+On;de>-1&&de<Ti.children.length;){if(X=Gi(Ti.children[de],de,b)(),X[0]===Pt)return X;de=typeof X[1]==\"number\"?X[1]:de+On}return v}}}function St(un){return un!==null&&typeof un==\"object\"&&\"length\"in un?un:typeof un==\"number\"?[Vt,un]:[un]}}}),Wp=gt({\"node_modules/unist-util-visit/index.js\"(di,En){Pn(),En.exports=Pt;var Ot=vf(),Wt=Ot.CONTINUE,Vt=Ot.SKIP,yt=Ot.EXIT;Pt.CONTINUE=Wt,Pt.SKIP=Vt,Pt.EXIT=yt;function Pt(Gt,St,un,ft){typeof St==\"function\"&&typeof un!=\"function\"&&(ft=un,un=St,St=null),Ot(Gt,St,Zt,ft);function Zt(qn,On){var Ri=On[On.length-1],Gi=Ri?Ri.children.indexOf(qn):null;return un(qn,Gi,Ri)}}}}),Cf=gt({\"node_modules/unist-util-remove-position/index.js\"(di,En){Pn();var Ot=Wp();En.exports=Wt;function Wt(Pt,Gt){return Ot(Pt,Gt?Vt:yt),Pt}function Vt(Pt){delete Pt.position}function yt(Pt){Pt.position=void 0}}}),Vp=gt({\"node_modules/remark-parse/lib/parse.js\"(di,En){Pn();var Ot=os(),Wt=Cf();En.exports=Pt;var Vt=`\n`,yt=/\\r\\n|\\r/g;function Pt(){var Gt=this,St=String(Gt.file),un={line:1,column:1,offset:0},ft=Ot(un),Zt;return St=St.replace(yt,Vt),St.charCodeAt(0)===65279&&(St=St.slice(1),ft.column++,ft.offset++),Zt={type:\"root\",children:Gt.tokenizeBlock(St,ft),position:{start:un,end:Gt.eof||Ot(un)}},Gt.options.position||Wt(Zt,!0),Zt}}}),hd=gt({\"node_modules/remark-parse/lib/tokenize/blank-line.js\"(di,En){Pn();var Ot=/^[ \\t]*(\\n|$)/;En.exports=Wt;function Wt(Vt,yt,Pt){for(var Gt,St=\"\",un=0,ft=yt.length;un<ft&&(Gt=Ot.exec(yt.slice(un)),Gt!=null);)un+=Gt[0].length,St+=Gt[0];if(St!==\"\"){if(Pt)return!0;Vt(St)}}}}),tp=gt({\"node_modules/repeat-string/index.js\"(di,En){Pn();var Ot=\"\",Wt;En.exports=Vt;function Vt(yt,Pt){if(typeof yt!=\"string\")throw new TypeError(\"expected a string\");if(Pt===1)return yt;if(Pt===2)return yt+yt;var Gt=yt.length*Pt;if(Wt!==yt||typeof Wt>\"u\")Wt=yt,Ot=\"\";else if(Ot.length>=Gt)return Ot.substr(0,Gt);for(;Gt>Ot.length&&Pt>1;)Pt&1&&(Ot+=yt),Pt>>=1,yt+=yt;return Ot+=yt,Ot=Ot.substr(0,Gt),Ot}}}),Ia=gt({\"node_modules/trim-trailing-lines/index.js\"(di,En){Pn(),En.exports=Ot;function Ot(Wt){return String(Wt).replace(/\\n+$/,\"\")}}}),eg=gt({\"node_modules/remark-parse/lib/tokenize/code-indented.js\"(di,En){Pn();var Ot=tp(),Wt=Ia();En.exports=un;var Vt=`\n`,yt=\"\t\",Pt=\" \",Gt=4,St=Ot(Pt,Gt);function un(ft,Zt,qn){for(var On=-1,Ri=Zt.length,Gi=\"\",Ti=\"\",mr=\"\",mn=\"\",hr,ti,Qn;++On<Ri;)if(hr=Zt.charAt(On),Qn)if(Qn=!1,Gi+=mr,Ti+=mn,mr=\"\",mn=\"\",hr===Vt)mr=hr,mn=hr;else for(Gi+=hr,Ti+=hr;++On<Ri;){if(hr=Zt.charAt(On),!hr||hr===Vt){mn=hr,mr=hr;break}Gi+=hr,Ti+=hr}else if(hr===Pt&&Zt.charAt(On+1)===hr&&Zt.charAt(On+2)===hr&&Zt.charAt(On+3)===hr)mr+=St,On+=3,Qn=!0;else if(hr===yt)mr+=hr,Qn=!0;else{for(ti=\"\";hr===yt||hr===Pt;)ti+=hr,hr=Zt.charAt(++On);if(hr!==Vt)break;mr+=ti+hr,mn+=hr}if(Ti)return qn?!0:ft(Gi)({type:\"code\",lang:null,meta:null,value:Wt(Ti)})}}}),$g=gt({\"node_modules/remark-parse/lib/tokenize/code-fenced.js\"(di,En){Pn(),En.exports=un;var Ot=`\n`,Wt=\"\t\",Vt=\" \",yt=\"~\",Pt=\"`\",Gt=3,St=4;function un(ft,Zt,qn){var On=this,Ri=On.options.gfm,Gi=Zt.length+1,Ti=0,mr=\"\",mn,hr,ti,Qn,b,v,X,de,ve,ie,V,P,he;if(Ri){for(;Ti<Gi&&(ti=Zt.charAt(Ti),!(ti!==Vt&&ti!==Wt));)mr+=ti,Ti++;if(P=Ti,ti=Zt.charAt(Ti),!(ti!==yt&&ti!==Pt)){for(Ti++,hr=ti,mn=1,mr+=ti;Ti<Gi&&(ti=Zt.charAt(Ti),ti===hr);)mr+=ti,mn++,Ti++;if(!(mn<Gt)){for(;Ti<Gi&&(ti=Zt.charAt(Ti),!(ti!==Vt&&ti!==Wt));)mr+=ti,Ti++;for(Qn=\"\",X=\"\";Ti<Gi&&(ti=Zt.charAt(Ti),!(ti===Ot||hr===Pt&&ti===hr));)ti===Vt||ti===Wt?X+=ti:(Qn+=X+ti,X=\"\"),Ti++;if(ti=Zt.charAt(Ti),!(ti&&ti!==Ot)){if(qn)return!0;he=ft.now(),he.column+=mr.length,he.offset+=mr.length,mr+=Qn,Qn=On.decode.raw(On.unescape(Qn),he),X&&(mr+=X),X=\"\",ie=\"\",V=\"\",de=\"\",ve=\"\";for(var N=!0;Ti<Gi;){if(ti=Zt.charAt(Ti),de+=ie,ve+=V,ie=\"\",V=\"\",ti!==Ot){de+=ti,V+=ti,Ti++;continue}for(N?(mr+=ti,N=!1):(ie+=ti,V+=ti),X=\"\",Ti++;Ti<Gi&&(ti=Zt.charAt(Ti),ti===Vt);)X+=ti,Ti++;if(ie+=X,V+=X.slice(P),!(X.length>=St)){for(X=\"\";Ti<Gi&&(ti=Zt.charAt(Ti),ti===hr);)X+=ti,Ti++;if(ie+=X,V+=X,!(X.length<mn)){for(X=\"\";Ti<Gi&&(ti=Zt.charAt(Ti),!(ti!==Vt&&ti!==Wt));)ie+=ti,V+=ti,Ti++;if(!ti||ti===Ot)break}}}for(mr+=de+ie,Ti=-1,Gi=Qn.length;++Ti<Gi;)if(ti=Qn.charAt(Ti),ti===Vt||ti===Wt)b||(b=Qn.slice(0,Ti));else if(b){v=Qn.slice(Ti);break}return ft(mr)({type:\"code\",lang:b||Qn||null,meta:v||null,value:ve})}}}}}}}),ed=gt({\"node_modules/trim/index.js\"(di,En){Pn(),di=En.exports=Ot;function Ot(Wt){return Wt.replace(/^\\s*|\\s*$/g,\"\")}di.left=function(Wt){return Wt.replace(/^\\s*/,\"\")},di.right=function(Wt){return Wt.replace(/\\s*$/,\"\")}}}),Hp=gt({\"node_modules/remark-parse/lib/util/interrupt.js\"(di,En){Pn(),En.exports=Ot;function Ot(Wt,Vt,yt,Pt){for(var Gt=Wt.length,St=-1,un,ft;++St<Gt;)if(un=Wt[St],ft=un[1]||{},!(ft.pedantic!==void 0&&ft.pedantic!==yt.options.pedantic)&&!(ft.commonmark!==void 0&&ft.commonmark!==yt.options.commonmark)&&Vt[un[0]].apply(yt,Pt))return!0;return!1}}}),Ke=gt({\"node_modules/remark-parse/lib/tokenize/blockquote.js\"(di,En){Pn();var Ot=ed(),Wt=Hp();En.exports=St;var Vt=`\n`,yt=\"\t\",Pt=\" \",Gt=\">\";function St(un,ft,Zt){for(var qn=this,On=qn.offset,Ri=qn.blockTokenizers,Gi=qn.interruptBlockquote,Ti=un.now(),mr=Ti.line,mn=ft.length,hr=[],ti=[],Qn=[],b,v=0,X,de,ve,ie,V,P,he,N;v<mn&&(X=ft.charAt(v),!(X!==Pt&&X!==yt));)v++;if(ft.charAt(v)===Gt){if(Zt)return!0;for(v=0;v<mn;){for(ve=ft.indexOf(Vt,v),P=v,he=!1,ve===-1&&(ve=mn);v<mn&&(X=ft.charAt(v),!(X!==Pt&&X!==yt));)v++;if(ft.charAt(v)===Gt?(v++,he=!0,ft.charAt(v)===Pt&&v++):v=P,ie=ft.slice(v,ve),!he&&!Ot(ie)){v=P;break}if(!he&&(de=ft.slice(v),Wt(Gi,Ri,qn,[un,de,!0])))break;V=P===v?ie:ft.slice(P,ve),Qn.push(v-P),hr.push(V),ti.push(ie),v=ve+1}for(v=-1,mn=Qn.length,b=un(hr.join(Vt));++v<mn;)On[mr]=(On[mr]||0)+Qn[v],mr++;return N=qn.enterBlock(),ti=qn.tokenizeBlock(ti.join(Vt),Ti),N(),b({type:\"blockquote\",children:ti})}}}}),U=gt({\"node_modules/remark-parse/lib/tokenize/heading-atx.js\"(di,En){Pn(),En.exports=Gt;var Ot=`\n`,Wt=\"\t\",Vt=\" \",yt=\"#\",Pt=6;function Gt(St,un,ft){for(var Zt=this,qn=Zt.options.pedantic,On=un.length+1,Ri=-1,Gi=St.now(),Ti=\"\",mr=\"\",mn,hr,ti;++Ri<On;){if(mn=un.charAt(Ri),mn!==Vt&&mn!==Wt){Ri--;break}Ti+=mn}for(ti=0;++Ri<=On;){if(mn=un.charAt(Ri),mn!==yt){Ri--;break}Ti+=mn,ti++}if(!(ti>Pt)&&!(!ti||!qn&&un.charAt(Ri+1)===yt)){for(On=un.length+1,hr=\"\";++Ri<On;){if(mn=un.charAt(Ri),mn!==Vt&&mn!==Wt){Ri--;break}hr+=mn}if(!(!qn&&hr.length===0&&mn&&mn!==Ot)){if(ft)return!0;for(Ti+=hr,hr=\"\",mr=\"\";++Ri<On&&(mn=un.charAt(Ri),!(!mn||mn===Ot));){if(mn!==Vt&&mn!==Wt&&mn!==yt){mr+=hr+mn,hr=\"\";continue}for(;mn===Vt||mn===Wt;)hr+=mn,mn=un.charAt(++Ri);if(!qn&&mr&&!hr&&mn===yt){mr+=mn;continue}for(;mn===yt;)hr+=mn,mn=un.charAt(++Ri);for(;mn===Vt||mn===Wt;)hr+=mn,mn=un.charAt(++Ri);Ri--}return Gi.column+=Ti.length,Gi.offset+=Ti.length,Ti+=mr+hr,St(Ti)({type:\"heading\",depth:ti,children:Zt.tokenizeInline(mr,Gi)})}}}}}),Pe=gt({\"node_modules/remark-parse/lib/tokenize/thematic-break.js\"(di,En){Pn(),En.exports=un;var Ot=\"\t\",Wt=`\n`,Vt=\" \",yt=\"*\",Pt=\"-\",Gt=\"_\",St=3;function un(ft,Zt,qn){for(var On=-1,Ri=Zt.length+1,Gi=\"\",Ti,mr,mn,hr;++On<Ri&&(Ti=Zt.charAt(On),!(Ti!==Ot&&Ti!==Vt));)Gi+=Ti;if(!(Ti!==yt&&Ti!==Pt&&Ti!==Gt))for(mr=Ti,Gi+=Ti,mn=1,hr=\"\";++On<Ri;)if(Ti=Zt.charAt(On),Ti===mr)mn++,Gi+=hr+mr,hr=\"\";else if(Ti===Vt)hr+=Ti;else return mn>=St&&(!Ti||Ti===Wt)?(Gi+=hr,qn?!0:ft(Gi)({type:\"thematicBreak\"})):void 0}}}),Dn=gt({\"node_modules/remark-parse/lib/util/get-indentation.js\"(di,En){Pn(),En.exports=Pt;var Ot=\"\t\",Wt=\" \",Vt=1,yt=4;function Pt(Gt){for(var St=0,un=0,ft=Gt.charAt(St),Zt={},qn,On=0;ft===Ot||ft===Wt;){for(qn=ft===Ot?yt:Vt,un+=qn,qn>1&&(un=Math.floor(un/qn)*qn);On<un;)Zt[++On]=St;ft=Gt.charAt(++St)}return{indent:un,stops:Zt}}}}),$n=gt({\"node_modules/remark-parse/lib/util/remove-indentation.js\"(di,En){Pn();var Ot=ed(),Wt=tp(),Vt=Dn();En.exports=St;var yt=`\n`,Pt=\" \",Gt=\"!\";function St(un,ft){var Zt=un.split(yt),qn=Zt.length+1,On=1/0,Ri=[],Gi,Ti,mr;for(Zt.unshift(Wt(Pt,ft)+Gt);qn--;)if(Ti=Vt(Zt[qn]),Ri[qn]=Ti.stops,Ot(Zt[qn]).length!==0)if(Ti.indent)Ti.indent>0&&Ti.indent<On&&(On=Ti.indent);else{On=1/0;break}if(On!==1/0)for(qn=Zt.length;qn--;){for(mr=Ri[qn],Gi=On;Gi&&!(Gi in mr);)Gi--;Zt[qn]=Zt[qn].slice(mr[Gi]+1)}return Zt.shift(),Zt.join(yt)}}}),zn=gt({\"node_modules/remark-parse/lib/tokenize/list.js\"(di,En){Pn();var Ot=ed(),Wt=tp(),Vt=mu(),yt=Dn(),Pt=$n(),Gt=Hp();En.exports=X;var St=\"*\",un=\"_\",ft=\"+\",Zt=\"-\",qn=\".\",On=\" \",Ri=`\n`,Gi=\"\t\",Ti=\")\",mr=\"x\",mn=4,hr=/\\n\\n(?!\\s*$)/,ti=/^\\[([ X\\tx])][ \\t]/,Qn=/^([ \\t]*)([*+-]|\\d+[.)])( {1,4}(?! )| |\\t|$|(?=\\n))([^\\n]*)/,b=/^([ \\t]*)([*+-]|\\d+[.)])([ \\t]+)/,v=/^( {1,4}|\\t)?/gm;function X(V,P,he){for(var N=this,se=N.options.commonmark,Se=N.options.pedantic,S=N.blockTokenizers,Re=N.interruptList,dt=0,_n=P.length,Qt=null,Mn,Bi,yn,vn,Ut,In,Vi,ct,xi,qr,xr,Bs,Mi,ms,Ks,is,Ms,to,Lo,ji=!1,jr,ss,Jo,da;dt<_n&&(vn=P.charAt(dt),!(vn!==Gi&&vn!==On));)dt++;if(vn=P.charAt(dt),vn===St||vn===ft||vn===Zt)Ut=vn,yn=!1;else{for(yn=!0,Bi=\"\";dt<_n&&(vn=P.charAt(dt),!!Vt(vn));)Bi+=vn,dt++;if(vn=P.charAt(dt),!Bi||!(vn===qn||se&&vn===Ti)||he&&Bi!==\"1\")return;Qt=parseInt(Bi,10),Ut=vn}if(vn=P.charAt(++dt),!(vn!==On&&vn!==Gi&&(Se||vn!==Ri&&vn!==\"\"))){if(he)return!0;for(dt=0,ms=[],Ks=[],is=[];dt<_n;){for(In=P.indexOf(Ri,dt),Vi=dt,ct=!1,da=!1,In===-1&&(In=_n),Mn=0;dt<_n;){if(vn=P.charAt(dt),vn===Gi)Mn+=mn-Mn%mn;else if(vn===On)Mn++;else break;dt++}if(Ms&&Mn>=Ms.indent&&(da=!0),vn=P.charAt(dt),xi=null,!da){if(vn===St||vn===ft||vn===Zt)xi=vn,dt++,Mn++;else{for(Bi=\"\";dt<_n&&(vn=P.charAt(dt),!!Vt(vn));)Bi+=vn,dt++;vn=P.charAt(dt),dt++,Bi&&(vn===qn||se&&vn===Ti)&&(xi=vn,Mn+=Bi.length+1)}if(xi)if(vn=P.charAt(dt),vn===Gi)Mn+=mn-Mn%mn,dt++;else if(vn===On){for(Jo=dt+mn;dt<Jo&&P.charAt(dt)===On;)dt++,Mn++;dt===Jo&&P.charAt(dt)===On&&(dt-=mn-1,Mn-=mn-1)}else vn!==Ri&&vn!==\"\"&&(xi=null)}if(xi){if(!Se&&Ut!==xi)break;ct=!0}else!se&&!da&&P.charAt(Vi)===On?da=!0:se&&Ms&&(da=Mn>=Ms.indent||Mn>mn),ct=!1,dt=Vi;if(xr=P.slice(Vi,In),qr=Vi===dt?xr:P.slice(dt,In),(xi===St||xi===un||xi===Zt)&&S.thematicBreak.call(N,V,xr,!0))break;if(Bs=Mi,Mi=!ct&&!Ot(qr).length,da&&Ms)Ms.value=Ms.value.concat(is,xr),Ks=Ks.concat(is,xr),is=[];else if(ct)is.length!==0&&(ji=!0,Ms.value.push(\"\"),Ms.trail=is.concat()),Ms={value:[xr],indent:Mn,trail:[]},ms.push(Ms),Ks=Ks.concat(is,xr),is=[];else if(Mi){if(Bs&&!se)break;is.push(xr)}else{if(Bs||Gt(Re,S,N,[V,xr,!0]))break;Ms.value=Ms.value.concat(is,xr),Ks=Ks.concat(is,xr),is=[]}dt=In+1}for(jr=V(Ks.join(Ri)).reset({type:\"list\",ordered:yn,start:Qt,spread:ji,children:[]}),to=N.enterList(),Lo=N.enterBlock(),dt=-1,_n=ms.length;++dt<_n;)Ms=ms[dt].value.join(Ri),ss=V.now(),V(Ms)(de(N,Ms,ss),jr),Ms=ms[dt].trail.join(Ri),dt!==_n-1&&(Ms+=Ri),V(Ms);return to(),Lo(),jr}}function de(V,P,he){var N=V.offset,se=V.options.pedantic?ve:ie,Se=null,S,Re;return P=se.apply(null,arguments),V.options.gfm&&(S=P.match(ti),S&&(Re=S[0].length,Se=S[1].toLowerCase()===mr,N[he.line]+=Re,P=P.slice(Re))),{type:\"listItem\",spread:hr.test(P),checked:Se,children:V.tokenizeBlock(P,he)}}function ve(V,P,he){var N=V.offset,se=he.line;return P=P.replace(b,Se),se=he.line,P.replace(v,Se);function Se(S){return N[se]=(N[se]||0)+S.length,se++,\"\"}}function ie(V,P,he){var N=V.offset,se=he.line,Se,S,Re,dt,_n,Qt,Mn;for(P=P.replace(Qn,Bi),dt=P.split(Ri),_n=Pt(P,yt(Se).indent).split(Ri),_n[0]=Re,N[se]=(N[se]||0)+S.length,se++,Qt=0,Mn=dt.length;++Qt<Mn;)N[se]=(N[se]||0)+dt[Qt].length-_n[Qt].length,se++;return _n.join(Ri);function Bi(yn,vn,Ut,In,Vi){return S=vn+Ut+In,Re=Vi,Number(Ut)<10&&S.length%2===1&&(Ut=On+Ut),Se=vn+Wt(On,Ut.length)+In,Se+Re}}}}),Ji=gt({\"node_modules/remark-parse/lib/tokenize/heading-setext.js\"(di,En){Pn(),En.exports=ft;var Ot=`\n`,Wt=\"\t\",Vt=\" \",yt=\"=\",Pt=\"-\",Gt=3,St=1,un=2;function ft(Zt,qn,On){for(var Ri=this,Gi=Zt.now(),Ti=qn.length,mr=-1,mn=\"\",hr,ti,Qn,b,v;++mr<Ti;){if(Qn=qn.charAt(mr),Qn!==Vt||mr>=Gt){mr--;break}mn+=Qn}for(hr=\"\",ti=\"\";++mr<Ti;){if(Qn=qn.charAt(mr),Qn===Ot){mr--;break}Qn===Vt||Qn===Wt?ti+=Qn:(hr+=ti+Qn,ti=\"\")}if(Gi.column+=mn.length,Gi.offset+=mn.length,mn+=hr+ti,Qn=qn.charAt(++mr),b=qn.charAt(++mr),!(Qn!==Ot||b!==yt&&b!==Pt)){for(mn+=Qn,ti=b,v=b===yt?St:un;++mr<Ti;){if(Qn=qn.charAt(mr),Qn!==b){if(Qn!==Ot)return;mr--;break}ti+=Qn}return On?!0:Zt(mn+ti)({type:\"heading\",depth:v,children:Ri.tokenizeInline(hr,Gi)})}}}}),or=gt({\"node_modules/remark-parse/lib/util/html.js\"(di){Pn();var En=\"[a-zA-Z_:][a-zA-Z0-9:._-]*\",Ot=\"[^\\\"'=<>`\\\\u0000-\\\\u0020]+\",Wt=\"'[^']*'\",Vt='\"[^\"]*\"',yt=\"(?:\"+Ot+\"|\"+Wt+\"|\"+Vt+\")\",Pt=\"(?:\\\\s+\"+En+\"(?:\\\\s*=\\\\s*\"+yt+\")?)\",Gt=\"<[A-Za-z][A-Za-z0-9\\\\-]*\"+Pt+\"*\\\\s*\\\\/?>\",St=\"<\\\\/[A-Za-z][A-Za-z0-9\\\\-]*\\\\s*>\",un=\"<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->\",ft=\"<[?].*?[?]>\",Zt=\"<![A-Za-z]+\\\\s+[^>]*>\",qn=\"<!\\\\[CDATA\\\\[[\\\\s\\\\S]*?\\\\]\\\\]>\";di.openCloseTag=new RegExp(\"^(?:\"+Gt+\"|\"+St+\")\"),di.tag=new RegExp(\"^(?:\"+Gt+\"|\"+St+\"|\"+un+\"|\"+ft+\"|\"+Zt+\"|\"+qn+\")\")}}),Ls=gt({\"node_modules/remark-parse/lib/tokenize/html-block.js\"(di,En){Pn();var Ot=or().openCloseTag;En.exports=hr;var Wt=\"\t\",Vt=\" \",yt=`\n`,Pt=\"<\",Gt=/^<(script|pre|style)(?=(\\s|>|$))/i,St=/<\\/(script|pre|style)>/i,un=/^<!--/,ft=/-->/,Zt=/^<\\?/,qn=/\\?>/,On=/^<![A-Za-z]/,Ri=/>/,Gi=/^<!\\[CDATA\\[/,Ti=/]]>/,mr=/^$/,mn=new RegExp(Ot.source+\"\\\\s*$\");function hr(ti,Qn,b){for(var v=this,X=v.options.blocks.join(\"|\"),de=new RegExp(\"^</?(\"+X+\")(?=(\\\\s|/?>|$))\",\"i\"),ve=Qn.length,ie=0,V,P,he,N,se,Se,S,Re=[[Gt,St,!0],[un,ft,!0],[Zt,qn,!0],[On,Ri,!0],[Gi,Ti,!0],[de,mr,!0],[mn,mr,!1]];ie<ve&&(N=Qn.charAt(ie),!(N!==Wt&&N!==Vt));)ie++;if(Qn.charAt(ie)===Pt){for(V=Qn.indexOf(yt,ie+1),V=V===-1?ve:V,P=Qn.slice(ie,V),he=-1,se=Re.length;++he<se;)if(Re[he][0].test(P)){Se=Re[he];break}if(Se){if(b)return Se[2];if(ie=V,!Se[1].test(P))for(;ie<ve;){if(V=Qn.indexOf(yt,ie+1),V=V===-1?ve:V,P=Qn.slice(ie+1,V),Se[1].test(P)){P&&(ie=V);break}ie=V}return S=Qn.slice(0,ie),ti(S)({type:\"html\",value:S})}}}}}),qi=gt({\"node_modules/is-whitespace-character/index.js\"(di,En){Pn(),En.exports=Vt;var Ot=String.fromCharCode,Wt=/\\s/;function Vt(yt){return Wt.test(typeof yt==\"number\"?Ot(yt):yt.charAt(0))}}}),br=gt({\"node_modules/collapse-white-space/index.js\"(di,En){Pn(),En.exports=Ot;function Ot(Wt){return String(Wt).replace(/\\s+/g,\" \")}}}),Yr=gt({\"node_modules/remark-parse/lib/util/normalize.js\"(di,En){Pn();var Ot=br();En.exports=Wt;function Wt(Vt){return Ot(Vt).toLowerCase()}}}),Cs=gt({\"node_modules/remark-parse/lib/tokenize/definition.js\"(di,En){Pn();var Ot=qi(),Wt=Yr();En.exports=mr;var Vt='\"',yt=\"'\",Pt=\"\\\\\",Gt=`\n`,St=\"\t\",un=\" \",ft=\"[\",Zt=\"]\",qn=\"(\",On=\")\",Ri=\":\",Gi=\"<\",Ti=\">\";function mr(ti,Qn,b){for(var v=this,X=v.options.commonmark,de=0,ve=Qn.length,ie=\"\",V,P,he,N,se,Se,S,Re;de<ve&&(N=Qn.charAt(de),!(N!==un&&N!==St));)ie+=N,de++;if(N=Qn.charAt(de),N===ft){for(de++,ie+=N,he=\"\";de<ve&&(N=Qn.charAt(de),N!==Zt);)N===Pt&&(he+=N,de++,N=Qn.charAt(de)),he+=N,de++;if(!(!he||Qn.charAt(de)!==Zt||Qn.charAt(de+1)!==Ri)){for(Se=he,ie+=he+Zt+Ri,de=ie.length,he=\"\";de<ve&&(N=Qn.charAt(de),!(N!==St&&N!==un&&N!==Gt));)ie+=N,de++;if(N=Qn.charAt(de),he=\"\",V=ie,N===Gi){for(de++;de<ve&&(N=Qn.charAt(de),!!mn(N));)he+=N,de++;if(N=Qn.charAt(de),N===mn.delimiter)ie+=Gi+he+N,de++;else{if(X)return;de-=he.length+1,he=\"\"}}if(!he){for(;de<ve&&(N=Qn.charAt(de),!!hr(N));)he+=N,de++;ie+=he}if(he){for(S=he,he=\"\";de<ve&&(N=Qn.charAt(de),!(N!==St&&N!==un&&N!==Gt));)he+=N,de++;if(N=Qn.charAt(de),se=null,N===Vt?se=Vt:N===yt?se=yt:N===qn&&(se=On),!se)he=\"\",de=ie.length;else if(he){for(ie+=he+N,de=ie.length,he=\"\";de<ve&&(N=Qn.charAt(de),N!==se);){if(N===Gt){if(de++,N=Qn.charAt(de),N===Gt||N===se)return;he+=Gt}he+=N,de++}if(N=Qn.charAt(de),N!==se)return;P=ie,ie+=he+N,de++,Re=he,he=\"\"}else return;for(;de<ve&&(N=Qn.charAt(de),!(N!==St&&N!==un));)ie+=N,de++;if(N=Qn.charAt(de),!N||N===Gt)return b?!0:(V=ti(V).test().end,S=v.decode.raw(v.unescape(S),V,{nonTerminated:!1}),Re&&(P=ti(P).test().end,Re=v.decode.raw(v.unescape(Re),P)),ti(ie)({type:\"definition\",identifier:Wt(Se),label:Se,title:Re||null,url:S}))}}}}function mn(ti){return ti!==Ti&&ti!==ft&&ti!==Zt}mn.delimiter=Ti;function hr(ti){return ti!==ft&&ti!==Zt&&!Ot(ti)}}}),rs=gt({\"node_modules/remark-parse/lib/tokenize/table.js\"(di,En){Pn();var Ot=qi();En.exports=Gi;var Wt=\"\t\",Vt=`\n`,yt=\" \",Pt=\"-\",Gt=\":\",St=\"\\\\\",un=\"|\",ft=1,Zt=2,qn=\"left\",On=\"center\",Ri=\"right\";function Gi(Ti,mr,mn){var hr=this,ti,Qn,b,v,X,de,ve,ie,V,P,he,N,se,Se,S,Re,dt,_n,Qt,Mn,Bi,yn;if(hr.options.gfm){for(ti=0,Re=0,de=mr.length+1,ve=[];ti<de;){if(Mn=mr.indexOf(Vt,ti),Bi=mr.indexOf(un,ti+1),Mn===-1&&(Mn=mr.length),Bi===-1||Bi>Mn){if(Re<Zt)return;break}ve.push(mr.slice(ti,Mn)),Re++,ti=Mn+1}for(v=ve.join(Vt),Qn=ve.splice(1,1)[0]||[],ti=0,de=Qn.length,Re--,b=!1,he=[];ti<de;){if(V=Qn.charAt(ti),V===un){if(P=null,b===!1){if(yn===!1)return}else he.push(b),b=!1;yn=!1}else if(V===Pt)P=!0,b=b||null;else if(V===Gt)b===qn?b=On:P&&b===null?b=Ri:b=qn;else if(!Ot(V))return;ti++}if(b!==!1&&he.push(b),!(he.length<ft)){if(mn)return!0;for(S=-1,_n=[],Qt=Ti(v).reset({type:\"table\",align:he,children:_n});++S<Re;){for(dt=ve[S],X={type:\"tableRow\",children:[]},S&&Ti(Vt),Ti(dt).reset(X,Qt),de=dt.length+1,ti=0,ie=\"\",N=\"\",se=!0;ti<de;){if(V=dt.charAt(ti),V===Wt||V===yt){N?ie+=V:Ti(V),ti++;continue}V===\"\"||V===un?se?Ti(V):((N||V)&&!se&&(v=N,ie.length>1&&(V?(v+=ie.slice(0,-1),ie=ie.charAt(ie.length-1)):(v+=ie,ie=\"\")),Se=Ti.now(),Ti(v)({type:\"tableCell\",children:hr.tokenizeInline(N,Se)},X)),Ti(ie+V),ie=\"\",N=\"\"):(ie&&(N+=ie,ie=\"\"),N+=V,V===St&&ti!==de-2&&(N+=dt.charAt(ti+1),ti++)),se=!1,ti++}S||Ti(Vt+Qn)}return Qt}}}}}),Ps=gt({\"node_modules/remark-parse/lib/tokenize/paragraph.js\"(di,En){Pn();var Ot=ed(),Wt=Ia(),Vt=Hp();En.exports=un;var yt=\"\t\",Pt=`\n`,Gt=\" \",St=4;function un(ft,Zt,qn){for(var On=this,Ri=On.options,Gi=Ri.commonmark,Ti=On.blockTokenizers,mr=On.interruptParagraph,mn=Zt.indexOf(Pt),hr=Zt.length,ti,Qn,b,v,X;mn<hr;){if(mn===-1){mn=hr;break}if(Zt.charAt(mn+1)===Pt)break;if(Gi){for(v=0,ti=mn+1;ti<hr;){if(b=Zt.charAt(ti),b===yt){v=St;break}else if(b===Gt)v++;else break;ti++}if(v>=St&&b!==Pt){mn=Zt.indexOf(Pt,mn+1);continue}}if(Qn=Zt.slice(mn+1),Vt(mr,Ti,On,[ft,Qn,!0]))break;if(ti=mn,mn=Zt.indexOf(Pt,mn+1),mn!==-1&&Ot(Zt.slice(ti,mn))===\"\"){mn=ti;break}}return Qn=Zt.slice(0,mn),qn?!0:(X=ft.now(),Qn=Wt(Qn),ft(Qn)({type:\"paragraph\",children:On.tokenizeInline(Qn,X)}))}}}),Os=gt({\"node_modules/remark-parse/lib/locate/escape.js\"(di,En){Pn(),En.exports=Ot;function Ot(Wt,Vt){return Wt.indexOf(\"\\\\\",Vt)}}}),zs=gt({\"node_modules/remark-parse/lib/tokenize/escape.js\"(di,En){Pn();var Ot=Os();En.exports=yt,yt.locator=Ot;var Wt=`\n`,Vt=\"\\\\\";function yt(Pt,Gt,St){var un=this,ft,Zt;if(Gt.charAt(0)===Vt&&(ft=Gt.charAt(1),un.escape.indexOf(ft)!==-1))return St?!0:(ft===Wt?Zt={type:\"break\"}:Zt={type:\"text\",value:ft},Pt(Vt+ft)(Zt))}}}),sa=gt({\"node_modules/remark-parse/lib/locate/tag.js\"(di,En){Pn(),En.exports=Ot;function Ot(Wt,Vt){return Wt.indexOf(\"<\",Vt)}}}),sn=gt({\"node_modules/remark-parse/lib/tokenize/auto-link.js\"(di,En){Pn();var Ot=qi(),Wt=Yu(),Vt=sa();En.exports=Zt,Zt.locator=Vt,Zt.notInLink=!0;var yt=\"<\",Pt=\">\",Gt=\"@\",St=\"/\",un=\"mailto:\",ft=un.length;function Zt(qn,On,Ri){var Gi=this,Ti=\"\",mr=On.length,mn=0,hr=\"\",ti=!1,Qn=\"\",b,v,X,de,ve;if(On.charAt(0)===yt){for(mn++,Ti=yt;mn<mr&&(b=On.charAt(mn),!(Ot(b)||b===Pt||b===Gt||b===\":\"&&On.charAt(mn+1)===St));)hr+=b,mn++;if(hr){if(Qn+=hr,hr=\"\",b=On.charAt(mn),Qn+=b,mn++,b===Gt)ti=!0;else{if(b!==\":\"||On.charAt(mn+1)!==St)return;Qn+=St,mn++}for(;mn<mr&&(b=On.charAt(mn),!(Ot(b)||b===Pt));)hr+=b,mn++;if(b=On.charAt(mn),!(!hr||b!==Pt))return Ri?!0:(Qn+=hr,X=Qn,Ti+=Qn+b,v=qn.now(),v.column++,v.offset++,ti&&(Qn.slice(0,ft).toLowerCase()===un?(X=X.slice(ft),v.column+=ft,v.offset+=ft):Qn=un+Qn),de=Gi.inlineTokenizers,Gi.inlineTokenizers={text:de.text},ve=Gi.enterLink(),X=Gi.tokenizeInline(X,v),Gi.inlineTokenizers=de,ve(),qn(Ti)({type:\"link\",title:null,url:Wt(Qn,{nonTerminated:!1}),children:X}))}}}}}),Ze=gt({\"node_modules/ccount/index.js\"(di,En){Pn(),En.exports=Ot;function Ot(Wt,Vt){var yt=String(Wt),Pt=0,Gt;if(typeof Vt!=\"string\")throw new Error(\"Expected character\");for(Gt=yt.indexOf(Vt);Gt!==-1;)Pt++,Gt=yt.indexOf(Vt,Gt+Vt.length);return Pt}}}),be=gt({\"node_modules/remark-parse/lib/locate/url.js\"(di,En){Pn(),En.exports=Wt;var Ot=[\"www.\",\"http://\",\"https://\"];function Wt(Vt,yt){var Pt=-1,Gt,St,un;if(!this.options.gfm)return Pt;for(St=Ot.length,Gt=-1;++Gt<St;)un=Vt.indexOf(Ot[Gt],yt),un!==-1&&(Pt===-1||un<Pt)&&(Pt=un);return Pt}}}),ze=gt({\"node_modules/remark-parse/lib/tokenize/url.js\"(di,En){Pn();var Ot=Ze(),Wt=Yu(),Vt=mu(),yt=Zc(),Pt=qi(),Gt=be();En.exports=v,v.locator=Gt,v.notInLink=!0;var St=33,un=38,ft=41,Zt=42,qn=44,On=45,Ri=46,Gi=58,Ti=59,mr=63,mn=60,hr=95,ti=126,Qn=\"(\",b=\")\";function v(X,de,ve){var ie=this,V=ie.options.gfm,P=ie.inlineTokenizers,he=de.length,N=-1,se=!1,Se,S,Re,dt,_n,Qt,Mn,Bi,yn,vn,Ut,In,Vi,ct;if(V){if(de.slice(0,4)===\"www.\")se=!0,dt=4;else if(de.slice(0,7).toLowerCase()===\"http://\")dt=7;else if(de.slice(0,8).toLowerCase()===\"https://\")dt=8;else return;for(N=dt-1,Re=dt,Se=[];dt<he;){if(Mn=de.charCodeAt(dt),Mn===Ri){if(N===dt-1)break;Se.push(dt),N=dt,dt++;continue}if(Vt(Mn)||yt(Mn)||Mn===On||Mn===hr){dt++;continue}break}if(Mn===Ri&&(Se.pop(),dt--),Se[0]!==void 0&&(S=Se.length<2?Re:Se[Se.length-2]+1,de.slice(S,dt).indexOf(\"_\")===-1)){if(ve)return!0;for(Bi=dt,_n=dt;dt<he&&(Mn=de.charCodeAt(dt),!(Pt(Mn)||Mn===mn));)dt++,Mn===St||Mn===Zt||Mn===qn||Mn===Ri||Mn===Gi||Mn===mr||Mn===hr||Mn===ti||(Bi=dt);if(dt=Bi,de.charCodeAt(dt-1)===ft)for(Qt=de.slice(_n,dt),yn=Ot(Qt,Qn),vn=Ot(Qt,b);vn>yn;)dt=_n+Qt.lastIndexOf(b),Qt=de.slice(_n,dt),vn--;if(de.charCodeAt(dt-1)===Ti&&(dt--,yt(de.charCodeAt(dt-1)))){for(Bi=dt-2;yt(de.charCodeAt(Bi));)Bi--;de.charCodeAt(Bi)===un&&(dt=Bi)}return Ut=de.slice(0,dt),Vi=Wt(Ut,{nonTerminated:!1}),se&&(Vi=\"http://\"+Vi),ct=ie.enterLink(),ie.inlineTokenizers={text:P.text},In=ie.tokenizeInline(Ut,X.now()),ie.inlineTokenizers=P,ct(),X(Ut)({type:\"link\",title:null,url:Vi,children:In})}}}}}),jt=gt({\"node_modules/remark-parse/lib/locate/email.js\"(di,En){Pn();var Ot=mu(),Wt=Zc(),Vt=43,yt=45,Pt=46,Gt=95;En.exports=St;function St(ft,Zt){var qn=this,On,Ri;if(!this.options.gfm||(On=ft.indexOf(\"@\",Zt),On===-1))return-1;if(Ri=On,Ri===Zt||!un(ft.charCodeAt(Ri-1)))return St.call(qn,ft,On+1);for(;Ri>Zt&&un(ft.charCodeAt(Ri-1));)Ri--;return Ri}function un(ft){return Ot(ft)||Wt(ft)||ft===Vt||ft===yt||ft===Pt||ft===Gt}}}),Ln=gt({\"node_modules/remark-parse/lib/tokenize/email.js\"(di,En){Pn();var Ot=Yu(),Wt=mu(),Vt=Zc(),yt=jt();En.exports=Zt,Zt.locator=yt,Zt.notInLink=!0;var Pt=43,Gt=45,St=46,un=64,ft=95;function Zt(qn,On,Ri){var Gi=this,Ti=Gi.options.gfm,mr=Gi.inlineTokenizers,mn=0,hr=On.length,ti=-1,Qn,b,v,X;if(Ti){for(Qn=On.charCodeAt(mn);Wt(Qn)||Vt(Qn)||Qn===Pt||Qn===Gt||Qn===St||Qn===ft;)Qn=On.charCodeAt(++mn);if(mn!==0&&Qn===un){for(mn++;mn<hr;){if(Qn=On.charCodeAt(mn),Wt(Qn)||Vt(Qn)||Qn===Gt||Qn===St||Qn===ft){mn++,ti===-1&&Qn===St&&(ti=mn);continue}break}if(!(ti===-1||ti===mn||Qn===Gt||Qn===ft))return Qn===St&&mn--,b=On.slice(0,mn),Ri?!0:(X=Gi.enterLink(),Gi.inlineTokenizers={text:mr.text},v=Gi.tokenizeInline(b,qn.now()),Gi.inlineTokenizers=mr,X(),qn(b)({type:\"link\",title:null,url:\"mailto:\"+Ot(b,{nonTerminated:!1}),children:v}))}}}}}),Xn=gt({\"node_modules/remark-parse/lib/tokenize/html-inline.js\"(di,En){Pn();var Ot=Zc(),Wt=sa(),Vt=or().tag;En.exports=Zt,Zt.locator=Wt;var yt=\"<\",Pt=\"?\",Gt=\"!\",St=\"/\",un=/^<a /i,ft=/^<\\/a>/i;function Zt(qn,On,Ri){var Gi=this,Ti=On.length,mr,mn;if(!(On.charAt(0)!==yt||Ti<3)&&(mr=On.charAt(1),!(!Ot(mr)&&mr!==Pt&&mr!==Gt&&mr!==St)&&(mn=On.match(Vt),!!mn)))return Ri?!0:(mn=mn[0],!Gi.inLink&&un.test(mn)?Gi.inLink=!0:Gi.inLink&&ft.test(mn)&&(Gi.inLink=!1),qn(mn)({type:\"html\",value:mn}))}}}),bn=gt({\"node_modules/remark-parse/lib/locate/link.js\"(di,En){Pn(),En.exports=Ot;function Ot(Wt,Vt){var yt=Wt.indexOf(\"[\",Vt),Pt=Wt.indexOf(\"![\",Vt);return Pt===-1||yt<Pt?yt:Pt}}}),ii=gt({\"node_modules/remark-parse/lib/tokenize/link.js\"(di,En){Pn();var Ot=qi(),Wt=bn();En.exports=Ti,Ti.locator=Wt;var Vt=`\n`,yt=\"!\",Pt='\"',Gt=\"'\",St=\"(\",un=\")\",ft=\"<\",Zt=\">\",qn=\"[\",On=\"\\\\\",Ri=\"]\",Gi=\"`\";function Ti(mr,mn,hr){var ti=this,Qn=\"\",b=0,v=mn.charAt(0),X=ti.options.pedantic,de=ti.options.commonmark,ve=ti.options.gfm,ie,V,P,he,N,se,Se,S,Re,dt,_n,Qt,Mn,Bi,yn,vn,Ut,In;if(v===yt&&(S=!0,Qn=v,v=mn.charAt(++b)),v===qn&&!(!S&&ti.inLink)){for(Qn+=v,Bi=\"\",b++,_n=mn.length,vn=mr.now(),Mn=0,vn.column+=b,vn.offset+=b;b<_n;){if(v=mn.charAt(b),se=v,v===Gi){for(V=1;mn.charAt(b+1)===Gi;)se+=v,b++,V++;P?V>=P&&(P=0):P=V}else if(v===On)b++,se+=mn.charAt(b);else if((!P||ve)&&v===qn)Mn++;else if((!P||ve)&&v===Ri)if(Mn)Mn--;else{if(mn.charAt(b+1)!==St)return;se+=St,ie=!0,b++;break}Bi+=se,se=\"\",b++}if(ie){for(Re=Bi,Qn+=Bi+se,b++;b<_n&&(v=mn.charAt(b),!!Ot(v));)Qn+=v,b++;if(v=mn.charAt(b),Bi=\"\",he=Qn,v===ft){for(b++,he+=ft;b<_n&&(v=mn.charAt(b),v!==Zt);){if(de&&v===Vt)return;Bi+=v,b++}if(mn.charAt(b)!==Zt)return;Qn+=ft+Bi+Zt,yn=Bi,b++}else{for(v=null,se=\"\";b<_n&&(v=mn.charAt(b),!(se&&(v===Pt||v===Gt||de&&v===St)));){if(Ot(v)){if(!X)break;se+=v}else{if(v===St)Mn++;else if(v===un){if(Mn===0)break;Mn--}Bi+=se,se=\"\",v===On&&(Bi+=On,v=mn.charAt(++b)),Bi+=v}b++}Qn+=Bi,yn=Bi,b=Qn.length}for(Bi=\"\";b<_n&&(v=mn.charAt(b),!!Ot(v));)Bi+=v,b++;if(v=mn.charAt(b),Qn+=Bi,Bi&&(v===Pt||v===Gt||de&&v===St))if(b++,Qn+=v,Bi=\"\",dt=v===St?un:v,N=Qn,de){for(;b<_n&&(v=mn.charAt(b),v!==dt);)v===On&&(Bi+=On,v=mn.charAt(++b)),b++,Bi+=v;if(v=mn.charAt(b),v!==dt)return;for(Qt=Bi,Qn+=Bi+v,b++;b<_n&&(v=mn.charAt(b),!!Ot(v));)Qn+=v,b++}else for(se=\"\";b<_n;){if(v=mn.charAt(b),v===dt)Se&&(Bi+=dt+se,se=\"\"),Se=!0;else if(!Se)Bi+=v;else if(v===un){Qn+=Bi+dt+se,Qt=Bi;break}else Ot(v)?se+=v:(Bi+=dt+se+v,se=\"\",Se=!1);b++}if(mn.charAt(b)===un)return hr?!0:(Qn+=un,yn=ti.decode.raw(ti.unescape(yn),mr(he).test().end,{nonTerminated:!1}),Qt&&(N=mr(N).test().end,Qt=ti.decode.raw(ti.unescape(Qt),N)),In={type:S?\"image\":\"link\",title:Qt||null,url:yn},S?In.alt=ti.decode.raw(ti.unescape(Re),vn)||null:(Ut=ti.enterLink(),In.children=ti.tokenizeInline(Re,vn),Ut()),mr(Qn)(In))}}}}}),Ir=gt({\"node_modules/remark-parse/lib/tokenize/reference.js\"(di,En){Pn();var Ot=qi(),Wt=bn(),Vt=Yr();En.exports=Ri,Ri.locator=Wt;var yt=\"link\",Pt=\"image\",Gt=\"shortcut\",St=\"collapsed\",un=\"full\",ft=\"!\",Zt=\"[\",qn=\"\\\\\",On=\"]\";function Ri(Gi,Ti,mr){var mn=this,hr=mn.options.commonmark,ti=Ti.charAt(0),Qn=0,b=Ti.length,v=\"\",X=\"\",de=yt,ve=Gt,ie,V,P,he,N,se,Se,S;if(ti===ft&&(de=Pt,X=ti,ti=Ti.charAt(++Qn)),ti===Zt){for(Qn++,X+=ti,se=\"\",S=0;Qn<b;){if(ti=Ti.charAt(Qn),ti===Zt)Se=!0,S++;else if(ti===On){if(!S)break;S--}ti===qn&&(se+=qn,ti=Ti.charAt(++Qn)),se+=ti,Qn++}if(v=se,ie=se,ti=Ti.charAt(Qn),ti===On){if(Qn++,v+=ti,se=\"\",!hr)for(;Qn<b&&(ti=Ti.charAt(Qn),!!Ot(ti));)se+=ti,Qn++;if(ti=Ti.charAt(Qn),ti===Zt){for(V=\"\",se+=ti,Qn++;Qn<b&&(ti=Ti.charAt(Qn),!(ti===Zt||ti===On));)ti===qn&&(V+=qn,ti=Ti.charAt(++Qn)),V+=ti,Qn++;ti=Ti.charAt(Qn),ti===On?(ve=V?un:St,se+=V+ti,Qn++):V=\"\",v+=se,se=\"\"}else{if(!ie)return;V=ie}if(!(ve!==un&&Se))return v=X+v,de===yt&&mn.inLink?null:mr?!0:(P=Gi.now(),P.column+=X.length,P.offset+=X.length,V=ve===un?V:ie,he={type:de+\"Reference\",identifier:Vt(V),label:V,referenceType:ve},de===yt?(N=mn.enterLink(),he.children=mn.tokenizeInline(ie,P),N()):he.alt=mn.decode.raw(mn.unescape(ie),P)||null,Gi(v)(he))}}}}}),gs=gt({\"node_modules/remark-parse/lib/locate/strong.js\"(di,En){Pn(),En.exports=Ot;function Ot(Wt,Vt){var yt=Wt.indexOf(\"**\",Vt),Pt=Wt.indexOf(\"__\",Vt);return Pt===-1?yt:yt===-1||Pt<yt?Pt:yt}}}),Ys=gt({\"node_modules/remark-parse/lib/tokenize/strong.js\"(di,En){Pn();var Ot=ed(),Wt=qi(),Vt=gs();En.exports=St,St.locator=Vt;var yt=\"\\\\\",Pt=\"*\",Gt=\"_\";function St(un,ft,Zt){var qn=this,On=0,Ri=ft.charAt(On),Gi,Ti,mr,mn,hr,ti,Qn;if(!(Ri!==Pt&&Ri!==Gt||ft.charAt(++On)!==Ri)&&(Ti=qn.options.pedantic,mr=Ri,hr=mr+mr,ti=ft.length,On++,mn=\"\",Ri=\"\",!(Ti&&Wt(ft.charAt(On)))))for(;On<ti;){if(Qn=Ri,Ri=ft.charAt(On),Ri===mr&&ft.charAt(On+1)===mr&&(!Ti||!Wt(Qn))&&(Ri=ft.charAt(On+2),Ri!==mr))return Ot(mn)?Zt?!0:(Gi=un.now(),Gi.column+=2,Gi.offset+=2,un(hr+mn+hr)({type:\"strong\",children:qn.tokenizeInline(mn,Gi)})):void 0;!Ti&&Ri===yt&&(mn+=Ri,Ri=ft.charAt(++On)),mn+=Ri,On++}}}}),_a=gt({\"node_modules/is-word-character/index.js\"(di,En){Pn(),En.exports=Vt;var Ot=String.fromCharCode,Wt=/\\w/;function Vt(yt){return Wt.test(typeof yt==\"number\"?Ot(yt):yt.charAt(0))}}}),Eo=gt({\"node_modules/remark-parse/lib/locate/emphasis.js\"(di,En){Pn(),En.exports=Ot;function Ot(Wt,Vt){var yt=Wt.indexOf(\"*\",Vt),Pt=Wt.indexOf(\"_\",Vt);return Pt===-1?yt:yt===-1||Pt<yt?Pt:yt}}}),pl=gt({\"node_modules/remark-parse/lib/tokenize/emphasis.js\"(di,En){Pn();var Ot=ed(),Wt=_a(),Vt=qi(),yt=Eo();En.exports=un,un.locator=yt;var Pt=\"*\",Gt=\"_\",St=\"\\\\\";function un(ft,Zt,qn){var On=this,Ri=0,Gi=Zt.charAt(Ri),Ti,mr,mn,hr,ti,Qn,b;if(!(Gi!==Pt&&Gi!==Gt)&&(mr=On.options.pedantic,ti=Gi,mn=Gi,Qn=Zt.length,Ri++,hr=\"\",Gi=\"\",!(mr&&Vt(Zt.charAt(Ri)))))for(;Ri<Qn;){if(b=Gi,Gi=Zt.charAt(Ri),Gi===mn&&(!mr||!Vt(b))){if(Gi=Zt.charAt(++Ri),Gi!==mn){if(!Ot(hr)||b===mn)return;if(!mr&&mn===Gt&&Wt(Gi)){hr+=mn;continue}return qn?!0:(Ti=ft.now(),Ti.column++,Ti.offset++,ft(ti+hr+mn)({type:\"emphasis\",children:On.tokenizeInline(hr,Ti)}))}hr+=mn}!mr&&Gi===St&&(hr+=Gi,Gi=Zt.charAt(++Ri)),hr+=Gi,Ri++}}}}),Jl=gt({\"node_modules/remark-parse/lib/locate/delete.js\"(di,En){Pn(),En.exports=Ot;function Ot(Wt,Vt){return Wt.indexOf(\"~~\",Vt)}}}),Tu=gt({\"node_modules/remark-parse/lib/tokenize/delete.js\"(di,En){Pn();var Ot=qi(),Wt=Jl();En.exports=Pt,Pt.locator=Wt;var Vt=\"~\",yt=\"~~\";function Pt(Gt,St,un){var ft=this,Zt=\"\",qn=\"\",On=\"\",Ri=\"\",Gi,Ti,mr;if(!(!ft.options.gfm||St.charAt(0)!==Vt||St.charAt(1)!==Vt||Ot(St.charAt(2))))for(Gi=1,Ti=St.length,mr=Gt.now(),mr.column+=2,mr.offset+=2;++Gi<Ti;){if(Zt=St.charAt(Gi),Zt===Vt&&qn===Vt&&(!On||!Ot(On)))return un?!0:Gt(yt+Ri+yt)({type:\"delete\",children:ft.tokenizeInline(Ri,mr)});Ri+=qn,On=qn,qn=Zt}}}}),pd=gt({\"node_modules/remark-parse/lib/locate/code-inline.js\"(di,En){Pn(),En.exports=Ot;function Ot(Wt,Vt){return Wt.indexOf(\"`\",Vt)}}}),Cc=gt({\"node_modules/remark-parse/lib/tokenize/code-inline.js\"(di,En){Pn();var Ot=pd();En.exports=Pt,Pt.locator=Ot;var Wt=10,Vt=32,yt=96;function Pt(Gt,St,un){for(var ft=St.length,Zt=0,qn,On,Ri,Gi,Ti,mr;Zt<ft&&St.charCodeAt(Zt)===yt;)Zt++;if(!(Zt===0||Zt===ft)){for(qn=Zt,Ti=St.charCodeAt(Zt);Zt<ft;){if(Gi=Ti,Ti=St.charCodeAt(Zt+1),Gi===yt){if(On===void 0&&(On=Zt),Ri=Zt+1,Ti!==yt&&Ri-On===qn){mr=!0;break}}else On!==void 0&&(On=void 0,Ri=void 0);Zt++}if(mr){if(un)return!0;if(Zt=qn,ft=On,Gi=St.charCodeAt(Zt),Ti=St.charCodeAt(ft-1),mr=!1,ft-Zt>2&&(Gi===Vt||Gi===Wt)&&(Ti===Vt||Ti===Wt)){for(Zt++,ft--;Zt<ft;){if(Gi=St.charCodeAt(Zt),Gi!==Vt&&Gi!==Wt){mr=!0;break}Zt++}mr===!0&&(qn++,On--)}return Gt(St.slice(0,Ri))({type:\"inlineCode\",value:St.slice(qn,On)})}}}}}),wr=gt({\"node_modules/remark-parse/lib/locate/break.js\"(di,En){Pn(),En.exports=Ot;function Ot(Wt,Vt){for(var yt=Wt.indexOf(`\n`,Vt);yt>Vt&&Wt.charAt(yt-1)===\" \";)yt--;return yt}}}),_o=gt({\"node_modules/remark-parse/lib/tokenize/break.js\"(di,En){Pn();var Ot=wr();En.exports=Pt,Pt.locator=Ot;var Wt=\" \",Vt=`\n`,yt=2;function Pt(Gt,St,un){for(var ft=St.length,Zt=-1,qn=\"\",On;++Zt<ft;){if(On=St.charAt(Zt),On===Vt)return Zt<yt?void 0:un?!0:(qn+=On,Gt(qn)({type:\"break\"}));if(On!==Wt)return;qn+=On}}}}),oa=gt({\"node_modules/remark-parse/lib/tokenize/text.js\"(di,En){Pn(),En.exports=Ot;function Ot(Wt,Vt,yt){var Pt=this,Gt,St,un,ft,Zt,qn,On,Ri,Gi,Ti;if(yt)return!0;for(Gt=Pt.inlineMethods,ft=Gt.length,St=Pt.inlineTokenizers,un=-1,Gi=Vt.length;++un<ft;)Ri=Gt[un],!(Ri===\"text\"||!St[Ri])&&(On=St[Ri].locator,On||Wt.file.fail(\"Missing locator: `\"+Ri+\"`\"),qn=On.call(Pt,Vt,1),qn!==-1&&qn<Gi&&(Gi=qn));Zt=Vt.slice(0,Gi),Ti=Wt.now(),Pt.decode(Zt,Ti,mr);function mr(mn,hr,ti){Wt(ti||mn)({type:\"text\",value:mn})}}}}),Da=gt({\"node_modules/remark-parse/lib/parser.js\"(di,En){Pn();var Ot=os(),Wt=Vo(),Vt=ja(),yt=Ha(),Pt=xc(),Gt=Vc();En.exports=St;function St(Zt,qn){this.file=qn,this.offset={},this.options=Ot(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=Vt(qn).toOffset,this.unescape=yt(this,\"escape\"),this.decode=Pt(this)}var un=St.prototype;un.setOptions=Md(),un.parse=Vp(),un.options=gl(),un.exitStart=Wt(\"atStart\",!0),un.enterList=Wt(\"inList\",!1),un.enterLink=Wt(\"inLink\",!1),un.enterBlock=Wt(\"inBlock\",!1),un.interruptParagraph=[[\"thematicBreak\"],[\"list\"],[\"atxHeading\"],[\"fencedCode\"],[\"blockquote\"],[\"html\"],[\"setextHeading\",{commonmark:!1}],[\"definition\",{commonmark:!1}]],un.interruptList=[[\"atxHeading\",{pedantic:!1}],[\"fencedCode\",{pedantic:!1}],[\"thematicBreak\",{pedantic:!1}],[\"definition\",{commonmark:!1}]],un.interruptBlockquote=[[\"indentedCode\",{commonmark:!0}],[\"fencedCode\",{commonmark:!0}],[\"atxHeading\",{commonmark:!0}],[\"setextHeading\",{commonmark:!0}],[\"thematicBreak\",{commonmark:!0}],[\"html\",{commonmark:!0}],[\"list\",{commonmark:!0}],[\"definition\",{commonmark:!1}]],un.blockTokenizers={blankLine:hd(),indentedCode:eg(),fencedCode:$g(),blockquote:Ke(),atxHeading:U(),thematicBreak:Pe(),list:zn(),setextHeading:Ji(),html:Ls(),definition:Cs(),table:rs(),paragraph:Ps()},un.inlineTokenizers={escape:zs(),autoLink:sn(),url:ze(),email:Ln(),html:Xn(),link:ii(),reference:Ir(),strong:Ys(),emphasis:pl(),deletion:Tu(),code:Cc(),break:_o(),text:oa()},un.blockMethods=ft(un.blockTokenizers),un.inlineMethods=ft(un.inlineTokenizers),un.tokenizeBlock=Gt(\"block\"),un.tokenizeInline=Gt(\"inline\"),un.tokenizeFactory=Gt;function ft(Zt){var qn=[],On;for(On in Zt)qn.push(On);return qn}}}),ml=gt({\"node_modules/remark-parse/index.js\"(di,En){Pn();var Ot=bo(),Wt=os(),Vt=Da();En.exports=yt,yt.Parser=Vt;function yt(Pt){var Gt=this.data(\"settings\"),St=Ot(Vt);St.prototype.options=Wt(St.prototype.options,Gt,Pt),this.Parser=St}}}),ou=gt({\"node_modules/bail/index.js\"(di,En){Pn(),En.exports=Ot;function Ot(Wt){if(Wt)throw Wt}}}),Ud=gt({\"node_modules/is-buffer/index.js\"(di,En){Pn(),En.exports=function(Ot){return Ot!=null&&Ot.constructor!=null&&typeof Ot.constructor.isBuffer==\"function\"&&Ot.constructor.isBuffer(Ot)}}}),np=gt({\"node_modules/extend/index.js\"(di,En){Pn();var Ot=Object.prototype.hasOwnProperty,Wt=Object.prototype.toString,Vt=Object.defineProperty,yt=Object.getOwnPropertyDescriptor,Pt=function(ft){return typeof Array.isArray==\"function\"?Array.isArray(ft):Wt.call(ft)===\"[object Array]\"},Gt=function(ft){if(!ft||Wt.call(ft)!==\"[object Object]\")return!1;var Zt=Ot.call(ft,\"constructor\"),qn=ft.constructor&&ft.constructor.prototype&&Ot.call(ft.constructor.prototype,\"isPrototypeOf\");if(ft.constructor&&!Zt&&!qn)return!1;var On;for(On in ft);return typeof On>\"u\"||Ot.call(ft,On)},St=function(ft,Zt){Vt&&Zt.name===\"__proto__\"?Vt(ft,Zt.name,{enumerable:!0,configurable:!0,value:Zt.newValue,writable:!0}):ft[Zt.name]=Zt.newValue},un=function(ft,Zt){if(Zt===\"__proto__\")if(Ot.call(ft,Zt)){if(yt)return yt(ft,Zt).value}else return;return ft[Zt]};En.exports=function ft(){var Zt,qn,On,Ri,Gi,Ti,mr=arguments[0],mn=1,hr=arguments.length,ti=!1;for(typeof mr==\"boolean\"&&(ti=mr,mr=arguments[1]||{},mn=2),(mr==null||typeof mr!=\"object\"&&typeof mr!=\"function\")&&(mr={});mn<hr;++mn)if(Zt=arguments[mn],Zt!=null)for(qn in Zt)On=un(mr,qn),Ri=un(Zt,qn),mr!==Ri&&(ti&&Ri&&(Gt(Ri)||(Gi=Pt(Ri)))?(Gi?(Gi=!1,Ti=On&&Pt(On)?On:[]):Ti=On&&Gt(On)?On:{},St(mr,{name:qn,newValue:ft(ti,Ti,Ri)})):typeof Ri<\"u\"&&St(mr,{name:qn,newValue:Ri}));return mr}}}),Kd=gt({\"node_modules/is-plain-obj/index.js\"(di,En){Pn(),En.exports=Ot=>{if(Object.prototype.toString.call(Ot)!==\"[object Object]\")return!1;let Wt=Object.getPrototypeOf(Ot);return Wt===null||Wt===Object.prototype}}}),fd=gt({\"node_modules/trough/wrap.js\"(di,En){Pn();var Ot=[].slice;En.exports=Wt;function Wt(Vt,yt){var Pt;return Gt;function Gt(){var ft=Ot.call(arguments,0),Zt=Vt.length>ft.length,qn;Zt&&ft.push(St);try{qn=Vt.apply(null,ft)}catch(On){if(Zt&&Pt)throw On;return St(On)}Zt||(qn&&typeof qn.then==\"function\"?qn.then(un,St):qn instanceof Error?St(qn):un(qn))}function St(){Pt||(Pt=!0,yt.apply(null,arguments))}function un(ft){St(null,ft)}}}}),Sp=gt({\"node_modules/trough/index.js\"(di,En){Pn();var Ot=fd();En.exports=Vt,Vt.wrap=Ot;var Wt=[].slice;function Vt(){var yt=[],Pt={};return Pt.run=Gt,Pt.use=St,Pt;function Gt(){var un=-1,ft=Wt.call(arguments,0,-1),Zt=arguments[arguments.length-1];if(typeof Zt!=\"function\")throw new Error(\"Expected function as last argument, not \"+Zt);qn.apply(null,[null].concat(ft));function qn(On){var Ri=yt[++un],Gi=Wt.call(arguments,0),Ti=Gi.slice(1),mr=ft.length,mn=-1;if(On){Zt(On);return}for(;++mn<mr;)(Ti[mn]===null||Ti[mn]===void 0)&&(Ti[mn]=ft[mn]);ft=Ti,Ri?Ot(Ri,qn).apply(null,ft):Zt.apply(null,[null].concat(ft))}}function St(un){if(typeof un!=\"function\")throw new Error(\"Expected `fn` to be a function, not \"+un);return yt.push(un),Pt}}}}),Rd=gt({\"node_modules/unist-util-stringify-position/index.js\"(di,En){Pn();var Ot={}.hasOwnProperty;En.exports=Wt;function Wt(Gt){return!Gt||typeof Gt!=\"object\"?\"\":Ot.call(Gt,\"position\")||Ot.call(Gt,\"type\")?yt(Gt.position):Ot.call(Gt,\"start\")||Ot.call(Gt,\"end\")?yt(Gt):Ot.call(Gt,\"line\")||Ot.call(Gt,\"column\")?Vt(Gt):\"\"}function Vt(Gt){return(!Gt||typeof Gt!=\"object\")&&(Gt={}),Pt(Gt.line)+\":\"+Pt(Gt.column)}function yt(Gt){return(!Gt||typeof Gt!=\"object\")&&(Gt={}),Vt(Gt.start)+\"-\"+Vt(Gt.end)}function Pt(Gt){return Gt&&typeof Gt==\"number\"?Gt:1}}}),qd=gt({\"node_modules/vfile-message/index.js\"(di,En){Pn();var Ot=Rd();En.exports=yt;function Wt(){}Wt.prototype=Error.prototype,yt.prototype=new Wt;var Vt=yt.prototype;Vt.file=\"\",Vt.name=\"\",Vt.reason=\"\",Vt.message=\"\",Vt.stack=\"\",Vt.fatal=null,Vt.column=null,Vt.line=null;function yt(Gt,St,un){var ft,Zt,qn;typeof St==\"string\"&&(un=St,St=null),ft=Pt(un),Zt=Ot(St)||\"1:1\",qn={start:{line:null,column:null},end:{line:null,column:null}},St&&St.position&&(St=St.position),St&&(St.start?(qn=St,St=St.start):qn.start=St),Gt.stack&&(this.stack=Gt.stack,Gt=Gt.message),this.message=Gt,this.name=Zt,this.reason=Gt,this.line=St?St.line:null,this.column=St?St.column:null,this.location=qn,this.source=ft[0],this.ruleId=ft[1]}function Pt(Gt){var St=[null,null],un;return typeof Gt==\"string\"&&(un=Gt.indexOf(\":\"),un===-1?St[1]=Gt:(St[0]=Gt.slice(0,un),St[1]=Gt.slice(un+1))),St}}}),Hf=gt({\"node_modules/vfile/lib/minpath.browser.js\"(di){Pn(),di.basename=En,di.dirname=Ot,di.extname=Wt,di.join=Vt,di.sep=\"/\";function En(St,un){var ft=0,Zt=-1,qn,On,Ri,Gi;if(un!==void 0&&typeof un!=\"string\")throw new TypeError('\"ext\" argument must be a string');if(Gt(St),qn=St.length,un===void 0||!un.length||un.length>St.length){for(;qn--;)if(St.charCodeAt(qn)===47){if(Ri){ft=qn+1;break}}else Zt<0&&(Ri=!0,Zt=qn+1);return Zt<0?\"\":St.slice(ft,Zt)}if(un===St)return\"\";for(On=-1,Gi=un.length-1;qn--;)if(St.charCodeAt(qn)===47){if(Ri){ft=qn+1;break}}else On<0&&(Ri=!0,On=qn+1),Gi>-1&&(St.charCodeAt(qn)===un.charCodeAt(Gi--)?Gi<0&&(Zt=qn):(Gi=-1,Zt=On));return ft===Zt?Zt=On:Zt<0&&(Zt=St.length),St.slice(ft,Zt)}function Ot(St){var un,ft,Zt;if(Gt(St),!St.length)return\".\";for(un=-1,Zt=St.length;--Zt;)if(St.charCodeAt(Zt)===47){if(ft){un=Zt;break}}else ft||(ft=!0);return un<0?St.charCodeAt(0)===47?\"/\":\".\":un===1&&St.charCodeAt(0)===47?\"//\":St.slice(0,un)}function Wt(St){var un=-1,ft=0,Zt=-1,qn=0,On,Ri,Gi;for(Gt(St),Gi=St.length;Gi--;){if(Ri=St.charCodeAt(Gi),Ri===47){if(On){ft=Gi+1;break}continue}Zt<0&&(On=!0,Zt=Gi+1),Ri===46?un<0?un=Gi:qn!==1&&(qn=1):un>-1&&(qn=-1)}return un<0||Zt<0||qn===0||qn===1&&un===Zt-1&&un===ft+1?\"\":St.slice(un,Zt)}function Vt(){for(var St=-1,un;++St<arguments.length;)Gt(arguments[St]),arguments[St]&&(un=un===void 0?arguments[St]:un+\"/\"+arguments[St]);return un===void 0?\".\":yt(un)}function yt(St){var un,ft;return Gt(St),un=St.charCodeAt(0)===47,ft=Pt(St,!un),!ft.length&&!un&&(ft=\".\"),ft.length&&St.charCodeAt(St.length-1)===47&&(ft+=\"/\"),un?\"/\"+ft:ft}function Pt(St,un){for(var ft=\"\",Zt=0,qn=-1,On=0,Ri=-1,Gi,Ti;++Ri<=St.length;){if(Ri<St.length)Gi=St.charCodeAt(Ri);else{if(Gi===47)break;Gi=47}if(Gi===47){if(!(qn===Ri-1||On===1))if(qn!==Ri-1&&On===2){if(ft.length<2||Zt!==2||ft.charCodeAt(ft.length-1)!==46||ft.charCodeAt(ft.length-2)!==46){if(ft.length>2){if(Ti=ft.lastIndexOf(\"/\"),Ti!==ft.length-1){Ti<0?(ft=\"\",Zt=0):(ft=ft.slice(0,Ti),Zt=ft.length-1-ft.lastIndexOf(\"/\")),qn=Ri,On=0;continue}}else if(ft.length){ft=\"\",Zt=0,qn=Ri,On=0;continue}}un&&(ft=ft.length?ft+\"/..\":\"..\",Zt=2)}else ft.length?ft+=\"/\"+St.slice(qn+1,Ri):ft=St.slice(qn+1,Ri),Zt=Ri-qn-1;qn=Ri,On=0}else Gi===46&&On>-1?On++:On=-1}return ft}function Gt(St){if(typeof St!=\"string\")throw new TypeError(\"Path must be a string. Received \"+JSON.stringify(St))}}}),kt=gt({\"node_modules/vfile/lib/minproc.browser.js\"(di){Pn(),di.cwd=En;function En(){return\"/\"}}}),Wn=gt({\"node_modules/vfile/lib/core.js\"(di,En){Pn();var Ot=Hf(),Wt=kt(),Vt=Ud();En.exports=Gt;var yt={}.hasOwnProperty,Pt=[\"history\",\"path\",\"basename\",\"stem\",\"extname\",\"dirname\"];Gt.prototype.toString=mn,Object.defineProperty(Gt.prototype,\"path\",{get:St,set:un}),Object.defineProperty(Gt.prototype,\"dirname\",{get:ft,set:Zt}),Object.defineProperty(Gt.prototype,\"basename\",{get:qn,set:On}),Object.defineProperty(Gt.prototype,\"extname\",{get:Ri,set:Gi}),Object.defineProperty(Gt.prototype,\"stem\",{get:Ti,set:mr});function Gt(b){var v,X;if(!b)b={};else if(typeof b==\"string\"||Vt(b))b={contents:b};else if(\"message\"in b&&\"messages\"in b)return b;if(!(this instanceof Gt))return new Gt(b);for(this.data={},this.messages=[],this.history=[],this.cwd=Wt.cwd(),X=-1;++X<Pt.length;)v=Pt[X],yt.call(b,v)&&(this[v]=b[v]);for(v in b)Pt.indexOf(v)<0&&(this[v]=b[v])}function St(){return this.history[this.history.length-1]}function un(b){ti(b,\"path\"),this.path!==b&&this.history.push(b)}function ft(){return typeof this.path==\"string\"?Ot.dirname(this.path):void 0}function Zt(b){Qn(this.path,\"dirname\"),this.path=Ot.join(b||\"\",this.basename)}function qn(){return typeof this.path==\"string\"?Ot.basename(this.path):void 0}function On(b){ti(b,\"basename\"),hr(b,\"basename\"),this.path=Ot.join(this.dirname||\"\",b)}function Ri(){return typeof this.path==\"string\"?Ot.extname(this.path):void 0}function Gi(b){if(hr(b,\"extname\"),Qn(this.path,\"extname\"),b){if(b.charCodeAt(0)!==46)throw new Error(\"`extname` must start with `.`\");if(b.indexOf(\".\",1)>-1)throw new Error(\"`extname` cannot contain multiple dots\")}this.path=Ot.join(this.dirname,this.stem+(b||\"\"))}function Ti(){return typeof this.path==\"string\"?Ot.basename(this.path,this.extname):void 0}function mr(b){ti(b,\"stem\"),hr(b,\"stem\"),this.path=Ot.join(this.dirname||\"\",b+(this.extname||\"\"))}function mn(b){return(this.contents||\"\").toString(b)}function hr(b,v){if(b&&b.indexOf(Ot.sep)>-1)throw new Error(\"`\"+v+\"` cannot be a path: did not expect `\"+Ot.sep+\"`\")}function ti(b,v){if(!b)throw new Error(\"`\"+v+\"` cannot be empty\")}function Qn(b,v){if(!b)throw new Error(\"Setting `\"+v+\"` requires `path` to be set too\")}}}),mi=gt({\"node_modules/vfile/lib/index.js\"(di,En){Pn();var Ot=qd(),Wt=Wn();En.exports=Wt,Wt.prototype.message=Vt,Wt.prototype.info=Pt,Wt.prototype.fail=yt;function Vt(Gt,St,un){var ft=new Ot(Gt,St,un);return this.path&&(ft.name=this.path+\":\"+ft.name,ft.file=this.path),ft.fatal=!1,this.messages.push(ft),ft}function yt(){var Gt=this.message.apply(this,arguments);throw Gt.fatal=!0,Gt}function Pt(){var Gt=this.message.apply(this,arguments);return Gt.fatal=null,Gt}}}),Ui=gt({\"node_modules/vfile/index.js\"(di,En){Pn(),En.exports=mi()}}),dr=gt({\"node_modules/unified/index.js\"(di,En){Pn();var Ot=ou(),Wt=Ud(),Vt=np(),yt=Kd(),Pt=Sp(),Gt=Ui();En.exports=Ri().freeze();var St=[].slice,un={}.hasOwnProperty,ft=Pt().use(Zt).use(qn).use(On);function Zt(b,v){v.tree=b.parse(v.file)}function qn(b,v,X){b.run(v.tree,v.file,de);function de(ve,ie,V){ve?X(ve):(v.tree=ie,v.file=V,X())}}function On(b,v){var X=b.stringify(v.tree,v.file);X==null||(typeof X==\"string\"||Wt(X)?v.file.contents=X:v.file.result=X)}function Ri(){var b=[],v=Pt(),X={},de=-1,ve;return ie.data=P,ie.freeze=V,ie.attachers=b,ie.use=he,ie.parse=se,ie.stringify=Re,ie.run=Se,ie.runSync=S,ie.process=dt,ie.processSync=_n,ie;function ie(){for(var Qt=Ri(),Mn=-1;++Mn<b.length;)Qt.use.apply(null,b[Mn]);return Qt.data(Vt(!0,{},X)),Qt}function V(){var Qt,Mn;if(ve)return ie;for(;++de<b.length;)Qt=b[de],Qt[1]!==!1&&(Qt[1]===!0&&(Qt[1]=void 0),Mn=Qt[0].apply(ie,Qt.slice(1)),typeof Mn==\"function\"&&v.use(Mn));return ve=!0,de=1/0,ie}function P(Qt,Mn){return typeof Qt==\"string\"?arguments.length===2?(hr(\"data\",ve),X[Qt]=Mn,ie):un.call(X,Qt)&&X[Qt]||null:Qt?(hr(\"data\",ve),X=Qt,ie):X}function he(Qt){var Mn;if(hr(\"use\",ve),Qt!=null)if(typeof Qt==\"function\")Ut.apply(null,arguments);else if(typeof Qt==\"object\")\"length\"in Qt?vn(Qt):Bi(Qt);else throw new Error(\"Expected usable value, not `\"+Qt+\"`\");return Mn&&(X.settings=Vt(X.settings||{},Mn)),ie;function Bi(In){vn(In.plugins),In.settings&&(Mn=Vt(Mn||{},In.settings))}function yn(In){if(typeof In==\"function\")Ut(In);else if(typeof In==\"object\")\"length\"in In?Ut.apply(null,In):Bi(In);else throw new Error(\"Expected usable value, not `\"+In+\"`\")}function vn(In){var Vi=-1;if(In!=null)if(typeof In==\"object\"&&\"length\"in In)for(;++Vi<In.length;)yn(In[Vi]);else throw new Error(\"Expected a list of plugins, not `\"+In+\"`\")}function Ut(In,Vi){var ct=N(In);ct?(yt(ct[1])&&yt(Vi)&&(Vi=Vt(!0,ct[1],Vi)),ct[1]=Vi):b.push(St.call(arguments))}}function N(Qt){for(var Mn=-1;++Mn<b.length;)if(b[Mn][0]===Qt)return b[Mn]}function se(Qt){var Mn=Gt(Qt),Bi;return V(),Bi=ie.Parser,mr(\"parse\",Bi),Gi(Bi,\"parse\")?new Bi(String(Mn),Mn).parse():Bi(String(Mn),Mn)}function Se(Qt,Mn,Bi){if(ti(Qt),V(),!Bi&&typeof Mn==\"function\"&&(Bi=Mn,Mn=null),!Bi)return new Promise(yn);yn(null,Bi);function yn(vn,Ut){v.run(Qt,Gt(Mn),In);function In(Vi,ct,xi){ct=ct||Qt,Vi?Ut(Vi):vn?vn(ct):Bi(null,ct,xi)}}}function S(Qt,Mn){var Bi,yn;return Se(Qt,Mn,vn),Qn(\"runSync\",\"run\",yn),Bi;function vn(Ut,In){yn=!0,Bi=In,Ot(Ut)}}function Re(Qt,Mn){var Bi=Gt(Mn),yn;return V(),yn=ie.Compiler,mn(\"stringify\",yn),ti(Qt),Gi(yn,\"compile\")?new yn(Qt,Bi).compile():yn(Qt,Bi)}function dt(Qt,Mn){if(V(),mr(\"process\",ie.Parser),mn(\"process\",ie.Compiler),!Mn)return new Promise(Bi);Bi(null,Mn);function Bi(yn,vn){var Ut=Gt(Qt);ft.run(ie,{file:Ut},In);function In(Vi){Vi?vn(Vi):yn?yn(Ut):Mn(null,Ut)}}}function _n(Qt){var Mn,Bi;return V(),mr(\"processSync\",ie.Parser),mn(\"processSync\",ie.Compiler),Mn=Gt(Qt),dt(Mn,yn),Qn(\"processSync\",\"process\",Bi),Mn;function yn(vn){Bi=!0,Ot(vn)}}}function Gi(b,v){return typeof b==\"function\"&&b.prototype&&(Ti(b.prototype)||v in b.prototype)}function Ti(b){var v;for(v in b)return!0;return!1}function mr(b,v){if(typeof v!=\"function\")throw new Error(\"Cannot `\"+b+\"` without `Parser`\")}function mn(b,v){if(typeof v!=\"function\")throw new Error(\"Cannot `\"+b+\"` without `Compiler`\")}function hr(b,v){if(v)throw new Error(\"Cannot invoke `\"+b+\"` on a frozen processor.\\nCreate a new processor first, by invoking it: use `processor()` instead of `processor`.\")}function ti(b){if(!b||typeof b.type!=\"string\")throw new Error(\"Expected node, got `\"+b+\"`\")}function Qn(b,v,X){if(!X)throw new Error(\"`\"+b+\"` finished async. Use `\"+v+\"` instead\")}}}),Jn=gt({\"node_modules/remark-math/util.js\"(di){Pn(),di.isRemarkParser=En,di.isRemarkCompiler=Ot;function En(Wt){return Boolean(Wt&&Wt.prototype&&Wt.prototype.blockTokenizers)}function Ot(Wt){return Boolean(Wt&&Wt.prototype&&Wt.prototype.visitors)}}}),bi=gt({\"node_modules/remark-math/inline.js\"(di,En){Pn();var Ot=Jn();En.exports=Zt;var Wt=9,Vt=32,yt=36,Pt=48,Gt=57,St=92,un=[\"math\",\"math-inline\"],ft=\"math-display\";function Zt(Ri){let Gi=this.Parser,Ti=this.Compiler;Ot.isRemarkParser(Gi)&&qn(Gi,Ri),Ot.isRemarkCompiler(Ti)&&On(Ti)}function qn(Ri,Gi){let Ti=Ri.prototype,mr=Ti.inlineMethods;hr.locator=mn,Ti.inlineTokenizers.math=hr,mr.splice(mr.indexOf(\"text\"),0,\"math\");function mn(ti,Qn){return ti.indexOf(\"$\",Qn)}function hr(ti,Qn,b){let v=Qn.length,X=!1,de=!1,ve=0,ie,V,P,he,N,se,Se;if(Qn.charCodeAt(ve)===St&&(de=!0,ve++),Qn.charCodeAt(ve)===yt){if(ve++,de)return b?!0:ti(Qn.slice(0,ve))({type:\"text\",value:\"$\"});if(Qn.charCodeAt(ve)===yt&&(X=!0,ve++),P=Qn.charCodeAt(ve),!(P===Vt||P===Wt)){for(he=ve;ve<v;){if(V=P,P=Qn.charCodeAt(ve+1),V===yt){if(ie=Qn.charCodeAt(ve-1),ie!==Vt&&ie!==Wt&&(P!==P||P<Pt||P>Gt)&&(!X||P===yt)){N=ve-1,ve++,X&&ve++,se=ve;break}}else V===St&&(ve++,P=Qn.charCodeAt(ve+1));ve++}if(se!==void 0)return b?!0:(Se=Qn.slice(he,N+1),ti(Qn.slice(0,se))({type:\"inlineMath\",value:Se,data:{hName:\"span\",hProperties:{className:un.concat(X&&Gi.inlineMathDouble?[ft]:[])},hChildren:[{type:\"text\",value:Se}]}}))}}}}function On(Ri){let Gi=Ri.prototype;Gi.visitors.inlineMath=Ti;function Ti(mr){let mn=\"$\";return(mr.data&&mr.data.hProperties&&mr.data.hProperties.className||[]).includes(ft)&&(mn=\"$$\"),mn+mr.value+mn}}}}),Rr=gt({\"node_modules/remark-math/block.js\"(di,En){Pn();var Ot=Jn();En.exports=ft;var Wt=10,Vt=32,yt=36,Pt=`\n`,Gt=\"$\",St=2,un=[\"math\",\"math-display\"];function ft(){let On=this.Parser,Ri=this.Compiler;Ot.isRemarkParser(On)&&Zt(On),Ot.isRemarkCompiler(Ri)&&qn(Ri)}function Zt(On){let Ri=On.prototype,Gi=Ri.blockMethods,Ti=Ri.interruptParagraph,mr=Ri.interruptList,mn=Ri.interruptBlockquote;Ri.blockTokenizers.math=hr,Gi.splice(Gi.indexOf(\"fencedCode\")+1,0,\"math\"),Ti.splice(Ti.indexOf(\"fencedCode\")+1,0,[\"math\"]),mr.splice(mr.indexOf(\"fencedCode\")+1,0,[\"math\"]),mn.splice(mn.indexOf(\"fencedCode\")+1,0,[\"math\"]);function hr(ti,Qn,b){var v=Qn.length,X=0;let de,ve,ie,V,P,he,N,se,Se,S,Re;for(;X<v&&Qn.charCodeAt(X)===Vt;)X++;for(P=X;X<v&&Qn.charCodeAt(X)===yt;)X++;if(he=X-P,!(he<St)){for(;X<v&&Qn.charCodeAt(X)===Vt;)X++;for(N=X;X<v;){if(de=Qn.charCodeAt(X),de===yt)return;if(de===Wt)break;X++}if(Qn.charCodeAt(X)===Wt){if(b)return!0;for(ve=[],N!==X&&ve.push(Qn.slice(N,X)),X++,ie=Qn.indexOf(Pt,X+1),ie=ie===-1?v:ie;X<v;){for(se=!1,S=X,Re=ie,V=ie,Se=0;V>S&&Qn.charCodeAt(V-1)===Vt;)V--;for(;V>S&&Qn.charCodeAt(V-1)===yt;)Se++,V--;for(he<=Se&&Qn.indexOf(Gt,S)===V&&(se=!0,Re=V);S<=Re&&S-X<P&&Qn.charCodeAt(S)===Vt;)S++;if(se)for(;Re>S&&Qn.charCodeAt(Re-1)===Vt;)Re--;if((!se||S!==Re)&&ve.push(Qn.slice(S,Re)),se)break;X=ie+1,ie=Qn.indexOf(Pt,X+1),ie=ie===-1?v:ie}return ve=ve.join(`\n`),ti(Qn.slice(0,ie))({type:\"math\",value:ve,data:{hName:\"div\",hProperties:{className:un.concat()},hChildren:[{type:\"text\",value:ve}]}})}}}}function qn(On){let Ri=On.prototype;Ri.visitors.math=Gi;function Gi(Ti){return`$$\n`+Ti.value+`\n$$`}}}}),zr=gt({\"node_modules/remark-math/index.js\"(di,En){Pn();var Ot=bi(),Wt=Rr();En.exports=Vt;function Vt(yt){var Pt=yt||{};Wt.call(this,Pt),Ot.call(this,Pt)}}}),ko=gt({\"node_modules/remark-footnotes/index.js\"(di,En){Pn(),En.exports=Ri;var Ot=9,Wt=10,Vt=32,yt=33,Pt=58,Gt=91,St=92,un=93,ft=94,Zt=96,qn=4,On=1024;function Ri(Qn){var b=this.Parser,v=this.Compiler;Gi(b)&&mr(b,Qn),Ti(v)&&mn(v)}function Gi(Qn){return Boolean(Qn&&Qn.prototype&&Qn.prototype.blockTokenizers)}function Ti(Qn){return Boolean(Qn&&Qn.prototype&&Qn.prototype.visitors)}function mr(Qn,b){for(var v=b||{},X=Qn.prototype,de=X.blockTokenizers,ve=X.inlineTokenizers,ie=X.blockMethods,V=X.inlineMethods,P=de.definition,he=ve.reference,N=[],se=-1,Se=ie.length,S;++se<Se;)S=ie[se],!(S===\"newline\"||S===\"indentedCode\"||S===\"paragraph\"||S===\"footnoteDefinition\")&&N.push([S]);N.push([\"footnoteDefinition\"]),v.inlineNotes&&(hr(V,\"reference\",\"inlineNote\"),ve.inlineNote=_n),hr(ie,\"definition\",\"footnoteDefinition\"),hr(V,\"reference\",\"footnoteCall\"),de.definition=Mn,de.footnoteDefinition=Re,ve.footnoteCall=dt,ve.reference=Qt,X.interruptFootnoteDefinition=N,Qt.locator=he.locator,dt.locator=Bi,_n.locator=yn;function Re(vn,Ut,In){for(var Vi=this,ct=Vi.interruptFootnoteDefinition,xi=Vi.offset,qr=Ut.length+1,xr=0,Bs=[],Mi,ms,Ks,is,Ms,to,Lo,ji,jr,ss,Jo,da,ha;xr<qr&&(is=Ut.charCodeAt(xr),!(is!==Ot&&is!==Vt));)xr++;if(Ut.charCodeAt(xr++)===Gt&&Ut.charCodeAt(xr++)===ft){for(ms=xr;xr<qr;){if(is=Ut.charCodeAt(xr),is!==is||is===Wt||is===Ot||is===Vt)return;if(is===un){Ks=xr,xr++;break}xr++}if(!(Ks===void 0||ms===Ks||Ut.charCodeAt(xr++)!==Pt)){if(In)return!0;for(Mi=Ut.slice(ms,Ks),Ms=vn.now(),jr=0,ss=0,Jo=xr,da=[];xr<qr;){if(is=Ut.charCodeAt(xr),is!==is||is===Wt)ha={start:jr,contentStart:Jo||xr,contentEnd:xr,end:xr},da.push(ha),is===Wt&&(jr=xr+1,ss=0,Jo=void 0,ha.end=jr);else if(ss!==void 0)if(is===Vt||is===Ot)ss+=is===Vt?1:qn-ss%qn,ss>qn&&(ss=void 0,Jo=xr);else{if(ss<qn&&ha&&(ha.contentStart===ha.contentEnd||ti(ct,de,Vi,[vn,Ut.slice(xr,On),!0])))break;ss=void 0,Jo=xr}xr++}for(xr=-1,qr=da.length;qr>0&&(ha=da[qr-1],ha.contentStart===ha.contentEnd);)qr--;for(to=vn(Ut.slice(0,ha.contentEnd));++xr<qr;)ha=da[xr],xi[Ms.line+xr]=(xi[Ms.line+xr]||0)+(ha.contentStart-ha.start),Bs.push(Ut.slice(ha.contentStart,ha.end));return Lo=Vi.enterBlock(),ji=Vi.tokenizeBlock(Bs.join(\"\"),Ms),Lo(),to({type:\"footnoteDefinition\",identifier:Mi.toLowerCase(),label:Mi,children:ji})}}}function dt(vn,Ut,In){var Vi=Ut.length+1,ct=0,xi,qr,xr,Bs;if(Ut.charCodeAt(ct++)===Gt&&Ut.charCodeAt(ct++)===ft){for(qr=ct;ct<Vi;){if(Bs=Ut.charCodeAt(ct),Bs!==Bs||Bs===Wt||Bs===Ot||Bs===Vt)return;if(Bs===un){xr=ct,ct++;break}ct++}if(!(xr===void 0||qr===xr))return In?!0:(xi=Ut.slice(qr,xr),vn(Ut.slice(0,ct))({type:\"footnoteReference\",identifier:xi.toLowerCase(),label:xi}))}}function _n(vn,Ut,In){var Vi=this,ct=Ut.length+1,xi=0,qr=0,xr,Bs,Mi,ms,Ks,is,Ms;if(Ut.charCodeAt(xi++)===ft&&Ut.charCodeAt(xi++)===Gt){for(Mi=xi;xi<ct;){if(Bs=Ut.charCodeAt(xi),Bs!==Bs)return;if(is===void 0)if(Bs===St)xi+=2;else if(Bs===Gt)qr++,xi++;else if(Bs===un)if(qr===0){ms=xi,xi++;break}else qr--,xi++;else if(Bs===Zt){for(Ks=xi,is=1;Ut.charCodeAt(Ks+is)===Zt;)is++;xi+=is}else xi++;else if(Bs===Zt){for(Ks=xi,Ms=1;Ut.charCodeAt(Ks+Ms)===Zt;)Ms++;xi+=Ms,is===Ms&&(is=void 0),Ms=void 0}else xi++}if(ms!==void 0)return In?!0:(xr=vn.now(),xr.column+=2,xr.offset+=2,vn(Ut.slice(0,xi))({type:\"footnote\",children:Vi.tokenizeInline(Ut.slice(Mi,ms),xr)}))}}function Qt(vn,Ut,In){var Vi=0;if(Ut.charCodeAt(Vi)===yt&&Vi++,Ut.charCodeAt(Vi)===Gt&&Ut.charCodeAt(Vi+1)!==ft)return he.call(this,vn,Ut,In)}function Mn(vn,Ut,In){for(var Vi=0,ct=Ut.charCodeAt(Vi);ct===Vt||ct===Ot;)ct=Ut.charCodeAt(++Vi);if(ct===Gt&&Ut.charCodeAt(Vi+1)!==ft)return P.call(this,vn,Ut,In)}function Bi(vn,Ut){return vn.indexOf(\"[\",Ut)}function yn(vn,Ut){return vn.indexOf(\"^[\",Ut)}}function mn(Qn){var b=Qn.prototype.visitors,v=\"    \";b.footnote=X,b.footnoteReference=de,b.footnoteDefinition=ve;function X(ie){return\"^[\"+this.all(ie).join(\"\")+\"]\"}function de(ie){return\"[^\"+(ie.label||ie.identifier)+\"]\"}function ve(ie){for(var V=this.all(ie).join(`\n\n`).split(`\n`),P=0,he=V.length,N;++P<he;)N=V[P],N!==\"\"&&(V[P]=v+N);return\"[^\"+(ie.label||ie.identifier)+\"]: \"+V.join(`\n`)}}function hr(Qn,b,v){Qn.splice(Qn.indexOf(b),0,v)}function ti(Qn,b,v,X){for(var de=Qn.length,ve=-1;++ve<de;)if(b[Qn[ve][0]].apply(v,X))return!0;return!1}}}),fi=gt({\"src/utils/front-matter/parse.js\"(di,En){Pn();var Ot=new RegExp(\"^(?<startDelimiter>-{3}|\\\\+{3})(?<language>[^\\\\n]*)\\\\n(?:|(?<value>.*?)\\\\n)(?<endDelimiter>\\\\k<startDelimiter>|\\\\.{3})[^\\\\S\\\\n]*(?:\\\\n|$)\",\"s\");function Wt(Vt){let yt=Vt.match(Ot);if(!yt)return{content:Vt};let{startDelimiter:Pt,language:Gt,value:St=\"\",endDelimiter:un}=yt.groups,ft=Gt.trim()||\"yaml\";if(Pt===\"+++\"&&(ft=\"toml\"),ft!==\"yaml\"&&Pt!==un)return{content:Vt};let[Zt]=yt;return{frontMatter:{type:\"front-matter\",lang:ft,value:St,startDelimiter:Pt,endDelimiter:un,raw:Zt.replace(/\\n$/,\"\")},content:Zt.replace(/[^\\n]/g,\" \")+Vt.slice(Zt.length)}}En.exports=Wt}}),Ce=gt({\"src/language-markdown/pragma.js\"(di,En){Pn();var Ot=fi(),Wt=[\"format\",\"prettier\"];function Vt(yt){let Pt=`@(${Wt.join(\"|\")})`,Gt=new RegExp([`<!--\\\\s*${Pt}\\\\s*-->`,`{\\\\s*\\\\/\\\\*\\\\s*${Pt}\\\\s*\\\\*\\\\/\\\\s*}`,`<!--.*\\r?\n[\\\\s\\\\S]*(^|\n)[^\\\\S\n]*${Pt}[^\\\\S\n]*($|\n)[\\\\s\\\\S]*\n.*-->`].join(\"|\"),\"m\"),St=yt.match(Gt);return(St==null?void 0:St.index)===0}En.exports={startWithPragma:Vt,hasPragma:yt=>Vt(Ot(yt).content.trimStart()),insertPragma:yt=>{let Pt=Ot(yt),Gt=`<!-- @${Wt[0]} -->`;return Pt.frontMatter?`${Pt.frontMatter.raw}\n\n${Gt}\n\n${Pt.content}`:`${Gt}\n\n${Pt.content}`}}}}),Te=gt({\"src/language-markdown/loc.js\"(di,En){Pn();function Ot(Vt){return Vt.position.start.offset}function Wt(Vt){return Vt.position.end.offset}En.exports={locStart:Ot,locEnd:Wt}}}),Ft=gt({\"src/language-markdown/mdx.js\"(di,En){Pn();var Ot=/^import\\s/,Wt=/^export\\s/,Vt=\"[a-z][a-z0-9]*(\\\\.[a-z][a-z0-9]*)*|\",yt=/<!---->|<!---?[^>-](?:-?[^-])*-->/,Pt=/^{\\s*\\/\\*(.*)\\*\\/\\s*}/,Gt=`\n\n`,St=On=>Ot.test(On),un=On=>Wt.test(On),ft=(On,Ri)=>{let Gi=Ri.indexOf(Gt),Ti=Ri.slice(0,Gi);if(un(Ti)||St(Ti))return On(Ti)({type:un(Ti)?\"export\":\"import\",value:Ti})},Zt=(On,Ri)=>{let Gi=Pt.exec(Ri);if(Gi)return On(Gi[0])({type:\"esComment\",value:Gi[1].trim()})};ft.locator=On=>un(On)||St(On)?-1:1,Zt.locator=(On,Ri)=>On.indexOf(\"{\",Ri);function qn(){let{Parser:On}=this,{blockTokenizers:Ri,blockMethods:Gi,inlineTokenizers:Ti,inlineMethods:mr}=On.prototype;Ri.esSyntax=ft,Ti.esComment=Zt,Gi.splice(Gi.indexOf(\"paragraph\"),0,\"esSyntax\"),mr.splice(mr.indexOf(\"text\"),0,\"esComment\")}En.exports={esSyntax:qn,BLOCKS_REGEX:Vt,COMMENT_REGEX:yt}}}),Lt={};_i(Lt,{default:()=>nn});function nn(di){if(typeof di!=\"string\")throw new TypeError(\"Expected a string\");return di.replace(/[|\\\\{}()[\\]^$+*?.]/g,\"\\\\$&\").replace(/-/g,\"\\\\x2d\")}var Nn=en({\"node_modules/escape-string-regexp/index.js\"(){Pn()}}),Pi=gt({\"src/utils/get-last.js\"(di,En){Pn();var Ot=Wt=>Wt[Wt.length-1];En.exports=Ot}}),si=gt({\"node_modules/semver/internal/debug.js\"(di,En){Pn();var Ot=typeof Or==\"object\"&&Or.env&&Or.env.NODE_DEBUG&&/\\bsemver\\b/i.test(Or.env.NODE_DEBUG)?function(){for(var Wt=arguments.length,Vt=new Array(Wt),yt=0;yt<Wt;yt++)Vt[yt]=arguments[yt];return console.error(\"SEMVER\",...Vt)}:()=>{};En.exports=Ot}}),Ur=gt({\"node_modules/semver/internal/constants.js\"(di,En){Pn();var Ot=\"2.0.0\",Wt=256,Vt=Number.MAX_SAFE_INTEGER||9007199254740991,yt=16;En.exports={SEMVER_SPEC_VERSION:Ot,MAX_LENGTH:Wt,MAX_SAFE_INTEGER:Vt,MAX_SAFE_COMPONENT_LENGTH:yt}}}),Xr=gt({\"node_modules/semver/internal/re.js\"(di,En){Pn();var{MAX_SAFE_COMPONENT_LENGTH:Ot}=Ur(),Wt=si();di=En.exports={};var Vt=di.re=[],yt=di.src=[],Pt=di.t={},Gt=0,St=(un,ft,Zt)=>{let qn=Gt++;Wt(un,qn,ft),Pt[un]=qn,yt[qn]=ft,Vt[qn]=new RegExp(ft,Zt?\"g\":void 0)};St(\"NUMERICIDENTIFIER\",\"0|[1-9]\\\\d*\"),St(\"NUMERICIDENTIFIERLOOSE\",\"[0-9]+\"),St(\"NONNUMERICIDENTIFIER\",\"\\\\d*[a-zA-Z-][a-zA-Z0-9-]*\"),St(\"MAINVERSION\",`(${yt[Pt.NUMERICIDENTIFIER]})\\\\.(${yt[Pt.NUMERICIDENTIFIER]})\\\\.(${yt[Pt.NUMERICIDENTIFIER]})`),St(\"MAINVERSIONLOOSE\",`(${yt[Pt.NUMERICIDENTIFIERLOOSE]})\\\\.(${yt[Pt.NUMERICIDENTIFIERLOOSE]})\\\\.(${yt[Pt.NUMERICIDENTIFIERLOOSE]})`),St(\"PRERELEASEIDENTIFIER\",`(?:${yt[Pt.NUMERICIDENTIFIER]}|${yt[Pt.NONNUMERICIDENTIFIER]})`),St(\"PRERELEASEIDENTIFIERLOOSE\",`(?:${yt[Pt.NUMERICIDENTIFIERLOOSE]}|${yt[Pt.NONNUMERICIDENTIFIER]})`),St(\"PRERELEASE\",`(?:-(${yt[Pt.PRERELEASEIDENTIFIER]}(?:\\\\.${yt[Pt.PRERELEASEIDENTIFIER]})*))`),St(\"PRERELEASELOOSE\",`(?:-?(${yt[Pt.PRERELEASEIDENTIFIERLOOSE]}(?:\\\\.${yt[Pt.PRERELEASEIDENTIFIERLOOSE]})*))`),St(\"BUILDIDENTIFIER\",\"[0-9A-Za-z-]+\"),St(\"BUILD\",`(?:\\\\+(${yt[Pt.BUILDIDENTIFIER]}(?:\\\\.${yt[Pt.BUILDIDENTIFIER]})*))`),St(\"FULLPLAIN\",`v?${yt[Pt.MAINVERSION]}${yt[Pt.PRERELEASE]}?${yt[Pt.BUILD]}?`),St(\"FULL\",`^${yt[Pt.FULLPLAIN]}$`),St(\"LOOSEPLAIN\",`[v=\\\\s]*${yt[Pt.MAINVERSIONLOOSE]}${yt[Pt.PRERELEASELOOSE]}?${yt[Pt.BUILD]}?`),St(\"LOOSE\",`^${yt[Pt.LOOSEPLAIN]}$`),St(\"GTLT\",\"((?:<|>)?=?)\"),St(\"XRANGEIDENTIFIERLOOSE\",`${yt[Pt.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`),St(\"XRANGEIDENTIFIER\",`${yt[Pt.NUMERICIDENTIFIER]}|x|X|\\\\*`),St(\"XRANGEPLAIN\",`[v=\\\\s]*(${yt[Pt.XRANGEIDENTIFIER]})(?:\\\\.(${yt[Pt.XRANGEIDENTIFIER]})(?:\\\\.(${yt[Pt.XRANGEIDENTIFIER]})(?:${yt[Pt.PRERELEASE]})?${yt[Pt.BUILD]}?)?)?`),St(\"XRANGEPLAINLOOSE\",`[v=\\\\s]*(${yt[Pt.XRANGEIDENTIFIERLOOSE]})(?:\\\\.(${yt[Pt.XRANGEIDENTIFIERLOOSE]})(?:\\\\.(${yt[Pt.XRANGEIDENTIFIERLOOSE]})(?:${yt[Pt.PRERELEASELOOSE]})?${yt[Pt.BUILD]}?)?)?`),St(\"XRANGE\",`^${yt[Pt.GTLT]}\\\\s*${yt[Pt.XRANGEPLAIN]}$`),St(\"XRANGELOOSE\",`^${yt[Pt.GTLT]}\\\\s*${yt[Pt.XRANGEPLAINLOOSE]}$`),St(\"COERCE\",`(^|[^\\\\d])(\\\\d{1,${Ot}})(?:\\\\.(\\\\d{1,${Ot}}))?(?:\\\\.(\\\\d{1,${Ot}}))?(?:$|[^\\\\d])`),St(\"COERCERTL\",yt[Pt.COERCE],!0),St(\"LONETILDE\",\"(?:~>?)\"),St(\"TILDETRIM\",`(\\\\s*)${yt[Pt.LONETILDE]}\\\\s+`,!0),di.tildeTrimReplace=\"$1~\",St(\"TILDE\",`^${yt[Pt.LONETILDE]}${yt[Pt.XRANGEPLAIN]}$`),St(\"TILDELOOSE\",`^${yt[Pt.LONETILDE]}${yt[Pt.XRANGEPLAINLOOSE]}$`),St(\"LONECARET\",\"(?:\\\\^)\"),St(\"CARETTRIM\",`(\\\\s*)${yt[Pt.LONECARET]}\\\\s+`,!0),di.caretTrimReplace=\"$1^\",St(\"CARET\",`^${yt[Pt.LONECARET]}${yt[Pt.XRANGEPLAIN]}$`),St(\"CARETLOOSE\",`^${yt[Pt.LONECARET]}${yt[Pt.XRANGEPLAINLOOSE]}$`),St(\"COMPARATORLOOSE\",`^${yt[Pt.GTLT]}\\\\s*(${yt[Pt.LOOSEPLAIN]})$|^$`),St(\"COMPARATOR\",`^${yt[Pt.GTLT]}\\\\s*(${yt[Pt.FULLPLAIN]})$|^$`),St(\"COMPARATORTRIM\",`(\\\\s*)${yt[Pt.GTLT]}\\\\s*(${yt[Pt.LOOSEPLAIN]}|${yt[Pt.XRANGEPLAIN]})`,!0),di.comparatorTrimReplace=\"$1$2$3\",St(\"HYPHENRANGE\",`^\\\\s*(${yt[Pt.XRANGEPLAIN]})\\\\s+-\\\\s+(${yt[Pt.XRANGEPLAIN]})\\\\s*$`),St(\"HYPHENRANGELOOSE\",`^\\\\s*(${yt[Pt.XRANGEPLAINLOOSE]})\\\\s+-\\\\s+(${yt[Pt.XRANGEPLAINLOOSE]})\\\\s*$`),St(\"STAR\",\"(<|>)?=?\\\\s*\\\\*\"),St(\"GTE0\",\"^\\\\s*>=\\\\s*0\\\\.0\\\\.0\\\\s*$\"),St(\"GTE0PRE\",\"^\\\\s*>=\\\\s*0\\\\.0\\\\.0-0\\\\s*$\")}}),eo=gt({\"node_modules/semver/internal/parse-options.js\"(di,En){Pn();var Ot=[\"includePrerelease\",\"loose\",\"rtl\"],Wt=Vt=>Vt?typeof Vt!=\"object\"?{loose:!0}:Ot.filter(yt=>Vt[yt]).reduce((yt,Pt)=>(yt[Pt]=!0,yt),{}):{};En.exports=Wt}}),Br=gt({\"node_modules/semver/internal/identifiers.js\"(di,En){Pn();var Ot=/^[0-9]+$/,Wt=(yt,Pt)=>{let Gt=Ot.test(yt),St=Ot.test(Pt);return Gt&&St&&(yt=+yt,Pt=+Pt),yt===Pt?0:Gt&&!St?-1:St&&!Gt?1:yt<Pt?-1:1},Vt=(yt,Pt)=>Wt(Pt,yt);En.exports={compareIdentifiers:Wt,rcompareIdentifiers:Vt}}}),Oo=gt({\"node_modules/semver/classes/semver.js\"(di,En){Pn();var Ot=si(),{MAX_LENGTH:Wt,MAX_SAFE_INTEGER:Vt}=Ur(),{re:yt,t:Pt}=Xr(),Gt=eo(),{compareIdentifiers:St}=Br(),un=class{constructor(ft,Zt){if(Zt=Gt(Zt),ft instanceof un){if(ft.loose===!!Zt.loose&&ft.includePrerelease===!!Zt.includePrerelease)return ft;ft=ft.version}else if(typeof ft!=\"string\")throw new TypeError(`Invalid Version: ${ft}`);if(ft.length>Wt)throw new TypeError(`version is longer than ${Wt} characters`);Ot(\"SemVer\",ft,Zt),this.options=Zt,this.loose=!!Zt.loose,this.includePrerelease=!!Zt.includePrerelease;let qn=ft.trim().match(Zt.loose?yt[Pt.LOOSE]:yt[Pt.FULL]);if(!qn)throw new TypeError(`Invalid Version: ${ft}`);if(this.raw=ft,this.major=+qn[1],this.minor=+qn[2],this.patch=+qn[3],this.major>Vt||this.major<0)throw new TypeError(\"Invalid major version\");if(this.minor>Vt||this.minor<0)throw new TypeError(\"Invalid minor version\");if(this.patch>Vt||this.patch<0)throw new TypeError(\"Invalid patch version\");qn[4]?this.prerelease=qn[4].split(\".\").map(On=>{if(/^[0-9]+$/.test(On)){let Ri=+On;if(Ri>=0&&Ri<Vt)return Ri}return On}):this.prerelease=[],this.build=qn[5]?qn[5].split(\".\"):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(\".\")}`),this.version}toString(){return this.version}compare(ft){if(Ot(\"SemVer.compare\",this.version,this.options,ft),!(ft instanceof un)){if(typeof ft==\"string\"&&ft===this.version)return 0;ft=new un(ft,this.options)}return ft.version===this.version?0:this.compareMain(ft)||this.comparePre(ft)}compareMain(ft){return ft instanceof un||(ft=new un(ft,this.options)),St(this.major,ft.major)||St(this.minor,ft.minor)||St(this.patch,ft.patch)}comparePre(ft){if(ft instanceof un||(ft=new un(ft,this.options)),this.prerelease.length&&!ft.prerelease.length)return-1;if(!this.prerelease.length&&ft.prerelease.length)return 1;if(!this.prerelease.length&&!ft.prerelease.length)return 0;let Zt=0;do{let qn=this.prerelease[Zt],On=ft.prerelease[Zt];if(Ot(\"prerelease compare\",Zt,qn,On),qn===void 0&&On===void 0)return 0;if(On===void 0)return 1;if(qn===void 0)return-1;if(qn!==On)return St(qn,On)}while(++Zt)}compareBuild(ft){ft instanceof un||(ft=new un(ft,this.options));let Zt=0;do{let qn=this.build[Zt],On=ft.build[Zt];if(Ot(\"prerelease compare\",Zt,qn,On),qn===void 0&&On===void 0)return 0;if(On===void 0)return 1;if(qn===void 0)return-1;if(qn!==On)return St(qn,On)}while(++Zt)}inc(ft,Zt){switch(ft){case\"premajor\":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc(\"pre\",Zt);break;case\"preminor\":this.prerelease.length=0,this.patch=0,this.minor++,this.inc(\"pre\",Zt);break;case\"prepatch\":this.prerelease.length=0,this.inc(\"patch\",Zt),this.inc(\"pre\",Zt);break;case\"prerelease\":this.prerelease.length===0&&this.inc(\"patch\",Zt),this.inc(\"pre\",Zt);break;case\"major\":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case\"minor\":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case\"patch\":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case\"pre\":if(this.prerelease.length===0)this.prerelease=[0];else{let qn=this.prerelease.length;for(;--qn>=0;)typeof this.prerelease[qn]==\"number\"&&(this.prerelease[qn]++,qn=-2);qn===-1&&this.prerelease.push(0)}Zt&&(St(this.prerelease[0],Zt)===0?isNaN(this.prerelease[1])&&(this.prerelease=[Zt,0]):this.prerelease=[Zt,0]);break;default:throw new Error(`invalid increment argument: ${ft}`)}return this.format(),this.raw=this.version,this}};En.exports=un}}),Ko=gt({\"node_modules/semver/functions/compare.js\"(di,En){Pn();var Ot=Oo(),Wt=(Vt,yt,Pt)=>new Ot(Vt,Pt).compare(new Ot(yt,Pt));En.exports=Wt}}),Ho=gt({\"node_modules/semver/functions/lt.js\"(di,En){Pn();var Ot=Ko(),Wt=(Vt,yt,Pt)=>Ot(Vt,yt,Pt)<0;En.exports=Wt}}),ba=gt({\"node_modules/semver/functions/gte.js\"(di,En){Pn();var Ot=Ko(),Wt=(Vt,yt,Pt)=>Ot(Vt,yt,Pt)>=0;En.exports=Wt}}),$t=gt({\"src/utils/arrayify.js\"(di,En){Pn(),En.exports=(Ot,Wt)=>Object.entries(Ot).map(Vt=>{let[yt,Pt]=Vt;return Object.assign({[Wt]:yt},Pt)})}}),Kn=gt({\"package.json\"(di,En){En.exports={version:\"2.8.8\"}}}),Nr=gt({\"node_modules/outdent/lib/index.js\"(di,En){Pn(),Object.defineProperty(di,\"__esModule\",{value:!0}),di.outdent=void 0;function Ot(){for(var mn=[],hr=0;hr<arguments.length;hr++)mn[hr]=arguments[hr]}function Wt(){return typeof WeakMap<\"u\"?new WeakMap:Vt()}function Vt(){return{add:Ot,delete:Ot,get:Ot,set:Ot,has:function(mn){return!1}}}var yt=Object.prototype.hasOwnProperty,Pt=function(mn,hr){return yt.call(mn,hr)};function Gt(mn,hr){for(var ti in hr)Pt(hr,ti)&&(mn[ti]=hr[ti]);return mn}var St=/^[ \\t]*(?:\\r\\n|\\r|\\n)/,un=/(?:\\r\\n|\\r|\\n)[ \\t]*$/,ft=/^(?:[\\r\\n]|$)/,Zt=/(?:\\r\\n|\\r|\\n)([ \\t]*)(?:[^ \\t\\r\\n]|$)/,qn=/^[ \\t]*[\\r\\n][ \\t\\r\\n]*$/;function On(mn,hr,ti){var Qn=0,b=mn[0].match(Zt);b&&(Qn=b[1].length);var v=\"(\\\\r\\\\n|\\\\r|\\\\n).{0,\"+Qn+\"}\",X=new RegExp(v,\"g\");hr&&(mn=mn.slice(1));var de=ti.newline,ve=ti.trimLeadingNewline,ie=ti.trimTrailingNewline,V=typeof de==\"string\",P=mn.length,he=mn.map(function(N,se){return N=N.replace(X,\"$1\"),se===0&&ve&&(N=N.replace(St,\"\")),se===P-1&&ie&&(N=N.replace(un,\"\")),V&&(N=N.replace(/\\r\\n|\\n|\\r/g,function(Se){return de})),N});return he}function Ri(mn,hr){for(var ti=\"\",Qn=0,b=mn.length;Qn<b;Qn++)ti+=mn[Qn],Qn<b-1&&(ti+=hr[Qn]);return ti}function Gi(mn){return Pt(mn,\"raw\")&&Pt(mn,\"length\")}function Ti(mn){var hr=Wt(),ti=Wt();function Qn(v){for(var X=[],de=1;de<arguments.length;de++)X[de-1]=arguments[de];if(Gi(v)){var ve=v,ie=(X[0]===Qn||X[0]===mr)&&qn.test(ve[0])&&ft.test(ve[1]),V=ie?ti:hr,P=V.get(ve);if(P||(P=On(ve,ie,mn),V.set(ve,P)),X.length===0)return P[0];var he=Ri(P,ie?X.slice(1):X);return he}else return Ti(Gt(Gt({},mn),v||{}))}var b=Gt(Qn,{string:function(v){return On([v],!1,mn)[0]}});return b}var mr=Ti({trimLeadingNewline:!0,trimTrailingNewline:!0});if(di.outdent=mr,di.default=mr,typeof En<\"u\")try{En.exports=mr,Object.defineProperty(mr,\"__esModule\",{value:!0}),mr.default=mr,mr.outdent=mr}catch{}}}),nr=gt({\"src/main/core-options.js\"(di,En){Pn();var{outdent:Ot}=Nr(),Wt=\"Config\",Vt=\"Editor\",yt=\"Format\",Pt=\"Other\",Gt=\"Output\",St=\"Global\",un=\"Special\",ft={cursorOffset:{since:\"1.4.0\",category:un,type:\"int\",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:Ot`\n      Print (to stderr) where a cursor at the given position would move to after formatting.\n      This option cannot be used with --range-start and --range-end.\n    `,cliCategory:Vt},endOfLine:{since:\"1.15.0\",category:St,type:\"choice\",default:[{since:\"1.15.0\",value:\"auto\"},{since:\"2.0.0\",value:\"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:Ot`\n          Maintain existing\n          (mixed values within one file are normalised by looking at what's used after the first line)\n        `}]},filepath:{since:\"1.4.0\",category:un,type:\"path\",description:\"Specify the input filepath. This will be used to do parser inference.\",cliName:\"stdin-filepath\",cliCategory:Pt,cliDescription:\"Path to the file to pretend that stdin comes from.\"},insertPragma:{since:\"1.8.0\",category:un,type:\"boolean\",default:!1,description:\"Insert @format pragma into file's first docblock comment.\",cliCategory:Pt},parser:{since:\"0.0.10\",category:St,type:\"choice\",default:[{since:\"0.0.10\",value:\"babylon\"},{since:\"1.13.0\",value:void 0}],description:\"Which parser to use.\",exception:Zt=>typeof Zt==\"string\"||typeof Zt==\"function\",choices:[{value:\"flow\",description:\"Flow\"},{value:\"babel\",since:\"1.16.0\",description:\"JavaScript\"},{value:\"babel-flow\",since:\"1.16.0\",description:\"Flow\"},{value:\"babel-ts\",since:\"2.0.0\",description:\"TypeScript\"},{value:\"typescript\",since:\"1.4.0\",description:\"TypeScript\"},{value:\"acorn\",since:\"2.6.0\",description:\"JavaScript\"},{value:\"espree\",since:\"2.2.0\",description:\"JavaScript\"},{value:\"meriyah\",since:\"2.2.0\",description:\"JavaScript\"},{value:\"css\",since:\"1.7.1\",description:\"CSS\"},{value:\"less\",since:\"1.7.1\",description:\"Less\"},{value:\"scss\",since:\"1.7.1\",description:\"SCSS\"},{value:\"json\",since:\"1.5.0\",description:\"JSON\"},{value:\"json5\",since:\"1.13.0\",description:\"JSON5\"},{value:\"json-stringify\",since:\"1.13.0\",description:\"JSON.stringify\"},{value:\"graphql\",since:\"1.5.0\",description:\"GraphQL\"},{value:\"markdown\",since:\"1.8.0\",description:\"Markdown\"},{value:\"mdx\",since:\"1.15.0\",description:\"MDX\"},{value:\"vue\",since:\"1.10.0\",description:\"Vue\"},{value:\"yaml\",since:\"1.14.0\",description:\"YAML\"},{value:\"glimmer\",since:\"2.3.0\",description:\"Ember / Handlebars\"},{value:\"html\",since:\"1.15.0\",description:\"HTML\"},{value:\"angular\",since:\"1.15.0\",description:\"Angular\"},{value:\"lwc\",since:\"1.17.0\",description:\"Lightning Web Components\"}]},plugins:{since:\"1.10.0\",type:\"path\",array:!0,default:[{value:[]}],category:St,description:\"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.\",exception:Zt=>typeof Zt==\"string\"||typeof Zt==\"object\",cliName:\"plugin\",cliCategory:Wt},pluginSearchDirs:{since:\"1.13.0\",type:\"path\",array:!0,default:[{value:[]}],category:St,description:Ot`\n      Custom directory that contains prettier plugins in node_modules subdirectory.\n      Overrides default behavior when plugins are searched relatively to the location of Prettier.\n      Multiple values are accepted.\n    `,exception:Zt=>typeof Zt==\"string\"||typeof Zt==\"object\",cliName:\"plugin-search-dir\",cliCategory:Wt},printWidth:{since:\"0.0.0\",category:St,type:\"int\",default:80,description:\"The line length where Prettier will try wrap.\",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:\"1.4.0\",category:un,type:\"int\",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Ot`\n      Format code ending at a given character offset (exclusive).\n      The range will extend forwards to the end of the selected statement.\n      This option cannot be used with --cursor-offset.\n    `,cliCategory:Vt},rangeStart:{since:\"1.4.0\",category:un,type:\"int\",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Ot`\n      Format code starting at a given character offset.\n      The range will extend backwards to the start of the first line containing the selected statement.\n      This option cannot be used with --cursor-offset.\n    `,cliCategory:Vt},requirePragma:{since:\"1.7.0\",category:un,type:\"boolean\",default:!1,description:Ot`\n      Require either '@prettier' or '@format' to be present in the file's first docblock comment\n      in order for it to be formatted.\n    `,cliCategory:Pt},tabWidth:{type:\"int\",category:St,default:2,description:\"Number of spaces per indentation level.\",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:\"1.0.0\",category:St,type:\"boolean\",default:!1,description:\"Indent with tabs instead of spaces.\"},embeddedLanguageFormatting:{since:\"2.1.0\",category:St,type:\"choice\",default:[{since:\"2.1.0\",value:\"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.\"}]}};En.exports={CATEGORY_CONFIG:Wt,CATEGORY_EDITOR:Vt,CATEGORY_FORMAT:yt,CATEGORY_OTHER:Pt,CATEGORY_OUTPUT:Gt,CATEGORY_GLOBAL:St,CATEGORY_SPECIAL:un,options:ft}}}),ps=gt({\"src/main/support.js\"(di,En){Pn();var Ot={compare:Ko(),lt:Ho(),gte:ba()},Wt=$t(),Vt=Kn().version,yt=nr().options;function Pt(){let{plugins:St=[],showUnreleased:un=!1,showDeprecated:ft=!1,showInternal:Zt=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},qn=Vt.split(\"-\",1)[0],On=St.flatMap(mn=>mn.languages||[]).filter(Gi),Ri=Wt(Object.assign({},...St.map(mn=>{let{options:hr}=mn;return hr}),yt),\"name\").filter(mn=>Gi(mn)&&Ti(mn)).sort((mn,hr)=>mn.name===hr.name?0:mn.name<hr.name?-1:1).map(mr).map(mn=>{mn=Object.assign({},mn),Array.isArray(mn.default)&&(mn.default=mn.default.length===1?mn.default[0].value:mn.default.filter(Gi).sort((ti,Qn)=>Ot.compare(Qn.since,ti.since))[0].value),Array.isArray(mn.choices)&&(mn.choices=mn.choices.filter(ti=>Gi(ti)&&Ti(ti)),mn.name===\"parser\"&&Gt(mn,On,St));let hr=Object.fromEntries(St.filter(ti=>ti.defaultOptions&&ti.defaultOptions[mn.name]!==void 0).map(ti=>[ti.name,ti.defaultOptions[mn.name]]));return Object.assign(Object.assign({},mn),{},{pluginDefaults:hr})});return{languages:On,options:Ri};function Gi(mn){return un||!(\"since\"in mn)||mn.since&&Ot.gte(qn,mn.since)}function Ti(mn){return ft||!(\"deprecated\"in mn)||mn.deprecated&&Ot.lt(qn,mn.deprecated)}function mr(mn){return Zt?mn:$e(mn,ht)}}function Gt(St,un,ft){let Zt=new Set(St.choices.map(qn=>qn.value));for(let qn of un)if(qn.parsers){for(let On of qn.parsers)if(!Zt.has(On)){Zt.add(On);let Ri=ft.find(Ti=>Ti.parsers&&Ti.parsers[On]),Gi=qn.name;Ri&&Ri.name&&(Gi+=` (plugin: ${Ri.name})`),St.choices.push({value:On,description:Gi})}}}En.exports={getSupportInfo:Pt}}}),ga=gt({\"src/utils/is-non-empty-array.js\"(di,En){Pn();function Ot(Wt){return Array.isArray(Wt)&&Wt.length>0}En.exports=Ot}});function Yl(){let{onlyFirst:di=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},En=[\"[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]+)*|[a-zA-Z\\\\d]+(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)\",\"(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PR-TZcf-ntqry=><~]))\"].join(\"|\");return new RegExp(En,di?void 0:\"g\")}var Td=en({\"node_modules/strip-ansi/node_modules/ansi-regex/index.js\"(){Pn()}});function Mc(di){if(typeof di!=\"string\")throw new TypeError(`Expected a \\`string\\`, got \\`${typeof di}\\``);return di.replace(Yl(),\"\")}var ah=en({\"node_modules/strip-ansi/index.js\"(){Pn(),Td()}});function Gd(di){return Number.isInteger(di)?di>=4352&&(di<=4447||di===9001||di===9002||11904<=di&&di<=12871&&di!==12351||12880<=di&&di<=19903||19968<=di&&di<=42182||43360<=di&&di<=43388||44032<=di&&di<=55203||63744<=di&&di<=64255||65040<=di&&di<=65049||65072<=di&&di<=65131||65281<=di&&di<=65376||65504<=di&&di<=65510||110592<=di&&di<=110593||127488<=di&&di<=127569||131072<=di&&di<=262141):!1}var Mh=en({\"node_modules/is-fullwidth-code-point/index.js\"(){Pn()}}),Rh=gt({\"node_modules/emoji-regex/index.js\"(di,En){Pn(),En.exports=function(){return/\\uD83C\\uDFF4\\uDB40\\uDC67\\uDB40\\uDC62(?:\\uDB40\\uDC77\\uDB40\\uDC6C\\uDB40\\uDC73|\\uDB40\\uDC73\\uDB40\\uDC63\\uDB40\\uDC74|\\uDB40\\uDC65\\uDB40\\uDC6E\\uDB40\\uDC67)\\uDB40\\uDC7F|(?:\\uD83E\\uDDD1\\uD83C\\uDFFF\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFF\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFB-\\uDFFE])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFE\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFE\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFB-\\uDFFD\\uDFFF])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFD\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFD\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFC\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFC\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFB\\uDFFD-\\uDFFF])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFB\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFB\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFC-\\uDFFF])|\\uD83D\\uDC68(?:\\uD83C\\uDFFB(?:\\u200D(?:\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFF]))|\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFC-\\uDFFF])|[\\u2695\\u2696\\u2708]\\uFE0F|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD]))?|(?:\\uD83C[\\uDFFC-\\uDFFF])\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFF]))|\\u200D(?:\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83D\\uDC68|(?:\\uD83D[\\uDC68\\uDC69])\\u200D(?:\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67]))|\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFF\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFE])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFE\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFD\\uDFFF])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFD\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFC\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB\\uDFFD-\\uDFFF])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|(?:\\uD83C\\uDFFF\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFE\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFD\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFC\\u200D[\\u2695\\u2696\\u2708]|\\u200D[\\u2695\\u2696\\u2708])\\uFE0F|\\u200D(?:(?:\\uD83D[\\uDC68\\uDC69])\\u200D(?:\\uD83D[\\uDC66\\uDC67])|\\uD83D[\\uDC66\\uDC67])|\\uD83C\\uDFFF|\\uD83C\\uDFFE|\\uD83C\\uDFFD|\\uD83C\\uDFFC)?|(?:\\uD83D\\uDC69(?:\\uD83C\\uDFFB\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D(?:\\uD83D[\\uDC68\\uDC69])|\\uD83D[\\uDC68\\uDC69])|(?:\\uD83C[\\uDFFC-\\uDFFF])\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D(?:\\uD83D[\\uDC68\\uDC69])|\\uD83D[\\uDC68\\uDC69]))|\\uD83E\\uDDD1(?:\\uD83C[\\uDFFB-\\uDFFF])\\u200D\\uD83E\\uDD1D\\u200D\\uD83E\\uDDD1)(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83D\\uDC69\\u200D\\uD83D\\uDC69\\u200D(?:\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67]))|\\uD83D\\uDC69(?:\\u200D(?:\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D(?:\\uD83D[\\uDC68\\uDC69])|\\uD83D[\\uDC68\\uDC69])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFF\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFE\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFD\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFC\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFB\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD]))|\\uD83E\\uDDD1(?:\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83E\\uDDD1|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFF\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFE\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFD\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFC\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFB\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD]))|\\uD83D\\uDC69\\u200D\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC69\\u200D\\uD83D\\uDC69\\u200D(?:\\uD83D[\\uDC66\\uDC67])|\\uD83D\\uDC69\\u200D\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67])|(?:\\uD83D\\uDC41\\uFE0F\\u200D\\uD83D\\uDDE8|\\uD83E\\uDDD1(?:\\uD83C\\uDFFF\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFE\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFD\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFC\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFB\\u200D[\\u2695\\u2696\\u2708]|\\u200D[\\u2695\\u2696\\u2708])|\\uD83D\\uDC69(?:\\uD83C\\uDFFF\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFE\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFD\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFC\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFB\\u200D[\\u2695\\u2696\\u2708]|\\u200D[\\u2695\\u2696\\u2708])|\\uD83D\\uDE36\\u200D\\uD83C\\uDF2B|\\uD83C\\uDFF3\\uFE0F\\u200D\\u26A7|\\uD83D\\uDC3B\\u200D\\u2744|(?:(?:\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC70\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD35\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD4\\uDDD6-\\uDDDD])(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83D\\uDC6F|\\uD83E[\\uDD3C\\uDDDE\\uDDDF])\\u200D[\\u2640\\u2642]|(?:\\u26F9|\\uD83C[\\uDFCB\\uDFCC]|\\uD83D\\uDD75)(?:\\uFE0F|\\uD83C[\\uDFFB-\\uDFFF])\\u200D[\\u2640\\u2642]|\\uD83C\\uDFF4\\u200D\\u2620|(?:\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC70\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD35\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD4\\uDDD6-\\uDDDD])\\u200D[\\u2640\\u2642]|[\\xA9\\xAE\\u203C\\u2049\\u2122\\u2139\\u2194-\\u2199\\u21A9\\u21AA\\u2328\\u23CF\\u23ED-\\u23EF\\u23F1\\u23F2\\u23F8-\\u23FA\\u24C2\\u25AA\\u25AB\\u25B6\\u25C0\\u25FB\\u25FC\\u2600-\\u2604\\u260E\\u2611\\u2618\\u2620\\u2622\\u2623\\u2626\\u262A\\u262E\\u262F\\u2638-\\u263A\\u2640\\u2642\\u265F\\u2660\\u2663\\u2665\\u2666\\u2668\\u267B\\u267E\\u2692\\u2694-\\u2697\\u2699\\u269B\\u269C\\u26A0\\u26A7\\u26B0\\u26B1\\u26C8\\u26CF\\u26D1\\u26D3\\u26E9\\u26F0\\u26F1\\u26F4\\u26F7\\u26F8\\u2702\\u2708\\u2709\\u270F\\u2712\\u2714\\u2716\\u271D\\u2721\\u2733\\u2734\\u2744\\u2747\\u2763\\u27A1\\u2934\\u2935\\u2B05-\\u2B07\\u3030\\u303D\\u3297\\u3299]|\\uD83C[\\uDD70\\uDD71\\uDD7E\\uDD7F\\uDE02\\uDE37\\uDF21\\uDF24-\\uDF2C\\uDF36\\uDF7D\\uDF96\\uDF97\\uDF99-\\uDF9B\\uDF9E\\uDF9F\\uDFCD\\uDFCE\\uDFD4-\\uDFDF\\uDFF5\\uDFF7]|\\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|\\uD83C\\uDFF3\\uFE0F\\u200D\\uD83C\\uDF08|\\uD83D\\uDC69\\u200D\\uD83D\\uDC67|\\uD83D\\uDC69\\u200D\\uD83D\\uDC66|\\uD83D\\uDE35\\u200D\\uD83D\\uDCAB|\\uD83D\\uDE2E\\u200D\\uD83D\\uDCA8|\\uD83D\\uDC15\\u200D\\uD83E\\uDDBA|\\uD83E\\uDDD1(?:\\uD83C\\uDFFF|\\uD83C\\uDFFE|\\uD83C\\uDFFD|\\uD83C\\uDFFC|\\uD83C\\uDFFB)?|\\uD83D\\uDC69(?:\\uD83C\\uDFFF|\\uD83C\\uDFFE|\\uD83C\\uDFFD|\\uD83C\\uDFFC|\\uD83C\\uDFFB)?|\\uD83C\\uDDFD\\uD83C\\uDDF0|\\uD83C\\uDDF6\\uD83C\\uDDE6|\\uD83C\\uDDF4\\uD83C\\uDDF2|\\uD83D\\uDC08\\u200D\\u2B1B|\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDD25|\\uD83E\\uDE79)|\\uD83D\\uDC41\\uFE0F|\\uD83C\\uDFF3\\uFE0F|\\uD83C\\uDDFF(?:\\uD83C[\\uDDE6\\uDDF2\\uDDFC])|\\uD83C\\uDDFE(?:\\uD83C[\\uDDEA\\uDDF9])|\\uD83C\\uDDFC(?:\\uD83C[\\uDDEB\\uDDF8])|\\uD83C\\uDDFB(?:\\uD83C[\\uDDE6\\uDDE8\\uDDEA\\uDDEC\\uDDEE\\uDDF3\\uDDFA])|\\uD83C\\uDDFA(?:\\uD83C[\\uDDE6\\uDDEC\\uDDF2\\uDDF3\\uDDF8\\uDDFE\\uDDFF])|\\uD83C\\uDDF9(?:\\uD83C[\\uDDE6\\uDDE8\\uDDE9\\uDDEB-\\uDDED\\uDDEF-\\uDDF4\\uDDF7\\uDDF9\\uDDFB\\uDDFC\\uDDFF])|\\uD83C\\uDDF8(?:\\uD83C[\\uDDE6-\\uDDEA\\uDDEC-\\uDDF4\\uDDF7-\\uDDF9\\uDDFB\\uDDFD-\\uDDFF])|\\uD83C\\uDDF7(?:\\uD83C[\\uDDEA\\uDDF4\\uDDF8\\uDDFA\\uDDFC])|\\uD83C\\uDDF5(?:\\uD83C[\\uDDE6\\uDDEA-\\uDDED\\uDDF0-\\uDDF3\\uDDF7-\\uDDF9\\uDDFC\\uDDFE])|\\uD83C\\uDDF3(?:\\uD83C[\\uDDE6\\uDDE8\\uDDEA-\\uDDEC\\uDDEE\\uDDF1\\uDDF4\\uDDF5\\uDDF7\\uDDFA\\uDDFF])|\\uD83C\\uDDF2(?:\\uD83C[\\uDDE6\\uDDE8-\\uDDED\\uDDF0-\\uDDFF])|\\uD83C\\uDDF1(?:\\uD83C[\\uDDE6-\\uDDE8\\uDDEE\\uDDF0\\uDDF7-\\uDDFB\\uDDFE])|\\uD83C\\uDDF0(?:\\uD83C[\\uDDEA\\uDDEC-\\uDDEE\\uDDF2\\uDDF3\\uDDF5\\uDDF7\\uDDFC\\uDDFE\\uDDFF])|\\uD83C\\uDDEF(?:\\uD83C[\\uDDEA\\uDDF2\\uDDF4\\uDDF5])|\\uD83C\\uDDEE(?:\\uD83C[\\uDDE8-\\uDDEA\\uDDF1-\\uDDF4\\uDDF6-\\uDDF9])|\\uD83C\\uDDED(?:\\uD83C[\\uDDF0\\uDDF2\\uDDF3\\uDDF7\\uDDF9\\uDDFA])|\\uD83C\\uDDEC(?:\\uD83C[\\uDDE6\\uDDE7\\uDDE9-\\uDDEE\\uDDF1-\\uDDF3\\uDDF5-\\uDDFA\\uDDFC\\uDDFE])|\\uD83C\\uDDEB(?:\\uD83C[\\uDDEE-\\uDDF0\\uDDF2\\uDDF4\\uDDF7])|\\uD83C\\uDDEA(?:\\uD83C[\\uDDE6\\uDDE8\\uDDEA\\uDDEC\\uDDED\\uDDF7-\\uDDFA])|\\uD83C\\uDDE9(?:\\uD83C[\\uDDEA\\uDDEC\\uDDEF\\uDDF0\\uDDF2\\uDDF4\\uDDFF])|\\uD83C\\uDDE8(?:\\uD83C[\\uDDE6\\uDDE8\\uDDE9\\uDDEB-\\uDDEE\\uDDF0-\\uDDF5\\uDDF7\\uDDFA-\\uDDFF])|\\uD83C\\uDDE7(?:\\uD83C[\\uDDE6\\uDDE7\\uDDE9-\\uDDEF\\uDDF1-\\uDDF4\\uDDF6-\\uDDF9\\uDDFB\\uDDFC\\uDDFE\\uDDFF])|\\uD83C\\uDDE6(?:\\uD83C[\\uDDE8-\\uDDEC\\uDDEE\\uDDF1\\uDDF2\\uDDF4\\uDDF6-\\uDDFA\\uDDFC\\uDDFD\\uDDFF])|[#\\*0-9]\\uFE0F\\u20E3|\\u2764\\uFE0F|(?:\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC70\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD35\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD4\\uDDD6-\\uDDDD])(?:\\uD83C[\\uDFFB-\\uDFFF])|(?:\\u26F9|\\uD83C[\\uDFCB\\uDFCC]|\\uD83D\\uDD75)(?:\\uFE0F|\\uD83C[\\uDFFB-\\uDFFF])|\\uD83C\\uDFF4|(?:[\\u270A\\u270B]|\\uD83C[\\uDF85\\uDFC2\\uDFC7]|\\uD83D[\\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]|\\uD83E[\\uDD0C\\uDD0F\\uDD18-\\uDD1C\\uDD1E\\uDD1F\\uDD30-\\uDD34\\uDD36\\uDD77\\uDDB5\\uDDB6\\uDDBB\\uDDD2\\uDDD3\\uDDD5])(?:\\uD83C[\\uDFFB-\\uDFFF])|(?:[\\u261D\\u270C\\u270D]|\\uD83D[\\uDD74\\uDD90])(?:\\uFE0F|\\uD83C[\\uDFFB-\\uDFFF])|[\\u270A\\u270B]|\\uD83C[\\uDF85\\uDFC2\\uDFC7]|\\uD83D[\\uDC08\\uDC15\\uDC3B\\uDC42\\uDC43\\uDC46-\\uDC50\\uDC66\\uDC67\\uDC6B-\\uDC6D\\uDC72\\uDC74-\\uDC76\\uDC78\\uDC7C\\uDC83\\uDC85\\uDC8F\\uDC91\\uDCAA\\uDD7A\\uDD95\\uDD96\\uDE2E\\uDE35\\uDE36\\uDE4C\\uDE4F\\uDEC0\\uDECC]|\\uD83E[\\uDD0C\\uDD0F\\uDD18-\\uDD1C\\uDD1E\\uDD1F\\uDD30-\\uDD34\\uDD36\\uDD77\\uDDB5\\uDDB6\\uDDBB\\uDDD2\\uDDD3\\uDDD5]|\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC70\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD35\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD4\\uDDD6-\\uDDDD]|\\uD83D\\uDC6F|\\uD83E[\\uDD3C\\uDDDE\\uDDDF]|[\\u231A\\u231B\\u23E9-\\u23EC\\u23F0\\u23F3\\u25FD\\u25FE\\u2614\\u2615\\u2648-\\u2653\\u267F\\u2693\\u26A1\\u26AA\\u26AB\\u26BD\\u26BE\\u26C4\\u26C5\\u26CE\\u26D4\\u26EA\\u26F2\\u26F3\\u26F5\\u26FA\\u26FD\\u2705\\u2728\\u274C\\u274E\\u2753-\\u2755\\u2757\\u2795-\\u2797\\u27B0\\u27BF\\u2B1B\\u2B1C\\u2B50\\u2B55]|\\uD83C[\\uDC04\\uDCCF\\uDD8E\\uDD91-\\uDD9A\\uDE01\\uDE1A\\uDE2F\\uDE32-\\uDE36\\uDE38-\\uDE3A\\uDE50\\uDE51\\uDF00-\\uDF20\\uDF2D-\\uDF35\\uDF37-\\uDF7C\\uDF7E-\\uDF84\\uDF86-\\uDF93\\uDFA0-\\uDFC1\\uDFC5\\uDFC6\\uDFC8\\uDFC9\\uDFCF-\\uDFD3\\uDFE0-\\uDFF0\\uDFF8-\\uDFFF]|\\uD83D[\\uDC00-\\uDC07\\uDC09-\\uDC14\\uDC16-\\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-\\uDE44\\uDE48-\\uDE4A\\uDE80-\\uDEA2\\uDEA4-\\uDEB3\\uDEB7-\\uDEBF\\uDEC1-\\uDEC5\\uDED0-\\uDED2\\uDED5-\\uDED7\\uDEEB\\uDEEC\\uDEF4-\\uDEFC\\uDFE0-\\uDFEB]|\\uD83E[\\uDD0D\\uDD0E\\uDD10-\\uDD17\\uDD1D\\uDD20-\\uDD25\\uDD27-\\uDD2F\\uDD3A\\uDD3F-\\uDD45\\uDD47-\\uDD76\\uDD78\\uDD7A-\\uDDB4\\uDDB7\\uDDBA\\uDDBC-\\uDDCB\\uDDD0\\uDDE0-\\uDDFF\\uDE70-\\uDE74\\uDE78-\\uDE7A\\uDE80-\\uDE86\\uDE90-\\uDEA8\\uDEB0-\\uDEB6\\uDEC0-\\uDEC2\\uDED0-\\uDED6]|(?:[\\u231A\\u231B\\u23E9-\\u23EC\\u23F0\\u23F3\\u25FD\\u25FE\\u2614\\u2615\\u2648-\\u2653\\u267F\\u2693\\u26A1\\u26AA\\u26AB\\u26BD\\u26BE\\u26C4\\u26C5\\u26CE\\u26D4\\u26EA\\u26F2\\u26F3\\u26F5\\u26FA\\u26FD\\u2705\\u270A\\u270B\\u2728\\u274C\\u274E\\u2753-\\u2755\\u2757\\u2795-\\u2797\\u27B0\\u27BF\\u2B1B\\u2B1C\\u2B50\\u2B55]|\\uD83C[\\uDC04\\uDCCF\\uDD8E\\uDD91-\\uDD9A\\uDDE6-\\uDDFF\\uDE01\\uDE1A\\uDE2F\\uDE32-\\uDE36\\uDE38-\\uDE3A\\uDE50\\uDE51\\uDF00-\\uDF20\\uDF2D-\\uDF35\\uDF37-\\uDF7C\\uDF7E-\\uDF93\\uDFA0-\\uDFCA\\uDFCF-\\uDFD3\\uDFE0-\\uDFF0\\uDFF4\\uDFF8-\\uDFFF]|\\uD83D[\\uDC00-\\uDC3E\\uDC40\\uDC42-\\uDCFC\\uDCFF-\\uDD3D\\uDD4B-\\uDD4E\\uDD50-\\uDD67\\uDD7A\\uDD95\\uDD96\\uDDA4\\uDDFB-\\uDE4F\\uDE80-\\uDEC5\\uDECC\\uDED0-\\uDED2\\uDED5-\\uDED7\\uDEEB\\uDEEC\\uDEF4-\\uDEFC\\uDFE0-\\uDFEB]|\\uD83E[\\uDD0C-\\uDD3A\\uDD3C-\\uDD45\\uDD47-\\uDD78\\uDD7A-\\uDDCB\\uDDCD-\\uDDFF\\uDE70-\\uDE74\\uDE78-\\uDE7A\\uDE80-\\uDE86\\uDE90-\\uDEA8\\uDEB0-\\uDEB6\\uDEC0-\\uDEC2\\uDED0-\\uDED6])|(?:[#\\*0-9\\xA9\\xAE\\u203C\\u2049\\u2122\\u2139\\u2194-\\u2199\\u21A9\\u21AA\\u231A\\u231B\\u2328\\u23CF\\u23E9-\\u23F3\\u23F8-\\u23FA\\u24C2\\u25AA\\u25AB\\u25B6\\u25C0\\u25FB-\\u25FE\\u2600-\\u2604\\u260E\\u2611\\u2614\\u2615\\u2618\\u261D\\u2620\\u2622\\u2623\\u2626\\u262A\\u262E\\u262F\\u2638-\\u263A\\u2640\\u2642\\u2648-\\u2653\\u265F\\u2660\\u2663\\u2665\\u2666\\u2668\\u267B\\u267E\\u267F\\u2692-\\u2697\\u2699\\u269B\\u269C\\u26A0\\u26A1\\u26A7\\u26AA\\u26AB\\u26B0\\u26B1\\u26BD\\u26BE\\u26C4\\u26C5\\u26C8\\u26CE\\u26CF\\u26D1\\u26D3\\u26D4\\u26E9\\u26EA\\u26F0-\\u26F5\\u26F7-\\u26FA\\u26FD\\u2702\\u2705\\u2708-\\u270D\\u270F\\u2712\\u2714\\u2716\\u271D\\u2721\\u2728\\u2733\\u2734\\u2744\\u2747\\u274C\\u274E\\u2753-\\u2755\\u2757\\u2763\\u2764\\u2795-\\u2797\\u27A1\\u27B0\\u27BF\\u2934\\u2935\\u2B05-\\u2B07\\u2B1B\\u2B1C\\u2B50\\u2B55\\u3030\\u303D\\u3297\\u3299]|\\uD83C[\\uDC04\\uDCCF\\uDD70\\uDD71\\uDD7E\\uDD7F\\uDD8E\\uDD91-\\uDD9A\\uDDE6-\\uDDFF\\uDE01\\uDE02\\uDE1A\\uDE2F\\uDE32-\\uDE3A\\uDE50\\uDE51\\uDF00-\\uDF21\\uDF24-\\uDF93\\uDF96\\uDF97\\uDF99-\\uDF9B\\uDF9E-\\uDFF0\\uDFF3-\\uDFF5\\uDFF7-\\uDFFF]|\\uD83D[\\uDC00-\\uDCFD\\uDCFF-\\uDD3D\\uDD49-\\uDD4E\\uDD50-\\uDD67\\uDD6F\\uDD70\\uDD73-\\uDD7A\\uDD87\\uDD8A-\\uDD8D\\uDD90\\uDD95\\uDD96\\uDDA4\\uDDA5\\uDDA8\\uDDB1\\uDDB2\\uDDBC\\uDDC2-\\uDDC4\\uDDD1-\\uDDD3\\uDDDC-\\uDDDE\\uDDE1\\uDDE3\\uDDE8\\uDDEF\\uDDF3\\uDDFA-\\uDE4F\\uDE80-\\uDEC5\\uDECB-\\uDED2\\uDED5-\\uDED7\\uDEE0-\\uDEE5\\uDEE9\\uDEEB\\uDEEC\\uDEF0\\uDEF3-\\uDEFC\\uDFE0-\\uDFEB]|\\uD83E[\\uDD0C-\\uDD3A\\uDD3C-\\uDD45\\uDD47-\\uDD78\\uDD7A-\\uDDCB\\uDDCD-\\uDDFF\\uDE70-\\uDE74\\uDE78-\\uDE7A\\uDE80-\\uDE86\\uDE90-\\uDEA8\\uDEB0-\\uDEB6\\uDEC0-\\uDEC2\\uDED0-\\uDED6])\\uFE0F|(?:[\\u261D\\u26F9\\u270A-\\u270D]|\\uD83C[\\uDF85\\uDFC2-\\uDFC4\\uDFC7\\uDFCA-\\uDFCC]|\\uD83D[\\uDC42\\uDC43\\uDC46-\\uDC50\\uDC66-\\uDC78\\uDC7C\\uDC81-\\uDC83\\uDC85-\\uDC87\\uDC8F\\uDC91\\uDCAA\\uDD74\\uDD75\\uDD7A\\uDD90\\uDD95\\uDD96\\uDE45-\\uDE47\\uDE4B-\\uDE4F\\uDEA3\\uDEB4-\\uDEB6\\uDEC0\\uDECC]|\\uD83E[\\uDD0C\\uDD0F\\uDD18-\\uDD1F\\uDD26\\uDD30-\\uDD39\\uDD3C-\\uDD3E\\uDD77\\uDDB5\\uDDB6\\uDDB8\\uDDB9\\uDDBB\\uDDCD-\\uDDCF\\uDDD1-\\uDDDD])/g}}}),Pu={};_i(Pu,{default:()=>ho});function ho(di){if(typeof di!=\"string\"||di.length===0||(di=Mc(di),di.length===0))return 0;di=di.replace((0,jo.default)(),\"  \");let En=0;for(let Ot=0;Ot<di.length;Ot++){let Wt=di.codePointAt(Ot);Wt<=31||Wt>=127&&Wt<=159||Wt>=768&&Wt<=879||(Wt>65535&&Ot++,En+=Gd(Wt)?2:1)}return En}var jo,Sa=en({\"node_modules/string-width/index.js\"(){Pn(),ah(),Mh(),jo=Ni(Rh())}}),va=gt({\"src/utils/get-string-width.js\"(di,En){Pn();var Ot=(Sa(),Lr(Pu)).default,Wt=/[^\\x20-\\x7F]/;function Vt(yt){return yt?Wt.test(yt)?Ot(yt):yt.length:0}En.exports=Vt}}),el=gt({\"src/utils/text/skip.js\"(di,En){Pn();function Ot(Gt){return(St,un,ft)=>{let Zt=ft&&ft.backwards;if(un===!1)return!1;let{length:qn}=St,On=un;for(;On>=0&&On<qn;){let Ri=St.charAt(On);if(Gt instanceof RegExp){if(!Gt.test(Ri))return On}else if(!Gt.includes(Ri))return On;Zt?On--:On++}return On===-1||On===qn?On:!1}}var Wt=Ot(/\\s/),Vt=Ot(\" \t\"),yt=Ot(\",; \t\"),Pt=Ot(/[^\\n\\r]/);En.exports={skipWhitespace:Wt,skipSpaces:Vt,skipToLineEnd:yt,skipEverythingButNewLine:Pt}}}),Cu=gt({\"src/utils/text/skip-inline-comment.js\"(di,En){Pn();function Ot(Wt,Vt){if(Vt===!1)return!1;if(Wt.charAt(Vt)===\"/\"&&Wt.charAt(Vt+1)===\"*\"){for(let yt=Vt+2;yt<Wt.length;++yt)if(Wt.charAt(yt)===\"*\"&&Wt.charAt(yt+1)===\"/\")return yt+2}return Vt}En.exports=Ot}}),Au=gt({\"src/utils/text/skip-trailing-comment.js\"(di,En){Pn();var{skipEverythingButNewLine:Ot}=el();function Wt(Vt,yt){return yt===!1?!1:Vt.charAt(yt)===\"/\"&&Vt.charAt(yt+1)===\"/\"?Ot(Vt,yt):yt}En.exports=Wt}}),nu=gt({\"src/utils/text/skip-newline.js\"(di,En){Pn();function Ot(Wt,Vt,yt){let Pt=yt&&yt.backwards;if(Vt===!1)return!1;let Gt=Wt.charAt(Vt);if(Pt){if(Wt.charAt(Vt-1)===\"\\r\"&&Gt===`\n`)return Vt-2;if(Gt===`\n`||Gt===\"\\r\"||Gt===\"\\u2028\"||Gt===\"\\u2029\")return Vt-1}else{if(Gt===\"\\r\"&&Wt.charAt(Vt+1)===`\n`)return Vt+2;if(Gt===`\n`||Gt===\"\\r\"||Gt===\"\\u2028\"||Gt===\"\\u2029\")return Vt+1}return Vt}En.exports=Ot}}),lh=gt({\"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js\"(di,En){Pn();var Ot=Cu(),Wt=nu(),Vt=Au(),{skipSpaces:yt}=el();function Pt(Gt,St){let un=null,ft=St;for(;ft!==un;)un=ft,ft=yt(Gt,ft),ft=Ot(Gt,ft),ft=Vt(Gt,ft),ft=Wt(Gt,ft);return ft}En.exports=Pt}}),b_=gt({\"src/common/util.js\"(di,En){Pn();var{default:Ot}=(Nn(),Lr(Lt)),Wt=Pi(),{getSupportInfo:Vt}=ps(),yt=ga(),Pt=va(),{skipWhitespace:Gt,skipSpaces:St,skipToLineEnd:un,skipEverythingButNewLine:ft}=el(),Zt=Cu(),qn=Au(),On=nu(),Ri=lh(),Gi=yn=>yn[yn.length-2];function Ti(yn){return(vn,Ut,In)=>{let Vi=In&&In.backwards;if(Ut===!1)return!1;let{length:ct}=vn,xi=Ut;for(;xi>=0&&xi<ct;){let qr=vn.charAt(xi);if(yn instanceof RegExp){if(!yn.test(qr))return xi}else if(!yn.includes(qr))return xi;Vi?xi--:xi++}return xi===-1||xi===ct?xi:!1}}function mr(yn,vn){let Ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},In=St(yn,Ut.backwards?vn-1:vn,Ut),Vi=On(yn,In,Ut);return In!==Vi}function mn(yn,vn,Ut){for(let In=vn;In<Ut;++In)if(yn.charAt(In)===`\n`)return!0;return!1}function hr(yn,vn,Ut){let In=Ut(vn)-1;In=St(yn,In,{backwards:!0}),In=On(yn,In,{backwards:!0}),In=St(yn,In,{backwards:!0});let Vi=On(yn,In,{backwards:!0});return In!==Vi}function ti(yn,vn){let Ut=null,In=vn;for(;In!==Ut;)Ut=In,In=un(yn,In),In=Zt(yn,In),In=St(yn,In);return In=qn(yn,In),In=On(yn,In),In!==!1&&mr(yn,In)}function Qn(yn,vn,Ut){return ti(yn,Ut(vn))}function b(yn,vn,Ut){return Ri(yn,Ut(vn))}function v(yn,vn,Ut){return yn.charAt(b(yn,vn,Ut))}function X(yn,vn){let Ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return St(yn,Ut.backwards?vn-1:vn,Ut)!==vn}function de(yn,vn){let Ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,In=0;for(let Vi=Ut;Vi<yn.length;++Vi)yn[Vi]===\"\t\"?In=In+vn-In%vn:In++;return In}function ve(yn,vn){let Ut=yn.lastIndexOf(`\n`);return Ut===-1?0:de(yn.slice(Ut+1).match(/^[\\t ]*/)[0],vn)}function ie(yn,vn){let Ut={quote:'\"',regex:/\"/g,escaped:\"&quot;\"},In={quote:\"'\",regex:/'/g,escaped:\"&apos;\"},Vi=vn===\"'\"?In:Ut,ct=Vi===In?Ut:In,xi=Vi;if(yn.includes(Vi.quote)||yn.includes(ct.quote)){let qr=(yn.match(Vi.regex)||[]).length,xr=(yn.match(ct.regex)||[]).length;xi=qr>xr?ct:Vi}return xi}function V(yn,vn){let Ut=yn.slice(1,-1),In=vn.parser===\"json\"||vn.parser===\"json5\"&&vn.quoteProps===\"preserve\"&&!vn.singleQuote?'\"':vn.__isInHtmlAttribute?\"'\":ie(Ut,vn.singleQuote?\"'\":'\"').quote;return P(Ut,In,!(vn.parser===\"css\"||vn.parser===\"less\"||vn.parser===\"scss\"||vn.__embeddedInHtml))}function P(yn,vn,Ut){let In=vn==='\"'?\"'\":'\"',Vi=/\\\\(.)|([\"'])/gs,ct=yn.replace(Vi,(xi,qr,xr)=>qr===In?qr:xr===vn?\"\\\\\"+xr:xr||(Ut&&/^[^\\n\\r\"'0-7\\\\bfnrt-vx\\u2028\\u2029]$/.test(qr)?qr:\"\\\\\"+qr));return vn+ct+vn}function he(yn){return yn.toLowerCase().replace(/^([+-]?[\\d.]+e)(?:\\+|(-))?0*(\\d)/,\"$1$2$3\").replace(/^([+-]?[\\d.]+)e[+-]?0+$/,\"$1\").replace(/^([+-])?\\./,\"$10.\").replace(/(\\.\\d+?)0+(?=e|$)/,\"$1\").replace(/\\.(?=e|$)/,\"\")}function N(yn,vn){let Ut=yn.match(new RegExp(`(${Ot(vn)})+`,\"g\"));return Ut===null?0:Ut.reduce((In,Vi)=>Math.max(In,Vi.length/vn.length),0)}function se(yn,vn){let Ut=yn.match(new RegExp(`(${Ot(vn)})+`,\"g\"));if(Ut===null)return 0;let In=new Map,Vi=0;for(let ct of Ut){let xi=ct.length/vn.length;In.set(xi,!0),xi>Vi&&(Vi=xi)}for(let ct=1;ct<Vi;ct++)if(!In.get(ct))return ct;return Vi+1}function Se(yn,vn){(yn.comments||(yn.comments=[])).push(vn),vn.printed=!1,vn.nodeDescription=Bi(yn)}function S(yn,vn){vn.leading=!0,vn.trailing=!1,Se(yn,vn)}function Re(yn,vn,Ut){vn.leading=!1,vn.trailing=!1,Ut&&(vn.marker=Ut),Se(yn,vn)}function dt(yn,vn){vn.leading=!1,vn.trailing=!0,Se(yn,vn)}function _n(yn,vn){let{languages:Ut}=Vt({plugins:vn.plugins}),In=Ut.find(Vi=>{let{name:ct}=Vi;return ct.toLowerCase()===yn})||Ut.find(Vi=>{let{aliases:ct}=Vi;return Array.isArray(ct)&&ct.includes(yn)})||Ut.find(Vi=>{let{extensions:ct}=Vi;return Array.isArray(ct)&&ct.includes(`.${yn}`)});return In&&In.parsers[0]}function Qt(yn){return yn&&yn.type===\"front-matter\"}function Mn(yn){let vn=new WeakMap;return function(Ut){return vn.has(Ut)||vn.set(Ut,Symbol(yn)),vn.get(Ut)}}function Bi(yn){let vn=yn.type||yn.kind||\"(unknown type)\",Ut=String(yn.name||yn.id&&(typeof yn.id==\"object\"?yn.id.name:yn.id)||yn.key&&(typeof yn.key==\"object\"?yn.key.name:yn.key)||yn.value&&(typeof yn.value==\"object\"?\"\":String(yn.value))||yn.operator||\"\");return Ut.length>20&&(Ut=Ut.slice(0,19)+\"\\u2026\"),vn+(Ut?\" \"+Ut:\"\")}En.exports={inferParserByLanguage:_n,getStringWidth:Pt,getMaxContinuousCount:N,getMinNotPresentContinuousCount:se,getPenultimate:Gi,getLast:Wt,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Ri,getNextNonSpaceNonCommentCharacterIndex:b,getNextNonSpaceNonCommentCharacter:v,skip:Ti,skipWhitespace:Gt,skipSpaces:St,skipToLineEnd:un,skipEverythingButNewLine:ft,skipInlineComment:Zt,skipTrailingComment:qn,skipNewline:On,isNextLineEmptyAfterIndex:ti,isNextLineEmpty:Qn,isPreviousLineEmpty:hr,hasNewline:mr,hasNewlineInRange:mn,hasSpaces:X,getAlignmentSize:de,getIndentSize:ve,getPreferredQuote:ie,printString:V,printNumber:he,makeString:P,addLeadingComment:S,addDanglingComment:Re,addTrailingComment:dt,isFrontMatterNode:Qt,isNonEmptyArray:yt,createGroupIdMapper:Mn}}}),v_=gt({\"src/language-markdown/constants.evaluate.js\"(di,En){En.exports={cjkPattern:\"(?:[\\\\u02ea-\\\\u02eb\\\\u1100-\\\\u11ff\\\\u2e80-\\\\u2e99\\\\u2e9b-\\\\u2ef3\\\\u2f00-\\\\u2fd5\\\\u2ff0-\\\\u303f\\\\u3041-\\\\u3096\\\\u3099-\\\\u309f\\\\u30a1-\\\\u30fa\\\\u30fc-\\\\u30ff\\\\u3105-\\\\u312f\\\\u3131-\\\\u318e\\\\u3190-\\\\u3191\\\\u3196-\\\\u31ba\\\\u31c0-\\\\u31e3\\\\u31f0-\\\\u321e\\\\u322a-\\\\u3247\\\\u3260-\\\\u327e\\\\u328a-\\\\u32b0\\\\u32c0-\\\\u32cb\\\\u32d0-\\\\u3370\\\\u337b-\\\\u337f\\\\u33e0-\\\\u33fe\\\\u3400-\\\\u4db5\\\\u4e00-\\\\u9fef\\\\ua960-\\\\ua97c\\\\uac00-\\\\ud7a3\\\\ud7b0-\\\\ud7c6\\\\ud7cb-\\\\ud7fb\\\\uf900-\\\\ufa6d\\\\ufa70-\\\\ufad9\\\\ufe10-\\\\ufe1f\\\\ufe30-\\\\ufe6f\\\\uff00-\\\\uffef]|[\\\\ud840-\\\\ud868\\\\ud86a-\\\\ud86c\\\\ud86f-\\\\ud872\\\\ud874-\\\\ud879][\\\\udc00-\\\\udfff]|\\\\ud82c[\\\\udc00-\\\\udd1e\\\\udd50-\\\\udd52\\\\udd64-\\\\udd67]|\\\\ud83c[\\\\ude00\\\\ude50-\\\\ude51]|\\\\ud869[\\\\udc00-\\\\uded6\\\\udf00-\\\\udfff]|\\\\ud86d[\\\\udc00-\\\\udf34\\\\udf40-\\\\udfff]|\\\\ud86e[\\\\udc00-\\\\udc1d\\\\udc20-\\\\udfff]|\\\\ud873[\\\\udc00-\\\\udea1\\\\udeb0-\\\\udfff]|\\\\ud87a[\\\\udc00-\\\\udfe0]|\\\\ud87e[\\\\udc00-\\\\ude1d])(?:[\\\\ufe00-\\\\ufe0f]|\\\\udb40[\\\\udd00-\\\\uddef])?\",kPattern:\"[\\\\u1100-\\\\u11ff\\\\u3001-\\\\u3003\\\\u3008-\\\\u3011\\\\u3013-\\\\u301f\\\\u302e-\\\\u3030\\\\u3037\\\\u30fb\\\\u3131-\\\\u318e\\\\u3200-\\\\u321e\\\\u3260-\\\\u327e\\\\ua960-\\\\ua97c\\\\uac00-\\\\ud7a3\\\\ud7b0-\\\\ud7c6\\\\ud7cb-\\\\ud7fb\\\\ufe45-\\\\ufe46\\\\uff61-\\\\uff65\\\\uffa0-\\\\uffbe\\\\uffc2-\\\\uffc7\\\\uffca-\\\\uffcf\\\\uffd2-\\\\uffd7\\\\uffda-\\\\uffdc]\",punctuationPattern:\"[\\\\u0021-\\\\u002f\\\\u003a-\\\\u0040\\\\u005b-\\\\u0060\\\\u007b-\\\\u007e\\\\u00a1\\\\u00a7\\\\u00ab\\\\u00b6-\\\\u00b7\\\\u00bb\\\\u00bf\\\\u037e\\\\u0387\\\\u055a-\\\\u055f\\\\u0589-\\\\u058a\\\\u05be\\\\u05c0\\\\u05c3\\\\u05c6\\\\u05f3-\\\\u05f4\\\\u0609-\\\\u060a\\\\u060c-\\\\u060d\\\\u061b\\\\u061e-\\\\u061f\\\\u066a-\\\\u066d\\\\u06d4\\\\u0700-\\\\u070d\\\\u07f7-\\\\u07f9\\\\u0830-\\\\u083e\\\\u085e\\\\u0964-\\\\u0965\\\\u0970\\\\u09fd\\\\u0a76\\\\u0af0\\\\u0c77\\\\u0c84\\\\u0df4\\\\u0e4f\\\\u0e5a-\\\\u0e5b\\\\u0f04-\\\\u0f12\\\\u0f14\\\\u0f3a-\\\\u0f3d\\\\u0f85\\\\u0fd0-\\\\u0fd4\\\\u0fd9-\\\\u0fda\\\\u104a-\\\\u104f\\\\u10fb\\\\u1360-\\\\u1368\\\\u1400\\\\u166e\\\\u169b-\\\\u169c\\\\u16eb-\\\\u16ed\\\\u1735-\\\\u1736\\\\u17d4-\\\\u17d6\\\\u17d8-\\\\u17da\\\\u1800-\\\\u180a\\\\u1944-\\\\u1945\\\\u1a1e-\\\\u1a1f\\\\u1aa0-\\\\u1aa6\\\\u1aa8-\\\\u1aad\\\\u1b5a-\\\\u1b60\\\\u1bfc-\\\\u1bff\\\\u1c3b-\\\\u1c3f\\\\u1c7e-\\\\u1c7f\\\\u1cc0-\\\\u1cc7\\\\u1cd3\\\\u2010-\\\\u2027\\\\u2030-\\\\u2043\\\\u2045-\\\\u2051\\\\u2053-\\\\u205e\\\\u207d-\\\\u207e\\\\u208d-\\\\u208e\\\\u2308-\\\\u230b\\\\u2329-\\\\u232a\\\\u2768-\\\\u2775\\\\u27c5-\\\\u27c6\\\\u27e6-\\\\u27ef\\\\u2983-\\\\u2998\\\\u29d8-\\\\u29db\\\\u29fc-\\\\u29fd\\\\u2cf9-\\\\u2cfc\\\\u2cfe-\\\\u2cff\\\\u2d70\\\\u2e00-\\\\u2e2e\\\\u2e30-\\\\u2e4f\\\\u3001-\\\\u3003\\\\u3008-\\\\u3011\\\\u3014-\\\\u301f\\\\u3030\\\\u303d\\\\u30a0\\\\u30fb\\\\ua4fe-\\\\ua4ff\\\\ua60d-\\\\ua60f\\\\ua673\\\\ua67e\\\\ua6f2-\\\\ua6f7\\\\ua874-\\\\ua877\\\\ua8ce-\\\\ua8cf\\\\ua8f8-\\\\ua8fa\\\\ua8fc\\\\ua92e-\\\\ua92f\\\\ua95f\\\\ua9c1-\\\\ua9cd\\\\ua9de-\\\\ua9df\\\\uaa5c-\\\\uaa5f\\\\uaade-\\\\uaadf\\\\uaaf0-\\\\uaaf1\\\\uabeb\\\\ufd3e-\\\\ufd3f\\\\ufe10-\\\\ufe19\\\\ufe30-\\\\ufe52\\\\ufe54-\\\\ufe61\\\\ufe63\\\\ufe68\\\\ufe6a-\\\\ufe6b\\\\uff01-\\\\uff03\\\\uff05-\\\\uff0a\\\\uff0c-\\\\uff0f\\\\uff1a-\\\\uff1b\\\\uff1f-\\\\uff20\\\\uff3b-\\\\uff3d\\\\uff3f\\\\uff5b\\\\uff5d\\\\uff5f-\\\\uff65]|\\\\ud800[\\\\udd00-\\\\udd02\\\\udf9f\\\\udfd0]|\\\\ud801[\\\\udd6f]|\\\\ud802[\\\\udc57\\\\udd1f\\\\udd3f\\\\ude50-\\\\ude58\\\\ude7f\\\\udef0-\\\\udef6\\\\udf39-\\\\udf3f\\\\udf99-\\\\udf9c]|\\\\ud803[\\\\udf55-\\\\udf59]|\\\\ud804[\\\\udc47-\\\\udc4d\\\\udcbb-\\\\udcbc\\\\udcbe-\\\\udcc1\\\\udd40-\\\\udd43\\\\udd74-\\\\udd75\\\\uddc5-\\\\uddc8\\\\uddcd\\\\udddb\\\\udddd-\\\\udddf\\\\ude38-\\\\ude3d\\\\udea9]|\\\\ud805[\\\\udc4b-\\\\udc4f\\\\udc5b\\\\udc5d\\\\udcc6\\\\uddc1-\\\\uddd7\\\\ude41-\\\\ude43\\\\ude60-\\\\ude6c\\\\udf3c-\\\\udf3e]|\\\\ud806[\\\\udc3b\\\\udde2\\\\ude3f-\\\\ude46\\\\ude9a-\\\\ude9c\\\\ude9e-\\\\udea2]|\\\\ud807[\\\\udc41-\\\\udc45\\\\udc70-\\\\udc71\\\\udef7-\\\\udef8\\\\udfff]|\\\\ud809[\\\\udc70-\\\\udc74]|\\\\ud81a[\\\\ude6e-\\\\ude6f\\\\udef5\\\\udf37-\\\\udf3b\\\\udf44]|\\\\ud81b[\\\\ude97-\\\\ude9a\\\\udfe2]|\\\\ud82f[\\\\udc9f]|\\\\ud836[\\\\ude87-\\\\ude8b]|\\\\ud83a[\\\\udd5e-\\\\udd5f]\"}}}),zg=gt({\"src/language-markdown/utils.js\"(di,En){Pn();var{getLast:Ot}=b_(),{locStart:Wt,locEnd:Vt}=Te(),{cjkPattern:yt,kPattern:Pt,punctuationPattern:Gt}=v_(),St=[\"liquidNode\",\"inlineCode\",\"emphasis\",\"esComment\",\"strong\",\"delete\",\"wikiLink\",\"link\",\"linkReference\",\"image\",\"imageReference\",\"footnote\",\"footnoteReference\",\"sentence\",\"whitespace\",\"word\",\"break\",\"inlineMath\"],un=[...St,\"tableCell\",\"paragraph\",\"heading\"],ft=new RegExp(Pt),Zt=new RegExp(Gt);function qn(mn,hr){let ti=\"non-cjk\",Qn=\"cj-letter\",b=\"k-letter\",v=\"cjk-punctuation\",X=[],de=(hr.proseWrap===\"preserve\"?mn:mn.replace(new RegExp(`(${yt})\n(${yt})`,\"g\"),\"$1$2\")).split(/([\\t\\n ]+)/);for(let[ie,V]of de.entries()){if(ie%2===1){X.push({type:\"whitespace\",value:/\\n/.test(V)?`\n`:\" \"});continue}if((ie===0||ie===de.length-1)&&V===\"\")continue;let P=V.split(new RegExp(`(${yt})`));for(let[he,N]of P.entries())if(!((he===0||he===P.length-1)&&N===\"\")){if(he%2===0){N!==\"\"&&ve({type:\"word\",value:N,kind:ti,hasLeadingPunctuation:Zt.test(N[0]),hasTrailingPunctuation:Zt.test(Ot(N))});continue}ve(Zt.test(N)?{type:\"word\",value:N,kind:v,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:\"word\",value:N,kind:ft.test(N)?b:Qn,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return X;function ve(ie){let V=Ot(X);V&&V.type===\"word\"&&(V.kind===ti&&ie.kind===Qn&&!V.hasTrailingPunctuation||V.kind===Qn&&ie.kind===ti&&!ie.hasLeadingPunctuation?X.push({type:\"whitespace\",value:\" \"}):!P(ti,v)&&![V.value,ie.value].some(he=>/\\u3000/.test(he))&&X.push({type:\"whitespace\",value:\"\"})),X.push(ie);function P(he,N){return V.kind===he&&ie.kind===N||V.kind===N&&ie.kind===he}}}function On(mn,hr){let[,ti,Qn,b]=hr.slice(mn.position.start.offset,mn.position.end.offset).match(/^\\s*(\\d+)(\\.|\\))(\\s*)/);return{numberText:ti,marker:Qn,leadingSpaces:b}}function Ri(mn,hr){if(!mn.ordered||mn.children.length<2)return!1;let ti=Number(On(mn.children[0],hr.originalText).numberText),Qn=Number(On(mn.children[1],hr.originalText).numberText);if(ti===0&&mn.children.length>2){let b=Number(On(mn.children[2],hr.originalText).numberText);return Qn===1&&b===1}return Qn===1}function Gi(mn,hr){let{value:ti}=mn;return mn.position.end.offset===hr.length&&ti.endsWith(`\n`)&&hr.endsWith(`\n`)?ti.slice(0,-1):ti}function Ti(mn,hr){return function ti(Qn,b,v){let X=Object.assign({},hr(Qn,b,v));return X.children&&(X.children=X.children.map((de,ve)=>ti(de,ve,[X,...v]))),X}(mn,null,[])}function mr(mn){if((mn==null?void 0:mn.type)!==\"link\"||mn.children.length!==1)return!1;let[hr]=mn.children;return Wt(mn)===Wt(hr)&&Vt(mn)===Vt(hr)}En.exports={mapAst:Ti,splitText:qn,punctuationPattern:Gt,getFencedCodeBlockValue:Gi,getOrderedListItemInfo:On,hasGitDiffFriendlyOrderedList:Ri,INLINE_NODE_TYPES:St,INLINE_NODE_WRAPPER_TYPES:un,isAutolink:mr}}}),tg=gt({\"src/language-markdown/unified-plugins/html-to-jsx.js\"(di,En){Pn();var Ot=Ft(),{mapAst:Wt,INLINE_NODE_WRAPPER_TYPES:Vt}=zg();function yt(){return Pt=>Wt(Pt,(Gt,St,un)=>{let[ft]=un;return Gt.type!==\"html\"||Ot.COMMENT_REGEX.test(Gt.value)||Vt.includes(ft.type)?Gt:Object.assign(Object.assign({},Gt),{},{type:\"jsx\"})})}En.exports=yt}}),Ug=gt({\"src/language-markdown/unified-plugins/front-matter.js\"(di,En){Pn();var Ot=fi();function Wt(){let Vt=this.Parser.prototype;Vt.blockMethods=[\"frontMatter\",...Vt.blockMethods],Vt.blockTokenizers.frontMatter=yt;function yt(Pt,Gt){let St=Ot(Gt);if(St.frontMatter)return Pt(St.frontMatter.raw)(St.frontMatter)}yt.onlyAtStart=!0}En.exports=Wt}}),Rc=gt({\"src/language-markdown/unified-plugins/liquid.js\"(di,En){Pn();function Ot(){let Wt=this.Parser.prototype,Vt=Wt.inlineMethods;Vt.splice(Vt.indexOf(\"text\"),0,\"liquid\"),Wt.inlineTokenizers.liquid=yt;function yt(Pt,Gt){let St=Gt.match(/^({%.*?%}|{{.*?}})/s);if(St)return Pt(St[0])({type:\"liquidNode\",value:St[0]})}yt.locator=function(Pt,Gt){return Pt.indexOf(\"{\",Gt)}}En.exports=Ot}}),Bh=gt({\"src/language-markdown/unified-plugins/wiki-link.js\"(di,En){Pn();function Ot(){let Wt=\"wikiLink\",Vt=/^\\[\\[(?<linkContents>.+?)]]/s,yt=this.Parser.prototype,Pt=yt.inlineMethods;Pt.splice(Pt.indexOf(\"link\"),0,Wt),yt.inlineTokenizers.wikiLink=Gt;function Gt(St,un){let ft=Vt.exec(un);if(ft){let Zt=ft.groups.linkContents.trim();return St(ft[0])({type:Wt,value:Zt})}}Gt.locator=function(St,un){return St.indexOf(\"[\",un)}}En.exports=Ot}}),$p=gt({\"src/language-markdown/unified-plugins/loose-items.js\"(di,En){Pn();function Ot(){let Wt=this.Parser.prototype,Vt=Wt.blockTokenizers.list;function yt(Pt,Gt,St){return Gt.type===\"listItem\"&&(Gt.loose=Gt.spread||Pt.charAt(Pt.length-1)===`\n`,Gt.loose&&(St.loose=!0)),Gt}Wt.blockTokenizers.list=function(Pt,Gt,St){function un(ft){let Zt=Pt(ft);function qn(On,Ri){return Zt(yt(ft,On,Ri),Ri)}return qn.reset=function(On,Ri){return Zt.reset(yt(ft,On,Ri),Ri)},qn}return un.now=Pt.now,Vt.call(this,un,Gt,St)}}En.exports=Ot}});Pn();var hy=ml(),py=dr(),ng=zr(),C_=ko(),uu=Ce(),{locStart:Kg,locEnd:fy}=Te(),_y=Ft(),Ib=tg(),Fb=Ug(),Pb=Rc(),Ob=Bh(),Nm=$p();function ig(di){let{isMDX:En}=di;return Ot=>{let Wt=py().use(hy,Object.assign({commonmark:!0},En&&{blocks:[_y.BLOCKS_REGEX]})).use(C_).use(Fb).use(ng).use(En?_y.esSyntax:Im).use(Pb).use(En?Ib:Im).use(Ob).use(Nm);return Wt.runSync(Wt.parse(Ot))}}function Im(di){return di}var Fm={astFormat:\"mdast\",hasPragma:uu.hasPragma,locStart:Kg,locEnd:fy},Pm=Object.assign(Object.assign({},Fm),{},{parse:ig({isMDX:!1})}),A0=Object.assign(Object.assign({},Fm),{},{parse:ig({isMDX:!0})});_t.exports={parsers:{remark:Pm,markdown:Pm,mdx:A0}}});return Uo()})})(_ge);var PJe=BE(_ge.exports),gge={exports:{}};(function(o,e){(function(t){o.exports=t()})(function(){var t=(li,gn)=>()=>(gn||li((gn={exports:{}}).exports,gn),gn.exports),n=t((li,gn)=>{var kn=function(ei){return ei&&ei.Math==Math&&ei};gn.exports=kn(typeof globalThis==\"object\"&&globalThis)||kn(typeof window==\"object\"&&window)||kn(typeof self==\"object\"&&self)||kn(typeof K1==\"object\"&&K1)||function(){return this}()||Function(\"return this\")()}),i=t((li,gn)=>{gn.exports=function(kn){try{return!!kn()}catch{return!0}}}),s=t((li,gn)=>{var kn=i();gn.exports=!kn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),a=t((li,gn)=>{var kn=i();gn.exports=!kn(function(){var ei=function(){}.bind();return typeof ei!=\"function\"||ei.hasOwnProperty(\"prototype\")})}),l=t((li,gn)=>{var kn=a(),ei=Function.prototype.call;gn.exports=kn?ei.bind(ei):function(){return ei.apply(ei,arguments)}}),u=t(li=>{var gn={}.propertyIsEnumerable,kn=Object.getOwnPropertyDescriptor,ei=kn&&!gn.call({1:2},1);li.f=ei?function(Yt){var zi=kn(this,Yt);return!!zi&&zi.enumerable}:gn}),d=t((li,gn)=>{gn.exports=function(kn,ei){return{enumerable:!(kn&1),configurable:!(kn&2),writable:!(kn&4),value:ei}}}),h=t((li,gn)=>{var kn=a(),ei=Function.prototype,Yt=ei.call,zi=kn&&ei.bind.bind(Yt,Yt);gn.exports=kn?zi:function(kr){return function(){return Yt.apply(kr,arguments)}}}),p=t((li,gn)=>{var kn=h(),ei=kn({}.toString),Yt=kn(\"\".slice);gn.exports=function(zi){return Yt(ei(zi),8,-1)}}),g=t((li,gn)=>{var kn=h(),ei=i(),Yt=p(),zi=Object,kr=kn(\"\".split);gn.exports=ei(function(){return!zi(\"z\").propertyIsEnumerable(0)})?function(Gn){return Yt(Gn)==\"String\"?kr(Gn,\"\"):zi(Gn)}:zi}),y=t((li,gn)=>{gn.exports=function(kn){return kn==null}}),D=t((li,gn)=>{var kn=y(),ei=TypeError;gn.exports=function(Yt){if(kn(Yt))throw ei(\"Can't call method on \"+Yt);return Yt}}),T=t((li,gn)=>{var kn=g(),ei=D();gn.exports=function(Yt){return kn(ei(Yt))}}),k=t((li,gn)=>{var kn=typeof document==\"object\"&&document.all,ei=typeof kn>\"u\"&&kn!==void 0;gn.exports={all:kn,IS_HTMLDDA:ei}}),I=t((li,gn)=>{var kn=k(),ei=kn.all;gn.exports=kn.IS_HTMLDDA?function(Yt){return typeof Yt==\"function\"||Yt===ei}:function(Yt){return typeof Yt==\"function\"}}),F=t((li,gn)=>{var kn=I(),ei=k(),Yt=ei.all;gn.exports=ei.IS_HTMLDDA?function(zi){return typeof zi==\"object\"?zi!==null:kn(zi)||zi===Yt}:function(zi){return typeof zi==\"object\"?zi!==null:kn(zi)}}),q=t((li,gn)=>{var kn=n(),ei=I(),Yt=function(zi){return ei(zi)?zi:void 0};gn.exports=function(zi,kr){return arguments.length<2?Yt(kn[zi]):kn[zi]&&kn[zi][kr]}}),re=t((li,gn)=>{var kn=h();gn.exports=kn({}.isPrototypeOf)}),Ie=t((li,gn)=>{var kn=q();gn.exports=kn(\"navigator\",\"userAgent\")||\"\"}),mt=t((li,gn)=>{var kn=n(),ei=Ie(),Yt=kn.process,zi=kn.Deno,kr=Yt&&Yt.versions||zi&&zi.version,Gn=kr&&kr.v8,ni,us;Gn&&(ni=Gn.split(\".\"),us=ni[0]>0&&ni[0]<4?1:+(ni[0]+ni[1])),!us&&ei&&(ni=ei.match(/Edge\\/(\\d+)/),(!ni||ni[1]>=74)&&(ni=ei.match(/Chrome\\/(\\d+)/),ni&&(us=+ni[1]))),gn.exports=us}),Le=t((li,gn)=>{var kn=mt(),ei=i();gn.exports=!!Object.getOwnPropertySymbols&&!ei(function(){var Yt=Symbol();return!String(Yt)||!(Object(Yt)instanceof Symbol)||!Symbol.sham&&kn&&kn<41})}),Ge=t((li,gn)=>{var kn=Le();gn.exports=kn&&!Symbol.sham&&typeof Symbol.iterator==\"symbol\"}),qt=t((li,gn)=>{var kn=q(),ei=I(),Yt=re(),zi=Ge(),kr=Object;gn.exports=zi?function(Gn){return typeof Gn==\"symbol\"}:function(Gn){var ni=kn(\"Symbol\");return ei(ni)&&Yt(ni.prototype,kr(Gn))}}),gi=t((li,gn)=>{var kn=String;gn.exports=function(ei){try{return kn(ei)}catch{return\"Object\"}}}),ai=t((li,gn)=>{var kn=I(),ei=gi(),Yt=TypeError;gn.exports=function(zi){if(kn(zi))return zi;throw Yt(ei(zi)+\" is not a function\")}}),Tr=t((li,gn)=>{var kn=ai(),ei=y();gn.exports=function(Yt,zi){var kr=Yt[zi];return ei(kr)?void 0:kn(kr)}}),Vr=t((li,gn)=>{var kn=l(),ei=I(),Yt=F(),zi=TypeError;gn.exports=function(kr,Gn){var ni,us;if(Gn===\"string\"&&ei(ni=kr.toString)&&!Yt(us=kn(ni,kr))||ei(ni=kr.valueOf)&&!Yt(us=kn(ni,kr))||Gn!==\"string\"&&ei(ni=kr.toString)&&!Yt(us=kn(ni,kr)))return us;throw zi(\"Can't convert object to primitive value\")}}),go=t((li,gn)=>{gn.exports=!1}),Js=t((li,gn)=>{var kn=n(),ei=Object.defineProperty;gn.exports=function(Yt,zi){try{ei(kn,Yt,{value:zi,configurable:!0,writable:!0})}catch{kn[Yt]=zi}return zi}}),Fo=t((li,gn)=>{var kn=n(),ei=Js(),Yt=\"__core-js_shared__\",zi=kn[Yt]||ei(Yt,{});gn.exports=zi}),aa=t((li,gn)=>{var kn=go(),ei=Fo();(gn.exports=function(Yt,zi){return ei[Yt]||(ei[Yt]=zi!==void 0?zi:{})})(\"versions\",[]).push({version:\"3.26.1\",mode:kn?\"pure\":\"global\",copyright:\"\\xA9 2014-2022 Denis Pushkarev (zloirock.ru)\",license:\"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE\",source:\"https://github.com/zloirock/core-js\"})}),Qo=t((li,gn)=>{var kn=D(),ei=Object;gn.exports=function(Yt){return ei(kn(Yt))}}),Ao=t((li,gn)=>{var kn=h(),ei=Qo(),Yt=kn({}.hasOwnProperty);gn.exports=Object.hasOwn||function(zi,kr){return Yt(ei(zi),kr)}}),Gl=t((li,gn)=>{var kn=h(),ei=0,Yt=Math.random(),zi=kn(1 .toString);gn.exports=function(kr){return\"Symbol(\"+(kr===void 0?\"\":kr)+\")_\"+zi(++ei+Yt,36)}}),nl=t((li,gn)=>{var kn=n(),ei=aa(),Yt=Ao(),zi=Gl(),kr=Le(),Gn=Ge(),ni=ei(\"wks\"),us=kn.Symbol,ks=us&&us.for,Us=Gn?us:us&&us.withoutSetter||zi;gn.exports=function(Li){if(!Yt(ni,Li)||!(kr||typeof ni[Li]==\"string\")){var Uo=\"Symbol.\"+Li;kr&&Yt(us,Li)?ni[Li]=us[Li]:Gn&&ks?ni[Li]=ks(Uo):ni[Li]=Us(Uo)}return ni[Li]}}),Po=t((li,gn)=>{var kn=l(),ei=F(),Yt=qt(),zi=Tr(),kr=Vr(),Gn=nl(),ni=TypeError,us=Gn(\"toPrimitive\");gn.exports=function(ks,Us){if(!ei(ks)||Yt(ks))return ks;var Li=zi(ks,us),Uo;if(Li){if(Us===void 0&&(Us=\"default\"),Uo=kn(Li,ks,Us),!ei(Uo)||Yt(Uo))return Uo;throw ni(\"Can't convert object to primitive value\")}return Us===void 0&&(Us=\"number\"),kr(ks,Us)}}),mo=t((li,gn)=>{var kn=Po(),ei=qt();gn.exports=function(Yt){var zi=kn(Yt,\"string\");return ei(zi)?zi:zi+\"\"}}),Bl=t((li,gn)=>{var kn=n(),ei=F(),Yt=kn.document,zi=ei(Yt)&&ei(Yt.createElement);gn.exports=function(kr){return zi?Yt.createElement(kr):{}}}),mc=t((li,gn)=>{var kn=s(),ei=i(),Yt=Bl();gn.exports=!kn&&!ei(function(){return Object.defineProperty(Yt(\"div\"),\"a\",{get:function(){return 7}}).a!=7})}),lc=t(li=>{var gn=s(),kn=l(),ei=u(),Yt=d(),zi=T(),kr=mo(),Gn=Ao(),ni=mc(),us=Object.getOwnPropertyDescriptor;li.f=gn?us:function(ks,Us){if(ks=zi(ks),Us=kr(Us),ni)try{return us(ks,Us)}catch{}if(Gn(ks,Us))return Yt(!kn(ei.f,ks,Us),ks[Us])}}),dd=t((li,gn)=>{var kn=s(),ei=i();gn.exports=kn&&ei(function(){return Object.defineProperty(function(){},\"prototype\",{value:42,writable:!1}).prototype!=42})}),gu=t((li,gn)=>{var kn=F(),ei=String,Yt=TypeError;gn.exports=function(zi){if(kn(zi))return zi;throw Yt(ei(zi)+\" is not an object\")}}),Ka=t(li=>{var gn=s(),kn=mc(),ei=dd(),Yt=gu(),zi=mo(),kr=TypeError,Gn=Object.defineProperty,ni=Object.getOwnPropertyDescriptor,us=\"enumerable\",ks=\"configurable\",Us=\"writable\";li.f=gn?ei?function(Li,Uo,Wi){if(Yt(Li),Uo=zi(Uo),Yt(Wi),typeof Li==\"function\"&&Uo===\"prototype\"&&\"value\"in Wi&&Us in Wi&&!Wi[Us]){var _t=ni(Li,Uo);_t&&_t[Us]&&(Li[Uo]=Wi.value,Wi={configurable:ks in Wi?Wi[ks]:_t[ks],enumerable:us in Wi?Wi[us]:_t[us],writable:!1})}return Gn(Li,Uo,Wi)}:Gn:function(Li,Uo,Wi){if(Yt(Li),Uo=zi(Uo),Yt(Wi),kn)try{return Gn(Li,Uo,Wi)}catch{}if(\"get\"in Wi||\"set\"in Wi)throw kr(\"Accessors not supported\");return\"value\"in Wi&&(Li[Uo]=Wi.value),Li}}),Qc=t((li,gn)=>{var kn=s(),ei=Ka(),Yt=d();gn.exports=kn?function(zi,kr,Gn){return ei.f(zi,kr,Yt(1,Gn))}:function(zi,kr,Gn){return zi[kr]=Gn,zi}}),Ba=t((li,gn)=>{var kn=s(),ei=Ao(),Yt=Function.prototype,zi=kn&&Object.getOwnPropertyDescriptor,kr=ei(Yt,\"name\"),Gn=kr&&function(){}.name===\"something\",ni=kr&&(!kn||kn&&zi(Yt,\"name\").configurable);gn.exports={EXISTS:kr,PROPER:Gn,CONFIGURABLE:ni}}),xd=t((li,gn)=>{var kn=h(),ei=I(),Yt=Fo(),zi=kn(Function.toString);ei(Yt.inspectSource)||(Yt.inspectSource=function(kr){return zi(kr)}),gn.exports=Yt.inspectSource}),jp=t((li,gn)=>{var kn=n(),ei=I(),Yt=kn.WeakMap;gn.exports=ei(Yt)&&/native code/.test(String(Yt))}),Fu=t((li,gn)=>{var kn=aa(),ei=Gl(),Yt=kn(\"keys\");gn.exports=function(zi){return Yt[zi]||(Yt[zi]=ei(zi))}}),Ed=t((li,gn)=>{gn.exports={}}),wp=t((li,gn)=>{var kn=jp(),ei=n(),Yt=F(),zi=Qc(),kr=Ao(),Gn=Fo(),ni=Fu(),us=Ed(),ks=\"Object already initialized\",Us=ei.TypeError,Li=ei.WeakMap,Uo,Wi,_t,ht=function(et){return _t(et)?Wi(et):Uo(et,{})},$e=function(et){return function(We){var it;if(!Yt(We)||(it=Wi(We)).type!==et)throw Us(\"Incompatible receiver, \"+et+\" required\");return it}};kn||Gn.state?(ot=Gn.state||(Gn.state=new Li),ot.get=ot.get,ot.has=ot.has,ot.set=ot.set,Uo=function(et,We){if(ot.has(et))throw Us(ks);return We.facade=et,ot.set(et,We),We},Wi=function(et){return ot.get(et)||{}},_t=function(et){return ot.has(et)}):(Rt=ni(\"state\"),us[Rt]=!0,Uo=function(et,We){if(kr(et,Rt))throw Us(ks);return We.facade=et,zi(et,Rt,We),We},Wi=function(et){return kr(et,Rt)?et[Rt]:{}},_t=function(et){return kr(et,Rt)});var ot,Rt;gn.exports={set:Uo,get:Wi,has:_t,enforce:ht,getterFor:$e}}),zd=t((li,gn)=>{var kn=i(),ei=I(),Yt=Ao(),zi=s(),kr=Ba().CONFIGURABLE,Gn=xd(),ni=wp(),us=ni.enforce,ks=ni.get,Us=Object.defineProperty,Li=zi&&!kn(function(){return Us(function(){},\"length\",{value:8}).length!==8}),Uo=String(String).split(\"String\"),Wi=gn.exports=function(_t,ht,$e){String(ht).slice(0,7)===\"Symbol(\"&&(ht=\"[\"+String(ht).replace(/^Symbol\\(([^)]*)\\)/,\"$1\")+\"]\"),$e&&$e.getter&&(ht=\"get \"+ht),$e&&$e.setter&&(ht=\"set \"+ht),(!Yt(_t,\"name\")||kr&&_t.name!==ht)&&(zi?Us(_t,\"name\",{value:ht,configurable:!0}):_t.name=ht),Li&&$e&&Yt($e,\"arity\")&&_t.length!==$e.arity&&Us(_t,\"length\",{value:$e.arity});try{$e&&Yt($e,\"constructor\")&&$e.constructor?zi&&Us(_t,\"prototype\",{writable:!1}):_t.prototype&&(_t.prototype=void 0)}catch{}var ot=us(_t);return Yt(ot,\"source\")||(ot.source=Uo.join(typeof ht==\"string\"?ht:\"\")),_t};Function.prototype.toString=Wi(function(){return ei(this)&&ks(this).source||Gn(this)},\"toString\")}),Ch=t((li,gn)=>{var kn=I(),ei=Ka(),Yt=zd(),zi=Js();gn.exports=function(kr,Gn,ni,us){us||(us={});var ks=us.enumerable,Us=us.name!==void 0?us.name:Gn;if(kn(ni)&&Yt(ni,Us,us),us.global)ks?kr[Gn]=ni:zi(Gn,ni);else{try{us.unsafe?kr[Gn]&&(ks=!0):delete kr[Gn]}catch{}ks?kr[Gn]=ni:ei.f(kr,Gn,{value:ni,enumerable:!1,configurable:!us.nonConfigurable,writable:!us.nonWritable})}return kr}}),sh=t((li,gn)=>{var kn=Math.ceil,ei=Math.floor;gn.exports=Math.trunc||function(Yt){var zi=+Yt;return(zi>0?ei:kn)(zi)}}),$r=t((li,gn)=>{var kn=sh();gn.exports=function(ei){var Yt=+ei;return Yt!==Yt||Yt===0?0:kn(Yt)}}),sr=t((li,gn)=>{var kn=$r(),ei=Math.max,Yt=Math.min;gn.exports=function(zi,kr){var Gn=kn(zi);return Gn<0?ei(Gn+kr,0):Yt(Gn,kr)}}),gr=t((li,gn)=>{var kn=$r(),ei=Math.min;gn.exports=function(Yt){return Yt>0?ei(kn(Yt),9007199254740991):0}}),It=t((li,gn)=>{var kn=gr();gn.exports=function(ei){return kn(ei.length)}}),dn=t((li,gn)=>{var kn=T(),ei=sr(),Yt=It(),zi=function(kr){return function(Gn,ni,us){var ks=kn(Gn),Us=Yt(ks),Li=ei(us,Us),Uo;if(kr&&ni!=ni){for(;Us>Li;)if(Uo=ks[Li++],Uo!=Uo)return!0}else for(;Us>Li;Li++)if((kr||Li in ks)&&ks[Li]===ni)return kr||Li||0;return!kr&&-1}};gn.exports={includes:zi(!0),indexOf:zi(!1)}}),Si=t((li,gn)=>{var kn=h(),ei=Ao(),Yt=T(),zi=dn().indexOf,kr=Ed(),Gn=kn([].push);gn.exports=function(ni,us){var ks=Yt(ni),Us=0,Li=[],Uo;for(Uo in ks)!ei(kr,Uo)&&ei(ks,Uo)&&Gn(Li,Uo);for(;us.length>Us;)ei(ks,Uo=us[Us++])&&(~zi(Li,Uo)||Gn(Li,Uo));return Li}}),Yn=t((li,gn)=>{gn.exports=[\"constructor\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"toLocaleString\",\"toString\",\"valueOf\"]}),Zr=t(li=>{var gn=Si(),kn=Yn(),ei=kn.concat(\"length\",\"prototype\");li.f=Object.getOwnPropertyNames||function(Yt){return gn(Yt,ei)}}),vs=t(li=>{li.f=Object.getOwnPropertySymbols}),ra=t((li,gn)=>{var kn=q(),ei=h(),Yt=Zr(),zi=vs(),kr=gu(),Gn=ei([].concat);gn.exports=kn(\"Reflect\",\"ownKeys\")||function(ni){var us=Yt.f(kr(ni)),ks=zi.f;return ks?Gn(us,ks(ni)):us}}),zo=t((li,gn)=>{var kn=Ao(),ei=ra(),Yt=lc(),zi=Ka();gn.exports=function(kr,Gn,ni){for(var us=ei(Gn),ks=zi.f,Us=Yt.f,Li=0;Li<us.length;Li++){var Uo=us[Li];!kn(kr,Uo)&&!(ni&&kn(ni,Uo))&&ks(kr,Uo,Us(Gn,Uo))}}}),za=t((li,gn)=>{var kn=i(),ei=I(),Yt=/#|\\.prototype\\./,zi=function(ks,Us){var Li=Gn[kr(ks)];return Li==us?!0:Li==ni?!1:ei(Us)?kn(Us):!!Us},kr=zi.normalize=function(ks){return String(ks).replace(Yt,\".\").toLowerCase()},Gn=zi.data={},ni=zi.NATIVE=\"N\",us=zi.POLYFILL=\"P\";gn.exports=zi}),La=t((li,gn)=>{var kn=n(),ei=lc().f,Yt=Qc(),zi=Ch(),kr=Js(),Gn=zo(),ni=za();gn.exports=function(us,ks){var Us=us.target,Li=us.global,Uo=us.stat,Wi,_t,ht,$e,ot,Rt;if(Li?_t=kn:Uo?_t=kn[Us]||kr(Us,{}):_t=(kn[Us]||{}).prototype,_t)for(ht in ks){if(ot=ks[ht],us.dontCallGetSet?(Rt=ei(_t,ht),$e=Rt&&Rt.value):$e=_t[ht],Wi=ni(Li?ht:Us+(Uo?\".\":\"#\")+ht,us.forced),!Wi&&$e!==void 0){if(typeof ot==typeof $e)continue;Gn(ot,$e)}(us.sham||$e&&$e.sham)&&Yt(ot,\"sham\",!0),zi(_t,ht,ot,us)}}}),Ul=t(()=>{var li=La(),gn=n();li({global:!0,forced:gn.globalThis!==gn},{globalThis:gn})}),bl=t(()=>{Ul()}),ua=t((li,gn)=>{var kn=zd(),ei=Ka();gn.exports=function(Yt,zi,kr){return kr.get&&kn(kr.get,zi,{getter:!0}),kr.set&&kn(kr.set,zi,{setter:!0}),ei.f(Yt,zi,kr)}}),Qs=t((li,gn)=>{var kn=gu();gn.exports=function(){var ei=kn(this),Yt=\"\";return ei.hasIndices&&(Yt+=\"d\"),ei.global&&(Yt+=\"g\"),ei.ignoreCase&&(Yt+=\"i\"),ei.multiline&&(Yt+=\"m\"),ei.dotAll&&(Yt+=\"s\"),ei.unicode&&(Yt+=\"u\"),ei.unicodeSets&&(Yt+=\"v\"),ei.sticky&&(Yt+=\"y\"),Yt}}),Dr=t(()=>{var li=n(),gn=s(),kn=ua(),ei=Qs(),Yt=i(),zi=li.RegExp,kr=zi.prototype,Gn=gn&&Yt(function(){var ni=!0;try{zi(\".\",\"d\")}catch{ni=!1}var us={},ks=\"\",Us=ni?\"dgimsy\":\"gimsy\",Li=function(ht,$e){Object.defineProperty(us,ht,{get:function(){return ks+=$e,!0}})},Uo={dotAll:\"s\",global:\"g\",ignoreCase:\"i\",multiline:\"m\",sticky:\"y\"};ni&&(Uo.hasIndices=\"d\");for(var Wi in Uo)Li(Wi,Uo[Wi]);var _t=Object.getOwnPropertyDescriptor(kr,\"flags\").get.call(us);return _t!==Us||ks!==Us});Gn&&kn(kr,\"flags\",{configurable:!0,get:ei})}),Ar=t((li,gn)=>{bl(),Dr();var kn=Object.defineProperty,ei=Object.getOwnPropertyDescriptor,Yt=Object.getOwnPropertyNames,zi=Object.prototype.hasOwnProperty,kr=(b,v)=>function(){return b&&(v=(0,b[Yt(b)[0]])(b=0)),v},Gn=(b,v)=>function(){return v||(0,b[Yt(b)[0]])((v={exports:{}}).exports,v),v.exports},ni=(b,v)=>{for(var X in v)kn(b,X,{get:v[X],enumerable:!0})},us=(b,v,X,de)=>{if(v&&typeof v==\"object\"||typeof v==\"function\")for(let ve of Yt(v))!zi.call(b,ve)&&ve!==X&&kn(b,ve,{get:()=>v[ve],enumerable:!(de=ei(v,ve))||de.enumerable});return b},ks=b=>us(kn({},\"__esModule\",{value:!0}),b),Us,Li=kr({\"<define:process>\"(){Us={env:{},argv:[]}}}),Uo=Gn({\"src/common/parser-create-error.js\"(b,v){Li();function X(de,ve){let ie=new SyntaxError(de+\" (\"+ve.start.line+\":\"+ve.start.column+\")\");return ie.loc=ve,ie}v.exports=X}}),Wi=Gn({\"src/utils/try-combinations.js\"(b,v){Li();function X(){let de;for(var ve=arguments.length,ie=new Array(ve),V=0;V<ve;V++)ie[V]=arguments[V];for(let[P,he]of ie.entries())try{return{result:he()}}catch(N){P===0&&(de=N)}return{error:de}}v.exports=X}}),_t={};ni(_t,{EOL:()=>Pn,arch:()=>_i,cpus:()=>it,default:()=>os,endianness:()=>ht,freemem:()=>et,getNetworkInterfaces:()=>gt,hostname:()=>$e,loadavg:()=>ot,networkInterfaces:()=>en,platform:()=>Rn,release:()=>At,tmpDir:()=>Ni,tmpdir:()=>Or,totalmem:()=>We,type:()=>vt,uptime:()=>Rt});function ht(){if(typeof Lr>\"u\"){var b=new ArrayBuffer(2),v=new Uint8Array(b),X=new Uint16Array(b);if(v[0]=1,v[1]=2,X[0]===258)Lr=\"BE\";else if(X[0]===513)Lr=\"LE\";else throw new Error(\"unable to figure out endianess\")}return Lr}function $e(){return typeof globalThis.location<\"u\"?globalThis.location.hostname:\"\"}function ot(){return[]}function Rt(){return 0}function et(){return Number.MAX_VALUE}function We(){return Number.MAX_VALUE}function it(){return[]}function vt(){return\"Browser\"}function At(){return typeof globalThis.navigator<\"u\"?globalThis.navigator.appVersion:\"\"}function en(){}function gt(){}function _i(){return\"javascript\"}function Rn(){return\"browser\"}function Ni(){return\"/tmp\"}var Lr,Or,Pn,os,Ct=kr({\"node-modules-polyfills:os\"(){Li(),Or=Ni,Pn=`\n`,os={EOL:Pn,tmpdir:Or,tmpDir:Ni,networkInterfaces:en,getNetworkInterfaces:gt,release:At,type:vt,cpus:it,totalmem:We,freemem:et,uptime:Rt,loadavg:ot,hostname:$e,endianness:ht}}}),bo=Gn({\"node-modules-polyfills-commonjs:os\"(b,v){Li();var X=(Ct(),ks(_t));if(X&&X.default){v.exports=X.default;for(let de in X)v.exports[de]=X[de]}else X&&(v.exports=X)}}),Vo=Gn({\"node_modules/detect-newline/index.js\"(b,v){Li();var X=de=>{if(typeof de!=\"string\")throw new TypeError(\"Expected a string\");let ve=de.match(/(?:\\r?\\n)/g)||[];if(ve.length===0)return;let ie=ve.filter(P=>P===`\\r\n`).length,V=ve.length-ie;return ie>V?`\\r\n`:`\n`};v.exports=X,v.exports.graceful=de=>typeof de==\"string\"&&X(de)||`\n`}}),ja=Gn({\"node_modules/jest-docblock/build/index.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0}),b.extract=Re,b.parse=_n,b.parseWithComments=Qt,b.print=Mn,b.strip=dt;function v(){let yn=bo();return v=function(){return yn},yn}function X(){let yn=de(Vo());return X=function(){return yn},yn}function de(yn){return yn&&yn.__esModule?yn:{default:yn}}var ve=/\\*\\/$/,ie=/^\\/\\*\\*?/,V=/^\\s*(\\/\\*\\*?(.|\\r?\\n)*?\\*\\/)/,P=/(^|\\s+)\\/\\/([^\\r\\n]*)/g,he=/^(\\r?\\n)+/,N=/(?:^|\\r?\\n) *(@[^\\r\\n]*?) *\\r?\\n *(?![^@\\r\\n]*\\/\\/[^]*)([^@\\r\\n\\s][^@\\r\\n]+?) *\\r?\\n/g,se=/(?:^|\\r?\\n) *@(\\S+) *([^\\r\\n]*)/g,Se=/(\\r?\\n|^) *\\* ?/g,S=[];function Re(yn){let vn=yn.match(V);return vn?vn[0].trimLeft():\"\"}function dt(yn){let vn=yn.match(V);return vn&&vn[0]?yn.substring(vn[0].length):yn}function _n(yn){return Qt(yn).pragmas}function Qt(yn){let vn=(0,X().default)(yn)||v().EOL;yn=yn.replace(ie,\"\").replace(ve,\"\").replace(Se,\"$1\");let Ut=\"\";for(;Ut!==yn;)Ut=yn,yn=yn.replace(N,`${vn}$1 $2${vn}`);yn=yn.replace(he,\"\").trimRight();let In=Object.create(null),Vi=yn.replace(se,\"\").replace(he,\"\").trimRight(),ct;for(;ct=se.exec(yn);){let xi=ct[2].replace(P,\"\");typeof In[ct[1]]==\"string\"||Array.isArray(In[ct[1]])?In[ct[1]]=S.concat(In[ct[1]],xi):In[ct[1]]=xi}return{comments:Vi,pragmas:In}}function Mn(yn){let{comments:vn=\"\",pragmas:Ut={}}=yn,In=(0,X().default)(vn)||v().EOL,Vi=\"/**\",ct=\" *\",xi=\" */\",qr=Object.keys(Ut),xr=qr.map(Mi=>Bi(Mi,Ut[Mi])).reduce((Mi,ms)=>Mi.concat(ms),[]).map(Mi=>`${ct} ${Mi}${In}`).join(\"\");if(!vn){if(qr.length===0)return\"\";if(qr.length===1&&!Array.isArray(Ut[qr[0]])){let Mi=Ut[qr[0]];return`${Vi} ${Bi(qr[0],Mi)[0]}${xi}`}}let Bs=vn.split(In).map(Mi=>`${ct} ${Mi}`).join(In)+In;return Vi+In+(vn?Bs:\"\")+(vn&&qr.length?ct+In:\"\")+xr+xi}function Bi(yn,vn){return S.concat(vn).map(Ut=>`@${yn} ${Ut}`.trim())}}}),Ha=Gn({\"src/common/end-of-line.js\"(b,v){Li();function X(V){let P=V.indexOf(\"\\r\");return P>=0?V.charAt(P+1)===`\n`?\"crlf\":\"cr\":\"lf\"}function de(V){switch(V){case\"cr\":return\"\\r\";case\"crlf\":return`\\r\n`;default:return`\n`}}function ve(V,P){let he;switch(P){case`\n`:he=/\\n/g;break;case\"\\r\":he=/\\r/g;break;case`\\r\n`:he=/\\r\\n/g;break;default:throw new Error(`Unexpected \"eol\" ${JSON.stringify(P)}.`)}let N=V.match(he);return N?N.length:0}function ie(V){return V.replace(/\\r\\n?/g,`\n`)}v.exports={guessEndOfLine:X,convertEndOfLineToChars:de,countEndOfLineChars:ve,normalizeEndOfLine:ie}}}),jl=Gn({\"src/language-js/utils/get-shebang.js\"(b,v){Li();function X(de){if(!de.startsWith(\"#!\"))return\"\";let ve=de.indexOf(`\n`);return ve===-1?de:de.slice(0,ve)}v.exports=X}}),Un=Gn({\"src/language-js/pragma.js\"(b,v){Li();var{parseWithComments:X,strip:de,extract:ve,print:ie}=ja(),{normalizeEndOfLine:V}=Ha(),P=jl();function he(Se){let S=P(Se);S&&(Se=Se.slice(S.length+1));let Re=ve(Se),{pragmas:dt,comments:_n}=X(Re);return{shebang:S,text:Se,pragmas:dt,comments:_n}}function N(Se){let S=Object.keys(he(Se).pragmas);return S.includes(\"prettier\")||S.includes(\"format\")}function se(Se){let{shebang:S,text:Re,pragmas:dt,comments:_n}=he(Se),Qt=de(Re),Mn=ie({pragmas:Object.assign({format:\"\"},dt),comments:_n.trimStart()});return(S?`${S}\n`:\"\")+V(Mn)+(Qt.startsWith(`\n`)?`\n`:`\n\n`)+Qt}v.exports={hasPragma:N,insertPragma:se}}}),mu=Gn({\"src/utils/is-non-empty-array.js\"(b,v){Li();function X(de){return Array.isArray(de)&&de.length>0}v.exports=X}}),uc=Gn({\"src/language-js/loc.js\"(b,v){Li();var X=mu();function de(he){var N,se;let Se=he.range?he.range[0]:he.start,S=(N=(se=he.declaration)===null||se===void 0?void 0:se.decorators)!==null&&N!==void 0?N:he.decorators;return X(S)?Math.min(de(S[0]),Se):Se}function ve(he){return he.range?he.range[1]:he.end}function ie(he,N){let se=de(he);return Number.isInteger(se)&&se===de(N)}function V(he,N){let se=ve(he);return Number.isInteger(se)&&se===ve(N)}function P(he,N){return ie(he,N)&&V(he,N)}v.exports={locStart:de,locEnd:ve,hasSameLocStart:ie,hasSameLoc:P}}}),Zc=Gn({\"src/language-js/parse/utils/create-parser.js\"(b,v){Li();var{hasPragma:X}=Un(),{locStart:de,locEnd:ve}=uc();function ie(V){return V=typeof V==\"function\"?{parse:V}:V,Object.assign({astFormat:\"estree\",hasPragma:X,locStart:de,locEnd:ve},V)}v.exports=ie}}),Ku=Gn({\"src/language-js/parse/utils/replace-hashbang.js\"(b,v){Li();function X(de){return de.charAt(0)===\"#\"&&de.charAt(1)===\"!\"?\"//\"+de.slice(2):de}v.exports=X}}),Pd=Gn({\"src/language-js/utils/is-ts-keyword-type.js\"(b,v){Li();function X(de){let{type:ve}=de;return ve.startsWith(\"TS\")&&ve.endsWith(\"Keyword\")}v.exports=X}}),qu=Gn({\"src/language-js/utils/is-block-comment.js\"(b,v){Li();var X=new Set([\"Block\",\"CommentBlock\",\"MultiLine\"]),de=ve=>X.has(ve==null?void 0:ve.type);v.exports=de}}),Yu=Gn({\"src/language-js/utils/is-type-cast-comment.js\"(b,v){Li();var X=qu();function de(ve){return X(ve)&&ve.value[0]===\"*\"&&/@(?:type|satisfies)\\b/.test(ve.value)}v.exports=de}}),xc=Gn({\"src/utils/get-last.js\"(b,v){Li();var X=de=>de[de.length-1];v.exports=X}}),Vc=Gn({\"src/language-js/parse/postprocess/visit-node.js\"(b,v){Li();function X(de,ve){if(Array.isArray(de)){for(let ie=0;ie<de.length;ie++)de[ie]=X(de[ie],ve);return de}if(de&&typeof de==\"object\"&&typeof de.type==\"string\"){let ie=Object.keys(de);for(let V=0;V<ie.length;V++)de[ie[V]]=X(de[ie[V]],ve);return ve(de)||de}return de}v.exports=X}}),ep=Gn({\"src/language-js/parse/postprocess/throw-syntax-error.js\"(b,v){Li();var X=Uo();function de(ve,ie){let{start:V,end:P}=ve.loc;throw X(ie,{start:{line:V.line,column:V.column+1},end:{line:P.line,column:P.column+1}})}v.exports=de}}),Od=Gn({\"src/language-js/parse/postprocess/index.js\"(b,v){Li();var{locStart:X,locEnd:de}=uc(),ve=Pd(),ie=Yu(),V=xc(),P=Vc(),he=ep();function N(Re,dt){if(dt.parser!==\"typescript\"&&dt.parser!==\"flow\"&&dt.parser!==\"acorn\"&&dt.parser!==\"espree\"&&dt.parser!==\"meriyah\"){let Qt=new Set;Re=P(Re,Mn=>{Mn.leadingComments&&Mn.leadingComments.some(ie)&&Qt.add(X(Mn))}),Re=P(Re,Mn=>{if(Mn.type===\"ParenthesizedExpression\"){let{expression:Bi}=Mn;if(Bi.type===\"TypeCastExpression\")return Bi.range=Mn.range,Bi;let yn=X(Mn);if(!Qt.has(yn))return Bi.extra=Object.assign(Object.assign({},Bi.extra),{},{parenthesized:!0}),Bi}})}return Re=P(Re,Qt=>{switch(Qt.type){case\"ChainExpression\":return se(Qt.expression);case\"LogicalExpression\":{if(Se(Qt))return S(Qt);break}case\"VariableDeclaration\":{let Mn=V(Qt.declarations);Mn&&Mn.init&&_n(Qt,Mn);break}case\"TSParenthesizedType\":return ve(Qt.typeAnnotation)||Qt.typeAnnotation.type===\"TSThisType\"||(Qt.typeAnnotation.range=[X(Qt),de(Qt)]),Qt.typeAnnotation;case\"TSTypeParameter\":if(typeof Qt.name==\"string\"){let Mn=X(Qt);Qt.name={type:\"Identifier\",name:Qt.name,range:[Mn,Mn+Qt.name.length]}}break;case\"ObjectExpression\":if(dt.parser===\"typescript\"){let Mn=Qt.properties.find(Bi=>Bi.type===\"Property\"&&Bi.value.type===\"TSEmptyBodyFunctionExpression\");Mn&&he(Mn.value,\"Unexpected token.\")}break;case\"SequenceExpression\":{let Mn=V(Qt.expressions);Qt.range=[X(Qt),Math.min(de(Mn),de(Qt))];break}case\"TopicReference\":dt.__isUsingHackPipeline=!0;break;case\"ExportAllDeclaration\":{let{exported:Mn}=Qt;if(dt.parser===\"meriyah\"&&Mn&&Mn.type===\"Identifier\"){let Bi=dt.originalText.slice(X(Mn),de(Mn));(Bi.startsWith('\"')||Bi.startsWith(\"'\"))&&(Qt.exported=Object.assign(Object.assign({},Qt.exported),{},{type:\"Literal\",value:Qt.exported.name,raw:Bi}))}break}case\"PropertyDefinition\":if(dt.parser===\"meriyah\"&&Qt.static&&!Qt.computed&&!Qt.key){let Mn=\"static\",Bi=X(Qt);Object.assign(Qt,{static:!1,key:{type:\"Identifier\",name:Mn,range:[Bi,Bi+Mn.length]}})}break}}),Re;function _n(Qt,Mn){dt.originalText[de(Mn)]!==\";\"&&(Qt.range=[X(Qt),de(Mn)])}}function se(Re){switch(Re.type){case\"CallExpression\":Re.type=\"OptionalCallExpression\",Re.callee=se(Re.callee);break;case\"MemberExpression\":Re.type=\"OptionalMemberExpression\",Re.object=se(Re.object);break;case\"TSNonNullExpression\":Re.expression=se(Re.expression);break}return Re}function Se(Re){return Re.type===\"LogicalExpression\"&&Re.right.type===\"LogicalExpression\"&&Re.operator===Re.right.operator}function S(Re){return Se(Re)?S({type:\"LogicalExpression\",operator:Re.operator,left:S({type:\"LogicalExpression\",operator:Re.operator,left:Re.left,right:Re.right.left,range:[X(Re.left),de(Re.right.left)]}),right:Re.right.right,range:[X(Re),de(Re)]}):Re}v.exports=N}}),gl=Gn({\"node_modules/typescript/lib/typescript.js\"(b,v){Li();var X=Object.defineProperty,de=Object.getOwnPropertyNames,ve=(r,c)=>function(){return r&&(c=(0,r[de(r)[0]])(r=0)),c},ie=(r,c)=>function(){return c||(0,r[de(r)[0]])((c={exports:{}}).exports,c),c.exports},V=(r,c)=>{for(var f in c)X(r,f,{get:c[f],enumerable:!0})},P,he,N,se=ve({\"src/compiler/corePublic.ts\"(){P=\"5.0\",he=\"5.0.2\",N=(r=>(r[r.LessThan=-1]=\"LessThan\",r[r.EqualTo=0]=\"EqualTo\",r[r.GreaterThan=1]=\"GreaterThan\",r))(N||{})}});function Se(r){return r?r.length:0}function S(r,c){if(r)for(let f=0;f<r.length;f++){let x=c(r[f],f);if(x)return x}}function Re(r,c){if(r)for(let f=r.length-1;f>=0;f--){let x=c(r[f],f);if(x)return x}}function dt(r,c){if(r!==void 0)for(let f=0;f<r.length;f++){let x=c(r[f],f);if(x!==void 0)return x}}function _n(r,c){for(let f of r){let x=c(f);if(x!==void 0)return x}}function Qt(r,c,f){let x=f;if(r){let B=0;for(let De of r)x=c(x,De,B),B++}return x}function Mn(r,c,f){let x=[];Bn.assertEqual(r.length,c.length);for(let B=0;B<r.length;B++)x.push(f(r[B],c[B],B));return x}function Bi(r,c){if(r.length<=1)return r;let f=[];for(let x=0,B=r.length;x<B;x++)x&&f.push(c),f.push(r[x]);return f}function yn(r,c){if(r){for(let f=0;f<r.length;f++)if(!c(r[f],f))return!1}return!0}function vn(r,c,f){if(r!==void 0)for(let x=f!=null?f:0;x<r.length;x++){let B=r[x];if(c(B,x))return B}}function Ut(r,c,f){if(r!==void 0)for(let x=f!=null?f:r.length-1;x>=0;x--){let B=r[x];if(c(B,x))return B}}function In(r,c,f){if(r===void 0)return-1;for(let x=f!=null?f:0;x<r.length;x++)if(c(r[x],x))return x;return-1}function Vi(r,c,f){if(r===void 0)return-1;for(let x=f!=null?f:r.length-1;x>=0;x--)if(c(r[x],x))return x;return-1}function ct(r,c){for(let f=0;f<r.length;f++){let x=c(r[f],f);if(x)return x}return Bn.fail()}function xi(r,c){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:qg;if(r){for(let x of r)if(f(x,c))return!0}return!1}function qr(r,c){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:qg;return r.length===c.length&&r.every((x,B)=>f(x,c[B]))}function xr(r,c,f){for(let x=f||0;x<r.length;x++)if(xi(c,r.charCodeAt(x)))return x;return-1}function Bs(r,c){let f=0;if(r)for(let x=0;x<r.length;x++){let B=r[x];c(B,x)&&f++}return f}function Mi(r,c){if(r){let f=r.length,x=0;for(;x<f&&c(r[x]);)x++;if(x<f){let B=r.slice(0,x);for(x++;x<f;){let De=r[x];c(De)&&B.push(De),x++}return B}}return r}function ms(r,c){let f=0;for(let x=0;x<r.length;x++)c(r[x],x,r)&&(r[f]=r[x],f++);r.length=f}function Ks(r){r.length=0}function is(r,c){let f;if(r){f=[];for(let x=0;x<r.length;x++)f.push(c(r[x],x))}return f}function*Ms(r,c){for(let f of r)yield c(f)}function to(r,c){if(r)for(let f=0;f<r.length;f++){let x=r[f],B=c(x,f);if(x!==B){let De=r.slice(0,f);for(De.push(B),f++;f<r.length;f++)De.push(c(r[f],f));return De}}return r}function Lo(r){let c=[];for(let f of r)f&&(fu(f)?wt(c,f):c.push(f));return c}function ji(r,c){let f;if(r)for(let x=0;x<r.length;x++){let B=c(r[x],x);B&&(fu(B)?f=wt(f,B):f=Ye(f,B))}return f||Ci}function jr(r,c){let f=[];if(r)for(let x=0;x<r.length;x++){let B=c(r[x],x);B&&(fu(B)?wt(f,B):f.push(B))}return f}function*ss(r,c){for(let f of r){let x=c(f);x&&(yield*x)}}function Jo(r,c){let f;if(r)for(let x=0;x<r.length;x++){let B=r[x],De=c(B,x);(f||B!==De||fu(De))&&(f||(f=r.slice(0,x)),fu(De)?wt(f,De):f.push(De))}return f||r}function da(r,c){let f=[];for(let x=0;x<r.length;x++){let B=c(r[x],x);if(B===void 0)return;f.push(B)}return f}function ha(r,c){let f=[];if(r)for(let x=0;x<r.length;x++){let B=c(r[x],x);B!==void 0&&f.push(B)}return f}function*cc(r,c){for(let f of r){let x=c(f);x!==void 0&&(yield x)}}function Ou(r,c){if(!r)return;let f=new Map;return r.forEach((x,B)=>{let De=c(B,x);if(De!==void 0){let[ke,Be]=De;ke!==void 0&&Be!==void 0&&f.set(ke,Be)}}),f}function Xu(r,c,f){if(r.has(c))return r.get(c);let x=f();return r.set(c,x),x}function Bd(r,c){return r.has(c)?!1:(r.add(c),!0)}function*ip(r){yield r}function zp(r,c,f){let x;if(r){x=[];let B=r.length,De,ke,Be=0,te=0;for(;Be<B;){for(;te<B;){let wn=r[te];if(ke=c(wn,te),te===0)De=ke;else if(ke!==De)break;te++}if(Be<te){let wn=f(r.slice(Be,te),De,Be,te);wn&&x.push(wn),Be=te}De=ke,te++}}return x}function Kr(r,c){if(!r)return;let f=new Map;return r.forEach((x,B)=>{let[De,ke]=c(B,x);f.set(De,ke)}),f}function so(r,c){if(r)if(c){for(let f of r)if(c(f))return!0}else return r.length>0;return!1}function xa(r,c,f){let x;for(let B=0;B<r.length;B++)c(r[B])?x=x===void 0?B:x:x!==void 0&&(f(x,B),x=void 0);x!==void 0&&f(x,r.length)}function Wa(r,c){return so(c)?so(r)?[...r,...c]:c:r}function pu(r,c){return c}function yc(r){return r.map(pu)}function Df(r,c,f){let x=yc(r);Q(r,x,f);let B=r[x[0]],De=[x[0]];for(let ke=1;ke<x.length;ke++){let Be=x[ke],te=r[Be];c(B,te)||(De.push(Be),B=te)}return De.sort(),De.map(ke=>r[ke])}function jh(r,c){let f=[];for(let x of r)lt(f,x,c);return f}function Qu(r,c,f){return r.length===0?[]:r.length===1?r.slice():f?Df(r,c,f):jh(r,c)}function Up(r,c){if(r.length===0)return Ci;let f=r[0],x=[f];for(let B=1;B<r.length;B++){let De=r[B];switch(c(De,f)){case!0:case 0:continue;case-1:return Bn.fail(\"Array is unsorted.\")}x.push(f=De)}return x}function Om(){return[]}function xp(r,c,f,x){if(r.length===0)return r.push(c),!0;let B=Ea(r,c,ec,f);return B<0?(r.splice(~B,0,c),!0):x?(r.splice(B,0,c),!0):!1}function $f(r,c,f){return Up(W(r,c),f||c||Y)}function D_(r,c){if(r.length<2)return!0;for(let f=1,x=r.length;f<x;f++)if(c(r[f-1],r[f])===1)return!1;return!0}function K(r,c,f,x){let B=3;if(r.length<2)return B;let De=c(r[0]);for(let ke=1,Be=r.length;ke<Be&&B!==0;ke++){let te=c(r[ke]);B&1&&f(De,te)>0&&(B&=-2),B&2&&x(De,te)>0&&(B&=-3),De=te}return B}function nt(r,c){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:qg;if(!r||!c)return r===c;if(r.length!==c.length)return!1;for(let x=0;x<r.length;x++)if(!f(r[x],c[x],x))return!1;return!0}function Ue(r){let c;if(r)for(let f=0;f<r.length;f++){let x=r[f];(c||!x)&&(c||(c=r.slice(0,f)),x&&c.push(x))}return c||r}function qe(r,c,f){if(!c||!r||c.length===0||r.length===0)return c;let x=[];e:for(let B=0,De=0;De<c.length;De++){De>0&&Bn.assertGreaterThanOrEqual(f(c[De],c[De-1]),0);t:for(let ke=B;B<r.length;B++)switch(B>ke&&Bn.assertGreaterThanOrEqual(f(r[B],r[B-1]),0),f(c[De],r[B])){case-1:x.push(c[De]);continue e;case 0:continue e;case 1:continue t}}return x}function Ye(r,c){return c===void 0?r:r===void 0?[c]:(r.push(c),r)}function xt(r,c){return r===void 0?c:c===void 0?r:fu(r)?fu(c)?Wa(r,c):Ye(r,c):fu(c)?Ye(c,r):[r,c]}function bt(r,c){return c<0?r.length+c:c}function wt(r,c,f,x){if(c===void 0||c.length===0)return r;if(r===void 0)return c.slice(f,x);f=f===void 0?0:bt(c,f),x=x===void 0?c.length:bt(c,x);for(let B=f;B<x&&B<c.length;B++)c[B]!==void 0&&r.push(c[B]);return r}function lt(r,c,f){return xi(r,c,f)?!1:(r.push(c),!0)}function Et(r,c,f){return r?(lt(r,c,f),r):[c]}function Q(r,c,f){c.sort((x,B)=>f(r[x],r[B])||rd(x,B))}function W(r,c){return r.length===0?r:r.slice().sort(c)}function*Je(r){for(let c=r.length-1;c>=0;c--)yield r[c]}function Oe(r,c){let f=yc(r);return Q(r,f,c),f.map(x=>r[x])}function zt(r,c,f,x){for(;f<x;){if(r[f]!==c[f])return!1;f++}return!0}function Tt(r){return r===void 0||r.length===0?void 0:r[0]}function xn(r){if(r)for(let c of r)return c}function Cn(r){return Bn.assert(r.length!==0),r[0]}function Bt(r){for(let c of r)return c;Bn.fail(\"iterator is empty\")}function yi(r){return r===void 0||r.length===0?void 0:r[r.length-1]}function Oi(r){return Bn.assert(r.length!==0),r[r.length-1]}function Qi(r){return r&&r.length===1?r[0]:void 0}function $s(r){return Bn.checkDefined(Qi(r))}function vo(r){return r&&r.length===1?r[0]:r}function Mo(r,c,f){let x=r.slice(0);return x[c]=f,x}function Ea(r,c,f,x,B){return Ca(r,f(c),f,x,B)}function Ca(r,c,f,x,B){if(!so(r))return-1;let De=B||0,ke=r.length-1;for(;De<=ke;){let Be=De+(ke-De>>1),te=f(r[Be],Be);switch(x(te,c)){case-1:De=Be+1;break;case 0:return Be;case 1:ke=Be-1;break}}return~De}function Ma(r,c,f,x,B){if(r&&r.length>0){let De=r.length;if(De>0){let ke=x===void 0||x<0?0:x,Be=B===void 0||ke+B>De-1?De-1:ke+B,te;for(arguments.length<=2?(te=r[ke],ke++):te=f;ke<=Be;)te=c(te,r[ke],ke),ke++;return te}}return f}function Yo(r,c){return Zi.call(r,c)}function Oa(r,c){return Zi.call(r,c)?r[c]:void 0}function qs(r){let c=[];for(let f in r)Zi.call(r,f)&&c.push(f);return c}function cs(r){let c=[];do{let f=Object.getOwnPropertyNames(r);for(let x of f)lt(c,x)}while(r=Object.getPrototypeOf(r));return c}function Xs(r){let c=[];for(let f in r)Zi.call(r,f)&&c.push(r[f]);return c}function ds(r,c){let f=new Array(r);for(let x=0;x<r;x++)f[x]=c(x);return f}function Zu(r,c){let f=[];for(let x of r)f.push(c?c(x):x);return f}function au(r){for(var c=arguments.length,f=new Array(c>1?c-1:0),x=1;x<c;x++)f[x-1]=arguments[x];for(let B of f)if(B!==void 0)for(let De in B)Yo(B,De)&&(r[De]=B[De]);return r}function Du(r,c){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:qg;if(r===c)return!0;if(!r||!c)return!1;for(let x in r)if(Zi.call(r,x)&&(!Zi.call(c,x)||!f(r[x],c[x])))return!1;for(let x in c)if(Zi.call(c,x)&&!Zi.call(r,x))return!1;return!0}function ue(r,c){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ec,x=new Map;for(let B of r){let De=c(B);De!==void 0&&x.set(De,f(B))}return x}function Tn(r,c){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ec,x=[];for(let B of r)x[c(B)]=f(B);return x}function Ei(r,c){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ec,x=ao();for(let B of r)x.add(c(B),f(B));return x}function Gr(r,c){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ec;return Zu(Ei(r,c).values(),f)}function ts(r,c){var f;let x={};if(r)for(let B of r){let De=`${c(B)}`;((f=x[De])!=null?f:x[De]=[]).push(B)}return x}function Es(r){let c={};for(let f in r)Zi.call(r,f)&&(c[f]=r[f]);return c}function Ai(r,c){let f={};for(let x in c)Zi.call(c,x)&&(f[x]=c[x]);for(let x in r)Zi.call(r,x)&&(f[x]=r[x]);return f}function Mr(r,c){for(let f in c)Zi.call(c,f)&&(r[f]=c[f])}function vr(r,c){return c?c.bind(r):void 0}function ao(){let r=new Map;return r.add=$i,r.remove=pa,r}function $i(r,c){let f=this.get(r);return f?f.push(c):this.set(r,f=[c]),f}function pa(r,c){let f=this.get(r);f&&(je(f,c),f.length||this.delete(r))}function Ro(){return ao()}function td(r){let c=(r==null?void 0:r.slice())||[],f=0;function x(){return f===c.length}function B(){c.push(...arguments)}function De(){if(x())throw new Error(\"Queue is empty\");let ke=c[f];if(c[f]=void 0,f++,f>100&&f>c.length>>1){let Be=c.length-f;c.copyWithin(0,f),c.length=Be,f=0}return ke}return{enqueue:B,dequeue:De,isEmpty:x}}function Bc(r,c){let f=new Map,x=0;function*B(){for(let ke of f.values())fu(ke)?yield*ke:yield ke}let De={has(ke){let Be=r(ke);if(!f.has(Be))return!1;let te=f.get(Be);if(!fu(te))return c(te,ke);for(let wn of te)if(c(wn,ke))return!0;return!1},add(ke){let Be=r(ke);if(f.has(Be)){let te=f.get(Be);if(fu(te))xi(te,ke,c)||(te.push(ke),x++);else{let wn=te;c(wn,ke)||(f.set(Be,[wn,ke]),x++)}}else f.set(Be,ke),x++;return this},delete(ke){let Be=r(ke);if(!f.has(Be))return!1;let te=f.get(Be);if(fu(te)){for(let wn=0;wn<te.length;wn++)if(c(te[wn],ke))return te.length===1?f.delete(Be):te.length===2?f.set(Be,te[1-wn]):rt(te,wn),x--,!0}else if(c(te,ke))return f.delete(Be),x--,!0;return!1},clear(){f.clear(),x=0},get size(){return x},forEach(ke){for(let Be of Zu(f.values()))if(fu(Be))for(let te of Be)ke(te,te,De);else{let te=Be;ke(te,te,De)}},keys(){return B()},values(){return B()},*entries(){for(let ke of B())yield[ke,ke]},[Symbol.iterator]:()=>B(),[Symbol.toStringTag]:f[Symbol.toStringTag]};return De}function fu(r){return Array.isArray(r)}function Wh(r){return fu(r)?r:[r]}function nd(r){return typeof r==\"string\"}function Hc(r){return typeof r==\"number\"}function bc(r,c){return r!==void 0&&c(r)?r:void 0}function Su(r,c){return r!==void 0&&c(r)?r:Bn.fail(`Invalid cast. The supplied value ${r} did not pass the test '${Bn.getFunctionName(c)}'.`)}function ku(r){}function id(){return!1}function gy(){return!0}function Mb(){}function ec(r){return r}function Ew(r){return r.toLowerCase()}function Tw(r){return Zs.test(r)?r.replace(Zs,Ew):r}function rT(){throw new Error(\"Not implemented\")}function AC(r){let c;return()=>(r&&(c=r(),r=void 0),c)}function Kp(r){let c=new Map;return f=>{let x=`${typeof f}:${f}`,B=c.get(x);return B===void 0&&!c.has(x)&&(B=r(f),c.set(x,B)),B}}function sT(r){let c=new WeakMap;return f=>{let x=c.get(f);return x===void 0&&!c.has(f)&&(x=r(f),c.set(f,x)),x}}function oT(r,c){return function(){for(var f=arguments.length,x=new Array(f),B=0;B<f;B++)x[B]=arguments[B];let De=c.get(x);return De===void 0&&!c.has(x)&&(De=r(...x),c.set(x,De)),De}}function k0(r,c,f,x,B){if(B){let De=[];for(let ke=0;ke<arguments.length;ke++)De[ke]=arguments[ke];return ke=>Ma(De,(Be,te)=>te(Be),ke)}else return x?De=>x(f(c(r(De)))):f?De=>f(c(r(De))):c?De=>c(r(De)):r?De=>r(De):De=>De}function qg(r,c){return r===c}function L0(r,c){return r===c||r!==void 0&&c!==void 0&&r.toUpperCase()===c.toUpperCase()}function my(r,c){return qg(r,c)}function Aw(r,c){return r===c?0:r===void 0?-1:c===void 0?1:r<c?-1:1}function rd(r,c){return Aw(r,c)}function kC(r,c){return rd(r==null?void 0:r.start,c==null?void 0:c.start)||rd(r==null?void 0:r.length,c==null?void 0:c.length)}function z(r,c){return Ma(r,(f,x)=>c(f,x)===-1?f:x)}function ee(r,c){return r===c?0:r===void 0?-1:c===void 0?1:(r=r.toUpperCase(),c=c.toUpperCase(),r<c?-1:r>c?1:0)}function R(r,c){return r===c?0:r===void 0?-1:c===void 0?1:(r=r.toLowerCase(),c=c.toLowerCase(),r<c?-1:r>c?1:0)}function Y(r,c){return Aw(r,c)}function G(r){return r?ee:Y}function M(){return Yi}function H(r){Yi!==r&&(Yi=r,Fi=void 0)}function $(r,c){return(Fi||(Fi=An(Yi)))(r,c)}function Z(r,c,f,x){return r===c?0:r===void 0?-1:c===void 0?1:x(r[f],c[f])}function oe(r,c){return rd(r?1:0,c?1:0)}function ye(r,c,f){let x=Math.max(2,Math.floor(r.length*.34)),B=Math.floor(r.length*.4)+1,De;for(let ke of c){let Be=f(ke);if(Be!==void 0&&Math.abs(Be.length-r.length)<=x){if(Be===r||Be.length<3&&Be.toLowerCase()!==r.toLowerCase())continue;let te=_e(r,Be,B-.1);if(te===void 0)continue;Bn.assert(te<B),B=te,De=ke}}return De}function _e(r,c,f){let x=new Array(c.length+1),B=new Array(c.length+1),De=f+.01;for(let Be=0;Be<=c.length;Be++)x[Be]=Be;for(let Be=1;Be<=r.length;Be++){let te=r.charCodeAt(Be-1),wn=Math.ceil(Be>f?Be-f:1),st=Math.floor(c.length>f+Be?f+Be:c.length);B[0]=Be;let wi=Be;for(let Zn=1;Zn<wn;Zn++)B[Zn]=De;for(let Zn=wn;Zn<=st;Zn++){let ar=r[Be-1].toLowerCase()===c[Zn-1].toLowerCase()?x[Zn-1]+.1:x[Zn-1]+2,ys=te===c.charCodeAt(Zn-1)?x[Zn-1]:Math.min(x[Zn]+1,B[Zn-1]+1,ar);B[Zn]=ys,wi=Math.min(wi,ys)}for(let Zn=st+1;Zn<=c.length;Zn++)B[Zn]=De;if(wi>f)return;let an=x;x=B,B=an}let ke=x[c.length];return ke>f?void 0:ke}function ge(r,c){let f=r.length-c.length;return f>=0&&r.indexOf(c,f)===f}function ne(r,c){return ge(r,c)?r.slice(0,r.length-c.length):r}function le(r,c){return ge(r,c)?r.slice(0,r.length-c.length):void 0}function xe(r,c){return r.indexOf(c)!==-1}function tt(r){let c=r.length;for(let f=c-1;f>0;f--){let x=r.charCodeAt(f);if(x>=48&&x<=57)do--f,x=r.charCodeAt(f);while(f>0&&x>=48&&x<=57);else if(f>4&&(x===110||x===78)){if(--f,x=r.charCodeAt(f),x!==105&&x!==73||(--f,x=r.charCodeAt(f),x!==109&&x!==77))break;--f,x=r.charCodeAt(f)}else break;if(x!==45&&x!==46)break;c=f}return c===r.length?r:r.slice(0,c)}function j(r,c){for(let f=0;f<r.length;f++)if(r[f]===c)return Ae(r,f),!0;return!1}function Ae(r,c){for(let f=c;f<r.length-1;f++)r[f]=r[f+1];r.pop()}function rt(r,c){r[c]=r[r.length-1],r.pop()}function je(r,c){return pt(r,f=>f===c)}function pt(r,c){for(let f=0;f<r.length;f++)if(c(r[f]))return rt(r,f),!0;return!1}function at(r){return r?ec:Tw}function fn(r){let{prefix:c,suffix:f}=r;return`${c}*${f}`}function ce(r,c){return Bn.assert(me(r,c)),c.substring(r.prefix.length,c.length-r.suffix.length)}function Ve(r,c,f){let x,B=-1;for(let De of r){let ke=c(De);me(ke,f)&&ke.prefix.length>B&&(B=ke.prefix.length,x=De)}return x}function ae(r,c){return r.lastIndexOf(c,0)===0}function Ee(r,c){return ae(r,c)?r.substr(c.length):r}function J(r,c){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ec;return ae(f(r),f(c))?r.substring(c.length):void 0}function me(r,c){let{prefix:f,suffix:x}=r;return c.length>=f.length+x.length&&ae(c,f)&&ge(c,x)}function we(r,c){return f=>r(f)&&c(f)}function Fe(){for(var r=arguments.length,c=new Array(r),f=0;f<r;f++)c[f]=arguments[f];return function(){let x;for(let B of c)if(x=B(...arguments),x)return x;return x}}function Me(r){return function(){return!r(...arguments)}}function Xe(r){}function Dt(r){return r===void 0?void 0:[r]}function Xt(r,c,f,x,B,De){De=De||ku;let ke=0,Be=0,te=r.length,wn=c.length,st=!1;for(;ke<te&&Be<wn;){let wi=r[ke],an=c[Be],Zn=f(wi,an);Zn===-1?(x(wi),ke++,st=!0):Zn===1?(B(an),Be++,st=!0):(De(an,wi),ke++,Be++)}for(;ke<te;)x(r[ke++]),st=!0;for(;Be<wn;)B(c[Be++]),st=!0;return st}function hn(r){let c=[];return Jt(r,c,void 0,0),c}function Jt(r,c,f,x){for(let B of r[x]){let De;f?(De=f.slice(),De.push(B)):De=[B],x===r.length-1?c.push(De):Jt(r,c,De,x+1)}}function Hn(r,c){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:\" \";return c<=r.length?r:f.repeat(c-r.length)+r}function Nt(r,c){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:\" \";return c<=r.length?r:r+f.repeat(c-r.length)}function Di(r,c){if(r){let f=r.length,x=0;for(;x<f&&c(r[x]);)x++;return r.slice(0,x)}}function cn(r,c){if(r){let f=r.length,x=0;for(;x<f&&c(r[x]);)x++;return r.slice(x)}}function Ht(r){let c=r.length-1;for(;c>=0&&wy(r.charCodeAt(c));)c--;return r.slice(0,c+1)}function vi(){return typeof Us<\"u\"&&Us.nextTick&&!Us.browser&&typeof v==\"object\"}var Ci,ki,Cr,pn,ui,Zi,yr,Zs,hi,An,Fi,Yi,Fr,as,Ds,ta=ve({\"src/compiler/core.ts\"(){Qp(),Ci=[],ki=new Map,Cr=new Set,pn=(r=>(r[r.None=0]=\"None\",r[r.CaseSensitive=1]=\"CaseSensitive\",r[r.CaseInsensitive=2]=\"CaseInsensitive\",r[r.Both=3]=\"Both\",r))(pn||{}),ui=Array.prototype.at?(r,c)=>r==null?void 0:r.at(c):(r,c)=>{if(r&&(c=bt(r,c),c<r.length))return r[c]},Zi=Object.prototype.hasOwnProperty,yr={push:ku,length:0},Zs=/[^\\u0130\\u0131\\u00DFa-z0-9\\\\/:\\-_\\. ]+/g,hi=(r=>(r[r.None=0]=\"None\",r[r.Normal=1]=\"Normal\",r[r.Aggressive=2]=\"Aggressive\",r[r.VeryAggressive=3]=\"VeryAggressive\",r))(hi||{}),An=(()=>{let r,c,f=Be();return te;function x(wn,st,wi){if(wn===st)return 0;if(wn===void 0)return-1;if(st===void 0)return 1;let an=wi(wn,st);return an<0?-1:an>0?1:0}function B(wn){let st=new Intl.Collator(wn,{usage:\"sort\",sensitivity:\"variant\"}).compare;return(wi,an)=>x(wi,an,st)}function De(wn){if(wn!==void 0)return ke();return(wi,an)=>x(wi,an,st);function st(wi,an){return wi.localeCompare(an)}}function ke(){return(wi,an)=>x(wi,an,wn);function wn(wi,an){return st(wi.toUpperCase(),an.toUpperCase())||st(wi,an)}function st(wi,an){return wi<an?-1:wi>an?1:0}}function Be(){return typeof Intl==\"object\"&&typeof Intl.Collator==\"function\"?B:typeof String.prototype.localeCompare==\"function\"&&typeof String.prototype.toLocaleUpperCase==\"function\"&&\"a\".localeCompare(\"B\")<0?De:ke}function te(wn){return wn===void 0?r||(r=f(wn)):wn===\"en-US\"?c||(c=f(wn)):f(wn)}})(),Fr=String.prototype.trim?r=>r.trim():r=>as(Ds(r)),as=String.prototype.trimEnd?r=>r.trimEnd():Ht,Ds=String.prototype.trimStart?r=>r.trimStart():r=>r.replace(/^\\s+/g,\"\")}}),ll,Bn,Zo=ve({\"src/compiler/debug.ts\"(){Qp(),Qp(),ll=(r=>(r[r.Off=0]=\"Off\",r[r.Error=1]=\"Error\",r[r.Warning=2]=\"Warning\",r[r.Info=3]=\"Info\",r[r.Verbose=4]=\"Verbose\",r))(ll||{}),(r=>{let c=0;r.currentLogLevel=2,r.isDebugging=!1;function f(Wr){return r.currentLogLevel<=Wr}r.shouldLog=f;function x(Wr,fo){r.loggingHost&&f(Wr)&&r.loggingHost.log(Wr,fo)}function B(Wr){x(3,Wr)}r.log=B,(Wr=>{function fo(cu){x(1,cu)}Wr.error=fo;function la(cu){x(2,cu)}Wr.warn=la;function Aa(cu){x(3,cu)}Wr.log=Aa;function Vu(cu){x(4,cu)}Wr.trace=Vu})(B=r.log||(r.log={}));let De={};function ke(){return c}r.getAssertionLevel=ke;function Be(Wr){let fo=c;if(c=Wr,Wr>fo)for(let la of qs(De)){let Aa=De[la];Aa!==void 0&&r[la]!==Aa.assertion&&Wr>=Aa.level&&(r[la]=Aa,De[la]=void 0)}}r.setAssertionLevel=Be;function te(Wr){return c>=Wr}r.shouldAssert=te;function wn(Wr,fo){return te(Wr)?!0:(De[fo]={level:Wr,assertion:r[fo]},r[fo]=ku,!1)}function st(Wr,fo){debugger;let la=new Error(Wr?`Debug Failure. ${Wr}`:\"Debug Failure.\");throw Error.captureStackTrace&&Error.captureStackTrace(la,fo||st),la}r.fail=st;function wi(Wr,fo,la){return st(`${fo||\"Unexpected node.\"}\\r\nNode ${gd(Wr.kind)} was unexpected.`,la||wi)}r.failBadSyntaxKind=wi;function an(Wr,fo,la,Aa){Wr||(fo=fo?`False expression: ${fo}`:\"False expression.\",la&&(fo+=`\\r\nVerbose Debug Information: `+(typeof la==\"string\"?la:la())),st(fo,Aa||an))}r.assert=an;function Zn(Wr,fo,la,Aa,Vu){if(Wr!==fo){let cu=la?Aa?`${la} ${Aa}`:la:\"\";st(`Expected ${Wr} === ${fo}. ${cu}`,Vu||Zn)}}r.assertEqual=Zn;function ar(Wr,fo,la,Aa){Wr>=fo&&st(`Expected ${Wr} < ${fo}. ${la||\"\"}`,Aa||ar)}r.assertLessThan=ar;function ys(Wr,fo,la){Wr>fo&&st(`Expected ${Wr} <= ${fo}`,la||ys)}r.assertLessThanOrEqual=ys;function Is(Wr,fo,la){Wr<fo&&st(`Expected ${Wr} >= ${fo}`,la||Is)}r.assertGreaterThanOrEqual=Is;function So(Wr,fo,la){Wr==null&&st(fo,la||So)}r.assertIsDefined=So;function Ws(Wr,fo,la){return So(Wr,fo,la||Ws),Wr}r.checkDefined=Ws;function _r(Wr,fo,la){for(let Aa of Wr)So(Aa,fo,la||_r)}r.assertEachIsDefined=_r;function po(Wr,fo,la){return _r(Wr,fo,la||po),Wr}r.checkEachDefined=po;function Na(Wr){let fo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:\"Illegal value:\",la=arguments.length>2?arguments[2]:void 0,Aa=typeof Wr==\"object\"&&Yo(Wr,\"kind\")&&Yo(Wr,\"pos\")?\"SyntaxKind: \"+gd(Wr.kind):JSON.stringify(Wr);return st(`${fo} ${Aa}`,la||Na)}r.assertNever=Na;function wu(Wr,fo,la,Aa){wn(1,\"assertEachNode\")&&an(fo===void 0||yn(Wr,fo),la||\"Unexpected node.\",()=>`Node array did not pass test '${Zp(fo)}'.`,Aa||wu)}r.assertEachNode=wu;function Tl(Wr,fo,la,Aa){wn(1,\"assertNode\")&&an(Wr!==void 0&&(fo===void 0||fo(Wr)),la||\"Unexpected node.\",()=>`Node ${gd(Wr==null?void 0:Wr.kind)} did not pass test '${Zp(fo)}'.`,Aa||Tl)}r.assertNode=Tl;function Wu(Wr,fo,la,Aa){wn(1,\"assertNotNode\")&&an(Wr===void 0||fo===void 0||!fo(Wr),la||\"Unexpected node.\",()=>`Node ${gd(Wr.kind)} should not have passed test '${Zp(fo)}'.`,Aa||Wu)}r.assertNotNode=Wu;function hc(Wr,fo,la,Aa){wn(1,\"assertOptionalNode\")&&an(fo===void 0||Wr===void 0||fo(Wr),la||\"Unexpected node.\",()=>`Node ${gd(Wr==null?void 0:Wr.kind)} did not pass test '${Zp(fo)}'.`,Aa||hc)}r.assertOptionalNode=hc;function xf(Wr,fo,la,Aa){wn(1,\"assertOptionalToken\")&&an(fo===void 0||Wr===void 0||Wr.kind===fo,la||\"Unexpected node.\",()=>`Node ${gd(Wr==null?void 0:Wr.kind)} was not a '${gd(fo)}' token.`,Aa||xf)}r.assertOptionalToken=xf;function rp(Wr,fo,la){wn(1,\"assertMissingNode\")&&an(Wr===void 0,fo||\"Unexpected node.\",()=>`Node ${gd(Wr.kind)} was unexpected'.`,la||rp)}r.assertMissingNode=rp;function $m(Wr){}r.type=$m;function Zp(Wr){if(typeof Wr!=\"function\")return\"\";if(Yo(Wr,\"name\"))return Wr.name;{let fo=Function.prototype.toString.call(Wr),la=/^function\\s+([\\w\\$]+)\\s*\\(/.exec(fo);return la?la[1]:\"\"}}r.getFunctionName=Zp;function ef(Wr){return`{ name: ${mT(Wr.escapedName)}; flags: ${Ef(Wr.flags)}; declarations: ${is(Wr.declarations,fo=>gd(fo.kind))} }`}r.formatSymbol=ef;function lu(){let Wr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,fo=arguments.length>1?arguments[1]:void 0,la=arguments.length>2?arguments[2]:void 0,Aa=Ap(fo);if(Wr===0)return Aa.length>0&&Aa[0][0]===0?Aa[0][1]:\"0\";if(la){let Vu=[],cu=Wr;for(let[ws,Vs]of Aa){if(ws>Wr)break;ws!==0&&ws&Wr&&(Vu.push(Vs),cu&=~ws)}if(cu===0)return Vu.join(\"|\")}else for(let[Vu,cu]of Aa)if(Vu===Wr)return cu;return Wr.toString()}r.formatEnum=lu;let Uf=new Map;function Ap(Wr){let fo=Uf.get(Wr);if(fo)return fo;let la=[];for(let Vu in Wr){let cu=Wr[Vu];typeof cu==\"number\"&&la.push([cu,Vu])}let Aa=Oe(la,(Vu,cu)=>rd(Vu[0],cu[0]));return Uf.set(Wr,Aa),Aa}function gd(Wr){return lu(Wr,pr,!1)}r.formatSyntaxKind=gd;function zm(Wr){return lu(Wr,L4,!1)}r.formatSnippetKind=zm;function tf(Wr){return lu(Wr,yo,!0)}r.formatNodeFlags=tf;function $h(Wr){return lu(Wr,Gs,!0)}r.formatModifierFlags=$h;function sp(Wr){return lu(Wr,k4,!0)}r.formatTransformFlags=sp;function jc(Wr){return lu(Wr,N4,!0)}r.formatEmitFlags=jc;function Ef(Wr){return lu(Wr,Fl,!0)}r.formatSymbolFlags=Ef;function Kf(Wr){return lu(Wr,fa,!0)}r.formatTypeFlags=Kf;function Uc(Wr){return lu(Wr,_d,!0)}r.formatSignatureFlags=Uc;function tc(Wr){return lu(Wr,Pl,!0)}r.formatObjectFlags=tc;function xh(Wr){return lu(Wr,_s,!0)}r.formatFlowFlags=xh;function qf(Wr){return lu(Wr,Ne,!0)}r.formatRelationComparisonResult=qf;function Tc(Wr){return lu(Wr,CheckMode,!0)}r.formatCheckMode=Tc;function lg(Wr){return lu(Wr,SignatureCheckMode,!0)}r.formatSignatureCheckMode=lg;function Wc(Wr){return lu(Wr,TypeFacts,!0)}r.formatTypeFacts=Wc;let op=!1,md;function Gf(Wr){\"__debugFlowFlags\"in Wr||Object.defineProperties(Wr,{__tsDebuggerDisplay:{value(){let fo=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\",la=this.flags&~(2048-1);return`${fo}${la?` (${xh(la)})`:\"\"}`}},__debugFlowFlags:{get(){return lu(this.flags,_s,!0)}},__debugToString:{value(){return rl(this)}}})}function vc(Wr){op&&(typeof Object.setPrototypeOf==\"function\"?(md||(md=Object.create(Object.prototype),Gf(md)),Object.setPrototypeOf(Wr,md)):Gf(Wr))}r.attachFlowNodeDebugInfo=vc;let jd;function ap(Wr){\"__tsDebuggerDisplay\"in Wr||Object.defineProperties(Wr,{__tsDebuggerDisplay:{value(fo){return fo=String(fo).replace(/(?:,[\\s\\w\\d_]+:[^,]+)+\\]$/,\"]\"),`NodeArray ${fo}`}}})}function V0(Wr){op&&(typeof Object.setPrototypeOf==\"function\"?(jd||(jd=Object.create(Array.prototype),ap(jd)),Object.setPrototypeOf(Wr,jd)):ap(Wr))}r.attachNodeArrayDebugInfo=V0;function A_(){if(op)return;let Wr=new WeakMap,fo=new WeakMap;Object.defineProperties($c.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){let Aa=this.flags&33554432?\"TransientSymbol\":\"Symbol\",Vu=this.flags&-33554433;return`${Aa} '${$4(this)}'${Vu?` (${Ef(Vu)})`:\"\"}`}},__debugFlags:{get(){return Ef(this.flags)}}}),Object.defineProperties($c.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value(){let Aa=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\",Vu=this.flags&524288?this.objectFlags&-1344:0;return`${Aa}${this.symbol?` '${$4(this.symbol)}'`:\"\"}${Vu?` (${tc(Vu)})`:\"\"}`}},__debugFlags:{get(){return Kf(this.flags)}},__debugObjectFlags:{get(){return this.flags&524288?tc(this.objectFlags):\"\"}},__debugTypeToString:{value(){let Aa=Wr.get(this);return Aa===void 0&&(Aa=this.checker.typeToString(this),Wr.set(this,Aa)),Aa}}}),Object.defineProperties($c.getSignatureConstructor().prototype,{__debugFlags:{get(){return Uc(this.flags)}},__debugSignatureToString:{value(){var Aa;return(Aa=this.checker)==null?void 0:Aa.signatureToString(this)}}});let la=[$c.getNodeConstructor(),$c.getIdentifierConstructor(),$c.getTokenConstructor(),$c.getSourceFileConstructor()];for(let Aa of la)Yo(Aa.prototype,\"__debugKind\")||Object.defineProperties(Aa.prototype,{__tsDebuggerDisplay:{value(){return`${xy(this)?\"GeneratedIdentifier\":Ja(this)?`Identifier '${Hh(this)}'`:wf(this)?`PrivateIdentifier '${Hh(this)}'`:T_(this)?`StringLiteral ${JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+\"...\")}`:Kb(this)?`NumericLiteral ${this.text}`:bB(this)?`BigIntLiteral ${this.text}n`:XC(this)?\"TypeParameterDeclaration\":Gb(this)?\"ParameterDeclaration\":aS(this)?\"ConstructorDeclaration\":YT(this)?\"GetAccessorDeclaration\":lS(this)?\"SetAccessorDeclaration\":DB(this)?\"CallSignatureDeclaration\":Fte(this)?\"ConstructSignatureDeclaration\":wB(this)?\"IndexSignatureDeclaration\":Pte(this)?\"TypePredicateNode\":uS(this)?\"TypeReferenceNode\":XT(this)?\"FunctionTypeNode\":SB(this)?\"ConstructorTypeNode\":Ote(this)?\"TypeQueryNode\":zN(this)?\"TypeLiteralNode\":Mte(this)?\"ArrayTypeNode\":Rte(this)?\"TupleTypeNode\":Bte(this)?\"OptionalTypeNode\":jte(this)?\"RestTypeNode\":Wte(this)?\"UnionTypeNode\":Vte(this)?\"IntersectionTypeNode\":Hte(this)?\"ConditionalTypeNode\":$te(this)?\"InferTypeNode\":EB(this)?\"ParenthesizedTypeNode\":TB(this)?\"ThisTypeNode\":zte(this)?\"TypeOperatorNode\":Ute(this)?\"IndexedAccessTypeNode\":Kte(this)?\"MappedTypeNode\":AB(this)?\"LiteralTypeNode\":xB(this)?\"NamedTupleMember\":QT(this)?\"ImportTypeNode\":gd(this.kind)}${this.flags?` (${tf(this.flags)})`:\"\"}`}},__debugKind:{get(){return gd(this.kind)}},__debugNodeFlags:{get(){return tf(this.flags)}},__debugModifierFlags:{get(){return $h(GZ(this))}},__debugTransformFlags:{get(){return sp(this.transformFlags)}},__debugIsParseTreeNode:{get(){return _T(this)}},__debugEmitFlags:{get(){return jc(Zg(this))}},__debugGetText:{value(Vu){if(ky(this))return\"\";let cu=fo.get(this);if(cu===void 0){let ws=gT(this),Vs=ws&&Qg(ws);cu=Vs?zC(Vs,ws,Vu):\"\",fo.set(this,cu)}return cu}}});op=!0}r.enableDebugInfo=A_;function Um(Wr){let fo=Wr&7,la=fo===0?\"in out\":fo===3?\"[bivariant]\":fo===2?\"in\":fo===1?\"out\":fo===4?\"[independent]\":\"\";return Wr&8?la+=\" (unmeasurable)\":Wr&16&&(la+=\" (unreliable)\"),la}r.formatVariance=Um;class Jf{__debugToString(){var fo;switch(this.kind){case 3:return((fo=this.debugInfo)==null?void 0:fo.call(this))||\"(function mapper)\";case 0:return`${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;case 1:return Mn(this.sources,this.targets||is(this.sources,()=>\"any\"),(la,Aa)=>`${la.__debugTypeToString()} -> ${typeof Aa==\"string\"?Aa:Aa.__debugTypeToString()}`).join(\", \");case 2:return Mn(this.sources,this.targets,(la,Aa)=>`${la.__debugTypeToString()} -> ${Aa().__debugTypeToString()}`).join(\", \");case 5:case 4:return`m1: ${this.mapper1.__debugToString().split(`\n`).join(`\n    `)}\nm2: ${this.mapper2.__debugToString().split(`\n`).join(`\n    `)}`;default:return Na(this)}}}r.DebugTypeMapper=Jf;function ug(Wr){return r.isDebugging?Object.setPrototypeOf(Wr,Jf.prototype):Wr}r.attachDebugPrototypeIfDebug=ug;function H0(Wr){return console.log(rl(Wr))}r.printControlFlowGraph=H0;function rl(Wr){let fo=-1;function la(tn){return tn.id||(tn.id=fo,fo--),tn.id}let Aa;(tn=>{tn.lr=\"\\u2500\",tn.ud=\"\\u2502\",tn.dr=\"\\u256D\",tn.dl=\"\\u256E\",tn.ul=\"\\u256F\",tn.ur=\"\\u2570\",tn.udr=\"\\u251C\",tn.udl=\"\\u2524\",tn.dlr=\"\\u252C\",tn.ulr=\"\\u2534\",tn.udlr=\"\\u256B\"})(Aa||(Aa={}));let Vu;(tn=>{tn[tn.None=0]=\"None\",tn[tn.Up=1]=\"Up\",tn[tn.Down=2]=\"Down\",tn[tn.Left=4]=\"Left\",tn[tn.Right=8]=\"Right\",tn[tn.UpDown=3]=\"UpDown\",tn[tn.LeftRight=12]=\"LeftRight\",tn[tn.UpLeft=5]=\"UpLeft\",tn[tn.UpRight=9]=\"UpRight\",tn[tn.DownLeft=6]=\"DownLeft\",tn[tn.DownRight=10]=\"DownRight\",tn[tn.UpDownLeft=7]=\"UpDownLeft\",tn[tn.UpDownRight=11]=\"UpDownRight\",tn[tn.UpLeftRight=13]=\"UpLeftRight\",tn[tn.DownLeftRight=14]=\"DownLeftRight\",tn[tn.UpDownLeftRight=15]=\"UpDownLeftRight\",tn[tn.NoChildren=16]=\"NoChildren\"})(Vu||(Vu={}));let cu=2032,ws=882,Vs=Object.create(null),Hs=[],na=qm(Wr,new Set);for(let tn of Hs)tn.text=Gm(tn.flowNode,tn.circular),Py(tn);let fl=Xb(na),vl=rm(fl);return sm(na,0),Tf();function Hl(tn){return!!(tn.flags&128)}function Eh(tn){return!!(tn.flags&12)&&!!tn.antecedents}function Ad(tn){return!!(tn.flags&cu)}function Yf(tn){return!!(tn.flags&ws)}function Km(tn){let tr=[];for(let Kt of tn.edges)Kt.source===tn&&tr.push(Kt.target);return tr}function im(tn){let tr=[];for(let Kt of tn.edges)Kt.target===tn&&tr.push(Kt.source);return tr}function qm(tn,tr){let Kt=la(tn),Qr=Vs[Kt];if(Qr&&tr.has(tn))return Qr.circular=!0,Qr={id:-1,flowNode:tn,edges:[],text:\"\",lane:-1,endLane:-1,level:-1,circular:\"circularity\"},Hs.push(Qr),Qr;if(tr.add(tn),!Qr)if(Vs[Kt]=Qr={id:Kt,flowNode:tn,edges:[],text:\"\",lane:-1,endLane:-1,level:-1,circular:!1},Hs.push(Qr),Eh(tn))for(let fe of tn.antecedents)$0(Qr,fe,tr);else Ad(tn)&&$0(Qr,tn.antecedent,tr);return tr.delete(tn),Qr}function $0(tn,tr,Kt){let Qr=qm(tr,Kt),fe={source:tn,target:Qr};tn.edges.push(fe),Qr.edges.push(fe)}function Py(tn){if(tn.level!==-1)return tn.level;let tr=0;for(let Kt of im(tn))tr=Math.max(tr,Py(Kt)+1);return tn.level=tr}function Xb(tn){let tr=0;for(let Kt of Km(tn))tr=Math.max(tr,Xb(Kt));return tr+1}function rm(tn){let tr=k_(Array(tn),0);for(let Kt of Hs)tr[Kt.level]=Math.max(tr[Kt.level],Kt.text.length);return tr}function sm(tn,tr){if(tn.lane===-1){tn.lane=tr,tn.endLane=tr;let Kt=Km(tn);for(let Qr=0;Qr<Kt.length;Qr++){Qr>0&&tr++;let fe=Kt[Qr];sm(fe,tr),fe.endLane>tn.endLane&&(tr=fe.endLane)}tn.endLane=tr}}function z0(tn){if(tn&2)return\"Start\";if(tn&4)return\"Branch\";if(tn&8)return\"Loop\";if(tn&16)return\"Assignment\";if(tn&32)return\"True\";if(tn&64)return\"False\";if(tn&128)return\"SwitchClause\";if(tn&256)return\"ArrayMutation\";if(tn&512)return\"Call\";if(tn&1024)return\"ReduceLabel\";if(tn&1)return\"Unreachable\";throw new Error}function U0(tn){let tr=Qg(tn);return zC(tr,tn,!1)}function Gm(tn,tr){let Kt=z0(tn.flags);if(tr&&(Kt=`${Kt}#${la(tn)}`),Yf(tn))tn.node&&(Kt+=` (${U0(tn.node)})`);else if(Hl(tn)){let Qr=[];for(let fe=tn.clauseStart;fe<tn.clauseEnd;fe++){let ma=tn.switchStatement.caseBlock.clauses[fe];rne(ma)?Qr.push(\"default\"):Qr.push(U0(ma.expression))}Kt+=` (${Qr.join(\", \")})`}return tr===\"circularity\"?`Circular(${Kt})`:Kt}function Tf(){let tn=vl.length,tr=Hs.reduce((Io,Sr)=>Math.max(Io,Sr.lane),0)+1,Kt=k_(Array(tr),\"\"),Qr=vl.map(()=>Array(tr)),fe=vl.map(()=>k_(Array(tr),0));for(let Io of Hs){Qr[Io.level][Io.lane]=Io;let Sr=Km(Io);for(let Fa=0;Fa<Sr.length;Fa++){let Xl=Sr[Fa],wc=8;Xl.lane===Io.lane&&(wc|=4),Fa>0&&(wc|=1),Fa<Sr.length-1&&(wc|=2),fe[Io.level][Xl.lane]|=wc}Sr.length===0&&(fe[Io.level][Io.lane]|=16);let ia=im(Io);for(let Fa=0;Fa<ia.length;Fa++){let Xl=ia[Fa],wc=4;Fa>0&&(wc|=1),Fa<ia.length-1&&(wc|=2),fe[Io.level-1][Xl.lane]|=wc}}for(let Io=0;Io<tn;Io++)for(let Sr=0;Sr<tr;Sr++){let ia=Io>0?fe[Io-1][Sr]:0,Fa=Sr>0?fe[Io][Sr-1]:0,Xl=fe[Io][Sr];Xl||(ia&8&&(Xl|=12),Fa&2&&(Xl|=3),fe[Io][Sr]=Xl)}for(let Io=0;Io<tn;Io++)for(let Sr=0;Sr<Kt.length;Sr++){let ia=fe[Io][Sr],Fa=ia&4?\"\\u2500\":\" \",Xl=Qr[Io][Sr];Xl?(ma(Sr,Xl.text),Io<tn-1&&(ma(Sr,\" \"),ma(Sr,Ki(Fa,vl[Io]-Xl.text.length)))):Io<tn-1&&ma(Sr,Ki(Fa,vl[Io]+1)),ma(Sr,Cl(ia)),ma(Sr,ia&8&&Io<tn-1&&!Qr[Io+1][Sr]?\"\\u2500\":\" \")}return`\n${Kt.join(`\n`)}\n`;function ma(Io,Sr){Kt[Io]+=Sr}}function Cl(tn){switch(tn){case 3:return\"\\u2502\";case 12:return\"\\u2500\";case 5:return\"\\u256F\";case 9:return\"\\u2570\";case 6:return\"\\u256E\";case 10:return\"\\u256D\";case 7:return\"\\u2524\";case 11:return\"\\u251C\";case 13:return\"\\u2534\";case 14:return\"\\u252C\";case 15:return\"\\u256B\"}return\" \"}function k_(tn,tr){if(tn.fill)tn.fill(tr);else for(let Kt=0;Kt<tn.length;Kt++)tn[Kt]=tr;return tn}function Ki(tn,tr){if(tn.repeat)return tr>0?tn.repeat(tr):\"\";let Kt=\"\";for(;Kt.length<tr;)Kt+=tn;return Kt}}r.formatControlFlowGraph=rl})(Bn||(Bn={}))}}),Ta=()=>{},ir=Date.now,Sn=new Proxy(()=>{},{get:()=>Sn}),ur;function pi(r){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,f=NC[r.category];return c?f.toLowerCase():f}var pr,yo,Gs,Er,Ne,Vn,er,_s,js,qo,Ts,Dc,No,dc,To,Va,ol,Lu,Bo,il,Ua,cr,qp,uh,Il,Fl,ju,Gp,Mt,Pr,fa,Pl,Wl,Ep,Ec,Dh,Jp,_d,qa,yl,Rb,LC,kw,aT,NC,Lw,IC,FC,gO,mO,yO,bO,vO,CO,DO,wO,SO,xO,EO,TO,k4,L4,N4,AO,kO,LO,NO,IO,FO,PO,OO,I4,LY=ve({\"src/compiler/types.ts\"(){pr=(r=>(r[r.Unknown=0]=\"Unknown\",r[r.EndOfFileToken=1]=\"EndOfFileToken\",r[r.SingleLineCommentTrivia=2]=\"SingleLineCommentTrivia\",r[r.MultiLineCommentTrivia=3]=\"MultiLineCommentTrivia\",r[r.NewLineTrivia=4]=\"NewLineTrivia\",r[r.WhitespaceTrivia=5]=\"WhitespaceTrivia\",r[r.ShebangTrivia=6]=\"ShebangTrivia\",r[r.ConflictMarkerTrivia=7]=\"ConflictMarkerTrivia\",r[r.NumericLiteral=8]=\"NumericLiteral\",r[r.BigIntLiteral=9]=\"BigIntLiteral\",r[r.StringLiteral=10]=\"StringLiteral\",r[r.JsxText=11]=\"JsxText\",r[r.JsxTextAllWhiteSpaces=12]=\"JsxTextAllWhiteSpaces\",r[r.RegularExpressionLiteral=13]=\"RegularExpressionLiteral\",r[r.NoSubstitutionTemplateLiteral=14]=\"NoSubstitutionTemplateLiteral\",r[r.TemplateHead=15]=\"TemplateHead\",r[r.TemplateMiddle=16]=\"TemplateMiddle\",r[r.TemplateTail=17]=\"TemplateTail\",r[r.OpenBraceToken=18]=\"OpenBraceToken\",r[r.CloseBraceToken=19]=\"CloseBraceToken\",r[r.OpenParenToken=20]=\"OpenParenToken\",r[r.CloseParenToken=21]=\"CloseParenToken\",r[r.OpenBracketToken=22]=\"OpenBracketToken\",r[r.CloseBracketToken=23]=\"CloseBracketToken\",r[r.DotToken=24]=\"DotToken\",r[r.DotDotDotToken=25]=\"DotDotDotToken\",r[r.SemicolonToken=26]=\"SemicolonToken\",r[r.CommaToken=27]=\"CommaToken\",r[r.QuestionDotToken=28]=\"QuestionDotToken\",r[r.LessThanToken=29]=\"LessThanToken\",r[r.LessThanSlashToken=30]=\"LessThanSlashToken\",r[r.GreaterThanToken=31]=\"GreaterThanToken\",r[r.LessThanEqualsToken=32]=\"LessThanEqualsToken\",r[r.GreaterThanEqualsToken=33]=\"GreaterThanEqualsToken\",r[r.EqualsEqualsToken=34]=\"EqualsEqualsToken\",r[r.ExclamationEqualsToken=35]=\"ExclamationEqualsToken\",r[r.EqualsEqualsEqualsToken=36]=\"EqualsEqualsEqualsToken\",r[r.ExclamationEqualsEqualsToken=37]=\"ExclamationEqualsEqualsToken\",r[r.EqualsGreaterThanToken=38]=\"EqualsGreaterThanToken\",r[r.PlusToken=39]=\"PlusToken\",r[r.MinusToken=40]=\"MinusToken\",r[r.AsteriskToken=41]=\"AsteriskToken\",r[r.AsteriskAsteriskToken=42]=\"AsteriskAsteriskToken\",r[r.SlashToken=43]=\"SlashToken\",r[r.PercentToken=44]=\"PercentToken\",r[r.PlusPlusToken=45]=\"PlusPlusToken\",r[r.MinusMinusToken=46]=\"MinusMinusToken\",r[r.LessThanLessThanToken=47]=\"LessThanLessThanToken\",r[r.GreaterThanGreaterThanToken=48]=\"GreaterThanGreaterThanToken\",r[r.GreaterThanGreaterThanGreaterThanToken=49]=\"GreaterThanGreaterThanGreaterThanToken\",r[r.AmpersandToken=50]=\"AmpersandToken\",r[r.BarToken=51]=\"BarToken\",r[r.CaretToken=52]=\"CaretToken\",r[r.ExclamationToken=53]=\"ExclamationToken\",r[r.TildeToken=54]=\"TildeToken\",r[r.AmpersandAmpersandToken=55]=\"AmpersandAmpersandToken\",r[r.BarBarToken=56]=\"BarBarToken\",r[r.QuestionToken=57]=\"QuestionToken\",r[r.ColonToken=58]=\"ColonToken\",r[r.AtToken=59]=\"AtToken\",r[r.QuestionQuestionToken=60]=\"QuestionQuestionToken\",r[r.BacktickToken=61]=\"BacktickToken\",r[r.HashToken=62]=\"HashToken\",r[r.EqualsToken=63]=\"EqualsToken\",r[r.PlusEqualsToken=64]=\"PlusEqualsToken\",r[r.MinusEqualsToken=65]=\"MinusEqualsToken\",r[r.AsteriskEqualsToken=66]=\"AsteriskEqualsToken\",r[r.AsteriskAsteriskEqualsToken=67]=\"AsteriskAsteriskEqualsToken\",r[r.SlashEqualsToken=68]=\"SlashEqualsToken\",r[r.PercentEqualsToken=69]=\"PercentEqualsToken\",r[r.LessThanLessThanEqualsToken=70]=\"LessThanLessThanEqualsToken\",r[r.GreaterThanGreaterThanEqualsToken=71]=\"GreaterThanGreaterThanEqualsToken\",r[r.GreaterThanGreaterThanGreaterThanEqualsToken=72]=\"GreaterThanGreaterThanGreaterThanEqualsToken\",r[r.AmpersandEqualsToken=73]=\"AmpersandEqualsToken\",r[r.BarEqualsToken=74]=\"BarEqualsToken\",r[r.BarBarEqualsToken=75]=\"BarBarEqualsToken\",r[r.AmpersandAmpersandEqualsToken=76]=\"AmpersandAmpersandEqualsToken\",r[r.QuestionQuestionEqualsToken=77]=\"QuestionQuestionEqualsToken\",r[r.CaretEqualsToken=78]=\"CaretEqualsToken\",r[r.Identifier=79]=\"Identifier\",r[r.PrivateIdentifier=80]=\"PrivateIdentifier\",r[r.BreakKeyword=81]=\"BreakKeyword\",r[r.CaseKeyword=82]=\"CaseKeyword\",r[r.CatchKeyword=83]=\"CatchKeyword\",r[r.ClassKeyword=84]=\"ClassKeyword\",r[r.ConstKeyword=85]=\"ConstKeyword\",r[r.ContinueKeyword=86]=\"ContinueKeyword\",r[r.DebuggerKeyword=87]=\"DebuggerKeyword\",r[r.DefaultKeyword=88]=\"DefaultKeyword\",r[r.DeleteKeyword=89]=\"DeleteKeyword\",r[r.DoKeyword=90]=\"DoKeyword\",r[r.ElseKeyword=91]=\"ElseKeyword\",r[r.EnumKeyword=92]=\"EnumKeyword\",r[r.ExportKeyword=93]=\"ExportKeyword\",r[r.ExtendsKeyword=94]=\"ExtendsKeyword\",r[r.FalseKeyword=95]=\"FalseKeyword\",r[r.FinallyKeyword=96]=\"FinallyKeyword\",r[r.ForKeyword=97]=\"ForKeyword\",r[r.FunctionKeyword=98]=\"FunctionKeyword\",r[r.IfKeyword=99]=\"IfKeyword\",r[r.ImportKeyword=100]=\"ImportKeyword\",r[r.InKeyword=101]=\"InKeyword\",r[r.InstanceOfKeyword=102]=\"InstanceOfKeyword\",r[r.NewKeyword=103]=\"NewKeyword\",r[r.NullKeyword=104]=\"NullKeyword\",r[r.ReturnKeyword=105]=\"ReturnKeyword\",r[r.SuperKeyword=106]=\"SuperKeyword\",r[r.SwitchKeyword=107]=\"SwitchKeyword\",r[r.ThisKeyword=108]=\"ThisKeyword\",r[r.ThrowKeyword=109]=\"ThrowKeyword\",r[r.TrueKeyword=110]=\"TrueKeyword\",r[r.TryKeyword=111]=\"TryKeyword\",r[r.TypeOfKeyword=112]=\"TypeOfKeyword\",r[r.VarKeyword=113]=\"VarKeyword\",r[r.VoidKeyword=114]=\"VoidKeyword\",r[r.WhileKeyword=115]=\"WhileKeyword\",r[r.WithKeyword=116]=\"WithKeyword\",r[r.ImplementsKeyword=117]=\"ImplementsKeyword\",r[r.InterfaceKeyword=118]=\"InterfaceKeyword\",r[r.LetKeyword=119]=\"LetKeyword\",r[r.PackageKeyword=120]=\"PackageKeyword\",r[r.PrivateKeyword=121]=\"PrivateKeyword\",r[r.ProtectedKeyword=122]=\"ProtectedKeyword\",r[r.PublicKeyword=123]=\"PublicKeyword\",r[r.StaticKeyword=124]=\"StaticKeyword\",r[r.YieldKeyword=125]=\"YieldKeyword\",r[r.AbstractKeyword=126]=\"AbstractKeyword\",r[r.AccessorKeyword=127]=\"AccessorKeyword\",r[r.AsKeyword=128]=\"AsKeyword\",r[r.AssertsKeyword=129]=\"AssertsKeyword\",r[r.AssertKeyword=130]=\"AssertKeyword\",r[r.AnyKeyword=131]=\"AnyKeyword\",r[r.AsyncKeyword=132]=\"AsyncKeyword\",r[r.AwaitKeyword=133]=\"AwaitKeyword\",r[r.BooleanKeyword=134]=\"BooleanKeyword\",r[r.ConstructorKeyword=135]=\"ConstructorKeyword\",r[r.DeclareKeyword=136]=\"DeclareKeyword\",r[r.GetKeyword=137]=\"GetKeyword\",r[r.InferKeyword=138]=\"InferKeyword\",r[r.IntrinsicKeyword=139]=\"IntrinsicKeyword\",r[r.IsKeyword=140]=\"IsKeyword\",r[r.KeyOfKeyword=141]=\"KeyOfKeyword\",r[r.ModuleKeyword=142]=\"ModuleKeyword\",r[r.NamespaceKeyword=143]=\"NamespaceKeyword\",r[r.NeverKeyword=144]=\"NeverKeyword\",r[r.OutKeyword=145]=\"OutKeyword\",r[r.ReadonlyKeyword=146]=\"ReadonlyKeyword\",r[r.RequireKeyword=147]=\"RequireKeyword\",r[r.NumberKeyword=148]=\"NumberKeyword\",r[r.ObjectKeyword=149]=\"ObjectKeyword\",r[r.SatisfiesKeyword=150]=\"SatisfiesKeyword\",r[r.SetKeyword=151]=\"SetKeyword\",r[r.StringKeyword=152]=\"StringKeyword\",r[r.SymbolKeyword=153]=\"SymbolKeyword\",r[r.TypeKeyword=154]=\"TypeKeyword\",r[r.UndefinedKeyword=155]=\"UndefinedKeyword\",r[r.UniqueKeyword=156]=\"UniqueKeyword\",r[r.UnknownKeyword=157]=\"UnknownKeyword\",r[r.FromKeyword=158]=\"FromKeyword\",r[r.GlobalKeyword=159]=\"GlobalKeyword\",r[r.BigIntKeyword=160]=\"BigIntKeyword\",r[r.OverrideKeyword=161]=\"OverrideKeyword\",r[r.OfKeyword=162]=\"OfKeyword\",r[r.QualifiedName=163]=\"QualifiedName\",r[r.ComputedPropertyName=164]=\"ComputedPropertyName\",r[r.TypeParameter=165]=\"TypeParameter\",r[r.Parameter=166]=\"Parameter\",r[r.Decorator=167]=\"Decorator\",r[r.PropertySignature=168]=\"PropertySignature\",r[r.PropertyDeclaration=169]=\"PropertyDeclaration\",r[r.MethodSignature=170]=\"MethodSignature\",r[r.MethodDeclaration=171]=\"MethodDeclaration\",r[r.ClassStaticBlockDeclaration=172]=\"ClassStaticBlockDeclaration\",r[r.Constructor=173]=\"Constructor\",r[r.GetAccessor=174]=\"GetAccessor\",r[r.SetAccessor=175]=\"SetAccessor\",r[r.CallSignature=176]=\"CallSignature\",r[r.ConstructSignature=177]=\"ConstructSignature\",r[r.IndexSignature=178]=\"IndexSignature\",r[r.TypePredicate=179]=\"TypePredicate\",r[r.TypeReference=180]=\"TypeReference\",r[r.FunctionType=181]=\"FunctionType\",r[r.ConstructorType=182]=\"ConstructorType\",r[r.TypeQuery=183]=\"TypeQuery\",r[r.TypeLiteral=184]=\"TypeLiteral\",r[r.ArrayType=185]=\"ArrayType\",r[r.TupleType=186]=\"TupleType\",r[r.OptionalType=187]=\"OptionalType\",r[r.RestType=188]=\"RestType\",r[r.UnionType=189]=\"UnionType\",r[r.IntersectionType=190]=\"IntersectionType\",r[r.ConditionalType=191]=\"ConditionalType\",r[r.InferType=192]=\"InferType\",r[r.ParenthesizedType=193]=\"ParenthesizedType\",r[r.ThisType=194]=\"ThisType\",r[r.TypeOperator=195]=\"TypeOperator\",r[r.IndexedAccessType=196]=\"IndexedAccessType\",r[r.MappedType=197]=\"MappedType\",r[r.LiteralType=198]=\"LiteralType\",r[r.NamedTupleMember=199]=\"NamedTupleMember\",r[r.TemplateLiteralType=200]=\"TemplateLiteralType\",r[r.TemplateLiteralTypeSpan=201]=\"TemplateLiteralTypeSpan\",r[r.ImportType=202]=\"ImportType\",r[r.ObjectBindingPattern=203]=\"ObjectBindingPattern\",r[r.ArrayBindingPattern=204]=\"ArrayBindingPattern\",r[r.BindingElement=205]=\"BindingElement\",r[r.ArrayLiteralExpression=206]=\"ArrayLiteralExpression\",r[r.ObjectLiteralExpression=207]=\"ObjectLiteralExpression\",r[r.PropertyAccessExpression=208]=\"PropertyAccessExpression\",r[r.ElementAccessExpression=209]=\"ElementAccessExpression\",r[r.CallExpression=210]=\"CallExpression\",r[r.NewExpression=211]=\"NewExpression\",r[r.TaggedTemplateExpression=212]=\"TaggedTemplateExpression\",r[r.TypeAssertionExpression=213]=\"TypeAssertionExpression\",r[r.ParenthesizedExpression=214]=\"ParenthesizedExpression\",r[r.FunctionExpression=215]=\"FunctionExpression\",r[r.ArrowFunction=216]=\"ArrowFunction\",r[r.DeleteExpression=217]=\"DeleteExpression\",r[r.TypeOfExpression=218]=\"TypeOfExpression\",r[r.VoidExpression=219]=\"VoidExpression\",r[r.AwaitExpression=220]=\"AwaitExpression\",r[r.PrefixUnaryExpression=221]=\"PrefixUnaryExpression\",r[r.PostfixUnaryExpression=222]=\"PostfixUnaryExpression\",r[r.BinaryExpression=223]=\"BinaryExpression\",r[r.ConditionalExpression=224]=\"ConditionalExpression\",r[r.TemplateExpression=225]=\"TemplateExpression\",r[r.YieldExpression=226]=\"YieldExpression\",r[r.SpreadElement=227]=\"SpreadElement\",r[r.ClassExpression=228]=\"ClassExpression\",r[r.OmittedExpression=229]=\"OmittedExpression\",r[r.ExpressionWithTypeArguments=230]=\"ExpressionWithTypeArguments\",r[r.AsExpression=231]=\"AsExpression\",r[r.NonNullExpression=232]=\"NonNullExpression\",r[r.MetaProperty=233]=\"MetaProperty\",r[r.SyntheticExpression=234]=\"SyntheticExpression\",r[r.SatisfiesExpression=235]=\"SatisfiesExpression\",r[r.TemplateSpan=236]=\"TemplateSpan\",r[r.SemicolonClassElement=237]=\"SemicolonClassElement\",r[r.Block=238]=\"Block\",r[r.EmptyStatement=239]=\"EmptyStatement\",r[r.VariableStatement=240]=\"VariableStatement\",r[r.ExpressionStatement=241]=\"ExpressionStatement\",r[r.IfStatement=242]=\"IfStatement\",r[r.DoStatement=243]=\"DoStatement\",r[r.WhileStatement=244]=\"WhileStatement\",r[r.ForStatement=245]=\"ForStatement\",r[r.ForInStatement=246]=\"ForInStatement\",r[r.ForOfStatement=247]=\"ForOfStatement\",r[r.ContinueStatement=248]=\"ContinueStatement\",r[r.BreakStatement=249]=\"BreakStatement\",r[r.ReturnStatement=250]=\"ReturnStatement\",r[r.WithStatement=251]=\"WithStatement\",r[r.SwitchStatement=252]=\"SwitchStatement\",r[r.LabeledStatement=253]=\"LabeledStatement\",r[r.ThrowStatement=254]=\"ThrowStatement\",r[r.TryStatement=255]=\"TryStatement\",r[r.DebuggerStatement=256]=\"DebuggerStatement\",r[r.VariableDeclaration=257]=\"VariableDeclaration\",r[r.VariableDeclarationList=258]=\"VariableDeclarationList\",r[r.FunctionDeclaration=259]=\"FunctionDeclaration\",r[r.ClassDeclaration=260]=\"ClassDeclaration\",r[r.InterfaceDeclaration=261]=\"InterfaceDeclaration\",r[r.TypeAliasDeclaration=262]=\"TypeAliasDeclaration\",r[r.EnumDeclaration=263]=\"EnumDeclaration\",r[r.ModuleDeclaration=264]=\"ModuleDeclaration\",r[r.ModuleBlock=265]=\"ModuleBlock\",r[r.CaseBlock=266]=\"CaseBlock\",r[r.NamespaceExportDeclaration=267]=\"NamespaceExportDeclaration\",r[r.ImportEqualsDeclaration=268]=\"ImportEqualsDeclaration\",r[r.ImportDeclaration=269]=\"ImportDeclaration\",r[r.ImportClause=270]=\"ImportClause\",r[r.NamespaceImport=271]=\"NamespaceImport\",r[r.NamedImports=272]=\"NamedImports\",r[r.ImportSpecifier=273]=\"ImportSpecifier\",r[r.ExportAssignment=274]=\"ExportAssignment\",r[r.ExportDeclaration=275]=\"ExportDeclaration\",r[r.NamedExports=276]=\"NamedExports\",r[r.NamespaceExport=277]=\"NamespaceExport\",r[r.ExportSpecifier=278]=\"ExportSpecifier\",r[r.MissingDeclaration=279]=\"MissingDeclaration\",r[r.ExternalModuleReference=280]=\"ExternalModuleReference\",r[r.JsxElement=281]=\"JsxElement\",r[r.JsxSelfClosingElement=282]=\"JsxSelfClosingElement\",r[r.JsxOpeningElement=283]=\"JsxOpeningElement\",r[r.JsxClosingElement=284]=\"JsxClosingElement\",r[r.JsxFragment=285]=\"JsxFragment\",r[r.JsxOpeningFragment=286]=\"JsxOpeningFragment\",r[r.JsxClosingFragment=287]=\"JsxClosingFragment\",r[r.JsxAttribute=288]=\"JsxAttribute\",r[r.JsxAttributes=289]=\"JsxAttributes\",r[r.JsxSpreadAttribute=290]=\"JsxSpreadAttribute\",r[r.JsxExpression=291]=\"JsxExpression\",r[r.CaseClause=292]=\"CaseClause\",r[r.DefaultClause=293]=\"DefaultClause\",r[r.HeritageClause=294]=\"HeritageClause\",r[r.CatchClause=295]=\"CatchClause\",r[r.AssertClause=296]=\"AssertClause\",r[r.AssertEntry=297]=\"AssertEntry\",r[r.ImportTypeAssertionContainer=298]=\"ImportTypeAssertionContainer\",r[r.PropertyAssignment=299]=\"PropertyAssignment\",r[r.ShorthandPropertyAssignment=300]=\"ShorthandPropertyAssignment\",r[r.SpreadAssignment=301]=\"SpreadAssignment\",r[r.EnumMember=302]=\"EnumMember\",r[r.UnparsedPrologue=303]=\"UnparsedPrologue\",r[r.UnparsedPrepend=304]=\"UnparsedPrepend\",r[r.UnparsedText=305]=\"UnparsedText\",r[r.UnparsedInternalText=306]=\"UnparsedInternalText\",r[r.UnparsedSyntheticReference=307]=\"UnparsedSyntheticReference\",r[r.SourceFile=308]=\"SourceFile\",r[r.Bundle=309]=\"Bundle\",r[r.UnparsedSource=310]=\"UnparsedSource\",r[r.InputFiles=311]=\"InputFiles\",r[r.JSDocTypeExpression=312]=\"JSDocTypeExpression\",r[r.JSDocNameReference=313]=\"JSDocNameReference\",r[r.JSDocMemberName=314]=\"JSDocMemberName\",r[r.JSDocAllType=315]=\"JSDocAllType\",r[r.JSDocUnknownType=316]=\"JSDocUnknownType\",r[r.JSDocNullableType=317]=\"JSDocNullableType\",r[r.JSDocNonNullableType=318]=\"JSDocNonNullableType\",r[r.JSDocOptionalType=319]=\"JSDocOptionalType\",r[r.JSDocFunctionType=320]=\"JSDocFunctionType\",r[r.JSDocVariadicType=321]=\"JSDocVariadicType\",r[r.JSDocNamepathType=322]=\"JSDocNamepathType\",r[r.JSDoc=323]=\"JSDoc\",r[r.JSDocComment=323]=\"JSDocComment\",r[r.JSDocText=324]=\"JSDocText\",r[r.JSDocTypeLiteral=325]=\"JSDocTypeLiteral\",r[r.JSDocSignature=326]=\"JSDocSignature\",r[r.JSDocLink=327]=\"JSDocLink\",r[r.JSDocLinkCode=328]=\"JSDocLinkCode\",r[r.JSDocLinkPlain=329]=\"JSDocLinkPlain\",r[r.JSDocTag=330]=\"JSDocTag\",r[r.JSDocAugmentsTag=331]=\"JSDocAugmentsTag\",r[r.JSDocImplementsTag=332]=\"JSDocImplementsTag\",r[r.JSDocAuthorTag=333]=\"JSDocAuthorTag\",r[r.JSDocDeprecatedTag=334]=\"JSDocDeprecatedTag\",r[r.JSDocClassTag=335]=\"JSDocClassTag\",r[r.JSDocPublicTag=336]=\"JSDocPublicTag\",r[r.JSDocPrivateTag=337]=\"JSDocPrivateTag\",r[r.JSDocProtectedTag=338]=\"JSDocProtectedTag\",r[r.JSDocReadonlyTag=339]=\"JSDocReadonlyTag\",r[r.JSDocOverrideTag=340]=\"JSDocOverrideTag\",r[r.JSDocCallbackTag=341]=\"JSDocCallbackTag\",r[r.JSDocOverloadTag=342]=\"JSDocOverloadTag\",r[r.JSDocEnumTag=343]=\"JSDocEnumTag\",r[r.JSDocParameterTag=344]=\"JSDocParameterTag\",r[r.JSDocReturnTag=345]=\"JSDocReturnTag\",r[r.JSDocThisTag=346]=\"JSDocThisTag\",r[r.JSDocTypeTag=347]=\"JSDocTypeTag\",r[r.JSDocTemplateTag=348]=\"JSDocTemplateTag\",r[r.JSDocTypedefTag=349]=\"JSDocTypedefTag\",r[r.JSDocSeeTag=350]=\"JSDocSeeTag\",r[r.JSDocPropertyTag=351]=\"JSDocPropertyTag\",r[r.JSDocThrowsTag=352]=\"JSDocThrowsTag\",r[r.JSDocSatisfiesTag=353]=\"JSDocSatisfiesTag\",r[r.SyntaxList=354]=\"SyntaxList\",r[r.NotEmittedStatement=355]=\"NotEmittedStatement\",r[r.PartiallyEmittedExpression=356]=\"PartiallyEmittedExpression\",r[r.CommaListExpression=357]=\"CommaListExpression\",r[r.MergeDeclarationMarker=358]=\"MergeDeclarationMarker\",r[r.EndOfDeclarationMarker=359]=\"EndOfDeclarationMarker\",r[r.SyntheticReferenceExpression=360]=\"SyntheticReferenceExpression\",r[r.Count=361]=\"Count\",r[r.FirstAssignment=63]=\"FirstAssignment\",r[r.LastAssignment=78]=\"LastAssignment\",r[r.FirstCompoundAssignment=64]=\"FirstCompoundAssignment\",r[r.LastCompoundAssignment=78]=\"LastCompoundAssignment\",r[r.FirstReservedWord=81]=\"FirstReservedWord\",r[r.LastReservedWord=116]=\"LastReservedWord\",r[r.FirstKeyword=81]=\"FirstKeyword\",r[r.LastKeyword=162]=\"LastKeyword\",r[r.FirstFutureReservedWord=117]=\"FirstFutureReservedWord\",r[r.LastFutureReservedWord=125]=\"LastFutureReservedWord\",r[r.FirstTypeNode=179]=\"FirstTypeNode\",r[r.LastTypeNode=202]=\"LastTypeNode\",r[r.FirstPunctuation=18]=\"FirstPunctuation\",r[r.LastPunctuation=78]=\"LastPunctuation\",r[r.FirstToken=0]=\"FirstToken\",r[r.LastToken=162]=\"LastToken\",r[r.FirstTriviaToken=2]=\"FirstTriviaToken\",r[r.LastTriviaToken=7]=\"LastTriviaToken\",r[r.FirstLiteralToken=8]=\"FirstLiteralToken\",r[r.LastLiteralToken=14]=\"LastLiteralToken\",r[r.FirstTemplateToken=14]=\"FirstTemplateToken\",r[r.LastTemplateToken=17]=\"LastTemplateToken\",r[r.FirstBinaryOperator=29]=\"FirstBinaryOperator\",r[r.LastBinaryOperator=78]=\"LastBinaryOperator\",r[r.FirstStatement=240]=\"FirstStatement\",r[r.LastStatement=256]=\"LastStatement\",r[r.FirstNode=163]=\"FirstNode\",r[r.FirstJSDocNode=312]=\"FirstJSDocNode\",r[r.LastJSDocNode=353]=\"LastJSDocNode\",r[r.FirstJSDocTagNode=330]=\"FirstJSDocTagNode\",r[r.LastJSDocTagNode=353]=\"LastJSDocTagNode\",r[r.FirstContextualKeyword=126]=\"FirstContextualKeyword\",r[r.LastContextualKeyword=162]=\"LastContextualKeyword\",r))(pr||{}),yo=(r=>(r[r.None=0]=\"None\",r[r.Let=1]=\"Let\",r[r.Const=2]=\"Const\",r[r.NestedNamespace=4]=\"NestedNamespace\",r[r.Synthesized=8]=\"Synthesized\",r[r.Namespace=16]=\"Namespace\",r[r.OptionalChain=32]=\"OptionalChain\",r[r.ExportContext=64]=\"ExportContext\",r[r.ContainsThis=128]=\"ContainsThis\",r[r.HasImplicitReturn=256]=\"HasImplicitReturn\",r[r.HasExplicitReturn=512]=\"HasExplicitReturn\",r[r.GlobalAugmentation=1024]=\"GlobalAugmentation\",r[r.HasAsyncFunctions=2048]=\"HasAsyncFunctions\",r[r.DisallowInContext=4096]=\"DisallowInContext\",r[r.YieldContext=8192]=\"YieldContext\",r[r.DecoratorContext=16384]=\"DecoratorContext\",r[r.AwaitContext=32768]=\"AwaitContext\",r[r.DisallowConditionalTypesContext=65536]=\"DisallowConditionalTypesContext\",r[r.ThisNodeHasError=131072]=\"ThisNodeHasError\",r[r.JavaScriptFile=262144]=\"JavaScriptFile\",r[r.ThisNodeOrAnySubNodesHasError=524288]=\"ThisNodeOrAnySubNodesHasError\",r[r.HasAggregatedChildData=1048576]=\"HasAggregatedChildData\",r[r.PossiblyContainsDynamicImport=2097152]=\"PossiblyContainsDynamicImport\",r[r.PossiblyContainsImportMeta=4194304]=\"PossiblyContainsImportMeta\",r[r.JSDoc=8388608]=\"JSDoc\",r[r.Ambient=16777216]=\"Ambient\",r[r.InWithStatement=33554432]=\"InWithStatement\",r[r.JsonFile=67108864]=\"JsonFile\",r[r.TypeCached=134217728]=\"TypeCached\",r[r.Deprecated=268435456]=\"Deprecated\",r[r.BlockScoped=3]=\"BlockScoped\",r[r.ReachabilityCheckFlags=768]=\"ReachabilityCheckFlags\",r[r.ReachabilityAndEmitFlags=2816]=\"ReachabilityAndEmitFlags\",r[r.ContextFlags=50720768]=\"ContextFlags\",r[r.TypeExcludesFlags=40960]=\"TypeExcludesFlags\",r[r.PermanentlySetIncrementalFlags=6291456]=\"PermanentlySetIncrementalFlags\",r[r.IdentifierHasExtendedUnicodeEscape=128]=\"IdentifierHasExtendedUnicodeEscape\",r[r.IdentifierIsInJSDocNamespace=2048]=\"IdentifierIsInJSDocNamespace\",r))(yo||{}),Gs=(r=>(r[r.None=0]=\"None\",r[r.Export=1]=\"Export\",r[r.Ambient=2]=\"Ambient\",r[r.Public=4]=\"Public\",r[r.Private=8]=\"Private\",r[r.Protected=16]=\"Protected\",r[r.Static=32]=\"Static\",r[r.Readonly=64]=\"Readonly\",r[r.Accessor=128]=\"Accessor\",r[r.Abstract=256]=\"Abstract\",r[r.Async=512]=\"Async\",r[r.Default=1024]=\"Default\",r[r.Const=2048]=\"Const\",r[r.HasComputedJSDocModifiers=4096]=\"HasComputedJSDocModifiers\",r[r.Deprecated=8192]=\"Deprecated\",r[r.Override=16384]=\"Override\",r[r.In=32768]=\"In\",r[r.Out=65536]=\"Out\",r[r.Decorator=131072]=\"Decorator\",r[r.HasComputedFlags=536870912]=\"HasComputedFlags\",r[r.AccessibilityModifier=28]=\"AccessibilityModifier\",r[r.ParameterPropertyModifier=16476]=\"ParameterPropertyModifier\",r[r.NonPublicAccessibilityModifier=24]=\"NonPublicAccessibilityModifier\",r[r.TypeScriptModifier=117086]=\"TypeScriptModifier\",r[r.ExportDefault=1025]=\"ExportDefault\",r[r.All=258047]=\"All\",r[r.Modifier=126975]=\"Modifier\",r))(Gs||{}),Er=(r=>(r[r.None=0]=\"None\",r[r.IntrinsicNamedElement=1]=\"IntrinsicNamedElement\",r[r.IntrinsicIndexedElement=2]=\"IntrinsicIndexedElement\",r[r.IntrinsicElement=3]=\"IntrinsicElement\",r))(Er||{}),Ne=(r=>(r[r.Succeeded=1]=\"Succeeded\",r[r.Failed=2]=\"Failed\",r[r.Reported=4]=\"Reported\",r[r.ReportsUnmeasurable=8]=\"ReportsUnmeasurable\",r[r.ReportsUnreliable=16]=\"ReportsUnreliable\",r[r.ReportsMask=24]=\"ReportsMask\",r))(Ne||{}),Vn=(r=>(r[r.None=0]=\"None\",r[r.Auto=1]=\"Auto\",r[r.Loop=2]=\"Loop\",r[r.Unique=3]=\"Unique\",r[r.Node=4]=\"Node\",r[r.KindMask=7]=\"KindMask\",r[r.ReservedInNestedScopes=8]=\"ReservedInNestedScopes\",r[r.Optimistic=16]=\"Optimistic\",r[r.FileLevel=32]=\"FileLevel\",r[r.AllowNameSubstitution=64]=\"AllowNameSubstitution\",r))(Vn||{}),er=(r=>(r[r.None=0]=\"None\",r[r.PrecedingLineBreak=1]=\"PrecedingLineBreak\",r[r.PrecedingJSDocComment=2]=\"PrecedingJSDocComment\",r[r.Unterminated=4]=\"Unterminated\",r[r.ExtendedUnicodeEscape=8]=\"ExtendedUnicodeEscape\",r[r.Scientific=16]=\"Scientific\",r[r.Octal=32]=\"Octal\",r[r.HexSpecifier=64]=\"HexSpecifier\",r[r.BinarySpecifier=128]=\"BinarySpecifier\",r[r.OctalSpecifier=256]=\"OctalSpecifier\",r[r.ContainsSeparator=512]=\"ContainsSeparator\",r[r.UnicodeEscape=1024]=\"UnicodeEscape\",r[r.ContainsInvalidEscape=2048]=\"ContainsInvalidEscape\",r[r.BinaryOrOctalSpecifier=384]=\"BinaryOrOctalSpecifier\",r[r.NumericLiteralFlags=1008]=\"NumericLiteralFlags\",r[r.TemplateLiteralLikeFlags=2048]=\"TemplateLiteralLikeFlags\",r))(er||{}),_s=(r=>(r[r.Unreachable=1]=\"Unreachable\",r[r.Start=2]=\"Start\",r[r.BranchLabel=4]=\"BranchLabel\",r[r.LoopLabel=8]=\"LoopLabel\",r[r.Assignment=16]=\"Assignment\",r[r.TrueCondition=32]=\"TrueCondition\",r[r.FalseCondition=64]=\"FalseCondition\",r[r.SwitchClause=128]=\"SwitchClause\",r[r.ArrayMutation=256]=\"ArrayMutation\",r[r.Call=512]=\"Call\",r[r.ReduceLabel=1024]=\"ReduceLabel\",r[r.Referenced=2048]=\"Referenced\",r[r.Shared=4096]=\"Shared\",r[r.Label=12]=\"Label\",r[r.Condition=96]=\"Condition\",r))(_s||{}),js=(r=>(r[r.ExpectError=0]=\"ExpectError\",r[r.Ignore=1]=\"Ignore\",r))(js||{}),qo=class{},Ts=(r=>(r[r.RootFile=0]=\"RootFile\",r[r.SourceFromProjectReference=1]=\"SourceFromProjectReference\",r[r.OutputFromProjectReference=2]=\"OutputFromProjectReference\",r[r.Import=3]=\"Import\",r[r.ReferenceFile=4]=\"ReferenceFile\",r[r.TypeReferenceDirective=5]=\"TypeReferenceDirective\",r[r.LibFile=6]=\"LibFile\",r[r.LibReferenceDirective=7]=\"LibReferenceDirective\",r[r.AutomaticTypeDirectiveFile=8]=\"AutomaticTypeDirectiveFile\",r))(Ts||{}),Dc=(r=>(r[r.FilePreprocessingReferencedDiagnostic=0]=\"FilePreprocessingReferencedDiagnostic\",r[r.FilePreprocessingFileExplainingDiagnostic=1]=\"FilePreprocessingFileExplainingDiagnostic\",r[r.ResolutionDiagnostics=2]=\"ResolutionDiagnostics\",r))(Dc||{}),No=(r=>(r[r.Js=0]=\"Js\",r[r.Dts=1]=\"Dts\",r))(No||{}),dc=(r=>(r[r.Not=0]=\"Not\",r[r.SafeModules=1]=\"SafeModules\",r[r.Completely=2]=\"Completely\",r))(dc||{}),To=(r=>(r[r.Success=0]=\"Success\",r[r.DiagnosticsPresent_OutputsSkipped=1]=\"DiagnosticsPresent_OutputsSkipped\",r[r.DiagnosticsPresent_OutputsGenerated=2]=\"DiagnosticsPresent_OutputsGenerated\",r[r.InvalidProject_OutputsSkipped=3]=\"InvalidProject_OutputsSkipped\",r[r.ProjectReferenceCycle_OutputsSkipped=4]=\"ProjectReferenceCycle_OutputsSkipped\",r))(To||{}),Va=(r=>(r[r.Ok=0]=\"Ok\",r[r.NeedsOverride=1]=\"NeedsOverride\",r[r.HasInvalidOverride=2]=\"HasInvalidOverride\",r))(Va||{}),ol=(r=>(r[r.None=0]=\"None\",r[r.Literal=1]=\"Literal\",r[r.Subtype=2]=\"Subtype\",r))(ol||{}),Lu=(r=>(r[r.None=0]=\"None\",r[r.Signature=1]=\"Signature\",r[r.NoConstraints=2]=\"NoConstraints\",r[r.Completions=4]=\"Completions\",r[r.SkipBindingPatterns=8]=\"SkipBindingPatterns\",r))(Lu||{}),Bo=(r=>(r[r.None=0]=\"None\",r[r.NoTruncation=1]=\"NoTruncation\",r[r.WriteArrayAsGenericType=2]=\"WriteArrayAsGenericType\",r[r.GenerateNamesForShadowedTypeParams=4]=\"GenerateNamesForShadowedTypeParams\",r[r.UseStructuralFallback=8]=\"UseStructuralFallback\",r[r.ForbidIndexedAccessSymbolReferences=16]=\"ForbidIndexedAccessSymbolReferences\",r[r.WriteTypeArgumentsOfSignature=32]=\"WriteTypeArgumentsOfSignature\",r[r.UseFullyQualifiedType=64]=\"UseFullyQualifiedType\",r[r.UseOnlyExternalAliasing=128]=\"UseOnlyExternalAliasing\",r[r.SuppressAnyReturnType=256]=\"SuppressAnyReturnType\",r[r.WriteTypeParametersInQualifiedName=512]=\"WriteTypeParametersInQualifiedName\",r[r.MultilineObjectLiterals=1024]=\"MultilineObjectLiterals\",r[r.WriteClassExpressionAsTypeLiteral=2048]=\"WriteClassExpressionAsTypeLiteral\",r[r.UseTypeOfFunction=4096]=\"UseTypeOfFunction\",r[r.OmitParameterModifiers=8192]=\"OmitParameterModifiers\",r[r.UseAliasDefinedOutsideCurrentScope=16384]=\"UseAliasDefinedOutsideCurrentScope\",r[r.UseSingleQuotesForStringLiteralType=268435456]=\"UseSingleQuotesForStringLiteralType\",r[r.NoTypeReduction=536870912]=\"NoTypeReduction\",r[r.OmitThisParameter=33554432]=\"OmitThisParameter\",r[r.AllowThisInObjectLiteral=32768]=\"AllowThisInObjectLiteral\",r[r.AllowQualifiedNameInPlaceOfIdentifier=65536]=\"AllowQualifiedNameInPlaceOfIdentifier\",r[r.AllowAnonymousIdentifier=131072]=\"AllowAnonymousIdentifier\",r[r.AllowEmptyUnionOrIntersection=262144]=\"AllowEmptyUnionOrIntersection\",r[r.AllowEmptyTuple=524288]=\"AllowEmptyTuple\",r[r.AllowUniqueESSymbolType=1048576]=\"AllowUniqueESSymbolType\",r[r.AllowEmptyIndexInfoType=2097152]=\"AllowEmptyIndexInfoType\",r[r.WriteComputedProps=1073741824]=\"WriteComputedProps\",r[r.AllowNodeModulesRelativePaths=67108864]=\"AllowNodeModulesRelativePaths\",r[r.DoNotIncludeSymbolChain=134217728]=\"DoNotIncludeSymbolChain\",r[r.IgnoreErrors=70221824]=\"IgnoreErrors\",r[r.InObjectTypeLiteral=4194304]=\"InObjectTypeLiteral\",r[r.InTypeAlias=8388608]=\"InTypeAlias\",r[r.InInitialEntityName=16777216]=\"InInitialEntityName\",r))(Bo||{}),il=(r=>(r[r.None=0]=\"None\",r[r.NoTruncation=1]=\"NoTruncation\",r[r.WriteArrayAsGenericType=2]=\"WriteArrayAsGenericType\",r[r.UseStructuralFallback=8]=\"UseStructuralFallback\",r[r.WriteTypeArgumentsOfSignature=32]=\"WriteTypeArgumentsOfSignature\",r[r.UseFullyQualifiedType=64]=\"UseFullyQualifiedType\",r[r.SuppressAnyReturnType=256]=\"SuppressAnyReturnType\",r[r.MultilineObjectLiterals=1024]=\"MultilineObjectLiterals\",r[r.WriteClassExpressionAsTypeLiteral=2048]=\"WriteClassExpressionAsTypeLiteral\",r[r.UseTypeOfFunction=4096]=\"UseTypeOfFunction\",r[r.OmitParameterModifiers=8192]=\"OmitParameterModifiers\",r[r.UseAliasDefinedOutsideCurrentScope=16384]=\"UseAliasDefinedOutsideCurrentScope\",r[r.UseSingleQuotesForStringLiteralType=268435456]=\"UseSingleQuotesForStringLiteralType\",r[r.NoTypeReduction=536870912]=\"NoTypeReduction\",r[r.OmitThisParameter=33554432]=\"OmitThisParameter\",r[r.AllowUniqueESSymbolType=1048576]=\"AllowUniqueESSymbolType\",r[r.AddUndefined=131072]=\"AddUndefined\",r[r.WriteArrowStyleSignature=262144]=\"WriteArrowStyleSignature\",r[r.InArrayType=524288]=\"InArrayType\",r[r.InElementType=2097152]=\"InElementType\",r[r.InFirstTypeArgument=4194304]=\"InFirstTypeArgument\",r[r.InTypeAlias=8388608]=\"InTypeAlias\",r[r.NodeBuilderFlagsMask=848330091]=\"NodeBuilderFlagsMask\",r))(il||{}),Ua=(r=>(r[r.None=0]=\"None\",r[r.WriteTypeParametersOrArguments=1]=\"WriteTypeParametersOrArguments\",r[r.UseOnlyExternalAliasing=2]=\"UseOnlyExternalAliasing\",r[r.AllowAnyNodeKind=4]=\"AllowAnyNodeKind\",r[r.UseAliasDefinedOutsideCurrentScope=8]=\"UseAliasDefinedOutsideCurrentScope\",r[r.WriteComputedProps=16]=\"WriteComputedProps\",r[r.DoNotIncludeSymbolChain=32]=\"DoNotIncludeSymbolChain\",r))(Ua||{}),cr=(r=>(r[r.Accessible=0]=\"Accessible\",r[r.NotAccessible=1]=\"NotAccessible\",r[r.CannotBeNamed=2]=\"CannotBeNamed\",r))(cr||{}),qp=(r=>(r[r.UnionOrIntersection=0]=\"UnionOrIntersection\",r[r.Spread=1]=\"Spread\",r))(qp||{}),uh=(r=>(r[r.This=0]=\"This\",r[r.Identifier=1]=\"Identifier\",r[r.AssertsThis=2]=\"AssertsThis\",r[r.AssertsIdentifier=3]=\"AssertsIdentifier\",r))(uh||{}),Il=(r=>(r[r.Unknown=0]=\"Unknown\",r[r.TypeWithConstructSignatureAndValue=1]=\"TypeWithConstructSignatureAndValue\",r[r.VoidNullableOrNeverType=2]=\"VoidNullableOrNeverType\",r[r.NumberLikeType=3]=\"NumberLikeType\",r[r.BigIntLikeType=4]=\"BigIntLikeType\",r[r.StringLikeType=5]=\"StringLikeType\",r[r.BooleanType=6]=\"BooleanType\",r[r.ArrayLikeType=7]=\"ArrayLikeType\",r[r.ESSymbolType=8]=\"ESSymbolType\",r[r.Promise=9]=\"Promise\",r[r.TypeWithCallSignature=10]=\"TypeWithCallSignature\",r[r.ObjectType=11]=\"ObjectType\",r))(Il||{}),Fl=(r=>(r[r.None=0]=\"None\",r[r.FunctionScopedVariable=1]=\"FunctionScopedVariable\",r[r.BlockScopedVariable=2]=\"BlockScopedVariable\",r[r.Property=4]=\"Property\",r[r.EnumMember=8]=\"EnumMember\",r[r.Function=16]=\"Function\",r[r.Class=32]=\"Class\",r[r.Interface=64]=\"Interface\",r[r.ConstEnum=128]=\"ConstEnum\",r[r.RegularEnum=256]=\"RegularEnum\",r[r.ValueModule=512]=\"ValueModule\",r[r.NamespaceModule=1024]=\"NamespaceModule\",r[r.TypeLiteral=2048]=\"TypeLiteral\",r[r.ObjectLiteral=4096]=\"ObjectLiteral\",r[r.Method=8192]=\"Method\",r[r.Constructor=16384]=\"Constructor\",r[r.GetAccessor=32768]=\"GetAccessor\",r[r.SetAccessor=65536]=\"SetAccessor\",r[r.Signature=131072]=\"Signature\",r[r.TypeParameter=262144]=\"TypeParameter\",r[r.TypeAlias=524288]=\"TypeAlias\",r[r.ExportValue=1048576]=\"ExportValue\",r[r.Alias=2097152]=\"Alias\",r[r.Prototype=4194304]=\"Prototype\",r[r.ExportStar=8388608]=\"ExportStar\",r[r.Optional=16777216]=\"Optional\",r[r.Transient=33554432]=\"Transient\",r[r.Assignment=67108864]=\"Assignment\",r[r.ModuleExports=134217728]=\"ModuleExports\",r[r.All=67108863]=\"All\",r[r.Enum=384]=\"Enum\",r[r.Variable=3]=\"Variable\",r[r.Value=111551]=\"Value\",r[r.Type=788968]=\"Type\",r[r.Namespace=1920]=\"Namespace\",r[r.Module=1536]=\"Module\",r[r.Accessor=98304]=\"Accessor\",r[r.FunctionScopedVariableExcludes=111550]=\"FunctionScopedVariableExcludes\",r[r.BlockScopedVariableExcludes=111551]=\"BlockScopedVariableExcludes\",r[r.ParameterExcludes=111551]=\"ParameterExcludes\",r[r.PropertyExcludes=0]=\"PropertyExcludes\",r[r.EnumMemberExcludes=900095]=\"EnumMemberExcludes\",r[r.FunctionExcludes=110991]=\"FunctionExcludes\",r[r.ClassExcludes=899503]=\"ClassExcludes\",r[r.InterfaceExcludes=788872]=\"InterfaceExcludes\",r[r.RegularEnumExcludes=899327]=\"RegularEnumExcludes\",r[r.ConstEnumExcludes=899967]=\"ConstEnumExcludes\",r[r.ValueModuleExcludes=110735]=\"ValueModuleExcludes\",r[r.NamespaceModuleExcludes=0]=\"NamespaceModuleExcludes\",r[r.MethodExcludes=103359]=\"MethodExcludes\",r[r.GetAccessorExcludes=46015]=\"GetAccessorExcludes\",r[r.SetAccessorExcludes=78783]=\"SetAccessorExcludes\",r[r.AccessorExcludes=13247]=\"AccessorExcludes\",r[r.TypeParameterExcludes=526824]=\"TypeParameterExcludes\",r[r.TypeAliasExcludes=788968]=\"TypeAliasExcludes\",r[r.AliasExcludes=2097152]=\"AliasExcludes\",r[r.ModuleMember=2623475]=\"ModuleMember\",r[r.ExportHasLocal=944]=\"ExportHasLocal\",r[r.BlockScoped=418]=\"BlockScoped\",r[r.PropertyOrAccessor=98308]=\"PropertyOrAccessor\",r[r.ClassMember=106500]=\"ClassMember\",r[r.ExportSupportsDefaultModifier=112]=\"ExportSupportsDefaultModifier\",r[r.ExportDoesNotSupportDefaultModifier=-113]=\"ExportDoesNotSupportDefaultModifier\",r[r.Classifiable=2885600]=\"Classifiable\",r[r.LateBindingContainer=6256]=\"LateBindingContainer\",r))(Fl||{}),ju=(r=>(r[r.Numeric=0]=\"Numeric\",r[r.Literal=1]=\"Literal\",r))(ju||{}),Gp=(r=>(r[r.None=0]=\"None\",r[r.Instantiated=1]=\"Instantiated\",r[r.SyntheticProperty=2]=\"SyntheticProperty\",r[r.SyntheticMethod=4]=\"SyntheticMethod\",r[r.Readonly=8]=\"Readonly\",r[r.ReadPartial=16]=\"ReadPartial\",r[r.WritePartial=32]=\"WritePartial\",r[r.HasNonUniformType=64]=\"HasNonUniformType\",r[r.HasLiteralType=128]=\"HasLiteralType\",r[r.ContainsPublic=256]=\"ContainsPublic\",r[r.ContainsProtected=512]=\"ContainsProtected\",r[r.ContainsPrivate=1024]=\"ContainsPrivate\",r[r.ContainsStatic=2048]=\"ContainsStatic\",r[r.Late=4096]=\"Late\",r[r.ReverseMapped=8192]=\"ReverseMapped\",r[r.OptionalParameter=16384]=\"OptionalParameter\",r[r.RestParameter=32768]=\"RestParameter\",r[r.DeferredType=65536]=\"DeferredType\",r[r.HasNeverType=131072]=\"HasNeverType\",r[r.Mapped=262144]=\"Mapped\",r[r.StripOptional=524288]=\"StripOptional\",r[r.Unresolved=1048576]=\"Unresolved\",r[r.Synthetic=6]=\"Synthetic\",r[r.Discriminant=192]=\"Discriminant\",r[r.Partial=48]=\"Partial\",r))(Gp||{}),Mt=(r=>(r.Call=\"__call\",r.Constructor=\"__constructor\",r.New=\"__new\",r.Index=\"__index\",r.ExportStar=\"__export\",r.Global=\"__global\",r.Missing=\"__missing\",r.Type=\"__type\",r.Object=\"__object\",r.JSXAttributes=\"__jsxAttributes\",r.Class=\"__class\",r.Function=\"__function\",r.Computed=\"__computed\",r.Resolving=\"__resolving__\",r.ExportEquals=\"export=\",r.Default=\"default\",r.This=\"this\",r))(Mt||{}),Pr=(r=>(r[r.None=0]=\"None\",r[r.TypeChecked=1]=\"TypeChecked\",r[r.LexicalThis=2]=\"LexicalThis\",r[r.CaptureThis=4]=\"CaptureThis\",r[r.CaptureNewTarget=8]=\"CaptureNewTarget\",r[r.SuperInstance=16]=\"SuperInstance\",r[r.SuperStatic=32]=\"SuperStatic\",r[r.ContextChecked=64]=\"ContextChecked\",r[r.MethodWithSuperPropertyAccessInAsync=128]=\"MethodWithSuperPropertyAccessInAsync\",r[r.MethodWithSuperPropertyAssignmentInAsync=256]=\"MethodWithSuperPropertyAssignmentInAsync\",r[r.CaptureArguments=512]=\"CaptureArguments\",r[r.EnumValuesComputed=1024]=\"EnumValuesComputed\",r[r.LexicalModuleMergesWithClass=2048]=\"LexicalModuleMergesWithClass\",r[r.LoopWithCapturedBlockScopedBinding=4096]=\"LoopWithCapturedBlockScopedBinding\",r[r.ContainsCapturedBlockScopeBinding=8192]=\"ContainsCapturedBlockScopeBinding\",r[r.CapturedBlockScopedBinding=16384]=\"CapturedBlockScopedBinding\",r[r.BlockScopedBindingInLoop=32768]=\"BlockScopedBindingInLoop\",r[r.ClassWithBodyScopedClassBinding=65536]=\"ClassWithBodyScopedClassBinding\",r[r.BodyScopedClassBinding=131072]=\"BodyScopedClassBinding\",r[r.NeedsLoopOutParameter=262144]=\"NeedsLoopOutParameter\",r[r.AssignmentsMarked=524288]=\"AssignmentsMarked\",r[r.ClassWithConstructorReference=1048576]=\"ClassWithConstructorReference\",r[r.ConstructorReferenceInClass=2097152]=\"ConstructorReferenceInClass\",r[r.ContainsClassWithPrivateIdentifiers=4194304]=\"ContainsClassWithPrivateIdentifiers\",r[r.ContainsSuperPropertyInStaticInitializer=8388608]=\"ContainsSuperPropertyInStaticInitializer\",r[r.InCheckIdentifier=16777216]=\"InCheckIdentifier\",r))(Pr||{}),fa=(r=>(r[r.Any=1]=\"Any\",r[r.Unknown=2]=\"Unknown\",r[r.String=4]=\"String\",r[r.Number=8]=\"Number\",r[r.Boolean=16]=\"Boolean\",r[r.Enum=32]=\"Enum\",r[r.BigInt=64]=\"BigInt\",r[r.StringLiteral=128]=\"StringLiteral\",r[r.NumberLiteral=256]=\"NumberLiteral\",r[r.BooleanLiteral=512]=\"BooleanLiteral\",r[r.EnumLiteral=1024]=\"EnumLiteral\",r[r.BigIntLiteral=2048]=\"BigIntLiteral\",r[r.ESSymbol=4096]=\"ESSymbol\",r[r.UniqueESSymbol=8192]=\"UniqueESSymbol\",r[r.Void=16384]=\"Void\",r[r.Undefined=32768]=\"Undefined\",r[r.Null=65536]=\"Null\",r[r.Never=131072]=\"Never\",r[r.TypeParameter=262144]=\"TypeParameter\",r[r.Object=524288]=\"Object\",r[r.Union=1048576]=\"Union\",r[r.Intersection=2097152]=\"Intersection\",r[r.Index=4194304]=\"Index\",r[r.IndexedAccess=8388608]=\"IndexedAccess\",r[r.Conditional=16777216]=\"Conditional\",r[r.Substitution=33554432]=\"Substitution\",r[r.NonPrimitive=67108864]=\"NonPrimitive\",r[r.TemplateLiteral=134217728]=\"TemplateLiteral\",r[r.StringMapping=268435456]=\"StringMapping\",r[r.AnyOrUnknown=3]=\"AnyOrUnknown\",r[r.Nullable=98304]=\"Nullable\",r[r.Literal=2944]=\"Literal\",r[r.Unit=109472]=\"Unit\",r[r.Freshable=2976]=\"Freshable\",r[r.StringOrNumberLiteral=384]=\"StringOrNumberLiteral\",r[r.StringOrNumberLiteralOrUnique=8576]=\"StringOrNumberLiteralOrUnique\",r[r.DefinitelyFalsy=117632]=\"DefinitelyFalsy\",r[r.PossiblyFalsy=117724]=\"PossiblyFalsy\",r[r.Intrinsic=67359327]=\"Intrinsic\",r[r.Primitive=134348796]=\"Primitive\",r[r.StringLike=402653316]=\"StringLike\",r[r.NumberLike=296]=\"NumberLike\",r[r.BigIntLike=2112]=\"BigIntLike\",r[r.BooleanLike=528]=\"BooleanLike\",r[r.EnumLike=1056]=\"EnumLike\",r[r.ESSymbolLike=12288]=\"ESSymbolLike\",r[r.VoidLike=49152]=\"VoidLike\",r[r.DefinitelyNonNullable=470302716]=\"DefinitelyNonNullable\",r[r.DisjointDomains=469892092]=\"DisjointDomains\",r[r.UnionOrIntersection=3145728]=\"UnionOrIntersection\",r[r.StructuredType=3670016]=\"StructuredType\",r[r.TypeVariable=8650752]=\"TypeVariable\",r[r.InstantiableNonPrimitive=58982400]=\"InstantiableNonPrimitive\",r[r.InstantiablePrimitive=406847488]=\"InstantiablePrimitive\",r[r.Instantiable=465829888]=\"Instantiable\",r[r.StructuredOrInstantiable=469499904]=\"StructuredOrInstantiable\",r[r.ObjectFlagsType=3899393]=\"ObjectFlagsType\",r[r.Simplifiable=25165824]=\"Simplifiable\",r[r.Singleton=67358815]=\"Singleton\",r[r.Narrowable=536624127]=\"Narrowable\",r[r.IncludesMask=205258751]=\"IncludesMask\",r[r.IncludesMissingType=262144]=\"IncludesMissingType\",r[r.IncludesNonWideningType=4194304]=\"IncludesNonWideningType\",r[r.IncludesWildcard=8388608]=\"IncludesWildcard\",r[r.IncludesEmptyObject=16777216]=\"IncludesEmptyObject\",r[r.IncludesInstantiable=33554432]=\"IncludesInstantiable\",r[r.NotPrimitiveUnion=36323363]=\"NotPrimitiveUnion\",r))(fa||{}),Pl=(r=>(r[r.None=0]=\"None\",r[r.Class=1]=\"Class\",r[r.Interface=2]=\"Interface\",r[r.Reference=4]=\"Reference\",r[r.Tuple=8]=\"Tuple\",r[r.Anonymous=16]=\"Anonymous\",r[r.Mapped=32]=\"Mapped\",r[r.Instantiated=64]=\"Instantiated\",r[r.ObjectLiteral=128]=\"ObjectLiteral\",r[r.EvolvingArray=256]=\"EvolvingArray\",r[r.ObjectLiteralPatternWithComputedProperties=512]=\"ObjectLiteralPatternWithComputedProperties\",r[r.ReverseMapped=1024]=\"ReverseMapped\",r[r.JsxAttributes=2048]=\"JsxAttributes\",r[r.JSLiteral=4096]=\"JSLiteral\",r[r.FreshLiteral=8192]=\"FreshLiteral\",r[r.ArrayLiteral=16384]=\"ArrayLiteral\",r[r.PrimitiveUnion=32768]=\"PrimitiveUnion\",r[r.ContainsWideningType=65536]=\"ContainsWideningType\",r[r.ContainsObjectOrArrayLiteral=131072]=\"ContainsObjectOrArrayLiteral\",r[r.NonInferrableType=262144]=\"NonInferrableType\",r[r.CouldContainTypeVariablesComputed=524288]=\"CouldContainTypeVariablesComputed\",r[r.CouldContainTypeVariables=1048576]=\"CouldContainTypeVariables\",r[r.ClassOrInterface=3]=\"ClassOrInterface\",r[r.RequiresWidening=196608]=\"RequiresWidening\",r[r.PropagatingFlags=458752]=\"PropagatingFlags\",r[r.ObjectTypeKindMask=1343]=\"ObjectTypeKindMask\",r[r.ContainsSpread=2097152]=\"ContainsSpread\",r[r.ObjectRestType=4194304]=\"ObjectRestType\",r[r.InstantiationExpressionType=8388608]=\"InstantiationExpressionType\",r[r.IsClassInstanceClone=16777216]=\"IsClassInstanceClone\",r[r.IdenticalBaseTypeCalculated=33554432]=\"IdenticalBaseTypeCalculated\",r[r.IdenticalBaseTypeExists=67108864]=\"IdenticalBaseTypeExists\",r[r.IsGenericTypeComputed=2097152]=\"IsGenericTypeComputed\",r[r.IsGenericObjectType=4194304]=\"IsGenericObjectType\",r[r.IsGenericIndexType=8388608]=\"IsGenericIndexType\",r[r.IsGenericType=12582912]=\"IsGenericType\",r[r.ContainsIntersections=16777216]=\"ContainsIntersections\",r[r.IsUnknownLikeUnionComputed=33554432]=\"IsUnknownLikeUnionComputed\",r[r.IsUnknownLikeUnion=67108864]=\"IsUnknownLikeUnion\",r[r.IsNeverIntersectionComputed=16777216]=\"IsNeverIntersectionComputed\",r[r.IsNeverIntersection=33554432]=\"IsNeverIntersection\",r))(Pl||{}),Wl=(r=>(r[r.Invariant=0]=\"Invariant\",r[r.Covariant=1]=\"Covariant\",r[r.Contravariant=2]=\"Contravariant\",r[r.Bivariant=3]=\"Bivariant\",r[r.Independent=4]=\"Independent\",r[r.VarianceMask=7]=\"VarianceMask\",r[r.Unmeasurable=8]=\"Unmeasurable\",r[r.Unreliable=16]=\"Unreliable\",r[r.AllowsStructuralFallback=24]=\"AllowsStructuralFallback\",r))(Wl||{}),Ep=(r=>(r[r.Required=1]=\"Required\",r[r.Optional=2]=\"Optional\",r[r.Rest=4]=\"Rest\",r[r.Variadic=8]=\"Variadic\",r[r.Fixed=3]=\"Fixed\",r[r.Variable=12]=\"Variable\",r[r.NonRequired=14]=\"NonRequired\",r[r.NonRest=11]=\"NonRest\",r))(Ep||{}),Ec=(r=>(r[r.None=0]=\"None\",r[r.IncludeUndefined=1]=\"IncludeUndefined\",r[r.NoIndexSignatures=2]=\"NoIndexSignatures\",r[r.Writing=4]=\"Writing\",r[r.CacheSymbol=8]=\"CacheSymbol\",r[r.NoTupleBoundsCheck=16]=\"NoTupleBoundsCheck\",r[r.ExpressionPosition=32]=\"ExpressionPosition\",r[r.ReportDeprecated=64]=\"ReportDeprecated\",r[r.SuppressNoImplicitAnyError=128]=\"SuppressNoImplicitAnyError\",r[r.Contextual=256]=\"Contextual\",r[r.Persistent=1]=\"Persistent\",r))(Ec||{}),Dh=(r=>(r[r.Component=0]=\"Component\",r[r.Function=1]=\"Function\",r[r.Mixed=2]=\"Mixed\",r))(Dh||{}),Jp=(r=>(r[r.Call=0]=\"Call\",r[r.Construct=1]=\"Construct\",r))(Jp||{}),_d=(r=>(r[r.None=0]=\"None\",r[r.HasRestParameter=1]=\"HasRestParameter\",r[r.HasLiteralTypes=2]=\"HasLiteralTypes\",r[r.Abstract=4]=\"Abstract\",r[r.IsInnerCallChain=8]=\"IsInnerCallChain\",r[r.IsOuterCallChain=16]=\"IsOuterCallChain\",r[r.IsUntypedSignatureInJSFile=32]=\"IsUntypedSignatureInJSFile\",r[r.PropagatingFlags=39]=\"PropagatingFlags\",r[r.CallChainFlags=24]=\"CallChainFlags\",r))(_d||{}),qa=(r=>(r[r.String=0]=\"String\",r[r.Number=1]=\"Number\",r))(qa||{}),yl=(r=>(r[r.Simple=0]=\"Simple\",r[r.Array=1]=\"Array\",r[r.Deferred=2]=\"Deferred\",r[r.Function=3]=\"Function\",r[r.Composite=4]=\"Composite\",r[r.Merged=5]=\"Merged\",r))(yl||{}),Rb=(r=>(r[r.None=0]=\"None\",r[r.NakedTypeVariable=1]=\"NakedTypeVariable\",r[r.SpeculativeTuple=2]=\"SpeculativeTuple\",r[r.SubstituteSource=4]=\"SubstituteSource\",r[r.HomomorphicMappedType=8]=\"HomomorphicMappedType\",r[r.PartialHomomorphicMappedType=16]=\"PartialHomomorphicMappedType\",r[r.MappedTypeConstraint=32]=\"MappedTypeConstraint\",r[r.ContravariantConditional=64]=\"ContravariantConditional\",r[r.ReturnType=128]=\"ReturnType\",r[r.LiteralKeyof=256]=\"LiteralKeyof\",r[r.NoConstraints=512]=\"NoConstraints\",r[r.AlwaysStrict=1024]=\"AlwaysStrict\",r[r.MaxValue=2048]=\"MaxValue\",r[r.PriorityImpliesCombination=416]=\"PriorityImpliesCombination\",r[r.Circularity=-1]=\"Circularity\",r))(Rb||{}),LC=(r=>(r[r.None=0]=\"None\",r[r.NoDefault=1]=\"NoDefault\",r[r.AnyDefault=2]=\"AnyDefault\",r[r.SkippedGenericFunction=4]=\"SkippedGenericFunction\",r))(LC||{}),kw=(r=>(r[r.False=0]=\"False\",r[r.Unknown=1]=\"Unknown\",r[r.Maybe=3]=\"Maybe\",r[r.True=-1]=\"True\",r))(kw||{}),aT=(r=>(r[r.None=0]=\"None\",r[r.ExportsProperty=1]=\"ExportsProperty\",r[r.ModuleExports=2]=\"ModuleExports\",r[r.PrototypeProperty=3]=\"PrototypeProperty\",r[r.ThisProperty=4]=\"ThisProperty\",r[r.Property=5]=\"Property\",r[r.Prototype=6]=\"Prototype\",r[r.ObjectDefinePropertyValue=7]=\"ObjectDefinePropertyValue\",r[r.ObjectDefinePropertyExports=8]=\"ObjectDefinePropertyExports\",r[r.ObjectDefinePrototypeProperty=9]=\"ObjectDefinePrototypeProperty\",r))(aT||{}),NC=(r=>(r[r.Warning=0]=\"Warning\",r[r.Error=1]=\"Error\",r[r.Suggestion=2]=\"Suggestion\",r[r.Message=3]=\"Message\",r))(NC||{}),Lw=(r=>(r[r.Classic=1]=\"Classic\",r[r.NodeJs=2]=\"NodeJs\",r[r.Node10=2]=\"Node10\",r[r.Node16=3]=\"Node16\",r[r.NodeNext=99]=\"NodeNext\",r[r.Bundler=100]=\"Bundler\",r))(Lw||{}),IC=(r=>(r[r.Legacy=1]=\"Legacy\",r[r.Auto=2]=\"Auto\",r[r.Force=3]=\"Force\",r))(IC||{}),FC=(r=>(r[r.FixedPollingInterval=0]=\"FixedPollingInterval\",r[r.PriorityPollingInterval=1]=\"PriorityPollingInterval\",r[r.DynamicPriorityPolling=2]=\"DynamicPriorityPolling\",r[r.FixedChunkSizePolling=3]=\"FixedChunkSizePolling\",r[r.UseFsEvents=4]=\"UseFsEvents\",r[r.UseFsEventsOnParentDirectory=5]=\"UseFsEventsOnParentDirectory\",r))(FC||{}),gO=(r=>(r[r.UseFsEvents=0]=\"UseFsEvents\",r[r.FixedPollingInterval=1]=\"FixedPollingInterval\",r[r.DynamicPriorityPolling=2]=\"DynamicPriorityPolling\",r[r.FixedChunkSizePolling=3]=\"FixedChunkSizePolling\",r))(gO||{}),mO=(r=>(r[r.FixedInterval=0]=\"FixedInterval\",r[r.PriorityInterval=1]=\"PriorityInterval\",r[r.DynamicPriority=2]=\"DynamicPriority\",r[r.FixedChunkSize=3]=\"FixedChunkSize\",r))(mO||{}),yO=(r=>(r[r.None=0]=\"None\",r[r.CommonJS=1]=\"CommonJS\",r[r.AMD=2]=\"AMD\",r[r.UMD=3]=\"UMD\",r[r.System=4]=\"System\",r[r.ES2015=5]=\"ES2015\",r[r.ES2020=6]=\"ES2020\",r[r.ES2022=7]=\"ES2022\",r[r.ESNext=99]=\"ESNext\",r[r.Node16=100]=\"Node16\",r[r.NodeNext=199]=\"NodeNext\",r))(yO||{}),bO=(r=>(r[r.None=0]=\"None\",r[r.Preserve=1]=\"Preserve\",r[r.React=2]=\"React\",r[r.ReactNative=3]=\"ReactNative\",r[r.ReactJSX=4]=\"ReactJSX\",r[r.ReactJSXDev=5]=\"ReactJSXDev\",r))(bO||{}),vO=(r=>(r[r.Remove=0]=\"Remove\",r[r.Preserve=1]=\"Preserve\",r[r.Error=2]=\"Error\",r))(vO||{}),CO=(r=>(r[r.CarriageReturnLineFeed=0]=\"CarriageReturnLineFeed\",r[r.LineFeed=1]=\"LineFeed\",r))(CO||{}),DO=(r=>(r[r.Unknown=0]=\"Unknown\",r[r.JS=1]=\"JS\",r[r.JSX=2]=\"JSX\",r[r.TS=3]=\"TS\",r[r.TSX=4]=\"TSX\",r[r.External=5]=\"External\",r[r.JSON=6]=\"JSON\",r[r.Deferred=7]=\"Deferred\",r))(DO||{}),wO=(r=>(r[r.ES3=0]=\"ES3\",r[r.ES5=1]=\"ES5\",r[r.ES2015=2]=\"ES2015\",r[r.ES2016=3]=\"ES2016\",r[r.ES2017=4]=\"ES2017\",r[r.ES2018=5]=\"ES2018\",r[r.ES2019=6]=\"ES2019\",r[r.ES2020=7]=\"ES2020\",r[r.ES2021=8]=\"ES2021\",r[r.ES2022=9]=\"ES2022\",r[r.ESNext=99]=\"ESNext\",r[r.JSON=100]=\"JSON\",r[r.Latest=99]=\"Latest\",r))(wO||{}),SO=(r=>(r[r.Standard=0]=\"Standard\",r[r.JSX=1]=\"JSX\",r))(SO||{}),xO=(r=>(r[r.None=0]=\"None\",r[r.Recursive=1]=\"Recursive\",r))(xO||{}),EO=(r=>(r[r.nullCharacter=0]=\"nullCharacter\",r[r.maxAsciiCharacter=127]=\"maxAsciiCharacter\",r[r.lineFeed=10]=\"lineFeed\",r[r.carriageReturn=13]=\"carriageReturn\",r[r.lineSeparator=8232]=\"lineSeparator\",r[r.paragraphSeparator=8233]=\"paragraphSeparator\",r[r.nextLine=133]=\"nextLine\",r[r.space=32]=\"space\",r[r.nonBreakingSpace=160]=\"nonBreakingSpace\",r[r.enQuad=8192]=\"enQuad\",r[r.emQuad=8193]=\"emQuad\",r[r.enSpace=8194]=\"enSpace\",r[r.emSpace=8195]=\"emSpace\",r[r.threePerEmSpace=8196]=\"threePerEmSpace\",r[r.fourPerEmSpace=8197]=\"fourPerEmSpace\",r[r.sixPerEmSpace=8198]=\"sixPerEmSpace\",r[r.figureSpace=8199]=\"figureSpace\",r[r.punctuationSpace=8200]=\"punctuationSpace\",r[r.thinSpace=8201]=\"thinSpace\",r[r.hairSpace=8202]=\"hairSpace\",r[r.zeroWidthSpace=8203]=\"zeroWidthSpace\",r[r.narrowNoBreakSpace=8239]=\"narrowNoBreakSpace\",r[r.ideographicSpace=12288]=\"ideographicSpace\",r[r.mathematicalSpace=8287]=\"mathematicalSpace\",r[r.ogham=5760]=\"ogham\",r[r._=95]=\"_\",r[r.$=36]=\"$\",r[r._0=48]=\"_0\",r[r._1=49]=\"_1\",r[r._2=50]=\"_2\",r[r._3=51]=\"_3\",r[r._4=52]=\"_4\",r[r._5=53]=\"_5\",r[r._6=54]=\"_6\",r[r._7=55]=\"_7\",r[r._8=56]=\"_8\",r[r._9=57]=\"_9\",r[r.a=97]=\"a\",r[r.b=98]=\"b\",r[r.c=99]=\"c\",r[r.d=100]=\"d\",r[r.e=101]=\"e\",r[r.f=102]=\"f\",r[r.g=103]=\"g\",r[r.h=104]=\"h\",r[r.i=105]=\"i\",r[r.j=106]=\"j\",r[r.k=107]=\"k\",r[r.l=108]=\"l\",r[r.m=109]=\"m\",r[r.n=110]=\"n\",r[r.o=111]=\"o\",r[r.p=112]=\"p\",r[r.q=113]=\"q\",r[r.r=114]=\"r\",r[r.s=115]=\"s\",r[r.t=116]=\"t\",r[r.u=117]=\"u\",r[r.v=118]=\"v\",r[r.w=119]=\"w\",r[r.x=120]=\"x\",r[r.y=121]=\"y\",r[r.z=122]=\"z\",r[r.A=65]=\"A\",r[r.B=66]=\"B\",r[r.C=67]=\"C\",r[r.D=68]=\"D\",r[r.E=69]=\"E\",r[r.F=70]=\"F\",r[r.G=71]=\"G\",r[r.H=72]=\"H\",r[r.I=73]=\"I\",r[r.J=74]=\"J\",r[r.K=75]=\"K\",r[r.L=76]=\"L\",r[r.M=77]=\"M\",r[r.N=78]=\"N\",r[r.O=79]=\"O\",r[r.P=80]=\"P\",r[r.Q=81]=\"Q\",r[r.R=82]=\"R\",r[r.S=83]=\"S\",r[r.T=84]=\"T\",r[r.U=85]=\"U\",r[r.V=86]=\"V\",r[r.W=87]=\"W\",r[r.X=88]=\"X\",r[r.Y=89]=\"Y\",r[r.Z=90]=\"Z\",r[r.ampersand=38]=\"ampersand\",r[r.asterisk=42]=\"asterisk\",r[r.at=64]=\"at\",r[r.backslash=92]=\"backslash\",r[r.backtick=96]=\"backtick\",r[r.bar=124]=\"bar\",r[r.caret=94]=\"caret\",r[r.closeBrace=125]=\"closeBrace\",r[r.closeBracket=93]=\"closeBracket\",r[r.closeParen=41]=\"closeParen\",r[r.colon=58]=\"colon\",r[r.comma=44]=\"comma\",r[r.dot=46]=\"dot\",r[r.doubleQuote=34]=\"doubleQuote\",r[r.equals=61]=\"equals\",r[r.exclamation=33]=\"exclamation\",r[r.greaterThan=62]=\"greaterThan\",r[r.hash=35]=\"hash\",r[r.lessThan=60]=\"lessThan\",r[r.minus=45]=\"minus\",r[r.openBrace=123]=\"openBrace\",r[r.openBracket=91]=\"openBracket\",r[r.openParen=40]=\"openParen\",r[r.percent=37]=\"percent\",r[r.plus=43]=\"plus\",r[r.question=63]=\"question\",r[r.semicolon=59]=\"semicolon\",r[r.singleQuote=39]=\"singleQuote\",r[r.slash=47]=\"slash\",r[r.tilde=126]=\"tilde\",r[r.backspace=8]=\"backspace\",r[r.formFeed=12]=\"formFeed\",r[r.byteOrderMark=65279]=\"byteOrderMark\",r[r.tab=9]=\"tab\",r[r.verticalTab=11]=\"verticalTab\",r))(EO||{}),TO=(r=>(r.Ts=\".ts\",r.Tsx=\".tsx\",r.Dts=\".d.ts\",r.Js=\".js\",r.Jsx=\".jsx\",r.Json=\".json\",r.TsBuildInfo=\".tsbuildinfo\",r.Mjs=\".mjs\",r.Mts=\".mts\",r.Dmts=\".d.mts\",r.Cjs=\".cjs\",r.Cts=\".cts\",r.Dcts=\".d.cts\",r))(TO||{}),k4=(r=>(r[r.None=0]=\"None\",r[r.ContainsTypeScript=1]=\"ContainsTypeScript\",r[r.ContainsJsx=2]=\"ContainsJsx\",r[r.ContainsESNext=4]=\"ContainsESNext\",r[r.ContainsES2022=8]=\"ContainsES2022\",r[r.ContainsES2021=16]=\"ContainsES2021\",r[r.ContainsES2020=32]=\"ContainsES2020\",r[r.ContainsES2019=64]=\"ContainsES2019\",r[r.ContainsES2018=128]=\"ContainsES2018\",r[r.ContainsES2017=256]=\"ContainsES2017\",r[r.ContainsES2016=512]=\"ContainsES2016\",r[r.ContainsES2015=1024]=\"ContainsES2015\",r[r.ContainsGenerator=2048]=\"ContainsGenerator\",r[r.ContainsDestructuringAssignment=4096]=\"ContainsDestructuringAssignment\",r[r.ContainsTypeScriptClassSyntax=8192]=\"ContainsTypeScriptClassSyntax\",r[r.ContainsLexicalThis=16384]=\"ContainsLexicalThis\",r[r.ContainsRestOrSpread=32768]=\"ContainsRestOrSpread\",r[r.ContainsObjectRestOrSpread=65536]=\"ContainsObjectRestOrSpread\",r[r.ContainsComputedPropertyName=131072]=\"ContainsComputedPropertyName\",r[r.ContainsBlockScopedBinding=262144]=\"ContainsBlockScopedBinding\",r[r.ContainsBindingPattern=524288]=\"ContainsBindingPattern\",r[r.ContainsYield=1048576]=\"ContainsYield\",r[r.ContainsAwait=2097152]=\"ContainsAwait\",r[r.ContainsHoistedDeclarationOrCompletion=4194304]=\"ContainsHoistedDeclarationOrCompletion\",r[r.ContainsDynamicImport=8388608]=\"ContainsDynamicImport\",r[r.ContainsClassFields=16777216]=\"ContainsClassFields\",r[r.ContainsDecorators=33554432]=\"ContainsDecorators\",r[r.ContainsPossibleTopLevelAwait=67108864]=\"ContainsPossibleTopLevelAwait\",r[r.ContainsLexicalSuper=134217728]=\"ContainsLexicalSuper\",r[r.ContainsUpdateExpressionForIdentifier=268435456]=\"ContainsUpdateExpressionForIdentifier\",r[r.ContainsPrivateIdentifierInExpression=536870912]=\"ContainsPrivateIdentifierInExpression\",r[r.HasComputedFlags=-2147483648]=\"HasComputedFlags\",r[r.AssertTypeScript=1]=\"AssertTypeScript\",r[r.AssertJsx=2]=\"AssertJsx\",r[r.AssertESNext=4]=\"AssertESNext\",r[r.AssertES2022=8]=\"AssertES2022\",r[r.AssertES2021=16]=\"AssertES2021\",r[r.AssertES2020=32]=\"AssertES2020\",r[r.AssertES2019=64]=\"AssertES2019\",r[r.AssertES2018=128]=\"AssertES2018\",r[r.AssertES2017=256]=\"AssertES2017\",r[r.AssertES2016=512]=\"AssertES2016\",r[r.AssertES2015=1024]=\"AssertES2015\",r[r.AssertGenerator=2048]=\"AssertGenerator\",r[r.AssertDestructuringAssignment=4096]=\"AssertDestructuringAssignment\",r[r.OuterExpressionExcludes=-2147483648]=\"OuterExpressionExcludes\",r[r.PropertyAccessExcludes=-2147483648]=\"PropertyAccessExcludes\",r[r.NodeExcludes=-2147483648]=\"NodeExcludes\",r[r.ArrowFunctionExcludes=-2072174592]=\"ArrowFunctionExcludes\",r[r.FunctionExcludes=-1937940480]=\"FunctionExcludes\",r[r.ConstructorExcludes=-1937948672]=\"ConstructorExcludes\",r[r.MethodOrAccessorExcludes=-2005057536]=\"MethodOrAccessorExcludes\",r[r.PropertyExcludes=-2013249536]=\"PropertyExcludes\",r[r.ClassExcludes=-2147344384]=\"ClassExcludes\",r[r.ModuleExcludes=-1941676032]=\"ModuleExcludes\",r[r.TypeExcludes=-2]=\"TypeExcludes\",r[r.ObjectLiteralExcludes=-2147278848]=\"ObjectLiteralExcludes\",r[r.ArrayLiteralOrCallOrNewExcludes=-2147450880]=\"ArrayLiteralOrCallOrNewExcludes\",r[r.VariableDeclarationListExcludes=-2146893824]=\"VariableDeclarationListExcludes\",r[r.ParameterExcludes=-2147483648]=\"ParameterExcludes\",r[r.CatchClauseExcludes=-2147418112]=\"CatchClauseExcludes\",r[r.BindingPatternExcludes=-2147450880]=\"BindingPatternExcludes\",r[r.ContainsLexicalThisOrSuper=134234112]=\"ContainsLexicalThisOrSuper\",r[r.PropertyNamePropagatingFlags=134234112]=\"PropertyNamePropagatingFlags\",r))(k4||{}),L4=(r=>(r[r.TabStop=0]=\"TabStop\",r[r.Placeholder=1]=\"Placeholder\",r[r.Choice=2]=\"Choice\",r[r.Variable=3]=\"Variable\",r))(L4||{}),N4=(r=>(r[r.None=0]=\"None\",r[r.SingleLine=1]=\"SingleLine\",r[r.MultiLine=2]=\"MultiLine\",r[r.AdviseOnEmitNode=4]=\"AdviseOnEmitNode\",r[r.NoSubstitution=8]=\"NoSubstitution\",r[r.CapturesThis=16]=\"CapturesThis\",r[r.NoLeadingSourceMap=32]=\"NoLeadingSourceMap\",r[r.NoTrailingSourceMap=64]=\"NoTrailingSourceMap\",r[r.NoSourceMap=96]=\"NoSourceMap\",r[r.NoNestedSourceMaps=128]=\"NoNestedSourceMaps\",r[r.NoTokenLeadingSourceMaps=256]=\"NoTokenLeadingSourceMaps\",r[r.NoTokenTrailingSourceMaps=512]=\"NoTokenTrailingSourceMaps\",r[r.NoTokenSourceMaps=768]=\"NoTokenSourceMaps\",r[r.NoLeadingComments=1024]=\"NoLeadingComments\",r[r.NoTrailingComments=2048]=\"NoTrailingComments\",r[r.NoComments=3072]=\"NoComments\",r[r.NoNestedComments=4096]=\"NoNestedComments\",r[r.HelperName=8192]=\"HelperName\",r[r.ExportName=16384]=\"ExportName\",r[r.LocalName=32768]=\"LocalName\",r[r.InternalName=65536]=\"InternalName\",r[r.Indented=131072]=\"Indented\",r[r.NoIndentation=262144]=\"NoIndentation\",r[r.AsyncFunctionBody=524288]=\"AsyncFunctionBody\",r[r.ReuseTempVariableScope=1048576]=\"ReuseTempVariableScope\",r[r.CustomPrologue=2097152]=\"CustomPrologue\",r[r.NoHoisting=4194304]=\"NoHoisting\",r[r.HasEndOfDeclarationMarker=8388608]=\"HasEndOfDeclarationMarker\",r[r.Iterator=16777216]=\"Iterator\",r[r.NoAsciiEscaping=33554432]=\"NoAsciiEscaping\",r))(N4||{}),AO=(r=>(r[r.None=0]=\"None\",r[r.TypeScriptClassWrapper=1]=\"TypeScriptClassWrapper\",r[r.NeverApplyImportHelper=2]=\"NeverApplyImportHelper\",r[r.IgnoreSourceNewlines=4]=\"IgnoreSourceNewlines\",r[r.Immutable=8]=\"Immutable\",r[r.IndirectCall=16]=\"IndirectCall\",r[r.TransformPrivateStaticElements=32]=\"TransformPrivateStaticElements\",r))(AO||{}),kO=(r=>(r[r.Extends=1]=\"Extends\",r[r.Assign=2]=\"Assign\",r[r.Rest=4]=\"Rest\",r[r.Decorate=8]=\"Decorate\",r[r.ESDecorateAndRunInitializers=8]=\"ESDecorateAndRunInitializers\",r[r.Metadata=16]=\"Metadata\",r[r.Param=32]=\"Param\",r[r.Awaiter=64]=\"Awaiter\",r[r.Generator=128]=\"Generator\",r[r.Values=256]=\"Values\",r[r.Read=512]=\"Read\",r[r.SpreadArray=1024]=\"SpreadArray\",r[r.Await=2048]=\"Await\",r[r.AsyncGenerator=4096]=\"AsyncGenerator\",r[r.AsyncDelegator=8192]=\"AsyncDelegator\",r[r.AsyncValues=16384]=\"AsyncValues\",r[r.ExportStar=32768]=\"ExportStar\",r[r.ImportStar=65536]=\"ImportStar\",r[r.ImportDefault=131072]=\"ImportDefault\",r[r.MakeTemplateObject=262144]=\"MakeTemplateObject\",r[r.ClassPrivateFieldGet=524288]=\"ClassPrivateFieldGet\",r[r.ClassPrivateFieldSet=1048576]=\"ClassPrivateFieldSet\",r[r.ClassPrivateFieldIn=2097152]=\"ClassPrivateFieldIn\",r[r.CreateBinding=4194304]=\"CreateBinding\",r[r.SetFunctionName=8388608]=\"SetFunctionName\",r[r.PropKey=16777216]=\"PropKey\",r[r.FirstEmitHelper=1]=\"FirstEmitHelper\",r[r.LastEmitHelper=16777216]=\"LastEmitHelper\",r[r.ForOfIncludes=256]=\"ForOfIncludes\",r[r.ForAwaitOfIncludes=16384]=\"ForAwaitOfIncludes\",r[r.AsyncGeneratorIncludes=6144]=\"AsyncGeneratorIncludes\",r[r.AsyncDelegatorIncludes=26624]=\"AsyncDelegatorIncludes\",r[r.SpreadIncludes=1536]=\"SpreadIncludes\",r))(kO||{}),LO=(r=>(r[r.SourceFile=0]=\"SourceFile\",r[r.Expression=1]=\"Expression\",r[r.IdentifierName=2]=\"IdentifierName\",r[r.MappedTypeParameter=3]=\"MappedTypeParameter\",r[r.Unspecified=4]=\"Unspecified\",r[r.EmbeddedStatement=5]=\"EmbeddedStatement\",r[r.JsxAttributeValue=6]=\"JsxAttributeValue\",r))(LO||{}),NO=(r=>(r[r.Parentheses=1]=\"Parentheses\",r[r.TypeAssertions=2]=\"TypeAssertions\",r[r.NonNullAssertions=4]=\"NonNullAssertions\",r[r.PartiallyEmittedExpressions=8]=\"PartiallyEmittedExpressions\",r[r.Assertions=6]=\"Assertions\",r[r.All=15]=\"All\",r[r.ExcludeJSDocTypeAssertion=16]=\"ExcludeJSDocTypeAssertion\",r))(NO||{}),IO=(r=>(r[r.None=0]=\"None\",r[r.InParameters=1]=\"InParameters\",r[r.VariablesHoistedInParameters=2]=\"VariablesHoistedInParameters\",r))(IO||{}),FO=(r=>(r.Prologue=\"prologue\",r.EmitHelpers=\"emitHelpers\",r.NoDefaultLib=\"no-default-lib\",r.Reference=\"reference\",r.Type=\"type\",r.TypeResolutionModeRequire=\"type-require\",r.TypeResolutionModeImport=\"type-import\",r.Lib=\"lib\",r.Prepend=\"prepend\",r.Text=\"text\",r.Internal=\"internal\",r))(FO||{}),PO=(r=>(r[r.None=0]=\"None\",r[r.SingleLine=0]=\"SingleLine\",r[r.MultiLine=1]=\"MultiLine\",r[r.PreserveLines=2]=\"PreserveLines\",r[r.LinesMask=3]=\"LinesMask\",r[r.NotDelimited=0]=\"NotDelimited\",r[r.BarDelimited=4]=\"BarDelimited\",r[r.AmpersandDelimited=8]=\"AmpersandDelimited\",r[r.CommaDelimited=16]=\"CommaDelimited\",r[r.AsteriskDelimited=32]=\"AsteriskDelimited\",r[r.DelimitersMask=60]=\"DelimitersMask\",r[r.AllowTrailingComma=64]=\"AllowTrailingComma\",r[r.Indented=128]=\"Indented\",r[r.SpaceBetweenBraces=256]=\"SpaceBetweenBraces\",r[r.SpaceBetweenSiblings=512]=\"SpaceBetweenSiblings\",r[r.Braces=1024]=\"Braces\",r[r.Parenthesis=2048]=\"Parenthesis\",r[r.AngleBrackets=4096]=\"AngleBrackets\",r[r.SquareBrackets=8192]=\"SquareBrackets\",r[r.BracketsMask=15360]=\"BracketsMask\",r[r.OptionalIfUndefined=16384]=\"OptionalIfUndefined\",r[r.OptionalIfEmpty=32768]=\"OptionalIfEmpty\",r[r.Optional=49152]=\"Optional\",r[r.PreferNewLine=65536]=\"PreferNewLine\",r[r.NoTrailingNewLine=131072]=\"NoTrailingNewLine\",r[r.NoInterveningComments=262144]=\"NoInterveningComments\",r[r.NoSpaceIfEmpty=524288]=\"NoSpaceIfEmpty\",r[r.SingleElement=1048576]=\"SingleElement\",r[r.SpaceAfterList=2097152]=\"SpaceAfterList\",r[r.Modifiers=2359808]=\"Modifiers\",r[r.HeritageClauses=512]=\"HeritageClauses\",r[r.SingleLineTypeLiteralMembers=768]=\"SingleLineTypeLiteralMembers\",r[r.MultiLineTypeLiteralMembers=32897]=\"MultiLineTypeLiteralMembers\",r[r.SingleLineTupleTypeElements=528]=\"SingleLineTupleTypeElements\",r[r.MultiLineTupleTypeElements=657]=\"MultiLineTupleTypeElements\",r[r.UnionTypeConstituents=516]=\"UnionTypeConstituents\",r[r.IntersectionTypeConstituents=520]=\"IntersectionTypeConstituents\",r[r.ObjectBindingPatternElements=525136]=\"ObjectBindingPatternElements\",r[r.ArrayBindingPatternElements=524880]=\"ArrayBindingPatternElements\",r[r.ObjectLiteralExpressionProperties=526226]=\"ObjectLiteralExpressionProperties\",r[r.ImportClauseEntries=526226]=\"ImportClauseEntries\",r[r.ArrayLiteralExpressionElements=8914]=\"ArrayLiteralExpressionElements\",r[r.CommaListElements=528]=\"CommaListElements\",r[r.CallExpressionArguments=2576]=\"CallExpressionArguments\",r[r.NewExpressionArguments=18960]=\"NewExpressionArguments\",r[r.TemplateExpressionSpans=262144]=\"TemplateExpressionSpans\",r[r.SingleLineBlockStatements=768]=\"SingleLineBlockStatements\",r[r.MultiLineBlockStatements=129]=\"MultiLineBlockStatements\",r[r.VariableDeclarationList=528]=\"VariableDeclarationList\",r[r.SingleLineFunctionBodyStatements=768]=\"SingleLineFunctionBodyStatements\",r[r.MultiLineFunctionBodyStatements=1]=\"MultiLineFunctionBodyStatements\",r[r.ClassHeritageClauses=0]=\"ClassHeritageClauses\",r[r.ClassMembers=129]=\"ClassMembers\",r[r.InterfaceMembers=129]=\"InterfaceMembers\",r[r.EnumMembers=145]=\"EnumMembers\",r[r.CaseBlockClauses=129]=\"CaseBlockClauses\",r[r.NamedImportsOrExportsElements=525136]=\"NamedImportsOrExportsElements\",r[r.JsxElementOrFragmentChildren=262144]=\"JsxElementOrFragmentChildren\",r[r.JsxElementAttributes=262656]=\"JsxElementAttributes\",r[r.CaseOrDefaultClauseStatements=163969]=\"CaseOrDefaultClauseStatements\",r[r.HeritageClauseTypes=528]=\"HeritageClauseTypes\",r[r.SourceFileStatements=131073]=\"SourceFileStatements\",r[r.Decorators=2146305]=\"Decorators\",r[r.TypeArguments=53776]=\"TypeArguments\",r[r.TypeParameters=53776]=\"TypeParameters\",r[r.Parameters=2576]=\"Parameters\",r[r.IndexSignatureParameters=8848]=\"IndexSignatureParameters\",r[r.JSDocComment=33]=\"JSDocComment\",r))(PO||{}),OO=(r=>(r[r.None=0]=\"None\",r[r.TripleSlashXML=1]=\"TripleSlashXML\",r[r.SingleLine=2]=\"SingleLine\",r[r.MultiLine=4]=\"MultiLine\",r[r.All=7]=\"All\",r[r.Default=7]=\"Default\",r))(OO||{}),I4={reference:{args:[{name:\"types\",optional:!0,captureSpan:!0},{name:\"lib\",optional:!0,captureSpan:!0},{name:\"path\",optional:!0,captureSpan:!0},{name:\"no-default-lib\",optional:!0},{name:\"resolution-mode\",optional:!0}],kind:1},\"amd-dependency\":{args:[{name:\"path\"},{name:\"name\",optional:!0}],kind:1},\"amd-module\":{args:[{name:\"name\"}],kind:1},\"ts-check\":{kind:2},\"ts-nocheck\":{kind:2},jsx:{args:[{name:\"factory\"}],kind:4},jsxfrag:{args:[{name:\"factory\"}],kind:4},jsximportsource:{args:[{name:\"factory\"}],kind:4},jsxruntime:{args:[{name:\"factory\"}],kind:4}}}}),vge;function MO(r){return r===47||r===92}function Cge(r){return lT(r)<0}function Nw(r){return lT(r)>0}function Dge(r){let c=lT(r);return c>0&&c===r.length}function RO(r){return lT(r)!==0}function PC(r){return/^\\.\\.?($|[\\\\/])/.test(r)}function wge(r){return!RO(r)&&!PC(r)}function NY(r){return xe(uT(r),\".\")}function yy(r,c){return r.length>c.length&&ge(r,c)}function N0(r,c){for(let f of c)if(yy(r,f))return!0;return!1}function F4(r){return r.length>0&&MO(r.charCodeAt(r.length-1))}function IY(r){return r>=97&&r<=122||r>=65&&r<=90}function Sge(r,c){let f=r.charCodeAt(c);if(f===58)return c+1;if(f===37&&r.charCodeAt(c+1)===51){let x=r.charCodeAt(c+2);if(x===97||x===65)return c+3}return-1}function lT(r){if(!r)return 0;let c=r.charCodeAt(0);if(c===47||c===92){if(r.charCodeAt(1)!==c)return 1;let x=r.indexOf(c===47?w_:$O,2);return x<0?r.length:x+1}if(IY(c)&&r.charCodeAt(1)===58){let x=r.charCodeAt(2);if(x===47||x===92)return 3;if(r.length===2)return 2}let f=r.indexOf(zO);if(f!==-1){let x=f+zO.length,B=r.indexOf(w_,x);if(B!==-1){let De=r.slice(0,f),ke=r.slice(x,B);if(De===\"file\"&&(ke===\"\"||ke===\"localhost\")&&IY(r.charCodeAt(B+1))){let Be=Sge(r,B+2);if(Be!==-1){if(r.charCodeAt(Be)===47)return~(Be+1);if(Be===r.length)return~Be}}return~(B+1)}return~r.length}return 0}function Mm(r){let c=lT(r);return c<0?~c:c}function by(r){r=MC(r);let c=Mm(r);return c===r.length?r:(r=Iw(r),r.slice(0,Math.max(c,r.lastIndexOf(w_))))}function uT(r,c,f){if(r=MC(r),Mm(r)===r.length)return\"\";r=Iw(r);let x=r.slice(Math.max(Mm(r),r.lastIndexOf(w_)+1)),B=c!==void 0&&f!==void 0?P4(x,c,f):void 0;return B?x.slice(0,x.length-B.length):x}function FY(r,c,f){if(ae(c,\".\")||(c=\".\"+c),r.length>=c.length&&r.charCodeAt(r.length-c.length)===46){let x=r.slice(r.length-c.length);if(f(x,c))return x}}function xge(r,c,f){if(typeof c==\"string\")return FY(r,c,f)||\"\";for(let x of c){let B=FY(r,x,f);if(B)return B}return\"\"}function P4(r,c,f){if(c)return xge(Iw(r),c,f?L0:my);let x=uT(r),B=x.lastIndexOf(\".\");return B>=0?x.substring(B):\"\"}function Ege(r,c){let f=r.substring(0,c),x=r.substring(c).split(w_);return x.length&&!yi(x)&&x.pop(),[f,...x]}function Rm(r){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:\"\";return r=Yp(c,r),Ege(r,Mm(r))}function OC(r){return r.length===0?\"\":(r[0]&&RC(r[0]))+r.slice(1).join(w_)}function MC(r){return r.indexOf(\"\\\\\")!==-1?r.replace(BY,w_):r}function vy(r){if(!so(r))return[];let c=[r[0]];for(let f=1;f<r.length;f++){let x=r[f];if(x&&x!==\".\"){if(x===\"..\"){if(c.length>1){if(c[c.length-1]!==\"..\"){c.pop();continue}}else if(c[0])continue}c.push(x)}}return c}function Yp(r){r&&(r=MC(r));for(var c=arguments.length,f=new Array(c>1?c-1:0),x=1;x<c;x++)f[x-1]=arguments[x];for(let B of f)B&&(B=MC(B),!r||Mm(B)!==0?r=B:r=RC(r)+B);return r}function BO(r){for(var c=arguments.length,f=new Array(c>1?c-1:0),x=1;x<c;x++)f[x-1]=arguments[x];return rg(so(f)?Yp(r,...f):MC(r))}function O4(r,c){return vy(Rm(r,c))}function Cy(r,c){return OC(O4(r,c))}function rg(r){if(r=MC(r),!cT.test(r))return r;let c=r.replace(/\\/\\.\\//g,\"/\").replace(/^\\.\\//,\"\");if(c!==r&&(r=c,!cT.test(r)))return r;let f=OC(vy(Rm(r)));return f&&F4(r)?RC(f):f}function Tge(r){return r.length===0?\"\":r.slice(1).join(w_)}function Age(r,c){return Tge(O4(r,c))}function Bm(r,c,f){let x=Nw(r)?rg(r):Cy(r,c);return f(x)}function Iw(r){return F4(r)?r.substr(0,r.length-1):r}function RC(r){return F4(r)?r:r+w_}function jO(r){return!RO(r)&&!PC(r)?\"./\"+r:r}function PY(r,c,f,x){let B=f!==void 0&&x!==void 0?P4(r,f,x):P4(r);return B?r.slice(0,r.length-B.length)+(ae(c,\".\")?c:\".\"+c):r}function WO(r,c,f){if(r===c)return 0;if(r===void 0)return-1;if(c===void 0)return 1;let x=r.substring(0,Mm(r)),B=c.substring(0,Mm(c)),De=ee(x,B);if(De!==0)return De;let ke=r.substring(x.length),Be=c.substring(B.length);if(!cT.test(ke)&&!cT.test(Be))return f(ke,Be);let te=vy(Rm(r)),wn=vy(Rm(c)),st=Math.min(te.length,wn.length);for(let wi=1;wi<st;wi++){let an=f(te[wi],wn[wi]);if(an!==0)return an}return rd(te.length,wn.length)}function kge(r,c){return WO(r,c,Y)}function Lge(r,c){return WO(r,c,ee)}function Nge(r,c,f,x){return typeof f==\"string\"?(r=Yp(f,r),c=Yp(f,c)):typeof f==\"boolean\"&&(x=f),WO(r,c,G(x))}function OY(r,c,f,x){if(typeof f==\"string\"?(r=Yp(f,r),c=Yp(f,c)):typeof f==\"boolean\"&&(x=f),r===void 0||c===void 0)return!1;if(r===c)return!0;let B=vy(Rm(r)),De=vy(Rm(c));if(De.length<B.length)return!1;let ke=x?L0:my;for(let Be=0;Be<B.length;Be++)if(!(Be===0?L0:ke)(B[Be],De[Be]))return!1;return!0}function Ige(r,c,f){let x=f(r),B=f(c);return ae(x,B+\"/\")||ae(x,B+\"\\\\\")}function VO(r,c,f,x){let B=vy(Rm(r)),De=vy(Rm(c)),ke;for(ke=0;ke<B.length&&ke<De.length;ke++){let wn=x(B[ke]),st=x(De[ke]);if(!(ke===0?L0:f)(wn,st))break}if(ke===0)return De;let Be=De.slice(ke),te=[];for(;ke<B.length;ke++)te.push(\"..\");return[\"\",...te,...Be]}function MY(r,c,f){Bn.assert(Mm(r)>0==Mm(c)>0,\"Paths must either both be absolute or both be relative\");let x=VO(r,c,typeof f==\"boolean\"&&f?L0:my,typeof f==\"function\"?f:ec);return OC(x)}function Fge(r,c,f){return Nw(r)?HO(c,r,c,f,!1):r}function Pge(r,c,f){return jO(MY(by(r),c,f))}function HO(r,c,f,x,B){let De=VO(BO(f,r),BO(f,c),my,x),ke=De[0];if(B&&Nw(ke)){let Be=ke.charAt(0)===w_?\"file://\":\"file:///\";De[0]=Be+ke}return OC(De)}function RY(r,c){for(;;){let f=c(r);if(f!==void 0)return f;let x=by(r);if(x===r)return;r=x}}function Oge(r){return ge(r,\"/node_modules\")}var w_,$O,zO,BY,cT,Mge=ve({\"src/compiler/path.ts\"(){Qp(),w_=\"/\",$O=\"\\\\\",zO=\"://\",BY=/\\\\/g,cT=/(?:\\/\\/)|(?:^|\\/)\\.\\.?(?:$|\\/)/}});function m(r,c,f,x,B,De,ke){return{code:r,category:c,key:f,message:x,reportsUnnecessary:B,elidedInCompatabilityPyramid:De,reportsDeprecated:ke}}var ns,Rge=ve({\"src/compiler/diagnosticInformationMap.generated.ts\"(){LY(),ns={Unterminated_string_literal:m(1002,1,\"Unterminated_string_literal_1002\",\"Unterminated string literal.\"),Identifier_expected:m(1003,1,\"Identifier_expected_1003\",\"Identifier expected.\"),_0_expected:m(1005,1,\"_0_expected_1005\",\"'{0}' expected.\"),A_file_cannot_have_a_reference_to_itself:m(1006,1,\"A_file_cannot_have_a_reference_to_itself_1006\",\"A file cannot have a reference to itself.\"),The_parser_expected_to_find_a_1_to_match_the_0_token_here:m(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.\"),Trailing_comma_not_allowed:m(1009,1,\"Trailing_comma_not_allowed_1009\",\"Trailing comma not allowed.\"),Asterisk_Slash_expected:m(1010,1,\"Asterisk_Slash_expected_1010\",\"'*/' expected.\"),An_element_access_expression_should_take_an_argument:m(1011,1,\"An_element_access_expression_should_take_an_argument_1011\",\"An element access expression should take an argument.\"),Unexpected_token:m(1012,1,\"Unexpected_token_1012\",\"Unexpected token.\"),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:m(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.\"),A_rest_parameter_must_be_last_in_a_parameter_list:m(1014,1,\"A_rest_parameter_must_be_last_in_a_parameter_list_1014\",\"A rest parameter must be last in a parameter list.\"),Parameter_cannot_have_question_mark_and_initializer:m(1015,1,\"Parameter_cannot_have_question_mark_and_initializer_1015\",\"Parameter cannot have question mark and initializer.\"),A_required_parameter_cannot_follow_an_optional_parameter:m(1016,1,\"A_required_parameter_cannot_follow_an_optional_parameter_1016\",\"A required parameter cannot follow an optional parameter.\"),An_index_signature_cannot_have_a_rest_parameter:m(1017,1,\"An_index_signature_cannot_have_a_rest_parameter_1017\",\"An index signature cannot have a rest parameter.\"),An_index_signature_parameter_cannot_have_an_accessibility_modifier:m(1018,1,\"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018\",\"An index signature parameter cannot have an accessibility modifier.\"),An_index_signature_parameter_cannot_have_a_question_mark:m(1019,1,\"An_index_signature_parameter_cannot_have_a_question_mark_1019\",\"An index signature parameter cannot have a question mark.\"),An_index_signature_parameter_cannot_have_an_initializer:m(1020,1,\"An_index_signature_parameter_cannot_have_an_initializer_1020\",\"An index signature parameter cannot have an initializer.\"),An_index_signature_must_have_a_type_annotation:m(1021,1,\"An_index_signature_must_have_a_type_annotation_1021\",\"An index signature must have a type annotation.\"),An_index_signature_parameter_must_have_a_type_annotation:m(1022,1,\"An_index_signature_parameter_must_have_a_type_annotation_1022\",\"An index signature parameter must have a type annotation.\"),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:m(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.\"),An_index_signature_cannot_have_a_trailing_comma:m(1025,1,\"An_index_signature_cannot_have_a_trailing_comma_1025\",\"An index signature cannot have a trailing comma.\"),Accessibility_modifier_already_seen:m(1028,1,\"Accessibility_modifier_already_seen_1028\",\"Accessibility modifier already seen.\"),_0_modifier_must_precede_1_modifier:m(1029,1,\"_0_modifier_must_precede_1_modifier_1029\",\"'{0}' modifier must precede '{1}' modifier.\"),_0_modifier_already_seen:m(1030,1,\"_0_modifier_already_seen_1030\",\"'{0}' modifier already seen.\"),_0_modifier_cannot_appear_on_class_elements_of_this_kind:m(1031,1,\"_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031\",\"'{0}' modifier cannot appear on class elements of this kind.\"),super_must_be_followed_by_an_argument_list_or_member_access:m(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.\"),Only_ambient_modules_can_use_quoted_names:m(1035,1,\"Only_ambient_modules_can_use_quoted_names_1035\",\"Only ambient modules can use quoted names.\"),Statements_are_not_allowed_in_ambient_contexts:m(1036,1,\"Statements_are_not_allowed_in_ambient_contexts_1036\",\"Statements are not allowed in ambient contexts.\"),A_declare_modifier_cannot_be_used_in_an_already_ambient_context:m(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.\"),Initializers_are_not_allowed_in_ambient_contexts:m(1039,1,\"Initializers_are_not_allowed_in_ambient_contexts_1039\",\"Initializers are not allowed in ambient contexts.\"),_0_modifier_cannot_be_used_in_an_ambient_context:m(1040,1,\"_0_modifier_cannot_be_used_in_an_ambient_context_1040\",\"'{0}' modifier cannot be used in an ambient context.\"),_0_modifier_cannot_be_used_here:m(1042,1,\"_0_modifier_cannot_be_used_here_1042\",\"'{0}' modifier cannot be used here.\"),_0_modifier_cannot_appear_on_a_module_or_namespace_element:m(1044,1,\"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044\",\"'{0}' modifier cannot appear on a module or namespace element.\"),Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier:m(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.\"),A_rest_parameter_cannot_be_optional:m(1047,1,\"A_rest_parameter_cannot_be_optional_1047\",\"A rest parameter cannot be optional.\"),A_rest_parameter_cannot_have_an_initializer:m(1048,1,\"A_rest_parameter_cannot_have_an_initializer_1048\",\"A rest parameter cannot have an initializer.\"),A_set_accessor_must_have_exactly_one_parameter:m(1049,1,\"A_set_accessor_must_have_exactly_one_parameter_1049\",\"A 'set' accessor must have exactly one parameter.\"),A_set_accessor_cannot_have_an_optional_parameter:m(1051,1,\"A_set_accessor_cannot_have_an_optional_parameter_1051\",\"A 'set' accessor cannot have an optional parameter.\"),A_set_accessor_parameter_cannot_have_an_initializer:m(1052,1,\"A_set_accessor_parameter_cannot_have_an_initializer_1052\",\"A 'set' accessor parameter cannot have an initializer.\"),A_set_accessor_cannot_have_rest_parameter:m(1053,1,\"A_set_accessor_cannot_have_rest_parameter_1053\",\"A 'set' accessor cannot have rest parameter.\"),A_get_accessor_cannot_have_parameters:m(1054,1,\"A_get_accessor_cannot_have_parameters_1054\",\"A 'get' accessor cannot have parameters.\"),Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:m(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.\"),Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:m(1056,1,\"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056\",\"Accessors are only available when targeting ECMAScript 5 and higher.\"),The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:m(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.\"),A_promise_must_have_a_then_method:m(1059,1,\"A_promise_must_have_a_then_method_1059\",\"A promise must have a 'then' method.\"),The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:m(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.\"),Enum_member_must_have_initializer:m(1061,1,\"Enum_member_must_have_initializer_1061\",\"Enum member must have initializer.\"),Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:m(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.\"),An_export_assignment_cannot_be_used_in_a_namespace:m(1063,1,\"An_export_assignment_cannot_be_used_in_a_namespace_1063\",\"An export assignment cannot be used in a namespace.\"),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0:m(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}>'?\"),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:m(1066,1,\"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066\",\"In ambient enum declarations member initializer must be constant expression.\"),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:m(1068,1,\"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068\",\"Unexpected token. A constructor, method, accessor, or property was expected.\"),Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces:m(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.\"),_0_modifier_cannot_appear_on_a_type_member:m(1070,1,\"_0_modifier_cannot_appear_on_a_type_member_1070\",\"'{0}' modifier cannot appear on a type member.\"),_0_modifier_cannot_appear_on_an_index_signature:m(1071,1,\"_0_modifier_cannot_appear_on_an_index_signature_1071\",\"'{0}' modifier cannot appear on an index signature.\"),A_0_modifier_cannot_be_used_with_an_import_declaration:m(1079,1,\"A_0_modifier_cannot_be_used_with_an_import_declaration_1079\",\"A '{0}' modifier cannot be used with an import declaration.\"),Invalid_reference_directive_syntax:m(1084,1,\"Invalid_reference_directive_syntax_1084\",\"Invalid 'reference' directive syntax.\"),Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:m(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}'.\"),_0_modifier_cannot_appear_on_a_constructor_declaration:m(1089,1,\"_0_modifier_cannot_appear_on_a_constructor_declaration_1089\",\"'{0}' modifier cannot appear on a constructor declaration.\"),_0_modifier_cannot_appear_on_a_parameter:m(1090,1,\"_0_modifier_cannot_appear_on_a_parameter_1090\",\"'{0}' modifier cannot appear on a parameter.\"),Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:m(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.\"),Type_parameters_cannot_appear_on_a_constructor_declaration:m(1092,1,\"Type_parameters_cannot_appear_on_a_constructor_declaration_1092\",\"Type parameters cannot appear on a constructor declaration.\"),Type_annotation_cannot_appear_on_a_constructor_declaration:m(1093,1,\"Type_annotation_cannot_appear_on_a_constructor_declaration_1093\",\"Type annotation cannot appear on a constructor declaration.\"),An_accessor_cannot_have_type_parameters:m(1094,1,\"An_accessor_cannot_have_type_parameters_1094\",\"An accessor cannot have type parameters.\"),A_set_accessor_cannot_have_a_return_type_annotation:m(1095,1,\"A_set_accessor_cannot_have_a_return_type_annotation_1095\",\"A 'set' accessor cannot have a return type annotation.\"),An_index_signature_must_have_exactly_one_parameter:m(1096,1,\"An_index_signature_must_have_exactly_one_parameter_1096\",\"An index signature must have exactly one parameter.\"),_0_list_cannot_be_empty:m(1097,1,\"_0_list_cannot_be_empty_1097\",\"'{0}' list cannot be empty.\"),Type_parameter_list_cannot_be_empty:m(1098,1,\"Type_parameter_list_cannot_be_empty_1098\",\"Type parameter list cannot be empty.\"),Type_argument_list_cannot_be_empty:m(1099,1,\"Type_argument_list_cannot_be_empty_1099\",\"Type argument list cannot be empty.\"),Invalid_use_of_0_in_strict_mode:m(1100,1,\"Invalid_use_of_0_in_strict_mode_1100\",\"Invalid use of '{0}' in strict mode.\"),with_statements_are_not_allowed_in_strict_mode:m(1101,1,\"with_statements_are_not_allowed_in_strict_mode_1101\",\"'with' statements are not allowed in strict mode.\"),delete_cannot_be_called_on_an_identifier_in_strict_mode:m(1102,1,\"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102\",\"'delete' cannot be called on an identifier in strict mode.\"),for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:m(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.\"),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:m(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.\"),A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:m(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.\"),The_left_hand_side_of_a_for_of_statement_may_not_be_async:m(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'.\"),Jump_target_cannot_cross_function_boundary:m(1107,1,\"Jump_target_cannot_cross_function_boundary_1107\",\"Jump target cannot cross function boundary.\"),A_return_statement_can_only_be_used_within_a_function_body:m(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.\"),Expression_expected:m(1109,1,\"Expression_expected_1109\",\"Expression expected.\"),Type_expected:m(1110,1,\"Type_expected_1110\",\"Type expected.\"),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:m(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.\"),Duplicate_label_0:m(1114,1,\"Duplicate_label_0_1114\",\"Duplicate label '{0}'.\"),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:m(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.\"),A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:m(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.\"),An_object_literal_cannot_have_multiple_properties_with_the_same_name:m(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.\"),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:m(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.\"),An_object_literal_cannot_have_property_and_accessor_with_the_same_name:m(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.\"),An_export_assignment_cannot_have_modifiers:m(1120,1,\"An_export_assignment_cannot_have_modifiers_1120\",\"An export assignment cannot have modifiers.\"),Octal_literals_are_not_allowed_in_strict_mode:m(1121,1,\"Octal_literals_are_not_allowed_in_strict_mode_1121\",\"Octal literals are not allowed in strict mode.\"),Variable_declaration_list_cannot_be_empty:m(1123,1,\"Variable_declaration_list_cannot_be_empty_1123\",\"Variable declaration list cannot be empty.\"),Digit_expected:m(1124,1,\"Digit_expected_1124\",\"Digit expected.\"),Hexadecimal_digit_expected:m(1125,1,\"Hexadecimal_digit_expected_1125\",\"Hexadecimal digit expected.\"),Unexpected_end_of_text:m(1126,1,\"Unexpected_end_of_text_1126\",\"Unexpected end of text.\"),Invalid_character:m(1127,1,\"Invalid_character_1127\",\"Invalid character.\"),Declaration_or_statement_expected:m(1128,1,\"Declaration_or_statement_expected_1128\",\"Declaration or statement expected.\"),Statement_expected:m(1129,1,\"Statement_expected_1129\",\"Statement expected.\"),case_or_default_expected:m(1130,1,\"case_or_default_expected_1130\",\"'case' or 'default' expected.\"),Property_or_signature_expected:m(1131,1,\"Property_or_signature_expected_1131\",\"Property or signature expected.\"),Enum_member_expected:m(1132,1,\"Enum_member_expected_1132\",\"Enum member expected.\"),Variable_declaration_expected:m(1134,1,\"Variable_declaration_expected_1134\",\"Variable declaration expected.\"),Argument_expression_expected:m(1135,1,\"Argument_expression_expected_1135\",\"Argument expression expected.\"),Property_assignment_expected:m(1136,1,\"Property_assignment_expected_1136\",\"Property assignment expected.\"),Expression_or_comma_expected:m(1137,1,\"Expression_or_comma_expected_1137\",\"Expression or comma expected.\"),Parameter_declaration_expected:m(1138,1,\"Parameter_declaration_expected_1138\",\"Parameter declaration expected.\"),Type_parameter_declaration_expected:m(1139,1,\"Type_parameter_declaration_expected_1139\",\"Type parameter declaration expected.\"),Type_argument_expected:m(1140,1,\"Type_argument_expected_1140\",\"Type argument expected.\"),String_literal_expected:m(1141,1,\"String_literal_expected_1141\",\"String literal expected.\"),Line_break_not_permitted_here:m(1142,1,\"Line_break_not_permitted_here_1142\",\"Line break not permitted here.\"),or_expected:m(1144,1,\"or_expected_1144\",\"'{' or ';' expected.\"),or_JSX_element_expected:m(1145,1,\"or_JSX_element_expected_1145\",\"'{' or JSX element expected.\"),Declaration_expected:m(1146,1,\"Declaration_expected_1146\",\"Declaration expected.\"),Import_declarations_in_a_namespace_cannot_reference_a_module:m(1147,1,\"Import_declarations_in_a_namespace_cannot_reference_a_module_1147\",\"Import declarations in a namespace cannot reference a module.\"),Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:m(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'.\"),File_name_0_differs_from_already_included_file_name_1_only_in_casing:m(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.\"),const_declarations_must_be_initialized:m(1155,1,\"const_declarations_must_be_initialized_1155\",\"'const' declarations must be initialized.\"),const_declarations_can_only_be_declared_inside_a_block:m(1156,1,\"const_declarations_can_only_be_declared_inside_a_block_1156\",\"'const' declarations can only be declared inside a block.\"),let_declarations_can_only_be_declared_inside_a_block:m(1157,1,\"let_declarations_can_only_be_declared_inside_a_block_1157\",\"'let' declarations can only be declared inside a block.\"),Unterminated_template_literal:m(1160,1,\"Unterminated_template_literal_1160\",\"Unterminated template literal.\"),Unterminated_regular_expression_literal:m(1161,1,\"Unterminated_regular_expression_literal_1161\",\"Unterminated regular expression literal.\"),An_object_member_cannot_be_declared_optional:m(1162,1,\"An_object_member_cannot_be_declared_optional_1162\",\"An object member cannot be declared optional.\"),A_yield_expression_is_only_allowed_in_a_generator_body:m(1163,1,\"A_yield_expression_is_only_allowed_in_a_generator_body_1163\",\"A 'yield' expression is only allowed in a generator body.\"),Computed_property_names_are_not_allowed_in_enums:m(1164,1,\"Computed_property_names_are_not_allowed_in_enums_1164\",\"Computed property names are not allowed in enums.\"),A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:m(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.\"),A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type:m(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.\"),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:m(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.\"),A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:m(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.\"),A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:m(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.\"),A_comma_expression_is_not_allowed_in_a_computed_property_name:m(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.\"),extends_clause_already_seen:m(1172,1,\"extends_clause_already_seen_1172\",\"'extends' clause already seen.\"),extends_clause_must_precede_implements_clause:m(1173,1,\"extends_clause_must_precede_implements_clause_1173\",\"'extends' clause must precede 'implements' clause.\"),Classes_can_only_extend_a_single_class:m(1174,1,\"Classes_can_only_extend_a_single_class_1174\",\"Classes can only extend a single class.\"),implements_clause_already_seen:m(1175,1,\"implements_clause_already_seen_1175\",\"'implements' clause already seen.\"),Interface_declaration_cannot_have_implements_clause:m(1176,1,\"Interface_declaration_cannot_have_implements_clause_1176\",\"Interface declaration cannot have 'implements' clause.\"),Binary_digit_expected:m(1177,1,\"Binary_digit_expected_1177\",\"Binary digit expected.\"),Octal_digit_expected:m(1178,1,\"Octal_digit_expected_1178\",\"Octal digit expected.\"),Unexpected_token_expected:m(1179,1,\"Unexpected_token_expected_1179\",\"Unexpected token. '{' expected.\"),Property_destructuring_pattern_expected:m(1180,1,\"Property_destructuring_pattern_expected_1180\",\"Property destructuring pattern expected.\"),Array_element_destructuring_pattern_expected:m(1181,1,\"Array_element_destructuring_pattern_expected_1181\",\"Array element destructuring pattern expected.\"),A_destructuring_declaration_must_have_an_initializer:m(1182,1,\"A_destructuring_declaration_must_have_an_initializer_1182\",\"A destructuring declaration must have an initializer.\"),An_implementation_cannot_be_declared_in_ambient_contexts:m(1183,1,\"An_implementation_cannot_be_declared_in_ambient_contexts_1183\",\"An implementation cannot be declared in ambient contexts.\"),Modifiers_cannot_appear_here:m(1184,1,\"Modifiers_cannot_appear_here_1184\",\"Modifiers cannot appear here.\"),Merge_conflict_marker_encountered:m(1185,1,\"Merge_conflict_marker_encountered_1185\",\"Merge conflict marker encountered.\"),A_rest_element_cannot_have_an_initializer:m(1186,1,\"A_rest_element_cannot_have_an_initializer_1186\",\"A rest element cannot have an initializer.\"),A_parameter_property_may_not_be_declared_using_a_binding_pattern:m(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.\"),Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:m(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.\"),The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:m(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.\"),The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:m(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.\"),An_import_declaration_cannot_have_modifiers:m(1191,1,\"An_import_declaration_cannot_have_modifiers_1191\",\"An import declaration cannot have modifiers.\"),Module_0_has_no_default_export:m(1192,1,\"Module_0_has_no_default_export_1192\",\"Module '{0}' has no default export.\"),An_export_declaration_cannot_have_modifiers:m(1193,1,\"An_export_declaration_cannot_have_modifiers_1193\",\"An export declaration cannot have modifiers.\"),Export_declarations_are_not_permitted_in_a_namespace:m(1194,1,\"Export_declarations_are_not_permitted_in_a_namespace_1194\",\"Export declarations are not permitted in a namespace.\"),export_Asterisk_does_not_re_export_a_default:m(1195,1,\"export_Asterisk_does_not_re_export_a_default_1195\",\"'export *' does not re-export a default.\"),Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified:m(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.\"),Catch_clause_variable_cannot_have_an_initializer:m(1197,1,\"Catch_clause_variable_cannot_have_an_initializer_1197\",\"Catch clause variable cannot have an initializer.\"),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:m(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.\"),Unterminated_Unicode_escape_sequence:m(1199,1,\"Unterminated_Unicode_escape_sequence_1199\",\"Unterminated Unicode escape sequence.\"),Line_terminator_not_permitted_before_arrow:m(1200,1,\"Line_terminator_not_permitted_before_arrow_1200\",\"Line terminator not permitted before arrow.\"),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:m(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.`),Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead:m(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.\"),Re_exporting_a_type_when_0_is_enabled_requires_using_export_type:m(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'.\"),Decorators_are_not_valid_here:m(1206,1,\"Decorators_are_not_valid_here_1206\",\"Decorators are not valid here.\"),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:m(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.\"),Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0:m(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}()'?\"),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:m(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.\"),A_class_declaration_without_the_default_modifier_must_have_a_name:m(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.\"),Identifier_expected_0_is_a_reserved_word_in_strict_mode:m(1212,1,\"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212\",\"Identifier expected. '{0}' is a reserved word in strict mode.\"),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:m(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.\"),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:m(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.\"),Invalid_use_of_0_Modules_are_automatically_in_strict_mode:m(1215,1,\"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215\",\"Invalid use of '{0}'. Modules are automatically in strict mode.\"),Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:m(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.\"),Export_assignment_is_not_supported_when_module_flag_is_system:m(1218,1,\"Export_assignment_is_not_supported_when_module_flag_is_system_1218\",\"Export assignment is not supported when '--module' flag is 'system'.\"),Generators_are_not_allowed_in_an_ambient_context:m(1221,1,\"Generators_are_not_allowed_in_an_ambient_context_1221\",\"Generators are not allowed in an ambient context.\"),An_overload_signature_cannot_be_declared_as_a_generator:m(1222,1,\"An_overload_signature_cannot_be_declared_as_a_generator_1222\",\"An overload signature cannot be declared as a generator.\"),_0_tag_already_specified:m(1223,1,\"_0_tag_already_specified_1223\",\"'{0}' tag already specified.\"),Signature_0_must_be_a_type_predicate:m(1224,1,\"Signature_0_must_be_a_type_predicate_1224\",\"Signature '{0}' must be a type predicate.\"),Cannot_find_parameter_0:m(1225,1,\"Cannot_find_parameter_0_1225\",\"Cannot find parameter '{0}'.\"),Type_predicate_0_is_not_assignable_to_1:m(1226,1,\"Type_predicate_0_is_not_assignable_to_1_1226\",\"Type predicate '{0}' is not assignable to '{1}'.\"),Parameter_0_is_not_in_the_same_position_as_parameter_1:m(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}'.\"),A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:m(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.\"),A_type_predicate_cannot_reference_a_rest_parameter:m(1229,1,\"A_type_predicate_cannot_reference_a_rest_parameter_1229\",\"A type predicate cannot reference a rest parameter.\"),A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:m(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.\"),An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:m(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.\"),An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:m(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.\"),An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:m(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.\"),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:m(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.\"),A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module:m(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.\"),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:m(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'.\"),The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:m(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'.\"),Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:m(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.\"),Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:m(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.\"),Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:m(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.\"),Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:m(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.\"),abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:m(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.\"),_0_modifier_cannot_be_used_with_1_modifier:m(1243,1,\"_0_modifier_cannot_be_used_with_1_modifier_1243\",\"'{0}' modifier cannot be used with '{1}' modifier.\"),Abstract_methods_can_only_appear_within_an_abstract_class:m(1244,1,\"Abstract_methods_can_only_appear_within_an_abstract_class_1244\",\"Abstract methods can only appear within an abstract class.\"),Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:m(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.\"),An_interface_property_cannot_have_an_initializer:m(1246,1,\"An_interface_property_cannot_have_an_initializer_1246\",\"An interface property cannot have an initializer.\"),A_type_literal_property_cannot_have_an_initializer:m(1247,1,\"A_type_literal_property_cannot_have_an_initializer_1247\",\"A type literal property cannot have an initializer.\"),A_class_member_cannot_have_the_0_keyword:m(1248,1,\"A_class_member_cannot_have_the_0_keyword_1248\",\"A class member cannot have the '{0}' keyword.\"),A_decorator_can_only_decorate_a_method_implementation_not_an_overload:m(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.\"),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5:m(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'.\"),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:m(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.\"),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:m(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.\"),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:m(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.\"),A_definite_assignment_assertion_is_not_permitted_in_this_context:m(1255,1,\"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255\",\"A definite assignment assertion '!' is not permitted in this context.\"),A_required_element_cannot_follow_an_optional_element:m(1257,1,\"A_required_element_cannot_follow_an_optional_element_1257\",\"A required element cannot follow an optional element.\"),A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration:m(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.\"),Module_0_can_only_be_default_imported_using_the_1_flag:m(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\"),Keywords_cannot_contain_escape_characters:m(1260,1,\"Keywords_cannot_contain_escape_characters_1260\",\"Keywords cannot contain escape characters.\"),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:m(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.\"),Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module:m(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.\"),Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:m(1263,1,\"Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263\",\"Declarations with initializers cannot also have definite assignment assertions.\"),Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:m(1264,1,\"Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264\",\"Declarations with definite assignment assertions must also have type annotations.\"),A_rest_element_cannot_follow_another_rest_element:m(1265,1,\"A_rest_element_cannot_follow_another_rest_element_1265\",\"A rest element cannot follow another rest element.\"),An_optional_element_cannot_follow_a_rest_element:m(1266,1,\"An_optional_element_cannot_follow_a_rest_element_1266\",\"An optional element cannot follow a rest element.\"),Property_0_cannot_have_an_initializer_because_it_is_marked_abstract:m(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.\"),An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type:m(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.\"),Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled:m(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.\"),Decorator_function_return_type_0_is_not_assignable_to_type_1:m(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}'.\"),Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any:m(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'.\"),A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled:m(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.\"),_0_modifier_cannot_appear_on_a_type_parameter:m(1273,1,\"_0_modifier_cannot_appear_on_a_type_parameter_1273\",\"'{0}' modifier cannot appear on a type parameter\"),_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias:m(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\"),accessor_modifier_can_only_appear_on_a_property_declaration:m(1275,1,\"accessor_modifier_can_only_appear_on_a_property_declaration_1275\",\"'accessor' modifier can only appear on a property declaration.\"),An_accessor_property_cannot_be_declared_optional:m(1276,1,\"An_accessor_property_cannot_be_declared_optional_1276\",\"An 'accessor' property cannot be declared optional.\"),_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class:m(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\"),The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0:m(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}.\"),The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0:m(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}.\"),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:m(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.\"),Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead:m(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.\"),An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:m(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.\"),An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:m(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.\"),An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:m(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.\"),An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:m(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.\"),ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:m(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.\"),A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:m(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.\"),An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled:m(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.\"),with_statements_are_not_allowed_in_an_async_function_block:m(1300,1,\"with_statements_are_not_allowed_in_an_async_function_block_1300\",\"'with' statements are not allowed in an async function block.\"),await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:m(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.\"),The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level:m(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.\"),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:m(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.\"),The_body_of_an_if_statement_cannot_be_the_empty_statement:m(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.\"),Global_module_exports_may_only_appear_in_module_files:m(1314,1,\"Global_module_exports_may_only_appear_in_module_files_1314\",\"Global module exports may only appear in module files.\"),Global_module_exports_may_only_appear_in_declaration_files:m(1315,1,\"Global_module_exports_may_only_appear_in_declaration_files_1315\",\"Global module exports may only appear in declaration files.\"),Global_module_exports_may_only_appear_at_top_level:m(1316,1,\"Global_module_exports_may_only_appear_at_top_level_1316\",\"Global module exports may only appear at top level.\"),A_parameter_property_cannot_be_declared_using_a_rest_parameter:m(1317,1,\"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317\",\"A parameter property cannot be declared using a rest parameter.\"),An_abstract_accessor_cannot_have_an_implementation:m(1318,1,\"An_abstract_accessor_cannot_have_an_implementation_1318\",\"An abstract accessor cannot have an implementation.\"),A_default_export_can_only_be_used_in_an_ECMAScript_style_module:m(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.\"),Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:m(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.\"),Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:m(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.\"),Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:m(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.\"),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext:m(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'.\"),Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nodenext:m(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'.\"),Argument_of_dynamic_import_cannot_be_spread_element:m(1325,1,\"Argument_of_dynamic_import_cannot_be_spread_element_1325\",\"Argument of dynamic import cannot be spread element.\"),This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments:m(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.\"),String_literal_with_double_quotes_expected:m(1327,1,\"String_literal_with_double_quotes_expected_1327\",\"String literal with double quotes expected.\"),Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal:m(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.\"),_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0:m(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}()'?\"),A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly:m(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'.\"),A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly:m(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'.\"),A_variable_whose_type_is_a_unique_symbol_type_must_be_const:m(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'.\"),unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name:m(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.\"),unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement:m(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.\"),unique_symbol_types_are_not_allowed_here:m(1335,1,\"unique_symbol_types_are_not_allowed_here_1335\",\"'unique symbol' types are not allowed here.\"),An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead:m(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.\"),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:m(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.\"),Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:m(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.\"),Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0:m(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}')'?\"),Class_constructor_may_not_be_an_accessor:m(1341,1,\"Class_constructor_may_not_be_an_accessor_1341\",\"Class constructor may not be an accessor.\"),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext:m(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'.\"),A_label_is_not_allowed_here:m(1344,1,\"A_label_is_not_allowed_here_1344\",\"'A label is not allowed here.\"),An_expression_of_type_void_cannot_be_tested_for_truthiness:m(1345,1,\"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345\",\"An expression of type 'void' cannot be tested for truthiness.\"),This_parameter_is_not_allowed_with_use_strict_directive:m(1346,1,\"This_parameter_is_not_allowed_with_use_strict_directive_1346\",\"This parameter is not allowed with 'use strict' directive.\"),use_strict_directive_cannot_be_used_with_non_simple_parameter_list:m(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.\"),Non_simple_parameter_declared_here:m(1348,1,\"Non_simple_parameter_declared_here_1348\",\"Non-simple parameter declared here.\"),use_strict_directive_used_here:m(1349,1,\"use_strict_directive_used_here_1349\",\"'use strict' directive used here.\"),Print_the_final_configuration_instead_of_building:m(1350,3,\"Print_the_final_configuration_instead_of_building_1350\",\"Print the final configuration instead of building.\"),An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal:m(1351,1,\"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351\",\"An identifier or keyword cannot immediately follow a numeric literal.\"),A_bigint_literal_cannot_use_exponential_notation:m(1352,1,\"A_bigint_literal_cannot_use_exponential_notation_1352\",\"A bigint literal cannot use exponential notation.\"),A_bigint_literal_must_be_an_integer:m(1353,1,\"A_bigint_literal_must_be_an_integer_1353\",\"A bigint literal must be an integer.\"),readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types:m(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.\"),A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals:m(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.\"),Did_you_mean_to_mark_this_function_as_async:m(1356,1,\"Did_you_mean_to_mark_this_function_as_async_1356\",\"Did you mean to mark this function as 'async'?\"),An_enum_member_name_must_be_followed_by_a_or:m(1357,1,\"An_enum_member_name_must_be_followed_by_a_or_1357\",\"An enum member name must be followed by a ',', '=', or '}'.\"),Tagged_template_expressions_are_not_permitted_in_an_optional_chain:m(1358,1,\"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358\",\"Tagged template expressions are not permitted in an optional chain.\"),Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:m(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.\"),Type_0_does_not_satisfy_the_expected_type_1:m(1360,1,\"Type_0_does_not_satisfy_the_expected_type_1_1360\",\"Type '{0}' does not satisfy the expected type '{1}'.\"),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:m(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'.\"),_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:m(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'.\"),A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both:m(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.\"),Convert_to_type_only_export:m(1364,3,\"Convert_to_type_only_export_1364\",\"Convert to type-only export\"),Convert_all_re_exported_types_to_type_only_exports:m(1365,3,\"Convert_all_re_exported_types_to_type_only_exports_1365\",\"Convert all re-exported types to type-only exports\"),Split_into_two_separate_import_declarations:m(1366,3,\"Split_into_two_separate_import_declarations_1366\",\"Split into two separate import declarations\"),Split_all_invalid_type_only_imports:m(1367,3,\"Split_all_invalid_type_only_imports_1367\",\"Split all invalid type-only imports\"),Class_constructor_may_not_be_a_generator:m(1368,1,\"Class_constructor_may_not_be_a_generator_1368\",\"Class constructor may not be a generator.\"),Did_you_mean_0:m(1369,3,\"Did_you_mean_0_1369\",\"Did you mean '{0}'?\"),This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error:m(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'.\"),Convert_to_type_only_import:m(1373,3,\"Convert_to_type_only_import_1373\",\"Convert to type-only import\"),Convert_all_imports_not_used_as_a_value_to_type_only_imports:m(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\"),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:m(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.\"),_0_was_imported_here:m(1376,3,\"_0_was_imported_here_1376\",\"'{0}' was imported here.\"),_0_was_exported_here:m(1377,3,\"_0_was_exported_here_1377\",\"'{0}' was exported here.\"),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:m(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.\"),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:m(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'.\"),An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type:m(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'.\"),Unexpected_token_Did_you_mean_or_rbrace:m(1381,1,\"Unexpected_token_Did_you_mean_or_rbrace_1381\",\"Unexpected token. Did you mean `{'}'}` or `&rbrace;`?\"),Unexpected_token_Did_you_mean_or_gt:m(1382,1,\"Unexpected_token_Did_you_mean_or_gt_1382\",\"Unexpected token. Did you mean `{'>'}` or `&gt;`?\"),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:m(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.\"),Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:m(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.\"),Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:m(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.\"),Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:m(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.\"),_0_is_not_allowed_as_a_variable_declaration_name:m(1389,1,\"_0_is_not_allowed_as_a_variable_declaration_name_1389\",\"'{0}' is not allowed as a variable declaration name.\"),_0_is_not_allowed_as_a_parameter_name:m(1390,1,\"_0_is_not_allowed_as_a_parameter_name_1390\",\"'{0}' is not allowed as a parameter name.\"),An_import_alias_cannot_use_import_type:m(1392,1,\"An_import_alias_cannot_use_import_type_1392\",\"An import alias cannot use 'import type'\"),Imported_via_0_from_file_1:m(1393,3,\"Imported_via_0_from_file_1_1393\",\"Imported via {0} from file '{1}'\"),Imported_via_0_from_file_1_with_packageId_2:m(1394,3,\"Imported_via_0_from_file_1_with_packageId_2_1394\",\"Imported via {0} from file '{1}' with packageId '{2}'\"),Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:m(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\"),Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:m(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\"),Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions:m(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\"),Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:m(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\"),File_is_included_via_import_here:m(1399,3,\"File_is_included_via_import_here_1399\",\"File is included via import here.\"),Referenced_via_0_from_file_1:m(1400,3,\"Referenced_via_0_from_file_1_1400\",\"Referenced via '{0}' from file '{1}'\"),File_is_included_via_reference_here:m(1401,3,\"File_is_included_via_reference_here_1401\",\"File is included via reference here.\"),Type_library_referenced_via_0_from_file_1:m(1402,3,\"Type_library_referenced_via_0_from_file_1_1402\",\"Type library referenced via '{0}' from file '{1}'\"),Type_library_referenced_via_0_from_file_1_with_packageId_2:m(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}'\"),File_is_included_via_type_library_reference_here:m(1404,3,\"File_is_included_via_type_library_reference_here_1404\",\"File is included via type library reference here.\"),Library_referenced_via_0_from_file_1:m(1405,3,\"Library_referenced_via_0_from_file_1_1405\",\"Library referenced via '{0}' from file '{1}'\"),File_is_included_via_library_reference_here:m(1406,3,\"File_is_included_via_library_reference_here_1406\",\"File is included via library reference here.\"),Matched_by_include_pattern_0_in_1:m(1407,3,\"Matched_by_include_pattern_0_in_1_1407\",\"Matched by include pattern '{0}' in '{1}'\"),File_is_matched_by_include_pattern_specified_here:m(1408,3,\"File_is_matched_by_include_pattern_specified_here_1408\",\"File is matched by include pattern specified here.\"),Part_of_files_list_in_tsconfig_json:m(1409,3,\"Part_of_files_list_in_tsconfig_json_1409\",\"Part of 'files' list in tsconfig.json\"),File_is_matched_by_files_list_specified_here:m(1410,3,\"File_is_matched_by_files_list_specified_here_1410\",\"File is matched by 'files' list specified here.\"),Output_from_referenced_project_0_included_because_1_specified:m(1411,3,\"Output_from_referenced_project_0_included_because_1_specified_1411\",\"Output from referenced project '{0}' included because '{1}' specified\"),Output_from_referenced_project_0_included_because_module_is_specified_as_none:m(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'\"),File_is_output_from_referenced_project_specified_here:m(1413,3,\"File_is_output_from_referenced_project_specified_here_1413\",\"File is output from referenced project specified here.\"),Source_from_referenced_project_0_included_because_1_specified:m(1414,3,\"Source_from_referenced_project_0_included_because_1_specified_1414\",\"Source from referenced project '{0}' included because '{1}' specified\"),Source_from_referenced_project_0_included_because_module_is_specified_as_none:m(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'\"),File_is_source_from_referenced_project_specified_here:m(1416,3,\"File_is_source_from_referenced_project_specified_here_1416\",\"File is source from referenced project specified here.\"),Entry_point_of_type_library_0_specified_in_compilerOptions:m(1417,3,\"Entry_point_of_type_library_0_specified_in_compilerOptions_1417\",\"Entry point of type library '{0}' specified in compilerOptions\"),Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1:m(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}'\"),File_is_entry_point_of_type_library_specified_here:m(1419,3,\"File_is_entry_point_of_type_library_specified_here_1419\",\"File is entry point of type library specified here.\"),Entry_point_for_implicit_type_library_0:m(1420,3,\"Entry_point_for_implicit_type_library_0_1420\",\"Entry point for implicit type library '{0}'\"),Entry_point_for_implicit_type_library_0_with_packageId_1:m(1421,3,\"Entry_point_for_implicit_type_library_0_with_packageId_1_1421\",\"Entry point for implicit type library '{0}' with packageId '{1}'\"),Library_0_specified_in_compilerOptions:m(1422,3,\"Library_0_specified_in_compilerOptions_1422\",\"Library '{0}' specified in compilerOptions\"),File_is_library_specified_here:m(1423,3,\"File_is_library_specified_here_1423\",\"File is library specified here.\"),Default_library:m(1424,3,\"Default_library_1424\",\"Default library\"),Default_library_for_target_0:m(1425,3,\"Default_library_for_target_0_1425\",\"Default library for target '{0}'\"),File_is_default_library_for_target_specified_here:m(1426,3,\"File_is_default_library_for_target_specified_here_1426\",\"File is default library for target specified here.\"),Root_file_specified_for_compilation:m(1427,3,\"Root_file_specified_for_compilation_1427\",\"Root file specified for compilation\"),File_is_output_of_project_reference_source_0:m(1428,3,\"File_is_output_of_project_reference_source_0_1428\",\"File is output of project reference source '{0}'\"),File_redirects_to_file_0:m(1429,3,\"File_redirects_to_file_0_1429\",\"File redirects to file '{0}'\"),The_file_is_in_the_program_because_Colon:m(1430,3,\"The_file_is_in_the_program_because_Colon_1430\",\"The file is in the program because:\"),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:m(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.\"),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:m(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.\"),Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters:m(1433,1,\"Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters_1433\",\"Neither decorators nor modifiers may be applied to 'this' parameters.\"),Unexpected_keyword_or_identifier:m(1434,1,\"Unexpected_keyword_or_identifier_1434\",\"Unexpected keyword or identifier.\"),Unknown_keyword_or_identifier_Did_you_mean_0:m(1435,1,\"Unknown_keyword_or_identifier_Did_you_mean_0_1435\",\"Unknown keyword or identifier. Did you mean '{0}'?\"),Decorators_must_precede_the_name_and_all_keywords_of_property_declarations:m(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.\"),Namespace_must_be_given_a_name:m(1437,1,\"Namespace_must_be_given_a_name_1437\",\"Namespace must be given a name.\"),Interface_must_be_given_a_name:m(1438,1,\"Interface_must_be_given_a_name_1438\",\"Interface must be given a name.\"),Type_alias_must_be_given_a_name:m(1439,1,\"Type_alias_must_be_given_a_name_1439\",\"Type alias must be given a name.\"),Variable_declaration_not_allowed_at_this_location:m(1440,1,\"Variable_declaration_not_allowed_at_this_location_1440\",\"Variable declaration not allowed at this location.\"),Cannot_start_a_function_call_in_a_type_annotation:m(1441,1,\"Cannot_start_a_function_call_in_a_type_annotation_1441\",\"Cannot start a function call in a type annotation.\"),Expected_for_property_initializer:m(1442,1,\"Expected_for_property_initializer_1442\",\"Expected '=' for property initializer.\"),Module_declaration_names_may_only_use_or_quoted_strings:m(1443,1,\"Module_declaration_names_may_only_use_or_quoted_strings_1443\",`Module declaration names may only use ' or \" quoted strings.`),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:m(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.\"),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:m(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.\"),_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled:m(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.\"),Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed:m(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.\"),Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments:m(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\"),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:m(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\"),resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext:m(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`.\"),resolution_mode_should_be_either_require_or_import:m(1453,1,\"resolution_mode_should_be_either_require_or_import_1453\",\"`resolution-mode` should be either `require` or `import`.\"),resolution_mode_can_only_be_set_for_type_only_imports:m(1454,1,\"resolution_mode_can_only_be_set_for_type_only_imports_1454\",\"`resolution-mode` can only be set for type-only imports.\"),resolution_mode_is_the_only_valid_key_for_type_import_assertions:m(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.\"),Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require:m(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`.\"),Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk:m(1457,3,\"Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457\",\"Matched by default include pattern '**/*'\"),File_is_ECMAScript_module_because_0_has_field_type_with_value_module:m(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\"`),File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module:m(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\"`),File_is_CommonJS_module_because_0_does_not_have_field_type:m(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\"`),File_is_CommonJS_module_because_package_json_was_not_found:m(1461,3,\"File_is_CommonJS_module_because_package_json_was_not_found_1461\",\"File is CommonJS module because 'package.json' was not found\"),The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output:m(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.\"),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:m(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.\"),catch_or_finally_expected:m(1472,1,\"catch_or_finally_expected_1472\",\"'catch' or 'finally' expected.\"),An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:m(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.\"),An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:m(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.\"),Control_what_method_is_used_to_detect_module_format_JS_files:m(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.\"),auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules:m(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.'),An_instantiation_expression_cannot_be_followed_by_a_property_access:m(1477,1,\"An_instantiation_expression_cannot_be_followed_by_a_property_access_1477\",\"An instantiation expression cannot be followed by a property access.\"),Identifier_or_string_literal_expected:m(1478,1,\"Identifier_or_string_literal_expected_1478\",\"Identifier or string literal expected.\"),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:m(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.`),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:m(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\" }`.'),To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1:m(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}'.`),To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0:m(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}\\'.'),To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module:m(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\" }`.'),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:m(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.\"),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:m(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.\"),Decorator_used_before_export_here:m(1486,1,\"Decorator_used_before_export_here_1486\",\"Decorator used before 'export' here.\"),The_types_of_0_are_incompatible_between_these_types:m(2200,1,\"The_types_of_0_are_incompatible_between_these_types_2200\",\"The types of '{0}' are incompatible between these types.\"),The_types_returned_by_0_are_incompatible_between_these_types:m(2201,1,\"The_types_returned_by_0_are_incompatible_between_these_types_2201\",\"The types returned by '{0}' are incompatible between these types.\"),Call_signature_return_types_0_and_1_are_incompatible:m(2202,1,\"Call_signature_return_types_0_and_1_are_incompatible_2202\",\"Call signature return types '{0}' and '{1}' are incompatible.\",void 0,!0),Construct_signature_return_types_0_and_1_are_incompatible:m(2203,1,\"Construct_signature_return_types_0_and_1_are_incompatible_2203\",\"Construct signature return types '{0}' and '{1}' are incompatible.\",void 0,!0),Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:m(2204,1,\"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204\",\"Call signatures with no arguments have incompatible return types '{0}' and '{1}'.\",void 0,!0),Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:m(2205,1,\"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205\",\"Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.\",void 0,!0),The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:m(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.\"),The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement:m(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.\"),This_type_parameter_might_need_an_extends_0_constraint:m(2208,1,\"This_type_parameter_might_need_an_extends_0_constraint_2208\",\"This type parameter might need an `extends {0}` constraint.\"),The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:m(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.\"),The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:m(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.\"),Add_extends_constraint:m(2211,3,\"Add_extends_constraint_2211\",\"Add `extends` constraint.\"),Add_extends_constraint_to_all_type_parameters:m(2212,3,\"Add_extends_constraint_to_all_type_parameters_2212\",\"Add `extends` constraint to all type parameters\"),Duplicate_identifier_0:m(2300,1,\"Duplicate_identifier_0_2300\",\"Duplicate identifier '{0}'.\"),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:m(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.\"),Static_members_cannot_reference_class_type_parameters:m(2302,1,\"Static_members_cannot_reference_class_type_parameters_2302\",\"Static members cannot reference class type parameters.\"),Circular_definition_of_import_alias_0:m(2303,1,\"Circular_definition_of_import_alias_0_2303\",\"Circular definition of import alias '{0}'.\"),Cannot_find_name_0:m(2304,1,\"Cannot_find_name_0_2304\",\"Cannot find name '{0}'.\"),Module_0_has_no_exported_member_1:m(2305,1,\"Module_0_has_no_exported_member_1_2305\",\"Module '{0}' has no exported member '{1}'.\"),File_0_is_not_a_module:m(2306,1,\"File_0_is_not_a_module_2306\",\"File '{0}' is not a module.\"),Cannot_find_module_0_or_its_corresponding_type_declarations:m(2307,1,\"Cannot_find_module_0_or_its_corresponding_type_declarations_2307\",\"Cannot find module '{0}' or its corresponding type declarations.\"),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:m(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.\"),An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:m(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.\"),Type_0_recursively_references_itself_as_a_base_type:m(2310,1,\"Type_0_recursively_references_itself_as_a_base_type_2310\",\"Type '{0}' recursively references itself as a base type.\"),Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function:m(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?\"),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:m(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.\"),Type_parameter_0_has_a_circular_constraint:m(2313,1,\"Type_parameter_0_has_a_circular_constraint_2313\",\"Type parameter '{0}' has a circular constraint.\"),Generic_type_0_requires_1_type_argument_s:m(2314,1,\"Generic_type_0_requires_1_type_argument_s_2314\",\"Generic type '{0}' requires {1} type argument(s).\"),Type_0_is_not_generic:m(2315,1,\"Type_0_is_not_generic_2315\",\"Type '{0}' is not generic.\"),Global_type_0_must_be_a_class_or_interface_type:m(2316,1,\"Global_type_0_must_be_a_class_or_interface_type_2316\",\"Global type '{0}' must be a class or interface type.\"),Global_type_0_must_have_1_type_parameter_s:m(2317,1,\"Global_type_0_must_have_1_type_parameter_s_2317\",\"Global type '{0}' must have {1} type parameter(s).\"),Cannot_find_global_type_0:m(2318,1,\"Cannot_find_global_type_0_2318\",\"Cannot find global type '{0}'.\"),Named_property_0_of_types_1_and_2_are_not_identical:m(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.\"),Interface_0_cannot_simultaneously_extend_types_1_and_2:m(2320,1,\"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320\",\"Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'.\"),Excessive_stack_depth_comparing_types_0_and_1:m(2321,1,\"Excessive_stack_depth_comparing_types_0_and_1_2321\",\"Excessive stack depth comparing types '{0}' and '{1}'.\"),Type_0_is_not_assignable_to_type_1:m(2322,1,\"Type_0_is_not_assignable_to_type_1_2322\",\"Type '{0}' is not assignable to type '{1}'.\"),Cannot_redeclare_exported_variable_0:m(2323,1,\"Cannot_redeclare_exported_variable_0_2323\",\"Cannot redeclare exported variable '{0}'.\"),Property_0_is_missing_in_type_1:m(2324,1,\"Property_0_is_missing_in_type_1_2324\",\"Property '{0}' is missing in type '{1}'.\"),Property_0_is_private_in_type_1_but_not_in_type_2:m(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}'.\"),Types_of_property_0_are_incompatible:m(2326,1,\"Types_of_property_0_are_incompatible_2326\",\"Types of property '{0}' are incompatible.\"),Property_0_is_optional_in_type_1_but_required_in_type_2:m(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}'.\"),Types_of_parameters_0_and_1_are_incompatible:m(2328,1,\"Types_of_parameters_0_and_1_are_incompatible_2328\",\"Types of parameters '{0}' and '{1}' are incompatible.\"),Index_signature_for_type_0_is_missing_in_type_1:m(2329,1,\"Index_signature_for_type_0_is_missing_in_type_1_2329\",\"Index signature for type '{0}' is missing in type '{1}'.\"),_0_and_1_index_signatures_are_incompatible:m(2330,1,\"_0_and_1_index_signatures_are_incompatible_2330\",\"'{0}' and '{1}' index signatures are incompatible.\"),this_cannot_be_referenced_in_a_module_or_namespace_body:m(2331,1,\"this_cannot_be_referenced_in_a_module_or_namespace_body_2331\",\"'this' cannot be referenced in a module or namespace body.\"),this_cannot_be_referenced_in_current_location:m(2332,1,\"this_cannot_be_referenced_in_current_location_2332\",\"'this' cannot be referenced in current location.\"),this_cannot_be_referenced_in_constructor_arguments:m(2333,1,\"this_cannot_be_referenced_in_constructor_arguments_2333\",\"'this' cannot be referenced in constructor arguments.\"),this_cannot_be_referenced_in_a_static_property_initializer:m(2334,1,\"this_cannot_be_referenced_in_a_static_property_initializer_2334\",\"'this' cannot be referenced in a static property initializer.\"),super_can_only_be_referenced_in_a_derived_class:m(2335,1,\"super_can_only_be_referenced_in_a_derived_class_2335\",\"'super' can only be referenced in a derived class.\"),super_cannot_be_referenced_in_constructor_arguments:m(2336,1,\"super_cannot_be_referenced_in_constructor_arguments_2336\",\"'super' cannot be referenced in constructor arguments.\"),Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:m(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.\"),super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:m(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.\"),Property_0_does_not_exist_on_type_1:m(2339,1,\"Property_0_does_not_exist_on_type_1_2339\",\"Property '{0}' does not exist on type '{1}'.\"),Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:m(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.\"),Property_0_is_private_and_only_accessible_within_class_1:m(2341,1,\"Property_0_is_private_and_only_accessible_within_class_1_2341\",\"Property '{0}' is private and only accessible within class '{1}'.\"),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:m(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}'.\"),Type_0_does_not_satisfy_the_constraint_1:m(2344,1,\"Type_0_does_not_satisfy_the_constraint_1_2344\",\"Type '{0}' does not satisfy the constraint '{1}'.\"),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:m(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}'.\"),Call_target_does_not_contain_any_signatures:m(2346,1,\"Call_target_does_not_contain_any_signatures_2346\",\"Call target does not contain any signatures.\"),Untyped_function_calls_may_not_accept_type_arguments:m(2347,1,\"Untyped_function_calls_may_not_accept_type_arguments_2347\",\"Untyped function calls may not accept type arguments.\"),Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:m(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'?\"),This_expression_is_not_callable:m(2349,1,\"This_expression_is_not_callable_2349\",\"This expression is not callable.\"),Only_a_void_function_can_be_called_with_the_new_keyword:m(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.\"),This_expression_is_not_constructable:m(2351,1,\"This_expression_is_not_constructable_2351\",\"This expression is not constructable.\"),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:m(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.\"),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:m(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}'.\"),This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:m(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.\"),A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value:m(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.\"),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:m(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.\"),The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:m(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.\"),The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:m(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.\"),The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type:m(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.\"),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:m(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.\"),The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:m(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.\"),The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:m(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.\"),Operator_0_cannot_be_applied_to_types_1_and_2:m(2365,1,\"Operator_0_cannot_be_applied_to_types_1_and_2_2365\",\"Operator '{0}' cannot be applied to types '{1}' and '{2}'.\"),Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:m(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'.\"),This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap:m(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.\"),Type_parameter_name_cannot_be_0:m(2368,1,\"Type_parameter_name_cannot_be_0_2368\",\"Type parameter name cannot be '{0}'.\"),A_parameter_property_is_only_allowed_in_a_constructor_implementation:m(2369,1,\"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369\",\"A parameter property is only allowed in a constructor implementation.\"),A_rest_parameter_must_be_of_an_array_type:m(2370,1,\"A_rest_parameter_must_be_of_an_array_type_2370\",\"A rest parameter must be of an array type.\"),A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:m(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.\"),Parameter_0_cannot_reference_itself:m(2372,1,\"Parameter_0_cannot_reference_itself_2372\",\"Parameter '{0}' cannot reference itself.\"),Parameter_0_cannot_reference_identifier_1_declared_after_it:m(2373,1,\"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373\",\"Parameter '{0}' cannot reference identifier '{1}' declared after it.\"),Duplicate_index_signature_for_type_0:m(2374,1,\"Duplicate_index_signature_for_type_0_2374\",\"Duplicate index signature for type '{0}'.\"),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:m(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.\"),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:m(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.\"),Constructors_for_derived_classes_must_contain_a_super_call:m(2377,1,\"Constructors_for_derived_classes_must_contain_a_super_call_2377\",\"Constructors for derived classes must contain a 'super' call.\"),A_get_accessor_must_return_a_value:m(2378,1,\"A_get_accessor_must_return_a_value_2378\",\"A 'get' accessor must return a value.\"),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:m(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.\"),The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type:m(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\"),Overload_signatures_must_all_be_exported_or_non_exported:m(2383,1,\"Overload_signatures_must_all_be_exported_or_non_exported_2383\",\"Overload signatures must all be exported or non-exported.\"),Overload_signatures_must_all_be_ambient_or_non_ambient:m(2384,1,\"Overload_signatures_must_all_be_ambient_or_non_ambient_2384\",\"Overload signatures must all be ambient or non-ambient.\"),Overload_signatures_must_all_be_public_private_or_protected:m(2385,1,\"Overload_signatures_must_all_be_public_private_or_protected_2385\",\"Overload signatures must all be public, private or protected.\"),Overload_signatures_must_all_be_optional_or_required:m(2386,1,\"Overload_signatures_must_all_be_optional_or_required_2386\",\"Overload signatures must all be optional or required.\"),Function_overload_must_be_static:m(2387,1,\"Function_overload_must_be_static_2387\",\"Function overload must be static.\"),Function_overload_must_not_be_static:m(2388,1,\"Function_overload_must_not_be_static_2388\",\"Function overload must not be static.\"),Function_implementation_name_must_be_0:m(2389,1,\"Function_implementation_name_must_be_0_2389\",\"Function implementation name must be '{0}'.\"),Constructor_implementation_is_missing:m(2390,1,\"Constructor_implementation_is_missing_2390\",\"Constructor implementation is missing.\"),Function_implementation_is_missing_or_not_immediately_following_the_declaration:m(2391,1,\"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391\",\"Function implementation is missing or not immediately following the declaration.\"),Multiple_constructor_implementations_are_not_allowed:m(2392,1,\"Multiple_constructor_implementations_are_not_allowed_2392\",\"Multiple constructor implementations are not allowed.\"),Duplicate_function_implementation:m(2393,1,\"Duplicate_function_implementation_2393\",\"Duplicate function implementation.\"),This_overload_signature_is_not_compatible_with_its_implementation_signature:m(2394,1,\"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394\",\"This overload signature is not compatible with its implementation signature.\"),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:m(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.\"),Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:m(2396,1,\"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396\",\"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.\"),Declaration_name_conflicts_with_built_in_global_identifier_0:m(2397,1,\"Declaration_name_conflicts_with_built_in_global_identifier_0_2397\",\"Declaration name conflicts with built-in global identifier '{0}'.\"),constructor_cannot_be_used_as_a_parameter_property_name:m(2398,1,\"constructor_cannot_be_used_as_a_parameter_property_name_2398\",\"'constructor' cannot be used as a parameter property name.\"),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:m(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.\"),Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:m(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.\"),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:m(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.\"),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:m(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.\"),Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:m(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}'.\"),The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:m(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.\"),The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:m(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'.\"),The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:m(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.\"),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:m(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}'.\"),Setters_cannot_return_a_value:m(2408,1,\"Setters_cannot_return_a_value_2408\",\"Setters cannot return a value.\"),Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:m(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.\"),The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:m(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'.\"),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target:m(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.\"),Property_0_of_type_1_is_not_assignable_to_2_index_type_3:m(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}'.\"),_0_index_type_1_is_not_assignable_to_2_index_type_3:m(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}'.\"),Class_name_cannot_be_0:m(2414,1,\"Class_name_cannot_be_0_2414\",\"Class name cannot be '{0}'.\"),Class_0_incorrectly_extends_base_class_1:m(2415,1,\"Class_0_incorrectly_extends_base_class_1_2415\",\"Class '{0}' incorrectly extends base class '{1}'.\"),Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2:m(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}'.\"),Class_static_side_0_incorrectly_extends_base_class_static_side_1:m(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}'.\"),Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:m(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}'.\"),Types_of_construct_signatures_are_incompatible:m(2419,1,\"Types_of_construct_signatures_are_incompatible_2419\",\"Types of construct signatures are incompatible.\"),Class_0_incorrectly_implements_interface_1:m(2420,1,\"Class_0_incorrectly_implements_interface_1_2420\",\"Class '{0}' incorrectly implements interface '{1}'.\"),A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members:m(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.\"),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:m(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.\"),Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:m(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.\"),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:m(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.\"),Interface_name_cannot_be_0:m(2427,1,\"Interface_name_cannot_be_0_2427\",\"Interface name cannot be '{0}'.\"),All_declarations_of_0_must_have_identical_type_parameters:m(2428,1,\"All_declarations_of_0_must_have_identical_type_parameters_2428\",\"All declarations of '{0}' must have identical type parameters.\"),Interface_0_incorrectly_extends_interface_1:m(2430,1,\"Interface_0_incorrectly_extends_interface_1_2430\",\"Interface '{0}' incorrectly extends interface '{1}'.\"),Enum_name_cannot_be_0:m(2431,1,\"Enum_name_cannot_be_0_2431\",\"Enum name cannot be '{0}'.\"),In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:m(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.\"),A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:m(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.\"),A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:m(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.\"),Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:m(2435,1,\"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435\",\"Ambient modules cannot be nested in other modules or namespaces.\"),Ambient_module_declaration_cannot_specify_relative_module_name:m(2436,1,\"Ambient_module_declaration_cannot_specify_relative_module_name_2436\",\"Ambient module declaration cannot specify relative module name.\"),Module_0_is_hidden_by_a_local_declaration_with_the_same_name:m(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.\"),Import_name_cannot_be_0:m(2438,1,\"Import_name_cannot_be_0_2438\",\"Import name cannot be '{0}'.\"),Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:m(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.\"),Import_declaration_conflicts_with_local_declaration_of_0:m(2440,1,\"Import_declaration_conflicts_with_local_declaration_of_0_2440\",\"Import declaration conflicts with local declaration of '{0}'.\"),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:m(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.\"),Types_have_separate_declarations_of_a_private_property_0:m(2442,1,\"Types_have_separate_declarations_of_a_private_property_0_2442\",\"Types have separate declarations of a private property '{0}'.\"),Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:m(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}'.\"),Property_0_is_protected_in_type_1_but_public_in_type_2:m(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}'.\"),Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:m(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.\"),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2:m(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}'.\"),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:m(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.\"),Block_scoped_variable_0_used_before_its_declaration:m(2448,1,\"Block_scoped_variable_0_used_before_its_declaration_2448\",\"Block-scoped variable '{0}' used before its declaration.\"),Class_0_used_before_its_declaration:m(2449,1,\"Class_0_used_before_its_declaration_2449\",\"Class '{0}' used before its declaration.\"),Enum_0_used_before_its_declaration:m(2450,1,\"Enum_0_used_before_its_declaration_2450\",\"Enum '{0}' used before its declaration.\"),Cannot_redeclare_block_scoped_variable_0:m(2451,1,\"Cannot_redeclare_block_scoped_variable_0_2451\",\"Cannot redeclare block-scoped variable '{0}'.\"),An_enum_member_cannot_have_a_numeric_name:m(2452,1,\"An_enum_member_cannot_have_a_numeric_name_2452\",\"An enum member cannot have a numeric name.\"),Variable_0_is_used_before_being_assigned:m(2454,1,\"Variable_0_is_used_before_being_assigned_2454\",\"Variable '{0}' is used before being assigned.\"),Type_alias_0_circularly_references_itself:m(2456,1,\"Type_alias_0_circularly_references_itself_2456\",\"Type alias '{0}' circularly references itself.\"),Type_alias_name_cannot_be_0:m(2457,1,\"Type_alias_name_cannot_be_0_2457\",\"Type alias name cannot be '{0}'.\"),An_AMD_module_cannot_have_multiple_name_assignments:m(2458,1,\"An_AMD_module_cannot_have_multiple_name_assignments_2458\",\"An AMD module cannot have multiple name assignments.\"),Module_0_declares_1_locally_but_it_is_not_exported:m(2459,1,\"Module_0_declares_1_locally_but_it_is_not_exported_2459\",\"Module '{0}' declares '{1}' locally, but it is not exported.\"),Module_0_declares_1_locally_but_it_is_exported_as_2:m(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}'.\"),Type_0_is_not_an_array_type:m(2461,1,\"Type_0_is_not_an_array_type_2461\",\"Type '{0}' is not an array type.\"),A_rest_element_must_be_last_in_a_destructuring_pattern:m(2462,1,\"A_rest_element_must_be_last_in_a_destructuring_pattern_2462\",\"A rest element must be last in a destructuring pattern.\"),A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:m(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.\"),A_computed_property_name_must_be_of_type_string_number_symbol_or_any:m(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'.\"),this_cannot_be_referenced_in_a_computed_property_name:m(2465,1,\"this_cannot_be_referenced_in_a_computed_property_name_2465\",\"'this' cannot be referenced in a computed property name.\"),super_cannot_be_referenced_in_a_computed_property_name:m(2466,1,\"super_cannot_be_referenced_in_a_computed_property_name_2466\",\"'super' cannot be referenced in a computed property name.\"),A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:m(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.\"),Cannot_find_global_value_0:m(2468,1,\"Cannot_find_global_value_0_2468\",\"Cannot find global value '{0}'.\"),The_0_operator_cannot_be_applied_to_type_symbol:m(2469,1,\"The_0_operator_cannot_be_applied_to_type_symbol_2469\",\"The '{0}' operator cannot be applied to type 'symbol'.\"),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:m(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.\"),Enum_declarations_must_all_be_const_or_non_const:m(2473,1,\"Enum_declarations_must_all_be_const_or_non_const_2473\",\"Enum declarations must all be const or non-const.\"),const_enum_member_initializers_must_be_constant_expressions:m(2474,1,\"const_enum_member_initializers_must_be_constant_expressions_2474\",\"const enum member initializers must be constant expressions.\"),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:m(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.\"),A_const_enum_member_can_only_be_accessed_using_a_string_literal:m(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.\"),const_enum_member_initializer_was_evaluated_to_a_non_finite_value:m(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.\"),const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:m(2478,1,\"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478\",\"'const' enum member initializer was evaluated to disallowed value 'NaN'.\"),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:m(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.\"),Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:m(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}'.\"),The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:m(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.\"),Export_declaration_conflicts_with_exported_declaration_of_0:m(2484,1,\"Export_declaration_conflicts_with_exported_declaration_of_0_2484\",\"Export declaration conflicts with exported declaration of '{0}'.\"),The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access:m(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.\"),Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator:m(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.\"),An_iterator_must_have_a_next_method:m(2489,1,\"An_iterator_must_have_a_next_method_2489\",\"An iterator must have a 'next()' method.\"),The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property:m(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.\"),The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:m(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.\"),Cannot_redeclare_identifier_0_in_catch_clause:m(2492,1,\"Cannot_redeclare_identifier_0_in_catch_clause_2492\",\"Cannot redeclare identifier '{0}' in catch clause.\"),Tuple_type_0_of_length_1_has_no_element_at_index_2:m(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}'.\"),Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:m(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.\"),Type_0_is_not_an_array_type_or_a_string_type:m(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.\"),The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression:m(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.\"),This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export:m(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.\"),Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:m(2498,1,\"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498\",\"Module '{0}' uses 'export =' and cannot be used with 'export *'.\"),An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:m(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.\"),A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:m(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.\"),A_rest_element_cannot_contain_a_binding_pattern:m(2501,1,\"A_rest_element_cannot_contain_a_binding_pattern_2501\",\"A rest element cannot contain a binding pattern.\"),_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:m(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.\"),Cannot_find_namespace_0:m(2503,1,\"Cannot_find_namespace_0_2503\",\"Cannot find namespace '{0}'.\"),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:m(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.\"),A_generator_cannot_have_a_void_type_annotation:m(2505,1,\"A_generator_cannot_have_a_void_type_annotation_2505\",\"A generator cannot have a 'void' type annotation.\"),_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:m(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.\"),Type_0_is_not_a_constructor_function_type:m(2507,1,\"Type_0_is_not_a_constructor_function_type_2507\",\"Type '{0}' is not a constructor function type.\"),No_base_constructor_has_the_specified_number_of_type_arguments:m(2508,1,\"No_base_constructor_has_the_specified_number_of_type_arguments_2508\",\"No base constructor has the specified number of type arguments.\"),Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members:m(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.\"),Base_constructors_must_all_have_the_same_return_type:m(2510,1,\"Base_constructors_must_all_have_the_same_return_type_2510\",\"Base constructors must all have the same return type.\"),Cannot_create_an_instance_of_an_abstract_class:m(2511,1,\"Cannot_create_an_instance_of_an_abstract_class_2511\",\"Cannot create an instance of an abstract class.\"),Overload_signatures_must_all_be_abstract_or_non_abstract:m(2512,1,\"Overload_signatures_must_all_be_abstract_or_non_abstract_2512\",\"Overload signatures must all be abstract or non-abstract.\"),Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:m(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.\"),A_tuple_type_cannot_be_indexed_with_a_negative_value:m(2514,1,\"A_tuple_type_cannot_be_indexed_with_a_negative_value_2514\",\"A tuple type cannot be indexed with a negative value.\"),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:m(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}'.\"),All_declarations_of_an_abstract_method_must_be_consecutive:m(2516,1,\"All_declarations_of_an_abstract_method_must_be_consecutive_2516\",\"All declarations of an abstract method must be consecutive.\"),Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:m(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.\"),A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:m(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.\"),An_async_iterator_must_have_a_next_method:m(2519,1,\"An_async_iterator_must_have_a_next_method_2519\",\"An async iterator must have a 'next()' method.\"),Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:m(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.\"),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:m(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.\"),yield_expressions_cannot_be_used_in_a_parameter_initializer:m(2523,1,\"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523\",\"'yield' expressions cannot be used in a parameter initializer.\"),await_expressions_cannot_be_used_in_a_parameter_initializer:m(2524,1,\"await_expressions_cannot_be_used_in_a_parameter_initializer_2524\",\"'await' expressions cannot be used in a parameter initializer.\"),Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value:m(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.\"),A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:m(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.\"),The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary:m(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.\"),A_module_cannot_have_multiple_default_exports:m(2528,1,\"A_module_cannot_have_multiple_default_exports_2528\",\"A module cannot have multiple default exports.\"),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:m(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.\"),Property_0_is_incompatible_with_index_signature:m(2530,1,\"Property_0_is_incompatible_with_index_signature_2530\",\"Property '{0}' is incompatible with index signature.\"),Object_is_possibly_null:m(2531,1,\"Object_is_possibly_null_2531\",\"Object is possibly 'null'.\"),Object_is_possibly_undefined:m(2532,1,\"Object_is_possibly_undefined_2532\",\"Object is possibly 'undefined'.\"),Object_is_possibly_null_or_undefined:m(2533,1,\"Object_is_possibly_null_or_undefined_2533\",\"Object is possibly 'null' or 'undefined'.\"),A_function_returning_never_cannot_have_a_reachable_end_point:m(2534,1,\"A_function_returning_never_cannot_have_a_reachable_end_point_2534\",\"A function returning 'never' cannot have a reachable end point.\"),Type_0_cannot_be_used_to_index_type_1:m(2536,1,\"Type_0_cannot_be_used_to_index_type_1_2536\",\"Type '{0}' cannot be used to index type '{1}'.\"),Type_0_has_no_matching_index_signature_for_type_1:m(2537,1,\"Type_0_has_no_matching_index_signature_for_type_1_2537\",\"Type '{0}' has no matching index signature for type '{1}'.\"),Type_0_cannot_be_used_as_an_index_type:m(2538,1,\"Type_0_cannot_be_used_as_an_index_type_2538\",\"Type '{0}' cannot be used as an index type.\"),Cannot_assign_to_0_because_it_is_not_a_variable:m(2539,1,\"Cannot_assign_to_0_because_it_is_not_a_variable_2539\",\"Cannot assign to '{0}' because it is not a variable.\"),Cannot_assign_to_0_because_it_is_a_read_only_property:m(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.\"),Index_signature_in_type_0_only_permits_reading:m(2542,1,\"Index_signature_in_type_0_only_permits_reading_2542\",\"Index signature in type '{0}' only permits reading.\"),Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:m(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.\"),Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:m(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.\"),A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:m(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[]'.\"),The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:m(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.\"),Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:m(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.\"),Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:m(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.\"),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:m(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.\"),Property_0_does_not_exist_on_type_1_Did_you_mean_2:m(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}'?\"),Cannot_find_name_0_Did_you_mean_1:m(2552,1,\"Cannot_find_name_0_Did_you_mean_1_2552\",\"Cannot find name '{0}'. Did you mean '{1}'?\"),Computed_values_are_not_permitted_in_an_enum_with_string_valued_members:m(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.\"),Expected_0_arguments_but_got_1:m(2554,1,\"Expected_0_arguments_but_got_1_2554\",\"Expected {0} arguments, but got {1}.\"),Expected_at_least_0_arguments_but_got_1:m(2555,1,\"Expected_at_least_0_arguments_but_got_1_2555\",\"Expected at least {0} arguments, but got {1}.\"),A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter:m(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.\"),Expected_0_type_arguments_but_got_1:m(2558,1,\"Expected_0_type_arguments_but_got_1_2558\",\"Expected {0} type arguments, but got {1}.\"),Type_0_has_no_properties_in_common_with_type_1:m(2559,1,\"Type_0_has_no_properties_in_common_with_type_1_2559\",\"Type '{0}' has no properties in common with type '{1}'.\"),Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it:m(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?\"),Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2:m(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}'?\"),Base_class_expressions_cannot_reference_class_type_parameters:m(2562,1,\"Base_class_expressions_cannot_reference_class_type_parameters_2562\",\"Base class expressions cannot reference class type parameters.\"),The_containing_function_or_module_body_is_too_large_for_control_flow_analysis:m(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.\"),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor:m(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.\"),Property_0_is_used_before_being_assigned:m(2565,1,\"Property_0_is_used_before_being_assigned_2565\",\"Property '{0}' is used before being assigned.\"),A_rest_element_cannot_have_a_property_name:m(2566,1,\"A_rest_element_cannot_have_a_property_name_2566\",\"A rest element cannot have a property name.\"),Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:m(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.\"),Property_0_may_not_exist_on_type_1_Did_you_mean_2:m(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}'?\"),Could_not_find_name_0_Did_you_mean_1:m(2570,1,\"Could_not_find_name_0_Did_you_mean_1_2570\",\"Could not find name '{0}'. Did you mean '{1}'?\"),Object_is_of_type_unknown:m(2571,1,\"Object_is_of_type_unknown_2571\",\"Object is of type 'unknown'.\"),A_rest_element_type_must_be_an_array_type:m(2574,1,\"A_rest_element_type_must_be_an_array_type_2574\",\"A rest element type must be an array type.\"),No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments:m(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.\"),Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead:m(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?\"),Return_type_annotation_circularly_references_itself:m(2577,1,\"Return_type_annotation_circularly_references_itself_2577\",\"Return type annotation circularly references itself.\"),Unused_ts_expect_error_directive:m(2578,1,\"Unused_ts_expect_error_directive_2578\",\"Unused '@ts-expect-error' directive.\"),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode:m(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`.\"),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery:m(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`.\"),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:m(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`.\"),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later:m(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.\"),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom:m(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'.\"),_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:m(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.\"),Cannot_assign_to_0_because_it_is_a_constant:m(2588,1,\"Cannot_assign_to_0_because_it_is_a_constant_2588\",\"Cannot assign to '{0}' because it is a constant.\"),Type_instantiation_is_excessively_deep_and_possibly_infinite:m(2589,1,\"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589\",\"Type instantiation is excessively deep and possibly infinite.\"),Expression_produces_a_union_type_that_is_too_complex_to_represent:m(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.\"),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:m(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.\"),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:m(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.\"),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:m(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.\"),This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:m(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.\"),_0_can_only_be_imported_by_using_a_default_import:m(2595,1,\"_0_can_only_be_imported_by_using_a_default_import_2595\",\"'{0}' can only be imported by using a default import.\"),_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:m(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.\"),_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:m(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.\"),_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:m(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.\"),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:m(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.\"),Property_0_in_type_1_is_not_assignable_to_type_2:m(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}'.\"),JSX_element_type_0_does_not_have_any_construct_or_call_signatures:m(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.\"),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:m(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.\"),JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:m(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.\"),The_global_type_JSX_0_may_not_have_more_than_one_property:m(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.\"),JSX_spread_child_must_be_an_array_type:m(2609,1,\"JSX_spread_child_must_be_an_array_type_2609\",\"JSX spread child must be an array type.\"),_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:m(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.\"),_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor:m(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.\"),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:m(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.\"),Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead:m(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?\"),Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead:m(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?\"),Type_of_property_0_circularly_references_itself_in_mapped_type_1:m(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}'.\"),_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:m(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.\"),_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:m(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.\"),Source_has_0_element_s_but_target_requires_1:m(2618,1,\"Source_has_0_element_s_but_target_requires_1_2618\",\"Source has {0} element(s) but target requires {1}.\"),Source_has_0_element_s_but_target_allows_only_1:m(2619,1,\"Source_has_0_element_s_but_target_allows_only_1_2619\",\"Source has {0} element(s) but target allows only {1}.\"),Target_requires_0_element_s_but_source_may_have_fewer:m(2620,1,\"Target_requires_0_element_s_but_source_may_have_fewer_2620\",\"Target requires {0} element(s) but source may have fewer.\"),Target_allows_only_0_element_s_but_source_may_have_more:m(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.\"),Source_provides_no_match_for_required_element_at_position_0_in_target:m(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.\"),Source_provides_no_match_for_variadic_element_at_position_0_in_target:m(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.\"),Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target:m(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.\"),Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target:m(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.\"),Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target:m(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.\"),Cannot_assign_to_0_because_it_is_an_enum:m(2628,1,\"Cannot_assign_to_0_because_it_is_an_enum_2628\",\"Cannot assign to '{0}' because it is an enum.\"),Cannot_assign_to_0_because_it_is_a_class:m(2629,1,\"Cannot_assign_to_0_because_it_is_a_class_2629\",\"Cannot assign to '{0}' because it is a class.\"),Cannot_assign_to_0_because_it_is_a_function:m(2630,1,\"Cannot_assign_to_0_because_it_is_a_function_2630\",\"Cannot assign to '{0}' because it is a function.\"),Cannot_assign_to_0_because_it_is_a_namespace:m(2631,1,\"Cannot_assign_to_0_because_it_is_a_namespace_2631\",\"Cannot assign to '{0}' because it is a namespace.\"),Cannot_assign_to_0_because_it_is_an_import:m(2632,1,\"Cannot_assign_to_0_because_it_is_an_import_2632\",\"Cannot assign to '{0}' because it is an import.\"),JSX_property_access_expressions_cannot_include_JSX_namespace_names:m(2633,1,\"JSX_property_access_expressions_cannot_include_JSX_namespace_names_2633\",\"JSX property access expressions cannot include JSX namespace names\"),_0_index_signatures_are_incompatible:m(2634,1,\"_0_index_signatures_are_incompatible_2634\",\"'{0}' index signatures are incompatible.\"),Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable:m(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.\"),Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation:m(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.\"),Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types:m(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.\"),Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator:m(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.\"),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:m(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.\"),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:m(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.\"),Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:m(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.\"),Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:m(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}'.\"),JSX_expressions_must_have_one_parent_element:m(2657,1,\"JSX_expressions_must_have_one_parent_element_2657\",\"JSX expressions must have one parent element.\"),Type_0_provides_no_match_for_the_signature_1:m(2658,1,\"Type_0_provides_no_match_for_the_signature_1_2658\",\"Type '{0}' provides no match for the signature '{1}'.\"),super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher:m(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.\"),super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:m(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.\"),Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:m(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.\"),Cannot_find_name_0_Did_you_mean_the_static_member_1_0:m(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}'?\"),Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:m(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}'?\"),Invalid_module_name_in_augmentation_module_0_cannot_be_found:m(2664,1,\"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664\",\"Invalid module name in augmentation, module '{0}' cannot be found.\"),Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented:m(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.\"),Exports_and_export_assignments_are_not_permitted_in_module_augmentations:m(2666,1,\"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666\",\"Exports and export assignments are not permitted in module augmentations.\"),Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module:m(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.\"),export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:m(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.\"),Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:m(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.\"),Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:m(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.\"),Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:m(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.\"),Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:m(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.\"),Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:m(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.\"),Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:m(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.\"),Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:m(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.\"),Accessors_must_both_be_abstract_or_non_abstract:m(2676,1,\"Accessors_must_both_be_abstract_or_non_abstract_2676\",\"Accessors must both be abstract or non-abstract.\"),A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:m(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.\"),Type_0_is_not_comparable_to_type_1:m(2678,1,\"Type_0_is_not_comparable_to_type_1_2678\",\"Type '{0}' is not comparable to type '{1}'.\"),A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void:m(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'.\"),A_0_parameter_must_be_the_first_parameter:m(2680,1,\"A_0_parameter_must_be_the_first_parameter_2680\",\"A '{0}' parameter must be the first parameter.\"),A_constructor_cannot_have_a_this_parameter:m(2681,1,\"A_constructor_cannot_have_a_this_parameter_2681\",\"A constructor cannot have a 'this' parameter.\"),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:m(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.\"),The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:m(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}'.\"),The_this_types_of_each_signature_are_incompatible:m(2685,1,\"The_this_types_of_each_signature_are_incompatible_2685\",\"The 'this' types of each signature are incompatible.\"),_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead:m(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.\"),All_declarations_of_0_must_have_identical_modifiers:m(2687,1,\"All_declarations_of_0_must_have_identical_modifiers_2687\",\"All declarations of '{0}' must have identical modifiers.\"),Cannot_find_type_definition_file_for_0:m(2688,1,\"Cannot_find_type_definition_file_for_0_2688\",\"Cannot find type definition file for '{0}'.\"),Cannot_extend_an_interface_0_Did_you_mean_implements:m(2689,1,\"Cannot_extend_an_interface_0_Did_you_mean_implements_2689\",\"Cannot extend an interface '{0}'. Did you mean 'implements'?\"),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0:m(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}'?\"),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:m(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.\"),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:m(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.\"),Namespace_0_has_no_exported_member_1:m(2694,1,\"Namespace_0_has_no_exported_member_1_2694\",\"Namespace '{0}' has no exported member '{1}'.\"),Left_side_of_comma_operator_is_unused_and_has_no_side_effects:m(2695,1,\"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695\",\"Left side of comma operator is unused and has no side effects.\",!0),The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:m(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?\"),An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:m(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.\"),Spread_types_may_only_be_created_from_object_types:m(2698,1,\"Spread_types_may_only_be_created_from_object_types_2698\",\"Spread types may only be created from object types.\"),Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:m(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}'.\"),Rest_types_may_only_be_created_from_object_types:m(2700,1,\"Rest_types_may_only_be_created_from_object_types_2700\",\"Rest types may only be created from object types.\"),The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:m(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.\"),_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:m(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.\"),The_operand_of_a_delete_operator_must_be_a_property_reference:m(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.\"),The_operand_of_a_delete_operator_cannot_be_a_read_only_property:m(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.\"),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:m(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.\"),Required_type_parameters_may_not_follow_optional_type_parameters:m(2706,1,\"Required_type_parameters_may_not_follow_optional_type_parameters_2706\",\"Required type parameters may not follow optional type parameters.\"),Generic_type_0_requires_between_1_and_2_type_arguments:m(2707,1,\"Generic_type_0_requires_between_1_and_2_type_arguments_2707\",\"Generic type '{0}' requires between {1} and {2} type arguments.\"),Cannot_use_namespace_0_as_a_value:m(2708,1,\"Cannot_use_namespace_0_as_a_value_2708\",\"Cannot use namespace '{0}' as a value.\"),Cannot_use_namespace_0_as_a_type:m(2709,1,\"Cannot_use_namespace_0_as_a_type_2709\",\"Cannot use namespace '{0}' as a type.\"),_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:m(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.\"),A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:m(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.\"),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:m(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.\"),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:m(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}\"]'?`),The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context:m(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.\"),Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor:m(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.\"),Type_parameter_0_has_a_circular_default:m(2716,1,\"Type_parameter_0_has_a_circular_default_2716\",\"Type parameter '{0}' has a circular default.\"),Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:m(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}'.\"),Duplicate_property_0:m(2718,1,\"Duplicate_property_0_2718\",\"Duplicate property '{0}'.\"),Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:m(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.\"),Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:m(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?\"),Cannot_invoke_an_object_which_is_possibly_null:m(2721,1,\"Cannot_invoke_an_object_which_is_possibly_null_2721\",\"Cannot invoke an object which is possibly 'null'.\"),Cannot_invoke_an_object_which_is_possibly_undefined:m(2722,1,\"Cannot_invoke_an_object_which_is_possibly_undefined_2722\",\"Cannot invoke an object which is possibly 'undefined'.\"),Cannot_invoke_an_object_which_is_possibly_null_or_undefined:m(2723,1,\"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723\",\"Cannot invoke an object which is possibly 'null' or 'undefined'.\"),_0_has_no_exported_member_named_1_Did_you_mean_2:m(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}'?\"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:m(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}.\"),Cannot_find_lib_definition_for_0:m(2726,1,\"Cannot_find_lib_definition_for_0_2726\",\"Cannot find lib definition for '{0}'.\"),Cannot_find_lib_definition_for_0_Did_you_mean_1:m(2727,1,\"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727\",\"Cannot find lib definition for '{0}'. Did you mean '{1}'?\"),_0_is_declared_here:m(2728,3,\"_0_is_declared_here_2728\",\"'{0}' is declared here.\"),Property_0_is_used_before_its_initialization:m(2729,1,\"Property_0_is_used_before_its_initialization_2729\",\"Property '{0}' is used before its initialization.\"),An_arrow_function_cannot_have_a_this_parameter:m(2730,1,\"An_arrow_function_cannot_have_a_this_parameter_2730\",\"An arrow function cannot have a 'this' parameter.\"),Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String:m(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(...)'.\"),Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension:m(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.\"),Property_0_was_also_declared_here:m(2733,1,\"Property_0_was_also_declared_here_2733\",\"Property '{0}' was also declared here.\"),Are_you_missing_a_semicolon:m(2734,1,\"Are_you_missing_a_semicolon_2734\",\"Are you missing a semicolon?\"),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:m(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}'?\"),Operator_0_cannot_be_applied_to_type_1:m(2736,1,\"Operator_0_cannot_be_applied_to_type_1_2736\",\"Operator '{0}' cannot be applied to type '{1}'.\"),BigInt_literals_are_not_available_when_targeting_lower_than_ES2020:m(2737,1,\"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737\",\"BigInt literals are not available when targeting lower than ES2020.\"),An_outer_value_of_this_is_shadowed_by_this_container:m(2738,3,\"An_outer_value_of_this_is_shadowed_by_this_container_2738\",\"An outer value of 'this' is shadowed by this container.\"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2:m(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}\"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more:m(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.\"),Property_0_is_missing_in_type_1_but_required_in_type_2:m(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}'.\"),The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary:m(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.\"),No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments:m(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.\"),Type_parameter_defaults_can_only_reference_previously_declared_type_parameters:m(2744,1,\"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744\",\"Type parameter defaults can only reference previously declared type parameters.\"),This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided:m(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.\"),This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided:m(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.\"),_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2:m(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}'.\"),Cannot_access_ambient_const_enums_when_0_is_enabled:m(2748,1,\"Cannot_access_ambient_const_enums_when_0_is_enabled_2748\",\"Cannot access ambient const enums when '{0}' is enabled.\"),_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0:m(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}'?\"),The_implementation_signature_is_declared_here:m(2750,1,\"The_implementation_signature_is_declared_here_2750\",\"The implementation signature is declared here.\"),Circularity_originates_in_type_at_this_location:m(2751,1,\"Circularity_originates_in_type_at_this_location_2751\",\"Circularity originates in type at this location.\"),The_first_export_default_is_here:m(2752,1,\"The_first_export_default_is_here_2752\",\"The first export default is here.\"),Another_export_default_is_here:m(2753,1,\"Another_export_default_is_here_2753\",\"Another export default is here.\"),super_may_not_use_type_arguments:m(2754,1,\"super_may_not_use_type_arguments_2754\",\"'super' may not use type arguments.\"),No_constituent_of_type_0_is_callable:m(2755,1,\"No_constituent_of_type_0_is_callable_2755\",\"No constituent of type '{0}' is callable.\"),Not_all_constituents_of_type_0_are_callable:m(2756,1,\"Not_all_constituents_of_type_0_are_callable_2756\",\"Not all constituents of type '{0}' are callable.\"),Type_0_has_no_call_signatures:m(2757,1,\"Type_0_has_no_call_signatures_2757\",\"Type '{0}' has no call signatures.\"),Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:m(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.\"),No_constituent_of_type_0_is_constructable:m(2759,1,\"No_constituent_of_type_0_is_constructable_2759\",\"No constituent of type '{0}' is constructable.\"),Not_all_constituents_of_type_0_are_constructable:m(2760,1,\"Not_all_constituents_of_type_0_are_constructable_2760\",\"Not all constituents of type '{0}' are constructable.\"),Type_0_has_no_construct_signatures:m(2761,1,\"Type_0_has_no_construct_signatures_2761\",\"Type '{0}' has no construct signatures.\"),Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other:m(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.\"),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:m(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}'.\"),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:m(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}'.\"),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:m(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}'.\"),Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:m(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}'.\"),The_0_property_of_an_iterator_must_be_a_method:m(2767,1,\"The_0_property_of_an_iterator_must_be_a_method_2767\",\"The '{0}' property of an iterator must be a method.\"),The_0_property_of_an_async_iterator_must_be_a_method:m(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.\"),No_overload_matches_this_call:m(2769,1,\"No_overload_matches_this_call_2769\",\"No overload matches this call.\"),The_last_overload_gave_the_following_error:m(2770,1,\"The_last_overload_gave_the_following_error_2770\",\"The last overload gave the following error.\"),The_last_overload_is_declared_here:m(2771,1,\"The_last_overload_is_declared_here_2771\",\"The last overload is declared here.\"),Overload_0_of_1_2_gave_the_following_error:m(2772,1,\"Overload_0_of_1_2_gave_the_following_error_2772\",\"Overload {0} of {1}, '{2}', gave the following error.\"),Did_you_forget_to_use_await:m(2773,1,\"Did_you_forget_to_use_await_2773\",\"Did you forget to use 'await'?\"),This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead:m(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?\"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:m(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.\"),Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name:m(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.\"),The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access:m(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.\"),The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:m(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.\"),The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access:m(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.\"),The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access:m(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.\"),The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access:m(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.\"),_0_needs_an_explicit_type_annotation:m(2782,3,\"_0_needs_an_explicit_type_annotation_2782\",\"'{0}' needs an explicit type annotation.\"),_0_is_specified_more_than_once_so_this_usage_will_be_overwritten:m(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.\"),get_and_set_accessors_cannot_declare_this_parameters:m(2784,1,\"get_and_set_accessors_cannot_declare_this_parameters_2784\",\"'get' and 'set' accessors cannot declare 'this' parameters.\"),This_spread_always_overwrites_this_property:m(2785,1,\"This_spread_always_overwrites_this_property_2785\",\"This spread always overwrites this property.\"),_0_cannot_be_used_as_a_JSX_component:m(2786,1,\"_0_cannot_be_used_as_a_JSX_component_2786\",\"'{0}' cannot be used as a JSX component.\"),Its_return_type_0_is_not_a_valid_JSX_element:m(2787,1,\"Its_return_type_0_is_not_a_valid_JSX_element_2787\",\"Its return type '{0}' is not a valid JSX element.\"),Its_instance_type_0_is_not_a_valid_JSX_element:m(2788,1,\"Its_instance_type_0_is_not_a_valid_JSX_element_2788\",\"Its instance type '{0}' is not a valid JSX element.\"),Its_element_type_0_is_not_a_valid_JSX_element:m(2789,1,\"Its_element_type_0_is_not_a_valid_JSX_element_2789\",\"Its element type '{0}' is not a valid JSX element.\"),The_operand_of_a_delete_operator_must_be_optional:m(2790,1,\"The_operand_of_a_delete_operator_must_be_optional_2790\",\"The operand of a 'delete' operator must be optional.\"),Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later:m(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.\"),Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:m(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?\"),The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible:m(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.\"),Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:m(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'?\"),The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types:m(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.\"),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:m(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.\"),A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract:m(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'.\"),The_declaration_was_marked_as_deprecated_here:m(2798,1,\"The_declaration_was_marked_as_deprecated_here_2798\",\"The declaration was marked as deprecated here.\"),Type_produces_a_tuple_type_that_is_too_large_to_represent:m(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.\"),Expression_produces_a_tuple_type_that_is_too_large_to_represent:m(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.\"),This_condition_will_always_return_true_since_this_0_is_always_defined:m(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.\"),Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher:m(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.\"),Cannot_assign_to_private_method_0_Private_methods_are_not_writable:m(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.\"),Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name:m(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.\"),Private_accessor_was_defined_without_a_getter:m(2806,1,\"Private_accessor_was_defined_without_a_getter_2806\",\"Private accessor was defined without a getter.\"),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:m(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}'.\"),A_get_accessor_must_be_at_least_as_accessible_as_the_setter:m(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\"),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:m(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.\"),Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments:m(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.\"),Initializer_for_property_0:m(2811,1,\"Initializer_for_property_0_2811\",\"Initializer for property '{0}'\"),Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:m(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'.\"),Class_declaration_cannot_implement_overload_list_for_0:m(2813,1,\"Class_declaration_cannot_implement_overload_list_for_0_2813\",\"Class declaration cannot implement overload list for '{0}'.\"),Function_with_bodies_can_only_merge_with_classes_that_are_ambient:m(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.\"),arguments_cannot_be_referenced_in_property_initializers:m(2815,1,\"arguments_cannot_be_referenced_in_property_initializers_2815\",\"'arguments' cannot be referenced in property initializers.\"),Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class:m(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.\"),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block:m(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.\"),Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers:m(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.\"),Namespace_name_cannot_be_0:m(2819,1,\"Namespace_name_cannot_be_0_2819\",\"Namespace name cannot be '{0}'.\"),Type_0_is_not_assignable_to_type_1_Did_you_mean_2:m(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}'?\"),Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext:m(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'.\"),Import_assertions_cannot_be_used_with_type_only_imports_or_exports:m(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.\"),Cannot_find_namespace_0_Did_you_mean_1:m(2833,1,\"Cannot_find_namespace_0_Did_you_mean_1_2833\",\"Cannot find namespace '{0}'. Did you mean '{1}'?\"),Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path:m(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.\"),Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0:m(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}'?\"),Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls:m(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.\"),Import_assertion_values_must_be_string_literal_expressions:m(2837,1,\"Import_assertion_values_must_be_string_literal_expressions_2837\",\"Import assertion values must be string literal expressions.\"),All_declarations_of_0_must_have_identical_constraints:m(2838,1,\"All_declarations_of_0_must_have_identical_constraints_2838\",\"All declarations of '{0}' must have identical constraints.\"),This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value:m(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.\"),An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_classes:m(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\"),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:m(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'.\"),_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation:m(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?\"),We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here:m(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.\"),Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:m(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.\"),This_condition_will_always_return_0:m(2845,1,\"This_condition_will_always_return_0_2845\",\"This condition will always return '{0}'.\"),A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead:m(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?\"),Import_declaration_0_is_using_private_name_1:m(4e3,1,\"Import_declaration_0_is_using_private_name_1_4000\",\"Import declaration '{0}' is using private name '{1}'.\"),Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:m(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}'.\"),Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:m(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}'.\"),Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:m(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}'.\"),Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:m(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}'.\"),Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:m(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}'.\"),Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:m(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}'.\"),Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:m(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}'.\"),Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:m(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}'.\"),Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:m(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}'.\"),extends_clause_of_exported_class_0_has_or_is_using_private_name_1:m(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}'.\"),extends_clause_of_exported_class_has_or_is_using_private_name_0:m(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}'.\"),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:m(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}'.\"),Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:m(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.\"),Exported_variable_0_has_or_is_using_name_1_from_private_module_2:m(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}'.\"),Exported_variable_0_has_or_is_using_private_name_1:m(4025,1,\"Exported_variable_0_has_or_is_using_private_name_1_4025\",\"Exported variable '{0}' has or is using private name '{1}'.\"),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:m(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.\"),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:m(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}'.\"),Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:m(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}'.\"),Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:m(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.\"),Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:m(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}'.\"),Public_property_0_of_exported_class_has_or_is_using_private_name_1:m(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}'.\"),Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:m(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}'.\"),Property_0_of_exported_interface_has_or_is_using_private_name_1:m(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}'.\"),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:m(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}'.\"),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:m(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}'.\"),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:m(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}'.\"),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:m(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}'.\"),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:m(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.\"),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:m(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}'.\"),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:m(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}'.\"),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:m(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.\"),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:m(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}'.\"),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1:m(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}'.\"),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:m(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}'.\"),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:m(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}'.\"),Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:m(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}'.\"),Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:m(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}'.\"),Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:m(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}'.\"),Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:m(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}'.\"),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:m(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.\"),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:m(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}'.\"),Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:m(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}'.\"),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:m(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.\"),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:m(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}'.\"),Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:m(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}'.\"),Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:m(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}'.\"),Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:m(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}'.\"),Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:m(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.\"),Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:m(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}'.\"),Return_type_of_exported_function_has_or_is_using_private_name_0:m(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}'.\"),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:m(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.\"),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:m(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}'.\"),Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:m(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}'.\"),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:m(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}'.\"),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:m(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}'.\"),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:m(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}'.\"),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:m(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}'.\"),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:m(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.\"),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:m(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}'.\"),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:m(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}'.\"),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:m(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.\"),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:m(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}'.\"),Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:m(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}'.\"),Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:m(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}'.\"),Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:m(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}'.\"),Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:m(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.\"),Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:m(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}'.\"),Parameter_0_of_exported_function_has_or_is_using_private_name_1:m(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}'.\"),Exported_type_alias_0_has_or_is_using_private_name_1:m(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}'.\"),Default_export_of_the_module_has_or_is_using_private_name_0:m(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}'.\"),Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:m(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}'.\"),Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:m(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}.\"),Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1:m(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}'.\"),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:m(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.\"),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:m(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}'.\"),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:m(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}'.\"),Property_0_of_exported_class_expression_may_not_be_private_or_protected:m(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.\"),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:m(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.\"),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:m(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}'.\"),Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:m(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}'.\"),Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:m(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.\"),Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:m(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}'.\"),Public_method_0_of_exported_class_has_or_is_using_private_name_1:m(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}'.\"),Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:m(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}'.\"),Method_0_of_exported_interface_has_or_is_using_private_name_1:m(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}'.\"),Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1:m(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}'.\"),The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1:m(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}'.\"),Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter:m(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.\"),Parameter_0_of_accessor_has_or_is_using_private_name_1:m(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}'.\"),Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:m(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}'.\"),Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:m(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.\"),Type_arguments_for_0_circularly_reference_themselves:m(4109,1,\"Type_arguments_for_0_circularly_reference_themselves_4109\",\"Type arguments for '{0}' circularly reference themselves.\"),Tuple_type_arguments_circularly_reference_themselves:m(4110,1,\"Tuple_type_arguments_circularly_reference_themselves_4110\",\"Tuple type arguments circularly reference themselves.\"),Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0:m(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}'].\"),This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class:m(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.\"),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0:m(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}'.\"),This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0:m(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}'.\"),This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:m(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}'.\"),This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0:m(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}'.\"),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:m(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}'?\"),The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized:m(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.\"),This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:m(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}'.\"),This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:m(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}'.\"),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:m(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.\"),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:m(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}'.\"),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:m(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}'?\"),Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:m(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'.\"),resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:m(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'.\"),The_current_host_does_not_support_the_0_option:m(5001,1,\"The_current_host_does_not_support_the_0_option_5001\",\"The current host does not support the '{0}' option.\"),Cannot_find_the_common_subdirectory_path_for_the_input_files:m(5009,1,\"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009\",\"Cannot find the common subdirectory path for the input files.\"),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:m(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}'.\"),Cannot_read_file_0_Colon_1:m(5012,1,\"Cannot_read_file_0_Colon_1_5012\",\"Cannot read file '{0}': {1}.\"),Failed_to_parse_file_0_Colon_1:m(5014,1,\"Failed_to_parse_file_0_Colon_1_5014\",\"Failed to parse file '{0}': {1}.\"),Unknown_compiler_option_0:m(5023,1,\"Unknown_compiler_option_0_5023\",\"Unknown compiler option '{0}'.\"),Compiler_option_0_requires_a_value_of_type_1:m(5024,1,\"Compiler_option_0_requires_a_value_of_type_1_5024\",\"Compiler option '{0}' requires a value of type {1}.\"),Unknown_compiler_option_0_Did_you_mean_1:m(5025,1,\"Unknown_compiler_option_0_Did_you_mean_1_5025\",\"Unknown compiler option '{0}'. Did you mean '{1}'?\"),Could_not_write_file_0_Colon_1:m(5033,1,\"Could_not_write_file_0_Colon_1_5033\",\"Could not write file '{0}': {1}.\"),Option_project_cannot_be_mixed_with_source_files_on_a_command_line:m(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.\"),Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:m(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.\"),Option_0_cannot_be_specified_when_option_target_is_ES3:m(5048,1,\"Option_0_cannot_be_specified_when_option_target_is_ES3_5048\",\"Option '{0}' cannot be specified when option 'target' is 'ES3'.\"),Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:m(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.\"),Option_0_cannot_be_specified_without_specifying_option_1:m(5052,1,\"Option_0_cannot_be_specified_without_specifying_option_1_5052\",\"Option '{0}' cannot be specified without specifying option '{1}'.\"),Option_0_cannot_be_specified_with_option_1:m(5053,1,\"Option_0_cannot_be_specified_with_option_1_5053\",\"Option '{0}' cannot be specified with option '{1}'.\"),A_tsconfig_json_file_is_already_defined_at_Colon_0:m(5054,1,\"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054\",\"A 'tsconfig.json' file is already defined at: '{0}'.\"),Cannot_write_file_0_because_it_would_overwrite_input_file:m(5055,1,\"Cannot_write_file_0_because_it_would_overwrite_input_file_5055\",\"Cannot write file '{0}' because it would overwrite input file.\"),Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:m(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.\"),Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:m(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}'.\"),The_specified_path_does_not_exist_Colon_0:m(5058,1,\"The_specified_path_does_not_exist_Colon_0_5058\",\"The specified path does not exist: '{0}'.\"),Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:m(5059,1,\"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059\",\"Invalid value for '--reactNamespace'. '{0}' is not a valid identifier.\"),Pattern_0_can_have_at_most_one_Asterisk_character:m(5061,1,\"Pattern_0_can_have_at_most_one_Asterisk_character_5061\",\"Pattern '{0}' can have at most one '*' character.\"),Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character:m(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.\"),Substitutions_for_pattern_0_should_be_an_array:m(5063,1,\"Substitutions_for_pattern_0_should_be_an_array_5063\",\"Substitutions for pattern '{0}' should be an array.\"),Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:m(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}'.\"),File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:m(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}'.\"),Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:m(5066,1,\"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066\",\"Substitutions for pattern '{0}' shouldn't be an empty array.\"),Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:m(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.\"),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:m(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.\"),Option_0_cannot_be_specified_without_specifying_option_1_or_option_2:m(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}'.\"),Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic:m(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'.\"),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:m(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'.\"),Unknown_build_option_0:m(5072,1,\"Unknown_build_option_0_5072\",\"Unknown build option '{0}'.\"),Build_option_0_requires_a_value_of_type_1:m(5073,1,\"Build_option_0_requires_a_value_of_type_1_5073\",\"Build option '{0}' requires a value of type {1}.\"),Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified:m(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.\"),_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2:m(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}'.\"),_0_and_1_operations_cannot_be_mixed_without_parentheses:m(5076,1,\"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076\",\"'{0}' and '{1}' operations cannot be mixed without parentheses.\"),Unknown_build_option_0_Did_you_mean_1:m(5077,1,\"Unknown_build_option_0_Did_you_mean_1_5077\",\"Unknown build option '{0}'. Did you mean '{1}'?\"),Unknown_watch_option_0:m(5078,1,\"Unknown_watch_option_0_5078\",\"Unknown watch option '{0}'.\"),Unknown_watch_option_0_Did_you_mean_1:m(5079,1,\"Unknown_watch_option_0_Did_you_mean_1_5079\",\"Unknown watch option '{0}'. Did you mean '{1}'?\"),Watch_option_0_requires_a_value_of_type_1:m(5080,1,\"Watch_option_0_requires_a_value_of_type_1_5080\",\"Watch option '{0}' requires a value of type {1}.\"),Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0:m(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}.\"),_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1:m(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}'.\"),Cannot_read_file_0:m(5083,1,\"Cannot_read_file_0_5083\",\"Cannot read file '{0}'.\"),Tuple_members_must_all_have_names_or_all_not_have_names:m(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.\"),A_tuple_member_cannot_be_both_optional_and_rest:m(5085,1,\"A_tuple_member_cannot_be_both_optional_and_rest_5085\",\"A tuple member cannot be both optional and rest.\"),A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type:m(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.\"),A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type:m(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.\"),The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary:m(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.\"),Option_0_cannot_be_specified_when_option_jsx_is_1:m(5089,1,\"Option_0_cannot_be_specified_when_option_jsx_is_1_5089\",\"Option '{0}' cannot be specified when option 'jsx' is '{1}'.\"),Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash:m(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 './'?\"),Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled:m(5091,1,\"Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled_5091\",\"Option 'preserveConstEnums' cannot be disabled when '{0}' is enabled.\"),The_root_value_of_a_0_file_must_be_an_object:m(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.\"),Compiler_option_0_may_only_be_used_with_build:m(5093,1,\"Compiler_option_0_may_only_be_used_with_build_5093\",\"Compiler option '--{0}' may only be used with '--build'.\"),Compiler_option_0_may_not_be_used_with_build:m(5094,1,\"Compiler_option_0_may_not_be_used_with_build_5094\",\"Compiler option '--{0}' may not be used with '--build'.\"),Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later:m(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.\"),Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set:m(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.\"),An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled:m(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.\"),Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler:m(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'.\"),Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error:m(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.`),Option_0_has_been_removed_Please_remove_it_from_your_configuration:m(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.\"),Invalid_value_for_ignoreDeprecations:m(5103,1,\"Invalid_value_for_ignoreDeprecations_5103\",\"Invalid value for '--ignoreDeprecations'.\"),Option_0_is_redundant_and_cannot_be_specified_with_option_1:m(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}'.\"),Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System:m(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'.\"),Use_0_instead:m(5106,3,\"Use_0_instead_5106\",\"Use '{0}' instead.\"),Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error:m(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.`),Option_0_1_has_been_removed_Please_remove_it_from_your_configuration:m(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.\"),Generates_a_sourcemap_for_each_corresponding_d_ts_file:m(6e3,3,\"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000\",\"Generates a sourcemap for each corresponding '.d.ts' file.\"),Concatenate_and_emit_output_to_single_file:m(6001,3,\"Concatenate_and_emit_output_to_single_file_6001\",\"Concatenate and emit output to single file.\"),Generates_corresponding_d_ts_file:m(6002,3,\"Generates_corresponding_d_ts_file_6002\",\"Generates corresponding '.d.ts' file.\"),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:m(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.\"),Watch_input_files:m(6005,3,\"Watch_input_files_6005\",\"Watch input files.\"),Redirect_output_structure_to_the_directory:m(6006,3,\"Redirect_output_structure_to_the_directory_6006\",\"Redirect output structure to the directory.\"),Do_not_erase_const_enum_declarations_in_generated_code:m(6007,3,\"Do_not_erase_const_enum_declarations_in_generated_code_6007\",\"Do not erase const enum declarations in generated code.\"),Do_not_emit_outputs_if_any_errors_were_reported:m(6008,3,\"Do_not_emit_outputs_if_any_errors_were_reported_6008\",\"Do not emit outputs if any errors were reported.\"),Do_not_emit_comments_to_output:m(6009,3,\"Do_not_emit_comments_to_output_6009\",\"Do not emit comments to output.\"),Do_not_emit_outputs:m(6010,3,\"Do_not_emit_outputs_6010\",\"Do not emit outputs.\"),Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:m(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.\"),Skip_type_checking_of_declaration_files:m(6012,3,\"Skip_type_checking_of_declaration_files_6012\",\"Skip type checking of declaration files.\"),Do_not_resolve_the_real_path_of_symlinks:m(6013,3,\"Do_not_resolve_the_real_path_of_symlinks_6013\",\"Do not resolve the real path of symlinks.\"),Only_emit_d_ts_declaration_files:m(6014,3,\"Only_emit_d_ts_declaration_files_6014\",\"Only emit '.d.ts' declaration files.\"),Specify_ECMAScript_target_version:m(6015,3,\"Specify_ECMAScript_target_version_6015\",\"Specify ECMAScript target version.\"),Specify_module_code_generation:m(6016,3,\"Specify_module_code_generation_6016\",\"Specify module code generation.\"),Print_this_message:m(6017,3,\"Print_this_message_6017\",\"Print this message.\"),Print_the_compiler_s_version:m(6019,3,\"Print_the_compiler_s_version_6019\",\"Print the compiler's version.\"),Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json:m(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'.\"),Syntax_Colon_0:m(6023,3,\"Syntax_Colon_0_6023\",\"Syntax: {0}\"),options:m(6024,3,\"options_6024\",\"options\"),file:m(6025,3,\"file_6025\",\"file\"),Examples_Colon_0:m(6026,3,\"Examples_Colon_0_6026\",\"Examples: {0}\"),Options_Colon:m(6027,3,\"Options_Colon_6027\",\"Options:\"),Version_0:m(6029,3,\"Version_0_6029\",\"Version {0}\"),Insert_command_line_options_and_files_from_a_file:m(6030,3,\"Insert_command_line_options_and_files_from_a_file_6030\",\"Insert command line options and files from a file.\"),Starting_compilation_in_watch_mode:m(6031,3,\"Starting_compilation_in_watch_mode_6031\",\"Starting compilation in watch mode...\"),File_change_detected_Starting_incremental_compilation:m(6032,3,\"File_change_detected_Starting_incremental_compilation_6032\",\"File change detected. Starting incremental compilation...\"),KIND:m(6034,3,\"KIND_6034\",\"KIND\"),FILE:m(6035,3,\"FILE_6035\",\"FILE\"),VERSION:m(6036,3,\"VERSION_6036\",\"VERSION\"),LOCATION:m(6037,3,\"LOCATION_6037\",\"LOCATION\"),DIRECTORY:m(6038,3,\"DIRECTORY_6038\",\"DIRECTORY\"),STRATEGY:m(6039,3,\"STRATEGY_6039\",\"STRATEGY\"),FILE_OR_DIRECTORY:m(6040,3,\"FILE_OR_DIRECTORY_6040\",\"FILE OR DIRECTORY\"),Errors_Files:m(6041,3,\"Errors_Files_6041\",\"Errors  Files\"),Generates_corresponding_map_file:m(6043,3,\"Generates_corresponding_map_file_6043\",\"Generates corresponding '.map' file.\"),Compiler_option_0_expects_an_argument:m(6044,1,\"Compiler_option_0_expects_an_argument_6044\",\"Compiler option '{0}' expects an argument.\"),Unterminated_quoted_string_in_response_file_0:m(6045,1,\"Unterminated_quoted_string_in_response_file_0_6045\",\"Unterminated quoted string in response file '{0}'.\"),Argument_for_0_option_must_be_Colon_1:m(6046,1,\"Argument_for_0_option_must_be_Colon_1_6046\",\"Argument for '{0}' option must be: {1}.\"),Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:m(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}'.\"),Unable_to_open_file_0:m(6050,1,\"Unable_to_open_file_0_6050\",\"Unable to open file '{0}'.\"),Corrupted_locale_file_0:m(6051,1,\"Corrupted_locale_file_0_6051\",\"Corrupted locale file {0}.\"),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:m(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.\"),File_0_not_found:m(6053,1,\"File_0_not_found_6053\",\"File '{0}' not found.\"),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:m(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}.\"),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:m(6055,3,\"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055\",\"Suppress noImplicitAny errors for indexing objects lacking index signatures.\"),Do_not_emit_declarations_for_code_that_has_an_internal_annotation:m(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.\"),Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir:m(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.\"),File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:m(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.\"),Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:m(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).\"),NEWLINE:m(6061,3,\"NEWLINE_6061\",\"NEWLINE\"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:m(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.\"),Enables_experimental_support_for_ES7_decorators:m(6065,3,\"Enables_experimental_support_for_ES7_decorators_6065\",\"Enables experimental support for ES7 decorators.\"),Enables_experimental_support_for_emitting_type_metadata_for_decorators:m(6066,3,\"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066\",\"Enables experimental support for emitting type metadata for decorators.\"),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:m(6070,3,\"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070\",\"Initializes a TypeScript project and creates a tsconfig.json file.\"),Successfully_created_a_tsconfig_json_file:m(6071,3,\"Successfully_created_a_tsconfig_json_file_6071\",\"Successfully created a tsconfig.json file.\"),Suppress_excess_property_checks_for_object_literals:m(6072,3,\"Suppress_excess_property_checks_for_object_literals_6072\",\"Suppress excess property checks for object literals.\"),Stylize_errors_and_messages_using_color_and_context_experimental:m(6073,3,\"Stylize_errors_and_messages_using_color_and_context_experimental_6073\",\"Stylize errors and messages using color and context (experimental).\"),Do_not_report_errors_on_unused_labels:m(6074,3,\"Do_not_report_errors_on_unused_labels_6074\",\"Do not report errors on unused labels.\"),Report_error_when_not_all_code_paths_in_function_return_a_value:m(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.\"),Report_errors_for_fallthrough_cases_in_switch_statement:m(6076,3,\"Report_errors_for_fallthrough_cases_in_switch_statement_6076\",\"Report errors for fallthrough cases in switch statement.\"),Do_not_report_errors_on_unreachable_code:m(6077,3,\"Do_not_report_errors_on_unreachable_code_6077\",\"Do not report errors on unreachable code.\"),Disallow_inconsistently_cased_references_to_the_same_file:m(6078,3,\"Disallow_inconsistently_cased_references_to_the_same_file_6078\",\"Disallow inconsistently-cased references to the same file.\"),Specify_library_files_to_be_included_in_the_compilation:m(6079,3,\"Specify_library_files_to_be_included_in_the_compilation_6079\",\"Specify library files to be included in the compilation.\"),Specify_JSX_code_generation:m(6080,3,\"Specify_JSX_code_generation_6080\",\"Specify JSX code generation.\"),File_0_has_an_unsupported_extension_so_skipping_it:m(6081,3,\"File_0_has_an_unsupported_extension_so_skipping_it_6081\",\"File '{0}' has an unsupported extension, so skipping it.\"),Only_amd_and_system_modules_are_supported_alongside_0:m(6082,1,\"Only_amd_and_system_modules_are_supported_alongside_0_6082\",\"Only 'amd' and 'system' modules are supported alongside --{0}.\"),Base_directory_to_resolve_non_absolute_module_names:m(6083,3,\"Base_directory_to_resolve_non_absolute_module_names_6083\",\"Base directory to resolve non-absolute module names.\"),Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:m(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\"),Enable_tracing_of_the_name_resolution_process:m(6085,3,\"Enable_tracing_of_the_name_resolution_process_6085\",\"Enable tracing of the name resolution process.\"),Resolving_module_0_from_1:m(6086,3,\"Resolving_module_0_from_1_6086\",\"======== Resolving module '{0}' from '{1}'. ========\"),Explicitly_specified_module_resolution_kind_Colon_0:m(6087,3,\"Explicitly_specified_module_resolution_kind_Colon_0_6087\",\"Explicitly specified module resolution kind: '{0}'.\"),Module_resolution_kind_is_not_specified_using_0:m(6088,3,\"Module_resolution_kind_is_not_specified_using_0_6088\",\"Module resolution kind is not specified, using '{0}'.\"),Module_name_0_was_successfully_resolved_to_1:m(6089,3,\"Module_name_0_was_successfully_resolved_to_1_6089\",\"======== Module name '{0}' was successfully resolved to '{1}'. ========\"),Module_name_0_was_not_resolved:m(6090,3,\"Module_name_0_was_not_resolved_6090\",\"======== Module name '{0}' was not resolved. ========\"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:m(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}'.\"),Module_name_0_matched_pattern_1:m(6092,3,\"Module_name_0_matched_pattern_1_6092\",\"Module name '{0}', matched pattern '{1}'.\"),Trying_substitution_0_candidate_module_location_Colon_1:m(6093,3,\"Trying_substitution_0_candidate_module_location_Colon_1_6093\",\"Trying substitution '{0}', candidate module location: '{1}'.\"),Resolving_module_name_0_relative_to_base_url_1_2:m(6094,3,\"Resolving_module_name_0_relative_to_base_url_1_2_6094\",\"Resolving module name '{0}' relative to base url '{1}' - '{2}'.\"),Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1:m(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}.\"),File_0_does_not_exist:m(6096,3,\"File_0_does_not_exist_6096\",\"File '{0}' does not exist.\"),File_0_exists_use_it_as_a_name_resolution_result:m(6097,3,\"File_0_exists_use_it_as_a_name_resolution_result_6097\",\"File '{0}' exists - use it as a name resolution result.\"),Loading_module_0_from_node_modules_folder_target_file_types_Colon_1:m(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}.\"),Found_package_json_at_0:m(6099,3,\"Found_package_json_at_0_6099\",\"Found 'package.json' at '{0}'.\"),package_json_does_not_have_a_0_field:m(6100,3,\"package_json_does_not_have_a_0_field_6100\",\"'package.json' does not have a '{0}' field.\"),package_json_has_0_field_1_that_references_2:m(6101,3,\"package_json_has_0_field_1_that_references_2_6101\",\"'package.json' has '{0}' field '{1}' that references '{2}'.\"),Allow_javascript_files_to_be_compiled:m(6102,3,\"Allow_javascript_files_to_be_compiled_6102\",\"Allow javascript files to be compiled.\"),Checking_if_0_is_the_longest_matching_prefix_for_1_2:m(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}'.\"),Expected_type_of_0_field_in_package_json_to_be_1_got_2:m(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}'.\"),baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:m(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}'.\"),rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0:m(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}'.\"),Longest_matching_prefix_for_0_is_1:m(6108,3,\"Longest_matching_prefix_for_0_is_1_6108\",\"Longest matching prefix for '{0}' is '{1}'.\"),Loading_0_from_the_root_dir_1_candidate_location_2:m(6109,3,\"Loading_0_from_the_root_dir_1_candidate_location_2_6109\",\"Loading '{0}' from the root dir '{1}', candidate location '{2}'.\"),Trying_other_entries_in_rootDirs:m(6110,3,\"Trying_other_entries_in_rootDirs_6110\",\"Trying other entries in 'rootDirs'.\"),Module_resolution_using_rootDirs_has_failed:m(6111,3,\"Module_resolution_using_rootDirs_has_failed_6111\",\"Module resolution using 'rootDirs' has failed.\"),Do_not_emit_use_strict_directives_in_module_output:m(6112,3,\"Do_not_emit_use_strict_directives_in_module_output_6112\",\"Do not emit 'use strict' directives in module output.\"),Enable_strict_null_checks:m(6113,3,\"Enable_strict_null_checks_6113\",\"Enable strict null checks.\"),Unknown_option_excludes_Did_you_mean_exclude:m(6114,1,\"Unknown_option_excludes_Did_you_mean_exclude_6114\",\"Unknown option 'excludes'. Did you mean 'exclude'?\"),Raise_error_on_this_expressions_with_an_implied_any_type:m(6115,3,\"Raise_error_on_this_expressions_with_an_implied_any_type_6115\",\"Raise error on 'this' expressions with an implied 'any' type.\"),Resolving_type_reference_directive_0_containing_file_1_root_directory_2:m(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}'. ========\"),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:m(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}. ========\"),Type_reference_directive_0_was_not_resolved:m(6120,3,\"Type_reference_directive_0_was_not_resolved_6120\",\"======== Type reference directive '{0}' was not resolved. ========\"),Resolving_with_primary_search_path_0:m(6121,3,\"Resolving_with_primary_search_path_0_6121\",\"Resolving with primary search path '{0}'.\"),Root_directory_cannot_be_determined_skipping_primary_search_paths:m(6122,3,\"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122\",\"Root directory cannot be determined, skipping primary search paths.\"),Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:m(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. ========\"),Type_declaration_files_to_be_included_in_compilation:m(6124,3,\"Type_declaration_files_to_be_included_in_compilation_6124\",\"Type declaration files to be included in compilation.\"),Looking_up_in_node_modules_folder_initial_location_0:m(6125,3,\"Looking_up_in_node_modules_folder_initial_location_0_6125\",\"Looking up in 'node_modules' folder, initial location '{0}'.\"),Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder:m(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.\"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:m(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}'. ========\"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:m(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. ========\"),Resolving_real_path_for_0_result_1:m(6130,3,\"Resolving_real_path_for_0_result_1_6130\",\"Resolving real path for '{0}', result '{1}'.\"),Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:m(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'.\"),File_name_0_has_a_1_extension_stripping_it:m(6132,3,\"File_name_0_has_a_1_extension_stripping_it_6132\",\"File name '{0}' has a '{1}' extension - stripping it.\"),_0_is_declared_but_its_value_is_never_read:m(6133,1,\"_0_is_declared_but_its_value_is_never_read_6133\",\"'{0}' is declared but its value is never read.\",!0),Report_errors_on_unused_locals:m(6134,3,\"Report_errors_on_unused_locals_6134\",\"Report errors on unused locals.\"),Report_errors_on_unused_parameters:m(6135,3,\"Report_errors_on_unused_parameters_6135\",\"Report errors on unused parameters.\"),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:m(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.\"),Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1:m(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}'.\"),Property_0_is_declared_but_its_value_is_never_read:m(6138,1,\"Property_0_is_declared_but_its_value_is_never_read_6138\",\"Property '{0}' is declared but its value is never read.\",!0),Import_emit_helpers_from_tslib:m(6139,3,\"Import_emit_helpers_from_tslib_6139\",\"Import emit helpers from 'tslib'.\"),Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2:m(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}'.\"),Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:m(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.'),Module_0_was_resolved_to_1_but_jsx_is_not_set:m(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.\"),Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:m(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}'.\"),Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified:m(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.\"),Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:m(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'.\"),Resolution_for_module_0_was_found_in_cache_from_location_1:m(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}'.\"),Directory_0_does_not_exist_skipping_all_lookups_in_it:m(6148,3,\"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148\",\"Directory '{0}' does not exist, skipping all lookups in it.\"),Show_diagnostic_information:m(6149,3,\"Show_diagnostic_information_6149\",\"Show diagnostic information.\"),Show_verbose_diagnostic_information:m(6150,3,\"Show_verbose_diagnostic_information_6150\",\"Show verbose diagnostic information.\"),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:m(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.\"),Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set:m(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.\"),Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:m(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').\"),Print_names_of_generated_files_part_of_the_compilation:m(6154,3,\"Print_names_of_generated_files_part_of_the_compilation_6154\",\"Print names of generated files part of the compilation.\"),Print_names_of_files_part_of_the_compilation:m(6155,3,\"Print_names_of_files_part_of_the_compilation_6155\",\"Print names of files part of the compilation.\"),The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:m(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')\"),Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:m(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.\"),Do_not_include_the_default_library_file_lib_d_ts:m(6158,3,\"Do_not_include_the_default_library_file_lib_d_ts_6158\",\"Do not include the default library file (lib.d.ts).\"),Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files:m(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.\"),Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:m(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.\"),List_of_folders_to_include_type_definitions_from:m(6161,3,\"List_of_folders_to_include_type_definitions_from_6161\",\"List of folders to include type definitions from.\"),Disable_size_limitations_on_JavaScript_projects:m(6162,3,\"Disable_size_limitations_on_JavaScript_projects_6162\",\"Disable size limitations on JavaScript projects.\"),The_character_set_of_the_input_files:m(6163,3,\"The_character_set_of_the_input_files_6163\",\"The character set of the input files.\"),Do_not_truncate_error_messages:m(6165,3,\"Do_not_truncate_error_messages_6165\",\"Do not truncate error messages.\"),Output_directory_for_generated_declaration_files:m(6166,3,\"Output_directory_for_generated_declaration_files_6166\",\"Output directory for generated declaration files.\"),A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:m(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'.\"),List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:m(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.\"),Show_all_compiler_options:m(6169,3,\"Show_all_compiler_options_6169\",\"Show all compiler options.\"),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:m(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\"),Command_line_Options:m(6171,3,\"Command_line_Options_6171\",\"Command-line Options\"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:m(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'.\"),Enable_all_strict_type_checking_options:m(6180,3,\"Enable_all_strict_type_checking_options_6180\",\"Enable all strict type-checking options.\"),Scoped_package_detected_looking_in_0:m(6182,3,\"Scoped_package_detected_looking_in_0_6182\",\"Scoped package detected, looking in '{0}'\"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:m(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}'.\"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:m(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}'.\"),Enable_strict_checking_of_function_types:m(6186,3,\"Enable_strict_checking_of_function_types_6186\",\"Enable strict checking of function types.\"),Enable_strict_checking_of_property_initialization_in_classes:m(6187,3,\"Enable_strict_checking_of_property_initialization_in_classes_6187\",\"Enable strict checking of property initialization in classes.\"),Numeric_separators_are_not_allowed_here:m(6188,1,\"Numeric_separators_are_not_allowed_here_6188\",\"Numeric separators are not allowed here.\"),Multiple_consecutive_numeric_separators_are_not_permitted:m(6189,1,\"Multiple_consecutive_numeric_separators_are_not_permitted_6189\",\"Multiple consecutive numeric separators are not permitted.\"),Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen:m(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.\"),All_imports_in_import_declaration_are_unused:m(6192,1,\"All_imports_in_import_declaration_are_unused_6192\",\"All imports in import declaration are unused.\",!0),Found_1_error_Watching_for_file_changes:m(6193,3,\"Found_1_error_Watching_for_file_changes_6193\",\"Found 1 error. Watching for file changes.\"),Found_0_errors_Watching_for_file_changes:m(6194,3,\"Found_0_errors_Watching_for_file_changes_6194\",\"Found {0} errors. Watching for file changes.\"),Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols:m(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).\"),_0_is_declared_but_never_used:m(6196,1,\"_0_is_declared_but_never_used_6196\",\"'{0}' is declared but never used.\",!0),Include_modules_imported_with_json_extension:m(6197,3,\"Include_modules_imported_with_json_extension_6197\",\"Include modules imported with '.json' extension\"),All_destructured_elements_are_unused:m(6198,1,\"All_destructured_elements_are_unused_6198\",\"All destructured elements are unused.\",!0),All_variables_are_unused:m(6199,1,\"All_variables_are_unused_6199\",\"All variables are unused.\",!0),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:m(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}\"),Conflicts_are_in_this_file:m(6201,3,\"Conflicts_are_in_this_file_6201\",\"Conflicts are in this file.\"),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:m(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}\"),_0_was_also_declared_here:m(6203,3,\"_0_was_also_declared_here_6203\",\"'{0}' was also declared here.\"),and_here:m(6204,3,\"and_here_6204\",\"and here.\"),All_type_parameters_are_unused:m(6205,1,\"All_type_parameters_are_unused_6205\",\"All type parameters are unused.\"),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:m(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.\"),package_json_does_not_have_a_typesVersions_entry_that_matches_version_0:m(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}'.\"),package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2:m(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}'.\"),package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range:m(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.\"),An_argument_for_0_was_not_provided:m(6210,3,\"An_argument_for_0_was_not_provided_6210\",\"An argument for '{0}' was not provided.\"),An_argument_matching_this_binding_pattern_was_not_provided:m(6211,3,\"An_argument_matching_this_binding_pattern_was_not_provided_6211\",\"An argument matching this binding pattern was not provided.\"),Did_you_mean_to_call_this_expression:m(6212,3,\"Did_you_mean_to_call_this_expression_6212\",\"Did you mean to call this expression?\"),Did_you_mean_to_use_new_with_this_expression:m(6213,3,\"Did_you_mean_to_use_new_with_this_expression_6213\",\"Did you mean to use 'new' with this expression?\"),Enable_strict_bind_call_and_apply_methods_on_functions:m(6214,3,\"Enable_strict_bind_call_and_apply_methods_on_functions_6214\",\"Enable strict 'bind', 'call', and 'apply' methods on functions.\"),Using_compiler_options_of_project_reference_redirect_0:m(6215,3,\"Using_compiler_options_of_project_reference_redirect_0_6215\",\"Using compiler options of project reference redirect '{0}'.\"),Found_1_error:m(6216,3,\"Found_1_error_6216\",\"Found 1 error.\"),Found_0_errors:m(6217,3,\"Found_0_errors_6217\",\"Found {0} errors.\"),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:m(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}'. ========\"),Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3:m(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}. ========\"),package_json_had_a_falsy_0_field:m(6220,3,\"package_json_had_a_falsy_0_field_6220\",\"'package.json' had a falsy '{0}' field.\"),Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects:m(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.\"),Emit_class_fields_with_Define_instead_of_Set:m(6222,3,\"Emit_class_fields_with_Define_instead_of_Set_6222\",\"Emit class fields with Define instead of Set.\"),Generates_a_CPU_profile:m(6223,3,\"Generates_a_CPU_profile_6223\",\"Generates a CPU profile.\"),Disable_solution_searching_for_this_project:m(6224,3,\"Disable_solution_searching_for_this_project_6224\",\"Disable solution searching for this project.\"),Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling_UseFsEvents_UseFsEventsOnParentDirectory:m(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'.\"),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling:m(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'.\"),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority_FixedChunkSize:m(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'.\"),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:m(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}'.\"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line:m(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.\"),Could_not_resolve_the_path_0_with_the_extensions_Colon_1:m(6231,1,\"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231\",\"Could not resolve the path '{0}' with the extensions: {1}.\"),Declaration_augments_declaration_in_another_file_This_cannot_be_serialized:m(6232,1,\"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232\",\"Declaration augments declaration in another file. This cannot be serialized.\"),This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file:m(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.\"),This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without:m(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 '()'?\"),Disable_loading_referenced_projects:m(6235,3,\"Disable_loading_referenced_projects_6235\",\"Disable loading referenced projects.\"),Arguments_for_the_rest_parameter_0_were_not_provided:m(6236,1,\"Arguments_for_the_rest_parameter_0_were_not_provided_6236\",\"Arguments for the rest parameter '{0}' were not provided.\"),Generates_an_event_trace_and_a_list_of_types:m(6237,3,\"Generates_an_event_trace_and_a_list_of_types_6237\",\"Generates an event trace and a list of types.\"),Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react:m(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\"),File_0_exists_according_to_earlier_cached_lookups:m(6239,3,\"File_0_exists_according_to_earlier_cached_lookups_6239\",\"File '{0}' exists according to earlier cached lookups.\"),File_0_does_not_exist_according_to_earlier_cached_lookups:m(6240,3,\"File_0_does_not_exist_according_to_earlier_cached_lookups_6240\",\"File '{0}' does not exist according to earlier cached lookups.\"),Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1:m(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}'.\"),Resolving_type_reference_directive_0_containing_file_1:m(6242,3,\"Resolving_type_reference_directive_0_containing_file_1_6242\",\"======== Resolving type reference directive '{0}', containing file '{1}'. ========\"),Interpret_optional_property_types_as_written_rather_than_adding_undefined:m(6243,3,\"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243\",\"Interpret optional property types as written, rather than adding 'undefined'.\"),Modules:m(6244,3,\"Modules_6244\",\"Modules\"),File_Management:m(6245,3,\"File_Management_6245\",\"File Management\"),Emit:m(6246,3,\"Emit_6246\",\"Emit\"),JavaScript_Support:m(6247,3,\"JavaScript_Support_6247\",\"JavaScript Support\"),Type_Checking:m(6248,3,\"Type_Checking_6248\",\"Type Checking\"),Editor_Support:m(6249,3,\"Editor_Support_6249\",\"Editor Support\"),Watch_and_Build_Modes:m(6250,3,\"Watch_and_Build_Modes_6250\",\"Watch and Build Modes\"),Compiler_Diagnostics:m(6251,3,\"Compiler_Diagnostics_6251\",\"Compiler Diagnostics\"),Interop_Constraints:m(6252,3,\"Interop_Constraints_6252\",\"Interop Constraints\"),Backwards_Compatibility:m(6253,3,\"Backwards_Compatibility_6253\",\"Backwards Compatibility\"),Language_and_Environment:m(6254,3,\"Language_and_Environment_6254\",\"Language and Environment\"),Projects:m(6255,3,\"Projects_6255\",\"Projects\"),Output_Formatting:m(6256,3,\"Output_Formatting_6256\",\"Output Formatting\"),Completeness:m(6257,3,\"Completeness_6257\",\"Completeness\"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:m(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\"),Found_1_error_in_1:m(6259,3,\"Found_1_error_in_1_6259\",\"Found 1 error in {1}\"),Found_0_errors_in_the_same_file_starting_at_Colon_1:m(6260,3,\"Found_0_errors_in_the_same_file_starting_at_Colon_1_6260\",\"Found {0} errors in the same file, starting at: {1}\"),Found_0_errors_in_1_files:m(6261,3,\"Found_0_errors_in_1_files_6261\",\"Found {0} errors in {1} files.\"),File_name_0_has_a_1_extension_looking_up_2_instead:m(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.\"),Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set:m(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.\"),Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present:m(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.\"),Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve:m(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.\"),Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1:m(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}'.\"),Invalid_import_specifier_0_has_no_possible_resolutions:m(6272,3,\"Invalid_import_specifier_0_has_no_possible_resolutions_6272\",\"Invalid import specifier '{0}' has no possible resolutions.\"),package_json_scope_0_has_no_imports_defined:m(6273,3,\"package_json_scope_0_has_no_imports_defined_6273\",\"package.json scope '{0}' has no imports defined.\"),package_json_scope_0_explicitly_maps_specifier_1_to_null:m(6274,3,\"package_json_scope_0_explicitly_maps_specifier_1_to_null_6274\",\"package.json scope '{0}' explicitly maps specifier '{1}' to null.\"),package_json_scope_0_has_invalid_type_for_target_of_specifier_1:m(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}'\"),Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1:m(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}'.\"),Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update:m(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.\"),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:m(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.`),Enable_project_compilation:m(6302,3,\"Enable_project_compilation_6302\",\"Enable project compilation\"),Composite_projects_may_not_disable_declaration_emit:m(6304,1,\"Composite_projects_may_not_disable_declaration_emit_6304\",\"Composite projects may not disable declaration emit.\"),Output_file_0_has_not_been_built_from_source_file_1:m(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}'.\"),Referenced_project_0_must_have_setting_composite_Colon_true:m(6306,1,\"Referenced_project_0_must_have_setting_composite_Colon_true_6306\",`Referenced project '{0}' must have setting \"composite\": true.`),File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern:m(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.\"),Cannot_prepend_project_0_because_it_does_not_have_outFile_set:m(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\"),Output_file_0_from_project_1_does_not_exist:m(6309,1,\"Output_file_0_from_project_1_does_not_exist_6309\",\"Output file '{0}' from project '{1}' does not exist\"),Referenced_project_0_may_not_disable_emit:m(6310,1,\"Referenced_project_0_may_not_disable_emit_6310\",\"Referenced project '{0}' may not disable emit.\"),Project_0_is_out_of_date_because_output_1_is_older_than_input_2:m(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}'\"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2:m(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}'\"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:m(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\"),Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date:m(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\"),Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies:m(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\"),Projects_in_this_build_Colon_0:m(6355,3,\"Projects_in_this_build_Colon_0_6355\",\"Projects in this build: {0}\"),A_non_dry_build_would_delete_the_following_files_Colon_0:m(6356,3,\"A_non_dry_build_would_delete_the_following_files_Colon_0_6356\",\"A non-dry build would delete the following files: {0}\"),A_non_dry_build_would_build_project_0:m(6357,3,\"A_non_dry_build_would_build_project_0_6357\",\"A non-dry build would build project '{0}'\"),Building_project_0:m(6358,3,\"Building_project_0_6358\",\"Building project '{0}'...\"),Updating_output_timestamps_of_project_0:m(6359,3,\"Updating_output_timestamps_of_project_0_6359\",\"Updating output timestamps of project '{0}'...\"),Project_0_is_up_to_date:m(6361,3,\"Project_0_is_up_to_date_6361\",\"Project '{0}' is up to date\"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:m(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\"),Project_0_can_t_be_built_because_its_dependency_1_has_errors:m(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\"),Build_one_or_more_projects_and_their_dependencies_if_out_of_date:m(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\"),Delete_the_outputs_of_all_projects:m(6365,3,\"Delete_the_outputs_of_all_projects_6365\",\"Delete the outputs of all projects.\"),Show_what_would_be_built_or_deleted_if_specified_with_clean:m(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')\"),Option_build_must_be_the_first_command_line_argument:m(6369,1,\"Option_build_must_be_the_first_command_line_argument_6369\",\"Option '--build' must be the first command line argument.\"),Options_0_and_1_cannot_be_combined:m(6370,1,\"Options_0_and_1_cannot_be_combined_6370\",\"Options '{0}' and '{1}' cannot be combined.\"),Updating_unchanged_output_timestamps_of_project_0:m(6371,3,\"Updating_unchanged_output_timestamps_of_project_0_6371\",\"Updating unchanged output timestamps of project '{0}'...\"),Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed:m(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\"),Updating_output_of_project_0:m(6373,3,\"Updating_output_of_project_0_6373\",\"Updating output of project '{0}'...\"),A_non_dry_build_would_update_timestamps_for_output_of_project_0:m(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}'\"),A_non_dry_build_would_update_output_of_project_0:m(6375,3,\"A_non_dry_build_would_update_output_of_project_0_6375\",\"A non-dry build would update output of project '{0}'\"),Cannot_update_output_of_project_0_because_there_was_error_reading_file_1:m(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}'\"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:m(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}'\"),Composite_projects_may_not_disable_incremental_compilation:m(6379,1,\"Composite_projects_may_not_disable_incremental_compilation_6379\",\"Composite projects may not disable incremental compilation.\"),Specify_file_to_store_incremental_compilation_information:m(6380,3,\"Specify_file_to_store_incremental_compilation_information_6380\",\"Specify file to store incremental compilation information\"),Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2:m(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}'\"),Skipping_build_of_project_0_because_its_dependency_1_was_not_built:m(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\"),Project_0_can_t_be_built_because_its_dependency_1_was_not_built:m(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\"),Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:m(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.\"),_0_is_deprecated:m(6385,2,\"_0_is_deprecated_6385\",\"'{0}' is deprecated.\",void 0,void 0,!0),Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found:m(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.\"),The_signature_0_of_1_is_deprecated:m(6387,2,\"The_signature_0_of_1_is_deprecated_6387\",\"The signature '{0}' of '{1}' is deprecated.\",void 0,void 0,!0),Project_0_is_being_forcibly_rebuilt:m(6388,3,\"Project_0_is_being_forcibly_rebuilt_6388\",\"Project '{0}' is being forcibly rebuilt\"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:m(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.\"),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:m(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}'.\"),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:m(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}'.\"),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved:m(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.\"),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:m(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}'.\"),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:m(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}'.\"),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:m(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.\"),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:m(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}'.\"),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:m(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}'.\"),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:m(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.\"),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted:m(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\"),Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files:m(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\"),Project_0_is_out_of_date_because_there_was_error_reading_file_1:m(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}'\"),Resolving_in_0_mode_with_conditions_1:m(6402,3,\"Resolving_in_0_mode_with_conditions_1_6402\",\"Resolving in {0} mode with conditions {1}.\"),Matched_0_condition_1:m(6403,3,\"Matched_0_condition_1_6403\",\"Matched '{0}' condition '{1}'.\"),Using_0_subpath_1_with_target_2:m(6404,3,\"Using_0_subpath_1_with_target_2_6404\",\"Using '{0}' subpath '{1}' with target '{2}'.\"),Saw_non_matching_condition_0:m(6405,3,\"Saw_non_matching_condition_0_6405\",\"Saw non-matching condition '{0}'.\"),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions:m(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\"),Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set:m(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.\"),Use_the_package_json_exports_field_when_resolving_package_imports:m(6408,3,\"Use_the_package_json_exports_field_when_resolving_package_imports_6408\",\"Use the package.json 'exports' field when resolving package imports.\"),Use_the_package_json_imports_field_when_resolving_imports:m(6409,3,\"Use_the_package_json_imports_field_when_resolving_imports_6409\",\"Use the package.json 'imports' field when resolving imports.\"),Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports:m(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.\"),true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false:m(6411,3,\"true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411\",\"`true` when 'moduleResolution' is 'node16', 'nodenext', or 'bundler'; otherwise `false`.\"),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more:m(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.\"),Entering_conditional_exports:m(6413,3,\"Entering_conditional_exports_6413\",\"Entering conditional exports.\"),Resolved_under_condition_0:m(6414,3,\"Resolved_under_condition_0_6414\",\"Resolved under condition '{0}'.\"),Failed_to_resolve_under_condition_0:m(6415,3,\"Failed_to_resolve_under_condition_0_6415\",\"Failed to resolve under condition '{0}'.\"),Exiting_conditional_exports:m(6416,3,\"Exiting_conditional_exports_6416\",\"Exiting conditional exports.\"),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:m(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}'\"),The_expected_type_comes_from_this_index_signature:m(6501,3,\"The_expected_type_comes_from_this_index_signature_6501\",\"The expected type comes from this index signature.\"),The_expected_type_comes_from_the_return_type_of_this_signature:m(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.\"),Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing:m(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.\"),File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option:m(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?\"),Print_names_of_files_and_the_reason_they_are_part_of_the_compilation:m(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.\"),Consider_adding_a_declare_modifier_to_this_class:m(6506,3,\"Consider_adding_a_declare_modifier_to_this_class_6506\",\"Consider adding a 'declare' modifier to this class.\"),Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files:m(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.\"),Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export:m(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.\"),Allow_accessing_UMD_globals_from_modules:m(6602,3,\"Allow_accessing_UMD_globals_from_modules_6602\",\"Allow accessing UMD globals from modules.\"),Disable_error_reporting_for_unreachable_code:m(6603,3,\"Disable_error_reporting_for_unreachable_code_6603\",\"Disable error reporting for unreachable code.\"),Disable_error_reporting_for_unused_labels:m(6604,3,\"Disable_error_reporting_for_unused_labels_6604\",\"Disable error reporting for unused labels.\"),Ensure_use_strict_is_always_emitted:m(6605,3,\"Ensure_use_strict_is_always_emitted_6605\",\"Ensure 'use strict' is always emitted.\"),Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:m(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.\"),Specify_the_base_directory_to_resolve_non_relative_module_names:m(6607,3,\"Specify_the_base_directory_to_resolve_non_relative_module_names_6607\",\"Specify the base directory to resolve non-relative module names.\"),No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files:m(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.\"),Enable_error_reporting_in_type_checked_JavaScript_files:m(6609,3,\"Enable_error_reporting_in_type_checked_JavaScript_files_6609\",\"Enable error reporting in type-checked JavaScript files.\"),Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references:m(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.\"),Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project:m(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.\"),Specify_the_output_directory_for_generated_declaration_files:m(6613,3,\"Specify_the_output_directory_for_generated_declaration_files_6613\",\"Specify the output directory for generated declaration files.\"),Create_sourcemaps_for_d_ts_files:m(6614,3,\"Create_sourcemaps_for_d_ts_files_6614\",\"Create sourcemaps for d.ts files.\"),Output_compiler_performance_information_after_building:m(6615,3,\"Output_compiler_performance_information_after_building_6615\",\"Output compiler performance information after building.\"),Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project:m(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.\"),Reduce_the_number_of_projects_loaded_automatically_by_TypeScript:m(6617,3,\"Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617\",\"Reduce the number of projects loaded automatically by TypeScript.\"),Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server:m(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.\"),Opt_a_project_out_of_multi_project_reference_checking_when_editing:m(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.\"),Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects:m(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.\"),Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration:m(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.\"),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:m(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.\"),Only_output_d_ts_files_and_not_JavaScript_files:m(6623,3,\"Only_output_d_ts_files_and_not_JavaScript_files_6623\",\"Only output d.ts files and not JavaScript files.\"),Emit_design_type_metadata_for_decorated_declarations_in_source_files:m(6624,3,\"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624\",\"Emit design-type metadata for decorated declarations in source files.\"),Disable_the_type_acquisition_for_JavaScript_projects:m(6625,3,\"Disable_the_type_acquisition_for_JavaScript_projects_6625\",\"Disable the type acquisition for JavaScript projects\"),Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility:m(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.\"),Filters_results_from_the_include_option:m(6627,3,\"Filters_results_from_the_include_option_6627\",\"Filters results from the `include` option.\"),Remove_a_list_of_directories_from_the_watch_process:m(6628,3,\"Remove_a_list_of_directories_from_the_watch_process_6628\",\"Remove a list of directories from the watch process.\"),Remove_a_list_of_files_from_the_watch_mode_s_processing:m(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.\"),Enable_experimental_support_for_legacy_experimental_decorators:m(6630,3,\"Enable_experimental_support_for_legacy_experimental_decorators_6630\",\"Enable experimental support for legacy experimental decorators.\"),Print_files_read_during_the_compilation_including_why_it_was_included:m(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.\"),Output_more_detailed_compiler_performance_information_after_building:m(6632,3,\"Output_more_detailed_compiler_performance_information_after_building_6632\",\"Output more detailed compiler performance information after building.\"),Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_are_inherited:m(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.\"),Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers:m(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.\"),Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include:m(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`.\"),Build_all_projects_including_those_that_appear_to_be_up_to_date:m(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.\"),Ensure_that_casing_is_correct_in_imports:m(6637,3,\"Ensure_that_casing_is_correct_in_imports_6637\",\"Ensure that casing is correct in imports.\"),Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging:m(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.\"),Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file:m(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.\"),Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation:m(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.\"),Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects:m(6642,3,\"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642\",\"Save .tsbuildinfo files to allow for incremental compilation of projects.\"),Include_sourcemap_files_inside_the_emitted_JavaScript:m(6643,3,\"Include_sourcemap_files_inside_the_emitted_JavaScript_6643\",\"Include sourcemap files inside the emitted JavaScript.\"),Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript:m(6644,3,\"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644\",\"Include source code in the sourcemaps inside the emitted JavaScript.\"),Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports:m(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.\"),Specify_what_JSX_code_is_generated:m(6646,3,\"Specify_what_JSX_code_is_generated_6646\",\"Specify what JSX code is generated.\"),Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h:m(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'.\"),Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment:m(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'.\"),Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk:m(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*'.\"),Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option:m(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.\"),Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment:m(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.\"),Print_the_names_of_emitted_files_after_a_compilation:m(6652,3,\"Print_the_names_of_emitted_files_after_a_compilation_6652\",\"Print the names of emitted files after a compilation.\"),Print_all_of_the_files_read_during_the_compilation:m(6653,3,\"Print_all_of_the_files_read_during_the_compilation_6653\",\"Print all of the files read during the compilation.\"),Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit:m(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.\"),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:m(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.\"),Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs:m(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'.\"),Specify_what_module_code_is_generated:m(6657,3,\"Specify_what_module_code_is_generated_6657\",\"Specify what module code is generated.\"),Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier:m(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.\"),Set_the_newline_character_for_emitting_files:m(6659,3,\"Set_the_newline_character_for_emitting_files_6659\",\"Set the newline character for emitting files.\"),Disable_emitting_files_from_a_compilation:m(6660,3,\"Disable_emitting_files_from_a_compilation_6660\",\"Disable emitting files from a compilation.\"),Disable_generating_custom_helper_functions_like_extends_in_compiled_output:m(6661,3,\"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661\",\"Disable generating custom helper functions like '__extends' in compiled output.\"),Disable_emitting_files_if_any_type_checking_errors_are_reported:m(6662,3,\"Disable_emitting_files_if_any_type_checking_errors_are_reported_6662\",\"Disable emitting files if any type checking errors are reported.\"),Disable_truncating_types_in_error_messages:m(6663,3,\"Disable_truncating_types_in_error_messages_6663\",\"Disable truncating types in error messages.\"),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:m(6664,3,\"Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664\",\"Enable error reporting for fallthrough cases in switch statements.\"),Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type:m(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.\"),Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier:m(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.\"),Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function:m(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.\"),Enable_error_reporting_when_this_is_given_the_type_any:m(6668,3,\"Enable_error_reporting_when_this_is_given_the_type_any_6668\",\"Enable error reporting when 'this' is given the type 'any'.\"),Disable_adding_use_strict_directives_in_emitted_JavaScript_files:m(6669,3,\"Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669\",\"Disable adding 'use strict' directives in emitted JavaScript files.\"),Disable_including_any_library_files_including_the_default_lib_d_ts:m(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.\"),Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type:m(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.\"),Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project:m(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.\"),Disable_strict_checking_of_generic_signatures_in_function_types:m(6673,3,\"Disable_strict_checking_of_generic_signatures_in_function_types_6673\",\"Disable strict checking of generic signatures in function types.\"),Add_undefined_to_a_type_when_accessed_using_an_index:m(6674,3,\"Add_undefined_to_a_type_when_accessed_using_an_index_6674\",\"Add 'undefined' to a type when accessed using an index.\"),Enable_error_reporting_when_local_variables_aren_t_read:m(6675,3,\"Enable_error_reporting_when_local_variables_aren_t_read_6675\",\"Enable error reporting when local variables aren't read.\"),Raise_an_error_when_a_function_parameter_isn_t_read:m(6676,3,\"Raise_an_error_when_a_function_parameter_isn_t_read_6676\",\"Raise an error when a function parameter isn't read.\"),Deprecated_setting_Use_outFile_instead:m(6677,3,\"Deprecated_setting_Use_outFile_instead_6677\",\"Deprecated setting. Use 'outFile' instead.\"),Specify_an_output_folder_for_all_emitted_files:m(6678,3,\"Specify_an_output_folder_for_all_emitted_files_6678\",\"Specify an output folder for all emitted files.\"),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:m(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.\"),Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations:m(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.\"),Specify_a_list_of_language_service_plugins_to_include:m(6681,3,\"Specify_a_list_of_language_service_plugins_to_include_6681\",\"Specify a list of language service plugins to include.\"),Disable_erasing_const_enum_declarations_in_generated_code:m(6682,3,\"Disable_erasing_const_enum_declarations_in_generated_code_6682\",\"Disable erasing 'const enum' declarations in generated code.\"),Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node:m(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.\"),Disable_wiping_the_console_in_watch_mode:m(6684,3,\"Disable_wiping_the_console_in_watch_mode_6684\",\"Disable wiping the console in watch mode.\"),Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read:m(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.\"),Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit:m(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.\"),Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references:m(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.\"),Disable_emitting_comments:m(6688,3,\"Disable_emitting_comments_6688\",\"Disable emitting comments.\"),Enable_importing_json_files:m(6689,3,\"Enable_importing_json_files_6689\",\"Enable importing .json files.\"),Specify_the_root_folder_within_your_source_files:m(6690,3,\"Specify_the_root_folder_within_your_source_files_6690\",\"Specify the root folder within your source files.\"),Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules:m(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.\"),Skip_type_checking_d_ts_files_that_are_included_with_TypeScript:m(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.\"),Skip_type_checking_all_d_ts_files:m(6693,3,\"Skip_type_checking_all_d_ts_files_6693\",\"Skip type checking all .d.ts files.\"),Create_source_map_files_for_emitted_JavaScript_files:m(6694,3,\"Create_source_map_files_for_emitted_JavaScript_files_6694\",\"Create source map files for emitted JavaScript files.\"),Specify_the_root_path_for_debuggers_to_find_the_reference_source_code:m(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.\"),Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function:m(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.\"),When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible:m(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.\"),When_type_checking_take_into_account_null_and_undefined:m(6699,3,\"When_type_checking_take_into_account_null_and_undefined_6699\",\"When type checking, take into account 'null' and 'undefined'.\"),Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor:m(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.\"),Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments:m(6701,3,\"Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701\",\"Disable emitting declarations that have '@internal' in their JSDoc comments.\"),Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals:m(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.\"),Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures:m(6703,3,\"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703\",\"Suppress 'noImplicitAny' errors when indexing objects that lack index signatures.\"),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:m(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.\"),Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations:m(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.\"),Log_paths_used_during_the_moduleResolution_process:m(6706,3,\"Log_paths_used_during_the_moduleResolution_process_6706\",\"Log paths used during the 'moduleResolution' process.\"),Specify_the_path_to_tsbuildinfo_incremental_compilation_file:m(6707,3,\"Specify_the_path_to_tsbuildinfo_incremental_compilation_file_6707\",\"Specify the path to .tsbuildinfo incremental compilation file.\"),Specify_options_for_automatic_acquisition_of_declaration_files:m(6709,3,\"Specify_options_for_automatic_acquisition_of_declaration_files_6709\",\"Specify options for automatic acquisition of declaration files.\"),Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types:m(6710,3,\"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710\",\"Specify multiple folders that act like './node_modules/@types'.\"),Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file:m(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.\"),Emit_ECMAScript_standard_compliant_class_fields:m(6712,3,\"Emit_ECMAScript_standard_compliant_class_fields_6712\",\"Emit ECMAScript-standard-compliant class fields.\"),Enable_verbose_logging:m(6713,3,\"Enable_verbose_logging_6713\",\"Enable verbose logging.\"),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:m(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.\"),Specify_how_the_TypeScript_watch_mode_works:m(6715,3,\"Specify_how_the_TypeScript_watch_mode_works_6715\",\"Specify how the TypeScript watch mode works.\"),Require_undeclared_properties_from_index_signatures_to_use_element_accesses:m(6717,3,\"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717\",\"Require undeclared properties from index signatures to use element accesses.\"),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:m(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.\"),Default_catch_clause_variables_as_unknown_instead_of_any:m(6803,3,\"Default_catch_clause_variables_as_unknown_instead_of_any_6803\",\"Default catch clause variables as 'unknown' instead of 'any'.\"),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:m(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.\"),one_of_Colon:m(6900,3,\"one_of_Colon_6900\",\"one of:\"),one_or_more_Colon:m(6901,3,\"one_or_more_Colon_6901\",\"one or more:\"),type_Colon:m(6902,3,\"type_Colon_6902\",\"type:\"),default_Colon:m(6903,3,\"default_Colon_6903\",\"default:\"),module_system_or_esModuleInterop:m(6904,3,\"module_system_or_esModuleInterop_6904\",'module === \"system\" or esModuleInterop'),false_unless_strict_is_set:m(6905,3,\"false_unless_strict_is_set_6905\",\"`false`, unless `strict` is set\"),false_unless_composite_is_set:m(6906,3,\"false_unless_composite_is_set_6906\",\"`false`, unless `composite` is set\"),node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified:m(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.'),if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk:m(6908,3,\"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908\",'`[]` if `files` is specified, otherwise `[\"**/*\"]`'),true_if_composite_false_otherwise:m(6909,3,\"true_if_composite_false_otherwise_6909\",\"`true` if `composite`, `false` otherwise\"),module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node:m(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`\"),Computed_from_the_list_of_input_files:m(6911,3,\"Computed_from_the_list_of_input_files_6911\",\"Computed from the list of input files\"),Platform_specific:m(6912,3,\"Platform_specific_6912\",\"Platform specific\"),You_can_learn_about_all_of_the_compiler_options_at_0:m(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}\"),Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon:m(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:\"),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:m(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}\"),COMMON_COMMANDS:m(6916,3,\"COMMON_COMMANDS_6916\",\"COMMON COMMANDS\"),ALL_COMPILER_OPTIONS:m(6917,3,\"ALL_COMPILER_OPTIONS_6917\",\"ALL COMPILER OPTIONS\"),WATCH_OPTIONS:m(6918,3,\"WATCH_OPTIONS_6918\",\"WATCH OPTIONS\"),BUILD_OPTIONS:m(6919,3,\"BUILD_OPTIONS_6919\",\"BUILD OPTIONS\"),COMMON_COMPILER_OPTIONS:m(6920,3,\"COMMON_COMPILER_OPTIONS_6920\",\"COMMON COMPILER OPTIONS\"),COMMAND_LINE_FLAGS:m(6921,3,\"COMMAND_LINE_FLAGS_6921\",\"COMMAND LINE FLAGS\"),tsc_Colon_The_TypeScript_Compiler:m(6922,3,\"tsc_Colon_The_TypeScript_Compiler_6922\",\"tsc: The TypeScript Compiler\"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:m(6923,3,\"Compiles_the_current_project_tsconfig_json_in_the_working_directory_6923\",\"Compiles the current project (tsconfig.json in the working directory.)\"),Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options:m(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.\"),Build_a_composite_project_in_the_working_directory:m(6925,3,\"Build_a_composite_project_in_the_working_directory_6925\",\"Build a composite project in the working directory.\"),Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory:m(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.\"),Compiles_the_TypeScript_project_located_at_the_specified_path:m(6927,3,\"Compiles_the_TypeScript_project_located_at_the_specified_path_6927\",\"Compiles the TypeScript project located at the specified path.\"),An_expanded_version_of_this_information_showing_all_possible_compiler_options:m(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\"),Compiles_the_current_project_with_additional_settings:m(6929,3,\"Compiles_the_current_project_with_additional_settings_6929\",\"Compiles the current project, with additional settings.\"),true_for_ES2022_and_above_including_ESNext:m(6930,3,\"true_for_ES2022_and_above_including_ESNext_6930\",\"`true` for ES2022 and above, including ESNext.\"),List_of_file_name_suffixes_to_search_when_resolving_a_module:m(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.\"),Variable_0_implicitly_has_an_1_type:m(7005,1,\"Variable_0_implicitly_has_an_1_type_7005\",\"Variable '{0}' implicitly has an '{1}' type.\"),Parameter_0_implicitly_has_an_1_type:m(7006,1,\"Parameter_0_implicitly_has_an_1_type_7006\",\"Parameter '{0}' implicitly has an '{1}' type.\"),Member_0_implicitly_has_an_1_type:m(7008,1,\"Member_0_implicitly_has_an_1_type_7008\",\"Member '{0}' implicitly has an '{1}' type.\"),new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:m(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.\"),_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:m(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.\"),Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:m(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.\"),This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation:m(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.\"),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:m(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.\"),Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:m(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.\"),Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:m(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'.\"),Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:m(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.\"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:m(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.\"),Object_literal_s_property_0_implicitly_has_an_1_type:m(7018,1,\"Object_literal_s_property_0_implicitly_has_an_1_type_7018\",\"Object literal's property '{0}' implicitly has an '{1}' type.\"),Rest_parameter_0_implicitly_has_an_any_type:m(7019,1,\"Rest_parameter_0_implicitly_has_an_any_type_7019\",\"Rest parameter '{0}' implicitly has an 'any[]' type.\"),Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:m(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.\"),_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:m(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.\"),_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:m(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.\"),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:m(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.\"),Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:m(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.\"),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:m(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.\"),Unreachable_code_detected:m(7027,1,\"Unreachable_code_detected_7027\",\"Unreachable code detected.\",!0),Unused_label:m(7028,1,\"Unused_label_7028\",\"Unused label.\",!0),Fallthrough_case_in_switch:m(7029,1,\"Fallthrough_case_in_switch_7029\",\"Fallthrough case in switch.\"),Not_all_code_paths_return_a_value:m(7030,1,\"Not_all_code_paths_return_a_value_7030\",\"Not all code paths return a value.\"),Binding_element_0_implicitly_has_an_1_type:m(7031,1,\"Binding_element_0_implicitly_has_an_1_type_7031\",\"Binding element '{0}' implicitly has an '{1}' type.\"),Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:m(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.\"),Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:m(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.\"),Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:m(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.\"),Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:m(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}';`\"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0:m(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}'.\"),Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports:m(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'.\"),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:m(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.\"),Mapped_object_type_implicitly_has_an_any_template_type:m(7039,1,\"Mapped_object_type_implicitly_has_an_any_template_type_7039\",\"Mapped object type implicitly has an 'any' template type.\"),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:m(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}'\"),The_containing_arrow_function_captures_the_global_value_of_this:m(7041,1,\"The_containing_arrow_function_captures_the_global_value_of_this_7041\",\"The containing arrow function captures the global value of 'this'.\"),Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used:m(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.\"),Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:m(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.\"),Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:m(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.\"),Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:m(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.\"),Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage:m(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.\"),Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:m(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.\"),Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage:m(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.\"),Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage:m(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.\"),_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:m(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.\"),Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1:m(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}'?\"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1:m(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}'?\"),Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1:m(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}'.\"),No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1:m(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}'.\"),_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:m(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.\"),The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed:m(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.\"),yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation:m(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.\"),If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1:m(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}';`\"),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead:m(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.\"),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint:m(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.\"),A_mapped_type_may_not_declare_properties_or_methods:m(7061,1,\"A_mapped_type_may_not_declare_properties_or_methods_7061\",\"A mapped type may not declare properties or methods.\"),You_cannot_rename_this_element:m(8e3,1,\"You_cannot_rename_this_element_8000\",\"You cannot rename this element.\"),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:m(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.\"),import_can_only_be_used_in_TypeScript_files:m(8002,1,\"import_can_only_be_used_in_TypeScript_files_8002\",\"'import ... =' can only be used in TypeScript files.\"),export_can_only_be_used_in_TypeScript_files:m(8003,1,\"export_can_only_be_used_in_TypeScript_files_8003\",\"'export =' can only be used in TypeScript files.\"),Type_parameter_declarations_can_only_be_used_in_TypeScript_files:m(8004,1,\"Type_parameter_declarations_can_only_be_used_in_TypeScript_files_8004\",\"Type parameter declarations can only be used in TypeScript files.\"),implements_clauses_can_only_be_used_in_TypeScript_files:m(8005,1,\"implements_clauses_can_only_be_used_in_TypeScript_files_8005\",\"'implements' clauses can only be used in TypeScript files.\"),_0_declarations_can_only_be_used_in_TypeScript_files:m(8006,1,\"_0_declarations_can_only_be_used_in_TypeScript_files_8006\",\"'{0}' declarations can only be used in TypeScript files.\"),Type_aliases_can_only_be_used_in_TypeScript_files:m(8008,1,\"Type_aliases_can_only_be_used_in_TypeScript_files_8008\",\"Type aliases can only be used in TypeScript files.\"),The_0_modifier_can_only_be_used_in_TypeScript_files:m(8009,1,\"The_0_modifier_can_only_be_used_in_TypeScript_files_8009\",\"The '{0}' modifier can only be used in TypeScript files.\"),Type_annotations_can_only_be_used_in_TypeScript_files:m(8010,1,\"Type_annotations_can_only_be_used_in_TypeScript_files_8010\",\"Type annotations can only be used in TypeScript files.\"),Type_arguments_can_only_be_used_in_TypeScript_files:m(8011,1,\"Type_arguments_can_only_be_used_in_TypeScript_files_8011\",\"Type arguments can only be used in TypeScript files.\"),Parameter_modifiers_can_only_be_used_in_TypeScript_files:m(8012,1,\"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012\",\"Parameter modifiers can only be used in TypeScript files.\"),Non_null_assertions_can_only_be_used_in_TypeScript_files:m(8013,1,\"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013\",\"Non-null assertions can only be used in TypeScript files.\"),Type_assertion_expressions_can_only_be_used_in_TypeScript_files:m(8016,1,\"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016\",\"Type assertion expressions can only be used in TypeScript files.\"),Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:m(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}'.\"),Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0:m(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}'.\"),Report_errors_in_js_files:m(8019,3,\"Report_errors_in_js_files_8019\",\"Report errors in .js files.\"),JSDoc_types_can_only_be_used_inside_documentation_comments:m(8020,1,\"JSDoc_types_can_only_be_used_inside_documentation_comments_8020\",\"JSDoc types can only be used inside documentation comments.\"),JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags:m(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.\"),JSDoc_0_is_not_attached_to_a_class:m(8022,1,\"JSDoc_0_is_not_attached_to_a_class_8022\",\"JSDoc '@{0}' is not attached to a class.\"),JSDoc_0_1_does_not_match_the_extends_2_clause:m(8023,1,\"JSDoc_0_1_does_not_match_the_extends_2_clause_8023\",\"JSDoc '@{0} {1}' does not match the 'extends {2}' clause.\"),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name:m(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.\"),Class_declarations_cannot_have_more_than_one_augments_or_extends_tag:m(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.\"),Expected_0_type_arguments_provide_these_with_an_extends_tag:m(8026,1,\"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026\",\"Expected {0} type arguments; provide these with an '@extends' tag.\"),Expected_0_1_type_arguments_provide_these_with_an_extends_tag:m(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.\"),JSDoc_may_only_appear_in_the_last_parameter_of_a_signature:m(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.\"),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type:m(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.\"),The_type_of_a_function_declaration_must_match_the_function_s_signature:m(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.\"),You_cannot_rename_a_module_via_a_global_import:m(8031,1,\"You_cannot_rename_a_module_via_a_global_import_8031\",\"You cannot rename a module via a global import.\"),Qualified_name_0_is_not_allowed_without_a_leading_param_object_1:m(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}'.\"),A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags:m(8033,1,\"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033\",\"A JSDoc '@typedef' comment may not contain multiple '@type' tags.\"),The_tag_was_first_specified_here:m(8034,1,\"The_tag_was_first_specified_here_8034\",\"The tag was first specified here.\"),You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder:m(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.\"),You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder:m(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.\"),Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files:m(8037,1,\"Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037\",\"Type satisfaction expressions can only be used in TypeScript files.\"),Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export:m(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'.\"),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:m(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.\"),Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:m(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.\"),JSX_attributes_must_only_be_assigned_a_non_empty_expression:m(17e3,1,\"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000\",\"JSX attributes must only be assigned a non-empty 'expression'.\"),JSX_elements_cannot_have_multiple_attributes_with_the_same_name:m(17001,1,\"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001\",\"JSX elements cannot have multiple attributes with the same name.\"),Expected_corresponding_JSX_closing_tag_for_0:m(17002,1,\"Expected_corresponding_JSX_closing_tag_for_0_17002\",\"Expected corresponding JSX closing tag for '{0}'.\"),Cannot_use_JSX_unless_the_jsx_flag_is_provided:m(17004,1,\"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004\",\"Cannot use JSX unless the '--jsx' flag is provided.\"),A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:m(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'.\"),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:m(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.\"),A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:m(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.\"),JSX_element_0_has_no_corresponding_closing_tag:m(17008,1,\"JSX_element_0_has_no_corresponding_closing_tag_17008\",\"JSX element '{0}' has no corresponding closing tag.\"),super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:m(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.\"),Unknown_type_acquisition_option_0:m(17010,1,\"Unknown_type_acquisition_option_0_17010\",\"Unknown type acquisition option '{0}'.\"),super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:m(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.\"),_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:m(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}'?\"),Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:m(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.\"),JSX_fragment_has_no_corresponding_closing_tag:m(17014,1,\"JSX_fragment_has_no_corresponding_closing_tag_17014\",\"JSX fragment has no corresponding closing tag.\"),Expected_corresponding_closing_tag_for_JSX_fragment:m(17015,1,\"Expected_corresponding_closing_tag_for_JSX_fragment_17015\",\"Expected corresponding closing tag for JSX fragment.\"),The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:m(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.\"),An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments:m(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.\"),Unknown_type_acquisition_option_0_Did_you_mean_1:m(17018,1,\"Unknown_type_acquisition_option_0_Did_you_mean_1_17018\",\"Unknown type acquisition option '{0}'. Did you mean '{1}'?\"),_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:m(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}'?\"),_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:m(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}'?\"),Circularity_detected_while_resolving_configuration_Colon_0:m(18e3,1,\"Circularity_detected_while_resolving_configuration_Colon_0_18000\",\"Circularity detected while resolving configuration: {0}\"),The_files_list_in_config_file_0_is_empty:m(18002,1,\"The_files_list_in_config_file_0_is_empty_18002\",\"The 'files' list in config file '{0}' is empty.\"),No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2:m(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}'.\"),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module:m(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.\"),This_constructor_function_may_be_converted_to_a_class_declaration:m(80002,2,\"This_constructor_function_may_be_converted_to_a_class_declaration_80002\",\"This constructor function may be converted to a class declaration.\"),Import_may_be_converted_to_a_default_import:m(80003,2,\"Import_may_be_converted_to_a_default_import_80003\",\"Import may be converted to a default import.\"),JSDoc_types_may_be_moved_to_TypeScript_types:m(80004,2,\"JSDoc_types_may_be_moved_to_TypeScript_types_80004\",\"JSDoc types may be moved to TypeScript types.\"),require_call_may_be_converted_to_an_import:m(80005,2,\"require_call_may_be_converted_to_an_import_80005\",\"'require' call may be converted to an import.\"),This_may_be_converted_to_an_async_function:m(80006,2,\"This_may_be_converted_to_an_async_function_80006\",\"This may be converted to an async function.\"),await_has_no_effect_on_the_type_of_this_expression:m(80007,2,\"await_has_no_effect_on_the_type_of_this_expression_80007\",\"'await' has no effect on the type of this expression.\"),Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers:m(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.\"),Add_missing_super_call:m(90001,3,\"Add_missing_super_call_90001\",\"Add missing 'super()' call\"),Make_super_call_the_first_statement_in_the_constructor:m(90002,3,\"Make_super_call_the_first_statement_in_the_constructor_90002\",\"Make 'super()' call the first statement in the constructor\"),Change_extends_to_implements:m(90003,3,\"Change_extends_to_implements_90003\",\"Change 'extends' to 'implements'\"),Remove_unused_declaration_for_Colon_0:m(90004,3,\"Remove_unused_declaration_for_Colon_0_90004\",\"Remove unused declaration for: '{0}'\"),Remove_import_from_0:m(90005,3,\"Remove_import_from_0_90005\",\"Remove import from '{0}'\"),Implement_interface_0:m(90006,3,\"Implement_interface_0_90006\",\"Implement interface '{0}'\"),Implement_inherited_abstract_class:m(90007,3,\"Implement_inherited_abstract_class_90007\",\"Implement inherited abstract class\"),Add_0_to_unresolved_variable:m(90008,3,\"Add_0_to_unresolved_variable_90008\",\"Add '{0}.' to unresolved variable\"),Remove_variable_statement:m(90010,3,\"Remove_variable_statement_90010\",\"Remove variable statement\"),Remove_template_tag:m(90011,3,\"Remove_template_tag_90011\",\"Remove template tag\"),Remove_type_parameters:m(90012,3,\"Remove_type_parameters_90012\",\"Remove type parameters\"),Import_0_from_1:m(90013,3,\"Import_0_from_1_90013\",`Import '{0}' from \"{1}\"`),Change_0_to_1:m(90014,3,\"Change_0_to_1_90014\",\"Change '{0}' to '{1}'\"),Declare_property_0:m(90016,3,\"Declare_property_0_90016\",\"Declare property '{0}'\"),Add_index_signature_for_property_0:m(90017,3,\"Add_index_signature_for_property_0_90017\",\"Add index signature for property '{0}'\"),Disable_checking_for_this_file:m(90018,3,\"Disable_checking_for_this_file_90018\",\"Disable checking for this file\"),Ignore_this_error_message:m(90019,3,\"Ignore_this_error_message_90019\",\"Ignore this error message\"),Initialize_property_0_in_the_constructor:m(90020,3,\"Initialize_property_0_in_the_constructor_90020\",\"Initialize property '{0}' in the constructor\"),Initialize_static_property_0:m(90021,3,\"Initialize_static_property_0_90021\",\"Initialize static property '{0}'\"),Change_spelling_to_0:m(90022,3,\"Change_spelling_to_0_90022\",\"Change spelling to '{0}'\"),Declare_method_0:m(90023,3,\"Declare_method_0_90023\",\"Declare method '{0}'\"),Declare_static_method_0:m(90024,3,\"Declare_static_method_0_90024\",\"Declare static method '{0}'\"),Prefix_0_with_an_underscore:m(90025,3,\"Prefix_0_with_an_underscore_90025\",\"Prefix '{0}' with an underscore\"),Rewrite_as_the_indexed_access_type_0:m(90026,3,\"Rewrite_as_the_indexed_access_type_0_90026\",\"Rewrite as the indexed access type '{0}'\"),Declare_static_property_0:m(90027,3,\"Declare_static_property_0_90027\",\"Declare static property '{0}'\"),Call_decorator_expression:m(90028,3,\"Call_decorator_expression_90028\",\"Call decorator expression\"),Add_async_modifier_to_containing_function:m(90029,3,\"Add_async_modifier_to_containing_function_90029\",\"Add async modifier to containing function\"),Replace_infer_0_with_unknown:m(90030,3,\"Replace_infer_0_with_unknown_90030\",\"Replace 'infer {0}' with 'unknown'\"),Replace_all_unused_infer_with_unknown:m(90031,3,\"Replace_all_unused_infer_with_unknown_90031\",\"Replace all unused 'infer' with 'unknown'\"),Add_parameter_name:m(90034,3,\"Add_parameter_name_90034\",\"Add parameter name\"),Declare_private_property_0:m(90035,3,\"Declare_private_property_0_90035\",\"Declare private property '{0}'\"),Replace_0_with_Promise_1:m(90036,3,\"Replace_0_with_Promise_1_90036\",\"Replace '{0}' with 'Promise<{1}>'\"),Fix_all_incorrect_return_type_of_an_async_functions:m(90037,3,\"Fix_all_incorrect_return_type_of_an_async_functions_90037\",\"Fix all incorrect return type of an async functions\"),Declare_private_method_0:m(90038,3,\"Declare_private_method_0_90038\",\"Declare private method '{0}'\"),Remove_unused_destructuring_declaration:m(90039,3,\"Remove_unused_destructuring_declaration_90039\",\"Remove unused destructuring declaration\"),Remove_unused_declarations_for_Colon_0:m(90041,3,\"Remove_unused_declarations_for_Colon_0_90041\",\"Remove unused declarations for: '{0}'\"),Declare_a_private_field_named_0:m(90053,3,\"Declare_a_private_field_named_0_90053\",\"Declare a private field named '{0}'.\"),Includes_imports_of_types_referenced_by_0:m(90054,3,\"Includes_imports_of_types_referenced_by_0_90054\",\"Includes imports of types referenced by '{0}'\"),Remove_type_from_import_declaration_from_0:m(90055,3,\"Remove_type_from_import_declaration_from_0_90055\",`Remove 'type' from import declaration from \"{0}\"`),Remove_type_from_import_of_0_from_1:m(90056,3,\"Remove_type_from_import_of_0_from_1_90056\",`Remove 'type' from import of '{0}' from \"{1}\"`),Add_import_from_0:m(90057,3,\"Add_import_from_0_90057\",'Add import from \"{0}\"'),Update_import_from_0:m(90058,3,\"Update_import_from_0_90058\",'Update import from \"{0}\"'),Export_0_from_module_1:m(90059,3,\"Export_0_from_module_1_90059\",\"Export '{0}' from module '{1}'\"),Export_all_referenced_locals:m(90060,3,\"Export_all_referenced_locals_90060\",\"Export all referenced locals\"),Convert_function_to_an_ES2015_class:m(95001,3,\"Convert_function_to_an_ES2015_class_95001\",\"Convert function to an ES2015 class\"),Convert_0_to_1_in_0:m(95003,3,\"Convert_0_to_1_in_0_95003\",\"Convert '{0}' to '{1} in {0}'\"),Extract_to_0_in_1:m(95004,3,\"Extract_to_0_in_1_95004\",\"Extract to {0} in {1}\"),Extract_function:m(95005,3,\"Extract_function_95005\",\"Extract function\"),Extract_constant:m(95006,3,\"Extract_constant_95006\",\"Extract constant\"),Extract_to_0_in_enclosing_scope:m(95007,3,\"Extract_to_0_in_enclosing_scope_95007\",\"Extract to {0} in enclosing scope\"),Extract_to_0_in_1_scope:m(95008,3,\"Extract_to_0_in_1_scope_95008\",\"Extract to {0} in {1} scope\"),Annotate_with_type_from_JSDoc:m(95009,3,\"Annotate_with_type_from_JSDoc_95009\",\"Annotate with type from JSDoc\"),Infer_type_of_0_from_usage:m(95011,3,\"Infer_type_of_0_from_usage_95011\",\"Infer type of '{0}' from usage\"),Infer_parameter_types_from_usage:m(95012,3,\"Infer_parameter_types_from_usage_95012\",\"Infer parameter types from usage\"),Convert_to_default_import:m(95013,3,\"Convert_to_default_import_95013\",\"Convert to default import\"),Install_0:m(95014,3,\"Install_0_95014\",\"Install '{0}'\"),Replace_import_with_0:m(95015,3,\"Replace_import_with_0_95015\",\"Replace import with '{0}'.\"),Use_synthetic_default_member:m(95016,3,\"Use_synthetic_default_member_95016\",\"Use synthetic 'default' member.\"),Convert_to_ES_module:m(95017,3,\"Convert_to_ES_module_95017\",\"Convert to ES module\"),Add_undefined_type_to_property_0:m(95018,3,\"Add_undefined_type_to_property_0_95018\",\"Add 'undefined' type to property '{0}'\"),Add_initializer_to_property_0:m(95019,3,\"Add_initializer_to_property_0_95019\",\"Add initializer to property '{0}'\"),Add_definite_assignment_assertion_to_property_0:m(95020,3,\"Add_definite_assignment_assertion_to_property_0_95020\",\"Add definite assignment assertion to property '{0}'\"),Convert_all_type_literals_to_mapped_type:m(95021,3,\"Convert_all_type_literals_to_mapped_type_95021\",\"Convert all type literals to mapped type\"),Add_all_missing_members:m(95022,3,\"Add_all_missing_members_95022\",\"Add all missing members\"),Infer_all_types_from_usage:m(95023,3,\"Infer_all_types_from_usage_95023\",\"Infer all types from usage\"),Delete_all_unused_declarations:m(95024,3,\"Delete_all_unused_declarations_95024\",\"Delete all unused declarations\"),Prefix_all_unused_declarations_with_where_possible:m(95025,3,\"Prefix_all_unused_declarations_with_where_possible_95025\",\"Prefix all unused declarations with '_' where possible\"),Fix_all_detected_spelling_errors:m(95026,3,\"Fix_all_detected_spelling_errors_95026\",\"Fix all detected spelling errors\"),Add_initializers_to_all_uninitialized_properties:m(95027,3,\"Add_initializers_to_all_uninitialized_properties_95027\",\"Add initializers to all uninitialized properties\"),Add_definite_assignment_assertions_to_all_uninitialized_properties:m(95028,3,\"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028\",\"Add definite assignment assertions to all uninitialized properties\"),Add_undefined_type_to_all_uninitialized_properties:m(95029,3,\"Add_undefined_type_to_all_uninitialized_properties_95029\",\"Add undefined type to all uninitialized properties\"),Change_all_jsdoc_style_types_to_TypeScript:m(95030,3,\"Change_all_jsdoc_style_types_to_TypeScript_95030\",\"Change all jsdoc-style types to TypeScript\"),Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types:m(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)\"),Implement_all_unimplemented_interfaces:m(95032,3,\"Implement_all_unimplemented_interfaces_95032\",\"Implement all unimplemented interfaces\"),Install_all_missing_types_packages:m(95033,3,\"Install_all_missing_types_packages_95033\",\"Install all missing types packages\"),Rewrite_all_as_indexed_access_types:m(95034,3,\"Rewrite_all_as_indexed_access_types_95034\",\"Rewrite all as indexed access types\"),Convert_all_to_default_imports:m(95035,3,\"Convert_all_to_default_imports_95035\",\"Convert all to default imports\"),Make_all_super_calls_the_first_statement_in_their_constructor:m(95036,3,\"Make_all_super_calls_the_first_statement_in_their_constructor_95036\",\"Make all 'super()' calls the first statement in their constructor\"),Add_qualifier_to_all_unresolved_variables_matching_a_member_name:m(95037,3,\"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037\",\"Add qualifier to all unresolved variables matching a member name\"),Change_all_extended_interfaces_to_implements:m(95038,3,\"Change_all_extended_interfaces_to_implements_95038\",\"Change all extended interfaces to 'implements'\"),Add_all_missing_super_calls:m(95039,3,\"Add_all_missing_super_calls_95039\",\"Add all missing super calls\"),Implement_all_inherited_abstract_classes:m(95040,3,\"Implement_all_inherited_abstract_classes_95040\",\"Implement all inherited abstract classes\"),Add_all_missing_async_modifiers:m(95041,3,\"Add_all_missing_async_modifiers_95041\",\"Add all missing 'async' modifiers\"),Add_ts_ignore_to_all_error_messages:m(95042,3,\"Add_ts_ignore_to_all_error_messages_95042\",\"Add '@ts-ignore' to all error messages\"),Annotate_everything_with_types_from_JSDoc:m(95043,3,\"Annotate_everything_with_types_from_JSDoc_95043\",\"Annotate everything with types from JSDoc\"),Add_to_all_uncalled_decorators:m(95044,3,\"Add_to_all_uncalled_decorators_95044\",\"Add '()' to all uncalled decorators\"),Convert_all_constructor_functions_to_classes:m(95045,3,\"Convert_all_constructor_functions_to_classes_95045\",\"Convert all constructor functions to classes\"),Generate_get_and_set_accessors:m(95046,3,\"Generate_get_and_set_accessors_95046\",\"Generate 'get' and 'set' accessors\"),Convert_require_to_import:m(95047,3,\"Convert_require_to_import_95047\",\"Convert 'require' to 'import'\"),Convert_all_require_to_import:m(95048,3,\"Convert_all_require_to_import_95048\",\"Convert all 'require' to 'import'\"),Move_to_a_new_file:m(95049,3,\"Move_to_a_new_file_95049\",\"Move to a new file\"),Remove_unreachable_code:m(95050,3,\"Remove_unreachable_code_95050\",\"Remove unreachable code\"),Remove_all_unreachable_code:m(95051,3,\"Remove_all_unreachable_code_95051\",\"Remove all unreachable code\"),Add_missing_typeof:m(95052,3,\"Add_missing_typeof_95052\",\"Add missing 'typeof'\"),Remove_unused_label:m(95053,3,\"Remove_unused_label_95053\",\"Remove unused label\"),Remove_all_unused_labels:m(95054,3,\"Remove_all_unused_labels_95054\",\"Remove all unused labels\"),Convert_0_to_mapped_object_type:m(95055,3,\"Convert_0_to_mapped_object_type_95055\",\"Convert '{0}' to mapped object type\"),Convert_namespace_import_to_named_imports:m(95056,3,\"Convert_namespace_import_to_named_imports_95056\",\"Convert namespace import to named imports\"),Convert_named_imports_to_namespace_import:m(95057,3,\"Convert_named_imports_to_namespace_import_95057\",\"Convert named imports to namespace import\"),Add_or_remove_braces_in_an_arrow_function:m(95058,3,\"Add_or_remove_braces_in_an_arrow_function_95058\",\"Add or remove braces in an arrow function\"),Add_braces_to_arrow_function:m(95059,3,\"Add_braces_to_arrow_function_95059\",\"Add braces to arrow function\"),Remove_braces_from_arrow_function:m(95060,3,\"Remove_braces_from_arrow_function_95060\",\"Remove braces from arrow function\"),Convert_default_export_to_named_export:m(95061,3,\"Convert_default_export_to_named_export_95061\",\"Convert default export to named export\"),Convert_named_export_to_default_export:m(95062,3,\"Convert_named_export_to_default_export_95062\",\"Convert named export to default export\"),Add_missing_enum_member_0:m(95063,3,\"Add_missing_enum_member_0_95063\",\"Add missing enum member '{0}'\"),Add_all_missing_imports:m(95064,3,\"Add_all_missing_imports_95064\",\"Add all missing imports\"),Convert_to_async_function:m(95065,3,\"Convert_to_async_function_95065\",\"Convert to async function\"),Convert_all_to_async_functions:m(95066,3,\"Convert_all_to_async_functions_95066\",\"Convert all to async functions\"),Add_missing_call_parentheses:m(95067,3,\"Add_missing_call_parentheses_95067\",\"Add missing call parentheses\"),Add_all_missing_call_parentheses:m(95068,3,\"Add_all_missing_call_parentheses_95068\",\"Add all missing call parentheses\"),Add_unknown_conversion_for_non_overlapping_types:m(95069,3,\"Add_unknown_conversion_for_non_overlapping_types_95069\",\"Add 'unknown' conversion for non-overlapping types\"),Add_unknown_to_all_conversions_of_non_overlapping_types:m(95070,3,\"Add_unknown_to_all_conversions_of_non_overlapping_types_95070\",\"Add 'unknown' to all conversions of non-overlapping types\"),Add_missing_new_operator_to_call:m(95071,3,\"Add_missing_new_operator_to_call_95071\",\"Add missing 'new' operator to call\"),Add_missing_new_operator_to_all_calls:m(95072,3,\"Add_missing_new_operator_to_all_calls_95072\",\"Add missing 'new' operator to all calls\"),Add_names_to_all_parameters_without_names:m(95073,3,\"Add_names_to_all_parameters_without_names_95073\",\"Add names to all parameters without names\"),Enable_the_experimentalDecorators_option_in_your_configuration_file:m(95074,3,\"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074\",\"Enable the 'experimentalDecorators' option in your configuration file\"),Convert_parameters_to_destructured_object:m(95075,3,\"Convert_parameters_to_destructured_object_95075\",\"Convert parameters to destructured object\"),Extract_type:m(95077,3,\"Extract_type_95077\",\"Extract type\"),Extract_to_type_alias:m(95078,3,\"Extract_to_type_alias_95078\",\"Extract to type alias\"),Extract_to_typedef:m(95079,3,\"Extract_to_typedef_95079\",\"Extract to typedef\"),Infer_this_type_of_0_from_usage:m(95080,3,\"Infer_this_type_of_0_from_usage_95080\",\"Infer 'this' type of '{0}' from usage\"),Add_const_to_unresolved_variable:m(95081,3,\"Add_const_to_unresolved_variable_95081\",\"Add 'const' to unresolved variable\"),Add_const_to_all_unresolved_variables:m(95082,3,\"Add_const_to_all_unresolved_variables_95082\",\"Add 'const' to all unresolved variables\"),Add_await:m(95083,3,\"Add_await_95083\",\"Add 'await'\"),Add_await_to_initializer_for_0:m(95084,3,\"Add_await_to_initializer_for_0_95084\",\"Add 'await' to initializer for '{0}'\"),Fix_all_expressions_possibly_missing_await:m(95085,3,\"Fix_all_expressions_possibly_missing_await_95085\",\"Fix all expressions possibly missing 'await'\"),Remove_unnecessary_await:m(95086,3,\"Remove_unnecessary_await_95086\",\"Remove unnecessary 'await'\"),Remove_all_unnecessary_uses_of_await:m(95087,3,\"Remove_all_unnecessary_uses_of_await_95087\",\"Remove all unnecessary uses of 'await'\"),Enable_the_jsx_flag_in_your_configuration_file:m(95088,3,\"Enable_the_jsx_flag_in_your_configuration_file_95088\",\"Enable the '--jsx' flag in your configuration file\"),Add_await_to_initializers:m(95089,3,\"Add_await_to_initializers_95089\",\"Add 'await' to initializers\"),Extract_to_interface:m(95090,3,\"Extract_to_interface_95090\",\"Extract to interface\"),Convert_to_a_bigint_numeric_literal:m(95091,3,\"Convert_to_a_bigint_numeric_literal_95091\",\"Convert to a bigint numeric literal\"),Convert_all_to_bigint_numeric_literals:m(95092,3,\"Convert_all_to_bigint_numeric_literals_95092\",\"Convert all to bigint numeric literals\"),Convert_const_to_let:m(95093,3,\"Convert_const_to_let_95093\",\"Convert 'const' to 'let'\"),Prefix_with_declare:m(95094,3,\"Prefix_with_declare_95094\",\"Prefix with 'declare'\"),Prefix_all_incorrect_property_declarations_with_declare:m(95095,3,\"Prefix_all_incorrect_property_declarations_with_declare_95095\",\"Prefix all incorrect property declarations with 'declare'\"),Convert_to_template_string:m(95096,3,\"Convert_to_template_string_95096\",\"Convert to template string\"),Add_export_to_make_this_file_into_a_module:m(95097,3,\"Add_export_to_make_this_file_into_a_module_95097\",\"Add 'export {}' to make this file into a module\"),Set_the_target_option_in_your_configuration_file_to_0:m(95098,3,\"Set_the_target_option_in_your_configuration_file_to_0_95098\",\"Set the 'target' option in your configuration file to '{0}'\"),Set_the_module_option_in_your_configuration_file_to_0:m(95099,3,\"Set_the_module_option_in_your_configuration_file_to_0_95099\",\"Set the 'module' option in your configuration file to '{0}'\"),Convert_invalid_character_to_its_html_entity_code:m(95100,3,\"Convert_invalid_character_to_its_html_entity_code_95100\",\"Convert invalid character to its html entity code\"),Convert_all_invalid_characters_to_HTML_entity_code:m(95101,3,\"Convert_all_invalid_characters_to_HTML_entity_code_95101\",\"Convert all invalid characters to HTML entity code\"),Convert_all_const_to_let:m(95102,3,\"Convert_all_const_to_let_95102\",\"Convert all 'const' to 'let'\"),Convert_function_expression_0_to_arrow_function:m(95105,3,\"Convert_function_expression_0_to_arrow_function_95105\",\"Convert function expression '{0}' to arrow function\"),Convert_function_declaration_0_to_arrow_function:m(95106,3,\"Convert_function_declaration_0_to_arrow_function_95106\",\"Convert function declaration '{0}' to arrow function\"),Fix_all_implicit_this_errors:m(95107,3,\"Fix_all_implicit_this_errors_95107\",\"Fix all implicit-'this' errors\"),Wrap_invalid_character_in_an_expression_container:m(95108,3,\"Wrap_invalid_character_in_an_expression_container_95108\",\"Wrap invalid character in an expression container\"),Wrap_all_invalid_characters_in_an_expression_container:m(95109,3,\"Wrap_all_invalid_characters_in_an_expression_container_95109\",\"Wrap all invalid characters in an expression container\"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file:m(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\"),Add_a_return_statement:m(95111,3,\"Add_a_return_statement_95111\",\"Add a return statement\"),Remove_braces_from_arrow_function_body:m(95112,3,\"Remove_braces_from_arrow_function_body_95112\",\"Remove braces from arrow function body\"),Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal:m(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\"),Add_all_missing_return_statement:m(95114,3,\"Add_all_missing_return_statement_95114\",\"Add all missing return statement\"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:m(95115,3,\"Remove_braces_from_all_arrow_function_bodies_with_relevant_issues_95115\",\"Remove braces from all arrow function bodies with relevant issues\"),Wrap_all_object_literal_with_parentheses:m(95116,3,\"Wrap_all_object_literal_with_parentheses_95116\",\"Wrap all object literal with parentheses\"),Move_labeled_tuple_element_modifiers_to_labels:m(95117,3,\"Move_labeled_tuple_element_modifiers_to_labels_95117\",\"Move labeled tuple element modifiers to labels\"),Convert_overload_list_to_single_signature:m(95118,3,\"Convert_overload_list_to_single_signature_95118\",\"Convert overload list to single signature\"),Generate_get_and_set_accessors_for_all_overriding_properties:m(95119,3,\"Generate_get_and_set_accessors_for_all_overriding_properties_95119\",\"Generate 'get' and 'set' accessors for all overriding properties\"),Wrap_in_JSX_fragment:m(95120,3,\"Wrap_in_JSX_fragment_95120\",\"Wrap in JSX fragment\"),Wrap_all_unparented_JSX_in_JSX_fragment:m(95121,3,\"Wrap_all_unparented_JSX_in_JSX_fragment_95121\",\"Wrap all unparented JSX in JSX fragment\"),Convert_arrow_function_or_function_expression:m(95122,3,\"Convert_arrow_function_or_function_expression_95122\",\"Convert arrow function or function expression\"),Convert_to_anonymous_function:m(95123,3,\"Convert_to_anonymous_function_95123\",\"Convert to anonymous function\"),Convert_to_named_function:m(95124,3,\"Convert_to_named_function_95124\",\"Convert to named function\"),Convert_to_arrow_function:m(95125,3,\"Convert_to_arrow_function_95125\",\"Convert to arrow function\"),Remove_parentheses:m(95126,3,\"Remove_parentheses_95126\",\"Remove parentheses\"),Could_not_find_a_containing_arrow_function:m(95127,3,\"Could_not_find_a_containing_arrow_function_95127\",\"Could not find a containing arrow function\"),Containing_function_is_not_an_arrow_function:m(95128,3,\"Containing_function_is_not_an_arrow_function_95128\",\"Containing function is not an arrow function\"),Could_not_find_export_statement:m(95129,3,\"Could_not_find_export_statement_95129\",\"Could not find export statement\"),This_file_already_has_a_default_export:m(95130,3,\"This_file_already_has_a_default_export_95130\",\"This file already has a default export\"),Could_not_find_import_clause:m(95131,3,\"Could_not_find_import_clause_95131\",\"Could not find import clause\"),Could_not_find_namespace_import_or_named_imports:m(95132,3,\"Could_not_find_namespace_import_or_named_imports_95132\",\"Could not find namespace import or named imports\"),Selection_is_not_a_valid_type_node:m(95133,3,\"Selection_is_not_a_valid_type_node_95133\",\"Selection is not a valid type node\"),No_type_could_be_extracted_from_this_type_node:m(95134,3,\"No_type_could_be_extracted_from_this_type_node_95134\",\"No type could be extracted from this type node\"),Could_not_find_property_for_which_to_generate_accessor:m(95135,3,\"Could_not_find_property_for_which_to_generate_accessor_95135\",\"Could not find property for which to generate accessor\"),Name_is_not_valid:m(95136,3,\"Name_is_not_valid_95136\",\"Name is not valid\"),Can_only_convert_property_with_modifier:m(95137,3,\"Can_only_convert_property_with_modifier_95137\",\"Can only convert property with modifier\"),Switch_each_misused_0_to_1:m(95138,3,\"Switch_each_misused_0_to_1_95138\",\"Switch each misused '{0}' to '{1}'\"),Convert_to_optional_chain_expression:m(95139,3,\"Convert_to_optional_chain_expression_95139\",\"Convert to optional chain expression\"),Could_not_find_convertible_access_expression:m(95140,3,\"Could_not_find_convertible_access_expression_95140\",\"Could not find convertible access expression\"),Could_not_find_matching_access_expressions:m(95141,3,\"Could_not_find_matching_access_expressions_95141\",\"Could not find matching access expressions\"),Can_only_convert_logical_AND_access_chains:m(95142,3,\"Can_only_convert_logical_AND_access_chains_95142\",\"Can only convert logical AND access chains\"),Add_void_to_Promise_resolved_without_a_value:m(95143,3,\"Add_void_to_Promise_resolved_without_a_value_95143\",\"Add 'void' to Promise resolved without a value\"),Add_void_to_all_Promises_resolved_without_a_value:m(95144,3,\"Add_void_to_all_Promises_resolved_without_a_value_95144\",\"Add 'void' to all Promises resolved without a value\"),Use_element_access_for_0:m(95145,3,\"Use_element_access_for_0_95145\",\"Use element access for '{0}'\"),Use_element_access_for_all_undeclared_properties:m(95146,3,\"Use_element_access_for_all_undeclared_properties_95146\",\"Use element access for all undeclared properties.\"),Delete_all_unused_imports:m(95147,3,\"Delete_all_unused_imports_95147\",\"Delete all unused imports\"),Infer_function_return_type:m(95148,3,\"Infer_function_return_type_95148\",\"Infer function return type\"),Return_type_must_be_inferred_from_a_function:m(95149,3,\"Return_type_must_be_inferred_from_a_function_95149\",\"Return type must be inferred from a function\"),Could_not_determine_function_return_type:m(95150,3,\"Could_not_determine_function_return_type_95150\",\"Could not determine function return type\"),Could_not_convert_to_arrow_function:m(95151,3,\"Could_not_convert_to_arrow_function_95151\",\"Could not convert to arrow function\"),Could_not_convert_to_named_function:m(95152,3,\"Could_not_convert_to_named_function_95152\",\"Could not convert to named function\"),Could_not_convert_to_anonymous_function:m(95153,3,\"Could_not_convert_to_anonymous_function_95153\",\"Could not convert to anonymous function\"),Can_only_convert_string_concatenation:m(95154,3,\"Can_only_convert_string_concatenation_95154\",\"Can only convert string concatenation\"),Selection_is_not_a_valid_statement_or_statements:m(95155,3,\"Selection_is_not_a_valid_statement_or_statements_95155\",\"Selection is not a valid statement or statements\"),Add_missing_function_declaration_0:m(95156,3,\"Add_missing_function_declaration_0_95156\",\"Add missing function declaration '{0}'\"),Add_all_missing_function_declarations:m(95157,3,\"Add_all_missing_function_declarations_95157\",\"Add all missing function declarations\"),Method_not_implemented:m(95158,3,\"Method_not_implemented_95158\",\"Method not implemented.\"),Function_not_implemented:m(95159,3,\"Function_not_implemented_95159\",\"Function not implemented.\"),Add_override_modifier:m(95160,3,\"Add_override_modifier_95160\",\"Add 'override' modifier\"),Remove_override_modifier:m(95161,3,\"Remove_override_modifier_95161\",\"Remove 'override' modifier\"),Add_all_missing_override_modifiers:m(95162,3,\"Add_all_missing_override_modifiers_95162\",\"Add all missing 'override' modifiers\"),Remove_all_unnecessary_override_modifiers:m(95163,3,\"Remove_all_unnecessary_override_modifiers_95163\",\"Remove all unnecessary 'override' modifiers\"),Can_only_convert_named_export:m(95164,3,\"Can_only_convert_named_export_95164\",\"Can only convert named export\"),Add_missing_properties:m(95165,3,\"Add_missing_properties_95165\",\"Add missing properties\"),Add_all_missing_properties:m(95166,3,\"Add_all_missing_properties_95166\",\"Add all missing properties\"),Add_missing_attributes:m(95167,3,\"Add_missing_attributes_95167\",\"Add missing attributes\"),Add_all_missing_attributes:m(95168,3,\"Add_all_missing_attributes_95168\",\"Add all missing attributes\"),Add_undefined_to_optional_property_type:m(95169,3,\"Add_undefined_to_optional_property_type_95169\",\"Add 'undefined' to optional property type\"),Convert_named_imports_to_default_import:m(95170,3,\"Convert_named_imports_to_default_import_95170\",\"Convert named imports to default import\"),Delete_unused_param_tag_0:m(95171,3,\"Delete_unused_param_tag_0_95171\",\"Delete unused '@param' tag '{0}'\"),Delete_all_unused_param_tags:m(95172,3,\"Delete_all_unused_param_tags_95172\",\"Delete all unused '@param' tags\"),Rename_param_tag_name_0_to_1:m(95173,3,\"Rename_param_tag_name_0_to_1_95173\",\"Rename '@param' tag name '{0}' to '{1}'\"),Use_0:m(95174,3,\"Use_0_95174\",\"Use `{0}`.\"),Use_Number_isNaN_in_all_conditions:m(95175,3,\"Use_Number_isNaN_in_all_conditions_95175\",\"Use `Number.isNaN` in all conditions.\"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:m(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.\"),Classes_may_not_have_a_field_named_constructor:m(18006,1,\"Classes_may_not_have_a_field_named_constructor_18006\",\"Classes may not have a field named 'constructor'.\"),JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array:m(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?\"),Private_identifiers_cannot_be_used_as_parameters:m(18009,1,\"Private_identifiers_cannot_be_used_as_parameters_18009\",\"Private identifiers cannot be used as parameters.\"),An_accessibility_modifier_cannot_be_used_with_a_private_identifier:m(18010,1,\"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010\",\"An accessibility modifier cannot be used with a private identifier.\"),The_operand_of_a_delete_operator_cannot_be_a_private_identifier:m(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.\"),constructor_is_a_reserved_word:m(18012,1,\"constructor_is_a_reserved_word_18012\",\"'#constructor' is a reserved word.\"),Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier:m(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.\"),The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling:m(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.\"),Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2:m(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}'.\"),Private_identifiers_are_not_allowed_outside_class_bodies:m(18016,1,\"Private_identifiers_are_not_allowed_outside_class_bodies_18016\",\"Private identifiers are not allowed outside class bodies.\"),The_shadowing_declaration_of_0_is_defined_here:m(18017,1,\"The_shadowing_declaration_of_0_is_defined_here_18017\",\"The shadowing declaration of '{0}' is defined here\"),The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here:m(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\"),_0_modifier_cannot_be_used_with_a_private_identifier:m(18019,1,\"_0_modifier_cannot_be_used_with_a_private_identifier_18019\",\"'{0}' modifier cannot be used with a private identifier.\"),An_enum_member_cannot_be_named_with_a_private_identifier:m(18024,1,\"An_enum_member_cannot_be_named_with_a_private_identifier_18024\",\"An enum member cannot be named with a private identifier.\"),can_only_be_used_at_the_start_of_a_file:m(18026,1,\"can_only_be_used_at_the_start_of_a_file_18026\",\"'#!' can only be used at the start of a file.\"),Compiler_reserves_name_0_when_emitting_private_identifier_downlevel:m(18027,1,\"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027\",\"Compiler reserves name '{0}' when emitting private identifier downlevel.\"),Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher:m(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.\"),Private_identifiers_are_not_allowed_in_variable_declarations:m(18029,1,\"Private_identifiers_are_not_allowed_in_variable_declarations_18029\",\"Private identifiers are not allowed in variable declarations.\"),An_optional_chain_cannot_contain_private_identifiers:m(18030,1,\"An_optional_chain_cannot_contain_private_identifiers_18030\",\"An optional chain cannot contain private identifiers.\"),The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents:m(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.\"),The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some:m(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.\"),Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values:m(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.\"),Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment:m(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'.\"),Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name:m(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.\"),Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator:m(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.\"),Await_expression_cannot_be_used_inside_a_class_static_block:m(18037,1,\"Await_expression_cannot_be_used_inside_a_class_static_block_18037\",\"Await expression cannot be used inside a class static block.\"),For_await_loops_cannot_be_used_inside_a_class_static_block:m(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.\"),Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block:m(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.\"),A_return_statement_cannot_be_used_inside_a_class_static_block:m(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.\"),_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation:m(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.\"),Types_cannot_appear_in_export_declarations_in_JavaScript_files:m(18043,1,\"Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043\",\"Types cannot appear in export declarations in JavaScript files.\"),_0_is_automatically_exported_here:m(18044,3,\"_0_is_automatically_exported_here_18044\",\"'{0}' is automatically exported here.\"),Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher:m(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.\"),_0_is_of_type_unknown:m(18046,1,\"_0_is_of_type_unknown_18046\",\"'{0}' is of type 'unknown'.\"),_0_is_possibly_null:m(18047,1,\"_0_is_possibly_null_18047\",\"'{0}' is possibly 'null'.\"),_0_is_possibly_undefined:m(18048,1,\"_0_is_possibly_undefined_18048\",\"'{0}' is possibly 'undefined'.\"),_0_is_possibly_null_or_undefined:m(18049,1,\"_0_is_possibly_null_or_undefined_18049\",\"'{0}' is possibly 'null' or 'undefined'.\"),The_value_0_cannot_be_used_here:m(18050,1,\"The_value_0_cannot_be_used_here_18050\",\"The value '{0}' cannot be used here.\"),Compiler_option_0_cannot_be_given_an_empty_string:m(18051,1,\"Compiler_option_0_cannot_be_given_an_empty_string_18051\",\"Compiler option '{0}' cannot be given an empty string.\")}}});function sd(r){return r>=79}function jY(r){return r===31||sd(r)}function Fw(r,c){if(r<c[0])return!1;let f=0,x=c.length,B;for(;f+1<x;){if(B=f+(x-f)/2,B-=B%2,c[B]<=r&&r<=c[B+1])return!0;r<c[B]?x=B:f=B+2}return!1}function WY(r,c){return c>=2?Fw(r,XY):c===1?Fw(r,JY):Fw(r,qY)}function Bge(r,c){return c>=2?Fw(r,QY):c===1?Fw(r,YY):Fw(r,GY)}function jge(r){let c=[];return r.forEach((f,x)=>{c[f]=x}),c}function Vh(r){return tX[r]}function dT(r){return QO.get(r)}function M4(r){let c=[],f=0,x=0;for(;f<r.length;){let B=r.charCodeAt(f);switch(f++,B){case 13:r.charCodeAt(f)===10&&f++;case 10:c.push(x),x=f;break;default:B>127&&Xp(B)&&(c.push(x),x=f);break}}return c.push(x),c}function Wge(r,c,f,x){return r.getPositionOfLineAndCharacter?r.getPositionOfLineAndCharacter(c,f,x):UO(Dy(r),c,f,r.text,x)}function UO(r,c,f,x,B){(c<0||c>=r.length)&&(B?c=c<0?0:c>=r.length?r.length-1:c:Bn.fail(`Bad line number. Line: ${c}, lineStarts.length: ${r.length} , line map is correct? ${x!==void 0?qr(r,M4(x)):\"unknown\"}`));let De=r[c]+f;return B?De>r[c+1]?r[c+1]:typeof x==\"string\"&&De>x.length?x.length:De:(c<r.length-1?Bn.assert(De<r[c+1]):x!==void 0&&Bn.assert(De<=x.length),De)}function Dy(r){return r.lineMap||(r.lineMap=M4(r.text))}function KO(r,c){let f=Pw(r,c);return{line:f,character:c-r[f]}}function Pw(r,c,f){let x=Ea(r,c,ec,rd,f);return x<0&&(x=~x-1,Bn.assert(x!==-1,\"position cannot precede the beginning of the file\")),x}function Ow(r,c,f){if(c===f)return 0;let x=Dy(r),B=Math.min(c,f),De=B===f,ke=De?c:f,Be=Pw(x,B),te=Pw(x,ke,Be);return De?Be-te:te-Be}function Bb(r,c){return KO(Dy(r),c)}function wy(r){return Mw(r)||Xp(r)}function Mw(r){return r===32||r===9||r===11||r===12||r===160||r===133||r===5760||r>=8192&&r<=8203||r===8239||r===8287||r===12288||r===65279}function Xp(r){return r===10||r===13||r===8232||r===8233}function Rw(r){return r>=48&&r<=57}function R4(r){return Rw(r)||r>=65&&r<=70||r>=97&&r<=102}function Vge(r){return r<=1114111}function qO(r){return r>=48&&r<=55}function Hge(r,c){let f=r.charCodeAt(c);switch(f){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 124:case 61:case 62:return!0;case 35:return c===0;default:return f>127}}function ch(r,c,f,x,B){if(Iy(c))return c;let De=!1;for(;;){let ke=r.charCodeAt(c);switch(ke){case 13:r.charCodeAt(c+1)===10&&c++;case 10:if(c++,f)return c;De=!!B;continue;case 9:case 11:case 12:case 32:c++;continue;case 47:if(x)break;if(r.charCodeAt(c+1)===47){for(c+=2;c<r.length&&!Xp(r.charCodeAt(c));)c++;De=!1;continue}if(r.charCodeAt(c+1)===42){for(c+=2;c<r.length;){if(r.charCodeAt(c)===42&&r.charCodeAt(c+1)===47){c+=2;break}c++}De=!1;continue}break;case 60:case 124:case 61:case 62:if(BC(r,c)){c=Bw(r,c),De=!1;continue}break;case 35:if(c===0&&GO(r,c)){c=JO(r,c),De=!1;continue}break;case 42:if(De){c++,De=!1;continue}break;default:if(ke>127&&wy(ke)){c++;continue}break}return c}}function BC(r,c){if(Bn.assert(c>=0),c===0||Xp(r.charCodeAt(c-1))){let f=r.charCodeAt(c);if(c+pT<r.length){for(let x=0;x<pT;x++)if(r.charCodeAt(c+x)!==f)return!1;return f===61||r.charCodeAt(c+pT)===32}}return!1}function Bw(r,c,f){f&&f(ns.Merge_conflict_marker_encountered,c,pT);let x=r.charCodeAt(c),B=r.length;if(x===60||x===62)for(;c<B&&!Xp(r.charCodeAt(c));)c++;else for(Bn.assert(x===124||x===61);c<B;){let De=r.charCodeAt(c);if((De===61||De===62)&&De!==x&&BC(r,c))break;c++}return c}function GO(r,c){return Bn.assert(c===0),j4.test(r)}function JO(r,c){let f=j4.exec(r)[0];return c=c+f.length,c}function B4(r,c,f,x,B,De,ke){let Be,te,wn,st,wi=!1,an=x,Zn=ke;if(f===0){an=!0;let ar=UY(c);ar&&(f=ar.length)}e:for(;f>=0&&f<c.length;){let ar=c.charCodeAt(f);switch(ar){case 13:c.charCodeAt(f+1)===10&&f++;case 10:if(f++,x)break e;an=!0,wi&&(st=!0);continue;case 9:case 11:case 12:case 32:f++;continue;case 47:let ys=c.charCodeAt(f+1),Is=!1;if(ys===47||ys===42){let So=ys===47?2:3,Ws=f;if(f+=2,ys===47)for(;f<c.length;){if(Xp(c.charCodeAt(f))){Is=!0;break}f++}else for(;f<c.length;){if(c.charCodeAt(f)===42&&c.charCodeAt(f+1)===47){f+=2;break}f++}if(an){if(wi&&(Zn=B(Be,te,wn,st,De,Zn),!r&&Zn))return Zn;Be=Ws,te=f,wn=So,st=Is,wi=!0}continue}break e;default:if(ar>127&&wy(ar)){wi&&Xp(ar)&&(st=!0),f++;continue}break e}}return wi&&(Zn=B(Be,te,wn,st,De,Zn)),Zn}function $ge(r,c,f,x){return B4(!1,r,c,!1,f,x)}function zge(r,c,f,x){return B4(!1,r,c,!0,f,x)}function VY(r,c,f,x,B){return B4(!0,r,c,!1,f,x,B)}function HY(r,c,f,x,B){return B4(!0,r,c,!0,f,x,B)}function $Y(r,c,f,x,B){let De=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[];return De.push({kind:f,pos:r,end:c,hasTrailingNewLine:x}),De}function jC(r,c){return VY(r,c,$Y,void 0,void 0)}function zY(r,c){return HY(r,c,$Y,void 0,void 0)}function UY(r){let c=j4.exec(r);if(c)return c[0]}function S_(r,c){return r>=65&&r<=90||r>=97&&r<=122||r===36||r===95||r>127&&WY(r,c)}function jb(r,c,f){return r>=65&&r<=90||r>=97&&r<=122||r>=48&&r<=57||r===36||r===95||(f===1?r===45||r===58:!1)||r>127&&Bge(r,c)}function YO(r,c,f){let x=sg(r,0);if(!S_(x,c))return!1;for(let B=Gg(x);B<r.length;B+=Gg(x))if(!jb(x=sg(r,B),c,f))return!1;return!0}function WC(r,c){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,x=arguments.length>3?arguments[3]:void 0,B=arguments.length>4?arguments[4]:void 0,De=arguments.length>5?arguments[5]:void 0,ke=arguments.length>6?arguments[6]:void 0;var Be=x,te,wn,st,wi,an,Zn,ar,ys,Is=0;Wr(Be,De,ke);var So={getStartPos:()=>st,getTextPos:()=>te,getToken:()=>an,getTokenPos:()=>wi,getTokenText:()=>Be.substring(wi,te),getTokenValue:()=>Zn,hasUnicodeEscape:()=>(ar&1024)!==0,hasExtendedUnicodeEscape:()=>(ar&8)!==0,hasPrecedingLineBreak:()=>(ar&1)!==0,hasPrecedingJSDocComment:()=>(ar&2)!==0,isIdentifier:()=>an===79||an>116,isReservedWord:()=>an>=81&&an<=116,isUnterminated:()=>(ar&4)!==0,getCommentDirectives:()=>ys,getNumericLiteralFlags:()=>ar&1008,getTokenFlags:()=>ar,reScanGreaterToken:Ef,reScanAsteriskEqualsToken:Kf,reScanSlashToken:Uc,reScanTemplateToken:qf,reScanTemplateHeadOrNoSubstitutionTemplate:Tc,scanJsxIdentifier:vc,scanJsxAttributeValue:jd,reScanJsxAttributeValue:ap,reScanJsxToken:lg,reScanLessThanToken:Wc,reScanHashToken:op,reScanQuestionToken:md,reScanInvalidIdentifier:sp,scanJsxToken:Gf,scanJsDocToken:V0,scan:$h,getText:H0,clearCommentDirectives:rl,setText:Wr,setScriptTarget:la,setLanguageVariant:Aa,setOnError:fo,setTextPos:Vu,setInJSDocType:cu,tryScan:ug,lookAhead:Jf,scanRange:Um};return Bn.isDebugging&&Object.defineProperty(So,\"__debugShowCurrentPositionInText\",{get:()=>{let ws=So.getText();return ws.slice(0,So.getStartPos())+\"\\u2551\"+ws.slice(So.getStartPos())}}),So;function Ws(ws){let Vs=arguments.length>1&&arguments[1]!==void 0?arguments[1]:te,Hs=arguments.length>2?arguments[2]:void 0;if(B){let na=te;te=Vs,B(ws,Hs||0),te=na}}function _r(){let ws=te,Vs=!1,Hs=!1,na=\"\";for(;;){let fl=Be.charCodeAt(te);if(fl===95){ar|=512,Vs?(Vs=!1,Hs=!0,na+=Be.substring(ws,te)):Ws(Hs?ns.Multiple_consecutive_numeric_separators_are_not_permitted:ns.Numeric_separators_are_not_allowed_here,te,1),te++,ws=te;continue}if(Rw(fl)){Vs=!0,Hs=!1,te++;continue}break}return Be.charCodeAt(te-1)===95&&Ws(ns.Numeric_separators_are_not_allowed_here,te-1,1),na+Be.substring(ws,te)}function po(){let ws=te,Vs=_r(),Hs,na;Be.charCodeAt(te)===46&&(te++,Hs=_r());let fl=te;if(Be.charCodeAt(te)===69||Be.charCodeAt(te)===101){te++,ar|=16,(Be.charCodeAt(te)===43||Be.charCodeAt(te)===45)&&te++;let Hl=te,Eh=_r();Eh?(na=Be.substring(fl,Hl)+Eh,fl=te):Ws(ns.Digit_expected)}let vl;if(ar&512?(vl=Vs,Hs&&(vl+=\".\"+Hs),na&&(vl+=na)):vl=Be.substring(ws,fl),Hs!==void 0||ar&16)return Na(ws,Hs===void 0&&!!(ar&16)),{type:8,value:\"\"+ +vl};{Zn=vl;let Hl=tf();return Na(ws),{type:Hl,value:Zn}}}function Na(ws,Vs){if(!S_(sg(Be,te),r))return;let Hs=te,{length:na}=Ap();na===1&&Be[Hs]===\"n\"?Ws(Vs?ns.A_bigint_literal_cannot_use_exponential_notation:ns.A_bigint_literal_must_be_an_integer,ws,Hs-ws+1):(Ws(ns.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,Hs,na),te=Hs)}function wu(){let ws=te;for(;qO(Be.charCodeAt(te));)te++;return+Be.substring(ws,te)}function Tl(ws,Vs){let Hs=hc(ws,!1,Vs);return Hs?parseInt(Hs,16):-1}function Wu(ws,Vs){return hc(ws,!0,Vs)}function hc(ws,Vs,Hs){let na=[],fl=!1,vl=!1;for(;na.length<ws||Vs;){let Hl=Be.charCodeAt(te);if(Hs&&Hl===95){ar|=512,fl?(fl=!1,vl=!0):Ws(vl?ns.Multiple_consecutive_numeric_separators_are_not_permitted:ns.Numeric_separators_are_not_allowed_here,te,1),te++;continue}if(fl=Hs,Hl>=65&&Hl<=70)Hl+=97-65;else if(!(Hl>=48&&Hl<=57||Hl>=97&&Hl<=102))break;na.push(Hl),te++,vl=!1}return na.length<ws&&(na=[]),Be.charCodeAt(te-1)===95&&Ws(ns.Numeric_separators_are_not_allowed_here,te-1,1),String.fromCharCode(...na)}function xf(){let ws=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Vs=Be.charCodeAt(te);te++;let Hs=\"\",na=te;for(;;){if(te>=wn){Hs+=Be.substring(na,te),ar|=4,Ws(ns.Unterminated_string_literal);break}let fl=Be.charCodeAt(te);if(fl===Vs){Hs+=Be.substring(na,te),te++;break}if(fl===92&&!ws){Hs+=Be.substring(na,te),Hs+=$m(),na=te;continue}if(Xp(fl)&&!ws){Hs+=Be.substring(na,te),ar|=4,Ws(ns.Unterminated_string_literal);break}te++}return Hs}function rp(ws){let Vs=Be.charCodeAt(te)===96;te++;let Hs=te,na=\"\",fl;for(;;){if(te>=wn){na+=Be.substring(Hs,te),ar|=4,Ws(ns.Unterminated_template_literal),fl=Vs?14:17;break}let vl=Be.charCodeAt(te);if(vl===96){na+=Be.substring(Hs,te),te++,fl=Vs?14:17;break}if(vl===36&&te+1<wn&&Be.charCodeAt(te+1)===123){na+=Be.substring(Hs,te),te+=2,fl=Vs?15:16;break}if(vl===92){na+=Be.substring(Hs,te),na+=$m(ws),Hs=te;continue}if(vl===13){na+=Be.substring(Hs,te),te++,te<wn&&Be.charCodeAt(te)===10&&te++,na+=`\n`,Hs=te;continue}te++}return Bn.assert(fl!==void 0),Zn=na,fl}function $m(ws){let Vs=te;if(te++,te>=wn)return Ws(ns.Unexpected_end_of_text),\"\";let Hs=Be.charCodeAt(te);switch(te++,Hs){case 48:return ws&&te<wn&&Rw(Be.charCodeAt(te))?(te++,ar|=2048,Be.substring(Vs,te)):\"\\0\";case 98:return\"\\b\";case 116:return\"\t\";case 110:return`\n`;case 118:return\"\\v\";case 102:return\"\\f\";case 114:return\"\\r\";case 39:return\"'\";case 34:return'\"';case 117:if(ws){for(let na=te;na<te+4;na++)if(na<wn&&!R4(Be.charCodeAt(na))&&Be.charCodeAt(na)!==123)return te=na,ar|=2048,Be.substring(Vs,te)}if(te<wn&&Be.charCodeAt(te)===123){if(te++,ws&&!R4(Be.charCodeAt(te)))return ar|=2048,Be.substring(Vs,te);if(ws){let na=te,fl=Wu(1,!1),vl=fl?parseInt(fl,16):-1;if(!Vge(vl)||Be.charCodeAt(te)!==125)return ar|=2048,Be.substring(Vs,te);te=na}return ar|=8,ef()}return ar|=1024,Zp(4);case 120:if(ws)if(R4(Be.charCodeAt(te))){if(!R4(Be.charCodeAt(te+1)))return te++,ar|=2048,Be.substring(Vs,te)}else return ar|=2048,Be.substring(Vs,te);return Zp(2);case 13:te<wn&&Be.charCodeAt(te)===10&&te++;case 10:case 8232:case 8233:return\"\";default:return String.fromCharCode(Hs)}}function Zp(ws){let Vs=Tl(ws,!1);return Vs>=0?String.fromCharCode(Vs):(Ws(ns.Hexadecimal_digit_expected),\"\")}function ef(){let ws=Wu(1,!1),Vs=ws?parseInt(ws,16):-1,Hs=!1;return Vs<0?(Ws(ns.Hexadecimal_digit_expected),Hs=!0):Vs>1114111&&(Ws(ns.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),Hs=!0),te>=wn?(Ws(ns.Unexpected_end_of_text),Hs=!0):Be.charCodeAt(te)===125?te++:(Ws(ns.Unterminated_Unicode_escape_sequence),Hs=!0),Hs?\"\":XO(Vs)}function lu(){if(te+5<wn&&Be.charCodeAt(te+1)===117){let ws=te;te+=2;let Vs=Tl(4,!1);return te=ws,Vs}return-1}function Uf(){if(sg(Be,te+1)===117&&sg(Be,te+2)===123){let ws=te;te+=3;let Vs=Wu(1,!1),Hs=Vs?parseInt(Vs,16):-1;return te=ws,Hs}return-1}function Ap(){let ws=\"\",Vs=te;for(;te<wn;){let Hs=sg(Be,te);if(jb(Hs,r))te+=Gg(Hs);else if(Hs===92){if(Hs=Uf(),Hs>=0&&jb(Hs,r)){te+=3,ar|=8,ws+=ef(),Vs=te;continue}if(Hs=lu(),!(Hs>=0&&jb(Hs,r)))break;ar|=1024,ws+=Be.substring(Vs,te),ws+=XO(Hs),te+=6,Vs=te}else break}return ws+=Be.substring(Vs,te),ws}function gd(){let ws=Zn.length;if(ws>=2&&ws<=12){let Vs=Zn.charCodeAt(0);if(Vs>=97&&Vs<=122){let Hs=KY.get(Zn);if(Hs!==void 0)return an=Hs}}return an=79}function zm(ws){let Vs=\"\",Hs=!1,na=!1;for(;;){let fl=Be.charCodeAt(te);if(fl===95){ar|=512,Hs?(Hs=!1,na=!0):Ws(na?ns.Multiple_consecutive_numeric_separators_are_not_permitted:ns.Numeric_separators_are_not_allowed_here,te,1),te++;continue}if(Hs=!0,!Rw(fl)||fl-48>=ws)break;Vs+=Be[te],te++,na=!1}return Be.charCodeAt(te-1)===95&&Ws(ns.Numeric_separators_are_not_allowed_here,te-1,1),Vs}function tf(){return Be.charCodeAt(te)===110?(Zn+=\"n\",ar&384&&(Zn=IN(Zn)+\"n\"),te++,9):(Zn=\"\"+(ar&128?parseInt(Zn.slice(2),2):ar&256?parseInt(Zn.slice(2),8):+Zn),8)}function $h(){st=te,ar=0;let ws=!1;for(;;){if(wi=te,te>=wn)return an=1;let Vs=sg(Be,te);if(Vs===35&&te===0&&GO(Be,te)){if(te=JO(Be,te),c)continue;return an=6}switch(Vs){case 10:case 13:if(ar|=1,c){te++;continue}else return Vs===13&&te+1<wn&&Be.charCodeAt(te+1)===10?te+=2:te++,an=4;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 8203:case 8239:case 8287:case 12288:case 65279:if(c){te++;continue}else{for(;te<wn&&Mw(Be.charCodeAt(te));)te++;return an=5}case 33:return Be.charCodeAt(te+1)===61?Be.charCodeAt(te+2)===61?(te+=3,an=37):(te+=2,an=35):(te++,an=53);case 34:case 39:return Zn=xf(),an=10;case 96:return an=rp(!1);case 37:return Be.charCodeAt(te+1)===61?(te+=2,an=69):(te++,an=44);case 38:return Be.charCodeAt(te+1)===38?Be.charCodeAt(te+2)===61?(te+=3,an=76):(te+=2,an=55):Be.charCodeAt(te+1)===61?(te+=2,an=73):(te++,an=50);case 40:return te++,an=20;case 41:return te++,an=21;case 42:if(Be.charCodeAt(te+1)===61)return te+=2,an=66;if(Be.charCodeAt(te+1)===42)return Be.charCodeAt(te+2)===61?(te+=3,an=67):(te+=2,an=42);if(te++,Is&&!ws&&ar&1){ws=!0;continue}return an=41;case 43:return Be.charCodeAt(te+1)===43?(te+=2,an=45):Be.charCodeAt(te+1)===61?(te+=2,an=64):(te++,an=39);case 44:return te++,an=27;case 45:return Be.charCodeAt(te+1)===45?(te+=2,an=46):Be.charCodeAt(te+1)===61?(te+=2,an=65):(te++,an=40);case 46:return Rw(Be.charCodeAt(te+1))?(Zn=po().value,an=8):Be.charCodeAt(te+1)===46&&Be.charCodeAt(te+2)===46?(te+=3,an=25):(te++,an=24);case 47:if(Be.charCodeAt(te+1)===47){for(te+=2;te<wn&&!Xp(Be.charCodeAt(te));)te++;if(ys=tc(ys,Be.slice(wi,te),ZY,wi),c)continue;return an=2}if(Be.charCodeAt(te+1)===42){te+=2,Be.charCodeAt(te)===42&&Be.charCodeAt(te+1)!==47&&(ar|=2);let Eh=!1,Ad=wi;for(;te<wn;){let Yf=Be.charCodeAt(te);if(Yf===42&&Be.charCodeAt(te+1)===47){te+=2,Eh=!0;break}te++,Xp(Yf)&&(Ad=te,ar|=1)}if(ys=tc(ys,Be.slice(Ad,te),eX,Ad),Eh||Ws(ns.Asterisk_Slash_expected),c)continue;return Eh||(ar|=4),an=3}return Be.charCodeAt(te+1)===61?(te+=2,an=68):(te++,an=43);case 48:if(te+2<wn&&(Be.charCodeAt(te+1)===88||Be.charCodeAt(te+1)===120))return te+=2,Zn=Wu(1,!0),Zn||(Ws(ns.Hexadecimal_digit_expected),Zn=\"0\"),Zn=\"0x\"+Zn,ar|=64,an=tf();if(te+2<wn&&(Be.charCodeAt(te+1)===66||Be.charCodeAt(te+1)===98))return te+=2,Zn=zm(2),Zn||(Ws(ns.Binary_digit_expected),Zn=\"0\"),Zn=\"0b\"+Zn,ar|=128,an=tf();if(te+2<wn&&(Be.charCodeAt(te+1)===79||Be.charCodeAt(te+1)===111))return te+=2,Zn=zm(8),Zn||(Ws(ns.Octal_digit_expected),Zn=\"0\"),Zn=\"0o\"+Zn,ar|=256,an=tf();if(te+1<wn&&qO(Be.charCodeAt(te+1)))return Zn=\"\"+wu(),ar|=32,an=8;case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return{type:an,value:Zn}=po(),an;case 58:return te++,an=58;case 59:return te++,an=26;case 60:if(BC(Be,te)){if(te=Bw(Be,te,Ws),c)continue;return an=7}return Be.charCodeAt(te+1)===60?Be.charCodeAt(te+2)===61?(te+=3,an=70):(te+=2,an=47):Be.charCodeAt(te+1)===61?(te+=2,an=32):f===1&&Be.charCodeAt(te+1)===47&&Be.charCodeAt(te+2)!==42?(te+=2,an=30):(te++,an=29);case 61:if(BC(Be,te)){if(te=Bw(Be,te,Ws),c)continue;return an=7}return Be.charCodeAt(te+1)===61?Be.charCodeAt(te+2)===61?(te+=3,an=36):(te+=2,an=34):Be.charCodeAt(te+1)===62?(te+=2,an=38):(te++,an=63);case 62:if(BC(Be,te)){if(te=Bw(Be,te,Ws),c)continue;return an=7}return te++,an=31;case 63:return Be.charCodeAt(te+1)===46&&!Rw(Be.charCodeAt(te+2))?(te+=2,an=28):Be.charCodeAt(te+1)===63?Be.charCodeAt(te+2)===61?(te+=3,an=77):(te+=2,an=60):(te++,an=57);case 91:return te++,an=22;case 93:return te++,an=23;case 94:return Be.charCodeAt(te+1)===61?(te+=2,an=78):(te++,an=52);case 123:return te++,an=18;case 124:if(BC(Be,te)){if(te=Bw(Be,te,Ws),c)continue;return an=7}return Be.charCodeAt(te+1)===124?Be.charCodeAt(te+2)===61?(te+=3,an=75):(te+=2,an=56):Be.charCodeAt(te+1)===61?(te+=2,an=74):(te++,an=51);case 125:return te++,an=19;case 126:return te++,an=54;case 64:return te++,an=59;case 92:let Hs=Uf();if(Hs>=0&&S_(Hs,r))return te+=3,ar|=8,Zn=ef()+Ap(),an=gd();let na=lu();return na>=0&&S_(na,r)?(te+=6,ar|=1024,Zn=String.fromCharCode(na)+Ap(),an=gd()):(Ws(ns.Invalid_character),te++,an=0);case 35:if(te!==0&&Be[te+1]===\"!\")return Ws(ns.can_only_be_used_at_the_start_of_a_file),te++,an=0;let fl=sg(Be,te+1);if(fl===92){te++;let Eh=Uf();if(Eh>=0&&S_(Eh,r))return te+=3,ar|=8,Zn=\"#\"+ef()+Ap(),an=80;let Ad=lu();if(Ad>=0&&S_(Ad,r))return te+=6,ar|=1024,Zn=\"#\"+String.fromCharCode(Ad)+Ap(),an=80;te--}return S_(fl,r)?(te++,jc(fl,r)):(Zn=\"#\",Ws(ns.Invalid_character,te++,Gg(Vs))),an=80;default:let vl=jc(Vs,r);if(vl)return an=vl;if(Mw(Vs)){te+=Gg(Vs);continue}else if(Xp(Vs)){ar|=1,te+=Gg(Vs);continue}let Hl=Gg(Vs);return Ws(ns.Invalid_character,te,Hl),te+=Hl,an=0}}}function sp(){Bn.assert(an===0,\"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'.\"),te=wi=st,ar=0;let ws=sg(Be,te),Vs=jc(ws,99);return Vs?an=Vs:(te+=Gg(ws),an)}function jc(ws,Vs){let Hs=ws;if(S_(Hs,Vs)){for(te+=Gg(Hs);te<wn&&jb(Hs=sg(Be,te),Vs);)te+=Gg(Hs);return Zn=Be.substring(wi,te),Hs===92&&(Zn+=Ap()),gd()}}function Ef(){if(an===31){if(Be.charCodeAt(te)===62)return Be.charCodeAt(te+1)===62?Be.charCodeAt(te+2)===61?(te+=3,an=72):(te+=2,an=49):Be.charCodeAt(te+1)===61?(te+=2,an=71):(te++,an=48);if(Be.charCodeAt(te)===61)return te++,an=33}return an}function Kf(){return Bn.assert(an===66,\"'reScanAsteriskEqualsToken' should only be called on a '*='\"),te=wi+1,an=63}function Uc(){if(an===43||an===68){let ws=wi+1,Vs=!1,Hs=!1;for(;;){if(ws>=wn){ar|=4,Ws(ns.Unterminated_regular_expression_literal);break}let na=Be.charCodeAt(ws);if(Xp(na)){ar|=4,Ws(ns.Unterminated_regular_expression_literal);break}if(Vs)Vs=!1;else if(na===47&&!Hs){ws++;break}else na===91?Hs=!0:na===92?Vs=!0:na===93&&(Hs=!1);ws++}for(;ws<wn&&jb(Be.charCodeAt(ws),r);)ws++;te=ws,Zn=Be.substring(wi,te),an=13}return an}function tc(ws,Vs,Hs,na){let fl=xh(Ds(Vs),Hs);return fl===void 0?ws:Ye(ws,{range:{pos:na,end:te},type:fl})}function xh(ws,Vs){let Hs=Vs.exec(ws);if(Hs)switch(Hs[1]){case\"ts-expect-error\":return 0;case\"ts-ignore\":return 1}}function qf(ws){return Bn.assert(an===19,\"'reScanTemplateToken' should only be called on a '}'\"),te=wi,an=rp(ws)}function Tc(){return te=wi,an=rp(!0)}function lg(){let ws=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return te=wi=st,an=Gf(ws)}function Wc(){return an===47?(te=wi+1,an=29):an}function op(){return an===80?(te=wi+1,an=62):an}function md(){return Bn.assert(an===60,\"'reScanQuestionToken' should only be called on a '??'\"),te=wi+1,an=57}function Gf(){let ws=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(st=wi=te,te>=wn)return an=1;let Vs=Be.charCodeAt(te);if(Vs===60)return Be.charCodeAt(te+1)===47?(te+=2,an=30):(te++,an=29);if(Vs===123)return te++,an=18;let Hs=0;for(;te<wn&&(Vs=Be.charCodeAt(te),Vs!==123);){if(Vs===60){if(BC(Be,te))return te=Bw(Be,te,Ws),an=7;break}if(Vs===62&&Ws(ns.Unexpected_token_Did_you_mean_or_gt,te,1),Vs===125&&Ws(ns.Unexpected_token_Did_you_mean_or_rbrace,te,1),Xp(Vs)&&Hs===0)Hs=-1;else{if(!ws&&Xp(Vs)&&Hs>0)break;wy(Vs)||(Hs=te)}te++}return Zn=Be.substring(st,te),Hs===-1?12:11}function vc(){if(sd(an)){let ws=!1;for(;te<wn;){let Vs=Be.charCodeAt(te);if(Vs===45){Zn+=\"-\",te++;continue}else if(Vs===58&&!ws){Zn+=\":\",te++,ws=!0,an=79;continue}let Hs=te;if(Zn+=Ap(),te===Hs)break}return Zn.slice(-1)===\":\"&&(Zn=Zn.slice(0,-1),te--),gd()}return an}function jd(){switch(st=te,Be.charCodeAt(te)){case 34:case 39:return Zn=xf(!0),an=10;default:return $h()}}function ap(){return te=wi=st,jd()}function V0(){if(st=wi=te,ar=0,te>=wn)return an=1;let ws=sg(Be,te);switch(te+=Gg(ws),ws){case 9:case 11:case 12:case 32:for(;te<wn&&Mw(Be.charCodeAt(te));)te++;return an=5;case 64:return an=59;case 13:Be.charCodeAt(te)===10&&te++;case 10:return ar|=1,an=4;case 42:return an=41;case 123:return an=18;case 125:return an=19;case 91:return an=22;case 93:return an=23;case 60:return an=29;case 62:return an=31;case 61:return an=63;case 44:return an=27;case 46:return an=24;case 96:return an=61;case 35:return an=62;case 92:te--;let Vs=Uf();if(Vs>=0&&S_(Vs,r))return te+=3,ar|=8,Zn=ef()+Ap(),an=gd();let Hs=lu();return Hs>=0&&S_(Hs,r)?(te+=6,ar|=1024,Zn=String.fromCharCode(Hs)+Ap(),an=gd()):(te++,an=0)}if(S_(ws,r)){let Vs=ws;for(;te<wn&&jb(Vs=sg(Be,te),r)||Be.charCodeAt(te)===45;)te+=Gg(Vs);return Zn=Be.substring(wi,te),Vs===92&&(Zn+=Ap()),an=gd()}else return an=0}function A_(ws,Vs){let Hs=te,na=st,fl=wi,vl=an,Hl=Zn,Eh=ar,Ad=ws();return(!Ad||Vs)&&(te=Hs,st=na,wi=fl,an=vl,Zn=Hl,ar=Eh),Ad}function Um(ws,Vs,Hs){let na=wn,fl=te,vl=st,Hl=wi,Eh=an,Ad=Zn,Yf=ar,Km=ys;Wr(Be,ws,Vs);let im=Hs();return wn=na,te=fl,st=vl,wi=Hl,an=Eh,Zn=Ad,ar=Yf,ys=Km,im}function Jf(ws){return A_(ws,!0)}function ug(ws){return A_(ws,!1)}function H0(){return Be}function rl(){ys=void 0}function Wr(ws,Vs,Hs){Be=ws||\"\",wn=Hs===void 0?Be.length:Vs+Hs,Vu(Vs||0)}function fo(ws){B=ws}function la(ws){r=ws}function Aa(ws){f=ws}function Vu(ws){Bn.assert(ws>=0),te=ws,st=ws,wi=ws,an=0,Zn=void 0,ar=0}function cu(ws){Is+=ws?1:-1}}function Gg(r){return r>=65536?2:1}function Uge(r){if(Bn.assert(0<=r&&r<=1114111),r<=65535)return String.fromCharCode(r);let c=Math.floor((r-65536)/1024)+55296,f=(r-65536)%1024+56320;return String.fromCharCode(c,f)}function XO(r){return nX(r)}var hT,KY,QO,qY,GY,JY,YY,XY,QY,ZY,eX,tX,pT,j4,sg,nX,Kge=ve({\"src/compiler/scanner.ts\"(){Qp(),hT={abstract:126,accessor:127,any:131,as:128,asserts:129,assert:130,bigint:160,boolean:134,break:81,case:82,catch:83,class:84,continue:86,const:85,constructor:135,debugger:87,declare:136,default:88,delete:89,do:90,else:91,enum:92,export:93,extends:94,false:95,finally:96,for:97,from:158,function:98,get:137,if:99,implements:117,import:100,in:101,infer:138,instanceof:102,interface:118,intrinsic:139,is:140,keyof:141,let:119,module:142,namespace:143,never:144,new:103,null:104,number:148,object:149,package:120,private:121,protected:122,public:123,override:161,out:145,readonly:146,require:147,global:159,return:105,satisfies:150,set:151,static:124,string:152,super:106,switch:107,symbol:153,this:108,throw:109,true:110,try:111,type:154,typeof:112,undefined:155,unique:156,unknown:157,var:113,void:114,while:115,with:116,yield:125,async:132,await:133,of:162},KY=new Map(Object.entries(hT)),QO=new Map(Object.entries(Object.assign(Object.assign({},hT),{},{\"{\":18,\"}\":19,\"(\":20,\")\":21,\"[\":22,\"]\":23,\".\":24,\"...\":25,\";\":26,\",\":27,\"<\":29,\">\":31,\"<=\":32,\">=\":33,\"==\":34,\"!=\":35,\"===\":36,\"!==\":37,\"=>\":38,\"+\":39,\"-\":40,\"**\":42,\"*\":41,\"/\":43,\"%\":44,\"++\":45,\"--\":46,\"<<\":47,\"</\":30,\">>\":48,\">>>\":49,\"&\":50,\"|\":51,\"^\":52,\"!\":53,\"~\":54,\"&&\":55,\"||\":56,\"?\":57,\"??\":60,\"?.\":28,\":\":58,\"=\":63,\"+=\":64,\"-=\":65,\"*=\":66,\"**=\":67,\"/=\":68,\"%=\":69,\"<<=\":70,\">>=\":71,\">>>=\":72,\"&=\":73,\"|=\":74,\"^=\":78,\"||=\":75,\"&&=\":76,\"??=\":77,\"@\":59,\"#\":62,\"`\":61}))),qY=[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],GY=[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],JY=[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],YY=[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],XY=[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],QY=[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],ZY=/^\\/\\/\\/?\\s*@(ts-expect-error|ts-ignore)/,eX=/^(?:\\/|\\*)*\\s*@(ts-expect-error|ts-ignore)/,tX=jge(QO),pT=7,j4=/^#!.*/,sg=String.prototype.codePointAt?(r,c)=>r.codePointAt(c):function(r,c){let f=r.length;if(c<0||c>=f)return;let x=r.charCodeAt(c);if(x>=55296&&x<=56319&&f>c+1){let B=r.charCodeAt(c+1);if(B>=56320&&B<=57343)return(x-55296)*1024+B-56320+65536}return x},nX=String.fromCodePoint?r=>String.fromCodePoint(r):Uge}});function qge(r){return PC(r)||Nw(r)}function Gge(r){return $f(r,MR)}function Jge(r){switch(AN(r)){case 99:return\"lib.esnext.full.d.ts\";case 9:return\"lib.es2022.full.d.ts\";case 8:return\"lib.es2021.full.d.ts\";case 7:return\"lib.es2020.full.d.ts\";case 6:return\"lib.es2019.full.d.ts\";case 5:return\"lib.es2018.full.d.ts\";case 4:return\"lib.es2017.full.d.ts\";case 3:return\"lib.es2016.full.d.ts\";case 2:return\"lib.es6.d.ts\";default:return\"lib.d.ts\"}}function wh(r){return r.start+r.length}function iX(r){return r.length===0}function Yge(r,c){return c>=r.start&&c<wh(r)}function Xge(r,c){return c>=r.pos&&c<=r.end}function Qge(r,c){return c.start>=r.start&&wh(c)<=wh(r)}function Zge(r,c){return rX(r,c)!==void 0}function rX(r,c){let f=sX(r,c);return f&&f.length===0?void 0:f}function eme(r,c){return ZO(r.start,r.length,c.start,c.length)}function tme(r,c,f){return ZO(r.start,r.length,c,f)}function ZO(r,c,f,x){let B=r+c,De=f+x;return f<=B&&De>=r}function nme(r,c){return c<=wh(r)&&c>=r.start}function sX(r,c){let f=Math.max(r.start,c.start),x=Math.min(wh(r),wh(c));return f<=x?I0(f,x):void 0}function jw(r,c){if(r<0)throw new Error(\"start < 0\");if(c<0)throw new Error(\"length < 0\");return{start:r,length:c}}function I0(r,c){return jw(r,c-r)}function Ww(r){return jw(r.span.start,r.newLength)}function oX(r){return iX(r.span)&&r.newLength===0}function W4(r,c){if(c<0)throw new Error(\"newLength < 0\");return{span:r,newLength:c}}function ime(r){if(r.length===0)return DM;if(r.length===1)return r[0];let c=r[0],f=c.span.start,x=wh(c.span),B=f+c.newLength;for(let De=1;De<r.length;De++){let ke=r[De],Be=f,te=x,wn=B,st=ke.span.start,wi=wh(ke.span),an=st+ke.newLength;f=Math.min(Be,st),x=Math.max(te,te+(wi-wn)),B=Math.max(an,an+(wn-wi))}return W4(I0(f,x),B-f)}function rme(r){if(r&&r.kind===165){for(let c=r;c;c=c.parent)if(F0(c)||Yg(c)||c.kind===261)return c}}function aX(r,c){return Gb(r)&&Tp(r,16476)&&c.kind===173}function lX(r){return eN(r)?yn(r.elements,uX):!1}function uX(r){return JN(r)?!0:lX(r.name)}function cX(r){let c=r.parent;for(;ZT(c.parent);)c=c.parent.parent;return c.parent}function eM(r,c){ZT(r)&&(r=cX(r));let f=c(r);return r.kind===257&&(r=r.parent),r&&r.kind===258&&(f|=c(r),r=r.parent),r&&r.kind===240&&(f|=c(r)),f}function V4(r){return eM(r,DN)}function sme(r){return eM(r,KZ)}function H4(r){return eM(r,c=>c.flags)}function ome(r,c,f){let x=r.toLowerCase(),B=/^([a-z]+)([_\\-]([a-z]+))?$/.exec(x);if(!B){f&&f.push(MT(ns.Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1,\"en\",\"ja-jp\"));return}let De=B[1],ke=B[3];xi(wM,x)&&!Be(De,ke,f)&&Be(De,void 0,f),H(r);function Be(te,wn,st){let wi=rg(c.getExecutingFilePath()),an=by(wi),Zn=Yp(an,te);if(wn&&(Zn=Zn+\"-\"+wn),Zn=c.resolvePath(Yp(Zn,\"diagnosticMessages.generated.json\")),!c.fileExists(Zn))return!1;let ar=\"\";try{ar=c.readFile(Zn)}catch{return st&&st.push(MT(ns.Unable_to_open_file_0,Zn)),!1}try{_ee(JSON.parse(ar))}catch{return st&&st.push(MT(ns.Corrupted_locale_file_0,Zn)),!1}return!0}}function fT(r,c){if(r)for(;r.original!==void 0;)r=r.original;return!r||!c||c(r)?r:void 0}function jm(r,c){for(;r;){let f=c(r);if(f===\"quit\")return;if(f)return r;r=r.parent}}function _T(r){return(r.flags&8)===0}function gT(r,c){if(r===void 0||_T(r))return r;for(r=r.original;r;){if(_T(r))return!c||c(r)?r:void 0;r=r.original}}function Jg(r){return r.length>=2&&r.charCodeAt(0)===95&&r.charCodeAt(1)===95?\"_\"+r:r}function mT(r){let c=r;return c.length>=3&&c.charCodeAt(0)===95&&c.charCodeAt(1)===95&&c.charCodeAt(2)===95?c.substr(1):c}function Hh(r){return mT(r.escapedText)}function dX(r){let c=dT(r.escapedText);return c?bc(c,M0):void 0}function $4(r){return r.valueDeclaration&&WX(r.valueDeclaration)?Hh(r.valueDeclaration.name):mT(r.escapedName)}function hX(r){let c=r.parent.parent;if(c){if(HC(c))return z4(c);switch(c.kind){case 240:if(c.declarationList&&c.declarationList.declarations[0])return z4(c.declarationList.declarations[0]);break;case 241:let f=c.expression;switch(f.kind===223&&f.operatorToken.kind===63&&(f=f.left),f.kind){case 208:return f.name;case 209:let x=f.argumentExpression;if(Ja(x))return x}break;case 214:return z4(c.expression);case 253:{if(HC(c.statement)||tN(c.statement))return z4(c.statement);break}}}}function z4(r){let c=yT(r);return c&&Ja(c)?c:void 0}function pX(r,c){return!!(U4(r)&&Ja(r.name)&&Hh(r.name)===Hh(c)||t2(r)&&so(r.declarationList.declarations,f=>pX(f,c)))}function fX(r){return r.name||hX(r)}function U4(r){return!!r.name}function tM(r){switch(r.kind){case 79:return r;case 351:case 344:{let{name:f}=r;if(f.kind===163)return f.right;break}case 210:case 223:{let f=r;switch(Ay(f)){case 1:case 4:case 5:case 3:return hN(f.left);case 7:case 8:case 9:return f.arguments[1];default:return}}case 349:return fX(r);case 343:return hX(r);case 274:{let{expression:f}=r;return Ja(f)?f:void 0}case 209:let c=r;if(eR(c))return c.argumentExpression}return r.name}function yT(r){if(r!==void 0)return tM(r)||(UN(r)||KN(r)||GN(r)?_X(r):void 0)}function _X(r){if(r.parent){if(fS(r.parent)||ZT(r.parent))return r.parent.name;if(zc(r.parent)&&r===r.parent.right){if(Ja(r.parent.left))return r.parent.left;if(qC(r.parent.left))return hN(r.parent.left)}else if(Vm(r.parent)&&Ja(r.parent.name))return r.parent.name}else return}function ame(r){if(PT(r))return Mi(r.modifiers,KT)}function K4(r){if(Tp(r,126975))return Mi(r.modifiers,cM)}function gX(r,c){if(r.name)if(Ja(r.name)){let f=r.name.escapedText;return Vw(r.parent,c).filter(x=>gS(x)&&Ja(x.name)&&x.name.escapedText===f)}else{let f=r.parent.parameters.indexOf(r);Bn.assert(f>-1,\"Parameters should always be in their parents' parameter list\");let x=Vw(r.parent,c).filter(gS);if(f<x.length)return[x[f]]}return Ci}function q4(r){return gX(r,!1)}function mX(r){return gX(r,!0)}function yX(r,c){let f=r.name.escapedText;return Vw(r.parent,c).filter(x=>s2(x)&&x.typeParameters.some(B=>B.name.escapedText===f))}function bX(r){return yX(r,!1)}function vX(r){return yX(r,!0)}function lme(r){return!!Sh(r,gS)}function CX(r){return Sh(r,t6)}function DX(r){return NX(r,pne)}function ume(r){return Sh(r,une)}function cme(r){return Sh(r,UB)}function wX(r){return Sh(r,UB,!0)}function dme(r){return Sh(r,KB)}function SX(r){return Sh(r,KB,!0)}function hme(r){return Sh(r,qB)}function xX(r){return Sh(r,qB,!0)}function pme(r){return Sh(r,GB)}function EX(r){return Sh(r,GB,!0)}function TX(r){return Sh(r,cne,!0)}function fme(r){return Sh(r,YB)}function AX(r){return Sh(r,YB,!0)}function _me(r){return Sh(r,dne)}function gme(r){return Sh(r,hne)}function kX(r){return Sh(r,XB)}function mme(r){return Sh(r,s2)}function nM(r){return Sh(r,QB)}function G4(r){let c=Sh(r,lA);if(c&&c.typeExpression&&c.typeExpression.type)return c}function J4(r){let c=Sh(r,lA);return!c&&Gb(r)&&(c=vn(q4(r),f=>!!f.typeExpression)),c&&c.typeExpression&&c.typeExpression.type}function LX(r){let c=kX(r);if(c&&c.typeExpression)return c.typeExpression.type;let f=G4(r);if(f&&f.typeExpression){let x=f.typeExpression.type;if(zN(x)){let B=vn(x.members,DB);return B&&B.type}if(XT(x)||e6(x))return x.type}}function Vw(r,c){var f;if(!pN(r))return Ci;let x=(f=r.jsDoc)==null?void 0:f.jsDocCache;if(x===void 0||c){let B=ZQ(r,c);Bn.assert(B.length<2||B[0]!==B[1]),x=ji(B,De=>r2(De)?De.tags:De),c||(r.jsDoc!=null||(r.jsDoc=[]),r.jsDoc.jsDocCache=x)}return x}function bT(r){return Vw(r,!1)}function yme(r){return Vw(r,!0)}function Sh(r,c,f){return vn(Vw(r,f),c)}function NX(r,c){return bT(r).filter(c)}function bme(r,c){return bT(r).filter(f=>f.kind===c)}function vme(r){return typeof r==\"string\"?r:r==null?void 0:r.map(c=>c.kind===324?c.text:Cme(c)).join(\"\")}function Cme(r){let c=r.kind===327?\"link\":r.kind===328?\"linkcode\":\"linkplain\",f=r.name?Ey(r.name):\"\",x=r.name&&r.text.startsWith(\"://\")?\"\":\" \";return`{@${c} ${f}${x}${r.text}}`}function Dme(r){if(aA(r)){if(JB(r.parent)){let c=sR(r.parent);if(c&&Se(c.tags))return ji(c.tags,f=>s2(f)?f.typeParameters:void 0)}return Ci}if(kT(r))return Bn.assert(r.parent.kind===323),ji(r.parent.tags,c=>s2(c)?c.typeParameters:void 0);if(r.typeParameters||Ane(r)&&r.typeParameters)return r.typeParameters;if(dh(r)){let c=MZ(r);if(c.length)return c;let f=J4(r);if(f&&XT(f)&&f.typeParameters)return f.typeParameters}return Ci}function wme(r){return r.constraint?r.constraint:s2(r.parent)&&r===r.parent.typeParameters[0]?r.parent.constraint:void 0}function Wb(r){return r.kind===79||r.kind===80}function Sme(r){return r.kind===175||r.kind===174}function IX(r){return Sf(r)&&!!(r.flags&32)}function FX(r){return Fy(r)&&!!(r.flags&32)}function iM(r){return cS(r)&&!!(r.flags&32)}function rM(r){let c=r.kind;return!!(r.flags&32)&&(c===208||c===209||c===210||c===232)}function sM(r){return rM(r)&&!e2(r)&&!!r.questionDotToken}function xme(r){return sM(r.parent)&&r.parent.expression===r}function Eme(r){return!rM(r.parent)||sM(r.parent)||r!==r.parent.expression}function Tme(r){return r.kind===223&&r.operatorToken.kind===60}function PX(r){return uS(r)&&Ja(r.typeName)&&r.typeName.escapedText===\"const\"&&!r.typeArguments}function Y4(r){return o2(r,8)}function OX(r){return e2(r)&&!!(r.flags&32)}function Ame(r){return r.kind===249||r.kind===248}function kme(r){return r.kind===277||r.kind===276}function MX(r){switch(r.kind){case 305:case 306:return!0;default:return!1}}function Lme(r){return MX(r)||r.kind===303||r.kind===307}function oM(r){return r.kind===351||r.kind===344}function Nme(r){return vT(r.kind)}function vT(r){return r>=163}function RX(r){return r>=0&&r<=162}function Ime(r){return RX(r.kind)}function Sy(r){return Yo(r,\"pos\")&&Yo(r,\"end\")}function aM(r){return 8<=r&&r<=14}function lM(r){return aM(r.kind)}function Fme(r){switch(r.kind){case 207:case 206:case 13:case 215:case 228:return!0}return!1}function CT(r){return 14<=r&&r<=17}function Pme(r){return CT(r.kind)}function Ome(r){let c=r.kind;return c===16||c===17}function Mme(r){return ene(r)||nne(r)}function BX(r){switch(r.kind){case 273:return r.isTypeOnly||r.parent.parent.isTypeOnly;case 271:return r.parent.isTypeOnly;case 270:case 268:return r.isTypeOnly}return!1}function jX(r){switch(r.kind){case 278:return r.isTypeOnly||r.parent.parent.isTypeOnly;case 275:return r.isTypeOnly&&!!r.moduleSpecifier&&!r.exportClause;case 277:return r.parent.isTypeOnly}return!1}function Rme(r){return BX(r)||jX(r)}function Bme(r){return T_(r)||Ja(r)}function jme(r){return r.kind===10||CT(r.kind)}function xy(r){var c;return Ja(r)&&((c=r.emitNode)==null?void 0:c.autoGenerate)!==void 0}function uM(r){var c;return wf(r)&&((c=r.emitNode)==null?void 0:c.autoGenerate)!==void 0}function WX(r){return(QC(r)||hM(r))&&wf(r.name)}function Wme(r){return Sf(r)&&wf(r.name)}function Wm(r){switch(r){case 126:case 127:case 132:case 85:case 136:case 88:case 93:case 101:case 123:case 121:case 122:case 146:case 124:case 145:case 161:return!0}return!1}function VX(r){return!!(kR(r)&16476)}function HX(r){return VX(r)||r===124||r===161||r===127}function cM(r){return Wm(r.kind)}function Vme(r){let c=r.kind;return c===163||c===79}function DT(r){let c=r.kind;return c===79||c===80||c===10||c===8||c===164}function Hme(r){let c=r.kind;return c===79||c===203||c===204}function F0(r){return!!r&&dM(r.kind)}function X4(r){return!!r&&(dM(r.kind)||JT(r))}function $X(r){return r&&zX(r.kind)}function $me(r){return r.kind===110||r.kind===95}function zX(r){switch(r){case 259:case 171:case 173:case 174:case 175:case 215:case 216:return!0;default:return!1}}function dM(r){switch(r){case 170:case 176:case 326:case 177:case 178:case 181:case 320:case 182:return!0;default:return zX(r)}}function zme(r){return tm(r)||Zte(r)||tA(r)&&F0(r.parent)}function Vb(r){let c=r.kind;return c===173||c===169||c===171||c===174||c===175||c===178||c===172||c===237}function Yg(r){return r&&(r.kind===260||r.kind===228)}function Q4(r){return r&&(r.kind===174||r.kind===175)}function UX(r){return QC(r)&&$Z(r)}function hM(r){switch(r.kind){case 171:case 174:case 175:return!0;default:return!1}}function Ume(r){switch(r.kind){case 171:case 174:case 175:case 169:return!0;default:return!1}}function Z4(r){return cM(r)||KT(r)}function pM(r){let c=r.kind;return c===177||c===176||c===168||c===170||c===178||c===174||c===175}function Kme(r){return pM(r)||Vb(r)}function fM(r){let c=r.kind;return c===299||c===300||c===301||c===171||c===174||c===175}function _M(r){return pee(r.kind)}function qme(r){switch(r.kind){case 181:case 182:return!0}return!1}function eN(r){if(r){let c=r.kind;return c===204||c===203}return!1}function KX(r){let c=r.kind;return c===206||c===207}function Gme(r){let c=r.kind;return c===205||c===229}function gM(r){switch(r.kind){case 257:case 166:case 205:return!0}return!1}function Jme(r){return Vm(r)||Gb(r)||GX(r)||YX(r)}function Yme(r){return qX(r)||JX(r)}function qX(r){switch(r.kind){case 203:case 207:return!0}return!1}function GX(r){switch(r.kind){case 205:case 299:case 300:case 301:return!0}return!1}function JX(r){switch(r.kind){case 204:case 206:return!0}return!1}function YX(r){switch(r.kind){case 205:case 229:case 227:case 206:case 207:case 79:case 208:case 209:return!0}return Ny(r,!0)}function Xme(r){let c=r.kind;return c===208||c===163||c===202}function Qme(r){let c=r.kind;return c===208||c===163}function Zme(r){switch(r.kind){case 283:case 282:case 210:case 211:case 212:case 167:return!0;default:return!1}}function e0e(r){return r.kind===210||r.kind===211}function t0e(r){let c=r.kind;return c===225||c===14}function VC(r){return XX(Y4(r).kind)}function XX(r){switch(r){case 208:case 209:case 211:case 210:case 281:case 282:case 285:case 212:case 206:case 214:case 207:case 228:case 215:case 79:case 80:case 13:case 8:case 9:case 10:case 14:case 225:case 95:case 104:case 108:case 110:case 106:case 232:case 230:case 233:case 100:case 279:return!0;default:return!1}}function QX(r){return ZX(Y4(r).kind)}function ZX(r){switch(r){case 221:case 222:case 217:case 218:case 219:case 220:case 213:return!0;default:return XX(r)}}function n0e(r){switch(r.kind){case 222:return!0;case 221:return r.operator===45||r.operator===46;default:return!1}}function i0e(r){switch(r.kind){case 104:case 110:case 95:case 221:return!0;default:return lM(r)}}function tN(r){return r0e(Y4(r).kind)}function r0e(r){switch(r){case 224:case 226:case 216:case 223:case 227:case 231:case 229:case 357:case 356:case 235:return!0;default:return ZX(r)}}function s0e(r){let c=r.kind;return c===213||c===231}function o0e(r){return WB(r)||Yte(r)}function eQ(r,c){switch(r.kind){case 245:case 246:case 247:case 243:case 244:return!0;case 253:return c&&eQ(r.statement,c)}return!1}function tQ(r){return i2(r)||pS(r)}function a0e(r){return so(r,tQ)}function l0e(r){return!oN(r)&&!i2(r)&&!Tp(r,1)&&!rN(r)}function u0e(r){return oN(r)||i2(r)||Tp(r,1)}function c0e(r){return r.kind===246||r.kind===247}function d0e(r){return tA(r)||tN(r)}function h0e(r){return tA(r)}function p0e(r){return FB(r)||tN(r)}function f0e(r){let c=r.kind;return c===265||c===264||c===79}function _0e(r){let c=r.kind;return c===265||c===264}function g0e(r){let c=r.kind;return c===79||c===264}function m0e(r){let c=r.kind;return c===272||c===271}function y0e(r){return r.kind===264||r.kind===263}function b0e(r){switch(r.kind){case 216:case 223:case 205:case 210:case 176:case 260:case 228:case 172:case 173:case 182:case 177:case 209:case 263:case 302:case 274:case 275:case 278:case 259:case 215:case 181:case 174:case 79:case 270:case 268:case 273:case 178:case 261:case 341:case 343:case 320:case 344:case 351:case 326:case 349:case 325:case 288:case 289:case 290:case 197:case 171:case 170:case 264:case 199:case 277:case 267:case 271:case 211:case 14:case 8:case 207:case 166:case 208:case 299:case 169:case 168:case 175:case 300:case 308:case 301:case 10:case 262:case 184:case 165:case 257:return!0;default:return!1}}function v0e(r){switch(r.kind){case 216:case 238:case 176:case 266:case 295:case 172:case 191:case 173:case 182:case 177:case 245:case 246:case 247:case 259:case 215:case 181:case 174:case 178:case 341:case 343:case 320:case 326:case 349:case 197:case 171:case 170:case 264:case 175:case 308:case 262:return!0;default:return!1}}function C0e(r){return r===216||r===205||r===260||r===228||r===172||r===173||r===263||r===302||r===278||r===259||r===215||r===174||r===270||r===268||r===273||r===261||r===288||r===171||r===170||r===264||r===267||r===271||r===277||r===166||r===299||r===169||r===168||r===175||r===300||r===262||r===165||r===257||r===349||r===341||r===351}function mM(r){return r===259||r===279||r===260||r===261||r===262||r===263||r===264||r===269||r===268||r===275||r===274||r===267}function yM(r){return r===249||r===248||r===256||r===243||r===241||r===239||r===246||r===247||r===245||r===242||r===253||r===250||r===252||r===254||r===255||r===240||r===244||r===251||r===355||r===359||r===358}function HC(r){return r.kind===165?r.parent&&r.parent.kind!==348||dh(r):C0e(r.kind)}function D0e(r){return mM(r.kind)}function w0e(r){return yM(r.kind)}function nQ(r){let c=r.kind;return yM(c)||mM(c)||S0e(r)}function S0e(r){return r.kind!==238||r.parent!==void 0&&(r.parent.kind===255||r.parent.kind===295)?!1:!LQ(r)}function iQ(r){let c=r.kind;return yM(c)||mM(c)||c===238}function x0e(r){let c=r.kind;return c===280||c===163||c===79}function E0e(r){let c=r.kind;return c===108||c===79||c===208}function rQ(r){let c=r.kind;return c===281||c===291||c===282||c===11||c===285}function T0e(r){let c=r.kind;return c===288||c===290}function A0e(r){let c=r.kind;return c===10||c===291}function sQ(r){let c=r.kind;return c===283||c===282}function k0e(r){let c=r.kind;return c===292||c===293}function bM(r){return r.kind>=312&&r.kind<=353}function oQ(r){return r.kind===323||r.kind===322||r.kind===324||xT(r)||vM(r)||zB(r)||aA(r)}function vM(r){return r.kind>=330&&r.kind<=353}function wT(r){return r.kind===175}function ST(r){return r.kind===174}function P0(r){if(!pN(r))return!1;let{jsDoc:c}=r;return!!c&&c.length>0}function L0e(r){return!!r.type}function aQ(r){return!!r.initializer}function N0e(r){switch(r.kind){case 257:case 166:case 205:case 169:case 299:case 302:return!0;default:return!1}}function CM(r){return r.kind===288||r.kind===290||fM(r)}function I0e(r){return r.kind===180||r.kind===230}function F0e(r){let c=SM;for(let f of r){if(!f.length)continue;let x=0;for(;x<f.length&&x<c&&wy(f.charCodeAt(x));x++);if(x<c&&(c=x),c===0)return 0}return c===SM?void 0:c}function Xg(r){return r.kind===10||r.kind===14}function xT(r){return r.kind===327||r.kind===328||r.kind===329}function P0e(r){let c=yi(r.parameters);return!!c&&lQ(c)}function lQ(r){let c=gS(r)?r.typeExpression&&r.typeExpression.type:r.type;return r.dotDotDotToken!==void 0||!!c&&c.kind===321}var DM,wM,SM,O0e=ve({\"src/compiler/utilitiesPublic.ts\"(){Qp(),DM=W4(jw(0,0),0),wM=[\"cs\",\"de\",\"es\",\"fr\",\"it\",\"ja\",\"ko\",\"pl\",\"pt-br\",\"ru\",\"tr\",\"zh-cn\",\"zh-tw\"],SM=1073741823}});function M0e(r,c){let f=r.declarations;if(f){for(let x of f)if(x.kind===c)return x}}function R0e(r,c){return Mi(r.declarations||Ci,f=>f.kind===c)}function B0e(r){let c=new Map;if(r)for(let f of r)c.set(f.escapedName,f);return c}function xM(r){return(r.flags&33554432)!==0}function j0e(){var r=\"\";let c=f=>r+=f;return{getText:()=>r,write:c,rawWrite:c,writeKeyword:c,writeOperator:c,writePunctuation:c,writeSpace:c,writeStringLiteral:c,writeLiteral:c,writeParameter:c,writeProperty:c,writeSymbol:(f,x)=>c(f),writeTrailingSemicolon:c,writeComment:c,getTextPos:()=>r.length,getLine:()=>0,getColumn:()=>0,getIndent:()=>0,isAtStartOfLine:()=>!1,hasTrailingComment:()=>!1,hasTrailingWhitespace:()=>!!r.length&&wy(r.charCodeAt(r.length-1)),writeLine:()=>r+=\" \",increaseIndent:ku,decreaseIndent:ku,clear:()=>r=\"\"}}function W0e(r,c){return r.configFilePath!==c.configFilePath||uQ(r,c)}function uQ(r,c){return Hw(r,c,moduleResolutionOptionDeclarations)}function V0e(r,c){return Hw(r,c,optionsAffectingProgramStructure)}function Hw(r,c,f){return r!==c&&f.some(x=>!GR(HR(r,x),HR(c,x)))}function H0e(r,c){for(;;){let f=c(r);if(f===\"quit\")return;if(f!==void 0)return f;if(tm(r))return;r=r.parent}}function $0e(r,c){let f=r.entries();for(let[x,B]of f){let De=c(B,x);if(De)return De}}function z0e(r,c){let f=r.keys();for(let x of f){let B=c(x);if(B)return B}}function U0e(r,c){r.forEach((f,x)=>{c.set(x,f)})}function K0e(r){let c=iS.getText();try{return r(iS),iS.getText()}finally{iS.clear(),iS.writeKeyword(c)}}function nN(r){return r.end-r.pos}function q0e(r,c,f){var x,B;return(B=(x=r==null?void 0:r.resolvedModules)==null?void 0:x.get(c,f))==null?void 0:B.resolvedModule}function G0e(r,c,f,x){r.resolvedModules||(r.resolvedModules=createModeAwareCache()),r.resolvedModules.set(c,x,f)}function J0e(r,c,f,x){r.resolvedTypeReferenceDirectiveNames||(r.resolvedTypeReferenceDirectiveNames=createModeAwareCache()),r.resolvedTypeReferenceDirectiveNames.set(c,x,f)}function Y0e(r,c,f){var x,B;return(B=(x=r==null?void 0:r.resolvedTypeReferenceDirectiveNames)==null?void 0:x.get(c,f))==null?void 0:B.resolvedTypeReferenceDirective}function X0e(r,c){return r.path===c.path&&!r.prepend==!c.prepend&&!r.circular==!c.circular}function Q0e(r,c){return r===c||r.resolvedModule===c.resolvedModule||!!r.resolvedModule&&!!c.resolvedModule&&r.resolvedModule.isExternalLibraryImport===c.resolvedModule.isExternalLibraryImport&&r.resolvedModule.extension===c.resolvedModule.extension&&r.resolvedModule.resolvedFileName===c.resolvedModule.resolvedFileName&&r.resolvedModule.originalPath===c.resolvedModule.originalPath&&Z0e(r.resolvedModule.packageId,c.resolvedModule.packageId)}function Z0e(r,c){return r===c||!!r&&!!c&&r.name===c.name&&r.subModuleName===c.subModuleName&&r.version===c.version}function cQ(r){let{name:c,subModuleName:f}=r;return f?`${c}/${f}`:c}function e1e(r){return`${cQ(r)}@${r.version}`}function t1e(r,c){return r===c||r.resolvedTypeReferenceDirective===c.resolvedTypeReferenceDirective||!!r.resolvedTypeReferenceDirective&&!!c.resolvedTypeReferenceDirective&&r.resolvedTypeReferenceDirective.resolvedFileName===c.resolvedTypeReferenceDirective.resolvedFileName&&!!r.resolvedTypeReferenceDirective.primary==!!c.resolvedTypeReferenceDirective.primary&&r.resolvedTypeReferenceDirective.originalPath===c.resolvedTypeReferenceDirective.originalPath}function n1e(r,c,f,x,B,De){Bn.assert(r.length===f.length);for(let ke=0;ke<r.length;ke++){let Be=f[ke],te=r[ke],wn=De.getName(te),st=De.getMode(te,c),wi=x&&x.get(wn,st);if(wi?!Be||!B(wi,Be):Be)return!0}return!1}function EM(r){return i1e(r),(r.flags&524288)!==0}function i1e(r){r.flags&1048576||((r.flags&131072||Jd(r,EM))&&(r.flags|=524288),r.flags|=1048576)}function Qg(r){for(;r&&r.kind!==308;)r=r.parent;return r}function r1e(r){return Qg(r.valueDeclaration||CQ(r))}function s1e(r,c){return!!r&&(r.scriptKind===1||r.scriptKind===2)&&!r.checkJsDirective&&c===void 0}function o1e(r){switch(r.kind){case 238:case 266:case 245:case 246:case 247:return!0}return!1}function a1e(r,c){return Bn.assert(r>=0),Dy(c)[r]}function l1e(r){let c=Qg(r),f=Bb(c,r.pos);return`${c.fileName}(${f.line+1},${f.character+1})`}function dQ(r,c){Bn.assert(r>=0);let f=Dy(c),x=r,B=c.text;if(x+1===f.length)return B.length-1;{let De=f[x],ke=f[x+1]-1;for(Bn.assert(Xp(B.charCodeAt(ke)));De<=ke&&Xp(B.charCodeAt(ke));)ke--;return ke}}function hQ(r,c,f){return!(f&&f(c))&&!r.identifiers.has(c)}function O0(r){return r===void 0?!0:r.pos===r.end&&r.pos>=0&&r.kind!==1}function ET(r){return!O0(r)}function u1e(r,c){return XC(r)?c===r.expression:JT(r)?c===r.modifiers:qT(r)?c===r.initializer:QC(r)?c===r.questionToken&&UX(r):fS(r)?c===r.modifiers||c===r.questionToken||c===r.exclamationToken||$w(r.modifiers,c,Z4):oA(r)?c===r.equalsToken||c===r.modifiers||c===r.questionToken||c===r.exclamationToken||$w(r.modifiers,c,Z4):GT(r)?c===r.exclamationToken:aS(r)?c===r.typeParameters||c===r.type||$w(r.typeParameters,c,XC):YT(r)?c===r.typeParameters||$w(r.typeParameters,c,XC):lS(r)?c===r.typeParameters||c===r.type||$w(r.typeParameters,c,XC):MB(r)?c===r.modifiers||$w(r.modifiers,c,Z4):!1}function $w(r,c,f){return!r||fu(c)||!f(c)?!1:xi(r,c)}function pQ(r,c,f){if(c===void 0||c.length===0)return r;let x=0;for(;x<r.length&&f(r[x]);++x);return r.splice(x,0,...c),r}function fQ(r,c,f){if(c===void 0)return r;let x=0;for(;x<r.length&&f(r[x]);++x);return r.splice(x,0,c),r}function _Q(r){return Ty(r)||!!(Zg(r)&2097152)}function c1e(r,c){return pQ(r,c,Ty)}function d1e(r,c){return pQ(r,c,_Q)}function h1e(r,c){return fQ(r,c,Ty)}function p1e(r,c){return fQ(r,c,_Q)}function f1e(r,c,f){if(r.charCodeAt(c+1)===47&&c+2<f&&r.charCodeAt(c+2)===47){let x=r.substring(c,f);return!!(XR.test(x)||QR.test(x)||tte.test(x)||nte.test(x))}return!1}function gQ(r,c){return r.charCodeAt(c+1)===42&&r.charCodeAt(c+2)===33}function _1e(r,c){let f=new Map(c.map(ke=>[`${Bb(r,ke.range.end).line}`,ke])),x=new Map;return{getUnusedExpectations:B,markUsed:De};function B(){return Zu(f.entries()).filter(ke=>{let[Be,te]=ke;return te.type===0&&!x.get(Be)}).map(ke=>{let[Be,te]=ke;return te})}function De(ke){return f.has(`${ke}`)?(x.set(`${ke}`,!0),!0):!1}}function $C(r,c,f){return O0(r)?r.pos:bM(r)||r.kind===11?ch((c||Qg(r)).text,r.pos,!1,!0):f&&P0(r)?$C(r.jsDoc[0],c):r.kind===354&&r._children.length>0?$C(r._children[0],c,f):ch((c||Qg(r)).text,r.pos,!1,!1,BQ(r))}function g1e(r,c){let f=!O0(r)&&mS(r)?Ut(r.modifiers,KT):void 0;return f?ch((c||Qg(r)).text,f.end):$C(r,c)}function zC(r,c){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return zw(r.text,c,f)}function m1e(r){return!!jm(r,ane)}function mQ(r){return!!(pS(r)&&r.exportClause&&YN(r.exportClause)&&r.exportClause.name.escapedText===\"default\")}function zw(r,c){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(O0(c))return\"\";let x=r.substring(f?c.pos:ch(r,c.pos),c.end);return m1e(c)&&(x=x.split(/\\r\\n|\\n|\\r/).map(B=>Ds(B.replace(/^\\s*\\*/,\"\"))).join(`\n`)),x}function iN(r){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return zC(Qg(r),r,c)}function y1e(r){return r.pos}function b1e(r,c){return Ea(r,c,y1e,rd)}function Zg(r){let c=r.emitNode;return c&&c.flags||0}function v1e(r){let c=r.emitNode;return c&&c.internalFlags||0}function C1e(r,c,f){var x;if(c&&D1e(r,f))return zC(c,r);switch(r.kind){case 10:{let B=f&2?SZ:f&1||Zg(r)&33554432?yN:bN;return r.singleQuote?\"'\"+B(r.text,39)+\"'\":'\"'+B(r.text,34)+'\"'}case 14:case 15:case 16:case 17:{let B=f&1||Zg(r)&33554432?yN:bN,De=(x=r.rawText)!=null?x:Zbe(B(r.text,96));switch(r.kind){case 14:return\"`\"+De+\"`\";case 15:return\"`\"+De+\"${\";case 16:return\"}\"+De+\"${\";case 17:return\"}\"+De+\"`\"}break}case 8:case 9:return r.text;case 13:return f&4&&r.isUnterminated?r.text+(r.text.charCodeAt(r.text.length-1)===92?\" /\":\"/\"):r.text}return Bn.fail(`Literal kind '${r.kind}' not accounted for.`)}function D1e(r,c){return ky(r)||!r.parent||c&4&&r.isUnterminated?!1:Kb(r)&&r.numericLiteralFlags&512?!!(c&8):!bB(r)}function w1e(r){return nd(r)?'\"'+bN(r)+'\"':\"\"+r}function S1e(r){return uT(r).replace(/^(\\d)/,\"_$1\").replace(/\\W/g,\"_\")}function x1e(r){return(H4(r)&3)!==0||yQ(r)}function yQ(r){let c=mN(r);return c.kind===257&&c.parent.kind===295}function rN(r){return W0(r)&&(r.name.kind===10||sN(r))}function E1e(r){return W0(r)&&r.name.kind===10}function T1e(r){return W0(r)&&T_(r.name)}function bQ(r){return W0(r)||Ja(r)}function A1e(r){return k1e(r.valueDeclaration)}function k1e(r){return!!r&&r.kind===264&&!r.body}function L1e(r){return r.kind===308||r.kind===264||X4(r)}function sN(r){return!!(r.flags&1024)}function TM(r){return rN(r)&&vQ(r)}function vQ(r){switch(r.parent.kind){case 308:return c2(r.parent);case 265:return rN(r.parent.parent)&&tm(r.parent.parent.parent)&&!c2(r.parent.parent.parent)}return!1}function CQ(r){var c;return(c=r.declarations)==null?void 0:c.find(f=>!TM(f)&&!(W0(f)&&sN(f)))}function N1e(r){return r===1||r===100||r===199}function AM(r,c){return c2(r)||kN(c)||N1e(em(c))&&!!r.commonJsModuleIndicator}function I1e(r,c){switch(r.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return r.isDeclarationFile?!1:VR(c,\"alwaysStrict\")||bne(r.statements)?!0:c2(r)||kN(c)?em(c)>=5?!0:!c.noImplicitUseStrict:!1}function F1e(r){return!!(r.flags&16777216)||Tp(r,2)}function DQ(r,c){switch(r.kind){case 308:case 266:case 295:case 264:case 245:case 246:case 247:case 173:case 171:case 174:case 175:case 259:case 215:case 216:case 169:case 172:return!0;case 238:return!X4(c)}return!1}function P1e(r){switch(Bn.type(r),r.kind){case 341:case 349:case 326:return!0;default:return wQ(r)}}function wQ(r){switch(Bn.type(r),r.kind){case 176:case 177:case 170:case 178:case 181:case 182:case 320:case 260:case 228:case 261:case 262:case 348:case 259:case 171:case 173:case 174:case 175:case 215:case 216:return!0;default:return!1}}function kM(r){switch(r.kind){case 269:case 268:return!0;default:return!1}}function O1e(r){return kM(r)||cN(r)}function M1e(r){switch(r.kind){case 269:case 268:case 240:case 260:case 259:case 264:case 262:case 261:case 263:return!0;default:return!1}}function R1e(r){return oN(r)||W0(r)||QT(r)||RM(r)}function oN(r){return kM(r)||pS(r)}function LM(r){return jm(r.parent,c=>DQ(c,c.parent))}function B1e(r,c){let f=LM(r);for(;f;)c(f),f=LM(f)}function SQ(r){return!r||nN(r)===0?\"(Missing)\":iN(r)}function j1e(r){return r.declaration?SQ(r.declaration.parameters[0].name):void 0}function W1e(r){return r.kind===164&&!R0(r.expression)}function NM(r){var c;switch(r.kind){case 79:case 80:return(c=r.emitNode)!=null&&c.autoGenerate?void 0:r.escapedText;case 10:case 8:case 14:return Jg(r.text);case 164:return R0(r.expression)?Jg(r.expression.text):void 0;default:return Bn.assertNever(r)}}function V1e(r){return Bn.checkDefined(NM(r))}function Ey(r){switch(r.kind){case 108:return\"this\";case 80:case 79:return nN(r)===0?Hh(r):iN(r);case 163:return Ey(r.left)+\".\"+Ey(r.right);case 208:return Ja(r.name)||wf(r.name)?Ey(r.expression)+\".\"+Ey(r.name):Bn.assertNever(r.name);case 314:return Ey(r.left)+Ey(r.right);default:return Bn.assertNever(r)}}function H1e(r,c,f,x,B,De){let ke=Qg(r);return xQ(ke,r,c,f,x,B,De)}function $1e(r,c,f,x,B,De,ke){let Be=ch(r.text,c.pos);return OR(r,Be,c.end-Be,f,x,B,De,ke)}function xQ(r,c,f,x,B,De,ke){let Be=OM(r,c);return OR(r,Be.start,Be.length,f,x,B,De,ke)}function z1e(r,c,f,x){let B=OM(r,c);return FM(r,B.start,B.length,f,x)}function U1e(r,c,f,x){let B=ch(r.text,c.pos);return FM(r,B,c.end-B,f,x)}function IM(r,c,f){Bn.assertGreaterThanOrEqual(c,0),Bn.assertGreaterThanOrEqual(f,0),r&&(Bn.assertLessThanOrEqual(c,r.text.length),Bn.assertLessThanOrEqual(c+f,r.text.length))}function FM(r,c,f,x,B){return IM(r,c,f),{file:r,start:c,length:f,code:x.code,category:x.category,messageText:x.next?x:x.messageText,relatedInformation:B}}function K1e(r,c,f){return{file:r,start:0,length:0,code:c.code,category:c.category,messageText:c.next?c:c.messageText,relatedInformation:f}}function q1e(r){return typeof r.messageText==\"string\"?{code:r.code,category:r.category,messageText:r.messageText,next:r.next}:r.messageText}function G1e(r,c,f){return{file:r,start:c.pos,length:c.end-c.pos,code:f.code,category:f.category,messageText:f.message}}function PM(r,c){let f=WC(r.languageVersion,!0,r.languageVariant,r.text,void 0,c);f.scan();let x=f.getTokenPos();return I0(x,f.getTextPos())}function J1e(r,c){let f=WC(r.languageVersion,!0,r.languageVariant,r.text,void 0,c);return f.scan(),f.getToken()}function Y1e(r,c){let f=ch(r.text,c.pos);if(c.body&&c.body.kind===238){let{line:x}=Bb(r,c.body.pos),{line:B}=Bb(r,c.body.end);if(x<B)return jw(f,dQ(x,r)-f+1)}return I0(f,c.end)}function OM(r,c){let f=c;switch(c.kind){case 308:let De=ch(r.text,0,!1);return De===r.text.length?jw(0,0):PM(r,De);case 257:case 205:case 260:case 228:case 261:case 264:case 263:case 302:case 259:case 215:case 171:case 174:case 175:case 262:case 169:case 168:case 271:f=c.name;break;case 216:return Y1e(r,c);case 292:case 293:let ke=ch(r.text,c.pos),Be=c.statements.length>0?c.statements[0].pos:c.end;return I0(ke,Be)}if(f===void 0)return PM(r,c.pos);Bn.assert(!r2(f));let x=O0(f),B=x||VN(c)?f.pos:ch(r.text,f.pos);return x?(Bn.assert(B===f.pos,\"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809\"),Bn.assert(B===f.end,\"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809\")):(Bn.assert(B>=f.pos,\"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809\"),Bn.assert(B<=f.end,\"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809\")),I0(B,f.end)}function X1e(r){return(r.externalModuleIndicator||r.commonJsModuleIndicator)!==void 0}function MM(r){return r.scriptKind===6}function Q1e(r){return!!(V4(r)&2048)}function Z1e(r){return!!(V4(r)&64&&!aX(r,r.parent))}function EQ(r){return!!(H4(r)&2)}function eye(r){return!!(H4(r)&1)}function tye(r){return r.kind===210&&r.expression.kind===106}function RM(r){return r.kind===210&&r.expression.kind===100}function BM(r){return IB(r)&&r.keywordToken===100&&r.name.escapedText===\"meta\"}function TQ(r){return QT(r)&&AB(r.argument)&&T_(r.argument.literal)}function Ty(r){return r.kind===241&&r.expression.kind===10}function aN(r){return!!(Zg(r)&2097152)}function jM(r){return aN(r)&&n2(r)}function nye(r){return Ja(r.name)&&!r.initializer}function WM(r){return aN(r)&&t2(r)&&yn(r.declarationList.declarations,nye)}function iye(r,c){return r.kind!==11?jC(c.text,r.pos):void 0}function AQ(r,c){let f=r.kind===166||r.kind===165||r.kind===215||r.kind===216||r.kind===214||r.kind===257||r.kind===278?Wa(zY(c,r.pos),jC(c,r.pos)):jC(c,r.pos);return Mi(f,x=>c.charCodeAt(x.pos+1)===42&&c.charCodeAt(x.pos+2)===42&&c.charCodeAt(x.pos+3)!==47)}function VM(r){if(179<=r.kind&&r.kind<=202)return!0;switch(r.kind){case 131:case 157:case 148:case 160:case 152:case 134:case 153:case 149:case 155:case 144:return!0;case 114:return r.parent.kind!==219;case 230:return sA(r.parent)&&!LR(r);case 165:return r.parent.kind===197||r.parent.kind===192;case 79:(r.parent.kind===163&&r.parent.right===r||r.parent.kind===208&&r.parent.name===r)&&(r=r.parent),Bn.assert(r.kind===79||r.kind===163||r.kind===208,\"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.\");case 163:case 208:case 108:{let{parent:c}=r;if(c.kind===183)return!1;if(c.kind===202)return!c.isTypeOf;if(179<=c.kind&&c.kind<=202)return!0;switch(c.kind){case 230:return sA(c.parent)&&!LR(c);case 165:return r===c.constraint;case 348:return r===c.constraint;case 169:case 168:case 166:case 257:return r===c.type;case 259:case 215:case 216:case 173:case 171:case 170:case 174:case 175:return r===c.type;case 176:case 177:case 178:return r===c.type;case 213:return r===c.type;case 210:case 211:return xi(c.typeArguments,r);case 212:return!1}}}return!1}function rye(r,c){for(;r;){if(r.kind===c)return!0;r=r.parent}return!1}function sye(r,c){return f(r);function f(x){switch(x.kind){case 250:return c(x);case 266:case 238:case 242:case 243:case 244:case 245:case 246:case 247:case 251:case 252:case 292:case 293:case 253:case 255:case 295:return Jd(x,f)}}}function oye(r,c){return f(r);function f(x){switch(x.kind){case 226:c(x);let B=x.expression;B&&f(B);return;case 263:case 261:case 264:case 262:return;default:if(F0(x)){if(x.name&&x.name.kind===164){f(x.name.expression);return}}else VM(x)||Jd(x,f)}}}function aye(r){return r&&r.kind===185?r.elementType:r&&r.kind===180?Qi(r.typeArguments):void 0}function lye(r){switch(r.kind){case 261:case 260:case 228:case 184:return r.members;case 207:return r.properties}}function HM(r){if(r)switch(r.kind){case 205:case 302:case 166:case 299:case 169:case 168:case 300:case 257:return!0}return!1}function uye(r){return HM(r)||Q4(r)}function kQ(r){return r.parent.kind===258&&r.parent.parent.kind===240}function cye(r){return dh(r)?Jb(r.parent)&&zc(r.parent.parent)&&Ay(r.parent.parent)===2||$M(r.parent):!1}function $M(r){return dh(r)?zc(r)&&Ay(r)===1:!1}function dye(r){return(Vm(r)?EQ(r)&&Ja(r.name)&&kQ(r):QC(r)?xR(r)&&CN(r):qT(r)&&xR(r))||$M(r)}function hye(r){switch(r.kind){case 171:case 170:case 173:case 174:case 175:case 259:case 215:return!0}return!1}function pye(r,c){for(;;){if(c&&c(r),r.statement.kind!==253)return r.statement;r=r.statement}}function LQ(r){return r&&r.kind===238&&F0(r.parent)}function fye(r){return r&&r.kind===171&&r.parent.kind===207}function _ye(r){return(r.kind===171||r.kind===174||r.kind===175)&&(r.parent.kind===207||r.parent.kind===228)}function gye(r){return r&&r.kind===1}function mye(r){return r&&r.kind===0}function zM(r,c,f){return r.properties.filter(x=>{if(x.kind===299){let B=NM(x.name);return c===B||!!f&&f===B}return!1})}function yye(r,c,f){return dt(zM(r,c),x=>eA(x.initializer)?vn(x.initializer.elements,B=>T_(B)&&B.text===f):void 0)}function NQ(r){if(r&&r.statements.length){let c=r.statements[0].expression;return bc(c,Jb)}}function bye(r,c,f){return dt(IQ(r,c),x=>eA(x.initializer)?vn(x.initializer.elements,B=>T_(B)&&B.text===f):void 0)}function IQ(r,c){let f=NQ(r);return f?zM(f,c):Ci}function vye(r){return jm(r.parent,F0)}function Cye(r){return jm(r.parent,$X)}function Dye(r){return jm(r.parent,Yg)}function wye(r){return jm(r.parent,c=>Yg(c)||F0(c)?\"quit\":JT(c))}function Sye(r){return jm(r.parent,X4)}function UM(r,c,f){for(Bn.assert(r.kind!==308);;){if(r=r.parent,!r)return Bn.fail();switch(r.kind){case 164:if(f&&Yg(r.parent.parent))return r;r=r.parent.parent;break;case 167:r.parent.kind===166&&Vb(r.parent.parent)?r=r.parent.parent:Vb(r.parent)&&(r=r.parent);break;case 216:if(!c)continue;case 259:case 215:case 264:case 172:case 169:case 168:case 171:case 170:case 173:case 174:case 175:case 176:case 177:case 178:case 263:case 308:return r}}}function xye(r){switch(r.kind){case 216:case 259:case 215:case 169:return!0;case 238:switch(r.parent.kind){case 173:case 171:case 174:case 175:return!0;default:return!1}default:return!1}}function Eye(r){Ja(r)&&(hS(r.parent)||n2(r.parent))&&r.parent.name===r&&(r=r.parent);let c=UM(r,!0,!1);return tm(c)}function Tye(r){let c=UM(r,!1,!1);if(c)switch(c.kind){case 173:case 259:case 215:return c}}function Aye(r,c){for(;;){if(r=r.parent,!r)return;switch(r.kind){case 164:r=r.parent;break;case 259:case 215:case 216:if(!c)continue;case 169:case 168:case 171:case 170:case 173:case 174:case 175:case 172:return r;case 167:r.parent.kind===166&&Vb(r.parent.parent)?r=r.parent.parent:Vb(r.parent)&&(r=r.parent);break}}}function kye(r){if(r.kind===215||r.kind===216){let c=r,f=r.parent;for(;f.kind===214;)c=f,f=f.parent;if(f.kind===210&&f.expression===c)return f}}function Lye(r){return r.kind===106||lN(r)}function lN(r){let c=r.kind;return(c===208||c===209)&&r.expression.kind===106}function Nye(r){let c=r.kind;return(c===208||c===209)&&r.expression.kind===108}function Iye(r){var c;return!!r&&Vm(r)&&((c=r.initializer)==null?void 0:c.kind)===108}function Fye(r){return!!r&&(oA(r)||fS(r))&&zc(r.parent.parent)&&r.parent.parent.operatorToken.kind===63&&r.parent.parent.right.kind===108}function Pye(r){switch(r.kind){case 180:return r.typeName;case 230:return $b(r.expression)?r.expression:void 0;case 79:case 163:return r}}function Oye(r){switch(r.kind){case 212:return r.tag;case 283:case 282:return r.tagName;default:return r.expression}}function FQ(r,c,f,x){if(r&&U4(c)&&wf(c.name))return!1;switch(c.kind){case 260:return!0;case 228:return!r;case 169:return f!==void 0&&(r?hS(f):Yg(f)&&!VZ(c)&&!HZ(c));case 174:case 175:case 171:return c.body!==void 0&&f!==void 0&&(r?hS(f):Yg(f));case 166:return r?f!==void 0&&f.body!==void 0&&(f.kind===173||f.kind===171||f.kind===175)&&PZ(f)!==c&&x!==void 0&&x.kind===260:!1}return!1}function Uw(r,c,f,x){return PT(c)&&FQ(r,c,f,x)}function KM(r,c,f,x){return Uw(r,c,f,x)||qM(r,c,f)}function qM(r,c,f){switch(c.kind){case 260:return so(c.members,x=>KM(r,x,c,f));case 228:return!r&&so(c.members,x=>KM(r,x,c,f));case 171:case 175:case 173:return so(c.parameters,x=>Uw(r,x,c,f));default:return!1}}function Mye(r,c){if(Uw(r,c))return!0;let f=FZ(c);return!!f&&qM(r,f,c)}function Rye(r,c,f){let x;if(Q4(c)){let{firstAccessor:B,secondAccessor:De,setAccessor:ke}=CR(f.members,c),Be=PT(B)?B:De&&PT(De)?De:void 0;if(!Be||c!==Be)return!1;x=ke==null?void 0:ke.parameters}else GT(c)&&(x=c.parameters);if(Uw(r,c,f))return!0;if(x){for(let B of x)if(!FT(B)&&Uw(r,B,c,f))return!0}return!1}function PQ(r){if(r.textSourceNode){switch(r.textSourceNode.kind){case 10:return PQ(r.textSourceNode);case 14:return r.text===\"\"}return!1}return r.text===\"\"}function uN(r){let{parent:c}=r;return c.kind===283||c.kind===282||c.kind===284?c.tagName===r:!1}function GM(r){switch(r.kind){case 106:case 104:case 110:case 95:case 13:case 206:case 207:case 208:case 209:case 210:case 211:case 212:case 231:case 213:case 235:case 232:case 214:case 215:case 228:case 216:case 219:case 217:case 218:case 221:case 222:case 223:case 224:case 227:case 225:case 229:case 281:case 282:case 285:case 226:case 220:case 233:return!0;case 230:return!sA(r.parent)&&!t6(r.parent);case 163:for(;r.parent.kind===163;)r=r.parent;return r.parent.kind===183||xT(r.parent)||ZN(r.parent)||_S(r.parent)||uN(r);case 314:for(;_S(r.parent);)r=r.parent;return r.parent.kind===183||xT(r.parent)||ZN(r.parent)||_S(r.parent)||uN(r);case 80:return zc(r.parent)&&r.parent.left===r&&r.parent.operatorToken.kind===101;case 79:if(r.parent.kind===183||xT(r.parent)||ZN(r.parent)||_S(r.parent)||uN(r))return!0;case 8:case 9:case 10:case 14:case 108:return OQ(r);default:return!1}}function OQ(r){let{parent:c}=r;switch(c.kind){case 257:case 166:case 169:case 168:case 302:case 299:case 205:return c.initializer===r;case 241:case 242:case 243:case 244:case 250:case 251:case 252:case 292:case 254:return c.expression===r;case 245:let f=c;return f.initializer===r&&f.initializer.kind!==258||f.condition===r||f.incrementor===r;case 246:case 247:let x=c;return x.initializer===r&&x.initializer.kind!==258||x.expression===r;case 213:case 231:return r===c.expression;case 236:return r===c.expression;case 164:return r===c.expression;case 167:case 291:case 290:case 301:return!0;case 230:return c.expression===r&&!VM(c);case 300:return c.objectAssignmentInitializer===r;case 235:return r===c.expression;default:return GM(c)}}function MQ(r){for(;r.kind===163||r.kind===79;)r=r.parent;return r.kind===183}function Bye(r){return YN(r)&&!!r.parent.moduleSpecifier}function RQ(r){return r.kind===268&&r.moduleReference.kind===280}function jye(r){return Bn.assert(RQ(r)),r.moduleReference.expression}function Wye(r){return cN(r)&&FR(r.initializer).arguments[0]}function Vye(r){return r.kind===268&&r.moduleReference.kind!==280}function JM(r){return dh(r)}function Hye(r){return!dh(r)}function dh(r){return!!r&&!!(r.flags&262144)}function $ye(r){return!!r&&!!(r.flags&67108864)}function zye(r){return!MM(r)}function BQ(r){return!!r&&!!(r.flags&8388608)}function Uye(r){return uS(r)&&Ja(r.typeName)&&r.typeName.escapedText===\"Object\"&&r.typeArguments&&r.typeArguments.length===2&&(r.typeArguments[0].kind===152||r.typeArguments[0].kind===148)}function TT(r,c){if(r.kind!==210)return!1;let{expression:f,arguments:x}=r;if(f.kind!==79||f.escapedText!==\"require\"||x.length!==1)return!1;let B=x[0];return!c||Xg(B)}function jQ(r){return WQ(r,!1)}function cN(r){return WQ(r,!0)}function Kye(r){return ZT(r)&&cN(r.parent.parent)}function WQ(r,c){return Vm(r)&&!!r.initializer&&TT(c?FR(r.initializer):r.initializer,!0)}function VQ(r){return t2(r)&&r.declarationList.declarations.length>0&&yn(r.declarationList.declarations,c=>jQ(c))}function qye(r){return r===39||r===34}function Gye(r,c){return zC(c,r).charCodeAt(0)===34}function YM(r){return zc(r)||qC(r)||Ja(r)||cS(r)}function HQ(r){return dh(r)&&r.initializer&&zc(r.initializer)&&(r.initializer.operatorToken.kind===56||r.initializer.operatorToken.kind===60)&&r.name&&$b(r.name)&&qw(r.name,r.initializer.left)?r.initializer.right:r.initializer}function Jye(r){let c=HQ(r);return c&&Kw(c,OT(r.name))}function Yye(r,c){return S(r.properties,f=>fS(f)&&Ja(f.name)&&f.name.escapedText===\"value\"&&f.initializer&&Kw(f.initializer,c))}function Xye(r){if(r&&r.parent&&zc(r.parent)&&r.parent.operatorToken.kind===63){let c=OT(r.parent.left);return Kw(r.parent.right,c)||Qye(r.parent.left,r.parent.right,c)}if(r&&cS(r)&&ZM(r)){let c=Yye(r.arguments[2],r.arguments[1].text===\"prototype\");if(c)return c}}function Kw(r,c){if(cS(r)){let f=NT(r.expression);return f.kind===215||f.kind===216?r:void 0}if(r.kind===215||r.kind===228||r.kind===216||Jb(r)&&(r.properties.length===0||c))return r}function Qye(r,c,f){let x=zc(c)&&(c.operatorToken.kind===56||c.operatorToken.kind===60)&&Kw(c.right,f);if(x&&qw(r,c.left))return x}function Zye(r){let c=Vm(r.parent)?r.parent.name:zc(r.parent)&&r.parent.operatorToken.kind===63?r.parent.left:void 0;return c&&Kw(r.right,OT(c))&&$b(c)&&qw(c,r.left)}function ebe(r){if(zc(r.parent)){let c=(r.parent.operatorToken.kind===56||r.parent.operatorToken.kind===60)&&zc(r.parent.parent)?r.parent.parent:r.parent;if(c.operatorToken.kind===63&&Ja(c.left))return c.left}else if(Vm(r.parent))return r.parent.name}function qw(r,c){return hR(r)&&hR(c)?gN(r)===gN(c):Wb(r)&&dN(c)&&(c.expression.kind===108||Ja(c.expression)&&(c.expression.escapedText===\"window\"||c.expression.escapedText===\"self\"||c.expression.escapedText===\"global\"))?qw(r,UQ(c)):dN(r)&&dN(c)?Hb(r)===Hb(c)&&qw(r.expression,c.expression):!1}function XM(r){for(;Ny(r,!0);)r=r.right;return r}function $Q(r){return Ja(r)&&r.escapedText===\"exports\"}function zQ(r){return Ja(r)&&r.escapedText===\"module\"}function QM(r){return(Sf(r)||AT(r))&&zQ(r.expression)&&Hb(r)===\"exports\"}function Ay(r){let c=tbe(r);return c===5||dh(r)?c:0}function ZM(r){return Se(r.arguments)===3&&Sf(r.expression)&&Ja(r.expression.expression)&&Hh(r.expression.expression)===\"Object\"&&Hh(r.expression.name)===\"defineProperty\"&&R0(r.arguments[1])&&Jw(r.arguments[0],!0)}function dN(r){return Sf(r)||AT(r)}function AT(r){return Fy(r)&&R0(r.argumentExpression)}function Gw(r,c){return Sf(r)&&(!c&&r.expression.kind===108||Ja(r.name)&&Jw(r.expression,!0))||eR(r,c)}function eR(r,c){return AT(r)&&(!c&&r.expression.kind===108||$b(r.expression)||Gw(r.expression,!0))}function Jw(r,c){return $b(r)||Gw(r,c)}function UQ(r){return Sf(r)?r.name:r.argumentExpression}function tbe(r){if(cS(r)){if(!ZM(r))return 0;let c=r.arguments[0];return $Q(c)||QM(c)?8:Gw(c)&&Hb(c)===\"prototype\"?9:7}return r.operatorToken.kind!==63||!qC(r.left)||nbe(XM(r))?0:Jw(r.left.expression,!0)&&Hb(r.left)===\"prototype\"&&Jb(qQ(r))?6:KQ(r.left)}function nbe(r){return kB(r)&&Kb(r.expression)&&r.expression.text===\"0\"}function hN(r){if(Sf(r))return r.name;let c=NT(r.argumentExpression);return Kb(c)||Xg(c)?c:r}function Hb(r){let c=hN(r);if(c){if(Ja(c))return c.escapedText;if(Xg(c)||Kb(c))return Jg(c.text)}}function KQ(r){if(r.expression.kind===108)return 4;if(QM(r))return 2;if(Jw(r.expression,!0)){if(OT(r.expression))return 3;let c=r;for(;!Ja(c.expression);)c=c.expression;let f=c.expression;if((f.escapedText===\"exports\"||f.escapedText===\"module\"&&Hb(c)===\"exports\")&&Gw(r))return 1;if(Jw(r,!0)||Fy(r)&&dR(r))return 5}return 0}function qQ(r){for(;zc(r.right);)r=r.right;return r.right}function ibe(r){return zc(r)&&Ay(r)===3}function rbe(r){return dh(r)&&r.parent&&r.parent.kind===241&&(!Fy(r)||AT(r))&&!!G4(r.parent)}function sbe(r,c){let{valueDeclaration:f}=r;(!f||!(c.flags&16777216&&!dh(c)&&!(f.flags&16777216))&&YM(f)&&!YM(c)||f.kind!==c.kind&&bQ(f))&&(r.valueDeclaration=c)}function obe(r){if(!r||!r.valueDeclaration)return!1;let c=r.valueDeclaration;return c.kind===259||Vm(c)&&c.initializer&&F0(c.initializer)}function abe(r){var c,f;switch(r.kind){case 257:case 205:return(c=jm(r.initializer,x=>TT(x,!0)))==null?void 0:c.arguments[0];case 269:return bc(r.moduleSpecifier,Xg);case 268:return bc((f=bc(r.moduleReference,XN))==null?void 0:f.expression,Xg);case 270:case 277:return bc(r.parent.moduleSpecifier,Xg);case 271:case 278:return bc(r.parent.parent.moduleSpecifier,Xg);case 273:return bc(r.parent.parent.parent.moduleSpecifier,Xg);default:Bn.assertNever(r)}}function lbe(r){return GQ(r)||Bn.failBadSyntaxKind(r.parent)}function GQ(r){switch(r.parent.kind){case 269:case 275:return r.parent;case 280:return r.parent.parent;case 210:return RM(r.parent)||TT(r.parent,!1)?r.parent:void 0;case 198:return Bn.assert(T_(r)),bc(r.parent.parent,QT);default:return}}function tR(r){switch(r.kind){case 269:case 275:return r.moduleSpecifier;case 268:return r.moduleReference.kind===280?r.moduleReference.expression:void 0;case 202:return TQ(r)?r.argument.literal:void 0;case 210:return r.arguments[0];case 264:return r.name.kind===10?r.name:void 0;default:return Bn.assertNever(r)}}function JQ(r){switch(r.kind){case 269:return r.importClause&&bc(r.importClause.namedBindings,jB);case 268:return r;case 275:return r.exportClause&&bc(r.exportClause,YN);default:return Bn.assertNever(r)}}function YQ(r){return r.kind===269&&!!r.importClause&&!!r.importClause.name}function ube(r,c){if(r.name){let f=c(r);if(f)return f}if(r.namedBindings){let f=jB(r.namedBindings)?c(r.namedBindings):S(r.namedBindings.elements,c);if(f)return f}}function cbe(r){if(r)switch(r.kind){case 166:case 171:case 170:case 300:case 299:case 169:case 168:return r.questionToken!==void 0}return!1}function dbe(r){let c=e6(r)?Tt(r.parameters):void 0,f=bc(c&&c.name,Ja);return!!f&&f.escapedText===\"new\"}function kT(r){return r.kind===349||r.kind===341||r.kind===343}function hbe(r){return kT(r)||PB(r)}function pbe(r){return nA(r)&&zc(r.expression)&&r.expression.operatorToken.kind===63?XM(r.expression):void 0}function XQ(r){return nA(r)&&zc(r.expression)&&Ay(r.expression)!==0&&zc(r.expression.right)&&(r.expression.right.operatorToken.kind===56||r.expression.right.operatorToken.kind===60)?r.expression.right.right:void 0}function nR(r){switch(r.kind){case 240:let c=LT(r);return c&&c.initializer;case 169:return r.initializer;case 299:return r.initializer}}function LT(r){return t2(r)?Tt(r.declarationList.declarations):void 0}function QQ(r){return W0(r)&&r.body&&r.body.kind===264?r.body:void 0}function fbe(r){if(r.kind>=240&&r.kind<=256)return!0;switch(r.kind){case 79:case 108:case 106:case 163:case 233:case 209:case 208:case 205:case 215:case 216:case 171:case 174:case 175:return!0;default:return!1}}function pN(r){switch(r.kind){case 216:case 223:case 238:case 249:case 176:case 292:case 260:case 228:case 172:case 173:case 182:case 177:case 248:case 256:case 243:case 209:case 239:case 1:case 263:case 302:case 274:case 275:case 278:case 241:case 246:case 247:case 245:case 259:case 215:case 181:case 174:case 79:case 242:case 269:case 268:case 178:case 261:case 320:case 326:case 253:case 171:case 170:case 264:case 199:case 267:case 207:case 166:case 214:case 208:case 299:case 169:case 168:case 250:case 175:case 300:case 301:case 252:case 254:case 255:case 262:case 165:case 257:case 240:case 244:case 251:return!0;default:return!1}}function ZQ(r,c){let f;HM(r)&&aQ(r)&&P0(r.initializer)&&(f=wt(f,eZ(r,Oi(r.initializer.jsDoc))));let x=r;for(;x&&x.parent;){if(P0(x)&&(f=wt(f,eZ(r,Oi(x.jsDoc)))),x.kind===166){f=wt(f,(c?mX:q4)(x));break}if(x.kind===165){f=wt(f,(c?vX:bX)(x));break}x=nZ(x)}return f||Ci}function eZ(r,c){if(r2(c)){let f=Mi(c.tags,x=>tZ(r,x));return c.tags===f?[c]:f}return tZ(r,c)?[c]:void 0}function tZ(r,c){return!(lA(c)||QB(c))||!c.parent||!r2(c.parent)||!ZC(c.parent.parent)||c.parent.parent===r}function nZ(r){let c=r.parent;if(c.kind===299||c.kind===274||c.kind===169||c.kind===241&&r.kind===208||c.kind===250||QQ(c)||zc(r)&&r.operatorToken.kind===63)return c;if(c.parent&&(LT(c.parent)===r||zc(c)&&c.operatorToken.kind===63))return c.parent;if(c.parent&&c.parent.parent&&(LT(c.parent.parent)||nR(c.parent.parent)===r||XQ(c.parent.parent)))return c.parent.parent}function _be(r){if(r.symbol)return r.symbol;if(!Ja(r.name))return;let c=r.name.escapedText,f=iR(r);if(!f)return;let x=vn(f.parameters,B=>B.name.kind===79&&B.name.escapedText===c);return x&&x.symbol}function gbe(r){if(r2(r.parent)&&r.parent.tags){let c=vn(r.parent.tags,kT);if(c)return c}return iR(r)}function iR(r){let c=rR(r);if(c)return qT(c)&&c.type&&F0(c.type)?c.type:F0(c)?c:void 0}function rR(r){let c=iZ(r);if(c)return XQ(c)||pbe(c)||nR(c)||LT(c)||QQ(c)||c}function iZ(r){let c=sR(r);if(!c)return;let f=c.parent;if(f&&f.jsDoc&&c===yi(f.jsDoc))return f}function sR(r){return jm(r.parent,r2)}function mbe(r){let c=r.name.escapedText,{typeParameters:f}=r.parent.parent.parent;return f&&vn(f,x=>x.name.escapedText===c)}function ybe(r){return!!r.typeArguments}function rZ(r){let c=r.parent;for(;;){switch(c.kind){case 223:let f=c.operatorToken.kind;return Xw(f)&&c.left===r?f===63||wN(f)?1:2:0;case 221:case 222:let x=c.operator;return x===45||x===46?2:0;case 246:case 247:return c.initializer===r?1:0;case 214:case 206:case 227:case 232:r=c;break;case 301:r=c.parent;break;case 300:if(c.name!==r)return 0;r=c.parent;break;case 299:if(c.name===r)return 0;r=c.parent;break;default:return 0}c=r.parent}}function bbe(r){return rZ(r)!==0}function vbe(r){switch(r.kind){case 238:case 240:case 251:case 242:case 252:case 266:case 292:case 293:case 253:case 245:case 246:case 247:case 243:case 244:case 255:case 295:return!0}return!1}function Cbe(r){return UN(r)||KN(r)||hM(r)||n2(r)||aS(r)}function sZ(r,c){for(;r&&r.kind===c;)r=r.parent;return r}function Dbe(r){return sZ(r,193)}function oR(r){return sZ(r,214)}function wbe(r){let c;for(;r&&r.kind===193;)c=r,r=r.parent;return[c,r]}function Sbe(r){for(;EB(r);)r=r.type;return r}function NT(r,c){return o2(r,c?17:1)}function xbe(r){return r.kind!==208&&r.kind!==209?!1:(r=oR(r.parent),r&&r.kind===217)}function Ebe(r,c){for(;r;){if(r===c)return!0;r=r.parent}return!1}function oZ(r){return!tm(r)&&!eN(r)&&HC(r.parent)&&r.parent.name===r}function Tbe(r){let c=r.parent;switch(r.kind){case 10:case 14:case 8:if(qb(c))return c.parent;case 79:if(HC(c))return c.name===r?c:void 0;if(oS(c)){let f=c.parent;return gS(f)&&f.name===c?f:void 0}else{let f=c.parent;return zc(f)&&Ay(f)!==0&&(f.left.symbol||f.symbol)&&yT(f)===r?f:void 0}case 80:return HC(c)&&c.name===r?c:void 0;default:return}}function aZ(r){return R0(r)&&r.parent.kind===164&&HC(r.parent.parent)}function Abe(r){let c=r.parent;switch(c.kind){case 169:case 168:case 171:case 170:case 174:case 175:case 302:case 299:case 208:return c.name===r;case 163:return c.right===r;case 205:case 273:return c.propertyName===r;case 278:case 288:case 282:case 283:case 284:return!0}return!1}function kbe(r){return r.kind===268||r.kind===267||r.kind===270&&r.name||r.kind===271||r.kind===277||r.kind===273||r.kind===278||r.kind===274&&lR(r)?!0:dh(r)&&(zc(r)&&Ay(r)===2&&lR(r)||Sf(r)&&zc(r.parent)&&r.parent.left===r&&r.parent.operatorToken.kind===63&&aR(r.parent.right))}function lZ(r){switch(r.parent.kind){case 270:case 273:case 271:case 278:case 274:case 268:case 277:return r.parent;case 163:do r=r.parent;while(r.parent.kind===163);return lZ(r)}}function aR(r){return $b(r)||GN(r)}function lR(r){let c=uZ(r);return aR(c)}function uZ(r){return i2(r)?r.expression:r.right}function Lbe(r){return r.kind===300?r.name:r.kind===299?r.initializer:r.parent.right}function cZ(r){let c=dZ(r);if(c&&dh(r)){let f=CX(r);if(f)return f.class}return c}function dZ(r){let c=fN(r.heritageClauses,94);return c&&c.types.length>0?c.types[0]:void 0}function hZ(r){if(dh(r))return DX(r).map(c=>c.class);{let c=fN(r.heritageClauses,117);return c==null?void 0:c.types}}function pZ(r){return iA(r)?fZ(r)||Ci:Yg(r)&&Wa(Dt(cZ(r)),hZ(r))||Ci}function fZ(r){let c=fN(r.heritageClauses,94);return c?c.types:void 0}function fN(r,c){if(r){for(let f of r)if(f.token===c)return f}}function Nbe(r,c){for(;r;){if(r.kind===c)return r;r=r.parent}}function M0(r){return 81<=r&&r<=162}function uR(r){return 126<=r&&r<=162}function _Z(r){return M0(r)&&!uR(r)}function Ibe(r){return 117<=r&&r<=125}function Fbe(r){let c=dT(r);return c!==void 0&&_Z(c)}function Pbe(r){let c=dT(r);return c!==void 0&&M0(c)}function Obe(r){let c=dX(r);return!!c&&!uR(c)}function Mbe(r){return 2<=r&&r<=7}function Rbe(r){if(!r)return 4;let c=0;switch(r.kind){case 259:case 215:case 171:r.asteriskToken&&(c|=1);case 216:Tp(r,512)&&(c|=2);break}return r.body||(c|=4),c}function Bbe(r){switch(r.kind){case 259:case 215:case 216:case 171:return r.body!==void 0&&r.asteriskToken===void 0&&Tp(r,512)}return!1}function R0(r){return Xg(r)||Kb(r)}function cR(r){return qN(r)&&(r.operator===39||r.operator===40)&&Kb(r.operand)}function gZ(r){let c=yT(r);return!!c&&dR(c)}function dR(r){if(!(r.kind===164||r.kind===209))return!1;let c=Fy(r)?NT(r.argumentExpression):r.expression;return!R0(c)&&!cR(c)}function _N(r){switch(r.kind){case 79:case 80:return r.escapedText;case 10:case 8:return Jg(r.text);case 164:let c=r.expression;return R0(c)?Jg(c.text):cR(c)?c.operator===40?Vh(c.operator)+c.operand.text:c.operand.text:void 0;default:return Bn.assertNever(r)}}function hR(r){switch(r.kind){case 79:case 10:case 14:case 8:return!0;default:return!1}}function gN(r){return Wb(r)?Hh(r):r.text}function mZ(r){return Wb(r)?r.escapedText:Jg(r.text)}function jbe(r){return`__@${getSymbolId(r)}@${r.escapedName}`}function Wbe(r,c){return`__#${getSymbolId(r)}@${c}`}function Vbe(r){return ae(r.escapedName,\"__@\")}function Hbe(r){return ae(r.escapedName,\"__#\")}function $be(r){return r.kind===79&&r.escapedText===\"Symbol\"}function yZ(r){return Ja(r)?Hh(r)===\"__proto__\":T_(r)&&r.text===\"__proto__\"}function Yw(r,c){switch(r=o2(r),r.kind){case 228:case 215:if(r.name)return!1;break;case 216:break;default:return!1}return typeof c==\"function\"?c(r):!0}function bZ(r){switch(r.kind){case 299:return!yZ(r.name);case 300:return!!r.objectAssignmentInitializer;case 257:return Ja(r.name)&&!!r.initializer;case 166:return Ja(r.name)&&!!r.initializer&&!r.dotDotDotToken;case 205:return Ja(r.name)&&!!r.initializer&&!r.dotDotDotToken;case 169:return!!r.initializer;case 223:switch(r.operatorToken.kind){case 63:case 76:case 75:case 77:return Ja(r.left)}break;case 274:return!0}return!1}function zbe(r,c){if(!bZ(r))return!1;switch(r.kind){case 299:return Yw(r.initializer,c);case 300:return Yw(r.objectAssignmentInitializer,c);case 257:case 166:case 205:case 169:return Yw(r.initializer,c);case 223:return Yw(r.right,c);case 274:return Yw(r.expression,c)}}function Ube(r){return r.escapedText===\"push\"||r.escapedText===\"unshift\"}function Kbe(r){return mN(r).kind===166}function mN(r){for(;r.kind===205;)r=r.parent.parent;return r}function qbe(r){let c=r.kind;return c===173||c===215||c===259||c===216||c===171||c===174||c===175||c===264||c===308}function ky(r){return Iy(r.pos)||Iy(r.end)}function Gbe(r){return gT(r,tm)||r}function Jbe(r){let c=pR(r),f=r.kind===211&&r.arguments!==void 0;return vZ(r.kind,c,f)}function vZ(r,c,f){switch(r){case 211:return f?0:1;case 221:case 218:case 219:case 217:case 220:case 224:case 226:return 1;case 223:switch(c){case 42:case 63:case 64:case 65:case 67:case 66:case 68:case 69:case 70:case 71:case 72:case 73:case 78:case 74:case 75:case 76:case 77:return 1}}return 0}function Ybe(r){let c=pR(r),f=r.kind===211&&r.arguments!==void 0;return CZ(r.kind,c,f)}function pR(r){return r.kind===223?r.operatorToken.kind:r.kind===221||r.kind===222?r.operator:r.kind}function CZ(r,c,f){switch(r){case 357:return 0;case 227:return 1;case 226:return 2;case 224:return 4;case 223:switch(c){case 27:return 0;case 63:case 64:case 65:case 67:case 66:case 68:case 69:case 70:case 71:case 72:case 73:case 78:case 74:case 75:case 76:case 77:return 3;default:return IT(c)}case 213:case 232:case 221:case 218:case 219:case 217:case 220:return 16;case 222:return 17;case 210:return 18;case 211:return f?19:18;case 212:case 208:case 209:case 233:return 19;case 231:case 235:return 11;case 108:case 106:case 79:case 80:case 104:case 110:case 95:case 8:case 9:case 10:case 206:case 207:case 215:case 216:case 228:case 13:case 14:case 225:case 214:case 229:case 281:case 282:case 285:return 20;default:return-1}}function IT(r){switch(r){case 60:return 4;case 56:return 5;case 55:return 6;case 51:return 7;case 52:return 8;case 50:return 9;case 34:case 35:case 36:case 37:return 10;case 29:case 31:case 32:case 33:case 102:case 101:case 128:case 150:return 11;case 47:case 48:case 49:return 12;case 39:case 40:return 13;case 41:case 43:case 44:return 14;case 42:return 15}return-1}function Xbe(r){return Mi(r,c=>{switch(c.kind){case 291:return!!c.expression;case 11:return!c.containsOnlyTriviaWhiteSpaces;default:return!0}})}function Qbe(){let r=[],c=[],f=new Map,x=!1;return{add:De,lookup:B,getGlobalDiagnostics:ke,getDiagnostics:Be};function B(te){let wn;if(te.file?wn=f.get(te.file.fileName):wn=r,!wn)return;let st=Ea(wn,te,ec,TN);if(st>=0)return wn[st]}function De(te){let wn;te.file?(wn=f.get(te.file.fileName),wn||(wn=[],f.set(te.file.fileName,wn),xp(c,te.file.fileName,Y))):(x&&(x=!1,r=r.slice()),wn=r),xp(wn,te,TN)}function ke(){return x=!0,r}function Be(te){if(te)return f.get(te)||[];let wn=jr(c,st=>f.get(st));return r.length&&wn.unshift(...r),wn}}function Zbe(r){return r.replace(ite,\"\\\\${\")}function DZ(r){return r&&!!(Tte(r)?r.templateFlags:r.head.templateFlags||so(r.templateSpans,c=>!!c.literal.templateFlags))}function wZ(r){return\"\\\\u\"+(\"0000\"+r.toString(16).toUpperCase()).slice(-4)}function eve(r,c,f){if(r.charCodeAt(0)===0){let x=f.charCodeAt(c+r.length);return x>=48&&x<=57?\"\\\\x00\":\"\\\\0\"}return ate.get(r)||wZ(r.charCodeAt(0))}function yN(r,c){let f=c===96?ote:c===39?ste:rte;return r.replace(f,eve)}function bN(r,c){return r=yN(r,c),iB.test(r)?r.replace(iB,f=>wZ(f.charCodeAt(0))):r}function tve(r){return\"&#x\"+r.toString(16).toUpperCase()+\";\"}function nve(r){return r.charCodeAt(0)===0?\"&#0;\":cte.get(r)||tve(r.charCodeAt(0))}function SZ(r,c){let f=c===39?ute:lte;return r.replace(f,nve)}function ive(r){let c=r.length;return c>=2&&r.charCodeAt(0)===r.charCodeAt(c-1)&&rve(r.charCodeAt(0))?r.substring(1,c-1):r}function rve(r){return r===39||r===34||r===96}function xZ(r){let c=r.charCodeAt(0);return c>=97&&c<=122||xe(r,\"-\")||xe(r,\":\")}function fR(r){let c=JC[1];for(let f=JC.length;f<=r;f++)JC.push(JC[f-1]+c);return JC[r]}function UC(){return JC[1].length}function sve(){return xe(he,\"-dev\")||xe(he,\"-insiders\")}function ove(r){var c,f,x,B,De,ke=!1;function Be(Is){let So=M4(Is);So.length>1?(B=B+So.length-1,De=c.length-Is.length+Oi(So),x=De-c.length===0):x=!1}function te(Is){Is&&Is.length&&(x&&(Is=fR(f)+Is,x=!1),c+=Is,Be(Is))}function wn(Is){Is&&(ke=!1),te(Is)}function st(Is){Is&&(ke=!0),te(Is)}function wi(){c=\"\",f=0,x=!0,B=0,De=0,ke=!1}function an(Is){Is!==void 0&&(c+=Is,Be(Is),ke=!1)}function Zn(Is){Is&&Is.length&&wn(Is)}function ar(Is){(!x||Is)&&(c+=r,B++,De=c.length,x=!0,ke=!1)}function ys(){return x?c.length:c.length+r.length}return wi(),{write:wn,rawWrite:an,writeLiteral:Zn,writeLine:ar,increaseIndent:()=>{f++},decreaseIndent:()=>{f--},getIndent:()=>f,getTextPos:()=>c.length,getLine:()=>B,getColumn:()=>x?f*UC():c.length-De,getText:()=>c,isAtStartOfLine:()=>x,hasTrailingComment:()=>ke,hasTrailingWhitespace:()=>!!c.length&&wy(c.charCodeAt(c.length-1)),clear:wi,writeKeyword:wn,writeOperator:wn,writeParameter:wn,writeProperty:wn,writePunctuation:wn,writeSpace:wn,writeStringLiteral:wn,writeSymbol:(Is,So)=>wn(Is),writeTrailingSemicolon:wn,writeComment:st,getTextPosWithWriteLine:ys}}function ave(r){let c=!1;function f(){c&&(r.writeTrailingSemicolon(\";\"),c=!1)}return Object.assign(Object.assign({},r),{},{writeTrailingSemicolon(){c=!0},writeLiteral(x){f(),r.writeLiteral(x)},writeStringLiteral(x){f(),r.writeStringLiteral(x)},writeSymbol(x,B){f(),r.writeSymbol(x,B)},writePunctuation(x){f(),r.writePunctuation(x)},writeKeyword(x){f(),r.writeKeyword(x)},writeOperator(x){f(),r.writeOperator(x)},writeParameter(x){f(),r.writeParameter(x)},writeSpace(x){f(),r.writeSpace(x)},writeProperty(x){f(),r.writeProperty(x)},writeComment(x){f(),r.writeComment(x)},writeLine(){f(),r.writeLine()},increaseIndent(){f(),r.increaseIndent()},decreaseIndent(){f(),r.decreaseIndent()}})}function _R(r){return r.useCaseSensitiveFileNames?r.useCaseSensitiveFileNames():!1}function EZ(r){return at(_R(r))}function TZ(r,c,f){return c.moduleName||gR(r,c.fileName,f&&f.fileName)}function AZ(r,c){return r.getCanonicalFileName(Cy(c,r.getCurrentDirectory()))}function lve(r,c,f){let x=c.getExternalModuleFileFromDeclaration(f);if(!x||x.isDeclarationFile)return;let B=tR(f);if(!(B&&Xg(B)&&!PC(B.text)&&AZ(r,x.path).indexOf(AZ(r,RC(r.getCommonSourceDirectory())))===-1))return TZ(r,x)}function gR(r,c,f){let x=te=>r.getCanonicalFileName(te),B=Bm(f?by(f):r.getCommonSourceDirectory(),r.getCurrentDirectory(),x),De=Cy(c,r.getCurrentDirectory()),ke=HO(B,De,B,x,!1),Be=BT(ke);return f?jO(Be):Be}function uve(r,c,f){let x=c.getCompilerOptions(),B;return x.outDir?B=BT(NZ(r,c,x.outDir)):B=BT(r),B+f}function cve(r,c){return kZ(r,c.getCompilerOptions(),c.getCurrentDirectory(),c.getCommonSourceDirectory(),f=>c.getCanonicalFileName(f))}function kZ(r,c,f,x,B){let De=c.declarationDir||c.outDir,ke=De?bR(r,De,f,x,B):r,Be=LZ(ke);return BT(ke)+Be}function LZ(r){return N0(r,[\".mjs\",\".mts\"])?\".d.mts\":N0(r,[\".cjs\",\".cts\"])?\".d.cts\":N0(r,[\".json\"])?\".d.json.ts\":\".d.ts\"}function dve(r){return N0(r,[\".d.mts\",\".mjs\",\".mts\"])?[\".mts\",\".mjs\"]:N0(r,[\".d.cts\",\".cjs\",\".cts\"])?[\".cts\",\".cjs\"]:N0(r,[\".d.json.ts\"])?[\".json\"]:[\".tsx\",\".ts\",\".jsx\",\".js\"]}function mR(r){return r.outFile||r.out}function hve(r,c){var f,x;if(r.paths)return(x=r.baseUrl)!=null?x:Bn.checkDefined(r.pathsBasePath||((f=c.getCurrentDirectory)==null?void 0:f.call(c)),\"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.\")}function pve(r,c,f){let x=r.getCompilerOptions();if(mR(x)){let B=em(x),De=x.emitDeclarationOnly||B===2||B===4;return Mi(r.getSourceFiles(),ke=>(De||!c2(ke))&&yR(ke,r,f))}else{let B=c===void 0?r.getSourceFiles():[c];return Mi(B,De=>yR(De,r,f))}}function yR(r,c,f){return!(c.getCompilerOptions().noEmitForJsFiles&&JM(r))&&!r.isDeclarationFile&&!c.isSourceFileFromExternalLibrary(r)&&(f||!(MM(r)&&c.getResolvedProjectReferenceToRedirect(r.fileName))&&!c.isSourceOfProjectReferenceRedirect(r.fileName))}function NZ(r,c,f){return bR(r,f,c.getCurrentDirectory(),c.getCommonSourceDirectory(),x=>c.getCanonicalFileName(x))}function bR(r,c,f,x,B){let De=Cy(r,f);return De=B(De).indexOf(B(x))===0?De.substring(x.length):De,Yp(c,De)}function fve(r,c,f,x,B,De,ke){r.writeFile(f,x,B,Be=>{c.add(MT(ns.Could_not_write_file_0_Colon_1,f,Be))},De,ke)}function IZ(r,c,f){if(r.length>Mm(r)&&!f(r)){let x=by(r);IZ(x,c,f),c(r)}}function _ve(r,c,f,x,B,De){try{x(r,c,f)}catch{IZ(by(rg(r)),B,De),x(r,c,f)}}function gve(r,c){let f=Dy(r);return Pw(f,c)}function Ly(r,c){return Pw(r,c)}function FZ(r){return vn(r.members,c=>aS(c)&&ET(c.body))}function vR(r){if(r&&r.parameters.length>0){let c=r.parameters.length===2&&FT(r.parameters[0]);return r.parameters[c?1:0]}}function mve(r){let c=vR(r);return c&&c.type}function PZ(r){if(r.parameters.length&&!aA(r)){let c=r.parameters[0];if(FT(c))return c}}function FT(r){return vN(r.name)}function vN(r){return!!r&&r.kind===79&&OZ(r)}function yve(r){if(!vN(r))return!1;for(;oS(r.parent)&&r.parent.left===r;)r=r.parent;return r.parent.kind===183}function OZ(r){return r.escapedText===\"this\"}function CR(r,c){let f,x,B,De;return gZ(c)?(f=c,c.kind===174?B=c:c.kind===175?De=c:Bn.fail(\"Accessor has wrong kind\")):S(r,ke=>{if(Q4(ke)&&SR(ke)===SR(c)){let Be=_N(ke.name),te=_N(c.name);Be===te&&(f?x||(x=ke):f=ke,ke.kind===174&&!B&&(B=ke),ke.kind===175&&!De&&(De=ke))}}),{firstAccessor:f,secondAccessor:x,getAccessor:B,setAccessor:De}}function DR(r){if(!dh(r)&&n2(r))return;let c=r.type;return c||!dh(r)?c:oM(r)?r.typeExpression&&r.typeExpression.type:J4(r)}function bve(r){return r.type}function vve(r){return aA(r)?r.type&&r.type.typeExpression&&r.type.typeExpression.type:r.type||(dh(r)?LX(r):void 0)}function MZ(r){return ji(bT(r),c=>Cve(c)?c.typeParameters:void 0)}function Cve(r){return s2(r)&&!(r.parent.kind===323&&(r.parent.tags.some(kT)||r.parent.tags.some(JB)))}function Dve(r){let c=vR(r);return c&&DR(c)}function RZ(r,c,f,x){BZ(r,c,f.pos,x)}function BZ(r,c,f,x){x&&x.length&&f!==x[0].pos&&Ly(r,f)!==Ly(r,x[0].pos)&&c.writeLine()}function wve(r,c,f,x){f!==x&&Ly(r,f)!==Ly(r,x)&&c.writeLine()}function jZ(r,c,f,x,B,De,ke,Be){if(x&&x.length>0){B&&f.writeSpace(\" \");let te=!1;for(let wn of x)te&&(f.writeSpace(\" \"),te=!1),Be(r,c,f,wn.pos,wn.end,ke),wn.hasTrailingNewLine?f.writeLine():te=!0;te&&De&&f.writeSpace(\" \")}}function Sve(r,c,f,x,B,De,ke){let Be,te;if(ke?B.pos===0&&(Be=Mi(jC(r,B.pos),wn)):Be=jC(r,B.pos),Be){let st=[],wi;for(let an of Be){if(wi){let Zn=Ly(c,wi.end);if(Ly(c,an.pos)>=Zn+2)break}st.push(an),wi=an}if(st.length){let an=Ly(c,Oi(st).end);Ly(c,ch(r,B.pos))>=an+2&&(RZ(c,f,B,Be),jZ(r,c,f,st,!1,!0,De,x),te={nodePos:B.pos,detachedCommentEndPos:Oi(st).end})}}return te;function wn(st){return gQ(r,st.pos)}}function xve(r,c,f,x,B,De){if(r.charCodeAt(x+1)===42){let ke=KO(c,x),Be=c.length,te;for(let wn=x,st=ke.line;wn<B;st++){let wi=st+1===Be?r.length+1:c[st+1];if(wn!==x){te===void 0&&(te=WZ(r,c[ke.line],x));let an=f.getIndent()*UC()-te+WZ(r,wn,wi);if(an>0){let Zn=an%UC(),ar=fR((an-Zn)/UC());for(f.rawWrite(ar);Zn;)f.rawWrite(\" \"),Zn--}else f.rawWrite(\"\")}Eve(r,B,f,De,wn,wi),wn=wi}}else f.writeComment(r.substring(x,B))}function Eve(r,c,f,x,B,De){let ke=Math.min(c,De-1),Be=Fr(r.substring(B,ke));Be?(f.writeComment(Be),ke!==c&&f.writeLine()):f.rawWrite(x)}function WZ(r,c,f){let x=0;for(;c<f&&Mw(r.charCodeAt(c));c++)r.charCodeAt(c)===9?x+=UC()-x%UC():x++;return x}function Tve(r){return DN(r)!==0}function Ave(r){return TR(r)!==0}function wR(r,c){return!!zZ(r,c)}function Tp(r,c){return!!UZ(r,c)}function SR(r){return Vb(r)&&CN(r)||JT(r)}function CN(r){return Tp(r,32)}function kve(r){return wR(r,16384)}function VZ(r){return Tp(r,256)}function HZ(r){return Tp(r,2)}function $Z(r){return Tp(r,128)}function xR(r){return wR(r,64)}function PT(r){return Tp(r,131072)}function zZ(r,c){return DN(r)&c}function UZ(r,c){return TR(r)&c}function ER(r,c,f){return r.kind>=0&&r.kind<=162?0:(r.modifierFlagsCache&536870912||(r.modifierFlagsCache=AR(r)|536870912),c&&!(r.modifierFlagsCache&4096)&&(f||dh(r))&&r.parent&&(r.modifierFlagsCache|=qZ(r)|4096),r.modifierFlagsCache&-536875009)}function DN(r){return ER(r,!0)}function KZ(r){return ER(r,!0,!0)}function TR(r){return ER(r,!1)}function qZ(r){let c=0;return r.parent&&!Gb(r)&&(dh(r)&&(wX(r)&&(c|=4),SX(r)&&(c|=8),xX(r)&&(c|=16),EX(r)&&(c|=64),TX(r)&&(c|=16384)),AX(r)&&(c|=8192)),c}function GZ(r){return AR(r)|qZ(r)}function AR(r){let c=mS(r)?x_(r.modifiers):0;return(r.flags&4||r.kind===79&&r.flags&2048)&&(c|=1),c}function x_(r){let c=0;if(r)for(let f of r)c|=kR(f.kind);return c}function kR(r){switch(r){case 124:return 32;case 123:return 4;case 122:return 16;case 121:return 8;case 126:return 256;case 127:return 128;case 93:return 1;case 136:return 2;case 85:return 2048;case 88:return 1024;case 132:return 512;case 146:return 64;case 161:return 16384;case 101:return 32768;case 145:return 65536;case 167:return 131072}return 0}function JZ(r){return r===56||r===55}function Lve(r){return JZ(r)||r===53}function wN(r){return r===75||r===76||r===77}function Nve(r){return zc(r)&&wN(r.operatorToken.kind)}function YZ(r){return JZ(r)||r===60}function Ive(r){return zc(r)&&YZ(r.operatorToken.kind)}function Xw(r){return r>=63&&r<=78}function XZ(r){let c=QZ(r);return c&&!c.isImplements?c.class:void 0}function QZ(r){if(NB(r)){if(sA(r.parent)&&Yg(r.parent.parent))return{class:r.parent.parent,isImplements:r.parent.token===117};if(t6(r.parent)){let c=rR(r.parent);if(c&&Yg(c))return{class:c,isImplements:!1}}}}function Ny(r,c){return zc(r)&&(c?r.operatorToken.kind===63:Xw(r.operatorToken.kind))&&VC(r.left)}function Fve(r){return Ny(r.parent)&&r.parent.left===r}function Pve(r){if(Ny(r,!0)){let c=r.left.kind;return c===207||c===206}return!1}function LR(r){return XZ(r)!==void 0}function $b(r){return r.kind===79||ZZ(r)}function Ove(r){switch(r.kind){case 79:return r;case 163:do r=r.left;while(r.kind!==79);return r;case 208:do r=r.expression;while(r.kind!==79);return r}}function NR(r){return r.kind===79||r.kind===108||r.kind===106||r.kind===233||r.kind===208&&NR(r.expression)||r.kind===214&&NR(r.expression)}function ZZ(r){return Sf(r)&&Ja(r.name)&&$b(r.expression)}function IR(r){if(Sf(r)){let c=IR(r.expression);if(c!==void 0)return c+\".\"+Ey(r.name)}else if(Fy(r)){let c=IR(r.expression);if(c!==void 0&&DT(r.argumentExpression))return c+\".\"+_N(r.argumentExpression)}else if(Ja(r))return mT(r.escapedText)}function OT(r){return Gw(r)&&Hb(r)===\"prototype\"}function Mve(r){return r.parent.kind===163&&r.parent.right===r||r.parent.kind===208&&r.parent.name===r}function eee(r){return Sf(r.parent)&&r.parent.name===r||Fy(r.parent)&&r.parent.argumentExpression===r}function Rve(r){return oS(r.parent)&&r.parent.right===r||Sf(r.parent)&&r.parent.name===r||_S(r.parent)&&r.parent.right===r}function Bve(r){return r.kind===207&&r.properties.length===0}function jve(r){return r.kind===206&&r.elements.length===0}function Wve(r){if(!(!Vve(r)||!r.declarations)){for(let c of r.declarations)if(c.localSymbol)return c.localSymbol}}function Vve(r){return r&&Se(r.declarations)>0&&Tp(r.declarations[0],1024)}function Hve(r){return vn(_te,c=>yy(r,c))}function $ve(r){let c=[],f=r.length;for(let x=0;x<f;x++){let B=r.charCodeAt(x);B<128?c.push(B):B<2048?(c.push(B>>6|192),c.push(B&63|128)):B<65536?(c.push(B>>12|224),c.push(B>>6&63|128),c.push(B&63|128)):B<131072?(c.push(B>>18|240),c.push(B>>12&63|128),c.push(B>>6&63|128),c.push(B&63|128)):Bn.assert(!1,\"Unexpected code point\")}return c}function tee(r){let c=\"\",f=$ve(r),x=0,B=f.length,De,ke,Be,te;for(;x<B;)De=f[x]>>2,ke=(f[x]&3)<<4|f[x+1]>>4,Be=(f[x+1]&15)<<2|f[x+2]>>6,te=f[x+2]&63,x+1>=B?Be=te=64:x+2>=B&&(te=64),c+=j0.charAt(De)+j0.charAt(ke)+j0.charAt(Be)+j0.charAt(te),x+=3;return c}function zve(r){let c=\"\",f=0,x=r.length;for(;f<x;){let B=r[f];if(B<128)c+=String.fromCharCode(B),f++;else if((B&192)===192){let De=B&63;f++;let ke=r[f];for(;(ke&192)===128;)De=De<<6|ke&63,f++,ke=r[f];c+=String.fromCharCode(De)}else c+=String.fromCharCode(B),f++}return c}function Uve(r,c){return r&&r.base64encode?r.base64encode(c):tee(c)}function Kve(r,c){if(r&&r.base64decode)return r.base64decode(c);let f=c.length,x=[],B=0;for(;B<f&&c.charCodeAt(B)!==j0.charCodeAt(64);){let De=j0.indexOf(c[B]),ke=j0.indexOf(c[B+1]),Be=j0.indexOf(c[B+2]),te=j0.indexOf(c[B+3]),wn=(De&63)<<2|ke>>4&3,st=(ke&15)<<4|Be>>2&15,wi=(Be&3)<<6|te&63;st===0&&Be!==0?x.push(wn):wi===0&&te!==0?x.push(wn,st):x.push(wn,st,wi),B+=4}return zve(x)}function nee(r,c){let f=nd(c)?c:c.readFile(r);if(!f)return;let x=parseConfigFileTextToJson(r,f);return x.error?void 0:x.config}function qve(r,c){return nee(r,c)||{}}function iee(r,c){return!c.directoryExists||c.directoryExists(r)}function ree(r){switch(r.newLine){case 0:return dte;case 1:case void 0:return hte}}function SN(r){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:r;return Bn.assert(c>=r||c===-1),{pos:r,end:c}}function Gve(r,c){return SN(r.pos,c)}function xN(r,c){return SN(c,r.end)}function see(r){let c=mS(r)?Ut(r.modifiers,KT):void 0;return c&&!Iy(c.end)?xN(r,c.end):r}function Jve(r){if(QC(r)||GT(r))return xN(r,r.name.pos);let c=mS(r)?yi(r.modifiers):void 0;return c&&!Iy(c.end)?xN(r,c.end):see(r)}function Yve(r){return r.pos===r.end}function Xve(r,c){return SN(r,r+Vh(c).length)}function Qve(r,c){return oee(r,r,c)}function Zve(r,c,f){return Qw(Zw(r,f,!1),Zw(c,f,!1),f)}function eCe(r,c,f){return Qw(r.end,c.end,f)}function oee(r,c,f){return Qw(Zw(r,f,!1),c.end,f)}function tCe(r,c,f){return Qw(r.end,Zw(c,f,!1),f)}function nCe(r,c,f,x){let B=Zw(c,f,x);return Ow(f,r.end,B)}function iCe(r,c,f){return Ow(f,r.end,c.end)}function rCe(r,c){return!Qw(r.pos,r.end,c)}function Qw(r,c,f){return Ow(f,r,c)===0}function Zw(r,c,f){return Iy(r.pos)?-1:ch(c.text,r.pos,!1,f)}function sCe(r,c,f,x){let B=ch(f.text,r,!1,x),De=aCe(B,c,f);return Ow(f,De!=null?De:c,B)}function oCe(r,c,f,x){let B=ch(f.text,r,!1,x);return Ow(f,r,Math.min(c,B))}function aCe(r){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,f=arguments.length>2?arguments[2]:void 0;for(;r-- >c;)if(!wy(f.text.charCodeAt(r)))return r}function lCe(r){let c=gT(r);if(c)switch(c.parent.kind){case 263:case 264:return c===c.parent.name}return!1}function uCe(r){return Mi(r.declarations,aee)}function aee(r){return Vm(r)&&r.initializer!==void 0}function cCe(r){return r.watch&&Yo(r,\"watch\")}function dCe(r){r.close()}function lee(r){return r.flags&33554432?r.links.checkFlags:0}function hCe(r){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(r.valueDeclaration){let f=c&&r.declarations&&vn(r.declarations,lS)||r.flags&32768&&vn(r.declarations,YT)||r.valueDeclaration,x=V4(f);return r.parent&&r.parent.flags&32?x:x&-29}if(lee(r)&6){let f=r.links.checkFlags,x=f&1024?8:f&256?4:16,B=f&2048?32:0;return x|B}return r.flags&4194304?36:0}function pCe(r,c){return r.flags&2097152?c.getAliasedSymbol(r):r}function fCe(r){return r.exportSymbol?r.exportSymbol.flags|r.flags:r.flags}function _Ce(r){return KC(r)===1}function gCe(r){return KC(r)!==0}function KC(r){let{parent:c}=r;if(!c)return 0;switch(c.kind){case 214:return KC(c);case 222:case 221:let{operator:x}=c;return x===45||x===46?f():0;case 223:let{left:B,operatorToken:De}=c;return B===r&&Xw(De.kind)?De.kind===63?1:f():0;case 208:return c.name!==r?0:KC(c);case 299:{let ke=KC(c.parent);return r===c.name?mCe(ke):ke}case 300:return r===c.objectAssignmentInitializer?0:KC(c.parent);case 206:return KC(c);default:return 0}function f(){return c.parent&&oR(c.parent).kind===241?1:2}}function mCe(r){switch(r){case 0:return 1;case 1:return 0;case 2:return 2;default:return Bn.assertNever(r)}}function uee(r,c){if(!r||!c||Object.keys(r).length!==Object.keys(c).length)return!1;for(let f in r)if(typeof r[f]==\"object\"){if(!uee(r[f],c[f]))return!1}else if(typeof r[f]!=\"function\"&&r[f]!==c[f])return!1;return!0}function yCe(r,c){r.forEach(c),r.clear()}function cee(r,c,f){let{onDeleteValue:x,onExistingValue:B}=f;r.forEach((De,ke)=>{let Be=c.get(ke);Be===void 0?(r.delete(ke),x(De,ke)):B&&B(De,Be,ke)})}function bCe(r,c,f){cee(r,c,f);let{createNewValue:x}=f;c.forEach((B,De)=>{r.has(De)||r.set(De,x(De,B))})}function vCe(r){if(r.flags&32){let c=dee(r);return!!c&&Tp(c,256)}return!1}function dee(r){var c;return(c=r.declarations)==null?void 0:c.find(Yg)}function EN(r){return r.flags&3899393?r.objectFlags:0}function CCe(r,c){return!!RY(r,f=>c(f)?!0:void 0)}function DCe(r){return!!r&&!!r.declarations&&!!r.declarations[0]&&MB(r.declarations[0])}function wCe(r){let{moduleSpecifier:c}=r;return T_(c)?c.text:iN(c)}function hee(r){let c;return Jd(r,f=>{ET(f)&&(c=f)},f=>{for(let x=f.length-1;x>=0;x--)if(ET(f[x])){c=f[x];break}}),c}function SCe(r,c){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return r.has(c)?!1:(r.set(c,f),!0)}function xCe(r){return Yg(r)||iA(r)||zN(r)}function pee(r){return r>=179&&r<=202||r===131||r===157||r===148||r===160||r===149||r===134||r===152||r===153||r===114||r===155||r===144||r===139||r===230||r===315||r===316||r===317||r===318||r===319||r===320||r===321}function qC(r){return r.kind===208||r.kind===209}function ECe(r){return r.kind===208?r.name:(Bn.assert(r.kind===209),r.argumentExpression)}function TCe(r){switch(r.kind){case\"text\":case\"internal\":return!0;default:return!1}}function ACe(r){return r.kind===272||r.kind===276}function FR(r){for(;qC(r);)r=r.expression;return r}function kCe(r,c){if(qC(r.parent)&&eee(r))return f(r.parent);function f(x){if(x.kind===208){let B=c(x.name);if(B!==void 0)return B}else if(x.kind===209)if(Ja(x.argumentExpression)||Xg(x.argumentExpression)){let B=c(x.argumentExpression);if(B!==void 0)return B}else return;if(qC(x.expression))return f(x.expression);if(Ja(x.expression))return c(x.expression)}}function LCe(r,c){for(;;){switch(r.kind){case 222:r=r.operand;continue;case 223:r=r.left;continue;case 224:r=r.condition;continue;case 212:r=r.tag;continue;case 210:if(c)return r;case 231:case 209:case 208:case 232:case 356:case 235:r=r.expression;continue}return r}}function NCe(r,c){this.flags=r,this.escapedName=c,this.declarations=void 0,this.valueDeclaration=void 0,this.id=0,this.mergeId=0,this.parent=void 0,this.members=void 0,this.exports=void 0,this.exportSymbol=void 0,this.constEnumOnlyModule=void 0,this.isReferenced=void 0,this.isAssigned=void 0,this.links=void 0}function ICe(r,c){this.flags=c,(Bn.isDebugging||ur)&&(this.checker=r)}function FCe(r,c){this.flags=c,Bn.isDebugging&&(this.checker=r)}function PR(r,c,f){this.pos=c,this.end=f,this.kind=r,this.id=0,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function PCe(r,c,f){this.pos=c,this.end=f,this.kind=r,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.emitNode=void 0}function OCe(r,c,f){this.pos=c,this.end=f,this.kind=r,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function MCe(r,c,f){this.fileName=r,this.text=c,this.skipTrivia=f||(x=>x)}function RCe(r){rB.push(r),r($c)}function fee(r){Object.assign($c,r),S(rB,c=>c($c))}function eS(r,c){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return r.replace(/{(\\d+)}/g,(x,B)=>\"\"+Bn.checkDefined(c[+B+f]))}function _ee(r){WT=r}function gee(r){!WT&&r&&(WT=r())}function tS(r){return WT&&WT[r.key]||r.message}function GC(r,c,f,x){IM(void 0,c,f);let B=tS(x);return arguments.length>4&&(B=eS(B,arguments,4)),{file:void 0,start:c,length:f,messageText:B,category:x.category,code:x.code,reportsUnnecessary:x.reportsUnnecessary,fileName:r}}function BCe(r){return r.file===void 0&&r.start!==void 0&&r.length!==void 0&&typeof r.fileName==\"string\"}function mee(r,c){let f=c.fileName||\"\",x=c.text.length;Bn.assertEqual(r.fileName,f),Bn.assertLessThanOrEqual(r.start,x),Bn.assertLessThanOrEqual(r.start+r.length,x);let B={file:c,start:r.start,length:r.length,messageText:r.messageText,category:r.category,code:r.code,reportsUnnecessary:r.reportsUnnecessary};if(r.relatedInformation){B.relatedInformation=[];for(let De of r.relatedInformation)BCe(De)&&De.fileName===f?(Bn.assertLessThanOrEqual(De.start,x),Bn.assertLessThanOrEqual(De.start+De.length,x),B.relatedInformation.push(mee(De,c))):B.relatedInformation.push(De)}return B}function zb(r,c){let f=[];for(let x of r)f.push(mee(x,c));return f}function OR(r,c,f,x){IM(r,c,f);let B=tS(x);return arguments.length>4&&(B=eS(B,arguments,4)),{file:r,start:c,length:f,messageText:B,category:x.category,code:x.code,reportsUnnecessary:x.reportsUnnecessary,reportsDeprecated:x.reportsDeprecated}}function jCe(r,c){let f=tS(c);return arguments.length>2&&(f=eS(f,arguments,2)),f}function MT(r){let c=tS(r);return arguments.length>1&&(c=eS(c,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:c,category:r.category,code:r.code,reportsUnnecessary:r.reportsUnnecessary,reportsDeprecated:r.reportsDeprecated}}function WCe(r,c){return{file:void 0,start:void 0,length:void 0,code:r.code,category:r.category,messageText:r.next?r:r.messageText,relatedInformation:c}}function VCe(r,c){let f=tS(c);return arguments.length>2&&(f=eS(f,arguments,2)),{messageText:f,category:c.category,code:c.code,next:r===void 0||Array.isArray(r)?r:[r]}}function HCe(r,c){let f=r;for(;f.next;)f=f.next[0];f.next=[c]}function yee(r){return r.file?r.file.path:void 0}function MR(r,c){return TN(r,c)||$Ce(r,c)||0}function TN(r,c){return Y(yee(r),yee(c))||rd(r.start,c.start)||rd(r.length,c.length)||rd(r.code,c.code)||bee(r.messageText,c.messageText)||0}function $Ce(r,c){return!r.relatedInformation&&!c.relatedInformation?0:r.relatedInformation&&c.relatedInformation?rd(r.relatedInformation.length,c.relatedInformation.length)||S(r.relatedInformation,(f,x)=>{let B=c.relatedInformation[x];return MR(f,B)})||0:r.relatedInformation?-1:1}function bee(r,c){if(typeof r==\"string\"&&typeof c==\"string\")return Y(r,c);if(typeof r==\"string\")return-1;if(typeof c==\"string\")return 1;let f=Y(r.messageText,c.messageText);if(f)return f;if(!r.next&&!c.next)return 0;if(!r.next)return-1;if(!c.next)return 1;let x=Math.min(r.next.length,c.next.length);for(let B=0;B<x;B++)if(f=bee(r.next[B],c.next[B]),f)return f;return r.next.length<c.next.length?-1:r.next.length>c.next.length?1:0}function RR(r){return r===4||r===2||r===1||r===6?1:0}function vee(r){if(r.transformFlags&2)return sQ(r)||QN(r)?r:Jd(r,vee)}function zCe(r){return r.isDeclarationFile?void 0:vee(r)}function UCe(r){return(r.impliedNodeFormat===99||N0(r.fileName,[\".cjs\",\".cts\",\".mjs\",\".mts\"]))&&!r.isDeclarationFile?!0:void 0}function Cee(r){switch(Dee(r)){case 3:return x=>{x.externalModuleIndicator=cA(x)||!x.isDeclarationFile||void 0};case 1:return x=>{x.externalModuleIndicator=cA(x)};case 2:let c=[cA];(r.jsx===4||r.jsx===5)&&c.push(zCe),c.push(UCe);let f=Fe(...c);return x=>void(x.externalModuleIndicator=f(x))}}function AN(r){var c;return(c=r.target)!=null?c:r.module===100&&9||r.module===199&&99||1}function em(r){return typeof r.module==\"number\"?r.module:AN(r)>=2?5:1}function KCe(r){return r>=5&&r<=99}function RT(r){let c=r.moduleResolution;if(c===void 0)switch(em(r)){case 1:c=2;break;case 100:c=3;break;case 199:c=99;break;default:c=1;break}return c}function Dee(r){return r.moduleDetection||(em(r)===100||em(r)===199?3:2)}function qCe(r){switch(em(r)){case 1:case 2:case 5:case 6:case 7:case 99:case 100:case 199:return!0;default:return!1}}function kN(r){return!!(r.isolatedModules||r.verbatimModuleSyntax)}function GCe(r){return r.verbatimModuleSyntax||r.isolatedModules&&r.preserveValueImports}function JCe(r){return r.allowUnreachableCode===!1}function YCe(r){return r.allowUnusedLabels===!1}function XCe(r){return!!(WR(r)&&r.declarationMap)}function BR(r){if(r.esModuleInterop!==void 0)return r.esModuleInterop;switch(em(r)){case 100:case 199:return!0}}function QCe(r){return r.allowSyntheticDefaultImports!==void 0?r.allowSyntheticDefaultImports:BR(r)||em(r)===4||RT(r)===100}function jR(r){return r>=3&&r<=99||r===100}function ZCe(r){let c=RT(r);if(!jR(c))return!1;if(r.resolvePackageJsonExports!==void 0)return r.resolvePackageJsonExports;switch(c){case 3:case 99:case 100:return!0}return!1}function e2e(r){let c=RT(r);if(!jR(c))return!1;if(r.resolvePackageJsonExports!==void 0)return r.resolvePackageJsonExports;switch(c){case 3:case 99:case 100:return!0}return!1}function wee(r){return r.resolveJsonModule!==void 0?r.resolveJsonModule:RT(r)===100}function WR(r){return!!(r.declaration||r.composite)}function t2e(r){return!!(r.preserveConstEnums||kN(r))}function n2e(r){return!!(r.incremental||r.composite)}function VR(r,c){return r[c]===void 0?!!r.strict:!!r[c]}function See(r){return r.allowJs===void 0?!!r.checkJs:r.allowJs}function i2e(r){return r.useDefineForClassFields===void 0?AN(r)>=9:r.useDefineForClassFields}function r2e(r,c){return Hw(c,r,semanticDiagnosticsOptionDeclarations)}function s2e(r,c){return Hw(c,r,affectsEmitOptionDeclarations)}function o2e(r,c){return Hw(c,r,affectsDeclarationPathOptionDeclarations)}function HR(r,c){return c.strictFlag?VR(r,c.name):r[c.name]}function a2e(r){let c=r.jsx;return c===2||c===4||c===5}function l2e(r,c){let f=c==null?void 0:c.pragmas.get(\"jsximportsource\"),x=fu(f)?f[f.length-1]:f;return r.jsx===4||r.jsx===5||r.jsxImportSource||x?(x==null?void 0:x.arguments.factory)||r.jsxImportSource||\"react\":void 0}function u2e(r,c){return r?`${r}/${c.jsx===5?\"jsx-dev-runtime\":\"jsx-runtime\"}`:void 0}function c2e(r){let c=!1;for(let f=0;f<r.length;f++)if(r.charCodeAt(f)===42)if(!c)c=!0;else return!1;return!0}function d2e(r,c){let f,x,B,De=!1;return{getSymlinkedFiles:()=>B,getSymlinkedDirectories:()=>f,getSymlinkedDirectoriesByRealpath:()=>x,setSymlinkedFile:(Be,te)=>(B||(B=new Map)).set(Be,te),setSymlinkedDirectory:(Be,te)=>{let wn=Bm(Be,r,c);$ee(wn)||(wn=RC(wn),te!==!1&&!(f!=null&&f.has(wn))&&(x||(x=ao())).add(RC(te.realPath),Be),(f||(f=new Map)).set(wn,te))},setSymlinksFromResolutions(Be,te){var wn,st;Bn.assert(!De),De=!0;for(let wi of Be)(wn=wi.resolvedModules)==null||wn.forEach(an=>ke(this,an.resolvedModule)),(st=wi.resolvedTypeReferenceDirectiveNames)==null||st.forEach(an=>ke(this,an.resolvedTypeReferenceDirective));te.forEach(wi=>ke(this,wi.resolvedTypeReferenceDirective))},hasProcessedResolutions:()=>De};function ke(Be,te){if(!te||!te.originalPath||!te.resolvedFileName)return;let{resolvedFileName:wn,originalPath:st}=te;Be.setSymlinkedFile(Bm(st,r,c),wn);let[wi,an]=h2e(wn,st,r,c)||Ci;wi&&an&&Be.setSymlinkedDirectory(an,{real:wi,realPath:Bm(wi,r,c)})}}function h2e(r,c,f,x){let B=Rm(Cy(r,f)),De=Rm(Cy(c,f)),ke=!1;for(;B.length>=2&&De.length>=2&&!xee(B[B.length-2],x)&&!xee(De[De.length-2],x)&&x(B[B.length-1])===x(De[De.length-1]);)B.pop(),De.pop(),ke=!0;return ke?[OC(B),OC(De)]:void 0}function xee(r,c){return r!==void 0&&(c(r)===\"node_modules\"||ae(r,\"@\"))}function p2e(r){return MO(r.charCodeAt(0))?r.slice(1):void 0}function f2e(r,c,f){let x=J(r,c,f);return x===void 0?void 0:p2e(x)}function _2e(r){return r.replace(MN,g2e)}function g2e(r){return\"\\\\\"+r}function LN(r,c,f){let x=$R(r,c,f);return!x||!x.length?void 0:`^(${x.map(B=>`(${B})`).join(\"|\")})${f===\"exclude\"?\"($|/)\":\"$\"}`}function $R(r,c,f){if(!(r===void 0||r.length===0))return ji(r,x=>x&&Tee(x,c,f,uB[f]))}function Eee(r){return!/[.*?]/.test(r)}function m2e(r,c,f){let x=r&&Tee(r,c,f,uB[f]);return x&&`^(${x})${f===\"exclude\"?\"($|/)\":\"$\"}`}function Tee(r,c,f,x){let{singleAsteriskRegexFragment:B,doubleAsteriskRegexFragment:De,replaceWildcardCharacter:ke}=x,Be=\"\",te=!1,wn=O4(r,c),st=Oi(wn);if(f!==\"exclude\"&&st===\"**\")return;wn[0]=Iw(wn[0]),Eee(st)&&wn.push(\"**\",\"*\");let wi=0;for(let an of wn){if(an===\"**\")Be+=De;else if(f===\"directories\"&&(Be+=\"(\",wi++),te&&(Be+=w_),f!==\"exclude\"){let Zn=\"\";an.charCodeAt(0)===42?(Zn+=\"([^./]\"+B+\")?\",an=an.substr(1)):an.charCodeAt(0)===63&&(Zn+=\"[^./]\",an=an.substr(1)),Zn+=an.replace(MN,ke),Zn!==an&&(Be+=RN),Be+=Zn}else Be+=an.replace(MN,ke);te=!0}for(;wi>0;)Be+=\")?\",wi--;return Be}function zR(r,c){return r===\"*\"?c:r===\"?\"?\"[^/]\":\"\\\\\"+r}function Aee(r,c,f,x,B){r=rg(r),B=rg(B);let De=Yp(B,r);return{includeFilePatterns:is($R(f,De,\"files\"),ke=>`^${ke}$`),includeFilePattern:LN(f,De,\"files\"),includeDirectoryPattern:LN(f,De,\"directories\"),excludePattern:LN(c,De,\"exclude\"),basePaths:b2e(r,f,x)}}function NN(r,c){return new RegExp(r,c?\"\":\"i\")}function y2e(r,c,f,x,B,De,ke,Be,te){r=rg(r),De=rg(De);let wn=Aee(r,f,x,B,De),st=wn.includeFilePatterns&&wn.includeFilePatterns.map(So=>NN(So,B)),wi=wn.includeDirectoryPattern&&NN(wn.includeDirectoryPattern,B),an=wn.excludePattern&&NN(wn.excludePattern,B),Zn=st?st.map(()=>[]):[[]],ar=new Map,ys=at(B);for(let So of wn.basePaths)Is(So,Yp(De,So),ke);return Lo(Zn);function Is(So,Ws,_r){let po=ys(te(Ws));if(ar.has(po))return;ar.set(po,!0);let{files:Na,directories:wu}=Be(So);for(let Tl of W(Na,Y)){let Wu=Yp(So,Tl),hc=Yp(Ws,Tl);if(!(c&&!N0(Wu,c))&&!(an&&an.test(hc)))if(!st)Zn[0].push(Wu);else{let xf=In(st,rp=>rp.test(hc));xf!==-1&&Zn[xf].push(Wu)}}if(!(_r!==void 0&&(_r--,_r===0)))for(let Tl of W(wu,Y)){let Wu=Yp(So,Tl),hc=Yp(Ws,Tl);(!wi||wi.test(hc))&&(!an||!an.test(hc))&&Is(Wu,hc,_r)}}}function b2e(r,c,f){let x=[r];if(c){let B=[];for(let De of c){let ke=Nw(De)?De:rg(Yp(r,De));B.push(v2e(ke))}B.sort(G(!f));for(let De of B)yn(x,ke=>!OY(ke,De,r,!f))&&x.push(De)}return x}function v2e(r){let c=xr(r,pte);return c<0?NY(r)?Iw(by(r)):r:r.substring(0,r.lastIndexOf(w_,c))}function kee(r,c){return c||Lee(r)||3}function Lee(r){switch(r.substr(r.lastIndexOf(\".\")).toLowerCase()){case\".js\":case\".cjs\":case\".mjs\":return 1;case\".jsx\":return 2;case\".ts\":case\".cts\":case\".mts\":return 3;case\".tsx\":return 4;case\".json\":return 6;default:return 0}}function Nee(r,c){let f=r&&See(r);if(!c||c.length===0)return f?VT:YC;let x=f?VT:YC,B=Lo(x);return[...x,...ha(c,De=>De.scriptKind===7||f&&C2e(De.scriptKind)&&B.indexOf(De.extension)===-1?[De.extension]:void 0)]}function Iee(r,c){return!r||!wee(r)?c:c===VT?gte:c===YC?fte:[...c,[\".json\"]]}function C2e(r){return r===1||r===2}function UR(r){return so(hB,c=>yy(r,c))}function KR(r){return so(cB,c=>yy(r,c))}function Fee(r){let{imports:c}=r,f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Fe(UR,KR);return dt(c,x=>{let{text:B}=x;return PC(B)?f(B):void 0})||!1}function D2e(r,c,f,x){if(r===\"js\"||c===99)return shouldAllowImportingTsExtension(f)&&B()!==2?3:2;if(r===\"minimal\")return 0;if(r===\"index\")return 1;if(!shouldAllowImportingTsExtension(f))return Fee(x)?2:0;return B();function B(){let De=!1,ke=x.imports.length?x.imports.map(Be=>Be.text):JM(x)?w2e(x).map(Be=>Be.arguments[0].text):Ci;for(let Be of ke)if(PC(Be)){if(KR(Be))return 3;UR(Be)&&(De=!0)}return De?2:0}}function w2e(r){let c=0,f;for(let x of r.statements){if(c>3)break;VQ(x)?f=Wa(f,x.declarationList.declarations.map(B=>B.initializer)):nA(x)&&TT(x.expression,!0)?f=Ye(f,x.expression):c++}return f||Ci}function S2e(r,c,f){if(!r)return!1;let x=Nee(c,f);for(let B of Lo(Iee(c,x)))if(yy(r,B))return!0;return!1}function Pee(r){let c=r.match(/\\//g);return c?c.length:0}function x2e(r,c){return rd(Pee(r),Pee(c))}function BT(r){for(let c of BN){let f=Oee(r,c);if(f!==void 0)return f}return r}function Oee(r,c){return yy(r,c)?Mee(r,c):void 0}function Mee(r,c){return r.substring(0,r.length-c.length)}function E2e(r,c){return PY(r,c,BN,!1)}function Ree(r){let c=r.indexOf(\"*\");return c===-1?r:r.indexOf(\"*\",c+1)!==-1?void 0:{prefix:r.substr(0,c),suffix:r.substr(c+1)}}function T2e(r){return ha(qs(r),c=>Ree(c))}function Iy(r){return!(r>=0)}function Bee(r){return r===\".ts\"||r===\".tsx\"||r===\".d.ts\"||r===\".cts\"||r===\".mts\"||r===\".d.mts\"||r===\".d.cts\"||ae(r,\".d.\")&&ge(r,\".ts\")}function A2e(r){return Bee(r)||r===\".json\"}function k2e(r){let c=qR(r);return c!==void 0?c:Bn.fail(`File ${r} has unknown extension.`)}function L2e(r){return qR(r)!==void 0}function qR(r){return vn(BN,c=>yy(r,c))}function N2e(r,c){return r.checkJsDirective?r.checkJsDirective.enabled:c.checkJs}function I2e(r,c){let f=[];for(let x of r){if(x===c)return c;nd(x)||f.push(x)}return Ve(f,x=>x,c)}function F2e(r,c){let f=r.indexOf(c);return Bn.assert(f!==-1),r.slice(f)}function jT(r){for(var c=arguments.length,f=new Array(c>1?c-1:0),x=1;x<c;x++)f[x-1]=arguments[x];return f.length&&(r.relatedInformation||(r.relatedInformation=[]),Bn.assert(r.relatedInformation!==Ci,\"Diagnostic had empty array singleton for related info, but is still being constructed!\"),r.relatedInformation.push(...f)),r}function P2e(r,c){Bn.assert(r.length!==0);let f=c(r[0]),x=f;for(let B=1;B<r.length;B++){let De=c(r[B]);De<f?f=De:De>x&&(x=De)}return{min:f,max:x}}function O2e(r){return{pos:$C(r),end:r.end}}function M2e(r,c){let f=c.pos-1,x=Math.min(r.text.length,ch(r.text,c.end)+1);return{pos:f,end:x}}function R2e(r,c,f){return c.skipLibCheck&&r.isDeclarationFile||c.skipDefaultLibCheck&&r.hasNoDefaultLib||f.isSourceOfProjectReferenceRedirect(r.fileName)}function GR(r,c){return r===c||typeof r==\"object\"&&r!==null&&typeof c==\"object\"&&c!==null&&Du(r,c,GR)}function IN(r){let c;switch(r.charCodeAt(1)){case 98:case 66:c=1;break;case 111:case 79:c=3;break;case 120:case 88:c=4;break;default:let wn=r.length-1,st=0;for(;r.charCodeAt(st)===48;)st++;return r.slice(st,wn)||\"0\"}let f=2,x=r.length-1,B=(x-f)*c,De=new Uint16Array((B>>>4)+(B&15?1:0));for(let wn=x-1,st=0;wn>=f;wn--,st+=c){let wi=st>>>4,an=r.charCodeAt(wn),Zn=(an<=57?an-48:10+an-(an<=70?65:97))<<(st&15);De[wi]|=Zn;let ar=Zn>>>16;ar&&(De[wi+1]|=ar)}let ke=\"\",Be=De.length-1,te=!0;for(;te;){let wn=0;te=!1;for(let st=Be;st>=0;st--){let wi=wn<<16|De[st],an=wi/10|0;De[st]=an,wn=wi-an*10,an&&!te&&(Be=st,te=!0)}ke=wn+ke}return ke}function JR(r){let{negative:c,base10Value:f}=r;return(c&&f!==\"0\"?\"-\":\"\")+f}function B2e(r){if(Wee(r,!1))return jee(r)}function jee(r){let c=r.startsWith(\"-\"),f=IN(`${c?r.slice(1):r}n`);return{negative:c,base10Value:f}}function Wee(r,c){if(r===\"\")return!1;let f=WC(99,!1),x=!0;f.setOnError(()=>x=!1),f.setText(r+\"n\");let B=f.scan(),De=B===40;De&&(B=f.scan());let ke=f.getTokenFlags();return x&&B===9&&f.getTextPos()===r.length+1&&!(ke&512)&&(!c||r===JR({negative:De,base10Value:IN(f.getTokenValue())}))}function j2e(r){return!!(r.flags&16777216)||MQ(r)||H2e(r)||V2e(r)||!(GM(r)||W2e(r))}function W2e(r){return Ja(r)&&oA(r.parent)&&r.parent.name===r}function V2e(r){for(;r.kind===79||r.kind===208;)r=r.parent;if(r.kind!==164)return!1;if(Tp(r.parent,256))return!0;let c=r.parent.parent.kind;return c===261||c===184}function H2e(r){if(r.kind!==79)return!1;let c=jm(r.parent,f=>{switch(f.kind){case 294:return!0;case 208:case 230:return!1;default:return\"quit\"}});return(c==null?void 0:c.token)===117||(c==null?void 0:c.parent.kind)===261}function $2e(r){return uS(r)&&Ja(r.typeName)}function z2e(r){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qg;if(r.length<2)return!0;let f=r[0];for(let x=1,B=r.length;x<B;x++){let De=r[x];if(!c(f,De))return!1}return!0}function FN(r,c){return r.pos=c,r}function Vee(r,c){return r.end=c,r}function Ub(r,c,f){return Vee(FN(r,c),f)}function PN(r,c,f){return Ub(r,c,c+f)}function U2e(r,c){return r&&(r.flags=c),r}function B0(r,c){return r&&c&&(r.parent=c),r}function nS(r,c){if(r)for(let f of r)B0(f,c);return r}function Hee(r,c){if(!r)return r;return oj(r,bM(r)?f:B),r;function f(De,ke){if(c&&De.parent===ke)return\"skip\";B0(De,ke)}function x(De){if(P0(De))for(let ke of De.jsDoc)f(ke,De),oj(ke,f)}function B(De,ke){return f(De,ke)||x(De)}}function K2e(r){return!JN(r)}function q2e(r){return eA(r)&&yn(r.elements,K2e)}function G2e(r){for(Bn.assertIsDefined(r.parent);;){let c=r.parent;if(ZC(c)){r=c;continue}if(nA(c)||kB(c)||Xte(c)&&(c.initializer===r||c.incrementor===r))return!0;if(dS(c)){if(r!==Oi(c.elements))return!0;r=c;continue}if(zc(c)&&c.operatorToken.kind===27){if(r===c.left)return!0;r=c;continue}return!1}}function $ee(r){return so(ignoredPaths,c=>xe(r,c))}function J2e(r){if(!r.parent)return;switch(r.kind){case 165:let{parent:f}=r;return f.kind===192?void 0:f.typeParameters;case 166:return r.parent.parameters;case 201:return r.parent.templateSpans;case 236:return r.parent.templateSpans;case 167:{let{parent:x}=r;return Nne(x)?x.modifiers:void 0}case 294:return r.parent.heritageClauses}let{parent:c}=r;if(vM(r))return zB(r.parent)?void 0:r.parent.tags;switch(c.kind){case 184:case 261:return pM(r)?c.members:void 0;case 189:case 190:return c.types;case 186:case 206:case 357:case 272:case 276:return c.elements;case 207:case 289:return c.properties;case 210:case 211:return _M(r)?c.typeArguments:c.expression===r?void 0:c.arguments;case 281:case 285:return rQ(r)?c.children:void 0;case 283:case 282:return _M(r)?c.typeArguments:void 0;case 238:case 292:case 293:case 265:return c.statements;case 266:return c.clauses;case 260:case 228:return Vb(r)?c.members:void 0;case 263:return one(r)?c.members:void 0;case 308:return c.statements}}function Y2e(r){if(!r.typeParameters){if(so(r.parameters,c=>!DR(c)))return!0;if(r.kind!==216){let c=Tt(r.parameters);if(!(c&&FT(c)))return!0}}return!1}function X2e(r){return r===\"Infinity\"||r===\"-Infinity\"||r===\"NaN\"}function zee(r){return r.kind===257&&r.parent.kind===295}function Q2e(r){let c=r.valueDeclaration&&mN(r.valueDeclaration);return!!c&&(Gb(c)||zee(c))}function Z2e(r){return r.kind===215||r.kind===216}function eDe(r){return r.replace(/\\$/gm,()=>\"\\\\$\")}function Uee(r){return(+r).toString()===r}function tDe(r,c,f,x){return YO(r,c)?ag.createIdentifier(r):!x&&Uee(r)&&+r>=0?ag.createNumericLiteral(+r):ag.createStringLiteral(r,!!f)}function Kee(r){return!!(r.flags&262144&&r.isThisType)}function nDe(r){let c=0,f=0,x=0,B=0,De;(wn=>{wn[wn.BeforeNodeModules=0]=\"BeforeNodeModules\",wn[wn.NodeModules=1]=\"NodeModules\",wn[wn.Scope=2]=\"Scope\",wn[wn.PackageContent=3]=\"PackageContent\"})(De||(De={}));let ke=0,Be=0,te=0;for(;Be>=0;)switch(ke=Be,Be=r.indexOf(\"/\",ke+1),te){case 0:r.indexOf(nodeModulesPathPart,ke)===ke&&(c=ke,f=Be,te=1);break;case 1:case 2:te===1&&r.charAt(ke+1)===\"@\"?te=2:(x=Be,te=3);break;case 3:r.indexOf(nodeModulesPathPart,ke)===ke?te=1:te=3;break}return B=ke,te>1?{topLevelNodeModulesIndex:c,topLevelPackageNameIndex:f,packageRootIndex:x,fileNameIndex:B}:void 0}function iDe(r){var c;return r.kind===344?(c=r.typeExpression)==null?void 0:c.type:r.type}function qee(r){switch(r.kind){case 165:case 260:case 261:case 262:case 263:case 349:case 341:case 343:return!0;case 270:return r.isTypeOnly;case 273:case 278:return r.parent.parent.isTypeOnly;default:return!1}}function rDe(r){return OB(r)||t2(r)||n2(r)||hS(r)||iA(r)||qee(r)||W0(r)&&!TM(r)&&!sN(r)}function Gee(r){if(!oM(r))return!1;let{isBracketed:c,typeExpression:f}=r;return c||!!f&&f.type.kind===319}function sDe(r,c){if(r.length===0)return!1;let f=r.charCodeAt(0);return f===35?r.length>1&&S_(r.charCodeAt(1),c):S_(f,c)}function Jee(r){var c;return((c=getSnippetElement(r))==null?void 0:c.kind)===0}function Yee(r){return dh(r)&&(r.type&&r.type.kind===319||q4(r).some(c=>{let{isBracketed:f,typeExpression:x}=c;return f||!!x&&x.type.kind===319}))}function oDe(r){switch(r.kind){case 169:case 168:return!!r.questionToken;case 166:return!!r.questionToken||Yee(r);case 351:case 344:return Gee(r);default:return!1}}function aDe(r){let c=r.kind;return(c===208||c===209)&&e2(r.expression)}function lDe(r){return dh(r)&&ZC(r)&&P0(r)&&!!nM(r)}function uDe(r){return Bn.checkDefined(Xee(r))}function Xee(r){let c=nM(r);return c&&c.typeExpression&&c.typeExpression.type}var Qee,ON,Zee,ete,iS,YR,XR,tte,QR,nte,ZR,eB,tB,nB,ite,rte,ste,ote,ate,iB,lte,ute,cte,JC,j0,dte,hte,$c,rB,WT,MN,pte,sB,RN,oB,aB,lB,uB,YC,cB,fte,_te,dB,hB,VT,gte,pB,mte,fB,BN,yte,cDe=ve({\"src/compiler/utilities.ts\"(){Qp(),Qee=[],ON=\"tslib\",Zee=160,ete=1e6,iS=j0e(),YR=(r=>(r[r.None=0]=\"None\",r[r.NeverAsciiEscape=1]=\"NeverAsciiEscape\",r[r.JsxAttributeEscape=2]=\"JsxAttributeEscape\",r[r.TerminateUnterminatedLiterals=4]=\"TerminateUnterminatedLiterals\",r[r.AllowNumericSeparator=8]=\"AllowNumericSeparator\",r))(YR||{}),XR=/^(\\/\\/\\/\\s*<reference\\s+path\\s*=\\s*)(('[^']*')|(\"[^\"]*\")).*?\\/>/,tte=/^(\\/\\/\\/\\s*<reference\\s+types\\s*=\\s*)(('[^']*')|(\"[^\"]*\")).*?\\/>/,QR=/^(\\/\\/\\/\\s*<amd-dependency\\s+path\\s*=\\s*)(('[^']*')|(\"[^\"]*\")).*?\\/>/,nte=/^(\\/\\/\\/\\s*<reference\\s+no-default-lib\\s*=\\s*)(('[^']*')|(\"[^\"]*\"))\\s*\\/>/,ZR=(r=>(r[r.None=0]=\"None\",r[r.Definite=1]=\"Definite\",r[r.Compound=2]=\"Compound\",r))(ZR||{}),eB=(r=>(r[r.Normal=0]=\"Normal\",r[r.Generator=1]=\"Generator\",r[r.Async=2]=\"Async\",r[r.Invalid=4]=\"Invalid\",r[r.AsyncGenerator=3]=\"AsyncGenerator\",r))(eB||{}),tB=(r=>(r[r.Left=0]=\"Left\",r[r.Right=1]=\"Right\",r))(tB||{}),nB=(r=>(r[r.Comma=0]=\"Comma\",r[r.Spread=1]=\"Spread\",r[r.Yield=2]=\"Yield\",r[r.Assignment=3]=\"Assignment\",r[r.Conditional=4]=\"Conditional\",r[r.Coalesce=4]=\"Coalesce\",r[r.LogicalOR=5]=\"LogicalOR\",r[r.LogicalAND=6]=\"LogicalAND\",r[r.BitwiseOR=7]=\"BitwiseOR\",r[r.BitwiseXOR=8]=\"BitwiseXOR\",r[r.BitwiseAND=9]=\"BitwiseAND\",r[r.Equality=10]=\"Equality\",r[r.Relational=11]=\"Relational\",r[r.Shift=12]=\"Shift\",r[r.Additive=13]=\"Additive\",r[r.Multiplicative=14]=\"Multiplicative\",r[r.Exponentiation=15]=\"Exponentiation\",r[r.Unary=16]=\"Unary\",r[r.Update=17]=\"Update\",r[r.LeftHandSide=18]=\"LeftHandSide\",r[r.Member=19]=\"Member\",r[r.Primary=20]=\"Primary\",r[r.Highest=20]=\"Highest\",r[r.Lowest=0]=\"Lowest\",r[r.Invalid=-1]=\"Invalid\",r))(nB||{}),ite=/\\$\\{/g,rte=/[\\\\\\\"\\u0000-\\u001f\\t\\v\\f\\b\\r\\n\\u2028\\u2029\\u0085]/g,ste=/[\\\\\\'\\u0000-\\u001f\\t\\v\\f\\b\\r\\n\\u2028\\u2029\\u0085]/g,ote=/\\r\\n|[\\\\\\`\\u0000-\\u001f\\t\\v\\f\\b\\r\\u2028\\u2029\\u0085]/g,ate=new Map(Object.entries({\"\t\":\"\\\\t\",\"\\v\":\"\\\\v\",\"\\f\":\"\\\\f\",\"\\b\":\"\\\\b\",\"\\r\":\"\\\\r\",\"\\n\":\"\\\\n\",\"\\\\\":\"\\\\\\\\\",'\"':'\\\\\"',\"'\":\"\\\\'\",\"`\":\"\\\\`\",\"\\u2028\":\"\\\\u2028\",\"\\u2029\":\"\\\\u2029\",\"\\x85\":\"\\\\u0085\",\"\\r\\n\":\"\\\\r\\\\n\"})),iB=/[^\\u0000-\\u007F]/g,lte=/[\\\"\\u0000-\\u001f\\u2028\\u2029\\u0085]/g,ute=/[\\'\\u0000-\\u001f\\u2028\\u2029\\u0085]/g,cte=new Map(Object.entries({'\"':\"&quot;\",\"'\":\"&apos;\"})),JC=[\"\",\"    \"],j0=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\",dte=`\\r\n`,hte=`\n`,$c={getNodeConstructor:()=>PR,getTokenConstructor:()=>PCe,getIdentifierConstructor:()=>OCe,getPrivateIdentifierConstructor:()=>PR,getSourceFileConstructor:()=>PR,getSymbolConstructor:()=>NCe,getTypeConstructor:()=>ICe,getSignatureConstructor:()=>FCe,getSourceMapSourceConstructor:()=>MCe},rB=[],MN=/[^\\w\\s\\/]/g,pte=[42,63],sB=[\"node_modules\",\"bower_components\",\"jspm_packages\"],RN=`(?!(${sB.join(\"|\")})(/|$))`,oB={singleAsteriskRegexFragment:\"([^./]|(\\\\.(?!min\\\\.js$))?)*\",doubleAsteriskRegexFragment:`(/${RN}[^/.][^/]*)*?`,replaceWildcardCharacter:r=>zR(r,oB.singleAsteriskRegexFragment)},aB={singleAsteriskRegexFragment:\"[^/]*\",doubleAsteriskRegexFragment:`(/${RN}[^/.][^/]*)*?`,replaceWildcardCharacter:r=>zR(r,aB.singleAsteriskRegexFragment)},lB={singleAsteriskRegexFragment:\"[^/]*\",doubleAsteriskRegexFragment:\"(/.+?)?\",replaceWildcardCharacter:r=>zR(r,lB.singleAsteriskRegexFragment)},uB={files:oB,directories:aB,exclude:lB},YC=[[\".ts\",\".tsx\",\".d.ts\"],[\".cts\",\".d.cts\"],[\".mts\",\".d.mts\"]],cB=Lo(YC),fte=[...YC,[\".json\"]],_te=[\".d.ts\",\".d.cts\",\".d.mts\",\".cts\",\".mts\",\".ts\",\".tsx\",\".cts\",\".mts\"],dB=[[\".js\",\".jsx\"],[\".mjs\"],[\".cjs\"]],hB=Lo(dB),VT=[[\".ts\",\".tsx\",\".d.ts\",\".js\",\".jsx\"],[\".cts\",\".d.cts\",\".cjs\"],[\".mts\",\".d.mts\",\".mjs\"]],gte=[...VT,[\".json\"]],pB=[\".d.ts\",\".d.cts\",\".d.mts\"],mte=[\".ts\",\".cts\",\".mts\",\".tsx\"],fB=(r=>(r[r.Minimal=0]=\"Minimal\",r[r.Index=1]=\"Index\",r[r.JsExtension=2]=\"JsExtension\",r[r.TsExtension=3]=\"TsExtension\",r))(fB||{}),BN=[\".d.ts\",\".d.mts\",\".d.cts\",\".mjs\",\".mts\",\".cjs\",\".cts\",\".ts\",\".js\",\".tsx\",\".jsx\",\".json\"],yte={files:Ci,directories:Ci}}});function bte(){let r,c,f,x,B;return{createBaseSourceFileNode:De,createBaseIdentifierNode:ke,createBasePrivateIdentifierNode:Be,createBaseTokenNode:te,createBaseNode:wn};function De(st){return new(B||(B=$c.getSourceFileConstructor()))(st,-1,-1)}function ke(st){return new(f||(f=$c.getIdentifierConstructor()))(st,-1,-1)}function Be(st){return new(x||(x=$c.getPrivateIdentifierConstructor()))(st,-1,-1)}function te(st){return new(c||(c=$c.getTokenConstructor()))(st,-1,-1)}function wn(st){return new(r||(r=$c.getNodeConstructor()))(st,-1,-1)}}var dDe=ve({\"src/compiler/factory/baseNodeFactory.ts\"(){Qp()}}),_B,hDe=ve({\"src/compiler/factory/parenthesizerRules.ts\"(){Qp(),_B={getParenthesizeLeftSideOfBinaryForOperator:r=>ec,getParenthesizeRightSideOfBinaryForOperator:r=>ec,parenthesizeLeftSideOfBinary:(r,c)=>c,parenthesizeRightSideOfBinary:(r,c,f)=>f,parenthesizeExpressionOfComputedPropertyName:ec,parenthesizeConditionOfConditionalExpression:ec,parenthesizeBranchOfConditionalExpression:ec,parenthesizeExpressionOfExportDefault:ec,parenthesizeExpressionOfNew:r=>Su(r,VC),parenthesizeLeftSideOfAccess:r=>Su(r,VC),parenthesizeOperandOfPostfixUnary:r=>Su(r,VC),parenthesizeOperandOfPrefixUnary:r=>Su(r,QX),parenthesizeExpressionsOfCommaDelimitedList:r=>Su(r,Sy),parenthesizeExpressionForDisallowedComma:ec,parenthesizeExpressionOfExpressionStatement:ec,parenthesizeConciseBodyOfArrowFunction:ec,parenthesizeCheckTypeOfConditionalType:ec,parenthesizeExtendsTypeOfConditionalType:ec,parenthesizeConstituentTypesOfUnionType:r=>Su(r,Sy),parenthesizeConstituentTypeOfUnionType:ec,parenthesizeConstituentTypesOfIntersectionType:r=>Su(r,Sy),parenthesizeConstituentTypeOfIntersectionType:ec,parenthesizeOperandOfTypeOperator:ec,parenthesizeOperandOfReadonlyTypeOperator:ec,parenthesizeNonArrayTypeOfPostfixType:ec,parenthesizeElementTypesOfTupleType:r=>Su(r,Sy),parenthesizeElementTypeOfTupleType:ec,parenthesizeTypeOfOptionalType:ec,parenthesizeTypeArguments:r=>r&&Su(r,Sy),parenthesizeLeadingTypeArgument:ec}}}),vte=()=>new Proxy({},{get:()=>()=>{}});function pDe(r){mB.push(r)}function jN(r,c){let f=r&8?fDe:_De,x=AC(()=>r&1?_B:createParenthesizerRules(So)),B=AC(()=>r&2?nullNodeConverters:vte()),De=Kp(_=>(C,A)=>EA(C,_,A)),ke=Kp(_=>C=>SA(_,C)),Be=Kp(_=>C=>xA(C,_)),te=Kp(_=>()=>Uj(_)),wn=Kp(_=>C=>NS(_,C)),st=Kp(_=>(C,A)=>Kj(_,C,A)),wi=Kp(_=>(C,A)=>OI(_,C,A)),an=Kp(_=>(C,A)=>MI(_,C,A)),Zn=Kp(_=>(C,A)=>QI(_,C,A)),ar=Kp(_=>(C,A,O)=>iW(_,C,A,O)),ys=Kp(_=>(C,A,O)=>ZI(_,C,A,O)),Is=Kp(_=>(C,A,O,Qe)=>rW(_,C,A,O,Qe)),So={get parenthesizer(){return x()},get converters(){return B()},baseFactory:c,flags:r,createNodeArray:Ws,createNumericLiteral:wu,createBigIntLiteral:Tl,createStringLiteral:hc,createStringLiteralFromNode:xf,createRegularExpressionLiteral:rp,createLiteralLikeNode:$m,createIdentifier:lu,createTempVariable:Uf,createLoopVariable:Ap,createUniqueName:gd,getGeneratedNameForNode:zm,createPrivateIdentifier:$h,createUniquePrivateName:jc,getGeneratedPrivateNameForNode:Ef,createToken:Uc,createSuper:tc,createThis:xh,createNull:qf,createTrue:Tc,createFalse:lg,createModifier:Wc,createModifiersFromModifierFlags:op,createQualifiedName:md,updateQualifiedName:Gf,createComputedPropertyName:vc,updateComputedPropertyName:jd,createTypeParameterDeclaration:ap,updateTypeParameterDeclaration:V0,createParameterDeclaration:A_,updateParameterDeclaration:Um,createDecorator:Jf,updateDecorator:ug,createPropertySignature:H0,updatePropertySignature:rl,createPropertyDeclaration:fo,updatePropertyDeclaration:la,createMethodSignature:Aa,updateMethodSignature:Vu,createMethodDeclaration:cu,updateMethodDeclaration:ws,createConstructorDeclaration:vl,updateConstructorDeclaration:Hl,createGetAccessorDeclaration:Ad,updateGetAccessorDeclaration:Yf,createSetAccessorDeclaration:im,updateSetAccessorDeclaration:qm,createCallSignature:Py,updateCallSignature:Xb,createConstructSignature:rm,updateConstructSignature:sm,createIndexSignature:z0,updateIndexSignature:U0,createClassStaticBlockDeclaration:Hs,updateClassStaticBlockDeclaration:na,createTemplateLiteralTypeSpan:Gm,updateTemplateLiteralTypeSpan:Tf,createKeywordTypeNode:Cl,createTypePredicateNode:k_,updateTypePredicateNode:Ki,createTypeReferenceNode:tn,updateTypeReferenceNode:tr,createFunctionTypeNode:Kt,updateFunctionTypeNode:Qr,createConstructorTypeNode:ma,updateConstructorTypeNode:ia,createTypeQueryNode:wc,updateTypeQueryNode:Ac,createTypeLiteralNode:du,updateTypeLiteralNode:lp,createArrayTypeNode:hh,updateArrayTypeNode:Th,createTupleTypeNode:Yd,updateTupleTypeNode:Xf,createNamedTupleMember:al,updateNamedTupleMember:Wd,createOptionalTypeNode:Qa,updateOptionalTypeNode:Dl,createRestTypeNode:Hr,updateRestTypeNode:Qf,createUnionTypeNode:h2,updateUnionTypeNode:bS,createIntersectionTypeNode:q0,updateIntersectionTypeNode:Oy,createConditionalTypeNode:Al,updateConditionalTypeNode:od,createInferTypeNode:_6,updateInferTypeNode:Ym,createImportTypeNode:m6,updateImportTypeNode:G0,createParenthesizedType:p2,updateParenthesizedType:Af,createThisTypeNode:Xd,createTypeOperatorNode:Hi,updateTypeOperatorNode:Zf,createIndexedAccessTypeNode:J0,updateIndexedAccessTypeNode:My,createMappedTypeNode:vS,updateMappedTypeNode:Qd,createLiteralTypeNode:zh,updateLiteralTypeNode:Ry,createTemplateLiteralType:g6,updateTemplateLiteralType:kp,createObjectBindingPattern:y6,updateObjectBindingPattern:pj,createArrayBindingPattern:By,updateArrayBindingPattern:fj,createBindingElement:CS,updateBindingElement:Qb,createArrayLiteralExpression:fA,updateArrayLiteralExpression:b6,createObjectLiteralExpression:f2,updateObjectLiteralExpression:_j,createPropertyAccessExpression:r&4?(_,C)=>setEmitFlags(Xm(_,C),262144):Xm,updatePropertyAccessExpression:C6,createPropertyAccessChain:r&4?(_,C,A)=>setEmitFlags(Zb(_,C,A),262144):Zb,updatePropertyAccessChain:D6,createElementAccessExpression:_A,updateElementAccessExpression:gj,createElementAccessChain:gA,updateElementAccessChain:w6,createCallExpression:Y0,updateCallExpression:mj,createCallChain:mA,updateCallChain:L_,createNewExpression:wS,updateNewExpression:yA,createTaggedTemplateExpression:bA,updateTaggedTemplateExpression:yj,createTypeAssertion:x6,updateTypeAssertion:E6,createParenthesizedExpression:vA,updateParenthesizedExpression:T6,createFunctionExpression:CA,updateFunctionExpression:A6,createArrowFunction:DA,updateArrowFunction:k6,createDeleteExpression:wA,updateDeleteExpression:bj,createTypeOfExpression:nf,updateTypeOfExpression:vj,createVoidExpression:cg,updateVoidExpression:Cj,createAwaitExpression:X0,updateAwaitExpression:ev,createPrefixUnaryExpression:SA,updatePrefixUnaryExpression:SS,createPostfixUnaryExpression:xA,updatePostfixUnaryExpression:L6,createBinaryExpression:EA,updateBinaryExpression:Dj,createConditionalExpression:TA,updateConditionalExpression:wj,createTemplateExpression:om,updateTemplateExpression:I6,createTemplateHead:ES,createTemplateMiddle:kA,createTemplateTail:Sj,createNoSubstitutionTemplateLiteral:P6,createTemplateLiteralLikeNode:tv,createYieldExpression:O6,updateYieldExpression:xj,createSpreadElement:M6,updateSpreadElement:Ej,createClassExpression:R6,updateClassExpression:TS,createOmittedExpression:Tj,createExpressionWithTypeArguments:B6,updateExpressionWithTypeArguments:N_,createAsExpression:AS,updateAsExpression:j6,createNonNullExpression:W6,updateNonNullExpression:LA,createSatisfiesExpression:V6,updateSatisfiesExpression:NA,createNonNullChain:dg,updateNonNullChain:H6,createMetaProperty:kS,updateMetaProperty:Qm,createTemplateSpan:g2,updateTemplateSpan:$6,createSemicolonClassElement:z6,createBlock:nv,updateBlock:U6,createVariableStatement:K6,updateVariableStatement:q6,createEmptyStatement:IA,createExpressionStatement:m2,updateExpressionStatement:Aj,createIfStatement:FA,updateIfStatement:kj,createDoStatement:PA,updateDoStatement:Lj,createWhileStatement:G6,updateWhileStatement:Nj,createForStatement:OA,updateForStatement:J6,createForInStatement:Y6,updateForInStatement:Ij,createForOfStatement:X6,updateForOfStatement:Fj,createContinueStatement:Q6,updateContinueStatement:Z6,createBreakStatement:MA,updateBreakStatement:eI,createReturnStatement:tI,updateReturnStatement:Pj,createWithStatement:RA,updateWithStatement:nI,createSwitchStatement:BA,updateSwitchStatement:iv,createLabeledStatement:iI,updateLabeledStatement:rI,createThrowStatement:sI,updateThrowStatement:Oj,createTryStatement:oI,updateTryStatement:Mj,createDebuggerStatement:aI,createVariableDeclaration:LS,updateVariableDeclaration:lI,createVariableDeclarationList:jA,updateVariableDeclarationList:Rj,createFunctionDeclaration:uI,updateFunctionDeclaration:WA,createClassDeclaration:cI,updateClassDeclaration:VA,createInterfaceDeclaration:dI,updateInterfaceDeclaration:hI,createTypeAliasDeclaration:kc,updateTypeAliasDeclaration:Q0,createEnumDeclaration:HA,updateEnumDeclaration:Z0,createModuleDeclaration:pI,updateModuleDeclaration:Vd,createModuleBlock:e1,updateModuleBlock:up,createCaseBlock:fI,updateCaseBlock:jj,createNamespaceExportDeclaration:_I,updateNamespaceExportDeclaration:gI,createImportEqualsDeclaration:mI,updateImportEqualsDeclaration:yI,createImportDeclaration:bI,updateImportDeclaration:vI,createImportClause:CI,updateImportClause:DI,createAssertClause:$A,updateAssertClause:Vj,createAssertEntry:y2,updateAssertEntry:wI,createImportTypeAssertionContainer:zA,updateImportTypeAssertionContainer:SI,createNamespaceImport:xI,updateNamespaceImport:UA,createNamespaceExport:EI,updateNamespaceExport:TI,createNamedImports:AI,updateNamedImports:Hj,createImportSpecifier:kI,updateImportSpecifier:$j,createExportAssignment:KA,updateExportAssignment:qA,createExportDeclaration:Zm,updateExportDeclaration:LI,createNamedExports:rv,updateNamedExports:II,createExportSpecifier:GA,updateExportSpecifier:b2,createMissingDeclaration:zj,createExternalModuleReference:FI,updateExternalModuleReference:PI,get createJSDocAllType(){return te(315)},get createJSDocUnknownType(){return te(316)},get createJSDocNonNullableType(){return wi(318)},get updateJSDocNonNullableType(){return an(318)},get createJSDocNullableType(){return wi(317)},get updateJSDocNullableType(){return an(317)},get createJSDocOptionalType(){return wn(319)},get updateJSDocOptionalType(){return st(319)},get createJSDocVariadicType(){return wn(321)},get updateJSDocVariadicType(){return st(321)},get createJSDocNamepathType(){return wn(322)},get updateJSDocNamepathType(){return st(322)},createJSDocFunctionType:RI,updateJSDocFunctionType:qj,createJSDocTypeLiteral:BI,updateJSDocTypeLiteral:Gj,createJSDocTypeExpression:jI,updateJSDocTypeExpression:Jj,createJSDocSignature:WI,updateJSDocSignature:JA,createJSDocTemplateTag:v2,updateJSDocTemplateTag:YA,createJSDocTypedefTag:XA,updateJSDocTypedefTag:VI,createJSDocParameterTag:IS,updateJSDocParameterTag:Yj,createJSDocPropertyTag:QA,updateJSDocPropertyTag:Xj,createJSDocCallbackTag:HI,updateJSDocCallbackTag:$I,createJSDocOverloadTag:zI,updateJSDocOverloadTag:UI,createJSDocAugmentsTag:KI,updateJSDocAugmentsTag:ZA,createJSDocImplementsTag:ek,updateJSDocImplementsTag:nW,createJSDocSeeTag:sv,updateJSDocSeeTag:Qj,createJSDocNameReference:jy,updateJSDocNameReference:FS,createJSDocMemberName:qI,updateJSDocMemberName:Zj,createJSDocLink:GI,updateJSDocLink:eW,createJSDocLinkCode:JI,updateJSDocLinkCode:YI,createJSDocLinkPlain:XI,updateJSDocLinkPlain:tW,get createJSDocTypeTag(){return ys(347)},get updateJSDocTypeTag(){return Is(347)},get createJSDocReturnTag(){return ys(345)},get updateJSDocReturnTag(){return Is(345)},get createJSDocThisTag(){return ys(346)},get updateJSDocThisTag(){return Is(346)},get createJSDocAuthorTag(){return Zn(333)},get updateJSDocAuthorTag(){return ar(333)},get createJSDocClassTag(){return Zn(335)},get updateJSDocClassTag(){return ar(335)},get createJSDocPublicTag(){return Zn(336)},get updateJSDocPublicTag(){return ar(336)},get createJSDocPrivateTag(){return Zn(337)},get updateJSDocPrivateTag(){return ar(337)},get createJSDocProtectedTag(){return Zn(338)},get updateJSDocProtectedTag(){return ar(338)},get createJSDocReadonlyTag(){return Zn(339)},get updateJSDocReadonlyTag(){return ar(339)},get createJSDocOverrideTag(){return Zn(340)},get updateJSDocOverrideTag(){return ar(340)},get createJSDocDeprecatedTag(){return Zn(334)},get updateJSDocDeprecatedTag(){return ar(334)},get createJSDocThrowsTag(){return ys(352)},get updateJSDocThrowsTag(){return Is(352)},get createJSDocSatisfiesTag(){return ys(353)},get updateJSDocSatisfiesTag(){return Is(353)},createJSDocEnumTag:tF,updateJSDocEnumTag:oW,createJSDocUnknownTag:eF,updateJSDocUnknownTag:sW,createJSDocText:nF,updateJSDocText:tk,createJSDocComment:iF,updateJSDocComment:rF,createJsxElement:nk,updateJsxElement:aW,createJsxSelfClosingElement:C2,updateJsxSelfClosingElement:sF,createJsxOpeningElement:oF,updateJsxOpeningElement:lW,createJsxClosingElement:Lp,updateJsxClosingElement:aF,createJsxFragment:ik,createJsxText:D2,updateJsxText:cW,createJsxOpeningFragment:PS,createJsxJsxClosingFragment:dW,updateJsxFragment:uW,createJsxAttribute:lF,updateJsxAttribute:hW,createJsxAttributes:uF,updateJsxAttributes:rk,createJsxSpreadAttribute:ov,updateJsxSpreadAttribute:pW,createJsxExpression:OS,updateJsxExpression:cF,createCaseClause:dF,updateCaseClause:sk,createDefaultClause:ok,updateDefaultClause:fW,createHeritageClause:hF,updateHeritageClause:pF,createCatchClause:ak,updateCatchClause:fF,createPropertyAssignment:i1,updatePropertyAssignment:_W,createShorthandPropertyAssignment:_F,updateShorthandPropertyAssignment:mW,createSpreadAssignment:lk,updateSpreadAssignment:am,createEnumMember:uk,updateEnumMember:yW,createSourceFile:bW,updateSourceFile:vF,createRedirectedSourceFile:mF,createBundle:CF,updateBundle:CW,createUnparsedSource:MS,createUnparsedPrologue:DW,createUnparsedPrepend:wW,createUnparsedTextLike:SW,createUnparsedSyntheticReference:xW,createInputFiles:EW,createSyntheticExpression:DF,createSyntaxList:wF,createNotEmittedStatement:SF,createPartiallyEmittedExpression:xF,updatePartiallyEmittedExpression:EF,createCommaListExpression:BS,updateCommaListExpression:TW,createEndOfDeclarationMarker:AW,createMergeDeclarationMarker:kW,createSyntheticReferenceExpression:AF,updateSyntheticReferenceExpression:dk,cloneNode:hk,get createComma(){return De(27)},get createAssignment(){return De(63)},get createLogicalOr(){return De(56)},get createLogicalAnd(){return De(55)},get createBitwiseOr(){return De(51)},get createBitwiseXor(){return De(52)},get createBitwiseAnd(){return De(50)},get createStrictEquality(){return De(36)},get createStrictInequality(){return De(37)},get createEquality(){return De(34)},get createInequality(){return De(35)},get createLessThan(){return De(29)},get createLessThanEquals(){return De(32)},get createGreaterThan(){return De(31)},get createGreaterThanEquals(){return De(33)},get createLeftShift(){return De(47)},get createRightShift(){return De(48)},get createUnsignedRightShift(){return De(49)},get createAdd(){return De(39)},get createSubtract(){return De(40)},get createMultiply(){return De(41)},get createDivide(){return De(43)},get createModulo(){return De(44)},get createExponent(){return De(42)},get createPrefixPlus(){return ke(39)},get createPrefixMinus(){return ke(40)},get createPrefixIncrement(){return ke(45)},get createPrefixDecrement(){return ke(46)},get createBitwiseNot(){return ke(54)},get createLogicalNot(){return ke(53)},get createPostfixIncrement(){return Be(45)},get createPostfixDecrement(){return Be(46)},createImmediatelyInvokedFunctionExpression:PW,createImmediatelyInvokedArrowFunction:jS,createVoidZero:WS,createExportDefault:kF,createExternalModuleExport:OW,createTypeCheck:MW,createMethodCall:r1,createGlobalMethodCall:av,createFunctionBindCall:RW,createFunctionCallCall:BW,createFunctionApplyCall:jW,createArraySliceCall:LF,createArrayConcatCall:NF,createObjectDefinePropertyCall:L,createObjectGetOwnPropertyDescriptorCall:pe,createReflectGetCall:ut,createReflectSetCall:rn,createPropertyDescriptor:rr,createCallBinding:Ql,createAssignmentTargetWrapper:Ol,inlineExpressions:ul,getInternalName:e_,getLocalName:pg,getExportName:lm,getDeclarationName:Np,getNamespaceMemberName:s1,getExternalModuleOrNamespaceExportName:IF,restoreOuterExpressions:uo,restoreEnclosingLabel:ro,createUseStrictPrologue:kf,copyPrologue:pk,copyStandardPrologue:o1,copyCustomPrologue:fk,ensureUseStrict:cp,liftToBlock:VS,mergeLexicalEnvironment:PF,updateModifiers:OF};return S(mB,_=>_(So)),So;function Ws(_,C){if(_===void 0||_===Ci)_=[];else if(Sy(_)){if(C===void 0||_.hasTrailingComma===C)return _.transformFlags===void 0&&Cte(_),Bn.attachNodeArrayDebugInfo(_),_;let Qe=_.slice();return Qe.pos=_.pos,Qe.end=_.end,Qe.hasTrailingComma=C,Qe.transformFlags=_.transformFlags,Bn.attachNodeArrayDebugInfo(Qe),Qe}let A=_.length,O=A>=1&&A<=4?_.slice():_;return O.pos=-1,O.end=-1,O.hasTrailingComma=!!C,O.transformFlags=0,Cte(O),Bn.attachNodeArrayDebugInfo(O),O}function _r(_){return c.createBaseNode(_)}function po(_){let C=_r(_);return C.symbol=void 0,C.localSymbol=void 0,C}function Na(_,C){return _!==C&&(_.typeArguments=C.typeArguments),f(_,C)}function wu(_){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,A=po(8);return A.text=typeof _==\"number\"?_+\"\":_,A.numericLiteralFlags=C,C&384&&(A.transformFlags|=1024),A}function Tl(_){let C=Kf(9);return C.text=typeof _==\"string\"?_:JR(_)+\"n\",C.transformFlags|=4,C}function Wu(_,C){let A=po(10);return A.text=_,A.singleQuote=C,A}function hc(_,C,A){let O=Wu(_,C);return O.hasExtendedUnicodeEscape=A,A&&(O.transformFlags|=1024),O}function xf(_){let C=Wu(gN(_),void 0);return C.textSourceNode=_,C}function rp(_){let C=Kf(13);return C.text=_,C}function $m(_,C){switch(_){case 8:return wu(C,0);case 9:return Tl(C);case 10:return hc(C,void 0);case 11:return D2(C,!1);case 12:return D2(C,!0);case 13:return rp(C);case 14:return tv(_,C,void 0,0)}}function Zp(_){let C=c.createBaseIdentifierNode(79);return C.escapedText=_,C.jsDoc=void 0,C.flowNode=void 0,C.symbol=void 0,C}function ef(_,C,A,O){let Qe=Zp(Jg(_));return setIdentifierAutoGenerate(Qe,{flags:C,id:$T,prefix:A,suffix:O}),$T++,Qe}function lu(_,C,A){C===void 0&&_&&(C=dT(_)),C===79&&(C=void 0);let O=Zp(Jg(_));return A&&(O.flags|=128),O.escapedText===\"await\"&&(O.transformFlags|=67108864),O.flags&128&&(O.transformFlags|=1024),O}function Uf(_,C,A,O){let Qe=1;C&&(Qe|=8);let oi=ef(\"\",Qe,A,O);return _&&_(oi),oi}function Ap(_){let C=2;return _&&(C|=8),ef(\"\",C,void 0,void 0)}function gd(_){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,A=arguments.length>2?arguments[2]:void 0,O=arguments.length>3?arguments[3]:void 0;return Bn.assert(!(C&7),\"Argument out of range: flags\"),Bn.assert((C&48)!==32,\"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic\"),ef(_,3|C,A,O)}function zm(_){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,A=arguments.length>2?arguments[2]:void 0,O=arguments.length>3?arguments[3]:void 0;Bn.assert(!(C&7),\"Argument out of range: flags\");let Qe=_?Wb(_)?o6(!1,A,_,O,Hh):`generated@${getNodeId(_)}`:\"\";(A||O)&&(C|=16);let oi=ef(Qe,4|C,A,O);return oi.original=_,oi}function tf(_){let C=c.createBasePrivateIdentifierNode(80);return C.escapedText=_,C.transformFlags|=16777216,C}function $h(_){return ae(_,\"#\")||Bn.fail(\"First character of private identifier must be #: \"+_),tf(Jg(_))}function sp(_,C,A,O){let Qe=tf(Jg(_));return setIdentifierAutoGenerate(Qe,{flags:C,id:$T,prefix:A,suffix:O}),$T++,Qe}function jc(_,C,A){_&&!ae(_,\"#\")&&Bn.fail(\"First character of private identifier must be #: \"+_);let O=8|(_?3:1);return sp(_!=null?_:\"\",O,C,A)}function Ef(_,C,A){let O=Wb(_)?o6(!0,C,_,A,Hh):`#generated@${getNodeId(_)}`,Qe=sp(O,4|(C||A?16:0),C,A);return Qe.original=_,Qe}function Kf(_){return c.createBaseTokenNode(_)}function Uc(_){Bn.assert(_>=0&&_<=162,\"Invalid token\"),Bn.assert(_<=14||_>=17,\"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals.\"),Bn.assert(_<=8||_>=14,\"Invalid token. Use 'createLiteralLikeNode' to create literals.\"),Bn.assert(_!==79,\"Invalid token. Use 'createIdentifier' to create identifiers\");let C=Kf(_),A=0;switch(_){case 132:A=384;break;case 123:case 121:case 122:case 146:case 126:case 136:case 85:case 131:case 148:case 160:case 144:case 149:case 101:case 145:case 161:case 152:case 134:case 153:case 114:case 157:case 155:A=1;break;case 106:A=134218752,C.flowNode=void 0;break;case 124:A=1024;break;case 127:A=16777216;break;case 108:A=16384,C.flowNode=void 0;break}return A&&(C.transformFlags|=A),C}function tc(){return Uc(106)}function xh(){return Uc(108)}function qf(){return Uc(104)}function Tc(){return Uc(110)}function lg(){return Uc(95)}function Wc(_){return Uc(_)}function op(_){let C=[];return _&1&&C.push(Wc(93)),_&2&&C.push(Wc(136)),_&1024&&C.push(Wc(88)),_&2048&&C.push(Wc(85)),_&4&&C.push(Wc(123)),_&8&&C.push(Wc(121)),_&16&&C.push(Wc(122)),_&256&&C.push(Wc(126)),_&32&&C.push(Wc(124)),_&16384&&C.push(Wc(161)),_&64&&C.push(Wc(146)),_&128&&C.push(Wc(127)),_&512&&C.push(Wc(132)),_&32768&&C.push(Wc(101)),_&65536&&C.push(Wc(145)),C.length?C:void 0}function md(_,C){let A=_r(163);return A.left=_,A.right=Gu(C),A.transformFlags|=es(A.left)|rS(A.right),A.flowNode=void 0,A}function Gf(_,C,A){return _.left!==C||_.right!==A?f(md(C,A),_):_}function vc(_){let C=_r(164);return C.expression=x().parenthesizeExpressionOfComputedPropertyName(_),C.transformFlags|=es(C.expression)|1024|131072,C}function jd(_,C){return _.expression!==C?f(vc(C),_):_}function ap(_,C,A,O){let Qe=po(165);return Qe.modifiers=sl(_),Qe.name=Gu(C),Qe.constraint=A,Qe.default=O,Qe.transformFlags=1,Qe.expression=void 0,Qe.jsDoc=void 0,Qe}function V0(_,C,A,O,Qe){return _.modifiers!==C||_.name!==A||_.constraint!==O||_.default!==Qe?f(ap(C,A,O,Qe),_):_}function A_(_,C,A,O,Qe,oi){var xs,Wo;let Pa=po(166);return Pa.modifiers=sl(_),Pa.dotDotDotToken=C,Pa.name=Gu(A),Pa.questionToken=O,Pa.type=Qe,Pa.initializer=l1(oi),vN(Pa.name)?Pa.transformFlags=1:Pa.transformFlags=Ga(Pa.modifiers)|es(Pa.dotDotDotToken)|og(Pa.name)|es(Pa.questionToken)|es(Pa.initializer)|(((xs=Pa.questionToken)!=null?xs:Pa.type)?1:0)|(((Wo=Pa.dotDotDotToken)!=null?Wo:Pa.initializer)?1024:0)|(x_(Pa.modifiers)&16476?8192:0),Pa.jsDoc=void 0,Pa}function Um(_,C,A,O,Qe,oi,xs){return _.modifiers!==C||_.dotDotDotToken!==A||_.name!==O||_.questionToken!==Qe||_.type!==oi||_.initializer!==xs?f(A_(C,A,O,Qe,oi,xs),_):_}function Jf(_){let C=_r(167);return C.expression=x().parenthesizeLeftSideOfAccess(_,!1),C.transformFlags|=es(C.expression)|1|8192|33554432,C}function ug(_,C){return _.expression!==C?f(Jf(C),_):_}function H0(_,C,A,O){let Qe=po(168);return Qe.modifiers=sl(_),Qe.name=Gu(C),Qe.type=O,Qe.questionToken=A,Qe.transformFlags=1,Qe.initializer=void 0,Qe.jsDoc=void 0,Qe}function rl(_,C,A,O,Qe){return _.modifiers!==C||_.name!==A||_.questionToken!==O||_.type!==Qe?Wr(H0(C,A,O,Qe),_):_}function Wr(_,C){return _!==C&&(_.initializer=C.initializer),f(_,C)}function fo(_,C,A,O,Qe){let oi=po(169);oi.modifiers=sl(_),oi.name=Gu(C),oi.questionToken=A&&zT(A)?A:void 0,oi.exclamationToken=A&&HN(A)?A:void 0,oi.type=O,oi.initializer=l1(Qe);let xs=oi.flags&16777216||x_(oi.modifiers)&2;return oi.transformFlags=Ga(oi.modifiers)|og(oi.name)|es(oi.initializer)|(xs||oi.questionToken||oi.exclamationToken||oi.type?1:0)|(qb(oi.name)||x_(oi.modifiers)&32&&oi.initializer?8192:0)|16777216,oi.jsDoc=void 0,oi}function la(_,C,A,O,Qe,oi){return _.modifiers!==C||_.name!==A||_.questionToken!==(O!==void 0&&zT(O)?O:void 0)||_.exclamationToken!==(O!==void 0&&HN(O)?O:void 0)||_.type!==Qe||_.initializer!==oi?f(fo(C,A,O,Qe,oi),_):_}function Aa(_,C,A,O,Qe,oi){let xs=po(170);return xs.modifiers=sl(_),xs.name=Gu(C),xs.questionToken=A,xs.typeParameters=sl(O),xs.parameters=sl(Qe),xs.type=oi,xs.transformFlags=1,xs.jsDoc=void 0,xs.locals=void 0,xs.nextContainer=void 0,xs.typeArguments=void 0,xs}function Vu(_,C,A,O,Qe,oi,xs){return _.modifiers!==C||_.name!==A||_.questionToken!==O||_.typeParameters!==Qe||_.parameters!==oi||_.type!==xs?Na(Aa(C,A,O,Qe,oi,xs),_):_}function cu(_,C,A,O,Qe,oi,xs,Wo){let Pa=po(171);if(Pa.modifiers=sl(_),Pa.asteriskToken=C,Pa.name=Gu(A),Pa.questionToken=O,Pa.exclamationToken=void 0,Pa.typeParameters=sl(Qe),Pa.parameters=Ws(oi),Pa.type=xs,Pa.body=Wo,!Pa.body)Pa.transformFlags=1;else{let rf=x_(Pa.modifiers)&512,um=!!Pa.asteriskToken,e0=rf&&um;Pa.transformFlags=Ga(Pa.modifiers)|es(Pa.asteriskToken)|og(Pa.name)|es(Pa.questionToken)|Ga(Pa.typeParameters)|Ga(Pa.parameters)|es(Pa.type)|es(Pa.body)&-67108865|(e0?128:rf?256:um?2048:0)|(Pa.questionToken||Pa.typeParameters||Pa.type?1:0)|1024}return Pa.typeArguments=void 0,Pa.jsDoc=void 0,Pa.locals=void 0,Pa.nextContainer=void 0,Pa.flowNode=void 0,Pa.endFlowNode=void 0,Pa.returnFlowNode=void 0,Pa}function ws(_,C,A,O,Qe,oi,xs,Wo,Pa){return _.modifiers!==C||_.asteriskToken!==A||_.name!==O||_.questionToken!==Qe||_.typeParameters!==oi||_.parameters!==xs||_.type!==Wo||_.body!==Pa?Vs(cu(C,A,O,Qe,oi,xs,Wo,Pa),_):_}function Vs(_,C){return _!==C&&(_.exclamationToken=C.exclamationToken),f(_,C)}function Hs(_){let C=po(172);return C.body=_,C.transformFlags=es(_)|16777216,C.modifiers=void 0,C.jsDoc=void 0,C.locals=void 0,C.nextContainer=void 0,C.endFlowNode=void 0,C.returnFlowNode=void 0,C}function na(_,C){return _.body!==C?fl(Hs(C),_):_}function fl(_,C){return _!==C&&(_.modifiers=C.modifiers),f(_,C)}function vl(_,C,A){let O=po(173);return O.modifiers=sl(_),O.parameters=Ws(C),O.body=A,O.transformFlags=Ga(O.modifiers)|Ga(O.parameters)|es(O.body)&-67108865|1024,O.typeParameters=void 0,O.type=void 0,O.typeArguments=void 0,O.jsDoc=void 0,O.locals=void 0,O.nextContainer=void 0,O.endFlowNode=void 0,O.returnFlowNode=void 0,O}function Hl(_,C,A,O){return _.modifiers!==C||_.parameters!==A||_.body!==O?Eh(vl(C,A,O),_):_}function Eh(_,C){return _!==C&&(_.typeParameters=C.typeParameters,_.type=C.type),Na(_,C)}function Ad(_,C,A,O,Qe){let oi=po(174);return oi.modifiers=sl(_),oi.name=Gu(C),oi.parameters=Ws(A),oi.type=O,oi.body=Qe,oi.body?oi.transformFlags=Ga(oi.modifiers)|og(oi.name)|Ga(oi.parameters)|es(oi.type)|es(oi.body)&-67108865|(oi.type?1:0):oi.transformFlags=1,oi.typeArguments=void 0,oi.typeParameters=void 0,oi.jsDoc=void 0,oi.locals=void 0,oi.nextContainer=void 0,oi.flowNode=void 0,oi.endFlowNode=void 0,oi.returnFlowNode=void 0,oi}function Yf(_,C,A,O,Qe,oi){return _.modifiers!==C||_.name!==A||_.parameters!==O||_.type!==Qe||_.body!==oi?Km(Ad(C,A,O,Qe,oi),_):_}function Km(_,C){return _!==C&&(_.typeParameters=C.typeParameters),Na(_,C)}function im(_,C,A,O){let Qe=po(175);return Qe.modifiers=sl(_),Qe.name=Gu(C),Qe.parameters=Ws(A),Qe.body=O,Qe.body?Qe.transformFlags=Ga(Qe.modifiers)|og(Qe.name)|Ga(Qe.parameters)|es(Qe.body)&-67108865|(Qe.type?1:0):Qe.transformFlags=1,Qe.typeArguments=void 0,Qe.typeParameters=void 0,Qe.type=void 0,Qe.jsDoc=void 0,Qe.locals=void 0,Qe.nextContainer=void 0,Qe.flowNode=void 0,Qe.endFlowNode=void 0,Qe.returnFlowNode=void 0,Qe}function qm(_,C,A,O,Qe){return _.modifiers!==C||_.name!==A||_.parameters!==O||_.body!==Qe?$0(im(C,A,O,Qe),_):_}function $0(_,C){return _!==C&&(_.typeParameters=C.typeParameters,_.type=C.type),Na(_,C)}function Py(_,C,A){let O=po(176);return O.typeParameters=sl(_),O.parameters=sl(C),O.type=A,O.transformFlags=1,O.jsDoc=void 0,O.locals=void 0,O.nextContainer=void 0,O.typeArguments=void 0,O}function Xb(_,C,A,O){return _.typeParameters!==C||_.parameters!==A||_.type!==O?Na(Py(C,A,O),_):_}function rm(_,C,A){let O=po(177);return O.typeParameters=sl(_),O.parameters=sl(C),O.type=A,O.transformFlags=1,O.jsDoc=void 0,O.locals=void 0,O.nextContainer=void 0,O.typeArguments=void 0,O}function sm(_,C,A,O){return _.typeParameters!==C||_.parameters!==A||_.type!==O?Na(rm(C,A,O),_):_}function z0(_,C,A){let O=po(178);return O.modifiers=sl(_),O.parameters=sl(C),O.type=A,O.transformFlags=1,O.jsDoc=void 0,O.locals=void 0,O.nextContainer=void 0,O.typeArguments=void 0,O}function U0(_,C,A,O){return _.parameters!==A||_.type!==O||_.modifiers!==C?Na(z0(C,A,O),_):_}function Gm(_,C){let A=_r(201);return A.type=_,A.literal=C,A.transformFlags=1,A}function Tf(_,C,A){return _.type!==C||_.literal!==A?f(Gm(C,A),_):_}function Cl(_){return Uc(_)}function k_(_,C,A){let O=_r(179);return O.assertsModifier=_,O.parameterName=Gu(C),O.type=A,O.transformFlags=1,O}function Ki(_,C,A,O){return _.assertsModifier!==C||_.parameterName!==A||_.type!==O?f(k_(C,A,O),_):_}function tn(_,C){let A=_r(180);return A.typeName=Gu(_),A.typeArguments=C&&x().parenthesizeTypeArguments(Ws(C)),A.transformFlags=1,A}function tr(_,C,A){return _.typeName!==C||_.typeArguments!==A?f(tn(C,A),_):_}function Kt(_,C,A){let O=po(181);return O.typeParameters=sl(_),O.parameters=sl(C),O.type=A,O.transformFlags=1,O.modifiers=void 0,O.jsDoc=void 0,O.locals=void 0,O.nextContainer=void 0,O.typeArguments=void 0,O}function Qr(_,C,A,O){return _.typeParameters!==C||_.parameters!==A||_.type!==O?fe(Kt(C,A,O),_):_}function fe(_,C){return _!==C&&(_.modifiers=C.modifiers),Na(_,C)}function ma(){return arguments.length===4?Io(...arguments):arguments.length===3?Sr(...arguments):Bn.fail(\"Incorrect number of arguments specified.\")}function Io(_,C,A,O){let Qe=po(182);return Qe.modifiers=sl(_),Qe.typeParameters=sl(C),Qe.parameters=sl(A),Qe.type=O,Qe.transformFlags=1,Qe.jsDoc=void 0,Qe.locals=void 0,Qe.nextContainer=void 0,Qe.typeArguments=void 0,Qe}function Sr(_,C,A){return Io(void 0,_,C,A)}function ia(){return arguments.length===5?Fa(...arguments):arguments.length===4?Xl(...arguments):Bn.fail(\"Incorrect number of arguments specified.\")}function Fa(_,C,A,O,Qe){return _.modifiers!==C||_.typeParameters!==A||_.parameters!==O||_.type!==Qe?Na(ma(C,A,O,Qe),_):_}function Xl(_,C,A,O){return Fa(_,_.modifiers,C,A,O)}function wc(_,C){let A=_r(183);return A.exprName=_,A.typeArguments=C&&x().parenthesizeTypeArguments(C),A.transformFlags=1,A}function Ac(_,C,A){return _.exprName!==C||_.typeArguments!==A?f(wc(C,A),_):_}function du(_){let C=po(184);return C.members=Ws(_),C.transformFlags=1,C}function lp(_,C){return _.members!==C?f(du(C),_):_}function hh(_){let C=_r(185);return C.elementType=x().parenthesizeNonArrayTypeOfPostfixType(_),C.transformFlags=1,C}function Th(_,C){return _.elementType!==C?f(hh(C),_):_}function Yd(_){let C=_r(186);return C.elements=Ws(x().parenthesizeElementTypesOfTupleType(_)),C.transformFlags=1,C}function Xf(_,C){return _.elements!==C?f(Yd(C),_):_}function al(_,C,A,O){let Qe=po(199);return Qe.dotDotDotToken=_,Qe.name=C,Qe.questionToken=A,Qe.type=O,Qe.transformFlags=1,Qe.jsDoc=void 0,Qe}function Wd(_,C,A,O,Qe){return _.dotDotDotToken!==C||_.name!==A||_.questionToken!==O||_.type!==Qe?f(al(C,A,O,Qe),_):_}function Qa(_){let C=_r(187);return C.type=x().parenthesizeTypeOfOptionalType(_),C.transformFlags=1,C}function Dl(_,C){return _.type!==C?f(Qa(C),_):_}function Hr(_){let C=_r(188);return C.type=_,C.transformFlags=1,C}function Qf(_,C){return _.type!==C?f(Hr(C),_):_}function Jm(_,C,A){let O=_r(_);return O.types=So.createNodeArray(A(C)),O.transformFlags=1,O}function K0(_,C,A){return _.types!==C?f(Jm(_.kind,C,A),_):_}function h2(_){return Jm(189,_,x().parenthesizeConstituentTypesOfUnionType)}function bS(_,C){return K0(_,C,x().parenthesizeConstituentTypesOfUnionType)}function q0(_){return Jm(190,_,x().parenthesizeConstituentTypesOfIntersectionType)}function Oy(_,C){return K0(_,C,x().parenthesizeConstituentTypesOfIntersectionType)}function Al(_,C,A,O){let Qe=_r(191);return Qe.checkType=x().parenthesizeCheckTypeOfConditionalType(_),Qe.extendsType=x().parenthesizeExtendsTypeOfConditionalType(C),Qe.trueType=A,Qe.falseType=O,Qe.transformFlags=1,Qe.locals=void 0,Qe.nextContainer=void 0,Qe}function od(_,C,A,O,Qe){return _.checkType!==C||_.extendsType!==A||_.trueType!==O||_.falseType!==Qe?f(Al(C,A,O,Qe),_):_}function _6(_){let C=_r(192);return C.typeParameter=_,C.transformFlags=1,C}function Ym(_,C){return _.typeParameter!==C?f(_6(C),_):_}function g6(_,C){let A=_r(200);return A.head=_,A.templateSpans=Ws(C),A.transformFlags=1,A}function kp(_,C,A){return _.head!==C||_.templateSpans!==A?f(g6(C,A),_):_}function m6(_,C,A,O){let Qe=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,oi=_r(202);return oi.argument=_,oi.assertions=C,oi.qualifier=A,oi.typeArguments=O&&x().parenthesizeTypeArguments(O),oi.isTypeOf=Qe,oi.transformFlags=1,oi}function G0(_,C,A,O,Qe){let oi=arguments.length>5&&arguments[5]!==void 0?arguments[5]:_.isTypeOf;return _.argument!==C||_.assertions!==A||_.qualifier!==O||_.typeArguments!==Qe||_.isTypeOf!==oi?f(m6(C,A,O,Qe,oi),_):_}function p2(_){let C=_r(193);return C.type=_,C.transformFlags=1,C}function Af(_,C){return _.type!==C?f(p2(C),_):_}function Xd(){let _=_r(194);return _.transformFlags=1,_}function Hi(_,C){let A=_r(195);return A.operator=_,A.type=_===146?x().parenthesizeOperandOfReadonlyTypeOperator(C):x().parenthesizeOperandOfTypeOperator(C),A.transformFlags=1,A}function Zf(_,C){return _.type!==C?f(Hi(_.operator,C),_):_}function J0(_,C){let A=_r(196);return A.objectType=x().parenthesizeNonArrayTypeOfPostfixType(_),A.indexType=C,A.transformFlags=1,A}function My(_,C,A){return _.objectType!==C||_.indexType!==A?f(J0(C,A),_):_}function vS(_,C,A,O,Qe,oi){let xs=po(197);return xs.readonlyToken=_,xs.typeParameter=C,xs.nameType=A,xs.questionToken=O,xs.type=Qe,xs.members=oi&&Ws(oi),xs.transformFlags=1,xs.locals=void 0,xs.nextContainer=void 0,xs}function Qd(_,C,A,O,Qe,oi,xs){return _.readonlyToken!==C||_.typeParameter!==A||_.nameType!==O||_.questionToken!==Qe||_.type!==oi||_.members!==xs?f(vS(C,A,O,Qe,oi,xs),_):_}function zh(_){let C=_r(198);return C.literal=_,C.transformFlags=1,C}function Ry(_,C){return _.literal!==C?f(zh(C),_):_}function y6(_){let C=_r(203);return C.elements=Ws(_),C.transformFlags|=Ga(C.elements)|1024|524288,C.transformFlags&32768&&(C.transformFlags|=65664),C}function pj(_,C){return _.elements!==C?f(y6(C),_):_}function By(_){let C=_r(204);return C.elements=Ws(_),C.transformFlags|=Ga(C.elements)|1024|524288,C}function fj(_,C){return _.elements!==C?f(By(C),_):_}function CS(_,C,A,O){let Qe=po(205);return Qe.dotDotDotToken=_,Qe.propertyName=Gu(C),Qe.name=Gu(A),Qe.initializer=l1(O),Qe.transformFlags|=es(Qe.dotDotDotToken)|og(Qe.propertyName)|og(Qe.name)|es(Qe.initializer)|(Qe.dotDotDotToken?32768:0)|1024,Qe.flowNode=void 0,Qe}function Qb(_,C,A,O,Qe){return _.propertyName!==A||_.dotDotDotToken!==C||_.name!==O||_.initializer!==Qe?f(CS(C,A,O,Qe),_):_}function fA(_,C){let A=_r(206),O=_&&yi(_),Qe=Ws(_,O&&JN(O)?!0:void 0);return A.elements=x().parenthesizeExpressionsOfCommaDelimitedList(Qe),A.multiLine=C,A.transformFlags|=Ga(A.elements),A}function b6(_,C){return _.elements!==C?f(fA(C,_.multiLine),_):_}function f2(_,C){let A=po(207);return A.properties=Ws(_),A.multiLine=C,A.transformFlags|=Ga(A.properties),A.jsDoc=void 0,A}function _j(_,C){return _.properties!==C?f(f2(C,_.multiLine),_):_}function v6(_,C,A){let O=po(208);return O.expression=_,O.questionDotToken=C,O.name=A,O.transformFlags=es(O.expression)|es(O.questionDotToken)|(Ja(O.name)?rS(O.name):es(O.name)|536870912),O.jsDoc=void 0,O.flowNode=void 0,O}function Xm(_,C){let A=v6(x().parenthesizeLeftSideOfAccess(_,!1),void 0,Gu(C));return $N(_)&&(A.transformFlags|=384),A}function C6(_,C,A){return IX(_)?D6(_,C,_.questionDotToken,Su(A,Ja)):_.expression!==C||_.name!==A?f(Xm(C,A),_):_}function Zb(_,C,A){let O=v6(x().parenthesizeLeftSideOfAccess(_,!0),C,Gu(A));return O.flags|=32,O.transformFlags|=32,O}function D6(_,C,A,O){return Bn.assert(!!(_.flags&32),\"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead.\"),_.expression!==C||_.questionDotToken!==A||_.name!==O?f(Zb(C,A,O),_):_}function DS(_,C,A){let O=po(209);return O.expression=_,O.questionDotToken=C,O.argumentExpression=A,O.transformFlags|=es(O.expression)|es(O.questionDotToken)|es(O.argumentExpression),O.jsDoc=void 0,O.flowNode=void 0,O}function _A(_,C){let A=DS(x().parenthesizeLeftSideOfAccess(_,!1),void 0,a1(C));return $N(_)&&(A.transformFlags|=384),A}function gj(_,C,A){return FX(_)?w6(_,C,_.questionDotToken,A):_.expression!==C||_.argumentExpression!==A?f(_A(C,A),_):_}function gA(_,C,A){let O=DS(x().parenthesizeLeftSideOfAccess(_,!0),C,a1(A));return O.flags|=32,O.transformFlags|=32,O}function w6(_,C,A,O){return Bn.assert(!!(_.flags&32),\"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead.\"),_.expression!==C||_.questionDotToken!==A||_.argumentExpression!==O?f(gA(C,A,O),_):_}function S6(_,C,A,O){let Qe=po(210);return Qe.expression=_,Qe.questionDotToken=C,Qe.typeArguments=A,Qe.arguments=O,Qe.transformFlags|=es(Qe.expression)|es(Qe.questionDotToken)|Ga(Qe.typeArguments)|Ga(Qe.arguments),Qe.typeArguments&&(Qe.transformFlags|=1),lN(Qe.expression)&&(Qe.transformFlags|=16384),Qe}function Y0(_,C,A){let O=S6(x().parenthesizeLeftSideOfAccess(_,!1),void 0,sl(C),x().parenthesizeExpressionsOfCommaDelimitedList(Ws(A)));return Nte(O.expression)&&(O.transformFlags|=8388608),O}function mj(_,C,A,O){return iM(_)?L_(_,C,_.questionDotToken,A,O):_.expression!==C||_.typeArguments!==A||_.arguments!==O?f(Y0(C,A,O),_):_}function mA(_,C,A,O){let Qe=S6(x().parenthesizeLeftSideOfAccess(_,!0),C,sl(A),x().parenthesizeExpressionsOfCommaDelimitedList(Ws(O)));return Qe.flags|=32,Qe.transformFlags|=32,Qe}function L_(_,C,A,O,Qe){return Bn.assert(!!(_.flags&32),\"Cannot update a CallExpression using updateCallChain. Use updateCall instead.\"),_.expression!==C||_.questionDotToken!==A||_.typeArguments!==O||_.arguments!==Qe?f(mA(C,A,O,Qe),_):_}function wS(_,C,A){let O=po(211);return O.expression=x().parenthesizeExpressionOfNew(_),O.typeArguments=sl(C),O.arguments=A?x().parenthesizeExpressionsOfCommaDelimitedList(A):void 0,O.transformFlags|=es(O.expression)|Ga(O.typeArguments)|Ga(O.arguments)|32,O.typeArguments&&(O.transformFlags|=1),O}function yA(_,C,A,O){return _.expression!==C||_.typeArguments!==A||_.arguments!==O?f(wS(C,A,O),_):_}function bA(_,C,A){let O=_r(212);return O.tag=x().parenthesizeLeftSideOfAccess(_,!1),O.typeArguments=sl(C),O.template=A,O.transformFlags|=es(O.tag)|Ga(O.typeArguments)|es(O.template)|1024,O.typeArguments&&(O.transformFlags|=1),DZ(O.template)&&(O.transformFlags|=128),O}function yj(_,C,A,O){return _.tag!==C||_.typeArguments!==A||_.template!==O?f(bA(C,A,O),_):_}function x6(_,C){let A=_r(213);return A.expression=x().parenthesizeOperandOfPrefixUnary(C),A.type=_,A.transformFlags|=es(A.expression)|es(A.type)|1,A}function E6(_,C,A){return _.type!==C||_.expression!==A?f(x6(C,A),_):_}function vA(_){let C=_r(214);return C.expression=_,C.transformFlags=es(C.expression),C.jsDoc=void 0,C}function T6(_,C){return _.expression!==C?f(vA(C),_):_}function CA(_,C,A,O,Qe,oi,xs){let Wo=po(215);Wo.modifiers=sl(_),Wo.asteriskToken=C,Wo.name=Gu(A),Wo.typeParameters=sl(O),Wo.parameters=Ws(Qe),Wo.type=oi,Wo.body=xs;let Pa=x_(Wo.modifiers)&512,rf=!!Wo.asteriskToken,um=Pa&&rf;return Wo.transformFlags=Ga(Wo.modifiers)|es(Wo.asteriskToken)|og(Wo.name)|Ga(Wo.typeParameters)|Ga(Wo.parameters)|es(Wo.type)|es(Wo.body)&-67108865|(um?128:Pa?256:rf?2048:0)|(Wo.typeParameters||Wo.type?1:0)|4194304,Wo.typeArguments=void 0,Wo.jsDoc=void 0,Wo.locals=void 0,Wo.nextContainer=void 0,Wo.flowNode=void 0,Wo.endFlowNode=void 0,Wo.returnFlowNode=void 0,Wo}function A6(_,C,A,O,Qe,oi,xs,Wo){return _.name!==O||_.modifiers!==C||_.asteriskToken!==A||_.typeParameters!==Qe||_.parameters!==oi||_.type!==xs||_.body!==Wo?Na(CA(C,A,O,Qe,oi,xs,Wo),_):_}function DA(_,C,A,O,Qe,oi){let xs=po(216);xs.modifiers=sl(_),xs.typeParameters=sl(C),xs.parameters=Ws(A),xs.type=O,xs.equalsGreaterThanToken=Qe!=null?Qe:Uc(38),xs.body=x().parenthesizeConciseBodyOfArrowFunction(oi);let Wo=x_(xs.modifiers)&512;return xs.transformFlags=Ga(xs.modifiers)|Ga(xs.typeParameters)|Ga(xs.parameters)|es(xs.type)|es(xs.equalsGreaterThanToken)|es(xs.body)&-67108865|(xs.typeParameters||xs.type?1:0)|(Wo?16640:0)|1024,xs.typeArguments=void 0,xs.jsDoc=void 0,xs.locals=void 0,xs.nextContainer=void 0,xs.flowNode=void 0,xs.endFlowNode=void 0,xs.returnFlowNode=void 0,xs}function k6(_,C,A,O,Qe,oi,xs){return _.modifiers!==C||_.typeParameters!==A||_.parameters!==O||_.type!==Qe||_.equalsGreaterThanToken!==oi||_.body!==xs?Na(DA(C,A,O,Qe,oi,xs),_):_}function wA(_){let C=_r(217);return C.expression=x().parenthesizeOperandOfPrefixUnary(_),C.transformFlags|=es(C.expression),C}function bj(_,C){return _.expression!==C?f(wA(C),_):_}function nf(_){let C=_r(218);return C.expression=x().parenthesizeOperandOfPrefixUnary(_),C.transformFlags|=es(C.expression),C}function vj(_,C){return _.expression!==C?f(nf(C),_):_}function cg(_){let C=_r(219);return C.expression=x().parenthesizeOperandOfPrefixUnary(_),C.transformFlags|=es(C.expression),C}function Cj(_,C){return _.expression!==C?f(cg(C),_):_}function X0(_){let C=_r(220);return C.expression=x().parenthesizeOperandOfPrefixUnary(_),C.transformFlags|=es(C.expression)|256|128|2097152,C}function ev(_,C){return _.expression!==C?f(X0(C),_):_}function SA(_,C){let A=_r(221);return A.operator=_,A.operand=x().parenthesizeOperandOfPrefixUnary(C),A.transformFlags|=es(A.operand),(_===45||_===46)&&Ja(A.operand)&&!xy(A.operand)&&!tj(A.operand)&&(A.transformFlags|=268435456),A}function SS(_,C){return _.operand!==C?f(SA(_.operator,C),_):_}function xA(_,C){let A=_r(222);return A.operator=C,A.operand=x().parenthesizeOperandOfPostfixUnary(_),A.transformFlags|=es(A.operand),Ja(A.operand)&&!xy(A.operand)&&!tj(A.operand)&&(A.transformFlags|=268435456),A}function L6(_,C){return _.operand!==C?f(xA(C,_.operator),_):_}function EA(_,C,A){let O=po(223),Qe=WW(C),oi=Qe.kind;return O.left=x().parenthesizeLeftSideOfBinary(oi,_),O.operatorToken=Qe,O.right=x().parenthesizeRightSideOfBinary(oi,O.left,A),O.transformFlags|=es(O.left)|es(O.operatorToken)|es(O.right),oi===60?O.transformFlags|=32:oi===63?Jb(O.left)?O.transformFlags|=5248|N6(O.left):eA(O.left)&&(O.transformFlags|=5120|N6(O.left)):oi===42||oi===67?O.transformFlags|=512:wN(oi)&&(O.transformFlags|=16),oi===101&&wf(O.left)&&(O.transformFlags|=536870912),O.jsDoc=void 0,O}function N6(_){return rj(_)?65536:0}function Dj(_,C,A,O){return _.left!==C||_.operatorToken!==A||_.right!==O?f(EA(C,A,O),_):_}function TA(_,C,A,O,Qe){let oi=_r(224);return oi.condition=x().parenthesizeConditionOfConditionalExpression(_),oi.questionToken=C!=null?C:Uc(57),oi.whenTrue=x().parenthesizeBranchOfConditionalExpression(A),oi.colonToken=O!=null?O:Uc(58),oi.whenFalse=x().parenthesizeBranchOfConditionalExpression(Qe),oi.transformFlags|=es(oi.condition)|es(oi.questionToken)|es(oi.whenTrue)|es(oi.colonToken)|es(oi.whenFalse),oi}function wj(_,C,A,O,Qe,oi){return _.condition!==C||_.questionToken!==A||_.whenTrue!==O||_.colonToken!==Qe||_.whenFalse!==oi?f(TA(C,A,O,Qe,oi),_):_}function om(_,C){let A=_r(225);return A.head=_,A.templateSpans=Ws(C),A.transformFlags|=es(A.head)|Ga(A.templateSpans)|1024,A}function I6(_,C,A){return _.head!==C||_.templateSpans!==A?f(om(C,A),_):_}function xS(_,C,A){let O=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;Bn.assert(!(O&-2049),\"Unsupported template flags.\");let Qe;if(A!==void 0&&A!==C&&(Qe=gDe(_,A),typeof Qe==\"object\"))return Bn.fail(\"Invalid raw text\");if(C===void 0){if(Qe===void 0)return Bn.fail(\"Arguments 'text' and 'rawText' may not both be undefined.\");C=Qe}else Qe!==void 0&&Bn.assert(C===Qe,\"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.\");return C}function F6(_){let C=1024;return _&&(C|=128),C}function _2(_,C,A,O){let Qe=Kf(_);return Qe.text=C,Qe.rawText=A,Qe.templateFlags=O&2048,Qe.transformFlags=F6(Qe.templateFlags),Qe}function AA(_,C,A,O){let Qe=po(_);return Qe.text=C,Qe.rawText=A,Qe.templateFlags=O&2048,Qe.transformFlags=F6(Qe.templateFlags),Qe}function tv(_,C,A,O){return _===14?AA(_,C,A,O):_2(_,C,A,O)}function ES(_,C,A){return _=xS(15,_,C,A),tv(15,_,C,A)}function kA(_,C,A){return _=xS(15,_,C,A),tv(16,_,C,A)}function Sj(_,C,A){return _=xS(15,_,C,A),tv(17,_,C,A)}function P6(_,C,A){return _=xS(15,_,C,A),AA(14,_,C,A)}function O6(_,C){Bn.assert(!_||!!C,\"A `YieldExpression` with an asteriskToken must have an expression.\");let A=_r(226);return A.expression=C&&x().parenthesizeExpressionForDisallowedComma(C),A.asteriskToken=_,A.transformFlags|=es(A.expression)|es(A.asteriskToken)|1024|128|1048576,A}function xj(_,C,A){return _.expression!==A||_.asteriskToken!==C?f(O6(C,A),_):_}function M6(_){let C=_r(227);return C.expression=x().parenthesizeExpressionForDisallowedComma(_),C.transformFlags|=es(C.expression)|1024|32768,C}function Ej(_,C){return _.expression!==C?f(M6(C),_):_}function R6(_,C,A,O,Qe){let oi=po(228);return oi.modifiers=sl(_),oi.name=Gu(C),oi.typeParameters=sl(A),oi.heritageClauses=sl(O),oi.members=Ws(Qe),oi.transformFlags|=Ga(oi.modifiers)|og(oi.name)|Ga(oi.typeParameters)|Ga(oi.heritageClauses)|Ga(oi.members)|(oi.typeParameters?1:0)|1024,oi.jsDoc=void 0,oi}function TS(_,C,A,O,Qe,oi){return _.modifiers!==C||_.name!==A||_.typeParameters!==O||_.heritageClauses!==Qe||_.members!==oi?f(R6(C,A,O,Qe,oi),_):_}function Tj(){return _r(229)}function B6(_,C){let A=_r(230);return A.expression=x().parenthesizeLeftSideOfAccess(_,!1),A.typeArguments=C&&x().parenthesizeTypeArguments(C),A.transformFlags|=es(A.expression)|Ga(A.typeArguments)|1024,A}function N_(_,C,A){return _.expression!==C||_.typeArguments!==A?f(B6(C,A),_):_}function AS(_,C){let A=_r(231);return A.expression=_,A.type=C,A.transformFlags|=es(A.expression)|es(A.type)|1,A}function j6(_,C,A){return _.expression!==C||_.type!==A?f(AS(C,A),_):_}function W6(_){let C=_r(232);return C.expression=x().parenthesizeLeftSideOfAccess(_,!1),C.transformFlags|=es(C.expression)|1,C}function LA(_,C){return OX(_)?H6(_,C):_.expression!==C?f(W6(C),_):_}function V6(_,C){let A=_r(235);return A.expression=_,A.type=C,A.transformFlags|=es(A.expression)|es(A.type)|1,A}function NA(_,C,A){return _.expression!==C||_.type!==A?f(V6(C,A),_):_}function dg(_){let C=_r(232);return C.flags|=32,C.expression=x().parenthesizeLeftSideOfAccess(_,!0),C.transformFlags|=es(C.expression)|1,C}function H6(_,C){return Bn.assert(!!(_.flags&32),\"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead.\"),_.expression!==C?f(dg(C),_):_}function kS(_,C){let A=_r(233);switch(A.keywordToken=_,A.name=C,A.transformFlags|=es(A.name),_){case 103:A.transformFlags|=1024;break;case 100:A.transformFlags|=4;break;default:return Bn.assertNever(_)}return A.flowNode=void 0,A}function Qm(_,C){return _.name!==C?f(kS(_.keywordToken,C),_):_}function g2(_,C){let A=_r(236);return A.expression=_,A.literal=C,A.transformFlags|=es(A.expression)|es(A.literal)|1024,A}function $6(_,C,A){return _.expression!==C||_.literal!==A?f(g2(C,A),_):_}function z6(){let _=_r(237);return _.transformFlags|=1024,_}function nv(_,C){let A=_r(238);return A.statements=Ws(_),A.multiLine=C,A.transformFlags|=Ga(A.statements),A.jsDoc=void 0,A.locals=void 0,A.nextContainer=void 0,A}function U6(_,C){return _.statements!==C?f(nv(C,_.multiLine),_):_}function K6(_,C){let A=_r(240);return A.modifiers=sl(_),A.declarationList=fu(C)?jA(C):C,A.transformFlags|=Ga(A.modifiers)|es(A.declarationList),x_(A.modifiers)&2&&(A.transformFlags=1),A.jsDoc=void 0,A.flowNode=void 0,A}function q6(_,C,A){return _.modifiers!==C||_.declarationList!==A?f(K6(C,A),_):_}function IA(){let _=_r(239);return _.jsDoc=void 0,_}function m2(_){let C=_r(241);return C.expression=x().parenthesizeExpressionOfExpressionStatement(_),C.transformFlags|=es(C.expression),C.jsDoc=void 0,C.flowNode=void 0,C}function Aj(_,C){return _.expression!==C?f(m2(C),_):_}function FA(_,C,A){let O=_r(242);return O.expression=_,O.thenStatement=I_(C),O.elseStatement=I_(A),O.transformFlags|=es(O.expression)|es(O.thenStatement)|es(O.elseStatement),O.jsDoc=void 0,O.flowNode=void 0,O}function kj(_,C,A,O){return _.expression!==C||_.thenStatement!==A||_.elseStatement!==O?f(FA(C,A,O),_):_}function PA(_,C){let A=_r(243);return A.statement=I_(_),A.expression=C,A.transformFlags|=es(A.statement)|es(A.expression),A.jsDoc=void 0,A.flowNode=void 0,A}function Lj(_,C,A){return _.statement!==C||_.expression!==A?f(PA(C,A),_):_}function G6(_,C){let A=_r(244);return A.expression=_,A.statement=I_(C),A.transformFlags|=es(A.expression)|es(A.statement),A.jsDoc=void 0,A.flowNode=void 0,A}function Nj(_,C,A){return _.expression!==C||_.statement!==A?f(G6(C,A),_):_}function OA(_,C,A,O){let Qe=_r(245);return Qe.initializer=_,Qe.condition=C,Qe.incrementor=A,Qe.statement=I_(O),Qe.transformFlags|=es(Qe.initializer)|es(Qe.condition)|es(Qe.incrementor)|es(Qe.statement),Qe.jsDoc=void 0,Qe.locals=void 0,Qe.nextContainer=void 0,Qe.flowNode=void 0,Qe}function J6(_,C,A,O,Qe){return _.initializer!==C||_.condition!==A||_.incrementor!==O||_.statement!==Qe?f(OA(C,A,O,Qe),_):_}function Y6(_,C,A){let O=_r(246);return O.initializer=_,O.expression=C,O.statement=I_(A),O.transformFlags|=es(O.initializer)|es(O.expression)|es(O.statement),O.jsDoc=void 0,O.locals=void 0,O.nextContainer=void 0,O.flowNode=void 0,O}function Ij(_,C,A,O){return _.initializer!==C||_.expression!==A||_.statement!==O?f(Y6(C,A,O),_):_}function X6(_,C,A,O){let Qe=_r(247);return Qe.awaitModifier=_,Qe.initializer=C,Qe.expression=x().parenthesizeExpressionForDisallowedComma(A),Qe.statement=I_(O),Qe.transformFlags|=es(Qe.awaitModifier)|es(Qe.initializer)|es(Qe.expression)|es(Qe.statement)|1024,_&&(Qe.transformFlags|=128),Qe.jsDoc=void 0,Qe.locals=void 0,Qe.nextContainer=void 0,Qe.flowNode=void 0,Qe}function Fj(_,C,A,O,Qe){return _.awaitModifier!==C||_.initializer!==A||_.expression!==O||_.statement!==Qe?f(X6(C,A,O,Qe),_):_}function Q6(_){let C=_r(248);return C.label=Gu(_),C.transformFlags|=es(C.label)|4194304,C.jsDoc=void 0,C.flowNode=void 0,C}function Z6(_,C){return _.label!==C?f(Q6(C),_):_}function MA(_){let C=_r(249);return C.label=Gu(_),C.transformFlags|=es(C.label)|4194304,C.jsDoc=void 0,C.flowNode=void 0,C}function eI(_,C){return _.label!==C?f(MA(C),_):_}function tI(_){let C=_r(250);return C.expression=_,C.transformFlags|=es(C.expression)|128|4194304,C.jsDoc=void 0,C.flowNode=void 0,C}function Pj(_,C){return _.expression!==C?f(tI(C),_):_}function RA(_,C){let A=_r(251);return A.expression=_,A.statement=I_(C),A.transformFlags|=es(A.expression)|es(A.statement),A.jsDoc=void 0,A.flowNode=void 0,A}function nI(_,C,A){return _.expression!==C||_.statement!==A?f(RA(C,A),_):_}function BA(_,C){let A=_r(252);return A.expression=x().parenthesizeExpressionForDisallowedComma(_),A.caseBlock=C,A.transformFlags|=es(A.expression)|es(A.caseBlock),A.jsDoc=void 0,A.flowNode=void 0,A.possiblyExhaustive=!1,A}function iv(_,C,A){return _.expression!==C||_.caseBlock!==A?f(BA(C,A),_):_}function iI(_,C){let A=_r(253);return A.label=Gu(_),A.statement=I_(C),A.transformFlags|=es(A.label)|es(A.statement),A.jsDoc=void 0,A.flowNode=void 0,A}function rI(_,C,A){return _.label!==C||_.statement!==A?f(iI(C,A),_):_}function sI(_){let C=_r(254);return C.expression=_,C.transformFlags|=es(C.expression),C.jsDoc=void 0,C.flowNode=void 0,C}function Oj(_,C){return _.expression!==C?f(sI(C),_):_}function oI(_,C,A){let O=_r(255);return O.tryBlock=_,O.catchClause=C,O.finallyBlock=A,O.transformFlags|=es(O.tryBlock)|es(O.catchClause)|es(O.finallyBlock),O.jsDoc=void 0,O.flowNode=void 0,O}function Mj(_,C,A,O){return _.tryBlock!==C||_.catchClause!==A||_.finallyBlock!==O?f(oI(C,A,O),_):_}function aI(){let _=_r(256);return _.jsDoc=void 0,_.flowNode=void 0,_}function LS(_,C,A,O){var Qe;let oi=po(257);return oi.name=Gu(_),oi.exclamationToken=C,oi.type=A,oi.initializer=l1(O),oi.transformFlags|=og(oi.name)|es(oi.initializer)|(((Qe=oi.exclamationToken)!=null?Qe:oi.type)?1:0),oi.jsDoc=void 0,oi}function lI(_,C,A,O,Qe){return _.name!==C||_.type!==O||_.exclamationToken!==A||_.initializer!==Qe?f(LS(C,A,O,Qe),_):_}function jA(_){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,A=_r(258);return A.flags|=C&3,A.declarations=Ws(_),A.transformFlags|=Ga(A.declarations)|4194304,C&3&&(A.transformFlags|=263168),A}function Rj(_,C){return _.declarations!==C?f(jA(C,_.flags),_):_}function uI(_,C,A,O,Qe,oi,xs){let Wo=po(259);if(Wo.modifiers=sl(_),Wo.asteriskToken=C,Wo.name=Gu(A),Wo.typeParameters=sl(O),Wo.parameters=Ws(Qe),Wo.type=oi,Wo.body=xs,!Wo.body||x_(Wo.modifiers)&2)Wo.transformFlags=1;else{let Pa=x_(Wo.modifiers)&512,rf=!!Wo.asteriskToken,um=Pa&&rf;Wo.transformFlags=Ga(Wo.modifiers)|es(Wo.asteriskToken)|og(Wo.name)|Ga(Wo.typeParameters)|Ga(Wo.parameters)|es(Wo.type)|es(Wo.body)&-67108865|(um?128:Pa?256:rf?2048:0)|(Wo.typeParameters||Wo.type?1:0)|4194304}return Wo.typeArguments=void 0,Wo.jsDoc=void 0,Wo.locals=void 0,Wo.nextContainer=void 0,Wo.endFlowNode=void 0,Wo.returnFlowNode=void 0,Wo}function WA(_,C,A,O,Qe,oi,xs,Wo){return _.modifiers!==C||_.asteriskToken!==A||_.name!==O||_.typeParameters!==Qe||_.parameters!==oi||_.type!==xs||_.body!==Wo?Bj(uI(C,A,O,Qe,oi,xs,Wo),_):_}function Bj(_,C){return _!==C&&_.modifiers===C.modifiers&&(_.modifiers=C.modifiers),Na(_,C)}function cI(_,C,A,O,Qe){let oi=po(260);return oi.modifiers=sl(_),oi.name=Gu(C),oi.typeParameters=sl(A),oi.heritageClauses=sl(O),oi.members=Ws(Qe),x_(oi.modifiers)&2?oi.transformFlags=1:(oi.transformFlags|=Ga(oi.modifiers)|og(oi.name)|Ga(oi.typeParameters)|Ga(oi.heritageClauses)|Ga(oi.members)|(oi.typeParameters?1:0)|1024,oi.transformFlags&8192&&(oi.transformFlags|=1)),oi.jsDoc=void 0,oi}function VA(_,C,A,O,Qe,oi){return _.modifiers!==C||_.name!==A||_.typeParameters!==O||_.heritageClauses!==Qe||_.members!==oi?f(cI(C,A,O,Qe,oi),_):_}function dI(_,C,A,O,Qe){let oi=po(261);return oi.modifiers=sl(_),oi.name=Gu(C),oi.typeParameters=sl(A),oi.heritageClauses=sl(O),oi.members=Ws(Qe),oi.transformFlags=1,oi.jsDoc=void 0,oi}function hI(_,C,A,O,Qe,oi){return _.modifiers!==C||_.name!==A||_.typeParameters!==O||_.heritageClauses!==Qe||_.members!==oi?f(dI(C,A,O,Qe,oi),_):_}function kc(_,C,A,O){let Qe=po(262);return Qe.modifiers=sl(_),Qe.name=Gu(C),Qe.typeParameters=sl(A),Qe.type=O,Qe.transformFlags=1,Qe.jsDoc=void 0,Qe.locals=void 0,Qe.nextContainer=void 0,Qe}function Q0(_,C,A,O,Qe){return _.modifiers!==C||_.name!==A||_.typeParameters!==O||_.type!==Qe?f(kc(C,A,O,Qe),_):_}function HA(_,C,A){let O=po(263);return O.modifiers=sl(_),O.name=Gu(C),O.members=Ws(A),O.transformFlags|=Ga(O.modifiers)|es(O.name)|Ga(O.members)|1,O.transformFlags&=-67108865,O.jsDoc=void 0,O}function Z0(_,C,A,O){return _.modifiers!==C||_.name!==A||_.members!==O?f(HA(C,A,O),_):_}function pI(_,C,A){let O=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,Qe=po(264);return Qe.modifiers=sl(_),Qe.flags|=O&1044,Qe.name=C,Qe.body=A,x_(Qe.modifiers)&2?Qe.transformFlags=1:Qe.transformFlags|=Ga(Qe.modifiers)|es(Qe.name)|es(Qe.body)|1,Qe.transformFlags&=-67108865,Qe.jsDoc=void 0,Qe.locals=void 0,Qe.nextContainer=void 0,Qe}function Vd(_,C,A,O){return _.modifiers!==C||_.name!==A||_.body!==O?f(pI(C,A,O,_.flags),_):_}function e1(_){let C=_r(265);return C.statements=Ws(_),C.transformFlags|=Ga(C.statements),C.jsDoc=void 0,C}function up(_,C){return _.statements!==C?f(e1(C),_):_}function fI(_){let C=_r(266);return C.clauses=Ws(_),C.transformFlags|=Ga(C.clauses),C.locals=void 0,C.nextContainer=void 0,C}function jj(_,C){return _.clauses!==C?f(fI(C),_):_}function _I(_){let C=po(267);return C.name=Gu(_),C.transformFlags|=rS(C.name)|1,C.modifiers=void 0,C.jsDoc=void 0,C}function gI(_,C){return _.name!==C?Wj(_I(C),_):_}function Wj(_,C){return _!==C&&(_.modifiers=C.modifiers),f(_,C)}function mI(_,C,A,O){let Qe=po(268);return Qe.modifiers=sl(_),Qe.name=Gu(A),Qe.isTypeOnly=C,Qe.moduleReference=O,Qe.transformFlags|=Ga(Qe.modifiers)|rS(Qe.name)|es(Qe.moduleReference),XN(Qe.moduleReference)||(Qe.transformFlags|=1),Qe.transformFlags&=-67108865,Qe.jsDoc=void 0,Qe}function yI(_,C,A,O,Qe){return _.modifiers!==C||_.isTypeOnly!==A||_.name!==O||_.moduleReference!==Qe?f(mI(C,A,O,Qe),_):_}function bI(_,C,A,O){let Qe=_r(269);return Qe.modifiers=sl(_),Qe.importClause=C,Qe.moduleSpecifier=A,Qe.assertClause=O,Qe.transformFlags|=es(Qe.importClause)|es(Qe.moduleSpecifier),Qe.transformFlags&=-67108865,Qe.jsDoc=void 0,Qe}function vI(_,C,A,O,Qe){return _.modifiers!==C||_.importClause!==A||_.moduleSpecifier!==O||_.assertClause!==Qe?f(bI(C,A,O,Qe),_):_}function CI(_,C,A){let O=po(270);return O.isTypeOnly=_,O.name=C,O.namedBindings=A,O.transformFlags|=es(O.name)|es(O.namedBindings),_&&(O.transformFlags|=1),O.transformFlags&=-67108865,O}function DI(_,C,A,O){return _.isTypeOnly!==C||_.name!==A||_.namedBindings!==O?f(CI(C,A,O),_):_}function $A(_,C){let A=_r(296);return A.elements=Ws(_),A.multiLine=C,A.transformFlags|=4,A}function Vj(_,C,A){return _.elements!==C||_.multiLine!==A?f($A(C,A),_):_}function y2(_,C){let A=_r(297);return A.name=_,A.value=C,A.transformFlags|=4,A}function wI(_,C,A){return _.name!==C||_.value!==A?f(y2(C,A),_):_}function zA(_,C){let A=_r(298);return A.assertClause=_,A.multiLine=C,A}function SI(_,C,A){return _.assertClause!==C||_.multiLine!==A?f(zA(C,A),_):_}function xI(_){let C=po(271);return C.name=_,C.transformFlags|=es(C.name),C.transformFlags&=-67108865,C}function UA(_,C){return _.name!==C?f(xI(C),_):_}function EI(_){let C=po(277);return C.name=_,C.transformFlags|=es(C.name)|4,C.transformFlags&=-67108865,C}function TI(_,C){return _.name!==C?f(EI(C),_):_}function AI(_){let C=_r(272);return C.elements=Ws(_),C.transformFlags|=Ga(C.elements),C.transformFlags&=-67108865,C}function Hj(_,C){return _.elements!==C?f(AI(C),_):_}function kI(_,C,A){let O=po(273);return O.isTypeOnly=_,O.propertyName=C,O.name=A,O.transformFlags|=es(O.propertyName)|es(O.name),O.transformFlags&=-67108865,O}function $j(_,C,A,O){return _.isTypeOnly!==C||_.propertyName!==A||_.name!==O?f(kI(C,A,O),_):_}function KA(_,C,A){let O=po(274);return O.modifiers=sl(_),O.isExportEquals=C,O.expression=C?x().parenthesizeRightSideOfBinary(63,void 0,A):x().parenthesizeExpressionOfExportDefault(A),O.transformFlags|=Ga(O.modifiers)|es(O.expression),O.transformFlags&=-67108865,O.jsDoc=void 0,O}function qA(_,C,A){return _.modifiers!==C||_.expression!==A?f(KA(C,_.isExportEquals,A),_):_}function Zm(_,C,A,O,Qe){let oi=po(275);return oi.modifiers=sl(_),oi.isTypeOnly=C,oi.exportClause=A,oi.moduleSpecifier=O,oi.assertClause=Qe,oi.transformFlags|=Ga(oi.modifiers)|es(oi.exportClause)|es(oi.moduleSpecifier),oi.transformFlags&=-67108865,oi.jsDoc=void 0,oi}function LI(_,C,A,O,Qe,oi){return _.modifiers!==C||_.isTypeOnly!==A||_.exportClause!==O||_.moduleSpecifier!==Qe||_.assertClause!==oi?NI(Zm(C,A,O,Qe,oi),_):_}function NI(_,C){return _!==C&&_.modifiers===C.modifiers&&(_.modifiers=C.modifiers),f(_,C)}function rv(_){let C=_r(276);return C.elements=Ws(_),C.transformFlags|=Ga(C.elements),C.transformFlags&=-67108865,C}function II(_,C){return _.elements!==C?f(rv(C),_):_}function GA(_,C,A){let O=_r(278);return O.isTypeOnly=_,O.propertyName=Gu(C),O.name=Gu(A),O.transformFlags|=es(O.propertyName)|es(O.name),O.transformFlags&=-67108865,O.jsDoc=void 0,O}function b2(_,C,A,O){return _.isTypeOnly!==C||_.propertyName!==A||_.name!==O?f(GA(C,A,O),_):_}function zj(){let _=po(279);return _.jsDoc=void 0,_}function FI(_){let C=_r(280);return C.expression=_,C.transformFlags|=es(C.expression),C.transformFlags&=-67108865,C}function PI(_,C){return _.expression!==C?f(FI(C),_):_}function Uj(_){return _r(_)}function OI(_,C){let A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,O=NS(_,A?C&&x().parenthesizeNonArrayTypeOfPostfixType(C):C);return O.postfix=A,O}function NS(_,C){let A=_r(_);return A.type=C,A}function MI(_,C,A){return C.type!==A?f(OI(_,A,C.postfix),C):C}function Kj(_,C,A){return C.type!==A?f(NS(_,A),C):C}function RI(_,C){let A=po(320);return A.parameters=sl(_),A.type=C,A.transformFlags=Ga(A.parameters)|(A.type?1:0),A.jsDoc=void 0,A.locals=void 0,A.nextContainer=void 0,A.typeArguments=void 0,A}function qj(_,C,A){return _.parameters!==C||_.type!==A?f(RI(C,A),_):_}function BI(_){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,A=po(325);return A.jsDocPropertyTags=sl(_),A.isArrayType=C,A}function Gj(_,C,A){return _.jsDocPropertyTags!==C||_.isArrayType!==A?f(BI(C,A),_):_}function jI(_){let C=_r(312);return C.type=_,C}function Jj(_,C){return _.type!==C?f(jI(C),_):_}function WI(_,C,A){let O=po(326);return O.typeParameters=sl(_),O.parameters=Ws(C),O.type=A,O.jsDoc=void 0,O.locals=void 0,O.nextContainer=void 0,O}function JA(_,C,A,O){return _.typeParameters!==C||_.parameters!==A||_.type!==O?f(WI(C,A,O),_):_}function hg(_){let C=WN(_.kind);return _.tagName.escapedText===Jg(C)?_.tagName:lu(C)}function t1(_,C,A){let O=_r(_);return O.tagName=C,O.comment=A,O}function n1(_,C,A){let O=po(_);return O.tagName=C,O.comment=A,O}function v2(_,C,A,O){let Qe=t1(348,_!=null?_:lu(\"template\"),O);return Qe.constraint=C,Qe.typeParameters=Ws(A),Qe}function YA(_){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hg(_),A=arguments.length>2?arguments[2]:void 0,O=arguments.length>3?arguments[3]:void 0,Qe=arguments.length>4?arguments[4]:void 0;return _.tagName!==C||_.constraint!==A||_.typeParameters!==O||_.comment!==Qe?f(v2(C,A,O,Qe),_):_}function XA(_,C,A,O){let Qe=n1(349,_!=null?_:lu(\"typedef\"),O);return Qe.typeExpression=C,Qe.fullName=A,Qe.name=nj(A),Qe.locals=void 0,Qe.nextContainer=void 0,Qe}function VI(_){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hg(_),A=arguments.length>2?arguments[2]:void 0,O=arguments.length>3?arguments[3]:void 0,Qe=arguments.length>4?arguments[4]:void 0;return _.tagName!==C||_.typeExpression!==A||_.fullName!==O||_.comment!==Qe?f(XA(C,A,O,Qe),_):_}function IS(_,C,A,O,Qe,oi){let xs=n1(344,_!=null?_:lu(\"param\"),oi);return xs.typeExpression=O,xs.name=C,xs.isNameFirst=!!Qe,xs.isBracketed=A,xs}function Yj(_){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hg(_),A=arguments.length>2?arguments[2]:void 0,O=arguments.length>3?arguments[3]:void 0,Qe=arguments.length>4?arguments[4]:void 0,oi=arguments.length>5?arguments[5]:void 0,xs=arguments.length>6?arguments[6]:void 0;return _.tagName!==C||_.name!==A||_.isBracketed!==O||_.typeExpression!==Qe||_.isNameFirst!==oi||_.comment!==xs?f(IS(C,A,O,Qe,oi,xs),_):_}function QA(_,C,A,O,Qe,oi){let xs=n1(351,_!=null?_:lu(\"prop\"),oi);return xs.typeExpression=O,xs.name=C,xs.isNameFirst=!!Qe,xs.isBracketed=A,xs}function Xj(_){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hg(_),A=arguments.length>2?arguments[2]:void 0,O=arguments.length>3?arguments[3]:void 0,Qe=arguments.length>4?arguments[4]:void 0,oi=arguments.length>5?arguments[5]:void 0,xs=arguments.length>6?arguments[6]:void 0;return _.tagName!==C||_.name!==A||_.isBracketed!==O||_.typeExpression!==Qe||_.isNameFirst!==oi||_.comment!==xs?f(QA(C,A,O,Qe,oi,xs),_):_}function HI(_,C,A,O){let Qe=n1(341,_!=null?_:lu(\"callback\"),O);return Qe.typeExpression=C,Qe.fullName=A,Qe.name=nj(A),Qe.locals=void 0,Qe.nextContainer=void 0,Qe}function $I(_){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hg(_),A=arguments.length>2?arguments[2]:void 0,O=arguments.length>3?arguments[3]:void 0,Qe=arguments.length>4?arguments[4]:void 0;return _.tagName!==C||_.typeExpression!==A||_.fullName!==O||_.comment!==Qe?f(HI(C,A,O,Qe),_):_}function zI(_,C,A){let O=t1(342,_!=null?_:lu(\"overload\"),A);return O.typeExpression=C,O}function UI(_){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hg(_),A=arguments.length>2?arguments[2]:void 0,O=arguments.length>3?arguments[3]:void 0;return _.tagName!==C||_.typeExpression!==A||_.comment!==O?f(zI(C,A,O),_):_}function KI(_,C,A){let O=t1(331,_!=null?_:lu(\"augments\"),A);return O.class=C,O}function ZA(_){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hg(_),A=arguments.length>2?arguments[2]:void 0,O=arguments.length>3?arguments[3]:void 0;return _.tagName!==C||_.class!==A||_.comment!==O?f(KI(C,A,O),_):_}function ek(_,C,A){let O=t1(332,_!=null?_:lu(\"implements\"),A);return O.class=C,O}function sv(_,C,A){let O=t1(350,_!=null?_:lu(\"see\"),A);return O.name=C,O}function Qj(_,C,A,O){return _.tagName!==C||_.name!==A||_.comment!==O?f(sv(C,A,O),_):_}function jy(_){let C=_r(313);return C.name=_,C}function FS(_,C){return _.name!==C?f(jy(C),_):_}function qI(_,C){let A=_r(314);return A.left=_,A.right=C,A.transformFlags|=es(A.left)|es(A.right),A}function Zj(_,C,A){return _.left!==C||_.right!==A?f(qI(C,A),_):_}function GI(_,C){let A=_r(327);return A.name=_,A.text=C,A}function eW(_,C,A){return _.name!==C?f(GI(C,A),_):_}function JI(_,C){let A=_r(328);return A.name=_,A.text=C,A}function YI(_,C,A){return _.name!==C?f(JI(C,A),_):_}function XI(_,C){let A=_r(329);return A.name=_,A.text=C,A}function tW(_,C,A){return _.name!==C?f(XI(C,A),_):_}function nW(_){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hg(_),A=arguments.length>2?arguments[2]:void 0,O=arguments.length>3?arguments[3]:void 0;return _.tagName!==C||_.class!==A||_.comment!==O?f(ek(C,A,O),_):_}function QI(_,C,A){return t1(_,C!=null?C:lu(WN(_)),A)}function iW(_,C){let A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:hg(C),O=arguments.length>3?arguments[3]:void 0;return C.tagName!==A||C.comment!==O?f(QI(_,A,O),C):C}function ZI(_,C,A,O){let Qe=t1(_,C!=null?C:lu(WN(_)),O);return Qe.typeExpression=A,Qe}function rW(_,C){let A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:hg(C),O=arguments.length>3?arguments[3]:void 0,Qe=arguments.length>4?arguments[4]:void 0;return C.tagName!==A||C.typeExpression!==O||C.comment!==Qe?f(ZI(_,A,O,Qe),C):C}function eF(_,C){return t1(330,_,C)}function sW(_,C,A){return _.tagName!==C||_.comment!==A?f(eF(C,A),_):_}function tF(_,C,A){let O=n1(343,_!=null?_:lu(WN(343)),A);return O.typeExpression=C,O.locals=void 0,O.nextContainer=void 0,O}function oW(_){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hg(_),A=arguments.length>2?arguments[2]:void 0,O=arguments.length>3?arguments[3]:void 0;return _.tagName!==C||_.typeExpression!==A||_.comment!==O?f(tF(C,A,O),_):_}function nF(_){let C=_r(324);return C.text=_,C}function tk(_,C){return _.text!==C?f(nF(C),_):_}function iF(_,C){let A=_r(323);return A.comment=_,A.tags=sl(C),A}function rF(_,C,A){return _.comment!==C||_.tags!==A?f(iF(C,A),_):_}function nk(_,C,A){let O=_r(281);return O.openingElement=_,O.children=Ws(C),O.closingElement=A,O.transformFlags|=es(O.openingElement)|Ga(O.children)|es(O.closingElement)|2,O}function aW(_,C,A,O){return _.openingElement!==C||_.children!==A||_.closingElement!==O?f(nk(C,A,O),_):_}function C2(_,C,A){let O=_r(282);return O.tagName=_,O.typeArguments=sl(C),O.attributes=A,O.transformFlags|=es(O.tagName)|Ga(O.typeArguments)|es(O.attributes)|2,O.typeArguments&&(O.transformFlags|=1),O}function sF(_,C,A,O){return _.tagName!==C||_.typeArguments!==A||_.attributes!==O?f(C2(C,A,O),_):_}function oF(_,C,A){let O=_r(283);return O.tagName=_,O.typeArguments=sl(C),O.attributes=A,O.transformFlags|=es(O.tagName)|Ga(O.typeArguments)|es(O.attributes)|2,C&&(O.transformFlags|=1),O}function lW(_,C,A,O){return _.tagName!==C||_.typeArguments!==A||_.attributes!==O?f(oF(C,A,O),_):_}function Lp(_){let C=_r(284);return C.tagName=_,C.transformFlags|=es(C.tagName)|2,C}function aF(_,C){return _.tagName!==C?f(Lp(C),_):_}function ik(_,C,A){let O=_r(285);return O.openingFragment=_,O.children=Ws(C),O.closingFragment=A,O.transformFlags|=es(O.openingFragment)|Ga(O.children)|es(O.closingFragment)|2,O}function uW(_,C,A,O){return _.openingFragment!==C||_.children!==A||_.closingFragment!==O?f(ik(C,A,O),_):_}function D2(_,C){let A=_r(11);return A.text=_,A.containsOnlyTriviaWhiteSpaces=!!C,A.transformFlags|=2,A}function cW(_,C,A){return _.text!==C||_.containsOnlyTriviaWhiteSpaces!==A?f(D2(C,A),_):_}function PS(){let _=_r(286);return _.transformFlags|=2,_}function dW(){let _=_r(287);return _.transformFlags|=2,_}function lF(_,C){let A=po(288);return A.name=_,A.initializer=C,A.transformFlags|=es(A.name)|es(A.initializer)|2,A}function hW(_,C,A){return _.name!==C||_.initializer!==A?f(lF(C,A),_):_}function uF(_){let C=po(289);return C.properties=Ws(_),C.transformFlags|=Ga(C.properties)|2,C}function rk(_,C){return _.properties!==C?f(uF(C),_):_}function ov(_){let C=_r(290);return C.expression=_,C.transformFlags|=es(C.expression)|2,C}function pW(_,C){return _.expression!==C?f(ov(C),_):_}function OS(_,C){let A=_r(291);return A.dotDotDotToken=_,A.expression=C,A.transformFlags|=es(A.dotDotDotToken)|es(A.expression)|2,A}function cF(_,C){return _.expression!==C?f(OS(_.dotDotDotToken,C),_):_}function dF(_,C){let A=_r(292);return A.expression=x().parenthesizeExpressionForDisallowedComma(_),A.statements=Ws(C),A.transformFlags|=es(A.expression)|Ga(A.statements),A.jsDoc=void 0,A}function sk(_,C,A){return _.expression!==C||_.statements!==A?f(dF(C,A),_):_}function ok(_){let C=_r(293);return C.statements=Ws(_),C.transformFlags=Ga(C.statements),C}function fW(_,C){return _.statements!==C?f(ok(C),_):_}function hF(_,C){let A=_r(294);switch(A.token=_,A.types=Ws(C),A.transformFlags|=Ga(A.types),_){case 94:A.transformFlags|=1024;break;case 117:A.transformFlags|=1;break;default:return Bn.assertNever(_)}return A}function pF(_,C){return _.types!==C?f(hF(_.token,C),_):_}function ak(_,C){let A=_r(295);return A.variableDeclaration=MF(_),A.block=C,A.transformFlags|=es(A.variableDeclaration)|es(A.block)|(_?0:64),A.locals=void 0,A.nextContainer=void 0,A}function fF(_,C,A){return _.variableDeclaration!==C||_.block!==A?f(ak(C,A),_):_}function i1(_,C){let A=po(299);return A.name=Gu(_),A.initializer=x().parenthesizeExpressionForDisallowedComma(C),A.transformFlags|=og(A.name)|es(A.initializer),A.modifiers=void 0,A.questionToken=void 0,A.exclamationToken=void 0,A.jsDoc=void 0,A}function _W(_,C,A){return _.name!==C||_.initializer!==A?gW(i1(C,A),_):_}function gW(_,C){return _!==C&&(_.modifiers=C.modifiers,_.questionToken=C.questionToken,_.exclamationToken=C.exclamationToken),f(_,C)}function _F(_,C){let A=po(300);return A.name=Gu(_),A.objectAssignmentInitializer=C&&x().parenthesizeExpressionForDisallowedComma(C),A.transformFlags|=rS(A.name)|es(A.objectAssignmentInitializer)|1024,A.equalsToken=void 0,A.modifiers=void 0,A.questionToken=void 0,A.exclamationToken=void 0,A.jsDoc=void 0,A}function mW(_,C,A){return _.name!==C||_.objectAssignmentInitializer!==A?gF(_F(C,A),_):_}function gF(_,C){return _!==C&&(_.modifiers=C.modifiers,_.questionToken=C.questionToken,_.exclamationToken=C.exclamationToken,_.equalsToken=C.equalsToken),f(_,C)}function lk(_){let C=po(301);return C.expression=x().parenthesizeExpressionForDisallowedComma(_),C.transformFlags|=es(C.expression)|128|65536,C.jsDoc=void 0,C}function am(_,C){return _.expression!==C?f(lk(C),_):_}function uk(_,C){let A=po(302);return A.name=Gu(_),A.initializer=C&&x().parenthesizeExpressionForDisallowedComma(C),A.transformFlags|=es(A.name)|es(A.initializer)|1,A.jsDoc=void 0,A}function yW(_,C,A){return _.name!==C||_.initializer!==A?f(uk(C,A),_):_}function bW(_,C,A){let O=c.createBaseSourceFileNode(308);return O.statements=Ws(_),O.endOfFileToken=C,O.flags|=A,O.text=\"\",O.fileName=\"\",O.path=\"\",O.resolvedPath=\"\",O.originalFileName=\"\",O.languageVersion=0,O.languageVariant=0,O.scriptKind=0,O.isDeclarationFile=!1,O.hasNoDefaultLib=!1,O.transformFlags|=Ga(O.statements)|es(O.endOfFileToken),O.locals=void 0,O.nextContainer=void 0,O.endFlowNode=void 0,O.nodeCount=0,O.identifierCount=0,O.symbolCount=0,O.parseDiagnostics=void 0,O.bindDiagnostics=void 0,O.bindSuggestionDiagnostics=void 0,O.lineMap=void 0,O.externalModuleIndicator=void 0,O.setExternalModuleIndicator=void 0,O.pragmas=void 0,O.checkJsDirective=void 0,O.referencedFiles=void 0,O.typeReferenceDirectives=void 0,O.libReferenceDirectives=void 0,O.amdDependencies=void 0,O.commentDirectives=void 0,O.identifiers=void 0,O.packageJsonLocations=void 0,O.packageJsonScope=void 0,O.imports=void 0,O.moduleAugmentations=void 0,O.ambientModuleNames=void 0,O.resolvedModules=void 0,O.classifiableNames=void 0,O.impliedNodeFormat=void 0,O}function mF(_){let C=Object.create(_.redirectTarget);return Object.defineProperties(C,{id:{get(){return this.redirectInfo.redirectTarget.id},set(A){this.redirectInfo.redirectTarget.id=A}},symbol:{get(){return this.redirectInfo.redirectTarget.symbol},set(A){this.redirectInfo.redirectTarget.symbol=A}}}),C.redirectInfo=_,C}function yF(_){let C=mF(_.redirectInfo);return C.flags|=_.flags&-9,C.fileName=_.fileName,C.path=_.path,C.resolvedPath=_.resolvedPath,C.originalFileName=_.originalFileName,C.packageJsonLocations=_.packageJsonLocations,C.packageJsonScope=_.packageJsonScope,C.emitNode=void 0,C}function ck(_){let C=c.createBaseSourceFileNode(308);C.flags|=_.flags&-9;for(let A in _)if(!(Yo(C,A)||!Yo(_,A))){if(A===\"emitNode\"){C.emitNode=void 0;continue}C[A]=_[A]}return C}function bF(_){let C=_.redirectInfo?yF(_):ck(_);return zf(C,_),C}function vW(_,C,A,O,Qe,oi,xs){let Wo=bF(_);return Wo.statements=Ws(C),Wo.isDeclarationFile=A,Wo.referencedFiles=O,Wo.typeReferenceDirectives=Qe,Wo.hasNoDefaultLib=oi,Wo.libReferenceDirectives=xs,Wo.transformFlags=Ga(Wo.statements)|es(Wo.endOfFileToken),Wo}function vF(_,C){let A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:_.isDeclarationFile,O=arguments.length>3&&arguments[3]!==void 0?arguments[3]:_.referencedFiles,Qe=arguments.length>4&&arguments[4]!==void 0?arguments[4]:_.typeReferenceDirectives,oi=arguments.length>5&&arguments[5]!==void 0?arguments[5]:_.hasNoDefaultLib,xs=arguments.length>6&&arguments[6]!==void 0?arguments[6]:_.libReferenceDirectives;return _.statements!==C||_.isDeclarationFile!==A||_.referencedFiles!==O||_.typeReferenceDirectives!==Qe||_.hasNoDefaultLib!==oi||_.libReferenceDirectives!==xs?f(vW(_,C,A,O,Qe,oi,xs),_):_}function CF(_){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ci,A=_r(309);return A.prepends=C,A.sourceFiles=_,A.syntheticFileReferences=void 0,A.syntheticTypeReferences=void 0,A.syntheticLibReferences=void 0,A.hasNoDefaultLib=void 0,A}function CW(_,C){let A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ci;return _.sourceFiles!==C||_.prepends!==A?f(CF(C,A),_):_}function MS(_,C,A){let O=_r(310);return O.prologues=_,O.syntheticReferences=C,O.texts=A,O.fileName=\"\",O.text=\"\",O.referencedFiles=Ci,O.libReferenceDirectives=Ci,O.getLineAndCharacterOfPosition=Qe=>Bb(O,Qe),O}function RS(_,C){let A=_r(_);return A.data=C,A}function DW(_){return RS(303,_)}function wW(_,C){let A=RS(304,_);return A.texts=C,A}function SW(_,C){return RS(C?306:305,_)}function xW(_){let C=_r(307);return C.data=_.data,C.section=_,C}function EW(){let _=_r(311);return _.javascriptText=\"\",_.declarationText=\"\",_}function DF(_){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,A=arguments.length>2?arguments[2]:void 0,O=_r(234);return O.type=_,O.isSpread=C,O.tupleNameSource=A,O}function wF(_){let C=_r(354);return C._children=_,C}function SF(_){let C=_r(355);return C.original=_,Vl(C,_),C}function xF(_,C){let A=_r(356);return A.expression=_,A.original=C,A.transformFlags|=es(A.expression)|1,Vl(A,C),A}function EF(_,C){return _.expression!==C?f(xF(C,_.original),_):_}function TF(_){if(ky(_)&&!_T(_)&&!_.original&&!_.emitNode&&!_.id){if(dS(_))return _.elements;if(zc(_)&&Ate(_.operatorToken))return[_.left,_.right]}return _}function BS(_){let C=_r(357);return C.elements=Ws(Jo(_,TF)),C.transformFlags|=Ga(C.elements),C}function TW(_,C){return _.elements!==C?f(BS(C),_):_}function AW(_){let C=_r(359);return C.emitNode={},C.original=_,C}function kW(_){let C=_r(358);return C.emitNode={},C.original=_,C}function AF(_,C){let A=_r(360);return A.expression=_,A.thisArg=C,A.transformFlags|=es(A.expression)|es(A.thisArg),A}function dk(_,C,A){return _.expression!==C||_.thisArg!==A?f(AF(C,A),_):_}function LW(_){let C=Zp(_.escapedText);return C.flags|=_.flags&-9,C.transformFlags=_.transformFlags,zf(C,_),setIdentifierAutoGenerate(C,Object.assign({},_.emitNode.autoGenerate)),C}function NW(_){let C=Zp(_.escapedText);C.flags|=_.flags&-9,C.jsDoc=_.jsDoc,C.flowNode=_.flowNode,C.symbol=_.symbol,C.transformFlags=_.transformFlags,zf(C,_);let A=getIdentifierTypeArguments(_);return A&&setIdentifierTypeArguments(C,A),C}function IW(_){let C=tf(_.escapedText);return C.flags|=_.flags&-9,C.transformFlags=_.transformFlags,zf(C,_),setIdentifierAutoGenerate(C,Object.assign({},_.emitNode.autoGenerate)),C}function FW(_){let C=tf(_.escapedText);return C.flags|=_.flags&-9,C.transformFlags=_.transformFlags,zf(C,_),C}function hk(_){if(_===void 0)return _;if(tm(_))return bF(_);if(xy(_))return LW(_);if(Ja(_))return NW(_);if(uM(_))return IW(_);if(wf(_))return FW(_);let C=vT(_.kind)?c.createBaseNode(_.kind):c.createBaseTokenNode(_.kind);C.flags|=_.flags&-9,C.transformFlags=_.transformFlags,zf(C,_);for(let A in _)Yo(C,A)||!Yo(_,A)||(C[A]=_[A]);return C}function PW(_,C,A){return Y0(CA(void 0,void 0,void 0,void 0,C?[C]:[],void 0,nv(_,!0)),void 0,A?[A]:[])}function jS(_,C,A){return Y0(DA(void 0,void 0,C?[C]:[],void 0,void 0,nv(_,!0)),void 0,A?[A]:[])}function WS(){return cg(wu(\"0\"))}function kF(_){return KA(void 0,!1,_)}function OW(_){return Zm(void 0,!1,rv([GA(!1,void 0,_)]))}function MW(_,C){return C===\"undefined\"?So.createStrictEquality(_,WS()):So.createStrictEquality(nf(_),hc(C))}function r1(_,C,A){return iM(_)?mA(Zb(_,void 0,C),void 0,void 0,A):Y0(Xm(_,C),void 0,A)}function RW(_,C,A){return r1(_,\"bind\",[C,...A])}function BW(_,C,A){return r1(_,\"call\",[C,...A])}function jW(_,C,A){return r1(_,\"apply\",[C,A])}function av(_,C,A){return r1(lu(_),C,A)}function LF(_,C){return r1(_,\"slice\",C===void 0?[]:[a1(C)])}function NF(_,C){return r1(_,\"concat\",C)}function L(_,C,A){return av(\"Object\",\"defineProperty\",[_,a1(C),A])}function pe(_,C){return av(\"Object\",\"getOwnPropertyDescriptor\",[_,a1(C)])}function ut(_,C,A){return av(\"Reflect\",\"get\",A?[_,C,A]:[_,C])}function rn(_,C,A,O){return av(\"Reflect\",\"set\",O?[_,C,A,O]:[_,C,A])}function jn(_,C,A){return A?(_.push(i1(C,A)),!0):!1}function rr(_,C){let A=[];jn(A,\"enumerable\",a1(_.enumerable)),jn(A,\"configurable\",a1(_.configurable));let O=jn(A,\"writable\",a1(_.writable));O=jn(A,\"value\",_.value)||O;let Qe=jn(A,\"get\",_.get);return Qe=jn(A,\"set\",_.set)||Qe,Bn.assert(!(O&&Qe),\"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor.\"),f2(A,!C)}function bs(_,C){switch(_.kind){case 214:return T6(_,C);case 213:return E6(_,_.type,C);case 231:return j6(_,C,_.type);case 235:return NA(_,C,_.type);case 232:return LA(_,C);case 356:return EF(_,C)}}function io(_){return ZC(_)&&ky(_)&&ky(getSourceMapRange(_))&&ky(getCommentRange(_))&&!so(getSyntheticLeadingComments(_))&&!so(getSyntheticTrailingComments(_))}function uo(_,C){let A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:15;return _&&r6(_,A)&&!io(_)?bs(_,uo(_.expression,C)):C}function ro(_,C,A){if(!C)return _;let O=rI(C,C.label,Qte(C.statement)?ro(_,C.statement):_);return A&&A(C),O}function ka(_,C){let A=NT(_);switch(A.kind){case 79:return C;case 108:case 8:case 9:case 10:return!1;case 206:return A.elements.length!==0;case 207:return A.properties.length>0;default:return!0}}function Ql(_,C,A){let O=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Qe=o2(_,15),oi,xs;return lN(Qe)?(oi=xh(),xs=Qe):$N(Qe)?(oi=xh(),xs=A!==void 0&&A<2?Vl(lu(\"_super\"),Qe):Qe):Zg(Qe)&8192?(oi=WS(),xs=x().parenthesizeLeftSideOfAccess(Qe,!1)):Sf(Qe)?ka(Qe.expression,O)?(oi=Uf(C),xs=Xm(Vl(So.createAssignment(oi,Qe.expression),Qe.expression),Qe.name),Vl(xs,Qe)):(oi=Qe.expression,xs=Qe):Fy(Qe)?ka(Qe.expression,O)?(oi=Uf(C),xs=_A(Vl(So.createAssignment(oi,Qe.expression),Qe.expression),Qe.argumentExpression),Vl(xs,Qe)):(oi=Qe.expression,xs=Qe):(oi=WS(),xs=x().parenthesizeLeftSideOfAccess(_,!1)),{target:xs,thisArg:oi}}function Ol(_,C){return Xm(vA(f2([im(void 0,\"value\",[A_(void 0,void 0,_,void 0,void 0,void 0)],nv([m2(C)]))])),\"value\")}function ul(_){return _.length>10?BS(_):Ma(_,So.createComma)}function Uh(_,C,A){let O=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,Qe=yT(_);if(Qe&&Ja(Qe)&&!xy(Qe)){let oi=B0(Vl(hk(Qe),Qe),Qe.parent);return O|=Zg(Qe),A||(O|=96),C||(O|=3072),O&&setEmitFlags(oi,O),oi}return zm(_)}function e_(_,C,A){return Uh(_,C,A,98304)}function pg(_,C,A){return Uh(_,C,A,32768)}function lm(_,C,A){return Uh(_,C,A,16384)}function Np(_,C,A){return Uh(_,C,A)}function s1(_,C,A,O){let Qe=Xm(_,ky(C)?C:hk(C));Vl(Qe,C);let oi=0;return O||(oi|=96),A||(oi|=3072),oi&&setEmitFlags(Qe,oi),Qe}function IF(_,C,A,O){return _&&Tp(C,1)?s1(_,Uh(C),A,O):lm(C,A,O)}function pk(_,C,A,O){let Qe=o1(_,C,0,A);return fk(_,C,Qe,O)}function FF(_){return T_(_.expression)&&_.expression.text===\"use strict\"}function kf(){return s6(m2(hc(\"use strict\")))}function o1(_,C){let A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,O=arguments.length>3?arguments[3]:void 0;Bn.assert(C.length===0,\"Prologue directives should be at the first statement in the target statements array\");let Qe=!1,oi=_.length;for(;A<oi;){let xs=_[A];if(Ty(xs))FF(xs)&&(Qe=!0),C.push(xs);else break;A++}return O&&!Qe&&C.push(kf()),A}function fk(_,C,A,O){let Qe=arguments.length>4&&arguments[4]!==void 0?arguments[4]:gy,oi=_.length;for(;A!==void 0&&A<oi;){let xs=_[A];if(Zg(xs)&2097152&&Qe(xs))Ye(C,O?visitNode(xs,O,nQ):xs);else break;A++}return A}function cp(_){return yne(_)?_:Vl(Ws([kf(),..._]),_)}function VS(_){return Bn.assert(yn(_,iQ),\"Cannot lift nodes to a Block.\"),Qi(_)||nv(_)}function Wy(_,C,A){let O=A;for(;O<_.length&&C(_[O]);)O++;return O}function PF(_,C){if(!so(C))return _;let A=Wy(_,Ty,0),O=Wy(_,jM,A),Qe=Wy(_,WM,O),oi=Wy(C,Ty,0),xs=Wy(C,jM,oi),Wo=Wy(C,WM,xs),Pa=Wy(C,aN,Wo);Bn.assert(Pa===C.length,\"Expected declarations to be valid standard or custom prologues\");let rf=Sy(_)?_.slice():_;if(Pa>Wo&&rf.splice(Qe,0,...C.slice(Wo,Pa)),Wo>xs&&rf.splice(O,0,...C.slice(xs,Wo)),xs>oi&&rf.splice(A,0,...C.slice(oi,xs)),oi>0)if(A===0)rf.splice(0,0,...C.slice(0,oi));else{let um=new Map;for(let e0=0;e0<A;e0++){let cm=_[e0];um.set(cm.expression.text,!0)}for(let e0=oi-1;e0>=0;e0--){let cm=C[e0];um.has(cm.expression.text)||rf.unshift(cm)}}return Sy(_)?Vl(Ws(rf,_.hasTrailingComma),_):_}function OF(_,C){var A;let O;return typeof C==\"number\"?O=op(C):O=C,XC(_)?V0(_,O,_.name,_.constraint,_.default):Gb(_)?Um(_,O,_.dotDotDotToken,_.name,_.questionToken,_.type,_.initializer):SB(_)?Fa(_,O,_.typeParameters,_.parameters,_.type):qT(_)?rl(_,O,_.name,_.questionToken,_.type):QC(_)?la(_,O,_.name,(A=_.questionToken)!=null?A:_.exclamationToken,_.type,_.initializer):Ite(_)?Vu(_,O,_.name,_.questionToken,_.typeParameters,_.parameters,_.type):GT(_)?ws(_,O,_.asteriskToken,_.name,_.questionToken,_.typeParameters,_.parameters,_.type,_.body):aS(_)?Hl(_,O,_.parameters,_.body):YT(_)?Yf(_,O,_.name,_.parameters,_.type,_.body):lS(_)?qm(_,O,_.name,_.parameters,_.body):wB(_)?U0(_,O,_.parameters,_.type):UN(_)?A6(_,O,_.asteriskToken,_.name,_.typeParameters,_.parameters,_.type,_.body):KN(_)?k6(_,O,_.typeParameters,_.parameters,_.type,_.equalsGreaterThanToken,_.body):GN(_)?TS(_,O,_.name,_.typeParameters,_.heritageClauses,_.members):t2(_)?q6(_,O,_.declarationList):n2(_)?WA(_,O,_.asteriskToken,_.name,_.typeParameters,_.parameters,_.type,_.body):hS(_)?VA(_,O,_.name,_.typeParameters,_.heritageClauses,_.members):iA(_)?hI(_,O,_.name,_.typeParameters,_.heritageClauses,_.members):PB(_)?Q0(_,O,_.name,_.typeParameters,_.type):OB(_)?Z0(_,O,_.name,_.members):W0(_)?Vd(_,O,_.name,_.body):RB(_)?yI(_,O,_.isTypeOnly,_.name,_.moduleReference):BB(_)?vI(_,O,_.importClause,_.moduleSpecifier,_.assertClause):i2(_)?qA(_,O,_.expression):pS(_)?LI(_,O,_.isTypeOnly,_.exportClause,_.moduleSpecifier,_.assertClause):Bn.assertNever(_)}function sl(_){return _?Ws(_):void 0}function Gu(_){return typeof _==\"string\"?lu(_):_}function a1(_){return typeof _==\"string\"?hc(_):typeof _==\"number\"?wu(_):typeof _==\"boolean\"?_?Tc():lg():_}function l1(_){return _&&x().parenthesizeExpressionForDisallowedComma(_)}function WW(_){return typeof _==\"number\"?Uc(_):_}function I_(_){return _&&WB(_)?Vl(zf(IA(),_),_):_}function MF(_){return typeof _==\"string\"||_&&!Vm(_)?LS(_,void 0,void 0,void 0):_}}function fDe(r,c){return r!==c&&Vl(r,c),r}function _De(r,c){return r!==c&&(zf(r,c),Vl(r,c)),r}function WN(r){switch(r){case 347:return\"type\";case 345:return\"returns\";case 346:return\"this\";case 343:return\"enum\";case 333:return\"author\";case 335:return\"class\";case 336:return\"public\";case 337:return\"private\";case 338:return\"protected\";case 339:return\"readonly\";case 340:return\"override\";case 348:return\"template\";case 349:return\"typedef\";case 344:return\"param\";case 351:return\"prop\";case 341:return\"callback\";case 342:return\"overload\";case 331:return\"augments\";case 332:return\"implements\";default:return Bn.fail(`Unsupported kind: ${Bn.formatSyntaxKind(r)}`)}}function gDe(r,c){switch(E_||(E_=WC(99,!1,0)),r){case 14:E_.setText(\"`\"+c+\"`\");break;case 15:E_.setText(\"`\"+c+\"${\");break;case 16:E_.setText(\"}\"+c+\"${\");break;case 17:E_.setText(\"}\"+c+\"`\");break}let f=E_.scan();if(f===19&&(f=E_.reScanTemplateToken(!1)),E_.isUnterminated())return E_.setText(void 0),yB;let x;switch(f){case 14:case 15:case 16:case 17:x=E_.getTokenValue();break}return x===void 0||E_.scan()!==1?(E_.setText(void 0),yB):(E_.setText(void 0),x)}function og(r){return r&&Ja(r)?rS(r):es(r)}function rS(r){return es(r)&-67108865}function mDe(r,c){return c|r.transformFlags&134234112}function es(r){if(!r)return 0;let c=r.transformFlags&~Dte(r.kind);return U4(r)&&DT(r.name)?mDe(r.name,c):c}function Ga(r){return r?r.transformFlags:0}function Cte(r){let c=0;for(let f of r)c|=es(f);r.transformFlags=c}function Dte(r){if(r>=179&&r<=202)return-2;switch(r){case 210:case 211:case 206:return-2147450880;case 264:return-1941676032;case 166:return-2147483648;case 216:return-2072174592;case 215:case 259:return-1937940480;case 258:return-2146893824;case 260:case 228:return-2147344384;case 173:return-1937948672;case 169:return-2013249536;case 171:case 174:case 175:return-2005057536;case 131:case 148:case 160:case 144:case 152:case 149:case 134:case 153:case 114:case 165:case 168:case 170:case 176:case 177:case 178:case 261:case 262:return-2;case 207:return-2147278848;case 295:return-2147418112;case 203:case 204:return-2147450880;case 213:case 235:case 231:case 356:case 214:case 106:return-2147483648;case 208:case 209:return-2147483648;default:return-2147483648}}function HT(r){return r.flags|=8,r}function yDe(r,c,f){let x,B,De,ke,Be,te,wn,st,wi,an;nd(r)?(De=\"\",ke=r,Be=r.length,te=c,wn=f):(Bn.assert(c===\"js\"||c===\"dts\"),De=(c===\"js\"?r.javascriptPath:r.declarationPath)||\"\",te=c===\"js\"?r.javascriptMapPath:r.declarationMapPath,st=()=>c===\"js\"?r.javascriptText:r.declarationText,wi=()=>c===\"js\"?r.javascriptMapText:r.declarationMapText,Be=()=>st().length,r.buildInfo&&r.buildInfo.bundle&&(Bn.assert(f===void 0||typeof f==\"boolean\"),x=f,B=c===\"js\"?r.buildInfo.bundle.js:r.buildInfo.bundle.dts,an=r.oldFileOfCurrentEmit));let Zn=an?vDe(Bn.checkDefined(B)):bDe(B,x,Be);return Zn.fileName=De,Zn.sourceMapPath=te,Zn.oldFileOfCurrentEmit=an,st&&wi?(Object.defineProperty(Zn,\"text\",{get:st}),Object.defineProperty(Zn,\"sourceMapText\",{get:wi})):(Bn.assert(!an),Zn.text=ke!=null?ke:\"\",Zn.sourceMapText=wn),Zn}function bDe(r,c,f){let x,B,De,ke,Be,te,wn,st;for(let an of r?r.sections:Ci)switch(an.kind){case\"prologue\":x=Ye(x,Vl(ag.createUnparsedPrologue(an.data),an));break;case\"emitHelpers\":B=Ye(B,getAllUnscopedEmitHelpers().get(an.data));break;case\"no-default-lib\":st=!0;break;case\"reference\":De=Ye(De,{pos:-1,end:-1,fileName:an.data});break;case\"type\":ke=Ye(ke,{pos:-1,end:-1,fileName:an.data});break;case\"type-import\":ke=Ye(ke,{pos:-1,end:-1,fileName:an.data,resolutionMode:99});break;case\"type-require\":ke=Ye(ke,{pos:-1,end:-1,fileName:an.data,resolutionMode:1});break;case\"lib\":Be=Ye(Be,{pos:-1,end:-1,fileName:an.data});break;case\"prepend\":let Zn;for(let ar of an.texts)(!c||ar.kind!==\"internal\")&&(Zn=Ye(Zn,Vl(ag.createUnparsedTextLike(ar.data,ar.kind===\"internal\"),ar)));te=wt(te,Zn),wn=Ye(wn,ag.createUnparsedPrepend(an.data,Zn!=null?Zn:Ci));break;case\"internal\":if(c){wn||(wn=[]);break}case\"text\":wn=Ye(wn,Vl(ag.createUnparsedTextLike(an.data,an.kind===\"internal\"),an));break;default:Bn.assertNever(an)}if(!wn){let an=ag.createUnparsedTextLike(void 0,!1);PN(an,0,typeof f==\"function\"?f():f),wn=[an]}let wi=yS.createUnparsedSource(x!=null?x:Ci,void 0,wn);return nS(x,wi),nS(wn,wi),nS(te,wi),wi.hasNoDefaultLib=st,wi.helpers=B,wi.referencedFiles=De||Ci,wi.typeReferenceDirectives=ke,wi.libReferenceDirectives=Be||Ci,wi}function vDe(r){let c,f;for(let B of r.sections)switch(B.kind){case\"internal\":case\"text\":c=Ye(c,Vl(ag.createUnparsedTextLike(B.data,B.kind===\"internal\"),B));break;case\"no-default-lib\":case\"reference\":case\"type\":case\"type-import\":case\"type-require\":case\"lib\":f=Ye(f,Vl(ag.createUnparsedSyntheticReference(B),B));break;case\"prologue\":case\"emitHelpers\":case\"prepend\":break;default:Bn.assertNever(B)}let x=ag.createUnparsedSource(Ci,f,c!=null?c:Ci);return nS(f,x),nS(c,x),x.helpers=is(r.sources&&r.sources.helpers,B=>getAllUnscopedEmitHelpers().get(B)),x}function CDe(r,c,f,x,B,De){return nd(r)?Ste(void 0,r,f,x,void 0,c,B,De):wte(r,c,f,x,B,De)}function wte(r,c,f,x,B,De,ke,Be){let te=yS.createInputFiles();te.javascriptPath=c,te.javascriptMapPath=f,te.declarationPath=x,te.declarationMapPath=B,te.buildInfoPath=De;let wn=new Map,st=Zn=>{if(Zn===void 0)return;let ar=wn.get(Zn);return ar===void 0&&(ar=r(Zn),wn.set(Zn,ar!==void 0?ar:!1)),ar!==!1?ar:void 0},wi=Zn=>{let ar=st(Zn);return ar!==void 0?ar:`/* Input file ${Zn} was missing */\\r\n`},an;return Object.defineProperties(te,{javascriptText:{get:()=>wi(c)},javascriptMapText:{get:()=>st(f)},declarationText:{get:()=>wi(Bn.checkDefined(x))},declarationMapText:{get:()=>st(B)},buildInfo:{get:()=>{var Zn,ar;if(an===void 0&&De)if(ke!=null&&ke.getBuildInfo)an=(Zn=ke.getBuildInfo(De,Be.configFilePath))!=null?Zn:!1;else{let ys=st(De);an=ys!==void 0&&(ar=getBuildInfo(De,ys))!=null?ar:!1}return an||void 0}}}),te}function Ste(r,c,f,x,B,De,ke,Be,te,wn,st){let wi=yS.createInputFiles();return wi.javascriptPath=r,wi.javascriptText=c,wi.javascriptMapPath=f,wi.javascriptMapText=x,wi.declarationPath=B,wi.declarationText=De,wi.declarationMapPath=ke,wi.declarationMapText=Be,wi.buildInfoPath=te,wi.buildInfo=wn,wi.oldFileOfCurrentEmit=st,wi}function DDe(r,c,f){return new(Ete||(Ete=$c.getSourceMapSourceConstructor()))(r,c,f)}function zf(r,c){if(r.original=c,c){let f=c.emitNode;f&&(r.emitNode=wDe(f,r.emitNode))}return r}function wDe(r,c){let{flags:f,internalFlags:x,leadingComments:B,trailingComments:De,commentRange:ke,sourceMapRange:Be,tokenSourceMapRanges:te,constantValue:wn,helpers:st,startsOnNewLine:wi,snippetElement:an}=r;if(c||(c={}),B&&(c.leadingComments=wt(B.slice(),c.leadingComments)),De&&(c.trailingComments=wt(De.slice(),c.trailingComments)),f&&(c.flags=f),x&&(c.internalFlags=x&-9),ke&&(c.commentRange=ke),Be&&(c.sourceMapRange=Be),te&&(c.tokenSourceMapRanges=SDe(te,c.tokenSourceMapRanges)),wn!==void 0&&(c.constantValue=wn),st)for(let Zn of st)c.helpers=Et(c.helpers,Zn);return wi!==void 0&&(c.startsOnNewLine=wi),an!==void 0&&(c.snippetElement=an),c}function SDe(r,c){c||(c=[]);for(let f in r)c[f]=r[f];return c}var $T,gB,mB,E_,yB,sS,xte,ag,Ete,xDe=ve({\"src/compiler/factory/nodeFactory.ts\"(){Qp(),$T=0,gB=(r=>(r[r.None=0]=\"None\",r[r.NoParenthesizerRules=1]=\"NoParenthesizerRules\",r[r.NoNodeConverters=2]=\"NoNodeConverters\",r[r.NoIndentationOnFreshPropertyAccess=4]=\"NoIndentationOnFreshPropertyAccess\",r[r.NoOriginalNode=8]=\"NoOriginalNode\",r))(gB||{}),mB=[],yB={},sS=bte(),xte={createBaseSourceFileNode:r=>HT(sS.createBaseSourceFileNode(r)),createBaseIdentifierNode:r=>HT(sS.createBaseIdentifierNode(r)),createBasePrivateIdentifierNode:r=>HT(sS.createBasePrivateIdentifierNode(r)),createBaseTokenNode:r=>HT(sS.createBaseTokenNode(r)),createBaseNode:r=>HT(sS.createBaseNode(r))},ag=jN(4,xte)}});function Kb(r){return r.kind===8}function bB(r){return r.kind===9}function T_(r){return r.kind===10}function VN(r){return r.kind===11}function EDe(r){return r.kind===13}function Tte(r){return r.kind===14}function TDe(r){return r.kind===15}function ADe(r){return r.kind===16}function kDe(r){return r.kind===17}function LDe(r){return r.kind===25}function Ate(r){return r.kind===27}function vB(r){return r.kind===39}function CB(r){return r.kind===40}function NDe(r){return r.kind===41}function HN(r){return r.kind===53}function zT(r){return r.kind===57}function IDe(r){return r.kind===58}function FDe(r){return r.kind===28}function PDe(r){return r.kind===38}function Ja(r){return r.kind===79}function wf(r){return r.kind===80}function kte(r){return r.kind===93}function ODe(r){return r.kind===88}function UT(r){return r.kind===132}function MDe(r){return r.kind===129}function RDe(r){return r.kind===133}function Lte(r){return r.kind===146}function BDe(r){return r.kind===124}function jDe(r){return r.kind===126}function WDe(r){return r.kind===161}function VDe(r){return r.kind===127}function $N(r){return r.kind===106}function Nte(r){return r.kind===100}function HDe(r){return r.kind===82}function oS(r){return r.kind===163}function qb(r){return r.kind===164}function XC(r){return r.kind===165}function Gb(r){return r.kind===166}function KT(r){return r.kind===167}function qT(r){return r.kind===168}function QC(r){return r.kind===169}function Ite(r){return r.kind===170}function GT(r){return r.kind===171}function JT(r){return r.kind===172}function aS(r){return r.kind===173}function YT(r){return r.kind===174}function lS(r){return r.kind===175}function DB(r){return r.kind===176}function Fte(r){return r.kind===177}function wB(r){return r.kind===178}function Pte(r){return r.kind===179}function uS(r){return r.kind===180}function XT(r){return r.kind===181}function SB(r){return r.kind===182}function Ote(r){return r.kind===183}function zN(r){return r.kind===184}function Mte(r){return r.kind===185}function Rte(r){return r.kind===186}function xB(r){return r.kind===199}function Bte(r){return r.kind===187}function jte(r){return r.kind===188}function Wte(r){return r.kind===189}function Vte(r){return r.kind===190}function Hte(r){return r.kind===191}function $te(r){return r.kind===192}function EB(r){return r.kind===193}function TB(r){return r.kind===194}function zte(r){return r.kind===195}function Ute(r){return r.kind===196}function Kte(r){return r.kind===197}function AB(r){return r.kind===198}function QT(r){return r.kind===202}function $De(r){return r.kind===201}function zDe(r){return r.kind===200}function UDe(r){return r.kind===203}function KDe(r){return r.kind===204}function ZT(r){return r.kind===205}function eA(r){return r.kind===206}function Jb(r){return r.kind===207}function Sf(r){return r.kind===208}function Fy(r){return r.kind===209}function cS(r){return r.kind===210}function qte(r){return r.kind===211}function Gte(r){return r.kind===212}function qDe(r){return r.kind===213}function ZC(r){return r.kind===214}function UN(r){return r.kind===215}function KN(r){return r.kind===216}function GDe(r){return r.kind===217}function JDe(r){return r.kind===218}function kB(r){return r.kind===219}function YDe(r){return r.kind===220}function qN(r){return r.kind===221}function Jte(r){return r.kind===222}function zc(r){return r.kind===223}function XDe(r){return r.kind===224}function QDe(r){return r.kind===225}function ZDe(r){return r.kind===226}function LB(r){return r.kind===227}function GN(r){return r.kind===228}function JN(r){return r.kind===229}function NB(r){return r.kind===230}function ewe(r){return r.kind===231}function twe(r){return r.kind===235}function e2(r){return r.kind===232}function IB(r){return r.kind===233}function nwe(r){return r.kind===234}function Yte(r){return r.kind===356}function dS(r){return r.kind===357}function iwe(r){return r.kind===236}function rwe(r){return r.kind===237}function tA(r){return r.kind===238}function t2(r){return r.kind===240}function swe(r){return r.kind===239}function nA(r){return r.kind===241}function owe(r){return r.kind===242}function awe(r){return r.kind===243}function lwe(r){return r.kind===244}function Xte(r){return r.kind===245}function uwe(r){return r.kind===246}function cwe(r){return r.kind===247}function dwe(r){return r.kind===248}function hwe(r){return r.kind===249}function pwe(r){return r.kind===250}function fwe(r){return r.kind===251}function _we(r){return r.kind===252}function Qte(r){return r.kind===253}function gwe(r){return r.kind===254}function mwe(r){return r.kind===255}function ywe(r){return r.kind===256}function Vm(r){return r.kind===257}function FB(r){return r.kind===258}function n2(r){return r.kind===259}function hS(r){return r.kind===260}function iA(r){return r.kind===261}function PB(r){return r.kind===262}function OB(r){return r.kind===263}function W0(r){return r.kind===264}function Zte(r){return r.kind===265}function bwe(r){return r.kind===266}function MB(r){return r.kind===267}function RB(r){return r.kind===268}function BB(r){return r.kind===269}function vwe(r){return r.kind===270}function Cwe(r){return r.kind===298}function Dwe(r){return r.kind===296}function wwe(r){return r.kind===297}function jB(r){return r.kind===271}function YN(r){return r.kind===277}function Swe(r){return r.kind===272}function ene(r){return r.kind===273}function i2(r){return r.kind===274}function pS(r){return r.kind===275}function tne(r){return r.kind===276}function nne(r){return r.kind===278}function xwe(r){return r.kind===279}function WB(r){return r.kind===355}function Ewe(r){return r.kind===360}function Twe(r){return r.kind===358}function Awe(r){return r.kind===359}function XN(r){return r.kind===280}function VB(r){return r.kind===281}function kwe(r){return r.kind===282}function rA(r){return r.kind===283}function ine(r){return r.kind===284}function QN(r){return r.kind===285}function HB(r){return r.kind===286}function Lwe(r){return r.kind===287}function Nwe(r){return r.kind===288}function $B(r){return r.kind===289}function Iwe(r){return r.kind===290}function Fwe(r){return r.kind===291}function Pwe(r){return r.kind===292}function rne(r){return r.kind===293}function sA(r){return r.kind===294}function Owe(r){return r.kind===295}function fS(r){return r.kind===299}function oA(r){return r.kind===300}function sne(r){return r.kind===301}function one(r){return r.kind===302}function Mwe(r){return r.kind===304}function tm(r){return r.kind===308}function Rwe(r){return r.kind===309}function Bwe(r){return r.kind===310}function ane(r){return r.kind===312}function ZN(r){return r.kind===313}function _S(r){return r.kind===314}function jwe(r){return r.kind===327}function Wwe(r){return r.kind===328}function Vwe(r){return r.kind===329}function Hwe(r){return r.kind===315}function $we(r){return r.kind===316}function lne(r){return r.kind===317}function zwe(r){return r.kind===318}function Uwe(r){return r.kind===319}function e6(r){return r.kind===320}function Kwe(r){return r.kind===321}function qwe(r){return r.kind===322}function r2(r){return r.kind===323}function zB(r){return r.kind===325}function aA(r){return r.kind===326}function t6(r){return r.kind===331}function Gwe(r){return r.kind===333}function une(r){return r.kind===335}function Jwe(r){return r.kind===341}function UB(r){return r.kind===336}function KB(r){return r.kind===337}function qB(r){return r.kind===338}function GB(r){return r.kind===339}function cne(r){return r.kind===340}function JB(r){return r.kind===342}function YB(r){return r.kind===334}function Ywe(r){return r.kind===350}function dne(r){return r.kind===343}function gS(r){return r.kind===344}function XB(r){return r.kind===345}function hne(r){return r.kind===346}function lA(r){return r.kind===347}function s2(r){return r.kind===348}function Xwe(r){return r.kind===349}function Qwe(r){return r.kind===330}function Zwe(r){return r.kind===351}function pne(r){return r.kind===332}function QB(r){return r.kind===353}function eSe(r){return r.kind===352}function tSe(r){return r.kind===354}var nSe=ve({\"src/compiler/factory/nodeTests.ts\"(){Qp()}});function iSe(r){return r.createExportDeclaration(void 0,!1,r.createNamedExports([]),void 0)}function n6(r,c,f,x){if(qb(f))return Vl(r.createElementAccessExpression(c,f.expression),x);{let B=Vl(Wb(f)?r.createPropertyAccessExpression(c,f):r.createElementAccessExpression(c,f),f);return addEmitFlags(B,128),B}}function ZB(r,c){let f=yS.createIdentifier(r||\"React\");return B0(f,gT(c)),f}function ej(r,c,f){if(oS(c)){let x=ej(r,c.left,f),B=r.createIdentifier(Hh(c.right));return B.escapedText=c.right.escapedText,r.createPropertyAccessExpression(x,B)}else return ZB(Hh(c),f)}function fne(r,c,f,x){return c?ej(r,c,x):r.createPropertyAccessExpression(ZB(f,x),\"createElement\")}function rSe(r,c,f,x){return c?ej(r,c,x):r.createPropertyAccessExpression(ZB(f,x),\"Fragment\")}function sSe(r,c,f,x,B,De){let ke=[f];if(x&&ke.push(x),B&&B.length>0)if(x||ke.push(r.createNull()),B.length>1)for(let Be of B)s6(Be),ke.push(Be);else ke.push(B[0]);return Vl(r.createCallExpression(c,void 0,ke),De)}function oSe(r,c,f,x,B,De,ke){let Be=[rSe(r,f,x,De),r.createNull()];if(B&&B.length>0)if(B.length>1)for(let te of B)s6(te),Be.push(te);else Be.push(B[0]);return Vl(r.createCallExpression(fne(r,c,x,De),void 0,Be),ke)}function aSe(r,c,f){if(FB(c)){let x=Cn(c.declarations),B=r.updateVariableDeclaration(x,x.name,void 0,void 0,f);return Vl(r.createVariableStatement(void 0,r.updateVariableDeclarationList(c,[B])),c)}else{let x=Vl(r.createAssignment(c,f),c);return Vl(r.createExpressionStatement(x),c)}}function lSe(r,c,f){return tA(c)?r.updateBlock(c,Vl(r.createNodeArray([f,...c.statements]),c.statements)):r.createBlock(r.createNodeArray([c,f]),!0)}function _ne(r,c){if(oS(c)){let f=_ne(r,c.left),x=B0(Vl(r.cloneNode(c.right),c.right),c.right.parent);return Vl(r.createPropertyAccessExpression(f,x),c)}else return B0(Vl(r.cloneNode(c),c),c.parent)}function gne(r,c){return Ja(c)?r.createStringLiteralFromNode(c):qb(c)?B0(Vl(r.cloneNode(c.expression),c.expression),c.expression.parent):B0(Vl(r.cloneNode(c),c),c.parent)}function uSe(r,c,f,x,B){let{firstAccessor:De,getAccessor:ke,setAccessor:Be}=CR(c,f);if(f===De)return Vl(r.createObjectDefinePropertyCall(x,gne(r,f.name),r.createPropertyDescriptor({enumerable:r.createFalse(),configurable:!0,get:ke&&Vl(zf(r.createFunctionExpression(K4(ke),void 0,void 0,void 0,ke.parameters,void 0,ke.body),ke),ke),set:Be&&Vl(zf(r.createFunctionExpression(K4(Be),void 0,void 0,void 0,Be.parameters,void 0,Be.body),Be),Be)},!B)),De)}function cSe(r,c,f){return zf(Vl(r.createAssignment(n6(r,f,c.name,c.name),c.initializer),c),c)}function dSe(r,c,f){return zf(Vl(r.createAssignment(n6(r,f,c.name,c.name),r.cloneNode(c.name)),c),c)}function hSe(r,c,f){return zf(Vl(r.createAssignment(n6(r,f,c.name,c.name),zf(Vl(r.createFunctionExpression(K4(c),c.asteriskToken,void 0,void 0,c.parameters,void 0,c.body),c),c)),c),c)}function pSe(r,c,f,x){switch(f.name&&wf(f.name)&&Bn.failBadSyntaxKind(f.name,\"Private identifiers are not allowed in object literals.\"),f.kind){case 174:case 175:return uSe(r,c.properties,f,x,!!c.multiLine);case 299:return cSe(r,f,x);case 300:return dSe(r,f,x);case 171:return hSe(r,f,x)}}function fSe(r,c,f,x,B){let De=c.operator;Bn.assert(De===45||De===46,\"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression\");let ke=r.createTempVariable(x);f=r.createAssignment(ke,f),Vl(f,c.operand);let Be=qN(c)?r.createPrefixUnaryExpression(De,ke):r.createPostfixUnaryExpression(ke,De);return Vl(Be,c),B&&(Be=r.createAssignment(B,Be),Vl(Be,c)),f=r.createComma(f,Be),Vl(f,c),Jte(c)&&(f=r.createComma(f,ke),Vl(f,c)),f}function _Se(r){return(Zg(r)&65536)!==0}function tj(r){return(Zg(r)&32768)!==0}function gSe(r){return(Zg(r)&16384)!==0}function mne(r){return T_(r.expression)&&r.expression.text===\"use strict\"}function yne(r){for(let c of r)if(Ty(c)){if(mne(c))return c}else break}function bne(r){let c=Tt(r);return c!==void 0&&Ty(c)&&mne(c)}function i6(r){return r.kind===223&&r.operatorToken.kind===27}function mSe(r){return i6(r)||dS(r)}function vne(r){return ZC(r)&&dh(r)&&!!G4(r)}function ySe(r){let c=J4(r);return Bn.assertIsDefined(c),c}function r6(r){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:15;switch(r.kind){case 214:return c&16&&vne(r)?!1:(c&1)!==0;case 213:case 231:case 230:case 235:return(c&2)!==0;case 232:return(c&4)!==0;case 356:return(c&8)!==0}return!1}function o2(r){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:15;for(;r6(r,c);)r=r.expression;return r}function bSe(r){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:15,f=r.parent;for(;r6(f,c);)f=f.parent,Bn.assert(f);return f}function vSe(r){return o2(r,6)}function s6(r){return setStartsOnNewLine(r,!0)}function Cne(r){let c=fT(r,tm),f=c&&c.emitNode;return f&&f.externalHelpersModuleName}function CSe(r){let c=fT(r,tm),f=c&&c.emitNode;return!!f&&(!!f.externalHelpersModuleName||!!f.externalHelpers)}function DSe(r,c,f,x,B,De,ke){if(x.importHelpers&&AM(f,x)){let Be,te=em(x);if(te>=5&&te<=99||f.impliedNodeFormat===99){let wn=getEmitHelpers(f);if(wn){let st=[];for(let wi of wn)if(!wi.scoped){let an=wi.importName;an&&lt(st,an)}if(so(st)){st.sort(Y),Be=r.createNamedImports(is(st,Zn=>hQ(f,Zn)?r.createImportSpecifier(!1,void 0,r.createIdentifier(Zn)):r.createImportSpecifier(!1,r.createIdentifier(Zn),c.getUnscopedHelperName(Zn))));let wi=fT(f,tm),an=getOrCreateEmitNode(wi);an.externalHelpers=!0}}}else{let wn=Dne(r,f,x,B,De||ke);wn&&(Be=r.createNamespaceImport(wn))}if(Be){let wn=r.createImportDeclaration(void 0,r.createImportClause(!1,void 0,Be),r.createStringLiteral(ON),void 0);return addInternalEmitFlags(wn,2),wn}}}function Dne(r,c,f,x,B){if(f.importHelpers&&AM(c,f)){let De=Cne(c);if(De)return De;let ke=em(f),Be=(x||BR(f)&&B)&&ke!==4&&(ke<5||c.impliedNodeFormat===1);if(!Be){let te=getEmitHelpers(c);if(te){for(let wn of te)if(!wn.scoped){Be=!0;break}}}if(Be){let te=fT(c,tm),wn=getOrCreateEmitNode(te);return wn.externalHelpersModuleName||(wn.externalHelpersModuleName=r.createUniqueName(ON))}}}function wSe(r,c,f){let x=JQ(c);if(x&&!YQ(c)&&!mQ(c)){let B=x.name;return xy(B)?B:r.createIdentifier(zC(f,B)||Hh(B))}if(c.kind===269&&c.importClause||c.kind===275&&c.moduleSpecifier)return r.getGeneratedNameForNode(c)}function SSe(r,c,f,x,B,De){let ke=tR(c);if(ke&&T_(ke))return ESe(c,x,r,B,De)||xSe(r,ke,f)||r.cloneNode(ke)}function xSe(r,c,f){let x=f.renamedDependencies&&f.renamedDependencies.get(c.text);return x?r.createStringLiteral(x):void 0}function wne(r,c,f,x){if(c){if(c.moduleName)return r.createStringLiteral(c.moduleName);if(!c.isDeclarationFile&&mR(x))return r.createStringLiteral(gR(f,c.fileName))}}function ESe(r,c,f,x,B){return wne(f,x.getExternalModuleFileFromDeclaration(r),c,B)}function Sne(r){if(gM(r))return r.initializer;if(fS(r)){let c=r.initializer;return Ny(c,!0)?c.right:void 0}if(oA(r))return r.objectAssignmentInitializer;if(Ny(r,!0))return r.right;if(LB(r))return Sne(r.expression)}function a2(r){if(gM(r))return r.name;if(fM(r)){switch(r.kind){case 299:return a2(r.initializer);case 300:return r.name;case 301:return a2(r.expression)}return}return Ny(r,!0)?a2(r.left):LB(r)?a2(r.expression):r}function TSe(r){switch(r.kind){case 166:case 205:return r.dotDotDotToken;case 227:case 301:return r}}function ASe(r){let c=xne(r);return Bn.assert(!!c||sne(r),\"Invalid property name for binding element.\"),c}function xne(r){switch(r.kind){case 205:if(r.propertyName){let f=r.propertyName;return wf(f)?Bn.failBadSyntaxKind(f):qb(f)&&Ene(f.expression)?f.expression:f}break;case 299:if(r.name){let f=r.name;return wf(f)?Bn.failBadSyntaxKind(f):qb(f)&&Ene(f.expression)?f.expression:f}break;case 301:return r.name&&wf(r.name)?Bn.failBadSyntaxKind(r.name):r.name}let c=a2(r);if(c&&DT(c))return c}function Ene(r){let c=r.kind;return c===10||c===8}function Tne(r){switch(r.kind){case 203:case 204:case 206:return r.elements;case 207:return r.properties}}function nj(r){if(r){let c=r;for(;;){if(Ja(c)||!c.body)return Ja(c)?c:c.name;c=c.body}}}function kSe(r){let c=r.kind;return c===173||c===175}function Ane(r){let c=r.kind;return c===173||c===174||c===175}function LSe(r){let c=r.kind;return c===299||c===300||c===259||c===173||c===178||c===172||c===279||c===240||c===261||c===262||c===263||c===264||c===268||c===269||c===267||c===275||c===274}function NSe(r){let c=r.kind;return c===172||c===299||c===300||c===279||c===267}function ISe(r){return zT(r)||HN(r)}function FSe(r){return Ja(r)||TB(r)}function PSe(r){return Lte(r)||vB(r)||CB(r)}function OSe(r){return zT(r)||vB(r)||CB(r)}function MSe(r){return Ja(r)||T_(r)}function RSe(r){let c=r.kind;return c===104||c===110||c===95||lM(r)||qN(r)}function BSe(r){return r===42}function jSe(r){return r===41||r===43||r===44}function WSe(r){return BSe(r)||jSe(r)}function VSe(r){return r===39||r===40}function HSe(r){return VSe(r)||WSe(r)}function $Se(r){return r===47||r===48||r===49}function zSe(r){return $Se(r)||HSe(r)}function USe(r){return r===29||r===32||r===31||r===33||r===102||r===101}function KSe(r){return USe(r)||zSe(r)}function qSe(r){return r===34||r===36||r===35||r===37}function GSe(r){return qSe(r)||KSe(r)}function JSe(r){return r===50||r===51||r===52}function YSe(r){return JSe(r)||GSe(r)}function XSe(r){return r===55||r===56}function QSe(r){return XSe(r)||YSe(r)}function ZSe(r){return r===60||QSe(r)||Xw(r)}function exe(r){return ZSe(r)||r===27}function txe(r){return exe(r.kind)}function nxe(r,c,f,x,B,De){let ke=new Lne(r,c,f,x,B,De);return Be;function Be(te,wn){let st={value:void 0},wi=[a6.enter],an=[te],Zn=[void 0],ar=0;for(;wi[ar]!==a6.done;)ar=wi[ar](ke,ar,wi,an,Zn,st,wn);return Bn.assertEqual(ar,0),st.value}}function kne(r){return r===93||r===88}function ixe(r){let c=r.kind;return kne(c)}function rxe(r){let c=r.kind;return Wm(c)&&!kne(c)}function sxe(r,c){if(c!==void 0)return c.length===0?c:Vl(r.createNodeArray([],c.hasTrailingComma),c)}function oxe(r){var c;let f=r.emitNode.autoGenerate;if(f.flags&4){let x=f.id,B=r,De=B.original;for(;De;){B=De;let ke=(c=B.emitNode)==null?void 0:c.autoGenerate;if(Wb(B)&&(ke===void 0||ke.flags&4&&ke.id!==x))break;De=B.original}return B}return r}function ij(r,c){return typeof r==\"object\"?o6(!1,r.prefix,r.node,r.suffix,c):typeof r==\"string\"?r.length>0&&r.charCodeAt(0)===35?r.slice(1):r:\"\"}function axe(r,c){return typeof r==\"string\"?r:lxe(r,Bn.checkDefined(c))}function lxe(r,c){return uM(r)?c(r).slice(1):xy(r)?c(r):wf(r)?r.escapedText.slice(1):Hh(r)}function o6(r,c,f,x,B){return c=ij(c,B),x=ij(x,B),f=axe(f,B),`${r?\"#\":\"\"}${c}${f}${x}`}function uxe(r,c,f,x){return r.updatePropertyDeclaration(c,f,r.getGeneratedPrivateNameForNode(c.name,void 0,\"_accessor_storage\"),void 0,void 0,x)}function cxe(r,c,f,x){return r.createGetAccessorDeclaration(f,x,[],void 0,r.createBlock([r.createReturnStatement(r.createPropertyAccessExpression(r.createThis(),r.getGeneratedPrivateNameForNode(c.name,void 0,\"_accessor_storage\")))]))}function dxe(r,c,f,x){return r.createSetAccessorDeclaration(f,x,[r.createParameterDeclaration(void 0,void 0,\"value\")],r.createBlock([r.createExpressionStatement(r.createAssignment(r.createPropertyAccessExpression(r.createThis(),r.getGeneratedPrivateNameForNode(c.name,void 0,\"_accessor_storage\")),r.createIdentifier(\"value\")))]))}function hxe(r){let c=r.expression;for(;;){if(c=o2(c),dS(c)){c=Oi(c.elements);continue}if(i6(c)){c=c.right;continue}if(Ny(c,!0)&&xy(c.left))return c;break}}function pxe(r){return ZC(r)&&ky(r)&&!r.emitNode}function uA(r,c){if(pxe(r))uA(r.expression,c);else if(i6(r))uA(r.left,c),uA(r.right,c);else if(dS(r))for(let f of r.elements)uA(f,c);else c.push(r)}function fxe(r){let c=[];return uA(r,c),c}function rj(r){if(r.transformFlags&65536)return!0;if(r.transformFlags&128)for(let c of Tne(r)){let f=a2(c);if(f&&KX(f)&&(f.transformFlags&65536||f.transformFlags&128&&rj(f)))return!0}return!1}var a6,Lne,_xe=ve({\"src/compiler/factory/utilities.ts\"(){Qp(),(r=>{function c(st,wi,an,Zn,ar,ys,Is){let So=wi>0?ar[wi-1]:void 0;return Bn.assertEqual(an[wi],c),ar[wi]=st.onEnter(Zn[wi],So,Is),an[wi]=Be(st,c),wi}r.enter=c;function f(st,wi,an,Zn,ar,ys,Is){Bn.assertEqual(an[wi],f),Bn.assertIsDefined(st.onLeft),an[wi]=Be(st,f);let So=st.onLeft(Zn[wi].left,ar[wi],Zn[wi]);return So?(wn(wi,Zn,So),te(wi,an,Zn,ar,So)):wi}r.left=f;function x(st,wi,an,Zn,ar,ys,Is){return Bn.assertEqual(an[wi],x),Bn.assertIsDefined(st.onOperator),an[wi]=Be(st,x),st.onOperator(Zn[wi].operatorToken,ar[wi],Zn[wi]),wi}r.operator=x;function B(st,wi,an,Zn,ar,ys,Is){Bn.assertEqual(an[wi],B),Bn.assertIsDefined(st.onRight),an[wi]=Be(st,B);let So=st.onRight(Zn[wi].right,ar[wi],Zn[wi]);return So?(wn(wi,Zn,So),te(wi,an,Zn,ar,So)):wi}r.right=B;function De(st,wi,an,Zn,ar,ys,Is){Bn.assertEqual(an[wi],De),an[wi]=Be(st,De);let So=st.onExit(Zn[wi],ar[wi]);if(wi>0){if(wi--,st.foldState){let Ws=an[wi]===De?\"right\":\"left\";ar[wi]=st.foldState(ar[wi],So,Ws)}}else ys.value=So;return wi}r.exit=De;function ke(st,wi,an,Zn,ar,ys,Is){return Bn.assertEqual(an[wi],ke),wi}r.done=ke;function Be(st,wi){switch(wi){case c:if(st.onLeft)return f;case f:if(st.onOperator)return x;case x:if(st.onRight)return B;case B:return De;case De:return ke;case ke:return ke;default:Bn.fail(\"Invalid state\")}}r.nextState=Be;function te(st,wi,an,Zn,ar){return st++,wi[st]=c,an[st]=ar,Zn[st]=void 0,st}function wn(st,wi,an){if(Bn.shouldAssert(2))for(;st>=0;)Bn.assert(wi[st]!==an,\"Circular traversal detected.\"),st--}})(a6||(a6={})),Lne=class{constructor(r,c,f,x,B,De){this.onEnter=r,this.onLeft=c,this.onOperator=f,this.onRight=x,this.onExit=B,this.foldState=De}}}});function Vl(r,c){return c?Ub(r,c.pos,c.end):r}function mS(r){let c=r.kind;return c===165||c===166||c===168||c===169||c===170||c===171||c===173||c===174||c===175||c===178||c===182||c===215||c===216||c===228||c===240||c===259||c===260||c===261||c===262||c===263||c===264||c===268||c===269||c===274||c===275}function Nne(r){let c=r.kind;return c===166||c===169||c===171||c===174||c===175||c===228||c===260}var gxe=ve({\"src/compiler/factory/utilitiesPublic.ts\"(){Qp()}});function ci(r,c){return c&&r(c)}function lo(r,c,f){if(f){if(c)return c(f);for(let x of f){let B=r(x);if(B)return B}}}function Ine(r,c){return r.charCodeAt(c+1)===42&&r.charCodeAt(c+2)===42&&r.charCodeAt(c+3)!==47}function cA(r){return S(r.statements,mxe)||yxe(r)}function mxe(r){return mS(r)&&bxe(r,93)||RB(r)&&XN(r.moduleReference)||BB(r)||i2(r)||pS(r)?r:void 0}function yxe(r){return r.flags&4194304?Fne(r):void 0}function Fne(r){return vxe(r)?r:Jd(r,Fne)}function bxe(r,c){return so(r.modifiers,f=>f.kind===c)}function vxe(r){return IB(r)&&r.keywordToken===100&&r.name.escapedText===\"meta\"}function Pne(r,c,f){return lo(c,f,r.typeParameters)||lo(c,f,r.parameters)||ci(c,r.type)}function One(r,c,f){return lo(c,f,r.types)}function Mne(r,c,f){return ci(c,r.type)}function Rne(r,c,f){return lo(c,f,r.elements)}function Bne(r,c,f){return ci(c,r.expression)||ci(c,r.questionDotToken)||lo(c,f,r.typeArguments)||lo(c,f,r.arguments)}function jne(r,c,f){return lo(c,f,r.statements)}function Wne(r,c,f){return ci(c,r.label)}function Vne(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.name)||lo(c,f,r.typeParameters)||lo(c,f,r.heritageClauses)||lo(c,f,r.members)}function Hne(r,c,f){return lo(c,f,r.elements)}function $ne(r,c,f){return ci(c,r.propertyName)||ci(c,r.name)}function zne(r,c,f){return ci(c,r.tagName)||lo(c,f,r.typeArguments)||ci(c,r.attributes)}function l2(r,c,f){return ci(c,r.type)}function Une(r,c,f){return ci(c,r.tagName)||(r.isNameFirst?ci(c,r.name)||ci(c,r.typeExpression):ci(c,r.typeExpression)||ci(c,r.name))||(typeof r.comment==\"string\"?void 0:lo(c,f,r.comment))}function u2(r,c,f){return ci(c,r.tagName)||ci(c,r.typeExpression)||(typeof r.comment==\"string\"?void 0:lo(c,f,r.comment))}function sj(r,c,f){return ci(c,r.name)}function Yb(r,c,f){return ci(c,r.tagName)||(typeof r.comment==\"string\"?void 0:lo(c,f,r.comment))}function Cxe(r,c,f){return ci(c,r.expression)}function Jd(r,c,f){if(r===void 0||r.kind<=162)return;let x=rie[r.kind];return x===void 0?void 0:x(r,c,f)}function oj(r,c,f){let x=Kne(r),B=[];for(;B.length<x.length;)B.push(r);for(;x.length!==0;){let De=x.pop(),ke=B.pop();if(fu(De)){if(f){let Be=f(De,ke);if(Be){if(Be===\"skip\")continue;return Be}}for(let Be=De.length-1;Be>=0;--Be)x.push(De[Be]),B.push(ke)}else{let Be=c(De,ke);if(Be){if(Be===\"skip\")continue;return Be}if(De.kind>=163)for(let te of Kne(De))x.push(te),B.push(De)}}}function Kne(r){let c=[];return Jd(r,f,f),c;function f(x){c.unshift(x)}}function qne(r){r.externalModuleIndicator=cA(r)}function Gne(r,c,f){let x=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,B=arguments.length>4?arguments[4]:void 0;var De,ke;(De=ur)==null||De.push(ur.Phase.Parse,\"createSourceFile\",{path:r},!0);let Be;Sn.logStartParseSourceFile(r);let{languageVersion:te,setExternalModuleIndicator:wn,impliedNodeFormat:st}=typeof f==\"object\"?f:{languageVersion:f};if(te===100)Be=nm.parseSourceFile(r,c,te,void 0,x,6,ku);else{let wi=st===void 0?wn:an=>(an.impliedNodeFormat=st,(wn||qne)(an));Be=nm.parseSourceFile(r,c,te,void 0,x,B,wi)}return Sn.logStopParseSourceFile(),(ke=ur)==null||ke.pop(),Be}function Dxe(r,c){return nm.parseIsolatedEntityName(r,c)}function wxe(r,c){return nm.parseJsonText(r,c)}function c2(r){return r.externalModuleIndicator!==void 0}function aj(r,c,f){let x=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,B=l6.updateSourceFile(r,c,f,x);return B.flags|=r.flags&6291456,B}function Sxe(r,c,f){let x=nm.JSDocParser.parseIsolatedJSDocComment(r,c,f);return x&&x.jsDoc&&nm.fixupParentReferences(x.jsDoc),x}function xxe(r,c,f){return nm.JSDocParser.parseJSDocTypeExpressionForTests(r,c,f)}function Jne(r){return N0(r,pB)||yy(r,\".ts\")&&xe(uT(r),\".d.\")}function Exe(r,c,f,x){if(r){if(r===\"import\")return 99;if(r===\"require\")return 1;x(c,f-c,ns.resolution_mode_should_be_either_require_or_import)}}function Yne(r,c){let f=[];for(let x of jC(c,0)||Ci){let B=c.substring(x.pos,x.end);Axe(f,x,B)}r.pragmas=new Map;for(let x of f){if(r.pragmas.has(x.name)){let B=r.pragmas.get(x.name);B instanceof Array?B.push(x.args):r.pragmas.set(x.name,[B,x.args]);continue}r.pragmas.set(x.name,x.args)}}function Xne(r,c){r.checkJsDirective=void 0,r.referencedFiles=[],r.typeReferenceDirectives=[],r.libReferenceDirectives=[],r.amdDependencies=[],r.hasNoDefaultLib=!1,r.pragmas.forEach((f,x)=>{switch(x){case\"reference\":{let B=r.referencedFiles,De=r.typeReferenceDirectives,ke=r.libReferenceDirectives;S(Wh(f),Be=>{let{types:te,lib:wn,path:st,[\"resolution-mode\"]:wi}=Be.arguments;if(Be.arguments[\"no-default-lib\"])r.hasNoDefaultLib=!0;else if(te){let an=Exe(wi,te.pos,te.end,c);De.push(Object.assign({pos:te.pos,end:te.end,fileName:te.value},an?{resolutionMode:an}:{}))}else wn?ke.push({pos:wn.pos,end:wn.end,fileName:wn.value}):st?B.push({pos:st.pos,end:st.end,fileName:st.value}):c(Be.range.pos,Be.range.end-Be.range.pos,ns.Invalid_reference_directive_syntax)});break}case\"amd-dependency\":{r.amdDependencies=is(Wh(f),B=>({name:B.arguments.name,path:B.arguments.path}));break}case\"amd-module\":{if(f instanceof Array)for(let B of f)r.moduleName&&c(B.range.pos,B.range.end-B.range.pos,ns.An_AMD_module_cannot_have_multiple_name_assignments),r.moduleName=B.arguments.name;else r.moduleName=f.arguments.name;break}case\"ts-nocheck\":case\"ts-check\":{S(Wh(f),B=>{(!r.checkJsDirective||B.range.pos>r.checkJsDirective.pos)&&(r.checkJsDirective={enabled:x===\"ts-check\",end:B.range.end,pos:B.range.pos})});break}case\"jsx\":case\"jsxfrag\":case\"jsximportsource\":case\"jsxruntime\":return;default:Bn.fail(\"Unhandled pragma kind\")}})}function Txe(r){if(u6.has(r))return u6.get(r);let c=new RegExp(`(\\\\s${r}\\\\s*=\\\\s*)(?:(?:'([^']*)')|(?:\"([^\"]*)\"))`,\"im\");return u6.set(r,c),c}function Axe(r,c,f){let x=c.kind===2&&sie.exec(f);if(x){let De=x[1].toLowerCase(),ke=I4[De];if(!ke||!(ke.kind&1))return;if(ke.args){let Be={};for(let te of ke.args){let wn=Txe(te.name).exec(f);if(!wn&&!te.optional)return;if(wn){let st=wn[2]||wn[3];if(te.captureSpan){let wi=c.pos+wn.index+wn[1].length+1;Be[te.name]={value:st,pos:wi,end:wi+st.length}}else Be[te.name]=st}}r.push({name:De,args:{arguments:Be,range:c}})}else r.push({name:De,args:{arguments:{},range:c}});return}let B=c.kind===2&&oie.exec(f);if(B)return Qne(r,c,2,B);if(c.kind===3){let De=/@(\\S+)(\\s+.*)?$/gim,ke;for(;ke=De.exec(f);)Qne(r,c,4,ke)}}function Qne(r,c,f,x){if(!x)return;let B=x[1].toLowerCase(),De=I4[B];if(!De||!(De.kind&f))return;let ke=x[2],Be=kxe(De,ke);Be!==\"fail\"&&r.push({name:B,args:{arguments:Be,range:c}})}function kxe(r,c){if(!c)return{};if(!r.args)return{};let f=Fr(c).split(/\\s+/),x={};for(let B=0;B<r.args.length;B++){let De=r.args[B];if(!f[B]&&!De.optional)return\"fail\";if(De.captureSpan)return Bn.fail(\"Capture spans not yet implemented for non-xml pragmas\");x[De.name]=f[B]}return x}function Hm(r,c){return r.kind!==c.kind?!1:r.kind===79?r.escapedText===c.escapedText:r.kind===108?!0:r.name.escapedText===c.name.escapedText&&Hm(r.expression,c.expression)}var Zne,eie,tie,nie,iie,lj,yS,rie,nm,l6,u6,sie,oie,Lxe=ve({\"src/compiler/parser.ts\"(){Qp(),Qp(),lj={createBaseSourceFileNode:r=>new(iie||(iie=$c.getSourceFileConstructor()))(r,-1,-1),createBaseIdentifierNode:r=>new(tie||(tie=$c.getIdentifierConstructor()))(r,-1,-1),createBasePrivateIdentifierNode:r=>new(nie||(nie=$c.getPrivateIdentifierConstructor()))(r,-1,-1),createBaseTokenNode:r=>new(eie||(eie=$c.getTokenConstructor()))(r,-1,-1),createBaseNode:r=>new(Zne||(Zne=$c.getNodeConstructor()))(r,-1,-1)},yS=jN(1,lj),rie={[163]:function(r,c,f){return ci(c,r.left)||ci(c,r.right)},[165]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.name)||ci(c,r.constraint)||ci(c,r.default)||ci(c,r.expression)},[300]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.name)||ci(c,r.questionToken)||ci(c,r.exclamationToken)||ci(c,r.equalsToken)||ci(c,r.objectAssignmentInitializer)},[301]:function(r,c,f){return ci(c,r.expression)},[166]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.dotDotDotToken)||ci(c,r.name)||ci(c,r.questionToken)||ci(c,r.type)||ci(c,r.initializer)},[169]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.name)||ci(c,r.questionToken)||ci(c,r.exclamationToken)||ci(c,r.type)||ci(c,r.initializer)},[168]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.name)||ci(c,r.questionToken)||ci(c,r.type)||ci(c,r.initializer)},[299]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.name)||ci(c,r.questionToken)||ci(c,r.exclamationToken)||ci(c,r.initializer)},[257]:function(r,c,f){return ci(c,r.name)||ci(c,r.exclamationToken)||ci(c,r.type)||ci(c,r.initializer)},[205]:function(r,c,f){return ci(c,r.dotDotDotToken)||ci(c,r.propertyName)||ci(c,r.name)||ci(c,r.initializer)},[178]:function(r,c,f){return lo(c,f,r.modifiers)||lo(c,f,r.typeParameters)||lo(c,f,r.parameters)||ci(c,r.type)},[182]:function(r,c,f){return lo(c,f,r.modifiers)||lo(c,f,r.typeParameters)||lo(c,f,r.parameters)||ci(c,r.type)},[181]:function(r,c,f){return lo(c,f,r.modifiers)||lo(c,f,r.typeParameters)||lo(c,f,r.parameters)||ci(c,r.type)},[176]:Pne,[177]:Pne,[171]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.asteriskToken)||ci(c,r.name)||ci(c,r.questionToken)||ci(c,r.exclamationToken)||lo(c,f,r.typeParameters)||lo(c,f,r.parameters)||ci(c,r.type)||ci(c,r.body)},[170]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.name)||ci(c,r.questionToken)||lo(c,f,r.typeParameters)||lo(c,f,r.parameters)||ci(c,r.type)},[173]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.name)||lo(c,f,r.typeParameters)||lo(c,f,r.parameters)||ci(c,r.type)||ci(c,r.body)},[174]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.name)||lo(c,f,r.typeParameters)||lo(c,f,r.parameters)||ci(c,r.type)||ci(c,r.body)},[175]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.name)||lo(c,f,r.typeParameters)||lo(c,f,r.parameters)||ci(c,r.type)||ci(c,r.body)},[259]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.asteriskToken)||ci(c,r.name)||lo(c,f,r.typeParameters)||lo(c,f,r.parameters)||ci(c,r.type)||ci(c,r.body)},[215]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.asteriskToken)||ci(c,r.name)||lo(c,f,r.typeParameters)||lo(c,f,r.parameters)||ci(c,r.type)||ci(c,r.body)},[216]:function(r,c,f){return lo(c,f,r.modifiers)||lo(c,f,r.typeParameters)||lo(c,f,r.parameters)||ci(c,r.type)||ci(c,r.equalsGreaterThanToken)||ci(c,r.body)},[172]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.body)},[180]:function(r,c,f){return ci(c,r.typeName)||lo(c,f,r.typeArguments)},[179]:function(r,c,f){return ci(c,r.assertsModifier)||ci(c,r.parameterName)||ci(c,r.type)},[183]:function(r,c,f){return ci(c,r.exprName)||lo(c,f,r.typeArguments)},[184]:function(r,c,f){return lo(c,f,r.members)},[185]:function(r,c,f){return ci(c,r.elementType)},[186]:function(r,c,f){return lo(c,f,r.elements)},[189]:One,[190]:One,[191]:function(r,c,f){return ci(c,r.checkType)||ci(c,r.extendsType)||ci(c,r.trueType)||ci(c,r.falseType)},[192]:function(r,c,f){return ci(c,r.typeParameter)},[202]:function(r,c,f){return ci(c,r.argument)||ci(c,r.assertions)||ci(c,r.qualifier)||lo(c,f,r.typeArguments)},[298]:function(r,c,f){return ci(c,r.assertClause)},[193]:Mne,[195]:Mne,[196]:function(r,c,f){return ci(c,r.objectType)||ci(c,r.indexType)},[197]:function(r,c,f){return ci(c,r.readonlyToken)||ci(c,r.typeParameter)||ci(c,r.nameType)||ci(c,r.questionToken)||ci(c,r.type)||lo(c,f,r.members)},[198]:function(r,c,f){return ci(c,r.literal)},[199]:function(r,c,f){return ci(c,r.dotDotDotToken)||ci(c,r.name)||ci(c,r.questionToken)||ci(c,r.type)},[203]:Rne,[204]:Rne,[206]:function(r,c,f){return lo(c,f,r.elements)},[207]:function(r,c,f){return lo(c,f,r.properties)},[208]:function(r,c,f){return ci(c,r.expression)||ci(c,r.questionDotToken)||ci(c,r.name)},[209]:function(r,c,f){return ci(c,r.expression)||ci(c,r.questionDotToken)||ci(c,r.argumentExpression)},[210]:Bne,[211]:Bne,[212]:function(r,c,f){return ci(c,r.tag)||ci(c,r.questionDotToken)||lo(c,f,r.typeArguments)||ci(c,r.template)},[213]:function(r,c,f){return ci(c,r.type)||ci(c,r.expression)},[214]:function(r,c,f){return ci(c,r.expression)},[217]:function(r,c,f){return ci(c,r.expression)},[218]:function(r,c,f){return ci(c,r.expression)},[219]:function(r,c,f){return ci(c,r.expression)},[221]:function(r,c,f){return ci(c,r.operand)},[226]:function(r,c,f){return ci(c,r.asteriskToken)||ci(c,r.expression)},[220]:function(r,c,f){return ci(c,r.expression)},[222]:function(r,c,f){return ci(c,r.operand)},[223]:function(r,c,f){return ci(c,r.left)||ci(c,r.operatorToken)||ci(c,r.right)},[231]:function(r,c,f){return ci(c,r.expression)||ci(c,r.type)},[232]:function(r,c,f){return ci(c,r.expression)},[235]:function(r,c,f){return ci(c,r.expression)||ci(c,r.type)},[233]:function(r,c,f){return ci(c,r.name)},[224]:function(r,c,f){return ci(c,r.condition)||ci(c,r.questionToken)||ci(c,r.whenTrue)||ci(c,r.colonToken)||ci(c,r.whenFalse)},[227]:function(r,c,f){return ci(c,r.expression)},[238]:jne,[265]:jne,[308]:function(r,c,f){return lo(c,f,r.statements)||ci(c,r.endOfFileToken)},[240]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.declarationList)},[258]:function(r,c,f){return lo(c,f,r.declarations)},[241]:function(r,c,f){return ci(c,r.expression)},[242]:function(r,c,f){return ci(c,r.expression)||ci(c,r.thenStatement)||ci(c,r.elseStatement)},[243]:function(r,c,f){return ci(c,r.statement)||ci(c,r.expression)},[244]:function(r,c,f){return ci(c,r.expression)||ci(c,r.statement)},[245]:function(r,c,f){return ci(c,r.initializer)||ci(c,r.condition)||ci(c,r.incrementor)||ci(c,r.statement)},[246]:function(r,c,f){return ci(c,r.initializer)||ci(c,r.expression)||ci(c,r.statement)},[247]:function(r,c,f){return ci(c,r.awaitModifier)||ci(c,r.initializer)||ci(c,r.expression)||ci(c,r.statement)},[248]:Wne,[249]:Wne,[250]:function(r,c,f){return ci(c,r.expression)},[251]:function(r,c,f){return ci(c,r.expression)||ci(c,r.statement)},[252]:function(r,c,f){return ci(c,r.expression)||ci(c,r.caseBlock)},[266]:function(r,c,f){return lo(c,f,r.clauses)},[292]:function(r,c,f){return ci(c,r.expression)||lo(c,f,r.statements)},[293]:function(r,c,f){return lo(c,f,r.statements)},[253]:function(r,c,f){return ci(c,r.label)||ci(c,r.statement)},[254]:function(r,c,f){return ci(c,r.expression)},[255]:function(r,c,f){return ci(c,r.tryBlock)||ci(c,r.catchClause)||ci(c,r.finallyBlock)},[295]:function(r,c,f){return ci(c,r.variableDeclaration)||ci(c,r.block)},[167]:function(r,c,f){return ci(c,r.expression)},[260]:Vne,[228]:Vne,[261]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.name)||lo(c,f,r.typeParameters)||lo(c,f,r.heritageClauses)||lo(c,f,r.members)},[262]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.name)||lo(c,f,r.typeParameters)||ci(c,r.type)},[263]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.name)||lo(c,f,r.members)},[302]:function(r,c,f){return ci(c,r.name)||ci(c,r.initializer)},[264]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.name)||ci(c,r.body)},[268]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.name)||ci(c,r.moduleReference)},[269]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.importClause)||ci(c,r.moduleSpecifier)||ci(c,r.assertClause)},[270]:function(r,c,f){return ci(c,r.name)||ci(c,r.namedBindings)},[296]:function(r,c,f){return lo(c,f,r.elements)},[297]:function(r,c,f){return ci(c,r.name)||ci(c,r.value)},[267]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.name)},[271]:function(r,c,f){return ci(c,r.name)},[277]:function(r,c,f){return ci(c,r.name)},[272]:Hne,[276]:Hne,[275]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.exportClause)||ci(c,r.moduleSpecifier)||ci(c,r.assertClause)},[273]:$ne,[278]:$ne,[274]:function(r,c,f){return lo(c,f,r.modifiers)||ci(c,r.expression)},[225]:function(r,c,f){return ci(c,r.head)||lo(c,f,r.templateSpans)},[236]:function(r,c,f){return ci(c,r.expression)||ci(c,r.literal)},[200]:function(r,c,f){return ci(c,r.head)||lo(c,f,r.templateSpans)},[201]:function(r,c,f){return ci(c,r.type)||ci(c,r.literal)},[164]:function(r,c,f){return ci(c,r.expression)},[294]:function(r,c,f){return lo(c,f,r.types)},[230]:function(r,c,f){return ci(c,r.expression)||lo(c,f,r.typeArguments)},[280]:function(r,c,f){return ci(c,r.expression)},[279]:function(r,c,f){return lo(c,f,r.modifiers)},[357]:function(r,c,f){return lo(c,f,r.elements)},[281]:function(r,c,f){return ci(c,r.openingElement)||lo(c,f,r.children)||ci(c,r.closingElement)},[285]:function(r,c,f){return ci(c,r.openingFragment)||lo(c,f,r.children)||ci(c,r.closingFragment)},[282]:zne,[283]:zne,[289]:function(r,c,f){return lo(c,f,r.properties)},[288]:function(r,c,f){return ci(c,r.name)||ci(c,r.initializer)},[290]:function(r,c,f){return ci(c,r.expression)},[291]:function(r,c,f){return ci(c,r.dotDotDotToken)||ci(c,r.expression)},[284]:function(r,c,f){return ci(c,r.tagName)},[187]:l2,[188]:l2,[312]:l2,[318]:l2,[317]:l2,[319]:l2,[321]:l2,[320]:function(r,c,f){return lo(c,f,r.parameters)||ci(c,r.type)},[323]:function(r,c,f){return(typeof r.comment==\"string\"?void 0:lo(c,f,r.comment))||lo(c,f,r.tags)},[350]:function(r,c,f){return ci(c,r.tagName)||ci(c,r.name)||(typeof r.comment==\"string\"?void 0:lo(c,f,r.comment))},[313]:function(r,c,f){return ci(c,r.name)},[314]:function(r,c,f){return ci(c,r.left)||ci(c,r.right)},[344]:Une,[351]:Une,[333]:function(r,c,f){return ci(c,r.tagName)||(typeof r.comment==\"string\"?void 0:lo(c,f,r.comment))},[332]:function(r,c,f){return ci(c,r.tagName)||ci(c,r.class)||(typeof r.comment==\"string\"?void 0:lo(c,f,r.comment))},[331]:function(r,c,f){return ci(c,r.tagName)||ci(c,r.class)||(typeof r.comment==\"string\"?void 0:lo(c,f,r.comment))},[348]:function(r,c,f){return ci(c,r.tagName)||ci(c,r.constraint)||lo(c,f,r.typeParameters)||(typeof r.comment==\"string\"?void 0:lo(c,f,r.comment))},[349]:function(r,c,f){return ci(c,r.tagName)||(r.typeExpression&&r.typeExpression.kind===312?ci(c,r.typeExpression)||ci(c,r.fullName)||(typeof r.comment==\"string\"?void 0:lo(c,f,r.comment)):ci(c,r.fullName)||ci(c,r.typeExpression)||(typeof r.comment==\"string\"?void 0:lo(c,f,r.comment)))},[341]:function(r,c,f){return ci(c,r.tagName)||ci(c,r.fullName)||ci(c,r.typeExpression)||(typeof r.comment==\"string\"?void 0:lo(c,f,r.comment))},[345]:u2,[347]:u2,[346]:u2,[343]:u2,[353]:u2,[352]:u2,[342]:u2,[326]:function(r,c,f){return S(r.typeParameters,c)||S(r.parameters,c)||ci(c,r.type)},[327]:sj,[328]:sj,[329]:sj,[325]:function(r,c,f){return S(r.jsDocPropertyTags,c)},[330]:Yb,[335]:Yb,[336]:Yb,[337]:Yb,[338]:Yb,[339]:Yb,[334]:Yb,[340]:Yb,[356]:Cxe},(r=>{var c=WC(99,!0),f=20480,x,B,De,ke,Be;function te(L){return lg++,L}var wn={createBaseSourceFileNode:L=>te(new Be(L,0,0)),createBaseIdentifierNode:L=>te(new De(L,0,0)),createBasePrivateIdentifierNode:L=>te(new ke(L,0,0)),createBaseTokenNode:L=>te(new B(L,0,0)),createBaseNode:L=>te(new x(L,0,0))},st=jN(11,wn),{createNodeArray:wi,createNumericLiteral:an,createStringLiteral:Zn,createLiteralLikeNode:ar,createIdentifier:ys,createPrivateIdentifier:Is,createToken:So,createArrayLiteralExpression:Ws,createObjectLiteralExpression:_r,createPropertyAccessExpression:po,createPropertyAccessChain:Na,createElementAccessExpression:wu,createElementAccessChain:Tl,createCallExpression:Wu,createCallChain:hc,createNewExpression:xf,createParenthesizedExpression:rp,createBlock:$m,createVariableStatement:Zp,createExpressionStatement:ef,createIfStatement:lu,createWhileStatement:Uf,createForStatement:Ap,createForOfStatement:gd,createVariableDeclaration:zm,createVariableDeclarationList:tf}=st,$h,sp,jc,Ef,Kf,Uc,tc,xh,qf,Tc,lg,Wc,op,md,Gf,vc,jd=!0,ap=!1;function V0(L,pe,ut,rn){let jn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,rr=arguments.length>5?arguments[5]:void 0,bs=arguments.length>6?arguments[6]:void 0;var io;if(rr=kee(L,rr),rr===6){let ro=Um(L,pe,ut,rn,jn);return convertToObjectWorker(ro,(io=ro.statements[0])==null?void 0:io.expression,ro.parseDiagnostics,!1,void 0,void 0),ro.referencedFiles=Ci,ro.typeReferenceDirectives=Ci,ro.libReferenceDirectives=Ci,ro.amdDependencies=Ci,ro.hasNoDefaultLib=!1,ro.pragmas=ki,ro}Jf(L,pe,ut,rn,rr);let uo=H0(ut,jn,rr,bs||qne);return ug(),uo}r.parseSourceFile=V0;function A_(L,pe){Jf(\"\",L,pe,void 0,1),Sr();let ut=ev(!0),rn=fe()===1&&!tc.length;return ug(),rn?ut:void 0}r.parseIsolatedEntityName=A_;function Um(L,pe){let ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:2,rn=arguments.length>3?arguments[3]:void 0,jn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;Jf(L,pe,ut,rn,6),sp=vc,Sr();let rr=Kt(),bs,io;if(fe()===1)bs=Xd([],rr,rr),io=kp();else{let ka;for(;fe()!==1;){let ul;switch(fe()){case 22:ul=UI();break;case 110:case 95:case 104:ul=kp();break;case 40:al(()=>Sr()===8&&Sr()!==58)?ul=TI():ul=ZA();break;case 8:case 10:if(al(()=>Sr()!==58)){ul=om();break}default:ul=ZA();break}ka&&fu(ka)?ka.push(ul):ka?ka=[ka,ul]:(ka=ul,fe()!==1&&Cl(ns.Unexpected_token))}let Ql=fu(ka)?Hi(Ws(ka),rr):Bn.checkDefined(ka),Ol=ef(Ql);Hi(Ol,rr),bs=Xd([Ol],rr),io=Ym(1,ns.Unexpected_token)}let uo=Vu(L,2,6,!1,bs,io,sp,ku);jn&&Aa(uo),uo.nodeCount=lg,uo.identifierCount=op,uo.identifiers=Wc,uo.parseDiagnostics=zb(tc,uo),xh&&(uo.jsDocDiagnostics=zb(xh,uo));let ro=uo;return ug(),ro}r.parseJsonText=Um;function Jf(L,pe,ut,rn,jn){switch(x=$c.getNodeConstructor(),B=$c.getTokenConstructor(),De=$c.getIdentifierConstructor(),ke=$c.getPrivateIdentifierConstructor(),Be=$c.getSourceFileConstructor(),$h=rg(L),jc=pe,Ef=ut,qf=rn,Kf=jn,Uc=RR(jn),tc=[],md=0,Wc=new Map,op=0,lg=0,sp=0,jd=!0,Kf){case 1:case 2:vc=262144;break;case 6:vc=67371008;break;default:vc=0;break}ap=!1,c.setText(jc),c.setOnError(tr),c.setScriptTarget(Ef),c.setLanguageVariant(Uc)}function ug(){c.clearCommentDirectives(),c.setText(\"\"),c.setOnError(void 0),jc=void 0,Ef=void 0,qf=void 0,Kf=void 0,Uc=void 0,sp=0,tc=void 0,xh=void 0,md=0,Wc=void 0,Gf=void 0,jd=!0}function H0(L,pe,ut,rn){let jn=Jne($h);jn&&(vc|=16777216),sp=vc,Sr();let rr=L_(0,Lp);Bn.assert(fe()===1);let bs=fo(kp()),io=Vu($h,L,ut,jn,rr,bs,sp,rn);return Yne(io,jc),Xne(io,uo),io.commentDirectives=c.getCommentDirectives(),io.nodeCount=lg,io.identifierCount=op,io.identifiers=Wc,io.parseDiagnostics=zb(tc,io),xh&&(io.jsDocDiagnostics=zb(xh,io)),pe&&Aa(io),io;function uo(ro,ka,Ql){tc.push(GC($h,ro,ka,Ql))}}function rl(L,pe){return pe?fo(L):L}let Wr=!1;function fo(L){Bn.assert(!L.jsDoc);let pe=ha(AQ(L,jc),ut=>NF.parseJSDocComment(L,ut.pos,ut.end-ut.pos));return pe.length&&(L.jsDoc=pe),Wr&&(Wr=!1,L.flags|=268435456),L}function la(L){let pe=qf,ut=l6.createSyntaxCursor(L);qf={currentNode:ka};let rn=[],jn=tc;tc=[];let rr=0,bs=uo(L.statements,0);for(;bs!==-1;){let Ql=L.statements[rr],Ol=L.statements[bs];wt(rn,L.statements,rr,bs),rr=ro(L.statements,bs);let ul=In(jn,e_=>e_.start>=Ql.pos),Uh=ul>=0?In(jn,e_=>e_.start>=Ol.pos,ul):-1;ul>=0&&wt(tc,jn,ul,Uh>=0?Uh:void 0),Xf(()=>{let e_=vc;for(vc|=32768,c.setTextPos(Ol.pos),Sr();fe()!==1;){let pg=c.getStartPos(),lm=wS(0,Lp);if(rn.push(lm),pg===c.getStartPos()&&Sr(),rr>=0){let Np=L.statements[rr];if(lm.end===Np.pos)break;lm.end>Np.pos&&(rr=ro(L.statements,rr+1))}}vc=e_},2),bs=rr>=0?uo(L.statements,rr):-1}if(rr>=0){let Ql=L.statements[rr];wt(rn,L.statements,rr);let Ol=In(jn,ul=>ul.start>=Ql.pos);Ol>=0&&wt(tc,jn,Ol)}return qf=pe,st.updateSourceFile(L,Vl(wi(rn),L.statements));function io(Ql){return!(Ql.flags&32768)&&!!(Ql.transformFlags&67108864)}function uo(Ql,Ol){for(let ul=Ol;ul<Ql.length;ul++)if(io(Ql[ul]))return ul;return-1}function ro(Ql,Ol){for(let ul=Ol;ul<Ql.length;ul++)if(!io(Ql[ul]))return ul;return-1}function ka(Ql){let Ol=ut.currentNode(Ql);return jd&&Ol&&io(Ol)&&(Ol.intersectsChange=!0),Ol}}function Aa(L){Hee(L,!0)}r.fixupParentReferences=Aa;function Vu(L,pe,ut,rn,jn,rr,bs,io){let uo=st.createSourceFile(jn,rr,bs);return PN(uo,0,jc.length),ro(uo),!rn&&c2(uo)&&uo.transformFlags&67108864&&(uo=la(uo),ro(uo)),uo;function ro(ka){ka.text=jc,ka.bindDiagnostics=[],ka.bindSuggestionDiagnostics=void 0,ka.languageVersion=pe,ka.fileName=L,ka.languageVariant=RR(ut),ka.isDeclarationFile=rn,ka.scriptKind=ut,io(ka),ka.setExternalModuleIndicator=io}}function cu(L,pe){L?vc|=pe:vc&=~pe}function ws(L){cu(L,4096)}function Vs(L){cu(L,8192)}function Hs(L){cu(L,16384)}function na(L){cu(L,32768)}function fl(L,pe){let ut=L&vc;if(ut){cu(!1,ut);let rn=pe();return cu(!0,ut),rn}return pe()}function vl(L,pe){let ut=L&~vc;if(ut){cu(!0,ut);let rn=pe();return cu(!1,ut),rn}return pe()}function Hl(L){return fl(4096,L)}function Eh(L){return vl(4096,L)}function Ad(L){return fl(65536,L)}function Yf(L){return vl(65536,L)}function Km(L){return vl(8192,L)}function im(L){return vl(16384,L)}function qm(L){return vl(32768,L)}function $0(L){return fl(32768,L)}function Py(L){return vl(40960,L)}function Xb(L){return fl(40960,L)}function rm(L){return(vc&L)!==0}function sm(){return rm(8192)}function z0(){return rm(4096)}function U0(){return rm(65536)}function Gm(){return rm(16384)}function Tf(){return rm(32768)}function Cl(L,pe){return Ki(c.getTokenPos(),c.getTextPos(),L,pe)}function k_(L,pe,ut,rn){let jn=yi(tc),rr;return(!jn||L!==jn.start)&&(rr=GC($h,L,pe,ut,rn),tc.push(rr)),ap=!0,rr}function Ki(L,pe,ut,rn){return k_(L,pe-L,ut,rn)}function tn(L,pe,ut){Ki(L.pos,L.end,pe,ut)}function tr(L,pe){k_(c.getTextPos(),pe,L)}function Kt(){return c.getStartPos()}function Qr(){return c.hasPrecedingJSDocComment()}function fe(){return Tc}function ma(){return Tc=c.scan()}function Io(L){return Sr(),L()}function Sr(){return M0(Tc)&&(c.hasUnicodeEscape()||c.hasExtendedUnicodeEscape())&&Ki(c.getTokenPos(),c.getTextPos(),ns.Keywords_cannot_contain_escape_characters),ma()}function ia(){return Tc=c.scanJsDocToken()}function Fa(){return Tc=c.reScanGreaterToken()}function Xl(){return Tc=c.reScanSlashToken()}function wc(L){return Tc=c.reScanTemplateToken(L)}function Ac(){return Tc=c.reScanTemplateHeadOrNoSubstitutionTemplate()}function du(){return Tc=c.reScanLessThanToken()}function lp(){return Tc=c.reScanHashToken()}function hh(){return Tc=c.scanJsxIdentifier()}function Th(){return Tc=c.scanJsxToken()}function Yd(){return Tc=c.scanJsxAttributeValue()}function Xf(L,pe){let ut=Tc,rn=tc.length,jn=ap,rr=vc,bs=pe!==0?c.lookAhead(L):c.tryScan(L);return Bn.assert(rr===vc),(!bs||pe!==0)&&(Tc=ut,pe!==2&&(tc.length=rn),ap=jn),bs}function al(L){return Xf(L,1)}function Wd(L){return Xf(L,0)}function Qa(){return fe()===79?!0:fe()>116}function Dl(){return fe()===79?!0:fe()===125&&sm()||fe()===133&&Tf()?!1:fe()>116}function Hr(L,pe){let ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return fe()===L?(ut&&Sr(),!0):(pe?Cl(pe):Cl(ns._0_expected,Vh(L)),!1)}let Qf=Object.keys(hT).filter(L=>L.length>2);function Jm(L){var pe;if(Gte(L)){Ki(ch(jc,L.template.pos),L.template.end,ns.Module_declaration_names_may_only_use_or_quoted_strings);return}let ut=Ja(L)?Hh(L):void 0;if(!ut||!YO(ut,Ef)){Cl(ns._0_expected,Vh(26));return}let rn=ch(jc,L.pos);switch(ut){case\"const\":case\"let\":case\"var\":Ki(rn,L.end,ns.Variable_declaration_not_allowed_at_this_location);return;case\"declare\":return;case\"interface\":K0(ns.Interface_name_cannot_be_0,ns.Interface_must_be_given_a_name,18);return;case\"is\":Ki(rn,c.getTextPos(),ns.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case\"module\":case\"namespace\":K0(ns.Namespace_name_cannot_be_0,ns.Namespace_must_be_given_a_name,18);return;case\"type\":K0(ns.Type_alias_name_cannot_be_0,ns.Type_alias_must_be_given_a_name,63);return}let jn=(pe=ye(ut,Qf,rr=>rr))!=null?pe:h2(ut);if(jn){Ki(rn,L.end,ns.Unknown_keyword_or_identifier_Did_you_mean_0,jn);return}fe()!==0&&Ki(rn,L.end,ns.Unexpected_keyword_or_identifier)}function K0(L,pe,ut){fe()===ut?Cl(pe):Cl(L,c.getTokenValue())}function h2(L){for(let pe of Qf)if(L.length>pe.length+2&&ae(L,pe))return`${pe} ${L.slice(pe.length)}`}function bS(L,pe,ut){if(fe()===59&&!c.hasPrecedingLineBreak()){Cl(ns.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(fe()===20){Cl(ns.Cannot_start_a_function_call_in_a_type_annotation),Sr();return}if(pe&&!G0()){ut?Cl(ns._0_expected,Vh(26)):Cl(ns.Expected_for_property_initializer);return}if(!p2()){if(ut){Cl(ns._0_expected,Vh(26));return}Jm(L)}}function q0(L){return fe()===L?(ia(),!0):(Cl(ns._0_expected,Vh(L)),!1)}function Oy(L,pe,ut,rn){if(fe()===pe){Sr();return}let jn=Cl(ns._0_expected,Vh(pe));ut&&jn&&jT(jn,GC($h,rn,1,ns.The_parser_expected_to_find_a_1_to_match_the_0_token_here,Vh(L),Vh(pe)))}function Al(L){return fe()===L?(Sr(),!0):!1}function od(L){if(fe()===L)return kp()}function _6(L){if(fe()===L)return m6()}function Ym(L,pe,ut){return od(L)||Zf(L,!1,pe||ns._0_expected,ut||Vh(L))}function g6(L){return _6(L)||Zf(L,!1,ns._0_expected,Vh(L))}function kp(){let L=Kt(),pe=fe();return Sr(),Hi(So(pe),L)}function m6(){let L=Kt(),pe=fe();return ia(),Hi(So(pe),L)}function G0(){return fe()===26?!0:fe()===19||fe()===1||c.hasPrecedingLineBreak()}function p2(){return G0()?(fe()===26&&Sr(),!0):!1}function Af(){return p2()||Hr(26)}function Xd(L,pe,ut,rn){let jn=wi(L,rn);return Ub(jn,pe,ut!=null?ut:c.getStartPos()),jn}function Hi(L,pe,ut){return Ub(L,pe,ut!=null?ut:c.getStartPos()),vc&&(L.flags|=vc),ap&&(ap=!1,L.flags|=131072),L}function Zf(L,pe,ut,rn){pe?k_(c.getStartPos(),0,ut,rn):ut&&Cl(ut,rn);let jn=Kt(),rr=L===79?ys(\"\",void 0):CT(L)?st.createTemplateLiteralLikeNode(L,\"\",\"\",void 0):L===8?an(\"\",void 0):L===10?Zn(\"\",void 0):L===279?st.createMissingDeclaration():So(L);return Hi(rr,jn)}function J0(L){let pe=Wc.get(L);return pe===void 0&&Wc.set(L,pe=L),pe}function My(L,pe,ut){if(L){op++;let io=Kt(),uo=fe(),ro=J0(c.getTokenValue()),ka=c.hasExtendedUnicodeEscape();return ma(),Hi(ys(ro,uo,ka),io)}if(fe()===80)return Cl(ut||ns.Private_identifiers_are_not_allowed_outside_class_bodies),My(!0);if(fe()===0&&c.tryScan(()=>c.reScanInvalidIdentifier()===79))return My(!0);op++;let rn=fe()===1,jn=c.isReservedWord(),rr=c.getTokenText(),bs=jn?ns.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:ns.Identifier_expected;return Zf(79,rn,pe||bs,rr)}function vS(L){return My(Qa(),void 0,L)}function Qd(L,pe){return My(Dl(),L,pe)}function zh(L){return My(sd(fe()),L)}function Ry(){return sd(fe())||fe()===10||fe()===8}function y6(){return sd(fe())||fe()===10}function pj(L){if(fe()===10||fe()===8){let pe=om();return pe.text=J0(pe.text),pe}return L&&fe()===22?fj():fe()===80?CS():zh()}function By(){return pj(!0)}function fj(){let L=Kt();Hr(22);let pe=Hl(Vd);return Hr(23),Hi(st.createComputedPropertyName(pe),L)}function CS(){let L=Kt(),pe=Is(J0(c.getTokenValue()));return Sr(),Hi(pe,L)}function Qb(L){return fe()===L&&Wd(b6)}function fA(){return Sr(),c.hasPrecedingLineBreak()?!1:Xm()}function b6(){switch(fe()){case 85:return Sr()===92;case 93:return Sr(),fe()===88?al(C6):fe()===154?al(_j):f2();case 88:return C6();case 124:case 137:case 151:return Sr(),Xm();default:return fA()}}function f2(){return fe()===59||fe()!==41&&fe()!==128&&fe()!==18&&Xm()}function _j(){return Sr(),f2()}function v6(){return Wm(fe())&&Wd(b6)}function Xm(){return fe()===22||fe()===18||fe()===41||fe()===25||Ry()}function C6(){return Sr(),fe()===84||fe()===98||fe()===118||fe()===59||fe()===126&&al(iF)||fe()===132&&al(rF)}function Zb(L,pe){if(yA(L))return!0;switch(L){case 0:case 1:case 3:return!(fe()===26&&pe)&&sF();case 2:return fe()===82||fe()===88;case 4:return al(q6);case 5:return al(_W)||fe()===26&&!pe;case 6:return fe()===22||Ry();case 12:switch(fe()){case 22:case 41:case 25:case 24:return!0;default:return Ry()}case 18:return Ry();case 9:return fe()===22||fe()===25||Ry();case 24:return y6();case 7:return fe()===18?al(D6):pe?Dl()&&!gA():HA()&&!gA();case 8:return rk();case 10:return fe()===27||fe()===25||rk();case 19:return fe()===101||fe()===85||Dl();case 15:switch(fe()){case 27:case 24:return!0}case 11:return fe()===25||Z0();case 16:return AS(!1);case 17:return AS(!0);case 20:case 21:return fe()===27||iv();case 22:return RS();case 23:return sd(fe());case 13:return sd(fe())||fe()===18;case 14:return!0}return Bn.fail(\"Non-exhaustive case in 'isListElement'.\")}function D6(){if(Bn.assert(fe()===18),Sr()===19){let L=Sr();return L===27||L===18||L===94||L===117}return!0}function DS(){return Sr(),Dl()}function _A(){return Sr(),sd(fe())}function gj(){return Sr(),jY(fe())}function gA(){return fe()===117||fe()===94?al(w6):!1}function w6(){return Sr(),Z0()}function S6(){return Sr(),iv()}function Y0(L){if(fe()===1)return!0;switch(L){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return fe()===19;case 3:return fe()===19||fe()===82||fe()===88;case 7:return fe()===18||fe()===94||fe()===117;case 8:return mj();case 19:return fe()===31||fe()===20||fe()===18||fe()===94||fe()===117;case 11:return fe()===21||fe()===26;case 15:case 21:case 10:return fe()===23;case 17:case 16:case 18:return fe()===21||fe()===23;case 20:return fe()!==27;case 22:return fe()===18||fe()===19;case 13:return fe()===31||fe()===43;case 14:return fe()===29&&al(TW);default:return!1}}function mj(){return!!(G0()||wI(fe())||fe()===38)}function mA(){for(let L=0;L<25;L++)if(md&1<<L&&(Zb(L,!0)||Y0(L)))return!0;return!1}function L_(L,pe){let ut=md;md|=1<<L;let rn=[],jn=Kt();for(;!Y0(L);){if(Zb(L,!1)){rn.push(wS(L,pe));continue}if(wA(L))break}return md=ut,Xd(rn,jn)}function wS(L,pe){let ut=yA(L);return ut?bA(ut):pe()}function yA(L,pe){var ut;if(!qf||!yj(L)||ap)return;let rn=qf.currentNode(pe!=null?pe:c.getStartPos());if(!(O0(rn)||rn.intersectsChange||EM(rn)||(rn.flags&50720768)!==vc)&&x6(rn,L))return pN(rn)&&(ut=rn.jsDoc)!=null&&ut.jsDocCache&&(rn.jsDoc.jsDocCache=void 0),rn}function bA(L){return c.setTextPos(L.end),Sr(),L}function yj(L){switch(L){case 5:case 2:case 0:case 1:case 3:case 6:case 4:case 8:case 17:case 16:return!0}return!1}function x6(L,pe){switch(pe){case 5:return E6(L);case 2:return vA(L);case 0:case 1:case 3:return T6(L);case 6:return CA(L);case 4:return A6(L);case 8:return DA(L);case 17:case 16:return k6(L)}return!1}function E6(L){if(L)switch(L.kind){case 173:case 178:case 174:case 175:case 169:case 237:return!0;case 171:let pe=L;return!(pe.name.kind===79&&pe.name.escapedText===\"constructor\")}return!1}function vA(L){if(L)switch(L.kind){case 292:case 293:return!0}return!1}function T6(L){if(L)switch(L.kind){case 259:case 240:case 238:case 242:case 241:case 254:case 250:case 252:case 249:case 248:case 246:case 247:case 245:case 244:case 251:case 239:case 255:case 253:case 243:case 256:case 269:case 268:case 275:case 274:case 264:case 260:case 261:case 263:case 262:return!0}return!1}function CA(L){return L.kind===302}function A6(L){if(L)switch(L.kind){case 177:case 170:case 178:case 168:case 176:return!0}return!1}function DA(L){return L.kind!==257?!1:L.initializer===void 0}function k6(L){return L.kind!==166?!1:L.initializer===void 0}function wA(L){return bj(L),mA()?!0:(Sr(),!1)}function bj(L){switch(L){case 0:return fe()===88?Cl(ns._0_expected,Vh(93)):Cl(ns.Declaration_or_statement_expected);case 1:return Cl(ns.Declaration_or_statement_expected);case 2:return Cl(ns.case_or_default_expected);case 3:return Cl(ns.Statement_expected);case 18:case 4:return Cl(ns.Property_or_signature_expected);case 5:return Cl(ns.Unexpected_token_A_constructor_method_accessor_or_property_was_expected);case 6:return Cl(ns.Enum_member_expected);case 7:return Cl(ns.Expression_expected);case 8:return M0(fe())?Cl(ns._0_is_not_allowed_as_a_variable_declaration_name,Vh(fe())):Cl(ns.Variable_declaration_expected);case 9:return Cl(ns.Property_destructuring_pattern_expected);case 10:return Cl(ns.Array_element_destructuring_pattern_expected);case 11:return Cl(ns.Argument_expression_expected);case 12:return Cl(ns.Property_assignment_expected);case 15:return Cl(ns.Expression_or_comma_expected);case 17:return Cl(ns.Parameter_declaration_expected);case 16:return M0(fe())?Cl(ns._0_is_not_allowed_as_a_parameter_name,Vh(fe())):Cl(ns.Parameter_declaration_expected);case 19:return Cl(ns.Type_parameter_declaration_expected);case 20:return Cl(ns.Type_argument_expected);case 21:return Cl(ns.Type_expected);case 22:return Cl(ns.Unexpected_token_expected);case 23:return Cl(ns.Identifier_expected);case 13:return Cl(ns.Identifier_expected);case 14:return Cl(ns.Identifier_expected);case 24:return Cl(ns.Identifier_or_string_literal_expected);case 25:return Bn.fail(\"ParsingContext.Count used as a context\");default:Bn.assertNever(L)}}function nf(L,pe,ut){let rn=md;md|=1<<L;let jn=[],rr=Kt(),bs=-1;for(;;){if(Zb(L,!1)){let io=c.getStartPos(),uo=wS(L,pe);if(!uo){md=rn;return}if(jn.push(uo),bs=c.getTokenPos(),Al(27))continue;if(bs=-1,Y0(L))break;Hr(27,vj(L)),ut&&fe()===26&&!c.hasPrecedingLineBreak()&&Sr(),io===c.getStartPos()&&Sr();continue}if(Y0(L)||wA(L))break}return md=rn,Xd(jn,rr,void 0,bs>=0)}function vj(L){return L===6?ns.An_enum_member_name_must_be_followed_by_a_or:void 0}function cg(){let L=Xd([],Kt());return L.isMissingList=!0,L}function Cj(L){return!!L.isMissingList}function X0(L,pe,ut,rn){if(Hr(ut)){let jn=nf(L,pe);return Hr(rn),jn}return cg()}function ev(L,pe){let ut=Kt(),rn=L?zh(pe):Qd(pe);for(;Al(24)&&fe()!==29;)rn=Hi(st.createQualifiedName(rn,SS(L,!1)),ut);return rn}function SA(L,pe){return Hi(st.createQualifiedName(L,pe),L.pos)}function SS(L,pe){if(c.hasPrecedingLineBreak()&&sd(fe())&&al(tk))return Zf(79,!0,ns.Identifier_expected);if(fe()===80){let ut=CS();return pe?ut:Zf(79,!0,ns.Identifier_expected)}return L?zh():Qd()}function xA(L){let pe=Kt(),ut=[],rn;do rn=wj(L),ut.push(rn);while(rn.literal.kind===16);return Xd(ut,pe)}function L6(L){let pe=Kt();return Hi(st.createTemplateExpression(I6(L),xA(L)),pe)}function EA(){let L=Kt();return Hi(st.createTemplateLiteralType(I6(!1),N6()),L)}function N6(){let L=Kt(),pe=[],ut;do ut=Dj(),pe.push(ut);while(ut.literal.kind===16);return Xd(pe,L)}function Dj(){let L=Kt();return Hi(st.createTemplateLiteralTypeSpan(kc(),TA(!1)),L)}function TA(L){return fe()===19?(wc(L),xS()):Ym(17,ns._0_expected,Vh(19))}function wj(L){let pe=Kt();return Hi(st.createTemplateSpan(Hl(Vd),TA(L)),pe)}function om(){return _2(fe())}function I6(L){L&&Ac();let pe=_2(fe());return Bn.assert(pe.kind===15,\"Template head has wrong token kind\"),pe}function xS(){let L=_2(fe());return Bn.assert(L.kind===16||L.kind===17,\"Template fragment has wrong token kind\"),L}function F6(L){let pe=L===14||L===17,ut=c.getTokenText();return ut.substring(1,ut.length-(c.isUnterminated()?0:pe?1:2))}function _2(L){let pe=Kt(),ut=CT(L)?st.createTemplateLiteralLikeNode(L,c.getTokenValue(),F6(L),c.getTokenFlags()&2048):L===8?an(c.getTokenValue(),c.getNumericLiteralFlags()):L===10?Zn(c.getTokenValue(),void 0,c.hasExtendedUnicodeEscape()):aM(L)?ar(L,c.getTokenValue()):Bn.fail();return c.hasExtendedUnicodeEscape()&&(ut.hasExtendedUnicodeEscape=!0),c.isUnterminated()&&(ut.isUnterminated=!0),Sr(),Hi(ut,pe)}function AA(){return ev(!0,ns.Type_expected)}function tv(){if(!c.hasPrecedingLineBreak()&&du()===29)return X0(20,kc,29,31)}function ES(){let L=Kt();return Hi(st.createTypeReferenceNode(AA(),tv()),L)}function kA(L){switch(L.kind){case 180:return O0(L.typeName);case 181:case 182:{let{parameters:pe,type:ut}=L;return Cj(pe)||kA(ut)}case 193:return kA(L.type);default:return!1}}function Sj(L){return Sr(),Hi(st.createTypePredicateNode(void 0,L,kc()),L.pos)}function P6(){let L=Kt();return Sr(),Hi(st.createThisTypeNode(),L)}function O6(){let L=Kt();return Sr(),Hi(st.createJSDocAllType(),L)}function xj(){let L=Kt();return Sr(),Hi(st.createJSDocNonNullableType(BA(),!1),L)}function M6(){let L=Kt();return Sr(),fe()===27||fe()===19||fe()===21||fe()===31||fe()===63||fe()===51?Hi(st.createJSDocUnknownType(),L):Hi(st.createJSDocNullableType(kc(),!1),L)}function Ej(){let L=Kt(),pe=Qr();if(al(TF)){Sr();let ut=Qm(36),rn=dg(58,!1);return rl(Hi(st.createJSDocFunctionType(ut,rn),L),pe)}return Hi(st.createTypeReferenceNode(zh(),void 0),L)}function R6(){let L=Kt(),pe;return(fe()===108||fe()===103)&&(pe=zh(),Hr(58)),Hi(st.createParameterDeclaration(void 0,void 0,pe,void 0,TS(),void 0),L)}function TS(){c.setInJSDocType(!0);let L=Kt();if(Al(142)){let rn=st.createJSDocNamepathType(void 0);e:for(;;)switch(fe()){case 19:case 1:case 27:case 5:break e;default:ia()}return c.setInJSDocType(!1),Hi(rn,L)}let pe=Al(25),ut=VA();return c.setInJSDocType(!1),pe&&(ut=Hi(st.createJSDocVariadicType(ut),L)),fe()===63?(Sr(),Hi(st.createJSDocOptionalType(ut),L)):ut}function Tj(){let L=Kt();Hr(112);let pe=ev(!0),ut=c.hasPrecedingLineBreak()?void 0:MS();return Hi(st.createTypeQueryNode(pe,ut),L)}function B6(){let L=Kt(),pe=am(!1,!0),ut=Qd(),rn,jn;Al(94)&&(iv()||!Z0()?rn=kc():jn=qA());let rr=Al(63)?kc():void 0,bs=st.createTypeParameterDeclaration(pe,ut,rn,rr);return bs.expression=jn,Hi(bs,L)}function N_(){if(fe()===29)return X0(19,B6,29,31)}function AS(L){return fe()===25||rk()||Wm(fe())||fe()===59||iv(!L)}function j6(L){let pe=ov(ns.Private_identifiers_cannot_be_used_as_parameters);return nN(pe)===0&&!so(L)&&Wm(fe())&&Sr(),pe}function W6(){return Qa()||fe()===22||fe()===18}function LA(L){return NA(L)}function V6(L){return NA(L,!1)}function NA(L){let pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,ut=Kt(),rn=Qr(),jn=L?qm(()=>am(!0)):$0(()=>am(!0));if(fe()===108){let uo=st.createParameterDeclaration(jn,void 0,My(!0),void 0,Q0(),void 0),ro=Tt(jn);return ro&&tn(ro,ns.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters),rl(Hi(uo,ut),rn)}let rr=jd;jd=!1;let bs=od(25);if(!pe&&!W6())return;let io=rl(Hi(st.createParameterDeclaration(jn,bs,j6(jn),od(57),Q0(),e1()),ut),rn);return jd=rr,io}function dg(L,pe){if(H6(L,pe))return Ad(VA)}function H6(L,pe){return L===38?(Hr(L),!0):Al(58)?!0:pe&&fe()===38?(Cl(ns._0_expected,Vh(58)),Sr(),!0):!1}function kS(L,pe){let ut=sm(),rn=Tf();Vs(!!(L&1)),na(!!(L&2));let jn=L&32?nf(17,R6):nf(16,()=>pe?LA(rn):V6(rn));return Vs(ut),na(rn),jn}function Qm(L){if(!Hr(20))return cg();let pe=kS(L,!0);return Hr(21),pe}function g2(){Al(27)||Af()}function $6(L){let pe=Kt(),ut=Qr();L===177&&Hr(103);let rn=N_(),jn=Qm(4),rr=dg(58,!0);g2();let bs=L===176?st.createCallSignature(rn,jn,rr):st.createConstructSignature(rn,jn,rr);return rl(Hi(bs,pe),ut)}function z6(){return fe()===22&&al(nv)}function nv(){if(Sr(),fe()===25||fe()===23)return!0;if(Wm(fe())){if(Sr(),Dl())return!0}else if(Dl())Sr();else return!1;return fe()===58||fe()===27?!0:fe()!==57?!1:(Sr(),fe()===58||fe()===27||fe()===23)}function U6(L,pe,ut){let rn=X0(16,()=>LA(!1),22,23),jn=Q0();g2();let rr=st.createIndexSignature(ut,rn,jn);return rl(Hi(rr,L),pe)}function K6(L,pe,ut){let rn=By(),jn=od(57),rr;if(fe()===20||fe()===29){let bs=N_(),io=Qm(4),uo=dg(58,!0);rr=st.createMethodSignature(ut,rn,jn,bs,io,uo)}else{let bs=Q0();rr=st.createPropertySignature(ut,rn,jn,bs),fe()===63&&(rr.initializer=e1())}return g2(),rl(Hi(rr,L),pe)}function q6(){if(fe()===20||fe()===29||fe()===137||fe()===151)return!0;let L=!1;for(;Wm(fe());)L=!0,Sr();return fe()===22?!0:(Ry()&&(L=!0,Sr()),L?fe()===20||fe()===29||fe()===57||fe()===58||fe()===27||G0():!1)}function IA(){if(fe()===20||fe()===29)return $6(176);if(fe()===103&&al(m2))return $6(177);let L=Kt(),pe=Qr(),ut=am(!1);return Qb(137)?i1(L,pe,ut,174,4):Qb(151)?i1(L,pe,ut,175,4):z6()?U6(L,pe,ut):K6(L,pe,ut)}function m2(){return Sr(),fe()===20||fe()===29}function Aj(){return Sr()===24}function FA(){switch(Sr()){case 20:case 29:case 24:return!0}return!1}function kj(){let L=Kt();return Hi(st.createTypeLiteralNode(PA()),L)}function PA(){let L;return Hr(18)?(L=L_(4,IA),Hr(19)):L=cg(),L}function Lj(){return Sr(),fe()===39||fe()===40?Sr()===146:(fe()===146&&Sr(),fe()===22&&DS()&&Sr()===101)}function G6(){let L=Kt(),pe=zh();Hr(101);let ut=kc();return Hi(st.createTypeParameterDeclaration(void 0,pe,ut,void 0),L)}function Nj(){let L=Kt();Hr(18);let pe;(fe()===146||fe()===39||fe()===40)&&(pe=kp(),pe.kind!==146&&Hr(146)),Hr(22);let ut=G6(),rn=Al(128)?kc():void 0;Hr(23);let jn;(fe()===57||fe()===39||fe()===40)&&(jn=kp(),jn.kind!==57&&Hr(57));let rr=Q0();Af();let bs=L_(4,IA);return Hr(19),Hi(st.createMappedTypeNode(pe,ut,rn,jn,rr,bs),L)}function OA(){let L=Kt();if(Al(25))return Hi(st.createRestTypeNode(kc()),L);let pe=kc();if(lne(pe)&&pe.pos===pe.type.pos){let ut=st.createOptionalTypeNode(pe.type);return Vl(ut,pe),ut.flags=pe.flags,ut}return pe}function J6(){return Sr()===58||fe()===57&&Sr()===58}function Y6(){return fe()===25?sd(Sr())&&J6():sd(fe())&&J6()}function Ij(){if(al(Y6)){let L=Kt(),pe=Qr(),ut=od(25),rn=zh(),jn=od(57);Hr(58);let rr=OA(),bs=st.createNamedTupleMember(ut,rn,jn,rr);return rl(Hi(bs,L),pe)}return OA()}function X6(){let L=Kt();return Hi(st.createTupleTypeNode(X0(21,Ij,22,23)),L)}function Fj(){let L=Kt();Hr(20);let pe=kc();return Hr(21),Hi(st.createParenthesizedType(pe),L)}function Q6(){let L;if(fe()===126){let pe=Kt();Sr();let ut=Hi(So(126),pe);L=Xd([ut],pe)}return L}function Z6(){let L=Kt(),pe=Qr(),ut=Q6(),rn=Al(103);Bn.assert(!ut||rn,\"Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers.\");let jn=N_(),rr=Qm(4),bs=dg(38,!1),io=rn?st.createConstructorTypeNode(ut,jn,rr,bs):st.createFunctionTypeNode(jn,rr,bs);return rl(Hi(io,L),pe)}function MA(){let L=kp();return fe()===24?void 0:L}function eI(L){let pe=Kt();L&&Sr();let ut=fe()===110||fe()===95||fe()===104?kp():_2(fe());return L&&(ut=Hi(st.createPrefixUnaryExpression(40,ut),pe)),Hi(st.createLiteralTypeNode(ut),pe)}function tI(){return Sr(),fe()===100}function Pj(){let L=Kt(),pe=c.getTokenPos();Hr(18);let ut=c.hasPrecedingLineBreak();Hr(130),Hr(58);let rn=dk(!0);if(!Hr(19)){let jn=yi(tc);jn&&jn.code===ns._0_expected.code&&jT(jn,GC($h,pe,1,ns.The_parser_expected_to_find_a_1_to_match_the_0_token_here,\"{\",\"}\"))}return Hi(st.createImportTypeAssertionContainer(rn,ut),L)}function RA(){sp|=2097152;let L=Kt(),pe=Al(112);Hr(100),Hr(20);let ut=kc(),rn;Al(27)&&(rn=Pj()),Hr(21);let jn=Al(24)?AA():void 0,rr=tv();return Hi(st.createImportTypeNode(ut,rn,jn,rr,pe),L)}function nI(){return Sr(),fe()===8||fe()===9}function BA(){switch(fe()){case 131:case 157:case 152:case 148:case 160:case 153:case 134:case 155:case 144:case 149:return Wd(MA)||ES();case 66:c.reScanAsteriskEqualsToken();case 41:return O6();case 60:c.reScanQuestionToken();case 57:return M6();case 98:return Ej();case 53:return xj();case 14:case 10:case 8:case 9:case 110:case 95:case 104:return eI();case 40:return al(nI)?eI(!0):ES();case 114:return kp();case 108:{let L=P6();return fe()===140&&!c.hasPrecedingLineBreak()?Sj(L):L}case 112:return al(tI)?RA():Tj();case 18:return al(Lj)?Nj():kj();case 22:return X6();case 20:return Fj();case 100:return RA();case 129:return al(tk)?hI():ES();case 15:return EA();default:return ES()}}function iv(L){switch(fe()){case 131:case 157:case 152:case 148:case 160:case 134:case 146:case 153:case 156:case 114:case 155:case 104:case 108:case 112:case 144:case 18:case 22:case 29:case 51:case 50:case 103:case 10:case 8:case 9:case 110:case 95:case 149:case 41:case 57:case 53:case 25:case 138:case 100:case 129:case 14:case 15:return!0;case 98:return!L;case 40:return!L&&al(nI);case 20:return!L&&al(iI);default:return Dl()}}function iI(){return Sr(),fe()===21||AS(!1)||iv()}function rI(){let L=Kt(),pe=BA();for(;!c.hasPrecedingLineBreak();)switch(fe()){case 53:Sr(),pe=Hi(st.createJSDocNonNullableType(pe,!0),L);break;case 57:if(al(S6))return pe;Sr(),pe=Hi(st.createJSDocNullableType(pe,!0),L);break;case 22:if(Hr(22),iv()){let ut=kc();Hr(23),pe=Hi(st.createIndexedAccessTypeNode(pe,ut),L)}else Hr(23),pe=Hi(st.createArrayTypeNode(pe),L);break;default:return pe}return pe}function sI(L){let pe=Kt();return Hr(L),Hi(st.createTypeOperatorNode(L,aI()),pe)}function Oj(){if(Al(94)){let L=Yf(kc);if(U0()||fe()!==57)return L}}function oI(){let L=Kt(),pe=Qd(),ut=Wd(Oj),rn=st.createTypeParameterDeclaration(void 0,pe,ut);return Hi(rn,L)}function Mj(){let L=Kt();return Hr(138),Hi(st.createInferTypeNode(oI()),L)}function aI(){let L=fe();switch(L){case 141:case 156:case 146:return sI(L);case 138:return Mj()}return Ad(rI)}function LS(L){if(WA()){let pe=Z6(),ut;return XT(pe)?ut=L?ns.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:ns.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:ut=L?ns.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:ns.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type,tn(pe,ut),pe}}function lI(L,pe,ut){let rn=Kt(),jn=L===51,rr=Al(L),bs=rr&&LS(jn)||pe();if(fe()===L||rr){let io=[bs];for(;Al(L);)io.push(LS(jn)||pe());bs=Hi(ut(Xd(io,rn)),rn)}return bs}function jA(){return lI(50,aI,st.createIntersectionTypeNode)}function Rj(){return lI(51,jA,st.createUnionTypeNode)}function uI(){return Sr(),fe()===103}function WA(){return fe()===29||fe()===20&&al(cI)?!0:fe()===103||fe()===126&&al(uI)}function Bj(){if(Wm(fe())&&am(!1),Dl()||fe()===108)return Sr(),!0;if(fe()===22||fe()===18){let L=tc.length;return ov(),L===tc.length}return!1}function cI(){return Sr(),!!(fe()===21||fe()===25||Bj()&&(fe()===58||fe()===27||fe()===57||fe()===63||fe()===21&&(Sr(),fe()===38)))}function VA(){let L=Kt(),pe=Dl()&&Wd(dI),ut=kc();return pe?Hi(st.createTypePredicateNode(void 0,pe,ut),L):ut}function dI(){let L=Qd();if(fe()===140&&!c.hasPrecedingLineBreak())return Sr(),L}function hI(){let L=Kt(),pe=Ym(129),ut=fe()===108?P6():Qd(),rn=Al(140)?kc():void 0;return Hi(st.createTypePredicateNode(pe,ut,rn),L)}function kc(){if(vc&40960)return fl(40960,kc);if(WA())return Z6();let L=Kt(),pe=Rj();if(!U0()&&!c.hasPrecedingLineBreak()&&Al(94)){let ut=Yf(kc);Hr(57);let rn=Ad(kc);Hr(58);let jn=Ad(kc);return Hi(st.createConditionalTypeNode(pe,ut,rn,jn),L)}return pe}function Q0(){return Al(58)?kc():void 0}function HA(){switch(fe()){case 108:case 106:case 104:case 110:case 95:case 8:case 9:case 10:case 14:case 15:case 20:case 22:case 18:case 98:case 84:case 103:case 43:case 68:case 79:return!0;case 100:return al(FA);default:return Dl()}}function Z0(){if(HA())return!0;switch(fe()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 45:case 46:case 29:case 133:case 125:case 80:case 59:return!0;default:return SI()?!0:Dl()}}function pI(){return fe()!==18&&fe()!==98&&fe()!==84&&fe()!==59&&Z0()}function Vd(){let L=Gm();L&&Hs(!1);let pe=Kt(),ut=up(!0),rn;for(;rn=od(27);)ut=UA(ut,rn,up(!0),pe);return L&&Hs(!0),ut}function e1(){return Al(63)?up(!0):void 0}function up(L){if(fI())return _I();let pe=Wj(L)||vI(L);if(pe)return pe;let ut=Kt(),rn=y2(0);return rn.kind===79&&fe()===38?gI(ut,rn,L,void 0):VC(rn)&&Xw(Fa())?UA(rn,kp(),up(L),ut):Vj(rn,ut,L)}function fI(){return fe()===125?sm()?!0:al(nk):!1}function jj(){return Sr(),!c.hasPrecedingLineBreak()&&Dl()}function _I(){let L=Kt();return Sr(),!c.hasPrecedingLineBreak()&&(fe()===41||Z0())?Hi(st.createYieldExpression(od(41),up(!0)),L):Hi(st.createYieldExpression(void 0,void 0),L)}function gI(L,pe,ut,rn){Bn.assert(fe()===38,\"parseSimpleArrowFunctionExpression should only have been called if we had a =>\");let jn=st.createParameterDeclaration(void 0,void 0,pe,void 0,void 0,void 0);Hi(jn,pe.pos);let rr=Xd([jn],jn.pos,jn.end),bs=Ym(38),io=$A(!!rn,ut),uo=st.createArrowFunction(rn,void 0,rr,void 0,bs,io);return fo(Hi(uo,L))}function Wj(L){let pe=mI();if(pe!==0)return pe===1?DI(!0,!0):Wd(()=>bI(L))}function mI(){return fe()===20||fe()===29||fe()===132?al(yI):fe()===38?1:0}function yI(){if(fe()===132&&(Sr(),c.hasPrecedingLineBreak()||fe()!==20&&fe()!==29))return 0;let L=fe(),pe=Sr();if(L===20){if(pe===21)switch(Sr()){case 38:case 58:case 18:return 1;default:return 0}if(pe===22||pe===18)return 2;if(pe===25)return 1;if(Wm(pe)&&pe!==132&&al(DS))return Sr()===128?0:1;if(!Dl()&&pe!==108)return 0;switch(Sr()){case 58:return 1;case 57:return Sr(),fe()===58||fe()===27||fe()===63||fe()===21?1:0;case 27:case 63:case 21:return 2}return 0}else return Bn.assert(L===29),!Dl()&&fe()!==85?0:Uc===1?al(()=>{Al(85);let ut=Sr();if(ut===94)switch(Sr()){case 63:case 31:case 43:return!1;default:return!0}else if(ut===27||ut===63)return!0;return!1})?1:0:2}function bI(L){let pe=c.getTokenPos();if(Gf!=null&&Gf.has(pe))return;let ut=DI(!1,L);return ut||(Gf||(Gf=new Set)).add(pe),ut}function vI(L){if(fe()===132&&al(CI)===1){let pe=Kt(),ut=uk(),rn=y2(0);return gI(pe,rn,L,ut)}}function CI(){if(fe()===132){if(Sr(),c.hasPrecedingLineBreak()||fe()===38)return 0;let L=y2(0);if(!c.hasPrecedingLineBreak()&&L.kind===79&&fe()===38)return 1}return 0}function DI(L,pe){let ut=Kt(),rn=Qr(),jn=uk(),rr=so(jn,UT)?2:0,bs=N_(),io;if(Hr(20)){if(L)io=kS(rr,L);else{let pg=kS(rr,L);if(!pg)return;io=pg}if(!Hr(21)&&!L)return}else{if(!L)return;io=cg()}let uo=fe()===58,ro=dg(58,!1);if(ro&&!L&&kA(ro))return;let ka=ro;for(;(ka==null?void 0:ka.kind)===193;)ka=ka.type;let Ql=ka&&e6(ka);if(!L&&fe()!==38&&(Ql||fe()!==18))return;let Ol=fe(),ul=Ym(38),Uh=Ol===38||Ol===18?$A(so(jn,UT),pe):Qd();if(!pe&&uo&&fe()!==58)return;let e_=st.createArrowFunction(jn,bs,io,ro,ul,Uh);return rl(Hi(e_,ut),rn)}function $A(L,pe){if(fe()===18)return FS(L?2:0);if(fe()!==26&&fe()!==98&&fe()!==84&&sF()&&!pI())return FS(16|(L?2:0));let ut=jd;jd=!1;let rn=L?qm(()=>up(pe)):$0(()=>up(pe));return jd=ut,rn}function Vj(L,pe,ut){let rn=od(57);if(!rn)return L;let jn;return Hi(st.createConditionalExpression(L,rn,fl(f,()=>up(!1)),jn=Ym(58),ET(jn)?up(ut):Zf(79,!1,ns._0_expected,Vh(58))),pe)}function y2(L){let pe=Kt(),ut=qA();return zA(L,ut,pe)}function wI(L){return L===101||L===162}function zA(L,pe,ut){for(;;){Fa();let rn=IT(fe());if(!(fe()===42?rn>=L:rn>L)||fe()===101&&z0())break;if(fe()===128||fe()===150){if(c.hasPrecedingLineBreak())break;{let jn=fe();Sr(),pe=jn===150?xI(pe,kc()):EI(pe,kc())}}else pe=UA(pe,kp(),y2(rn),ut)}return pe}function SI(){return z0()&&fe()===101?!1:IT(fe())>0}function xI(L,pe){return Hi(st.createSatisfiesExpression(L,pe),L.pos)}function UA(L,pe,ut,rn){return Hi(st.createBinaryExpression(L,pe,ut),rn)}function EI(L,pe){return Hi(st.createAsExpression(L,pe),L.pos)}function TI(){let L=Kt();return Hi(st.createPrefixUnaryExpression(fe(),Io(Zm)),L)}function AI(){let L=Kt();return Hi(st.createDeleteExpression(Io(Zm)),L)}function Hj(){let L=Kt();return Hi(st.createTypeOfExpression(Io(Zm)),L)}function kI(){let L=Kt();return Hi(st.createVoidExpression(Io(Zm)),L)}function $j(){return fe()===133?Tf()?!0:al(nk):!1}function KA(){let L=Kt();return Hi(st.createAwaitExpression(Io(Zm)),L)}function qA(){if(LI()){let ut=Kt(),rn=NI();return fe()===42?zA(IT(fe()),rn,ut):rn}let L=fe(),pe=Zm();if(fe()===42){let ut=ch(jc,pe.pos),{end:rn}=pe;pe.kind===213?Ki(ut,rn,ns.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):Ki(ut,rn,ns.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,Vh(L))}return pe}function Zm(){switch(fe()){case 39:case 40:case 54:case 53:return TI();case 89:return AI();case 112:return Hj();case 114:return kI();case 29:return Uc===1?b2(!0):jI();case 133:if($j())return KA();default:return NI()}}function LI(){switch(fe()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 133:return!1;case 29:if(Uc!==1)return!1;default:return!0}}function NI(){if(fe()===45||fe()===46){let pe=Kt();return Hi(st.createPrefixUnaryExpression(fe(),Io(rv)),pe)}else if(Uc===1&&fe()===29&&al(gj))return b2(!0);let L=rv();if(Bn.assert(VC(L)),(fe()===45||fe()===46)&&!c.hasPrecedingLineBreak()){let pe=fe();return Sr(),Hi(st.createPostfixUnaryExpression(L,pe),L.pos)}return L}function rv(){let L=Kt(),pe;return fe()===100?al(m2)?(sp|=2097152,pe=kp()):al(Aj)?(Sr(),Sr(),pe=Hi(st.createMetaProperty(100,zh()),L),sp|=4194304):pe=II():pe=fe()===106?GA():II(),XA(L,pe)}function II(){let L=Kt(),pe=QA();return n1(L,pe,!0)}function GA(){let L=Kt(),pe=kp();if(fe()===29){let ut=Kt(),rn=Wd(IS);rn!==void 0&&(Ki(ut,Kt(),ns.super_may_not_use_type_arguments),v2()||(pe=st.createExpressionWithTypeArguments(pe,rn)))}return fe()===20||fe()===24||fe()===22?pe:(Ym(24,ns.super_must_be_followed_by_an_argument_list_or_member_access),Hi(po(pe,SS(!0,!0)),L))}function b2(L,pe,ut){let rn=Kt(),jn=OI(L),rr;if(jn.kind===283){let bs=PI(jn),io,uo=bs[bs.length-1];if((uo==null?void 0:uo.kind)===281&&!Hm(uo.openingElement.tagName,uo.closingElement.tagName)&&Hm(jn.tagName,uo.closingElement.tagName)){let ro=uo.children.end,ka=Hi(st.createJsxElement(uo.openingElement,uo.children,Hi(st.createJsxClosingElement(Hi(ys(\"\"),ro,ro)),ro,ro)),uo.openingElement.pos,ro);bs=Xd([...bs.slice(0,bs.length-1),ka],bs.pos,ro),io=uo.closingElement}else io=BI(jn,L),Hm(jn.tagName,io.tagName)||(ut&&rA(ut)&&Hm(io.tagName,ut.tagName)?tn(jn.tagName,ns.JSX_element_0_has_no_corresponding_closing_tag,zw(jc,jn.tagName)):tn(io.tagName,ns.Expected_corresponding_JSX_closing_tag_for_0,zw(jc,jn.tagName)));rr=Hi(st.createJsxElement(jn,bs,io),rn)}else jn.kind===286?rr=Hi(st.createJsxFragment(jn,PI(jn),Gj(L)),rn):(Bn.assert(jn.kind===282),rr=jn);if(L&&fe()===29){let bs=typeof pe>\"u\"?rr.pos:pe,io=Wd(()=>b2(!0,bs));if(io){let uo=Zf(27,!1);return PN(uo,io.pos,0),Ki(ch(jc,bs),io.end,ns.JSX_expressions_must_have_one_parent_element),Hi(st.createBinaryExpression(rr,uo,io),rn)}}return rr}function zj(){let L=Kt(),pe=st.createJsxText(c.getTokenValue(),Tc===12);return Tc=c.scanJsxToken(),Hi(pe,L)}function FI(L,pe){switch(pe){case 1:if(HB(L))tn(L,ns.JSX_fragment_has_no_corresponding_closing_tag);else{let ut=L.tagName,rn=ch(jc,ut.pos);Ki(rn,ut.end,ns.JSX_element_0_has_no_corresponding_closing_tag,zw(jc,L.tagName))}return;case 30:case 7:return;case 11:case 12:return zj();case 18:return MI(!1);case 29:return b2(!1,void 0,L);default:return Bn.assertNever(pe)}}function PI(L){let pe=[],ut=Kt(),rn=md;for(md|=1<<14;;){let jn=FI(L,Tc=c.reScanJsxToken());if(!jn||(pe.push(jn),rA(L)&&(jn==null?void 0:jn.kind)===281&&!Hm(jn.openingElement.tagName,jn.closingElement.tagName)&&Hm(L.tagName,jn.closingElement.tagName)))break}return md=rn,Xd(pe,ut)}function Uj(){let L=Kt();return Hi(st.createJsxAttributes(L_(13,Kj)),L)}function OI(L){let pe=Kt();if(Hr(29),fe()===31)return Th(),Hi(st.createJsxOpeningFragment(),pe);let ut=NS(),rn=vc&262144?void 0:MS(),jn=Uj(),rr;return fe()===31?(Th(),rr=st.createJsxOpeningElement(ut,rn,jn)):(Hr(43),Hr(31,void 0,!1)&&(L?Sr():Th()),rr=st.createJsxSelfClosingElement(ut,rn,jn)),Hi(rr,pe)}function NS(){let L=Kt();hh();let pe=fe()===108?kp():zh();for(;Al(24);)pe=Hi(po(pe,SS(!0,!1)),L);return pe}function MI(L){let pe=Kt();if(!Hr(18))return;let ut,rn;return fe()!==19&&(ut=od(25),rn=Vd()),L?Hr(19):Hr(19,void 0,!1)&&Th(),Hi(st.createJsxExpression(ut,rn),pe)}function Kj(){if(fe()===18)return qj();hh();let L=Kt();return Hi(st.createJsxAttribute(zh(),RI()),L)}function RI(){if(fe()===63){if(Yd()===10)return om();if(fe()===18)return MI(!0);if(fe()===29)return b2(!0);Cl(ns.or_JSX_element_expected)}}function qj(){let L=Kt();Hr(18),Hr(25);let pe=Vd();return Hr(19),Hi(st.createJsxSpreadAttribute(pe),L)}function BI(L,pe){let ut=Kt();Hr(30);let rn=NS();return Hr(31,void 0,!1)&&(pe||!Hm(L.tagName,rn)?Sr():Th()),Hi(st.createJsxClosingElement(rn),ut)}function Gj(L){let pe=Kt();return Hr(30),Hr(31,ns.Expected_corresponding_closing_tag_for_JSX_fragment,!1)&&(L?Sr():Th()),Hi(st.createJsxJsxClosingFragment(),pe)}function jI(){Bn.assert(Uc!==1,\"Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments.\");let L=Kt();Hr(29);let pe=kc();Hr(31);let ut=Zm();return Hi(st.createTypeAssertion(pe,ut),L)}function Jj(){return Sr(),sd(fe())||fe()===22||v2()}function WI(){return fe()===28&&al(Jj)}function JA(L){if(L.flags&32)return!0;if(e2(L)){let pe=L.expression;for(;e2(pe)&&!(pe.flags&32);)pe=pe.expression;if(pe.flags&32){for(;e2(L);)L.flags|=32,L=L.expression;return!0}}return!1}function hg(L,pe,ut){let rn=SS(!0,!0),jn=ut||JA(pe),rr=jn?Na(pe,ut,rn):po(pe,rn);if(jn&&wf(rr.name)&&tn(rr.name,ns.An_optional_chain_cannot_contain_private_identifiers),NB(pe)&&pe.typeArguments){let bs=pe.typeArguments.pos-1,io=ch(jc,pe.typeArguments.end)+1;Ki(bs,io,ns.An_instantiation_expression_cannot_be_followed_by_a_property_access)}return Hi(rr,L)}function t1(L,pe,ut){let rn;if(fe()===23)rn=Zf(79,!0,ns.An_element_access_expression_should_take_an_argument);else{let rr=Hl(Vd);R0(rr)&&(rr.text=J0(rr.text)),rn=rr}Hr(23);let jn=ut||JA(pe)?Tl(pe,ut,rn):wu(pe,rn);return Hi(jn,L)}function n1(L,pe,ut){for(;;){let rn,jn=!1;if(ut&&WI()?(rn=Ym(28),jn=sd(fe())):jn=Al(24),jn){pe=hg(L,pe,rn);continue}if((rn||!Gm())&&Al(22)){pe=t1(L,pe,rn);continue}if(v2()){pe=!rn&&pe.kind===230?YA(L,pe.expression,rn,pe.typeArguments):YA(L,pe,rn,void 0);continue}if(!rn){if(fe()===53&&!c.hasPrecedingLineBreak()){Sr(),pe=Hi(st.createNonNullExpression(pe),L);continue}let rr=Wd(IS);if(rr){pe=Hi(st.createExpressionWithTypeArguments(pe,rr),L);continue}}return pe}}function v2(){return fe()===14||fe()===15}function YA(L,pe,ut,rn){let jn=st.createTaggedTemplateExpression(pe,rn,fe()===14?(Ac(),om()):L6(!0));return(ut||pe.flags&32)&&(jn.flags|=32),jn.questionDotToken=ut,Hi(jn,L)}function XA(L,pe){for(;;){pe=n1(L,pe,!0);let ut,rn=od(28);if(rn&&(ut=Wd(IS),v2())){pe=YA(L,pe,rn,ut);continue}if(ut||fe()===20){!rn&&pe.kind===230&&(ut=pe.typeArguments,pe=pe.expression);let jn=VI(),rr=rn||JA(pe)?hc(pe,rn,ut,jn):Wu(pe,ut,jn);pe=Hi(rr,L);continue}if(rn){let jn=Zf(79,!1,ns.Identifier_expected);pe=Hi(Na(pe,rn,jn),L)}break}return pe}function VI(){Hr(20);let L=nf(11,zI);return Hr(21),L}function IS(){if(vc&262144||du()!==29)return;Sr();let L=nf(20,kc);if(Fa()===31)return Sr(),L&&Yj()?L:void 0}function Yj(){switch(fe()){case 20:case 14:case 15:return!0;case 29:case 31:case 39:case 40:return!1}return c.hasPrecedingLineBreak()||SI()||!Z0()}function QA(){switch(fe()){case 8:case 9:case 10:case 14:return om();case 108:case 106:case 104:case 110:case 95:return kp();case 20:return Xj();case 22:return UI();case 18:return ZA();case 132:if(!al(rF))break;return ek();case 59:return bW();case 84:return mF();case 98:return ek();case 103:return Qj();case 43:case 68:if(Xl()===13)return om();break;case 15:return L6(!1);case 80:return CS()}return Qd(ns.Expression_expected)}function Xj(){let L=Kt(),pe=Qr();Hr(20);let ut=Hl(Vd);return Hr(21),rl(Hi(rp(ut),L),pe)}function HI(){let L=Kt();Hr(25);let pe=up(!0);return Hi(st.createSpreadElement(pe),L)}function $I(){return fe()===25?HI():fe()===27?Hi(st.createOmittedExpression(),Kt()):up(!0)}function zI(){return fl(f,$I)}function UI(){let L=Kt(),pe=c.getTokenPos(),ut=Hr(22),rn=c.hasPrecedingLineBreak(),jn=nf(15,$I);return Oy(22,23,ut,pe),Hi(Ws(jn,rn),L)}function KI(){let L=Kt(),pe=Qr();if(od(25)){let ro=up(!0);return rl(Hi(st.createSpreadAssignment(ro),L),pe)}let ut=am(!0);if(Qb(137))return i1(L,pe,ut,174,0);if(Qb(151))return i1(L,pe,ut,175,0);let rn=od(41),jn=Dl(),rr=By(),bs=od(57),io=od(53);if(rn||fe()===20||fe()===29)return pF(L,pe,ut,rn,rr,bs,io);let uo;if(jn&&fe()!==58){let ro=od(63),ka=ro?Hl(()=>up(!0)):void 0;uo=st.createShorthandPropertyAssignment(rr,ka),uo.equalsToken=ro}else{Hr(58);let ro=Hl(()=>up(!0));uo=st.createPropertyAssignment(rr,ro)}return uo.modifiers=ut,uo.questionToken=bs,uo.exclamationToken=io,rl(Hi(uo,L),pe)}function ZA(){let L=Kt(),pe=c.getTokenPos(),ut=Hr(18),rn=c.hasPrecedingLineBreak(),jn=nf(12,KI,!0);return Oy(18,19,ut,pe),Hi(_r(jn,rn),L)}function ek(){let L=Gm();Hs(!1);let pe=Kt(),ut=Qr(),rn=am(!1);Hr(98);let jn=od(41),rr=jn?1:0,bs=so(rn,UT)?2:0,io=rr&&bs?Py(sv):rr?Km(sv):bs?qm(sv):sv(),uo=N_(),ro=Qm(rr|bs),ka=dg(58,!1),Ql=FS(rr|bs);Hs(L);let Ol=st.createFunctionExpression(rn,jn,io,uo,ro,ka,Ql);return rl(Hi(Ol,pe),ut)}function sv(){return Qa()?vS():void 0}function Qj(){let L=Kt();if(Hr(103),Al(24)){let rr=zh();return Hi(st.createMetaProperty(103,rr),L)}let pe=Kt(),ut=n1(pe,QA(),!1),rn;ut.kind===230&&(rn=ut.typeArguments,ut=ut.expression),fe()===28&&Cl(ns.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0,zw(jc,ut));let jn=fe()===20?VI():void 0;return Hi(xf(ut,rn,jn),L)}function jy(L,pe){let ut=Kt(),rn=Qr(),jn=c.getTokenPos(),rr=Hr(18,pe);if(rr||L){let bs=c.hasPrecedingLineBreak(),io=L_(1,Lp);Oy(18,19,rr,jn);let uo=rl(Hi($m(io,bs),ut),rn);return fe()===63&&(Cl(ns.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),Sr()),uo}else{let bs=cg();return rl(Hi($m(bs,void 0),ut),rn)}}function FS(L,pe){let ut=sm();Vs(!!(L&1));let rn=Tf();na(!!(L&2));let jn=jd;jd=!1;let rr=Gm();rr&&Hs(!1);let bs=jy(!!(L&16),pe);return rr&&Hs(!0),jd=jn,Vs(ut),na(rn),bs}function qI(){let L=Kt(),pe=Qr();return Hr(26),rl(Hi(st.createEmptyStatement(),L),pe)}function Zj(){let L=Kt(),pe=Qr();Hr(99);let ut=c.getTokenPos(),rn=Hr(20),jn=Hl(Vd);Oy(20,21,rn,ut);let rr=Lp(),bs=Al(91)?Lp():void 0;return rl(Hi(lu(jn,rr,bs),L),pe)}function GI(){let L=Kt(),pe=Qr();Hr(90);let ut=Lp();Hr(115);let rn=c.getTokenPos(),jn=Hr(20),rr=Hl(Vd);return Oy(20,21,jn,rn),Al(26),rl(Hi(st.createDoStatement(ut,rr),L),pe)}function eW(){let L=Kt(),pe=Qr();Hr(115);let ut=c.getTokenPos(),rn=Hr(20),jn=Hl(Vd);Oy(20,21,rn,ut);let rr=Lp();return rl(Hi(Uf(jn,rr),L),pe)}function JI(){let L=Kt(),pe=Qr();Hr(97);let ut=od(133);Hr(20);let rn;fe()!==26&&(fe()===113||fe()===119||fe()===85?rn=cF(!0):rn=Eh(Vd));let jn;if(ut?Hr(162):Al(162)){let rr=Hl(()=>up(!0));Hr(21),jn=gd(ut,rn,rr,Lp())}else if(Al(101)){let rr=Hl(Vd);Hr(21),jn=st.createForInStatement(rn,rr,Lp())}else{Hr(26);let rr=fe()!==26&&fe()!==21?Hl(Vd):void 0;Hr(26);let bs=fe()!==21?Hl(Vd):void 0;Hr(21),jn=Ap(rn,rr,bs,Lp())}return rl(Hi(jn,L),pe)}function YI(L){let pe=Kt(),ut=Qr();Hr(L===249?81:86);let rn=G0()?void 0:Qd();Af();let jn=L===249?st.createBreakStatement(rn):st.createContinueStatement(rn);return rl(Hi(jn,pe),ut)}function XI(){let L=Kt(),pe=Qr();Hr(105);let ut=G0()?void 0:Hl(Vd);return Af(),rl(Hi(st.createReturnStatement(ut),L),pe)}function tW(){let L=Kt(),pe=Qr();Hr(116);let ut=c.getTokenPos(),rn=Hr(20),jn=Hl(Vd);Oy(20,21,rn,ut);let rr=vl(33554432,Lp);return rl(Hi(st.createWithStatement(jn,rr),L),pe)}function nW(){let L=Kt(),pe=Qr();Hr(82);let ut=Hl(Vd);Hr(58);let rn=L_(3,Lp);return rl(Hi(st.createCaseClause(ut,rn),L),pe)}function QI(){let L=Kt();Hr(88),Hr(58);let pe=L_(3,Lp);return Hi(st.createDefaultClause(pe),L)}function iW(){return fe()===82?nW():QI()}function ZI(){let L=Kt();Hr(18);let pe=L_(2,iW);return Hr(19),Hi(st.createCaseBlock(pe),L)}function rW(){let L=Kt(),pe=Qr();Hr(107),Hr(20);let ut=Hl(Vd);Hr(21);let rn=ZI();return rl(Hi(st.createSwitchStatement(ut,rn),L),pe)}function eF(){let L=Kt(),pe=Qr();Hr(109);let ut=c.hasPrecedingLineBreak()?void 0:Hl(Vd);return ut===void 0&&(op++,ut=Hi(ys(\"\"),Kt())),p2()||Jm(ut),rl(Hi(st.createThrowStatement(ut),L),pe)}function sW(){let L=Kt(),pe=Qr();Hr(111);let ut=jy(!1),rn=fe()===83?tF():void 0,jn;return(!rn||fe()===96)&&(Hr(96,ns.catch_or_finally_expected),jn=jy(!1)),rl(Hi(st.createTryStatement(ut,rn,jn),L),pe)}function tF(){let L=Kt();Hr(83);let pe;Al(20)?(pe=OS(),Hr(21)):pe=void 0;let ut=jy(!1);return Hi(st.createCatchClause(pe,ut),L)}function oW(){let L=Kt(),pe=Qr();return Hr(87),Af(),rl(Hi(st.createDebuggerStatement(),L),pe)}function nF(){let L=Kt(),pe=Qr(),ut,rn=fe()===20,jn=Hl(Vd);return Ja(jn)&&Al(58)?ut=st.createLabeledStatement(jn,Lp()):(p2()||Jm(jn),ut=ef(jn),rn&&(pe=!1)),rl(Hi(ut,L),pe)}function tk(){return Sr(),sd(fe())&&!c.hasPrecedingLineBreak()}function iF(){return Sr(),fe()===84&&!c.hasPrecedingLineBreak()}function rF(){return Sr(),fe()===98&&!c.hasPrecedingLineBreak()}function nk(){return Sr(),(sd(fe())||fe()===8||fe()===9||fe()===10)&&!c.hasPrecedingLineBreak()}function aW(){for(;;)switch(fe()){case 113:case 119:case 85:case 98:case 84:case 92:return!0;case 118:case 154:return jj();case 142:case 143:return cW();case 126:case 127:case 132:case 136:case 121:case 122:case 123:case 146:if(Sr(),c.hasPrecedingLineBreak())return!1;continue;case 159:return Sr(),fe()===18||fe()===79||fe()===93;case 100:return Sr(),fe()===10||fe()===41||fe()===18||sd(fe());case 93:let L=Sr();if(L===154&&(L=al(Sr)),L===63||L===41||L===18||L===88||L===128||L===59)return!0;continue;case 124:Sr();continue;default:return!1}}function C2(){return al(aW)}function sF(){switch(fe()){case 59:case 26:case 18:case 113:case 119:case 98:case 84:case 92:case 99:case 90:case 115:case 97:case 86:case 81:case 105:case 116:case 107:case 109:case 111:case 87:case 83:case 96:return!0;case 100:return C2()||al(FA);case 85:case 93:return C2();case 132:case 136:case 118:case 142:case 143:case 154:case 159:return!0;case 127:case 123:case 121:case 122:case 124:case 146:return C2()||!al(tk);default:return Z0()}}function oF(){return Sr(),Qa()||fe()===18||fe()===22}function lW(){return al(oF)}function Lp(){switch(fe()){case 26:return qI();case 18:return jy(!1);case 113:return sk(Kt(),Qr(),void 0);case 119:if(lW())return sk(Kt(),Qr(),void 0);break;case 98:return ok(Kt(),Qr(),void 0);case 84:return yF(Kt(),Qr(),void 0);case 99:return Zj();case 90:return GI();case 115:return eW();case 97:return JI();case 86:return YI(248);case 81:return YI(249);case 105:return XI();case 116:return tW();case 107:return rW();case 109:return eF();case 111:case 83:case 96:return sW();case 87:return oW();case 59:return ik();case 132:case 118:case 154:case 142:case 143:case 136:case 85:case 92:case 93:case 100:case 121:case 122:case 123:case 126:case 127:case 124:case 146:case 159:if(C2())return ik();break}return nF()}function aF(L){return L.kind===136}function ik(){let L=Kt(),pe=Qr(),ut=am(!0);if(so(ut,aF)){let rn=uW(L);if(rn)return rn;for(let jn of ut)jn.flags|=16777216;return vl(16777216,()=>D2(L,pe,ut))}else return D2(L,pe,ut)}function uW(L){return vl(16777216,()=>{let pe=yA(md,L);if(pe)return bA(pe)})}function D2(L,pe,ut){switch(fe()){case 113:case 119:case 85:return sk(L,pe,ut);case 98:return ok(L,pe,ut);case 84:return yF(L,pe,ut);case 118:return wW(L,pe,ut);case 154:return SW(L,pe,ut);case 92:return EW(L,pe,ut);case 159:case 142:case 143:return xF(L,pe,ut);case 100:return kW(L,pe,ut);case 93:switch(Sr(),fe()){case 88:case 63:return jW(L,pe,ut);case 128:return AW(L,pe,ut);default:return BW(L,pe,ut)}default:if(ut){let rn=Zf(279,!0,ns.Declaration_expected);return FN(rn,L),rn.modifiers=ut,rn}return}}function cW(){return Sr(),!c.hasPrecedingLineBreak()&&(Dl()||fe()===10)}function PS(L,pe){if(fe()!==18){if(L&4){g2();return}if(G0()){Af();return}}return FS(L,pe)}function dW(){let L=Kt();if(fe()===27)return Hi(st.createOmittedExpression(),L);let pe=od(25),ut=ov(),rn=e1();return Hi(st.createBindingElement(pe,void 0,ut,rn),L)}function lF(){let L=Kt(),pe=od(25),ut=Qa(),rn=By(),jn;ut&&fe()!==58?(jn=rn,rn=void 0):(Hr(58),jn=ov());let rr=e1();return Hi(st.createBindingElement(pe,rn,jn,rr),L)}function hW(){let L=Kt();Hr(18);let pe=nf(9,lF);return Hr(19),Hi(st.createObjectBindingPattern(pe),L)}function uF(){let L=Kt();Hr(22);let pe=nf(10,dW);return Hr(23),Hi(st.createArrayBindingPattern(pe),L)}function rk(){return fe()===18||fe()===22||fe()===80||Qa()}function ov(L){return fe()===22?uF():fe()===18?hW():vS(L)}function pW(){return OS(!0)}function OS(L){let pe=Kt(),ut=Qr(),rn=ov(ns.Private_identifiers_are_not_allowed_in_variable_declarations),jn;L&&rn.kind===79&&fe()===53&&!c.hasPrecedingLineBreak()&&(jn=kp());let rr=Q0(),bs=wI(fe())?void 0:e1(),io=zm(rn,jn,rr,bs);return rl(Hi(io,pe),ut)}function cF(L){let pe=Kt(),ut=0;switch(fe()){case 113:break;case 119:ut|=1;break;case 85:ut|=2;break;default:Bn.fail()}Sr();let rn;if(fe()===162&&al(dF))rn=cg();else{let jn=z0();ws(L),rn=nf(8,L?OS:pW),ws(jn)}return Hi(tf(rn,ut),pe)}function dF(){return DS()&&Sr()===21}function sk(L,pe,ut){let rn=cF(!1);Af();let jn=Zp(ut,rn);return rl(Hi(jn,L),pe)}function ok(L,pe,ut){let rn=Tf(),jn=x_(ut);Hr(98);let rr=od(41),bs=jn&1024?sv():vS(),io=rr?1:0,uo=jn&512?2:0,ro=N_();jn&1&&na(!0);let ka=Qm(io|uo),Ql=dg(58,!1),Ol=PS(io|uo,ns.or_expected);na(rn);let ul=st.createFunctionDeclaration(ut,rr,bs,ro,ka,Ql,Ol);return rl(Hi(ul,L),pe)}function fW(){if(fe()===135)return Hr(135);if(fe()===10&&al(Sr)===20)return Wd(()=>{let L=om();return L.text===\"constructor\"?L:void 0})}function hF(L,pe,ut){return Wd(()=>{if(fW()){let rn=N_(),jn=Qm(0),rr=dg(58,!1),bs=PS(0,ns.or_expected),io=st.createConstructorDeclaration(ut,jn,bs);return io.typeParameters=rn,io.type=rr,rl(Hi(io,L),pe)}})}function pF(L,pe,ut,rn,jn,rr,bs,io){let uo=rn?1:0,ro=so(ut,UT)?2:0,ka=N_(),Ql=Qm(uo|ro),Ol=dg(58,!1),ul=PS(uo|ro,io),Uh=st.createMethodDeclaration(ut,rn,jn,rr,ka,Ql,Ol,ul);return Uh.exclamationToken=bs,rl(Hi(Uh,L),pe)}function ak(L,pe,ut,rn,jn){let rr=!jn&&!c.hasPrecedingLineBreak()?od(53):void 0,bs=Q0(),io=fl(45056,e1);bS(rn,bs,io);let uo=st.createPropertyDeclaration(ut,rn,jn||rr,bs,io);return rl(Hi(uo,L),pe)}function fF(L,pe,ut){let rn=od(41),jn=By(),rr=od(57);return rn||fe()===20||fe()===29?pF(L,pe,ut,rn,jn,rr,void 0,ns.or_expected):ak(L,pe,ut,jn,rr)}function i1(L,pe,ut,rn,jn){let rr=By(),bs=N_(),io=Qm(0),uo=dg(58,!1),ro=PS(jn),ka=rn===174?st.createGetAccessorDeclaration(ut,rr,io,uo,ro):st.createSetAccessorDeclaration(ut,rr,io,ro);return ka.typeParameters=bs,lS(ka)&&(ka.type=uo),rl(Hi(ka,L),pe)}function _W(){let L;if(fe()===59)return!0;for(;Wm(fe());){if(L=fe(),HX(L))return!0;Sr()}if(fe()===41||(Ry()&&(L=fe(),Sr()),fe()===22))return!0;if(L!==void 0){if(!M0(L)||L===151||L===137)return!0;switch(fe()){case 20:case 29:case 53:case 58:case 63:case 57:return!0;default:return G0()}}return!1}function gW(L,pe,ut){Ym(124);let rn=_F(),jn=rl(Hi(st.createClassStaticBlockDeclaration(rn),L),pe);return jn.modifiers=ut,jn}function _F(){let L=sm(),pe=Tf();Vs(!1),na(!0);let ut=jy(!1);return Vs(L),na(pe),ut}function mW(){if(Tf()&&fe()===133){let L=Kt(),pe=Qd(ns.Expression_expected);Sr();let ut=n1(L,pe,!0);return XA(L,ut)}return rv()}function gF(){let L=Kt();if(!Al(59))return;let pe=im(mW);return Hi(st.createDecorator(pe),L)}function lk(L,pe,ut){let rn=Kt(),jn=fe();if(fe()===85&&pe){if(!Wd(fA))return}else if(ut&&fe()===124&&al(BS)||L&&fe()===124||!v6())return;return Hi(So(jn),rn)}function am(L,pe,ut){let rn=Kt(),jn,rr,bs,io=!1,uo=!1,ro=!1;if(L&&fe()===59)for(;rr=gF();)jn=Ye(jn,rr);for(;bs=lk(io,pe,ut);)bs.kind===124&&(io=!0),jn=Ye(jn,bs),uo=!0;if(uo&&L&&fe()===59)for(;rr=gF();)jn=Ye(jn,rr),ro=!0;if(ro)for(;bs=lk(io,pe,ut);)bs.kind===124&&(io=!0),jn=Ye(jn,bs);return jn&&Xd(jn,rn)}function uk(){let L;if(fe()===132){let pe=Kt();Sr();let ut=Hi(So(132),pe);L=Xd([ut],pe)}return L}function yW(){let L=Kt();if(fe()===26)return Sr(),Hi(st.createSemicolonClassElement(),L);let pe=Qr(),ut=am(!0,!0,!0);if(fe()===124&&al(BS))return gW(L,pe,ut);if(Qb(137))return i1(L,pe,ut,174,0);if(Qb(151))return i1(L,pe,ut,175,0);if(fe()===135||fe()===10){let rn=hF(L,pe,ut);if(rn)return rn}if(z6())return U6(L,pe,ut);if(sd(fe())||fe()===10||fe()===8||fe()===41||fe()===22)if(so(ut,aF)){for(let rn of ut)rn.flags|=16777216;return vl(16777216,()=>fF(L,pe,ut))}else return fF(L,pe,ut);if(ut){let rn=Zf(79,!0,ns.Declaration_expected);return ak(L,pe,ut,rn,void 0)}return Bn.fail(\"Should not have attempted to parse class member declaration.\")}function bW(){let L=Kt(),pe=Qr(),ut=am(!0);if(fe()===84)return ck(L,pe,ut,228);let rn=Zf(279,!0,ns.Expression_expected);return FN(rn,L),rn.modifiers=ut,rn}function mF(){return ck(Kt(),Qr(),void 0,228)}function yF(L,pe,ut){return ck(L,pe,ut,260)}function ck(L,pe,ut,rn){let jn=Tf();Hr(84);let rr=bF(),bs=N_();so(ut,kte)&&na(!0);let io=vF(),uo;Hr(18)?(uo=DW(),Hr(19)):uo=cg(),na(jn);let ro=rn===260?st.createClassDeclaration(ut,rr,bs,io,uo):st.createClassExpression(ut,rr,bs,io,uo);return rl(Hi(ro,L),pe)}function bF(){return Qa()&&!vW()?My(Qa()):void 0}function vW(){return fe()===117&&al(_A)}function vF(){if(RS())return L_(22,CF)}function CF(){let L=Kt(),pe=fe();Bn.assert(pe===94||pe===117),Sr();let ut=nf(7,CW);return Hi(st.createHeritageClause(pe,ut),L)}function CW(){let L=Kt(),pe=rv();if(pe.kind===230)return pe;let ut=MS();return Hi(st.createExpressionWithTypeArguments(pe,ut),L)}function MS(){return fe()===29?X0(20,kc,29,31):void 0}function RS(){return fe()===94||fe()===117}function DW(){return L_(5,yW)}function wW(L,pe,ut){Hr(118);let rn=Qd(),jn=N_(),rr=vF(),bs=PA(),io=st.createInterfaceDeclaration(ut,rn,jn,rr,bs);return rl(Hi(io,L),pe)}function SW(L,pe,ut){Hr(154);let rn=Qd(),jn=N_();Hr(63);let rr=fe()===139&&Wd(MA)||kc();Af();let bs=st.createTypeAliasDeclaration(ut,rn,jn,rr);return rl(Hi(bs,L),pe)}function xW(){let L=Kt(),pe=Qr(),ut=By(),rn=Hl(e1);return rl(Hi(st.createEnumMember(ut,rn),L),pe)}function EW(L,pe,ut){Hr(92);let rn=Qd(),jn;Hr(18)?(jn=Xb(()=>nf(6,xW)),Hr(19)):jn=cg();let rr=st.createEnumDeclaration(ut,rn,jn);return rl(Hi(rr,L),pe)}function DF(){let L=Kt(),pe;return Hr(18)?(pe=L_(1,Lp),Hr(19)):pe=cg(),Hi(st.createModuleBlock(pe),L)}function wF(L,pe,ut,rn){let jn=rn&16,rr=Qd(),bs=Al(24)?wF(Kt(),!1,void 0,4|jn):DF(),io=st.createModuleDeclaration(ut,rr,bs,rn);return rl(Hi(io,L),pe)}function SF(L,pe,ut){let rn=0,jn;fe()===159?(jn=Qd(),rn|=1024):(jn=om(),jn.text=J0(jn.text));let rr;fe()===18?rr=DF():Af();let bs=st.createModuleDeclaration(ut,jn,rr,rn);return rl(Hi(bs,L),pe)}function xF(L,pe,ut){let rn=0;if(fe()===159)return SF(L,pe,ut);if(Al(143))rn|=16;else if(Hr(142),fe()===10)return SF(L,pe,ut);return wF(L,pe,ut,rn)}function EF(){return fe()===147&&al(TF)}function TF(){return Sr()===20}function BS(){return Sr()===18}function TW(){return Sr()===43}function AW(L,pe,ut){Hr(128),Hr(143);let rn=Qd();Af();let jn=st.createNamespaceExportDeclaration(rn);return jn.modifiers=ut,rl(Hi(jn,L),pe)}function kW(L,pe,ut){Hr(100);let rn=c.getStartPos(),jn;Dl()&&(jn=Qd());let rr=!1;if(fe()!==158&&(jn==null?void 0:jn.escapedText)===\"type\"&&(Dl()||LW())&&(rr=!0,jn=Dl()?Qd():void 0),jn&&!NW())return IW(L,pe,ut,jn,rr);let bs;(jn||fe()===41||fe()===18)&&(bs=FW(jn,rn,rr),Hr(158));let io=jS(),uo;fe()===130&&!c.hasPrecedingLineBreak()&&(uo=dk()),Af();let ro=st.createImportDeclaration(ut,bs,io,uo);return rl(Hi(ro,L),pe)}function AF(){let L=Kt(),pe=sd(fe())?zh():_2(10);Hr(58);let ut=up(!0);return Hi(st.createAssertEntry(pe,ut),L)}function dk(L){let pe=Kt();L||Hr(130);let ut=c.getTokenPos();if(Hr(18)){let rn=c.hasPrecedingLineBreak(),jn=nf(24,AF,!0);if(!Hr(19)){let rr=yi(tc);rr&&rr.code===ns._0_expected.code&&jT(rr,GC($h,ut,1,ns.The_parser_expected_to_find_a_1_to_match_the_0_token_here,\"{\",\"}\"))}return Hi(st.createAssertClause(jn,rn),pe)}else{let rn=Xd([],Kt(),void 0,!1);return Hi(st.createAssertClause(rn,!1),pe)}}function LW(){return fe()===41||fe()===18}function NW(){return fe()===27||fe()===158}function IW(L,pe,ut,rn,jn){Hr(63);let rr=hk();Af();let bs=st.createImportEqualsDeclaration(ut,jn,rn,rr);return rl(Hi(bs,L),pe)}function FW(L,pe,ut){let rn;return(!L||Al(27))&&(rn=fe()===41?WS():kF(272)),Hi(st.createImportClause(ut,L,rn),pe)}function hk(){return EF()?PW():ev(!1)}function PW(){let L=Kt();Hr(147),Hr(20);let pe=jS();return Hr(21),Hi(st.createExternalModuleReference(pe),L)}function jS(){if(fe()===10){let L=om();return L.text=J0(L.text),L}else return Vd()}function WS(){let L=Kt();Hr(41),Hr(128);let pe=Qd();return Hi(st.createNamespaceImport(pe),L)}function kF(L){let pe=Kt(),ut=L===272?st.createNamedImports(X0(23,MW,18,19)):st.createNamedExports(X0(23,OW,18,19));return Hi(ut,pe)}function OW(){let L=Qr();return rl(r1(278),L)}function MW(){return r1(273)}function r1(L){let pe=Kt(),ut=M0(fe())&&!Dl(),rn=c.getTokenPos(),jn=c.getTextPos(),rr=!1,bs,io=!0,uo=zh();if(uo.escapedText===\"type\")if(fe()===128){let Ql=zh();if(fe()===128){let Ol=zh();sd(fe())?(rr=!0,bs=Ql,uo=ka(),io=!1):(bs=uo,uo=Ol,io=!1)}else sd(fe())?(bs=uo,io=!1,uo=ka()):(rr=!0,uo=Ql)}else sd(fe())&&(rr=!0,uo=ka());io&&fe()===128&&(bs=uo,Hr(128),uo=ka()),L===273&&ut&&Ki(rn,jn,ns.Identifier_expected);let ro=L===273?st.createImportSpecifier(rr,bs,uo):st.createExportSpecifier(rr,bs,uo);return Hi(ro,pe);function ka(){return ut=M0(fe())&&!Dl(),rn=c.getTokenPos(),jn=c.getTextPos(),zh()}}function RW(L){return Hi(st.createNamespaceExport(zh()),L)}function BW(L,pe,ut){let rn=Tf();na(!0);let jn,rr,bs,io=Al(154),uo=Kt();Al(41)?(Al(128)&&(jn=RW(uo)),Hr(158),rr=jS()):(jn=kF(276),(fe()===158||fe()===10&&!c.hasPrecedingLineBreak())&&(Hr(158),rr=jS())),rr&&fe()===130&&!c.hasPrecedingLineBreak()&&(bs=dk()),Af(),na(rn);let ro=st.createExportDeclaration(ut,io,jn,rr,bs);return rl(Hi(ro,L),pe)}function jW(L,pe,ut){let rn=Tf();na(!0);let jn;Al(63)?jn=!0:Hr(88);let rr=up(!0);Af(),na(rn);let bs=st.createExportAssignment(ut,jn,rr);return rl(Hi(bs,L),pe)}let av;(L=>{L[L.SourceElements=0]=\"SourceElements\",L[L.BlockStatements=1]=\"BlockStatements\",L[L.SwitchClauses=2]=\"SwitchClauses\",L[L.SwitchClauseStatements=3]=\"SwitchClauseStatements\",L[L.TypeMembers=4]=\"TypeMembers\",L[L.ClassMembers=5]=\"ClassMembers\",L[L.EnumMembers=6]=\"EnumMembers\",L[L.HeritageClauseElement=7]=\"HeritageClauseElement\",L[L.VariableDeclarations=8]=\"VariableDeclarations\",L[L.ObjectBindingElements=9]=\"ObjectBindingElements\",L[L.ArrayBindingElements=10]=\"ArrayBindingElements\",L[L.ArgumentExpressions=11]=\"ArgumentExpressions\",L[L.ObjectLiteralMembers=12]=\"ObjectLiteralMembers\",L[L.JsxAttributes=13]=\"JsxAttributes\",L[L.JsxChildren=14]=\"JsxChildren\",L[L.ArrayLiteralMembers=15]=\"ArrayLiteralMembers\",L[L.Parameters=16]=\"Parameters\",L[L.JSDocParameters=17]=\"JSDocParameters\",L[L.RestProperties=18]=\"RestProperties\",L[L.TypeParameters=19]=\"TypeParameters\",L[L.TypeArguments=20]=\"TypeArguments\",L[L.TupleElementTypes=21]=\"TupleElementTypes\",L[L.HeritageClauses=22]=\"HeritageClauses\",L[L.ImportOrExportSpecifiers=23]=\"ImportOrExportSpecifiers\",L[L.AssertEntries=24]=\"AssertEntries\",L[L.Count=25]=\"Count\"})(av||(av={}));let LF;(L=>{L[L.False=0]=\"False\",L[L.True=1]=\"True\",L[L.Unknown=2]=\"Unknown\"})(LF||(LF={}));let NF;(L=>{function pe(ro,ka,Ql){Jf(\"file.js\",ro,99,void 0,1),c.setText(ro,ka,Ql),Tc=c.scan();let Ol=ut(),ul=Vu(\"file.js\",99,1,!1,[],So(1),0,ku),Uh=zb(tc,ul);return xh&&(ul.jsDocDiagnostics=zb(xh,ul)),ug(),Ol?{jsDocTypeExpression:Ol,diagnostics:Uh}:void 0}L.parseJSDocTypeExpressionForTests=pe;function ut(ro){let ka=Kt(),Ql=(ro?Al:Hr)(18),Ol=vl(8388608,TS);(!ro||Ql)&&q0(19);let ul=st.createJSDocTypeExpression(Ol);return Aa(ul),Hi(ul,ka)}L.parseJSDocTypeExpression=ut;function rn(){let ro=Kt(),ka=Al(18),Ql=Kt(),Ol=ev(!1);for(;fe()===80;)lp(),ia(),Ol=Hi(st.createJSDocMemberName(Ol,Qd()),Ql);ka&&q0(19);let ul=st.createJSDocNameReference(Ol);return Aa(ul),Hi(ul,ro)}L.parseJSDocNameReference=rn;function jn(ro,ka,Ql){Jf(\"\",ro,99,void 0,1);let Ol=vl(8388608,()=>uo(ka,Ql)),ul=zb(tc,{languageVariant:0,text:ro});return ug(),Ol?{jsDoc:Ol,diagnostics:ul}:void 0}L.parseIsolatedJSDocComment=jn;function rr(ro,ka,Ql){let Ol=Tc,ul=tc.length,Uh=ap,e_=vl(8388608,()=>uo(ka,Ql));return B0(e_,ro),vc&262144&&(xh||(xh=[]),xh.push(...tc)),Tc=Ol,tc.length=ul,ap=Uh,e_}L.parseJSDocComment=rr;let bs;(ro=>{ro[ro.BeginningOfLine=0]=\"BeginningOfLine\",ro[ro.SawAsterisk=1]=\"SawAsterisk\",ro[ro.SavingComments=2]=\"SavingComments\",ro[ro.SavingBackticks=3]=\"SavingBackticks\"})(bs||(bs={}));let io;(ro=>{ro[ro.Property=1]=\"Property\",ro[ro.Parameter=2]=\"Parameter\",ro[ro.CallbackParameter=4]=\"CallbackParameter\"})(io||(io={}));function uo(){let ro=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ka=arguments.length>1?arguments[1]:void 0,Ql=jc,Ol=ka===void 0?Ql.length:ro+ka;if(ka=Ol-ro,Bn.assert(ro>=0),Bn.assert(ro<=Ol),Bn.assert(Ol<=Ql.length),!Ine(Ql,ro))return;let ul,Uh,e_,pg,lm,Np=[],s1=[];return c.scanRange(ro+3,ka-5,()=>{let lr=1,Rs,As=ro-(Ql.lastIndexOf(`\n`,ro)+1)+4;function no(Ya){Rs||(Rs=As),Np.push(Ya),As+=Ya.length}for(ia();w2(5););w2(4)&&(lr=0,As=0);e:for(;;){switch(fe()){case 59:lr===0||lr===1?(pk(Np),lm||(lm=Kt()),a1(fk(As)),lr=0,Rs=void 0):no(c.getTokenText());break;case 4:Np.push(c.getTokenText()),lr=0,As=0;break;case 41:let Ya=c.getTokenText();lr===1||lr===2?(lr=2,no(Ya)):(lr=1,As+=Ya.length);break;case 5:let yu=c.getTokenText();lr===2?Np.push(yu):Rs!==void 0&&As+yu.length>Rs&&Np.push(yu.slice(Rs-As)),As+=yu.length;break;case 1:break e;case 18:lr=2;let Ah=c.getStartPos(),sf=c.getTextPos()-1,fg=PF(sf);if(fg){pg||IF(Np),s1.push(Hi(st.createJSDocText(Np.join(\"\")),pg!=null?pg:ro,Ah)),s1.push(fg),Np=[],pg=c.getTextPos();break}default:lr=2,no(c.getTokenText());break}ia()}pk(Np),s1.length&&Np.length&&s1.push(Hi(st.createJSDocText(Np.join(\"\")),pg!=null?pg:ro,lm)),s1.length&&ul&&Bn.assertIsDefined(lm,\"having parsed tags implies that the end of the comment span should be set\");let Co=ul&&Xd(ul,Uh,e_);return Hi(st.createJSDocComment(s1.length?Xd(s1,ro,lm):Np.length?Np.join(\"\"):void 0,Co),ro,Ol)});function IF(lr){for(;lr.length&&(lr[0]===`\n`||lr[0]===\"\\r\");)lr.shift()}function pk(lr){for(;lr.length&&lr[lr.length-1].trim()===\"\";)lr.pop()}function FF(){for(;;){if(ia(),fe()===1)return!0;if(!(fe()===5||fe()===4))return!1}}function kf(){if(!((fe()===5||fe()===4)&&al(FF)))for(;fe()===5||fe()===4;)ia()}function o1(){if((fe()===5||fe()===4)&&al(FF))return\"\";let lr=c.hasPrecedingLineBreak(),Rs=!1,As=\"\";for(;lr&&fe()===41||fe()===5||fe()===4;)As+=c.getTokenText(),fe()===4?(lr=!0,Rs=!0,As=\"\"):fe()===41&&(lr=!1),ia();return Rs?As:\"\"}function fk(lr){Bn.assert(fe()===59);let Rs=c.getTokenPos();ia();let As=lv(void 0),no=o1(),Co;switch(As.escapedText){case\"author\":Co=oi(Rs,As,lr,no);break;case\"implements\":Co=Wo(Rs,As,lr,no);break;case\"augments\":case\"extends\":Co=Pa(Rs,As,lr,no);break;case\"class\":case\"constructor\":Co=cm(Rs,st.createJSDocClassTag,As,lr,no);break;case\"public\":Co=cm(Rs,st.createJSDocPublicTag,As,lr,no);break;case\"private\":Co=cm(Rs,st.createJSDocPrivateTag,As,lr,no);break;case\"protected\":Co=cm(Rs,st.createJSDocProtectedTag,As,lr,no);break;case\"readonly\":Co=cm(Rs,st.createJSDocReadonlyTag,As,lr,no);break;case\"override\":Co=cm(Rs,st.createJSDocOverrideTag,As,lr,no);break;case\"deprecated\":Wr=!0,Co=cm(Rs,st.createJSDocDeprecatedTag,As,lr,no);break;case\"this\":Co=Uxe(Rs,As,lr,no);break;case\"enum\":Co=Kxe(Rs,As,lr,no);break;case\"arg\":case\"argument\":case\"param\":return MF(Rs,As,2,lr);case\"return\":case\"returns\":Co=C(Rs,As,lr,no);break;case\"template\":Co=nEe(Rs,As,lr,no);break;case\"type\":Co=A(Rs,As,lr,no);break;case\"typedef\":Co=qxe(Rs,As,lr,no);break;case\"callback\":Co=Jxe(Rs,As,lr,no);break;case\"overload\":Co=Yxe(Rs,As,lr,no);break;case\"satisfies\":Co=rf(Rs,As,lr,no);break;case\"see\":Co=O(Rs,As,lr,no);break;case\"exception\":case\"throws\":Co=Qe(Rs,As,lr,no);break;default:Co=Gu(Rs,As,lr,no);break}return Co}function cp(lr,Rs,As,no){return no||(As+=Rs-lr),VS(As,no.slice(As))}function VS(lr,Rs){let As=Kt(),no=[],Co=[],Ya,yu=0,Ah=!0,sf;function fg(_g){sf||(sf=lr),no.push(_g),lr+=_g.length}Rs!==void 0&&(Rs!==\"\"&&fg(Rs),yu=1);let u1=fe();e:for(;;){switch(u1){case 4:yu=0,no.push(c.getTokenText()),lr=0;break;case 59:if(yu===3||yu===2&&(!Ah||al(Wy))){no.push(c.getTokenText());break}c.setTextPos(c.getTextPos()-1);case 1:break e;case 5:if(yu===2||yu===3)fg(c.getTokenText());else{let uv=c.getTokenText();sf!==void 0&&lr+uv.length>sf&&no.push(uv.slice(sf-lr)),lr+=uv.length}break;case 18:yu=2;let _g=c.getStartPos(),_k=c.getTextPos()-1,gk=PF(_k);gk?(Co.push(Hi(st.createJSDocText(no.join(\"\")),Ya!=null?Ya:As,_g)),Co.push(gk),no=[],Ya=c.getTextPos()):fg(c.getTokenText());break;case 61:yu===3?yu=2:yu=3,fg(c.getTokenText());break;case 41:if(yu===0){yu=1,lr+=1;break}default:yu!==3&&(yu=2),fg(c.getTokenText());break}Ah=fe()===5,u1=ia()}if(IF(no),pk(no),Co.length)return no.length&&Co.push(Hi(st.createJSDocText(no.join(\"\")),Ya!=null?Ya:As)),Xd(Co,As,c.getTextPos());if(no.length)return no.join(\"\")}function Wy(){let lr=ia();return lr===5||lr===4}function PF(lr){let Rs=Wd(OF);if(!Rs)return;ia(),kf();let As=Kt(),no=sd(fe())?ev(!0):void 0;if(no)for(;fe()===80;)lp(),ia(),no=Hi(st.createJSDocMemberName(no,Qd()),As);let Co=[];for(;fe()!==19&&fe()!==4&&fe()!==1;)Co.push(c.getTokenText()),ia();let Ya=Rs===\"link\"?st.createJSDocLink:Rs===\"linkcode\"?st.createJSDocLinkCode:st.createJSDocLinkPlain;return Hi(Ya(no,Co.join(\"\")),lr,c.getTextPos())}function OF(){if(o1(),fe()===18&&ia()===59&&sd(ia())){let lr=c.getTokenValue();if(sl(lr))return lr}}function sl(lr){return lr===\"link\"||lr===\"linkcode\"||lr===\"linkplain\"}function Gu(lr,Rs,As,no){return Hi(st.createJSDocUnknownTag(Rs,cp(lr,Kt(),As,no)),lr)}function a1(lr){lr&&(ul?ul.push(lr):(ul=[lr],Uh=lr.pos),e_=lr.end)}function l1(){return o1(),fe()===18?ut():void 0}function WW(){let lr=w2(22);lr&&kf();let Rs=w2(61),As=iEe();return Rs&&g6(61),lr&&(kf(),od(63)&&Vd(),Hr(23)),{name:As,isBracketed:lr}}function I_(lr){switch(lr.kind){case 149:return!0;case 185:return I_(lr.elementType);default:return uS(lr)&&Ja(lr.typeName)&&lr.typeName.escapedText===\"Object\"&&!lr.typeArguments}}function MF(lr,Rs,As,no){let Co=l1(),Ya=!Co;o1();let{name:yu,isBracketed:Ah}=WW(),sf=o1();Ya&&!al(OF)&&(Co=l1());let fg=cp(lr,Kt(),no,sf),u1=As!==4&&_(Co,yu,As,no);u1&&(Co=u1,Ya=!0);let _g=As===1?st.createJSDocPropertyTag(Rs,yu,Ah,Co,Ya,fg):st.createJSDocParameterTag(Rs,yu,Ah,Co,Ya,fg);return Hi(_g,lr)}function _(lr,Rs,As,no){if(lr&&I_(lr.type)){let Co=Kt(),Ya,yu;for(;Ya=Wd(()=>HW(As,no,Rs));)(Ya.kind===344||Ya.kind===351)&&(yu=Ye(yu,Ya));if(yu){let Ah=Hi(st.createJSDocTypeLiteral(yu,lr.type.kind===185),Co);return Hi(st.createJSDocTypeExpression(Ah),Co)}}}function C(lr,Rs,As,no){so(ul,XB)&&Ki(Rs.pos,c.getTokenPos(),ns._0_tag_already_specified,Rs.escapedText);let Co=l1();return Hi(st.createJSDocReturnTag(Rs,Co,cp(lr,Kt(),As,no)),lr)}function A(lr,Rs,As,no){so(ul,lA)&&Ki(Rs.pos,c.getTokenPos(),ns._0_tag_already_specified,Rs.escapedText);let Co=ut(!0),Ya=As!==void 0&&no!==void 0?cp(lr,Kt(),As,no):void 0;return Hi(st.createJSDocTypeTag(Rs,Co,Ya),lr)}function O(lr,Rs,As,no){let Co=fe()===22||al(()=>ia()===59&&sd(ia())&&sl(c.getTokenValue()))?void 0:rn(),Ya=As!==void 0&&no!==void 0?cp(lr,Kt(),As,no):void 0;return Hi(st.createJSDocSeeTag(Rs,Co,Ya),lr)}function Qe(lr,Rs,As,no){let Co=l1(),Ya=cp(lr,Kt(),As,no);return Hi(st.createJSDocThrowsTag(Rs,Co,Ya),lr)}function oi(lr,Rs,As,no){let Co=Kt(),Ya=xs(),yu=c.getStartPos(),Ah=cp(lr,yu,As,no);Ah||(yu=c.getStartPos());let sf=typeof Ah!=\"string\"?Xd(Wa([Hi(Ya,Co,yu)],Ah),Co):Ya.text+Ah;return Hi(st.createJSDocAuthorTag(Rs,sf),lr)}function xs(){let lr=[],Rs=!1,As=c.getToken();for(;As!==1&&As!==4;){if(As===29)Rs=!0;else{if(As===59&&!Rs)break;if(As===31&&Rs){lr.push(c.getTokenText()),c.setTextPos(c.getTokenPos()+1);break}}lr.push(c.getTokenText()),As=ia()}return st.createJSDocText(lr.join(\"\"))}function Wo(lr,Rs,As,no){let Co=um();return Hi(st.createJSDocImplementsTag(Rs,Co,cp(lr,Kt(),As,no)),lr)}function Pa(lr,Rs,As,no){let Co=um();return Hi(st.createJSDocAugmentsTag(Rs,Co,cp(lr,Kt(),As,no)),lr)}function rf(lr,Rs,As,no){let Co=ut(!1),Ya=As!==void 0&&no!==void 0?cp(lr,Kt(),As,no):void 0;return Hi(st.createJSDocSatisfiesTag(Rs,Co,Ya),lr)}function um(){let lr=Al(18),Rs=Kt(),As=e0(),no=MS(),Co=st.createExpressionWithTypeArguments(As,no),Ya=Hi(Co,Rs);return lr&&Hr(19),Ya}function e0(){let lr=Kt(),Rs=lv();for(;Al(24);){let As=lv();Rs=Hi(po(Rs,As),lr)}return Rs}function cm(lr,Rs,As,no,Co){return Hi(Rs(As,cp(lr,Kt(),no,Co)),lr)}function Uxe(lr,Rs,As,no){let Co=ut(!0);return kf(),Hi(st.createJSDocThisTag(Rs,Co,cp(lr,Kt(),As,no)),lr)}function Kxe(lr,Rs,As,no){let Co=ut(!0);return kf(),Hi(st.createJSDocEnumTag(Rs,Co,cp(lr,Kt(),As,no)),lr)}function qxe(lr,Rs,As,no){var Co;let Ya=l1();o1();let yu=VW();kf();let Ah=VS(As),sf;if(!Ya||I_(Ya.type)){let u1,_g,_k,gk=!1;for(;u1=Wd(()=>Qxe(As));)if(gk=!0,u1.kind===347)if(_g){let uv=Cl(ns.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);uv&&jT(uv,GC($h,0,0,ns.The_tag_was_first_specified_here));break}else _g=u1;else _k=Ye(_k,u1);if(gk){let uv=Ya&&Ya.type.kind===185,rEe=st.createJSDocTypeLiteral(_k,uv);Ya=_g&&_g.typeExpression&&!I_(_g.typeExpression.type)?_g.typeExpression:Hi(rEe,lr),sf=Ya.end}}sf=sf||Ah!==void 0?Kt():((Co=yu!=null?yu:Ya)!=null?Co:Rs).end,Ah||(Ah=cp(lr,sf,As,no));let fg=st.createJSDocTypedefTag(Rs,Ya,yu,Ah);return Hi(fg,lr,sf)}function VW(lr){let Rs=c.getTokenPos();if(!sd(fe()))return;let As=lv();if(Al(24)){let no=VW(!0),Co=st.createModuleDeclaration(void 0,As,no,lr?4:void 0);return Hi(Co,Rs)}return lr&&(As.flags|=2048),As}function Gxe(lr){let Rs=Kt(),As,no;for(;As=Wd(()=>HW(4,lr));)no=Ye(no,As);return Xd(no||[],Rs)}function Nie(lr,Rs){let As=Gxe(Rs),no=Wd(()=>{if(w2(59)){let Co=fk(Rs);if(Co&&Co.kind===345)return Co}});return Hi(st.createJSDocSignature(void 0,As,no),lr)}function Jxe(lr,Rs,As,no){let Co=VW();kf();let Ya=VS(As),yu=Nie(lr,As);Ya||(Ya=cp(lr,Kt(),As,no));let Ah=Ya!==void 0?Kt():yu.end;return Hi(st.createJSDocCallbackTag(Rs,yu,Co,Ya),lr,Ah)}function Yxe(lr,Rs,As,no){kf();let Co=VS(As),Ya=Nie(lr,As);Co||(Co=cp(lr,Kt(),As,no));let yu=Co!==void 0?Kt():Ya.end;return Hi(st.createJSDocOverloadTag(Rs,Ya,Co),lr,yu)}function Xxe(lr,Rs){for(;!Ja(lr)||!Ja(Rs);)if(!Ja(lr)&&!Ja(Rs)&&lr.right.escapedText===Rs.right.escapedText)lr=lr.left,Rs=Rs.left;else return!1;return lr.escapedText===Rs.escapedText}function Qxe(lr){return HW(1,lr)}function HW(lr,Rs,As){let no=!0,Co=!1;for(;;)switch(ia()){case 59:if(no){let Ya=Zxe(lr,Rs);return Ya&&(Ya.kind===344||Ya.kind===351)&&lr!==4&&As&&(Ja(Ya.name)||!Xxe(As,Ya.name.left))?!1:Ya}Co=!1;break;case 4:no=!0,Co=!1;break;case 41:Co&&(no=!1),Co=!0;break;case 79:no=!1;break;case 1:return!1}}function Zxe(lr,Rs){Bn.assert(fe()===59);let As=c.getStartPos();ia();let no=lv();kf();let Co;switch(no.escapedText){case\"type\":return lr===1&&A(As,no);case\"prop\":case\"property\":Co=1;break;case\"arg\":case\"argument\":case\"param\":Co=6;break;default:return!1}return lr&Co?MF(As,no,lr,Rs):!1}function eEe(){let lr=Kt(),Rs=w2(22);Rs&&kf();let As=lv(ns.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces),no;if(Rs&&(kf(),Hr(63),no=vl(8388608,TS),Hr(23)),!O0(As))return Hi(st.createTypeParameterDeclaration(void 0,As,void 0,no),lr)}function tEe(){let lr=Kt(),Rs=[];do{kf();let As=eEe();As!==void 0&&Rs.push(As),o1()}while(w2(27));return Xd(Rs,lr)}function nEe(lr,Rs,As,no){let Co=fe()===18?ut():void 0,Ya=tEe();return Hi(st.createJSDocTemplateTag(Rs,Co,Ya,cp(lr,Kt(),As,no)),lr)}function w2(lr){return fe()===lr?(ia(),!0):!1}function iEe(){let lr=lv();for(Al(22)&&Hr(23);Al(24);){let Rs=lv();Al(22)&&Hr(23),lr=SA(lr,Rs)}return lr}function lv(lr){if(!sd(fe()))return Zf(79,!lr,lr||ns.Identifier_expected);op++;let Rs=c.getTokenPos(),As=c.getTextPos(),no=fe(),Co=J0(c.getTokenValue()),Ya=Hi(ys(Co,no),Rs,As);return ia(),Ya}}})(NF=r.JSDocParser||(r.JSDocParser={}))})(nm||(nm={})),(r=>{function c(Zn,ar,ys,Is){if(Is=Is||Bn.shouldAssert(2),st(Zn,ar,ys,Is),oX(ys))return Zn;if(Zn.statements.length===0)return nm.parseSourceFile(Zn.fileName,ar,Zn.languageVersion,void 0,!0,Zn.scriptKind,Zn.setExternalModuleIndicator);let So=Zn;Bn.assert(!So.hasBeenIncrementallyParsed),So.hasBeenIncrementallyParsed=!0,nm.fixupParentReferences(So);let Ws=Zn.text,_r=wi(Zn),po=te(Zn,ys);st(Zn,ar,po,Is),Bn.assert(po.span.start<=ys.span.start),Bn.assert(wh(po.span)===wh(ys.span)),Bn.assert(wh(Ww(po))===wh(Ww(ys)));let Na=Ww(po).length-po.span.length;Be(So,po.span.start,wh(po.span),wh(Ww(po)),Na,Ws,ar,Is);let wu=nm.parseSourceFile(Zn.fileName,ar,Zn.languageVersion,_r,!0,Zn.scriptKind,Zn.setExternalModuleIndicator);return wu.commentDirectives=f(Zn.commentDirectives,wu.commentDirectives,po.span.start,wh(po.span),Na,Ws,ar,Is),wu.impliedNodeFormat=Zn.impliedNodeFormat,wu}r.updateSourceFile=c;function f(Zn,ar,ys,Is,So,Ws,_r,po){if(!Zn)return ar;let Na,wu=!1;for(let Wu of Zn){let{range:hc,type:xf}=Wu;if(hc.end<ys)Na=Ye(Na,Wu);else if(hc.pos>Is){Tl();let rp={range:{pos:hc.pos+So,end:hc.end+So},type:xf};Na=Ye(Na,rp),po&&Bn.assert(Ws.substring(hc.pos,hc.end)===_r.substring(rp.range.pos,rp.range.end))}}return Tl(),Na;function Tl(){wu||(wu=!0,Na?ar&&Na.push(...ar):Na=ar)}}function x(Zn,ar,ys,Is,So,Ws){ar?po(Zn):_r(Zn);return;function _r(Na){let wu=\"\";if(Ws&&B(Na)&&(wu=Is.substring(Na.pos,Na.end)),Na._children&&(Na._children=void 0),Ub(Na,Na.pos+ys,Na.end+ys),Ws&&B(Na)&&Bn.assert(wu===So.substring(Na.pos,Na.end)),Jd(Na,_r,po),P0(Na))for(let Tl of Na.jsDoc)_r(Tl);ke(Na,Ws)}function po(Na){Na._children=void 0,Ub(Na,Na.pos+ys,Na.end+ys);for(let wu of Na)_r(wu)}}function B(Zn){switch(Zn.kind){case 10:case 8:case 79:return!0}return!1}function De(Zn,ar,ys,Is,So){Bn.assert(Zn.end>=ar,\"Adjusting an element that was entirely before the change range\"),Bn.assert(Zn.pos<=ys,\"Adjusting an element that was entirely after the change range\"),Bn.assert(Zn.pos<=Zn.end);let Ws=Math.min(Zn.pos,Is),_r=Zn.end>=ys?Zn.end+So:Math.min(Zn.end,Is);Bn.assert(Ws<=_r),Zn.parent&&(Bn.assertGreaterThanOrEqual(Ws,Zn.parent.pos),Bn.assertLessThanOrEqual(_r,Zn.parent.end)),Ub(Zn,Ws,_r)}function ke(Zn,ar){if(ar){let ys=Zn.pos,Is=So=>{Bn.assert(So.pos>=ys),ys=So.end};if(P0(Zn))for(let So of Zn.jsDoc)Is(So);Jd(Zn,Is),Bn.assert(ys<=Zn.end)}}function Be(Zn,ar,ys,Is,So,Ws,_r,po){Na(Zn);return;function Na(Tl){if(Bn.assert(Tl.pos<=Tl.end),Tl.pos>ys){x(Tl,!1,So,Ws,_r,po);return}let Wu=Tl.end;if(Wu>=ar){if(Tl.intersectsChange=!0,Tl._children=void 0,De(Tl,ar,ys,Is,So),Jd(Tl,Na,wu),P0(Tl))for(let hc of Tl.jsDoc)Na(hc);ke(Tl,po);return}Bn.assert(Wu<ar)}function wu(Tl){if(Bn.assert(Tl.pos<=Tl.end),Tl.pos>ys){x(Tl,!0,So,Ws,_r,po);return}let Wu=Tl.end;if(Wu>=ar){Tl.intersectsChange=!0,Tl._children=void 0,De(Tl,ar,ys,Is,So);for(let hc of Tl)Na(hc);return}Bn.assert(Wu<ar)}}function te(Zn,ar){let ys=ar.span.start;for(let Ws=0;ys>0&&Ws<=1;Ws++){let _r=wn(Zn,ys);Bn.assert(_r.pos<=ys);let po=_r.pos;ys=Math.max(0,po-1)}let Is=I0(ys,wh(ar.span)),So=ar.newLength+(ar.span.start-ys);return W4(Is,So)}function wn(Zn,ar){let ys=Zn,Is;if(Jd(Zn,Ws),Is){let _r=So(Is);_r.pos>ys.pos&&(ys=_r)}return ys;function So(_r){for(;;){let po=hee(_r);if(po)_r=po;else return _r}}function Ws(_r){if(!O0(_r))if(_r.pos<=ar){if(_r.pos>=ys.pos&&(ys=_r),ar<_r.end)return Jd(_r,Ws),!0;Bn.assert(_r.end<=ar),Is=_r}else return Bn.assert(_r.pos>ar),!0}}function st(Zn,ar,ys,Is){let So=Zn.text;if(ys&&(Bn.assert(So.length-ys.span.length+ys.newLength===ar.length),Is||Bn.shouldAssert(3))){let Ws=So.substr(0,ys.span.start),_r=ar.substr(0,ys.span.start);Bn.assert(Ws===_r);let po=So.substring(wh(ys.span),So.length),Na=ar.substring(wh(Ww(ys)),ar.length);Bn.assert(po===Na)}}function wi(Zn){let ar=Zn.statements,ys=0;Bn.assert(ys<ar.length);let Is=ar[ys],So=-1;return{currentNode(_r){return _r!==So&&(Is&&Is.end===_r&&ys<ar.length-1&&(ys++,Is=ar[ys]),(!Is||Is.pos!==_r)&&Ws(_r)),So=_r,Bn.assert(!Is||Is.pos===_r),Is}};function Ws(_r){ar=void 0,ys=-1,Is=void 0,Jd(Zn,po,Na);return;function po(wu){return _r>=wu.pos&&_r<wu.end?(Jd(wu,po,Na),!0):!1}function Na(wu){if(_r>=wu.pos&&_r<wu.end)for(let Tl=0;Tl<wu.length;Tl++){let Wu=wu[Tl];if(Wu){if(Wu.pos===_r)return ar=wu,ys=Tl,Is=Wu,!0;if(Wu.pos<_r&&_r<Wu.end)return Jd(Wu,po,Na),!0}}return!1}}}r.createSyntaxCursor=wi;let an;(Zn=>{Zn[Zn.Value=-1]=\"Value\"})(an||(an={}))})(l6||(l6={})),u6=new Map,sie=/^\\/\\/\\/\\s*<(\\S+)\\s.*?\\/>/im,oie=/^\\/\\/\\/?\\s*@(\\S+)\\s*(.*)\\s*$/im}}),Qp=ve({\"src/compiler/_namespaces/ts.ts\"(){se(),ta(),Zo(),LY(),Mge(),Rge(),Kge(),O0e(),cDe(),dDe(),hDe(),xDe(),nSe(),_xe(),gxe(),Lxe()}}),aie=()=>{},d2,aie=()=>{Zo(),d2=WC(99,!0)};function lie(r,c,f,x){let B=vT(r)?new d6(r,c,f):r===79?new p6(79,c,f):r===80?new f6(80,c,f):new cj(r,c,f);return B.parent=x,B.flags=x.flags&50720768,B}function Nxe(r,c){if(!vT(r.kind))return Ci;let f=[];if(oQ(r))return r.forEachChild(ke=>{f.push(ke)}),f;d2.setText((c||r.getSourceFile()).text);let x=r.pos,B=ke=>{dA(f,x,ke.pos,r),f.push(ke),x=ke.end},De=ke=>{dA(f,x,ke.pos,r),f.push(Ixe(ke,r)),x=ke.end};return S(r.jsDoc,B),x=r.pos,r.forEachChild(B,De),dA(f,x,r.end,r),d2.setText(void 0),f}function dA(r,c,f,x){for(d2.setTextPos(c);c<f;){let B=d2.scan(),De=d2.getTextPos();if(De<=f){if(B===79){if(Jee(x))continue;Bn.fail(`Did not expect ${Bn.formatSyntaxKind(x.kind)} to have an Identifier in its trivia`)}r.push(lie(B,c,De,x))}if(c=De,B===1)break}}function Ixe(r,c){let f=lie(354,r.pos,r.end,c);f._children=[];let x=r.pos;for(let B of r)dA(f._children,x,B.pos,c),f._children.push(B),x=B.end;return dA(f._children,x,r.end,c),f}function uie(r){return bT(r).some(c=>c.tagName.text===\"inheritDoc\"||c.tagName.text===\"inheritdoc\")}function c6(r,c){if(!r)return Ci;let f=ts_JsDoc_exports.getJsDocTagsFromDeclarations(r,c);if(c&&(f.length===0||r.some(uie))){let x=new Set;for(let B of r){let De=cie(c,B,ke=>{var Be;if(!x.has(ke))return x.add(ke),B.kind===174||B.kind===175?ke.getContextualJsDocTags(B,c):((Be=ke.declarations)==null?void 0:Be.length)===1?ke.getJsDocTags():void 0});De&&(f=[...De,...f])}}return f}function hA(r,c){if(!r)return Ci;let f=ts_JsDoc_exports.getJsDocCommentsFromDeclarations(r,c);if(c&&(f.length===0||r.some(uie))){let x=new Set;for(let B of r){let De=cie(c,B,ke=>{if(!x.has(ke))return x.add(ke),B.kind===174||B.kind===175?ke.getContextualDocumentationComment(B,c):ke.getDocumentationComment(c)});De&&(f=f.length===0?De.slice():De.concat(lineBreakPart(),f))}}return f}function cie(r,c,f){var x;let B=((x=c.parent)==null?void 0:x.kind)===173?c.parent.parent:c.parent;if(!B)return;let De=CN(c);return dt(pZ(B),ke=>{let Be=r.getTypeAtLocation(ke),te=De&&Be.symbol?r.getTypeOfSymbol(Be.symbol):Be,wn=r.getPropertyOfType(te,c.symbol.name);return wn?f(wn):void 0})}function Fxe(){return{getNodeConstructor:()=>d6,getTokenConstructor:()=>cj,getIdentifierConstructor:()=>p6,getPrivateIdentifierConstructor:()=>f6,getSourceFileConstructor:()=>Die,getSymbolConstructor:()=>bie,getTypeConstructor:()=>vie,getSignatureConstructor:()=>Cie,getSourceMapSourceConstructor:()=>wie}}function pA(r){let c=!0;for(let x in r)if(Yo(r,x)&&!die(x)){c=!1;break}if(c)return r;let f={};for(let x in r)if(Yo(r,x)){let B=die(x)?x:x.charAt(0).toLowerCase()+x.substr(1);f[B]=r[x]}return f}function die(r){return!r.length||r.charAt(0)===r.charAt(0).toLowerCase()}function Pxe(r){return r?is(r,c=>c.text).join(\"\"):\"\"}function hie(){return{target:1,jsx:1}}function pie(){return ts_codefix_exports.getSupportedErrorCodes()}function fie(r,c,f){r.version=f,r.scriptSnapshot=c}function uj(r,c,f,x,B,De){let ke=Gne(r,getSnapshotText(c),f,B,De);return fie(ke,c,x),ke}function _ie(r,c,f,x,B){if(x&&f!==r.version){let ke,Be=x.span.start!==0?r.text.substr(0,x.span.start):\"\",te=wh(x.span)!==r.text.length?r.text.substr(wh(x.span)):\"\";if(x.newLength===0)ke=Be&&te?Be+te:Be||te;else{let st=c.getText(x.span.start,x.span.start+x.newLength);ke=Be&&te?Be+st+te:Be?Be+st:st+te}let wn=aj(r,ke,x,B);return fie(wn,c,f),wn.nameTable=void 0,r!==wn&&r.scriptSnapshot&&(r.scriptSnapshot.dispose&&r.scriptSnapshot.dispose(),r.scriptSnapshot=void 0),wn}let De={languageVersion:r.languageVersion,impliedNodeFormat:r.impliedNodeFormat,setExternalModuleIndicator:r.setExternalModuleIndicator};return uj(r.fileName,c,De,f,!0,r.scriptKind)}function Oxe(r){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:createDocumentRegistry(r.useCaseSensitiveFileNames&&r.useCaseSensitiveFileNames(),r.getCurrentDirectory()),f=arguments.length>2?arguments[2]:void 0;var x;let B;f===void 0?B=0:typeof f==\"boolean\"?B=f?2:0:B=f;let De=new Sie(r),ke,Be,te=0,wn=r.getCancellationToken?new Eie(r.getCancellationToken()):xie,st=r.getCurrentDirectory();gee((x=r.getLocalizedDiagnosticMessages)==null?void 0:x.bind(r));function wi(Ki){r.log&&r.log(Ki)}let an=_R(r),Zn=at(an),ar=getSourceMapper({useCaseSensitiveFileNames:()=>an,getCurrentDirectory:()=>st,getProgram:So,fileExists:vr(r,r.fileExists),readFile:vr(r,r.readFile),getDocumentPositionMapper:vr(r,r.getDocumentPositionMapper),getSourceFileLike:vr(r,r.getSourceFileLike),log:wi});function ys(Ki){let tn=ke.getSourceFile(Ki);if(!tn){let tr=new Error(`Could not find source file: '${Ki}'.`);throw tr.ProgramFiles=ke.getSourceFiles().map(Kt=>Kt.fileName),tr}return tn}function Is(){var Ki,tn,tr;if(Bn.assert(B!==2),r.getProjectVersion){let Qa=r.getProjectVersion();if(Qa){if(Be===Qa&&!((Ki=r.hasChangedAutomaticTypeDirectiveNames)!=null&&Ki.call(r)))return;Be=Qa}}let Kt=r.getTypeRootsVersion?r.getTypeRootsVersion():0;te!==Kt&&(wi(\"TypeRoots version has changed; provide new program\"),ke=void 0,te=Kt);let Qr=r.getScriptFileNames().slice(),fe=r.getCompilationSettings()||hie(),ma=r.hasInvalidatedResolutions||id,Io=vr(r,r.hasChangedAutomaticTypeDirectiveNames),Sr=(tn=r.getProjectReferences)==null?void 0:tn.call(r),ia,Fa={getSourceFile:al,getSourceFileByPath:Wd,getCancellationToken:()=>wn,getCanonicalFileName:Zn,useCaseSensitiveFileNames:()=>an,getNewLine:()=>ree(fe),getDefaultLibFileName:Qa=>r.getDefaultLibFileName(Qa),writeFile:ku,getCurrentDirectory:()=>st,fileExists:Qa=>r.fileExists(Qa),readFile:Qa=>r.readFile&&r.readFile(Qa),getSymlinkCache:vr(r,r.getSymlinkCache),realpath:vr(r,r.realpath),directoryExists:Qa=>iee(Qa,r),getDirectories:Qa=>r.getDirectories?r.getDirectories(Qa):[],readDirectory:(Qa,Dl,Hr,Qf,Jm)=>(Bn.checkDefined(r.readDirectory,\"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'\"),r.readDirectory(Qa,Dl,Hr,Qf,Jm)),onReleaseOldSourceFile:Xf,onReleaseParsedCommandLine:Yd,hasInvalidatedResolutions:ma,hasChangedAutomaticTypeDirectiveNames:Io,trace:vr(r,r.trace),resolveModuleNames:vr(r,r.resolveModuleNames),getModuleResolutionCache:vr(r,r.getModuleResolutionCache),createHash:vr(r,r.createHash),resolveTypeReferenceDirectives:vr(r,r.resolveTypeReferenceDirectives),resolveModuleNameLiterals:vr(r,r.resolveModuleNameLiterals),resolveTypeReferenceDirectiveReferences:vr(r,r.resolveTypeReferenceDirectiveReferences),useSourceOfProjectReferenceRedirect:vr(r,r.useSourceOfProjectReferenceRedirect),getParsedCommandLine:hh},Xl=Fa.getSourceFile,{getSourceFileWithCache:wc}=changeCompilerHostLikeToUseCache(Fa,Qa=>Bm(Qa,st,Zn),function(){for(var Qa=arguments.length,Dl=new Array(Qa),Hr=0;Hr<Qa;Hr++)Dl[Hr]=arguments[Hr];return Xl.call(Fa,...Dl)});Fa.getSourceFile=wc,(tr=r.setCompilerHost)==null||tr.call(r,Fa);let Ac={useCaseSensitiveFileNames:an,fileExists:Qa=>Fa.fileExists(Qa),readFile:Qa=>Fa.readFile(Qa),readDirectory:function(){return Fa.readDirectory(...arguments)},trace:Fa.trace,getCurrentDirectory:Fa.getCurrentDirectory,onUnRecoverableConfigFileDiagnostic:ku},du=c.getKeyForCompilationSettings(fe);if(isProgramUptoDate(ke,Qr,fe,(Qa,Dl)=>r.getScriptVersion(Dl),Qa=>Fa.fileExists(Qa),ma,Io,hh,Sr))return;let lp={rootNames:Qr,options:fe,host:Fa,oldProgram:ke,projectReferences:Sr};ke=createProgram(lp),Fa=void 0,ia=void 0,ar.clearCache(),ke.getTypeChecker();return;function hh(Qa){let Dl=Bm(Qa,st,Zn),Hr=ia==null?void 0:ia.get(Dl);if(Hr!==void 0)return Hr||void 0;let Qf=r.getParsedCommandLine?r.getParsedCommandLine(Qa):Th(Qa);return(ia||(ia=new Map)).set(Dl,Qf||!1),Qf}function Th(Qa){let Dl=al(Qa,100);if(Dl)return Dl.path=Bm(Qa,st,Zn),Dl.resolvedPath=Dl.path,Dl.originalFileName=Dl.fileName,parseJsonSourceFileConfigFileContent(Dl,Ac,Cy(by(Qa),st),void 0,Cy(Qa,st))}function Yd(Qa,Dl,Hr){var Qf;r.getParsedCommandLine?(Qf=r.onReleaseParsedCommandLine)==null||Qf.call(r,Qa,Dl,Hr):Dl&&Xf(Dl.sourceFile,Hr)}function Xf(Qa,Dl){let Hr=c.getKeyForCompilationSettings(Dl);c.releaseDocumentWithKey(Qa.resolvedPath,Hr,Qa.scriptKind,Qa.impliedNodeFormat)}function al(Qa,Dl,Hr,Qf){return Wd(Qa,Bm(Qa,st,Zn),Dl,Hr,Qf)}function Wd(Qa,Dl,Hr,Qf,Jm){Bn.assert(Fa,\"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.\");let K0=r.getScriptSnapshot(Qa);if(!K0)return;let h2=getScriptKind(Qa,r),bS=r.getScriptVersion(Qa);if(!Jm){let q0=ke&&ke.getSourceFileByPath(Dl);if(q0){if(h2===q0.scriptKind)return c.updateDocumentWithKey(Qa,Dl,r,du,K0,bS,h2,Hr);c.releaseDocumentWithKey(q0.resolvedPath,c.getKeyForCompilationSettings(ke.getCompilerOptions()),q0.scriptKind,q0.impliedNodeFormat)}}return c.acquireDocumentWithKey(Qa,Dl,r,du,K0,bS,h2,Hr)}}function So(){if(B===2){Bn.assert(ke===void 0);return}return Is(),ke}function Ws(){var Ki;return(Ki=r.getPackageJsonAutoImportProvider)==null?void 0:Ki.call(r)}function _r(Ki,tn){let tr=ke.getTypeChecker(),Kt=Qr();if(!Kt)return!1;for(let ma of Ki)for(let Io of ma.references){let Sr=fe(Io);if(Bn.assertIsDefined(Sr),tn.has(Io)||ts_FindAllReferences_exports.isDeclarationOfSymbol(Sr,Kt)){tn.add(Io),Io.isDefinition=!0;let ia=getMappedDocumentSpan(Io,ar,vr(r,r.fileExists));ia&&tn.add(ia)}else Io.isDefinition=!1}return!0;function Qr(){for(let ma of Ki)for(let Io of ma.references){if(tn.has(Io)){let ia=fe(Io);return Bn.assertIsDefined(ia),tr.getSymbolAtLocation(ia)}let Sr=getMappedDocumentSpan(Io,ar,vr(r,r.fileExists));if(Sr&&tn.has(Sr)){let ia=fe(Sr);if(ia)return tr.getSymbolAtLocation(ia)}}}function fe(ma){let Io=ke.getSourceFile(ma.fileName);if(!Io)return;let Sr=getTouchingPropertyName(Io,ma.textSpan.start);return ts_FindAllReferences_exports.Core.getAdjustedNode(Sr,{use:ts_FindAllReferences_exports.FindReferencesUse.References})}}function po(){ke=void 0}function Na(){if(ke){let Ki=c.getKeyForCompilationSettings(ke.getCompilerOptions());S(ke.getSourceFiles(),tn=>c.releaseDocumentWithKey(tn.resolvedPath,Ki,tn.scriptKind,tn.impliedNodeFormat)),ke=void 0}r=void 0}function wu(Ki){return Is(),ke.getSyntacticDiagnostics(ys(Ki),wn).slice()}function Tl(Ki){Is();let tn=ys(Ki),tr=ke.getSemanticDiagnostics(tn,wn);if(!WR(ke.getCompilerOptions()))return tr.slice();let Kt=ke.getDeclarationDiagnostics(tn,wn);return[...tr,...Kt]}function Wu(Ki){return Is(),computeSuggestionDiagnostics(ys(Ki),ke,wn)}function hc(){return Is(),[...ke.getOptionsDiagnostics(wn),...ke.getGlobalDiagnostics(wn)]}function xf(Ki,tn){let tr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:emptyOptions,Kt=arguments.length>3?arguments[3]:void 0,Qr=Object.assign(Object.assign({},tr),{},{includeCompletionsForModuleExports:tr.includeCompletionsForModuleExports||tr.includeExternalModuleExports,includeCompletionsWithInsertText:tr.includeCompletionsWithInsertText||tr.includeInsertTextCompletions});return Is(),ts_Completions_exports.getCompletionsAtPosition(r,ke,wi,ys(Ki),tn,Qr,tr.triggerCharacter,tr.triggerKind,wn,Kt&&ts_formatting_exports.getFormatContext(Kt,r),tr.includeSymbol)}function rp(Ki,tn,tr,Kt,Qr){let fe=arguments.length>5&&arguments[5]!==void 0?arguments[5]:emptyOptions,ma=arguments.length>6?arguments[6]:void 0;return Is(),ts_Completions_exports.getCompletionEntryDetails(ke,wi,ys(Ki),tn,{name:tr,source:Qr,data:ma},r,Kt&&ts_formatting_exports.getFormatContext(Kt,r),fe,wn)}function $m(Ki,tn,tr,Kt){let Qr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:emptyOptions;return Is(),ts_Completions_exports.getCompletionEntrySymbol(ke,wi,ys(Ki),tn,{name:tr,source:Kt},r,Qr)}function Zp(Ki,tn){Is();let tr=ys(Ki),Kt=getTouchingPropertyName(tr,tn);if(Kt===tr)return;let Qr=ke.getTypeChecker(),fe=ef(Kt),ma=Wxe(fe,Qr);if(!ma||Qr.isUnknownSymbol(ma)){let Xl=lu(tr,fe,tn)?Qr.getTypeAtLocation(fe):void 0;return Xl&&{kind:\"\",kindModifiers:\"\",textSpan:createTextSpanFromNode(fe,tr),displayParts:Qr.runWithCancellationToken(wn,wc=>typeToDisplayParts(wc,Xl,getContainerNode(fe))),documentation:Xl.symbol?Xl.symbol.getDocumentationComment(Qr):void 0,tags:Xl.symbol?Xl.symbol.getJsDocTags(Qr):void 0}}let{symbolKind:Io,displayParts:Sr,documentation:ia,tags:Fa}=Qr.runWithCancellationToken(wn,Xl=>ts_SymbolDisplay_exports.getSymbolDisplayPartsDocumentationAndSymbolKind(Xl,ma,tr,getContainerNode(fe),fe));return{kind:Io,kindModifiers:ts_SymbolDisplay_exports.getSymbolModifiers(Qr,ma),textSpan:createTextSpanFromNode(fe,tr),displayParts:Sr,documentation:ia,tags:Fa}}function ef(Ki){return qte(Ki.parent)&&Ki.pos===Ki.parent.pos?Ki.parent.expression:xB(Ki.parent)&&Ki.pos===Ki.parent.pos||BM(Ki.parent)&&Ki.parent.name===Ki?Ki.parent:Ki}function lu(Ki,tn,tr){switch(tn.kind){case 79:return!isLabelName(tn)&&!isTagName(tn)&&!PX(tn.parent);case 208:case 163:return!isInComment(Ki,tr);case 108:case 194:case 106:case 199:return!0;case 233:return BM(tn);default:return!1}}function Uf(Ki,tn,tr,Kt){return Is(),ts_GoToDefinition_exports.getDefinitionAtPosition(ke,ys(Ki),tn,tr,Kt)}function Ap(Ki,tn){return Is(),ts_GoToDefinition_exports.getDefinitionAndBoundSpan(ke,ys(Ki),tn)}function gd(Ki,tn){return Is(),ts_GoToDefinition_exports.getTypeDefinitionAtPosition(ke.getTypeChecker(),ys(Ki),tn)}function zm(Ki,tn){return Is(),ts_FindAllReferences_exports.getImplementationsAtPosition(ke,wn,ke.getSourceFiles(),ys(Ki),tn)}function tf(Ki,tn){return ji($h(Ki,tn,[Ki]),tr=>tr.highlightSpans.map(Kt=>Object.assign(Object.assign({fileName:tr.fileName,textSpan:Kt.textSpan,isWriteAccess:Kt.kind===\"writtenReference\"},Kt.isInString&&{isInString:!0}),Kt.contextSpan&&{contextSpan:Kt.contextSpan})))}function $h(Ki,tn,tr){let Kt=rg(Ki);Bn.assert(tr.some(ma=>rg(ma)===Kt)),Is();let Qr=ha(tr,ma=>ke.getSourceFile(ma)),fe=ys(Ki);return DocumentHighlights.getDocumentHighlights(ke,wn,fe,tn,Qr)}function sp(Ki,tn,tr,Kt,Qr){Is();let fe=ys(Ki),ma=getAdjustedRenameLocation(getTouchingPropertyName(fe,tn));if(ts_Rename_exports.nodeIsEligibleForRename(ma))if(Ja(ma)&&(rA(ma.parent)||ine(ma.parent))&&xZ(ma.escapedText)){let{openingElement:Io,closingElement:Sr}=ma.parent.parent;return[Io,Sr].map(ia=>{let Fa=createTextSpanFromNode(ia.tagName,fe);return Object.assign({fileName:fe.fileName,textSpan:Fa},ts_FindAllReferences_exports.toContextSpan(Fa,fe,ia.parent))})}else return Ef(ma,tn,{findInStrings:tr,findInComments:Kt,providePrefixAndSuffixTextForRename:Qr,use:ts_FindAllReferences_exports.FindReferencesUse.Rename},(Io,Sr,ia)=>ts_FindAllReferences_exports.toRenameLocation(Io,Sr,ia,Qr||!1))}function jc(Ki,tn){return Is(),Ef(getTouchingPropertyName(ys(Ki),tn),tn,{use:ts_FindAllReferences_exports.FindReferencesUse.References},ts_FindAllReferences_exports.toReferenceEntry)}function Ef(Ki,tn,tr,Kt){Is();let Qr=tr&&tr.use===ts_FindAllReferences_exports.FindReferencesUse.Rename?ke.getSourceFiles().filter(fe=>!ke.isSourceFileDefaultLibrary(fe)):ke.getSourceFiles();return ts_FindAllReferences_exports.findReferenceOrRenameEntries(ke,wn,Qr,Ki,tn,tr,Kt)}function Kf(Ki,tn){return Is(),ts_FindAllReferences_exports.findReferencedSymbols(ke,wn,ke.getSourceFiles(),ys(Ki),tn)}function Uc(Ki){return Is(),ts_FindAllReferences_exports.Core.getReferencesForFileName(Ki,ke,ke.getSourceFiles()).map(ts_FindAllReferences_exports.toReferenceEntry)}function tc(Ki,tn,tr){let Kt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;Is();let Qr=tr?[ys(tr)]:ke.getSourceFiles();return getNavigateToItems(Qr,ke.getTypeChecker(),wn,Ki,tn,Kt)}function xh(Ki,tn,tr){Is();let Kt=ys(Ki),Qr=r.getCustomTransformers&&r.getCustomTransformers();return getFileEmitOutput(ke,Kt,!!tn,wn,Qr,tr)}function qf(Ki,tn){let{triggerReason:tr}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:emptyOptions;Is();let Kt=ys(Ki);return ts_SignatureHelp_exports.getSignatureHelpItems(ke,Kt,tn,tr,wn)}function Tc(Ki){return De.getCurrentSourceFile(Ki)}function lg(Ki,tn,tr){let Kt=De.getCurrentSourceFile(Ki),Qr=getTouchingPropertyName(Kt,tn);if(Qr===Kt)return;switch(Qr.kind){case 208:case 163:case 10:case 95:case 110:case 104:case 106:case 108:case 194:case 79:break;default:return}let fe=Qr;for(;;)if(isRightSideOfPropertyAccess(fe)||isRightSideOfQualifiedName(fe))fe=fe.parent;else if(isNameOfModuleDeclaration(fe))if(fe.parent.parent.kind===264&&fe.parent.parent.body===fe.parent)fe=fe.parent.parent.name;else break;else break;return I0(fe.getStart(),Qr.getEnd())}function Wc(Ki,tn){let tr=De.getCurrentSourceFile(Ki);return ts_BreakpointResolver_exports.spanInSourceFileAtLocation(tr,tn)}function op(Ki){return getNavigationBarItems(De.getCurrentSourceFile(Ki),wn)}function md(Ki){return getNavigationTree(De.getCurrentSourceFile(Ki),wn)}function Gf(Ki,tn,tr){return Is(),(tr||\"original\")===\"2020\"?ts_classifier_exports.v2020.getSemanticClassifications(ke,wn,ys(Ki),tn):getSemanticClassifications(ke.getTypeChecker(),wn,ys(Ki),ke.getClassifiableNames(),tn)}function vc(Ki,tn,tr){return Is(),(tr||\"original\")===\"original\"?getEncodedSemanticClassifications(ke.getTypeChecker(),wn,ys(Ki),ke.getClassifiableNames(),tn):ts_classifier_exports.v2020.getEncodedSemanticClassifications(ke,wn,ys(Ki),tn)}function jd(Ki,tn){return getSyntacticClassifications(wn,De.getCurrentSourceFile(Ki),tn)}function ap(Ki,tn){return getEncodedSyntacticClassifications(wn,De.getCurrentSourceFile(Ki),tn)}function V0(Ki){let tn=De.getCurrentSourceFile(Ki);return ts_OutliningElementsCollector_exports.collectElements(tn,wn)}let A_=new Map(Object.entries({[18]:19,[20]:21,[22]:23,[31]:29}));A_.forEach((Ki,tn)=>A_.set(Ki.toString(),Number(tn)));function Um(Ki,tn){let tr=De.getCurrentSourceFile(Ki),Kt=getTouchingToken(tr,tn),Qr=Kt.getStart(tr)===tn?A_.get(Kt.kind.toString()):void 0,fe=Qr&&findChildOfKind(Kt.parent,Qr,tr);return fe?[createTextSpanFromNode(Kt,tr),createTextSpanFromNode(fe,tr)].sort((ma,Io)=>ma.start-Io.start):Ci}function Jf(Ki,tn,tr){let Kt=ir(),Qr=pA(tr),fe=De.getCurrentSourceFile(Ki);wi(\"getIndentationAtPosition: getCurrentSourceFile: \"+(ir()-Kt)),Kt=ir();let ma=ts_formatting_exports.SmartIndenter.getIndentation(tn,fe,Qr);return wi(\"getIndentationAtPosition: computeIndentation  : \"+(ir()-Kt)),ma}function ug(Ki,tn,tr,Kt){let Qr=De.getCurrentSourceFile(Ki);return ts_formatting_exports.formatSelection(tn,tr,Qr,ts_formatting_exports.getFormatContext(pA(Kt),r))}function H0(Ki,tn){return ts_formatting_exports.formatDocument(De.getCurrentSourceFile(Ki),ts_formatting_exports.getFormatContext(pA(tn),r))}function rl(Ki,tn,tr,Kt){let Qr=De.getCurrentSourceFile(Ki),fe=ts_formatting_exports.getFormatContext(pA(Kt),r);if(!isInComment(Qr,tn))switch(tr){case\"{\":return ts_formatting_exports.formatOnOpeningCurly(tn,Qr,fe);case\"}\":return ts_formatting_exports.formatOnClosingCurly(tn,Qr,fe);case\";\":return ts_formatting_exports.formatOnSemicolon(tn,Qr,fe);case`\n`:return ts_formatting_exports.formatOnEnter(tn,Qr,fe)}return[]}function Wr(Ki,tn,tr,Kt,Qr){let fe=arguments.length>5&&arguments[5]!==void 0?arguments[5]:emptyOptions;Is();let ma=ys(Ki),Io=I0(tn,tr),Sr=ts_formatting_exports.getFormatContext(Qr,r);return ji(Qu(Kt,qg,rd),ia=>(wn.throwIfCancellationRequested(),ts_codefix_exports.getFixes({errorCode:ia,sourceFile:ma,span:Io,program:ke,host:r,cancellationToken:wn,formatContext:Sr,preferences:fe})))}function fo(Ki,tn,tr){let Kt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:emptyOptions;Is(),Bn.assert(Ki.type===\"file\");let Qr=ys(Ki.fileName),fe=ts_formatting_exports.getFormatContext(tr,r);return ts_codefix_exports.getAllFixes({fixId:tn,sourceFile:Qr,program:ke,host:r,cancellationToken:wn,formatContext:fe,preferences:Kt})}function la(Ki,tn){let tr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:emptyOptions;var Kt;Is(),Bn.assert(Ki.type===\"file\");let Qr=ys(Ki.fileName),fe=ts_formatting_exports.getFormatContext(tn,r),ma=(Kt=Ki.mode)!=null?Kt:Ki.skipDestructiveCodeActions?\"SortAndCombine\":\"All\";return ts_OrganizeImports_exports.organizeImports(Qr,fe,r,ke,tr,ma)}function Aa(Ki,tn,tr){let Kt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:emptyOptions;return getEditsForFileRename(So(),Ki,tn,r,ts_formatting_exports.getFormatContext(tr,r),Kt,ar)}function Vu(Ki,tn){let tr=typeof Ki==\"string\"?tn:Ki;return fu(tr)?Promise.all(tr.map(Kt=>cu(Kt))):cu(tr)}function cu(Ki){let tn=tr=>Bm(tr,st,Zn);return Bn.assertEqual(Ki.type,\"install package\"),r.installPackage?r.installPackage({fileName:tn(Ki.file),packageName:Ki.packageName}):Promise.reject(\"Host does not implement `installPackage`\")}function ws(Ki,tn,tr,Kt){let Qr=Kt?ts_formatting_exports.getFormatContext(Kt,r).options:void 0;return ts_JsDoc_exports.getDocCommentTemplateAtPosition(getNewLineOrDefaultFromHost(r,Qr),De.getCurrentSourceFile(Ki),tn,tr)}function Vs(Ki,tn,tr){if(tr===60)return!1;let Kt=De.getCurrentSourceFile(Ki);if(isInString(Kt,tn))return!1;if(isInsideJsxElementOrAttribute(Kt,tn))return tr===123;if(isInTemplateString(Kt,tn))return!1;switch(tr){case 39:case 34:case 96:return!isInComment(Kt,tn)}return!0}function Hs(Ki,tn){let tr=De.getCurrentSourceFile(Ki),Kt=findPrecedingToken(tn,tr);if(!Kt)return;let Qr=Kt.kind===31&&rA(Kt.parent)?Kt.parent.parent:VN(Kt)&&VB(Kt.parent)?Kt.parent:void 0;if(Qr&&Ad(Qr))return{newText:`</${Qr.openingElement.tagName.getText(tr)}>`};let fe=Kt.kind===31&&HB(Kt.parent)?Kt.parent.parent:VN(Kt)&&QN(Kt.parent)?Kt.parent:void 0;if(fe&&Yf(fe))return{newText:\"</>\"}}function na(Ki,tn){return{lineStarts:Ki.getLineStarts(),firstLine:Ki.getLineAndCharacterOfPosition(tn.pos).line,lastLine:Ki.getLineAndCharacterOfPosition(tn.end).line}}function fl(Ki,tn,tr){let Kt=De.getCurrentSourceFile(Ki),Qr=[],{lineStarts:fe,firstLine:ma,lastLine:Io}=na(Kt,tn),Sr=tr||!1,ia=Number.MAX_VALUE,Fa=new Map,Xl=new RegExp(/\\S/),wc=isInsideJsxElement(Kt,fe[ma]),Ac=wc?\"{/*\":\"//\";for(let du=ma;du<=Io;du++){let lp=Kt.text.substring(fe[du],Kt.getLineEndOfPosition(fe[du])),hh=Xl.exec(lp);hh&&(ia=Math.min(ia,hh.index),Fa.set(du.toString(),hh.index),lp.substr(hh.index,Ac.length)!==Ac&&(Sr=tr===void 0||tr))}for(let du=ma;du<=Io;du++){if(ma!==Io&&fe[du]===tn.end)continue;let lp=Fa.get(du.toString());lp!==void 0&&(wc?Qr.push.apply(Qr,vl(Ki,{pos:fe[du]+ia,end:Kt.getLineEndOfPosition(fe[du])},Sr,wc)):Sr?Qr.push({newText:Ac,span:{length:0,start:fe[du]+ia}}):Kt.text.substr(fe[du]+lp,Ac.length)===Ac&&Qr.push({newText:\"\",span:{length:Ac.length,start:fe[du]+lp}}))}return Qr}function vl(Ki,tn,tr,Kt){var Qr;let fe=De.getCurrentSourceFile(Ki),ma=[],{text:Io}=fe,Sr=!1,ia=tr||!1,Fa=[],{pos:Xl}=tn,wc=Kt!==void 0?Kt:isInsideJsxElement(fe,Xl),Ac=wc?\"{/*\":\"/*\",du=wc?\"*/}\":\"*/\",lp=wc?\"\\\\{\\\\/\\\\*\":\"\\\\/\\\\*\",hh=wc?\"\\\\*\\\\/\\\\}\":\"\\\\*\\\\/\";for(;Xl<=tn.end;){let Th=Io.substr(Xl,Ac.length)===Ac?Ac.length:0,Yd=isInComment(fe,Xl+Th);if(Yd)wc&&(Yd.pos--,Yd.end++),Fa.push(Yd.pos),Yd.kind===3&&Fa.push(Yd.end),Sr=!0,Xl=Yd.end+1;else{let Xf=Io.substring(Xl,tn.end).search(`(${lp})|(${hh})`);ia=tr!==void 0?tr:ia||!isTextWhiteSpaceLike(Io,Xl,Xf===-1?tn.end:Xl+Xf),Xl=Xf===-1?tn.end+1:Xl+Xf+du.length}}if(ia||!Sr){((Qr=isInComment(fe,tn.pos))==null?void 0:Qr.kind)!==2&&xp(Fa,tn.pos,rd),xp(Fa,tn.end,rd);let Th=Fa[0];Io.substr(Th,Ac.length)!==Ac&&ma.push({newText:Ac,span:{length:0,start:Th}});for(let Yd=1;Yd<Fa.length-1;Yd++)Io.substr(Fa[Yd]-du.length,du.length)!==du&&ma.push({newText:du,span:{length:0,start:Fa[Yd]}}),Io.substr(Fa[Yd],Ac.length)!==Ac&&ma.push({newText:Ac,span:{length:0,start:Fa[Yd]}});ma.length%2!==0&&ma.push({newText:du,span:{length:0,start:Fa[Fa.length-1]}})}else for(let Th of Fa){let Yd=Th-du.length>0?Th-du.length:0,Xf=Io.substr(Yd,du.length)===du?du.length:0;ma.push({newText:\"\",span:{length:Ac.length,start:Th-Xf}})}return ma}function Hl(Ki,tn){let tr=De.getCurrentSourceFile(Ki),{firstLine:Kt,lastLine:Qr}=na(tr,tn);return Kt===Qr&&tn.pos!==tn.end?vl(Ki,tn,!0):fl(Ki,tn,!0)}function Eh(Ki,tn){let tr=De.getCurrentSourceFile(Ki),Kt=[],{pos:Qr}=tn,{end:fe}=tn;Qr===fe&&(fe+=isInsideJsxElement(tr,Qr)?2:1);for(let ma=Qr;ma<=fe;ma++){let Io=isInComment(tr,ma);if(Io){switch(Io.kind){case 2:Kt.push.apply(Kt,fl(Ki,{end:Io.end,pos:Io.pos+1},!1));break;case 3:Kt.push.apply(Kt,vl(Ki,{end:Io.end,pos:Io.pos+1},!1))}ma=Io.end+1}}return Kt}function Ad(Ki){let{openingElement:tn,closingElement:tr,parent:Kt}=Ki;return!Hm(tn.tagName,tr.tagName)||VB(Kt)&&Hm(tn.tagName,Kt.openingElement.tagName)&&Ad(Kt)}function Yf(Ki){let{closingFragment:tn,parent:tr}=Ki;return!!(tn.flags&131072)||QN(tr)&&Yf(tr)}function Km(Ki,tn,tr){let Kt=De.getCurrentSourceFile(Ki),Qr=ts_formatting_exports.getRangeOfEnclosingComment(Kt,tn);return Qr&&(!tr||Qr.kind===3)?createTextSpanFromRange(Qr):void 0}function im(Ki,tn){Is();let tr=ys(Ki);wn.throwIfCancellationRequested();let Kt=tr.text,Qr=[];if(tn.length>0&&!Sr(tr.fileName)){let ia=ma(),Fa;for(;Fa=ia.exec(Kt);){wn.throwIfCancellationRequested();let Xl=3;Bn.assert(Fa.length===tn.length+Xl);let wc=Fa[1],Ac=Fa.index+wc.length;if(!isInComment(tr,Ac))continue;let du;for(let hh=0;hh<tn.length;hh++)Fa[hh+Xl]&&(du=tn[hh]);if(du===void 0)return Bn.fail();if(Io(Kt.charCodeAt(Ac+du.text.length)))continue;let lp=Fa[2];Qr.push({descriptor:du,message:lp,position:Ac})}}return Qr;function fe(ia){return ia.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g,\"\\\\$&\")}function ma(){let ia=/(?:\\/\\/+\\s*)/.source,Fa=/(?:\\/\\*+\\s*)/.source,Xl=\"(\"+/(?:^(?:\\s|\\*)*)/.source+\"|\"+ia+\"|\"+Fa+\")\",wc=\"(?:\"+is(tn,Th=>\"(\"+fe(Th.text)+\")\").join(\"|\")+\")\",Ac=/(?:$|\\*\\/)/.source,du=/(?:.*?)/.source,lp=\"(\"+wc+du+\")\",hh=Xl+lp+Ac;return new RegExp(hh,\"gim\")}function Io(ia){return ia>=97&&ia<=122||ia>=65&&ia<=90||ia>=48&&ia<=57}function Sr(ia){return xe(ia,\"/node_modules/\")}}function qm(Ki,tn,tr){return Is(),ts_Rename_exports.getRenameInfo(ke,ys(Ki),tn,tr||{})}function $0(Ki,tn,tr,Kt,Qr,fe){let[ma,Io]=typeof tn==\"number\"?[tn,void 0]:[tn.pos,tn.end];return{file:Ki,startPosition:ma,endPosition:Io,program:So(),host:r,formatContext:ts_formatting_exports.getFormatContext(Kt,r),cancellationToken:wn,preferences:tr,triggerReason:Qr,kind:fe}}function Py(Ki,tn,tr){return{file:Ki,program:So(),host:r,span:tn,preferences:tr,cancellationToken:wn}}function Xb(Ki,tn){return ts_SmartSelectionRange_exports.getSmartSelectionRange(tn,De.getCurrentSourceFile(Ki))}function rm(Ki,tn){let tr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:emptyOptions,Kt=arguments.length>3?arguments[3]:void 0,Qr=arguments.length>4?arguments[4]:void 0;Is();let fe=ys(Ki);return ts_refactor_exports.getApplicableRefactors($0(fe,tn,tr,emptyOptions,Kt,Qr))}function sm(Ki,tn,tr,Kt,Qr){let fe=arguments.length>5&&arguments[5]!==void 0?arguments[5]:emptyOptions;Is();let ma=ys(Ki);return ts_refactor_exports.getEditsForRefactor($0(ma,tr,fe,tn),Kt,Qr)}function z0(Ki,tn){return tn===0?{line:0,character:0}:ar.toLineColumnOffset(Ki,tn)}function U0(Ki,tn){Is();let tr=ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(ke,getTouchingPropertyName(ys(Ki),tn));return tr&&mapOneOrMany(tr,Kt=>ts_CallHierarchy_exports.createCallHierarchyItem(ke,Kt))}function Gm(Ki,tn){Is();let tr=ys(Ki),Kt=firstOrOnly(ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(ke,tn===0?tr:getTouchingPropertyName(tr,tn)));return Kt?ts_CallHierarchy_exports.getIncomingCalls(ke,Kt,wn):[]}function Tf(Ki,tn){Is();let tr=ys(Ki),Kt=firstOrOnly(ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(ke,tn===0?tr:getTouchingPropertyName(tr,tn)));return Kt?ts_CallHierarchy_exports.getOutgoingCalls(ke,Kt):[]}function Cl(Ki,tn){let tr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:emptyOptions;Is();let Kt=ys(Ki);return ts_InlayHints_exports.provideInlayHints(Py(Kt,tn,tr))}let k_={dispose:Na,cleanupSemanticCache:po,getSyntacticDiagnostics:wu,getSemanticDiagnostics:Tl,getSuggestionDiagnostics:Wu,getCompilerOptionsDiagnostics:hc,getSyntacticClassifications:jd,getSemanticClassifications:Gf,getEncodedSyntacticClassifications:ap,getEncodedSemanticClassifications:vc,getCompletionsAtPosition:xf,getCompletionEntryDetails:rp,getCompletionEntrySymbol:$m,getSignatureHelpItems:qf,getQuickInfoAtPosition:Zp,getDefinitionAtPosition:Uf,getDefinitionAndBoundSpan:Ap,getImplementationAtPosition:zm,getTypeDefinitionAtPosition:gd,getReferencesAtPosition:jc,findReferences:Kf,getFileReferences:Uc,getOccurrencesAtPosition:tf,getDocumentHighlights:$h,getNameOrDottedNameSpan:lg,getBreakpointStatementAtPosition:Wc,getNavigateToItems:tc,getRenameInfo:qm,getSmartSelectionRange:Xb,findRenameLocations:sp,getNavigationBarItems:op,getNavigationTree:md,getOutliningSpans:V0,getTodoComments:im,getBraceMatchingAtPosition:Um,getIndentationAtPosition:Jf,getFormattingEditsForRange:ug,getFormattingEditsForDocument:H0,getFormattingEditsAfterKeystroke:rl,getDocCommentTemplateAtPosition:ws,isValidBraceCompletionAtPosition:Vs,getJsxClosingTagAtPosition:Hs,getSpanOfEnclosingComment:Km,getCodeFixesAtPosition:Wr,getCombinedCodeFix:fo,applyCodeActionCommand:Vu,organizeImports:la,getEditsForFileRename:Aa,getEmitOutput:xh,getNonBoundSourceFile:Tc,getProgram:So,getCurrentProgram:()=>ke,getAutoImportProvider:Ws,updateIsDefinitionOfReferencedSymbols:_r,getApplicableRefactors:rm,getEditsForRefactor:sm,toLineColumnOffset:z0,getSourceMapper:()=>ar,clearSourceMapperCache:()=>ar.clearCache(),prepareCallHierarchy:U0,provideCallHierarchyIncomingCalls:Gm,provideCallHierarchyOutgoingCalls:Tf,toggleLineComment:fl,toggleMultilineComment:vl,commentSelection:Hl,uncommentSelection:Eh,provideInlayHints:Cl,getSupportedCodeFixes:pie};switch(B){case 0:break;case 1:dj.forEach(Ki=>k_[Ki]=()=>{throw new Error(`LanguageService Operation: ${Ki} not allowed in LanguageServiceMode.PartialSemantic`)});break;case 2:Aie.forEach(Ki=>k_[Ki]=()=>{throw new Error(`LanguageService Operation: ${Ki} not allowed in LanguageServiceMode.Syntactic`)});break;default:Bn.assertNever(B)}return k_}function Mxe(r){return r.nameTable||Rxe(r),r.nameTable}function Rxe(r){let c=r.nameTable=new Map;r.forEachChild(function f(x){if(Ja(x)&&!isTagName(x)&&x.escapedText||R0(x)&&Bxe(x)){let B=mZ(x);c.set(B,c.get(B)===void 0?x.pos:-1)}else if(wf(x)){let B=x.escapedText;c.set(B,c.get(B)===void 0?x.pos:-1)}if(Jd(x,f),P0(x))for(let B of x.jsDoc)Jd(B,f)})}function Bxe(r){return oZ(r)||r.parent.kind===280||Vxe(r)||aZ(r)}function gie(r){let c=jxe(r);return c&&(Jb(c.parent)||$B(c.parent))?c:void 0}function jxe(r){switch(r.kind){case 10:case 14:case 8:if(r.parent.kind===164)return CM(r.parent.parent)?r.parent.parent:void 0;case 79:return CM(r.parent)&&(r.parent.parent.kind===207||r.parent.parent.kind===289)&&r.parent.name===r?r.parent:void 0}}function Wxe(r,c){let f=gie(r);if(f){let x=c.getContextualType(f.parent),B=x&&mie(f,c,x,!1);if(B&&B.length===1)return Cn(B)}return c.getSymbolAtLocation(r)}function mie(r,c,f,x){let B=getNameFromPropertyName(r.name);if(!B)return Ci;if(!f.isUnion()){let ke=f.getProperty(B);return ke?[ke]:Ci}let De=ha(f.types,ke=>(Jb(r.parent)||$B(r.parent))&&c.isTypeInvalidDueToUnionDiscriminant(ke,r.parent)?void 0:ke.getProperty(B));if(x&&(De.length===0||De.length===f.types.length)){let ke=f.getProperty(B);if(ke)return[ke]}return De.length===0?ha(f.types,ke=>ke.getProperty(B)):De}function Vxe(r){return r&&r.parent&&r.parent.kind===209&&r.parent.argumentExpression===r}function Hxe(r){throw new Error(\"getDefaultLibFilePath is only supported when consumed as a node module. \")}var yie,d6,h6,bie,cj,p6,f6,vie,Cie,Die,wie,Sie,xie,Eie,Tie,dj,Aie,$xe=ve({\"src/services/services.ts\"(){hj(),hj(),yie=\"0.8\",d6=class{constructor(r,c,f){this.pos=c,this.end=f,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=r}assertHasRealPosition(r){Bn.assert(!Iy(this.pos)&&!Iy(this.end),r||\"Node must have a real position for this operation\")}getSourceFile(){return Qg(this)}getStart(r,c){return this.assertHasRealPosition(),$C(this,r,c)}getFullStart(){return this.assertHasRealPosition(),this.pos}getEnd(){return this.assertHasRealPosition(),this.end}getWidth(r){return this.assertHasRealPosition(),this.getEnd()-this.getStart(r)}getFullWidth(){return this.assertHasRealPosition(),this.end-this.pos}getLeadingTriviaWidth(r){return this.assertHasRealPosition(),this.getStart(r)-this.pos}getFullText(r){return this.assertHasRealPosition(),(r||this.getSourceFile()).text.substring(this.pos,this.end)}getText(r){return this.assertHasRealPosition(),r||(r=this.getSourceFile()),r.text.substring(this.getStart(r),this.getEnd())}getChildCount(r){return this.getChildren(r).length}getChildAt(r,c){return this.getChildren(c)[r]}getChildren(r){return 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\"),this._children||(this._children=Nxe(this,r))}getFirstToken(r){this.assertHasRealPosition();let c=this.getChildren(r);if(!c.length)return;let f=vn(c,x=>x.kind<312||x.kind>353);return f.kind<163?f:f.getFirstToken(r)}getLastToken(r){this.assertHasRealPosition();let c=this.getChildren(r),f=yi(c);if(f)return f.kind<163?f:f.getLastToken(r)}forEachChild(r,c){return Jd(this,r,c)}},h6=class{constructor(r,c){this.pos=r,this.end=c,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0}getSourceFile(){return Qg(this)}getStart(r,c){return $C(this,r,c)}getFullStart(){return this.pos}getEnd(){return this.end}getWidth(r){return this.getEnd()-this.getStart(r)}getFullWidth(){return this.end-this.pos}getLeadingTriviaWidth(r){return this.getStart(r)-this.pos}getFullText(r){return(r||this.getSourceFile()).text.substring(this.pos,this.end)}getText(r){return r||(r=this.getSourceFile()),r.text.substring(this.getStart(r),this.getEnd())}getChildCount(){return this.getChildren().length}getChildAt(r){return this.getChildren()[r]}getChildren(){return this.kind===1&&this.jsDoc||Ci}getFirstToken(){}getLastToken(){}forEachChild(){}},bie=class{constructor(r,c){this.id=0,this.mergeId=0,this.flags=r,this.escapedName=c}getFlags(){return this.flags}get name(){return $4(this)}getEscapedName(){return this.escapedName}getName(){return this.name}getDeclarations(){return this.declarations}getDocumentationComment(r){if(!this.documentationComment)if(this.documentationComment=Ci,!this.declarations&&xM(this)&&this.links.target&&xM(this.links.target)&&this.links.target.links.tupleLabelDeclaration){let c=this.links.target.links.tupleLabelDeclaration;this.documentationComment=hA([c],r)}else this.documentationComment=hA(this.declarations,r);return this.documentationComment}getContextualDocumentationComment(r,c){if(r){if(ST(r)&&(this.contextualGetAccessorDocumentationComment||(this.contextualGetAccessorDocumentationComment=hA(Mi(this.declarations,ST),c)),Se(this.contextualGetAccessorDocumentationComment)))return this.contextualGetAccessorDocumentationComment;if(wT(r)&&(this.contextualSetAccessorDocumentationComment||(this.contextualSetAccessorDocumentationComment=hA(Mi(this.declarations,wT),c)),Se(this.contextualSetAccessorDocumentationComment)))return this.contextualSetAccessorDocumentationComment}return this.getDocumentationComment(c)}getJsDocTags(r){return this.tags===void 0&&(this.tags=c6(this.declarations,r)),this.tags}getContextualJsDocTags(r,c){if(r){if(ST(r)&&(this.contextualGetAccessorTags||(this.contextualGetAccessorTags=c6(Mi(this.declarations,ST),c)),Se(this.contextualGetAccessorTags)))return this.contextualGetAccessorTags;if(wT(r)&&(this.contextualSetAccessorTags||(this.contextualSetAccessorTags=c6(Mi(this.declarations,wT),c)),Se(this.contextualSetAccessorTags)))return this.contextualSetAccessorTags}return this.getJsDocTags(c)}},cj=class extends h6{constructor(r,c,f){super(c,f),this.kind=r}},p6=class extends h6{constructor(r,c,f){super(c,f),this.kind=79}get text(){return Hh(this)}},p6.prototype.kind=79,f6=class extends h6{constructor(r,c,f){super(c,f),this.kind=80}get text(){return Hh(this)}},f6.prototype.kind=80,vie=class{constructor(r,c){this.checker=r,this.flags=c}getFlags(){return this.flags}getSymbol(){return this.symbol}getProperties(){return this.checker.getPropertiesOfType(this)}getProperty(r){return this.checker.getPropertyOfType(this,r)}getApparentProperties(){return this.checker.getAugmentedPropertiesOfType(this)}getCallSignatures(){return this.checker.getSignaturesOfType(this,0)}getConstructSignatures(){return this.checker.getSignaturesOfType(this,1)}getStringIndexType(){return this.checker.getIndexTypeOfType(this,0)}getNumberIndexType(){return this.checker.getIndexTypeOfType(this,1)}getBaseTypes(){return this.isClassOrInterface()?this.checker.getBaseTypes(this):void 0}isNullableType(){return this.checker.isNullableType(this)}getNonNullableType(){return this.checker.getNonNullableType(this)}getNonOptionalType(){return this.checker.getNonOptionalType(this)}getConstraint(){return this.checker.getBaseConstraintOfType(this)}getDefault(){return this.checker.getDefaultFromTypeParameter(this)}isUnion(){return!!(this.flags&1048576)}isIntersection(){return!!(this.flags&2097152)}isUnionOrIntersection(){return!!(this.flags&3145728)}isLiteral(){return!!(this.flags&2432)}isStringLiteral(){return!!(this.flags&128)}isNumberLiteral(){return!!(this.flags&256)}isTypeParameter(){return!!(this.flags&262144)}isClassOrInterface(){return!!(EN(this)&3)}isClass(){return!!(EN(this)&1)}isIndexType(){return!!(this.flags&4194304)}get typeArguments(){if(EN(this)&4)return this.checker.getTypeArguments(this)}},Cie=class{constructor(r,c){this.checker=r,this.flags=c}getDeclaration(){return this.declaration}getTypeParameters(){return this.typeParameters}getParameters(){return this.parameters}getReturnType(){return this.checker.getReturnTypeOfSignature(this)}getTypeParameterAtPosition(r){let c=this.checker.getParameterType(this,r);if(c.isIndexType()&&Kee(c.type)){let f=c.type.getConstraint();if(f)return this.checker.getIndexType(f)}return c}getDocumentationComment(){return this.documentationComment||(this.documentationComment=hA(Dt(this.declaration),this.checker))}getJsDocTags(){return this.jsDocTags||(this.jsDocTags=c6(Dt(this.declaration),this.checker))}},Die=class extends d6{constructor(r,c,f){super(r,c,f),this.kind=308}update(r,c){return aj(this,r,c)}getLineAndCharacterOfPosition(r){return Bb(this,r)}getLineStarts(){return Dy(this)}getPositionOfLineAndCharacter(r,c,f){return UO(Dy(this),r,c,this.text,f)}getLineEndOfPosition(r){let{line:c}=this.getLineAndCharacterOfPosition(r),f=this.getLineStarts(),x;c+1>=f.length&&(x=this.getEnd()),x||(x=f[c+1]-1);let B=this.getFullText();return B[x]===`\n`&&B[x-1]===\"\\r\"?x-1:x}getNamedDeclarations(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations}computeNamedDeclarations(){let r=ao();return this.forEachChild(B),r;function c(De){let ke=x(De);ke&&r.add(ke,De)}function f(De){let ke=r.get(De);return ke||r.set(De,ke=[]),ke}function x(De){let ke=tM(De);return ke&&(qb(ke)&&Sf(ke.expression)?ke.expression.name.text:DT(ke)?getNameFromPropertyName(ke):void 0)}function B(De){switch(De.kind){case 259:case 215:case 171:case 170:let ke=De,Be=x(ke);if(Be){let st=f(Be),wi=yi(st);wi&&ke.parent===wi.parent&&ke.symbol===wi.symbol?ke.body&&!wi.body&&(st[st.length-1]=ke):st.push(ke)}Jd(De,B);break;case 260:case 228:case 261:case 262:case 263:case 264:case 268:case 278:case 273:case 270:case 271:case 174:case 175:case 184:c(De),Jd(De,B);break;case 166:if(!Tp(De,16476))break;case 257:case 205:{let st=De;if(eN(st.name)){Jd(st.name,B);break}st.initializer&&B(st.initializer)}case 302:case 169:case 168:c(De);break;case 275:let te=De;te.exportClause&&(tne(te.exportClause)?S(te.exportClause.elements,B):B(te.exportClause.name));break;case 269:let wn=De.importClause;wn&&(wn.name&&c(wn.name),wn.namedBindings&&(wn.namedBindings.kind===271?c(wn.namedBindings):S(wn.namedBindings.elements,B)));break;case 223:Ay(De)!==0&&c(De);default:Jd(De,B)}}}},wie=class{constructor(r,c,f){this.fileName=r,this.text=c,this.skipTrivia=f}getLineAndCharacterOfPosition(r){return Bb(this,r)}},Sie=class{constructor(r){this.host=r}getCurrentSourceFile(r){var c,f,x,B,De,ke,Be,te;let wn=this.host.getScriptSnapshot(r);if(!wn)throw new Error(\"Could not find file: '\"+r+\"'.\");let st=getScriptKind(r,this.host),wi=this.host.getScriptVersion(r),an;if(this.currentFileName!==r){let Zn={languageVersion:99,impliedNodeFormat:getImpliedNodeFormatForFile(Bm(r,this.host.getCurrentDirectory(),((x=(f=(c=this.host).getCompilerHost)==null?void 0:f.call(c))==null?void 0:x.getCanonicalFileName)||EZ(this.host)),(te=(Be=(ke=(De=(B=this.host).getCompilerHost)==null?void 0:De.call(B))==null?void 0:ke.getModuleResolutionCache)==null?void 0:Be.call(ke))==null?void 0:te.getPackageJsonInfoCache(),this.host,this.host.getCompilationSettings()),setExternalModuleIndicator:Cee(this.host.getCompilationSettings())};an=uj(r,wn,Zn,wi,!0,st)}else if(this.currentFileVersion!==wi){let Zn=wn.getChangeRange(this.currentFileScriptSnapshot);an=_ie(this.currentSourceFile,wn,wi,Zn)}return an&&(this.currentFileVersion=wi,this.currentFileName=r,this.currentFileScriptSnapshot=wn,this.currentSourceFile=an),this.currentSourceFile}},xie={isCancellationRequested:id,throwIfCancellationRequested:ku},Eie=class{constructor(r){this.cancellationToken=r}isCancellationRequested(){return this.cancellationToken.isCancellationRequested()}throwIfCancellationRequested(){var r;if(this.isCancellationRequested())throw(r=ur)==null||r.instant(ur.Phase.Session,\"cancellationThrown\",{kind:\"CancellationTokenObject\"}),new qo}},Tie=class{constructor(r){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:20;this.hostCancellationToken=r,this.throttleWaitMilliseconds=c,this.lastCancellationCheckTime=0}isCancellationRequested(){let r=ir();return Math.abs(r-this.lastCancellationCheckTime)>=this.throttleWaitMilliseconds?(this.lastCancellationCheckTime=r,this.hostCancellationToken.isCancellationRequested()):!1}throwIfCancellationRequested(){var r;if(this.isCancellationRequested())throw(r=ur)==null||r.instant(ur.Phase.Session,\"cancellationThrown\",{kind:\"ThrottledCancellationToken\"}),new qo}},dj=[\"getSemanticDiagnostics\",\"getSuggestionDiagnostics\",\"getCompilerOptionsDiagnostics\",\"getSemanticClassifications\",\"getEncodedSemanticClassifications\",\"getCodeFixesAtPosition\",\"getCombinedCodeFix\",\"applyCodeActionCommand\",\"organizeImports\",\"getEditsForFileRename\",\"getEmitOutput\",\"getApplicableRefactors\",\"getEditsForRefactor\",\"prepareCallHierarchy\",\"provideCallHierarchyIncomingCalls\",\"provideCallHierarchyOutgoingCalls\",\"provideInlayHints\",\"getSupportedCodeFixes\"],Aie=[...dj,\"getCompletionsAtPosition\",\"getCompletionEntryDetails\",\"getCompletionEntrySymbol\",\"getSignatureHelpItems\",\"getQuickInfoAtPosition\",\"getDefinitionAtPosition\",\"getDefinitionAndBoundSpan\",\"getImplementationAtPosition\",\"getTypeDefinitionAtPosition\",\"getReferencesAtPosition\",\"findReferences\",\"getOccurrencesAtPosition\",\"getDocumentHighlights\",\"getNavigateToItems\",\"getRenameInfo\",\"findRenameLocations\",\"getApplicableRefactors\"],fee(Fxe())}}),hj=ve({\"src/services/_namespaces/ts.ts\"(){Qp(),aie(),$xe()}}),kie={};V(kie,{ANONYMOUS:()=>ANONYMOUS,AccessFlags:()=>Ec,AssertionLevel:()=>hi,AssignmentDeclarationKind:()=>aT,AssignmentKind:()=>ZR,Associativity:()=>tB,BreakpointResolver:()=>ts_BreakpointResolver_exports,BuilderFileEmit:()=>BuilderFileEmit,BuilderProgramKind:()=>BuilderProgramKind,BuilderState:()=>BuilderState,BundleFileSectionKind:()=>FO,CallHierarchy:()=>ts_CallHierarchy_exports,CharacterCodes:()=>EO,CheckFlags:()=>Gp,CheckMode:()=>CheckMode,ClassificationType:()=>ClassificationType,ClassificationTypeNames:()=>ClassificationTypeNames,CommentDirectiveType:()=>js,Comparison:()=>N,CompletionInfoFlags:()=>CompletionInfoFlags,CompletionTriggerKind:()=>CompletionTriggerKind,Completions:()=>ts_Completions_exports,ConfigFileProgramReloadLevel:()=>ConfigFileProgramReloadLevel,ContextFlags:()=>Lu,CoreServicesShimHostAdapter:()=>CoreServicesShimHostAdapter,Debug:()=>Bn,DiagnosticCategory:()=>NC,Diagnostics:()=>ns,DocumentHighlights:()=>DocumentHighlights,ElementFlags:()=>Ep,EmitFlags:()=>N4,EmitHint:()=>LO,EmitOnly:()=>No,EndOfLineState:()=>EndOfLineState,EnumKind:()=>ju,ExitStatus:()=>To,ExportKind:()=>ExportKind,Extension:()=>TO,ExternalEmitHelpers:()=>kO,FileIncludeKind:()=>Ts,FilePreprocessingDiagnosticsKind:()=>Dc,FileSystemEntryKind:()=>FileSystemEntryKind,FileWatcherEventKind:()=>FileWatcherEventKind,FindAllReferences:()=>ts_FindAllReferences_exports,FlattenLevel:()=>FlattenLevel,FlowFlags:()=>_s,ForegroundColorEscapeSequences:()=>ForegroundColorEscapeSequences,FunctionFlags:()=>eB,GeneratedIdentifierFlags:()=>Vn,GetLiteralTextFlags:()=>YR,GoToDefinition:()=>ts_GoToDefinition_exports,HighlightSpanKind:()=>HighlightSpanKind,ImportKind:()=>ImportKind,ImportsNotUsedAsValues:()=>vO,IndentStyle:()=>IndentStyle,IndexKind:()=>qa,InferenceFlags:()=>LC,InferencePriority:()=>Rb,InlayHintKind:()=>InlayHintKind,InlayHints:()=>ts_InlayHints_exports,InternalEmitFlags:()=>AO,InternalSymbolName:()=>Mt,InvalidatedProjectKind:()=>InvalidatedProjectKind,JsDoc:()=>ts_JsDoc_exports,JsTyping:()=>ts_JsTyping_exports,JsxEmit:()=>bO,JsxFlags:()=>Er,JsxReferenceKind:()=>Dh,LanguageServiceMode:()=>LanguageServiceMode,LanguageServiceShimHostAdapter:()=>LanguageServiceShimHostAdapter,LanguageVariant:()=>SO,LexicalEnvironmentFlags:()=>IO,ListFormat:()=>PO,LogLevel:()=>ll,MemberOverrideStatus:()=>Va,ModifierFlags:()=>Gs,ModuleDetectionKind:()=>IC,ModuleInstanceState:()=>ModuleInstanceState,ModuleKind:()=>yO,ModuleResolutionKind:()=>Lw,ModuleSpecifierEnding:()=>fB,NavigateTo:()=>ts_NavigateTo_exports,NavigationBar:()=>ts_NavigationBar_exports,NewLineKind:()=>CO,NodeBuilderFlags:()=>Bo,NodeCheckFlags:()=>Pr,NodeFactoryFlags:()=>gB,NodeFlags:()=>yo,NodeResolutionFeatures:()=>NodeResolutionFeatures,ObjectFlags:()=>Pl,OperationCanceledException:()=>qo,OperatorPrecedence:()=>nB,OrganizeImports:()=>ts_OrganizeImports_exports,OrganizeImportsMode:()=>OrganizeImportsMode,OuterExpressionKinds:()=>NO,OutliningElementsCollector:()=>ts_OutliningElementsCollector_exports,OutliningSpanKind:()=>OutliningSpanKind,OutputFileType:()=>OutputFileType,PackageJsonAutoImportPreference:()=>PackageJsonAutoImportPreference,PackageJsonDependencyGroup:()=>PackageJsonDependencyGroup,PatternMatchKind:()=>PatternMatchKind,PollingInterval:()=>PollingInterval,PollingWatchKind:()=>mO,PragmaKindFlags:()=>OO,PrivateIdentifierKind:()=>PrivateIdentifierKind,ProcessLevel:()=>ProcessLevel,QuotePreference:()=>QuotePreference,RelationComparisonResult:()=>Ne,Rename:()=>ts_Rename_exports,ScriptElementKind:()=>ScriptElementKind,ScriptElementKindModifier:()=>ScriptElementKindModifier,ScriptKind:()=>DO,ScriptSnapshot:()=>ScriptSnapshot,ScriptTarget:()=>wO,SemanticClassificationFormat:()=>SemanticClassificationFormat,SemanticMeaning:()=>SemanticMeaning,SemicolonPreference:()=>SemicolonPreference,SignatureCheckMode:()=>SignatureCheckMode,SignatureFlags:()=>_d,SignatureHelp:()=>ts_SignatureHelp_exports,SignatureKind:()=>Jp,SmartSelectionRange:()=>ts_SmartSelectionRange_exports,SnippetKind:()=>L4,SortKind:()=>pn,StructureIsReused:()=>dc,SymbolAccessibility:()=>cr,SymbolDisplay:()=>ts_SymbolDisplay_exports,SymbolDisplayPartKind:()=>SymbolDisplayPartKind,SymbolFlags:()=>Fl,SymbolFormatFlags:()=>Ua,SyntaxKind:()=>pr,SyntheticSymbolKind:()=>qp,Ternary:()=>kw,ThrottledCancellationToken:()=>Tie,TokenClass:()=>TokenClass,TokenFlags:()=>er,TransformFlags:()=>k4,TypeFacts:()=>TypeFacts,TypeFlags:()=>fa,TypeFormatFlags:()=>il,TypeMapKind:()=>yl,TypePredicateKind:()=>uh,TypeReferenceSerializationKind:()=>Il,TypeScriptServicesFactory:()=>TypeScriptServicesFactory,UnionReduction:()=>ol,UpToDateStatusType:()=>UpToDateStatusType,VarianceFlags:()=>Wl,Version:()=>Version,VersionRange:()=>VersionRange,WatchDirectoryFlags:()=>xO,WatchDirectoryKind:()=>gO,WatchFileKind:()=>FC,WatchLogLevel:()=>WatchLogLevel,WatchType:()=>WatchType,accessPrivateIdentifier:()=>accessPrivateIdentifier,addEmitFlags:()=>addEmitFlags,addEmitHelper:()=>addEmitHelper,addEmitHelpers:()=>addEmitHelpers,addInternalEmitFlags:()=>addInternalEmitFlags,addNodeFactoryPatcher:()=>pDe,addObjectAllocatorPatcher:()=>RCe,addRange:()=>wt,addRelatedInfo:()=>jT,addSyntheticLeadingComment:()=>addSyntheticLeadingComment,addSyntheticTrailingComment:()=>addSyntheticTrailingComment,addToSeen:()=>SCe,advancedAsyncSuperHelper:()=>advancedAsyncSuperHelper,affectsDeclarationPathOptionDeclarations:()=>affectsDeclarationPathOptionDeclarations,affectsEmitOptionDeclarations:()=>affectsEmitOptionDeclarations,allKeysStartWithDot:()=>allKeysStartWithDot,altDirectorySeparator:()=>$O,and:()=>we,append:()=>Ye,appendIfUnique:()=>Et,arrayFrom:()=>Zu,arrayIsEqualTo:()=>nt,arrayIsHomogeneous:()=>z2e,arrayIsSorted:()=>D_,arrayOf:()=>ds,arrayReverseIterator:()=>Je,arrayToMap:()=>ue,arrayToMultiMap:()=>Ei,arrayToNumericMap:()=>Tn,arraysEqual:()=>qr,assertType:()=>Xe,assign:()=>au,assignHelper:()=>assignHelper,asyncDelegator:()=>asyncDelegator,asyncGeneratorHelper:()=>asyncGeneratorHelper,asyncSuperHelper:()=>asyncSuperHelper,asyncValues:()=>asyncValues,attachFileToDiagnostics:()=>zb,awaitHelper:()=>awaitHelper,awaiterHelper:()=>awaiterHelper,base64decode:()=>Kve,base64encode:()=>Uve,binarySearch:()=>Ea,binarySearchKey:()=>Ca,bindSourceFile:()=>bindSourceFile,breakIntoCharacterSpans:()=>breakIntoCharacterSpans,breakIntoWordSpans:()=>breakIntoWordSpans,buildLinkParts:()=>buildLinkParts,buildOpts:()=>buildOpts,buildOverload:()=>buildOverload,bundlerModuleNameResolver:()=>bundlerModuleNameResolver,canBeConvertedToAsync:()=>canBeConvertedToAsync,canHaveDecorators:()=>Nne,canHaveExportModifier:()=>rDe,canHaveFlowNode:()=>fbe,canHaveIllegalDecorators:()=>LSe,canHaveIllegalModifiers:()=>NSe,canHaveIllegalType:()=>kSe,canHaveIllegalTypeParameters:()=>Ane,canHaveJSDoc:()=>pN,canHaveLocals:()=>v0e,canHaveModifiers:()=>mS,canHaveSymbol:()=>b0e,canJsonReportNoInputFiles:()=>canJsonReportNoInputFiles,canProduceDiagnostics:()=>canProduceDiagnostics,canUsePropertyAccess:()=>sDe,canWatchDirectoryOrFile:()=>canWatchDirectoryOrFile,cartesianProduct:()=>hn,cast:()=>Su,chainBundle:()=>chainBundle,chainDiagnosticMessages:()=>VCe,changeAnyExtension:()=>PY,changeCompilerHostLikeToUseCache:()=>changeCompilerHostLikeToUseCache,changeExtension:()=>E2e,changesAffectModuleResolution:()=>W0e,changesAffectingProgramStructure:()=>V0e,childIsDecorated:()=>qM,classElementOrClassElementParameterIsDecorated:()=>Rye,classOrConstructorParameterIsDecorated:()=>Mye,classPrivateFieldGetHelper:()=>classPrivateFieldGetHelper,classPrivateFieldInHelper:()=>classPrivateFieldInHelper,classPrivateFieldSetHelper:()=>classPrivateFieldSetHelper,classicNameResolver:()=>classicNameResolver,classifier:()=>ts_classifier_exports,cleanExtendedConfigCache:()=>cleanExtendedConfigCache,clear:()=>Ks,clearMap:()=>yCe,clearSharedExtendedConfigFileWatcher:()=>clearSharedExtendedConfigFileWatcher,climbPastPropertyAccess:()=>climbPastPropertyAccess,climbPastPropertyOrElementAccess:()=>climbPastPropertyOrElementAccess,clone:()=>Es,cloneCompilerOptions:()=>cloneCompilerOptions,closeFileWatcher:()=>dCe,closeFileWatcherOf:()=>closeFileWatcherOf,codefix:()=>ts_codefix_exports,collapseTextChangeRangesAcrossMultipleVersions:()=>ime,collectExternalModuleInfo:()=>collectExternalModuleInfo,combine:()=>xt,combinePaths:()=>Yp,commentPragmas:()=>I4,commonOptionsWithBuild:()=>commonOptionsWithBuild,commonPackageFolders:()=>sB,compact:()=>Ue,compareBooleans:()=>oe,compareDataObjects:()=>uee,compareDiagnostics:()=>MR,compareDiagnosticsSkipRelatedInformation:()=>TN,compareEmitHelpers:()=>compareEmitHelpers,compareNumberOfDirectorySeparators:()=>x2e,comparePaths:()=>Nge,comparePathsCaseInsensitive:()=>Lge,comparePathsCaseSensitive:()=>kge,comparePatternKeys:()=>comparePatternKeys,compareProperties:()=>Z,compareStringsCaseInsensitive:()=>ee,compareStringsCaseInsensitiveEslintCompatible:()=>R,compareStringsCaseSensitive:()=>Y,compareStringsCaseSensitiveUI:()=>$,compareTextSpans:()=>kC,compareValues:()=>rd,compileOnSaveCommandLineOption:()=>compileOnSaveCommandLineOption,compilerOptionsAffectDeclarationPath:()=>o2e,compilerOptionsAffectEmit:()=>s2e,compilerOptionsAffectSemanticDiagnostics:()=>r2e,compilerOptionsDidYouMeanDiagnostics:()=>compilerOptionsDidYouMeanDiagnostics,compilerOptionsIndicateEsModules:()=>compilerOptionsIndicateEsModules,compose:()=>k0,computeCommonSourceDirectoryOfFilenames:()=>computeCommonSourceDirectoryOfFilenames,computeLineAndCharacterOfPosition:()=>KO,computeLineOfPosition:()=>Pw,computeLineStarts:()=>M4,computePositionOfLineAndCharacter:()=>UO,computeSignature:()=>computeSignature,computeSignatureWithDiagnostics:()=>computeSignatureWithDiagnostics,computeSuggestionDiagnostics:()=>computeSuggestionDiagnostics,concatenate:()=>Wa,concatenateDiagnosticMessageChains:()=>HCe,consumesNodeCoreModules:()=>consumesNodeCoreModules,contains:()=>xi,containsIgnoredPath:()=>$ee,containsObjectRestOrSpread:()=>rj,containsParseError:()=>EM,containsPath:()=>OY,convertCompilerOptionsForTelemetry:()=>convertCompilerOptionsForTelemetry,convertCompilerOptionsFromJson:()=>convertCompilerOptionsFromJson,convertJsonOption:()=>convertJsonOption,convertToBase64:()=>tee,convertToObject:()=>convertToObject,convertToObjectWorker:()=>convertToObjectWorker,convertToOptionsWithAbsolutePaths:()=>convertToOptionsWithAbsolutePaths,convertToRelativePath:()=>Fge,convertToTSConfig:()=>convertToTSConfig,convertTypeAcquisitionFromJson:()=>convertTypeAcquisitionFromJson,copyComments:()=>copyComments,copyEntries:()=>U0e,copyLeadingComments:()=>copyLeadingComments,copyProperties:()=>Mr,copyTrailingAsLeadingComments:()=>copyTrailingAsLeadingComments,copyTrailingComments:()=>copyTrailingComments,couldStartTrivia:()=>Hge,countWhere:()=>Bs,createAbstractBuilder:()=>createAbstractBuilder,createAccessorPropertyBackingField:()=>uxe,createAccessorPropertyGetRedirector:()=>cxe,createAccessorPropertySetRedirector:()=>dxe,createBaseNodeFactory:()=>bte,createBinaryExpressionTrampoline:()=>nxe,createBindingHelper:()=>createBindingHelper,createBuildInfo:()=>createBuildInfo,createBuilderProgram:()=>createBuilderProgram,createBuilderProgramUsingProgramBuildInfo:()=>createBuilderProgramUsingProgramBuildInfo,createBuilderStatusReporter:()=>createBuilderStatusReporter,createCacheWithRedirects:()=>createCacheWithRedirects,createCacheableExportInfoMap:()=>createCacheableExportInfoMap,createCachedDirectoryStructureHost:()=>createCachedDirectoryStructureHost,createClassifier:()=>createClassifier,createCommentDirectivesMap:()=>_1e,createCompilerDiagnostic:()=>MT,createCompilerDiagnosticForInvalidCustomType:()=>createCompilerDiagnosticForInvalidCustomType,createCompilerDiagnosticFromMessageChain:()=>WCe,createCompilerHost:()=>createCompilerHost,createCompilerHostFromProgramHost:()=>createCompilerHostFromProgramHost,createCompilerHostWorker:()=>createCompilerHostWorker,createDetachedDiagnostic:()=>GC,createDiagnosticCollection:()=>Qbe,createDiagnosticForFileFromMessageChain:()=>K1e,createDiagnosticForNode:()=>H1e,createDiagnosticForNodeArray:()=>$1e,createDiagnosticForNodeArrayFromMessageChain:()=>U1e,createDiagnosticForNodeFromMessageChain:()=>z1e,createDiagnosticForNodeInSourceFile:()=>xQ,createDiagnosticForRange:()=>G1e,createDiagnosticMessageChainFromDiagnostic:()=>q1e,createDiagnosticReporter:()=>createDiagnosticReporter,createDocumentPositionMapper:()=>createDocumentPositionMapper,createDocumentRegistry:()=>createDocumentRegistry,createDocumentRegistryInternal:()=>createDocumentRegistryInternal,createEmitAndSemanticDiagnosticsBuilderProgram:()=>createEmitAndSemanticDiagnosticsBuilderProgram,createEmitHelperFactory:()=>createEmitHelperFactory,createEmptyExports:()=>iSe,createExpressionForJsxElement:()=>sSe,createExpressionForJsxFragment:()=>oSe,createExpressionForObjectLiteralElementLike:()=>pSe,createExpressionForPropertyName:()=>gne,createExpressionFromEntityName:()=>_ne,createExternalHelpersImportDeclarationIfNeeded:()=>DSe,createFileDiagnostic:()=>OR,createFileDiagnosticFromMessageChain:()=>FM,createForOfBindingStatement:()=>aSe,createGetCanonicalFileName:()=>at,createGetSourceFile:()=>createGetSourceFile,createGetSymbolAccessibilityDiagnosticForNode:()=>createGetSymbolAccessibilityDiagnosticForNode,createGetSymbolAccessibilityDiagnosticForNodeName:()=>createGetSymbolAccessibilityDiagnosticForNodeName,createGetSymbolWalker:()=>createGetSymbolWalker,createIncrementalCompilerHost:()=>createIncrementalCompilerHost,createIncrementalProgram:()=>createIncrementalProgram,createInputFiles:()=>CDe,createInputFilesWithFilePaths:()=>wte,createInputFilesWithFileTexts:()=>Ste,createJsxFactoryExpression:()=>fne,createLanguageService:()=>Oxe,createLanguageServiceSourceFile:()=>uj,createMemberAccessForPropertyName:()=>n6,createModeAwareCache:()=>createModeAwareCache,createModeAwareCacheKey:()=>createModeAwareCacheKey,createModuleResolutionCache:()=>createModuleResolutionCache,createModuleResolutionLoader:()=>createModuleResolutionLoader,createModuleSpecifierResolutionHost:()=>createModuleSpecifierResolutionHost,createMultiMap:()=>ao,createNodeConverters:()=>vte,createNodeFactory:()=>jN,createOptionNameMap:()=>createOptionNameMap,createOverload:()=>createOverload,createPackageJsonImportFilter:()=>createPackageJsonImportFilter,createPackageJsonInfo:()=>createPackageJsonInfo,createParenthesizerRules:()=>createParenthesizerRules,createPatternMatcher:()=>createPatternMatcher,createPrependNodes:()=>createPrependNodes,createPrinter:()=>createPrinter,createPrinterWithDefaults:()=>createPrinterWithDefaults,createPrinterWithRemoveComments:()=>createPrinterWithRemoveComments,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>createPrinterWithRemoveCommentsNeverAsciiEscape,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>createPrinterWithRemoveCommentsOmitTrailingSemicolon,createProgram:()=>createProgram,createProgramHost:()=>createProgramHost,createPropertyNameNodeForIdentifierOrLiteral:()=>tDe,createQueue:()=>td,createRange:()=>SN,createRedirectedBuilderProgram:()=>createRedirectedBuilderProgram,createResolutionCache:()=>createResolutionCache,createRuntimeTypeSerializer:()=>createRuntimeTypeSerializer,createScanner:()=>WC,createSemanticDiagnosticsBuilderProgram:()=>createSemanticDiagnosticsBuilderProgram,createSet:()=>Bc,createSolutionBuilder:()=>createSolutionBuilder,createSolutionBuilderHost:()=>createSolutionBuilderHost,createSolutionBuilderWithWatch:()=>createSolutionBuilderWithWatch,createSolutionBuilderWithWatchHost:()=>createSolutionBuilderWithWatchHost,createSortedArray:()=>Om,createSourceFile:()=>Gne,createSourceMapGenerator:()=>createSourceMapGenerator,createSourceMapSource:()=>DDe,createSuperAccessVariableStatement:()=>createSuperAccessVariableStatement,createSymbolTable:()=>B0e,createSymlinkCache:()=>d2e,createSystemWatchFunctions:()=>createSystemWatchFunctions,createTextChange:()=>createTextChange,createTextChangeFromStartLength:()=>createTextChangeFromStartLength,createTextChangeRange:()=>W4,createTextRangeFromNode:()=>createTextRangeFromNode,createTextRangeFromSpan:()=>createTextRangeFromSpan,createTextSpan:()=>jw,createTextSpanFromBounds:()=>I0,createTextSpanFromNode:()=>createTextSpanFromNode,createTextSpanFromRange:()=>createTextSpanFromRange,createTextSpanFromStringLiteralLikeContent:()=>createTextSpanFromStringLiteralLikeContent,createTextWriter:()=>ove,createTokenRange:()=>Xve,createTypeChecker:()=>createTypeChecker,createTypeReferenceDirectiveResolutionCache:()=>createTypeReferenceDirectiveResolutionCache,createTypeReferenceResolutionLoader:()=>createTypeReferenceResolutionLoader,createUnderscoreEscapedMultiMap:()=>Ro,createUnparsedSourceFile:()=>yDe,createWatchCompilerHost:()=>createWatchCompilerHost2,createWatchCompilerHostOfConfigFile:()=>createWatchCompilerHostOfConfigFile,createWatchCompilerHostOfFilesAndCompilerOptions:()=>createWatchCompilerHostOfFilesAndCompilerOptions,createWatchFactory:()=>createWatchFactory,createWatchHost:()=>createWatchHost,createWatchProgram:()=>createWatchProgram,createWatchStatusReporter:()=>createWatchStatusReporter,createWriteFileMeasuringIO:()=>createWriteFileMeasuringIO,declarationNameToString:()=>SQ,decodeMappings:()=>decodeMappings,decodedTextSpanIntersectsWith:()=>ZO,decorateHelper:()=>decorateHelper,deduplicate:()=>Qu,defaultIncludeSpec:()=>defaultIncludeSpec,defaultInitCompilerOptions:()=>defaultInitCompilerOptions,defaultMaximumTruncationLength:()=>Zee,detectSortCaseSensitivity:()=>K,diagnosticCategoryName:()=>pi,diagnosticToString:()=>diagnosticToString,directoryProbablyExists:()=>iee,directorySeparator:()=>w_,displayPart:()=>displayPart,displayPartsToString:()=>Pxe,disposeEmitNodes:()=>disposeEmitNodes,documentSpansEqual:()=>documentSpansEqual,dumpTracingLegend:()=>dumpTracingLegend,elementAt:()=>ui,elideNodes:()=>sxe,emitComments:()=>jZ,emitDetachedComments:()=>Sve,emitFiles:()=>emitFiles,emitFilesAndReportErrors:()=>emitFilesAndReportErrors,emitFilesAndReportErrorsAndGetExitStatus:()=>emitFilesAndReportErrorsAndGetExitStatus,emitModuleKindIsNonNodeESM:()=>KCe,emitNewLineBeforeLeadingCommentOfPosition:()=>wve,emitNewLineBeforeLeadingComments:()=>RZ,emitNewLineBeforeLeadingCommentsOfPosition:()=>BZ,emitSkippedWithNoDiagnostics:()=>emitSkippedWithNoDiagnostics,emitUsingBuildInfo:()=>emitUsingBuildInfo,emptyArray:()=>Ci,emptyFileSystemEntries:()=>yte,emptyMap:()=>ki,emptyOptions:()=>emptyOptions,emptySet:()=>Cr,endsWith:()=>ge,ensurePathIsNonModuleName:()=>jO,ensureScriptKind:()=>kee,ensureTrailingDirectorySeparator:()=>RC,entityNameToString:()=>Ey,enumerateInsertsAndDeletes:()=>Xt,equalOwnProperties:()=>Du,equateStringsCaseInsensitive:()=>L0,equateStringsCaseSensitive:()=>my,equateValues:()=>qg,esDecorateHelper:()=>esDecorateHelper,escapeJsxAttributeString:()=>SZ,escapeLeadingUnderscores:()=>Jg,escapeNonAsciiString:()=>bN,escapeSnippetText:()=>eDe,escapeString:()=>yN,every:()=>yn,expandPreOrPostfixIncrementOrDecrementExpression:()=>fSe,explainFiles:()=>explainFiles,explainIfFileIsRedirectAndImpliedFormat:()=>explainIfFileIsRedirectAndImpliedFormat,exportAssignmentIsAlias:()=>lR,exportStarHelper:()=>exportStarHelper,expressionResultIsUnused:()=>G2e,extend:()=>Ai,extendsHelper:()=>extendsHelper,extensionFromPath:()=>k2e,extensionIsTS:()=>Bee,externalHelpersModuleNameText:()=>ON,factory:()=>ag,fileExtensionIs:()=>yy,fileExtensionIsOneOf:()=>N0,fileIncludeReasonToDiagnostics:()=>fileIncludeReasonToDiagnostics,filter:()=>Mi,filterMutate:()=>ms,filterSemanticDiagnostics:()=>filterSemanticDiagnostics,find:()=>vn,findAncestor:()=>jm,findBestPatternMatch:()=>Ve,findChildOfKind:()=>findChildOfKind,findComputedPropertyNameCacheAssignment:()=>hxe,findConfigFile:()=>findConfigFile,findContainingList:()=>findContainingList,findDiagnosticForNode:()=>findDiagnosticForNode,findFirstNonJsxWhitespaceToken:()=>findFirstNonJsxWhitespaceToken,findIndex:()=>In,findLast:()=>Ut,findLastIndex:()=>Vi,findListItemInfo:()=>findListItemInfo,findMap:()=>ct,findModifier:()=>findModifier,findNextToken:()=>findNextToken,findPackageJson:()=>findPackageJson,findPackageJsons:()=>findPackageJsons,findPrecedingMatchingToken:()=>findPrecedingMatchingToken,findPrecedingToken:()=>findPrecedingToken,findSuperStatementIndex:()=>findSuperStatementIndex,findTokenOnLeftOfPosition:()=>findTokenOnLeftOfPosition,findUseStrictPrologue:()=>yne,first:()=>Cn,firstDefined:()=>dt,firstDefinedIterator:()=>_n,firstIterator:()=>Bt,firstOrOnly:()=>firstOrOnly,firstOrUndefined:()=>Tt,firstOrUndefinedIterator:()=>xn,fixupCompilerOptions:()=>fixupCompilerOptions,flatMap:()=>ji,flatMapIterator:()=>ss,flatMapToMutable:()=>jr,flatten:()=>Lo,flattenCommaList:()=>fxe,flattenDestructuringAssignment:()=>flattenDestructuringAssignment,flattenDestructuringBinding:()=>flattenDestructuringBinding,flattenDiagnosticMessageText:()=>flattenDiagnosticMessageText,forEach:()=>S,forEachAncestor:()=>H0e,forEachAncestorDirectory:()=>RY,forEachChild:()=>Jd,forEachChildRecursively:()=>oj,forEachEmittedFile:()=>forEachEmittedFile,forEachEnclosingBlockScopeContainer:()=>B1e,forEachEntry:()=>$0e,forEachExternalModuleToImportFrom:()=>forEachExternalModuleToImportFrom,forEachImportClauseDeclaration:()=>ube,forEachKey:()=>z0e,forEachLeadingCommentRange:()=>$ge,forEachNameInAccessChainWalkingLeft:()=>kCe,forEachResolvedProjectReference:()=>forEachResolvedProjectReference,forEachReturnStatement:()=>sye,forEachRight:()=>Re,forEachTrailingCommentRange:()=>zge,forEachUnique:()=>forEachUnique,forEachYieldExpression:()=>oye,forSomeAncestorDirectory:()=>CCe,formatColorAndReset:()=>formatColorAndReset,formatDiagnostic:()=>formatDiagnostic,formatDiagnostics:()=>formatDiagnostics,formatDiagnosticsWithColorAndContext:()=>formatDiagnosticsWithColorAndContext,formatGeneratedName:()=>o6,formatGeneratedNamePart:()=>ij,formatLocation:()=>formatLocation,formatMessage:()=>jCe,formatStringFromArgs:()=>eS,formatting:()=>ts_formatting_exports,fullTripleSlashAMDReferencePathRegEx:()=>QR,fullTripleSlashReferencePathRegEx:()=>XR,generateDjb2Hash:()=>generateDjb2Hash,generateTSConfig:()=>generateTSConfig,generatorHelper:()=>generatorHelper,getAdjustedReferenceLocation:()=>getAdjustedReferenceLocation,getAdjustedRenameLocation:()=>getAdjustedRenameLocation,getAliasDeclarationFromName:()=>lZ,getAllAccessorDeclarations:()=>CR,getAllDecoratorsOfClass:()=>getAllDecoratorsOfClass,getAllDecoratorsOfClassElement:()=>getAllDecoratorsOfClassElement,getAllJSDocTags:()=>NX,getAllJSDocTagsOfKind:()=>bme,getAllKeys:()=>cs,getAllProjectOutputs:()=>getAllProjectOutputs,getAllSuperTypeNodes:()=>pZ,getAllUnscopedEmitHelpers:()=>getAllUnscopedEmitHelpers,getAllowJSCompilerOption:()=>See,getAllowSyntheticDefaultImports:()=>QCe,getAncestor:()=>Nbe,getAnyExtensionFromPath:()=>P4,getAreDeclarationMapsEnabled:()=>XCe,getAssignedExpandoInitializer:()=>Xye,getAssignedName:()=>_X,getAssignmentDeclarationKind:()=>Ay,getAssignmentDeclarationPropertyAccessKind:()=>KQ,getAssignmentTargetKind:()=>rZ,getAutomaticTypeDirectiveNames:()=>getAutomaticTypeDirectiveNames,getBaseFileName:()=>uT,getBinaryOperatorPrecedence:()=>IT,getBuildInfo:()=>getBuildInfo,getBuildInfoFileVersionMap:()=>getBuildInfoFileVersionMap,getBuildInfoText:()=>getBuildInfoText,getBuildOrderFromAnyBuildOrder:()=>getBuildOrderFromAnyBuildOrder,getBuilderCreationParameters:()=>getBuilderCreationParameters,getBuilderFileEmit:()=>getBuilderFileEmit,getCheckFlags:()=>lee,getClassExtendsHeritageElement:()=>dZ,getClassLikeDeclarationOfSymbol:()=>dee,getCombinedLocalAndExportSymbolFlags:()=>fCe,getCombinedModifierFlags:()=>V4,getCombinedNodeFlags:()=>H4,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>sme,getCommentRange:()=>getCommentRange,getCommonSourceDirectory:()=>getCommonSourceDirectory,getCommonSourceDirectoryOfConfig:()=>getCommonSourceDirectoryOfConfig,getCompilerOptionValue:()=>HR,getCompilerOptionsDiffValue:()=>getCompilerOptionsDiffValue,getConditions:()=>getConditions,getConfigFileParsingDiagnostics:()=>getConfigFileParsingDiagnostics,getConstantValue:()=>getConstantValue,getContainerNode:()=>getContainerNode,getContainingClass:()=>Dye,getContainingClassStaticBlock:()=>wye,getContainingFunction:()=>vye,getContainingFunctionDeclaration:()=>Cye,getContainingFunctionOrClassStaticBlock:()=>Sye,getContainingNodeArray:()=>J2e,getContainingObjectLiteralElement:()=>gie,getContextualTypeFromParent:()=>getContextualTypeFromParent,getContextualTypeFromParentOrAncestorTypeNode:()=>getContextualTypeFromParentOrAncestorTypeNode,getCurrentTime:()=>getCurrentTime,getDeclarationDiagnostics:()=>getDeclarationDiagnostics,getDeclarationEmitExtensionForPath:()=>LZ,getDeclarationEmitOutputFilePath:()=>cve,getDeclarationEmitOutputFilePathWorker:()=>kZ,getDeclarationFromName:()=>Tbe,getDeclarationModifierFlagsFromSymbol:()=>hCe,getDeclarationOfKind:()=>M0e,getDeclarationsOfKind:()=>R0e,getDeclaredExpandoInitializer:()=>Jye,getDecorators:()=>ame,getDefaultCompilerOptions:()=>hie,getDefaultExportInfoWorker:()=>getDefaultExportInfoWorker,getDefaultFormatCodeSettings:()=>getDefaultFormatCodeSettings,getDefaultLibFileName:()=>Jge,getDefaultLibFilePath:()=>Hxe,getDefaultLikeExportInfo:()=>getDefaultLikeExportInfo,getDiagnosticText:()=>getDiagnosticText,getDiagnosticsWithinSpan:()=>getDiagnosticsWithinSpan,getDirectoryPath:()=>by,getDocumentPositionMapper:()=>getDocumentPositionMapper,getESModuleInterop:()=>BR,getEditsForFileRename:()=>getEditsForFileRename,getEffectiveBaseTypeNode:()=>cZ,getEffectiveConstraintOfTypeParameter:()=>wme,getEffectiveContainerForJSDocTemplateTag:()=>gbe,getEffectiveImplementsTypeNodes:()=>hZ,getEffectiveInitializer:()=>HQ,getEffectiveJSDocHost:()=>rR,getEffectiveModifierFlags:()=>DN,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>KZ,getEffectiveModifierFlagsNoCache:()=>GZ,getEffectiveReturnTypeNode:()=>vve,getEffectiveSetAccessorTypeAnnotationNode:()=>Dve,getEffectiveTypeAnnotationNode:()=>DR,getEffectiveTypeParameterDeclarations:()=>Dme,getEffectiveTypeRoots:()=>getEffectiveTypeRoots,getElementOrPropertyAccessArgumentExpressionOrName:()=>hN,getElementOrPropertyAccessName:()=>Hb,getElementsOfBindingOrAssignmentPattern:()=>Tne,getEmitDeclarations:()=>WR,getEmitFlags:()=>Zg,getEmitHelpers:()=>getEmitHelpers,getEmitModuleDetectionKind:()=>Dee,getEmitModuleKind:()=>em,getEmitModuleResolutionKind:()=>RT,getEmitScriptTarget:()=>AN,getEnclosingBlockScopeContainer:()=>LM,getEncodedSemanticClassifications:()=>getEncodedSemanticClassifications,getEncodedSyntacticClassifications:()=>getEncodedSyntacticClassifications,getEndLinePosition:()=>dQ,getEntityNameFromTypeNode:()=>Pye,getEntrypointsFromPackageJsonInfo:()=>getEntrypointsFromPackageJsonInfo,getErrorCountForSummary:()=>getErrorCountForSummary,getErrorSpanForNode:()=>OM,getErrorSummaryText:()=>getErrorSummaryText,getEscapedTextOfIdentifierOrLiteral:()=>mZ,getExpandoInitializer:()=>Kw,getExportAssignmentExpression:()=>uZ,getExportInfoMap:()=>getExportInfoMap,getExportNeedsImportStarHelper:()=>getExportNeedsImportStarHelper,getExpressionAssociativity:()=>Jbe,getExpressionPrecedence:()=>Ybe,getExternalHelpersModuleName:()=>Cne,getExternalModuleImportEqualsDeclarationExpression:()=>jye,getExternalModuleName:()=>tR,getExternalModuleNameFromDeclaration:()=>lve,getExternalModuleNameFromPath:()=>gR,getExternalModuleNameLiteral:()=>SSe,getExternalModuleRequireArgument:()=>Wye,getFallbackOptions:()=>getFallbackOptions,getFileEmitOutput:()=>getFileEmitOutput,getFileMatcherPatterns:()=>Aee,getFileNamesFromConfigSpecs:()=>getFileNamesFromConfigSpecs,getFileWatcherEventKind:()=>getFileWatcherEventKind,getFilesInErrorForSummary:()=>getFilesInErrorForSummary,getFirstConstructorWithBody:()=>FZ,getFirstIdentifier:()=>Ove,getFirstNonSpaceCharacterPosition:()=>getFirstNonSpaceCharacterPosition,getFirstProjectOutput:()=>getFirstProjectOutput,getFixableErrorSpanExpression:()=>getFixableErrorSpanExpression,getFormatCodeSettingsForWriting:()=>getFormatCodeSettingsForWriting,getFullWidth:()=>nN,getFunctionFlags:()=>Rbe,getHeritageClause:()=>fN,getHostSignatureFromJSDoc:()=>iR,getIdentifierAutoGenerate:()=>getIdentifierAutoGenerate,getIdentifierGeneratedImportReference:()=>getIdentifierGeneratedImportReference,getIdentifierTypeArguments:()=>getIdentifierTypeArguments,getImmediatelyInvokedFunctionExpression:()=>kye,getImpliedNodeFormatForFile:()=>getImpliedNodeFormatForFile,getImpliedNodeFormatForFileWorker:()=>getImpliedNodeFormatForFileWorker,getImportNeedsImportDefaultHelper:()=>getImportNeedsImportDefaultHelper,getImportNeedsImportStarHelper:()=>getImportNeedsImportStarHelper,getIndentSize:()=>UC,getIndentString:()=>fR,getInitializedVariables:()=>uCe,getInitializerOfBinaryExpression:()=>qQ,getInitializerOfBindingOrAssignmentElement:()=>Sne,getInterfaceBaseTypeNodes:()=>fZ,getInternalEmitFlags:()=>v1e,getInvokedExpression:()=>Oye,getIsolatedModules:()=>kN,getJSDocAugmentsTag:()=>CX,getJSDocClassTag:()=>ume,getJSDocCommentRanges:()=>AQ,getJSDocCommentsAndTags:()=>ZQ,getJSDocDeprecatedTag:()=>fme,getJSDocDeprecatedTagNoCache:()=>AX,getJSDocEnumTag:()=>_me,getJSDocHost:()=>iZ,getJSDocImplementsTags:()=>DX,getJSDocOverrideTagNoCache:()=>TX,getJSDocParameterTags:()=>q4,getJSDocParameterTagsNoCache:()=>mX,getJSDocPrivateTag:()=>dme,getJSDocPrivateTagNoCache:()=>SX,getJSDocProtectedTag:()=>hme,getJSDocProtectedTagNoCache:()=>xX,getJSDocPublicTag:()=>cme,getJSDocPublicTagNoCache:()=>wX,getJSDocReadonlyTag:()=>pme,getJSDocReadonlyTagNoCache:()=>EX,getJSDocReturnTag:()=>kX,getJSDocReturnType:()=>LX,getJSDocRoot:()=>sR,getJSDocSatisfiesExpressionType:()=>uDe,getJSDocSatisfiesTag:()=>nM,getJSDocTags:()=>bT,getJSDocTagsNoCache:()=>yme,getJSDocTemplateTag:()=>mme,getJSDocThisTag:()=>gme,getJSDocType:()=>J4,getJSDocTypeAliasName:()=>nj,getJSDocTypeAssertionType:()=>ySe,getJSDocTypeParameterDeclarations:()=>MZ,getJSDocTypeParameterTags:()=>bX,getJSDocTypeParameterTagsNoCache:()=>vX,getJSDocTypeTag:()=>G4,getJSXImplicitImportBase:()=>l2e,getJSXRuntimeImport:()=>u2e,getJSXTransformEnabled:()=>a2e,getKeyForCompilerOptions:()=>getKeyForCompilerOptions,getLanguageVariant:()=>RR,getLastChild:()=>hee,getLeadingCommentRanges:()=>jC,getLeadingCommentRangesOfNode:()=>iye,getLeftmostAccessExpression:()=>FR,getLeftmostExpression:()=>LCe,getLineAndCharacterOfPosition:()=>Bb,getLineInfo:()=>getLineInfo,getLineOfLocalPosition:()=>gve,getLineOfLocalPositionFromLineMap:()=>Ly,getLineStartPositionForPosition:()=>getLineStartPositionForPosition,getLineStarts:()=>Dy,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>oCe,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>sCe,getLinesBetweenPositions:()=>Ow,getLinesBetweenRangeEndAndRangeStart:()=>nCe,getLinesBetweenRangeEndPositions:()=>iCe,getLiteralText:()=>C1e,getLocalNameForExternalImport:()=>wSe,getLocalSymbolForExportDefault:()=>Wve,getLocaleSpecificMessage:()=>tS,getLocaleTimeString:()=>getLocaleTimeString,getMappedContextSpan:()=>getMappedContextSpan,getMappedDocumentSpan:()=>getMappedDocumentSpan,getMappedLocation:()=>getMappedLocation,getMatchedFileSpec:()=>getMatchedFileSpec,getMatchedIncludeSpec:()=>getMatchedIncludeSpec,getMeaningFromDeclaration:()=>getMeaningFromDeclaration,getMeaningFromLocation:()=>getMeaningFromLocation,getMembersOfDeclaration:()=>lye,getModeForFileReference:()=>getModeForFileReference,getModeForResolutionAtIndex:()=>getModeForResolutionAtIndex,getModeForUsageLocation:()=>getModeForUsageLocation,getModifiedTime:()=>getModifiedTime,getModifiers:()=>K4,getModuleInstanceState:()=>getModuleInstanceState,getModuleNameStringLiteralAt:()=>getModuleNameStringLiteralAt,getModuleSpecifierEndingPreference:()=>D2e,getModuleSpecifierResolverHost:()=>getModuleSpecifierResolverHost,getNameForExportedSymbol:()=>getNameForExportedSymbol,getNameFromIndexInfo:()=>j1e,getNameFromPropertyName:()=>getNameFromPropertyName,getNameOfAccessExpression:()=>ECe,getNameOfCompilerOptionValue:()=>getNameOfCompilerOptionValue,getNameOfDeclaration:()=>yT,getNameOfExpando:()=>ebe,getNameOfJSDocTypedef:()=>fX,getNameOrArgument:()=>UQ,getNameTable:()=>Mxe,getNamesForExportedSymbol:()=>getNamesForExportedSymbol,getNamespaceDeclarationNode:()=>JQ,getNewLineCharacter:()=>ree,getNewLineKind:()=>getNewLineKind,getNewLineOrDefaultFromHost:()=>getNewLineOrDefaultFromHost,getNewTargetContainer:()=>Tye,getNextJSDocCommentLocation:()=>nZ,getNodeForGeneratedName:()=>oxe,getNodeId:()=>getNodeId,getNodeKind:()=>getNodeKind,getNodeModifiers:()=>getNodeModifiers,getNodeModulePathParts:()=>nDe,getNonAssignedNameOfDeclaration:()=>tM,getNonAssignmentOperatorForCompoundAssignment:()=>getNonAssignmentOperatorForCompoundAssignment,getNonAugmentationDeclaration:()=>CQ,getNonDecoratorTokenPosOfNode:()=>g1e,getNormalizedAbsolutePath:()=>Cy,getNormalizedAbsolutePathWithoutRoot:()=>Age,getNormalizedPathComponents:()=>O4,getObjectFlags:()=>EN,getOperator:()=>pR,getOperatorAssociativity:()=>vZ,getOperatorPrecedence:()=>CZ,getOptionFromName:()=>getOptionFromName,getOptionsNameMap:()=>getOptionsNameMap,getOrCreateEmitNode:()=>getOrCreateEmitNode,getOrCreateExternalHelpersModuleNameIfNeeded:()=>Dne,getOrUpdate:()=>Xu,getOriginalNode:()=>fT,getOriginalNodeId:()=>getOriginalNodeId,getOriginalSourceFile:()=>Gbe,getOutputDeclarationFileName:()=>getOutputDeclarationFileName,getOutputExtension:()=>getOutputExtension,getOutputFileNames:()=>getOutputFileNames,getOutputPathsFor:()=>getOutputPathsFor,getOutputPathsForBundle:()=>getOutputPathsForBundle,getOwnEmitOutputFilePath:()=>uve,getOwnKeys:()=>qs,getOwnValues:()=>Xs,getPackageJsonInfo:()=>getPackageJsonInfo,getPackageJsonTypesVersionsPaths:()=>getPackageJsonTypesVersionsPaths,getPackageJsonsVisibleToFile:()=>getPackageJsonsVisibleToFile,getPackageNameFromTypesPackageName:()=>getPackageNameFromTypesPackageName,getPackageScopeForPath:()=>getPackageScopeForPath,getParameterSymbolFromJSDoc:()=>_be,getParameterTypeNode:()=>iDe,getParentNodeInSpan:()=>getParentNodeInSpan,getParseTreeNode:()=>gT,getParsedCommandLineOfConfigFile:()=>getParsedCommandLineOfConfigFile,getPathComponents:()=>Rm,getPathComponentsRelativeTo:()=>VO,getPathFromPathComponents:()=>OC,getPathUpdater:()=>getPathUpdater,getPathsBasePath:()=>hve,getPatternFromSpec:()=>m2e,getPendingEmitKind:()=>getPendingEmitKind,getPositionOfLineAndCharacter:()=>Wge,getPossibleGenericSignatures:()=>getPossibleGenericSignatures,getPossibleOriginalInputExtensionForExtension:()=>dve,getPossibleTypeArgumentsInfo:()=>getPossibleTypeArgumentsInfo,getPreEmitDiagnostics:()=>getPreEmitDiagnostics,getPrecedingNonSpaceCharacterPosition:()=>getPrecedingNonSpaceCharacterPosition,getPrivateIdentifier:()=>getPrivateIdentifier,getProperties:()=>getProperties,getProperty:()=>Oa,getPropertyArrayElementValue:()=>yye,getPropertyAssignment:()=>zM,getPropertyAssignmentAliasLikeExpression:()=>Lbe,getPropertyNameForPropertyNameNode:()=>_N,getPropertyNameForUniqueESSymbol:()=>jbe,getPropertyNameOfBindingOrAssignmentElement:()=>ASe,getPropertySymbolFromBindingElement:()=>getPropertySymbolFromBindingElement,getPropertySymbolsFromContextualType:()=>mie,getQuoteFromPreference:()=>getQuoteFromPreference,getQuotePreference:()=>getQuotePreference,getRangesWhere:()=>xa,getRefactorContextSpan:()=>getRefactorContextSpan,getReferencedFileLocation:()=>getReferencedFileLocation,getRegexFromPattern:()=>NN,getRegularExpressionForWildcard:()=>LN,getRegularExpressionsForWildcards:()=>$R,getRelativePathFromDirectory:()=>MY,getRelativePathFromFile:()=>Pge,getRelativePathToDirectoryOrUrl:()=>HO,getRenameLocation:()=>getRenameLocation,getReplacementSpanForContextToken:()=>getReplacementSpanForContextToken,getResolutionDiagnostic:()=>getResolutionDiagnostic,getResolutionModeOverrideForClause:()=>getResolutionModeOverrideForClause,getResolveJsonModule:()=>wee,getResolvePackageJsonExports:()=>ZCe,getResolvePackageJsonImports:()=>e2e,getResolvedExternalModuleName:()=>TZ,getResolvedModule:()=>q0e,getResolvedTypeReferenceDirective:()=>Y0e,getRestIndicatorOfBindingOrAssignmentElement:()=>TSe,getRestParameterElementType:()=>aye,getRightMostAssignedExpression:()=>XM,getRootDeclaration:()=>mN,getRootLength:()=>Mm,getScriptKind:()=>getScriptKind,getScriptKindFromFileName:()=>Lee,getScriptTargetFeatures:()=>getScriptTargetFeatures,getSelectedEffectiveModifierFlags:()=>zZ,getSelectedSyntacticModifierFlags:()=>UZ,getSemanticClassifications:()=>getSemanticClassifications,getSemanticJsxChildren:()=>Xbe,getSetAccessorTypeAnnotationNode:()=>mve,getSetAccessorValueParameter:()=>vR,getSetExternalModuleIndicator:()=>Cee,getShebang:()=>UY,getSingleInitializerOfVariableStatementOrPropertyDeclaration:()=>nR,getSingleVariableOfVariableStatement:()=>LT,getSnapshotText:()=>getSnapshotText,getSnippetElement:()=>getSnippetElement,getSourceFileOfModule:()=>r1e,getSourceFileOfNode:()=>Qg,getSourceFilePathInNewDir:()=>NZ,getSourceFilePathInNewDirWorker:()=>bR,getSourceFileVersionAsHashFromText:()=>getSourceFileVersionAsHashFromText,getSourceFilesToEmit:()=>pve,getSourceMapRange:()=>getSourceMapRange,getSourceMapper:()=>getSourceMapper,getSourceTextOfNodeFromSourceFile:()=>zC,getSpanOfTokenAtPosition:()=>PM,getSpellingSuggestion:()=>ye,getStartPositionOfLine:()=>a1e,getStartPositionOfRange:()=>Zw,getStartsOnNewLine:()=>getStartsOnNewLine,getStaticPropertiesAndClassStaticBlock:()=>getStaticPropertiesAndClassStaticBlock,getStrictOptionValue:()=>VR,getStringComparer:()=>G,getSuperCallFromStatement:()=>getSuperCallFromStatement,getSuperContainer:()=>Aye,getSupportedCodeFixes:()=>pie,getSupportedExtensions:()=>Nee,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>Iee,getSwitchedType:()=>getSwitchedType,getSymbolId:()=>getSymbolId,getSymbolNameForPrivateIdentifier:()=>Wbe,getSymbolTarget:()=>getSymbolTarget,getSyntacticClassifications:()=>getSyntacticClassifications,getSyntacticModifierFlags:()=>TR,getSyntacticModifierFlagsNoCache:()=>AR,getSynthesizedDeepClone:()=>getSynthesizedDeepClone,getSynthesizedDeepCloneWithReplacements:()=>getSynthesizedDeepCloneWithReplacements,getSynthesizedDeepClones:()=>getSynthesizedDeepClones,getSynthesizedDeepClonesWithReplacements:()=>getSynthesizedDeepClonesWithReplacements,getSyntheticLeadingComments:()=>getSyntheticLeadingComments,getSyntheticTrailingComments:()=>getSyntheticTrailingComments,getTargetLabel:()=>getTargetLabel,getTargetOfBindingOrAssignmentElement:()=>a2,getTemporaryModuleResolutionState:()=>getTemporaryModuleResolutionState,getTextOfConstantValue:()=>w1e,getTextOfIdentifierOrLiteral:()=>gN,getTextOfJSDocComment:()=>vme,getTextOfNode:()=>iN,getTextOfNodeFromSourceText:()=>zw,getTextOfPropertyName:()=>V1e,getThisContainer:()=>UM,getThisParameter:()=>PZ,getTokenAtPosition:()=>getTokenAtPosition,getTokenPosOfNode:()=>$C,getTokenSourceMapRange:()=>getTokenSourceMapRange,getTouchingPropertyName:()=>getTouchingPropertyName,getTouchingToken:()=>getTouchingToken,getTrailingCommentRanges:()=>zY,getTrailingSemicolonDeferringWriter:()=>ave,getTransformFlagsSubtreeExclusions:()=>Dte,getTransformers:()=>getTransformers,getTsBuildInfoEmitOutputFilePath:()=>getTsBuildInfoEmitOutputFilePath,getTsConfigObjectLiteralExpression:()=>NQ,getTsConfigPropArray:()=>IQ,getTsConfigPropArrayElementValue:()=>bye,getTypeAnnotationNode:()=>bve,getTypeArgumentOrTypeParameterList:()=>getTypeArgumentOrTypeParameterList,getTypeKeywordOfTypeOnlyImport:()=>getTypeKeywordOfTypeOnlyImport,getTypeNode:()=>getTypeNode,getTypeNodeIfAccessible:()=>getTypeNodeIfAccessible,getTypeParameterFromJsDoc:()=>mbe,getTypeParameterOwner:()=>rme,getTypesPackageName:()=>getTypesPackageName,getUILocale:()=>M,getUniqueName:()=>getUniqueName,getUniqueSymbolId:()=>getUniqueSymbolId,getUseDefineForClassFields:()=>i2e,getWatchErrorSummaryDiagnosticMessage:()=>getWatchErrorSummaryDiagnosticMessage,getWatchFactory:()=>getWatchFactory,group:()=>Gr,groupBy:()=>ts,guessIndentation:()=>F0e,handleNoEmitOptions:()=>handleNoEmitOptions,hasAbstractModifier:()=>VZ,hasAccessorModifier:()=>$Z,hasAmbientModifier:()=>HZ,hasChangesInResolutions:()=>n1e,hasChildOfKind:()=>hasChildOfKind,hasContextSensitiveParameters:()=>Y2e,hasDecorators:()=>PT,hasDocComment:()=>hasDocComment,hasDynamicName:()=>gZ,hasEffectiveModifier:()=>wR,hasEffectiveModifiers:()=>Tve,hasEffectiveReadonlyModifier:()=>xR,hasExtension:()=>NY,hasIndexSignature:()=>hasIndexSignature,hasInitializer:()=>aQ,hasInvalidEscape:()=>DZ,hasJSDocNodes:()=>P0,hasJSDocParameterTags:()=>lme,hasJSFileExtension:()=>UR,hasJsonModuleEmitEnabled:()=>qCe,hasOnlyExpressionInitializer:()=>N0e,hasOverrideModifier:()=>kve,hasPossibleExternalModuleReference:()=>R1e,hasProperty:()=>Yo,hasPropertyAccessExpressionWithName:()=>hasPropertyAccessExpressionWithName,hasQuestionToken:()=>cbe,hasRecordedExternalHelpers:()=>CSe,hasRestParameter:()=>P0e,hasScopeMarker:()=>a0e,hasStaticModifier:()=>CN,hasSyntacticModifier:()=>Tp,hasSyntacticModifiers:()=>Ave,hasTSFileExtension:()=>KR,hasTabstop:()=>Jee,hasTrailingDirectorySeparator:()=>F4,hasType:()=>L0e,hasTypeArguments:()=>ybe,hasZeroOrOneAsteriskCharacter:()=>c2e,helperString:()=>helperString,hostGetCanonicalFileName:()=>EZ,hostUsesCaseSensitiveFileNames:()=>_R,idText:()=>Hh,identifierIsThisKeyword:()=>OZ,identifierToKeywordKind:()=>dX,identity:()=>ec,identitySourceMapConsumer:()=>identitySourceMapConsumer,ignoreSourceNewlines:()=>ignoreSourceNewlines,ignoredPaths:()=>ignoredPaths,importDefaultHelper:()=>importDefaultHelper,importFromModuleSpecifier:()=>lbe,importNameElisionDisabled:()=>GCe,importStarHelper:()=>importStarHelper,indexOfAnyCharCode:()=>xr,indexOfNode:()=>b1e,indicesOf:()=>yc,inferredTypesContainingFile:()=>inferredTypesContainingFile,insertImports:()=>insertImports,insertLeadingStatement:()=>lSe,insertSorted:()=>xp,insertStatementAfterCustomPrologue:()=>p1e,insertStatementAfterStandardPrologue:()=>h1e,insertStatementsAfterCustomPrologue:()=>d1e,insertStatementsAfterStandardPrologue:()=>c1e,intersperse:()=>Bi,introducesArgumentsExoticObject:()=>hye,inverseJsxOptionMap:()=>inverseJsxOptionMap,isAbstractConstructorSymbol:()=>vCe,isAbstractModifier:()=>jDe,isAccessExpression:()=>qC,isAccessibilityModifier:()=>isAccessibilityModifier,isAccessor:()=>Q4,isAccessorModifier:()=>VDe,isAliasSymbolDeclaration:()=>kbe,isAliasableExpression:()=>aR,isAmbientModule:()=>rN,isAmbientPropertyDeclaration:()=>F1e,isAnonymousFunctionDefinition:()=>Yw,isAnyDirectorySeparator:()=>MO,isAnyImportOrBareOrAccessedRequire:()=>O1e,isAnyImportOrReExport:()=>oN,isAnyImportSyntax:()=>kM,isAnySupportedFileExtension:()=>L2e,isApplicableVersionedTypesKey:()=>isApplicableVersionedTypesKey,isArgumentExpressionOfElementAccess:()=>isArgumentExpressionOfElementAccess,isArray:()=>fu,isArrayBindingElement:()=>Gme,isArrayBindingOrAssignmentElement:()=>YX,isArrayBindingOrAssignmentPattern:()=>JX,isArrayBindingPattern:()=>KDe,isArrayLiteralExpression:()=>eA,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>isArrayLiteralOrObjectLiteralDestructuringPattern,isArrayTypeNode:()=>Mte,isArrowFunction:()=>KN,isAsExpression:()=>ewe,isAssertClause:()=>Dwe,isAssertEntry:()=>wwe,isAssertionExpression:()=>s0e,isAssertionKey:()=>Bme,isAssertsKeyword:()=>MDe,isAssignmentDeclaration:()=>YM,isAssignmentExpression:()=>Ny,isAssignmentOperator:()=>Xw,isAssignmentPattern:()=>KX,isAssignmentTarget:()=>bbe,isAsteriskToken:()=>NDe,isAsyncFunction:()=>Bbe,isAsyncModifier:()=>UT,isAutoAccessorPropertyDeclaration:()=>UX,isAwaitExpression:()=>YDe,isAwaitKeyword:()=>RDe,isBigIntLiteral:()=>bB,isBinaryExpression:()=>zc,isBinaryOperatorToken:()=>txe,isBindableObjectDefinePropertyCall:()=>ZM,isBindableStaticAccessExpression:()=>Gw,isBindableStaticElementAccessExpression:()=>eR,isBindableStaticNameExpression:()=>Jw,isBindingElement:()=>ZT,isBindingElementOfBareOrAccessedRequire:()=>Kye,isBindingName:()=>Hme,isBindingOrAssignmentElement:()=>Jme,isBindingOrAssignmentPattern:()=>Yme,isBindingPattern:()=>eN,isBlock:()=>tA,isBlockOrCatchScoped:()=>x1e,isBlockScope:()=>DQ,isBlockScopedContainerTopLevel:()=>L1e,isBooleanLiteral:()=>$me,isBreakOrContinueStatement:()=>Ame,isBreakStatement:()=>hwe,isBuildInfoFile:()=>isBuildInfoFile,isBuilderProgram:()=>isBuilderProgram2,isBundle:()=>Rwe,isBundleFileTextLike:()=>TCe,isCallChain:()=>iM,isCallExpression:()=>cS,isCallExpressionTarget:()=>isCallExpressionTarget,isCallLikeExpression:()=>Zme,isCallOrNewExpression:()=>e0e,isCallOrNewExpressionTarget:()=>isCallOrNewExpressionTarget,isCallSignatureDeclaration:()=>DB,isCallToHelper:()=>isCallToHelper,isCaseBlock:()=>bwe,isCaseClause:()=>Pwe,isCaseKeyword:()=>HDe,isCaseOrDefaultClause:()=>k0e,isCatchClause:()=>Owe,isCatchClauseVariableDeclaration:()=>zee,isCatchClauseVariableDeclarationOrBindingElement:()=>yQ,isCheckJsEnabledForFile:()=>N2e,isChildOfNodeWithKind:()=>rye,isCircularBuildOrder:()=>isCircularBuildOrder,isClassDeclaration:()=>hS,isClassElement:()=>Vb,isClassExpression:()=>GN,isClassLike:()=>Yg,isClassMemberModifier:()=>HX,isClassOrTypeElement:()=>Kme,isClassStaticBlockDeclaration:()=>JT,isCollapsedRange:()=>Yve,isColonToken:()=>IDe,isCommaExpression:()=>i6,isCommaListExpression:()=>dS,isCommaSequence:()=>mSe,isCommaToken:()=>Ate,isComment:()=>isComment,isCommonJsExportPropertyAssignment:()=>$M,isCommonJsExportedExpression:()=>cye,isCompoundAssignment:()=>isCompoundAssignment,isComputedNonLiteralName:()=>W1e,isComputedPropertyName:()=>qb,isConciseBody:()=>d0e,isConditionalExpression:()=>XDe,isConditionalTypeNode:()=>Hte,isConstTypeReference:()=>PX,isConstructSignatureDeclaration:()=>Fte,isConstructorDeclaration:()=>aS,isConstructorTypeNode:()=>SB,isContextualKeyword:()=>uR,isContinueStatement:()=>dwe,isCustomPrologue:()=>aN,isDebuggerStatement:()=>ywe,isDeclaration:()=>HC,isDeclarationBindingElement:()=>gM,isDeclarationFileName:()=>Jne,isDeclarationName:()=>oZ,isDeclarationNameOfEnumOrNamespace:()=>lCe,isDeclarationReadonly:()=>Z1e,isDeclarationStatement:()=>D0e,isDeclarationWithTypeParameterChildren:()=>wQ,isDeclarationWithTypeParameters:()=>P1e,isDecorator:()=>KT,isDecoratorTarget:()=>isDecoratorTarget,isDefaultClause:()=>rne,isDefaultImport:()=>YQ,isDefaultModifier:()=>ODe,isDefaultedExpandoInitializer:()=>Zye,isDeleteExpression:()=>GDe,isDeleteTarget:()=>xbe,isDeprecatedDeclaration:()=>isDeprecatedDeclaration,isDestructuringAssignment:()=>Pve,isDiagnosticWithLocation:()=>isDiagnosticWithLocation,isDiskPathRoot:()=>Dge,isDoStatement:()=>awe,isDotDotDotToken:()=>LDe,isDottedName:()=>NR,isDynamicName:()=>dR,isESSymbolIdentifier:()=>$be,isEffectiveExternalModule:()=>AM,isEffectiveModuleDeclaration:()=>bQ,isEffectiveStrictModeSourceFile:()=>I1e,isElementAccessChain:()=>FX,isElementAccessExpression:()=>Fy,isEmittedFileOfProgram:()=>isEmittedFileOfProgram,isEmptyArrayLiteral:()=>jve,isEmptyBindingElement:()=>uX,isEmptyBindingPattern:()=>lX,isEmptyObjectLiteral:()=>Bve,isEmptyStatement:()=>swe,isEmptyStringLiteral:()=>PQ,isEndOfDeclarationMarker:()=>Awe,isEntityName:()=>Vme,isEntityNameExpression:()=>$b,isEnumConst:()=>Q1e,isEnumDeclaration:()=>OB,isEnumMember:()=>one,isEqualityOperatorKind:()=>isEqualityOperatorKind,isEqualsGreaterThanToken:()=>PDe,isExclamationToken:()=>HN,isExcludedFile:()=>isExcludedFile,isExclusivelyTypeOnlyImportOrExport:()=>isExclusivelyTypeOnlyImportOrExport,isExportAssignment:()=>i2,isExportDeclaration:()=>pS,isExportModifier:()=>kte,isExportName:()=>gSe,isExportNamespaceAsDefaultDeclaration:()=>mQ,isExportOrDefaultModifier:()=>ixe,isExportSpecifier:()=>nne,isExportsIdentifier:()=>$Q,isExportsOrModuleExportsOrAlias:()=>isExportsOrModuleExportsOrAlias,isExpression:()=>tN,isExpressionNode:()=>GM,isExpressionOfExternalModuleImportEqualsDeclaration:()=>isExpressionOfExternalModuleImportEqualsDeclaration,isExpressionOfOptionalChainRoot:()=>xme,isExpressionStatement:()=>nA,isExpressionWithTypeArguments:()=>NB,isExpressionWithTypeArgumentsInClassExtendsClause:()=>LR,isExternalModule:()=>c2,isExternalModuleAugmentation:()=>TM,isExternalModuleImportEqualsDeclaration:()=>RQ,isExternalModuleIndicator:()=>u0e,isExternalModuleNameRelative:()=>qge,isExternalModuleReference:()=>XN,isExternalModuleSymbol:()=>isExternalModuleSymbol,isExternalOrCommonJsModule:()=>X1e,isFileLevelUniqueName:()=>hQ,isFileProbablyExternalModule:()=>cA,isFirstDeclarationOfSymbolParameter:()=>isFirstDeclarationOfSymbolParameter,isFixablePromiseHandler:()=>isFixablePromiseHandler,isForInOrOfStatement:()=>c0e,isForInStatement:()=>uwe,isForInitializer:()=>p0e,isForOfStatement:()=>cwe,isForStatement:()=>Xte,isFunctionBlock:()=>LQ,isFunctionBody:()=>h0e,isFunctionDeclaration:()=>n2,isFunctionExpression:()=>UN,isFunctionExpressionOrArrowFunction:()=>Z2e,isFunctionLike:()=>F0,isFunctionLikeDeclaration:()=>$X,isFunctionLikeKind:()=>dM,isFunctionLikeOrClassStaticBlockDeclaration:()=>X4,isFunctionOrConstructorTypeNode:()=>qme,isFunctionOrModuleBlock:()=>zme,isFunctionSymbol:()=>obe,isFunctionTypeNode:()=>XT,isFutureReservedKeyword:()=>Ibe,isGeneratedIdentifier:()=>xy,isGeneratedPrivateIdentifier:()=>uM,isGetAccessor:()=>ST,isGetAccessorDeclaration:()=>YT,isGetOrSetAccessorDeclaration:()=>Sme,isGlobalDeclaration:()=>isGlobalDeclaration,isGlobalScopeAugmentation:()=>sN,isGrammarError:()=>u1e,isHeritageClause:()=>sA,isHoistedFunction:()=>jM,isHoistedVariableStatement:()=>WM,isIdentifier:()=>Ja,isIdentifierANonContextualKeyword:()=>Obe,isIdentifierName:()=>Abe,isIdentifierOrThisTypeNode:()=>FSe,isIdentifierPart:()=>jb,isIdentifierStart:()=>S_,isIdentifierText:()=>YO,isIdentifierTypePredicate:()=>gye,isIdentifierTypeReference:()=>$2e,isIfStatement:()=>owe,isIgnoredFileFromWildCardWatching:()=>isIgnoredFileFromWildCardWatching,isImplicitGlob:()=>Eee,isImportCall:()=>RM,isImportClause:()=>vwe,isImportDeclaration:()=>BB,isImportEqualsDeclaration:()=>RB,isImportKeyword:()=>Nte,isImportMeta:()=>BM,isImportOrExportSpecifier:()=>Mme,isImportOrExportSpecifierName:()=>isImportOrExportSpecifierName,isImportSpecifier:()=>ene,isImportTypeAssertionContainer:()=>Cwe,isImportTypeNode:()=>QT,isImportableFile:()=>isImportableFile,isInComment:()=>isInComment,isInExpressionContext:()=>OQ,isInJSDoc:()=>BQ,isInJSFile:()=>dh,isInJSXText:()=>isInJSXText,isInJsonFile:()=>$ye,isInNonReferenceComment:()=>isInNonReferenceComment,isInReferenceComment:()=>isInReferenceComment,isInRightSideOfInternalImportEqualsDeclaration:()=>isInRightSideOfInternalImportEqualsDeclaration,isInString:()=>isInString,isInTemplateString:()=>isInTemplateString,isInTopLevelContext:()=>Eye,isIncrementalCompilation:()=>n2e,isIndexSignatureDeclaration:()=>wB,isIndexedAccessTypeNode:()=>Ute,isInferTypeNode:()=>$te,isInfinityOrNaNString:()=>X2e,isInitializedProperty:()=>isInitializedProperty,isInitializedVariable:()=>aee,isInsideJsxElement:()=>isInsideJsxElement,isInsideJsxElementOrAttribute:()=>isInsideJsxElementOrAttribute,isInsideNodeModules:()=>isInsideNodeModules,isInsideTemplateLiteral:()=>isInsideTemplateLiteral,isInstantiatedModule:()=>isInstantiatedModule,isInterfaceDeclaration:()=>iA,isInternalDeclaration:()=>isInternalDeclaration,isInternalModuleImportEqualsDeclaration:()=>Vye,isInternalName:()=>_Se,isIntersectionTypeNode:()=>Vte,isIntrinsicJsxName:()=>xZ,isIterationStatement:()=>eQ,isJSDoc:()=>r2,isJSDocAllType:()=>Hwe,isJSDocAugmentsTag:()=>t6,isJSDocAuthorTag:()=>Gwe,isJSDocCallbackTag:()=>Jwe,isJSDocClassTag:()=>une,isJSDocCommentContainingNode:()=>oQ,isJSDocConstructSignature:()=>dbe,isJSDocDeprecatedTag:()=>YB,isJSDocEnumTag:()=>dne,isJSDocFunctionType:()=>e6,isJSDocImplementsTag:()=>pne,isJSDocIndexSignature:()=>Uye,isJSDocLikeText:()=>Ine,isJSDocLink:()=>jwe,isJSDocLinkCode:()=>Wwe,isJSDocLinkLike:()=>xT,isJSDocLinkPlain:()=>Vwe,isJSDocMemberName:()=>_S,isJSDocNameReference:()=>ZN,isJSDocNamepathType:()=>qwe,isJSDocNamespaceBody:()=>g0e,isJSDocNode:()=>bM,isJSDocNonNullableType:()=>zwe,isJSDocNullableType:()=>lne,isJSDocOptionalParameter:()=>Yee,isJSDocOptionalType:()=>Uwe,isJSDocOverloadTag:()=>JB,isJSDocOverrideTag:()=>cne,isJSDocParameterTag:()=>gS,isJSDocPrivateTag:()=>KB,isJSDocPropertyLikeTag:()=>oM,isJSDocPropertyTag:()=>Zwe,isJSDocProtectedTag:()=>qB,isJSDocPublicTag:()=>UB,isJSDocReadonlyTag:()=>GB,isJSDocReturnTag:()=>XB,isJSDocSatisfiesExpression:()=>lDe,isJSDocSatisfiesTag:()=>QB,isJSDocSeeTag:()=>Ywe,isJSDocSignature:()=>aA,isJSDocTag:()=>vM,isJSDocTemplateTag:()=>s2,isJSDocThisTag:()=>hne,isJSDocThrowsTag:()=>eSe,isJSDocTypeAlias:()=>kT,isJSDocTypeAssertion:()=>vne,isJSDocTypeExpression:()=>ane,isJSDocTypeLiteral:()=>zB,isJSDocTypeTag:()=>lA,isJSDocTypedefTag:()=>Xwe,isJSDocUnknownTag:()=>Qwe,isJSDocUnknownType:()=>$we,isJSDocVariadicType:()=>Kwe,isJSXTagName:()=>uN,isJsonEqual:()=>GR,isJsonSourceFile:()=>MM,isJsxAttribute:()=>Nwe,isJsxAttributeLike:()=>T0e,isJsxAttributes:()=>$B,isJsxChild:()=>rQ,isJsxClosingElement:()=>ine,isJsxClosingFragment:()=>Lwe,isJsxElement:()=>VB,isJsxExpression:()=>Fwe,isJsxFragment:()=>QN,isJsxOpeningElement:()=>rA,isJsxOpeningFragment:()=>HB,isJsxOpeningLikeElement:()=>sQ,isJsxOpeningLikeElementTagName:()=>isJsxOpeningLikeElementTagName,isJsxSelfClosingElement:()=>kwe,isJsxSpreadAttribute:()=>Iwe,isJsxTagNameExpression:()=>E0e,isJsxText:()=>VN,isJumpStatementTarget:()=>isJumpStatementTarget,isKeyword:()=>M0,isKnownSymbol:()=>Vbe,isLabelName:()=>isLabelName,isLabelOfLabeledStatement:()=>isLabelOfLabeledStatement,isLabeledStatement:()=>Qte,isLateVisibilityPaintedStatement:()=>M1e,isLeftHandSideExpression:()=>VC,isLeftHandSideOfAssignment:()=>Fve,isLet:()=>eye,isLineBreak:()=>Xp,isLiteralComputedPropertyDeclarationName:()=>aZ,isLiteralExpression:()=>lM,isLiteralExpressionOfObject:()=>Fme,isLiteralImportTypeNode:()=>TQ,isLiteralKind:()=>aM,isLiteralLikeAccess:()=>dN,isLiteralLikeElementAccess:()=>AT,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>isLiteralNameOfPropertyDeclarationOrIndexAccess,isLiteralTypeLikeExpression:()=>RSe,isLiteralTypeLiteral:()=>i0e,isLiteralTypeNode:()=>AB,isLocalName:()=>tj,isLogicalOperator:()=>Lve,isLogicalOrCoalescingAssignmentExpression:()=>Nve,isLogicalOrCoalescingAssignmentOperator:()=>wN,isLogicalOrCoalescingBinaryExpression:()=>Ive,isLogicalOrCoalescingBinaryOperator:()=>YZ,isMappedTypeNode:()=>Kte,isMemberName:()=>Wb,isMergeDeclarationMarker:()=>Twe,isMetaProperty:()=>IB,isMethodDeclaration:()=>GT,isMethodOrAccessor:()=>hM,isMethodSignature:()=>Ite,isMinusToken:()=>CB,isMissingDeclaration:()=>xwe,isModifier:()=>cM,isModifierKind:()=>Wm,isModifierLike:()=>Z4,isModuleAugmentationExternal:()=>vQ,isModuleBlock:()=>Zte,isModuleBody:()=>f0e,isModuleDeclaration:()=>W0,isModuleExportsAccessExpression:()=>QM,isModuleIdentifier:()=>zQ,isModuleName:()=>MSe,isModuleOrEnumDeclaration:()=>y0e,isModuleReference:()=>x0e,isModuleSpecifierLike:()=>isModuleSpecifierLike,isModuleWithStringLiteralName:()=>E1e,isNameOfFunctionDeclaration:()=>isNameOfFunctionDeclaration,isNameOfModuleDeclaration:()=>isNameOfModuleDeclaration,isNamedClassElement:()=>Ume,isNamedDeclaration:()=>U4,isNamedEvaluation:()=>zbe,isNamedEvaluationSource:()=>bZ,isNamedExportBindings:()=>kme,isNamedExports:()=>tne,isNamedImportBindings:()=>m0e,isNamedImports:()=>Swe,isNamedImportsOrExports:()=>ACe,isNamedTupleMember:()=>xB,isNamespaceBody:()=>_0e,isNamespaceExport:()=>YN,isNamespaceExportDeclaration:()=>MB,isNamespaceImport:()=>jB,isNamespaceReexportDeclaration:()=>Bye,isNewExpression:()=>qte,isNewExpressionTarget:()=>isNewExpressionTarget,isNightly:()=>sve,isNoSubstitutionTemplateLiteral:()=>Tte,isNode:()=>Nme,isNodeArray:()=>Sy,isNodeArrayMultiLine:()=>rCe,isNodeDescendantOf:()=>Ebe,isNodeKind:()=>vT,isNodeLikeSystem:()=>vi,isNodeModulesDirectory:()=>Oge,isNodeWithPossibleHoistedDeclaration:()=>vbe,isNonContextualKeyword:()=>_Z,isNonExportDefaultModifier:()=>rxe,isNonGlobalAmbientModule:()=>T1e,isNonGlobalDeclaration:()=>isNonGlobalDeclaration,isNonNullAccess:()=>aDe,isNonNullChain:()=>OX,isNonNullExpression:()=>e2,isNonStaticMethodOrAccessorWithPrivateName:()=>isNonStaticMethodOrAccessorWithPrivateName,isNotEmittedOrPartiallyEmittedNode:()=>o0e,isNotEmittedStatement:()=>WB,isNullishCoalesce:()=>Tme,isNumber:()=>Hc,isNumericLiteral:()=>Kb,isNumericLiteralName:()=>Uee,isObjectBindingElementWithoutPropertyName:()=>isObjectBindingElementWithoutPropertyName,isObjectBindingOrAssignmentElement:()=>GX,isObjectBindingOrAssignmentPattern:()=>qX,isObjectBindingPattern:()=>UDe,isObjectLiteralElement:()=>CM,isObjectLiteralElementLike:()=>fM,isObjectLiteralExpression:()=>Jb,isObjectLiteralMethod:()=>fye,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>_ye,isObjectTypeDeclaration:()=>xCe,isOctalDigit:()=>qO,isOmittedExpression:()=>JN,isOptionalChain:()=>rM,isOptionalChainRoot:()=>sM,isOptionalDeclaration:()=>oDe,isOptionalJSDocPropertyLikeTag:()=>Gee,isOptionalTypeNode:()=>Bte,isOuterExpression:()=>r6,isOutermostOptionalChain:()=>Eme,isOverrideModifier:()=>WDe,isPackedArrayLiteral:()=>q2e,isParameter:()=>Gb,isParameterDeclaration:()=>Kbe,isParameterOrCatchClauseVariable:()=>Q2e,isParameterPropertyDeclaration:()=>aX,isParameterPropertyModifier:()=>VX,isParenthesizedExpression:()=>ZC,isParenthesizedTypeNode:()=>EB,isParseTreeNode:()=>_T,isPartOfTypeNode:()=>VM,isPartOfTypeQuery:()=>MQ,isPartiallyEmittedExpression:()=>Yte,isPatternMatch:()=>me,isPinnedComment:()=>gQ,isPlainJsFile:()=>s1e,isPlusToken:()=>vB,isPossiblyTypeArgumentPosition:()=>isPossiblyTypeArgumentPosition,isPostfixUnaryExpression:()=>Jte,isPrefixUnaryExpression:()=>qN,isPrivateIdentifier:()=>wf,isPrivateIdentifierClassElementDeclaration:()=>WX,isPrivateIdentifierPropertyAccessExpression:()=>Wme,isPrivateIdentifierSymbol:()=>Hbe,isProgramBundleEmitBuildInfo:()=>isProgramBundleEmitBuildInfo,isProgramUptoDate:()=>isProgramUptoDate,isPrologueDirective:()=>Ty,isPropertyAccessChain:()=>IX,isPropertyAccessEntityNameExpression:()=>ZZ,isPropertyAccessExpression:()=>Sf,isPropertyAccessOrQualifiedName:()=>Qme,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>Xme,isPropertyAssignment:()=>fS,isPropertyDeclaration:()=>QC,isPropertyName:()=>DT,isPropertyNameLiteral:()=>hR,isPropertySignature:()=>qT,isProtoSetter:()=>yZ,isPrototypeAccess:()=>OT,isPrototypePropertyAssignment:()=>ibe,isPunctuation:()=>isPunctuation,isPushOrUnshiftIdentifier:()=>Ube,isQualifiedName:()=>oS,isQuestionDotToken:()=>FDe,isQuestionOrExclamationToken:()=>ISe,isQuestionOrPlusOrMinusToken:()=>OSe,isQuestionToken:()=>zT,isRawSourceMap:()=>isRawSourceMap,isReadonlyKeyword:()=>Lte,isReadonlyKeywordOrPlusOrMinusToken:()=>PSe,isRecognizedTripleSlashComment:()=>f1e,isReferenceFileLocation:()=>isReferenceFileLocation,isReferencedFile:()=>isReferencedFile,isRegularExpressionLiteral:()=>EDe,isRequireCall:()=>TT,isRequireVariableStatement:()=>VQ,isRestParameter:()=>lQ,isRestTypeNode:()=>jte,isReturnStatement:()=>pwe,isReturnStatementWithFixablePromiseHandler:()=>isReturnStatementWithFixablePromiseHandler,isRightSideOfAccessExpression:()=>eee,isRightSideOfPropertyAccess:()=>isRightSideOfPropertyAccess,isRightSideOfQualifiedName:()=>isRightSideOfQualifiedName,isRightSideOfQualifiedNameOrPropertyAccess:()=>Mve,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>Rve,isRootedDiskPath:()=>Nw,isSameEntityName:()=>qw,isSatisfiesExpression:()=>twe,isScopeMarker:()=>tQ,isSemicolonClassElement:()=>rwe,isSetAccessor:()=>wT,isSetAccessorDeclaration:()=>lS,isShebangTrivia:()=>GO,isShorthandAmbientModuleSymbol:()=>A1e,isShorthandPropertyAssignment:()=>oA,isSignedNumericLiteral:()=>cR,isSimpleCopiableExpression:()=>isSimpleCopiableExpression,isSimpleInlineableExpression:()=>isSimpleInlineableExpression,isSingleOrDoubleQuote:()=>qye,isSourceFile:()=>tm,isSourceFileFromLibrary:()=>isSourceFileFromLibrary,isSourceFileJS:()=>JM,isSourceFileNotJS:()=>Hye,isSourceFileNotJson:()=>zye,isSourceMapping:()=>isSourceMapping,isSpecialPropertyDeclaration:()=>rbe,isSpreadAssignment:()=>sne,isSpreadElement:()=>LB,isStatement:()=>nQ,isStatementButNotDeclaration:()=>w0e,isStatementOrBlock:()=>iQ,isStatementWithLocals:()=>o1e,isStatic:()=>SR,isStaticModifier:()=>BDe,isString:()=>nd,isStringAKeyword:()=>Pbe,isStringANonContextualKeyword:()=>Fbe,isStringAndEmptyAnonymousObjectIntersection:()=>isStringAndEmptyAnonymousObjectIntersection,isStringDoubleQuoted:()=>Gye,isStringLiteral:()=>T_,isStringLiteralLike:()=>Xg,isStringLiteralOrJsxExpression:()=>A0e,isStringLiteralOrTemplate:()=>isStringLiteralOrTemplate,isStringOrNumericLiteralLike:()=>R0,isStringOrRegularExpressionOrTemplateLiteral:()=>isStringOrRegularExpressionOrTemplateLiteral,isStringTextContainingNode:()=>jme,isSuperCall:()=>tye,isSuperKeyword:()=>$N,isSuperOrSuperProperty:()=>Lye,isSuperProperty:()=>lN,isSupportedSourceFileName:()=>S2e,isSwitchStatement:()=>_we,isSyntaxList:()=>tSe,isSyntheticExpression:()=>nwe,isSyntheticReference:()=>Ewe,isTagName:()=>isTagName,isTaggedTemplateExpression:()=>Gte,isTaggedTemplateTag:()=>isTaggedTemplateTag,isTemplateExpression:()=>QDe,isTemplateHead:()=>TDe,isTemplateLiteral:()=>t0e,isTemplateLiteralKind:()=>CT,isTemplateLiteralToken:()=>Pme,isTemplateLiteralTypeNode:()=>zDe,isTemplateLiteralTypeSpan:()=>$De,isTemplateMiddle:()=>ADe,isTemplateMiddleOrTemplateTail:()=>Ome,isTemplateSpan:()=>iwe,isTemplateTail:()=>kDe,isTextWhiteSpaceLike:()=>isTextWhiteSpaceLike,isThis:()=>isThis,isThisContainerOrFunctionBlock:()=>xye,isThisIdentifier:()=>vN,isThisInTypeQuery:()=>yve,isThisInitializedDeclaration:()=>Iye,isThisInitializedObjectBindingExpression:()=>Fye,isThisProperty:()=>Nye,isThisTypeNode:()=>TB,isThisTypeParameter:()=>Kee,isThisTypePredicate:()=>mye,isThrowStatement:()=>gwe,isToken:()=>Ime,isTokenKind:()=>RX,isTraceEnabled:()=>isTraceEnabled,isTransientSymbol:()=>xM,isTrivia:()=>Mbe,isTryStatement:()=>mwe,isTupleTypeNode:()=>Rte,isTypeAlias:()=>hbe,isTypeAliasDeclaration:()=>PB,isTypeAssertionExpression:()=>qDe,isTypeDeclaration:()=>qee,isTypeElement:()=>pM,isTypeKeyword:()=>isTypeKeyword,isTypeKeywordToken:()=>isTypeKeywordToken,isTypeKeywordTokenOrIdentifier:()=>isTypeKeywordTokenOrIdentifier,isTypeLiteralNode:()=>zN,isTypeNode:()=>_M,isTypeNodeKind:()=>pee,isTypeOfExpression:()=>JDe,isTypeOnlyExportDeclaration:()=>jX,isTypeOnlyImportDeclaration:()=>BX,isTypeOnlyImportOrExportDeclaration:()=>Rme,isTypeOperatorNode:()=>zte,isTypeParameterDeclaration:()=>XC,isTypePredicateNode:()=>Pte,isTypeQueryNode:()=>Ote,isTypeReferenceNode:()=>uS,isTypeReferenceType:()=>I0e,isUMDExportSymbol:()=>DCe,isUnaryExpression:()=>QX,isUnaryExpressionWithWrite:()=>n0e,isUnicodeIdentifierStart:()=>WY,isUnionTypeNode:()=>Wte,isUnparsedNode:()=>Lme,isUnparsedPrepend:()=>Mwe,isUnparsedSource:()=>Bwe,isUnparsedTextLike:()=>MX,isUrl:()=>Cge,isValidBigIntString:()=>Wee,isValidESSymbolDeclaration:()=>dye,isValidTypeOnlyAliasUseSite:()=>j2e,isValueSignatureDeclaration:()=>Cbe,isVarConst:()=>EQ,isVariableDeclaration:()=>Vm,isVariableDeclarationInVariableStatement:()=>kQ,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>cN,isVariableDeclarationInitializedToRequire:()=>jQ,isVariableDeclarationList:()=>FB,isVariableLike:()=>HM,isVariableLikeOrAccessor:()=>uye,isVariableStatement:()=>t2,isVoidExpression:()=>kB,isWatchSet:()=>cCe,isWhileStatement:()=>lwe,isWhiteSpaceLike:()=>wy,isWhiteSpaceSingleLine:()=>Mw,isWithStatement:()=>fwe,isWriteAccess:()=>gCe,isWriteOnlyAccess:()=>_Ce,isYieldExpression:()=>ZDe,jsxModeNeedsExplicitImport:()=>jsxModeNeedsExplicitImport,keywordPart:()=>keywordPart,last:()=>Oi,lastOrUndefined:()=>yi,length:()=>Se,libMap:()=>libMap,libs:()=>libs,lineBreakPart:()=>lineBreakPart,linkNamePart:()=>linkNamePart,linkPart:()=>linkPart,linkTextPart:()=>linkTextPart,listFiles:()=>listFiles,loadModuleFromGlobalCache:()=>loadModuleFromGlobalCache,loadWithModeAwareCache:()=>loadWithModeAwareCache,makeIdentifierFromModuleName:()=>S1e,makeImport:()=>makeImport,makeImportIfNecessary:()=>makeImportIfNecessary,makeStringLiteral:()=>makeStringLiteral,mangleScopedPackageName:()=>mangleScopedPackageName,map:()=>is,mapAllOrFail:()=>da,mapDefined:()=>ha,mapDefinedEntries:()=>Ou,mapDefinedIterator:()=>cc,mapEntries:()=>Kr,mapIterator:()=>Ms,mapOneOrMany:()=>mapOneOrMany,mapToDisplayParts:()=>mapToDisplayParts,matchFiles:()=>y2e,matchPatternOrExact:()=>I2e,matchedText:()=>ce,matchesExclude:()=>matchesExclude,maybeBind:()=>vr,maybeSetLocalizedDiagnosticMessages:()=>gee,memoize:()=>AC,memoizeCached:()=>oT,memoizeOne:()=>Kp,memoizeWeak:()=>sT,metadataHelper:()=>metadataHelper,min:()=>z,minAndMax:()=>P2e,missingFileModifiedTime:()=>missingFileModifiedTime,modifierToFlag:()=>kR,modifiersToFlags:()=>x_,moduleOptionDeclaration:()=>moduleOptionDeclaration,moduleResolutionIsEqualTo:()=>Q0e,moduleResolutionNameAndModeGetter:()=>moduleResolutionNameAndModeGetter,moduleResolutionOptionDeclarations:()=>moduleResolutionOptionDeclarations,moduleResolutionSupportsPackageJsonExportsAndImports:()=>jR,moduleResolutionUsesNodeModules:()=>moduleResolutionUsesNodeModules,moduleSpecifiers:()=>ts_moduleSpecifiers_exports,moveEmitHelpers:()=>moveEmitHelpers,moveRangeEnd:()=>Gve,moveRangePastDecorators:()=>see,moveRangePastModifiers:()=>Jve,moveRangePos:()=>xN,moveSyntheticComments:()=>moveSyntheticComments,mutateMap:()=>bCe,mutateMapSkippingNewValues:()=>cee,needsParentheses:()=>needsParentheses,needsScopeMarker:()=>l0e,newCaseClauseTracker:()=>newCaseClauseTracker,newPrivateEnvironment:()=>newPrivateEnvironment,noEmitNotification:()=>noEmitNotification,noEmitSubstitution:()=>noEmitSubstitution,noTransformers:()=>noTransformers,noTruncationMaximumTruncationLength:()=>ete,nodeCanBeDecorated:()=>FQ,nodeHasName:()=>pX,nodeIsDecorated:()=>Uw,nodeIsMissing:()=>O0,nodeIsPresent:()=>ET,nodeIsSynthesized:()=>ky,nodeModuleNameResolver:()=>nodeModuleNameResolver,nodeModulesPathPart:()=>nodeModulesPathPart,nodeNextJsonConfigResolver:()=>nodeNextJsonConfigResolver,nodeOrChildIsDecorated:()=>KM,nodeOverlapsWithStartEnd:()=>nodeOverlapsWithStartEnd,nodePosToString:()=>l1e,nodeSeenTracker:()=>nodeSeenTracker,nodeStartsNewLexicalEnvironment:()=>qbe,nodeToDisplayParts:()=>nodeToDisplayParts,noop:()=>ku,noopFileWatcher:()=>noopFileWatcher,noopPush:()=>yr,normalizePath:()=>rg,normalizeSlashes:()=>MC,not:()=>Me,notImplemented:()=>rT,notImplementedResolver:()=>notImplementedResolver,nullNodeConverters:()=>nullNodeConverters,nullParenthesizerRules:()=>_B,nullTransformationContext:()=>nullTransformationContext,objectAllocator:()=>$c,operatorPart:()=>operatorPart,optionDeclarations:()=>optionDeclarations,optionMapToObject:()=>optionMapToObject,optionsAffectingProgramStructure:()=>optionsAffectingProgramStructure,optionsForBuild:()=>optionsForBuild,optionsForWatch:()=>optionsForWatch,optionsHaveChanges:()=>Hw,optionsHaveModuleResolutionChanges:()=>uQ,or:()=>Fe,orderedRemoveItem:()=>j,orderedRemoveItemAt:()=>Ae,outFile:()=>mR,packageIdToPackageName:()=>cQ,packageIdToString:()=>e1e,padLeft:()=>Hn,padRight:()=>Nt,paramHelper:()=>paramHelper,parameterIsThisKeyword:()=>FT,parameterNamePart:()=>parameterNamePart,parseBaseNodeFactory:()=>lj,parseBigInt:()=>B2e,parseBuildCommand:()=>parseBuildCommand,parseCommandLine:()=>parseCommandLine,parseCommandLineWorker:()=>parseCommandLineWorker,parseConfigFileTextToJson:()=>parseConfigFileTextToJson,parseConfigFileWithSystem:()=>parseConfigFileWithSystem,parseConfigHostFromCompilerHostLike:()=>parseConfigHostFromCompilerHostLike,parseCustomTypeOption:()=>parseCustomTypeOption,parseIsolatedEntityName:()=>Dxe,parseIsolatedJSDocComment:()=>Sxe,parseJSDocTypeExpressionForTests:()=>xxe,parseJsonConfigFileContent:()=>parseJsonConfigFileContent,parseJsonSourceFileConfigFileContent:()=>parseJsonSourceFileConfigFileContent,parseJsonText:()=>wxe,parseListTypeOption:()=>parseListTypeOption,parseNodeFactory:()=>yS,parseNodeModuleFromPath:()=>parseNodeModuleFromPath,parsePackageName:()=>parsePackageName,parsePseudoBigInt:()=>IN,parseValidBigInt:()=>jee,patchWriteFileEnsuringDirectory:()=>patchWriteFileEnsuringDirectory,pathContainsNodeModules:()=>pathContainsNodeModules,pathIsAbsolute:()=>RO,pathIsBareSpecifier:()=>wge,pathIsRelative:()=>PC,patternText:()=>fn,perfLogger:()=>Sn,performIncrementalCompilation:()=>performIncrementalCompilation,performance:()=>ts_performance_exports,plainJSErrors:()=>plainJSErrors,positionBelongsToNode:()=>positionBelongsToNode,positionIsASICandidate:()=>positionIsASICandidate,positionIsSynthesized:()=>Iy,positionsAreOnSameLine:()=>Qw,preProcessFile:()=>preProcessFile,probablyUsesSemicolons:()=>probablyUsesSemicolons,processCommentPragmas:()=>Yne,processPragmasIntoFields:()=>Xne,processTaggedTemplateExpression:()=>processTaggedTemplateExpression,programContainsEsModules:()=>programContainsEsModules,programContainsModules:()=>programContainsModules,projectReferenceIsEqualTo:()=>X0e,propKeyHelper:()=>propKeyHelper,propertyNamePart:()=>propertyNamePart,pseudoBigIntToString:()=>JR,punctuationPart:()=>punctuationPart,pushIfUnique:()=>lt,quote:()=>quote,quotePreferenceFromString:()=>quotePreferenceFromString,rangeContainsPosition:()=>rangeContainsPosition,rangeContainsPositionExclusive:()=>rangeContainsPositionExclusive,rangeContainsRange:()=>rangeContainsRange,rangeContainsRangeExclusive:()=>rangeContainsRangeExclusive,rangeContainsStartEnd:()=>rangeContainsStartEnd,rangeEndIsOnSameLineAsRangeStart:()=>tCe,rangeEndPositionsAreOnSameLine:()=>eCe,rangeEquals:()=>zt,rangeIsOnSingleLine:()=>Qve,rangeOfNode:()=>O2e,rangeOfTypeParameters:()=>M2e,rangeOverlapsWithStartEnd:()=>rangeOverlapsWithStartEnd,rangeStartIsOnSameLineAsRangeEnd:()=>oee,rangeStartPositionsAreOnSameLine:()=>Zve,readBuilderProgram:()=>readBuilderProgram,readConfigFile:()=>readConfigFile,readHelper:()=>readHelper,readJson:()=>qve,readJsonConfigFile:()=>readJsonConfigFile,readJsonOrUndefined:()=>nee,realizeDiagnostics:()=>realizeDiagnostics,reduceEachLeadingCommentRange:()=>VY,reduceEachTrailingCommentRange:()=>HY,reduceLeft:()=>Ma,reduceLeftIterator:()=>Qt,reducePathComponents:()=>vy,refactor:()=>ts_refactor_exports,regExpEscape:()=>_2e,relativeComplement:()=>qe,removeAllComments:()=>removeAllComments,removeEmitHelper:()=>removeEmitHelper,removeExtension:()=>Mee,removeFileExtension:()=>BT,removeIgnoredPath:()=>removeIgnoredPath,removeMinAndVersionNumbers:()=>tt,removeOptionality:()=>removeOptionality,removePrefix:()=>Ee,removeSuffix:()=>ne,removeTrailingDirectorySeparator:()=>Iw,repeatString:()=>repeatString,replaceElement:()=>Mo,resolutionExtensionIsTSOrJson:()=>A2e,resolveConfigFileProjectName:()=>resolveConfigFileProjectName,resolveJSModule:()=>resolveJSModule,resolveModuleName:()=>resolveModuleName,resolveModuleNameFromCache:()=>resolveModuleNameFromCache,resolvePackageNameToPackageJson:()=>resolvePackageNameToPackageJson,resolvePath:()=>BO,resolveProjectReferencePath:()=>resolveProjectReferencePath,resolveTripleslashReference:()=>resolveTripleslashReference,resolveTypeReferenceDirective:()=>resolveTypeReferenceDirective,resolvingEmptyArray:()=>Qee,restHelper:()=>restHelper,returnFalse:()=>id,returnNoopFileWatcher:()=>returnNoopFileWatcher,returnTrue:()=>gy,returnUndefined:()=>Mb,returnsPromise:()=>returnsPromise,runInitializersHelper:()=>runInitializersHelper,sameFlatMap:()=>Jo,sameMap:()=>to,sameMapping:()=>sameMapping,scanShebangTrivia:()=>JO,scanTokenAtPosition:()=>J1e,scanner:()=>d2,screenStartingMessageCodes:()=>screenStartingMessageCodes,semanticDiagnosticsOptionDeclarations:()=>semanticDiagnosticsOptionDeclarations,serializeCompilerOptions:()=>serializeCompilerOptions,server:()=>ts_server_exports,servicesVersion:()=>yie,setCommentRange:()=>setCommentRange,setConfigFileInOptions:()=>setConfigFileInOptions,setConstantValue:()=>setConstantValue,setEachParent:()=>nS,setEmitFlags:()=>setEmitFlags,setFunctionNameHelper:()=>setFunctionNameHelper,setGetSourceFileAsHashVersioned:()=>setGetSourceFileAsHashVersioned,setIdentifierAutoGenerate:()=>setIdentifierAutoGenerate,setIdentifierGeneratedImportReference:()=>setIdentifierGeneratedImportReference,setIdentifierTypeArguments:()=>setIdentifierTypeArguments,setInternalEmitFlags:()=>setInternalEmitFlags,setLocalizedDiagnosticMessages:()=>_ee,setModuleDefaultHelper:()=>setModuleDefaultHelper,setNodeFlags:()=>U2e,setObjectAllocator:()=>fee,setOriginalNode:()=>zf,setParent:()=>B0,setParentRecursive:()=>Hee,setPrivateIdentifier:()=>setPrivateIdentifier,setResolvedModule:()=>G0e,setResolvedTypeReferenceDirective:()=>J0e,setSnippetElement:()=>setSnippetElement,setSourceMapRange:()=>setSourceMapRange,setStackTraceLimit:()=>setStackTraceLimit,setStartsOnNewLine:()=>setStartsOnNewLine,setSyntheticLeadingComments:()=>setSyntheticLeadingComments,setSyntheticTrailingComments:()=>setSyntheticTrailingComments,setSys:()=>setSys,setSysLog:()=>setSysLog,setTextRange:()=>Vl,setTextRangeEnd:()=>Vee,setTextRangePos:()=>FN,setTextRangePosEnd:()=>Ub,setTextRangePosWidth:()=>PN,setTokenSourceMapRange:()=>setTokenSourceMapRange,setTypeNode:()=>setTypeNode,setUILocale:()=>H,setValueDeclaration:()=>sbe,shouldAllowImportingTsExtension:()=>shouldAllowImportingTsExtension,shouldPreserveConstEnums:()=>t2e,shouldUseUriStyleNodeCoreModules:()=>shouldUseUriStyleNodeCoreModules,showModuleSpecifier:()=>wCe,signatureHasLiteralTypes:()=>signatureHasLiteralTypes,signatureHasRestParameter:()=>signatureHasRestParameter,signatureToDisplayParts:()=>signatureToDisplayParts,single:()=>$s,singleElementArray:()=>Dt,singleIterator:()=>ip,singleOrMany:()=>vo,singleOrUndefined:()=>Qi,skipAlias:()=>pCe,skipAssertions:()=>vSe,skipConstraint:()=>skipConstraint,skipOuterExpressions:()=>o2,skipParentheses:()=>NT,skipPartiallyEmittedExpressions:()=>Y4,skipTrivia:()=>ch,skipTypeChecking:()=>R2e,skipTypeParentheses:()=>Sbe,skipWhile:()=>cn,sliceAfter:()=>F2e,some:()=>so,sort:()=>W,sortAndDeduplicate:()=>$f,sortAndDeduplicateDiagnostics:()=>Gge,sourceFileAffectingCompilerOptions:()=>sourceFileAffectingCompilerOptions,sourceFileMayBeEmitted:()=>yR,sourceMapCommentRegExp:()=>sourceMapCommentRegExp,sourceMapCommentRegExpDontCareLineStart:()=>sourceMapCommentRegExpDontCareLineStart,spacePart:()=>spacePart,spanMap:()=>zp,spreadArrayHelper:()=>spreadArrayHelper,stableSort:()=>Oe,startEndContainsRange:()=>startEndContainsRange,startEndOverlapsWithStartEnd:()=>startEndOverlapsWithStartEnd,startOnNewLine:()=>s6,startTracing:()=>startTracing,startsWith:()=>ae,startsWithDirectory:()=>Ige,startsWithUnderscore:()=>startsWithUnderscore,startsWithUseStrict:()=>bne,stringContains:()=>xe,stringContainsAt:()=>stringContainsAt,stringToToken:()=>dT,stripQuotes:()=>ive,supportedDeclarationExtensions:()=>pB,supportedJSExtensions:()=>dB,supportedJSExtensionsFlat:()=>hB,supportedLocaleDirectories:()=>wM,supportedTSExtensions:()=>YC,supportedTSExtensionsFlat:()=>cB,supportedTSImplementationExtensions:()=>mte,suppressLeadingAndTrailingTrivia:()=>suppressLeadingAndTrailingTrivia,suppressLeadingTrivia:()=>suppressLeadingTrivia,suppressTrailingTrivia:()=>suppressTrailingTrivia,symbolEscapedNameNoDefault:()=>symbolEscapedNameNoDefault,symbolName:()=>$4,symbolNameNoDefault:()=>symbolNameNoDefault,symbolPart:()=>symbolPart,symbolToDisplayParts:()=>symbolToDisplayParts,syntaxMayBeASICandidate:()=>syntaxMayBeASICandidate,syntaxRequiresTrailingSemicolonOrASI:()=>syntaxRequiresTrailingSemicolonOrASI,sys:()=>vge,sysLog:()=>sysLog,tagNamesAreEquivalent:()=>Hm,takeWhile:()=>Di,targetOptionDeclaration:()=>targetOptionDeclaration,templateObjectHelper:()=>templateObjectHelper,testFormatSettings:()=>testFormatSettings,textChangeRangeIsUnchanged:()=>oX,textChangeRangeNewSpan:()=>Ww,textChanges:()=>ts_textChanges_exports,textOrKeywordPart:()=>textOrKeywordPart,textPart:()=>textPart,textRangeContainsPositionInclusive:()=>Xge,textSpanContainsPosition:()=>Yge,textSpanContainsTextSpan:()=>Qge,textSpanEnd:()=>wh,textSpanIntersection:()=>sX,textSpanIntersectsWith:()=>tme,textSpanIntersectsWithPosition:()=>nme,textSpanIntersectsWithTextSpan:()=>eme,textSpanIsEmpty:()=>iX,textSpanOverlap:()=>rX,textSpanOverlapsWith:()=>Zge,textSpansEqual:()=>textSpansEqual,textToKeywordObj:()=>hT,timestamp:()=>ir,toArray:()=>Wh,toBuilderFileEmit:()=>toBuilderFileEmit,toBuilderStateFileInfoForMultiEmit:()=>toBuilderStateFileInfoForMultiEmit,toEditorSettings:()=>pA,toFileNameLowerCase:()=>Tw,toLowerCase:()=>Ew,toPath:()=>Bm,toProgramEmitPending:()=>toProgramEmitPending,tokenIsIdentifierOrKeyword:()=>sd,tokenIsIdentifierOrKeywordOrGreaterThan:()=>jY,tokenToString:()=>Vh,trace:()=>trace,tracing:()=>ur,tracingEnabled:()=>tracingEnabled,transform:()=>transform,transformClassFields:()=>transformClassFields,transformDeclarations:()=>transformDeclarations,transformECMAScriptModule:()=>transformECMAScriptModule,transformES2015:()=>transformES2015,transformES2016:()=>transformES2016,transformES2017:()=>transformES2017,transformES2018:()=>transformES2018,transformES2019:()=>transformES2019,transformES2020:()=>transformES2020,transformES2021:()=>transformES2021,transformES5:()=>transformES5,transformESDecorators:()=>transformESDecorators,transformESNext:()=>transformESNext,transformGenerators:()=>transformGenerators,transformJsx:()=>transformJsx,transformLegacyDecorators:()=>transformLegacyDecorators,transformModule:()=>transformModule,transformNodeModule:()=>transformNodeModule,transformNodes:()=>transformNodes,transformSystemModule:()=>transformSystemModule,transformTypeScript:()=>transformTypeScript,transpile:()=>transpile,transpileModule:()=>transpileModule,transpileOptionValueCompilerOptions:()=>transpileOptionValueCompilerOptions,trimString:()=>Fr,trimStringEnd:()=>as,trimStringStart:()=>Ds,tryAddToSet:()=>Bd,tryAndIgnoreErrors:()=>tryAndIgnoreErrors,tryCast:()=>bc,tryDirectoryExists:()=>tryDirectoryExists,tryExtractTSExtension:()=>Hve,tryFileExists:()=>tryFileExists,tryGetClassExtendingExpressionWithTypeArguments:()=>XZ,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>QZ,tryGetDirectories:()=>tryGetDirectories,tryGetExtensionFromPath:()=>qR,tryGetImportFromModuleSpecifier:()=>GQ,tryGetJSDocSatisfiesTypeNode:()=>Xee,tryGetModuleNameFromFile:()=>wne,tryGetModuleSpecifierFromDeclaration:()=>abe,tryGetNativePerformanceHooks:()=>Ta,tryGetPropertyAccessOrIdentifierToString:()=>IR,tryGetPropertyNameOfBindingOrAssignmentElement:()=>xne,tryGetSourceMappingURL:()=>tryGetSourceMappingURL,tryGetTextOfPropertyName:()=>NM,tryIOAndConsumeErrors:()=>tryIOAndConsumeErrors,tryParsePattern:()=>Ree,tryParsePatterns:()=>T2e,tryParseRawSourceMap:()=>tryParseRawSourceMap,tryReadDirectory:()=>tryReadDirectory,tryReadFile:()=>tryReadFile,tryRemoveDirectoryPrefix:()=>f2e,tryRemoveExtension:()=>Oee,tryRemovePrefix:()=>J,tryRemoveSuffix:()=>le,typeAcquisitionDeclarations:()=>typeAcquisitionDeclarations,typeAliasNamePart:()=>typeAliasNamePart,typeDirectiveIsEqualTo:()=>t1e,typeKeywords:()=>typeKeywords,typeParameterNamePart:()=>typeParameterNamePart,typeReferenceResolutionNameAndModeGetter:()=>typeReferenceResolutionNameAndModeGetter,typeToDisplayParts:()=>typeToDisplayParts,unchangedPollThresholds:()=>unchangedPollThresholds,unchangedTextChangeRange:()=>DM,unescapeLeadingUnderscores:()=>mT,unmangleScopedPackageName:()=>unmangleScopedPackageName,unorderedRemoveItem:()=>je,unorderedRemoveItemAt:()=>rt,unreachableCodeIsError:()=>JCe,unusedLabelIsError:()=>YCe,unwrapInnermostStatementOfLabel:()=>pye,updateErrorForNoInputFiles:()=>updateErrorForNoInputFiles,updateLanguageServiceSourceFile:()=>_ie,updateMissingFilePathsWatch:()=>updateMissingFilePathsWatch,updatePackageJsonWatch:()=>updatePackageJsonWatch,updateResolutionField:()=>updateResolutionField,updateSharedExtendedConfigFileWatcher:()=>updateSharedExtendedConfigFileWatcher,updateSourceFile:()=>aj,updateWatchingWildcardDirectories:()=>updateWatchingWildcardDirectories,usesExtensionsOnImports:()=>Fee,usingSingleLineStringWriter:()=>K0e,utf16EncodeAsString:()=>XO,validateLocaleAndSetLanguage:()=>ome,valuesHelper:()=>valuesHelper,version:()=>he,versionMajorMinor:()=>P,visitArray:()=>visitArray,visitCommaListElements:()=>visitCommaListElements,visitEachChild:()=>visitEachChild,visitFunctionBody:()=>visitFunctionBody,visitIterationBody:()=>visitIterationBody,visitLexicalEnvironment:()=>visitLexicalEnvironment,visitNode:()=>visitNode,visitNodes:()=>visitNodes2,visitParameterList:()=>visitParameterList,walkUpBindingElementsAndPatterns:()=>cX,walkUpLexicalEnvironments:()=>walkUpLexicalEnvironments,walkUpOuterExpressions:()=>bSe,walkUpParenthesizedExpressions:()=>oR,walkUpParenthesizedTypes:()=>Dbe,walkUpParenthesizedTypesAndGetParentAndChild:()=>wbe,whitespaceOrMapCommentRegExp:()=>whitespaceOrMapCommentRegExp,writeCommentRange:()=>xve,writeFile:()=>fve,writeFileEnsuringDirectories:()=>_ve,zipToModeAwareCache:()=>zipToModeAwareCache,zipWith:()=>Mn});var Lie=ve({\"src/typescript/_namespaces/ts.ts\"(){Qp(),hj()}}),zxe=ie({\"src/typescript/typescript.ts\"(r,c){Lie(),Lie(),typeof console<\"u\"&&(Bn.loggingHost={log(f,x){switch(f){case 1:return console.error(x);case 2:return console.warn(x);case 3:return console.log(x);case 4:return console.log(x)}}}),c.exports=kie}});v.exports=zxe()}}),Md=Gn({\"src/language-js/parse/postprocess/typescript.js\"(b,v){Li();var X=mu(),de=Vc(),ve=ep(),ie={AbstractKeyword:126,SourceFile:308,PropertyDeclaration:169};function V(S){for(;S&&S.kind!==ie.SourceFile;)S=S.parent;return S}function P(S,Re){let dt=V(S),[_n,Qt]=[S.getStart(),S.end].map(Mn=>{let{line:Bi,character:yn}=dt.getLineAndCharacterOfPosition(Mn);return{line:Bi+1,column:yn}});ve({loc:{start:_n,end:Qt}},Re)}function he(S){let Re=gl();return[!0,!1].some(dt=>Re.nodeCanBeDecorated(dt,S,S.parent,S.parent.parent))}function N(S){let{modifiers:Re}=S;if(!X(Re))return;let dt=gl(),{SyntaxKind:_n}=dt;for(let Qt of Re)dt.isDecorator(Qt)&&!he(S)&&(S.kind===_n.MethodDeclaration&&!dt.nodeIsPresent(S.body)&&P(Qt,\"A decorator can only decorate a method implementation, not an overload.\"),P(Qt,\"Decorators are not valid here.\"))}function se(S,Re){S.kind!==ie.PropertyDeclaration||S.modifiers&&!S.modifiers.some(dt=>dt.kind===ie.AbstractKeyword)||S.initializer&&Re.value===null&&ve(Re,\"Abstract property cannot have an initializer\")}function Se(S,Re){if(!/@|abstract/.test(Re.originalText))return;let{esTreeNodeToTSNodeMap:dt,tsNodeToESTreeNodeMap:_n}=S;de(S.ast,Qt=>{let Mn=dt.get(Qt);if(!Mn)return;let Bi=_n.get(Mn);Bi===Qt&&(N(Mn),se(Mn,Bi))})}v.exports={throwErrorForInvalidNodes:Se}}}),oh=Gn({\"scripts/build/shims/debug.cjs\"(b,v){Li(),v.exports=()=>()=>{}}}),bf=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/internal/constants.js\"(b,v){Li();var X=\"2.0.0\",de=256,ve=Number.MAX_SAFE_INTEGER||9007199254740991,ie=16;v.exports={SEMVER_SPEC_VERSION:X,MAX_LENGTH:de,MAX_SAFE_INTEGER:ve,MAX_SAFE_COMPONENT_LENGTH:ie}}}),vf=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/internal/debug.js\"(b,v){Li();var X=typeof Us==\"object\"&&Us.env&&Us.env.NODE_DEBUG&&/\\bsemver\\b/i.test(Us.env.NODE_DEBUG)?function(){for(var de=arguments.length,ve=new Array(de),ie=0;ie<de;ie++)ve[ie]=arguments[ie];return console.error(\"SEMVER\",...ve)}:()=>{};v.exports=X}}),Wp=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/internal/re.js\"(b,v){Li();var{MAX_SAFE_COMPONENT_LENGTH:X}=bf(),de=vf();b=v.exports={};var ve=b.re=[],ie=b.src=[],V=b.t={},P=0,he=(N,se,Se)=>{let S=P++;de(N,S,se),V[N]=S,ie[S]=se,ve[S]=new RegExp(se,Se?\"g\":void 0)};he(\"NUMERICIDENTIFIER\",\"0|[1-9]\\\\d*\"),he(\"NUMERICIDENTIFIERLOOSE\",\"[0-9]+\"),he(\"NONNUMERICIDENTIFIER\",\"\\\\d*[a-zA-Z-][a-zA-Z0-9-]*\"),he(\"MAINVERSION\",`(${ie[V.NUMERICIDENTIFIER]})\\\\.(${ie[V.NUMERICIDENTIFIER]})\\\\.(${ie[V.NUMERICIDENTIFIER]})`),he(\"MAINVERSIONLOOSE\",`(${ie[V.NUMERICIDENTIFIERLOOSE]})\\\\.(${ie[V.NUMERICIDENTIFIERLOOSE]})\\\\.(${ie[V.NUMERICIDENTIFIERLOOSE]})`),he(\"PRERELEASEIDENTIFIER\",`(?:${ie[V.NUMERICIDENTIFIER]}|${ie[V.NONNUMERICIDENTIFIER]})`),he(\"PRERELEASEIDENTIFIERLOOSE\",`(?:${ie[V.NUMERICIDENTIFIERLOOSE]}|${ie[V.NONNUMERICIDENTIFIER]})`),he(\"PRERELEASE\",`(?:-(${ie[V.PRERELEASEIDENTIFIER]}(?:\\\\.${ie[V.PRERELEASEIDENTIFIER]})*))`),he(\"PRERELEASELOOSE\",`(?:-?(${ie[V.PRERELEASEIDENTIFIERLOOSE]}(?:\\\\.${ie[V.PRERELEASEIDENTIFIERLOOSE]})*))`),he(\"BUILDIDENTIFIER\",\"[0-9A-Za-z-]+\"),he(\"BUILD\",`(?:\\\\+(${ie[V.BUILDIDENTIFIER]}(?:\\\\.${ie[V.BUILDIDENTIFIER]})*))`),he(\"FULLPLAIN\",`v?${ie[V.MAINVERSION]}${ie[V.PRERELEASE]}?${ie[V.BUILD]}?`),he(\"FULL\",`^${ie[V.FULLPLAIN]}$`),he(\"LOOSEPLAIN\",`[v=\\\\s]*${ie[V.MAINVERSIONLOOSE]}${ie[V.PRERELEASELOOSE]}?${ie[V.BUILD]}?`),he(\"LOOSE\",`^${ie[V.LOOSEPLAIN]}$`),he(\"GTLT\",\"((?:<|>)?=?)\"),he(\"XRANGEIDENTIFIERLOOSE\",`${ie[V.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`),he(\"XRANGEIDENTIFIER\",`${ie[V.NUMERICIDENTIFIER]}|x|X|\\\\*`),he(\"XRANGEPLAIN\",`[v=\\\\s]*(${ie[V.XRANGEIDENTIFIER]})(?:\\\\.(${ie[V.XRANGEIDENTIFIER]})(?:\\\\.(${ie[V.XRANGEIDENTIFIER]})(?:${ie[V.PRERELEASE]})?${ie[V.BUILD]}?)?)?`),he(\"XRANGEPLAINLOOSE\",`[v=\\\\s]*(${ie[V.XRANGEIDENTIFIERLOOSE]})(?:\\\\.(${ie[V.XRANGEIDENTIFIERLOOSE]})(?:\\\\.(${ie[V.XRANGEIDENTIFIERLOOSE]})(?:${ie[V.PRERELEASELOOSE]})?${ie[V.BUILD]}?)?)?`),he(\"XRANGE\",`^${ie[V.GTLT]}\\\\s*${ie[V.XRANGEPLAIN]}$`),he(\"XRANGELOOSE\",`^${ie[V.GTLT]}\\\\s*${ie[V.XRANGEPLAINLOOSE]}$`),he(\"COERCE\",`(^|[^\\\\d])(\\\\d{1,${X}})(?:\\\\.(\\\\d{1,${X}}))?(?:\\\\.(\\\\d{1,${X}}))?(?:$|[^\\\\d])`),he(\"COERCERTL\",ie[V.COERCE],!0),he(\"LONETILDE\",\"(?:~>?)\"),he(\"TILDETRIM\",`(\\\\s*)${ie[V.LONETILDE]}\\\\s+`,!0),b.tildeTrimReplace=\"$1~\",he(\"TILDE\",`^${ie[V.LONETILDE]}${ie[V.XRANGEPLAIN]}$`),he(\"TILDELOOSE\",`^${ie[V.LONETILDE]}${ie[V.XRANGEPLAINLOOSE]}$`),he(\"LONECARET\",\"(?:\\\\^)\"),he(\"CARETTRIM\",`(\\\\s*)${ie[V.LONECARET]}\\\\s+`,!0),b.caretTrimReplace=\"$1^\",he(\"CARET\",`^${ie[V.LONECARET]}${ie[V.XRANGEPLAIN]}$`),he(\"CARETLOOSE\",`^${ie[V.LONECARET]}${ie[V.XRANGEPLAINLOOSE]}$`),he(\"COMPARATORLOOSE\",`^${ie[V.GTLT]}\\\\s*(${ie[V.LOOSEPLAIN]})$|^$`),he(\"COMPARATOR\",`^${ie[V.GTLT]}\\\\s*(${ie[V.FULLPLAIN]})$|^$`),he(\"COMPARATORTRIM\",`(\\\\s*)${ie[V.GTLT]}\\\\s*(${ie[V.LOOSEPLAIN]}|${ie[V.XRANGEPLAIN]})`,!0),b.comparatorTrimReplace=\"$1$2$3\",he(\"HYPHENRANGE\",`^\\\\s*(${ie[V.XRANGEPLAIN]})\\\\s+-\\\\s+(${ie[V.XRANGEPLAIN]})\\\\s*$`),he(\"HYPHENRANGELOOSE\",`^\\\\s*(${ie[V.XRANGEPLAINLOOSE]})\\\\s+-\\\\s+(${ie[V.XRANGEPLAINLOOSE]})\\\\s*$`),he(\"STAR\",\"(<|>)?=?\\\\s*\\\\*\"),he(\"GTE0\",\"^\\\\s*>=\\\\s*0\\\\.0\\\\.0\\\\s*$\"),he(\"GTE0PRE\",\"^\\\\s*>=\\\\s*0\\\\.0\\\\.0-0\\\\s*$\")}}),Cf=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/internal/parse-options.js\"(b,v){Li();var X=[\"includePrerelease\",\"loose\",\"rtl\"],de=ve=>ve?typeof ve!=\"object\"?{loose:!0}:X.filter(ie=>ve[ie]).reduce((ie,V)=>(ie[V]=!0,ie),{}):{};v.exports=de}}),Vp=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/internal/identifiers.js\"(b,v){Li();var X=/^[0-9]+$/,de=(ie,V)=>{let P=X.test(ie),he=X.test(V);return P&&he&&(ie=+ie,V=+V),ie===V?0:P&&!he?-1:he&&!P?1:ie<V?-1:1},ve=(ie,V)=>de(V,ie);v.exports={compareIdentifiers:de,rcompareIdentifiers:ve}}}),hd=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/classes/semver.js\"(b,v){Li();var X=vf(),{MAX_LENGTH:de,MAX_SAFE_INTEGER:ve}=bf(),{re:ie,t:V}=Wp(),P=Cf(),{compareIdentifiers:he}=Vp(),N=class{constructor(se,Se){if(Se=P(Se),se instanceof N){if(se.loose===!!Se.loose&&se.includePrerelease===!!Se.includePrerelease)return se;se=se.version}else if(typeof se!=\"string\")throw new TypeError(`Invalid Version: ${se}`);if(se.length>de)throw new TypeError(`version is longer than ${de} characters`);X(\"SemVer\",se,Se),this.options=Se,this.loose=!!Se.loose,this.includePrerelease=!!Se.includePrerelease;let S=se.trim().match(Se.loose?ie[V.LOOSE]:ie[V.FULL]);if(!S)throw new TypeError(`Invalid Version: ${se}`);if(this.raw=se,this.major=+S[1],this.minor=+S[2],this.patch=+S[3],this.major>ve||this.major<0)throw new TypeError(\"Invalid major version\");if(this.minor>ve||this.minor<0)throw new TypeError(\"Invalid minor version\");if(this.patch>ve||this.patch<0)throw new TypeError(\"Invalid patch version\");S[4]?this.prerelease=S[4].split(\".\").map(Re=>{if(/^[0-9]+$/.test(Re)){let dt=+Re;if(dt>=0&&dt<ve)return dt}return Re}):this.prerelease=[],this.build=S[5]?S[5].split(\".\"):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(\".\")}`),this.version}toString(){return this.version}compare(se){if(X(\"SemVer.compare\",this.version,this.options,se),!(se instanceof N)){if(typeof se==\"string\"&&se===this.version)return 0;se=new N(se,this.options)}return se.version===this.version?0:this.compareMain(se)||this.comparePre(se)}compareMain(se){return se instanceof N||(se=new N(se,this.options)),he(this.major,se.major)||he(this.minor,se.minor)||he(this.patch,se.patch)}comparePre(se){if(se instanceof N||(se=new N(se,this.options)),this.prerelease.length&&!se.prerelease.length)return-1;if(!this.prerelease.length&&se.prerelease.length)return 1;if(!this.prerelease.length&&!se.prerelease.length)return 0;let Se=0;do{let S=this.prerelease[Se],Re=se.prerelease[Se];if(X(\"prerelease compare\",Se,S,Re),S===void 0&&Re===void 0)return 0;if(Re===void 0)return 1;if(S===void 0)return-1;if(S!==Re)return he(S,Re)}while(++Se)}compareBuild(se){se instanceof N||(se=new N(se,this.options));let Se=0;do{let S=this.build[Se],Re=se.build[Se];if(X(\"prerelease compare\",Se,S,Re),S===void 0&&Re===void 0)return 0;if(Re===void 0)return 1;if(S===void 0)return-1;if(S!==Re)return he(S,Re)}while(++Se)}inc(se,Se){switch(se){case\"premajor\":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc(\"pre\",Se);break;case\"preminor\":this.prerelease.length=0,this.patch=0,this.minor++,this.inc(\"pre\",Se);break;case\"prepatch\":this.prerelease.length=0,this.inc(\"patch\",Se),this.inc(\"pre\",Se);break;case\"prerelease\":this.prerelease.length===0&&this.inc(\"patch\",Se),this.inc(\"pre\",Se);break;case\"major\":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case\"minor\":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case\"patch\":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case\"pre\":if(this.prerelease.length===0)this.prerelease=[0];else{let S=this.prerelease.length;for(;--S>=0;)typeof this.prerelease[S]==\"number\"&&(this.prerelease[S]++,S=-2);S===-1&&this.prerelease.push(0)}Se&&(he(this.prerelease[0],Se)===0?isNaN(this.prerelease[1])&&(this.prerelease=[Se,0]):this.prerelease=[Se,0]);break;default:throw new Error(`invalid increment argument: ${se}`)}return this.format(),this.raw=this.version,this}};v.exports=N}}),tp=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/parse.js\"(b,v){Li();var{MAX_LENGTH:X}=bf(),{re:de,t:ve}=Wp(),ie=hd(),V=Cf(),P=(he,N)=>{if(N=V(N),he instanceof ie)return he;if(typeof he!=\"string\"||he.length>X||!(N.loose?de[ve.LOOSE]:de[ve.FULL]).test(he))return null;try{return new ie(he,N)}catch{return null}};v.exports=P}}),Ia=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/valid.js\"(b,v){Li();var X=tp(),de=(ve,ie)=>{let V=X(ve,ie);return V?V.version:null};v.exports=de}}),eg=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/clean.js\"(b,v){Li();var X=tp(),de=(ve,ie)=>{let V=X(ve.trim().replace(/^[=v]+/,\"\"),ie);return V?V.version:null};v.exports=de}}),$g=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/inc.js\"(b,v){Li();var X=hd(),de=(ve,ie,V,P)=>{typeof V==\"string\"&&(P=V,V=void 0);try{return new X(ve instanceof X?ve.version:ve,V).inc(ie,P).version}catch{return null}};v.exports=de}}),ed=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/compare.js\"(b,v){Li();var X=hd(),de=(ve,ie,V)=>new X(ve,V).compare(new X(ie,V));v.exports=de}}),Hp=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/eq.js\"(b,v){Li();var X=ed(),de=(ve,ie,V)=>X(ve,ie,V)===0;v.exports=de}}),Ke=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/diff.js\"(b,v){Li();var X=tp(),de=Hp(),ve=(ie,V)=>{if(de(ie,V))return null;{let P=X(ie),he=X(V),N=P.prerelease.length||he.prerelease.length,se=N?\"pre\":\"\",Se=N?\"prerelease\":\"\";for(let S in P)if((S===\"major\"||S===\"minor\"||S===\"patch\")&&P[S]!==he[S])return se+S;return Se}};v.exports=ve}}),U=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/major.js\"(b,v){Li();var X=hd(),de=(ve,ie)=>new X(ve,ie).major;v.exports=de}}),Pe=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/minor.js\"(b,v){Li();var X=hd(),de=(ve,ie)=>new X(ve,ie).minor;v.exports=de}}),Dn=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/patch.js\"(b,v){Li();var X=hd(),de=(ve,ie)=>new X(ve,ie).patch;v.exports=de}}),$n=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/prerelease.js\"(b,v){Li();var X=tp(),de=(ve,ie)=>{let V=X(ve,ie);return V&&V.prerelease.length?V.prerelease:null};v.exports=de}}),zn=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/rcompare.js\"(b,v){Li();var X=ed(),de=(ve,ie,V)=>X(ie,ve,V);v.exports=de}}),Ji=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/compare-loose.js\"(b,v){Li();var X=ed(),de=(ve,ie)=>X(ve,ie,!0);v.exports=de}}),or=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/compare-build.js\"(b,v){Li();var X=hd(),de=(ve,ie,V)=>{let P=new X(ve,V),he=new X(ie,V);return P.compare(he)||P.compareBuild(he)};v.exports=de}}),Ls=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/sort.js\"(b,v){Li();var X=or(),de=(ve,ie)=>ve.sort((V,P)=>X(V,P,ie));v.exports=de}}),qi=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/rsort.js\"(b,v){Li();var X=or(),de=(ve,ie)=>ve.sort((V,P)=>X(P,V,ie));v.exports=de}}),br=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/gt.js\"(b,v){Li();var X=ed(),de=(ve,ie,V)=>X(ve,ie,V)>0;v.exports=de}}),Yr=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/lt.js\"(b,v){Li();var X=ed(),de=(ve,ie,V)=>X(ve,ie,V)<0;v.exports=de}}),Cs=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/neq.js\"(b,v){Li();var X=ed(),de=(ve,ie,V)=>X(ve,ie,V)!==0;v.exports=de}}),rs=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/gte.js\"(b,v){Li();var X=ed(),de=(ve,ie,V)=>X(ve,ie,V)>=0;v.exports=de}}),Ps=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/lte.js\"(b,v){Li();var X=ed(),de=(ve,ie,V)=>X(ve,ie,V)<=0;v.exports=de}}),Os=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/cmp.js\"(b,v){Li();var X=Hp(),de=Cs(),ve=br(),ie=rs(),V=Yr(),P=Ps(),he=(N,se,Se,S)=>{switch(se){case\"===\":return typeof N==\"object\"&&(N=N.version),typeof Se==\"object\"&&(Se=Se.version),N===Se;case\"!==\":return typeof N==\"object\"&&(N=N.version),typeof Se==\"object\"&&(Se=Se.version),N!==Se;case\"\":case\"=\":case\"==\":return X(N,Se,S);case\"!=\":return de(N,Se,S);case\">\":return ve(N,Se,S);case\">=\":return ie(N,Se,S);case\"<\":return V(N,Se,S);case\"<=\":return P(N,Se,S);default:throw new TypeError(`Invalid operator: ${se}`)}};v.exports=he}}),zs=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/coerce.js\"(b,v){Li();var X=hd(),de=tp(),{re:ve,t:ie}=Wp(),V=(P,he)=>{if(P instanceof X)return P;if(typeof P==\"number\"&&(P=String(P)),typeof P!=\"string\")return null;he=he||{};let N=null;if(!he.rtl)N=P.match(ve[ie.COERCE]);else{let se;for(;(se=ve[ie.COERCERTL].exec(P))&&(!N||N.index+N[0].length!==P.length);)(!N||se.index+se[0].length!==N.index+N[0].length)&&(N=se),ve[ie.COERCERTL].lastIndex=se.index+se[1].length+se[2].length;ve[ie.COERCERTL].lastIndex=-1}return N===null?null:de(`${N[2]}.${N[3]||\"0\"}.${N[4]||\"0\"}`,he)};v.exports=V}}),sa=Gn({\"node_modules/yallist/iterator.js\"(b,v){Li(),v.exports=function(X){X.prototype[Symbol.iterator]=function*(){for(let de=this.head;de;de=de.next)yield de.value}}}}),sn=Gn({\"node_modules/yallist/yallist.js\"(b,v){Li(),v.exports=X,X.Node=V,X.create=X;function X(P){var he=this;if(he instanceof X||(he=new X),he.tail=null,he.head=null,he.length=0,P&&typeof P.forEach==\"function\")P.forEach(function(Se){he.push(Se)});else if(arguments.length>0)for(var N=0,se=arguments.length;N<se;N++)he.push(arguments[N]);return he}X.prototype.removeNode=function(P){if(P.list!==this)throw new Error(\"removing node which does not belong to this list\");var he=P.next,N=P.prev;return he&&(he.prev=N),N&&(N.next=he),P===this.head&&(this.head=he),P===this.tail&&(this.tail=N),P.list.length--,P.next=null,P.prev=null,P.list=null,he},X.prototype.unshiftNode=function(P){if(P!==this.head){P.list&&P.list.removeNode(P);var he=this.head;P.list=this,P.next=he,he&&(he.prev=P),this.head=P,this.tail||(this.tail=P),this.length++}},X.prototype.pushNode=function(P){if(P!==this.tail){P.list&&P.list.removeNode(P);var he=this.tail;P.list=this,P.prev=he,he&&(he.next=P),this.tail=P,this.head||(this.head=P),this.length++}},X.prototype.push=function(){for(var P=0,he=arguments.length;P<he;P++)ve(this,arguments[P]);return this.length},X.prototype.unshift=function(){for(var P=0,he=arguments.length;P<he;P++)ie(this,arguments[P]);return this.length},X.prototype.pop=function(){if(this.tail){var P=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,P}},X.prototype.shift=function(){if(this.head){var P=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,P}},X.prototype.forEach=function(P,he){he=he||this;for(var N=this.head,se=0;N!==null;se++)P.call(he,N.value,se,this),N=N.next},X.prototype.forEachReverse=function(P,he){he=he||this;for(var N=this.tail,se=this.length-1;N!==null;se--)P.call(he,N.value,se,this),N=N.prev},X.prototype.get=function(P){for(var he=0,N=this.head;N!==null&&he<P;he++)N=N.next;if(he===P&&N!==null)return N.value},X.prototype.getReverse=function(P){for(var he=0,N=this.tail;N!==null&&he<P;he++)N=N.prev;if(he===P&&N!==null)return N.value},X.prototype.map=function(P,he){he=he||this;for(var N=new X,se=this.head;se!==null;)N.push(P.call(he,se.value,this)),se=se.next;return N},X.prototype.mapReverse=function(P,he){he=he||this;for(var N=new X,se=this.tail;se!==null;)N.push(P.call(he,se.value,this)),se=se.prev;return N},X.prototype.reduce=function(P,he){var N,se=this.head;if(arguments.length>1)N=he;else if(this.head)se=this.head.next,N=this.head.value;else throw new TypeError(\"Reduce of empty list with no initial value\");for(var Se=0;se!==null;Se++)N=P(N,se.value,Se),se=se.next;return N},X.prototype.reduceReverse=function(P,he){var N,se=this.tail;if(arguments.length>1)N=he;else if(this.tail)se=this.tail.prev,N=this.tail.value;else throw new TypeError(\"Reduce of empty list with no initial value\");for(var Se=this.length-1;se!==null;Se--)N=P(N,se.value,Se),se=se.prev;return N},X.prototype.toArray=function(){for(var P=new Array(this.length),he=0,N=this.head;N!==null;he++)P[he]=N.value,N=N.next;return P},X.prototype.toArrayReverse=function(){for(var P=new Array(this.length),he=0,N=this.tail;N!==null;he++)P[he]=N.value,N=N.prev;return P},X.prototype.slice=function(P,he){he=he||this.length,he<0&&(he+=this.length),P=P||0,P<0&&(P+=this.length);var N=new X;if(he<P||he<0)return N;P<0&&(P=0),he>this.length&&(he=this.length);for(var se=0,Se=this.head;Se!==null&&se<P;se++)Se=Se.next;for(;Se!==null&&se<he;se++,Se=Se.next)N.push(Se.value);return N},X.prototype.sliceReverse=function(P,he){he=he||this.length,he<0&&(he+=this.length),P=P||0,P<0&&(P+=this.length);var N=new X;if(he<P||he<0)return N;P<0&&(P=0),he>this.length&&(he=this.length);for(var se=this.length,Se=this.tail;Se!==null&&se>he;se--)Se=Se.prev;for(;Se!==null&&se>P;se--,Se=Se.prev)N.push(Se.value);return N},X.prototype.splice=function(P,he){P>this.length&&(P=this.length-1),P<0&&(P=this.length+P);for(var N=0,se=this.head;se!==null&&N<P;N++)se=se.next;for(var Se=[],N=0;se&&N<he;N++)Se.push(se.value),se=this.removeNode(se);se===null&&(se=this.tail),se!==this.head&&se!==this.tail&&(se=se.prev);for(var N=0;N<(arguments.length<=2?0:arguments.length-2);N++)se=de(this,se,N+2<2||arguments.length<=N+2?void 0:arguments[N+2]);return Se},X.prototype.reverse=function(){for(var P=this.head,he=this.tail,N=P;N!==null;N=N.prev){var se=N.prev;N.prev=N.next,N.next=se}return this.head=he,this.tail=P,this};function de(P,he,N){var se=he===P.head?new V(N,null,he,P):new V(N,he,he.next,P);return se.next===null&&(P.tail=se),se.prev===null&&(P.head=se),P.length++,se}function ve(P,he){P.tail=new V(he,P.tail,null,P),P.head||(P.head=P.tail),P.length++}function ie(P,he){P.head=new V(he,null,P.head,P),P.tail||(P.tail=P.head),P.length++}function V(P,he,N,se){if(!(this instanceof V))return new V(P,he,N,se);this.list=se,this.value=P,he?(he.next=this,this.prev=he):this.prev=null,N?(N.prev=this,this.next=N):this.next=null}try{sa()(X)}catch{}}}),Ze=Gn({\"node_modules/lru-cache/index.js\"(b,v){Li();var X=sn(),de=Symbol(\"max\"),ve=Symbol(\"length\"),ie=Symbol(\"lengthCalculator\"),V=Symbol(\"allowStale\"),P=Symbol(\"maxAge\"),he=Symbol(\"dispose\"),N=Symbol(\"noDisposeOnSet\"),se=Symbol(\"lruList\"),Se=Symbol(\"cache\"),S=Symbol(\"updateAgeOnGet\"),Re=()=>1,dt=class{constructor(Ut){if(typeof Ut==\"number\"&&(Ut={max:Ut}),Ut||(Ut={}),Ut.max&&(typeof Ut.max!=\"number\"||Ut.max<0))throw new TypeError(\"max must be a non-negative number\");this[de]=Ut.max||1/0;let In=Ut.length||Re;if(this[ie]=typeof In!=\"function\"?Re:In,this[V]=Ut.stale||!1,Ut.maxAge&&typeof Ut.maxAge!=\"number\")throw new TypeError(\"maxAge must be a number\");this[P]=Ut.maxAge||0,this[he]=Ut.dispose,this[N]=Ut.noDisposeOnSet||!1,this[S]=Ut.updateAgeOnGet||!1,this.reset()}set max(Ut){if(typeof Ut!=\"number\"||Ut<0)throw new TypeError(\"max must be a non-negative number\");this[de]=Ut||1/0,Mn(this)}get max(){return this[de]}set allowStale(Ut){this[V]=!!Ut}get allowStale(){return this[V]}set maxAge(Ut){if(typeof Ut!=\"number\")throw new TypeError(\"maxAge must be a non-negative number\");this[P]=Ut,Mn(this)}get maxAge(){return this[P]}set lengthCalculator(Ut){typeof Ut!=\"function\"&&(Ut=Re),Ut!==this[ie]&&(this[ie]=Ut,this[ve]=0,this[se].forEach(In=>{In.length=this[ie](In.value,In.key),this[ve]+=In.length})),Mn(this)}get lengthCalculator(){return this[ie]}get length(){return this[ve]}get itemCount(){return this[se].length}rforEach(Ut,In){In=In||this;for(let Vi=this[se].tail;Vi!==null;){let ct=Vi.prev;vn(this,Ut,Vi,In),Vi=ct}}forEach(Ut,In){In=In||this;for(let Vi=this[se].head;Vi!==null;){let ct=Vi.next;vn(this,Ut,Vi,In),Vi=ct}}keys(){return this[se].toArray().map(Ut=>Ut.key)}values(){return this[se].toArray().map(Ut=>Ut.value)}reset(){this[he]&&this[se]&&this[se].length&&this[se].forEach(Ut=>this[he](Ut.key,Ut.value)),this[Se]=new Map,this[se]=new X,this[ve]=0}dump(){return this[se].map(Ut=>Qt(this,Ut)?!1:{k:Ut.key,v:Ut.value,e:Ut.now+(Ut.maxAge||0)}).toArray().filter(Ut=>Ut)}dumpLru(){return this[se]}set(Ut,In,Vi){if(Vi=Vi||this[P],Vi&&typeof Vi!=\"number\")throw new TypeError(\"maxAge must be a number\");let ct=Vi?Date.now():0,xi=this[ie](In,Ut);if(this[Se].has(Ut)){if(xi>this[de])return Bi(this,this[Se].get(Ut)),!1;let xr=this[Se].get(Ut).value;return this[he]&&(this[N]||this[he](Ut,xr.value)),xr.now=ct,xr.maxAge=Vi,xr.value=In,this[ve]+=xi-xr.length,xr.length=xi,this.get(Ut),Mn(this),!0}let qr=new yn(Ut,In,xi,ct,Vi);return qr.length>this[de]?(this[he]&&this[he](Ut,In),!1):(this[ve]+=qr.length,this[se].unshift(qr),this[Se].set(Ut,this[se].head),Mn(this),!0)}has(Ut){if(!this[Se].has(Ut))return!1;let In=this[Se].get(Ut).value;return!Qt(this,In)}get(Ut){return _n(this,Ut,!0)}peek(Ut){return _n(this,Ut,!1)}pop(){let Ut=this[se].tail;return Ut?(Bi(this,Ut),Ut.value):null}del(Ut){Bi(this,this[Se].get(Ut))}load(Ut){this.reset();let In=Date.now();for(let Vi=Ut.length-1;Vi>=0;Vi--){let ct=Ut[Vi],xi=ct.e||0;if(xi===0)this.set(ct.k,ct.v);else{let qr=xi-In;qr>0&&this.set(ct.k,ct.v,qr)}}}prune(){this[Se].forEach((Ut,In)=>_n(this,In,!1))}},_n=(Ut,In,Vi)=>{let ct=Ut[Se].get(In);if(ct){let xi=ct.value;if(Qt(Ut,xi)){if(Bi(Ut,ct),!Ut[V])return}else Vi&&(Ut[S]&&(ct.value.now=Date.now()),Ut[se].unshiftNode(ct));return xi.value}},Qt=(Ut,In)=>{if(!In||!In.maxAge&&!Ut[P])return!1;let Vi=Date.now()-In.now;return In.maxAge?Vi>In.maxAge:Ut[P]&&Vi>Ut[P]},Mn=Ut=>{if(Ut[ve]>Ut[de])for(let In=Ut[se].tail;Ut[ve]>Ut[de]&&In!==null;){let Vi=In.prev;Bi(Ut,In),In=Vi}},Bi=(Ut,In)=>{if(In){let Vi=In.value;Ut[he]&&Ut[he](Vi.key,Vi.value),Ut[ve]-=Vi.length,Ut[Se].delete(Vi.key),Ut[se].removeNode(In)}},yn=class{constructor(Ut,In,Vi,ct,xi){this.key=Ut,this.value=In,this.length=Vi,this.now=ct,this.maxAge=xi||0}},vn=(Ut,In,Vi,ct)=>{let xi=Vi.value;Qt(Ut,xi)&&(Bi(Ut,Vi),Ut[V]||(xi=void 0)),xi&&In.call(ct,xi.value,xi.key,Ut)};v.exports=dt}}),be=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/classes/range.js\"(b,v){Li();var X=class{constructor(Mi,ms){if(ms=ie(ms),Mi instanceof X)return Mi.loose===!!ms.loose&&Mi.includePrerelease===!!ms.includePrerelease?Mi:new X(Mi.raw,ms);if(Mi instanceof V)return this.raw=Mi.value,this.set=[[Mi]],this.format(),this;if(this.options=ms,this.loose=!!ms.loose,this.includePrerelease=!!ms.includePrerelease,this.raw=Mi,this.set=Mi.split(\"||\").map(Ks=>this.parseRange(Ks.trim())).filter(Ks=>Ks.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${Mi}`);if(this.set.length>1){let Ks=this.set[0];if(this.set=this.set.filter(is=>!dt(is[0])),this.set.length===0)this.set=[Ks];else if(this.set.length>1){for(let is of this.set)if(is.length===1&&_n(is[0])){this.set=[is];break}}}this.format()}format(){return this.range=this.set.map(Mi=>Mi.join(\" \").trim()).join(\"||\").trim(),this.range}toString(){return this.range}parseRange(Mi){Mi=Mi.trim();let ms=`parseRange:${Object.keys(this.options).join(\",\")}:${Mi}`,Ks=ve.get(ms);if(Ks)return Ks;let is=this.options.loose,Ms=is?N[se.HYPHENRANGELOOSE]:N[se.HYPHENRANGE];Mi=Mi.replace(Ms,xr(this.options.includePrerelease)),P(\"hyphen replace\",Mi),Mi=Mi.replace(N[se.COMPARATORTRIM],Se),P(\"comparator trim\",Mi),Mi=Mi.replace(N[se.TILDETRIM],S),Mi=Mi.replace(N[se.CARETTRIM],Re),Mi=Mi.split(/\\s+/).join(\" \");let to=Mi.split(\" \").map(ss=>Mn(ss,this.options)).join(\" \").split(/\\s+/).map(ss=>qr(ss,this.options));is&&(to=to.filter(ss=>(P(\"loose invalid filter\",ss,this.options),!!ss.match(N[se.COMPARATORLOOSE])))),P(\"range list\",to);let Lo=new Map,ji=to.map(ss=>new V(ss,this.options));for(let ss of ji){if(dt(ss))return[ss];Lo.set(ss.value,ss)}Lo.size>1&&Lo.has(\"\")&&Lo.delete(\"\");let jr=[...Lo.values()];return ve.set(ms,jr),jr}intersects(Mi,ms){if(!(Mi instanceof X))throw new TypeError(\"a Range is required\");return this.set.some(Ks=>Qt(Ks,ms)&&Mi.set.some(is=>Qt(is,ms)&&Ks.every(Ms=>is.every(to=>Ms.intersects(to,ms)))))}test(Mi){if(!Mi)return!1;if(typeof Mi==\"string\")try{Mi=new he(Mi,this.options)}catch{return!1}for(let ms=0;ms<this.set.length;ms++)if(Bs(this.set[ms],Mi,this.options))return!0;return!1}};v.exports=X;var de=Ze(),ve=new de({max:1e3}),ie=Cf(),V=ze(),P=vf(),he=hd(),{re:N,t:se,comparatorTrimReplace:Se,tildeTrimReplace:S,caretTrimReplace:Re}=Wp(),dt=Mi=>Mi.value===\"<0.0.0-0\",_n=Mi=>Mi.value===\"\",Qt=(Mi,ms)=>{let Ks=!0,is=Mi.slice(),Ms=is.pop();for(;Ks&&is.length;)Ks=is.every(to=>Ms.intersects(to,ms)),Ms=is.pop();return Ks},Mn=(Mi,ms)=>(P(\"comp\",Mi,ms),Mi=Ut(Mi,ms),P(\"caret\",Mi),Mi=yn(Mi,ms),P(\"tildes\",Mi),Mi=Vi(Mi,ms),P(\"xrange\",Mi),Mi=xi(Mi,ms),P(\"stars\",Mi),Mi),Bi=Mi=>!Mi||Mi.toLowerCase()===\"x\"||Mi===\"*\",yn=(Mi,ms)=>Mi.trim().split(/\\s+/).map(Ks=>vn(Ks,ms)).join(\" \"),vn=(Mi,ms)=>{let Ks=ms.loose?N[se.TILDELOOSE]:N[se.TILDE];return Mi.replace(Ks,(is,Ms,to,Lo,ji)=>{P(\"tilde\",Mi,is,Ms,to,Lo,ji);let jr;return Bi(Ms)?jr=\"\":Bi(to)?jr=`>=${Ms}.0.0 <${+Ms+1}.0.0-0`:Bi(Lo)?jr=`>=${Ms}.${to}.0 <${Ms}.${+to+1}.0-0`:ji?(P(\"replaceTilde pr\",ji),jr=`>=${Ms}.${to}.${Lo}-${ji} <${Ms}.${+to+1}.0-0`):jr=`>=${Ms}.${to}.${Lo} <${Ms}.${+to+1}.0-0`,P(\"tilde return\",jr),jr})},Ut=(Mi,ms)=>Mi.trim().split(/\\s+/).map(Ks=>In(Ks,ms)).join(\" \"),In=(Mi,ms)=>{P(\"caret\",Mi,ms);let Ks=ms.loose?N[se.CARETLOOSE]:N[se.CARET],is=ms.includePrerelease?\"-0\":\"\";return Mi.replace(Ks,(Ms,to,Lo,ji,jr)=>{P(\"caret\",Mi,Ms,to,Lo,ji,jr);let ss;return Bi(to)?ss=\"\":Bi(Lo)?ss=`>=${to}.0.0${is} <${+to+1}.0.0-0`:Bi(ji)?to===\"0\"?ss=`>=${to}.${Lo}.0${is} <${to}.${+Lo+1}.0-0`:ss=`>=${to}.${Lo}.0${is} <${+to+1}.0.0-0`:jr?(P(\"replaceCaret pr\",jr),to===\"0\"?Lo===\"0\"?ss=`>=${to}.${Lo}.${ji}-${jr} <${to}.${Lo}.${+ji+1}-0`:ss=`>=${to}.${Lo}.${ji}-${jr} <${to}.${+Lo+1}.0-0`:ss=`>=${to}.${Lo}.${ji}-${jr} <${+to+1}.0.0-0`):(P(\"no pr\"),to===\"0\"?Lo===\"0\"?ss=`>=${to}.${Lo}.${ji}${is} <${to}.${Lo}.${+ji+1}-0`:ss=`>=${to}.${Lo}.${ji}${is} <${to}.${+Lo+1}.0-0`:ss=`>=${to}.${Lo}.${ji} <${+to+1}.0.0-0`),P(\"caret return\",ss),ss})},Vi=(Mi,ms)=>(P(\"replaceXRanges\",Mi,ms),Mi.split(/\\s+/).map(Ks=>ct(Ks,ms)).join(\" \")),ct=(Mi,ms)=>{Mi=Mi.trim();let Ks=ms.loose?N[se.XRANGELOOSE]:N[se.XRANGE];return Mi.replace(Ks,(is,Ms,to,Lo,ji,jr)=>{P(\"xRange\",Mi,is,Ms,to,Lo,ji,jr);let ss=Bi(to),Jo=ss||Bi(Lo),da=Jo||Bi(ji),ha=da;return Ms===\"=\"&&ha&&(Ms=\"\"),jr=ms.includePrerelease?\"-0\":\"\",ss?Ms===\">\"||Ms===\"<\"?is=\"<0.0.0-0\":is=\"*\":Ms&&ha?(Jo&&(Lo=0),ji=0,Ms===\">\"?(Ms=\">=\",Jo?(to=+to+1,Lo=0,ji=0):(Lo=+Lo+1,ji=0)):Ms===\"<=\"&&(Ms=\"<\",Jo?to=+to+1:Lo=+Lo+1),Ms===\"<\"&&(jr=\"-0\"),is=`${Ms+to}.${Lo}.${ji}${jr}`):Jo?is=`>=${to}.0.0${jr} <${+to+1}.0.0-0`:da&&(is=`>=${to}.${Lo}.0${jr} <${to}.${+Lo+1}.0-0`),P(\"xRange return\",is),is})},xi=(Mi,ms)=>(P(\"replaceStars\",Mi,ms),Mi.trim().replace(N[se.STAR],\"\")),qr=(Mi,ms)=>(P(\"replaceGTE0\",Mi,ms),Mi.trim().replace(N[ms.includePrerelease?se.GTE0PRE:se.GTE0],\"\")),xr=Mi=>(ms,Ks,is,Ms,to,Lo,ji,jr,ss,Jo,da,ha,cc)=>(Bi(is)?Ks=\"\":Bi(Ms)?Ks=`>=${is}.0.0${Mi?\"-0\":\"\"}`:Bi(to)?Ks=`>=${is}.${Ms}.0${Mi?\"-0\":\"\"}`:Lo?Ks=`>=${Ks}`:Ks=`>=${Ks}${Mi?\"-0\":\"\"}`,Bi(ss)?jr=\"\":Bi(Jo)?jr=`<${+ss+1}.0.0-0`:Bi(da)?jr=`<${ss}.${+Jo+1}.0-0`:ha?jr=`<=${ss}.${Jo}.${da}-${ha}`:Mi?jr=`<${ss}.${Jo}.${+da+1}-0`:jr=`<=${jr}`,`${Ks} ${jr}`.trim()),Bs=(Mi,ms,Ks)=>{for(let is=0;is<Mi.length;is++)if(!Mi[is].test(ms))return!1;if(ms.prerelease.length&&!Ks.includePrerelease){for(let is=0;is<Mi.length;is++)if(P(Mi[is].semver),Mi[is].semver!==V.ANY&&Mi[is].semver.prerelease.length>0){let Ms=Mi[is].semver;if(Ms.major===ms.major&&Ms.minor===ms.minor&&Ms.patch===ms.patch)return!0}return!1}return!0}}}),ze=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/classes/comparator.js\"(b,v){Li();var X=Symbol(\"SemVer ANY\"),de=class{static get ANY(){return X}constructor(Se,S){if(S=ve(S),Se instanceof de){if(Se.loose===!!S.loose)return Se;Se=Se.value}he(\"comparator\",Se,S),this.options=S,this.loose=!!S.loose,this.parse(Se),this.semver===X?this.value=\"\":this.value=this.operator+this.semver.version,he(\"comp\",this)}parse(Se){let S=this.options.loose?ie[V.COMPARATORLOOSE]:ie[V.COMPARATOR],Re=Se.match(S);if(!Re)throw new TypeError(`Invalid comparator: ${Se}`);this.operator=Re[1]!==void 0?Re[1]:\"\",this.operator===\"=\"&&(this.operator=\"\"),Re[2]?this.semver=new N(Re[2],this.options.loose):this.semver=X}toString(){return this.value}test(Se){if(he(\"Comparator.test\",Se,this.options.loose),this.semver===X||Se===X)return!0;if(typeof Se==\"string\")try{Se=new N(Se,this.options)}catch{return!1}return P(Se,this.operator,this.semver,this.options)}intersects(Se,S){if(!(Se instanceof de))throw new TypeError(\"a Comparator is required\");if((!S||typeof S!=\"object\")&&(S={loose:!!S,includePrerelease:!1}),this.operator===\"\")return this.value===\"\"?!0:new se(Se.value,S).test(this.value);if(Se.operator===\"\")return Se.value===\"\"?!0:new se(this.value,S).test(Se.semver);let Re=(this.operator===\">=\"||this.operator===\">\")&&(Se.operator===\">=\"||Se.operator===\">\"),dt=(this.operator===\"<=\"||this.operator===\"<\")&&(Se.operator===\"<=\"||Se.operator===\"<\"),_n=this.semver.version===Se.semver.version,Qt=(this.operator===\">=\"||this.operator===\"<=\")&&(Se.operator===\">=\"||Se.operator===\"<=\"),Mn=P(this.semver,\"<\",Se.semver,S)&&(this.operator===\">=\"||this.operator===\">\")&&(Se.operator===\"<=\"||Se.operator===\"<\"),Bi=P(this.semver,\">\",Se.semver,S)&&(this.operator===\"<=\"||this.operator===\"<\")&&(Se.operator===\">=\"||Se.operator===\">\");return Re||dt||_n&&Qt||Mn||Bi}};v.exports=de;var ve=Cf(),{re:ie,t:V}=Wp(),P=Os(),he=vf(),N=hd(),se=be()}}),jt=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/satisfies.js\"(b,v){Li();var X=be(),de=(ve,ie,V)=>{try{ie=new X(ie,V)}catch{return!1}return ie.test(ve)};v.exports=de}}),Ln=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/to-comparators.js\"(b,v){Li();var X=be(),de=(ve,ie)=>new X(ve,ie).set.map(V=>V.map(P=>P.value).join(\" \").trim().split(\" \"));v.exports=de}}),Xn=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/max-satisfying.js\"(b,v){Li();var X=hd(),de=be(),ve=(ie,V,P)=>{let he=null,N=null,se=null;try{se=new de(V,P)}catch{return null}return ie.forEach(Se=>{se.test(Se)&&(!he||N.compare(Se)===-1)&&(he=Se,N=new X(he,P))}),he};v.exports=ve}}),bn=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/min-satisfying.js\"(b,v){Li();var X=hd(),de=be(),ve=(ie,V,P)=>{let he=null,N=null,se=null;try{se=new de(V,P)}catch{return null}return ie.forEach(Se=>{se.test(Se)&&(!he||N.compare(Se)===1)&&(he=Se,N=new X(he,P))}),he};v.exports=ve}}),ii=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/min-version.js\"(b,v){Li();var X=hd(),de=be(),ve=br(),ie=(V,P)=>{V=new de(V,P);let he=new X(\"0.0.0\");if(V.test(he)||(he=new X(\"0.0.0-0\"),V.test(he)))return he;he=null;for(let N=0;N<V.set.length;++N){let se=V.set[N],Se=null;se.forEach(S=>{let Re=new X(S.semver.version);switch(S.operator){case\">\":Re.prerelease.length===0?Re.patch++:Re.prerelease.push(0),Re.raw=Re.format();case\"\":case\">=\":(!Se||ve(Re,Se))&&(Se=Re);break;case\"<\":case\"<=\":break;default:throw new Error(`Unexpected operation: ${S.operator}`)}}),Se&&(!he||ve(he,Se))&&(he=Se)}return he&&V.test(he)?he:null};v.exports=ie}}),Ir=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/valid.js\"(b,v){Li();var X=be(),de=(ve,ie)=>{try{return new X(ve,ie).range||\"*\"}catch{return null}};v.exports=de}}),gs=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/outside.js\"(b,v){Li();var X=hd(),de=ze(),{ANY:ve}=de,ie=be(),V=jt(),P=br(),he=Yr(),N=Ps(),se=rs(),Se=(S,Re,dt,_n)=>{S=new X(S,_n),Re=new ie(Re,_n);let Qt,Mn,Bi,yn,vn;switch(dt){case\">\":Qt=P,Mn=N,Bi=he,yn=\">\",vn=\">=\";break;case\"<\":Qt=he,Mn=se,Bi=P,yn=\"<\",vn=\"<=\";break;default:throw new TypeError('Must provide a hilo val of \"<\" or \">\"')}if(V(S,Re,_n))return!1;for(let Ut=0;Ut<Re.set.length;++Ut){let In=Re.set[Ut],Vi=null,ct=null;if(In.forEach(xi=>{xi.semver===ve&&(xi=new de(\">=0.0.0\")),Vi=Vi||xi,ct=ct||xi,Qt(xi.semver,Vi.semver,_n)?Vi=xi:Bi(xi.semver,ct.semver,_n)&&(ct=xi)}),Vi.operator===yn||Vi.operator===vn||(!ct.operator||ct.operator===yn)&&Mn(S,ct.semver)||ct.operator===vn&&Bi(S,ct.semver))return!1}return!0};v.exports=Se}}),Ys=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/gtr.js\"(b,v){Li();var X=gs(),de=(ve,ie,V)=>X(ve,ie,\">\",V);v.exports=de}}),_a=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/ltr.js\"(b,v){Li();var X=gs(),de=(ve,ie,V)=>X(ve,ie,\"<\",V);v.exports=de}}),Eo=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/intersects.js\"(b,v){Li();var X=be(),de=(ve,ie,V)=>(ve=new X(ve,V),ie=new X(ie,V),ve.intersects(ie));v.exports=de}}),pl=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/simplify.js\"(b,v){Li();var X=jt(),de=ed();v.exports=(ve,ie,V)=>{let P=[],he=null,N=null,se=ve.sort((dt,_n)=>de(dt,_n,V));for(let dt of se)X(dt,ie,V)?(N=dt,he||(he=dt)):(N&&P.push([he,N]),N=null,he=null);he&&P.push([he,null]);let Se=[];for(let[dt,_n]of P)dt===_n?Se.push(dt):!_n&&dt===se[0]?Se.push(\"*\"):_n?dt===se[0]?Se.push(`<=${_n}`):Se.push(`${dt} - ${_n}`):Se.push(`>=${dt}`);let S=Se.join(\" || \"),Re=typeof ie.raw==\"string\"?ie.raw:String(ie);return S.length<Re.length?S:ie}}}),Jl=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/subset.js\"(b,v){Li();var X=be(),de=ze(),{ANY:ve}=de,ie=jt(),V=ed(),P=function(Se,S){let Re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(Se===S)return!0;Se=new X(Se,Re),S=new X(S,Re);let dt=!1;e:for(let _n of Se.set){for(let Qt of S.set){let Mn=he(_n,Qt,Re);if(dt=dt||Mn!==null,Mn)continue e}if(dt)return!1}return!0},he=(Se,S,Re)=>{if(Se===S)return!0;if(Se.length===1&&Se[0].semver===ve){if(S.length===1&&S[0].semver===ve)return!0;Re.includePrerelease?Se=[new de(\">=0.0.0-0\")]:Se=[new de(\">=0.0.0\")]}if(S.length===1&&S[0].semver===ve){if(Re.includePrerelease)return!0;S=[new de(\">=0.0.0\")]}let dt=new Set,_n,Qt;for(let ct of Se)ct.operator===\">\"||ct.operator===\">=\"?_n=N(_n,ct,Re):ct.operator===\"<\"||ct.operator===\"<=\"?Qt=se(Qt,ct,Re):dt.add(ct.semver);if(dt.size>1)return null;let Mn;if(_n&&Qt&&(Mn=V(_n.semver,Qt.semver,Re),Mn>0||Mn===0&&(_n.operator!==\">=\"||Qt.operator!==\"<=\")))return null;for(let ct of dt){if(_n&&!ie(ct,String(_n),Re)||Qt&&!ie(ct,String(Qt),Re))return null;for(let xi of S)if(!ie(ct,String(xi),Re))return!1;return!0}let Bi,yn,vn,Ut,In=Qt&&!Re.includePrerelease&&Qt.semver.prerelease.length?Qt.semver:!1,Vi=_n&&!Re.includePrerelease&&_n.semver.prerelease.length?_n.semver:!1;In&&In.prerelease.length===1&&Qt.operator===\"<\"&&In.prerelease[0]===0&&(In=!1);for(let ct of S){if(Ut=Ut||ct.operator===\">\"||ct.operator===\">=\",vn=vn||ct.operator===\"<\"||ct.operator===\"<=\",_n){if(Vi&&ct.semver.prerelease&&ct.semver.prerelease.length&&ct.semver.major===Vi.major&&ct.semver.minor===Vi.minor&&ct.semver.patch===Vi.patch&&(Vi=!1),ct.operator===\">\"||ct.operator===\">=\"){if(Bi=N(_n,ct,Re),Bi===ct&&Bi!==_n)return!1}else if(_n.operator===\">=\"&&!ie(_n.semver,String(ct),Re))return!1}if(Qt){if(In&&ct.semver.prerelease&&ct.semver.prerelease.length&&ct.semver.major===In.major&&ct.semver.minor===In.minor&&ct.semver.patch===In.patch&&(In=!1),ct.operator===\"<\"||ct.operator===\"<=\"){if(yn=se(Qt,ct,Re),yn===ct&&yn!==Qt)return!1}else if(Qt.operator===\"<=\"&&!ie(Qt.semver,String(ct),Re))return!1}if(!ct.operator&&(Qt||_n)&&Mn!==0)return!1}return!(_n&&vn&&!Qt&&Mn!==0||Qt&&Ut&&!_n&&Mn!==0||Vi||In)},N=(Se,S,Re)=>{if(!Se)return S;let dt=V(Se.semver,S.semver,Re);return dt>0?Se:dt<0||S.operator===\">\"&&Se.operator===\">=\"?S:Se},se=(Se,S,Re)=>{if(!Se)return S;let dt=V(Se.semver,S.semver,Re);return dt<0?Se:dt>0||S.operator===\"<\"&&Se.operator===\"<=\"?S:Se};v.exports=P}}),Tu=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/semver/index.js\"(b,v){Li();var X=Wp(),de=bf(),ve=hd(),ie=Vp(),V=tp(),P=Ia(),he=eg(),N=$g(),se=Ke(),Se=U(),S=Pe(),Re=Dn(),dt=$n(),_n=ed(),Qt=zn(),Mn=Ji(),Bi=or(),yn=Ls(),vn=qi(),Ut=br(),In=Yr(),Vi=Hp(),ct=Cs(),xi=rs(),qr=Ps(),xr=Os(),Bs=zs(),Mi=ze(),ms=be(),Ks=jt(),is=Ln(),Ms=Xn(),to=bn(),Lo=ii(),ji=Ir(),jr=gs(),ss=Ys(),Jo=_a(),da=Eo(),ha=pl(),cc=Jl();v.exports={parse:V,valid:P,clean:he,inc:N,diff:se,major:Se,minor:S,patch:Re,prerelease:dt,compare:_n,rcompare:Qt,compareLoose:Mn,compareBuild:Bi,sort:yn,rsort:vn,gt:Ut,lt:In,eq:Vi,neq:ct,gte:xi,lte:qr,cmp:xr,coerce:Bs,Comparator:Mi,Range:ms,satisfies:Ks,toComparators:is,maxSatisfying:Ms,minSatisfying:to,minVersion:Lo,validRange:ji,outside:jr,gtr:ss,ltr:Jo,intersects:da,simplifyRange:ha,subset:cc,SemVer:ve,re:X.re,src:X.src,tokens:X.t,SEMVER_SPEC_VERSION:de.SEMVER_SPEC_VERSION,compareIdentifiers:ie.compareIdentifiers,rcompareIdentifiers:ie.rcompareIdentifiers}}}),pd=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/version-check.js\"(b){Li();var v=b&&b.__createBinding||(Object.create?function(V,P,he,N){N===void 0&&(N=he);var se=Object.getOwnPropertyDescriptor(P,he);(!se||(\"get\"in se?!P.__esModule:se.writable||se.configurable))&&(se={enumerable:!0,get:function(){return P[he]}}),Object.defineProperty(V,N,se)}:function(V,P,he,N){N===void 0&&(N=he),V[N]=P[he]}),X=b&&b.__setModuleDefault||(Object.create?function(V,P){Object.defineProperty(V,\"default\",{enumerable:!0,value:P})}:function(V,P){V.default=P}),de=b&&b.__importStar||function(V){if(V&&V.__esModule)return V;var P={};if(V!=null)for(var he in V)he!==\"default\"&&Object.prototype.hasOwnProperty.call(V,he)&&v(P,V,he);return X(P,V),P};Object.defineProperty(b,\"__esModule\",{value:!0}),b.typescriptVersionIsAtLeast=void 0,de(Tu()),de(gl());var ve=[\"3.7\",\"3.8\",\"3.9\",\"4.0\",\"4.1\",\"4.2\",\"4.3\",\"4.4\",\"4.5\",\"4.6\",\"4.7\",\"4.8\",\"4.9\",\"5.0\"],ie={};b.typescriptVersionIsAtLeast=ie;for(let V of ve)ie[V]=!0}}),Cc=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js\"(b){Li();var v=b&&b.__createBinding||(Object.create?function(N,se,Se,S){S===void 0&&(S=Se);var Re=Object.getOwnPropertyDescriptor(se,Se);(!Re||(\"get\"in Re?!se.__esModule:Re.writable||Re.configurable))&&(Re={enumerable:!0,get:function(){return se[Se]}}),Object.defineProperty(N,S,Re)}:function(N,se,Se,S){S===void 0&&(S=Se),N[S]=se[Se]}),X=b&&b.__setModuleDefault||(Object.create?function(N,se){Object.defineProperty(N,\"default\",{enumerable:!0,value:se})}:function(N,se){N.default=se}),de=b&&b.__importStar||function(N){if(N&&N.__esModule)return N;var se={};if(N!=null)for(var Se in N)Se!==\"default\"&&Object.prototype.hasOwnProperty.call(N,Se)&&v(se,N,Se);return X(se,N),se};Object.defineProperty(b,\"__esModule\",{value:!0}),b.getDecorators=b.getModifiers=void 0;var ve=de(gl()),ie=pd(),V=ie.typescriptVersionIsAtLeast[\"4.8\"];function P(N){var se;if(N!=null){if(V){if(ve.canHaveModifiers(N)){let Se=ve.getModifiers(N);return Se?Array.from(Se):void 0}return}return(se=N.modifiers)===null||se===void 0?void 0:se.filter(Se=>!ve.isDecorator(Se))}}b.getModifiers=P;function he(N){var se;if(N!=null){if(V){if(ve.canHaveDecorators(N)){let Se=ve.getDecorators(N);return Se?Array.from(Se):void 0}return}return(se=N.decorators)===null||se===void 0?void 0:se.filter(ve.isDecorator)}}b.getDecorators=he}}),wr=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0}),b.xhtmlEntities=void 0,b.xhtmlEntities={quot:'\"',amp:\"&\",apos:\"'\",lt:\"<\",gt:\">\",nbsp:\"\\xA0\",iexcl:\"\\xA1\",cent:\"\\xA2\",pound:\"\\xA3\",curren:\"\\xA4\",yen:\"\\xA5\",brvbar:\"\\xA6\",sect:\"\\xA7\",uml:\"\\xA8\",copy:\"\\xA9\",ordf:\"\\xAA\",laquo:\"\\xAB\",not:\"\\xAC\",shy:\"\\xAD\",reg:\"\\xAE\",macr:\"\\xAF\",deg:\"\\xB0\",plusmn:\"\\xB1\",sup2:\"\\xB2\",sup3:\"\\xB3\",acute:\"\\xB4\",micro:\"\\xB5\",para:\"\\xB6\",middot:\"\\xB7\",cedil:\"\\xB8\",sup1:\"\\xB9\",ordm:\"\\xBA\",raquo:\"\\xBB\",frac14:\"\\xBC\",frac12:\"\\xBD\",frac34:\"\\xBE\",iquest:\"\\xBF\",Agrave:\"\\xC0\",Aacute:\"\\xC1\",Acirc:\"\\xC2\",Atilde:\"\\xC3\",Auml:\"\\xC4\",Aring:\"\\xC5\",AElig:\"\\xC6\",Ccedil:\"\\xC7\",Egrave:\"\\xC8\",Eacute:\"\\xC9\",Ecirc:\"\\xCA\",Euml:\"\\xCB\",Igrave:\"\\xCC\",Iacute:\"\\xCD\",Icirc:\"\\xCE\",Iuml:\"\\xCF\",ETH:\"\\xD0\",Ntilde:\"\\xD1\",Ograve:\"\\xD2\",Oacute:\"\\xD3\",Ocirc:\"\\xD4\",Otilde:\"\\xD5\",Ouml:\"\\xD6\",times:\"\\xD7\",Oslash:\"\\xD8\",Ugrave:\"\\xD9\",Uacute:\"\\xDA\",Ucirc:\"\\xDB\",Uuml:\"\\xDC\",Yacute:\"\\xDD\",THORN:\"\\xDE\",szlig:\"\\xDF\",agrave:\"\\xE0\",aacute:\"\\xE1\",acirc:\"\\xE2\",atilde:\"\\xE3\",auml:\"\\xE4\",aring:\"\\xE5\",aelig:\"\\xE6\",ccedil:\"\\xE7\",egrave:\"\\xE8\",eacute:\"\\xE9\",ecirc:\"\\xEA\",euml:\"\\xEB\",igrave:\"\\xEC\",iacute:\"\\xED\",icirc:\"\\xEE\",iuml:\"\\xEF\",eth:\"\\xF0\",ntilde:\"\\xF1\",ograve:\"\\xF2\",oacute:\"\\xF3\",ocirc:\"\\xF4\",otilde:\"\\xF5\",ouml:\"\\xF6\",divide:\"\\xF7\",oslash:\"\\xF8\",ugrave:\"\\xF9\",uacute:\"\\xFA\",ucirc:\"\\xFB\",uuml:\"\\xFC\",yacute:\"\\xFD\",thorn:\"\\xFE\",yuml:\"\\xFF\",OElig:\"\\u0152\",oelig:\"\\u0153\",Scaron:\"\\u0160\",scaron:\"\\u0161\",Yuml:\"\\u0178\",fnof:\"\\u0192\",circ:\"\\u02C6\",tilde:\"\\u02DC\",Alpha:\"\\u0391\",Beta:\"\\u0392\",Gamma:\"\\u0393\",Delta:\"\\u0394\",Epsilon:\"\\u0395\",Zeta:\"\\u0396\",Eta:\"\\u0397\",Theta:\"\\u0398\",Iota:\"\\u0399\",Kappa:\"\\u039A\",Lambda:\"\\u039B\",Mu:\"\\u039C\",Nu:\"\\u039D\",Xi:\"\\u039E\",Omicron:\"\\u039F\",Pi:\"\\u03A0\",Rho:\"\\u03A1\",Sigma:\"\\u03A3\",Tau:\"\\u03A4\",Upsilon:\"\\u03A5\",Phi:\"\\u03A6\",Chi:\"\\u03A7\",Psi:\"\\u03A8\",Omega:\"\\u03A9\",alpha:\"\\u03B1\",beta:\"\\u03B2\",gamma:\"\\u03B3\",delta:\"\\u03B4\",epsilon:\"\\u03B5\",zeta:\"\\u03B6\",eta:\"\\u03B7\",theta:\"\\u03B8\",iota:\"\\u03B9\",kappa:\"\\u03BA\",lambda:\"\\u03BB\",mu:\"\\u03BC\",nu:\"\\u03BD\",xi:\"\\u03BE\",omicron:\"\\u03BF\",pi:\"\\u03C0\",rho:\"\\u03C1\",sigmaf:\"\\u03C2\",sigma:\"\\u03C3\",tau:\"\\u03C4\",upsilon:\"\\u03C5\",phi:\"\\u03C6\",chi:\"\\u03C7\",psi:\"\\u03C8\",omega:\"\\u03C9\",thetasym:\"\\u03D1\",upsih:\"\\u03D2\",piv:\"\\u03D6\",ensp:\"\\u2002\",emsp:\"\\u2003\",thinsp:\"\\u2009\",zwnj:\"\\u200C\",zwj:\"\\u200D\",lrm:\"\\u200E\",rlm:\"\\u200F\",ndash:\"\\u2013\",mdash:\"\\u2014\",lsquo:\"\\u2018\",rsquo:\"\\u2019\",sbquo:\"\\u201A\",ldquo:\"\\u201C\",rdquo:\"\\u201D\",bdquo:\"\\u201E\",dagger:\"\\u2020\",Dagger:\"\\u2021\",bull:\"\\u2022\",hellip:\"\\u2026\",permil:\"\\u2030\",prime:\"\\u2032\",Prime:\"\\u2033\",lsaquo:\"\\u2039\",rsaquo:\"\\u203A\",oline:\"\\u203E\",frasl:\"\\u2044\",euro:\"\\u20AC\",image:\"\\u2111\",weierp:\"\\u2118\",real:\"\\u211C\",trade:\"\\u2122\",alefsym:\"\\u2135\",larr:\"\\u2190\",uarr:\"\\u2191\",rarr:\"\\u2192\",darr:\"\\u2193\",harr:\"\\u2194\",crarr:\"\\u21B5\",lArr:\"\\u21D0\",uArr:\"\\u21D1\",rArr:\"\\u21D2\",dArr:\"\\u21D3\",hArr:\"\\u21D4\",forall:\"\\u2200\",part:\"\\u2202\",exist:\"\\u2203\",empty:\"\\u2205\",nabla:\"\\u2207\",isin:\"\\u2208\",notin:\"\\u2209\",ni:\"\\u220B\",prod:\"\\u220F\",sum:\"\\u2211\",minus:\"\\u2212\",lowast:\"\\u2217\",radic:\"\\u221A\",prop:\"\\u221D\",infin:\"\\u221E\",ang:\"\\u2220\",and:\"\\u2227\",or:\"\\u2228\",cap:\"\\u2229\",cup:\"\\u222A\",int:\"\\u222B\",there4:\"\\u2234\",sim:\"\\u223C\",cong:\"\\u2245\",asymp:\"\\u2248\",ne:\"\\u2260\",equiv:\"\\u2261\",le:\"\\u2264\",ge:\"\\u2265\",sub:\"\\u2282\",sup:\"\\u2283\",nsub:\"\\u2284\",sube:\"\\u2286\",supe:\"\\u2287\",oplus:\"\\u2295\",otimes:\"\\u2297\",perp:\"\\u22A5\",sdot:\"\\u22C5\",lceil:\"\\u2308\",rceil:\"\\u2309\",lfloor:\"\\u230A\",rfloor:\"\\u230B\",lang:\"\\u2329\",rang:\"\\u232A\",loz:\"\\u25CA\",spades:\"\\u2660\",clubs:\"\\u2663\",hearts:\"\\u2665\",diams:\"\\u2666\"}}}),_o=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0}),b.AST_TOKEN_TYPES=b.AST_NODE_TYPES=void 0,function(v){v.AccessorProperty=\"AccessorProperty\",v.ArrayExpression=\"ArrayExpression\",v.ArrayPattern=\"ArrayPattern\",v.ArrowFunctionExpression=\"ArrowFunctionExpression\",v.AssignmentExpression=\"AssignmentExpression\",v.AssignmentPattern=\"AssignmentPattern\",v.AwaitExpression=\"AwaitExpression\",v.BinaryExpression=\"BinaryExpression\",v.BlockStatement=\"BlockStatement\",v.BreakStatement=\"BreakStatement\",v.CallExpression=\"CallExpression\",v.CatchClause=\"CatchClause\",v.ChainExpression=\"ChainExpression\",v.ClassBody=\"ClassBody\",v.ClassDeclaration=\"ClassDeclaration\",v.ClassExpression=\"ClassExpression\",v.ConditionalExpression=\"ConditionalExpression\",v.ContinueStatement=\"ContinueStatement\",v.DebuggerStatement=\"DebuggerStatement\",v.Decorator=\"Decorator\",v.DoWhileStatement=\"DoWhileStatement\",v.EmptyStatement=\"EmptyStatement\",v.ExportAllDeclaration=\"ExportAllDeclaration\",v.ExportDefaultDeclaration=\"ExportDefaultDeclaration\",v.ExportNamedDeclaration=\"ExportNamedDeclaration\",v.ExportSpecifier=\"ExportSpecifier\",v.ExpressionStatement=\"ExpressionStatement\",v.ForInStatement=\"ForInStatement\",v.ForOfStatement=\"ForOfStatement\",v.ForStatement=\"ForStatement\",v.FunctionDeclaration=\"FunctionDeclaration\",v.FunctionExpression=\"FunctionExpression\",v.Identifier=\"Identifier\",v.IfStatement=\"IfStatement\",v.ImportAttribute=\"ImportAttribute\",v.ImportDeclaration=\"ImportDeclaration\",v.ImportDefaultSpecifier=\"ImportDefaultSpecifier\",v.ImportExpression=\"ImportExpression\",v.ImportNamespaceSpecifier=\"ImportNamespaceSpecifier\",v.ImportSpecifier=\"ImportSpecifier\",v.JSXAttribute=\"JSXAttribute\",v.JSXClosingElement=\"JSXClosingElement\",v.JSXClosingFragment=\"JSXClosingFragment\",v.JSXElement=\"JSXElement\",v.JSXEmptyExpression=\"JSXEmptyExpression\",v.JSXExpressionContainer=\"JSXExpressionContainer\",v.JSXFragment=\"JSXFragment\",v.JSXIdentifier=\"JSXIdentifier\",v.JSXMemberExpression=\"JSXMemberExpression\",v.JSXNamespacedName=\"JSXNamespacedName\",v.JSXOpeningElement=\"JSXOpeningElement\",v.JSXOpeningFragment=\"JSXOpeningFragment\",v.JSXSpreadAttribute=\"JSXSpreadAttribute\",v.JSXSpreadChild=\"JSXSpreadChild\",v.JSXText=\"JSXText\",v.LabeledStatement=\"LabeledStatement\",v.Literal=\"Literal\",v.LogicalExpression=\"LogicalExpression\",v.MemberExpression=\"MemberExpression\",v.MetaProperty=\"MetaProperty\",v.MethodDefinition=\"MethodDefinition\",v.NewExpression=\"NewExpression\",v.ObjectExpression=\"ObjectExpression\",v.ObjectPattern=\"ObjectPattern\",v.PrivateIdentifier=\"PrivateIdentifier\",v.Program=\"Program\",v.Property=\"Property\",v.PropertyDefinition=\"PropertyDefinition\",v.RestElement=\"RestElement\",v.ReturnStatement=\"ReturnStatement\",v.SequenceExpression=\"SequenceExpression\",v.SpreadElement=\"SpreadElement\",v.StaticBlock=\"StaticBlock\",v.Super=\"Super\",v.SwitchCase=\"SwitchCase\",v.SwitchStatement=\"SwitchStatement\",v.TaggedTemplateExpression=\"TaggedTemplateExpression\",v.TemplateElement=\"TemplateElement\",v.TemplateLiteral=\"TemplateLiteral\",v.ThisExpression=\"ThisExpression\",v.ThrowStatement=\"ThrowStatement\",v.TryStatement=\"TryStatement\",v.UnaryExpression=\"UnaryExpression\",v.UpdateExpression=\"UpdateExpression\",v.VariableDeclaration=\"VariableDeclaration\",v.VariableDeclarator=\"VariableDeclarator\",v.WhileStatement=\"WhileStatement\",v.WithStatement=\"WithStatement\",v.YieldExpression=\"YieldExpression\",v.TSAbstractAccessorProperty=\"TSAbstractAccessorProperty\",v.TSAbstractKeyword=\"TSAbstractKeyword\",v.TSAbstractMethodDefinition=\"TSAbstractMethodDefinition\",v.TSAbstractPropertyDefinition=\"TSAbstractPropertyDefinition\",v.TSAnyKeyword=\"TSAnyKeyword\",v.TSArrayType=\"TSArrayType\",v.TSAsExpression=\"TSAsExpression\",v.TSAsyncKeyword=\"TSAsyncKeyword\",v.TSBigIntKeyword=\"TSBigIntKeyword\",v.TSBooleanKeyword=\"TSBooleanKeyword\",v.TSCallSignatureDeclaration=\"TSCallSignatureDeclaration\",v.TSClassImplements=\"TSClassImplements\",v.TSConditionalType=\"TSConditionalType\",v.TSConstructorType=\"TSConstructorType\",v.TSConstructSignatureDeclaration=\"TSConstructSignatureDeclaration\",v.TSDeclareFunction=\"TSDeclareFunction\",v.TSDeclareKeyword=\"TSDeclareKeyword\",v.TSEmptyBodyFunctionExpression=\"TSEmptyBodyFunctionExpression\",v.TSEnumDeclaration=\"TSEnumDeclaration\",v.TSEnumMember=\"TSEnumMember\",v.TSExportAssignment=\"TSExportAssignment\",v.TSExportKeyword=\"TSExportKeyword\",v.TSExternalModuleReference=\"TSExternalModuleReference\",v.TSFunctionType=\"TSFunctionType\",v.TSInstantiationExpression=\"TSInstantiationExpression\",v.TSImportEqualsDeclaration=\"TSImportEqualsDeclaration\",v.TSImportType=\"TSImportType\",v.TSIndexedAccessType=\"TSIndexedAccessType\",v.TSIndexSignature=\"TSIndexSignature\",v.TSInferType=\"TSInferType\",v.TSInterfaceBody=\"TSInterfaceBody\",v.TSInterfaceDeclaration=\"TSInterfaceDeclaration\",v.TSInterfaceHeritage=\"TSInterfaceHeritage\",v.TSIntersectionType=\"TSIntersectionType\",v.TSIntrinsicKeyword=\"TSIntrinsicKeyword\",v.TSLiteralType=\"TSLiteralType\",v.TSMappedType=\"TSMappedType\",v.TSMethodSignature=\"TSMethodSignature\",v.TSModuleBlock=\"TSModuleBlock\",v.TSModuleDeclaration=\"TSModuleDeclaration\",v.TSNamedTupleMember=\"TSNamedTupleMember\",v.TSNamespaceExportDeclaration=\"TSNamespaceExportDeclaration\",v.TSNeverKeyword=\"TSNeverKeyword\",v.TSNonNullExpression=\"TSNonNullExpression\",v.TSNullKeyword=\"TSNullKeyword\",v.TSNumberKeyword=\"TSNumberKeyword\",v.TSObjectKeyword=\"TSObjectKeyword\",v.TSOptionalType=\"TSOptionalType\",v.TSParameterProperty=\"TSParameterProperty\",v.TSPrivateKeyword=\"TSPrivateKeyword\",v.TSPropertySignature=\"TSPropertySignature\",v.TSProtectedKeyword=\"TSProtectedKeyword\",v.TSPublicKeyword=\"TSPublicKeyword\",v.TSQualifiedName=\"TSQualifiedName\",v.TSReadonlyKeyword=\"TSReadonlyKeyword\",v.TSRestType=\"TSRestType\",v.TSSatisfiesExpression=\"TSSatisfiesExpression\",v.TSStaticKeyword=\"TSStaticKeyword\",v.TSStringKeyword=\"TSStringKeyword\",v.TSSymbolKeyword=\"TSSymbolKeyword\",v.TSTemplateLiteralType=\"TSTemplateLiteralType\",v.TSThisType=\"TSThisType\",v.TSTupleType=\"TSTupleType\",v.TSTypeAliasDeclaration=\"TSTypeAliasDeclaration\",v.TSTypeAnnotation=\"TSTypeAnnotation\",v.TSTypeAssertion=\"TSTypeAssertion\",v.TSTypeLiteral=\"TSTypeLiteral\",v.TSTypeOperator=\"TSTypeOperator\",v.TSTypeParameter=\"TSTypeParameter\",v.TSTypeParameterDeclaration=\"TSTypeParameterDeclaration\",v.TSTypeParameterInstantiation=\"TSTypeParameterInstantiation\",v.TSTypePredicate=\"TSTypePredicate\",v.TSTypeQuery=\"TSTypeQuery\",v.TSTypeReference=\"TSTypeReference\",v.TSUndefinedKeyword=\"TSUndefinedKeyword\",v.TSUnionType=\"TSUnionType\",v.TSUnknownKeyword=\"TSUnknownKeyword\",v.TSVoidKeyword=\"TSVoidKeyword\"}(b.AST_NODE_TYPES||(b.AST_NODE_TYPES={})),function(v){v.Boolean=\"Boolean\",v.Identifier=\"Identifier\",v.JSXIdentifier=\"JSXIdentifier\",v.JSXText=\"JSXText\",v.Keyword=\"Keyword\",v.Null=\"Null\",v.Numeric=\"Numeric\",v.Punctuator=\"Punctuator\",v.RegularExpression=\"RegularExpression\",v.String=\"String\",v.Template=\"Template\",v.Block=\"Block\",v.Line=\"Line\"}(b.AST_TOKEN_TYPES||(b.AST_TOKEN_TYPES={}))}}),oa=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint/types/dist/lib.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0})}}),Da=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint/types/dist/parser-options.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0})}}),ml=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint/types/dist/ts-estree.js\"(b){Li();var v=b&&b.__createBinding||(Object.create?function(ve,ie,V,P){P===void 0&&(P=V);var he=Object.getOwnPropertyDescriptor(ie,V);(!he||(\"get\"in he?!ie.__esModule:he.writable||he.configurable))&&(he={enumerable:!0,get:function(){return ie[V]}}),Object.defineProperty(ve,P,he)}:function(ve,ie,V,P){P===void 0&&(P=V),ve[P]=ie[V]}),X=b&&b.__setModuleDefault||(Object.create?function(ve,ie){Object.defineProperty(ve,\"default\",{enumerable:!0,value:ie})}:function(ve,ie){ve.default=ie}),de=b&&b.__importStar||function(ve){if(ve&&ve.__esModule)return ve;var ie={};if(ve!=null)for(var V in ve)V!==\"default\"&&Object.prototype.hasOwnProperty.call(ve,V)&&v(ie,ve,V);return X(ie,ve),ie};Object.defineProperty(b,\"__esModule\",{value:!0}),b.TSESTree=void 0,b.TSESTree=de(_o())}}),ou=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint/types/dist/index.js\"(b){Li();var v=b&&b.__createBinding||(Object.create?function(ve,ie,V,P){P===void 0&&(P=V);var he=Object.getOwnPropertyDescriptor(ie,V);(!he||(\"get\"in he?!ie.__esModule:he.writable||he.configurable))&&(he={enumerable:!0,get:function(){return ie[V]}}),Object.defineProperty(ve,P,he)}:function(ve,ie,V,P){P===void 0&&(P=V),ve[P]=ie[V]}),X=b&&b.__exportStar||function(ve,ie){for(var V in ve)V!==\"default\"&&!Object.prototype.hasOwnProperty.call(ie,V)&&v(ie,ve,V)};Object.defineProperty(b,\"__esModule\",{value:!0}),b.AST_TOKEN_TYPES=b.AST_NODE_TYPES=void 0;var de=_o();Object.defineProperty(b,\"AST_NODE_TYPES\",{enumerable:!0,get:function(){return de.AST_NODE_TYPES}}),Object.defineProperty(b,\"AST_TOKEN_TYPES\",{enumerable:!0,get:function(){return de.AST_TOKEN_TYPES}}),X(oa(),b),X(Da(),b),X(ml(),b)}}),Ud=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0})}}),np=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0})}}),Kd=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js\"(b){Li();var v=b&&b.__createBinding||(Object.create?function(ve,ie,V,P){P===void 0&&(P=V);var he=Object.getOwnPropertyDescriptor(ie,V);(!he||(\"get\"in he?!ie.__esModule:he.writable||he.configurable))&&(he={enumerable:!0,get:function(){return ie[V]}}),Object.defineProperty(ve,P,he)}:function(ve,ie,V,P){P===void 0&&(P=V),ve[P]=ie[V]}),X=b&&b.__exportStar||function(ve,ie){for(var V in ve)V!==\"default\"&&!Object.prototype.hasOwnProperty.call(ie,V)&&v(ie,ve,V)};Object.defineProperty(b,\"__esModule\",{value:!0}),b.TSESTree=b.AST_TOKEN_TYPES=b.AST_NODE_TYPES=void 0;var de=ou();Object.defineProperty(b,\"AST_NODE_TYPES\",{enumerable:!0,get:function(){return de.AST_NODE_TYPES}}),Object.defineProperty(b,\"AST_TOKEN_TYPES\",{enumerable:!0,get:function(){return de.AST_TOKEN_TYPES}}),Object.defineProperty(b,\"TSESTree\",{enumerable:!0,get:function(){return de.TSESTree}}),X(Ud(),b),X(np(),b)}}),fd=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js\"(b){Li();var v=b&&b.__createBinding||(Object.create?function(Kr,so,xa,Wa){Wa===void 0&&(Wa=xa);var pu=Object.getOwnPropertyDescriptor(so,xa);(!pu||(\"get\"in pu?!so.__esModule:pu.writable||pu.configurable))&&(pu={enumerable:!0,get:function(){return so[xa]}}),Object.defineProperty(Kr,Wa,pu)}:function(Kr,so,xa,Wa){Wa===void 0&&(Wa=xa),Kr[Wa]=so[xa]}),X=b&&b.__setModuleDefault||(Object.create?function(Kr,so){Object.defineProperty(Kr,\"default\",{enumerable:!0,value:so})}:function(Kr,so){Kr.default=so}),de=b&&b.__importStar||function(Kr){if(Kr&&Kr.__esModule)return Kr;var so={};if(Kr!=null)for(var xa in Kr)xa!==\"default\"&&Object.prototype.hasOwnProperty.call(Kr,xa)&&v(so,Kr,xa);return X(so,Kr),so};Object.defineProperty(b,\"__esModule\",{value:!0}),b.isThisInTypeQuery=b.isThisIdentifier=b.identifierIsThisKeyword=b.firstDefined=b.nodeHasTokens=b.createError=b.TSError=b.convertTokens=b.convertToken=b.getTokenType=b.isChildUnwrappableOptionalChain=b.isChainExpression=b.isOptional=b.isComputedProperty=b.unescapeStringLiteralText=b.hasJSXAncestor=b.findFirstMatchingAncestor=b.findNextToken=b.getTSNodeAccessibility=b.getDeclarationKind=b.isJSXToken=b.isToken=b.getRange=b.canContainDirective=b.getLocFor=b.getLineAndCharacterFor=b.getBinaryExpressionType=b.isJSDocComment=b.isComment=b.isComma=b.getLastModifier=b.hasModifier=b.isESTreeClassMember=b.getTextForTokenKind=b.isLogicalOperator=b.isAssignmentOperator=void 0;var ve=de(gl()),ie=Cc(),V=wr(),P=Kd(),he=pd(),N=he.typescriptVersionIsAtLeast[\"5.0\"],se=ve.SyntaxKind,Se=[se.BarBarToken,se.AmpersandAmpersandToken,se.QuestionQuestionToken];function S(Kr){return Kr.kind>=se.FirstAssignment&&Kr.kind<=se.LastAssignment}b.isAssignmentOperator=S;function Re(Kr){return Se.includes(Kr.kind)}b.isLogicalOperator=Re;function dt(Kr){return ve.tokenToString(Kr)}b.getTextForTokenKind=dt;function _n(Kr){return Kr.kind!==se.SemicolonClassElement}b.isESTreeClassMember=_n;function Qt(Kr,so){let xa=(0,ie.getModifiers)(so);return(xa==null?void 0:xa.some(Wa=>Wa.kind===Kr))===!0}b.hasModifier=Qt;function Mn(Kr){var so;let xa=(0,ie.getModifiers)(Kr);return xa==null?null:(so=xa[xa.length-1])!==null&&so!==void 0?so:null}b.getLastModifier=Mn;function Bi(Kr){return Kr.kind===se.CommaToken}b.isComma=Bi;function yn(Kr){return Kr.kind===se.SingleLineCommentTrivia||Kr.kind===se.MultiLineCommentTrivia}b.isComment=yn;function vn(Kr){return Kr.kind===se.JSDocComment}b.isJSDocComment=vn;function Ut(Kr){return S(Kr)?P.AST_NODE_TYPES.AssignmentExpression:Re(Kr)?P.AST_NODE_TYPES.LogicalExpression:P.AST_NODE_TYPES.BinaryExpression}b.getBinaryExpressionType=Ut;function In(Kr,so){let xa=so.getLineAndCharacterOfPosition(Kr);return{line:xa.line+1,column:xa.character}}b.getLineAndCharacterFor=In;function Vi(Kr,so,xa){return{start:In(Kr,xa),end:In(so,xa)}}b.getLocFor=Vi;function ct(Kr){if(Kr.kind===ve.SyntaxKind.Block)switch(Kr.parent.kind){case ve.SyntaxKind.Constructor:case ve.SyntaxKind.GetAccessor:case ve.SyntaxKind.SetAccessor:case ve.SyntaxKind.ArrowFunction:case ve.SyntaxKind.FunctionExpression:case ve.SyntaxKind.FunctionDeclaration:case ve.SyntaxKind.MethodDeclaration:return!0;default:return!1}return!0}b.canContainDirective=ct;function xi(Kr,so){return[Kr.getStart(so),Kr.getEnd()]}b.getRange=xi;function qr(Kr){return Kr.kind>=se.FirstToken&&Kr.kind<=se.LastToken}b.isToken=qr;function xr(Kr){return Kr.kind>=se.JsxElement&&Kr.kind<=se.JsxAttribute}b.isJSXToken=xr;function Bs(Kr){return Kr.flags&ve.NodeFlags.Let?\"let\":Kr.flags&ve.NodeFlags.Const?\"const\":\"var\"}b.getDeclarationKind=Bs;function Mi(Kr){let so=(0,ie.getModifiers)(Kr);if(so==null)return null;for(let xa of so)switch(xa.kind){case se.PublicKeyword:return\"public\";case se.ProtectedKeyword:return\"protected\";case se.PrivateKeyword:return\"private\"}return null}b.getTSNodeAccessibility=Mi;function ms(Kr,so,xa){return Wa(so);function Wa(pu){return ve.isToken(pu)&&pu.pos===Kr.end?pu:Xu(pu.getChildren(xa),yc=>(yc.pos<=Kr.pos&&yc.end>Kr.end||yc.pos===Kr.end)&&Ou(yc,xa)?Wa(yc):void 0)}}b.findNextToken=ms;function Ks(Kr,so){for(;Kr;){if(so(Kr))return Kr;Kr=Kr.parent}}b.findFirstMatchingAncestor=Ks;function is(Kr){return!!Ks(Kr,xr)}b.hasJSXAncestor=is;function Ms(Kr){return Kr.replace(/&(?:#\\d+|#x[\\da-fA-F]+|[0-9a-zA-Z]+);/g,so=>{let xa=so.slice(1,-1);if(xa[0]===\"#\"){let Wa=xa[1]===\"x\"?parseInt(xa.slice(2),16):parseInt(xa.slice(1),10);return Wa>1114111?so:String.fromCodePoint(Wa)}return V.xhtmlEntities[xa]||so})}b.unescapeStringLiteralText=Ms;function to(Kr){return Kr.kind===se.ComputedPropertyName}b.isComputedProperty=to;function Lo(Kr){return Kr.questionToken?Kr.questionToken.kind===se.QuestionToken:!1}b.isOptional=Lo;function ji(Kr){return Kr.type===P.AST_NODE_TYPES.ChainExpression}b.isChainExpression=ji;function jr(Kr,so){return ji(so)&&Kr.expression.kind!==ve.SyntaxKind.ParenthesizedExpression}b.isChildUnwrappableOptionalChain=jr;function ss(Kr){let so;if(N&&Kr.kind===se.Identifier?so=ve.identifierToKeywordKind(Kr):\"originalKeywordKind\"in Kr&&(so=Kr.originalKeywordKind),so)return so===se.NullKeyword?P.AST_TOKEN_TYPES.Null:so>=se.FirstFutureReservedWord&&so<=se.LastKeyword?P.AST_TOKEN_TYPES.Identifier:P.AST_TOKEN_TYPES.Keyword;if(Kr.kind>=se.FirstKeyword&&Kr.kind<=se.LastFutureReservedWord)return Kr.kind===se.FalseKeyword||Kr.kind===se.TrueKeyword?P.AST_TOKEN_TYPES.Boolean:P.AST_TOKEN_TYPES.Keyword;if(Kr.kind>=se.FirstPunctuation&&Kr.kind<=se.LastPunctuation)return P.AST_TOKEN_TYPES.Punctuator;if(Kr.kind>=se.NoSubstitutionTemplateLiteral&&Kr.kind<=se.TemplateTail)return P.AST_TOKEN_TYPES.Template;switch(Kr.kind){case se.NumericLiteral:return P.AST_TOKEN_TYPES.Numeric;case se.JsxText:return P.AST_TOKEN_TYPES.JSXText;case se.StringLiteral:return Kr.parent&&(Kr.parent.kind===se.JsxAttribute||Kr.parent.kind===se.JsxElement)?P.AST_TOKEN_TYPES.JSXText:P.AST_TOKEN_TYPES.String;case se.RegularExpressionLiteral:return P.AST_TOKEN_TYPES.RegularExpression;case se.Identifier:case se.ConstructorKeyword:case se.GetKeyword:case se.SetKeyword:}return Kr.parent&&Kr.kind===se.Identifier&&(xr(Kr.parent)||Kr.parent.kind===se.PropertyAccessExpression&&is(Kr))?P.AST_TOKEN_TYPES.JSXIdentifier:P.AST_TOKEN_TYPES.Identifier}b.getTokenType=ss;function Jo(Kr,so){let xa=Kr.kind===se.JsxText?Kr.getFullStart():Kr.getStart(so),Wa=Kr.getEnd(),pu=so.text.slice(xa,Wa),yc=ss(Kr);return yc===P.AST_TOKEN_TYPES.RegularExpression?{type:yc,value:pu,range:[xa,Wa],loc:Vi(xa,Wa,so),regex:{pattern:pu.slice(1,pu.lastIndexOf(\"/\")),flags:pu.slice(pu.lastIndexOf(\"/\")+1)}}:{type:yc,value:pu,range:[xa,Wa],loc:Vi(xa,Wa,so)}}b.convertToken=Jo;function da(Kr){let so=[];function xa(Wa){if(!(yn(Wa)||vn(Wa)))if(qr(Wa)&&Wa.kind!==se.EndOfFileToken){let pu=Jo(Wa,Kr);pu&&so.push(pu)}else Wa.getChildren(Kr).forEach(xa)}return xa(Kr),so}b.convertTokens=da;var ha=class extends Error{constructor(Kr,so,xa,Wa,pu){super(Kr),this.fileName=so,this.index=xa,this.lineNumber=Wa,this.column=pu,Object.defineProperty(this,\"name\",{value:new.target.name,enumerable:!1,configurable:!0})}};b.TSError=ha;function cc(Kr,so,xa){let Wa=Kr.getLineAndCharacterOfPosition(so);return new ha(xa,Kr.fileName,so,Wa.line+1,Wa.character)}b.createError=cc;function Ou(Kr,so){return Kr.kind===se.EndOfFileToken?!!Kr.jsDoc:Kr.getWidth(so)!==0}b.nodeHasTokens=Ou;function Xu(Kr,so){if(Kr!==void 0)for(let xa=0;xa<Kr.length;xa++){let Wa=so(Kr[xa],xa);if(Wa!==void 0)return Wa}}b.firstDefined=Xu;function Bd(Kr){return(N?ve.identifierToKeywordKind(Kr):Kr.originalKeywordKind)===se.ThisKeyword}b.identifierIsThisKeyword=Bd;function ip(Kr){return!!Kr&&Kr.kind===se.Identifier&&Bd(Kr)}b.isThisIdentifier=ip;function zp(Kr){if(!ip(Kr))return!1;for(;ve.isQualifiedName(Kr.parent)&&Kr.parent.left===Kr;)Kr=Kr.parent;return Kr.parent.kind===se.TypeQuery}b.isThisInTypeQuery=zp}}),Sp=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/convert.js\"(b){Li();var v=b&&b.__createBinding||(Object.create?function(S,Re,dt,_n){_n===void 0&&(_n=dt);var Qt=Object.getOwnPropertyDescriptor(Re,dt);(!Qt||(\"get\"in Qt?!Re.__esModule:Qt.writable||Qt.configurable))&&(Qt={enumerable:!0,get:function(){return Re[dt]}}),Object.defineProperty(S,_n,Qt)}:function(S,Re,dt,_n){_n===void 0&&(_n=dt),S[_n]=Re[dt]}),X=b&&b.__setModuleDefault||(Object.create?function(S,Re){Object.defineProperty(S,\"default\",{enumerable:!0,value:Re})}:function(S,Re){S.default=Re}),de=b&&b.__importStar||function(S){if(S&&S.__esModule)return S;var Re={};if(S!=null)for(var dt in S)dt!==\"default\"&&Object.prototype.hasOwnProperty.call(S,dt)&&v(Re,S,dt);return X(Re,S),Re};Object.defineProperty(b,\"__esModule\",{value:!0}),b.Converter=b.convertError=void 0;var ve=de(gl()),ie=Cc(),V=fd(),P=Kd(),he=pd(),N=ve.SyntaxKind;function se(S){return(0,V.createError)(S.file,S.start,\"message\"in S&&S.message||S.messageText)}b.convertError=se;var Se=class{constructor(S,Re){this.esTreeNodeToTSNodeMap=new WeakMap,this.tsNodeToESTreeNodeMap=new WeakMap,this.allowPattern=!1,this.inTypeMode=!1,this.ast=S,this.options=Object.assign({},Re)}getASTMaps(){return{esTreeNodeToTSNodeMap:this.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:this.tsNodeToESTreeNodeMap}}convertProgram(){return this.converter(this.ast)}converter(S,Re,dt,_n){if(!S)return null;let Qt=this.inTypeMode,Mn=this.allowPattern;dt!==void 0&&(this.inTypeMode=dt),_n!==void 0&&(this.allowPattern=_n);let Bi=this.convertNode(S,Re!=null?Re:S.parent);return this.registerTSNodeInNodeMap(S,Bi),this.inTypeMode=Qt,this.allowPattern=Mn,Bi}fixExports(S,Re){let dt=(0,ie.getModifiers)(S);if((dt==null?void 0:dt[0].kind)===N.ExportKeyword){this.registerTSNodeInNodeMap(S,Re);let _n=dt[0],Qt=dt[1],Mn=Qt&&Qt.kind===N.DefaultKeyword,Bi=Mn?(0,V.findNextToken)(Qt,this.ast,this.ast):(0,V.findNextToken)(_n,this.ast,this.ast);if(Re.range[0]=Bi.getStart(this.ast),Re.loc=(0,V.getLocFor)(Re.range[0],Re.range[1],this.ast),Mn)return this.createNode(S,{type:P.AST_NODE_TYPES.ExportDefaultDeclaration,declaration:Re,range:[_n.getStart(this.ast),Re.range[1]],exportKind:\"value\"});{let yn=Re.type===P.AST_NODE_TYPES.TSInterfaceDeclaration||Re.type===P.AST_NODE_TYPES.TSTypeAliasDeclaration,vn=\"declare\"in Re&&Re.declare===!0;return this.createNode(S,{type:P.AST_NODE_TYPES.ExportNamedDeclaration,declaration:Re,specifiers:[],source:null,exportKind:yn||vn?\"type\":\"value\",range:[_n.getStart(this.ast),Re.range[1]],assertions:[]})}}return Re}registerTSNodeInNodeMap(S,Re){Re&&this.options.shouldPreserveNodeMaps&&(this.tsNodeToESTreeNodeMap.has(S)||this.tsNodeToESTreeNodeMap.set(S,Re))}convertPattern(S,Re){return this.converter(S,Re,this.inTypeMode,!0)}convertChild(S,Re){return this.converter(S,Re,this.inTypeMode,!1)}convertType(S,Re){return this.converter(S,Re,!0,!1)}createNode(S,Re){let dt=Re;return dt.range||(dt.range=(0,V.getRange)(S,this.ast)),dt.loc||(dt.loc=(0,V.getLocFor)(dt.range[0],dt.range[1],this.ast)),dt&&this.options.shouldPreserveNodeMaps&&this.esTreeNodeToTSNodeMap.set(dt,S),dt}convertBindingNameWithTypeAnnotation(S,Re,dt){let _n=this.convertPattern(S);return Re&&(_n.typeAnnotation=this.convertTypeAnnotation(Re,dt),this.fixParentLocation(_n,_n.typeAnnotation.range)),_n}convertTypeAnnotation(S,Re){let dt=(Re==null?void 0:Re.kind)===N.FunctionType||(Re==null?void 0:Re.kind)===N.ConstructorType?2:1,_n=S.getFullStart()-dt,Qt=(0,V.getLocFor)(_n,S.end,this.ast);return{type:P.AST_NODE_TYPES.TSTypeAnnotation,loc:Qt,range:[_n,S.end],typeAnnotation:this.convertType(S)}}convertBodyExpressions(S,Re){let dt=(0,V.canContainDirective)(Re);return S.map(_n=>{let Qt=this.convertChild(_n);if(dt)if(Qt!=null&&Qt.expression&&ve.isExpressionStatement(_n)&&ve.isStringLiteral(_n.expression)){let Mn=Qt.expression.raw;return Qt.directive=Mn.slice(1,-1),Qt}else dt=!1;return Qt}).filter(_n=>_n)}convertTypeArgumentsToTypeParameters(S,Re){let dt=(0,V.findNextToken)(S,this.ast,this.ast);return this.createNode(Re,{type:P.AST_NODE_TYPES.TSTypeParameterInstantiation,range:[S.pos-1,dt.end],params:S.map(_n=>this.convertType(_n))})}convertTSTypeParametersToTypeParametersDeclaration(S){let Re=(0,V.findNextToken)(S,this.ast,this.ast);return{type:P.AST_NODE_TYPES.TSTypeParameterDeclaration,range:[S.pos-1,Re.end],loc:(0,V.getLocFor)(S.pos-1,Re.end,this.ast),params:S.map(dt=>this.convertType(dt))}}convertParameters(S){return S!=null&&S.length?S.map(Re=>{let dt=this.convertChild(Re),_n=(0,ie.getDecorators)(Re);return _n!=null&&_n.length&&(dt.decorators=_n.map(Qt=>this.convertChild(Qt))),dt}):[]}convertChainExpression(S,Re){let{child:dt,isOptional:_n}=(()=>S.type===P.AST_NODE_TYPES.MemberExpression?{child:S.object,isOptional:S.optional}:S.type===P.AST_NODE_TYPES.CallExpression?{child:S.callee,isOptional:S.optional}:{child:S.expression,isOptional:!1})(),Qt=(0,V.isChildUnwrappableOptionalChain)(Re,dt);if(!Qt&&!_n)return S;if(Qt&&(0,V.isChainExpression)(dt)){let Mn=dt.expression;S.type===P.AST_NODE_TYPES.MemberExpression?S.object=Mn:S.type===P.AST_NODE_TYPES.CallExpression?S.callee=Mn:S.expression=Mn}return this.createNode(Re,{type:P.AST_NODE_TYPES.ChainExpression,expression:S})}deeplyCopy(S){if(S.kind===ve.SyntaxKind.JSDocFunctionType)throw(0,V.createError)(this.ast,S.pos,\"JSDoc types can only be used inside documentation comments.\");let Re=`TS${N[S.kind]}`;if(this.options.errorOnUnknownASTType&&!P.AST_NODE_TYPES[Re])throw new Error(`Unknown AST_NODE_TYPE: \"${Re}\"`);let dt=this.createNode(S,{type:Re});\"type\"in S&&(dt.typeAnnotation=S.type&&\"kind\"in S.type&&ve.isTypeNode(S.type)?this.convertTypeAnnotation(S.type,S):null),\"typeArguments\"in S&&(dt.typeParameters=S.typeArguments&&\"pos\"in S.typeArguments?this.convertTypeArgumentsToTypeParameters(S.typeArguments,S):null),\"typeParameters\"in S&&(dt.typeParameters=S.typeParameters&&\"pos\"in S.typeParameters?this.convertTSTypeParametersToTypeParametersDeclaration(S.typeParameters):null);let _n=(0,ie.getDecorators)(S);_n!=null&&_n.length&&(dt.decorators=_n.map(Mn=>this.convertChild(Mn)));let Qt=new Set([\"_children\",\"decorators\",\"end\",\"flags\",\"illegalDecorators\",\"heritageClauses\",\"locals\",\"localSymbol\",\"jsDoc\",\"kind\",\"modifierFlagsCache\",\"modifiers\",\"nextContainer\",\"parent\",\"pos\",\"symbol\",\"transformFlags\",\"type\",\"typeArguments\",\"typeParameters\"]);return Object.entries(S).filter(Mn=>{let[Bi]=Mn;return!Qt.has(Bi)}).forEach(Mn=>{let[Bi,yn]=Mn;Array.isArray(yn)?dt[Bi]=yn.map(vn=>this.convertChild(vn)):yn&&typeof yn==\"object\"&&yn.kind?dt[Bi]=this.convertChild(yn):dt[Bi]=yn}),dt}convertJSXIdentifier(S){let Re=this.createNode(S,{type:P.AST_NODE_TYPES.JSXIdentifier,name:S.getText()});return this.registerTSNodeInNodeMap(S,Re),Re}convertJSXNamespaceOrIdentifier(S){let Re=S.getText(),dt=Re.indexOf(\":\");if(dt>0){let _n=(0,V.getRange)(S,this.ast),Qt=this.createNode(S,{type:P.AST_NODE_TYPES.JSXNamespacedName,namespace:this.createNode(S,{type:P.AST_NODE_TYPES.JSXIdentifier,name:Re.slice(0,dt),range:[_n[0],_n[0]+dt]}),name:this.createNode(S,{type:P.AST_NODE_TYPES.JSXIdentifier,name:Re.slice(dt+1),range:[_n[0]+dt+1,_n[1]]}),range:_n});return this.registerTSNodeInNodeMap(S,Qt),Qt}return this.convertJSXIdentifier(S)}convertJSXTagName(S,Re){let dt;switch(S.kind){case N.PropertyAccessExpression:if(S.name.kind===N.PrivateIdentifier)throw new Error(\"Non-private identifier expected.\");dt=this.createNode(S,{type:P.AST_NODE_TYPES.JSXMemberExpression,object:this.convertJSXTagName(S.expression,Re),property:this.convertJSXIdentifier(S.name)});break;case N.ThisKeyword:case N.Identifier:default:return this.convertJSXNamespaceOrIdentifier(S)}return this.registerTSNodeInNodeMap(S,dt),dt}convertMethodSignature(S){let Re=this.createNode(S,{type:P.AST_NODE_TYPES.TSMethodSignature,computed:(0,V.isComputedProperty)(S.name),key:this.convertChild(S.name),params:this.convertParameters(S.parameters),kind:(()=>{switch(S.kind){case N.GetAccessor:return\"get\";case N.SetAccessor:return\"set\";case N.MethodSignature:return\"method\"}})()});(0,V.isOptional)(S)&&(Re.optional=!0),S.type&&(Re.returnType=this.convertTypeAnnotation(S.type,S)),(0,V.hasModifier)(N.ReadonlyKeyword,S)&&(Re.readonly=!0),S.typeParameters&&(Re.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(S.typeParameters));let dt=(0,V.getTSNodeAccessibility)(S);return dt&&(Re.accessibility=dt),(0,V.hasModifier)(N.ExportKeyword,S)&&(Re.export=!0),(0,V.hasModifier)(N.StaticKeyword,S)&&(Re.static=!0),Re}convertAssertClasue(S){return S===void 0?[]:S.elements.map(Re=>this.convertChild(Re))}applyModifiersToResult(S,Re){if(!Re)return;let dt=[];for(let _n of Re)switch(_n.kind){case N.ExportKeyword:case N.DefaultKeyword:break;case N.ConstKeyword:S.const=!0;break;case N.DeclareKeyword:S.declare=!0;break;default:dt.push(this.convertChild(_n));break}dt.length>0&&(S.modifiers=dt)}fixParentLocation(S,Re){Re[0]<S.range[0]&&(S.range[0]=Re[0],S.loc.start=(0,V.getLineAndCharacterFor)(S.range[0],this.ast)),Re[1]>S.range[1]&&(S.range[1]=Re[1],S.loc.end=(0,V.getLineAndCharacterFor)(S.range[1],this.ast))}assertModuleSpecifier(S,Re){var dt;if(!Re&&S.moduleSpecifier==null)throw(0,V.createError)(this.ast,S.pos,\"Module specifier must be a string literal.\");if(S.moduleSpecifier&&((dt=S.moduleSpecifier)===null||dt===void 0?void 0:dt.kind)!==N.StringLiteral)throw(0,V.createError)(this.ast,S.moduleSpecifier.pos,\"Module specifier must be a string literal.\")}convertNode(S,Re){var dt,_n,Qt,Mn,Bi,yn,vn,Ut,In,Vi;switch(S.kind){case N.SourceFile:return this.createNode(S,{type:P.AST_NODE_TYPES.Program,body:this.convertBodyExpressions(S.statements,S),sourceType:S.externalModuleIndicator?\"module\":\"script\",range:[S.getStart(this.ast),S.endOfFileToken.end]});case N.Block:return this.createNode(S,{type:P.AST_NODE_TYPES.BlockStatement,body:this.convertBodyExpressions(S.statements,S)});case N.Identifier:return(0,V.isThisInTypeQuery)(S)?this.createNode(S,{type:P.AST_NODE_TYPES.ThisExpression}):this.createNode(S,{type:P.AST_NODE_TYPES.Identifier,name:S.text});case N.PrivateIdentifier:return this.createNode(S,{type:P.AST_NODE_TYPES.PrivateIdentifier,name:S.text.slice(1)});case N.WithStatement:return this.createNode(S,{type:P.AST_NODE_TYPES.WithStatement,object:this.convertChild(S.expression),body:this.convertChild(S.statement)});case N.ReturnStatement:return this.createNode(S,{type:P.AST_NODE_TYPES.ReturnStatement,argument:this.convertChild(S.expression)});case N.LabeledStatement:return this.createNode(S,{type:P.AST_NODE_TYPES.LabeledStatement,label:this.convertChild(S.label),body:this.convertChild(S.statement)});case N.ContinueStatement:return this.createNode(S,{type:P.AST_NODE_TYPES.ContinueStatement,label:this.convertChild(S.label)});case N.BreakStatement:return this.createNode(S,{type:P.AST_NODE_TYPES.BreakStatement,label:this.convertChild(S.label)});case N.IfStatement:return this.createNode(S,{type:P.AST_NODE_TYPES.IfStatement,test:this.convertChild(S.expression),consequent:this.convertChild(S.thenStatement),alternate:this.convertChild(S.elseStatement)});case N.SwitchStatement:return this.createNode(S,{type:P.AST_NODE_TYPES.SwitchStatement,discriminant:this.convertChild(S.expression),cases:S.caseBlock.clauses.map(ct=>this.convertChild(ct))});case N.CaseClause:case N.DefaultClause:return this.createNode(S,{type:P.AST_NODE_TYPES.SwitchCase,test:S.kind===N.CaseClause?this.convertChild(S.expression):null,consequent:S.statements.map(ct=>this.convertChild(ct))});case N.ThrowStatement:return this.createNode(S,{type:P.AST_NODE_TYPES.ThrowStatement,argument:this.convertChild(S.expression)});case N.TryStatement:return this.createNode(S,{type:P.AST_NODE_TYPES.TryStatement,block:this.convertChild(S.tryBlock),handler:this.convertChild(S.catchClause),finalizer:this.convertChild(S.finallyBlock)});case N.CatchClause:return this.createNode(S,{type:P.AST_NODE_TYPES.CatchClause,param:S.variableDeclaration?this.convertBindingNameWithTypeAnnotation(S.variableDeclaration.name,S.variableDeclaration.type):null,body:this.convertChild(S.block)});case N.WhileStatement:return this.createNode(S,{type:P.AST_NODE_TYPES.WhileStatement,test:this.convertChild(S.expression),body:this.convertChild(S.statement)});case N.DoStatement:return this.createNode(S,{type:P.AST_NODE_TYPES.DoWhileStatement,test:this.convertChild(S.expression),body:this.convertChild(S.statement)});case N.ForStatement:return this.createNode(S,{type:P.AST_NODE_TYPES.ForStatement,init:this.convertChild(S.initializer),test:this.convertChild(S.condition),update:this.convertChild(S.incrementor),body:this.convertChild(S.statement)});case N.ForInStatement:return this.createNode(S,{type:P.AST_NODE_TYPES.ForInStatement,left:this.convertPattern(S.initializer),right:this.convertChild(S.expression),body:this.convertChild(S.statement)});case N.ForOfStatement:return this.createNode(S,{type:P.AST_NODE_TYPES.ForOfStatement,left:this.convertPattern(S.initializer),right:this.convertChild(S.expression),body:this.convertChild(S.statement),await:Boolean(S.awaitModifier&&S.awaitModifier.kind===N.AwaitKeyword)});case N.FunctionDeclaration:{let ct=(0,V.hasModifier)(N.DeclareKeyword,S),xi=this.createNode(S,{type:ct||!S.body?P.AST_NODE_TYPES.TSDeclareFunction:P.AST_NODE_TYPES.FunctionDeclaration,id:this.convertChild(S.name),generator:!!S.asteriskToken,expression:!1,async:(0,V.hasModifier)(N.AsyncKeyword,S),params:this.convertParameters(S.parameters),body:this.convertChild(S.body)||void 0});return S.type&&(xi.returnType=this.convertTypeAnnotation(S.type,S)),S.typeParameters&&(xi.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(S.typeParameters)),ct&&(xi.declare=!0),this.fixExports(S,xi)}case N.VariableDeclaration:{let ct=this.createNode(S,{type:P.AST_NODE_TYPES.VariableDeclarator,id:this.convertBindingNameWithTypeAnnotation(S.name,S.type,S),init:this.convertChild(S.initializer)});return S.exclamationToken&&(ct.definite=!0),ct}case N.VariableStatement:{let ct=this.createNode(S,{type:P.AST_NODE_TYPES.VariableDeclaration,declarations:S.declarationList.declarations.map(xi=>this.convertChild(xi)),kind:(0,V.getDeclarationKind)(S.declarationList)});return(0,V.hasModifier)(N.DeclareKeyword,S)&&(ct.declare=!0),this.fixExports(S,ct)}case N.VariableDeclarationList:return this.createNode(S,{type:P.AST_NODE_TYPES.VariableDeclaration,declarations:S.declarations.map(ct=>this.convertChild(ct)),kind:(0,V.getDeclarationKind)(S)});case N.ExpressionStatement:return this.createNode(S,{type:P.AST_NODE_TYPES.ExpressionStatement,expression:this.convertChild(S.expression)});case N.ThisKeyword:return this.createNode(S,{type:P.AST_NODE_TYPES.ThisExpression});case N.ArrayLiteralExpression:return this.allowPattern?this.createNode(S,{type:P.AST_NODE_TYPES.ArrayPattern,elements:S.elements.map(ct=>this.convertPattern(ct))}):this.createNode(S,{type:P.AST_NODE_TYPES.ArrayExpression,elements:S.elements.map(ct=>this.convertChild(ct))});case N.ObjectLiteralExpression:return this.allowPattern?this.createNode(S,{type:P.AST_NODE_TYPES.ObjectPattern,properties:S.properties.map(ct=>this.convertPattern(ct))}):this.createNode(S,{type:P.AST_NODE_TYPES.ObjectExpression,properties:S.properties.map(ct=>this.convertChild(ct))});case N.PropertyAssignment:return this.createNode(S,{type:P.AST_NODE_TYPES.Property,key:this.convertChild(S.name),value:this.converter(S.initializer,S,this.inTypeMode,this.allowPattern),computed:(0,V.isComputedProperty)(S.name),method:!1,shorthand:!1,kind:\"init\"});case N.ShorthandPropertyAssignment:return S.objectAssignmentInitializer?this.createNode(S,{type:P.AST_NODE_TYPES.Property,key:this.convertChild(S.name),value:this.createNode(S,{type:P.AST_NODE_TYPES.AssignmentPattern,left:this.convertPattern(S.name),right:this.convertChild(S.objectAssignmentInitializer)}),computed:!1,method:!1,shorthand:!0,kind:\"init\"}):this.createNode(S,{type:P.AST_NODE_TYPES.Property,key:this.convertChild(S.name),value:this.convertChild(S.name),computed:!1,method:!1,shorthand:!0,kind:\"init\"});case N.ComputedPropertyName:return this.convertChild(S.expression);case N.PropertyDeclaration:{let ct=(0,V.hasModifier)(N.AbstractKeyword,S),xi=(0,V.hasModifier)(N.AccessorKeyword,S),qr=(()=>xi?ct?P.AST_NODE_TYPES.TSAbstractAccessorProperty:P.AST_NODE_TYPES.AccessorProperty:ct?P.AST_NODE_TYPES.TSAbstractPropertyDefinition:P.AST_NODE_TYPES.PropertyDefinition)(),xr=this.createNode(S,{type:qr,key:this.convertChild(S.name),value:ct?null:this.convertChild(S.initializer),computed:(0,V.isComputedProperty)(S.name),static:(0,V.hasModifier)(N.StaticKeyword,S),readonly:(0,V.hasModifier)(N.ReadonlyKeyword,S)||void 0,declare:(0,V.hasModifier)(N.DeclareKeyword,S),override:(0,V.hasModifier)(N.OverrideKeyword,S)});S.type&&(xr.typeAnnotation=this.convertTypeAnnotation(S.type,S));let Bs=(0,ie.getDecorators)(S);Bs&&(xr.decorators=Bs.map(ms=>this.convertChild(ms)));let Mi=(0,V.getTSNodeAccessibility)(S);return Mi&&(xr.accessibility=Mi),(S.name.kind===N.Identifier||S.name.kind===N.ComputedPropertyName||S.name.kind===N.PrivateIdentifier)&&S.questionToken&&(xr.optional=!0),S.exclamationToken&&(xr.definite=!0),xr.key.type===P.AST_NODE_TYPES.Literal&&S.questionToken&&(xr.optional=!0),xr}case N.GetAccessor:case N.SetAccessor:if(S.parent.kind===N.InterfaceDeclaration||S.parent.kind===N.TypeLiteral)return this.convertMethodSignature(S);case N.MethodDeclaration:{let ct=this.createNode(S,{type:S.body?P.AST_NODE_TYPES.FunctionExpression:P.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,id:null,generator:!!S.asteriskToken,expression:!1,async:(0,V.hasModifier)(N.AsyncKeyword,S),body:this.convertChild(S.body),range:[S.parameters.pos-1,S.end],params:[]});S.type&&(ct.returnType=this.convertTypeAnnotation(S.type,S)),S.typeParameters&&(ct.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(S.typeParameters),this.fixParentLocation(ct,ct.typeParameters.range));let xi;if(Re.kind===N.ObjectLiteralExpression)ct.params=S.parameters.map(qr=>this.convertChild(qr)),xi=this.createNode(S,{type:P.AST_NODE_TYPES.Property,key:this.convertChild(S.name),value:ct,computed:(0,V.isComputedProperty)(S.name),method:S.kind===N.MethodDeclaration,shorthand:!1,kind:\"init\"});else{ct.params=this.convertParameters(S.parameters);let qr=(0,V.hasModifier)(N.AbstractKeyword,S)?P.AST_NODE_TYPES.TSAbstractMethodDefinition:P.AST_NODE_TYPES.MethodDefinition;xi=this.createNode(S,{type:qr,key:this.convertChild(S.name),value:ct,computed:(0,V.isComputedProperty)(S.name),static:(0,V.hasModifier)(N.StaticKeyword,S),kind:\"method\",override:(0,V.hasModifier)(N.OverrideKeyword,S)});let xr=(0,ie.getDecorators)(S);xr&&(xi.decorators=xr.map(Mi=>this.convertChild(Mi)));let Bs=(0,V.getTSNodeAccessibility)(S);Bs&&(xi.accessibility=Bs)}return S.questionToken&&(xi.optional=!0),S.kind===N.GetAccessor?xi.kind=\"get\":S.kind===N.SetAccessor?xi.kind=\"set\":!xi.static&&S.name.kind===N.StringLiteral&&S.name.text===\"constructor\"&&xi.type!==P.AST_NODE_TYPES.Property&&(xi.kind=\"constructor\"),xi}case N.Constructor:{let ct=(0,V.getLastModifier)(S),xi=ct&&(0,V.findNextToken)(ct,S,this.ast)||S.getFirstToken(),qr=this.createNode(S,{type:S.body?P.AST_NODE_TYPES.FunctionExpression:P.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,id:null,params:this.convertParameters(S.parameters),generator:!1,expression:!1,async:!1,body:this.convertChild(S.body),range:[S.parameters.pos-1,S.end]});S.typeParameters&&(qr.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(S.typeParameters),this.fixParentLocation(qr,qr.typeParameters.range)),S.type&&(qr.returnType=this.convertTypeAnnotation(S.type,S));let xr=this.createNode(S,{type:P.AST_NODE_TYPES.Identifier,name:\"constructor\",range:[xi.getStart(this.ast),xi.end]}),Bs=(0,V.hasModifier)(N.StaticKeyword,S),Mi=this.createNode(S,{type:(0,V.hasModifier)(N.AbstractKeyword,S)?P.AST_NODE_TYPES.TSAbstractMethodDefinition:P.AST_NODE_TYPES.MethodDefinition,key:xr,value:qr,computed:!1,static:Bs,kind:Bs?\"method\":\"constructor\",override:!1}),ms=(0,V.getTSNodeAccessibility)(S);return ms&&(Mi.accessibility=ms),Mi}case N.FunctionExpression:{let ct=this.createNode(S,{type:P.AST_NODE_TYPES.FunctionExpression,id:this.convertChild(S.name),generator:!!S.asteriskToken,params:this.convertParameters(S.parameters),body:this.convertChild(S.body),async:(0,V.hasModifier)(N.AsyncKeyword,S),expression:!1});return S.type&&(ct.returnType=this.convertTypeAnnotation(S.type,S)),S.typeParameters&&(ct.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(S.typeParameters)),ct}case N.SuperKeyword:return this.createNode(S,{type:P.AST_NODE_TYPES.Super});case N.ArrayBindingPattern:return this.createNode(S,{type:P.AST_NODE_TYPES.ArrayPattern,elements:S.elements.map(ct=>this.convertPattern(ct))});case N.OmittedExpression:return null;case N.ObjectBindingPattern:return this.createNode(S,{type:P.AST_NODE_TYPES.ObjectPattern,properties:S.elements.map(ct=>this.convertPattern(ct))});case N.BindingElement:if(Re.kind===N.ArrayBindingPattern){let ct=this.convertChild(S.name,Re);return S.initializer?this.createNode(S,{type:P.AST_NODE_TYPES.AssignmentPattern,left:ct,right:this.convertChild(S.initializer)}):S.dotDotDotToken?this.createNode(S,{type:P.AST_NODE_TYPES.RestElement,argument:ct}):ct}else{let ct;return S.dotDotDotToken?ct=this.createNode(S,{type:P.AST_NODE_TYPES.RestElement,argument:this.convertChild((dt=S.propertyName)!==null&&dt!==void 0?dt:S.name)}):ct=this.createNode(S,{type:P.AST_NODE_TYPES.Property,key:this.convertChild((_n=S.propertyName)!==null&&_n!==void 0?_n:S.name),value:this.convertChild(S.name),computed:Boolean(S.propertyName&&S.propertyName.kind===N.ComputedPropertyName),method:!1,shorthand:!S.propertyName,kind:\"init\"}),S.initializer&&(ct.value=this.createNode(S,{type:P.AST_NODE_TYPES.AssignmentPattern,left:this.convertChild(S.name),right:this.convertChild(S.initializer),range:[S.name.getStart(this.ast),S.initializer.end]})),ct}case N.ArrowFunction:{let ct=this.createNode(S,{type:P.AST_NODE_TYPES.ArrowFunctionExpression,generator:!1,id:null,params:this.convertParameters(S.parameters),body:this.convertChild(S.body),async:(0,V.hasModifier)(N.AsyncKeyword,S),expression:S.body.kind!==N.Block});return S.type&&(ct.returnType=this.convertTypeAnnotation(S.type,S)),S.typeParameters&&(ct.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(S.typeParameters)),ct}case N.YieldExpression:return this.createNode(S,{type:P.AST_NODE_TYPES.YieldExpression,delegate:!!S.asteriskToken,argument:this.convertChild(S.expression)});case N.AwaitExpression:return this.createNode(S,{type:P.AST_NODE_TYPES.AwaitExpression,argument:this.convertChild(S.expression)});case N.NoSubstitutionTemplateLiteral:return this.createNode(S,{type:P.AST_NODE_TYPES.TemplateLiteral,quasis:[this.createNode(S,{type:P.AST_NODE_TYPES.TemplateElement,value:{raw:this.ast.text.slice(S.getStart(this.ast)+1,S.end-1),cooked:S.text},tail:!0})],expressions:[]});case N.TemplateExpression:{let ct=this.createNode(S,{type:P.AST_NODE_TYPES.TemplateLiteral,quasis:[this.convertChild(S.head)],expressions:[]});return S.templateSpans.forEach(xi=>{ct.expressions.push(this.convertChild(xi.expression)),ct.quasis.push(this.convertChild(xi.literal))}),ct}case N.TaggedTemplateExpression:return this.createNode(S,{type:P.AST_NODE_TYPES.TaggedTemplateExpression,typeParameters:S.typeArguments?this.convertTypeArgumentsToTypeParameters(S.typeArguments,S):void 0,tag:this.convertChild(S.tag),quasi:this.convertChild(S.template)});case N.TemplateHead:case N.TemplateMiddle:case N.TemplateTail:{let ct=S.kind===N.TemplateTail;return this.createNode(S,{type:P.AST_NODE_TYPES.TemplateElement,value:{raw:this.ast.text.slice(S.getStart(this.ast)+1,S.end-(ct?1:2)),cooked:S.text},tail:ct})}case N.SpreadAssignment:case N.SpreadElement:return this.allowPattern?this.createNode(S,{type:P.AST_NODE_TYPES.RestElement,argument:this.convertPattern(S.expression)}):this.createNode(S,{type:P.AST_NODE_TYPES.SpreadElement,argument:this.convertChild(S.expression)});case N.Parameter:{let ct,xi;return S.dotDotDotToken?ct=xi=this.createNode(S,{type:P.AST_NODE_TYPES.RestElement,argument:this.convertChild(S.name)}):S.initializer?(ct=this.convertChild(S.name),xi=this.createNode(S,{type:P.AST_NODE_TYPES.AssignmentPattern,left:ct,right:this.convertChild(S.initializer)}),(0,ie.getModifiers)(S)&&(xi.range[0]=ct.range[0],xi.loc=(0,V.getLocFor)(xi.range[0],xi.range[1],this.ast))):ct=xi=this.convertChild(S.name,Re),S.type&&(ct.typeAnnotation=this.convertTypeAnnotation(S.type,S),this.fixParentLocation(ct,ct.typeAnnotation.range)),S.questionToken&&(S.questionToken.end>ct.range[1]&&(ct.range[1]=S.questionToken.end,ct.loc.end=(0,V.getLineAndCharacterFor)(ct.range[1],this.ast)),ct.optional=!0),(0,ie.getModifiers)(S)?this.createNode(S,{type:P.AST_NODE_TYPES.TSParameterProperty,accessibility:(Qt=(0,V.getTSNodeAccessibility)(S))!==null&&Qt!==void 0?Qt:void 0,readonly:(0,V.hasModifier)(N.ReadonlyKeyword,S)||void 0,static:(0,V.hasModifier)(N.StaticKeyword,S)||void 0,export:(0,V.hasModifier)(N.ExportKeyword,S)||void 0,override:(0,V.hasModifier)(N.OverrideKeyword,S)||void 0,parameter:xi}):xi}case N.ClassDeclaration:case N.ClassExpression:{let ct=(Mn=S.heritageClauses)!==null&&Mn!==void 0?Mn:[],xi=S.kind===N.ClassDeclaration?P.AST_NODE_TYPES.ClassDeclaration:P.AST_NODE_TYPES.ClassExpression,qr=ct.find(Ks=>Ks.token===N.ExtendsKeyword),xr=ct.find(Ks=>Ks.token===N.ImplementsKeyword),Bs=this.createNode(S,{type:xi,id:this.convertChild(S.name),body:this.createNode(S,{type:P.AST_NODE_TYPES.ClassBody,body:[],range:[S.members.pos-1,S.end]}),superClass:qr!=null&&qr.types[0]?this.convertChild(qr.types[0].expression):null});if(qr){if(qr.types.length>1)throw(0,V.createError)(this.ast,qr.types[1].pos,\"Classes can only extend a single class.\");!((Bi=qr.types[0])===null||Bi===void 0)&&Bi.typeArguments&&(Bs.superTypeParameters=this.convertTypeArgumentsToTypeParameters(qr.types[0].typeArguments,qr.types[0]))}S.typeParameters&&(Bs.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(S.typeParameters)),xr&&(Bs.implements=xr.types.map(Ks=>this.convertChild(Ks))),(0,V.hasModifier)(N.AbstractKeyword,S)&&(Bs.abstract=!0),(0,V.hasModifier)(N.DeclareKeyword,S)&&(Bs.declare=!0);let Mi=(0,ie.getDecorators)(S);Mi&&(Bs.decorators=Mi.map(Ks=>this.convertChild(Ks)));let ms=S.members.filter(V.isESTreeClassMember);return ms.length&&(Bs.body.body=ms.map(Ks=>this.convertChild(Ks))),this.fixExports(S,Bs)}case N.ModuleBlock:return this.createNode(S,{type:P.AST_NODE_TYPES.TSModuleBlock,body:this.convertBodyExpressions(S.statements,S)});case N.ImportDeclaration:{this.assertModuleSpecifier(S,!1);let ct=this.createNode(S,{type:P.AST_NODE_TYPES.ImportDeclaration,source:this.convertChild(S.moduleSpecifier),specifiers:[],importKind:\"value\",assertions:this.convertAssertClasue(S.assertClause)});if(S.importClause&&(S.importClause.isTypeOnly&&(ct.importKind=\"type\"),S.importClause.name&&ct.specifiers.push(this.convertChild(S.importClause)),S.importClause.namedBindings))switch(S.importClause.namedBindings.kind){case N.NamespaceImport:ct.specifiers.push(this.convertChild(S.importClause.namedBindings));break;case N.NamedImports:ct.specifiers=ct.specifiers.concat(S.importClause.namedBindings.elements.map(xi=>this.convertChild(xi)));break}return ct}case N.NamespaceImport:return this.createNode(S,{type:P.AST_NODE_TYPES.ImportNamespaceSpecifier,local:this.convertChild(S.name)});case N.ImportSpecifier:return this.createNode(S,{type:P.AST_NODE_TYPES.ImportSpecifier,local:this.convertChild(S.name),imported:this.convertChild((yn=S.propertyName)!==null&&yn!==void 0?yn:S.name),importKind:S.isTypeOnly?\"type\":\"value\"});case N.ImportClause:{let ct=this.convertChild(S.name);return this.createNode(S,{type:P.AST_NODE_TYPES.ImportDefaultSpecifier,local:ct,range:ct.range})}case N.ExportDeclaration:return((vn=S.exportClause)===null||vn===void 0?void 0:vn.kind)===N.NamedExports?(this.assertModuleSpecifier(S,!0),this.createNode(S,{type:P.AST_NODE_TYPES.ExportNamedDeclaration,source:this.convertChild(S.moduleSpecifier),specifiers:S.exportClause.elements.map(ct=>this.convertChild(ct)),exportKind:S.isTypeOnly?\"type\":\"value\",declaration:null,assertions:this.convertAssertClasue(S.assertClause)})):(this.assertModuleSpecifier(S,!1),this.createNode(S,{type:P.AST_NODE_TYPES.ExportAllDeclaration,source:this.convertChild(S.moduleSpecifier),exportKind:S.isTypeOnly?\"type\":\"value\",exported:S.exportClause&&S.exportClause.kind===N.NamespaceExport?this.convertChild(S.exportClause.name):null,assertions:this.convertAssertClasue(S.assertClause)}));case N.ExportSpecifier:return this.createNode(S,{type:P.AST_NODE_TYPES.ExportSpecifier,local:this.convertChild((Ut=S.propertyName)!==null&&Ut!==void 0?Ut:S.name),exported:this.convertChild(S.name),exportKind:S.isTypeOnly?\"type\":\"value\"});case N.ExportAssignment:return S.isExportEquals?this.createNode(S,{type:P.AST_NODE_TYPES.TSExportAssignment,expression:this.convertChild(S.expression)}):this.createNode(S,{type:P.AST_NODE_TYPES.ExportDefaultDeclaration,declaration:this.convertChild(S.expression),exportKind:\"value\"});case N.PrefixUnaryExpression:case N.PostfixUnaryExpression:{let ct=(0,V.getTextForTokenKind)(S.operator);return ct===\"++\"||ct===\"--\"?this.createNode(S,{type:P.AST_NODE_TYPES.UpdateExpression,operator:ct,prefix:S.kind===N.PrefixUnaryExpression,argument:this.convertChild(S.operand)}):this.createNode(S,{type:P.AST_NODE_TYPES.UnaryExpression,operator:ct,prefix:S.kind===N.PrefixUnaryExpression,argument:this.convertChild(S.operand)})}case N.DeleteExpression:return this.createNode(S,{type:P.AST_NODE_TYPES.UnaryExpression,operator:\"delete\",prefix:!0,argument:this.convertChild(S.expression)});case N.VoidExpression:return this.createNode(S,{type:P.AST_NODE_TYPES.UnaryExpression,operator:\"void\",prefix:!0,argument:this.convertChild(S.expression)});case N.TypeOfExpression:return this.createNode(S,{type:P.AST_NODE_TYPES.UnaryExpression,operator:\"typeof\",prefix:!0,argument:this.convertChild(S.expression)});case N.TypeOperator:return this.createNode(S,{type:P.AST_NODE_TYPES.TSTypeOperator,operator:(0,V.getTextForTokenKind)(S.operator),typeAnnotation:this.convertChild(S.type)});case N.BinaryExpression:if((0,V.isComma)(S.operatorToken)){let ct=this.createNode(S,{type:P.AST_NODE_TYPES.SequenceExpression,expressions:[]}),xi=this.convertChild(S.left);return xi.type===P.AST_NODE_TYPES.SequenceExpression&&S.left.kind!==N.ParenthesizedExpression?ct.expressions=ct.expressions.concat(xi.expressions):ct.expressions.push(xi),ct.expressions.push(this.convertChild(S.right)),ct}else{let ct=(0,V.getBinaryExpressionType)(S.operatorToken);return this.allowPattern&&ct===P.AST_NODE_TYPES.AssignmentExpression?this.createNode(S,{type:P.AST_NODE_TYPES.AssignmentPattern,left:this.convertPattern(S.left,S),right:this.convertChild(S.right)}):this.createNode(S,{type:ct,operator:(0,V.getTextForTokenKind)(S.operatorToken.kind),left:this.converter(S.left,S,this.inTypeMode,ct===P.AST_NODE_TYPES.AssignmentExpression),right:this.convertChild(S.right)})}case N.PropertyAccessExpression:{let ct=this.convertChild(S.expression),xi=this.convertChild(S.name),qr=!1,xr=this.createNode(S,{type:P.AST_NODE_TYPES.MemberExpression,object:ct,property:xi,computed:qr,optional:S.questionDotToken!==void 0});return this.convertChainExpression(xr,S)}case N.ElementAccessExpression:{let ct=this.convertChild(S.expression),xi=this.convertChild(S.argumentExpression),qr=!0,xr=this.createNode(S,{type:P.AST_NODE_TYPES.MemberExpression,object:ct,property:xi,computed:qr,optional:S.questionDotToken!==void 0});return this.convertChainExpression(xr,S)}case N.CallExpression:{if(S.expression.kind===N.ImportKeyword){if(S.arguments.length!==1&&S.arguments.length!==2)throw(0,V.createError)(this.ast,S.arguments.pos,\"Dynamic import requires exactly one or two arguments.\");return this.createNode(S,{type:P.AST_NODE_TYPES.ImportExpression,source:this.convertChild(S.arguments[0]),attributes:S.arguments[1]?this.convertChild(S.arguments[1]):null})}let ct=this.convertChild(S.expression),xi=S.arguments.map(xr=>this.convertChild(xr)),qr=this.createNode(S,{type:P.AST_NODE_TYPES.CallExpression,callee:ct,arguments:xi,optional:S.questionDotToken!==void 0});return S.typeArguments&&(qr.typeParameters=this.convertTypeArgumentsToTypeParameters(S.typeArguments,S)),this.convertChainExpression(qr,S)}case N.NewExpression:{let ct=this.createNode(S,{type:P.AST_NODE_TYPES.NewExpression,callee:this.convertChild(S.expression),arguments:S.arguments?S.arguments.map(xi=>this.convertChild(xi)):[]});return S.typeArguments&&(ct.typeParameters=this.convertTypeArgumentsToTypeParameters(S.typeArguments,S)),ct}case N.ConditionalExpression:return this.createNode(S,{type:P.AST_NODE_TYPES.ConditionalExpression,test:this.convertChild(S.condition),consequent:this.convertChild(S.whenTrue),alternate:this.convertChild(S.whenFalse)});case N.MetaProperty:return this.createNode(S,{type:P.AST_NODE_TYPES.MetaProperty,meta:this.createNode(S.getFirstToken(),{type:P.AST_NODE_TYPES.Identifier,name:(0,V.getTextForTokenKind)(S.keywordToken)}),property:this.convertChild(S.name)});case N.Decorator:return this.createNode(S,{type:P.AST_NODE_TYPES.Decorator,expression:this.convertChild(S.expression)});case N.StringLiteral:return this.createNode(S,{type:P.AST_NODE_TYPES.Literal,value:Re.kind===N.JsxAttribute?(0,V.unescapeStringLiteralText)(S.text):S.text,raw:S.getText()});case N.NumericLiteral:return this.createNode(S,{type:P.AST_NODE_TYPES.Literal,value:Number(S.text),raw:S.getText()});case N.BigIntLiteral:{let ct=(0,V.getRange)(S,this.ast),xi=this.ast.text.slice(ct[0],ct[1]),qr=xi.slice(0,-1).replace(/_/g,\"\"),xr=typeof BigInt<\"u\"?BigInt(qr):null;return this.createNode(S,{type:P.AST_NODE_TYPES.Literal,raw:xi,value:xr,bigint:xr==null?qr:String(xr),range:ct})}case N.RegularExpressionLiteral:{let ct=S.text.slice(1,S.text.lastIndexOf(\"/\")),xi=S.text.slice(S.text.lastIndexOf(\"/\")+1),qr=null;try{qr=new RegExp(ct,xi)}catch{qr=null}return this.createNode(S,{type:P.AST_NODE_TYPES.Literal,value:qr,raw:S.text,regex:{pattern:ct,flags:xi}})}case N.TrueKeyword:return this.createNode(S,{type:P.AST_NODE_TYPES.Literal,value:!0,raw:\"true\"});case N.FalseKeyword:return this.createNode(S,{type:P.AST_NODE_TYPES.Literal,value:!1,raw:\"false\"});case N.NullKeyword:return!he.typescriptVersionIsAtLeast[\"4.0\"]&&this.inTypeMode?this.createNode(S,{type:P.AST_NODE_TYPES.TSNullKeyword}):this.createNode(S,{type:P.AST_NODE_TYPES.Literal,value:null,raw:\"null\"});case N.EmptyStatement:return this.createNode(S,{type:P.AST_NODE_TYPES.EmptyStatement});case N.DebuggerStatement:return this.createNode(S,{type:P.AST_NODE_TYPES.DebuggerStatement});case N.JsxElement:return this.createNode(S,{type:P.AST_NODE_TYPES.JSXElement,openingElement:this.convertChild(S.openingElement),closingElement:this.convertChild(S.closingElement),children:S.children.map(ct=>this.convertChild(ct))});case N.JsxFragment:return this.createNode(S,{type:P.AST_NODE_TYPES.JSXFragment,openingFragment:this.convertChild(S.openingFragment),closingFragment:this.convertChild(S.closingFragment),children:S.children.map(ct=>this.convertChild(ct))});case N.JsxSelfClosingElement:return this.createNode(S,{type:P.AST_NODE_TYPES.JSXElement,openingElement:this.createNode(S,{type:P.AST_NODE_TYPES.JSXOpeningElement,typeParameters:S.typeArguments?this.convertTypeArgumentsToTypeParameters(S.typeArguments,S):void 0,selfClosing:!0,name:this.convertJSXTagName(S.tagName,S),attributes:S.attributes.properties.map(ct=>this.convertChild(ct)),range:(0,V.getRange)(S,this.ast)}),closingElement:null,children:[]});case N.JsxOpeningElement:return this.createNode(S,{type:P.AST_NODE_TYPES.JSXOpeningElement,typeParameters:S.typeArguments?this.convertTypeArgumentsToTypeParameters(S.typeArguments,S):void 0,selfClosing:!1,name:this.convertJSXTagName(S.tagName,S),attributes:S.attributes.properties.map(ct=>this.convertChild(ct))});case N.JsxClosingElement:return this.createNode(S,{type:P.AST_NODE_TYPES.JSXClosingElement,name:this.convertJSXTagName(S.tagName,S)});case N.JsxOpeningFragment:return this.createNode(S,{type:P.AST_NODE_TYPES.JSXOpeningFragment});case N.JsxClosingFragment:return this.createNode(S,{type:P.AST_NODE_TYPES.JSXClosingFragment});case N.JsxExpression:{let ct=S.expression?this.convertChild(S.expression):this.createNode(S,{type:P.AST_NODE_TYPES.JSXEmptyExpression,range:[S.getStart(this.ast)+1,S.getEnd()-1]});return S.dotDotDotToken?this.createNode(S,{type:P.AST_NODE_TYPES.JSXSpreadChild,expression:ct}):this.createNode(S,{type:P.AST_NODE_TYPES.JSXExpressionContainer,expression:ct})}case N.JsxAttribute:return this.createNode(S,{type:P.AST_NODE_TYPES.JSXAttribute,name:this.convertJSXNamespaceOrIdentifier(S.name),value:this.convertChild(S.initializer)});case N.JsxText:{let ct=S.getFullStart(),xi=S.getEnd(),qr=this.ast.text.slice(ct,xi);return this.createNode(S,{type:P.AST_NODE_TYPES.JSXText,value:(0,V.unescapeStringLiteralText)(qr),raw:qr,range:[ct,xi]})}case N.JsxSpreadAttribute:return this.createNode(S,{type:P.AST_NODE_TYPES.JSXSpreadAttribute,argument:this.convertChild(S.expression)});case N.QualifiedName:return this.createNode(S,{type:P.AST_NODE_TYPES.TSQualifiedName,left:this.convertChild(S.left),right:this.convertChild(S.right)});case N.TypeReference:return this.createNode(S,{type:P.AST_NODE_TYPES.TSTypeReference,typeName:this.convertType(S.typeName),typeParameters:S.typeArguments?this.convertTypeArgumentsToTypeParameters(S.typeArguments,S):void 0});case N.TypeParameter:return this.createNode(S,{type:P.AST_NODE_TYPES.TSTypeParameter,name:this.convertType(S.name),constraint:S.constraint?this.convertType(S.constraint):void 0,default:S.default?this.convertType(S.default):void 0,in:(0,V.hasModifier)(N.InKeyword,S),out:(0,V.hasModifier)(N.OutKeyword,S),const:(0,V.hasModifier)(N.ConstKeyword,S)});case N.ThisType:return this.createNode(S,{type:P.AST_NODE_TYPES.TSThisType});case N.AnyKeyword:case N.BigIntKeyword:case N.BooleanKeyword:case N.NeverKeyword:case N.NumberKeyword:case N.ObjectKeyword:case N.StringKeyword:case N.SymbolKeyword:case N.UnknownKeyword:case N.VoidKeyword:case N.UndefinedKeyword:case N.IntrinsicKeyword:return this.createNode(S,{type:P.AST_NODE_TYPES[`TS${N[S.kind]}`]});case N.NonNullExpression:{let ct=this.createNode(S,{type:P.AST_NODE_TYPES.TSNonNullExpression,expression:this.convertChild(S.expression)});return this.convertChainExpression(ct,S)}case N.TypeLiteral:return this.createNode(S,{type:P.AST_NODE_TYPES.TSTypeLiteral,members:S.members.map(ct=>this.convertChild(ct))});case N.ArrayType:return this.createNode(S,{type:P.AST_NODE_TYPES.TSArrayType,elementType:this.convertType(S.elementType)});case N.IndexedAccessType:return this.createNode(S,{type:P.AST_NODE_TYPES.TSIndexedAccessType,objectType:this.convertType(S.objectType),indexType:this.convertType(S.indexType)});case N.ConditionalType:return this.createNode(S,{type:P.AST_NODE_TYPES.TSConditionalType,checkType:this.convertType(S.checkType),extendsType:this.convertType(S.extendsType),trueType:this.convertType(S.trueType),falseType:this.convertType(S.falseType)});case N.TypeQuery:return this.createNode(S,{type:P.AST_NODE_TYPES.TSTypeQuery,exprName:this.convertType(S.exprName),typeParameters:S.typeArguments&&this.convertTypeArgumentsToTypeParameters(S.typeArguments,S)});case N.MappedType:{let ct=this.createNode(S,{type:P.AST_NODE_TYPES.TSMappedType,typeParameter:this.convertType(S.typeParameter),nameType:(In=this.convertType(S.nameType))!==null&&In!==void 0?In:null});return S.readonlyToken&&(S.readonlyToken.kind===N.ReadonlyKeyword?ct.readonly=!0:ct.readonly=(0,V.getTextForTokenKind)(S.readonlyToken.kind)),S.questionToken&&(S.questionToken.kind===N.QuestionToken?ct.optional=!0:ct.optional=(0,V.getTextForTokenKind)(S.questionToken.kind)),S.type&&(ct.typeAnnotation=this.convertType(S.type)),ct}case N.ParenthesizedExpression:return this.convertChild(S.expression,Re);case N.TypeAliasDeclaration:{let ct=this.createNode(S,{type:P.AST_NODE_TYPES.TSTypeAliasDeclaration,id:this.convertChild(S.name),typeAnnotation:this.convertType(S.type)});return(0,V.hasModifier)(N.DeclareKeyword,S)&&(ct.declare=!0),S.typeParameters&&(ct.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(S.typeParameters)),this.fixExports(S,ct)}case N.MethodSignature:return this.convertMethodSignature(S);case N.PropertySignature:{let ct=this.createNode(S,{type:P.AST_NODE_TYPES.TSPropertySignature,optional:(0,V.isOptional)(S)||void 0,computed:(0,V.isComputedProperty)(S.name),key:this.convertChild(S.name),typeAnnotation:S.type?this.convertTypeAnnotation(S.type,S):void 0,initializer:this.convertChild(S.initializer)||void 0,readonly:(0,V.hasModifier)(N.ReadonlyKeyword,S)||void 0,static:(0,V.hasModifier)(N.StaticKeyword,S)||void 0,export:(0,V.hasModifier)(N.ExportKeyword,S)||void 0}),xi=(0,V.getTSNodeAccessibility)(S);return xi&&(ct.accessibility=xi),ct}case N.IndexSignature:{let ct=this.createNode(S,{type:P.AST_NODE_TYPES.TSIndexSignature,parameters:S.parameters.map(qr=>this.convertChild(qr))});S.type&&(ct.typeAnnotation=this.convertTypeAnnotation(S.type,S)),(0,V.hasModifier)(N.ReadonlyKeyword,S)&&(ct.readonly=!0);let xi=(0,V.getTSNodeAccessibility)(S);return xi&&(ct.accessibility=xi),(0,V.hasModifier)(N.ExportKeyword,S)&&(ct.export=!0),(0,V.hasModifier)(N.StaticKeyword,S)&&(ct.static=!0),ct}case N.ConstructorType:{let ct=this.createNode(S,{type:P.AST_NODE_TYPES.TSConstructorType,params:this.convertParameters(S.parameters),abstract:(0,V.hasModifier)(N.AbstractKeyword,S)});return S.type&&(ct.returnType=this.convertTypeAnnotation(S.type,S)),S.typeParameters&&(ct.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(S.typeParameters)),ct}case N.FunctionType:case N.ConstructSignature:case N.CallSignature:{let ct=S.kind===N.ConstructSignature?P.AST_NODE_TYPES.TSConstructSignatureDeclaration:S.kind===N.CallSignature?P.AST_NODE_TYPES.TSCallSignatureDeclaration:P.AST_NODE_TYPES.TSFunctionType,xi=this.createNode(S,{type:ct,params:this.convertParameters(S.parameters)});return S.type&&(xi.returnType=this.convertTypeAnnotation(S.type,S)),S.typeParameters&&(xi.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(S.typeParameters)),xi}case N.ExpressionWithTypeArguments:{let ct=Re.kind,xi=ct===N.InterfaceDeclaration?P.AST_NODE_TYPES.TSInterfaceHeritage:ct===N.HeritageClause?P.AST_NODE_TYPES.TSClassImplements:P.AST_NODE_TYPES.TSInstantiationExpression,qr=this.createNode(S,{type:xi,expression:this.convertChild(S.expression)});return S.typeArguments&&(qr.typeParameters=this.convertTypeArgumentsToTypeParameters(S.typeArguments,S)),qr}case N.InterfaceDeclaration:{let ct=(Vi=S.heritageClauses)!==null&&Vi!==void 0?Vi:[],xi=this.createNode(S,{type:P.AST_NODE_TYPES.TSInterfaceDeclaration,body:this.createNode(S,{type:P.AST_NODE_TYPES.TSInterfaceBody,body:S.members.map(qr=>this.convertChild(qr)),range:[S.members.pos-1,S.end]}),id:this.convertChild(S.name)});if(S.typeParameters&&(xi.typeParameters=this.convertTSTypeParametersToTypeParametersDeclaration(S.typeParameters)),ct.length>0){let qr=[],xr=[];for(let Bs of ct)if(Bs.token===N.ExtendsKeyword)for(let Mi of Bs.types)qr.push(this.convertChild(Mi,S));else for(let Mi of Bs.types)xr.push(this.convertChild(Mi,S));qr.length&&(xi.extends=qr),xr.length&&(xi.implements=xr)}return(0,V.hasModifier)(N.AbstractKeyword,S)&&(xi.abstract=!0),(0,V.hasModifier)(N.DeclareKeyword,S)&&(xi.declare=!0),this.fixExports(S,xi)}case N.TypePredicate:{let ct=this.createNode(S,{type:P.AST_NODE_TYPES.TSTypePredicate,asserts:S.assertsModifier!==void 0,parameterName:this.convertChild(S.parameterName),typeAnnotation:null});return S.type&&(ct.typeAnnotation=this.convertTypeAnnotation(S.type,S),ct.typeAnnotation.loc=ct.typeAnnotation.typeAnnotation.loc,ct.typeAnnotation.range=ct.typeAnnotation.typeAnnotation.range),ct}case N.ImportType:return this.createNode(S,{type:P.AST_NODE_TYPES.TSImportType,isTypeOf:!!S.isTypeOf,parameter:this.convertChild(S.argument),qualifier:this.convertChild(S.qualifier),typeParameters:S.typeArguments?this.convertTypeArgumentsToTypeParameters(S.typeArguments,S):null});case N.EnumDeclaration:{let ct=this.createNode(S,{type:P.AST_NODE_TYPES.TSEnumDeclaration,id:this.convertChild(S.name),members:S.members.map(xi=>this.convertChild(xi))});return this.applyModifiersToResult(ct,(0,ie.getModifiers)(S)),this.fixExports(S,ct)}case N.EnumMember:{let ct=this.createNode(S,{type:P.AST_NODE_TYPES.TSEnumMember,id:this.convertChild(S.name)});return S.initializer&&(ct.initializer=this.convertChild(S.initializer)),S.name.kind===ve.SyntaxKind.ComputedPropertyName&&(ct.computed=!0),ct}case N.ModuleDeclaration:{let ct=this.createNode(S,Object.assign({type:P.AST_NODE_TYPES.TSModuleDeclaration},(()=>{let xi=this.convertChild(S.name),qr=this.convertChild(S.body);if(S.flags&ve.NodeFlags.GlobalAugmentation){if(qr==null||qr.type===P.AST_NODE_TYPES.TSModuleDeclaration)throw new Error(\"Expected a valid module body\");if(xi.type!==P.AST_NODE_TYPES.Identifier)throw new Error(\"global module augmentation must have an Identifier id\");return{kind:\"global\",id:xi,body:qr,global:!0}}else if(S.flags&ve.NodeFlags.Namespace){if(qr==null)throw new Error(\"Expected a module body\");if(xi.type!==P.AST_NODE_TYPES.Identifier)throw new Error(\"`namespace`s must have an Identifier id\");return{kind:\"namespace\",id:xi,body:qr}}else return Object.assign({kind:\"module\",id:xi},qr!=null?{body:qr}:{})})()));return this.applyModifiersToResult(ct,(0,ie.getModifiers)(S)),this.fixExports(S,ct)}case N.ParenthesizedType:return this.convertType(S.type);case N.UnionType:return this.createNode(S,{type:P.AST_NODE_TYPES.TSUnionType,types:S.types.map(ct=>this.convertType(ct))});case N.IntersectionType:return this.createNode(S,{type:P.AST_NODE_TYPES.TSIntersectionType,types:S.types.map(ct=>this.convertType(ct))});case N.AsExpression:return this.createNode(S,{type:P.AST_NODE_TYPES.TSAsExpression,expression:this.convertChild(S.expression),typeAnnotation:this.convertType(S.type)});case N.InferType:return this.createNode(S,{type:P.AST_NODE_TYPES.TSInferType,typeParameter:this.convertType(S.typeParameter)});case N.LiteralType:return he.typescriptVersionIsAtLeast[\"4.0\"]&&S.literal.kind===N.NullKeyword?this.createNode(S.literal,{type:P.AST_NODE_TYPES.TSNullKeyword}):this.createNode(S,{type:P.AST_NODE_TYPES.TSLiteralType,literal:this.convertType(S.literal)});case N.TypeAssertionExpression:return this.createNode(S,{type:P.AST_NODE_TYPES.TSTypeAssertion,typeAnnotation:this.convertType(S.type),expression:this.convertChild(S.expression)});case N.ImportEqualsDeclaration:return this.createNode(S,{type:P.AST_NODE_TYPES.TSImportEqualsDeclaration,id:this.convertChild(S.name),moduleReference:this.convertChild(S.moduleReference),importKind:S.isTypeOnly?\"type\":\"value\",isExport:(0,V.hasModifier)(N.ExportKeyword,S)});case N.ExternalModuleReference:return this.createNode(S,{type:P.AST_NODE_TYPES.TSExternalModuleReference,expression:this.convertChild(S.expression)});case N.NamespaceExportDeclaration:return this.createNode(S,{type:P.AST_NODE_TYPES.TSNamespaceExportDeclaration,id:this.convertChild(S.name)});case N.AbstractKeyword:return this.createNode(S,{type:P.AST_NODE_TYPES.TSAbstractKeyword});case N.TupleType:{let ct=\"elementTypes\"in S?S.elementTypes.map(xi=>this.convertType(xi)):S.elements.map(xi=>this.convertType(xi));return this.createNode(S,{type:P.AST_NODE_TYPES.TSTupleType,elementTypes:ct})}case N.NamedTupleMember:{let ct=this.createNode(S,{type:P.AST_NODE_TYPES.TSNamedTupleMember,elementType:this.convertType(S.type,S),label:this.convertChild(S.name,S),optional:S.questionToken!=null});return S.dotDotDotToken?(ct.range[0]=ct.label.range[0],ct.loc.start=ct.label.loc.start,this.createNode(S,{type:P.AST_NODE_TYPES.TSRestType,typeAnnotation:ct})):ct}case N.OptionalType:return this.createNode(S,{type:P.AST_NODE_TYPES.TSOptionalType,typeAnnotation:this.convertType(S.type)});case N.RestType:return this.createNode(S,{type:P.AST_NODE_TYPES.TSRestType,typeAnnotation:this.convertType(S.type)});case N.TemplateLiteralType:{let ct=this.createNode(S,{type:P.AST_NODE_TYPES.TSTemplateLiteralType,quasis:[this.convertChild(S.head)],types:[]});return S.templateSpans.forEach(xi=>{ct.types.push(this.convertChild(xi.type)),ct.quasis.push(this.convertChild(xi.literal))}),ct}case N.ClassStaticBlockDeclaration:return this.createNode(S,{type:P.AST_NODE_TYPES.StaticBlock,body:this.convertBodyExpressions(S.body.statements,S)});case N.AssertEntry:return this.createNode(S,{type:P.AST_NODE_TYPES.ImportAttribute,key:this.convertChild(S.name),value:this.convertChild(S.value)});case N.SatisfiesExpression:return this.createNode(S,{type:P.AST_NODE_TYPES.TSSatisfiesExpression,expression:this.convertChild(S.expression),typeAnnotation:this.convertChild(S.type)});default:return this.deeplyCopy(S)}}};b.Converter=Se}}),Rd={};ni(Rd,{__assign:()=>eo,__asyncDelegator:()=>Ft,__asyncGenerator:()=>Te,__asyncValues:()=>Lt,__await:()=>Ce,__awaiter:()=>Ui,__classPrivateFieldGet:()=>si,__classPrivateFieldSet:()=>Ur,__createBinding:()=>Jn,__decorate:()=>kt,__exportStar:()=>bi,__extends:()=>qd,__generator:()=>dr,__importDefault:()=>Pi,__importStar:()=>Nn,__makeTemplateObject:()=>nn,__metadata:()=>mi,__param:()=>Wn,__read:()=>zr,__rest:()=>Hf,__spread:()=>ko,__spreadArrays:()=>fi,__values:()=>Rr});function qd(b,v){Xr(b,v);function X(){this.constructor=b}b.prototype=v===null?Object.create(v):(X.prototype=v.prototype,new X)}function Hf(b,v){var X={};for(var de in b)Object.prototype.hasOwnProperty.call(b,de)&&v.indexOf(de)<0&&(X[de]=b[de]);if(b!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var ve=0,de=Object.getOwnPropertySymbols(b);ve<de.length;ve++)v.indexOf(de[ve])<0&&Object.prototype.propertyIsEnumerable.call(b,de[ve])&&(X[de[ve]]=b[de[ve]]);return X}function kt(b,v,X,de){var ve=arguments.length,ie=ve<3?v:de===null?de=Object.getOwnPropertyDescriptor(v,X):de,V;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")ie=Reflect.decorate(b,v,X,de);else for(var P=b.length-1;P>=0;P--)(V=b[P])&&(ie=(ve<3?V(ie):ve>3?V(v,X,ie):V(v,X))||ie);return ve>3&&ie&&Object.defineProperty(v,X,ie),ie}function Wn(b,v){return function(X,de){v(X,de,b)}}function mi(b,v){if(typeof Reflect==\"object\"&&typeof Reflect.metadata==\"function\")return Reflect.metadata(b,v)}function Ui(b,v,X,de){function ve(ie){return ie instanceof X?ie:new X(function(V){V(ie)})}return new(X||(X=Promise))(function(ie,V){function P(se){try{N(de.next(se))}catch(Se){V(Se)}}function he(se){try{N(de.throw(se))}catch(Se){V(Se)}}function N(se){se.done?ie(se.value):ve(se.value).then(P,he)}N((de=de.apply(b,v||[])).next())})}function dr(b,v){var X={label:0,sent:function(){if(ie[0]&1)throw ie[1];return ie[1]},trys:[],ops:[]},de,ve,ie,V;return V={next:P(0),throw:P(1),return:P(2)},typeof Symbol==\"function\"&&(V[Symbol.iterator]=function(){return this}),V;function P(N){return function(se){return he([N,se])}}function he(N){if(de)throw new TypeError(\"Generator is already executing.\");for(;X;)try{if(de=1,ve&&(ie=N[0]&2?ve.return:N[0]?ve.throw||((ie=ve.return)&&ie.call(ve),0):ve.next)&&!(ie=ie.call(ve,N[1])).done)return ie;switch(ve=0,ie&&(N=[N[0]&2,ie.value]),N[0]){case 0:case 1:ie=N;break;case 4:return X.label++,{value:N[1],done:!1};case 5:X.label++,ve=N[1],N=[0];continue;case 7:N=X.ops.pop(),X.trys.pop();continue;default:if(ie=X.trys,!(ie=ie.length>0&&ie[ie.length-1])&&(N[0]===6||N[0]===2)){X=0;continue}if(N[0]===3&&(!ie||N[1]>ie[0]&&N[1]<ie[3])){X.label=N[1];break}if(N[0]===6&&X.label<ie[1]){X.label=ie[1],ie=N;break}if(ie&&X.label<ie[2]){X.label=ie[2],X.ops.push(N);break}ie[2]&&X.ops.pop(),X.trys.pop();continue}N=v.call(b,X)}catch(se){N=[6,se],ve=0}finally{de=ie=0}if(N[0]&5)throw N[1];return{value:N[0]?N[1]:void 0,done:!0}}}function Jn(b,v,X,de){de===void 0&&(de=X),b[de]=v[X]}function bi(b,v){for(var X in b)X!==\"default\"&&!v.hasOwnProperty(X)&&(v[X]=b[X])}function Rr(b){var v=typeof Symbol==\"function\"&&Symbol.iterator,X=v&&b[v],de=0;if(X)return X.call(b);if(b&&typeof b.length==\"number\")return{next:function(){return b&&de>=b.length&&(b=void 0),{value:b&&b[de++],done:!b}}};throw new TypeError(v?\"Object is not iterable.\":\"Symbol.iterator is not defined.\")}function zr(b,v){var X=typeof Symbol==\"function\"&&b[Symbol.iterator];if(!X)return b;var de=X.call(b),ve,ie=[],V;try{for(;(v===void 0||v-- >0)&&!(ve=de.next()).done;)ie.push(ve.value)}catch(P){V={error:P}}finally{try{ve&&!ve.done&&(X=de.return)&&X.call(de)}finally{if(V)throw V.error}}return ie}function ko(){for(var b=[],v=0;v<arguments.length;v++)b=b.concat(zr(arguments[v]));return b}function fi(){for(var b=0,v=0,X=arguments.length;v<X;v++)b+=arguments[v].length;for(var de=Array(b),ve=0,v=0;v<X;v++)for(var ie=arguments[v],V=0,P=ie.length;V<P;V++,ve++)de[ve]=ie[V];return de}function Ce(b){return this instanceof Ce?(this.v=b,this):new Ce(b)}function Te(b,v,X){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var de=X.apply(b,v||[]),ve,ie=[];return ve={},V(\"next\"),V(\"throw\"),V(\"return\"),ve[Symbol.asyncIterator]=function(){return this},ve;function V(S){de[S]&&(ve[S]=function(Re){return new Promise(function(dt,_n){ie.push([S,Re,dt,_n])>1||P(S,Re)})})}function P(S,Re){try{he(de[S](Re))}catch(dt){Se(ie[0][3],dt)}}function he(S){S.value instanceof Ce?Promise.resolve(S.value.v).then(N,se):Se(ie[0][2],S)}function N(S){P(\"next\",S)}function se(S){P(\"throw\",S)}function Se(S,Re){S(Re),ie.shift(),ie.length&&P(ie[0][0],ie[0][1])}}function Ft(b){var v,X;return v={},de(\"next\"),de(\"throw\",function(ve){throw ve}),de(\"return\"),v[Symbol.iterator]=function(){return this},v;function de(ve,ie){v[ve]=b[ve]?function(V){return(X=!X)?{value:Ce(b[ve](V)),done:ve===\"return\"}:ie?ie(V):V}:ie}}function Lt(b){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var v=b[Symbol.asyncIterator],X;return v?v.call(b):(b=typeof Rr==\"function\"?Rr(b):b[Symbol.iterator](),X={},de(\"next\"),de(\"throw\"),de(\"return\"),X[Symbol.asyncIterator]=function(){return this},X);function de(ie){X[ie]=b[ie]&&function(V){return new Promise(function(P,he){V=b[ie](V),ve(P,he,V.done,V.value)})}}function ve(ie,V,P,he){Promise.resolve(he).then(function(N){ie({value:N,done:P})},V)}}function nn(b,v){return Object.defineProperty?Object.defineProperty(b,\"raw\",{value:v}):b.raw=v,b}function Nn(b){if(b&&b.__esModule)return b;var v={};if(b!=null)for(var X in b)Object.hasOwnProperty.call(b,X)&&(v[X]=b[X]);return v.default=b,v}function Pi(b){return b&&b.__esModule?b:{default:b}}function si(b,v){if(!v.has(b))throw new TypeError(\"attempted to get private field on non-instance\");return v.get(b)}function Ur(b,v,X){if(!v.has(b))throw new TypeError(\"attempted to set private field on non-instance\");return v.set(b,X),X}var Xr,eo,Br=kr({\"node_modules/tslib/tslib.es6.js\"(){Li(),Xr=function(b,v){return Xr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(X,de){X.__proto__=de}||function(X,de){for(var ve in de)de.hasOwnProperty(ve)&&(X[ve]=de[ve])},Xr(b,v)},eo=function(){return eo=Object.assign||function(b){for(var v,X=1,de=arguments.length;X<de;X++){v=arguments[X];for(var ve in v)Object.prototype.hasOwnProperty.call(v,ve)&&(b[ve]=v[ve])}return b},eo.apply(this,arguments)}}}),Oo=Gn({\"node_modules/tsutils/typeguard/2.8/node.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0}),b.isExpressionStatement=b.isExpression=b.isExportSpecifier=b.isExportDeclaration=b.isExportAssignment=b.isEnumMember=b.isEnumDeclaration=b.isEntityNameExpression=b.isEntityName=b.isEmptyStatement=b.isElementAccessExpression=b.isDoStatement=b.isDeleteExpression=b.isDefaultClause=b.isDecorator=b.isDebuggerStatement=b.isComputedPropertyName=b.isContinueStatement=b.isConstructSignatureDeclaration=b.isConstructorTypeNode=b.isConstructorDeclaration=b.isConditionalTypeNode=b.isConditionalExpression=b.isCommaListExpression=b.isClassLikeDeclaration=b.isClassExpression=b.isClassDeclaration=b.isCatchClause=b.isCaseOrDefaultClause=b.isCaseClause=b.isCaseBlock=b.isCallSignatureDeclaration=b.isCallLikeExpression=b.isCallExpression=b.isBreakStatement=b.isBreakOrContinueStatement=b.isBooleanLiteral=b.isBlockLike=b.isBlock=b.isBindingPattern=b.isBindingElement=b.isBinaryExpression=b.isAwaitExpression=b.isAssertionExpression=b.isAsExpression=b.isArrowFunction=b.isArrayTypeNode=b.isArrayLiteralExpression=b.isArrayBindingPattern=b.isAccessorDeclaration=void 0,b.isNamespaceImport=b.isNamespaceDeclaration=b.isNamedImports=b.isNamedExports=b.isModuleDeclaration=b.isModuleBlock=b.isMethodSignature=b.isMethodDeclaration=b.isMetaProperty=b.isMappedTypeNode=b.isLiteralTypeNode=b.isLiteralExpression=b.isLabeledStatement=b.isJsxText=b.isJsxSpreadAttribute=b.isJsxSelfClosingElement=b.isJsxOpeningLikeElement=b.isJsxOpeningFragment=b.isJsxOpeningElement=b.isJsxFragment=b.isJsxExpression=b.isJsxElement=b.isJsxClosingFragment=b.isJsxClosingElement=b.isJsxAttributes=b.isJsxAttributeLike=b.isJsxAttribute=b.isJsDoc=b.isIterationStatement=b.isIntersectionTypeNode=b.isInterfaceDeclaration=b.isInferTypeNode=b.isIndexSignatureDeclaration=b.isIndexedAccessTypeNode=b.isImportSpecifier=b.isImportEqualsDeclaration=b.isImportDeclaration=b.isImportClause=b.isIfStatement=b.isIdentifier=b.isGetAccessorDeclaration=b.isFunctionTypeNode=b.isFunctionExpression=b.isFunctionDeclaration=b.isForStatement=b.isForOfStatement=b.isForInOrOfStatement=b.isForInStatement=b.isExternalModuleReference=b.isExpressionWithTypeArguments=void 0,b.isVariableStatement=b.isVariableDeclaration=b.isUnionTypeNode=b.isTypeQueryNode=b.isTypeReferenceNode=b.isTypePredicateNode=b.isTypeParameterDeclaration=b.isTypeOperatorNode=b.isTypeOfExpression=b.isTypeLiteralNode=b.isTypeAssertion=b.isTypeAliasDeclaration=b.isTupleTypeNode=b.isTryStatement=b.isThrowStatement=b.isTextualLiteral=b.isTemplateLiteral=b.isTemplateExpression=b.isTaggedTemplateExpression=b.isSyntaxList=b.isSwitchStatement=b.isStringLiteral=b.isSpreadElement=b.isSpreadAssignment=b.isSourceFile=b.isSignatureDeclaration=b.isShorthandPropertyAssignment=b.isSetAccessorDeclaration=b.isReturnStatement=b.isRegularExpressionLiteral=b.isQualifiedName=b.isPropertySignature=b.isPropertyDeclaration=b.isPropertyAssignment=b.isPropertyAccessExpression=b.isPrefixUnaryExpression=b.isPostfixUnaryExpression=b.isParenthesizedTypeNode=b.isParenthesizedExpression=b.isParameterDeclaration=b.isOmittedExpression=b.isObjectLiteralExpression=b.isObjectBindingPattern=b.isNumericOrStringLikeLiteral=b.isNumericLiteral=b.isNullLiteral=b.isNoSubstitutionTemplateLiteral=b.isNonNullExpression=b.isNewExpression=b.isNamespaceExportDeclaration=void 0,b.isWithStatement=b.isWhileStatement=b.isVoidExpression=b.isVariableDeclarationList=void 0;var v=gl();function X(j){return j.kind===v.SyntaxKind.GetAccessor||j.kind===v.SyntaxKind.SetAccessor}b.isAccessorDeclaration=X;function de(j){return j.kind===v.SyntaxKind.ArrayBindingPattern}b.isArrayBindingPattern=de;function ve(j){return j.kind===v.SyntaxKind.ArrayLiteralExpression}b.isArrayLiteralExpression=ve;function ie(j){return j.kind===v.SyntaxKind.ArrayType}b.isArrayTypeNode=ie;function V(j){return j.kind===v.SyntaxKind.ArrowFunction}b.isArrowFunction=V;function P(j){return j.kind===v.SyntaxKind.AsExpression}b.isAsExpression=P;function he(j){return j.kind===v.SyntaxKind.AsExpression||j.kind===v.SyntaxKind.TypeAssertionExpression}b.isAssertionExpression=he;function N(j){return j.kind===v.SyntaxKind.AwaitExpression}b.isAwaitExpression=N;function se(j){return j.kind===v.SyntaxKind.BinaryExpression}b.isBinaryExpression=se;function Se(j){return j.kind===v.SyntaxKind.BindingElement}b.isBindingElement=Se;function S(j){return j.kind===v.SyntaxKind.ArrayBindingPattern||j.kind===v.SyntaxKind.ObjectBindingPattern}b.isBindingPattern=S;function Re(j){return j.kind===v.SyntaxKind.Block}b.isBlock=Re;function dt(j){return j.statements!==void 0}b.isBlockLike=dt;function _n(j){return j.kind===v.SyntaxKind.TrueKeyword||j.kind===v.SyntaxKind.FalseKeyword}b.isBooleanLiteral=_n;function Qt(j){return j.kind===v.SyntaxKind.BreakStatement||j.kind===v.SyntaxKind.ContinueStatement}b.isBreakOrContinueStatement=Qt;function Mn(j){return j.kind===v.SyntaxKind.BreakStatement}b.isBreakStatement=Mn;function Bi(j){return j.kind===v.SyntaxKind.CallExpression}b.isCallExpression=Bi;function yn(j){switch(j.kind){case v.SyntaxKind.CallExpression:case v.SyntaxKind.Decorator:case v.SyntaxKind.JsxOpeningElement:case v.SyntaxKind.JsxSelfClosingElement:case v.SyntaxKind.NewExpression:case v.SyntaxKind.TaggedTemplateExpression:return!0;default:return!1}}b.isCallLikeExpression=yn;function vn(j){return j.kind===v.SyntaxKind.CallSignature}b.isCallSignatureDeclaration=vn;function Ut(j){return j.kind===v.SyntaxKind.CaseBlock}b.isCaseBlock=Ut;function In(j){return j.kind===v.SyntaxKind.CaseClause}b.isCaseClause=In;function Vi(j){return j.kind===v.SyntaxKind.CaseClause||j.kind===v.SyntaxKind.DefaultClause}b.isCaseOrDefaultClause=Vi;function ct(j){return j.kind===v.SyntaxKind.CatchClause}b.isCatchClause=ct;function xi(j){return j.kind===v.SyntaxKind.ClassDeclaration}b.isClassDeclaration=xi;function qr(j){return j.kind===v.SyntaxKind.ClassExpression}b.isClassExpression=qr;function xr(j){return j.kind===v.SyntaxKind.ClassDeclaration||j.kind===v.SyntaxKind.ClassExpression}b.isClassLikeDeclaration=xr;function Bs(j){return j.kind===v.SyntaxKind.CommaListExpression}b.isCommaListExpression=Bs;function Mi(j){return j.kind===v.SyntaxKind.ConditionalExpression}b.isConditionalExpression=Mi;function ms(j){return j.kind===v.SyntaxKind.ConditionalType}b.isConditionalTypeNode=ms;function Ks(j){return j.kind===v.SyntaxKind.Constructor}b.isConstructorDeclaration=Ks;function is(j){return j.kind===v.SyntaxKind.ConstructorType}b.isConstructorTypeNode=is;function Ms(j){return j.kind===v.SyntaxKind.ConstructSignature}b.isConstructSignatureDeclaration=Ms;function to(j){return j.kind===v.SyntaxKind.ContinueStatement}b.isContinueStatement=to;function Lo(j){return j.kind===v.SyntaxKind.ComputedPropertyName}b.isComputedPropertyName=Lo;function ji(j){return j.kind===v.SyntaxKind.DebuggerStatement}b.isDebuggerStatement=ji;function jr(j){return j.kind===v.SyntaxKind.Decorator}b.isDecorator=jr;function ss(j){return j.kind===v.SyntaxKind.DefaultClause}b.isDefaultClause=ss;function Jo(j){return j.kind===v.SyntaxKind.DeleteExpression}b.isDeleteExpression=Jo;function da(j){return j.kind===v.SyntaxKind.DoStatement}b.isDoStatement=da;function ha(j){return j.kind===v.SyntaxKind.ElementAccessExpression}b.isElementAccessExpression=ha;function cc(j){return j.kind===v.SyntaxKind.EmptyStatement}b.isEmptyStatement=cc;function Ou(j){return j.kind===v.SyntaxKind.Identifier||id(j)}b.isEntityName=Ou;function Xu(j){return j.kind===v.SyntaxKind.Identifier||Hc(j)&&Xu(j.expression)}b.isEntityNameExpression=Xu;function Bd(j){return j.kind===v.SyntaxKind.EnumDeclaration}b.isEnumDeclaration=Bd;function ip(j){return j.kind===v.SyntaxKind.EnumMember}b.isEnumMember=ip;function zp(j){return j.kind===v.SyntaxKind.ExportAssignment}b.isExportAssignment=zp;function Kr(j){return j.kind===v.SyntaxKind.ExportDeclaration}b.isExportDeclaration=Kr;function so(j){return j.kind===v.SyntaxKind.ExportSpecifier}b.isExportSpecifier=so;function xa(j){switch(j.kind){case v.SyntaxKind.ArrayLiteralExpression:case v.SyntaxKind.ArrowFunction:case v.SyntaxKind.AsExpression:case v.SyntaxKind.AwaitExpression:case v.SyntaxKind.BinaryExpression:case v.SyntaxKind.CallExpression:case v.SyntaxKind.ClassExpression:case v.SyntaxKind.CommaListExpression:case v.SyntaxKind.ConditionalExpression:case v.SyntaxKind.DeleteExpression:case v.SyntaxKind.ElementAccessExpression:case v.SyntaxKind.FalseKeyword:case v.SyntaxKind.FunctionExpression:case v.SyntaxKind.Identifier:case v.SyntaxKind.JsxElement:case v.SyntaxKind.JsxFragment:case v.SyntaxKind.JsxExpression:case v.SyntaxKind.JsxOpeningElement:case v.SyntaxKind.JsxOpeningFragment:case v.SyntaxKind.JsxSelfClosingElement:case v.SyntaxKind.MetaProperty:case v.SyntaxKind.NewExpression:case v.SyntaxKind.NonNullExpression:case v.SyntaxKind.NoSubstitutionTemplateLiteral:case v.SyntaxKind.NullKeyword:case v.SyntaxKind.NumericLiteral:case v.SyntaxKind.ObjectLiteralExpression:case v.SyntaxKind.OmittedExpression:case v.SyntaxKind.ParenthesizedExpression:case v.SyntaxKind.PostfixUnaryExpression:case v.SyntaxKind.PrefixUnaryExpression:case v.SyntaxKind.PropertyAccessExpression:case v.SyntaxKind.RegularExpressionLiteral:case v.SyntaxKind.SpreadElement:case v.SyntaxKind.StringLiteral:case v.SyntaxKind.SuperKeyword:case v.SyntaxKind.TaggedTemplateExpression:case v.SyntaxKind.TemplateExpression:case v.SyntaxKind.ThisKeyword:case v.SyntaxKind.TrueKeyword:case v.SyntaxKind.TypeAssertionExpression:case v.SyntaxKind.TypeOfExpression:case v.SyntaxKind.VoidExpression:case v.SyntaxKind.YieldExpression:return!0;default:return!1}}b.isExpression=xa;function Wa(j){return j.kind===v.SyntaxKind.ExpressionStatement}b.isExpressionStatement=Wa;function pu(j){return j.kind===v.SyntaxKind.ExpressionWithTypeArguments}b.isExpressionWithTypeArguments=pu;function yc(j){return j.kind===v.SyntaxKind.ExternalModuleReference}b.isExternalModuleReference=yc;function Df(j){return j.kind===v.SyntaxKind.ForInStatement}b.isForInStatement=Df;function jh(j){return j.kind===v.SyntaxKind.ForOfStatement||j.kind===v.SyntaxKind.ForInStatement}b.isForInOrOfStatement=jh;function Qu(j){return j.kind===v.SyntaxKind.ForOfStatement}b.isForOfStatement=Qu;function Up(j){return j.kind===v.SyntaxKind.ForStatement}b.isForStatement=Up;function Om(j){return j.kind===v.SyntaxKind.FunctionDeclaration}b.isFunctionDeclaration=Om;function xp(j){return j.kind===v.SyntaxKind.FunctionExpression}b.isFunctionExpression=xp;function $f(j){return j.kind===v.SyntaxKind.FunctionType}b.isFunctionTypeNode=$f;function D_(j){return j.kind===v.SyntaxKind.GetAccessor}b.isGetAccessorDeclaration=D_;function K(j){return j.kind===v.SyntaxKind.Identifier}b.isIdentifier=K;function nt(j){return j.kind===v.SyntaxKind.IfStatement}b.isIfStatement=nt;function Ue(j){return j.kind===v.SyntaxKind.ImportClause}b.isImportClause=Ue;function qe(j){return j.kind===v.SyntaxKind.ImportDeclaration}b.isImportDeclaration=qe;function Ye(j){return j.kind===v.SyntaxKind.ImportEqualsDeclaration}b.isImportEqualsDeclaration=Ye;function xt(j){return j.kind===v.SyntaxKind.ImportSpecifier}b.isImportSpecifier=xt;function bt(j){return j.kind===v.SyntaxKind.IndexedAccessType}b.isIndexedAccessTypeNode=bt;function wt(j){return j.kind===v.SyntaxKind.IndexSignature}b.isIndexSignatureDeclaration=wt;function lt(j){return j.kind===v.SyntaxKind.InferType}b.isInferTypeNode=lt;function Et(j){return j.kind===v.SyntaxKind.InterfaceDeclaration}b.isInterfaceDeclaration=Et;function Q(j){return j.kind===v.SyntaxKind.IntersectionType}b.isIntersectionTypeNode=Q;function W(j){switch(j.kind){case v.SyntaxKind.ForStatement:case v.SyntaxKind.ForOfStatement:case v.SyntaxKind.ForInStatement:case v.SyntaxKind.WhileStatement:case v.SyntaxKind.DoStatement:return!0;default:return!1}}b.isIterationStatement=W;function Je(j){return j.kind===v.SyntaxKind.JSDocComment}b.isJsDoc=Je;function Oe(j){return j.kind===v.SyntaxKind.JsxAttribute}b.isJsxAttribute=Oe;function zt(j){return j.kind===v.SyntaxKind.JsxAttribute||j.kind===v.SyntaxKind.JsxSpreadAttribute}b.isJsxAttributeLike=zt;function Tt(j){return j.kind===v.SyntaxKind.JsxAttributes}b.isJsxAttributes=Tt;function xn(j){return j.kind===v.SyntaxKind.JsxClosingElement}b.isJsxClosingElement=xn;function Cn(j){return j.kind===v.SyntaxKind.JsxClosingFragment}b.isJsxClosingFragment=Cn;function Bt(j){return j.kind===v.SyntaxKind.JsxElement}b.isJsxElement=Bt;function yi(j){return j.kind===v.SyntaxKind.JsxExpression}b.isJsxExpression=yi;function Oi(j){return j.kind===v.SyntaxKind.JsxFragment}b.isJsxFragment=Oi;function Qi(j){return j.kind===v.SyntaxKind.JsxOpeningElement}b.isJsxOpeningElement=Qi;function $s(j){return j.kind===v.SyntaxKind.JsxOpeningFragment}b.isJsxOpeningFragment=$s;function vo(j){return j.kind===v.SyntaxKind.JsxOpeningElement||j.kind===v.SyntaxKind.JsxSelfClosingElement}b.isJsxOpeningLikeElement=vo;function Mo(j){return j.kind===v.SyntaxKind.JsxSelfClosingElement}b.isJsxSelfClosingElement=Mo;function Ea(j){return j.kind===v.SyntaxKind.JsxSpreadAttribute}b.isJsxSpreadAttribute=Ea;function Ca(j){return j.kind===v.SyntaxKind.JsxText}b.isJsxText=Ca;function Ma(j){return j.kind===v.SyntaxKind.LabeledStatement}b.isLabeledStatement=Ma;function Yo(j){return j.kind>=v.SyntaxKind.FirstLiteralToken&&j.kind<=v.SyntaxKind.LastLiteralToken}b.isLiteralExpression=Yo;function Oa(j){return j.kind===v.SyntaxKind.LiteralType}b.isLiteralTypeNode=Oa;function qs(j){return j.kind===v.SyntaxKind.MappedType}b.isMappedTypeNode=qs;function cs(j){return j.kind===v.SyntaxKind.MetaProperty}b.isMetaProperty=cs;function Xs(j){return j.kind===v.SyntaxKind.MethodDeclaration}b.isMethodDeclaration=Xs;function ds(j){return j.kind===v.SyntaxKind.MethodSignature}b.isMethodSignature=ds;function Zu(j){return j.kind===v.SyntaxKind.ModuleBlock}b.isModuleBlock=Zu;function au(j){return j.kind===v.SyntaxKind.ModuleDeclaration}b.isModuleDeclaration=au;function Du(j){return j.kind===v.SyntaxKind.NamedExports}b.isNamedExports=Du;function ue(j){return j.kind===v.SyntaxKind.NamedImports}b.isNamedImports=ue;function Tn(j){return au(j)&&j.name.kind===v.SyntaxKind.Identifier&&j.body!==void 0&&(j.body.kind===v.SyntaxKind.ModuleBlock||Tn(j.body))}b.isNamespaceDeclaration=Tn;function Ei(j){return j.kind===v.SyntaxKind.NamespaceImport}b.isNamespaceImport=Ei;function Gr(j){return j.kind===v.SyntaxKind.NamespaceExportDeclaration}b.isNamespaceExportDeclaration=Gr;function ts(j){return j.kind===v.SyntaxKind.NewExpression}b.isNewExpression=ts;function Es(j){return j.kind===v.SyntaxKind.NonNullExpression}b.isNonNullExpression=Es;function Ai(j){return j.kind===v.SyntaxKind.NoSubstitutionTemplateLiteral}b.isNoSubstitutionTemplateLiteral=Ai;function Mr(j){return j.kind===v.SyntaxKind.NullKeyword}b.isNullLiteral=Mr;function vr(j){return j.kind===v.SyntaxKind.NumericLiteral}b.isNumericLiteral=vr;function ao(j){switch(j.kind){case v.SyntaxKind.StringLiteral:case v.SyntaxKind.NumericLiteral:case v.SyntaxKind.NoSubstitutionTemplateLiteral:return!0;default:return!1}}b.isNumericOrStringLikeLiteral=ao;function $i(j){return j.kind===v.SyntaxKind.ObjectBindingPattern}b.isObjectBindingPattern=$i;function pa(j){return j.kind===v.SyntaxKind.ObjectLiteralExpression}b.isObjectLiteralExpression=pa;function Ro(j){return j.kind===v.SyntaxKind.OmittedExpression}b.isOmittedExpression=Ro;function td(j){return j.kind===v.SyntaxKind.Parameter}b.isParameterDeclaration=td;function Bc(j){return j.kind===v.SyntaxKind.ParenthesizedExpression}b.isParenthesizedExpression=Bc;function fu(j){return j.kind===v.SyntaxKind.ParenthesizedType}b.isParenthesizedTypeNode=fu;function Wh(j){return j.kind===v.SyntaxKind.PostfixUnaryExpression}b.isPostfixUnaryExpression=Wh;function nd(j){return j.kind===v.SyntaxKind.PrefixUnaryExpression}b.isPrefixUnaryExpression=nd;function Hc(j){return j.kind===v.SyntaxKind.PropertyAccessExpression}b.isPropertyAccessExpression=Hc;function bc(j){return j.kind===v.SyntaxKind.PropertyAssignment}b.isPropertyAssignment=bc;function Su(j){return j.kind===v.SyntaxKind.PropertyDeclaration}b.isPropertyDeclaration=Su;function ku(j){return j.kind===v.SyntaxKind.PropertySignature}b.isPropertySignature=ku;function id(j){return j.kind===v.SyntaxKind.QualifiedName}b.isQualifiedName=id;function gy(j){return j.kind===v.SyntaxKind.RegularExpressionLiteral}b.isRegularExpressionLiteral=gy;function Mb(j){return j.kind===v.SyntaxKind.ReturnStatement}b.isReturnStatement=Mb;function ec(j){return j.kind===v.SyntaxKind.SetAccessor}b.isSetAccessorDeclaration=ec;function Ew(j){return j.kind===v.SyntaxKind.ShorthandPropertyAssignment}b.isShorthandPropertyAssignment=Ew;function Tw(j){return j.parameters!==void 0}b.isSignatureDeclaration=Tw;function rT(j){return j.kind===v.SyntaxKind.SourceFile}b.isSourceFile=rT;function AC(j){return j.kind===v.SyntaxKind.SpreadAssignment}b.isSpreadAssignment=AC;function Kp(j){return j.kind===v.SyntaxKind.SpreadElement}b.isSpreadElement=Kp;function sT(j){return j.kind===v.SyntaxKind.StringLiteral}b.isStringLiteral=sT;function oT(j){return j.kind===v.SyntaxKind.SwitchStatement}b.isSwitchStatement=oT;function k0(j){return j.kind===v.SyntaxKind.SyntaxList}b.isSyntaxList=k0;function qg(j){return j.kind===v.SyntaxKind.TaggedTemplateExpression}b.isTaggedTemplateExpression=qg;function L0(j){return j.kind===v.SyntaxKind.TemplateExpression}b.isTemplateExpression=L0;function my(j){return j.kind===v.SyntaxKind.TemplateExpression||j.kind===v.SyntaxKind.NoSubstitutionTemplateLiteral}b.isTemplateLiteral=my;function Aw(j){return j.kind===v.SyntaxKind.StringLiteral||j.kind===v.SyntaxKind.NoSubstitutionTemplateLiteral}b.isTextualLiteral=Aw;function rd(j){return j.kind===v.SyntaxKind.ThrowStatement}b.isThrowStatement=rd;function kC(j){return j.kind===v.SyntaxKind.TryStatement}b.isTryStatement=kC;function z(j){return j.kind===v.SyntaxKind.TupleType}b.isTupleTypeNode=z;function ee(j){return j.kind===v.SyntaxKind.TypeAliasDeclaration}b.isTypeAliasDeclaration=ee;function R(j){return j.kind===v.SyntaxKind.TypeAssertionExpression}b.isTypeAssertion=R;function Y(j){return j.kind===v.SyntaxKind.TypeLiteral}b.isTypeLiteralNode=Y;function G(j){return j.kind===v.SyntaxKind.TypeOfExpression}b.isTypeOfExpression=G;function M(j){return j.kind===v.SyntaxKind.TypeOperator}b.isTypeOperatorNode=M;function H(j){return j.kind===v.SyntaxKind.TypeParameter}b.isTypeParameterDeclaration=H;function $(j){return j.kind===v.SyntaxKind.TypePredicate}b.isTypePredicateNode=$;function Z(j){return j.kind===v.SyntaxKind.TypeReference}b.isTypeReferenceNode=Z;function oe(j){return j.kind===v.SyntaxKind.TypeQuery}b.isTypeQueryNode=oe;function ye(j){return j.kind===v.SyntaxKind.UnionType}b.isUnionTypeNode=ye;function _e(j){return j.kind===v.SyntaxKind.VariableDeclaration}b.isVariableDeclaration=_e;function ge(j){return j.kind===v.SyntaxKind.VariableStatement}b.isVariableStatement=ge;function ne(j){return j.kind===v.SyntaxKind.VariableDeclarationList}b.isVariableDeclarationList=ne;function le(j){return j.kind===v.SyntaxKind.VoidExpression}b.isVoidExpression=le;function xe(j){return j.kind===v.SyntaxKind.WhileStatement}b.isWhileStatement=xe;function tt(j){return j.kind===v.SyntaxKind.WithStatement}b.isWithStatement=tt}}),Ko=Gn({\"node_modules/tsutils/typeguard/2.9/node.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0}),b.isImportTypeNode=void 0;var v=(Br(),ks(Rd));v.__exportStar(Oo(),b);var X=gl();function de(ve){return ve.kind===X.SyntaxKind.ImportType}b.isImportTypeNode=de}}),Ho=Gn({\"node_modules/tsutils/typeguard/3.0/node.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0}),b.isSyntheticExpression=b.isRestTypeNode=b.isOptionalTypeNode=void 0;var v=(Br(),ks(Rd));v.__exportStar(Ko(),b);var X=gl();function de(V){return V.kind===X.SyntaxKind.OptionalType}b.isOptionalTypeNode=de;function ve(V){return V.kind===X.SyntaxKind.RestType}b.isRestTypeNode=ve;function ie(V){return V.kind===X.SyntaxKind.SyntheticExpression}b.isSyntheticExpression=ie}}),ba=Gn({\"node_modules/tsutils/typeguard/3.2/node.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0}),b.isBigIntLiteral=void 0;var v=(Br(),ks(Rd));v.__exportStar(Ho(),b);var X=gl();function de(ve){return ve.kind===X.SyntaxKind.BigIntLiteral}b.isBigIntLiteral=de}}),$t=Gn({\"node_modules/tsutils/typeguard/node.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0});var v=(Br(),ks(Rd));v.__exportStar(ba(),b)}}),Kn=Gn({\"node_modules/tsutils/typeguard/2.8/type.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0}),b.isUniqueESSymbolType=b.isUnionType=b.isUnionOrIntersectionType=b.isTypeVariable=b.isTypeReference=b.isTypeParameter=b.isSubstitutionType=b.isObjectType=b.isLiteralType=b.isIntersectionType=b.isInterfaceType=b.isInstantiableType=b.isIndexedAccessype=b.isIndexedAccessType=b.isGenericType=b.isEnumType=b.isConditionalType=void 0;var v=gl();function X(yn){return(yn.flags&v.TypeFlags.Conditional)!==0}b.isConditionalType=X;function de(yn){return(yn.flags&v.TypeFlags.Enum)!==0}b.isEnumType=de;function ve(yn){return(yn.flags&v.TypeFlags.Object)!==0&&(yn.objectFlags&v.ObjectFlags.ClassOrInterface)!==0&&(yn.objectFlags&v.ObjectFlags.Reference)!==0}b.isGenericType=ve;function ie(yn){return(yn.flags&v.TypeFlags.IndexedAccess)!==0}b.isIndexedAccessType=ie;function V(yn){return(yn.flags&v.TypeFlags.Index)!==0}b.isIndexedAccessype=V;function P(yn){return(yn.flags&v.TypeFlags.Instantiable)!==0}b.isInstantiableType=P;function he(yn){return(yn.flags&v.TypeFlags.Object)!==0&&(yn.objectFlags&v.ObjectFlags.ClassOrInterface)!==0}b.isInterfaceType=he;function N(yn){return(yn.flags&v.TypeFlags.Intersection)!==0}b.isIntersectionType=N;function se(yn){return(yn.flags&(v.TypeFlags.StringOrNumberLiteral|v.TypeFlags.BigIntLiteral))!==0}b.isLiteralType=se;function Se(yn){return(yn.flags&v.TypeFlags.Object)!==0}b.isObjectType=Se;function S(yn){return(yn.flags&v.TypeFlags.Substitution)!==0}b.isSubstitutionType=S;function Re(yn){return(yn.flags&v.TypeFlags.TypeParameter)!==0}b.isTypeParameter=Re;function dt(yn){return(yn.flags&v.TypeFlags.Object)!==0&&(yn.objectFlags&v.ObjectFlags.Reference)!==0}b.isTypeReference=dt;function _n(yn){return(yn.flags&v.TypeFlags.TypeVariable)!==0}b.isTypeVariable=_n;function Qt(yn){return(yn.flags&v.TypeFlags.UnionOrIntersection)!==0}b.isUnionOrIntersectionType=Qt;function Mn(yn){return(yn.flags&v.TypeFlags.Union)!==0}b.isUnionType=Mn;function Bi(yn){return(yn.flags&v.TypeFlags.UniqueESSymbol)!==0}b.isUniqueESSymbolType=Bi}}),Nr=Gn({\"node_modules/tsutils/typeguard/2.9/type.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0});var v=(Br(),ks(Rd));v.__exportStar(Kn(),b)}}),nr=Gn({\"node_modules/tsutils/typeguard/3.0/type.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0}),b.isTupleTypeReference=b.isTupleType=void 0;var v=(Br(),ks(Rd));v.__exportStar(Nr(),b);var X=gl(),de=Nr();function ve(V){return(V.flags&X.TypeFlags.Object&&V.objectFlags&X.ObjectFlags.Tuple)!==0}b.isTupleType=ve;function ie(V){return de.isTypeReference(V)&&ve(V.target)}b.isTupleTypeReference=ie}}),ps=Gn({\"node_modules/tsutils/typeguard/3.2/type.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0});var v=(Br(),ks(Rd));v.__exportStar(nr(),b)}}),ga=Gn({\"node_modules/tsutils/typeguard/3.2/index.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0});var v=(Br(),ks(Rd));v.__exportStar(ba(),b),v.__exportStar(ps(),b)}}),Yl=Gn({\"node_modules/tsutils/typeguard/type.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0});var v=(Br(),ks(Rd));v.__exportStar(ps(),b)}}),Td=Gn({\"node_modules/tsutils/util/type.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0}),b.getBaseClassMemberOfClassElement=b.getIteratorYieldResultFromIteratorResult=b.getInstanceTypeOfClassLikeDeclaration=b.getConstructorTypeOfClassLikeDeclaration=b.getSymbolOfClassLikeDeclaration=b.getPropertyNameFromType=b.symbolHasReadonlyDeclaration=b.isPropertyReadonlyInType=b.getWellKnownSymbolPropertyOfType=b.getPropertyOfType=b.isBooleanLiteralType=b.isFalsyType=b.isThenableType=b.someTypePart=b.intersectionTypeParts=b.unionTypeParts=b.getCallSignaturesOfType=b.isTypeAssignableToString=b.isTypeAssignableToNumber=b.isOptionalChainingUndefinedMarkerType=b.removeOptionalChainingUndefinedMarkerType=b.removeOptionalityFromType=b.isEmptyObjectType=void 0;var v=gl(),X=Yl(),de=Mc(),ve=$t();function ie(ji){if(X.isObjectType(ji)&&ji.objectFlags&v.ObjectFlags.Anonymous&&ji.getProperties().length===0&&ji.getCallSignatures().length===0&&ji.getConstructSignatures().length===0&&ji.getStringIndexType()===void 0&&ji.getNumberIndexType()===void 0){let jr=ji.getBaseTypes();return jr===void 0||jr.every(ie)}return!1}b.isEmptyObjectType=ie;function V(ji,jr){if(!P(jr,v.TypeFlags.Undefined))return jr;let ss=P(jr,v.TypeFlags.Null);return jr=ji.getNonNullableType(jr),ss?ji.getNullableType(jr,v.TypeFlags.Null):jr}b.removeOptionalityFromType=V;function P(ji,jr){for(let ss of dt(ji))if(de.isTypeFlagSet(ss,jr))return!0;return!1}function he(ji,jr){if(!X.isUnionType(jr))return N(ji,jr)?jr.getNonNullableType():jr;let ss=0,Jo=!1;for(let da of jr.types)N(ji,da)?Jo=!0:ss|=da.flags;return Jo?ji.getNullableType(jr.getNonNullableType(),ss):jr}b.removeOptionalChainingUndefinedMarkerType=he;function N(ji,jr){return de.isTypeFlagSet(jr,v.TypeFlags.Undefined)&&ji.getNullableType(jr.getNonNullableType(),v.TypeFlags.Undefined)!==jr}b.isOptionalChainingUndefinedMarkerType=N;function se(ji,jr){return S(ji,jr,v.TypeFlags.NumberLike)}b.isTypeAssignableToNumber=se;function Se(ji,jr){return S(ji,jr,v.TypeFlags.StringLike)}b.isTypeAssignableToString=Se;function S(ji,jr,ss){ss|=v.TypeFlags.Any;let Jo;return function da(ha){if(X.isTypeParameter(ha)&&ha.symbol!==void 0&&ha.symbol.declarations!==void 0){if(Jo===void 0)Jo=new Set([ha]);else if(!Jo.has(ha))Jo.add(ha);else return!1;let cc=ha.symbol.declarations[0];return cc.constraint===void 0?!0:da(ji.getTypeFromTypeNode(cc.constraint))}return X.isUnionType(ha)?ha.types.every(da):X.isIntersectionType(ha)?ha.types.some(da):de.isTypeFlagSet(ha,ss)}(jr)}function Re(ji){if(X.isUnionType(ji)){let jr=[];for(let ss of ji.types)jr.push(...Re(ss));return jr}if(X.isIntersectionType(ji)){let jr;for(let ss of ji.types){let Jo=Re(ss);if(Jo.length!==0){if(jr!==void 0)return[];jr=Jo}}return jr===void 0?[]:jr}return ji.getCallSignatures()}b.getCallSignaturesOfType=Re;function dt(ji){return X.isUnionType(ji)?ji.types:[ji]}b.unionTypeParts=dt;function _n(ji){return X.isIntersectionType(ji)?ji.types:[ji]}b.intersectionTypeParts=_n;function Qt(ji,jr,ss){return jr(ji)?ji.types.some(ss):ss(ji)}b.someTypePart=Qt;function Mn(ji,jr){let ss=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ji.getTypeAtLocation(jr);for(let Jo of dt(ji.getApparentType(ss))){let da=Jo.getProperty(\"then\");if(da===void 0)continue;let ha=ji.getTypeOfSymbolAtLocation(da,jr);for(let cc of dt(ha))for(let Ou of cc.getCallSignatures())if(Ou.parameters.length!==0&&Bi(ji,Ou.parameters[0],jr))return!0}return!1}b.isThenableType=Mn;function Bi(ji,jr,ss){let Jo=ji.getApparentType(ji.getTypeOfSymbolAtLocation(jr,ss));if(jr.valueDeclaration.dotDotDotToken&&(Jo=Jo.getNumberIndexType(),Jo===void 0))return!1;for(let da of dt(Jo))if(da.getCallSignatures().length!==0)return!0;return!1}function yn(ji){return ji.flags&(v.TypeFlags.Undefined|v.TypeFlags.Null|v.TypeFlags.Void)?!0:X.isLiteralType(ji)?!ji.value:vn(ji,!1)}b.isFalsyType=yn;function vn(ji,jr){return de.isTypeFlagSet(ji,v.TypeFlags.BooleanLiteral)&&ji.intrinsicName===(jr?\"true\":\"false\")}b.isBooleanLiteralType=vn;function Ut(ji,jr){return jr.startsWith(\"__\")?ji.getProperties().find(ss=>ss.escapedName===jr):ji.getProperty(jr)}b.getPropertyOfType=Ut;function In(ji,jr,ss){let Jo=\"__@\"+jr;for(let da of ji.getProperties()){if(!da.name.startsWith(Jo))continue;let ha=ss.getApparentType(ss.getTypeAtLocation(da.valueDeclaration.name.expression)).symbol;if(da.escapedName===Vi(ss,ha,jr))return da}}b.getWellKnownSymbolPropertyOfType=In;function Vi(ji,jr,ss){let Jo=jr&&ji.getTypeOfSymbolAtLocation(jr,jr.valueDeclaration).getProperty(ss),da=Jo&&ji.getTypeOfSymbolAtLocation(Jo,Jo.valueDeclaration);return da&&X.isUniqueESSymbolType(da)?da.escapedName:\"__@\"+ss}function ct(ji,jr,ss){let Jo=!1,da=!1;for(let ha of dt(ji))if(Ut(ha,jr)===void 0){let cc=(de.isNumericPropertyName(jr)?ss.getIndexInfoOfType(ha,v.IndexKind.Number):void 0)||ss.getIndexInfoOfType(ha,v.IndexKind.String);if(cc!==void 0&&cc.isReadonly){if(Jo)return!0;da=!0}}else{if(da||xi(ha,jr,ss))return!0;Jo=!0}return!1}b.isPropertyReadonlyInType=ct;function xi(ji,jr,ss){return Qt(ji,X.isIntersectionType,Jo=>{let da=Ut(Jo,jr);if(da===void 0)return!1;if(da.flags&v.SymbolFlags.Transient){if(/^(?:[1-9]\\d*|0)$/.test(jr)&&X.isTupleTypeReference(Jo))return Jo.target.readonly;switch(qr(Jo,jr,ss)){case!0:return!0;case!1:return!1}}return de.isSymbolFlagSet(da,v.SymbolFlags.ValueModule)||xr(da,ss)})}function qr(ji,jr,ss){if(!X.isObjectType(ji)||!de.isObjectFlagSet(ji,v.ObjectFlags.Mapped))return;let Jo=ji.symbol.declarations[0];return Jo.readonlyToken!==void 0&&!/^__@[^@]+$/.test(jr)?Jo.readonlyToken.kind!==v.SyntaxKind.MinusToken:ct(ji.modifiersType,jr,ss)}function xr(ji,jr){return(ji.flags&v.SymbolFlags.Accessor)===v.SymbolFlags.GetAccessor||ji.declarations!==void 0&&ji.declarations.some(ss=>de.isModifierFlagSet(ss,v.ModifierFlags.Readonly)||ve.isVariableDeclaration(ss)&&de.isNodeFlagSet(ss.parent,v.NodeFlags.Const)||ve.isCallExpression(ss)&&de.isReadonlyAssignmentDeclaration(ss,jr)||ve.isEnumMember(ss)||(ve.isPropertyAssignment(ss)||ve.isShorthandPropertyAssignment(ss))&&de.isInConstContext(ss.parent))}b.symbolHasReadonlyDeclaration=xr;function Bs(ji){if(ji.flags&(v.TypeFlags.StringLiteral|v.TypeFlags.NumberLiteral)){let jr=String(ji.value);return{displayName:jr,symbolName:v.escapeLeadingUnderscores(jr)}}if(X.isUniqueESSymbolType(ji))return{displayName:`[${ji.symbol?`${Mi(ji.symbol)?\"Symbol.\":\"\"}${ji.symbol.name}`:ji.escapedName.replace(/^__@|@\\d+$/g,\"\")}]`,symbolName:ji.escapedName}}b.getPropertyNameFromType=Bs;function Mi(ji){return de.isSymbolFlagSet(ji,v.SymbolFlags.Property)&&ji.valueDeclaration!==void 0&&ve.isInterfaceDeclaration(ji.valueDeclaration.parent)&&ji.valueDeclaration.parent.name.text===\"SymbolConstructor\"&&ms(ji.valueDeclaration.parent)}function ms(ji){return de.isNodeFlagSet(ji.parent,v.NodeFlags.GlobalAugmentation)||ve.isSourceFile(ji.parent)&&!v.isExternalModule(ji.parent)}function Ks(ji,jr){var ss;return jr.getSymbolAtLocation((ss=ji.name)!==null&&ss!==void 0?ss:de.getChildOfKind(ji,v.SyntaxKind.ClassKeyword))}b.getSymbolOfClassLikeDeclaration=Ks;function is(ji,jr){return ji.kind===v.SyntaxKind.ClassExpression?jr.getTypeAtLocation(ji):jr.getTypeOfSymbolAtLocation(Ks(ji,jr),ji)}b.getConstructorTypeOfClassLikeDeclaration=is;function Ms(ji,jr){return ji.kind===v.SyntaxKind.ClassDeclaration?jr.getTypeAtLocation(ji):jr.getDeclaredTypeOfSymbol(Ks(ji,jr))}b.getInstanceTypeOfClassLikeDeclaration=Ms;function to(ji,jr,ss){return X.isUnionType(ji)&&ji.types.find(Jo=>{let da=Jo.getProperty(\"done\");return da!==void 0&&vn(V(ss,ss.getTypeOfSymbolAtLocation(da,jr)),!1)})||ji}b.getIteratorYieldResultFromIteratorResult=to;function Lo(ji,jr){if(!ve.isClassLikeDeclaration(ji.parent))return;let ss=de.getBaseOfClassLikeExpression(ji.parent);if(ss===void 0)return;let Jo=de.getSingleLateBoundPropertyNameOfPropertyName(ji.name,jr);if(Jo===void 0)return;let da=jr.getTypeAtLocation(de.hasModifier(ji.modifiers,v.SyntaxKind.StaticKeyword)?ss.expression:ss);return Ut(da,Jo.symbolName)}b.getBaseClassMemberOfClassElement=Lo}}),Mc=Gn({\"node_modules/tsutils/util/util.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0}),b.isValidIdentifier=b.getLineBreakStyle=b.getLineRanges=b.forEachComment=b.forEachTokenWithTrivia=b.forEachToken=b.isFunctionWithBody=b.hasOwnThisReference=b.isBlockScopeBoundary=b.isFunctionScopeBoundary=b.isTypeScopeBoundary=b.isScopeBoundary=b.ScopeBoundarySelector=b.ScopeBoundary=b.isInSingleStatementContext=b.isBlockScopedDeclarationStatement=b.isBlockScopedVariableDeclaration=b.isBlockScopedVariableDeclarationList=b.getVariableDeclarationKind=b.VariableDeclarationKind=b.forEachDeclaredVariable=b.forEachDestructuringIdentifier=b.getPropertyName=b.getWrappedNodeAtPosition=b.getAstNodeAtPosition=b.commentText=b.isPositionInComment=b.getCommentAtPosition=b.getTokenAtPosition=b.getNextToken=b.getPreviousToken=b.getNextStatement=b.getPreviousStatement=b.isModifierFlagSet=b.isObjectFlagSet=b.isSymbolFlagSet=b.isTypeFlagSet=b.isNodeFlagSet=b.hasAccessModifier=b.isParameterProperty=b.hasModifier=b.getModifier=b.isThisParameter=b.isKeywordKind=b.isJsDocKind=b.isTypeNodeKind=b.isAssignmentKind=b.isNodeKind=b.isTokenKind=b.getChildOfKind=void 0,b.getBaseOfClassLikeExpression=b.hasExhaustiveCaseClauses=b.formatPseudoBigInt=b.unwrapParentheses=b.getSingleLateBoundPropertyNameOfPropertyName=b.getLateBoundPropertyNamesOfPropertyName=b.getLateBoundPropertyNames=b.getPropertyNameOfWellKnownSymbol=b.isWellKnownSymbolLiterally=b.isBindableObjectDefinePropertyCall=b.isReadonlyAssignmentDeclaration=b.isInConstContext=b.isConstAssertion=b.getTsCheckDirective=b.getCheckJsDirective=b.isAmbientModule=b.isCompilerOptionEnabled=b.isStrictCompilerOptionEnabled=b.getIIFE=b.isAmbientModuleBlock=b.isStatementInAmbientContext=b.findImportLikeNodes=b.findImports=b.ImportKind=b.parseJsDocOfNode=b.getJsDoc=b.canHaveJsDoc=b.isReassignmentTarget=b.getAccessKind=b.AccessKind=b.isExpressionValueUsed=b.getDeclarationOfBindingElement=b.hasSideEffects=b.SideEffectOptions=b.isSameLine=b.isNumericPropertyName=b.isValidJsxIdentifier=b.isValidNumericLiteral=b.isValidPropertyName=b.isValidPropertyAccess=void 0;var v=gl(),X=$t(),de=ga(),ve=Td();function ie(ue,Tn,Ei){for(let Gr of ue.getChildren(Ei))if(Gr.kind===Tn)return Gr}b.getChildOfKind=ie;function V(ue){return ue>=v.SyntaxKind.FirstToken&&ue<=v.SyntaxKind.LastToken}b.isTokenKind=V;function P(ue){return ue>=v.SyntaxKind.FirstNode}b.isNodeKind=P;function he(ue){return ue>=v.SyntaxKind.FirstAssignment&&ue<=v.SyntaxKind.LastAssignment}b.isAssignmentKind=he;function N(ue){return ue>=v.SyntaxKind.FirstTypeNode&&ue<=v.SyntaxKind.LastTypeNode}b.isTypeNodeKind=N;function se(ue){return ue>=v.SyntaxKind.FirstJSDocNode&&ue<=v.SyntaxKind.LastJSDocNode}b.isJsDocKind=se;function Se(ue){return ue>=v.SyntaxKind.FirstKeyword&&ue<=v.SyntaxKind.LastKeyword}b.isKeywordKind=Se;function S(ue){return ue.name.kind===v.SyntaxKind.Identifier&&ue.name.originalKeywordKind===v.SyntaxKind.ThisKeyword}b.isThisParameter=S;function Re(ue,Tn){if(ue.modifiers!==void 0){for(let Ei of ue.modifiers)if(Ei.kind===Tn)return Ei}}b.getModifier=Re;function dt(ue){if(ue===void 0)return!1;for(var Tn=arguments.length,Ei=new Array(Tn>1?Tn-1:0),Gr=1;Gr<Tn;Gr++)Ei[Gr-1]=arguments[Gr];for(let ts of ue)if(Ei.includes(ts.kind))return!0;return!1}b.hasModifier=dt;function _n(ue){return dt(ue.modifiers,v.SyntaxKind.PublicKeyword,v.SyntaxKind.ProtectedKeyword,v.SyntaxKind.PrivateKeyword,v.SyntaxKind.ReadonlyKeyword)}b.isParameterProperty=_n;function Qt(ue){return yn(ue,v.ModifierFlags.AccessibilityModifier)}b.hasAccessModifier=Qt;function Mn(ue,Tn){return(ue.flags&Tn)!==0}b.isNodeFlagSet=Mn,b.isTypeFlagSet=Mn,b.isSymbolFlagSet=Mn;function Bi(ue,Tn){return(ue.objectFlags&Tn)!==0}b.isObjectFlagSet=Bi;function yn(ue,Tn){return(v.getCombinedModifierFlags(ue)&Tn)!==0}b.isModifierFlagSet=yn;function vn(ue){let Tn=ue.parent;if(X.isBlockLike(Tn)){let Ei=Tn.statements.indexOf(ue);if(Ei>0)return Tn.statements[Ei-1]}}b.getPreviousStatement=vn;function Ut(ue){let Tn=ue.parent;if(X.isBlockLike(Tn)){let Ei=Tn.statements.indexOf(ue);if(Ei<Tn.statements.length)return Tn.statements[Ei+1]}}b.getNextStatement=Ut;function In(ue,Tn){let{pos:Ei}=ue;if(Ei!==0){do ue=ue.parent;while(ue.pos===Ei);return xi(ue,Ei-1,Tn!=null?Tn:ue.getSourceFile(),!1)}}b.getPreviousToken=In;function Vi(ue,Tn){if(ue.kind===v.SyntaxKind.SourceFile||ue.kind===v.SyntaxKind.EndOfFileToken)return;let Ei=ue.end;for(ue=ue.parent;ue.end===Ei;){if(ue.parent===void 0)return ue.endOfFileToken;ue=ue.parent}return xi(ue,Ei,Tn!=null?Tn:ue.getSourceFile(),!1)}b.getNextToken=Vi;function ct(ue,Tn,Ei,Gr){if(!(Tn<ue.pos||Tn>=ue.end))return V(ue.kind)?ue:xi(ue,Tn,Ei!=null?Ei:ue.getSourceFile(),Gr===!0)}b.getTokenAtPosition=ct;function xi(ue,Tn,Ei,Gr){if(!Gr&&(ue=ms(ue,Tn),V(ue.kind)))return ue;e:for(;;){for(let ts of ue.getChildren(Ei))if(ts.end>Tn&&(Gr||ts.kind!==v.SyntaxKind.JSDocComment)){if(V(ts.kind))return ts;ue=ts;continue e}return}}function qr(ue,Tn){let Ei=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ue,Gr=ct(Ei,Tn,ue);if(Gr===void 0||Gr.kind===v.SyntaxKind.JsxText||Tn>=Gr.end-(v.tokenToString(Gr.kind)||\"\").length)return;let ts=Gr.pos===0?(v.getShebang(ue.text)||\"\").length:Gr.pos;return ts!==0&&v.forEachTrailingCommentRange(ue.text,ts,xr,Tn)||v.forEachLeadingCommentRange(ue.text,ts,xr,Tn)}b.getCommentAtPosition=qr;function xr(ue,Tn,Ei,Gr,ts){return ts>=ue&&ts<Tn?{pos:ue,end:Tn,kind:Ei}:void 0}function Bs(ue,Tn,Ei){return qr(ue,Tn,Ei)!==void 0}b.isPositionInComment=Bs;function Mi(ue,Tn){return ue.substring(Tn.pos+2,Tn.kind===v.SyntaxKind.SingleLineCommentTrivia?Tn.end:Tn.end-2)}b.commentText=Mi;function ms(ue,Tn){if(!(ue.pos>Tn||ue.end<=Tn)){for(;P(ue.kind);){let Ei=v.forEachChild(ue,Gr=>Gr.pos<=Tn&&Gr.end>Tn?Gr:void 0);if(Ei===void 0)break;ue=Ei}return ue}}b.getAstNodeAtPosition=ms;function Ks(ue,Tn){if(ue.node.pos>Tn||ue.node.end<=Tn)return;e:for(;;){for(let Ei of ue.children){if(Ei.node.pos>Tn)return ue;if(Ei.node.end>Tn){ue=Ei;continue e}}return ue}}b.getWrappedNodeAtPosition=Ks;function is(ue){if(ue.kind===v.SyntaxKind.ComputedPropertyName){let Tn=Xs(ue.expression);if(X.isPrefixUnaryExpression(Tn)){let Ei=!1;switch(Tn.operator){case v.SyntaxKind.MinusToken:Ei=!0;case v.SyntaxKind.PlusToken:return X.isNumericLiteral(Tn.operand)?`${Ei?\"-\":\"\"}${Tn.operand.text}`:de.isBigIntLiteral(Tn.operand)?`${Ei?\"-\":\"\"}${Tn.operand.text.slice(0,-1)}`:void 0;default:return}}return de.isBigIntLiteral(Tn)?Tn.text.slice(0,-1):X.isNumericOrStringLikeLiteral(Tn)?Tn.text:void 0}return ue.kind===v.SyntaxKind.PrivateIdentifier?void 0:ue.text}b.getPropertyName=is;function Ms(ue,Tn){for(let Ei of ue.elements){if(Ei.kind!==v.SyntaxKind.BindingElement)continue;let Gr;if(Ei.name.kind===v.SyntaxKind.Identifier?Gr=Tn(Ei):Gr=Ms(Ei.name,Tn),Gr)return Gr}}b.forEachDestructuringIdentifier=Ms;function to(ue,Tn){for(let Ei of ue.declarations){let Gr;if(Ei.name.kind===v.SyntaxKind.Identifier?Gr=Tn(Ei):Gr=Ms(Ei.name,Tn),Gr)return Gr}}b.forEachDeclaredVariable=to,function(ue){ue[ue.Var=0]=\"Var\",ue[ue.Let=1]=\"Let\",ue[ue.Const=2]=\"Const\"}(b.VariableDeclarationKind||(b.VariableDeclarationKind={}));function Lo(ue){return ue.flags&v.NodeFlags.Let?1:ue.flags&v.NodeFlags.Const?2:0}b.getVariableDeclarationKind=Lo;function ji(ue){return(ue.flags&v.NodeFlags.BlockScoped)!==0}b.isBlockScopedVariableDeclarationList=ji;function jr(ue){let Tn=ue.parent;return Tn.kind===v.SyntaxKind.CatchClause||ji(Tn)}b.isBlockScopedVariableDeclaration=jr;function ss(ue){switch(ue.kind){case v.SyntaxKind.VariableStatement:return ji(ue.declarationList);case v.SyntaxKind.ClassDeclaration:case v.SyntaxKind.EnumDeclaration:case v.SyntaxKind.InterfaceDeclaration:case v.SyntaxKind.TypeAliasDeclaration:return!0;default:return!1}}b.isBlockScopedDeclarationStatement=ss;function Jo(ue){switch(ue.parent.kind){case v.SyntaxKind.ForStatement:case v.SyntaxKind.ForInStatement:case v.SyntaxKind.ForOfStatement:case v.SyntaxKind.WhileStatement:case v.SyntaxKind.DoStatement:case v.SyntaxKind.IfStatement:case v.SyntaxKind.WithStatement:case v.SyntaxKind.LabeledStatement:return!0;default:return!1}}b.isInSingleStatementContext=Jo,function(ue){ue[ue.None=0]=\"None\",ue[ue.Function=1]=\"Function\",ue[ue.Block=2]=\"Block\",ue[ue.Type=4]=\"Type\",ue[ue.ConditionalType=8]=\"ConditionalType\"}(b.ScopeBoundary||(b.ScopeBoundary={})),function(ue){ue[ue.Function=1]=\"Function\",ue[ue.Block=3]=\"Block\",ue[ue.Type=7]=\"Type\",ue[ue.InferType=8]=\"InferType\"}(b.ScopeBoundarySelector||(b.ScopeBoundarySelector={}));function da(ue){return cc(ue)||Ou(ue)||ha(ue)}b.isScopeBoundary=da;function ha(ue){switch(ue.kind){case v.SyntaxKind.InterfaceDeclaration:case v.SyntaxKind.TypeAliasDeclaration:case v.SyntaxKind.MappedType:return 4;case v.SyntaxKind.ConditionalType:return 8;default:return 0}}b.isTypeScopeBoundary=ha;function cc(ue){switch(ue.kind){case v.SyntaxKind.FunctionExpression:case v.SyntaxKind.ArrowFunction:case v.SyntaxKind.Constructor:case v.SyntaxKind.ModuleDeclaration:case v.SyntaxKind.ClassDeclaration:case v.SyntaxKind.ClassExpression:case v.SyntaxKind.EnumDeclaration:case v.SyntaxKind.MethodDeclaration:case v.SyntaxKind.FunctionDeclaration:case v.SyntaxKind.GetAccessor:case v.SyntaxKind.SetAccessor:case v.SyntaxKind.MethodSignature:case v.SyntaxKind.CallSignature:case v.SyntaxKind.ConstructSignature:case v.SyntaxKind.ConstructorType:case v.SyntaxKind.FunctionType:return 1;case v.SyntaxKind.SourceFile:return v.isExternalModule(ue)?1:0;default:return 0}}b.isFunctionScopeBoundary=cc;function Ou(ue){switch(ue.kind){case v.SyntaxKind.Block:let Tn=ue.parent;return Tn.kind!==v.SyntaxKind.CatchClause&&(Tn.kind===v.SyntaxKind.SourceFile||!cc(Tn))?2:0;case v.SyntaxKind.ForStatement:case v.SyntaxKind.ForInStatement:case v.SyntaxKind.ForOfStatement:case v.SyntaxKind.CaseBlock:case v.SyntaxKind.CatchClause:case v.SyntaxKind.WithStatement:return 2;default:return 0}}b.isBlockScopeBoundary=Ou;function Xu(ue){switch(ue.kind){case v.SyntaxKind.ClassDeclaration:case v.SyntaxKind.ClassExpression:case v.SyntaxKind.FunctionExpression:return!0;case v.SyntaxKind.FunctionDeclaration:return ue.body!==void 0;case v.SyntaxKind.MethodDeclaration:case v.SyntaxKind.GetAccessor:case v.SyntaxKind.SetAccessor:return ue.parent.kind===v.SyntaxKind.ObjectLiteralExpression;default:return!1}}b.hasOwnThisReference=Xu;function Bd(ue){switch(ue.kind){case v.SyntaxKind.GetAccessor:case v.SyntaxKind.SetAccessor:case v.SyntaxKind.FunctionDeclaration:case v.SyntaxKind.MethodDeclaration:case v.SyntaxKind.Constructor:return ue.body!==void 0;case v.SyntaxKind.FunctionExpression:case v.SyntaxKind.ArrowFunction:return!0;default:return!1}}b.isFunctionWithBody=Bd;function ip(ue,Tn){let Ei=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ue.getSourceFile(),Gr=[];for(;;){if(V(ue.kind))Tn(ue);else if(ue.kind!==v.SyntaxKind.JSDocComment){let ts=ue.getChildren(Ei);if(ts.length===1){ue=ts[0];continue}for(let Es=ts.length-1;Es>=0;--Es)Gr.push(ts[Es])}if(Gr.length===0)break;ue=Gr.pop()}}b.forEachToken=ip;function zp(ue,Tn){let Ei=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ue.getSourceFile(),Gr=Ei.text,ts=v.createScanner(Ei.languageVersion,!1,Ei.languageVariant,Gr);return ip(ue,Es=>{let Ai=Es.kind===v.SyntaxKind.JsxText||Es.pos===Es.end?Es.pos:Es.getStart(Ei);if(Ai!==Es.pos){ts.setTextPos(Es.pos);let Mr=ts.scan(),vr=ts.getTokenPos();for(;vr<Ai;){let ao=ts.getTextPos();if(Tn(Gr,Mr,{pos:vr,end:ao},Es.parent),ao===Ai)break;Mr=ts.scan(),vr=ts.getTokenPos()}}return Tn(Gr,Es.kind,{end:Es.end,pos:Ai},Es.parent)},Ei)}b.forEachTokenWithTrivia=zp;function Kr(ue,Tn){let Ei=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ue.getSourceFile(),Gr=Ei.text,ts=Ei.languageVariant!==v.LanguageVariant.JSX;return ip(ue,Ai=>{if(Ai.pos!==Ai.end&&(Ai.kind!==v.SyntaxKind.JsxText&&v.forEachLeadingCommentRange(Gr,Ai.pos===0?(v.getShebang(Gr)||\"\").length:Ai.pos,Es),ts||so(Ai)))return v.forEachTrailingCommentRange(Gr,Ai.end,Es)},Ei);function Es(Ai,Mr,vr){Tn(Gr,{pos:Ai,end:Mr,kind:vr})}}b.forEachComment=Kr;function so(ue){switch(ue.kind){case v.SyntaxKind.CloseBraceToken:return ue.parent.kind!==v.SyntaxKind.JsxExpression||!xa(ue.parent.parent);case v.SyntaxKind.GreaterThanToken:switch(ue.parent.kind){case v.SyntaxKind.JsxOpeningElement:return ue.end!==ue.parent.end;case v.SyntaxKind.JsxOpeningFragment:return!1;case v.SyntaxKind.JsxSelfClosingElement:return ue.end!==ue.parent.end||!xa(ue.parent.parent);case v.SyntaxKind.JsxClosingElement:case v.SyntaxKind.JsxClosingFragment:return!xa(ue.parent.parent.parent)}}return!0}function xa(ue){return ue.kind===v.SyntaxKind.JsxElement||ue.kind===v.SyntaxKind.JsxFragment}function Wa(ue){let Tn=ue.getLineStarts(),Ei=[],Gr=Tn.length,ts=ue.text,Es=0;for(let Ai=1;Ai<Gr;++Ai){let Mr=Tn[Ai],vr=Mr;for(;vr>Es&&v.isLineBreak(ts.charCodeAt(vr-1));--vr);Ei.push({pos:Es,end:Mr,contentLength:vr-Es}),Es=Mr}return Ei.push({pos:Es,end:ue.end,contentLength:ue.end-Es}),Ei}b.getLineRanges=Wa;function pu(ue){let Tn=ue.getLineStarts();return Tn.length===1||Tn[1]<2||ue.text[Tn[1]-2]!==\"\\r\"?`\n`:`\\r\n`}b.getLineBreakStyle=pu;var yc;function Df(ue,Tn){return yc===void 0?yc=v.createScanner(Tn,!1,void 0,ue):(yc.setScriptTarget(Tn),yc.setText(ue)),yc.scan(),yc}function jh(ue){let Tn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v.ScriptTarget.Latest,Ei=Df(ue,Tn);return Ei.isIdentifier()&&Ei.getTextPos()===ue.length&&Ei.getTokenPos()===0}b.isValidIdentifier=jh;function Qu(ue){return ue>=65536?2:1}function Up(ue){let Tn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v.ScriptTarget.Latest;if(ue.length===0)return!1;let Ei=ue.codePointAt(0);if(!v.isIdentifierStart(Ei,Tn))return!1;for(let Gr=Qu(Ei);Gr<ue.length;Gr+=Qu(Ei))if(Ei=ue.codePointAt(Gr),!v.isIdentifierPart(Ei,Tn))return!1;return!0}b.isValidPropertyAccess=Up;function Om(ue){let Tn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v.ScriptTarget.Latest;if(Up(ue,Tn))return!0;let Ei=Df(ue,Tn);return Ei.getTextPos()===ue.length&&Ei.getToken()===v.SyntaxKind.NumericLiteral&&Ei.getTokenValue()===ue}b.isValidPropertyName=Om;function xp(ue){let Tn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v.ScriptTarget.Latest,Ei=Df(ue,Tn);return Ei.getToken()===v.SyntaxKind.NumericLiteral&&Ei.getTextPos()===ue.length&&Ei.getTokenPos()===0}b.isValidNumericLiteral=xp;function $f(ue){let Tn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v.ScriptTarget.Latest;if(ue.length===0)return!1;let Ei=!1,Gr=ue.codePointAt(0);if(!v.isIdentifierStart(Gr,Tn))return!1;for(let ts=Qu(Gr);ts<ue.length;ts+=Qu(Gr))if(Gr=ue.codePointAt(ts),!v.isIdentifierPart(Gr,Tn)&&Gr!==45)if(!Ei&&Gr===58&&ts+Qu(Gr)!==ue.length)Ei=!0;else return!1;return!0}b.isValidJsxIdentifier=$f;function D_(ue){return String(+ue)===ue}b.isNumericPropertyName=D_;function K(ue,Tn,Ei){return v.getLineAndCharacterOfPosition(ue,Tn).line===v.getLineAndCharacterOfPosition(ue,Ei).line}b.isSameLine=K,function(ue){ue[ue.None=0]=\"None\",ue[ue.TaggedTemplate=1]=\"TaggedTemplate\",ue[ue.Constructor=2]=\"Constructor\",ue[ue.JsxElement=4]=\"JsxElement\"}(b.SideEffectOptions||(b.SideEffectOptions={}));function nt(ue,Tn){var Ei,Gr;let ts=[];for(;;){switch(ue.kind){case v.SyntaxKind.CallExpression:case v.SyntaxKind.PostfixUnaryExpression:case v.SyntaxKind.AwaitExpression:case v.SyntaxKind.YieldExpression:case v.SyntaxKind.DeleteExpression:return!0;case v.SyntaxKind.TypeAssertionExpression:case v.SyntaxKind.AsExpression:case v.SyntaxKind.ParenthesizedExpression:case v.SyntaxKind.NonNullExpression:case v.SyntaxKind.VoidExpression:case v.SyntaxKind.TypeOfExpression:case v.SyntaxKind.PropertyAccessExpression:case v.SyntaxKind.SpreadElement:case v.SyntaxKind.PartiallyEmittedExpression:ue=ue.expression;continue;case v.SyntaxKind.BinaryExpression:if(he(ue.operatorToken.kind))return!0;ts.push(ue.right),ue=ue.left;continue;case v.SyntaxKind.PrefixUnaryExpression:switch(ue.operator){case v.SyntaxKind.PlusPlusToken:case v.SyntaxKind.MinusMinusToken:return!0;default:ue=ue.operand;continue}case v.SyntaxKind.ElementAccessExpression:ue.argumentExpression!==void 0&&ts.push(ue.argumentExpression),ue=ue.expression;continue;case v.SyntaxKind.ConditionalExpression:ts.push(ue.whenTrue,ue.whenFalse),ue=ue.condition;continue;case v.SyntaxKind.NewExpression:if(Tn&2)return!0;ue.arguments!==void 0&&ts.push(...ue.arguments),ue=ue.expression;continue;case v.SyntaxKind.TaggedTemplateExpression:if(Tn&1)return!0;if(ts.push(ue.tag),ue=ue.template,ue.kind===v.SyntaxKind.NoSubstitutionTemplateLiteral)break;case v.SyntaxKind.TemplateExpression:for(let Es of ue.templateSpans)ts.push(Es.expression);break;case v.SyntaxKind.ClassExpression:{if(ue.decorators!==void 0)return!0;for(let Ai of ue.members){if(Ai.decorators!==void 0)return!0;if(!dt(Ai.modifiers,v.SyntaxKind.DeclareKeyword))if(((Ei=Ai.name)===null||Ei===void 0?void 0:Ei.kind)===v.SyntaxKind.ComputedPropertyName&&ts.push(Ai.name.expression),X.isMethodDeclaration(Ai)){for(let Mr of Ai.parameters)if(Mr.decorators!==void 0)return!0}else X.isPropertyDeclaration(Ai)&&Ai.initializer!==void 0&&dt(Ai.modifiers,v.SyntaxKind.StaticKeyword)&&ts.push(Ai.initializer)}let Es=Du(ue);if(Es===void 0)break;ue=Es.expression;continue}case v.SyntaxKind.ArrayLiteralExpression:ts.push(...ue.elements);break;case v.SyntaxKind.ObjectLiteralExpression:for(let Es of ue.properties)switch(((Gr=Es.name)===null||Gr===void 0?void 0:Gr.kind)===v.SyntaxKind.ComputedPropertyName&&ts.push(Es.name.expression),Es.kind){case v.SyntaxKind.PropertyAssignment:ts.push(Es.initializer);break;case v.SyntaxKind.SpreadAssignment:ts.push(Es.expression)}break;case v.SyntaxKind.JsxExpression:if(ue.expression===void 0)break;ue=ue.expression;continue;case v.SyntaxKind.JsxElement:case v.SyntaxKind.JsxFragment:for(let Es of ue.children)Es.kind!==v.SyntaxKind.JsxText&&ts.push(Es);if(ue.kind===v.SyntaxKind.JsxFragment)break;ue=ue.openingElement;case v.SyntaxKind.JsxSelfClosingElement:case v.SyntaxKind.JsxOpeningElement:if(Tn&4)return!0;for(let Es of ue.attributes.properties)Es.kind===v.SyntaxKind.JsxSpreadAttribute?ts.push(Es.expression):Es.initializer!==void 0&&ts.push(Es.initializer);break;case v.SyntaxKind.CommaListExpression:ts.push(...ue.elements)}if(ts.length===0)return!1;ue=ts.pop()}}b.hasSideEffects=nt;function Ue(ue){let Tn=ue.parent.parent;for(;Tn.kind===v.SyntaxKind.BindingElement;)Tn=Tn.parent.parent;return Tn}b.getDeclarationOfBindingElement=Ue;function qe(ue){for(;;){let Tn=ue.parent;switch(Tn.kind){case v.SyntaxKind.CallExpression:case v.SyntaxKind.NewExpression:case v.SyntaxKind.ElementAccessExpression:case v.SyntaxKind.WhileStatement:case v.SyntaxKind.DoStatement:case v.SyntaxKind.WithStatement:case v.SyntaxKind.ThrowStatement:case v.SyntaxKind.ReturnStatement:case v.SyntaxKind.JsxExpression:case v.SyntaxKind.JsxSpreadAttribute:case v.SyntaxKind.JsxElement:case v.SyntaxKind.JsxFragment:case v.SyntaxKind.JsxSelfClosingElement:case v.SyntaxKind.ComputedPropertyName:case v.SyntaxKind.ArrowFunction:case v.SyntaxKind.ExportSpecifier:case v.SyntaxKind.ExportAssignment:case v.SyntaxKind.ImportDeclaration:case v.SyntaxKind.ExternalModuleReference:case v.SyntaxKind.Decorator:case v.SyntaxKind.TaggedTemplateExpression:case v.SyntaxKind.TemplateSpan:case v.SyntaxKind.ExpressionWithTypeArguments:case v.SyntaxKind.TypeOfExpression:case v.SyntaxKind.AwaitExpression:case v.SyntaxKind.YieldExpression:case v.SyntaxKind.LiteralType:case v.SyntaxKind.JsxAttributes:case v.SyntaxKind.JsxOpeningElement:case v.SyntaxKind.JsxClosingElement:case v.SyntaxKind.IfStatement:case v.SyntaxKind.CaseClause:case v.SyntaxKind.SwitchStatement:return!0;case v.SyntaxKind.PropertyAccessExpression:return Tn.expression===ue;case v.SyntaxKind.QualifiedName:return Tn.left===ue;case v.SyntaxKind.ShorthandPropertyAssignment:return Tn.objectAssignmentInitializer===ue||!Ye(Tn);case v.SyntaxKind.PropertyAssignment:return Tn.initializer===ue&&!Ye(Tn);case v.SyntaxKind.SpreadAssignment:case v.SyntaxKind.SpreadElement:case v.SyntaxKind.ArrayLiteralExpression:return!Ye(Tn);case v.SyntaxKind.ParenthesizedExpression:case v.SyntaxKind.AsExpression:case v.SyntaxKind.TypeAssertionExpression:case v.SyntaxKind.PostfixUnaryExpression:case v.SyntaxKind.PrefixUnaryExpression:case v.SyntaxKind.NonNullExpression:ue=Tn;continue;case v.SyntaxKind.ForStatement:return Tn.condition===ue;case v.SyntaxKind.ForInStatement:case v.SyntaxKind.ForOfStatement:return Tn.expression===ue;case v.SyntaxKind.ConditionalExpression:if(Tn.condition===ue)return!0;ue=Tn;break;case v.SyntaxKind.PropertyDeclaration:case v.SyntaxKind.BindingElement:case v.SyntaxKind.VariableDeclaration:case v.SyntaxKind.Parameter:case v.SyntaxKind.EnumMember:return Tn.initializer===ue;case v.SyntaxKind.ImportEqualsDeclaration:return Tn.moduleReference===ue;case v.SyntaxKind.CommaListExpression:if(Tn.elements[Tn.elements.length-1]!==ue)return!1;ue=Tn;break;case v.SyntaxKind.BinaryExpression:if(Tn.right===ue){if(Tn.operatorToken.kind===v.SyntaxKind.CommaToken){ue=Tn;break}return!0}switch(Tn.operatorToken.kind){case v.SyntaxKind.CommaToken:case v.SyntaxKind.EqualsToken:return!1;case v.SyntaxKind.EqualsEqualsEqualsToken:case v.SyntaxKind.EqualsEqualsToken:case v.SyntaxKind.ExclamationEqualsEqualsToken:case v.SyntaxKind.ExclamationEqualsToken:case v.SyntaxKind.InstanceOfKeyword:case v.SyntaxKind.PlusToken:case v.SyntaxKind.MinusToken:case v.SyntaxKind.AsteriskToken:case v.SyntaxKind.SlashToken:case v.SyntaxKind.PercentToken:case v.SyntaxKind.AsteriskAsteriskToken:case v.SyntaxKind.GreaterThanToken:case v.SyntaxKind.GreaterThanGreaterThanToken:case v.SyntaxKind.GreaterThanGreaterThanGreaterThanToken:case v.SyntaxKind.GreaterThanEqualsToken:case v.SyntaxKind.LessThanToken:case v.SyntaxKind.LessThanLessThanToken:case v.SyntaxKind.LessThanEqualsToken:case v.SyntaxKind.AmpersandToken:case v.SyntaxKind.BarToken:case v.SyntaxKind.CaretToken:case v.SyntaxKind.BarBarToken:case v.SyntaxKind.AmpersandAmpersandToken:case v.SyntaxKind.QuestionQuestionToken:case v.SyntaxKind.InKeyword:case v.SyntaxKind.QuestionQuestionEqualsToken:case v.SyntaxKind.AmpersandAmpersandEqualsToken:case v.SyntaxKind.BarBarEqualsToken:return!0;default:ue=Tn}break;default:return!1}}}b.isExpressionValueUsed=qe;function Ye(ue){switch(ue.kind){case v.SyntaxKind.ShorthandPropertyAssignment:if(ue.objectAssignmentInitializer!==void 0)return!0;case v.SyntaxKind.PropertyAssignment:case v.SyntaxKind.SpreadAssignment:ue=ue.parent;break;case v.SyntaxKind.SpreadElement:if(ue.parent.kind!==v.SyntaxKind.ArrayLiteralExpression)return!1;ue=ue.parent}for(;;)switch(ue.parent.kind){case v.SyntaxKind.BinaryExpression:return ue.parent.left===ue&&ue.parent.operatorToken.kind===v.SyntaxKind.EqualsToken;case v.SyntaxKind.ForOfStatement:return ue.parent.initializer===ue;case v.SyntaxKind.ArrayLiteralExpression:case v.SyntaxKind.ObjectLiteralExpression:ue=ue.parent;break;case v.SyntaxKind.SpreadAssignment:case v.SyntaxKind.PropertyAssignment:ue=ue.parent.parent;break;case v.SyntaxKind.SpreadElement:if(ue.parent.parent.kind!==v.SyntaxKind.ArrayLiteralExpression)return!1;ue=ue.parent.parent;break;default:return!1}}(function(ue){ue[ue.None=0]=\"None\",ue[ue.Read=1]=\"Read\",ue[ue.Write=2]=\"Write\",ue[ue.Delete=4]=\"Delete\",ue[ue.ReadWrite=3]=\"ReadWrite\",ue[ue.Modification=6]=\"Modification\"})(b.AccessKind||(b.AccessKind={}));function xt(ue){let Tn=ue.parent;switch(Tn.kind){case v.SyntaxKind.DeleteExpression:return 4;case v.SyntaxKind.PostfixUnaryExpression:return 3;case v.SyntaxKind.PrefixUnaryExpression:return Tn.operator===v.SyntaxKind.PlusPlusToken||Tn.operator===v.SyntaxKind.MinusMinusToken?3:1;case v.SyntaxKind.BinaryExpression:return Tn.right===ue?1:he(Tn.operatorToken.kind)?Tn.operatorToken.kind===v.SyntaxKind.EqualsToken?2:3:1;case v.SyntaxKind.ShorthandPropertyAssignment:return Tn.objectAssignmentInitializer===ue?1:Ye(Tn)?2:1;case v.SyntaxKind.PropertyAssignment:return Tn.name===ue?0:Ye(Tn)?2:1;case v.SyntaxKind.ArrayLiteralExpression:case v.SyntaxKind.SpreadElement:case v.SyntaxKind.SpreadAssignment:return Ye(Tn)?2:1;case v.SyntaxKind.ParenthesizedExpression:case v.SyntaxKind.NonNullExpression:case v.SyntaxKind.TypeAssertionExpression:case v.SyntaxKind.AsExpression:return xt(Tn);case v.SyntaxKind.ForOfStatement:case v.SyntaxKind.ForInStatement:return Tn.initializer===ue?2:1;case v.SyntaxKind.ExpressionWithTypeArguments:return Tn.parent.token===v.SyntaxKind.ExtendsKeyword&&Tn.parent.parent.kind!==v.SyntaxKind.InterfaceDeclaration?1:0;case v.SyntaxKind.ComputedPropertyName:case v.SyntaxKind.ExpressionStatement:case v.SyntaxKind.TypeOfExpression:case v.SyntaxKind.ElementAccessExpression:case v.SyntaxKind.ForStatement:case v.SyntaxKind.IfStatement:case v.SyntaxKind.DoStatement:case v.SyntaxKind.WhileStatement:case v.SyntaxKind.SwitchStatement:case v.SyntaxKind.WithStatement:case v.SyntaxKind.ThrowStatement:case v.SyntaxKind.CallExpression:case v.SyntaxKind.NewExpression:case v.SyntaxKind.TaggedTemplateExpression:case v.SyntaxKind.JsxExpression:case v.SyntaxKind.Decorator:case v.SyntaxKind.TemplateSpan:case v.SyntaxKind.JsxOpeningElement:case v.SyntaxKind.JsxSelfClosingElement:case v.SyntaxKind.JsxSpreadAttribute:case v.SyntaxKind.VoidExpression:case v.SyntaxKind.ReturnStatement:case v.SyntaxKind.AwaitExpression:case v.SyntaxKind.YieldExpression:case v.SyntaxKind.ConditionalExpression:case v.SyntaxKind.CaseClause:case v.SyntaxKind.JsxElement:return 1;case v.SyntaxKind.ArrowFunction:return Tn.body===ue?1:2;case v.SyntaxKind.PropertyDeclaration:case v.SyntaxKind.VariableDeclaration:case v.SyntaxKind.Parameter:case v.SyntaxKind.EnumMember:case v.SyntaxKind.BindingElement:case v.SyntaxKind.JsxAttribute:return Tn.initializer===ue?1:0;case v.SyntaxKind.PropertyAccessExpression:return Tn.expression===ue?1:0;case v.SyntaxKind.ExportAssignment:return Tn.isExportEquals?1:0}return 0}b.getAccessKind=xt;function bt(ue){return(xt(ue)&2)!==0}b.isReassignmentTarget=bt;function wt(ue){switch(ue.kind){case v.SyntaxKind.Parameter:case v.SyntaxKind.CallSignature:case v.SyntaxKind.ConstructSignature:case v.SyntaxKind.MethodSignature:case v.SyntaxKind.PropertySignature:case v.SyntaxKind.ArrowFunction:case v.SyntaxKind.ParenthesizedExpression:case v.SyntaxKind.SpreadAssignment:case v.SyntaxKind.ShorthandPropertyAssignment:case v.SyntaxKind.PropertyAssignment:case v.SyntaxKind.FunctionExpression:case v.SyntaxKind.LabeledStatement:case v.SyntaxKind.ExpressionStatement:case v.SyntaxKind.VariableStatement:case v.SyntaxKind.FunctionDeclaration:case v.SyntaxKind.Constructor:case v.SyntaxKind.MethodDeclaration:case v.SyntaxKind.PropertyDeclaration:case v.SyntaxKind.GetAccessor:case v.SyntaxKind.SetAccessor:case v.SyntaxKind.ClassDeclaration:case v.SyntaxKind.ClassExpression:case v.SyntaxKind.InterfaceDeclaration:case v.SyntaxKind.TypeAliasDeclaration:case v.SyntaxKind.EnumMember:case v.SyntaxKind.EnumDeclaration:case v.SyntaxKind.ModuleDeclaration:case v.SyntaxKind.ImportEqualsDeclaration:case v.SyntaxKind.ImportDeclaration:case v.SyntaxKind.NamespaceExportDeclaration:case v.SyntaxKind.ExportAssignment:case v.SyntaxKind.IndexSignature:case v.SyntaxKind.FunctionType:case v.SyntaxKind.ConstructorType:case v.SyntaxKind.JSDocFunctionType:case v.SyntaxKind.ExportDeclaration:case v.SyntaxKind.NamedTupleMember:case v.SyntaxKind.EndOfFileToken:return!0;default:return!1}}b.canHaveJsDoc=wt;function lt(ue,Tn){let Ei=[];for(let Gr of ue.getChildren(Tn)){if(!X.isJsDoc(Gr))break;Ei.push(Gr)}return Ei}b.getJsDoc=lt;function Et(ue,Tn){let Ei=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ue.getSourceFile();if(wt(ue)&&ue.kind!==v.SyntaxKind.EndOfFileToken){let Gr=lt(ue,Ei);if(Gr.length!==0||!Tn)return Gr}return Q(ue,ue.getStart(Ei),Ei,Tn)}b.parseJsDocOfNode=Et;function Q(ue,Tn,Ei,Gr){let ts=v[Gr&&K(Ei,ue.pos,Tn)?\"forEachTrailingCommentRange\":\"forEachLeadingCommentRange\"](Ei.text,ue.pos,($i,pa,Ro)=>Ro===v.SyntaxKind.MultiLineCommentTrivia&&Ei.text[$i+2]===\"*\"?{pos:$i}:void 0);if(ts===void 0)return[];let Es=ts.pos,Ai=Ei.text.slice(Es,Tn),Mr=v.createSourceFile(\"jsdoc.ts\",`${Ai}var a;`,Ei.languageVersion),vr=lt(Mr.statements[0],Mr);for(let $i of vr)ao($i,ue);return vr;function ao($i,pa){return $i.pos+=Es,$i.end+=Es,$i.parent=pa,v.forEachChild($i,Ro=>ao(Ro,$i),Ro=>{Ro.pos+=Es,Ro.end+=Es;for(let td of Ro)ao(td,$i)})}}(function(ue){ue[ue.ImportDeclaration=1]=\"ImportDeclaration\",ue[ue.ImportEquals=2]=\"ImportEquals\",ue[ue.ExportFrom=4]=\"ExportFrom\",ue[ue.DynamicImport=8]=\"DynamicImport\",ue[ue.Require=16]=\"Require\",ue[ue.ImportType=32]=\"ImportType\",ue[ue.All=63]=\"All\",ue[ue.AllImports=59]=\"AllImports\",ue[ue.AllStaticImports=3]=\"AllStaticImports\",ue[ue.AllImportExpressions=24]=\"AllImportExpressions\",ue[ue.AllRequireLike=18]=\"AllRequireLike\",ue[ue.AllNestedImports=56]=\"AllNestedImports\",ue[ue.AllTopLevelImports=7]=\"AllTopLevelImports\"})(b.ImportKind||(b.ImportKind={}));function W(ue,Tn){let Ei=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,Gr=[];for(let Es of Je(ue,Tn,Ei))switch(Es.kind){case v.SyntaxKind.ImportDeclaration:ts(Es.moduleSpecifier);break;case v.SyntaxKind.ImportEqualsDeclaration:ts(Es.moduleReference.expression);break;case v.SyntaxKind.ExportDeclaration:ts(Es.moduleSpecifier);break;case v.SyntaxKind.CallExpression:ts(Es.arguments[0]);break;case v.SyntaxKind.ImportType:X.isLiteralTypeNode(Es.argument)&&ts(Es.argument.literal);break;default:throw new Error(\"unexpected node\")}return Gr;function ts(Es){X.isTextualLiteral(Es)&&Gr.push(Es)}}b.findImports=W;function Je(ue,Tn){let Ei=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return new Oe(ue,Tn,Ei).find()}b.findImportLikeNodes=Je;var Oe=class{constructor(ue,Tn,Ei){this._sourceFile=ue,this._options=Tn,this._ignoreFileName=Ei,this._result=[]}find(){return this._sourceFile.isDeclarationFile&&(this._options&=-25),this._options&7&&this._findImports(this._sourceFile.statements),this._options&56&&this._findNestedImports(),this._result}_findImports(ue){for(let Tn of ue)X.isImportDeclaration(Tn)?this._options&1&&this._result.push(Tn):X.isImportEqualsDeclaration(Tn)?this._options&2&&Tn.moduleReference.kind===v.SyntaxKind.ExternalModuleReference&&this._result.push(Tn):X.isExportDeclaration(Tn)?Tn.moduleSpecifier!==void 0&&this._options&4&&this._result.push(Tn):X.isModuleDeclaration(Tn)&&this._findImportsInModule(Tn)}_findImportsInModule(ue){if(ue.body!==void 0){if(ue.body.kind===v.SyntaxKind.ModuleDeclaration)return this._findImportsInModule(ue.body);this._findImports(ue.body.statements)}}_findNestedImports(){let ue=this._ignoreFileName||(this._sourceFile.flags&v.NodeFlags.JavaScriptFile)!==0,Tn,Ei;if((this._options&56)===16){if(!ue)return;Tn=/\\brequire\\s*[</(]/g,Ei=!1}else this._options&16&&ue?(Tn=/\\b(?:import|require)\\s*[</(]/g,Ei=(this._options&32)!==0):(Tn=/\\bimport\\s*[</(]/g,Ei=ue&&(this._options&32)!==0);for(let Gr=Tn.exec(this._sourceFile.text);Gr!==null;Gr=Tn.exec(this._sourceFile.text)){let ts=xi(this._sourceFile,Gr.index,this._sourceFile,Gr[0][0]===\"i\"&&Ei);if(ts.kind===v.SyntaxKind.ImportKeyword){if(ts.end-6!==Gr.index)continue;switch(ts.parent.kind){case v.SyntaxKind.ImportType:this._result.push(ts.parent);break;case v.SyntaxKind.CallExpression:ts.parent.arguments.length>1&&this._result.push(ts.parent)}}else ts.kind===v.SyntaxKind.Identifier&&ts.end-7===Gr.index&&ts.parent.kind===v.SyntaxKind.CallExpression&&ts.parent.expression===ts&&ts.parent.arguments.length===1&&this._result.push(ts.parent)}}};function zt(ue){for(;ue.flags&v.NodeFlags.NestedNamespace;)ue=ue.parent;return dt(ue.modifiers,v.SyntaxKind.DeclareKeyword)||Tt(ue.parent)}b.isStatementInAmbientContext=zt;function Tt(ue){for(;ue.kind===v.SyntaxKind.ModuleBlock;){do ue=ue.parent;while(ue.flags&v.NodeFlags.NestedNamespace);if(dt(ue.modifiers,v.SyntaxKind.DeclareKeyword))return!0;ue=ue.parent}return!1}b.isAmbientModuleBlock=Tt;function xn(ue){let Tn=ue.parent;for(;Tn.kind===v.SyntaxKind.ParenthesizedExpression;)Tn=Tn.parent;return X.isCallExpression(Tn)&&ue.end<=Tn.expression.end?Tn:void 0}b.getIIFE=xn;function Cn(ue,Tn){return(ue.strict?ue[Tn]!==!1:ue[Tn]===!0)&&(Tn!==\"strictPropertyInitialization\"||Cn(ue,\"strictNullChecks\"))}b.isStrictCompilerOptionEnabled=Cn;function Bt(ue,Tn){switch(Tn){case\"stripInternal\":case\"declarationMap\":case\"emitDeclarationOnly\":return ue[Tn]===!0&&Bt(ue,\"declaration\");case\"declaration\":return ue.declaration||Bt(ue,\"composite\");case\"incremental\":return ue.incremental===void 0?Bt(ue,\"composite\"):ue.incremental;case\"skipDefaultLibCheck\":return ue.skipDefaultLibCheck||Bt(ue,\"skipLibCheck\");case\"suppressImplicitAnyIndexErrors\":return ue.suppressImplicitAnyIndexErrors===!0&&Bt(ue,\"noImplicitAny\");case\"allowSyntheticDefaultImports\":return ue.allowSyntheticDefaultImports!==void 0?ue.allowSyntheticDefaultImports:Bt(ue,\"esModuleInterop\")||ue.module===v.ModuleKind.System;case\"noUncheckedIndexedAccess\":return ue.noUncheckedIndexedAccess===!0&&Bt(ue,\"strictNullChecks\");case\"allowJs\":return ue.allowJs===void 0?Bt(ue,\"checkJs\"):ue.allowJs;case\"noImplicitAny\":case\"noImplicitThis\":case\"strictNullChecks\":case\"strictFunctionTypes\":case\"strictPropertyInitialization\":case\"alwaysStrict\":case\"strictBindCallApply\":return Cn(ue,Tn)}return ue[Tn]===!0}b.isCompilerOptionEnabled=Bt;function yi(ue){return ue.name.kind===v.SyntaxKind.StringLiteral||(ue.flags&v.NodeFlags.GlobalAugmentation)!==0}b.isAmbientModule=yi;function Oi(ue){return Qi(ue)}b.getCheckJsDirective=Oi;function Qi(ue){let Tn;return v.forEachLeadingCommentRange(ue,(v.getShebang(ue)||\"\").length,(Ei,Gr,ts)=>{if(ts===v.SyntaxKind.SingleLineCommentTrivia){let Es=ue.slice(Ei,Gr),Ai=/^\\/{2,3}\\s*@ts-(no)?check(?:\\s|$)/i.exec(Es);Ai!==null&&(Tn={pos:Ei,end:Gr,enabled:Ai[1]===void 0})}}),Tn}b.getTsCheckDirective=Qi;function $s(ue){return X.isTypeReferenceNode(ue.type)&&ue.type.typeName.kind===v.SyntaxKind.Identifier&&ue.type.typeName.escapedText===\"const\"}b.isConstAssertion=$s;function vo(ue){let Tn=ue;for(;;){let Ei=Tn.parent;e:switch(Ei.kind){case v.SyntaxKind.TypeAssertionExpression:case v.SyntaxKind.AsExpression:return $s(Ei);case v.SyntaxKind.PrefixUnaryExpression:if(Tn.kind!==v.SyntaxKind.NumericLiteral)return!1;switch(Ei.operator){case v.SyntaxKind.PlusToken:case v.SyntaxKind.MinusToken:Tn=Ei;break e;default:return!1}case v.SyntaxKind.PropertyAssignment:if(Ei.initializer!==Tn)return!1;Tn=Ei.parent;break;case v.SyntaxKind.ShorthandPropertyAssignment:Tn=Ei.parent;break;case v.SyntaxKind.ParenthesizedExpression:case v.SyntaxKind.ArrayLiteralExpression:case v.SyntaxKind.ObjectLiteralExpression:case v.SyntaxKind.TemplateExpression:Tn=Ei;break;default:return!1}}}b.isInConstContext=vo;function Mo(ue,Tn){if(!Ea(ue))return!1;let Ei=Tn.getTypeAtLocation(ue.arguments[2]);if(Ei.getProperty(\"value\")===void 0)return Ei.getProperty(\"set\")===void 0;let Gr=Ei.getProperty(\"writable\");if(Gr===void 0)return!1;let ts=Gr.valueDeclaration!==void 0&&X.isPropertyAssignment(Gr.valueDeclaration)?Tn.getTypeAtLocation(Gr.valueDeclaration.initializer):Tn.getTypeOfSymbolAtLocation(Gr,ue.arguments[2]);return ve.isBooleanLiteralType(ts,!1)}b.isReadonlyAssignmentDeclaration=Mo;function Ea(ue){return ue.arguments.length===3&&X.isEntityNameExpression(ue.arguments[0])&&X.isNumericOrStringLikeLiteral(ue.arguments[1])&&X.isPropertyAccessExpression(ue.expression)&&ue.expression.name.escapedText===\"defineProperty\"&&X.isIdentifier(ue.expression.expression)&&ue.expression.expression.escapedText===\"Object\"}b.isBindableObjectDefinePropertyCall=Ea;function Ca(ue){return v.isPropertyAccessExpression(ue)&&v.isIdentifier(ue.expression)&&ue.expression.escapedText===\"Symbol\"}b.isWellKnownSymbolLiterally=Ca;function Ma(ue){return{displayName:`[Symbol.${ue.name.text}]`,symbolName:\"__@\"+ue.name.text}}b.getPropertyNameOfWellKnownSymbol=Ma;var Yo=(ue=>{let[Tn,Ei]=ue;return Tn<\"4\"||Tn===\"4\"&&Ei<\"3\"})(v.versionMajorMinor.split(\".\"));function Oa(ue,Tn){let Ei={known:!0,names:[]};if(ue=Xs(ue),Yo&&Ca(ue))Ei.names.push(Ma(ue));else{let Gr=Tn.getTypeAtLocation(ue);for(let ts of ve.unionTypeParts(Tn.getBaseConstraintOfType(Gr)||Gr)){let Es=ve.getPropertyNameFromType(ts);Es?Ei.names.push(Es):Ei.known=!1}}return Ei}b.getLateBoundPropertyNames=Oa;function qs(ue,Tn){let Ei=is(ue);return Ei!==void 0?{known:!0,names:[{displayName:Ei,symbolName:v.escapeLeadingUnderscores(Ei)}]}:ue.kind===v.SyntaxKind.PrivateIdentifier?{known:!0,names:[{displayName:ue.text,symbolName:Tn.getSymbolAtLocation(ue).escapedName}]}:Oa(ue.expression,Tn)}b.getLateBoundPropertyNamesOfPropertyName=qs;function cs(ue,Tn){let Ei=is(ue);if(Ei!==void 0)return{displayName:Ei,symbolName:v.escapeLeadingUnderscores(Ei)};if(ue.kind===v.SyntaxKind.PrivateIdentifier)return{displayName:ue.text,symbolName:Tn.getSymbolAtLocation(ue).escapedName};let{expression:Gr}=ue;return Yo&&Ca(Gr)?Ma(Gr):ve.getPropertyNameFromType(Tn.getTypeAtLocation(Gr))}b.getSingleLateBoundPropertyNameOfPropertyName=cs;function Xs(ue){for(;ue.kind===v.SyntaxKind.ParenthesizedExpression;)ue=ue.expression;return ue}b.unwrapParentheses=Xs;function ds(ue){return`${ue.negative?\"-\":\"\"}${ue.base10Value}n`}b.formatPseudoBigInt=ds;function Zu(ue,Tn){let Ei=ue.caseBlock.clauses.filter(X.isCaseClause);if(Ei.length===0)return!1;let Gr=ve.unionTypeParts(Tn.getTypeAtLocation(ue.expression));if(Gr.length>Ei.length)return!1;let ts=new Set(Gr.map(au));if(ts.has(void 0))return!1;let Es=new Set;for(let Ai of Ei){let Mr=Tn.getTypeAtLocation(Ai.expression);if(b.isTypeFlagSet(Mr,v.TypeFlags.Never))continue;let vr=au(Mr);if(ts.has(vr))Es.add(vr);else if(vr!==\"null\"&&vr!==\"undefined\")return!1}return ts.size===Es.size}b.hasExhaustiveCaseClauses=Zu;function au(ue){if(b.isTypeFlagSet(ue,v.TypeFlags.Null))return\"null\";if(b.isTypeFlagSet(ue,v.TypeFlags.Undefined))return\"undefined\";if(b.isTypeFlagSet(ue,v.TypeFlags.NumberLiteral))return`${b.isTypeFlagSet(ue,v.TypeFlags.EnumLiteral)?\"enum:\":\"\"}${ue.value}`;if(b.isTypeFlagSet(ue,v.TypeFlags.StringLiteral))return`${b.isTypeFlagSet(ue,v.TypeFlags.EnumLiteral)?\"enum:\":\"\"}string:${ue.value}`;if(b.isTypeFlagSet(ue,v.TypeFlags.BigIntLiteral))return ds(ue.value);if(de.isUniqueESSymbolType(ue))return ue.escapedName;if(ve.isBooleanLiteralType(ue,!0))return\"true\";if(ve.isBooleanLiteralType(ue,!1))return\"false\"}function Du(ue){var Tn;if(((Tn=ue.heritageClauses)===null||Tn===void 0?void 0:Tn[0].token)===v.SyntaxKind.ExtendsKeyword)return ue.heritageClauses[0].types[0]}b.getBaseOfClassLikeExpression=Du}}),ah=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js\"(b){Li();var v=b&&b.__createBinding||(Object.create?function(N,se,Se,S){S===void 0&&(S=Se);var Re=Object.getOwnPropertyDescriptor(se,Se);(!Re||(\"get\"in Re?!se.__esModule:Re.writable||Re.configurable))&&(Re={enumerable:!0,get:function(){return se[Se]}}),Object.defineProperty(N,S,Re)}:function(N,se,Se,S){S===void 0&&(S=Se),N[S]=se[Se]}),X=b&&b.__setModuleDefault||(Object.create?function(N,se){Object.defineProperty(N,\"default\",{enumerable:!0,value:se})}:function(N,se){N.default=se}),de=b&&b.__importStar||function(N){if(N&&N.__esModule)return N;var se={};if(N!=null)for(var Se in N)Se!==\"default\"&&Object.prototype.hasOwnProperty.call(N,Se)&&v(se,N,Se);return X(se,N),se};Object.defineProperty(b,\"__esModule\",{value:!0}),b.convertComments=void 0;var ve=Mc(),ie=de(gl()),V=fd(),P=Kd();function he(N,se){let Se=[];return(0,ve.forEachComment)(N,(S,Re)=>{let dt=Re.kind===ie.SyntaxKind.SingleLineCommentTrivia?P.AST_TOKEN_TYPES.Line:P.AST_TOKEN_TYPES.Block,_n=[Re.pos,Re.end],Qt=(0,V.getLocFor)(_n[0],_n[1],N),Mn=_n[0]+2,Bi=Re.kind===ie.SyntaxKind.SingleLineCommentTrivia?_n[1]-Mn:_n[1]-Mn-2;Se.push({type:dt,value:se.slice(Mn,Mn+Bi),range:_n,loc:Qt})},N),Se}b.convertComments=he}}),Gd=Gn({\"node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0});var v={AssignmentExpression:[\"left\",\"right\"],AssignmentPattern:[\"left\",\"right\"],ArrayExpression:[\"elements\"],ArrayPattern:[\"elements\"],ArrowFunctionExpression:[\"params\",\"body\"],AwaitExpression:[\"argument\"],BlockStatement:[\"body\"],BinaryExpression:[\"left\",\"right\"],BreakStatement:[\"label\"],CallExpression:[\"callee\",\"arguments\"],CatchClause:[\"param\",\"body\"],ChainExpression:[\"expression\"],ClassBody:[\"body\"],ClassDeclaration:[\"id\",\"superClass\",\"body\"],ClassExpression:[\"id\",\"superClass\",\"body\"],ConditionalExpression:[\"test\",\"consequent\",\"alternate\"],ContinueStatement:[\"label\"],DebuggerStatement:[],DoWhileStatement:[\"body\",\"test\"],EmptyStatement:[],ExportAllDeclaration:[\"exported\",\"source\"],ExportDefaultDeclaration:[\"declaration\"],ExportNamedDeclaration:[\"declaration\",\"specifiers\",\"source\"],ExportSpecifier:[\"exported\",\"local\"],ExpressionStatement:[\"expression\"],ExperimentalRestProperty:[\"argument\"],ExperimentalSpreadProperty:[\"argument\"],ForStatement:[\"init\",\"test\",\"update\",\"body\"],ForInStatement:[\"left\",\"right\",\"body\"],ForOfStatement:[\"left\",\"right\",\"body\"],FunctionDeclaration:[\"id\",\"params\",\"body\"],FunctionExpression:[\"id\",\"params\",\"body\"],Identifier:[],IfStatement:[\"test\",\"consequent\",\"alternate\"],ImportDeclaration:[\"specifiers\",\"source\"],ImportDefaultSpecifier:[\"local\"],ImportExpression:[\"source\"],ImportNamespaceSpecifier:[\"local\"],ImportSpecifier:[\"imported\",\"local\"],JSXAttribute:[\"name\",\"value\"],JSXClosingElement:[\"name\"],JSXElement:[\"openingElement\",\"children\",\"closingElement\"],JSXEmptyExpression:[],JSXExpressionContainer:[\"expression\"],JSXIdentifier:[],JSXMemberExpression:[\"object\",\"property\"],JSXNamespacedName:[\"namespace\",\"name\"],JSXOpeningElement:[\"name\",\"attributes\"],JSXSpreadAttribute:[\"argument\"],JSXText:[],JSXFragment:[\"openingFragment\",\"children\",\"closingFragment\"],JSXClosingFragment:[],JSXOpeningFragment:[],Literal:[],LabeledStatement:[\"label\",\"body\"],LogicalExpression:[\"left\",\"right\"],MemberExpression:[\"object\",\"property\"],MetaProperty:[\"meta\",\"property\"],MethodDefinition:[\"key\",\"value\"],NewExpression:[\"callee\",\"arguments\"],ObjectExpression:[\"properties\"],ObjectPattern:[\"properties\"],PrivateIdentifier:[],Program:[\"body\"],Property:[\"key\",\"value\"],PropertyDefinition:[\"key\",\"value\"],RestElement:[\"argument\"],ReturnStatement:[\"argument\"],SequenceExpression:[\"expressions\"],SpreadElement:[\"argument\"],StaticBlock:[\"body\"],Super:[],SwitchStatement:[\"discriminant\",\"cases\"],SwitchCase:[\"test\",\"consequent\"],TaggedTemplateExpression:[\"tag\",\"quasi\"],TemplateElement:[],TemplateLiteral:[\"quasis\",\"expressions\"],ThisExpression:[],ThrowStatement:[\"argument\"],TryStatement:[\"block\",\"handler\",\"finalizer\"],UnaryExpression:[\"argument\"],UpdateExpression:[\"argument\"],VariableDeclaration:[\"declarations\"],VariableDeclarator:[\"id\",\"init\"],WhileStatement:[\"test\",\"body\"],WithStatement:[\"object\",\"body\"],YieldExpression:[\"argument\"]},X=Object.keys(v);for(let P of X)Object.freeze(v[P]);Object.freeze(v);var de=new Set([\"parent\",\"leadingComments\",\"trailingComments\"]);function ve(P){return!de.has(P)&&P[0]!==\"_\"}function ie(P){return Object.keys(P).filter(ve)}function V(P){let he=Object.assign({},v);for(let N of Object.keys(P))if(Object.prototype.hasOwnProperty.call(he,N)){let se=new Set(P[N]);for(let Se of he[N])se.add(Se);he[N]=Object.freeze(Array.from(se))}else he[N]=Object.freeze(Array.from(P[N]));return Object.freeze(he)}b.KEYS=v,b.getKeys=ie,b.unionWith=V}}),Mh=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0}),b.getKeys=void 0;var v=Gd(),X=v.getKeys;b.getKeys=X}}),Rh=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js\"(b){Li();var v=b&&b.__createBinding||(Object.create?function(he,N,se,Se){Se===void 0&&(Se=se);var S=Object.getOwnPropertyDescriptor(N,se);(!S||(\"get\"in S?!N.__esModule:S.writable||S.configurable))&&(S={enumerable:!0,get:function(){return N[se]}}),Object.defineProperty(he,Se,S)}:function(he,N,se,Se){Se===void 0&&(Se=se),he[Se]=N[se]}),X=b&&b.__setModuleDefault||(Object.create?function(he,N){Object.defineProperty(he,\"default\",{enumerable:!0,value:N})}:function(he,N){he.default=N}),de=b&&b.__importStar||function(he){if(he&&he.__esModule)return he;var N={};if(he!=null)for(var se in he)se!==\"default\"&&Object.prototype.hasOwnProperty.call(he,se)&&v(N,he,se);return X(N,he),N};Object.defineProperty(b,\"__esModule\",{value:!0}),b.visitorKeys=void 0;var ve=de(Gd()),ie=(()=>{let he=[\"typeParameters\",\"params\",\"returnType\"],N=[...he,\"body\"],se=[\"decorators\",\"key\",\"typeAnnotation\"];return{AnonymousFunction:N,Function:[\"id\",...N],FunctionType:he,ClassDeclaration:[\"decorators\",\"id\",\"typeParameters\",\"superClass\",\"superTypeParameters\",\"implements\",\"body\"],AbstractPropertyDefinition:[\"decorators\",\"key\",\"typeAnnotation\"],PropertyDefinition:[...se,\"value\"],TypeAssertion:[\"expression\",\"typeAnnotation\"]}})(),V={AccessorProperty:ie.PropertyDefinition,ArrayPattern:[\"decorators\",\"elements\",\"typeAnnotation\"],ArrowFunctionExpression:ie.AnonymousFunction,AssignmentPattern:[\"decorators\",\"left\",\"right\",\"typeAnnotation\"],CallExpression:[\"callee\",\"typeParameters\",\"arguments\"],ClassDeclaration:ie.ClassDeclaration,ClassExpression:ie.ClassDeclaration,Decorator:[\"expression\"],ExportAllDeclaration:[\"exported\",\"source\",\"assertions\"],ExportNamedDeclaration:[\"declaration\",\"specifiers\",\"source\",\"assertions\"],FunctionDeclaration:ie.Function,FunctionExpression:ie.Function,Identifier:[\"decorators\",\"typeAnnotation\"],ImportAttribute:[\"key\",\"value\"],ImportDeclaration:[\"specifiers\",\"source\",\"assertions\"],ImportExpression:[\"source\",\"attributes\"],JSXClosingFragment:[],JSXOpeningElement:[\"name\",\"typeParameters\",\"attributes\"],JSXOpeningFragment:[],JSXSpreadChild:[\"expression\"],MethodDefinition:[\"decorators\",\"key\",\"value\",\"typeParameters\"],NewExpression:[\"callee\",\"typeParameters\",\"arguments\"],ObjectPattern:[\"decorators\",\"properties\",\"typeAnnotation\"],PropertyDefinition:ie.PropertyDefinition,RestElement:[\"decorators\",\"argument\",\"typeAnnotation\"],StaticBlock:[\"body\"],TaggedTemplateExpression:[\"tag\",\"typeParameters\",\"quasi\"],TSAbstractAccessorProperty:ie.AbstractPropertyDefinition,TSAbstractKeyword:[],TSAbstractMethodDefinition:[\"key\",\"value\"],TSAbstractPropertyDefinition:ie.AbstractPropertyDefinition,TSAnyKeyword:[],TSArrayType:[\"elementType\"],TSAsExpression:ie.TypeAssertion,TSAsyncKeyword:[],TSBigIntKeyword:[],TSBooleanKeyword:[],TSCallSignatureDeclaration:ie.FunctionType,TSClassImplements:[\"expression\",\"typeParameters\"],TSConditionalType:[\"checkType\",\"extendsType\",\"trueType\",\"falseType\"],TSConstructorType:ie.FunctionType,TSConstructSignatureDeclaration:ie.FunctionType,TSDeclareFunction:ie.Function,TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:[\"id\",...ie.FunctionType],TSEnumDeclaration:[\"id\",\"members\"],TSEnumMember:[\"id\",\"initializer\"],TSExportAssignment:[\"expression\"],TSExportKeyword:[],TSExternalModuleReference:[\"expression\"],TSFunctionType:ie.FunctionType,TSImportEqualsDeclaration:[\"id\",\"moduleReference\"],TSImportType:[\"parameter\",\"qualifier\",\"typeParameters\"],TSIndexedAccessType:[\"indexType\",\"objectType\"],TSIndexSignature:[\"parameters\",\"typeAnnotation\"],TSInferType:[\"typeParameter\"],TSInstantiationExpression:[\"expression\",\"typeParameters\"],TSInterfaceBody:[\"body\"],TSInterfaceDeclaration:[\"id\",\"typeParameters\",\"extends\",\"body\"],TSInterfaceHeritage:[\"expression\",\"typeParameters\"],TSIntersectionType:[\"types\"],TSIntrinsicKeyword:[],TSLiteralType:[\"literal\"],TSMappedType:[\"nameType\",\"typeParameter\",\"typeAnnotation\"],TSMethodSignature:[\"typeParameters\",\"key\",\"params\",\"returnType\"],TSModuleBlock:[\"body\"],TSModuleDeclaration:[\"id\",\"body\"],TSNamedTupleMember:[\"label\",\"elementType\"],TSNamespaceExportDeclaration:[\"id\"],TSNeverKeyword:[],TSNonNullExpression:[\"expression\"],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSOptionalType:[\"typeAnnotation\"],TSParameterProperty:[\"decorators\",\"parameter\"],TSPrivateKeyword:[],TSPropertySignature:[\"typeAnnotation\",\"key\",\"initializer\"],TSProtectedKeyword:[],TSPublicKeyword:[],TSQualifiedName:[\"left\",\"right\"],TSReadonlyKeyword:[],TSRestType:[\"typeAnnotation\"],TSSatisfiesExpression:[\"typeAnnotation\",\"expression\"],TSStaticKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSTemplateLiteralType:[\"quasis\",\"types\"],TSThisType:[],TSTupleType:[\"elementTypes\"],TSTypeAliasDeclaration:[\"id\",\"typeParameters\",\"typeAnnotation\"],TSTypeAnnotation:[\"typeAnnotation\"],TSTypeAssertion:ie.TypeAssertion,TSTypeLiteral:[\"members\"],TSTypeOperator:[\"typeAnnotation\"],TSTypeParameter:[\"name\",\"constraint\",\"default\"],TSTypeParameterDeclaration:[\"params\"],TSTypeParameterInstantiation:[\"params\"],TSTypePredicate:[\"typeAnnotation\",\"parameterName\"],TSTypeQuery:[\"exprName\",\"typeParameters\"],TSTypeReference:[\"typeName\",\"typeParameters\"],TSUndefinedKeyword:[],TSUnionType:[\"types\"],TSUnknownKeyword:[],TSVoidKeyword:[]},P=ve.unionWith(V);b.visitorKeys=P}}),Pu=Gn({\"node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint/visitor-keys/dist/index.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0}),b.visitorKeys=b.getKeys=void 0;var v=Mh();Object.defineProperty(b,\"getKeys\",{enumerable:!0,get:function(){return v.getKeys}});var X=Rh();Object.defineProperty(b,\"visitorKeys\",{enumerable:!0,get:function(){return X.visitorKeys}})}}),ho=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0}),b.simpleTraverse=void 0;var v=Pu();function X(V){return V!=null&&typeof V==\"object\"&&typeof V.type==\"string\"}function de(V,P){let he=V[P.type];return he!=null?he:[]}var ve=class{constructor(V){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;this.allVisitorKeys=v.visitorKeys,this.selectors=V,this.setParentPointers=P}traverse(V,P){if(!X(V))return;this.setParentPointers&&(V.parent=P),\"enter\"in this.selectors?this.selectors.enter(V,P):V.type in this.selectors&&this.selectors[V.type](V,P);let he=de(this.allVisitorKeys,V);if(!(he.length<1))for(let N of he){let se=V[N];if(Array.isArray(se))for(let Se of se)this.traverse(Se,V);else this.traverse(se,V)}}};function ie(V,P){let he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;new ve(P,he).traverse(V,void 0)}b.simpleTraverse=ie}}),jo=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0}),b.astConverter=void 0;var v=Sp(),X=ah(),de=fd(),ve=ho();function ie(V,P,he){let{parseDiagnostics:N}=V;if(N.length)throw(0,v.convertError)(N[0]);let se=new v.Converter(V,{errorOnUnknownASTType:P.errorOnUnknownASTType||!1,shouldPreserveNodeMaps:he}),Se=se.convertProgram();(!P.range||!P.loc)&&(0,ve.simpleTraverse)(Se,{enter:Re=>{P.range||delete Re.range,P.loc||delete Re.loc}}),P.tokens&&(Se.tokens=(0,de.convertTokens)(V)),P.comment&&(Se.comments=(0,X.convertComments)(V,P.code));let S=se.getASTMaps();return{estree:Se,astMaps:S}}b.astConverter=ie}}),Sa={};ni(Sa,{basename:()=>v_,default:()=>hy,delimiter:()=>$p,dirname:()=>b_,extname:()=>zg,isAbsolute:()=>Au,join:()=>nu,normalize:()=>Cu,relative:()=>lh,resolve:()=>el,sep:()=>Bh});function va(b,v){for(var X=0,de=b.length-1;de>=0;de--){var ve=b[de];ve===\".\"?b.splice(de,1):ve===\"..\"?(b.splice(de,1),X++):X&&(b.splice(de,1),X--)}if(v)for(;X--;X)b.unshift(\"..\");return b}function el(){for(var b=\"\",v=!1,X=arguments.length-1;X>=-1&&!v;X--){var de=X>=0?arguments[X]:\"/\";if(typeof de!=\"string\")throw new TypeError(\"Arguments to path.resolve must be strings\");!de||(b=de+\"/\"+b,v=de.charAt(0)===\"/\")}return b=va(tg(b.split(\"/\"),function(ve){return!!ve}),!v).join(\"/\"),(v?\"/\":\"\")+b||\".\"}function Cu(b){var v=Au(b),X=py(b,-1)===\"/\";return b=va(tg(b.split(\"/\"),function(de){return!!de}),!v).join(\"/\"),!b&&!v&&(b=\".\"),b&&X&&(b+=\"/\"),(v?\"/\":\"\")+b}function Au(b){return b.charAt(0)===\"/\"}function nu(){var b=Array.prototype.slice.call(arguments,0);return Cu(tg(b,function(v,X){if(typeof v!=\"string\")throw new TypeError(\"Arguments to path.join must be strings\");return v}).join(\"/\"))}function lh(b,v){b=el(b).substr(1),v=el(v).substr(1);function X(N){for(var se=0;se<N.length&&N[se]===\"\";se++);for(var Se=N.length-1;Se>=0&&N[Se]===\"\";Se--);return se>Se?[]:N.slice(se,Se-se+1)}for(var de=X(b.split(\"/\")),ve=X(v.split(\"/\")),ie=Math.min(de.length,ve.length),V=ie,P=0;P<ie;P++)if(de[P]!==ve[P]){V=P;break}for(var he=[],P=V;P<de.length;P++)he.push(\"..\");return he=he.concat(ve.slice(V)),he.join(\"/\")}function b_(b){var v=Rc(b),X=v[0],de=v[1];return!X&&!de?\".\":(de&&(de=de.substr(0,de.length-1)),X+de)}function v_(b,v){var X=Rc(b)[2];return v&&X.substr(-1*v.length)===v&&(X=X.substr(0,X.length-v.length)),X}function zg(b){return Rc(b)[3]}function tg(b,v){if(b.filter)return b.filter(v);for(var X=[],de=0;de<b.length;de++)v(b[de],de,b)&&X.push(b[de]);return X}var Ug,Rc,Bh,$p,hy,py,ng=kr({\"node-modules-polyfills:path\"(){Li(),Ug=/^(\\/?|)([\\s\\S]*?)((?:\\.{1,2}|[^\\/]+?|)(\\.[^.\\/]*|))(?:[\\/]*)$/,Rc=function(b){return Ug.exec(b).slice(1)},Bh=\"/\",$p=\":\",hy={extname:zg,basename:v_,dirname:b_,sep:Bh,delimiter:$p,relative:lh,join:nu,isAbsolute:Au,normalize:Cu,resolve:el},py=\"ab\".substr(-1)===\"b\"?function(b,v,X){return b.substr(v,X)}:function(b,v,X){return v<0&&(v=b.length+v),b.substr(v,X)}}}),C_=Gn({\"node-modules-polyfills-commonjs:path\"(b,v){Li();var X=(ng(),ks(Sa));if(X&&X.default){v.exports=X.default;for(let de in X)v.exports[de]=X[de]}else X&&(v.exports=X)}}),uu=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js\"(b){Li();var v=b&&b.__createBinding||(Object.create?function(vn,Ut,In,Vi){Vi===void 0&&(Vi=In);var ct=Object.getOwnPropertyDescriptor(Ut,In);(!ct||(\"get\"in ct?!Ut.__esModule:ct.writable||ct.configurable))&&(ct={enumerable:!0,get:function(){return Ut[In]}}),Object.defineProperty(vn,Vi,ct)}:function(vn,Ut,In,Vi){Vi===void 0&&(Vi=In),vn[Vi]=Ut[In]}),X=b&&b.__setModuleDefault||(Object.create?function(vn,Ut){Object.defineProperty(vn,\"default\",{enumerable:!0,value:Ut})}:function(vn,Ut){vn.default=Ut}),de=b&&b.__importStar||function(vn){if(vn&&vn.__esModule)return vn;var Ut={};if(vn!=null)for(var In in vn)In!==\"default\"&&Object.prototype.hasOwnProperty.call(vn,In)&&v(Ut,vn,In);return X(Ut,vn),Ut},ve=b&&b.__importDefault||function(vn){return vn&&vn.__esModule?vn:{default:vn}};Object.defineProperty(b,\"__esModule\",{value:!0}),b.getModuleResolver=b.getAstFromProgram=b.getCanonicalFileName=b.ensureAbsolutePath=b.createHash=b.createDefaultCompilerOptionsFromExtra=b.canonicalDirname=b.CORE_COMPILER_OPTIONS=void 0;var ie=ve(C_()),V=de(gl()),P={noEmit:!0,noUnusedLocals:!0,noUnusedParameters:!0};b.CORE_COMPILER_OPTIONS=P;var he=Object.assign(Object.assign({},P),{allowNonTsExtensions:!0,allowJs:!0,checkJs:!0});function N(vn){return vn.debugLevel.has(\"typescript\")?Object.assign(Object.assign({},he),{extendedDiagnostics:!0}):he}b.createDefaultCompilerOptionsFromExtra=N;var se=V.sys!==void 0?V.sys.useCaseSensitiveFileNames:!0,Se=se?vn=>vn:vn=>vn.toLowerCase();function S(vn){let Ut=ie.default.normalize(vn);return Ut.endsWith(ie.default.sep)&&(Ut=Ut.slice(0,-1)),Se(Ut)}b.getCanonicalFileName=S;function Re(vn,Ut){return ie.default.isAbsolute(vn)?vn:ie.default.join(Ut||\"/prettier-security-dirname-placeholder\",vn)}b.ensureAbsolutePath=Re;function dt(vn){return ie.default.dirname(vn)}b.canonicalDirname=dt;var _n=[V.Extension.Dts,V.Extension.Dcts,V.Extension.Dmts];function Qt(vn){var Ut;return vn?(Ut=_n.find(In=>vn.endsWith(In)))!==null&&Ut!==void 0?Ut:ie.default.extname(vn):null}function Mn(vn,Ut){let In=vn.getSourceFile(Ut.filePath),Vi=Qt(Ut.filePath),ct=Qt(In==null?void 0:In.fileName);if(Vi===ct)return In&&{ast:In,program:vn}}b.getAstFromProgram=Mn;function Bi(vn){let Ut;try{throw new Error(\"Dynamic require is not supported\")}catch{let In=[\"Could not find the provided parserOptions.moduleResolver.\",\"Hint: use an absolute path if you are not in control over where the ESLint instance runs.\"];throw new Error(In.join(`\n`))}return Ut}b.getModuleResolver=Bi;function yn(vn){var Ut;return!((Ut=V.sys)===null||Ut===void 0)&&Ut.createHash?V.sys.createHash(vn):vn}b.createHash=yn}}),Kg=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js\"(b){Li();var v=b&&b.__createBinding||(Object.create?function(Se,S,Re,dt){dt===void 0&&(dt=Re);var _n=Object.getOwnPropertyDescriptor(S,Re);(!_n||(\"get\"in _n?!S.__esModule:_n.writable||_n.configurable))&&(_n={enumerable:!0,get:function(){return S[Re]}}),Object.defineProperty(Se,dt,_n)}:function(Se,S,Re,dt){dt===void 0&&(dt=Re),Se[dt]=S[Re]}),X=b&&b.__setModuleDefault||(Object.create?function(Se,S){Object.defineProperty(Se,\"default\",{enumerable:!0,value:S})}:function(Se,S){Se.default=S}),de=b&&b.__importStar||function(Se){if(Se&&Se.__esModule)return Se;var S={};if(Se!=null)for(var Re in Se)Re!==\"default\"&&Object.prototype.hasOwnProperty.call(Se,Re)&&v(S,Se,Re);return X(S,Se),S},ve=b&&b.__importDefault||function(Se){return Se&&Se.__esModule?Se:{default:Se}};Object.defineProperty(b,\"__esModule\",{value:!0}),b.createDefaultProgram=void 0;var ie=ve(oh()),V=ve(C_()),P=de(gl()),he=uu(),N=(0,ie.default)(\"typescript-eslint:typescript-estree:createDefaultProgram\");function se(Se){var S;if(N(\"Getting default program for: %s\",Se.filePath||\"unnamed file\"),((S=Se.projects)===null||S===void 0?void 0:S.length)!==1)return;let Re=Se.projects[0],dt=P.getParsedCommandLineOfConfigFile(Re,(0,he.createDefaultCompilerOptionsFromExtra)(Se),Object.assign(Object.assign({},P.sys),{onUnRecoverableConfigFileDiagnostic:()=>{}}));if(!dt)return;let _n=P.createCompilerHost(dt.options,!0);Se.moduleResolver&&(_n.resolveModuleNames=(0,he.getModuleResolver)(Se.moduleResolver).resolveModuleNames);let Qt=_n.readFile;_n.readFile=yn=>V.default.normalize(yn)===V.default.normalize(Se.filePath)?Se.code:Qt(yn);let Mn=P.createProgram([Se.filePath],dt.options,_n),Bi=Mn.getSourceFile(Se.filePath);return Bi&&{ast:Bi,program:Mn}}b.createDefaultProgram=se}}),fy=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js\"(b){Li();var v=b&&b.__createBinding||(Object.create?function(N,se,Se,S){S===void 0&&(S=Se);var Re=Object.getOwnPropertyDescriptor(se,Se);(!Re||(\"get\"in Re?!se.__esModule:Re.writable||Re.configurable))&&(Re={enumerable:!0,get:function(){return se[Se]}}),Object.defineProperty(N,S,Re)}:function(N,se,Se,S){S===void 0&&(S=Se),N[S]=se[Se]}),X=b&&b.__setModuleDefault||(Object.create?function(N,se){Object.defineProperty(N,\"default\",{enumerable:!0,value:se})}:function(N,se){N.default=se}),de=b&&b.__importStar||function(N){if(N&&N.__esModule)return N;var se={};if(N!=null)for(var Se in N)Se!==\"default\"&&Object.prototype.hasOwnProperty.call(N,Se)&&v(se,N,Se);return X(se,N),se},ve=b&&b.__importDefault||function(N){return N&&N.__esModule?N:{default:N}};Object.defineProperty(b,\"__esModule\",{value:!0}),b.getLanguageVariant=b.getScriptKind=void 0;var ie=ve(C_()),V=de(gl());function P(N,se){switch(ie.default.extname(N).toLowerCase()){case V.Extension.Js:case V.Extension.Cjs:case V.Extension.Mjs:return V.ScriptKind.JS;case V.Extension.Jsx:return V.ScriptKind.JSX;case V.Extension.Ts:case V.Extension.Cts:case V.Extension.Mts:return V.ScriptKind.TS;case V.Extension.Tsx:return V.ScriptKind.TSX;case V.Extension.Json:return V.ScriptKind.JSON;default:return se?V.ScriptKind.TSX:V.ScriptKind.TS}}b.getScriptKind=P;function he(N){switch(N){case V.ScriptKind.TSX:case V.ScriptKind.JSX:case V.ScriptKind.JS:case V.ScriptKind.JSON:return V.LanguageVariant.JSX;default:return V.LanguageVariant.Standard}}b.getLanguageVariant=he}}),_y=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js\"(b){Li();var v=b&&b.__createBinding||(Object.create?function(Se,S,Re,dt){dt===void 0&&(dt=Re);var _n=Object.getOwnPropertyDescriptor(S,Re);(!_n||(\"get\"in _n?!S.__esModule:_n.writable||_n.configurable))&&(_n={enumerable:!0,get:function(){return S[Re]}}),Object.defineProperty(Se,dt,_n)}:function(Se,S,Re,dt){dt===void 0&&(dt=Re),Se[dt]=S[Re]}),X=b&&b.__setModuleDefault||(Object.create?function(Se,S){Object.defineProperty(Se,\"default\",{enumerable:!0,value:S})}:function(Se,S){Se.default=S}),de=b&&b.__importStar||function(Se){if(Se&&Se.__esModule)return Se;var S={};if(Se!=null)for(var Re in Se)Re!==\"default\"&&Object.prototype.hasOwnProperty.call(Se,Re)&&v(S,Se,Re);return X(S,Se),S},ve=b&&b.__importDefault||function(Se){return Se&&Se.__esModule?Se:{default:Se}};Object.defineProperty(b,\"__esModule\",{value:!0}),b.createIsolatedProgram=void 0;var ie=ve(oh()),V=de(gl()),P=fy(),he=uu(),N=(0,ie.default)(\"typescript-eslint:typescript-estree:createIsolatedProgram\");function se(Se){N(\"Getting isolated program in %s mode for: %s\",Se.jsx?\"TSX\":\"TS\",Se.filePath);let S={fileExists(){return!0},getCanonicalFileName(){return Se.filePath},getCurrentDirectory(){return\"\"},getDirectories(){return[]},getDefaultLibFileName(){return\"lib.d.ts\"},getNewLine(){return`\n`},getSourceFile(_n){return V.createSourceFile(_n,Se.code,V.ScriptTarget.Latest,!0,(0,P.getScriptKind)(Se.filePath,Se.jsx))},readFile(){},useCaseSensitiveFileNames(){return!0},writeFile(){return null}},Re=V.createProgram([Se.filePath],Object.assign({noResolve:!0,target:V.ScriptTarget.Latest,jsx:Se.jsx?V.JsxEmit.Preserve:void 0},(0,he.createDefaultCompilerOptionsFromExtra)(Se)),S),dt=Re.getSourceFile(Se.filePath);if(!dt)throw new Error(\"Expected an ast to be returned for the single-file isolated program.\");return{ast:dt,program:Re}}b.createIsolatedProgram=se}}),Ib=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js\"(b){Li();var v=b&&b.__importDefault||function(ve){return ve&&ve.__esModule?ve:{default:ve}};Object.defineProperty(b,\"__esModule\",{value:!0}),b.describeFilePath=void 0;var X=v(C_());function de(ve,ie){let V=X.default.relative(ie,ve);return V&&!V.startsWith(\"..\")&&!X.default.isAbsolute(V)?`<tsconfigRootDir>/${V}`:/^[(\\w+:)\\\\/~]/.test(ve)||/\\.\\.[/\\\\]\\.\\./.test(V)?ve:`<tsconfigRootDir>/${V}`}b.describeFilePath=de}}),Fb={};ni(Fb,{default:()=>Pb});var Pb,Ob=kr({\"node-modules-polyfills:fs\"(){Li(),Pb={}}}),Nm=Gn({\"node-modules-polyfills-commonjs:fs\"(b,v){Li();var X=(Ob(),ks(Fb));if(X&&X.default){v.exports=X.default;for(let de in X)v.exports[de]=X[de]}else X&&(v.exports=X)}}),ig=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js\"(b){Li();var v=b&&b.__createBinding||(Object.create?function(xr,Bs,Mi,ms){ms===void 0&&(ms=Mi);var Ks=Object.getOwnPropertyDescriptor(Bs,Mi);(!Ks||(\"get\"in Ks?!Bs.__esModule:Ks.writable||Ks.configurable))&&(Ks={enumerable:!0,get:function(){return Bs[Mi]}}),Object.defineProperty(xr,ms,Ks)}:function(xr,Bs,Mi,ms){ms===void 0&&(ms=Mi),xr[ms]=Bs[Mi]}),X=b&&b.__setModuleDefault||(Object.create?function(xr,Bs){Object.defineProperty(xr,\"default\",{enumerable:!0,value:Bs})}:function(xr,Bs){xr.default=Bs}),de=b&&b.__importStar||function(xr){if(xr&&xr.__esModule)return xr;var Bs={};if(xr!=null)for(var Mi in xr)Mi!==\"default\"&&Object.prototype.hasOwnProperty.call(xr,Mi)&&v(Bs,xr,Mi);return X(Bs,xr),Bs},ve=b&&b.__importDefault||function(xr){return xr&&xr.__esModule?xr:{default:xr}};Object.defineProperty(b,\"__esModule\",{value:!0}),b.getWatchProgramsForProjects=b.clearWatchCaches=void 0;var ie=ve(oh()),V=ve(Nm()),P=ve(Tu()),he=de(gl()),N=uu(),se=(0,ie.default)(\"typescript-eslint:typescript-estree:createWatchProgram\"),Se=new Map,S=new Map,Re=new Map,dt=new Map,_n=new Map,Qt=new Map;function Mn(){Se.clear(),S.clear(),Re.clear(),Qt.clear(),dt.clear(),_n.clear()}b.clearWatchCaches=Mn;function Bi(xr){return(Bs,Mi)=>{let ms=(0,N.getCanonicalFileName)(Bs),Ks=(()=>{let is=xr.get(ms);return is||(is=new Set,xr.set(ms,is)),is})();return Ks.add(Mi),{close:()=>{Ks.delete(Mi)}}}}var yn={code:\"\",filePath:\"\"};function vn(xr){throw new Error(he.flattenDiagnosticMessageText(xr.messageText,he.sys.newLine))}function Ut(xr,Bs,Mi){let ms=Mi.EXPERIMENTAL_useSourceOfProjectReferenceRedirect?new Set(Bs.getSourceFiles().map(Ks=>(0,N.getCanonicalFileName)(Ks.fileName))):new Set(Bs.getRootFileNames().map(Ks=>(0,N.getCanonicalFileName)(Ks)));return dt.set(xr,ms),ms}function In(xr){let Bs=(0,N.getCanonicalFileName)(xr.filePath),Mi=[];yn.code=xr.code,yn.filePath=Bs;let ms=S.get(Bs),Ks=(0,N.createHash)(xr.code);Qt.get(Bs)!==Ks&&ms&&ms.size>0&&ms.forEach(Ms=>Ms(Bs,he.FileWatcherEventKind.Changed));let is=new Set(xr.projects);for(let[Ms,to]of Se.entries()){if(!is.has(Ms))continue;let Lo=dt.get(Ms),ji=null;if(Lo||(ji=to.getProgram().getProgram(),Lo=Ut(Ms,ji,xr)),Lo.has(Bs))return se(\"Found existing program for file. %s\",Bs),ji=ji!=null?ji:to.getProgram().getProgram(),ji.getTypeChecker(),[ji]}se(\"File did not belong to any existing programs, moving to create/update. %s\",Bs);for(let Ms of xr.projects){let to=Se.get(Ms);if(to){let jr=qr(to,Bs,Ms);if(!jr)continue;if(jr.getTypeChecker(),Ut(Ms,jr,xr).has(Bs))return se(\"Found updated program for file. %s\",Bs),[jr];Mi.push(jr);continue}let Lo=ct(Ms,xr);Se.set(Ms,Lo);let ji=Lo.getProgram().getProgram();if(ji.getTypeChecker(),Ut(Ms,ji,xr).has(Bs))return se(\"Found program for file. %s\",Bs),[ji];Mi.push(ji)}return Mi}b.getWatchProgramsForProjects=In;var Vi=P.default.satisfies(he.version,\">=3.9.0-beta\",{includePrerelease:!0});function ct(xr,Bs){se(\"Creating watch program for %s.\",xr);let Mi=he.createWatchCompilerHost(xr,(0,N.createDefaultCompilerOptionsFromExtra)(Bs),he.sys,he.createAbstractBuilder,vn,()=>{});Bs.moduleResolver&&(Mi.resolveModuleNames=(0,N.getModuleResolver)(Bs.moduleResolver).resolveModuleNames);let ms=Mi.readFile;Mi.readFile=(to,Lo)=>{let ji=(0,N.getCanonicalFileName)(to),jr=ji===yn.filePath?yn.code:ms(ji,Lo);return jr!==void 0&&Qt.set(ji,(0,N.createHash)(jr)),jr},Mi.onUnRecoverableConfigFileDiagnostic=vn,Mi.afterProgramCreate=to=>{let Lo=to.getConfigFileParsingDiagnostics().filter(ji=>ji.category===he.DiagnosticCategory.Error&&ji.code!==18003);Lo.length>0&&vn(Lo[0])},Mi.watchFile=Bi(S),Mi.watchDirectory=Bi(Re);let Ks=Mi.onCachedDirectoryStructureHostCreate;Mi.onCachedDirectoryStructureHostCreate=to=>{let Lo=to.readDirectory;to.readDirectory=(ji,jr,ss,Jo,da)=>Lo(ji,jr?jr.concat(Bs.extraFileExtensions):void 0,ss,Jo,da),Ks(to)},Mi.extraFileExtensions=Bs.extraFileExtensions.map(to=>({extension:to,isMixedContent:!0,scriptKind:he.ScriptKind.Deferred})),Mi.trace=se,Mi.useSourceOfProjectReferenceRedirect=()=>Bs.EXPERIMENTAL_useSourceOfProjectReferenceRedirect;let is;Vi?(Mi.setTimeout=void 0,Mi.clearTimeout=void 0):(se(\"Running without timeout fix\"),Mi.setTimeout=function(to,Lo){for(var ji=arguments.length,jr=new Array(ji>2?ji-2:0),ss=2;ss<ji;ss++)jr[ss-2]=arguments[ss];return is=to.bind(void 0,...jr),is},Mi.clearTimeout=()=>{is=void 0});let Ms=he.createWatchProgram(Mi);if(!Vi){let to=Ms.getProgram;Ms.getProgram=()=>(is&&is(),is=void 0,to.call(Ms))}return Ms}function xi(xr){let Bs=V.default.statSync(xr).mtimeMs,Mi=_n.get(xr);return _n.set(xr,Bs),Mi===void 0?!1:Math.abs(Mi-Bs)>Number.EPSILON}function qr(xr,Bs,Mi){let ms=xr.getProgram().getProgram();if(Us.env.TSESTREE_NO_INVALIDATION===\"true\")return ms;xi(Mi)&&(se(\"tsconfig has changed - triggering program update. %s\",Mi),S.get(Mi).forEach(ss=>ss(Mi,he.FileWatcherEventKind.Changed)),dt.delete(Mi));let Ks=ms.getSourceFile(Bs);if(Ks)return ms;se(\"File was not found in program - triggering folder update. %s\",Bs);let is=(0,N.canonicalDirname)(Bs),Ms=null,to=is,Lo=!1;for(;Ms!==to;){Ms=to;let ss=Re.get(Ms);ss&&(ss.forEach(Jo=>{is!==Ms&&Jo(is,he.FileWatcherEventKind.Changed),Jo(Ms,he.FileWatcherEventKind.Changed)}),Lo=!0),to=(0,N.canonicalDirname)(Ms)}if(!Lo)return se(\"No callback found for file, not part of this program. %s\",Bs),null;if(dt.delete(Mi),ms=xr.getProgram().getProgram(),Ks=ms.getSourceFile(Bs),Ks)return ms;se(\"File was still not found in program after directory update - checking file deletions. %s\",Bs);let ji=ms.getRootFileNames().find(ss=>!V.default.existsSync(ss));if(!ji)return null;let jr=S.get((0,N.getCanonicalFileName)(ji));return jr?(se(\"Marking file as deleted. %s\",ji),jr.forEach(ss=>ss(ji,he.FileWatcherEventKind.Deleted)),dt.delete(Mi),ms=xr.getProgram().getProgram(),Ks=ms.getSourceFile(Bs),Ks?ms:(se(\"File was still not found in program after deletion check, assuming it is not part of this program. %s\",Bs),null)):(se(\"Could not find watch callbacks for root file. %s\",ji),ms)}}}),Im=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js\"(b){Li();var v=b&&b.__createBinding||(Object.create?function(_n,Qt,Mn,Bi){Bi===void 0&&(Bi=Mn);var yn=Object.getOwnPropertyDescriptor(Qt,Mn);(!yn||(\"get\"in yn?!Qt.__esModule:yn.writable||yn.configurable))&&(yn={enumerable:!0,get:function(){return Qt[Mn]}}),Object.defineProperty(_n,Bi,yn)}:function(_n,Qt,Mn,Bi){Bi===void 0&&(Bi=Mn),_n[Bi]=Qt[Mn]}),X=b&&b.__setModuleDefault||(Object.create?function(_n,Qt){Object.defineProperty(_n,\"default\",{enumerable:!0,value:Qt})}:function(_n,Qt){_n.default=Qt}),de=b&&b.__importStar||function(_n){if(_n&&_n.__esModule)return _n;var Qt={};if(_n!=null)for(var Mn in _n)Mn!==\"default\"&&Object.prototype.hasOwnProperty.call(_n,Mn)&&v(Qt,_n,Mn);return X(Qt,_n),Qt},ve=b&&b.__importDefault||function(_n){return _n&&_n.__esModule?_n:{default:_n}};Object.defineProperty(b,\"__esModule\",{value:!0}),b.createProjectProgram=void 0;var ie=ve(oh()),V=ve(C_()),P=de(gl()),he=fd(),N=Ib(),se=ig(),Se=uu(),S=(0,ie.default)(\"typescript-eslint:typescript-estree:createProjectProgram\"),Re=[P.Extension.Ts,P.Extension.Tsx,P.Extension.Js,P.Extension.Jsx,P.Extension.Mjs,P.Extension.Mts,P.Extension.Cjs,P.Extension.Cts];function dt(_n){S(\"Creating project program for: %s\",_n.filePath);let Qt=(0,se.getWatchProgramsForProjects)(_n),Mn=(0,he.firstDefined)(Qt,qr=>(0,Se.getAstFromProgram)(qr,_n));if(Mn||_n.createDefaultProgram)return Mn;let Bi=qr=>(0,N.describeFilePath)(qr,_n.tsconfigRootDir),yn=(0,N.describeFilePath)(_n.filePath,_n.tsconfigRootDir),vn=_n.projects.map(Bi),Ut=vn.length===1?vn[0]:`\n${vn.map(qr=>`- ${qr}`).join(`\n`)}`,In=[`ESLint was configured to run on \\`${yn}\\` using \\`parserOptions.project\\`: ${Ut}`],Vi=!1,ct=_n.extraFileExtensions||[];ct.forEach(qr=>{qr.startsWith(\".\")||In.push(`Found unexpected extension \\`${qr}\\` specified with the \\`parserOptions.extraFileExtensions\\` option. Did you mean \\`.${qr}\\`?`),Re.includes(qr)&&In.push(`You unnecessarily included the extension \\`${qr}\\` with the \\`parserOptions.extraFileExtensions\\` option. This extension is already handled by the parser by default.`)});let xi=V.default.extname(_n.filePath);if(!Re.includes(xi)){let qr=`The extension for the file (\\`${xi}\\`) is non-standard`;ct.length>0?ct.includes(xi)||(In.push(`${qr}. It should be added to your existing \\`parserOptions.extraFileExtensions\\`.`),Vi=!0):(In.push(`${qr}. You should add \\`parserOptions.extraFileExtensions\\` to your config.`),Vi=!0)}if(!Vi){let[qr,xr]=_n.projects.length===1?[\"that TSConfig does not\",\"that TSConfig\"]:[\"none of those TSConfigs\",\"one of those TSConfigs\"];In.push(`However, ${qr} include this file. Either:`,\"- Change ESLint's list of included files to not include this file\",`- Change ${xr} to include this file`,\"- Create a new TSConfig that includes this file and include it in your parserOptions.project\",\"See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file\")}throw new Error(In.join(`\n`))}b.createProjectProgram=dt}}),Fm=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js\"(b){Li();var v=b&&b.__createBinding||(Object.create?function(se,Se,S,Re){Re===void 0&&(Re=S);var dt=Object.getOwnPropertyDescriptor(Se,S);(!dt||(\"get\"in dt?!Se.__esModule:dt.writable||dt.configurable))&&(dt={enumerable:!0,get:function(){return Se[S]}}),Object.defineProperty(se,Re,dt)}:function(se,Se,S,Re){Re===void 0&&(Re=S),se[Re]=Se[S]}),X=b&&b.__setModuleDefault||(Object.create?function(se,Se){Object.defineProperty(se,\"default\",{enumerable:!0,value:Se})}:function(se,Se){se.default=Se}),de=b&&b.__importStar||function(se){if(se&&se.__esModule)return se;var Se={};if(se!=null)for(var S in se)S!==\"default\"&&Object.prototype.hasOwnProperty.call(se,S)&&v(Se,se,S);return X(Se,se),Se},ve=b&&b.__importDefault||function(se){return se&&se.__esModule?se:{default:se}};Object.defineProperty(b,\"__esModule\",{value:!0}),b.createSourceFile=void 0;var ie=ve(oh()),V=de(gl()),P=fy(),he=(0,ie.default)(\"typescript-eslint:typescript-estree:createSourceFile\");function N(se){return he(\"Getting AST without type information in %s mode for: %s\",se.jsx?\"TSX\":\"TS\",se.filePath),V.createSourceFile(se.filePath,se.code,V.ScriptTarget.Latest,!0,(0,P.getScriptKind)(se.filePath,se.jsx))}b.createSourceFile=N}}),Pm=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js\"(b){Li();var v=b&&b.__createBinding||(Object.create?function(dt,_n,Qt,Mn){Mn===void 0&&(Mn=Qt);var Bi=Object.getOwnPropertyDescriptor(_n,Qt);(!Bi||(\"get\"in Bi?!_n.__esModule:Bi.writable||Bi.configurable))&&(Bi={enumerable:!0,get:function(){return _n[Qt]}}),Object.defineProperty(dt,Mn,Bi)}:function(dt,_n,Qt,Mn){Mn===void 0&&(Mn=Qt),dt[Mn]=_n[Qt]}),X=b&&b.__setModuleDefault||(Object.create?function(dt,_n){Object.defineProperty(dt,\"default\",{enumerable:!0,value:_n})}:function(dt,_n){dt.default=_n}),de=b&&b.__importStar||function(dt){if(dt&&dt.__esModule)return dt;var _n={};if(dt!=null)for(var Qt in dt)Qt!==\"default\"&&Object.prototype.hasOwnProperty.call(dt,Qt)&&v(_n,dt,Qt);return X(_n,dt),_n},ve=b&&b.__importDefault||function(dt){return dt&&dt.__esModule?dt:{default:dt}};Object.defineProperty(b,\"__esModule\",{value:!0}),b.createProgramFromConfigFile=b.useProvidedPrograms=void 0;var ie=ve(oh()),V=de(Nm()),P=de(C_()),he=de(gl()),N=uu(),se=(0,ie.default)(\"typescript-eslint:typescript-estree:useProvidedProgram\");function Se(dt,_n){se(\"Retrieving ast for %s from provided program instance(s)\",_n.filePath);let Qt;for(let Mn of dt)if(Qt=(0,N.getAstFromProgram)(Mn,_n),Qt)break;if(!Qt){let Mn=['\"parserOptions.programs\" has been provided for @typescript-eslint/parser.',`The file was not found in any of the provided program instance(s): ${P.relative(_n.tsconfigRootDir||\"/prettier-security-dirname-placeholder\",_n.filePath)}`];throw new Error(Mn.join(`\n`))}return Qt.program.getTypeChecker(),Qt}b.useProvidedPrograms=Se;function S(dt,_n){if(he.sys===void 0)throw new Error(\"`createProgramFromConfigFile` is only supported in a Node-like environment.\");let Qt=he.getParsedCommandLineOfConfigFile(dt,N.CORE_COMPILER_OPTIONS,{onUnRecoverableConfigFileDiagnostic:Bi=>{throw new Error(Re([Bi]))},fileExists:V.existsSync,getCurrentDirectory:()=>_n&&P.resolve(_n)||\"/prettier-security-dirname-placeholder\",readDirectory:he.sys.readDirectory,readFile:Bi=>V.readFileSync(Bi,\"utf-8\"),useCaseSensitiveFileNames:he.sys.useCaseSensitiveFileNames});if(Qt.errors.length)throw new Error(Re(Qt.errors));let Mn=he.createCompilerHost(Qt.options,!0);return he.createProgram(Qt.fileNames,Qt.options,Mn)}b.createProgramFromConfigFile=S;function Re(dt){return he.formatDiagnostics(dt,{getCanonicalFileName:_n=>_n,getCurrentDirectory:Us.cwd,getNewLine:()=>`\n`})}}}),A0=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.js\"(b){Li();var v=b&&b.__classPrivateFieldSet||function(P,he,N,se,Se){if(se===\"m\")throw new TypeError(\"Private method is not writable\");if(se===\"a\"&&!Se)throw new TypeError(\"Private accessor was defined without a setter\");if(typeof he==\"function\"?P!==he||!Se:!he.has(P))throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");return se===\"a\"?Se.call(P,N):Se?Se.value=N:he.set(P,N),N},X=b&&b.__classPrivateFieldGet||function(P,he,N,se){if(N===\"a\"&&!se)throw new TypeError(\"Private accessor was defined without a getter\");if(typeof he==\"function\"?P!==he||!se:!he.has(P))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return N===\"m\"?se:N===\"a\"?se.call(P):se?se.value:he.get(P)},de,ve;Object.defineProperty(b,\"__esModule\",{value:!0}),b.ExpiringCache=b.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS=void 0,b.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS=30;var ie=[0,0],V=class{constructor(P){de.set(this,void 0),ve.set(this,new Map),v(this,de,P,\"f\")}set(P,he){return X(this,ve,\"f\").set(P,{value:he,lastSeen:X(this,de,\"f\")===\"Infinity\"?ie:Us.hrtime()}),this}get(P){let he=X(this,ve,\"f\").get(P);if((he==null?void 0:he.value)!=null){if(X(this,de,\"f\")===\"Infinity\"||Us.hrtime(he.lastSeen)[0]<X(this,de,\"f\"))return he.value;X(this,ve,\"f\").delete(P)}}clear(){X(this,ve,\"f\").clear()}};b.ExpiringCache=V,de=new WeakMap,ve=new WeakMap}}),di=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js\"(b){Li();var v=b&&b.__createBinding||(Object.create?function(se,Se,S,Re){Re===void 0&&(Re=S);var dt=Object.getOwnPropertyDescriptor(Se,S);(!dt||(\"get\"in dt?!Se.__esModule:dt.writable||dt.configurable))&&(dt={enumerable:!0,get:function(){return Se[S]}}),Object.defineProperty(se,Re,dt)}:function(se,Se,S,Re){Re===void 0&&(Re=S),se[Re]=Se[S]}),X=b&&b.__setModuleDefault||(Object.create?function(se,Se){Object.defineProperty(se,\"default\",{enumerable:!0,value:Se})}:function(se,Se){se.default=Se}),de=b&&b.__importStar||function(se){if(se&&se.__esModule)return se;var Se={};if(se!=null)for(var S in se)S!==\"default\"&&Object.prototype.hasOwnProperty.call(se,S)&&v(Se,se,S);return X(Se,se),Se},ve=b&&b.__importDefault||function(se){return se&&se.__esModule?se:{default:se}};Object.defineProperty(b,\"__esModule\",{value:!0}),b.getProjectConfigFiles=void 0;var ie=ve(oh()),V=de(Nm()),P=de(C_()),he=(0,ie.default)(\"typescript-eslint:typescript-estree:getProjectConfigFiles\");function N(se,Se){var S;if(Se!==!0)return Se===void 0||Array.isArray(Se)?Se:[Se];he(\"Looking for tsconfig.json at or above file: %s\",se.filePath);let Re=P.dirname(se.filePath),dt=[Re];do{he(\"Checking tsconfig.json path: %s\",Re);let _n=P.join(Re,\"tsconfig.json\"),Qt=(S=se.tsconfigMatchCache.get(Re))!==null&&S!==void 0?S:V.existsSync(_n)&&_n;if(Qt){for(let Mn of dt)se.tsconfigMatchCache.set(Mn,Qt);return[Qt]}Re=P.dirname(Re),dt.push(Re)}while(Re.length>1&&Re.length>=se.tsconfigRootDir.length);throw new Error(`project was set to \\`true\\` but couldn't find any tsconfig.json relative to '${se.filePath}' within '${se.tsconfigRootDir}'.`)}b.getProjectConfigFiles=N}}),En=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0}),b.inferSingleRun=void 0;var v=C_();function X(de){return(de==null?void 0:de.project)==null||(de==null?void 0:de.programs)!=null||Us.env.TSESTREE_SINGLE_RUN===\"false\"?!1:!!(Us.env.TSESTREE_SINGLE_RUN===\"true\"||de!=null&&de.allowAutomaticSingleRunInference&&(Us.env.CI===\"true\"||Us.argv[1].endsWith((0,v.normalize)(\"node_modules/.bin/eslint\"))))}b.inferSingleRun=X}}),Ot=Gn({\"node_modules/is-extglob/index.js\"(b,v){Li(),v.exports=function(X){if(typeof X!=\"string\"||X===\"\")return!1;for(var de;de=/(\\\\).|([@?!+*]\\(.*\\))/g.exec(X);){if(de[2])return!0;X=X.slice(de.index+de[0].length)}return!1}}}),Wt=Gn({\"node_modules/is-glob/index.js\"(b,v){Li();var X=Ot(),de={\"{\":\"}\",\"(\":\")\",\"[\":\"]\"},ve=function(V){if(V[0]===\"!\")return!0;for(var P=0,he=-2,N=-2,se=-2,Se=-2,S=-2;P<V.length;){if(V[P]===\"*\"||V[P+1]===\"?\"&&/[\\].+)]/.test(V[P])||N!==-1&&V[P]===\"[\"&&V[P+1]!==\"]\"&&(N<P&&(N=V.indexOf(\"]\",P)),N>P&&(S===-1||S>N||(S=V.indexOf(\"\\\\\",P),S===-1||S>N)))||se!==-1&&V[P]===\"{\"&&V[P+1]!==\"}\"&&(se=V.indexOf(\"}\",P),se>P&&(S=V.indexOf(\"\\\\\",P),S===-1||S>se))||Se!==-1&&V[P]===\"(\"&&V[P+1]===\"?\"&&/[:!=]/.test(V[P+2])&&V[P+3]!==\")\"&&(Se=V.indexOf(\")\",P),Se>P&&(S=V.indexOf(\"\\\\\",P),S===-1||S>Se))||he!==-1&&V[P]===\"(\"&&V[P+1]!==\"|\"&&(he<P&&(he=V.indexOf(\"|\",P)),he!==-1&&V[he+1]!==\")\"&&(Se=V.indexOf(\")\",he),Se>he&&(S=V.indexOf(\"\\\\\",he),S===-1||S>Se))))return!0;if(V[P]===\"\\\\\"){var Re=V[P+1];P+=2;var dt=de[Re];if(dt){var _n=V.indexOf(dt,P);_n!==-1&&(P=_n+1)}if(V[P]===\"!\")return!0}else P++}return!1},ie=function(V){if(V[0]===\"!\")return!0;for(var P=0;P<V.length;){if(/[*?{}()[\\]]/.test(V[P]))return!0;if(V[P]===\"\\\\\"){var he=V[P+1];P+=2;var N=de[he];if(N){var se=V.indexOf(N,P);se!==-1&&(P=se+1)}if(V[P]===\"!\")return!0}else P++}return!1};v.exports=function(V,P){if(typeof V!=\"string\"||V===\"\")return!1;if(X(V))return!0;var he=ve;return P&&P.strict===!1&&(he=ie),he(V)}}}),Vt=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js\"(b){Li();var v=b&&b.__importDefault||function(Re){return Re&&Re.__esModule?Re:{default:Re}};Object.defineProperty(b,\"__esModule\",{value:!0}),b.clearGlobResolutionCache=b.resolveProjectList=b.clearGlobCache=void 0;var X=v(oh()),de={},ve=v(Wt()),ie=uu(),V=A0(),P=(0,X.default)(\"typescript-eslint:typescript-estree:parser:parseSettings:resolveProjectList\"),he=null;function N(){he==null||he.clear()}b.clearGlobCache=N;function se(Re){var dt,_n,Qt;let Mn=[];if(typeof Re.project==\"string\")Mn.push(Re.project);else if(Array.isArray(Re.project))for(let ct of Re.project)typeof ct==\"string\"&&Mn.push(ct);if(Mn.length===0)return[];let Bi=((dt=Re.projectFolderIgnoreList)!==null&&dt!==void 0?dt:[\"**/node_modules/**\"]).reduce((ct,xi)=>(typeof xi==\"string\"&&ct.push(xi),ct),[]).map(ct=>ct.startsWith(\"!\")?ct:`!${ct}`),yn=Se({project:Mn,projectFolderIgnoreList:Bi,tsconfigRootDir:Re.tsconfigRootDir});if(he==null)he=new V.ExpiringCache(Re.singleRun?\"Infinity\":(Qt=(_n=Re.cacheLifetime)===null||_n===void 0?void 0:_n.glob)!==null&&Qt!==void 0?Qt:V.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS);else{let ct=he.get(yn);if(ct)return ct}let vn=Mn.filter(ct=>!(0,ve.default)(ct)),Ut=Mn.filter(ct=>(0,ve.default)(ct)),In=new Set(vn.concat(Ut.length===0?[]:(0,de.sync)([...Ut,...Bi],{cwd:Re.tsconfigRootDir})).map(ct=>(0,ie.getCanonicalFileName)((0,ie.ensureAbsolutePath)(ct,Re.tsconfigRootDir))));P(\"parserOptions.project (excluding ignored) matched projects: %s\",In);let Vi=Array.from(In);return he.set(yn,Vi),Vi}b.resolveProjectList=se;function Se(Re){let{project:dt,projectFolderIgnoreList:_n,tsconfigRootDir:Qt}=Re,Mn={tsconfigRootDir:Qt,project:dt,projectFolderIgnoreList:[..._n].sort()};return(0,ie.createHash)(JSON.stringify(Mn))}function S(){he==null||he.clear(),he=null}b.clearGlobResolutionCache=S}}),yt=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js\"(b){Li();var v=b&&b.__createBinding||(Object.create?function(Re,dt,_n,Qt){Qt===void 0&&(Qt=_n);var Mn=Object.getOwnPropertyDescriptor(dt,_n);(!Mn||(\"get\"in Mn?!dt.__esModule:Mn.writable||Mn.configurable))&&(Mn={enumerable:!0,get:function(){return dt[_n]}}),Object.defineProperty(Re,Qt,Mn)}:function(Re,dt,_n,Qt){Qt===void 0&&(Qt=_n),Re[Qt]=dt[_n]}),X=b&&b.__setModuleDefault||(Object.create?function(Re,dt){Object.defineProperty(Re,\"default\",{enumerable:!0,value:dt})}:function(Re,dt){Re.default=dt}),de=b&&b.__importStar||function(Re){if(Re&&Re.__esModule)return Re;var dt={};if(Re!=null)for(var _n in Re)_n!==\"default\"&&Object.prototype.hasOwnProperty.call(Re,_n)&&v(dt,Re,_n);return X(dt,Re),dt},ve=b&&b.__importDefault||function(Re){return Re&&Re.__esModule?Re:{default:Re}};Object.defineProperty(b,\"__esModule\",{value:!0}),b.warnAboutTSVersion=void 0;var ie=ve(Tu()),V=de(gl()),P=\">=3.3.1 <5.1.0\",he=[\"5.0.1-rc\"],N=V.version,se=ie.default.satisfies(N,[P].concat(he).join(\" || \")),Se=!1;function S(Re){var dt;if(!se&&!Se){if(!(typeof Us>\"u\")&&((dt=Us.stdout)===null||dt===void 0?void 0:dt.isTTY)){let _n=\"=============\",Qt=[_n,\"WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.\",\"You may find that it works just fine, or you may not.\",`SUPPORTED TYPESCRIPT VERSIONS: ${P}`,`YOUR TYPESCRIPT VERSION: ${N}`,\"Please only submit bug reports when using the officially supported version.\",_n];Re.log(Qt.join(`\n\n`))}Se=!0}}b.warnAboutTSVersion=S}}),Pt=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js\"(b){Li();var v=b&&b.__importDefault||function(_n){return _n&&_n.__esModule?_n:{default:_n}};Object.defineProperty(b,\"__esModule\",{value:!0}),b.clearTSConfigMatchCache=b.createParseSettings=void 0;var X=v(oh()),de=uu(),ve=A0(),ie=di(),V=En(),P=Vt(),he=yt(),N=(0,X.default)(\"typescript-eslint:typescript-estree:parser:parseSettings:createParseSettings\"),se;function Se(_n){let Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var Mn,Bi,yn;let vn=(0,V.inferSingleRun)(Qt),Ut=typeof Qt.tsconfigRootDir==\"string\"?Qt.tsconfigRootDir:\"/prettier-security-dirname-placeholder\",In={code:Re(_n),comment:Qt.comment===!0,comments:[],createDefaultProgram:Qt.createDefaultProgram===!0,debugLevel:Qt.debugLevel===!0?new Set([\"typescript-eslint\"]):Array.isArray(Qt.debugLevel)?new Set(Qt.debugLevel):new Set,errorOnTypeScriptSyntacticAndSemanticIssues:!1,errorOnUnknownASTType:Qt.errorOnUnknownASTType===!0,EXPERIMENTAL_useSourceOfProjectReferenceRedirect:Qt.EXPERIMENTAL_useSourceOfProjectReferenceRedirect===!0,extraFileExtensions:Array.isArray(Qt.extraFileExtensions)&&Qt.extraFileExtensions.every(Vi=>typeof Vi==\"string\")?Qt.extraFileExtensions:[],filePath:(0,de.ensureAbsolutePath)(typeof Qt.filePath==\"string\"&&Qt.filePath!==\"<input>\"?Qt.filePath:dt(Qt.jsx),Ut),jsx:Qt.jsx===!0,loc:Qt.loc===!0,log:typeof Qt.loggerFn==\"function\"?Qt.loggerFn:Qt.loggerFn===!1?()=>{}:console.log,moduleResolver:(Mn=Qt.moduleResolver)!==null&&Mn!==void 0?Mn:\"\",preserveNodeMaps:Qt.preserveNodeMaps!==!1,programs:Array.isArray(Qt.programs)?Qt.programs:null,projects:[],range:Qt.range===!0,singleRun:vn,tokens:Qt.tokens===!0?[]:null,tsconfigMatchCache:se!=null?se:se=new ve.ExpiringCache(vn?\"Infinity\":(yn=(Bi=Qt.cacheLifetime)===null||Bi===void 0?void 0:Bi.glob)!==null&&yn!==void 0?yn:ve.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS),tsconfigRootDir:Ut};if(In.debugLevel.size>0){let Vi=[];In.debugLevel.has(\"typescript-eslint\")&&Vi.push(\"typescript-eslint:*\"),(In.debugLevel.has(\"eslint\")||X.default.enabled(\"eslint:*,-eslint:code-path\"))&&Vi.push(\"eslint:*,-eslint:code-path\"),X.default.enable(Vi.join(\",\"))}if(Array.isArray(Qt.programs)){if(!Qt.programs.length)throw new Error(\"You have set parserOptions.programs to an empty array. This will cause all files to not be found in existing programs. Either provide one or more existing TypeScript Program instances in the array, or remove the parserOptions.programs setting.\");N(\"parserOptions.programs was provided, so parserOptions.project will be ignored.\")}return In.programs||(In.projects=(0,P.resolveProjectList)({cacheLifetime:Qt.cacheLifetime,project:(0,ie.getProjectConfigFiles)(In,Qt.project),projectFolderIgnoreList:Qt.projectFolderIgnoreList,singleRun:In.singleRun,tsconfigRootDir:Ut})),(0,he.warnAboutTSVersion)(In),In}b.createParseSettings=Se;function S(){se==null||se.clear()}b.clearTSConfigMatchCache=S;function Re(_n){return typeof _n!=\"string\"?String(_n):_n}function dt(_n){return _n?\"estree.tsx\":\"estree.ts\"}}}),Gt=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0}),b.getFirstSemanticOrSyntacticError=void 0;var v=gl();function X(ie,V){try{let P=de(ie.getSyntacticDiagnostics(V));if(P.length)return ve(P[0]);let he=de(ie.getSemanticDiagnostics(V));return he.length?ve(he[0]):void 0}catch(P){console.warn(`Warning From TSC: \"${P.message}`);return}}b.getFirstSemanticOrSyntacticError=X;function de(ie){return ie.filter(V=>{switch(V.code){case 1013:case 1014:case 1044:case 1045:case 1048:case 1049:case 1070:case 1071:case 1085:case 1090:case 1096:case 1097:case 1098:case 1099:case 1117:case 1121:case 1123:case 1141:case 1162:case 1164:case 1172:case 1173:case 1175:case 1176:case 1190:case 1196:case 1200:case 1206:case 1211:case 1242:case 1246:case 1255:case 1308:case 2364:case 2369:case 2452:case 2462:case 8017:case 17012:case 17013:return!0}return!1})}function ve(ie){return Object.assign(Object.assign({},ie),{message:(0,v.flattenDiagnosticMessageText)(ie.messageText,v.sys.newLine)})}}}),St=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/parser.js\"(b){Li();var v=b&&b.__importDefault||function(In){return In&&In.__esModule?In:{default:In}};Object.defineProperty(b,\"__esModule\",{value:!0}),b.clearParseAndGenerateServicesCalls=b.clearProgramCache=b.parseWithNodeMaps=b.parseAndGenerateServices=b.parse=void 0;var X=v(oh()),de=jo(),ve=Sp(),ie=Kg(),V=_y(),P=Im(),he=Fm(),N=Pm(),se=Pt(),Se=Gt(),S=(0,X.default)(\"typescript-eslint:typescript-estree:parser\"),Re=new Map;function dt(){Re.clear()}b.clearProgramCache=dt;function _n(In,Vi){return In.programs&&(0,N.useProvidedPrograms)(In.programs,In)||Vi&&(0,P.createProjectProgram)(In)||Vi&&In.createDefaultProgram&&(0,ie.createDefaultProgram)(In)||(0,V.createIsolatedProgram)(In)}function Qt(In,Vi){let{ast:ct}=Mn(In,Vi,!1);return ct}b.parse=Qt;function Mn(In,Vi,ct){let xi=(0,se.createParseSettings)(In,Vi);if(Vi!=null&&Vi.errorOnTypeScriptSyntacticAndSemanticIssues)throw new Error('\"errorOnTypeScriptSyntacticAndSemanticIssues\" is only supported for parseAndGenerateServices()');let qr=(0,he.createSourceFile)(xi),{estree:xr,astMaps:Bs}=(0,de.astConverter)(qr,xi,ct);return{ast:xr,esTreeNodeToTSNodeMap:Bs.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:Bs.tsNodeToESTreeNodeMap}}function Bi(In,Vi){return Mn(In,Vi,!0)}b.parseWithNodeMaps=Bi;var yn={};function vn(){yn={}}b.clearParseAndGenerateServicesCalls=vn;function Ut(In,Vi){var ct,xi;let qr=(0,se.createParseSettings)(In,Vi);Vi!==void 0&&typeof Vi.errorOnTypeScriptSyntacticAndSemanticIssues==\"boolean\"&&Vi.errorOnTypeScriptSyntacticAndSemanticIssues&&(qr.errorOnTypeScriptSyntacticAndSemanticIssues=!0),qr.singleRun&&!qr.programs&&((ct=qr.projects)===null||ct===void 0?void 0:ct.length)>0&&(qr.programs={*[Symbol.iterator](){for(let Ms of qr.projects){let to=Re.get(Ms);if(to)yield to;else{S(\"Detected single-run/CLI usage, creating Program once ahead of time for project: %s\",Ms);let Lo=(0,N.createProgramFromConfigFile)(Ms);Re.set(Ms,Lo),yield Lo}}}});let xr=qr.programs!=null||((xi=qr.projects)===null||xi===void 0?void 0:xi.length)>0;qr.singleRun&&Vi.filePath&&(yn[Vi.filePath]=(yn[Vi.filePath]||0)+1);let{ast:Bs,program:Mi}=qr.singleRun&&Vi.filePath&&yn[Vi.filePath]>1?(0,V.createIsolatedProgram)(qr):_n(qr,xr),ms=typeof qr.preserveNodeMaps==\"boolean\"?qr.preserveNodeMaps:!0,{estree:Ks,astMaps:is}=(0,de.astConverter)(Bs,qr,ms);if(Mi&&qr.errorOnTypeScriptSyntacticAndSemanticIssues){let Ms=(0,Se.getFirstSemanticOrSyntacticError)(Mi,Bs);if(Ms)throw(0,ve.convertError)(Ms)}return{ast:Ks,services:{hasFullTypeInformation:xr,program:Mi,esTreeNodeToTSNodeMap:is.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:is.tsNodeToESTreeNodeMap}}}b.parseAndGenerateServices=Ut}}),un=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js\"(b){Li(),Object.defineProperty(b,\"__esModule\",{value:!0}),b.clearProgramCache=b.clearCaches=void 0;var v=ig(),X=St(),de=Pt(),ve=Vt();function ie(){(0,X.clearProgramCache)(),(0,v.clearWatchCaches)(),(0,de.clearTSConfigMatchCache)(),(0,ve.clearGlobCache)()}b.clearCaches=ie,b.clearProgramCache=ie}}),ft=Gn({\"node_modules/@typescript-eslint/typescript-estree/package.json\"(b,v){v.exports={name:\"@typescript-eslint/typescript-estree\",version:\"5.55.0\",description:\"A parser that converts TypeScript source code into an ESTree compatible form\",main:\"dist/index.js\",types:\"dist/index.d.ts\",files:[\"dist\",\"_ts3.4\",\"README.md\",\"LICENSE\"],engines:{node:\"^12.22.0 || ^14.17.0 || >=16.0.0\"},repository:{type:\"git\",url:\"https://github.com/typescript-eslint/typescript-eslint.git\",directory:\"packages/typescript-estree\"},bugs:{url:\"https://github.com/typescript-eslint/typescript-eslint/issues\"},license:\"BSD-2-Clause\",keywords:[\"ast\",\"estree\",\"ecmascript\",\"javascript\",\"typescript\",\"parser\",\"syntax\"],scripts:{build:\"tsc -b tsconfig.build.json\",postbuild:\"downlevel-dts dist _ts3.4/dist\",clean:\"tsc -b tsconfig.build.json --clean\",postclean:\"rimraf dist && rimraf _ts3.4 && rimraf coverage\",format:'prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore',lint:\"nx lint\",test:\"jest --coverage\",typecheck:\"tsc -p tsconfig.json --noEmit\"},dependencies:{\"@typescript-eslint/types\":\"5.55.0\",\"@typescript-eslint/visitor-keys\":\"5.55.0\",debug:\"^4.3.4\",globby:\"^11.1.0\",\"is-glob\":\"^4.0.3\",semver:\"^7.3.7\",tsutils:\"^3.21.0\"},devDependencies:{\"@babel/code-frame\":\"*\",\"@babel/parser\":\"*\",\"@types/babel__code-frame\":\"*\",\"@types/debug\":\"*\",\"@types/glob\":\"*\",\"@types/is-glob\":\"*\",\"@types/semver\":\"*\",\"@types/tmp\":\"*\",glob:\"*\",\"jest-specific-snapshot\":\"*\",\"make-dir\":\"*\",tmp:\"*\",typescript:\"*\"},peerDependenciesMeta:{typescript:{optional:!0}},funding:{type:\"opencollective\",url:\"https://opencollective.com/typescript-eslint\"},typesVersions:{\"<3.8\":{\"*\":[\"_ts3.4/*\"]}},gitHead:\"877d73327fca3bdbe7e170e8b3a906d090a6de37\"}}}),Zt=Gn({\"node_modules/@typescript-eslint/typescript-estree/dist/index.js\"(b){Li();var v=b&&b.__createBinding||(Object.create?function(he,N,se,Se){Se===void 0&&(Se=se);var S=Object.getOwnPropertyDescriptor(N,se);(!S||(\"get\"in S?!N.__esModule:S.writable||S.configurable))&&(S={enumerable:!0,get:function(){return N[se]}}),Object.defineProperty(he,Se,S)}:function(he,N,se,Se){Se===void 0&&(Se=se),he[Se]=N[se]}),X=b&&b.__exportStar||function(he,N){for(var se in he)se!==\"default\"&&!Object.prototype.hasOwnProperty.call(N,se)&&v(N,he,se)};Object.defineProperty(b,\"__esModule\",{value:!0}),b.version=b.visitorKeys=b.typescriptVersionIsAtLeast=b.createProgram=b.simpleTraverse=b.parseWithNodeMaps=b.parseAndGenerateServices=b.parse=void 0;var de=St();Object.defineProperty(b,\"parse\",{enumerable:!0,get:function(){return de.parse}}),Object.defineProperty(b,\"parseAndGenerateServices\",{enumerable:!0,get:function(){return de.parseAndGenerateServices}}),Object.defineProperty(b,\"parseWithNodeMaps\",{enumerable:!0,get:function(){return de.parseWithNodeMaps}});var ve=ho();Object.defineProperty(b,\"simpleTraverse\",{enumerable:!0,get:function(){return ve.simpleTraverse}}),X(Kd(),b);var ie=Pm();Object.defineProperty(b,\"createProgram\",{enumerable:!0,get:function(){return ie.createProgramFromConfigFile}}),X(fy(),b);var V=pd();Object.defineProperty(b,\"typescriptVersionIsAtLeast\",{enumerable:!0,get:function(){return V.typescriptVersionIsAtLeast}}),X(Cc(),b),X(un(),b);var P=Pu();Object.defineProperty(b,\"visitorKeys\",{enumerable:!0,get:function(){return P.visitorKeys}}),b.version=ft().version}});Li();var qn=Uo(),On=Wi(),Ri=Zc(),Gi=Ku(),Ti=Od(),{throwErrorForInvalidNodes:mr}=Md(),mn={loc:!0,range:!0,comment:!0,jsx:!0,tokens:!0,loggerFn:!1,project:[]};function hr(b){let{message:v,lineNumber:X,column:de}=b;return typeof X!=\"number\"?b:qn(v,{start:{line:X,column:de+1}})}function ti(b,v){let X=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},de=Gi(b),ve=Qn(b),{parseWithNodeMaps:ie}=Zt(),{result:V,error:P}=On(()=>ie(de,Object.assign(Object.assign({},mn),{},{jsx:ve})),()=>ie(de,Object.assign(Object.assign({},mn),{},{jsx:!ve})));if(!V)throw hr(P);return X.originalText=b,mr(V,X),Ti(V.ast,X)}function Qn(b){return new RegExp([\"(?:^[^\\\"'`]*</)\",\"|\",\"(?:^[^/]{2}.*/>)\"].join(\"\"),\"m\").test(b)}gn.exports={parsers:{typescript:Ri(ti)}}});return Ar()})})(gge);var OJe=BE(gge.exports),mge={exports:{}};(function(o,e){(function(t){o.exports=t()})(function(){var t=(ht,$e)=>()=>($e||ht(($e={exports:{}}).exports,$e),$e.exports),n=t((ht,$e)=>{var ot=function(Rt){return Rt&&Rt.Math==Math&&Rt};$e.exports=ot(typeof globalThis==\"object\"&&globalThis)||ot(typeof window==\"object\"&&window)||ot(typeof self==\"object\"&&self)||ot(typeof K1==\"object\"&&K1)||function(){return this}()||Function(\"return this\")()}),i=t((ht,$e)=>{$e.exports=function(ot){try{return!!ot()}catch{return!0}}}),s=t((ht,$e)=>{var ot=i();$e.exports=!ot(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),a=t((ht,$e)=>{var ot=i();$e.exports=!ot(function(){var Rt=function(){}.bind();return typeof Rt!=\"function\"||Rt.hasOwnProperty(\"prototype\")})}),l=t((ht,$e)=>{var ot=a(),Rt=Function.prototype.call;$e.exports=ot?Rt.bind(Rt):function(){return Rt.apply(Rt,arguments)}}),u=t(ht=>{var $e={}.propertyIsEnumerable,ot=Object.getOwnPropertyDescriptor,Rt=ot&&!$e.call({1:2},1);ht.f=Rt?function(et){var We=ot(this,et);return!!We&&We.enumerable}:$e}),d=t((ht,$e)=>{$e.exports=function(ot,Rt){return{enumerable:!(ot&1),configurable:!(ot&2),writable:!(ot&4),value:Rt}}}),h=t((ht,$e)=>{var ot=a(),Rt=Function.prototype,et=Rt.call,We=ot&&Rt.bind.bind(et,et);$e.exports=ot?We:function(it){return function(){return et.apply(it,arguments)}}}),p=t((ht,$e)=>{var ot=h(),Rt=ot({}.toString),et=ot(\"\".slice);$e.exports=function(We){return et(Rt(We),8,-1)}}),g=t((ht,$e)=>{var ot=h(),Rt=i(),et=p(),We=Object,it=ot(\"\".split);$e.exports=Rt(function(){return!We(\"z\").propertyIsEnumerable(0)})?function(vt){return et(vt)==\"String\"?it(vt,\"\"):We(vt)}:We}),y=t((ht,$e)=>{$e.exports=function(ot){return ot==null}}),D=t((ht,$e)=>{var ot=y(),Rt=TypeError;$e.exports=function(et){if(ot(et))throw Rt(\"Can't call method on \"+et);return et}}),T=t((ht,$e)=>{var ot=g(),Rt=D();$e.exports=function(et){return ot(Rt(et))}}),k=t((ht,$e)=>{var ot=typeof document==\"object\"&&document.all,Rt=typeof ot>\"u\"&&ot!==void 0;$e.exports={all:ot,IS_HTMLDDA:Rt}}),I=t((ht,$e)=>{var ot=k(),Rt=ot.all;$e.exports=ot.IS_HTMLDDA?function(et){return typeof et==\"function\"||et===Rt}:function(et){return typeof et==\"function\"}}),F=t((ht,$e)=>{var ot=I(),Rt=k(),et=Rt.all;$e.exports=Rt.IS_HTMLDDA?function(We){return typeof We==\"object\"?We!==null:ot(We)||We===et}:function(We){return typeof We==\"object\"?We!==null:ot(We)}}),q=t((ht,$e)=>{var ot=n(),Rt=I(),et=function(We){return Rt(We)?We:void 0};$e.exports=function(We,it){return arguments.length<2?et(ot[We]):ot[We]&&ot[We][it]}}),re=t((ht,$e)=>{var ot=h();$e.exports=ot({}.isPrototypeOf)}),Ie=t((ht,$e)=>{var ot=q();$e.exports=ot(\"navigator\",\"userAgent\")||\"\"}),mt=t((ht,$e)=>{var ot=n(),Rt=Ie(),et=ot.process,We=ot.Deno,it=et&&et.versions||We&&We.version,vt=it&&it.v8,At,en;vt&&(At=vt.split(\".\"),en=At[0]>0&&At[0]<4?1:+(At[0]+At[1])),!en&&Rt&&(At=Rt.match(/Edge\\/(\\d+)/),(!At||At[1]>=74)&&(At=Rt.match(/Chrome\\/(\\d+)/),At&&(en=+At[1]))),$e.exports=en}),Le=t((ht,$e)=>{var ot=mt(),Rt=i();$e.exports=!!Object.getOwnPropertySymbols&&!Rt(function(){var et=Symbol();return!String(et)||!(Object(et)instanceof Symbol)||!Symbol.sham&&ot&&ot<41})}),Ge=t((ht,$e)=>{var ot=Le();$e.exports=ot&&!Symbol.sham&&typeof Symbol.iterator==\"symbol\"}),qt=t((ht,$e)=>{var ot=q(),Rt=I(),et=re(),We=Ge(),it=Object;$e.exports=We?function(vt){return typeof vt==\"symbol\"}:function(vt){var At=ot(\"Symbol\");return Rt(At)&&et(At.prototype,it(vt))}}),gi=t((ht,$e)=>{var ot=String;$e.exports=function(Rt){try{return ot(Rt)}catch{return\"Object\"}}}),ai=t((ht,$e)=>{var ot=I(),Rt=gi(),et=TypeError;$e.exports=function(We){if(ot(We))return We;throw et(Rt(We)+\" is not a function\")}}),Tr=t((ht,$e)=>{var ot=ai(),Rt=y();$e.exports=function(et,We){var it=et[We];return Rt(it)?void 0:ot(it)}}),Vr=t((ht,$e)=>{var ot=l(),Rt=I(),et=F(),We=TypeError;$e.exports=function(it,vt){var At,en;if(vt===\"string\"&&Rt(At=it.toString)&&!et(en=ot(At,it))||Rt(At=it.valueOf)&&!et(en=ot(At,it))||vt!==\"string\"&&Rt(At=it.toString)&&!et(en=ot(At,it)))return en;throw We(\"Can't convert object to primitive value\")}}),go=t((ht,$e)=>{$e.exports=!1}),Js=t((ht,$e)=>{var ot=n(),Rt=Object.defineProperty;$e.exports=function(et,We){try{Rt(ot,et,{value:We,configurable:!0,writable:!0})}catch{ot[et]=We}return We}}),Fo=t((ht,$e)=>{var ot=n(),Rt=Js(),et=\"__core-js_shared__\",We=ot[et]||Rt(et,{});$e.exports=We}),aa=t((ht,$e)=>{var ot=go(),Rt=Fo();($e.exports=function(et,We){return Rt[et]||(Rt[et]=We!==void 0?We:{})})(\"versions\",[]).push({version:\"3.26.1\",mode:ot?\"pure\":\"global\",copyright:\"\\xA9 2014-2022 Denis Pushkarev (zloirock.ru)\",license:\"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE\",source:\"https://github.com/zloirock/core-js\"})}),Qo=t((ht,$e)=>{var ot=D(),Rt=Object;$e.exports=function(et){return Rt(ot(et))}}),Ao=t((ht,$e)=>{var ot=h(),Rt=Qo(),et=ot({}.hasOwnProperty);$e.exports=Object.hasOwn||function(We,it){return et(Rt(We),it)}}),Gl=t((ht,$e)=>{var ot=h(),Rt=0,et=Math.random(),We=ot(1 .toString);$e.exports=function(it){return\"Symbol(\"+(it===void 0?\"\":it)+\")_\"+We(++Rt+et,36)}}),nl=t((ht,$e)=>{var ot=n(),Rt=aa(),et=Ao(),We=Gl(),it=Le(),vt=Ge(),At=Rt(\"wks\"),en=ot.Symbol,gt=en&&en.for,_i=vt?en:en&&en.withoutSetter||We;$e.exports=function(Rn){if(!et(At,Rn)||!(it||typeof At[Rn]==\"string\")){var Ni=\"Symbol.\"+Rn;it&&et(en,Rn)?At[Rn]=en[Rn]:vt&&gt?At[Rn]=gt(Ni):At[Rn]=_i(Ni)}return At[Rn]}}),Po=t((ht,$e)=>{var ot=l(),Rt=F(),et=qt(),We=Tr(),it=Vr(),vt=nl(),At=TypeError,en=vt(\"toPrimitive\");$e.exports=function(gt,_i){if(!Rt(gt)||et(gt))return gt;var Rn=We(gt,en),Ni;if(Rn){if(_i===void 0&&(_i=\"default\"),Ni=ot(Rn,gt,_i),!Rt(Ni)||et(Ni))return Ni;throw At(\"Can't convert object to primitive value\")}return _i===void 0&&(_i=\"number\"),it(gt,_i)}}),mo=t((ht,$e)=>{var ot=Po(),Rt=qt();$e.exports=function(et){var We=ot(et,\"string\");return Rt(We)?We:We+\"\"}}),Bl=t((ht,$e)=>{var ot=n(),Rt=F(),et=ot.document,We=Rt(et)&&Rt(et.createElement);$e.exports=function(it){return We?et.createElement(it):{}}}),mc=t((ht,$e)=>{var ot=s(),Rt=i(),et=Bl();$e.exports=!ot&&!Rt(function(){return Object.defineProperty(et(\"div\"),\"a\",{get:function(){return 7}}).a!=7})}),lc=t(ht=>{var $e=s(),ot=l(),Rt=u(),et=d(),We=T(),it=mo(),vt=Ao(),At=mc(),en=Object.getOwnPropertyDescriptor;ht.f=$e?en:function(gt,_i){if(gt=We(gt),_i=it(_i),At)try{return en(gt,_i)}catch{}if(vt(gt,_i))return et(!ot(Rt.f,gt,_i),gt[_i])}}),dd=t((ht,$e)=>{var ot=s(),Rt=i();$e.exports=ot&&Rt(function(){return Object.defineProperty(function(){},\"prototype\",{value:42,writable:!1}).prototype!=42})}),gu=t((ht,$e)=>{var ot=F(),Rt=String,et=TypeError;$e.exports=function(We){if(ot(We))return We;throw et(Rt(We)+\" is not an object\")}}),Ka=t(ht=>{var $e=s(),ot=mc(),Rt=dd(),et=gu(),We=mo(),it=TypeError,vt=Object.defineProperty,At=Object.getOwnPropertyDescriptor,en=\"enumerable\",gt=\"configurable\",_i=\"writable\";ht.f=$e?Rt?function(Rn,Ni,Lr){if(et(Rn),Ni=We(Ni),et(Lr),typeof Rn==\"function\"&&Ni===\"prototype\"&&\"value\"in Lr&&_i in Lr&&!Lr[_i]){var Or=At(Rn,Ni);Or&&Or[_i]&&(Rn[Ni]=Lr.value,Lr={configurable:gt in Lr?Lr[gt]:Or[gt],enumerable:en in Lr?Lr[en]:Or[en],writable:!1})}return vt(Rn,Ni,Lr)}:vt:function(Rn,Ni,Lr){if(et(Rn),Ni=We(Ni),et(Lr),ot)try{return vt(Rn,Ni,Lr)}catch{}if(\"get\"in Lr||\"set\"in Lr)throw it(\"Accessors not supported\");return\"value\"in Lr&&(Rn[Ni]=Lr.value),Rn}}),Qc=t((ht,$e)=>{var ot=s(),Rt=Ka(),et=d();$e.exports=ot?function(We,it,vt){return Rt.f(We,it,et(1,vt))}:function(We,it,vt){return We[it]=vt,We}}),Ba=t((ht,$e)=>{var ot=s(),Rt=Ao(),et=Function.prototype,We=ot&&Object.getOwnPropertyDescriptor,it=Rt(et,\"name\"),vt=it&&function(){}.name===\"something\",At=it&&(!ot||ot&&We(et,\"name\").configurable);$e.exports={EXISTS:it,PROPER:vt,CONFIGURABLE:At}}),xd=t((ht,$e)=>{var ot=h(),Rt=I(),et=Fo(),We=ot(Function.toString);Rt(et.inspectSource)||(et.inspectSource=function(it){return We(it)}),$e.exports=et.inspectSource}),jp=t((ht,$e)=>{var ot=n(),Rt=I(),et=ot.WeakMap;$e.exports=Rt(et)&&/native code/.test(String(et))}),Fu=t((ht,$e)=>{var ot=aa(),Rt=Gl(),et=ot(\"keys\");$e.exports=function(We){return et[We]||(et[We]=Rt(We))}}),Ed=t((ht,$e)=>{$e.exports={}}),wp=t((ht,$e)=>{var ot=jp(),Rt=n(),et=F(),We=Qc(),it=Ao(),vt=Fo(),At=Fu(),en=Ed(),gt=\"Object already initialized\",_i=Rt.TypeError,Rn=Rt.WeakMap,Ni,Lr,Or,Pn=function(Vo){return Or(Vo)?Lr(Vo):Ni(Vo,{})},os=function(Vo){return function(ja){var Ha;if(!et(ja)||(Ha=Lr(ja)).type!==Vo)throw _i(\"Incompatible receiver, \"+Vo+\" required\");return Ha}};ot||vt.state?(Ct=vt.state||(vt.state=new Rn),Ct.get=Ct.get,Ct.has=Ct.has,Ct.set=Ct.set,Ni=function(Vo,ja){if(Ct.has(Vo))throw _i(gt);return ja.facade=Vo,Ct.set(Vo,ja),ja},Lr=function(Vo){return Ct.get(Vo)||{}},Or=function(Vo){return Ct.has(Vo)}):(bo=At(\"state\"),en[bo]=!0,Ni=function(Vo,ja){if(it(Vo,bo))throw _i(gt);return ja.facade=Vo,We(Vo,bo,ja),ja},Lr=function(Vo){return it(Vo,bo)?Vo[bo]:{}},Or=function(Vo){return it(Vo,bo)});var Ct,bo;$e.exports={set:Ni,get:Lr,has:Or,enforce:Pn,getterFor:os}}),zd=t((ht,$e)=>{var ot=i(),Rt=I(),et=Ao(),We=s(),it=Ba().CONFIGURABLE,vt=xd(),At=wp(),en=At.enforce,gt=At.get,_i=Object.defineProperty,Rn=We&&!ot(function(){return _i(function(){},\"length\",{value:8}).length!==8}),Ni=String(String).split(\"String\"),Lr=$e.exports=function(Or,Pn,os){String(Pn).slice(0,7)===\"Symbol(\"&&(Pn=\"[\"+String(Pn).replace(/^Symbol\\(([^)]*)\\)/,\"$1\")+\"]\"),os&&os.getter&&(Pn=\"get \"+Pn),os&&os.setter&&(Pn=\"set \"+Pn),(!et(Or,\"name\")||it&&Or.name!==Pn)&&(We?_i(Or,\"name\",{value:Pn,configurable:!0}):Or.name=Pn),Rn&&os&&et(os,\"arity\")&&Or.length!==os.arity&&_i(Or,\"length\",{value:os.arity});try{os&&et(os,\"constructor\")&&os.constructor?We&&_i(Or,\"prototype\",{writable:!1}):Or.prototype&&(Or.prototype=void 0)}catch{}var Ct=en(Or);return et(Ct,\"source\")||(Ct.source=Ni.join(typeof Pn==\"string\"?Pn:\"\")),Or};Function.prototype.toString=Lr(function(){return Rt(this)&&gt(this).source||vt(this)},\"toString\")}),Ch=t((ht,$e)=>{var ot=I(),Rt=Ka(),et=zd(),We=Js();$e.exports=function(it,vt,At,en){en||(en={});var gt=en.enumerable,_i=en.name!==void 0?en.name:vt;if(ot(At)&&et(At,_i,en),en.global)gt?it[vt]=At:We(vt,At);else{try{en.unsafe?it[vt]&&(gt=!0):delete it[vt]}catch{}gt?it[vt]=At:Rt.f(it,vt,{value:At,enumerable:!1,configurable:!en.nonConfigurable,writable:!en.nonWritable})}return it}}),sh=t((ht,$e)=>{var ot=Math.ceil,Rt=Math.floor;$e.exports=Math.trunc||function(et){var We=+et;return(We>0?Rt:ot)(We)}}),$r=t((ht,$e)=>{var ot=sh();$e.exports=function(Rt){var et=+Rt;return et!==et||et===0?0:ot(et)}}),sr=t((ht,$e)=>{var ot=$r(),Rt=Math.max,et=Math.min;$e.exports=function(We,it){var vt=ot(We);return vt<0?Rt(vt+it,0):et(vt,it)}}),gr=t((ht,$e)=>{var ot=$r(),Rt=Math.min;$e.exports=function(et){return et>0?Rt(ot(et),9007199254740991):0}}),It=t((ht,$e)=>{var ot=gr();$e.exports=function(Rt){return ot(Rt.length)}}),dn=t((ht,$e)=>{var ot=T(),Rt=sr(),et=It(),We=function(it){return function(vt,At,en){var gt=ot(vt),_i=et(gt),Rn=Rt(en,_i),Ni;if(it&&At!=At){for(;_i>Rn;)if(Ni=gt[Rn++],Ni!=Ni)return!0}else for(;_i>Rn;Rn++)if((it||Rn in gt)&&gt[Rn]===At)return it||Rn||0;return!it&&-1}};$e.exports={includes:We(!0),indexOf:We(!1)}}),Si=t((ht,$e)=>{var ot=h(),Rt=Ao(),et=T(),We=dn().indexOf,it=Ed(),vt=ot([].push);$e.exports=function(At,en){var gt=et(At),_i=0,Rn=[],Ni;for(Ni in gt)!Rt(it,Ni)&&Rt(gt,Ni)&&vt(Rn,Ni);for(;en.length>_i;)Rt(gt,Ni=en[_i++])&&(~We(Rn,Ni)||vt(Rn,Ni));return Rn}}),Yn=t((ht,$e)=>{$e.exports=[\"constructor\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"toLocaleString\",\"toString\",\"valueOf\"]}),Zr=t(ht=>{var $e=Si(),ot=Yn(),Rt=ot.concat(\"length\",\"prototype\");ht.f=Object.getOwnPropertyNames||function(et){return $e(et,Rt)}}),vs=t(ht=>{ht.f=Object.getOwnPropertySymbols}),ra=t((ht,$e)=>{var ot=q(),Rt=h(),et=Zr(),We=vs(),it=gu(),vt=Rt([].concat);$e.exports=ot(\"Reflect\",\"ownKeys\")||function(At){var en=et.f(it(At)),gt=We.f;return gt?vt(en,gt(At)):en}}),zo=t((ht,$e)=>{var ot=Ao(),Rt=ra(),et=lc(),We=Ka();$e.exports=function(it,vt,At){for(var en=Rt(vt),gt=We.f,_i=et.f,Rn=0;Rn<en.length;Rn++){var Ni=en[Rn];!ot(it,Ni)&&!(At&&ot(At,Ni))&&gt(it,Ni,_i(vt,Ni))}}}),za=t((ht,$e)=>{var ot=i(),Rt=I(),et=/#|\\.prototype\\./,We=function(gt,_i){var Rn=vt[it(gt)];return Rn==en?!0:Rn==At?!1:Rt(_i)?ot(_i):!!_i},it=We.normalize=function(gt){return String(gt).replace(et,\".\").toLowerCase()},vt=We.data={},At=We.NATIVE=\"N\",en=We.POLYFILL=\"P\";$e.exports=We}),La=t((ht,$e)=>{var ot=n(),Rt=lc().f,et=Qc(),We=Ch(),it=Js(),vt=zo(),At=za();$e.exports=function(en,gt){var _i=en.target,Rn=en.global,Ni=en.stat,Lr,Or,Pn,os,Ct,bo;if(Rn?Or=ot:Ni?Or=ot[_i]||it(_i,{}):Or=(ot[_i]||{}).prototype,Or)for(Pn in gt){if(Ct=gt[Pn],en.dontCallGetSet?(bo=Rt(Or,Pn),os=bo&&bo.value):os=Or[Pn],Lr=At(Rn?Pn:_i+(Ni?\".\":\"#\")+Pn,en.forced),!Lr&&os!==void 0){if(typeof Ct==typeof os)continue;vt(Ct,os)}(en.sham||os&&os.sham)&&et(Ct,\"sham\",!0),We(Or,Pn,Ct,en)}}}),Ul=t(()=>{var ht=La(),$e=n();ht({global:!0,forced:$e.globalThis!==$e},{globalThis:$e})}),bl=t(()=>{Ul()}),ua=t((ht,$e)=>{var ot=p();$e.exports=Array.isArray||function(Rt){return ot(Rt)==\"Array\"}}),Qs=t((ht,$e)=>{var ot=TypeError,Rt=9007199254740991;$e.exports=function(et){if(et>Rt)throw ot(\"Maximum allowed index exceeded\");return et}}),Dr=t((ht,$e)=>{var ot=p(),Rt=h();$e.exports=function(et){if(ot(et)===\"Function\")return Rt(et)}}),Ar=t((ht,$e)=>{var ot=Dr(),Rt=ai(),et=a(),We=ot(ot.bind);$e.exports=function(it,vt){return Rt(it),vt===void 0?it:et?We(it,vt):function(){return it.apply(vt,arguments)}}}),li=t((ht,$e)=>{var ot=ua(),Rt=It(),et=Qs(),We=Ar(),it=function(vt,At,en,gt,_i,Rn,Ni,Lr){for(var Or=_i,Pn=0,os=Ni?We(Ni,Lr):!1,Ct,bo;Pn<gt;)Pn in en&&(Ct=os?os(en[Pn],Pn,At):en[Pn],Rn>0&&ot(Ct)?(bo=Rt(Ct),Or=it(vt,At,Ct,bo,Or,Rn-1)-1):(et(Or+1),vt[Or]=Ct),Or++),Pn++;return Or};$e.exports=it}),gn=t((ht,$e)=>{var ot=nl(),Rt=ot(\"toStringTag\"),et={};et[Rt]=\"z\",$e.exports=String(et)===\"[object z]\"}),kn=t((ht,$e)=>{var ot=gn(),Rt=I(),et=p(),We=nl(),it=We(\"toStringTag\"),vt=Object,At=et(function(){return arguments}())==\"Arguments\",en=function(gt,_i){try{return gt[_i]}catch{}};$e.exports=ot?et:function(gt){var _i,Rn,Ni;return gt===void 0?\"Undefined\":gt===null?\"Null\":typeof(Rn=en(_i=vt(gt),it))==\"string\"?Rn:At?et(_i):(Ni=et(_i))==\"Object\"&&Rt(_i.callee)?\"Arguments\":Ni}}),ei=t((ht,$e)=>{var ot=h(),Rt=i(),et=I(),We=kn(),it=q(),vt=xd(),At=function(){},en=[],gt=it(\"Reflect\",\"construct\"),_i=/^\\s*(?:class|function)\\b/,Rn=ot(_i.exec),Ni=!_i.exec(At),Lr=function(Pn){if(!et(Pn))return!1;try{return gt(At,en,Pn),!0}catch{return!1}},Or=function(Pn){if(!et(Pn))return!1;switch(We(Pn)){case\"AsyncFunction\":case\"GeneratorFunction\":case\"AsyncGeneratorFunction\":return!1}try{return Ni||!!Rn(_i,vt(Pn))}catch{return!0}};Or.sham=!0,$e.exports=!gt||Rt(function(){var Pn;return Lr(Lr.call)||!Lr(Object)||!Lr(function(){Pn=!0})||Pn})?Or:Lr}),Yt=t((ht,$e)=>{var ot=ua(),Rt=ei(),et=F(),We=nl(),it=We(\"species\"),vt=Array;$e.exports=function(At){var en;return ot(At)&&(en=At.constructor,Rt(en)&&(en===vt||ot(en.prototype))?en=void 0:et(en)&&(en=en[it],en===null&&(en=void 0))),en===void 0?vt:en}}),zi=t((ht,$e)=>{var ot=Yt();$e.exports=function(Rt,et){return new(ot(Rt))(et===0?0:et)}}),kr=t(()=>{var ht=La(),$e=li(),ot=ai(),Rt=Qo(),et=It(),We=zi();ht({target:\"Array\",proto:!0},{flatMap:function(it){var vt=Rt(this),At=et(vt),en;return ot(it),en=We(vt,0),en.length=$e(en,vt,vt,At,0,1,it,arguments.length>1?arguments[1]:void 0),en}})}),Gn=t((ht,$e)=>{$e.exports={}}),ni=t((ht,$e)=>{var ot=nl(),Rt=Gn(),et=ot(\"iterator\"),We=Array.prototype;$e.exports=function(it){return it!==void 0&&(Rt.Array===it||We[et]===it)}}),us=t((ht,$e)=>{var ot=kn(),Rt=Tr(),et=y(),We=Gn(),it=nl(),vt=it(\"iterator\");$e.exports=function(At){if(!et(At))return Rt(At,vt)||Rt(At,\"@@iterator\")||We[ot(At)]}}),ks=t((ht,$e)=>{var ot=l(),Rt=ai(),et=gu(),We=gi(),it=us(),vt=TypeError;$e.exports=function(At,en){var gt=arguments.length<2?it(At):en;if(Rt(gt))return et(ot(gt,At));throw vt(We(At)+\" is not iterable\")}}),Us=t((ht,$e)=>{var ot=l(),Rt=gu(),et=Tr();$e.exports=function(We,it,vt){var At,en;Rt(We);try{if(At=et(We,\"return\"),!At){if(it===\"throw\")throw vt;return vt}At=ot(At,We)}catch(gt){en=!0,At=gt}if(it===\"throw\")throw vt;if(en)throw At;return Rt(At),vt}}),Li=t((ht,$e)=>{var ot=Ar(),Rt=l(),et=gu(),We=gi(),it=ni(),vt=It(),At=re(),en=ks(),gt=us(),_i=Us(),Rn=TypeError,Ni=function(Or,Pn){this.stopped=Or,this.result=Pn},Lr=Ni.prototype;$e.exports=function(Or,Pn,os){var Ct=os&&os.that,bo=!!(os&&os.AS_ENTRIES),Vo=!!(os&&os.IS_RECORD),ja=!!(os&&os.IS_ITERATOR),Ha=!!(os&&os.INTERRUPTED),jl=ot(Pn,Ct),Un,mu,uc,Zc,Ku,Pd,qu,Yu=function(Vc){return Un&&_i(Un,\"normal\",Vc),new Ni(!0,Vc)},xc=function(Vc){return bo?(et(Vc),Ha?jl(Vc[0],Vc[1],Yu):jl(Vc[0],Vc[1])):Ha?jl(Vc,Yu):jl(Vc)};if(Vo)Un=Or.iterator;else if(ja)Un=Or;else{if(mu=gt(Or),!mu)throw Rn(We(Or)+\" is not iterable\");if(it(mu)){for(uc=0,Zc=vt(Or);Zc>uc;uc++)if(Ku=xc(Or[uc]),Ku&&At(Lr,Ku))return Ku;return new Ni(!1)}Un=en(Or,mu)}for(Pd=Vo?Or.next:Un.next;!(qu=Rt(Pd,Un)).done;){try{Ku=xc(qu.value)}catch(Vc){_i(Un,\"throw\",Vc)}if(typeof Ku==\"object\"&&Ku&&At(Lr,Ku))return Ku}return new Ni(!1)}}),Uo=t((ht,$e)=>{var ot=mo(),Rt=Ka(),et=d();$e.exports=function(We,it,vt){var At=ot(it);At in We?Rt.f(We,At,et(0,vt)):We[At]=vt}}),Wi=t(()=>{var ht=La(),$e=Li(),ot=Uo();ht({target:\"Object\",stat:!0},{fromEntries:function(Rt){var et={};return $e(Rt,function(We,it){ot(et,We,it)},{AS_ENTRIES:!0}),et}})}),_t=t((ht,$e)=>{var ot=[\"cliName\",\"cliCategory\",\"cliDescription\"];function Rt(kt,Wn){if(kt==null)return{};var mi=et(kt,Wn),Ui,dr;if(Object.getOwnPropertySymbols){var Jn=Object.getOwnPropertySymbols(kt);for(dr=0;dr<Jn.length;dr++)Ui=Jn[dr],!(Wn.indexOf(Ui)>=0)&&Object.prototype.propertyIsEnumerable.call(kt,Ui)&&(mi[Ui]=kt[Ui])}return mi}function et(kt,Wn){if(kt==null)return{};var mi={},Ui=Object.keys(kt),dr,Jn;for(Jn=0;Jn<Ui.length;Jn++)dr=Ui[Jn],!(Wn.indexOf(dr)>=0)&&(mi[dr]=kt[dr]);return mi}bl(),kr(),Wi();var We=Object.create,it=Object.defineProperty,vt=Object.getOwnPropertyDescriptor,At=Object.getOwnPropertyNames,en=Object.getPrototypeOf,gt=Object.prototype.hasOwnProperty,_i=(kt,Wn)=>function(){return kt&&(Wn=(0,kt[At(kt)[0]])(kt=0)),Wn},Rn=(kt,Wn)=>function(){return Wn||(0,kt[At(kt)[0]])((Wn={exports:{}}).exports,Wn),Wn.exports},Ni=(kt,Wn)=>{for(var mi in Wn)it(kt,mi,{get:Wn[mi],enumerable:!0})},Lr=(kt,Wn,mi,Ui)=>{if(Wn&&typeof Wn==\"object\"||typeof Wn==\"function\")for(let dr of At(Wn))!gt.call(kt,dr)&&dr!==mi&&it(kt,dr,{get:()=>Wn[dr],enumerable:!(Ui=vt(Wn,dr))||Ui.enumerable});return kt},Or=(kt,Wn,mi)=>(mi=kt!=null?We(en(kt)):{},Lr(Wn||!kt||!kt.__esModule?it(mi,\"default\",{value:kt,enumerable:!0}):mi,kt)),Pn=kt=>Lr(it({},\"__esModule\",{value:!0}),kt),os,Ct=_i({\"<define:process>\"(){os={env:{},argv:[]}}}),bo=Rn({\"node_modules/angular-html-parser/lib/compiler/src/chars.js\"(kt){Ct(),Object.defineProperty(kt,\"__esModule\",{value:!0}),kt.$EOF=0,kt.$BSPACE=8,kt.$TAB=9,kt.$LF=10,kt.$VTAB=11,kt.$FF=12,kt.$CR=13,kt.$SPACE=32,kt.$BANG=33,kt.$DQ=34,kt.$HASH=35,kt.$$=36,kt.$PERCENT=37,kt.$AMPERSAND=38,kt.$SQ=39,kt.$LPAREN=40,kt.$RPAREN=41,kt.$STAR=42,kt.$PLUS=43,kt.$COMMA=44,kt.$MINUS=45,kt.$PERIOD=46,kt.$SLASH=47,kt.$COLON=58,kt.$SEMICOLON=59,kt.$LT=60,kt.$EQ=61,kt.$GT=62,kt.$QUESTION=63,kt.$0=48,kt.$7=55,kt.$9=57,kt.$A=65,kt.$E=69,kt.$F=70,kt.$X=88,kt.$Z=90,kt.$LBRACKET=91,kt.$BACKSLASH=92,kt.$RBRACKET=93,kt.$CARET=94,kt.$_=95,kt.$a=97,kt.$b=98,kt.$e=101,kt.$f=102,kt.$n=110,kt.$r=114,kt.$t=116,kt.$u=117,kt.$v=118,kt.$x=120,kt.$z=122,kt.$LBRACE=123,kt.$BAR=124,kt.$RBRACE=125,kt.$NBSP=160,kt.$PIPE=124,kt.$TILDA=126,kt.$AT=64,kt.$BT=96;function Wn(Rr){return Rr>=kt.$TAB&&Rr<=kt.$SPACE||Rr==kt.$NBSP}kt.isWhitespace=Wn;function mi(Rr){return kt.$0<=Rr&&Rr<=kt.$9}kt.isDigit=mi;function Ui(Rr){return Rr>=kt.$a&&Rr<=kt.$z||Rr>=kt.$A&&Rr<=kt.$Z}kt.isAsciiLetter=Ui;function dr(Rr){return Rr>=kt.$a&&Rr<=kt.$f||Rr>=kt.$A&&Rr<=kt.$F||mi(Rr)}kt.isAsciiHexDigit=dr;function Jn(Rr){return Rr===kt.$LF||Rr===kt.$CR}kt.isNewLine=Jn;function bi(Rr){return kt.$0<=Rr&&Rr<=kt.$7}kt.isOctalDigit=bi}}),Vo=Rn({\"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js\"(kt){Ct(),Object.defineProperty(kt,\"__esModule\",{value:!0});var Wn=class{constructor(Ui,dr,Jn){this.filePath=Ui,this.name=dr,this.members=Jn}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};kt.StaticSymbol=Wn;var mi=class{constructor(){this.cache=new Map}get(Ui,dr,Jn){Jn=Jn||[];let bi=Jn.length?`.${Jn.join(\".\")}`:\"\",Rr=`\"${Ui}\".${dr}${bi}`,zr=this.cache.get(Rr);return zr||(zr=new Wn(Ui,dr,Jn),this.cache.set(Rr,zr)),zr}};kt.StaticSymbolCache=mi}}),ja=Rn({\"node_modules/angular-html-parser/lib/compiler/src/util.js\"(kt){Ct(),Object.defineProperty(kt,\"__esModule\",{value:!0});var Wn=/-+([a-z0-9])/g;function mi(Kn){return Kn.replace(Wn,function(){for(var Nr=arguments.length,nr=new Array(Nr),ps=0;ps<Nr;ps++)nr[ps]=arguments[ps];return nr[1].toUpperCase()})}kt.dashCaseToCamelCase=mi;function Ui(Kn,Nr){return Jn(Kn,\":\",Nr)}kt.splitAtColon=Ui;function dr(Kn,Nr){return Jn(Kn,\".\",Nr)}kt.splitAtPeriod=dr;function Jn(Kn,Nr,nr){let ps=Kn.indexOf(Nr);return ps==-1?nr:[Kn.slice(0,ps).trim(),Kn.slice(ps+1).trim()]}function bi(Kn,Nr,nr){return Array.isArray(Kn)?Nr.visitArray(Kn,nr):si(Kn)?Nr.visitStringMap(Kn,nr):Kn==null||typeof Kn==\"string\"||typeof Kn==\"number\"||typeof Kn==\"boolean\"?Nr.visitPrimitive(Kn,nr):Nr.visitOther(Kn,nr)}kt.visitValue=bi;function Rr(Kn){return Kn!=null}kt.isDefined=Rr;function zr(Kn){return Kn===void 0?null:Kn}kt.noUndefined=zr;var ko=class{visitArray(Kn,Nr){return Kn.map(nr=>bi(nr,this,Nr))}visitStringMap(Kn,Nr){let nr={};return Object.keys(Kn).forEach(ps=>{nr[ps]=bi(Kn[ps],this,Nr)}),nr}visitPrimitive(Kn,Nr){return Kn}visitOther(Kn,Nr){return Kn}};kt.ValueTransformer=ko,kt.SyncAsync={assertSync:Kn=>{if(Br(Kn))throw new Error(\"Illegal state: value cannot be a promise\");return Kn},then:(Kn,Nr)=>Br(Kn)?Kn.then(Nr):Nr(Kn),all:Kn=>Kn.some(Br)?Promise.all(Kn):Kn};function fi(Kn){throw new Error(`Internal Error: ${Kn}`)}kt.error=fi;function Ce(Kn,Nr){let nr=Error(Kn);return nr[Te]=!0,Nr&&(nr[Ft]=Nr),nr}kt.syntaxError=Ce;var Te=\"ngSyntaxError\",Ft=\"ngParseErrors\";function Lt(Kn){return Kn[Te]}kt.isSyntaxError=Lt;function nn(Kn){return Kn[Ft]||[]}kt.getParseErrors=nn;function Nn(Kn){return Kn.replace(/([.*+?^=!:${}()|[\\]\\/\\\\])/g,\"\\\\$1\")}kt.escapeRegExp=Nn;var Pi=Object.getPrototypeOf({});function si(Kn){return typeof Kn==\"object\"&&Kn!==null&&Object.getPrototypeOf(Kn)===Pi}function Ur(Kn){let Nr=\"\";for(let nr=0;nr<Kn.length;nr++){let ps=Kn.charCodeAt(nr);if(ps>=55296&&ps<=56319&&Kn.length>nr+1){let ga=Kn.charCodeAt(nr+1);ga>=56320&&ga<=57343&&(nr++,ps=(ps-55296<<10)+ga-56320+65536)}ps<=127?Nr+=String.fromCharCode(ps):ps<=2047?Nr+=String.fromCharCode(ps>>6&31|192,ps&63|128):ps<=65535?Nr+=String.fromCharCode(ps>>12|224,ps>>6&63|128,ps&63|128):ps<=2097151&&(Nr+=String.fromCharCode(ps>>18&7|240,ps>>12&63|128,ps>>6&63|128,ps&63|128))}return Nr}kt.utf8Encode=Ur;function Xr(Kn){if(typeof Kn==\"string\")return Kn;if(Kn instanceof Array)return\"[\"+Kn.map(Xr).join(\", \")+\"]\";if(Kn==null)return\"\"+Kn;if(Kn.overriddenName)return`${Kn.overriddenName}`;if(Kn.name)return`${Kn.name}`;if(!Kn.toString)return\"object\";let Nr=Kn.toString();if(Nr==null)return\"\"+Nr;let nr=Nr.indexOf(`\n`);return nr===-1?Nr:Nr.substring(0,nr)}kt.stringify=Xr;function eo(Kn){return typeof Kn==\"function\"&&Kn.hasOwnProperty(\"__forward_ref__\")?Kn():Kn}kt.resolveForwardRef=eo;function Br(Kn){return!!Kn&&typeof Kn.then==\"function\"}kt.isPromise=Br;var Oo=class{constructor(Kn){this.full=Kn;let Nr=Kn.split(\".\");this.major=Nr[0],this.minor=Nr[1],this.patch=Nr.slice(2).join(\".\")}};kt.Version=Oo;var Ko=typeof window<\"u\"&&window,Ho=typeof self<\"u\"&&typeof WorkerGlobalScope<\"u\"&&self instanceof WorkerGlobalScope&&self,ba=typeof globalThis<\"u\"&&globalThis,$t=ba||Ko||Ho;kt.global=$t}}),Ha=Rn({\"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js\"(kt){Ct(),Object.defineProperty(kt,\"__esModule\",{value:!0});var Wn=Vo(),mi=ja(),Ui=/^(?:(?:\\[([^\\]]+)\\])|(?:\\(([^\\)]+)\\)))|(\\@[-\\w]+)$/;function dr(nr){return nr.replace(/\\W/g,\"_\")}kt.sanitizeIdentifier=dr;var Jn=0;function bi(nr){if(!nr||!nr.reference)return null;let ps=nr.reference;if(ps instanceof Wn.StaticSymbol)return ps.name;if(ps.__anonymousType)return ps.__anonymousType;let ga=mi.stringify(ps);return ga.indexOf(\"(\")>=0?(ga=`anonymous_${Jn++}`,ps.__anonymousType=ga):ga=dr(ga),ga}kt.identifierName=bi;function Rr(nr){let ps=nr.reference;return ps instanceof Wn.StaticSymbol?ps.filePath:`./${mi.stringify(ps)}`}kt.identifierModuleUrl=Rr;function zr(nr,ps){return`View_${bi({reference:nr})}_${ps}`}kt.viewClassName=zr;function ko(nr){return`RenderType_${bi({reference:nr})}`}kt.rendererTypeName=ko;function fi(nr){return`HostView_${bi({reference:nr})}`}kt.hostViewClassName=fi;function Ce(nr){return`${bi({reference:nr})}NgFactory`}kt.componentFactoryName=Ce;var Te;(function(nr){nr[nr.Pipe=0]=\"Pipe\",nr[nr.Directive=1]=\"Directive\",nr[nr.NgModule=2]=\"NgModule\",nr[nr.Injectable=3]=\"Injectable\"})(Te=kt.CompileSummaryKind||(kt.CompileSummaryKind={}));function Ft(nr){return nr.value!=null?dr(nr.value):bi(nr.identifier)}kt.tokenName=Ft;function Lt(nr){return nr.identifier!=null?nr.identifier.reference:nr.value}kt.tokenReference=Lt;var nn=class{constructor(){let{moduleUrl:nr,styles:ps,styleUrls:ga}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=nr||null,this.styles=Br(ps),this.styleUrls=Br(ga)}};kt.CompileStylesheetMetadata=nn;var Nn=class{constructor(nr){let{encapsulation:ps,template:ga,templateUrl:Yl,htmlAst:Td,styles:Mc,styleUrls:ah,externalStylesheets:Gd,animations:Mh,ngContentSelectors:Rh,interpolation:Pu,isInline:ho,preserveWhitespaces:jo}=nr;if(this.encapsulation=ps,this.template=ga,this.templateUrl=Yl,this.htmlAst=Td,this.styles=Br(Mc),this.styleUrls=Br(ah),this.externalStylesheets=Br(Gd),this.animations=Mh?Ko(Mh):[],this.ngContentSelectors=Rh||[],Pu&&Pu.length!=2)throw new Error(\"'interpolation' should have a start and an end symbol.\");this.interpolation=Pu,this.isInline=ho,this.preserveWhitespaces=jo}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};kt.CompileTemplateMetadata=Nn;var Pi=class{static create(nr){let{isHost:ps,type:ga,isComponent:Yl,selector:Td,exportAs:Mc,changeDetection:ah,inputs:Gd,outputs:Mh,host:Rh,providers:Pu,viewProviders:ho,queries:jo,guards:Sa,viewQueries:va,entryComponents:el,template:Cu,componentViewType:Au,rendererType:nu,componentFactory:lh}=nr,b_={},v_={},zg={};Rh!=null&&Object.keys(Rh).forEach(Rc=>{let Bh=Rh[Rc],$p=Rc.match(Ui);$p===null?zg[Rc]=Bh:$p[1]!=null?v_[$p[1]]=Bh:$p[2]!=null&&(b_[$p[2]]=Bh)});let tg={};Gd!=null&&Gd.forEach(Rc=>{let Bh=mi.splitAtColon(Rc,[Rc,Rc]);tg[Bh[0]]=Bh[1]});let Ug={};return Mh!=null&&Mh.forEach(Rc=>{let Bh=mi.splitAtColon(Rc,[Rc,Rc]);Ug[Bh[0]]=Bh[1]}),new Pi({isHost:ps,type:ga,isComponent:!!Yl,selector:Td,exportAs:Mc,changeDetection:ah,inputs:tg,outputs:Ug,hostListeners:b_,hostProperties:v_,hostAttributes:zg,providers:Pu,viewProviders:ho,queries:jo,guards:Sa,viewQueries:va,entryComponents:el,template:Cu,componentViewType:Au,rendererType:nu,componentFactory:lh})}constructor(nr){let{isHost:ps,type:ga,isComponent:Yl,selector:Td,exportAs:Mc,changeDetection:ah,inputs:Gd,outputs:Mh,hostListeners:Rh,hostProperties:Pu,hostAttributes:ho,providers:jo,viewProviders:Sa,queries:va,guards:el,viewQueries:Cu,entryComponents:Au,template:nu,componentViewType:lh,rendererType:b_,componentFactory:v_}=nr;this.isHost=!!ps,this.type=ga,this.isComponent=Yl,this.selector=Td,this.exportAs=Mc,this.changeDetection=ah,this.inputs=Gd,this.outputs=Mh,this.hostListeners=Rh,this.hostProperties=Pu,this.hostAttributes=ho,this.providers=Br(jo),this.viewProviders=Br(Sa),this.queries=Br(va),this.guards=el,this.viewQueries=Br(Cu),this.entryComponents=Br(Au),this.template=nu,this.componentViewType=lh,this.rendererType=b_,this.componentFactory=v_}toSummary(){return{summaryKind:Te.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};kt.CompileDirectiveMetadata=Pi;var si=class{constructor(nr){let{type:ps,name:ga,pure:Yl}=nr;this.type=ps,this.name=ga,this.pure=!!Yl}toSummary(){return{summaryKind:Te.Pipe,type:this.type,name:this.name,pure:this.pure}}};kt.CompilePipeMetadata=si;var Ur=class{};kt.CompileShallowModuleMetadata=Ur;var Xr=class{constructor(nr){let{type:ps,providers:ga,declaredDirectives:Yl,exportedDirectives:Td,declaredPipes:Mc,exportedPipes:ah,entryComponents:Gd,bootstrapComponents:Mh,importedModules:Rh,exportedModules:Pu,schemas:ho,transitiveModule:jo,id:Sa}=nr;this.type=ps||null,this.declaredDirectives=Br(Yl),this.exportedDirectives=Br(Td),this.declaredPipes=Br(Mc),this.exportedPipes=Br(ah),this.providers=Br(ga),this.entryComponents=Br(Gd),this.bootstrapComponents=Br(Mh),this.importedModules=Br(Rh),this.exportedModules=Br(Pu),this.schemas=Br(ho),this.id=Sa||null,this.transitiveModule=jo||null}toSummary(){let nr=this.transitiveModule;return{summaryKind:Te.NgModule,type:this.type,entryComponents:nr.entryComponents,providers:nr.providers,modules:nr.modules,exportedDirectives:nr.exportedDirectives,exportedPipes:nr.exportedPipes}}};kt.CompileNgModuleMetadata=Xr;var eo=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(nr,ps){this.providers.push({provider:nr,module:ps})}addDirective(nr){this.directivesSet.has(nr.reference)||(this.directivesSet.add(nr.reference),this.directives.push(nr))}addExportedDirective(nr){this.exportedDirectivesSet.has(nr.reference)||(this.exportedDirectivesSet.add(nr.reference),this.exportedDirectives.push(nr))}addPipe(nr){this.pipesSet.has(nr.reference)||(this.pipesSet.add(nr.reference),this.pipes.push(nr))}addExportedPipe(nr){this.exportedPipesSet.has(nr.reference)||(this.exportedPipesSet.add(nr.reference),this.exportedPipes.push(nr))}addModule(nr){this.modulesSet.has(nr.reference)||(this.modulesSet.add(nr.reference),this.modules.push(nr))}addEntryComponent(nr){this.entryComponentsSet.has(nr.componentType)||(this.entryComponentsSet.add(nr.componentType),this.entryComponents.push(nr))}};kt.TransitiveCompileNgModuleMetadata=eo;function Br(nr){return nr||[]}var Oo=class{constructor(nr,ps){let{useClass:ga,useValue:Yl,useExisting:Td,useFactory:Mc,deps:ah,multi:Gd}=ps;this.token=nr,this.useClass=ga||null,this.useValue=Yl,this.useExisting=Td,this.useFactory=Mc||null,this.dependencies=ah||null,this.multi=!!Gd}};kt.ProviderMeta=Oo;function Ko(nr){return nr.reduce((ps,ga)=>{let Yl=Array.isArray(ga)?Ko(ga):ga;return ps.concat(Yl)},[])}kt.flatten=Ko;function Ho(nr){return nr.replace(/(\\w+:\\/\\/[\\w:-]+)?(\\/+)?/,\"ng:///\")}function ba(nr,ps,ga){let Yl;return ga.isInline?ps.type.reference instanceof Wn.StaticSymbol?Yl=`${ps.type.reference.filePath}.${ps.type.reference.name}.html`:Yl=`${bi(nr)}/${bi(ps.type)}.html`:Yl=ga.templateUrl,ps.type.reference instanceof Wn.StaticSymbol?Yl:Ho(Yl)}kt.templateSourceUrl=ba;function $t(nr,ps){let ga=nr.moduleUrl.split(/\\/\\\\/g),Yl=ga[ga.length-1];return Ho(`css/${ps}${Yl}.ngstyle.js`)}kt.sharedStylesheetJitUrl=$t;function Kn(nr){return Ho(`${bi(nr.type)}/module.ngfactory.js`)}kt.ngModuleJitUrl=Kn;function Nr(nr,ps){return Ho(`${bi(nr)}/${bi(ps.type)}.ngfactory.js`)}kt.templateJitUrl=Nr}}),jl=Rn({\"node_modules/angular-html-parser/lib/compiler/src/parse_util.js\"(kt){Ct(),Object.defineProperty(kt,\"__esModule\",{value:!0});var Wn=bo(),mi=Ha(),Ui=class{constructor(fi,Ce,Te,Ft){this.file=fi,this.offset=Ce,this.line=Te,this.col=Ft}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(fi){let Ce=this.file.content,Te=Ce.length,Ft=this.offset,Lt=this.line,nn=this.col;for(;Ft>0&&fi<0;)if(Ft--,fi++,Ce.charCodeAt(Ft)==Wn.$LF){Lt--;let Nn=Ce.substr(0,Ft-1).lastIndexOf(String.fromCharCode(Wn.$LF));nn=Nn>0?Ft-Nn:Ft}else nn--;for(;Ft<Te&&fi>0;){let Nn=Ce.charCodeAt(Ft);Ft++,fi--,Nn==Wn.$LF?(Lt++,nn=0):nn++}return new Ui(this.file,Ft,Lt,nn)}getContext(fi,Ce){let Te=this.file.content,Ft=this.offset;if(Ft!=null){Ft>Te.length-1&&(Ft=Te.length-1);let Lt=Ft,nn=0,Nn=0;for(;nn<fi&&Ft>0&&(Ft--,nn++,!(Te[Ft]==`\n`&&++Nn==Ce)););for(nn=0,Nn=0;nn<fi&&Lt<Te.length-1&&(Lt++,nn++,!(Te[Lt]==`\n`&&++Nn==Ce)););return{before:Te.substring(Ft,this.offset),after:Te.substring(this.offset,Lt+1)}}return null}};kt.ParseLocation=Ui;var dr=class{constructor(fi,Ce){this.content=fi,this.url=Ce}};kt.ParseSourceFile=dr;var Jn=class{constructor(fi,Ce){let Te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=fi,this.end=Ce,this.details=Te}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};kt.ParseSourceSpan=Jn,kt.EMPTY_PARSE_LOCATION=new Ui(new dr(\"\",\"\"),0,0,0),kt.EMPTY_SOURCE_SPAN=new Jn(kt.EMPTY_PARSE_LOCATION,kt.EMPTY_PARSE_LOCATION);var bi;(function(fi){fi[fi.WARNING=0]=\"WARNING\",fi[fi.ERROR=1]=\"ERROR\"})(bi=kt.ParseErrorLevel||(kt.ParseErrorLevel={}));var Rr=class{constructor(fi,Ce){let Te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:bi.ERROR;this.span=fi,this.msg=Ce,this.level=Te}contextualMessage(){let fi=this.span.start.getContext(100,3);return fi?`${this.msg} (\"${fi.before}[${bi[this.level]} ->]${fi.after}\")`:this.msg}toString(){let fi=this.span.details?`, ${this.span.details}`:\"\";return`${this.contextualMessage()}: ${this.span.start}${fi}`}};kt.ParseError=Rr;function zr(fi,Ce){let Te=mi.identifierModuleUrl(Ce),Ft=Te!=null?`in ${fi} ${mi.identifierName(Ce)} in ${Te}`:`in ${fi} ${mi.identifierName(Ce)}`,Lt=new dr(\"\",Ft);return new Jn(new Ui(Lt,-1,-1,-1),new Ui(Lt,-1,-1,-1))}kt.typeSourceSpan=zr;function ko(fi,Ce,Te){let Ft=`in ${fi} ${Ce} in ${Te}`,Lt=new dr(\"\",Ft);return new Jn(new Ui(Lt,-1,-1,-1),new Ui(Lt,-1,-1,-1))}kt.r3JitTypeSourceSpan=ko}}),Un=Rn({\"src/utils/front-matter/parse.js\"(kt,Wn){Ct();var mi=new RegExp(\"^(?<startDelimiter>-{3}|\\\\+{3})(?<language>[^\\\\n]*)\\\\n(?:|(?<value>.*?)\\\\n)(?<endDelimiter>\\\\k<startDelimiter>|\\\\.{3})[^\\\\S\\\\n]*(?:\\\\n|$)\",\"s\");function Ui(dr){let Jn=dr.match(mi);if(!Jn)return{content:dr};let{startDelimiter:bi,language:Rr,value:zr=\"\",endDelimiter:ko}=Jn.groups,fi=Rr.trim()||\"yaml\";if(bi===\"+++\"&&(fi=\"toml\"),fi!==\"yaml\"&&bi!==ko)return{content:dr};let[Ce]=Jn;return{frontMatter:{type:\"front-matter\",lang:fi,value:zr,startDelimiter:bi,endDelimiter:ko,raw:Ce.replace(/\\n$/,\"\")},content:Ce.replace(/[^\\n]/g,\" \")+dr.slice(Ce.length)}}Wn.exports=Ui}}),mu=Rn({\"src/utils/get-last.js\"(kt,Wn){Ct();var mi=Ui=>Ui[Ui.length-1];Wn.exports=mi}}),uc=Rn({\"src/common/parser-create-error.js\"(kt,Wn){Ct();function mi(Ui,dr){let Jn=new SyntaxError(Ui+\" (\"+dr.start.line+\":\"+dr.start.column+\")\");return Jn.loc=dr,Jn}Wn.exports=mi}}),Zc={};Ni(Zc,{default:()=>Ku});function Ku(kt){if(typeof kt!=\"string\")throw new TypeError(\"Expected a string\");return kt.replace(/[|\\\\{}()[\\]^$+*?.]/g,\"\\\\$&\").replace(/-/g,\"\\\\x2d\")}var Pd=_i({\"node_modules/escape-string-regexp/index.js\"(){Ct()}}),qu=Rn({\"node_modules/semver/internal/debug.js\"(kt,Wn){Ct();var mi=typeof os==\"object\"&&os.env&&os.env.NODE_DEBUG&&/\\bsemver\\b/i.test(os.env.NODE_DEBUG)?function(){for(var Ui=arguments.length,dr=new Array(Ui),Jn=0;Jn<Ui;Jn++)dr[Jn]=arguments[Jn];return console.error(\"SEMVER\",...dr)}:()=>{};Wn.exports=mi}}),Yu=Rn({\"node_modules/semver/internal/constants.js\"(kt,Wn){Ct();var mi=\"2.0.0\",Ui=256,dr=Number.MAX_SAFE_INTEGER||9007199254740991,Jn=16;Wn.exports={SEMVER_SPEC_VERSION:mi,MAX_LENGTH:Ui,MAX_SAFE_INTEGER:dr,MAX_SAFE_COMPONENT_LENGTH:Jn}}}),xc=Rn({\"node_modules/semver/internal/re.js\"(kt,Wn){Ct();var{MAX_SAFE_COMPONENT_LENGTH:mi}=Yu(),Ui=qu();kt=Wn.exports={};var dr=kt.re=[],Jn=kt.src=[],bi=kt.t={},Rr=0,zr=(ko,fi,Ce)=>{let Te=Rr++;Ui(ko,Te,fi),bi[ko]=Te,Jn[Te]=fi,dr[Te]=new RegExp(fi,Ce?\"g\":void 0)};zr(\"NUMERICIDENTIFIER\",\"0|[1-9]\\\\d*\"),zr(\"NUMERICIDENTIFIERLOOSE\",\"[0-9]+\"),zr(\"NONNUMERICIDENTIFIER\",\"\\\\d*[a-zA-Z-][a-zA-Z0-9-]*\"),zr(\"MAINVERSION\",`(${Jn[bi.NUMERICIDENTIFIER]})\\\\.(${Jn[bi.NUMERICIDENTIFIER]})\\\\.(${Jn[bi.NUMERICIDENTIFIER]})`),zr(\"MAINVERSIONLOOSE\",`(${Jn[bi.NUMERICIDENTIFIERLOOSE]})\\\\.(${Jn[bi.NUMERICIDENTIFIERLOOSE]})\\\\.(${Jn[bi.NUMERICIDENTIFIERLOOSE]})`),zr(\"PRERELEASEIDENTIFIER\",`(?:${Jn[bi.NUMERICIDENTIFIER]}|${Jn[bi.NONNUMERICIDENTIFIER]})`),zr(\"PRERELEASEIDENTIFIERLOOSE\",`(?:${Jn[bi.NUMERICIDENTIFIERLOOSE]}|${Jn[bi.NONNUMERICIDENTIFIER]})`),zr(\"PRERELEASE\",`(?:-(${Jn[bi.PRERELEASEIDENTIFIER]}(?:\\\\.${Jn[bi.PRERELEASEIDENTIFIER]})*))`),zr(\"PRERELEASELOOSE\",`(?:-?(${Jn[bi.PRERELEASEIDENTIFIERLOOSE]}(?:\\\\.${Jn[bi.PRERELEASEIDENTIFIERLOOSE]})*))`),zr(\"BUILDIDENTIFIER\",\"[0-9A-Za-z-]+\"),zr(\"BUILD\",`(?:\\\\+(${Jn[bi.BUILDIDENTIFIER]}(?:\\\\.${Jn[bi.BUILDIDENTIFIER]})*))`),zr(\"FULLPLAIN\",`v?${Jn[bi.MAINVERSION]}${Jn[bi.PRERELEASE]}?${Jn[bi.BUILD]}?`),zr(\"FULL\",`^${Jn[bi.FULLPLAIN]}$`),zr(\"LOOSEPLAIN\",`[v=\\\\s]*${Jn[bi.MAINVERSIONLOOSE]}${Jn[bi.PRERELEASELOOSE]}?${Jn[bi.BUILD]}?`),zr(\"LOOSE\",`^${Jn[bi.LOOSEPLAIN]}$`),zr(\"GTLT\",\"((?:<|>)?=?)\"),zr(\"XRANGEIDENTIFIERLOOSE\",`${Jn[bi.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`),zr(\"XRANGEIDENTIFIER\",`${Jn[bi.NUMERICIDENTIFIER]}|x|X|\\\\*`),zr(\"XRANGEPLAIN\",`[v=\\\\s]*(${Jn[bi.XRANGEIDENTIFIER]})(?:\\\\.(${Jn[bi.XRANGEIDENTIFIER]})(?:\\\\.(${Jn[bi.XRANGEIDENTIFIER]})(?:${Jn[bi.PRERELEASE]})?${Jn[bi.BUILD]}?)?)?`),zr(\"XRANGEPLAINLOOSE\",`[v=\\\\s]*(${Jn[bi.XRANGEIDENTIFIERLOOSE]})(?:\\\\.(${Jn[bi.XRANGEIDENTIFIERLOOSE]})(?:\\\\.(${Jn[bi.XRANGEIDENTIFIERLOOSE]})(?:${Jn[bi.PRERELEASELOOSE]})?${Jn[bi.BUILD]}?)?)?`),zr(\"XRANGE\",`^${Jn[bi.GTLT]}\\\\s*${Jn[bi.XRANGEPLAIN]}$`),zr(\"XRANGELOOSE\",`^${Jn[bi.GTLT]}\\\\s*${Jn[bi.XRANGEPLAINLOOSE]}$`),zr(\"COERCE\",`(^|[^\\\\d])(\\\\d{1,${mi}})(?:\\\\.(\\\\d{1,${mi}}))?(?:\\\\.(\\\\d{1,${mi}}))?(?:$|[^\\\\d])`),zr(\"COERCERTL\",Jn[bi.COERCE],!0),zr(\"LONETILDE\",\"(?:~>?)\"),zr(\"TILDETRIM\",`(\\\\s*)${Jn[bi.LONETILDE]}\\\\s+`,!0),kt.tildeTrimReplace=\"$1~\",zr(\"TILDE\",`^${Jn[bi.LONETILDE]}${Jn[bi.XRANGEPLAIN]}$`),zr(\"TILDELOOSE\",`^${Jn[bi.LONETILDE]}${Jn[bi.XRANGEPLAINLOOSE]}$`),zr(\"LONECARET\",\"(?:\\\\^)\"),zr(\"CARETTRIM\",`(\\\\s*)${Jn[bi.LONECARET]}\\\\s+`,!0),kt.caretTrimReplace=\"$1^\",zr(\"CARET\",`^${Jn[bi.LONECARET]}${Jn[bi.XRANGEPLAIN]}$`),zr(\"CARETLOOSE\",`^${Jn[bi.LONECARET]}${Jn[bi.XRANGEPLAINLOOSE]}$`),zr(\"COMPARATORLOOSE\",`^${Jn[bi.GTLT]}\\\\s*(${Jn[bi.LOOSEPLAIN]})$|^$`),zr(\"COMPARATOR\",`^${Jn[bi.GTLT]}\\\\s*(${Jn[bi.FULLPLAIN]})$|^$`),zr(\"COMPARATORTRIM\",`(\\\\s*)${Jn[bi.GTLT]}\\\\s*(${Jn[bi.LOOSEPLAIN]}|${Jn[bi.XRANGEPLAIN]})`,!0),kt.comparatorTrimReplace=\"$1$2$3\",zr(\"HYPHENRANGE\",`^\\\\s*(${Jn[bi.XRANGEPLAIN]})\\\\s+-\\\\s+(${Jn[bi.XRANGEPLAIN]})\\\\s*$`),zr(\"HYPHENRANGELOOSE\",`^\\\\s*(${Jn[bi.XRANGEPLAINLOOSE]})\\\\s+-\\\\s+(${Jn[bi.XRANGEPLAINLOOSE]})\\\\s*$`),zr(\"STAR\",\"(<|>)?=?\\\\s*\\\\*\"),zr(\"GTE0\",\"^\\\\s*>=\\\\s*0\\\\.0\\\\.0\\\\s*$\"),zr(\"GTE0PRE\",\"^\\\\s*>=\\\\s*0\\\\.0\\\\.0-0\\\\s*$\")}}),Vc=Rn({\"node_modules/semver/internal/parse-options.js\"(kt,Wn){Ct();var mi=[\"includePrerelease\",\"loose\",\"rtl\"],Ui=dr=>dr?typeof dr!=\"object\"?{loose:!0}:mi.filter(Jn=>dr[Jn]).reduce((Jn,bi)=>(Jn[bi]=!0,Jn),{}):{};Wn.exports=Ui}}),ep=Rn({\"node_modules/semver/internal/identifiers.js\"(kt,Wn){Ct();var mi=/^[0-9]+$/,Ui=(Jn,bi)=>{let Rr=mi.test(Jn),zr=mi.test(bi);return Rr&&zr&&(Jn=+Jn,bi=+bi),Jn===bi?0:Rr&&!zr?-1:zr&&!Rr?1:Jn<bi?-1:1},dr=(Jn,bi)=>Ui(bi,Jn);Wn.exports={compareIdentifiers:Ui,rcompareIdentifiers:dr}}}),Od=Rn({\"node_modules/semver/classes/semver.js\"(kt,Wn){Ct();var mi=qu(),{MAX_LENGTH:Ui,MAX_SAFE_INTEGER:dr}=Yu(),{re:Jn,t:bi}=xc(),Rr=Vc(),{compareIdentifiers:zr}=ep(),ko=class{constructor(fi,Ce){if(Ce=Rr(Ce),fi instanceof ko){if(fi.loose===!!Ce.loose&&fi.includePrerelease===!!Ce.includePrerelease)return fi;fi=fi.version}else if(typeof fi!=\"string\")throw new TypeError(`Invalid Version: ${fi}`);if(fi.length>Ui)throw new TypeError(`version is longer than ${Ui} characters`);mi(\"SemVer\",fi,Ce),this.options=Ce,this.loose=!!Ce.loose,this.includePrerelease=!!Ce.includePrerelease;let Te=fi.trim().match(Ce.loose?Jn[bi.LOOSE]:Jn[bi.FULL]);if(!Te)throw new TypeError(`Invalid Version: ${fi}`);if(this.raw=fi,this.major=+Te[1],this.minor=+Te[2],this.patch=+Te[3],this.major>dr||this.major<0)throw new TypeError(\"Invalid major version\");if(this.minor>dr||this.minor<0)throw new TypeError(\"Invalid minor version\");if(this.patch>dr||this.patch<0)throw new TypeError(\"Invalid patch version\");Te[4]?this.prerelease=Te[4].split(\".\").map(Ft=>{if(/^[0-9]+$/.test(Ft)){let Lt=+Ft;if(Lt>=0&&Lt<dr)return Lt}return Ft}):this.prerelease=[],this.build=Te[5]?Te[5].split(\".\"):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(\".\")}`),this.version}toString(){return this.version}compare(fi){if(mi(\"SemVer.compare\",this.version,this.options,fi),!(fi instanceof ko)){if(typeof fi==\"string\"&&fi===this.version)return 0;fi=new ko(fi,this.options)}return fi.version===this.version?0:this.compareMain(fi)||this.comparePre(fi)}compareMain(fi){return fi instanceof ko||(fi=new ko(fi,this.options)),zr(this.major,fi.major)||zr(this.minor,fi.minor)||zr(this.patch,fi.patch)}comparePre(fi){if(fi instanceof ko||(fi=new ko(fi,this.options)),this.prerelease.length&&!fi.prerelease.length)return-1;if(!this.prerelease.length&&fi.prerelease.length)return 1;if(!this.prerelease.length&&!fi.prerelease.length)return 0;let Ce=0;do{let Te=this.prerelease[Ce],Ft=fi.prerelease[Ce];if(mi(\"prerelease compare\",Ce,Te,Ft),Te===void 0&&Ft===void 0)return 0;if(Ft===void 0)return 1;if(Te===void 0)return-1;if(Te!==Ft)return zr(Te,Ft)}while(++Ce)}compareBuild(fi){fi instanceof ko||(fi=new ko(fi,this.options));let Ce=0;do{let Te=this.build[Ce],Ft=fi.build[Ce];if(mi(\"prerelease compare\",Ce,Te,Ft),Te===void 0&&Ft===void 0)return 0;if(Ft===void 0)return 1;if(Te===void 0)return-1;if(Te!==Ft)return zr(Te,Ft)}while(++Ce)}inc(fi,Ce){switch(fi){case\"premajor\":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc(\"pre\",Ce);break;case\"preminor\":this.prerelease.length=0,this.patch=0,this.minor++,this.inc(\"pre\",Ce);break;case\"prepatch\":this.prerelease.length=0,this.inc(\"patch\",Ce),this.inc(\"pre\",Ce);break;case\"prerelease\":this.prerelease.length===0&&this.inc(\"patch\",Ce),this.inc(\"pre\",Ce);break;case\"major\":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case\"minor\":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case\"patch\":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case\"pre\":if(this.prerelease.length===0)this.prerelease=[0];else{let Te=this.prerelease.length;for(;--Te>=0;)typeof this.prerelease[Te]==\"number\"&&(this.prerelease[Te]++,Te=-2);Te===-1&&this.prerelease.push(0)}Ce&&(zr(this.prerelease[0],Ce)===0?isNaN(this.prerelease[1])&&(this.prerelease=[Ce,0]):this.prerelease=[Ce,0]);break;default:throw new Error(`invalid increment argument: ${fi}`)}return this.format(),this.raw=this.version,this}};Wn.exports=ko}}),gl=Rn({\"node_modules/semver/functions/compare.js\"(kt,Wn){Ct();var mi=Od(),Ui=(dr,Jn,bi)=>new mi(dr,bi).compare(new mi(Jn,bi));Wn.exports=Ui}}),Md=Rn({\"node_modules/semver/functions/lt.js\"(kt,Wn){Ct();var mi=gl(),Ui=(dr,Jn,bi)=>mi(dr,Jn,bi)<0;Wn.exports=Ui}}),oh=Rn({\"node_modules/semver/functions/gte.js\"(kt,Wn){Ct();var mi=gl(),Ui=(dr,Jn,bi)=>mi(dr,Jn,bi)>=0;Wn.exports=Ui}}),bf=Rn({\"src/utils/arrayify.js\"(kt,Wn){Ct(),Wn.exports=(mi,Ui)=>Object.entries(mi).map(dr=>{let[Jn,bi]=dr;return Object.assign({[Ui]:Jn},bi)})}}),vf=Rn({\"package.json\"(kt,Wn){Wn.exports={version:\"2.8.8\"}}}),Wp=Rn({\"node_modules/outdent/lib/index.js\"(kt,Wn){Ct(),Object.defineProperty(kt,\"__esModule\",{value:!0}),kt.outdent=void 0;function mi(){for(var si=[],Ur=0;Ur<arguments.length;Ur++)si[Ur]=arguments[Ur]}function Ui(){return typeof WeakMap<\"u\"?new WeakMap:dr()}function dr(){return{add:mi,delete:mi,get:mi,set:mi,has:function(si){return!1}}}var Jn=Object.prototype.hasOwnProperty,bi=function(si,Ur){return Jn.call(si,Ur)};function Rr(si,Ur){for(var Xr in Ur)bi(Ur,Xr)&&(si[Xr]=Ur[Xr]);return si}var zr=/^[ \\t]*(?:\\r\\n|\\r|\\n)/,ko=/(?:\\r\\n|\\r|\\n)[ \\t]*$/,fi=/^(?:[\\r\\n]|$)/,Ce=/(?:\\r\\n|\\r|\\n)([ \\t]*)(?:[^ \\t\\r\\n]|$)/,Te=/^[ \\t]*[\\r\\n][ \\t\\r\\n]*$/;function Ft(si,Ur,Xr){var eo=0,Br=si[0].match(Ce);Br&&(eo=Br[1].length);var Oo=\"(\\\\r\\\\n|\\\\r|\\\\n).{0,\"+eo+\"}\",Ko=new RegExp(Oo,\"g\");Ur&&(si=si.slice(1));var Ho=Xr.newline,ba=Xr.trimLeadingNewline,$t=Xr.trimTrailingNewline,Kn=typeof Ho==\"string\",Nr=si.length,nr=si.map(function(ps,ga){return ps=ps.replace(Ko,\"$1\"),ga===0&&ba&&(ps=ps.replace(zr,\"\")),ga===Nr-1&&$t&&(ps=ps.replace(ko,\"\")),Kn&&(ps=ps.replace(/\\r\\n|\\n|\\r/g,function(Yl){return Ho})),ps});return nr}function Lt(si,Ur){for(var Xr=\"\",eo=0,Br=si.length;eo<Br;eo++)Xr+=si[eo],eo<Br-1&&(Xr+=Ur[eo]);return Xr}function nn(si){return bi(si,\"raw\")&&bi(si,\"length\")}function Nn(si){var Ur=Ui(),Xr=Ui();function eo(Oo){for(var Ko=[],Ho=1;Ho<arguments.length;Ho++)Ko[Ho-1]=arguments[Ho];if(nn(Oo)){var ba=Oo,$t=(Ko[0]===eo||Ko[0]===Pi)&&Te.test(ba[0])&&fi.test(ba[1]),Kn=$t?Xr:Ur,Nr=Kn.get(ba);if(Nr||(Nr=Ft(ba,$t,si),Kn.set(ba,Nr)),Ko.length===0)return Nr[0];var nr=Lt(Nr,$t?Ko.slice(1):Ko);return nr}else return Nn(Rr(Rr({},si),Oo||{}))}var Br=Rr(eo,{string:function(Oo){return Ft([Oo],!1,si)[0]}});return Br}var Pi=Nn({trimLeadingNewline:!0,trimTrailingNewline:!0});if(kt.outdent=Pi,kt.default=Pi,typeof Wn<\"u\")try{Wn.exports=Pi,Object.defineProperty(Pi,\"__esModule\",{value:!0}),Pi.default=Pi,Pi.outdent=Pi}catch{}}}),Cf=Rn({\"src/main/core-options.js\"(kt,Wn){Ct();var{outdent:mi}=Wp(),Ui=\"Config\",dr=\"Editor\",Jn=\"Format\",bi=\"Other\",Rr=\"Output\",zr=\"Global\",ko=\"Special\",fi={cursorOffset:{since:\"1.4.0\",category:ko,type:\"int\",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:mi`\n      Print (to stderr) where a cursor at the given position would move to after formatting.\n      This option cannot be used with --range-start and --range-end.\n    `,cliCategory:dr},endOfLine:{since:\"1.15.0\",category:zr,type:\"choice\",default:[{since:\"1.15.0\",value:\"auto\"},{since:\"2.0.0\",value:\"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:mi`\n          Maintain existing\n          (mixed values within one file are normalised by looking at what's used after the first line)\n        `}]},filepath:{since:\"1.4.0\",category:ko,type:\"path\",description:\"Specify the input filepath. This will be used to do parser inference.\",cliName:\"stdin-filepath\",cliCategory:bi,cliDescription:\"Path to the file to pretend that stdin comes from.\"},insertPragma:{since:\"1.8.0\",category:ko,type:\"boolean\",default:!1,description:\"Insert @format pragma into file's first docblock comment.\",cliCategory:bi},parser:{since:\"0.0.10\",category:zr,type:\"choice\",default:[{since:\"0.0.10\",value:\"babylon\"},{since:\"1.13.0\",value:void 0}],description:\"Which parser to use.\",exception:Ce=>typeof Ce==\"string\"||typeof Ce==\"function\",choices:[{value:\"flow\",description:\"Flow\"},{value:\"babel\",since:\"1.16.0\",description:\"JavaScript\"},{value:\"babel-flow\",since:\"1.16.0\",description:\"Flow\"},{value:\"babel-ts\",since:\"2.0.0\",description:\"TypeScript\"},{value:\"typescript\",since:\"1.4.0\",description:\"TypeScript\"},{value:\"acorn\",since:\"2.6.0\",description:\"JavaScript\"},{value:\"espree\",since:\"2.2.0\",description:\"JavaScript\"},{value:\"meriyah\",since:\"2.2.0\",description:\"JavaScript\"},{value:\"css\",since:\"1.7.1\",description:\"CSS\"},{value:\"less\",since:\"1.7.1\",description:\"Less\"},{value:\"scss\",since:\"1.7.1\",description:\"SCSS\"},{value:\"json\",since:\"1.5.0\",description:\"JSON\"},{value:\"json5\",since:\"1.13.0\",description:\"JSON5\"},{value:\"json-stringify\",since:\"1.13.0\",description:\"JSON.stringify\"},{value:\"graphql\",since:\"1.5.0\",description:\"GraphQL\"},{value:\"markdown\",since:\"1.8.0\",description:\"Markdown\"},{value:\"mdx\",since:\"1.15.0\",description:\"MDX\"},{value:\"vue\",since:\"1.10.0\",description:\"Vue\"},{value:\"yaml\",since:\"1.14.0\",description:\"YAML\"},{value:\"glimmer\",since:\"2.3.0\",description:\"Ember / Handlebars\"},{value:\"html\",since:\"1.15.0\",description:\"HTML\"},{value:\"angular\",since:\"1.15.0\",description:\"Angular\"},{value:\"lwc\",since:\"1.17.0\",description:\"Lightning Web Components\"}]},plugins:{since:\"1.10.0\",type:\"path\",array:!0,default:[{value:[]}],category:zr,description:\"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.\",exception:Ce=>typeof Ce==\"string\"||typeof Ce==\"object\",cliName:\"plugin\",cliCategory:Ui},pluginSearchDirs:{since:\"1.13.0\",type:\"path\",array:!0,default:[{value:[]}],category:zr,description:mi`\n      Custom directory that contains prettier plugins in node_modules subdirectory.\n      Overrides default behavior when plugins are searched relatively to the location of Prettier.\n      Multiple values are accepted.\n    `,exception:Ce=>typeof Ce==\"string\"||typeof Ce==\"object\",cliName:\"plugin-search-dir\",cliCategory:Ui},printWidth:{since:\"0.0.0\",category:zr,type:\"int\",default:80,description:\"The line length where Prettier will try wrap.\",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:\"1.4.0\",category:ko,type:\"int\",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:mi`\n      Format code ending at a given character offset (exclusive).\n      The range will extend forwards to the end of the selected statement.\n      This option cannot be used with --cursor-offset.\n    `,cliCategory:dr},rangeStart:{since:\"1.4.0\",category:ko,type:\"int\",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:mi`\n      Format code starting at a given character offset.\n      The range will extend backwards to the start of the first line containing the selected statement.\n      This option cannot be used with --cursor-offset.\n    `,cliCategory:dr},requirePragma:{since:\"1.7.0\",category:ko,type:\"boolean\",default:!1,description:mi`\n      Require either '@prettier' or '@format' to be present in the file's first docblock comment\n      in order for it to be formatted.\n    `,cliCategory:bi},tabWidth:{type:\"int\",category:zr,default:2,description:\"Number of spaces per indentation level.\",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:\"1.0.0\",category:zr,type:\"boolean\",default:!1,description:\"Indent with tabs instead of spaces.\"},embeddedLanguageFormatting:{since:\"2.1.0\",category:zr,type:\"choice\",default:[{since:\"2.1.0\",value:\"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.\"}]}};Wn.exports={CATEGORY_CONFIG:Ui,CATEGORY_EDITOR:dr,CATEGORY_FORMAT:Jn,CATEGORY_OTHER:bi,CATEGORY_OUTPUT:Rr,CATEGORY_GLOBAL:zr,CATEGORY_SPECIAL:ko,options:fi}}}),Vp=Rn({\"src/main/support.js\"(kt,Wn){Ct();var mi={compare:gl(),lt:Md(),gte:oh()},Ui=bf(),dr=vf().version,Jn=Cf().options;function bi(){let{plugins:zr=[],showUnreleased:ko=!1,showDeprecated:fi=!1,showInternal:Ce=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Te=dr.split(\"-\",1)[0],Ft=zr.flatMap(si=>si.languages||[]).filter(nn),Lt=Ui(Object.assign({},...zr.map(si=>{let{options:Ur}=si;return Ur}),Jn),\"name\").filter(si=>nn(si)&&Nn(si)).sort((si,Ur)=>si.name===Ur.name?0:si.name<Ur.name?-1:1).map(Pi).map(si=>{si=Object.assign({},si),Array.isArray(si.default)&&(si.default=si.default.length===1?si.default[0].value:si.default.filter(nn).sort((Xr,eo)=>mi.compare(eo.since,Xr.since))[0].value),Array.isArray(si.choices)&&(si.choices=si.choices.filter(Xr=>nn(Xr)&&Nn(Xr)),si.name===\"parser\"&&Rr(si,Ft,zr));let Ur=Object.fromEntries(zr.filter(Xr=>Xr.defaultOptions&&Xr.defaultOptions[si.name]!==void 0).map(Xr=>[Xr.name,Xr.defaultOptions[si.name]]));return Object.assign(Object.assign({},si),{},{pluginDefaults:Ur})});return{languages:Ft,options:Lt};function nn(si){return ko||!(\"since\"in si)||si.since&&mi.gte(Te,si.since)}function Nn(si){return fi||!(\"deprecated\"in si)||si.deprecated&&mi.lt(Te,si.deprecated)}function Pi(si){return Ce?si:Rt(si,ot)}}function Rr(zr,ko,fi){let Ce=new Set(zr.choices.map(Te=>Te.value));for(let Te of ko)if(Te.parsers){for(let Ft of Te.parsers)if(!Ce.has(Ft)){Ce.add(Ft);let Lt=fi.find(Nn=>Nn.parsers&&Nn.parsers[Ft]),nn=Te.name;Lt&&Lt.name&&(nn+=` (plugin: ${Lt.name})`),zr.choices.push({value:Ft,description:nn})}}}Wn.exports={getSupportInfo:bi}}}),hd=Rn({\"src/utils/is-non-empty-array.js\"(kt,Wn){Ct();function mi(Ui){return Array.isArray(Ui)&&Ui.length>0}Wn.exports=mi}});function tp(){let{onlyFirst:kt=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Wn=[\"[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]+)*|[a-zA-Z\\\\d]+(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)\",\"(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PR-TZcf-ntqry=><~]))\"].join(\"|\");return new RegExp(Wn,kt?void 0:\"g\")}var Ia=_i({\"node_modules/strip-ansi/node_modules/ansi-regex/index.js\"(){Ct()}});function eg(kt){if(typeof kt!=\"string\")throw new TypeError(`Expected a \\`string\\`, got \\`${typeof kt}\\``);return kt.replace(tp(),\"\")}var $g=_i({\"node_modules/strip-ansi/index.js\"(){Ct(),Ia()}});function ed(kt){return Number.isInteger(kt)?kt>=4352&&(kt<=4447||kt===9001||kt===9002||11904<=kt&&kt<=12871&&kt!==12351||12880<=kt&&kt<=19903||19968<=kt&&kt<=42182||43360<=kt&&kt<=43388||44032<=kt&&kt<=55203||63744<=kt&&kt<=64255||65040<=kt&&kt<=65049||65072<=kt&&kt<=65131||65281<=kt&&kt<=65376||65504<=kt&&kt<=65510||110592<=kt&&kt<=110593||127488<=kt&&kt<=127569||131072<=kt&&kt<=262141):!1}var Hp=_i({\"node_modules/is-fullwidth-code-point/index.js\"(){Ct()}}),Ke=Rn({\"node_modules/emoji-regex/index.js\"(kt,Wn){Ct(),Wn.exports=function(){return/\\uD83C\\uDFF4\\uDB40\\uDC67\\uDB40\\uDC62(?:\\uDB40\\uDC77\\uDB40\\uDC6C\\uDB40\\uDC73|\\uDB40\\uDC73\\uDB40\\uDC63\\uDB40\\uDC74|\\uDB40\\uDC65\\uDB40\\uDC6E\\uDB40\\uDC67)\\uDB40\\uDC7F|(?:\\uD83E\\uDDD1\\uD83C\\uDFFF\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFF\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFB-\\uDFFE])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFE\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFE\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFB-\\uDFFD\\uDFFF])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFD\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFD\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFC\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFC\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFB\\uDFFD-\\uDFFF])|(?:\\uD83E\\uDDD1\\uD83C\\uDFFB\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83E\\uDDD1|\\uD83D\\uDC69\\uD83C\\uDFFB\\u200D\\uD83E\\uDD1D\\u200D(?:\\uD83D[\\uDC68\\uDC69]))(?:\\uD83C[\\uDFFC-\\uDFFF])|\\uD83D\\uDC68(?:\\uD83C\\uDFFB(?:\\u200D(?:\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFF]))|\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFC-\\uDFFF])|[\\u2695\\u2696\\u2708]\\uFE0F|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD]))?|(?:\\uD83C[\\uDFFC-\\uDFFF])\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFF]))|\\u200D(?:\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D)?\\uD83D\\uDC68|(?:\\uD83D[\\uDC68\\uDC69])\\u200D(?:\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67]))|\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFF\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFE])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFE\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB-\\uDFFD\\uDFFF])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFD\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB\\uDFFC\\uDFFE\\uDFFF])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFC\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83D\\uDC68(?:\\uD83C[\\uDFFB\\uDFFD-\\uDFFF])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|(?:\\uD83C\\uDFFF\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFE\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFD\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFC\\u200D[\\u2695\\u2696\\u2708]|\\u200D[\\u2695\\u2696\\u2708])\\uFE0F|\\u200D(?:(?:\\uD83D[\\uDC68\\uDC69])\\u200D(?:\\uD83D[\\uDC66\\uDC67])|\\uD83D[\\uDC66\\uDC67])|\\uD83C\\uDFFF|\\uD83C\\uDFFE|\\uD83C\\uDFFD|\\uD83C\\uDFFC)?|(?:\\uD83D\\uDC69(?:\\uD83C\\uDFFB\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D(?:\\uD83D[\\uDC68\\uDC69])|\\uD83D[\\uDC68\\uDC69])|(?:\\uD83C[\\uDFFC-\\uDFFF])\\u200D\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D(?:\\uD83D[\\uDC68\\uDC69])|\\uD83D[\\uDC68\\uDC69]))|\\uD83E\\uDDD1(?:\\uD83C[\\uDFFB-\\uDFFF])\\u200D\\uD83E\\uDD1D\\u200D\\uD83E\\uDDD1)(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83D\\uDC69\\u200D\\uD83D\\uDC69\\u200D(?:\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67]))|\\uD83D\\uDC69(?:\\u200D(?:\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDC8B\\u200D(?:\\uD83D[\\uDC68\\uDC69])|\\uD83D[\\uDC68\\uDC69])|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFF\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFE\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFD\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFC\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFB\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD]))|\\uD83E\\uDDD1(?:\\u200D(?:\\uD83E\\uDD1D\\u200D\\uD83E\\uDDD1|\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFF\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFE\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFD\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFC\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD])|\\uD83C\\uDFFB\\u200D(?:\\uD83C[\\uDF3E\\uDF73\\uDF7C\\uDF84\\uDF93\\uDFA4\\uDFA8\\uDFEB\\uDFED]|\\uD83D[\\uDCBB\\uDCBC\\uDD27\\uDD2C\\uDE80\\uDE92]|\\uD83E[\\uDDAF-\\uDDB3\\uDDBC\\uDDBD]))|\\uD83D\\uDC69\\u200D\\uD83D\\uDC66\\u200D\\uD83D\\uDC66|\\uD83D\\uDC69\\u200D\\uD83D\\uDC69\\u200D(?:\\uD83D[\\uDC66\\uDC67])|\\uD83D\\uDC69\\u200D\\uD83D\\uDC67\\u200D(?:\\uD83D[\\uDC66\\uDC67])|(?:\\uD83D\\uDC41\\uFE0F\\u200D\\uD83D\\uDDE8|\\uD83E\\uDDD1(?:\\uD83C\\uDFFF\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFE\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFD\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFC\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFB\\u200D[\\u2695\\u2696\\u2708]|\\u200D[\\u2695\\u2696\\u2708])|\\uD83D\\uDC69(?:\\uD83C\\uDFFF\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFE\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFD\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFC\\u200D[\\u2695\\u2696\\u2708]|\\uD83C\\uDFFB\\u200D[\\u2695\\u2696\\u2708]|\\u200D[\\u2695\\u2696\\u2708])|\\uD83D\\uDE36\\u200D\\uD83C\\uDF2B|\\uD83C\\uDFF3\\uFE0F\\u200D\\u26A7|\\uD83D\\uDC3B\\u200D\\u2744|(?:(?:\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC70\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD35\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD4\\uDDD6-\\uDDDD])(?:\\uD83C[\\uDFFB-\\uDFFF])|\\uD83D\\uDC6F|\\uD83E[\\uDD3C\\uDDDE\\uDDDF])\\u200D[\\u2640\\u2642]|(?:\\u26F9|\\uD83C[\\uDFCB\\uDFCC]|\\uD83D\\uDD75)(?:\\uFE0F|\\uD83C[\\uDFFB-\\uDFFF])\\u200D[\\u2640\\u2642]|\\uD83C\\uDFF4\\u200D\\u2620|(?:\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC70\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD35\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD4\\uDDD6-\\uDDDD])\\u200D[\\u2640\\u2642]|[\\xA9\\xAE\\u203C\\u2049\\u2122\\u2139\\u2194-\\u2199\\u21A9\\u21AA\\u2328\\u23CF\\u23ED-\\u23EF\\u23F1\\u23F2\\u23F8-\\u23FA\\u24C2\\u25AA\\u25AB\\u25B6\\u25C0\\u25FB\\u25FC\\u2600-\\u2604\\u260E\\u2611\\u2618\\u2620\\u2622\\u2623\\u2626\\u262A\\u262E\\u262F\\u2638-\\u263A\\u2640\\u2642\\u265F\\u2660\\u2663\\u2665\\u2666\\u2668\\u267B\\u267E\\u2692\\u2694-\\u2697\\u2699\\u269B\\u269C\\u26A0\\u26A7\\u26B0\\u26B1\\u26C8\\u26CF\\u26D1\\u26D3\\u26E9\\u26F0\\u26F1\\u26F4\\u26F7\\u26F8\\u2702\\u2708\\u2709\\u270F\\u2712\\u2714\\u2716\\u271D\\u2721\\u2733\\u2734\\u2744\\u2747\\u2763\\u27A1\\u2934\\u2935\\u2B05-\\u2B07\\u3030\\u303D\\u3297\\u3299]|\\uD83C[\\uDD70\\uDD71\\uDD7E\\uDD7F\\uDE02\\uDE37\\uDF21\\uDF24-\\uDF2C\\uDF36\\uDF7D\\uDF96\\uDF97\\uDF99-\\uDF9B\\uDF9E\\uDF9F\\uDFCD\\uDFCE\\uDFD4-\\uDFDF\\uDFF5\\uDFF7]|\\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|\\uD83C\\uDFF3\\uFE0F\\u200D\\uD83C\\uDF08|\\uD83D\\uDC69\\u200D\\uD83D\\uDC67|\\uD83D\\uDC69\\u200D\\uD83D\\uDC66|\\uD83D\\uDE35\\u200D\\uD83D\\uDCAB|\\uD83D\\uDE2E\\u200D\\uD83D\\uDCA8|\\uD83D\\uDC15\\u200D\\uD83E\\uDDBA|\\uD83E\\uDDD1(?:\\uD83C\\uDFFF|\\uD83C\\uDFFE|\\uD83C\\uDFFD|\\uD83C\\uDFFC|\\uD83C\\uDFFB)?|\\uD83D\\uDC69(?:\\uD83C\\uDFFF|\\uD83C\\uDFFE|\\uD83C\\uDFFD|\\uD83C\\uDFFC|\\uD83C\\uDFFB)?|\\uD83C\\uDDFD\\uD83C\\uDDF0|\\uD83C\\uDDF6\\uD83C\\uDDE6|\\uD83C\\uDDF4\\uD83C\\uDDF2|\\uD83D\\uDC08\\u200D\\u2B1B|\\u2764\\uFE0F\\u200D(?:\\uD83D\\uDD25|\\uD83E\\uDE79)|\\uD83D\\uDC41\\uFE0F|\\uD83C\\uDFF3\\uFE0F|\\uD83C\\uDDFF(?:\\uD83C[\\uDDE6\\uDDF2\\uDDFC])|\\uD83C\\uDDFE(?:\\uD83C[\\uDDEA\\uDDF9])|\\uD83C\\uDDFC(?:\\uD83C[\\uDDEB\\uDDF8])|\\uD83C\\uDDFB(?:\\uD83C[\\uDDE6\\uDDE8\\uDDEA\\uDDEC\\uDDEE\\uDDF3\\uDDFA])|\\uD83C\\uDDFA(?:\\uD83C[\\uDDE6\\uDDEC\\uDDF2\\uDDF3\\uDDF8\\uDDFE\\uDDFF])|\\uD83C\\uDDF9(?:\\uD83C[\\uDDE6\\uDDE8\\uDDE9\\uDDEB-\\uDDED\\uDDEF-\\uDDF4\\uDDF7\\uDDF9\\uDDFB\\uDDFC\\uDDFF])|\\uD83C\\uDDF8(?:\\uD83C[\\uDDE6-\\uDDEA\\uDDEC-\\uDDF4\\uDDF7-\\uDDF9\\uDDFB\\uDDFD-\\uDDFF])|\\uD83C\\uDDF7(?:\\uD83C[\\uDDEA\\uDDF4\\uDDF8\\uDDFA\\uDDFC])|\\uD83C\\uDDF5(?:\\uD83C[\\uDDE6\\uDDEA-\\uDDED\\uDDF0-\\uDDF3\\uDDF7-\\uDDF9\\uDDFC\\uDDFE])|\\uD83C\\uDDF3(?:\\uD83C[\\uDDE6\\uDDE8\\uDDEA-\\uDDEC\\uDDEE\\uDDF1\\uDDF4\\uDDF5\\uDDF7\\uDDFA\\uDDFF])|\\uD83C\\uDDF2(?:\\uD83C[\\uDDE6\\uDDE8-\\uDDED\\uDDF0-\\uDDFF])|\\uD83C\\uDDF1(?:\\uD83C[\\uDDE6-\\uDDE8\\uDDEE\\uDDF0\\uDDF7-\\uDDFB\\uDDFE])|\\uD83C\\uDDF0(?:\\uD83C[\\uDDEA\\uDDEC-\\uDDEE\\uDDF2\\uDDF3\\uDDF5\\uDDF7\\uDDFC\\uDDFE\\uDDFF])|\\uD83C\\uDDEF(?:\\uD83C[\\uDDEA\\uDDF2\\uDDF4\\uDDF5])|\\uD83C\\uDDEE(?:\\uD83C[\\uDDE8-\\uDDEA\\uDDF1-\\uDDF4\\uDDF6-\\uDDF9])|\\uD83C\\uDDED(?:\\uD83C[\\uDDF0\\uDDF2\\uDDF3\\uDDF7\\uDDF9\\uDDFA])|\\uD83C\\uDDEC(?:\\uD83C[\\uDDE6\\uDDE7\\uDDE9-\\uDDEE\\uDDF1-\\uDDF3\\uDDF5-\\uDDFA\\uDDFC\\uDDFE])|\\uD83C\\uDDEB(?:\\uD83C[\\uDDEE-\\uDDF0\\uDDF2\\uDDF4\\uDDF7])|\\uD83C\\uDDEA(?:\\uD83C[\\uDDE6\\uDDE8\\uDDEA\\uDDEC\\uDDED\\uDDF7-\\uDDFA])|\\uD83C\\uDDE9(?:\\uD83C[\\uDDEA\\uDDEC\\uDDEF\\uDDF0\\uDDF2\\uDDF4\\uDDFF])|\\uD83C\\uDDE8(?:\\uD83C[\\uDDE6\\uDDE8\\uDDE9\\uDDEB-\\uDDEE\\uDDF0-\\uDDF5\\uDDF7\\uDDFA-\\uDDFF])|\\uD83C\\uDDE7(?:\\uD83C[\\uDDE6\\uDDE7\\uDDE9-\\uDDEF\\uDDF1-\\uDDF4\\uDDF6-\\uDDF9\\uDDFB\\uDDFC\\uDDFE\\uDDFF])|\\uD83C\\uDDE6(?:\\uD83C[\\uDDE8-\\uDDEC\\uDDEE\\uDDF1\\uDDF2\\uDDF4\\uDDF6-\\uDDFA\\uDDFC\\uDDFD\\uDDFF])|[#\\*0-9]\\uFE0F\\u20E3|\\u2764\\uFE0F|(?:\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC70\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD35\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD4\\uDDD6-\\uDDDD])(?:\\uD83C[\\uDFFB-\\uDFFF])|(?:\\u26F9|\\uD83C[\\uDFCB\\uDFCC]|\\uD83D\\uDD75)(?:\\uFE0F|\\uD83C[\\uDFFB-\\uDFFF])|\\uD83C\\uDFF4|(?:[\\u270A\\u270B]|\\uD83C[\\uDF85\\uDFC2\\uDFC7]|\\uD83D[\\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]|\\uD83E[\\uDD0C\\uDD0F\\uDD18-\\uDD1C\\uDD1E\\uDD1F\\uDD30-\\uDD34\\uDD36\\uDD77\\uDDB5\\uDDB6\\uDDBB\\uDDD2\\uDDD3\\uDDD5])(?:\\uD83C[\\uDFFB-\\uDFFF])|(?:[\\u261D\\u270C\\u270D]|\\uD83D[\\uDD74\\uDD90])(?:\\uFE0F|\\uD83C[\\uDFFB-\\uDFFF])|[\\u270A\\u270B]|\\uD83C[\\uDF85\\uDFC2\\uDFC7]|\\uD83D[\\uDC08\\uDC15\\uDC3B\\uDC42\\uDC43\\uDC46-\\uDC50\\uDC66\\uDC67\\uDC6B-\\uDC6D\\uDC72\\uDC74-\\uDC76\\uDC78\\uDC7C\\uDC83\\uDC85\\uDC8F\\uDC91\\uDCAA\\uDD7A\\uDD95\\uDD96\\uDE2E\\uDE35\\uDE36\\uDE4C\\uDE4F\\uDEC0\\uDECC]|\\uD83E[\\uDD0C\\uDD0F\\uDD18-\\uDD1C\\uDD1E\\uDD1F\\uDD30-\\uDD34\\uDD36\\uDD77\\uDDB5\\uDDB6\\uDDBB\\uDDD2\\uDDD3\\uDDD5]|\\uD83C[\\uDFC3\\uDFC4\\uDFCA]|\\uD83D[\\uDC6E\\uDC70\\uDC71\\uDC73\\uDC77\\uDC81\\uDC82\\uDC86\\uDC87\\uDE45-\\uDE47\\uDE4B\\uDE4D\\uDE4E\\uDEA3\\uDEB4-\\uDEB6]|\\uD83E[\\uDD26\\uDD35\\uDD37-\\uDD39\\uDD3D\\uDD3E\\uDDB8\\uDDB9\\uDDCD-\\uDDCF\\uDDD4\\uDDD6-\\uDDDD]|\\uD83D\\uDC6F|\\uD83E[\\uDD3C\\uDDDE\\uDDDF]|[\\u231A\\u231B\\u23E9-\\u23EC\\u23F0\\u23F3\\u25FD\\u25FE\\u2614\\u2615\\u2648-\\u2653\\u267F\\u2693\\u26A1\\u26AA\\u26AB\\u26BD\\u26BE\\u26C4\\u26C5\\u26CE\\u26D4\\u26EA\\u26F2\\u26F3\\u26F5\\u26FA\\u26FD\\u2705\\u2728\\u274C\\u274E\\u2753-\\u2755\\u2757\\u2795-\\u2797\\u27B0\\u27BF\\u2B1B\\u2B1C\\u2B50\\u2B55]|\\uD83C[\\uDC04\\uDCCF\\uDD8E\\uDD91-\\uDD9A\\uDE01\\uDE1A\\uDE2F\\uDE32-\\uDE36\\uDE38-\\uDE3A\\uDE50\\uDE51\\uDF00-\\uDF20\\uDF2D-\\uDF35\\uDF37-\\uDF7C\\uDF7E-\\uDF84\\uDF86-\\uDF93\\uDFA0-\\uDFC1\\uDFC5\\uDFC6\\uDFC8\\uDFC9\\uDFCF-\\uDFD3\\uDFE0-\\uDFF0\\uDFF8-\\uDFFF]|\\uD83D[\\uDC00-\\uDC07\\uDC09-\\uDC14\\uDC16-\\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-\\uDE44\\uDE48-\\uDE4A\\uDE80-\\uDEA2\\uDEA4-\\uDEB3\\uDEB7-\\uDEBF\\uDEC1-\\uDEC5\\uDED0-\\uDED2\\uDED5-\\uDED7\\uDEEB\\uDEEC\\uDEF4-\\uDEFC\\uDFE0-\\uDFEB]|\\uD83E[\\uDD0D\\uDD0E\\uDD10-\\uDD17\\uDD1D\\uDD20-\\uDD25\\uDD27-\\uDD2F\\uDD3A\\uDD3F-\\uDD45\\uDD47-\\uDD76\\uDD78\\uDD7A-\\uDDB4\\uDDB7\\uDDBA\\uDDBC-\\uDDCB\\uDDD0\\uDDE0-\\uDDFF\\uDE70-\\uDE74\\uDE78-\\uDE7A\\uDE80-\\uDE86\\uDE90-\\uDEA8\\uDEB0-\\uDEB6\\uDEC0-\\uDEC2\\uDED0-\\uDED6]|(?:[\\u231A\\u231B\\u23E9-\\u23EC\\u23F0\\u23F3\\u25FD\\u25FE\\u2614\\u2615\\u2648-\\u2653\\u267F\\u2693\\u26A1\\u26AA\\u26AB\\u26BD\\u26BE\\u26C4\\u26C5\\u26CE\\u26D4\\u26EA\\u26F2\\u26F3\\u26F5\\u26FA\\u26FD\\u2705\\u270A\\u270B\\u2728\\u274C\\u274E\\u2753-\\u2755\\u2757\\u2795-\\u2797\\u27B0\\u27BF\\u2B1B\\u2B1C\\u2B50\\u2B55]|\\uD83C[\\uDC04\\uDCCF\\uDD8E\\uDD91-\\uDD9A\\uDDE6-\\uDDFF\\uDE01\\uDE1A\\uDE2F\\uDE32-\\uDE36\\uDE38-\\uDE3A\\uDE50\\uDE51\\uDF00-\\uDF20\\uDF2D-\\uDF35\\uDF37-\\uDF7C\\uDF7E-\\uDF93\\uDFA0-\\uDFCA\\uDFCF-\\uDFD3\\uDFE0-\\uDFF0\\uDFF4\\uDFF8-\\uDFFF]|\\uD83D[\\uDC00-\\uDC3E\\uDC40\\uDC42-\\uDCFC\\uDCFF-\\uDD3D\\uDD4B-\\uDD4E\\uDD50-\\uDD67\\uDD7A\\uDD95\\uDD96\\uDDA4\\uDDFB-\\uDE4F\\uDE80-\\uDEC5\\uDECC\\uDED0-\\uDED2\\uDED5-\\uDED7\\uDEEB\\uDEEC\\uDEF4-\\uDEFC\\uDFE0-\\uDFEB]|\\uD83E[\\uDD0C-\\uDD3A\\uDD3C-\\uDD45\\uDD47-\\uDD78\\uDD7A-\\uDDCB\\uDDCD-\\uDDFF\\uDE70-\\uDE74\\uDE78-\\uDE7A\\uDE80-\\uDE86\\uDE90-\\uDEA8\\uDEB0-\\uDEB6\\uDEC0-\\uDEC2\\uDED0-\\uDED6])|(?:[#\\*0-9\\xA9\\xAE\\u203C\\u2049\\u2122\\u2139\\u2194-\\u2199\\u21A9\\u21AA\\u231A\\u231B\\u2328\\u23CF\\u23E9-\\u23F3\\u23F8-\\u23FA\\u24C2\\u25AA\\u25AB\\u25B6\\u25C0\\u25FB-\\u25FE\\u2600-\\u2604\\u260E\\u2611\\u2614\\u2615\\u2618\\u261D\\u2620\\u2622\\u2623\\u2626\\u262A\\u262E\\u262F\\u2638-\\u263A\\u2640\\u2642\\u2648-\\u2653\\u265F\\u2660\\u2663\\u2665\\u2666\\u2668\\u267B\\u267E\\u267F\\u2692-\\u2697\\u2699\\u269B\\u269C\\u26A0\\u26A1\\u26A7\\u26AA\\u26AB\\u26B0\\u26B1\\u26BD\\u26BE\\u26C4\\u26C5\\u26C8\\u26CE\\u26CF\\u26D1\\u26D3\\u26D4\\u26E9\\u26EA\\u26F0-\\u26F5\\u26F7-\\u26FA\\u26FD\\u2702\\u2705\\u2708-\\u270D\\u270F\\u2712\\u2714\\u2716\\u271D\\u2721\\u2728\\u2733\\u2734\\u2744\\u2747\\u274C\\u274E\\u2753-\\u2755\\u2757\\u2763\\u2764\\u2795-\\u2797\\u27A1\\u27B0\\u27BF\\u2934\\u2935\\u2B05-\\u2B07\\u2B1B\\u2B1C\\u2B50\\u2B55\\u3030\\u303D\\u3297\\u3299]|\\uD83C[\\uDC04\\uDCCF\\uDD70\\uDD71\\uDD7E\\uDD7F\\uDD8E\\uDD91-\\uDD9A\\uDDE6-\\uDDFF\\uDE01\\uDE02\\uDE1A\\uDE2F\\uDE32-\\uDE3A\\uDE50\\uDE51\\uDF00-\\uDF21\\uDF24-\\uDF93\\uDF96\\uDF97\\uDF99-\\uDF9B\\uDF9E-\\uDFF0\\uDFF3-\\uDFF5\\uDFF7-\\uDFFF]|\\uD83D[\\uDC00-\\uDCFD\\uDCFF-\\uDD3D\\uDD49-\\uDD4E\\uDD50-\\uDD67\\uDD6F\\uDD70\\uDD73-\\uDD7A\\uDD87\\uDD8A-\\uDD8D\\uDD90\\uDD95\\uDD96\\uDDA4\\uDDA5\\uDDA8\\uDDB1\\uDDB2\\uDDBC\\uDDC2-\\uDDC4\\uDDD1-\\uDDD3\\uDDDC-\\uDDDE\\uDDE1\\uDDE3\\uDDE8\\uDDEF\\uDDF3\\uDDFA-\\uDE4F\\uDE80-\\uDEC5\\uDECB-\\uDED2\\uDED5-\\uDED7\\uDEE0-\\uDEE5\\uDEE9\\uDEEB\\uDEEC\\uDEF0\\uDEF3-\\uDEFC\\uDFE0-\\uDFEB]|\\uD83E[\\uDD0C-\\uDD3A\\uDD3C-\\uDD45\\uDD47-\\uDD78\\uDD7A-\\uDDCB\\uDDCD-\\uDDFF\\uDE70-\\uDE74\\uDE78-\\uDE7A\\uDE80-\\uDE86\\uDE90-\\uDEA8\\uDEB0-\\uDEB6\\uDEC0-\\uDEC2\\uDED0-\\uDED6])\\uFE0F|(?:[\\u261D\\u26F9\\u270A-\\u270D]|\\uD83C[\\uDF85\\uDFC2-\\uDFC4\\uDFC7\\uDFCA-\\uDFCC]|\\uD83D[\\uDC42\\uDC43\\uDC46-\\uDC50\\uDC66-\\uDC78\\uDC7C\\uDC81-\\uDC83\\uDC85-\\uDC87\\uDC8F\\uDC91\\uDCAA\\uDD74\\uDD75\\uDD7A\\uDD90\\uDD95\\uDD96\\uDE45-\\uDE47\\uDE4B-\\uDE4F\\uDEA3\\uDEB4-\\uDEB6\\uDEC0\\uDECC]|\\uD83E[\\uDD0C\\uDD0F\\uDD18-\\uDD1F\\uDD26\\uDD30-\\uDD39\\uDD3C-\\uDD3E\\uDD77\\uDDB5\\uDDB6\\uDDB8\\uDDB9\\uDDBB\\uDDCD-\\uDDCF\\uDDD1-\\uDDDD])/g}}}),U={};Ni(U,{default:()=>Pe});function Pe(kt){if(typeof kt!=\"string\"||kt.length===0||(kt=eg(kt),kt.length===0))return 0;kt=kt.replace((0,Dn.default)(),\"  \");let Wn=0;for(let mi=0;mi<kt.length;mi++){let Ui=kt.codePointAt(mi);Ui<=31||Ui>=127&&Ui<=159||Ui>=768&&Ui<=879||(Ui>65535&&mi++,Wn+=ed(Ui)?2:1)}return Wn}var Dn,$n=_i({\"node_modules/string-width/index.js\"(){Ct(),$g(),Hp(),Dn=Or(Ke())}}),zn=Rn({\"src/utils/get-string-width.js\"(kt,Wn){Ct();var mi=($n(),Pn(U)).default,Ui=/[^\\x20-\\x7F]/;function dr(Jn){return Jn?Ui.test(Jn)?mi(Jn):Jn.length:0}Wn.exports=dr}}),Ji=Rn({\"src/utils/text/skip.js\"(kt,Wn){Ct();function mi(Rr){return(zr,ko,fi)=>{let Ce=fi&&fi.backwards;if(ko===!1)return!1;let{length:Te}=zr,Ft=ko;for(;Ft>=0&&Ft<Te;){let Lt=zr.charAt(Ft);if(Rr instanceof RegExp){if(!Rr.test(Lt))return Ft}else if(!Rr.includes(Lt))return Ft;Ce?Ft--:Ft++}return Ft===-1||Ft===Te?Ft:!1}}var Ui=mi(/\\s/),dr=mi(\" \t\"),Jn=mi(\",; \t\"),bi=mi(/[^\\n\\r]/);Wn.exports={skipWhitespace:Ui,skipSpaces:dr,skipToLineEnd:Jn,skipEverythingButNewLine:bi}}}),or=Rn({\"src/utils/text/skip-inline-comment.js\"(kt,Wn){Ct();function mi(Ui,dr){if(dr===!1)return!1;if(Ui.charAt(dr)===\"/\"&&Ui.charAt(dr+1)===\"*\"){for(let Jn=dr+2;Jn<Ui.length;++Jn)if(Ui.charAt(Jn)===\"*\"&&Ui.charAt(Jn+1)===\"/\")return Jn+2}return dr}Wn.exports=mi}}),Ls=Rn({\"src/utils/text/skip-trailing-comment.js\"(kt,Wn){Ct();var{skipEverythingButNewLine:mi}=Ji();function Ui(dr,Jn){return Jn===!1?!1:dr.charAt(Jn)===\"/\"&&dr.charAt(Jn+1)===\"/\"?mi(dr,Jn):Jn}Wn.exports=Ui}}),qi=Rn({\"src/utils/text/skip-newline.js\"(kt,Wn){Ct();function mi(Ui,dr,Jn){let bi=Jn&&Jn.backwards;if(dr===!1)return!1;let Rr=Ui.charAt(dr);if(bi){if(Ui.charAt(dr-1)===\"\\r\"&&Rr===`\n`)return dr-2;if(Rr===`\n`||Rr===\"\\r\"||Rr===\"\\u2028\"||Rr===\"\\u2029\")return dr-1}else{if(Rr===\"\\r\"&&Ui.charAt(dr+1)===`\n`)return dr+2;if(Rr===`\n`||Rr===\"\\r\"||Rr===\"\\u2028\"||Rr===\"\\u2029\")return dr+1}return dr}Wn.exports=mi}}),br=Rn({\"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js\"(kt,Wn){Ct();var mi=or(),Ui=qi(),dr=Ls(),{skipSpaces:Jn}=Ji();function bi(Rr,zr){let ko=null,fi=zr;for(;fi!==ko;)ko=fi,fi=Jn(Rr,fi),fi=mi(Rr,fi),fi=dr(Rr,fi),fi=Ui(Rr,fi);return fi}Wn.exports=bi}}),Yr=Rn({\"src/common/util.js\"(kt,Wn){Ct();var{default:mi}=(Pd(),Pn(Zc)),Ui=mu(),{getSupportInfo:dr}=Vp(),Jn=hd(),bi=zn(),{skipWhitespace:Rr,skipSpaces:zr,skipToLineEnd:ko,skipEverythingButNewLine:fi}=Ji(),Ce=or(),Te=Ls(),Ft=qi(),Lt=br(),nn=ho=>ho[ho.length-2];function Nn(ho){return(jo,Sa,va)=>{let el=va&&va.backwards;if(Sa===!1)return!1;let{length:Cu}=jo,Au=Sa;for(;Au>=0&&Au<Cu;){let nu=jo.charAt(Au);if(ho instanceof RegExp){if(!ho.test(nu))return Au}else if(!ho.includes(nu))return Au;el?Au--:Au++}return Au===-1||Au===Cu?Au:!1}}function Pi(ho,jo){let Sa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},va=zr(ho,Sa.backwards?jo-1:jo,Sa),el=Ft(ho,va,Sa);return va!==el}function si(ho,jo,Sa){for(let va=jo;va<Sa;++va)if(ho.charAt(va)===`\n`)return!0;return!1}function Ur(ho,jo,Sa){let va=Sa(jo)-1;va=zr(ho,va,{backwards:!0}),va=Ft(ho,va,{backwards:!0}),va=zr(ho,va,{backwards:!0});let el=Ft(ho,va,{backwards:!0});return va!==el}function Xr(ho,jo){let Sa=null,va=jo;for(;va!==Sa;)Sa=va,va=ko(ho,va),va=Ce(ho,va),va=zr(ho,va);return va=Te(ho,va),va=Ft(ho,va),va!==!1&&Pi(ho,va)}function eo(ho,jo,Sa){return Xr(ho,Sa(jo))}function Br(ho,jo,Sa){return Lt(ho,Sa(jo))}function Oo(ho,jo,Sa){return ho.charAt(Br(ho,jo,Sa))}function Ko(ho,jo){let Sa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return zr(ho,Sa.backwards?jo-1:jo,Sa)!==jo}function Ho(ho,jo){let Sa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,va=0;for(let el=Sa;el<ho.length;++el)ho[el]===\"\t\"?va=va+jo-va%jo:va++;return va}function ba(ho,jo){let Sa=ho.lastIndexOf(`\n`);return Sa===-1?0:Ho(ho.slice(Sa+1).match(/^[\\t ]*/)[0],jo)}function $t(ho,jo){let Sa={quote:'\"',regex:/\"/g,escaped:\"&quot;\"},va={quote:\"'\",regex:/'/g,escaped:\"&apos;\"},el=jo===\"'\"?va:Sa,Cu=el===va?Sa:va,Au=el;if(ho.includes(el.quote)||ho.includes(Cu.quote)){let nu=(ho.match(el.regex)||[]).length,lh=(ho.match(Cu.regex)||[]).length;Au=nu>lh?Cu:el}return Au}function Kn(ho,jo){let Sa=ho.slice(1,-1),va=jo.parser===\"json\"||jo.parser===\"json5\"&&jo.quoteProps===\"preserve\"&&!jo.singleQuote?'\"':jo.__isInHtmlAttribute?\"'\":$t(Sa,jo.singleQuote?\"'\":'\"').quote;return Nr(Sa,va,!(jo.parser===\"css\"||jo.parser===\"less\"||jo.parser===\"scss\"||jo.__embeddedInHtml))}function Nr(ho,jo,Sa){let va=jo==='\"'?\"'\":'\"',el=/\\\\(.)|([\"'])/gs,Cu=ho.replace(el,(Au,nu,lh)=>nu===va?nu:lh===jo?\"\\\\\"+lh:lh||(Sa&&/^[^\\n\\r\"'0-7\\\\bfnrt-vx\\u2028\\u2029]$/.test(nu)?nu:\"\\\\\"+nu));return jo+Cu+jo}function nr(ho){return ho.toLowerCase().replace(/^([+-]?[\\d.]+e)(?:\\+|(-))?0*(\\d)/,\"$1$2$3\").replace(/^([+-]?[\\d.]+)e[+-]?0+$/,\"$1\").replace(/^([+-])?\\./,\"$10.\").replace(/(\\.\\d+?)0+(?=e|$)/,\"$1\").replace(/\\.(?=e|$)/,\"\")}function ps(ho,jo){let Sa=ho.match(new RegExp(`(${mi(jo)})+`,\"g\"));return Sa===null?0:Sa.reduce((va,el)=>Math.max(va,el.length/jo.length),0)}function ga(ho,jo){let Sa=ho.match(new RegExp(`(${mi(jo)})+`,\"g\"));if(Sa===null)return 0;let va=new Map,el=0;for(let Cu of Sa){let Au=Cu.length/jo.length;va.set(Au,!0),Au>el&&(el=Au)}for(let Cu=1;Cu<el;Cu++)if(!va.get(Cu))return Cu;return el+1}function Yl(ho,jo){(ho.comments||(ho.comments=[])).push(jo),jo.printed=!1,jo.nodeDescription=Pu(ho)}function Td(ho,jo){jo.leading=!0,jo.trailing=!1,Yl(ho,jo)}function Mc(ho,jo,Sa){jo.leading=!1,jo.trailing=!1,Sa&&(jo.marker=Sa),Yl(ho,jo)}function ah(ho,jo){jo.leading=!1,jo.trailing=!0,Yl(ho,jo)}function Gd(ho,jo){let{languages:Sa}=dr({plugins:jo.plugins}),va=Sa.find(el=>{let{name:Cu}=el;return Cu.toLowerCase()===ho})||Sa.find(el=>{let{aliases:Cu}=el;return Array.isArray(Cu)&&Cu.includes(ho)})||Sa.find(el=>{let{extensions:Cu}=el;return Array.isArray(Cu)&&Cu.includes(`.${ho}`)});return va&&va.parsers[0]}function Mh(ho){return ho&&ho.type===\"front-matter\"}function Rh(ho){let jo=new WeakMap;return function(Sa){return jo.has(Sa)||jo.set(Sa,Symbol(ho)),jo.get(Sa)}}function Pu(ho){let jo=ho.type||ho.kind||\"(unknown type)\",Sa=String(ho.name||ho.id&&(typeof ho.id==\"object\"?ho.id.name:ho.id)||ho.key&&(typeof ho.key==\"object\"?ho.key.name:ho.key)||ho.value&&(typeof ho.value==\"object\"?\"\":String(ho.value))||ho.operator||\"\");return Sa.length>20&&(Sa=Sa.slice(0,19)+\"\\u2026\"),jo+(Sa?\" \"+Sa:\"\")}Wn.exports={inferParserByLanguage:Gd,getStringWidth:bi,getMaxContinuousCount:ps,getMinNotPresentContinuousCount:ga,getPenultimate:nn,getLast:Ui,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Lt,getNextNonSpaceNonCommentCharacterIndex:Br,getNextNonSpaceNonCommentCharacter:Oo,skip:Nn,skipWhitespace:Rr,skipSpaces:zr,skipToLineEnd:ko,skipEverythingButNewLine:fi,skipInlineComment:Ce,skipTrailingComment:Te,skipNewline:Ft,isNextLineEmptyAfterIndex:Xr,isNextLineEmpty:eo,isPreviousLineEmpty:Ur,hasNewline:Pi,hasNewlineInRange:si,hasSpaces:Ko,getAlignmentSize:Ho,getIndentSize:ba,getPreferredQuote:$t,printString:Kn,printNumber:nr,makeString:Nr,addLeadingComment:Td,addDanglingComment:Mc,addTrailingComment:ah,isFrontMatterNode:Mh,isNonEmptyArray:Jn,createGroupIdMapper:Rh}}}),Cs=Rn({\"vendors/html-tag-names.json\"(kt,Wn){Wn.exports={htmlTagNames:[\"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\",\"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\"]}}}),rs=Rn({\"src/language-html/utils/array-to-map.js\"(kt,Wn){Ct();function mi(Ui){let dr=Object.create(null);for(let Jn of Ui)dr[Jn]=!0;return dr}Wn.exports=mi}}),Ps=Rn({\"src/language-html/utils/html-tag-names.js\"(kt,Wn){Ct();var{htmlTagNames:mi}=Cs(),Ui=rs(),dr=Ui(mi);Wn.exports=dr}}),Os=Rn({\"vendors/html-element-attributes.json\"(kt,Wn){Wn.exports={htmlElementAttributes:{\"*\":[\"accesskey\",\"autocapitalize\",\"autofocus\",\"class\",\"contenteditable\",\"dir\",\"draggable\",\"enterkeyhint\",\"hidden\",\"id\",\"inputmode\",\"is\",\"itemid\",\"itemprop\",\"itemref\",\"itemscope\",\"itemtype\",\"lang\",\"nonce\",\"slot\",\"spellcheck\",\"style\",\"tabindex\",\"title\",\"translate\"],a:[\"charset\",\"coords\",\"download\",\"href\",\"hreflang\",\"name\",\"ping\",\"referrerpolicy\",\"rel\",\"rev\",\"shape\",\"target\",\"type\"],applet:[\"align\",\"alt\",\"archive\",\"code\",\"codebase\",\"height\",\"hspace\",\"name\",\"object\",\"vspace\",\"width\"],area:[\"alt\",\"coords\",\"download\",\"href\",\"hreflang\",\"nohref\",\"ping\",\"referrerpolicy\",\"rel\",\"shape\",\"target\",\"type\"],audio:[\"autoplay\",\"controls\",\"crossorigin\",\"loop\",\"muted\",\"preload\",\"src\"],base:[\"href\",\"target\"],basefont:[\"color\",\"face\",\"size\"],blockquote:[\"cite\"],body:[\"alink\",\"background\",\"bgcolor\",\"link\",\"text\",\"vlink\"],br:[\"clear\"],button:[\"disabled\",\"form\",\"formaction\",\"formenctype\",\"formmethod\",\"formnovalidate\",\"formtarget\",\"name\",\"type\",\"value\"],canvas:[\"height\",\"width\"],caption:[\"align\"],col:[\"align\",\"char\",\"charoff\",\"span\",\"valign\",\"width\"],colgroup:[\"align\",\"char\",\"charoff\",\"span\",\"valign\",\"width\"],data:[\"value\"],del:[\"cite\",\"datetime\"],details:[\"open\"],dialog:[\"open\"],dir:[\"compact\"],div:[\"align\"],dl:[\"compact\"],embed:[\"height\",\"src\",\"type\",\"width\"],fieldset:[\"disabled\",\"form\",\"name\"],font:[\"color\",\"face\",\"size\"],form:[\"accept\",\"accept-charset\",\"action\",\"autocomplete\",\"enctype\",\"method\",\"name\",\"novalidate\",\"target\"],frame:[\"frameborder\",\"longdesc\",\"marginheight\",\"marginwidth\",\"name\",\"noresize\",\"scrolling\",\"src\"],frameset:[\"cols\",\"rows\"],h1:[\"align\"],h2:[\"align\"],h3:[\"align\"],h4:[\"align\"],h5:[\"align\"],h6:[\"align\"],head:[\"profile\"],hr:[\"align\",\"noshade\",\"size\",\"width\"],html:[\"manifest\",\"version\"],iframe:[\"align\",\"allow\",\"allowfullscreen\",\"allowpaymentrequest\",\"allowusermedia\",\"frameborder\",\"height\",\"loading\",\"longdesc\",\"marginheight\",\"marginwidth\",\"name\",\"referrerpolicy\",\"sandbox\",\"scrolling\",\"src\",\"srcdoc\",\"width\"],img:[\"align\",\"alt\",\"border\",\"crossorigin\",\"decoding\",\"height\",\"hspace\",\"ismap\",\"loading\",\"longdesc\",\"name\",\"referrerpolicy\",\"sizes\",\"src\",\"srcset\",\"usemap\",\"vspace\",\"width\"],input:[\"accept\",\"align\",\"alt\",\"autocomplete\",\"checked\",\"dirname\",\"disabled\",\"form\",\"formaction\",\"formenctype\",\"formmethod\",\"formnovalidate\",\"formtarget\",\"height\",\"ismap\",\"list\",\"max\",\"maxlength\",\"min\",\"minlength\",\"multiple\",\"name\",\"pattern\",\"placeholder\",\"readonly\",\"required\",\"size\",\"src\",\"step\",\"type\",\"usemap\",\"value\",\"width\"],ins:[\"cite\",\"datetime\"],isindex:[\"prompt\"],label:[\"for\",\"form\"],legend:[\"align\"],li:[\"type\",\"value\"],link:[\"as\",\"charset\",\"color\",\"crossorigin\",\"disabled\",\"href\",\"hreflang\",\"imagesizes\",\"imagesrcset\",\"integrity\",\"media\",\"referrerpolicy\",\"rel\",\"rev\",\"sizes\",\"target\",\"type\"],map:[\"name\"],menu:[\"compact\"],meta:[\"charset\",\"content\",\"http-equiv\",\"media\",\"name\",\"scheme\"],meter:[\"high\",\"low\",\"max\",\"min\",\"optimum\",\"value\"],object:[\"align\",\"archive\",\"border\",\"classid\",\"codebase\",\"codetype\",\"data\",\"declare\",\"form\",\"height\",\"hspace\",\"name\",\"standby\",\"type\",\"typemustmatch\",\"usemap\",\"vspace\",\"width\"],ol:[\"compact\",\"reversed\",\"start\",\"type\"],optgroup:[\"disabled\",\"label\"],option:[\"disabled\",\"label\",\"selected\",\"value\"],output:[\"for\",\"form\",\"name\"],p:[\"align\"],param:[\"name\",\"type\",\"value\",\"valuetype\"],pre:[\"width\"],progress:[\"max\",\"value\"],q:[\"cite\"],script:[\"async\",\"charset\",\"crossorigin\",\"defer\",\"integrity\",\"language\",\"nomodule\",\"referrerpolicy\",\"src\",\"type\"],select:[\"autocomplete\",\"disabled\",\"form\",\"multiple\",\"name\",\"required\",\"size\"],slot:[\"name\"],source:[\"height\",\"media\",\"sizes\",\"src\",\"srcset\",\"type\",\"width\"],style:[\"media\",\"type\"],table:[\"align\",\"bgcolor\",\"border\",\"cellpadding\",\"cellspacing\",\"frame\",\"rules\",\"summary\",\"width\"],tbody:[\"align\",\"char\",\"charoff\",\"valign\"],td:[\"abbr\",\"align\",\"axis\",\"bgcolor\",\"char\",\"charoff\",\"colspan\",\"headers\",\"height\",\"nowrap\",\"rowspan\",\"scope\",\"valign\",\"width\"],textarea:[\"autocomplete\",\"cols\",\"dirname\",\"disabled\",\"form\",\"maxlength\",\"minlength\",\"name\",\"placeholder\",\"readonly\",\"required\",\"rows\",\"wrap\"],tfoot:[\"align\",\"char\",\"charoff\",\"valign\"],th:[\"abbr\",\"align\",\"axis\",\"bgcolor\",\"char\",\"charoff\",\"colspan\",\"headers\",\"height\",\"nowrap\",\"rowspan\",\"scope\",\"valign\",\"width\"],thead:[\"align\",\"char\",\"charoff\",\"valign\"],time:[\"datetime\"],tr:[\"align\",\"bgcolor\",\"char\",\"charoff\",\"valign\"],track:[\"default\",\"kind\",\"label\",\"src\",\"srclang\"],ul:[\"compact\",\"type\"],video:[\"autoplay\",\"controls\",\"crossorigin\",\"height\",\"loop\",\"muted\",\"playsinline\",\"poster\",\"preload\",\"src\",\"width\"]}}}}),zs=Rn({\"src/language-html/utils/map-object.js\"(kt,Wn){Ct();function mi(Ui,dr){let Jn=Object.create(null);for(let[bi,Rr]of Object.entries(Ui))Jn[bi]=dr(Rr,bi);return Jn}Wn.exports=mi}}),sa=Rn({\"src/language-html/utils/html-elements-attributes.js\"(kt,Wn){Ct();var{htmlElementAttributes:mi}=Os(),Ui=zs(),dr=rs(),Jn=Ui(mi,dr);Wn.exports=Jn}}),sn=Rn({\"src/language-html/utils/is-unknown-namespace.js\"(kt,Wn){Ct();function mi(Ui){return Ui.type===\"element\"&&!Ui.hasExplicitNamespace&&![\"html\",\"svg\"].includes(Ui.namespace)}Wn.exports=mi}}),Ze=Rn({\"src/language-html/pragma.js\"(kt,Wn){Ct();function mi(dr){return/^\\s*<!--\\s*@(?:format|prettier)\\s*-->/.test(dr)}function Ui(dr){return`<!-- @format -->\n\n`+dr.replace(/^\\s*\\n/,\"\")}Wn.exports={hasPragma:mi,insertPragma:Ui}}}),be=Rn({\"src/language-html/ast.js\"(kt,Wn){Ct();var mi={attrs:!0,children:!0},Ui=new Set([\"parent\"]),dr=class{constructor(){let bi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(let Rr of new Set([...Ui,...Object.keys(bi)]))this.setProperty(Rr,bi[Rr])}setProperty(bi,Rr){if(this[bi]!==Rr){if(bi in mi&&(Rr=Rr.map(zr=>this.createChild(zr))),!Ui.has(bi)){this[bi]=Rr;return}Object.defineProperty(this,bi,{value:Rr,enumerable:!1,configurable:!0})}}map(bi){let Rr;for(let zr in mi){let ko=this[zr];if(ko){let fi=Jn(ko,Ce=>Ce.map(bi));Rr!==ko&&(Rr||(Rr=new dr({parent:this.parent})),Rr.setProperty(zr,fi))}}if(Rr)for(let zr in this)zr in mi||(Rr[zr]=this[zr]);return bi(Rr||this)}walk(bi){for(let Rr in mi){let zr=this[Rr];if(zr)for(let ko=0;ko<zr.length;ko++)zr[ko].walk(bi)}bi(this)}createChild(bi){let Rr=bi instanceof dr?bi.clone():new dr(bi);return Rr.setProperty(\"parent\",this),Rr}insertChildBefore(bi,Rr){this.children.splice(this.children.indexOf(bi),0,this.createChild(Rr))}removeChild(bi){this.children.splice(this.children.indexOf(bi),1)}replaceChild(bi,Rr){this.children[this.children.indexOf(bi)]=this.createChild(Rr)}clone(){return new dr(this)}get firstChild(){var bi;return(bi=this.children)===null||bi===void 0?void 0:bi[0]}get lastChild(){var bi;return(bi=this.children)===null||bi===void 0?void 0:bi[this.children.length-1]}get prev(){var bi;return(bi=this.parent)===null||bi===void 0?void 0:bi.children[this.parent.children.indexOf(this)-1]}get next(){var bi;return(bi=this.parent)===null||bi===void 0?void 0:bi.children[this.parent.children.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(bi=>[bi.fullName,bi.value]))}};function Jn(bi,Rr){let zr=bi.map(Rr);return zr.some((ko,fi)=>ko!==bi[fi])?zr:bi}Wn.exports={Node:dr}}}),ze=Rn({\"src/language-html/conditional-comment.js\"(kt,Wn){Ct();var{ParseSourceSpan:mi}=jl(),Ui=[{regex:/^(\\[if([^\\]]*)]>)(.*?)<!\\s*\\[endif]$/s,parse:Jn},{regex:/^\\[if([^\\]]*)]><!$/,parse:bi},{regex:/^<!\\s*\\[endif]$/,parse:Rr}];function dr(zr,ko){if(zr.value)for(let{regex:fi,parse:Ce}of Ui){let Te=zr.value.match(fi);if(Te)return Ce(zr,ko,Te)}return null}function Jn(zr,ko,fi){let[,Ce,Te,Ft]=fi,Lt=4+Ce.length,nn=zr.sourceSpan.start.moveBy(Lt),Nn=nn.moveBy(Ft.length),[Pi,si]=(()=>{try{return[!0,ko(Ft,nn).children]}catch{return[!1,[{type:\"text\",value:Ft,sourceSpan:new mi(nn,Nn)}]]}})();return{type:\"ieConditionalComment\",complete:Pi,children:si,condition:Te.trim().replace(/\\s+/g,\" \"),sourceSpan:zr.sourceSpan,startSourceSpan:new mi(zr.sourceSpan.start,nn),endSourceSpan:new mi(Nn,zr.sourceSpan.end)}}function bi(zr,ko,fi){let[,Ce]=fi;return{type:\"ieConditionalStartComment\",condition:Ce.trim().replace(/\\s+/g,\" \"),sourceSpan:zr.sourceSpan}}function Rr(zr){return{type:\"ieConditionalEndComment\",sourceSpan:zr.sourceSpan}}Wn.exports={parseIeConditionalComment:dr}}}),jt=Rn({\"src/language-html/loc.js\"(kt,Wn){Ct();function mi(dr){return dr.sourceSpan.start.offset}function Ui(dr){return dr.sourceSpan.end.offset}Wn.exports={locStart:mi,locEnd:Ui}}}),Ln=Rn({\"node_modules/angular-html-parser/lib/compiler/src/ml_parser/tags.js\"(kt){Ct(),Object.defineProperty(kt,\"__esModule\",{value:!0}),function(Rr){Rr[Rr.RAW_TEXT=0]=\"RAW_TEXT\",Rr[Rr.ESCAPABLE_RAW_TEXT=1]=\"ESCAPABLE_RAW_TEXT\",Rr[Rr.PARSABLE_DATA=2]=\"PARSABLE_DATA\"}(kt.TagContentType||(kt.TagContentType={}));function Wn(Rr){if(Rr[0]!=\":\")return[null,Rr];let zr=Rr.indexOf(\":\",1);if(zr==-1)throw new Error(`Unsupported format \"${Rr}\" expecting \":namespace:name\"`);return[Rr.slice(1,zr),Rr.slice(zr+1)]}kt.splitNsName=Wn;function mi(Rr){return Wn(Rr)[1]===\"ng-container\"}kt.isNgContainer=mi;function Ui(Rr){return Wn(Rr)[1]===\"ng-content\"}kt.isNgContent=Ui;function dr(Rr){return Wn(Rr)[1]===\"ng-template\"}kt.isNgTemplate=dr;function Jn(Rr){return Rr===null?null:Wn(Rr)[0]}kt.getNsPrefix=Jn;function bi(Rr,zr){return Rr?`:${Rr}:${zr}`:zr}kt.mergeNsAndName=bi,kt.NAMED_ENTITIES={Aacute:\"\\xC1\",aacute:\"\\xE1\",Abreve:\"\\u0102\",abreve:\"\\u0103\",ac:\"\\u223E\",acd:\"\\u223F\",acE:\"\\u223E\\u0333\",Acirc:\"\\xC2\",acirc:\"\\xE2\",acute:\"\\xB4\",Acy:\"\\u0410\",acy:\"\\u0430\",AElig:\"\\xC6\",aelig:\"\\xE6\",af:\"\\u2061\",Afr:\"\\u{1D504}\",afr:\"\\u{1D51E}\",Agrave:\"\\xC0\",agrave:\"\\xE0\",alefsym:\"\\u2135\",aleph:\"\\u2135\",Alpha:\"\\u0391\",alpha:\"\\u03B1\",Amacr:\"\\u0100\",amacr:\"\\u0101\",amalg:\"\\u2A3F\",AMP:\"&\",amp:\"&\",And:\"\\u2A53\",and:\"\\u2227\",andand:\"\\u2A55\",andd:\"\\u2A5C\",andslope:\"\\u2A58\",andv:\"\\u2A5A\",ang:\"\\u2220\",ange:\"\\u29A4\",angle:\"\\u2220\",angmsd:\"\\u2221\",angmsdaa:\"\\u29A8\",angmsdab:\"\\u29A9\",angmsdac:\"\\u29AA\",angmsdad:\"\\u29AB\",angmsdae:\"\\u29AC\",angmsdaf:\"\\u29AD\",angmsdag:\"\\u29AE\",angmsdah:\"\\u29AF\",angrt:\"\\u221F\",angrtvb:\"\\u22BE\",angrtvbd:\"\\u299D\",angsph:\"\\u2222\",angst:\"\\xC5\",angzarr:\"\\u237C\",Aogon:\"\\u0104\",aogon:\"\\u0105\",Aopf:\"\\u{1D538}\",aopf:\"\\u{1D552}\",ap:\"\\u2248\",apacir:\"\\u2A6F\",apE:\"\\u2A70\",ape:\"\\u224A\",apid:\"\\u224B\",apos:\"'\",ApplyFunction:\"\\u2061\",approx:\"\\u2248\",approxeq:\"\\u224A\",Aring:\"\\xC5\",aring:\"\\xE5\",Ascr:\"\\u{1D49C}\",ascr:\"\\u{1D4B6}\",Assign:\"\\u2254\",ast:\"*\",asymp:\"\\u2248\",asympeq:\"\\u224D\",Atilde:\"\\xC3\",atilde:\"\\xE3\",Auml:\"\\xC4\",auml:\"\\xE4\",awconint:\"\\u2233\",awint:\"\\u2A11\",backcong:\"\\u224C\",backepsilon:\"\\u03F6\",backprime:\"\\u2035\",backsim:\"\\u223D\",backsimeq:\"\\u22CD\",Backslash:\"\\u2216\",Barv:\"\\u2AE7\",barvee:\"\\u22BD\",Barwed:\"\\u2306\",barwed:\"\\u2305\",barwedge:\"\\u2305\",bbrk:\"\\u23B5\",bbrktbrk:\"\\u23B6\",bcong:\"\\u224C\",Bcy:\"\\u0411\",bcy:\"\\u0431\",bdquo:\"\\u201E\",becaus:\"\\u2235\",Because:\"\\u2235\",because:\"\\u2235\",bemptyv:\"\\u29B0\",bepsi:\"\\u03F6\",bernou:\"\\u212C\",Bernoullis:\"\\u212C\",Beta:\"\\u0392\",beta:\"\\u03B2\",beth:\"\\u2136\",between:\"\\u226C\",Bfr:\"\\u{1D505}\",bfr:\"\\u{1D51F}\",bigcap:\"\\u22C2\",bigcirc:\"\\u25EF\",bigcup:\"\\u22C3\",bigodot:\"\\u2A00\",bigoplus:\"\\u2A01\",bigotimes:\"\\u2A02\",bigsqcup:\"\\u2A06\",bigstar:\"\\u2605\",bigtriangledown:\"\\u25BD\",bigtriangleup:\"\\u25B3\",biguplus:\"\\u2A04\",bigvee:\"\\u22C1\",bigwedge:\"\\u22C0\",bkarow:\"\\u290D\",blacklozenge:\"\\u29EB\",blacksquare:\"\\u25AA\",blacktriangle:\"\\u25B4\",blacktriangledown:\"\\u25BE\",blacktriangleleft:\"\\u25C2\",blacktriangleright:\"\\u25B8\",blank:\"\\u2423\",blk12:\"\\u2592\",blk14:\"\\u2591\",blk34:\"\\u2593\",block:\"\\u2588\",bne:\"=\\u20E5\",bnequiv:\"\\u2261\\u20E5\",bNot:\"\\u2AED\",bnot:\"\\u2310\",Bopf:\"\\u{1D539}\",bopf:\"\\u{1D553}\",bot:\"\\u22A5\",bottom:\"\\u22A5\",bowtie:\"\\u22C8\",boxbox:\"\\u29C9\",boxDL:\"\\u2557\",boxDl:\"\\u2556\",boxdL:\"\\u2555\",boxdl:\"\\u2510\",boxDR:\"\\u2554\",boxDr:\"\\u2553\",boxdR:\"\\u2552\",boxdr:\"\\u250C\",boxH:\"\\u2550\",boxh:\"\\u2500\",boxHD:\"\\u2566\",boxHd:\"\\u2564\",boxhD:\"\\u2565\",boxhd:\"\\u252C\",boxHU:\"\\u2569\",boxHu:\"\\u2567\",boxhU:\"\\u2568\",boxhu:\"\\u2534\",boxminus:\"\\u229F\",boxplus:\"\\u229E\",boxtimes:\"\\u22A0\",boxUL:\"\\u255D\",boxUl:\"\\u255C\",boxuL:\"\\u255B\",boxul:\"\\u2518\",boxUR:\"\\u255A\",boxUr:\"\\u2559\",boxuR:\"\\u2558\",boxur:\"\\u2514\",boxV:\"\\u2551\",boxv:\"\\u2502\",boxVH:\"\\u256C\",boxVh:\"\\u256B\",boxvH:\"\\u256A\",boxvh:\"\\u253C\",boxVL:\"\\u2563\",boxVl:\"\\u2562\",boxvL:\"\\u2561\",boxvl:\"\\u2524\",boxVR:\"\\u2560\",boxVr:\"\\u255F\",boxvR:\"\\u255E\",boxvr:\"\\u251C\",bprime:\"\\u2035\",Breve:\"\\u02D8\",breve:\"\\u02D8\",brvbar:\"\\xA6\",Bscr:\"\\u212C\",bscr:\"\\u{1D4B7}\",bsemi:\"\\u204F\",bsim:\"\\u223D\",bsime:\"\\u22CD\",bsol:\"\\\\\",bsolb:\"\\u29C5\",bsolhsub:\"\\u27C8\",bull:\"\\u2022\",bullet:\"\\u2022\",bump:\"\\u224E\",bumpE:\"\\u2AAE\",bumpe:\"\\u224F\",Bumpeq:\"\\u224E\",bumpeq:\"\\u224F\",Cacute:\"\\u0106\",cacute:\"\\u0107\",Cap:\"\\u22D2\",cap:\"\\u2229\",capand:\"\\u2A44\",capbrcup:\"\\u2A49\",capcap:\"\\u2A4B\",capcup:\"\\u2A47\",capdot:\"\\u2A40\",CapitalDifferentialD:\"\\u2145\",caps:\"\\u2229\\uFE00\",caret:\"\\u2041\",caron:\"\\u02C7\",Cayleys:\"\\u212D\",ccaps:\"\\u2A4D\",Ccaron:\"\\u010C\",ccaron:\"\\u010D\",Ccedil:\"\\xC7\",ccedil:\"\\xE7\",Ccirc:\"\\u0108\",ccirc:\"\\u0109\",Cconint:\"\\u2230\",ccups:\"\\u2A4C\",ccupssm:\"\\u2A50\",Cdot:\"\\u010A\",cdot:\"\\u010B\",cedil:\"\\xB8\",Cedilla:\"\\xB8\",cemptyv:\"\\u29B2\",cent:\"\\xA2\",CenterDot:\"\\xB7\",centerdot:\"\\xB7\",Cfr:\"\\u212D\",cfr:\"\\u{1D520}\",CHcy:\"\\u0427\",chcy:\"\\u0447\",check:\"\\u2713\",checkmark:\"\\u2713\",Chi:\"\\u03A7\",chi:\"\\u03C7\",cir:\"\\u25CB\",circ:\"\\u02C6\",circeq:\"\\u2257\",circlearrowleft:\"\\u21BA\",circlearrowright:\"\\u21BB\",circledast:\"\\u229B\",circledcirc:\"\\u229A\",circleddash:\"\\u229D\",CircleDot:\"\\u2299\",circledR:\"\\xAE\",circledS:\"\\u24C8\",CircleMinus:\"\\u2296\",CirclePlus:\"\\u2295\",CircleTimes:\"\\u2297\",cirE:\"\\u29C3\",cire:\"\\u2257\",cirfnint:\"\\u2A10\",cirmid:\"\\u2AEF\",cirscir:\"\\u29C2\",ClockwiseContourIntegral:\"\\u2232\",CloseCurlyDoubleQuote:\"\\u201D\",CloseCurlyQuote:\"\\u2019\",clubs:\"\\u2663\",clubsuit:\"\\u2663\",Colon:\"\\u2237\",colon:\":\",Colone:\"\\u2A74\",colone:\"\\u2254\",coloneq:\"\\u2254\",comma:\",\",commat:\"@\",comp:\"\\u2201\",compfn:\"\\u2218\",complement:\"\\u2201\",complexes:\"\\u2102\",cong:\"\\u2245\",congdot:\"\\u2A6D\",Congruent:\"\\u2261\",Conint:\"\\u222F\",conint:\"\\u222E\",ContourIntegral:\"\\u222E\",Copf:\"\\u2102\",copf:\"\\u{1D554}\",coprod:\"\\u2210\",Coproduct:\"\\u2210\",COPY:\"\\xA9\",copy:\"\\xA9\",copysr:\"\\u2117\",CounterClockwiseContourIntegral:\"\\u2233\",crarr:\"\\u21B5\",Cross:\"\\u2A2F\",cross:\"\\u2717\",Cscr:\"\\u{1D49E}\",cscr:\"\\u{1D4B8}\",csub:\"\\u2ACF\",csube:\"\\u2AD1\",csup:\"\\u2AD0\",csupe:\"\\u2AD2\",ctdot:\"\\u22EF\",cudarrl:\"\\u2938\",cudarrr:\"\\u2935\",cuepr:\"\\u22DE\",cuesc:\"\\u22DF\",cularr:\"\\u21B6\",cularrp:\"\\u293D\",Cup:\"\\u22D3\",cup:\"\\u222A\",cupbrcap:\"\\u2A48\",CupCap:\"\\u224D\",cupcap:\"\\u2A46\",cupcup:\"\\u2A4A\",cupdot:\"\\u228D\",cupor:\"\\u2A45\",cups:\"\\u222A\\uFE00\",curarr:\"\\u21B7\",curarrm:\"\\u293C\",curlyeqprec:\"\\u22DE\",curlyeqsucc:\"\\u22DF\",curlyvee:\"\\u22CE\",curlywedge:\"\\u22CF\",curren:\"\\xA4\",curvearrowleft:\"\\u21B6\",curvearrowright:\"\\u21B7\",cuvee:\"\\u22CE\",cuwed:\"\\u22CF\",cwconint:\"\\u2232\",cwint:\"\\u2231\",cylcty:\"\\u232D\",Dagger:\"\\u2021\",dagger:\"\\u2020\",daleth:\"\\u2138\",Darr:\"\\u21A1\",dArr:\"\\u21D3\",darr:\"\\u2193\",dash:\"\\u2010\",Dashv:\"\\u2AE4\",dashv:\"\\u22A3\",dbkarow:\"\\u290F\",dblac:\"\\u02DD\",Dcaron:\"\\u010E\",dcaron:\"\\u010F\",Dcy:\"\\u0414\",dcy:\"\\u0434\",DD:\"\\u2145\",dd:\"\\u2146\",ddagger:\"\\u2021\",ddarr:\"\\u21CA\",DDotrahd:\"\\u2911\",ddotseq:\"\\u2A77\",deg:\"\\xB0\",Del:\"\\u2207\",Delta:\"\\u0394\",delta:\"\\u03B4\",demptyv:\"\\u29B1\",dfisht:\"\\u297F\",Dfr:\"\\u{1D507}\",dfr:\"\\u{1D521}\",dHar:\"\\u2965\",dharl:\"\\u21C3\",dharr:\"\\u21C2\",DiacriticalAcute:\"\\xB4\",DiacriticalDot:\"\\u02D9\",DiacriticalDoubleAcute:\"\\u02DD\",DiacriticalGrave:\"`\",DiacriticalTilde:\"\\u02DC\",diam:\"\\u22C4\",Diamond:\"\\u22C4\",diamond:\"\\u22C4\",diamondsuit:\"\\u2666\",diams:\"\\u2666\",die:\"\\xA8\",DifferentialD:\"\\u2146\",digamma:\"\\u03DD\",disin:\"\\u22F2\",div:\"\\xF7\",divide:\"\\xF7\",divideontimes:\"\\u22C7\",divonx:\"\\u22C7\",DJcy:\"\\u0402\",djcy:\"\\u0452\",dlcorn:\"\\u231E\",dlcrop:\"\\u230D\",dollar:\"$\",Dopf:\"\\u{1D53B}\",dopf:\"\\u{1D555}\",Dot:\"\\xA8\",dot:\"\\u02D9\",DotDot:\"\\u20DC\",doteq:\"\\u2250\",doteqdot:\"\\u2251\",DotEqual:\"\\u2250\",dotminus:\"\\u2238\",dotplus:\"\\u2214\",dotsquare:\"\\u22A1\",doublebarwedge:\"\\u2306\",DoubleContourIntegral:\"\\u222F\",DoubleDot:\"\\xA8\",DoubleDownArrow:\"\\u21D3\",DoubleLeftArrow:\"\\u21D0\",DoubleLeftRightArrow:\"\\u21D4\",DoubleLeftTee:\"\\u2AE4\",DoubleLongLeftArrow:\"\\u27F8\",DoubleLongLeftRightArrow:\"\\u27FA\",DoubleLongRightArrow:\"\\u27F9\",DoubleRightArrow:\"\\u21D2\",DoubleRightTee:\"\\u22A8\",DoubleUpArrow:\"\\u21D1\",DoubleUpDownArrow:\"\\u21D5\",DoubleVerticalBar:\"\\u2225\",DownArrow:\"\\u2193\",Downarrow:\"\\u21D3\",downarrow:\"\\u2193\",DownArrowBar:\"\\u2913\",DownArrowUpArrow:\"\\u21F5\",DownBreve:\"\\u0311\",downdownarrows:\"\\u21CA\",downharpoonleft:\"\\u21C3\",downharpoonright:\"\\u21C2\",DownLeftRightVector:\"\\u2950\",DownLeftTeeVector:\"\\u295E\",DownLeftVector:\"\\u21BD\",DownLeftVectorBar:\"\\u2956\",DownRightTeeVector:\"\\u295F\",DownRightVector:\"\\u21C1\",DownRightVectorBar:\"\\u2957\",DownTee:\"\\u22A4\",DownTeeArrow:\"\\u21A7\",drbkarow:\"\\u2910\",drcorn:\"\\u231F\",drcrop:\"\\u230C\",Dscr:\"\\u{1D49F}\",dscr:\"\\u{1D4B9}\",DScy:\"\\u0405\",dscy:\"\\u0455\",dsol:\"\\u29F6\",Dstrok:\"\\u0110\",dstrok:\"\\u0111\",dtdot:\"\\u22F1\",dtri:\"\\u25BF\",dtrif:\"\\u25BE\",duarr:\"\\u21F5\",duhar:\"\\u296F\",dwangle:\"\\u29A6\",DZcy:\"\\u040F\",dzcy:\"\\u045F\",dzigrarr:\"\\u27FF\",Eacute:\"\\xC9\",eacute:\"\\xE9\",easter:\"\\u2A6E\",Ecaron:\"\\u011A\",ecaron:\"\\u011B\",ecir:\"\\u2256\",Ecirc:\"\\xCA\",ecirc:\"\\xEA\",ecolon:\"\\u2255\",Ecy:\"\\u042D\",ecy:\"\\u044D\",eDDot:\"\\u2A77\",Edot:\"\\u0116\",eDot:\"\\u2251\",edot:\"\\u0117\",ee:\"\\u2147\",efDot:\"\\u2252\",Efr:\"\\u{1D508}\",efr:\"\\u{1D522}\",eg:\"\\u2A9A\",Egrave:\"\\xC8\",egrave:\"\\xE8\",egs:\"\\u2A96\",egsdot:\"\\u2A98\",el:\"\\u2A99\",Element:\"\\u2208\",elinters:\"\\u23E7\",ell:\"\\u2113\",els:\"\\u2A95\",elsdot:\"\\u2A97\",Emacr:\"\\u0112\",emacr:\"\\u0113\",empty:\"\\u2205\",emptyset:\"\\u2205\",EmptySmallSquare:\"\\u25FB\",emptyv:\"\\u2205\",EmptyVerySmallSquare:\"\\u25AB\",emsp:\"\\u2003\",emsp13:\"\\u2004\",emsp14:\"\\u2005\",ENG:\"\\u014A\",eng:\"\\u014B\",ensp:\"\\u2002\",Eogon:\"\\u0118\",eogon:\"\\u0119\",Eopf:\"\\u{1D53C}\",eopf:\"\\u{1D556}\",epar:\"\\u22D5\",eparsl:\"\\u29E3\",eplus:\"\\u2A71\",epsi:\"\\u03B5\",Epsilon:\"\\u0395\",epsilon:\"\\u03B5\",epsiv:\"\\u03F5\",eqcirc:\"\\u2256\",eqcolon:\"\\u2255\",eqsim:\"\\u2242\",eqslantgtr:\"\\u2A96\",eqslantless:\"\\u2A95\",Equal:\"\\u2A75\",equals:\"=\",EqualTilde:\"\\u2242\",equest:\"\\u225F\",Equilibrium:\"\\u21CC\",equiv:\"\\u2261\",equivDD:\"\\u2A78\",eqvparsl:\"\\u29E5\",erarr:\"\\u2971\",erDot:\"\\u2253\",Escr:\"\\u2130\",escr:\"\\u212F\",esdot:\"\\u2250\",Esim:\"\\u2A73\",esim:\"\\u2242\",Eta:\"\\u0397\",eta:\"\\u03B7\",ETH:\"\\xD0\",eth:\"\\xF0\",Euml:\"\\xCB\",euml:\"\\xEB\",euro:\"\\u20AC\",excl:\"!\",exist:\"\\u2203\",Exists:\"\\u2203\",expectation:\"\\u2130\",ExponentialE:\"\\u2147\",exponentiale:\"\\u2147\",fallingdotseq:\"\\u2252\",Fcy:\"\\u0424\",fcy:\"\\u0444\",female:\"\\u2640\",ffilig:\"\\uFB03\",fflig:\"\\uFB00\",ffllig:\"\\uFB04\",Ffr:\"\\u{1D509}\",ffr:\"\\u{1D523}\",filig:\"\\uFB01\",FilledSmallSquare:\"\\u25FC\",FilledVerySmallSquare:\"\\u25AA\",fjlig:\"fj\",flat:\"\\u266D\",fllig:\"\\uFB02\",fltns:\"\\u25B1\",fnof:\"\\u0192\",Fopf:\"\\u{1D53D}\",fopf:\"\\u{1D557}\",ForAll:\"\\u2200\",forall:\"\\u2200\",fork:\"\\u22D4\",forkv:\"\\u2AD9\",Fouriertrf:\"\\u2131\",fpartint:\"\\u2A0D\",frac12:\"\\xBD\",frac13:\"\\u2153\",frac14:\"\\xBC\",frac15:\"\\u2155\",frac16:\"\\u2159\",frac18:\"\\u215B\",frac23:\"\\u2154\",frac25:\"\\u2156\",frac34:\"\\xBE\",frac35:\"\\u2157\",frac38:\"\\u215C\",frac45:\"\\u2158\",frac56:\"\\u215A\",frac58:\"\\u215D\",frac78:\"\\u215E\",frasl:\"\\u2044\",frown:\"\\u2322\",Fscr:\"\\u2131\",fscr:\"\\u{1D4BB}\",gacute:\"\\u01F5\",Gamma:\"\\u0393\",gamma:\"\\u03B3\",Gammad:\"\\u03DC\",gammad:\"\\u03DD\",gap:\"\\u2A86\",Gbreve:\"\\u011E\",gbreve:\"\\u011F\",Gcedil:\"\\u0122\",Gcirc:\"\\u011C\",gcirc:\"\\u011D\",Gcy:\"\\u0413\",gcy:\"\\u0433\",Gdot:\"\\u0120\",gdot:\"\\u0121\",gE:\"\\u2267\",ge:\"\\u2265\",gEl:\"\\u2A8C\",gel:\"\\u22DB\",geq:\"\\u2265\",geqq:\"\\u2267\",geqslant:\"\\u2A7E\",ges:\"\\u2A7E\",gescc:\"\\u2AA9\",gesdot:\"\\u2A80\",gesdoto:\"\\u2A82\",gesdotol:\"\\u2A84\",gesl:\"\\u22DB\\uFE00\",gesles:\"\\u2A94\",Gfr:\"\\u{1D50A}\",gfr:\"\\u{1D524}\",Gg:\"\\u22D9\",gg:\"\\u226B\",ggg:\"\\u22D9\",gimel:\"\\u2137\",GJcy:\"\\u0403\",gjcy:\"\\u0453\",gl:\"\\u2277\",gla:\"\\u2AA5\",glE:\"\\u2A92\",glj:\"\\u2AA4\",gnap:\"\\u2A8A\",gnapprox:\"\\u2A8A\",gnE:\"\\u2269\",gne:\"\\u2A88\",gneq:\"\\u2A88\",gneqq:\"\\u2269\",gnsim:\"\\u22E7\",Gopf:\"\\u{1D53E}\",gopf:\"\\u{1D558}\",grave:\"`\",GreaterEqual:\"\\u2265\",GreaterEqualLess:\"\\u22DB\",GreaterFullEqual:\"\\u2267\",GreaterGreater:\"\\u2AA2\",GreaterLess:\"\\u2277\",GreaterSlantEqual:\"\\u2A7E\",GreaterTilde:\"\\u2273\",Gscr:\"\\u{1D4A2}\",gscr:\"\\u210A\",gsim:\"\\u2273\",gsime:\"\\u2A8E\",gsiml:\"\\u2A90\",GT:\">\",Gt:\"\\u226B\",gt:\">\",gtcc:\"\\u2AA7\",gtcir:\"\\u2A7A\",gtdot:\"\\u22D7\",gtlPar:\"\\u2995\",gtquest:\"\\u2A7C\",gtrapprox:\"\\u2A86\",gtrarr:\"\\u2978\",gtrdot:\"\\u22D7\",gtreqless:\"\\u22DB\",gtreqqless:\"\\u2A8C\",gtrless:\"\\u2277\",gtrsim:\"\\u2273\",gvertneqq:\"\\u2269\\uFE00\",gvnE:\"\\u2269\\uFE00\",Hacek:\"\\u02C7\",hairsp:\"\\u200A\",half:\"\\xBD\",hamilt:\"\\u210B\",HARDcy:\"\\u042A\",hardcy:\"\\u044A\",hArr:\"\\u21D4\",harr:\"\\u2194\",harrcir:\"\\u2948\",harrw:\"\\u21AD\",Hat:\"^\",hbar:\"\\u210F\",Hcirc:\"\\u0124\",hcirc:\"\\u0125\",hearts:\"\\u2665\",heartsuit:\"\\u2665\",hellip:\"\\u2026\",hercon:\"\\u22B9\",Hfr:\"\\u210C\",hfr:\"\\u{1D525}\",HilbertSpace:\"\\u210B\",hksearow:\"\\u2925\",hkswarow:\"\\u2926\",hoarr:\"\\u21FF\",homtht:\"\\u223B\",hookleftarrow:\"\\u21A9\",hookrightarrow:\"\\u21AA\",Hopf:\"\\u210D\",hopf:\"\\u{1D559}\",horbar:\"\\u2015\",HorizontalLine:\"\\u2500\",Hscr:\"\\u210B\",hscr:\"\\u{1D4BD}\",hslash:\"\\u210F\",Hstrok:\"\\u0126\",hstrok:\"\\u0127\",HumpDownHump:\"\\u224E\",HumpEqual:\"\\u224F\",hybull:\"\\u2043\",hyphen:\"\\u2010\",Iacute:\"\\xCD\",iacute:\"\\xED\",ic:\"\\u2063\",Icirc:\"\\xCE\",icirc:\"\\xEE\",Icy:\"\\u0418\",icy:\"\\u0438\",Idot:\"\\u0130\",IEcy:\"\\u0415\",iecy:\"\\u0435\",iexcl:\"\\xA1\",iff:\"\\u21D4\",Ifr:\"\\u2111\",ifr:\"\\u{1D526}\",Igrave:\"\\xCC\",igrave:\"\\xEC\",ii:\"\\u2148\",iiiint:\"\\u2A0C\",iiint:\"\\u222D\",iinfin:\"\\u29DC\",iiota:\"\\u2129\",IJlig:\"\\u0132\",ijlig:\"\\u0133\",Im:\"\\u2111\",Imacr:\"\\u012A\",imacr:\"\\u012B\",image:\"\\u2111\",ImaginaryI:\"\\u2148\",imagline:\"\\u2110\",imagpart:\"\\u2111\",imath:\"\\u0131\",imof:\"\\u22B7\",imped:\"\\u01B5\",Implies:\"\\u21D2\",in:\"\\u2208\",incare:\"\\u2105\",infin:\"\\u221E\",infintie:\"\\u29DD\",inodot:\"\\u0131\",Int:\"\\u222C\",int:\"\\u222B\",intcal:\"\\u22BA\",integers:\"\\u2124\",Integral:\"\\u222B\",intercal:\"\\u22BA\",Intersection:\"\\u22C2\",intlarhk:\"\\u2A17\",intprod:\"\\u2A3C\",InvisibleComma:\"\\u2063\",InvisibleTimes:\"\\u2062\",IOcy:\"\\u0401\",iocy:\"\\u0451\",Iogon:\"\\u012E\",iogon:\"\\u012F\",Iopf:\"\\u{1D540}\",iopf:\"\\u{1D55A}\",Iota:\"\\u0399\",iota:\"\\u03B9\",iprod:\"\\u2A3C\",iquest:\"\\xBF\",Iscr:\"\\u2110\",iscr:\"\\u{1D4BE}\",isin:\"\\u2208\",isindot:\"\\u22F5\",isinE:\"\\u22F9\",isins:\"\\u22F4\",isinsv:\"\\u22F3\",isinv:\"\\u2208\",it:\"\\u2062\",Itilde:\"\\u0128\",itilde:\"\\u0129\",Iukcy:\"\\u0406\",iukcy:\"\\u0456\",Iuml:\"\\xCF\",iuml:\"\\xEF\",Jcirc:\"\\u0134\",jcirc:\"\\u0135\",Jcy:\"\\u0419\",jcy:\"\\u0439\",Jfr:\"\\u{1D50D}\",jfr:\"\\u{1D527}\",jmath:\"\\u0237\",Jopf:\"\\u{1D541}\",jopf:\"\\u{1D55B}\",Jscr:\"\\u{1D4A5}\",jscr:\"\\u{1D4BF}\",Jsercy:\"\\u0408\",jsercy:\"\\u0458\",Jukcy:\"\\u0404\",jukcy:\"\\u0454\",Kappa:\"\\u039A\",kappa:\"\\u03BA\",kappav:\"\\u03F0\",Kcedil:\"\\u0136\",kcedil:\"\\u0137\",Kcy:\"\\u041A\",kcy:\"\\u043A\",Kfr:\"\\u{1D50E}\",kfr:\"\\u{1D528}\",kgreen:\"\\u0138\",KHcy:\"\\u0425\",khcy:\"\\u0445\",KJcy:\"\\u040C\",kjcy:\"\\u045C\",Kopf:\"\\u{1D542}\",kopf:\"\\u{1D55C}\",Kscr:\"\\u{1D4A6}\",kscr:\"\\u{1D4C0}\",lAarr:\"\\u21DA\",Lacute:\"\\u0139\",lacute:\"\\u013A\",laemptyv:\"\\u29B4\",lagran:\"\\u2112\",Lambda:\"\\u039B\",lambda:\"\\u03BB\",Lang:\"\\u27EA\",lang:\"\\u27E8\",langd:\"\\u2991\",langle:\"\\u27E8\",lap:\"\\u2A85\",Laplacetrf:\"\\u2112\",laquo:\"\\xAB\",Larr:\"\\u219E\",lArr:\"\\u21D0\",larr:\"\\u2190\",larrb:\"\\u21E4\",larrbfs:\"\\u291F\",larrfs:\"\\u291D\",larrhk:\"\\u21A9\",larrlp:\"\\u21AB\",larrpl:\"\\u2939\",larrsim:\"\\u2973\",larrtl:\"\\u21A2\",lat:\"\\u2AAB\",lAtail:\"\\u291B\",latail:\"\\u2919\",late:\"\\u2AAD\",lates:\"\\u2AAD\\uFE00\",lBarr:\"\\u290E\",lbarr:\"\\u290C\",lbbrk:\"\\u2772\",lbrace:\"{\",lbrack:\"[\",lbrke:\"\\u298B\",lbrksld:\"\\u298F\",lbrkslu:\"\\u298D\",Lcaron:\"\\u013D\",lcaron:\"\\u013E\",Lcedil:\"\\u013B\",lcedil:\"\\u013C\",lceil:\"\\u2308\",lcub:\"{\",Lcy:\"\\u041B\",lcy:\"\\u043B\",ldca:\"\\u2936\",ldquo:\"\\u201C\",ldquor:\"\\u201E\",ldrdhar:\"\\u2967\",ldrushar:\"\\u294B\",ldsh:\"\\u21B2\",lE:\"\\u2266\",le:\"\\u2264\",LeftAngleBracket:\"\\u27E8\",LeftArrow:\"\\u2190\",Leftarrow:\"\\u21D0\",leftarrow:\"\\u2190\",LeftArrowBar:\"\\u21E4\",LeftArrowRightArrow:\"\\u21C6\",leftarrowtail:\"\\u21A2\",LeftCeiling:\"\\u2308\",LeftDoubleBracket:\"\\u27E6\",LeftDownTeeVector:\"\\u2961\",LeftDownVector:\"\\u21C3\",LeftDownVectorBar:\"\\u2959\",LeftFloor:\"\\u230A\",leftharpoondown:\"\\u21BD\",leftharpoonup:\"\\u21BC\",leftleftarrows:\"\\u21C7\",LeftRightArrow:\"\\u2194\",Leftrightarrow:\"\\u21D4\",leftrightarrow:\"\\u2194\",leftrightarrows:\"\\u21C6\",leftrightharpoons:\"\\u21CB\",leftrightsquigarrow:\"\\u21AD\",LeftRightVector:\"\\u294E\",LeftTee:\"\\u22A3\",LeftTeeArrow:\"\\u21A4\",LeftTeeVector:\"\\u295A\",leftthreetimes:\"\\u22CB\",LeftTriangle:\"\\u22B2\",LeftTriangleBar:\"\\u29CF\",LeftTriangleEqual:\"\\u22B4\",LeftUpDownVector:\"\\u2951\",LeftUpTeeVector:\"\\u2960\",LeftUpVector:\"\\u21BF\",LeftUpVectorBar:\"\\u2958\",LeftVector:\"\\u21BC\",LeftVectorBar:\"\\u2952\",lEg:\"\\u2A8B\",leg:\"\\u22DA\",leq:\"\\u2264\",leqq:\"\\u2266\",leqslant:\"\\u2A7D\",les:\"\\u2A7D\",lescc:\"\\u2AA8\",lesdot:\"\\u2A7F\",lesdoto:\"\\u2A81\",lesdotor:\"\\u2A83\",lesg:\"\\u22DA\\uFE00\",lesges:\"\\u2A93\",lessapprox:\"\\u2A85\",lessdot:\"\\u22D6\",lesseqgtr:\"\\u22DA\",lesseqqgtr:\"\\u2A8B\",LessEqualGreater:\"\\u22DA\",LessFullEqual:\"\\u2266\",LessGreater:\"\\u2276\",lessgtr:\"\\u2276\",LessLess:\"\\u2AA1\",lesssim:\"\\u2272\",LessSlantEqual:\"\\u2A7D\",LessTilde:\"\\u2272\",lfisht:\"\\u297C\",lfloor:\"\\u230A\",Lfr:\"\\u{1D50F}\",lfr:\"\\u{1D529}\",lg:\"\\u2276\",lgE:\"\\u2A91\",lHar:\"\\u2962\",lhard:\"\\u21BD\",lharu:\"\\u21BC\",lharul:\"\\u296A\",lhblk:\"\\u2584\",LJcy:\"\\u0409\",ljcy:\"\\u0459\",Ll:\"\\u22D8\",ll:\"\\u226A\",llarr:\"\\u21C7\",llcorner:\"\\u231E\",Lleftarrow:\"\\u21DA\",llhard:\"\\u296B\",lltri:\"\\u25FA\",Lmidot:\"\\u013F\",lmidot:\"\\u0140\",lmoust:\"\\u23B0\",lmoustache:\"\\u23B0\",lnap:\"\\u2A89\",lnapprox:\"\\u2A89\",lnE:\"\\u2268\",lne:\"\\u2A87\",lneq:\"\\u2A87\",lneqq:\"\\u2268\",lnsim:\"\\u22E6\",loang:\"\\u27EC\",loarr:\"\\u21FD\",lobrk:\"\\u27E6\",LongLeftArrow:\"\\u27F5\",Longleftarrow:\"\\u27F8\",longleftarrow:\"\\u27F5\",LongLeftRightArrow:\"\\u27F7\",Longleftrightarrow:\"\\u27FA\",longleftrightarrow:\"\\u27F7\",longmapsto:\"\\u27FC\",LongRightArrow:\"\\u27F6\",Longrightarrow:\"\\u27F9\",longrightarrow:\"\\u27F6\",looparrowleft:\"\\u21AB\",looparrowright:\"\\u21AC\",lopar:\"\\u2985\",Lopf:\"\\u{1D543}\",lopf:\"\\u{1D55D}\",loplus:\"\\u2A2D\",lotimes:\"\\u2A34\",lowast:\"\\u2217\",lowbar:\"_\",LowerLeftArrow:\"\\u2199\",LowerRightArrow:\"\\u2198\",loz:\"\\u25CA\",lozenge:\"\\u25CA\",lozf:\"\\u29EB\",lpar:\"(\",lparlt:\"\\u2993\",lrarr:\"\\u21C6\",lrcorner:\"\\u231F\",lrhar:\"\\u21CB\",lrhard:\"\\u296D\",lrm:\"\\u200E\",lrtri:\"\\u22BF\",lsaquo:\"\\u2039\",Lscr:\"\\u2112\",lscr:\"\\u{1D4C1}\",Lsh:\"\\u21B0\",lsh:\"\\u21B0\",lsim:\"\\u2272\",lsime:\"\\u2A8D\",lsimg:\"\\u2A8F\",lsqb:\"[\",lsquo:\"\\u2018\",lsquor:\"\\u201A\",Lstrok:\"\\u0141\",lstrok:\"\\u0142\",LT:\"<\",Lt:\"\\u226A\",lt:\"<\",ltcc:\"\\u2AA6\",ltcir:\"\\u2A79\",ltdot:\"\\u22D6\",lthree:\"\\u22CB\",ltimes:\"\\u22C9\",ltlarr:\"\\u2976\",ltquest:\"\\u2A7B\",ltri:\"\\u25C3\",ltrie:\"\\u22B4\",ltrif:\"\\u25C2\",ltrPar:\"\\u2996\",lurdshar:\"\\u294A\",luruhar:\"\\u2966\",lvertneqq:\"\\u2268\\uFE00\",lvnE:\"\\u2268\\uFE00\",macr:\"\\xAF\",male:\"\\u2642\",malt:\"\\u2720\",maltese:\"\\u2720\",Map:\"\\u2905\",map:\"\\u21A6\",mapsto:\"\\u21A6\",mapstodown:\"\\u21A7\",mapstoleft:\"\\u21A4\",mapstoup:\"\\u21A5\",marker:\"\\u25AE\",mcomma:\"\\u2A29\",Mcy:\"\\u041C\",mcy:\"\\u043C\",mdash:\"\\u2014\",mDDot:\"\\u223A\",measuredangle:\"\\u2221\",MediumSpace:\"\\u205F\",Mellintrf:\"\\u2133\",Mfr:\"\\u{1D510}\",mfr:\"\\u{1D52A}\",mho:\"\\u2127\",micro:\"\\xB5\",mid:\"\\u2223\",midast:\"*\",midcir:\"\\u2AF0\",middot:\"\\xB7\",minus:\"\\u2212\",minusb:\"\\u229F\",minusd:\"\\u2238\",minusdu:\"\\u2A2A\",MinusPlus:\"\\u2213\",mlcp:\"\\u2ADB\",mldr:\"\\u2026\",mnplus:\"\\u2213\",models:\"\\u22A7\",Mopf:\"\\u{1D544}\",mopf:\"\\u{1D55E}\",mp:\"\\u2213\",Mscr:\"\\u2133\",mscr:\"\\u{1D4C2}\",mstpos:\"\\u223E\",Mu:\"\\u039C\",mu:\"\\u03BC\",multimap:\"\\u22B8\",mumap:\"\\u22B8\",nabla:\"\\u2207\",Nacute:\"\\u0143\",nacute:\"\\u0144\",nang:\"\\u2220\\u20D2\",nap:\"\\u2249\",napE:\"\\u2A70\\u0338\",napid:\"\\u224B\\u0338\",napos:\"\\u0149\",napprox:\"\\u2249\",natur:\"\\u266E\",natural:\"\\u266E\",naturals:\"\\u2115\",nbsp:\"\\xA0\",nbump:\"\\u224E\\u0338\",nbumpe:\"\\u224F\\u0338\",ncap:\"\\u2A43\",Ncaron:\"\\u0147\",ncaron:\"\\u0148\",Ncedil:\"\\u0145\",ncedil:\"\\u0146\",ncong:\"\\u2247\",ncongdot:\"\\u2A6D\\u0338\",ncup:\"\\u2A42\",Ncy:\"\\u041D\",ncy:\"\\u043D\",ndash:\"\\u2013\",ne:\"\\u2260\",nearhk:\"\\u2924\",neArr:\"\\u21D7\",nearr:\"\\u2197\",nearrow:\"\\u2197\",nedot:\"\\u2250\\u0338\",NegativeMediumSpace:\"\\u200B\",NegativeThickSpace:\"\\u200B\",NegativeThinSpace:\"\\u200B\",NegativeVeryThinSpace:\"\\u200B\",nequiv:\"\\u2262\",nesear:\"\\u2928\",nesim:\"\\u2242\\u0338\",NestedGreaterGreater:\"\\u226B\",NestedLessLess:\"\\u226A\",NewLine:`\n`,nexist:\"\\u2204\",nexists:\"\\u2204\",Nfr:\"\\u{1D511}\",nfr:\"\\u{1D52B}\",ngE:\"\\u2267\\u0338\",nge:\"\\u2271\",ngeq:\"\\u2271\",ngeqq:\"\\u2267\\u0338\",ngeqslant:\"\\u2A7E\\u0338\",nges:\"\\u2A7E\\u0338\",nGg:\"\\u22D9\\u0338\",ngsim:\"\\u2275\",nGt:\"\\u226B\\u20D2\",ngt:\"\\u226F\",ngtr:\"\\u226F\",nGtv:\"\\u226B\\u0338\",nhArr:\"\\u21CE\",nharr:\"\\u21AE\",nhpar:\"\\u2AF2\",ni:\"\\u220B\",nis:\"\\u22FC\",nisd:\"\\u22FA\",niv:\"\\u220B\",NJcy:\"\\u040A\",njcy:\"\\u045A\",nlArr:\"\\u21CD\",nlarr:\"\\u219A\",nldr:\"\\u2025\",nlE:\"\\u2266\\u0338\",nle:\"\\u2270\",nLeftarrow:\"\\u21CD\",nleftarrow:\"\\u219A\",nLeftrightarrow:\"\\u21CE\",nleftrightarrow:\"\\u21AE\",nleq:\"\\u2270\",nleqq:\"\\u2266\\u0338\",nleqslant:\"\\u2A7D\\u0338\",nles:\"\\u2A7D\\u0338\",nless:\"\\u226E\",nLl:\"\\u22D8\\u0338\",nlsim:\"\\u2274\",nLt:\"\\u226A\\u20D2\",nlt:\"\\u226E\",nltri:\"\\u22EA\",nltrie:\"\\u22EC\",nLtv:\"\\u226A\\u0338\",nmid:\"\\u2224\",NoBreak:\"\\u2060\",NonBreakingSpace:\"\\xA0\",Nopf:\"\\u2115\",nopf:\"\\u{1D55F}\",Not:\"\\u2AEC\",not:\"\\xAC\",NotCongruent:\"\\u2262\",NotCupCap:\"\\u226D\",NotDoubleVerticalBar:\"\\u2226\",NotElement:\"\\u2209\",NotEqual:\"\\u2260\",NotEqualTilde:\"\\u2242\\u0338\",NotExists:\"\\u2204\",NotGreater:\"\\u226F\",NotGreaterEqual:\"\\u2271\",NotGreaterFullEqual:\"\\u2267\\u0338\",NotGreaterGreater:\"\\u226B\\u0338\",NotGreaterLess:\"\\u2279\",NotGreaterSlantEqual:\"\\u2A7E\\u0338\",NotGreaterTilde:\"\\u2275\",NotHumpDownHump:\"\\u224E\\u0338\",NotHumpEqual:\"\\u224F\\u0338\",notin:\"\\u2209\",notindot:\"\\u22F5\\u0338\",notinE:\"\\u22F9\\u0338\",notinva:\"\\u2209\",notinvb:\"\\u22F7\",notinvc:\"\\u22F6\",NotLeftTriangle:\"\\u22EA\",NotLeftTriangleBar:\"\\u29CF\\u0338\",NotLeftTriangleEqual:\"\\u22EC\",NotLess:\"\\u226E\",NotLessEqual:\"\\u2270\",NotLessGreater:\"\\u2278\",NotLessLess:\"\\u226A\\u0338\",NotLessSlantEqual:\"\\u2A7D\\u0338\",NotLessTilde:\"\\u2274\",NotNestedGreaterGreater:\"\\u2AA2\\u0338\",NotNestedLessLess:\"\\u2AA1\\u0338\",notni:\"\\u220C\",notniva:\"\\u220C\",notnivb:\"\\u22FE\",notnivc:\"\\u22FD\",NotPrecedes:\"\\u2280\",NotPrecedesEqual:\"\\u2AAF\\u0338\",NotPrecedesSlantEqual:\"\\u22E0\",NotReverseElement:\"\\u220C\",NotRightTriangle:\"\\u22EB\",NotRightTriangleBar:\"\\u29D0\\u0338\",NotRightTriangleEqual:\"\\u22ED\",NotSquareSubset:\"\\u228F\\u0338\",NotSquareSubsetEqual:\"\\u22E2\",NotSquareSuperset:\"\\u2290\\u0338\",NotSquareSupersetEqual:\"\\u22E3\",NotSubset:\"\\u2282\\u20D2\",NotSubsetEqual:\"\\u2288\",NotSucceeds:\"\\u2281\",NotSucceedsEqual:\"\\u2AB0\\u0338\",NotSucceedsSlantEqual:\"\\u22E1\",NotSucceedsTilde:\"\\u227F\\u0338\",NotSuperset:\"\\u2283\\u20D2\",NotSupersetEqual:\"\\u2289\",NotTilde:\"\\u2241\",NotTildeEqual:\"\\u2244\",NotTildeFullEqual:\"\\u2247\",NotTildeTilde:\"\\u2249\",NotVerticalBar:\"\\u2224\",npar:\"\\u2226\",nparallel:\"\\u2226\",nparsl:\"\\u2AFD\\u20E5\",npart:\"\\u2202\\u0338\",npolint:\"\\u2A14\",npr:\"\\u2280\",nprcue:\"\\u22E0\",npre:\"\\u2AAF\\u0338\",nprec:\"\\u2280\",npreceq:\"\\u2AAF\\u0338\",nrArr:\"\\u21CF\",nrarr:\"\\u219B\",nrarrc:\"\\u2933\\u0338\",nrarrw:\"\\u219D\\u0338\",nRightarrow:\"\\u21CF\",nrightarrow:\"\\u219B\",nrtri:\"\\u22EB\",nrtrie:\"\\u22ED\",nsc:\"\\u2281\",nsccue:\"\\u22E1\",nsce:\"\\u2AB0\\u0338\",Nscr:\"\\u{1D4A9}\",nscr:\"\\u{1D4C3}\",nshortmid:\"\\u2224\",nshortparallel:\"\\u2226\",nsim:\"\\u2241\",nsime:\"\\u2244\",nsimeq:\"\\u2244\",nsmid:\"\\u2224\",nspar:\"\\u2226\",nsqsube:\"\\u22E2\",nsqsupe:\"\\u22E3\",nsub:\"\\u2284\",nsubE:\"\\u2AC5\\u0338\",nsube:\"\\u2288\",nsubset:\"\\u2282\\u20D2\",nsubseteq:\"\\u2288\",nsubseteqq:\"\\u2AC5\\u0338\",nsucc:\"\\u2281\",nsucceq:\"\\u2AB0\\u0338\",nsup:\"\\u2285\",nsupE:\"\\u2AC6\\u0338\",nsupe:\"\\u2289\",nsupset:\"\\u2283\\u20D2\",nsupseteq:\"\\u2289\",nsupseteqq:\"\\u2AC6\\u0338\",ntgl:\"\\u2279\",Ntilde:\"\\xD1\",ntilde:\"\\xF1\",ntlg:\"\\u2278\",ntriangleleft:\"\\u22EA\",ntrianglelefteq:\"\\u22EC\",ntriangleright:\"\\u22EB\",ntrianglerighteq:\"\\u22ED\",Nu:\"\\u039D\",nu:\"\\u03BD\",num:\"#\",numero:\"\\u2116\",numsp:\"\\u2007\",nvap:\"\\u224D\\u20D2\",nVDash:\"\\u22AF\",nVdash:\"\\u22AE\",nvDash:\"\\u22AD\",nvdash:\"\\u22AC\",nvge:\"\\u2265\\u20D2\",nvgt:\">\\u20D2\",nvHarr:\"\\u2904\",nvinfin:\"\\u29DE\",nvlArr:\"\\u2902\",nvle:\"\\u2264\\u20D2\",nvlt:\"<\\u20D2\",nvltrie:\"\\u22B4\\u20D2\",nvrArr:\"\\u2903\",nvrtrie:\"\\u22B5\\u20D2\",nvsim:\"\\u223C\\u20D2\",nwarhk:\"\\u2923\",nwArr:\"\\u21D6\",nwarr:\"\\u2196\",nwarrow:\"\\u2196\",nwnear:\"\\u2927\",Oacute:\"\\xD3\",oacute:\"\\xF3\",oast:\"\\u229B\",ocir:\"\\u229A\",Ocirc:\"\\xD4\",ocirc:\"\\xF4\",Ocy:\"\\u041E\",ocy:\"\\u043E\",odash:\"\\u229D\",Odblac:\"\\u0150\",odblac:\"\\u0151\",odiv:\"\\u2A38\",odot:\"\\u2299\",odsold:\"\\u29BC\",OElig:\"\\u0152\",oelig:\"\\u0153\",ofcir:\"\\u29BF\",Ofr:\"\\u{1D512}\",ofr:\"\\u{1D52C}\",ogon:\"\\u02DB\",Ograve:\"\\xD2\",ograve:\"\\xF2\",ogt:\"\\u29C1\",ohbar:\"\\u29B5\",ohm:\"\\u03A9\",oint:\"\\u222E\",olarr:\"\\u21BA\",olcir:\"\\u29BE\",olcross:\"\\u29BB\",oline:\"\\u203E\",olt:\"\\u29C0\",Omacr:\"\\u014C\",omacr:\"\\u014D\",Omega:\"\\u03A9\",omega:\"\\u03C9\",Omicron:\"\\u039F\",omicron:\"\\u03BF\",omid:\"\\u29B6\",ominus:\"\\u2296\",Oopf:\"\\u{1D546}\",oopf:\"\\u{1D560}\",opar:\"\\u29B7\",OpenCurlyDoubleQuote:\"\\u201C\",OpenCurlyQuote:\"\\u2018\",operp:\"\\u29B9\",oplus:\"\\u2295\",Or:\"\\u2A54\",or:\"\\u2228\",orarr:\"\\u21BB\",ord:\"\\u2A5D\",order:\"\\u2134\",orderof:\"\\u2134\",ordf:\"\\xAA\",ordm:\"\\xBA\",origof:\"\\u22B6\",oror:\"\\u2A56\",orslope:\"\\u2A57\",orv:\"\\u2A5B\",oS:\"\\u24C8\",Oscr:\"\\u{1D4AA}\",oscr:\"\\u2134\",Oslash:\"\\xD8\",oslash:\"\\xF8\",osol:\"\\u2298\",Otilde:\"\\xD5\",otilde:\"\\xF5\",Otimes:\"\\u2A37\",otimes:\"\\u2297\",otimesas:\"\\u2A36\",Ouml:\"\\xD6\",ouml:\"\\xF6\",ovbar:\"\\u233D\",OverBar:\"\\u203E\",OverBrace:\"\\u23DE\",OverBracket:\"\\u23B4\",OverParenthesis:\"\\u23DC\",par:\"\\u2225\",para:\"\\xB6\",parallel:\"\\u2225\",parsim:\"\\u2AF3\",parsl:\"\\u2AFD\",part:\"\\u2202\",PartialD:\"\\u2202\",Pcy:\"\\u041F\",pcy:\"\\u043F\",percnt:\"%\",period:\".\",permil:\"\\u2030\",perp:\"\\u22A5\",pertenk:\"\\u2031\",Pfr:\"\\u{1D513}\",pfr:\"\\u{1D52D}\",Phi:\"\\u03A6\",phi:\"\\u03C6\",phiv:\"\\u03D5\",phmmat:\"\\u2133\",phone:\"\\u260E\",Pi:\"\\u03A0\",pi:\"\\u03C0\",pitchfork:\"\\u22D4\",piv:\"\\u03D6\",planck:\"\\u210F\",planckh:\"\\u210E\",plankv:\"\\u210F\",plus:\"+\",plusacir:\"\\u2A23\",plusb:\"\\u229E\",pluscir:\"\\u2A22\",plusdo:\"\\u2214\",plusdu:\"\\u2A25\",pluse:\"\\u2A72\",PlusMinus:\"\\xB1\",plusmn:\"\\xB1\",plussim:\"\\u2A26\",plustwo:\"\\u2A27\",pm:\"\\xB1\",Poincareplane:\"\\u210C\",pointint:\"\\u2A15\",Popf:\"\\u2119\",popf:\"\\u{1D561}\",pound:\"\\xA3\",Pr:\"\\u2ABB\",pr:\"\\u227A\",prap:\"\\u2AB7\",prcue:\"\\u227C\",prE:\"\\u2AB3\",pre:\"\\u2AAF\",prec:\"\\u227A\",precapprox:\"\\u2AB7\",preccurlyeq:\"\\u227C\",Precedes:\"\\u227A\",PrecedesEqual:\"\\u2AAF\",PrecedesSlantEqual:\"\\u227C\",PrecedesTilde:\"\\u227E\",preceq:\"\\u2AAF\",precnapprox:\"\\u2AB9\",precneqq:\"\\u2AB5\",precnsim:\"\\u22E8\",precsim:\"\\u227E\",Prime:\"\\u2033\",prime:\"\\u2032\",primes:\"\\u2119\",prnap:\"\\u2AB9\",prnE:\"\\u2AB5\",prnsim:\"\\u22E8\",prod:\"\\u220F\",Product:\"\\u220F\",profalar:\"\\u232E\",profline:\"\\u2312\",profsurf:\"\\u2313\",prop:\"\\u221D\",Proportion:\"\\u2237\",Proportional:\"\\u221D\",propto:\"\\u221D\",prsim:\"\\u227E\",prurel:\"\\u22B0\",Pscr:\"\\u{1D4AB}\",pscr:\"\\u{1D4C5}\",Psi:\"\\u03A8\",psi:\"\\u03C8\",puncsp:\"\\u2008\",Qfr:\"\\u{1D514}\",qfr:\"\\u{1D52E}\",qint:\"\\u2A0C\",Qopf:\"\\u211A\",qopf:\"\\u{1D562}\",qprime:\"\\u2057\",Qscr:\"\\u{1D4AC}\",qscr:\"\\u{1D4C6}\",quaternions:\"\\u210D\",quatint:\"\\u2A16\",quest:\"?\",questeq:\"\\u225F\",QUOT:'\"',quot:'\"',rAarr:\"\\u21DB\",race:\"\\u223D\\u0331\",Racute:\"\\u0154\",racute:\"\\u0155\",radic:\"\\u221A\",raemptyv:\"\\u29B3\",Rang:\"\\u27EB\",rang:\"\\u27E9\",rangd:\"\\u2992\",range:\"\\u29A5\",rangle:\"\\u27E9\",raquo:\"\\xBB\",Rarr:\"\\u21A0\",rArr:\"\\u21D2\",rarr:\"\\u2192\",rarrap:\"\\u2975\",rarrb:\"\\u21E5\",rarrbfs:\"\\u2920\",rarrc:\"\\u2933\",rarrfs:\"\\u291E\",rarrhk:\"\\u21AA\",rarrlp:\"\\u21AC\",rarrpl:\"\\u2945\",rarrsim:\"\\u2974\",Rarrtl:\"\\u2916\",rarrtl:\"\\u21A3\",rarrw:\"\\u219D\",rAtail:\"\\u291C\",ratail:\"\\u291A\",ratio:\"\\u2236\",rationals:\"\\u211A\",RBarr:\"\\u2910\",rBarr:\"\\u290F\",rbarr:\"\\u290D\",rbbrk:\"\\u2773\",rbrace:\"}\",rbrack:\"]\",rbrke:\"\\u298C\",rbrksld:\"\\u298E\",rbrkslu:\"\\u2990\",Rcaron:\"\\u0158\",rcaron:\"\\u0159\",Rcedil:\"\\u0156\",rcedil:\"\\u0157\",rceil:\"\\u2309\",rcub:\"}\",Rcy:\"\\u0420\",rcy:\"\\u0440\",rdca:\"\\u2937\",rdldhar:\"\\u2969\",rdquo:\"\\u201D\",rdquor:\"\\u201D\",rdsh:\"\\u21B3\",Re:\"\\u211C\",real:\"\\u211C\",realine:\"\\u211B\",realpart:\"\\u211C\",reals:\"\\u211D\",rect:\"\\u25AD\",REG:\"\\xAE\",reg:\"\\xAE\",ReverseElement:\"\\u220B\",ReverseEquilibrium:\"\\u21CB\",ReverseUpEquilibrium:\"\\u296F\",rfisht:\"\\u297D\",rfloor:\"\\u230B\",Rfr:\"\\u211C\",rfr:\"\\u{1D52F}\",rHar:\"\\u2964\",rhard:\"\\u21C1\",rharu:\"\\u21C0\",rharul:\"\\u296C\",Rho:\"\\u03A1\",rho:\"\\u03C1\",rhov:\"\\u03F1\",RightAngleBracket:\"\\u27E9\",RightArrow:\"\\u2192\",Rightarrow:\"\\u21D2\",rightarrow:\"\\u2192\",RightArrowBar:\"\\u21E5\",RightArrowLeftArrow:\"\\u21C4\",rightarrowtail:\"\\u21A3\",RightCeiling:\"\\u2309\",RightDoubleBracket:\"\\u27E7\",RightDownTeeVector:\"\\u295D\",RightDownVector:\"\\u21C2\",RightDownVectorBar:\"\\u2955\",RightFloor:\"\\u230B\",rightharpoondown:\"\\u21C1\",rightharpoonup:\"\\u21C0\",rightleftarrows:\"\\u21C4\",rightleftharpoons:\"\\u21CC\",rightrightarrows:\"\\u21C9\",rightsquigarrow:\"\\u219D\",RightTee:\"\\u22A2\",RightTeeArrow:\"\\u21A6\",RightTeeVector:\"\\u295B\",rightthreetimes:\"\\u22CC\",RightTriangle:\"\\u22B3\",RightTriangleBar:\"\\u29D0\",RightTriangleEqual:\"\\u22B5\",RightUpDownVector:\"\\u294F\",RightUpTeeVector:\"\\u295C\",RightUpVector:\"\\u21BE\",RightUpVectorBar:\"\\u2954\",RightVector:\"\\u21C0\",RightVectorBar:\"\\u2953\",ring:\"\\u02DA\",risingdotseq:\"\\u2253\",rlarr:\"\\u21C4\",rlhar:\"\\u21CC\",rlm:\"\\u200F\",rmoust:\"\\u23B1\",rmoustache:\"\\u23B1\",rnmid:\"\\u2AEE\",roang:\"\\u27ED\",roarr:\"\\u21FE\",robrk:\"\\u27E7\",ropar:\"\\u2986\",Ropf:\"\\u211D\",ropf:\"\\u{1D563}\",roplus:\"\\u2A2E\",rotimes:\"\\u2A35\",RoundImplies:\"\\u2970\",rpar:\")\",rpargt:\"\\u2994\",rppolint:\"\\u2A12\",rrarr:\"\\u21C9\",Rrightarrow:\"\\u21DB\",rsaquo:\"\\u203A\",Rscr:\"\\u211B\",rscr:\"\\u{1D4C7}\",Rsh:\"\\u21B1\",rsh:\"\\u21B1\",rsqb:\"]\",rsquo:\"\\u2019\",rsquor:\"\\u2019\",rthree:\"\\u22CC\",rtimes:\"\\u22CA\",rtri:\"\\u25B9\",rtrie:\"\\u22B5\",rtrif:\"\\u25B8\",rtriltri:\"\\u29CE\",RuleDelayed:\"\\u29F4\",ruluhar:\"\\u2968\",rx:\"\\u211E\",Sacute:\"\\u015A\",sacute:\"\\u015B\",sbquo:\"\\u201A\",Sc:\"\\u2ABC\",sc:\"\\u227B\",scap:\"\\u2AB8\",Scaron:\"\\u0160\",scaron:\"\\u0161\",sccue:\"\\u227D\",scE:\"\\u2AB4\",sce:\"\\u2AB0\",Scedil:\"\\u015E\",scedil:\"\\u015F\",Scirc:\"\\u015C\",scirc:\"\\u015D\",scnap:\"\\u2ABA\",scnE:\"\\u2AB6\",scnsim:\"\\u22E9\",scpolint:\"\\u2A13\",scsim:\"\\u227F\",Scy:\"\\u0421\",scy:\"\\u0441\",sdot:\"\\u22C5\",sdotb:\"\\u22A1\",sdote:\"\\u2A66\",searhk:\"\\u2925\",seArr:\"\\u21D8\",searr:\"\\u2198\",searrow:\"\\u2198\",sect:\"\\xA7\",semi:\";\",seswar:\"\\u2929\",setminus:\"\\u2216\",setmn:\"\\u2216\",sext:\"\\u2736\",Sfr:\"\\u{1D516}\",sfr:\"\\u{1D530}\",sfrown:\"\\u2322\",sharp:\"\\u266F\",SHCHcy:\"\\u0429\",shchcy:\"\\u0449\",SHcy:\"\\u0428\",shcy:\"\\u0448\",ShortDownArrow:\"\\u2193\",ShortLeftArrow:\"\\u2190\",shortmid:\"\\u2223\",shortparallel:\"\\u2225\",ShortRightArrow:\"\\u2192\",ShortUpArrow:\"\\u2191\",shy:\"\\xAD\",Sigma:\"\\u03A3\",sigma:\"\\u03C3\",sigmaf:\"\\u03C2\",sigmav:\"\\u03C2\",sim:\"\\u223C\",simdot:\"\\u2A6A\",sime:\"\\u2243\",simeq:\"\\u2243\",simg:\"\\u2A9E\",simgE:\"\\u2AA0\",siml:\"\\u2A9D\",simlE:\"\\u2A9F\",simne:\"\\u2246\",simplus:\"\\u2A24\",simrarr:\"\\u2972\",slarr:\"\\u2190\",SmallCircle:\"\\u2218\",smallsetminus:\"\\u2216\",smashp:\"\\u2A33\",smeparsl:\"\\u29E4\",smid:\"\\u2223\",smile:\"\\u2323\",smt:\"\\u2AAA\",smte:\"\\u2AAC\",smtes:\"\\u2AAC\\uFE00\",SOFTcy:\"\\u042C\",softcy:\"\\u044C\",sol:\"/\",solb:\"\\u29C4\",solbar:\"\\u233F\",Sopf:\"\\u{1D54A}\",sopf:\"\\u{1D564}\",spades:\"\\u2660\",spadesuit:\"\\u2660\",spar:\"\\u2225\",sqcap:\"\\u2293\",sqcaps:\"\\u2293\\uFE00\",sqcup:\"\\u2294\",sqcups:\"\\u2294\\uFE00\",Sqrt:\"\\u221A\",sqsub:\"\\u228F\",sqsube:\"\\u2291\",sqsubset:\"\\u228F\",sqsubseteq:\"\\u2291\",sqsup:\"\\u2290\",sqsupe:\"\\u2292\",sqsupset:\"\\u2290\",sqsupseteq:\"\\u2292\",squ:\"\\u25A1\",Square:\"\\u25A1\",square:\"\\u25A1\",SquareIntersection:\"\\u2293\",SquareSubset:\"\\u228F\",SquareSubsetEqual:\"\\u2291\",SquareSuperset:\"\\u2290\",SquareSupersetEqual:\"\\u2292\",SquareUnion:\"\\u2294\",squarf:\"\\u25AA\",squf:\"\\u25AA\",srarr:\"\\u2192\",Sscr:\"\\u{1D4AE}\",sscr:\"\\u{1D4C8}\",ssetmn:\"\\u2216\",ssmile:\"\\u2323\",sstarf:\"\\u22C6\",Star:\"\\u22C6\",star:\"\\u2606\",starf:\"\\u2605\",straightepsilon:\"\\u03F5\",straightphi:\"\\u03D5\",strns:\"\\xAF\",Sub:\"\\u22D0\",sub:\"\\u2282\",subdot:\"\\u2ABD\",subE:\"\\u2AC5\",sube:\"\\u2286\",subedot:\"\\u2AC3\",submult:\"\\u2AC1\",subnE:\"\\u2ACB\",subne:\"\\u228A\",subplus:\"\\u2ABF\",subrarr:\"\\u2979\",Subset:\"\\u22D0\",subset:\"\\u2282\",subseteq:\"\\u2286\",subseteqq:\"\\u2AC5\",SubsetEqual:\"\\u2286\",subsetneq:\"\\u228A\",subsetneqq:\"\\u2ACB\",subsim:\"\\u2AC7\",subsub:\"\\u2AD5\",subsup:\"\\u2AD3\",succ:\"\\u227B\",succapprox:\"\\u2AB8\",succcurlyeq:\"\\u227D\",Succeeds:\"\\u227B\",SucceedsEqual:\"\\u2AB0\",SucceedsSlantEqual:\"\\u227D\",SucceedsTilde:\"\\u227F\",succeq:\"\\u2AB0\",succnapprox:\"\\u2ABA\",succneqq:\"\\u2AB6\",succnsim:\"\\u22E9\",succsim:\"\\u227F\",SuchThat:\"\\u220B\",Sum:\"\\u2211\",sum:\"\\u2211\",sung:\"\\u266A\",Sup:\"\\u22D1\",sup:\"\\u2283\",sup1:\"\\xB9\",sup2:\"\\xB2\",sup3:\"\\xB3\",supdot:\"\\u2ABE\",supdsub:\"\\u2AD8\",supE:\"\\u2AC6\",supe:\"\\u2287\",supedot:\"\\u2AC4\",Superset:\"\\u2283\",SupersetEqual:\"\\u2287\",suphsol:\"\\u27C9\",suphsub:\"\\u2AD7\",suplarr:\"\\u297B\",supmult:\"\\u2AC2\",supnE:\"\\u2ACC\",supne:\"\\u228B\",supplus:\"\\u2AC0\",Supset:\"\\u22D1\",supset:\"\\u2283\",supseteq:\"\\u2287\",supseteqq:\"\\u2AC6\",supsetneq:\"\\u228B\",supsetneqq:\"\\u2ACC\",supsim:\"\\u2AC8\",supsub:\"\\u2AD4\",supsup:\"\\u2AD6\",swarhk:\"\\u2926\",swArr:\"\\u21D9\",swarr:\"\\u2199\",swarrow:\"\\u2199\",swnwar:\"\\u292A\",szlig:\"\\xDF\",Tab:\"\t\",target:\"\\u2316\",Tau:\"\\u03A4\",tau:\"\\u03C4\",tbrk:\"\\u23B4\",Tcaron:\"\\u0164\",tcaron:\"\\u0165\",Tcedil:\"\\u0162\",tcedil:\"\\u0163\",Tcy:\"\\u0422\",tcy:\"\\u0442\",tdot:\"\\u20DB\",telrec:\"\\u2315\",Tfr:\"\\u{1D517}\",tfr:\"\\u{1D531}\",there4:\"\\u2234\",Therefore:\"\\u2234\",therefore:\"\\u2234\",Theta:\"\\u0398\",theta:\"\\u03B8\",thetasym:\"\\u03D1\",thetav:\"\\u03D1\",thickapprox:\"\\u2248\",thicksim:\"\\u223C\",ThickSpace:\"\\u205F\\u200A\",thinsp:\"\\u2009\",ThinSpace:\"\\u2009\",thkap:\"\\u2248\",thksim:\"\\u223C\",THORN:\"\\xDE\",thorn:\"\\xFE\",Tilde:\"\\u223C\",tilde:\"\\u02DC\",TildeEqual:\"\\u2243\",TildeFullEqual:\"\\u2245\",TildeTilde:\"\\u2248\",times:\"\\xD7\",timesb:\"\\u22A0\",timesbar:\"\\u2A31\",timesd:\"\\u2A30\",tint:\"\\u222D\",toea:\"\\u2928\",top:\"\\u22A4\",topbot:\"\\u2336\",topcir:\"\\u2AF1\",Topf:\"\\u{1D54B}\",topf:\"\\u{1D565}\",topfork:\"\\u2ADA\",tosa:\"\\u2929\",tprime:\"\\u2034\",TRADE:\"\\u2122\",trade:\"\\u2122\",triangle:\"\\u25B5\",triangledown:\"\\u25BF\",triangleleft:\"\\u25C3\",trianglelefteq:\"\\u22B4\",triangleq:\"\\u225C\",triangleright:\"\\u25B9\",trianglerighteq:\"\\u22B5\",tridot:\"\\u25EC\",trie:\"\\u225C\",triminus:\"\\u2A3A\",TripleDot:\"\\u20DB\",triplus:\"\\u2A39\",trisb:\"\\u29CD\",tritime:\"\\u2A3B\",trpezium:\"\\u23E2\",Tscr:\"\\u{1D4AF}\",tscr:\"\\u{1D4C9}\",TScy:\"\\u0426\",tscy:\"\\u0446\",TSHcy:\"\\u040B\",tshcy:\"\\u045B\",Tstrok:\"\\u0166\",tstrok:\"\\u0167\",twixt:\"\\u226C\",twoheadleftarrow:\"\\u219E\",twoheadrightarrow:\"\\u21A0\",Uacute:\"\\xDA\",uacute:\"\\xFA\",Uarr:\"\\u219F\",uArr:\"\\u21D1\",uarr:\"\\u2191\",Uarrocir:\"\\u2949\",Ubrcy:\"\\u040E\",ubrcy:\"\\u045E\",Ubreve:\"\\u016C\",ubreve:\"\\u016D\",Ucirc:\"\\xDB\",ucirc:\"\\xFB\",Ucy:\"\\u0423\",ucy:\"\\u0443\",udarr:\"\\u21C5\",Udblac:\"\\u0170\",udblac:\"\\u0171\",udhar:\"\\u296E\",ufisht:\"\\u297E\",Ufr:\"\\u{1D518}\",ufr:\"\\u{1D532}\",Ugrave:\"\\xD9\",ugrave:\"\\xF9\",uHar:\"\\u2963\",uharl:\"\\u21BF\",uharr:\"\\u21BE\",uhblk:\"\\u2580\",ulcorn:\"\\u231C\",ulcorner:\"\\u231C\",ulcrop:\"\\u230F\",ultri:\"\\u25F8\",Umacr:\"\\u016A\",umacr:\"\\u016B\",uml:\"\\xA8\",UnderBar:\"_\",UnderBrace:\"\\u23DF\",UnderBracket:\"\\u23B5\",UnderParenthesis:\"\\u23DD\",Union:\"\\u22C3\",UnionPlus:\"\\u228E\",Uogon:\"\\u0172\",uogon:\"\\u0173\",Uopf:\"\\u{1D54C}\",uopf:\"\\u{1D566}\",UpArrow:\"\\u2191\",Uparrow:\"\\u21D1\",uparrow:\"\\u2191\",UpArrowBar:\"\\u2912\",UpArrowDownArrow:\"\\u21C5\",UpDownArrow:\"\\u2195\",Updownarrow:\"\\u21D5\",updownarrow:\"\\u2195\",UpEquilibrium:\"\\u296E\",upharpoonleft:\"\\u21BF\",upharpoonright:\"\\u21BE\",uplus:\"\\u228E\",UpperLeftArrow:\"\\u2196\",UpperRightArrow:\"\\u2197\",Upsi:\"\\u03D2\",upsi:\"\\u03C5\",upsih:\"\\u03D2\",Upsilon:\"\\u03A5\",upsilon:\"\\u03C5\",UpTee:\"\\u22A5\",UpTeeArrow:\"\\u21A5\",upuparrows:\"\\u21C8\",urcorn:\"\\u231D\",urcorner:\"\\u231D\",urcrop:\"\\u230E\",Uring:\"\\u016E\",uring:\"\\u016F\",urtri:\"\\u25F9\",Uscr:\"\\u{1D4B0}\",uscr:\"\\u{1D4CA}\",utdot:\"\\u22F0\",Utilde:\"\\u0168\",utilde:\"\\u0169\",utri:\"\\u25B5\",utrif:\"\\u25B4\",uuarr:\"\\u21C8\",Uuml:\"\\xDC\",uuml:\"\\xFC\",uwangle:\"\\u29A7\",vangrt:\"\\u299C\",varepsilon:\"\\u03F5\",varkappa:\"\\u03F0\",varnothing:\"\\u2205\",varphi:\"\\u03D5\",varpi:\"\\u03D6\",varpropto:\"\\u221D\",vArr:\"\\u21D5\",varr:\"\\u2195\",varrho:\"\\u03F1\",varsigma:\"\\u03C2\",varsubsetneq:\"\\u228A\\uFE00\",varsubsetneqq:\"\\u2ACB\\uFE00\",varsupsetneq:\"\\u228B\\uFE00\",varsupsetneqq:\"\\u2ACC\\uFE00\",vartheta:\"\\u03D1\",vartriangleleft:\"\\u22B2\",vartriangleright:\"\\u22B3\",Vbar:\"\\u2AEB\",vBar:\"\\u2AE8\",vBarv:\"\\u2AE9\",Vcy:\"\\u0412\",vcy:\"\\u0432\",VDash:\"\\u22AB\",Vdash:\"\\u22A9\",vDash:\"\\u22A8\",vdash:\"\\u22A2\",Vdashl:\"\\u2AE6\",Vee:\"\\u22C1\",vee:\"\\u2228\",veebar:\"\\u22BB\",veeeq:\"\\u225A\",vellip:\"\\u22EE\",Verbar:\"\\u2016\",verbar:\"|\",Vert:\"\\u2016\",vert:\"|\",VerticalBar:\"\\u2223\",VerticalLine:\"|\",VerticalSeparator:\"\\u2758\",VerticalTilde:\"\\u2240\",VeryThinSpace:\"\\u200A\",Vfr:\"\\u{1D519}\",vfr:\"\\u{1D533}\",vltri:\"\\u22B2\",vnsub:\"\\u2282\\u20D2\",vnsup:\"\\u2283\\u20D2\",Vopf:\"\\u{1D54D}\",vopf:\"\\u{1D567}\",vprop:\"\\u221D\",vrtri:\"\\u22B3\",Vscr:\"\\u{1D4B1}\",vscr:\"\\u{1D4CB}\",vsubnE:\"\\u2ACB\\uFE00\",vsubne:\"\\u228A\\uFE00\",vsupnE:\"\\u2ACC\\uFE00\",vsupne:\"\\u228B\\uFE00\",Vvdash:\"\\u22AA\",vzigzag:\"\\u299A\",Wcirc:\"\\u0174\",wcirc:\"\\u0175\",wedbar:\"\\u2A5F\",Wedge:\"\\u22C0\",wedge:\"\\u2227\",wedgeq:\"\\u2259\",weierp:\"\\u2118\",Wfr:\"\\u{1D51A}\",wfr:\"\\u{1D534}\",Wopf:\"\\u{1D54E}\",wopf:\"\\u{1D568}\",wp:\"\\u2118\",wr:\"\\u2240\",wreath:\"\\u2240\",Wscr:\"\\u{1D4B2}\",wscr:\"\\u{1D4CC}\",xcap:\"\\u22C2\",xcirc:\"\\u25EF\",xcup:\"\\u22C3\",xdtri:\"\\u25BD\",Xfr:\"\\u{1D51B}\",xfr:\"\\u{1D535}\",xhArr:\"\\u27FA\",xharr:\"\\u27F7\",Xi:\"\\u039E\",xi:\"\\u03BE\",xlArr:\"\\u27F8\",xlarr:\"\\u27F5\",xmap:\"\\u27FC\",xnis:\"\\u22FB\",xodot:\"\\u2A00\",Xopf:\"\\u{1D54F}\",xopf:\"\\u{1D569}\",xoplus:\"\\u2A01\",xotime:\"\\u2A02\",xrArr:\"\\u27F9\",xrarr:\"\\u27F6\",Xscr:\"\\u{1D4B3}\",xscr:\"\\u{1D4CD}\",xsqcup:\"\\u2A06\",xuplus:\"\\u2A04\",xutri:\"\\u25B3\",xvee:\"\\u22C1\",xwedge:\"\\u22C0\",Yacute:\"\\xDD\",yacute:\"\\xFD\",YAcy:\"\\u042F\",yacy:\"\\u044F\",Ycirc:\"\\u0176\",ycirc:\"\\u0177\",Ycy:\"\\u042B\",ycy:\"\\u044B\",yen:\"\\xA5\",Yfr:\"\\u{1D51C}\",yfr:\"\\u{1D536}\",YIcy:\"\\u0407\",yicy:\"\\u0457\",Yopf:\"\\u{1D550}\",yopf:\"\\u{1D56A}\",Yscr:\"\\u{1D4B4}\",yscr:\"\\u{1D4CE}\",YUcy:\"\\u042E\",yucy:\"\\u044E\",Yuml:\"\\u0178\",yuml:\"\\xFF\",Zacute:\"\\u0179\",zacute:\"\\u017A\",Zcaron:\"\\u017D\",zcaron:\"\\u017E\",Zcy:\"\\u0417\",zcy:\"\\u0437\",Zdot:\"\\u017B\",zdot:\"\\u017C\",zeetrf:\"\\u2128\",ZeroWidthSpace:\"\\u200B\",Zeta:\"\\u0396\",zeta:\"\\u03B6\",Zfr:\"\\u2128\",zfr:\"\\u{1D537}\",ZHcy:\"\\u0416\",zhcy:\"\\u0436\",zigrarr:\"\\u21DD\",Zopf:\"\\u2124\",zopf:\"\\u{1D56B}\",Zscr:\"\\u{1D4B5}\",zscr:\"\\u{1D4CF}\",zwj:\"\\u200D\",zwnj:\"\\u200C\"},kt.NGSP_UNICODE=\"\\uE500\",kt.NAMED_ENTITIES.ngsp=kt.NGSP_UNICODE}}),Xn=Rn({\"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_tags.js\"(kt){Ct(),Object.defineProperty(kt,\"__esModule\",{value:!0});var Wn=Ln(),mi=class{constructor(){let{closedByChildren:bi,implicitNamespacePrefix:Rr,contentType:zr=Wn.TagContentType.PARSABLE_DATA,closedByParent:ko=!1,isVoid:fi=!1,ignoreFirstLf:Ce=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,bi&&bi.length>0&&bi.forEach(Te=>this.closedByChildren[Te]=!0),this.isVoid=fi,this.closedByParent=ko||fi,this.implicitNamespacePrefix=Rr||null,this.contentType=zr,this.ignoreFirstLf=Ce}isClosedByChild(bi){return this.isVoid||bi.toLowerCase()in this.closedByChildren}};kt.HtmlTagDefinition=mi;var Ui,dr;function Jn(bi){return dr||(Ui=new mi,dr={base:new mi({isVoid:!0}),meta:new mi({isVoid:!0}),area:new mi({isVoid:!0}),embed:new mi({isVoid:!0}),link:new mi({isVoid:!0}),img:new mi({isVoid:!0}),input:new mi({isVoid:!0}),param:new mi({isVoid:!0}),hr:new mi({isVoid:!0}),br:new mi({isVoid:!0}),source:new mi({isVoid:!0}),track:new mi({isVoid:!0}),wbr:new mi({isVoid:!0}),p:new mi({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 mi({closedByChildren:[\"tbody\",\"tfoot\"]}),tbody:new mi({closedByChildren:[\"tbody\",\"tfoot\"],closedByParent:!0}),tfoot:new mi({closedByChildren:[\"tbody\"],closedByParent:!0}),tr:new mi({closedByChildren:[\"tr\"],closedByParent:!0}),td:new mi({closedByChildren:[\"td\",\"th\"],closedByParent:!0}),th:new mi({closedByChildren:[\"td\",\"th\"],closedByParent:!0}),col:new mi({isVoid:!0}),svg:new mi({implicitNamespacePrefix:\"svg\"}),math:new mi({implicitNamespacePrefix:\"math\"}),li:new mi({closedByChildren:[\"li\"],closedByParent:!0}),dt:new mi({closedByChildren:[\"dt\",\"dd\"]}),dd:new mi({closedByChildren:[\"dt\",\"dd\"],closedByParent:!0}),rb:new mi({closedByChildren:[\"rb\",\"rt\",\"rtc\",\"rp\"],closedByParent:!0}),rt:new mi({closedByChildren:[\"rb\",\"rt\",\"rtc\",\"rp\"],closedByParent:!0}),rtc:new mi({closedByChildren:[\"rb\",\"rtc\",\"rp\"],closedByParent:!0}),rp:new mi({closedByChildren:[\"rb\",\"rt\",\"rtc\",\"rp\"],closedByParent:!0}),optgroup:new mi({closedByChildren:[\"optgroup\"],closedByParent:!0}),option:new mi({closedByChildren:[\"option\",\"optgroup\"],closedByParent:!0}),pre:new mi({ignoreFirstLf:!0}),listing:new mi({ignoreFirstLf:!0}),style:new mi({contentType:Wn.TagContentType.RAW_TEXT}),script:new mi({contentType:Wn.TagContentType.RAW_TEXT}),title:new mi({contentType:Wn.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new mi({contentType:Wn.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),dr[bi]||Ui}kt.getHtmlTagDefinition=Jn}}),bn=Rn({\"node_modules/angular-html-parser/lib/compiler/src/ast_path.js\"(kt){Ct(),Object.defineProperty(kt,\"__esModule\",{value:!0});var Wn=class{constructor(mi){let Ui=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;this.path=mi,this.position=Ui}get empty(){return!this.path||!this.path.length}get head(){return this.path[0]}get tail(){return this.path[this.path.length-1]}parentOf(mi){return mi&&this.path[this.path.indexOf(mi)-1]}childOf(mi){return this.path[this.path.indexOf(mi)+1]}first(mi){for(let Ui=this.path.length-1;Ui>=0;Ui--){let dr=this.path[Ui];if(dr instanceof mi)return dr}}push(mi){this.path.push(mi)}pop(){return this.path.pop()}};kt.AstPath=Wn}}),ii=Rn({\"node_modules/angular-html-parser/lib/compiler/src/ml_parser/ast.js\"(kt){Ct(),Object.defineProperty(kt,\"__esModule\",{value:!0});var Wn=bn(),mi=class{constructor(Lt,nn,Nn){this.value=Lt,this.sourceSpan=nn,this.i18n=Nn,this.type=\"text\"}visit(Lt,nn){return Lt.visitText(this,nn)}};kt.Text=mi;var Ui=class{constructor(Lt,nn){this.value=Lt,this.sourceSpan=nn,this.type=\"cdata\"}visit(Lt,nn){return Lt.visitCdata(this,nn)}};kt.CDATA=Ui;var dr=class{constructor(Lt,nn,Nn,Pi,si,Ur){this.switchValue=Lt,this.type=nn,this.cases=Nn,this.sourceSpan=Pi,this.switchValueSourceSpan=si,this.i18n=Ur}visit(Lt,nn){return Lt.visitExpansion(this,nn)}};kt.Expansion=dr;var Jn=class{constructor(Lt,nn,Nn,Pi,si){this.value=Lt,this.expression=nn,this.sourceSpan=Nn,this.valueSourceSpan=Pi,this.expSourceSpan=si}visit(Lt,nn){return Lt.visitExpansionCase(this,nn)}};kt.ExpansionCase=Jn;var bi=class{constructor(Lt,nn,Nn){let Pi=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,si=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,Ur=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null;this.name=Lt,this.value=nn,this.sourceSpan=Nn,this.valueSpan=Pi,this.nameSpan=si,this.i18n=Ur,this.type=\"attribute\"}visit(Lt,nn){return Lt.visitAttribute(this,nn)}};kt.Attribute=bi;var Rr=class{constructor(Lt,nn,Nn,Pi){let si=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,Ur=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,Xr=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,eo=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null;this.name=Lt,this.attrs=nn,this.children=Nn,this.sourceSpan=Pi,this.startSourceSpan=si,this.endSourceSpan=Ur,this.nameSpan=Xr,this.i18n=eo,this.type=\"element\"}visit(Lt,nn){return Lt.visitElement(this,nn)}};kt.Element=Rr;var zr=class{constructor(Lt,nn){this.value=Lt,this.sourceSpan=nn,this.type=\"comment\"}visit(Lt,nn){return Lt.visitComment(this,nn)}};kt.Comment=zr;var ko=class{constructor(Lt,nn){this.value=Lt,this.sourceSpan=nn,this.type=\"docType\"}visit(Lt,nn){return Lt.visitDocType(this,nn)}};kt.DocType=ko;function fi(Lt,nn){let Nn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Pi=[],si=Lt.visit?Ur=>Lt.visit(Ur,Nn)||Ur.visit(Lt,Nn):Ur=>Ur.visit(Lt,Nn);return nn.forEach(Ur=>{let Xr=si(Ur);Xr&&Pi.push(Xr)}),Pi}kt.visitAll=fi;var Ce=class{constructor(){}visitElement(Lt,nn){this.visitChildren(nn,Nn=>{Nn(Lt.attrs),Nn(Lt.children)})}visitAttribute(Lt,nn){}visitText(Lt,nn){}visitCdata(Lt,nn){}visitComment(Lt,nn){}visitDocType(Lt,nn){}visitExpansion(Lt,nn){return this.visitChildren(nn,Nn=>{Nn(Lt.cases)})}visitExpansionCase(Lt,nn){}visitChildren(Lt,nn){let Nn=[],Pi=this;function si(Ur){Ur&&Nn.push(fi(Pi,Ur,Lt))}return nn(si),Array.prototype.concat.apply([],Nn)}};kt.RecursiveVisitor=Ce;function Te(Lt){let nn=Lt.sourceSpan.start.offset,Nn=Lt.sourceSpan.end.offset;return Lt instanceof Rr&&(Lt.endSourceSpan?Nn=Lt.endSourceSpan.end.offset:Lt.children&&Lt.children.length&&(Nn=Te(Lt.children[Lt.children.length-1]).end)),{start:nn,end:Nn}}function Ft(Lt,nn){let Nn=[],Pi=new class extends Ce{visit(si,Ur){let Xr=Te(si);if(Xr.start<=nn&&nn<Xr.end)Nn.push(si);else return!0}};return fi(Pi,Lt),new Wn.AstPath(Nn,nn)}kt.findNode=Ft}}),Ir=Rn({\"node_modules/angular-html-parser/lib/compiler/src/assertions.js\"(kt){Ct(),Object.defineProperty(kt,\"__esModule\",{value:!0});function Wn(dr,Jn){if(Jn!=null){if(!Array.isArray(Jn))throw new Error(`Expected '${dr}' to be an array of strings.`);for(let bi=0;bi<Jn.length;bi+=1)if(typeof Jn[bi]!=\"string\")throw new Error(`Expected '${dr}' to be an array of strings.`)}}kt.assertArrayOfStrings=Wn;var mi=[/^\\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\\/\\//];function Ui(dr,Jn){if(Jn!=null&&!(Array.isArray(Jn)&&Jn.length==2))throw new Error(`Expected '${dr}' to be an array, [start, end].`);if(Jn!=null){let bi=Jn[0],Rr=Jn[1];mi.forEach(zr=>{if(zr.test(bi)||zr.test(Rr))throw new Error(`['${bi}', '${Rr}'] contains unusable interpolation symbol.`)})}}kt.assertInterpolationSymbols=Ui}}),gs=Rn({\"node_modules/angular-html-parser/lib/compiler/src/ml_parser/interpolation_config.js\"(kt){Ct(),Object.defineProperty(kt,\"__esModule\",{value:!0});var Wn=Ir(),mi=class{constructor(Ui,dr){this.start=Ui,this.end=dr}static fromArray(Ui){return Ui?(Wn.assertInterpolationSymbols(\"interpolation\",Ui),new mi(Ui[0],Ui[1])):kt.DEFAULT_INTERPOLATION_CONFIG}};kt.InterpolationConfig=mi,kt.DEFAULT_INTERPOLATION_CONFIG=new mi(\"{{\",\"}}\")}}),Ys=Rn({\"node_modules/angular-html-parser/lib/compiler/src/ml_parser/lexer.js\"(kt){Ct(),Object.defineProperty(kt,\"__esModule\",{value:!0});var Wn=bo(),mi=jl(),Ui=gs(),dr=Ln(),Jn;(function($t){$t[$t.TAG_OPEN_START=0]=\"TAG_OPEN_START\",$t[$t.TAG_OPEN_END=1]=\"TAG_OPEN_END\",$t[$t.TAG_OPEN_END_VOID=2]=\"TAG_OPEN_END_VOID\",$t[$t.TAG_CLOSE=3]=\"TAG_CLOSE\",$t[$t.TEXT=4]=\"TEXT\",$t[$t.ESCAPABLE_RAW_TEXT=5]=\"ESCAPABLE_RAW_TEXT\",$t[$t.RAW_TEXT=6]=\"RAW_TEXT\",$t[$t.COMMENT_START=7]=\"COMMENT_START\",$t[$t.COMMENT_END=8]=\"COMMENT_END\",$t[$t.CDATA_START=9]=\"CDATA_START\",$t[$t.CDATA_END=10]=\"CDATA_END\",$t[$t.ATTR_NAME=11]=\"ATTR_NAME\",$t[$t.ATTR_QUOTE=12]=\"ATTR_QUOTE\",$t[$t.ATTR_VALUE=13]=\"ATTR_VALUE\",$t[$t.DOC_TYPE_START=14]=\"DOC_TYPE_START\",$t[$t.DOC_TYPE_END=15]=\"DOC_TYPE_END\",$t[$t.EXPANSION_FORM_START=16]=\"EXPANSION_FORM_START\",$t[$t.EXPANSION_CASE_VALUE=17]=\"EXPANSION_CASE_VALUE\",$t[$t.EXPANSION_CASE_EXP_START=18]=\"EXPANSION_CASE_EXP_START\",$t[$t.EXPANSION_CASE_EXP_END=19]=\"EXPANSION_CASE_EXP_END\",$t[$t.EXPANSION_FORM_END=20]=\"EXPANSION_FORM_END\",$t[$t.EOF=21]=\"EOF\"})(Jn=kt.TokenType||(kt.TokenType={}));var bi=class{constructor($t,Kn,Nr){this.type=$t,this.parts=Kn,this.sourceSpan=Nr}};kt.Token=bi;var Rr=class extends mi.ParseError{constructor($t,Kn,Nr){super(Nr,$t),this.tokenType=Kn}};kt.TokenError=Rr;var zr=class{constructor($t,Kn){this.tokens=$t,this.errors=Kn}};kt.TokenizeResult=zr;function ko($t,Kn,Nr){let nr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return new Lt(new mi.ParseSourceFile($t,Kn),Nr,nr).tokenize()}kt.tokenize=ko;var fi=/\\r\\n?/g;function Ce($t){return`Unexpected character \"${$t===Wn.$EOF?\"EOF\":String.fromCharCode($t)}\"`}function Te($t){return`Unknown entity \"${$t}\" - use the \"&#<decimal>;\" or  \"&#x<hex>;\" syntax`}var Ft=class{constructor($t){this.error=$t}},Lt=class{constructor($t,Kn,Nr){this._getTagContentType=Kn,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=Nr.tokenizeExpansionForms||!1,this._interpolationConfig=Nr.interpolationConfig||Ui.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=Nr.leadingTriviaChars&&Nr.leadingTriviaChars.map(ps=>ps.codePointAt(0)||0),this._canSelfClose=Nr.canSelfClose||!1,this._allowHtmComponentClosingTags=Nr.allowHtmComponentClosingTags||!1;let nr=Nr.range||{endPos:$t.content.length,startPos:0,startLine:0,startCol:0};this._cursor=Nr.escapedString?new Ho($t,nr):new Ko($t,nr);try{this._cursor.init()}catch(ps){this.handleError(ps)}}_processCarriageReturns($t){return $t.replace(fi,`\n`)}tokenize(){for(;this._cursor.peek()!==Wn.$EOF;){let $t=this._cursor.clone();try{if(this._attemptCharCode(Wn.$LT))if(this._attemptCharCode(Wn.$BANG))this._attemptStr(\"[CDATA[\")?this._consumeCdata($t):this._attemptStr(\"--\")?this._consumeComment($t):this._attemptStrCaseInsensitive(\"doctype\")?this._consumeDocType($t):this._consumeBogusComment($t);else if(this._attemptCharCode(Wn.$SLASH))this._consumeTagClose($t);else{let Kn=this._cursor.clone();this._attemptCharCode(Wn.$QUESTION)?(this._cursor=Kn,this._consumeBogusComment($t)):this._consumeTagOpen($t)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(Kn){this.handleError(Kn)}}return this._beginToken(Jn.EOF),this._endToken([]),new zr(Oo(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(Xr(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===Wn.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken($t){let Kn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();this._currentTokenStart=Kn,this._currentTokenType=$t}_endToken($t){let Kn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();if(this._currentTokenStart===null)throw new Rr(\"Programming error - attempted to end a token when there was no start to the token\",this._currentTokenType,this._cursor.getSpan(Kn));if(this._currentTokenType===null)throw new Rr(\"Programming error - attempted to end a token which has no token type\",null,this._cursor.getSpan(this._currentTokenStart));let Nr=new bi(this._currentTokenType,$t,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(Nr),this._currentTokenStart=null,this._currentTokenType=null,Nr}_createError($t,Kn){this._isInExpansionForm()&&($t+=` (Do you have an unescaped \"{\" in your template? Use \"{{ '{' }}\") to escape it.)`);let Nr=new Rr($t,this._currentTokenType,Kn);return this._currentTokenStart=null,this._currentTokenType=null,new Ft(Nr)}handleError($t){if($t instanceof ba&&($t=this._createError($t.msg,this._cursor.getSpan($t.cursor))),$t instanceof Ft)this.errors.push($t.error);else throw $t}_attemptCharCode($t){return this._cursor.peek()===$t?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive($t){return eo(this._cursor.peek(),$t)?(this._cursor.advance(),!0):!1}_requireCharCode($t){let Kn=this._cursor.clone();if(!this._attemptCharCode($t))throw this._createError(Ce(this._cursor.peek()),this._cursor.getSpan(Kn))}_attemptStr($t){let Kn=$t.length;if(this._cursor.charsLeft()<Kn)return!1;let Nr=this._cursor.clone();for(let nr=0;nr<Kn;nr++)if(!this._attemptCharCode($t.charCodeAt(nr)))return this._cursor=Nr,!1;return!0}_attemptStrCaseInsensitive($t){for(let Kn=0;Kn<$t.length;Kn++)if(!this._attemptCharCodeCaseInsensitive($t.charCodeAt(Kn)))return!1;return!0}_requireStr($t){let Kn=this._cursor.clone();if(!this._attemptStr($t))throw this._createError(Ce(this._cursor.peek()),this._cursor.getSpan(Kn))}_requireStrCaseInsensitive($t){let Kn=this._cursor.clone();if(!this._attemptStrCaseInsensitive($t))throw this._createError(Ce(this._cursor.peek()),this._cursor.getSpan(Kn))}_attemptCharCodeUntilFn($t){for(;!$t(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn($t,Kn){let Nr=this._cursor.clone();if(this._attemptCharCodeUntilFn($t),this._cursor.clone().diff(Nr)<Kn)throw this._createError(Ce(this._cursor.peek()),this._cursor.getSpan(Nr))}_attemptUntilChar($t){for(;this._cursor.peek()!==$t;)this._cursor.advance()}_readChar($t){if($t&&this._cursor.peek()===Wn.$AMPERSAND)return this._decodeEntity();{let Kn=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),Kn}}_decodeEntity(){let $t=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(Wn.$HASH)){let Kn=this._attemptCharCode(Wn.$x)||this._attemptCharCode(Wn.$X),Nr=this._cursor.clone();if(this._attemptCharCodeUntilFn(si),this._cursor.peek()!=Wn.$SEMICOLON)throw this._createError(Ce(this._cursor.peek()),this._cursor.getSpan());let nr=this._cursor.getChars(Nr);this._cursor.advance();try{let ps=parseInt(nr,Kn?16:10);return String.fromCharCode(ps)}catch{throw this._createError(Te(this._cursor.getChars($t)),this._cursor.getSpan())}}else{let Kn=this._cursor.clone();if(this._attemptCharCodeUntilFn(Ur),this._cursor.peek()!=Wn.$SEMICOLON)return this._cursor=Kn,\"&\";let Nr=this._cursor.getChars(Kn);this._cursor.advance();let nr=dr.NAMED_ENTITIES[Nr];if(!nr)throw this._createError(Te(Nr),this._cursor.getSpan($t));return nr}}_consumeRawText($t,Kn){this._beginToken($t?Jn.ESCAPABLE_RAW_TEXT:Jn.RAW_TEXT);let Nr=[];for(;;){let nr=this._cursor.clone(),ps=Kn();if(this._cursor=nr,ps)break;Nr.push(this._readChar($t))}return this._endToken([this._processCarriageReturns(Nr.join(\"\"))])}_consumeComment($t){this._beginToken(Jn.COMMENT_START,$t),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr(\"-->\")),this._beginToken(Jn.COMMENT_END),this._requireStr(\"-->\"),this._endToken([])}_consumeBogusComment($t){this._beginToken(Jn.COMMENT_START,$t),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===Wn.$GT),this._beginToken(Jn.COMMENT_END),this._cursor.advance(),this._endToken([])}_consumeCdata($t){this._beginToken(Jn.CDATA_START,$t),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr(\"]]>\")),this._beginToken(Jn.CDATA_END),this._requireStr(\"]]>\"),this._endToken([])}_consumeDocType($t){this._beginToken(Jn.DOC_TYPE_START,$t),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===Wn.$GT),this._beginToken(Jn.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let $t=this._cursor.clone(),Kn=\"\";for(;this._cursor.peek()!==Wn.$COLON&&!Pi(this._cursor.peek());)this._cursor.advance();let Nr;this._cursor.peek()===Wn.$COLON?(Kn=this._cursor.getChars($t),this._cursor.advance(),Nr=this._cursor.clone()):Nr=$t,this._requireCharCodeUntilFn(Nn,Kn===\"\"?0:1);let nr=this._cursor.getChars(Nr);return[Kn,nr]}_consumeTagOpen($t){let Kn,Nr,nr,ps=this.tokens.length,ga=this._cursor.clone(),Yl=[];try{if(!Wn.isAsciiLetter(this._cursor.peek()))throw this._createError(Ce(this._cursor.peek()),this._cursor.getSpan($t));for(nr=this._consumeTagOpenStart($t),Nr=nr.parts[0],Kn=nr.parts[1],this._attemptCharCodeUntilFn(nn);this._cursor.peek()!==Wn.$SLASH&&this._cursor.peek()!==Wn.$GT;){let[Mc,ah]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(nn),this._attemptCharCode(Wn.$EQ)){this._attemptCharCodeUntilFn(nn);let Gd=this._consumeAttributeValue();Yl.push({prefix:Mc,name:ah,value:Gd})}else Yl.push({prefix:Mc,name:ah});this._attemptCharCodeUntilFn(nn)}this._consumeTagOpenEnd()}catch(Mc){if(Mc instanceof Ft){this._cursor=ga,nr&&(this.tokens.length=ps),this._beginToken(Jn.TEXT,$t),this._endToken([\"<\"]);return}throw Mc}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===Jn.TAG_OPEN_END_VOID)return;let Td=this._getTagContentType(Kn,Nr,this._fullNameStack.length>0,Yl);this._handleFullNameStackForTagOpen(Nr,Kn),Td===dr.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(Nr,Kn,!1):Td===dr.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(Nr,Kn,!0)}_consumeRawTextWithTagClose($t,Kn,Nr){this._consumeRawText(Nr,()=>!this._attemptCharCode(Wn.$LT)||!this._attemptCharCode(Wn.$SLASH)||(this._attemptCharCodeUntilFn(nn),!this._attemptStrCaseInsensitive($t?`${$t}:${Kn}`:Kn))?!1:(this._attemptCharCodeUntilFn(nn),this._attemptCharCode(Wn.$GT))),this._beginToken(Jn.TAG_CLOSE),this._requireCharCodeUntilFn(nr=>nr===Wn.$GT,3),this._cursor.advance(),this._endToken([$t,Kn]),this._handleFullNameStackForTagClose($t,Kn)}_consumeTagOpenStart($t){this._beginToken(Jn.TAG_OPEN_START,$t);let Kn=this._consumePrefixAndName();return this._endToken(Kn)}_consumeAttributeName(){let $t=this._cursor.peek();if($t===Wn.$SQ||$t===Wn.$DQ)throw this._createError(Ce($t),this._cursor.getSpan());this._beginToken(Jn.ATTR_NAME);let Kn=this._consumePrefixAndName();return this._endToken(Kn),Kn}_consumeAttributeValue(){let $t;if(this._cursor.peek()===Wn.$SQ||this._cursor.peek()===Wn.$DQ){this._beginToken(Jn.ATTR_QUOTE);let Kn=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(Kn)]),this._beginToken(Jn.ATTR_VALUE);let Nr=[];for(;this._cursor.peek()!==Kn;)Nr.push(this._readChar(!0));$t=this._processCarriageReturns(Nr.join(\"\")),this._endToken([$t]),this._beginToken(Jn.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(Kn)])}else{this._beginToken(Jn.ATTR_VALUE);let Kn=this._cursor.clone();this._requireCharCodeUntilFn(Nn,1),$t=this._processCarriageReturns(this._cursor.getChars(Kn)),this._endToken([$t])}return $t}_consumeTagOpenEnd(){let $t=this._attemptCharCode(Wn.$SLASH)?Jn.TAG_OPEN_END_VOID:Jn.TAG_OPEN_END;this._beginToken($t),this._requireCharCode(Wn.$GT),this._endToken([])}_consumeTagClose($t){if(this._beginToken(Jn.TAG_CLOSE,$t),this._attemptCharCodeUntilFn(nn),this._allowHtmComponentClosingTags&&this._attemptCharCode(Wn.$SLASH))this._attemptCharCodeUntilFn(nn),this._requireCharCode(Wn.$GT),this._endToken([]);else{let[Kn,Nr]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(nn),this._requireCharCode(Wn.$GT),this._endToken([Kn,Nr]),this._handleFullNameStackForTagClose(Kn,Nr)}}_consumeExpansionFormStart(){this._beginToken(Jn.EXPANSION_FORM_START),this._requireCharCode(Wn.$LBRACE),this._endToken([]),this._expansionCaseStack.push(Jn.EXPANSION_FORM_START),this._beginToken(Jn.RAW_TEXT);let $t=this._readUntil(Wn.$COMMA);this._endToken([$t]),this._requireCharCode(Wn.$COMMA),this._attemptCharCodeUntilFn(nn),this._beginToken(Jn.RAW_TEXT);let Kn=this._readUntil(Wn.$COMMA);this._endToken([Kn]),this._requireCharCode(Wn.$COMMA),this._attemptCharCodeUntilFn(nn)}_consumeExpansionCaseStart(){this._beginToken(Jn.EXPANSION_CASE_VALUE);let $t=this._readUntil(Wn.$LBRACE).trim();this._endToken([$t]),this._attemptCharCodeUntilFn(nn),this._beginToken(Jn.EXPANSION_CASE_EXP_START),this._requireCharCode(Wn.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(nn),this._expansionCaseStack.push(Jn.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(Jn.EXPANSION_CASE_EXP_END),this._requireCharCode(Wn.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(nn),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(Jn.EXPANSION_FORM_END),this._requireCharCode(Wn.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}_consumeText(){let $t=this._cursor.clone();this._beginToken(Jn.TEXT,$t);let Kn=[];do this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(Kn.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(Kn.push(this._interpolationConfig.end),this._inInterpolation=!1):Kn.push(this._readChar(!0));while(!this._isTextEnd());this._endToken([this._processCarriageReturns(Kn.join(\"\"))])}_isTextEnd(){return!!(this._cursor.peek()===Wn.$LT||this._cursor.peek()===Wn.$EOF||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===Wn.$RBRACE&&this._isInExpansionCase()))}_readUntil($t){let Kn=this._cursor.clone();return this._attemptUntilChar($t),this._cursor.getChars(Kn)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===Jn.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===Jn.EXPANSION_FORM_START}isExpansionFormStart(){if(this._cursor.peek()!==Wn.$LBRACE)return!1;if(this._interpolationConfig){let $t=this._cursor.clone(),Kn=this._attemptStr(this._interpolationConfig.start);return this._cursor=$t,!Kn}return!0}_handleFullNameStackForTagOpen($t,Kn){let Nr=dr.mergeNsAndName($t,Kn);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===Nr)&&this._fullNameStack.push(Nr)}_handleFullNameStackForTagClose($t,Kn){let Nr=dr.mergeNsAndName($t,Kn);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===Nr&&this._fullNameStack.pop()}};function nn($t){return!Wn.isWhitespace($t)||$t===Wn.$EOF}function Nn($t){return Wn.isWhitespace($t)||$t===Wn.$GT||$t===Wn.$SLASH||$t===Wn.$SQ||$t===Wn.$DQ||$t===Wn.$EQ}function Pi($t){return($t<Wn.$a||Wn.$z<$t)&&($t<Wn.$A||Wn.$Z<$t)&&($t<Wn.$0||$t>Wn.$9)}function si($t){return $t==Wn.$SEMICOLON||$t==Wn.$EOF||!Wn.isAsciiHexDigit($t)}function Ur($t){return $t==Wn.$SEMICOLON||$t==Wn.$EOF||!Wn.isAsciiLetter($t)}function Xr($t){return $t===Wn.$EQ||Wn.isAsciiLetter($t)||Wn.isDigit($t)}function eo($t,Kn){return Br($t)==Br(Kn)}function Br($t){return $t>=Wn.$a&&$t<=Wn.$z?$t-Wn.$a+Wn.$A:$t}function Oo($t){let Kn=[],Nr;for(let nr=0;nr<$t.length;nr++){let ps=$t[nr];Nr&&Nr.type==Jn.TEXT&&ps.type==Jn.TEXT?(Nr.parts[0]+=ps.parts[0],Nr.sourceSpan.end=ps.sourceSpan.end):(Nr=ps,Kn.push(Nr))}return Kn}var Ko=class{constructor($t,Kn){if($t instanceof Ko)this.file=$t.file,this.input=$t.input,this.end=$t.end,this.state=Object.assign({},$t.state);else{if(!Kn)throw new Error(\"Programming error: the range argument must be provided with a file argument.\");this.file=$t,this.input=$t.content,this.end=Kn.endPos,this.state={peek:-1,offset:Kn.startPos,line:Kn.startLine,column:Kn.startCol}}}clone(){return new Ko(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,Kn){if($t=$t||this,Kn)for($t=$t.clone();this.diff($t)>0&&Kn.indexOf($t.peek())!==-1;)$t.advance();return new mi.ParseSourceSpan(new mi.ParseLocation($t.file,$t.state.offset,$t.state.line,$t.state.column),new mi.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column))}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 ba('Unexpected character \"EOF\"',this);let Kn=this.charAt($t.offset);Kn===Wn.$LF?($t.line++,$t.column=0):Wn.isNewLine(Kn)||$t.column++,$t.offset++,this.updatePeek($t)}updatePeek($t){$t.peek=$t.offset>=this.end?Wn.$EOF:this.charAt($t.offset)}},Ho=class extends Ko{constructor($t,Kn){$t instanceof Ho?(super($t),this.internalState=Object.assign({},$t.internalState)):(super($t,Kn),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new Ho(this)}getChars($t){let Kn=$t.clone(),Nr=\"\";for(;Kn.internalState.offset<this.internalState.offset;)Nr+=String.fromCodePoint(Kn.peek()),Kn.advance();return Nr}processEscapeSequence(){let $t=()=>this.internalState.peek;if($t()===Wn.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),$t()===Wn.$n)this.state.peek=Wn.$LF;else if($t()===Wn.$r)this.state.peek=Wn.$CR;else if($t()===Wn.$v)this.state.peek=Wn.$VTAB;else if($t()===Wn.$t)this.state.peek=Wn.$TAB;else if($t()===Wn.$b)this.state.peek=Wn.$BSPACE;else if($t()===Wn.$f)this.state.peek=Wn.$FF;else if($t()===Wn.$u)if(this.advanceState(this.internalState),$t()===Wn.$LBRACE){this.advanceState(this.internalState);let Kn=this.clone(),Nr=0;for(;$t()!==Wn.$RBRACE;)this.advanceState(this.internalState),Nr++;this.state.peek=this.decodeHexDigits(Kn,Nr)}else{let Kn=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(Kn,4)}else if($t()===Wn.$x){this.advanceState(this.internalState);let Kn=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(Kn,2)}else if(Wn.isOctalDigit($t())){let Kn=\"\",Nr=0,nr=this.clone();for(;Wn.isOctalDigit($t())&&Nr<3;)nr=this.clone(),Kn+=String.fromCodePoint($t()),this.advanceState(this.internalState),Nr++;this.state.peek=parseInt(Kn,8),this.internalState=nr.internalState}else Wn.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits($t,Kn){let Nr=this.input.substr($t.internalState.offset,Kn),nr=parseInt(Nr,16);if(isNaN(nr))throw $t.state=$t.internalState,new ba(\"Invalid hexadecimal escape sequence\",$t);return nr}},ba=class{constructor($t,Kn){this.msg=$t,this.cursor=Kn}};kt.CursorError=ba}}),_a=Rn({\"node_modules/angular-html-parser/lib/compiler/src/ml_parser/parser.js\"(kt){Ct(),Object.defineProperty(kt,\"__esModule\",{value:!0});var Wn=jl(),mi=ii(),Ui=Ys(),dr=Ln(),Jn=class extends Wn.ParseError{constructor(fi,Ce,Te){super(Ce,Te),this.elementName=fi}static create(fi,Ce,Te){return new Jn(fi,Ce,Te)}};kt.TreeError=Jn;var bi=class{constructor(fi,Ce){this.rootNodes=fi,this.errors=Ce}};kt.ParseTreeResult=bi;var Rr=class{constructor(fi){this.getTagDefinition=fi}parse(fi,Ce,Te){let Ft=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Lt=arguments.length>4?arguments[4]:void 0,nn=Ko=>function(Ho){for(var ba=arguments.length,$t=new Array(ba>1?ba-1:0),Kn=1;Kn<ba;Kn++)$t[Kn-1]=arguments[Kn];return Ko(Ho.toLowerCase(),...$t)},Nn=Ft?this.getTagDefinition:nn(this.getTagDefinition),Pi=Ko=>Nn(Ko).contentType,si=Ft?Lt:nn(Lt),Ur=Lt?(Ko,Ho,ba,$t)=>{let Kn=si(Ko,Ho,ba,$t);return Kn!==void 0?Kn:Pi(Ko)}:Pi,Xr=Ui.tokenize(fi,Ce,Ur,Te),eo=Te&&Te.canSelfClose||!1,Br=Te&&Te.allowHtmComponentClosingTags||!1,Oo=new zr(Xr.tokens,Nn,eo,Br,Ft).build();return new bi(Oo.rootNodes,Xr.errors.concat(Oo.errors))}};kt.Parser=Rr;var zr=class{constructor(fi,Ce,Te,Ft,Lt){this.tokens=fi,this.getTagDefinition=Ce,this.canSelfClose=Te,this.allowHtmComponentClosingTags=Ft,this.isTagNameCaseSensitive=Lt,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}build(){for(;this._peek.type!==Ui.TokenType.EOF;)this._peek.type===Ui.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===Ui.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===Ui.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===Ui.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===Ui.TokenType.TEXT||this._peek.type===Ui.TokenType.RAW_TEXT||this._peek.type===Ui.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===Ui.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===Ui.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new bi(this._rootNodes,this._errors)}_advance(){let fi=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],fi}_advanceIf(fi){return this._peek.type===fi?this._advance():null}_consumeCdata(fi){let Ce=this._advance(),Te=this._getText(Ce),Ft=this._advanceIf(Ui.TokenType.CDATA_END);this._addToParent(new mi.CDATA(Te,new Wn.ParseSourceSpan(fi.sourceSpan.start,(Ft||Ce).sourceSpan.end)))}_consumeComment(fi){let Ce=this._advanceIf(Ui.TokenType.RAW_TEXT),Te=this._advanceIf(Ui.TokenType.COMMENT_END),Ft=Ce!=null?Ce.parts[0].trim():null,Lt=new Wn.ParseSourceSpan(fi.sourceSpan.start,(Te||Ce||fi).sourceSpan.end);this._addToParent(new mi.Comment(Ft,Lt))}_consumeDocType(fi){let Ce=this._advanceIf(Ui.TokenType.RAW_TEXT),Te=this._advanceIf(Ui.TokenType.DOC_TYPE_END),Ft=Ce!=null?Ce.parts[0].trim():null,Lt=new Wn.ParseSourceSpan(fi.sourceSpan.start,(Te||Ce||fi).sourceSpan.end);this._addToParent(new mi.DocType(Ft,Lt))}_consumeExpansion(fi){let Ce=this._advance(),Te=this._advance(),Ft=[];for(;this._peek.type===Ui.TokenType.EXPANSION_CASE_VALUE;){let nn=this._parseExpansionCase();if(!nn)return;Ft.push(nn)}if(this._peek.type!==Ui.TokenType.EXPANSION_FORM_END){this._errors.push(Jn.create(null,this._peek.sourceSpan,\"Invalid ICU message. Missing '}'.\"));return}let Lt=new Wn.ParseSourceSpan(fi.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new mi.Expansion(Ce.parts[0],Te.parts[0],Ft,Lt,Ce.sourceSpan)),this._advance()}_parseExpansionCase(){let fi=this._advance();if(this._peek.type!==Ui.TokenType.EXPANSION_CASE_EXP_START)return this._errors.push(Jn.create(null,this._peek.sourceSpan,\"Invalid ICU message. Missing '{'.\")),null;let Ce=this._advance(),Te=this._collectExpansionExpTokens(Ce);if(!Te)return null;let Ft=this._advance();Te.push(new Ui.Token(Ui.TokenType.EOF,[],Ft.sourceSpan));let Lt=new zr(Te,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive).build();if(Lt.errors.length>0)return this._errors=this._errors.concat(Lt.errors),null;let nn=new Wn.ParseSourceSpan(fi.sourceSpan.start,Ft.sourceSpan.end),Nn=new Wn.ParseSourceSpan(Ce.sourceSpan.start,Ft.sourceSpan.end);return new mi.ExpansionCase(fi.parts[0],Lt.rootNodes,nn,fi.sourceSpan,Nn)}_collectExpansionExpTokens(fi){let Ce=[],Te=[Ui.TokenType.EXPANSION_CASE_EXP_START];for(;;){if((this._peek.type===Ui.TokenType.EXPANSION_FORM_START||this._peek.type===Ui.TokenType.EXPANSION_CASE_EXP_START)&&Te.push(this._peek.type),this._peek.type===Ui.TokenType.EXPANSION_CASE_EXP_END)if(ko(Te,Ui.TokenType.EXPANSION_CASE_EXP_START)){if(Te.pop(),Te.length==0)return Ce}else return this._errors.push(Jn.create(null,fi.sourceSpan,\"Invalid ICU message. Missing '}'.\")),null;if(this._peek.type===Ui.TokenType.EXPANSION_FORM_END)if(ko(Te,Ui.TokenType.EXPANSION_FORM_START))Te.pop();else return this._errors.push(Jn.create(null,fi.sourceSpan,\"Invalid ICU message. Missing '}'.\")),null;if(this._peek.type===Ui.TokenType.EOF)return this._errors.push(Jn.create(null,fi.sourceSpan,\"Invalid ICU message. Missing '}'.\")),null;Ce.push(this._advance())}}_getText(fi){let Ce=fi.parts[0];if(Ce.length>0&&Ce[0]==`\n`){let Te=this._getParentElement();Te!=null&&Te.children.length==0&&this.getTagDefinition(Te.name).ignoreFirstLf&&(Ce=Ce.substring(1))}return Ce}_consumeText(fi){let Ce=this._getText(fi);Ce.length>0&&this._addToParent(new mi.Text(Ce,fi.sourceSpan))}_closeVoidElement(){let fi=this._getParentElement();fi&&this.getTagDefinition(fi.name).isVoid&&this._elementStack.pop()}_consumeStartTag(fi){let Ce=fi.parts[0],Te=fi.parts[1],Ft=[];for(;this._peek.type===Ui.TokenType.ATTR_NAME;)Ft.push(this._consumeAttr(this._advance()));let Lt=this._getElementFullName(Ce,Te,this._getParentElement()),nn=!1;if(this._peek.type===Ui.TokenType.TAG_OPEN_END_VOID){this._advance(),nn=!0;let Xr=this.getTagDefinition(Lt);this.canSelfClose||Xr.canSelfClose||dr.getNsPrefix(Lt)!==null||Xr.isVoid||this._errors.push(Jn.create(Lt,fi.sourceSpan,`Only void and foreign elements can be self closed \"${fi.parts[1]}\"`))}else this._peek.type===Ui.TokenType.TAG_OPEN_END&&(this._advance(),nn=!1);let Nn=this._peek.sourceSpan.start,Pi=new Wn.ParseSourceSpan(fi.sourceSpan.start,Nn),si=new Wn.ParseSourceSpan(fi.sourceSpan.start.moveBy(1),fi.sourceSpan.end),Ur=new mi.Element(Lt,Ft,[],Pi,Pi,void 0,si);this._pushElement(Ur),nn&&(this._popElement(Lt),Ur.endSourceSpan=Pi)}_pushElement(fi){let Ce=this._getParentElement();Ce&&this.getTagDefinition(Ce.name).isClosedByChild(fi.name)&&this._elementStack.pop(),this._addToParent(fi),this._elementStack.push(fi)}_consumeEndTag(fi){let Ce=this.allowHtmComponentClosingTags&&fi.parts.length===0?null:this._getElementFullName(fi.parts[0],fi.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=fi.sourceSpan),Ce&&this.getTagDefinition(Ce).isVoid)this._errors.push(Jn.create(Ce,fi.sourceSpan,`Void elements do not have end tags \"${fi.parts[1]}\"`));else if(!this._popElement(Ce)){let Te=`Unexpected closing tag \"${Ce}\". 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(Jn.create(Ce,fi.sourceSpan,Te))}}_popElement(fi){for(let Ce=this._elementStack.length-1;Ce>=0;Ce--){let Te=this._elementStack[Ce];if(!fi||(dr.getNsPrefix(Te.name)?Te.name==fi:Te.name.toLowerCase()==fi.toLowerCase()))return this._elementStack.splice(Ce,this._elementStack.length-Ce),!0;if(!this.getTagDefinition(Te.name).closedByParent)return!1}return!1}_consumeAttr(fi){let Ce=dr.mergeNsAndName(fi.parts[0],fi.parts[1]),Te=fi.sourceSpan.end,Ft=\"\",Lt,nn;if(this._peek.type===Ui.TokenType.ATTR_QUOTE&&(nn=this._advance().sourceSpan.start),this._peek.type===Ui.TokenType.ATTR_VALUE){let Nn=this._advance();Ft=Nn.parts[0],Te=Nn.sourceSpan.end,Lt=Nn.sourceSpan}return this._peek.type===Ui.TokenType.ATTR_QUOTE&&(Te=this._advance().sourceSpan.end,Lt=new Wn.ParseSourceSpan(nn,Te)),new mi.Attribute(Ce,Ft,new Wn.ParseSourceSpan(fi.sourceSpan.start,Te),Lt,fi.sourceSpan)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_getParentElementSkippingContainers(){let fi=null;for(let Ce=this._elementStack.length-1;Ce>=0;Ce--){if(!dr.isNgContainer(this._elementStack[Ce].name))return{parent:this._elementStack[Ce],container:fi};fi=this._elementStack[Ce]}return{parent:null,container:fi}}_addToParent(fi){let Ce=this._getParentElement();Ce!=null?Ce.children.push(fi):this._rootNodes.push(fi)}_insertBeforeContainer(fi,Ce,Te){if(!Ce)this._addToParent(Te),this._elementStack.push(Te);else{if(fi){let Ft=fi.children.indexOf(Ce);fi.children[Ft]=Te}else this._rootNodes.push(Te);Te.children.push(Ce),this._elementStack.splice(this._elementStack.indexOf(Ce),0,Te)}}_getElementFullName(fi,Ce,Te){return fi===\"\"&&(fi=this.getTagDefinition(Ce).implicitNamespacePrefix||\"\",fi===\"\"&&Te!=null&&(fi=dr.getNsPrefix(Te.name))),dr.mergeNsAndName(fi,Ce)}};function ko(fi,Ce){return fi.length>0&&fi[fi.length-1]===Ce}}}),Eo=Rn({\"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js\"(kt){Ct(),Object.defineProperty(kt,\"__esModule\",{value:!0});var Wn=Xn(),mi=_a(),Ui=_a();kt.ParseTreeResult=Ui.ParseTreeResult,kt.TreeError=Ui.TreeError;var dr=class extends mi.Parser{constructor(){super(Wn.getHtmlTagDefinition)}parse(Jn,bi,Rr){let zr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,ko=arguments.length>4?arguments[4]:void 0;return super.parse(Jn,bi,Rr,zr,ko)}};kt.HtmlParser=dr}}),pl=Rn({\"node_modules/angular-html-parser/lib/angular-html-parser/src/index.js\"(kt){Ct(),Object.defineProperty(kt,\"__esModule\",{value:!0});var Wn=Eo(),mi=Ln();kt.TagContentType=mi.TagContentType;var Ui=null,dr=()=>(Ui||(Ui=new Wn.HtmlParser),Ui);function Jn(bi){let Rr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{canSelfClose:zr=!1,allowHtmComponentClosingTags:ko=!1,isTagNameCaseSensitive:fi=!1,getTagContentType:Ce}=Rr;return dr().parse(bi,\"angular-html-parser\",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:zr,allowHtmComponentClosingTags:ko},fi,Ce)}kt.parse=Jn}});Ct();var{ParseSourceSpan:Jl,ParseLocation:Tu,ParseSourceFile:pd}=jl(),Cc=Un(),wr=mu(),_o=uc(),{inferParserByLanguage:oa}=Yr(),Da=Ps(),ml=sa(),ou=sn(),{hasPragma:Ud}=Ze(),{Node:np}=be(),{parseIeConditionalComment:Kd}=ze(),{locStart:fd,locEnd:Sp}=jt();function Rd(kt,Wn,mi){let{canSelfClose:Ui,normalizeTagName:dr,normalizeAttributeName:Jn,allowHtmComponentClosingTags:bi,isTagNameCaseSensitive:Rr,getTagContentType:zr}=Wn,ko=pl(),{RecursiveVisitor:fi,visitAll:Ce}=ii(),{ParseSourceSpan:Te}=jl(),{getHtmlTagDefinition:Ft}=Xn(),{rootNodes:Lt,errors:nn}=ko.parse(kt,{canSelfClose:Ui,allowHtmComponentClosingTags:bi,isTagNameCaseSensitive:Rr,getTagContentType:zr});if(mi.parser===\"vue\")if(Lt.some(Br=>Br.type===\"docType\"&&Br.value===\"html\"||Br.type===\"element\"&&Br.name.toLowerCase()===\"html\")){Ui=!0,dr=!0,Jn=!0,bi=!0,Rr=!1;let Br=ko.parse(kt,{canSelfClose:Ui,allowHtmComponentClosingTags:bi,isTagNameCaseSensitive:Rr});Lt=Br.rootNodes,nn=Br.errors}else{let Br=Oo=>{if(!Oo||Oo.type!==\"element\"||Oo.name!==\"template\")return!1;let Ko=Oo.attrs.find(ba=>ba.name===\"lang\"),Ho=Ko&&Ko.value;return!Ho||oa(Ho,mi)===\"html\"};if(Lt.some(Br)){let Oo,Ko=()=>ko.parse(kt,{canSelfClose:Ui,allowHtmComponentClosingTags:bi,isTagNameCaseSensitive:Rr}),Ho=()=>Oo||(Oo=Ko()),ba=$t=>Ho().rootNodes.find(Kn=>{let{startSourceSpan:Nr}=Kn;return Nr&&Nr.start.offset===$t.startSourceSpan.start.offset});for(let $t=0;$t<Lt.length;$t++){let Kn=Lt[$t],{endSourceSpan:Nr,startSourceSpan:nr}=Kn;if(Nr===null)nn=Ho().errors,Lt[$t]=ba(Kn)||Kn;else if(Br(Kn)){let ps=Ho(),ga=nr.end.offset,Yl=Nr.start.offset;for(let Td of ps.errors){let{offset:Mc}=Td.span.start;if(ga<Mc&&Mc<Yl){nn=[Td];break}}Lt[$t]=ba(Kn)||Kn}}}}if(nn.length>0){let{msg:Br,span:{start:Oo,end:Ko}}=nn[0];throw _o(Br,{start:{line:Oo.line+1,column:Oo.col+1},end:{line:Ko.line+1,column:Ko.col+1}})}let Nn=Br=>{let Oo=Br.name.startsWith(\":\")?Br.name.slice(1).split(\":\")[0]:null,Ko=Br.nameSpan.toString(),Ho=Oo!==null&&Ko.startsWith(`${Oo}:`),ba=Ho?Ko.slice(Oo.length+1):Ko;Br.name=ba,Br.namespace=Oo,Br.hasExplicitNamespace=Ho},Pi=Br=>{switch(Br.type){case\"element\":Nn(Br);for(let Oo of Br.attrs)Nn(Oo),Oo.valueSpan?(Oo.value=Oo.valueSpan.toString(),/[\"']/.test(Oo.value[0])&&(Oo.value=Oo.value.slice(1,-1))):Oo.value=null;break;case\"comment\":Br.value=Br.sourceSpan.toString().slice(4,-3);break;case\"text\":Br.value=Br.sourceSpan.toString();break}},si=(Br,Oo)=>{let Ko=Br.toLowerCase();return Oo(Ko)?Ko:Br},Ur=Br=>{if(Br.type===\"element\"&&(dr&&(!Br.namespace||Br.namespace===Br.tagDefinition.implicitNamespacePrefix||ou(Br))&&(Br.name=si(Br.name,Oo=>Oo in Da)),Jn)){let Oo=ml[Br.name]||Object.create(null);for(let Ko of Br.attrs)Ko.namespace||(Ko.name=si(Ko.name,Ho=>Br.name in ml&&(Ho in ml[\"*\"]||Ho in Oo)))}},Xr=Br=>{Br.sourceSpan&&Br.endSourceSpan&&(Br.sourceSpan=new Te(Br.sourceSpan.start,Br.endSourceSpan.end))},eo=Br=>{if(Br.type===\"element\"){let Oo=Ft(Rr?Br.name:Br.name.toLowerCase());!Br.namespace||Br.namespace===Oo.implicitNamespacePrefix||ou(Br)?Br.tagDefinition=Oo:Br.tagDefinition=Ft(\"\")}};return Ce(new class extends fi{visit(Br){Pi(Br),eo(Br),Ur(Br),Xr(Br)}},Lt),Lt}function qd(kt,Wn,mi){let Ui=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,{frontMatter:dr,content:Jn}=Ui?Cc(kt):{frontMatter:null,content:kt},bi=new pd(kt,Wn.filepath),Rr=new Tu(bi,0,0,0),zr=Rr.moveBy(kt.length),ko={type:\"root\",sourceSpan:new Jl(Rr,zr),children:Rd(Jn,mi,Wn)};if(dr){let Te=new Tu(bi,0,0,0),Ft=Te.moveBy(dr.raw.length);dr.sourceSpan=new Jl(Te,Ft),ko.children.unshift(dr)}let fi=new np(ko),Ce=(Te,Ft)=>{let{offset:Lt}=Ft,nn=kt.slice(0,Lt).replace(/[^\\n\\r]/g,\" \"),Nn=qd(nn+Te,Wn,mi,!1);Nn.sourceSpan=new Jl(Ft,wr(Nn.children).sourceSpan.end);let Pi=Nn.children[0];return Pi.length===Lt?Nn.children.shift():(Pi.sourceSpan=new Jl(Pi.sourceSpan.start.moveBy(Lt),Pi.sourceSpan.end),Pi.value=Pi.value.slice(Lt)),Nn};return fi.walk(Te=>{if(Te.type===\"comment\"){let Ft=Kd(Te,Ce);Ft&&Te.parent.replaceChild(Te,Ft)}}),fi}function Hf(){let{name:kt,canSelfClose:Wn=!1,normalizeTagName:mi=!1,normalizeAttributeName:Ui=!1,allowHtmComponentClosingTags:dr=!1,isTagNameCaseSensitive:Jn=!1,getTagContentType:bi}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{parse:(Rr,zr,ko)=>qd(Rr,Object.assign({parser:kt},ko),{canSelfClose:Wn,normalizeTagName:mi,normalizeAttributeName:Ui,allowHtmComponentClosingTags:dr,isTagNameCaseSensitive:Jn,getTagContentType:bi}),hasPragma:Ud,astFormat:\"html\",locStart:fd,locEnd:Sp}}$e.exports={parsers:{html:Hf({name:\"html\",canSelfClose:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:Hf({name:\"angular\",canSelfClose:!0}),vue:Hf({name:\"vue\",canSelfClose:!0,isTagNameCaseSensitive:!0,getTagContentType:(kt,Wn,mi,Ui)=>{if(kt.toLowerCase()!==\"html\"&&!mi&&(kt!==\"template\"||Ui.some(dr=>{let{name:Jn,value:bi}=dr;return Jn===\"lang\"&&bi!==\"html\"&&bi!==\"\"&&bi!==void 0})))return pl().TagContentType.RAW_TEXT}}),lwc:Hf({name:\"lwc\"})}}});return _t()})})(mge);var MJe=BE(mge.exports),yge={exports:{}};(function(o,e){(function(t){o.exports=t()})(function(){var t=(i,s)=>()=>(s||i((s={exports:{}}).exports,s),s.exports),n=t((i,s)=>{var a=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,h=(Ke,U)=>function(){return Ke&&(U=(0,Ke[u(Ke)[0]])(Ke=0)),U},p=(Ke,U)=>function(){return U||(0,Ke[u(Ke)[0]])((U={exports:{}}).exports,U),U.exports},g=(Ke,U)=>{for(var Pe in U)a(Ke,Pe,{get:U[Pe],enumerable:!0})},y=(Ke,U,Pe,Dn)=>{if(U&&typeof U==\"object\"||typeof U==\"function\")for(let $n of u(U))!d.call(Ke,$n)&&$n!==Pe&&a(Ke,$n,{get:()=>U[$n],enumerable:!(Dn=l(U,$n))||Dn.enumerable});return Ke},D=Ke=>y(a({},\"__esModule\",{value:!0}),Ke),T,k=h({\"<define:process>\"(){T={env:{},argv:[]}}}),I=p({\"src/common/parser-create-error.js\"(Ke,U){k();function Pe(Dn,$n){let zn=new SyntaxError(Dn+\" (\"+$n.start.line+\":\"+$n.start.column+\")\");return zn.loc=$n,zn}U.exports=Pe}}),F=p({\"src/language-yaml/pragma.js\"(Ke,U){k();function Pe(zn){return/^\\s*@(?:prettier|format)\\s*$/.test(zn)}function Dn(zn){return/^\\s*#[^\\S\\n]*@(?:prettier|format)\\s*?(?:\\n|$)/.test(zn)}function $n(zn){return`# @format\n\n${zn}`}U.exports={isPragma:Pe,hasPragma:Dn,insertPragma:$n}}}),q=p({\"src/language-yaml/loc.js\"(Ke,U){k();function Pe($n){return $n.position.start.offset}function Dn($n){return $n.position.end.offset}U.exports={locStart:Pe,locEnd:Dn}}}),re={};g(re,{__assign:()=>gu,__asyncDelegator:()=>Gl,__asyncGenerator:()=>Ao,__asyncValues:()=>nl,__await:()=>Qo,__awaiter:()=>gi,__classPrivateFieldGet:()=>mc,__classPrivateFieldSet:()=>lc,__createBinding:()=>Tr,__decorate:()=>Le,__exportStar:()=>Vr,__extends:()=>Ie,__generator:()=>ai,__importDefault:()=>Bl,__importStar:()=>mo,__makeTemplateObject:()=>Po,__metadata:()=>qt,__param:()=>Ge,__read:()=>Js,__rest:()=>mt,__spread:()=>Fo,__spreadArrays:()=>aa,__values:()=>go});function Ie(Ke,U){dd(Ke,U);function Pe(){this.constructor=Ke}Ke.prototype=U===null?Object.create(U):(Pe.prototype=U.prototype,new Pe)}function mt(Ke,U){var Pe={};for(var Dn in Ke)Object.prototype.hasOwnProperty.call(Ke,Dn)&&U.indexOf(Dn)<0&&(Pe[Dn]=Ke[Dn]);if(Ke!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var $n=0,Dn=Object.getOwnPropertySymbols(Ke);$n<Dn.length;$n++)U.indexOf(Dn[$n])<0&&Object.prototype.propertyIsEnumerable.call(Ke,Dn[$n])&&(Pe[Dn[$n]]=Ke[Dn[$n]]);return Pe}function Le(Ke,U,Pe,Dn){var $n=arguments.length,zn=$n<3?U:Dn===null?Dn=Object.getOwnPropertyDescriptor(U,Pe):Dn,Ji;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")zn=Reflect.decorate(Ke,U,Pe,Dn);else for(var or=Ke.length-1;or>=0;or--)(Ji=Ke[or])&&(zn=($n<3?Ji(zn):$n>3?Ji(U,Pe,zn):Ji(U,Pe))||zn);return $n>3&&zn&&Object.defineProperty(U,Pe,zn),zn}function Ge(Ke,U){return function(Pe,Dn){U(Pe,Dn,Ke)}}function qt(Ke,U){if(typeof Reflect==\"object\"&&typeof Reflect.metadata==\"function\")return Reflect.metadata(Ke,U)}function gi(Ke,U,Pe,Dn){function $n(zn){return zn instanceof Pe?zn:new Pe(function(Ji){Ji(zn)})}return new(Pe||(Pe=Promise))(function(zn,Ji){function or(br){try{qi(Dn.next(br))}catch(Yr){Ji(Yr)}}function Ls(br){try{qi(Dn.throw(br))}catch(Yr){Ji(Yr)}}function qi(br){br.done?zn(br.value):$n(br.value).then(or,Ls)}qi((Dn=Dn.apply(Ke,U||[])).next())})}function ai(Ke,U){var Pe={label:0,sent:function(){if(zn[0]&1)throw zn[1];return zn[1]},trys:[],ops:[]},Dn,$n,zn,Ji;return Ji={next:or(0),throw:or(1),return:or(2)},typeof Symbol==\"function\"&&(Ji[Symbol.iterator]=function(){return this}),Ji;function or(qi){return function(br){return Ls([qi,br])}}function Ls(qi){if(Dn)throw new TypeError(\"Generator is already executing.\");for(;Pe;)try{if(Dn=1,$n&&(zn=qi[0]&2?$n.return:qi[0]?$n.throw||((zn=$n.return)&&zn.call($n),0):$n.next)&&!(zn=zn.call($n,qi[1])).done)return zn;switch($n=0,zn&&(qi=[qi[0]&2,zn.value]),qi[0]){case 0:case 1:zn=qi;break;case 4:return Pe.label++,{value:qi[1],done:!1};case 5:Pe.label++,$n=qi[1],qi=[0];continue;case 7:qi=Pe.ops.pop(),Pe.trys.pop();continue;default:if(zn=Pe.trys,!(zn=zn.length>0&&zn[zn.length-1])&&(qi[0]===6||qi[0]===2)){Pe=0;continue}if(qi[0]===3&&(!zn||qi[1]>zn[0]&&qi[1]<zn[3])){Pe.label=qi[1];break}if(qi[0]===6&&Pe.label<zn[1]){Pe.label=zn[1],zn=qi;break}if(zn&&Pe.label<zn[2]){Pe.label=zn[2],Pe.ops.push(qi);break}zn[2]&&Pe.ops.pop(),Pe.trys.pop();continue}qi=U.call(Ke,Pe)}catch(br){qi=[6,br],$n=0}finally{Dn=zn=0}if(qi[0]&5)throw qi[1];return{value:qi[0]?qi[1]:void 0,done:!0}}}function Tr(Ke,U,Pe,Dn){Dn===void 0&&(Dn=Pe),Ke[Dn]=U[Pe]}function Vr(Ke,U){for(var Pe in Ke)Pe!==\"default\"&&!U.hasOwnProperty(Pe)&&(U[Pe]=Ke[Pe])}function go(Ke){var U=typeof Symbol==\"function\"&&Symbol.iterator,Pe=U&&Ke[U],Dn=0;if(Pe)return Pe.call(Ke);if(Ke&&typeof Ke.length==\"number\")return{next:function(){return Ke&&Dn>=Ke.length&&(Ke=void 0),{value:Ke&&Ke[Dn++],done:!Ke}}};throw new TypeError(U?\"Object is not iterable.\":\"Symbol.iterator is not defined.\")}function Js(Ke,U){var Pe=typeof Symbol==\"function\"&&Ke[Symbol.iterator];if(!Pe)return Ke;var Dn=Pe.call(Ke),$n,zn=[],Ji;try{for(;(U===void 0||U-- >0)&&!($n=Dn.next()).done;)zn.push($n.value)}catch(or){Ji={error:or}}finally{try{$n&&!$n.done&&(Pe=Dn.return)&&Pe.call(Dn)}finally{if(Ji)throw Ji.error}}return zn}function Fo(){for(var Ke=[],U=0;U<arguments.length;U++)Ke=Ke.concat(Js(arguments[U]));return Ke}function aa(){for(var Ke=0,U=0,Pe=arguments.length;U<Pe;U++)Ke+=arguments[U].length;for(var Dn=Array(Ke),$n=0,U=0;U<Pe;U++)for(var zn=arguments[U],Ji=0,or=zn.length;Ji<or;Ji++,$n++)Dn[$n]=zn[Ji];return Dn}function Qo(Ke){return this instanceof Qo?(this.v=Ke,this):new Qo(Ke)}function Ao(Ke,U,Pe){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var Dn=Pe.apply(Ke,U||[]),$n,zn=[];return $n={},Ji(\"next\"),Ji(\"throw\"),Ji(\"return\"),$n[Symbol.asyncIterator]=function(){return this},$n;function Ji(Cs){Dn[Cs]&&($n[Cs]=function(rs){return new Promise(function(Ps,Os){zn.push([Cs,rs,Ps,Os])>1||or(Cs,rs)})})}function or(Cs,rs){try{Ls(Dn[Cs](rs))}catch(Ps){Yr(zn[0][3],Ps)}}function Ls(Cs){Cs.value instanceof Qo?Promise.resolve(Cs.value.v).then(qi,br):Yr(zn[0][2],Cs)}function qi(Cs){or(\"next\",Cs)}function br(Cs){or(\"throw\",Cs)}function Yr(Cs,rs){Cs(rs),zn.shift(),zn.length&&or(zn[0][0],zn[0][1])}}function Gl(Ke){var U,Pe;return U={},Dn(\"next\"),Dn(\"throw\",function($n){throw $n}),Dn(\"return\"),U[Symbol.iterator]=function(){return this},U;function Dn($n,zn){U[$n]=Ke[$n]?function(Ji){return(Pe=!Pe)?{value:Qo(Ke[$n](Ji)),done:$n===\"return\"}:zn?zn(Ji):Ji}:zn}}function nl(Ke){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var U=Ke[Symbol.asyncIterator],Pe;return U?U.call(Ke):(Ke=typeof go==\"function\"?go(Ke):Ke[Symbol.iterator](),Pe={},Dn(\"next\"),Dn(\"throw\"),Dn(\"return\"),Pe[Symbol.asyncIterator]=function(){return this},Pe);function Dn(zn){Pe[zn]=Ke[zn]&&function(Ji){return new Promise(function(or,Ls){Ji=Ke[zn](Ji),$n(or,Ls,Ji.done,Ji.value)})}}function $n(zn,Ji,or,Ls){Promise.resolve(Ls).then(function(qi){zn({value:qi,done:or})},Ji)}}function Po(Ke,U){return Object.defineProperty?Object.defineProperty(Ke,\"raw\",{value:U}):Ke.raw=U,Ke}function mo(Ke){if(Ke&&Ke.__esModule)return Ke;var U={};if(Ke!=null)for(var Pe in Ke)Object.hasOwnProperty.call(Ke,Pe)&&(U[Pe]=Ke[Pe]);return U.default=Ke,U}function Bl(Ke){return Ke&&Ke.__esModule?Ke:{default:Ke}}function mc(Ke,U){if(!U.has(Ke))throw new TypeError(\"attempted to get private field on non-instance\");return U.get(Ke)}function lc(Ke,U,Pe){if(!U.has(Ke))throw new TypeError(\"attempted to set private field on non-instance\");return U.set(Ke,Pe),Pe}var dd,gu,Ka=h({\"node_modules/tslib/tslib.es6.js\"(){k(),dd=function(Ke,U){return dd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Pe,Dn){Pe.__proto__=Dn}||function(Pe,Dn){for(var $n in Dn)Dn.hasOwnProperty($n)&&(Pe[$n]=Dn[$n])},dd(Ke,U)},gu=function(){return gu=Object.assign||function(Ke){for(var U,Pe=1,Dn=arguments.length;Pe<Dn;Pe++){U=arguments[Pe];for(var $n in U)Object.prototype.hasOwnProperty.call(U,$n)&&(Ke[$n]=U[$n])}return Ke},gu.apply(this,arguments)}}}),Qc=p({\"node_modules/yaml-unist-parser/node_modules/lines-and-columns/build/index.js\"(Ke){k(),Ke.__esModule=!0,Ke.LinesAndColumns=void 0;var U=`\n`,Pe=\"\\r\",Dn=function(){function $n(zn){this.string=zn;for(var Ji=[0],or=0;or<zn.length;)switch(zn[or]){case U:or+=U.length,Ji.push(or);break;case Pe:or+=Pe.length,zn[or]===U&&(or+=U.length),Ji.push(or);break;default:or++;break}this.offsets=Ji}return $n.prototype.locationForIndex=function(zn){if(zn<0||zn>this.string.length)return null;for(var Ji=0,or=this.offsets;or[Ji+1]<=zn;)Ji++;var Ls=zn-or[Ji];return{line:Ji,column:Ls}},$n.prototype.indexForLocation=function(zn){var Ji=zn.line,or=zn.column;return Ji<0||Ji>=this.offsets.length||or<0||or>this.lengthOfLine(Ji)?null:this.offsets[Ji]+or},$n.prototype.lengthOfLine=function(zn){var Ji=this.offsets[zn],or=zn===this.offsets.length-1?this.string.length:this.offsets[zn+1];return or-Ji},$n}();Ke.LinesAndColumns=Dn,Ke.default=Dn}}),Ba=p({\"node_modules/yaml-unist-parser/lib/utils/define-parents.js\"(Ke){k(),Ke.__esModule=!0;function U(Pe,Dn){Dn===void 0&&(Dn=null),\"children\"in Pe&&Pe.children.forEach(function($n){return U($n,Pe)}),\"anchor\"in Pe&&Pe.anchor&&U(Pe.anchor,Pe),\"tag\"in Pe&&Pe.tag&&U(Pe.tag,Pe),\"leadingComments\"in Pe&&Pe.leadingComments.forEach(function($n){return U($n,Pe)}),\"middleComments\"in Pe&&Pe.middleComments.forEach(function($n){return U($n,Pe)}),\"indicatorComment\"in Pe&&Pe.indicatorComment&&U(Pe.indicatorComment,Pe),\"trailingComment\"in Pe&&Pe.trailingComment&&U(Pe.trailingComment,Pe),\"endComments\"in Pe&&Pe.endComments.forEach(function($n){return U($n,Pe)}),Object.defineProperty(Pe,\"_parent\",{value:Dn,enumerable:!1})}Ke.defineParents=U}}),xd=p({\"node_modules/yaml-unist-parser/lib/utils/get-point-text.js\"(Ke){k(),Ke.__esModule=!0;function U(Pe){return Pe.line+\":\"+Pe.column}Ke.getPointText=U}}),jp=p({\"node_modules/yaml-unist-parser/lib/attach.js\"(Ke){k(),Ke.__esModule=!0;var U=Ba(),Pe=xd();function Dn(qi){U.defineParents(qi);var br=$n(qi),Yr=qi.children.slice();qi.comments.sort(function(Cs,rs){return Cs.position.start.offset-rs.position.end.offset}).filter(function(Cs){return!Cs._parent}).forEach(function(Cs){for(;Yr.length>1&&Cs.position.start.line>Yr[0].position.end.line;)Yr.shift();Ji(Cs,br,Yr[0])})}Ke.attachComments=Dn;function $n(qi){for(var br=Array.from(new Array(qi.position.end.line),function(){return{}}),Yr=0,Cs=qi.comments;Yr<Cs.length;Yr++){var rs=Cs[Yr];br[rs.position.start.line-1].comment=rs}return zn(br,qi),br}function zn(qi,br){if(br.position.start.offset!==br.position.end.offset){if(\"leadingComments\"in br){var Yr=br.position.start,Cs=qi[Yr.line-1].leadingAttachableNode;(!Cs||Yr.column<Cs.position.start.column)&&(qi[Yr.line-1].leadingAttachableNode=br)}if(\"trailingComment\"in br&&br.position.end.column>1&&br.type!==\"document\"&&br.type!==\"documentHead\"){var rs=br.position.end,Ps=qi[rs.line-1].trailingAttachableNode;(!Ps||rs.column>=Ps.position.end.column)&&(qi[rs.line-1].trailingAttachableNode=br)}if(br.type!==\"root\"&&br.type!==\"document\"&&br.type!==\"documentHead\"&&br.type!==\"documentBody\")for(var Os=br.position,Yr=Os.start,rs=Os.end,zs=[rs.line].concat(Yr.line===rs.line?[]:Yr.line),sa=0,sn=zs;sa<sn.length;sa++){var Ze=sn[sa],be=qi[Ze-1].trailingNode;(!be||rs.column>=be.position.end.column)&&(qi[Ze-1].trailingNode=br)}\"children\"in br&&br.children.forEach(function(ze){zn(qi,ze)})}}function Ji(qi,br,Yr){var Cs=qi.position.start.line,rs=br[Cs-1].trailingAttachableNode;if(rs){if(rs.trailingComment)throw new Error(\"Unexpected multiple trailing comment at \"+Pe.getPointText(qi.position.start));U.defineParents(qi,rs),rs.trailingComment=qi;return}for(var Ps=Cs;Ps>=Yr.position.start.line;Ps--){var Os=br[Ps-1].trailingNode,zs=void 0;if(Os)zs=Os;else if(Ps!==Cs&&br[Ps-1].comment)zs=br[Ps-1].comment._parent;else continue;if((zs.type===\"sequence\"||zs.type===\"mapping\")&&(zs=zs.children[0]),zs.type===\"mappingItem\"){var sa=zs.children,sn=sa[0],Ze=sa[1];zs=Ls(sn)?sn:Ze}for(;;){if(or(zs,qi)){U.defineParents(qi,zs),zs.endComments.push(qi);return}if(!zs._parent)break;zs=zs._parent}break}for(var Ps=Cs+1;Ps<=Yr.position.end.line;Ps++){var be=br[Ps-1].leadingAttachableNode;if(be){U.defineParents(qi,be),be.leadingComments.push(qi);return}}var ze=Yr.children[1];U.defineParents(qi,ze),ze.endComments.push(qi)}function or(qi,br){if(qi.position.start.offset<br.position.start.offset&&qi.position.end.offset>br.position.end.offset)switch(qi.type){case\"flowMapping\":case\"flowSequence\":return qi.children.length===0||br.position.start.line>qi.children[qi.children.length-1].position.end.line}if(br.position.end.offset<qi.position.end.offset)return!1;switch(qi.type){case\"sequenceItem\":return br.position.start.column>qi.position.start.column;case\"mappingKey\":case\"mappingValue\":return br.position.start.column>qi._parent.position.start.column&&(qi.children.length===0||qi.children.length===1&&qi.children[0].type!==\"blockFolded\"&&qi.children[0].type!==\"blockLiteral\")&&(qi.type===\"mappingValue\"||Ls(qi));default:return!1}}function Ls(qi){return qi.position.start!==qi.position.end&&(qi.children.length===0||qi.position.start.offset!==qi.children[0].position.start.offset)}}}),Fu=p({\"node_modules/yaml-unist-parser/lib/factories/node.js\"(Ke){k(),Ke.__esModule=!0;function U(Pe,Dn){return{type:Pe,position:Dn}}Ke.createNode=U}}),Ed=p({\"node_modules/yaml-unist-parser/lib/factories/root.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=Fu();function Dn($n,zn,Ji){return U.__assign(U.__assign({},Pe.createNode(\"root\",$n)),{children:zn,comments:Ji})}Ke.createRoot=Dn}}),wp=p({\"node_modules/yaml-unist-parser/lib/preprocess.js\"(Ke){k(),Ke.__esModule=!0;function U(Pe){switch(Pe.type){case\"DOCUMENT\":for(var Dn=Pe.contents.length-1;Dn>=0;Dn--)Pe.contents[Dn].type===\"BLANK_LINE\"?Pe.contents.splice(Dn,1):U(Pe.contents[Dn]);for(var Dn=Pe.directives.length-1;Dn>=0;Dn--)Pe.directives[Dn].type===\"BLANK_LINE\"&&Pe.directives.splice(Dn,1);break;case\"FLOW_MAP\":case\"FLOW_SEQ\":case\"MAP\":case\"SEQ\":for(var Dn=Pe.items.length-1;Dn>=0;Dn--){var $n=Pe.items[Dn];\"char\"in $n||($n.type===\"BLANK_LINE\"?Pe.items.splice(Dn,1):U($n))}break;case\"MAP_KEY\":case\"MAP_VALUE\":case\"SEQ_ITEM\":Pe.node&&U(Pe.node);break;case\"ALIAS\":case\"BLANK_LINE\":case\"BLOCK_FOLDED\":case\"BLOCK_LITERAL\":case\"COMMENT\":case\"DIRECTIVE\":case\"PLAIN\":case\"QUOTE_DOUBLE\":case\"QUOTE_SINGLE\":break;default:throw new Error(\"Unexpected node type \"+JSON.stringify(Pe.type))}}Ke.removeCstBlankLine=U}}),zd=p({\"node_modules/yaml-unist-parser/lib/factories/leading-comment-attachable.js\"(Ke){k(),Ke.__esModule=!0;function U(){return{leadingComments:[]}}Ke.createLeadingCommentAttachable=U}}),Ch=p({\"node_modules/yaml-unist-parser/lib/factories/trailing-comment-attachable.js\"(Ke){k(),Ke.__esModule=!0;function U(Pe){return Pe===void 0&&(Pe=null),{trailingComment:Pe}}Ke.createTrailingCommentAttachable=U}}),sh=p({\"node_modules/yaml-unist-parser/lib/factories/comment-attachable.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=zd(),Dn=Ch();function $n(){return U.__assign(U.__assign({},Pe.createLeadingCommentAttachable()),Dn.createTrailingCommentAttachable())}Ke.createCommentAttachable=$n}}),$r=p({\"node_modules/yaml-unist-parser/lib/factories/alias.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=sh(),Dn=Fu();function $n(zn,Ji,or){return U.__assign(U.__assign(U.__assign(U.__assign({},Dn.createNode(\"alias\",zn)),Pe.createCommentAttachable()),Ji),{value:or})}Ke.createAlias=$n}}),sr=p({\"node_modules/yaml-unist-parser/lib/transforms/alias.js\"(Ke){k(),Ke.__esModule=!0;var U=$r();function Pe(Dn,$n){var zn=Dn.cstNode;return U.createAlias($n.transformRange({origStart:zn.valueRange.origStart-1,origEnd:zn.valueRange.origEnd}),$n.transformContent(Dn),zn.rawValue)}Ke.transformAlias=Pe}}),gr=p({\"node_modules/yaml-unist-parser/lib/factories/block-folded.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re));function Pe(Dn){return U.__assign(U.__assign({},Dn),{type:\"blockFolded\"})}Ke.createBlockFolded=Pe}}),It=p({\"node_modules/yaml-unist-parser/lib/factories/block-value.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=zd(),Dn=Fu();function $n(zn,Ji,or,Ls,qi,br){return U.__assign(U.__assign(U.__assign(U.__assign({},Dn.createNode(\"blockValue\",zn)),Pe.createLeadingCommentAttachable()),Ji),{chomping:or,indent:Ls,value:qi,indicatorComment:br})}Ke.createBlockValue=$n}}),dn=p({\"node_modules/yaml-unist-parser/lib/constants.js\"(Ke){k(),Ke.__esModule=!0,function(U){U.Tag=\"!\",U.Anchor=\"&\",U.Comment=\"#\"}(Ke.PropLeadingCharacter||(Ke.PropLeadingCharacter={}))}}),Si=p({\"node_modules/yaml-unist-parser/lib/factories/anchor.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=Fu();function Dn($n,zn){return U.__assign(U.__assign({},Pe.createNode(\"anchor\",$n)),{value:zn})}Ke.createAnchor=Dn}}),Yn=p({\"node_modules/yaml-unist-parser/lib/factories/comment.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=Fu();function Dn($n,zn){return U.__assign(U.__assign({},Pe.createNode(\"comment\",$n)),{value:zn})}Ke.createComment=Dn}}),Zr=p({\"node_modules/yaml-unist-parser/lib/factories/content.js\"(Ke){k(),Ke.__esModule=!0;function U(Pe,Dn,$n){return{anchor:Dn,tag:Pe,middleComments:$n}}Ke.createContent=U}}),vs=p({\"node_modules/yaml-unist-parser/lib/factories/tag.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=Fu();function Dn($n,zn){return U.__assign(U.__assign({},Pe.createNode(\"tag\",$n)),{value:zn})}Ke.createTag=Dn}}),ra=p({\"node_modules/yaml-unist-parser/lib/transforms/content.js\"(Ke){k(),Ke.__esModule=!0;var U=dn(),Pe=Si(),Dn=Yn(),$n=Zr(),zn=vs();function Ji(or,Ls,qi){qi===void 0&&(qi=function(){return!1});for(var br=or.cstNode,Yr=[],Cs=null,rs=null,Ps=null,Os=0,zs=br.props;Os<zs.length;Os++){var sa=zs[Os],sn=Ls.text[sa.origStart];switch(sn){case U.PropLeadingCharacter.Tag:Cs=Cs||sa,rs=zn.createTag(Ls.transformRange(sa),or.tag);break;case U.PropLeadingCharacter.Anchor:Cs=Cs||sa,Ps=Pe.createAnchor(Ls.transformRange(sa),br.anchor);break;case U.PropLeadingCharacter.Comment:{var Ze=Dn.createComment(Ls.transformRange(sa),Ls.text.slice(sa.origStart+1,sa.origEnd));Ls.comments.push(Ze),!qi(Ze)&&Cs&&Cs.origEnd<=sa.origStart&&sa.origEnd<=br.valueRange.origStart&&Yr.push(Ze);break}default:throw new Error(\"Unexpected leading character \"+JSON.stringify(sn))}}return $n.createContent(rs,Ps,Yr)}Ke.transformContent=Ji}}),zo=p({\"node_modules/yaml-unist-parser/lib/transforms/block-value.js\"(Ke){k(),Ke.__esModule=!0;var U=It(),Pe=xd(),Dn=ra(),$n;(function(Ji){Ji.CLIP=\"clip\",Ji.STRIP=\"strip\",Ji.KEEP=\"keep\"})($n||($n={}));function zn(Ji,or){var Ls=Ji.cstNode,qi=1,br=Ls.chomping===\"CLIP\"?0:1,Yr=Ls.header.origEnd-Ls.header.origStart,Cs=Yr-qi-br!==0,rs=or.transformRange({origStart:Ls.header.origStart,origEnd:Ls.valueRange.origEnd}),Ps=null,Os=Dn.transformContent(Ji,or,function(zs){var sa=rs.start.offset<zs.position.start.offset&&zs.position.end.offset<rs.end.offset;if(!sa)return!1;if(Ps)throw new Error(\"Unexpected multiple indicator comments at \"+Pe.getPointText(zs.position.start));return Ps=zs,!0});return U.createBlockValue(rs,Os,$n[Ls.chomping],Cs?Ls.blockIndent:null,Ls.strValue,Ps)}Ke.transformAstBlockValue=zn}}),za=p({\"node_modules/yaml-unist-parser/lib/transforms/block-folded.js\"(Ke){k(),Ke.__esModule=!0;var U=gr(),Pe=zo();function Dn($n,zn){return U.createBlockFolded(Pe.transformAstBlockValue($n,zn))}Ke.transformBlockFolded=Dn}}),La=p({\"node_modules/yaml-unist-parser/lib/factories/block-literal.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re));function Pe(Dn){return U.__assign(U.__assign({},Dn),{type:\"blockLiteral\"})}Ke.createBlockLiteral=Pe}}),Ul=p({\"node_modules/yaml-unist-parser/lib/transforms/block-literal.js\"(Ke){k(),Ke.__esModule=!0;var U=La(),Pe=zo();function Dn($n,zn){return U.createBlockLiteral(Pe.transformAstBlockValue($n,zn))}Ke.transformBlockLiteral=Dn}}),bl=p({\"node_modules/yaml-unist-parser/lib/transforms/comment.js\"(Ke){k(),Ke.__esModule=!0;var U=Yn();function Pe(Dn,$n){return U.createComment($n.transformRange(Dn.range),Dn.comment)}Ke.transformComment=Pe}}),ua=p({\"node_modules/yaml-unist-parser/lib/factories/directive.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=sh(),Dn=Fu();function $n(zn,Ji,or){return U.__assign(U.__assign(U.__assign({},Dn.createNode(\"directive\",zn)),Pe.createCommentAttachable()),{name:Ji,parameters:or})}Ke.createDirective=$n}}),Qs=p({\"node_modules/yaml-unist-parser/lib/utils/extract-prop-comments.js\"(Ke){k(),Ke.__esModule=!0;var U=dn(),Pe=Yn();function Dn($n,zn){for(var Ji=0,or=$n.props;Ji<or.length;Ji++){var Ls=or[Ji],qi=zn.text[Ls.origStart];switch(qi){case U.PropLeadingCharacter.Comment:zn.comments.push(Pe.createComment(zn.transformRange(Ls),zn.text.slice(Ls.origStart+1,Ls.origEnd)));break;default:throw new Error(\"Unexpected leading character \"+JSON.stringify(qi))}}}Ke.extractPropComments=Dn}}),Dr=p({\"node_modules/yaml-unist-parser/lib/transforms/directive.js\"(Ke){k(),Ke.__esModule=!0;var U=ua(),Pe=Qs();function Dn($n,zn){return Pe.extractPropComments($n,zn),U.createDirective(zn.transformRange($n.range),$n.name,$n.parameters)}Ke.transformDirective=Dn}}),Ar=p({\"node_modules/yaml-unist-parser/lib/factories/document.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=Fu(),Dn=Ch();function $n(zn,Ji,or,Ls){return U.__assign(U.__assign(U.__assign({},Pe.createNode(\"document\",zn)),Dn.createTrailingCommentAttachable(Ls)),{children:[Ji,or]})}Ke.createDocument=$n}}),li=p({\"node_modules/yaml-unist-parser/lib/factories/position.js\"(Ke){k(),Ke.__esModule=!0;function U(Dn,$n){return{start:Dn,end:$n}}Ke.createPosition=U;function Pe(Dn){return{start:Dn,end:Dn}}Ke.createEmptyPosition=Pe}}),gn=p({\"node_modules/yaml-unist-parser/lib/factories/end-comment-attachable.js\"(Ke){k(),Ke.__esModule=!0;function U(Pe){return Pe===void 0&&(Pe=[]),{endComments:Pe}}Ke.createEndCommentAttachable=U}}),kn=p({\"node_modules/yaml-unist-parser/lib/factories/document-body.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=gn(),Dn=Fu();function $n(zn,Ji,or){return U.__assign(U.__assign(U.__assign({},Dn.createNode(\"documentBody\",zn)),Pe.createEndCommentAttachable(or)),{children:Ji?[Ji]:[]})}Ke.createDocumentBody=$n}}),ei=p({\"node_modules/yaml-unist-parser/lib/utils/get-last.js\"(Ke){k(),Ke.__esModule=!0;function U(Pe){return Pe[Pe.length-1]}Ke.getLast=U}}),Yt=p({\"node_modules/yaml-unist-parser/lib/utils/get-match-index.js\"(Ke){k(),Ke.__esModule=!0;function U(Pe,Dn){var $n=Pe.match(Dn);return $n?$n.index:-1}Ke.getMatchIndex=U}}),zi=p({\"node_modules/yaml-unist-parser/lib/transforms/document-body.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=kn(),Dn=ei(),$n=Yt(),zn=xd();function Ji(qi,br,Yr){var Cs,rs=qi.cstNode,Ps=or(rs,br,Yr),Os=Ps.comments,zs=Ps.endComments,sa=Ps.documentTrailingComment,sn=Ps.documentHeadTrailingComment,Ze=br.transformNode(qi.contents),be=Ls(rs,Ze,br),ze=be.position,jt=be.documentEndPoint;return(Cs=br.comments).push.apply(Cs,U.__spreadArrays(Os,zs)),{documentBody:Pe.createDocumentBody(ze,Ze,zs),documentEndPoint:jt,documentTrailingComment:sa,documentHeadTrailingComment:sn}}Ke.transformDocumentBody=Ji;function or(qi,br,Yr){for(var Cs=[],rs=[],Ps=[],Os=[],zs=!1,sa=qi.contents.length-1;sa>=0;sa--){var sn=qi.contents[sa];if(sn.type===\"COMMENT\"){var Ze=br.transformNode(sn);Yr&&Yr.line===Ze.position.start.line?Os.unshift(Ze):zs?Cs.unshift(Ze):Ze.position.start.offset>=qi.valueRange.origEnd?Ps.unshift(Ze):Cs.unshift(Ze)}else zs=!0}if(Ps.length>1)throw new Error(\"Unexpected multiple document trailing comments at \"+zn.getPointText(Ps[1].position.start));if(Os.length>1)throw new Error(\"Unexpected multiple documentHead trailing comments at \"+zn.getPointText(Os[1].position.start));return{comments:Cs,endComments:rs,documentTrailingComment:Dn.getLast(Ps)||null,documentHeadTrailingComment:Dn.getLast(Os)||null}}function Ls(qi,br,Yr){var Cs=$n.getMatchIndex(Yr.text.slice(qi.valueRange.origEnd),/^\\.\\.\\./),rs=Cs===-1?qi.valueRange.origEnd:Math.max(0,qi.valueRange.origEnd-1);Yr.text[rs-1]===\"\\r\"&&rs--;var Ps=Yr.transformRange({origStart:br!==null?br.position.start.offset:rs,origEnd:rs}),Os=Cs===-1?Ps.end:Yr.transformOffset(qi.valueRange.origEnd+3);return{position:Ps,documentEndPoint:Os}}}}),kr=p({\"node_modules/yaml-unist-parser/lib/factories/document-head.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=gn(),Dn=Fu(),$n=Ch();function zn(Ji,or,Ls,qi){return U.__assign(U.__assign(U.__assign(U.__assign({},Dn.createNode(\"documentHead\",Ji)),Pe.createEndCommentAttachable(Ls)),$n.createTrailingCommentAttachable(qi)),{children:or})}Ke.createDocumentHead=zn}}),Gn=p({\"node_modules/yaml-unist-parser/lib/transforms/document-head.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=kr(),Dn=Yt();function $n(or,Ls){var qi,br=or.cstNode,Yr=zn(br,Ls),Cs=Yr.directives,rs=Yr.comments,Ps=Yr.endComments,Os=Ji(br,Cs,Ls),zs=Os.position,sa=Os.endMarkerPoint;(qi=Ls.comments).push.apply(qi,U.__spreadArrays(rs,Ps));var sn=function(Ze){return Ze&&Ls.comments.push(Ze),Pe.createDocumentHead(zs,Cs,Ps,Ze)};return{createDocumentHeadWithTrailingComment:sn,documentHeadEndMarkerPoint:sa}}Ke.transformDocumentHead=$n;function zn(or,Ls){for(var qi=[],br=[],Yr=[],Cs=!1,rs=or.directives.length-1;rs>=0;rs--){var Ps=Ls.transformNode(or.directives[rs]);Ps.type===\"comment\"?Cs?br.unshift(Ps):Yr.unshift(Ps):(Cs=!0,qi.unshift(Ps))}return{directives:qi,comments:br,endComments:Yr}}function Ji(or,Ls,qi){var br=Dn.getMatchIndex(qi.text.slice(0,or.valueRange.origStart),/---\\s*$/);br>0&&!/[\\r\\n]/.test(qi.text[br-1])&&(br=-1);var Yr=br===-1?{origStart:or.valueRange.origStart,origEnd:or.valueRange.origStart}:{origStart:br,origEnd:br+3};return Ls.length!==0&&(Yr.origStart=Ls[0].position.start.offset),{position:qi.transformRange(Yr),endMarkerPoint:br===-1?null:qi.transformOffset(br)}}}}),ni=p({\"node_modules/yaml-unist-parser/lib/transforms/document.js\"(Ke){k(),Ke.__esModule=!0;var U=Ar(),Pe=li(),Dn=zi(),$n=Gn();function zn(Ji,or){var Ls=$n.transformDocumentHead(Ji,or),qi=Ls.createDocumentHeadWithTrailingComment,br=Ls.documentHeadEndMarkerPoint,Yr=Dn.transformDocumentBody(Ji,or,br),Cs=Yr.documentBody,rs=Yr.documentEndPoint,Ps=Yr.documentTrailingComment,Os=Yr.documentHeadTrailingComment,zs=qi(Os);return Ps&&or.comments.push(Ps),U.createDocument(Pe.createPosition(zs.position.start,rs),zs,Cs,Ps)}Ke.transformDocument=zn}}),us=p({\"node_modules/yaml-unist-parser/lib/factories/flow-collection.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=sh(),Dn=gn(),$n=Fu();function zn(Ji,or,Ls){return U.__assign(U.__assign(U.__assign(U.__assign(U.__assign({},$n.createNode(\"flowCollection\",Ji)),Pe.createCommentAttachable()),Dn.createEndCommentAttachable()),or),{children:Ls})}Ke.createFlowCollection=zn}}),ks=p({\"node_modules/yaml-unist-parser/lib/factories/flow-mapping.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=us();function Dn($n,zn,Ji){return U.__assign(U.__assign({},Pe.createFlowCollection($n,zn,Ji)),{type:\"flowMapping\"})}Ke.createFlowMapping=Dn}}),Us=p({\"node_modules/yaml-unist-parser/lib/factories/flow-mapping-item.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=zd(),Dn=Fu();function $n(zn,Ji,or){return U.__assign(U.__assign(U.__assign({},Dn.createNode(\"flowMappingItem\",zn)),Pe.createLeadingCommentAttachable()),{children:[Ji,or]})}Ke.createFlowMappingItem=$n}}),Li=p({\"node_modules/yaml-unist-parser/lib/utils/extract-comments.js\"(Ke){k(),Ke.__esModule=!0;function U(Pe,Dn){for(var $n=[],zn=0,Ji=Pe;zn<Ji.length;zn++){var or=Ji[zn];or&&\"type\"in or&&or.type===\"COMMENT\"?Dn.comments.push(Dn.transformNode(or)):$n.push(or)}return $n}Ke.extractComments=U}}),Uo=p({\"node_modules/yaml-unist-parser/lib/utils/get-flow-map-item-additional-ranges.js\"(Ke){k(),Ke.__esModule=!0;function U(Pe){var Dn=[\"?\",\":\"].map(function(Ji){var or=Pe.find(function(Ls){return\"char\"in Ls&&Ls.char===Ji});return or?{origStart:or.origOffset,origEnd:or.origOffset+1}:null}),$n=Dn[0],zn=Dn[1];return{additionalKeyRange:$n,additionalValueRange:zn}}Ke.getFlowMapItemAdditionalRanges=U}}),Wi=p({\"node_modules/yaml-unist-parser/lib/utils/create-slicer.js\"(Ke){k(),Ke.__esModule=!0;function U(Pe,Dn){var $n=Dn;return function(zn){return Pe.slice($n,$n=zn)}}Ke.createSlicer=U}}),_t=p({\"node_modules/yaml-unist-parser/lib/utils/group-cst-flow-collection-items.js\"(Ke){k(),Ke.__esModule=!0;var U=Wi();function Pe(Dn){for(var $n=[],zn=U.createSlicer(Dn,1),Ji=!1,or=1;or<Dn.length-1;or++){var Ls=Dn[or];if(\"char\"in Ls&&Ls.char===\",\"){$n.push(zn(or)),zn(or+1),Ji=!1;continue}Ji=!0}return Ji&&$n.push(zn(Dn.length-1)),$n}Ke.groupCstFlowCollectionItems=Pe}}),ht=p({\"node_modules/yaml-unist-parser/lib/factories/mapping-key.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=gn(),Dn=Fu(),$n=Ch();function zn(Ji,or){return U.__assign(U.__assign(U.__assign(U.__assign({},Dn.createNode(\"mappingKey\",Ji)),$n.createTrailingCommentAttachable()),Pe.createEndCommentAttachable()),{children:or?[or]:[]})}Ke.createMappingKey=zn}}),$e=p({\"node_modules/yaml-unist-parser/lib/factories/mapping-value.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=sh(),Dn=gn(),$n=Fu();function zn(Ji,or){return U.__assign(U.__assign(U.__assign(U.__assign({},$n.createNode(\"mappingValue\",Ji)),Pe.createCommentAttachable()),Dn.createEndCommentAttachable()),{children:or?[or]:[]})}Ke.createMappingValue=zn}}),ot=p({\"node_modules/yaml-unist-parser/lib/transforms/pair.js\"(Ke){k(),Ke.__esModule=!0;var U=ht(),Pe=$e(),Dn=li();function $n(zn,Ji,or,Ls,qi){var br=Ji.transformNode(zn.key),Yr=Ji.transformNode(zn.value),Cs=br||Ls?U.createMappingKey(Ji.transformRange({origStart:Ls?Ls.origStart:br.position.start.offset,origEnd:br?br.position.end.offset:Ls.origStart+1}),br):null,rs=Yr||qi?Pe.createMappingValue(Ji.transformRange({origStart:qi?qi.origStart:Yr.position.start.offset,origEnd:Yr?Yr.position.end.offset:qi.origStart+1}),Yr):null;return or(Dn.createPosition(Cs?Cs.position.start:rs.position.start,rs?rs.position.end:Cs.position.end),Cs||U.createMappingKey(Dn.createEmptyPosition(rs.position.start),null),rs||Pe.createMappingValue(Dn.createEmptyPosition(Cs.position.end),null))}Ke.transformAstPair=$n}}),Rt=p({\"node_modules/yaml-unist-parser/lib/transforms/flow-map.js\"(Ke){k(),Ke.__esModule=!0;var U=ks(),Pe=Us(),Dn=Li(),$n=Uo(),zn=ei(),Ji=_t(),or=ot();function Ls(qi,br){var Yr=Dn.extractComments(qi.cstNode.items,br),Cs=Ji.groupCstFlowCollectionItems(Yr),rs=qi.items.map(function(zs,sa){var sn=Cs[sa],Ze=$n.getFlowMapItemAdditionalRanges(sn),be=Ze.additionalKeyRange,ze=Ze.additionalValueRange;return or.transformAstPair(zs,br,Pe.createFlowMappingItem,be,ze)}),Ps=Yr[0],Os=zn.getLast(Yr);return U.createFlowMapping(br.transformRange({origStart:Ps.origOffset,origEnd:Os.origOffset+1}),br.transformContent(qi),rs)}Ke.transformFlowMap=Ls}}),et=p({\"node_modules/yaml-unist-parser/lib/factories/flow-sequence.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=us();function Dn($n,zn,Ji){return U.__assign(U.__assign({},Pe.createFlowCollection($n,zn,Ji)),{type:\"flowSequence\"})}Ke.createFlowSequence=Dn}}),We=p({\"node_modules/yaml-unist-parser/lib/factories/flow-sequence-item.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=Fu();function Dn($n,zn){return U.__assign(U.__assign({},Pe.createNode(\"flowSequenceItem\",$n)),{children:[zn]})}Ke.createFlowSequenceItem=Dn}}),it=p({\"node_modules/yaml-unist-parser/lib/transforms/flow-seq.js\"(Ke){k(),Ke.__esModule=!0;var U=Us(),Pe=et(),Dn=We(),$n=li(),zn=Li(),Ji=Uo(),or=ei(),Ls=_t(),qi=ot();function br(Yr,Cs){var rs=zn.extractComments(Yr.cstNode.items,Cs),Ps=Ls.groupCstFlowCollectionItems(rs),Os=Yr.items.map(function(sn,Ze){if(sn.type!==\"PAIR\"){var be=Cs.transformNode(sn);return Dn.createFlowSequenceItem($n.createPosition(be.position.start,be.position.end),be)}else{var ze=Ps[Ze],jt=Ji.getFlowMapItemAdditionalRanges(ze),Ln=jt.additionalKeyRange,Xn=jt.additionalValueRange;return qi.transformAstPair(sn,Cs,U.createFlowMappingItem,Ln,Xn)}}),zs=rs[0],sa=or.getLast(rs);return Pe.createFlowSequence(Cs.transformRange({origStart:zs.origOffset,origEnd:sa.origOffset+1}),Cs.transformContent(Yr),Os)}Ke.transformFlowSeq=br}}),vt=p({\"node_modules/yaml-unist-parser/lib/factories/mapping.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=zd(),Dn=Fu();function $n(zn,Ji,or){return U.__assign(U.__assign(U.__assign(U.__assign({},Dn.createNode(\"mapping\",zn)),Pe.createLeadingCommentAttachable()),Ji),{children:or})}Ke.createMapping=$n}}),At=p({\"node_modules/yaml-unist-parser/lib/factories/mapping-item.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=zd(),Dn=Fu();function $n(zn,Ji,or){return U.__assign(U.__assign(U.__assign({},Dn.createNode(\"mappingItem\",zn)),Pe.createLeadingCommentAttachable()),{children:[Ji,or]})}Ke.createMappingItem=$n}}),en=p({\"node_modules/yaml-unist-parser/lib/transforms/map.js\"(Ke){k(),Ke.__esModule=!0;var U=vt(),Pe=At(),Dn=li(),$n=Wi(),zn=Li(),Ji=Qs(),or=ei(),Ls=ot();function qi(Yr,Cs){var rs=Yr.cstNode;rs.items.filter(function(sa){return sa.type===\"MAP_KEY\"||sa.type===\"MAP_VALUE\"}).forEach(function(sa){return Ji.extractPropComments(sa,Cs)});var Ps=zn.extractComments(rs.items,Cs),Os=br(Ps),zs=Yr.items.map(function(sa,sn){var Ze=Os[sn],be=Ze[0].type===\"MAP_VALUE\"?[null,Ze[0].range]:[Ze[0].range,Ze.length===1?null:Ze[1].range],ze=be[0],jt=be[1];return Ls.transformAstPair(sa,Cs,Pe.createMappingItem,ze,jt)});return U.createMapping(Dn.createPosition(zs[0].position.start,or.getLast(zs).position.end),Cs.transformContent(Yr),zs)}Ke.transformMap=qi;function br(Yr){for(var Cs=[],rs=$n.createSlicer(Yr,0),Ps=!1,Os=0;Os<Yr.length;Os++){var zs=Yr[Os];if(zs.type===\"MAP_VALUE\"){Cs.push(rs(Os+1)),Ps=!1;continue}Ps&&Cs.push(rs(Os)),Ps=!0}return Ps&&Cs.push(rs(1/0)),Cs}}}),gt=p({\"node_modules/yaml-unist-parser/lib/factories/plain.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=sh(),Dn=Fu();function $n(zn,Ji,or){return U.__assign(U.__assign(U.__assign(U.__assign({},Dn.createNode(\"plain\",zn)),Pe.createCommentAttachable()),Ji),{value:or})}Ke.createPlain=$n}}),_i=p({\"node_modules/yaml-unist-parser/lib/utils/find-last-char-index.js\"(Ke){k(),Ke.__esModule=!0;function U(Pe,Dn,$n){for(var zn=Dn;zn>=0;zn--)if($n.test(Pe[zn]))return zn;return-1}Ke.findLastCharIndex=U}}),Rn=p({\"node_modules/yaml-unist-parser/lib/transforms/plain.js\"(Ke){k(),Ke.__esModule=!0;var U=gt(),Pe=_i();function Dn($n,zn){var Ji=$n.cstNode;return U.createPlain(zn.transformRange({origStart:Ji.valueRange.origStart,origEnd:Pe.findLastCharIndex(zn.text,Ji.valueRange.origEnd-1,/\\S/)+1}),zn.transformContent($n),Ji.strValue)}Ke.transformPlain=Dn}}),Ni=p({\"node_modules/yaml-unist-parser/lib/factories/quote-double.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re));function Pe(Dn){return U.__assign(U.__assign({},Dn),{type:\"quoteDouble\"})}Ke.createQuoteDouble=Pe}}),Lr=p({\"node_modules/yaml-unist-parser/lib/factories/quote-value.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=sh(),Dn=Fu();function $n(zn,Ji,or){return U.__assign(U.__assign(U.__assign(U.__assign({},Dn.createNode(\"quoteValue\",zn)),Ji),Pe.createCommentAttachable()),{value:or})}Ke.createQuoteValue=$n}}),Or=p({\"node_modules/yaml-unist-parser/lib/transforms/quote-value.js\"(Ke){k(),Ke.__esModule=!0;var U=Lr();function Pe(Dn,$n){var zn=Dn.cstNode;return U.createQuoteValue($n.transformRange(zn.valueRange),$n.transformContent(Dn),zn.strValue)}Ke.transformAstQuoteValue=Pe}}),Pn=p({\"node_modules/yaml-unist-parser/lib/transforms/quote-double.js\"(Ke){k(),Ke.__esModule=!0;var U=Ni(),Pe=Or();function Dn($n,zn){return U.createQuoteDouble(Pe.transformAstQuoteValue($n,zn))}Ke.transformQuoteDouble=Dn}}),os=p({\"node_modules/yaml-unist-parser/lib/factories/quote-single.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re));function Pe(Dn){return U.__assign(U.__assign({},Dn),{type:\"quoteSingle\"})}Ke.createQuoteSingle=Pe}}),Ct=p({\"node_modules/yaml-unist-parser/lib/transforms/quote-single.js\"(Ke){k(),Ke.__esModule=!0;var U=os(),Pe=Or();function Dn($n,zn){return U.createQuoteSingle(Pe.transformAstQuoteValue($n,zn))}Ke.transformQuoteSingle=Dn}}),bo=p({\"node_modules/yaml-unist-parser/lib/factories/sequence.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=gn(),Dn=zd(),$n=Fu();function zn(Ji,or,Ls){return U.__assign(U.__assign(U.__assign(U.__assign(U.__assign({},$n.createNode(\"sequence\",Ji)),Dn.createLeadingCommentAttachable()),Pe.createEndCommentAttachable()),or),{children:Ls})}Ke.createSequence=zn}}),Vo=p({\"node_modules/yaml-unist-parser/lib/factories/sequence-item.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re)),Pe=sh(),Dn=gn(),$n=Fu();function zn(Ji,or){return U.__assign(U.__assign(U.__assign(U.__assign({},$n.createNode(\"sequenceItem\",Ji)),Pe.createCommentAttachable()),Dn.createEndCommentAttachable()),{children:or?[or]:[]})}Ke.createSequenceItem=zn}}),ja=p({\"node_modules/yaml-unist-parser/lib/transforms/seq.js\"(Ke){k(),Ke.__esModule=!0;var U=li(),Pe=bo(),Dn=Vo(),$n=Li(),zn=Qs(),Ji=ei();function or(Ls,qi){var br=$n.extractComments(Ls.cstNode.items,qi),Yr=br.map(function(Cs,rs){zn.extractPropComments(Cs,qi);var Ps=qi.transformNode(Ls.items[rs]);return Dn.createSequenceItem(U.createPosition(qi.transformOffset(Cs.valueRange.origStart),Ps===null?qi.transformOffset(Cs.valueRange.origStart+1):Ps.position.end),Ps)});return Pe.createSequence(U.createPosition(Yr[0].position.start,Ji.getLast(Yr).position.end),qi.transformContent(Ls),Yr)}Ke.transformSeq=or}}),Ha=p({\"node_modules/yaml-unist-parser/lib/transform.js\"(Ke){k(),Ke.__esModule=!0;var U=sr(),Pe=za(),Dn=Ul(),$n=bl(),zn=Dr(),Ji=ni(),or=Rt(),Ls=it(),qi=en(),br=Rn(),Yr=Pn(),Cs=Ct(),rs=ja();function Ps(Os,zs){if(Os===null||Os.type===void 0&&Os.value===null)return null;switch(Os.type){case\"ALIAS\":return U.transformAlias(Os,zs);case\"BLOCK_FOLDED\":return Pe.transformBlockFolded(Os,zs);case\"BLOCK_LITERAL\":return Dn.transformBlockLiteral(Os,zs);case\"COMMENT\":return $n.transformComment(Os,zs);case\"DIRECTIVE\":return zn.transformDirective(Os,zs);case\"DOCUMENT\":return Ji.transformDocument(Os,zs);case\"FLOW_MAP\":return or.transformFlowMap(Os,zs);case\"FLOW_SEQ\":return Ls.transformFlowSeq(Os,zs);case\"MAP\":return qi.transformMap(Os,zs);case\"PLAIN\":return br.transformPlain(Os,zs);case\"QUOTE_DOUBLE\":return Yr.transformQuoteDouble(Os,zs);case\"QUOTE_SINGLE\":return Cs.transformQuoteSingle(Os,zs);case\"SEQ\":return rs.transformSeq(Os,zs);default:throw new Error(\"Unexpected node type \"+Os.type)}}Ke.transformNode=Ps}}),jl=p({\"node_modules/yaml-unist-parser/lib/factories/error.js\"(Ke){k(),Ke.__esModule=!0;function U(Pe,Dn,$n){var zn=new SyntaxError(Pe);return zn.name=\"YAMLSyntaxError\",zn.source=Dn,zn.position=$n,zn}Ke.createError=U}}),Un=p({\"node_modules/yaml-unist-parser/lib/transforms/error.js\"(Ke){k(),Ke.__esModule=!0;var U=jl();function Pe(Dn,$n){var zn=Dn.source.range||Dn.source.valueRange;return U.createError(Dn.message,$n.text,$n.transformRange(zn))}Ke.transformError=Pe}}),mu=p({\"node_modules/yaml-unist-parser/lib/factories/point.js\"(Ke){k(),Ke.__esModule=!0;function U(Pe,Dn,$n){return{offset:Pe,line:Dn,column:$n}}Ke.createPoint=U}}),uc=p({\"node_modules/yaml-unist-parser/lib/transforms/offset.js\"(Ke){k(),Ke.__esModule=!0;var U=mu();function Pe(Dn,$n){Dn<0?Dn=0:Dn>$n.text.length&&(Dn=$n.text.length);var zn=$n.locator.locationForIndex(Dn);return U.createPoint(Dn,zn.line+1,zn.column+1)}Ke.transformOffset=Pe}}),Zc=p({\"node_modules/yaml-unist-parser/lib/transforms/range.js\"(Ke){k(),Ke.__esModule=!0;var U=li();function Pe(Dn,$n){return U.createPosition($n.transformOffset(Dn.origStart),$n.transformOffset(Dn.origEnd))}Ke.transformRange=Pe}}),Ku=p({\"node_modules/yaml-unist-parser/lib/utils/add-orig-range.js\"(Ke){k(),Ke.__esModule=!0;var U=!0;function Pe(Ji){if(!Ji.setOrigRanges()){var or=function(Ls){if($n(Ls))return Ls.origStart=Ls.start,Ls.origEnd=Ls.end,U;if(zn(Ls))return Ls.origOffset=Ls.offset,U};Ji.forEach(function(Ls){return Dn(Ls,or)})}}Ke.addOrigRange=Pe;function Dn(Ji,or){if(!(!Ji||typeof Ji!=\"object\")&&or(Ji)!==U)for(var Ls=0,qi=Object.keys(Ji);Ls<qi.length;Ls++){var br=qi[Ls];if(!(br===\"context\"||br===\"error\")){var Yr=Ji[br];Array.isArray(Yr)?Yr.forEach(function(Cs){return Dn(Cs,or)}):Dn(Yr,or)}}}function $n(Ji){return typeof Ji.start==\"number\"}function zn(Ji){return typeof Ji.offset==\"number\"}}}),Pd=p({\"node_modules/yaml-unist-parser/lib/utils/remove-fake-nodes.js\"(Ke){k(),Ke.__esModule=!0;function U(Pe){if(\"children\"in Pe){if(Pe.children.length===1){var Dn=Pe.children[0];if(Dn.type===\"plain\"&&Dn.tag===null&&Dn.anchor===null&&Dn.value===\"\")return Pe.children.splice(0,1),Pe}Pe.children.forEach(U)}return Pe}Ke.removeFakeNodes=U}}),qu=p({\"node_modules/yaml-unist-parser/lib/utils/create-updater.js\"(Ke){k(),Ke.__esModule=!0;function U(Pe,Dn,$n,zn){var Ji=Dn(Pe);return function(or){zn(Ji,or)&&$n(Pe,Ji=or)}}Ke.createUpdater=U}}),Yu=p({\"node_modules/yaml-unist-parser/lib/utils/update-positions.js\"(Ke){k(),Ke.__esModule=!0;var U=qu(),Pe=ei();function Dn(br){if(!(br===null||!(\"children\"in br))){var Yr=br.children;if(Yr.forEach(Dn),br.type===\"document\"){var Cs=br.children,rs=Cs[0],Ps=Cs[1];rs.position.start.offset===rs.position.end.offset?rs.position.start=rs.position.end=Ps.position.start:Ps.position.start.offset===Ps.position.end.offset&&(Ps.position.start=Ps.position.end=rs.position.end)}var Os=U.createUpdater(br.position,$n,zn,Ls),zs=U.createUpdater(br.position,Ji,or,qi);\"endComments\"in br&&br.endComments.length!==0&&(Os(br.endComments[0].position.start),zs(Pe.getLast(br.endComments).position.end));var sa=Yr.filter(function(be){return be!==null});if(sa.length!==0){var sn=sa[0],Ze=Pe.getLast(sa);Os(sn.position.start),zs(Ze.position.end),\"leadingComments\"in sn&&sn.leadingComments.length!==0&&Os(sn.leadingComments[0].position.start),\"tag\"in sn&&sn.tag&&Os(sn.tag.position.start),\"anchor\"in sn&&sn.anchor&&Os(sn.anchor.position.start),\"trailingComment\"in Ze&&Ze.trailingComment&&zs(Ze.trailingComment.position.end)}}}Ke.updatePositions=Dn;function $n(br){return br.start}function zn(br,Yr){br.start=Yr}function Ji(br){return br.end}function or(br,Yr){br.end=Yr}function Ls(br,Yr){return Yr.offset<br.offset}function qi(br,Yr){return Yr.offset>br.offset}}}),xc=p({\"node_modules/yaml/dist/PlainValue-ec8e588e.js\"(Ke){k();var U={ANCHOR:\"&\",COMMENT:\"#\",TAG:\"!\",DIRECTIVES_END:\"-\",DOCUMENT_END:\".\"},Pe={ALIAS:\"ALIAS\",BLANK_LINE:\"BLANK_LINE\",BLOCK_FOLDED:\"BLOCK_FOLDED\",BLOCK_LITERAL:\"BLOCK_LITERAL\",COMMENT:\"COMMENT\",DIRECTIVE:\"DIRECTIVE\",DOCUMENT:\"DOCUMENT\",FLOW_MAP:\"FLOW_MAP\",FLOW_SEQ:\"FLOW_SEQ\",MAP:\"MAP\",MAP_KEY:\"MAP_KEY\",MAP_VALUE:\"MAP_VALUE\",PLAIN:\"PLAIN\",QUOTE_DOUBLE:\"QUOTE_DOUBLE\",QUOTE_SINGLE:\"QUOTE_SINGLE\",SEQ:\"SEQ\",SEQ_ITEM:\"SEQ_ITEM\"},Dn=\"tag:yaml.org,2002:\",$n={MAP:\"tag:yaml.org,2002:map\",SEQ:\"tag:yaml.org,2002:seq\",STR:\"tag:yaml.org,2002:str\"};function zn(Ze){let be=[0],ze=Ze.indexOf(`\n`);for(;ze!==-1;)ze+=1,be.push(ze),ze=Ze.indexOf(`\n`,ze);return be}function Ji(Ze){let be,ze;return typeof Ze==\"string\"?(be=zn(Ze),ze=Ze):(Array.isArray(Ze)&&(Ze=Ze[0]),Ze&&Ze.context&&(Ze.lineStarts||(Ze.lineStarts=zn(Ze.context.src)),be=Ze.lineStarts,ze=Ze.context.src)),{lineStarts:be,src:ze}}function or(Ze,be){if(typeof Ze!=\"number\"||Ze<0)return null;let{lineStarts:ze,src:jt}=Ji(be);if(!ze||!jt||Ze>jt.length)return null;for(let Xn=0;Xn<ze.length;++Xn){let bn=ze[Xn];if(Ze<bn)return{line:Xn,col:Ze-ze[Xn-1]+1};if(Ze===bn)return{line:Xn+1,col:1}}let Ln=ze.length;return{line:Ln,col:Ze-ze[Ln-1]+1}}function Ls(Ze,be){let{lineStarts:ze,src:jt}=Ji(be);if(!ze||!(Ze>=1)||Ze>ze.length)return null;let Ln=ze[Ze-1],Xn=ze[Ze];for(;Xn&&Xn>Ln&&jt[Xn-1]===`\n`;)--Xn;return jt.slice(Ln,Xn)}function qi(Ze,be){let{start:ze,end:jt}=Ze,Ln=arguments.length>2&&arguments[2]!==void 0?arguments[2]:80,Xn=Ls(ze.line,be);if(!Xn)return null;let{col:bn}=ze;if(Xn.length>Ln)if(bn<=Ln-10)Xn=Xn.substr(0,Ln-1)+\"\\u2026\";else{let _a=Math.round(Ln/2);Xn.length>bn+_a&&(Xn=Xn.substr(0,bn+_a-1)+\"\\u2026\"),bn-=Xn.length-Ln,Xn=\"\\u2026\"+Xn.substr(1-Ln)}let ii=1,Ir=\"\";jt&&(jt.line===ze.line&&bn+(jt.col-ze.col)<=Ln+1?ii=jt.col-ze.col:(ii=Math.min(Xn.length+1,Ln)-bn,Ir=\"\\u2026\"));let gs=bn>1?\" \".repeat(bn-1):\"\",Ys=\"^\".repeat(ii);return`${Xn}\n${gs}${Ys}${Ir}`}var br=class{static copy(Ze){return new br(Ze.start,Ze.end)}constructor(Ze,be){this.start=Ze,this.end=be||Ze}isEmpty(){return typeof this.start!=\"number\"||!this.end||this.end<=this.start}setOrigRange(Ze,be){let{start:ze,end:jt}=this;if(Ze.length===0||jt<=Ze[0])return this.origStart=ze,this.origEnd=jt,be;let Ln=be;for(;Ln<Ze.length&&!(Ze[Ln]>ze);)++Ln;this.origStart=ze+Ln;let Xn=Ln;for(;Ln<Ze.length&&!(Ze[Ln]>=jt);)++Ln;return this.origEnd=jt+Ln,Xn}},Yr=class{static addStringTerminator(Ze,be,ze){if(ze[ze.length-1]===`\n`)return ze;let jt=Yr.endOfWhiteSpace(Ze,be);return jt>=Ze.length||Ze[jt]===`\n`?ze+`\n`:ze}static atDocumentBoundary(Ze,be,ze){let jt=Ze[be];if(!jt)return!0;let Ln=Ze[be-1];if(Ln&&Ln!==`\n`)return!1;if(ze){if(jt!==ze)return!1}else if(jt!==U.DIRECTIVES_END&&jt!==U.DOCUMENT_END)return!1;let Xn=Ze[be+1],bn=Ze[be+2];if(Xn!==jt||bn!==jt)return!1;let ii=Ze[be+3];return!ii||ii===`\n`||ii===\"\t\"||ii===\" \"}static endOfIdentifier(Ze,be){let ze=Ze[be],jt=ze===\"<\",Ln=jt?[`\n`,\"\t\",\" \",\">\"]:[`\n`,\"\t\",\" \",\"[\",\"]\",\"{\",\"}\",\",\"];for(;ze&&Ln.indexOf(ze)===-1;)ze=Ze[be+=1];return jt&&ze===\">\"&&(be+=1),be}static endOfIndent(Ze,be){let ze=Ze[be];for(;ze===\" \";)ze=Ze[be+=1];return be}static endOfLine(Ze,be){let ze=Ze[be];for(;ze&&ze!==`\n`;)ze=Ze[be+=1];return be}static endOfWhiteSpace(Ze,be){let ze=Ze[be];for(;ze===\"\t\"||ze===\" \";)ze=Ze[be+=1];return be}static startOfLine(Ze,be){let ze=Ze[be-1];if(ze===`\n`)return be;for(;ze&&ze!==`\n`;)ze=Ze[be-=1];return be+1}static endOfBlockIndent(Ze,be,ze){let jt=Yr.endOfIndent(Ze,ze);if(jt>ze+be)return jt;{let Ln=Yr.endOfWhiteSpace(Ze,jt),Xn=Ze[Ln];if(!Xn||Xn===`\n`)return Ln}return null}static atBlank(Ze,be,ze){let jt=Ze[be];return jt===`\n`||jt===\"\t\"||jt===\" \"||ze&&!jt}static nextNodeIsIndented(Ze,be,ze){return!Ze||be<0?!1:be>0?!0:ze&&Ze===\"-\"}static normalizeOffset(Ze,be){let ze=Ze[be];return ze?ze!==`\n`&&Ze[be-1]===`\n`?be-1:Yr.endOfWhiteSpace(Ze,be):be}static foldNewline(Ze,be,ze){let jt=0,Ln=!1,Xn=\"\",bn=Ze[be+1];for(;bn===\" \"||bn===\"\t\"||bn===`\n`;){switch(bn){case`\n`:jt=0,be+=1,Xn+=`\n`;break;case\"\t\":jt<=ze&&(Ln=!0),be=Yr.endOfWhiteSpace(Ze,be+2)-1;break;case\" \":jt+=1,be+=1;break}bn=Ze[be+1]}return Xn||(Xn=\" \"),bn&&jt<=ze&&(Ln=!0),{fold:Xn,offset:be,error:Ln}}constructor(Ze,be,ze){Object.defineProperty(this,\"context\",{value:ze||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=be||[],this.type=Ze,this.value=null}getPropValue(Ze,be,ze){if(!this.context)return null;let{src:jt}=this.context,Ln=this.props[Ze];return Ln&&jt[Ln.start]===be?jt.slice(Ln.start+(ze?1:0),Ln.end):null}get anchor(){for(let Ze=0;Ze<this.props.length;++Ze){let be=this.getPropValue(Ze,U.ANCHOR,!0);if(be!=null)return be}return null}get comment(){let Ze=[];for(let be=0;be<this.props.length;++be){let ze=this.getPropValue(be,U.COMMENT,!0);ze!=null&&Ze.push(ze)}return Ze.length>0?Ze.join(`\n`):null}commentHasRequiredWhitespace(Ze){let{src:be}=this.context;if(this.header&&Ze===this.header.end||!this.valueRange)return!1;let{end:ze}=this.valueRange;return Ze!==ze||Yr.atBlank(be,ze-1)}get hasComment(){if(this.context){let{src:Ze}=this.context;for(let be=0;be<this.props.length;++be)if(Ze[this.props[be].start]===U.COMMENT)return!0}return!1}get hasProps(){if(this.context){let{src:Ze}=this.context;for(let be=0;be<this.props.length;++be)if(Ze[this.props[be].start]!==U.COMMENT)return!0}return!1}get includesTrailingLines(){return!1}get jsonLike(){return[Pe.FLOW_MAP,Pe.FLOW_SEQ,Pe.QUOTE_DOUBLE,Pe.QUOTE_SINGLE].indexOf(this.type)!==-1}get rangeAsLinePos(){if(!this.range||!this.context)return;let Ze=or(this.range.start,this.context.root);if(!Ze)return;let be=or(this.range.end,this.context.root);return{start:Ze,end:be}}get rawValue(){if(!this.valueRange||!this.context)return null;let{start:Ze,end:be}=this.valueRange;return this.context.src.slice(Ze,be)}get tag(){for(let Ze=0;Ze<this.props.length;++Ze){let be=this.getPropValue(Ze,U.TAG,!1);if(be!=null){if(be[1]===\"<\")return{verbatim:be.slice(2,-1)};{let[ze,jt,Ln]=be.match(/^(.*!)([^!]*)$/);return{handle:jt,suffix:Ln}}}}return null}get valueRangeContainsNewline(){if(!this.valueRange||!this.context)return!1;let{start:Ze,end:be}=this.valueRange,{src:ze}=this.context;for(let jt=Ze;jt<be;++jt)if(ze[jt]===`\n`)return!0;return!1}parseComment(Ze){let{src:be}=this.context;if(be[Ze]===U.COMMENT){let ze=Yr.endOfLine(be,Ze+1),jt=new br(Ze,ze);return this.props.push(jt),ze}return Ze}setOrigRanges(Ze,be){return this.range&&(be=this.range.setOrigRange(Ze,be)),this.valueRange&&this.valueRange.setOrigRange(Ze,be),this.props.forEach(ze=>ze.setOrigRange(Ze,be)),be}toString(){let{context:{src:Ze},range:be,value:ze}=this;if(ze!=null)return ze;let jt=Ze.slice(be.start,be.end);return Yr.addStringTerminator(Ze,be.end,jt)}},Cs=class extends Error{constructor(Ze,be,ze){if(!ze||!(be instanceof Yr))throw new Error(`Invalid arguments for new ${Ze}`);super(),this.name=Ze,this.message=ze,this.source=be}makePretty(){if(!this.source)return;this.nodeType=this.source.type;let Ze=this.source.context&&this.source.context.root;if(typeof this.offset==\"number\"){this.range=new br(this.offset,this.offset+1);let be=Ze&&or(this.offset,Ze);if(be){let ze={line:be.line,col:be.col+1};this.linePos={start:be,end:ze}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){let{line:be,col:ze}=this.linePos.start;this.message+=` at line ${be}, column ${ze}`;let jt=Ze&&qi(this.linePos,Ze);jt&&(this.message+=`:\n\n${jt}\n`)}delete this.source}},rs=class extends Cs{constructor(Ze,be){super(\"YAMLReferenceError\",Ze,be)}},Ps=class extends Cs{constructor(Ze,be){super(\"YAMLSemanticError\",Ze,be)}},Os=class extends Cs{constructor(Ze,be){super(\"YAMLSyntaxError\",Ze,be)}},zs=class extends Cs{constructor(Ze,be){super(\"YAMLWarning\",Ze,be)}};function sa(Ze,be,ze){return be in Ze?Object.defineProperty(Ze,be,{value:ze,enumerable:!0,configurable:!0,writable:!0}):Ze[be]=ze,Ze}var sn=class extends Yr{static endOfLine(Ze,be,ze){let jt=Ze[be],Ln=be;for(;jt&&jt!==`\n`&&!(ze&&(jt===\"[\"||jt===\"]\"||jt===\"{\"||jt===\"}\"||jt===\",\"));){let Xn=Ze[Ln+1];if(jt===\":\"&&(!Xn||Xn===`\n`||Xn===\"\t\"||Xn===\" \"||ze&&Xn===\",\")||(jt===\" \"||jt===\"\t\")&&Xn===\"#\")break;Ln+=1,jt=Xn}return Ln}get strValue(){if(!this.valueRange||!this.context)return null;let{start:Ze,end:be}=this.valueRange,{src:ze}=this.context,jt=ze[be-1];for(;Ze<be&&(jt===`\n`||jt===\"\t\"||jt===\" \");)jt=ze[--be-1];let Ln=\"\";for(let bn=Ze;bn<be;++bn){let ii=ze[bn];if(ii===`\n`){let{fold:Ir,offset:gs}=Yr.foldNewline(ze,bn,-1);Ln+=Ir,bn=gs}else if(ii===\" \"||ii===\"\t\"){let Ir=bn,gs=ze[bn+1];for(;bn<be&&(gs===\" \"||gs===\"\t\");)bn+=1,gs=ze[bn+1];gs!==`\n`&&(Ln+=bn>Ir?ze.slice(Ir,bn+1):ii)}else Ln+=ii}let Xn=ze[Ze];switch(Xn){case\"\t\":{let bn=\"Plain value cannot start with a tab character\";return{errors:[new Ps(this,bn)],str:Ln}}case\"@\":case\"`\":{let bn=`Plain value cannot start with reserved character ${Xn}`;return{errors:[new Ps(this,bn)],str:Ln}}default:return Ln}}parseBlockValue(Ze){let{indent:be,inFlow:ze,src:jt}=this.context,Ln=Ze,Xn=Ze;for(let bn=jt[Ln];bn===`\n`&&!Yr.atDocumentBoundary(jt,Ln+1);bn=jt[Ln]){let ii=Yr.endOfBlockIndent(jt,be,Ln+1);if(ii===null||jt[ii]===\"#\")break;jt[ii]===`\n`?Ln=ii:(Xn=sn.endOfLine(jt,ii,ze),Ln=Xn)}return this.valueRange.isEmpty()&&(this.valueRange.start=Ze),this.valueRange.end=Xn,Xn}parse(Ze,be){this.context=Ze;let{inFlow:ze,src:jt}=Ze,Ln=be,Xn=jt[Ln];return Xn&&Xn!==\"#\"&&Xn!==`\n`&&(Ln=sn.endOfLine(jt,be,ze)),this.valueRange=new br(be,Ln),Ln=Yr.endOfWhiteSpace(jt,Ln),Ln=this.parseComment(Ln),(!this.hasComment||this.valueRange.isEmpty())&&(Ln=this.parseBlockValue(Ln)),Ln}};Ke.Char=U,Ke.Node=Yr,Ke.PlainValue=sn,Ke.Range=br,Ke.Type=Pe,Ke.YAMLError=Cs,Ke.YAMLReferenceError=rs,Ke.YAMLSemanticError=Ps,Ke.YAMLSyntaxError=Os,Ke.YAMLWarning=zs,Ke._defineProperty=sa,Ke.defaultTagPrefix=Dn,Ke.defaultTags=$n}}),Vc=p({\"node_modules/yaml/dist/parse-cst.js\"(Ke){k();var U=xc(),Pe=class extends U.Node{constructor(){super(U.Type.BLANK_LINE)}get includesTrailingLines(){return!0}parse(sn,Ze){return this.context=sn,this.range=new U.Range(Ze,Ze+1),Ze+1}},Dn=class extends U.Node{constructor(sn,Ze){super(sn,Ze),this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(sn,Ze){this.context=sn;let{parseNode:be,src:ze}=sn,{atLineStart:jt,lineStart:Ln}=sn;!jt&&this.type===U.Type.SEQ_ITEM&&(this.error=new U.YAMLSemanticError(this,\"Sequence items must not have preceding content on the same line\"));let Xn=jt?Ze-Ln:sn.indent,bn=U.Node.endOfWhiteSpace(ze,Ze+1),ii=ze[bn],Ir=ii===\"#\",gs=[],Ys=null;for(;ii===`\n`||ii===\"#\";){if(ii===\"#\"){let Eo=U.Node.endOfLine(ze,bn+1);gs.push(new U.Range(bn,Eo)),bn=Eo}else{jt=!0,Ln=bn+1;let Eo=U.Node.endOfWhiteSpace(ze,Ln);ze[Eo]===`\n`&&gs.length===0&&(Ys=new Pe,Ln=Ys.parse({src:ze},Ln)),bn=U.Node.endOfIndent(ze,Ln)}ii=ze[bn]}if(U.Node.nextNodeIsIndented(ii,bn-(Ln+Xn),this.type!==U.Type.SEQ_ITEM)?this.node=be({atLineStart:jt,inCollection:!1,indent:Xn,lineStart:Ln,parent:this},bn):ii&&Ln>Ze+1&&(bn=Ln-1),this.node){if(Ys){let Eo=sn.parent.items||sn.parent.contents;Eo&&Eo.push(Ys)}gs.length&&Array.prototype.push.apply(this.props,gs),bn=this.node.range.end}else if(Ir){let Eo=gs[0];this.props.push(Eo),bn=Eo.end}else bn=U.Node.endOfLine(ze,Ze+1);let _a=this.node?this.node.valueRange.end:bn;return this.valueRange=new U.Range(Ze,_a),bn}setOrigRanges(sn,Ze){return Ze=super.setOrigRanges(sn,Ze),this.node?this.node.setOrigRanges(sn,Ze):Ze}toString(){let{context:{src:sn},node:Ze,range:be,value:ze}=this;if(ze!=null)return ze;let jt=Ze?sn.slice(be.start,Ze.range.start)+String(Ze):sn.slice(be.start,be.end);return U.Node.addStringTerminator(sn,be.end,jt)}},$n=class extends U.Node{constructor(){super(U.Type.COMMENT)}parse(sn,Ze){this.context=sn;let be=this.parseComment(Ze);return this.range=new U.Range(Ze,be),be}};function zn(sn){let Ze=sn;for(;Ze instanceof Dn;)Ze=Ze.node;if(!(Ze instanceof Ji))return null;let be=Ze.items.length,ze=-1;for(let Xn=be-1;Xn>=0;--Xn){let bn=Ze.items[Xn];if(bn.type===U.Type.COMMENT){let{indent:ii,lineStart:Ir}=bn.context;if(ii>0&&bn.range.start>=Ir+ii)break;ze=Xn}else if(bn.type===U.Type.BLANK_LINE)ze=Xn;else break}if(ze===-1)return null;let jt=Ze.items.splice(ze,be-ze),Ln=jt[0].range.start;for(;Ze.range.end=Ln,Ze.valueRange&&Ze.valueRange.end>Ln&&(Ze.valueRange.end=Ln),Ze!==sn;)Ze=Ze.context.parent;return jt}var Ji=class extends U.Node{static nextContentHasIndent(sn,Ze,be){let ze=U.Node.endOfLine(sn,Ze)+1;Ze=U.Node.endOfWhiteSpace(sn,ze);let jt=sn[Ze];return jt?Ze>=ze+be?!0:jt!==\"#\"&&jt!==`\n`?!1:Ji.nextContentHasIndent(sn,Ze,be):!1}constructor(sn){super(sn.type===U.Type.SEQ_ITEM?U.Type.SEQ:U.Type.MAP);for(let be=sn.props.length-1;be>=0;--be)if(sn.props[be].start<sn.context.lineStart){this.props=sn.props.slice(0,be+1),sn.props=sn.props.slice(be+1);let ze=sn.props[0]||sn.valueRange;sn.range.start=ze.start;break}this.items=[sn];let Ze=zn(sn);Ze&&Array.prototype.push.apply(this.items,Ze)}get includesTrailingLines(){return this.items.length>0}parse(sn,Ze){this.context=sn;let{parseNode:be,src:ze}=sn,jt=U.Node.startOfLine(ze,Ze),Ln=this.items[0];Ln.context.parent=this,this.valueRange=U.Range.copy(Ln.valueRange);let Xn=Ln.range.start-Ln.context.lineStart,bn=Ze;bn=U.Node.normalizeOffset(ze,bn);let ii=ze[bn],Ir=U.Node.endOfWhiteSpace(ze,jt)===bn,gs=!1;for(;ii;){for(;ii===`\n`||ii===\"#\";){if(Ir&&ii===`\n`&&!gs){let Eo=new Pe;if(bn=Eo.parse({src:ze},bn),this.valueRange.end=bn,bn>=ze.length){ii=null;break}this.items.push(Eo),bn-=1}else if(ii===\"#\"){if(bn<jt+Xn&&!Ji.nextContentHasIndent(ze,bn,Xn))return bn;let Eo=new $n;if(bn=Eo.parse({indent:Xn,lineStart:jt,src:ze},bn),this.items.push(Eo),this.valueRange.end=bn,bn>=ze.length){ii=null;break}}if(jt=bn+1,bn=U.Node.endOfIndent(ze,jt),U.Node.atBlank(ze,bn)){let Eo=U.Node.endOfWhiteSpace(ze,bn),pl=ze[Eo];(!pl||pl===`\n`||pl===\"#\")&&(bn=Eo)}ii=ze[bn],Ir=!0}if(!ii)break;if(bn!==jt+Xn&&(Ir||ii!==\":\")){if(bn<jt+Xn){jt>Ze&&(bn=jt);break}else if(!this.error){let Eo=\"All collection items must start at the same column\";this.error=new U.YAMLSyntaxError(this,Eo)}}if(Ln.type===U.Type.SEQ_ITEM){if(ii!==\"-\"){jt>Ze&&(bn=jt);break}}else if(ii===\"-\"&&!this.error){let Eo=ze[bn+1];if(!Eo||Eo===`\n`||Eo===\"\t\"||Eo===\" \"){let pl=\"A collection cannot be both a mapping and a sequence\";this.error=new U.YAMLSyntaxError(this,pl)}}let Ys=be({atLineStart:Ir,inCollection:!0,indent:Xn,lineStart:jt,parent:this},bn);if(!Ys)return bn;if(this.items.push(Ys),this.valueRange.end=Ys.valueRange.end,bn=U.Node.normalizeOffset(ze,Ys.range.end),ii=ze[bn],Ir=!1,gs=Ys.includesTrailingLines,ii){let Eo=bn-1,pl=ze[Eo];for(;pl===\" \"||pl===\"\t\";)pl=ze[--Eo];pl===`\n`&&(jt=Eo+1,Ir=!0)}let _a=zn(Ys);_a&&Array.prototype.push.apply(this.items,_a)}return bn}setOrigRanges(sn,Ze){return Ze=super.setOrigRanges(sn,Ze),this.items.forEach(be=>{Ze=be.setOrigRanges(sn,Ze)}),Ze}toString(){let{context:{src:sn},items:Ze,range:be,value:ze}=this;if(ze!=null)return ze;let jt=sn.slice(be.start,Ze[0].range.start)+String(Ze[0]);for(let Ln=1;Ln<Ze.length;++Ln){let Xn=Ze[Ln],{atLineStart:bn,indent:ii}=Xn.context;if(bn)for(let Ir=0;Ir<ii;++Ir)jt+=\" \";jt+=String(Xn)}return U.Node.addStringTerminator(sn,be.end,jt)}},or=class extends U.Node{constructor(){super(U.Type.DIRECTIVE),this.name=null}get parameters(){let sn=this.rawValue;return sn?sn.trim().split(/[ \\t]+/):[]}parseName(sn){let{src:Ze}=this.context,be=sn,ze=Ze[be];for(;ze&&ze!==`\n`&&ze!==\"\t\"&&ze!==\" \";)ze=Ze[be+=1];return this.name=Ze.slice(sn,be),be}parseParameters(sn){let{src:Ze}=this.context,be=sn,ze=Ze[be];for(;ze&&ze!==`\n`&&ze!==\"#\";)ze=Ze[be+=1];return this.valueRange=new U.Range(sn,be),be}parse(sn,Ze){this.context=sn;let be=this.parseName(Ze+1);return be=this.parseParameters(be),be=this.parseComment(be),this.range=new U.Range(Ze,be),be}},Ls=class extends U.Node{static startCommentOrEndBlankLine(sn,Ze){let be=U.Node.endOfWhiteSpace(sn,Ze),ze=sn[be];return ze===\"#\"||ze===`\n`?be:Ze}constructor(){super(U.Type.DOCUMENT),this.directives=null,this.contents=null,this.directivesEndMarker=null,this.documentEndMarker=null}parseDirectives(sn){let{src:Ze}=this.context;this.directives=[];let be=!0,ze=!1,jt=sn;for(;!U.Node.atDocumentBoundary(Ze,jt,U.Char.DIRECTIVES_END);)switch(jt=Ls.startCommentOrEndBlankLine(Ze,jt),Ze[jt]){case`\n`:if(be){let Ln=new Pe;jt=Ln.parse({src:Ze},jt),jt<Ze.length&&this.directives.push(Ln)}else jt+=1,be=!0;break;case\"#\":{let Ln=new $n;jt=Ln.parse({src:Ze},jt),this.directives.push(Ln),be=!1}break;case\"%\":{let Ln=new or;jt=Ln.parse({parent:this,src:Ze},jt),this.directives.push(Ln),ze=!0,be=!1}break;default:return ze?this.error=new U.YAMLSemanticError(this,\"Missing directives-end indicator line\"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),jt}return Ze[jt]?(this.directivesEndMarker=new U.Range(jt,jt+3),jt+3):(ze?this.error=new U.YAMLSemanticError(this,\"Missing directives-end indicator line\"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),jt)}parseContents(sn){let{parseNode:Ze,src:be}=this.context;this.contents||(this.contents=[]);let ze=sn;for(;be[ze-1]===\"-\";)ze-=1;let jt=U.Node.endOfWhiteSpace(be,sn),Ln=ze===sn;for(this.valueRange=new U.Range(jt);!U.Node.atDocumentBoundary(be,jt,U.Char.DOCUMENT_END);){switch(be[jt]){case`\n`:if(Ln){let Xn=new Pe;jt=Xn.parse({src:be},jt),jt<be.length&&this.contents.push(Xn)}else jt+=1,Ln=!0;ze=jt;break;case\"#\":{let Xn=new $n;jt=Xn.parse({src:be},jt),this.contents.push(Xn),Ln=!1}break;default:{let Xn=U.Node.endOfIndent(be,jt),bn=Ze({atLineStart:Ln,indent:-1,inFlow:!1,inCollection:!1,lineStart:ze,parent:this},Xn);if(!bn)return this.valueRange.end=Xn;this.contents.push(bn),jt=bn.range.end,Ln=!1;let ii=zn(bn);ii&&Array.prototype.push.apply(this.contents,ii)}}jt=Ls.startCommentOrEndBlankLine(be,jt)}if(this.valueRange.end=jt,be[jt]&&(this.documentEndMarker=new U.Range(jt,jt+3),jt+=3,be[jt])){if(jt=U.Node.endOfWhiteSpace(be,jt),be[jt]===\"#\"){let Xn=new $n;jt=Xn.parse({src:be},jt),this.contents.push(Xn)}switch(be[jt]){case`\n`:jt+=1;break;case void 0:break;default:this.error=new U.YAMLSyntaxError(this,\"Document end marker line cannot have a non-comment suffix\")}}return jt}parse(sn,Ze){sn.root=this,this.context=sn;let{src:be}=sn,ze=be.charCodeAt(Ze)===65279?Ze+1:Ze;return ze=this.parseDirectives(ze),ze=this.parseContents(ze),ze}setOrigRanges(sn,Ze){return Ze=super.setOrigRanges(sn,Ze),this.directives.forEach(be=>{Ze=be.setOrigRanges(sn,Ze)}),this.directivesEndMarker&&(Ze=this.directivesEndMarker.setOrigRange(sn,Ze)),this.contents.forEach(be=>{Ze=be.setOrigRanges(sn,Ze)}),this.documentEndMarker&&(Ze=this.documentEndMarker.setOrigRange(sn,Ze)),Ze}toString(){let{contents:sn,directives:Ze,value:be}=this;if(be!=null)return be;let ze=Ze.join(\"\");return sn.length>0&&((Ze.length>0||sn[0].type===U.Type.COMMENT)&&(ze+=`---\n`),ze+=sn.join(\"\")),ze[ze.length-1]!==`\n`&&(ze+=`\n`),ze}},qi=class extends U.Node{parse(sn,Ze){this.context=sn;let{src:be}=sn,ze=U.Node.endOfIdentifier(be,Ze+1);return this.valueRange=new U.Range(Ze+1,ze),ze=U.Node.endOfWhiteSpace(be,ze),ze=this.parseComment(ze),ze}},br={CLIP:\"CLIP\",KEEP:\"KEEP\",STRIP:\"STRIP\"},Yr=class extends U.Node{constructor(sn,Ze){super(sn,Ze),this.blockIndent=null,this.chomping=br.CLIP,this.header=null}get includesTrailingLines(){return this.chomping===br.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:sn,end:Ze}=this.valueRange,{indent:be,src:ze}=this.context;if(this.valueRange.isEmpty())return\"\";let jt=null,Ln=ze[Ze-1];for(;Ln===`\n`||Ln===\"\t\"||Ln===\" \";){if(Ze-=1,Ze<=sn){if(this.chomping===br.KEEP)break;return\"\"}Ln===`\n`&&(jt=Ze),Ln=ze[Ze-1]}let Xn=Ze+1;jt&&(this.chomping===br.KEEP?(Xn=jt,Ze=this.valueRange.end):Ze=jt);let bn=be+this.blockIndent,ii=this.type===U.Type.BLOCK_FOLDED,Ir=!0,gs=\"\",Ys=\"\",_a=!1;for(let Eo=sn;Eo<Ze;++Eo){for(let Jl=0;Jl<bn&&ze[Eo]===\" \";++Jl)Eo+=1;let pl=ze[Eo];if(pl===`\n`)Ys===`\n`?gs+=`\n`:Ys=`\n`;else{let Jl=U.Node.endOfLine(ze,Eo),Tu=ze.slice(Eo,Jl);Eo=Jl,ii&&(pl===\" \"||pl===\"\t\")&&Eo<Xn?(Ys===\" \"?Ys=`\n`:!_a&&!Ir&&Ys===`\n`&&(Ys=`\n\n`),gs+=Ys+Tu,Ys=Jl<Ze&&ze[Jl]||\"\",_a=!0):(gs+=Ys+Tu,Ys=ii&&Eo<Xn?\" \":`\n`,_a=!1),Ir&&Tu!==\"\"&&(Ir=!1)}}return this.chomping===br.STRIP?gs:gs+`\n`}parseBlockHeader(sn){let{src:Ze}=this.context,be=sn+1,ze=\"\";for(;;){let jt=Ze[be];switch(jt){case\"-\":this.chomping=br.STRIP;break;case\"+\":this.chomping=br.KEEP;break;case\"0\":case\"1\":case\"2\":case\"3\":case\"4\":case\"5\":case\"6\":case\"7\":case\"8\":case\"9\":ze+=jt;break;default:return this.blockIndent=Number(ze)||null,this.header=new U.Range(sn,be),be}be+=1}}parseBlockValue(sn){let{indent:Ze,src:be}=this.context,ze=!!this.blockIndent,jt=sn,Ln=sn,Xn=1;for(let bn=be[jt];bn===`\n`&&(jt+=1,!U.Node.atDocumentBoundary(be,jt));bn=be[jt]){let ii=U.Node.endOfBlockIndent(be,Ze,jt);if(ii===null)break;let Ir=be[ii],gs=ii-(jt+Ze);if(this.blockIndent){if(Ir&&Ir!==`\n`&&gs<this.blockIndent){if(be[ii]===\"#\")break;if(!this.error){let Ys=`Block scalars must not be less indented than their ${ze?\"explicit indentation indicator\":\"first line\"}`;this.error=new U.YAMLSemanticError(this,Ys)}}}else if(be[ii]!==`\n`){if(gs<Xn){let Ys=\"Block scalars with more-indented leading empty lines must use an explicit indentation indicator\";this.error=new U.YAMLSemanticError(this,Ys)}this.blockIndent=gs}else gs>Xn&&(Xn=gs);be[ii]===`\n`?jt=ii:jt=Ln=U.Node.endOfLine(be,ii)}return this.chomping!==br.KEEP&&(jt=be[Ln]?Ln+1:Ln),this.valueRange=new U.Range(sn+1,jt),jt}parse(sn,Ze){this.context=sn;let{src:be}=sn,ze=this.parseBlockHeader(Ze);return ze=U.Node.endOfWhiteSpace(be,ze),ze=this.parseComment(ze),ze=this.parseBlockValue(ze),ze}setOrigRanges(sn,Ze){return Ze=super.setOrigRanges(sn,Ze),this.header?this.header.setOrigRange(sn,Ze):Ze}},Cs=class extends U.Node{constructor(sn,Ze){super(sn,Ze),this.items=null}prevNodeIsJsonLike(){let sn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.items.length,Ze=this.items[sn-1];return!!Ze&&(Ze.jsonLike||Ze.type===U.Type.COMMENT&&this.prevNodeIsJsonLike(sn-1))}parse(sn,Ze){this.context=sn;let{parseNode:be,src:ze}=sn,{indent:jt,lineStart:Ln}=sn,Xn=ze[Ze];this.items=[{char:Xn,offset:Ze}];let bn=U.Node.endOfWhiteSpace(ze,Ze+1);for(Xn=ze[bn];Xn&&Xn!==\"]\"&&Xn!==\"}\";){switch(Xn){case`\n`:{Ln=bn+1;let ii=U.Node.endOfWhiteSpace(ze,Ln);if(ze[ii]===`\n`){let Ir=new Pe;Ln=Ir.parse({src:ze},Ln),this.items.push(Ir)}if(bn=U.Node.endOfIndent(ze,Ln),bn<=Ln+jt&&(Xn=ze[bn],bn<Ln+jt||Xn!==\"]\"&&Xn!==\"}\")){let Ir=\"Insufficient indentation in flow collection\";this.error=new U.YAMLSemanticError(this,Ir)}}break;case\",\":this.items.push({char:Xn,offset:bn}),bn+=1;break;case\"#\":{let ii=new $n;bn=ii.parse({src:ze},bn),this.items.push(ii)}break;case\"?\":case\":\":{let ii=ze[bn+1];if(ii===`\n`||ii===\"\t\"||ii===\" \"||ii===\",\"||Xn===\":\"&&this.prevNodeIsJsonLike()){this.items.push({char:Xn,offset:bn}),bn+=1;break}}default:{let ii=be({atLineStart:!1,inCollection:!1,inFlow:!0,indent:-1,lineStart:Ln,parent:this},bn);if(!ii)return this.valueRange=new U.Range(Ze,bn),bn;this.items.push(ii),bn=U.Node.normalizeOffset(ze,ii.range.end)}}bn=U.Node.endOfWhiteSpace(ze,bn),Xn=ze[bn]}return this.valueRange=new U.Range(Ze,bn+1),Xn&&(this.items.push({char:Xn,offset:bn}),bn=U.Node.endOfWhiteSpace(ze,bn+1),bn=this.parseComment(bn)),bn}setOrigRanges(sn,Ze){return Ze=super.setOrigRanges(sn,Ze),this.items.forEach(be=>{if(be instanceof U.Node)Ze=be.setOrigRanges(sn,Ze);else if(sn.length===0)be.origOffset=be.offset;else{let ze=Ze;for(;ze<sn.length&&!(sn[ze]>be.offset);)++ze;be.origOffset=be.offset+ze,Ze=ze}}),Ze}toString(){let{context:{src:sn},items:Ze,range:be,value:ze}=this;if(ze!=null)return ze;let jt=Ze.filter(bn=>bn instanceof U.Node),Ln=\"\",Xn=be.start;return jt.forEach(bn=>{let ii=sn.slice(Xn,bn.range.start);Xn=bn.range.end,Ln+=ii+String(bn),Ln[Ln.length-1]===`\n`&&sn[Xn-1]!==`\n`&&sn[Xn]===`\n`&&(Xn+=1)}),Ln+=sn.slice(Xn,be.end),U.Node.addStringTerminator(sn,be.end,Ln)}},rs=class extends U.Node{static endOfQuote(sn,Ze){let be=sn[Ze];for(;be&&be!=='\"';)Ze+=be===\"\\\\\"?2:1,be=sn[Ze];return Ze+1}get strValue(){if(!this.valueRange||!this.context)return null;let sn=[],{start:Ze,end:be}=this.valueRange,{indent:ze,src:jt}=this.context;jt[be-1]!=='\"'&&sn.push(new U.YAMLSyntaxError(this,'Missing closing \"quote'));let Ln=\"\";for(let Xn=Ze+1;Xn<be-1;++Xn){let bn=jt[Xn];if(bn===`\n`){U.Node.atDocumentBoundary(jt,Xn+1)&&sn.push(new U.YAMLSemanticError(this,\"Document boundary indicators are not allowed within string values\"));let{fold:ii,offset:Ir,error:gs}=U.Node.foldNewline(jt,Xn,ze);Ln+=ii,Xn=Ir,gs&&sn.push(new U.YAMLSemanticError(this,\"Multi-line double-quoted string needs to be sufficiently indented\"))}else if(bn===\"\\\\\")switch(Xn+=1,jt[Xn]){case\"0\":Ln+=\"\\0\";break;case\"a\":Ln+=\"\\x07\";break;case\"b\":Ln+=\"\\b\";break;case\"e\":Ln+=\"\\x1B\";break;case\"f\":Ln+=\"\\f\";break;case\"n\":Ln+=`\n`;break;case\"r\":Ln+=\"\\r\";break;case\"t\":Ln+=\"\t\";break;case\"v\":Ln+=\"\\v\";break;case\"N\":Ln+=\"\\x85\";break;case\"_\":Ln+=\"\\xA0\";break;case\"L\":Ln+=\"\\u2028\";break;case\"P\":Ln+=\"\\u2029\";break;case\" \":Ln+=\" \";break;case'\"':Ln+='\"';break;case\"/\":Ln+=\"/\";break;case\"\\\\\":Ln+=\"\\\\\";break;case\"\t\":Ln+=\"\t\";break;case\"x\":Ln+=this.parseCharCode(Xn+1,2,sn),Xn+=2;break;case\"u\":Ln+=this.parseCharCode(Xn+1,4,sn),Xn+=4;break;case\"U\":Ln+=this.parseCharCode(Xn+1,8,sn),Xn+=8;break;case`\n`:for(;jt[Xn+1]===\" \"||jt[Xn+1]===\"\t\";)Xn+=1;break;default:sn.push(new U.YAMLSyntaxError(this,`Invalid escape sequence ${jt.substr(Xn-1,2)}`)),Ln+=\"\\\\\"+jt[Xn]}else if(bn===\" \"||bn===\"\t\"){let ii=Xn,Ir=jt[Xn+1];for(;Ir===\" \"||Ir===\"\t\";)Xn+=1,Ir=jt[Xn+1];Ir!==`\n`&&(Ln+=Xn>ii?jt.slice(ii,Xn+1):bn)}else Ln+=bn}return sn.length>0?{errors:sn,str:Ln}:Ln}parseCharCode(sn,Ze,be){let{src:ze}=this.context,jt=ze.substr(sn,Ze),Ln=jt.length===Ze&&/^[0-9a-fA-F]+$/.test(jt)?parseInt(jt,16):NaN;return isNaN(Ln)?(be.push(new U.YAMLSyntaxError(this,`Invalid escape sequence ${ze.substr(sn-2,Ze+2)}`)),ze.substr(sn-2,Ze+2)):String.fromCodePoint(Ln)}parse(sn,Ze){this.context=sn;let{src:be}=sn,ze=rs.endOfQuote(be,Ze+1);return this.valueRange=new U.Range(Ze,ze),ze=U.Node.endOfWhiteSpace(be,ze),ze=this.parseComment(ze),ze}},Ps=class extends U.Node{static endOfQuote(sn,Ze){let be=sn[Ze];for(;be;)if(be===\"'\"){if(sn[Ze+1]!==\"'\")break;be=sn[Ze+=2]}else be=sn[Ze+=1];return Ze+1}get strValue(){if(!this.valueRange||!this.context)return null;let sn=[],{start:Ze,end:be}=this.valueRange,{indent:ze,src:jt}=this.context;jt[be-1]!==\"'\"&&sn.push(new U.YAMLSyntaxError(this,\"Missing closing 'quote\"));let Ln=\"\";for(let Xn=Ze+1;Xn<be-1;++Xn){let bn=jt[Xn];if(bn===`\n`){U.Node.atDocumentBoundary(jt,Xn+1)&&sn.push(new U.YAMLSemanticError(this,\"Document boundary indicators are not allowed within string values\"));let{fold:ii,offset:Ir,error:gs}=U.Node.foldNewline(jt,Xn,ze);Ln+=ii,Xn=Ir,gs&&sn.push(new U.YAMLSemanticError(this,\"Multi-line single-quoted string needs to be sufficiently indented\"))}else if(bn===\"'\")Ln+=bn,Xn+=1,jt[Xn]!==\"'\"&&sn.push(new U.YAMLSyntaxError(this,\"Unescaped single quote? This should not happen.\"));else if(bn===\" \"||bn===\"\t\"){let ii=Xn,Ir=jt[Xn+1];for(;Ir===\" \"||Ir===\"\t\";)Xn+=1,Ir=jt[Xn+1];Ir!==`\n`&&(Ln+=Xn>ii?jt.slice(ii,Xn+1):bn)}else Ln+=bn}return sn.length>0?{errors:sn,str:Ln}:Ln}parse(sn,Ze){this.context=sn;let{src:be}=sn,ze=Ps.endOfQuote(be,Ze+1);return this.valueRange=new U.Range(Ze,ze),ze=U.Node.endOfWhiteSpace(be,ze),ze=this.parseComment(ze),ze}};function Os(sn,Ze){switch(sn){case U.Type.ALIAS:return new qi(sn,Ze);case U.Type.BLOCK_FOLDED:case U.Type.BLOCK_LITERAL:return new Yr(sn,Ze);case U.Type.FLOW_MAP:case U.Type.FLOW_SEQ:return new Cs(sn,Ze);case U.Type.MAP_KEY:case U.Type.MAP_VALUE:case U.Type.SEQ_ITEM:return new Dn(sn,Ze);case U.Type.COMMENT:case U.Type.PLAIN:return new U.PlainValue(sn,Ze);case U.Type.QUOTE_DOUBLE:return new rs(sn,Ze);case U.Type.QUOTE_SINGLE:return new Ps(sn,Ze);default:return null}}var zs=class{static parseType(sn,Ze,be){switch(sn[Ze]){case\"*\":return U.Type.ALIAS;case\">\":return U.Type.BLOCK_FOLDED;case\"|\":return U.Type.BLOCK_LITERAL;case\"{\":return U.Type.FLOW_MAP;case\"[\":return U.Type.FLOW_SEQ;case\"?\":return!be&&U.Node.atBlank(sn,Ze+1,!0)?U.Type.MAP_KEY:U.Type.PLAIN;case\":\":return!be&&U.Node.atBlank(sn,Ze+1,!0)?U.Type.MAP_VALUE:U.Type.PLAIN;case\"-\":return!be&&U.Node.atBlank(sn,Ze+1,!0)?U.Type.SEQ_ITEM:U.Type.PLAIN;case'\"':return U.Type.QUOTE_DOUBLE;case\"'\":return U.Type.QUOTE_SINGLE;default:return U.Type.PLAIN}}constructor(){let sn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{atLineStart:Ze,inCollection:be,inFlow:ze,indent:jt,lineStart:Ln,parent:Xn}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};U._defineProperty(this,\"parseNode\",(bn,ii)=>{if(U.Node.atDocumentBoundary(this.src,ii))return null;let Ir=new zs(this,bn),{props:gs,type:Ys,valueStart:_a}=Ir.parseProps(ii),Eo=Os(Ys,gs),pl=Eo.parse(Ir,_a);if(Eo.range=new U.Range(ii,pl),pl<=ii&&(Eo.error=new Error(\"Node#parse consumed no characters\"),Eo.error.parseEnd=pl,Eo.error.source=Eo,Eo.range.end=ii+1),Ir.nodeStartsCollection(Eo)){!Eo.error&&!Ir.atLineStart&&Ir.parent.type===U.Type.DOCUMENT&&(Eo.error=new U.YAMLSyntaxError(Eo,\"Block collection must not have preceding content here (e.g. directives-end indicator)\"));let Jl=new Ji(Eo);return pl=Jl.parse(new zs(Ir),pl),Jl.range=new U.Range(ii,pl),Jl}return Eo}),this.atLineStart=Ze!=null?Ze:sn.atLineStart||!1,this.inCollection=be!=null?be:sn.inCollection||!1,this.inFlow=ze!=null?ze:sn.inFlow||!1,this.indent=jt!=null?jt:sn.indent,this.lineStart=Ln!=null?Ln:sn.lineStart,this.parent=Xn!=null?Xn:sn.parent||{},this.root=sn.root,this.src=sn.src}nodeStartsCollection(sn){let{inCollection:Ze,inFlow:be,src:ze}=this;if(Ze||be)return!1;if(sn instanceof Dn)return!0;let jt=sn.range.end;return ze[jt]===`\n`||ze[jt-1]===`\n`?!1:(jt=U.Node.endOfWhiteSpace(ze,jt),ze[jt]===\":\")}parseProps(sn){let{inFlow:Ze,parent:be,src:ze}=this,jt=[],Ln=!1;sn=this.atLineStart?U.Node.endOfIndent(ze,sn):U.Node.endOfWhiteSpace(ze,sn);let Xn=ze[sn];for(;Xn===U.Char.ANCHOR||Xn===U.Char.COMMENT||Xn===U.Char.TAG||Xn===`\n`;){if(Xn===`\n`){let ii=sn,Ir;do Ir=ii+1,ii=U.Node.endOfIndent(ze,Ir);while(ze[ii]===`\n`);let gs=ii-(Ir+this.indent),Ys=be.type===U.Type.SEQ_ITEM&&be.context.atLineStart;if(ze[ii]!==\"#\"&&!U.Node.nextNodeIsIndented(ze[ii],gs,!Ys))break;this.atLineStart=!0,this.lineStart=Ir,Ln=!1,sn=ii}else if(Xn===U.Char.COMMENT){let ii=U.Node.endOfLine(ze,sn+1);jt.push(new U.Range(sn,ii)),sn=ii}else{let ii=U.Node.endOfIdentifier(ze,sn+1);Xn===U.Char.TAG&&ze[ii]===\",\"&&/^[a-zA-Z0-9-]+\\.[a-zA-Z0-9-]+,\\d\\d\\d\\d(-\\d\\d){0,2}\\/\\S/.test(ze.slice(sn+1,ii+13))&&(ii=U.Node.endOfIdentifier(ze,ii+5)),jt.push(new U.Range(sn,ii)),Ln=!0,sn=U.Node.endOfWhiteSpace(ze,ii)}Xn=ze[sn]}Ln&&Xn===\":\"&&U.Node.atBlank(ze,sn+1,!0)&&(sn-=1);let bn=zs.parseType(ze,sn,Ze);return{props:jt,type:bn,valueStart:sn}}};function sa(sn){let Ze=[];sn.indexOf(\"\\r\")!==-1&&(sn=sn.replace(/\\r\\n?/g,(jt,Ln)=>(jt.length>1&&Ze.push(Ln),`\n`)));let be=[],ze=0;do{let jt=new Ls,Ln=new zs({src:sn});ze=jt.parse(Ln,ze),be.push(jt)}while(ze<sn.length);return be.setOrigRanges=()=>{if(Ze.length===0)return!1;for(let Ln=1;Ln<Ze.length;++Ln)Ze[Ln]-=Ln;let jt=0;for(let Ln=0;Ln<be.length;++Ln)jt=be[Ln].setOrigRanges(Ze,jt);return Ze.splice(0,Ze.length),!0},be.toString=()=>be.join(`...\n`),be}Ke.parse=sa}}),ep=p({\"node_modules/yaml/dist/resolveSeq-d03cb037.js\"(Ke){k();var U=xc();function Pe(Ce,Te,Ft){return Ft?`#${Ft.replace(/[\\s\\S]^/gm,`$&${Te}#`)}\n${Te}${Ce}`:Ce}function Dn(Ce,Te,Ft){return Ft?Ft.indexOf(`\n`)===-1?`${Ce} #${Ft}`:`${Ce}\n`+Ft.replace(/^/gm,`${Te||\"\"}#`):Ce}var $n=class{};function zn(Ce,Te,Ft){if(Array.isArray(Ce))return Ce.map((Lt,nn)=>zn(Lt,String(nn),Ft));if(Ce&&typeof Ce.toJSON==\"function\"){let Lt=Ft&&Ft.anchors&&Ft.anchors.get(Ce);Lt&&(Ft.onCreate=Nn=>{Lt.res=Nn,delete Ft.onCreate});let nn=Ce.toJSON(Te,Ft);return Lt&&Ft.onCreate&&Ft.onCreate(nn),nn}return(!Ft||!Ft.keep)&&typeof Ce==\"bigint\"?Number(Ce):Ce}var Ji=class extends $n{constructor(Ce){super(),this.value=Ce}toJSON(Ce,Te){return Te&&Te.keep?this.value:zn(this.value,Ce,Te)}toString(){return String(this.value)}};function or(Ce,Te,Ft){let Lt=Ft;for(let nn=Te.length-1;nn>=0;--nn){let Nn=Te[nn];if(Number.isInteger(Nn)&&Nn>=0){let Pi=[];Pi[Nn]=Lt,Lt=Pi}else{let Pi={};Object.defineProperty(Pi,Nn,{value:Lt,writable:!0,enumerable:!0,configurable:!0}),Lt=Pi}}return Ce.createNode(Lt,!1)}var Ls=Ce=>Ce==null||typeof Ce==\"object\"&&Ce[Symbol.iterator]().next().done,qi=class extends $n{constructor(Ce){super(),U._defineProperty(this,\"items\",[]),this.schema=Ce}addIn(Ce,Te){if(Ls(Ce))this.add(Te);else{let[Ft,...Lt]=Ce,nn=this.get(Ft,!0);if(nn instanceof qi)nn.addIn(Lt,Te);else if(nn===void 0&&this.schema)this.set(Ft,or(this.schema,Lt,Te));else throw new Error(`Expected YAML collection at ${Ft}. Remaining path: ${Lt}`)}}deleteIn(Ce){let[Te,...Ft]=Ce;if(Ft.length===0)return this.delete(Te);let Lt=this.get(Te,!0);if(Lt instanceof qi)return Lt.deleteIn(Ft);throw new Error(`Expected YAML collection at ${Te}. Remaining path: ${Ft}`)}getIn(Ce,Te){let[Ft,...Lt]=Ce,nn=this.get(Ft,!0);return Lt.length===0?!Te&&nn instanceof Ji?nn.value:nn:nn instanceof qi?nn.getIn(Lt,Te):void 0}hasAllNullValues(){return this.items.every(Ce=>{if(!Ce||Ce.type!==\"PAIR\")return!1;let Te=Ce.value;return Te==null||Te instanceof Ji&&Te.value==null&&!Te.commentBefore&&!Te.comment&&!Te.tag})}hasIn(Ce){let[Te,...Ft]=Ce;if(Ft.length===0)return this.has(Te);let Lt=this.get(Te,!0);return Lt instanceof qi?Lt.hasIn(Ft):!1}setIn(Ce,Te){let[Ft,...Lt]=Ce;if(Lt.length===0)this.set(Ft,Te);else{let nn=this.get(Ft,!0);if(nn instanceof qi)nn.setIn(Lt,Te);else if(nn===void 0&&this.schema)this.set(Ft,or(this.schema,Lt,Te));else throw new Error(`Expected YAML collection at ${Ft}. Remaining path: ${Lt}`)}}toJSON(){return null}toString(Ce,Te,Ft,Lt){let{blockItem:nn,flowChars:Nn,isMap:Pi,itemIndent:si}=Te,{indent:Ur,indentStep:Xr,stringify:eo}=Ce,Br=this.type===U.Type.FLOW_MAP||this.type===U.Type.FLOW_SEQ||Ce.inFlow;Br&&(si+=Xr);let Oo=Pi&&this.hasAllNullValues();Ce=Object.assign({},Ce,{allNullValues:Oo,indent:si,inFlow:Br,type:null});let Ko=!1,Ho=!1,ba=this.items.reduce((Kn,Nr,nr)=>{let ps;Nr&&(!Ko&&Nr.spaceBefore&&Kn.push({type:\"comment\",str:\"\"}),Nr.commentBefore&&Nr.commentBefore.match(/^.*$/gm).forEach(Yl=>{Kn.push({type:\"comment\",str:`#${Yl}`})}),Nr.comment&&(ps=Nr.comment),Br&&(!Ko&&Nr.spaceBefore||Nr.commentBefore||Nr.comment||Nr.key&&(Nr.key.commentBefore||Nr.key.comment)||Nr.value&&(Nr.value.commentBefore||Nr.value.comment))&&(Ho=!0)),Ko=!1;let ga=eo(Nr,Ce,()=>ps=null,()=>Ko=!0);return Br&&!Ho&&ga.includes(`\n`)&&(Ho=!0),Br&&nr<this.items.length-1&&(ga+=\",\"),ga=Dn(ga,si,ps),Ko&&(ps||Br)&&(Ko=!1),Kn.push({type:\"item\",str:ga}),Kn},[]),$t;if(ba.length===0)$t=Nn.start+Nn.end;else if(Br){let{start:Kn,end:Nr}=Nn,nr=ba.map(ps=>ps.str);if(Ho||nr.reduce((ps,ga)=>ps+ga.length+2,2)>qi.maxFlowStringSingleLineLength){$t=Kn;for(let ps of nr)$t+=ps?`\n${Xr}${Ur}${ps}`:`\n`;$t+=`\n${Ur}${Nr}`}else $t=`${Kn} ${nr.join(\" \")} ${Nr}`}else{let Kn=ba.map(nn);$t=Kn.shift();for(let Nr of Kn)$t+=Nr?`\n${Ur}${Nr}`:`\n`}return this.comment?($t+=`\n`+this.comment.replace(/^/gm,`${Ur}#`),Ft&&Ft()):Ko&&Lt&&Lt(),$t}};U._defineProperty(qi,\"maxFlowStringSingleLineLength\",60);function br(Ce){let Te=Ce instanceof Ji?Ce.value:Ce;return Te&&typeof Te==\"string\"&&(Te=Number(Te)),Number.isInteger(Te)&&Te>=0?Te:null}var Yr=class extends qi{add(Ce){this.items.push(Ce)}delete(Ce){let Te=br(Ce);return typeof Te!=\"number\"?!1:this.items.splice(Te,1).length>0}get(Ce,Te){let Ft=br(Ce);if(typeof Ft!=\"number\")return;let Lt=this.items[Ft];return!Te&&Lt instanceof Ji?Lt.value:Lt}has(Ce){let Te=br(Ce);return typeof Te==\"number\"&&Te<this.items.length}set(Ce,Te){let Ft=br(Ce);if(typeof Ft!=\"number\")throw new Error(`Expected a valid index, not ${Ce}.`);this.items[Ft]=Te}toJSON(Ce,Te){let Ft=[];Te&&Te.onCreate&&Te.onCreate(Ft);let Lt=0;for(let nn of this.items)Ft.push(zn(nn,String(Lt++),Te));return Ft}toString(Ce,Te,Ft){return Ce?super.toString(Ce,{blockItem:Lt=>Lt.type===\"comment\"?Lt.str:`- ${Lt.str}`,flowChars:{start:\"[\",end:\"]\"},isMap:!1,itemIndent:(Ce.indent||\"\")+\"  \"},Te,Ft):JSON.stringify(this)}},Cs=(Ce,Te,Ft)=>Te===null?\"\":typeof Te!=\"object\"?String(Te):Ce instanceof $n&&Ft&&Ft.doc?Ce.toString({anchors:Object.create(null),doc:Ft.doc,indent:\"\",indentStep:Ft.indentStep,inFlow:!0,inStringifyKey:!0,stringify:Ft.stringify}):JSON.stringify(Te),rs=class extends $n{constructor(Ce){let Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;super(),this.key=Ce,this.value=Te,this.type=rs.Type.PAIR}get commentBefore(){return this.key instanceof $n?this.key.commentBefore:void 0}set commentBefore(Ce){if(this.key==null&&(this.key=new Ji(null)),this.key instanceof $n)this.key.commentBefore=Ce;else{let Te=\"Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.\";throw new Error(Te)}}addToJSMap(Ce,Te){let Ft=zn(this.key,\"\",Ce);if(Te instanceof Map){let Lt=zn(this.value,Ft,Ce);Te.set(Ft,Lt)}else if(Te instanceof Set)Te.add(Ft);else{let Lt=Cs(this.key,Ft,Ce),nn=zn(this.value,Lt,Ce);Lt in Te?Object.defineProperty(Te,Lt,{value:nn,writable:!0,enumerable:!0,configurable:!0}):Te[Lt]=nn}return Te}toJSON(Ce,Te){let Ft=Te&&Te.mapAsMap?new Map:{};return this.addToJSMap(Te,Ft)}toString(Ce,Te,Ft){if(!Ce||!Ce.doc)return JSON.stringify(this);let{indent:Lt,indentSeq:nn,simpleKeys:Nn}=Ce.doc.options,{key:Pi,value:si}=this,Ur=Pi instanceof $n&&Pi.comment;if(Nn){if(Ur)throw new Error(\"With simple keys, key nodes cannot have comments\");if(Pi instanceof qi){let ps=\"With simple keys, collection cannot be used as a key value\";throw new Error(ps)}}let Xr=!Nn&&(!Pi||Ur||(Pi instanceof $n?Pi instanceof qi||Pi.type===U.Type.BLOCK_FOLDED||Pi.type===U.Type.BLOCK_LITERAL:typeof Pi==\"object\")),{doc:eo,indent:Br,indentStep:Oo,stringify:Ko}=Ce;Ce=Object.assign({},Ce,{implicitKey:!Xr,indent:Br+Oo});let Ho=!1,ba=Ko(Pi,Ce,()=>Ur=null,()=>Ho=!0);if(ba=Dn(ba,Ce.indent,Ur),!Xr&&ba.length>1024){if(Nn)throw new Error(\"With simple keys, single line scalar must not span more than 1024 characters\");Xr=!0}if(Ce.allNullValues&&!Nn)return this.comment?(ba=Dn(ba,Ce.indent,this.comment),Te&&Te()):Ho&&!Ur&&Ft&&Ft(),Ce.inFlow&&!Xr?ba:`? ${ba}`;ba=Xr?`? ${ba}\n${Br}:`:`${ba}:`,this.comment&&(ba=Dn(ba,Ce.indent,this.comment),Te&&Te());let $t=\"\",Kn=null;si instanceof $n?(si.spaceBefore&&($t=`\n`),si.commentBefore&&($t+=`\n${si.commentBefore.replace(/^/gm,`${Ce.indent}#`)}`),Kn=si.comment):si&&typeof si==\"object\"&&(si=eo.schema.createNode(si,!0)),Ce.implicitKey=!1,!Xr&&!this.comment&&si instanceof Ji&&(Ce.indentAtStart=ba.length+1),Ho=!1,!nn&&Lt>=2&&!Ce.inFlow&&!Xr&&si instanceof Yr&&si.type!==U.Type.FLOW_SEQ&&!si.tag&&!eo.anchors.getName(si)&&(Ce.indent=Ce.indent.substr(2));let Nr=Ko(si,Ce,()=>Kn=null,()=>Ho=!0),nr=\" \";return $t||this.comment?nr=`${$t}\n${Ce.indent}`:!Xr&&si instanceof qi?(!(Nr[0]===\"[\"||Nr[0]===\"{\")||Nr.includes(`\n`))&&(nr=`\n${Ce.indent}`):Nr[0]===`\n`&&(nr=\"\"),Ho&&!Kn&&Ft&&Ft(),Dn(ba+nr+Nr,Ce.indent,Kn)}};U._defineProperty(rs,\"Type\",{PAIR:\"PAIR\",MERGE_PAIR:\"MERGE_PAIR\"});var Ps=(Ce,Te)=>{if(Ce instanceof Os){let Ft=Te.get(Ce.source);return Ft.count*Ft.aliasCount}else if(Ce instanceof qi){let Ft=0;for(let Lt of Ce.items){let nn=Ps(Lt,Te);nn>Ft&&(Ft=nn)}return Ft}else if(Ce instanceof rs){let Ft=Ps(Ce.key,Te),Lt=Ps(Ce.value,Te);return Math.max(Ft,Lt)}return 1},Os=class extends $n{static stringify(Ce,Te){let{range:Ft,source:Lt}=Ce,{anchors:nn,doc:Nn,implicitKey:Pi,inStringifyKey:si}=Te,Ur=Object.keys(nn).find(eo=>nn[eo]===Lt);if(!Ur&&si&&(Ur=Nn.anchors.getName(Lt)||Nn.anchors.newName()),Ur)return`*${Ur}${Pi?\" \":\"\"}`;let Xr=Nn.anchors.getName(Lt)?\"Alias node must be after source node\":\"Source node not found for alias node\";throw new Error(`${Xr} [${Ft}]`)}constructor(Ce){super(),this.source=Ce,this.type=U.Type.ALIAS}set tag(Ce){throw new Error(\"Alias nodes cannot have tags\")}toJSON(Ce,Te){if(!Te)return zn(this.source,Ce,Te);let{anchors:Ft,maxAliasCount:Lt}=Te,nn=Ft.get(this.source);if(!nn||nn.res===void 0){let Nn=\"This should not happen: Alias anchor was not resolved?\";throw this.cstNode?new U.YAMLReferenceError(this.cstNode,Nn):new ReferenceError(Nn)}if(Lt>=0&&(nn.count+=1,nn.aliasCount===0&&(nn.aliasCount=Ps(this.source,Ft)),nn.count*nn.aliasCount>Lt)){let Nn=\"Excessive alias count indicates a resource exhaustion attack\";throw this.cstNode?new U.YAMLReferenceError(this.cstNode,Nn):new ReferenceError(Nn)}return nn.res}toString(Ce){return Os.stringify(this,Ce)}};U._defineProperty(Os,\"default\",!0);function zs(Ce,Te){let Ft=Te instanceof Ji?Te.value:Te;for(let Lt of Ce)if(Lt instanceof rs&&(Lt.key===Te||Lt.key===Ft||Lt.key&&Lt.key.value===Ft))return Lt}var sa=class extends qi{add(Ce,Te){Ce?Ce instanceof rs||(Ce=new rs(Ce.key||Ce,Ce.value)):Ce=new rs(Ce);let Ft=zs(this.items,Ce.key),Lt=this.schema&&this.schema.sortMapEntries;if(Ft)if(Te)Ft.value=Ce.value;else throw new Error(`Key ${Ce.key} already set`);else if(Lt){let nn=this.items.findIndex(Nn=>Lt(Ce,Nn)<0);nn===-1?this.items.push(Ce):this.items.splice(nn,0,Ce)}else this.items.push(Ce)}delete(Ce){let Te=zs(this.items,Ce);return Te?this.items.splice(this.items.indexOf(Te),1).length>0:!1}get(Ce,Te){let Ft=zs(this.items,Ce),Lt=Ft&&Ft.value;return!Te&&Lt instanceof Ji?Lt.value:Lt}has(Ce){return!!zs(this.items,Ce)}set(Ce,Te){this.add(new rs(Ce,Te),!0)}toJSON(Ce,Te,Ft){let Lt=Ft?new Ft:Te&&Te.mapAsMap?new Map:{};Te&&Te.onCreate&&Te.onCreate(Lt);for(let nn of this.items)nn.addToJSMap(Te,Lt);return Lt}toString(Ce,Te,Ft){if(!Ce)return JSON.stringify(this);for(let Lt of this.items)if(!(Lt instanceof rs))throw new Error(`Map items must all be pairs; found ${JSON.stringify(Lt)} instead`);return super.toString(Ce,{blockItem:Lt=>Lt.str,flowChars:{start:\"{\",end:\"}\"},isMap:!0,itemIndent:Ce.indent||\"\"},Te,Ft)}},sn=\"<<\",Ze=class extends rs{constructor(Ce){if(Ce instanceof rs){let Te=Ce.value;Te instanceof Yr||(Te=new Yr,Te.items.push(Ce.value),Te.range=Ce.value.range),super(Ce.key,Te),this.range=Ce.range}else super(new Ji(sn),new Yr);this.type=rs.Type.MERGE_PAIR}addToJSMap(Ce,Te){for(let{source:Ft}of this.value.items){if(!(Ft instanceof sa))throw new Error(\"Merge sources must be maps\");let Lt=Ft.toJSON(null,Ce,Map);for(let[nn,Nn]of Lt)Te instanceof Map?Te.has(nn)||Te.set(nn,Nn):Te instanceof Set?Te.add(nn):Object.prototype.hasOwnProperty.call(Te,nn)||Object.defineProperty(Te,nn,{value:Nn,writable:!0,enumerable:!0,configurable:!0})}return Te}toString(Ce,Te){let Ft=this.value;if(Ft.items.length>1)return super.toString(Ce,Te);this.value=Ft.items[0];let Lt=super.toString(Ce,Te);return this.value=Ft,Lt}},be={defaultType:U.Type.BLOCK_LITERAL,lineWidth:76},ze={trueStr:\"true\",falseStr:\"false\"},jt={asBigInt:!1},Ln={nullStr:\"null\"},Xn={defaultType:U.Type.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function bn(Ce,Te,Ft){for(let{format:Lt,test:nn,resolve:Nn}of Te)if(nn){let Pi=Ce.match(nn);if(Pi){let si=Nn.apply(null,Pi);return si instanceof Ji||(si=new Ji(si)),Lt&&(si.format=Lt),si}}return Ft&&(Ce=Ft(Ce)),new Ji(Ce)}var ii=\"flow\",Ir=\"block\",gs=\"quoted\",Ys=(Ce,Te)=>{let Ft=Ce[Te+1];for(;Ft===\" \"||Ft===\"\t\";){do Ft=Ce[Te+=1];while(Ft&&Ft!==`\n`);Ft=Ce[Te+1]}return Te};function _a(Ce,Te,Ft,Lt){let{indentAtStart:nn,lineWidth:Nn=80,minContentWidth:Pi=20,onFold:si,onOverflow:Ur}=Lt;if(!Nn||Nn<0)return Ce;let Xr=Math.max(1+Pi,1+Nn-Te.length);if(Ce.length<=Xr)return Ce;let eo=[],Br={},Oo=Nn-Te.length;typeof nn==\"number\"&&(nn>Nn-Math.max(2,Pi)?eo.push(0):Oo=Nn-nn);let Ko,Ho,ba=!1,$t=-1,Kn=-1,Nr=-1;Ft===Ir&&($t=Ys(Ce,$t),$t!==-1&&(Oo=$t+Xr));for(let ps;ps=Ce[$t+=1];){if(Ft===gs&&ps===\"\\\\\"){switch(Kn=$t,Ce[$t+1]){case\"x\":$t+=3;break;case\"u\":$t+=5;break;case\"U\":$t+=9;break;default:$t+=1}Nr=$t}if(ps===`\n`)Ft===Ir&&($t=Ys(Ce,$t)),Oo=$t+Xr,Ko=void 0;else{if(ps===\" \"&&Ho&&Ho!==\" \"&&Ho!==`\n`&&Ho!==\"\t\"){let ga=Ce[$t+1];ga&&ga!==\" \"&&ga!==`\n`&&ga!==\"\t\"&&(Ko=$t)}if($t>=Oo)if(Ko)eo.push(Ko),Oo=Ko+Xr,Ko=void 0;else if(Ft===gs){for(;Ho===\" \"||Ho===\"\t\";)Ho=ps,ps=Ce[$t+=1],ba=!0;let ga=$t>Nr+1?$t-2:Kn-1;if(Br[ga])return Ce;eo.push(ga),Br[ga]=!0,Oo=ga+Xr,Ko=void 0}else ba=!0}Ho=ps}if(ba&&Ur&&Ur(),eo.length===0)return Ce;si&&si();let nr=Ce.slice(0,eo[0]);for(let ps=0;ps<eo.length;++ps){let ga=eo[ps],Yl=eo[ps+1]||Ce.length;ga===0?nr=`\n${Te}${Ce.slice(0,Yl)}`:(Ft===gs&&Br[ga]&&(nr+=`${Ce[ga]}\\\\`),nr+=`\n${Te}${Ce.slice(ga+1,Yl)}`)}return nr}var Eo=Ce=>{let{indentAtStart:Te}=Ce;return Te?Object.assign({indentAtStart:Te},Xn.fold):Xn.fold},pl=Ce=>/^(%|---|\\.\\.\\.)/m.test(Ce);function Jl(Ce,Te,Ft){if(!Te||Te<0)return!1;let Lt=Te-Ft,nn=Ce.length;if(nn<=Lt)return!1;for(let Nn=0,Pi=0;Nn<nn;++Nn)if(Ce[Nn]===`\n`){if(Nn-Pi>Lt)return!0;if(Pi=Nn+1,nn-Pi<=Lt)return!1}return!0}function Tu(Ce,Te){let{implicitKey:Ft}=Te,{jsonEncoding:Lt,minMultiLineLength:nn}=Xn.doubleQuoted,Nn=JSON.stringify(Ce);if(Lt)return Nn;let Pi=Te.indent||(pl(Ce)?\"  \":\"\"),si=\"\",Ur=0;for(let Xr=0,eo=Nn[Xr];eo;eo=Nn[++Xr])if(eo===\" \"&&Nn[Xr+1]===\"\\\\\"&&Nn[Xr+2]===\"n\"&&(si+=Nn.slice(Ur,Xr)+\"\\\\ \",Xr+=1,Ur=Xr,eo=\"\\\\\"),eo===\"\\\\\")switch(Nn[Xr+1]){case\"u\":{si+=Nn.slice(Ur,Xr);let Br=Nn.substr(Xr+2,4);switch(Br){case\"0000\":si+=\"\\\\0\";break;case\"0007\":si+=\"\\\\a\";break;case\"000b\":si+=\"\\\\v\";break;case\"001b\":si+=\"\\\\e\";break;case\"0085\":si+=\"\\\\N\";break;case\"00a0\":si+=\"\\\\_\";break;case\"2028\":si+=\"\\\\L\";break;case\"2029\":si+=\"\\\\P\";break;default:Br.substr(0,2)===\"00\"?si+=\"\\\\x\"+Br.substr(2):si+=Nn.substr(Xr,6)}Xr+=5,Ur=Xr+1}break;case\"n\":if(Ft||Nn[Xr+2]==='\"'||Nn.length<nn)Xr+=1;else{for(si+=Nn.slice(Ur,Xr)+`\n\n`;Nn[Xr+2]===\"\\\\\"&&Nn[Xr+3]===\"n\"&&Nn[Xr+4]!=='\"';)si+=`\n`,Xr+=2;si+=Pi,Nn[Xr+2]===\" \"&&(si+=\"\\\\\"),Xr+=1,Ur=Xr+1}break;default:Xr+=1}return si=Ur?si+Nn.slice(Ur):Nn,Ft?si:_a(si,Pi,gs,Eo(Te))}function pd(Ce,Te){if(Te.implicitKey){if(/\\n/.test(Ce))return Tu(Ce,Te)}else if(/[ \\t]\\n|\\n[ \\t]/.test(Ce))return Tu(Ce,Te);let Ft=Te.indent||(pl(Ce)?\"  \":\"\"),Lt=\"'\"+Ce.replace(/'/g,\"''\").replace(/\\n+/g,`$&\n${Ft}`)+\"'\";return Te.implicitKey?Lt:_a(Lt,Ft,ii,Eo(Te))}function Cc(Ce,Te,Ft,Lt){let{comment:nn,type:Nn,value:Pi}=Ce;if(/\\n[\\t ]+$/.test(Pi)||/^\\s*$/.test(Pi))return Tu(Pi,Te);let si=Te.indent||(Te.forceBlockIndent||pl(Pi)?\"  \":\"\"),Ur=si?\"2\":\"1\",Xr=Nn===U.Type.BLOCK_FOLDED?!1:Nn===U.Type.BLOCK_LITERAL?!0:!Jl(Pi,Xn.fold.lineWidth,si.length),eo=Xr?\"|\":\">\";if(!Pi)return eo+`\n`;let Br=\"\",Oo=\"\";if(Pi=Pi.replace(/[\\n\\t ]*$/,Ho=>{let ba=Ho.indexOf(`\n`);return ba===-1?eo+=\"-\":(Pi===Ho||ba!==Ho.length-1)&&(eo+=\"+\",Lt&&Lt()),Oo=Ho.replace(/\\n$/,\"\"),\"\"}).replace(/^[\\n ]*/,Ho=>{Ho.indexOf(\" \")!==-1&&(eo+=Ur);let ba=Ho.match(/ +$/);return ba?(Br=Ho.slice(0,-ba[0].length),ba[0]):(Br=Ho,\"\")}),Oo&&(Oo=Oo.replace(/\\n+(?!\\n|$)/g,`$&${si}`)),Br&&(Br=Br.replace(/\\n+/g,`$&${si}`)),nn&&(eo+=\" #\"+nn.replace(/ ?[\\r\\n]+/g,\" \"),Ft&&Ft()),!Pi)return`${eo}${Ur}\n${si}${Oo}`;if(Xr)return Pi=Pi.replace(/\\n+/g,`$&${si}`),`${eo}\n${si}${Br}${Pi}${Oo}`;Pi=Pi.replace(/\\n+/g,`\n$&`).replace(/(?:^|\\n)([\\t ].*)(?:([\\n\\t ]*)\\n(?![\\n\\t ]))?/g,\"$1$2\").replace(/\\n+/g,`$&${si}`);let Ko=_a(`${Br}${Pi}${Oo}`,si,Ir,Xn.fold);return`${eo}\n${si}${Ko}`}function wr(Ce,Te,Ft,Lt){let{comment:nn,type:Nn,value:Pi}=Ce,{actualString:si,implicitKey:Ur,indent:Xr,inFlow:eo}=Te;if(Ur&&/[\\n[\\]{},]/.test(Pi)||eo&&/[[\\]{},]/.test(Pi))return Tu(Pi,Te);if(!Pi||/^[\\n\\t ,[\\]{}#&*!|>'\"%@`]|^[?-]$|^[?-][ \\t]|[\\n:][ \\t]|[ \\t]\\n|[\\n\\t ]#|[\\n\\t :]$/.test(Pi))return Ur||eo||Pi.indexOf(`\n`)===-1?Pi.indexOf('\"')!==-1&&Pi.indexOf(\"'\")===-1?pd(Pi,Te):Tu(Pi,Te):Cc(Ce,Te,Ft,Lt);if(!Ur&&!eo&&Nn!==U.Type.PLAIN&&Pi.indexOf(`\n`)!==-1)return Cc(Ce,Te,Ft,Lt);if(Xr===\"\"&&pl(Pi))return Te.forceBlockIndent=!0,Cc(Ce,Te,Ft,Lt);let Br=Pi.replace(/\\n+/g,`$&\n${Xr}`);if(si){let{tags:Ko}=Te.doc.schema;if(typeof bn(Br,Ko,Ko.scalarFallback).value!=\"string\")return Tu(Pi,Te)}let Oo=Ur?Br:_a(Br,Xr,ii,Eo(Te));return nn&&!eo&&(Oo.indexOf(`\n`)!==-1||nn.indexOf(`\n`)!==-1)?(Ft&&Ft(),Pe(Oo,Xr,nn)):Oo}function _o(Ce,Te,Ft,Lt){let{defaultType:nn}=Xn,{implicitKey:Nn,inFlow:Pi}=Te,{type:si,value:Ur}=Ce;typeof Ur!=\"string\"&&(Ur=String(Ur),Ce=Object.assign({},Ce,{value:Ur}));let Xr=Br=>{switch(Br){case U.Type.BLOCK_FOLDED:case U.Type.BLOCK_LITERAL:return Cc(Ce,Te,Ft,Lt);case U.Type.QUOTE_DOUBLE:return Tu(Ur,Te);case U.Type.QUOTE_SINGLE:return pd(Ur,Te);case U.Type.PLAIN:return wr(Ce,Te,Ft,Lt);default:return null}};(si!==U.Type.QUOTE_DOUBLE&&/[\\x00-\\x08\\x0b-\\x1f\\x7f-\\x9f]/.test(Ur)||(Nn||Pi)&&(si===U.Type.BLOCK_FOLDED||si===U.Type.BLOCK_LITERAL))&&(si=U.Type.QUOTE_DOUBLE);let eo=Xr(si);if(eo===null&&(eo=Xr(nn),eo===null))throw new Error(`Unsupported default string type ${nn}`);return eo}function oa(Ce){let{format:Te,minFractionDigits:Ft,tag:Lt,value:nn}=Ce;if(typeof nn==\"bigint\")return String(nn);if(!isFinite(nn))return isNaN(nn)?\".nan\":nn<0?\"-.inf\":\".inf\";let Nn=JSON.stringify(nn);if(!Te&&Ft&&(!Lt||Lt===\"tag:yaml.org,2002:float\")&&/^\\d/.test(Nn)){let Pi=Nn.indexOf(\".\");Pi<0&&(Pi=Nn.length,Nn+=\".\");let si=Ft-(Nn.length-Pi-1);for(;si-- >0;)Nn+=\"0\"}return Nn}function Da(Ce,Te){let Ft,Lt;switch(Te.type){case U.Type.FLOW_MAP:Ft=\"}\",Lt=\"flow map\";break;case U.Type.FLOW_SEQ:Ft=\"]\",Lt=\"flow sequence\";break;default:Ce.push(new U.YAMLSemanticError(Te,\"Not a flow collection!?\"));return}let nn;for(let Nn=Te.items.length-1;Nn>=0;--Nn){let Pi=Te.items[Nn];if(!Pi||Pi.type!==U.Type.COMMENT){nn=Pi;break}}if(nn&&nn.char!==Ft){let Nn=`Expected ${Lt} to end with ${Ft}`,Pi;typeof nn.offset==\"number\"?(Pi=new U.YAMLSemanticError(Te,Nn),Pi.offset=nn.offset+1):(Pi=new U.YAMLSemanticError(nn,Nn),nn.range&&nn.range.end&&(Pi.offset=nn.range.end-nn.range.start)),Ce.push(Pi)}}function ml(Ce,Te){let Ft=Te.context.src[Te.range.start-1];if(Ft!==`\n`&&Ft!==\"\t\"&&Ft!==\" \"){let Lt=\"Comments must be separated from other tokens by white space characters\";Ce.push(new U.YAMLSemanticError(Te,Lt))}}function ou(Ce,Te){let Ft=String(Te),Lt=Ft.substr(0,8)+\"...\"+Ft.substr(-8);return new U.YAMLSemanticError(Ce,`The \"${Lt}\" key is too long`)}function Ud(Ce,Te){for(let{afterKey:Ft,before:Lt,comment:nn}of Te){let Nn=Ce.items[Lt];Nn?(Ft&&Nn.value&&(Nn=Nn.value),nn===void 0?(Ft||!Nn.commentBefore)&&(Nn.spaceBefore=!0):Nn.commentBefore?Nn.commentBefore+=`\n`+nn:Nn.commentBefore=nn):nn!==void 0&&(Ce.comment?Ce.comment+=`\n`+nn:Ce.comment=nn)}}function np(Ce,Te){let Ft=Te.strValue;return Ft?typeof Ft==\"string\"?Ft:(Ft.errors.forEach(Lt=>{Lt.source||(Lt.source=Te),Ce.errors.push(Lt)}),Ft.str):\"\"}function Kd(Ce,Te){let{handle:Ft,suffix:Lt}=Te.tag,nn=Ce.tagPrefixes.find(Nn=>Nn.handle===Ft);if(!nn){let Nn=Ce.getDefaults().tagPrefixes;if(Nn&&(nn=Nn.find(Pi=>Pi.handle===Ft)),!nn)throw new U.YAMLSemanticError(Te,`The ${Ft} tag handle is non-default and was not declared.`)}if(!Lt)throw new U.YAMLSemanticError(Te,`The ${Ft} tag has no suffix.`);if(Ft===\"!\"&&(Ce.version||Ce.options.version)===\"1.0\"){if(Lt[0]===\"^\")return Ce.warnings.push(new U.YAMLWarning(Te,\"YAML 1.0 ^ tag expansion is not supported\")),Lt;if(/[:/]/.test(Lt)){let Nn=Lt.match(/^([a-z0-9-]+)\\/(.*)/i);return Nn?`tag:${Nn[1]}.yaml.org,2002:${Nn[2]}`:`tag:${Lt}`}}return nn.prefix+decodeURIComponent(Lt)}function fd(Ce,Te){let{tag:Ft,type:Lt}=Te,nn=!1;if(Ft){let{handle:Nn,suffix:Pi,verbatim:si}=Ft;if(si){if(si!==\"!\"&&si!==\"!!\")return si;let Ur=`Verbatim tags aren't resolved, so ${si} is invalid.`;Ce.errors.push(new U.YAMLSemanticError(Te,Ur))}else if(Nn===\"!\"&&!Pi)nn=!0;else try{return Kd(Ce,Te)}catch(Ur){Ce.errors.push(Ur)}}switch(Lt){case U.Type.BLOCK_FOLDED:case U.Type.BLOCK_LITERAL:case U.Type.QUOTE_DOUBLE:case U.Type.QUOTE_SINGLE:return U.defaultTags.STR;case U.Type.FLOW_MAP:case U.Type.MAP:return U.defaultTags.MAP;case U.Type.FLOW_SEQ:case U.Type.SEQ:return U.defaultTags.SEQ;case U.Type.PLAIN:return nn?U.defaultTags.STR:null;default:return null}}function Sp(Ce,Te,Ft){let{tags:Lt}=Ce.schema,nn=[];for(let Pi of Lt)if(Pi.tag===Ft)if(Pi.test)nn.push(Pi);else{let si=Pi.resolve(Ce,Te);return si instanceof qi?si:new Ji(si)}let Nn=np(Ce,Te);return typeof Nn==\"string\"&&nn.length>0?bn(Nn,nn,Lt.scalarFallback):null}function Rd(Ce){let{type:Te}=Ce;switch(Te){case U.Type.FLOW_MAP:case U.Type.MAP:return U.defaultTags.MAP;case U.Type.FLOW_SEQ:case U.Type.SEQ:return U.defaultTags.SEQ;default:return U.defaultTags.STR}}function qd(Ce,Te,Ft){try{let Lt=Sp(Ce,Te,Ft);if(Lt)return Ft&&Te.tag&&(Lt.tag=Ft),Lt}catch(Lt){return Lt.source||(Lt.source=Te),Ce.errors.push(Lt),null}try{let Lt=Rd(Te);if(!Lt)throw new Error(`The tag ${Ft} is unavailable`);let nn=`The tag ${Ft} is unavailable, falling back to ${Lt}`;Ce.warnings.push(new U.YAMLWarning(Te,nn));let Nn=Sp(Ce,Te,Lt);return Nn.tag=Ft,Nn}catch(Lt){let nn=new U.YAMLReferenceError(Te,Lt.message);return nn.stack=Lt.stack,Ce.errors.push(nn),null}}var Hf=Ce=>{if(!Ce)return!1;let{type:Te}=Ce;return Te===U.Type.MAP_KEY||Te===U.Type.MAP_VALUE||Te===U.Type.SEQ_ITEM};function kt(Ce,Te){let Ft={before:[],after:[]},Lt=!1,nn=!1,Nn=Hf(Te.context.parent)?Te.context.parent.props.concat(Te.props):Te.props;for(let{start:Pi,end:si}of Nn)switch(Te.context.src[Pi]){case U.Char.COMMENT:{if(!Te.commentHasRequiredWhitespace(Pi)){let eo=\"Comments must be separated from other tokens by white space characters\";Ce.push(new U.YAMLSemanticError(Te,eo))}let{header:Ur,valueRange:Xr}=Te;(Xr&&(Pi>Xr.start||Ur&&Pi>Ur.start)?Ft.after:Ft.before).push(Te.context.src.slice(Pi+1,si));break}case U.Char.ANCHOR:if(Lt){let Ur=\"A node can have at most one anchor\";Ce.push(new U.YAMLSemanticError(Te,Ur))}Lt=!0;break;case U.Char.TAG:if(nn){let Ur=\"A node can have at most one tag\";Ce.push(new U.YAMLSemanticError(Te,Ur))}nn=!0;break}return{comments:Ft,hasAnchor:Lt,hasTag:nn}}function Wn(Ce,Te){let{anchors:Ft,errors:Lt,schema:nn}=Ce;if(Te.type===U.Type.ALIAS){let Pi=Te.rawValue,si=Ft.getNode(Pi);if(!si){let Xr=`Aliased anchor not found: ${Pi}`;return Lt.push(new U.YAMLReferenceError(Te,Xr)),null}let Ur=new Os(si);return Ft._cstAliases.push(Ur),Ur}let Nn=fd(Ce,Te);if(Nn)return qd(Ce,Te,Nn);if(Te.type!==U.Type.PLAIN){let Pi=`Failed to resolve ${Te.type} node here`;return Lt.push(new U.YAMLSyntaxError(Te,Pi)),null}try{let Pi=np(Ce,Te);return bn(Pi,nn.tags,nn.tags.scalarFallback)}catch(Pi){return Pi.source||(Pi.source=Te),Lt.push(Pi),null}}function mi(Ce,Te){if(!Te)return null;Te.error&&Ce.errors.push(Te.error);let{comments:Ft,hasAnchor:Lt,hasTag:nn}=kt(Ce.errors,Te);if(Lt){let{anchors:Pi}=Ce,si=Te.anchor,Ur=Pi.getNode(si);Ur&&(Pi.map[Pi.newName(si)]=Ur),Pi.map[si]=Te}if(Te.type===U.Type.ALIAS&&(Lt||nn)){let Pi=\"An alias node must not specify any properties\";Ce.errors.push(new U.YAMLSemanticError(Te,Pi))}let Nn=Wn(Ce,Te);if(Nn){Nn.range=[Te.range.start,Te.range.end],Ce.options.keepCstNodes&&(Nn.cstNode=Te),Ce.options.keepNodeTypes&&(Nn.type=Te.type);let Pi=Ft.before.join(`\n`);Pi&&(Nn.commentBefore=Nn.commentBefore?`${Nn.commentBefore}\n${Pi}`:Pi);let si=Ft.after.join(`\n`);si&&(Nn.comment=Nn.comment?`${Nn.comment}\n${si}`:si)}return Te.resolved=Nn}function Ui(Ce,Te){if(Te.type!==U.Type.MAP&&Te.type!==U.Type.FLOW_MAP){let Pi=`A ${Te.type} node cannot be resolved as a mapping`;return Ce.errors.push(new U.YAMLSyntaxError(Te,Pi)),null}let{comments:Ft,items:Lt}=Te.type===U.Type.FLOW_MAP?Rr(Ce,Te):bi(Ce,Te),nn=new sa;nn.items=Lt,Ud(nn,Ft);let Nn=!1;for(let Pi=0;Pi<Lt.length;++Pi){let{key:si}=Lt[Pi];if(si instanceof qi&&(Nn=!0),Ce.schema.merge&&si&&si.value===sn){Lt[Pi]=new Ze(Lt[Pi]);let Ur=Lt[Pi].value.items,Xr=null;Ur.some(eo=>{if(eo instanceof Os){let{type:Br}=eo.source;return Br===U.Type.MAP||Br===U.Type.FLOW_MAP?!1:Xr=\"Merge nodes aliases can only point to maps\"}return Xr=\"Merge nodes can only have Alias nodes as values\"}),Xr&&Ce.errors.push(new U.YAMLSemanticError(Te,Xr))}else for(let Ur=Pi+1;Ur<Lt.length;++Ur){let{key:Xr}=Lt[Ur];if(si===Xr||si&&Xr&&Object.prototype.hasOwnProperty.call(si,\"value\")&&si.value===Xr.value){let eo=`Map keys must be unique; \"${si}\" is repeated`;Ce.errors.push(new U.YAMLSemanticError(Te,eo));break}}}if(Nn&&!Ce.options.mapAsMap){let Pi=\"Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.\";Ce.warnings.push(new U.YAMLWarning(Te,Pi))}return Te.resolved=nn,nn}var dr=Ce=>{let{context:{lineStart:Te,node:Ft,src:Lt},props:nn}=Ce;if(nn.length===0)return!1;let{start:Nn}=nn[0];if(Ft&&Nn>Ft.valueRange.start||Lt[Nn]!==U.Char.COMMENT)return!1;for(let Pi=Te;Pi<Nn;++Pi)if(Lt[Pi]===`\n`)return!1;return!0};function Jn(Ce,Te){if(!dr(Ce))return;let Ft=Ce.getPropValue(0,U.Char.COMMENT,!0),Lt=!1,nn=Te.value.commentBefore;if(nn&&nn.startsWith(Ft))Te.value.commentBefore=nn.substr(Ft.length+1),Lt=!0;else{let Nn=Te.value.comment;!Ce.node&&Nn&&Nn.startsWith(Ft)&&(Te.value.comment=Nn.substr(Ft.length+1),Lt=!0)}Lt&&(Te.comment=Ft)}function bi(Ce,Te){let Ft=[],Lt=[],nn,Nn=null;for(let Pi=0;Pi<Te.items.length;++Pi){let si=Te.items[Pi];switch(si.type){case U.Type.BLANK_LINE:Ft.push({afterKey:!!nn,before:Lt.length});break;case U.Type.COMMENT:Ft.push({afterKey:!!nn,before:Lt.length,comment:si.comment});break;case U.Type.MAP_KEY:nn!==void 0&&Lt.push(new rs(nn)),si.error&&Ce.errors.push(si.error),nn=mi(Ce,si.node),Nn=null;break;case U.Type.MAP_VALUE:{if(nn===void 0&&(nn=null),si.error&&Ce.errors.push(si.error),!si.context.atLineStart&&si.node&&si.node.type===U.Type.MAP&&!si.node.context.atLineStart){let eo=\"Nested mappings are not allowed in compact mappings\";Ce.errors.push(new U.YAMLSemanticError(si.node,eo))}let Ur=si.node;if(!Ur&&si.props.length>0){Ur=new U.PlainValue(U.Type.PLAIN,[]),Ur.context={parent:si,src:si.context.src};let eo=si.range.start+1;if(Ur.range={start:eo,end:eo},Ur.valueRange={start:eo,end:eo},typeof si.range.origStart==\"number\"){let Br=si.range.origStart+1;Ur.range.origStart=Ur.range.origEnd=Br,Ur.valueRange.origStart=Ur.valueRange.origEnd=Br}}let Xr=new rs(nn,mi(Ce,Ur));Jn(si,Xr),Lt.push(Xr),nn&&typeof Nn==\"number\"&&si.range.start>Nn+1024&&Ce.errors.push(ou(Te,nn)),nn=void 0,Nn=null}break;default:nn!==void 0&&Lt.push(new rs(nn)),nn=mi(Ce,si),Nn=si.range.start,si.error&&Ce.errors.push(si.error);e:for(let Ur=Pi+1;;++Ur){let Xr=Te.items[Ur];switch(Xr&&Xr.type){case U.Type.BLANK_LINE:case U.Type.COMMENT:continue e;case U.Type.MAP_VALUE:break e;default:{let eo=\"Implicit map keys need to be followed by map values\";Ce.errors.push(new U.YAMLSemanticError(si,eo));break e}}}if(si.valueRangeContainsNewline){let Ur=\"Implicit map keys need to be on a single line\";Ce.errors.push(new U.YAMLSemanticError(si,Ur))}}}return nn!==void 0&&Lt.push(new rs(nn)),{comments:Ft,items:Lt}}function Rr(Ce,Te){let Ft=[],Lt=[],nn,Nn=!1,Pi=\"{\";for(let si=0;si<Te.items.length;++si){let Ur=Te.items[si];if(typeof Ur.char==\"string\"){let{char:Xr,offset:eo}=Ur;if(Xr===\"?\"&&nn===void 0&&!Nn){Nn=!0,Pi=\":\";continue}if(Xr===\":\"){if(nn===void 0&&(nn=null),Pi===\":\"){Pi=\",\";continue}}else if(Nn&&(nn===void 0&&Xr!==\",\"&&(nn=null),Nn=!1),nn!==void 0&&(Lt.push(new rs(nn)),nn=void 0,Xr===\",\")){Pi=\":\";continue}if(Xr===\"}\"){if(si===Te.items.length-1)continue}else if(Xr===Pi){Pi=\":\";continue}let Br=`Flow map contains an unexpected ${Xr}`,Oo=new U.YAMLSyntaxError(Te,Br);Oo.offset=eo,Ce.errors.push(Oo)}else Ur.type===U.Type.BLANK_LINE?Ft.push({afterKey:!!nn,before:Lt.length}):Ur.type===U.Type.COMMENT?(ml(Ce.errors,Ur),Ft.push({afterKey:!!nn,before:Lt.length,comment:Ur.comment})):nn===void 0?(Pi===\",\"&&Ce.errors.push(new U.YAMLSemanticError(Ur,\"Separator , missing in flow map\")),nn=mi(Ce,Ur)):(Pi!==\",\"&&Ce.errors.push(new U.YAMLSemanticError(Ur,\"Indicator : missing in flow map entry\")),Lt.push(new rs(nn,mi(Ce,Ur))),nn=void 0,Nn=!1)}return Da(Ce.errors,Te),nn!==void 0&&Lt.push(new rs(nn)),{comments:Ft,items:Lt}}function zr(Ce,Te){if(Te.type!==U.Type.SEQ&&Te.type!==U.Type.FLOW_SEQ){let Nn=`A ${Te.type} node cannot be resolved as a sequence`;return Ce.errors.push(new U.YAMLSyntaxError(Te,Nn)),null}let{comments:Ft,items:Lt}=Te.type===U.Type.FLOW_SEQ?fi(Ce,Te):ko(Ce,Te),nn=new Yr;if(nn.items=Lt,Ud(nn,Ft),!Ce.options.mapAsMap&&Lt.some(Nn=>Nn instanceof rs&&Nn.key instanceof qi)){let Nn=\"Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.\";Ce.warnings.push(new U.YAMLWarning(Te,Nn))}return Te.resolved=nn,nn}function ko(Ce,Te){let Ft=[],Lt=[];for(let nn=0;nn<Te.items.length;++nn){let Nn=Te.items[nn];switch(Nn.type){case U.Type.BLANK_LINE:Ft.push({before:Lt.length});break;case U.Type.COMMENT:Ft.push({comment:Nn.comment,before:Lt.length});break;case U.Type.SEQ_ITEM:if(Nn.error&&Ce.errors.push(Nn.error),Lt.push(mi(Ce,Nn.node)),Nn.hasProps){let Pi=\"Sequence items cannot have tags or anchors before the - indicator\";Ce.errors.push(new U.YAMLSemanticError(Nn,Pi))}break;default:Nn.error&&Ce.errors.push(Nn.error),Ce.errors.push(new U.YAMLSyntaxError(Nn,`Unexpected ${Nn.type} node in sequence`))}}return{comments:Ft,items:Lt}}function fi(Ce,Te){let Ft=[],Lt=[],nn=!1,Nn,Pi=null,si=\"[\",Ur=null;for(let Xr=0;Xr<Te.items.length;++Xr){let eo=Te.items[Xr];if(typeof eo.char==\"string\"){let{char:Br,offset:Oo}=eo;if(Br!==\":\"&&(nn||Nn!==void 0)&&(nn&&Nn===void 0&&(Nn=si?Lt.pop():null),Lt.push(new rs(Nn)),nn=!1,Nn=void 0,Pi=null),Br===si)si=null;else if(!si&&Br===\"?\")nn=!0;else if(si!==\"[\"&&Br===\":\"&&Nn===void 0){if(si===\",\"){if(Nn=Lt.pop(),Nn instanceof rs){let Ko=\"Chaining flow sequence pairs is invalid\",Ho=new U.YAMLSemanticError(Te,Ko);Ho.offset=Oo,Ce.errors.push(Ho)}if(!nn&&typeof Pi==\"number\"){let Ko=eo.range?eo.range.start:eo.offset;Ko>Pi+1024&&Ce.errors.push(ou(Te,Nn));let{src:Ho}=Ur.context;for(let ba=Pi;ba<Ko;++ba)if(Ho[ba]===`\n`){let $t=\"Implicit keys of flow sequence pairs need to be on a single line\";Ce.errors.push(new U.YAMLSemanticError(Ur,$t));break}}}else Nn=null;Pi=null,nn=!1,si=null}else if(si===\"[\"||Br!==\"]\"||Xr<Te.items.length-1){let Ko=`Flow sequence contains an unexpected ${Br}`,Ho=new U.YAMLSyntaxError(Te,Ko);Ho.offset=Oo,Ce.errors.push(Ho)}}else if(eo.type===U.Type.BLANK_LINE)Ft.push({before:Lt.length});else if(eo.type===U.Type.COMMENT)ml(Ce.errors,eo),Ft.push({comment:eo.comment,before:Lt.length});else{if(si){let Oo=`Expected a ${si} in flow sequence`;Ce.errors.push(new U.YAMLSemanticError(eo,Oo))}let Br=mi(Ce,eo);Nn===void 0?(Lt.push(Br),Ur=eo):(Lt.push(new rs(Nn,Br)),Nn=void 0),Pi=eo.range.start,si=\",\"}}return Da(Ce.errors,Te),Nn!==void 0&&Lt.push(new rs(Nn)),{comments:Ft,items:Lt}}Ke.Alias=Os,Ke.Collection=qi,Ke.Merge=Ze,Ke.Node=$n,Ke.Pair=rs,Ke.Scalar=Ji,Ke.YAMLMap=sa,Ke.YAMLSeq=Yr,Ke.addComment=Dn,Ke.binaryOptions=be,Ke.boolOptions=ze,Ke.findPair=zs,Ke.intOptions=jt,Ke.isEmptyPath=Ls,Ke.nullOptions=Ln,Ke.resolveMap=Ui,Ke.resolveNode=mi,Ke.resolveSeq=zr,Ke.resolveString=np,Ke.strOptions=Xn,Ke.stringifyNumber=oa,Ke.stringifyString=_o,Ke.toJSON=zn}}),Od=p({\"node_modules/yaml/dist/warnings-1000a372.js\"(Ke){k();var U=xc(),Pe=ep(),Dn={identify:bn=>bn instanceof Uint8Array,default:!1,tag:\"tag:yaml.org,2002:binary\",resolve:(bn,ii)=>{let Ir=Pe.resolveString(bn,ii);if(typeof Buffer==\"function\")return Buffer.from(Ir,\"base64\");if(typeof atob==\"function\"){let gs=atob(Ir.replace(/[\\n\\r]/g,\"\")),Ys=new Uint8Array(gs.length);for(let _a=0;_a<gs.length;++_a)Ys[_a]=gs.charCodeAt(_a);return Ys}else{let gs=\"This environment does not support reading binary tags; either Buffer or atob is required\";return bn.errors.push(new U.YAMLReferenceError(ii,gs)),null}},options:Pe.binaryOptions,stringify:(bn,ii,Ir,gs)=>{let{comment:Ys,type:_a,value:Eo}=bn,pl;if(typeof Buffer==\"function\")pl=Eo instanceof Buffer?Eo.toString(\"base64\"):Buffer.from(Eo.buffer).toString(\"base64\");else if(typeof btoa==\"function\"){let Jl=\"\";for(let Tu=0;Tu<Eo.length;++Tu)Jl+=String.fromCharCode(Eo[Tu]);pl=btoa(Jl)}else throw new Error(\"This environment does not support writing binary tags; either Buffer or btoa is required\");if(_a||(_a=Pe.binaryOptions.defaultType),_a===U.Type.QUOTE_DOUBLE)Eo=pl;else{let{lineWidth:Jl}=Pe.binaryOptions,Tu=Math.ceil(pl.length/Jl),pd=new Array(Tu);for(let Cc=0,wr=0;Cc<Tu;++Cc,wr+=Jl)pd[Cc]=pl.substr(wr,Jl);Eo=pd.join(_a===U.Type.BLOCK_LITERAL?`\n`:\" \")}return Pe.stringifyString({comment:Ys,type:_a,value:Eo},ii,Ir,gs)}};function $n(bn,ii){let Ir=Pe.resolveSeq(bn,ii);for(let gs=0;gs<Ir.items.length;++gs){let Ys=Ir.items[gs];if(!(Ys instanceof Pe.Pair)){if(Ys instanceof Pe.YAMLMap){if(Ys.items.length>1){let Eo=\"Each pair must have its own sequence indicator\";throw new U.YAMLSemanticError(ii,Eo)}let _a=Ys.items[0]||new Pe.Pair;Ys.commentBefore&&(_a.commentBefore=_a.commentBefore?`${Ys.commentBefore}\n${_a.commentBefore}`:Ys.commentBefore),Ys.comment&&(_a.comment=_a.comment?`${Ys.comment}\n${_a.comment}`:Ys.comment),Ys=_a}Ir.items[gs]=Ys instanceof Pe.Pair?Ys:new Pe.Pair(Ys)}}return Ir}function zn(bn,ii,Ir){let gs=new Pe.YAMLSeq(bn);gs.tag=\"tag:yaml.org,2002:pairs\";for(let Ys of ii){let _a,Eo;if(Array.isArray(Ys))if(Ys.length===2)_a=Ys[0],Eo=Ys[1];else throw new TypeError(`Expected [key, value] tuple: ${Ys}`);else if(Ys&&Ys instanceof Object){let Jl=Object.keys(Ys);if(Jl.length===1)_a=Jl[0],Eo=Ys[_a];else throw new TypeError(`Expected { key: value } tuple: ${Ys}`)}else _a=Ys;let pl=bn.createPair(_a,Eo,Ir);gs.items.push(pl)}return gs}var Ji={default:!1,tag:\"tag:yaml.org,2002:pairs\",resolve:$n,createNode:zn},or=class extends Pe.YAMLSeq{constructor(){super(),U._defineProperty(this,\"add\",Pe.YAMLMap.prototype.add.bind(this)),U._defineProperty(this,\"delete\",Pe.YAMLMap.prototype.delete.bind(this)),U._defineProperty(this,\"get\",Pe.YAMLMap.prototype.get.bind(this)),U._defineProperty(this,\"has\",Pe.YAMLMap.prototype.has.bind(this)),U._defineProperty(this,\"set\",Pe.YAMLMap.prototype.set.bind(this)),this.tag=or.tag}toJSON(bn,ii){let Ir=new Map;ii&&ii.onCreate&&ii.onCreate(Ir);for(let gs of this.items){let Ys,_a;if(gs instanceof Pe.Pair?(Ys=Pe.toJSON(gs.key,\"\",ii),_a=Pe.toJSON(gs.value,Ys,ii)):Ys=Pe.toJSON(gs,\"\",ii),Ir.has(Ys))throw new Error(\"Ordered maps must not include duplicate keys\");Ir.set(Ys,_a)}return Ir}};U._defineProperty(or,\"tag\",\"tag:yaml.org,2002:omap\");function Ls(bn,ii){let Ir=$n(bn,ii),gs=[];for(let{key:Ys}of Ir.items)if(Ys instanceof Pe.Scalar)if(gs.includes(Ys.value)){let _a=\"Ordered maps must not include duplicate keys\";throw new U.YAMLSemanticError(ii,_a)}else gs.push(Ys.value);return Object.assign(new or,Ir)}function qi(bn,ii,Ir){let gs=zn(bn,ii,Ir),Ys=new or;return Ys.items=gs.items,Ys}var br={identify:bn=>bn instanceof Map,nodeClass:or,default:!1,tag:\"tag:yaml.org,2002:omap\",resolve:Ls,createNode:qi},Yr=class extends Pe.YAMLMap{constructor(){super(),this.tag=Yr.tag}add(bn){let ii=bn instanceof Pe.Pair?bn:new Pe.Pair(bn);Pe.findPair(this.items,ii.key)||this.items.push(ii)}get(bn,ii){let Ir=Pe.findPair(this.items,bn);return!ii&&Ir instanceof Pe.Pair?Ir.key instanceof Pe.Scalar?Ir.key.value:Ir.key:Ir}set(bn,ii){if(typeof ii!=\"boolean\")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof ii}`);let Ir=Pe.findPair(this.items,bn);Ir&&!ii?this.items.splice(this.items.indexOf(Ir),1):!Ir&&ii&&this.items.push(new Pe.Pair(bn))}toJSON(bn,ii){return super.toJSON(bn,ii,Set)}toString(bn,ii,Ir){if(!bn)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(bn,ii,Ir);throw new Error(\"Set items must all have null values\")}};U._defineProperty(Yr,\"tag\",\"tag:yaml.org,2002:set\");function Cs(bn,ii){let Ir=Pe.resolveMap(bn,ii);if(!Ir.hasAllNullValues())throw new U.YAMLSemanticError(ii,\"Set items must all have null values\");return Object.assign(new Yr,Ir)}function rs(bn,ii,Ir){let gs=new Yr;for(let Ys of ii)gs.items.push(bn.createPair(Ys,null,Ir));return gs}var Ps={identify:bn=>bn instanceof Set,nodeClass:Yr,default:!1,tag:\"tag:yaml.org,2002:set\",resolve:Cs,createNode:rs},Os=(bn,ii)=>{let Ir=ii.split(\":\").reduce((gs,Ys)=>gs*60+Number(Ys),0);return bn===\"-\"?-Ir:Ir},zs=bn=>{let{value:ii}=bn;if(isNaN(ii)||!isFinite(ii))return Pe.stringifyNumber(ii);let Ir=\"\";ii<0&&(Ir=\"-\",ii=Math.abs(ii));let gs=[ii%60];return ii<60?gs.unshift(0):(ii=Math.round((ii-gs[0])/60),gs.unshift(ii%60),ii>=60&&(ii=Math.round((ii-gs[0])/60),gs.unshift(ii))),Ir+gs.map(Ys=>Ys<10?\"0\"+String(Ys):String(Ys)).join(\":\").replace(/000000\\d*$/,\"\")},sa={identify:bn=>typeof bn==\"number\",default:!0,tag:\"tag:yaml.org,2002:int\",format:\"TIME\",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(bn,ii,Ir)=>Os(ii,Ir.replace(/_/g,\"\")),stringify:zs},sn={identify:bn=>typeof bn==\"number\",default:!0,tag:\"tag:yaml.org,2002:float\",format:\"TIME\",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*)$/,resolve:(bn,ii,Ir)=>Os(ii,Ir.replace(/_/g,\"\")),stringify:zs},Ze={identify:bn=>bn instanceof Date,default:!0,tag:\"tag:yaml.org,2002:timestamp\",test:RegExp(\"^(?:([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\\\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\\\.[0-9]+)?)(?:[ \\\\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?)$\"),resolve:(bn,ii,Ir,gs,Ys,_a,Eo,pl,Jl)=>{pl&&(pl=(pl+\"00\").substr(1,3));let Tu=Date.UTC(ii,Ir-1,gs,Ys||0,_a||0,Eo||0,pl||0);if(Jl&&Jl!==\"Z\"){let pd=Os(Jl[0],Jl.slice(1));Math.abs(pd)<30&&(pd*=60),Tu-=6e4*pd}return new Date(Tu)},stringify:bn=>{let{value:ii}=bn;return ii.toISOString().replace(/((T00:00)?:00)?\\.000Z$/,\"\")}};function be(bn){let ii=typeof T<\"u\"&&T.env||{};return bn?typeof YAML_SILENCE_DEPRECATION_WARNINGS<\"u\"?!YAML_SILENCE_DEPRECATION_WARNINGS:!ii.YAML_SILENCE_DEPRECATION_WARNINGS:typeof YAML_SILENCE_WARNINGS<\"u\"?!YAML_SILENCE_WARNINGS:!ii.YAML_SILENCE_WARNINGS}function ze(bn,ii){if(be(!1)){let Ir=typeof T<\"u\"&&T.emitWarning;Ir?Ir(bn,ii):console.warn(ii?`${ii}: ${bn}`:bn)}}function jt(bn){if(be(!0)){let ii=bn.replace(/.*yaml[/\\\\]/i,\"\").replace(/\\.js$/,\"\").replace(/\\\\/g,\"/\");ze(`The endpoint 'yaml/${ii}' will be removed in a future release.`,\"DeprecationWarning\")}}var Ln={};function Xn(bn,ii){if(!Ln[bn]&&be(!0)){Ln[bn]=!0;let Ir=`The option '${bn}' will be removed in a future release`;Ir+=ii?`, use '${ii}' instead.`:\".\",ze(Ir,\"DeprecationWarning\")}}Ke.binary=Dn,Ke.floatTime=sn,Ke.intTime=sa,Ke.omap=br,Ke.pairs=Ji,Ke.set=Ps,Ke.timestamp=Ze,Ke.warn=ze,Ke.warnFileDeprecation=jt,Ke.warnOptionDeprecation=Xn}}),gl=p({\"node_modules/yaml/dist/Schema-88e323a7.js\"(Ke){k();var U=xc(),Pe=ep(),Dn=Od();function $n(wr,_o,oa){let Da=new Pe.YAMLMap(wr);if(_o instanceof Map)for(let[ml,ou]of _o)Da.items.push(wr.createPair(ml,ou,oa));else if(_o&&typeof _o==\"object\")for(let ml of Object.keys(_o))Da.items.push(wr.createPair(ml,_o[ml],oa));return typeof wr.sortMapEntries==\"function\"&&Da.items.sort(wr.sortMapEntries),Da}var zn={createNode:$n,default:!0,nodeClass:Pe.YAMLMap,tag:\"tag:yaml.org,2002:map\",resolve:Pe.resolveMap};function Ji(wr,_o,oa){let Da=new Pe.YAMLSeq(wr);if(_o&&_o[Symbol.iterator])for(let ml of _o){let ou=wr.createNode(ml,oa.wrapScalars,null,oa);Da.items.push(ou)}return Da}var or={createNode:Ji,default:!0,nodeClass:Pe.YAMLSeq,tag:\"tag:yaml.org,2002:seq\",resolve:Pe.resolveSeq},Ls={identify:wr=>typeof wr==\"string\",default:!0,tag:\"tag:yaml.org,2002:str\",resolve:Pe.resolveString,stringify(wr,_o,oa,Da){return _o=Object.assign({actualString:!0},_o),Pe.stringifyString(wr,_o,oa,Da)},options:Pe.strOptions},qi=[zn,or,Ls],br=wr=>typeof wr==\"bigint\"||Number.isInteger(wr),Yr=(wr,_o,oa)=>Pe.intOptions.asBigInt?BigInt(wr):parseInt(_o,oa);function Cs(wr,_o,oa){let{value:Da}=wr;return br(Da)&&Da>=0?oa+Da.toString(_o):Pe.stringifyNumber(wr)}var rs={identify:wr=>wr==null,createNode:(wr,_o,oa)=>oa.wrapScalars?new Pe.Scalar(null):null,default:!0,tag:\"tag:yaml.org,2002:null\",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:Pe.nullOptions,stringify:()=>Pe.nullOptions.nullStr},Ps={identify:wr=>typeof wr==\"boolean\",default:!0,tag:\"tag:yaml.org,2002:bool\",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:wr=>wr[0]===\"t\"||wr[0]===\"T\",options:Pe.boolOptions,stringify:wr=>{let{value:_o}=wr;return _o?Pe.boolOptions.trueStr:Pe.boolOptions.falseStr}},Os={identify:wr=>br(wr)&&wr>=0,default:!0,tag:\"tag:yaml.org,2002:int\",format:\"OCT\",test:/^0o([0-7]+)$/,resolve:(wr,_o)=>Yr(wr,_o,8),options:Pe.intOptions,stringify:wr=>Cs(wr,8,\"0o\")},zs={identify:br,default:!0,tag:\"tag:yaml.org,2002:int\",test:/^[-+]?[0-9]+$/,resolve:wr=>Yr(wr,wr,10),options:Pe.intOptions,stringify:Pe.stringifyNumber},sa={identify:wr=>br(wr)&&wr>=0,default:!0,tag:\"tag:yaml.org,2002:int\",format:\"HEX\",test:/^0x([0-9a-fA-F]+)$/,resolve:(wr,_o)=>Yr(wr,_o,16),options:Pe.intOptions,stringify:wr=>Cs(wr,16,\"0x\")},sn={identify:wr=>typeof wr==\"number\",default:!0,tag:\"tag:yaml.org,2002:float\",test:/^(?:[-+]?\\.inf|(\\.nan))$/i,resolve:(wr,_o)=>_o?NaN:wr[0]===\"-\"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Pe.stringifyNumber},Ze={identify:wr=>typeof wr==\"number\",default:!0,tag:\"tag:yaml.org,2002:float\",format:\"EXP\",test:/^[-+]?(?:\\.[0-9]+|[0-9]+(?:\\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:wr=>parseFloat(wr),stringify:wr=>{let{value:_o}=wr;return Number(_o).toExponential()}},be={identify:wr=>typeof wr==\"number\",default:!0,tag:\"tag:yaml.org,2002:float\",test:/^[-+]?(?:\\.([0-9]+)|[0-9]+\\.([0-9]*))$/,resolve(wr,_o,oa){let Da=_o||oa,ml=new Pe.Scalar(parseFloat(wr));return Da&&Da[Da.length-1]===\"0\"&&(ml.minFractionDigits=Da.length),ml},stringify:Pe.stringifyNumber},ze=qi.concat([rs,Ps,Os,zs,sa,sn,Ze,be]),jt=wr=>typeof wr==\"bigint\"||Number.isInteger(wr),Ln=wr=>{let{value:_o}=wr;return JSON.stringify(_o)},Xn=[zn,or,{identify:wr=>typeof wr==\"string\",default:!0,tag:\"tag:yaml.org,2002:str\",resolve:Pe.resolveString,stringify:Ln},{identify:wr=>wr==null,createNode:(wr,_o,oa)=>oa.wrapScalars?new Pe.Scalar(null):null,default:!0,tag:\"tag:yaml.org,2002:null\",test:/^null$/,resolve:()=>null,stringify:Ln},{identify:wr=>typeof wr==\"boolean\",default:!0,tag:\"tag:yaml.org,2002:bool\",test:/^true|false$/,resolve:wr=>wr===\"true\",stringify:Ln},{identify:jt,default:!0,tag:\"tag:yaml.org,2002:int\",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:wr=>Pe.intOptions.asBigInt?BigInt(wr):parseInt(wr,10),stringify:wr=>{let{value:_o}=wr;return jt(_o)?_o.toString():JSON.stringify(_o)}},{identify:wr=>typeof wr==\"number\",default:!0,tag:\"tag:yaml.org,2002:float\",test:/^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:wr=>parseFloat(wr),stringify:Ln}];Xn.scalarFallback=wr=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(wr)}`)};var bn=wr=>{let{value:_o}=wr;return _o?Pe.boolOptions.trueStr:Pe.boolOptions.falseStr},ii=wr=>typeof wr==\"bigint\"||Number.isInteger(wr);function Ir(wr,_o,oa){let Da=_o.replace(/_/g,\"\");if(Pe.intOptions.asBigInt){switch(oa){case 2:Da=`0b${Da}`;break;case 8:Da=`0o${Da}`;break;case 16:Da=`0x${Da}`;break}let ou=BigInt(Da);return wr===\"-\"?BigInt(-1)*ou:ou}let ml=parseInt(Da,oa);return wr===\"-\"?-1*ml:ml}function gs(wr,_o,oa){let{value:Da}=wr;if(ii(Da)){let ml=Da.toString(_o);return Da<0?\"-\"+oa+ml.substr(1):oa+ml}return Pe.stringifyNumber(wr)}var Ys=qi.concat([{identify:wr=>wr==null,createNode:(wr,_o,oa)=>oa.wrapScalars?new Pe.Scalar(null):null,default:!0,tag:\"tag:yaml.org,2002:null\",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:Pe.nullOptions,stringify:()=>Pe.nullOptions.nullStr},{identify:wr=>typeof wr==\"boolean\",default:!0,tag:\"tag:yaml.org,2002:bool\",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>!0,options:Pe.boolOptions,stringify:bn},{identify:wr=>typeof wr==\"boolean\",default:!0,tag:\"tag:yaml.org,2002:bool\",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>!1,options:Pe.boolOptions,stringify:bn},{identify:ii,default:!0,tag:\"tag:yaml.org,2002:int\",format:\"BIN\",test:/^([-+]?)0b([0-1_]+)$/,resolve:(wr,_o,oa)=>Ir(_o,oa,2),stringify:wr=>gs(wr,2,\"0b\")},{identify:ii,default:!0,tag:\"tag:yaml.org,2002:int\",format:\"OCT\",test:/^([-+]?)0([0-7_]+)$/,resolve:(wr,_o,oa)=>Ir(_o,oa,8),stringify:wr=>gs(wr,8,\"0\")},{identify:ii,default:!0,tag:\"tag:yaml.org,2002:int\",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(wr,_o,oa)=>Ir(_o,oa,10),stringify:Pe.stringifyNumber},{identify:ii,default:!0,tag:\"tag:yaml.org,2002:int\",format:\"HEX\",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(wr,_o,oa)=>Ir(_o,oa,16),stringify:wr=>gs(wr,16,\"0x\")},{identify:wr=>typeof wr==\"number\",default:!0,tag:\"tag:yaml.org,2002:float\",test:/^(?:[-+]?\\.inf|(\\.nan))$/i,resolve:(wr,_o)=>_o?NaN:wr[0]===\"-\"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Pe.stringifyNumber},{identify:wr=>typeof wr==\"number\",default:!0,tag:\"tag:yaml.org,2002:float\",format:\"EXP\",test:/^[-+]?([0-9][0-9_]*)?(\\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:wr=>parseFloat(wr.replace(/_/g,\"\")),stringify:wr=>{let{value:_o}=wr;return Number(_o).toExponential()}},{identify:wr=>typeof wr==\"number\",default:!0,tag:\"tag:yaml.org,2002:float\",test:/^[-+]?(?:[0-9][0-9_]*)?\\.([0-9_]*)$/,resolve(wr,_o){let oa=new Pe.Scalar(parseFloat(wr.replace(/_/g,\"\")));if(_o){let Da=_o.replace(/_/g,\"\");Da[Da.length-1]===\"0\"&&(oa.minFractionDigits=Da.length)}return oa},stringify:Pe.stringifyNumber}],Dn.binary,Dn.omap,Dn.pairs,Dn.set,Dn.intTime,Dn.floatTime,Dn.timestamp),_a={core:ze,failsafe:qi,json:Xn,yaml11:Ys},Eo={binary:Dn.binary,bool:Ps,float:be,floatExp:Ze,floatNaN:sn,floatTime:Dn.floatTime,int:zs,intHex:sa,intOct:Os,intTime:Dn.intTime,map:zn,null:rs,omap:Dn.omap,pairs:Dn.pairs,seq:or,set:Dn.set,timestamp:Dn.timestamp};function pl(wr,_o,oa){if(_o){let Da=oa.filter(ou=>ou.tag===_o),ml=Da.find(ou=>!ou.format)||Da[0];if(!ml)throw new Error(`Tag ${_o} not found`);return ml}return oa.find(Da=>(Da.identify&&Da.identify(wr)||Da.class&&wr instanceof Da.class)&&!Da.format)}function Jl(wr,_o,oa){if(wr instanceof Pe.Node)return wr;let{defaultPrefix:Da,onTagObj:ml,prevObjects:ou,schema:Ud,wrapScalars:np}=oa;_o&&_o.startsWith(\"!!\")&&(_o=Da+_o.slice(2));let Kd=pl(wr,_o,Ud.tags);if(!Kd){if(typeof wr.toJSON==\"function\"&&(wr=wr.toJSON()),!wr||typeof wr!=\"object\")return np?new Pe.Scalar(wr):wr;Kd=wr instanceof Map?zn:wr[Symbol.iterator]?or:zn}ml&&(ml(Kd),delete oa.onTagObj);let fd={value:void 0,node:void 0};if(wr&&typeof wr==\"object\"&&ou){let Sp=ou.get(wr);if(Sp){let Rd=new Pe.Alias(Sp);return oa.aliasNodes.push(Rd),Rd}fd.value=wr,ou.set(wr,fd)}return fd.node=Kd.createNode?Kd.createNode(oa.schema,wr,oa):np?new Pe.Scalar(wr):wr,_o&&fd.node instanceof Pe.Node&&(fd.node.tag=_o),fd.node}function Tu(wr,_o,oa,Da){let ml=wr[Da.replace(/\\W/g,\"\")];if(!ml){let ou=Object.keys(wr).map(Ud=>JSON.stringify(Ud)).join(\", \");throw new Error(`Unknown schema \"${Da}\"; use one of ${ou}`)}if(Array.isArray(oa))for(let ou of oa)ml=ml.concat(ou);else typeof oa==\"function\"&&(ml=oa(ml.slice()));for(let ou=0;ou<ml.length;++ou){let Ud=ml[ou];if(typeof Ud==\"string\"){let np=_o[Ud];if(!np){let Kd=Object.keys(_o).map(fd=>JSON.stringify(fd)).join(\", \");throw new Error(`Unknown custom tag \"${Ud}\"; use one of ${Kd}`)}ml[ou]=np}}return ml}var pd=(wr,_o)=>wr.key<_o.key?-1:wr.key>_o.key?1:0,Cc=class{constructor(wr){let{customTags:_o,merge:oa,schema:Da,sortMapEntries:ml,tags:ou}=wr;this.merge=!!oa,this.name=Da,this.sortMapEntries=ml===!0?pd:ml||null,!_o&&ou&&Dn.warnOptionDeprecation(\"tags\",\"customTags\"),this.tags=Tu(_a,Eo,_o||ou,Da)}createNode(wr,_o,oa,Da){let ml={defaultPrefix:Cc.defaultPrefix,schema:this,wrapScalars:_o},ou=Da?Object.assign(Da,ml):ml;return Jl(wr,oa,ou)}createPair(wr,_o,oa){oa||(oa={wrapScalars:!0});let Da=this.createNode(wr,oa.wrapScalars,null,oa),ml=this.createNode(_o,oa.wrapScalars,null,oa);return new Pe.Pair(Da,ml)}};U._defineProperty(Cc,\"defaultPrefix\",U.defaultTagPrefix),U._defineProperty(Cc,\"defaultTags\",U.defaultTags),Ke.Schema=Cc}}),Md=p({\"node_modules/yaml/dist/Document-9b4560a1.js\"(Ke){k();var U=xc(),Pe=ep(),Dn=gl(),$n={anchorPrefix:\"a\",customTags:null,indent:2,indentSeq:!0,keepCstNodes:!1,keepNodeTypes:!0,keepBlobsInJSON:!0,mapAsMap:!1,maxAliasCount:100,prettyErrors:!1,simpleKeys:!1,version:\"1.2\"},zn={get binary(){return Pe.binaryOptions},set binary(be){Object.assign(Pe.binaryOptions,be)},get bool(){return Pe.boolOptions},set bool(be){Object.assign(Pe.boolOptions,be)},get int(){return Pe.intOptions},set int(be){Object.assign(Pe.intOptions,be)},get null(){return Pe.nullOptions},set null(be){Object.assign(Pe.nullOptions,be)},get str(){return Pe.strOptions},set str(be){Object.assign(Pe.strOptions,be)}},Ji={\"1.0\":{schema:\"yaml-1.1\",merge:!0,tagPrefixes:[{handle:\"!\",prefix:U.defaultTagPrefix},{handle:\"!!\",prefix:\"tag:private.yaml.org,2002:\"}]},1.1:{schema:\"yaml-1.1\",merge:!0,tagPrefixes:[{handle:\"!\",prefix:\"!\"},{handle:\"!!\",prefix:U.defaultTagPrefix}]},1.2:{schema:\"core\",merge:!1,tagPrefixes:[{handle:\"!\",prefix:\"!\"},{handle:\"!!\",prefix:U.defaultTagPrefix}]}};function or(be,ze){if((be.version||be.options.version)===\"1.0\"){let Xn=ze.match(/^tag:private\\.yaml\\.org,2002:([^:/]+)$/);if(Xn)return\"!\"+Xn[1];let bn=ze.match(/^tag:([a-zA-Z0-9-]+)\\.yaml\\.org,2002:(.*)/);return bn?`!${bn[1]}/${bn[2]}`:`!${ze.replace(/^tag:/,\"\")}`}let jt=be.tagPrefixes.find(Xn=>ze.indexOf(Xn.prefix)===0);if(!jt){let Xn=be.getDefaults().tagPrefixes;jt=Xn&&Xn.find(bn=>ze.indexOf(bn.prefix)===0)}if(!jt)return ze[0]===\"!\"?ze:`!<${ze}>`;let Ln=ze.substr(jt.prefix.length).replace(/[!,[\\]{}]/g,Xn=>({\"!\":\"%21\",\",\":\"%2C\",\"[\":\"%5B\",\"]\":\"%5D\",\"{\":\"%7B\",\"}\":\"%7D\"})[Xn]);return jt.handle+Ln}function Ls(be,ze){if(ze instanceof Pe.Alias)return Pe.Alias;if(ze.tag){let Xn=be.filter(bn=>bn.tag===ze.tag);if(Xn.length>0)return Xn.find(bn=>bn.format===ze.format)||Xn[0]}let jt,Ln;if(ze instanceof Pe.Scalar){Ln=ze.value;let Xn=be.filter(bn=>bn.identify&&bn.identify(Ln)||bn.class&&Ln instanceof bn.class);jt=Xn.find(bn=>bn.format===ze.format)||Xn.find(bn=>!bn.format)}else Ln=ze,jt=be.find(Xn=>Xn.nodeClass&&Ln instanceof Xn.nodeClass);if(!jt){let Xn=Ln&&Ln.constructor?Ln.constructor.name:typeof Ln;throw new Error(`Tag not resolved for ${Xn} value`)}return jt}function qi(be,ze,jt){let{anchors:Ln,doc:Xn}=jt,bn=[],ii=Xn.anchors.getName(be);return ii&&(Ln[ii]=be,bn.push(`&${ii}`)),be.tag?bn.push(or(Xn,be.tag)):ze.default||bn.push(or(Xn,ze.tag)),bn.join(\" \")}function br(be,ze,jt,Ln){let{anchors:Xn,schema:bn}=ze.doc,ii;if(!(be instanceof Pe.Node)){let Ys={aliasNodes:[],onTagObj:_a=>ii=_a,prevObjects:new Map};be=bn.createNode(be,!0,null,Ys);for(let _a of Ys.aliasNodes){_a.source=_a.source.node;let Eo=Xn.getName(_a.source);Eo||(Eo=Xn.newName(),Xn.map[Eo]=_a.source)}}if(be instanceof Pe.Pair)return be.toString(ze,jt,Ln);ii||(ii=Ls(bn.tags,be));let Ir=qi(be,ii,ze);Ir.length>0&&(ze.indentAtStart=(ze.indentAtStart||0)+Ir.length+1);let gs=typeof ii.stringify==\"function\"?ii.stringify(be,ze,jt,Ln):be instanceof Pe.Scalar?Pe.stringifyString(be,ze,jt,Ln):be.toString(ze,jt,Ln);return Ir?be instanceof Pe.Scalar||gs[0]===\"{\"||gs[0]===\"[\"?`${Ir} ${gs}`:`${Ir}\n${ze.indent}${gs}`:gs}var Yr=class{static validAnchorNode(be){return be instanceof Pe.Scalar||be instanceof Pe.YAMLSeq||be instanceof Pe.YAMLMap}constructor(be){U._defineProperty(this,\"map\",Object.create(null)),this.prefix=be}createAlias(be,ze){return this.setAnchor(be,ze),new Pe.Alias(be)}createMergePair(){let be=new Pe.Merge;for(var ze=arguments.length,jt=new Array(ze),Ln=0;Ln<ze;Ln++)jt[Ln]=arguments[Ln];return be.value.items=jt.map(Xn=>{if(Xn instanceof Pe.Alias){if(Xn.source instanceof Pe.YAMLMap)return Xn}else if(Xn instanceof Pe.YAMLMap)return this.createAlias(Xn);throw new Error(\"Merge sources must be Map nodes or their Aliases\")}),be}getName(be){let{map:ze}=this;return Object.keys(ze).find(jt=>ze[jt]===be)}getNames(){return Object.keys(this.map)}getNode(be){return this.map[be]}newName(be){be||(be=this.prefix);let ze=Object.keys(this.map);for(let jt=1;;++jt){let Ln=`${be}${jt}`;if(!ze.includes(Ln))return Ln}}resolveNodes(){let{map:be,_cstAliases:ze}=this;Object.keys(be).forEach(jt=>{be[jt]=be[jt].resolved}),ze.forEach(jt=>{jt.source=jt.source.resolved}),delete this._cstAliases}setAnchor(be,ze){if(be!=null&&!Yr.validAnchorNode(be))throw new Error(\"Anchors may only be set for Scalar, Seq and Map nodes\");if(ze&&/[\\x00-\\x19\\s,[\\]{}]/.test(ze))throw new Error(\"Anchor names must not contain whitespace or control characters\");let{map:jt}=this,Ln=be&&Object.keys(jt).find(Xn=>jt[Xn]===be);if(Ln)if(ze)Ln!==ze&&(delete jt[Ln],jt[ze]=be);else return Ln;else{if(!ze){if(!be)return null;ze=this.newName()}jt[ze]=be}return ze}},Cs=(be,ze)=>{if(be&&typeof be==\"object\"){let{tag:jt}=be;be instanceof Pe.Collection?(jt&&(ze[jt]=!0),be.items.forEach(Ln=>Cs(Ln,ze))):be instanceof Pe.Pair?(Cs(be.key,ze),Cs(be.value,ze)):be instanceof Pe.Scalar&&jt&&(ze[jt]=!0)}return ze},rs=be=>Object.keys(Cs(be,{}));function Ps(be,ze){let jt={before:[],after:[]},Ln,Xn=!1;for(let bn of ze)if(bn.valueRange){if(Ln!==void 0){let Ir=\"Document contains trailing content not separated by a ... or --- line\";be.errors.push(new U.YAMLSyntaxError(bn,Ir));break}let ii=Pe.resolveNode(be,bn);Xn&&(ii.spaceBefore=!0,Xn=!1),Ln=ii}else bn.comment!==null?(Ln===void 0?jt.before:jt.after).push(bn.comment):bn.type===U.Type.BLANK_LINE&&(Xn=!0,Ln===void 0&&jt.before.length>0&&!be.commentBefore&&(be.commentBefore=jt.before.join(`\n`),jt.before=[]));if(be.contents=Ln||null,!Ln)be.comment=jt.before.concat(jt.after).join(`\n`)||null;else{let bn=jt.before.join(`\n`);if(bn){let ii=Ln instanceof Pe.Collection&&Ln.items[0]?Ln.items[0]:Ln;ii.commentBefore=ii.commentBefore?`${bn}\n${ii.commentBefore}`:bn}be.comment=jt.after.join(`\n`)||null}}function Os(be,ze){let{tagPrefixes:jt}=be,[Ln,Xn]=ze.parameters;if(!Ln||!Xn){let bn=\"Insufficient parameters given for %TAG directive\";throw new U.YAMLSemanticError(ze,bn)}if(jt.some(bn=>bn.handle===Ln)){let bn=\"The %TAG directive must only be given at most once per handle in the same document.\";throw new U.YAMLSemanticError(ze,bn)}return{handle:Ln,prefix:Xn}}function zs(be,ze){let[jt]=ze.parameters;if(ze.name===\"YAML:1.0\"&&(jt=\"1.0\"),!jt){let Ln=\"Insufficient parameters given for %YAML directive\";throw new U.YAMLSemanticError(ze,Ln)}if(!Ji[jt]){let Ln=`Document will be parsed as YAML ${be.version||be.options.version} rather than YAML ${jt}`;be.warnings.push(new U.YAMLWarning(ze,Ln))}return jt}function sa(be,ze,jt){let Ln=[],Xn=!1;for(let bn of ze){let{comment:ii,name:Ir}=bn;switch(Ir){case\"TAG\":try{be.tagPrefixes.push(Os(be,bn))}catch(gs){be.errors.push(gs)}Xn=!0;break;case\"YAML\":case\"YAML:1.0\":if(be.version){let gs=\"The %YAML directive must only be given at most once per document.\";be.errors.push(new U.YAMLSemanticError(bn,gs))}try{be.version=zs(be,bn)}catch(gs){be.errors.push(gs)}Xn=!0;break;default:if(Ir){let gs=`YAML only supports %TAG and %YAML directives, and not %${Ir}`;be.warnings.push(new U.YAMLWarning(bn,gs))}}ii&&Ln.push(ii)}if(jt&&!Xn&&(be.version||jt.version||be.options.version)===\"1.1\"){let bn=ii=>{let{handle:Ir,prefix:gs}=ii;return{handle:Ir,prefix:gs}};be.tagPrefixes=jt.tagPrefixes.map(bn),be.version=jt.version}be.commentBefore=Ln.join(`\n`)||null}function sn(be){if(be instanceof Pe.Collection)return!0;throw new Error(\"Expected a YAML collection as document contents\")}var Ze=class{constructor(be){this.anchors=new Yr(be.anchorPrefix),this.commentBefore=null,this.comment=null,this.contents=null,this.directivesEndMarker=null,this.errors=[],this.options=be,this.schema=null,this.tagPrefixes=[],this.version=null,this.warnings=[]}add(be){return sn(this.contents),this.contents.add(be)}addIn(be,ze){sn(this.contents),this.contents.addIn(be,ze)}delete(be){return sn(this.contents),this.contents.delete(be)}deleteIn(be){return Pe.isEmptyPath(be)?this.contents==null?!1:(this.contents=null,!0):(sn(this.contents),this.contents.deleteIn(be))}getDefaults(){return Ze.defaults[this.version]||Ze.defaults[this.options.version]||{}}get(be,ze){return this.contents instanceof Pe.Collection?this.contents.get(be,ze):void 0}getIn(be,ze){return Pe.isEmptyPath(be)?!ze&&this.contents instanceof Pe.Scalar?this.contents.value:this.contents:this.contents instanceof Pe.Collection?this.contents.getIn(be,ze):void 0}has(be){return this.contents instanceof Pe.Collection?this.contents.has(be):!1}hasIn(be){return Pe.isEmptyPath(be)?this.contents!==void 0:this.contents instanceof Pe.Collection?this.contents.hasIn(be):!1}set(be,ze){sn(this.contents),this.contents.set(be,ze)}setIn(be,ze){Pe.isEmptyPath(be)?this.contents=ze:(sn(this.contents),this.contents.setIn(be,ze))}setSchema(be,ze){if(!be&&!ze&&this.schema)return;typeof be==\"number\"&&(be=be.toFixed(1)),be===\"1.0\"||be===\"1.1\"||be===\"1.2\"?(this.version?this.version=be:this.options.version=be,delete this.options.schema):be&&typeof be==\"string\"&&(this.options.schema=be),Array.isArray(ze)&&(this.options.customTags=ze);let jt=Object.assign({},this.getDefaults(),this.options);this.schema=new Dn.Schema(jt)}parse(be,ze){this.options.keepCstNodes&&(this.cstNode=be),this.options.keepNodeTypes&&(this.type=\"DOCUMENT\");let{directives:jt=[],contents:Ln=[],directivesEndMarker:Xn,error:bn,valueRange:ii}=be;if(bn&&(bn.source||(bn.source=this),this.errors.push(bn)),sa(this,jt,ze),Xn&&(this.directivesEndMarker=!0),this.range=ii?[ii.start,ii.end]:null,this.setSchema(),this.anchors._cstAliases=[],Ps(this,Ln),this.anchors.resolveNodes(),this.options.prettyErrors){for(let Ir of this.errors)Ir instanceof U.YAMLError&&Ir.makePretty();for(let Ir of this.warnings)Ir instanceof U.YAMLError&&Ir.makePretty()}return this}listNonDefaultTags(){return rs(this.contents).filter(be=>be.indexOf(Dn.Schema.defaultPrefix)!==0)}setTagPrefix(be,ze){if(be[0]!==\"!\"||be[be.length-1]!==\"!\")throw new Error(\"Handle must start and end with !\");if(ze){let jt=this.tagPrefixes.find(Ln=>Ln.handle===be);jt?jt.prefix=ze:this.tagPrefixes.push({handle:be,prefix:ze})}else this.tagPrefixes=this.tagPrefixes.filter(jt=>jt.handle!==be)}toJSON(be,ze){let{keepBlobsInJSON:jt,mapAsMap:Ln,maxAliasCount:Xn}=this.options,bn=jt&&(typeof be!=\"string\"||!(this.contents instanceof Pe.Scalar)),ii={doc:this,indentStep:\"  \",keep:bn,mapAsMap:bn&&!!Ln,maxAliasCount:Xn,stringify:br},Ir=Object.keys(this.anchors.map);Ir.length>0&&(ii.anchors=new Map(Ir.map(Ys=>[this.anchors.map[Ys],{alias:[],aliasCount:0,count:1}])));let gs=Pe.toJSON(this.contents,be,ii);if(typeof ze==\"function\"&&ii.anchors)for(let{count:Ys,res:_a}of ii.anchors.values())ze(_a,Ys);return gs}toString(){if(this.errors.length>0)throw new Error(\"Document with errors cannot be stringified\");let be=this.options.indent;if(!Number.isInteger(be)||be<=0){let Ir=JSON.stringify(be);throw new Error(`\"indent\" option must be a positive integer, not ${Ir}`)}this.setSchema();let ze=[],jt=!1;if(this.version){let Ir=\"%YAML 1.2\";this.schema.name===\"yaml-1.1\"&&(this.version===\"1.0\"?Ir=\"%YAML:1.0\":this.version===\"1.1\"&&(Ir=\"%YAML 1.1\")),ze.push(Ir),jt=!0}let Ln=this.listNonDefaultTags();this.tagPrefixes.forEach(Ir=>{let{handle:gs,prefix:Ys}=Ir;Ln.some(_a=>_a.indexOf(Ys)===0)&&(ze.push(`%TAG ${gs} ${Ys}`),jt=!0)}),(jt||this.directivesEndMarker)&&ze.push(\"---\"),this.commentBefore&&((jt||!this.directivesEndMarker)&&ze.unshift(\"\"),ze.unshift(this.commentBefore.replace(/^/gm,\"#\")));let Xn={anchors:Object.create(null),doc:this,indent:\"\",indentStep:\" \".repeat(be),stringify:br},bn=!1,ii=null;if(this.contents){this.contents instanceof Pe.Node&&(this.contents.spaceBefore&&(jt||this.directivesEndMarker)&&ze.push(\"\"),this.contents.commentBefore&&ze.push(this.contents.commentBefore.replace(/^/gm,\"#\")),Xn.forceBlockIndent=!!this.comment,ii=this.contents.comment);let Ir=ii?null:()=>bn=!0,gs=br(this.contents,Xn,()=>ii=null,Ir);ze.push(Pe.addComment(gs,\"\",ii))}else this.contents!==void 0&&ze.push(br(this.contents,Xn));return this.comment&&((!bn||ii)&&ze[ze.length-1]!==\"\"&&ze.push(\"\"),ze.push(this.comment.replace(/^/gm,\"#\"))),ze.join(`\n`)+`\n`}};U._defineProperty(Ze,\"defaults\",Ji),Ke.Document=Ze,Ke.defaultOptions=$n,Ke.scalarOptions=zn}}),oh=p({\"node_modules/yaml/dist/index.js\"(Ke){k();var U=Vc(),Pe=Md(),Dn=gl(),$n=xc(),zn=Od();ep();function Ji(rs){let Ps=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Os=arguments.length>2?arguments[2]:void 0;Os===void 0&&typeof Ps==\"string\"&&(Os=Ps,Ps=!0);let zs=Object.assign({},Pe.Document.defaults[Pe.defaultOptions.version],Pe.defaultOptions);return new Dn.Schema(zs).createNode(rs,Ps,Os)}var or=class extends Pe.Document{constructor(rs){super(Object.assign({},Pe.defaultOptions,rs))}};function Ls(rs,Ps){let Os=[],zs;for(let sa of U.parse(rs)){let sn=new or(Ps);sn.parse(sa,zs),Os.push(sn),zs=sn}return Os}function qi(rs,Ps){let Os=U.parse(rs),zs=new or(Ps).parse(Os[0]);if(Os.length>1){let sa=\"Source contains multiple documents; please use YAML.parseAllDocuments()\";zs.errors.unshift(new $n.YAMLSemanticError(Os[1],sa))}return zs}function br(rs,Ps){let Os=qi(rs,Ps);if(Os.warnings.forEach(zs=>zn.warn(zs)),Os.errors.length>0)throw Os.errors[0];return Os.toJSON()}function Yr(rs,Ps){let Os=new or(Ps);return Os.contents=rs,String(Os)}var Cs={createNode:Ji,defaultOptions:Pe.defaultOptions,Document:or,parse:br,parseAllDocuments:Ls,parseCST:U.parse,parseDocument:qi,scalarOptions:Pe.scalarOptions,stringify:Yr};Ke.YAML=Cs}}),bf=p({\"node_modules/yaml/index.js\"(Ke,U){k(),U.exports=oh().YAML}}),vf=p({\"node_modules/yaml/dist/util.js\"(Ke){k();var U=ep(),Pe=xc();Ke.findPair=U.findPair,Ke.parseMap=U.resolveMap,Ke.parseSeq=U.resolveSeq,Ke.stringifyNumber=U.stringifyNumber,Ke.stringifyString=U.stringifyString,Ke.toJSON=U.toJSON,Ke.Type=Pe.Type,Ke.YAMLError=Pe.YAMLError,Ke.YAMLReferenceError=Pe.YAMLReferenceError,Ke.YAMLSemanticError=Pe.YAMLSemanticError,Ke.YAMLSyntaxError=Pe.YAMLSyntaxError,Ke.YAMLWarning=Pe.YAMLWarning}}),Wp=p({\"node_modules/yaml/util.js\"(Ke){k();var U=vf();Ke.findPair=U.findPair,Ke.toJSON=U.toJSON,Ke.parseMap=U.parseMap,Ke.parseSeq=U.parseSeq,Ke.stringifyNumber=U.stringifyNumber,Ke.stringifyString=U.stringifyString,Ke.Type=U.Type,Ke.YAMLError=U.YAMLError,Ke.YAMLReferenceError=U.YAMLReferenceError,Ke.YAMLSemanticError=U.YAMLSemanticError,Ke.YAMLSyntaxError=U.YAMLSyntaxError,Ke.YAMLWarning=U.YAMLWarning}}),Cf=p({\"node_modules/yaml-unist-parser/lib/yaml.js\"(Ke){k(),Ke.__esModule=!0;var U=bf();Ke.Document=U.Document;var Pe=bf();Ke.parseCST=Pe.parseCST;var Dn=Wp();Ke.YAMLError=Dn.YAMLError,Ke.YAMLSyntaxError=Dn.YAMLSyntaxError,Ke.YAMLSemanticError=Dn.YAMLSemanticError}}),Vp=p({\"node_modules/yaml-unist-parser/lib/parse.js\"(Ke){k(),Ke.__esModule=!0;var U=Qc(),Pe=jp(),Dn=Ed(),$n=wp(),zn=Ha(),Ji=ra(),or=Un(),Ls=uc(),qi=Zc(),br=Ku(),Yr=Pd(),Cs=Yu(),rs=Cf();function Ps(Os){var zs=rs.parseCST(Os);br.addOrigRange(zs);for(var sa=zs.map(function(gs){return new rs.Document({merge:!1,keepCstNodes:!0}).parse(gs)}),sn=new U.default(Os),Ze=[],be={text:Os,locator:sn,comments:Ze,transformOffset:function(gs){return Ls.transformOffset(gs,be)},transformRange:function(gs){return qi.transformRange(gs,be)},transformNode:function(gs){return zn.transformNode(gs,be)},transformContent:function(gs){return Ji.transformContent(gs,be)}},ze=0,jt=sa;ze<jt.length;ze++)for(var Ln=jt[ze],Xn=0,bn=Ln.errors;Xn<bn.length;Xn++){var ii=bn[Xn];if(!(ii instanceof rs.YAMLSemanticError&&ii.message==='Map keys must be unique; \"<<\" is repeated'))throw or.transformError(ii,be)}sa.forEach(function(gs){return $n.removeCstBlankLine(gs.cstNode)});var Ir=Dn.createRoot(be.transformRange({origStart:0,origEnd:be.text.length}),sa.map(be.transformNode),Ze);return Pe.attachComments(Ir),Cs.updatePositions(Ir),Yr.removeFakeNodes(Ir),Ir}Ke.parse=Ps}}),hd=p({\"node_modules/yaml-unist-parser/lib/index.js\"(Ke){k(),Ke.__esModule=!0;var U=(Ka(),D(re));U.__exportStar(Vp(),Ke)}});k();var tp=I(),{hasPragma:Ia}=F(),{locStart:eg,locEnd:$g}=q();function ed(Ke){let{parse:U}=hd();try{let Pe=U(Ke);return delete Pe.comments,Pe}catch(Pe){throw Pe!=null&&Pe.position?tp(Pe.message,Pe.position):Pe}}var Hp={astFormat:\"yaml\",parse:ed,hasPragma:Ia,locStart:eg,locEnd:$g};s.exports={parsers:{yaml:Hp}}});return n()})})(yge);var RJe=BE(yge.exports),bge={exports:{}};(function(o,e){(function(t){o.exports=t()})(function(){var t=(Qs,Dr)=>()=>(Dr||Qs((Dr={exports:{}}).exports,Dr),Dr.exports),n=t((Qs,Dr)=>{var Ar=function(li){return li&&li.Math==Math&&li};Dr.exports=Ar(typeof globalThis==\"object\"&&globalThis)||Ar(typeof window==\"object\"&&window)||Ar(typeof self==\"object\"&&self)||Ar(typeof K1==\"object\"&&K1)||function(){return this}()||Function(\"return this\")()}),i=t((Qs,Dr)=>{Dr.exports=function(Ar){try{return!!Ar()}catch{return!0}}}),s=t((Qs,Dr)=>{var Ar=i();Dr.exports=!Ar(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),a=t((Qs,Dr)=>{var Ar=i();Dr.exports=!Ar(function(){var li=function(){}.bind();return typeof li!=\"function\"||li.hasOwnProperty(\"prototype\")})}),l=t((Qs,Dr)=>{var Ar=a(),li=Function.prototype.call;Dr.exports=Ar?li.bind(li):function(){return li.apply(li,arguments)}}),u=t(Qs=>{var Dr={}.propertyIsEnumerable,Ar=Object.getOwnPropertyDescriptor,li=Ar&&!Dr.call({1:2},1);Qs.f=li?function(gn){var kn=Ar(this,gn);return!!kn&&kn.enumerable}:Dr}),d=t((Qs,Dr)=>{Dr.exports=function(Ar,li){return{enumerable:!(Ar&1),configurable:!(Ar&2),writable:!(Ar&4),value:li}}}),h=t((Qs,Dr)=>{var Ar=a(),li=Function.prototype,gn=li.call,kn=Ar&&li.bind.bind(gn,gn);Dr.exports=Ar?kn:function(ei){return function(){return gn.apply(ei,arguments)}}}),p=t((Qs,Dr)=>{var Ar=h(),li=Ar({}.toString),gn=Ar(\"\".slice);Dr.exports=function(kn){return gn(li(kn),8,-1)}}),g=t((Qs,Dr)=>{var Ar=h(),li=i(),gn=p(),kn=Object,ei=Ar(\"\".split);Dr.exports=li(function(){return!kn(\"z\").propertyIsEnumerable(0)})?function(Yt){return gn(Yt)==\"String\"?ei(Yt,\"\"):kn(Yt)}:kn}),y=t((Qs,Dr)=>{Dr.exports=function(Ar){return Ar==null}}),D=t((Qs,Dr)=>{var Ar=y(),li=TypeError;Dr.exports=function(gn){if(Ar(gn))throw li(\"Can't call method on \"+gn);return gn}}),T=t((Qs,Dr)=>{var Ar=g(),li=D();Dr.exports=function(gn){return Ar(li(gn))}}),k=t((Qs,Dr)=>{var Ar=typeof document==\"object\"&&document.all,li=typeof Ar>\"u\"&&Ar!==void 0;Dr.exports={all:Ar,IS_HTMLDDA:li}}),I=t((Qs,Dr)=>{var Ar=k(),li=Ar.all;Dr.exports=Ar.IS_HTMLDDA?function(gn){return typeof gn==\"function\"||gn===li}:function(gn){return typeof gn==\"function\"}}),F=t((Qs,Dr)=>{var Ar=I(),li=k(),gn=li.all;Dr.exports=li.IS_HTMLDDA?function(kn){return typeof kn==\"object\"?kn!==null:Ar(kn)||kn===gn}:function(kn){return typeof kn==\"object\"?kn!==null:Ar(kn)}}),q=t((Qs,Dr)=>{var Ar=n(),li=I(),gn=function(kn){return li(kn)?kn:void 0};Dr.exports=function(kn,ei){return arguments.length<2?gn(Ar[kn]):Ar[kn]&&Ar[kn][ei]}}),re=t((Qs,Dr)=>{var Ar=h();Dr.exports=Ar({}.isPrototypeOf)}),Ie=t((Qs,Dr)=>{var Ar=q();Dr.exports=Ar(\"navigator\",\"userAgent\")||\"\"}),mt=t((Qs,Dr)=>{var Ar=n(),li=Ie(),gn=Ar.process,kn=Ar.Deno,ei=gn&&gn.versions||kn&&kn.version,Yt=ei&&ei.v8,zi,kr;Yt&&(zi=Yt.split(\".\"),kr=zi[0]>0&&zi[0]<4?1:+(zi[0]+zi[1])),!kr&&li&&(zi=li.match(/Edge\\/(\\d+)/),(!zi||zi[1]>=74)&&(zi=li.match(/Chrome\\/(\\d+)/),zi&&(kr=+zi[1]))),Dr.exports=kr}),Le=t((Qs,Dr)=>{var Ar=mt(),li=i();Dr.exports=!!Object.getOwnPropertySymbols&&!li(function(){var gn=Symbol();return!String(gn)||!(Object(gn)instanceof Symbol)||!Symbol.sham&&Ar&&Ar<41})}),Ge=t((Qs,Dr)=>{var Ar=Le();Dr.exports=Ar&&!Symbol.sham&&typeof Symbol.iterator==\"symbol\"}),qt=t((Qs,Dr)=>{var Ar=q(),li=I(),gn=re(),kn=Ge(),ei=Object;Dr.exports=kn?function(Yt){return typeof Yt==\"symbol\"}:function(Yt){var zi=Ar(\"Symbol\");return li(zi)&&gn(zi.prototype,ei(Yt))}}),gi=t((Qs,Dr)=>{var Ar=String;Dr.exports=function(li){try{return Ar(li)}catch{return\"Object\"}}}),ai=t((Qs,Dr)=>{var Ar=I(),li=gi(),gn=TypeError;Dr.exports=function(kn){if(Ar(kn))return kn;throw gn(li(kn)+\" is not a function\")}}),Tr=t((Qs,Dr)=>{var Ar=ai(),li=y();Dr.exports=function(gn,kn){var ei=gn[kn];return li(ei)?void 0:Ar(ei)}}),Vr=t((Qs,Dr)=>{var Ar=l(),li=I(),gn=F(),kn=TypeError;Dr.exports=function(ei,Yt){var zi,kr;if(Yt===\"string\"&&li(zi=ei.toString)&&!gn(kr=Ar(zi,ei))||li(zi=ei.valueOf)&&!gn(kr=Ar(zi,ei))||Yt!==\"string\"&&li(zi=ei.toString)&&!gn(kr=Ar(zi,ei)))return kr;throw kn(\"Can't convert object to primitive value\")}}),go=t((Qs,Dr)=>{Dr.exports=!1}),Js=t((Qs,Dr)=>{var Ar=n(),li=Object.defineProperty;Dr.exports=function(gn,kn){try{li(Ar,gn,{value:kn,configurable:!0,writable:!0})}catch{Ar[gn]=kn}return kn}}),Fo=t((Qs,Dr)=>{var Ar=n(),li=Js(),gn=\"__core-js_shared__\",kn=Ar[gn]||li(gn,{});Dr.exports=kn}),aa=t((Qs,Dr)=>{var Ar=go(),li=Fo();(Dr.exports=function(gn,kn){return li[gn]||(li[gn]=kn!==void 0?kn:{})})(\"versions\",[]).push({version:\"3.26.1\",mode:Ar?\"pure\":\"global\",copyright:\"\\xA9 2014-2022 Denis Pushkarev (zloirock.ru)\",license:\"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE\",source:\"https://github.com/zloirock/core-js\"})}),Qo=t((Qs,Dr)=>{var Ar=D(),li=Object;Dr.exports=function(gn){return li(Ar(gn))}}),Ao=t((Qs,Dr)=>{var Ar=h(),li=Qo(),gn=Ar({}.hasOwnProperty);Dr.exports=Object.hasOwn||function(kn,ei){return gn(li(kn),ei)}}),Gl=t((Qs,Dr)=>{var Ar=h(),li=0,gn=Math.random(),kn=Ar(1 .toString);Dr.exports=function(ei){return\"Symbol(\"+(ei===void 0?\"\":ei)+\")_\"+kn(++li+gn,36)}}),nl=t((Qs,Dr)=>{var Ar=n(),li=aa(),gn=Ao(),kn=Gl(),ei=Le(),Yt=Ge(),zi=li(\"wks\"),kr=Ar.Symbol,Gn=kr&&kr.for,ni=Yt?kr:kr&&kr.withoutSetter||kn;Dr.exports=function(us){if(!gn(zi,us)||!(ei||typeof zi[us]==\"string\")){var ks=\"Symbol.\"+us;ei&&gn(kr,us)?zi[us]=kr[us]:Yt&&Gn?zi[us]=Gn(ks):zi[us]=ni(ks)}return zi[us]}}),Po=t((Qs,Dr)=>{var Ar=l(),li=F(),gn=qt(),kn=Tr(),ei=Vr(),Yt=nl(),zi=TypeError,kr=Yt(\"toPrimitive\");Dr.exports=function(Gn,ni){if(!li(Gn)||gn(Gn))return Gn;var us=kn(Gn,kr),ks;if(us){if(ni===void 0&&(ni=\"default\"),ks=Ar(us,Gn,ni),!li(ks)||gn(ks))return ks;throw zi(\"Can't convert object to primitive value\")}return ni===void 0&&(ni=\"number\"),ei(Gn,ni)}}),mo=t((Qs,Dr)=>{var Ar=Po(),li=qt();Dr.exports=function(gn){var kn=Ar(gn,\"string\");return li(kn)?kn:kn+\"\"}}),Bl=t((Qs,Dr)=>{var Ar=n(),li=F(),gn=Ar.document,kn=li(gn)&&li(gn.createElement);Dr.exports=function(ei){return kn?gn.createElement(ei):{}}}),mc=t((Qs,Dr)=>{var Ar=s(),li=i(),gn=Bl();Dr.exports=!Ar&&!li(function(){return Object.defineProperty(gn(\"div\"),\"a\",{get:function(){return 7}}).a!=7})}),lc=t(Qs=>{var Dr=s(),Ar=l(),li=u(),gn=d(),kn=T(),ei=mo(),Yt=Ao(),zi=mc(),kr=Object.getOwnPropertyDescriptor;Qs.f=Dr?kr:function(Gn,ni){if(Gn=kn(Gn),ni=ei(ni),zi)try{return kr(Gn,ni)}catch{}if(Yt(Gn,ni))return gn(!Ar(li.f,Gn,ni),Gn[ni])}}),dd=t((Qs,Dr)=>{var Ar=s(),li=i();Dr.exports=Ar&&li(function(){return Object.defineProperty(function(){},\"prototype\",{value:42,writable:!1}).prototype!=42})}),gu=t((Qs,Dr)=>{var Ar=F(),li=String,gn=TypeError;Dr.exports=function(kn){if(Ar(kn))return kn;throw gn(li(kn)+\" is not an object\")}}),Ka=t(Qs=>{var Dr=s(),Ar=mc(),li=dd(),gn=gu(),kn=mo(),ei=TypeError,Yt=Object.defineProperty,zi=Object.getOwnPropertyDescriptor,kr=\"enumerable\",Gn=\"configurable\",ni=\"writable\";Qs.f=Dr?li?function(us,ks,Us){if(gn(us),ks=kn(ks),gn(Us),typeof us==\"function\"&&ks===\"prototype\"&&\"value\"in Us&&ni in Us&&!Us[ni]){var Li=zi(us,ks);Li&&Li[ni]&&(us[ks]=Us.value,Us={configurable:Gn in Us?Us[Gn]:Li[Gn],enumerable:kr in Us?Us[kr]:Li[kr],writable:!1})}return Yt(us,ks,Us)}:Yt:function(us,ks,Us){if(gn(us),ks=kn(ks),gn(Us),Ar)try{return Yt(us,ks,Us)}catch{}if(\"get\"in Us||\"set\"in Us)throw ei(\"Accessors not supported\");return\"value\"in Us&&(us[ks]=Us.value),us}}),Qc=t((Qs,Dr)=>{var Ar=s(),li=Ka(),gn=d();Dr.exports=Ar?function(kn,ei,Yt){return li.f(kn,ei,gn(1,Yt))}:function(kn,ei,Yt){return kn[ei]=Yt,kn}}),Ba=t((Qs,Dr)=>{var Ar=s(),li=Ao(),gn=Function.prototype,kn=Ar&&Object.getOwnPropertyDescriptor,ei=li(gn,\"name\"),Yt=ei&&function(){}.name===\"something\",zi=ei&&(!Ar||Ar&&kn(gn,\"name\").configurable);Dr.exports={EXISTS:ei,PROPER:Yt,CONFIGURABLE:zi}}),xd=t((Qs,Dr)=>{var Ar=h(),li=I(),gn=Fo(),kn=Ar(Function.toString);li(gn.inspectSource)||(gn.inspectSource=function(ei){return kn(ei)}),Dr.exports=gn.inspectSource}),jp=t((Qs,Dr)=>{var Ar=n(),li=I(),gn=Ar.WeakMap;Dr.exports=li(gn)&&/native code/.test(String(gn))}),Fu=t((Qs,Dr)=>{var Ar=aa(),li=Gl(),gn=Ar(\"keys\");Dr.exports=function(kn){return gn[kn]||(gn[kn]=li(kn))}}),Ed=t((Qs,Dr)=>{Dr.exports={}}),wp=t((Qs,Dr)=>{var Ar=jp(),li=n(),gn=F(),kn=Qc(),ei=Ao(),Yt=Fo(),zi=Fu(),kr=Ed(),Gn=\"Object already initialized\",ni=li.TypeError,us=li.WeakMap,ks,Us,Li,Uo=function($e){return Li($e)?Us($e):ks($e,{})},Wi=function($e){return function(ot){var Rt;if(!gn(ot)||(Rt=Us(ot)).type!==$e)throw ni(\"Incompatible receiver, \"+$e+\" required\");return Rt}};Ar||Yt.state?(_t=Yt.state||(Yt.state=new us),_t.get=_t.get,_t.has=_t.has,_t.set=_t.set,ks=function($e,ot){if(_t.has($e))throw ni(Gn);return ot.facade=$e,_t.set($e,ot),ot},Us=function($e){return _t.get($e)||{}},Li=function($e){return _t.has($e)}):(ht=zi(\"state\"),kr[ht]=!0,ks=function($e,ot){if(ei($e,ht))throw ni(Gn);return ot.facade=$e,kn($e,ht,ot),ot},Us=function($e){return ei($e,ht)?$e[ht]:{}},Li=function($e){return ei($e,ht)});var _t,ht;Dr.exports={set:ks,get:Us,has:Li,enforce:Uo,getterFor:Wi}}),zd=t((Qs,Dr)=>{var Ar=i(),li=I(),gn=Ao(),kn=s(),ei=Ba().CONFIGURABLE,Yt=xd(),zi=wp(),kr=zi.enforce,Gn=zi.get,ni=Object.defineProperty,us=kn&&!Ar(function(){return ni(function(){},\"length\",{value:8}).length!==8}),ks=String(String).split(\"String\"),Us=Dr.exports=function(Li,Uo,Wi){String(Uo).slice(0,7)===\"Symbol(\"&&(Uo=\"[\"+String(Uo).replace(/^Symbol\\(([^)]*)\\)/,\"$1\")+\"]\"),Wi&&Wi.getter&&(Uo=\"get \"+Uo),Wi&&Wi.setter&&(Uo=\"set \"+Uo),(!gn(Li,\"name\")||ei&&Li.name!==Uo)&&(kn?ni(Li,\"name\",{value:Uo,configurable:!0}):Li.name=Uo),us&&Wi&&gn(Wi,\"arity\")&&Li.length!==Wi.arity&&ni(Li,\"length\",{value:Wi.arity});try{Wi&&gn(Wi,\"constructor\")&&Wi.constructor?kn&&ni(Li,\"prototype\",{writable:!1}):Li.prototype&&(Li.prototype=void 0)}catch{}var _t=kr(Li);return gn(_t,\"source\")||(_t.source=ks.join(typeof Uo==\"string\"?Uo:\"\")),Li};Function.prototype.toString=Us(function(){return li(this)&&Gn(this).source||Yt(this)},\"toString\")}),Ch=t((Qs,Dr)=>{var Ar=I(),li=Ka(),gn=zd(),kn=Js();Dr.exports=function(ei,Yt,zi,kr){kr||(kr={});var Gn=kr.enumerable,ni=kr.name!==void 0?kr.name:Yt;if(Ar(zi)&&gn(zi,ni,kr),kr.global)Gn?ei[Yt]=zi:kn(Yt,zi);else{try{kr.unsafe?ei[Yt]&&(Gn=!0):delete ei[Yt]}catch{}Gn?ei[Yt]=zi:li.f(ei,Yt,{value:zi,enumerable:!1,configurable:!kr.nonConfigurable,writable:!kr.nonWritable})}return ei}}),sh=t((Qs,Dr)=>{var Ar=Math.ceil,li=Math.floor;Dr.exports=Math.trunc||function(gn){var kn=+gn;return(kn>0?li:Ar)(kn)}}),$r=t((Qs,Dr)=>{var Ar=sh();Dr.exports=function(li){var gn=+li;return gn!==gn||gn===0?0:Ar(gn)}}),sr=t((Qs,Dr)=>{var Ar=$r(),li=Math.max,gn=Math.min;Dr.exports=function(kn,ei){var Yt=Ar(kn);return Yt<0?li(Yt+ei,0):gn(Yt,ei)}}),gr=t((Qs,Dr)=>{var Ar=$r(),li=Math.min;Dr.exports=function(gn){return gn>0?li(Ar(gn),9007199254740991):0}}),It=t((Qs,Dr)=>{var Ar=gr();Dr.exports=function(li){return Ar(li.length)}}),dn=t((Qs,Dr)=>{var Ar=T(),li=sr(),gn=It(),kn=function(ei){return function(Yt,zi,kr){var Gn=Ar(Yt),ni=gn(Gn),us=li(kr,ni),ks;if(ei&&zi!=zi){for(;ni>us;)if(ks=Gn[us++],ks!=ks)return!0}else for(;ni>us;us++)if((ei||us in Gn)&&Gn[us]===zi)return ei||us||0;return!ei&&-1}};Dr.exports={includes:kn(!0),indexOf:kn(!1)}}),Si=t((Qs,Dr)=>{var Ar=h(),li=Ao(),gn=T(),kn=dn().indexOf,ei=Ed(),Yt=Ar([].push);Dr.exports=function(zi,kr){var Gn=gn(zi),ni=0,us=[],ks;for(ks in Gn)!li(ei,ks)&&li(Gn,ks)&&Yt(us,ks);for(;kr.length>ni;)li(Gn,ks=kr[ni++])&&(~kn(us,ks)||Yt(us,ks));return us}}),Yn=t((Qs,Dr)=>{Dr.exports=[\"constructor\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"toLocaleString\",\"toString\",\"valueOf\"]}),Zr=t(Qs=>{var Dr=Si(),Ar=Yn(),li=Ar.concat(\"length\",\"prototype\");Qs.f=Object.getOwnPropertyNames||function(gn){return Dr(gn,li)}}),vs=t(Qs=>{Qs.f=Object.getOwnPropertySymbols}),ra=t((Qs,Dr)=>{var Ar=q(),li=h(),gn=Zr(),kn=vs(),ei=gu(),Yt=li([].concat);Dr.exports=Ar(\"Reflect\",\"ownKeys\")||function(zi){var kr=gn.f(ei(zi)),Gn=kn.f;return Gn?Yt(kr,Gn(zi)):kr}}),zo=t((Qs,Dr)=>{var Ar=Ao(),li=ra(),gn=lc(),kn=Ka();Dr.exports=function(ei,Yt,zi){for(var kr=li(Yt),Gn=kn.f,ni=gn.f,us=0;us<kr.length;us++){var ks=kr[us];!Ar(ei,ks)&&!(zi&&Ar(zi,ks))&&Gn(ei,ks,ni(Yt,ks))}}}),za=t((Qs,Dr)=>{var Ar=i(),li=I(),gn=/#|\\.prototype\\./,kn=function(Gn,ni){var us=Yt[ei(Gn)];return us==kr?!0:us==zi?!1:li(ni)?Ar(ni):!!ni},ei=kn.normalize=function(Gn){return String(Gn).replace(gn,\".\").toLowerCase()},Yt=kn.data={},zi=kn.NATIVE=\"N\",kr=kn.POLYFILL=\"P\";Dr.exports=kn}),La=t((Qs,Dr)=>{var Ar=n(),li=lc().f,gn=Qc(),kn=Ch(),ei=Js(),Yt=zo(),zi=za();Dr.exports=function(kr,Gn){var ni=kr.target,us=kr.global,ks=kr.stat,Us,Li,Uo,Wi,_t,ht;if(us?Li=Ar:ks?Li=Ar[ni]||ei(ni,{}):Li=(Ar[ni]||{}).prototype,Li)for(Uo in Gn){if(_t=Gn[Uo],kr.dontCallGetSet?(ht=li(Li,Uo),Wi=ht&&ht.value):Wi=Li[Uo],Us=zi(us?Uo:ni+(ks?\".\":\"#\")+Uo,kr.forced),!Us&&Wi!==void 0){if(typeof _t==typeof Wi)continue;Yt(_t,Wi)}(kr.sham||Wi&&Wi.sham)&&gn(_t,\"sham\",!0),kn(Li,Uo,_t,kr)}}}),Ul=t(()=>{var Qs=La(),Dr=n();Qs({global:!0,forced:Dr.globalThis!==Dr},{globalThis:Dr})}),bl=t(()=>{Ul()}),ua=t((Qs,Dr)=>{bl();var Ar=Object.defineProperty,li=Object.getOwnPropertyDescriptor,gn=Object.getOwnPropertyNames,kn=Object.prototype.hasOwnProperty,ei=(K,nt)=>function(){return K&&(nt=(0,K[gn(K)[0]])(K=0)),nt},Yt=(K,nt)=>function(){return nt||(0,K[gn(K)[0]])((nt={exports:{}}).exports,nt),nt.exports},zi=(K,nt)=>{for(var Ue in nt)Ar(K,Ue,{get:nt[Ue],enumerable:!0})},kr=(K,nt,Ue,qe)=>{if(nt&&typeof nt==\"object\"||typeof nt==\"function\")for(let Ye of gn(nt))!kn.call(K,Ye)&&Ye!==Ue&&Ar(K,Ye,{get:()=>nt[Ye],enumerable:!(qe=li(nt,Ye))||qe.enumerable});return K},Gn=K=>kr(Ar({},\"__esModule\",{value:!0}),K),ni=ei({\"<define:process>\"(){}}),us=Yt({\"src/common/parser-create-error.js\"(K,nt){ni();function Ue(qe,Ye){let xt=new SyntaxError(qe+\" (\"+Ye.start.line+\":\"+Ye.start.column+\")\");return xt.loc=Ye,xt}nt.exports=Ue}}),ks=Yt({\"src/utils/get-last.js\"(K,nt){ni();var Ue=qe=>qe[qe.length-1];nt.exports=Ue}}),Us=Yt({\"src/utils/front-matter/parse.js\"(K,nt){ni();var Ue=new RegExp(\"^(?<startDelimiter>-{3}|\\\\+{3})(?<language>[^\\\\n]*)\\\\n(?:|(?<value>.*?)\\\\n)(?<endDelimiter>\\\\k<startDelimiter>|\\\\.{3})[^\\\\S\\\\n]*(?:\\\\n|$)\",\"s\");function qe(Ye){let xt=Ye.match(Ue);if(!xt)return{content:Ye};let{startDelimiter:bt,language:wt,value:lt=\"\",endDelimiter:Et}=xt.groups,Q=wt.trim()||\"yaml\";if(bt===\"+++\"&&(Q=\"toml\"),Q!==\"yaml\"&&bt!==Et)return{content:Ye};let[W]=xt;return{frontMatter:{type:\"front-matter\",lang:Q,value:lt,startDelimiter:bt,endDelimiter:Et,raw:W.replace(/\\n$/,\"\")},content:W.replace(/[^\\n]/g,\" \")+Ye.slice(W.length)}}nt.exports=qe}}),Li={};zi(Li,{EOL:()=>Ni,arch:()=>At,cpus:()=>Rt,default:()=>Lr,endianness:()=>Uo,freemem:()=>$e,getNetworkInterfaces:()=>vt,hostname:()=>Wi,loadavg:()=>_t,networkInterfaces:()=>it,platform:()=>en,release:()=>We,tmpDir:()=>gt,tmpdir:()=>Rn,totalmem:()=>ot,type:()=>et,uptime:()=>ht});function Uo(){if(typeof _i>\"u\"){var K=new ArrayBuffer(2),nt=new Uint8Array(K),Ue=new Uint16Array(K);if(nt[0]=1,nt[1]=2,Ue[0]===258)_i=\"BE\";else if(Ue[0]===513)_i=\"LE\";else throw new Error(\"unable to figure out endianess\")}return _i}function Wi(){return typeof globalThis.location<\"u\"?globalThis.location.hostname:\"\"}function _t(){return[]}function ht(){return 0}function $e(){return Number.MAX_VALUE}function ot(){return Number.MAX_VALUE}function Rt(){return[]}function et(){return\"Browser\"}function We(){return typeof globalThis.navigator<\"u\"?globalThis.navigator.appVersion:\"\"}function it(){}function vt(){}function At(){return\"javascript\"}function en(){return\"browser\"}function gt(){return\"/tmp\"}var _i,Rn,Ni,Lr,Or=ei({\"node-modules-polyfills:os\"(){ni(),Rn=gt,Ni=`\n`,Lr={EOL:Ni,tmpdir:Rn,tmpDir:gt,networkInterfaces:it,getNetworkInterfaces:vt,release:We,type:et,cpus:Rt,totalmem:ot,freemem:$e,uptime:ht,loadavg:_t,hostname:Wi,endianness:Uo}}}),Pn=Yt({\"node-modules-polyfills-commonjs:os\"(K,nt){ni();var Ue=(Or(),Gn(Li));if(Ue&&Ue.default){nt.exports=Ue.default;for(let qe in Ue)nt.exports[qe]=Ue[qe]}else Ue&&(nt.exports=Ue)}}),os=Yt({\"node_modules/detect-newline/index.js\"(K,nt){ni();var Ue=qe=>{if(typeof qe!=\"string\")throw new TypeError(\"Expected a string\");let Ye=qe.match(/(?:\\r?\\n)/g)||[];if(Ye.length===0)return;let xt=Ye.filter(wt=>wt===`\\r\n`).length,bt=Ye.length-xt;return xt>bt?`\\r\n`:`\n`};nt.exports=Ue,nt.exports.graceful=qe=>typeof qe==\"string\"&&Ue(qe)||`\n`}}),Ct=Yt({\"node_modules/jest-docblock/build/index.js\"(K){ni(),Object.defineProperty(K,\"__esModule\",{value:!0}),K.extract=Oe,K.parse=Tt,K.parseWithComments=xn,K.print=Cn,K.strip=zt;function nt(){let yi=Pn();return nt=function(){return yi},yi}function Ue(){let yi=qe(os());return Ue=function(){return yi},yi}function qe(yi){return yi&&yi.__esModule?yi:{default:yi}}var Ye=/\\*\\/$/,xt=/^\\/\\*\\*?/,bt=/^\\s*(\\/\\*\\*?(.|\\r?\\n)*?\\*\\/)/,wt=/(^|\\s+)\\/\\/([^\\r\\n]*)/g,lt=/^(\\r?\\n)+/,Et=/(?:^|\\r?\\n) *(@[^\\r\\n]*?) *\\r?\\n *(?![^@\\r\\n]*\\/\\/[^]*)([^@\\r\\n\\s][^@\\r\\n]+?) *\\r?\\n/g,Q=/(?:^|\\r?\\n) *@(\\S+) *([^\\r\\n]*)/g,W=/(\\r?\\n|^) *\\* ?/g,Je=[];function Oe(yi){let Oi=yi.match(bt);return Oi?Oi[0].trimLeft():\"\"}function zt(yi){let Oi=yi.match(bt);return Oi&&Oi[0]?yi.substring(Oi[0].length):yi}function Tt(yi){return xn(yi).pragmas}function xn(yi){let Oi=(0,Ue().default)(yi)||nt().EOL;yi=yi.replace(xt,\"\").replace(Ye,\"\").replace(W,\"$1\");let Qi=\"\";for(;Qi!==yi;)Qi=yi,yi=yi.replace(Et,`${Oi}$1 $2${Oi}`);yi=yi.replace(lt,\"\").trimRight();let $s=Object.create(null),vo=yi.replace(Q,\"\").replace(lt,\"\").trimRight(),Mo;for(;Mo=Q.exec(yi);){let Ea=Mo[2].replace(wt,\"\");typeof $s[Mo[1]]==\"string\"||Array.isArray($s[Mo[1]])?$s[Mo[1]]=Je.concat($s[Mo[1]],Ea):$s[Mo[1]]=Ea}return{comments:vo,pragmas:$s}}function Cn(yi){let{comments:Oi=\"\",pragmas:Qi={}}=yi,$s=(0,Ue().default)(Oi)||nt().EOL,vo=\"/**\",Mo=\" *\",Ea=\" */\",Ca=Object.keys(Qi),Ma=Ca.map(Oa=>Bt(Oa,Qi[Oa])).reduce((Oa,qs)=>Oa.concat(qs),[]).map(Oa=>`${Mo} ${Oa}${$s}`).join(\"\");if(!Oi){if(Ca.length===0)return\"\";if(Ca.length===1&&!Array.isArray(Qi[Ca[0]])){let Oa=Qi[Ca[0]];return`${vo} ${Bt(Ca[0],Oa)[0]}${Ea}`}}let Yo=Oi.split($s).map(Oa=>`${Mo} ${Oa}`).join($s)+$s;return vo+$s+(Oi?Yo:\"\")+(Oi&&Ca.length?Mo+$s:\"\")+Ma+Ea}function Bt(yi,Oi){return Je.concat(Oi).map(Qi=>`@${yi} ${Qi}`.trim())}}}),bo=Yt({\"src/common/end-of-line.js\"(K,nt){ni();function Ue(bt){let wt=bt.indexOf(\"\\r\");return wt>=0?bt.charAt(wt+1)===`\n`?\"crlf\":\"cr\":\"lf\"}function qe(bt){switch(bt){case\"cr\":return\"\\r\";case\"crlf\":return`\\r\n`;default:return`\n`}}function Ye(bt,wt){let lt;switch(wt){case`\n`:lt=/\\n/g;break;case\"\\r\":lt=/\\r/g;break;case`\\r\n`:lt=/\\r\\n/g;break;default:throw new Error(`Unexpected \"eol\" ${JSON.stringify(wt)}.`)}let Et=bt.match(lt);return Et?Et.length:0}function xt(bt){return bt.replace(/\\r\\n?/g,`\n`)}nt.exports={guessEndOfLine:Ue,convertEndOfLineToChars:qe,countEndOfLineChars:Ye,normalizeEndOfLine:xt}}}),Vo=Yt({\"src/language-js/utils/get-shebang.js\"(K,nt){ni();function Ue(qe){if(!qe.startsWith(\"#!\"))return\"\";let Ye=qe.indexOf(`\n`);return Ye===-1?qe:qe.slice(0,Ye)}nt.exports=Ue}}),ja=Yt({\"src/language-js/pragma.js\"(K,nt){ni();var{parseWithComments:Ue,strip:qe,extract:Ye,print:xt}=Ct(),{normalizeEndOfLine:bt}=bo(),wt=Vo();function lt(W){let Je=wt(W);Je&&(W=W.slice(Je.length+1));let Oe=Ye(W),{pragmas:zt,comments:Tt}=Ue(Oe);return{shebang:Je,text:W,pragmas:zt,comments:Tt}}function Et(W){let Je=Object.keys(lt(W).pragmas);return Je.includes(\"prettier\")||Je.includes(\"format\")}function Q(W){let{shebang:Je,text:Oe,pragmas:zt,comments:Tt}=lt(W),xn=qe(Oe),Cn=xt({pragmas:Object.assign({format:\"\"},zt),comments:Tt.trimStart()});return(Je?`${Je}\n`:\"\")+bt(Cn)+(xn.startsWith(`\n`)?`\n`:`\n\n`)+xn}nt.exports={hasPragma:Et,insertPragma:Q}}}),Ha=Yt({\"src/language-css/pragma.js\"(K,nt){ni();var Ue=ja(),qe=Us();function Ye(bt){return Ue.hasPragma(qe(bt).content)}function xt(bt){let{frontMatter:wt,content:lt}=qe(bt);return(wt?wt.raw+`\n\n`:\"\")+Ue.insertPragma(lt)}nt.exports={hasPragma:Ye,insertPragma:xt}}}),jl=Yt({\"src/utils/text/skip.js\"(K,nt){ni();function Ue(wt){return(lt,Et,Q)=>{let W=Q&&Q.backwards;if(Et===!1)return!1;let{length:Je}=lt,Oe=Et;for(;Oe>=0&&Oe<Je;){let zt=lt.charAt(Oe);if(wt instanceof RegExp){if(!wt.test(zt))return Oe}else if(!wt.includes(zt))return Oe;W?Oe--:Oe++}return Oe===-1||Oe===Je?Oe:!1}}var qe=Ue(/\\s/),Ye=Ue(\" \t\"),xt=Ue(\",; \t\"),bt=Ue(/[^\\n\\r]/);nt.exports={skipWhitespace:qe,skipSpaces:Ye,skipToLineEnd:xt,skipEverythingButNewLine:bt}}}),Un=Yt({\"src/utils/line-column-to-index.js\"(K,nt){ni(),nt.exports=function(Ue,qe){let Ye=0;for(let xt=0;xt<Ue.line-1;++xt)Ye=qe.indexOf(`\n`,Ye)+1;return Ye+Ue.column}}}),mu=Yt({\"src/language-css/loc.js\"(K,nt){ni();var{skipEverythingButNewLine:Ue}=jl(),qe=ks(),Ye=Un();function xt(Oe,zt){return typeof Oe.sourceIndex==\"number\"?Oe.sourceIndex:Oe.source?Ye(Oe.source.start,zt)-1:null}function bt(Oe,zt){if(Oe.type===\"css-comment\"&&Oe.inline)return Ue(zt,Oe.source.startOffset);let Tt=Oe.nodes&&qe(Oe.nodes);return Tt&&Oe.source&&!Oe.source.end&&(Oe=Tt),Oe.source&&Oe.source.end?Ye(Oe.source.end,zt):null}function wt(Oe,zt){Oe.source&&(Oe.source.startOffset=xt(Oe,zt),Oe.source.endOffset=bt(Oe,zt));for(let Tt in Oe){let xn=Oe[Tt];Tt===\"source\"||!xn||typeof xn!=\"object\"||(xn.type===\"value-root\"||xn.type===\"value-unknown\"?lt(xn,Et(Oe),xn.text||xn.value):wt(xn,zt))}}function lt(Oe,zt,Tt){Oe.source&&(Oe.source.startOffset=xt(Oe,Tt)+zt,Oe.source.endOffset=bt(Oe,Tt)+zt);for(let xn in Oe){let Cn=Oe[xn];xn===\"source\"||!Cn||typeof Cn!=\"object\"||lt(Cn,zt,Tt)}}function Et(Oe){let zt=Oe.source.startOffset;return typeof Oe.prop==\"string\"&&(zt+=Oe.prop.length),Oe.type===\"css-atrule\"&&typeof Oe.name==\"string\"&&(zt+=1+Oe.name.length+Oe.raws.afterName.match(/^\\s*:?\\s*/)[0].length),Oe.type!==\"css-atrule\"&&Oe.raws&&typeof Oe.raws.between==\"string\"&&(zt+=Oe.raws.between.length),zt}function Q(Oe){let zt=\"initial\",Tt=\"initial\",xn,Cn=!1,Bt=[];for(let yi=0;yi<Oe.length;yi++){let Oi=Oe[yi];switch(zt){case\"initial\":if(Oi===\"'\"){zt=\"single-quotes\";continue}if(Oi==='\"'){zt=\"double-quotes\";continue}if((Oi===\"u\"||Oi===\"U\")&&Oe.slice(yi,yi+4).toLowerCase()===\"url(\"){zt=\"url\",yi+=3;continue}if(Oi===\"*\"&&Oe[yi-1]===\"/\"){zt=\"comment-block\";continue}if(Oi===\"/\"&&Oe[yi-1]===\"/\"){zt=\"comment-inline\",xn=yi-1;continue}continue;case\"single-quotes\":if(Oi===\"'\"&&Oe[yi-1]!==\"\\\\\"&&(zt=Tt,Tt=\"initial\"),Oi===`\n`||Oi===\"\\r\")return Oe;continue;case\"double-quotes\":if(Oi==='\"'&&Oe[yi-1]!==\"\\\\\"&&(zt=Tt,Tt=\"initial\"),Oi===`\n`||Oi===\"\\r\")return Oe;continue;case\"url\":if(Oi===\")\"&&(zt=\"initial\"),Oi===`\n`||Oi===\"\\r\")return Oe;if(Oi===\"'\"){zt=\"single-quotes\",Tt=\"url\";continue}if(Oi==='\"'){zt=\"double-quotes\",Tt=\"url\";continue}continue;case\"comment-block\":Oi===\"/\"&&Oe[yi-1]===\"*\"&&(zt=\"initial\");continue;case\"comment-inline\":(Oi==='\"'||Oi===\"'\"||Oi===\"*\")&&(Cn=!0),(Oi===`\n`||Oi===\"\\r\")&&(Cn&&Bt.push([xn,yi]),zt=\"initial\",Cn=!1);continue}}for(let[yi,Oi]of Bt)Oe=Oe.slice(0,yi)+Oe.slice(yi,Oi).replace(/[\"'*]/g,\" \")+Oe.slice(Oi);return Oe}function W(Oe){return Oe.source.startOffset}function Je(Oe){return Oe.source.endOffset}nt.exports={locStart:W,locEnd:Je,calculateLoc:wt,replaceQuotesInInlineComments:Q}}}),uc=Yt({\"src/utils/is-non-empty-array.js\"(K,nt){ni();function Ue(qe){return Array.isArray(qe)&&qe.length>0}nt.exports=Ue}}),Zc=Yt({\"src/language-css/utils/has-scss-interpolation.js\"(K,nt){ni();var Ue=uc();function qe(Ye){if(Ue(Ye)){for(let xt=Ye.length-1;xt>0;xt--)if(Ye[xt].type===\"word\"&&Ye[xt].value===\"{\"&&Ye[xt-1].type===\"word\"&&Ye[xt-1].value.endsWith(\"#\"))return!0}return!1}nt.exports=qe}}),Ku=Yt({\"src/language-css/utils/has-string-or-function.js\"(K,nt){ni();function Ue(qe){return qe.some(Ye=>Ye.type===\"string\"||Ye.type===\"func\")}nt.exports=Ue}}),Pd=Yt({\"src/language-css/utils/is-less-parser.js\"(K,nt){ni();function Ue(qe){return qe.parser===\"css\"||qe.parser===\"less\"}nt.exports=Ue}}),qu=Yt({\"src/language-css/utils/is-scss.js\"(K,nt){ni();function Ue(qe,Ye){return qe===\"less\"||qe===\"scss\"?qe===\"scss\":/(?:\\w\\s*:\\s*[^:}]+|#){|@import[^\\n]+(?:url|,)/.test(Ye)}nt.exports=Ue}}),Yu=Yt({\"src/language-css/utils/is-scss-nested-property-node.js\"(K,nt){ni();function Ue(qe){return qe.selector?qe.selector.replace(/\\/\\*.*?\\*\\//,\"\").replace(/\\/\\/.*\\n/,\"\").trim().endsWith(\":\"):!1}nt.exports=Ue}}),xc=Yt({\"src/language-css/utils/is-scss-variable.js\"(K,nt){ni();function Ue(qe){return Boolean((qe==null?void 0:qe.type)===\"word\"&&qe.value.startsWith(\"$\"))}nt.exports=Ue}}),Vc=Yt({\"src/language-css/utils/stringify-node.js\"(K,nt){ni();function Ue(qe){var Ye,xt,bt;if(qe.groups){var wt,lt,Et;let Cn=((wt=qe.open)===null||wt===void 0?void 0:wt.value)||\"\",Bt=qe.groups.map(Oi=>Ue(Oi)).join(((lt=qe.groups[0])===null||lt===void 0?void 0:lt.type)===\"comma_group\"?\",\":\"\"),yi=((Et=qe.close)===null||Et===void 0?void 0:Et.value)||\"\";return Cn+Bt+yi}let Q=((Ye=qe.raws)===null||Ye===void 0?void 0:Ye.before)||\"\",W=((xt=qe.raws)===null||xt===void 0?void 0:xt.quote)||\"\",Je=qe.type===\"atword\"?\"@\":\"\",Oe=qe.value||\"\",zt=qe.unit||\"\",Tt=qe.group?Ue(qe.group):\"\",xn=((bt=qe.raws)===null||bt===void 0?void 0:bt.after)||\"\";return Q+W+Je+Oe+W+zt+Tt+xn}nt.exports=Ue}}),ep=Yt({\"src/language-css/utils/is-module-rule-name.js\"(K,nt){ni();var Ue=new Set([\"import\",\"use\",\"forward\"]);function qe(Ye){return Ue.has(Ye)}nt.exports=qe}}),Od=Yt({\"node_modules/postcss-values-parser/lib/node.js\"(K,nt){ni();var Ue=function(qe,Ye){let xt=new qe.constructor;for(let bt in qe){if(!qe.hasOwnProperty(bt))continue;let wt=qe[bt],lt=typeof wt;bt===\"parent\"&&lt===\"object\"?Ye&&(xt[bt]=Ye):bt===\"source\"?xt[bt]=wt:wt instanceof Array?xt[bt]=wt.map(Et=>Ue(Et,xt)):bt!==\"before\"&&bt!==\"after\"&&bt!==\"between\"&&bt!==\"semicolon\"&&(lt===\"object\"&&wt!==null&&(wt=Ue(wt)),xt[bt]=wt)}return xt};nt.exports=class{constructor(qe){qe=qe||{},this.raws={before:\"\",after:\"\"};for(let Ye in qe)this[Ye]=qe[Ye]}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(){return[this.raws.before,String(this.value),this.raws.after].join(\"\")}clone(qe){qe=qe||{};let Ye=Ue(this);for(let xt in qe)Ye[xt]=qe[xt];return Ye}cloneBefore(qe){qe=qe||{};let Ye=this.clone(qe);return this.parent.insertBefore(this,Ye),Ye}cloneAfter(qe){qe=qe||{};let Ye=this.clone(qe);return this.parent.insertAfter(this,Ye),Ye}replaceWith(){let qe=Array.prototype.slice.call(arguments);if(this.parent){for(let Ye of qe)this.parent.insertBefore(this,Ye);this.remove()}return this}moveTo(qe){return this.cleanRaws(this.root()===qe.root()),this.remove(),qe.append(this),this}moveBefore(qe){return this.cleanRaws(this.root()===qe.root()),this.remove(),qe.parent.insertBefore(qe,this),this}moveAfter(qe){return this.cleanRaws(this.root()===qe.root()),this.remove(),qe.parent.insertAfter(qe,this),this}next(){let qe=this.parent.index(this);return this.parent.nodes[qe+1]}prev(){let qe=this.parent.index(this);return this.parent.nodes[qe-1]}toJSON(){let qe={};for(let Ye in this){if(!this.hasOwnProperty(Ye)||Ye===\"parent\")continue;let xt=this[Ye];xt instanceof Array?qe[Ye]=xt.map(bt=>typeof bt==\"object\"&&bt.toJSON?bt.toJSON():bt):typeof xt==\"object\"&&xt.toJSON?qe[Ye]=xt.toJSON():qe[Ye]=xt}return qe}root(){let qe=this;for(;qe.parent;)qe=qe.parent;return qe}cleanRaws(qe){delete this.raws.before,delete this.raws.after,qe||delete this.raws.between}positionInside(qe){let Ye=this.toString(),xt=this.source.start.column,bt=this.source.start.line;for(let wt=0;wt<qe;wt++)Ye[wt]===`\n`?(xt=1,bt+=1):xt+=1;return{line:bt,column:xt}}positionBy(qe){let Ye=this.source.start;if(Object(qe).index)Ye=this.positionInside(qe.index);else if(Object(qe).word){let xt=this.toString().indexOf(qe.word);xt!==-1&&(Ye=this.positionInside(xt))}return Ye}}}}),gl=Yt({\"node_modules/postcss-values-parser/lib/container.js\"(K,nt){ni();var Ue=Od(),qe=class extends Ue{constructor(Ye){super(Ye),this.nodes||(this.nodes=[])}push(Ye){return Ye.parent=this,this.nodes.push(Ye),this}each(Ye){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let xt=this.lastEach,bt,wt;if(this.indexes[xt]=0,!!this.nodes){for(;this.indexes[xt]<this.nodes.length&&(bt=this.indexes[xt],wt=Ye(this.nodes[bt],bt),wt!==!1);)this.indexes[xt]+=1;return delete this.indexes[xt],wt}}walk(Ye){return this.each((xt,bt)=>{let wt=Ye(xt,bt);return wt!==!1&&xt.walk&&(wt=xt.walk(Ye)),wt})}walkType(Ye,xt){if(!Ye||!xt)throw new Error(\"Parameters {type} and {callback} are required.\");let bt=typeof Ye==\"function\";return this.walk((wt,lt)=>{if(bt&&wt instanceof Ye||!bt&&wt.type===Ye)return xt.call(this,wt,lt)})}append(Ye){return Ye.parent=this,this.nodes.push(Ye),this}prepend(Ye){return Ye.parent=this,this.nodes.unshift(Ye),this}cleanRaws(Ye){if(super.cleanRaws(Ye),this.nodes)for(let xt of this.nodes)xt.cleanRaws(Ye)}insertAfter(Ye,xt){let bt=this.index(Ye),wt;this.nodes.splice(bt+1,0,xt);for(let lt in this.indexes)wt=this.indexes[lt],bt<=wt&&(this.indexes[lt]=wt+this.nodes.length);return this}insertBefore(Ye,xt){let bt=this.index(Ye),wt;this.nodes.splice(bt,0,xt);for(let lt in this.indexes)wt=this.indexes[lt],bt<=wt&&(this.indexes[lt]=wt+this.nodes.length);return this}removeChild(Ye){Ye=this.index(Ye),this.nodes[Ye].parent=void 0,this.nodes.splice(Ye,1);let xt;for(let bt in this.indexes)xt=this.indexes[bt],xt>=Ye&&(this.indexes[bt]=xt-1);return this}removeAll(){for(let Ye of this.nodes)Ye.parent=void 0;return this.nodes=[],this}every(Ye){return this.nodes.every(Ye)}some(Ye){return this.nodes.some(Ye)}index(Ye){return typeof Ye==\"number\"?Ye:this.nodes.indexOf(Ye)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let Ye=this.nodes.map(String).join(\"\");return this.value&&(Ye=this.value+Ye),this.raws.before&&(Ye=this.raws.before+Ye),this.raws.after&&(Ye+=this.raws.after),Ye}};qe.registerWalker=Ye=>{let xt=\"walk\"+Ye.name;xt.lastIndexOf(\"s\")!==xt.length-1&&(xt+=\"s\"),!qe.prototype[xt]&&(qe.prototype[xt]=function(bt){return this.walkType(Ye,bt)})},nt.exports=qe}}),Md=Yt({\"node_modules/postcss-values-parser/lib/root.js\"(K,nt){ni();var Ue=gl();nt.exports=class extends Ue{constructor(qe){super(qe),this.type=\"root\"}}}}),oh=Yt({\"node_modules/postcss-values-parser/lib/value.js\"(K,nt){ni();var Ue=gl();nt.exports=class extends Ue{constructor(qe){super(qe),this.type=\"value\",this.unbalanced=0}}}}),bf=Yt({\"node_modules/postcss-values-parser/lib/atword.js\"(K,nt){ni();var Ue=gl(),qe=class extends Ue{constructor(Ye){super(Ye),this.type=\"atword\"}toString(){return this.quoted&&this.raws.quote,[this.raws.before,\"@\",String.prototype.toString.call(this.value),this.raws.after].join(\"\")}};Ue.registerWalker(qe),nt.exports=qe}}),vf=Yt({\"node_modules/postcss-values-parser/lib/colon.js\"(K,nt){ni();var Ue=gl(),qe=Od(),Ye=class extends qe{constructor(xt){super(xt),this.type=\"colon\"}};Ue.registerWalker(Ye),nt.exports=Ye}}),Wp=Yt({\"node_modules/postcss-values-parser/lib/comma.js\"(K,nt){ni();var Ue=gl(),qe=Od(),Ye=class extends qe{constructor(xt){super(xt),this.type=\"comma\"}};Ue.registerWalker(Ye),nt.exports=Ye}}),Cf=Yt({\"node_modules/postcss-values-parser/lib/comment.js\"(K,nt){ni();var Ue=gl(),qe=Od(),Ye=class extends qe{constructor(xt){super(xt),this.type=\"comment\",this.inline=Object(xt).inline||!1}toString(){return[this.raws.before,this.inline?\"//\":\"/*\",String(this.value),this.inline?\"\":\"*/\",this.raws.after].join(\"\")}};Ue.registerWalker(Ye),nt.exports=Ye}}),Vp=Yt({\"node_modules/postcss-values-parser/lib/function.js\"(K,nt){ni();var Ue=gl(),qe=class extends Ue{constructor(Ye){super(Ye),this.type=\"func\",this.unbalanced=-1}};Ue.registerWalker(qe),nt.exports=qe}}),hd=Yt({\"node_modules/postcss-values-parser/lib/number.js\"(K,nt){ni();var Ue=gl(),qe=Od(),Ye=class extends qe{constructor(xt){super(xt),this.type=\"number\",this.unit=Object(xt).unit||\"\"}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join(\"\")}};Ue.registerWalker(Ye),nt.exports=Ye}}),tp=Yt({\"node_modules/postcss-values-parser/lib/operator.js\"(K,nt){ni();var Ue=gl(),qe=Od(),Ye=class extends qe{constructor(xt){super(xt),this.type=\"operator\"}};Ue.registerWalker(Ye),nt.exports=Ye}}),Ia=Yt({\"node_modules/postcss-values-parser/lib/paren.js\"(K,nt){ni();var Ue=gl(),qe=Od(),Ye=class extends qe{constructor(xt){super(xt),this.type=\"paren\",this.parenType=\"\"}};Ue.registerWalker(Ye),nt.exports=Ye}}),eg=Yt({\"node_modules/postcss-values-parser/lib/string.js\"(K,nt){ni();var Ue=gl(),qe=Od(),Ye=class extends qe{constructor(xt){super(xt),this.type=\"string\"}toString(){let xt=this.quoted?this.raws.quote:\"\";return[this.raws.before,xt,this.value+\"\",xt,this.raws.after].join(\"\")}};Ue.registerWalker(Ye),nt.exports=Ye}}),$g=Yt({\"node_modules/postcss-values-parser/lib/word.js\"(K,nt){ni();var Ue=gl(),qe=Od(),Ye=class extends qe{constructor(xt){super(xt),this.type=\"word\"}};Ue.registerWalker(Ye),nt.exports=Ye}}),ed=Yt({\"node_modules/postcss-values-parser/lib/unicode-range.js\"(K,nt){ni();var Ue=gl(),qe=Od(),Ye=class extends qe{constructor(xt){super(xt),this.type=\"unicode-range\"}};Ue.registerWalker(Ye),nt.exports=Ye}});function Hp(){throw new Error(\"setTimeout has not been defined\")}function Ke(){throw new Error(\"clearTimeout has not been defined\")}function U(K){if(Ps===setTimeout)return setTimeout(K,0);if((Ps===Hp||!Ps)&&setTimeout)return Ps=setTimeout,setTimeout(K,0);try{return Ps(K,0)}catch{try{return Ps.call(null,K,0)}catch{return Ps.call(this,K,0)}}}function Pe(K){if(Os===clearTimeout)return clearTimeout(K);if((Os===Ke||!Os)&&clearTimeout)return Os=clearTimeout,clearTimeout(K);try{return Os(K)}catch{try{return Os.call(null,K)}catch{return Os.call(this,K)}}}function Dn(){!sa||!sn||(sa=!1,sn.length?zs=sn.concat(zs):Ze=-1,zs.length&&$n())}function $n(){if(!sa){var K=U(Dn);sa=!0;for(var nt=zs.length;nt;){for(sn=zs,zs=[];++Ze<nt;)sn&&sn[Ze].run();Ze=-1,nt=zs.length}sn=null,sa=!1,Pe(K)}}function zn(K){var nt=new Array(arguments.length-1);if(arguments.length>1)for(var Ue=1;Ue<arguments.length;Ue++)nt[Ue-1]=arguments[Ue];zs.push(new Ji(K,nt)),zs.length===1&&!sa&&U($n)}function Ji(K,nt){this.fun=K,this.array=nt}function or(){}function Ls(K){throw new Error(\"process.binding is not supported\")}function qi(){return\"/\"}function br(K){throw new Error(\"process.chdir is not supported\")}function Yr(){return 0}function Cs(K){var nt=wr.call(Cc)*.001,Ue=Math.floor(nt),qe=Math.floor(nt%1*1e9);return K&&(Ue=Ue-K[0],qe=qe-K[1],qe<0&&(Ue--,qe+=1e9)),[Ue,qe]}function rs(){var K=new Date,nt=K-_o;return nt/1e3}var Ps,Os,zs,sa,sn,Ze,be,ze,jt,Ln,Xn,bn,ii,Ir,gs,Ys,_a,Eo,pl,Jl,Tu,pd,Cc,wr,_o,oa,Da,ml=ei({\"node-modules-polyfills:process\"(){ni(),Ps=Hp,Os=Ke,typeof globalThis.setTimeout==\"function\"&&(Ps=setTimeout),typeof globalThis.clearTimeout==\"function\"&&(Os=clearTimeout),zs=[],sa=!1,Ze=-1,Ji.prototype.run=function(){this.fun.apply(null,this.array)},be=\"browser\",ze=\"browser\",jt=!0,Ln={},Xn=[],bn=\"\",ii={},Ir={},gs={},Ys=or,_a=or,Eo=or,pl=or,Jl=or,Tu=or,pd=or,Cc=globalThis.performance||{},wr=Cc.now||Cc.mozNow||Cc.msNow||Cc.oNow||Cc.webkitNow||function(){return new Date().getTime()},_o=new Date,oa={nextTick:zn,title:be,browser:jt,env:Ln,argv:Xn,version:bn,versions:ii,on:Ys,addListener:_a,once:Eo,off:pl,removeListener:Jl,removeAllListeners:Tu,emit:pd,binding:Ls,cwd:qi,chdir:br,umask:Yr,hrtime:Cs,platform:ze,release:Ir,config:gs,uptime:rs},Da=oa}}),ou,Ud,np=ei({\"node_modules/rollup-plugin-node-polyfills/polyfills/inherits.js\"(){ni(),typeof Object.create==\"function\"?ou=function(K,nt){K.super_=nt,K.prototype=Object.create(nt.prototype,{constructor:{value:K,enumerable:!1,writable:!0,configurable:!0}})}:ou=function(K,nt){K.super_=nt;var Ue=function(){};Ue.prototype=nt.prototype,K.prototype=new Ue,K.prototype.constructor=K},Ud=ou}}),Kd={};zi(Kd,{_extend:()=>$t,debuglog:()=>Rd,default:()=>Yl,deprecate:()=>Sp,format:()=>fd,inherits:()=>Ud,inspect:()=>qd,isArray:()=>zr,isBoolean:()=>ko,isBuffer:()=>Br,isDate:()=>si,isError:()=>Ur,isFunction:()=>Xr,isNull:()=>fi,isNullOrUndefined:()=>Ce,isNumber:()=>Te,isObject:()=>Pi,isPrimitive:()=>eo,isRegExp:()=>Nn,isString:()=>Ft,isSymbol:()=>Lt,isUndefined:()=>nn,log:()=>ba});function fd(K){if(!Ft(K)){for(var nt=[],Ue=0;Ue<arguments.length;Ue++)nt.push(qd(arguments[Ue]));return nt.join(\" \")}for(var Ue=1,qe=arguments,Ye=qe.length,xt=String(K).replace(Nr,function(lt){if(lt===\"%%\")return\"%\";if(Ue>=Ye)return lt;switch(lt){case\"%s\":return String(qe[Ue++]);case\"%d\":return Number(qe[Ue++]);case\"%j\":try{return JSON.stringify(qe[Ue++])}catch{return\"[Circular]\"}default:return lt}}),bt=qe[Ue];Ue<Ye;bt=qe[++Ue])fi(bt)||!Pi(bt)?xt+=\" \"+bt:xt+=\" \"+qd(bt);return xt}function Sp(K,nt){if(nn(globalThis.process))return function(){return Sp(K,nt).apply(this,arguments)};if(Da.noDeprecation===!0)return K;var Ue=!1;function qe(){if(!Ue){if(Da.throwDeprecation)throw new Error(nt);Da.traceDeprecation?console.trace(nt):console.error(nt),Ue=!0}return K.apply(this,arguments)}return qe}function Rd(K){if(nn(ps)&&(ps=Da.env.NODE_DEBUG||\"\"),K=K.toUpperCase(),!nr[K])if(new RegExp(\"\\\\b\"+K+\"\\\\b\",\"i\").test(ps)){var nt=0;nr[K]=function(){var Ue=fd.apply(null,arguments);console.error(\"%s %d: %s\",K,nt,Ue)}}else nr[K]=function(){};return nr[K]}function qd(K,nt){var Ue={seen:[],stylize:kt};return arguments.length>=3&&(Ue.depth=arguments[2]),arguments.length>=4&&(Ue.colors=arguments[3]),ko(nt)?Ue.showHidden=nt:nt&&$t(Ue,nt),nn(Ue.showHidden)&&(Ue.showHidden=!1),nn(Ue.depth)&&(Ue.depth=2),nn(Ue.colors)&&(Ue.colors=!1),nn(Ue.customInspect)&&(Ue.customInspect=!0),Ue.colors&&(Ue.stylize=Hf),mi(Ue,K,Ue.depth)}function Hf(K,nt){var Ue=qd.styles[nt];return Ue?\"\\x1B[\"+qd.colors[Ue][0]+\"m\"+K+\"\\x1B[\"+qd.colors[Ue][1]+\"m\":K}function kt(K,nt){return K}function Wn(K){var nt={};return K.forEach(function(Ue,qe){nt[Ue]=!0}),nt}function mi(K,nt,Ue){if(K.customInspect&&nt&&Xr(nt.inspect)&&nt.inspect!==qd&&!(nt.constructor&&nt.constructor.prototype===nt)){var qe=nt.inspect(Ue,K);return Ft(qe)||(qe=mi(K,qe,Ue)),qe}var Ye=Ui(K,nt);if(Ye)return Ye;var xt=Object.keys(nt),bt=Wn(xt);if(K.showHidden&&(xt=Object.getOwnPropertyNames(nt)),Ur(nt)&&(xt.indexOf(\"message\")>=0||xt.indexOf(\"description\")>=0))return dr(nt);if(xt.length===0){if(Xr(nt)){var wt=nt.name?\": \"+nt.name:\"\";return K.stylize(\"[Function\"+wt+\"]\",\"special\")}if(Nn(nt))return K.stylize(RegExp.prototype.toString.call(nt),\"regexp\");if(si(nt))return K.stylize(Date.prototype.toString.call(nt),\"date\");if(Ur(nt))return dr(nt)}var lt=\"\",Et=!1,Q=[\"{\",\"}\"];if(zr(nt)&&(Et=!0,Q=[\"[\",\"]\"]),Xr(nt)){var W=nt.name?\": \"+nt.name:\"\";lt=\" [Function\"+W+\"]\"}if(Nn(nt)&&(lt=\" \"+RegExp.prototype.toString.call(nt)),si(nt)&&(lt=\" \"+Date.prototype.toUTCString.call(nt)),Ur(nt)&&(lt=\" \"+dr(nt)),xt.length===0&&(!Et||nt.length==0))return Q[0]+lt+Q[1];if(Ue<0)return Nn(nt)?K.stylize(RegExp.prototype.toString.call(nt),\"regexp\"):K.stylize(\"[Object]\",\"special\");K.seen.push(nt);var Je;return Et?Je=Jn(K,nt,Ue,bt,xt):Je=xt.map(function(Oe){return bi(K,nt,Ue,bt,Oe,Et)}),K.seen.pop(),Rr(Je,lt,Q)}function Ui(K,nt){if(nn(nt))return K.stylize(\"undefined\",\"undefined\");if(Ft(nt)){var Ue=\"'\"+JSON.stringify(nt).replace(/^\"|\"$/g,\"\").replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"')+\"'\";return K.stylize(Ue,\"string\")}if(Te(nt))return K.stylize(\"\"+nt,\"number\");if(ko(nt))return K.stylize(\"\"+nt,\"boolean\");if(fi(nt))return K.stylize(\"null\",\"null\")}function dr(K){return\"[\"+Error.prototype.toString.call(K)+\"]\"}function Jn(K,nt,Ue,qe,Ye){for(var xt=[],bt=0,wt=nt.length;bt<wt;++bt)Kn(nt,String(bt))?xt.push(bi(K,nt,Ue,qe,String(bt),!0)):xt.push(\"\");return Ye.forEach(function(lt){lt.match(/^\\d+$/)||xt.push(bi(K,nt,Ue,qe,lt,!0))}),xt}function bi(K,nt,Ue,qe,Ye,xt){var bt,wt,lt;if(lt=Object.getOwnPropertyDescriptor(nt,Ye)||{value:nt[Ye]},lt.get?lt.set?wt=K.stylize(\"[Getter/Setter]\",\"special\"):wt=K.stylize(\"[Getter]\",\"special\"):lt.set&&(wt=K.stylize(\"[Setter]\",\"special\")),Kn(qe,Ye)||(bt=\"[\"+Ye+\"]\"),wt||(K.seen.indexOf(lt.value)<0?(fi(Ue)?wt=mi(K,lt.value,null):wt=mi(K,lt.value,Ue-1),wt.indexOf(`\n`)>-1&&(xt?wt=wt.split(`\n`).map(function(Et){return\"  \"+Et}).join(`\n`).substr(2):wt=`\n`+wt.split(`\n`).map(function(Et){return\"   \"+Et}).join(`\n`))):wt=K.stylize(\"[Circular]\",\"special\")),nn(bt)){if(xt&&Ye.match(/^\\d+$/))return wt;bt=JSON.stringify(\"\"+Ye),bt.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)?(bt=bt.substr(1,bt.length-2),bt=K.stylize(bt,\"name\")):(bt=bt.replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"').replace(/(^\"|\"$)/g,\"'\"),bt=K.stylize(bt,\"string\"))}return bt+\": \"+wt}function Rr(K,nt,Ue){var qe=0,Ye=K.reduce(function(xt,bt){return qe++,bt.indexOf(`\n`)>=0&&qe++,xt+bt.replace(/\\u001b\\[\\d\\d?m/g,\"\").length+1},0);return Ye>60?Ue[0]+(nt===\"\"?\"\":nt+`\n `)+\" \"+K.join(`,\n  `)+\" \"+Ue[1]:Ue[0]+nt+\" \"+K.join(\", \")+\" \"+Ue[1]}function zr(K){return Array.isArray(K)}function ko(K){return typeof K==\"boolean\"}function fi(K){return K===null}function Ce(K){return K==null}function Te(K){return typeof K==\"number\"}function Ft(K){return typeof K==\"string\"}function Lt(K){return typeof K==\"symbol\"}function nn(K){return K===void 0}function Nn(K){return Pi(K)&&Oo(K)===\"[object RegExp]\"}function Pi(K){return typeof K==\"object\"&&K!==null}function si(K){return Pi(K)&&Oo(K)===\"[object Date]\"}function Ur(K){return Pi(K)&&(Oo(K)===\"[object Error]\"||K instanceof Error)}function Xr(K){return typeof K==\"function\"}function eo(K){return K===null||typeof K==\"boolean\"||typeof K==\"number\"||typeof K==\"string\"||typeof K==\"symbol\"||typeof K>\"u\"}function Br(K){return Buffer.isBuffer(K)}function Oo(K){return Object.prototype.toString.call(K)}function Ko(K){return K<10?\"0\"+K.toString(10):K.toString(10)}function Ho(){var K=new Date,nt=[Ko(K.getHours()),Ko(K.getMinutes()),Ko(K.getSeconds())].join(\":\");return[K.getDate(),ga[K.getMonth()],nt].join(\" \")}function ba(){console.log(\"%s - %s\",Ho(),fd.apply(null,arguments))}function $t(K,nt){if(!nt||!Pi(nt))return K;for(var Ue=Object.keys(nt),qe=Ue.length;qe--;)K[Ue[qe]]=nt[Ue[qe]];return K}function Kn(K,nt){return Object.prototype.hasOwnProperty.call(K,nt)}var Nr,nr,ps,ga,Yl,Td=ei({\"node-modules-polyfills:util\"(){ni(),ml(),np(),Nr=/%[sdj%]/g,nr={},qd.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},qd.styles={special:\"cyan\",number:\"yellow\",boolean:\"yellow\",undefined:\"grey\",null:\"bold\",string:\"green\",date:\"magenta\",regexp:\"red\"},ga=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],Yl={inherits:Ud,_extend:$t,log:ba,isBuffer:Br,isPrimitive:eo,isFunction:Xr,isError:Ur,isDate:si,isObject:Pi,isRegExp:Nn,isUndefined:nn,isSymbol:Lt,isString:Ft,isNumber:Te,isNullOrUndefined:Ce,isNull:fi,isBoolean:ko,isArray:zr,inspect:qd,deprecate:Sp,format:fd,debuglog:Rd}}}),Mc=Yt({\"node-modules-polyfills-commonjs:util\"(K,nt){ni();var Ue=(Td(),Gn(Kd));if(Ue&&Ue.default){nt.exports=Ue.default;for(let qe in Ue)nt.exports[qe]=Ue[qe]}else Ue&&(nt.exports=Ue)}}),ah=Yt({\"node_modules/postcss-values-parser/lib/errors/TokenizeError.js\"(K,nt){ni();var Ue=class extends Error{constructor(qe){super(qe),this.name=this.constructor.name,this.message=qe||\"An error ocurred while tokzenizing.\",typeof Error.captureStackTrace==\"function\"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(qe).stack}};nt.exports=Ue}}),Gd=Yt({\"node_modules/postcss-values-parser/lib/tokenize.js\"(K,nt){ni();var Ue=\"{\".charCodeAt(0),qe=\"}\".charCodeAt(0),Ye=\"(\".charCodeAt(0),xt=\")\".charCodeAt(0),bt=\"'\".charCodeAt(0),wt='\"'.charCodeAt(0),lt=\"\\\\\".charCodeAt(0),Et=\"/\".charCodeAt(0),Q=\".\".charCodeAt(0),W=\",\".charCodeAt(0),Je=\":\".charCodeAt(0),Oe=\"*\".charCodeAt(0),zt=\"-\".charCodeAt(0),Tt=\"+\".charCodeAt(0),xn=\"#\".charCodeAt(0),Cn=`\n`.charCodeAt(0),Bt=\" \".charCodeAt(0),yi=\"\\f\".charCodeAt(0),Oi=\"\t\".charCodeAt(0),Qi=\"\\r\".charCodeAt(0),$s=\"@\".charCodeAt(0),vo=\"e\".charCodeAt(0),Mo=\"E\".charCodeAt(0),Ea=\"0\".charCodeAt(0),Ca=\"9\".charCodeAt(0),Ma=\"u\".charCodeAt(0),Yo=\"U\".charCodeAt(0),Oa=/[ \\n\\t\\r\\{\\(\\)'\"\\\\;,/]/g,qs=/[ \\n\\t\\r\\(\\)\\{\\}\\*:;@!&'\"\\+\\|~>,\\[\\]\\\\]|\\/(?=\\*)/g,cs=/[ \\n\\t\\r\\(\\)\\{\\}\\*:;@!&'\"\\-\\+\\|~>,\\[\\]\\\\]|\\//g,Xs=/^[a-z0-9]/i,ds=/^[a-f0-9?\\-]/i,Zu=Mc(),au=ah();nt.exports=function(Du,ue){ue=ue||{};let Tn=[],Ei=Du.valueOf(),Gr=Ei.length,ts=-1,Es=1,Ai=0,Mr=0,vr=null,ao,$i,pa,Ro,td,Bc,fu,Wh,nd,Hc,bc;function Su(ku){let id=Zu.format(\"Unclosed %s at line: %d, column: %d, token: %d\",ku,Es,Ai-ts,Ai);throw new au(id)}for(;Ai<Gr;){switch(ao=Ei.charCodeAt(Ai),ao===Cn&&(ts=Ai,Es+=1),ao){case Cn:case Bt:case Oi:case Qi:case yi:$i=Ai;do $i+=1,ao=Ei.charCodeAt($i),ao===Cn&&(ts=$i,Es+=1);while(ao===Bt||ao===Cn||ao===Oi||ao===Qi||ao===yi);Tn.push([\"space\",Ei.slice(Ai,$i),Es,Ai-ts,Es,$i-ts,Ai]),Ai=$i-1;break;case Je:$i=Ai+1,Tn.push([\"colon\",Ei.slice(Ai,$i),Es,Ai-ts,Es,$i-ts,Ai]),Ai=$i-1;break;case W:$i=Ai+1,Tn.push([\"comma\",Ei.slice(Ai,$i),Es,Ai-ts,Es,$i-ts,Ai]),Ai=$i-1;break;case Ue:Tn.push([\"{\",\"{\",Es,Ai-ts,Es,$i-ts,Ai]);break;case qe:Tn.push([\"}\",\"}\",Es,Ai-ts,Es,$i-ts,Ai]);break;case Ye:Mr++,vr=!vr&&Mr===1&&Tn.length>0&&Tn[Tn.length-1][0]===\"word\"&&Tn[Tn.length-1][1]===\"url\",Tn.push([\"(\",\"(\",Es,Ai-ts,Es,$i-ts,Ai]);break;case xt:Mr--,vr=vr&&Mr>0,Tn.push([\")\",\")\",Es,Ai-ts,Es,$i-ts,Ai]);break;case bt:case wt:pa=ao===bt?\"'\":'\"',$i=Ai;do for(nd=!1,$i=Ei.indexOf(pa,$i+1),$i===-1&&Su(\"quote\"),Hc=$i;Ei.charCodeAt(Hc-1)===lt;)Hc-=1,nd=!nd;while(nd);Tn.push([\"string\",Ei.slice(Ai,$i+1),Es,Ai-ts,Es,$i-ts,Ai]),Ai=$i;break;case $s:Oa.lastIndex=Ai+1,Oa.test(Ei),Oa.lastIndex===0?$i=Ei.length-1:$i=Oa.lastIndex-2,Tn.push([\"atword\",Ei.slice(Ai,$i+1),Es,Ai-ts,Es,$i-ts,Ai]),Ai=$i;break;case lt:$i=Ai,ao=Ei.charCodeAt($i+1),Tn.push([\"word\",Ei.slice(Ai,$i+1),Es,Ai-ts,Es,$i-ts,Ai]),Ai=$i;break;case Tt:case zt:case Oe:if($i=Ai+1,bc=Ei.slice(Ai+1,$i+1),Ei.slice(Ai-1,Ai),ao===zt&&bc.charCodeAt(0)===zt){$i++,Tn.push([\"word\",Ei.slice(Ai,$i),Es,Ai-ts,Es,$i-ts,Ai]),Ai=$i-1;break}Tn.push([\"operator\",Ei.slice(Ai,$i),Es,Ai-ts,Es,$i-ts,Ai]),Ai=$i-1;break;default:if(ao===Et&&(Ei.charCodeAt(Ai+1)===Oe||ue.loose&&!vr&&Ei.charCodeAt(Ai+1)===Et)){if(Ei.charCodeAt(Ai+1)===Oe)$i=Ei.indexOf(\"*/\",Ai+2)+1,$i===0&&Su(\"comment\");else{let ku=Ei.indexOf(`\n`,Ai+2);$i=ku!==-1?ku-1:Gr}Bc=Ei.slice(Ai,$i+1),Ro=Bc.split(`\n`),td=Ro.length-1,td>0?(fu=Es+td,Wh=$i-Ro[td].length):(fu=Es,Wh=ts),Tn.push([\"comment\",Bc,Es,Ai-ts,fu,$i-Wh,Ai]),ts=Wh,Es=fu,Ai=$i}else if(ao===xn&&!Xs.test(Ei.slice(Ai+1,Ai+2)))$i=Ai+1,Tn.push([\"#\",Ei.slice(Ai,$i),Es,Ai-ts,Es,$i-ts,Ai]),Ai=$i-1;else if((ao===Ma||ao===Yo)&&Ei.charCodeAt(Ai+1)===Tt){$i=Ai+2;do $i+=1,ao=Ei.charCodeAt($i);while($i<Gr&&ds.test(Ei.slice($i,$i+1)));Tn.push([\"unicoderange\",Ei.slice(Ai,$i),Es,Ai-ts,Es,$i-ts,Ai]),Ai=$i-1}else if(ao===Et)$i=Ai+1,Tn.push([\"operator\",Ei.slice(Ai,$i),Es,Ai-ts,Es,$i-ts,Ai]),Ai=$i-1;else{let ku=qs;if(ao>=Ea&&ao<=Ca&&(ku=cs),ku.lastIndex=Ai+1,ku.test(Ei),ku.lastIndex===0?$i=Ei.length-1:$i=ku.lastIndex-2,ku===cs||ao===Q){let id=Ei.charCodeAt($i),gy=Ei.charCodeAt($i+1),Mb=Ei.charCodeAt($i+2);(id===vo||id===Mo)&&(gy===zt||gy===Tt)&&Mb>=Ea&&Mb<=Ca&&(cs.lastIndex=$i+2,cs.test(Ei),cs.lastIndex===0?$i=Ei.length-1:$i=cs.lastIndex-2)}Tn.push([\"word\",Ei.slice(Ai,$i+1),Es,Ai-ts,Es,$i-ts,Ai]),Ai=$i}break}Ai++}return Tn}}}),Mh=Yt({\"node_modules/flatten/index.js\"(K,nt){ni(),nt.exports=function(Ue,qe){if(qe=typeof qe==\"number\"?qe:1/0,!qe)return Array.isArray(Ue)?Ue.map(function(xt){return xt}):Ue;return Ye(Ue,1);function Ye(xt,bt){return xt.reduce(function(wt,lt){return Array.isArray(lt)&&bt<qe?wt.concat(Ye(lt,bt+1)):wt.concat(lt)},[])}}}}),Rh=Yt({\"node_modules/indexes-of/index.js\"(K,nt){ni(),nt.exports=function(Ue,qe){for(var Ye=-1,xt=[];(Ye=Ue.indexOf(qe,Ye+1))!==-1;)xt.push(Ye);return xt}}}),Pu=Yt({\"node_modules/uniq/uniq.js\"(K,nt){ni();function Ue(xt,bt){for(var wt=1,lt=xt.length,Et=xt[0],Q=xt[0],W=1;W<lt;++W)if(Q=Et,Et=xt[W],bt(Et,Q)){if(W===wt){wt++;continue}xt[wt++]=Et}return xt.length=wt,xt}function qe(xt){for(var bt=1,wt=xt.length,lt=xt[0],Et=xt[0],Q=1;Q<wt;++Q,Et=lt)if(Et=lt,lt=xt[Q],lt!==Et){if(Q===bt){bt++;continue}xt[bt++]=lt}return xt.length=bt,xt}function Ye(xt,bt,wt){return xt.length===0?xt:bt?(wt||xt.sort(bt),Ue(xt,bt)):(wt||xt.sort(),qe(xt))}nt.exports=Ye}}),ho=Yt({\"node_modules/postcss-values-parser/lib/errors/ParserError.js\"(K,nt){ni();var Ue=class extends Error{constructor(qe){super(qe),this.name=this.constructor.name,this.message=qe||\"An error ocurred while parsing.\",typeof Error.captureStackTrace==\"function\"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(qe).stack}};nt.exports=Ue}}),jo=Yt({\"node_modules/postcss-values-parser/lib/parser.js\"(K,nt){ni();var Ue=Md(),qe=oh(),Ye=bf(),xt=vf(),bt=Wp(),wt=Cf(),lt=Vp(),Et=hd(),Q=tp(),W=Ia(),Je=eg(),Oe=$g(),zt=ed(),Tt=Gd(),xn=Mh(),Cn=Rh(),Bt=Pu(),yi=ho();function Oi(Qi){return Qi.sort(($s,vo)=>$s-vo)}nt.exports=class{constructor(Qi,$s){let vo={loose:!1};this.cache=[],this.input=Qi,this.options=Object.assign({},vo,$s),this.position=0,this.unbalanced=0,this.root=new Ue;let Mo=new qe;this.root.append(Mo),this.current=Mo,this.tokens=Tt(Qi,this.options)}parse(){return this.loop()}colon(){let Qi=this.currToken;this.newNode(new xt({value:Qi[1],source:{start:{line:Qi[2],column:Qi[3]},end:{line:Qi[4],column:Qi[5]}},sourceIndex:Qi[6]})),this.position++}comma(){let Qi=this.currToken;this.newNode(new bt({value:Qi[1],source:{start:{line:Qi[2],column:Qi[3]},end:{line:Qi[4],column:Qi[5]}},sourceIndex:Qi[6]})),this.position++}comment(){let Qi=!1,$s=this.currToken[1].replace(/\\/\\*|\\*\\//g,\"\"),vo;this.options.loose&&$s.startsWith(\"//\")&&($s=$s.substring(2),Qi=!0),vo=new wt({value:$s,inline:Qi,source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]}),this.newNode(vo),this.position++}error(Qi,$s){throw new yi(Qi+` at line: ${$s[2]}, column ${$s[3]}`)}loop(){for(;this.position<this.tokens.length;)this.parseTokens();return!this.current.last&&this.spaces?this.current.raws.before+=this.spaces:this.spaces&&(this.current.last.raws.after+=this.spaces),this.spaces=\"\",this.root}operator(){let Qi=this.currToken[1],$s;if(Qi===\"+\"||Qi===\"-\"){if(this.options.loose||this.position>0&&(this.current.type===\"func\"&&this.current.value===\"calc\"?this.prevToken[0]!==\"space\"&&this.prevToken[0]!==\"(\"?this.error(\"Syntax Error\",this.currToken):this.nextToken[0]!==\"space\"&&this.nextToken[0]!==\"word\"?this.error(\"Syntax Error\",this.currToken):this.nextToken[0]===\"word\"&&this.current.last.type!==\"operator\"&&this.current.last.value!==\"(\"&&this.error(\"Syntax Error\",this.currToken):(this.nextToken[0]===\"space\"||this.nextToken[0]===\"operator\"||this.prevToken[0]===\"operator\")&&this.error(\"Syntax Error\",this.currToken)),this.options.loose){if((!this.current.nodes.length||this.current.last&&this.current.last.type===\"operator\")&&this.nextToken[0]===\"word\")return this.word()}else if(this.nextToken[0]===\"word\")return this.word()}return $s=new Q({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),this.position++,this.newNode($s)}parseTokens(){switch(this.currToken[0]){case\"space\":this.space();break;case\"colon\":this.colon();break;case\"comma\":this.comma();break;case\"comment\":this.comment();break;case\"(\":this.parenOpen();break;case\")\":this.parenClose();break;case\"atword\":case\"word\":this.word();break;case\"operator\":this.operator();break;case\"string\":this.string();break;case\"unicoderange\":this.unicodeRange();break;default:this.word();break}}parenOpen(){let Qi=1,$s=this.position+1,vo=this.currToken,Mo;for(;$s<this.tokens.length&&Qi;){let Ea=this.tokens[$s];Ea[0]===\"(\"&&Qi++,Ea[0]===\")\"&&Qi--,$s++}if(Qi&&this.error(\"Expected closing parenthesis\",vo),Mo=this.current.last,Mo&&Mo.type===\"func\"&&Mo.unbalanced<0&&(Mo.unbalanced=0,this.current=Mo),this.current.unbalanced++,this.newNode(new W({value:vo[1],source:{start:{line:vo[2],column:vo[3]},end:{line:vo[4],column:vo[5]}},sourceIndex:vo[6]})),this.position++,this.current.type===\"func\"&&this.current.unbalanced&&this.current.value===\"url\"&&this.currToken[0]!==\"string\"&&this.currToken[0]!==\")\"&&!this.options.loose){let Ea=this.nextToken,Ca=this.currToken[1],Ma={line:this.currToken[2],column:this.currToken[3]};for(;Ea&&Ea[0]!==\")\"&&this.current.unbalanced;)this.position++,Ca+=this.currToken[1],Ea=this.nextToken;this.position!==this.tokens.length-1&&(this.position++,this.newNode(new Oe({value:Ca,source:{start:Ma,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){let Qi=this.currToken;this.newNode(new W({value:Qi[1],source:{start:{line:Qi[2],column:Qi[3]},end:{line:Qi[4],column:Qi[5]}},sourceIndex:Qi[6]})),this.position++,!(this.position>=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error(\"Expected opening parenthesis\",Qi),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let Qi=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===\",\"||this.nextToken[0]===\")\"?(this.current.last.raws.after+=Qi[1],this.position++):(this.spaces=Qi[1],this.position++)}unicodeRange(){let Qi=this.currToken;this.newNode(new zt({value:Qi[1],source:{start:{line:Qi[2],column:Qi[3]},end:{line:Qi[4],column:Qi[5]}},sourceIndex:Qi[6]})),this.position++}splitWord(){let Qi=this.nextToken,$s=this.currToken[1],vo=/^[\\+\\-]?((\\d+(\\.\\d*)?)|(\\.\\d+))([eE][\\+\\-]?\\d+)?/,Mo=/^(?!\\#([a-z0-9]+))[\\#\\{\\}]/gi,Ea,Ca;if(!Mo.test($s))for(;Qi&&Qi[0]===\"word\";)this.position++,$s+=this.currToken[1],Qi=this.nextToken;Ea=Cn($s,\"@\"),Ca=Oi(Bt(xn([[0],Ea]))),Ca.forEach((Ma,Yo)=>{let Oa=Ca[Yo+1]||$s.length,qs=$s.slice(Ma,Oa),cs;if(~Ea.indexOf(Ma))cs=new Ye({value:qs.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+Ma},end:{line:this.currToken[4],column:this.currToken[3]+(Oa-1)}},sourceIndex:this.currToken[6]+Ca[Yo]});else if(vo.test(this.currToken[1])){let Xs=qs.replace(vo,\"\");cs=new Et({value:qs.replace(Xs,\"\"),source:{start:{line:this.currToken[2],column:this.currToken[3]+Ma},end:{line:this.currToken[4],column:this.currToken[3]+(Oa-1)}},sourceIndex:this.currToken[6]+Ca[Yo],unit:Xs})}else cs=new(Qi&&Qi[0]===\"(\"?lt:Oe)({value:qs,source:{start:{line:this.currToken[2],column:this.currToken[3]+Ma},end:{line:this.currToken[4],column:this.currToken[3]+(Oa-1)}},sourceIndex:this.currToken[6]+Ca[Yo]}),cs.type===\"word\"?(cs.isHex=/^#(.+)/.test(qs),cs.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(qs)):this.cache.push(this.current);this.newNode(cs)}),this.position++}string(){let Qi=this.currToken,$s=this.currToken[1],vo=/^(\\\"|\\')/,Mo=vo.test($s),Ea=\"\",Ca;Mo&&(Ea=$s.match(vo)[0],$s=$s.slice(1,$s.length-1)),Ca=new Je({value:$s,source:{start:{line:Qi[2],column:Qi[3]},end:{line:Qi[4],column:Qi[5]}},sourceIndex:Qi[6],quoted:Mo}),Ca.raws.quote=Ea,this.newNode(Ca),this.position++}word(){return this.splitWord()}newNode(Qi){return this.spaces&&(Qi.raws.before+=this.spaces,this.spaces=\"\"),this.current.append(Qi)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}}}),Sa=Yt({\"node_modules/postcss-values-parser/lib/index.js\"(K,nt){ni();var Ue=jo(),qe=bf(),Ye=vf(),xt=Wp(),bt=Cf(),wt=Vp(),lt=hd(),Et=tp(),Q=Ia(),W=eg(),Je=ed(),Oe=oh(),zt=$g(),Tt=function(xn,Cn){return new Ue(xn,Cn)};Tt.atword=function(xn){return new qe(xn)},Tt.colon=function(xn){return new Ye(Object.assign({value:\":\"},xn))},Tt.comma=function(xn){return new xt(Object.assign({value:\",\"},xn))},Tt.comment=function(xn){return new bt(xn)},Tt.func=function(xn){return new wt(xn)},Tt.number=function(xn){return new lt(xn)},Tt.operator=function(xn){return new Et(xn)},Tt.paren=function(xn){return new Q(Object.assign({value:\"(\"},xn))},Tt.string=function(xn){return new W(Object.assign({quote:\"'\"},xn))},Tt.value=function(xn){return new Oe(xn)},Tt.word=function(xn){return new zt(xn)},Tt.unicodeRange=function(xn){return new Je(xn)},nt.exports=Tt}}),va=Yt({\"node_modules/postcss-selector-parser/dist/selectors/node.js\"(K,nt){ni(),K.__esModule=!0;var Ue=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(bt){return typeof bt}:function(bt){return bt&&typeof Symbol==\"function\"&&bt.constructor===Symbol&&bt!==Symbol.prototype?\"symbol\":typeof bt};function qe(bt,wt){if(!(bt instanceof wt))throw new TypeError(\"Cannot call a class as a function\")}var Ye=function bt(wt,lt){if((typeof wt>\"u\"?\"undefined\":Ue(wt))!==\"object\")return wt;var Et=new wt.constructor;for(var Q in wt)if(wt.hasOwnProperty(Q)){var W=wt[Q],Je=typeof W>\"u\"?\"undefined\":Ue(W);Q===\"parent\"&&Je===\"object\"?lt&&(Et[Q]=lt):W instanceof Array?Et[Q]=W.map(function(Oe){return bt(Oe,Et)}):Et[Q]=bt(W,Et)}return Et},xt=function(){function bt(){var wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};qe(this,bt);for(var lt in wt)this[lt]=wt[lt];var Et=wt.spaces;Et=Et===void 0?{}:Et;var Q=Et.before,W=Q===void 0?\"\":Q,Je=Et.after,Oe=Je===void 0?\"\":Je;this.spaces={before:W,after:Oe}}return bt.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},bt.prototype.replaceWith=function(){if(this.parent){for(var wt in arguments)this.parent.insertBefore(this,arguments[wt]);this.remove()}return this},bt.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},bt.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},bt.prototype.clone=function(){var wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},lt=Ye(this);for(var Et in wt)lt[Et]=wt[Et];return lt},bt.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join(\"\")},bt}();K.default=xt,nt.exports=K.default}}),el=Yt({\"node_modules/postcss-selector-parser/dist/selectors/types.js\"(K){ni(),K.__esModule=!0,K.TAG=\"tag\",K.STRING=\"string\",K.SELECTOR=\"selector\",K.ROOT=\"root\",K.PSEUDO=\"pseudo\",K.NESTING=\"nesting\",K.ID=\"id\",K.COMMENT=\"comment\",K.COMBINATOR=\"combinator\",K.CLASS=\"class\",K.ATTRIBUTE=\"attribute\",K.UNIVERSAL=\"universal\"}}),Cu=Yt({\"node_modules/postcss-selector-parser/dist/selectors/container.js\"(K,nt){ni(),K.__esModule=!0;var Ue=function(){function Oe(zt,Tt){for(var xn=0;xn<Tt.length;xn++){var Cn=Tt[xn];Cn.enumerable=Cn.enumerable||!1,Cn.configurable=!0,\"value\"in Cn&&(Cn.writable=!0),Object.defineProperty(zt,Cn.key,Cn)}}return function(zt,Tt,xn){return Tt&&Oe(zt.prototype,Tt),xn&&Oe(zt,xn),zt}}(),qe=va(),Ye=lt(qe),xt=el(),bt=wt(xt);function wt(Oe){if(Oe&&Oe.__esModule)return Oe;var zt={};if(Oe!=null)for(var Tt in Oe)Object.prototype.hasOwnProperty.call(Oe,Tt)&&(zt[Tt]=Oe[Tt]);return zt.default=Oe,zt}function lt(Oe){return Oe&&Oe.__esModule?Oe:{default:Oe}}function Et(Oe,zt){if(!(Oe instanceof zt))throw new TypeError(\"Cannot call a class as a function\")}function Q(Oe,zt){if(!Oe)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return zt&&(typeof zt==\"object\"||typeof zt==\"function\")?zt:Oe}function W(Oe,zt){if(typeof zt!=\"function\"&&zt!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof zt);Oe.prototype=Object.create(zt&&zt.prototype,{constructor:{value:Oe,enumerable:!1,writable:!0,configurable:!0}}),zt&&(Object.setPrototypeOf?Object.setPrototypeOf(Oe,zt):Oe.__proto__=zt)}var Je=function(Oe){W(zt,Oe);function zt(Tt){Et(this,zt);var xn=Q(this,Oe.call(this,Tt));return xn.nodes||(xn.nodes=[]),xn}return zt.prototype.append=function(Tt){return Tt.parent=this,this.nodes.push(Tt),this},zt.prototype.prepend=function(Tt){return Tt.parent=this,this.nodes.unshift(Tt),this},zt.prototype.at=function(Tt){return this.nodes[Tt]},zt.prototype.index=function(Tt){return typeof Tt==\"number\"?Tt:this.nodes.indexOf(Tt)},zt.prototype.removeChild=function(Tt){Tt=this.index(Tt),this.at(Tt).parent=void 0,this.nodes.splice(Tt,1);var xn=void 0;for(var Cn in this.indexes)xn=this.indexes[Cn],xn>=Tt&&(this.indexes[Cn]=xn-1);return this},zt.prototype.removeAll=function(){for(var Cn=this.nodes,Tt=Array.isArray(Cn),xn=0,Cn=Tt?Cn:Cn[Symbol.iterator]();;){var Bt;if(Tt){if(xn>=Cn.length)break;Bt=Cn[xn++]}else{if(xn=Cn.next(),xn.done)break;Bt=xn.value}var yi=Bt;yi.parent=void 0}return this.nodes=[],this},zt.prototype.empty=function(){return this.removeAll()},zt.prototype.insertAfter=function(Tt,xn){var Cn=this.index(Tt);this.nodes.splice(Cn+1,0,xn);var Bt=void 0;for(var yi in this.indexes)Bt=this.indexes[yi],Cn<=Bt&&(this.indexes[yi]=Bt+this.nodes.length);return this},zt.prototype.insertBefore=function(Tt,xn){var Cn=this.index(Tt);this.nodes.splice(Cn,0,xn);var Bt=void 0;for(var yi in this.indexes)Bt=this.indexes[yi],Cn<=Bt&&(this.indexes[yi]=Bt+this.nodes.length);return this},zt.prototype.each=function(Tt){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var xn=this.lastEach;if(this.indexes[xn]=0,!!this.length){for(var Cn=void 0,Bt=void 0;this.indexes[xn]<this.length&&(Cn=this.indexes[xn],Bt=Tt(this.at(Cn),Cn),Bt!==!1);)this.indexes[xn]+=1;if(delete this.indexes[xn],Bt===!1)return!1}},zt.prototype.walk=function(Tt){return this.each(function(xn,Cn){var Bt=Tt(xn,Cn);if(Bt!==!1&&xn.length&&(Bt=xn.walk(Tt)),Bt===!1)return!1})},zt.prototype.walkAttributes=function(Tt){var xn=this;return this.walk(function(Cn){if(Cn.type===bt.ATTRIBUTE)return Tt.call(xn,Cn)})},zt.prototype.walkClasses=function(Tt){var xn=this;return this.walk(function(Cn){if(Cn.type===bt.CLASS)return Tt.call(xn,Cn)})},zt.prototype.walkCombinators=function(Tt){var xn=this;return this.walk(function(Cn){if(Cn.type===bt.COMBINATOR)return Tt.call(xn,Cn)})},zt.prototype.walkComments=function(Tt){var xn=this;return this.walk(function(Cn){if(Cn.type===bt.COMMENT)return Tt.call(xn,Cn)})},zt.prototype.walkIds=function(Tt){var xn=this;return this.walk(function(Cn){if(Cn.type===bt.ID)return Tt.call(xn,Cn)})},zt.prototype.walkNesting=function(Tt){var xn=this;return this.walk(function(Cn){if(Cn.type===bt.NESTING)return Tt.call(xn,Cn)})},zt.prototype.walkPseudos=function(Tt){var xn=this;return this.walk(function(Cn){if(Cn.type===bt.PSEUDO)return Tt.call(xn,Cn)})},zt.prototype.walkTags=function(Tt){var xn=this;return this.walk(function(Cn){if(Cn.type===bt.TAG)return Tt.call(xn,Cn)})},zt.prototype.walkUniversals=function(Tt){var xn=this;return this.walk(function(Cn){if(Cn.type===bt.UNIVERSAL)return Tt.call(xn,Cn)})},zt.prototype.split=function(Tt){var xn=this,Cn=[];return this.reduce(function(Bt,yi,Oi){var Qi=Tt.call(xn,yi);return Cn.push(yi),Qi?(Bt.push(Cn),Cn=[]):Oi===xn.length-1&&Bt.push(Cn),Bt},[])},zt.prototype.map=function(Tt){return this.nodes.map(Tt)},zt.prototype.reduce=function(Tt,xn){return this.nodes.reduce(Tt,xn)},zt.prototype.every=function(Tt){return this.nodes.every(Tt)},zt.prototype.some=function(Tt){return this.nodes.some(Tt)},zt.prototype.filter=function(Tt){return this.nodes.filter(Tt)},zt.prototype.sort=function(Tt){return this.nodes.sort(Tt)},zt.prototype.toString=function(){return this.map(String).join(\"\")},Ue(zt,[{key:\"first\",get:function(){return this.at(0)}},{key:\"last\",get:function(){return this.at(this.length-1)}},{key:\"length\",get:function(){return this.nodes.length}}]),zt}(Ye.default);K.default=Je,nt.exports=K.default}}),Au=Yt({\"node_modules/postcss-selector-parser/dist/selectors/root.js\"(K,nt){ni(),K.__esModule=!0;var Ue=Cu(),qe=xt(Ue),Ye=el();function xt(Q){return Q&&Q.__esModule?Q:{default:Q}}function bt(Q,W){if(!(Q instanceof W))throw new TypeError(\"Cannot call a class as a function\")}function wt(Q,W){if(!Q)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return W&&(typeof W==\"object\"||typeof W==\"function\")?W:Q}function lt(Q,W){if(typeof W!=\"function\"&&W!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof W);Q.prototype=Object.create(W&&W.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}}),W&&(Object.setPrototypeOf?Object.setPrototypeOf(Q,W):Q.__proto__=W)}var Et=function(Q){lt(W,Q);function W(Je){bt(this,W);var Oe=wt(this,Q.call(this,Je));return Oe.type=Ye.ROOT,Oe}return W.prototype.toString=function(){var Je=this.reduce(function(Oe,zt){var Tt=String(zt);return Tt?Oe+Tt+\",\":\"\"},\"\").slice(0,-1);return this.trailingComma?Je+\",\":Je},W}(qe.default);K.default=Et,nt.exports=K.default}}),nu=Yt({\"node_modules/postcss-selector-parser/dist/selectors/selector.js\"(K,nt){ni(),K.__esModule=!0;var Ue=Cu(),qe=xt(Ue),Ye=el();function xt(Q){return Q&&Q.__esModule?Q:{default:Q}}function bt(Q,W){if(!(Q instanceof W))throw new TypeError(\"Cannot call a class as a function\")}function wt(Q,W){if(!Q)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return W&&(typeof W==\"object\"||typeof W==\"function\")?W:Q}function lt(Q,W){if(typeof W!=\"function\"&&W!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof W);Q.prototype=Object.create(W&&W.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}}),W&&(Object.setPrototypeOf?Object.setPrototypeOf(Q,W):Q.__proto__=W)}var Et=function(Q){lt(W,Q);function W(Je){bt(this,W);var Oe=wt(this,Q.call(this,Je));return Oe.type=Ye.SELECTOR,Oe}return W}(qe.default);K.default=Et,nt.exports=K.default}}),lh=Yt({\"node_modules/postcss-selector-parser/dist/selectors/namespace.js\"(K,nt){ni(),K.__esModule=!0;var Ue=function(){function Q(W,Je){for(var Oe=0;Oe<Je.length;Oe++){var zt=Je[Oe];zt.enumerable=zt.enumerable||!1,zt.configurable=!0,\"value\"in zt&&(zt.writable=!0),Object.defineProperty(W,zt.key,zt)}}return function(W,Je,Oe){return Je&&Q(W.prototype,Je),Oe&&Q(W,Oe),W}}(),qe=va(),Ye=xt(qe);function xt(Q){return Q&&Q.__esModule?Q:{default:Q}}function bt(Q,W){if(!(Q instanceof W))throw new TypeError(\"Cannot call a class as a function\")}function wt(Q,W){if(!Q)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return W&&(typeof W==\"object\"||typeof W==\"function\")?W:Q}function lt(Q,W){if(typeof W!=\"function\"&&W!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof W);Q.prototype=Object.create(W&&W.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}}),W&&(Object.setPrototypeOf?Object.setPrototypeOf(Q,W):Q.__proto__=W)}var Et=function(Q){lt(W,Q);function W(){return bt(this,W),wt(this,Q.apply(this,arguments))}return W.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join(\"\")},Ue(W,[{key:\"ns\",get:function(){var Je=this.namespace;return Je?(typeof Je==\"string\"?Je:\"\")+\"|\":\"\"}}]),W}(Ye.default);K.default=Et,nt.exports=K.default}}),b_=Yt({\"node_modules/postcss-selector-parser/dist/selectors/className.js\"(K,nt){ni(),K.__esModule=!0;var Ue=lh(),qe=xt(Ue),Ye=el();function xt(Q){return Q&&Q.__esModule?Q:{default:Q}}function bt(Q,W){if(!(Q instanceof W))throw new TypeError(\"Cannot call a class as a function\")}function wt(Q,W){if(!Q)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return W&&(typeof W==\"object\"||typeof W==\"function\")?W:Q}function lt(Q,W){if(typeof W!=\"function\"&&W!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof W);Q.prototype=Object.create(W&&W.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}}),W&&(Object.setPrototypeOf?Object.setPrototypeOf(Q,W):Q.__proto__=W)}var Et=function(Q){lt(W,Q);function W(Je){bt(this,W);var Oe=wt(this,Q.call(this,Je));return Oe.type=Ye.CLASS,Oe}return W.prototype.toString=function(){return[this.spaces.before,this.ns,String(\".\"+this.value),this.spaces.after].join(\"\")},W}(qe.default);K.default=Et,nt.exports=K.default}}),v_=Yt({\"node_modules/postcss-selector-parser/dist/selectors/comment.js\"(K,nt){ni(),K.__esModule=!0;var Ue=va(),qe=xt(Ue),Ye=el();function xt(Q){return Q&&Q.__esModule?Q:{default:Q}}function bt(Q,W){if(!(Q instanceof W))throw new TypeError(\"Cannot call a class as a function\")}function wt(Q,W){if(!Q)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return W&&(typeof W==\"object\"||typeof W==\"function\")?W:Q}function lt(Q,W){if(typeof W!=\"function\"&&W!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof W);Q.prototype=Object.create(W&&W.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}}),W&&(Object.setPrototypeOf?Object.setPrototypeOf(Q,W):Q.__proto__=W)}var Et=function(Q){lt(W,Q);function W(Je){bt(this,W);var Oe=wt(this,Q.call(this,Je));return Oe.type=Ye.COMMENT,Oe}return W}(qe.default);K.default=Et,nt.exports=K.default}}),zg=Yt({\"node_modules/postcss-selector-parser/dist/selectors/id.js\"(K,nt){ni(),K.__esModule=!0;var Ue=lh(),qe=xt(Ue),Ye=el();function xt(Q){return Q&&Q.__esModule?Q:{default:Q}}function bt(Q,W){if(!(Q instanceof W))throw new TypeError(\"Cannot call a class as a function\")}function wt(Q,W){if(!Q)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return W&&(typeof W==\"object\"||typeof W==\"function\")?W:Q}function lt(Q,W){if(typeof W!=\"function\"&&W!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof W);Q.prototype=Object.create(W&&W.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}}),W&&(Object.setPrototypeOf?Object.setPrototypeOf(Q,W):Q.__proto__=W)}var Et=function(Q){lt(W,Q);function W(Je){bt(this,W);var Oe=wt(this,Q.call(this,Je));return Oe.type=Ye.ID,Oe}return W.prototype.toString=function(){return[this.spaces.before,this.ns,String(\"#\"+this.value),this.spaces.after].join(\"\")},W}(qe.default);K.default=Et,nt.exports=K.default}}),tg=Yt({\"node_modules/postcss-selector-parser/dist/selectors/tag.js\"(K,nt){ni(),K.__esModule=!0;var Ue=lh(),qe=xt(Ue),Ye=el();function xt(Q){return Q&&Q.__esModule?Q:{default:Q}}function bt(Q,W){if(!(Q instanceof W))throw new TypeError(\"Cannot call a class as a function\")}function wt(Q,W){if(!Q)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return W&&(typeof W==\"object\"||typeof W==\"function\")?W:Q}function lt(Q,W){if(typeof W!=\"function\"&&W!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof W);Q.prototype=Object.create(W&&W.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}}),W&&(Object.setPrototypeOf?Object.setPrototypeOf(Q,W):Q.__proto__=W)}var Et=function(Q){lt(W,Q);function W(Je){bt(this,W);var Oe=wt(this,Q.call(this,Je));return Oe.type=Ye.TAG,Oe}return W}(qe.default);K.default=Et,nt.exports=K.default}}),Ug=Yt({\"node_modules/postcss-selector-parser/dist/selectors/string.js\"(K,nt){ni(),K.__esModule=!0;var Ue=va(),qe=xt(Ue),Ye=el();function xt(Q){return Q&&Q.__esModule?Q:{default:Q}}function bt(Q,W){if(!(Q instanceof W))throw new TypeError(\"Cannot call a class as a function\")}function wt(Q,W){if(!Q)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return W&&(typeof W==\"object\"||typeof W==\"function\")?W:Q}function lt(Q,W){if(typeof W!=\"function\"&&W!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof W);Q.prototype=Object.create(W&&W.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}}),W&&(Object.setPrototypeOf?Object.setPrototypeOf(Q,W):Q.__proto__=W)}var Et=function(Q){lt(W,Q);function W(Je){bt(this,W);var Oe=wt(this,Q.call(this,Je));return Oe.type=Ye.STRING,Oe}return W}(qe.default);K.default=Et,nt.exports=K.default}}),Rc=Yt({\"node_modules/postcss-selector-parser/dist/selectors/pseudo.js\"(K,nt){ni(),K.__esModule=!0;var Ue=Cu(),qe=xt(Ue),Ye=el();function xt(Q){return Q&&Q.__esModule?Q:{default:Q}}function bt(Q,W){if(!(Q instanceof W))throw new TypeError(\"Cannot call a class as a function\")}function wt(Q,W){if(!Q)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return W&&(typeof W==\"object\"||typeof W==\"function\")?W:Q}function lt(Q,W){if(typeof W!=\"function\"&&W!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof W);Q.prototype=Object.create(W&&W.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}}),W&&(Object.setPrototypeOf?Object.setPrototypeOf(Q,W):Q.__proto__=W)}var Et=function(Q){lt(W,Q);function W(Je){bt(this,W);var Oe=wt(this,Q.call(this,Je));return Oe.type=Ye.PSEUDO,Oe}return W.prototype.toString=function(){var Je=this.length?\"(\"+this.map(String).join(\",\")+\")\":\"\";return[this.spaces.before,String(this.value),Je,this.spaces.after].join(\"\")},W}(qe.default);K.default=Et,nt.exports=K.default}}),Bh=Yt({\"node_modules/postcss-selector-parser/dist/selectors/attribute.js\"(K,nt){ni(),K.__esModule=!0;var Ue=lh(),qe=xt(Ue),Ye=el();function xt(Q){return Q&&Q.__esModule?Q:{default:Q}}function bt(Q,W){if(!(Q instanceof W))throw new TypeError(\"Cannot call a class as a function\")}function wt(Q,W){if(!Q)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return W&&(typeof W==\"object\"||typeof W==\"function\")?W:Q}function lt(Q,W){if(typeof W!=\"function\"&&W!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof W);Q.prototype=Object.create(W&&W.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}}),W&&(Object.setPrototypeOf?Object.setPrototypeOf(Q,W):Q.__proto__=W)}var Et=function(Q){lt(W,Q);function W(Je){bt(this,W);var Oe=wt(this,Q.call(this,Je));return Oe.type=Ye.ATTRIBUTE,Oe.raws={},Oe}return W.prototype.toString=function(){var Je=[this.spaces.before,\"[\",this.ns,this.attribute];return this.operator&&Je.push(this.operator),this.value&&Je.push(this.value),this.raws.insensitive?Je.push(this.raws.insensitive):this.insensitive&&Je.push(\" i\"),Je.push(\"]\"),Je.concat(this.spaces.after).join(\"\")},W}(qe.default);K.default=Et,nt.exports=K.default}}),$p=Yt({\"node_modules/postcss-selector-parser/dist/selectors/universal.js\"(K,nt){ni(),K.__esModule=!0;var Ue=lh(),qe=xt(Ue),Ye=el();function xt(Q){return Q&&Q.__esModule?Q:{default:Q}}function bt(Q,W){if(!(Q instanceof W))throw new TypeError(\"Cannot call a class as a function\")}function wt(Q,W){if(!Q)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return W&&(typeof W==\"object\"||typeof W==\"function\")?W:Q}function lt(Q,W){if(typeof W!=\"function\"&&W!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof W);Q.prototype=Object.create(W&&W.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}}),W&&(Object.setPrototypeOf?Object.setPrototypeOf(Q,W):Q.__proto__=W)}var Et=function(Q){lt(W,Q);function W(Je){bt(this,W);var Oe=wt(this,Q.call(this,Je));return Oe.type=Ye.UNIVERSAL,Oe.value=\"*\",Oe}return W}(qe.default);K.default=Et,nt.exports=K.default}}),hy=Yt({\"node_modules/postcss-selector-parser/dist/selectors/combinator.js\"(K,nt){ni(),K.__esModule=!0;var Ue=va(),qe=xt(Ue),Ye=el();function xt(Q){return Q&&Q.__esModule?Q:{default:Q}}function bt(Q,W){if(!(Q instanceof W))throw new TypeError(\"Cannot call a class as a function\")}function wt(Q,W){if(!Q)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return W&&(typeof W==\"object\"||typeof W==\"function\")?W:Q}function lt(Q,W){if(typeof W!=\"function\"&&W!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof W);Q.prototype=Object.create(W&&W.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}}),W&&(Object.setPrototypeOf?Object.setPrototypeOf(Q,W):Q.__proto__=W)}var Et=function(Q){lt(W,Q);function W(Je){bt(this,W);var Oe=wt(this,Q.call(this,Je));return Oe.type=Ye.COMBINATOR,Oe}return W}(qe.default);K.default=Et,nt.exports=K.default}}),py=Yt({\"node_modules/postcss-selector-parser/dist/selectors/nesting.js\"(K,nt){ni(),K.__esModule=!0;var Ue=va(),qe=xt(Ue),Ye=el();function xt(Q){return Q&&Q.__esModule?Q:{default:Q}}function bt(Q,W){if(!(Q instanceof W))throw new TypeError(\"Cannot call a class as a function\")}function wt(Q,W){if(!Q)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return W&&(typeof W==\"object\"||typeof W==\"function\")?W:Q}function lt(Q,W){if(typeof W!=\"function\"&&W!==null)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof W);Q.prototype=Object.create(W&&W.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}}),W&&(Object.setPrototypeOf?Object.setPrototypeOf(Q,W):Q.__proto__=W)}var Et=function(Q){lt(W,Q);function W(Je){bt(this,W);var Oe=wt(this,Q.call(this,Je));return Oe.type=Ye.NESTING,Oe.value=\"&\",Oe}return W}(qe.default);K.default=Et,nt.exports=K.default}}),ng=Yt({\"node_modules/postcss-selector-parser/dist/sortAscending.js\"(K,nt){ni(),K.__esModule=!0,K.default=Ue;function Ue(qe){return qe.sort(function(Ye,xt){return Ye-xt})}nt.exports=K.default}}),C_=Yt({\"node_modules/postcss-selector-parser/dist/tokenize.js\"(K,nt){ni(),K.__esModule=!0,K.default=Ma;var Ue=39,qe=34,Ye=92,xt=47,bt=10,wt=32,lt=12,Et=9,Q=13,W=43,Je=62,Oe=126,zt=124,Tt=44,xn=40,Cn=41,Bt=91,yi=93,Oi=59,Qi=42,$s=58,vo=38,Mo=64,Ea=/[ \\n\\t\\r\\{\\(\\)'\"\\\\;/]/g,Ca=/[ \\n\\t\\r\\(\\)\\*:;@!&'\"\\+\\|~>,\\[\\]\\\\]|\\/(?=\\*)/g;function Ma(Yo){for(var Oa=[],qs=Yo.css.valueOf(),cs=void 0,Xs=void 0,ds=void 0,Zu=void 0,au=void 0,Du=void 0,ue=void 0,Tn=void 0,Ei=void 0,Gr=void 0,ts=void 0,Es=qs.length,Ai=-1,Mr=1,vr=0,ao=function($i,pa){if(Yo.safe)qs+=pa,Xs=qs.length-1;else throw Yo.error(\"Unclosed \"+$i,Mr,vr-Ai,vr)};vr<Es;){switch(cs=qs.charCodeAt(vr),cs===bt&&(Ai=vr,Mr+=1),cs){case bt:case wt:case Et:case Q:case lt:Xs=vr;do Xs+=1,cs=qs.charCodeAt(Xs),cs===bt&&(Ai=Xs,Mr+=1);while(cs===wt||cs===bt||cs===Et||cs===Q||cs===lt);Oa.push([\"space\",qs.slice(vr,Xs),Mr,vr-Ai,vr]),vr=Xs-1;break;case W:case Je:case Oe:case zt:Xs=vr;do Xs+=1,cs=qs.charCodeAt(Xs);while(cs===W||cs===Je||cs===Oe||cs===zt);Oa.push([\"combinator\",qs.slice(vr,Xs),Mr,vr-Ai,vr]),vr=Xs-1;break;case Qi:Oa.push([\"*\",\"*\",Mr,vr-Ai,vr]);break;case vo:Oa.push([\"&\",\"&\",Mr,vr-Ai,vr]);break;case Tt:Oa.push([\",\",\",\",Mr,vr-Ai,vr]);break;case Bt:Oa.push([\"[\",\"[\",Mr,vr-Ai,vr]);break;case yi:Oa.push([\"]\",\"]\",Mr,vr-Ai,vr]);break;case $s:Oa.push([\":\",\":\",Mr,vr-Ai,vr]);break;case Oi:Oa.push([\";\",\";\",Mr,vr-Ai,vr]);break;case xn:Oa.push([\"(\",\"(\",Mr,vr-Ai,vr]);break;case Cn:Oa.push([\")\",\")\",Mr,vr-Ai,vr]);break;case Ue:case qe:ds=cs===Ue?\"'\":'\"',Xs=vr;do for(Gr=!1,Xs=qs.indexOf(ds,Xs+1),Xs===-1&&ao(\"quote\",ds),ts=Xs;qs.charCodeAt(ts-1)===Ye;)ts-=1,Gr=!Gr;while(Gr);Oa.push([\"string\",qs.slice(vr,Xs+1),Mr,vr-Ai,Mr,Xs-Ai,vr]),vr=Xs;break;case Mo:Ea.lastIndex=vr+1,Ea.test(qs),Ea.lastIndex===0?Xs=qs.length-1:Xs=Ea.lastIndex-2,Oa.push([\"at-word\",qs.slice(vr,Xs+1),Mr,vr-Ai,Mr,Xs-Ai,vr]),vr=Xs;break;case Ye:for(Xs=vr,ue=!0;qs.charCodeAt(Xs+1)===Ye;)Xs+=1,ue=!ue;cs=qs.charCodeAt(Xs+1),ue&&cs!==xt&&cs!==wt&&cs!==bt&&cs!==Et&&cs!==Q&&cs!==lt&&(Xs+=1),Oa.push([\"word\",qs.slice(vr,Xs+1),Mr,vr-Ai,Mr,Xs-Ai,vr]),vr=Xs;break;default:cs===xt&&qs.charCodeAt(vr+1)===Qi?(Xs=qs.indexOf(\"*/\",vr+2)+1,Xs===0&&ao(\"comment\",\"*/\"),Du=qs.slice(vr,Xs+1),Zu=Du.split(`\n`),au=Zu.length-1,au>0?(Tn=Mr+au,Ei=Xs-Zu[au].length):(Tn=Mr,Ei=Ai),Oa.push([\"comment\",Du,Mr,vr-Ai,Tn,Xs-Ei,vr]),Ai=Ei,Mr=Tn,vr=Xs):(Ca.lastIndex=vr+1,Ca.test(qs),Ca.lastIndex===0?Xs=qs.length-1:Xs=Ca.lastIndex-2,Oa.push([\"word\",qs.slice(vr,Xs+1),Mr,vr-Ai,Mr,Xs-Ai,vr]),vr=Xs);break}vr++}return Oa}nt.exports=K.default}}),uu=Yt({\"node_modules/postcss-selector-parser/dist/parser.js\"(K,nt){ni(),K.__esModule=!0;var Ue=function(){function Ai(Mr,vr){for(var ao=0;ao<vr.length;ao++){var $i=vr[ao];$i.enumerable=$i.enumerable||!1,$i.configurable=!0,\"value\"in $i&&($i.writable=!0),Object.defineProperty(Mr,$i.key,$i)}}return function(Mr,vr,ao){return vr&&Ai(Mr.prototype,vr),ao&&Ai(Mr,ao),Mr}}(),qe=Mh(),Ye=Gr(qe),xt=Rh(),bt=Gr(xt),wt=Pu(),lt=Gr(wt),Et=Au(),Q=Gr(Et),W=nu(),Je=Gr(W),Oe=b_(),zt=Gr(Oe),Tt=v_(),xn=Gr(Tt),Cn=zg(),Bt=Gr(Cn),yi=tg(),Oi=Gr(yi),Qi=Ug(),$s=Gr(Qi),vo=Rc(),Mo=Gr(vo),Ea=Bh(),Ca=Gr(Ea),Ma=$p(),Yo=Gr(Ma),Oa=hy(),qs=Gr(Oa),cs=py(),Xs=Gr(cs),ds=ng(),Zu=Gr(ds),au=C_(),Du=Gr(au),ue=el(),Tn=Ei(ue);function Ei(Ai){if(Ai&&Ai.__esModule)return Ai;var Mr={};if(Ai!=null)for(var vr in Ai)Object.prototype.hasOwnProperty.call(Ai,vr)&&(Mr[vr]=Ai[vr]);return Mr.default=Ai,Mr}function Gr(Ai){return Ai&&Ai.__esModule?Ai:{default:Ai}}function ts(Ai,Mr){if(!(Ai instanceof Mr))throw new TypeError(\"Cannot call a class as a function\")}var Es=function(){function Ai(Mr){ts(this,Ai),this.input=Mr,this.lossy=Mr.options.lossless===!1,this.position=0,this.root=new Q.default;var vr=new Je.default;return this.root.append(vr),this.current=vr,this.lossy?this.tokens=(0,Du.default)({safe:Mr.safe,css:Mr.css.trim()}):this.tokens=(0,Du.default)(Mr),this.loop()}return Ai.prototype.attribute=function(){var Mr=\"\",vr=void 0,ao=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!==\"]\";)Mr+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~Mr.indexOf(\"]\")&&this.error(\"Expected a closing square bracket.\");var $i=Mr.split(/((?:[*~^$|]?=))([^]*)/),pa=$i[0].split(/(\\|)/g),Ro={operator:$i[1],value:$i[2],source:{start:{line:ao[2],column:ao[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:ao[4]};if(pa.length>1?(pa[0]===\"\"&&(pa[0]=!0),Ro.attribute=this.parseValue(pa[2]),Ro.namespace=this.parseNamespace(pa[0])):Ro.attribute=this.parseValue($i[0]),vr=new Ca.default(Ro),$i[2]){var td=$i[2].split(/(\\s+i\\s*?)$/),Bc=td[0].trim();vr.value=this.lossy?Bc:td[0],td[1]&&(vr.insensitive=!0,this.lossy||(vr.raws.insensitive=td[1])),vr.quoted=Bc[0]===\"'\"||Bc[0]==='\"',vr.raws.unquoted=vr.quoted?Bc.slice(1,-1):Bc}this.newNode(vr),this.position++},Ai.prototype.combinator=function(){if(this.currToken[1]===\"|\")return this.namespace();for(var Mr=new qs.default({value:\"\",source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]});this.position<this.tokens.length&&this.currToken&&(this.currToken[0]===\"space\"||this.currToken[0]===\"combinator\");)this.nextToken&&this.nextToken[0]===\"combinator\"?(Mr.spaces.before=this.parseSpace(this.currToken[1]),Mr.source.start.line=this.nextToken[2],Mr.source.start.column=this.nextToken[3],Mr.source.end.column=this.nextToken[3],Mr.source.end.line=this.nextToken[2],Mr.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]===\"combinator\"?Mr.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]===\"combinator\"?Mr.value=this.currToken[1]:this.currToken[0]===\"space\"&&(Mr.value=this.parseSpace(this.currToken[1],\" \")),this.position++;return this.newNode(Mr)},Ai.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var Mr=new Je.default;this.current.parent.append(Mr),this.current=Mr,this.position++},Ai.prototype.comment=function(){var Mr=new xn.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]});this.newNode(Mr),this.position++},Ai.prototype.error=function(Mr){throw new this.input.error(Mr)},Ai.prototype.missingBackslash=function(){return this.error(\"Expected a backslash preceding the semicolon.\")},Ai.prototype.missingParenthesis=function(){return this.error(\"Expected opening parenthesis.\")},Ai.prototype.missingSquareBracket=function(){return this.error(\"Expected opening square bracket.\")},Ai.prototype.namespace=function(){var Mr=this.prevToken&&this.prevToken[1]||!0;if(this.nextToken[0]===\"word\")return this.position++,this.word(Mr);if(this.nextToken[0]===\"*\")return this.position++,this.universal(Mr)},Ai.prototype.nesting=function(){this.newNode(new Xs.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]})),this.position++},Ai.prototype.parentheses=function(){var Mr=this.current.last;if(Mr&&Mr.type===Tn.PSEUDO){var vr=new Je.default,ao=this.current;Mr.append(vr),this.current=vr;var $i=1;for(this.position++;this.position<this.tokens.length&&$i;)this.currToken[0]===\"(\"&&$i++,this.currToken[0]===\")\"&&$i--,$i?this.parse():(vr.parent.source.end.line=this.currToken[2],vr.parent.source.end.column=this.currToken[3],this.position++);$i&&this.error(\"Expected closing parenthesis.\"),this.current=ao}else{var pa=1;for(this.position++,Mr.value+=\"(\";this.position<this.tokens.length&&pa;)this.currToken[0]===\"(\"&&pa++,this.currToken[0]===\")\"&&pa--,Mr.value+=this.parseParenthesisToken(this.currToken),this.position++;pa&&this.error(\"Expected closing parenthesis.\")}},Ai.prototype.pseudo=function(){for(var Mr=this,vr=\"\",ao=this.currToken;this.currToken&&this.currToken[0]===\":\";)vr+=this.currToken[1],this.position++;if(!this.currToken)return this.error(\"Expected pseudo-class or pseudo-element\");if(this.currToken[0]===\"word\"){var $i=void 0;this.splitWord(!1,function(pa,Ro){vr+=pa,$i=new Mo.default({value:vr,source:{start:{line:ao[2],column:ao[3]},end:{line:Mr.currToken[4],column:Mr.currToken[5]}},sourceIndex:ao[4]}),Mr.newNode($i),Ro>1&&Mr.nextToken&&Mr.nextToken[0]===\"(\"&&Mr.error(\"Misplaced parenthesis.\")})}else this.error('Unexpected \"'+this.currToken[0]+'\" found.')},Ai.prototype.space=function(){var Mr=this.currToken;this.position===0||this.prevToken[0]===\",\"||this.prevToken[0]===\"(\"?(this.spaces=this.parseSpace(Mr[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===\",\"||this.nextToken[0]===\")\"?(this.current.last.spaces.after=this.parseSpace(Mr[1]),this.position++):this.combinator()},Ai.prototype.string=function(){var Mr=this.currToken;this.newNode(new $s.default({value:this.currToken[1],source:{start:{line:Mr[2],column:Mr[3]},end:{line:Mr[4],column:Mr[5]}},sourceIndex:Mr[6]})),this.position++},Ai.prototype.universal=function(Mr){var vr=this.nextToken;if(vr&&vr[1]===\"|\")return this.position++,this.namespace();this.newNode(new Yo.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),Mr),this.position++},Ai.prototype.splitWord=function(Mr,vr){for(var ao=this,$i=this.nextToken,pa=this.currToken[1];$i&&$i[0]===\"word\";){this.position++;var Ro=this.currToken[1];if(pa+=Ro,Ro.lastIndexOf(\"\\\\\")===Ro.length-1){var td=this.nextToken;td&&td[0]===\"space\"&&(pa+=this.parseSpace(td[1],\" \"),this.position++)}$i=this.nextToken}var Bc=(0,bt.default)(pa,\".\"),fu=(0,bt.default)(pa,\"#\"),Wh=(0,bt.default)(pa,\"#{\");Wh.length&&(fu=fu.filter(function(Hc){return!~Wh.indexOf(Hc)}));var nd=(0,Zu.default)((0,lt.default)((0,Ye.default)([[0],Bc,fu])));nd.forEach(function(Hc,bc){var Su=nd[bc+1]||pa.length,ku=pa.slice(Hc,Su);if(bc===0&&vr)return vr.call(ao,ku,nd.length);var id=void 0;~Bc.indexOf(Hc)?id=new zt.default({value:ku.slice(1),source:{start:{line:ao.currToken[2],column:ao.currToken[3]+Hc},end:{line:ao.currToken[4],column:ao.currToken[3]+(Su-1)}},sourceIndex:ao.currToken[6]+nd[bc]}):~fu.indexOf(Hc)?id=new Bt.default({value:ku.slice(1),source:{start:{line:ao.currToken[2],column:ao.currToken[3]+Hc},end:{line:ao.currToken[4],column:ao.currToken[3]+(Su-1)}},sourceIndex:ao.currToken[6]+nd[bc]}):id=new Oi.default({value:ku,source:{start:{line:ao.currToken[2],column:ao.currToken[3]+Hc},end:{line:ao.currToken[4],column:ao.currToken[3]+(Su-1)}},sourceIndex:ao.currToken[6]+nd[bc]}),ao.newNode(id,Mr)}),this.position++},Ai.prototype.word=function(Mr){var vr=this.nextToken;return vr&&vr[1]===\"|\"?(this.position++,this.namespace()):this.splitWord(Mr)},Ai.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},Ai.prototype.parse=function(Mr){switch(this.currToken[0]){case\"space\":this.space();break;case\"comment\":this.comment();break;case\"(\":this.parentheses();break;case\")\":Mr&&this.missingParenthesis();break;case\"[\":this.attribute();break;case\"]\":this.missingSquareBracket();break;case\"at-word\":case\"word\":this.word();break;case\":\":this.pseudo();break;case\";\":this.missingBackslash();break;case\",\":this.comma();break;case\"*\":this.universal();break;case\"&\":this.nesting();break;case\"combinator\":this.combinator();break;case\"string\":this.string();break}},Ai.prototype.parseNamespace=function(Mr){if(this.lossy&&typeof Mr==\"string\"){var vr=Mr.trim();return vr.length?vr:!0}return Mr},Ai.prototype.parseSpace=function(Mr,vr){return this.lossy?vr||\"\":Mr},Ai.prototype.parseValue=function(Mr){return this.lossy&&Mr&&typeof Mr==\"string\"?Mr.trim():Mr},Ai.prototype.parseParenthesisToken=function(Mr){return this.lossy?Mr[0]===\"space\"?this.parseSpace(Mr[1],\" \"):this.parseValue(Mr[1]):Mr[1]},Ai.prototype.newNode=function(Mr,vr){return vr&&(Mr.namespace=this.parseNamespace(vr)),this.spaces&&(Mr.spaces.before=this.spaces,this.spaces=\"\"),this.current.append(Mr)},Ue(Ai,[{key:\"currToken\",get:function(){return this.tokens[this.position]}},{key:\"nextToken\",get:function(){return this.tokens[this.position+1]}},{key:\"prevToken\",get:function(){return this.tokens[this.position-1]}}]),Ai}();K.default=Es,nt.exports=K.default}}),Kg=Yt({\"node_modules/postcss-selector-parser/dist/processor.js\"(K,nt){ni(),K.__esModule=!0;var Ue=function(){function lt(Et,Q){for(var W=0;W<Q.length;W++){var Je=Q[W];Je.enumerable=Je.enumerable||!1,Je.configurable=!0,\"value\"in Je&&(Je.writable=!0),Object.defineProperty(Et,Je.key,Je)}}return function(Et,Q,W){return Q&&lt(Et.prototype,Q),W&&lt(Et,W),Et}}(),qe=uu(),Ye=xt(qe);function xt(lt){return lt&&lt.__esModule?lt:{default:lt}}function bt(lt,Et){if(!(lt instanceof Et))throw new TypeError(\"Cannot call a class as a function\")}var wt=function(){function lt(Et){return bt(this,lt),this.func=Et||function(){},this}return lt.prototype.process=function(Et){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},W=new Ye.default({css:Et,error:function(Je){throw new Error(Je)},options:Q});return this.res=W,this.func(W),this},Ue(lt,[{key:\"result\",get:function(){return String(this.res)}}]),lt}();K.default=wt,nt.exports=K.default}}),fy=Yt({\"node_modules/postcss-selector-parser/dist/index.js\"(K,nt){ni(),K.__esModule=!0;var Ue=Kg(),qe=cs(Ue),Ye=Bh(),xt=cs(Ye),bt=b_(),wt=cs(bt),lt=hy(),Et=cs(lt),Q=v_(),W=cs(Q),Je=zg(),Oe=cs(Je),zt=py(),Tt=cs(zt),xn=Rc(),Cn=cs(xn),Bt=Au(),yi=cs(Bt),Oi=nu(),Qi=cs(Oi),$s=Ug(),vo=cs($s),Mo=tg(),Ea=cs(Mo),Ca=$p(),Ma=cs(Ca),Yo=el(),Oa=qs(Yo);function qs(ds){if(ds&&ds.__esModule)return ds;var Zu={};if(ds!=null)for(var au in ds)Object.prototype.hasOwnProperty.call(ds,au)&&(Zu[au]=ds[au]);return Zu.default=ds,Zu}function cs(ds){return ds&&ds.__esModule?ds:{default:ds}}var Xs=function(ds){return new qe.default(ds)};Xs.attribute=function(ds){return new xt.default(ds)},Xs.className=function(ds){return new wt.default(ds)},Xs.combinator=function(ds){return new Et.default(ds)},Xs.comment=function(ds){return new W.default(ds)},Xs.id=function(ds){return new Oe.default(ds)},Xs.nesting=function(ds){return new Tt.default(ds)},Xs.pseudo=function(ds){return new Cn.default(ds)},Xs.root=function(ds){return new yi.default(ds)},Xs.selector=function(ds){return new Qi.default(ds)},Xs.string=function(ds){return new vo.default(ds)},Xs.tag=function(ds){return new Ea.default(ds)},Xs.universal=function(ds){return new Ma.default(ds)},Object.keys(Oa).forEach(function(ds){ds!==\"__esModule\"&&(Xs[ds]=Oa[ds])}),K.default=Xs,nt.exports=K.default}}),_y=Yt({\"node_modules/postcss-media-query-parser/dist/nodes/Node.js\"(K){ni(),Object.defineProperty(K,\"__esModule\",{value:!0});function nt(Ue){this.after=Ue.after,this.before=Ue.before,this.type=Ue.type,this.value=Ue.value,this.sourceIndex=Ue.sourceIndex}K.default=nt}}),Ib=Yt({\"node_modules/postcss-media-query-parser/dist/nodes/Container.js\"(K){ni(),Object.defineProperty(K,\"__esModule\",{value:!0});var nt=_y(),Ue=qe(nt);function qe(xt){return xt&&xt.__esModule?xt:{default:xt}}function Ye(xt){var bt=this;this.constructor(xt),this.nodes=xt.nodes,this.after===void 0&&(this.after=this.nodes.length>0?this.nodes[this.nodes.length-1].after:\"\"),this.before===void 0&&(this.before=this.nodes.length>0?this.nodes[0].before:\"\"),this.sourceIndex===void 0&&(this.sourceIndex=this.before.length),this.nodes.forEach(function(wt){wt.parent=bt})}Ye.prototype=Object.create(Ue.default.prototype),Ye.constructor=Ue.default,Ye.prototype.walk=function(xt,bt){for(var wt=typeof xt==\"string\"||xt instanceof RegExp,lt=wt?bt:xt,Et=typeof xt==\"string\"?new RegExp(xt):xt,Q=0;Q<this.nodes.length;Q++){var W=this.nodes[Q],Je=wt?Et.test(W.type):!0;if(Je&&lt&&lt(W,Q,this.nodes)===!1||W.nodes&&W.walk(xt,bt)===!1)return!1}return!0},Ye.prototype.each=function(){for(var xt=arguments.length<=0||arguments[0]===void 0?function(){}:arguments[0],bt=0;bt<this.nodes.length;bt++){var wt=this.nodes[bt];if(xt(wt,bt,this.nodes)===!1)return!1}return!0},K.default=Ye}}),Fb=Yt({\"node_modules/postcss-media-query-parser/dist/parsers.js\"(K){ni(),Object.defineProperty(K,\"__esModule\",{value:!0}),K.parseMediaFeature=bt,K.parseMediaQuery=wt,K.parseMediaList=lt;var nt=_y(),Ue=xt(nt),qe=Ib(),Ye=xt(qe);function xt(Et){return Et&&Et.__esModule?Et:{default:Et}}function bt(Et){var Q=arguments.length<=1||arguments[1]===void 0?0:arguments[1],W=[{mode:\"normal\",character:null}],Je=[],Oe=0,zt=\"\",Tt=null,xn=null,Cn=Q,Bt=Et;Et[0]===\"(\"&&Et[Et.length-1]===\")\"&&(Bt=Et.substring(1,Et.length-1),Cn++);for(var yi=0;yi<Bt.length;yi++){var Oi=Bt[yi];if((Oi===\"'\"||Oi==='\"')&&(W[Oe].isCalculationEnabled===!0?(W.push({mode:\"string\",isCalculationEnabled:!1,character:Oi}),Oe++):W[Oe].mode===\"string\"&&W[Oe].character===Oi&&Bt[yi-1]!==\"\\\\\"&&(W.pop(),Oe--)),Oi===\"{\"?(W.push({mode:\"interpolation\",isCalculationEnabled:!0}),Oe++):Oi===\"}\"&&(W.pop(),Oe--),W[Oe].mode===\"normal\"&&Oi===\":\"){var Qi=Bt.substring(yi+1);xn={type:\"value\",before:/^(\\s*)/.exec(Qi)[1],after:/(\\s*)$/.exec(Qi)[1],value:Qi.trim()},xn.sourceIndex=xn.before.length+yi+1+Cn,Tt={type:\"colon\",sourceIndex:yi+Cn,after:xn.before,value:\":\"};break}zt+=Oi}return zt={type:\"media-feature\",before:/^(\\s*)/.exec(zt)[1],after:/(\\s*)$/.exec(zt)[1],value:zt.trim()},zt.sourceIndex=zt.before.length+Cn,Je.push(zt),Tt!==null&&(Tt.before=zt.after,Je.push(Tt)),xn!==null&&Je.push(xn),Je}function wt(Et){var Q=arguments.length<=1||arguments[1]===void 0?0:arguments[1],W=[],Je=0,Oe=!1,zt=void 0;function Tt(){return{before:\"\",after:\"\",value:\"\"}}zt=Tt();for(var xn=0;xn<Et.length;xn++){var Cn=Et[xn];Oe?(zt.value+=Cn,(Cn===\"{\"||Cn===\"(\")&&Je++,(Cn===\")\"||Cn===\"}\")&&Je--):Cn.search(/\\s/)!==-1?zt.before+=Cn:(Cn===\"(\"&&(zt.type=\"media-feature-expression\",Je++),zt.value=Cn,zt.sourceIndex=Q+xn,Oe=!0),Oe&&Je===0&&(Cn===\")\"||xn===Et.length-1||Et[xn+1].search(/\\s/)!==-1)&&([\"not\",\"only\",\"and\"].indexOf(zt.value)!==-1&&(zt.type=\"keyword\"),zt.type===\"media-feature-expression\"&&(zt.nodes=bt(zt.value,zt.sourceIndex)),W.push(Array.isArray(zt.nodes)?new Ye.default(zt):new Ue.default(zt)),zt=Tt(),Oe=!1)}for(var Bt=0;Bt<W.length;Bt++)if(zt=W[Bt],Bt>0&&(W[Bt-1].after=zt.before),zt.type===void 0){if(Bt>0){if(W[Bt-1].type===\"media-feature-expression\"){zt.type=\"keyword\";continue}if(W[Bt-1].value===\"not\"||W[Bt-1].value===\"only\"){zt.type=\"media-type\";continue}if(W[Bt-1].value===\"and\"){zt.type=\"media-feature-expression\";continue}W[Bt-1].type===\"media-type\"&&(W[Bt+1]?zt.type=W[Bt+1].type===\"media-feature-expression\"?\"keyword\":\"media-feature-expression\":zt.type=\"media-feature-expression\")}if(Bt===0){if(!W[Bt+1]){zt.type=\"media-type\";continue}if(W[Bt+1]&&(W[Bt+1].type===\"media-feature-expression\"||W[Bt+1].type===\"keyword\")){zt.type=\"media-type\";continue}if(W[Bt+2]){if(W[Bt+2].type===\"media-feature-expression\"){zt.type=\"media-type\",W[Bt+1].type=\"keyword\";continue}if(W[Bt+2].type===\"keyword\"){zt.type=\"keyword\",W[Bt+1].type=\"media-type\";continue}}if(W[Bt+3]&&W[Bt+3].type===\"media-feature-expression\"){zt.type=\"keyword\",W[Bt+1].type=\"media-type\",W[Bt+2].type=\"keyword\";continue}}}return W}function lt(Et){var Q=[],W=0,Je=0,Oe=/^(\\s*)url\\s*\\(/.exec(Et);if(Oe!==null){for(var zt=Oe[0].length,Tt=1;Tt>0;){var xn=Et[zt];xn===\"(\"&&Tt++,xn===\")\"&&Tt--,zt++}Q.unshift(new Ue.default({type:\"url\",value:Et.substring(0,zt).trim(),sourceIndex:Oe[1].length,before:Oe[1],after:/^(\\s*)/.exec(Et.substring(zt))[1]})),W=zt}for(var Cn=W;Cn<Et.length;Cn++){var Bt=Et[Cn];if(Bt===\"(\"&&Je++,Bt===\")\"&&Je--,Je===0&&Bt===\",\"){var yi=Et.substring(W,Cn),Oi=/^(\\s*)/.exec(yi)[1];Q.push(new Ye.default({type:\"media-query\",value:yi.trim(),sourceIndex:W+Oi.length,nodes:wt(yi,W),before:Oi,after:/(\\s*)$/.exec(yi)[1]})),W=Cn+1}}var Qi=Et.substring(W),$s=/^(\\s*)/.exec(Qi)[1];return Q.push(new Ye.default({type:\"media-query\",value:Qi.trim(),sourceIndex:W+$s.length,nodes:wt(Qi,W),before:$s,after:/(\\s*)$/.exec(Qi)[1]})),Q}}}),Pb=Yt({\"node_modules/postcss-media-query-parser/dist/index.js\"(K){ni(),Object.defineProperty(K,\"__esModule\",{value:!0}),K.default=xt;var nt=Ib(),Ue=Ye(nt),qe=Fb();function Ye(bt){return bt&&bt.__esModule?bt:{default:bt}}function xt(bt){return new Ue.default({nodes:(0,qe.parseMediaList)(bt),type:\"media-query-list\",value:bt.trim()})}}}),Ob={};zi(Ob,{basename:()=>En,default:()=>St,delimiter:()=>Gt,dirname:()=>di,extname:()=>Ot,isAbsolute:()=>Fm,join:()=>Pm,normalize:()=>Im,relative:()=>A0,resolve:()=>ig,sep:()=>Pt});function Nm(K,nt){for(var Ue=0,qe=K.length-1;qe>=0;qe--){var Ye=K[qe];Ye===\".\"?K.splice(qe,1):Ye===\"..\"?(K.splice(qe,1),Ue++):Ue&&(K.splice(qe,1),Ue--)}if(nt)for(;Ue--;Ue)K.unshift(\"..\");return K}function ig(){for(var K=\"\",nt=!1,Ue=arguments.length-1;Ue>=-1&&!nt;Ue--){var qe=Ue>=0?arguments[Ue]:\"/\";if(typeof qe!=\"string\")throw new TypeError(\"Arguments to path.resolve must be strings\");!qe||(K=qe+\"/\"+K,nt=qe.charAt(0)===\"/\")}return K=Nm(Wt(K.split(\"/\"),function(Ye){return!!Ye}),!nt).join(\"/\"),(nt?\"/\":\"\")+K||\".\"}function Im(K){var nt=Fm(K),Ue=un(K,-1)===\"/\";return K=Nm(Wt(K.split(\"/\"),function(qe){return!!qe}),!nt).join(\"/\"),!K&&!nt&&(K=\".\"),K&&Ue&&(K+=\"/\"),(nt?\"/\":\"\")+K}function Fm(K){return K.charAt(0)===\"/\"}function Pm(){var K=Array.prototype.slice.call(arguments,0);return Im(Wt(K,function(nt,Ue){if(typeof nt!=\"string\")throw new TypeError(\"Arguments to path.join must be strings\");return nt}).join(\"/\"))}function A0(K,nt){K=ig(K).substr(1),nt=ig(nt).substr(1);function Ue(Et){for(var Q=0;Q<Et.length&&Et[Q]===\"\";Q++);for(var W=Et.length-1;W>=0&&Et[W]===\"\";W--);return Q>W?[]:Et.slice(Q,W-Q+1)}for(var qe=Ue(K.split(\"/\")),Ye=Ue(nt.split(\"/\")),xt=Math.min(qe.length,Ye.length),bt=xt,wt=0;wt<xt;wt++)if(qe[wt]!==Ye[wt]){bt=wt;break}for(var lt=[],wt=bt;wt<qe.length;wt++)lt.push(\"..\");return lt=lt.concat(Ye.slice(bt)),lt.join(\"/\")}function di(K){var nt=yt(K),Ue=nt[0],qe=nt[1];return!Ue&&!qe?\".\":(qe&&(qe=qe.substr(0,qe.length-1)),Ue+qe)}function En(K,nt){var Ue=yt(K)[2];return nt&&Ue.substr(-1*nt.length)===nt&&(Ue=Ue.substr(0,Ue.length-nt.length)),Ue}function Ot(K){return yt(K)[3]}function Wt(K,nt){if(K.filter)return K.filter(nt);for(var Ue=[],qe=0;qe<K.length;qe++)nt(K[qe],qe,K)&&Ue.push(K[qe]);return Ue}var Vt,yt,Pt,Gt,St,un,ft=ei({\"node-modules-polyfills:path\"(){ni(),Vt=/^(\\/?|)([\\s\\S]*?)((?:\\.{1,2}|[^\\/]+?|)(\\.[^.\\/]*|))(?:[\\/]*)$/,yt=function(K){return Vt.exec(K).slice(1)},Pt=\"/\",Gt=\":\",St={extname:Ot,basename:En,dirname:di,sep:Pt,delimiter:Gt,relative:A0,join:Pm,isAbsolute:Fm,normalize:Im,resolve:ig},un=\"ab\".substr(-1)===\"b\"?function(K,nt,Ue){return K.substr(nt,Ue)}:function(K,nt,Ue){return nt<0&&(nt=K.length+nt),K.substr(nt,Ue)}}}),Zt=Yt({\"node-modules-polyfills-commonjs:path\"(K,nt){ni();var Ue=(ft(),Gn(Ob));if(Ue&&Ue.default){nt.exports=Ue.default;for(let qe in Ue)nt.exports[qe]=Ue[qe]}else Ue&&(nt.exports=Ue)}}),qn=Yt({\"node_modules/picocolors/picocolors.browser.js\"(K,nt){ni();var Ue=String,qe=function(){return{isColorSupported:!1,reset:Ue,bold:Ue,dim:Ue,italic:Ue,underline:Ue,inverse:Ue,hidden:Ue,strikethrough:Ue,black:Ue,red:Ue,green:Ue,yellow:Ue,blue:Ue,magenta:Ue,cyan:Ue,white:Ue,gray:Ue,bgBlack:Ue,bgRed:Ue,bgGreen:Ue,bgYellow:Ue,bgBlue:Ue,bgMagenta:Ue,bgCyan:Ue,bgWhite:Ue}};nt.exports=qe(),nt.exports.createColors=qe}}),On=Yt({\"(disabled):node_modules/postcss/lib/terminal-highlight\"(){ni()}}),Ri=Yt({\"node_modules/postcss/lib/css-syntax-error.js\"(K,nt){ni(),K.__esModule=!0,K.default=void 0;var Ue=Ye(qn()),qe=Ye(On());function Ye(Tt){return Tt&&Tt.__esModule?Tt:{default:Tt}}function xt(Tt){if(Tt===void 0)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return Tt}function bt(Tt,xn){Tt.prototype=Object.create(xn.prototype),Tt.prototype.constructor=Tt,Tt.__proto__=xn}function wt(Tt){var xn=typeof Map==\"function\"?new Map:void 0;return wt=function(Cn){if(Cn===null||!Q(Cn))return Cn;if(typeof Cn!=\"function\")throw new TypeError(\"Super expression must either be null or a function\");if(typeof xn<\"u\"){if(xn.has(Cn))return xn.get(Cn);xn.set(Cn,Bt)}function Bt(){return lt(Cn,arguments,Je(this).constructor)}return Bt.prototype=Object.create(Cn.prototype,{constructor:{value:Bt,enumerable:!1,writable:!0,configurable:!0}}),W(Bt,Cn)},wt(Tt)}function lt(Tt,xn,Cn){return Et()?lt=Reflect.construct:lt=function(Bt,yi,Oi){var Qi=[null];Qi.push.apply(Qi,yi);var $s=Function.bind.apply(Bt,Qi),vo=new $s;return Oi&&W(vo,Oi.prototype),vo},lt.apply(null,arguments)}function Et(){if(typeof Reflect>\"u\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\"function\")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function Q(Tt){return Function.toString.call(Tt).indexOf(\"[native code]\")!==-1}function W(Tt,xn){return W=Object.setPrototypeOf||function(Cn,Bt){return Cn.__proto__=Bt,Cn},W(Tt,xn)}function Je(Tt){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(xn){return xn.__proto__||Object.getPrototypeOf(xn)},Je(Tt)}var Oe=function(Tt){bt(xn,Tt);function xn(Bt,yi,Oi,Qi,$s,vo){var Mo;return Mo=Tt.call(this,Bt)||this,Mo.name=\"CssSyntaxError\",Mo.reason=Bt,$s&&(Mo.file=$s),Qi&&(Mo.source=Qi),vo&&(Mo.plugin=vo),typeof yi<\"u\"&&typeof Oi<\"u\"&&(Mo.line=yi,Mo.column=Oi),Mo.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(xt(Mo),xn),Mo}var Cn=xn.prototype;return Cn.setMessage=function(){this.message=this.plugin?this.plugin+\": \":\"\",this.message+=this.file?this.file:\"<css input>\",typeof this.line<\"u\"&&(this.message+=\":\"+this.line+\":\"+this.column),this.message+=\": \"+this.reason},Cn.showSourceCode=function(Bt){var yi=this;if(!this.source)return\"\";var Oi=this.source;qe.default&&(typeof Bt>\"u\"&&(Bt=Ue.default.isColorSupported),Bt&&(Oi=(0,qe.default)(Oi)));var Qi=Oi.split(/\\r?\\n/),$s=Math.max(this.line-3,0),vo=Math.min(this.line+2,Qi.length),Mo=String(vo).length;function Ea(Ma){return Bt&&Ue.default.red?Ue.default.red(Ue.default.bold(Ma)):Ma}function Ca(Ma){return Bt&&Ue.default.gray?Ue.default.gray(Ma):Ma}return Qi.slice($s,vo).map(function(Ma,Yo){var Oa=$s+1+Yo,qs=\" \"+(\" \"+Oa).slice(-Mo)+\" | \";if(Oa===yi.line){var cs=Ca(qs.replace(/\\d/g,\" \"))+Ma.slice(0,yi.column-1).replace(/[^\\t]/g,\" \");return Ea(\">\")+Ca(qs)+Ma+`\n `+cs+Ea(\"^\")}return\" \"+Ca(qs)+Ma}).join(`\n`)},Cn.toString=function(){var Bt=this.showSourceCode();return Bt&&(Bt=`\n\n`+Bt+`\n`),this.name+\": \"+this.message+Bt},xn}(wt(Error)),zt=Oe;K.default=zt,nt.exports=K.default}}),Gi=Yt({\"node_modules/postcss/lib/previous-map.js\"(K,nt){ni(),nt.exports=class{}}}),Ti=Yt({\"node_modules/postcss/lib/input.js\"(K,nt){ni(),K.__esModule=!0,K.default=void 0;var Ue=xt(Zt()),qe=xt(Ri()),Ye=xt(Gi());function xt(W){return W&&W.__esModule?W:{default:W}}function bt(W,Je){for(var Oe=0;Oe<Je.length;Oe++){var zt=Je[Oe];zt.enumerable=zt.enumerable||!1,zt.configurable=!0,\"value\"in zt&&(zt.writable=!0),Object.defineProperty(W,zt.key,zt)}}function wt(W,Je,Oe){return Je&&bt(W.prototype,Je),Oe&&bt(W,Oe),W}var lt=0,Et=function(){function W(Oe,zt){if(zt===void 0&&(zt={}),Oe===null||typeof Oe>\"u\"||typeof Oe==\"object\"&&!Oe.toString)throw new Error(\"PostCSS received \"+Oe+\" instead of CSS string\");this.css=Oe.toString(),this.css[0]===\"\\uFEFF\"||this.css[0]===\"\\uFFFE\"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,zt.from&&(/^\\w+:\\/\\//.test(zt.from)||Ue.default.isAbsolute(zt.from)?this.file=zt.from:this.file=Ue.default.resolve(zt.from));var Tt=new Ye.default(this.css,zt);if(Tt.text){this.map=Tt;var xn=Tt.consumer().file;!this.file&&xn&&(this.file=this.mapResolve(xn))}this.file||(lt+=1,this.id=\"<input css \"+lt+\">\"),this.map&&(this.map.file=this.from)}var Je=W.prototype;return Je.error=function(Oe,zt,Tt,xn){xn===void 0&&(xn={});var Cn,Bt=this.origin(zt,Tt);return Bt?Cn=new qe.default(Oe,Bt.line,Bt.column,Bt.source,Bt.file,xn.plugin):Cn=new qe.default(Oe,zt,Tt,this.css,this.file,xn.plugin),Cn.input={line:zt,column:Tt,source:this.css},this.file&&(Cn.input.file=this.file),Cn},Je.origin=function(Oe,zt){if(!this.map)return!1;var Tt=this.map.consumer(),xn=Tt.originalPositionFor({line:Oe,column:zt});if(!xn.source)return!1;var Cn={file:this.mapResolve(xn.source),line:xn.line,column:xn.column},Bt=Tt.sourceContentFor(xn.source);return Bt&&(Cn.source=Bt),Cn},Je.mapResolve=function(Oe){return/^\\w+:\\/\\//.test(Oe)?Oe:Ue.default.resolve(this.map.consumer().sourceRoot||\".\",Oe)},wt(W,[{key:\"from\",get:function(){return this.file||this.id}}]),W}(),Q=Et;K.default=Q,nt.exports=K.default}}),mr=Yt({\"node_modules/postcss/lib/stringifier.js\"(K,nt){ni(),K.__esModule=!0,K.default=void 0;var Ue={colon:\": \",indent:\"    \",beforeDecl:`\n`,beforeRule:`\n`,beforeOpen:\" \",beforeClose:`\n`,beforeComment:`\n`,after:`\n`,emptyBody:\"\",commentLeft:\" \",commentRight:\" \",semicolon:!1};function qe(bt){return bt[0].toUpperCase()+bt.slice(1)}var Ye=function(){function bt(lt){this.builder=lt}var wt=bt.prototype;return wt.stringify=function(lt,Et){this[lt.type](lt,Et)},wt.root=function(lt){this.body(lt),lt.raws.after&&this.builder(lt.raws.after)},wt.comment=function(lt){var Et=this.raw(lt,\"left\",\"commentLeft\"),Q=this.raw(lt,\"right\",\"commentRight\");this.builder(\"/*\"+Et+lt.text+Q+\"*/\",lt)},wt.decl=function(lt,Et){var Q=this.raw(lt,\"between\",\"colon\"),W=lt.prop+Q+this.rawValue(lt,\"value\");lt.important&&(W+=lt.raws.important||\" !important\"),Et&&(W+=\";\"),this.builder(W,lt)},wt.rule=function(lt){this.block(lt,this.rawValue(lt,\"selector\")),lt.raws.ownSemicolon&&this.builder(lt.raws.ownSemicolon,lt,\"end\")},wt.atrule=function(lt,Et){var Q=\"@\"+lt.name,W=lt.params?this.rawValue(lt,\"params\"):\"\";if(typeof lt.raws.afterName<\"u\"?Q+=lt.raws.afterName:W&&(Q+=\" \"),lt.nodes)this.block(lt,Q+W);else{var Je=(lt.raws.between||\"\")+(Et?\";\":\"\");this.builder(Q+W+Je,lt)}},wt.body=function(lt){for(var Et=lt.nodes.length-1;Et>0&&lt.nodes[Et].type===\"comment\";)Et-=1;for(var Q=this.raw(lt,\"semicolon\"),W=0;W<lt.nodes.length;W++){var Je=lt.nodes[W],Oe=this.raw(Je,\"before\");Oe&&this.builder(Oe),this.stringify(Je,Et!==W||Q)}},wt.block=function(lt,Et){var Q=this.raw(lt,\"between\",\"beforeOpen\");this.builder(Et+Q+\"{\",lt,\"start\");var W;lt.nodes&&lt.nodes.length?(this.body(lt),W=this.raw(lt,\"after\")):W=this.raw(lt,\"after\",\"emptyBody\"),W&&this.builder(W),this.builder(\"}\",lt,\"end\")},wt.raw=function(lt,Et,Q){var W;if(Q||(Q=Et),Et&&(W=lt.raws[Et],typeof W<\"u\"))return W;var Je=lt.parent;if(Q===\"before\"&&(!Je||Je.type===\"root\"&&Je.first===lt))return\"\";if(!Je)return Ue[Q];var Oe=lt.root();if(Oe.rawCache||(Oe.rawCache={}),typeof Oe.rawCache[Q]<\"u\")return Oe.rawCache[Q];if(Q===\"before\"||Q===\"after\")return this.beforeAfter(lt,Q);var zt=\"raw\"+qe(Q);return this[zt]?W=this[zt](Oe,lt):Oe.walk(function(Tt){if(W=Tt.raws[Et],typeof W<\"u\")return!1}),typeof W>\"u\"&&(W=Ue[Q]),Oe.rawCache[Q]=W,W},wt.rawSemicolon=function(lt){var Et;return lt.walk(function(Q){if(Q.nodes&&Q.nodes.length&&Q.last.type===\"decl\"&&(Et=Q.raws.semicolon,typeof Et<\"u\"))return!1}),Et},wt.rawEmptyBody=function(lt){var Et;return lt.walk(function(Q){if(Q.nodes&&Q.nodes.length===0&&(Et=Q.raws.after,typeof Et<\"u\"))return!1}),Et},wt.rawIndent=function(lt){if(lt.raws.indent)return lt.raws.indent;var Et;return lt.walk(function(Q){var W=Q.parent;if(W&&W!==lt&&W.parent&&W.parent===lt&&typeof Q.raws.before<\"u\"){var Je=Q.raws.before.split(`\n`);return Et=Je[Je.length-1],Et=Et.replace(/[^\\s]/g,\"\"),!1}}),Et},wt.rawBeforeComment=function(lt,Et){var Q;return lt.walkComments(function(W){if(typeof W.raws.before<\"u\")return Q=W.raws.before,Q.indexOf(`\n`)!==-1&&(Q=Q.replace(/[^\\n]+$/,\"\")),!1}),typeof Q>\"u\"?Q=this.raw(Et,null,\"beforeDecl\"):Q&&(Q=Q.replace(/[^\\s]/g,\"\")),Q},wt.rawBeforeDecl=function(lt,Et){var Q;return lt.walkDecls(function(W){if(typeof W.raws.before<\"u\")return Q=W.raws.before,Q.indexOf(`\n`)!==-1&&(Q=Q.replace(/[^\\n]+$/,\"\")),!1}),typeof Q>\"u\"?Q=this.raw(Et,null,\"beforeRule\"):Q&&(Q=Q.replace(/[^\\s]/g,\"\")),Q},wt.rawBeforeRule=function(lt){var Et;return lt.walk(function(Q){if(Q.nodes&&(Q.parent!==lt||lt.first!==Q)&&typeof Q.raws.before<\"u\")return Et=Q.raws.before,Et.indexOf(`\n`)!==-1&&(Et=Et.replace(/[^\\n]+$/,\"\")),!1}),Et&&(Et=Et.replace(/[^\\s]/g,\"\")),Et},wt.rawBeforeClose=function(lt){var Et;return lt.walk(function(Q){if(Q.nodes&&Q.nodes.length>0&&typeof Q.raws.after<\"u\")return Et=Q.raws.after,Et.indexOf(`\n`)!==-1&&(Et=Et.replace(/[^\\n]+$/,\"\")),!1}),Et&&(Et=Et.replace(/[^\\s]/g,\"\")),Et},wt.rawBeforeOpen=function(lt){var Et;return lt.walk(function(Q){if(Q.type!==\"decl\"&&(Et=Q.raws.between,typeof Et<\"u\"))return!1}),Et},wt.rawColon=function(lt){var Et;return lt.walkDecls(function(Q){if(typeof Q.raws.between<\"u\")return Et=Q.raws.between.replace(/[^\\s:]/g,\"\"),!1}),Et},wt.beforeAfter=function(lt,Et){var Q;lt.type===\"decl\"?Q=this.raw(lt,null,\"beforeDecl\"):lt.type===\"comment\"?Q=this.raw(lt,null,\"beforeComment\"):Et===\"before\"?Q=this.raw(lt,null,\"beforeRule\"):Q=this.raw(lt,null,\"beforeClose\");for(var W=lt.parent,Je=0;W&&W.type!==\"root\";)Je+=1,W=W.parent;if(Q.indexOf(`\n`)!==-1){var Oe=this.raw(lt,null,\"indent\");if(Oe.length)for(var zt=0;zt<Je;zt++)Q+=Oe}return Q},wt.rawValue=function(lt,Et){var Q=lt[Et],W=lt.raws[Et];return W&&W.value===Q?W.raw:Q},bt}(),xt=Ye;K.default=xt,nt.exports=K.default}}),mn=Yt({\"node_modules/postcss/lib/stringify.js\"(K,nt){ni(),K.__esModule=!0,K.default=void 0;var Ue=qe(mr());function qe(bt){return bt&&bt.__esModule?bt:{default:bt}}function Ye(bt,wt){var lt=new Ue.default(wt);lt.stringify(bt)}var xt=Ye;K.default=xt,nt.exports=K.default}}),hr=Yt({\"node_modules/postcss/lib/node.js\"(K,nt){ni(),K.__esModule=!0,K.default=void 0;var Ue=xt(Ri()),qe=xt(mr()),Ye=xt(mn());function xt(Et){return Et&&Et.__esModule?Et:{default:Et}}function bt(Et,Q){var W=new Et.constructor;for(var Je in Et)if(Et.hasOwnProperty(Je)){var Oe=Et[Je],zt=typeof Oe;Je===\"parent\"&&zt===\"object\"?Q&&(W[Je]=Q):Je===\"source\"?W[Je]=Oe:Oe instanceof Array?W[Je]=Oe.map(function(Tt){return bt(Tt,W)}):(zt===\"object\"&&Oe!==null&&(Oe=bt(Oe)),W[Je]=Oe)}return W}var wt=function(){function Et(W){W===void 0&&(W={}),this.raws={};for(var Je in W)this[Je]=W[Je]}var Q=Et.prototype;return Q.error=function(W,Je){if(Je===void 0&&(Je={}),this.source){var Oe=this.positionBy(Je);return this.source.input.error(W,Oe.line,Oe.column,Je)}return new Ue.default(W)},Q.warn=function(W,Je,Oe){var zt={node:this};for(var Tt in Oe)zt[Tt]=Oe[Tt];return W.warn(Je,zt)},Q.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},Q.toString=function(W){W===void 0&&(W=Ye.default),W.stringify&&(W=W.stringify);var Je=\"\";return W(this,function(Oe){Je+=Oe}),Je},Q.clone=function(W){W===void 0&&(W={});var Je=bt(this);for(var Oe in W)Je[Oe]=W[Oe];return Je},Q.cloneBefore=function(W){W===void 0&&(W={});var Je=this.clone(W);return this.parent.insertBefore(this,Je),Je},Q.cloneAfter=function(W){W===void 0&&(W={});var Je=this.clone(W);return this.parent.insertAfter(this,Je),Je},Q.replaceWith=function(){if(this.parent){for(var W=arguments.length,Je=new Array(W),Oe=0;Oe<W;Oe++)Je[Oe]=arguments[Oe];for(var zt=0,Tt=Je;zt<Tt.length;zt++){var xn=Tt[zt];this.parent.insertBefore(this,xn)}this.remove()}return this},Q.next=function(){if(this.parent){var W=this.parent.index(this);return this.parent.nodes[W+1]}},Q.prev=function(){if(this.parent){var W=this.parent.index(this);return this.parent.nodes[W-1]}},Q.before=function(W){return this.parent.insertBefore(this,W),this},Q.after=function(W){return this.parent.insertAfter(this,W),this},Q.toJSON=function(){var W={};for(var Je in this)if(this.hasOwnProperty(Je)&&Je!==\"parent\"){var Oe=this[Je];Oe instanceof Array?W[Je]=Oe.map(function(zt){return typeof zt==\"object\"&&zt.toJSON?zt.toJSON():zt}):typeof Oe==\"object\"&&Oe.toJSON?W[Je]=Oe.toJSON():W[Je]=Oe}return W},Q.raw=function(W,Je){var Oe=new qe.default;return Oe.raw(this,W,Je)},Q.root=function(){for(var W=this;W.parent;)W=W.parent;return W},Q.cleanRaws=function(W){delete this.raws.before,delete this.raws.after,W||delete this.raws.between},Q.positionInside=function(W){for(var Je=this.toString(),Oe=this.source.start.column,zt=this.source.start.line,Tt=0;Tt<W;Tt++)Je[Tt]===`\n`?(Oe=1,zt+=1):Oe+=1;return{line:zt,column:Oe}},Q.positionBy=function(W){var Je=this.source.start;if(W.index)Je=this.positionInside(W.index);else if(W.word){var Oe=this.toString().indexOf(W.word);Oe!==-1&&(Je=this.positionInside(Oe))}return Je},Et}(),lt=wt;K.default=lt,nt.exports=K.default}}),ti=Yt({\"node_modules/postcss/lib/comment.js\"(K,nt){ni(),K.__esModule=!0,K.default=void 0;var Ue=qe(hr());function qe(wt){return wt&&wt.__esModule?wt:{default:wt}}function Ye(wt,lt){wt.prototype=Object.create(lt.prototype),wt.prototype.constructor=wt,wt.__proto__=lt}var xt=function(wt){Ye(lt,wt);function lt(Et){var Q;return Q=wt.call(this,Et)||this,Q.type=\"comment\",Q}return lt}(Ue.default),bt=xt;K.default=bt,nt.exports=K.default}}),Qn=Yt({\"node_modules/postcss/lib/declaration.js\"(K,nt){ni(),K.__esModule=!0,K.default=void 0;var Ue=qe(hr());function qe(wt){return wt&&wt.__esModule?wt:{default:wt}}function Ye(wt,lt){wt.prototype=Object.create(lt.prototype),wt.prototype.constructor=wt,wt.__proto__=lt}var xt=function(wt){Ye(lt,wt);function lt(Et){var Q;return Q=wt.call(this,Et)||this,Q.type=\"decl\",Q}return lt}(Ue.default),bt=xt;K.default=bt,nt.exports=K.default}}),b=Yt({\"node_modules/postcss/lib/tokenize.js\"(K,nt){ni(),K.__esModule=!0,K.default=Ea;var Ue=\"'\".charCodeAt(0),qe='\"'.charCodeAt(0),Ye=\"\\\\\".charCodeAt(0),xt=\"/\".charCodeAt(0),bt=`\n`.charCodeAt(0),wt=\" \".charCodeAt(0),lt=\"\\f\".charCodeAt(0),Et=\"\t\".charCodeAt(0),Q=\"\\r\".charCodeAt(0),W=\"[\".charCodeAt(0),Je=\"]\".charCodeAt(0),Oe=\"(\".charCodeAt(0),zt=\")\".charCodeAt(0),Tt=\"{\".charCodeAt(0),xn=\"}\".charCodeAt(0),Cn=\";\".charCodeAt(0),Bt=\"*\".charCodeAt(0),yi=\":\".charCodeAt(0),Oi=\"@\".charCodeAt(0),Qi=/[ \\n\\t\\r\\f{}()'\"\\\\;/[\\]#]/g,$s=/[ \\n\\t\\r\\f(){}:;@!'\"\\\\\\][#]|\\/(?=\\*)/g,vo=/.[\\\\/(\"'\\n]/,Mo=/[a-f0-9]/i;function Ea(Ca,Ma){Ma===void 0&&(Ma={});var Yo=Ca.css.valueOf(),Oa=Ma.ignoreErrors,qs,cs,Xs,ds,Zu,au,Du,ue,Tn,Ei,Gr,ts,Es,Ai,Mr=Yo.length,vr=-1,ao=1,$i=0,pa=[],Ro=[];function td(){return $i}function Bc(Hc){throw Ca.error(\"Unclosed \"+Hc,ao,$i-vr)}function fu(){return Ro.length===0&&$i>=Mr}function Wh(Hc){if(Ro.length)return Ro.pop();if(!($i>=Mr)){var bc=Hc?Hc.ignoreUnclosed:!1;switch(qs=Yo.charCodeAt($i),(qs===bt||qs===lt||qs===Q&&Yo.charCodeAt($i+1)!==bt)&&(vr=$i,ao+=1),qs){case bt:case wt:case Et:case Q:case lt:cs=$i;do cs+=1,qs=Yo.charCodeAt(cs),qs===bt&&(vr=cs,ao+=1);while(qs===wt||qs===bt||qs===Et||qs===Q||qs===lt);Ai=[\"space\",Yo.slice($i,cs)],$i=cs-1;break;case W:case Je:case Tt:case xn:case yi:case Cn:case zt:var Su=String.fromCharCode(qs);Ai=[Su,Su,ao,$i-vr];break;case Oe:if(ts=pa.length?pa.pop()[1]:\"\",Es=Yo.charCodeAt($i+1),ts===\"url\"&&Es!==Ue&&Es!==qe&&Es!==wt&&Es!==bt&&Es!==Et&&Es!==lt&&Es!==Q){cs=$i;do{if(Ei=!1,cs=Yo.indexOf(\")\",cs+1),cs===-1)if(Oa||bc){cs=$i;break}else Bc(\"bracket\");for(Gr=cs;Yo.charCodeAt(Gr-1)===Ye;)Gr-=1,Ei=!Ei}while(Ei);Ai=[\"brackets\",Yo.slice($i,cs+1),ao,$i-vr,ao,cs-vr],$i=cs}else cs=Yo.indexOf(\")\",$i+1),au=Yo.slice($i,cs+1),cs===-1||vo.test(au)?Ai=[\"(\",\"(\",ao,$i-vr]:(Ai=[\"brackets\",au,ao,$i-vr,ao,cs-vr],$i=cs);break;case Ue:case qe:Xs=qs===Ue?\"'\":'\"',cs=$i;do{if(Ei=!1,cs=Yo.indexOf(Xs,cs+1),cs===-1)if(Oa||bc){cs=$i+1;break}else Bc(\"string\");for(Gr=cs;Yo.charCodeAt(Gr-1)===Ye;)Gr-=1,Ei=!Ei}while(Ei);au=Yo.slice($i,cs+1),ds=au.split(`\n`),Zu=ds.length-1,Zu>0?(ue=ao+Zu,Tn=cs-ds[Zu].length):(ue=ao,Tn=vr),Ai=[\"string\",Yo.slice($i,cs+1),ao,$i-vr,ue,cs-Tn],vr=Tn,ao=ue,$i=cs;break;case Oi:Qi.lastIndex=$i+1,Qi.test(Yo),Qi.lastIndex===0?cs=Yo.length-1:cs=Qi.lastIndex-2,Ai=[\"at-word\",Yo.slice($i,cs+1),ao,$i-vr,ao,cs-vr],$i=cs;break;case Ye:for(cs=$i,Du=!0;Yo.charCodeAt(cs+1)===Ye;)cs+=1,Du=!Du;if(qs=Yo.charCodeAt(cs+1),Du&&qs!==xt&&qs!==wt&&qs!==bt&&qs!==Et&&qs!==Q&&qs!==lt&&(cs+=1,Mo.test(Yo.charAt(cs)))){for(;Mo.test(Yo.charAt(cs+1));)cs+=1;Yo.charCodeAt(cs+1)===wt&&(cs+=1)}Ai=[\"word\",Yo.slice($i,cs+1),ao,$i-vr,ao,cs-vr],$i=cs;break;default:qs===xt&&Yo.charCodeAt($i+1)===Bt?(cs=Yo.indexOf(\"*/\",$i+2)+1,cs===0&&(Oa||bc?cs=Yo.length:Bc(\"comment\")),au=Yo.slice($i,cs+1),ds=au.split(`\n`),Zu=ds.length-1,Zu>0?(ue=ao+Zu,Tn=cs-ds[Zu].length):(ue=ao,Tn=vr),Ai=[\"comment\",au,ao,$i-vr,ue,cs-Tn],vr=Tn,ao=ue,$i=cs):($s.lastIndex=$i+1,$s.test(Yo),$s.lastIndex===0?cs=Yo.length-1:cs=$s.lastIndex-2,Ai=[\"word\",Yo.slice($i,cs+1),ao,$i-vr,ao,cs-vr],pa.push(Ai),$i=cs);break}return $i++,Ai}}function nd(Hc){Ro.push(Hc)}return{back:nd,nextToken:Wh,endOfFile:fu,position:td}}nt.exports=K.default}}),v=Yt({\"node_modules/postcss/lib/parse.js\"(K,nt){ni(),K.__esModule=!0,K.default=void 0;var Ue=Ye(Re()),qe=Ye(Ti());function Ye(wt){return wt&&wt.__esModule?wt:{default:wt}}function xt(wt,lt){var Et=new qe.default(wt,lt),Q=new Ue.default(Et);try{Q.parse()}catch(W){throw W}return Q.root}var bt=xt;K.default=bt,nt.exports=K.default}}),X=Yt({\"node_modules/postcss/lib/list.js\"(K,nt){ni(),K.__esModule=!0,K.default=void 0;var Ue={split:function(Ye,xt,bt){for(var wt=[],lt=\"\",Et=!1,Q=0,W=!1,Je=!1,Oe=0;Oe<Ye.length;Oe++){var zt=Ye[Oe];W?Je?Je=!1:zt===\"\\\\\"?Je=!0:zt===W&&(W=!1):zt==='\"'||zt===\"'\"?W=zt:zt===\"(\"?Q+=1:zt===\")\"?Q>0&&(Q-=1):Q===0&&xt.indexOf(zt)!==-1&&(Et=!0),Et?(lt!==\"\"&&wt.push(lt.trim()),lt=\"\",Et=!1):lt+=zt}return(bt||lt!==\"\")&&wt.push(lt.trim()),wt},space:function(Ye){var xt=[\" \",`\n`,\"\t\"];return Ue.split(Ye,xt)},comma:function(Ye){return Ue.split(Ye,[\",\"],!0)}},qe=Ue;K.default=qe,nt.exports=K.default}}),de=Yt({\"node_modules/postcss/lib/rule.js\"(K,nt){ni(),K.__esModule=!0,K.default=void 0;var Ue=Ye(ve()),qe=Ye(X());function Ye(Q){return Q&&Q.__esModule?Q:{default:Q}}function xt(Q,W){for(var Je=0;Je<W.length;Je++){var Oe=W[Je];Oe.enumerable=Oe.enumerable||!1,Oe.configurable=!0,\"value\"in Oe&&(Oe.writable=!0),Object.defineProperty(Q,Oe.key,Oe)}}function bt(Q,W,Je){return W&&xt(Q.prototype,W),Je&&xt(Q,Je),Q}function wt(Q,W){Q.prototype=Object.create(W.prototype),Q.prototype.constructor=Q,Q.__proto__=W}var lt=function(Q){wt(W,Q);function W(Je){var Oe;return Oe=Q.call(this,Je)||this,Oe.type=\"rule\",Oe.nodes||(Oe.nodes=[]),Oe}return bt(W,[{key:\"selectors\",get:function(){return qe.default.comma(this.selector)},set:function(Je){var Oe=this.selector?this.selector.match(/,\\s*/):null,zt=Oe?Oe[0]:\",\"+this.raw(\"between\",\"beforeOpen\");this.selector=Je.join(zt)}}]),W}(Ue.default),Et=lt;K.default=Et,nt.exports=K.default}}),ve=Yt({\"node_modules/postcss/lib/container.js\"(K,nt){ni(),K.__esModule=!0,K.default=void 0;var Ue=xt(Qn()),qe=xt(ti()),Ye=xt(hr());function xt(Tt){return Tt&&Tt.__esModule?Tt:{default:Tt}}function bt(Tt,xn){var Cn;if(typeof Symbol>\"u\"||Tt[Symbol.iterator]==null){if(Array.isArray(Tt)||(Cn=wt(Tt))||xn&&Tt&&typeof Tt.length==\"number\"){Cn&&(Tt=Cn);var Bt=0;return function(){return Bt>=Tt.length?{done:!0}:{done:!1,value:Tt[Bt++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return Cn=Tt[Symbol.iterator](),Cn.next.bind(Cn)}function wt(Tt,xn){if(Tt){if(typeof Tt==\"string\")return lt(Tt,xn);var Cn=Object.prototype.toString.call(Tt).slice(8,-1);if(Cn===\"Object\"&&Tt.constructor&&(Cn=Tt.constructor.name),Cn===\"Map\"||Cn===\"Set\")return Array.from(Tt);if(Cn===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Cn))return lt(Tt,xn)}}function lt(Tt,xn){(xn==null||xn>Tt.length)&&(xn=Tt.length);for(var Cn=0,Bt=new Array(xn);Cn<xn;Cn++)Bt[Cn]=Tt[Cn];return Bt}function Et(Tt,xn){for(var Cn=0;Cn<xn.length;Cn++){var Bt=xn[Cn];Bt.enumerable=Bt.enumerable||!1,Bt.configurable=!0,\"value\"in Bt&&(Bt.writable=!0),Object.defineProperty(Tt,Bt.key,Bt)}}function Q(Tt,xn,Cn){return xn&&Et(Tt.prototype,xn),Cn&&Et(Tt,Cn),Tt}function W(Tt,xn){Tt.prototype=Object.create(xn.prototype),Tt.prototype.constructor=Tt,Tt.__proto__=xn}function Je(Tt){return Tt.map(function(xn){return xn.nodes&&(xn.nodes=Je(xn.nodes)),delete xn.source,xn})}var Oe=function(Tt){W(xn,Tt);function xn(){return Tt.apply(this,arguments)||this}var Cn=xn.prototype;return Cn.push=function(Bt){return Bt.parent=this,this.nodes.push(Bt),this},Cn.each=function(Bt){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var yi=this.lastEach;if(this.indexes[yi]=0,!!this.nodes){for(var Oi,Qi;this.indexes[yi]<this.nodes.length&&(Oi=this.indexes[yi],Qi=Bt(this.nodes[Oi],Oi),Qi!==!1);)this.indexes[yi]+=1;return delete this.indexes[yi],Qi}},Cn.walk=function(Bt){return this.each(function(yi,Oi){var Qi;try{Qi=Bt(yi,Oi)}catch(vo){if(vo.postcssNode=yi,vo.stack&&yi.source&&/\\n\\s{4}at /.test(vo.stack)){var $s=yi.source;vo.stack=vo.stack.replace(/\\n\\s{4}at /,\"$&\"+$s.input.from+\":\"+$s.start.line+\":\"+$s.start.column+\"$&\")}throw vo}return Qi!==!1&&yi.walk&&(Qi=yi.walk(Bt)),Qi})},Cn.walkDecls=function(Bt,yi){return yi?Bt instanceof RegExp?this.walk(function(Oi,Qi){if(Oi.type===\"decl\"&&Bt.test(Oi.prop))return yi(Oi,Qi)}):this.walk(function(Oi,Qi){if(Oi.type===\"decl\"&&Oi.prop===Bt)return yi(Oi,Qi)}):(yi=Bt,this.walk(function(Oi,Qi){if(Oi.type===\"decl\")return yi(Oi,Qi)}))},Cn.walkRules=function(Bt,yi){return yi?Bt instanceof RegExp?this.walk(function(Oi,Qi){if(Oi.type===\"rule\"&&Bt.test(Oi.selector))return yi(Oi,Qi)}):this.walk(function(Oi,Qi){if(Oi.type===\"rule\"&&Oi.selector===Bt)return yi(Oi,Qi)}):(yi=Bt,this.walk(function(Oi,Qi){if(Oi.type===\"rule\")return yi(Oi,Qi)}))},Cn.walkAtRules=function(Bt,yi){return yi?Bt instanceof RegExp?this.walk(function(Oi,Qi){if(Oi.type===\"atrule\"&&Bt.test(Oi.name))return yi(Oi,Qi)}):this.walk(function(Oi,Qi){if(Oi.type===\"atrule\"&&Oi.name===Bt)return yi(Oi,Qi)}):(yi=Bt,this.walk(function(Oi,Qi){if(Oi.type===\"atrule\")return yi(Oi,Qi)}))},Cn.walkComments=function(Bt){return this.walk(function(yi,Oi){if(yi.type===\"comment\")return Bt(yi,Oi)})},Cn.append=function(){for(var Bt=arguments.length,yi=new Array(Bt),Oi=0;Oi<Bt;Oi++)yi[Oi]=arguments[Oi];for(var Qi=0,$s=yi;Qi<$s.length;Qi++)for(var vo=$s[Qi],Mo=this.normalize(vo,this.last),Ea=bt(Mo),Ca;!(Ca=Ea()).done;){var Ma=Ca.value;this.nodes.push(Ma)}return this},Cn.prepend=function(){for(var Bt=arguments.length,yi=new Array(Bt),Oi=0;Oi<Bt;Oi++)yi[Oi]=arguments[Oi];yi=yi.reverse();for(var Qi=bt(yi),$s;!($s=Qi()).done;){for(var vo=$s.value,Mo=this.normalize(vo,this.first,\"prepend\").reverse(),Ea=bt(Mo),Ca;!(Ca=Ea()).done;){var Ma=Ca.value;this.nodes.unshift(Ma)}for(var Yo in this.indexes)this.indexes[Yo]=this.indexes[Yo]+Mo.length}return this},Cn.cleanRaws=function(Bt){if(Tt.prototype.cleanRaws.call(this,Bt),this.nodes)for(var yi=bt(this.nodes),Oi;!(Oi=yi()).done;){var Qi=Oi.value;Qi.cleanRaws(Bt)}},Cn.insertBefore=function(Bt,yi){Bt=this.index(Bt);for(var Oi=Bt===0?\"prepend\":!1,Qi=this.normalize(yi,this.nodes[Bt],Oi).reverse(),$s=bt(Qi),vo;!(vo=$s()).done;){var Mo=vo.value;this.nodes.splice(Bt,0,Mo)}var Ea;for(var Ca in this.indexes)Ea=this.indexes[Ca],Bt<=Ea&&(this.indexes[Ca]=Ea+Qi.length);return this},Cn.insertAfter=function(Bt,yi){Bt=this.index(Bt);for(var Oi=this.normalize(yi,this.nodes[Bt]).reverse(),Qi=bt(Oi),$s;!($s=Qi()).done;){var vo=$s.value;this.nodes.splice(Bt+1,0,vo)}var Mo;for(var Ea in this.indexes)Mo=this.indexes[Ea],Bt<Mo&&(this.indexes[Ea]=Mo+Oi.length);return this},Cn.removeChild=function(Bt){Bt=this.index(Bt),this.nodes[Bt].parent=void 0,this.nodes.splice(Bt,1);var yi;for(var Oi in this.indexes)yi=this.indexes[Oi],yi>=Bt&&(this.indexes[Oi]=yi-1);return this},Cn.removeAll=function(){for(var Bt=bt(this.nodes),yi;!(yi=Bt()).done;){var Oi=yi.value;Oi.parent=void 0}return this.nodes=[],this},Cn.replaceValues=function(Bt,yi,Oi){return Oi||(Oi=yi,yi={}),this.walkDecls(function(Qi){yi.props&&yi.props.indexOf(Qi.prop)===-1||yi.fast&&Qi.value.indexOf(yi.fast)===-1||(Qi.value=Qi.value.replace(Bt,Oi))}),this},Cn.every=function(Bt){return this.nodes.every(Bt)},Cn.some=function(Bt){return this.nodes.some(Bt)},Cn.index=function(Bt){return typeof Bt==\"number\"?Bt:this.nodes.indexOf(Bt)},Cn.normalize=function(Bt,yi){var Oi=this;if(typeof Bt==\"string\"){var Qi=v();Bt=Je(Qi(Bt).nodes)}else if(Array.isArray(Bt)){Bt=Bt.slice(0);for(var $s=bt(Bt),vo;!(vo=$s()).done;){var Mo=vo.value;Mo.parent&&Mo.parent.removeChild(Mo,\"ignore\")}}else if(Bt.type===\"root\"){Bt=Bt.nodes.slice(0);for(var Ea=bt(Bt),Ca;!(Ca=Ea()).done;){var Ma=Ca.value;Ma.parent&&Ma.parent.removeChild(Ma,\"ignore\")}}else if(Bt.type)Bt=[Bt];else if(Bt.prop){if(typeof Bt.value>\"u\")throw new Error(\"Value field is missed in node creation\");typeof Bt.value!=\"string\"&&(Bt.value=String(Bt.value)),Bt=[new Ue.default(Bt)]}else if(Bt.selector){var Yo=de();Bt=[new Yo(Bt)]}else if(Bt.name){var Oa=ie();Bt=[new Oa(Bt)]}else if(Bt.text)Bt=[new qe.default(Bt)];else throw new Error(\"Unknown node type in node creation\");var qs=Bt.map(function(cs){return cs.parent&&cs.parent.removeChild(cs),typeof cs.raws.before>\"u\"&&yi&&typeof yi.raws.before<\"u\"&&(cs.raws.before=yi.raws.before.replace(/[^\\s]/g,\"\")),cs.parent=Oi,cs});return qs},Q(xn,[{key:\"first\",get:function(){if(this.nodes)return this.nodes[0]}},{key:\"last\",get:function(){if(this.nodes)return this.nodes[this.nodes.length-1]}}]),xn}(Ye.default),zt=Oe;K.default=zt,nt.exports=K.default}}),ie=Yt({\"node_modules/postcss/lib/at-rule.js\"(K,nt){ni(),K.__esModule=!0,K.default=void 0;var Ue=qe(ve());function qe(wt){return wt&&wt.__esModule?wt:{default:wt}}function Ye(wt,lt){wt.prototype=Object.create(lt.prototype),wt.prototype.constructor=wt,wt.__proto__=lt}var xt=function(wt){Ye(lt,wt);function lt(Q){var W;return W=wt.call(this,Q)||this,W.type=\"atrule\",W}var Et=lt.prototype;return Et.append=function(){var Q;this.nodes||(this.nodes=[]);for(var W=arguments.length,Je=new Array(W),Oe=0;Oe<W;Oe++)Je[Oe]=arguments[Oe];return(Q=wt.prototype.append).call.apply(Q,[this].concat(Je))},Et.prepend=function(){var Q;this.nodes||(this.nodes=[]);for(var W=arguments.length,Je=new Array(W),Oe=0;Oe<W;Oe++)Je[Oe]=arguments[Oe];return(Q=wt.prototype.prepend).call.apply(Q,[this].concat(Je))},lt}(Ue.default),bt=xt;K.default=bt,nt.exports=K.default}}),V=Yt({\"node_modules/postcss/lib/map-generator.js\"(K,nt){ni(),nt.exports=class{generate(){}}}}),P=Yt({\"node_modules/postcss/lib/warn-once.js\"(K,nt){ni(),K.__esModule=!0,K.default=qe;var Ue={};function qe(Ye){Ue[Ye]||(Ue[Ye]=!0,typeof console<\"u\"&&console.warn&&console.warn(Ye))}nt.exports=K.default}}),he=Yt({\"node_modules/postcss/lib/warning.js\"(K,nt){ni(),K.__esModule=!0,K.default=void 0;var Ue=function(){function Ye(bt,wt){if(wt===void 0&&(wt={}),this.type=\"warning\",this.text=bt,wt.node&&wt.node.source){var lt=wt.node.positionBy(wt);this.line=lt.line,this.column=lt.column}for(var Et in wt)this[Et]=wt[Et]}var xt=Ye.prototype;return xt.toString=function(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+\": \"+this.text:this.text},Ye}(),qe=Ue;K.default=qe,nt.exports=K.default}}),N=Yt({\"node_modules/postcss/lib/result.js\"(K,nt){ni(),K.__esModule=!0,K.default=void 0;var Ue=qe(he());function qe(lt){return lt&&lt.__esModule?lt:{default:lt}}function Ye(lt,Et){for(var Q=0;Q<Et.length;Q++){var W=Et[Q];W.enumerable=W.enumerable||!1,W.configurable=!0,\"value\"in W&&(W.writable=!0),Object.defineProperty(lt,W.key,W)}}function xt(lt,Et,Q){return Et&&Ye(lt.prototype,Et),Q&&Ye(lt,Q),lt}var bt=function(){function lt(Q,W,Je){this.processor=Q,this.messages=[],this.root=W,this.opts=Je,this.css=void 0,this.map=void 0}var Et=lt.prototype;return Et.toString=function(){return this.css},Et.warn=function(Q,W){W===void 0&&(W={}),W.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(W.plugin=this.lastPlugin.postcssPlugin);var Je=new Ue.default(Q,W);return this.messages.push(Je),Je},Et.warnings=function(){return this.messages.filter(function(Q){return Q.type===\"warning\"})},xt(lt,[{key:\"content\",get:function(){return this.css}}]),lt}(),wt=bt;K.default=wt,nt.exports=K.default}}),se=Yt({\"node_modules/postcss/lib/lazy-result.js\"(K,nt){ni(),K.__esModule=!0,K.default=void 0;var Ue=bt(V()),qe=bt(mn());bt(P());var Ye=bt(N()),xt=bt(v());function bt(Tt){return Tt&&Tt.__esModule?Tt:{default:Tt}}function wt(Tt,xn){var Cn;if(typeof Symbol>\"u\"||Tt[Symbol.iterator]==null){if(Array.isArray(Tt)||(Cn=lt(Tt))||xn&&Tt&&typeof Tt.length==\"number\"){Cn&&(Tt=Cn);var Bt=0;return function(){return Bt>=Tt.length?{done:!0}:{done:!1,value:Tt[Bt++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return Cn=Tt[Symbol.iterator](),Cn.next.bind(Cn)}function lt(Tt,xn){if(Tt){if(typeof Tt==\"string\")return Et(Tt,xn);var Cn=Object.prototype.toString.call(Tt).slice(8,-1);if(Cn===\"Object\"&&Tt.constructor&&(Cn=Tt.constructor.name),Cn===\"Map\"||Cn===\"Set\")return Array.from(Tt);if(Cn===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Cn))return Et(Tt,xn)}}function Et(Tt,xn){(xn==null||xn>Tt.length)&&(xn=Tt.length);for(var Cn=0,Bt=new Array(xn);Cn<xn;Cn++)Bt[Cn]=Tt[Cn];return Bt}function Q(Tt,xn){for(var Cn=0;Cn<xn.length;Cn++){var Bt=xn[Cn];Bt.enumerable=Bt.enumerable||!1,Bt.configurable=!0,\"value\"in Bt&&(Bt.writable=!0),Object.defineProperty(Tt,Bt.key,Bt)}}function W(Tt,xn,Cn){return xn&&Q(Tt.prototype,xn),Cn&&Q(Tt,Cn),Tt}function Je(Tt){return typeof Tt==\"object\"&&typeof Tt.then==\"function\"}var Oe=function(){function Tt(Cn,Bt,yi){this.stringified=!1,this.processed=!1;var Oi;if(typeof Bt==\"object\"&&Bt!==null&&Bt.type===\"root\")Oi=Bt;else if(Bt instanceof Tt||Bt instanceof Ye.default)Oi=Bt.root,Bt.map&&(typeof yi.map>\"u\"&&(yi.map={}),yi.map.inline||(yi.map.inline=!1),yi.map.prev=Bt.map);else{var Qi=xt.default;yi.syntax&&(Qi=yi.syntax.parse),yi.parser&&(Qi=yi.parser),Qi.parse&&(Qi=Qi.parse);try{Oi=Qi(Bt,yi)}catch($s){this.error=$s}}this.result=new Ye.default(Cn,Oi,yi)}var xn=Tt.prototype;return xn.warnings=function(){return this.sync().warnings()},xn.toString=function(){return this.css},xn.then=function(Cn,Bt){return this.async().then(Cn,Bt)},xn.catch=function(Cn){return this.async().catch(Cn)},xn.finally=function(Cn){return this.async().then(Cn,Cn)},xn.handleError=function(Cn,Bt){try{if(this.error=Cn,Cn.name===\"CssSyntaxError\"&&!Cn.plugin)Cn.plugin=Bt.postcssPlugin,Cn.setMessage();else if(Bt.postcssVersion&&!1)var yi,Oi,Qi,$s,vo}catch(Mo){console&&console.error&&console.error(Mo)}},xn.asyncTick=function(Cn,Bt){var yi=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,Cn();try{var Oi=this.processor.plugins[this.plugin],Qi=this.run(Oi);this.plugin+=1,Je(Qi)?Qi.then(function(){yi.asyncTick(Cn,Bt)}).catch(function($s){yi.handleError($s,Oi),yi.processed=!0,Bt($s)}):this.asyncTick(Cn,Bt)}catch($s){this.processed=!0,Bt($s)}},xn.async=function(){var Cn=this;return this.processed?new Promise(function(Bt,yi){Cn.error?yi(Cn.error):Bt(Cn.stringify())}):this.processing?this.processing:(this.processing=new Promise(function(Bt,yi){if(Cn.error)return yi(Cn.error);Cn.plugin=0,Cn.asyncTick(Bt,yi)}).then(function(){return Cn.processed=!0,Cn.stringify()}),this.processing)},xn.sync=function(){if(this.processed)return this.result;if(this.processed=!0,this.processing)throw new Error(\"Use process(css).then(cb) to work with async plugins\");if(this.error)throw this.error;for(var Cn=wt(this.result.processor.plugins),Bt;!(Bt=Cn()).done;){var yi=Bt.value,Oi=this.run(yi);if(Je(Oi))throw new Error(\"Use process(css).then(cb) to work with async plugins\")}return this.result},xn.run=function(Cn){this.result.lastPlugin=Cn;try{return Cn(this.result.root,this.result)}catch(Bt){throw this.handleError(Bt,Cn),Bt}},xn.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var Cn=this.result.opts,Bt=qe.default;Cn.syntax&&(Bt=Cn.syntax.stringify),Cn.stringifier&&(Bt=Cn.stringifier),Bt.stringify&&(Bt=Bt.stringify);var yi=new Ue.default(Bt,this.result.root,this.result.opts),Oi=yi.generate();return this.result.css=Oi[0],this.result.map=Oi[1],this.result},W(Tt,[{key:\"processor\",get:function(){return this.result.processor}},{key:\"opts\",get:function(){return this.result.opts}},{key:\"css\",get:function(){return this.stringify().css}},{key:\"content\",get:function(){return this.stringify().content}},{key:\"map\",get:function(){return this.stringify().map}},{key:\"root\",get:function(){return this.sync().root}},{key:\"messages\",get:function(){return this.sync().messages}}]),Tt}(),zt=Oe;K.default=zt,nt.exports=K.default}}),Se=Yt({\"node_modules/postcss/lib/processor.js\"(K,nt){ni(),K.__esModule=!0,K.default=void 0;var Ue=qe(se());function qe(Et){return Et&&Et.__esModule?Et:{default:Et}}function Ye(Et,Q){var W;if(typeof Symbol>\"u\"||Et[Symbol.iterator]==null){if(Array.isArray(Et)||(W=xt(Et))||Q&&Et&&typeof Et.length==\"number\"){W&&(Et=W);var Je=0;return function(){return Je>=Et.length?{done:!0}:{done:!1,value:Et[Je++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return W=Et[Symbol.iterator](),W.next.bind(W)}function xt(Et,Q){if(Et){if(typeof Et==\"string\")return bt(Et,Q);var W=Object.prototype.toString.call(Et).slice(8,-1);if(W===\"Object\"&&Et.constructor&&(W=Et.constructor.name),W===\"Map\"||W===\"Set\")return Array.from(Et);if(W===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(W))return bt(Et,Q)}}function bt(Et,Q){(Q==null||Q>Et.length)&&(Q=Et.length);for(var W=0,Je=new Array(Q);W<Q;W++)Je[W]=Et[W];return Je}var wt=function(){function Et(W){W===void 0&&(W=[]),this.version=\"7.0.39\",this.plugins=this.normalize(W)}var Q=Et.prototype;return Q.use=function(W){return this.plugins=this.plugins.concat(this.normalize([W])),this},Q.process=function(W){function Je(Oe){return W.apply(this,arguments)}return Je.toString=function(){return W.toString()},Je}(function(W,Je){return Je===void 0&&(Je={}),this.plugins.length===0&&(Je.parser,Je.stringifier),new Ue.default(this,W,Je)}),Q.normalize=function(W){for(var Je=[],Oe=Ye(W),zt;!(zt=Oe()).done;){var Tt=zt.value;if(Tt.postcss===!0){var xn=Tt();throw new Error(\"PostCSS plugin \"+xn.postcssPlugin+` requires PostCSS 8.\nMigration guide for end-users:\nhttps://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`)}if(Tt.postcss&&(Tt=Tt.postcss),typeof Tt==\"object\"&&Array.isArray(Tt.plugins))Je=Je.concat(Tt.plugins);else if(typeof Tt==\"function\")Je.push(Tt);else if(!(typeof Tt==\"object\"&&(Tt.parse||Tt.stringify)))throw typeof Tt==\"object\"&&Tt.postcssPlugin?new Error(\"PostCSS plugin \"+Tt.postcssPlugin+` requires PostCSS 8.\nMigration guide for end-users:\nhttps://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`):new Error(Tt+\" is not a PostCSS plugin\")}return Je},Et}(),lt=wt;K.default=lt,nt.exports=K.default}}),S=Yt({\"node_modules/postcss/lib/root.js\"(K,nt){ni(),K.__esModule=!0,K.default=void 0;var Ue=qe(ve());function qe(Q){return Q&&Q.__esModule?Q:{default:Q}}function Ye(Q,W){var Je;if(typeof Symbol>\"u\"||Q[Symbol.iterator]==null){if(Array.isArray(Q)||(Je=xt(Q))||W&&Q&&typeof Q.length==\"number\"){Je&&(Q=Je);var Oe=0;return function(){return Oe>=Q.length?{done:!0}:{done:!1,value:Q[Oe++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return Je=Q[Symbol.iterator](),Je.next.bind(Je)}function xt(Q,W){if(Q){if(typeof Q==\"string\")return bt(Q,W);var Je=Object.prototype.toString.call(Q).slice(8,-1);if(Je===\"Object\"&&Q.constructor&&(Je=Q.constructor.name),Je===\"Map\"||Je===\"Set\")return Array.from(Q);if(Je===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Je))return bt(Q,W)}}function bt(Q,W){(W==null||W>Q.length)&&(W=Q.length);for(var Je=0,Oe=new Array(W);Je<W;Je++)Oe[Je]=Q[Je];return Oe}function wt(Q,W){Q.prototype=Object.create(W.prototype),Q.prototype.constructor=Q,Q.__proto__=W}var lt=function(Q){wt(W,Q);function W(Oe){var zt;return zt=Q.call(this,Oe)||this,zt.type=\"root\",zt.nodes||(zt.nodes=[]),zt}var Je=W.prototype;return Je.removeChild=function(Oe,zt){var Tt=this.index(Oe);return!zt&&Tt===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[Tt].raws.before),Q.prototype.removeChild.call(this,Oe)},Je.normalize=function(Oe,zt,Tt){var xn=Q.prototype.normalize.call(this,Oe);if(zt){if(Tt===\"prepend\")this.nodes.length>1?zt.raws.before=this.nodes[1].raws.before:delete zt.raws.before;else if(this.first!==zt)for(var Cn=Ye(xn),Bt;!(Bt=Cn()).done;){var yi=Bt.value;yi.raws.before=zt.raws.before}}return xn},Je.toResult=function(Oe){Oe===void 0&&(Oe={});var zt=se(),Tt=Se(),xn=new zt(new Tt,this,Oe);return xn.stringify()},W}(Ue.default),Et=lt;K.default=Et,nt.exports=K.default}}),Re=Yt({\"node_modules/postcss/lib/parser.js\"(K,nt){ni(),K.__esModule=!0,K.default=void 0;var Ue=lt(Qn()),qe=lt(b()),Ye=lt(ti()),xt=lt(ie()),bt=lt(S()),wt=lt(de());function lt(Q){return Q&&Q.__esModule?Q:{default:Q}}var Et=function(){function Q(Je){this.input=Je,this.root=new bt.default,this.current=this.root,this.spaces=\"\",this.semicolon=!1,this.createTokenizer(),this.root.source={input:Je,start:{line:1,column:1}}}var W=Q.prototype;return W.createTokenizer=function(){this.tokenizer=(0,qe.default)(this.input)},W.parse=function(){for(var Je;!this.tokenizer.endOfFile();)switch(Je=this.tokenizer.nextToken(),Je[0]){case\"space\":this.spaces+=Je[1];break;case\";\":this.freeSemicolon(Je);break;case\"}\":this.end(Je);break;case\"comment\":this.comment(Je);break;case\"at-word\":this.atrule(Je);break;case\"{\":this.emptyRule(Je);break;default:this.other(Je);break}this.endFile()},W.comment=function(Je){var Oe=new Ye.default;this.init(Oe,Je[2],Je[3]),Oe.source.end={line:Je[4],column:Je[5]};var zt=Je[1].slice(2,-2);if(/^\\s*$/.test(zt))Oe.text=\"\",Oe.raws.left=zt,Oe.raws.right=\"\";else{var Tt=zt.match(/^(\\s*)([^]*[^\\s])(\\s*)$/);Oe.text=Tt[2],Oe.raws.left=Tt[1],Oe.raws.right=Tt[3]}},W.emptyRule=function(Je){var Oe=new wt.default;this.init(Oe,Je[2],Je[3]),Oe.selector=\"\",Oe.raws.between=\"\",this.current=Oe},W.other=function(Je){for(var Oe=!1,zt=null,Tt=!1,xn=null,Cn=[],Bt=[],yi=Je;yi;){if(zt=yi[0],Bt.push(yi),zt===\"(\"||zt===\"[\")xn||(xn=yi),Cn.push(zt===\"(\"?\")\":\"]\");else if(Cn.length===0)if(zt===\";\")if(Tt){this.decl(Bt);return}else break;else if(zt===\"{\"){this.rule(Bt);return}else if(zt===\"}\"){this.tokenizer.back(Bt.pop()),Oe=!0;break}else zt===\":\"&&(Tt=!0);else zt===Cn[Cn.length-1]&&(Cn.pop(),Cn.length===0&&(xn=null));yi=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(Oe=!0),Cn.length>0&&this.unclosedBracket(xn),Oe&&Tt){for(;Bt.length&&(yi=Bt[Bt.length-1][0],!(yi!==\"space\"&&yi!==\"comment\"));)this.tokenizer.back(Bt.pop());this.decl(Bt)}else this.unknownWord(Bt)},W.rule=function(Je){Je.pop();var Oe=new wt.default;this.init(Oe,Je[0][2],Je[0][3]),Oe.raws.between=this.spacesAndCommentsFromEnd(Je),this.raw(Oe,\"selector\",Je),this.current=Oe},W.decl=function(Je){var Oe=new Ue.default;this.init(Oe);var zt=Je[Je.length-1];for(zt[0]===\";\"&&(this.semicolon=!0,Je.pop()),zt[4]?Oe.source.end={line:zt[4],column:zt[5]}:Oe.source.end={line:zt[2],column:zt[3]};Je[0][0]!==\"word\";)Je.length===1&&this.unknownWord(Je),Oe.raws.before+=Je.shift()[1];for(Oe.source.start={line:Je[0][2],column:Je[0][3]},Oe.prop=\"\";Je.length;){var Tt=Je[0][0];if(Tt===\":\"||Tt===\"space\"||Tt===\"comment\")break;Oe.prop+=Je.shift()[1]}Oe.raws.between=\"\";for(var xn;Je.length;)if(xn=Je.shift(),xn[0]===\":\"){Oe.raws.between+=xn[1];break}else xn[0]===\"word\"&&/\\w/.test(xn[1])&&this.unknownWord([xn]),Oe.raws.between+=xn[1];(Oe.prop[0]===\"_\"||Oe.prop[0]===\"*\")&&(Oe.raws.before+=Oe.prop[0],Oe.prop=Oe.prop.slice(1)),Oe.raws.between+=this.spacesAndCommentsFromStart(Je),this.precheckMissedSemicolon(Je);for(var Cn=Je.length-1;Cn>0;Cn--){if(xn=Je[Cn],xn[1].toLowerCase()===\"!important\"){Oe.important=!0;var Bt=this.stringFrom(Je,Cn);Bt=this.spacesFromEnd(Je)+Bt,Bt!==\" !important\"&&(Oe.raws.important=Bt);break}else if(xn[1].toLowerCase()===\"important\"){for(var yi=Je.slice(0),Oi=\"\",Qi=Cn;Qi>0;Qi--){var $s=yi[Qi][0];if(Oi.trim().indexOf(\"!\")===0&&$s!==\"space\")break;Oi=yi.pop()[1]+Oi}Oi.trim().indexOf(\"!\")===0&&(Oe.important=!0,Oe.raws.important=Oi,Je=yi)}if(xn[0]!==\"space\"&&xn[0]!==\"comment\")break}this.raw(Oe,\"value\",Je),Oe.value.indexOf(\":\")!==-1&&this.checkMissedSemicolon(Je)},W.atrule=function(Je){var Oe=new xt.default;Oe.name=Je[1].slice(1),Oe.name===\"\"&&this.unnamedAtrule(Oe,Je),this.init(Oe,Je[2],Je[3]);for(var zt,Tt,xn=!1,Cn=!1,Bt=[];!this.tokenizer.endOfFile();){if(Je=this.tokenizer.nextToken(),Je[0]===\";\"){Oe.source.end={line:Je[2],column:Je[3]},this.semicolon=!0;break}else if(Je[0]===\"{\"){Cn=!0;break}else if(Je[0]===\"}\"){if(Bt.length>0){for(Tt=Bt.length-1,zt=Bt[Tt];zt&&zt[0]===\"space\";)zt=Bt[--Tt];zt&&(Oe.source.end={line:zt[4],column:zt[5]})}this.end(Je);break}else Bt.push(Je);if(this.tokenizer.endOfFile()){xn=!0;break}}Oe.raws.between=this.spacesAndCommentsFromEnd(Bt),Bt.length?(Oe.raws.afterName=this.spacesAndCommentsFromStart(Bt),this.raw(Oe,\"params\",Bt),xn&&(Je=Bt[Bt.length-1],Oe.source.end={line:Je[4],column:Je[5]},this.spaces=Oe.raws.between,Oe.raws.between=\"\")):(Oe.raws.afterName=\"\",Oe.params=\"\"),Cn&&(Oe.nodes=[],this.current=Oe)},W.end=function(Je){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||\"\")+this.spaces,this.spaces=\"\",this.current.parent?(this.current.source.end={line:Je[2],column:Je[3]},this.current=this.current.parent):this.unexpectedClose(Je)},W.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||\"\")+this.spaces},W.freeSemicolon=function(Je){if(this.spaces+=Je[1],this.current.nodes){var Oe=this.current.nodes[this.current.nodes.length-1];Oe&&Oe.type===\"rule\"&&!Oe.raws.ownSemicolon&&(Oe.raws.ownSemicolon=this.spaces,this.spaces=\"\")}},W.init=function(Je,Oe,zt){this.current.push(Je),Je.source={start:{line:Oe,column:zt},input:this.input},Je.raws.before=this.spaces,this.spaces=\"\",Je.type!==\"comment\"&&(this.semicolon=!1)},W.raw=function(Je,Oe,zt){for(var Tt,xn,Cn=zt.length,Bt=\"\",yi=!0,Oi,Qi,$s=/^([.|#])?([\\w])+/i,vo=0;vo<Cn;vo+=1){if(Tt=zt[vo],xn=Tt[0],xn===\"comment\"&&Je.type===\"rule\"){Qi=zt[vo-1],Oi=zt[vo+1],Qi[0]!==\"space\"&&Oi[0]!==\"space\"&&$s.test(Qi[1])&&$s.test(Oi[1])?Bt+=Tt[1]:yi=!1;continue}xn===\"comment\"||xn===\"space\"&&vo===Cn-1?yi=!1:Bt+=Tt[1]}if(!yi){var Mo=zt.reduce(function(Ea,Ca){return Ea+Ca[1]},\"\");Je.raws[Oe]={value:Bt,raw:Mo}}Je[Oe]=Bt},W.spacesAndCommentsFromEnd=function(Je){for(var Oe,zt=\"\";Je.length&&(Oe=Je[Je.length-1][0],!(Oe!==\"space\"&&Oe!==\"comment\"));)zt=Je.pop()[1]+zt;return zt},W.spacesAndCommentsFromStart=function(Je){for(var Oe,zt=\"\";Je.length&&(Oe=Je[0][0],!(Oe!==\"space\"&&Oe!==\"comment\"));)zt+=Je.shift()[1];return zt},W.spacesFromEnd=function(Je){for(var Oe,zt=\"\";Je.length&&(Oe=Je[Je.length-1][0],Oe===\"space\");)zt=Je.pop()[1]+zt;return zt},W.stringFrom=function(Je,Oe){for(var zt=\"\",Tt=Oe;Tt<Je.length;Tt++)zt+=Je[Tt][1];return Je.splice(Oe,Je.length-Oe),zt},W.colon=function(Je){for(var Oe=0,zt,Tt,xn,Cn=0;Cn<Je.length;Cn++){if(zt=Je[Cn],Tt=zt[0],Tt===\"(\"&&(Oe+=1),Tt===\")\"&&(Oe-=1),Oe===0&&Tt===\":\")if(!xn)this.doubleColon(zt);else{if(xn[0]===\"word\"&&xn[1]===\"progid\")continue;return Cn}xn=zt}return!1},W.unclosedBracket=function(Je){throw this.input.error(\"Unclosed bracket\",Je[2],Je[3])},W.unknownWord=function(Je){throw this.input.error(\"Unknown word\",Je[0][2],Je[0][3])},W.unexpectedClose=function(Je){throw this.input.error(\"Unexpected }\",Je[2],Je[3])},W.unclosedBlock=function(){var Je=this.current.source.start;throw this.input.error(\"Unclosed block\",Je.line,Je.column)},W.doubleColon=function(Je){throw this.input.error(\"Double colon\",Je[2],Je[3])},W.unnamedAtrule=function(Je,Oe){throw this.input.error(\"At-rule without name\",Oe[2],Oe[3])},W.precheckMissedSemicolon=function(){},W.checkMissedSemicolon=function(Je){var Oe=this.colon(Je);if(Oe!==!1){for(var zt=0,Tt,xn=Oe-1;xn>=0&&(Tt=Je[xn],!(Tt[0]!==\"space\"&&(zt+=1,zt===2)));xn--);throw this.input.error(\"Missed semicolon\",Tt[2],Tt[3])}},Q}();K.default=Et,nt.exports=K.default}}),dt=Yt({\"node_modules/postcss-less/lib/nodes/inline-comment.js\"(K,nt){ni();var Ue=b(),qe=Ti();nt.exports={isInlineComment(Ye){if(Ye[0]===\"word\"&&Ye[1].slice(0,2)===\"//\"){let xt=Ye,bt=[],wt;for(;Ye;){if(/\\r?\\n/.test(Ye[1])){if(/['\"].*\\r?\\n/.test(Ye[1])){bt.push(Ye[1].substring(0,Ye[1].indexOf(`\n`)));let Et=Ye[1].substring(Ye[1].indexOf(`\n`));Et+=this.input.css.valueOf().substring(this.tokenizer.position()),this.input=new qe(Et),this.tokenizer=Ue(this.input)}else this.tokenizer.back(Ye);break}bt.push(Ye[1]),wt=Ye,Ye=this.tokenizer.nextToken({ignoreUnclosed:!0})}let lt=[\"comment\",bt.join(\"\"),xt[2],xt[3],wt[2],wt[3]];return this.inlineComment(lt),!0}else if(Ye[1]===\"/\"){let xt=this.tokenizer.nextToken({ignoreUnclosed:!0});if(xt[0]===\"comment\"&&/^\\/\\*/.test(xt[1]))return xt[0]=\"word\",xt[1]=xt[1].slice(1),Ye[1]=\"//\",this.tokenizer.back(xt),nt.exports.isInlineComment.bind(this)(Ye)}return!1}}}}),_n=Yt({\"node_modules/postcss-less/lib/nodes/interpolation.js\"(K,nt){ni(),nt.exports={interpolation(Ue){let qe=Ue,Ye=[Ue],xt=[\"word\",\"{\",\"}\"];if(Ue=this.tokenizer.nextToken(),qe[1].length>1||Ue[0]!==\"{\")return this.tokenizer.back(Ue),!1;for(;Ue&&xt.includes(Ue[0]);)Ye.push(Ue),Ue=this.tokenizer.nextToken();let bt=Ye.map(W=>W[1]);[qe]=Ye;let wt=Ye.pop(),lt=[qe[2],qe[3]],Et=[wt[4]||wt[2],wt[5]||wt[3]],Q=[\"word\",bt.join(\"\")].concat(lt,Et);return this.tokenizer.back(Ue),this.tokenizer.back(Q),!0}}}}),Qt=Yt({\"node_modules/postcss-less/lib/nodes/mixin.js\"(K,nt){ni();var Ue=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,qe=/\\.[0-9]/,Ye=xt=>{let[,bt]=xt,[wt]=bt;return(wt===\".\"||wt===\"#\")&&Ue.test(bt)===!1&&qe.test(bt)===!1};nt.exports={isMixinToken:Ye}}}),Mn=Yt({\"node_modules/postcss-less/lib/nodes/import.js\"(K,nt){ni();var Ue=b(),qe=/^url\\((.+)\\)/;nt.exports=Ye=>{let{name:xt,params:bt=\"\"}=Ye;if(xt===\"import\"&&bt.length){Ye.import=!0;let wt=Ue({css:bt});for(Ye.filename=bt.replace(qe,\"$1\");!wt.endOfFile();){let[lt,Et]=wt.nextToken();if(lt===\"word\"&&Et===\"url\")return;if(lt===\"brackets\"){Ye.options=Et,Ye.filename=bt.replace(Et,\"\").trim();break}}}}}}),Bi=Yt({\"node_modules/postcss-less/lib/nodes/variable.js\"(K,nt){ni();var Ue=/:$/,qe=/^:(\\s+)?/;nt.exports=Ye=>{let{name:xt,params:bt=\"\"}=Ye;if(Ye.name.slice(-1)===\":\"){if(Ue.test(xt)){let[wt]=xt.match(Ue);Ye.name=xt.replace(wt,\"\"),Ye.raws.afterName=wt+(Ye.raws.afterName||\"\"),Ye.variable=!0,Ye.value=Ye.params}if(qe.test(bt)){let[wt]=bt.match(qe);Ye.value=bt.replace(wt,\"\"),Ye.raws.afterName=(Ye.raws.afterName||\"\")+wt,Ye.variable=!0}}}}}),yn=Yt({\"node_modules/postcss-less/lib/LessParser.js\"(K,nt){ni();var Ue=ti(),qe=Re(),{isInlineComment:Ye}=dt(),{interpolation:xt}=_n(),{isMixinToken:bt}=Qt(),wt=Mn(),lt=Bi(),Et=/(!\\s*important)$/i;nt.exports=class extends qe{constructor(){super(...arguments),this.lastNode=null}atrule(Q){xt.bind(this)(Q)||(super.atrule(Q),wt(this.lastNode),lt(this.lastNode))}decl(){super.decl(...arguments),/extend\\(.+\\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(Q){Q[0][1]=` ${Q[0][1]}`;let W=Q.findIndex(Tt=>Tt[0]===\"(\"),Je=Q.reverse().find(Tt=>Tt[0]===\")\"),Oe=Q.reverse().indexOf(Je),zt=Q.splice(W,Oe).map(Tt=>Tt[1]).join(\"\");for(let Tt of Q.reverse())this.tokenizer.back(Tt);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=zt}init(Q,W,Je){super.init(Q,W,Je),this.lastNode=Q}inlineComment(Q){let W=new Ue,Je=Q[1].slice(2);if(this.init(W,Q[2],Q[3]),W.source.end={line:Q[4],column:Q[5]},W.inline=!0,W.raws.begin=\"//\",/^\\s*$/.test(Je))W.text=\"\",W.raws.left=Je,W.raws.right=\"\";else{let Oe=Je.match(/^(\\s*)([^]*[^\\s])(\\s*)$/);[,W.raws.left,W.text,W.raws.right]=Oe}}mixin(Q){let[W]=Q,Je=W[1].slice(0,1),Oe=Q.findIndex(Bt=>Bt[0]===\"brackets\"),zt=Q.findIndex(Bt=>Bt[0]===\"(\"),Tt=\"\";if((Oe<0||Oe>3)&&zt>0){let Bt=Q.reduce((Ma,Yo,Oa)=>Yo[0]===\")\"?Oa:Ma),yi=Q.slice(zt,Bt+zt).map(Ma=>Ma[1]).join(\"\"),[Oi]=Q.slice(zt),Qi=[Oi[2],Oi[3]],[$s]=Q.slice(Bt,Bt+1),vo=[$s[2],$s[3]],Mo=[\"brackets\",yi].concat(Qi,vo),Ea=Q.slice(0,zt),Ca=Q.slice(Bt+1);Q=Ea,Q.push(Mo),Q=Q.concat(Ca)}let xn=[];for(let Bt of Q)if((Bt[1]===\"!\"||xn.length)&&xn.push(Bt),Bt[1]===\"important\")break;if(xn.length){let[Bt]=xn,yi=Q.indexOf(Bt),Oi=xn[xn.length-1],Qi=[Bt[2],Bt[3]],$s=[Oi[4],Oi[5]],vo=[\"word\",xn.map(Mo=>Mo[1]).join(\"\")].concat(Qi,$s);Q.splice(yi,xn.length,vo)}let Cn=Q.findIndex(Bt=>Et.test(Bt[1]));Cn>0&&([,Tt]=Q[Cn],Q.splice(Cn,1));for(let Bt of Q.reverse())this.tokenizer.back(Bt);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=Je,Tt&&(this.lastNode.important=!0,this.lastNode.raws.important=Tt)}other(Q){Ye.bind(this)(Q)||super.other(Q)}rule(Q){let W=Q[Q.length-1],Je=Q[Q.length-2];if(Je[0]===\"at-word\"&&W[0]===\"{\"&&(this.tokenizer.back(W),xt.bind(this)(Je))){let Oe=this.tokenizer.nextToken();Q=Q.slice(0,Q.length-2).concat([Oe]);for(let zt of Q.reverse())this.tokenizer.back(zt);return}super.rule(Q),/:extend\\(.+\\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(Q){let[W]=Q;if(Q[0][1]===\"each\"&&Q[1][0]===\"(\"){this.each(Q);return}if(bt(W)){this.mixin(Q);return}super.unknownWord(Q)}}}}),vn=Yt({\"node_modules/postcss-less/lib/LessStringifier.js\"(K,nt){ni();var Ue=mr();nt.exports=class extends Ue{atrule(qe,Ye){if(!qe.mixin&&!qe.variable&&!qe.function){super.atrule(qe,Ye);return}let xt=`${qe.function?\"\":qe.raws.identifier||\"@\"}${qe.name}`,bt=qe.params?this.rawValue(qe,\"params\"):\"\",wt=qe.raws.important||\"\";if(qe.variable&&(bt=qe.value),typeof qe.raws.afterName<\"u\"?xt+=qe.raws.afterName:bt&&(xt+=\" \"),qe.nodes)this.block(qe,xt+bt+wt);else{let lt=(qe.raws.between||\"\")+wt+(Ye?\";\":\"\");this.builder(xt+bt+lt,qe)}}comment(qe){if(qe.inline){let Ye=this.raw(qe,\"left\",\"commentLeft\"),xt=this.raw(qe,\"right\",\"commentRight\");this.builder(`//${Ye}${qe.text}${xt}`,qe)}else super.comment(qe)}}}}),Ut=Yt({\"node_modules/postcss-less/lib/index.js\"(K,nt){ni();var Ue=Ti(),qe=yn(),Ye=vn();nt.exports={parse(xt,bt){let wt=new Ue(xt,bt),lt=new qe(wt);return lt.parse(),lt.root},stringify(xt,bt){new Ye(bt).stringify(xt)},nodeToString(xt){let bt=\"\";return nt.exports.stringify(xt,wt=>{bt+=wt}),bt}}}}),In=Yt({\"node_modules/postcss-scss/lib/scss-stringifier.js\"(K,nt){ni();function Ue(xt,bt){xt.prototype=Object.create(bt.prototype),xt.prototype.constructor=xt,xt.__proto__=bt}var qe=mr(),Ye=function(xt){Ue(bt,xt);function bt(){return xt.apply(this,arguments)||this}var wt=bt.prototype;return wt.comment=function(lt){var Et=this.raw(lt,\"left\",\"commentLeft\"),Q=this.raw(lt,\"right\",\"commentRight\");if(lt.raws.inline){var W=lt.raws.text||lt.text;this.builder(\"//\"+Et+W+Q,lt)}else this.builder(\"/*\"+Et+lt.text+Q+\"*/\",lt)},wt.decl=function(lt,Et){if(!lt.isNested)xt.prototype.decl.call(this,lt,Et);else{var Q=this.raw(lt,\"between\",\"colon\"),W=lt.prop+Q+this.rawValue(lt,\"value\");lt.important&&(W+=lt.raws.important||\" !important\"),this.builder(W+\"{\",lt,\"start\");var Je;lt.nodes&&lt.nodes.length?(this.body(lt),Je=this.raw(lt,\"after\")):Je=this.raw(lt,\"after\",\"emptyBody\"),Je&&this.builder(Je),this.builder(\"}\",lt,\"end\")}},wt.rawValue=function(lt,Et){var Q=lt[Et],W=lt.raws[Et];return W&&W.value===Q?W.scss?W.scss:W.raw:Q},bt}(qe);nt.exports=Ye}}),Vi=Yt({\"node_modules/postcss-scss/lib/scss-stringify.js\"(K,nt){ni();var Ue=In();nt.exports=function(qe,Ye){var xt=new Ue(Ye);xt.stringify(qe)}}}),ct=Yt({\"node_modules/postcss-scss/lib/nested-declaration.js\"(K,nt){ni();function Ue(xt,bt){xt.prototype=Object.create(bt.prototype),xt.prototype.constructor=xt,xt.__proto__=bt}var qe=ve(),Ye=function(xt){Ue(bt,xt);function bt(wt){var lt;return lt=xt.call(this,wt)||this,lt.type=\"decl\",lt.isNested=!0,lt.nodes||(lt.nodes=[]),lt}return bt}(qe);nt.exports=Ye}}),xi=Yt({\"node_modules/postcss-scss/lib/scss-tokenize.js\"(K,nt){ni();var Ue=\"'\".charCodeAt(0),qe='\"'.charCodeAt(0),Ye=\"\\\\\".charCodeAt(0),xt=\"/\".charCodeAt(0),bt=`\n`.charCodeAt(0),wt=\" \".charCodeAt(0),lt=\"\\f\".charCodeAt(0),Et=\"\t\".charCodeAt(0),Q=\"\\r\".charCodeAt(0),W=\"[\".charCodeAt(0),Je=\"]\".charCodeAt(0),Oe=\"(\".charCodeAt(0),zt=\")\".charCodeAt(0),Tt=\"{\".charCodeAt(0),xn=\"}\".charCodeAt(0),Cn=\";\".charCodeAt(0),Bt=\"*\".charCodeAt(0),yi=\":\".charCodeAt(0),Oi=\"@\".charCodeAt(0),Qi=\",\".charCodeAt(0),$s=\"#\".charCodeAt(0),vo=/[ \\n\\t\\r\\f{}()'\"\\\\;/[\\]#]/g,Mo=/[ \\n\\t\\r\\f(){}:;@!'\"\\\\\\][#]|\\/(?=\\*)/g,Ea=/.[\\\\/(\"'\\n]/,Ca=/[a-f0-9]/i,Ma=/[\\r\\f\\n]/g;nt.exports=function(Yo,Oa){Oa===void 0&&(Oa={});var qs=Yo.css.valueOf(),cs=Oa.ignoreErrors,Xs,ds,Zu,au,Du,ue,Tn,Ei,Gr,ts,Es,Ai,Mr,vr,ao=qs.length,$i=-1,pa=1,Ro=0,td=[],Bc=[];function fu(Su){throw Yo.error(\"Unclosed \"+Su,pa,Ro-$i)}function Wh(){return Bc.length===0&&Ro>=ao}function nd(){for(var Su=1,ku=!1,id=!1;Su>0;)ds+=1,qs.length<=ds&&fu(\"interpolation\"),Xs=qs.charCodeAt(ds),Ai=qs.charCodeAt(ds+1),ku?!id&&Xs===ku?(ku=!1,id=!1):Xs===Ye?id=!ts:id&&(id=!1):Xs===Ue||Xs===qe?ku=Xs:Xs===xn?Su-=1:Xs===$s&&Ai===Tt&&(Su+=1)}function Hc(){if(Bc.length)return Bc.pop();if(!(Ro>=ao)){switch(Xs=qs.charCodeAt(Ro),(Xs===bt||Xs===lt||Xs===Q&&qs.charCodeAt(Ro+1)!==bt)&&($i=Ro,pa+=1),Xs){case bt:case wt:case Et:case Q:case lt:ds=Ro;do ds+=1,Xs=qs.charCodeAt(ds),Xs===bt&&($i=ds,pa+=1);while(Xs===wt||Xs===bt||Xs===Et||Xs===Q||Xs===lt);Mr=[\"space\",qs.slice(Ro,ds)],Ro=ds-1;break;case W:Mr=[\"[\",\"[\",pa,Ro-$i];break;case Je:Mr=[\"]\",\"]\",pa,Ro-$i];break;case Tt:Mr=[\"{\",\"{\",pa,Ro-$i];break;case xn:Mr=[\"}\",\"}\",pa,Ro-$i];break;case Qi:Mr=[\"word\",\",\",pa,Ro-$i,pa,Ro-$i+1];break;case yi:Mr=[\":\",\":\",pa,Ro-$i];break;case Cn:Mr=[\";\",\";\",pa,Ro-$i];break;case Oe:if(Es=td.length?td.pop()[1]:\"\",Ai=qs.charCodeAt(Ro+1),Es===\"url\"&&Ai!==Ue&&Ai!==qe){for(vr=1,ts=!1,ds=Ro+1;ds<=qs.length-1;){if(Ai=qs.charCodeAt(ds),Ai===Ye)ts=!ts;else if(Ai===Oe)vr+=1;else if(Ai===zt&&(vr-=1,vr===0))break;ds+=1}ue=qs.slice(Ro,ds+1),au=ue.split(`\n`),Du=au.length-1,Du>0?(Ei=pa+Du,Gr=ds-au[Du].length):(Ei=pa,Gr=$i),Mr=[\"brackets\",ue,pa,Ro-$i,Ei,ds-Gr],$i=Gr,pa=Ei,Ro=ds}else ds=qs.indexOf(\")\",Ro+1),ue=qs.slice(Ro,ds+1),ds===-1||Ea.test(ue)?Mr=[\"(\",\"(\",pa,Ro-$i]:(Mr=[\"brackets\",ue,pa,Ro-$i,pa,ds-$i],Ro=ds);break;case zt:Mr=[\")\",\")\",pa,Ro-$i];break;case Ue:case qe:for(Zu=Xs,ds=Ro,ts=!1;ds<ao&&(ds++,ds===ao&&fu(\"string\"),Xs=qs.charCodeAt(ds),Ai=qs.charCodeAt(ds+1),!(!ts&&Xs===Zu));)Xs===Ye?ts=!ts:ts?ts=!1:Xs===$s&&Ai===Tt&&nd();ue=qs.slice(Ro,ds+1),au=ue.split(`\n`),Du=au.length-1,Du>0?(Ei=pa+Du,Gr=ds-au[Du].length):(Ei=pa,Gr=$i),Mr=[\"string\",qs.slice(Ro,ds+1),pa,Ro-$i,Ei,ds-Gr],$i=Gr,pa=Ei,Ro=ds;break;case Oi:vo.lastIndex=Ro+1,vo.test(qs),vo.lastIndex===0?ds=qs.length-1:ds=vo.lastIndex-2,Mr=[\"at-word\",qs.slice(Ro,ds+1),pa,Ro-$i,pa,ds-$i],Ro=ds;break;case Ye:for(ds=Ro,Tn=!0;qs.charCodeAt(ds+1)===Ye;)ds+=1,Tn=!Tn;if(Xs=qs.charCodeAt(ds+1),Tn&&Xs!==xt&&Xs!==wt&&Xs!==bt&&Xs!==Et&&Xs!==Q&&Xs!==lt&&(ds+=1,Ca.test(qs.charAt(ds)))){for(;Ca.test(qs.charAt(ds+1));)ds+=1;qs.charCodeAt(ds+1)===wt&&(ds+=1)}Mr=[\"word\",qs.slice(Ro,ds+1),pa,Ro-$i,pa,ds-$i],Ro=ds;break;default:Ai=qs.charCodeAt(Ro+1),Xs===$s&&Ai===Tt?(ds=Ro,nd(),ue=qs.slice(Ro,ds+1),au=ue.split(`\n`),Du=au.length-1,Du>0?(Ei=pa+Du,Gr=ds-au[Du].length):(Ei=pa,Gr=$i),Mr=[\"word\",ue,pa,Ro-$i,Ei,ds-Gr],$i=Gr,pa=Ei,Ro=ds):Xs===xt&&Ai===Bt?(ds=qs.indexOf(\"*/\",Ro+2)+1,ds===0&&(cs?ds=qs.length:fu(\"comment\")),ue=qs.slice(Ro,ds+1),au=ue.split(`\n`),Du=au.length-1,Du>0?(Ei=pa+Du,Gr=ds-au[Du].length):(Ei=pa,Gr=$i),Mr=[\"comment\",ue,pa,Ro-$i,Ei,ds-Gr],$i=Gr,pa=Ei,Ro=ds):Xs===xt&&Ai===xt?(Ma.lastIndex=Ro+1,Ma.test(qs),Ma.lastIndex===0?ds=qs.length-1:ds=Ma.lastIndex-2,ue=qs.slice(Ro,ds+1),Mr=[\"comment\",ue,pa,Ro-$i,pa,ds-$i,\"inline\"],Ro=ds):(Mo.lastIndex=Ro+1,Mo.test(qs),Mo.lastIndex===0?ds=qs.length-1:ds=Mo.lastIndex-2,Mr=[\"word\",qs.slice(Ro,ds+1),pa,Ro-$i,pa,ds-$i],td.push(Mr),Ro=ds);break}return Ro++,Mr}}function bc(Su){Bc.push(Su)}return{back:bc,nextToken:Hc,endOfFile:Wh}}}}),qr=Yt({\"node_modules/postcss-scss/lib/scss-parser.js\"(K,nt){ni();function Ue(lt,Et){lt.prototype=Object.create(Et.prototype),lt.prototype.constructor=lt,lt.__proto__=Et}var qe=ti(),Ye=Re(),xt=ct(),bt=xi(),wt=function(lt){Ue(Et,lt);function Et(){return lt.apply(this,arguments)||this}var Q=Et.prototype;return Q.createTokenizer=function(){this.tokenizer=bt(this.input)},Q.rule=function(W){for(var Je=!1,Oe=0,zt=\"\",Cn=W,Tt=Array.isArray(Cn),xn=0,Cn=Tt?Cn:Cn[Symbol.iterator]();;){var Bt;if(Tt){if(xn>=Cn.length)break;Bt=Cn[xn++]}else{if(xn=Cn.next(),xn.done)break;Bt=xn.value}var yi=Bt;if(Je)yi[0]!==\"comment\"&&yi[0]!==\"{\"&&(zt+=yi[1]);else{if(yi[0]===\"space\"&&yi[1].indexOf(`\n`)!==-1)break;yi[0]===\"(\"?Oe+=1:yi[0]===\")\"?Oe-=1:Oe===0&&yi[0]===\":\"&&(Je=!0)}}if(!Je||zt.trim()===\"\"||/^[a-zA-Z-:#]/.test(zt))lt.prototype.rule.call(this,W);else{W.pop();var Oi=new xt;this.init(Oi);var Qi=W[W.length-1];for(Qi[4]?Oi.source.end={line:Qi[4],column:Qi[5]}:Oi.source.end={line:Qi[2],column:Qi[3]};W[0][0]!==\"word\";)Oi.raws.before+=W.shift()[1];for(Oi.source.start={line:W[0][2],column:W[0][3]},Oi.prop=\"\";W.length;){var $s=W[0][0];if($s===\":\"||$s===\"space\"||$s===\"comment\")break;Oi.prop+=W.shift()[1]}Oi.raws.between=\"\";for(var vo;W.length;)if(vo=W.shift(),vo[0]===\":\"){Oi.raws.between+=vo[1];break}else Oi.raws.between+=vo[1];(Oi.prop[0]===\"_\"||Oi.prop[0]===\"*\")&&(Oi.raws.before+=Oi.prop[0],Oi.prop=Oi.prop.slice(1)),Oi.raws.between+=this.spacesAndCommentsFromStart(W),this.precheckMissedSemicolon(W);for(var Mo=W.length-1;Mo>0;Mo--){if(vo=W[Mo],vo[1]===\"!important\"){Oi.important=!0;var Ea=this.stringFrom(W,Mo);Ea=this.spacesFromEnd(W)+Ea,Ea!==\" !important\"&&(Oi.raws.important=Ea);break}else if(vo[1]===\"important\"){for(var Ca=W.slice(0),Ma=\"\",Yo=Mo;Yo>0;Yo--){var Oa=Ca[Yo][0];if(Ma.trim().indexOf(\"!\")===0&&Oa!==\"space\")break;Ma=Ca.pop()[1]+Ma}Ma.trim().indexOf(\"!\")===0&&(Oi.important=!0,Oi.raws.important=Ma,W=Ca)}if(vo[0]!==\"space\"&&vo[0]!==\"comment\")break}this.raw(Oi,\"value\",W),Oi.value.indexOf(\":\")!==-1&&this.checkMissedSemicolon(W),this.current=Oi}},Q.comment=function(W){if(W[6]===\"inline\"){var Je=new qe;this.init(Je,W[2],W[3]),Je.raws.inline=!0,Je.source.end={line:W[4],column:W[5]};var Oe=W[1].slice(2);if(/^\\s*$/.test(Oe))Je.text=\"\",Je.raws.left=Oe,Je.raws.right=\"\";else{var zt=Oe.match(/^(\\s*)([^]*[^\\s])(\\s*)$/),Tt=zt[2].replace(/(\\*\\/|\\/\\*)/g,\"*//*\");Je.text=Tt,Je.raws.left=zt[1],Je.raws.right=zt[3],Je.raws.text=zt[2]}}else lt.prototype.comment.call(this,W)},Q.raw=function(W,Je,Oe){if(lt.prototype.raw.call(this,W,Je,Oe),W.raws[Je]){var zt=W.raws[Je].raw;W.raws[Je].raw=Oe.reduce(function(Tt,xn){if(xn[0]===\"comment\"&&xn[6]===\"inline\"){var Cn=xn[1].slice(2).replace(/(\\*\\/|\\/\\*)/g,\"*//*\");return Tt+\"/*\"+Cn+\"*/\"}else return Tt+xn[1]},\"\"),zt!==W.raws[Je].raw&&(W.raws[Je].scss=zt)}},Et}(Ye);nt.exports=wt}}),xr=Yt({\"node_modules/postcss-scss/lib/scss-parse.js\"(K,nt){ni();var Ue=Ti(),qe=qr();nt.exports=function(Ye,xt){var bt=new Ue(Ye,xt),wt=new qe(bt);return wt.parse(),wt.root}}}),Bs=Yt({\"node_modules/postcss-scss/lib/scss-syntax.js\"(K,nt){ni();var Ue=Vi(),qe=xr();nt.exports={parse:qe,stringify:Ue}}});ni();var Mi=us(),ms=ks(),Ks=Us(),{hasPragma:is}=Ha(),{locStart:Ms,locEnd:to}=mu(),{calculateLoc:Lo,replaceQuotesInInlineComments:ji}=mu(),jr=Zc(),ss=Ku(),Jo=Pd(),da=qu(),ha=Yu(),cc=xc(),Ou=Vc(),Xu=ep(),Bd=K=>{for(;K.parent;)K=K.parent;return K};function ip(K,nt){let{nodes:Ue}=K,qe={open:null,close:null,groups:[],type:\"paren_group\"},Ye=[qe],xt=qe,bt={groups:[],type:\"comma_group\"},wt=[bt];for(let lt=0;lt<Ue.length;++lt){let Et=Ue[lt];if(da(nt.parser,Et.value)&&Et.type===\"number\"&&Et.unit===\"..\"&&ms(Et.value)===\".\"&&(Et.value=Et.value.slice(0,-1),Et.unit=\"...\"),Et.type===\"func\"&&Et.value===\"selector\"&&(Et.group.groups=[pu(Bd(K).text.slice(Et.group.open.sourceIndex+1,Et.group.close.sourceIndex))]),Et.type===\"func\"&&Et.value===\"url\"){let Q=Et.group&&Et.group.groups||[],W=[];for(let Je=0;Je<Q.length;Je++){let Oe=Q[Je];Oe.type===\"comma_group\"?W=[...W,...Oe.groups]:W.push(Oe)}if(jr(W)||!ss(W)&&!cc(W[0])){let Je=Ou({groups:Et.group.groups});Et.group.groups=[Je.trim()]}}if(Et.type===\"paren\"&&Et.value===\"(\")qe={open:Et,close:null,groups:[],type:\"paren_group\"},Ye.push(qe),bt={groups:[],type:\"comma_group\"},wt.push(bt);else if(Et.type===\"paren\"&&Et.value===\")\"){if(bt.groups.length>0&&qe.groups.push(bt),qe.close=Et,wt.length===1)throw new Error(\"Unbalanced parenthesis\");wt.pop(),bt=ms(wt),bt.groups.push(qe),Ye.pop(),qe=ms(Ye)}else Et.type===\"comma\"?(qe.groups.push(bt),bt={groups:[],type:\"comma_group\"},wt[wt.length-1]=bt):bt.groups.push(Et)}return bt.groups.length>0&&qe.groups.push(bt),xt}function zp(K){return K.type===\"paren_group\"&&!K.open&&!K.close&&K.groups.length===1||K.type===\"comma_group\"&&K.groups.length===1?zp(K.groups[0]):K.type===\"paren_group\"||K.type===\"comma_group\"?Object.assign(Object.assign({},K),{},{groups:K.groups.map(zp)}):K}function Kr(K,nt,Ue){if(K&&typeof K==\"object\"){delete K.parent;for(let qe in K)Kr(K[qe],nt,Ue),qe===\"type\"&&typeof K[qe]==\"string\"&&!K[qe].startsWith(nt)&&(!Ue||!Ue.test(K[qe]))&&(K[qe]=nt+K[qe])}return K}function so(K){if(K&&typeof K==\"object\"){delete K.parent;for(let nt in K)so(K[nt]);!Array.isArray(K)&&K.value&&!K.type&&(K.type=\"unknown\")}return K}function xa(K,nt){if(K&&typeof K==\"object\"){for(let Ue in K)Ue!==\"parent\"&&(xa(K[Ue],nt),Ue===\"nodes\"&&(K.group=zp(ip(K,nt)),delete K[Ue]));delete K.parent}return K}function Wa(K,nt){let Ue=Sa(),qe=null;try{qe=Ue(K,{loose:!0}).parse()}catch{return{type:\"value-unknown\",value:K}}qe.text=K;let Ye=xa(qe,nt);return Kr(Ye,\"value-\",/^selector-/)}function pu(K){if(/\\/\\/|\\/\\*/.test(K))return{type:\"selector-unknown\",value:K.trim()};let nt=fy(),Ue=null;try{nt(qe=>{Ue=qe}).process(K)}catch{return{type:\"selector-unknown\",value:K}}return Kr(Ue,\"selector-\")}function yc(K){let nt=Pb().default,Ue=null;try{Ue=nt(K)}catch{return{type:\"selector-unknown\",value:K}}return Kr(so(Ue),\"media-\")}var Df=/(\\s*)(!default).*$/,jh=/(\\s*)(!global).*$/;function Qu(K,nt){if(K&&typeof K==\"object\"){delete K.parent;for(let lt in K)Qu(K[lt],nt);if(!K.type)return K;K.raws||(K.raws={});let xt=\"\";if(typeof K.selector==\"string\"){var Ue;xt=K.raws.selector?(Ue=K.raws.selector.scss)!==null&&Ue!==void 0?Ue:K.raws.selector.raw:K.selector,K.raws.between&&K.raws.between.trim().length>0&&(xt+=K.raws.between),K.raws.selector=xt}let bt=\"\";if(typeof K.value==\"string\"){var qe;bt=K.raws.value?(qe=K.raws.value.scss)!==null&&qe!==void 0?qe:K.raws.value.raw:K.value,bt=bt.trim(),K.raws.value=bt}let wt=\"\";if(typeof K.params==\"string\"){var Ye;wt=K.raws.params?(Ye=K.raws.params.scss)!==null&&Ye!==void 0?Ye:K.raws.params.raw:K.params,K.raws.afterName&&K.raws.afterName.trim().length>0&&(wt=K.raws.afterName+wt),K.raws.between&&K.raws.between.trim().length>0&&(wt=wt+K.raws.between),wt=wt.trim(),K.raws.params=wt}if(xt.trim().length>0)return xt.startsWith(\"@\")&&xt.endsWith(\":\")?K:K.mixin?(K.selector=Wa(xt,nt),K):(ha(K)&&(K.isSCSSNesterProperty=!0),K.selector=pu(xt),K);if(bt.length>0){let lt=bt.match(Df);lt&&(bt=bt.slice(0,lt.index),K.scssDefault=!0,lt[0].trim()!==\"!default\"&&(K.raws.scssDefault=lt[0]));let Et=bt.match(jh);if(Et&&(bt=bt.slice(0,Et.index),K.scssGlobal=!0,Et[0].trim()!==\"!global\"&&(K.raws.scssGlobal=Et[0])),bt.startsWith(\"progid:\"))return{type:\"value-unknown\",value:bt};K.value=Wa(bt,nt)}if(Jo(nt)&&K.type===\"css-decl\"&&bt.startsWith(\"extend(\")&&(K.extend||(K.extend=K.raws.between===\":\"),K.extend&&!K.selector&&(delete K.value,K.selector=pu(bt.slice(7,-1)))),K.type===\"css-atrule\"){if(Jo(nt)){if(K.mixin){let lt=K.raws.identifier+K.name+K.raws.afterName+K.raws.params;return K.selector=pu(lt),delete K.params,K}if(K.function)return K}if(nt.parser===\"css\"&&K.name===\"custom-selector\"){let lt=K.params.match(/:--\\S+\\s+/)[0].trim();return K.customSelector=lt,K.selector=pu(K.params.slice(lt.length).trim()),delete K.params,K}if(Jo(nt)){if(K.name.includes(\":\")&&!K.params){K.variable=!0;let lt=K.name.split(\":\");K.name=lt[0],K.value=Wa(lt.slice(1).join(\":\"),nt)}if(![\"page\",\"nest\",\"keyframes\"].includes(K.name)&&K.params&&K.params[0]===\":\"){K.variable=!0;let lt=K.params.slice(1);lt&&(K.value=Wa(lt,nt)),K.raws.afterName+=\":\"}if(K.variable)return delete K.params,K.value||delete K.value,K}}if(K.type===\"css-atrule\"&&wt.length>0){let{name:lt}=K,Et=K.name.toLowerCase();return lt===\"warn\"||lt===\"error\"?(K.params={type:\"media-unknown\",value:wt},K):lt===\"extend\"||lt===\"nest\"?(K.selector=pu(wt),delete K.params,K):lt===\"at-root\"?(/^\\(\\s*(?:without|with)\\s*:.+\\)$/s.test(wt)?K.params=Wa(wt,nt):(K.selector=pu(wt),delete K.params),K):Xu(Et)?(K.import=!0,delete K.filename,K.params=Wa(wt,nt),K):[\"namespace\",\"supports\",\"if\",\"else\",\"for\",\"each\",\"while\",\"debug\",\"mixin\",\"include\",\"function\",\"return\",\"define-mixin\",\"add-mixin\"].includes(lt)?(wt=wt.replace(/(\\$\\S+?)(\\s+)?\\.{3}/,\"$1...$2\"),wt=wt.replace(/^(?!if)(\\S+)(\\s+)\\(/,\"$1($2\"),K.value=Wa(wt,nt),delete K.params,K):[\"media\",\"custom-media\"].includes(Et)?wt.includes(\"#{\")?{type:\"media-unknown\",value:wt}:(K.params=yc(wt),K):(K.params=wt,K)}}return K}function Up(K,nt,Ue){let qe=Ks(nt),{frontMatter:Ye}=qe;nt=qe.content;let xt;try{xt=K(nt)}catch(bt){let{name:wt,reason:lt,line:Et,column:Q}=bt;throw typeof Et!=\"number\"?bt:Mi(`${wt}: ${lt}`,{start:{line:Et,column:Q}})}return xt=Qu(Kr(xt,\"css-\"),Ue),Lo(xt,nt),Ye&&(Ye.source={startOffset:0,endOffset:Ye.raw.length},xt.nodes.unshift(Ye)),xt}function Om(K,nt){let Ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},qe=da(Ue.parser,K)?[$f,xp]:[xp,$f],Ye;for(let xt of qe)try{return xt(K,nt,Ue)}catch(bt){Ye=Ye||bt}if(Ye)throw Ye}function xp(K,nt){let Ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},qe=Ut();return Up(Ye=>qe.parse(ji(Ye)),K,Ue)}function $f(K,nt){let Ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{parse:qe}=Bs();return Up(qe,K,Ue)}var D_={astFormat:\"postcss\",hasPragma:is,locStart:Ms,locEnd:to};Dr.exports={parsers:{css:Object.assign(Object.assign({},D_),{},{parse:Om}),less:Object.assign(Object.assign({},D_),{},{parse:xp}),scss:Object.assign(Object.assign({},D_),{},{parse:$f})}}});return ua()})})(bge);var BJe=BE(bge.exports);function jJe(o){return FJe.format(o,{parser:\"markdown\",plugins:[PJe,OJe,MJe,RJe,BJe],semi:!1})}class WJe{constructor(e=\"prettier.formatter\"){this.id=e}activate(e){e.addAction({id:this.id,label:\"Format With Prettier\",keybindings:[pp.CtrlCmd|pp.Shift|Pp.KeyF],contextMenuGroupId:\"navigation\",run(t){const n=t.getModel();if(!n)return;const i=t.getValue();t.executeEdits(this.id,[{range:n.getFullModelRange(),text:jJe(i)}])}})}}const fP=class{activate(){var e;(e=fP._disposiable)==null||e.dispose(),fP._disposiable=cf.registerHoverProvider(\"markdown\",{provideHover(t,n){var l,u;const i=t.findMatches(\"!\\\\[(.*?)\\\\]\\\\((.*?)\\\\)\",!1,!0,!1,null,!0).filter(d=>d.range.containsPosition(n))[0],s=(l=i==null?void 0:i.matches)==null?void 0:l[0],a=(u=i==null?void 0:i.matches)==null?void 0:u[2];return!s||!a?null:{range:i.range,contents:[{value:`[${s}](${a})`}]}}})}};let L8=fP;cl(L8,\"_disposiable\");const xle={theme:\"hexon\",language:\"markdown\",folding:!1,readOnly:!1,roundedSelection:!0,minimap:{enabled:!1},occurrencesHighlight:!1,wordBasedSuggestions:!1,hideCursorInOverviewRuler:!0,automaticLayout:!0,overviewRulerBorder:!1,renderLineHighlight:\"none\",scrollbar:{horizontalScrollbarSize:10,verticalScrollbarSize:10,useShadows:!1},fontSize:14,lineHeight:18,wordWrap:\"on\",lineNumbers:\"off\",cursorBlinking:\"smooth\",fontFamily:\"PingFang SC,-apple-system,SF UI Text,Lucida Grande,STheiti,Microsoft YaHei,sans-serif\",contextmenu:!0};function N2(o){return o.slice(1)}function VJe(){const o=aEe(),e=lEe(()=>({base:o.value.isDark?\"vs-dark\":\"vs\",inherit:!0,rules:[{foreground:N2(o.value.textColorSecondary),token:\"comment.content.md\"},{foreground:N2(o.value.textColorSecondary),token:\"comment.md\"},{foreground:N2(o.value.textColorPrimary),token:\"string.md\"},{foreground:N2(o.value.colorPrimary),token:\"string.link.md\",fontStyle:\"blod\"},{foreground:N2(o.value.colorPrimary),token:\"keyword.md\"},{foreground:N2(o.value.colorPrimary),token:\"keyword\"},{foreground:N2(o.value.colorPrimary),fontStyle:\"bold\",token:\"variable.md\"}],colors:{\"editor.foreground\":o.value.textColorPrimary,\"editor.background\":o.value.backgroundColorPrimary,\"editorCursor.foreground\":o.value.colorPrimary,\"editor.selectionBackground\":o.value.isDark?\"#ffffff35\":\"#00000015\"}})),t=()=>{vm.defineTheme(\"hexon\",e.value)};U5(()=>e.value,()=>{t()},{immediate:!0,deep:!0})}const HJe={class:\"h-monaco-editor\"},$Je=uEe({__name:\"HMonacoEditor\",props:{value:{},id:{},fontFamily:{}},emits:[\"update:value\",\"on-save\"],setup(o,{emit:e}){const t=o,n=e,i=cEe();let s;function a(){const u=vm.createModel(t.value,\"markdown\");s.setModel(u)}function l(){var p;s=vm.create(i.value,{...xle,fontFamily:(p=t.fontFamily)!=null?p:xle.fontFamily}),new IJe().activate(s),new WJe().activate(s),new L8().activate(),a(),s.onDidChangeModelContent(()=>{const g=s.getValue();n(\"update:value\",g)}),s.addAction({id:\"hexon.save\",label:\"Save Changes\",keybindings:[pp.CtrlCmd|Pp.KeyS],run(){n(\"on-save\")}})}return dEe(()=>{l()}),U5(()=>t.fontFamily,()=>{s.dispose(),l()}),hEe(()=>{s.dispose()}),U5(()=>t.id,()=>{a()}),U5(()=>t.value,()=>{s.getValue()!==t.value&&s.setValue(t.value)}),VJe(),(u,d)=>(pEe(),fEe(\"div\",HJe,[_Ee(\"div\",{class:\"instance w-full h-full overflow-hidden\",ref_key:\"dom\",ref:i},null,512)]))}});var HXe=Object.freeze(Object.defineProperty({__proto__:null,default:$Je},Symbol.toStringTag,{value:\"Module\"}));export{HXe as H,m4 as m,mpe as t};\n"
  },
  {
    "path": "client/dist/assets/HPopover.d0eeed1b.js",
    "content": "import{r as f,w as p,j as v,Y as E,Z as P,$ as S,d as z,B as H,m as L,a0 as N,a1 as V,a2 as I,C as M,c as O,o as g,z as T,g as Y,h as j,b as _,f as A,k as y,i as m,O as F,a3 as U,a4 as X,_ as Z,a5 as q}from\"./index.becaf6b8.js\";function D(l,e,t){let a=0,o=0,s={top:0,left:0,bottom:0,right:0};switch(l){case\"top-left\":a=e.left,o=e.top-t.height,s.bottom=4;break;case\"top\":a=e.left+e.width/2-t.width/2,o=e.top-t.height,s.bottom=4;break;case\"top-right\":a=e.left+e.width-t.width,o=e.top-t.height,s.bottom=4;break;case\"right-top\":a=e.left+e.width,o=e.top,s.left=4;break;case\"right\":a=e.left+e.width,o=e.top+e.height/2-t.height/2,s.left=4;break;case\"right-bottom\":a=e.left+e.width,o=e.top+e.height-t.height,s.left=4;break;case\"bottom-left\":a=e.left,o=e.top+e.height,s.top=4;break;case\"bottom\":a=e.left+e.width/2-t.width/2,o=e.top+e.height,s.top=4;break;case\"bottom-right\":a=e.left+e.width-t.width,o=e.top+e.height,s.top=4;break;case\"left-top\":a=e.left-t.width,o=e.top,s.right=4;break;case\"left\":a=e.left-t.width,o=e.top+e.height/2-t.height/2,s.right=4;break;case\"left-bottom\":a=e.left-t.width,o=e.top+e.height-t.height,s.right=4;break}return{x:a,y:o,margin:s}}function x(l){const e=f({left:0,top:0,height:0,width:0});return G(l,e),J(l,e),K(l,e),e}function G(l,e){p(()=>v(l),t=>{!t||(e.value=w(t))},{immediate:!0})}function J(l,e){E(l,()=>{!l.value||(e.value=w(l.value))})}function K(l,e){const t=new Map,a=()=>{for(const[,o]of t)o();t.clear()};p(()=>v(l.value),o=>{if(a(),!o)return;const s=new Set;let u=o;for(;u=P(u),u!==null;)s.add(u);for(const i of[...s,window]){const h=()=>{!l.value||(e.value=w(l.value))};i.addEventListener(\"resize\",h),t.set(h,()=>{i.removeEventListener(\"resize\",h)})}},{immediate:!0}),S(()=>{a()})}function w(l){const{left:e,top:t,height:a,width:o}=l.getBoundingClientRect();return{left:e,top:t,height:a,width:o}}const Q=z({__name:\"HPopover\",props:{show:{type:Boolean,default:!1},position:{default:\"top\"},persistent:{type:Boolean,default:!1},trigger:{default:\"click\"},raw:{type:Boolean,default:!1},duration:{}},emits:[\"update:show\"],setup(l,{emit:e}){const t=l,a=e,{show:o}=H(t),s=f(!1);p(()=>o.value,r=>{s.value=r}),p(()=>s.value,r=>{a(\"update:show\",r)});const u=q(),i=f(null),h=f(null);L(()=>{var r;i.value=(r=u==null?void 0:u.proxy)==null?void 0:r.$el.parentNode}),N(i,\"click\",()=>{s.value=!s.value});const $=V(i);p(()=>$.value,r=>{t.trigger===\"hover\"&&(s.value=r)});const B=x(i),C=x(h);I(h,()=>{s.value&&!t.persistent&&(s.value=!1)});const n=M(),b=O(()=>{const{x:r,y:k,margin:d}=D(t.position,B.value,C.value);return{outer:{transform:`translateX(${r}px) translateY(${k}px)`},inner:{margin:`${d.top}px ${d.right}px ${d.bottom}px ${d.left}px`}}});return(r,k)=>(g(),T(X,{to:\"body\"},[Y(U,{duration:r.duration},{default:j(()=>[s.value?(g(),_(\"div\",{key:0,class:\"popover\",ref_key:\"contentElRef\",ref:h,style:m(b.value.outer)},[A(\"div\",{style:m(b.value.inner)},[r.raw?y(r.$slots,\"default\",{key:0},void 0,!0):(g(),_(\"div\",{key:1,class:\"p-1 rounded-md text-sm\",style:m({backgroundColor:v(n).backgroundColorPop,color:v(n).textColorPop})},[y(r.$slots,\"default\",{},void 0,!0)],4))],4)],4)):F(\"\",!0)]),_:3},8,[\"duration\"])]))}});var c=Z(Q,[[\"__scopeId\",\"data-v-051adf87\"]]);export{c as H};\n"
  },
  {
    "path": "client/dist/assets/HPopover.f93dedac.css",
    "content": ".popover[data-v-051adf87]{position:fixed;left:0;top:0;display:flow-root}\n"
  },
  {
    "path": "client/dist/assets/HSettingsModal.b6bd3c3a.js",
    "content": "import t from\"./SettingsView.49df3ee8.js\";import{d as a,o as n,z as c,h as r,f as p,g as i,j as o,A as m}from\"./index.becaf6b8.js\";import\"./HPopover.d0eeed1b.js\";import\"./HToggle.5d828612.js\";import\"./logo.0fab0ac6.js\";const _={class:\"modal-panel\"},B=a({__name:\"HSettingsModal\",props:{close:{type:Function}},setup(e){const s=e;return(l,d)=>(n(),c(o(m),{onOnClose:s.close},{default:r(()=>[p(\"div\",_,[i(o(t))])]),_:1},8,[\"onOnClose\"]))}});export{B as default};\n"
  },
  {
    "path": "client/dist/assets/HToggle.5d828612.js",
    "content": "import{d as _,B as h,r as x,w as c,a as C,c as b,C as k,o as w,z as T,h as u,f as s,g as V,n as l,i,j as o,T as B,e as j,v as H,H as N}from\"./index.becaf6b8.js\";const S=_({__name:\"HToggle\",props:{active:{type:Boolean}},emits:[\"update:active\"],setup(d,{emit:v}){const r=d,p=v,{active:m}=h(r),e=x(r.active);c(()=>m.value,a=>{e.value=a}),c(()=>e.value,a=>{p(\"update:active\",a)});const{classNames:f}=C(\"h-toggle\"),g=b(()=>e.value?t.value.colorPrimary:t.value.textColorSecondary),t=k();return(a,n)=>(w(),T(o(N),null,{default:u(()=>[s(\"label\",{class:l([o(f),\"inline-flex flex-col justify-center\"]),style:{height:\"30px\"}},[V(B,{tag:\"div\",name:\"toggle\",class:l([\"cursor-pointer select-none rounded-full relative flex items-center h-5 w-10\",{\"justify-end\":e.value,\"justify-start\":!e.value}]),style:i([{padding:\"0 3px\"},{backgroundColor:o(t).backgroundColorTertiary}])},{default:u(()=>[s(\"div\",{key:\"dot\",class:l([\"absolute rounded-full h-3.5 w-3.5\",{\"opacity-50\":!e.value}]),style:i({backgroundColor:g.value})},null,6)]),_:1},8,[\"class\",\"style\"]),j(s(\"input\",{\"onUpdate:modelValue\":n[0]||(n[0]=y=>e.value=y),type:\"checkbox\",class:\"absolute w-0 h-0\"},null,512),[[H,e.value]])],2)]),_:1}))}});export{S as _};\n"
  },
  {
    "path": "client/dist/assets/HToggle.c1b32eab.css",
    "content": ".toggle-move{transition:all .2s ease}\n"
  },
  {
    "path": "client/dist/assets/SettingsView.49df3ee8.js",
    "content": "import{d as x,D as I,C as V,o as v,z as $,h as y,g as r,j as e,l as b,E as B,G as L,f as l,I as M,r as w,c as h,b as g,p as F,q as k,s as E,J as O,y as X,K as z,L as Y,M as A,w as T,N as G,i as C,F as j,O as W,P as q,Q as J,R,t as H,S as D,k as P,T as K,U as S,V as Q,W as U,X as Z}from\"./index.becaf6b8.js\";import{H as ee}from\"./HPopover.d0eeed1b.js\";import{_ as te}from\"./HToggle.5d828612.js\";import{l as se}from\"./logo.0fab0ac6.js\";const oe=l(\"span\",{class:\"text-sm font-bold\"},\"\\u9000\\u51FA\\u767B\\u5F55\",-1),ne=l(\"div\",{class:\"flex-1\"},null,-1),ae=x({__name:\"SignoutButton\",setup(d){I(o=>({\"0980e35f\":e(t).colorPrimary,\"547d5674\":e(t).colorWhite,\"2e478dc6\":e(t).colorPrimaryHover,\"260f0b45\":e(t).colorPrimaryActive}));const t=V(),s=async()=>M();return(o,a)=>(v(),$(L,{class:\"signout-button cursor-pointer px-5\",onClick:s},{default:y(()=>[oe,ne,r(e(B),{name:e(b).PowerButton},null,8,[\"name\"])]),_:1}))}}),re={class:\"mt-2\"},le=l(\"div\",{class:\"text-xs max-w-sm\"},[k(\" \\u8FD0\\u884C \"),l(\"span\",{class:\"font-mono\"},\"pnpm resetpwd\"),k(\" \\u91CD\\u7F6E\\u5BC6\\u7801 \")],-1),ue=x({__name:\"HChangePasswordForm\",emits:[\"change-password\"],setup(d,{emit:t}){const s=t,o=w(\"\"),a=w(\"\"),n=w(\"\"),u=h(()=>a.value===n.value),c=h(()=>n.value?u.value?\"\":\"\\u4E24\\u6B21\\u5BC6\\u7801\\u4E0D\\u540C\":\"\"),i=h(()=>!!c.value||!o.value||!a.value||!n.value),_=()=>s(\"change-password\",{oldPassword:o.value,newPassword:a.value});return(p,f)=>(v(),g(\"div\",null,[r(e(F),{\"attr-type\":\"password\",placeholder:\"\\u65E7\\u5BC6\\u7801\",type:\"secondary\",modelValue:o.value,\"onUpdate:modelValue\":f[0]||(f[0]=m=>o.value=m),error:\"\"},{prefix:y(()=>[r(e(B),{name:e(b).Lock},null,8,[\"name\"])]),_:1},8,[\"modelValue\"]),r(e(F),{\"attr-type\":\"password\",placeholder:\"\\u65B0\\u5BC6\\u7801\",type:\"secondary\",modelValue:a.value,\"onUpdate:modelValue\":f[1]||(f[1]=m=>a.value=m),error:c.value},{prefix:y(()=>[r(e(B),{name:e(b).Lock},null,8,[\"name\"])]),_:1},8,[\"modelValue\",\"error\"]),r(e(F),{\"attr-type\":\"password\",placeholder:\"\\u91CD\\u590D\\u65B0\\u5BC6\\u7801\",type:\"secondary\",modelValue:n.value,\"onUpdate:modelValue\":f[2]||(f[2]=m=>n.value=m),error:c.value},{prefix:y(()=>[r(e(B),{name:e(b).Lock},null,8,[\"name\"])]),_:1},8,[\"modelValue\",\"error\"]),l(\"div\",re,[r(e(E),{class:\"mr-2\",disabled:i.value,onClick:_},{default:y(()=>[k(\" \\u66F4\\u6539\\u5BC6\\u7801 \")]),_:1},8,[\"disabled\"]),r(e(E),{inverted:\"\"},{default:y(()=>[k(\" \\u5FD8\\u8BB0\\u5BC6\\u7801 \"),r(e(ee),{position:\"bottom-left\"},{default:y(()=>[le]),_:1})]),_:1})])]))}}),ie={class:\"flex\"},ce=x({__name:\"HChangeUsernameForm\",emits:[\"change-username\"],setup(d,{emit:t}){const s=t,o=w(\"\"),a=h(()=>!o.value),n=()=>s(\"change-username\",o.value);return(u,c)=>(v(),g(\"div\",ie,[r(e(F),{class:\"flex-1\",placeholder:\"\\u65E7\\u5BC6\\u7801\",type:\"secondary\",modelValue:o.value,\"onUpdate:modelValue\":c[0]||(c[0]=i=>o.value=i)},{prefix:y(()=>[r(e(B),{name:e(b).Contact},null,8,[\"name\"])]),_:1},8,[\"modelValue\"]),r(e(E),{class:\"ml-2\",disabled:a.value,onClick:n},{default:y(()=>[k(\"\\u4FDD\\u5B58\")]),_:1},8,[\"disabled\"])]))}}),de={class:\"w-72\"},pe=x({__name:\"UserView\",setup(d){const t=O(),s=X(),o=n=>{s.changePassword(n)},a=n=>{Y(n).then(()=>{t.notify({type:\"success\",title:\"\\u7528\\u6237\\u540D\\u4FEE\\u6539\\u6210\\u529F\"}),s.getUsername()},u=>{t.notify({title:\"\\u7528\\u6237\\u540D\\u4FEE\\u6539\\u5931\\u8D25\",desc:u.message,type:\"error\",duration:5e3})})};return(n,u)=>(v(),g(\"div\",de,[r(ce,{onChangeUsername:a}),r(z,{class:\"my-4\"}),r(ue,{onChangePassword:o})]))}}),me={class:\"\"},ve=x({__name:\"StyleView\",setup(d){const t=A(),s=w(t.settings.ui.editor.fontFamily);T(()=>t.settings.ui.editor.fontFamily,i=>{s.value=i});const o=()=>{t.settings.ui.editor.fontFamily=s.value,t.save().then(()=>{q.notify({type:\"success\",title:\"\\u8BBE\\u7F6E\\u5DF2\\u4FDD\\u5B58\"})})},a=V(),n=G(),u=i=>{i?n.setTheme(J):n.setTheme(R)},c=!1;return(i,_)=>(v(),g(\"div\",me,[l(\"div\",{class:\"text-lg mb-2\",style:C({color:e(a).textColorPrimary})},\" \\u7F16\\u8F91\\u5668 \",4),l(\"div\",{class:\"mb-2\",style:C({color:e(a).textColorSecondary})},\"\\u5B57\\u4F53\",4),r(e(F),{class:\"w-full font-mono\",type:\"secondary\",modelValue:s.value,\"onUpdate:modelValue\":_[0]||(_[0]=p=>s.value=p)},null,8,[\"modelValue\"]),e(c)?(v(),g(j,{key:0},[l(\"div\",{class:\"text-lg my-2\",style:C({color:e(a).textColorPrimary})},\" \\u989C\\u8272 \",4),l(\"div\",{class:\"mb-2\",style:C({color:e(a).textColorSecondary})},\" \\u6697\\u9ED1\\u6A21\\u5F0F \",4),l(\"div\",null,[r(e(te),{active:e(a).isDark,\"onUpdate:active\":_[1]||(_[1]=p=>u(p))},null,8,[\"active\"])])],64)):W(\"\",!0),r(e(E),{class:\"mt-8\",onClick:o},{default:y(()=>[k(\"\\u4FDD\\u5B58\")]),_:1})]))}}),_e=\"hexon\",fe=\"1.0.0\",ye=\"winwin2011 <yjh2011@live.com>\",he=\"GPL-3.0\",ge={release:\"standard-version --releaseCommitMessageFormat='chore: release v{{currentTag}}' && pnpm build && git add . && git commit -m 'chore: build released'\",prerelease:\"standard-version --releaseCommitMessageFormat='chore: release v{{currentTag}}' --prerelease && pnpm build && git add . && git commit -m 'chore: build released'\",build:\"pnpm -r exec npm run build\",setup:\"pnpm install -P && cd ./server-scripts && node ./bin/index.js install\",script:\"cd ./server-scripts && node ./bin/index.js script\",resetpwd:\"cd ./server-scripts && node ./bin/index.js resetpwd\",start:\"cd ./server && pnpm start\",prd:\"cd ./server && pnpm prd\",\"dev-init\":\"pnpm install && pnpm run build && cd ./server-scripts && node ./bin/index.js install\",dev:\"concurrently -p [{name}] -n 'server,client' -c 'green.bold,blue.bold' 'cd ./server && pnpm dev' 'cd ./client && pnpm dev' \",\"test:fresh-install\":\"bash ./scripts/fresh_installation.test.sh\"},xe={\"@antfu/eslint-config\":\"^2.23.2\",\"@types/animejs\":\"^3.1.12\",\"@types/basic-auth\":\"^1.1.8\",\"@types/color\":\"^3.0.6\",\"@types/color-convert\":\"^2.0.3\",\"@types/crypto-js\":\"^4.2.2\",\"@types/debug\":\"^4.1.12\",\"@types/faker\":\"^6.6.9\",\"@types/hexo\":\"^3.8.12\",\"@types/http-errors\":\"^2.0.4\",\"@types/inquirer\":\"^8.2.10\",\"@types/jest\":\"^27.5.2\",\"@types/js-yaml\":\"^4.0.9\",\"@types/jsonwebtoken\":\"^8.5.9\",\"@types/koa\":\"^2.15.0\",\"@types/koa__cors\":\"^3.3.1\",\"@types/koa__router\":\"^8.0.11\",\"@types/koa-bodyparser\":\"^4.3.12\",\"@types/koa-compress\":\"^4.0.6\",\"@types/koa-logger\":\"^3.1.5\",\"@types/koa-mount\":\"^4.0.5\",\"@types/koa-router\":\"^7.4.8\",\"@types/koa-static\":\"^4.0.4\",\"@types/koa2-cors\":\"^2.0.5\",\"@types/lodash-es\":\"^4.17.12\",\"@types/node\":\"^17.0.45\",\"@types/uuid\":\"^8.3.4\",\"@types/ws\":\"^8.5.11\",\"@unocss/eslint-plugin\":\"^0.61.5\",\"@unocss/preset-attributify\":\"^0.33.5\",\"@unocss/preset-uno\":\"^0.33.5\",\"@unocss/reset\":\"^0.33.5\",\"@unocss/transformer-directives\":\"^0.33.5\",\"@vicons/fluent\":\"^0.12.0\",\"@vicons/utils\":\"^0.1.4\",\"@vitejs/plugin-vue\":\"^2.3.4\",\"@vue/compiler-sfc\":\"^3.4.34\",\"@vue/test-utils\":\"^2.4.6\",autoprefixer:\"^10.4.19\",\"babel-loader\":\"^8.3.0\",concurrently:\"^7.6.0\",esbuild:\"^0.14.54\",\"esbuild-plugin-node-externals\":\"^0.3.0\",eslint:\"^9.7.0\",faker:\"^6.6.6\",jest:\"^27.5.1\",jsdom:\"^19.0.0\",less:\"^4.2.0\",\"less-loader\":\"^10.2.0\",\"naive-ui\":\"^2.39.0\",nodemon:\"^2.0.22\",picocolors:\"^1.0.1\",postcss:\"^8.4.40\",prettier:\"^2.8.8\",rimraf:\"^3.0.2\",\"rollup-plugin-visualizer\":\"^5.12.0\",\"standard-version\":\"^9.5.0\",stylus:\"^0.57.0\",\"ts-jest\":\"^27.1.5\",\"tsconfig-paths\":\"^3.15.0\",typescript:\"^5.5.4\",unocss:\"^0.33.5\",vite:\"^2.9.18\",\"vite-plugin-pages\":\"^0.22.0\",\"vite-plugin-vue-layouts\":\"^0.6.0\",\"vue-tsc\":\"^2.0.28\"};var be={name:_e,version:fe,private:!0,author:ye,license:he,scripts:ge,devDependencies:xe};const we={class:\"absolute\"},Ce={flex:\"\",\"items-center\":\"\"},ke=[\"src\"],Be={flex:\"\",\"flex-col\":\"\"},Fe=l(\"span\",{\"text-5xl\":\"\"},\"Hexon\",-1),$e={\"ml-2\":\"\"},Ee=l(\"span\",{\"text-sm\":\"\",op50:\"\"},\"Made by winwin2011 with love.\",-1),Ve=x({__name:\"AboutView\",setup(d){const t=be.version;return(s,o)=>(v(),g(\"div\",we,[l(\"div\",Ce,[l(\"img\",{h20:\"\",src:e(se)},null,8,ke),l(\"div\",Be,[l(\"div\",null,[Fe,l(\"span\",$e,H(`v${e(t)}`),1)]),Ee])])]))}});function De(){const d=V(),t=[{type:\"item\",text:\"\\u7528\\u6237\",icon:b.Contact,color:d.value.colorSuccess,key:\"user\",comp:D(pe)},{type:\"item\",text:\"\\u6837\\u5F0F\",icon:b.OEM,color:d.value.colorWarning,key:\"style\",comp:D(ve)},{type:\"item\",text:\"\\u5173\\u4E8E\",icon:b.Info,color:d.value.textColorSecondary,key:\"about\",comp:D(Ve)}],s=h(()=>t.map((a,n)=>({idx:n,...a})));function o(a){return s.value.find(n=>n.key===a)}return{config:s,getConfig:o}}const Se=x({__name:\"TranslateTransitionGroup\",props:{direction:{},duration:{default:100}},setup(d){const t=d,s={up:{beforeEnter:{translateY:30},leave:{translateY:-30}},down:{beforeEnter:{translateY:-30},leave:{translateY:30}},left:{beforeEnter:{translateX:30},leave:{translateX:-30}},right:{beforeEnter:{translateX:-30},leave:{translateX:30}}};function o(u,c){S({targets:u,opacity:1,translateY:0,translateX:0,duration:t.duration,easing:\"easeInOutSine\",complete:c})}function a(u){S.set(u,{opacity:0,...s[t.direction].beforeEnter})}function n(u,c){S({targets:u,opacity:0,duration:t.duration,easing:\"easeInOutSine\",complete:c,...s[t.direction].leave})}return(u,c)=>(v(),$(K,{onEnter:o,onBeforeEnter:a,onLeave:n},{default:y(()=>[P(u.$slots,\"default\")]),_:3}))}}),Pe={class:\"relative w-full h-full overflow-hidden\"},Te=x({__name:\"HSlideView\",props:{current:{},model:{},horizontal:{type:Boolean,default:!1},reverted:{type:Boolean,default:!1}},emits:[\"update:current\"],setup(d,{emit:t}){const s=d,o=t,a=h(()=>s.model.map((p,f)=>({...p,idx:f}))),n=w(!1),u=w([]);T(()=>s.current,(p,f)=>{const m=a.value[p];!m||(u.value=[m],f!==void 0&&(n.value=p>f))},{immediate:!0});const c=p=>{o(\"update:current\",p)},i=h(()=>s.reverted?!n.value:n.value),_=h(()=>s.horizontal?i.value?\"left\":\"right\":i.value?\"up\":\"down\");return(p,f)=>(v(),g(\"div\",Pe,[r(Se,{direction:_.value,duration:200},{default:y(()=>[(v(!0),g(j,null,Q(u.value,m=>(v(),g(\"div\",{class:\"absolute w-full h-full overflow-hidden\",key:m.idx},[P(p.$slots,\"default\",{component:m.component,idx:m.idx,setCurrent:c},()=>[(v(),$(U(m.component),{idx:m.idx,setCurrent:c},null,8,[\"idx\"]))])]))),128))]),_:3},8,[\"direction\"])]))}}),je={class:\"p-8 w-full h-full overflow-auto\"},He={class:\"py-4 text-2xl mb-2\"},Ue=x({__name:\"SettingsTabContainer\",props:{title:{}},setup(d){return(t,s)=>(v(),g(\"div\",je,[l(\"div\",He,H(t.title),1),P(t.$slots,\"default\")]))}}),Ne=x({__name:\"TabSwitcher\",props:{current:{},model:{}},setup(d){const t=d,s=h(()=>t.model.map(o=>({key:o.key,component:o.comp})));return(o,a)=>(v(),$(Te,{model:s.value,current:o.current},{default:y(n=>[r(Ue,{title:o.model[n.idx].title},{default:y(()=>[(v(),$(U(n.component)))]),_:2},1032,[\"title\"])]),_:1},8,[\"model\",\"current\"]))}}),Ie={class:\"h-full w-full flex rounded-md overflow-hidden\"},Le={style:{flex:\"1 0 0\",\"overflow-y\":\"auto\"}},Me={class:\"pb-2 pl-4 pr-2\"},Ae=x({__name:\"SettingsView\",setup(d){const t=V(),s=w(0),{config:o,getConfig:a}=De(),n=h(()=>[{type:\"title\",label:\"\\u8BBE\\u7F6E\"},...o.value.map(({type:i,text:_,icon:p,color:f,key:m},N)=>({type:i,text:_,icon:p,color:f,key:m,selected:s.value===N}))]),u=i=>{switch(i){case\"user\":case\"style\":case\"about\":const _=a(i).idx;s.value=_;break}},c=h(()=>o.value.map(({key:i,text:_,comp:p})=>({key:i,title:_,comp:p})));return(i,_)=>(v(),g(\"div\",Ie,[l(\"div\",{class:\"w-48 flex-shrink-0 flex flex-col\",style:C({backgroundColor:e(t).backgroundColorTertiary})},[l(\"div\",Le,[l(\"div\",Me,[r(e(Z),{model:n.value,onOnSelect:u},null,8,[\"model\"])])]),r(ae)],4),l(\"div\",{class:\"flex-1 overflow-hidden relative\",style:C({backgroundColor:e(t).backgroundColorSecondary})},[r(Ne,{current:s.value,model:c.value},null,8,[\"current\",\"model\"])],4)]))}});export{Ae as default};\n"
  },
  {
    "path": "client/dist/assets/SettingsView.ac9e9c18.css",
    "content": ".signout-button{transition:background-color .2s;background-color:var(--0980e35f);color:var(--547d5674)}.signout-button:hover{background-color:var(--2e478dc6)}.signout-button:active{background-color:var(--260f0b45)}\n"
  },
  {
    "path": "client/dist/assets/_source_.0a6f257a.css",
    "content": ".h-slider{height:30px;display:flex;flex-direction:column;justify-content:center}.h-slider .rail{height:4px}.h-date-editor .content{height:30px;background-color:var(--57bdabfd);color:var(--57a4c17c)}.h-textarea textarea{resize:none}.item[data-v-094c07ec]{background-color:var(--964c4cbe)}.item[data-v-094c07ec]:hover{background-color:var(--763caff6)}\n"
  },
  {
    "path": "client/dist/assets/_source_.cd90784b.js",
    "content": "import{a9 as re,aa as ue,ab as Tt,ac as kt,ad as At,ae as Dt,af as ie,ag as Ce,ah as Et,ai as ze,aj as Z,ak as Ge,al as fe,am as Ke,an as Se,ao as Ft,ap as Ye,aq as ne,ar as We,as as St,at as Bt,au as jt,av as Mt,aw as It,ax as Ot,ay as Pt,az as Ht,d as H,C as R,aA as qe,o as b,z as N,h as v,g as o,q as x,j as l,s as D,aB as J,b as S,O as le,F as Y,E,l as F,G as Ut,f as g,r as A,c as k,w as O,V as X,t as U,aC as Je,p as we,a as $e,aD as Nt,a0 as me,m as Te,i as V,k as Lt,n as ke,K as ce,aE as se,D as Ze,aF as pe,e as Vt,aG as Rt,aH as ge,aI as Qe,J as zt,aJ as Xe,H as Gt,aK as et,aL as _e,aM as tt,_ as Kt,aN as Yt,aO as Wt,aP as de,aQ as qt,aR as Jt,aS as Zt,y as Qt,aT as Xt,M as ea,$ as ta,aU as aa,aV as W,a8 as Be,aW as na,aX as la,aY as sa,aZ as oa}from\"./index.becaf6b8.js\";import{H as ra}from\"./HPopover.d0eeed1b.js\";var ua=re(ue,\"WeakMap\"),ye=ua;function ia(){}function ca(e,n){for(var a=-1,r=e==null?0:e.length;++a<r&&n(e[a],a,e)!==!1;);return e}function da(e,n,a,r){for(var u=e.length,t=a+(r?1:-1);r?t--:++t<u;)if(n(e[t],t,e))return t;return-1}function va(e){return e!==e}function fa(e,n,a){for(var r=a-1,u=e.length;++r<u;)if(e[r]===n)return r;return-1}function ma(e,n,a){return n===n?fa(e,n,a):da(e,va,a)}function pa(e,n){var a=e==null?0:e.length;return!!a&&ma(e,n,0)>-1}var ga=Tt(Object.keys,Object),_a=ga,ya=Object.prototype,ha=ya.hasOwnProperty;function ba(e){if(!kt(e))return _a(e);var n=[];for(var a in Object(e))ha.call(e,a)&&a!=\"constructor\"&&n.push(a);return n}function Ae(e){return At(e)?Dt(e):ba(e)}function at(e,n){for(var a=-1,r=n.length,u=e.length;++a<r;)e[u+a]=n[a];return e}function xa(e,n){return e&&ie(n,Ae(n),e)}function Ca(e,n){return e&&ie(n,Ce(n),e)}function wa(e,n){for(var a=-1,r=e==null?0:e.length,u=0,t=[];++a<r;){var s=e[a];n(s,a,e)&&(t[u++]=s)}return t}function nt(){return[]}var $a=Object.prototype,Ta=$a.propertyIsEnumerable,je=Object.getOwnPropertySymbols,ka=je?function(e){return e==null?[]:(e=Object(e),wa(je(e),function(n){return Ta.call(e,n)}))}:nt,De=ka;function Aa(e,n){return ie(e,De(e),n)}var Da=Object.getOwnPropertySymbols,Ea=Da?function(e){for(var n=[];e;)at(n,De(e)),e=Et(e);return n}:nt,lt=Ea;function Fa(e,n){return ie(e,lt(e),n)}function st(e,n,a){var r=n(e);return ze(e)?r:at(r,a(e))}function Sa(e){return st(e,Ae,De)}function Ba(e){return st(e,Ce,lt)}var ja=re(ue,\"DataView\"),he=ja,Ma=re(ue,\"Promise\"),be=Ma,Ia=re(ue,\"Set\"),q=Ia,Me=\"[object Map]\",Oa=\"[object Object]\",Ie=\"[object Promise]\",Oe=\"[object Set]\",Pe=\"[object WeakMap]\",He=\"[object DataView]\",Pa=Z(he),Ha=Z(fe),Ua=Z(be),Na=Z(q),La=Z(ye),K=Ge;(he&&K(new he(new ArrayBuffer(1)))!=He||fe&&K(new fe)!=Me||be&&K(be.resolve())!=Ie||q&&K(new q)!=Oe||ye&&K(new ye)!=Pe)&&(K=function(e){var n=Ge(e),a=n==Oa?e.constructor:void 0,r=a?Z(a):\"\";if(r)switch(r){case Pa:return He;case Ha:return Me;case Ua:return Ie;case Na:return Oe;case La:return Pe}return n});var Ee=K,Va=Object.prototype,Ra=Va.hasOwnProperty;function za(e){var n=e.length,a=new e.constructor(n);return n&&typeof e[0]==\"string\"&&Ra.call(e,\"index\")&&(a.index=e.index,a.input=e.input),a}function Ga(e,n){var a=n?Ke(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.byteLength)}var Ka=/\\w*$/;function Ya(e){var n=new e.constructor(e.source,Ka.exec(e));return n.lastIndex=e.lastIndex,n}var Ue=Se?Se.prototype:void 0,Ne=Ue?Ue.valueOf:void 0;function Wa(e){return Ne?Object(Ne.call(e)):{}}var qa=\"[object Boolean]\",Ja=\"[object Date]\",Za=\"[object Map]\",Qa=\"[object Number]\",Xa=\"[object RegExp]\",en=\"[object Set]\",tn=\"[object String]\",an=\"[object Symbol]\",nn=\"[object ArrayBuffer]\",ln=\"[object DataView]\",sn=\"[object Float32Array]\",on=\"[object Float64Array]\",rn=\"[object Int8Array]\",un=\"[object Int16Array]\",cn=\"[object Int32Array]\",dn=\"[object Uint8Array]\",vn=\"[object Uint8ClampedArray]\",fn=\"[object Uint16Array]\",mn=\"[object Uint32Array]\";function pn(e,n,a){var r=e.constructor;switch(n){case nn:return Ke(e);case qa:case Ja:return new r(+e);case ln:return Ga(e,a);case sn:case on:case rn:case un:case cn:case dn:case vn:case fn:case mn:return Ft(e,a);case Za:return new r;case Qa:case tn:return new r(e);case Xa:return Ya(e);case en:return new r;case an:return Wa(e)}}var gn=\"[object Map]\";function _n(e){return Ye(e)&&Ee(e)==gn}var Le=ne&&ne.isMap,yn=Le?We(Le):_n,hn=yn,bn=\"[object Set]\";function xn(e){return Ye(e)&&Ee(e)==bn}var Ve=ne&&ne.isSet,Cn=Ve?We(Ve):xn,wn=Cn,$n=1,Tn=2,kn=4,ot=\"[object Arguments]\",An=\"[object Array]\",Dn=\"[object Boolean]\",En=\"[object Date]\",Fn=\"[object Error]\",rt=\"[object Function]\",Sn=\"[object GeneratorFunction]\",Bn=\"[object Map]\",jn=\"[object Number]\",ut=\"[object Object]\",Mn=\"[object RegExp]\",In=\"[object Set]\",On=\"[object String]\",Pn=\"[object Symbol]\",Hn=\"[object WeakMap]\",Un=\"[object ArrayBuffer]\",Nn=\"[object DataView]\",Ln=\"[object Float32Array]\",Vn=\"[object Float64Array]\",Rn=\"[object Int8Array]\",zn=\"[object Int16Array]\",Gn=\"[object Int32Array]\",Kn=\"[object Uint8Array]\",Yn=\"[object Uint8ClampedArray]\",Wn=\"[object Uint16Array]\",qn=\"[object Uint32Array]\",T={};T[ot]=T[An]=T[Un]=T[Nn]=T[Dn]=T[En]=T[Ln]=T[Vn]=T[Rn]=T[zn]=T[Gn]=T[Bn]=T[jn]=T[ut]=T[Mn]=T[In]=T[On]=T[Pn]=T[Kn]=T[Yn]=T[Wn]=T[qn]=!0;T[Fn]=T[rt]=T[Hn]=!1;function ae(e,n,a,r,u,t){var s,i=n&$n,d=n&Tn,_=n&kn;if(a&&(s=u?a(e,r,u,t):a(e)),s!==void 0)return s;if(!St(e))return e;var m=ze(e);if(m){if(s=za(e),!i)return Bt(e,s)}else{var c=Ee(e),h=c==rt||c==Sn;if(jt(e))return Mt(e,i);if(c==ut||c==ot||h&&!u){if(s=d||h?{}:It(e),!i)return d?Fa(e,Ca(s,e)):Aa(e,xa(s,e))}else{if(!T[c])return u?e:{};s=pn(e,c,i)}}t||(t=new Ot);var y=t.get(e);if(y)return y;t.set(e,s),wn(e)?e.forEach(function(M){s.add(ae(M,n,a,M,e,t))}):hn(e)&&e.forEach(function(M,j){s.set(j,ae(M,n,a,j,e,t))});var C=_?d?Ba:Sa:d?Ce:Ae,B=m?void 0:C(e);return ca(B||e,function(M,j){B&&(j=M,M=e[j]),Pt(s,j,ae(M,n,a,j,e,t))}),s}var Jn=1,Zn=4;function Qn(e){return ae(e,Jn|Zn)}var Xn=\"__lodash_hash_undefined__\";function el(e){return this.__data__.set(e,Xn),this}function tl(e){return this.__data__.has(e)}function oe(e){var n=-1,a=e==null?0:e.length;for(this.__data__=new Ht;++n<a;)this.add(e[n])}oe.prototype.add=oe.prototype.push=el;oe.prototype.has=tl;function al(e,n){return e.has(n)}function it(e){var n=-1,a=Array(e.size);return e.forEach(function(r){a[++n]=r}),a}function nl(e,n,a){for(var r=-1,u=e==null?0:e.length;++r<u;)if(a(n,e[r]))return!0;return!1}var ll=1/0,sl=q&&1/it(new q([,-0]))[1]==ll?function(e){return new q(e)}:ia,ol=sl,rl=200;function ul(e,n,a){var r=-1,u=pa,t=e.length,s=!0,i=[],d=i;if(a)s=!1,u=nl;else if(t>=rl){var _=n?null:ol(e);if(_)return it(_);s=!1,u=al,d=new oe}else d=n?[]:i;e:for(;++r<t;){var m=e[r],c=n?n(m):m;if(m=a||m!==0?m:0,s&&c===c){for(var h=d.length;h--;)if(d[h]===c)continue e;n&&d.push(c),i.push(m)}else u(d,c,a)||(d!==i&&d.push(c),i.push(m))}return i}function xe(e){return e&&e.length?ul(e):[]}const il=g(\"div\",{class:\"flex-1\"},null,-1),cl=H({__name:\"HEditorToolbar\",props:{saving:{type:Boolean},changed:{type:Boolean}},emits:[\"on-action\"],setup(e,{emit:n}){const a=e,r=n,u=R(),t=qe();return(s,i)=>(b(),N(Ut,{class:\"px-2\"},{default:v(()=>[o(l(D),{size:\"small\",onClick:i[0]||(i[0]=d=>r(\"on-action\",{type:\"back\"}))},{default:v(()=>[x(\" \\u8FD4\\u56DE \")]),_:1}),il,a.saving?(b(),N(l(J),{key:0,class:\"mr-2\",rounded:\"\"},{default:v(()=>[x(\"\\u4FDD\\u5B58\\u4E2D...\")]),_:1})):(b(),S(Y,{key:1},[a.changed?(b(),N(l(J),{key:0,class:\"mr-2\",\"bg-color\":l(u).colorCommon,rounded:\"\"},{default:v(()=>[x(\" \\u672A\\u4FDD\\u5B58 \")]),_:1},8,[\"bg-color\"])):le(\"\",!0)],64)),o(l(D),{class:\"mr-2\",type:\"primary\",round:\"\",inverted:\"\",onClick:i[1]||(i[1]=d=>r(\"on-action\",{type:\"save\"}))},{default:v(()=>[o(l(E),{name:l(F).Save},null,8,[\"name\"])]),_:1}),o(l(D),{class:\"mr-2\",type:\"error\",round:\"\",inverted:\"\",onClick:i[2]||(i[2]=d=>r(\"on-action\",{type:\"delete\"}))},{default:v(()=>[o(l(E),{name:l(F).Delete},null,8,[\"name\"])]),_:1}),l(t).isDraft?(b(),N(l(D),{key:2,class:\"mr-2\",type:\"success\",round:\"\",inverted:\"\",onClick:i[3]||(i[3]=d=>r(\"on-action\",{type:\"publish\"}))},{default:v(()=>[o(l(E),{name:l(F).Upload},null,8,[\"name\"])]),_:1})):le(\"\",!0)]),_:1}))}}),dl={class:\"px-4\"},vl={class:\"mb-2 text-xs\"},fl={class:\"mb-2 text-xs\"},ml=H({__name:\"HCategoriesEditor\",props:{availableCats:{},categories:{}},emits:[\"update:categories\"],setup(e,{emit:n}){const a=e,r=n,u=A(\"\"),t=A(a.categories),s=k(()=>xe(t.value.concat(a.availableCats)).sort());O(()=>[...a.categories],c=>{t.value=c}),O(()=>[...t.value],c=>{r(\"update:categories\",c)});const i=()=>{u.value&&(t.value.push(u.value),u.value=\"\")},d=c=>{t.value.push(c)},_=c=>{t.value.splice(c,1)},m=R();return(c,h)=>(b(),S(\"div\",dl,[g(\"div\",vl,[(b(!0),S(Y,null,X(t.value,(y,C)=>(b(),S(Y,null,[C?(b(),N(l(E),{key:0,class:\"mb-0.5\",name:l(F).ChevronRight},null,8,[\"name\"])):le(\"\",!0),o(l(J),{class:\"mb-0.5\",rounded:\"\",clickable:\"\",onClick:B=>_(C)},{default:v(()=>[x(U(y)+\" \",1),o(l(E),{name:l(F).Cancel},null,8,[\"name\"])]),_:2},1032,[\"onClick\"])],64))),256))]),g(\"div\",fl,[(b(!0),S(Y,null,X(s.value,y=>(b(),N(l(J),{class:\"mr-1 mb-0.5\",rounded:\"\",clickable:\"\",color:l(m).textColorPrimary,\"bg-color\":l(m).backgroundColorPrimary,onClick:C=>d(y)},{default:v(()=>[x(U(y)+\" \",1),o(l(E),{name:l(F).Add},null,8,[\"name\"])]),_:2},1032,[\"color\",\"bg-color\",\"onClick\"]))),256))]),o(l(we),{modelValue:u.value,\"onUpdate:modelValue\":h[0]||(h[0]=y=>u.value=y),placeholder:\"\\u65B0\\u5206\\u7C7B\",onKeydown:Je(i,[\"enter\"])},{suffix:v(()=>[o(l(E),{name:l(F).Add,clickable:\"\",onClick:i},null,8,[\"name\"])]),_:1},8,[\"modelValue\"])]))}});function pl(e){const n=ct(e),a=n.day(),r=n.subtract(a-1,\"day\");return r.month()===e.month()?r.subtract(7,\"day\"):r}function ct(e){const n=e.date();return e.subtract(n-1,\"day\")}function gl(e){const n=[],a=ct(e),r=e.date(),u=pl(e),t=u.date();n.push(...new Array(u.daysInMonth()-u.date()+1).fill(0).map((i,d)=>({text:`${t+d}`,current:!1,selected:!1,date:u.add(d,\"day\")}))),n.push(...new Array(e.daysInMonth()).fill(0).map((i,d)=>({text:`${d+1}`,current:!0,selected:d+1===r,date:a.add(d,\"day\")})));const s=a.add(a.daysInMonth(),\"day\");return n.push(...new Array(42-n.length).fill(0).map((i,d)=>({text:`${d+1}`,current:!1,selected:!1,date:s.add(d,\"day\")}))),n}const _l={class:\"relative w-full h-full\"},ve=H({__name:\"HSlider\",props:{min:{},max:{},value:{}},emits:[\"update:value\"],setup(e,{emit:n}){const a=e,r=n,{classNames:u}=$e(\"h-slider\"),t=R(),s=A(a.value);O(()=>a.value,I=>{if(a.value<a.min||a.value>a.max){r(\"update:value\",s.value);return}s.value=I,h()}),O(()=>s.value,I=>{r(\"update:value\",I)});const i=A(null),d=A(null),{x:_}=Nt(),m=A(!1),c=()=>{m.value=!0};me(\"mouseup\",()=>{m.value=!1}),me(\"mousemove\",()=>{y()});const h=()=>{const p=d.value.getBoundingClientRect();C.value=p.width/2},y=()=>{if(!m.value)return;h();const p=i.value.getBoundingClientRect(),$=p.x+C.value,P=p.width-C.value*2,ee=_.value-$;s.value=Math.round(a.min+(a.max-a.min)*Math.max(0,Math.min(1,ee/P)))};Te(()=>{h()});const C=A(0),B=k(()=>({padding:`0 ${C.value}px`,backgroundColor:t.value.backgroundColorTertiary})),M=k(()=>({backgroundColor:t.value.colorPrimary,width:`${2*C.value}px`,margin:`0 ${-C.value}px`})),j=k(()=>({backgroundColor:t.value.colorPrimary,width:`${w.value*100}%`})),w=k(()=>s.value/(a.max-a.min)),L=k(()=>({margin:`0 ${-C.value}px`,left:`${w.value*100}%`}));return(I,p)=>(b(),S(\"div\",{class:ke(l(u))},[g(\"div\",{class:\"rail rounded w-full\",style:V(B.value),ref_key:\"railRef\",ref:i},[g(\"div\",_l,[g(\"div\",{class:\"absolute top-0 bottom-0 left-0 rounded\",style:V(M.value)},null,4),g(\"div\",{class:\"fill absolute top-0 bottom-0 left-0 rounded\",style:V(j.value)},null,4),g(\"div\",{class:\"handlers absolute top-0 bottom-0 flex flex-col justify-center\",ref_key:\"handlersRef\",ref:d,style:V(L.value)},[o(l(J),{rounded:\"\",class:\"cursor-pointer px-3 whitespace-nowrap\",onMousedown:c},{default:v(()=>[Lt(I.$slots,\"default\",{},()=>[x(U(s.value),1)])]),_:3})],4)])],4)],2))}}),yl={class:\"grid grid-cols-7 grid-rows-2 -mx-0.5\"},hl={class:\"text-sm flex items-center justify-center font-bold\",style:{\"grid-column\":\"3/6\"}},bl=g(\"div\",{class:\"text-sm flex items-center justify-center\"},\"\\u4E00\",-1),xl=g(\"div\",{class:\"text-sm flex items-center justify-center\"},\"\\u4E8C\",-1),Cl=g(\"div\",{class:\"text-sm flex items-center justify-center\"},\"\\u4E09\",-1),wl=g(\"div\",{class:\"text-sm flex items-center justify-center\"},\"\\u56DB\",-1),$l=g(\"div\",{class:\"text-sm flex items-center justify-center\"},\"\\u4E94\",-1),Tl=g(\"div\",{class:\"text-sm flex items-center justify-center\"},\"\\u516D\",-1),kl=g(\"div\",{class:\"text-sm flex items-center justify-center\"},\"\\u65E5\",-1),Al={class:\"grid grid-cols-7 grid-rows-6\"},Dl={class:\"flex justify-end\"},El=H({__name:\"HDatePicker\",props:{date:{}},emits:[\"update:date\"],setup(e,{emit:n}){const a=e,r=n,u=R(),t=A(a.date);O(()=>a.date,p=>{t.value=p},{deep:!0});const s=k(()=>{var p;return gl((p=t.value)!=null?p:se())}),i=p=>p?\"primary\":\"common\",d=p=>{t.value=p},_=k(()=>{var p,$;return($=(p=t.value)==null?void 0:p.format(\"YYYY\\u5E74M\\u6708\"))!=null?$:\"----\\u5E74--\\u6708\"}),m=()=>{!t.value||(t.value=t.value.subtract(1,\"month\"))},c=()=>{!t.value||(t.value=t.value.subtract(1,\"year\"))},h=()=>{!t.value||(t.value=t.value.add(1,\"month\"))},y=()=>{!t.value||(t.value=t.value.add(1,\"year\"))},C=A(!1),B=()=>{t.value=null},M=()=>{t.value=se()},j=()=>{C.value=!1,r(\"update:date\",t.value)};O(()=>C.value,p=>{t.value=a.date});const w=k({get(){var p,$;return(($=(p=t.value)==null?void 0:p.hour())!=null?$:0)-0},set(p){!t.value||(t.value=t.value.set(\"hour\",p))}}),L=k({get(){var p,$;return(($=(p=t.value)==null?void 0:p.minute())!=null?$:0)-0},set(p){!t.value||(t.value=t.value.set(\"minute\",p))}}),I=k({get(){var p,$;return(($=(p=t.value)==null?void 0:p.second())!=null?$:0)-0},set(p){!t.value||(t.value=t.value.set(\"second\",p))}});return(p,$)=>(b(),N(l(ra),{position:\"bottom-right\",raw:\"\",show:C.value,\"onUpdate:show\":$[3]||($[3]=P=>C.value=P)},{default:v(()=>[g(\"div\",{class:\"shadow-2xl rounded-md p-2\",style:V({backgroundColor:l(u).backgroundColorPrimary})},[g(\"div\",yl,[o(l(D),{type:\"common\",size:\"small\",round:\"\",inverted:\"\",onClick:c},{default:v(()=>[o(l(E),{name:l(F).Rewind},null,8,[\"name\"])]),_:1}),o(l(D),{type:\"common\",size:\"small\",round:\"\",inverted:\"\",onClick:m},{default:v(()=>[o(l(E),{name:l(F).ChevronLeft},null,8,[\"name\"])]),_:1}),g(\"div\",hl,U(_.value),1),o(l(D),{type:\"common\",size:\"small\",round:\"\",inverted:\"\",onClick:h},{default:v(()=>[o(l(E),{name:l(F).ChevronRight},null,8,[\"name\"])]),_:1}),o(l(D),{type:\"common\",size:\"small\",round:\"\",inverted:\"\",onClick:y},{default:v(()=>[o(l(E),{name:l(F).FastForward},null,8,[\"name\"])]),_:1}),bl,xl,Cl,wl,$l,Tl,kl]),o(l(ce),{class:\"my-2\"}),g(\"div\",Al,[(b(!0),S(Y,null,X(s.value,(P,ee)=>(b(),N(l(D),{class:\"m-0.5\",type:i(P.current),size:\"small\",inverted:!P.selected,round:\"\",onClick:Fe=>d(P.date)},{default:v(()=>[x(U(P.text),1)]),_:2},1032,[\"type\",\"inverted\",\"onClick\"]))),256))]),o(l(ce),{class:\"my-2\"}),o(ve,{style:{height:\"20px\"},min:0,max:23,value:w.value,\"onUpdate:value\":$[0]||($[0]=P=>w.value=P)},{default:v(()=>[x(U(`${w.value} \\u65F6`),1)]),_:1},8,[\"value\"]),o(ve,{style:{height:\"20px\"},min:0,max:59,value:L.value,\"onUpdate:value\":$[1]||($[1]=P=>L.value=P)},{default:v(()=>[x(U(`${L.value} \\u5206`),1)]),_:1},8,[\"value\"]),o(ve,{style:{height:\"20px\"},min:0,max:59,value:I.value,\"onUpdate:value\":$[2]||($[2]=P=>I.value=P)},{default:v(()=>[x(U(`${I.value} \\u79D2`),1)]),_:1},8,[\"value\"]),o(l(ce),{class:\"my-2\"}),g(\"div\",Dl,[o(l(D),{size:\"small\",type:\"error\",inverted:\"\",onClick:B},{default:v(()=>[x(\" \\u6E05\\u7A7A \")]),_:1}),o(l(D),{class:\"mx-2\",size:\"small\",onClick:M},{default:v(()=>[x(\"\\u6B64\\u523B\")]),_:1}),o(l(D),{size:\"small\",onClick:j},{default:v(()=>[x(\"\\u5B8C\\u6210\")]),_:1})])],4)]),_:1},8,[\"show\"]))}});const Fl={class:\"content px-4 rounded-2xl flex items-center text-sm cursor-pointer select-none\"},Re=H({__name:\"HDateEditor\",props:{date:{}},emits:[\"update:date\"],setup(e,{emit:n}){Ze(d=>({\"57bdabfd\":l(t).backgroundColorPrimary,\"57a4c17c\":l(t).textColorPrimary}));const a=e,r=n,{classNames:u}=$e(\"h-date-editor\"),t=R(),s=k(()=>a.date?a.date.format(pe):\"\\u672A\\u6307\\u5B9A\\u6570\\u636E\"),i=d=>{r(\"update:date\",d)};return(d,_)=>(b(),S(\"div\",{class:ke([l(u),\"px-4\"])},[g(\"div\",Fl,[g(\"div\",null,U(s.value),1),o(l(El),{date:a.date,\"onUpdate:date\":i},null,8,[\"date\"])])],2))}});const Sl=[\"placeholder\"],dt=H({__name:\"HTextarea\",props:{value:{},error:{type:Boolean,default:!1},placeholder:{default:\"\"}},emits:[\"update:value\"],setup(e,{emit:n}){const a=e,r=n,u=A(a.value);O(()=>a.value,_=>u.value=_),O(()=>u.value,_=>{r(\"update:value\",_)});const{classNames:t}=$e(\"h-textarea\",(_,m)=>{a.error&&_(m(\"error\"))}),s=A(null),i=()=>{if(!s.value||!s.value.parentElement)return;const _=s.value,m=s.value.parentElement;m.style.marginBottom=_.scrollHeight-1+\"px\",_.style.height=\"1px\",_.style.height=_.scrollHeight+\"px\",m.style.marginBottom=\"\"};Te(()=>{i()}),O(()=>[a.value],()=>{ge(()=>{i()})},{immediate:!0});const d=R();return(_,m)=>(b(),S(\"div\",{ref:\"parent\",class:ke([l(t),\"w-full text-sm\"])},[Vt(g(\"textarea\",{ref_key:\"textareaRef\",ref:s,class:\"w-full outline-none rounded-lg px-4 py-2\",onInput:i,placeholder:_.placeholder,style:V({backgroundColor:l(d).backgroundColorPrimary}),\"onUpdate:modelValue\":m[0]||(m[0]=c=>u.value=c),spellcheck:\"false\"},null,44,Sl),[[Rt,u.value]])],2))}});async function Bl(){return Qe.get(\"/template/frontmatter\").then(e=>e.data)}async function jl(e){return Qe.post(\"/template/frontmatter\",{items:e})}const Ml={class:\"w-96 max-h-96 overflow-y-auto\"},Il={class:\"p-2 flex justify-end\"},Ol=H({__name:\"FrontMatterTemplateEdit\",props:{value:{}},emits:[\"finish\",\"cancel\"],setup(e,{emit:n}){const a=e,r=n,u=A(\"\");return O(()=>a.value.data,t=>{u.value=t},{immediate:!0}),(t,s)=>(b(),S(\"div\",null,[g(\"div\",Ml,[o(dt,{value:u.value,\"onUpdate:value\":s[0]||(s[0]=i=>u.value=i)},null,8,[\"value\"])]),g(\"div\",Il,[o(D,{class:\"mr-2\",size:\"small\",inverted:\"\",onClick:s[1]||(s[1]=i=>r(\"cancel\"))},{default:v(()=>[x(\" \\u53D6\\u6D88 \")]),_:1}),o(D,{size:\"small\",onClick:s[2]||(s[2]=i=>r(\"finish\",u.value))},{default:v(()=>[x(\"\\u4FDD\\u5B58\")]),_:1})])]))}});const Pl={class:\"mt-2 flex-1 overflow-auto relative\"},Hl={class:\"mb-2 flex items-center\"},Ul=[\"onClick\"],Nl={class:\"py-2\"},Ll=H({__name:\"FrontMatterTemplate\",emits:[\"set-template\"],setup(e,{emit:n}){Ze(w=>({\"964c4cbe\":l(d).backgroundColorSelected,\"763caff6\":l(d).backgroundColorHover}));const a=n,r=zt(),u=Xe(),t=A([]),s=A(!1),i=()=>{s.value=!0,Bl().then(({items:w})=>{t.value=w}).finally(()=>{s.value=!1})};Te(()=>i());const d=R(),_=A(!1),m=A(-1),c=w=>{_.value=!1,t.value[m.value]={data:w},h()},h=()=>{jl(t.value).then(()=>{r.notify({type:\"success\",title:\"\\u4FDD\\u5B58\\u9884\\u8BBE\\u6210\\u529F\"})}).catch(w=>{r.notify({type:\"error\",title:\"\\u4FDD\\u5B58\\u9884\\u8BBE\\u5931\\u8D25\",desc:w,actions:[{label:\"\\u91CD\\u8BD5\",run:h}]})})},y=k(()=>t.value[m.value]),C=w=>{m.value=w,_.value=!0},B=()=>{_.value=!1,m.value=-1},M=w=>{u.create({type:\"error\",title:\"\\u786E\\u8BA4\\u5220\\u9664\\u4E48\\uFF1F\",actions:[{label:\"\\u5220\\u9664\",type:\"error\",run(){t.value.splice(w,1),h()}}]})},j=()=>{t.value.push({data:\"key: value\"}),C(t.value.length-1)};return(w,L)=>(b(),S(\"div\",{style:V({backgroundColor:l(d).backgroundColorPrimary}),class:\"py-2 px-4 rounded-md modal-panel flex flex-col\"},[o(et,{class:\"justify-center\"},{default:v(()=>[x(\" \\u4F7F\\u7528 frontmatter \\u9884\\u8BBE \"),o(l(Gt),null,{default:v(()=>[o(l(D),{onClick:i,size:\"small\"},{default:v(()=>[x(\"\\u5237\\u65B0\")]),_:1})]),_:1})]),_:1}),g(\"div\",Pl,[o(l(_e),{loading:s.value},{default:v(()=>[(b(!0),S(Y,null,X(t.value,(I,p)=>(b(),S(\"div\",Hl,[g(\"div\",{class:\"item rounded-md p-2 mr-2 select-none cursor-pointer flex-1\",onClick:$=>a(\"set-template\",I.data)},[g(\"pre\",null,U(I.data),1)],8,Ul),o(l(D),{round:\"\",inverted:\"\"},{default:v(()=>[o(l(E),{name:l(F).Edit,onClick:$=>C(p)},null,8,[\"name\",\"onClick\"])]),_:2},1024),o(l(D),{type:\"error\",round:\"\",inverted:\"\",onClick:$=>M(p)},{default:v(()=>[o(l(E),{name:l(F).Delete},null,8,[\"name\"])]),_:2},1032,[\"onClick\"])]))),256))]),_:1},8,[\"loading\"]),o(l(tt),{show:_.value,\"onUpdate:show\":L[0]||(L[0]=I=>_.value=I),persistent:\"\"},{default:v(()=>[o(Ol,{value:y.value,onFinish:c,onCancel:B},null,8,[\"value\"])]),_:1},8,[\"show\"])]),g(\"div\",Nl,[o(l(D),{size:\"small\",onClick:j},{default:v(()=>[x(\"\\u6DFB\\u52A0\")]),_:1}),o(l(D),{class:\"ml-2\",size:\"small\",onClick:h},{default:v(()=>[x(\"\\u4FDD\\u5B58\")]),_:1})])],4))}});var Vl=Kt(Ll,[[\"__scopeId\",\"data-v-094c07ec\"]]);const Rl={class:\"px-4\"},zl=H({__name:\"HFrontmatterEditor\",props:{fm:{}},emits:[\"update:fm\"],setup(e,{emit:n}){const a=e,r=n;Yt();const u=A(\"\");O(()=>Qn(a.fm),m=>{try{const c=de.dump(m,{});u.value=c.trim()===\"{}\"?\"\":c,ge(()=>{t.value=\"\"})}catch(c){ge(()=>{t.value=c.message})}},{immediate:!0,deep:!0}),Wt(()=>u.value,m=>{try{const c=de.load(u.value);de.dump(c);const h={};if(typeof c==\"string\")throw new Error(\"must be key-value pairs\");for(const y in c)h[y]=c[y];t.value=\"\",r(\"update:fm\",h)}catch(c){t.value=c.message}},{debounce:1e3});const t=A(\"\"),s=R(),i=A(!1),d=()=>{i.value=!0},_=m=>{i.value=!1,u.value=m};return(m,c)=>(b(),S(\"div\",Rl,[o(l(dt),{style:\"font-family: 'Courier New', Courier, monospace\",value:u.value,\"onUpdate:value\":c[0]||(c[0]=h=>u.value=h),error:!!t.value,placeholder:\"key: value\"},null,8,[\"value\",\"error\"]),g(\"div\",{class:\"text-sm mb-2\",style:V({color:l(s).colorError})},U(t.value),5),o(l(D),{onClick:d},{default:v(()=>[x(\"\\u4F7F\\u7528\\u6A21\\u677F\")]),_:1}),o(tt,{show:i.value,\"onUpdate:show\":c[2]||(c[2]=h=>i.value=h)},{default:v(()=>[o(Vl,{onSetTemplate:c[1]||(c[1]=h=>_(h))})]),_:1},8,[\"show\"])]))}}),Gl=[\"value\"],Kl=H({__name:\"HHeaderEditor\",props:{value:{}},emits:[\"update:value\"],setup(e,{emit:n}){const a=e,r=n,u=s=>r(\"update:value\",s),t=s=>{var i;return u((i=s.target)==null?void 0:i.value)};return(s,i)=>(b(),S(\"input\",{class:\"text-2xl outline-none py-4 w-full pl-2 pr-3 bg-transparent\",value:a.value,onInput:t},null,40,Gl))}}),Yl={class:\"px-4\"},Wl=H({__name:\"HLayoutEditor\",props:{layout:{}},emits:[\"update:layout\"],setup(e,{emit:n}){const a=e,r=n,u=A(a.layout);return O(()=>a.layout,t=>{u.value=t}),O(u,t=>{a.layout!==t&&r(\"update:layout\",t)}),(t,s)=>(b(),S(\"div\",Yl,[o(l(we),{modelValue:u.value,\"onUpdate:modelValue\":s[0]||(s[0]=i=>u.value=i),placeholder:\"hexo-default\"},null,8,[\"modelValue\"])]))}}),ql={class:\"px-4\"},Jl={key:0,class:\"mb-2 text-xs\"},Zl=H({__name:\"HTagEditor\",props:{availableTags:{},tags:{}},emits:[\"update:tags\"],setup(e,{emit:n}){const a=e,r=n,u=R(),t=A(\"\"),s=A(a.tags);O(()=>[...a.tags],y=>{s.value=y}),O(()=>[...s.value],y=>{r(\"update:tags\",y)});const i=k(()=>xe(s.value.concat(a.availableTags)).sort()),d=y=>s.value.includes(y),_=y=>d(y)?void 0:u.value.textColorPrimary,m=y=>d(y)?void 0:u.value.backgroundColorPrimary,c=y=>{d(y)?s.value=s.value.filter(C=>C!==y):s.value.push(y)},h=()=>{!t.value||(s.value.push(t.value),s.value=xe(s.value),t.value=\"\")};return(y,C)=>(b(),S(\"div\",ql,[i.value.length?(b(),S(\"div\",Jl,[(b(!0),S(Y,null,X(i.value,B=>(b(),N(l(J),{class:\"mr-1 mb-0.5\",color:_(B),\"bg-color\":m(B),rounded:\"\",clickable:\"\",onClick:M=>c(B)},{default:v(()=>[x(U(B),1)]),_:2},1032,[\"color\",\"bg-color\",\"onClick\"]))),256)),x(\" \\xA0 \")])):le(\"\",!0),o(l(we),{modelValue:t.value,\"onUpdate:modelValue\":C[0]||(C[0]=B=>t.value=B),placeholder:\"\\u65B0\\u6807\\u7B7E\",onKeydown:Je(h,[\"enter\"])},{suffix:v(()=>[o(l(E),{name:l(F).Add,clickable:\"\",onClick:h},null,8,[\"name\"])]),_:1},8,[\"modelValue\"])]))}}),Ql={key:1,class:\"flex h-full w-full overflow-hidden\"},Xl={class:\"flex flex-col flex-1 w-full min-h-0 max-w-2xl mx-auto\"},es={class:\"flex-1 w-full relative\"},ts=g(\"div\",{class:\"px-5\"},\"Frontmatters\",-1),as={class:\"flex-1 h-0 overflow-auto pt-2 pb-4\"},ns=H({__name:\"[source]\",props:{type:{},source:{}},setup(e){const[n,a]=qt(()=>na(()=>import(\"./HMonacoEditor.4fbcd301.js\").then(function(f){return f.H}),[\"assets/HMonacoEditor.4fbcd301.js\",\"assets/HMonacoEditor.213cf05a.css\",\"assets/index.becaf6b8.js\",\"assets/index.e0fa4e9b.css\"])),r=Jt(),u=Zt(),t=Qt(),s=qe(),i=Xt(),d=Xe(),_=ea(),m=R(),c=e,h=()=>{u.push(\"/\")},y=f=>{const{type:z,source:te}=c;switch(f.type){case\"back\":Q.value?d.create({type:\"warning\",title:\"\\u6709\\u672A\\u4FDD\\u5B58\\u7684\\u66F4\\u6539\",content:\"\\u786E\\u5B9A\\u8981\\u79BB\\u5F00\\u4E48\\uFF1F\",actions:[{label:\"\\u518D\\u60F3\\u60F3\",type:\"common\"},{label:\"\\u662F\\u7684\",type:\"error\",run:()=>{t.viewArticle({type:z,source:te})}}]}):t.viewArticle({type:z,source:te});break;case\"save\":t.saveArticle(j.value).then(gt,la);break;case\"delete\":t.deleteArticle({type:z,source:te});break;case\"publish\":t.publishArticle(te);break}},C=()=>{y({type:\"save\"})};me(\"beforeunload\",f=>{!Q.value||confirm(\"\\u786E\\u5B9A\\u79BB\\u5F00\\uFF1F\\u4F60\\u6240\\u505A\\u7684\\u66F4\\u6539\\u53EF\\u80FD\\u672A\\u4FDD\\u5B58\\u3002\")||(f.preventDefault(),f.returnValue=\"\")});function B(){const{type:f,source:z}=c;f===\"post\"||f===\"page\"?t.getArticle({type:f,source:z}):t.goHome()}ta(()=>{t.clearArticle()}),O(()=>r.fullPath,()=>{r.name===\"edit\"&&(B(),t.loadBlogData())},{immediate:!0});const M=k(()=>{var f,z;return(z=(f=s.article)==null?void 0:f.raw)!=null?z:\"\"}),j=A(M.value);O(M,f=>j.value=f);const w=k(()=>sa(j.value)),L=k(()=>w.value._content),I=k(()=>w.value.title),p=k(()=>w.value.layout),$=k(()=>w.value.tags),P=k(()=>w.value.categories),ee=k(()=>{const f=se(w.value.date);return f.format(\"\")===\"Invalid Date\"?null:f}),Fe=k(()=>{const f=se(w.value.updated);return f.format(\"\")===\"Invalid Date\"?null:f}),vt=k(()=>w.value.fm),ft=k(()=>i.tagNamesList),mt=k(()=>i.catNamesList),Q=A(!1),pt=()=>Q.value=!0,gt=()=>Q.value=!1,G=f=>{j.value=oa(j.value,f),pt()},_t=(f=\"\")=>{G({title:f})},yt=f=>{G({_content:f})},ht=(f=[])=>{G({tags:f})},bt=(f=[])=>{G({categories:f})},xt=(f=\"\")=>{G({layout:f})},Ct=f=>{G({date:f==null?void 0:f.format(pe)})},wt=f=>{G({updated:f==null?void 0:f.format(pe)})},$t=f=>{G({fm:f})};return(f,z)=>(b(),N(l(_e),{loading:l(s).isLoading},{default:v(()=>[l(s).error?(b(),N(aa,{key:0},{default:v(()=>[g(\"div\",null,[o(l(D),{inverted:\"\",onClick:h},{default:v(()=>[x(\"\\u56DE\\u4E3B\\u9875\")]),_:1}),o(l(D),{class:\"ml-2\",onClick:B},{default:v(()=>[x(\"\\u91CD\\u8BD5\")]),_:1})])]),_:1})):(b(),S(\"div\",Ql,[g(\"div\",{class:\"main flex-1 min-w-0 flex flex-col h-full\",style:V({backgroundColor:l(m).backgroundColorPrimary})},[o(cl,{saving:l(s).saving,changed:Q.value,onOnAction:y},null,8,[\"saving\",\"changed\"]),g(\"div\",Xl,[o(Kl,{value:I.value,\"onUpdate:value\":_t},null,8,[\"value\"]),g(\"div\",es,[o(l(_e),{loading:l(a),overlay:\"\"},{default:v(()=>[o(l(n),{class:\"h-full w-full\",id:\"default\",\"font-family\":l(_).settings.ui.editor.fontFamily,value:L.value,\"onUpdate:value\":yt,onOnSave:C},null,8,[\"font-family\",\"value\"])]),_:1},8,[\"loading\"])])])],4),g(\"div\",{class:\"side w-72 h-full flex flex-col\",style:V({backgroundColor:l(m).backgroundColorTertiary})},[o(et,null,{default:v(()=>[ts]),_:1}),g(\"div\",as,[o(W,null,{default:v(()=>[o(l(E),{name:l(F).Globe,class:\"mr-1\"},null,8,[\"name\"]),x(\" \\u53D1\\u5E03\\u4E8E \")]),_:1}),o(Re,{date:ee.value,\"onUpdate:date\":Ct},null,8,[\"date\"]),o(W,{class:\"mt-2\"},{default:v(()=>[o(l(E),{name:l(F).DevUpdate,class:\"mr-1\"},null,8,[\"name\"]),x(\" \\u66F4\\u65B0\\u4E8E \")]),_:1}),o(Re,{date:Fe.value,\"onUpdate:date\":wt},null,8,[\"date\"]),o(W,{class:\"mt-2\"},{default:v(()=>[o(l(E),{name:l(F).Tag,class:\"mr-1\"},null,8,[\"name\"]),x(\" \\u6807\\u7B7E \")]),_:1}),o(Zl,{\"available-tags\":ft.value,tags:$.value,\"onUpdate:tags\":ht},null,8,[\"available-tags\",\"tags\"]),o(W,{class:\"mt-2\"},{default:v(()=>[o(l(E),{name:l(F).Folder,class:\"mr-2\"},null,8,[\"name\"]),x(\" \\u5206\\u7C7B \")]),_:1}),o(ml,{availableCats:mt.value,categories:P.value,\"onUpdate:categories\":bt},null,8,[\"availableCats\",\"categories\"]),o(W,{class:\"mt-2\"},{default:v(()=>[o(l(E),{name:l(F).Type,class:\"mr-2\"},null,8,[\"name\"]),x(\" Layout \")]),_:1}),o(Wl,{layout:p.value,\"onUpdate:layout\":xt},null,8,[\"layout\"]),o(W,{class:\"mt-2\"},{default:v(()=>[o(l(E),{name:l(F).HolePunchLandscapeTop,class:\"mr-2\"},null,8,[\"name\"]),x(\" Frontmatters \")]),_:1}),o(zl,{fm:vt.value,\"onUpdate:fm\":$t},null,8,[\"fm\"])])],4)]))]),_:1},8,[\"loading\"]))}});typeof Be==\"function\"&&Be(ns);export{ns as default};\n"
  },
  {
    "path": "client/dist/assets/abap.d6ef40ee.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"*\"},brackets:[[\"[\",\"]\"],[\"(\",\")\"]]},t={defaultToken:\"invalid\",ignoreCase:!0,tokenPostfix:\".abap\",keywords:[\"abap-source\",\"abbreviated\",\"abstract\",\"accept\",\"accepting\",\"according\",\"activation\",\"actual\",\"add\",\"add-corresponding\",\"adjacent\",\"after\",\"alias\",\"aliases\",\"align\",\"all\",\"allocate\",\"alpha\",\"analysis\",\"analyzer\",\"and\",\"append\",\"appendage\",\"appending\",\"application\",\"archive\",\"area\",\"arithmetic\",\"as\",\"ascending\",\"aspect\",\"assert\",\"assign\",\"assigned\",\"assigning\",\"association\",\"asynchronous\",\"at\",\"attributes\",\"authority\",\"authority-check\",\"avg\",\"back\",\"background\",\"backup\",\"backward\",\"badi\",\"base\",\"before\",\"begin\",\"between\",\"big\",\"binary\",\"bintohex\",\"bit\",\"black\",\"blank\",\"blanks\",\"blob\",\"block\",\"blocks\",\"blue\",\"bound\",\"boundaries\",\"bounds\",\"boxed\",\"break-point\",\"buffer\",\"by\",\"bypassing\",\"byte\",\"byte-order\",\"call\",\"calling\",\"case\",\"cast\",\"casting\",\"catch\",\"center\",\"centered\",\"chain\",\"chain-input\",\"chain-request\",\"change\",\"changing\",\"channels\",\"character\",\"char-to-hex\",\"check\",\"checkbox\",\"ci_\",\"circular\",\"class\",\"class-coding\",\"class-data\",\"class-events\",\"class-methods\",\"class-pool\",\"cleanup\",\"clear\",\"client\",\"clob\",\"clock\",\"close\",\"coalesce\",\"code\",\"coding\",\"col_background\",\"col_group\",\"col_heading\",\"col_key\",\"col_negative\",\"col_normal\",\"col_positive\",\"col_total\",\"collect\",\"color\",\"column\",\"columns\",\"comment\",\"comments\",\"commit\",\"common\",\"communication\",\"comparing\",\"component\",\"components\",\"compression\",\"compute\",\"concat\",\"concat_with_space\",\"concatenate\",\"cond\",\"condense\",\"condition\",\"connect\",\"connection\",\"constants\",\"context\",\"contexts\",\"continue\",\"control\",\"controls\",\"conv\",\"conversion\",\"convert\",\"copies\",\"copy\",\"corresponding\",\"country\",\"cover\",\"cpi\",\"create\",\"creating\",\"critical\",\"currency\",\"currency_conversion\",\"current\",\"cursor\",\"cursor-selection\",\"customer\",\"customer-function\",\"dangerous\",\"data\",\"database\",\"datainfo\",\"dataset\",\"date\",\"dats_add_days\",\"dats_add_months\",\"dats_days_between\",\"dats_is_valid\",\"daylight\",\"dd/mm/yy\",\"dd/mm/yyyy\",\"ddmmyy\",\"deallocate\",\"decimal_shift\",\"decimals\",\"declarations\",\"deep\",\"default\",\"deferred\",\"define\",\"defining\",\"definition\",\"delete\",\"deleting\",\"demand\",\"department\",\"descending\",\"describe\",\"destination\",\"detail\",\"dialog\",\"directory\",\"disconnect\",\"display\",\"display-mode\",\"distinct\",\"divide\",\"divide-corresponding\",\"division\",\"do\",\"dummy\",\"duplicate\",\"duplicates\",\"duration\",\"during\",\"dynamic\",\"dynpro\",\"edit\",\"editor-call\",\"else\",\"elseif\",\"empty\",\"enabled\",\"enabling\",\"encoding\",\"end\",\"endat\",\"endcase\",\"endcatch\",\"endchain\",\"endclass\",\"enddo\",\"endenhancement\",\"end-enhancement-section\",\"endexec\",\"endform\",\"endfunction\",\"endian\",\"endif\",\"ending\",\"endinterface\",\"end-lines\",\"endloop\",\"endmethod\",\"endmodule\",\"end-of-definition\",\"end-of-editing\",\"end-of-file\",\"end-of-page\",\"end-of-selection\",\"endon\",\"endprovide\",\"endselect\",\"end-test-injection\",\"end-test-seam\",\"endtry\",\"endwhile\",\"endwith\",\"engineering\",\"enhancement\",\"enhancement-point\",\"enhancements\",\"enhancement-section\",\"entries\",\"entry\",\"enum\",\"environment\",\"equiv\",\"errormessage\",\"errors\",\"escaping\",\"event\",\"events\",\"exact\",\"except\",\"exception\",\"exceptions\",\"exception-table\",\"exclude\",\"excluding\",\"exec\",\"execute\",\"exists\",\"exit\",\"exit-command\",\"expand\",\"expanding\",\"expiration\",\"explicit\",\"exponent\",\"export\",\"exporting\",\"extend\",\"extended\",\"extension\",\"extract\",\"fail\",\"fetch\",\"field\",\"field-groups\",\"fields\",\"field-symbol\",\"field-symbols\",\"file\",\"filter\",\"filters\",\"filter-table\",\"final\",\"find\",\"first\",\"first-line\",\"fixed-point\",\"fkeq\",\"fkge\",\"flush\",\"font\",\"for\",\"form\",\"format\",\"forward\",\"found\",\"frame\",\"frames\",\"free\",\"friends\",\"from\",\"function\",\"functionality\",\"function-pool\",\"further\",\"gaps\",\"generate\",\"get\",\"giving\",\"gkeq\",\"gkge\",\"global\",\"grant\",\"green\",\"group\",\"groups\",\"handle\",\"handler\",\"harmless\",\"hashed\",\"having\",\"hdb\",\"header\",\"headers\",\"heading\",\"head-lines\",\"help-id\",\"help-request\",\"hextobin\",\"hide\",\"high\",\"hint\",\"hold\",\"hotspot\",\"icon\",\"id\",\"identification\",\"identifier\",\"ids\",\"if\",\"ignore\",\"ignoring\",\"immediately\",\"implementation\",\"implementations\",\"implemented\",\"implicit\",\"import\",\"importing\",\"in\",\"inactive\",\"incl\",\"include\",\"includes\",\"including\",\"increment\",\"index\",\"index-line\",\"infotypes\",\"inheriting\",\"init\",\"initial\",\"initialization\",\"inner\",\"inout\",\"input\",\"insert\",\"instance\",\"instances\",\"instr\",\"intensified\",\"interface\",\"interface-pool\",\"interfaces\",\"internal\",\"intervals\",\"into\",\"inverse\",\"inverted-date\",\"is\",\"iso\",\"job\",\"join\",\"keep\",\"keeping\",\"kernel\",\"key\",\"keys\",\"keywords\",\"kind\",\"language\",\"last\",\"late\",\"layout\",\"leading\",\"leave\",\"left\",\"left-justified\",\"leftplus\",\"leftspace\",\"legacy\",\"length\",\"let\",\"level\",\"levels\",\"like\",\"line\",\"lines\",\"line-count\",\"linefeed\",\"line-selection\",\"line-size\",\"list\",\"listbox\",\"list-processing\",\"little\",\"llang\",\"load\",\"load-of-program\",\"lob\",\"local\",\"locale\",\"locator\",\"logfile\",\"logical\",\"log-point\",\"long\",\"loop\",\"low\",\"lower\",\"lpad\",\"lpi\",\"ltrim\",\"mail\",\"main\",\"major-id\",\"mapping\",\"margin\",\"mark\",\"mask\",\"match\",\"matchcode\",\"max\",\"maximum\",\"medium\",\"members\",\"memory\",\"mesh\",\"message\",\"message-id\",\"messages\",\"messaging\",\"method\",\"methods\",\"min\",\"minimum\",\"minor-id\",\"mm/dd/yy\",\"mm/dd/yyyy\",\"mmddyy\",\"mode\",\"modif\",\"modifier\",\"modify\",\"module\",\"move\",\"move-corresponding\",\"multiply\",\"multiply-corresponding\",\"name\",\"nametab\",\"native\",\"nested\",\"nesting\",\"new\",\"new-line\",\"new-page\",\"new-section\",\"next\",\"no\",\"no-display\",\"no-extension\",\"no-gap\",\"no-gaps\",\"no-grouping\",\"no-heading\",\"no-scrolling\",\"no-sign\",\"no-title\",\"no-topofpage\",\"no-zero\",\"node\",\"nodes\",\"non-unicode\",\"non-unique\",\"not\",\"null\",\"number\",\"object\",\"objects\",\"obligatory\",\"occurrence\",\"occurrences\",\"occurs\",\"of\",\"off\",\"offset\",\"ole\",\"on\",\"only\",\"open\",\"option\",\"optional\",\"options\",\"or\",\"order\",\"other\",\"others\",\"out\",\"outer\",\"output\",\"output-length\",\"overflow\",\"overlay\",\"pack\",\"package\",\"pad\",\"padding\",\"page\",\"pages\",\"parameter\",\"parameters\",\"parameter-table\",\"part\",\"partially\",\"pattern\",\"percentage\",\"perform\",\"performing\",\"person\",\"pf1\",\"pf10\",\"pf11\",\"pf12\",\"pf13\",\"pf14\",\"pf15\",\"pf2\",\"pf3\",\"pf4\",\"pf5\",\"pf6\",\"pf7\",\"pf8\",\"pf9\",\"pf-status\",\"pink\",\"places\",\"pool\",\"pos_high\",\"pos_low\",\"position\",\"pragmas\",\"precompiled\",\"preferred\",\"preserving\",\"primary\",\"print\",\"print-control\",\"priority\",\"private\",\"procedure\",\"process\",\"program\",\"property\",\"protected\",\"provide\",\"public\",\"push\",\"pushbutton\",\"put\",\"queue-only\",\"quickinfo\",\"radiobutton\",\"raise\",\"raising\",\"range\",\"ranges\",\"read\",\"reader\",\"read-only\",\"receive\",\"received\",\"receiver\",\"receiving\",\"red\",\"redefinition\",\"reduce\",\"reduced\",\"ref\",\"reference\",\"refresh\",\"regex\",\"reject\",\"remote\",\"renaming\",\"replace\",\"replacement\",\"replacing\",\"report\",\"request\",\"requested\",\"reserve\",\"reset\",\"resolution\",\"respecting\",\"responsible\",\"result\",\"results\",\"resumable\",\"resume\",\"retry\",\"return\",\"returncode\",\"returning\",\"returns\",\"right\",\"right-justified\",\"rightplus\",\"rightspace\",\"risk\",\"rmc_communication_failure\",\"rmc_invalid_status\",\"rmc_system_failure\",\"role\",\"rollback\",\"rows\",\"rpad\",\"rtrim\",\"run\",\"sap\",\"sap-spool\",\"saving\",\"scale_preserving\",\"scale_preserving_scientific\",\"scan\",\"scientific\",\"scientific_with_leading_zero\",\"scroll\",\"scroll-boundary\",\"scrolling\",\"search\",\"secondary\",\"seconds\",\"section\",\"select\",\"selection\",\"selections\",\"selection-screen\",\"selection-set\",\"selection-sets\",\"selection-table\",\"select-options\",\"send\",\"separate\",\"separated\",\"set\",\"shared\",\"shift\",\"short\",\"shortdump-id\",\"sign_as_postfix\",\"single\",\"size\",\"skip\",\"skipping\",\"smart\",\"some\",\"sort\",\"sortable\",\"sorted\",\"source\",\"specified\",\"split\",\"spool\",\"spots\",\"sql\",\"sqlscript\",\"stable\",\"stamp\",\"standard\",\"starting\",\"start-of-editing\",\"start-of-selection\",\"state\",\"statement\",\"statements\",\"static\",\"statics\",\"statusinfo\",\"step-loop\",\"stop\",\"structure\",\"structures\",\"style\",\"subkey\",\"submatches\",\"submit\",\"subroutine\",\"subscreen\",\"subtract\",\"subtract-corresponding\",\"suffix\",\"sum\",\"summary\",\"summing\",\"supplied\",\"supply\",\"suppress\",\"switch\",\"switchstates\",\"symbol\",\"syncpoints\",\"syntax\",\"syntax-check\",\"syntax-trace\",\"system-call\",\"system-exceptions\",\"system-exit\",\"tab\",\"tabbed\",\"table\",\"tables\",\"tableview\",\"tabstrip\",\"target\",\"task\",\"tasks\",\"test\",\"testing\",\"test-injection\",\"test-seam\",\"text\",\"textpool\",\"then\",\"throw\",\"time\",\"times\",\"timestamp\",\"timezone\",\"tims_is_valid\",\"title\",\"titlebar\",\"title-lines\",\"to\",\"tokenization\",\"tokens\",\"top-lines\",\"top-of-page\",\"trace-file\",\"trace-table\",\"trailing\",\"transaction\",\"transfer\",\"transformation\",\"translate\",\"transporting\",\"trmac\",\"truncate\",\"truncation\",\"try\",\"tstmp_add_seconds\",\"tstmp_current_utctimestamp\",\"tstmp_is_valid\",\"tstmp_seconds_between\",\"type\",\"type-pool\",\"type-pools\",\"types\",\"uline\",\"unassign\",\"under\",\"unicode\",\"union\",\"unique\",\"unit_conversion\",\"unix\",\"unpack\",\"until\",\"unwind\",\"up\",\"update\",\"upper\",\"user\",\"user-command\",\"using\",\"utf-8\",\"valid\",\"value\",\"value-request\",\"values\",\"vary\",\"varying\",\"verification-message\",\"version\",\"via\",\"view\",\"visible\",\"wait\",\"warning\",\"when\",\"whenever\",\"where\",\"while\",\"width\",\"window\",\"windows\",\"with\",\"with-heading\",\"without\",\"with-title\",\"word\",\"work\",\"write\",\"writer\",\"xml\",\"xsd\",\"yellow\",\"yes\",\"yymmdd\",\"zero\",\"zone\",\"abap_system_timezone\",\"abap_user_timezone\",\"access\",\"action\",\"adabas\",\"adjust_numbers\",\"allow_precision_loss\",\"allowed\",\"amdp\",\"applicationuser\",\"as_geo_json\",\"as400\",\"associations\",\"balance\",\"behavior\",\"breakup\",\"bulk\",\"cds\",\"cds_client\",\"check_before_save\",\"child\",\"clients\",\"corr\",\"corr_spearman\",\"cross\",\"cycles\",\"datn_add_days\",\"datn_add_months\",\"datn_days_between\",\"dats_from_datn\",\"dats_tims_to_tstmp\",\"dats_to_datn\",\"db2\",\"db6\",\"ddl\",\"dense_rank\",\"depth\",\"deterministic\",\"discarding\",\"entities\",\"entity\",\"error\",\"failed\",\"finalize\",\"first_value\",\"fltp_to_dec\",\"following\",\"fractional\",\"full\",\"graph\",\"grouping\",\"hierarchy\",\"hierarchy_ancestors\",\"hierarchy_ancestors_aggregate\",\"hierarchy_descendants\",\"hierarchy_descendants_aggregate\",\"hierarchy_siblings\",\"incremental\",\"indicators\",\"lag\",\"last_value\",\"lead\",\"leaves\",\"like_regexpr\",\"link\",\"locale_sap\",\"lock\",\"locks\",\"many\",\"mapped\",\"matched\",\"measures\",\"median\",\"mssqlnt\",\"multiple\",\"nodetype\",\"ntile\",\"nulls\",\"occurrences_regexpr\",\"one\",\"operations\",\"oracle\",\"orphans\",\"over\",\"parent\",\"parents\",\"partition\",\"pcre\",\"period\",\"pfcg_mapping\",\"preceding\",\"privileged\",\"product\",\"projection\",\"rank\",\"redirected\",\"replace_regexpr\",\"reported\",\"response\",\"responses\",\"root\",\"row\",\"row_number\",\"sap_system_date\",\"save\",\"schema\",\"session\",\"sets\",\"shortdump\",\"siblings\",\"spantree\",\"start\",\"stddev\",\"string_agg\",\"subtotal\",\"sybase\",\"tims_from_timn\",\"tims_to_timn\",\"to_blob\",\"to_clob\",\"total\",\"trace-entry\",\"tstmp_to_dats\",\"tstmp_to_dst\",\"tstmp_to_tims\",\"tstmpl_from_utcl\",\"tstmpl_to_utcl\",\"unbounded\",\"utcl_add_seconds\",\"utcl_current\",\"utcl_seconds_between\",\"uuid\",\"var\",\"verbatim\"],builtinFunctions:[\"abs\",\"acos\",\"asin\",\"atan\",\"bit-set\",\"boolc\",\"boolx\",\"ceil\",\"char_off\",\"charlen\",\"cmax\",\"cmin\",\"concat_lines_of\",\"contains\",\"contains_any_not_of\",\"contains_any_of\",\"cos\",\"cosh\",\"count\",\"count_any_not_of\",\"count_any_of\",\"dbmaxlen\",\"distance\",\"escape\",\"exp\",\"find_any_not_of\",\"find_any_of\",\"find_end\",\"floor\",\"frac\",\"from_mixed\",\"ipow\",\"line_exists\",\"line_index\",\"log\",\"log10\",\"matches\",\"nmax\",\"nmin\",\"numofchar\",\"repeat\",\"rescale\",\"reverse\",\"round\",\"segment\",\"shift_left\",\"shift_right\",\"sign\",\"sin\",\"sinh\",\"sqrt\",\"strlen\",\"substring\",\"substring_after\",\"substring_before\",\"substring_from\",\"substring_to\",\"tan\",\"tanh\",\"to_lower\",\"to_mixed\",\"to_upper\",\"trunc\",\"utclong_add\",\"utclong_current\",\"utclong_diff\",\"xsdbool\",\"xstrlen\"],typeKeywords:[\"b\",\"c\",\"d\",\"decfloat16\",\"decfloat34\",\"f\",\"i\",\"int8\",\"n\",\"p\",\"s\",\"string\",\"t\",\"utclong\",\"x\",\"xstring\",\"any\",\"clike\",\"csequence\",\"decfloat\",\"numeric\",\"simple\",\"xsequence\",\"accp\",\"char\",\"clnt\",\"cuky\",\"curr\",\"datn\",\"dats\",\"d16d\",\"d16n\",\"d16r\",\"d34d\",\"d34n\",\"d34r\",\"dec\",\"df16_dec\",\"df16_raw\",\"df34_dec\",\"df34_raw\",\"fltp\",\"geom_ewkb\",\"int1\",\"int2\",\"int4\",\"lang\",\"lchr\",\"lraw\",\"numc\",\"quan\",\"raw\",\"rawstring\",\"sstring\",\"timn\",\"tims\",\"unit\",\"utcl\",\"df16_scl\",\"df34_scl\",\"prec\",\"varc\",\"abap_bool\",\"abap_false\",\"abap_true\",\"abap_undefined\",\"me\",\"screen\",\"space\",\"super\",\"sy\",\"syst\",\"table_line\",\"*sys*\"],builtinMethods:[\"class_constructor\",\"constructor\"],derivedTypes:[\"%CID\",\"%CID_REF\",\"%CONTROL\",\"%DATA\",\"%ELEMENT\",\"%FAIL\",\"%KEY\",\"%MSG\",\"%PARAM\",\"%PID\",\"%PID_ASSOC\",\"%PID_PARENT\",\"%_HINTS\"],cdsLanguage:[\"@AbapAnnotation\",\"@AbapCatalog\",\"@AccessControl\",\"@API\",\"@ClientDependent\",\"@ClientHandling\",\"@CompatibilityContract\",\"@DataAging\",\"@EndUserText\",\"@Environment\",\"@LanguageDependency\",\"@MappingRole\",\"@Metadata\",\"@MetadataExtension\",\"@ObjectModel\",\"@Scope\",\"@Semantics\",\"$EXTENSION\",\"$SELF\"],selectors:[\"->\",\"->*\",\"=>\",\"~\",\"~*\"],operators:[\" +\",\" -\",\"/\",\"*\",\"**\",\"div\",\"mod\",\"=\",\"#\",\"@\",\"+=\",\"-=\",\"*=\",\"/=\",\"**=\",\"&&=\",\"?=\",\"&\",\"&&\",\"bit-and\",\"bit-not\",\"bit-or\",\"bit-xor\",\"m\",\"o\",\"z\",\"<\",\" >\",\"<=\",\">=\",\"<>\",\"><\",\"=<\",\"=>\",\"bt\",\"byte-ca\",\"byte-cn\",\"byte-co\",\"byte-cs\",\"byte-na\",\"byte-ns\",\"ca\",\"cn\",\"co\",\"cp\",\"cs\",\"eq\",\"ge\",\"gt\",\"le\",\"lt\",\"na\",\"nb\",\"ne\",\"np\",\"ns\",\"*/\",\"*:\",\"--\",\"/*\",\"//\"],symbols:/[=><!~?&+\\-*\\/\\^%#@]+/,tokenizer:{root:[[/[a-z_\\/$%@]([\\w\\/$%]|-(?!>))*/,{cases:{\"@typeKeywords\":\"type\",\"@keywords\":\"keyword\",\"@cdsLanguage\":\"annotation\",\"@derivedTypes\":\"type\",\"@builtinFunctions\":\"type\",\"@builtinMethods\":\"type\",\"@operators\":\"key\",\"@default\":\"identifier\"}}],[/<[\\w]+>/,\"identifier\"],[/##[\\w|_]+/,\"comment\"],{include:\"@whitespace\"},[/[:,.]/,\"delimiter\"],[/[{}()\\[\\]]/,\"@brackets\"],[/@symbols/,{cases:{\"@selectors\":\"tag\",\"@operators\":\"key\",\"@default\":\"\"}}],[/'/,{token:\"string\",bracket:\"@open\",next:\"@stringquote\"}],[/`/,{token:\"string\",bracket:\"@open\",next:\"@stringping\"}],[/\\|/,{token:\"string\",bracket:\"@open\",next:\"@stringtemplate\"}],[/\\d+/,\"number\"]],stringtemplate:[[/[^\\\\\\|]+/,\"string\"],[/\\\\\\|/,\"string\"],[/\\|/,{token:\"string\",bracket:\"@close\",next:\"@pop\"}]],stringping:[[/[^\\\\`]+/,\"string\"],[/`/,{token:\"string\",bracket:\"@close\",next:\"@pop\"}]],stringquote:[[/[^\\\\']+/,\"string\"],[/'/,{token:\"string\",bracket:\"@close\",next:\"@pop\"}]],whitespace:[[/[ \\t\\r\\n]+/,\"\"],[/^\\*.*$/,\"comment\"],[/\\\".*$/,\"comment\"]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/apex.7f8de8aa.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var n={wordPattern:/(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)/g,comments:{lineComment:\"//\",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:\">\"}],folding:{markers:{start:new RegExp(\"^\\\\s*//\\\\s*(?:(?:#?region\\\\b)|(?:<editor-fold\\\\b))\"),end:new RegExp(\"^\\\\s*//\\\\s*(?:(?:#?endregion\\\\b)|(?:</editor-fold>))\")}}},s=[\"abstract\",\"activate\",\"and\",\"any\",\"array\",\"as\",\"asc\",\"assert\",\"autonomous\",\"begin\",\"bigdecimal\",\"blob\",\"boolean\",\"break\",\"bulk\",\"by\",\"case\",\"cast\",\"catch\",\"char\",\"class\",\"collect\",\"commit\",\"const\",\"continue\",\"convertcurrency\",\"decimal\",\"default\",\"delete\",\"desc\",\"do\",\"double\",\"else\",\"end\",\"enum\",\"exception\",\"exit\",\"export\",\"extends\",\"false\",\"final\",\"finally\",\"float\",\"for\",\"from\",\"future\",\"get\",\"global\",\"goto\",\"group\",\"having\",\"hint\",\"if\",\"implements\",\"import\",\"in\",\"inner\",\"insert\",\"instanceof\",\"int\",\"interface\",\"into\",\"join\",\"last_90_days\",\"last_month\",\"last_n_days\",\"last_week\",\"like\",\"limit\",\"list\",\"long\",\"loop\",\"map\",\"merge\",\"native\",\"new\",\"next_90_days\",\"next_month\",\"next_n_days\",\"next_week\",\"not\",\"null\",\"nulls\",\"number\",\"object\",\"of\",\"on\",\"or\",\"outer\",\"override\",\"package\",\"parallel\",\"pragma\",\"private\",\"protected\",\"public\",\"retrieve\",\"return\",\"returning\",\"rollback\",\"savepoint\",\"search\",\"select\",\"set\",\"short\",\"sort\",\"stat\",\"static\",\"strictfp\",\"super\",\"switch\",\"synchronized\",\"system\",\"testmethod\",\"then\",\"this\",\"this_month\",\"this_week\",\"throw\",\"throws\",\"today\",\"tolabel\",\"tomorrow\",\"transaction\",\"transient\",\"trigger\",\"true\",\"try\",\"type\",\"undelete\",\"update\",\"upsert\",\"using\",\"virtual\",\"void\",\"volatile\",\"webservice\",\"when\",\"where\",\"while\",\"yesterday\"],o=e=>e.charAt(0).toUpperCase()+e.substr(1),t=[];s.forEach(e=>{t.push(e),t.push(e.toUpperCase()),t.push(o(e))});var i={defaultToken:\"\",tokenPostfix:\".apex\",keywords:t,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]+)*/,tokenizer:{root:[[/[a-z_$][\\w$]*/,{cases:{\"@keywords\":{token:\"keyword.$0\"},\"@default\":\"identifier\"}}],[/[A-Z][\\w\\$]*/,{cases:{\"@keywords\":{token:\"keyword.$0\"},\"@default\":\"type.identifier\"}}],{include:\"@whitespace\"},[/[{}()\\[\\]]/,\"@brackets\"],[/[<>](?!@symbols)/,\"@brackets\"],[/@symbols/,{cases:{\"@operators\":\"delimiter\",\"@default\":\"\"}}],[/@\\s*[a-zA-Z_\\$][\\w\\$]*/,\"annotation\"],[/(@digits)[eE]([\\-+]?(@digits))?[fFdD]?/,\"number.float\"],[/(@digits)\\.(@digits)([eE][\\-+]?(@digits))?[fFdD]?/,\"number.float\"],[/(@digits)[fFdD]/,\"number.float\"],[/(@digits)[lL]?/,\"number\"],[/[;,.]/,\"delimiter\"],[/\"([^\"\\\\]|\\\\.)*$/,\"string.invalid\"],[/'([^'\\\\]|\\\\.)*$/,\"string.invalid\"],[/\"/,\"string\",'@string.\"'],[/'/,\"string\",\"@string.'\"],[/'[^\\\\']'/,\"string\"],[/(')(@escapes)(')/,[\"string\",\"string.escape\",\"string\"]],[/'/,\"string.invalid\"]],whitespace:[[/[ \\t\\r\\n]+/,\"\"],[/\\/\\*\\*(?!\\/)/,\"comment.doc\",\"@apexdoc\"],[/\\/\\*/,\"comment\",\"@comment\"],[/\\/\\/.*$/,\"comment\"]],comment:[[/[^\\/*]+/,\"comment\"],[/\\*\\//,\"comment\",\"@pop\"],[/[\\/*]/,\"comment\"]],apexdoc:[[/[^\\/*]+/,\"comment.doc\"],[/\\*\\//,\"comment.doc\",\"@pop\"],[/[\\/*]/,\"comment.doc\"]],string:[[/[^\\\\\"']+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/[\"']/,{cases:{\"$#==$S2\":{token:\"string\",next:\"@pop\"},\"@default\":\"string\"}}]]}};export{n as conf,i as language};\n"
  },
  {
    "path": "client/dist/assets/azcli.0519e511.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"#\"}},t={defaultToken:\"keyword\",ignoreCase:!0,tokenPostfix:\".azcli\",str:/[^#\\s]/,tokenizer:{root:[{include:\"@comment\"},[/\\s-+@str*\\s*/,{cases:{\"@eos\":{token:\"key.identifier\",next:\"@popall\"},\"@default\":{token:\"key.identifier\",next:\"@type\"}}}],[/^-+@str*\\s*/,{cases:{\"@eos\":{token:\"key.identifier\",next:\"@popall\"},\"@default\":{token:\"key.identifier\",next:\"@type\"}}}]],type:[{include:\"@comment\"},[/-+@str*\\s*/,{cases:{\"@eos\":{token:\"key.identifier\",next:\"@popall\"},\"@default\":\"key.identifier\"}}],[/@str+\\s*/,{cases:{\"@eos\":{token:\"string\",next:\"@popall\"},\"@default\":\"string\"}}]],comment:[[/#.*$/,{cases:{\"@eos\":{token:\"comment\",next:\"@popall\"}}}]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/bat.f2d79e9d.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"REM\"},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'}],surroundingPairs:[{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'}],folding:{markers:{start:new RegExp(\"^\\\\s*(::\\\\s*|REM\\\\s+)#region\"),end:new RegExp(\"^\\\\s*(::\\\\s*|REM\\\\s+)#endregion\")}}},s={defaultToken:\"\",ignoreCase:!0,tokenPostfix:\".bat\",brackets:[{token:\"delimiter.bracket\",open:\"{\",close:\"}\"},{token:\"delimiter.parenthesis\",open:\"(\",close:\")\"},{token:\"delimiter.square\",open:\"[\",close:\"]\"}],keywords:/call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,symbols:/[=><!~?&|+\\-*\\/\\^;\\.,]+/,escapes:/\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\\s*)(rem(?:\\s.*|))$/,[\"\",\"comment\"]],[/(\\@?)(@keywords)(?!\\w)/,[{token:\"keyword\"},{token:\"keyword.$2\"}]],[/[ \\t\\r\\n]+/,\"\"],[/setlocal(?!\\w)/,\"keyword.tag-setlocal\"],[/endlocal(?!\\w)/,\"keyword.tag-setlocal\"],[/[a-zA-Z_]\\w*/,\"\"],[/:\\w*/,\"metatag\"],[/%[^%]+%/,\"variable\"],[/%%[\\w]+(?!\\w)/,\"variable\"],[/[{}()\\[\\]]/,\"@brackets\"],[/@symbols/,\"delimiter\"],[/\\d*\\.\\d+([eE][\\-+]?\\d+)?/,\"number.float\"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,\"number.hex\"],[/\\d+/,\"number\"],[/[;,.]/,\"delimiter\"],[/\"/,\"string\",'@string.\"'],[/'/,\"string\",\"@string.'\"]],string:[[/[^\\\\\"'%]+/,{cases:{\"@eos\":{token:\"string\",next:\"@popall\"},\"@default\":\"string\"}}],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/%[\\w ]+%/,\"variable\"],[/%%[\\w]+(?!\\w)/,\"variable\"],[/[\"']/,{cases:{\"$#==$S2\":{token:\"string\",next:\"@pop\"},\"@default\":\"string\"}}],[/$/,\"string\",\"@popall\"]]}};export{e as conf,s as language};\n"
  },
  {
    "path": "client/dist/assets/bicep.e8099262.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var n=e=>`\\\\b${e}\\\\b`,t=\"[_a-zA-Z]\",o=\"[_a-zA-Z0-9]\",r=n(`${t}${o}*`),i=[\"targetScope\",\"resource\",\"module\",\"param\",\"var\",\"output\",\"for\",\"in\",\"if\",\"existing\"],a=[\"true\",\"false\",\"null\"],s=\"[ \\\\t\\\\r\\\\n]\",c=\"[0-9]+\",g={comments:{lineComment:\"//\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"'\",close:\"'\"},{open:\"'''\",close:\"'''\"}],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"'\",close:\"'\",notIn:[\"string\",\"comment\"]},{open:\"'''\",close:\"'''\",notIn:[\"string\",\"comment\"]}],autoCloseBefore:`:.,=}])' \n\t`,indentationRules:{increaseIndentPattern:new RegExp(\"^((?!\\\\/\\\\/).)*(\\\\{[^}\\\"'`]*|\\\\([^)\\\"'`]*|\\\\[[^\\\\]\\\"'`]*)$\"),decreaseIndentPattern:new RegExp(\"^((?!.*?\\\\/\\\\*).*\\\\*/)?\\\\s*[\\\\}\\\\]].*$\")}},l={defaultToken:\"\",tokenPostfix:\".bicep\",brackets:[{open:\"{\",close:\"}\",token:\"delimiter.curly\"},{open:\"[\",close:\"]\",token:\"delimiter.square\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"}],symbols:/[=><!~?:&|+\\-*/^%]+/,keywords:i,namedLiterals:a,escapes:\"\\\\\\\\(u{[0-9A-Fa-f]+}|n|r|t|\\\\\\\\|'|\\\\${)\",tokenizer:{root:[{include:\"@expression\"},{include:\"@whitespace\"}],stringVerbatim:[{regex:\"(|'|'')[^']\",action:{token:\"string\"}},{regex:\"'''\",action:{token:\"string.quote\",next:\"@pop\"}}],stringLiteral:[{regex:\"\\\\${\",action:{token:\"delimiter.bracket\",next:\"@bracketCounting\"}},{regex:\"[^\\\\\\\\'$]+\",action:{token:\"string\"}},{regex:\"@escapes\",action:{token:\"string.escape\"}},{regex:\"\\\\\\\\.\",action:{token:\"string.escape.invalid\"}},{regex:\"'\",action:{token:\"string\",next:\"@pop\"}}],bracketCounting:[{regex:\"{\",action:{token:\"delimiter.bracket\",next:\"@bracketCounting\"}},{regex:\"}\",action:{token:\"delimiter.bracket\",next:\"@pop\"}},{include:\"expression\"}],comment:[{regex:\"[^\\\\*]+\",action:{token:\"comment\"}},{regex:\"\\\\*\\\\/\",action:{token:\"comment\",next:\"@pop\"}},{regex:\"[\\\\/*]\",action:{token:\"comment\"}}],whitespace:[{regex:s},{regex:\"\\\\/\\\\*\",action:{token:\"comment\",next:\"@comment\"}},{regex:\"\\\\/\\\\/.*$\",action:{token:\"comment\"}}],expression:[{regex:\"'''\",action:{token:\"string.quote\",next:\"@stringVerbatim\"}},{regex:\"'\",action:{token:\"string.quote\",next:\"@stringLiteral\"}},{regex:c,action:{token:\"number\"}},{regex:r,action:{cases:{\"@keywords\":{token:\"keyword\"},\"@namedLiterals\":{token:\"keyword\"},\"@default\":{token:\"identifier\"}}}}]}};export{g as conf,l as language};\n"
  },
  {
    "path": "client/dist/assets/cameligo.180434f7.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"//\",blockComment:[\"(*\",\"*)\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"],[\"<\",\">\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"<\",close:\">\"},{open:\"'\",close:\"'\"},{open:'\"',close:'\"'},{open:\"(*\",close:\"*)\"}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"<\",close:\">\"},{open:\"'\",close:\"'\"},{open:'\"',close:'\"'},{open:\"(*\",close:\"*)\"}]},o={defaultToken:\"\",tokenPostfix:\".cameligo\",ignoreCase:!0,brackets:[{open:\"{\",close:\"}\",token:\"delimiter.curly\"},{open:\"[\",close:\"]\",token:\"delimiter.square\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"},{open:\"<\",close:\">\",token:\"delimiter.angle\"}],keywords:[\"abs\",\"assert\",\"block\",\"Bytes\",\"case\",\"Crypto\",\"Current\",\"else\",\"failwith\",\"false\",\"for\",\"fun\",\"if\",\"in\",\"let\",\"let%entry\",\"let%init\",\"List\",\"list\",\"Map\",\"map\",\"match\",\"match%nat\",\"mod\",\"not\",\"operation\",\"Operation\",\"of\",\"record\",\"Set\",\"set\",\"sender\",\"skip\",\"source\",\"String\",\"then\",\"to\",\"true\",\"type\",\"with\"],typeKeywords:[\"int\",\"unit\",\"string\",\"tz\",\"nat\",\"bool\"],operators:[\"=\",\">\",\"<\",\"<=\",\">=\",\"<>\",\":\",\":=\",\"and\",\"mod\",\"or\",\"+\",\"-\",\"*\",\"/\",\"@\",\"&\",\"^\",\"%\",\"->\",\"<-\",\"&&\",\"||\"],symbols:/[=><:@\\^&|+\\-*\\/\\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\\w]*/,{cases:{\"@keywords\":{token:\"keyword.$0\"},\"@default\":\"identifier\"}}],{include:\"@whitespace\"},[/[{}()\\[\\]]/,\"@brackets\"],[/[<>](?!@symbols)/,\"@brackets\"],[/@symbols/,{cases:{\"@operators\":\"delimiter\",\"@default\":\"\"}}],[/\\d*\\.\\d+([eE][\\-+]?\\d+)?/,\"number.float\"],[/\\$[0-9a-fA-F]{1,16}/,\"number.hex\"],[/\\d+/,\"number\"],[/[;,.]/,\"delimiter\"],[/'([^'\\\\]|\\\\.)*$/,\"string.invalid\"],[/'/,\"string\",\"@string\"],[/'[^\\\\']'/,\"string\"],[/'/,\"string.invalid\"],[/\\#\\d+/,\"string\"]],comment:[[/[^\\(\\*]+/,\"comment\"],[/\\*\\)/,\"comment\",\"@pop\"],[/\\(\\*/,\"comment\"]],string:[[/[^\\\\']+/,\"string\"],[/\\\\./,\"string.escape.invalid\"],[/'/,{token:\"string.quote\",bracket:\"@close\",next:\"@pop\"}]],whitespace:[[/[ \\t\\r\\n]+/,\"white\"],[/\\(\\*/,\"comment\",\"@comment\"],[/\\/\\/.*$/,\"comment\"]]}};export{e as conf,o as language};\n"
  },
  {
    "path": "client/dist/assets/clojure.c88913fe.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\";;\"},brackets:[[\"[\",\"]\"],[\"(\",\")\"],[\"{\",\"}\"]],autoClosingPairs:[{open:\"[\",close:\"]\"},{open:'\"',close:'\"'},{open:\"(\",close:\")\"},{open:\"{\",close:\"}\"}],surroundingPairs:[{open:\"[\",close:\"]\"},{open:'\"',close:'\"'},{open:\"(\",close:\")\"},{open:\"{\",close:\"}\"}]},t={defaultToken:\"\",ignoreCase:!0,tokenPostfix:\".clj\",brackets:[{open:\"[\",close:\"]\",token:\"delimiter.square\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"},{open:\"{\",close:\"}\",token:\"delimiter.curly\"}],constants:[\"true\",\"false\",\"nil\"],numbers:/^(?:[+\\-]?\\d+(?:(?:N|(?:[eE][+\\-]?\\d+))|(?:\\.?\\d*(?:M|(?:[eE][+\\-]?\\d+))?)|\\/\\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\\\\[\\]\\s\"#'(),;@^`{}~]|$))/,characters:/^(?:\\\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\\\\[\\]\\s\"(),;@^`{}~]|$))/,escapes:/^\\\\(?:[\"'\\\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,qualifiedSymbols:/^(?:(?:[^\\\\\\/\\[\\]\\d\\s\"#'(),;@^`{}~][^\\\\\\[\\]\\s\"(),;@^`{}~]*(?:\\.[^\\\\\\/\\[\\]\\d\\s\"#'(),;@^`{}~][^\\\\\\[\\]\\s\"(),;@^`{}~]*)*\\/)?(?:\\/|[^\\\\\\/\\[\\]\\d\\s\"#'(),;@^`{}~][^\\\\\\[\\]\\s\"(),;@^`{}~]*)*(?=[\\\\\\[\\]\\s\"(),;@^`{}~]|$))/,specialForms:[\".\",\"catch\",\"def\",\"do\",\"if\",\"monitor-enter\",\"monitor-exit\",\"new\",\"quote\",\"recur\",\"set!\",\"throw\",\"try\",\"var\"],coreSymbols:[\"*\",\"*'\",\"*1\",\"*2\",\"*3\",\"*agent*\",\"*allow-unresolved-vars*\",\"*assert*\",\"*clojure-version*\",\"*command-line-args*\",\"*compile-files*\",\"*compile-path*\",\"*compiler-options*\",\"*data-readers*\",\"*default-data-reader-fn*\",\"*e\",\"*err*\",\"*file*\",\"*flush-on-newline*\",\"*fn-loader*\",\"*in*\",\"*math-context*\",\"*ns*\",\"*out*\",\"*print-dup*\",\"*print-length*\",\"*print-level*\",\"*print-meta*\",\"*print-namespace-maps*\",\"*print-readably*\",\"*read-eval*\",\"*reader-resolver*\",\"*source-path*\",\"*suppress-read*\",\"*unchecked-math*\",\"*use-context-classloader*\",\"*verbose-defrecords*\",\"*warn-on-reflection*\",\"+\",\"+'\",\"-\",\"-'\",\"->\",\"->>\",\"->ArrayChunk\",\"->Eduction\",\"->Vec\",\"->VecNode\",\"->VecSeq\",\"-cache-protocol-fn\",\"-reset-methods\",\"..\",\"/\",\"<\",\"<=\",\"=\",\"==\",\">\",\">=\",\"EMPTY-NODE\",\"Inst\",\"StackTraceElement->vec\",\"Throwable->map\",\"accessor\",\"aclone\",\"add-classpath\",\"add-watch\",\"agent\",\"agent-error\",\"agent-errors\",\"aget\",\"alength\",\"alias\",\"all-ns\",\"alter\",\"alter-meta!\",\"alter-var-root\",\"amap\",\"ancestors\",\"and\",\"any?\",\"apply\",\"areduce\",\"array-map\",\"as->\",\"aset\",\"aset-boolean\",\"aset-byte\",\"aset-char\",\"aset-double\",\"aset-float\",\"aset-int\",\"aset-long\",\"aset-short\",\"assert\",\"assoc\",\"assoc!\",\"assoc-in\",\"associative?\",\"atom\",\"await\",\"await-for\",\"await1\",\"bases\",\"bean\",\"bigdec\",\"bigint\",\"biginteger\",\"binding\",\"bit-and\",\"bit-and-not\",\"bit-clear\",\"bit-flip\",\"bit-not\",\"bit-or\",\"bit-set\",\"bit-shift-left\",\"bit-shift-right\",\"bit-test\",\"bit-xor\",\"boolean\",\"boolean-array\",\"boolean?\",\"booleans\",\"bound-fn\",\"bound-fn*\",\"bound?\",\"bounded-count\",\"butlast\",\"byte\",\"byte-array\",\"bytes\",\"bytes?\",\"case\",\"cast\",\"cat\",\"char\",\"char-array\",\"char-escape-string\",\"char-name-string\",\"char?\",\"chars\",\"chunk\",\"chunk-append\",\"chunk-buffer\",\"chunk-cons\",\"chunk-first\",\"chunk-next\",\"chunk-rest\",\"chunked-seq?\",\"class\",\"class?\",\"clear-agent-errors\",\"clojure-version\",\"coll?\",\"comment\",\"commute\",\"comp\",\"comparator\",\"compare\",\"compare-and-set!\",\"compile\",\"complement\",\"completing\",\"concat\",\"cond\",\"cond->\",\"cond->>\",\"condp\",\"conj\",\"conj!\",\"cons\",\"constantly\",\"construct-proxy\",\"contains?\",\"count\",\"counted?\",\"create-ns\",\"create-struct\",\"cycle\",\"dec\",\"dec'\",\"decimal?\",\"declare\",\"dedupe\",\"default-data-readers\",\"definline\",\"definterface\",\"defmacro\",\"defmethod\",\"defmulti\",\"defn\",\"defn-\",\"defonce\",\"defprotocol\",\"defrecord\",\"defstruct\",\"deftype\",\"delay\",\"delay?\",\"deliver\",\"denominator\",\"deref\",\"derive\",\"descendants\",\"destructure\",\"disj\",\"disj!\",\"dissoc\",\"dissoc!\",\"distinct\",\"distinct?\",\"doall\",\"dorun\",\"doseq\",\"dosync\",\"dotimes\",\"doto\",\"double\",\"double-array\",\"double?\",\"doubles\",\"drop\",\"drop-last\",\"drop-while\",\"eduction\",\"empty\",\"empty?\",\"ensure\",\"ensure-reduced\",\"enumeration-seq\",\"error-handler\",\"error-mode\",\"eval\",\"even?\",\"every-pred\",\"every?\",\"ex-data\",\"ex-info\",\"extend\",\"extend-protocol\",\"extend-type\",\"extenders\",\"extends?\",\"false?\",\"ffirst\",\"file-seq\",\"filter\",\"filterv\",\"find\",\"find-keyword\",\"find-ns\",\"find-protocol-impl\",\"find-protocol-method\",\"find-var\",\"first\",\"flatten\",\"float\",\"float-array\",\"float?\",\"floats\",\"flush\",\"fn\",\"fn?\",\"fnext\",\"fnil\",\"for\",\"force\",\"format\",\"frequencies\",\"future\",\"future-call\",\"future-cancel\",\"future-cancelled?\",\"future-done?\",\"future?\",\"gen-class\",\"gen-interface\",\"gensym\",\"get\",\"get-in\",\"get-method\",\"get-proxy-class\",\"get-thread-bindings\",\"get-validator\",\"group-by\",\"halt-when\",\"hash\",\"hash-combine\",\"hash-map\",\"hash-ordered-coll\",\"hash-set\",\"hash-unordered-coll\",\"ident?\",\"identical?\",\"identity\",\"if-let\",\"if-not\",\"if-some\",\"ifn?\",\"import\",\"in-ns\",\"inc\",\"inc'\",\"indexed?\",\"init-proxy\",\"inst-ms\",\"inst-ms*\",\"inst?\",\"instance?\",\"int\",\"int-array\",\"int?\",\"integer?\",\"interleave\",\"intern\",\"interpose\",\"into\",\"into-array\",\"ints\",\"io!\",\"isa?\",\"iterate\",\"iterator-seq\",\"juxt\",\"keep\",\"keep-indexed\",\"key\",\"keys\",\"keyword\",\"keyword?\",\"last\",\"lazy-cat\",\"lazy-seq\",\"let\",\"letfn\",\"line-seq\",\"list\",\"list*\",\"list?\",\"load\",\"load-file\",\"load-reader\",\"load-string\",\"loaded-libs\",\"locking\",\"long\",\"long-array\",\"longs\",\"loop\",\"macroexpand\",\"macroexpand-1\",\"make-array\",\"make-hierarchy\",\"map\",\"map-entry?\",\"map-indexed\",\"map?\",\"mapcat\",\"mapv\",\"max\",\"max-key\",\"memfn\",\"memoize\",\"merge\",\"merge-with\",\"meta\",\"method-sig\",\"methods\",\"min\",\"min-key\",\"mix-collection-hash\",\"mod\",\"munge\",\"name\",\"namespace\",\"namespace-munge\",\"nat-int?\",\"neg-int?\",\"neg?\",\"newline\",\"next\",\"nfirst\",\"nil?\",\"nnext\",\"not\",\"not-any?\",\"not-empty\",\"not-every?\",\"not=\",\"ns\",\"ns-aliases\",\"ns-imports\",\"ns-interns\",\"ns-map\",\"ns-name\",\"ns-publics\",\"ns-refers\",\"ns-resolve\",\"ns-unalias\",\"ns-unmap\",\"nth\",\"nthnext\",\"nthrest\",\"num\",\"number?\",\"numerator\",\"object-array\",\"odd?\",\"or\",\"parents\",\"partial\",\"partition\",\"partition-all\",\"partition-by\",\"pcalls\",\"peek\",\"persistent!\",\"pmap\",\"pop\",\"pop!\",\"pop-thread-bindings\",\"pos-int?\",\"pos?\",\"pr\",\"pr-str\",\"prefer-method\",\"prefers\",\"primitives-classnames\",\"print\",\"print-ctor\",\"print-dup\",\"print-method\",\"print-simple\",\"print-str\",\"printf\",\"println\",\"println-str\",\"prn\",\"prn-str\",\"promise\",\"proxy\",\"proxy-call-with-super\",\"proxy-mappings\",\"proxy-name\",\"proxy-super\",\"push-thread-bindings\",\"pvalues\",\"qualified-ident?\",\"qualified-keyword?\",\"qualified-symbol?\",\"quot\",\"rand\",\"rand-int\",\"rand-nth\",\"random-sample\",\"range\",\"ratio?\",\"rational?\",\"rationalize\",\"re-find\",\"re-groups\",\"re-matcher\",\"re-matches\",\"re-pattern\",\"re-seq\",\"read\",\"read-line\",\"read-string\",\"reader-conditional\",\"reader-conditional?\",\"realized?\",\"record?\",\"reduce\",\"reduce-kv\",\"reduced\",\"reduced?\",\"reductions\",\"ref\",\"ref-history-count\",\"ref-max-history\",\"ref-min-history\",\"ref-set\",\"refer\",\"refer-clojure\",\"reify\",\"release-pending-sends\",\"rem\",\"remove\",\"remove-all-methods\",\"remove-method\",\"remove-ns\",\"remove-watch\",\"repeat\",\"repeatedly\",\"replace\",\"replicate\",\"require\",\"reset!\",\"reset-meta!\",\"reset-vals!\",\"resolve\",\"rest\",\"restart-agent\",\"resultset-seq\",\"reverse\",\"reversible?\",\"rseq\",\"rsubseq\",\"run!\",\"satisfies?\",\"second\",\"select-keys\",\"send\",\"send-off\",\"send-via\",\"seq\",\"seq?\",\"seqable?\",\"seque\",\"sequence\",\"sequential?\",\"set\",\"set-agent-send-executor!\",\"set-agent-send-off-executor!\",\"set-error-handler!\",\"set-error-mode!\",\"set-validator!\",\"set?\",\"short\",\"short-array\",\"shorts\",\"shuffle\",\"shutdown-agents\",\"simple-ident?\",\"simple-keyword?\",\"simple-symbol?\",\"slurp\",\"some\",\"some->\",\"some->>\",\"some-fn\",\"some?\",\"sort\",\"sort-by\",\"sorted-map\",\"sorted-map-by\",\"sorted-set\",\"sorted-set-by\",\"sorted?\",\"special-symbol?\",\"spit\",\"split-at\",\"split-with\",\"str\",\"string?\",\"struct\",\"struct-map\",\"subs\",\"subseq\",\"subvec\",\"supers\",\"swap!\",\"swap-vals!\",\"symbol\",\"symbol?\",\"sync\",\"tagged-literal\",\"tagged-literal?\",\"take\",\"take-last\",\"take-nth\",\"take-while\",\"test\",\"the-ns\",\"thread-bound?\",\"time\",\"to-array\",\"to-array-2d\",\"trampoline\",\"transduce\",\"transient\",\"tree-seq\",\"true?\",\"type\",\"unchecked-add\",\"unchecked-add-int\",\"unchecked-byte\",\"unchecked-char\",\"unchecked-dec\",\"unchecked-dec-int\",\"unchecked-divide-int\",\"unchecked-double\",\"unchecked-float\",\"unchecked-inc\",\"unchecked-inc-int\",\"unchecked-int\",\"unchecked-long\",\"unchecked-multiply\",\"unchecked-multiply-int\",\"unchecked-negate\",\"unchecked-negate-int\",\"unchecked-remainder-int\",\"unchecked-short\",\"unchecked-subtract\",\"unchecked-subtract-int\",\"underive\",\"unquote\",\"unquote-splicing\",\"unreduced\",\"unsigned-bit-shift-right\",\"update\",\"update-in\",\"update-proxy\",\"uri?\",\"use\",\"uuid?\",\"val\",\"vals\",\"var-get\",\"var-set\",\"var?\",\"vary-meta\",\"vec\",\"vector\",\"vector-of\",\"vector?\",\"volatile!\",\"volatile?\",\"vreset!\",\"vswap!\",\"when\",\"when-first\",\"when-let\",\"when-not\",\"when-some\",\"while\",\"with-bindings\",\"with-bindings*\",\"with-in-str\",\"with-loading-context\",\"with-local-vars\",\"with-meta\",\"with-open\",\"with-out-str\",\"with-precision\",\"with-redefs\",\"with-redefs-fn\",\"xml-seq\",\"zero?\",\"zipmap\"],tokenizer:{root:[{include:\"@whitespace\"},[/@numbers/,\"number\"],[/@characters/,\"string\"],{include:\"@string\"},[/[()\\[\\]{}]/,\"@brackets\"],[/\\/#\"(?:\\.|(?:\")|[^\"\\n])*\"\\/g/,\"regexp\"],[/[#'@^`~]/,\"meta\"],[/@qualifiedSymbols/,{cases:{\"^:.+$\":\"constant\",\"@specialForms\":\"keyword\",\"@coreSymbols\":\"keyword\",\"@constants\":\"constant\",\"@default\":\"identifier\"}}]],whitespace:[[/[\\s,]+/,\"white\"],[/;.*$/,\"comment\"],[/\\(comment\\b/,\"comment\",\"@comment\"]],comment:[[/\\(/,\"comment\",\"@push\"],[/\\)/,\"comment\",\"@pop\"],[/[^()]/,\"comment\"]],string:[[/\"/,\"string\",\"@multiLineString\"]],multiLineString:[[/\"/,\"string\",\"@popall\"],[/@escapes/,\"string.escape\"],[/./,\"string\"]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/coffee.8a1694f5.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={wordPattern:/(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#%\\^\\&\\*\\(\\)\\=\\$\\-\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)/g,comments:{blockComment:[\"###\",\"###\"],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:{markers:{start:new RegExp(\"^\\\\s*#region\\\\b\"),end:new RegExp(\"^\\\\s*#endregion\\\\b\")}}},r={defaultToken:\"\",ignoreCase:!0,tokenPostfix:\".coffee\",brackets:[{open:\"{\",close:\"}\",token:\"delimiter.curly\"},{open:\"[\",close:\"]\",token:\"delimiter.square\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"}],regEx:/\\/(?!\\/\\/)(?:[^\\/\\\\]|\\\\.)*\\/[igm]*/,keywords:[\"and\",\"or\",\"is\",\"isnt\",\"not\",\"on\",\"yes\",\"@\",\"no\",\"off\",\"true\",\"false\",\"null\",\"this\",\"new\",\"delete\",\"typeof\",\"in\",\"instanceof\",\"return\",\"throw\",\"break\",\"continue\",\"debugger\",\"if\",\"else\",\"switch\",\"for\",\"while\",\"do\",\"try\",\"catch\",\"finally\",\"class\",\"extends\",\"super\",\"undefined\",\"then\",\"unless\",\"until\",\"loop\",\"of\",\"by\",\"when\"],symbols:/[=><!~?&%|+\\-*\\/\\^\\.,\\:]+/,escapes:/\\\\(?:[abfnrtv\\\\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\\@[a-zA-Z_]\\w*/,\"variable.predefined\"],[/[a-zA-Z_]\\w*/,{cases:{this:\"variable.predefined\",\"@keywords\":{token:\"keyword.$0\"},\"@default\":\"\"}}],[/[ \\t\\r\\n]+/,\"\"],[/###/,\"comment\",\"@comment\"],[/#.*$/,\"comment\"],[\"///\",{token:\"regexp\",next:\"@hereregexp\"}],[/^(\\s*)(@regEx)/,[\"\",\"regexp\"]],[/(\\()(\\s*)(@regEx)/,[\"@brackets\",\"\",\"regexp\"]],[/(\\,)(\\s*)(@regEx)/,[\"delimiter\",\"\",\"regexp\"]],[/(\\=)(\\s*)(@regEx)/,[\"delimiter\",\"\",\"regexp\"]],[/(\\:)(\\s*)(@regEx)/,[\"delimiter\",\"\",\"regexp\"]],[/(\\[)(\\s*)(@regEx)/,[\"@brackets\",\"\",\"regexp\"]],[/(\\!)(\\s*)(@regEx)/,[\"delimiter\",\"\",\"regexp\"]],[/(\\&)(\\s*)(@regEx)/,[\"delimiter\",\"\",\"regexp\"]],[/(\\|)(\\s*)(@regEx)/,[\"delimiter\",\"\",\"regexp\"]],[/(\\?)(\\s*)(@regEx)/,[\"delimiter\",\"\",\"regexp\"]],[/(\\{)(\\s*)(@regEx)/,[\"@brackets\",\"\",\"regexp\"]],[/(\\;)(\\s*)(@regEx)/,[\"\",\"\",\"regexp\"]],[/}/,{cases:{\"$S2==interpolatedstring\":{token:\"string\",next:\"@pop\"},\"@default\":\"@brackets\"}}],[/[{}()\\[\\]]/,\"@brackets\"],[/@symbols/,\"delimiter\"],[/\\d+[eE]([\\-+]?\\d+)?/,\"number.float\"],[/\\d+\\.\\d+([eE][\\-+]?\\d+)?/,\"number.float\"],[/0[xX][0-9a-fA-F]+/,\"number.hex\"],[/0[0-7]+(?!\\d)/,\"number.octal\"],[/\\d+/,\"number\"],[/[,.]/,\"delimiter\"],[/\"\"\"/,\"string\",'@herestring.\"\"\"'],[/'''/,\"string\",\"@herestring.'''\"],[/\"/,{cases:{\"@eos\":\"string\",\"@default\":{token:\"string\",next:'@string.\"'}}}],[/'/,{cases:{\"@eos\":\"string\",\"@default\":{token:\"string\",next:\"@string.'\"}}}]],string:[[/[^\"'\\#\\\\]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\./,\"string.escape.invalid\"],[/\\./,\"string.escape.invalid\"],[/#{/,{cases:{'$S2==\"':{token:\"string\",next:\"root.interpolatedstring\"},\"@default\":\"string\"}}],[/[\"']/,{cases:{\"$#==$S2\":{token:\"string\",next:\"@pop\"},\"@default\":\"string\"}}],[/#/,\"string\"]],herestring:[[/(\"\"\"|''')/,{cases:{\"$1==$S2\":{token:\"string\",next:\"@pop\"},\"@default\":\"string\"}}],[/[^#\\\\'\"]+/,\"string\"],[/['\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\./,\"string.escape.invalid\"],[/#{/,{token:\"string.quote\",next:\"root.interpolatedstring\"}],[/#/,\"string\"]],comment:[[/[^#]+/,\"comment\"],[/###/,\"comment\",\"@pop\"],[/#/,\"comment\"]],hereregexp:[[/[^\\\\\\/#]+/,\"regexp\"],[/\\\\./,\"regexp\"],[/#.*$/,\"comment\"],[\"///[igm]*\",{token:\"regexp\",next:\"@pop\"}],[/\\//,\"regexp\"]]}};export{e as conf,r as language};\n"
  },
  {
    "path": "client/dist/assets/cpp.c409f790.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"//\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"[\",close:\"]\"},{open:\"{\",close:\"}\"},{open:\"(\",close:\")\"},{open:\"'\",close:\"'\",notIn:[\"string\",\"comment\"]},{open:'\"',close:'\"',notIn:[\"string\"]}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],folding:{markers:{start:new RegExp(\"^\\\\s*#pragma\\\\s+region\\\\b\"),end:new RegExp(\"^\\\\s*#pragma\\\\s+endregion\\\\b\")}}},t={defaultToken:\"\",tokenPostfix:\".cpp\",brackets:[{token:\"delimiter.curly\",open:\"{\",close:\"}\"},{token:\"delimiter.parenthesis\",open:\"(\",close:\")\"},{token:\"delimiter.square\",open:\"[\",close:\"]\"},{token:\"delimiter.angle\",open:\"<\",close:\">\"}],keywords:[\"abstract\",\"amp\",\"array\",\"auto\",\"bool\",\"break\",\"case\",\"catch\",\"char\",\"class\",\"const\",\"constexpr\",\"const_cast\",\"continue\",\"cpu\",\"decltype\",\"default\",\"delegate\",\"delete\",\"do\",\"double\",\"dynamic_cast\",\"each\",\"else\",\"enum\",\"event\",\"explicit\",\"export\",\"extern\",\"false\",\"final\",\"finally\",\"float\",\"for\",\"friend\",\"gcnew\",\"generic\",\"goto\",\"if\",\"in\",\"initonly\",\"inline\",\"int\",\"interface\",\"interior_ptr\",\"internal\",\"literal\",\"long\",\"mutable\",\"namespace\",\"new\",\"noexcept\",\"nullptr\",\"__nullptr\",\"operator\",\"override\",\"partial\",\"pascal\",\"pin_ptr\",\"private\",\"property\",\"protected\",\"public\",\"ref\",\"register\",\"reinterpret_cast\",\"restrict\",\"return\",\"safe_cast\",\"sealed\",\"short\",\"signed\",\"sizeof\",\"static\",\"static_assert\",\"static_cast\",\"struct\",\"switch\",\"template\",\"this\",\"thread_local\",\"throw\",\"tile_static\",\"true\",\"try\",\"typedef\",\"typeid\",\"typename\",\"union\",\"unsigned\",\"using\",\"virtual\",\"void\",\"volatile\",\"wchar_t\",\"where\",\"while\",\"_asm\",\"_based\",\"_cdecl\",\"_declspec\",\"_fastcall\",\"_if_exists\",\"_if_not_exists\",\"_inline\",\"_multiple_inheritance\",\"_pascal\",\"_single_inheritance\",\"_stdcall\",\"_virtual_inheritance\",\"_w64\",\"__abstract\",\"__alignof\",\"__asm\",\"__assume\",\"__based\",\"__box\",\"__builtin_alignof\",\"__cdecl\",\"__clrcall\",\"__declspec\",\"__delegate\",\"__event\",\"__except\",\"__fastcall\",\"__finally\",\"__forceinline\",\"__gc\",\"__hook\",\"__identifier\",\"__if_exists\",\"__if_not_exists\",\"__inline\",\"__int128\",\"__int16\",\"__int32\",\"__int64\",\"__int8\",\"__interface\",\"__leave\",\"__m128\",\"__m128d\",\"__m128i\",\"__m256\",\"__m256d\",\"__m256i\",\"__m64\",\"__multiple_inheritance\",\"__newslot\",\"__nogc\",\"__noop\",\"__nounwind\",\"__novtordisp\",\"__pascal\",\"__pin\",\"__pragma\",\"__property\",\"__ptr32\",\"__ptr64\",\"__raise\",\"__restrict\",\"__resume\",\"__sealed\",\"__single_inheritance\",\"__stdcall\",\"__super\",\"__thiscall\",\"__try\",\"__try_cast\",\"__typeof\",\"__unaligned\",\"__unhook\",\"__uuidof\",\"__value\",\"__virtual_inheritance\",\"__w64\",\"__wchar_t\"],operators:[\"=\",\">\",\"<\",\"!\",\"~\",\"?\",\":\",\"==\",\"<=\",\">=\",\"!=\",\"&&\",\"||\",\"++\",\"--\",\"+\",\"-\",\"*\",\"/\",\"&\",\"|\",\"^\",\"%\",\"<<\",\">>\",\">>>\",\"+=\",\"-=\",\"*=\",\"/=\",\"&=\",\"|=\",\"^=\",\"%=\",\"<<=\",\">>=\",\">>>=\"],symbols:/[=><!~?:&|+\\-*\\/\\^%]+/,escapes:/\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/([uU](ll|LL|l|L)|(ll|LL|l|L)?[uU]?)/,floatsuffix:/[fFlL]?/,encoding:/u|u8|U|L/,tokenizer:{root:[[/@encoding?R\\\"(?:([^ ()\\\\\\t]*))\\(/,{token:\"string.raw.begin\",next:\"@raw.$1\"}],[/[a-zA-Z_]\\w*/,{cases:{\"@keywords\":{token:\"keyword.$0\"},\"@default\":\"identifier\"}}],[/^\\s*#\\s*include/,{token:\"keyword.directive.include\",next:\"@include\"}],[/^\\s*#\\s*\\w+/,\"keyword.directive\"],{include:\"@whitespace\"},[/\\[\\s*\\[/,{token:\"annotation\",next:\"@annotation\"}],[/[{}()\\[\\]]/,\"@brackets\"],[/[<>](?!@symbols)/,\"@brackets\"],[/@symbols/,{cases:{\"@operators\":\"delimiter\",\"@default\":\"\"}}],[/\\d*\\d+[eE]([\\-+]?\\d+)?(@floatsuffix)/,\"number.float\"],[/\\d*\\.\\d+([eE][\\-+]?\\d+)?(@floatsuffix)/,\"number.float\"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,\"number.hex\"],[/0[0-7']*[0-7](@integersuffix)/,\"number.octal\"],[/0[bB][0-1']*[0-1](@integersuffix)/,\"number.binary\"],[/\\d[\\d']*\\d(@integersuffix)/,\"number\"],[/\\d(@integersuffix)/,\"number\"],[/[;,.]/,\"delimiter\"],[/\"([^\"\\\\]|\\\\.)*$/,\"string.invalid\"],[/\"/,\"string\",\"@string\"],[/'[^\\\\']'/,\"string\"],[/(')(@escapes)(')/,[\"string\",\"string.escape\",\"string\"]],[/'/,\"string.invalid\"]],whitespace:[[/[ \\t\\r\\n]+/,\"\"],[/\\/\\*\\*(?!\\/)/,\"comment.doc\",\"@doccomment\"],[/\\/\\*/,\"comment\",\"@comment\"],[/\\/\\/.*\\\\$/,\"comment\",\"@linecomment\"],[/\\/\\/.*$/,\"comment\"]],comment:[[/[^\\/*]+/,\"comment\"],[/\\*\\//,\"comment\",\"@pop\"],[/[\\/*]/,\"comment\"]],linecomment:[[/.*[^\\\\]$/,\"comment\",\"@pop\"],[/[^]+/,\"comment\"]],doccomment:[[/[^\\/*]+/,\"comment.doc\"],[/\\*\\//,\"comment.doc\",\"@pop\"],[/[\\/*]/,\"comment.doc\"]],string:[[/[^\\\\\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"/,\"string\",\"@pop\"]],raw:[[/(.*)(\\))(?:([^ ()\\\\\\t\"]*))(\\\")/,{cases:{\"$3==$S2\":[\"string.raw\",\"string.raw.end\",\"string.raw.end\",{token:\"string.raw.end\",next:\"@pop\"}],\"@default\":[\"string.raw\",\"string.raw\",\"string.raw\",\"string.raw\"]}}],[/.*/,\"string.raw\"]],annotation:[{include:\"@whitespace\"},[/using|alignas/,\"keyword\"],[/[a-zA-Z0-9_]+/,\"annotation\"],[/[,:]/,\"delimiter\"],[/[()]/,\"@brackets\"],[/\\]\\s*\\]/,{token:\"annotation\",next:\"@pop\"}]],include:[[/(\\s*)(<)([^<>]*)(>)/,[\"\",\"keyword.directive.include.begin\",\"string.include.identifier\",{token:\"keyword.directive.include.end\",next:\"@pop\"}]],[/(\\s*)(\")([^\"]*)(\")/,[\"\",\"keyword.directive.include.begin\",\"string.include.identifier\",{token:\"keyword.directive.include.end\",next:\"@pop\"}]]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/csharp.41a26d75.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={wordPattern:/(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\#\\$\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)/g,comments:{lineComment:\"//\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"'\",close:\"'\",notIn:[\"string\",\"comment\"]},{open:'\"',close:'\"',notIn:[\"string\",\"comment\"]}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"<\",close:\">\"},{open:\"'\",close:\"'\"},{open:'\"',close:'\"'}],folding:{markers:{start:new RegExp(\"^\\\\s*#region\\\\b\"),end:new RegExp(\"^\\\\s*#endregion\\\\b\")}}},t={defaultToken:\"\",tokenPostfix:\".cs\",brackets:[{open:\"{\",close:\"}\",token:\"delimiter.curly\"},{open:\"[\",close:\"]\",token:\"delimiter.square\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"},{open:\"<\",close:\">\",token:\"delimiter.angle\"}],keywords:[\"extern\",\"alias\",\"using\",\"bool\",\"decimal\",\"sbyte\",\"byte\",\"short\",\"ushort\",\"int\",\"uint\",\"long\",\"ulong\",\"char\",\"float\",\"double\",\"object\",\"dynamic\",\"string\",\"assembly\",\"is\",\"as\",\"ref\",\"out\",\"this\",\"base\",\"new\",\"typeof\",\"void\",\"checked\",\"unchecked\",\"default\",\"delegate\",\"var\",\"const\",\"if\",\"else\",\"switch\",\"case\",\"while\",\"do\",\"for\",\"foreach\",\"in\",\"break\",\"continue\",\"goto\",\"return\",\"throw\",\"try\",\"catch\",\"finally\",\"lock\",\"yield\",\"from\",\"let\",\"where\",\"join\",\"on\",\"equals\",\"into\",\"orderby\",\"ascending\",\"descending\",\"select\",\"group\",\"by\",\"namespace\",\"partial\",\"class\",\"field\",\"event\",\"method\",\"param\",\"public\",\"protected\",\"internal\",\"private\",\"abstract\",\"sealed\",\"static\",\"struct\",\"readonly\",\"volatile\",\"virtual\",\"override\",\"params\",\"get\",\"set\",\"add\",\"remove\",\"operator\",\"true\",\"false\",\"implicit\",\"explicit\",\"interface\",\"enum\",\"null\",\"async\",\"await\",\"fixed\",\"sizeof\",\"stackalloc\",\"unsafe\",\"nameof\",\"when\"],namespaceFollows:[\"namespace\",\"using\"],parenFollows:[\"if\",\"for\",\"while\",\"switch\",\"foreach\",\"using\",\"catch\",\"when\"],operators:[\"=\",\"??\",\"||\",\"&&\",\"|\",\"^\",\"&\",\"==\",\"!=\",\"<=\",\">=\",\"<<\",\"+\",\"-\",\"*\",\"/\",\"%\",\"!\",\"~\",\"++\",\"--\",\"+=\",\"-=\",\"*=\",\"/=\",\"%=\",\"&=\",\"|=\",\"^=\",\"<<=\",\">>=\",\">>\",\"=>\"],symbols:/[=><!~?:&|+\\-*\\/\\^%]+/,escapes:/\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\\@?[a-zA-Z_]\\w*/,{cases:{\"@namespaceFollows\":{token:\"keyword.$0\",next:\"@namespace\"},\"@keywords\":{token:\"keyword.$0\",next:\"@qualified\"},\"@default\":{token:\"identifier\",next:\"@qualified\"}}}],{include:\"@whitespace\"},[/}/,{cases:{\"$S2==interpolatedstring\":{token:\"string.quote\",next:\"@pop\"},\"$S2==litinterpstring\":{token:\"string.quote\",next:\"@pop\"},\"@default\":\"@brackets\"}}],[/[{}()\\[\\]]/,\"@brackets\"],[/[<>](?!@symbols)/,\"@brackets\"],[/@symbols/,{cases:{\"@operators\":\"delimiter\",\"@default\":\"\"}}],[/[0-9_]*\\.[0-9_]+([eE][\\-+]?\\d+)?[fFdD]?/,\"number.float\"],[/0[xX][0-9a-fA-F_]+/,\"number.hex\"],[/0[bB][01_]+/,\"number.hex\"],[/[0-9_]+/,\"number\"],[/[;,.]/,\"delimiter\"],[/\"([^\"\\\\]|\\\\.)*$/,\"string.invalid\"],[/\"/,{token:\"string.quote\",next:\"@string\"}],[/\\$\\@\"/,{token:\"string.quote\",next:\"@litinterpstring\"}],[/\\@\"/,{token:\"string.quote\",next:\"@litstring\"}],[/\\$\"/,{token:\"string.quote\",next:\"@interpolatedstring\"}],[/'[^\\\\']'/,\"string\"],[/(')(@escapes)(')/,[\"string\",\"string.escape\",\"string\"]],[/'/,\"string.invalid\"]],qualified:[[/[a-zA-Z_][\\w]*/,{cases:{\"@keywords\":{token:\"keyword.$0\"},\"@default\":\"identifier\"}}],[/\\./,\"delimiter\"],[\"\",\"\",\"@pop\"]],namespace:[{include:\"@whitespace\"},[/[A-Z]\\w*/,\"namespace\"],[/[\\.=]/,\"delimiter\"],[\"\",\"\",\"@pop\"]],comment:[[/[^\\/*]+/,\"comment\"],[\"\\\\*/\",\"comment\",\"@pop\"],[/[\\/*]/,\"comment\"]],string:[[/[^\\\\\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"/,{token:\"string.quote\",next:\"@pop\"}]],litstring:[[/[^\"]+/,\"string\"],[/\"\"/,\"string.escape\"],[/\"/,{token:\"string.quote\",next:\"@pop\"}]],litinterpstring:[[/[^\"{]+/,\"string\"],[/\"\"/,\"string.escape\"],[/{{/,\"string.escape\"],[/}}/,\"string.escape\"],[/{/,{token:\"string.quote\",next:\"root.litinterpstring\"}],[/\"/,{token:\"string.quote\",next:\"@pop\"}]],interpolatedstring:[[/[^\\\\\"{]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/{{/,\"string.escape\"],[/}}/,\"string.escape\"],[/{/,{token:\"string.quote\",next:\"root.interpolatedstring\"}],[/\"/,{token:\"string.quote\",next:\"@pop\"}]],whitespace:[[/^[ \\t\\v\\f]*#((r)|(load))(?=\\s)/,\"directive.csx\"],[/^[ \\t\\v\\f]*#\\w.*$/,\"namespace.cpp\"],[/[ \\t\\v\\f\\r\\n]+/,\"\"],[/\\/\\*/,\"comment\",\"@comment\"],[/\\/\\/.*$/,\"comment\"]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/csp.a35fa773.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var t={brackets:[],autoClosingPairs:[],surroundingPairs:[]},r={keywords:[],typeKeywords:[],tokenPostfix:\".csp\",operators:[],symbols:/[=><!~?:&|+\\-*\\/\\^%]+/,escapes:/\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/child-src/,\"string.quote\"],[/connect-src/,\"string.quote\"],[/default-src/,\"string.quote\"],[/font-src/,\"string.quote\"],[/frame-src/,\"string.quote\"],[/img-src/,\"string.quote\"],[/manifest-src/,\"string.quote\"],[/media-src/,\"string.quote\"],[/object-src/,\"string.quote\"],[/script-src/,\"string.quote\"],[/style-src/,\"string.quote\"],[/worker-src/,\"string.quote\"],[/base-uri/,\"string.quote\"],[/plugin-types/,\"string.quote\"],[/sandbox/,\"string.quote\"],[/disown-opener/,\"string.quote\"],[/form-action/,\"string.quote\"],[/frame-ancestors/,\"string.quote\"],[/report-uri/,\"string.quote\"],[/report-to/,\"string.quote\"],[/upgrade-insecure-requests/,\"string.quote\"],[/block-all-mixed-content/,\"string.quote\"],[/require-sri-for/,\"string.quote\"],[/reflected-xss/,\"string.quote\"],[/referrer/,\"string.quote\"],[/policy-uri/,\"string.quote\"],[/'self'/,\"string.quote\"],[/'unsafe-inline'/,\"string.quote\"],[/'unsafe-eval'/,\"string.quote\"],[/'strict-dynamic'/,\"string.quote\"],[/'unsafe-hashed-attributes'/,\"string.quote\"]]}};export{t as conf,r as language};\n"
  },
  {
    "path": "client/dist/assets/css.c24c8988.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\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|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": "client/dist/assets/css.worker.57c3cb89.js",
    "content": "var Kd=Object.defineProperty;var Zd=(it,Be,at)=>Be in it?Kd(it,Be,{enumerable:!0,configurable:!0,writable:!0,value:at}):it[Be]=at;var sn=(it,Be,at)=>(Zd(it,typeof Be!=\"symbol\"?Be+\"\":Be,at),at);(function(){\"use strict\";class it{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(()=>{throw t.stack?new Error(t.message+`\n\n`+t.stack):t},0)}}emit(t){this.listeners.forEach(n=>{n(t)})}onUnexpectedError(t){this.unexpectedErrorHandler(t),this.emit(t)}onUnexpectedExternalError(t){this.unexpectedErrorHandler(t)}}const Be=new it;function at(e){To(e)||Be.onUnexpectedError(e)}function Ci(e){if(e instanceof Error){let{name:t,message:n}=e;const r=e.stacktrace||e.stack;return{$isError:!0,name:t,message:n,stack:r}}return e}const qn=\"Canceled\";function To(e){return e instanceof Wo?!0:e instanceof Error&&e.name===qn&&e.message===qn}class Wo extends Error{constructor(){super(qn),this.name=this.message}}function Oo(e){const t=this;let n=!1,r;return function(){return n||(n=!0,r=e.apply(t,arguments)),r}}var $n;(function(e){function t(C){return C&&typeof C==\"object\"&&typeof C[Symbol.iterator]==\"function\"}e.is=t;const n=Object.freeze([]);function r(){return n}e.empty=r;function*i(C){yield C}e.single=i;function a(C){return C||n}e.from=a;function o(C){return!C||C[Symbol.iterator]().next().done===!0}e.isEmpty=o;function l(C){return C[Symbol.iterator]().next().value}e.first=l;function h(C,R){for(const k of C)if(R(k))return!0;return!1}e.some=h;function c(C,R){for(const k of C)if(R(k))return k}e.find=c;function*d(C,R){for(const k of C)R(k)&&(yield k)}e.filter=d;function*p(C,R){let k=0;for(const F of C)yield R(F,k++)}e.map=p;function*f(...C){for(const R of C)for(const k of R)yield k}e.concat=f;function*g(C){for(const R of C)for(const k of R)yield k}e.concatNested=g;function w(C,R,k){let F=k;for(const P of C)F=R(F,P);return F}e.reduce=w;function*b(C,R,k=C.length){for(R<0&&(R+=C.length),k<0?k+=C.length:k>C.length&&(k=C.length);R<k;R++)yield C[R]}e.slice=b;function y(C,R=Number.POSITIVE_INFINITY){const k=[];if(R===0)return[k,C];const F=C[Symbol.iterator]();for(let P=0;P<R;P++){const N=F.next();if(N.done)return[k,e.empty()];k.push(N.value)}return[k,{[Symbol.iterator](){return F}}]}e.consume=y;function A(C,R,k=(F,P)=>F===P){const F=C[Symbol.iterator](),P=R[Symbol.iterator]();for(;;){const N=F.next(),z=P.next();if(N.done!==z.done)return!1;if(N.done)return!0;if(!k(N.value,z.value))return!1}}e.equals=A})($n||($n={}));function Qd(e){return e}function eu(e,t){}class Vo extends Error{constructor(t){super(`Encountered errors while disposing of store. Errors: [${t.join(\", \")}]`),this.errors=t}}function ki(e){if($n.is(e)){let t=[];for(const n of e)if(n)try{n.dispose()}catch(r){t.push(r)}if(t.length===1)throw t[0];if(t.length>1)throw new Vo(t);return Array.isArray(e)?[]:e}else if(e)return e.dispose(),e}function Uo(...e){return on(()=>ki(e))}function on(e){return{dispose:Oo(()=>{e()})}}class ft{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){try{ki(this._toDispose.values())}finally{this._toDispose.clear()}}add(t){if(!t)return t;if(t===this)throw new Error(\"Cannot register a disposable on itself!\");return this._isDisposed?ft.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(t),t}}ft.DISABLE_DISPOSED_WARNING=!1;class Hn{constructor(){this._store=new ft,this._store}dispose(){this._store.dispose()}_register(t){if(t===this)throw new Error(\"Cannot register a disposable on itself!\");return this._store.add(t)}}Hn.None=Object.freeze({dispose(){}});class Bo{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1}set(t){let n=t;return this.unset=()=>n=void 0,this.isset=()=>n!==void 0,this.dispose=()=>{n&&(n(),n=void 0)},this}}class K{constructor(t){this.element=t,this.next=K.Undefined,this.prev=K.Undefined}}K.Undefined=new K(void 0);class Fi{constructor(){this._first=K.Undefined,this._last=K.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===K.Undefined}clear(){let t=this._first;for(;t!==K.Undefined;){const n=t.next;t.prev=K.Undefined,t.next=K.Undefined,t=n}this._first=K.Undefined,this._last=K.Undefined,this._size=0}unshift(t){return this._insert(t,!1)}push(t){return this._insert(t,!0)}_insert(t,n){const r=new K(t);if(this._first===K.Undefined)this._first=r,this._last=r;else if(n){const a=this._last;this._last=r,r.prev=a,a.next=r}else{const a=this._first;this._first=r,r.next=a,a.prev=r}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(r))}}shift(){if(this._first!==K.Undefined){const t=this._first.element;return this._remove(this._first),t}}pop(){if(this._last!==K.Undefined){const t=this._last.element;return this._remove(this._last),t}}_remove(t){if(t.prev!==K.Undefined&&t.next!==K.Undefined){const n=t.prev;n.next=t.next,t.next.prev=n}else t.prev===K.Undefined&&t.next===K.Undefined?(this._first=K.Undefined,this._last=K.Undefined):t.next===K.Undefined?(this._last=this._last.prev,this._last.next=K.Undefined):t.prev===K.Undefined&&(this._first=this._first.next,this._first.prev=K.Undefined);this._size-=1}*[Symbol.iterator](){let t=this._first;for(;t!==K.Undefined;)yield t.element,t=t.next}}var Gn;const ln=\"en\";let Jn=!1,Xn=!1,Yn=!1,_i=!1,cn,Kn=ln,jo,Xe;const de=typeof self==\"object\"?self:typeof global==\"object\"?global:{};let ue;typeof de.vscode!=\"undefined\"&&typeof de.vscode.process!=\"undefined\"?ue=de.vscode.process:typeof process!=\"undefined\"&&(ue=process);const qo=typeof((Gn=ue==null?void 0:ue.versions)===null||Gn===void 0?void 0:Gn.electron)==\"string\"&&(ue==null?void 0:ue.type)===\"renderer\";if(typeof navigator==\"object\"&&!qo)Xe=navigator.userAgent,Jn=Xe.indexOf(\"Windows\")>=0,Xn=Xe.indexOf(\"Macintosh\")>=0,(Xe.indexOf(\"Macintosh\")>=0||Xe.indexOf(\"iPad\")>=0||Xe.indexOf(\"iPhone\")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,Yn=Xe.indexOf(\"Linux\")>=0,_i=!0,cn=navigator.language,Kn=cn;else if(typeof ue==\"object\"){Jn=ue.platform===\"win32\",Xn=ue.platform===\"darwin\",Yn=ue.platform===\"linux\",Yn&&!!ue.env.SNAP&&ue.env.SNAP_REVISION,ue.env.CI||ue.env.BUILD_ARTIFACTSTAGINGDIRECTORY,cn=ln,Kn=ln;const e=ue.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e),n=t.availableLanguages[\"*\"];cn=t.locale,Kn=n||ln,jo=t._translationsConfigFile}catch{}}else console.error(\"Unable to resolve platform.\");const Pt=Jn,$o=Xn;_i&&de.importScripts;const Te=Xe;(()=>{if(typeof de.postMessage==\"function\"&&!de.importScripts){let e=[];de.addEventListener(\"message\",n=>{if(n.data&&n.data.vscodeScheduleAsyncWork)for(let r=0,i=e.length;r<i;r++){const a=e[r];if(a.id===n.data.vscodeScheduleAsyncWork){e.splice(r,1),a.callback();return}}});let t=0;return n=>{const r=++t;e.push({id:r,callback:n}),de.postMessage({vscodeScheduleAsyncWork:r},\"*\")}}return e=>setTimeout(e)})();const Ho=!!(Te&&Te.indexOf(\"Chrome\")>=0);Te&&Te.indexOf(\"Firefox\")>=0,!Ho&&Te&&Te.indexOf(\"Safari\")>=0,Te&&Te.indexOf(\"Edg/\")>=0,Te&&Te.indexOf(\"Android\")>=0;const Go=de.performance&&typeof de.performance.now==\"function\";class hn{constructor(t){this._highResolution=Go&&t,this._startTime=this._now(),this._stopTime=-1}static create(t=!0){return new hn(t)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?de.performance.now():Date.now()}}var Zn;(function(e){e.None=()=>Hn.None;function t(k){return(F,P=null,N)=>{let z=!1,T;return T=k(j=>{if(!z)return T?T.dispose():z=!0,F.call(P,j)},null,N),z&&T.dispose(),T}}e.once=t;function n(k,F,P){return h((N,z=null,T)=>k(j=>N.call(z,F(j)),null,T),P)}e.map=n;function r(k,F,P){return h((N,z=null,T)=>k(j=>{F(j),N.call(z,j)},null,T),P)}e.forEach=r;function i(k,F,P){return h((N,z=null,T)=>k(j=>F(j)&&N.call(z,j),null,T),P)}e.filter=i;function a(k){return k}e.signal=a;function o(...k){return(F,P=null,N)=>Uo(...k.map(z=>z(T=>F.call(P,T),null,N)))}e.any=o;function l(k,F,P,N){let z=P;return n(k,T=>(z=F(z,T),z),N)}e.reduce=l;function h(k,F){let P;const N={onFirstListenerAdd(){P=k(z.fire,z)},onLastListenerRemove(){P.dispose()}},z=new je(N);return F&&F.add(z),z.event}function c(k,F,P=100,N=!1,z,T){let j,U,V,ie=0;const me={leakWarningThreshold:z,onFirstListenerAdd(){j=k(Le=>{ie++,U=F(U,Le),N&&!V&&(Ie.fire(U),U=void 0),clearTimeout(V),V=setTimeout(()=>{const D=U;U=void 0,V=void 0,(!N||ie>1)&&Ie.fire(D),ie=0},P)})},onLastListenerRemove(){j.dispose()}},Ie=new je(me);return T&&T.add(Ie),Ie.event}e.debounce=c;function d(k,F=(N,z)=>N===z,P){let N=!0,z;return i(k,T=>{const j=N||!F(T,z);return N=!1,z=T,j},P)}e.latch=d;function p(k,F,P){return[e.filter(k,F,P),e.filter(k,N=>!F(N),P)]}e.split=p;function f(k,F=!1,P=[]){let N=P.slice(),z=k(U=>{N?N.push(U):j.fire(U)});const T=()=>{N&&N.forEach(U=>j.fire(U)),N=null},j=new je({onFirstListenerAdd(){z||(z=k(U=>j.fire(U)))},onFirstListenerDidAdd(){N&&(F?setTimeout(T):T())},onLastListenerRemove(){z&&z.dispose(),z=null}});return j.event}e.buffer=f;class g{constructor(F){this.event=F}map(F){return new g(n(this.event,F))}forEach(F){return new g(r(this.event,F))}filter(F){return new g(i(this.event,F))}reduce(F,P){return new g(l(this.event,F,P))}latch(){return new g(d(this.event))}debounce(F,P=100,N=!1,z){return new g(c(this.event,F,P,N,z))}on(F,P,N){return this.event(F,P,N)}once(F,P,N){return t(this.event)(F,P,N)}}function w(k){return new g(k)}e.chain=w;function b(k,F,P=N=>N){const N=(...U)=>j.fire(P(...U)),z=()=>k.on(F,N),T=()=>k.removeListener(F,N),j=new je({onFirstListenerAdd:z,onLastListenerRemove:T});return j.event}e.fromNodeEventEmitter=b;function y(k,F,P=N=>N){const N=(...U)=>j.fire(P(...U)),z=()=>k.addEventListener(F,N),T=()=>k.removeEventListener(F,N),j=new je({onFirstListenerAdd:z,onLastListenerRemove:T});return j.event}e.fromDOMEventEmitter=y;function A(k){return new Promise(F=>t(k)(F))}e.toPromise=A;function C(k,F){return F(void 0),k(P=>F(P))}e.runAndSubscribe=C;function R(k,F){let P=null;function N(T){P==null||P.dispose(),P=new ft,F(T,P)}N(void 0);const z=k(T=>N(T));return on(()=>{z.dispose(),P==null||P.dispose()})}e.runAndSubscribeWithStore=R})(Zn||(Zn={}));class dn{constructor(t){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${t}_${dn._idPool++}`}start(t){this._stopWatch=new hn(!0),this._listenerCount=t}stop(){if(this._stopWatch){const t=this._stopWatch.elapsed();this._elapsedOverall+=t,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${t.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}dn._idPool=0;class Qn{constructor(t){this.value=t}static create(){var t;return new Qn((t=new Error().stack)!==null&&t!==void 0?t:\"\")}print(){console.warn(this.value.split(`\n`).slice(2).join(`\n`))}}class Jo{constructor(t,n,r){this.callback=t,this.callbackThis=n,this.stack=r,this.subscription=new Bo}invoke(t){this.callback.call(this.callbackThis,t)}}class je{constructor(t){var n;this._disposed=!1,this._options=t,this._leakageMon=void 0,this._perfMon=!((n=this._options)===null||n===void 0)&&n._profName?new dn(this._options._profName):void 0}dispose(){var t,n,r,i;this._disposed||(this._disposed=!0,this._listeners&&this._listeners.clear(),(t=this._deliveryQueue)===null||t===void 0||t.clear(),(r=(n=this._options)===null||n===void 0?void 0:n.onLastListenerRemove)===null||r===void 0||r.call(n),(i=this._leakageMon)===null||i===void 0||i.dispose())}get event(){return this._event||(this._event=(t,n,r)=>{var i,a,o;this._listeners||(this._listeners=new Fi);const l=this._listeners.isEmpty();l&&((i=this._options)===null||i===void 0?void 0:i.onFirstListenerAdd)&&this._options.onFirstListenerAdd(this);let h,c;this._leakageMon&&this._listeners.size>=30&&(c=Qn.create(),h=this._leakageMon.check(c,this._listeners.size+1));const d=new Jo(t,n,c),p=this._listeners.push(d);l&&((a=this._options)===null||a===void 0?void 0:a.onFirstListenerDidAdd)&&this._options.onFirstListenerDidAdd(this),!((o=this._options)===null||o===void 0)&&o.onListenerDidAdd&&this._options.onListenerDidAdd(this,t,n);const f=d.subscription.set(()=>{h&&h(),this._disposed||(p(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return r instanceof ft?r.add(f):Array.isArray(r)&&r.push(f),f}),this._event}fire(t){var n,r;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new Fi);for(let i of this._listeners)this._deliveryQueue.push([i,t]);for((n=this._perfMon)===null||n===void 0||n.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[i,a]=this._deliveryQueue.shift();try{i.invoke(a)}catch(o){at(o)}}(r=this._perfMon)===null||r===void 0||r.stop()}}}function Xo(e){let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}function er(e){const t=[];for(const n of Xo(e))typeof e[n]==\"function\"&&t.push(n);return t}function Yo(e,t){const n=i=>function(){const a=Array.prototype.slice.call(arguments,0);return t(i,a)};let r={};for(const i of e)r[i]=n(i);return r}function Ko(e,t=\"Unreachable\"){throw new Error(t)}class Zo{constructor(t){this.computeFn=t,this.lastCache=void 0,this.lastArgKey=void 0}get(t){const n=JSON.stringify(t);return this.lastArgKey!==n&&(this.lastArgKey=n,this.lastCache=this.computeFn(t)),this.lastCache}}class Di{constructor(t){this.executor=t,this._didRun=!1}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(t){this._error=t}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var Ei;function Qo(e){return e.replace(/[\\\\\\{\\}\\*\\+\\?\\|\\^\\$\\.\\[\\]\\(\\)]/g,\"\\\\$&\")}function el(e){return e.split(/\\r\\n|\\r|\\n/)}function tl(e){for(let t=0,n=e.length;t<n;t++){const r=e.charCodeAt(t);if(r!==32&&r!==9)return t}return-1}function nl(e,t=e.length-1){for(let n=t;n>=0;n--){const r=e.charCodeAt(n);if(r!==32&&r!==9)return n}return-1}function Ri(e){return e>=65&&e<=90}function tr(e){return 55296<=e&&e<=56319}function rl(e){return 56320<=e&&e<=57343}function il(e,t){return(e-55296<<10)+(t-56320)+65536}function al(e,t,n){const r=e.charCodeAt(n);if(tr(r)&&n+1<t){const i=e.charCodeAt(n+1);if(rl(i))return il(r,i)}return r}const sl=/^[\\t\\n\\r\\x20-\\x7E]*$/;function ol(e){return sl.test(e)}class De{constructor(t){this.confusableDictionary=t}static getInstance(t){return De.cache.get(Array.from(t))}static getLocales(){return De._locales.getValue()}isAmbiguous(t){return this.confusableDictionary.has(t)}getPrimaryConfusable(t){return this.confusableDictionary.get(t)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}Ei=De,De.ambiguousCharacterData=new Di(()=>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],\"_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]}')),De.cache=new Zo(e=>{function t(c){const d=new Map;for(let p=0;p<c.length;p+=2)d.set(c[p],c[p+1]);return d}function n(c,d){const p=new Map(c);for(const[f,g]of d)p.set(f,g);return p}function r(c,d){if(!c)return d;const p=new Map;for(const[f,g]of c)d.has(f)&&p.set(f,g);return p}const i=Ei.ambiguousCharacterData.getValue();let a=e.filter(c=>!c.startsWith(\"_\")&&c in i);a.length===0&&(a=[\"_default\"]);let o;for(const c of a){const d=t(i[c]);o=r(o,d)}const l=t(i._common),h=n(l,o);return new De(h)}),De._locales=new Di(()=>Object.keys(De.ambiguousCharacterData.getValue()).filter(e=>!e.startsWith(\"_\")));class Ye{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(Ye.getRawData())),this._data}static isInvisibleCharacter(t){return Ye.getData().has(t)}static get codePoints(){return Ye.getData()}}Ye._data=void 0;const ll=\"$initialize\";class cl{constructor(t,n,r,i){this.vsWorker=t,this.req=n,this.method=r,this.args=i,this.type=0}}class Ai{constructor(t,n,r,i){this.vsWorker=t,this.seq=n,this.res=r,this.err=i,this.type=1}}class hl{constructor(t,n,r,i){this.vsWorker=t,this.req=n,this.eventName=r,this.arg=i,this.type=2}}class dl{constructor(t,n,r){this.vsWorker=t,this.req=n,this.event=r,this.type=3}}class ul{constructor(t,n){this.vsWorker=t,this.req=n,this.type=4}}class pl{constructor(t){this._workerId=-1,this._handler=t,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(t){this._workerId=t}sendMessage(t,n){const r=String(++this._lastSentReq);return new Promise((i,a)=>{this._pendingReplies[r]={resolve:i,reject:a},this._send(new cl(this._workerId,r,t,n))})}listen(t,n){let r=null;const i=new je({onFirstListenerAdd:()=>{r=String(++this._lastSentReq),this._pendingEmitters.set(r,i),this._send(new hl(this._workerId,r,t,n))},onLastListenerRemove:()=>{this._pendingEmitters.delete(r),this._send(new ul(this._workerId,r)),r=null}});return i.event}handleMessage(t){!t||!t.vsWorker||this._workerId!==-1&&t.vsWorker!==this._workerId||this._handleMessage(t)}_handleMessage(t){switch(t.type){case 1:return this._handleReplyMessage(t);case 0:return this._handleRequestMessage(t);case 2:return this._handleSubscribeEventMessage(t);case 3:return this._handleEventMessage(t);case 4:return this._handleUnsubscribeEventMessage(t)}}_handleReplyMessage(t){if(!this._pendingReplies[t.seq]){console.warn(\"Got reply to unknown seq\");return}let n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let r=t.err;t.err.$isError&&(r=new Error,r.name=t.err.name,r.message=t.err.message,r.stack=t.err.stack),n.reject(r);return}n.resolve(t.res)}_handleRequestMessage(t){let n=t.req;this._handler.handleMessage(t.method,t.args).then(i=>{this._send(new Ai(this._workerId,n,i,void 0))},i=>{i.detail instanceof Error&&(i.detail=Ci(i.detail)),this._send(new Ai(this._workerId,n,void 0,Ci(i)))})}_handleSubscribeEventMessage(t){const n=t.req,r=this._handler.handleEvent(t.eventName,t.arg)(i=>{this._send(new dl(this._workerId,n,i))});this._pendingEvents.set(n,r)}_handleEventMessage(t){if(!this._pendingEmitters.has(t.req)){console.warn(\"Got event for unknown req\");return}this._pendingEmitters.get(t.req).fire(t.event)}_handleUnsubscribeEventMessage(t){if(!this._pendingEvents.has(t.req)){console.warn(\"Got unsubscribe for unknown req\");return}this._pendingEvents.get(t.req).dispose(),this._pendingEvents.delete(t.req)}_send(t){let n=[];if(t.type===0)for(let r=0;r<t.args.length;r++)t.args[r]instanceof ArrayBuffer&&n.push(t.args[r]);else t.type===1&&t.res instanceof ArrayBuffer&&n.push(t.res);this._handler.sendMessage(t,n)}}function zi(e){return e[0]===\"o\"&&e[1]===\"n\"&&Ri(e.charCodeAt(2))}function Mi(e){return/^onDynamic/.test(e)&&Ri(e.charCodeAt(9))}function fl(e,t,n){const r=o=>function(){const l=Array.prototype.slice.call(arguments,0);return t(o,l)},i=o=>function(l){return n(o,l)};let a={};for(const o of e){if(Mi(o)){a[o]=i(o);continue}if(zi(o)){a[o]=n(o,void 0);continue}a[o]=r(o)}return a}class ml{constructor(t,n){this._requestHandlerFactory=n,this._requestHandler=null,this._protocol=new pl({sendMessage:(r,i)=>{t(r,i)},handleMessage:(r,i)=>this._handleMessage(r,i),handleEvent:(r,i)=>this._handleEvent(r,i)})}onmessage(t){this._protocol.handleMessage(t)}_handleMessage(t,n){if(t===ll)return this.initialize(n[0],n[1],n[2],n[3]);if(!this._requestHandler||typeof this._requestHandler[t]!=\"function\")return Promise.reject(new Error(\"Missing requestHandler or method: \"+t));try{return Promise.resolve(this._requestHandler[t].apply(this._requestHandler,n))}catch(r){return Promise.reject(r)}}_handleEvent(t,n){if(!this._requestHandler)throw new Error(\"Missing requestHandler\");if(Mi(t)){const r=this._requestHandler[t].call(this._requestHandler,n);if(typeof r!=\"function\")throw new Error(`Missing dynamic event ${t} on request handler.`);return r}if(zi(t)){const r=this._requestHandler[t];if(typeof r!=\"function\")throw new Error(`Missing event ${t} on request handler.`);return r}throw new Error(`Malformed event name ${t}`)}initialize(t,n,r,i){this._protocol.setWorkerId(t);const l=fl(i,(h,c)=>this._protocol.sendMessage(h,c),(h,c)=>this._protocol.listen(h,c));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(l),Promise.resolve(er(this._requestHandler))):(n&&(typeof n.baseUrl!=\"undefined\"&&delete n.baseUrl,typeof n.paths!=\"undefined\"&&typeof n.paths.vs!=\"undefined\"&&delete n.paths.vs,typeof n.trustedTypesPolicy!==void 0&&delete n.trustedTypesPolicy,n.catchError=!0,de.require.config(n)),new Promise((h,c)=>{const d=de.require;d([r],p=>{if(this._requestHandler=p.create(l),!this._requestHandler){c(new Error(\"No RequestHandler!\"));return}h(er(this._requestHandler))},c)}))}}class Ke{constructor(t,n,r,i){this.originalStart=t,this.originalLength=n,this.modifiedStart=r,this.modifiedLength=i}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function Ni(e,t){return(t<<5)-t+e|0}function gl(e,t){t=Ni(149417,t);for(let n=0,r=e.length;n<r;n++)t=Ni(e.charCodeAt(n),t);return t}class Pi{constructor(t){this.source=t}getElements(){const t=this.source,n=new Int32Array(t.length);for(let r=0,i=t.length;r<i;r++)n[r]=t.charCodeAt(r);return n}}function bl(e,t,n){return new Ze(new Pi(e),new Pi(t)).ComputeDiff(n).changes}class mt{static Assert(t,n){if(!t)throw new Error(n)}}class gt{static Copy(t,n,r,i,a){for(let o=0;o<a;o++)r[i+o]=t[n+o]}static Copy2(t,n,r,i,a){for(let o=0;o<a;o++)r[i+o]=t[n+o]}}class Ii{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 Ke(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(t,n){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_originalCount++}AddModifiedElement(t,n){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),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 Ze{constructor(t,n,r=null){this.ContinueProcessingPredicate=r,this._originalSequence=t,this._modifiedSequence=n;const[i,a,o]=Ze._getElements(t),[l,h,c]=Ze._getElements(n);this._hasStrings=o&&c,this._originalStringElements=i,this._originalElementsOrHash=a,this._modifiedStringElements=l,this._modifiedElementsOrHash=h,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(t){return t.length>0&&typeof t[0]==\"string\"}static _getElements(t){const n=t.getElements();if(Ze._isStringArray(n)){const r=new Int32Array(n.length);for(let i=0,a=n.length;i<a;i++)r[i]=gl(n[i],0);return[n,r,!0]}return n instanceof Int32Array?[[],n,!1]:[[],new Int32Array(n),!1]}ElementsAreEqual(t,n){return this._originalElementsOrHash[t]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[t]===this._modifiedStringElements[n]:!0}ElementsAreStrictEqual(t,n){if(!this.ElementsAreEqual(t,n))return!1;const r=Ze._getStrictElement(this._originalSequence,t),i=Ze._getStrictElement(this._modifiedSequence,n);return r===i}static _getStrictElement(t,n){return typeof t.getStrictElement==\"function\"?t.getStrictElement(n):null}OriginalElementsAreEqual(t,n){return this._originalElementsOrHash[t]!==this._originalElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[t]===this._originalStringElements[n]:!0}ModifiedElementsAreEqual(t,n){return this._modifiedElementsOrHash[t]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._modifiedStringElements[t]===this._modifiedStringElements[n]:!0}ComputeDiff(t){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,t)}_ComputeDiff(t,n,r,i,a){const o=[!1];let l=this.ComputeDiffRecursive(t,n,r,i,o);return a&&(l=this.PrettifyChanges(l)),{quitEarly:o[0],changes:l}}ComputeDiffRecursive(t,n,r,i,a){for(a[0]=!1;t<=n&&r<=i&&this.ElementsAreEqual(t,r);)t++,r++;for(;n>=t&&i>=r&&this.ElementsAreEqual(n,i);)n--,i--;if(t>n||r>i){let p;return r<=i?(mt.Assert(t===n+1,\"originalStart should only be one more than originalEnd\"),p=[new Ke(t,0,r,i-r+1)]):t<=n?(mt.Assert(r===i+1,\"modifiedStart should only be one more than modifiedEnd\"),p=[new Ke(t,n-t+1,r,0)]):(mt.Assert(t===n+1,\"originalStart should only be one more than originalEnd\"),mt.Assert(r===i+1,\"modifiedStart should only be one more than modifiedEnd\"),p=[]),p}const o=[0],l=[0],h=this.ComputeRecursionPoint(t,n,r,i,o,l,a),c=o[0],d=l[0];if(h!==null)return h;if(!a[0]){const p=this.ComputeDiffRecursive(t,c,r,d,a);let f=[];return a[0]?f=[new Ke(c+1,n-(c+1)+1,d+1,i-(d+1)+1)]:f=this.ComputeDiffRecursive(c+1,n,d+1,i,a),this.ConcatenateChanges(p,f)}return[new Ke(t,n-t+1,r,i-r+1)]}WALKTRACE(t,n,r,i,a,o,l,h,c,d,p,f,g,w,b,y,A,C){let R=null,k=null,F=new Ii,P=n,N=r,z=g[0]-y[0]-i,T=-1073741824,j=this.m_forwardHistory.length-1;do{const U=z+t;U===P||U<N&&c[U-1]<c[U+1]?(p=c[U+1],w=p-z-i,p<T&&F.MarkNextChange(),T=p,F.AddModifiedElement(p+1,w),z=U+1-t):(p=c[U-1]+1,w=p-z-i,p<T&&F.MarkNextChange(),T=p-1,F.AddOriginalElement(p,w+1),z=U-1-t),j>=0&&(c=this.m_forwardHistory[j],t=c[0],P=1,N=c.length-1)}while(--j>=-1);if(R=F.getReverseChanges(),C[0]){let U=g[0]+1,V=y[0]+1;if(R!==null&&R.length>0){const ie=R[R.length-1];U=Math.max(U,ie.getOriginalEnd()),V=Math.max(V,ie.getModifiedEnd())}k=[new Ke(U,f-U+1,V,b-V+1)]}else{F=new Ii,P=o,N=l,z=g[0]-y[0]-h,T=1073741824,j=A?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const U=z+a;U===P||U<N&&d[U-1]>=d[U+1]?(p=d[U+1]-1,w=p-z-h,p>T&&F.MarkNextChange(),T=p+1,F.AddOriginalElement(p+1,w+1),z=U+1-a):(p=d[U-1],w=p-z-h,p>T&&F.MarkNextChange(),T=p,F.AddModifiedElement(p+1,w+1),z=U-1-a),j>=0&&(d=this.m_reverseHistory[j],a=d[0],P=1,N=d.length-1)}while(--j>=-1);k=F.getChanges()}return this.ConcatenateChanges(R,k)}ComputeRecursionPoint(t,n,r,i,a,o,l){let h=0,c=0,d=0,p=0,f=0,g=0;t--,r--,a[0]=0,o[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const w=n-t+(i-r),b=w+1,y=new Int32Array(b),A=new Int32Array(b),C=i-r,R=n-t,k=t-r,F=n-i,N=(R-C)%2===0;y[C]=t,A[R]=n,l[0]=!1;for(let z=1;z<=w/2+1;z++){let T=0,j=0;d=this.ClipDiagonalBound(C-z,z,C,b),p=this.ClipDiagonalBound(C+z,z,C,b);for(let V=d;V<=p;V+=2){V===d||V<p&&y[V-1]<y[V+1]?h=y[V+1]:h=y[V-1]+1,c=h-(V-C)-k;const ie=h;for(;h<n&&c<i&&this.ElementsAreEqual(h+1,c+1);)h++,c++;if(y[V]=h,h+c>T+j&&(T=h,j=c),!N&&Math.abs(V-R)<=z-1&&h>=A[V])return a[0]=h,o[0]=c,ie<=A[V]&&1447>0&&z<=1447+1?this.WALKTRACE(C,d,p,k,R,f,g,F,y,A,h,n,a,c,i,o,N,l):null}const U=(T-t+(j-r)-z)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(T,U))return l[0]=!0,a[0]=T,o[0]=j,U>0&&1447>0&&z<=1447+1?this.WALKTRACE(C,d,p,k,R,f,g,F,y,A,h,n,a,c,i,o,N,l):(t++,r++,[new Ke(t,n-t+1,r,i-r+1)]);f=this.ClipDiagonalBound(R-z,z,R,b),g=this.ClipDiagonalBound(R+z,z,R,b);for(let V=f;V<=g;V+=2){V===f||V<g&&A[V-1]>=A[V+1]?h=A[V+1]-1:h=A[V-1],c=h-(V-R)-F;const ie=h;for(;h>t&&c>r&&this.ElementsAreEqual(h,c);)h--,c--;if(A[V]=h,N&&Math.abs(V-C)<=z&&h<=y[V])return a[0]=h,o[0]=c,ie>=y[V]&&1447>0&&z<=1447+1?this.WALKTRACE(C,d,p,k,R,f,g,F,y,A,h,n,a,c,i,o,N,l):null}if(z<=1447){let V=new Int32Array(p-d+2);V[0]=C-d+1,gt.Copy2(y,d,V,1,p-d+1),this.m_forwardHistory.push(V),V=new Int32Array(g-f+2),V[0]=R-f+1,gt.Copy2(A,f,V,1,g-f+1),this.m_reverseHistory.push(V)}}return this.WALKTRACE(C,d,p,k,R,f,g,F,y,A,h,n,a,c,i,o,N,l)}PrettifyChanges(t){for(let n=0;n<t.length;n++){const r=t[n],i=n<t.length-1?t[n+1].originalStart:this._originalElementsOrHash.length,a=n<t.length-1?t[n+1].modifiedStart:this._modifiedElementsOrHash.length,o=r.originalLength>0,l=r.modifiedLength>0;for(;r.originalStart+r.originalLength<i&&r.modifiedStart+r.modifiedLength<a&&(!o||this.OriginalElementsAreEqual(r.originalStart,r.originalStart+r.originalLength))&&(!l||this.ModifiedElementsAreEqual(r.modifiedStart,r.modifiedStart+r.modifiedLength));){const c=this.ElementsAreStrictEqual(r.originalStart,r.modifiedStart);if(this.ElementsAreStrictEqual(r.originalStart+r.originalLength,r.modifiedStart+r.modifiedLength)&&!c)break;r.originalStart++,r.modifiedStart++}let h=[null];if(n<t.length-1&&this.ChangesOverlap(t[n],t[n+1],h)){t[n]=h[0],t.splice(n+1,1),n--;continue}}for(let n=t.length-1;n>=0;n--){const r=t[n];let i=0,a=0;if(n>0){const p=t[n-1];i=p.originalStart+p.originalLength,a=p.modifiedStart+p.modifiedLength}const o=r.originalLength>0,l=r.modifiedLength>0;let h=0,c=this._boundaryScore(r.originalStart,r.originalLength,r.modifiedStart,r.modifiedLength);for(let p=1;;p++){const f=r.originalStart-p,g=r.modifiedStart-p;if(f<i||g<a||o&&!this.OriginalElementsAreEqual(f,f+r.originalLength)||l&&!this.ModifiedElementsAreEqual(g,g+r.modifiedLength))break;const b=(f===i&&g===a?5:0)+this._boundaryScore(f,r.originalLength,g,r.modifiedLength);b>c&&(c=b,h=p)}r.originalStart-=h,r.modifiedStart-=h;const d=[null];if(n>0&&this.ChangesOverlap(t[n-1],t[n],d)){t[n-1]=d[0],t.splice(n,1),n++;continue}}if(this._hasStrings)for(let n=1,r=t.length;n<r;n++){const i=t[n-1],a=t[n],o=a.originalStart-i.originalStart-i.originalLength,l=i.originalStart,h=a.originalStart+a.originalLength,c=h-l,d=i.modifiedStart,p=a.modifiedStart+a.modifiedLength,f=p-d;if(o<5&&c<20&&f<20){const g=this._findBetterContiguousSequence(l,c,d,f,o);if(g){const[w,b]=g;(w!==i.originalStart+i.originalLength||b!==i.modifiedStart+i.modifiedLength)&&(i.originalLength=w-i.originalStart,i.modifiedLength=b-i.modifiedStart,a.originalStart=w+o,a.modifiedStart=b+o,a.originalLength=h-a.originalStart,a.modifiedLength=p-a.modifiedStart)}}}return t}_findBetterContiguousSequence(t,n,r,i,a){if(n<a||i<a)return null;const o=t+n-a+1,l=r+i-a+1;let h=0,c=0,d=0;for(let p=t;p<o;p++)for(let f=r;f<l;f++){const g=this._contiguousSequenceScore(p,f,a);g>0&&g>h&&(h=g,c=p,d=f)}return h>0?[c,d]:null}_contiguousSequenceScore(t,n,r){let i=0;for(let a=0;a<r;a++){if(!this.ElementsAreEqual(t+a,n+a))return 0;i+=this._originalStringElements[t+a].length}return i}_OriginalIsBoundary(t){return t<=0||t>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\\s*$/.test(this._originalStringElements[t])}_OriginalRegionIsBoundary(t,n){if(this._OriginalIsBoundary(t)||this._OriginalIsBoundary(t-1))return!0;if(n>0){const r=t+n;if(this._OriginalIsBoundary(r-1)||this._OriginalIsBoundary(r))return!0}return!1}_ModifiedIsBoundary(t){return t<=0||t>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\\s*$/.test(this._modifiedStringElements[t])}_ModifiedRegionIsBoundary(t,n){if(this._ModifiedIsBoundary(t)||this._ModifiedIsBoundary(t-1))return!0;if(n>0){const r=t+n;if(this._ModifiedIsBoundary(r-1)||this._ModifiedIsBoundary(r))return!0}return!1}_boundaryScore(t,n,r,i){const a=this._OriginalRegionIsBoundary(t,n)?1:0,o=this._ModifiedRegionIsBoundary(r,i)?1:0;return a+o}ConcatenateChanges(t,n){let r=[];if(t.length===0||n.length===0)return n.length>0?n:t;if(this.ChangesOverlap(t[t.length-1],n[0],r)){const i=new Array(t.length+n.length-1);return gt.Copy(t,0,i,0,t.length-1),i[t.length-1]=r[0],gt.Copy(n,1,i,t.length,n.length-1),i}else{const i=new Array(t.length+n.length);return gt.Copy(t,0,i,0,t.length),gt.Copy(n,0,i,t.length,n.length),i}}ChangesOverlap(t,n,r){if(mt.Assert(t.originalStart<=n.originalStart,\"Left change is not less than or equal to right change\"),mt.Assert(t.modifiedStart<=n.modifiedStart,\"Left change is not less than or equal to right change\"),t.originalStart+t.originalLength>=n.originalStart||t.modifiedStart+t.modifiedLength>=n.modifiedStart){const i=t.originalStart;let a=t.originalLength;const o=t.modifiedStart;let l=t.modifiedLength;return t.originalStart+t.originalLength>=n.originalStart&&(a=n.originalStart+n.originalLength-t.originalStart),t.modifiedStart+t.modifiedLength>=n.modifiedStart&&(l=n.modifiedStart+n.modifiedLength-t.modifiedStart),r[0]=new Ke(i,a,o,l),!0}else return r[0]=null,!1}ClipDiagonalBound(t,n,r,i){if(t>=0&&t<i)return t;const a=r,o=i-r-1,l=n%2===0;if(t<0){const h=a%2===0;return l===h?0:1}else{const h=o%2===0;return l===h?i-1:i-2}}}let bt;if(typeof de.vscode!=\"undefined\"&&typeof de.vscode.process!=\"undefined\"){const e=de.vscode.process;bt={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()}}}else typeof process!=\"undefined\"?bt={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:bt={get platform(){return Pt?\"win32\":$o?\"darwin\":\"linux\"},get arch(){},get env(){return{}},cwd(){return\"/\"}};const nr=bt.cwd,vl=bt.env,st=bt.platform,yl=65,wl=97,xl=90,Sl=122,Qe=46,he=47,ye=92,et=58,Cl=63;class Li extends Error{constructor(t,n,r){let i;typeof n==\"string\"&&n.indexOf(\"not \")===0?(i=\"must not be\",n=n.replace(/^not /,\"\")):i=\"must be\";const a=t.indexOf(\".\")!==-1?\"property\":\"argument\";let o=`The \"${t}\" ${a} ${i} of type ${n}`;o+=`. Received type ${typeof r}`,super(o),this.code=\"ERR_INVALID_ARG_TYPE\"}}function re(e,t){if(typeof e!=\"string\")throw new Li(t,\"string\",e)}function q(e){return e===he||e===ye}function rr(e){return e===he}function tt(e){return e>=yl&&e<=xl||e>=wl&&e<=Sl}function un(e,t,n,r){let i=\"\",a=0,o=-1,l=0,h=0;for(let c=0;c<=e.length;++c){if(c<e.length)h=e.charCodeAt(c);else{if(r(h))break;h=he}if(r(h)){if(!(o===c-1||l===1))if(l===2){if(i.length<2||a!==2||i.charCodeAt(i.length-1)!==Qe||i.charCodeAt(i.length-2)!==Qe){if(i.length>2){const d=i.lastIndexOf(n);d===-1?(i=\"\",a=0):(i=i.slice(0,d),a=i.length-1-i.lastIndexOf(n)),o=c,l=0;continue}else if(i.length!==0){i=\"\",a=0,o=c,l=0;continue}}t&&(i+=i.length>0?`${n}..`:\"..\",a=2)}else i.length>0?i+=`${n}${e.slice(o+1,c)}`:i=e.slice(o+1,c),a=c-o-1;o=c,l=0}else h===Qe&&l!==-1?++l:l=-1}return i}function Ti(e,t){if(t===null||typeof t!=\"object\")throw new Li(\"pathObject\",\"Object\",t);const n=t.dir||t.root,r=t.base||`${t.name||\"\"}${t.ext||\"\"}`;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}const ve={resolve(...e){let t=\"\",n=\"\",r=!1;for(let i=e.length-1;i>=-1;i--){let a;if(i>=0){if(a=e[i],re(a,\"path\"),a.length===0)continue}else t.length===0?a=nr():(a=vl[`=${t}`]||nr(),(a===void 0||a.slice(0,2).toLowerCase()!==t.toLowerCase()&&a.charCodeAt(2)===ye)&&(a=`${t}\\\\`));const o=a.length;let l=0,h=\"\",c=!1;const d=a.charCodeAt(0);if(o===1)q(d)&&(l=1,c=!0);else if(q(d))if(c=!0,q(a.charCodeAt(1))){let p=2,f=p;for(;p<o&&!q(a.charCodeAt(p));)p++;if(p<o&&p!==f){const g=a.slice(f,p);for(f=p;p<o&&q(a.charCodeAt(p));)p++;if(p<o&&p!==f){for(f=p;p<o&&!q(a.charCodeAt(p));)p++;(p===o||p!==f)&&(h=`\\\\\\\\${g}\\\\${a.slice(f,p)}`,l=p)}}}else l=1;else tt(d)&&a.charCodeAt(1)===et&&(h=a.slice(0,2),l=2,o>2&&q(a.charCodeAt(2))&&(c=!0,l=3));if(h.length>0)if(t.length>0){if(h.toLowerCase()!==t.toLowerCase())continue}else t=h;if(r){if(t.length>0)break}else if(n=`${a.slice(l)}\\\\${n}`,r=c,c&&t.length>0)break}return n=un(n,!r,\"\\\\\",q),r?`${t}\\\\${n}`:`${t}${n}`||\".\"},normalize(e){re(e,\"path\");const t=e.length;if(t===0)return\".\";let n=0,r,i=!1;const a=e.charCodeAt(0);if(t===1)return rr(a)?\"\\\\\":e;if(q(a))if(i=!0,q(e.charCodeAt(1))){let l=2,h=l;for(;l<t&&!q(e.charCodeAt(l));)l++;if(l<t&&l!==h){const c=e.slice(h,l);for(h=l;l<t&&q(e.charCodeAt(l));)l++;if(l<t&&l!==h){for(h=l;l<t&&!q(e.charCodeAt(l));)l++;if(l===t)return`\\\\\\\\${c}\\\\${e.slice(h)}\\\\`;l!==h&&(r=`\\\\\\\\${c}\\\\${e.slice(h,l)}`,n=l)}}}else n=1;else tt(a)&&e.charCodeAt(1)===et&&(r=e.slice(0,2),n=2,t>2&&q(e.charCodeAt(2))&&(i=!0,n=3));let o=n<t?un(e.slice(n),!i,\"\\\\\",q):\"\";return o.length===0&&!i&&(o=\".\"),o.length>0&&q(e.charCodeAt(t-1))&&(o+=\"\\\\\"),r===void 0?i?`\\\\${o}`:o:i?`${r}\\\\${o}`:`${r}${o}`},isAbsolute(e){re(e,\"path\");const t=e.length;if(t===0)return!1;const n=e.charCodeAt(0);return q(n)||t>2&&tt(n)&&e.charCodeAt(1)===et&&q(e.charCodeAt(2))},join(...e){if(e.length===0)return\".\";let t,n;for(let a=0;a<e.length;++a){const o=e[a];re(o,\"path\"),o.length>0&&(t===void 0?t=n=o:t+=`\\\\${o}`)}if(t===void 0)return\".\";let r=!0,i=0;if(typeof n==\"string\"&&q(n.charCodeAt(0))){++i;const a=n.length;a>1&&q(n.charCodeAt(1))&&(++i,a>2&&(q(n.charCodeAt(2))?++i:r=!1))}if(r){for(;i<t.length&&q(t.charCodeAt(i));)i++;i>=2&&(t=`\\\\${t.slice(i)}`)}return ve.normalize(t)},relative(e,t){if(re(e,\"from\"),re(t,\"to\"),e===t)return\"\";const n=ve.resolve(e),r=ve.resolve(t);if(n===r||(e=n.toLowerCase(),t=r.toLowerCase(),e===t))return\"\";let i=0;for(;i<e.length&&e.charCodeAt(i)===ye;)i++;let a=e.length;for(;a-1>i&&e.charCodeAt(a-1)===ye;)a--;const o=a-i;let l=0;for(;l<t.length&&t.charCodeAt(l)===ye;)l++;let h=t.length;for(;h-1>l&&t.charCodeAt(h-1)===ye;)h--;const c=h-l,d=o<c?o:c;let p=-1,f=0;for(;f<d;f++){const w=e.charCodeAt(i+f);if(w!==t.charCodeAt(l+f))break;w===ye&&(p=f)}if(f!==d){if(p===-1)return r}else{if(c>d){if(t.charCodeAt(l+f)===ye)return r.slice(l+f+1);if(f===2)return r.slice(l+f)}o>d&&(e.charCodeAt(i+f)===ye?p=f:f===2&&(p=3)),p===-1&&(p=0)}let g=\"\";for(f=i+p+1;f<=a;++f)(f===a||e.charCodeAt(f)===ye)&&(g+=g.length===0?\"..\":\"\\\\..\");return l+=p,g.length>0?`${g}${r.slice(l,h)}`:(r.charCodeAt(l)===ye&&++l,r.slice(l,h))},toNamespacedPath(e){if(typeof e!=\"string\")return e;if(e.length===0)return\"\";const t=ve.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===ye){if(t.charCodeAt(1)===ye){const n=t.charCodeAt(2);if(n!==Cl&&n!==Qe)return`\\\\\\\\?\\\\UNC\\\\${t.slice(2)}`}}else if(tt(t.charCodeAt(0))&&t.charCodeAt(1)===et&&t.charCodeAt(2)===ye)return`\\\\\\\\?\\\\${t}`;return e},dirname(e){re(e,\"path\");const t=e.length;if(t===0)return\".\";let n=-1,r=0;const i=e.charCodeAt(0);if(t===1)return q(i)?e:\".\";if(q(i)){if(n=r=1,q(e.charCodeAt(1))){let l=2,h=l;for(;l<t&&!q(e.charCodeAt(l));)l++;if(l<t&&l!==h){for(h=l;l<t&&q(e.charCodeAt(l));)l++;if(l<t&&l!==h){for(h=l;l<t&&!q(e.charCodeAt(l));)l++;if(l===t)return e;l!==h&&(n=r=l+1)}}}}else tt(i)&&e.charCodeAt(1)===et&&(n=t>2&&q(e.charCodeAt(2))?3:2,r=n);let a=-1,o=!0;for(let l=t-1;l>=r;--l)if(q(e.charCodeAt(l))){if(!o){a=l;break}}else o=!1;if(a===-1){if(n===-1)return\".\";a=n}return e.slice(0,a)},basename(e,t){t!==void 0&&re(t,\"ext\"),re(e,\"path\");let n=0,r=-1,i=!0,a;if(e.length>=2&&tt(e.charCodeAt(0))&&e.charCodeAt(1)===et&&(n=2),t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return\"\";let o=t.length-1,l=-1;for(a=e.length-1;a>=n;--a){const h=e.charCodeAt(a);if(q(h)){if(!i){n=a+1;break}}else l===-1&&(i=!1,l=a+1),o>=0&&(h===t.charCodeAt(o)?--o===-1&&(r=a):(o=-1,r=l))}return n===r?r=l:r===-1&&(r=e.length),e.slice(n,r)}for(a=e.length-1;a>=n;--a)if(q(e.charCodeAt(a))){if(!i){n=a+1;break}}else r===-1&&(i=!1,r=a+1);return r===-1?\"\":e.slice(n,r)},extname(e){re(e,\"path\");let t=0,n=-1,r=0,i=-1,a=!0,o=0;e.length>=2&&e.charCodeAt(1)===et&&tt(e.charCodeAt(0))&&(t=r=2);for(let l=e.length-1;l>=t;--l){const h=e.charCodeAt(l);if(q(h)){if(!a){r=l+1;break}continue}i===-1&&(a=!1,i=l+1),h===Qe?n===-1?n=l:o!==1&&(o=1):n!==-1&&(o=-1)}return n===-1||i===-1||o===0||o===1&&n===i-1&&n===r+1?\"\":e.slice(n,i)},format:Ti.bind(null,\"\\\\\"),parse(e){re(e,\"path\");const t={root:\"\",dir:\"\",base:\"\",ext:\"\",name:\"\"};if(e.length===0)return t;const n=e.length;let r=0,i=e.charCodeAt(0);if(n===1)return q(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(q(i)){if(r=1,q(e.charCodeAt(1))){let p=2,f=p;for(;p<n&&!q(e.charCodeAt(p));)p++;if(p<n&&p!==f){for(f=p;p<n&&q(e.charCodeAt(p));)p++;if(p<n&&p!==f){for(f=p;p<n&&!q(e.charCodeAt(p));)p++;p===n?r=p:p!==f&&(r=p+1)}}}}else if(tt(i)&&e.charCodeAt(1)===et){if(n<=2)return t.root=t.dir=e,t;if(r=2,q(e.charCodeAt(2))){if(n===3)return t.root=t.dir=e,t;r=3}}r>0&&(t.root=e.slice(0,r));let a=-1,o=r,l=-1,h=!0,c=e.length-1,d=0;for(;c>=r;--c){if(i=e.charCodeAt(c),q(i)){if(!h){o=c+1;break}continue}l===-1&&(h=!1,l=c+1),i===Qe?a===-1?a=c:d!==1&&(d=1):a!==-1&&(d=-1)}return l!==-1&&(a===-1||d===0||d===1&&a===l-1&&a===o+1?t.base=t.name=e.slice(o,l):(t.name=e.slice(o,a),t.base=e.slice(o,l),t.ext=e.slice(a,l))),o>0&&o!==r?t.dir=e.slice(0,o-1):t.dir=t.root,t},sep:\"\\\\\",delimiter:\";\",win32:null,posix:null},we={resolve(...e){let t=\"\",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const i=r>=0?e[r]:nr();re(i,\"path\"),i.length!==0&&(t=`${i}/${t}`,n=i.charCodeAt(0)===he)}return t=un(t,!n,\"/\",rr),n?`/${t}`:t.length>0?t:\".\"},normalize(e){if(re(e,\"path\"),e.length===0)return\".\";const t=e.charCodeAt(0)===he,n=e.charCodeAt(e.length-1)===he;return e=un(e,!t,\"/\",rr),e.length===0?t?\"/\":n?\"./\":\".\":(n&&(e+=\"/\"),t?`/${e}`:e)},isAbsolute(e){return re(e,\"path\"),e.length>0&&e.charCodeAt(0)===he},join(...e){if(e.length===0)return\".\";let t;for(let n=0;n<e.length;++n){const r=e[n];re(r,\"path\"),r.length>0&&(t===void 0?t=r:t+=`/${r}`)}return t===void 0?\".\":we.normalize(t)},relative(e,t){if(re(e,\"from\"),re(t,\"to\"),e===t||(e=we.resolve(e),t=we.resolve(t),e===t))return\"\";const n=1,r=e.length,i=r-n,a=1,o=t.length-a,l=i<o?i:o;let h=-1,c=0;for(;c<l;c++){const p=e.charCodeAt(n+c);if(p!==t.charCodeAt(a+c))break;p===he&&(h=c)}if(c===l)if(o>l){if(t.charCodeAt(a+c)===he)return t.slice(a+c+1);if(c===0)return t.slice(a+c)}else i>l&&(e.charCodeAt(n+c)===he?h=c:c===0&&(h=0));let d=\"\";for(c=n+h+1;c<=r;++c)(c===r||e.charCodeAt(c)===he)&&(d+=d.length===0?\"..\":\"/..\");return`${d}${t.slice(a+h)}`},toNamespacedPath(e){return e},dirname(e){if(re(e,\"path\"),e.length===0)return\".\";const t=e.charCodeAt(0)===he;let n=-1,r=!0;for(let i=e.length-1;i>=1;--i)if(e.charCodeAt(i)===he){if(!r){n=i;break}}else r=!1;return n===-1?t?\"/\":\".\":t&&n===1?\"//\":e.slice(0,n)},basename(e,t){t!==void 0&&re(t,\"ext\"),re(e,\"path\");let n=0,r=-1,i=!0,a;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return\"\";let o=t.length-1,l=-1;for(a=e.length-1;a>=0;--a){const h=e.charCodeAt(a);if(h===he){if(!i){n=a+1;break}}else l===-1&&(i=!1,l=a+1),o>=0&&(h===t.charCodeAt(o)?--o===-1&&(r=a):(o=-1,r=l))}return n===r?r=l:r===-1&&(r=e.length),e.slice(n,r)}for(a=e.length-1;a>=0;--a)if(e.charCodeAt(a)===he){if(!i){n=a+1;break}}else r===-1&&(i=!1,r=a+1);return r===-1?\"\":e.slice(n,r)},extname(e){re(e,\"path\");let t=-1,n=0,r=-1,i=!0,a=0;for(let o=e.length-1;o>=0;--o){const l=e.charCodeAt(o);if(l===he){if(!i){n=o+1;break}continue}r===-1&&(i=!1,r=o+1),l===Qe?t===-1?t=o:a!==1&&(a=1):t!==-1&&(a=-1)}return t===-1||r===-1||a===0||a===1&&t===r-1&&t===n+1?\"\":e.slice(t,r)},format:Ti.bind(null,\"/\"),parse(e){re(e,\"path\");const t={root:\"\",dir:\"\",base:\"\",ext:\"\",name:\"\"};if(e.length===0)return t;const n=e.charCodeAt(0)===he;let r;n?(t.root=\"/\",r=1):r=0;let i=-1,a=0,o=-1,l=!0,h=e.length-1,c=0;for(;h>=r;--h){const d=e.charCodeAt(h);if(d===he){if(!l){a=h+1;break}continue}o===-1&&(l=!1,o=h+1),d===Qe?i===-1?i=h:c!==1&&(c=1):i!==-1&&(c=-1)}if(o!==-1){const d=a===0&&n?1:a;i===-1||c===0||c===1&&i===o-1&&i===a+1?t.base=t.name=e.slice(d,o):(t.name=e.slice(d,i),t.base=e.slice(d,o),t.ext=e.slice(i,o))}return a>0?t.dir=e.slice(0,a-1):n&&(t.dir=\"/\"),t},sep:\"/\",delimiter:\":\",win32:null,posix:null};we.win32=ve.win32=ve,we.posix=ve.posix=we,st===\"win32\"?ve.normalize:we.normalize,st===\"win32\"?ve.resolve:we.resolve,st===\"win32\"?ve.relative:we.relative,st===\"win32\"?ve.dirname:we.dirname,st===\"win32\"?ve.basename:we.basename,st===\"win32\"?ve.extname:we.extname,st===\"win32\"?ve.sep:we.sep;const kl=/^\\w[\\w\\d+.-]*$/,Fl=/^\\//,_l=/^\\/\\//;function Wi(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: \"\", authority: \"${e.authority}\", path: \"${e.path}\", query: \"${e.query}\", fragment: \"${e.fragment}\"}`);if(e.scheme&&!kl.test(e.scheme))throw new Error(\"[UriError]: Scheme contains illegal characters.\");if(e.path){if(e.authority){if(!Fl.test(e.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(_l.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters (\"//\")')}}function Dl(e,t){return!e&&!t?\"file\":e}function El(e,t){switch(e){case\"https\":case\"http\":case\"file\":t?t[0]!==Me&&(t=Me+t):t=Me;break}return t}const ee=\"\",Me=\"/\",Rl=/^(([^:/?#]+?):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/;class ot{constructor(t,n,r,i,a,o=!1){typeof t==\"object\"?(this.scheme=t.scheme||ee,this.authority=t.authority||ee,this.path=t.path||ee,this.query=t.query||ee,this.fragment=t.fragment||ee):(this.scheme=Dl(t,o),this.authority=n||ee,this.path=El(this.scheme,r||ee),this.query=i||ee,this.fragment=a||ee,Wi(this,o))}static isUri(t){return t instanceof ot?!0:t?typeof t.authority==\"string\"&&typeof t.fragment==\"string\"&&typeof t.path==\"string\"&&typeof t.query==\"string\"&&typeof t.scheme==\"string\"&&typeof t.fsPath==\"string\"&&typeof t.with==\"function\"&&typeof t.toString==\"function\":!1}get fsPath(){return ir(this,!1)}with(t){if(!t)return this;let{scheme:n,authority:r,path:i,query:a,fragment:o}=t;return n===void 0?n=this.scheme:n===null&&(n=ee),r===void 0?r=this.authority:r===null&&(r=ee),i===void 0?i=this.path:i===null&&(i=ee),a===void 0?a=this.query:a===null&&(a=ee),o===void 0?o=this.fragment:o===null&&(o=ee),n===this.scheme&&r===this.authority&&i===this.path&&a===this.query&&o===this.fragment?this:new vt(n,r,i,a,o)}static parse(t,n=!1){const r=Rl.exec(t);return r?new vt(r[2]||ee,pn(r[4]||ee),pn(r[5]||ee),pn(r[7]||ee),pn(r[9]||ee),n):new vt(ee,ee,ee,ee,ee)}static file(t){let n=ee;if(Pt&&(t=t.replace(/\\\\/g,Me)),t[0]===Me&&t[1]===Me){const r=t.indexOf(Me,2);r===-1?(n=t.substring(2),t=Me):(n=t.substring(2,r),t=t.substring(r)||Me)}return new vt(\"file\",n,t,ee,ee)}static from(t){const n=new vt(t.scheme,t.authority,t.path,t.query,t.fragment);return Wi(n,!0),n}static joinPath(t,...n){if(!t.path)throw new Error(\"[UriError]: cannot call joinPath on URI without path\");let r;return Pt&&t.scheme===\"file\"?r=ot.file(ve.join(ir(t,!0),...n)).path:r=we.join(t.path,...n),t.with({path:r})}toString(t=!1){return ar(this,t)}toJSON(){return this}static revive(t){if(t){if(t instanceof ot)return t;{const n=new vt(t);return n._formatted=t.external,n._fsPath=t._sep===Oi?t.fsPath:null,n}}else return t}}const Oi=Pt?1:void 0;class vt extends ot{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=ir(this,!1)),this._fsPath}toString(t=!1){return t?ar(this,!0):(this._formatted||(this._formatted=ar(this,!1)),this._formatted)}toJSON(){const t={$mid:1};return this._fsPath&&(t.fsPath=this._fsPath,t._sep=Oi),this._formatted&&(t.external=this._formatted),this.path&&(t.path=this.path),this.scheme&&(t.scheme=this.scheme),this.authority&&(t.authority=this.authority),this.query&&(t.query=this.query),this.fragment&&(t.fragment=this.fragment),t}}const Vi={[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 Ui(e,t){let n,r=-1;for(let i=0;i<e.length;i++){const a=e.charCodeAt(i);if(a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a===45||a===46||a===95||a===126||t&&a===47)r!==-1&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n!==void 0&&(n+=e.charAt(i));else{n===void 0&&(n=e.substr(0,i));const o=Vi[a];o!==void 0?(r!==-1&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=o):r===-1&&(r=i)}}return r!==-1&&(n+=encodeURIComponent(e.substring(r))),n!==void 0?n:e}function Al(e){let t;for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);r===35||r===63?(t===void 0&&(t=e.substr(0,n)),t+=Vi[r]):t!==void 0&&(t+=e[n])}return t!==void 0?t:e}function ir(e,t){let n;return e.authority&&e.path.length>1&&e.scheme===\"file\"?n=`//${e.authority}${e.path}`:e.path.charCodeAt(0)===47&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&e.path.charCodeAt(2)===58?t?n=e.path.substr(1):n=e.path[1].toLowerCase()+e.path.substr(2):n=e.path,Pt&&(n=n.replace(/\\//g,\"\\\\\")),n}function ar(e,t){const n=t?Al:Ui;let r=\"\",{scheme:i,authority:a,path:o,query:l,fragment:h}=e;if(i&&(r+=i,r+=\":\"),(a||i===\"file\")&&(r+=Me,r+=Me),a){let c=a.indexOf(\"@\");if(c!==-1){const d=a.substr(0,c);a=a.substr(c+1),c=d.indexOf(\":\"),c===-1?r+=n(d,!1):(r+=n(d.substr(0,c),!1),r+=\":\",r+=n(d.substr(c+1),!1)),r+=\"@\"}a=a.toLowerCase(),c=a.indexOf(\":\"),c===-1?r+=n(a,!1):(r+=n(a.substr(0,c),!1),r+=a.substr(c))}if(o){if(o.length>=3&&o.charCodeAt(0)===47&&o.charCodeAt(2)===58){const c=o.charCodeAt(1);c>=65&&c<=90&&(o=`/${String.fromCharCode(c+32)}:${o.substr(3)}`)}else if(o.length>=2&&o.charCodeAt(1)===58){const c=o.charCodeAt(0);c>=65&&c<=90&&(o=`${String.fromCharCode(c+32)}:${o.substr(2)}`)}r+=n(o,!0)}return l&&(r+=\"?\",r+=n(l,!1)),h&&(r+=\"#\",r+=t?h:Ui(h,!1)),r}function Bi(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+Bi(e.substr(3)):e}}const ji=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function pn(e){return e.match(ji)?e.replace(ji,t=>Bi(t)):e}class xe{constructor(t,n){this.lineNumber=t,this.column=n}with(t=this.lineNumber,n=this.column){return t===this.lineNumber&&n===this.column?this:new xe(t,n)}delta(t=0,n=0){return this.with(this.lineNumber+t,this.column+n)}equals(t){return xe.equals(this,t)}static equals(t,n){return!t&&!n?!0:!!t&&!!n&&t.lineNumber===n.lineNumber&&t.column===n.column}isBefore(t){return xe.isBefore(this,t)}static isBefore(t,n){return t.lineNumber<n.lineNumber?!0:n.lineNumber<t.lineNumber?!1:t.column<n.column}isBeforeOrEqual(t){return xe.isBeforeOrEqual(this,t)}static isBeforeOrEqual(t,n){return t.lineNumber<n.lineNumber?!0:n.lineNumber<t.lineNumber?!1:t.column<=n.column}static compare(t,n){const r=t.lineNumber|0,i=n.lineNumber|0;if(r===i){const a=t.column|0,o=n.column|0;return a-o}return r-i}clone(){return new xe(this.lineNumber,this.column)}toString(){return\"(\"+this.lineNumber+\",\"+this.column+\")\"}static lift(t){return new xe(t.lineNumber,t.column)}static isIPosition(t){return t&&typeof t.lineNumber==\"number\"&&typeof t.column==\"number\"}}class te{constructor(t,n,r,i){t>r||t===r&&n>i?(this.startLineNumber=r,this.startColumn=i,this.endLineNumber=t,this.endColumn=n):(this.startLineNumber=t,this.startColumn=n,this.endLineNumber=r,this.endColumn=i)}isEmpty(){return te.isEmpty(this)}static isEmpty(t){return t.startLineNumber===t.endLineNumber&&t.startColumn===t.endColumn}containsPosition(t){return te.containsPosition(this,t)}static containsPosition(t,n){return!(n.lineNumber<t.startLineNumber||n.lineNumber>t.endLineNumber||n.lineNumber===t.startLineNumber&&n.column<t.startColumn||n.lineNumber===t.endLineNumber&&n.column>t.endColumn)}static strictContainsPosition(t,n){return!(n.lineNumber<t.startLineNumber||n.lineNumber>t.endLineNumber||n.lineNumber===t.startLineNumber&&n.column<=t.startColumn||n.lineNumber===t.endLineNumber&&n.column>=t.endColumn)}containsRange(t){return te.containsRange(this,t)}static containsRange(t,n){return!(n.startLineNumber<t.startLineNumber||n.endLineNumber<t.startLineNumber||n.startLineNumber>t.endLineNumber||n.endLineNumber>t.endLineNumber||n.startLineNumber===t.startLineNumber&&n.startColumn<t.startColumn||n.endLineNumber===t.endLineNumber&&n.endColumn>t.endColumn)}strictContainsRange(t){return te.strictContainsRange(this,t)}static strictContainsRange(t,n){return!(n.startLineNumber<t.startLineNumber||n.endLineNumber<t.startLineNumber||n.startLineNumber>t.endLineNumber||n.endLineNumber>t.endLineNumber||n.startLineNumber===t.startLineNumber&&n.startColumn<=t.startColumn||n.endLineNumber===t.endLineNumber&&n.endColumn>=t.endColumn)}plusRange(t){return te.plusRange(this,t)}static plusRange(t,n){let r,i,a,o;return n.startLineNumber<t.startLineNumber?(r=n.startLineNumber,i=n.startColumn):n.startLineNumber===t.startLineNumber?(r=n.startLineNumber,i=Math.min(n.startColumn,t.startColumn)):(r=t.startLineNumber,i=t.startColumn),n.endLineNumber>t.endLineNumber?(a=n.endLineNumber,o=n.endColumn):n.endLineNumber===t.endLineNumber?(a=n.endLineNumber,o=Math.max(n.endColumn,t.endColumn)):(a=t.endLineNumber,o=t.endColumn),new te(r,i,a,o)}intersectRanges(t){return te.intersectRanges(this,t)}static intersectRanges(t,n){let r=t.startLineNumber,i=t.startColumn,a=t.endLineNumber,o=t.endColumn,l=n.startLineNumber,h=n.startColumn,c=n.endLineNumber,d=n.endColumn;return r<l?(r=l,i=h):r===l&&(i=Math.max(i,h)),a>c?(a=c,o=d):a===c&&(o=Math.min(o,d)),r>a||r===a&&i>o?null:new te(r,i,a,o)}equalsRange(t){return te.equalsRange(this,t)}static equalsRange(t,n){return!!t&&!!n&&t.startLineNumber===n.startLineNumber&&t.startColumn===n.startColumn&&t.endLineNumber===n.endLineNumber&&t.endColumn===n.endColumn}getEndPosition(){return te.getEndPosition(this)}static getEndPosition(t){return new xe(t.endLineNumber,t.endColumn)}getStartPosition(){return te.getStartPosition(this)}static getStartPosition(t){return new xe(t.startLineNumber,t.startColumn)}toString(){return\"[\"+this.startLineNumber+\",\"+this.startColumn+\" -> \"+this.endLineNumber+\",\"+this.endColumn+\"]\"}setEndPosition(t,n){return new te(this.startLineNumber,this.startColumn,t,n)}setStartPosition(t,n){return new te(t,n,this.endLineNumber,this.endColumn)}collapseToStart(){return te.collapseToStart(this)}static collapseToStart(t){return new te(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)}static fromPositions(t,n=t){return new te(t.lineNumber,t.column,n.lineNumber,n.column)}static lift(t){return t?new te(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null}static isIRange(t){return t&&typeof t.startLineNumber==\"number\"&&typeof t.startColumn==\"number\"&&typeof t.endLineNumber==\"number\"&&typeof t.endColumn==\"number\"}static areIntersectingOrTouching(t,n){return!(t.endLineNumber<n.startLineNumber||t.endLineNumber===n.startLineNumber&&t.endColumn<n.startColumn||n.endLineNumber<t.startLineNumber||n.endLineNumber===t.startLineNumber&&n.endColumn<t.startColumn)}static areIntersecting(t,n){return!(t.endLineNumber<n.startLineNumber||t.endLineNumber===n.startLineNumber&&t.endColumn<=n.startColumn||n.endLineNumber<t.startLineNumber||n.endLineNumber===t.startLineNumber&&n.endColumn<=t.startColumn)}static compareRangesUsingStarts(t,n){if(t&&n){const a=t.startLineNumber|0,o=n.startLineNumber|0;if(a===o){const l=t.startColumn|0,h=n.startColumn|0;if(l===h){const c=t.endLineNumber|0,d=n.endLineNumber|0;if(c===d){const p=t.endColumn|0,f=n.endColumn|0;return p-f}return c-d}return l-h}return a-o}return(t?1:0)-(n?1:0)}static compareRangesUsingEnds(t,n){return t.endLineNumber===n.endLineNumber?t.endColumn===n.endColumn?t.startLineNumber===n.startLineNumber?t.startColumn-n.startColumn:t.startLineNumber-n.startLineNumber:t.endColumn-n.endColumn:t.endLineNumber-n.endLineNumber}static spansMultipleLines(t){return t.endLineNumber>t.startLineNumber}toJSON(){return this}}const zl=3;function qi(e,t,n,r){return new Ze(e,t,n).ComputeDiff(r)}class $i{constructor(t){const n=[],r=[];for(let i=0,a=t.length;i<a;i++)n[i]=sr(t[i],1),r[i]=or(t[i],1);this.lines=t,this._startColumns=n,this._endColumns=r}getElements(){const t=[];for(let n=0,r=this.lines.length;n<r;n++)t[n]=this.lines[n].substring(this._startColumns[n]-1,this._endColumns[n]-1);return t}getStrictElement(t){return this.lines[t]}getStartLineNumber(t){return t+1}getEndLineNumber(t){return t+1}createCharSequence(t,n,r){const i=[],a=[],o=[];let l=0;for(let h=n;h<=r;h++){const c=this.lines[h],d=t?this._startColumns[h]:1,p=t?this._endColumns[h]:c.length+1;for(let f=d;f<p;f++)i[l]=c.charCodeAt(f-1),a[l]=h+1,o[l]=f,l++}return new Ml(i,a,o)}}class Ml{constructor(t,n,r){this._charCodes=t,this._lineNumbers=n,this._columns=r}getElements(){return this._charCodes}getStartLineNumber(t){return this._lineNumbers[t]}getStartColumn(t){return this._columns[t]}getEndLineNumber(t){return this._lineNumbers[t]}getEndColumn(t){return this._columns[t]+1}}class It{constructor(t,n,r,i,a,o,l,h){this.originalStartLineNumber=t,this.originalStartColumn=n,this.originalEndLineNumber=r,this.originalEndColumn=i,this.modifiedStartLineNumber=a,this.modifiedStartColumn=o,this.modifiedEndLineNumber=l,this.modifiedEndColumn=h}static createFromDiffChange(t,n,r){let i,a,o,l,h,c,d,p;return t.originalLength===0?(i=0,a=0,o=0,l=0):(i=n.getStartLineNumber(t.originalStart),a=n.getStartColumn(t.originalStart),o=n.getEndLineNumber(t.originalStart+t.originalLength-1),l=n.getEndColumn(t.originalStart+t.originalLength-1)),t.modifiedLength===0?(h=0,c=0,d=0,p=0):(h=r.getStartLineNumber(t.modifiedStart),c=r.getStartColumn(t.modifiedStart),d=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),p=r.getEndColumn(t.modifiedStart+t.modifiedLength-1)),new It(i,a,o,l,h,c,d,p)}}function Nl(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let r=1,i=e.length;r<i;r++){const a=e[r],o=a.originalStart-(n.originalStart+n.originalLength),l=a.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(o,l)<zl?(n.originalLength=a.originalStart+a.originalLength-n.originalStart,n.modifiedLength=a.modifiedStart+a.modifiedLength-n.modifiedStart):(t.push(a),n=a)}return t}class Lt{constructor(t,n,r,i,a){this.originalStartLineNumber=t,this.originalEndLineNumber=n,this.modifiedStartLineNumber=r,this.modifiedEndLineNumber=i,this.charChanges=a}static createFromDiffResult(t,n,r,i,a,o,l){let h,c,d,p,f;if(n.originalLength===0?(h=r.getStartLineNumber(n.originalStart)-1,c=0):(h=r.getStartLineNumber(n.originalStart),c=r.getEndLineNumber(n.originalStart+n.originalLength-1)),n.modifiedLength===0?(d=i.getStartLineNumber(n.modifiedStart)-1,p=0):(d=i.getStartLineNumber(n.modifiedStart),p=i.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),o&&n.originalLength>0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&a()){const g=r.createCharSequence(t,n.originalStart,n.originalStart+n.originalLength-1),w=i.createCharSequence(t,n.modifiedStart,n.modifiedStart+n.modifiedLength-1);let b=qi(g,w,a,!0).changes;l&&(b=Nl(b)),f=[];for(let y=0,A=b.length;y<A;y++)f.push(It.createFromDiffChange(b[y],g,w))}return new Lt(h,c,d,p,f)}}class Pl{constructor(t,n,r){this.shouldComputeCharChanges=r.shouldComputeCharChanges,this.shouldPostProcessCharChanges=r.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=r.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=r.shouldMakePrettyDiff,this.originalLines=t,this.modifiedLines=n,this.original=new $i(t),this.modified=new $i(n),this.continueLineDiff=Hi(r.maxComputationTime),this.continueCharDiff=Hi(r.maxComputationTime===0?0:Math.min(r.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:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber: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:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};const t=qi(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),n=t.changes,r=t.quitEarly;if(this.shouldIgnoreTrimWhitespace){const l=[];for(let h=0,c=n.length;h<c;h++)l.push(Lt.createFromDiffResult(this.shouldIgnoreTrimWhitespace,n[h],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:r,changes:l}}const i=[];let a=0,o=0;for(let l=-1,h=n.length;l<h;l++){const c=l+1<h?n[l+1]:null,d=c?c.originalStart:this.originalLines.length,p=c?c.modifiedStart:this.modifiedLines.length;for(;a<d&&o<p;){const f=this.originalLines[a],g=this.modifiedLines[o];if(f!==g){{let w=sr(f,1),b=sr(g,1);for(;w>1&&b>1;){const y=f.charCodeAt(w-2),A=g.charCodeAt(b-2);if(y!==A)break;w--,b--}(w>1||b>1)&&this._pushTrimWhitespaceCharChange(i,a+1,1,w,o+1,1,b)}{let w=or(f,1),b=or(g,1);const y=f.length+1,A=g.length+1;for(;w<y&&b<A;){const C=f.charCodeAt(w-1),R=f.charCodeAt(b-1);if(C!==R)break;w++,b++}(w<y||b<A)&&this._pushTrimWhitespaceCharChange(i,a+1,w,y,o+1,b,A)}}a++,o++}c&&(i.push(Lt.createFromDiffResult(this.shouldIgnoreTrimWhitespace,c,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),a+=c.originalLength,o+=c.modifiedLength)}return{quitEarly:r,changes:i}}_pushTrimWhitespaceCharChange(t,n,r,i,a,o,l){if(this._mergeTrimWhitespaceCharChange(t,n,r,i,a,o,l))return;let h;this.shouldComputeCharChanges&&(h=[new It(n,r,n,i,a,o,a,l)]),t.push(new Lt(n,n,a,a,h))}_mergeTrimWhitespaceCharChange(t,n,r,i,a,o,l){const h=t.length;if(h===0)return!1;const c=t[h-1];return c.originalEndLineNumber===0||c.modifiedEndLineNumber===0?!1:c.originalEndLineNumber+1===n&&c.modifiedEndLineNumber+1===a?(c.originalEndLineNumber=n,c.modifiedEndLineNumber=a,this.shouldComputeCharChanges&&c.charChanges&&c.charChanges.push(new It(n,r,n,i,a,o,a,l)),!0):!1}}function sr(e,t){const n=tl(e);return n===-1?t:n+1}function or(e,t){const n=nl(e);return n===-1?t:n+2}function Hi(e){if(e===0)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}function Gi(e){return e<0?0:e>255?255:e|0}function yt(e){return e<0?0:e>4294967295?4294967295:e|0}class Il{constructor(t){this.values=t,this.prefixSum=new Uint32Array(t.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(t,n){t=yt(t);const r=this.values,i=this.prefixSum,a=n.length;return a===0?!1:(this.values=new Uint32Array(r.length+a),this.values.set(r.subarray(0,t),0),this.values.set(r.subarray(t),t+a),this.values.set(n,t),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(t,n){return t=yt(t),n=yt(n),this.values[t]===n?!1:(this.values[t]=n,t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),!0)}removeValues(t,n){t=yt(t),n=yt(n);const r=this.values,i=this.prefixSum;if(t>=r.length)return!1;const a=r.length-t;return n>=a&&(n=a),n===0?!1:(this.values=new Uint32Array(r.length-n),this.values.set(r.subarray(0,t),0),this.values.set(r.subarray(t+n),t),this.prefixSum=new Uint32Array(this.values.length),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(t){return t<0?0:(t=yt(t),this._getPrefixSum(t))}_getPrefixSum(t){if(t<=this.prefixSumValidIndex[0])return this.prefixSum[t];let n=this.prefixSumValidIndex[0]+1;n===0&&(this.prefixSum[0]=this.values[0],n++),t>=this.values.length&&(t=this.values.length-1);for(let r=n;r<=t;r++)this.prefixSum[r]=this.prefixSum[r-1]+this.values[r];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],t),this.prefixSum[t]}getIndexOf(t){t=Math.floor(t),this.getTotalSum();let n=0,r=this.values.length-1,i=0,a=0,o=0;for(;n<=r;)if(i=n+(r-n)/2|0,a=this.prefixSum[i],o=a-this.values[i],t<o)r=i-1;else if(t>=a)n=i+1;else break;return new Ll(i,t-o)}}class Ll{constructor(t,n){this.index=t,this.remainder=n,this._prefixSumIndexOfResultBrand=void 0,this.index=t,this.remainder=n}}class Tl{constructor(t,n,r,i){this._uri=t,this._lines=n,this._eol=r,this._versionId=i,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(t){t.eol&&t.eol!==this._eol&&(this._eol=t.eol,this._lineStarts=null);const n=t.changes;for(const r of n)this._acceptDeleteRange(r.range),this._acceptInsertText(new xe(r.range.startLineNumber,r.range.startColumn),r.text);this._versionId=t.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const t=this._eol.length,n=this._lines.length,r=new Uint32Array(n);for(let i=0;i<n;i++)r[i]=this._lines[i].length+t;this._lineStarts=new Il(r)}}_setLineText(t,n){this._lines[t]=n,this._lineStarts&&this._lineStarts.setValue(t,this._lines[t].length+this._eol.length)}_acceptDeleteRange(t){if(t.startLineNumber===t.endLineNumber){if(t.startColumn===t.endColumn)return;this._setLineText(t.startLineNumber-1,this._lines[t.startLineNumber-1].substring(0,t.startColumn-1)+this._lines[t.startLineNumber-1].substring(t.endColumn-1));return}this._setLineText(t.startLineNumber-1,this._lines[t.startLineNumber-1].substring(0,t.startColumn-1)+this._lines[t.endLineNumber-1].substring(t.endColumn-1)),this._lines.splice(t.startLineNumber,t.endLineNumber-t.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(t.startLineNumber,t.endLineNumber-t.startLineNumber)}_acceptInsertText(t,n){if(n.length===0)return;const r=el(n);if(r.length===1){this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+r[0]+this._lines[t.lineNumber-1].substring(t.column-1));return}r[r.length-1]+=this._lines[t.lineNumber-1].substring(t.column-1),this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+r[0]);const i=new Uint32Array(r.length-1);for(let a=1;a<r.length;a++)this._lines.splice(t.lineNumber+a-1,0,r[a]),i[a-1]=r[a].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(t.lineNumber,i)}}const Wl=\"`~!@#$%^&*()-=+[{]}\\\\|;:'\\\",.<>/?\";function Ol(e=\"\"){let t=\"(-?\\\\d*\\\\.\\\\d\\\\w*)|([^\";for(const n of Wl)e.indexOf(n)>=0||(t+=\"\\\\\"+n);return t+=\"\\\\s]+)\",new RegExp(t,\"g\")}const Ji=Ol();function Vl(e){let t=Ji;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n=\"g\";e.ignoreCase&&(n+=\"i\"),e.multiline&&(n+=\"m\"),e.unicode&&(n+=\"u\"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const Ul={maxLen:1e3,windowSize:15,timeBudget:150};function lr(e,t,n,r,i=Ul){if(n.length>i.maxLen){let c=e-i.maxLen/2;return c<0?c=0:r+=c,n=n.substring(c,e+i.maxLen/2),lr(e,t,n,r,i)}const a=Date.now(),o=e-1-r;let l=-1,h=null;for(let c=1;!(Date.now()-a>=i.timeBudget);c++){const d=o-i.windowSize*c;t.lastIndex=Math.max(0,d);const p=Bl(t,n,o,l);if(!p&&h||(h=p,d<=0))break;l=d}if(h){const c={word:h[0],startColumn:r+1+h.index,endColumn:r+1+h.index+h[0].length};return t.lastIndex=0,c}return null}function Bl(e,t,n,r){let i;for(;i=e.exec(t);){const a=i.index||0;if(a<=n&&e.lastIndex>=n)return i;if(r>0&&a>r)return null}return null}class cr{constructor(t){const n=Gi(t);this._defaultValue=n,this._asciiMap=cr._createAsciiMap(n),this._map=new Map}static _createAsciiMap(t){const n=new Uint8Array(256);for(let r=0;r<256;r++)n[r]=t;return n}set(t,n){const r=Gi(n);t>=0&&t<256?this._asciiMap[t]=r:this._map.set(t,r)}get(t){return t>=0&&t<256?this._asciiMap[t]:this._map.get(t)||this._defaultValue}}class jl{constructor(t,n,r){const i=new Uint8Array(t*n);for(let a=0,o=t*n;a<o;a++)i[a]=r;this._data=i,this.rows=t,this.cols=n}get(t,n){return this._data[t*this.cols+n]}set(t,n,r){this._data[t*this.cols+n]=r}}class ql{constructor(t){let n=0,r=0;for(let a=0,o=t.length;a<o;a++){const[l,h,c]=t[a];h>n&&(n=h),l>r&&(r=l),c>r&&(r=c)}n++,r++;const i=new jl(r,n,0);for(let a=0,o=t.length;a<o;a++){const[l,h,c]=t[a];i.set(l,h,c)}this._states=i,this._maxCharCode=n}nextState(t,n){return n<0||n>=this._maxCharCode?0:this._states.get(t,n)}}let hr=null;function $l(){return hr===null&&(hr=new ql([[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]])),hr}let Tt=null;function Hl(){if(Tt===null){Tt=new cr(0);const e=` \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`;for(let n=0;n<e.length;n++)Tt.set(e.charCodeAt(n),1);const t=\".,;\";for(let n=0;n<t.length;n++)Tt.set(t.charCodeAt(n),2)}return Tt}class fn{static _createLink(t,n,r,i,a){let o=a-1;do{const l=n.charCodeAt(o);if(t.get(l)!==2)break;o--}while(o>i);if(i>0){const l=n.charCodeAt(i-1),h=n.charCodeAt(o);(l===40&&h===41||l===91&&h===93||l===123&&h===125)&&o--}return{range:{startLineNumber:r,startColumn:i+1,endLineNumber:r,endColumn:o+2},url:n.substring(i,o+1)}}static computeLinks(t,n=$l()){const r=Hl(),i=[];for(let a=1,o=t.getLineCount();a<=o;a++){const l=t.getLineContent(a),h=l.length;let c=0,d=0,p=0,f=1,g=!1,w=!1,b=!1,y=!1;for(;c<h;){let A=!1;const C=l.charCodeAt(c);if(f===13){let R;switch(C){case 40:g=!0,R=0;break;case 41:R=g?0:1;break;case 91:b=!0,w=!0,R=0;break;case 93:b=!1,R=w?0:1;break;case 123:y=!0,R=0;break;case 125:R=y?0:1;break;case 39:R=p===34||p===96?0:1;break;case 34:R=p===39||p===96?0:1;break;case 96:R=p===39||p===34?0:1;break;case 42:R=p===42?1:0;break;case 124:R=p===124?1:0;break;case 32:R=b?0:1;break;default:R=r.get(C)}R===1&&(i.push(fn._createLink(r,l,a,d,c)),A=!0)}else if(f===12){let R;C===91?(w=!0,R=0):R=r.get(C),R===1?A=!0:f=13}else f=n.nextState(f,C),f===0&&(A=!0);A&&(f=1,g=!1,w=!1,y=!1,d=c+1,p=C),c++}f===13&&i.push(fn._createLink(r,l,a,d,h))}return i}}function Gl(e){return!e||typeof e.getLineCount!=\"function\"||typeof e.getLineContent!=\"function\"?[]:fn.computeLinks(e)}class dr{constructor(){this._defaultValueSet=[[\"true\",\"false\"],[\"True\",\"False\"],[\"Private\",\"Public\",\"Friend\",\"ReadOnly\",\"Partial\",\"Protected\",\"WriteOnly\"],[\"public\",\"protected\",\"private\"]]}navigateValueSet(t,n,r,i,a){if(t&&n){const o=this.doNavigateValueSet(n,a);if(o)return{range:t,value:o}}if(r&&i){const o=this.doNavigateValueSet(i,a);if(o)return{range:r,value:o}}return null}doNavigateValueSet(t,n){const r=this.numberReplace(t,n);return r!==null?r:this.textReplace(t,n)}numberReplace(t,n){const r=Math.pow(10,t.length-(t.lastIndexOf(\".\")+1));let i=Number(t),a=parseFloat(t);return!isNaN(i)&&!isNaN(a)&&i===a?i===0&&!n?null:(i=Math.floor(i*r),i+=n?r:-r,String(i/r)):null}textReplace(t,n){return this.valueSetsReplace(this._defaultValueSet,t,n)}valueSetsReplace(t,n,r){let i=null;for(let a=0,o=t.length;i===null&&a<o;a++)i=this.valueSetReplace(t[a],n,r);return i}valueSetReplace(t,n,r){let i=t.indexOf(n);return i>=0?(i+=r?1:-1,i<0?i=t.length-1:i%=t.length,t[i]):null}}dr.INSTANCE=new dr;const Xi=Object.freeze(function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}});var mn;(function(e){function t(n){return n===e.None||n===e.Cancelled||n instanceof gn?!0:!n||typeof n!=\"object\"?!1:typeof n.isCancellationRequested==\"boolean\"&&typeof n.onCancellationRequested==\"function\"}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:Zn.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Xi})})(mn||(mn={}));class gn{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?Xi:(this._emitter||(this._emitter=new je),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class Jl{constructor(t){this._token=void 0,this._parentListener=void 0,this._parentListener=t&&t.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new gn),this._token}cancel(){this._token?this._token instanceof gn&&this._token.cancel():this._token=mn.Cancelled}dispose(t=!1){t&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof gn&&this._token.dispose():this._token=mn.None}}class ur{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(t,n){this._keyCodeToStr[t]=n,this._strToKeyCode[n.toLowerCase()]=t}keyCodeToStr(t){return this._keyCodeToStr[t]}strToKeyCode(t){return this._strToKeyCode[t.toLowerCase()]||0}}const bn=new ur,pr=new ur,fr=new ur,Xl=new Array(230),Yl=Object.create(null),Kl=Object.create(null);(function(){const e=\"\",t=[[0,1,0,\"None\",0,\"unknown\",0,\"VK_UNKNOWN\",e,e],[0,1,1,\"Hyper\",0,e,0,e,e,e],[0,1,2,\"Super\",0,e,0,e,e,e],[0,1,3,\"Fn\",0,e,0,e,e,e],[0,1,4,\"FnLock\",0,e,0,e,e,e],[0,1,5,\"Suspend\",0,e,0,e,e,e],[0,1,6,\"Resume\",0,e,0,e,e,e],[0,1,7,\"Turbo\",0,e,0,e,e,e],[0,1,8,\"Sleep\",0,e,0,\"VK_SLEEP\",e,e],[0,1,9,\"WakeUp\",0,e,0,e,e,e],[31,0,10,\"KeyA\",31,\"A\",65,\"VK_A\",e,e],[32,0,11,\"KeyB\",32,\"B\",66,\"VK_B\",e,e],[33,0,12,\"KeyC\",33,\"C\",67,\"VK_C\",e,e],[34,0,13,\"KeyD\",34,\"D\",68,\"VK_D\",e,e],[35,0,14,\"KeyE\",35,\"E\",69,\"VK_E\",e,e],[36,0,15,\"KeyF\",36,\"F\",70,\"VK_F\",e,e],[37,0,16,\"KeyG\",37,\"G\",71,\"VK_G\",e,e],[38,0,17,\"KeyH\",38,\"H\",72,\"VK_H\",e,e],[39,0,18,\"KeyI\",39,\"I\",73,\"VK_I\",e,e],[40,0,19,\"KeyJ\",40,\"J\",74,\"VK_J\",e,e],[41,0,20,\"KeyK\",41,\"K\",75,\"VK_K\",e,e],[42,0,21,\"KeyL\",42,\"L\",76,\"VK_L\",e,e],[43,0,22,\"KeyM\",43,\"M\",77,\"VK_M\",e,e],[44,0,23,\"KeyN\",44,\"N\",78,\"VK_N\",e,e],[45,0,24,\"KeyO\",45,\"O\",79,\"VK_O\",e,e],[46,0,25,\"KeyP\",46,\"P\",80,\"VK_P\",e,e],[47,0,26,\"KeyQ\",47,\"Q\",81,\"VK_Q\",e,e],[48,0,27,\"KeyR\",48,\"R\",82,\"VK_R\",e,e],[49,0,28,\"KeyS\",49,\"S\",83,\"VK_S\",e,e],[50,0,29,\"KeyT\",50,\"T\",84,\"VK_T\",e,e],[51,0,30,\"KeyU\",51,\"U\",85,\"VK_U\",e,e],[52,0,31,\"KeyV\",52,\"V\",86,\"VK_V\",e,e],[53,0,32,\"KeyW\",53,\"W\",87,\"VK_W\",e,e],[54,0,33,\"KeyX\",54,\"X\",88,\"VK_X\",e,e],[55,0,34,\"KeyY\",55,\"Y\",89,\"VK_Y\",e,e],[56,0,35,\"KeyZ\",56,\"Z\",90,\"VK_Z\",e,e],[22,0,36,\"Digit1\",22,\"1\",49,\"VK_1\",e,e],[23,0,37,\"Digit2\",23,\"2\",50,\"VK_2\",e,e],[24,0,38,\"Digit3\",24,\"3\",51,\"VK_3\",e,e],[25,0,39,\"Digit4\",25,\"4\",52,\"VK_4\",e,e],[26,0,40,\"Digit5\",26,\"5\",53,\"VK_5\",e,e],[27,0,41,\"Digit6\",27,\"6\",54,\"VK_6\",e,e],[28,0,42,\"Digit7\",28,\"7\",55,\"VK_7\",e,e],[29,0,43,\"Digit8\",29,\"8\",56,\"VK_8\",e,e],[30,0,44,\"Digit9\",30,\"9\",57,\"VK_9\",e,e],[21,0,45,\"Digit0\",21,\"0\",48,\"VK_0\",e,e],[3,1,46,\"Enter\",3,\"Enter\",13,\"VK_RETURN\",e,e],[9,1,47,\"Escape\",9,\"Escape\",27,\"VK_ESCAPE\",e,e],[1,1,48,\"Backspace\",1,\"Backspace\",8,\"VK_BACK\",e,e],[2,1,49,\"Tab\",2,\"Tab\",9,\"VK_TAB\",e,e],[10,1,50,\"Space\",10,\"Space\",32,\"VK_SPACE\",e,e],[83,0,51,\"Minus\",83,\"-\",189,\"VK_OEM_MINUS\",\"-\",\"OEM_MINUS\"],[81,0,52,\"Equal\",81,\"=\",187,\"VK_OEM_PLUS\",\"=\",\"OEM_PLUS\"],[87,0,53,\"BracketLeft\",87,\"[\",219,\"VK_OEM_4\",\"[\",\"OEM_4\"],[89,0,54,\"BracketRight\",89,\"]\",221,\"VK_OEM_6\",\"]\",\"OEM_6\"],[88,0,55,\"Backslash\",88,\"\\\\\",220,\"VK_OEM_5\",\"\\\\\",\"OEM_5\"],[0,0,56,\"IntlHash\",0,e,0,e,e,e],[80,0,57,\"Semicolon\",80,\";\",186,\"VK_OEM_1\",\";\",\"OEM_1\"],[90,0,58,\"Quote\",90,\"'\",222,\"VK_OEM_7\",\"'\",\"OEM_7\"],[86,0,59,\"Backquote\",86,\"`\",192,\"VK_OEM_3\",\"`\",\"OEM_3\"],[82,0,60,\"Comma\",82,\",\",188,\"VK_OEM_COMMA\",\",\",\"OEM_COMMA\"],[84,0,61,\"Period\",84,\".\",190,\"VK_OEM_PERIOD\",\".\",\"OEM_PERIOD\"],[85,0,62,\"Slash\",85,\"/\",191,\"VK_OEM_2\",\"/\",\"OEM_2\"],[8,1,63,\"CapsLock\",8,\"CapsLock\",20,\"VK_CAPITAL\",e,e],[59,1,64,\"F1\",59,\"F1\",112,\"VK_F1\",e,e],[60,1,65,\"F2\",60,\"F2\",113,\"VK_F2\",e,e],[61,1,66,\"F3\",61,\"F3\",114,\"VK_F3\",e,e],[62,1,67,\"F4\",62,\"F4\",115,\"VK_F4\",e,e],[63,1,68,\"F5\",63,\"F5\",116,\"VK_F5\",e,e],[64,1,69,\"F6\",64,\"F6\",117,\"VK_F6\",e,e],[65,1,70,\"F7\",65,\"F7\",118,\"VK_F7\",e,e],[66,1,71,\"F8\",66,\"F8\",119,\"VK_F8\",e,e],[67,1,72,\"F9\",67,\"F9\",120,\"VK_F9\",e,e],[68,1,73,\"F10\",68,\"F10\",121,\"VK_F10\",e,e],[69,1,74,\"F11\",69,\"F11\",122,\"VK_F11\",e,e],[70,1,75,\"F12\",70,\"F12\",123,\"VK_F12\",e,e],[0,1,76,\"PrintScreen\",0,e,0,e,e,e],[79,1,77,\"ScrollLock\",79,\"ScrollLock\",145,\"VK_SCROLL\",e,e],[7,1,78,\"Pause\",7,\"PauseBreak\",19,\"VK_PAUSE\",e,e],[19,1,79,\"Insert\",19,\"Insert\",45,\"VK_INSERT\",e,e],[14,1,80,\"Home\",14,\"Home\",36,\"VK_HOME\",e,e],[11,1,81,\"PageUp\",11,\"PageUp\",33,\"VK_PRIOR\",e,e],[20,1,82,\"Delete\",20,\"Delete\",46,\"VK_DELETE\",e,e],[13,1,83,\"End\",13,\"End\",35,\"VK_END\",e,e],[12,1,84,\"PageDown\",12,\"PageDown\",34,\"VK_NEXT\",e,e],[17,1,85,\"ArrowRight\",17,\"RightArrow\",39,\"VK_RIGHT\",\"Right\",e],[15,1,86,\"ArrowLeft\",15,\"LeftArrow\",37,\"VK_LEFT\",\"Left\",e],[18,1,87,\"ArrowDown\",18,\"DownArrow\",40,\"VK_DOWN\",\"Down\",e],[16,1,88,\"ArrowUp\",16,\"UpArrow\",38,\"VK_UP\",\"Up\",e],[78,1,89,\"NumLock\",78,\"NumLock\",144,\"VK_NUMLOCK\",e,e],[108,1,90,\"NumpadDivide\",108,\"NumPad_Divide\",111,\"VK_DIVIDE\",e,e],[103,1,91,\"NumpadMultiply\",103,\"NumPad_Multiply\",106,\"VK_MULTIPLY\",e,e],[106,1,92,\"NumpadSubtract\",106,\"NumPad_Subtract\",109,\"VK_SUBTRACT\",e,e],[104,1,93,\"NumpadAdd\",104,\"NumPad_Add\",107,\"VK_ADD\",e,e],[3,1,94,\"NumpadEnter\",3,e,0,e,e,e],[94,1,95,\"Numpad1\",94,\"NumPad1\",97,\"VK_NUMPAD1\",e,e],[95,1,96,\"Numpad2\",95,\"NumPad2\",98,\"VK_NUMPAD2\",e,e],[96,1,97,\"Numpad3\",96,\"NumPad3\",99,\"VK_NUMPAD3\",e,e],[97,1,98,\"Numpad4\",97,\"NumPad4\",100,\"VK_NUMPAD4\",e,e],[98,1,99,\"Numpad5\",98,\"NumPad5\",101,\"VK_NUMPAD5\",e,e],[99,1,100,\"Numpad6\",99,\"NumPad6\",102,\"VK_NUMPAD6\",e,e],[100,1,101,\"Numpad7\",100,\"NumPad7\",103,\"VK_NUMPAD7\",e,e],[101,1,102,\"Numpad8\",101,\"NumPad8\",104,\"VK_NUMPAD8\",e,e],[102,1,103,\"Numpad9\",102,\"NumPad9\",105,\"VK_NUMPAD9\",e,e],[93,1,104,\"Numpad0\",93,\"NumPad0\",96,\"VK_NUMPAD0\",e,e],[107,1,105,\"NumpadDecimal\",107,\"NumPad_Decimal\",110,\"VK_DECIMAL\",e,e],[92,0,106,\"IntlBackslash\",92,\"OEM_102\",226,\"VK_OEM_102\",e,e],[58,1,107,\"ContextMenu\",58,\"ContextMenu\",93,e,e,e],[0,1,108,\"Power\",0,e,0,e,e,e],[0,1,109,\"NumpadEqual\",0,e,0,e,e,e],[71,1,110,\"F13\",71,\"F13\",124,\"VK_F13\",e,e],[72,1,111,\"F14\",72,\"F14\",125,\"VK_F14\",e,e],[73,1,112,\"F15\",73,\"F15\",126,\"VK_F15\",e,e],[74,1,113,\"F16\",74,\"F16\",127,\"VK_F16\",e,e],[75,1,114,\"F17\",75,\"F17\",128,\"VK_F17\",e,e],[76,1,115,\"F18\",76,\"F18\",129,\"VK_F18\",e,e],[77,1,116,\"F19\",77,\"F19\",130,\"VK_F19\",e,e],[0,1,117,\"F20\",0,e,0,\"VK_F20\",e,e],[0,1,118,\"F21\",0,e,0,\"VK_F21\",e,e],[0,1,119,\"F22\",0,e,0,\"VK_F22\",e,e],[0,1,120,\"F23\",0,e,0,\"VK_F23\",e,e],[0,1,121,\"F24\",0,e,0,\"VK_F24\",e,e],[0,1,122,\"Open\",0,e,0,e,e,e],[0,1,123,\"Help\",0,e,0,e,e,e],[0,1,124,\"Select\",0,e,0,e,e,e],[0,1,125,\"Again\",0,e,0,e,e,e],[0,1,126,\"Undo\",0,e,0,e,e,e],[0,1,127,\"Cut\",0,e,0,e,e,e],[0,1,128,\"Copy\",0,e,0,e,e,e],[0,1,129,\"Paste\",0,e,0,e,e,e],[0,1,130,\"Find\",0,e,0,e,e,e],[0,1,131,\"AudioVolumeMute\",112,\"AudioVolumeMute\",173,\"VK_VOLUME_MUTE\",e,e],[0,1,132,\"AudioVolumeUp\",113,\"AudioVolumeUp\",175,\"VK_VOLUME_UP\",e,e],[0,1,133,\"AudioVolumeDown\",114,\"AudioVolumeDown\",174,\"VK_VOLUME_DOWN\",e,e],[105,1,134,\"NumpadComma\",105,\"NumPad_Separator\",108,\"VK_SEPARATOR\",e,e],[110,0,135,\"IntlRo\",110,\"ABNT_C1\",193,\"VK_ABNT_C1\",e,e],[0,1,136,\"KanaMode\",0,e,0,e,e,e],[0,0,137,\"IntlYen\",0,e,0,e,e,e],[0,1,138,\"Convert\",0,e,0,e,e,e],[0,1,139,\"NonConvert\",0,e,0,e,e,e],[0,1,140,\"Lang1\",0,e,0,e,e,e],[0,1,141,\"Lang2\",0,e,0,e,e,e],[0,1,142,\"Lang3\",0,e,0,e,e,e],[0,1,143,\"Lang4\",0,e,0,e,e,e],[0,1,144,\"Lang5\",0,e,0,e,e,e],[0,1,145,\"Abort\",0,e,0,e,e,e],[0,1,146,\"Props\",0,e,0,e,e,e],[0,1,147,\"NumpadParenLeft\",0,e,0,e,e,e],[0,1,148,\"NumpadParenRight\",0,e,0,e,e,e],[0,1,149,\"NumpadBackspace\",0,e,0,e,e,e],[0,1,150,\"NumpadMemoryStore\",0,e,0,e,e,e],[0,1,151,\"NumpadMemoryRecall\",0,e,0,e,e,e],[0,1,152,\"NumpadMemoryClear\",0,e,0,e,e,e],[0,1,153,\"NumpadMemoryAdd\",0,e,0,e,e,e],[0,1,154,\"NumpadMemorySubtract\",0,e,0,e,e,e],[0,1,155,\"NumpadClear\",126,\"Clear\",12,\"VK_CLEAR\",e,e],[0,1,156,\"NumpadClearEntry\",0,e,0,e,e,e],[5,1,0,e,5,\"Ctrl\",17,\"VK_CONTROL\",e,e],[4,1,0,e,4,\"Shift\",16,\"VK_SHIFT\",e,e],[6,1,0,e,6,\"Alt\",18,\"VK_MENU\",e,e],[57,1,0,e,57,\"Meta\",0,\"VK_COMMAND\",e,e],[5,1,157,\"ControlLeft\",5,e,0,\"VK_LCONTROL\",e,e],[4,1,158,\"ShiftLeft\",4,e,0,\"VK_LSHIFT\",e,e],[6,1,159,\"AltLeft\",6,e,0,\"VK_LMENU\",e,e],[57,1,160,\"MetaLeft\",57,e,0,\"VK_LWIN\",e,e],[5,1,161,\"ControlRight\",5,e,0,\"VK_RCONTROL\",e,e],[4,1,162,\"ShiftRight\",4,e,0,\"VK_RSHIFT\",e,e],[6,1,163,\"AltRight\",6,e,0,\"VK_RMENU\",e,e],[57,1,164,\"MetaRight\",57,e,0,\"VK_RWIN\",e,e],[0,1,165,\"BrightnessUp\",0,e,0,e,e,e],[0,1,166,\"BrightnessDown\",0,e,0,e,e,e],[0,1,167,\"MediaPlay\",0,e,0,e,e,e],[0,1,168,\"MediaRecord\",0,e,0,e,e,e],[0,1,169,\"MediaFastForward\",0,e,0,e,e,e],[0,1,170,\"MediaRewind\",0,e,0,e,e,e],[114,1,171,\"MediaTrackNext\",119,\"MediaTrackNext\",176,\"VK_MEDIA_NEXT_TRACK\",e,e],[115,1,172,\"MediaTrackPrevious\",120,\"MediaTrackPrevious\",177,\"VK_MEDIA_PREV_TRACK\",e,e],[116,1,173,\"MediaStop\",121,\"MediaStop\",178,\"VK_MEDIA_STOP\",e,e],[0,1,174,\"Eject\",0,e,0,e,e,e],[117,1,175,\"MediaPlayPause\",122,\"MediaPlayPause\",179,\"VK_MEDIA_PLAY_PAUSE\",e,e],[0,1,176,\"MediaSelect\",123,\"LaunchMediaPlayer\",181,\"VK_MEDIA_LAUNCH_MEDIA_SELECT\",e,e],[0,1,177,\"LaunchMail\",124,\"LaunchMail\",180,\"VK_MEDIA_LAUNCH_MAIL\",e,e],[0,1,178,\"LaunchApp2\",125,\"LaunchApp2\",183,\"VK_MEDIA_LAUNCH_APP2\",e,e],[0,1,179,\"LaunchApp1\",0,e,0,\"VK_MEDIA_LAUNCH_APP1\",e,e],[0,1,180,\"SelectTask\",0,e,0,e,e,e],[0,1,181,\"LaunchScreenSaver\",0,e,0,e,e,e],[0,1,182,\"BrowserSearch\",115,\"BrowserSearch\",170,\"VK_BROWSER_SEARCH\",e,e],[0,1,183,\"BrowserHome\",116,\"BrowserHome\",172,\"VK_BROWSER_HOME\",e,e],[112,1,184,\"BrowserBack\",117,\"BrowserBack\",166,\"VK_BROWSER_BACK\",e,e],[113,1,185,\"BrowserForward\",118,\"BrowserForward\",167,\"VK_BROWSER_FORWARD\",e,e],[0,1,186,\"BrowserStop\",0,e,0,\"VK_BROWSER_STOP\",e,e],[0,1,187,\"BrowserRefresh\",0,e,0,\"VK_BROWSER_REFRESH\",e,e],[0,1,188,\"BrowserFavorites\",0,e,0,\"VK_BROWSER_FAVORITES\",e,e],[0,1,189,\"ZoomToggle\",0,e,0,e,e,e],[0,1,190,\"MailReply\",0,e,0,e,e,e],[0,1,191,\"MailForward\",0,e,0,e,e,e],[0,1,192,\"MailSend\",0,e,0,e,e,e],[109,1,0,e,109,\"KeyInComposition\",229,e,e,e],[111,1,0,e,111,\"ABNT_C2\",194,\"VK_ABNT_C2\",e,e],[91,1,0,e,91,\"OEM_8\",223,\"VK_OEM_8\",e,e],[0,1,0,e,0,e,0,\"VK_KANA\",e,e],[0,1,0,e,0,e,0,\"VK_HANGUL\",e,e],[0,1,0,e,0,e,0,\"VK_JUNJA\",e,e],[0,1,0,e,0,e,0,\"VK_FINAL\",e,e],[0,1,0,e,0,e,0,\"VK_HANJA\",e,e],[0,1,0,e,0,e,0,\"VK_KANJI\",e,e],[0,1,0,e,0,e,0,\"VK_CONVERT\",e,e],[0,1,0,e,0,e,0,\"VK_NONCONVERT\",e,e],[0,1,0,e,0,e,0,\"VK_ACCEPT\",e,e],[0,1,0,e,0,e,0,\"VK_MODECHANGE\",e,e],[0,1,0,e,0,e,0,\"VK_SELECT\",e,e],[0,1,0,e,0,e,0,\"VK_PRINT\",e,e],[0,1,0,e,0,e,0,\"VK_EXECUTE\",e,e],[0,1,0,e,0,e,0,\"VK_SNAPSHOT\",e,e],[0,1,0,e,0,e,0,\"VK_HELP\",e,e],[0,1,0,e,0,e,0,\"VK_APPS\",e,e],[0,1,0,e,0,e,0,\"VK_PROCESSKEY\",e,e],[0,1,0,e,0,e,0,\"VK_PACKET\",e,e],[0,1,0,e,0,e,0,\"VK_DBE_SBCSCHAR\",e,e],[0,1,0,e,0,e,0,\"VK_DBE_DBCSCHAR\",e,e],[0,1,0,e,0,e,0,\"VK_ATTN\",e,e],[0,1,0,e,0,e,0,\"VK_CRSEL\",e,e],[0,1,0,e,0,e,0,\"VK_EXSEL\",e,e],[0,1,0,e,0,e,0,\"VK_EREOF\",e,e],[0,1,0,e,0,e,0,\"VK_PLAY\",e,e],[0,1,0,e,0,e,0,\"VK_ZOOM\",e,e],[0,1,0,e,0,e,0,\"VK_NONAME\",e,e],[0,1,0,e,0,e,0,\"VK_PA1\",e,e],[0,1,0,e,0,e,0,\"VK_OEM_CLEAR\",e,e]];let n=[],r=[];for(const i of t){const[a,o,l,h,c,d,p,f,g,w]=i;if(r[l]||(r[l]=!0,Yl[h]=l,Kl[h.toLowerCase()]=l),!n[c]){if(n[c]=!0,!d)throw new Error(`String representation missing for key code ${c} around scan code ${h}`);bn.define(c,d),pr.define(c,g||d),fr.define(c,w||g||d)}p&&(Xl[p]=c)}})();var Yi;(function(e){function t(l){return bn.keyCodeToStr(l)}e.toString=t;function n(l){return bn.strToKeyCode(l)}e.fromString=n;function r(l){return pr.keyCodeToStr(l)}e.toUserSettingsUS=r;function i(l){return fr.keyCodeToStr(l)}e.toUserSettingsGeneral=i;function a(l){return pr.strToKeyCode(l)||fr.strToKeyCode(l)}e.fromUserSettings=a;function o(l){if(l>=93&&l<=108)return null;switch(l){case 16:return\"Up\";case 18:return\"Down\";case 15:return\"Left\";case 17:return\"Right\"}return bn.keyCodeToStr(l)}e.toElectronAccelerator=o})(Yi||(Yi={}));function Zl(e,t){const n=(t&65535)<<16>>>0;return(e|n)>>>0}class Se extends te{constructor(t,n,r,i){super(t,n,r,i),this.selectionStartLineNumber=t,this.selectionStartColumn=n,this.positionLineNumber=r,this.positionColumn=i}toString(){return\"[\"+this.selectionStartLineNumber+\",\"+this.selectionStartColumn+\" -> \"+this.positionLineNumber+\",\"+this.positionColumn+\"]\"}equalsSelection(t){return Se.selectionsEqual(this,t)}static selectionsEqual(t,n){return t.selectionStartLineNumber===n.selectionStartLineNumber&&t.selectionStartColumn===n.selectionStartColumn&&t.positionLineNumber===n.positionLineNumber&&t.positionColumn===n.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(t,n){return this.getDirection()===0?new Se(this.startLineNumber,this.startColumn,t,n):new Se(t,n,this.startLineNumber,this.startColumn)}getPosition(){return new xe(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new xe(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(t,n){return this.getDirection()===0?new Se(t,n,this.endLineNumber,this.endColumn):new Se(this.endLineNumber,this.endColumn,t,n)}static fromPositions(t,n=t){return new Se(t.lineNumber,t.column,n.lineNumber,n.column)}static fromRange(t,n){return n===0?new Se(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new Se(t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)}static liftSelection(t){return new Se(t.selectionStartLineNumber,t.selectionStartColumn,t.positionLineNumber,t.positionColumn)}static selectionsArrEqual(t,n){if(t&&!n||!t&&n)return!1;if(!t&&!n)return!0;if(t.length!==n.length)return!1;for(let r=0,i=t.length;r<i;r++)if(!this.selectionsEqual(t[r],n[r]))return!1;return!0}static isISelection(t){return t&&typeof t.selectionStartLineNumber==\"number\"&&typeof t.selectionStartColumn==\"number\"&&typeof t.positionLineNumber==\"number\"&&typeof t.positionColumn==\"number\"}static createWithDirection(t,n,r,i,a){return a===0?new Se(t,n,r,i):new Se(r,i,t,n)}}var mr=function(e,t,n,r){function i(a){return a instanceof n?a:new n(function(o){o(a)})}return new(n||(n=Promise))(function(a,o){function l(d){try{c(r.next(d))}catch(p){o(p)}}function h(d){try{c(r.throw(d))}catch(p){o(p)}}function c(d){d.done?a(d.value):i(d.value).then(l,h)}c((r=r.apply(e,t||[])).next())})};class Ql{constructor(){this._map=new Map,this._factories=new Map,this._onDidChange=new je,this.onDidChange=this._onDidChange.event,this._colorMap=null}fire(t){this._onDidChange.fire({changedLanguages:t,changedColorMap:!1})}register(t,n){return this._map.set(t,n),this.fire([t]),on(()=>{this._map.get(t)===n&&(this._map.delete(t),this.fire([t]))})}registerFactory(t,n){var r;(r=this._factories.get(t))===null||r===void 0||r.dispose();const i=new ec(this,t,n);return this._factories.set(t,i),on(()=>{const a=this._factories.get(t);!a||a!==i||(this._factories.delete(t),a.dispose())})}getOrCreate(t){return mr(this,void 0,void 0,function*(){const n=this.get(t);if(n)return n;const r=this._factories.get(t);return!r||r.isResolved?null:(yield r.resolve(),this.get(t))})}get(t){return this._map.get(t)||null}isResolved(t){if(this.get(t))return!0;const r=this._factories.get(t);return!!(!r||r.isResolved)}setColorMap(t){this._colorMap=t,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class ec extends Hn{constructor(t,n,r){super(),this._registry=t,this._languageId=n,this._factory=r,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}get isResolved(){return this._isResolved}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return mr(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return mr(this,void 0,void 0,function*(){const t=yield Promise.resolve(this._factory.createTokenizationSupport());this._isResolved=!0,t&&!this._isDisposed&&this._register(this._registry.register(this._languageId,t))})}}class s{constructor(t,n,r){this.id=t,this.definition=n,this.description=r,s._allCodicons.push(this)}get classNames(){return\"codicon codicon-\"+this.id}get classNamesArray(){return[\"codicon\",\"codicon-\"+this.id]}get cssSelector(){return\".codicon.codicon-\"+this.id}static getAll(){return s._allCodicons}}s._allCodicons=[],s.add=new s(\"add\",{fontCharacter:\"\\\\ea60\"}),s.plus=new s(\"plus\",s.add.definition),s.gistNew=new s(\"gist-new\",s.add.definition),s.repoCreate=new s(\"repo-create\",s.add.definition),s.lightbulb=new s(\"lightbulb\",{fontCharacter:\"\\\\ea61\"}),s.lightBulb=new s(\"light-bulb\",{fontCharacter:\"\\\\ea61\"}),s.repo=new s(\"repo\",{fontCharacter:\"\\\\ea62\"}),s.repoDelete=new s(\"repo-delete\",{fontCharacter:\"\\\\ea62\"}),s.gistFork=new s(\"gist-fork\",{fontCharacter:\"\\\\ea63\"}),s.repoForked=new s(\"repo-forked\",{fontCharacter:\"\\\\ea63\"}),s.gitPullRequest=new s(\"git-pull-request\",{fontCharacter:\"\\\\ea64\"}),s.gitPullRequestAbandoned=new s(\"git-pull-request-abandoned\",{fontCharacter:\"\\\\ea64\"}),s.recordKeys=new s(\"record-keys\",{fontCharacter:\"\\\\ea65\"}),s.keyboard=new s(\"keyboard\",{fontCharacter:\"\\\\ea65\"}),s.tag=new s(\"tag\",{fontCharacter:\"\\\\ea66\"}),s.tagAdd=new s(\"tag-add\",{fontCharacter:\"\\\\ea66\"}),s.tagRemove=new s(\"tag-remove\",{fontCharacter:\"\\\\ea66\"}),s.person=new s(\"person\",{fontCharacter:\"\\\\ea67\"}),s.personFollow=new s(\"person-follow\",{fontCharacter:\"\\\\ea67\"}),s.personOutline=new s(\"person-outline\",{fontCharacter:\"\\\\ea67\"}),s.personFilled=new s(\"person-filled\",{fontCharacter:\"\\\\ea67\"}),s.gitBranch=new s(\"git-branch\",{fontCharacter:\"\\\\ea68\"}),s.gitBranchCreate=new s(\"git-branch-create\",{fontCharacter:\"\\\\ea68\"}),s.gitBranchDelete=new s(\"git-branch-delete\",{fontCharacter:\"\\\\ea68\"}),s.sourceControl=new s(\"source-control\",{fontCharacter:\"\\\\ea68\"}),s.mirror=new s(\"mirror\",{fontCharacter:\"\\\\ea69\"}),s.mirrorPublic=new s(\"mirror-public\",{fontCharacter:\"\\\\ea69\"}),s.star=new s(\"star\",{fontCharacter:\"\\\\ea6a\"}),s.starAdd=new s(\"star-add\",{fontCharacter:\"\\\\ea6a\"}),s.starDelete=new s(\"star-delete\",{fontCharacter:\"\\\\ea6a\"}),s.starEmpty=new s(\"star-empty\",{fontCharacter:\"\\\\ea6a\"}),s.comment=new s(\"comment\",{fontCharacter:\"\\\\ea6b\"}),s.commentAdd=new s(\"comment-add\",{fontCharacter:\"\\\\ea6b\"}),s.alert=new s(\"alert\",{fontCharacter:\"\\\\ea6c\"}),s.warning=new s(\"warning\",{fontCharacter:\"\\\\ea6c\"}),s.search=new s(\"search\",{fontCharacter:\"\\\\ea6d\"}),s.searchSave=new s(\"search-save\",{fontCharacter:\"\\\\ea6d\"}),s.logOut=new s(\"log-out\",{fontCharacter:\"\\\\ea6e\"}),s.signOut=new s(\"sign-out\",{fontCharacter:\"\\\\ea6e\"}),s.logIn=new s(\"log-in\",{fontCharacter:\"\\\\ea6f\"}),s.signIn=new s(\"sign-in\",{fontCharacter:\"\\\\ea6f\"}),s.eye=new s(\"eye\",{fontCharacter:\"\\\\ea70\"}),s.eyeUnwatch=new s(\"eye-unwatch\",{fontCharacter:\"\\\\ea70\"}),s.eyeWatch=new s(\"eye-watch\",{fontCharacter:\"\\\\ea70\"}),s.circleFilled=new s(\"circle-filled\",{fontCharacter:\"\\\\ea71\"}),s.primitiveDot=new s(\"primitive-dot\",{fontCharacter:\"\\\\ea71\"}),s.closeDirty=new s(\"close-dirty\",{fontCharacter:\"\\\\ea71\"}),s.debugBreakpoint=new s(\"debug-breakpoint\",{fontCharacter:\"\\\\ea71\"}),s.debugBreakpointDisabled=new s(\"debug-breakpoint-disabled\",{fontCharacter:\"\\\\ea71\"}),s.debugHint=new s(\"debug-hint\",{fontCharacter:\"\\\\ea71\"}),s.primitiveSquare=new s(\"primitive-square\",{fontCharacter:\"\\\\ea72\"}),s.edit=new s(\"edit\",{fontCharacter:\"\\\\ea73\"}),s.pencil=new s(\"pencil\",{fontCharacter:\"\\\\ea73\"}),s.info=new s(\"info\",{fontCharacter:\"\\\\ea74\"}),s.issueOpened=new s(\"issue-opened\",{fontCharacter:\"\\\\ea74\"}),s.gistPrivate=new s(\"gist-private\",{fontCharacter:\"\\\\ea75\"}),s.gitForkPrivate=new s(\"git-fork-private\",{fontCharacter:\"\\\\ea75\"}),s.lock=new s(\"lock\",{fontCharacter:\"\\\\ea75\"}),s.mirrorPrivate=new s(\"mirror-private\",{fontCharacter:\"\\\\ea75\"}),s.close=new s(\"close\",{fontCharacter:\"\\\\ea76\"}),s.removeClose=new s(\"remove-close\",{fontCharacter:\"\\\\ea76\"}),s.x=new s(\"x\",{fontCharacter:\"\\\\ea76\"}),s.repoSync=new s(\"repo-sync\",{fontCharacter:\"\\\\ea77\"}),s.sync=new s(\"sync\",{fontCharacter:\"\\\\ea77\"}),s.clone=new s(\"clone\",{fontCharacter:\"\\\\ea78\"}),s.desktopDownload=new s(\"desktop-download\",{fontCharacter:\"\\\\ea78\"}),s.beaker=new s(\"beaker\",{fontCharacter:\"\\\\ea79\"}),s.microscope=new s(\"microscope\",{fontCharacter:\"\\\\ea79\"}),s.vm=new s(\"vm\",{fontCharacter:\"\\\\ea7a\"}),s.deviceDesktop=new s(\"device-desktop\",{fontCharacter:\"\\\\ea7a\"}),s.file=new s(\"file\",{fontCharacter:\"\\\\ea7b\"}),s.fileText=new s(\"file-text\",{fontCharacter:\"\\\\ea7b\"}),s.more=new s(\"more\",{fontCharacter:\"\\\\ea7c\"}),s.ellipsis=new s(\"ellipsis\",{fontCharacter:\"\\\\ea7c\"}),s.kebabHorizontal=new s(\"kebab-horizontal\",{fontCharacter:\"\\\\ea7c\"}),s.mailReply=new s(\"mail-reply\",{fontCharacter:\"\\\\ea7d\"}),s.reply=new s(\"reply\",{fontCharacter:\"\\\\ea7d\"}),s.organization=new s(\"organization\",{fontCharacter:\"\\\\ea7e\"}),s.organizationFilled=new s(\"organization-filled\",{fontCharacter:\"\\\\ea7e\"}),s.organizationOutline=new s(\"organization-outline\",{fontCharacter:\"\\\\ea7e\"}),s.newFile=new s(\"new-file\",{fontCharacter:\"\\\\ea7f\"}),s.fileAdd=new s(\"file-add\",{fontCharacter:\"\\\\ea7f\"}),s.newFolder=new s(\"new-folder\",{fontCharacter:\"\\\\ea80\"}),s.fileDirectoryCreate=new s(\"file-directory-create\",{fontCharacter:\"\\\\ea80\"}),s.trash=new s(\"trash\",{fontCharacter:\"\\\\ea81\"}),s.trashcan=new s(\"trashcan\",{fontCharacter:\"\\\\ea81\"}),s.history=new s(\"history\",{fontCharacter:\"\\\\ea82\"}),s.clock=new s(\"clock\",{fontCharacter:\"\\\\ea82\"}),s.folder=new s(\"folder\",{fontCharacter:\"\\\\ea83\"}),s.fileDirectory=new s(\"file-directory\",{fontCharacter:\"\\\\ea83\"}),s.symbolFolder=new s(\"symbol-folder\",{fontCharacter:\"\\\\ea83\"}),s.logoGithub=new s(\"logo-github\",{fontCharacter:\"\\\\ea84\"}),s.markGithub=new s(\"mark-github\",{fontCharacter:\"\\\\ea84\"}),s.github=new s(\"github\",{fontCharacter:\"\\\\ea84\"}),s.terminal=new s(\"terminal\",{fontCharacter:\"\\\\ea85\"}),s.console=new s(\"console\",{fontCharacter:\"\\\\ea85\"}),s.repl=new s(\"repl\",{fontCharacter:\"\\\\ea85\"}),s.zap=new s(\"zap\",{fontCharacter:\"\\\\ea86\"}),s.symbolEvent=new s(\"symbol-event\",{fontCharacter:\"\\\\ea86\"}),s.error=new s(\"error\",{fontCharacter:\"\\\\ea87\"}),s.stop=new s(\"stop\",{fontCharacter:\"\\\\ea87\"}),s.variable=new s(\"variable\",{fontCharacter:\"\\\\ea88\"}),s.symbolVariable=new s(\"symbol-variable\",{fontCharacter:\"\\\\ea88\"}),s.array=new s(\"array\",{fontCharacter:\"\\\\ea8a\"}),s.symbolArray=new s(\"symbol-array\",{fontCharacter:\"\\\\ea8a\"}),s.symbolModule=new s(\"symbol-module\",{fontCharacter:\"\\\\ea8b\"}),s.symbolPackage=new s(\"symbol-package\",{fontCharacter:\"\\\\ea8b\"}),s.symbolNamespace=new s(\"symbol-namespace\",{fontCharacter:\"\\\\ea8b\"}),s.symbolObject=new s(\"symbol-object\",{fontCharacter:\"\\\\ea8b\"}),s.symbolMethod=new s(\"symbol-method\",{fontCharacter:\"\\\\ea8c\"}),s.symbolFunction=new s(\"symbol-function\",{fontCharacter:\"\\\\ea8c\"}),s.symbolConstructor=new s(\"symbol-constructor\",{fontCharacter:\"\\\\ea8c\"}),s.symbolBoolean=new s(\"symbol-boolean\",{fontCharacter:\"\\\\ea8f\"}),s.symbolNull=new s(\"symbol-null\",{fontCharacter:\"\\\\ea8f\"}),s.symbolNumeric=new s(\"symbol-numeric\",{fontCharacter:\"\\\\ea90\"}),s.symbolNumber=new s(\"symbol-number\",{fontCharacter:\"\\\\ea90\"}),s.symbolStructure=new s(\"symbol-structure\",{fontCharacter:\"\\\\ea91\"}),s.symbolStruct=new s(\"symbol-struct\",{fontCharacter:\"\\\\ea91\"}),s.symbolParameter=new s(\"symbol-parameter\",{fontCharacter:\"\\\\ea92\"}),s.symbolTypeParameter=new s(\"symbol-type-parameter\",{fontCharacter:\"\\\\ea92\"}),s.symbolKey=new s(\"symbol-key\",{fontCharacter:\"\\\\ea93\"}),s.symbolText=new s(\"symbol-text\",{fontCharacter:\"\\\\ea93\"}),s.symbolReference=new s(\"symbol-reference\",{fontCharacter:\"\\\\ea94\"}),s.goToFile=new s(\"go-to-file\",{fontCharacter:\"\\\\ea94\"}),s.symbolEnum=new s(\"symbol-enum\",{fontCharacter:\"\\\\ea95\"}),s.symbolValue=new s(\"symbol-value\",{fontCharacter:\"\\\\ea95\"}),s.symbolRuler=new s(\"symbol-ruler\",{fontCharacter:\"\\\\ea96\"}),s.symbolUnit=new s(\"symbol-unit\",{fontCharacter:\"\\\\ea96\"}),s.activateBreakpoints=new s(\"activate-breakpoints\",{fontCharacter:\"\\\\ea97\"}),s.archive=new s(\"archive\",{fontCharacter:\"\\\\ea98\"}),s.arrowBoth=new s(\"arrow-both\",{fontCharacter:\"\\\\ea99\"}),s.arrowDown=new s(\"arrow-down\",{fontCharacter:\"\\\\ea9a\"}),s.arrowLeft=new s(\"arrow-left\",{fontCharacter:\"\\\\ea9b\"}),s.arrowRight=new s(\"arrow-right\",{fontCharacter:\"\\\\ea9c\"}),s.arrowSmallDown=new s(\"arrow-small-down\",{fontCharacter:\"\\\\ea9d\"}),s.arrowSmallLeft=new s(\"arrow-small-left\",{fontCharacter:\"\\\\ea9e\"}),s.arrowSmallRight=new s(\"arrow-small-right\",{fontCharacter:\"\\\\ea9f\"}),s.arrowSmallUp=new s(\"arrow-small-up\",{fontCharacter:\"\\\\eaa0\"}),s.arrowUp=new s(\"arrow-up\",{fontCharacter:\"\\\\eaa1\"}),s.bell=new s(\"bell\",{fontCharacter:\"\\\\eaa2\"}),s.bold=new s(\"bold\",{fontCharacter:\"\\\\eaa3\"}),s.book=new s(\"book\",{fontCharacter:\"\\\\eaa4\"}),s.bookmark=new s(\"bookmark\",{fontCharacter:\"\\\\eaa5\"}),s.debugBreakpointConditionalUnverified=new s(\"debug-breakpoint-conditional-unverified\",{fontCharacter:\"\\\\eaa6\"}),s.debugBreakpointConditional=new s(\"debug-breakpoint-conditional\",{fontCharacter:\"\\\\eaa7\"}),s.debugBreakpointConditionalDisabled=new s(\"debug-breakpoint-conditional-disabled\",{fontCharacter:\"\\\\eaa7\"}),s.debugBreakpointDataUnverified=new s(\"debug-breakpoint-data-unverified\",{fontCharacter:\"\\\\eaa8\"}),s.debugBreakpointData=new s(\"debug-breakpoint-data\",{fontCharacter:\"\\\\eaa9\"}),s.debugBreakpointDataDisabled=new s(\"debug-breakpoint-data-disabled\",{fontCharacter:\"\\\\eaa9\"}),s.debugBreakpointLogUnverified=new s(\"debug-breakpoint-log-unverified\",{fontCharacter:\"\\\\eaaa\"}),s.debugBreakpointLog=new s(\"debug-breakpoint-log\",{fontCharacter:\"\\\\eaab\"}),s.debugBreakpointLogDisabled=new s(\"debug-breakpoint-log-disabled\",{fontCharacter:\"\\\\eaab\"}),s.briefcase=new s(\"briefcase\",{fontCharacter:\"\\\\eaac\"}),s.broadcast=new s(\"broadcast\",{fontCharacter:\"\\\\eaad\"}),s.browser=new s(\"browser\",{fontCharacter:\"\\\\eaae\"}),s.bug=new s(\"bug\",{fontCharacter:\"\\\\eaaf\"}),s.calendar=new s(\"calendar\",{fontCharacter:\"\\\\eab0\"}),s.caseSensitive=new s(\"case-sensitive\",{fontCharacter:\"\\\\eab1\"}),s.check=new s(\"check\",{fontCharacter:\"\\\\eab2\"}),s.checklist=new s(\"checklist\",{fontCharacter:\"\\\\eab3\"}),s.chevronDown=new s(\"chevron-down\",{fontCharacter:\"\\\\eab4\"}),s.dropDownButton=new s(\"drop-down-button\",s.chevronDown.definition),s.chevronLeft=new s(\"chevron-left\",{fontCharacter:\"\\\\eab5\"}),s.chevronRight=new s(\"chevron-right\",{fontCharacter:\"\\\\eab6\"}),s.chevronUp=new s(\"chevron-up\",{fontCharacter:\"\\\\eab7\"}),s.chromeClose=new s(\"chrome-close\",{fontCharacter:\"\\\\eab8\"}),s.chromeMaximize=new s(\"chrome-maximize\",{fontCharacter:\"\\\\eab9\"}),s.chromeMinimize=new s(\"chrome-minimize\",{fontCharacter:\"\\\\eaba\"}),s.chromeRestore=new s(\"chrome-restore\",{fontCharacter:\"\\\\eabb\"}),s.circleOutline=new s(\"circle-outline\",{fontCharacter:\"\\\\eabc\"}),s.debugBreakpointUnverified=new s(\"debug-breakpoint-unverified\",{fontCharacter:\"\\\\eabc\"}),s.circleSlash=new s(\"circle-slash\",{fontCharacter:\"\\\\eabd\"}),s.circuitBoard=new s(\"circuit-board\",{fontCharacter:\"\\\\eabe\"}),s.clearAll=new s(\"clear-all\",{fontCharacter:\"\\\\eabf\"}),s.clippy=new s(\"clippy\",{fontCharacter:\"\\\\eac0\"}),s.closeAll=new s(\"close-all\",{fontCharacter:\"\\\\eac1\"}),s.cloudDownload=new s(\"cloud-download\",{fontCharacter:\"\\\\eac2\"}),s.cloudUpload=new s(\"cloud-upload\",{fontCharacter:\"\\\\eac3\"}),s.code=new s(\"code\",{fontCharacter:\"\\\\eac4\"}),s.collapseAll=new s(\"collapse-all\",{fontCharacter:\"\\\\eac5\"}),s.colorMode=new s(\"color-mode\",{fontCharacter:\"\\\\eac6\"}),s.commentDiscussion=new s(\"comment-discussion\",{fontCharacter:\"\\\\eac7\"}),s.compareChanges=new s(\"compare-changes\",{fontCharacter:\"\\\\eafd\"}),s.creditCard=new s(\"credit-card\",{fontCharacter:\"\\\\eac9\"}),s.dash=new s(\"dash\",{fontCharacter:\"\\\\eacc\"}),s.dashboard=new s(\"dashboard\",{fontCharacter:\"\\\\eacd\"}),s.database=new s(\"database\",{fontCharacter:\"\\\\eace\"}),s.debugContinue=new s(\"debug-continue\",{fontCharacter:\"\\\\eacf\"}),s.debugDisconnect=new s(\"debug-disconnect\",{fontCharacter:\"\\\\ead0\"}),s.debugPause=new s(\"debug-pause\",{fontCharacter:\"\\\\ead1\"}),s.debugRestart=new s(\"debug-restart\",{fontCharacter:\"\\\\ead2\"}),s.debugStart=new s(\"debug-start\",{fontCharacter:\"\\\\ead3\"}),s.debugStepInto=new s(\"debug-step-into\",{fontCharacter:\"\\\\ead4\"}),s.debugStepOut=new s(\"debug-step-out\",{fontCharacter:\"\\\\ead5\"}),s.debugStepOver=new s(\"debug-step-over\",{fontCharacter:\"\\\\ead6\"}),s.debugStop=new s(\"debug-stop\",{fontCharacter:\"\\\\ead7\"}),s.debug=new s(\"debug\",{fontCharacter:\"\\\\ead8\"}),s.deviceCameraVideo=new s(\"device-camera-video\",{fontCharacter:\"\\\\ead9\"}),s.deviceCamera=new s(\"device-camera\",{fontCharacter:\"\\\\eada\"}),s.deviceMobile=new s(\"device-mobile\",{fontCharacter:\"\\\\eadb\"}),s.diffAdded=new s(\"diff-added\",{fontCharacter:\"\\\\eadc\"}),s.diffIgnored=new s(\"diff-ignored\",{fontCharacter:\"\\\\eadd\"}),s.diffModified=new s(\"diff-modified\",{fontCharacter:\"\\\\eade\"}),s.diffRemoved=new s(\"diff-removed\",{fontCharacter:\"\\\\eadf\"}),s.diffRenamed=new s(\"diff-renamed\",{fontCharacter:\"\\\\eae0\"}),s.diff=new s(\"diff\",{fontCharacter:\"\\\\eae1\"}),s.discard=new s(\"discard\",{fontCharacter:\"\\\\eae2\"}),s.editorLayout=new s(\"editor-layout\",{fontCharacter:\"\\\\eae3\"}),s.emptyWindow=new s(\"empty-window\",{fontCharacter:\"\\\\eae4\"}),s.exclude=new s(\"exclude\",{fontCharacter:\"\\\\eae5\"}),s.extensions=new s(\"extensions\",{fontCharacter:\"\\\\eae6\"}),s.eyeClosed=new s(\"eye-closed\",{fontCharacter:\"\\\\eae7\"}),s.fileBinary=new s(\"file-binary\",{fontCharacter:\"\\\\eae8\"}),s.fileCode=new s(\"file-code\",{fontCharacter:\"\\\\eae9\"}),s.fileMedia=new s(\"file-media\",{fontCharacter:\"\\\\eaea\"}),s.filePdf=new s(\"file-pdf\",{fontCharacter:\"\\\\eaeb\"}),s.fileSubmodule=new s(\"file-submodule\",{fontCharacter:\"\\\\eaec\"}),s.fileSymlinkDirectory=new s(\"file-symlink-directory\",{fontCharacter:\"\\\\eaed\"}),s.fileSymlinkFile=new s(\"file-symlink-file\",{fontCharacter:\"\\\\eaee\"}),s.fileZip=new s(\"file-zip\",{fontCharacter:\"\\\\eaef\"}),s.files=new s(\"files\",{fontCharacter:\"\\\\eaf0\"}),s.filter=new s(\"filter\",{fontCharacter:\"\\\\eaf1\"}),s.flame=new s(\"flame\",{fontCharacter:\"\\\\eaf2\"}),s.foldDown=new s(\"fold-down\",{fontCharacter:\"\\\\eaf3\"}),s.foldUp=new s(\"fold-up\",{fontCharacter:\"\\\\eaf4\"}),s.fold=new s(\"fold\",{fontCharacter:\"\\\\eaf5\"}),s.folderActive=new s(\"folder-active\",{fontCharacter:\"\\\\eaf6\"}),s.folderOpened=new s(\"folder-opened\",{fontCharacter:\"\\\\eaf7\"}),s.gear=new s(\"gear\",{fontCharacter:\"\\\\eaf8\"}),s.gift=new s(\"gift\",{fontCharacter:\"\\\\eaf9\"}),s.gistSecret=new s(\"gist-secret\",{fontCharacter:\"\\\\eafa\"}),s.gist=new s(\"gist\",{fontCharacter:\"\\\\eafb\"}),s.gitCommit=new s(\"git-commit\",{fontCharacter:\"\\\\eafc\"}),s.gitCompare=new s(\"git-compare\",{fontCharacter:\"\\\\eafd\"}),s.gitMerge=new s(\"git-merge\",{fontCharacter:\"\\\\eafe\"}),s.githubAction=new s(\"github-action\",{fontCharacter:\"\\\\eaff\"}),s.githubAlt=new s(\"github-alt\",{fontCharacter:\"\\\\eb00\"}),s.globe=new s(\"globe\",{fontCharacter:\"\\\\eb01\"}),s.grabber=new s(\"grabber\",{fontCharacter:\"\\\\eb02\"}),s.graph=new s(\"graph\",{fontCharacter:\"\\\\eb03\"}),s.gripper=new s(\"gripper\",{fontCharacter:\"\\\\eb04\"}),s.heart=new s(\"heart\",{fontCharacter:\"\\\\eb05\"}),s.home=new s(\"home\",{fontCharacter:\"\\\\eb06\"}),s.horizontalRule=new s(\"horizontal-rule\",{fontCharacter:\"\\\\eb07\"}),s.hubot=new s(\"hubot\",{fontCharacter:\"\\\\eb08\"}),s.inbox=new s(\"inbox\",{fontCharacter:\"\\\\eb09\"}),s.issueClosed=new s(\"issue-closed\",{fontCharacter:\"\\\\eba4\"}),s.issueReopened=new s(\"issue-reopened\",{fontCharacter:\"\\\\eb0b\"}),s.issues=new s(\"issues\",{fontCharacter:\"\\\\eb0c\"}),s.italic=new s(\"italic\",{fontCharacter:\"\\\\eb0d\"}),s.jersey=new s(\"jersey\",{fontCharacter:\"\\\\eb0e\"}),s.json=new s(\"json\",{fontCharacter:\"\\\\eb0f\"}),s.kebabVertical=new s(\"kebab-vertical\",{fontCharacter:\"\\\\eb10\"}),s.key=new s(\"key\",{fontCharacter:\"\\\\eb11\"}),s.law=new s(\"law\",{fontCharacter:\"\\\\eb12\"}),s.lightbulbAutofix=new s(\"lightbulb-autofix\",{fontCharacter:\"\\\\eb13\"}),s.linkExternal=new s(\"link-external\",{fontCharacter:\"\\\\eb14\"}),s.link=new s(\"link\",{fontCharacter:\"\\\\eb15\"}),s.listOrdered=new s(\"list-ordered\",{fontCharacter:\"\\\\eb16\"}),s.listUnordered=new s(\"list-unordered\",{fontCharacter:\"\\\\eb17\"}),s.liveShare=new s(\"live-share\",{fontCharacter:\"\\\\eb18\"}),s.loading=new s(\"loading\",{fontCharacter:\"\\\\eb19\"}),s.location=new s(\"location\",{fontCharacter:\"\\\\eb1a\"}),s.mailRead=new s(\"mail-read\",{fontCharacter:\"\\\\eb1b\"}),s.mail=new s(\"mail\",{fontCharacter:\"\\\\eb1c\"}),s.markdown=new s(\"markdown\",{fontCharacter:\"\\\\eb1d\"}),s.megaphone=new s(\"megaphone\",{fontCharacter:\"\\\\eb1e\"}),s.mention=new s(\"mention\",{fontCharacter:\"\\\\eb1f\"}),s.milestone=new s(\"milestone\",{fontCharacter:\"\\\\eb20\"}),s.mortarBoard=new s(\"mortar-board\",{fontCharacter:\"\\\\eb21\"}),s.move=new s(\"move\",{fontCharacter:\"\\\\eb22\"}),s.multipleWindows=new s(\"multiple-windows\",{fontCharacter:\"\\\\eb23\"}),s.mute=new s(\"mute\",{fontCharacter:\"\\\\eb24\"}),s.noNewline=new s(\"no-newline\",{fontCharacter:\"\\\\eb25\"}),s.note=new s(\"note\",{fontCharacter:\"\\\\eb26\"}),s.octoface=new s(\"octoface\",{fontCharacter:\"\\\\eb27\"}),s.openPreview=new s(\"open-preview\",{fontCharacter:\"\\\\eb28\"}),s.package_=new s(\"package\",{fontCharacter:\"\\\\eb29\"}),s.paintcan=new s(\"paintcan\",{fontCharacter:\"\\\\eb2a\"}),s.pin=new s(\"pin\",{fontCharacter:\"\\\\eb2b\"}),s.play=new s(\"play\",{fontCharacter:\"\\\\eb2c\"}),s.run=new s(\"run\",{fontCharacter:\"\\\\eb2c\"}),s.plug=new s(\"plug\",{fontCharacter:\"\\\\eb2d\"}),s.preserveCase=new s(\"preserve-case\",{fontCharacter:\"\\\\eb2e\"}),s.preview=new s(\"preview\",{fontCharacter:\"\\\\eb2f\"}),s.project=new s(\"project\",{fontCharacter:\"\\\\eb30\"}),s.pulse=new s(\"pulse\",{fontCharacter:\"\\\\eb31\"}),s.question=new s(\"question\",{fontCharacter:\"\\\\eb32\"}),s.quote=new s(\"quote\",{fontCharacter:\"\\\\eb33\"}),s.radioTower=new s(\"radio-tower\",{fontCharacter:\"\\\\eb34\"}),s.reactions=new s(\"reactions\",{fontCharacter:\"\\\\eb35\"}),s.references=new s(\"references\",{fontCharacter:\"\\\\eb36\"}),s.refresh=new s(\"refresh\",{fontCharacter:\"\\\\eb37\"}),s.regex=new s(\"regex\",{fontCharacter:\"\\\\eb38\"}),s.remoteExplorer=new s(\"remote-explorer\",{fontCharacter:\"\\\\eb39\"}),s.remote=new s(\"remote\",{fontCharacter:\"\\\\eb3a\"}),s.remove=new s(\"remove\",{fontCharacter:\"\\\\eb3b\"}),s.replaceAll=new s(\"replace-all\",{fontCharacter:\"\\\\eb3c\"}),s.replace=new s(\"replace\",{fontCharacter:\"\\\\eb3d\"}),s.repoClone=new s(\"repo-clone\",{fontCharacter:\"\\\\eb3e\"}),s.repoForcePush=new s(\"repo-force-push\",{fontCharacter:\"\\\\eb3f\"}),s.repoPull=new s(\"repo-pull\",{fontCharacter:\"\\\\eb40\"}),s.repoPush=new s(\"repo-push\",{fontCharacter:\"\\\\eb41\"}),s.report=new s(\"report\",{fontCharacter:\"\\\\eb42\"}),s.requestChanges=new s(\"request-changes\",{fontCharacter:\"\\\\eb43\"}),s.rocket=new s(\"rocket\",{fontCharacter:\"\\\\eb44\"}),s.rootFolderOpened=new s(\"root-folder-opened\",{fontCharacter:\"\\\\eb45\"}),s.rootFolder=new s(\"root-folder\",{fontCharacter:\"\\\\eb46\"}),s.rss=new s(\"rss\",{fontCharacter:\"\\\\eb47\"}),s.ruby=new s(\"ruby\",{fontCharacter:\"\\\\eb48\"}),s.saveAll=new s(\"save-all\",{fontCharacter:\"\\\\eb49\"}),s.saveAs=new s(\"save-as\",{fontCharacter:\"\\\\eb4a\"}),s.save=new s(\"save\",{fontCharacter:\"\\\\eb4b\"}),s.screenFull=new s(\"screen-full\",{fontCharacter:\"\\\\eb4c\"}),s.screenNormal=new s(\"screen-normal\",{fontCharacter:\"\\\\eb4d\"}),s.searchStop=new s(\"search-stop\",{fontCharacter:\"\\\\eb4e\"}),s.server=new s(\"server\",{fontCharacter:\"\\\\eb50\"}),s.settingsGear=new s(\"settings-gear\",{fontCharacter:\"\\\\eb51\"}),s.settings=new s(\"settings\",{fontCharacter:\"\\\\eb52\"}),s.shield=new s(\"shield\",{fontCharacter:\"\\\\eb53\"}),s.smiley=new s(\"smiley\",{fontCharacter:\"\\\\eb54\"}),s.sortPrecedence=new s(\"sort-precedence\",{fontCharacter:\"\\\\eb55\"}),s.splitHorizontal=new s(\"split-horizontal\",{fontCharacter:\"\\\\eb56\"}),s.splitVertical=new s(\"split-vertical\",{fontCharacter:\"\\\\eb57\"}),s.squirrel=new s(\"squirrel\",{fontCharacter:\"\\\\eb58\"}),s.starFull=new s(\"star-full\",{fontCharacter:\"\\\\eb59\"}),s.starHalf=new s(\"star-half\",{fontCharacter:\"\\\\eb5a\"}),s.symbolClass=new s(\"symbol-class\",{fontCharacter:\"\\\\eb5b\"}),s.symbolColor=new s(\"symbol-color\",{fontCharacter:\"\\\\eb5c\"}),s.symbolCustomColor=new s(\"symbol-customcolor\",{fontCharacter:\"\\\\eb5c\"}),s.symbolConstant=new s(\"symbol-constant\",{fontCharacter:\"\\\\eb5d\"}),s.symbolEnumMember=new s(\"symbol-enum-member\",{fontCharacter:\"\\\\eb5e\"}),s.symbolField=new s(\"symbol-field\",{fontCharacter:\"\\\\eb5f\"}),s.symbolFile=new s(\"symbol-file\",{fontCharacter:\"\\\\eb60\"}),s.symbolInterface=new s(\"symbol-interface\",{fontCharacter:\"\\\\eb61\"}),s.symbolKeyword=new s(\"symbol-keyword\",{fontCharacter:\"\\\\eb62\"}),s.symbolMisc=new s(\"symbol-misc\",{fontCharacter:\"\\\\eb63\"}),s.symbolOperator=new s(\"symbol-operator\",{fontCharacter:\"\\\\eb64\"}),s.symbolProperty=new s(\"symbol-property\",{fontCharacter:\"\\\\eb65\"}),s.wrench=new s(\"wrench\",{fontCharacter:\"\\\\eb65\"}),s.wrenchSubaction=new s(\"wrench-subaction\",{fontCharacter:\"\\\\eb65\"}),s.symbolSnippet=new s(\"symbol-snippet\",{fontCharacter:\"\\\\eb66\"}),s.tasklist=new s(\"tasklist\",{fontCharacter:\"\\\\eb67\"}),s.telescope=new s(\"telescope\",{fontCharacter:\"\\\\eb68\"}),s.textSize=new s(\"text-size\",{fontCharacter:\"\\\\eb69\"}),s.threeBars=new s(\"three-bars\",{fontCharacter:\"\\\\eb6a\"}),s.thumbsdown=new s(\"thumbsdown\",{fontCharacter:\"\\\\eb6b\"}),s.thumbsup=new s(\"thumbsup\",{fontCharacter:\"\\\\eb6c\"}),s.tools=new s(\"tools\",{fontCharacter:\"\\\\eb6d\"}),s.triangleDown=new s(\"triangle-down\",{fontCharacter:\"\\\\eb6e\"}),s.triangleLeft=new s(\"triangle-left\",{fontCharacter:\"\\\\eb6f\"}),s.triangleRight=new s(\"triangle-right\",{fontCharacter:\"\\\\eb70\"}),s.triangleUp=new s(\"triangle-up\",{fontCharacter:\"\\\\eb71\"}),s.twitter=new s(\"twitter\",{fontCharacter:\"\\\\eb72\"}),s.unfold=new s(\"unfold\",{fontCharacter:\"\\\\eb73\"}),s.unlock=new s(\"unlock\",{fontCharacter:\"\\\\eb74\"}),s.unmute=new s(\"unmute\",{fontCharacter:\"\\\\eb75\"}),s.unverified=new s(\"unverified\",{fontCharacter:\"\\\\eb76\"}),s.verified=new s(\"verified\",{fontCharacter:\"\\\\eb77\"}),s.versions=new s(\"versions\",{fontCharacter:\"\\\\eb78\"}),s.vmActive=new s(\"vm-active\",{fontCharacter:\"\\\\eb79\"}),s.vmOutline=new s(\"vm-outline\",{fontCharacter:\"\\\\eb7a\"}),s.vmRunning=new s(\"vm-running\",{fontCharacter:\"\\\\eb7b\"}),s.watch=new s(\"watch\",{fontCharacter:\"\\\\eb7c\"}),s.whitespace=new s(\"whitespace\",{fontCharacter:\"\\\\eb7d\"}),s.wholeWord=new s(\"whole-word\",{fontCharacter:\"\\\\eb7e\"}),s.window=new s(\"window\",{fontCharacter:\"\\\\eb7f\"}),s.wordWrap=new s(\"word-wrap\",{fontCharacter:\"\\\\eb80\"}),s.zoomIn=new s(\"zoom-in\",{fontCharacter:\"\\\\eb81\"}),s.zoomOut=new s(\"zoom-out\",{fontCharacter:\"\\\\eb82\"}),s.listFilter=new s(\"list-filter\",{fontCharacter:\"\\\\eb83\"}),s.listFlat=new s(\"list-flat\",{fontCharacter:\"\\\\eb84\"}),s.listSelection=new s(\"list-selection\",{fontCharacter:\"\\\\eb85\"}),s.selection=new s(\"selection\",{fontCharacter:\"\\\\eb85\"}),s.listTree=new s(\"list-tree\",{fontCharacter:\"\\\\eb86\"}),s.debugBreakpointFunctionUnverified=new s(\"debug-breakpoint-function-unverified\",{fontCharacter:\"\\\\eb87\"}),s.debugBreakpointFunction=new s(\"debug-breakpoint-function\",{fontCharacter:\"\\\\eb88\"}),s.debugBreakpointFunctionDisabled=new s(\"debug-breakpoint-function-disabled\",{fontCharacter:\"\\\\eb88\"}),s.debugStackframeActive=new s(\"debug-stackframe-active\",{fontCharacter:\"\\\\eb89\"}),s.debugStackframeDot=new s(\"debug-stackframe-dot\",{fontCharacter:\"\\\\eb8a\"}),s.debugStackframe=new s(\"debug-stackframe\",{fontCharacter:\"\\\\eb8b\"}),s.debugStackframeFocused=new s(\"debug-stackframe-focused\",{fontCharacter:\"\\\\eb8b\"}),s.debugBreakpointUnsupported=new s(\"debug-breakpoint-unsupported\",{fontCharacter:\"\\\\eb8c\"}),s.symbolString=new s(\"symbol-string\",{fontCharacter:\"\\\\eb8d\"}),s.debugReverseContinue=new s(\"debug-reverse-continue\",{fontCharacter:\"\\\\eb8e\"}),s.debugStepBack=new s(\"debug-step-back\",{fontCharacter:\"\\\\eb8f\"}),s.debugRestartFrame=new s(\"debug-restart-frame\",{fontCharacter:\"\\\\eb90\"}),s.callIncoming=new s(\"call-incoming\",{fontCharacter:\"\\\\eb92\"}),s.callOutgoing=new s(\"call-outgoing\",{fontCharacter:\"\\\\eb93\"}),s.menu=new s(\"menu\",{fontCharacter:\"\\\\eb94\"}),s.expandAll=new s(\"expand-all\",{fontCharacter:\"\\\\eb95\"}),s.feedback=new s(\"feedback\",{fontCharacter:\"\\\\eb96\"}),s.groupByRefType=new s(\"group-by-ref-type\",{fontCharacter:\"\\\\eb97\"}),s.ungroupByRefType=new s(\"ungroup-by-ref-type\",{fontCharacter:\"\\\\eb98\"}),s.account=new s(\"account\",{fontCharacter:\"\\\\eb99\"}),s.bellDot=new s(\"bell-dot\",{fontCharacter:\"\\\\eb9a\"}),s.debugConsole=new s(\"debug-console\",{fontCharacter:\"\\\\eb9b\"}),s.library=new s(\"library\",{fontCharacter:\"\\\\eb9c\"}),s.output=new s(\"output\",{fontCharacter:\"\\\\eb9d\"}),s.runAll=new s(\"run-all\",{fontCharacter:\"\\\\eb9e\"}),s.syncIgnored=new s(\"sync-ignored\",{fontCharacter:\"\\\\eb9f\"}),s.pinned=new s(\"pinned\",{fontCharacter:\"\\\\eba0\"}),s.githubInverted=new s(\"github-inverted\",{fontCharacter:\"\\\\eba1\"}),s.debugAlt=new s(\"debug-alt\",{fontCharacter:\"\\\\eb91\"}),s.serverProcess=new s(\"server-process\",{fontCharacter:\"\\\\eba2\"}),s.serverEnvironment=new s(\"server-environment\",{fontCharacter:\"\\\\eba3\"}),s.pass=new s(\"pass\",{fontCharacter:\"\\\\eba4\"}),s.stopCircle=new s(\"stop-circle\",{fontCharacter:\"\\\\eba5\"}),s.playCircle=new s(\"play-circle\",{fontCharacter:\"\\\\eba6\"}),s.record=new s(\"record\",{fontCharacter:\"\\\\eba7\"}),s.debugAltSmall=new s(\"debug-alt-small\",{fontCharacter:\"\\\\eba8\"}),s.vmConnect=new s(\"vm-connect\",{fontCharacter:\"\\\\eba9\"}),s.cloud=new s(\"cloud\",{fontCharacter:\"\\\\ebaa\"}),s.merge=new s(\"merge\",{fontCharacter:\"\\\\ebab\"}),s.exportIcon=new s(\"export\",{fontCharacter:\"\\\\ebac\"}),s.graphLeft=new s(\"graph-left\",{fontCharacter:\"\\\\ebad\"}),s.magnet=new s(\"magnet\",{fontCharacter:\"\\\\ebae\"}),s.notebook=new s(\"notebook\",{fontCharacter:\"\\\\ebaf\"}),s.redo=new s(\"redo\",{fontCharacter:\"\\\\ebb0\"}),s.checkAll=new s(\"check-all\",{fontCharacter:\"\\\\ebb1\"}),s.pinnedDirty=new s(\"pinned-dirty\",{fontCharacter:\"\\\\ebb2\"}),s.passFilled=new s(\"pass-filled\",{fontCharacter:\"\\\\ebb3\"}),s.circleLargeFilled=new s(\"circle-large-filled\",{fontCharacter:\"\\\\ebb4\"}),s.circleLargeOutline=new s(\"circle-large-outline\",{fontCharacter:\"\\\\ebb5\"}),s.combine=new s(\"combine\",{fontCharacter:\"\\\\ebb6\"}),s.gather=new s(\"gather\",{fontCharacter:\"\\\\ebb6\"}),s.table=new s(\"table\",{fontCharacter:\"\\\\ebb7\"}),s.variableGroup=new s(\"variable-group\",{fontCharacter:\"\\\\ebb8\"}),s.typeHierarchy=new s(\"type-hierarchy\",{fontCharacter:\"\\\\ebb9\"}),s.typeHierarchySub=new s(\"type-hierarchy-sub\",{fontCharacter:\"\\\\ebba\"}),s.typeHierarchySuper=new s(\"type-hierarchy-super\",{fontCharacter:\"\\\\ebbb\"}),s.gitPullRequestCreate=new s(\"git-pull-request-create\",{fontCharacter:\"\\\\ebbc\"}),s.runAbove=new s(\"run-above\",{fontCharacter:\"\\\\ebbd\"}),s.runBelow=new s(\"run-below\",{fontCharacter:\"\\\\ebbe\"}),s.notebookTemplate=new s(\"notebook-template\",{fontCharacter:\"\\\\ebbf\"}),s.debugRerun=new s(\"debug-rerun\",{fontCharacter:\"\\\\ebc0\"}),s.workspaceTrusted=new s(\"workspace-trusted\",{fontCharacter:\"\\\\ebc1\"}),s.workspaceUntrusted=new s(\"workspace-untrusted\",{fontCharacter:\"\\\\ebc2\"}),s.workspaceUnspecified=new s(\"workspace-unspecified\",{fontCharacter:\"\\\\ebc3\"}),s.terminalCmd=new s(\"terminal-cmd\",{fontCharacter:\"\\\\ebc4\"}),s.terminalDebian=new s(\"terminal-debian\",{fontCharacter:\"\\\\ebc5\"}),s.terminalLinux=new s(\"terminal-linux\",{fontCharacter:\"\\\\ebc6\"}),s.terminalPowershell=new s(\"terminal-powershell\",{fontCharacter:\"\\\\ebc7\"}),s.terminalTmux=new s(\"terminal-tmux\",{fontCharacter:\"\\\\ebc8\"}),s.terminalUbuntu=new s(\"terminal-ubuntu\",{fontCharacter:\"\\\\ebc9\"}),s.terminalBash=new s(\"terminal-bash\",{fontCharacter:\"\\\\ebca\"}),s.arrowSwap=new s(\"arrow-swap\",{fontCharacter:\"\\\\ebcb\"}),s.copy=new s(\"copy\",{fontCharacter:\"\\\\ebcc\"}),s.personAdd=new s(\"person-add\",{fontCharacter:\"\\\\ebcd\"}),s.filterFilled=new s(\"filter-filled\",{fontCharacter:\"\\\\ebce\"}),s.wand=new s(\"wand\",{fontCharacter:\"\\\\ebcf\"}),s.debugLineByLine=new s(\"debug-line-by-line\",{fontCharacter:\"\\\\ebd0\"}),s.inspect=new s(\"inspect\",{fontCharacter:\"\\\\ebd1\"}),s.layers=new s(\"layers\",{fontCharacter:\"\\\\ebd2\"}),s.layersDot=new s(\"layers-dot\",{fontCharacter:\"\\\\ebd3\"}),s.layersActive=new s(\"layers-active\",{fontCharacter:\"\\\\ebd4\"}),s.compass=new s(\"compass\",{fontCharacter:\"\\\\ebd5\"}),s.compassDot=new s(\"compass-dot\",{fontCharacter:\"\\\\ebd6\"}),s.compassActive=new s(\"compass-active\",{fontCharacter:\"\\\\ebd7\"}),s.azure=new s(\"azure\",{fontCharacter:\"\\\\ebd8\"}),s.issueDraft=new s(\"issue-draft\",{fontCharacter:\"\\\\ebd9\"}),s.gitPullRequestClosed=new s(\"git-pull-request-closed\",{fontCharacter:\"\\\\ebda\"}),s.gitPullRequestDraft=new s(\"git-pull-request-draft\",{fontCharacter:\"\\\\ebdb\"}),s.debugAll=new s(\"debug-all\",{fontCharacter:\"\\\\ebdc\"}),s.debugCoverage=new s(\"debug-coverage\",{fontCharacter:\"\\\\ebdd\"}),s.runErrors=new s(\"run-errors\",{fontCharacter:\"\\\\ebde\"}),s.folderLibrary=new s(\"folder-library\",{fontCharacter:\"\\\\ebdf\"}),s.debugContinueSmall=new s(\"debug-continue-small\",{fontCharacter:\"\\\\ebe0\"}),s.beakerStop=new s(\"beaker-stop\",{fontCharacter:\"\\\\ebe1\"}),s.graphLine=new s(\"graph-line\",{fontCharacter:\"\\\\ebe2\"}),s.graphScatter=new s(\"graph-scatter\",{fontCharacter:\"\\\\ebe3\"}),s.pieChart=new s(\"pie-chart\",{fontCharacter:\"\\\\ebe4\"}),s.bracket=new s(\"bracket\",s.json.definition),s.bracketDot=new s(\"bracket-dot\",{fontCharacter:\"\\\\ebe5\"}),s.bracketError=new s(\"bracket-error\",{fontCharacter:\"\\\\ebe6\"}),s.lockSmall=new s(\"lock-small\",{fontCharacter:\"\\\\ebe7\"}),s.azureDevops=new s(\"azure-devops\",{fontCharacter:\"\\\\ebe8\"}),s.verifiedFilled=new s(\"verified-filled\",{fontCharacter:\"\\\\ebe9\"}),s.newLine=new s(\"newline\",{fontCharacter:\"\\\\ebea\"}),s.layout=new s(\"layout\",{fontCharacter:\"\\\\ebeb\"}),s.layoutActivitybarLeft=new s(\"layout-activitybar-left\",{fontCharacter:\"\\\\ebec\"}),s.layoutActivitybarRight=new s(\"layout-activitybar-right\",{fontCharacter:\"\\\\ebed\"}),s.layoutPanelLeft=new s(\"layout-panel-left\",{fontCharacter:\"\\\\ebee\"}),s.layoutPanelCenter=new s(\"layout-panel-center\",{fontCharacter:\"\\\\ebef\"}),s.layoutPanelJustify=new s(\"layout-panel-justify\",{fontCharacter:\"\\\\ebf0\"}),s.layoutPanelRight=new s(\"layout-panel-right\",{fontCharacter:\"\\\\ebf1\"}),s.layoutPanel=new s(\"layout-panel\",{fontCharacter:\"\\\\ebf2\"}),s.layoutSidebarLeft=new s(\"layout-sidebar-left\",{fontCharacter:\"\\\\ebf3\"}),s.layoutSidebarRight=new s(\"layout-sidebar-right\",{fontCharacter:\"\\\\ebf4\"}),s.layoutStatusbar=new s(\"layout-statusbar\",{fontCharacter:\"\\\\ebf5\"}),s.layoutMenubar=new s(\"layout-menubar\",{fontCharacter:\"\\\\ebf6\"}),s.layoutCentered=new s(\"layout-centered\",{fontCharacter:\"\\\\ebf7\"}),s.target=new s(\"target\",{fontCharacter:\"\\\\ebf8\"}),s.indent=new s(\"indent\",{fontCharacter:\"\\\\ebf9\"}),s.recordSmall=new s(\"record-small\",{fontCharacter:\"\\\\ebfa\"}),s.errorSmall=new s(\"error-small\",{fontCharacter:\"\\\\ebfb\"}),s.arrowCircleDown=new s(\"arrow-circle-down\",{fontCharacter:\"\\\\ebfc\"}),s.arrowCircleLeft=new s(\"arrow-circle-left\",{fontCharacter:\"\\\\ebfd\"}),s.arrowCircleRight=new s(\"arrow-circle-right\",{fontCharacter:\"\\\\ebfe\"}),s.arrowCircleUp=new s(\"arrow-circle-up\",{fontCharacter:\"\\\\ebff\"}),s.dialogError=new s(\"dialog-error\",s.error.definition),s.dialogWarning=new s(\"dialog-warning\",s.warning.definition),s.dialogInfo=new s(\"dialog-info\",s.info.definition),s.dialogClose=new s(\"dialog-close\",s.close.definition),s.treeItemExpanded=new s(\"tree-item-expanded\",s.chevronDown.definition),s.treeFilterOnTypeOn=new s(\"tree-filter-on-type-on\",s.listFilter.definition),s.treeFilterOnTypeOff=new s(\"tree-filter-on-type-off\",s.listSelection.definition),s.treeFilterClear=new s(\"tree-filter-clear\",s.close.definition),s.treeItemLoading=new s(\"tree-item-loading\",s.loading.definition),s.menuSelection=new s(\"menu-selection\",s.check.definition),s.menuSubmenu=new s(\"menu-submenu\",s.chevronRight.definition),s.menuBarMore=new s(\"menubar-more\",s.more.definition),s.scrollbarButtonLeft=new s(\"scrollbar-button-left\",s.triangleLeft.definition),s.scrollbarButtonRight=new s(\"scrollbar-button-right\",s.triangleRight.definition),s.scrollbarButtonUp=new s(\"scrollbar-button-up\",s.triangleUp.definition),s.scrollbarButtonDown=new s(\"scrollbar-button-down\",s.triangleDown.definition),s.toolBarMore=new s(\"toolbar-more\",s.more.definition),s.quickInputBack=new s(\"quick-input-back\",s.arrowLeft.definition);var Ki;(function(e){e.iconNameSegment=\"[A-Za-z0-9]+\",e.iconNameExpression=\"[A-Za-z0-9-]+\",e.iconModifierExpression=\"~[A-Za-z]+\",e.iconNameCharacter=\"[A-Za-z0-9~-]\";const t=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function n(a){if(a instanceof s)return[\"codicon\",\"codicon-\"+a.id];const o=t.exec(a.id);if(!o)return n(s.error);let[,l,h]=o;const c=[\"codicon\",\"codicon-\"+l];return h&&c.push(\"codicon-modifier-\"+h.substr(1)),c}e.asClassNameArray=n;function r(a){return n(a).join(\" \")}e.asClassName=r;function i(a){return\".\"+n(a).join(\".\")}e.asCSSSelector=i})(Ki||(Ki={}));class tc{constructor(t,n,r){this._tokenBrand=void 0,this.offset=t,this.type=n,this.language=r}toString(){return\"(\"+this.offset+\", \"+this.type+\")\"}}var Zi;(function(e){const t=new Map;t.set(0,s.symbolMethod),t.set(1,s.symbolFunction),t.set(2,s.symbolConstructor),t.set(3,s.symbolField),t.set(4,s.symbolVariable),t.set(5,s.symbolClass),t.set(6,s.symbolStruct),t.set(7,s.symbolInterface),t.set(8,s.symbolModule),t.set(9,s.symbolProperty),t.set(10,s.symbolEvent),t.set(11,s.symbolOperator),t.set(12,s.symbolUnit),t.set(13,s.symbolValue),t.set(15,s.symbolEnum),t.set(14,s.symbolConstant),t.set(15,s.symbolEnum),t.set(16,s.symbolEnumMember),t.set(17,s.symbolKeyword),t.set(27,s.symbolSnippet),t.set(18,s.symbolText),t.set(19,s.symbolColor),t.set(20,s.symbolFile),t.set(21,s.symbolReference),t.set(22,s.symbolCustomColor),t.set(23,s.symbolFolder),t.set(24,s.symbolTypeParameter),t.set(25,s.account),t.set(26,s.issues);function n(a){let o=t.get(a);return o||(console.info(\"No codicon found for CompletionItemKind \"+a),o=s.symbolProperty),o}e.toIcon=n;const r=new Map;r.set(\"method\",0),r.set(\"function\",1),r.set(\"constructor\",2),r.set(\"field\",3),r.set(\"variable\",4),r.set(\"class\",5),r.set(\"struct\",6),r.set(\"interface\",7),r.set(\"module\",8),r.set(\"property\",9),r.set(\"event\",10),r.set(\"operator\",11),r.set(\"unit\",12),r.set(\"value\",13),r.set(\"constant\",14),r.set(\"enum\",15),r.set(\"enum-member\",16),r.set(\"enumMember\",16),r.set(\"keyword\",17),r.set(\"snippet\",27),r.set(\"text\",18),r.set(\"color\",19),r.set(\"file\",20),r.set(\"reference\",21),r.set(\"customcolor\",22),r.set(\"folder\",23),r.set(\"type-parameter\",24),r.set(\"typeParameter\",24),r.set(\"account\",25),r.set(\"issue\",26);function i(a,o){let l=r.get(a);return typeof l==\"undefined\"&&!o&&(l=9),l}e.fromString=i})(Zi||(Zi={}));var Qi;(function(e){e[e.Automatic=0]=\"Automatic\",e[e.Explicit=1]=\"Explicit\"})(Qi||(Qi={}));var ea;(function(e){e[e.Invoke=1]=\"Invoke\",e[e.TriggerCharacter=2]=\"TriggerCharacter\",e[e.ContentChange=3]=\"ContentChange\"})(ea||(ea={}));var ta;(function(e){e[e.Text=0]=\"Text\",e[e.Read=1]=\"Read\",e[e.Write=2]=\"Write\"})(ta||(ta={}));var na;(function(e){const t=new Map;t.set(0,s.symbolFile),t.set(1,s.symbolModule),t.set(2,s.symbolNamespace),t.set(3,s.symbolPackage),t.set(4,s.symbolClass),t.set(5,s.symbolMethod),t.set(6,s.symbolProperty),t.set(7,s.symbolField),t.set(8,s.symbolConstructor),t.set(9,s.symbolEnum),t.set(10,s.symbolInterface),t.set(11,s.symbolFunction),t.set(12,s.symbolVariable),t.set(13,s.symbolConstant),t.set(14,s.symbolString),t.set(15,s.symbolNumber),t.set(16,s.symbolBoolean),t.set(17,s.symbolArray),t.set(18,s.symbolObject),t.set(19,s.symbolKey),t.set(20,s.symbolNull),t.set(21,s.symbolEnumMember),t.set(22,s.symbolStruct),t.set(23,s.symbolEvent),t.set(24,s.symbolOperator),t.set(25,s.symbolTypeParameter);function n(r){let i=t.get(r);return i||(console.info(\"No codicon found for SymbolKind \"+r),i=s.symbolProperty),i}e.toIcon=n})(na||(na={}));var ra;(function(e){function t(n){return!n||typeof n!=\"object\"?!1:typeof n.id==\"string\"&&typeof n.title==\"string\"}e.is=t})(ra||(ra={}));var ia;(function(e){e[e.Type=1]=\"Type\",e[e.Parameter=2]=\"Parameter\"})(ia||(ia={})),new Ql;var aa;(function(e){e[e.Unknown=0]=\"Unknown\",e[e.Disabled=1]=\"Disabled\",e[e.Enabled=2]=\"Enabled\"})(aa||(aa={}));var sa;(function(e){e[e.KeepWhitespace=1]=\"KeepWhitespace\",e[e.InsertAsSnippet=4]=\"InsertAsSnippet\"})(sa||(sa={}));var oa;(function(e){e[e.Method=0]=\"Method\",e[e.Function=1]=\"Function\",e[e.Constructor=2]=\"Constructor\",e[e.Field=3]=\"Field\",e[e.Variable=4]=\"Variable\",e[e.Class=5]=\"Class\",e[e.Struct=6]=\"Struct\",e[e.Interface=7]=\"Interface\",e[e.Module=8]=\"Module\",e[e.Property=9]=\"Property\",e[e.Event=10]=\"Event\",e[e.Operator=11]=\"Operator\",e[e.Unit=12]=\"Unit\",e[e.Value=13]=\"Value\",e[e.Constant=14]=\"Constant\",e[e.Enum=15]=\"Enum\",e[e.EnumMember=16]=\"EnumMember\",e[e.Keyword=17]=\"Keyword\",e[e.Text=18]=\"Text\",e[e.Color=19]=\"Color\",e[e.File=20]=\"File\",e[e.Reference=21]=\"Reference\",e[e.Customcolor=22]=\"Customcolor\",e[e.Folder=23]=\"Folder\",e[e.TypeParameter=24]=\"TypeParameter\",e[e.User=25]=\"User\",e[e.Issue=26]=\"Issue\",e[e.Snippet=27]=\"Snippet\"})(oa||(oa={}));var la;(function(e){e[e.Deprecated=1]=\"Deprecated\"})(la||(la={}));var ca;(function(e){e[e.Invoke=0]=\"Invoke\",e[e.TriggerCharacter=1]=\"TriggerCharacter\",e[e.TriggerForIncompleteCompletions=2]=\"TriggerForIncompleteCompletions\"})(ca||(ca={}));var ha;(function(e){e[e.EXACT=0]=\"EXACT\",e[e.ABOVE=1]=\"ABOVE\",e[e.BELOW=2]=\"BELOW\"})(ha||(ha={}));var da;(function(e){e[e.NotSet=0]=\"NotSet\",e[e.ContentFlush=1]=\"ContentFlush\",e[e.RecoverFromMarkers=2]=\"RecoverFromMarkers\",e[e.Explicit=3]=\"Explicit\",e[e.Paste=4]=\"Paste\",e[e.Undo=5]=\"Undo\",e[e.Redo=6]=\"Redo\"})(da||(da={}));var ua;(function(e){e[e.LF=1]=\"LF\",e[e.CRLF=2]=\"CRLF\"})(ua||(ua={}));var pa;(function(e){e[e.Text=0]=\"Text\",e[e.Read=1]=\"Read\",e[e.Write=2]=\"Write\"})(pa||(pa={}));var fa;(function(e){e[e.None=0]=\"None\",e[e.Keep=1]=\"Keep\",e[e.Brackets=2]=\"Brackets\",e[e.Advanced=3]=\"Advanced\",e[e.Full=4]=\"Full\"})(fa||(fa={}));var ma;(function(e){e[e.acceptSuggestionOnCommitCharacter=0]=\"acceptSuggestionOnCommitCharacter\",e[e.acceptSuggestionOnEnter=1]=\"acceptSuggestionOnEnter\",e[e.accessibilitySupport=2]=\"accessibilitySupport\",e[e.accessibilityPageSize=3]=\"accessibilityPageSize\",e[e.ariaLabel=4]=\"ariaLabel\",e[e.autoClosingBrackets=5]=\"autoClosingBrackets\",e[e.autoClosingDelete=6]=\"autoClosingDelete\",e[e.autoClosingOvertype=7]=\"autoClosingOvertype\",e[e.autoClosingQuotes=8]=\"autoClosingQuotes\",e[e.autoIndent=9]=\"autoIndent\",e[e.automaticLayout=10]=\"automaticLayout\",e[e.autoSurround=11]=\"autoSurround\",e[e.bracketPairColorization=12]=\"bracketPairColorization\",e[e.guides=13]=\"guides\",e[e.codeLens=14]=\"codeLens\",e[e.codeLensFontFamily=15]=\"codeLensFontFamily\",e[e.codeLensFontSize=16]=\"codeLensFontSize\",e[e.colorDecorators=17]=\"colorDecorators\",e[e.columnSelection=18]=\"columnSelection\",e[e.comments=19]=\"comments\",e[e.contextmenu=20]=\"contextmenu\",e[e.copyWithSyntaxHighlighting=21]=\"copyWithSyntaxHighlighting\",e[e.cursorBlinking=22]=\"cursorBlinking\",e[e.cursorSmoothCaretAnimation=23]=\"cursorSmoothCaretAnimation\",e[e.cursorStyle=24]=\"cursorStyle\",e[e.cursorSurroundingLines=25]=\"cursorSurroundingLines\",e[e.cursorSurroundingLinesStyle=26]=\"cursorSurroundingLinesStyle\",e[e.cursorWidth=27]=\"cursorWidth\",e[e.disableLayerHinting=28]=\"disableLayerHinting\",e[e.disableMonospaceOptimizations=29]=\"disableMonospaceOptimizations\",e[e.domReadOnly=30]=\"domReadOnly\",e[e.dragAndDrop=31]=\"dragAndDrop\",e[e.emptySelectionClipboard=32]=\"emptySelectionClipboard\",e[e.extraEditorClassName=33]=\"extraEditorClassName\",e[e.fastScrollSensitivity=34]=\"fastScrollSensitivity\",e[e.find=35]=\"find\",e[e.fixedOverflowWidgets=36]=\"fixedOverflowWidgets\",e[e.folding=37]=\"folding\",e[e.foldingStrategy=38]=\"foldingStrategy\",e[e.foldingHighlight=39]=\"foldingHighlight\",e[e.foldingImportsByDefault=40]=\"foldingImportsByDefault\",e[e.foldingMaximumRegions=41]=\"foldingMaximumRegions\",e[e.unfoldOnClickAfterEndOfLine=42]=\"unfoldOnClickAfterEndOfLine\",e[e.fontFamily=43]=\"fontFamily\",e[e.fontInfo=44]=\"fontInfo\",e[e.fontLigatures=45]=\"fontLigatures\",e[e.fontSize=46]=\"fontSize\",e[e.fontWeight=47]=\"fontWeight\",e[e.formatOnPaste=48]=\"formatOnPaste\",e[e.formatOnType=49]=\"formatOnType\",e[e.glyphMargin=50]=\"glyphMargin\",e[e.gotoLocation=51]=\"gotoLocation\",e[e.hideCursorInOverviewRuler=52]=\"hideCursorInOverviewRuler\",e[e.hover=53]=\"hover\",e[e.inDiffEditor=54]=\"inDiffEditor\",e[e.inlineSuggest=55]=\"inlineSuggest\",e[e.letterSpacing=56]=\"letterSpacing\",e[e.lightbulb=57]=\"lightbulb\",e[e.lineDecorationsWidth=58]=\"lineDecorationsWidth\",e[e.lineHeight=59]=\"lineHeight\",e[e.lineNumbers=60]=\"lineNumbers\",e[e.lineNumbersMinChars=61]=\"lineNumbersMinChars\",e[e.linkedEditing=62]=\"linkedEditing\",e[e.links=63]=\"links\",e[e.matchBrackets=64]=\"matchBrackets\",e[e.minimap=65]=\"minimap\",e[e.mouseStyle=66]=\"mouseStyle\",e[e.mouseWheelScrollSensitivity=67]=\"mouseWheelScrollSensitivity\",e[e.mouseWheelZoom=68]=\"mouseWheelZoom\",e[e.multiCursorMergeOverlapping=69]=\"multiCursorMergeOverlapping\",e[e.multiCursorModifier=70]=\"multiCursorModifier\",e[e.multiCursorPaste=71]=\"multiCursorPaste\",e[e.occurrencesHighlight=72]=\"occurrencesHighlight\",e[e.overviewRulerBorder=73]=\"overviewRulerBorder\",e[e.overviewRulerLanes=74]=\"overviewRulerLanes\",e[e.padding=75]=\"padding\",e[e.parameterHints=76]=\"parameterHints\",e[e.peekWidgetDefaultFocus=77]=\"peekWidgetDefaultFocus\",e[e.definitionLinkOpensInPeek=78]=\"definitionLinkOpensInPeek\",e[e.quickSuggestions=79]=\"quickSuggestions\",e[e.quickSuggestionsDelay=80]=\"quickSuggestionsDelay\",e[e.readOnly=81]=\"readOnly\",e[e.renameOnType=82]=\"renameOnType\",e[e.renderControlCharacters=83]=\"renderControlCharacters\",e[e.renderFinalNewline=84]=\"renderFinalNewline\",e[e.renderLineHighlight=85]=\"renderLineHighlight\",e[e.renderLineHighlightOnlyWhenFocus=86]=\"renderLineHighlightOnlyWhenFocus\",e[e.renderValidationDecorations=87]=\"renderValidationDecorations\",e[e.renderWhitespace=88]=\"renderWhitespace\",e[e.revealHorizontalRightPadding=89]=\"revealHorizontalRightPadding\",e[e.roundedSelection=90]=\"roundedSelection\",e[e.rulers=91]=\"rulers\",e[e.scrollbar=92]=\"scrollbar\",e[e.scrollBeyondLastColumn=93]=\"scrollBeyondLastColumn\",e[e.scrollBeyondLastLine=94]=\"scrollBeyondLastLine\",e[e.scrollPredominantAxis=95]=\"scrollPredominantAxis\",e[e.selectionClipboard=96]=\"selectionClipboard\",e[e.selectionHighlight=97]=\"selectionHighlight\",e[e.selectOnLineNumbers=98]=\"selectOnLineNumbers\",e[e.showFoldingControls=99]=\"showFoldingControls\",e[e.showUnused=100]=\"showUnused\",e[e.snippetSuggestions=101]=\"snippetSuggestions\",e[e.smartSelect=102]=\"smartSelect\",e[e.smoothScrolling=103]=\"smoothScrolling\",e[e.stickyTabStops=104]=\"stickyTabStops\",e[e.stopRenderingLineAfter=105]=\"stopRenderingLineAfter\",e[e.suggest=106]=\"suggest\",e[e.suggestFontSize=107]=\"suggestFontSize\",e[e.suggestLineHeight=108]=\"suggestLineHeight\",e[e.suggestOnTriggerCharacters=109]=\"suggestOnTriggerCharacters\",e[e.suggestSelection=110]=\"suggestSelection\",e[e.tabCompletion=111]=\"tabCompletion\",e[e.tabIndex=112]=\"tabIndex\",e[e.unicodeHighlighting=113]=\"unicodeHighlighting\",e[e.unusualLineTerminators=114]=\"unusualLineTerminators\",e[e.useShadowDOM=115]=\"useShadowDOM\",e[e.useTabStops=116]=\"useTabStops\",e[e.wordSeparators=117]=\"wordSeparators\",e[e.wordWrap=118]=\"wordWrap\",e[e.wordWrapBreakAfterCharacters=119]=\"wordWrapBreakAfterCharacters\",e[e.wordWrapBreakBeforeCharacters=120]=\"wordWrapBreakBeforeCharacters\",e[e.wordWrapColumn=121]=\"wordWrapColumn\",e[e.wordWrapOverride1=122]=\"wordWrapOverride1\",e[e.wordWrapOverride2=123]=\"wordWrapOverride2\",e[e.wrappingIndent=124]=\"wrappingIndent\",e[e.wrappingStrategy=125]=\"wrappingStrategy\",e[e.showDeprecated=126]=\"showDeprecated\",e[e.inlayHints=127]=\"inlayHints\",e[e.editorClassName=128]=\"editorClassName\",e[e.pixelRatio=129]=\"pixelRatio\",e[e.tabFocusMode=130]=\"tabFocusMode\",e[e.layoutInfo=131]=\"layoutInfo\",e[e.wrappingInfo=132]=\"wrappingInfo\"})(ma||(ma={}));var ga;(function(e){e[e.TextDefined=0]=\"TextDefined\",e[e.LF=1]=\"LF\",e[e.CRLF=2]=\"CRLF\"})(ga||(ga={}));var ba;(function(e){e[e.LF=0]=\"LF\",e[e.CRLF=1]=\"CRLF\"})(ba||(ba={}));var va;(function(e){e[e.None=0]=\"None\",e[e.Indent=1]=\"Indent\",e[e.IndentOutdent=2]=\"IndentOutdent\",e[e.Outdent=3]=\"Outdent\"})(va||(va={}));var ya;(function(e){e[e.Both=0]=\"Both\",e[e.Right=1]=\"Right\",e[e.Left=2]=\"Left\",e[e.None=3]=\"None\"})(ya||(ya={}));var wa;(function(e){e[e.Type=1]=\"Type\",e[e.Parameter=2]=\"Parameter\"})(wa||(wa={}));var xa;(function(e){e[e.Automatic=0]=\"Automatic\",e[e.Explicit=1]=\"Explicit\"})(xa||(xa={}));var gr;(function(e){e[e.DependsOnKbLayout=-1]=\"DependsOnKbLayout\",e[e.Unknown=0]=\"Unknown\",e[e.Backspace=1]=\"Backspace\",e[e.Tab=2]=\"Tab\",e[e.Enter=3]=\"Enter\",e[e.Shift=4]=\"Shift\",e[e.Ctrl=5]=\"Ctrl\",e[e.Alt=6]=\"Alt\",e[e.PauseBreak=7]=\"PauseBreak\",e[e.CapsLock=8]=\"CapsLock\",e[e.Escape=9]=\"Escape\",e[e.Space=10]=\"Space\",e[e.PageUp=11]=\"PageUp\",e[e.PageDown=12]=\"PageDown\",e[e.End=13]=\"End\",e[e.Home=14]=\"Home\",e[e.LeftArrow=15]=\"LeftArrow\",e[e.UpArrow=16]=\"UpArrow\",e[e.RightArrow=17]=\"RightArrow\",e[e.DownArrow=18]=\"DownArrow\",e[e.Insert=19]=\"Insert\",e[e.Delete=20]=\"Delete\",e[e.Digit0=21]=\"Digit0\",e[e.Digit1=22]=\"Digit1\",e[e.Digit2=23]=\"Digit2\",e[e.Digit3=24]=\"Digit3\",e[e.Digit4=25]=\"Digit4\",e[e.Digit5=26]=\"Digit5\",e[e.Digit6=27]=\"Digit6\",e[e.Digit7=28]=\"Digit7\",e[e.Digit8=29]=\"Digit8\",e[e.Digit9=30]=\"Digit9\",e[e.KeyA=31]=\"KeyA\",e[e.KeyB=32]=\"KeyB\",e[e.KeyC=33]=\"KeyC\",e[e.KeyD=34]=\"KeyD\",e[e.KeyE=35]=\"KeyE\",e[e.KeyF=36]=\"KeyF\",e[e.KeyG=37]=\"KeyG\",e[e.KeyH=38]=\"KeyH\",e[e.KeyI=39]=\"KeyI\",e[e.KeyJ=40]=\"KeyJ\",e[e.KeyK=41]=\"KeyK\",e[e.KeyL=42]=\"KeyL\",e[e.KeyM=43]=\"KeyM\",e[e.KeyN=44]=\"KeyN\",e[e.KeyO=45]=\"KeyO\",e[e.KeyP=46]=\"KeyP\",e[e.KeyQ=47]=\"KeyQ\",e[e.KeyR=48]=\"KeyR\",e[e.KeyS=49]=\"KeyS\",e[e.KeyT=50]=\"KeyT\",e[e.KeyU=51]=\"KeyU\",e[e.KeyV=52]=\"KeyV\",e[e.KeyW=53]=\"KeyW\",e[e.KeyX=54]=\"KeyX\",e[e.KeyY=55]=\"KeyY\",e[e.KeyZ=56]=\"KeyZ\",e[e.Meta=57]=\"Meta\",e[e.ContextMenu=58]=\"ContextMenu\",e[e.F1=59]=\"F1\",e[e.F2=60]=\"F2\",e[e.F3=61]=\"F3\",e[e.F4=62]=\"F4\",e[e.F5=63]=\"F5\",e[e.F6=64]=\"F6\",e[e.F7=65]=\"F7\",e[e.F8=66]=\"F8\",e[e.F9=67]=\"F9\",e[e.F10=68]=\"F10\",e[e.F11=69]=\"F11\",e[e.F12=70]=\"F12\",e[e.F13=71]=\"F13\",e[e.F14=72]=\"F14\",e[e.F15=73]=\"F15\",e[e.F16=74]=\"F16\",e[e.F17=75]=\"F17\",e[e.F18=76]=\"F18\",e[e.F19=77]=\"F19\",e[e.NumLock=78]=\"NumLock\",e[e.ScrollLock=79]=\"ScrollLock\",e[e.Semicolon=80]=\"Semicolon\",e[e.Equal=81]=\"Equal\",e[e.Comma=82]=\"Comma\",e[e.Minus=83]=\"Minus\",e[e.Period=84]=\"Period\",e[e.Slash=85]=\"Slash\",e[e.Backquote=86]=\"Backquote\",e[e.BracketLeft=87]=\"BracketLeft\",e[e.Backslash=88]=\"Backslash\",e[e.BracketRight=89]=\"BracketRight\",e[e.Quote=90]=\"Quote\",e[e.OEM_8=91]=\"OEM_8\",e[e.IntlBackslash=92]=\"IntlBackslash\",e[e.Numpad0=93]=\"Numpad0\",e[e.Numpad1=94]=\"Numpad1\",e[e.Numpad2=95]=\"Numpad2\",e[e.Numpad3=96]=\"Numpad3\",e[e.Numpad4=97]=\"Numpad4\",e[e.Numpad5=98]=\"Numpad5\",e[e.Numpad6=99]=\"Numpad6\",e[e.Numpad7=100]=\"Numpad7\",e[e.Numpad8=101]=\"Numpad8\",e[e.Numpad9=102]=\"Numpad9\",e[e.NumpadMultiply=103]=\"NumpadMultiply\",e[e.NumpadAdd=104]=\"NumpadAdd\",e[e.NUMPAD_SEPARATOR=105]=\"NUMPAD_SEPARATOR\",e[e.NumpadSubtract=106]=\"NumpadSubtract\",e[e.NumpadDecimal=107]=\"NumpadDecimal\",e[e.NumpadDivide=108]=\"NumpadDivide\",e[e.KEY_IN_COMPOSITION=109]=\"KEY_IN_COMPOSITION\",e[e.ABNT_C1=110]=\"ABNT_C1\",e[e.ABNT_C2=111]=\"ABNT_C2\",e[e.AudioVolumeMute=112]=\"AudioVolumeMute\",e[e.AudioVolumeUp=113]=\"AudioVolumeUp\",e[e.AudioVolumeDown=114]=\"AudioVolumeDown\",e[e.BrowserSearch=115]=\"BrowserSearch\",e[e.BrowserHome=116]=\"BrowserHome\",e[e.BrowserBack=117]=\"BrowserBack\",e[e.BrowserForward=118]=\"BrowserForward\",e[e.MediaTrackNext=119]=\"MediaTrackNext\",e[e.MediaTrackPrevious=120]=\"MediaTrackPrevious\",e[e.MediaStop=121]=\"MediaStop\",e[e.MediaPlayPause=122]=\"MediaPlayPause\",e[e.LaunchMediaPlayer=123]=\"LaunchMediaPlayer\",e[e.LaunchMail=124]=\"LaunchMail\",e[e.LaunchApp2=125]=\"LaunchApp2\",e[e.Clear=126]=\"Clear\",e[e.MAX_VALUE=127]=\"MAX_VALUE\"})(gr||(gr={}));var br;(function(e){e[e.Hint=1]=\"Hint\",e[e.Info=2]=\"Info\",e[e.Warning=4]=\"Warning\",e[e.Error=8]=\"Error\"})(br||(br={}));var vr;(function(e){e[e.Unnecessary=1]=\"Unnecessary\",e[e.Deprecated=2]=\"Deprecated\"})(vr||(vr={}));var Sa;(function(e){e[e.Inline=1]=\"Inline\",e[e.Gutter=2]=\"Gutter\"})(Sa||(Sa={}));var Ca;(function(e){e[e.UNKNOWN=0]=\"UNKNOWN\",e[e.TEXTAREA=1]=\"TEXTAREA\",e[e.GUTTER_GLYPH_MARGIN=2]=\"GUTTER_GLYPH_MARGIN\",e[e.GUTTER_LINE_NUMBERS=3]=\"GUTTER_LINE_NUMBERS\",e[e.GUTTER_LINE_DECORATIONS=4]=\"GUTTER_LINE_DECORATIONS\",e[e.GUTTER_VIEW_ZONE=5]=\"GUTTER_VIEW_ZONE\",e[e.CONTENT_TEXT=6]=\"CONTENT_TEXT\",e[e.CONTENT_EMPTY=7]=\"CONTENT_EMPTY\",e[e.CONTENT_VIEW_ZONE=8]=\"CONTENT_VIEW_ZONE\",e[e.CONTENT_WIDGET=9]=\"CONTENT_WIDGET\",e[e.OVERVIEW_RULER=10]=\"OVERVIEW_RULER\",e[e.SCROLLBAR=11]=\"SCROLLBAR\",e[e.OVERLAY_WIDGET=12]=\"OVERLAY_WIDGET\",e[e.OUTSIDE_EDITOR=13]=\"OUTSIDE_EDITOR\"})(Ca||(Ca={}));var ka;(function(e){e[e.TOP_RIGHT_CORNER=0]=\"TOP_RIGHT_CORNER\",e[e.BOTTOM_RIGHT_CORNER=1]=\"BOTTOM_RIGHT_CORNER\",e[e.TOP_CENTER=2]=\"TOP_CENTER\"})(ka||(ka={}));var Fa;(function(e){e[e.Left=1]=\"Left\",e[e.Center=2]=\"Center\",e[e.Right=4]=\"Right\",e[e.Full=7]=\"Full\"})(Fa||(Fa={}));var _a;(function(e){e[e.Left=0]=\"Left\",e[e.Right=1]=\"Right\",e[e.None=2]=\"None\"})(_a||(_a={}));var Da;(function(e){e[e.Off=0]=\"Off\",e[e.On=1]=\"On\",e[e.Relative=2]=\"Relative\",e[e.Interval=3]=\"Interval\",e[e.Custom=4]=\"Custom\"})(Da||(Da={}));var Ea;(function(e){e[e.None=0]=\"None\",e[e.Text=1]=\"Text\",e[e.Blocks=2]=\"Blocks\"})(Ea||(Ea={}));var Ra;(function(e){e[e.Smooth=0]=\"Smooth\",e[e.Immediate=1]=\"Immediate\"})(Ra||(Ra={}));var Aa;(function(e){e[e.Auto=1]=\"Auto\",e[e.Hidden=2]=\"Hidden\",e[e.Visible=3]=\"Visible\"})(Aa||(Aa={}));var yr;(function(e){e[e.LTR=0]=\"LTR\",e[e.RTL=1]=\"RTL\"})(yr||(yr={}));var za;(function(e){e[e.Invoke=1]=\"Invoke\",e[e.TriggerCharacter=2]=\"TriggerCharacter\",e[e.ContentChange=3]=\"ContentChange\"})(za||(za={}));var Ma;(function(e){e[e.File=0]=\"File\",e[e.Module=1]=\"Module\",e[e.Namespace=2]=\"Namespace\",e[e.Package=3]=\"Package\",e[e.Class=4]=\"Class\",e[e.Method=5]=\"Method\",e[e.Property=6]=\"Property\",e[e.Field=7]=\"Field\",e[e.Constructor=8]=\"Constructor\",e[e.Enum=9]=\"Enum\",e[e.Interface=10]=\"Interface\",e[e.Function=11]=\"Function\",e[e.Variable=12]=\"Variable\",e[e.Constant=13]=\"Constant\",e[e.String=14]=\"String\",e[e.Number=15]=\"Number\",e[e.Boolean=16]=\"Boolean\",e[e.Array=17]=\"Array\",e[e.Object=18]=\"Object\",e[e.Key=19]=\"Key\",e[e.Null=20]=\"Null\",e[e.EnumMember=21]=\"EnumMember\",e[e.Struct=22]=\"Struct\",e[e.Event=23]=\"Event\",e[e.Operator=24]=\"Operator\",e[e.TypeParameter=25]=\"TypeParameter\"})(Ma||(Ma={}));var Na;(function(e){e[e.Deprecated=1]=\"Deprecated\"})(Na||(Na={}));var Pa;(function(e){e[e.Hidden=0]=\"Hidden\",e[e.Blink=1]=\"Blink\",e[e.Smooth=2]=\"Smooth\",e[e.Phase=3]=\"Phase\",e[e.Expand=4]=\"Expand\",e[e.Solid=5]=\"Solid\"})(Pa||(Pa={}));var Ia;(function(e){e[e.Line=1]=\"Line\",e[e.Block=2]=\"Block\",e[e.Underline=3]=\"Underline\",e[e.LineThin=4]=\"LineThin\",e[e.BlockOutline=5]=\"BlockOutline\",e[e.UnderlineThin=6]=\"UnderlineThin\"})(Ia||(Ia={}));var La;(function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]=\"AlwaysGrowsWhenTypingAtEdges\",e[e.NeverGrowsWhenTypingAtEdges=1]=\"NeverGrowsWhenTypingAtEdges\",e[e.GrowsOnlyWhenTypingBefore=2]=\"GrowsOnlyWhenTypingBefore\",e[e.GrowsOnlyWhenTypingAfter=3]=\"GrowsOnlyWhenTypingAfter\"})(La||(La={}));var Ta;(function(e){e[e.None=0]=\"None\",e[e.Same=1]=\"Same\",e[e.Indent=2]=\"Indent\",e[e.DeepIndent=3]=\"DeepIndent\"})(Ta||(Ta={}));class Wt{static chord(t,n){return Zl(t,n)}}Wt.CtrlCmd=2048,Wt.Shift=1024,Wt.Alt=512,Wt.WinCtrl=256;function nc(){return{editor:void 0,languages:void 0,CancellationTokenSource:Jl,Emitter:je,KeyCode:gr,KeyMod:Wt,Position:xe,Range:te,Selection:Se,SelectionDirection:yr,MarkerSeverity:br,MarkerTag:vr,Uri:ot,Token:tc}}var Wa;(function(e){e[e.Left=1]=\"Left\",e[e.Center=2]=\"Center\",e[e.Right=4]=\"Right\",e[e.Full=7]=\"Full\"})(Wa||(Wa={}));var Oa;(function(e){e[e.Inline=1]=\"Inline\",e[e.Gutter=2]=\"Gutter\"})(Oa||(Oa={}));var Va;(function(e){e[e.Both=0]=\"Both\",e[e.Right=1]=\"Right\",e[e.Left=2]=\"Left\",e[e.None=3]=\"None\"})(Va||(Va={}));function rc(e,t,n,r,i){if(r===0)return!0;const a=t.charCodeAt(r-1);if(e.get(a)!==0||a===13||a===10)return!0;if(i>0){const o=t.charCodeAt(r);if(e.get(o)!==0)return!0}return!1}function ic(e,t,n,r,i){if(r+i===n)return!0;const a=t.charCodeAt(r+i);if(e.get(a)!==0||a===13||a===10)return!0;if(i>0){const o=t.charCodeAt(r+i-1);if(e.get(o)!==0)return!0}return!1}function ac(e,t,n,r,i){return rc(e,t,n,r,i)&&ic(e,t,n,r,i)}class sc{constructor(t,n){this._wordSeparators=t,this._searchRegex=n,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(t){this._searchRegex.lastIndex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(t){const n=t.length;let r;do{if(this._prevMatchStartIndex+this._prevMatchLength===n||(r=this._searchRegex.exec(t),!r))return null;const i=r.index,a=r[0].length;if(i===this._prevMatchStartIndex&&a===this._prevMatchLength){if(a===0){al(t,n,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=i,this._prevMatchLength=a,!this._wordSeparators||ac(this._wordSeparators,t,n,i,a))return r}while(r);return null}}class oc{static computeUnicodeHighlights(t,n,r){const i=r?r.startLineNumber:1,a=r?r.endLineNumber:t.getLineCount(),o=new Ua(n),l=o.getCandidateCodePoints();let h;l===\"allNonBasicAscii\"?h=new RegExp(\"[^\\\\t\\\\n\\\\r\\\\x20-\\\\x7E]\",\"g\"):h=new RegExp(`${lc(Array.from(l))}`,\"g\");const c=new sc(null,h),d=[];let p=!1,f,g=0,w=0,b=0;e:for(let y=i,A=a;y<=A;y++){const C=t.getLineContent(y),R=C.length;c.reset(0);do if(f=c.next(C),f){let k=f.index,F=f.index+f[0].length;if(k>0){const T=C.charCodeAt(k-1);tr(T)&&k--}if(F+1<R){const T=C.charCodeAt(F-1);tr(T)&&F++}const P=C.substring(k,F),N=lr(k+1,Ji,C,0),z=o.shouldHighlightNonBasicASCII(P,N?N.word:null);if(z!==0){z===3?g++:z===2?w++:z===1?b++:Ko();const T=1e3;if(d.length>=T){p=!0;break e}d.push(new te(y,k+1,y,F+1))}}while(f)}return{ranges:d,hasMore:p,ambiguousCharacterCount:g,invisibleCharacterCount:w,nonBasicAsciiCharacterCount:b}}static computeUnicodeHighlightReason(t,n){const r=new Ua(n);switch(r.shouldHighlightNonBasicASCII(t,null)){case 0:return null;case 2:return{kind:1};case 3:{const a=t.codePointAt(0),o=r.ambiguousCharacters.getPrimaryConfusable(a),l=De.getLocales().filter(h=>!De.getInstance(new Set([...n.allowedLocales,h])).isAmbiguous(a));return{kind:0,confusableWith:String.fromCodePoint(o),notAmbiguousInLocales:l}}case 1:return{kind:2}}}}function lc(e,t){return`[${Qo(e.map(r=>String.fromCodePoint(r)).join(\"\"))}]`}class Ua{constructor(t){this.options=t,this.allowedCodePoints=new Set(t.allowedCodePoints),this.ambiguousCharacters=De.getInstance(new Set(t.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return\"allNonBasicAscii\";const t=new Set;if(this.options.invisibleCharacters)for(const n of Ye.codePoints)Ba(String.fromCodePoint(n))||t.add(n);if(this.options.ambiguousCharacters)for(const n of this.ambiguousCharacters.getConfusableCodePoints())t.add(n);for(const n of this.allowedCodePoints)t.delete(n);return t}shouldHighlightNonBasicASCII(t,n){const r=t.codePointAt(0);if(this.allowedCodePoints.has(r))return 0;if(this.options.nonBasicASCII)return 1;let i=!1,a=!1;if(n)for(let o of n){const l=o.codePointAt(0),h=ol(o);i=i||h,!h&&!this.ambiguousCharacters.isAmbiguous(l)&&!Ye.isInvisibleCharacter(l)&&(a=!0)}return!i&&a?0:this.options.invisibleCharacters&&!Ba(t)&&Ye.isInvisibleCharacter(r)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(r)?3:0}}function Ba(e){return e===\" \"||e===`\n`||e===\"\t\"}var lt=function(e,t,n,r){function i(a){return a instanceof n?a:new n(function(o){o(a)})}return new(n||(n=Promise))(function(a,o){function l(d){try{c(r.next(d))}catch(p){o(p)}}function h(d){try{c(r.throw(d))}catch(p){o(p)}}function c(d){d.done?a(d.value):i(d.value).then(l,h)}c((r=r.apply(e,t||[])).next())})};class cc extends Tl{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(t){return this._lines[t-1]}getWordAtPosition(t,n){const r=lr(t.column,Vl(n),this._lines[t.lineNumber-1],0);return r?new te(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn):null}words(t){const n=this._lines,r=this._wordenize.bind(this);let i=0,a=\"\",o=0,l=[];return{*[Symbol.iterator](){for(;;)if(o<l.length){const h=a.substring(l[o].start,l[o].end);o+=1,yield h}else if(i<n.length)a=n[i],l=r(a,t),o=0,i+=1;else break}}}getLineWords(t,n){const r=this._lines[t-1],i=this._wordenize(r,n),a=[];for(const o of i)a.push({word:r.substring(o.start,o.end),startColumn:o.start+1,endColumn:o.end+1});return a}_wordenize(t,n){const r=[];let i;for(n.lastIndex=0;(i=n.exec(t))&&i[0].length!==0;)r.push({start:i.index,end:i.index+i[0].length});return r}getValueInRange(t){if(t=this._validateRange(t),t.startLineNumber===t.endLineNumber)return this._lines[t.startLineNumber-1].substring(t.startColumn-1,t.endColumn-1);const n=this._eol,r=t.startLineNumber-1,i=t.endLineNumber-1,a=[];a.push(this._lines[r].substring(t.startColumn-1));for(let o=r+1;o<i;o++)a.push(this._lines[o]);return a.push(this._lines[i].substring(0,t.endColumn-1)),a.join(n)}offsetAt(t){return t=this._validatePosition(t),this._ensureLineStarts(),this._lineStarts.getPrefixSum(t.lineNumber-2)+(t.column-1)}positionAt(t){t=Math.floor(t),t=Math.max(0,t),this._ensureLineStarts();const n=this._lineStarts.getIndexOf(t),r=this._lines[n.index].length;return{lineNumber:1+n.index,column:1+Math.min(n.remainder,r)}}_validateRange(t){const n=this._validatePosition({lineNumber:t.startLineNumber,column:t.startColumn}),r=this._validatePosition({lineNumber:t.endLineNumber,column:t.endColumn});return n.lineNumber!==t.startLineNumber||n.column!==t.startColumn||r.lineNumber!==t.endLineNumber||r.column!==t.endColumn?{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:r.lineNumber,endColumn:r.column}:t}_validatePosition(t){if(!xe.isIPosition(t))throw new Error(\"bad position\");let{lineNumber:n,column:r}=t,i=!1;if(n<1)n=1,r=1,i=!0;else if(n>this._lines.length)n=this._lines.length,r=this._lines[n-1].length+1,i=!0;else{const a=this._lines[n-1].length+1;r<1?(r=1,i=!0):r>a&&(r=a,i=!0)}return i?{lineNumber:n,column:r}:t}}class wt{constructor(t,n){this._host=t,this._models=Object.create(null),this._foreignModuleFactory=n,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(t){return this._models[t]}_getModels(){const t=[];return Object.keys(this._models).forEach(n=>t.push(this._models[n])),t}acceptNewModel(t){this._models[t.url]=new cc(ot.parse(t.url),t.lines,t.EOL,t.versionId)}acceptModelChanged(t,n){if(!this._models[t])return;this._models[t].onEvents(n)}acceptRemovedModel(t){!this._models[t]||delete this._models[t]}computeUnicodeHighlights(t,n,r){return lt(this,void 0,void 0,function*(){const i=this._getModel(t);return i?oc.computeUnicodeHighlights(i,n,r):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(t,n,r,i){return lt(this,void 0,void 0,function*(){const a=this._getModel(t),o=this._getModel(n);if(!a||!o)return null;const l=a.getLinesContent(),h=o.getLinesContent(),d=new Pl(l,h,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:r,shouldMakePrettyDiff:!0,maxComputationTime:i}).computeDiff(),p=d.changes.length>0?!1:this._modelsAreIdentical(a,o);return{quitEarly:d.quitEarly,identical:p,changes:d.changes}})}_modelsAreIdentical(t,n){const r=t.getLineCount(),i=n.getLineCount();if(r!==i)return!1;for(let a=1;a<=r;a++){const o=t.getLineContent(a),l=n.getLineContent(a);if(o!==l)return!1}return!0}computeMoreMinimalEdits(t,n){return lt(this,void 0,void 0,function*(){const r=this._getModel(t);if(!r)return n;const i=[];let a;n=n.slice(0).sort((o,l)=>{if(o.range&&l.range)return te.compareRangesUsingStarts(o.range,l.range);const h=o.range?0:1,c=l.range?0:1;return h-c});for(let{range:o,text:l,eol:h}of n){if(typeof h==\"number\"&&(a=h),te.isEmpty(o)&&!l)continue;const c=r.getValueInRange(o);if(l=l.replace(/\\r\\n|\\n|\\r/g,r.eol),c===l)continue;if(Math.max(l.length,c.length)>wt._diffLimit){i.push({range:o,text:l});continue}const d=bl(c,l,!1),p=r.offsetAt(te.lift(o).getStartPosition());for(const f of d){const g=r.positionAt(p+f.originalStart),w=r.positionAt(p+f.originalStart+f.originalLength),b={text:l.substr(f.modifiedStart,f.modifiedLength),range:{startLineNumber:g.lineNumber,startColumn:g.column,endLineNumber:w.lineNumber,endColumn:w.column}};r.getValueInRange(b.range)!==b.text&&i.push(b)}}return typeof a==\"number\"&&i.push({eol:a,text:\"\",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),i})}computeLinks(t){return lt(this,void 0,void 0,function*(){const n=this._getModel(t);return n?Gl(n):null})}textualSuggest(t,n,r,i){return lt(this,void 0,void 0,function*(){const a=new hn(!0),o=new RegExp(r,i),l=new Set;e:for(let h of t){const c=this._getModel(h);if(!!c){for(let d of c.words(o))if(!(d===n||!isNaN(Number(d)))&&(l.add(d),l.size>wt._suggestionsLimit))break e}}return{words:Array.from(l),duration:a.elapsed()}})}computeWordRanges(t,n,r,i){return lt(this,void 0,void 0,function*(){const a=this._getModel(t);if(!a)return Object.create(null);const o=new RegExp(r,i),l=Object.create(null);for(let h=n.startLineNumber;h<n.endLineNumber;h++){const c=a.getLineWords(h,o);for(const d of c){if(!isNaN(Number(d.word)))continue;let p=l[d.word];p||(p=[],l[d.word]=p),p.push({startLineNumber:h,startColumn:d.startColumn,endLineNumber:h,endColumn:d.endColumn})}}return l})}navigateValueSet(t,n,r,i,a){return lt(this,void 0,void 0,function*(){const o=this._getModel(t);if(!o)return null;const l=new RegExp(i,a);n.startColumn===n.endColumn&&(n={startLineNumber:n.startLineNumber,startColumn:n.startColumn,endLineNumber:n.endLineNumber,endColumn:n.endColumn+1});const h=o.getValueInRange(n),c=o.getWordAtPosition({lineNumber:n.startLineNumber,column:n.startColumn},l);if(!c)return null;const d=o.getValueInRange(c);return dr.INSTANCE.navigateValueSet(n,h,c,d,r)})}loadForeignModule(t,n,r){const o={host:Yo(r,(l,h)=>this._host.fhr(l,h)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(o,n),Promise.resolve(er(this._foreignModule))):Promise.reject(new Error(\"Unexpected usage\"))}fmr(t,n){if(!this._foreignModule||typeof this._foreignModule[t]!=\"function\")return Promise.reject(new Error(\"Missing requestHandler or method: \"+t));try{return Promise.resolve(this._foreignModule[t].apply(this._foreignModule,n))}catch(r){return Promise.reject(r)}}}wt._diffLimit=1e5,wt._suggestionsLimit=1e4,typeof importScripts==\"function\"&&(de.monaco=nc());let wr=!1;function ja(e){if(wr)return;wr=!0;const t=new ml(n=>{self.postMessage(n)},n=>new wt(n,e));self.onmessage=n=>{t.onmessage(n.data)}}self.onmessage=e=>{wr||ja(null)};/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var u;(function(e){e[e.Ident=0]=\"Ident\",e[e.AtKeyword=1]=\"AtKeyword\",e[e.String=2]=\"String\",e[e.BadString=3]=\"BadString\",e[e.UnquotedString=4]=\"UnquotedString\",e[e.Hash=5]=\"Hash\",e[e.Num=6]=\"Num\",e[e.Percentage=7]=\"Percentage\",e[e.Dimension=8]=\"Dimension\",e[e.UnicodeRange=9]=\"UnicodeRange\",e[e.CDO=10]=\"CDO\",e[e.CDC=11]=\"CDC\",e[e.Colon=12]=\"Colon\",e[e.SemiColon=13]=\"SemiColon\",e[e.CurlyL=14]=\"CurlyL\",e[e.CurlyR=15]=\"CurlyR\",e[e.ParenthesisL=16]=\"ParenthesisL\",e[e.ParenthesisR=17]=\"ParenthesisR\",e[e.BracketL=18]=\"BracketL\",e[e.BracketR=19]=\"BracketR\",e[e.Whitespace=20]=\"Whitespace\",e[e.Includes=21]=\"Includes\",e[e.Dashmatch=22]=\"Dashmatch\",e[e.SubstringOperator=23]=\"SubstringOperator\",e[e.PrefixOperator=24]=\"PrefixOperator\",e[e.SuffixOperator=25]=\"SuffixOperator\",e[e.Delim=26]=\"Delim\",e[e.EMS=27]=\"EMS\",e[e.EXS=28]=\"EXS\",e[e.Length=29]=\"Length\",e[e.Angle=30]=\"Angle\",e[e.Time=31]=\"Time\",e[e.Freq=32]=\"Freq\",e[e.Exclamation=33]=\"Exclamation\",e[e.Resolution=34]=\"Resolution\",e[e.Comma=35]=\"Comma\",e[e.Charset=36]=\"Charset\",e[e.EscapedJavaScript=37]=\"EscapedJavaScript\",e[e.BadEscapedJavaScript=38]=\"BadEscapedJavaScript\",e[e.Comment=39]=\"Comment\",e[e.SingleLineComment=40]=\"SingleLineComment\",e[e.EOF=41]=\"EOF\",e[e.CustomToken=42]=\"CustomToken\"})(u||(u={}));var qa=function(){function e(t){this.source=t,this.len=t.length,this.position=0}return e.prototype.substring=function(t,n){return n===void 0&&(n=this.position),this.source.substring(t,n)},e.prototype.eos=function(){return this.len<=this.position},e.prototype.pos=function(){return this.position},e.prototype.goBackTo=function(t){this.position=t},e.prototype.goBack=function(t){this.position-=t},e.prototype.advance=function(t){this.position+=t},e.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},e.prototype.peekChar=function(t){return t===void 0&&(t=0),this.source.charCodeAt(this.position+t)||0},e.prototype.lookbackChar=function(t){return t===void 0&&(t=0),this.source.charCodeAt(this.position-t)||0},e.prototype.advanceIfChar=function(t){return t===this.source.charCodeAt(this.position)?(this.position++,!0):!1},e.prototype.advanceIfChars=function(t){if(this.position+t.length>this.source.length)return!1;for(var n=0;n<t.length;n++)if(this.source.charCodeAt(this.position+n)!==t[n])return!1;return this.advance(n),!0},e.prototype.advanceWhileChar=function(t){for(var n=this.position;this.position<this.len&&t(this.source.charCodeAt(this.position));)this.position++;return this.position-n},e}(),xr=\"a\".charCodeAt(0),hc=\"f\".charCodeAt(0),$a=\"z\".charCodeAt(0),Sr=\"A\".charCodeAt(0),dc=\"F\".charCodeAt(0),Ha=\"Z\".charCodeAt(0),vn=\"0\".charCodeAt(0),yn=\"9\".charCodeAt(0),uc=\"~\".charCodeAt(0),pc=\"^\".charCodeAt(0),Ot=\"=\".charCodeAt(0),fc=\"|\".charCodeAt(0),xt=\"-\".charCodeAt(0),Ga=\"_\".charCodeAt(0),mc=\"%\".charCodeAt(0),Cr=\"*\".charCodeAt(0),Ja=\"(\".charCodeAt(0),Xa=\")\".charCodeAt(0),gc=\"<\".charCodeAt(0),bc=\">\".charCodeAt(0),vc=\"@\".charCodeAt(0),yc=\"#\".charCodeAt(0),wc=\"$\".charCodeAt(0),kr=\"\\\\\".charCodeAt(0),Ya=\"/\".charCodeAt(0),St=`\n`.charCodeAt(0),Ct=\"\\r\".charCodeAt(0),Vt=\"\\f\".charCodeAt(0),Ka='\"'.charCodeAt(0),Za=\"'\".charCodeAt(0),Fr=\" \".charCodeAt(0),_r=\"\t\".charCodeAt(0),xc=\";\".charCodeAt(0),Sc=\":\".charCodeAt(0),Cc=\"{\".charCodeAt(0),kc=\"}\".charCodeAt(0),Fc=\"[\".charCodeAt(0),_c=\"]\".charCodeAt(0),Dc=\",\".charCodeAt(0),Qa=\".\".charCodeAt(0),es=\"!\".charCodeAt(0),We={};We[xc]=u.SemiColon,We[Sc]=u.Colon,We[Cc]=u.CurlyL,We[kc]=u.CurlyR,We[_c]=u.BracketR,We[Fc]=u.BracketL,We[Ja]=u.ParenthesisL,We[Xa]=u.ParenthesisR,We[Dc]=u.Comma;var se={};se.em=u.EMS,se.ex=u.EXS,se.px=u.Length,se.cm=u.Length,se.mm=u.Length,se.in=u.Length,se.pt=u.Length,se.pc=u.Length,se.deg=u.Angle,se.rad=u.Angle,se.grad=u.Angle,se.ms=u.Time,se.s=u.Time,se.hz=u.Freq,se.khz=u.Freq,se[\"%\"]=u.Percentage,se.fr=u.Percentage,se.dpi=u.Resolution,se.dpcm=u.Resolution;var Ut=function(){function e(){this.stream=new qa(\"\"),this.ignoreComment=!0,this.ignoreWhitespace=!0,this.inURL=!1}return e.prototype.setSource=function(t){this.stream=new qa(t)},e.prototype.finishToken=function(t,n,r){return{offset:t,len:this.stream.pos()-t,type:n,text:r||this.stream.substring(t)}},e.prototype.substring=function(t,n){return this.stream.substring(t,t+n)},e.prototype.pos=function(){return this.stream.pos()},e.prototype.goBackTo=function(t){this.stream.goBackTo(t)},e.prototype.scanUnquotedString=function(){var t=this.stream.pos(),n=[];return this._unquotedString(n)?this.finishToken(t,u.UnquotedString,n.join(\"\")):null},e.prototype.scan=function(){var t=this.trivia();if(t!==null)return t;var n=this.stream.pos();return this.stream.eos()?this.finishToken(n,u.EOF):this.scanNext(n)},e.prototype.scanNext=function(t){if(this.stream.advanceIfChars([gc,es,xt,xt]))return this.finishToken(t,u.CDO);if(this.stream.advanceIfChars([xt,xt,bc]))return this.finishToken(t,u.CDC);var n=[];if(this.ident(n))return this.finishToken(t,u.Ident,n.join(\"\"));if(this.stream.advanceIfChar(vc))if(n=[\"@\"],this._name(n)){var r=n.join(\"\");return r===\"@charset\"?this.finishToken(t,u.Charset,r):this.finishToken(t,u.AtKeyword,r)}else return this.finishToken(t,u.Delim);if(this.stream.advanceIfChar(yc))return n=[\"#\"],this._name(n)?this.finishToken(t,u.Hash,n.join(\"\")):this.finishToken(t,u.Delim);if(this.stream.advanceIfChar(es))return this.finishToken(t,u.Exclamation);if(this._number()){var i=this.stream.pos();if(n=[this.stream.substring(t,i)],this.stream.advanceIfChar(mc))return this.finishToken(t,u.Percentage);if(this.ident(n)){var a=this.stream.substring(i).toLowerCase(),o=se[a];return typeof o!=\"undefined\"?this.finishToken(t,o,n.join(\"\")):this.finishToken(t,u.Dimension,n.join(\"\"))}return this.finishToken(t,u.Num)}n=[];var l=this._string(n);return l!==null?this.finishToken(t,l,n.join(\"\")):(l=We[this.stream.peekChar()],typeof l!=\"undefined\"?(this.stream.advance(1),this.finishToken(t,l)):this.stream.peekChar(0)===uc&&this.stream.peekChar(1)===Ot?(this.stream.advance(2),this.finishToken(t,u.Includes)):this.stream.peekChar(0)===fc&&this.stream.peekChar(1)===Ot?(this.stream.advance(2),this.finishToken(t,u.Dashmatch)):this.stream.peekChar(0)===Cr&&this.stream.peekChar(1)===Ot?(this.stream.advance(2),this.finishToken(t,u.SubstringOperator)):this.stream.peekChar(0)===pc&&this.stream.peekChar(1)===Ot?(this.stream.advance(2),this.finishToken(t,u.PrefixOperator)):this.stream.peekChar(0)===wc&&this.stream.peekChar(1)===Ot?(this.stream.advance(2),this.finishToken(t,u.SuffixOperator)):(this.stream.nextChar(),this.finishToken(t,u.Delim)))},e.prototype.trivia=function(){for(;;){var t=this.stream.pos();if(this._whitespace()){if(!this.ignoreWhitespace)return this.finishToken(t,u.Whitespace)}else if(this.comment()){if(!this.ignoreComment)return this.finishToken(t,u.Comment)}else return null}},e.prototype.comment=function(){if(this.stream.advanceIfChars([Ya,Cr])){var t=!1,n=!1;return this.stream.advanceWhileChar(function(r){return n&&r===Ya?(t=!0,!1):(n=r===Cr,!0)}),t&&this.stream.advance(1),!0}return!1},e.prototype._number=function(){var t=0,n;return this.stream.peekChar()===Qa&&(t=1),n=this.stream.peekChar(t),n>=vn&&n<=yn?(this.stream.advance(t+1),this.stream.advanceWhileChar(function(r){return r>=vn&&r<=yn||t===0&&r===Qa}),!0):!1},e.prototype._newline=function(t){var n=this.stream.peekChar();switch(n){case Ct:case Vt:case St:return this.stream.advance(1),t.push(String.fromCharCode(n)),n===Ct&&this.stream.advanceIfChar(St)&&t.push(`\n`),!0}return!1},e.prototype._escape=function(t,n){var r=this.stream.peekChar();if(r===kr){this.stream.advance(1),r=this.stream.peekChar();for(var i=0;i<6&&(r>=vn&&r<=yn||r>=xr&&r<=hc||r>=Sr&&r<=dc);)this.stream.advance(1),r=this.stream.peekChar(),i++;if(i>0){try{var a=parseInt(this.stream.substring(this.stream.pos()-i),16);a&&t.push(String.fromCharCode(a))}catch{}return r===Fr||r===_r?this.stream.advance(1):this._newline([]),!0}if(r!==Ct&&r!==Vt&&r!==St)return this.stream.advance(1),t.push(String.fromCharCode(r)),!0;if(n)return this._newline(t)}return!1},e.prototype._stringChar=function(t,n){var r=this.stream.peekChar();return r!==0&&r!==t&&r!==kr&&r!==Ct&&r!==Vt&&r!==St?(this.stream.advance(1),n.push(String.fromCharCode(r)),!0):!1},e.prototype._string=function(t){if(this.stream.peekChar()===Za||this.stream.peekChar()===Ka){var n=this.stream.nextChar();for(t.push(String.fromCharCode(n));this._stringChar(n,t)||this._escape(t,!0););return this.stream.peekChar()===n?(this.stream.nextChar(),t.push(String.fromCharCode(n)),u.String):u.BadString}return null},e.prototype._unquotedChar=function(t){var n=this.stream.peekChar();return n!==0&&n!==kr&&n!==Za&&n!==Ka&&n!==Ja&&n!==Xa&&n!==Fr&&n!==_r&&n!==St&&n!==Vt&&n!==Ct?(this.stream.advance(1),t.push(String.fromCharCode(n)),!0):!1},e.prototype._unquotedString=function(t){for(var n=!1;this._unquotedChar(t)||this._escape(t);)n=!0;return n},e.prototype._whitespace=function(){var t=this.stream.advanceWhileChar(function(n){return n===Fr||n===_r||n===St||n===Vt||n===Ct});return t>0},e.prototype._name=function(t){for(var n=!1;this._identChar(t)||this._escape(t);)n=!0;return n},e.prototype.ident=function(t){var n=this.stream.pos(),r=this._minus(t);if(r){if(this._minus(t)||this._identFirstChar(t)||this._escape(t)){for(;this._identChar(t)||this._escape(t););return!0}}else if(this._identFirstChar(t)||this._escape(t)){for(;this._identChar(t)||this._escape(t););return!0}return this.stream.goBackTo(n),!1},e.prototype._identFirstChar=function(t){var n=this.stream.peekChar();return n===Ga||n>=xr&&n<=$a||n>=Sr&&n<=Ha||n>=128&&n<=65535?(this.stream.advance(1),t.push(String.fromCharCode(n)),!0):!1},e.prototype._minus=function(t){var n=this.stream.peekChar();return n===xt?(this.stream.advance(1),t.push(String.fromCharCode(n)),!0):!1},e.prototype._identChar=function(t){var n=this.stream.peekChar();return n===Ga||n===xt||n>=xr&&n<=$a||n>=Sr&&n<=Ha||n>=vn&&n<=yn||n>=128&&n<=65535?(this.stream.advance(1),t.push(String.fromCharCode(n)),!0):!1},e}();function oe(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function ts(e,t){var n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:n===0?e===t:!1}function Ec(e,t,n){n===void 0&&(n=4);var r=Math.abs(e.length-t.length);if(r>n)return 0;var i=[],a=[],o,l;for(o=0;o<t.length+1;++o)a.push(0);for(o=0;o<e.length+1;++o)i.push(a);for(o=1;o<e.length+1;++o)for(l=1;l<t.length+1;++l)e[o-1]===t[l-1]?i[o][l]=i[o-1][l-1]+1:i[o][l]=Math.max(i[o-1][l],i[o][l-1]);return i[e.length][t.length]-Math.sqrt(r)}function ns(e,t){return t===void 0&&(t=!0),e?e.length<140?e:e.slice(0,140)+(t?\"\\u2026\":\"\"):\"\"}function Rc(e,t){var n=t.exec(e);return n&&n[0].length?e.substr(0,e.length-n[0].length):e}var I=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])},e(t,n)};return function(t,n){if(typeof n!=\"function\"&&n!==null)throw new TypeError(\"Class extends value \"+String(n)+\" is not a constructor or null\");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),m;(function(e){e[e.Undefined=0]=\"Undefined\",e[e.Identifier=1]=\"Identifier\",e[e.Stylesheet=2]=\"Stylesheet\",e[e.Ruleset=3]=\"Ruleset\",e[e.Selector=4]=\"Selector\",e[e.SimpleSelector=5]=\"SimpleSelector\",e[e.SelectorInterpolation=6]=\"SelectorInterpolation\",e[e.SelectorCombinator=7]=\"SelectorCombinator\",e[e.SelectorCombinatorParent=8]=\"SelectorCombinatorParent\",e[e.SelectorCombinatorSibling=9]=\"SelectorCombinatorSibling\",e[e.SelectorCombinatorAllSiblings=10]=\"SelectorCombinatorAllSiblings\",e[e.SelectorCombinatorShadowPiercingDescendant=11]=\"SelectorCombinatorShadowPiercingDescendant\",e[e.Page=12]=\"Page\",e[e.PageBoxMarginBox=13]=\"PageBoxMarginBox\",e[e.ClassSelector=14]=\"ClassSelector\",e[e.IdentifierSelector=15]=\"IdentifierSelector\",e[e.ElementNameSelector=16]=\"ElementNameSelector\",e[e.PseudoSelector=17]=\"PseudoSelector\",e[e.AttributeSelector=18]=\"AttributeSelector\",e[e.Declaration=19]=\"Declaration\",e[e.Declarations=20]=\"Declarations\",e[e.Property=21]=\"Property\",e[e.Expression=22]=\"Expression\",e[e.BinaryExpression=23]=\"BinaryExpression\",e[e.Term=24]=\"Term\",e[e.Operator=25]=\"Operator\",e[e.Value=26]=\"Value\",e[e.StringLiteral=27]=\"StringLiteral\",e[e.URILiteral=28]=\"URILiteral\",e[e.EscapedValue=29]=\"EscapedValue\",e[e.Function=30]=\"Function\",e[e.NumericValue=31]=\"NumericValue\",e[e.HexColorValue=32]=\"HexColorValue\",e[e.RatioValue=33]=\"RatioValue\",e[e.MixinDeclaration=34]=\"MixinDeclaration\",e[e.MixinReference=35]=\"MixinReference\",e[e.VariableName=36]=\"VariableName\",e[e.VariableDeclaration=37]=\"VariableDeclaration\",e[e.Prio=38]=\"Prio\",e[e.Interpolation=39]=\"Interpolation\",e[e.NestedProperties=40]=\"NestedProperties\",e[e.ExtendsReference=41]=\"ExtendsReference\",e[e.SelectorPlaceholder=42]=\"SelectorPlaceholder\",e[e.Debug=43]=\"Debug\",e[e.If=44]=\"If\",e[e.Else=45]=\"Else\",e[e.For=46]=\"For\",e[e.Each=47]=\"Each\",e[e.While=48]=\"While\",e[e.MixinContentReference=49]=\"MixinContentReference\",e[e.MixinContentDeclaration=50]=\"MixinContentDeclaration\",e[e.Media=51]=\"Media\",e[e.Keyframe=52]=\"Keyframe\",e[e.FontFace=53]=\"FontFace\",e[e.Import=54]=\"Import\",e[e.Namespace=55]=\"Namespace\",e[e.Invocation=56]=\"Invocation\",e[e.FunctionDeclaration=57]=\"FunctionDeclaration\",e[e.ReturnStatement=58]=\"ReturnStatement\",e[e.MediaQuery=59]=\"MediaQuery\",e[e.MediaCondition=60]=\"MediaCondition\",e[e.MediaFeature=61]=\"MediaFeature\",e[e.FunctionParameter=62]=\"FunctionParameter\",e[e.FunctionArgument=63]=\"FunctionArgument\",e[e.KeyframeSelector=64]=\"KeyframeSelector\",e[e.ViewPort=65]=\"ViewPort\",e[e.Document=66]=\"Document\",e[e.AtApplyRule=67]=\"AtApplyRule\",e[e.CustomPropertyDeclaration=68]=\"CustomPropertyDeclaration\",e[e.CustomPropertySet=69]=\"CustomPropertySet\",e[e.ListEntry=70]=\"ListEntry\",e[e.Supports=71]=\"Supports\",e[e.SupportsCondition=72]=\"SupportsCondition\",e[e.NamespacePrefix=73]=\"NamespacePrefix\",e[e.GridLine=74]=\"GridLine\",e[e.Plugin=75]=\"Plugin\",e[e.UnknownAtRule=76]=\"UnknownAtRule\",e[e.Use=77]=\"Use\",e[e.ModuleConfiguration=78]=\"ModuleConfiguration\",e[e.Forward=79]=\"Forward\",e[e.ForwardVisibility=80]=\"ForwardVisibility\",e[e.Module=81]=\"Module\"})(m||(m={}));var G;(function(e){e[e.Mixin=0]=\"Mixin\",e[e.Rule=1]=\"Rule\",e[e.Variable=2]=\"Variable\",e[e.Function=3]=\"Function\",e[e.Keyframe=4]=\"Keyframe\",e[e.Unknown=5]=\"Unknown\",e[e.Module=6]=\"Module\",e[e.Forward=7]=\"Forward\",e[e.ForwardVisibility=8]=\"ForwardVisibility\"})(G||(G={}));function Dr(e,t){var n=null;return!e||t<e.offset||t>e.end?null:(e.accept(function(r){return r.offset===-1&&r.length===-1?!0:r.offset<=t&&r.end>=t?(n?r.length<=n.length&&(n=r):n=r,!0):!1}),n)}function Er(e,t){for(var n=Dr(e,t),r=[];n;)r.unshift(n),n=n.parent;return r}function Ac(e){var t=e.findParent(m.Declaration),n=t&&t.getValue();return n&&n.encloses(e)?t:null}var L=function(){function e(t,n,r){t===void 0&&(t=-1),n===void 0&&(n=-1),this.parent=null,this.offset=t,this.length=n,r&&(this.nodeType=r)}return Object.defineProperty(e.prototype,\"end\",{get:function(){return this.offset+this.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,\"type\",{get:function(){return this.nodeType||m.Undefined},set:function(t){this.nodeType=t},enumerable:!1,configurable:!0}),e.prototype.getTextProvider=function(){for(var t=this;t&&!t.textProvider;)t=t.parent;return t?t.textProvider:function(){return\"unknown\"}},e.prototype.getText=function(){return this.getTextProvider()(this.offset,this.length)},e.prototype.matches=function(t){return this.length===t.length&&this.getTextProvider()(this.offset,this.length)===t},e.prototype.startsWith=function(t){return this.length>=t.length&&this.getTextProvider()(this.offset,t.length)===t},e.prototype.endsWith=function(t){return this.length>=t.length&&this.getTextProvider()(this.end-t.length,t.length)===t},e.prototype.accept=function(t){if(t(this)&&this.children)for(var n=0,r=this.children;n<r.length;n++){var i=r[n];i.accept(t)}},e.prototype.acceptVisitor=function(t){this.accept(t.visitNode.bind(t))},e.prototype.adoptChild=function(t,n){if(n===void 0&&(n=-1),t.parent&&t.parent.children){var r=t.parent.children.indexOf(t);r>=0&&t.parent.children.splice(r,1)}t.parent=this;var i=this.children;return i||(i=this.children=[]),n!==-1?i.splice(n,0,t):i.push(t),t},e.prototype.attachTo=function(t,n){return n===void 0&&(n=-1),t&&t.adoptChild(this,n),this},e.prototype.collectIssues=function(t){this.issues&&t.push.apply(t,this.issues)},e.prototype.addIssue=function(t){this.issues||(this.issues=[]),this.issues.push(t)},e.prototype.hasIssue=function(t){return Array.isArray(this.issues)&&this.issues.some(function(n){return n.getRule()===t})},e.prototype.isErroneous=function(t){return t===void 0&&(t=!1),this.issues&&this.issues.length>0?!0:t&&Array.isArray(this.children)&&this.children.some(function(n){return n.isErroneous(!0)})},e.prototype.setNode=function(t,n,r){return r===void 0&&(r=-1),n?(n.attachTo(this,r),this[t]=n,!0):!1},e.prototype.addChild=function(t){return t?(this.children||(this.children=[]),t.attachTo(this),this.updateOffsetAndLength(t),!0):!1},e.prototype.updateOffsetAndLength=function(t){(t.offset<this.offset||this.offset===-1)&&(this.offset=t.offset);var n=t.end;(n>this.end||this.length===-1)&&(this.length=n-this.offset)},e.prototype.hasChildren=function(){return!!this.children&&this.children.length>0},e.prototype.getChildren=function(){return this.children?this.children.slice(0):[]},e.prototype.getChild=function(t){return this.children&&t<this.children.length?this.children[t]:null},e.prototype.addChildren=function(t){for(var n=0,r=t;n<r.length;n++){var i=r[n];this.addChild(i)}},e.prototype.findFirstChildBeforeOffset=function(t){if(this.children){for(var n=null,r=this.children.length-1;r>=0;r--)if(n=this.children[r],n.offset<=t)return n}return null},e.prototype.findChildAtOffset=function(t,n){var r=this.findFirstChildBeforeOffset(t);return r&&r.end>=t?n&&r.findChildAtOffset(t,!0)||r:null},e.prototype.encloses=function(t){return this.offset<=t.offset&&this.offset+this.length>=t.offset+t.length},e.prototype.getParent=function(){for(var t=this.parent;t instanceof pe;)t=t.parent;return t},e.prototype.findParent=function(t){for(var n=this;n&&n.type!==t;)n=n.parent;return n},e.prototype.findAParent=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=this;r&&!t.some(function(i){return r.type===i});)r=r.parent;return r},e.prototype.setData=function(t,n){this.options||(this.options={}),this.options[t]=n},e.prototype.getData=function(t){return!this.options||!this.options.hasOwnProperty(t)?null:this.options[t]},e}(),pe=function(e){I(t,e);function t(n,r){r===void 0&&(r=-1);var i=e.call(this,-1,-1)||this;return i.attachTo(n,r),i.offset=-1,i.length=-1,i}return t}(L),Ee=function(e){I(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.isCustomProperty=!1,i}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Identifier},enumerable:!1,configurable:!0}),t.prototype.containsInterpolation=function(){return this.hasChildren()},t}(L),zc=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Stylesheet},enumerable:!1,configurable:!0}),t}(L),Rr=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Declarations},enumerable:!1,configurable:!0}),t}(L),ne=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return t.prototype.getDeclarations=function(){return this.declarations},t.prototype.setDeclarations=function(n){return this.setNode(\"declarations\",n)},t}(L),kt=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Ruleset},enumerable:!1,configurable:!0}),t.prototype.getSelectors=function(){return this.selectors||(this.selectors=new pe(this)),this.selectors},t.prototype.isNested=function(){return!!this.parent&&this.parent.findParent(m.Declarations)!==null},t}(ne),Bt=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Selector},enumerable:!1,configurable:!0}),t}(L),Ft=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.SimpleSelector},enumerable:!1,configurable:!0}),t}(L);(function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.AtApplyRule},enumerable:!1,configurable:!0}),t.prototype.setIdentifier=function(n){return this.setNode(\"identifier\",n,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():\"\"},t})(L);var Ar=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return t}(L),Mc=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.CustomPropertySet},enumerable:!1,configurable:!0}),t}(ne),Oe=function(e){I(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.property=null,i}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Declaration},enumerable:!1,configurable:!0}),t.prototype.setProperty=function(n){return this.setNode(\"property\",n)},t.prototype.getProperty=function(){return this.property},t.prototype.getFullPropertyName=function(){var n=this.property?this.property.getName():\"unknown\";if(this.parent instanceof Rr&&this.parent.getParent()instanceof is){var r=this.parent.getParent().getParent();if(r instanceof t)return r.getFullPropertyName()+n}return n},t.prototype.getNonPrefixedPropertyName=function(){var n=this.getFullPropertyName();if(n&&n.charAt(0)===\"-\"){var r=n.indexOf(\"-\",1);if(r!==-1)return n.substring(r+1)}return n},t.prototype.setValue=function(n){return this.setNode(\"value\",n)},t.prototype.getValue=function(){return this.value},t.prototype.setNestedProperties=function(n){return this.setNode(\"nestedProperties\",n)},t.prototype.getNestedProperties=function(){return this.nestedProperties},t}(Ar),Nc=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.CustomPropertyDeclaration},enumerable:!1,configurable:!0}),t.prototype.setPropertySet=function(n){return this.setNode(\"propertySet\",n)},t.prototype.getPropertySet=function(){return this.propertySet},t}(Oe),zr=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Property},enumerable:!1,configurable:!0}),t.prototype.setIdentifier=function(n){return this.setNode(\"identifier\",n)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return Rc(this.getText(),/[_\\+]+$/)},t.prototype.isCustomProperty=function(){return!!this.identifier&&this.identifier.isCustomProperty},t}(L),Pc=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Invocation},enumerable:!1,configurable:!0}),t.prototype.getArguments=function(){return this.arguments||(this.arguments=new pe(this)),this.arguments},t}(L),jt=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Function},enumerable:!1,configurable:!0}),t.prototype.setIdentifier=function(n){return this.setNode(\"identifier\",n,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():\"\"},t}(Pc),wn=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.FunctionParameter},enumerable:!1,configurable:!0}),t.prototype.setIdentifier=function(n){return this.setNode(\"identifier\",n,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():\"\"},t.prototype.setDefaultValue=function(n){return this.setNode(\"defaultValue\",n,0)},t.prototype.getDefaultValue=function(){return this.defaultValue},t}(L),_t=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.FunctionArgument},enumerable:!1,configurable:!0}),t.prototype.setIdentifier=function(n){return this.setNode(\"identifier\",n,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():\"\"},t.prototype.setValue=function(n){return this.setNode(\"value\",n,0)},t.prototype.getValue=function(){return this.value},t}(L),Ic=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.If},enumerable:!1,configurable:!0}),t.prototype.setExpression=function(n){return this.setNode(\"expression\",n,0)},t.prototype.setElseClause=function(n){return this.setNode(\"elseClause\",n)},t}(ne),Lc=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.For},enumerable:!1,configurable:!0}),t.prototype.setVariable=function(n){return this.setNode(\"variable\",n,0)},t}(ne),Tc=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Each},enumerable:!1,configurable:!0}),t.prototype.getVariables=function(){return this.variables||(this.variables=new pe(this)),this.variables},t}(ne),Wc=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.While},enumerable:!1,configurable:!0}),t}(ne),Oc=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Else},enumerable:!1,configurable:!0}),t}(ne),xn=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.FunctionDeclaration},enumerable:!1,configurable:!0}),t.prototype.setIdentifier=function(n){return this.setNode(\"identifier\",n,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():\"\"},t.prototype.getParameters=function(){return this.parameters||(this.parameters=new pe(this)),this.parameters},t}(ne),Vc=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.ViewPort},enumerable:!1,configurable:!0}),t}(ne),rs=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.FontFace},enumerable:!1,configurable:!0}),t}(ne),is=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.NestedProperties},enumerable:!1,configurable:!0}),t}(ne),as=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Keyframe},enumerable:!1,configurable:!0}),t.prototype.setKeyword=function(n){return this.setNode(\"keyword\",n,0)},t.prototype.getKeyword=function(){return this.keyword},t.prototype.setIdentifier=function(n){return this.setNode(\"identifier\",n,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():\"\"},t}(ne),ss=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.KeyframeSelector},enumerable:!1,configurable:!0}),t}(ne),Mr=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Import},enumerable:!1,configurable:!0}),t.prototype.setMedialist=function(n){return n?(n.attachTo(this),!0):!1},t}(L),Uc=function(e){I(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Use},enumerable:!1,configurable:!0}),t.prototype.getParameters=function(){return this.parameters||(this.parameters=new pe(this)),this.parameters},t.prototype.setIdentifier=function(n){return this.setNode(\"identifier\",n,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(L),Bc=function(e){I(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.ModuleConfiguration},enumerable:!1,configurable:!0}),t.prototype.setIdentifier=function(n){return this.setNode(\"identifier\",n,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():\"\"},t.prototype.setValue=function(n){return this.setNode(\"value\",n,0)},t.prototype.getValue=function(){return this.value},t}(L),jc=function(e){I(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Forward},enumerable:!1,configurable:!0}),t.prototype.setIdentifier=function(n){return this.setNode(\"identifier\",n,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getMembers=function(){return this.members||(this.members=new pe(this)),this.members},t.prototype.getParameters=function(){return this.parameters||(this.parameters=new pe(this)),this.parameters},t}(L),qc=function(e){I(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.ForwardVisibility},enumerable:!1,configurable:!0}),t.prototype.setIdentifier=function(n){return this.setNode(\"identifier\",n,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(L),$c=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Namespace},enumerable:!1,configurable:!0}),t}(L),os=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Media},enumerable:!1,configurable:!0}),t}(ne),Nr=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Supports},enumerable:!1,configurable:!0}),t}(ne),Hc=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Document},enumerable:!1,configurable:!0}),t}(ne),ls=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return t.prototype.getMediums=function(){return this.mediums||(this.mediums=new pe(this)),this.mediums},t}(L),cs=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.MediaQuery},enumerable:!1,configurable:!0}),t}(L),Gc=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.MediaCondition},enumerable:!1,configurable:!0}),t}(L),Jc=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.MediaFeature},enumerable:!1,configurable:!0}),t}(L),qt=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.SupportsCondition},enumerable:!1,configurable:!0}),t}(L),Xc=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Page},enumerable:!1,configurable:!0}),t}(ne),Yc=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.PageBoxMarginBox},enumerable:!1,configurable:!0}),t}(ne),hs=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Expression},enumerable:!1,configurable:!0}),t}(L),Pr=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.BinaryExpression},enumerable:!1,configurable:!0}),t.prototype.setLeft=function(n){return this.setNode(\"left\",n)},t.prototype.getLeft=function(){return this.left},t.prototype.setRight=function(n){return this.setNode(\"right\",n)},t.prototype.getRight=function(){return this.right},t.prototype.setOperator=function(n){return this.setNode(\"operator\",n)},t.prototype.getOperator=function(){return this.operator},t}(L),Kc=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Term},enumerable:!1,configurable:!0}),t.prototype.setOperator=function(n){return this.setNode(\"operator\",n)},t.prototype.getOperator=function(){return this.operator},t.prototype.setExpression=function(n){return this.setNode(\"expression\",n)},t.prototype.getExpression=function(){return this.expression},t}(L),Zc=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.AttributeSelector},enumerable:!1,configurable:!0}),t.prototype.setNamespacePrefix=function(n){return this.setNode(\"namespacePrefix\",n)},t.prototype.getNamespacePrefix=function(){return this.namespacePrefix},t.prototype.setIdentifier=function(n){return this.setNode(\"identifier\",n)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.setOperator=function(n){return this.setNode(\"operator\",n)},t.prototype.getOperator=function(){return this.operator},t.prototype.setValue=function(n){return this.setNode(\"value\",n)},t.prototype.getValue=function(){return this.value},t}(L);(function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Operator},enumerable:!1,configurable:!0}),t})(L);var Ir=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.HexColorValue},enumerable:!1,configurable:!0}),t}(L),Qc=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.RatioValue},enumerable:!1,configurable:!0}),t}(L),eh=\".\".charCodeAt(0),th=\"0\".charCodeAt(0),nh=\"9\".charCodeAt(0),Lr=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.NumericValue},enumerable:!1,configurable:!0}),t.prototype.getValue=function(){for(var n=this.getText(),r=0,i,a=0,o=n.length;a<o&&(i=n.charCodeAt(a),th<=i&&i<=nh||i===eh);a++)r+=1;return{value:n.substring(0,r),unit:r<n.length?n.substring(r):void 0}},t}(L),Sn=function(e){I(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.variable=null,i.value=null,i.needsSemicolon=!0,i}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.VariableDeclaration},enumerable:!1,configurable:!0}),t.prototype.setVariable=function(n){return n?(n.attachTo(this),this.variable=n,!0):!1},t.prototype.getVariable=function(){return this.variable},t.prototype.getName=function(){return this.variable?this.variable.getName():\"\"},t.prototype.setValue=function(n){return n?(n.attachTo(this),this.value=n,!0):!1},t.prototype.getValue=function(){return this.value},t}(Ar),Tr=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Interpolation},enumerable:!1,configurable:!0}),t}(L),Wr=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.VariableName},enumerable:!1,configurable:!0}),t.prototype.getName=function(){return this.getText()},t}(L),$t=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.ExtendsReference},enumerable:!1,configurable:!0}),t.prototype.getSelectors=function(){return this.selectors||(this.selectors=new pe(this)),this.selectors},t}(L),rh=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.MixinContentReference},enumerable:!1,configurable:!0}),t.prototype.getArguments=function(){return this.arguments||(this.arguments=new pe(this)),this.arguments},t}(L),ih=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.MixinContentReference},enumerable:!1,configurable:!0}),t.prototype.getParameters=function(){return this.parameters||(this.parameters=new pe(this)),this.parameters},t}(ne),Cn=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.MixinReference},enumerable:!1,configurable:!0}),t.prototype.getNamespaces=function(){return this.namespaces||(this.namespaces=new pe(this)),this.namespaces},t.prototype.setIdentifier=function(n){return this.setNode(\"identifier\",n,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():\"\"},t.prototype.getArguments=function(){return this.arguments||(this.arguments=new pe(this)),this.arguments},t.prototype.setContent=function(n){return this.setNode(\"content\",n)},t.prototype.getContent=function(){return this.content},t}(L),Ht=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.MixinDeclaration},enumerable:!1,configurable:!0}),t.prototype.setIdentifier=function(n){return this.setNode(\"identifier\",n,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():\"\"},t.prototype.getParameters=function(){return this.parameters||(this.parameters=new pe(this)),this.parameters},t.prototype.setGuard=function(n){return n&&(n.attachTo(this),this.guard=n),!1},t}(ne),ds=function(e){I(t,e);function t(n,r){return e.call(this,n,r)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.UnknownAtRule},enumerable:!1,configurable:!0}),t.prototype.setAtRuleName=function(n){this.atRuleName=n},t.prototype.getAtRuleName=function(){return this.atRuleName},t}(ne),ah=function(e){I(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.ListEntry},enumerable:!1,configurable:!0}),t.prototype.setKey=function(n){return this.setNode(\"key\",n,0)},t.prototype.setValue=function(n){return this.setNode(\"value\",n,1)},t}(L),sh=function(e){I(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getConditions=function(){return this.conditions||(this.conditions=new pe(this)),this.conditions},t}(L),oh=function(e){I(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.setVariable=function(n){return this.setNode(\"variable\",n)},t}(L),us=function(e){I(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return Object.defineProperty(t.prototype,\"type\",{get:function(){return m.Module},enumerable:!1,configurable:!0}),t.prototype.setIdentifier=function(n){return this.setNode(\"identifier\",n,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(L),Ce;(function(e){e[e.Ignore=1]=\"Ignore\",e[e.Warning=2]=\"Warning\",e[e.Error=4]=\"Error\"})(Ce||(Ce={}));var ps=function(){function e(t,n,r,i,a,o){a===void 0&&(a=t.offset),o===void 0&&(o=t.length),this.node=t,this.rule=n,this.level=r,this.message=i||n.message,this.offset=a,this.length=o}return e.prototype.getRule=function(){return this.rule},e.prototype.getLevel=function(){return this.level},e.prototype.getOffset=function(){return this.offset},e.prototype.getLength=function(){return this.length},e.prototype.getNode=function(){return this.node},e.prototype.getMessage=function(){return this.message},e}(),lh=function(){function e(){this.entries=[]}return e.entries=function(t){var n=new e;return t.acceptVisitor(n),n.entries},e.prototype.visitNode=function(t){return t.isErroneous()&&t.collectIssues(this.entries),!0},e}();function ch(e,t){let n;return t.length===0?n=e:n=e.replace(/\\{(\\d+)\\}/g,(r,i)=>{let a=i[0];return typeof t[a]!=\"undefined\"?t[a]:r}),n}function hh(e,t,...n){return ch(t,n)}function Ne(e){return hh}var J=Ne(),X=function(){function e(t,n){this.id=t,this.message=n}return e}(),v={NumberExpected:new X(\"css-numberexpected\",J(\"expected.number\",\"number expected\")),ConditionExpected:new X(\"css-conditionexpected\",J(\"expected.condt\",\"condition expected\")),RuleOrSelectorExpected:new X(\"css-ruleorselectorexpected\",J(\"expected.ruleorselector\",\"at-rule or selector expected\")),DotExpected:new X(\"css-dotexpected\",J(\"expected.dot\",\"dot expected\")),ColonExpected:new X(\"css-colonexpected\",J(\"expected.colon\",\"colon expected\")),SemiColonExpected:new X(\"css-semicolonexpected\",J(\"expected.semicolon\",\"semi-colon expected\")),TermExpected:new X(\"css-termexpected\",J(\"expected.term\",\"term expected\")),ExpressionExpected:new X(\"css-expressionexpected\",J(\"expected.expression\",\"expression expected\")),OperatorExpected:new X(\"css-operatorexpected\",J(\"expected.operator\",\"operator expected\")),IdentifierExpected:new X(\"css-identifierexpected\",J(\"expected.ident\",\"identifier expected\")),PercentageExpected:new X(\"css-percentageexpected\",J(\"expected.percentage\",\"percentage expected\")),URIOrStringExpected:new X(\"css-uriorstringexpected\",J(\"expected.uriorstring\",\"uri or string expected\")),URIExpected:new X(\"css-uriexpected\",J(\"expected.uri\",\"URI expected\")),VariableNameExpected:new X(\"css-varnameexpected\",J(\"expected.varname\",\"variable name expected\")),VariableValueExpected:new X(\"css-varvalueexpected\",J(\"expected.varvalue\",\"variable value expected\")),PropertyValueExpected:new X(\"css-propertyvalueexpected\",J(\"expected.propvalue\",\"property value expected\")),LeftCurlyExpected:new X(\"css-lcurlyexpected\",J(\"expected.lcurly\",\"{ expected\")),RightCurlyExpected:new X(\"css-rcurlyexpected\",J(\"expected.rcurly\",\"} expected\")),LeftSquareBracketExpected:new X(\"css-rbracketexpected\",J(\"expected.lsquare\",\"[ expected\")),RightSquareBracketExpected:new X(\"css-lbracketexpected\",J(\"expected.rsquare\",\"] expected\")),LeftParenthesisExpected:new X(\"css-lparentexpected\",J(\"expected.lparen\",\"( expected\")),RightParenthesisExpected:new X(\"css-rparentexpected\",J(\"expected.rparent\",\") expected\")),CommaExpected:new X(\"css-commaexpected\",J(\"expected.comma\",\"comma expected\")),PageDirectiveOrDeclarationExpected:new X(\"css-pagedirordeclexpected\",J(\"expected.pagedirordecl\",\"page directive or declaraton expected\")),UnknownAtRule:new X(\"css-unknownatrule\",J(\"unknown.atrule\",\"at-rule unknown\")),UnknownKeyword:new X(\"css-unknownkeyword\",J(\"unknown.keyword\",\"unknown keyword\")),SelectorExpected:new X(\"css-selectorexpected\",J(\"expected.selector\",\"selector expected\")),StringLiteralExpected:new X(\"css-stringliteralexpected\",J(\"expected.stringliteral\",\"string literal expected\")),WhitespaceExpected:new X(\"css-whitespaceexpected\",J(\"expected.whitespace\",\"whitespace expected\")),MediaQueryExpected:new X(\"css-mediaqueryexpected\",J(\"expected.mediaquery\",\"media query expected\")),IdentifierOrWildcardExpected:new X(\"css-idorwildcardexpected\",J(\"expected.idorwildcard\",\"identifier or wildcard expected\")),WildcardExpected:new X(\"css-wildcardexpected\",J(\"expected.wildcard\",\"wildcard expected\")),IdentifierOrVariableExpected:new X(\"css-idorvarexpected\",J(\"expected.idorvar\",\"identifier or variable expected\"))},fs;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647})(fs||(fs={}));var kn;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647})(kn||(kn={}));var ke;(function(e){function t(r,i){return r===Number.MAX_VALUE&&(r=kn.MAX_VALUE),i===Number.MAX_VALUE&&(i=kn.MAX_VALUE),{line:r,character:i}}e.create=t;function n(r){var i=r;return x.objectLiteral(i)&&x.uinteger(i.line)&&x.uinteger(i.character)}e.is=n})(ke||(ke={}));var Z;(function(e){function t(r,i,a,o){if(x.uinteger(r)&&x.uinteger(i)&&x.uinteger(a)&&x.uinteger(o))return{start:ke.create(r,i),end:ke.create(a,o)};if(ke.is(r)&&ke.is(i))return{start:r,end:i};throw new Error(\"Range#create called with invalid arguments[\"+r+\", \"+i+\", \"+a+\", \"+o+\"]\")}e.create=t;function n(r){var i=r;return x.objectLiteral(i)&&ke.is(i.start)&&ke.is(i.end)}e.is=n})(Z||(Z={}));var Gt;(function(e){function t(r,i){return{uri:r,range:i}}e.create=t;function n(r){var i=r;return x.defined(i)&&Z.is(i.range)&&(x.string(i.uri)||x.undefined(i.uri))}e.is=n})(Gt||(Gt={}));var ms;(function(e){function t(r,i,a,o){return{targetUri:r,targetRange:i,targetSelectionRange:a,originSelectionRange:o}}e.create=t;function n(r){var i=r;return x.defined(i)&&Z.is(i.targetRange)&&x.string(i.targetUri)&&(Z.is(i.targetSelectionRange)||x.undefined(i.targetSelectionRange))&&(Z.is(i.originSelectionRange)||x.undefined(i.originSelectionRange))}e.is=n})(ms||(ms={}));var Or;(function(e){function t(r,i,a,o){return{red:r,green:i,blue:a,alpha:o}}e.create=t;function n(r){var i=r;return x.numberRange(i.red,0,1)&&x.numberRange(i.green,0,1)&&x.numberRange(i.blue,0,1)&&x.numberRange(i.alpha,0,1)}e.is=n})(Or||(Or={}));var gs;(function(e){function t(r,i){return{range:r,color:i}}e.create=t;function n(r){var i=r;return Z.is(i.range)&&Or.is(i.color)}e.is=n})(gs||(gs={}));var bs;(function(e){function t(r,i,a){return{label:r,textEdit:i,additionalTextEdits:a}}e.create=t;function n(r){var i=r;return x.string(i.label)&&(x.undefined(i.textEdit)||B.is(i))&&(x.undefined(i.additionalTextEdits)||x.typedArray(i.additionalTextEdits,B.is))}e.is=n})(bs||(bs={}));var vs;(function(e){e.Comment=\"comment\",e.Imports=\"imports\",e.Region=\"region\"})(vs||(vs={}));var ys;(function(e){function t(r,i,a,o,l){var h={startLine:r,endLine:i};return x.defined(a)&&(h.startCharacter=a),x.defined(o)&&(h.endCharacter=o),x.defined(l)&&(h.kind=l),h}e.create=t;function n(r){var i=r;return x.uinteger(i.startLine)&&x.uinteger(i.startLine)&&(x.undefined(i.startCharacter)||x.uinteger(i.startCharacter))&&(x.undefined(i.endCharacter)||x.uinteger(i.endCharacter))&&(x.undefined(i.kind)||x.string(i.kind))}e.is=n})(ys||(ys={}));var Vr;(function(e){function t(r,i){return{location:r,message:i}}e.create=t;function n(r){var i=r;return x.defined(i)&&Gt.is(i.location)&&x.string(i.message)}e.is=n})(Vr||(Vr={}));var Fn;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(Fn||(Fn={}));var ws;(function(e){e.Unnecessary=1,e.Deprecated=2})(ws||(ws={}));var xs;(function(e){function t(n){var r=n;return r!=null&&x.string(r.href)}e.is=t})(xs||(xs={}));var _n;(function(e){function t(r,i,a,o,l,h){var c={range:r,message:i};return x.defined(a)&&(c.severity=a),x.defined(o)&&(c.code=o),x.defined(l)&&(c.source=l),x.defined(h)&&(c.relatedInformation=h),c}e.create=t;function n(r){var i,a=r;return x.defined(a)&&Z.is(a.range)&&x.string(a.message)&&(x.number(a.severity)||x.undefined(a.severity))&&(x.integer(a.code)||x.string(a.code)||x.undefined(a.code))&&(x.undefined(a.codeDescription)||x.string((i=a.codeDescription)===null||i===void 0?void 0:i.href))&&(x.string(a.source)||x.undefined(a.source))&&(x.undefined(a.relatedInformation)||x.typedArray(a.relatedInformation,Vr.is))}e.is=n})(_n||(_n={}));var Dt;(function(e){function t(r,i){for(var a=[],o=2;o<arguments.length;o++)a[o-2]=arguments[o];var l={title:r,command:i};return x.defined(a)&&a.length>0&&(l.arguments=a),l}e.create=t;function n(r){var i=r;return x.defined(i)&&x.string(i.title)&&x.string(i.command)}e.is=n})(Dt||(Dt={}));var B;(function(e){function t(a,o){return{range:a,newText:o}}e.replace=t;function n(a,o){return{range:{start:a,end:a},newText:o}}e.insert=n;function r(a){return{range:a,newText:\"\"}}e.del=r;function i(a){var o=a;return x.objectLiteral(o)&&x.string(o.newText)&&Z.is(o.range)}e.is=i})(B||(B={}));var Et;(function(e){function t(r,i,a){var o={label:r};return i!==void 0&&(o.needsConfirmation=i),a!==void 0&&(o.description=a),o}e.create=t;function n(r){var i=r;return i!==void 0&&x.objectLiteral(i)&&x.string(i.label)&&(x.boolean(i.needsConfirmation)||i.needsConfirmation===void 0)&&(x.string(i.description)||i.description===void 0)}e.is=n})(Et||(Et={}));var ge;(function(e){function t(n){var r=n;return typeof r==\"string\"}e.is=t})(ge||(ge={}));var nt;(function(e){function t(a,o,l){return{range:a,newText:o,annotationId:l}}e.replace=t;function n(a,o,l){return{range:{start:a,end:a},newText:o,annotationId:l}}e.insert=n;function r(a,o){return{range:a,newText:\"\",annotationId:o}}e.del=r;function i(a){var o=a;return B.is(o)&&(Et.is(o.annotationId)||ge.is(o.annotationId))}e.is=i})(nt||(nt={}));var Jt;(function(e){function t(r,i){return{textDocument:r,edits:i}}e.create=t;function n(r){var i=r;return x.defined(i)&&En.is(i.textDocument)&&Array.isArray(i.edits)}e.is=n})(Jt||(Jt={}));var Xt;(function(e){function t(r,i,a){var o={kind:\"create\",uri:r};return i!==void 0&&(i.overwrite!==void 0||i.ignoreIfExists!==void 0)&&(o.options=i),a!==void 0&&(o.annotationId=a),o}e.create=t;function n(r){var i=r;return i&&i.kind===\"create\"&&x.string(i.uri)&&(i.options===void 0||(i.options.overwrite===void 0||x.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||x.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||ge.is(i.annotationId))}e.is=n})(Xt||(Xt={}));var Yt;(function(e){function t(r,i,a,o){var l={kind:\"rename\",oldUri:r,newUri:i};return a!==void 0&&(a.overwrite!==void 0||a.ignoreIfExists!==void 0)&&(l.options=a),o!==void 0&&(l.annotationId=o),l}e.create=t;function n(r){var i=r;return i&&i.kind===\"rename\"&&x.string(i.oldUri)&&x.string(i.newUri)&&(i.options===void 0||(i.options.overwrite===void 0||x.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||x.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||ge.is(i.annotationId))}e.is=n})(Yt||(Yt={}));var Kt;(function(e){function t(r,i,a){var o={kind:\"delete\",uri:r};return i!==void 0&&(i.recursive!==void 0||i.ignoreIfNotExists!==void 0)&&(o.options=i),a!==void 0&&(o.annotationId=a),o}e.create=t;function n(r){var i=r;return i&&i.kind===\"delete\"&&x.string(i.uri)&&(i.options===void 0||(i.options.recursive===void 0||x.boolean(i.options.recursive))&&(i.options.ignoreIfNotExists===void 0||x.boolean(i.options.ignoreIfNotExists)))&&(i.annotationId===void 0||ge.is(i.annotationId))}e.is=n})(Kt||(Kt={}));var Ur;(function(e){function t(n){var r=n;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(function(i){return x.string(i.kind)?Xt.is(i)||Yt.is(i)||Kt.is(i):Jt.is(i)}))}e.is=t})(Ur||(Ur={}));var Dn=function(){function e(t,n){this.edits=t,this.changeAnnotations=n}return e.prototype.insert=function(t,n,r){var i,a;if(r===void 0?i=B.insert(t,n):ge.is(r)?(a=r,i=nt.insert(t,n,r)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(r),i=nt.insert(t,n,a)),this.edits.push(i),a!==void 0)return a},e.prototype.replace=function(t,n,r){var i,a;if(r===void 0?i=B.replace(t,n):ge.is(r)?(a=r,i=nt.replace(t,n,r)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(r),i=nt.replace(t,n,a)),this.edits.push(i),a!==void 0)return a},e.prototype.delete=function(t,n){var r,i;if(n===void 0?r=B.del(t):ge.is(n)?(i=n,r=nt.del(t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=nt.del(t,i)),this.edits.push(r),i!==void 0)return i},e.prototype.add=function(t){this.edits.push(t)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(t){if(t===void 0)throw new Error(\"Text edit change is not configured to manage change annotations.\")},e}(),Ss=function(){function e(t){this._annotations=t===void 0?Object.create(null):t,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(t,n){var r;if(ge.is(t)?r=t:(r=this.nextId(),n=t),this._annotations[r]!==void 0)throw new Error(\"Id \"+r+\" is already in use.\");if(n===void 0)throw new Error(\"No annotation provided for id \"+r);return this._annotations[r]=n,this._size++,r},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();(function(){function e(t){var n=this;this._textEditChanges=Object.create(null),t!==void 0?(this._workspaceEdit=t,t.documentChanges?(this._changeAnnotations=new Ss(t.changeAnnotations),t.changeAnnotations=this._changeAnnotations.all(),t.documentChanges.forEach(function(r){if(Jt.is(r)){var i=new Dn(r.edits,n._changeAnnotations);n._textEditChanges[r.textDocument.uri]=i}})):t.changes&&Object.keys(t.changes).forEach(function(r){var i=new Dn(t.changes[r]);n._textEditChanges[r]=i})):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(t){if(En.is(t)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var n={uri:t.uri,version:t.version},r=this._textEditChanges[n.uri];if(!r){var i=[],a={textDocument:n,edits:i};this._workspaceEdit.documentChanges.push(a),r=new Dn(i,this._changeAnnotations),this._textEditChanges[n.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[t];if(!r){var i=[];this._workspaceEdit.changes[t]=i,r=new Dn(i),this._textEditChanges[t]=r}return r}},e.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new Ss,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(t,n,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var i;Et.is(n)||ge.is(n)?i=n:r=n;var a,o;if(i===void 0?a=Xt.create(t,r):(o=ge.is(i)?i:this._changeAnnotations.manage(i),a=Xt.create(t,r,o)),this._workspaceEdit.documentChanges.push(a),o!==void 0)return o},e.prototype.renameFile=function(t,n,r,i){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var a;Et.is(r)||ge.is(r)?a=r:i=r;var o,l;if(a===void 0?o=Yt.create(t,n,i):(l=ge.is(a)?a:this._changeAnnotations.manage(a),o=Yt.create(t,n,i,l)),this._workspaceEdit.documentChanges.push(o),l!==void 0)return l},e.prototype.deleteFile=function(t,n,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var i;Et.is(n)||ge.is(n)?i=n:r=n;var a,o;if(i===void 0?a=Kt.create(t,r):(o=ge.is(i)?i:this._changeAnnotations.manage(i),a=Kt.create(t,r,o)),this._workspaceEdit.documentChanges.push(a),o!==void 0)return o},e})();var Cs;(function(e){function t(r){return{uri:r}}e.create=t;function n(r){var i=r;return x.defined(i)&&x.string(i.uri)}e.is=n})(Cs||(Cs={}));var Br;(function(e){function t(r,i){return{uri:r,version:i}}e.create=t;function n(r){var i=r;return x.defined(i)&&x.string(i.uri)&&x.integer(i.version)}e.is=n})(Br||(Br={}));var En;(function(e){function t(r,i){return{uri:r,version:i}}e.create=t;function n(r){var i=r;return x.defined(i)&&x.string(i.uri)&&(i.version===null||x.integer(i.version))}e.is=n})(En||(En={}));var ks;(function(e){function t(r,i,a,o){return{uri:r,languageId:i,version:a,text:o}}e.create=t;function n(r){var i=r;return x.defined(i)&&x.string(i.uri)&&x.string(i.languageId)&&x.integer(i.version)&&x.string(i.text)}e.is=n})(ks||(ks={}));var Re;(function(e){e.PlainText=\"plaintext\",e.Markdown=\"markdown\"})(Re||(Re={})),function(e){function t(n){var r=n;return r===e.PlainText||r===e.Markdown}e.is=t}(Re||(Re={}));var jr;(function(e){function t(n){var r=n;return x.objectLiteral(n)&&Re.is(r.kind)&&x.string(r.value)}e.is=t})(jr||(jr={}));var O;(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})(O||(O={}));var Fe;(function(e){e.PlainText=1,e.Snippet=2})(Fe||(Fe={}));var ct;(function(e){e.Deprecated=1})(ct||(ct={}));var Fs;(function(e){function t(r,i,a){return{newText:r,insert:i,replace:a}}e.create=t;function n(r){var i=r;return i&&x.string(i.newText)&&Z.is(i.insert)&&Z.is(i.replace)}e.is=n})(Fs||(Fs={}));var _s;(function(e){e.asIs=1,e.adjustIndentation=2})(_s||(_s={}));var Ds;(function(e){function t(n){return{label:n}}e.create=t})(Ds||(Ds={}));var Es;(function(e){function t(n,r){return{items:n||[],isIncomplete:!!r}}e.create=t})(Es||(Es={}));var Rn;(function(e){function t(r){return r.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g,\"\\\\$&\")}e.fromPlainText=t;function n(r){var i=r;return x.string(i)||x.objectLiteral(i)&&x.string(i.language)&&x.string(i.value)}e.is=n})(Rn||(Rn={}));var Rs;(function(e){function t(n){var r=n;return!!r&&x.objectLiteral(r)&&(jr.is(r.contents)||Rn.is(r.contents)||x.typedArray(r.contents,Rn.is))&&(n.range===void 0||Z.is(n.range))}e.is=t})(Rs||(Rs={}));var As;(function(e){function t(n,r){return r?{label:n,documentation:r}:{label:n}}e.create=t})(As||(As={}));var zs;(function(e){function t(n,r){for(var i=[],a=2;a<arguments.length;a++)i[a-2]=arguments[a];var o={label:n};return x.defined(r)&&(o.documentation=r),x.defined(i)?o.parameters=i:o.parameters=[],o}e.create=t})(zs||(zs={}));var Rt;(function(e){e.Text=1,e.Read=2,e.Write=3})(Rt||(Rt={}));var Ms;(function(e){function t(n,r){var i={range:n};return x.number(r)&&(i.kind=r),i}e.create=t})(Ms||(Ms={}));var ht;(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})(ht||(ht={}));var Ns;(function(e){e.Deprecated=1})(Ns||(Ns={}));var Ps;(function(e){function t(n,r,i,a,o){var l={name:n,kind:r,location:{uri:a,range:i}};return o&&(l.containerName=o),l}e.create=t})(Ps||(Ps={}));var Is;(function(e){function t(r,i,a,o,l,h){var c={name:r,detail:i,kind:a,range:o,selectionRange:l};return h!==void 0&&(c.children=h),c}e.create=t;function n(r){var i=r;return i&&x.string(i.name)&&x.number(i.kind)&&Z.is(i.range)&&Z.is(i.selectionRange)&&(i.detail===void 0||x.string(i.detail))&&(i.deprecated===void 0||x.boolean(i.deprecated))&&(i.children===void 0||Array.isArray(i.children))&&(i.tags===void 0||Array.isArray(i.tags))}e.is=n})(Is||(Is={}));var qr;(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\"})(qr||(qr={}));var Ls;(function(e){function t(r,i){var a={diagnostics:r};return i!=null&&(a.only=i),a}e.create=t;function n(r){var i=r;return x.defined(i)&&x.typedArray(i.diagnostics,_n.is)&&(i.only===void 0||x.typedArray(i.only,x.string))}e.is=n})(Ls||(Ls={}));var $r;(function(e){function t(r,i,a){var o={title:r},l=!0;return typeof i==\"string\"?(l=!1,o.kind=i):Dt.is(i)?o.command=i:o.edit=i,l&&a!==void 0&&(o.kind=a),o}e.create=t;function n(r){var i=r;return i&&x.string(i.title)&&(i.diagnostics===void 0||x.typedArray(i.diagnostics,_n.is))&&(i.kind===void 0||x.string(i.kind))&&(i.edit!==void 0||i.command!==void 0)&&(i.command===void 0||Dt.is(i.command))&&(i.isPreferred===void 0||x.boolean(i.isPreferred))&&(i.edit===void 0||Ur.is(i.edit))}e.is=n})($r||($r={}));var Ts;(function(e){function t(r,i){var a={range:r};return x.defined(i)&&(a.data=i),a}e.create=t;function n(r){var i=r;return x.defined(i)&&Z.is(i.range)&&(x.undefined(i.command)||Dt.is(i.command))}e.is=n})(Ts||(Ts={}));var Ws;(function(e){function t(r,i){return{tabSize:r,insertSpaces:i}}e.create=t;function n(r){var i=r;return x.defined(i)&&x.uinteger(i.tabSize)&&x.boolean(i.insertSpaces)}e.is=n})(Ws||(Ws={}));var Os;(function(e){function t(r,i,a){return{range:r,target:i,data:a}}e.create=t;function n(r){var i=r;return x.defined(i)&&Z.is(i.range)&&(x.undefined(i.target)||x.string(i.target))}e.is=n})(Os||(Os={}));var An;(function(e){function t(r,i){return{range:r,parent:i}}e.create=t;function n(r){var i=r;return i!==void 0&&Z.is(i.range)&&(i.parent===void 0||e.is(i.parent))}e.is=n})(An||(An={}));var Vs;(function(e){function t(a,o,l,h){return new dh(a,o,l,h)}e.create=t;function n(a){var o=a;return!!(x.defined(o)&&x.string(o.uri)&&(x.undefined(o.languageId)||x.string(o.languageId))&&x.uinteger(o.lineCount)&&x.func(o.getText)&&x.func(o.positionAt)&&x.func(o.offsetAt))}e.is=n;function r(a,o){for(var l=a.getText(),h=i(o,function(w,b){var y=w.range.start.line-b.range.start.line;return y===0?w.range.start.character-b.range.start.character:y}),c=l.length,d=h.length-1;d>=0;d--){var p=h[d],f=a.offsetAt(p.range.start),g=a.offsetAt(p.range.end);if(g<=c)l=l.substring(0,f)+p.newText+l.substring(g,l.length);else throw new Error(\"Overlapping edit\");c=f}return l}e.applyEdits=r;function i(a,o){if(a.length<=1)return a;var l=a.length/2|0,h=a.slice(0,l),c=a.slice(l);i(h,o),i(c,o);for(var d=0,p=0,f=0;d<h.length&&p<c.length;){var g=o(h[d],c[p]);g<=0?a[f++]=h[d++]:a[f++]=c[p++]}for(;d<h.length;)a[f++]=h[d++];for(;p<c.length;)a[f++]=c[p++];return a}})(Vs||(Vs={}));var dh=function(){function e(t,n,r,i){this._uri=t,this._languageId=n,this._version=r,this._content=i,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(t){if(t){var n=this.offsetAt(t.start),r=this.offsetAt(t.end);return this._content.substring(n,r)}return this._content},e.prototype.update=function(t,n){this._content=t.text,this._version=n,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(this._lineOffsets===void 0){for(var t=[],n=this._content,r=!0,i=0;i<n.length;i++){r&&(t.push(i),r=!1);var a=n.charAt(i);r=a===\"\\r\"||a===`\n`,a===\"\\r\"&&i+1<n.length&&n.charAt(i+1)===`\n`&&i++}r&&n.length>0&&t.push(n.length),this._lineOffsets=t}return this._lineOffsets},e.prototype.positionAt=function(t){t=Math.max(Math.min(t,this._content.length),0);var n=this.getLineOffsets(),r=0,i=n.length;if(i===0)return ke.create(0,t);for(;r<i;){var a=Math.floor((r+i)/2);n[a]>t?i=a:r=a+1}var o=r-1;return ke.create(o,t-n[o])},e.prototype.offsetAt=function(t){var n=this.getLineOffsets();if(t.line>=n.length)return this._content.length;if(t.line<0)return 0;var r=n[t.line],i=t.line+1<n.length?n[t.line+1]:this._content.length;return Math.max(Math.min(r+t.character,i),r)},Object.defineProperty(e.prototype,\"lineCount\",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),e}(),x;(function(e){var t=Object.prototype.toString;function n(g){return typeof g!=\"undefined\"}e.defined=n;function r(g){return typeof g==\"undefined\"}e.undefined=r;function i(g){return g===!0||g===!1}e.boolean=i;function a(g){return t.call(g)===\"[object String]\"}e.string=a;function o(g){return t.call(g)===\"[object Number]\"}e.number=o;function l(g,w,b){return t.call(g)===\"[object Number]\"&&w<=g&&g<=b}e.numberRange=l;function h(g){return t.call(g)===\"[object Number]\"&&-2147483648<=g&&g<=2147483647}e.integer=h;function c(g){return t.call(g)===\"[object Number]\"&&0<=g&&g<=2147483647}e.uinteger=c;function d(g){return t.call(g)===\"[object Function]\"}e.func=d;function p(g){return g!==null&&typeof g==\"object\"}e.objectLiteral=p;function f(g,w){return Array.isArray(g)&&g.every(w)}e.typedArray=f})(x||(x={}));var zn=class{constructor(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){const t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content}update(e,t){for(let n of e)if(zn.isIncremental(n)){const r=Bs(n.range),i=this.offsetAt(r.start),a=this.offsetAt(r.end);this._content=this._content.substring(0,i)+n.text+this._content.substring(a,this._content.length);const o=Math.max(r.start.line,0),l=Math.max(r.end.line,0);let h=this._lineOffsets;const c=Us(n.text,!1,i);if(l-o===c.length)for(let p=0,f=c.length;p<f;p++)h[p+o+1]=c[p];else c.length<1e4?h.splice(o+1,l-o,...c):this._lineOffsets=h=h.slice(0,o+1).concat(c,h.slice(l+1));const d=n.text.length-(a-i);if(d!==0)for(let p=o+1+c.length,f=h.length;p<f;p++)h[p]=h[p]+d}else if(zn.isFull(n))this._content=n.text,this._lineOffsets=void 0;else throw new Error(\"Unknown change event received\");this._version=t}getLineOffsets(){return this._lineOffsets===void 0&&(this._lineOffsets=Us(this._content,!0)),this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),n=0,r=t.length;if(r===0)return{line:0,character:e};for(;n<r;){let a=Math.floor((n+r)/2);t[a]>e?r=a:n=a+1}let i=n-1;return{line:i,character:e-t[i]}}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)}get lineCount(){return this.getLineOffsets().length}static isIncremental(e){let t=e;return t!=null&&typeof t.text==\"string\"&&t.range!==void 0&&(t.rangeLength===void 0||typeof t.rangeLength==\"number\")}static isFull(e){let t=e;return t!=null&&typeof t.text==\"string\"&&t.range===void 0&&t.rangeLength===void 0}},Hr;(function(e){function t(i,a,o,l){return new zn(i,a,o,l)}e.create=t;function n(i,a,o){if(i instanceof zn)return i.update(a,o),i;throw new Error(\"TextDocument.update: document must be created by TextDocument.create\")}e.update=n;function r(i,a){let o=i.getText(),l=Gr(a.map(uh),(d,p)=>{let f=d.range.start.line-p.range.start.line;return f===0?d.range.start.character-p.range.start.character:f}),h=0;const c=[];for(const d of l){let p=i.offsetAt(d.range.start);if(p<h)throw new Error(\"Overlapping edit\");p>h&&c.push(o.substring(h,p)),d.newText.length&&c.push(d.newText),h=i.offsetAt(d.range.end)}return c.push(o.substr(h)),c.join(\"\")}e.applyEdits=r})(Hr||(Hr={}));function Gr(e,t){if(e.length<=1)return e;const n=e.length/2|0,r=e.slice(0,n),i=e.slice(n);Gr(r,t),Gr(i,t);let a=0,o=0,l=0;for(;a<r.length&&o<i.length;)t(r[a],i[o])<=0?e[l++]=r[a++]:e[l++]=i[o++];for(;a<r.length;)e[l++]=r[a++];for(;o<i.length;)e[l++]=i[o++];return e}function Us(e,t,n=0){const r=t?[n]:[];for(let i=0;i<e.length;i++){let a=e.charCodeAt(i);(a===13||a===10)&&(a===13&&i+1<e.length&&e.charCodeAt(i+1)===10&&i++,r.push(n+i+1))}return r}function Bs(e){const t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function uh(e){const t=Bs(e.range);return t!==e.range?{newText:e.newText,range:t}:e}var js;(function(e){e.LATEST={textDocument:{completion:{completionItem:{documentationFormat:[Re.Markdown,Re.PlainText]}},hover:{contentFormat:[Re.Markdown,Re.PlainText]}}}})(js||(js={}));var Zt;(function(e){e[e.Unknown=0]=\"Unknown\",e[e.File=1]=\"File\",e[e.Directory=2]=\"Directory\",e[e.SymbolicLink=64]=\"SymbolicLink\"})(Zt||(Zt={}));var qs={E:\"Edge\",FF:\"Firefox\",S:\"Safari\",C:\"Chrome\",IE:\"IE\",O:\"Opera\"};function $s(e){switch(e){case\"experimental\":return`\\u26A0\\uFE0F Property is experimental. Be cautious when using it.\\uFE0F\n\n`;case\"nonstandard\":return`\\u{1F6A8}\\uFE0F Property is nonstandard. Avoid using it.\n\n`;case\"obsolete\":return`\\u{1F6A8}\\uFE0F\\uFE0F\\uFE0F Property is obsolete. Avoid using it.\n\n`;default:return\"\"}}function rt(e,t,n){var r;if(t?r={kind:\"markdown\",value:fh(e,n)}:r={kind:\"plaintext\",value:ph(e,n)},r.value!==\"\")return r}function Mn(e){return e=e.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g,\"\\\\$&\"),e.replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\")}function ph(e,t){if(!e.description||e.description===\"\")return\"\";if(typeof e.description!=\"string\")return e.description.value;var n=\"\";if((t==null?void 0:t.documentation)!==!1){e.status&&(n+=$s(e.status)),n+=e.description;var r=Hs(e.browsers);r&&(n+=`\n(`+r+\")\"),\"syntax\"in e&&(n+=`\n\nSyntax: `.concat(e.syntax))}return e.references&&e.references.length>0&&(t==null?void 0:t.references)!==!1&&(n.length>0&&(n+=`\n\n`),n+=e.references.map(function(i){return\"\".concat(i.name,\": \").concat(i.url)}).join(\" | \")),n}function fh(e,t){if(!e.description||e.description===\"\")return\"\";var n=\"\";if((t==null?void 0:t.documentation)!==!1){e.status&&(n+=$s(e.status)),typeof e.description==\"string\"?n+=Mn(e.description):n+=e.description.kind===Re.Markdown?e.description.value:Mn(e.description.value);var r=Hs(e.browsers);r&&(n+=`\n\n(`+Mn(r)+\")\"),\"syntax\"in e&&e.syntax&&(n+=`\n\nSyntax: `.concat(Mn(e.syntax)))}return e.references&&e.references.length>0&&(t==null?void 0:t.references)!==!1&&(n.length>0&&(n+=`\n\n`),n+=e.references.map(function(i){return\"[\".concat(i.name,\"](\").concat(i.url,\")\")}).join(\" | \")),n}function Hs(e){return e===void 0&&(e=[]),e.length===0?null:e.map(function(t){var n=\"\",r=t.match(/([A-Z]+)(\\d+)?/),i=r[1],a=r[2];return i in qs&&(n+=qs[i]),a&&(n+=\" \"+a),n}).join(\", \")}var Nn=Ne(),mh=[{func:\"rgb($red, $green, $blue)\",desc:Nn(\"css.builtin.rgb\",\"Creates a Color from red, green, and blue values.\")},{func:\"rgba($red, $green, $blue, $alpha)\",desc:Nn(\"css.builtin.rgba\",\"Creates a Color from red, green, blue, and alpha values.\")},{func:\"hsl($hue, $saturation, $lightness)\",desc:Nn(\"css.builtin.hsl\",\"Creates a Color from hue, saturation, and lightness values.\")},{func:\"hsla($hue, $saturation, $lightness, $alpha)\",desc:Nn(\"css.builtin.hsla\",\"Creates a Color from hue, saturation, lightness, and alpha values.\")}],Pn={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\",darkgrey:\"#a9a9a9\",darkgreen:\"#006400\",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\",gold:\"#ffd700\",goldenrod:\"#daa520\",gray:\"#808080\",grey:\"#808080\",green:\"#008000\",greenyellow:\"#adff2f\",honeydew:\"#f0fff0\",hotpink:\"#ff69b4\",indianred:\"#cd5c5c\",indigo:\"#4b0082\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lavender:\"#e6e6fa\",lavenderblush:\"#fff0f5\",lawngreen:\"#7cfc00\",lemonchiffon:\"#fffacd\",lightblue:\"#add8e6\",lightcoral:\"#f08080\",lightcyan:\"#e0ffff\",lightgoldenrodyellow:\"#fafad2\",lightgray:\"#d3d3d3\",lightgrey:\"#d3d3d3\",lightgreen:\"#90ee90\",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:\"#9370d8\",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:\"#d87093\",papayawhip:\"#ffefd5\",peachpuff:\"#ffdab9\",peru:\"#cd853f\",pink:\"#ffc0cb\",plum:\"#dda0dd\",powderblue:\"#b0e0e6\",purple:\"#800080\",red:\"#ff0000\",rebeccapurple:\"#663399\",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\"},Gs={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.\",transparent:\"Fully transparent. This keyword can be considered a shorthand for rgba(0,0,0,0) which is its computed value.\"};function At(e,t){var n=e.getText(),r=n.match(/^([-+]?[0-9]*\\.?[0-9]+)(%?)$/);if(r){r[2]&&(t=100);var i=parseFloat(r[1])/t;if(i>=0&&i<=1)return i}throw new Error}function gh(e){var t=e.getText(),n=t.match(/^([-+]?[0-9]*\\.?[0-9]+)(deg|rad|grad|turn)?$/);if(n)switch(n[2]){case\"deg\":return parseFloat(t)%360;case\"rad\":return parseFloat(t)*180/Math.PI%360;case\"grad\":return parseFloat(t)*.9%360;case\"turn\":return parseFloat(t)*360%360;default:if(typeof n[2]==\"undefined\")return parseFloat(t)%360}throw new Error}function bh(e){var t=e.getName();return t?/^(rgb|rgba|hsl|hsla)$/gi.test(t):!1}var Js=48,vh=57,yh=65,In=97,wh=102;function ae(e){return e<Js?0:e<=vh?e-Js:(e<In&&(e+=In-yh),e>=In&&e<=wh?e-In+10:0)}function Xs(e){if(e[0]!==\"#\")return null;switch(e.length){case 4:return{red:ae(e.charCodeAt(1))*17/255,green:ae(e.charCodeAt(2))*17/255,blue:ae(e.charCodeAt(3))*17/255,alpha:1};case 5:return{red:ae(e.charCodeAt(1))*17/255,green:ae(e.charCodeAt(2))*17/255,blue:ae(e.charCodeAt(3))*17/255,alpha:ae(e.charCodeAt(4))*17/255};case 7:return{red:(ae(e.charCodeAt(1))*16+ae(e.charCodeAt(2)))/255,green:(ae(e.charCodeAt(3))*16+ae(e.charCodeAt(4)))/255,blue:(ae(e.charCodeAt(5))*16+ae(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(ae(e.charCodeAt(1))*16+ae(e.charCodeAt(2)))/255,green:(ae(e.charCodeAt(3))*16+ae(e.charCodeAt(4)))/255,blue:(ae(e.charCodeAt(5))*16+ae(e.charCodeAt(6)))/255,alpha:(ae(e.charCodeAt(7))*16+ae(e.charCodeAt(8)))/255}}return null}function xh(e,t,n,r){if(r===void 0&&(r=1),e=e/60,t===0)return{red:n,green:n,blue:n,alpha:r};var i=function(l,h,c){for(;c<0;)c+=6;for(;c>=6;)c-=6;return c<1?(h-l)*c+l:c<3?h:c<4?(h-l)*(4-c)+l:l},a=n<=.5?n*(t+1):n+t-n*t,o=n*2-a;return{red:i(o,a,e+2),green:i(o,a,e),blue:i(o,a,e-2),alpha:r}}function Sh(e){var t=e.red,n=e.green,r=e.blue,i=e.alpha,a=Math.max(t,n,r),o=Math.min(t,n,r),l=0,h=0,c=(o+a)/2,d=a-o;if(d>0){switch(h=Math.min(c<=.5?d/(2*c):d/(2-2*c),1),a){case t:l=(n-r)/d+(n<r?6:0);break;case n:l=(r-t)/d+2;break;case r:l=(t-n)/d+4;break}l*=60,l=Math.round(l)}return{h:l,s:h,l:c,a:i}}function Ch(e){if(e.type===m.HexColorValue){var t=e.getText();return Xs(t)}else if(e.type===m.Function){var n=e,r=n.getName(),i=n.getArguments().getChildren();if(i.length===1){var a=i[0].getChildren();if(a.length===1&&a[0].type===m.Expression&&(i=a[0].getChildren(),i.length===3)){var o=i[2];if(o instanceof Pr){var l=o.getLeft(),h=o.getRight(),c=o.getOperator();l&&h&&c&&c.matches(\"/\")&&(i=[i[0],i[1],l,h])}}}if(!r||i.length<3||i.length>4)return null;try{var d=i.length===4?At(i[3],1):1;if(r===\"rgb\"||r===\"rgba\")return{red:At(i[0],255),green:At(i[1],255),blue:At(i[2],255),alpha:d};if(r===\"hsl\"||r===\"hsla\"){var p=gh(i[0]),f=At(i[1],100),g=At(i[2],100);return xh(p,f,g,d)}}catch{return null}}else if(e.type===m.Identifier){if(e.parent&&e.parent.type!==m.Term)return null;var w=e.parent;if(w&&w.parent&&w.parent.type===m.BinaryExpression){var b=w.parent;if(b.parent&&b.parent.type===m.ListEntry&&b.parent.key===b)return null}var y=e.getText().toLowerCase();if(y===\"none\")return null;var A=Pn[y];if(A)return Xs(A)}return null}var Ys={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.\",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.\",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.\",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.\",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.\"},Ks={\"no-repeat\":\"Placed once and not repeated in this direction.\",repeat:\"Repeated in this direction as often as needed to cover the background painting area.\",\"repeat-x\":\"Computes to \\u2018repeat no-repeat\\u2019.\",\"repeat-y\":\"Computes to \\u2018no-repeat repeat\\u2019.\",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.\",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.\"},Zs={dashed:\"A series of square-ended dashes.\",dotted:\"A series of round dots.\",double:\"Two parallel solid lines with some space between them.\",groove:\"Looks as if it were carved in the canvas.\",hidden:\"Same as \\u2018none\\u2019, but has different behavior in the border conflict resolution rules for border-collapsed tables.\",inset:\"Looks as if the content on the inside of the border is sunken into the canvas.\",none:\"No border. Color and width are ignored.\",outset:\"Looks as if the content on the inside of the border is coming out of the canvas.\",ridge:\"Looks as if it were coming out of the canvas.\",solid:\"A single line segment.\"},kh=[\"medium\",\"thick\",\"thin\"],Qs={\"border-box\":\"The background is painted within (clipped to) the border box.\",\"content-box\":\"The background is painted within (clipped to) the content box.\",\"padding-box\":\"The background is painted within (clipped to) the padding box.\"},eo={\"margin-box\":\"Uses the margin box as reference box.\",\"fill-box\":\"Uses the object bounding box as reference box.\",\"stroke-box\":\"Uses the stroke bounding box as reference box.\",\"view-box\":\"Uses the nearest SVG viewport as reference box.\"},to={initial:\"Represents the value specified as the property\\u2019s initial value.\",inherit:\"Represents the computed value of the property on the element\\u2019s parent.\",unset:\"Acts as either `inherit` or `initial`, depending on whether the property is inherited or not.\"},no={\"var()\":\"Evaluates the value of a custom variable.\",\"calc()\":\"Evaluates an mathematical expression. The following operators can be used: + - * /.\"},ro={\"url()\":\"Reference an image file by URL\",\"image()\":\"Provide image fallbacks and annotations.\",\"-webkit-image-set()\":\"Provide multiple resolutions. Remember to use unprefixed image-set() in addition.\",\"image-set()\":\"Provide multiple resolutions of an image and const the UA decide which is most appropriate in a given situation.\",\"-moz-element()\":\"Use an element in the document as an image. Remember to use unprefixed element() in addition.\",\"element()\":\"Use an element in the document as an image.\",\"cross-fade()\":\"Indicates the two images to be combined and how far along in the transition the combination is.\",\"-webkit-gradient()\":\"Deprecated. Use modern linear-gradient() or radial-gradient() instead.\",\"-webkit-linear-gradient()\":\"Linear gradient. Remember to use unprefixed version in addition.\",\"-moz-linear-gradient()\":\"Linear gradient. Remember to use unprefixed version in addition.\",\"-o-linear-gradient()\":\"Linear gradient. Remember to use unprefixed version in addition.\",\"linear-gradient()\":\"A linear gradient is created by specifying a straight gradient line, and then several colors placed along that line.\",\"-webkit-repeating-linear-gradient()\":\"Repeating Linear gradient. Remember to use unprefixed version in addition.\",\"-moz-repeating-linear-gradient()\":\"Repeating Linear gradient. Remember to use unprefixed version in addition.\",\"-o-repeating-linear-gradient()\":\"Repeating Linear gradient. Remember to use unprefixed version in addition.\",\"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.\",\"-webkit-radial-gradient()\":\"Radial gradient. Remember to use unprefixed version in addition.\",\"-moz-radial-gradient()\":\"Radial gradient. Remember to use unprefixed version in addition.\",\"radial-gradient()\":\"Colors emerge from a single point and smoothly spread outward in a circular or elliptical shape.\",\"-webkit-repeating-radial-gradient()\":\"Repeating radial gradient. Remember to use unprefixed version in addition.\",\"-moz-repeating-radial-gradient()\":\"Repeating radial gradient. Remember to use unprefixed version in addition.\",\"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.\"},io={ease:\"Equivalent to cubic-bezier(0.25, 0.1, 0.25, 1.0).\",\"ease-in\":\"Equivalent to cubic-bezier(0.42, 0, 1.0, 1.0).\",\"ease-in-out\":\"Equivalent to cubic-bezier(0.42, 0, 0.58, 1.0).\",\"ease-out\":\"Equivalent to cubic-bezier(0, 0, 0.58, 1.0).\",linear:\"Equivalent to cubic-bezier(0.0, 0.0, 1.0, 1.0).\",\"step-end\":\"Equivalent to steps(1, end).\",\"step-start\":\"Equivalent to steps(1, start).\",\"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.\",\"cubic-bezier()\":\"Specifies a cubic-bezier curve. The four values specify points P1 and P2  of the curve as (x1, y1, x2, y2).\",\"cubic-bezier(0.6, -0.28, 0.735, 0.045)\":\"Ease-in Back. Overshoots.\",\"cubic-bezier(0.68, -0.55, 0.265, 1.55)\":\"Ease-in-out Back. Overshoots.\",\"cubic-bezier(0.175, 0.885, 0.32, 1.275)\":\"Ease-out Back. Overshoots.\",\"cubic-bezier(0.6, 0.04, 0.98, 0.335)\":\"Ease-in Circular. Based on half circle.\",\"cubic-bezier(0.785, 0.135, 0.15, 0.86)\":\"Ease-in-out Circular. Based on half circle.\",\"cubic-bezier(0.075, 0.82, 0.165, 1)\":\"Ease-out Circular. Based on half circle.\",\"cubic-bezier(0.55, 0.055, 0.675, 0.19)\":\"Ease-in Cubic. Based on power of three.\",\"cubic-bezier(0.645, 0.045, 0.355, 1)\":\"Ease-in-out Cubic. Based on power of three.\",\"cubic-bezier(0.215, 0.610, 0.355, 1)\":\"Ease-out Cubic. Based on power of three.\",\"cubic-bezier(0.95, 0.05, 0.795, 0.035)\":\"Ease-in Exponential. Based on two to the power ten.\",\"cubic-bezier(1, 0, 0, 1)\":\"Ease-in-out Exponential. Based on two to the power ten.\",\"cubic-bezier(0.19, 1, 0.22, 1)\":\"Ease-out Exponential. Based on two to the power ten.\",\"cubic-bezier(0.47, 0, 0.745, 0.715)\":\"Ease-in Sine.\",\"cubic-bezier(0.445, 0.05, 0.55, 0.95)\":\"Ease-in-out Sine.\",\"cubic-bezier(0.39, 0.575, 0.565, 1)\":\"Ease-out Sine.\",\"cubic-bezier(0.55, 0.085, 0.68, 0.53)\":\"Ease-in Quadratic. Based on power of two.\",\"cubic-bezier(0.455, 0.03, 0.515, 0.955)\":\"Ease-in-out Quadratic. Based on power of two.\",\"cubic-bezier(0.25, 0.46, 0.45, 0.94)\":\"Ease-out Quadratic. Based on power of two.\",\"cubic-bezier(0.895, 0.03, 0.685, 0.22)\":\"Ease-in Quartic. Based on power of four.\",\"cubic-bezier(0.77, 0, 0.175, 1)\":\"Ease-in-out Quartic. Based on power of four.\",\"cubic-bezier(0.165, 0.84, 0.44, 1)\":\"Ease-out Quartic. Based on power of four.\",\"cubic-bezier(0.755, 0.05, 0.855, 0.06)\":\"Ease-in Quintic. Based on power of five.\",\"cubic-bezier(0.86, 0, 0.07, 1)\":\"Ease-in-out Quintic. Based on power of five.\",\"cubic-bezier(0.23, 1, 0.320, 1)\":\"Ease-out Quintic. Based on power of five.\"},ao={\"circle()\":\"Defines a circle.\",\"ellipse()\":\"Defines an ellipse.\",\"inset()\":\"Defines an inset rectangle.\",\"polygon()\":\"Defines a polygon.\"},so={length:[\"em\",\"rem\",\"ex\",\"px\",\"cm\",\"mm\",\"in\",\"pt\",\"pc\",\"ch\",\"vw\",\"vh\",\"vmin\",\"vmax\"],angle:[\"deg\",\"rad\",\"grad\",\"turn\"],time:[\"ms\",\"s\"],frequency:[\"Hz\",\"kHz\"],resolution:[\"dpi\",\"dpcm\",\"dppx\"],percentage:[\"%\",\"fr\"]},Fh=[\"a\",\"abbr\",\"address\",\"area\",\"article\",\"aside\",\"audio\",\"b\",\"base\",\"bdi\",\"bdo\",\"blockquote\",\"body\",\"br\",\"button\",\"canvas\",\"caption\",\"cite\",\"code\",\"col\",\"colgroup\",\"data\",\"datalist\",\"dd\",\"del\",\"details\",\"dfn\",\"dialog\",\"div\",\"dl\",\"dt\",\"em\",\"embed\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"head\",\"header\",\"hgroup\",\"hr\",\"html\",\"i\",\"iframe\",\"img\",\"input\",\"ins\",\"kbd\",\"keygen\",\"label\",\"legend\",\"li\",\"link\",\"main\",\"map\",\"mark\",\"menu\",\"menuitem\",\"meta\",\"meter\",\"nav\",\"noscript\",\"object\",\"ol\",\"optgroup\",\"option\",\"output\",\"p\",\"param\",\"picture\",\"pre\",\"progress\",\"q\",\"rb\",\"rp\",\"rt\",\"rtc\",\"ruby\",\"s\",\"samp\",\"script\",\"section\",\"select\",\"small\",\"source\",\"span\",\"strong\",\"style\",\"sub\",\"summary\",\"sup\",\"table\",\"tbody\",\"td\",\"template\",\"textarea\",\"tfoot\",\"th\",\"thead\",\"time\",\"title\",\"tr\",\"track\",\"u\",\"ul\",\"const\",\"video\",\"wbr\"],_h=[\"circle\",\"clipPath\",\"cursor\",\"defs\",\"desc\",\"ellipse\",\"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\",\"filter\",\"foreignObject\",\"g\",\"hatch\",\"hatchpath\",\"image\",\"line\",\"linearGradient\",\"marker\",\"mask\",\"mesh\",\"meshpatch\",\"meshrow\",\"metadata\",\"mpath\",\"path\",\"pattern\",\"polygon\",\"polyline\",\"radialGradient\",\"rect\",\"set\",\"solidcolor\",\"stop\",\"svg\",\"switch\",\"symbol\",\"text\",\"textPath\",\"tspan\",\"use\",\"view\"],Dh=[\"@bottom-center\",\"@bottom-left\",\"@bottom-left-corner\",\"@bottom-right\",\"@bottom-right-corner\",\"@left-bottom\",\"@left-middle\",\"@left-top\",\"@right-bottom\",\"@right-middle\",\"@right-top\",\"@top-center\",\"@top-left\",\"@top-left-corner\",\"@top-right\",\"@top-right-corner\"];function Ln(e){return Object.keys(e).map(function(t){return e[t]})}function Ae(e){return typeof e!=\"undefined\"}var oo=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))},Jr=function(){function e(t){t===void 0&&(t=new Ut),this.keyframeRegex=/^@(\\-(webkit|ms|moz|o)\\-)?keyframes$/i,this.scanner=t,this.token={type:u.EOF,offset:-1,len:0,text:\"\"},this.prevToken=void 0}return e.prototype.peekIdent=function(t){return u.Ident===this.token.type&&t.length===this.token.text.length&&t===this.token.text.toLowerCase()},e.prototype.peekKeyword=function(t){return u.AtKeyword===this.token.type&&t.length===this.token.text.length&&t===this.token.text.toLowerCase()},e.prototype.peekDelim=function(t){return u.Delim===this.token.type&&t===this.token.text},e.prototype.peek=function(t){return t===this.token.type},e.prototype.peekOne=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.indexOf(this.token.type)!==-1},e.prototype.peekRegExp=function(t,n){return t!==this.token.type?!1:n.test(this.token.text)},e.prototype.hasWhitespace=function(){return!!this.prevToken&&this.prevToken.offset+this.prevToken.len!==this.token.offset},e.prototype.consumeToken=function(){this.prevToken=this.token,this.token=this.scanner.scan()},e.prototype.mark=function(){return{prev:this.prevToken,curr:this.token,pos:this.scanner.pos()}},e.prototype.restoreAtMark=function(t){this.prevToken=t.prev,this.token=t.curr,this.scanner.goBackTo(t.pos)},e.prototype.try=function(t){var n=this.mark(),r=t();return r||(this.restoreAtMark(n),null)},e.prototype.acceptOneKeyword=function(t){if(u.AtKeyword===this.token.type)for(var n=0,r=t;n<r.length;n++){var i=r[n];if(i.length===this.token.text.length&&i===this.token.text.toLowerCase())return this.consumeToken(),!0}return!1},e.prototype.accept=function(t){return t===this.token.type?(this.consumeToken(),!0):!1},e.prototype.acceptIdent=function(t){return this.peekIdent(t)?(this.consumeToken(),!0):!1},e.prototype.acceptKeyword=function(t){return this.peekKeyword(t)?(this.consumeToken(),!0):!1},e.prototype.acceptDelim=function(t){return this.peekDelim(t)?(this.consumeToken(),!0):!1},e.prototype.acceptRegexp=function(t){return t.test(this.token.text)?(this.consumeToken(),!0):!1},e.prototype._parseRegexp=function(t){var n=this.createNode(m.Identifier);do;while(this.acceptRegexp(t));return this.finish(n)},e.prototype.acceptUnquotedString=function(){var t=this.scanner.pos();this.scanner.goBackTo(this.token.offset);var n=this.scanner.scanUnquotedString();return n?(this.token=n,this.consumeToken(),!0):(this.scanner.goBackTo(t),!1)},e.prototype.resync=function(t,n){for(;;){if(t&&t.indexOf(this.token.type)!==-1)return this.consumeToken(),!0;if(n&&n.indexOf(this.token.type)!==-1)return!0;if(this.token.type===u.EOF)return!1;this.token=this.scanner.scan()}},e.prototype.createNode=function(t){return new L(this.token.offset,this.token.len,t)},e.prototype.create=function(t){return new t(this.token.offset,this.token.len)},e.prototype.finish=function(t,n,r,i){if(!(t instanceof pe)&&(n&&this.markError(t,n,r,i),this.prevToken)){var a=this.prevToken.offset+this.prevToken.len;t.length=a>t.offset?a-t.offset:0}return t},e.prototype.markError=function(t,n,r,i){this.token!==this.lastErrorToken&&(t.addIssue(new ps(t,n,Ce.Error,void 0,this.token.offset,this.token.len)),this.lastErrorToken=this.token),(r||i)&&this.resync(r,i)},e.prototype.parseStylesheet=function(t){var n=t.version,r=t.getText(),i=function(a,o){if(t.version!==n)throw new Error(\"Underlying model has changed, AST is no longer valid\");return r.substr(a,o)};return this.internalParse(r,this._parseStylesheet,i)},e.prototype.internalParse=function(t,n,r){this.scanner.setSource(t),this.token=this.scanner.scan();var i=n.bind(this)();return i&&(r?i.textProvider=r:i.textProvider=function(a,o){return t.substr(a,o)}),i},e.prototype._parseStylesheet=function(){for(var t=this.create(zc);t.addChild(this._parseStylesheetStart()););var n=!1;do{var r=!1;do{r=!1;var i=this._parseStylesheetStatement();for(i&&(t.addChild(i),r=!0,n=!1,!this.peek(u.EOF)&&this._needsSemicolonAfter(i)&&!this.accept(u.SemiColon)&&this.markError(t,v.SemiColonExpected));this.accept(u.SemiColon)||this.accept(u.CDO)||this.accept(u.CDC);)r=!0,n=!1}while(r);if(this.peek(u.EOF))break;n||(this.peek(u.AtKeyword)?this.markError(t,v.UnknownAtRule):this.markError(t,v.RuleOrSelectorExpected),n=!0),this.consumeToken()}while(!this.peek(u.EOF));return this.finish(t)},e.prototype._parseStylesheetStart=function(){return this._parseCharset()},e.prototype._parseStylesheetStatement=function(t){return t===void 0&&(t=!1),this.peek(u.AtKeyword)?this._parseStylesheetAtStatement(t):this._parseRuleset(t)},e.prototype._parseStylesheetAtStatement=function(t){return t===void 0&&(t=!1),this._parseImport()||this._parseMedia(t)||this._parsePage()||this._parseFontFace()||this._parseKeyframe()||this._parseSupports(t)||this._parseViewPort()||this._parseNamespace()||this._parseDocument()||this._parseUnknownAtRule()},e.prototype._tryParseRuleset=function(t){var n=this.mark();if(this._parseSelector(t)){for(;this.accept(u.Comma)&&this._parseSelector(t););if(this.accept(u.CurlyL))return this.restoreAtMark(n),this._parseRuleset(t)}return this.restoreAtMark(n),null},e.prototype._parseRuleset=function(t){t===void 0&&(t=!1);var n=this.create(kt),r=n.getSelectors();if(!r.addChild(this._parseSelector(t)))return null;for(;this.accept(u.Comma);)if(!r.addChild(this._parseSelector(t)))return this.finish(n,v.SelectorExpected);return this._parseBody(n,this._parseRuleSetDeclaration.bind(this))},e.prototype._parseRuleSetDeclarationAtStatement=function(){return this._parseUnknownAtRule()},e.prototype._parseRuleSetDeclaration=function(){return this.peek(u.AtKeyword)?this._parseRuleSetDeclarationAtStatement():this._parseDeclaration()},e.prototype._needsSemicolonAfter=function(t){switch(t.type){case m.Keyframe:case m.ViewPort:case m.Media:case m.Ruleset:case m.Namespace:case m.If:case m.For:case m.Each:case m.While:case m.MixinDeclaration:case m.FunctionDeclaration:case m.MixinContentDeclaration:return!1;case m.ExtendsReference:case m.MixinContentReference:case m.ReturnStatement:case m.MediaQuery:case m.Debug:case m.Import:case m.AtApplyRule:case m.CustomPropertyDeclaration:return!0;case m.VariableDeclaration:return t.needsSemicolon;case m.MixinReference:return!t.getContent();case m.Declaration:return!t.getNestedProperties()}return!1},e.prototype._parseDeclarations=function(t){var n=this.create(Rr);if(!this.accept(u.CurlyL))return null;for(var r=t();n.addChild(r)&&!this.peek(u.CurlyR);){if(this._needsSemicolonAfter(r)&&!this.accept(u.SemiColon))return this.finish(n,v.SemiColonExpected,[u.SemiColon,u.CurlyR]);for(r&&this.prevToken&&this.prevToken.type===u.SemiColon&&(r.semicolonPosition=this.prevToken.offset);this.accept(u.SemiColon););r=t()}return this.accept(u.CurlyR)?this.finish(n):this.finish(n,v.RightCurlyExpected,[u.CurlyR,u.SemiColon])},e.prototype._parseBody=function(t,n){return t.setDeclarations(this._parseDeclarations(n))?this.finish(t):this.finish(t,v.LeftCurlyExpected,[u.CurlyR,u.SemiColon])},e.prototype._parseSelector=function(t){var n=this.create(Bt),r=!1;for(t&&(r=n.addChild(this._parseCombinator()));n.addChild(this._parseSimpleSelector());)r=!0,n.addChild(this._parseCombinator());return r?this.finish(n):null},e.prototype._parseDeclaration=function(t){var n=this._tryParseCustomPropertyDeclaration(t);if(n)return n;var r=this.create(Oe);return r.setProperty(this._parseProperty())?this.accept(u.Colon)?(this.prevToken&&(r.colonPosition=this.prevToken.offset),r.setValue(this._parseExpr())?(r.addChild(this._parsePrio()),this.peek(u.SemiColon)&&(r.semicolonPosition=this.token.offset),this.finish(r)):this.finish(r,v.PropertyValueExpected)):this.finish(r,v.ColonExpected,[u.Colon],t||[u.SemiColon]):null},e.prototype._tryParseCustomPropertyDeclaration=function(t){if(!this.peekRegExp(u.Ident,/^--/))return null;var n=this.create(Nc);if(!n.setProperty(this._parseProperty()))return null;if(!this.accept(u.Colon))return this.finish(n,v.ColonExpected,[u.Colon]);this.prevToken&&(n.colonPosition=this.prevToken.offset);var r=this.mark();if(this.peek(u.CurlyL)){var i=this.create(Mc),a=this._parseDeclarations(this._parseRuleSetDeclaration.bind(this));if(i.setDeclarations(a)&&!a.isErroneous(!0)&&(i.addChild(this._parsePrio()),this.peek(u.SemiColon)))return this.finish(i),n.setPropertySet(i),n.semicolonPosition=this.token.offset,this.finish(n);this.restoreAtMark(r)}var o=this._parseExpr();return o&&!o.isErroneous(!0)&&(this._parsePrio(),this.peekOne.apply(this,oo(oo([],t||[],!1),[u.SemiColon,u.EOF],!1)))?(n.setValue(o),this.peek(u.SemiColon)&&(n.semicolonPosition=this.token.offset),this.finish(n)):(this.restoreAtMark(r),n.addChild(this._parseCustomPropertyValue(t)),n.addChild(this._parsePrio()),Ae(n.colonPosition)&&this.token.offset===n.colonPosition+1?this.finish(n,v.PropertyValueExpected):this.finish(n))},e.prototype._parseCustomPropertyValue=function(t){var n=this;t===void 0&&(t=[u.CurlyR]);var r=this.create(L),i=function(){return o===0&&l===0&&h===0},a=function(){return t.indexOf(n.token.type)!==-1},o=0,l=0,h=0;e:for(;;){switch(this.token.type){case u.SemiColon:if(i())break e;break;case u.Exclamation:if(i())break e;break;case u.CurlyL:o++;break;case u.CurlyR:if(o--,o<0){if(a()&&l===0&&h===0)break e;return this.finish(r,v.LeftCurlyExpected)}break;case u.ParenthesisL:l++;break;case u.ParenthesisR:if(l--,l<0){if(a()&&h===0&&o===0)break e;return this.finish(r,v.LeftParenthesisExpected)}break;case u.BracketL:h++;break;case u.BracketR:if(h--,h<0)return this.finish(r,v.LeftSquareBracketExpected);break;case u.BadString:break e;case u.EOF:var c=v.RightCurlyExpected;return h>0?c=v.RightSquareBracketExpected:l>0&&(c=v.RightParenthesisExpected),this.finish(r,c)}this.consumeToken()}return this.finish(r)},e.prototype._tryToParseDeclaration=function(t){var n=this.mark();return this._parseProperty()&&this.accept(u.Colon)?(this.restoreAtMark(n),this._parseDeclaration(t)):(this.restoreAtMark(n),null)},e.prototype._parseProperty=function(){var t=this.create(zr),n=this.mark();return(this.acceptDelim(\"*\")||this.acceptDelim(\"_\"))&&this.hasWhitespace()?(this.restoreAtMark(n),null):t.setIdentifier(this._parsePropertyIdentifier())?this.finish(t):null},e.prototype._parsePropertyIdentifier=function(){return this._parseIdent()},e.prototype._parseCharset=function(){if(!this.peek(u.Charset))return null;var t=this.create(L);return this.consumeToken(),this.accept(u.String)?this.accept(u.SemiColon)?this.finish(t):this.finish(t,v.SemiColonExpected):this.finish(t,v.IdentifierExpected)},e.prototype._parseImport=function(){if(!this.peekKeyword(\"@import\"))return null;var t=this.create(Mr);return this.consumeToken(),!t.addChild(this._parseURILiteral())&&!t.addChild(this._parseStringLiteral())?this.finish(t,v.URIOrStringExpected):(!this.peek(u.SemiColon)&&!this.peek(u.EOF)&&t.setMedialist(this._parseMediaQueryList()),this.finish(t))},e.prototype._parseNamespace=function(){if(!this.peekKeyword(\"@namespace\"))return null;var t=this.create($c);return this.consumeToken(),!t.addChild(this._parseURILiteral())&&(t.addChild(this._parseIdent()),!t.addChild(this._parseURILiteral())&&!t.addChild(this._parseStringLiteral()))?this.finish(t,v.URIExpected,[u.SemiColon]):this.accept(u.SemiColon)?this.finish(t):this.finish(t,v.SemiColonExpected)},e.prototype._parseFontFace=function(){if(!this.peekKeyword(\"@font-face\"))return null;var t=this.create(rs);return this.consumeToken(),this._parseBody(t,this._parseRuleSetDeclaration.bind(this))},e.prototype._parseViewPort=function(){if(!this.peekKeyword(\"@-ms-viewport\")&&!this.peekKeyword(\"@-o-viewport\")&&!this.peekKeyword(\"@viewport\"))return null;var t=this.create(Vc);return this.consumeToken(),this._parseBody(t,this._parseRuleSetDeclaration.bind(this))},e.prototype._parseKeyframe=function(){if(!this.peekRegExp(u.AtKeyword,this.keyframeRegex))return null;var t=this.create(as),n=this.create(L);return this.consumeToken(),t.setKeyword(this.finish(n)),n.matches(\"@-ms-keyframes\")&&this.markError(n,v.UnknownKeyword),t.setIdentifier(this._parseKeyframeIdent())?this._parseBody(t,this._parseKeyframeSelector.bind(this)):this.finish(t,v.IdentifierExpected,[u.CurlyR])},e.prototype._parseKeyframeIdent=function(){return this._parseIdent([G.Keyframe])},e.prototype._parseKeyframeSelector=function(){var t=this.create(ss);if(!t.addChild(this._parseIdent())&&!this.accept(u.Percentage))return null;for(;this.accept(u.Comma);)if(!t.addChild(this._parseIdent())&&!this.accept(u.Percentage))return this.finish(t,v.PercentageExpected);return this._parseBody(t,this._parseRuleSetDeclaration.bind(this))},e.prototype._tryParseKeyframeSelector=function(){var t=this.create(ss),n=this.mark();if(!t.addChild(this._parseIdent())&&!this.accept(u.Percentage))return null;for(;this.accept(u.Comma);)if(!t.addChild(this._parseIdent())&&!this.accept(u.Percentage))return this.restoreAtMark(n),null;return this.peek(u.CurlyL)?this._parseBody(t,this._parseRuleSetDeclaration.bind(this)):(this.restoreAtMark(n),null)},e.prototype._parseSupports=function(t){if(t===void 0&&(t=!1),!this.peekKeyword(\"@supports\"))return null;var n=this.create(Nr);return this.consumeToken(),n.addChild(this._parseSupportsCondition()),this._parseBody(n,this._parseSupportsDeclaration.bind(this,t))},e.prototype._parseSupportsDeclaration=function(t){return t===void 0&&(t=!1),t?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)},e.prototype._parseSupportsCondition=function(){var t=this.create(qt);if(this.acceptIdent(\"not\"))t.addChild(this._parseSupportsConditionInParens());else if(t.addChild(this._parseSupportsConditionInParens()),this.peekRegExp(u.Ident,/^(and|or)$/i))for(var n=this.token.text.toLowerCase();this.acceptIdent(n);)t.addChild(this._parseSupportsConditionInParens());return this.finish(t)},e.prototype._parseSupportsConditionInParens=function(){var t=this.create(qt);if(this.accept(u.ParenthesisL))return this.prevToken&&(t.lParent=this.prevToken.offset),!t.addChild(this._tryToParseDeclaration([u.ParenthesisR]))&&!this._parseSupportsCondition()?this.finish(t,v.ConditionExpected):this.accept(u.ParenthesisR)?(this.prevToken&&(t.rParent=this.prevToken.offset),this.finish(t)):this.finish(t,v.RightParenthesisExpected,[u.ParenthesisR],[]);if(this.peek(u.Ident)){var n=this.mark();if(this.consumeToken(),!this.hasWhitespace()&&this.accept(u.ParenthesisL)){for(var r=1;this.token.type!==u.EOF&&r!==0;)this.token.type===u.ParenthesisL?r++:this.token.type===u.ParenthesisR&&r--,this.consumeToken();return this.finish(t)}else this.restoreAtMark(n)}return this.finish(t,v.LeftParenthesisExpected,[],[u.ParenthesisL])},e.prototype._parseMediaDeclaration=function(t){return t===void 0&&(t=!1),t?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)},e.prototype._parseMedia=function(t){if(t===void 0&&(t=!1),!this.peekKeyword(\"@media\"))return null;var n=this.create(os);return this.consumeToken(),n.addChild(this._parseMediaQueryList())?this._parseBody(n,this._parseMediaDeclaration.bind(this,t)):this.finish(n,v.MediaQueryExpected)},e.prototype._parseMediaQueryList=function(){var t=this.create(ls);if(!t.addChild(this._parseMediaQuery()))return this.finish(t,v.MediaQueryExpected);for(;this.accept(u.Comma);)if(!t.addChild(this._parseMediaQuery()))return this.finish(t,v.MediaQueryExpected);return this.finish(t)},e.prototype._parseMediaQuery=function(){var t=this.create(cs),n=this.mark();if(this.acceptIdent(\"not\"),this.peek(u.ParenthesisL))this.restoreAtMark(n),t.addChild(this._parseMediaCondition());else{if(this.acceptIdent(\"only\"),!t.addChild(this._parseIdent()))return null;this.acceptIdent(\"and\")&&t.addChild(this._parseMediaCondition())}return this.finish(t)},e.prototype._parseRatio=function(){var t=this.mark(),n=this.create(Qc);return this._parseNumeric()?this.acceptDelim(\"/\")?this._parseNumeric()?this.finish(n):this.finish(n,v.NumberExpected):(this.restoreAtMark(t),null):null},e.prototype._parseMediaCondition=function(){var t=this.create(Gc);this.acceptIdent(\"not\");for(var n=!0;n;){if(!this.accept(u.ParenthesisL))return this.finish(t,v.LeftParenthesisExpected,[],[u.CurlyL]);if(this.peek(u.ParenthesisL)||this.peekIdent(\"not\")?t.addChild(this._parseMediaCondition()):t.addChild(this._parseMediaFeature()),!this.accept(u.ParenthesisR))return this.finish(t,v.RightParenthesisExpected,[],[u.CurlyL]);n=this.acceptIdent(\"and\")||this.acceptIdent(\"or\")}return this.finish(t)},e.prototype._parseMediaFeature=function(){var t=this,n=[u.ParenthesisR],r=this.create(Jc),i=function(){return t.acceptDelim(\"<\")||t.acceptDelim(\">\")?(t.hasWhitespace()||t.acceptDelim(\"=\"),!0):!!t.acceptDelim(\"=\")};if(r.addChild(this._parseMediaFeatureName())){if(this.accept(u.Colon)){if(!r.addChild(this._parseMediaFeatureValue()))return this.finish(r,v.TermExpected,[],n)}else if(i()){if(!r.addChild(this._parseMediaFeatureValue()))return this.finish(r,v.TermExpected,[],n);if(i()&&!r.addChild(this._parseMediaFeatureValue()))return this.finish(r,v.TermExpected,[],n)}}else if(r.addChild(this._parseMediaFeatureValue())){if(!i())return this.finish(r,v.OperatorExpected,[],n);if(!r.addChild(this._parseMediaFeatureName()))return this.finish(r,v.IdentifierExpected,[],n);if(i()&&!r.addChild(this._parseMediaFeatureValue()))return this.finish(r,v.TermExpected,[],n)}else return this.finish(r,v.IdentifierExpected,[],n);return this.finish(r)},e.prototype._parseMediaFeatureName=function(){return this._parseIdent()},e.prototype._parseMediaFeatureValue=function(){return this._parseRatio()||this._parseTermExpression()},e.prototype._parseMedium=function(){var t=this.create(L);return t.addChild(this._parseIdent())?this.finish(t):null},e.prototype._parsePageDeclaration=function(){return this._parsePageMarginBox()||this._parseRuleSetDeclaration()},e.prototype._parsePage=function(){if(!this.peekKeyword(\"@page\"))return null;var t=this.create(Xc);if(this.consumeToken(),t.addChild(this._parsePageSelector())){for(;this.accept(u.Comma);)if(!t.addChild(this._parsePageSelector()))return this.finish(t,v.IdentifierExpected)}return this._parseBody(t,this._parsePageDeclaration.bind(this))},e.prototype._parsePageMarginBox=function(){if(!this.peek(u.AtKeyword))return null;var t=this.create(Yc);return this.acceptOneKeyword(Dh)||this.markError(t,v.UnknownAtRule,[],[u.CurlyL]),this._parseBody(t,this._parseRuleSetDeclaration.bind(this))},e.prototype._parsePageSelector=function(){if(!this.peek(u.Ident)&&!this.peek(u.Colon))return null;var t=this.create(L);return t.addChild(this._parseIdent()),this.accept(u.Colon)&&!t.addChild(this._parseIdent())?this.finish(t,v.IdentifierExpected):this.finish(t)},e.prototype._parseDocument=function(){if(!this.peekKeyword(\"@-moz-document\"))return null;var t=this.create(Hc);return this.consumeToken(),this.resync([],[u.CurlyL]),this._parseBody(t,this._parseStylesheetStatement.bind(this))},e.prototype._parseUnknownAtRule=function(){if(!this.peek(u.AtKeyword))return null;var t=this.create(ds);t.addChild(this._parseUnknownAtRuleName());var n=function(){return i===0&&a===0&&o===0},r=0,i=0,a=0,o=0;e:for(;;){switch(this.token.type){case u.SemiColon:if(n())break e;break;case u.EOF:return i>0?this.finish(t,v.RightCurlyExpected):o>0?this.finish(t,v.RightSquareBracketExpected):a>0?this.finish(t,v.RightParenthesisExpected):this.finish(t);case u.CurlyL:r++,i++;break;case u.CurlyR:if(i--,r>0&&i===0){if(this.consumeToken(),o>0)return this.finish(t,v.RightSquareBracketExpected);if(a>0)return this.finish(t,v.RightParenthesisExpected);break e}if(i<0){if(a===0&&o===0)break e;return this.finish(t,v.LeftCurlyExpected)}break;case u.ParenthesisL:a++;break;case u.ParenthesisR:if(a--,a<0)return this.finish(t,v.LeftParenthesisExpected);break;case u.BracketL:o++;break;case u.BracketR:if(o--,o<0)return this.finish(t,v.LeftSquareBracketExpected);break}this.consumeToken()}return t},e.prototype._parseUnknownAtRuleName=function(){var t=this.create(L);return this.accept(u.AtKeyword)?this.finish(t):t},e.prototype._parseOperator=function(){if(this.peekDelim(\"/\")||this.peekDelim(\"*\")||this.peekDelim(\"+\")||this.peekDelim(\"-\")||this.peek(u.Dashmatch)||this.peek(u.Includes)||this.peek(u.SubstringOperator)||this.peek(u.PrefixOperator)||this.peek(u.SuffixOperator)||this.peekDelim(\"=\")){var t=this.createNode(m.Operator);return this.consumeToken(),this.finish(t)}else return null},e.prototype._parseUnaryOperator=function(){if(!this.peekDelim(\"+\")&&!this.peekDelim(\"-\"))return null;var t=this.create(L);return this.consumeToken(),this.finish(t)},e.prototype._parseCombinator=function(){if(this.peekDelim(\">\")){var t=this.create(L);this.consumeToken();var n=this.mark();if(!this.hasWhitespace()&&this.acceptDelim(\">\")){if(!this.hasWhitespace()&&this.acceptDelim(\">\"))return t.type=m.SelectorCombinatorShadowPiercingDescendant,this.finish(t);this.restoreAtMark(n)}return t.type=m.SelectorCombinatorParent,this.finish(t)}else if(this.peekDelim(\"+\")){var t=this.create(L);return this.consumeToken(),t.type=m.SelectorCombinatorSibling,this.finish(t)}else if(this.peekDelim(\"~\")){var t=this.create(L);return this.consumeToken(),t.type=m.SelectorCombinatorAllSiblings,this.finish(t)}else if(this.peekDelim(\"/\")){var t=this.create(L);this.consumeToken();var n=this.mark();if(!this.hasWhitespace()&&this.acceptIdent(\"deep\")&&!this.hasWhitespace()&&this.acceptDelim(\"/\"))return t.type=m.SelectorCombinatorShadowPiercingDescendant,this.finish(t);this.restoreAtMark(n)}return null},e.prototype._parseSimpleSelector=function(){var t=this.create(Ft),n=0;for(t.addChild(this._parseElementName())&&n++;(n===0||!this.hasWhitespace())&&t.addChild(this._parseSimpleSelectorBody());)n++;return n>0?this.finish(t):null},e.prototype._parseSimpleSelectorBody=function(){return this._parsePseudo()||this._parseHash()||this._parseClass()||this._parseAttrib()},e.prototype._parseSelectorIdent=function(){return this._parseIdent()},e.prototype._parseHash=function(){if(!this.peek(u.Hash)&&!this.peekDelim(\"#\"))return null;var t=this.createNode(m.IdentifierSelector);if(this.acceptDelim(\"#\")){if(this.hasWhitespace()||!t.addChild(this._parseSelectorIdent()))return this.finish(t,v.IdentifierExpected)}else this.consumeToken();return this.finish(t)},e.prototype._parseClass=function(){if(!this.peekDelim(\".\"))return null;var t=this.createNode(m.ClassSelector);return this.consumeToken(),this.hasWhitespace()||!t.addChild(this._parseSelectorIdent())?this.finish(t,v.IdentifierExpected):this.finish(t)},e.prototype._parseElementName=function(){var t=this.mark(),n=this.createNode(m.ElementNameSelector);return n.addChild(this._parseNamespacePrefix()),!n.addChild(this._parseSelectorIdent())&&!this.acceptDelim(\"*\")?(this.restoreAtMark(t),null):this.finish(n)},e.prototype._parseNamespacePrefix=function(){var t=this.mark(),n=this.createNode(m.NamespacePrefix);return!n.addChild(this._parseIdent())&&this.acceptDelim(\"*\"),this.acceptDelim(\"|\")?this.finish(n):(this.restoreAtMark(t),null)},e.prototype._parseAttrib=function(){if(!this.peek(u.BracketL))return null;var t=this.create(Zc);return this.consumeToken(),t.setNamespacePrefix(this._parseNamespacePrefix()),t.setIdentifier(this._parseIdent())?(t.setOperator(this._parseOperator())&&(t.setValue(this._parseBinaryExpr()),this.acceptIdent(\"i\"),this.acceptIdent(\"s\")),this.accept(u.BracketR)?this.finish(t):this.finish(t,v.RightSquareBracketExpected)):this.finish(t,v.IdentifierExpected)},e.prototype._parsePseudo=function(){var t=this,n=this._tryParsePseudoIdentifier();if(n){if(!this.hasWhitespace()&&this.accept(u.ParenthesisL)){var r=function(){var i=t.create(L);if(!i.addChild(t._parseSelector(!1)))return null;for(;t.accept(u.Comma)&&i.addChild(t._parseSelector(!1)););return t.peek(u.ParenthesisR)?t.finish(i):null};if(n.addChild(this.try(r)||this._parseBinaryExpr()),!this.accept(u.ParenthesisR))return this.finish(n,v.RightParenthesisExpected)}return this.finish(n)}return null},e.prototype._tryParsePseudoIdentifier=function(){if(!this.peek(u.Colon))return null;var t=this.mark(),n=this.createNode(m.PseudoSelector);return this.consumeToken(),this.hasWhitespace()?(this.restoreAtMark(t),null):(this.accept(u.Colon),this.hasWhitespace()||!n.addChild(this._parseIdent())?this.finish(n,v.IdentifierExpected):this.finish(n))},e.prototype._tryParsePrio=function(){var t=this.mark(),n=this._parsePrio();return n||(this.restoreAtMark(t),null)},e.prototype._parsePrio=function(){if(!this.peek(u.Exclamation))return null;var t=this.createNode(m.Prio);return this.accept(u.Exclamation)&&this.acceptIdent(\"important\")?this.finish(t):null},e.prototype._parseExpr=function(t){t===void 0&&(t=!1);var n=this.create(hs);if(!n.addChild(this._parseBinaryExpr()))return null;for(;;){if(this.peek(u.Comma)){if(t)return this.finish(n);this.consumeToken()}if(!n.addChild(this._parseBinaryExpr()))break}return this.finish(n)},e.prototype._parseNamedLine=function(){if(!this.peek(u.BracketL))return null;var t=this.createNode(m.GridLine);for(this.consumeToken();t.addChild(this._parseIdent()););return this.accept(u.BracketR)?this.finish(t):this.finish(t,v.RightSquareBracketExpected)},e.prototype._parseBinaryExpr=function(t,n){var r=this.create(Pr);if(!r.setLeft(t||this._parseTerm()))return null;if(!r.setOperator(n||this._parseOperator()))return this.finish(r);if(!r.setRight(this._parseTerm()))return this.finish(r,v.TermExpected);r=this.finish(r);var i=this._parseOperator();return i&&(r=this._parseBinaryExpr(r,i)),this.finish(r)},e.prototype._parseTerm=function(){var t=this.create(Kc);return t.setOperator(this._parseUnaryOperator()),t.setExpression(this._parseTermExpression())?this.finish(t):null},e.prototype._parseTermExpression=function(){return this._parseURILiteral()||this._parseFunction()||this._parseIdent()||this._parseStringLiteral()||this._parseNumeric()||this._parseHexColor()||this._parseOperation()||this._parseNamedLine()},e.prototype._parseOperation=function(){if(!this.peek(u.ParenthesisL))return null;var t=this.create(L);return this.consumeToken(),t.addChild(this._parseExpr()),this.accept(u.ParenthesisR)?this.finish(t):this.finish(t,v.RightParenthesisExpected)},e.prototype._parseNumeric=function(){if(this.peek(u.Num)||this.peek(u.Percentage)||this.peek(u.Resolution)||this.peek(u.Length)||this.peek(u.EMS)||this.peek(u.EXS)||this.peek(u.Angle)||this.peek(u.Time)||this.peek(u.Dimension)||this.peek(u.Freq)){var t=this.create(Lr);return this.consumeToken(),this.finish(t)}return null},e.prototype._parseStringLiteral=function(){if(!this.peek(u.String)&&!this.peek(u.BadString))return null;var t=this.createNode(m.StringLiteral);return this.consumeToken(),this.finish(t)},e.prototype._parseURILiteral=function(){if(!this.peekRegExp(u.Ident,/^url(-prefix)?$/i))return null;var t=this.mark(),n=this.createNode(m.URILiteral);return this.accept(u.Ident),this.hasWhitespace()||!this.peek(u.ParenthesisL)?(this.restoreAtMark(t),null):(this.scanner.inURL=!0,this.consumeToken(),n.addChild(this._parseURLArgument()),this.scanner.inURL=!1,this.accept(u.ParenthesisR)?this.finish(n):this.finish(n,v.RightParenthesisExpected))},e.prototype._parseURLArgument=function(){var t=this.create(L);return!this.accept(u.String)&&!this.accept(u.BadString)&&!this.acceptUnquotedString()?null:this.finish(t)},e.prototype._parseIdent=function(t){if(!this.peek(u.Ident))return null;var n=this.create(Ee);return t&&(n.referenceTypes=t),n.isCustomProperty=this.peekRegExp(u.Ident,/^--/),this.consumeToken(),this.finish(n)},e.prototype._parseFunction=function(){var t=this.mark(),n=this.create(jt);if(!n.setIdentifier(this._parseFunctionIdentifier()))return null;if(this.hasWhitespace()||!this.accept(u.ParenthesisL))return this.restoreAtMark(t),null;if(n.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(u.Comma)&&!this.peek(u.ParenthesisR);)n.getArguments().addChild(this._parseFunctionArgument())||this.markError(n,v.ExpressionExpected);return this.accept(u.ParenthesisR)?this.finish(n):this.finish(n,v.RightParenthesisExpected)},e.prototype._parseFunctionIdentifier=function(){if(!this.peek(u.Ident))return null;var t=this.create(Ee);if(t.referenceTypes=[G.Function],this.acceptIdent(\"progid\")){if(this.accept(u.Colon))for(;this.accept(u.Ident)&&this.acceptDelim(\".\"););return this.finish(t)}return this.consumeToken(),this.finish(t)},e.prototype._parseFunctionArgument=function(){var t=this.create(_t);return t.setValue(this._parseExpr(!0))?this.finish(t):null},e.prototype._parseHexColor=function(){if(this.peekRegExp(u.Hash,/^#([A-Fa-f0-9]{3}|[A-Fa-f0-9]{4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/g)){var t=this.create(Ir);return this.consumeToken(),this.finish(t)}else return null},e}();function Eh(e,t){var n=0,r=e.length;if(r===0)return 0;for(;n<r;){var i=Math.floor((n+r)/2);t(e[i])?r=i:n=i+1}return n}function lo(e,t){return e.indexOf(t)!==-1}function Tn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],r=0,i=e;r<i.length;r++)for(var a=i[r],o=0,l=a;o<l.length;o++){var h=l[o];lo(n,h)||n.push(h)}return n}var Rh=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])},e(t,n)};return function(t,n){if(typeof n!=\"function\"&&n!==null)throw new TypeError(\"Class extends value \"+String(n)+\" is not a constructor or null\");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),co=function(){function e(t,n){this.offset=t,this.length=n,this.symbols=[],this.parent=null,this.children=[]}return e.prototype.addChild=function(t){this.children.push(t),t.setParent(this)},e.prototype.setParent=function(t){this.parent=t},e.prototype.findScope=function(t,n){return n===void 0&&(n=0),this.offset<=t&&this.offset+this.length>t+n||this.offset===t&&this.length===n?this.findInScope(t,n):null},e.prototype.findInScope=function(t,n){n===void 0&&(n=0);var r=t+n,i=Eh(this.children,function(o){return o.offset>r});if(i===0)return this;var a=this.children[i-1];return a.offset<=t&&a.offset+a.length>=t+n?a.findInScope(t,n):this},e.prototype.addSymbol=function(t){this.symbols.push(t)},e.prototype.getSymbol=function(t,n){for(var r=0;r<this.symbols.length;r++){var i=this.symbols[r];if(i.name===t&&i.type===n)return i}return null},e.prototype.getSymbols=function(){return this.symbols},e}(),Ah=function(e){Rh(t,e);function t(){return e.call(this,0,Number.MAX_VALUE)||this}return t}(co),Wn=function(){function e(t,n,r,i){this.name=t,this.value=n,this.node=r,this.type=i}return e}(),zh=function(){function e(t){this.scope=t}return e.prototype.addSymbol=function(t,n,r,i){if(t.offset!==-1){var a=this.scope.findScope(t.offset,t.length);a&&a.addSymbol(new Wn(n,r,t,i))}},e.prototype.addScope=function(t){if(t.offset!==-1){var n=this.scope.findScope(t.offset,t.length);if(n&&(n.offset!==t.offset||n.length!==t.length)){var r=new co(t.offset,t.length);return n.addChild(r),r}return n}return null},e.prototype.addSymbolToChildScope=function(t,n,r,i,a){if(t&&t.offset!==-1){var o=this.addScope(t);o&&o.addSymbol(new Wn(r,i,n,a))}},e.prototype.visitNode=function(t){switch(t.type){case m.Keyframe:return this.addSymbol(t,t.getName(),void 0,G.Keyframe),!0;case m.CustomPropertyDeclaration:return this.visitCustomPropertyDeclarationNode(t);case m.VariableDeclaration:return this.visitVariableDeclarationNode(t);case m.Ruleset:return this.visitRuleSet(t);case m.MixinDeclaration:return this.addSymbol(t,t.getName(),void 0,G.Mixin),!0;case m.FunctionDeclaration:return this.addSymbol(t,t.getName(),void 0,G.Function),!0;case m.FunctionParameter:return this.visitFunctionParameterNode(t);case m.Declarations:return this.addScope(t),!0;case m.For:var n=t,r=n.getDeclarations();return r&&n.variable&&this.addSymbolToChildScope(r,n.variable,n.variable.getName(),void 0,G.Variable),!0;case m.Each:{var i=t,a=i.getDeclarations();if(a)for(var o=i.getVariables().getChildren(),l=0,h=o;l<h.length;l++){var c=h[l];this.addSymbolToChildScope(a,c,c.getName(),void 0,G.Variable)}return!0}}return!0},e.prototype.visitRuleSet=function(t){var n=this.scope.findScope(t.offset,t.length);if(n)for(var r=0,i=t.getSelectors().getChildren();r<i.length;r++){var a=i[r];a instanceof Bt&&a.getChildren().length===1&&n.addSymbol(new Wn(a.getChild(0).getText(),void 0,a,G.Rule))}return!0},e.prototype.visitVariableDeclarationNode=function(t){var n=t.getValue()?t.getValue().getText():void 0;return this.addSymbol(t,t.getName(),n,G.Variable),!0},e.prototype.visitFunctionParameterNode=function(t){var n=t.getParent().getDeclarations();if(n){var r=t.getDefaultValue(),i=r?r.getText():void 0;this.addSymbolToChildScope(n,t,t.getName(),i,G.Variable)}return!0},e.prototype.visitCustomPropertyDeclarationNode=function(t){var n=t.getValue()?t.getValue().getText():\"\";return this.addCSSVariable(t.getProperty(),t.getProperty().getName(),n,G.Variable),!0},e.prototype.addCSSVariable=function(t,n,r,i){t.offset!==-1&&this.scope.addSymbol(new Wn(n,r,t,i))},e}(),Xr=function(){function e(t){this.global=new Ah,t.acceptVisitor(new zh(this.global))}return e.prototype.findSymbolsAtOffset=function(t,n){for(var r=this.global.findScope(t,0),i=[],a={};r;){for(var o=r.getSymbols(),l=0;l<o.length;l++){var h=o[l];h.type===n&&!a[h.name]&&(i.push(h),a[h.name]=!0)}r=r.parent}return i},e.prototype.internalFindSymbol=function(t,n){var r=t;if(t.parent instanceof wn&&t.parent.getParent()instanceof ne&&(r=t.parent.getParent().getDeclarations()),t.parent instanceof _t&&t.parent.getParent()instanceof jt){var i=t.parent.getParent().getIdentifier();if(i){var a=this.internalFindSymbol(i,[G.Function]);a&&(r=a.node.getDeclarations())}}if(!r)return null;for(var o=t.getText(),l=this.global.findScope(r.offset,r.length);l;){for(var h=0;h<n.length;h++){var c=n[h],d=l.getSymbol(o,c);if(d)return d}l=l.parent}return null},e.prototype.evaluateReferenceTypes=function(t){if(t instanceof Ee){var n=t.referenceTypes;if(n)return n;if(t.isCustomProperty)return[G.Variable];var r=Ac(t);if(r){var i=r.getNonPrefixedPropertyName();if((i===\"animation\"||i===\"animation-name\")&&r.getValue()&&r.getValue().offset===t.offset)return[G.Keyframe]}}else if(t instanceof Wr)return[G.Variable];var a=t.findAParent(m.Selector,m.ExtendsReference);return a?[G.Rule]:null},e.prototype.findSymbolFromNode=function(t){if(!t)return null;for(;t.type===m.Interpolation;)t=t.getParent();var n=this.evaluateReferenceTypes(t);return n?this.internalFindSymbol(t,n):null},e.prototype.matchesSymbol=function(t,n){if(!t)return!1;for(;t.type===m.Interpolation;)t=t.getParent();if(!t.matches(n.name))return!1;var r=this.evaluateReferenceTypes(t);if(!r||r.indexOf(n.type)===-1)return!1;var i=this.internalFindSymbol(t,r);return i===n},e.prototype.findSymbol=function(t,n,r){for(var i=this.global.findScope(r);i;){var a=i.getSymbol(t,n);if(a)return a;i=i.parent}return null},e}(),ho;ho=(()=>{var e={470:r=>{function i(l){if(typeof l!=\"string\")throw new TypeError(\"Path must be a string. Received \"+JSON.stringify(l))}function a(l,h){for(var c,d=\"\",p=0,f=-1,g=0,w=0;w<=l.length;++w){if(w<l.length)c=l.charCodeAt(w);else{if(c===47)break;c=47}if(c===47){if(!(f===w-1||g===1))if(f!==w-1&&g===2){if(d.length<2||p!==2||d.charCodeAt(d.length-1)!==46||d.charCodeAt(d.length-2)!==46){if(d.length>2){var b=d.lastIndexOf(\"/\");if(b!==d.length-1){b===-1?(d=\"\",p=0):p=(d=d.slice(0,b)).length-1-d.lastIndexOf(\"/\"),f=w,g=0;continue}}else if(d.length===2||d.length===1){d=\"\",p=0,f=w,g=0;continue}}h&&(d.length>0?d+=\"/..\":d=\"..\",p=2)}else d.length>0?d+=\"/\"+l.slice(f+1,w):d=l.slice(f+1,w),p=w-f-1;f=w,g=0}else c===46&&g!==-1?++g:g=-1}return d}var o={resolve:function(){for(var l,h=\"\",c=!1,d=arguments.length-1;d>=-1&&!c;d--){var p;d>=0?p=arguments[d]:(l===void 0&&(l=process.cwd()),p=l),i(p),p.length!==0&&(h=p+\"/\"+h,c=p.charCodeAt(0)===47)}return h=a(h,!c),c?h.length>0?\"/\"+h:\"/\":h.length>0?h:\".\"},normalize:function(l){if(i(l),l.length===0)return\".\";var h=l.charCodeAt(0)===47,c=l.charCodeAt(l.length-1)===47;return(l=a(l,!h)).length!==0||h||(l=\".\"),l.length>0&&c&&(l+=\"/\"),h?\"/\"+l:l},isAbsolute:function(l){return i(l),l.length>0&&l.charCodeAt(0)===47},join:function(){if(arguments.length===0)return\".\";for(var l,h=0;h<arguments.length;++h){var c=arguments[h];i(c),c.length>0&&(l===void 0?l=c:l+=\"/\"+c)}return l===void 0?\".\":o.normalize(l)},relative:function(l,h){if(i(l),i(h),l===h||(l=o.resolve(l))===(h=o.resolve(h)))return\"\";for(var c=1;c<l.length&&l.charCodeAt(c)===47;++c);for(var d=l.length,p=d-c,f=1;f<h.length&&h.charCodeAt(f)===47;++f);for(var g=h.length-f,w=p<g?p:g,b=-1,y=0;y<=w;++y){if(y===w){if(g>w){if(h.charCodeAt(f+y)===47)return h.slice(f+y+1);if(y===0)return h.slice(f+y)}else p>w&&(l.charCodeAt(c+y)===47?b=y:y===0&&(b=0));break}var A=l.charCodeAt(c+y);if(A!==h.charCodeAt(f+y))break;A===47&&(b=y)}var C=\"\";for(y=c+b+1;y<=d;++y)y!==d&&l.charCodeAt(y)!==47||(C.length===0?C+=\"..\":C+=\"/..\");return C.length>0?C+h.slice(f+b):(f+=b,h.charCodeAt(f)===47&&++f,h.slice(f))},_makeLong:function(l){return l},dirname:function(l){if(i(l),l.length===0)return\".\";for(var h=l.charCodeAt(0),c=h===47,d=-1,p=!0,f=l.length-1;f>=1;--f)if((h=l.charCodeAt(f))===47){if(!p){d=f;break}}else p=!1;return d===-1?c?\"/\":\".\":c&&d===1?\"//\":l.slice(0,d)},basename:function(l,h){if(h!==void 0&&typeof h!=\"string\")throw new TypeError('\"ext\" argument must be a string');i(l);var c,d=0,p=-1,f=!0;if(h!==void 0&&h.length>0&&h.length<=l.length){if(h.length===l.length&&h===l)return\"\";var g=h.length-1,w=-1;for(c=l.length-1;c>=0;--c){var b=l.charCodeAt(c);if(b===47){if(!f){d=c+1;break}}else w===-1&&(f=!1,w=c+1),g>=0&&(b===h.charCodeAt(g)?--g==-1&&(p=c):(g=-1,p=w))}return d===p?p=w:p===-1&&(p=l.length),l.slice(d,p)}for(c=l.length-1;c>=0;--c)if(l.charCodeAt(c)===47){if(!f){d=c+1;break}}else p===-1&&(f=!1,p=c+1);return p===-1?\"\":l.slice(d,p)},extname:function(l){i(l);for(var h=-1,c=0,d=-1,p=!0,f=0,g=l.length-1;g>=0;--g){var w=l.charCodeAt(g);if(w!==47)d===-1&&(p=!1,d=g+1),w===46?h===-1?h=g:f!==1&&(f=1):h!==-1&&(f=-1);else if(!p){c=g+1;break}}return h===-1||d===-1||f===0||f===1&&h===d-1&&h===c+1?\"\":l.slice(h,d)},format:function(l){if(l===null||typeof l!=\"object\")throw new TypeError('The \"pathObject\" argument must be of type Object. Received type '+typeof l);return function(h,c){var d=c.dir||c.root,p=c.base||(c.name||\"\")+(c.ext||\"\");return d?d===c.root?d+p:d+\"/\"+p:p}(0,l)},parse:function(l){i(l);var h={root:\"\",dir:\"\",base:\"\",ext:\"\",name:\"\"};if(l.length===0)return h;var c,d=l.charCodeAt(0),p=d===47;p?(h.root=\"/\",c=1):c=0;for(var f=-1,g=0,w=-1,b=!0,y=l.length-1,A=0;y>=c;--y)if((d=l.charCodeAt(y))!==47)w===-1&&(b=!1,w=y+1),d===46?f===-1?f=y:A!==1&&(A=1):f!==-1&&(A=-1);else if(!b){g=y+1;break}return f===-1||w===-1||A===0||A===1&&f===w-1&&f===g+1?w!==-1&&(h.base=h.name=g===0&&p?l.slice(1,w):l.slice(g,w)):(g===0&&p?(h.name=l.slice(1,f),h.base=l.slice(1,w)):(h.name=l.slice(g,f),h.base=l.slice(g,w)),h.ext=l.slice(f,w)),g>0?h.dir=l.slice(0,g-1):p&&(h.dir=\"/\"),h},sep:\"/\",delimiter:\":\",win32:null,posix:null};o.posix=o,r.exports=o},447:(r,i,a)=>{var o;if(a.r(i),a.d(i,{URI:()=>C,Utils:()=>ie}),typeof process==\"object\")o=process.platform===\"win32\";else if(typeof navigator==\"object\"){var l=navigator.userAgent;o=l.indexOf(\"Windows\")>=0}var h,c,d=(h=function(D,S){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,M){E.__proto__=M}||function(E,M){for(var $ in M)Object.prototype.hasOwnProperty.call(M,$)&&(E[$]=M[$])})(D,S)},function(D,S){if(typeof S!=\"function\"&&S!==null)throw new TypeError(\"Class extends value \"+String(S)+\" is not a constructor or null\");function E(){this.constructor=D}h(D,S),D.prototype=S===null?Object.create(S):(E.prototype=S.prototype,new E)}),p=/^\\w[\\w\\d+.-]*$/,f=/^\\//,g=/^\\/\\//;function w(D,S){if(!D.scheme&&S)throw new Error('[UriError]: Scheme is missing: {scheme: \"\", authority: \"'.concat(D.authority,'\", path: \"').concat(D.path,'\", query: \"').concat(D.query,'\", fragment: \"').concat(D.fragment,'\"}'));if(D.scheme&&!p.test(D.scheme))throw new Error(\"[UriError]: Scheme contains illegal characters.\");if(D.path){if(D.authority){if(!f.test(D.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(g.test(D.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters (\"//\")')}}var b=\"\",y=\"/\",A=/^(([^:/?#]+?):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/,C=function(){function D(S,E,M,$,H,Y){Y===void 0&&(Y=!1),typeof S==\"object\"?(this.scheme=S.scheme||b,this.authority=S.authority||b,this.path=S.path||b,this.query=S.query||b,this.fragment=S.fragment||b):(this.scheme=function(Ue,be){return Ue||be?Ue:\"file\"}(S,Y),this.authority=E||b,this.path=function(Ue,be){switch(Ue){case\"https\":case\"http\":case\"file\":be?be[0]!==y&&(be=y+be):be=y}return be}(this.scheme,M||b),this.query=$||b,this.fragment=H||b,w(this,Y))}return D.isUri=function(S){return S instanceof D||!!S&&typeof S.authority==\"string\"&&typeof S.fragment==\"string\"&&typeof S.path==\"string\"&&typeof S.query==\"string\"&&typeof S.scheme==\"string\"&&typeof S.fsPath==\"string\"&&typeof S.with==\"function\"&&typeof S.toString==\"function\"},Object.defineProperty(D.prototype,\"fsPath\",{get:function(){return z(this,!1)},enumerable:!1,configurable:!0}),D.prototype.with=function(S){if(!S)return this;var E=S.scheme,M=S.authority,$=S.path,H=S.query,Y=S.fragment;return E===void 0?E=this.scheme:E===null&&(E=b),M===void 0?M=this.authority:M===null&&(M=b),$===void 0?$=this.path:$===null&&($=b),H===void 0?H=this.query:H===null&&(H=b),Y===void 0?Y=this.fragment:Y===null&&(Y=b),E===this.scheme&&M===this.authority&&$===this.path&&H===this.query&&Y===this.fragment?this:new k(E,M,$,H,Y)},D.parse=function(S,E){E===void 0&&(E=!1);var M=A.exec(S);return M?new k(M[2]||b,V(M[4]||b),V(M[5]||b),V(M[7]||b),V(M[9]||b),E):new k(b,b,b,b,b)},D.file=function(S){var E=b;if(o&&(S=S.replace(/\\\\/g,y)),S[0]===y&&S[1]===y){var M=S.indexOf(y,2);M===-1?(E=S.substring(2),S=y):(E=S.substring(2,M),S=S.substring(M)||y)}return new k(\"file\",E,S,b,b)},D.from=function(S){var E=new k(S.scheme,S.authority,S.path,S.query,S.fragment);return w(E,!0),E},D.prototype.toString=function(S){return S===void 0&&(S=!1),T(this,S)},D.prototype.toJSON=function(){return this},D.revive=function(S){if(S){if(S instanceof D)return S;var E=new k(S);return E._formatted=S.external,E._fsPath=S._sep===R?S.fsPath:null,E}return S},D}(),R=o?1:void 0,k=function(D){function S(){var E=D!==null&&D.apply(this,arguments)||this;return E._formatted=null,E._fsPath=null,E}return d(S,D),Object.defineProperty(S.prototype,\"fsPath\",{get:function(){return this._fsPath||(this._fsPath=z(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),S.prototype.toString=function(E){return E===void 0&&(E=!1),E?T(this,!0):(this._formatted||(this._formatted=T(this,!1)),this._formatted)},S.prototype.toJSON=function(){var E={$mid:1};return this._fsPath&&(E.fsPath=this._fsPath,E._sep=R),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},S}(C),F=((c={})[58]=\"%3A\",c[47]=\"%2F\",c[63]=\"%3F\",c[35]=\"%23\",c[91]=\"%5B\",c[93]=\"%5D\",c[64]=\"%40\",c[33]=\"%21\",c[36]=\"%24\",c[38]=\"%26\",c[39]=\"%27\",c[40]=\"%28\",c[41]=\"%29\",c[42]=\"%2A\",c[43]=\"%2B\",c[44]=\"%2C\",c[59]=\"%3B\",c[61]=\"%3D\",c[32]=\"%20\",c);function P(D,S){for(var E=void 0,M=-1,$=0;$<D.length;$++){var H=D.charCodeAt($);if(H>=97&&H<=122||H>=65&&H<=90||H>=48&&H<=57||H===45||H===46||H===95||H===126||S&&H===47)M!==-1&&(E+=encodeURIComponent(D.substring(M,$)),M=-1),E!==void 0&&(E+=D.charAt($));else{E===void 0&&(E=D.substr(0,$));var Y=F[H];Y!==void 0?(M!==-1&&(E+=encodeURIComponent(D.substring(M,$)),M=-1),E+=Y):M===-1&&(M=$)}}return M!==-1&&(E+=encodeURIComponent(D.substring(M))),E!==void 0?E:D}function N(D){for(var S=void 0,E=0;E<D.length;E++){var M=D.charCodeAt(E);M===35||M===63?(S===void 0&&(S=D.substr(0,E)),S+=F[M]):S!==void 0&&(S+=D[E])}return S!==void 0?S:D}function z(D,S){var E;return E=D.authority&&D.path.length>1&&D.scheme===\"file\"?\"//\".concat(D.authority).concat(D.path):D.path.charCodeAt(0)===47&&(D.path.charCodeAt(1)>=65&&D.path.charCodeAt(1)<=90||D.path.charCodeAt(1)>=97&&D.path.charCodeAt(1)<=122)&&D.path.charCodeAt(2)===58?S?D.path.substr(1):D.path[1].toLowerCase()+D.path.substr(2):D.path,o&&(E=E.replace(/\\//g,\"\\\\\")),E}function T(D,S){var E=S?N:P,M=\"\",$=D.scheme,H=D.authority,Y=D.path,Ue=D.query,be=D.fragment;if($&&(M+=$,M+=\":\"),(H||$===\"file\")&&(M+=y,M+=y),H){var _e=H.indexOf(\"@\");if(_e!==-1){var pt=H.substr(0,_e);H=H.substr(_e+1),(_e=pt.indexOf(\":\"))===-1?M+=E(pt,!1):(M+=E(pt.substr(0,_e),!1),M+=\":\",M+=E(pt.substr(_e+1),!1)),M+=\"@\"}(_e=(H=H.toLowerCase()).indexOf(\":\"))===-1?M+=E(H,!1):(M+=E(H.substr(0,_e),!1),M+=H.substr(_e))}if(Y){if(Y.length>=3&&Y.charCodeAt(0)===47&&Y.charCodeAt(2)===58)(Je=Y.charCodeAt(1))>=65&&Je<=90&&(Y=\"/\".concat(String.fromCharCode(Je+32),\":\").concat(Y.substr(3)));else if(Y.length>=2&&Y.charCodeAt(1)===58){var Je;(Je=Y.charCodeAt(0))>=65&&Je<=90&&(Y=\"\".concat(String.fromCharCode(Je+32),\":\").concat(Y.substr(2)))}M+=E(Y,!0)}return Ue&&(M+=\"?\",M+=E(Ue,!1)),be&&(M+=\"#\",M+=S?be:P(be,!1)),M}function j(D){try{return decodeURIComponent(D)}catch{return D.length>3?D.substr(0,3)+j(D.substr(3)):D}}var U=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function V(D){return D.match(U)?D.replace(U,function(S){return j(S)}):D}var ie,me=a(470),Ie=function(D,S,E){if(E||arguments.length===2)for(var M,$=0,H=S.length;$<H;$++)!M&&$ in S||(M||(M=Array.prototype.slice.call(S,0,$)),M[$]=S[$]);return D.concat(M||Array.prototype.slice.call(S))},Le=me.posix||me;(function(D){D.joinPath=function(S){for(var E=[],M=1;M<arguments.length;M++)E[M-1]=arguments[M];return S.with({path:Le.join.apply(Le,Ie([S.path],E,!1))})},D.resolvePath=function(S){for(var E=[],M=1;M<arguments.length;M++)E[M-1]=arguments[M];var $=S.path||\"/\";return S.with({path:Le.resolve.apply(Le,Ie([$],E,!1))})},D.dirname=function(S){var E=Le.dirname(S.path);return E.length===1&&E.charCodeAt(0)===46?S:S.with({path:E})},D.basename=function(S){return Le.basename(S.path)},D.extname=function(S){return Le.extname(S.path)}})(ie||(ie={}))}},t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}return n.d=(r,i)=>{for(var a in i)n.o(i,a)&&!n.o(r,a)&&Object.defineProperty(r,a,{enumerable:!0,get:i[a]})},n.o=(r,i)=>Object.prototype.hasOwnProperty.call(r,i),n.r=r=>{typeof Symbol!=\"undefined\"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(r,\"__esModule\",{value:!0})},n(447)})();var{URI:Yr,Utils:Kr}=ho,Mh=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))};function Zr(e){return Kr.dirname(Yr.parse(e)).toString()}function Qr(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Kr.joinPath.apply(Kr,Mh([Yr.parse(e)],t,!1)).toString()}var uo=function(e,t,n,r){function i(a){return a instanceof n?a:new n(function(o){o(a)})}return new(n||(n=Promise))(function(a,o){function l(d){try{c(r.next(d))}catch(p){o(p)}}function h(d){try{c(r.throw(d))}catch(p){o(p)}}function c(d){d.done?a(d.value):i(d.value).then(l,h)}c((r=r.apply(e,t||[])).next())})},po=function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol==\"function\"&&(o[Symbol.iterator]=function(){return this}),o;function l(c){return function(d){return h([c,d])}}function h(c){if(r)throw new TypeError(\"Generator is already executing.\");for(;n;)try{if(r=1,i&&(a=c[0]&2?i.return:c[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;switch(i=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){n.label=c[1];break}if(c[0]===6&&n.label<a[1]){n.label=a[1],a=c;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(c);break}a[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(d){c=[6,d],i=0}finally{r=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},Nh=function(){function e(t){this.readDirectory=t,this.literalCompletions=[],this.importCompletions=[]}return e.prototype.onCssURILiteralValue=function(t){this.literalCompletions.push(t)},e.prototype.onCssImportPath=function(t){this.importCompletions.push(t)},e.prototype.computeCompletions=function(t,n){return uo(this,void 0,void 0,function(){var r,i,a,o,l,b,h,c,d,R,p,f,g,w,b,y,A,C,R;return po(this,function(k){switch(k.label){case 0:r={items:[],isIncomplete:!1},i=0,a=this.literalCompletions,k.label=1;case 1:return i<a.length?(o=a[i],l=o.uriValue,b=ei(l),b===\".\"||b===\"..\"?(r.isIncomplete=!0,[3,4]):[3,2]):[3,5];case 2:return[4,this.providePathSuggestions(l,o.position,o.range,t,n)];case 3:for(h=k.sent(),c=0,d=h;c<d.length;c++)R=d[c],r.items.push(R);k.label=4;case 4:return i++,[3,1];case 5:p=0,f=this.importCompletions,k.label=6;case 6:return p<f.length?(g=f[p],w=g.pathValue,b=ei(w),b===\".\"||b===\"..\"?(r.isIncomplete=!0,[3,9]):[3,7]):[3,10];case 7:return[4,this.providePathSuggestions(w,g.position,g.range,t,n)];case 8:for(y=k.sent(),t.languageId===\"scss\"&&y.forEach(function(F){oe(F.label,\"_\")&&ts(F.label,\".scss\")&&(F.textEdit?F.textEdit.newText=F.label.slice(1,-5):F.label=F.label.slice(1,-5))}),A=0,C=y;A<C.length;A++)R=C[A],r.items.push(R);k.label=9;case 9:return p++,[3,6];case 10:return[2,r]}})})},e.prototype.providePathSuggestions=function(t,n,r,i,a){return uo(this,void 0,void 0,function(){var o,l,h,c,d,p,f,g,w,b,y,A,C,R,k;return po(this,function(F){switch(F.label){case 0:if(o=ei(t),l=oe(t,\"'\")||oe(t,'\"'),h=l?o.slice(0,n.character-(r.start.character+1)):o.slice(0,n.character-r.start.character),c=i.uri,d=l?Th(r,1,-1):r,p=Ih(h,o,d),f=h.substring(0,h.lastIndexOf(\"/\")+1),g=a.resolveReference(f||\".\",c),!g)return[3,4];F.label=1;case 1:return F.trys.push([1,3,,4]),w=[],[4,this.readDirectory(g)];case 2:for(b=F.sent(),y=0,A=b;y<A.length;y++)C=A[y],R=C[0],k=C[1],R.charCodeAt(0)!==Ph&&(k===Zt.Directory||Qr(g,R)!==c)&&w.push(Lh(R,k===Zt.Directory,p));return[2,w];case 3:return F.sent(),[3,4];case 4:return[2,[]]}})})},e}(),Ph=\".\".charCodeAt(0);function ei(e){return oe(e,\"'\")||oe(e,'\"')?e.slice(1,-1):e}function Ih(e,t,n){var r,i=e.lastIndexOf(\"/\");if(i===-1)r=n;else{var a=t.slice(i+1),o=Vn(n.end,-a.length),l=a.indexOf(\" \"),h=void 0;l!==-1?h=Vn(o,l):h=n.end,r=Z.create(o,h)}return r}function Lh(e,t,n){return t?(e=e+\"/\",{label:On(e),kind:O.Folder,textEdit:B.replace(n,On(e)),command:{title:\"Suggest\",command:\"editor.action.triggerSuggest\"}}):{label:On(e),kind:O.File,textEdit:B.replace(n,On(e))}}function On(e){return e.replace(/(\\s|\\(|\\)|,|\"|')/g,\"\\\\$1\")}function Vn(e,t){return ke.create(e.line,e.character+t)}function Th(e,t,n){var r=Vn(e.start,t),i=Vn(e.end,n);return Z.create(r,i)}var Wh=function(e,t,n,r){function i(a){return a instanceof n?a:new n(function(o){o(a)})}return new(n||(n=Promise))(function(a,o){function l(d){try{c(r.next(d))}catch(p){o(p)}}function h(d){try{c(r.throw(d))}catch(p){o(p)}}function c(d){d.done?a(d.value):i(d.value).then(l,h)}c((r=r.apply(e,t||[])).next())})},Oh=function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol==\"function\"&&(o[Symbol.iterator]=function(){return this}),o;function l(c){return function(d){return h([c,d])}}function h(c){if(r)throw new TypeError(\"Generator is already executing.\");for(;n;)try{if(r=1,i&&(a=c[0]&2?i.return:c[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;switch(i=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){n.label=c[1];break}if(c[0]===6&&n.label<a[1]){n.label=a[1],a=c;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(c);break}a[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(d){c=[6,d],i=0}finally{r=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},Vh=Ne(),qe=Fe.Snippet,fo={title:\"Suggest\",command:\"editor.action.triggerSuggest\"},Ve;(function(e){e.Enums=\" \",e.Normal=\"d\",e.VendorPrefixed=\"x\",e.Term=\"y\",e.Variable=\"z\"})(Ve||(Ve={}));var ti=function(){function e(t,n,r){t===void 0&&(t=null),this.variablePrefix=t,this.lsOptions=n,this.cssDataManager=r,this.completionParticipants=[]}return e.prototype.configure=function(t){this.defaultSettings=t},e.prototype.getSymbolContext=function(){return this.symbolContext||(this.symbolContext=new Xr(this.styleSheet)),this.symbolContext},e.prototype.setCompletionParticipants=function(t){this.completionParticipants=t||[]},e.prototype.doComplete2=function(t,n,r,i,a){return a===void 0&&(a=this.defaultSettings),Wh(this,void 0,void 0,function(){var o,l,h,c;return Oh(this,function(d){switch(d.label){case 0:if(!this.lsOptions.fileSystemProvider||!this.lsOptions.fileSystemProvider.readDirectory)return[2,this.doComplete(t,n,r,a)];o=new Nh(this.lsOptions.fileSystemProvider.readDirectory),l=this.completionParticipants,this.completionParticipants=[o].concat(l),h=this.doComplete(t,n,r,a),d.label=1;case 1:return d.trys.push([1,,3,4]),[4,o.computeCompletions(t,i)];case 2:return c=d.sent(),[2,{isIncomplete:h.isIncomplete||c.isIncomplete,items:c.items.concat(h.items)}];case 3:return this.completionParticipants=l,[7];case 4:return[2]}})})},e.prototype.doComplete=function(t,n,r,i){this.offset=t.offsetAt(n),this.position=n,this.currentWord=qh(t,this.offset),this.defaultReplaceRange=Z.create(ke.create(this.position.line,this.position.character-this.currentWord.length),this.position),this.textDocument=t,this.styleSheet=r,this.documentSettings=i;try{var a={isIncomplete:!1,items:[]};this.nodePath=Er(this.styleSheet,this.offset);for(var o=this.nodePath.length-1;o>=0;o--){var l=this.nodePath[o];if(l instanceof zr)this.getCompletionsForDeclarationProperty(l.getParent(),a);else if(l instanceof hs)l.parent instanceof Tr?this.getVariableProposals(null,a):this.getCompletionsForExpression(l,a);else if(l instanceof Ft){var h=l.findAParent(m.ExtendsReference,m.Ruleset);if(h)if(h.type===m.ExtendsReference)this.getCompletionsForExtendsReference(h,l,a);else{var c=h;this.getCompletionsForSelector(c,c&&c.isNested(),a)}}else if(l instanceof _t)this.getCompletionsForFunctionArgument(l,l.getParent(),a);else if(l instanceof Rr)this.getCompletionsForDeclarations(l,a);else if(l instanceof Sn)this.getCompletionsForVariableDeclaration(l,a);else if(l instanceof kt)this.getCompletionsForRuleSet(l,a);else if(l instanceof Tr)this.getCompletionsForInterpolation(l,a);else if(l instanceof xn)this.getCompletionsForFunctionDeclaration(l,a);else if(l instanceof Cn)this.getCompletionsForMixinReference(l,a);else if(l instanceof jt)this.getCompletionsForFunctionArgument(null,l,a);else if(l instanceof Nr)this.getCompletionsForSupports(l,a);else if(l instanceof qt)this.getCompletionsForSupportsCondition(l,a);else if(l instanceof $t)this.getCompletionsForExtendsReference(l,null,a);else if(l.type===m.URILiteral)this.getCompletionForUriLiteralValue(l,a);else if(l.parent===null)this.getCompletionForTopLevel(a);else if(l.type===m.StringLiteral&&this.isImportPathParent(l.parent.type))this.getCompletionForImportPath(l,a);else continue;if(a.items.length>0||this.offset>l.offset)return this.finalize(a)}return this.getCompletionsForStylesheet(a),a.items.length===0&&this.variablePrefix&&this.currentWord.indexOf(this.variablePrefix)===0&&this.getVariableProposals(null,a),this.finalize(a)}finally{this.position=null,this.currentWord=null,this.textDocument=null,this.styleSheet=null,this.symbolContext=null,this.defaultReplaceRange=null,this.nodePath=null}},e.prototype.isImportPathParent=function(t){return t===m.Import},e.prototype.finalize=function(t){return t},e.prototype.findInNodePath=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=this.nodePath.length-1;r>=0;r--){var i=this.nodePath[r];if(t.indexOf(i.type)!==-1)return i}return null},e.prototype.getCompletionsForDeclarationProperty=function(t,n){return this.getPropertyProposals(t,n)},e.prototype.getPropertyProposals=function(t,n){var r=this,i=this.isTriggerPropertyValueCompletionEnabled,a=this.isCompletePropertyWithSemicolonEnabled,o=this.cssDataManager.getProperties();return o.forEach(function(l){var h,c,d=!1;t?(h=r.getCompletionRange(t.getProperty()),c=l.name,Ae(t.colonPosition)||(c+=\": \",d=!0)):(h=r.getCompletionRange(null),c=l.name+\": \",d=!0),!t&&a&&(c+=\"$0;\"),t&&!t.semicolonPosition&&a&&r.offset>=r.textDocument.offsetAt(h.end)&&(c+=\"$0;\");var p={label:l.name,documentation:rt(l,r.doesSupportMarkdown()),tags:Qt(l)?[ct.Deprecated]:[],textEdit:B.replace(h,c),insertTextFormat:Fe.Snippet,kind:O.Property};l.restrictions||(d=!1),i&&d&&(p.command=fo);var f=typeof l.relevance==\"number\"?Math.min(Math.max(l.relevance,0),99):50,g=(255-f).toString(16),w=oe(l.name,\"-\")?Ve.VendorPrefixed:Ve.Normal;p.sortText=w+\"_\"+g,n.items.push(p)}),this.completionParticipants.forEach(function(l){l.onCssProperty&&l.onCssProperty({propertyName:r.currentWord,range:r.defaultReplaceRange})}),n},Object.defineProperty(e.prototype,\"isTriggerPropertyValueCompletionEnabled\",{get:function(){var t,n;return(n=(t=this.documentSettings)===null||t===void 0?void 0:t.triggerPropertyValueCompletion)!==null&&n!==void 0?n:!0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,\"isCompletePropertyWithSemicolonEnabled\",{get:function(){var t,n;return(n=(t=this.documentSettings)===null||t===void 0?void 0:t.completePropertyWithSemicolon)!==null&&n!==void 0?n:!0},enumerable:!1,configurable:!0}),e.prototype.getCompletionsForDeclarationValue=function(t,n){for(var r=this,i=t.getFullPropertyName(),a=this.cssDataManager.getProperty(i),o=t.getValue()||null;o&&o.hasChildren();)o=o.findChildAtOffset(this.offset,!1);if(this.completionParticipants.forEach(function(w){w.onCssPropertyValue&&w.onCssPropertyValue({propertyName:i,propertyValue:r.currentWord,range:r.getCompletionRange(o)})}),a){if(a.restrictions)for(var l=0,h=a.restrictions;l<h.length;l++){var c=h[l];switch(c){case\"color\":this.getColorProposals(a,o,n);break;case\"position\":this.getPositionProposals(a,o,n);break;case\"repeat\":this.getRepeatStyleProposals(a,o,n);break;case\"line-style\":this.getLineStyleProposals(a,o,n);break;case\"line-width\":this.getLineWidthProposals(a,o,n);break;case\"geometry-box\":this.getGeometryBoxProposals(a,o,n);break;case\"box\":this.getBoxProposals(a,o,n);break;case\"image\":this.getImageProposals(a,o,n);break;case\"timing-function\":this.getTimingFunctionProposals(a,o,n);break;case\"shape\":this.getBasicShapeProposals(a,o,n);break}}this.getValueEnumProposals(a,o,n),this.getCSSWideKeywordProposals(a,o,n),this.getUnitProposals(a,o,n)}else for(var d=Uh(this.styleSheet,t),p=0,f=d.getEntries();p<f.length;p++){var g=f[p];n.items.push({label:g,textEdit:B.replace(this.getCompletionRange(o),g),kind:O.Value})}return this.getVariableProposals(o,n),this.getTermProposals(a,o,n),n},e.prototype.getValueEnumProposals=function(t,n,r){if(t.values)for(var i=0,a=t.values;i<a.length;i++){var o=a[i],l=o.name,h=void 0;if(ts(l,\")\")){var c=l.lastIndexOf(\"(\");c!==-1&&(l=l.substr(0,c)+\"($1)\",h=qe)}var d=Ve.Enums;oe(o.name,\"-\")&&(d+=Ve.VendorPrefixed);var p={label:o.name,documentation:rt(o,this.doesSupportMarkdown()),tags:Qt(t)?[ct.Deprecated]:[],textEdit:B.replace(this.getCompletionRange(n),l),sortText:d,kind:O.Value,insertTextFormat:h};r.items.push(p)}return r},e.prototype.getCSSWideKeywordProposals=function(t,n,r){for(var i in to)r.items.push({label:i,documentation:to[i],textEdit:B.replace(this.getCompletionRange(n),i),kind:O.Value});for(var a in no){var o=zt(a);r.items.push({label:a,documentation:no[a],textEdit:B.replace(this.getCompletionRange(n),o),kind:O.Function,insertTextFormat:qe,command:oe(a,\"var\")?fo:void 0})}return r},e.prototype.getCompletionsForInterpolation=function(t,n){return this.offset>=t.offset+2&&this.getVariableProposals(null,n),n},e.prototype.getVariableProposals=function(t,n){for(var r=this.getSymbolContext().findSymbolsAtOffset(this.offset,G.Variable),i=0,a=r;i<a.length;i++){var o=a[i],l=oe(o.name,\"--\")?\"var(\".concat(o.name,\")\"):o.name,h={label:o.name,documentation:o.value?ns(o.value):o.value,textEdit:B.replace(this.getCompletionRange(t),l),kind:O.Variable,sortText:Ve.Variable};if(typeof h.documentation==\"string\"&&mo(h.documentation)&&(h.kind=O.Color),o.node.type===m.FunctionParameter){var c=o.node.getParent();c.type===m.MixinDeclaration&&(h.detail=Vh(\"completion.argument\",\"argument from '{0}'\",c.getName()))}n.items.push(h)}return n},e.prototype.getVariableProposalsForCSSVarFunction=function(t){var n=new ni;this.styleSheet.acceptVisitor(new jh(n,this.offset));for(var r=this.getSymbolContext().findSymbolsAtOffset(this.offset,G.Variable),i=0,a=r;i<a.length;i++){var o=a[i];if(oe(o.name,\"--\")){var l={label:o.name,documentation:o.value?ns(o.value):o.value,textEdit:B.replace(this.getCompletionRange(null),o.name),kind:O.Variable};typeof l.documentation==\"string\"&&mo(l.documentation)&&(l.kind=O.Color),t.items.push(l)}n.remove(o.name)}for(var h=0,c=n.getEntries();h<c.length;h++){var d=c[h];if(oe(d,\"--\")){var l={label:d,textEdit:B.replace(this.getCompletionRange(null),d),kind:O.Variable};t.items.push(l)}}return t},e.prototype.getUnitProposals=function(t,n,r){var i=\"0\";if(this.currentWord.length>0){var a=this.currentWord.match(/^-?\\d[\\.\\d+]*/);a&&(i=a[0],r.isIncomplete=i.length===this.currentWord.length)}else this.currentWord.length===0&&(r.isIncomplete=!0);if(n&&n.parent&&n.parent.type===m.Term&&(n=n.getParent()),t.restrictions)for(var o=0,l=t.restrictions;o<l.length;o++){var h=l[o],c=so[h];if(c)for(var d=0,p=c;d<p.length;d++){var f=p[d],g=i+f;r.items.push({label:g,textEdit:B.replace(this.getCompletionRange(n),g),kind:O.Unit})}}return r},e.prototype.getCompletionRange=function(t){if(t&&t.offset<=this.offset&&this.offset<=t.end){var n=t.end!==-1?this.textDocument.positionAt(t.end):this.position,r=this.textDocument.positionAt(t.offset);if(r.line===n.line)return Z.create(r,n)}return this.defaultReplaceRange},e.prototype.getColorProposals=function(t,n,r){for(var i in Pn)r.items.push({label:i,documentation:Pn[i],textEdit:B.replace(this.getCompletionRange(n),i),kind:O.Color});for(var i in Gs)r.items.push({label:i,documentation:Gs[i],textEdit:B.replace(this.getCompletionRange(n),i),kind:O.Value});var a=new ni;this.styleSheet.acceptVisitor(new Bh(a,this.offset));for(var o=0,l=a.getEntries();o<l.length;o++){var i=l[o];r.items.push({label:i,textEdit:B.replace(this.getCompletionRange(n),i),kind:O.Color})}for(var h=function(g){var w=1,b=function(A,C){return\"${\"+w+++\":\"+C+\"}\"},y=g.func.replace(/\\[?\\$(\\w+)\\]?/g,b);r.items.push({label:g.func.substr(0,g.func.indexOf(\"(\")),detail:g.func,documentation:g.desc,textEdit:B.replace(c.getCompletionRange(n),y),insertTextFormat:qe,kind:O.Function})},c=this,d=0,p=mh;d<p.length;d++){var f=p[d];h(f)}return r},e.prototype.getPositionProposals=function(t,n,r){for(var i in Ys)r.items.push({label:i,documentation:Ys[i],textEdit:B.replace(this.getCompletionRange(n),i),kind:O.Value});return r},e.prototype.getRepeatStyleProposals=function(t,n,r){for(var i in Ks)r.items.push({label:i,documentation:Ks[i],textEdit:B.replace(this.getCompletionRange(n),i),kind:O.Value});return r},e.prototype.getLineStyleProposals=function(t,n,r){for(var i in Zs)r.items.push({label:i,documentation:Zs[i],textEdit:B.replace(this.getCompletionRange(n),i),kind:O.Value});return r},e.prototype.getLineWidthProposals=function(t,n,r){for(var i=0,a=kh;i<a.length;i++){var o=a[i];r.items.push({label:o,textEdit:B.replace(this.getCompletionRange(n),o),kind:O.Value})}return r},e.prototype.getGeometryBoxProposals=function(t,n,r){for(var i in eo)r.items.push({label:i,documentation:eo[i],textEdit:B.replace(this.getCompletionRange(n),i),kind:O.Value});return r},e.prototype.getBoxProposals=function(t,n,r){for(var i in Qs)r.items.push({label:i,documentation:Qs[i],textEdit:B.replace(this.getCompletionRange(n),i),kind:O.Value});return r},e.prototype.getImageProposals=function(t,n,r){for(var i in ro){var a=zt(i);r.items.push({label:i,documentation:ro[i],textEdit:B.replace(this.getCompletionRange(n),a),kind:O.Function,insertTextFormat:i!==a?qe:void 0})}return r},e.prototype.getTimingFunctionProposals=function(t,n,r){for(var i in io){var a=zt(i);r.items.push({label:i,documentation:io[i],textEdit:B.replace(this.getCompletionRange(n),a),kind:O.Function,insertTextFormat:i!==a?qe:void 0})}return r},e.prototype.getBasicShapeProposals=function(t,n,r){for(var i in ao){var a=zt(i);r.items.push({label:i,documentation:ao[i],textEdit:B.replace(this.getCompletionRange(n),a),kind:O.Function,insertTextFormat:i!==a?qe:void 0})}return r},e.prototype.getCompletionsForStylesheet=function(t){var n=this.styleSheet.findFirstChildBeforeOffset(this.offset);return n?n instanceof kt?this.getCompletionsForRuleSet(n,t):n instanceof Nr?this.getCompletionsForSupports(n,t):t:this.getCompletionForTopLevel(t)},e.prototype.getCompletionForTopLevel=function(t){var n=this;return this.cssDataManager.getAtDirectives().forEach(function(r){t.items.push({label:r.name,textEdit:B.replace(n.getCompletionRange(null),r.name),documentation:rt(r,n.doesSupportMarkdown()),tags:Qt(r)?[ct.Deprecated]:[],kind:O.Keyword})}),this.getCompletionsForSelector(null,!1,t),t},e.prototype.getCompletionsForRuleSet=function(t,n){var r=t.getDeclarations(),i=r&&r.endsWith(\"}\")&&this.offset>=r.end;if(i)return this.getCompletionForTopLevel(n);var a=!r||this.offset<=r.offset;return a?this.getCompletionsForSelector(t,t.isNested(),n):this.getCompletionsForDeclarations(t.getDeclarations(),n)},e.prototype.getCompletionsForSelector=function(t,n,r){var i=this,a=this.findInNodePath(m.PseudoSelector,m.IdentifierSelector,m.ClassSelector,m.ElementNameSelector);!a&&this.hasCharacterAtPosition(this.offset-this.currentWord.length-1,\":\")&&(this.currentWord=\":\"+this.currentWord,this.hasCharacterAtPosition(this.offset-this.currentWord.length-1,\":\")&&(this.currentWord=\":\"+this.currentWord),this.defaultReplaceRange=Z.create(ke.create(this.position.line,this.position.character-this.currentWord.length),this.position));var o=this.cssDataManager.getPseudoClasses();o.forEach(function(y){var A=zt(y.name),C={label:y.name,textEdit:B.replace(i.getCompletionRange(a),A),documentation:rt(y,i.doesSupportMarkdown()),tags:Qt(y)?[ct.Deprecated]:[],kind:O.Function,insertTextFormat:y.name!==A?qe:void 0};oe(y.name,\":-\")&&(C.sortText=Ve.VendorPrefixed),r.items.push(C)});var l=this.cssDataManager.getPseudoElements();if(l.forEach(function(y){var A=zt(y.name),C={label:y.name,textEdit:B.replace(i.getCompletionRange(a),A),documentation:rt(y,i.doesSupportMarkdown()),tags:Qt(y)?[ct.Deprecated]:[],kind:O.Function,insertTextFormat:y.name!==A?qe:void 0};oe(y.name,\"::-\")&&(C.sortText=Ve.VendorPrefixed),r.items.push(C)}),!n){for(var h=0,c=Fh;h<c.length;h++){var d=c[h];r.items.push({label:d,textEdit:B.replace(this.getCompletionRange(a),d),kind:O.Keyword})}for(var p=0,f=_h;p<f.length;p++){var d=f[p];r.items.push({label:d,textEdit:B.replace(this.getCompletionRange(a),d),kind:O.Keyword})}}var g={};g[this.currentWord]=!0;var w=this.textDocument.getText();if(this.styleSheet.accept(function(y){if(y.type===m.SimpleSelector&&y.length>0){var A=w.substr(y.offset,y.length);return A.charAt(0)===\".\"&&!g[A]&&(g[A]=!0,r.items.push({label:A,textEdit:B.replace(i.getCompletionRange(a),A),kind:O.Keyword})),!1}return!0}),t&&t.isNested()){var b=t.getSelectors().findFirstChildBeforeOffset(this.offset);b&&t.getSelectors().getChildren().indexOf(b)===0&&this.getPropertyProposals(null,r)}return r},e.prototype.getCompletionsForDeclarations=function(t,n){if(!t||this.offset===t.offset)return n;var r=t.findFirstChildBeforeOffset(this.offset);if(!r)return this.getCompletionsForDeclarationProperty(null,n);if(r instanceof Ar){var i=r;if(!Ae(i.colonPosition)||this.offset<=i.colonPosition)return this.getCompletionsForDeclarationProperty(i,n);if(Ae(i.semicolonPosition)&&i.semicolonPosition<this.offset)return this.offset===i.semicolonPosition+1?n:this.getCompletionsForDeclarationProperty(null,n);if(i instanceof Oe)return this.getCompletionsForDeclarationValue(i,n)}else r instanceof $t?this.getCompletionsForExtendsReference(r,null,n):this.currentWord&&this.currentWord[0]===\"@\"?this.getCompletionsForDeclarationProperty(null,n):r instanceof kt&&this.getCompletionsForDeclarationProperty(null,n);return n},e.prototype.getCompletionsForVariableDeclaration=function(t,n){return this.offset&&Ae(t.colonPosition)&&this.offset>t.colonPosition&&this.getVariableProposals(t.getValue(),n),n},e.prototype.getCompletionsForExpression=function(t,n){var r=t.getParent();if(r instanceof _t)return this.getCompletionsForFunctionArgument(r,r.getParent(),n),n;var i=t.findParent(m.Declaration);if(!i)return this.getTermProposals(void 0,null,n),n;var a=t.findChildAtOffset(this.offset,!0);return a?a instanceof Lr||a instanceof Ee?this.getCompletionsForDeclarationValue(i,n):n:this.getCompletionsForDeclarationValue(i,n)},e.prototype.getCompletionsForFunctionArgument=function(t,n,r){var i=n.getIdentifier();return i&&i.matches(\"var\")&&(!n.getArguments().hasChildren()||n.getArguments().getChild(0)===t)&&this.getVariableProposalsForCSSVarFunction(r),r},e.prototype.getCompletionsForFunctionDeclaration=function(t,n){var r=t.getDeclarations();return r&&this.offset>r.offset&&this.offset<r.end&&this.getTermProposals(void 0,null,n),n},e.prototype.getCompletionsForMixinReference=function(t,n){for(var r=this,i=this.getSymbolContext().findSymbolsAtOffset(this.offset,G.Mixin),a=0,o=i;a<o.length;a++){var l=o[a];l.node instanceof Ht&&n.items.push(this.makeTermProposal(l,l.node.getParameters(),null))}var h=t.getIdentifier()||null;return this.completionParticipants.forEach(function(c){c.onCssMixinReference&&c.onCssMixinReference({mixinName:r.currentWord,range:r.getCompletionRange(h)})}),n},e.prototype.getTermProposals=function(t,n,r){for(var i=this.getSymbolContext().findSymbolsAtOffset(this.offset,G.Function),a=0,o=i;a<o.length;a++){var l=o[a];l.node instanceof xn&&r.items.push(this.makeTermProposal(l,l.node.getParameters(),n))}return r},e.prototype.makeTermProposal=function(t,n,r){t.node;var i=n.getChildren().map(function(o){return o instanceof wn?o.getName():o.getText()}),a=t.name+\"(\"+i.map(function(o,l){return\"${\"+(l+1)+\":\"+o+\"}\"}).join(\", \")+\")\";return{label:t.name,detail:t.name+\"(\"+i.join(\", \")+\")\",textEdit:B.replace(this.getCompletionRange(r),a),insertTextFormat:qe,kind:O.Function,sortText:Ve.Term}},e.prototype.getCompletionsForSupportsCondition=function(t,n){var r=t.findFirstChildBeforeOffset(this.offset);if(r){if(r instanceof Oe)return!Ae(r.colonPosition)||this.offset<=r.colonPosition?this.getCompletionsForDeclarationProperty(r,n):this.getCompletionsForDeclarationValue(r,n);if(r instanceof qt)return this.getCompletionsForSupportsCondition(r,n)}return Ae(t.lParent)&&this.offset>t.lParent&&(!Ae(t.rParent)||this.offset<=t.rParent)?this.getCompletionsForDeclarationProperty(null,n):n},e.prototype.getCompletionsForSupports=function(t,n){var r=t.getDeclarations(),i=!r||this.offset<=r.offset;if(i){var a=t.findFirstChildBeforeOffset(this.offset);return a instanceof qt?this.getCompletionsForSupportsCondition(a,n):n}return this.getCompletionForTopLevel(n)},e.prototype.getCompletionsForExtendsReference=function(t,n,r){return r},e.prototype.getCompletionForUriLiteralValue=function(t,n){var r,i,a;if(t.hasChildren()){var l=t.getChild(0);r=l.getText(),i=this.position,a=this.getCompletionRange(l)}else{r=\"\",i=this.position;var o=this.textDocument.positionAt(t.offset+4);a=Z.create(o,o)}return this.completionParticipants.forEach(function(h){h.onCssURILiteralValue&&h.onCssURILiteralValue({uriValue:r,position:i,range:a})}),n},e.prototype.getCompletionForImportPath=function(t,n){var r=this;return this.completionParticipants.forEach(function(i){i.onCssImportPath&&i.onCssImportPath({pathValue:t.getText(),position:r.position,range:r.getCompletionRange(t)})}),n},e.prototype.hasCharacterAtPosition=function(t,n){var r=this.textDocument.getText();return t>=0&&t<r.length&&r.charAt(t)===n},e.prototype.doesSupportMarkdown=function(){var t,n,r;if(!Ae(this.supportsMarkdown)){if(!Ae(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var i=(r=(n=(t=this.lsOptions.clientCapabilities.textDocument)===null||t===void 0?void 0:t.completion)===null||n===void 0?void 0:n.completionItem)===null||r===void 0?void 0:r.documentationFormat;this.supportsMarkdown=Array.isArray(i)&&i.indexOf(Re.Markdown)!==-1}return this.supportsMarkdown},e}();function Qt(e){return!!(e.status&&(e.status===\"nonstandard\"||e.status===\"obsolete\"))}var ni=function(){function e(){this.entries={}}return e.prototype.add=function(t){this.entries[t]=!0},e.prototype.remove=function(t){delete this.entries[t]},e.prototype.getEntries=function(){return Object.keys(this.entries)},e}();function zt(e){return e.replace(/\\(\\)$/,\"($1)\")}function Uh(e,t){var n=t.getFullPropertyName(),r=new ni;function i(l){return(l instanceof Ee||l instanceof Lr||l instanceof Ir)&&r.add(l.getText()),!0}function a(l){var h=l.getFullPropertyName();return n===h}function o(l){if(l instanceof Oe&&l!==t&&a(l)){var h=l.getValue();h&&h.accept(i)}return!0}return e.accept(o),r}var Bh=function(){function e(t,n){this.entries=t,this.currentOffset=n}return e.prototype.visitNode=function(t){return(t instanceof Ir||t instanceof jt&&bh(t))&&(this.currentOffset<t.offset||t.end<this.currentOffset)&&this.entries.add(t.getText()),!0},e}(),jh=function(){function e(t,n){this.entries=t,this.currentOffset=n}return e.prototype.visitNode=function(t){return t instanceof Ee&&t.isCustomProperty&&(this.currentOffset<t.offset||t.end<this.currentOffset)&&this.entries.add(t.getText()),!0},e}();function qh(e,t){for(var n=t-1,r=e.getText();n>=0&&` \t\n\\r\":{[()]},*>+`.indexOf(r.charAt(n))===-1;)n--;return r.substring(n+1,t)}function mo(e){return e.toLowerCase()in Pn||/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)}var go=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])},e(t,n)};return function(t,n){if(typeof n!=\"function\"&&n!==null)throw new TypeError(\"Class extends value \"+String(n)+\" is not a constructor or null\");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),$h=Ne(),ri=function(){function e(){this.parent=null,this.children=null,this.attributes=null}return e.prototype.findAttribute=function(t){if(this.attributes)for(var n=0,r=this.attributes;n<r.length;n++){var i=r[n];if(i.name===t)return i.value}return null},e.prototype.addChild=function(t){t instanceof e&&(t.parent=this),this.children||(this.children=[]),this.children.push(t)},e.prototype.append=function(t){if(this.attributes){var n=this.attributes[this.attributes.length-1];n.value=n.value+t}},e.prototype.prepend=function(t){if(this.attributes){var n=this.attributes[0];n.value=t+n.value}},e.prototype.findRoot=function(){for(var t=this;t.parent&&!(t.parent instanceof Mt);)t=t.parent;return t},e.prototype.removeChild=function(t){if(this.children){var n=this.children.indexOf(t);if(n!==-1)return this.children.splice(n,1),!0}return!1},e.prototype.addAttr=function(t,n){this.attributes||(this.attributes=[]);for(var r=0,i=this.attributes;r<i.length;r++){var a=i[r];if(a.name===t){a.value+=\" \"+n;return}}this.attributes.push({name:t,value:n})},e.prototype.clone=function(t){t===void 0&&(t=!0);var n=new e;if(this.attributes){n.attributes=[];for(var r=0,i=this.attributes;r<i.length;r++){var a=i[r];n.addAttr(a.name,a.value)}}if(t&&this.children){n.children=[];for(var o=0;o<this.children.length;o++)n.addChild(this.children[o].clone())}return n},e.prototype.cloneWithParent=function(){var t=this.clone(!1);if(this.parent&&!(this.parent instanceof Mt)){var n=this.parent.cloneWithParent();n.addChild(t)}return t},e}(),Mt=function(e){go(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(ri),ii=function(e){go(t,e);function t(n){var r=e.call(this)||this;return r.addAttr(\"name\",n),r}return t}(ri),bo=function(){function e(t){this.quote=t,this.result=[]}return e.prototype.print=function(t){this.result=[],t instanceof Mt?t.children&&this.doPrint(t.children,0):this.doPrint([t],0);var n=this.result.join(`\n`);return[{language:\"html\",value:n}]},e.prototype.doPrint=function(t,n){for(var r=0,i=t;r<i.length;r++){var a=i[r];this.doPrintElement(a,n),a.children&&this.doPrint(a.children,n+1)}},e.prototype.writeLine=function(t,n){var r=new Array(t+1).join(\"  \");this.result.push(r+n)},e.prototype.doPrintElement=function(t,n){var r=t.findAttribute(\"name\");if(t instanceof ii||r===\"\\u2026\"){this.writeLine(n,r);return}var i=[\"<\"];if(r?i.push(r):i.push(\"element\"),t.attributes)for(var a=0,o=t.attributes;a<o.length;a++){var l=o[a];if(l.name!==\"name\"){i.push(\" \"),i.push(l.name);var h=l.value;h&&(i.push(\"=\"),i.push($e.ensure(h,this.quote)))}}i.push(\">\"),this.writeLine(n,i.join(\"\"))},e}(),$e;(function(e){function t(r,i){return i+n(r)+i}e.ensure=t;function n(r){var i=r.match(/^['\"](.*)[\"']$/);return i?i[1]:r}e.remove=n})($e||($e={}));var Hh=function(){function e(){this.id=0,this.attr=0,this.tag=0}return e}();function vo(e,t){for(var n=new ri,r=0,i=e.getChildren();r<i.length;r++){var a=i[r];switch(a.type){case m.SelectorCombinator:if(t){var o=a.getText().split(\"&\");if(o.length===1){n.addAttr(\"name\",o[0]);break}if(n=t.cloneWithParent(),o[0]){var l=n.findRoot();l.prepend(o[0])}for(var h=1;h<o.length;h++){if(h>1){var c=t.cloneWithParent();n.addChild(c.findRoot()),n=c}n.append(o[h])}}break;case m.SelectorPlaceholder:if(a.matches(\"@at-root\"))return n;case m.ElementNameSelector:var d=a.getText();n.addAttr(\"name\",d===\"*\"?\"element\":ze(d));break;case m.ClassSelector:n.addAttr(\"class\",ze(a.getText().substring(1)));break;case m.IdentifierSelector:n.addAttr(\"id\",ze(a.getText().substring(1)));break;case m.MixinDeclaration:n.addAttr(\"class\",a.getName());break;case m.PseudoSelector:n.addAttr(ze(a.getText()),\"\");break;case m.AttributeSelector:var p=a,f=p.getIdentifier();if(f){var g=p.getValue(),w=p.getOperator(),b=void 0;if(g&&w)switch(ze(w.getText())){case\"|=\":b=\"\".concat($e.remove(ze(g.getText())),\"-\\u2026\");break;case\"^=\":b=\"\".concat($e.remove(ze(g.getText())),\"\\u2026\");break;case\"$=\":b=\"\\u2026\".concat($e.remove(ze(g.getText())));break;case\"~=\":b=\" \\u2026 \".concat($e.remove(ze(g.getText())),\" \\u2026 \");break;case\"*=\":b=\"\\u2026\".concat($e.remove(ze(g.getText())),\"\\u2026\");break;default:b=$e.remove(ze(g.getText()));break}n.addAttr(ze(f.getText()),b)}break}}return n}function ze(e){var t=new Ut;t.setSource(e);var n=t.scanUnquotedString();return n?n.text:e}var Gh=function(){function e(t){this.cssDataManager=t}return e.prototype.selectorToMarkedString=function(t){var n=Yh(t);if(n){var r=new bo('\"').print(n);return r.push(this.selectorToSpecificityMarkedString(t)),r}else return[]},e.prototype.simpleSelectorToMarkedString=function(t){var n=vo(t),r=new bo('\"').print(n);return r.push(this.selectorToSpecificityMarkedString(t)),r},e.prototype.isPseudoElementIdentifier=function(t){var n=t.match(/^::?([\\w-]+)/);return n?!!this.cssDataManager.getPseudoElement(\"::\"+n[1]):!1},e.prototype.selectorToSpecificityMarkedString=function(t){var n=this,r=function(a){for(var o=0,l=a.getChildren();o<l.length;o++){var h=l[o];switch(h.type){case m.IdentifierSelector:i.id++;break;case m.ClassSelector:case m.AttributeSelector:i.attr++;break;case m.ElementNameSelector:if(h.matches(\"*\"))break;i.tag++;break;case m.PseudoSelector:var c=h.getText();if(n.isPseudoElementIdentifier(c))i.tag++;else{if(c.match(/^:not/i))break;i.attr++}break}h.getChildren().length>0&&r(h)}},i=new Hh;return r(t),$h(\"specificity\",\"[Selector Specificity](https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity): ({0}, {1}, {2})\",i.id,i.attr,i.tag)},e}(),Jh=function(){function e(t){this.prev=null,this.element=t}return e.prototype.processSelector=function(t){var n=null;if(!(this.element instanceof Mt)&&t.getChildren().some(function(d){return d.hasChildren()&&d.getChild(0).type===m.SelectorCombinator})){var r=this.element.findRoot();r.parent instanceof Mt&&(n=this.element,this.element=r.parent,this.element.removeChild(r),this.prev=null)}for(var i=0,a=t.getChildren();i<a.length;i++){var o=a[i];if(o instanceof Ft){if(this.prev instanceof Ft){var l=new ii(\"\\u2026\");this.element.addChild(l),this.element=l}else this.prev&&(this.prev.matches(\"+\")||this.prev.matches(\"~\"))&&this.element.parent&&(this.element=this.element.parent);this.prev&&this.prev.matches(\"~\")&&this.element.addChild(new ii(\"\\u22EE\"));var h=vo(o,n),c=h.findRoot();this.element.addChild(c),this.element=h}(o instanceof Ft||o.type===m.SelectorCombinatorParent||o.type===m.SelectorCombinatorShadowPiercingDescendant||o.type===m.SelectorCombinatorSibling||o.type===m.SelectorCombinatorAllSiblings)&&(this.prev=o)}},e}();function Xh(e){switch(e.type){case m.MixinDeclaration:case m.Stylesheet:return!0}return!1}function Yh(e){if(e.matches(\"@at-root\"))return null;var t=new Mt,n=[],r=e.getParent();if(r instanceof kt)for(var i=r.getParent();i&&!Xh(i);){if(i instanceof kt){if(i.getSelectors().matches(\"@at-root\"))break;n.push(i)}i=i.getParent()}for(var a=new Jh(t),o=n.length-1;o>=0;o--){var l=n[o].getSelectors().getChild(0);l&&a.processSelector(l)}return a.processSelector(e),t}var ai=function(){function e(t,n){this.clientCapabilities=t,this.cssDataManager=n,this.selectorPrinting=new Gh(n)}return e.prototype.configure=function(t){this.defaultSettings=t},e.prototype.doHover=function(t,n,r,i){i===void 0&&(i=this.defaultSettings);function a(y){return Z.create(t.positionAt(y.offset),t.positionAt(y.end))}for(var o=t.offsetAt(n),l=Er(r,o),h=null,c=0;c<l.length;c++){var d=l[c];if(d instanceof Bt){h={contents:this.selectorPrinting.selectorToMarkedString(d),range:a(d)};break}if(d instanceof Ft){oe(d.getText(),\"@\")||(h={contents:this.selectorPrinting.simpleSelectorToMarkedString(d),range:a(d)});break}if(d instanceof Oe){var p=d.getFullPropertyName(),f=this.cssDataManager.getProperty(p);if(f){var g=rt(f,this.doesSupportMarkdown(),i);g?h={contents:g,range:a(d)}:h=null}continue}if(d instanceof ds){var w=d.getText(),f=this.cssDataManager.getAtDirective(w);if(f){var g=rt(f,this.doesSupportMarkdown(),i);g?h={contents:g,range:a(d)}:h=null}continue}if(d instanceof L&&d.type===m.PseudoSelector){var b=d.getText(),f=b.slice(0,2)===\"::\"?this.cssDataManager.getPseudoElement(b):this.cssDataManager.getPseudoClass(b);if(f){var g=rt(f,this.doesSupportMarkdown(),i);g?h={contents:g,range:a(d)}:h=null}continue}}return h&&(h.contents=this.convertContents(h.contents)),h},e.prototype.convertContents=function(t){return this.doesSupportMarkdown()||typeof t==\"string\"?t:\"kind\"in t?{kind:\"plaintext\",value:t.value}:Array.isArray(t)?t.map(function(n){return typeof n==\"string\"?n:n.value}):t.value},e.prototype.doesSupportMarkdown=function(){if(!Ae(this.supportsMarkdown)){if(!Ae(this.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var t=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.hover;this.supportsMarkdown=t&&t.contentFormat&&Array.isArray(t.contentFormat)&&t.contentFormat.indexOf(Re.Markdown)!==-1}return this.supportsMarkdown},e}(),en=function(e,t,n,r){function i(a){return a instanceof n?a:new n(function(o){o(a)})}return new(n||(n=Promise))(function(a,o){function l(d){try{c(r.next(d))}catch(p){o(p)}}function h(d){try{c(r.throw(d))}catch(p){o(p)}}function c(d){d.done?a(d.value):i(d.value).then(l,h)}c((r=r.apply(e,t||[])).next())})},tn=function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol==\"function\"&&(o[Symbol.iterator]=function(){return this}),o;function l(c){return function(d){return h([c,d])}}function h(c){if(r)throw new TypeError(\"Generator is already executing.\");for(;n;)try{if(r=1,i&&(a=c[0]&2?i.return:c[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;switch(i=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){n.label=c[1];break}if(c[0]===6&&n.label<a[1]){n.label=a[1],a=c;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(c);break}a[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(d){c=[6,d],i=0}finally{r=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},yo=Ne(),wo=/^\\w+:\\/\\//,xo=/^data:/,si=function(){function e(t,n){this.fileSystemProvider=t,this.resolveModuleReferences=n}return e.prototype.findDefinition=function(t,n,r){var i=new Xr(r),a=t.offsetAt(n),o=Dr(r,a);if(!o)return null;var l=i.findSymbolFromNode(o);return l?{uri:t.uri,range:dt(l.node,t)}:null},e.prototype.findReferences=function(t,n,r){var i=this.findDocumentHighlights(t,n,r);return i.map(function(a){return{uri:t.uri,range:a.range}})},e.prototype.findDocumentHighlights=function(t,n,r){var i=[],a=t.offsetAt(n),o=Dr(r,a);if(!o||o.type===m.Stylesheet||o.type===m.Declarations)return i;o.type===m.Identifier&&o.parent&&o.parent.type===m.ClassSelector&&(o=o.parent);var l=new Xr(r),h=l.findSymbolFromNode(o),c=o.getText();return r.accept(function(d){if(h){if(l.matchesSymbol(d,h))return i.push({kind:So(d),range:dt(d,t)}),!1}else o&&o.type===d.type&&d.matches(c)&&i.push({kind:So(d),range:dt(d,t)});return!0}),i},e.prototype.isRawStringDocumentLinkNode=function(t){return t.type===m.Import},e.prototype.findDocumentLinks=function(t,n,r){for(var i=this.findUnresolvedLinks(t,n),a=[],o=0,l=i;o<l.length;o++){var h=l[o],c=h.link,d=c.target;if(!(!d||xo.test(d)))if(wo.test(d))a.push(c);else{var p=r.resolveReference(d,t.uri);p&&(c.target=p),a.push(c)}}return a},e.prototype.findDocumentLinks2=function(t,n,r){return en(this,void 0,void 0,function(){var i,a,o,l,h,c,d,p;return tn(this,function(f){switch(f.label){case 0:i=this.findUnresolvedLinks(t,n),a=[],o=0,l=i,f.label=1;case 1:return o<l.length?(h=l[o],c=h.link,d=c.target,!d||xo.test(d)?[3,5]:[3,2]):[3,6];case 2:return wo.test(d)?(a.push(c),[3,5]):[3,3];case 3:return[4,this.resolveRelativeReference(d,t.uri,r,h.isRawLink)];case 4:p=f.sent(),p!==void 0&&(c.target=p,a.push(c)),f.label=5;case 5:return o++,[3,1];case 6:return[2,a]}})})},e.prototype.findUnresolvedLinks=function(t,n){var r=this,i=[],a=function(o){var l=o.getText(),h=dt(o,t);if(!(h.start.line===h.end.line&&h.start.character===h.end.character)){(oe(l,\"'\")||oe(l,'\"'))&&(l=l.slice(1,-1));var c=o.parent?r.isRawStringDocumentLinkNode(o.parent):!1;i.push({link:{target:l,range:h},isRawLink:c})}};return n.accept(function(o){if(o.type===m.URILiteral){var l=o.getChild(0);return l&&a(l),!1}if(o.parent&&r.isRawStringDocumentLinkNode(o.parent)){var h=o.getText();return(oe(h,\"'\")||oe(h,'\"'))&&a(o),!1}return!0}),i},e.prototype.findDocumentSymbols=function(t,n){var r=[];return n.accept(function(i){var a={name:null,kind:ht.Class,location:null},o=i;if(i instanceof Bt)return a.name=i.getText(),o=i.findAParent(m.Ruleset,m.ExtendsReference),o&&(a.location=Gt.create(t.uri,dt(o,t)),r.push(a)),!1;if(i instanceof Sn)a.name=i.getName(),a.kind=ht.Variable;else if(i instanceof Ht)a.name=i.getName(),a.kind=ht.Method;else if(i instanceof xn)a.name=i.getName(),a.kind=ht.Function;else if(i instanceof as)a.name=yo(\"literal.keyframes\",\"@keyframes {0}\",i.getName());else if(i instanceof rs)a.name=yo(\"literal.fontface\",\"@font-face\");else if(i instanceof os){var l=i.getChild(0);l instanceof ls&&(a.name=\"@media \"+l.getText(),a.kind=ht.Module)}return a.name&&(a.location=Gt.create(t.uri,dt(o,t)),r.push(a)),!0}),r},e.prototype.findDocumentColors=function(t,n){var r=[];return n.accept(function(i){var a=Kh(i,t);return a&&r.push(a),!0}),r},e.prototype.getColorPresentations=function(t,n,r,i){var a=[],o=Math.round(r.red*255),l=Math.round(r.green*255),h=Math.round(r.blue*255),c;r.alpha===1?c=\"rgb(\".concat(o,\", \").concat(l,\", \").concat(h,\")\"):c=\"rgba(\".concat(o,\", \").concat(l,\", \").concat(h,\", \").concat(r.alpha,\")\"),a.push({label:c,textEdit:B.replace(i,c)}),r.alpha===1?c=\"#\".concat(ut(o)).concat(ut(l)).concat(ut(h)):c=\"#\".concat(ut(o)).concat(ut(l)).concat(ut(h)).concat(ut(Math.round(r.alpha*255))),a.push({label:c,textEdit:B.replace(i,c)});var d=Sh(r);return d.a===1?c=\"hsl(\".concat(d.h,\", \").concat(Math.round(d.s*100),\"%, \").concat(Math.round(d.l*100),\"%)\"):c=\"hsla(\".concat(d.h,\", \").concat(Math.round(d.s*100),\"%, \").concat(Math.round(d.l*100),\"%, \").concat(d.a,\")\"),a.push({label:c,textEdit:B.replace(i,c)}),a},e.prototype.doRename=function(t,n,r,i){var a,o=this.findDocumentHighlights(t,n,i),l=o.map(function(h){return B.replace(h.range,r)});return{changes:(a={},a[t.uri]=l,a)}},e.prototype.resolveModuleReference=function(t,n,r){return en(this,void 0,void 0,function(){var i,a,o,l,h;return tn(this,function(c){switch(c.label){case 0:return oe(n,\"file://\")?(i=Zh(t),a=r.resolveReference(\"/\",n),o=Zr(n),[4,this.resolvePathToModule(i,o,a)]):[3,2];case 1:if(l=c.sent(),l)return h=t.substring(i.length+1),[2,Qr(l,h)];c.label=2;case 2:return[2,void 0]}})})},e.prototype.resolveRelativeReference=function(t,n,r,i){return en(this,void 0,void 0,function(){var a,o;return tn(this,function(l){switch(l.label){case 0:return a=r.resolveReference(t,n),t[0]===\"~\"&&t[1]!==\"/\"&&this.fileSystemProvider?(t=t.substring(1),[4,this.resolveModuleReference(t,n,r)]):[3,2];case 1:return[2,l.sent()||a];case 2:return this.resolveModuleReferences?(o=a,o?[4,this.fileExists(a)]:[3,4]):[3,7];case 3:o=l.sent(),l.label=4;case 4:return o?[2,a]:[3,5];case 5:return[4,this.resolveModuleReference(t,n,r)];case 6:return[2,l.sent()||a];case 7:return[2,a]}})})},e.prototype.resolvePathToModule=function(t,n,r){return en(this,void 0,void 0,function(){var i;return tn(this,function(a){switch(a.label){case 0:return i=Qr(n,\"node_modules\",t,\"package.json\"),[4,this.fileExists(i)];case 1:return a.sent()?[2,Zr(i)]:r&&n.startsWith(r)&&n.length!==r.length?[2,this.resolvePathToModule(t,Zr(n),r)]:[2,void 0]}})})},e.prototype.fileExists=function(t){return en(this,void 0,void 0,function(){var n;return tn(this,function(r){switch(r.label){case 0:if(!this.fileSystemProvider)return[2,!1];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.fileSystemProvider.stat(t)];case 2:return n=r.sent(),n.type===Zt.Unknown&&n.size===-1?[2,!1]:[2,!0];case 3:return r.sent(),[2,!1];case 4:return[2]}})})},e}();function Kh(e,t){var n=Ch(e);if(n){var r=dt(e,t);return{color:n,range:r}}return null}function dt(e,t){return Z.create(t.positionAt(e.offset),t.positionAt(e.end))}function So(e){if(e.type===m.Selector||e instanceof Ee&&e.parent&&e.parent instanceof zr&&e.isCustomProperty)return Rt.Write;if(e.parent)switch(e.parent.type){case m.FunctionDeclaration:case m.MixinDeclaration:case m.Keyframe:case m.VariableDeclaration:case m.FunctionParameter:return Rt.Write}return Rt.Read}function ut(e){var t=e.toString(16);return t.length!==2?\"0\"+t:t}function Zh(e){return e[0]===\"@\"?e.substring(0,e.indexOf(\"/\",e.indexOf(\"/\")+1)):e.substring(0,e.indexOf(\"/\"))}var le=Ne(),Nt=Ce.Warning,Co=Ce.Error,Pe=Ce.Ignore,ce=function(){function e(t,n,r){this.id=t,this.message=n,this.defaultValue=r}return e}(),Qh=function(){function e(t,n,r){this.id=t,this.message=n,this.defaultValue=r}return e}(),Q={AllVendorPrefixes:new ce(\"compatibleVendorPrefixes\",le(\"rule.vendorprefixes.all\",\"When using a vendor-specific prefix make sure to also include all other vendor-specific properties\"),Pe),IncludeStandardPropertyWhenUsingVendorPrefix:new ce(\"vendorPrefix\",le(\"rule.standardvendorprefix.all\",\"When using a vendor-specific prefix also include the standard property\"),Nt),DuplicateDeclarations:new ce(\"duplicateProperties\",le(\"rule.duplicateDeclarations\",\"Do not use duplicate style definitions\"),Pe),EmptyRuleSet:new ce(\"emptyRules\",le(\"rule.emptyRuleSets\",\"Do not use empty rulesets\"),Nt),ImportStatemement:new ce(\"importStatement\",le(\"rule.importDirective\",\"Import statements do not load in parallel\"),Pe),BewareOfBoxModelSize:new ce(\"boxModel\",le(\"rule.bewareOfBoxModelSize\",\"Do not use width or height when using padding or border\"),Pe),UniversalSelector:new ce(\"universalSelector\",le(\"rule.universalSelector\",\"The universal selector (*) is known to be slow\"),Pe),ZeroWithUnit:new ce(\"zeroUnits\",le(\"rule.zeroWidthUnit\",\"No unit for zero needed\"),Pe),RequiredPropertiesForFontFace:new ce(\"fontFaceProperties\",le(\"rule.fontFaceProperties\",\"@font-face rule must define 'src' and 'font-family' properties\"),Nt),HexColorLength:new ce(\"hexColorLength\",le(\"rule.hexColor\",\"Hex colors must consist of three, four, six or eight hex numbers\"),Co),ArgsInColorFunction:new ce(\"argumentsInColorFunction\",le(\"rule.colorFunction\",\"Invalid number of parameters\"),Co),UnknownProperty:new ce(\"unknownProperties\",le(\"rule.unknownProperty\",\"Unknown property.\"),Nt),UnknownAtRules:new ce(\"unknownAtRules\",le(\"rule.unknownAtRules\",\"Unknown at-rule.\"),Nt),IEStarHack:new ce(\"ieHack\",le(\"rule.ieHack\",\"IE hacks are only necessary when supporting IE7 and older\"),Pe),UnknownVendorSpecificProperty:new ce(\"unknownVendorSpecificProperties\",le(\"rule.unknownVendorSpecificProperty\",\"Unknown vendor specific property.\"),Pe),PropertyIgnoredDueToDisplay:new ce(\"propertyIgnoredDueToDisplay\",le(\"rule.propertyIgnoredDueToDisplay\",\"Property is ignored due to the display.\"),Nt),AvoidImportant:new ce(\"important\",le(\"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.\"),Pe),AvoidFloat:new ce(\"float\",le(\"rule.avoidFloat\",\"Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.\"),Pe),AvoidIdSelector:new ce(\"idSelector\",le(\"rule.avoidIdSelector\",\"Selectors should not contain IDs because these rules are too tightly coupled with the HTML.\"),Pe)},ed={ValidProperties:new Qh(\"validProperties\",le(\"rule.validProperties\",\"A list of properties that are not validated against the `unknownProperties` rule.\"),[])},td=function(){function e(t){t===void 0&&(t={}),this.conf=t}return e.prototype.getRule=function(t){if(this.conf.hasOwnProperty(t.id)){var n=nd(this.conf[t.id]);if(n)return n}return t.defaultValue},e.prototype.getSetting=function(t){return this.conf[t.id]},e}();function nd(e){switch(e){case\"ignore\":return Ce.Ignore;case\"warning\":return Ce.Warning;case\"error\":return Ce.Error}return null}var rd=Ne(),oi=function(){function e(t){this.cssDataManager=t}return e.prototype.doCodeActions=function(t,n,r,i){return this.doCodeActions2(t,n,r,i).map(function(a){var o=a.edit&&a.edit.documentChanges&&a.edit.documentChanges[0];return Dt.create(a.title,\"_css.applyCodeAction\",t.uri,t.version,o&&o.edits)})},e.prototype.doCodeActions2=function(t,n,r,i){var a=[];if(r.diagnostics)for(var o=0,l=r.diagnostics;o<l.length;o++){var h=l[o];this.appendFixesForMarker(t,i,h,a)}return a},e.prototype.getFixesForUnknownProperty=function(t,n,r,i){var a=n.getName(),o=[];this.cssDataManager.getProperties().forEach(function(A){var C=Ec(a,A.name);C>=a.length/2&&o.push({property:A.name,score:C})}),o.sort(function(A,C){return C.score-A.score||A.property.localeCompare(C.property)});for(var l=3,h=0,c=o;h<c.length;h++){var d=c[h],p=d.property,f=rd(\"css.codeaction.rename\",\"Rename to '{0}'\",p),g=B.replace(r.range,p),w=Br.create(t.uri,t.version),b={documentChanges:[Jt.create(w,[g])]},y=$r.create(f,b,qr.QuickFix);if(y.diagnostics=[r],i.push(y),--l<=0)return}},e.prototype.appendFixesForMarker=function(t,n,r,i){if(r.code===Q.UnknownProperty.id)for(var a=t.offsetAt(r.range.start),o=t.offsetAt(r.range.end),l=Er(n,a),h=l.length-1;h>=0;h--){var c=l[h];if(c instanceof Oe){var d=c.getProperty();if(d&&d.offset===a&&d.end===o){this.getFixesForUnknownProperty(t,d,r,i);return}}}},e}(),id=function(){function e(t){this.fullPropertyName=t.getFullPropertyName().toLowerCase(),this.node=t}return e}();function nn(e,t,n,r){var i=e[t];i.value=n,n&&(lo(i.properties,r)||i.properties.push(r))}function ad(e,t,n){nn(e,\"top\",t,n),nn(e,\"right\",t,n),nn(e,\"bottom\",t,n),nn(e,\"left\",t,n)}function fe(e,t,n,r){t===\"top\"||t===\"right\"||t===\"bottom\"||t===\"left\"?nn(e,t,n,r):ad(e,n,r)}function li(e,t,n){switch(t.length){case 1:fe(e,void 0,t[0],n);break;case 2:fe(e,\"top\",t[0],n),fe(e,\"bottom\",t[0],n),fe(e,\"right\",t[1],n),fe(e,\"left\",t[1],n);break;case 3:fe(e,\"top\",t[0],n),fe(e,\"right\",t[1],n),fe(e,\"left\",t[1],n),fe(e,\"bottom\",t[2],n);break;case 4:fe(e,\"top\",t[0],n),fe(e,\"right\",t[1],n),fe(e,\"bottom\",t[2],n),fe(e,\"left\",t[3],n);break}}function ci(e,t){for(var n=0,r=t;n<r.length;n++){var i=r[n];if(e.matches(i))return!0}return!1}function rn(e,t){return t===void 0&&(t=!0),t&&ci(e,[\"initial\",\"unset\"])?!1:parseFloat(e.getText())!==0}function ko(e,t){return t===void 0&&(t=!0),e.map(function(n){return rn(n,t)})}function Un(e,t){return t===void 0&&(t=!0),!(ci(e,[\"none\",\"hidden\"])||t&&ci(e,[\"initial\",\"unset\"]))}function sd(e,t){return t===void 0&&(t=!0),e.map(function(n){return Un(n,t)})}function od(e){var t=e.getChildren();if(t.length===1){var n=t[0];return rn(n)&&Un(n)}for(var r=0,i=t;r<i.length;r++){var a=i[r],n=a;if(!rn(n,!1)||!Un(n,!1))return!1}return!0}function ld(e){for(var t={top:{value:!1,properties:[]},right:{value:!1,properties:[]},bottom:{value:!1,properties:[]},left:{value:!1,properties:[]}},n=0,r=e;n<r.length;n++){var i=r[n],a=i.node.value;if(typeof a!=\"undefined\")switch(i.fullPropertyName){case\"box-sizing\":return{top:{value:!1,properties:[]},right:{value:!1,properties:[]},bottom:{value:!1,properties:[]},left:{value:!1,properties:[]}};case\"width\":t.width=i;break;case\"height\":t.height=i;break;default:var o=i.fullPropertyName.split(\"-\");switch(o[0]){case\"border\":switch(o[1]){case void 0:case\"top\":case\"right\":case\"bottom\":case\"left\":switch(o[2]){case void 0:fe(t,o[1],od(a),i);break;case\"width\":fe(t,o[1],rn(a,!1),i);break;case\"style\":fe(t,o[1],Un(a,!0),i);break}break;case\"width\":li(t,ko(a.getChildren(),!1),i);break;case\"style\":li(t,sd(a.getChildren(),!0),i);break}break;case\"padding\":o.length===1?li(t,ko(a.getChildren(),!0),i):fe(t,o[1],rn(a,!0),i);break}break}}return t}var He=Ne(),Fo=function(){function e(){this.data={}}return e.prototype.add=function(t,n,r){var i=this.data[t];i||(i={nodes:[],names:[]},this.data[t]=i),i.names.push(n),r&&i.nodes.push(r)},e}(),cd=function(){function e(t,n,r){var i=this;this.cssDataManager=r,this.warnings=[],this.settings=n,this.documentText=t.getText(),this.keyframes=new Fo,this.validProperties={};var a=n.getSetting(ed.ValidProperties);Array.isArray(a)&&a.forEach(function(o){if(typeof o==\"string\"){var l=o.trim().toLowerCase();l.length&&(i.validProperties[l]=!0)}})}return e.entries=function(t,n,r,i,a){var o=new e(n,r,i);return t.acceptVisitor(o),o.completeValidations(),o.getEntries(a)},e.prototype.isValidPropertyDeclaration=function(t){var n=t.fullPropertyName;return this.validProperties[n]},e.prototype.fetch=function(t,n){for(var r=[],i=0,a=t;i<a.length;i++){var o=a[i];o.fullPropertyName===n&&r.push(o)}return r},e.prototype.fetchWithValue=function(t,n,r){for(var i=[],a=0,o=t;a<o.length;a++){var l=o[a];if(l.fullPropertyName===n){var h=l.node.getValue();h&&this.findValueInExpression(h,r)&&i.push(l)}}return i},e.prototype.findValueInExpression=function(t,n){var r=!1;return t.accept(function(i){return i.type===m.Identifier&&i.matches(n)&&(r=!0),!r}),r},e.prototype.getEntries=function(t){return t===void 0&&(t=Ce.Warning|Ce.Error),this.warnings.filter(function(n){return(n.getLevel()&t)!==0})},e.prototype.addEntry=function(t,n,r){var i=new ps(t,n,this.settings.getRule(n),r);this.warnings.push(i)},e.prototype.getMissingNames=function(t,n){for(var r=t.slice(0),i=0;i<n.length;i++){var a=r.indexOf(n[i]);a!==-1&&(r[a]=null)}for(var o=null,i=0;i<r.length;i++){var l=r[i];l&&(o===null?o=He(\"namelist.single\",\"'{0}'\",l):o=He(\"namelist.concatenated\",\"{0}, '{1}'\",o,l))}return o},e.prototype.visitNode=function(t){switch(t.type){case m.UnknownAtRule:return this.visitUnknownAtRule(t);case m.Keyframe:return this.visitKeyframe(t);case m.FontFace:return this.visitFontFace(t);case m.Ruleset:return this.visitRuleSet(t);case m.SimpleSelector:return this.visitSimpleSelector(t);case m.Function:return this.visitFunction(t);case m.NumericValue:return this.visitNumericValue(t);case m.Import:return this.visitImport(t);case m.HexColorValue:return this.visitHexColorValue(t);case m.Prio:return this.visitPrio(t);case m.IdentifierSelector:return this.visitIdentifierSelector(t)}return!0},e.prototype.completeValidations=function(){this.validateKeyframes()},e.prototype.visitUnknownAtRule=function(t){var n=t.getChild(0);if(!n)return!1;var r=this.cssDataManager.getAtDirective(n.getText());return r?!1:(this.addEntry(n,Q.UnknownAtRules,\"Unknown at rule \".concat(n.getText())),!0)},e.prototype.visitKeyframe=function(t){var n=t.getKeyword();if(!n)return!1;var r=n.getText();return this.keyframes.add(t.getName(),r,r!==\"@keyframes\"?n:null),!0},e.prototype.validateKeyframes=function(){var t=[\"@-webkit-keyframes\",\"@-moz-keyframes\",\"@-o-keyframes\"];for(var n in this.keyframes.data){var r=this.keyframes.data[n].names,i=r.indexOf(\"@keyframes\")===-1;if(!(!i&&r.length===1)){var a=this.getMissingNames(t,r);if(a||i)for(var o=0,l=this.keyframes.data[n].nodes;o<l.length;o++){var h=l[o];if(i){var c=He(\"keyframes.standardrule.missing\",\"Always define standard rule '@keyframes' when defining keyframes.\");this.addEntry(h,Q.IncludeStandardPropertyWhenUsingVendorPrefix,c)}if(a){var c=He(\"keyframes.vendorspecific.missing\",\"Always include all vendor specific rules: Missing: {0}\",a);this.addEntry(h,Q.AllVendorPrefixes,c)}}}}return!0},e.prototype.visitSimpleSelector=function(t){var n=this.documentText.charAt(t.offset);return t.length===1&&n===\"*\"&&this.addEntry(t,Q.UniversalSelector),!0},e.prototype.visitIdentifierSelector=function(t){return this.addEntry(t,Q.AvoidIdSelector),!0},e.prototype.visitImport=function(t){return this.addEntry(t,Q.ImportStatemement),!0},e.prototype.visitRuleSet=function(t){var n=t.getDeclarations();if(!n)return!1;n.hasChildren()||this.addEntry(t.getSelectors(),Q.EmptyRuleSet);for(var r=[],i=0,a=n.getChildren();i<a.length;i++){var o=a[i];o instanceof Oe&&r.push(new id(o))}var l=ld(r);if(l.width){var h=[];if(l.right.value&&(h=Tn(h,l.right.properties)),l.left.value&&(h=Tn(h,l.left.properties)),h.length!==0){for(var c=0,d=h;c<d.length;c++){var p=d[c];this.addEntry(p.node,Q.BewareOfBoxModelSize)}this.addEntry(l.width.node,Q.BewareOfBoxModelSize)}}if(l.height){var h=[];if(l.top.value&&(h=Tn(h,l.top.properties)),l.bottom.value&&(h=Tn(h,l.bottom.properties)),h.length!==0){for(var f=0,g=h;f<g.length;f++){var p=g[f];this.addEntry(p.node,Q.BewareOfBoxModelSize)}this.addEntry(l.height.node,Q.BewareOfBoxModelSize)}}var w=this.fetchWithValue(r,\"display\",\"inline-block\");if(w.length>0)for(var b=this.fetch(r,\"float\"),y=0;y<b.length;y++){var A=b[y].node,C=A.getValue();C&&!C.matches(\"none\")&&this.addEntry(A,Q.PropertyIgnoredDueToDisplay,He(\"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'\"))}if(w=this.fetchWithValue(r,\"display\",\"block\"),w.length>0)for(var b=this.fetch(r,\"vertical-align\"),y=0;y<b.length;y++)this.addEntry(b[y].node,Q.PropertyIgnoredDueToDisplay,He(\"rule.propertyIgnoredDueToDisplayBlock\",\"Property is ignored due to the display. With 'display: block', vertical-align should not be used.\"));for(var R=this.fetch(r,\"float\"),y=0;y<R.length;y++){var o=R[y];this.isValidPropertyDeclaration(o)||this.addEntry(o.node,Q.AvoidFloat)}for(var k=0;k<r.length;k++){var o=r[k];if(o.fullPropertyName!==\"background\"&&!this.validProperties[o.fullPropertyName]){var C=o.node.getValue();if(C&&this.documentText.charAt(C.offset)!==\"-\"){var F=this.fetch(r,o.fullPropertyName);if(F.length>1)for(var P=0;P<F.length;P++){var N=F[P].node.getValue();N&&this.documentText.charAt(N.offset)!==\"-\"&&F[P]!==o&&this.addEntry(o.node,Q.DuplicateDeclarations)}}}}var z=t.getSelectors().matches(\":export\");if(!z){for(var T=new Fo,j=!1,U=0,V=r;U<V.length;U++){var o=V[U],ie=o.node;if(this.isCSSDeclaration(ie)){var me=o.fullPropertyName,Ie=me.charAt(0);if(Ie===\"-\"){if(me.charAt(1)!==\"-\"){!this.cssDataManager.isKnownProperty(me)&&!this.validProperties[me]&&this.addEntry(ie.getProperty(),Q.UnknownVendorSpecificProperty);var Le=ie.getNonPrefixedPropertyName();T.add(Le,me,ie.getProperty())}}else{var D=me;(Ie===\"*\"||Ie===\"_\")&&(this.addEntry(ie.getProperty(),Q.IEStarHack),me=me.substr(1)),!this.cssDataManager.isKnownProperty(D)&&!this.cssDataManager.isKnownProperty(me)&&(this.validProperties[me]||this.addEntry(ie.getProperty(),Q.UnknownProperty,He(\"property.unknownproperty.detailed\",\"Unknown property: '{0}'\",ie.getFullPropertyName()))),T.add(me,me,null)}}else j=!0}if(!j)for(var S in T.data){var E=T.data[S],M=E.names,$=this.cssDataManager.isStandardProperty(S)&&M.indexOf(S)===-1;if(!(!$&&M.length===1)){for(var H=[],k=0,Y=e.prefixes.length;k<Y;k++){var Ue=e.prefixes[k];this.cssDataManager.isStandardProperty(Ue+S)&&H.push(Ue+S)}var be=this.getMissingNames(H,M);if(be||$)for(var _e=0,pt=E.nodes;_e<pt.length;_e++){var Je=pt[_e];if($){var Si=He(\"property.standard.missing\",\"Also define the standard property '{0}' for compatibility\",S);this.addEntry(Je,Q.IncludeStandardPropertyWhenUsingVendorPrefix,Si)}if(be){var Si=He(\"property.vendorspecific.missing\",\"Always include all vendor specific properties: Missing: {0}\",be);this.addEntry(Je,Q.AllVendorPrefixes,Si)}}}}}return!0},e.prototype.visitPrio=function(t){return this.addEntry(t,Q.AvoidImportant),!0},e.prototype.visitNumericValue=function(t){var n=t.findParent(m.Function);if(n&&n.getName()===\"calc\")return!0;var r=t.findParent(m.Declaration);if(r){var i=r.getValue();if(i){var a=t.getValue();if(!a.unit||so.length.indexOf(a.unit.toLowerCase())===-1)return!0;parseFloat(a.value)===0&&!!a.unit&&!this.validProperties[r.getFullPropertyName()]&&this.addEntry(t,Q.ZeroWithUnit)}}return!0},e.prototype.visitFontFace=function(t){var n=t.getDeclarations();if(!n)return!1;for(var r=!1,i=!1,a=!1,o=0,l=n.getChildren();o<l.length;o++){var h=l[o];if(this.isCSSDeclaration(h)){var c=h.getProperty().getName().toLowerCase();c===\"src\"&&(r=!0),c===\"font-family\"&&(i=!0)}else a=!0}return!a&&(!r||!i)&&this.addEntry(t,Q.RequiredPropertiesForFontFace),!0},e.prototype.isCSSDeclaration=function(t){if(t instanceof Oe){if(!t.getValue())return!1;var n=t.getProperty();if(!n)return!1;var r=n.getIdentifier();return!(!r||r.containsInterpolation())}return!1},e.prototype.visitHexColorValue=function(t){var n=t.length;return n!==9&&n!==7&&n!==5&&n!==4&&this.addEntry(t,Q.HexColorLength),!1},e.prototype.visitFunction=function(t){var n=t.getName().toLowerCase(),r=-1,i=0;switch(n){case\"rgb(\":case\"hsl(\":r=3;break;case\"rgba(\":case\"hsla(\":r=4;break}return r!==-1&&(t.getArguments().accept(function(a){return a instanceof Pr?(i+=1,!1):!0}),i!==r&&this.addEntry(t,Q.ArgsInColorFunction)),!0},e.prefixes=[\"-ms-\",\"-moz-\",\"-o-\",\"-webkit-\"],e}(),hi=function(){function e(t){this.cssDataManager=t}return e.prototype.configure=function(t){this.settings=t},e.prototype.doValidation=function(t,n,r){if(r===void 0&&(r=this.settings),r&&r.validate===!1)return[];var i=[];i.push.apply(i,lh.entries(n)),i.push.apply(i,cd.entries(n,t,new td(r&&r.lint),this.cssDataManager));var a=[];for(var o in Q)a.push(Q[o].id);function l(h){var c=Z.create(t.positionAt(h.getOffset()),t.positionAt(h.getOffset()+h.getLength())),d=t.languageId;return{code:h.getRule().id,source:d,message:h.getMessage(),severity:h.getLevel()===Ce.Warning?Fn.Warning:Fn.Error,range:c}}return i.filter(function(h){return h.getLevel()!==Ce.Ignore}).map(l)},e}(),hd=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])},e(t,n)};return function(t,n){if(typeof n!=\"function\"&&n!==null)throw new TypeError(\"Class extends value \"+String(n)+\" is not a constructor or null\");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),_o=\"/\".charCodeAt(0),dd=`\n`.charCodeAt(0),ud=\"\\r\".charCodeAt(0),pd=\"\\f\".charCodeAt(0),fd=\"$\".charCodeAt(0),md=\"#\".charCodeAt(0),gd=\"{\".charCodeAt(0),an=\"=\".charCodeAt(0),bd=\"!\".charCodeAt(0),vd=\"<\".charCodeAt(0),yd=\">\".charCodeAt(0),di=\".\".charCodeAt(0),Ge=u.CustomToken,ui=Ge++,Bn=Ge++;Ge++;var Do=Ge++,Eo=Ge++,Ro=Ge++,Ao=Ge++,jn=Ge++;Ge++;var zo=function(e){hd(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.scanNext=function(n){if(this.stream.advanceIfChar(fd)){var r=[\"$\"];if(this.ident(r))return this.finishToken(n,ui,r.join(\"\"));this.stream.goBackTo(n)}return this.stream.advanceIfChars([md,gd])?this.finishToken(n,Bn):this.stream.advanceIfChars([an,an])?this.finishToken(n,Do):this.stream.advanceIfChars([bd,an])?this.finishToken(n,Eo):this.stream.advanceIfChar(vd)?this.stream.advanceIfChar(an)?this.finishToken(n,Ao):this.finishToken(n,u.Delim):this.stream.advanceIfChar(yd)?this.stream.advanceIfChar(an)?this.finishToken(n,Ro):this.finishToken(n,u.Delim):this.stream.advanceIfChars([di,di,di])?this.finishToken(n,jn):e.prototype.scanNext.call(this,n)},t.prototype.comment=function(){return e.prototype.comment.call(this)?!0:!this.inURL&&this.stream.advanceIfChars([_o,_o])?(this.stream.advanceWhileChar(function(n){switch(n){case dd:case ud:case pd:return!1;default:return!0}}),!0):!1},t}(Ut),pi=Ne(),fi=function(){function e(t,n){this.id=t,this.message=n}return e}(),mi={FromExpected:new fi(\"scss-fromexpected\",pi(\"expected.from\",\"'from' expected\")),ThroughOrToExpected:new fi(\"scss-throughexpected\",pi(\"expected.through\",\"'through' or 'to' expected\")),InExpected:new fi(\"scss-fromexpected\",pi(\"expected.in\",\"'in' expected\"))},wd=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])},e(t,n)};return function(t,n){if(typeof n!=\"function\"&&n!==null)throw new TypeError(\"Class extends value \"+String(n)+\" is not a constructor or null\");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),xd=function(e){wd(t,e);function t(){return e.call(this,new zo)||this}return t.prototype._parseStylesheetStatement=function(n){return n===void 0&&(n=!1),this.peek(u.AtKeyword)?this._parseWarnAndDebug()||this._parseControlStatement()||this._parseMixinDeclaration()||this._parseMixinContent()||this._parseMixinReference()||this._parseFunctionDeclaration()||this._parseForward()||this._parseUse()||this._parseRuleset(n)||e.prototype._parseStylesheetAtStatement.call(this,n):this._parseRuleset(!0)||this._parseVariableDeclaration()},t.prototype._parseImport=function(){if(!this.peekKeyword(\"@import\"))return null;var n=this.create(Mr);if(this.consumeToken(),!n.addChild(this._parseURILiteral())&&!n.addChild(this._parseStringLiteral()))return this.finish(n,v.URIOrStringExpected);for(;this.accept(u.Comma);)if(!n.addChild(this._parseURILiteral())&&!n.addChild(this._parseStringLiteral()))return this.finish(n,v.URIOrStringExpected);return!this.peek(u.SemiColon)&&!this.peek(u.EOF)&&n.setMedialist(this._parseMediaQueryList()),this.finish(n)},t.prototype._parseVariableDeclaration=function(n){if(n===void 0&&(n=[]),!this.peek(ui))return null;var r=this.create(Sn);if(!r.setVariable(this._parseVariable()))return null;if(!this.accept(u.Colon))return this.finish(r,v.ColonExpected);if(this.prevToken&&(r.colonPosition=this.prevToken.offset),!r.setValue(this._parseExpr()))return this.finish(r,v.VariableValueExpected,[],n);for(;this.peek(u.Exclamation);)if(!r.addChild(this._tryParsePrio())){if(this.consumeToken(),!this.peekRegExp(u.Ident,/^(default|global)$/))return this.finish(r,v.UnknownKeyword);this.consumeToken()}return this.peek(u.SemiColon)&&(r.semicolonPosition=this.token.offset),this.finish(r)},t.prototype._parseMediaCondition=function(){return this._parseInterpolation()||e.prototype._parseMediaCondition.call(this)},t.prototype._parseMediaFeatureName=function(){return this._parseModuleMember()||this._parseFunction()||this._parseIdent()||this._parseVariable()},t.prototype._parseKeyframeSelector=function(){return this._tryParseKeyframeSelector()||this._parseControlStatement(this._parseKeyframeSelector.bind(this))||this._parseVariableDeclaration()||this._parseMixinContent()},t.prototype._parseVariable=function(){if(!this.peek(ui))return null;var n=this.create(Wr);return this.consumeToken(),n},t.prototype._parseModuleMember=function(){var n=this.mark(),r=this.create(us);return r.setIdentifier(this._parseIdent([G.Module]))?this.hasWhitespace()||!this.acceptDelim(\".\")||this.hasWhitespace()?(this.restoreAtMark(n),null):r.addChild(this._parseVariable()||this._parseFunction())?r:this.finish(r,v.IdentifierOrVariableExpected):null},t.prototype._parseIdent=function(n){var r=this;if(!this.peek(u.Ident)&&!this.peek(Bn)&&!this.peekDelim(\"-\"))return null;var i=this.create(Ee);i.referenceTypes=n,i.isCustomProperty=this.peekRegExp(u.Ident,/^--/);for(var a=!1,o=function(){var l=r.mark();return r.acceptDelim(\"-\")&&(r.hasWhitespace()||r.acceptDelim(\"-\"),r.hasWhitespace())?(r.restoreAtMark(l),null):r._parseInterpolation()};(this.accept(u.Ident)||i.addChild(o())||a&&this.acceptRegexp(/^[\\w-]/))&&(a=!0,!this.hasWhitespace()););return a?this.finish(i):null},t.prototype._parseTermExpression=function(){return this._parseModuleMember()||this._parseVariable()||this._parseSelectorCombinator()||e.prototype._parseTermExpression.call(this)},t.prototype._parseInterpolation=function(){if(this.peek(Bn)){var n=this.create(Tr);return this.consumeToken(),!n.addChild(this._parseExpr())&&!this._parseSelectorCombinator()?this.accept(u.CurlyR)?this.finish(n):this.finish(n,v.ExpressionExpected):this.accept(u.CurlyR)?this.finish(n):this.finish(n,v.RightCurlyExpected)}return null},t.prototype._parseOperator=function(){if(this.peek(Do)||this.peek(Eo)||this.peek(Ro)||this.peek(Ao)||this.peekDelim(\">\")||this.peekDelim(\"<\")||this.peekIdent(\"and\")||this.peekIdent(\"or\")||this.peekDelim(\"%\")){var n=this.createNode(m.Operator);return this.consumeToken(),this.finish(n)}return e.prototype._parseOperator.call(this)},t.prototype._parseUnaryOperator=function(){if(this.peekIdent(\"not\")){var n=this.create(L);return this.consumeToken(),this.finish(n)}return e.prototype._parseUnaryOperator.call(this)},t.prototype._parseRuleSetDeclaration=function(){return this.peek(u.AtKeyword)?this._parseKeyframe()||this._parseImport()||this._parseMedia(!0)||this._parseFontFace()||this._parseWarnAndDebug()||this._parseControlStatement()||this._parseFunctionDeclaration()||this._parseExtends()||this._parseMixinReference()||this._parseMixinContent()||this._parseMixinDeclaration()||this._parseRuleset(!0)||this._parseSupports(!0)||e.prototype._parseRuleSetDeclarationAtStatement.call(this):this._parseVariableDeclaration()||this._tryParseRuleset(!0)||e.prototype._parseRuleSetDeclaration.call(this)},t.prototype._parseDeclaration=function(n){var r=this._tryParseCustomPropertyDeclaration(n);if(r)return r;var i=this.create(Oe);if(!i.setProperty(this._parseProperty()))return null;if(!this.accept(u.Colon))return this.finish(i,v.ColonExpected,[u.Colon],n||[u.SemiColon]);this.prevToken&&(i.colonPosition=this.prevToken.offset);var a=!1;if(i.setValue(this._parseExpr())&&(a=!0,i.addChild(this._parsePrio())),this.peek(u.CurlyL))i.setNestedProperties(this._parseNestedProperties());else if(!a)return this.finish(i,v.PropertyValueExpected);return this.peek(u.SemiColon)&&(i.semicolonPosition=this.token.offset),this.finish(i)},t.prototype._parseNestedProperties=function(){var n=this.create(is);return this._parseBody(n,this._parseDeclaration.bind(this))},t.prototype._parseExtends=function(){if(this.peekKeyword(\"@extend\")){var n=this.create($t);if(this.consumeToken(),!n.getSelectors().addChild(this._parseSimpleSelector()))return this.finish(n,v.SelectorExpected);for(;this.accept(u.Comma);)n.getSelectors().addChild(this._parseSimpleSelector());return this.accept(u.Exclamation)&&!this.acceptIdent(\"optional\")?this.finish(n,v.UnknownKeyword):this.finish(n)}return null},t.prototype._parseSimpleSelectorBody=function(){return this._parseSelectorCombinator()||this._parseSelectorPlaceholder()||e.prototype._parseSimpleSelectorBody.call(this)},t.prototype._parseSelectorCombinator=function(){if(this.peekDelim(\"&\")){var n=this.createNode(m.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim(\"-\")||this.accept(u.Num)||this.accept(u.Dimension)||n.addChild(this._parseIdent())||this.acceptDelim(\"&\")););return this.finish(n)}return null},t.prototype._parseSelectorPlaceholder=function(){if(this.peekDelim(\"%\")){var n=this.createNode(m.SelectorPlaceholder);return this.consumeToken(),this._parseIdent(),this.finish(n)}else if(this.peekKeyword(\"@at-root\")){var n=this.createNode(m.SelectorPlaceholder);return this.consumeToken(),this.finish(n)}return null},t.prototype._parseElementName=function(){var n=this.mark(),r=e.prototype._parseElementName.call(this);return r&&!this.hasWhitespace()&&this.peek(u.ParenthesisL)?(this.restoreAtMark(n),null):r},t.prototype._tryParsePseudoIdentifier=function(){return this._parseInterpolation()||e.prototype._tryParsePseudoIdentifier.call(this)},t.prototype._parseWarnAndDebug=function(){if(!this.peekKeyword(\"@debug\")&&!this.peekKeyword(\"@warn\")&&!this.peekKeyword(\"@error\"))return null;var n=this.createNode(m.Debug);return this.consumeToken(),n.addChild(this._parseExpr()),this.finish(n)},t.prototype._parseControlStatement=function(n){return n===void 0&&(n=this._parseRuleSetDeclaration.bind(this)),this.peek(u.AtKeyword)?this._parseIfStatement(n)||this._parseForStatement(n)||this._parseEachStatement(n)||this._parseWhileStatement(n):null},t.prototype._parseIfStatement=function(n){return this.peekKeyword(\"@if\")?this._internalParseIfStatement(n):null},t.prototype._internalParseIfStatement=function(n){var r=this.create(Ic);if(this.consumeToken(),!r.setExpression(this._parseExpr(!0)))return this.finish(r,v.ExpressionExpected);if(this._parseBody(r,n),this.acceptKeyword(\"@else\")){if(this.peekIdent(\"if\"))r.setElseClause(this._internalParseIfStatement(n));else if(this.peek(u.CurlyL)){var i=this.create(Oc);this._parseBody(i,n),r.setElseClause(i)}}return this.finish(r)},t.prototype._parseForStatement=function(n){if(!this.peekKeyword(\"@for\"))return null;var r=this.create(Lc);return this.consumeToken(),r.setVariable(this._parseVariable())?this.acceptIdent(\"from\")?r.addChild(this._parseBinaryExpr())?!this.acceptIdent(\"to\")&&!this.acceptIdent(\"through\")?this.finish(r,mi.ThroughOrToExpected,[u.CurlyR]):r.addChild(this._parseBinaryExpr())?this._parseBody(r,n):this.finish(r,v.ExpressionExpected,[u.CurlyR]):this.finish(r,v.ExpressionExpected,[u.CurlyR]):this.finish(r,mi.FromExpected,[u.CurlyR]):this.finish(r,v.VariableNameExpected,[u.CurlyR])},t.prototype._parseEachStatement=function(n){if(!this.peekKeyword(\"@each\"))return null;var r=this.create(Tc);this.consumeToken();var i=r.getVariables();if(!i.addChild(this._parseVariable()))return this.finish(r,v.VariableNameExpected,[u.CurlyR]);for(;this.accept(u.Comma);)if(!i.addChild(this._parseVariable()))return this.finish(r,v.VariableNameExpected,[u.CurlyR]);return this.finish(i),this.acceptIdent(\"in\")?r.addChild(this._parseExpr())?this._parseBody(r,n):this.finish(r,v.ExpressionExpected,[u.CurlyR]):this.finish(r,mi.InExpected,[u.CurlyR])},t.prototype._parseWhileStatement=function(n){if(!this.peekKeyword(\"@while\"))return null;var r=this.create(Wc);return this.consumeToken(),r.addChild(this._parseBinaryExpr())?this._parseBody(r,n):this.finish(r,v.ExpressionExpected,[u.CurlyR])},t.prototype._parseFunctionBodyDeclaration=function(){return this._parseVariableDeclaration()||this._parseReturnStatement()||this._parseWarnAndDebug()||this._parseControlStatement(this._parseFunctionBodyDeclaration.bind(this))},t.prototype._parseFunctionDeclaration=function(){if(!this.peekKeyword(\"@function\"))return null;var n=this.create(xn);if(this.consumeToken(),!n.setIdentifier(this._parseIdent([G.Function])))return this.finish(n,v.IdentifierExpected,[u.CurlyR]);if(!this.accept(u.ParenthesisL))return this.finish(n,v.LeftParenthesisExpected,[u.CurlyR]);if(n.getParameters().addChild(this._parseParameterDeclaration())){for(;this.accept(u.Comma)&&!this.peek(u.ParenthesisR);)if(!n.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(n,v.VariableNameExpected)}return this.accept(u.ParenthesisR)?this._parseBody(n,this._parseFunctionBodyDeclaration.bind(this)):this.finish(n,v.RightParenthesisExpected,[u.CurlyR])},t.prototype._parseReturnStatement=function(){if(!this.peekKeyword(\"@return\"))return null;var n=this.createNode(m.ReturnStatement);return this.consumeToken(),n.addChild(this._parseExpr())?this.finish(n):this.finish(n,v.ExpressionExpected)},t.prototype._parseMixinDeclaration=function(){if(!this.peekKeyword(\"@mixin\"))return null;var n=this.create(Ht);if(this.consumeToken(),!n.setIdentifier(this._parseIdent([G.Mixin])))return this.finish(n,v.IdentifierExpected,[u.CurlyR]);if(this.accept(u.ParenthesisL)){if(n.getParameters().addChild(this._parseParameterDeclaration())){for(;this.accept(u.Comma)&&!this.peek(u.ParenthesisR);)if(!n.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(n,v.VariableNameExpected)}if(!this.accept(u.ParenthesisR))return this.finish(n,v.RightParenthesisExpected,[u.CurlyR])}return this._parseBody(n,this._parseRuleSetDeclaration.bind(this))},t.prototype._parseParameterDeclaration=function(){var n=this.create(wn);return n.setIdentifier(this._parseVariable())?(this.accept(jn),this.accept(u.Colon)&&!n.setDefaultValue(this._parseExpr(!0))?this.finish(n,v.VariableValueExpected,[],[u.Comma,u.ParenthesisR]):this.finish(n)):null},t.prototype._parseMixinContent=function(){if(!this.peekKeyword(\"@content\"))return null;var n=this.create(rh);if(this.consumeToken(),this.accept(u.ParenthesisL)){if(n.getArguments().addChild(this._parseFunctionArgument())){for(;this.accept(u.Comma)&&!this.peek(u.ParenthesisR);)if(!n.getArguments().addChild(this._parseFunctionArgument()))return this.finish(n,v.ExpressionExpected)}if(!this.accept(u.ParenthesisR))return this.finish(n,v.RightParenthesisExpected)}return this.finish(n)},t.prototype._parseMixinReference=function(){if(!this.peekKeyword(\"@include\"))return null;var n=this.create(Cn);this.consumeToken();var r=this._parseIdent([G.Mixin]);if(!n.setIdentifier(r))return this.finish(n,v.IdentifierExpected,[u.CurlyR]);if(!this.hasWhitespace()&&this.acceptDelim(\".\")&&!this.hasWhitespace()){var i=this._parseIdent([G.Mixin]);if(!i)return this.finish(n,v.IdentifierExpected,[u.CurlyR]);var a=this.create(us);r.referenceTypes=[G.Module],a.setIdentifier(r),n.setIdentifier(i),n.addChild(a)}if(this.accept(u.ParenthesisL)){if(n.getArguments().addChild(this._parseFunctionArgument())){for(;this.accept(u.Comma)&&!this.peek(u.ParenthesisR);)if(!n.getArguments().addChild(this._parseFunctionArgument()))return this.finish(n,v.ExpressionExpected)}if(!this.accept(u.ParenthesisR))return this.finish(n,v.RightParenthesisExpected)}return(this.peekIdent(\"using\")||this.peek(u.CurlyL))&&n.setContent(this._parseMixinContentDeclaration()),this.finish(n)},t.prototype._parseMixinContentDeclaration=function(){var n=this.create(ih);if(this.acceptIdent(\"using\")){if(!this.accept(u.ParenthesisL))return this.finish(n,v.LeftParenthesisExpected,[u.CurlyL]);if(n.getParameters().addChild(this._parseParameterDeclaration())){for(;this.accept(u.Comma)&&!this.peek(u.ParenthesisR);)if(!n.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(n,v.VariableNameExpected)}if(!this.accept(u.ParenthesisR))return this.finish(n,v.RightParenthesisExpected,[u.CurlyL])}return this.peek(u.CurlyL)&&this._parseBody(n,this._parseMixinReferenceBodyStatement.bind(this)),this.finish(n)},t.prototype._parseMixinReferenceBodyStatement=function(){return this._tryParseKeyframeSelector()||this._parseRuleSetDeclaration()},t.prototype._parseFunctionArgument=function(){var n=this.create(_t),r=this.mark(),i=this._parseVariable();if(i)if(this.accept(u.Colon))n.setIdentifier(i);else{if(this.accept(jn))return n.setValue(i),this.finish(n);this.restoreAtMark(r)}return n.setValue(this._parseExpr(!0))?(this.accept(jn),n.addChild(this._parsePrio()),this.finish(n)):n.setValue(this._tryParsePrio())?this.finish(n):null},t.prototype._parseURLArgument=function(){var n=this.mark(),r=e.prototype._parseURLArgument.call(this);if(!r||!this.peek(u.ParenthesisR)){this.restoreAtMark(n);var i=this.create(L);return i.addChild(this._parseBinaryExpr()),this.finish(i)}return r},t.prototype._parseOperation=function(){if(!this.peek(u.ParenthesisL))return null;var n=this.create(L);for(this.consumeToken();n.addChild(this._parseListElement());)this.accept(u.Comma);return this.accept(u.ParenthesisR)?this.finish(n):this.finish(n,v.RightParenthesisExpected)},t.prototype._parseListElement=function(){var n=this.create(ah),r=this._parseBinaryExpr();if(!r)return null;if(this.accept(u.Colon)){if(n.setKey(r),!n.setValue(this._parseBinaryExpr()))return this.finish(n,v.ExpressionExpected)}else n.setValue(r);return this.finish(n)},t.prototype._parseUse=function(){if(!this.peekKeyword(\"@use\"))return null;var n=this.create(Uc);if(this.consumeToken(),!n.addChild(this._parseStringLiteral()))return this.finish(n,v.StringLiteralExpected);if(!this.peek(u.SemiColon)&&!this.peek(u.EOF)){if(!this.peekRegExp(u.Ident,/as|with/))return this.finish(n,v.UnknownKeyword);if(this.acceptIdent(\"as\")&&!n.setIdentifier(this._parseIdent([G.Module]))&&!this.acceptDelim(\"*\"))return this.finish(n,v.IdentifierOrWildcardExpected);if(this.acceptIdent(\"with\")){if(!this.accept(u.ParenthesisL))return this.finish(n,v.LeftParenthesisExpected,[u.ParenthesisR]);if(!n.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(n,v.VariableNameExpected);for(;this.accept(u.Comma)&&!this.peek(u.ParenthesisR);)if(!n.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(n,v.VariableNameExpected);if(!this.accept(u.ParenthesisR))return this.finish(n,v.RightParenthesisExpected)}}return!this.accept(u.SemiColon)&&!this.accept(u.EOF)?this.finish(n,v.SemiColonExpected):this.finish(n)},t.prototype._parseModuleConfigDeclaration=function(){var n=this.create(Bc);return n.setIdentifier(this._parseVariable())?!this.accept(u.Colon)||!n.setValue(this._parseExpr(!0))?this.finish(n,v.VariableValueExpected,[],[u.Comma,u.ParenthesisR]):this.accept(u.Exclamation)&&(this.hasWhitespace()||!this.acceptIdent(\"default\"))?this.finish(n,v.UnknownKeyword):this.finish(n):null},t.prototype._parseForward=function(){if(!this.peekKeyword(\"@forward\"))return null;var n=this.create(jc);if(this.consumeToken(),!n.addChild(this._parseStringLiteral()))return this.finish(n,v.StringLiteralExpected);if(this.acceptIdent(\"with\")){if(!this.accept(u.ParenthesisL))return this.finish(n,v.LeftParenthesisExpected,[u.ParenthesisR]);if(!n.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(n,v.VariableNameExpected);for(;this.accept(u.Comma)&&!this.peek(u.ParenthesisR);)if(!n.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(n,v.VariableNameExpected);if(!this.accept(u.ParenthesisR))return this.finish(n,v.RightParenthesisExpected)}if(!this.peek(u.SemiColon)&&!this.peek(u.EOF)){if(!this.peekRegExp(u.Ident,/as|hide|show/))return this.finish(n,v.UnknownKeyword);if(this.acceptIdent(\"as\")){var r=this._parseIdent([G.Forward]);if(!n.setIdentifier(r))return this.finish(n,v.IdentifierExpected);if(this.hasWhitespace()||!this.acceptDelim(\"*\"))return this.finish(n,v.WildcardExpected)}if((this.peekIdent(\"hide\")||this.peekIdent(\"show\"))&&!n.addChild(this._parseForwardVisibility()))return this.finish(n,v.IdentifierOrVariableExpected)}return!this.accept(u.SemiColon)&&!this.accept(u.EOF)?this.finish(n,v.SemiColonExpected):this.finish(n)},t.prototype._parseForwardVisibility=function(){var n=this.create(qc);for(n.setIdentifier(this._parseIdent());n.addChild(this._parseVariable()||this._parseIdent());)this.accept(u.Comma);return n.getChildren().length>1?n:null},t.prototype._parseSupportsCondition=function(){return this._parseInterpolation()||e.prototype._parseSupportsCondition.call(this)},t}(Jr),Sd=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])},e(t,n)};return function(t,n){if(typeof n!=\"function\"&&n!==null)throw new TypeError(\"Class extends value \"+String(n)+\" is not a constructor or null\");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),_=Ne(),Cd=function(e){Sd(t,e);function t(n,r){var i=e.call(this,\"$\",n,r)||this;return Mo(t.scssModuleLoaders),Mo(t.scssModuleBuiltIns),i}return t.prototype.isImportPathParent=function(n){return n===m.Forward||n===m.Use||e.prototype.isImportPathParent.call(this,n)},t.prototype.getCompletionForImportPath=function(n,r){var i=n.getParent().type;if(i===m.Forward||i===m.Use)for(var a=0,o=t.scssModuleBuiltIns;a<o.length;a++){var l=o[a],h={label:l.label,documentation:l.documentation,textEdit:B.replace(this.getCompletionRange(n),\"'\".concat(l.label,\"'\")),kind:O.Module};r.items.push(h)}return e.prototype.getCompletionForImportPath.call(this,n,r)},t.prototype.createReplaceFunction=function(){var n=1;return function(r,i){return\"\\\\\"+i+\": ${\"+n+++\":\"+(t.variableDefaults[i]||\"\")+\"}\"}},t.prototype.createFunctionProposals=function(n,r,i,a){for(var o=0,l=n;o<l.length;o++){var h=l[o],c=h.func.replace(/\\[?(\\$\\w+)\\]?/g,this.createReplaceFunction()),d=h.func.substr(0,h.func.indexOf(\"(\")),p={label:d,detail:h.func,documentation:h.desc,textEdit:B.replace(this.getCompletionRange(r),c),insertTextFormat:Fe.Snippet,kind:O.Function};i&&(p.sortText=\"z\"),a.items.push(p)}return a},t.prototype.getCompletionsForSelector=function(n,r,i){return this.createFunctionProposals(t.selectorFuncs,null,!0,i),e.prototype.getCompletionsForSelector.call(this,n,r,i)},t.prototype.getTermProposals=function(n,r,i){var a=t.builtInFuncs;return n&&(a=a.filter(function(o){return!o.type||!n.restrictions||n.restrictions.indexOf(o.type)!==-1})),this.createFunctionProposals(a,r,!0,i),e.prototype.getTermProposals.call(this,n,r,i)},t.prototype.getColorProposals=function(n,r,i){return this.createFunctionProposals(t.colorProposals,r,!1,i),e.prototype.getColorProposals.call(this,n,r,i)},t.prototype.getCompletionsForDeclarationProperty=function(n,r){return this.getCompletionForAtDirectives(r),this.getCompletionsForSelector(null,!0,r),e.prototype.getCompletionsForDeclarationProperty.call(this,n,r)},t.prototype.getCompletionsForExtendsReference=function(n,r,i){for(var a=this.getSymbolContext().findSymbolsAtOffset(this.offset,G.Rule),o=0,l=a;o<l.length;o++){var h=l[o],c={label:h.name,textEdit:B.replace(this.getCompletionRange(r),h.name),kind:O.Function};i.items.push(c)}return i},t.prototype.getCompletionForAtDirectives=function(n){var r;return(r=n.items).push.apply(r,t.scssAtDirectives),n},t.prototype.getCompletionForTopLevel=function(n){return this.getCompletionForAtDirectives(n),this.getCompletionForModuleLoaders(n),e.prototype.getCompletionForTopLevel.call(this,n),n},t.prototype.getCompletionForModuleLoaders=function(n){var r;return(r=n.items).push.apply(r,t.scssModuleLoaders),n},t.variableDefaults={$red:\"1\",$green:\"2\",$blue:\"3\",$alpha:\"1.0\",$color:\"#000000\",$weight:\"0.5\",$hue:\"0\",$saturation:\"0%\",$lightness:\"0%\",$degrees:\"0\",$amount:\"0\",$string:'\"\"',$substring:'\"s\"',$number:\"0\",$limit:\"1\"},t.colorProposals=[{func:\"red($color)\",desc:_(\"scss.builtin.red\",\"Gets the red component of a color.\")},{func:\"green($color)\",desc:_(\"scss.builtin.green\",\"Gets the green component of a color.\")},{func:\"blue($color)\",desc:_(\"scss.builtin.blue\",\"Gets the blue component of a color.\")},{func:\"mix($color, $color, [$weight])\",desc:_(\"scss.builtin.mix\",\"Mixes two colors together.\")},{func:\"hue($color)\",desc:_(\"scss.builtin.hue\",\"Gets the hue component of a color.\")},{func:\"saturation($color)\",desc:_(\"scss.builtin.saturation\",\"Gets the saturation component of a color.\")},{func:\"lightness($color)\",desc:_(\"scss.builtin.lightness\",\"Gets the lightness component of a color.\")},{func:\"adjust-hue($color, $degrees)\",desc:_(\"scss.builtin.adjust-hue\",\"Changes the hue of a color.\")},{func:\"lighten($color, $amount)\",desc:_(\"scss.builtin.lighten\",\"Makes a color lighter.\")},{func:\"darken($color, $amount)\",desc:_(\"scss.builtin.darken\",\"Makes a color darker.\")},{func:\"saturate($color, $amount)\",desc:_(\"scss.builtin.saturate\",\"Makes a color more saturated.\")},{func:\"desaturate($color, $amount)\",desc:_(\"scss.builtin.desaturate\",\"Makes a color less saturated.\")},{func:\"grayscale($color)\",desc:_(\"scss.builtin.grayscale\",\"Converts a color to grayscale.\")},{func:\"complement($color)\",desc:_(\"scss.builtin.complement\",\"Returns the complement of a color.\")},{func:\"invert($color)\",desc:_(\"scss.builtin.invert\",\"Returns the inverse of a color.\")},{func:\"alpha($color)\",desc:_(\"scss.builtin.alpha\",\"Gets the opacity component of a color.\")},{func:\"opacity($color)\",desc:\"Gets the alpha component (opacity) of a color.\"},{func:\"rgba($color, $alpha)\",desc:_(\"scss.builtin.rgba\",\"Changes the alpha component for a color.\")},{func:\"opacify($color, $amount)\",desc:_(\"scss.builtin.opacify\",\"Makes a color more opaque.\")},{func:\"fade-in($color, $amount)\",desc:_(\"scss.builtin.fade-in\",\"Makes a color more opaque.\")},{func:\"transparentize($color, $amount)\",desc:_(\"scss.builtin.transparentize\",\"Makes a color more transparent.\")},{func:\"fade-out($color, $amount)\",desc:_(\"scss.builtin.fade-out\",\"Makes a color more transparent.\")},{func:\"adjust-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])\",desc:_(\"scss.builtin.adjust-color\",\"Increases or decreases one or more components of a color.\")},{func:\"scale-color($color, [$red], [$green], [$blue], [$saturation], [$lightness], [$alpha])\",desc:_(\"scss.builtin.scale-color\",\"Fluidly scales one or more properties of a color.\")},{func:\"change-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])\",desc:_(\"scss.builtin.change-color\",\"Changes one or more properties of a color.\")},{func:\"ie-hex-str($color)\",desc:_(\"scss.builtin.ie-hex-str\",\"Converts a color into the format understood by IE filters.\")}],t.selectorFuncs=[{func:\"selector-nest($selectors\\u2026)\",desc:_(\"scss.builtin.selector-nest\",\"Nests selector beneath one another like they would be nested in the stylesheet.\")},{func:\"selector-append($selectors\\u2026)\",desc:_(\"scss.builtin.selector-append\",\"Appends selectors to one another without spaces in between.\")},{func:\"selector-extend($selector, $extendee, $extender)\",desc:_(\"scss.builtin.selector-extend\",\"Extends $extendee with $extender within $selector.\")},{func:\"selector-replace($selector, $original, $replacement)\",desc:_(\"scss.builtin.selector-replace\",\"Replaces $original with $replacement within $selector.\")},{func:\"selector-unify($selector1, $selector2)\",desc:_(\"scss.builtin.selector-unify\",\"Unifies two selectors to produce a selector that matches elements matched by both.\")},{func:\"is-superselector($super, $sub)\",desc:_(\"scss.builtin.is-superselector\",\"Returns whether $super matches all the elements $sub does, and possibly more.\")},{func:\"simple-selectors($selector)\",desc:_(\"scss.builtin.simple-selectors\",\"Returns the simple selectors that comprise a compound selector.\")},{func:\"selector-parse($selector)\",desc:_(\"scss.builtin.selector-parse\",\"Parses a selector into the format returned by &.\")}],t.builtInFuncs=[{func:\"unquote($string)\",desc:_(\"scss.builtin.unquote\",\"Removes quotes from a string.\")},{func:\"quote($string)\",desc:_(\"scss.builtin.quote\",\"Adds quotes to a string.\")},{func:\"str-length($string)\",desc:_(\"scss.builtin.str-length\",\"Returns the number of characters in a string.\")},{func:\"str-insert($string, $insert, $index)\",desc:_(\"scss.builtin.str-insert\",\"Inserts $insert into $string at $index.\")},{func:\"str-index($string, $substring)\",desc:_(\"scss.builtin.str-index\",\"Returns the index of the first occurance of $substring in $string.\")},{func:\"str-slice($string, $start-at, [$end-at])\",desc:_(\"scss.builtin.str-slice\",\"Extracts a substring from $string.\")},{func:\"to-upper-case($string)\",desc:_(\"scss.builtin.to-upper-case\",\"Converts a string to upper case.\")},{func:\"to-lower-case($string)\",desc:_(\"scss.builtin.to-lower-case\",\"Converts a string to lower case.\")},{func:\"percentage($number)\",desc:_(\"scss.builtin.percentage\",\"Converts a unitless number to a percentage.\"),type:\"percentage\"},{func:\"round($number)\",desc:_(\"scss.builtin.round\",\"Rounds a number to the nearest whole number.\")},{func:\"ceil($number)\",desc:_(\"scss.builtin.ceil\",\"Rounds a number up to the next whole number.\")},{func:\"floor($number)\",desc:_(\"scss.builtin.floor\",\"Rounds a number down to the previous whole number.\")},{func:\"abs($number)\",desc:_(\"scss.builtin.abs\",\"Returns the absolute value of a number.\")},{func:\"min($numbers)\",desc:_(\"scss.builtin.min\",\"Finds the minimum of several numbers.\")},{func:\"max($numbers)\",desc:_(\"scss.builtin.max\",\"Finds the maximum of several numbers.\")},{func:\"random([$limit])\",desc:_(\"scss.builtin.random\",\"Returns a random number.\")},{func:\"length($list)\",desc:_(\"scss.builtin.length\",\"Returns the length of a list.\")},{func:\"nth($list, $n)\",desc:_(\"scss.builtin.nth\",\"Returns a specific item in a list.\")},{func:\"set-nth($list, $n, $value)\",desc:_(\"scss.builtin.set-nth\",\"Replaces the nth item in a list.\")},{func:\"join($list1, $list2, [$separator])\",desc:_(\"scss.builtin.join\",\"Joins together two lists into one.\")},{func:\"append($list1, $val, [$separator])\",desc:_(\"scss.builtin.append\",\"Appends a single value onto the end of a list.\")},{func:\"zip($lists)\",desc:_(\"scss.builtin.zip\",\"Combines several lists into a single multidimensional list.\")},{func:\"index($list, $value)\",desc:_(\"scss.builtin.index\",\"Returns the position of a value within a list.\")},{func:\"list-separator(#list)\",desc:_(\"scss.builtin.list-separator\",\"Returns the separator of a list.\")},{func:\"map-get($map, $key)\",desc:_(\"scss.builtin.map-get\",\"Returns the value in a map associated with a given key.\")},{func:\"map-merge($map1, $map2)\",desc:_(\"scss.builtin.map-merge\",\"Merges two maps together into a new map.\")},{func:\"map-remove($map, $keys)\",desc:_(\"scss.builtin.map-remove\",\"Returns a new map with keys removed.\")},{func:\"map-keys($map)\",desc:_(\"scss.builtin.map-keys\",\"Returns a list of all keys in a map.\")},{func:\"map-values($map)\",desc:_(\"scss.builtin.map-values\",\"Returns a list of all values in a map.\")},{func:\"map-has-key($map, $key)\",desc:_(\"scss.builtin.map-has-key\",\"Returns whether a map has a value associated with a given key.\")},{func:\"keywords($args)\",desc:_(\"scss.builtin.keywords\",\"Returns the keywords passed to a function that takes variable arguments.\")},{func:\"feature-exists($feature)\",desc:_(\"scss.builtin.feature-exists\",\"Returns whether a feature exists in the current Sass runtime.\")},{func:\"variable-exists($name)\",desc:_(\"scss.builtin.variable-exists\",\"Returns whether a variable with the given name exists in the current scope.\")},{func:\"global-variable-exists($name)\",desc:_(\"scss.builtin.global-variable-exists\",\"Returns whether a variable with the given name exists in the global scope.\")},{func:\"function-exists($name)\",desc:_(\"scss.builtin.function-exists\",\"Returns whether a function with the given name exists.\")},{func:\"mixin-exists($name)\",desc:_(\"scss.builtin.mixin-exists\",\"Returns whether a mixin with the given name exists.\")},{func:\"inspect($value)\",desc:_(\"scss.builtin.inspect\",\"Returns the string representation of a value as it would be represented in Sass.\")},{func:\"type-of($value)\",desc:_(\"scss.builtin.type-of\",\"Returns the type of a value.\")},{func:\"unit($number)\",desc:_(\"scss.builtin.unit\",\"Returns the unit(s) associated with a number.\")},{func:\"unitless($number)\",desc:_(\"scss.builtin.unitless\",\"Returns whether a number has units.\")},{func:\"comparable($number1, $number2)\",desc:_(\"scss.builtin.comparable\",\"Returns whether two numbers can be added, subtracted, or compared.\")},{func:\"call($name, $args\\u2026)\",desc:_(\"scss.builtin.call\",\"Dynamically calls a Sass function.\")}],t.scssAtDirectives=[{label:\"@extend\",documentation:_(\"scss.builtin.@extend\",\"Inherits the styles of another selector.\"),kind:O.Keyword},{label:\"@at-root\",documentation:_(\"scss.builtin.@at-root\",\"Causes one or more rules to be emitted at the root of the document.\"),kind:O.Keyword},{label:\"@debug\",documentation:_(\"scss.builtin.@debug\",\"Prints the value of an expression to the standard error output stream. Useful for debugging complicated Sass files.\"),kind:O.Keyword},{label:\"@warn\",documentation:_(\"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.\"),kind:O.Keyword},{label:\"@error\",documentation:_(\"scss.builtin.@error\",\"Throws the value of an expression as a fatal error with stack trace. Useful for validating arguments to mixins and functions.\"),kind:O.Keyword},{label:\"@if\",documentation:_(\"scss.builtin.@if\",\"Includes the body if the expression does not evaluate to `false` or `null`.\"),insertText:`@if \\${1:expr} {\n\t$0\n}`,insertTextFormat:Fe.Snippet,kind:O.Keyword},{label:\"@for\",documentation:_(\"scss.builtin.@for\",\"For loop that repeatedly outputs a set of styles for each `$var` in the `from/through` or `from/to` clause.\"),insertText:\"@for \\\\$${1:var} from ${2:start} ${3|to,through|} ${4:end} {\\n\t$0\\n}\",insertTextFormat:Fe.Snippet,kind:O.Keyword},{label:\"@each\",documentation:_(\"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`.\"),insertText:\"@each \\\\$${1:var} in ${2:list} {\\n\t$0\\n}\",insertTextFormat:Fe.Snippet,kind:O.Keyword},{label:\"@while\",documentation:_(\"scss.builtin.@while\",\"While loop that takes an expression and repeatedly outputs the nested styles until the statement evaluates to `false`.\"),insertText:`@while \\${1:condition} {\n\t$0\n}`,insertTextFormat:Fe.Snippet,kind:O.Keyword},{label:\"@mixin\",documentation:_(\"scss.builtin.@mixin\",\"Defines styles that can be re-used throughout the stylesheet with `@include`.\"),insertText:`@mixin \\${1:name} {\n\t$0\n}`,insertTextFormat:Fe.Snippet,kind:O.Keyword},{label:\"@include\",documentation:_(\"scss.builtin.@include\",\"Includes the styles defined by another mixin into the current rule.\"),kind:O.Keyword},{label:\"@function\",documentation:_(\"scss.builtin.@function\",\"Defines complex operations that can be re-used throughout stylesheets.\"),kind:O.Keyword}],t.scssModuleLoaders=[{label:\"@use\",documentation:_(\"scss.builtin.@use\",\"Loads mixins, functions, and variables from other Sass stylesheets as 'modules', and combines CSS from multiple stylesheets together.\"),references:[{name:\"Sass documentation\",url:\"https://sass-lang.com/documentation/at-rules/use\"}],insertText:\"@use $0;\",insertTextFormat:Fe.Snippet,kind:O.Keyword},{label:\"@forward\",documentation:_(\"scss.builtin.@forward\",\"Loads a Sass stylesheet and makes its mixins, functions, and variables available when this stylesheet is loaded with the @use rule.\"),references:[{name:\"Sass documentation\",url:\"https://sass-lang.com/documentation/at-rules/forward\"}],insertText:\"@forward $0;\",insertTextFormat:Fe.Snippet,kind:O.Keyword}],t.scssModuleBuiltIns=[{label:\"sass:math\",documentation:_(\"scss.builtin.sass:math\",\"Provides functions that operate on numbers.\"),references:[{name:\"Sass documentation\",url:\"https://sass-lang.com/documentation/modules/math\"}]},{label:\"sass:string\",documentation:_(\"scss.builtin.sass:string\",\"Makes it easy to combine, search, or split apart strings.\"),references:[{name:\"Sass documentation\",url:\"https://sass-lang.com/documentation/modules/string\"}]},{label:\"sass:color\",documentation:_(\"scss.builtin.sass:color\",\"Generates new colors based on existing ones, making it easy to build color themes.\"),references:[{name:\"Sass documentation\",url:\"https://sass-lang.com/documentation/modules/color\"}]},{label:\"sass:list\",documentation:_(\"scss.builtin.sass:list\",\"Lets you access and modify values in lists.\"),references:[{name:\"Sass documentation\",url:\"https://sass-lang.com/documentation/modules/list\"}]},{label:\"sass:map\",documentation:_(\"scss.builtin.sass:map\",\"Makes it possible to look up the value associated with a key in a map, and much more.\"),references:[{name:\"Sass documentation\",url:\"https://sass-lang.com/documentation/modules/map\"}]},{label:\"sass:selector\",documentation:_(\"scss.builtin.sass:selector\",\"Provides access to Sass\\u2019s powerful selector engine.\"),references:[{name:\"Sass documentation\",url:\"https://sass-lang.com/documentation/modules/selector\"}]},{label:\"sass:meta\",documentation:_(\"scss.builtin.sass:meta\",\"Exposes the details of Sass\\u2019s inner workings.\"),references:[{name:\"Sass documentation\",url:\"https://sass-lang.com/documentation/modules/meta\"}]}],t}(ti);function Mo(e){e.forEach(function(t){if(t.documentation&&t.references&&t.references.length>0){var n=typeof t.documentation==\"string\"?{kind:\"markdown\",value:t.documentation}:{kind:\"markdown\",value:t.documentation.value};n.value+=`\n\n`,n.value+=t.references.map(function(r){return\"[\".concat(r.name,\"](\").concat(r.url,\")\")}).join(\" | \"),t.documentation=n}})}var kd=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])},e(t,n)};return function(t,n){if(typeof n!=\"function\"&&n!==null)throw new TypeError(\"Class extends value \"+String(n)+\" is not a constructor or null\");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),No=\"/\".charCodeAt(0),Fd=`\n`.charCodeAt(0),_d=\"\\r\".charCodeAt(0),Dd=\"\\f\".charCodeAt(0),gi=\"`\".charCodeAt(0),bi=\".\".charCodeAt(0),Ed=u.CustomToken,vi=Ed++,Po=function(e){kd(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.scanNext=function(n){var r=this.escapedJavaScript();return r!==null?this.finishToken(n,r):this.stream.advanceIfChars([bi,bi,bi])?this.finishToken(n,vi):e.prototype.scanNext.call(this,n)},t.prototype.comment=function(){return e.prototype.comment.call(this)?!0:!this.inURL&&this.stream.advanceIfChars([No,No])?(this.stream.advanceWhileChar(function(n){switch(n){case Fd:case _d:case Dd:return!1;default:return!0}}),!0):!1},t.prototype.escapedJavaScript=function(){var n=this.stream.peekChar();return n===gi?(this.stream.advance(1),this.stream.advanceWhileChar(function(r){return r!==gi}),this.stream.advanceIfChar(gi)?u.EscapedJavaScript:u.BadEscapedJavaScript):null},t}(Ut),Rd=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])},e(t,n)};return function(t,n){if(typeof n!=\"function\"&&n!==null)throw new TypeError(\"Class extends value \"+String(n)+\" is not a constructor or null\");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ad=function(e){Rd(t,e);function t(){return e.call(this,new Po)||this}return t.prototype._parseStylesheetStatement=function(n){return n===void 0&&(n=!1),this.peek(u.AtKeyword)?this._parseVariableDeclaration()||this._parsePlugin()||e.prototype._parseStylesheetAtStatement.call(this,n):this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseFunction()||this._parseRuleset(!0)},t.prototype._parseImport=function(){if(!this.peekKeyword(\"@import\")&&!this.peekKeyword(\"@import-once\"))return null;var n=this.create(Mr);if(this.consumeToken(),this.accept(u.ParenthesisL)){if(!this.accept(u.Ident))return this.finish(n,v.IdentifierExpected,[u.SemiColon]);do if(!this.accept(u.Comma))break;while(this.accept(u.Ident));if(!this.accept(u.ParenthesisR))return this.finish(n,v.RightParenthesisExpected,[u.SemiColon])}return!n.addChild(this._parseURILiteral())&&!n.addChild(this._parseStringLiteral())?this.finish(n,v.URIOrStringExpected,[u.SemiColon]):(!this.peek(u.SemiColon)&&!this.peek(u.EOF)&&n.setMedialist(this._parseMediaQueryList()),this.finish(n))},t.prototype._parsePlugin=function(){if(!this.peekKeyword(\"@plugin\"))return null;var n=this.createNode(m.Plugin);return this.consumeToken(),n.addChild(this._parseStringLiteral())?this.accept(u.SemiColon)?this.finish(n):this.finish(n,v.SemiColonExpected):this.finish(n,v.StringLiteralExpected)},t.prototype._parseMediaQuery=function(){var n=e.prototype._parseMediaQuery.call(this);if(!n){var r=this.create(cs);return r.addChild(this._parseVariable())?this.finish(r):null}return n},t.prototype._parseMediaDeclaration=function(n){return n===void 0&&(n=!1),this._tryParseRuleset(n)||this._tryToParseDeclaration()||this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseDetachedRuleSetMixin()||this._parseStylesheetStatement(n)},t.prototype._parseMediaFeatureName=function(){return this._parseIdent()||this._parseVariable()},t.prototype._parseVariableDeclaration=function(n){n===void 0&&(n=[]);var r=this.create(Sn),i=this.mark();if(!r.setVariable(this._parseVariable(!0)))return null;if(this.accept(u.Colon)){if(this.prevToken&&(r.colonPosition=this.prevToken.offset),r.setValue(this._parseDetachedRuleSet()))r.needsSemicolon=!1;else if(!r.setValue(this._parseExpr()))return this.finish(r,v.VariableValueExpected,[],n);r.addChild(this._parsePrio())}else return this.restoreAtMark(i),null;return this.peek(u.SemiColon)&&(r.semicolonPosition=this.token.offset),this.finish(r)},t.prototype._parseDetachedRuleSet=function(){var n=this.mark();if(this.peekDelim(\"#\")||this.peekDelim(\".\"))if(this.consumeToken(),!this.hasWhitespace()&&this.accept(u.ParenthesisL)){var r=this.create(Ht);if(r.getParameters().addChild(this._parseMixinParameter()))for(;(this.accept(u.Comma)||this.accept(u.SemiColon))&&!this.peek(u.ParenthesisR);)r.getParameters().addChild(this._parseMixinParameter())||this.markError(r,v.IdentifierExpected,[],[u.ParenthesisR]);if(!this.accept(u.ParenthesisR))return this.restoreAtMark(n),null}else return this.restoreAtMark(n),null;if(!this.peek(u.CurlyL))return null;var i=this.create(ne);return this._parseBody(i,this._parseDetachedRuleSetBody.bind(this)),this.finish(i)},t.prototype._parseDetachedRuleSetBody=function(){return this._tryParseKeyframeSelector()||this._parseRuleSetDeclaration()},t.prototype._addLookupChildren=function(n){if(!n.addChild(this._parseLookupValue()))return!1;for(var r=!1;this.peek(u.BracketL)&&(r=!0),!!n.addChild(this._parseLookupValue());)r=!1;return!r},t.prototype._parseLookupValue=function(){var n=this.create(L),r=this.mark();return this.accept(u.BracketL)?(n.addChild(this._parseVariable(!1,!0))||n.addChild(this._parsePropertyIdentifier()))&&this.accept(u.BracketR)||this.accept(u.BracketR)?n:(this.restoreAtMark(r),null):(this.restoreAtMark(r),null)},t.prototype._parseVariable=function(n,r){n===void 0&&(n=!1),r===void 0&&(r=!1);var i=!n&&this.peekDelim(\"$\");if(!this.peekDelim(\"@\")&&!i&&!this.peek(u.AtKeyword))return null;for(var a=this.create(Wr),o=this.mark();this.acceptDelim(\"@\")||!n&&this.acceptDelim(\"$\");)if(this.hasWhitespace())return this.restoreAtMark(o),null;return!this.accept(u.AtKeyword)&&!this.accept(u.Ident)?(this.restoreAtMark(o),null):!r&&this.peek(u.BracketL)&&!this._addLookupChildren(a)?(this.restoreAtMark(o),null):a},t.prototype._parseTermExpression=function(){return this._parseVariable()||this._parseEscaped()||e.prototype._parseTermExpression.call(this)||this._tryParseMixinReference(!1)},t.prototype._parseEscaped=function(){if(this.peek(u.EscapedJavaScript)||this.peek(u.BadEscapedJavaScript)){var n=this.createNode(m.EscapedValue);return this.consumeToken(),this.finish(n)}if(this.peekDelim(\"~\")){var n=this.createNode(m.EscapedValue);return this.consumeToken(),this.accept(u.String)||this.accept(u.EscapedJavaScript)?this.finish(n):this.finish(n,v.TermExpected)}return null},t.prototype._parseOperator=function(){var n=this._parseGuardOperator();return n||e.prototype._parseOperator.call(this)},t.prototype._parseGuardOperator=function(){if(this.peekDelim(\">\")){var n=this.createNode(m.Operator);return this.consumeToken(),this.acceptDelim(\"=\"),n}else if(this.peekDelim(\"=\")){var n=this.createNode(m.Operator);return this.consumeToken(),this.acceptDelim(\"<\"),n}else if(this.peekDelim(\"<\")){var n=this.createNode(m.Operator);return this.consumeToken(),this.acceptDelim(\"=\"),n}return null},t.prototype._parseRuleSetDeclaration=function(){return this.peek(u.AtKeyword)?this._parseKeyframe()||this._parseMedia(!0)||this._parseImport()||this._parseSupports(!0)||this._parseDetachedRuleSetMixin()||this._parseVariableDeclaration()||e.prototype._parseRuleSetDeclarationAtStatement.call(this):this._tryParseMixinDeclaration()||this._tryParseRuleset(!0)||this._tryParseMixinReference()||this._parseFunction()||this._parseExtend()||e.prototype._parseRuleSetDeclaration.call(this)},t.prototype._parseKeyframeIdent=function(){return this._parseIdent([G.Keyframe])||this._parseVariable()},t.prototype._parseKeyframeSelector=function(){return this._parseDetachedRuleSetMixin()||e.prototype._parseKeyframeSelector.call(this)},t.prototype._parseSimpleSelectorBody=function(){return this._parseSelectorCombinator()||e.prototype._parseSimpleSelectorBody.call(this)},t.prototype._parseSelector=function(n){var r=this.create(Bt),i=!1;for(n&&(i=r.addChild(this._parseCombinator()));r.addChild(this._parseSimpleSelector());){i=!0;var a=this.mark();if(r.addChild(this._parseGuard())&&this.peek(u.CurlyL))break;this.restoreAtMark(a),r.addChild(this._parseCombinator())}return i?this.finish(r):null},t.prototype._parseSelectorCombinator=function(){if(this.peekDelim(\"&\")){var n=this.createNode(m.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim(\"-\")||this.accept(u.Num)||this.accept(u.Dimension)||n.addChild(this._parseIdent())||this.acceptDelim(\"&\")););return this.finish(n)}return null},t.prototype._parseSelectorIdent=function(){if(!this.peekInterpolatedIdent())return null;var n=this.createNode(m.SelectorInterpolation),r=this._acceptInterpolatedIdent(n);return r?this.finish(n):null},t.prototype._parsePropertyIdentifier=function(n){n===void 0&&(n=!1);var r=/^[\\w-]+/;if(!this.peekInterpolatedIdent()&&!this.peekRegExp(this.token.type,r))return null;var i=this.mark(),a=this.create(Ee);a.isCustomProperty=this.acceptDelim(\"-\")&&this.acceptDelim(\"-\");var o=!1;return n?a.isCustomProperty?o=a.addChild(this._parseIdent()):o=a.addChild(this._parseRegexp(r)):a.isCustomProperty?o=this._acceptInterpolatedIdent(a):o=this._acceptInterpolatedIdent(a,r),o?(!n&&!this.hasWhitespace()&&(this.acceptDelim(\"+\"),this.hasWhitespace()||this.acceptIdent(\"_\")),this.finish(a)):(this.restoreAtMark(i),null)},t.prototype.peekInterpolatedIdent=function(){return this.peek(u.Ident)||this.peekDelim(\"@\")||this.peekDelim(\"$\")||this.peekDelim(\"-\")},t.prototype._acceptInterpolatedIdent=function(n,r){for(var i=this,a=!1,o=function(){var h=i.mark();return i.acceptDelim(\"-\")&&(i.hasWhitespace()||i.acceptDelim(\"-\"),i.hasWhitespace())?(i.restoreAtMark(h),null):i._parseInterpolation()},l=r?function(){return i.acceptRegexp(r)}:function(){return i.accept(u.Ident)};(l()||n.addChild(this._parseInterpolation()||this.try(o)))&&(a=!0,!this.hasWhitespace()););return a},t.prototype._parseInterpolation=function(){var n=this.mark();if(this.peekDelim(\"@\")||this.peekDelim(\"$\")){var r=this.createNode(m.Interpolation);return this.consumeToken(),this.hasWhitespace()||!this.accept(u.CurlyL)?(this.restoreAtMark(n),null):r.addChild(this._parseIdent())?this.accept(u.CurlyR)?this.finish(r):this.finish(r,v.RightCurlyExpected):this.finish(r,v.IdentifierExpected)}return null},t.prototype._tryParseMixinDeclaration=function(){var n=this.mark(),r=this.create(Ht);if(!r.setIdentifier(this._parseMixinDeclarationIdentifier())||!this.accept(u.ParenthesisL))return this.restoreAtMark(n),null;if(r.getParameters().addChild(this._parseMixinParameter()))for(;(this.accept(u.Comma)||this.accept(u.SemiColon))&&!this.peek(u.ParenthesisR);)r.getParameters().addChild(this._parseMixinParameter())||this.markError(r,v.IdentifierExpected,[],[u.ParenthesisR]);return this.accept(u.ParenthesisR)?(r.setGuard(this._parseGuard()),this.peek(u.CurlyL)?this._parseBody(r,this._parseMixInBodyDeclaration.bind(this)):(this.restoreAtMark(n),null)):(this.restoreAtMark(n),null)},t.prototype._parseMixInBodyDeclaration=function(){return this._parseFontFace()||this._parseRuleSetDeclaration()},t.prototype._parseMixinDeclarationIdentifier=function(){var n;if(this.peekDelim(\"#\")||this.peekDelim(\".\")){if(n=this.create(Ee),this.consumeToken(),this.hasWhitespace()||!n.addChild(this._parseIdent()))return null}else if(this.peek(u.Hash))n=this.create(Ee),this.consumeToken();else return null;return n.referenceTypes=[G.Mixin],this.finish(n)},t.prototype._parsePseudo=function(){if(!this.peek(u.Colon))return null;var n=this.mark(),r=this.create($t);return this.consumeToken(),this.acceptIdent(\"extend\")?this._completeExtends(r):(this.restoreAtMark(n),e.prototype._parsePseudo.call(this))},t.prototype._parseExtend=function(){if(!this.peekDelim(\"&\"))return null;var n=this.mark(),r=this.create($t);return this.consumeToken(),this.hasWhitespace()||!this.accept(u.Colon)||!this.acceptIdent(\"extend\")?(this.restoreAtMark(n),null):this._completeExtends(r)},t.prototype._completeExtends=function(n){if(!this.accept(u.ParenthesisL))return this.finish(n,v.LeftParenthesisExpected);var r=n.getSelectors();if(!r.addChild(this._parseSelector(!0)))return this.finish(n,v.SelectorExpected);for(;this.accept(u.Comma);)if(!r.addChild(this._parseSelector(!0)))return this.finish(n,v.SelectorExpected);return this.accept(u.ParenthesisR)?this.finish(n):this.finish(n,v.RightParenthesisExpected)},t.prototype._parseDetachedRuleSetMixin=function(){if(!this.peek(u.AtKeyword))return null;var n=this.mark(),r=this.create(Cn);return r.addChild(this._parseVariable(!0))&&(this.hasWhitespace()||!this.accept(u.ParenthesisL))?(this.restoreAtMark(n),null):this.accept(u.ParenthesisR)?this.finish(r):this.finish(r,v.RightParenthesisExpected)},t.prototype._tryParseMixinReference=function(n){n===void 0&&(n=!0);for(var r=this.mark(),i=this.create(Cn),a=this._parseMixinDeclarationIdentifier();a;){this.acceptDelim(\">\");var o=this._parseMixinDeclarationIdentifier();if(o)i.getNamespaces().addChild(a),a=o;else break}if(!i.setIdentifier(a))return this.restoreAtMark(r),null;var l=!1;if(this.accept(u.ParenthesisL)){if(l=!0,i.getArguments().addChild(this._parseMixinArgument())){for(;(this.accept(u.Comma)||this.accept(u.SemiColon))&&!this.peek(u.ParenthesisR);)if(!i.getArguments().addChild(this._parseMixinArgument()))return this.finish(i,v.ExpressionExpected)}if(!this.accept(u.ParenthesisR))return this.finish(i,v.RightParenthesisExpected);a.referenceTypes=[G.Mixin]}else a.referenceTypes=[G.Mixin,G.Rule];return this.peek(u.BracketL)?n||this._addLookupChildren(i):i.addChild(this._parsePrio()),!l&&!this.peek(u.SemiColon)&&!this.peek(u.CurlyR)&&!this.peek(u.EOF)?(this.restoreAtMark(r),null):this.finish(i)},t.prototype._parseMixinArgument=function(){var n=this.create(_t),r=this.mark(),i=this._parseVariable();return i&&(this.accept(u.Colon)?n.setIdentifier(i):this.restoreAtMark(r)),n.setValue(this._parseDetachedRuleSet()||this._parseExpr(!0))?this.finish(n):(this.restoreAtMark(r),null)},t.prototype._parseMixinParameter=function(){var n=this.create(wn);if(this.peekKeyword(\"@rest\")){var r=this.create(L);return this.consumeToken(),this.accept(vi)?(n.setIdentifier(this.finish(r)),this.finish(n)):this.finish(n,v.DotExpected,[],[u.Comma,u.ParenthesisR])}if(this.peek(vi)){var i=this.create(L);return this.consumeToken(),n.setIdentifier(this.finish(i)),this.finish(n)}var a=!1;return n.setIdentifier(this._parseVariable())&&(this.accept(u.Colon),a=!0),!n.setDefaultValue(this._parseDetachedRuleSet()||this._parseExpr(!0))&&!a?null:this.finish(n)},t.prototype._parseGuard=function(){if(!this.peekIdent(\"when\"))return null;var n=this.create(sh);if(this.consumeToken(),n.isNegated=this.acceptIdent(\"not\"),!n.getConditions().addChild(this._parseGuardCondition()))return this.finish(n,v.ConditionExpected);for(;this.acceptIdent(\"and\")||this.accept(u.Comma);)if(!n.getConditions().addChild(this._parseGuardCondition()))return this.finish(n,v.ConditionExpected);return this.finish(n)},t.prototype._parseGuardCondition=function(){if(!this.peek(u.ParenthesisL))return null;var n=this.create(oh);return this.consumeToken(),n.addChild(this._parseExpr()),this.accept(u.ParenthesisR)?this.finish(n):this.finish(n,v.RightParenthesisExpected)},t.prototype._parseFunction=function(){var n=this.mark(),r=this.create(jt);if(!r.setIdentifier(this._parseFunctionIdentifier()))return null;if(this.hasWhitespace()||!this.accept(u.ParenthesisL))return this.restoreAtMark(n),null;if(r.getArguments().addChild(this._parseMixinArgument())){for(;(this.accept(u.Comma)||this.accept(u.SemiColon))&&!this.peek(u.ParenthesisR);)if(!r.getArguments().addChild(this._parseMixinArgument()))return this.finish(r,v.ExpressionExpected)}return this.accept(u.ParenthesisR)?this.finish(r):this.finish(r,v.RightParenthesisExpected)},t.prototype._parseFunctionIdentifier=function(){if(this.peekDelim(\"%\")){var n=this.create(Ee);return n.referenceTypes=[G.Function],this.consumeToken(),this.finish(n)}return e.prototype._parseFunctionIdentifier.call(this)},t.prototype._parseURLArgument=function(){var n=this.mark(),r=e.prototype._parseURLArgument.call(this);if(!r||!this.peek(u.ParenthesisR)){this.restoreAtMark(n);var i=this.create(L);return i.addChild(this._parseBinaryExpr()),this.finish(i)}return r},t}(Jr),zd=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])},e(t,n)};return function(t,n){if(typeof n!=\"function\"&&n!==null)throw new TypeError(\"Class extends value \"+String(n)+\" is not a constructor or null\");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),W=Ne(),Md=function(e){zd(t,e);function t(n,r){return e.call(this,\"@\",n,r)||this}return t.prototype.createFunctionProposals=function(n,r,i,a){for(var o=0,l=n;o<l.length;o++){var h=l[o],c={label:h.name,detail:h.example,documentation:h.description,textEdit:B.replace(this.getCompletionRange(r),h.name+\"($0)\"),insertTextFormat:Fe.Snippet,kind:O.Function};i&&(c.sortText=\"z\"),a.items.push(c)}return a},t.prototype.getTermProposals=function(n,r,i){var a=t.builtInProposals;return n&&(a=a.filter(function(o){return!o.type||!n.restrictions||n.restrictions.indexOf(o.type)!==-1})),this.createFunctionProposals(a,r,!0,i),e.prototype.getTermProposals.call(this,n,r,i)},t.prototype.getColorProposals=function(n,r,i){return this.createFunctionProposals(t.colorProposals,r,!1,i),e.prototype.getColorProposals.call(this,n,r,i)},t.prototype.getCompletionsForDeclarationProperty=function(n,r){return this.getCompletionsForSelector(null,!0,r),e.prototype.getCompletionsForDeclarationProperty.call(this,n,r)},t.builtInProposals=[{name:\"if\",example:\"if(condition, trueValue [, falseValue]);\",description:W(\"less.builtin.if\",\"returns one of two values depending on a condition.\")},{name:\"boolean\",example:\"boolean(condition);\",description:W(\"less.builtin.boolean\",'\"store\" a boolean test for later evaluation in a guard or if().')},{name:\"length\",example:\"length(@list);\",description:W(\"less.builtin.length\",\"returns the number of elements in a value list\")},{name:\"extract\",example:\"extract(@list, index);\",description:W(\"less.builtin.extract\",\"returns a value at the specified position in the list\")},{name:\"range\",example:\"range([start, ] end [, step]);\",description:W(\"less.builtin.range\",\"generate a list spanning a range of values\")},{name:\"each\",example:\"each(@list, ruleset);\",description:W(\"less.builtin.each\",\"bind the evaluation of a ruleset to each member of a list.\")},{name:\"escape\",example:\"escape(@string);\",description:W(\"less.builtin.escape\",\"URL encodes a string\")},{name:\"e\",example:\"e(@string);\",description:W(\"less.builtin.e\",\"escape string content\")},{name:\"replace\",example:\"replace(@string, @pattern, @replacement[, @flags]);\",description:W(\"less.builtin.replace\",\"string replace\")},{name:\"unit\",example:\"unit(@dimension, [@unit: '']);\",description:W(\"less.builtin.unit\",\"remove or change the unit of a dimension\")},{name:\"color\",example:\"color(@string);\",description:W(\"less.builtin.color\",\"parses a string to a color\"),type:\"color\"},{name:\"convert\",example:\"convert(@value, unit);\",description:W(\"less.builtin.convert\",\"converts numbers from one type into another\")},{name:\"data-uri\",example:\"data-uri([mimetype,] url);\",description:W(\"less.builtin.data-uri\",\"inlines a resource and falls back to `url()`\"),type:\"url\"},{name:\"abs\",description:W(\"less.builtin.abs\",\"absolute value of a number\"),example:\"abs(number);\"},{name:\"acos\",description:W(\"less.builtin.acos\",\"arccosine - inverse of cosine function\"),example:\"acos(number);\"},{name:\"asin\",description:W(\"less.builtin.asin\",\"arcsine - inverse of sine function\"),example:\"asin(number);\"},{name:\"ceil\",example:\"ceil(@number);\",description:W(\"less.builtin.ceil\",\"rounds up to an integer\")},{name:\"cos\",description:W(\"less.builtin.cos\",\"cosine function\"),example:\"cos(number);\"},{name:\"floor\",description:W(\"less.builtin.floor\",\"rounds down to an integer\"),example:\"floor(@number);\"},{name:\"percentage\",description:W(\"less.builtin.percentage\",\"converts to a %, e.g. 0.5 > 50%\"),example:\"percentage(@number);\",type:\"percentage\"},{name:\"round\",description:W(\"less.builtin.round\",\"rounds a number to a number of places\"),example:\"round(number, [places: 0]);\"},{name:\"sqrt\",description:W(\"less.builtin.sqrt\",\"calculates square root of a number\"),example:\"sqrt(number);\"},{name:\"sin\",description:W(\"less.builtin.sin\",\"sine function\"),example:\"sin(number);\"},{name:\"tan\",description:W(\"less.builtin.tan\",\"tangent function\"),example:\"tan(number);\"},{name:\"atan\",description:W(\"less.builtin.atan\",\"arctangent - inverse of tangent function\"),example:\"atan(number);\"},{name:\"pi\",description:W(\"less.builtin.pi\",\"returns pi\"),example:\"pi();\"},{name:\"pow\",description:W(\"less.builtin.pow\",\"first argument raised to the power of the second argument\"),example:\"pow(@base, @exponent);\"},{name:\"mod\",description:W(\"less.builtin.mod\",\"first argument modulus second argument\"),example:\"mod(number, number);\"},{name:\"min\",description:W(\"less.builtin.min\",\"returns the lowest of one or more values\"),example:\"min(@x, @y);\"},{name:\"max\",description:W(\"less.builtin.max\",\"returns the lowest of one or more values\"),example:\"max(@x, @y);\"}],t.colorProposals=[{name:\"argb\",example:\"argb(@color);\",description:W(\"less.builtin.argb\",\"creates a #AARRGGBB\")},{name:\"hsl\",example:\"hsl(@hue, @saturation, @lightness);\",description:W(\"less.builtin.hsl\",\"creates a color\")},{name:\"hsla\",example:\"hsla(@hue, @saturation, @lightness, @alpha);\",description:W(\"less.builtin.hsla\",\"creates a color\")},{name:\"hsv\",example:\"hsv(@hue, @saturation, @value);\",description:W(\"less.builtin.hsv\",\"creates a color\")},{name:\"hsva\",example:\"hsva(@hue, @saturation, @value, @alpha);\",description:W(\"less.builtin.hsva\",\"creates a color\")},{name:\"hue\",example:\"hue(@color);\",description:W(\"less.builtin.hue\",\"returns the `hue` channel of `@color` in the HSL space\")},{name:\"saturation\",example:\"saturation(@color);\",description:W(\"less.builtin.saturation\",\"returns the `saturation` channel of `@color` in the HSL space\")},{name:\"lightness\",example:\"lightness(@color);\",description:W(\"less.builtin.lightness\",\"returns the `lightness` channel of `@color` in the HSL space\")},{name:\"hsvhue\",example:\"hsvhue(@color);\",description:W(\"less.builtin.hsvhue\",\"returns the `hue` channel of `@color` in the HSV space\")},{name:\"hsvsaturation\",example:\"hsvsaturation(@color);\",description:W(\"less.builtin.hsvsaturation\",\"returns the `saturation` channel of `@color` in the HSV space\")},{name:\"hsvvalue\",example:\"hsvvalue(@color);\",description:W(\"less.builtin.hsvvalue\",\"returns the `value` channel of `@color` in the HSV space\")},{name:\"red\",example:\"red(@color);\",description:W(\"less.builtin.red\",\"returns the `red` channel of `@color`\")},{name:\"green\",example:\"green(@color);\",description:W(\"less.builtin.green\",\"returns the `green` channel of `@color`\")},{name:\"blue\",example:\"blue(@color);\",description:W(\"less.builtin.blue\",\"returns the `blue` channel of `@color`\")},{name:\"alpha\",example:\"alpha(@color);\",description:W(\"less.builtin.alpha\",\"returns the `alpha` channel of `@color`\")},{name:\"luma\",example:\"luma(@color);\",description:W(\"less.builtin.luma\",\"returns the `luma` value (perceptual brightness) of `@color`\")},{name:\"saturate\",example:\"saturate(@color, 10%);\",description:W(\"less.builtin.saturate\",\"return `@color` 10% points more saturated\")},{name:\"desaturate\",example:\"desaturate(@color, 10%);\",description:W(\"less.builtin.desaturate\",\"return `@color` 10% points less saturated\")},{name:\"lighten\",example:\"lighten(@color, 10%);\",description:W(\"less.builtin.lighten\",\"return `@color` 10% points lighter\")},{name:\"darken\",example:\"darken(@color, 10%);\",description:W(\"less.builtin.darken\",\"return `@color` 10% points darker\")},{name:\"fadein\",example:\"fadein(@color, 10%);\",description:W(\"less.builtin.fadein\",\"return `@color` 10% points less transparent\")},{name:\"fadeout\",example:\"fadeout(@color, 10%);\",description:W(\"less.builtin.fadeout\",\"return `@color` 10% points more transparent\")},{name:\"fade\",example:\"fade(@color, 50%);\",description:W(\"less.builtin.fade\",\"return `@color` with 50% transparency\")},{name:\"spin\",example:\"spin(@color, 10);\",description:W(\"less.builtin.spin\",\"return `@color` with a 10 degree larger in hue\")},{name:\"mix\",example:\"mix(@color1, @color2, [@weight: 50%]);\",description:W(\"less.builtin.mix\",\"return a mix of `@color1` and `@color2`\")},{name:\"greyscale\",example:\"greyscale(@color);\",description:W(\"less.builtin.greyscale\",\"returns a grey, 100% desaturated color\")},{name:\"contrast\",example:\"contrast(@color1, [@darkcolor: black], [@lightcolor: white], [@threshold: 43%]);\",description:W(\"less.builtin.contrast\",\"return `@darkcolor` if `@color1 is> 43% luma` otherwise return `@lightcolor`, see notes\")},{name:\"multiply\",example:\"multiply(@color1, @color2);\"},{name:\"screen\",example:\"screen(@color1, @color2);\"},{name:\"overlay\",example:\"overlay(@color1, @color2);\"},{name:\"softlight\",example:\"softlight(@color1, @color2);\"},{name:\"hardlight\",example:\"hardlight(@color1, @color2);\"},{name:\"difference\",example:\"difference(@color1, @color2);\"},{name:\"exclusion\",example:\"exclusion(@color1, @color2);\"},{name:\"average\",example:\"average(@color1, @color2);\"},{name:\"negation\",example:\"negation(@color1, @color2);\"}],t}(ti);function Nd(e,t){var n=Pd(e);return Id(n,t)}function Pd(e){function t(p){return e.positionAt(p.offset).line}function n(p){return e.positionAt(p.offset+p.len).line}function r(){switch(e.languageId){case\"scss\":return new zo;case\"less\":return new Po;default:return new Ut}}function i(p,f){var g=t(p),w=n(p);return g!==w?{startLine:g,endLine:w,kind:f}:null}var a=[],o=[],l=r();l.ignoreComment=!1,l.setSource(e.getText());for(var h=l.scan(),c=null,d=function(){switch(h.type){case u.CurlyL:case Bn:{o.push({line:t(h),type:\"brace\",isStart:!0});break}case u.CurlyR:{if(o.length!==0){var p=Io(o,\"brace\");if(!p)break;var f=n(h);p.type===\"brace\"&&(c&&n(c)!==f&&f--,p.line!==f&&a.push({startLine:p.line,endLine:f,kind:void 0}))}break}case u.Comment:{var g=function(A){return A===\"#region\"?{line:t(h),type:\"comment\",isStart:!0}:{line:n(h),type:\"comment\",isStart:!1}},w=function(A){var C=A.text.match(/^\\s*\\/\\*\\s*(#region|#endregion)\\b\\s*(.*?)\\s*\\*\\//);if(C)return g(C[1]);if(e.languageId===\"scss\"||e.languageId===\"less\"){var R=A.text.match(/^\\s*\\/\\/\\s*(#region|#endregion)\\b\\s*(.*?)\\s*/);if(R)return g(R[1])}return null},b=w(h);if(b)if(b.isStart)o.push(b);else{var p=Io(o,\"comment\");if(!p)break;p.type===\"comment\"&&p.line!==b.line&&a.push({startLine:p.line,endLine:b.line,kind:\"region\"})}else{var y=i(h,\"comment\");y&&a.push(y)}break}}c=h,h=l.scan()};h.type!==u.EOF;)d();return a}function Io(e,t){if(e.length===0)return null;for(var n=e.length-1;n>=0;n--)if(e[n].type===t&&e[n].isStart)return e.splice(n,1)[0];return null}function Id(e,t){var n=t&&t.rangeLimit||Number.MAX_VALUE,r=e.sort(function(o,l){var h=o.startLine-l.startLine;return h===0&&(h=o.endLine-l.endLine),h}),i=[],a=-1;return r.forEach(function(o){o.startLine<a&&a<o.endLine||(i.push(o),a=o.endLine)}),i.length<n?i:i.slice(0,n)}var Ld={version:1.1,properties:[{name:\"additive-symbols\",browsers:[\"FF33\"],syntax:\"[ <integer> && <symbol> ]#\",relevance:50,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'.\",restrictions:[\"integer\",\"string\",\"image\",\"identifier\"]},{name:\"align-content\",values:[{name:\"center\",description:\"Lines are packed toward the center of the flex container.\"},{name:\"flex-end\",description:\"Lines are packed toward the end of the flex container.\"},{name:\"flex-start\",description:\"Lines are packed toward the start of the flex container.\"},{name:\"space-around\",description:\"Lines are evenly distributed in the flex container, with half-size spaces on either end.\"},{name:\"space-between\",description:\"Lines are evenly distributed in the flex container.\"},{name:\"stretch\",description:\"Lines stretch to take up the remaining space.\"}],syntax:\"normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>\",relevance:62,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.\",restrictions:[\"enum\"]},{name:\"align-items\",values:[{name:\"baseline\",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.\"},{name:\"center\",description:\"The flex item\\u2019s margin box is centered in the cross axis within the line.\"},{name:\"flex-end\",description:\"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line.\"},{name:\"flex-start\",description:\"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line.\"},{name:\"stretch\",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.\"}],syntax:\"normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]\",relevance:86,description:\"Aligns flex items along the cross axis of the current line of the flex container.\",restrictions:[\"enum\"]},{name:\"justify-items\",values:[{name:\"auto\"},{name:\"normal\"},{name:\"end\"},{name:\"start\"},{name:\"flex-end\",description:'\"Flex items are packed toward the end of the line.\"'},{name:\"flex-start\",description:'\"Flex items are packed toward the start of the line.\"'},{name:\"self-end\",description:\"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis.\"},{name:\"self-start\",description:\"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis..\"},{name:\"center\",description:\"The items are packed flush to each other toward the center of the of the alignment container.\"},{name:\"left\"},{name:\"right\"},{name:\"baseline\"},{name:\"first baseline\"},{name:\"last baseline\"},{name:\"stretch\",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.\"},{name:\"save\"},{name:\"unsave\"},{name:\"legacy\"}],syntax:\"normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]\",relevance:53,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\",restrictions:[\"enum\"]},{name:\"justify-self\",values:[{name:\"auto\"},{name:\"normal\"},{name:\"end\"},{name:\"start\"},{name:\"flex-end\",description:'\"Flex items are packed toward the end of the line.\"'},{name:\"flex-start\",description:'\"Flex items are packed toward the start of the line.\"'},{name:\"self-end\",description:\"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis.\"},{name:\"self-start\",description:\"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis..\"},{name:\"center\",description:\"The items are packed flush to each other toward the center of the of the alignment container.\"},{name:\"left\"},{name:\"right\"},{name:\"baseline\"},{name:\"first baseline\"},{name:\"last baseline\"},{name:\"stretch\",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.\"},{name:\"save\"},{name:\"unsave\"}],syntax:\"auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ]\",relevance:53,description:\"Defines the way of justifying a box inside its container along the appropriate axis.\",restrictions:[\"enum\"]},{name:\"align-self\",values:[{name:\"auto\",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.\"},{name:\"baseline\",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.\"},{name:\"center\",description:\"The flex item\\u2019s margin box is centered in the cross axis within the line.\"},{name:\"flex-end\",description:\"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line.\"},{name:\"flex-start\",description:\"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line.\"},{name:\"stretch\",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.\"}],syntax:\"auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>\",relevance:72,description:\"Allows the default alignment along the cross axis to be overridden for individual flex items.\",restrictions:[\"enum\"]},{name:\"all\",browsers:[\"E79\",\"FF27\",\"S9.1\",\"C37\",\"O24\"],values:[],syntax:\"initial | inherit | unset | revert\",relevance:52,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/all\"}],description:\"Shorthand that resets all properties except 'direction' and 'unicode-bidi'.\",restrictions:[\"enum\"]},{name:\"alt\",browsers:[\"S9\"],values:[],relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/alt\"}],description:\"Provides alternative text for assistive technology to replace the generated content of a ::before or ::after element.\",restrictions:[\"string\",\"enum\"]},{name:\"animation\",values:[{name:\"alternate\",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.\"},{name:\"alternate-reverse\",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.\"},{name:\"backwards\",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'.\"},{name:\"both\",description:\"Both forwards and backwards fill modes are applied.\"},{name:\"forwards\",description:\"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes.\"},{name:\"infinite\",description:\"Causes the animation to repeat forever.\"},{name:\"none\",description:\"No animation is performed\"},{name:\"normal\",description:\"Normal playback.\"},{name:\"reverse\",description:\"All iterations of the animation are played in the reverse direction from the way they were specified.\"}],syntax:\"<single-animation>#\",relevance:82,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/animation\"}],description:\"Shorthand property combines six of the animation properties into a single property.\",restrictions:[\"time\",\"timing-function\",\"enum\",\"identifier\",\"number\"]},{name:\"animation-delay\",syntax:\"<time>#\",relevance:63,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/animation-delay\"}],description:\"Defines when the animation will start.\",restrictions:[\"time\"]},{name:\"animation-direction\",values:[{name:\"alternate\",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.\"},{name:\"alternate-reverse\",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.\"},{name:\"normal\",description:\"Normal playback.\"},{name:\"reverse\",description:\"All iterations of the animation are played in the reverse direction from the way they were specified.\"}],syntax:\"<single-animation-direction>#\",relevance:56,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/animation-direction\"}],description:\"Defines whether or not the animation should play in reverse on alternate cycles.\",restrictions:[\"enum\"]},{name:\"animation-duration\",syntax:\"<time>#\",relevance:70,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/animation-duration\"}],description:\"Defines the length of time that an animation takes to complete one cycle.\",restrictions:[\"time\"]},{name:\"animation-fill-mode\",values:[{name:\"backwards\",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'.\"},{name:\"both\",description:\"Both forwards and backwards fill modes are applied.\"},{name:\"forwards\",description:\"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes.\"},{name:\"none\",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.\"}],syntax:\"<single-animation-fill-mode>#\",relevance:63,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/animation-fill-mode\"}],description:\"Defines what values are applied by the animation outside the time it is executing.\",restrictions:[\"enum\"]},{name:\"animation-iteration-count\",values:[{name:\"infinite\",description:\"Causes the animation to repeat forever.\"}],syntax:\"<single-animation-iteration-count>#\",relevance:60,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/animation-iteration-count\"}],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.\",restrictions:[\"number\",\"enum\"]},{name:\"animation-name\",values:[{name:\"none\",description:\"No animation is performed\"}],syntax:\"[ none | <keyframes-name> ]#\",relevance:70,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/animation-name\"}],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.\",restrictions:[\"identifier\",\"enum\"]},{name:\"animation-play-state\",values:[{name:\"paused\",description:\"A running animation will be paused.\"},{name:\"running\",description:\"Resume playback of a paused animation.\"}],syntax:\"<single-animation-play-state>#\",relevance:54,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/animation-play-state\"}],description:\"Defines whether the animation is running or paused.\",restrictions:[\"enum\"]},{name:\"animation-timing-function\",syntax:\"<easing-function>#\",relevance:70,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/animation-timing-function\"}],description:\"Describes how the animation will progress over one cycle of its duration.\",restrictions:[\"timing-function\"]},{name:\"backface-visibility\",values:[{name:\"hidden\",description:\"Back side is hidden.\"},{name:\"visible\",description:\"Back side is visible.\"}],syntax:\"visible | hidden\",relevance:59,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/backface-visibility\"}],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.\",restrictions:[\"enum\"]},{name:\"background\",values:[{name:\"fixed\",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.\"},{name:\"local\",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.\"},{name:\"none\",description:\"A value of 'none' counts as an image layer but draws nothing.\"},{name:\"scroll\",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.)\"}],syntax:\"[ <bg-layer> , ]* <final-bg-layer>\",relevance:93,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/background\"}],description:\"Shorthand property for setting most background properties at the same place in the style sheet.\",restrictions:[\"enum\",\"image\",\"color\",\"position\",\"length\",\"repeat\",\"percentage\",\"box\"]},{name:\"background-attachment\",values:[{name:\"fixed\",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.\"},{name:\"local\",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.\"},{name:\"scroll\",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.)\"}],syntax:\"<attachment>#\",relevance:54,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/background-attachment\"}],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').\",restrictions:[\"enum\"]},{name:\"background-blend-mode\",browsers:[\"E79\",\"FF30\",\"S8\",\"C35\",\"O22\"],values:[{name:\"normal\",description:\"Default attribute which specifies no blending\"},{name:\"multiply\",description:\"The source color is multiplied by the destination color and replaces the destination.\"},{name:\"screen\",description:\"Multiplies the complements of the backdrop and source color values, then complements the result.\"},{name:\"overlay\",description:\"Multiplies or screens the colors, depending on the backdrop color value.\"},{name:\"darken\",description:\"Selects the darker of the backdrop and source colors.\"},{name:\"lighten\",description:\"Selects the lighter of the backdrop and source colors.\"},{name:\"color-dodge\",description:\"Brightens the backdrop color to reflect the source color.\"},{name:\"color-burn\",description:\"Darkens the backdrop color to reflect the source color.\"},{name:\"hard-light\",description:\"Multiplies or screens the colors, depending on the source color value.\"},{name:\"soft-light\",description:\"Darkens or lightens the colors, depending on the source color value.\"},{name:\"difference\",description:\"Subtracts the darker of the two constituent colors from the lighter color..\"},{name:\"exclusion\",description:\"Produces an effect similar to that of the Difference mode but lower in contrast.\"},{name:\"hue\",browsers:[\"E79\",\"FF30\",\"S8\",\"C35\",\"O22\"],description:\"Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color.\"},{name:\"saturation\",browsers:[\"E79\",\"FF30\",\"S8\",\"C35\",\"O22\"],description:\"Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color.\"},{name:\"color\",browsers:[\"E79\",\"FF30\",\"S8\",\"C35\",\"O22\"],description:\"Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color.\"},{name:\"luminosity\",browsers:[\"E79\",\"FF30\",\"S8\",\"C35\",\"O22\"],description:\"Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color.\"}],syntax:\"<blend-mode>#\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/background-blend-mode\"}],description:\"Defines the blending mode of each background layer.\",restrictions:[\"enum\"]},{name:\"background-clip\",syntax:\"<box>#\",relevance:68,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/background-clip\"}],description:\"Determines the background painting area.\",restrictions:[\"box\"]},{name:\"background-color\",syntax:\"<color>\",relevance:94,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/background-color\"}],description:\"Sets the background color of an element.\",restrictions:[\"color\"]},{name:\"background-image\",values:[{name:\"none\",description:\"Counts as an image layer but draws nothing.\"}],syntax:\"<bg-image>#\",relevance:89,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/background-image\"}],description:\"Sets the background image(s) of an element.\",restrictions:[\"image\",\"enum\"]},{name:\"background-origin\",syntax:\"<box>#\",relevance:54,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/background-origin\"}],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).\",restrictions:[\"box\"]},{name:\"background-position\",syntax:\"<bg-position>#\",relevance:88,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/background-position\"}],description:\"Specifies the initial position of the background image(s) (after any resizing) within their corresponding background positioning area.\",restrictions:[\"position\",\"length\",\"percentage\"]},{name:\"background-position-x\",values:[{name:\"center\",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.\"},{name:\"left\",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.\"},{name:\"right\",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.\"}],status:\"experimental\",syntax:\"[ center | [ [ left | right | x-start | x-end ]? <length-percentage>? ]! ]#\",relevance:54,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/background-position-x\"}],description:\"If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.\",restrictions:[\"length\",\"percentage\"]},{name:\"background-position-y\",values:[{name:\"bottom\",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.\"},{name:\"center\",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.\"},{name:\"top\",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.\"}],status:\"experimental\",syntax:\"[ center | [ [ top | bottom | y-start | y-end ]? <length-percentage>? ]! ]#\",relevance:53,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/background-position-y\"}],description:\"If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.\",restrictions:[\"length\",\"percentage\"]},{name:\"background-repeat\",values:[],syntax:\"<repeat-style>#\",relevance:86,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/background-repeat\"}],description:\"Specifies how background images are tiled after they have been sized and positioned.\",restrictions:[\"repeat\"]},{name:\"background-size\",values:[{name:\"auto\",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%.\"},{name:\"contain\",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.\"},{name:\"cover\",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.\"}],syntax:\"<bg-size>#\",relevance:86,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/background-size\"}],description:\"Specifies the size of the background images.\",restrictions:[\"length\",\"percentage\"]},{name:\"behavior\",browsers:[\"IE6\"],relevance:50,description:\"IE only. Used to extend behaviors of the browser.\",restrictions:[\"url\"]},{name:\"block-size\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C57\",\"O44\"],values:[{name:\"auto\",description:\"Depends on the values of other properties.\"}],syntax:\"<'width'>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/block-size\"}],description:\"Size of an element in the direction opposite that of the direction specified by 'writing-mode'.\",restrictions:[\"length\",\"percentage\"]},{name:\"border\",syntax:\"<line-width> || <line-style> || <color>\",relevance:96,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border\"}],description:\"Shorthand property for setting border width, style, and color.\",restrictions:[\"length\",\"line-width\",\"line-style\",\"color\"]},{name:\"border-block-end\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],syntax:\"<'border-top-width'> || <'border-top-style'> || <color>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-block-end\"}],description:\"Logical 'border-bottom'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"length\",\"line-width\",\"line-style\",\"color\"]},{name:\"border-block-start\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],syntax:\"<'border-top-width'> || <'border-top-style'> || <color>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-block-start\"}],description:\"Logical 'border-top'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"length\",\"line-width\",\"line-style\",\"color\"]},{name:\"border-block-end-color\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],syntax:\"<'border-top-color'>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-block-end-color\"}],description:\"Logical 'border-bottom-color'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"color\"]},{name:\"border-block-start-color\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],syntax:\"<'border-top-color'>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-block-start-color\"}],description:\"Logical 'border-top-color'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"color\"]},{name:\"border-block-end-style\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],syntax:\"<'border-top-style'>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-block-end-style\"}],description:\"Logical 'border-bottom-style'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"line-style\"]},{name:\"border-block-start-style\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],syntax:\"<'border-top-style'>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-block-start-style\"}],description:\"Logical 'border-top-style'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"line-style\"]},{name:\"border-block-end-width\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],syntax:\"<'border-top-width'>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-block-end-width\"}],description:\"Logical 'border-bottom-width'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"length\",\"line-width\"]},{name:\"border-block-start-width\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],syntax:\"<'border-top-width'>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-block-start-width\"}],description:\"Logical 'border-top-width'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"length\",\"line-width\"]},{name:\"border-bottom\",syntax:\"<line-width> || <line-style> || <color>\",relevance:89,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-bottom\"}],description:\"Shorthand property for setting border width, style and color.\",restrictions:[\"length\",\"line-width\",\"line-style\",\"color\"]},{name:\"border-bottom-color\",syntax:\"<'border-top-color'>\",relevance:71,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-bottom-color\"}],description:\"Sets the color of the bottom border.\",restrictions:[\"color\"]},{name:\"border-bottom-left-radius\",syntax:\"<length-percentage>{1,2}\",relevance:75,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius\"}],description:\"Defines the radii of the bottom left outer border edge.\",restrictions:[\"length\",\"percentage\"]},{name:\"border-bottom-right-radius\",syntax:\"<length-percentage>{1,2}\",relevance:74,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius\"}],description:\"Defines the radii of the bottom right outer border edge.\",restrictions:[\"length\",\"percentage\"]},{name:\"border-bottom-style\",syntax:\"<line-style>\",relevance:58,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-bottom-style\"}],description:\"Sets the style of the bottom border.\",restrictions:[\"line-style\"]},{name:\"border-bottom-width\",syntax:\"<line-width>\",relevance:62,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-bottom-width\"}],description:\"Sets the thickness of the bottom border.\",restrictions:[\"length\",\"line-width\"]},{name:\"border-collapse\",values:[{name:\"collapse\",description:\"Selects the collapsing borders model.\"},{name:\"separate\",description:\"Selects the separated borders border model.\"}],syntax:\"collapse | separate\",relevance:74,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-collapse\"}],description:\"Selects a table's border model.\",restrictions:[\"enum\"]},{name:\"border-color\",values:[],syntax:\"<color>{1,4}\",relevance:87,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-color\"}],description:\"The color of the border around all four edges of an element.\",restrictions:[\"color\"]},{name:\"border-image\",values:[{name:\"auto\",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.\"},{name:\"fill\",description:\"Causes the middle part of the border-image to be preserved.\"},{name:\"none\",description:\"Use the border styles.\"},{name:\"repeat\",description:\"The image is tiled (repeated) to fill the area.\"},{name:\"round\",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.\"},{name:\"space\",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.\"},{name:\"stretch\",description:\"The image is stretched to fill the area.\"},{name:\"url()\"}],syntax:\"<'border-image-source'> || <'border-image-slice'> [ / <'border-image-width'> | / <'border-image-width'>? / <'border-image-outset'> ]? || <'border-image-repeat'>\",relevance:53,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-image\"}],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.\",restrictions:[\"length\",\"percentage\",\"number\",\"url\",\"enum\"]},{name:\"border-image-outset\",syntax:\"[ <length> | <number> ]{1,4}\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-image-outset\"}],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.\",restrictions:[\"length\",\"number\"]},{name:\"border-image-repeat\",values:[{name:\"repeat\",description:\"The image is tiled (repeated) to fill the area.\"},{name:\"round\",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.\"},{name:\"space\",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.\"},{name:\"stretch\",description:\"The image is stretched to fill the area.\"}],syntax:\"[ stretch | repeat | round | space ]{1,2}\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-image-repeat\"}],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.\",restrictions:[\"enum\"]},{name:\"border-image-slice\",values:[{name:\"fill\",description:\"Causes the middle part of the border-image to be preserved.\"}],syntax:\"<number-percentage>{1,4} && fill?\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-image-slice\"}],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.\",restrictions:[\"number\",\"percentage\"]},{name:\"border-image-source\",values:[{name:\"none\",description:\"Use the border styles.\"}],syntax:\"none | <image>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-image-source\"}],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.\",restrictions:[\"image\"]},{name:\"border-image-width\",values:[{name:\"auto\",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.\"}],syntax:\"[ <length-percentage> | <number> | auto ]{1,4}\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-image-width\"}],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.\",restrictions:[\"length\",\"percentage\",\"number\"]},{name:\"border-inline-end\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],syntax:\"<'border-top-width'> || <'border-top-style'> || <color>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-inline-end\"}],description:\"Logical 'border-right'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"length\",\"line-width\",\"line-style\",\"color\"]},{name:\"border-inline-start\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],syntax:\"<'border-top-width'> || <'border-top-style'> || <color>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-inline-start\"}],description:\"Logical 'border-left'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"length\",\"line-width\",\"line-style\",\"color\"]},{name:\"border-inline-end-color\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],syntax:\"<'border-top-color'>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color\"}],description:\"Logical 'border-right-color'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"color\"]},{name:\"border-inline-start-color\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],syntax:\"<'border-top-color'>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color\"}],description:\"Logical 'border-left-color'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"color\"]},{name:\"border-inline-end-style\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],syntax:\"<'border-top-style'>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-style\"}],description:\"Logical 'border-right-style'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"line-style\"]},{name:\"border-inline-start-style\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],syntax:\"<'border-top-style'>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-style\"}],description:\"Logical 'border-left-style'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"line-style\"]},{name:\"border-inline-end-width\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],syntax:\"<'border-top-width'>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width\"}],description:\"Logical 'border-right-width'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"length\",\"line-width\"]},{name:\"border-inline-start-width\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],syntax:\"<'border-top-width'>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width\"}],description:\"Logical 'border-left-width'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"length\",\"line-width\"]},{name:\"border-left\",syntax:\"<line-width> || <line-style> || <color>\",relevance:83,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-left\"}],description:\"Shorthand property for setting border width, style and color\",restrictions:[\"length\",\"line-width\",\"line-style\",\"color\"]},{name:\"border-left-color\",syntax:\"<color>\",relevance:65,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-left-color\"}],description:\"Sets the color of the left border.\",restrictions:[\"color\"]},{name:\"border-left-style\",syntax:\"<line-style>\",relevance:53,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-left-style\"}],description:\"Sets the style of the left border.\",restrictions:[\"line-style\"]},{name:\"border-left-width\",syntax:\"<line-width>\",relevance:58,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-left-width\"}],description:\"Sets the thickness of the left border.\",restrictions:[\"length\",\"line-width\"]},{name:\"border-radius\",syntax:\"<length-percentage>{1,4} [ / <length-percentage>{1,4} ]?\",relevance:92,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-radius\"}],description:\"Defines the radii of the outer border edge.\",restrictions:[\"length\",\"percentage\"]},{name:\"border-right\",syntax:\"<line-width> || <line-style> || <color>\",relevance:81,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-right\"}],description:\"Shorthand property for setting border width, style and color\",restrictions:[\"length\",\"line-width\",\"line-style\",\"color\"]},{name:\"border-right-color\",syntax:\"<color>\",relevance:64,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-right-color\"}],description:\"Sets the color of the right border.\",restrictions:[\"color\"]},{name:\"border-right-style\",syntax:\"<line-style>\",relevance:53,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-right-style\"}],description:\"Sets the style of the right border.\",restrictions:[\"line-style\"]},{name:\"border-right-width\",syntax:\"<line-width>\",relevance:59,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-right-width\"}],description:\"Sets the thickness of the right border.\",restrictions:[\"length\",\"line-width\"]},{name:\"border-spacing\",syntax:\"<length> <length>?\",relevance:68,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-spacing\"}],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.\",restrictions:[\"length\"]},{name:\"border-style\",values:[],syntax:\"<line-style>{1,4}\",relevance:81,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-style\"}],description:\"The style of the border around edges of an element.\",restrictions:[\"line-style\"]},{name:\"border-top\",syntax:\"<line-width> || <line-style> || <color>\",relevance:88,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-top\"}],description:\"Shorthand property for setting border width, style and color\",restrictions:[\"length\",\"line-width\",\"line-style\",\"color\"]},{name:\"border-top-color\",syntax:\"<color>\",relevance:72,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-top-color\"}],description:\"Sets the color of the top border.\",restrictions:[\"color\"]},{name:\"border-top-left-radius\",syntax:\"<length-percentage>{1,2}\",relevance:75,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius\"}],description:\"Defines the radii of the top left outer border edge.\",restrictions:[\"length\",\"percentage\"]},{name:\"border-top-right-radius\",syntax:\"<length-percentage>{1,2}\",relevance:75,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius\"}],description:\"Defines the radii of the top right outer border edge.\",restrictions:[\"length\",\"percentage\"]},{name:\"border-top-style\",syntax:\"<line-style>\",relevance:58,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-top-style\"}],description:\"Sets the style of the top border.\",restrictions:[\"line-style\"]},{name:\"border-top-width\",syntax:\"<line-width>\",relevance:61,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-top-width\"}],description:\"Sets the thickness of the top border.\",restrictions:[\"length\",\"line-width\"]},{name:\"border-width\",values:[],syntax:\"<line-width>{1,4}\",relevance:82,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-width\"}],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.\",restrictions:[\"length\",\"line-width\"]},{name:\"bottom\",values:[{name:\"auto\",description:\"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well\"}],syntax:\"<length> | <percentage> | auto\",relevance:91,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/bottom\"}],description:\"Specifies how far an absolutely positioned box's bottom margin edge is offset above the bottom edge of the box's 'containing block'.\",restrictions:[\"length\",\"percentage\"]},{name:\"box-decoration-break\",browsers:[\"E79\",\"FF32\",\"S7\",\"C22\",\"O15\"],values:[{name:\"clone\",description:\"Each box is independently wrapped with the border and padding.\"},{name:\"slice\",description:\"The effect is as though the element were rendered with no breaks present, and then sliced by the breaks afterward.\"}],syntax:\"slice | clone\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/box-decoration-break\"}],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.\",restrictions:[\"enum\"]},{name:\"box-shadow\",values:[{name:\"inset\",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).\"},{name:\"none\",description:\"No shadow.\"}],syntax:\"none | <shadow>#\",relevance:90,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/box-shadow\"}],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.\",restrictions:[\"length\",\"color\",\"enum\"]},{name:\"box-sizing\",values:[{name:\"border-box\",description:\"The specified width and height (and respective min/max properties) on this element determine the border box of the element.\"},{name:\"content-box\",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.\"}],syntax:\"content-box | border-box\",relevance:93,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/box-sizing\"}],description:\"Specifies the behavior of the 'width' and 'height' properties.\",restrictions:[\"enum\"]},{name:\"break-after\",values:[{name:\"always\",description:\"Always force a page break before/after the generated box.\"},{name:\"auto\",description:\"Neither force nor forbid a page/column break before/after the principal box.\"},{name:\"avoid\",description:\"Avoid a break before/after the principal box.\"},{name:\"avoid-column\",description:\"Avoid a column break before/after the principal box.\"},{name:\"avoid-page\",description:\"Avoid a page break before/after the principal box.\"},{name:\"column\",description:\"Always force a column break before/after the principal box.\"},{name:\"left\",description:\"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page.\"},{name:\"page\",description:\"Always force a page break before/after the principal box.\"},{name:\"right\",description:\"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page.\"}],syntax:\"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region\",relevance:50,description:\"Describes the page/column/region break behavior after the generated box.\",restrictions:[\"enum\"]},{name:\"break-before\",values:[{name:\"always\",description:\"Always force a page break before/after the generated box.\"},{name:\"auto\",description:\"Neither force nor forbid a page/column break before/after the principal box.\"},{name:\"avoid\",description:\"Avoid a break before/after the principal box.\"},{name:\"avoid-column\",description:\"Avoid a column break before/after the principal box.\"},{name:\"avoid-page\",description:\"Avoid a page break before/after the principal box.\"},{name:\"column\",description:\"Always force a column break before/after the principal box.\"},{name:\"left\",description:\"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page.\"},{name:\"page\",description:\"Always force a page break before/after the principal box.\"},{name:\"right\",description:\"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page.\"}],syntax:\"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region\",relevance:50,description:\"Describes the page/column/region break behavior before the generated box.\",restrictions:[\"enum\"]},{name:\"break-inside\",values:[{name:\"auto\",description:\"Impose no additional breaking constraints within the box.\"},{name:\"avoid\",description:\"Avoid breaks within the box.\"},{name:\"avoid-column\",description:\"Avoid a column break within the box.\"},{name:\"avoid-page\",description:\"Avoid a page break within the box.\"}],syntax:\"auto | avoid | avoid-page | avoid-column | avoid-region\",relevance:51,description:\"Describes the page/column/region break behavior inside the principal box.\",restrictions:[\"enum\"]},{name:\"caption-side\",values:[{name:\"bottom\",description:\"Positions the caption box below the table box.\"},{name:\"top\",description:\"Positions the caption box above the table box.\"}],syntax:\"top | bottom | block-start | block-end | inline-start | inline-end\",relevance:52,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/caption-side\"}],description:\"Specifies the position of the caption box with respect to the table box.\",restrictions:[\"enum\"]},{name:\"caret-color\",browsers:[\"E79\",\"FF53\",\"S11.1\",\"C57\",\"O44\"],values:[{name:\"auto\",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.\"}],syntax:\"auto | <color>\",relevance:52,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/caret-color\"}],description:\"Controls the color of the text insertion indicator.\",restrictions:[\"color\",\"enum\"]},{name:\"clear\",values:[{name:\"both\",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.\"},{name:\"left\",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.\"},{name:\"none\",description:\"No constraint on the box's position with respect to floats.\"},{name:\"right\",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.\"}],syntax:\"none | left | right | both | inline-start | inline-end\",relevance:85,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/clear\"}],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.\",restrictions:[\"enum\"]},{name:\"clip\",values:[{name:\"auto\",description:\"The element does not clip.\"},{name:\"rect()\",description:\"Specifies offsets from the edges of the border box.\"}],syntax:\"<shape> | auto\",relevance:74,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/clip\"}],description:\"Deprecated. Use the 'clip-path' property when support allows. Defines the visible portion of an element\\u2019s box.\",restrictions:[\"enum\"]},{name:\"clip-path\",values:[{name:\"none\",description:\"No clipping path gets created.\"},{name:\"url()\",description:\"References a <clipPath> element to create a clipping path.\"}],syntax:\"<clip-source> | [ <basic-shape> || <geometry-box> ] | none\",relevance:57,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/clip-path\"}],description:\"Specifies a clipping path where everything inside the path is visible and everything outside is clipped out.\",restrictions:[\"url\",\"shape\",\"geometry-box\",\"enum\"]},{name:\"clip-rule\",browsers:[\"E\",\"C5\",\"FF3\",\"IE10\",\"O9\",\"S6\"],values:[{name:\"evenodd\",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.\"},{name:\"nonzero\",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.\"}],relevance:50,description:\"Indicates the algorithm which is to be used to determine what parts of the canvas are included inside the shape.\",restrictions:[\"enum\"]},{name:\"color\",syntax:\"<color>\",relevance:95,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/color\"}],description:\"Sets the color of an element's text\",restrictions:[\"color\"]},{name:\"color-interpolation-filters\",browsers:[\"E\",\"C5\",\"FF3\",\"IE10\",\"O9\",\"S6\"],values:[{name:\"auto\",description:\"Color operations are not required to occur in a particular color space.\"},{name:\"linearRGB\",description:\"Color operations should occur in the linearized RGB color space.\"},{name:\"sRGB\",description:\"Color operations should occur in the sRGB color space.\"}],relevance:50,description:\"Specifies the color space for imaging operations performed via filter effects.\",restrictions:[\"enum\"]},{name:\"column-count\",values:[{name:\"auto\",description:\"Determines the number of columns by the 'column-width' property and the element width.\"}],syntax:\"<integer> | auto\",relevance:53,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/column-count\"}],description:\"Describes the optimal number of columns into which the content of the element will be flowed.\",restrictions:[\"integer\",\"enum\"]},{name:\"column-fill\",values:[{name:\"auto\",description:\"Fills columns sequentially.\"},{name:\"balance\",description:\"Balance content equally between columns, if possible.\"}],syntax:\"auto | balance | balance-all\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/column-fill\"}],description:\"In continuous media, this property will only be consulted if the length of columns has been constrained. Otherwise, columns will automatically be balanced.\",restrictions:[\"enum\"]},{name:\"column-gap\",values:[{name:\"normal\",description:\"User agent specific and typically equivalent to 1em.\"}],syntax:\"normal | <length-percentage>\",relevance:55,description:\"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.\",restrictions:[\"length\",\"enum\"]},{name:\"column-rule\",syntax:\"<'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>\",relevance:51,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/column-rule\"}],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.\",restrictions:[\"length\",\"line-width\",\"line-style\",\"color\"]},{name:\"column-rule-color\",syntax:\"<color>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/column-rule-color\"}],description:\"Sets the color of the column rule\",restrictions:[\"color\"]},{name:\"column-rule-style\",syntax:\"<'border-style'>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/column-rule-style\"}],description:\"Sets the style of the rule between columns of an element.\",restrictions:[\"line-style\"]},{name:\"column-rule-width\",syntax:\"<'border-width'>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/column-rule-width\"}],description:\"Sets the width of the rule between columns. Negative values are not allowed.\",restrictions:[\"length\",\"line-width\"]},{name:\"columns\",values:[{name:\"auto\",description:\"The width depends on the values of other properties.\"}],syntax:\"<'column-width'> || <'column-count'>\",relevance:51,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/columns\"}],description:\"A shorthand property which sets both 'column-width' and 'column-count'.\",restrictions:[\"length\",\"integer\",\"enum\"]},{name:\"column-span\",values:[{name:\"all\",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.\"},{name:\"none\",description:\"The element does not span multiple columns.\"}],syntax:\"none | all\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/column-span\"}],description:\"Describes the page/column break behavior after the generated box.\",restrictions:[\"enum\"]},{name:\"column-width\",values:[{name:\"auto\",description:\"The width depends on the values of other properties.\"}],syntax:\"<length> | auto\",relevance:51,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/column-width\"}],description:\"Describes the width of columns in multicol elements.\",restrictions:[\"length\",\"enum\"]},{name:\"contain\",browsers:[\"E79\",\"FF69\",\"C52\",\"O40\"],values:[{name:\"none\",description:\"Indicates that the property has no effect.\"},{name:\"strict\",description:\"Turns on all forms of containment for the element.\"},{name:\"content\",description:\"All containment rules except size are applied to the element.\"},{name:\"size\",description:\"For properties that can have effects on more than just an element and its descendants, those effects don't escape the containing element.\"},{name:\"layout\",description:\"Turns on layout containment for the element.\"},{name:\"style\",description:\"Turns on style containment for the element.\"},{name:\"paint\",description:\"Turns on paint containment for the element.\"}],syntax:\"none | strict | content | [ size || layout || style || paint ]\",relevance:58,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/contain\"}],description:\"Indicates that an element and its contents are, as much as possible, independent of the rest of the document tree.\",restrictions:[\"enum\"]},{name:\"content\",values:[{name:\"attr()\",description:\"The attr(n) function returns as a string the value of attribute n for the subject of the selector.\"},{name:\"counter(name)\",description:\"Counters are denoted by identifiers (see the 'counter-increment' and 'counter-reset' properties).\"},{name:\"icon\",description:\"The (pseudo-)element is replaced in its entirety by the resource referenced by its 'icon' property, and treated as a replaced element.\"},{name:\"none\",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.\"},{name:\"normal\",description:\"See http://www.w3.org/TR/css3-content/#content for computation rules.\"},{name:\"url()\"}],syntax:\"normal | none | [ <content-replacement> | <content-list> ] [/ [ <string> | <counter> ]+ ]?\",relevance:90,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/content\"}],description:\"Determines which page-based occurrence of a given element is applied to a counter or string value.\",restrictions:[\"string\",\"url\"]},{name:\"counter-increment\",values:[{name:\"none\",description:\"This element does not alter the value of any counters.\"}],syntax:\"[ <counter-name> <integer>? ]+ | none\",relevance:53,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/counter-increment\"}],description:\"Manipulate the value of existing counters.\",restrictions:[\"identifier\",\"integer\"]},{name:\"counter-reset\",values:[{name:\"none\",description:\"The counter is not modified.\"}],syntax:\"[ <counter-name> <integer>? | <reversed-counter-name> <integer>? ]+ | none\",relevance:53,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/counter-reset\"}],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.\",restrictions:[\"identifier\",\"integer\"]},{name:\"cursor\",values:[{name:\"alias\",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.\"},{name:\"all-scroll\",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.\"},{name:\"auto\",description:\"The UA determines the cursor to display based on the current context.\"},{name:\"cell\",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.\"},{name:\"col-resize\",description:\"Indicates that the item/column can be resized horizontally. Often rendered as arrows pointing left and right with a vertical bar separating them.\"},{name:\"context-menu\",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.\"},{name:\"copy\",description:\"Indicates something is to be copied. Often rendered as an arrow with a small plus sign next to it.\"},{name:\"crosshair\",description:\"A simple crosshair (e.g., short line segments resembling a '+' sign). Often used to indicate a two dimensional bitmap selection mode.\"},{name:\"default\",description:\"The platform-dependent default cursor. Often rendered as an arrow.\"},{name:\"e-resize\",description:\"Indicates that east edge is to be moved.\"},{name:\"ew-resize\",description:\"Indicates a bidirectional east-west resize cursor.\"},{name:\"grab\",description:\"Indicates that something can be grabbed.\"},{name:\"grabbing\",description:\"Indicates that something is being grabbed.\"},{name:\"help\",description:\"Help is available for the object under the cursor. Often rendered as a question mark or a balloon.\"},{name:\"move\",description:\"Indicates something is to be moved.\"},{name:\"-moz-grab\",description:\"Indicates that something can be grabbed.\"},{name:\"-moz-grabbing\",description:\"Indicates that something is being grabbed.\"},{name:\"-moz-zoom-in\",description:\"Indicates that something can be zoomed (magnified) in.\"},{name:\"-moz-zoom-out\",description:\"Indicates that something can be zoomed (magnified) out.\"},{name:\"ne-resize\",description:\"Indicates that movement starts from north-east corner.\"},{name:\"nesw-resize\",description:\"Indicates a bidirectional north-east/south-west cursor.\"},{name:\"no-drop\",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.\"},{name:\"none\",description:\"No cursor is rendered for the element.\"},{name:\"not-allowed\",description:\"Indicates that the requested action will not be carried out. Often rendered as a circle with a line through it.\"},{name:\"n-resize\",description:\"Indicates that north edge is to be moved.\"},{name:\"ns-resize\",description:\"Indicates a bidirectional north-south cursor.\"},{name:\"nw-resize\",description:\"Indicates that movement starts from north-west corner.\"},{name:\"nwse-resize\",description:\"Indicates a bidirectional north-west/south-east cursor.\"},{name:\"pointer\",description:\"The cursor is a pointer that indicates a link.\"},{name:\"progress\",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.\"},{name:\"row-resize\",description:\"Indicates that the item/row can be resized vertically. Often rendered as arrows pointing up and down with a horizontal bar separating them.\"},{name:\"se-resize\",description:\"Indicates that movement starts from south-east corner.\"},{name:\"s-resize\",description:\"Indicates that south edge is to be moved.\"},{name:\"sw-resize\",description:\"Indicates that movement starts from south-west corner.\"},{name:\"text\",description:\"Indicates text that may be selected. Often rendered as a vertical I-beam.\"},{name:\"vertical-text\",description:\"Indicates vertical-text that may be selected. Often rendered as a horizontal I-beam.\"},{name:\"wait\",description:\"Indicates that the program is busy and the user should wait. Often rendered as a watch or hourglass.\"},{name:\"-webkit-grab\",description:\"Indicates that something can be grabbed.\"},{name:\"-webkit-grabbing\",description:\"Indicates that something is being grabbed.\"},{name:\"-webkit-zoom-in\",description:\"Indicates that something can be zoomed (magnified) in.\"},{name:\"-webkit-zoom-out\",description:\"Indicates that something can be zoomed (magnified) out.\"},{name:\"w-resize\",description:\"Indicates that west edge is to be moved.\"},{name:\"zoom-in\",description:\"Indicates that something can be zoomed (magnified) in.\"},{name:\"zoom-out\",description:\"Indicates that something can be zoomed (magnified) out.\"}],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 ] ]\",relevance:92,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/cursor\"}],description:\"Allows control over cursor appearance in an element\",restrictions:[\"url\",\"number\",\"enum\"]},{name:\"direction\",values:[{name:\"ltr\",description:\"Left-to-right direction.\"},{name:\"rtl\",description:\"Right-to-left direction.\"}],syntax:\"ltr | rtl\",relevance:70,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/direction\"}],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.\",restrictions:[\"enum\"]},{name:\"display\",values:[{name:\"block\",description:\"The element generates a block-level box\"},{name:\"contents\",description:\"The element itself does not generate any boxes, but its children and pseudo-elements still generate boxes as normal.\"},{name:\"flex\",description:\"The element generates a principal flex container box and establishes a flex formatting context.\"},{name:\"flexbox\",description:\"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'.\"},{name:\"flow-root\",description:\"The element generates a block container box, and lays out its contents using flow layout.\"},{name:\"grid\",description:\"The element generates a principal grid container box, and establishes a grid formatting context.\"},{name:\"inline\",description:\"The element generates an inline-level box.\"},{name:\"inline-block\",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.\"},{name:\"inline-flex\",description:\"Inline-level flex container.\"},{name:\"inline-flexbox\",description:\"Inline-level flex container. Standardized as 'inline-flex'\"},{name:\"inline-table\",description:\"Inline-level table wrapper box containing table box.\"},{name:\"list-item\",description:\"One or more block boxes and one marker box.\"},{name:\"-moz-box\",description:\"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'.\"},{name:\"-moz-deck\"},{name:\"-moz-grid\"},{name:\"-moz-grid-group\"},{name:\"-moz-grid-line\"},{name:\"-moz-groupbox\"},{name:\"-moz-inline-box\",description:\"Inline-level flex container. Standardized as 'inline-flex'\"},{name:\"-moz-inline-grid\"},{name:\"-moz-inline-stack\"},{name:\"-moz-marker\"},{name:\"-moz-popup\"},{name:\"-moz-stack\"},{name:\"-ms-flexbox\",description:\"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'.\"},{name:\"-ms-grid\",description:\"The element generates a principal grid container box, and establishes a grid formatting context.\"},{name:\"-ms-inline-flexbox\",description:\"Inline-level flex container. Standardized as 'inline-flex'\"},{name:\"-ms-inline-grid\",description:\"Inline-level grid container.\"},{name:\"none\",description:\"The element and its descendants generates no boxes.\"},{name:\"ruby\",description:\"The element generates a principal ruby container box, and establishes a ruby formatting context.\"},{name:\"ruby-base\"},{name:\"ruby-base-container\"},{name:\"ruby-text\"},{name:\"ruby-text-container\"},{name:\"run-in\",description:\"The element generates a run-in box. Run-in elements act like inlines or blocks, depending on the surrounding elements.\"},{name:\"table\",description:\"The element generates a principal table wrapper box containing an additionally-generated table box, and establishes a table formatting context.\"},{name:\"table-caption\"},{name:\"table-cell\"},{name:\"table-column\"},{name:\"table-column-group\"},{name:\"table-footer-group\"},{name:\"table-header-group\"},{name:\"table-row\"},{name:\"table-row-group\"},{name:\"-webkit-box\",description:\"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'.\"},{name:\"-webkit-flex\",description:\"The element lays out its contents using flow layout (block-and-inline layout).\"},{name:\"-webkit-inline-box\",description:\"Inline-level flex container. Standardized as 'inline-flex'\"},{name:\"-webkit-inline-flex\",description:\"Inline-level flex container.\"}],syntax:\"[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy>\",relevance:96,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/display\"}],description:\"In combination with 'float' and 'position', determines the type of box or boxes that are generated for an element.\",restrictions:[\"enum\"]},{name:\"empty-cells\",values:[{name:\"hide\",description:\"No borders or backgrounds are drawn around/behind empty cells.\"},{name:\"-moz-show-background\"},{name:\"show\",description:\"Borders and backgrounds are drawn around/behind empty cells (like normal cells).\"}],syntax:\"show | hide\",relevance:51,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/empty-cells\"}],description:\"In the separated borders model, this property controls the rendering of borders and backgrounds around cells that have no visible content.\",restrictions:[\"enum\"]},{name:\"enable-background\",values:[{name:\"accumulate\",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.\"},{name:\"new\",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.\"}],relevance:50,description:\"Deprecated. Use 'isolation' property instead when support allows. Specifies how the accumulation of the background image is managed.\",restrictions:[\"integer\",\"length\",\"percentage\",\"enum\"]},{name:\"fallback\",browsers:[\"FF33\"],syntax:\"<counter-style-name>\",relevance:50,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.\",restrictions:[\"identifier\"]},{name:\"fill\",values:[{name:\"url()\",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.\"},{name:\"none\",description:\"No paint is applied in this layer.\"}],relevance:77,description:\"Paints the interior of the given graphical element.\",restrictions:[\"color\",\"enum\",\"url\"]},{name:\"fill-opacity\",relevance:52,description:\"Specifies the opacity of the painting operation used to paint the interior the current object.\",restrictions:[\"number(0-1)\"]},{name:\"fill-rule\",values:[{name:\"evenodd\",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.\"},{name:\"nonzero\",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.\"}],relevance:50,description:\"Indicates the algorithm (or winding rule) which is to be used to determine what parts of the canvas are included inside the shape.\",restrictions:[\"enum\"]},{name:\"filter\",browsers:[\"E12\",\"FF35\",\"S9.1\",\"C53\",\"O40\"],values:[{name:\"none\",description:\"No filter effects are applied.\"},{name:\"blur()\",description:\"Applies a Gaussian blur to the input image.\"},{name:\"brightness()\",description:\"Applies a linear multiplier to input image, making it appear more or less bright.\"},{name:\"contrast()\",description:\"Adjusts the contrast of the input.\"},{name:\"drop-shadow()\",description:\"Applies a drop shadow effect to the input image.\"},{name:\"grayscale()\",description:\"Converts the input image to grayscale.\"},{name:\"hue-rotate()\",description:\"Applies a hue rotation on the input image. \"},{name:\"invert()\",description:\"Inverts the samples in the input image.\"},{name:\"opacity()\",description:\"Applies transparency to the samples in the input image.\"},{name:\"saturate()\",description:\"Saturates the input image.\"},{name:\"sepia()\",description:\"Converts the input image to sepia.\"},{name:\"url()\",browsers:[\"E12\",\"FF35\",\"S9.1\",\"C53\",\"O40\"],description:\"A filter reference to a <filter> element.\"}],syntax:\"none | <filter-function-list>\",relevance:66,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/filter\"}],description:\"Processes an element\\u2019s rendering before it is displayed in the document, by applying one or more filter effects.\",restrictions:[\"enum\",\"url\"]},{name:\"flex\",values:[{name:\"auto\",description:\"Retrieves the value of the main size property as the used 'flex-basis'.\"},{name:\"content\",description:\"Indicates automatic sizing, based on the flex item\\u2019s content.\"},{name:\"none\",description:\"Expands to '0 0 auto'.\"}],syntax:\"none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]\",relevance:80,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/flex\"}],description:\"Specifies the components of a flexible length: the flex grow factor and flex shrink factor, and the flex basis.\",restrictions:[\"length\",\"number\",\"percentage\"]},{name:\"flex-basis\",values:[{name:\"auto\",description:\"Retrieves the value of the main size property as the used 'flex-basis'.\"},{name:\"content\",description:\"Indicates automatic sizing, based on the flex item\\u2019s content.\"}],syntax:\"content | <'width'>\",relevance:65,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/flex-basis\"}],description:\"Sets the flex basis.\",restrictions:[\"length\",\"number\",\"percentage\"]},{name:\"flex-direction\",values:[{name:\"column\",description:\"The flex container\\u2019s main axis has the same orientation as the block axis of the current writing mode.\"},{name:\"column-reverse\",description:\"Same as 'column', except the main-start and main-end directions are swapped.\"},{name:\"row\",description:\"The flex container\\u2019s main axis has the same orientation as the inline axis of the current writing mode.\"},{name:\"row-reverse\",description:\"Same as 'row', except the main-start and main-end directions are swapped.\"}],syntax:\"row | row-reverse | column | column-reverse\",relevance:83,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/flex-direction\"}],description:\"Specifies how flex items are placed in the flex container, by setting the direction of the flex container\\u2019s main axis.\",restrictions:[\"enum\"]},{name:\"flex-flow\",values:[{name:\"column\",description:\"The flex container\\u2019s main axis has the same orientation as the block axis of the current writing mode.\"},{name:\"column-reverse\",description:\"Same as 'column', except the main-start and main-end directions are swapped.\"},{name:\"nowrap\",description:\"The flex container is single-line.\"},{name:\"row\",description:\"The flex container\\u2019s main axis has the same orientation as the inline axis of the current writing mode.\"},{name:\"row-reverse\",description:\"Same as 'row', except the main-start and main-end directions are swapped.\"},{name:\"wrap\",description:\"The flexbox is multi-line.\"},{name:\"wrap-reverse\",description:\"Same as 'wrap', except the cross-start and cross-end directions are swapped.\"}],syntax:\"<'flex-direction'> || <'flex-wrap'>\",relevance:61,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/flex-flow\"}],description:\"Specifies how flexbox items are placed in the flexbox.\",restrictions:[\"enum\"]},{name:\"flex-grow\",syntax:\"<number>\",relevance:75,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/flex-grow\"}],description:\"Sets the flex grow factor. Negative numbers are invalid.\",restrictions:[\"number\"]},{name:\"flex-shrink\",syntax:\"<number>\",relevance:74,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/flex-shrink\"}],description:\"Sets the flex shrink factor. Negative numbers are invalid.\",restrictions:[\"number\"]},{name:\"flex-wrap\",values:[{name:\"nowrap\",description:\"The flex container is single-line.\"},{name:\"wrap\",description:\"The flexbox is multi-line.\"},{name:\"wrap-reverse\",description:\"Same as 'wrap', except the cross-start and cross-end directions are swapped.\"}],syntax:\"nowrap | wrap | wrap-reverse\",relevance:79,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/flex-wrap\"}],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.\",restrictions:[\"enum\"]},{name:\"float\",values:[{name:\"inline-end\",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.\"},{name:\"inline-start\",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.\"},{name:\"left\",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).\"},{name:\"none\",description:\"The box is not floated.\"},{name:\"right\",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.\"}],syntax:\"left | right | none | inline-start | inline-end\",relevance:91,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/float\"}],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.\",restrictions:[\"enum\"]},{name:\"flood-color\",browsers:[\"E\",\"C5\",\"FF3\",\"IE10\",\"O9\",\"S6\"],relevance:50,description:\"Indicates what color to use to flood the current filter primitive subregion.\",restrictions:[\"color\"]},{name:\"flood-opacity\",browsers:[\"E\",\"C5\",\"FF3\",\"IE10\",\"O9\",\"S6\"],relevance:50,description:\"Indicates what opacity to use to flood the current filter primitive subregion.\",restrictions:[\"number(0-1)\",\"percentage\"]},{name:\"font\",values:[{name:\"100\",description:\"Thin\"},{name:\"200\",description:\"Extra Light (Ultra Light)\"},{name:\"300\",description:\"Light\"},{name:\"400\",description:\"Normal\"},{name:\"500\",description:\"Medium\"},{name:\"600\",description:\"Semi Bold (Demi Bold)\"},{name:\"700\",description:\"Bold\"},{name:\"800\",description:\"Extra Bold (Ultra Bold)\"},{name:\"900\",description:\"Black (Heavy)\"},{name:\"bold\",description:\"Same as 700\"},{name:\"bolder\",description:\"Specifies the weight of the face bolder than the inherited value.\"},{name:\"caption\",description:\"The font used for captioned controls (e.g., buttons, drop-downs, etc.).\"},{name:\"icon\",description:\"The font used to label icons.\"},{name:\"italic\",description:\"Selects a font that is labeled 'italic', or, if that is not available, one labeled 'oblique'.\"},{name:\"large\"},{name:\"larger\"},{name:\"lighter\",description:\"Specifies the weight of the face lighter than the inherited value.\"},{name:\"medium\"},{name:\"menu\",description:\"The font used in menus (e.g., dropdown menus and menu lists).\"},{name:\"message-box\",description:\"The font used in dialog boxes.\"},{name:\"normal\",description:\"Specifies a face that is not labeled as a small-caps font.\"},{name:\"oblique\",description:\"Selects a font that is labeled 'oblique'.\"},{name:\"small\"},{name:\"small-caps\",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.\"},{name:\"small-caption\",description:\"The font used for labeling small controls.\"},{name:\"smaller\"},{name:\"status-bar\",description:\"The font used in window status bars.\"},{name:\"x-large\"},{name:\"x-small\"},{name:\"xx-large\"},{name:\"xx-small\"}],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\",relevance:84,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/font\"}],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.\",restrictions:[\"font\"]},{name:\"font-family\",values:[{name:\"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif\"},{name:\"Arial, Helvetica, sans-serif\"},{name:\"Cambria, Cochin, Georgia, Times, 'Times New Roman', serif\"},{name:\"'Courier New', Courier, monospace\"},{name:\"cursive\"},{name:\"fantasy\"},{name:\"'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif\"},{name:\"Georgia, 'Times New Roman', Times, serif\"},{name:\"'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif\"},{name:\"Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif\"},{name:\"'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif\"},{name:\"monospace\"},{name:\"sans-serif\"},{name:\"'Segoe UI', Tahoma, Geneva, Verdana, sans-serif\"},{name:\"serif\"},{name:\"'Times New Roman', Times, serif\"},{name:\"'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif\"},{name:\"Verdana, Geneva, Tahoma, sans-serif\"}],syntax:\"<family-name>\",relevance:94,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/font-family\"}],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.\",restrictions:[\"font\"]},{name:\"font-feature-settings\",values:[{name:'\"aalt\"',description:\"Access All Alternates.\"},{name:'\"abvf\"',description:\"Above-base Forms. Required in Khmer script.\"},{name:'\"abvm\"',description:\"Above-base Mark Positioning. Required in Indic scripts.\"},{name:'\"abvs\"',description:\"Above-base Substitutions. Required in Indic scripts.\"},{name:'\"afrc\"',description:\"Alternative Fractions.\"},{name:'\"akhn\"',description:\"Akhand. Required in most Indic scripts.\"},{name:'\"blwf\"',description:\"Below-base Form. Required in a number of Indic scripts.\"},{name:'\"blwm\"',description:\"Below-base Mark Positioning. Required in Indic scripts.\"},{name:'\"blws\"',description:\"Below-base Substitutions. Required in Indic scripts.\"},{name:'\"calt\"',description:\"Contextual Alternates.\"},{name:'\"case\"',description:\"Case-Sensitive Forms. Applies only to European scripts; particularly prominent in Spanish-language setting.\"},{name:'\"ccmp\"',description:\"Glyph Composition/Decomposition.\"},{name:'\"cfar\"',description:\"Conjunct Form After Ro. Required in Khmer scripts.\"},{name:'\"cjct\"',description:\"Conjunct Forms. Required in Indic scripts that show similarity to Devanagari.\"},{name:'\"clig\"',description:\"Contextual Ligatures.\"},{name:'\"cpct\"',description:\"Centered CJK Punctuation. Used primarily in Chinese fonts.\"},{name:'\"cpsp\"',description:\"Capital Spacing. Should not be used in connecting scripts (e.g. most Arabic).\"},{name:'\"cswh\"',description:\"Contextual Swash.\"},{name:'\"curs\"',description:\"Cursive Positioning. Can be used in any cursive script.\"},{name:'\"c2pc\"',description:\"Petite Capitals From Capitals. Applies only to bicameral scripts.\"},{name:'\"c2sc\"',description:\"Small Capitals From Capitals. Applies only to bicameral scripts.\"},{name:'\"dist\"',description:\"Distances. Required in Indic scripts.\"},{name:'\"dlig\"',description:\"Discretionary ligatures.\"},{name:'\"dnom\"',description:\"Denominators.\"},{name:'\"dtls\"',description:\"Dotless Forms. Applied to math formula layout.\"},{name:'\"expt\"',description:\"Expert Forms. Applies only to Japanese.\"},{name:'\"falt\"',description:\"Final Glyph on Line Alternates. Can be used in any cursive script.\"},{name:'\"fin2\"',description:\"Terminal Form #2. Used only with the Syriac script.\"},{name:'\"fin3\"',description:\"Terminal Form #3. Used only with the Syriac script.\"},{name:'\"fina\"',description:\"Terminal Forms. Can be used in any alphabetic script.\"},{name:'\"flac\"',description:\"Flattened ascent forms. Applied to math formula layout.\"},{name:'\"frac\"',description:\"Fractions.\"},{name:'\"fwid\"',description:\"Full Widths. Applies to any script which can use monospaced forms.\"},{name:'\"half\"',description:\"Half Forms. Required in Indic scripts that show similarity to Devanagari.\"},{name:'\"haln\"',description:\"Halant Forms. Required in Indic scripts.\"},{name:'\"halt\"',description:\"Alternate Half Widths. Used only in CJKV fonts.\"},{name:'\"hist\"',description:\"Historical Forms.\"},{name:'\"hkna\"',description:\"Horizontal Kana Alternates. Applies only to fonts that support kana (hiragana and katakana).\"},{name:'\"hlig\"',description:\"Historical Ligatures.\"},{name:'\"hngl\"',description:\"Hangul. Korean only.\"},{name:'\"hojo\"',description:\"Hojo Kanji Forms (JIS X 0212-1990 Kanji Forms). Used only with Kanji script.\"},{name:'\"hwid\"',description:\"Half Widths. Generally used only in CJKV fonts.\"},{name:'\"init\"',description:\"Initial Forms. Can be used in any alphabetic script.\"},{name:'\"isol\"',description:\"Isolated Forms. Can be used in any cursive script.\"},{name:'\"ital\"',description:\"Italics. Applies mostly to Latin; note that many non-Latin fonts contain Latin as well.\"},{name:'\"jalt\"',description:\"Justification Alternates. Can be used in any cursive script.\"},{name:'\"jp78\"',description:\"JIS78 Forms. Applies only to Japanese.\"},{name:'\"jp83\"',description:\"JIS83 Forms. Applies only to Japanese.\"},{name:'\"jp90\"',description:\"JIS90 Forms. Applies only to Japanese.\"},{name:'\"jp04\"',description:\"JIS2004 Forms. Applies only to Japanese.\"},{name:'\"kern\"',description:\"Kerning.\"},{name:'\"lfbd\"',description:\"Left Bounds.\"},{name:'\"liga\"',description:\"Standard Ligatures.\"},{name:'\"ljmo\"',description:\"Leading Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported.\"},{name:'\"lnum\"',description:\"Lining Figures.\"},{name:'\"locl\"',description:\"Localized Forms.\"},{name:'\"ltra\"',description:\"Left-to-right glyph alternates.\"},{name:'\"ltrm\"',description:\"Left-to-right mirrored forms.\"},{name:'\"mark\"',description:\"Mark Positioning.\"},{name:'\"med2\"',description:\"Medial Form #2. Used only with the Syriac script.\"},{name:'\"medi\"',description:\"Medial Forms.\"},{name:'\"mgrk\"',description:\"Mathematical Greek.\"},{name:'\"mkmk\"',description:\"Mark to Mark Positioning.\"},{name:'\"nalt\"',description:\"Alternate Annotation Forms.\"},{name:'\"nlck\"',description:\"NLC Kanji Forms. Used only with Kanji script.\"},{name:'\"nukt\"',description:\"Nukta Forms. Required in Indic scripts..\"},{name:'\"numr\"',description:\"Numerators.\"},{name:'\"onum\"',description:\"Oldstyle Figures.\"},{name:'\"opbd\"',description:\"Optical Bounds.\"},{name:'\"ordn\"',description:\"Ordinals. Applies mostly to Latin script.\"},{name:'\"ornm\"',description:\"Ornaments.\"},{name:'\"palt\"',description:\"Proportional Alternate Widths. Used mostly in CJKV fonts.\"},{name:'\"pcap\"',description:\"Petite Capitals.\"},{name:'\"pkna\"',description:\"Proportional Kana. Generally used only in Japanese fonts.\"},{name:'\"pnum\"',description:\"Proportional Figures.\"},{name:'\"pref\"',description:\"Pre-base Forms. Required in Khmer and Myanmar (Burmese) scripts and southern Indic scripts that may display a pre-base form of Ra.\"},{name:'\"pres\"',description:\"Pre-base Substitutions. Required in Indic scripts.\"},{name:'\"pstf\"',description:\"Post-base Forms. Required in scripts of south and southeast Asia that have post-base forms for consonants eg: Gurmukhi, Malayalam, Khmer.\"},{name:'\"psts\"',description:\"Post-base Substitutions.\"},{name:'\"pwid\"',description:\"Proportional Widths.\"},{name:'\"qwid\"',description:\"Quarter Widths. Generally used only in CJKV fonts.\"},{name:'\"rand\"',description:\"Randomize.\"},{name:'\"rclt\"',description:\"Required Contextual Alternates. May apply to any script, but is especially important for many styles of Arabic.\"},{name:'\"rlig\"',description:\"Required Ligatures. Applies to Arabic and Syriac. May apply to some other scripts.\"},{name:'\"rkrf\"',description:\"Rakar Forms. Required in Devanagari and Gujarati scripts.\"},{name:'\"rphf\"',description:\"Reph Form. Required in Indic scripts. E.g. Devanagari, Kannada.\"},{name:'\"rtbd\"',description:\"Right Bounds.\"},{name:'\"rtla\"',description:\"Right-to-left alternates.\"},{name:'\"rtlm\"',description:\"Right-to-left mirrored forms.\"},{name:'\"ruby\"',description:\"Ruby Notation Forms. Applies only to Japanese.\"},{name:'\"salt\"',description:\"Stylistic Alternates.\"},{name:'\"sinf\"',description:\"Scientific Inferiors.\"},{name:'\"size\"',description:\"Optical size.\"},{name:'\"smcp\"',description:\"Small Capitals. Applies only to bicameral scripts.\"},{name:'\"smpl\"',description:\"Simplified Forms. Applies only to Chinese and Japanese.\"},{name:'\"ssty\"',description:\"Math script style alternates.\"},{name:'\"stch\"',description:\"Stretching Glyph Decomposition.\"},{name:'\"subs\"',description:\"Subscript.\"},{name:'\"sups\"',description:\"Superscript.\"},{name:'\"swsh\"',description:\"Swash. Does not apply to ideographic scripts.\"},{name:'\"titl\"',description:\"Titling.\"},{name:'\"tjmo\"',description:\"Trailing Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported.\"},{name:'\"tnam\"',description:\"Traditional Name Forms. Applies only to Japanese.\"},{name:'\"tnum\"',description:\"Tabular Figures.\"},{name:'\"trad\"',description:\"Traditional Forms. Applies only to Chinese and Japanese.\"},{name:'\"twid\"',description:\"Third Widths. Generally used only in CJKV fonts.\"},{name:'\"unic\"',description:\"Unicase.\"},{name:'\"valt\"',description:\"Alternate Vertical Metrics. Applies only to scripts with vertical writing modes.\"},{name:'\"vatu\"',description:\"Vattu Variants. Used for Indic scripts. E.g. Devanagari.\"},{name:'\"vert\"',description:\"Vertical Alternates. Applies only to scripts with vertical writing modes.\"},{name:'\"vhal\"',description:\"Alternate Vertical Half Metrics. Used only in CJKV fonts.\"},{name:'\"vjmo\"',description:\"Vowel Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported.\"},{name:'\"vkna\"',description:\"Vertical Kana Alternates. Applies only to fonts that support kana (hiragana and katakana).\"},{name:'\"vkrn\"',description:\"Vertical Kerning.\"},{name:'\"vpal\"',description:\"Proportional Alternate Vertical Metrics. Used mostly in CJKV fonts.\"},{name:'\"vrt2\"',description:\"Vertical Alternates and Rotation. Applies only to scripts with vertical writing modes.\"},{name:'\"zero\"',description:\"Slashed Zero.\"},{name:\"normal\",description:\"No change in glyph substitution or positioning occurs.\"},{name:\"off\",description:\"Disable feature.\"},{name:\"on\",description:\"Enable feature.\"}],syntax:\"normal | <feature-tag-value>#\",relevance:56,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/font-feature-settings\"}],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.\",restrictions:[\"string\",\"integer\"]},{name:\"font-kerning\",browsers:[\"E79\",\"FF32\",\"S9\",\"C33\",\"O20\"],values:[{name:\"auto\",description:\"Specifies that kerning is applied at the discretion of the user agent.\"},{name:\"none\",description:\"Specifies that kerning is not applied.\"},{name:\"normal\",description:\"Specifies that kerning is applied.\"}],syntax:\"auto | normal | none\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/font-kerning\"}],description:\"Kerning is the contextual adjustment of inter-glyph spacing. This property controls metric kerning, kerning that utilizes adjustment data contained in the font.\",restrictions:[\"enum\"]},{name:\"font-language-override\",browsers:[\"FF34\"],values:[{name:\"normal\",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.\"}],syntax:\"normal | <string>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/font-language-override\"}],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.\",restrictions:[\"string\"]},{name:\"font-size\",values:[{name:\"large\"},{name:\"larger\"},{name:\"medium\"},{name:\"small\"},{name:\"smaller\"},{name:\"x-large\"},{name:\"x-small\"},{name:\"xx-large\"},{name:\"xx-small\"}],syntax:\"<absolute-size> | <relative-size> | <length-percentage>\",relevance:95,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/font-size\"}],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.\",restrictions:[\"length\",\"percentage\"]},{name:\"font-size-adjust\",browsers:[\"E79\",\"FF40\",\"C43\",\"O30\"],values:[{name:\"none\",description:\"Do not preserve the font\\u2019s x-height.\"}],syntax:\"none | [ ex-height | cap-height | ch-width | ic-width | ic-height ]? [ from-font | <number> ]\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/font-size-adjust\"}],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.\",restrictions:[\"number\"]},{name:\"font-stretch\",values:[{name:\"condensed\"},{name:\"expanded\"},{name:\"extra-condensed\"},{name:\"extra-expanded\"},{name:\"narrower\",description:\"Indicates a narrower value relative to the width of the parent element.\"},{name:\"normal\"},{name:\"semi-condensed\"},{name:\"semi-expanded\"},{name:\"ultra-condensed\"},{name:\"ultra-expanded\"},{name:\"wider\",description:\"Indicates a wider value relative to the width of the parent element.\"}],syntax:\"<font-stretch-absolute>{1,2}\",relevance:56,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/font-stretch\"}],description:\"Selects a normal, condensed, or expanded face from a font family.\",restrictions:[\"enum\"]},{name:\"font-style\",values:[{name:\"italic\",description:\"Selects a font that is labeled as an 'italic' face, or an 'oblique' face if one is not\"},{name:\"normal\",description:\"Selects a face that is classified as 'normal'.\"},{name:\"oblique\",description:\"Selects a font that is labeled as an 'oblique' face, or an 'italic' face if one is not.\"}],syntax:\"normal | italic | oblique <angle>{0,2}\",relevance:90,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/font-style\"}],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.\",restrictions:[\"enum\"]},{name:\"font-synthesis\",browsers:[\"E97\",\"FF34\",\"S9\",\"C97\",\"O83\"],values:[{name:\"none\",description:\"Disallow all synthetic faces.\"},{name:\"style\",description:\"Allow synthetic italic faces.\"},{name:\"weight\",description:\"Allow synthetic bold faces.\"}],syntax:\"none | [ weight || style || small-caps ]\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/font-synthesis\"}],description:\"Controls whether user agents are allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces.\",restrictions:[\"enum\"]},{name:\"font-variant\",values:[{name:\"normal\",description:\"Specifies a face that is not labeled as a small-caps font.\"},{name:\"small-caps\",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.\"}],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 ]\",relevance:65,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/font-variant\"}],description:\"Specifies variant representations of the font\",restrictions:[\"enum\"]},{name:\"font-variant-alternates\",browsers:[\"FF34\",\"S9.1\"],values:[{name:\"annotation()\",description:\"Enables display of alternate annotation forms.\"},{name:\"character-variant()\",description:\"Enables display of specific character variants.\"},{name:\"historical-forms\",description:\"Enables display of historical forms.\"},{name:\"normal\",description:\"None of the features are enabled.\"},{name:\"ornaments()\",description:\"Enables replacement of default glyphs with ornaments, if provided in the font.\"},{name:\"styleset()\",description:\"Enables display with stylistic sets.\"},{name:\"stylistic()\",description:\"Enables display of stylistic alternates.\"},{name:\"swash()\",description:\"Enables display of swash glyphs.\"}],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> ) ]\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/font-variant-alternates\"}],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.\",restrictions:[\"enum\"]},{name:\"font-variant-caps\",browsers:[\"E79\",\"FF34\",\"S9.1\",\"C52\",\"O39\"],values:[{name:\"all-petite-caps\",description:\"Enables display of petite capitals for both upper and lowercase letters.\"},{name:\"all-small-caps\",description:\"Enables display of small capitals for both upper and lowercase letters.\"},{name:\"normal\",description:\"None of the features are enabled.\"},{name:\"petite-caps\",description:\"Enables display of petite capitals.\"},{name:\"small-caps\",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.\"},{name:\"titling-caps\",description:\"Enables display of titling capitals.\"},{name:\"unicase\",description:\"Enables display of mixture of small capitals for uppercase letters with normal lowercase letters.\"}],syntax:\"normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/font-variant-caps\"}],description:\"Specifies control over capitalized forms.\",restrictions:[\"enum\"]},{name:\"font-variant-east-asian\",browsers:[\"E79\",\"FF34\",\"S9.1\",\"C63\",\"O50\"],values:[{name:\"full-width\",description:\"Enables rendering of full-width variants.\"},{name:\"jis04\",description:\"Enables rendering of JIS04 forms.\"},{name:\"jis78\",description:\"Enables rendering of JIS78 forms.\"},{name:\"jis83\",description:\"Enables rendering of JIS83 forms.\"},{name:\"jis90\",description:\"Enables rendering of JIS90 forms.\"},{name:\"normal\",description:\"None of the features are enabled.\"},{name:\"proportional-width\",description:\"Enables rendering of proportionally-spaced variants.\"},{name:\"ruby\",description:\"Enables display of ruby variant glyphs.\"},{name:\"simplified\",description:\"Enables rendering of simplified forms.\"},{name:\"traditional\",description:\"Enables rendering of traditional forms.\"}],syntax:\"normal | [ <east-asian-variant-values> || <east-asian-width-values> || ruby ]\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian\"}],description:\"Allows control of glyph substitute and positioning in East Asian text.\",restrictions:[\"enum\"]},{name:\"font-variant-ligatures\",browsers:[\"E79\",\"FF34\",\"S9.1\",\"C34\",\"O21\"],values:[{name:\"additional-ligatures\",description:\"Enables display of additional ligatures.\"},{name:\"common-ligatures\",description:\"Enables display of common ligatures.\"},{name:\"contextual\",browsers:[\"E79\",\"FF34\",\"S9.1\",\"C34\",\"O21\"],description:\"Enables display of contextual alternates.\"},{name:\"discretionary-ligatures\",description:\"Enables display of discretionary ligatures.\"},{name:\"historical-ligatures\",description:\"Enables display of historical ligatures.\"},{name:\"no-additional-ligatures\",description:\"Disables display of additional ligatures.\"},{name:\"no-common-ligatures\",description:\"Disables display of common ligatures.\"},{name:\"no-contextual\",browsers:[\"E79\",\"FF34\",\"S9.1\",\"C34\",\"O21\"],description:\"Disables display of contextual alternates.\"},{name:\"no-discretionary-ligatures\",description:\"Disables display of discretionary ligatures.\"},{name:\"no-historical-ligatures\",description:\"Disables display of historical ligatures.\"},{name:\"none\",browsers:[\"E79\",\"FF34\",\"S9.1\",\"C34\",\"O21\"],description:\"Disables all ligatures.\"},{name:\"normal\",description:\"Implies that the defaults set by the font are used.\"}],syntax:\"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]\",relevance:52,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures\"}],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.\",restrictions:[\"enum\"]},{name:\"font-variant-numeric\",browsers:[\"E79\",\"FF34\",\"S9.1\",\"C52\",\"O39\"],values:[{name:\"diagonal-fractions\",description:\"Enables display of lining diagonal fractions.\"},{name:\"lining-nums\",description:\"Enables display of lining numerals.\"},{name:\"normal\",description:\"None of the features are enabled.\"},{name:\"oldstyle-nums\",description:\"Enables display of old-style numerals.\"},{name:\"ordinal\",description:\"Enables display of letter forms used with ordinal numbers.\"},{name:\"proportional-nums\",description:\"Enables display of proportional numerals.\"},{name:\"slashed-zero\",description:\"Enables display of slashed zeros.\"},{name:\"stacked-fractions\",description:\"Enables display of lining stacked fractions.\"},{name:\"tabular-nums\",description:\"Enables display of tabular numerals.\"}],syntax:\"normal | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ]\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric\"}],description:\"Specifies control over numerical forms.\",restrictions:[\"enum\"]},{name:\"font-variant-position\",browsers:[\"FF34\",\"S9.1\"],values:[{name:\"normal\",description:\"None of the features are enabled.\"},{name:\"sub\",description:\"Enables display of subscript variants (OpenType feature: subs).\"},{name:\"super\",description:\"Enables display of superscript variants (OpenType feature: sups).\"}],syntax:\"normal | sub | super\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/font-variant-position\"}],description:\"Specifies the vertical position\",restrictions:[\"enum\"]},{name:\"font-weight\",values:[{name:\"100\",description:\"Thin\"},{name:\"200\",description:\"Extra Light (Ultra Light)\"},{name:\"300\",description:\"Light\"},{name:\"400\",description:\"Normal\"},{name:\"500\",description:\"Medium\"},{name:\"600\",description:\"Semi Bold (Demi Bold)\"},{name:\"700\",description:\"Bold\"},{name:\"800\",description:\"Extra Bold (Ultra Bold)\"},{name:\"900\",description:\"Black (Heavy)\"},{name:\"bold\",description:\"Same as 700\"},{name:\"bolder\",description:\"Specifies the weight of the face bolder than the inherited value.\"},{name:\"lighter\",description:\"Specifies the weight of the face lighter than the inherited value.\"},{name:\"normal\",description:\"Same as 400\"}],syntax:\"<font-weight-absolute>{1,2}\",relevance:94,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/font-weight\"}],description:\"Specifies weight of glyphs in the font, their degree of blackness or stroke thickness.\",restrictions:[\"enum\"]},{name:\"glyph-orientation-horizontal\",relevance:50,description:\"Controls glyph orientation when the inline-progression-direction is horizontal.\",restrictions:[\"angle\",\"number\"]},{name:\"glyph-orientation-vertical\",values:[{name:\"auto\",description:\"Sets the orientation based on the fullwidth or non-fullwidth characters and the most common orientation.\"}],relevance:50,description:\"Controls glyph orientation when the inline-progression-direction is vertical.\",restrictions:[\"angle\",\"number\",\"enum\"]},{name:\"grid-area\",browsers:[\"E16\",\"FF52\",\"S10.1\",\"C57\",\"O44\"],values:[{name:\"auto\",description:\"The property contributes nothing to the grid item\\u2019s placement, indicating auto-placement, an automatic span, or a default span of one.\"},{name:\"span\",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.\"}],syntax:\"<grid-line> [ / <grid-line> ]{0,3}\",relevance:53,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/grid-area\"}],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'.\",restrictions:[\"identifier\",\"integer\"]},{name:\"grid\",browsers:[\"E16\",\"FF52\",\"S10.1\",\"C57\",\"O44\"],syntax:\"<'grid-template'> | <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? | [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/grid\"}],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.\",restrictions:[\"identifier\",\"length\",\"percentage\",\"string\",\"enum\"]},{name:\"grid-auto-columns\",values:[{name:\"min-content\",description:\"Represents the largest min-content contribution of the grid items occupying the grid track.\"},{name:\"max-content\",description:\"Represents the largest max-content contribution of the grid items occupying the grid track.\"},{name:\"auto\",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.\"},{name:\"minmax()\",description:\"Defines a size range greater than or equal to min and less than or equal to max.\"}],syntax:\"<track-size>+\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/grid-auto-columns\"}],description:\"Specifies the size of implicitly created columns.\",restrictions:[\"length\",\"percentage\"]},{name:\"grid-auto-flow\",browsers:[\"E16\",\"FF52\",\"S10.1\",\"C57\",\"O44\"],values:[{name:\"row\",description:\"The auto-placement algorithm places items by filling each row in turn, adding new rows as necessary.\"},{name:\"column\",description:\"The auto-placement algorithm places items by filling each column in turn, adding new columns as necessary.\"},{name:\"dense\",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.\"}],syntax:\"[ row | column ] || dense\",relevance:52,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/grid-auto-flow\"}],description:\"Controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the grid.\",restrictions:[\"enum\"]},{name:\"grid-auto-rows\",values:[{name:\"min-content\",description:\"Represents the largest min-content contribution of the grid items occupying the grid track.\"},{name:\"max-content\",description:\"Represents the largest max-content contribution of the grid items occupying the grid track.\"},{name:\"auto\",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.\"},{name:\"minmax()\",description:\"Defines a size range greater than or equal to min and less than or equal to max.\"}],syntax:\"<track-size>+\",relevance:51,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/grid-auto-rows\"}],description:\"Specifies the size of implicitly created rows.\",restrictions:[\"length\",\"percentage\"]},{name:\"grid-column\",browsers:[\"E16\",\"FF52\",\"S10.1\",\"C57\",\"O44\"],values:[{name:\"auto\",description:\"The property contributes nothing to the grid item\\u2019s placement, indicating auto-placement, an automatic span, or a default span of one.\"},{name:\"span\",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.\"}],syntax:\"<grid-line> [ / <grid-line> ]?\",relevance:53,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/grid-column\"}],description:\"Shorthand for 'grid-column-start' and 'grid-column-end'.\",restrictions:[\"identifier\",\"integer\",\"enum\"]},{name:\"grid-column-end\",browsers:[\"E16\",\"FF52\",\"S10.1\",\"C57\",\"O44\"],values:[{name:\"auto\",description:\"The property contributes nothing to the grid item\\u2019s placement, indicating auto-placement, an automatic span, or a default span of one.\"},{name:\"span\",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.\"}],syntax:\"<grid-line>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/grid-column-end\"}],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.\",restrictions:[\"identifier\",\"integer\",\"enum\"]},{name:\"grid-column-gap\",browsers:[\"FF52\",\"C57\",\"S10.1\",\"O44\"],status:\"obsolete\",syntax:\"<length-percentage>\",relevance:2,description:\"Specifies the gutters between grid columns. Replaced by 'column-gap' property.\",restrictions:[\"length\"]},{name:\"grid-column-start\",browsers:[\"E16\",\"FF52\",\"S10.1\",\"C57\",\"O44\"],values:[{name:\"auto\",description:\"The property contributes nothing to the grid item\\u2019s placement, indicating auto-placement, an automatic span, or a default span of one.\"},{name:\"span\",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.\"}],syntax:\"<grid-line>\",relevance:51,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/grid-column-start\"}],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.\",restrictions:[\"identifier\",\"integer\",\"enum\"]},{name:\"grid-gap\",browsers:[\"FF52\",\"C57\",\"S10.1\",\"O44\"],status:\"obsolete\",syntax:\"<'grid-row-gap'> <'grid-column-gap'>?\",relevance:3,description:\"Shorthand that specifies the gutters between grid columns and grid rows in one declaration. Replaced by 'gap' property.\",restrictions:[\"length\"]},{name:\"grid-row\",browsers:[\"E16\",\"FF52\",\"S10.1\",\"C57\",\"O44\"],values:[{name:\"auto\",description:\"The property contributes nothing to the grid item\\u2019s placement, indicating auto-placement, an automatic span, or a default span of one.\"},{name:\"span\",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.\"}],syntax:\"<grid-line> [ / <grid-line> ]?\",relevance:52,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/grid-row\"}],description:\"Shorthand for 'grid-row-start' and 'grid-row-end'.\",restrictions:[\"identifier\",\"integer\",\"enum\"]},{name:\"grid-row-end\",browsers:[\"E16\",\"FF52\",\"S10.1\",\"C57\",\"O44\"],values:[{name:\"auto\",description:\"The property contributes nothing to the grid item\\u2019s placement, indicating auto-placement, an automatic span, or a default span of one.\"},{name:\"span\",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.\"}],syntax:\"<grid-line>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/grid-row-end\"}],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.\",restrictions:[\"identifier\",\"integer\",\"enum\"]},{name:\"grid-row-gap\",browsers:[\"FF52\",\"C57\",\"S10.1\",\"O44\"],status:\"obsolete\",syntax:\"<length-percentage>\",relevance:1,description:\"Specifies the gutters between grid rows. Replaced by 'row-gap' property.\",restrictions:[\"length\"]},{name:\"grid-row-start\",browsers:[\"E16\",\"FF52\",\"S10.1\",\"C57\",\"O44\"],values:[{name:\"auto\",description:\"The property contributes nothing to the grid item\\u2019s placement, indicating auto-placement, an automatic span, or a default span of one.\"},{name:\"span\",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.\"}],syntax:\"<grid-line>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/grid-row-start\"}],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.\",restrictions:[\"identifier\",\"integer\",\"enum\"]},{name:\"grid-template\",browsers:[\"E16\",\"FF52\",\"S10.1\",\"C57\",\"O44\"],values:[{name:\"none\",description:\"Sets all three properties to their initial values.\"},{name:\"min-content\",description:\"Represents the largest min-content contribution of the grid items occupying the grid track.\"},{name:\"max-content\",description:\"Represents the largest max-content contribution of the grid items occupying the grid track.\"},{name:\"auto\",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.\"},{name:\"subgrid\",description:\"Sets 'grid-template-rows' and 'grid-template-columns' to 'subgrid', and 'grid-template-areas' to its initial value.\"},{name:\"minmax()\",description:\"Defines a size range greater than or equal to min and less than or equal to max.\"},{name:\"repeat()\",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.\"}],syntax:\"none | [ <'grid-template-rows'> / <'grid-template-columns'> ] | [ <line-names>? <string> <track-size>? <line-names>? ]+ [ / <explicit-track-list> ]?\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/grid-template\"}],description:\"Shorthand for setting grid-template-columns, grid-template-rows, and grid-template-areas in a single declaration.\",restrictions:[\"identifier\",\"length\",\"percentage\",\"string\",\"enum\"]},{name:\"grid-template-areas\",browsers:[\"E16\",\"FF52\",\"S10.1\",\"C57\",\"O44\"],values:[{name:\"none\",description:\"The grid container doesn\\u2019t define any named grid areas.\"}],syntax:\"none | <string>+\",relevance:52,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/grid-template-areas\"}],description:\"Specifies named grid areas, which are not associated with any particular grid item, but can be referenced from the grid-placement properties.\",restrictions:[\"string\"]},{name:\"grid-template-columns\",values:[{name:\"none\",description:\"There is no explicit grid; any rows/columns will be implicitly generated.\"},{name:\"min-content\",description:\"Represents the largest min-content contribution of the grid items occupying the grid track.\"},{name:\"max-content\",description:\"Represents the largest max-content contribution of the grid items occupying the grid track.\"},{name:\"auto\",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.\"},{name:\"subgrid\",description:\"Indicates that the grid will align to its parent grid in that axis.\"},{name:\"minmax()\",description:\"Defines a size range greater than or equal to min and less than or equal to max.\"},{name:\"repeat()\",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.\"}],syntax:\"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?\",relevance:58,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/grid-template-columns\"}],description:\"specifies, as a space-separated track list, the line names and track sizing functions of the grid.\",restrictions:[\"identifier\",\"length\",\"percentage\",\"enum\"]},{name:\"grid-template-rows\",values:[{name:\"none\",description:\"There is no explicit grid; any rows/columns will be implicitly generated.\"},{name:\"min-content\",description:\"Represents the largest min-content contribution of the grid items occupying the grid track.\"},{name:\"max-content\",description:\"Represents the largest max-content contribution of the grid items occupying the grid track.\"},{name:\"auto\",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.\"},{name:\"subgrid\",description:\"Indicates that the grid will align to its parent grid in that axis.\"},{name:\"minmax()\",description:\"Defines a size range greater than or equal to min and less than or equal to max.\"},{name:\"repeat()\",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.\"}],syntax:\"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?\",relevance:53,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/grid-template-rows\"}],description:\"specifies, as a space-separated track list, the line names and track sizing functions of the grid.\",restrictions:[\"identifier\",\"length\",\"percentage\",\"string\",\"enum\"]},{name:\"height\",values:[{name:\"auto\",description:\"The height depends on the values of other properties.\"},{name:\"fit-content\",description:\"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode.\"},{name:\"max-content\",description:\"Use the max-content inline size or max-content block size, as appropriate to the writing mode.\"},{name:\"min-content\",description:\"Use the min-content inline size or min-content block size, as appropriate to the writing mode.\"}],syntax:\"<viewport-length>{1,2}\",relevance:96,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/height\"}],description:\"Specifies the height of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.\",restrictions:[\"length\",\"percentage\"]},{name:\"hyphens\",values:[{name:\"auto\",description:\"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word.\"},{name:\"manual\",description:\"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities\"},{name:\"none\",description:\"Words are not broken at line breaks, even if characters inside the word suggest line break points.\"}],syntax:\"none | manual | auto\",relevance:55,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/hyphens\"}],description:\"Controls whether hyphenation is allowed to create more break opportunities within a line of text.\",restrictions:[\"enum\"]},{name:\"image-orientation\",browsers:[\"E81\",\"FF26\",\"S13.1\",\"C81\",\"O67\"],values:[{name:\"flip\",description:\"After rotating by the precededing angle, the image is flipped horizontally. Defaults to 0deg if the angle is ommitted.\"},{name:\"from-image\",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.\"}],syntax:\"from-image | <angle> | [ <angle>? flip ]\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/image-orientation\"}],description:\"Specifies an orthogonal rotation to be applied to an image before it is laid out.\",restrictions:[\"angle\"]},{name:\"image-rendering\",browsers:[\"E79\",\"FF3.6\",\"S6\",\"C13\",\"O15\"],values:[{name:\"auto\",description:\"The image should be scaled with an algorithm that maximizes the appearance of the image.\"},{name:\"crisp-edges\",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.\"},{name:\"-moz-crisp-edges\",browsers:[\"E79\",\"FF3.6\",\"S6\",\"C13\",\"O15\"]},{name:\"optimizeQuality\",description:\"Deprecated.\"},{name:\"optimizeSpeed\",description:\"Deprecated.\"},{name:\"pixelated\",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.\"}],syntax:\"auto | crisp-edges | pixelated\",relevance:55,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/image-rendering\"}],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.\",restrictions:[\"enum\"]},{name:\"ime-mode\",browsers:[\"E12\",\"FF3\",\"IE5\"],values:[{name:\"active\",description:\"The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it.\"},{name:\"auto\",description:\"No change is made to the current input method editor state. This is the default.\"},{name:\"disabled\",description:\"The input method editor is disabled and may not be activated by the user.\"},{name:\"inactive\",description:\"The input method editor is initially inactive, but the user may activate it if they wish.\"},{name:\"normal\",description:\"The IME state should be normal; this value can be used in a user style sheet to override the page setting.\"}],status:\"obsolete\",syntax:\"auto | normal | active | inactive | disabled\",relevance:0,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/ime-mode\"}],description:\"Controls the state of the input method editor for text fields.\",restrictions:[\"enum\"]},{name:\"inline-size\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C57\",\"O44\"],values:[{name:\"auto\",description:\"Depends on the values of other properties.\"}],syntax:\"<'width'>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/inline-size\"}],description:\"Size of an element in the direction specified by 'writing-mode'.\",restrictions:[\"length\",\"percentage\"]},{name:\"isolation\",browsers:[\"E79\",\"FF36\",\"S8\",\"C41\",\"O30\"],values:[{name:\"auto\",description:\"Elements are not isolated unless an operation is applied that causes the creation of a stacking context.\"},{name:\"isolate\",description:\"In CSS will turn the element into a stacking context.\"}],syntax:\"auto | isolate\",relevance:51,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/isolation\"}],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.\",restrictions:[\"enum\"]},{name:\"justify-content\",values:[{name:\"center\",description:\"Flex items are packed toward the center of the line.\"},{name:\"start\",description:\"The items are packed flush to each other toward the start edge of the alignment container in the main axis.\"},{name:\"end\",description:\"The items are packed flush to each other toward the end edge of the alignment container in the main axis.\"},{name:\"left\",description:\"The items are packed flush to each other toward the left edge of the alignment container in the main axis.\"},{name:\"right\",description:\"The items are packed flush to each other toward the right edge of the alignment container in the main axis.\"},{name:\"safe\",description:\"If the size of the item overflows the alignment container, the item is instead aligned as if the alignment mode were start.\"},{name:\"unsafe\",description:\"Regardless of the relative sizes of the item and alignment container, the given alignment value is honored.\"},{name:\"stretch\",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.\"},{name:\"space-evenly\",description:\"The items are evenly distributed within the alignment container along the main axis.\"},{name:\"flex-end\",description:\"Flex items are packed toward the end of the line.\"},{name:\"flex-start\",description:\"Flex items are packed toward the start of the line.\"},{name:\"space-around\",description:\"Flex items are evenly distributed in the line, with half-size spaces on either end.\"},{name:\"space-between\",description:\"Flex items are evenly distributed in the line.\"},{name:\"baseline\",description:\"Specifies participation in first-baseline alignment.\"},{name:\"first baseline\",description:\"Specifies participation in first-baseline alignment.\"},{name:\"last baseline\",description:\"Specifies participation in last-baseline alignment.\"}],syntax:\"normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]\",relevance:86,description:\"Aligns flex items along the main axis of the current line of the flex container.\",restrictions:[\"enum\"]},{name:\"kerning\",values:[{name:\"auto\",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.\"}],relevance:50,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.\",restrictions:[\"length\",\"enum\"]},{name:\"left\",values:[{name:\"auto\",description:\"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well\"}],syntax:\"<length> | <percentage> | auto\",relevance:95,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/left\"}],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'.\",restrictions:[\"length\",\"percentage\"]},{name:\"letter-spacing\",values:[{name:\"normal\",description:\"The spacing is the normal spacing for the current font. It is typically zero-length.\"}],syntax:\"normal | <length>\",relevance:82,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/letter-spacing\"}],description:\"Specifies the minimum, maximum, and optimal spacing between grapheme clusters.\",restrictions:[\"length\"]},{name:\"lighting-color\",browsers:[\"E\",\"C5\",\"FF3\",\"IE10\",\"O9\",\"S6\"],relevance:50,description:\"Defines the color of the light source for filter primitives 'feDiffuseLighting' and 'feSpecularLighting'.\",restrictions:[\"color\"]},{name:\"line-break\",values:[{name:\"auto\",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.\"},{name:\"loose\",description:\"Breaks text using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers.\"},{name:\"normal\",description:\"Breaks text using the most common set of line-breaking rules.\"},{name:\"strict\",description:\"Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'.\"}],syntax:\"auto | loose | normal | strict | anywhere\",relevance:51,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/line-break\"}],description:\"Specifies what set of line breaking restrictions are in effect within the element.\",restrictions:[\"enum\"]},{name:\"line-height\",values:[{name:\"normal\",description:\"Tells user agents to set the computed value to a 'reasonable' value based on the font size of the element.\"}],syntax:\"normal | <number> | <length> | <percentage>\",relevance:93,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/line-height\"}],description:\"Determines the block-progression dimension of the text content area of an inline box.\",restrictions:[\"number\",\"length\",\"percentage\"]},{name:\"list-style\",values:[{name:\"armenian\"},{name:\"circle\",description:\"A hollow circle.\"},{name:\"decimal\"},{name:\"decimal-leading-zero\"},{name:\"disc\",description:\"A filled circle.\"},{name:\"georgian\"},{name:\"inside\",description:\"The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below.\"},{name:\"lower-alpha\"},{name:\"lower-greek\"},{name:\"lower-latin\"},{name:\"lower-roman\"},{name:\"none\"},{name:\"outside\",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.\"},{name:\"square\",description:\"A filled square.\"},{name:\"symbols()\",description:\"Allows a counter style to be defined inline.\"},{name:\"upper-alpha\"},{name:\"upper-latin\"},{name:\"upper-roman\"},{name:\"url()\"}],syntax:\"<'list-style-type'> || <'list-style-position'> || <'list-style-image'>\",relevance:86,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/list-style\"}],description:\"Shorthand for setting 'list-style-type', 'list-style-position' and 'list-style-image'\",restrictions:[\"image\",\"enum\",\"url\"]},{name:\"list-style-image\",values:[{name:\"none\",description:\"The default contents of the of the list item\\u2019s marker are given by 'list-style-type' instead.\"}],syntax:\"<image> | none\",relevance:52,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/list-style-image\"}],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.\",restrictions:[\"image\"]},{name:\"list-style-position\",values:[{name:\"inside\",description:\"The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below.\"},{name:\"outside\",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.\"}],syntax:\"inside | outside\",relevance:55,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/list-style-position\"}],description:\"Specifies the position of the '::marker' pseudo-element's box in the list item.\",restrictions:[\"enum\"]},{name:\"list-style-type\",values:[{name:\"armenian\",description:\"Traditional uppercase Armenian numbering.\"},{name:\"circle\",description:\"A hollow circle.\"},{name:\"decimal\",description:\"Western decimal numbers.\"},{name:\"decimal-leading-zero\",description:\"Decimal numbers padded by initial zeros.\"},{name:\"disc\",description:\"A filled circle.\"},{name:\"georgian\",description:\"Traditional Georgian numbering.\"},{name:\"lower-alpha\",description:\"Lowercase ASCII letters.\"},{name:\"lower-greek\",description:\"Lowercase classical Greek.\"},{name:\"lower-latin\",description:\"Lowercase ASCII letters.\"},{name:\"lower-roman\",description:\"Lowercase ASCII Roman numerals.\"},{name:\"none\",description:\"No marker\"},{name:\"square\",description:\"A filled square.\"},{name:\"symbols()\",description:\"Allows a counter style to be defined inline.\"},{name:\"upper-alpha\",description:\"Uppercase ASCII letters.\"},{name:\"upper-latin\",description:\"Uppercase ASCII letters.\"},{name:\"upper-roman\",description:\"Uppercase ASCII Roman numerals.\"}],syntax:\"<counter-style> | <string> | none\",relevance:75,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/list-style-type\"}],description:\"Used to construct the default contents of a list item\\u2019s marker\",restrictions:[\"enum\",\"string\"]},{name:\"margin\",values:[{name:\"auto\"}],syntax:\"[ <length> | <percentage> | auto ]{1,4}\",relevance:96,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/margin\"}],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.\",restrictions:[\"length\",\"percentage\"]},{name:\"margin-block-end\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],values:[{name:\"auto\"}],syntax:\"<'margin-left'>\",relevance:53,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/margin-block-end\"}],description:\"Logical 'margin-bottom'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"length\",\"percentage\"]},{name:\"margin-block-start\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],values:[{name:\"auto\"}],syntax:\"<'margin-left'>\",relevance:53,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/margin-block-start\"}],description:\"Logical 'margin-top'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"length\",\"percentage\"]},{name:\"margin-bottom\",values:[{name:\"auto\"}],syntax:\"<length> | <percentage> | auto\",relevance:92,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/margin-bottom\"}],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..\",restrictions:[\"length\",\"percentage\"]},{name:\"margin-inline-end\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],values:[{name:\"auto\"}],syntax:\"<'margin-left'>\",relevance:51,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/margin-inline-end\"}],description:\"Logical 'margin-right'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"length\",\"percentage\"]},{name:\"margin-inline-start\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],values:[{name:\"auto\"}],syntax:\"<'margin-left'>\",relevance:51,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/margin-inline-start\"}],description:\"Logical 'margin-left'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"length\",\"percentage\"]},{name:\"margin-left\",values:[{name:\"auto\"}],syntax:\"<length> | <percentage> | auto\",relevance:92,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/margin-left\"}],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..\",restrictions:[\"length\",\"percentage\"]},{name:\"margin-right\",values:[{name:\"auto\"}],syntax:\"<length> | <percentage> | auto\",relevance:91,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/margin-right\"}],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..\",restrictions:[\"length\",\"percentage\"]},{name:\"margin-top\",values:[{name:\"auto\"}],syntax:\"<length> | <percentage> | auto\",relevance:95,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/margin-top\"}],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..\",restrictions:[\"length\",\"percentage\"]},{name:\"marker\",values:[{name:\"none\",description:\"Indicates that no marker symbol will be drawn at the given vertex or vertices.\"},{name:\"url()\",description:\"Indicates that the <marker> element referenced will be used.\"}],relevance:50,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.\",restrictions:[\"url\"]},{name:\"marker-end\",values:[{name:\"none\",description:\"Indicates that no marker symbol will be drawn at the given vertex or vertices.\"},{name:\"url()\",description:\"Indicates that the <marker> element referenced will be used.\"}],relevance:50,description:\"Specifies the marker that will be drawn at the last vertices of the given markable element.\",restrictions:[\"url\"]},{name:\"marker-mid\",values:[{name:\"none\",description:\"Indicates that no marker symbol will be drawn at the given vertex or vertices.\"},{name:\"url()\",description:\"Indicates that the <marker> element referenced will be used.\"}],relevance:50,description:\"Specifies the marker that will be drawn at all vertices except the first and last.\",restrictions:[\"url\"]},{name:\"marker-start\",values:[{name:\"none\",description:\"Indicates that no marker symbol will be drawn at the given vertex or vertices.\"},{name:\"url()\",description:\"Indicates that the <marker> element referenced will be used.\"}],relevance:50,description:\"Specifies the marker that will be drawn at the first vertices of the given markable element.\",restrictions:[\"url\"]},{name:\"mask-image\",browsers:[\"E79\",\"FF53\",\"S4\",\"C1\",\"O15\"],values:[{name:\"none\",description:\"Counts as a transparent black image layer.\"},{name:\"url()\",description:\"Reference to a <mask element or to a CSS image.\"}],syntax:\"<mask-reference>#\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/mask-image\"}],description:\"Sets the mask layer image of an element.\",restrictions:[\"url\",\"image\",\"enum\"]},{name:\"mask-mode\",browsers:[\"FF53\"],values:[{name:\"alpha\",description:\"Alpha values of the mask layer image should be used as the mask values.\"},{name:\"auto\",description:\"Use alpha values if 'mask-image' is an image, luminance if a <mask> element or a CSS image.\"},{name:\"luminance\",description:\"Luminance values of the mask layer image should be used as the mask values.\"}],syntax:\"<masking-mode>#\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/mask-mode\"}],description:\"Indicates whether the mask layer image is treated as luminance mask or alpha mask.\",restrictions:[\"url\",\"image\",\"enum\"]},{name:\"mask-origin\",browsers:[\"E79\",\"FF53\",\"S4\",\"C1\",\"O15\"],syntax:\"<geometry-box>#\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/mask-origin\"}],description:\"Specifies the mask positioning area.\",restrictions:[\"geometry-box\",\"enum\"]},{name:\"mask-position\",browsers:[\"E79\",\"FF53\",\"S3.1\",\"C1\",\"O15\"],syntax:\"<position>#\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/mask-position\"}],description:\"Specifies how mask layer images are positioned.\",restrictions:[\"position\",\"length\",\"percentage\"]},{name:\"mask-repeat\",browsers:[\"E79\",\"FF53\",\"S3.1\",\"C1\",\"O15\"],syntax:\"<repeat-style>#\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/mask-repeat\"}],description:\"Specifies how mask layer images are tiled after they have been sized and positioned.\",restrictions:[\"repeat\"]},{name:\"mask-size\",browsers:[\"E79\",\"FF53\",\"S4\",\"C4\",\"O15\"],values:[{name:\"auto\",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%.\"},{name:\"contain\",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.\"},{name:\"cover\",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.\"}],syntax:\"<bg-size>#\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/mask-size\"}],description:\"Specifies the size of the mask layer images.\",restrictions:[\"length\",\"percentage\",\"enum\"]},{name:\"mask-type\",browsers:[\"E79\",\"FF35\",\"S7\",\"C24\",\"O15\"],values:[{name:\"alpha\",description:\"Indicates that the alpha values of the mask should be used.\"},{name:\"luminance\",description:\"Indicates that the luminance values of the mask should be used.\"}],syntax:\"luminance | alpha\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/mask-type\"}],description:\"Defines whether the content of the <mask> element is treated as as luminance mask or alpha mask.\",restrictions:[\"enum\"]},{name:\"max-block-size\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C57\",\"O44\"],values:[{name:\"none\",description:\"No limit on the width of the box.\"}],syntax:\"<'max-width'>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/max-block-size\"}],description:\"Maximum size of an element in the direction opposite that of the direction specified by 'writing-mode'.\",restrictions:[\"length\",\"percentage\"]},{name:\"max-height\",values:[{name:\"none\",description:\"No limit on the height of the box.\"},{name:\"fit-content\",description:\"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode.\"},{name:\"max-content\",description:\"Use the max-content inline size or max-content block size, as appropriate to the writing mode.\"},{name:\"min-content\",description:\"Use the min-content inline size or min-content block size, as appropriate to the writing mode.\"}],syntax:\"<viewport-length>\",relevance:86,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/max-height\"}],description:\"Allows authors to constrain content height to a certain range.\",restrictions:[\"length\",\"percentage\"]},{name:\"max-inline-size\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C57\",\"O44\"],values:[{name:\"none\",description:\"No limit on the height of the box.\"}],syntax:\"<'max-width'>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/max-inline-size\"}],description:\"Maximum size of an element in the direction specified by 'writing-mode'.\",restrictions:[\"length\",\"percentage\"]},{name:\"max-width\",values:[{name:\"none\",description:\"No limit on the width of the box.\"},{name:\"fit-content\",description:\"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode.\"},{name:\"max-content\",description:\"Use the max-content inline size or max-content block size, as appropriate to the writing mode.\"},{name:\"min-content\",description:\"Use the min-content inline size or min-content block size, as appropriate to the writing mode.\"}],syntax:\"<viewport-length>\",relevance:91,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/max-width\"}],description:\"Allows authors to constrain content width to a certain range.\",restrictions:[\"length\",\"percentage\"]},{name:\"min-block-size\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C57\",\"O44\"],syntax:\"<'min-width'>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/min-block-size\"}],description:\"Minimal size of an element in the direction opposite that of the direction specified by 'writing-mode'.\",restrictions:[\"length\",\"percentage\"]},{name:\"min-height\",values:[{name:\"auto\"},{name:\"fit-content\",description:\"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode.\"},{name:\"max-content\",description:\"Use the max-content inline size or max-content block size, as appropriate to the writing mode.\"},{name:\"min-content\",description:\"Use the min-content inline size or min-content block size, as appropriate to the writing mode.\"}],syntax:\"<viewport-length>\",relevance:90,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/min-height\"}],description:\"Allows authors to constrain content height to a certain range.\",restrictions:[\"length\",\"percentage\"]},{name:\"min-inline-size\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C57\",\"O44\"],syntax:\"<'min-width'>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/min-inline-size\"}],description:\"Minimal size of an element in the direction specified by 'writing-mode'.\",restrictions:[\"length\",\"percentage\"]},{name:\"min-width\",values:[{name:\"auto\"},{name:\"fit-content\",description:\"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode.\"},{name:\"max-content\",description:\"Use the max-content inline size or max-content block size, as appropriate to the writing mode.\"},{name:\"min-content\",description:\"Use the min-content inline size or min-content block size, as appropriate to the writing mode.\"}],syntax:\"<viewport-length>\",relevance:89,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/min-width\"}],description:\"Allows authors to constrain content width to a certain range.\",restrictions:[\"length\",\"percentage\"]},{name:\"mix-blend-mode\",browsers:[\"E79\",\"FF32\",\"S8\",\"C41\",\"O28\"],values:[{name:\"normal\",description:\"Default attribute which specifies no blending\"},{name:\"multiply\",description:\"The source color is multiplied by the destination color and replaces the destination.\"},{name:\"screen\",description:\"Multiplies the complements of the backdrop and source color values, then complements the result.\"},{name:\"overlay\",description:\"Multiplies or screens the colors, depending on the backdrop color value.\"},{name:\"darken\",description:\"Selects the darker of the backdrop and source colors.\"},{name:\"lighten\",description:\"Selects the lighter of the backdrop and source colors.\"},{name:\"color-dodge\",description:\"Brightens the backdrop color to reflect the source color.\"},{name:\"color-burn\",description:\"Darkens the backdrop color to reflect the source color.\"},{name:\"hard-light\",description:\"Multiplies or screens the colors, depending on the source color value.\"},{name:\"soft-light\",description:\"Darkens or lightens the colors, depending on the source color value.\"},{name:\"difference\",description:\"Subtracts the darker of the two constituent colors from the lighter color..\"},{name:\"exclusion\",description:\"Produces an effect similar to that of the Difference mode but lower in contrast.\"},{name:\"hue\",browsers:[\"E79\",\"FF32\",\"S8\",\"C41\",\"O28\"],description:\"Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color.\"},{name:\"saturation\",browsers:[\"E79\",\"FF32\",\"S8\",\"C41\",\"O28\"],description:\"Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color.\"},{name:\"color\",browsers:[\"E79\",\"FF32\",\"S8\",\"C41\",\"O28\"],description:\"Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color.\"},{name:\"luminosity\",browsers:[\"E79\",\"FF32\",\"S8\",\"C41\",\"O28\"],description:\"Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color.\"}],syntax:\"<blend-mode>\",relevance:52,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/mix-blend-mode\"}],description:\"Defines the formula that must be used to mix the colors with the backdrop.\",restrictions:[\"enum\"]},{name:\"motion\",browsers:[\"C46\",\"O33\"],values:[{name:\"none\",description:\"No motion path gets created.\"},{name:\"path()\",description:\"Defines an SVG path as a string, with optional 'fill-rule' as the first argument.\"},{name:\"auto\",description:\"Indicates that the object is rotated by the angle of the direction of the motion path.\"},{name:\"reverse\",description:\"Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees.\"}],relevance:50,description:\"Shorthand property for setting 'motion-path', 'motion-offset' and 'motion-rotation'.\",restrictions:[\"url\",\"length\",\"percentage\",\"angle\",\"shape\",\"geometry-box\",\"enum\"]},{name:\"motion-offset\",browsers:[\"C46\",\"O33\"],relevance:50,description:\"A distance that describes the position along the specified motion path.\",restrictions:[\"length\",\"percentage\"]},{name:\"motion-path\",browsers:[\"C46\",\"O33\"],values:[{name:\"none\",description:\"No motion path gets created.\"},{name:\"path()\",description:\"Defines an SVG path as a string, with optional 'fill-rule' as the first argument.\"}],relevance:50,description:\"Specifies the motion path the element gets positioned at.\",restrictions:[\"url\",\"shape\",\"geometry-box\",\"enum\"]},{name:\"motion-rotation\",browsers:[\"C46\",\"O33\"],values:[{name:\"auto\",description:\"Indicates that the object is rotated by the angle of the direction of the motion path.\"},{name:\"reverse\",description:\"Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees.\"}],relevance:50,description:\"Defines the direction of the element while positioning along the motion path.\",restrictions:[\"angle\"]},{name:\"-moz-animation\",browsers:[\"FF9\"],values:[{name:\"alternate\",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.\"},{name:\"alternate-reverse\",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.\"},{name:\"backwards\",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'.\"},{name:\"both\",description:\"Both forwards and backwards fill modes are applied.\"},{name:\"forwards\",description:\"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes.\"},{name:\"infinite\",description:\"Causes the animation to repeat forever.\"},{name:\"none\",description:\"No animation is performed\"},{name:\"normal\",description:\"Normal playback.\"},{name:\"reverse\",description:\"All iterations of the animation are played in the reverse direction from the way they were specified.\"}],relevance:50,description:\"Shorthand property combines six of the animation properties into a single property.\",restrictions:[\"time\",\"enum\",\"timing-function\",\"identifier\",\"number\"]},{name:\"-moz-animation-delay\",browsers:[\"FF9\"],relevance:50,description:\"Defines when the animation will start.\",restrictions:[\"time\"]},{name:\"-moz-animation-direction\",browsers:[\"FF9\"],values:[{name:\"alternate\",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.\"},{name:\"alternate-reverse\",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.\"},{name:\"normal\",description:\"Normal playback.\"},{name:\"reverse\",description:\"All iterations of the animation are played in the reverse direction from the way they were specified.\"}],relevance:50,description:\"Defines whether or not the animation should play in reverse on alternate cycles.\",restrictions:[\"enum\"]},{name:\"-moz-animation-duration\",browsers:[\"FF9\"],relevance:50,description:\"Defines the length of time that an animation takes to complete one cycle.\",restrictions:[\"time\"]},{name:\"-moz-animation-iteration-count\",browsers:[\"FF9\"],values:[{name:\"infinite\",description:\"Causes the animation to repeat forever.\"}],relevance:50,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.\",restrictions:[\"number\",\"enum\"]},{name:\"-moz-animation-name\",browsers:[\"FF9\"],values:[{name:\"none\",description:\"No animation is performed\"}],relevance:50,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.\",restrictions:[\"identifier\",\"enum\"]},{name:\"-moz-animation-play-state\",browsers:[\"FF9\"],values:[{name:\"paused\",description:\"A running animation will be paused.\"},{name:\"running\",description:\"Resume playback of a paused animation.\"}],relevance:50,description:\"Defines whether the animation is running or paused.\",restrictions:[\"enum\"]},{name:\"-moz-animation-timing-function\",browsers:[\"FF9\"],relevance:50,description:\"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.\",restrictions:[\"timing-function\"]},{name:\"-moz-appearance\",browsers:[\"FF1\"],values:[{name:\"button\"},{name:\"button-arrow-down\"},{name:\"button-arrow-next\"},{name:\"button-arrow-previous\"},{name:\"button-arrow-up\"},{name:\"button-bevel\"},{name:\"checkbox\"},{name:\"checkbox-container\"},{name:\"checkbox-label\"},{name:\"dialog\"},{name:\"groupbox\"},{name:\"listbox\"},{name:\"menuarrow\"},{name:\"menuimage\"},{name:\"menuitem\"},{name:\"menuitemtext\"},{name:\"menulist\"},{name:\"menulist-button\"},{name:\"menulist-text\"},{name:\"menulist-textfield\"},{name:\"menupopup\"},{name:\"menuradio\"},{name:\"menuseparator\"},{name:\"-moz-mac-unified-toolbar\"},{name:\"-moz-win-borderless-glass\"},{name:\"-moz-win-browsertabbar-toolbox\"},{name:\"-moz-win-communications-toolbox\"},{name:\"-moz-win-glass\"},{name:\"-moz-win-media-toolbox\"},{name:\"none\"},{name:\"progressbar\"},{name:\"progresschunk\"},{name:\"radio\"},{name:\"radio-container\"},{name:\"radio-label\"},{name:\"radiomenuitem\"},{name:\"resizer\"},{name:\"resizerpanel\"},{name:\"scrollbarbutton-down\"},{name:\"scrollbarbutton-left\"},{name:\"scrollbarbutton-right\"},{name:\"scrollbarbutton-up\"},{name:\"scrollbar-small\"},{name:\"scrollbartrack-horizontal\"},{name:\"scrollbartrack-vertical\"},{name:\"separator\"},{name:\"spinner\"},{name:\"spinner-downbutton\"},{name:\"spinner-textfield\"},{name:\"spinner-upbutton\"},{name:\"statusbar\"},{name:\"statusbarpanel\"},{name:\"tab\"},{name:\"tabpanels\"},{name:\"tab-scroll-arrow-back\"},{name:\"tab-scroll-arrow-forward\"},{name:\"textfield\"},{name:\"textfield-multiline\"},{name:\"toolbar\"},{name:\"toolbox\"},{name:\"tooltip\"},{name:\"treeheadercell\"},{name:\"treeheadersortarrow\"},{name:\"treeitem\"},{name:\"treetwistyopen\"},{name:\"treeview\"},{name:\"treewisty\"},{name:\"window\"}],status:\"nonstandard\",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\",relevance:0,description:\"Used in Gecko (Firefox) to display an element using a platform-native styling based on the operating system's theme.\",restrictions:[\"enum\"]},{name:\"-moz-backface-visibility\",browsers:[\"FF10\"],values:[{name:\"hidden\"},{name:\"visible\"}],relevance:50,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.\",restrictions:[\"enum\"]},{name:\"-moz-background-clip\",browsers:[\"FF1-3.6\"],values:[{name:\"padding\"}],relevance:50,description:\"Determines the background painting area.\",restrictions:[\"box\",\"enum\"]},{name:\"-moz-background-inline-policy\",browsers:[\"FF1\"],values:[{name:\"bounding-box\"},{name:\"continuous\"},{name:\"each-box\"}],relevance:50,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.\",restrictions:[\"enum\"]},{name:\"-moz-background-origin\",browsers:[\"FF1\"],relevance:50,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).\",restrictions:[\"box\"]},{name:\"-moz-border-bottom-colors\",browsers:[\"FF1\"],status:\"nonstandard\",syntax:\"<color>+ | none\",relevance:0,description:\"Sets a list of colors for the bottom border.\",restrictions:[\"color\"]},{name:\"-moz-border-image\",browsers:[\"FF3.6\"],values:[{name:\"auto\",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.\"},{name:\"fill\",description:\"Causes the middle part of the border-image to be preserved.\"},{name:\"none\"},{name:\"repeat\",description:\"The image is tiled (repeated) to fill the area.\"},{name:\"round\",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.\"},{name:\"space\",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.\"},{name:\"stretch\",description:\"The image is stretched to fill the area.\"},{name:\"url()\"}],relevance:50,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.\",restrictions:[\"length\",\"percentage\",\"number\",\"url\",\"enum\"]},{name:\"-moz-border-left-colors\",browsers:[\"FF1\"],status:\"nonstandard\",syntax:\"<color>+ | none\",relevance:0,description:\"Sets a list of colors for the bottom border.\",restrictions:[\"color\"]},{name:\"-moz-border-right-colors\",browsers:[\"FF1\"],status:\"nonstandard\",syntax:\"<color>+ | none\",relevance:0,description:\"Sets a list of colors for the bottom border.\",restrictions:[\"color\"]},{name:\"-moz-border-top-colors\",browsers:[\"FF1\"],status:\"nonstandard\",syntax:\"<color>+ | none\",relevance:0,description:\"Ske Firefox, -moz-border-bottom-colors sets a list of colors for the bottom border.\",restrictions:[\"color\"]},{name:\"-moz-box-align\",browsers:[\"FF1\"],values:[{name:\"baseline\",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.\"},{name:\"center\",description:\"Any extra space is divided evenly, with half placed above the child and the other half placed after the child.\"},{name:\"end\",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.\"},{name:\"start\",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.\"},{name:\"stretch\",description:\"The height of each child is adjusted to that of the containing block.\"}],relevance:50,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.\",restrictions:[\"enum\"]},{name:\"-moz-box-direction\",browsers:[\"FF1\"],values:[{name:\"normal\",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.\"},{name:\"reverse\",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.\"}],relevance:50,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).\",restrictions:[\"enum\"]},{name:\"-moz-box-flex\",browsers:[\"FF1\"],relevance:50,description:\"Specifies how a box grows to fill the box that contains it, in the direction of the containing box's layout.\",restrictions:[\"number\"]},{name:\"-moz-box-flexgroup\",browsers:[\"FF1\"],relevance:50,description:\"Flexible elements can be assigned to flex groups using the 'box-flex-group' property.\",restrictions:[\"integer\"]},{name:\"-moz-box-ordinal-group\",browsers:[\"FF1\"],relevance:50,description:\"Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.\",restrictions:[\"integer\"]},{name:\"-moz-box-orient\",browsers:[\"FF1\"],values:[{name:\"block-axis\",description:\"Elements are oriented along the box's axis.\"},{name:\"horizontal\",description:\"The box displays its children from left to right in a horizontal line.\"},{name:\"inline-axis\",description:\"Elements are oriented vertically.\"},{name:\"vertical\",description:\"The box displays its children from stacked from top to bottom vertically.\"}],relevance:50,description:\"In Mozilla applications, -moz-box-orient specifies whether a box lays out its contents horizontally or vertically.\",restrictions:[\"enum\"]},{name:\"-moz-box-pack\",browsers:[\"FF1\"],values:[{name:\"center\",description:\"The extra space is divided evenly, with half placed before the first child and the other half placed after the last child.\"},{name:\"end\",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.\"},{name:\"justify\",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.\"},{name:\"start\",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.\"}],relevance:50,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.\",restrictions:[\"enum\"]},{name:\"-moz-box-sizing\",browsers:[\"FF1\"],values:[{name:\"border-box\",description:\"The specified width and height (and respective min/max properties) on this element determine the border box of the element.\"},{name:\"content-box\",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.\"},{name:\"padding-box\",description:\"The specified width and height (and respective min/max properties) on this element determine the padding box of the element.\"}],relevance:50,description:\"Box Model addition in CSS3.\",restrictions:[\"enum\"]},{name:\"-moz-column-count\",browsers:[\"FF3.5\"],values:[{name:\"auto\",description:\"Determines the number of columns by the 'column-width' property and the element width.\"}],relevance:50,description:\"Describes the optimal number of columns into which the content of the element will be flowed.\",restrictions:[\"integer\"]},{name:\"-moz-column-gap\",browsers:[\"FF3.5\"],values:[{name:\"normal\",description:\"User agent specific and typically equivalent to 1em.\"}],relevance:50,description:\"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.\",restrictions:[\"length\"]},{name:\"-moz-column-rule\",browsers:[\"FF3.5\"],relevance:50,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.\",restrictions:[\"length\",\"line-width\",\"line-style\",\"color\"]},{name:\"-moz-column-rule-color\",browsers:[\"FF3.5\"],relevance:50,description:\"Sets the color of the column rule\",restrictions:[\"color\"]},{name:\"-moz-column-rule-style\",browsers:[\"FF3.5\"],relevance:50,description:\"Sets the style of the rule between columns of an element.\",restrictions:[\"line-style\"]},{name:\"-moz-column-rule-width\",browsers:[\"FF3.5\"],relevance:50,description:\"Sets the width of the rule between columns. Negative values are not allowed.\",restrictions:[\"length\",\"line-width\"]},{name:\"-moz-columns\",browsers:[\"FF9\"],values:[{name:\"auto\",description:\"The width depends on the values of other properties.\"}],relevance:50,description:\"A shorthand property which sets both 'column-width' and 'column-count'.\",restrictions:[\"length\",\"integer\"]},{name:\"-moz-column-width\",browsers:[\"FF3.5\"],values:[{name:\"auto\",description:\"The width depends on the values of other properties.\"}],relevance:50,description:\"This property describes the width of columns in multicol elements.\",restrictions:[\"length\"]},{name:\"-moz-font-feature-settings\",browsers:[\"FF4\"],values:[{name:'\"c2cs\"'},{name:'\"dlig\"'},{name:'\"kern\"'},{name:'\"liga\"'},{name:'\"lnum\"'},{name:'\"onum\"'},{name:'\"smcp\"'},{name:'\"swsh\"'},{name:'\"tnum\"'},{name:\"normal\",description:\"No change in glyph substitution or positioning occurs.\"},{name:\"off\",browsers:[\"FF4\"]},{name:\"on\",browsers:[\"FF4\"]}],relevance:50,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.\",restrictions:[\"string\",\"integer\"]},{name:\"-moz-hyphens\",browsers:[\"FF9\"],values:[{name:\"auto\",description:\"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word.\"},{name:\"manual\",description:\"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities\"},{name:\"none\",description:\"Words are not broken at line breaks, even if characters inside the word suggest line break points.\"}],relevance:50,description:\"Controls whether hyphenation is allowed to create more break opportunities within a line of text.\",restrictions:[\"enum\"]},{name:\"-moz-perspective\",browsers:[\"FF10\"],values:[{name:\"none\",description:\"No perspective transform is applied.\"}],relevance:50,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.\",restrictions:[\"length\"]},{name:\"-moz-perspective-origin\",browsers:[\"FF10\"],relevance:50,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.\",restrictions:[\"position\",\"percentage\",\"length\"]},{name:\"-moz-text-align-last\",browsers:[\"FF12\"],values:[{name:\"auto\"},{name:\"center\",description:\"The inline contents are centered within the line box.\"},{name:\"justify\",description:\"The text is justified according to the method specified by the 'text-justify' property.\"},{name:\"left\",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.\"},{name:\"right\",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.\"}],relevance:50,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'.\",restrictions:[\"enum\"]},{name:\"-moz-text-decoration-color\",browsers:[\"FF6\"],relevance:50,description:\"Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.\",restrictions:[\"color\"]},{name:\"-moz-text-decoration-line\",browsers:[\"FF6\"],values:[{name:\"line-through\",description:\"Each line of text has a line through the middle.\"},{name:\"none\",description:\"Neither produces nor inhibits text decoration.\"},{name:\"overline\",description:\"Each line of text has a line above it.\"},{name:\"underline\",description:\"Each line of text is underlined.\"}],relevance:50,description:\"Specifies what line decorations, if any, are added to the element.\",restrictions:[\"enum\"]},{name:\"-moz-text-decoration-style\",browsers:[\"FF6\"],values:[{name:\"dashed\",description:\"Produces a dashed line style.\"},{name:\"dotted\",description:\"Produces a dotted line.\"},{name:\"double\",description:\"Produces a double line.\"},{name:\"none\",description:\"Produces no line.\"},{name:\"solid\",description:\"Produces a solid line.\"},{name:\"wavy\",description:\"Produces a wavy line.\"}],relevance:50,description:\"Specifies the line style for underline, line-through and overline text decoration.\",restrictions:[\"enum\"]},{name:\"-moz-text-size-adjust\",browsers:[\"FF\"],values:[{name:\"auto\",description:\"Renderers must use the default size adjustment when displaying on a small device.\"},{name:\"none\",description:\"Renderers must not do size adjustment when displaying on a small device.\"}],relevance:50,description:\"Specifies a size adjustment for displaying text content in mobile browsers.\",restrictions:[\"enum\",\"percentage\"]},{name:\"-moz-transform\",browsers:[\"FF3.5\"],values:[{name:\"matrix()\",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]\"},{name:\"matrix3d()\",description:\"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order.\"},{name:\"none\"},{name:\"perspective\",description:\"Specifies a perspective projection matrix.\"},{name:\"rotate()\",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.\"},{name:\"rotate3d()\",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.\"},{name:\"rotateX('angle')\",description:\"Specifies a clockwise rotation by the given angle about the X axis.\"},{name:\"rotateY('angle')\",description:\"Specifies a clockwise rotation by the given angle about the Y axis.\"},{name:\"rotateZ('angle')\",description:\"Specifies a clockwise rotation by the given angle about the Z axis.\"},{name:\"scale()\",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.\"},{name:\"scale3d()\",description:\"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters.\"},{name:\"scaleX()\",description:\"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter.\"},{name:\"scaleY()\",description:\"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter.\"},{name:\"scaleZ()\",description:\"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter.\"},{name:\"skew()\",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).\"},{name:\"skewX()\",description:\"Specifies a skew transformation along the X axis by the given angle.\"},{name:\"skewY()\",description:\"Specifies a skew transformation along the Y axis by the given angle.\"},{name:\"translate()\",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.\"},{name:\"translate3d()\",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.\"},{name:\"translateX()\",description:\"Specifies a translation by the given amount in the X direction.\"},{name:\"translateY()\",description:\"Specifies a translation by the given amount in the Y direction.\"},{name:\"translateZ()\",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.\"}],relevance:50,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.\",restrictions:[\"enum\"]},{name:\"-moz-transform-origin\",browsers:[\"FF3.5\"],relevance:50,description:\"Establishes the origin of transformation for an element.\",restrictions:[\"position\",\"length\",\"percentage\"]},{name:\"-moz-transition\",browsers:[\"FF4\"],values:[{name:\"all\",description:\"Every property that is able to undergo a transition will do so.\"},{name:\"none\",description:\"No property will transition.\"}],relevance:50,description:\"Shorthand property combines four of the transition properties into a single property.\",restrictions:[\"time\",\"property\",\"timing-function\",\"enum\"]},{name:\"-moz-transition-delay\",browsers:[\"FF4\"],relevance:50,description:\"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.\",restrictions:[\"time\"]},{name:\"-moz-transition-duration\",browsers:[\"FF4\"],relevance:50,description:\"Specifies how long the transition from the old value to the new value should take.\",restrictions:[\"time\"]},{name:\"-moz-transition-property\",browsers:[\"FF4\"],values:[{name:\"all\",description:\"Every property that is able to undergo a transition will do so.\"},{name:\"none\",description:\"No property will transition.\"}],relevance:50,description:\"Specifies the name of the CSS property to which the transition is applied.\",restrictions:[\"property\"]},{name:\"-moz-transition-timing-function\",browsers:[\"FF4\"],relevance:50,description:\"Describes how the intermediate values used during a transition will be calculated.\",restrictions:[\"timing-function\"]},{name:\"-moz-user-focus\",browsers:[\"FF1\"],values:[{name:\"ignore\"},{name:\"normal\"}],status:\"nonstandard\",syntax:\"ignore | normal | select-after | select-before | select-menu | select-same | select-all | none\",relevance:0,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-moz-user-focus\"}],description:\"Used to indicate whether the element can have focus.\"},{name:\"-moz-user-select\",browsers:[\"FF1.5\"],values:[{name:\"all\"},{name:\"element\"},{name:\"elements\"},{name:\"-moz-all\"},{name:\"-moz-none\"},{name:\"none\"},{name:\"text\"},{name:\"toggle\"}],relevance:50,description:\"Controls the appearance of selection.\",restrictions:[\"enum\"]},{name:\"-ms-accelerator\",browsers:[\"E\",\"IE10\"],values:[{name:\"false\",description:\"The element does not contain an accelerator key sequence.\"},{name:\"true\",description:\"The element contains an accelerator key sequence.\"}],status:\"nonstandard\",syntax:\"false | true\",relevance:0,description:\"IE only. Has the ability to turn off its system underlines for accelerator keys until the ALT key is pressed\",restrictions:[\"enum\"]},{name:\"-ms-behavior\",browsers:[\"IE8\"],relevance:50,description:\"IE only. Used to extend behaviors of the browser\",restrictions:[\"url\"]},{name:\"-ms-block-progression\",browsers:[\"IE8\"],values:[{name:\"bt\",description:\"Bottom-to-top block flow. Layout is horizontal.\"},{name:\"lr\",description:\"Left-to-right direction. The flow orientation is vertical.\"},{name:\"rl\",description:\"Right-to-left direction. The flow orientation is vertical.\"},{name:\"tb\",description:\"Top-to-bottom direction. The flow orientation is horizontal.\"}],status:\"nonstandard\",syntax:\"tb | rl | bt | lr\",relevance:0,description:\"Sets the block-progression value and the flow orientation\",restrictions:[\"enum\"]},{name:\"-ms-content-zoom-chaining\",browsers:[\"E\",\"IE10\"],values:[{name:\"chained\",description:\"The nearest zoomable parent element begins zooming when the user hits a zoom limit during a manipulation. No bounce effect is shown.\"},{name:\"none\",description:\"A bounce effect is shown when the user hits a zoom limit during a manipulation.\"}],status:\"nonstandard\",syntax:\"none | chained\",relevance:0,description:\"Specifies the zoom behavior that occurs when a user hits the zoom limit during a manipulation.\"},{name:\"-ms-content-zooming\",browsers:[\"E\",\"IE10\"],values:[{name:\"none\",description:\"The element is not zoomable.\"},{name:\"zoom\",description:\"The element is zoomable.\"}],status:\"nonstandard\",syntax:\"none | zoom\",relevance:0,description:\"Specifies whether zooming is enabled.\",restrictions:[\"enum\"]},{name:\"-ms-content-zoom-limit\",browsers:[\"E\",\"IE10\"],status:\"nonstandard\",syntax:\"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>\",relevance:0,description:\"Shorthand property for the -ms-content-zoom-limit-min and -ms-content-zoom-limit-max properties.\",restrictions:[\"percentage\"]},{name:\"-ms-content-zoom-limit-max\",browsers:[\"E\",\"IE10\"],status:\"nonstandard\",syntax:\"<percentage>\",relevance:0,description:\"Specifies the maximum zoom factor.\",restrictions:[\"percentage\"]},{name:\"-ms-content-zoom-limit-min\",browsers:[\"E\",\"IE10\"],status:\"nonstandard\",syntax:\"<percentage>\",relevance:0,description:\"Specifies the minimum zoom factor.\",restrictions:[\"percentage\"]},{name:\"-ms-content-zoom-snap\",browsers:[\"E\",\"IE10\"],values:[{name:\"mandatory\",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.\"},{name:\"none\",description:\"Indicates that zooming is unaffected by any defined snap-points.\"},{name:\"proximity\",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.'},{name:\"snapInterval(100%, 100%)\",description:\"Specifies where the snap-points will be placed.\"},{name:\"snapList()\",description:\"Specifies the position of individual snap-points as a comma-separated list of zoom factors.\"}],status:\"nonstandard\",syntax:\"<'-ms-content-zoom-snap-type'> || <'-ms-content-zoom-snap-points'>\",relevance:0,description:\"Shorthand property for the -ms-content-zoom-snap-type and -ms-content-zoom-snap-points properties.\"},{name:\"-ms-content-zoom-snap-points\",browsers:[\"E\",\"IE10\"],values:[{name:\"snapInterval(100%, 100%)\",description:\"Specifies where the snap-points will be placed.\"},{name:\"snapList()\",description:\"Specifies the position of individual snap-points as a comma-separated list of zoom factors.\"}],status:\"nonstandard\",syntax:\"snapInterval( <percentage>, <percentage> ) | snapList( <percentage># )\",relevance:0,description:\"Defines where zoom snap-points are located.\"},{name:\"-ms-content-zoom-snap-type\",browsers:[\"E\",\"IE10\"],values:[{name:\"mandatory\",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.\"},{name:\"none\",description:\"Indicates that zooming is unaffected by any defined snap-points.\"},{name:\"proximity\",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.'}],status:\"nonstandard\",syntax:\"none | proximity | mandatory\",relevance:0,description:\"Specifies how zooming is affected by defined snap-points.\",restrictions:[\"enum\"]},{name:\"-ms-filter\",browsers:[\"IE8-9\"],status:\"nonstandard\",syntax:\"<string>\",relevance:0,description:\"IE only. Used to produce visual effects.\",restrictions:[\"string\"]},{name:\"-ms-flex\",browsers:[\"IE10\"],values:[{name:\"auto\",description:\"Retrieves the value of the main size property as the used 'flex-basis'.\"},{name:\"none\",description:\"Expands to '0 0 auto'.\"}],relevance:50,description:\"specifies the parameters of a flexible length: the positive and negative flexibility, and the preferred size.\",restrictions:[\"length\",\"number\",\"percentage\"]},{name:\"-ms-flex-align\",browsers:[\"IE10\"],values:[{name:\"baseline\",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.\"},{name:\"center\",description:\"The flex item\\u2019s margin box is centered in the cross axis within the line.\"},{name:\"end\",description:\"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line.\"},{name:\"start\",description:\"The cross-start margin edge of the flexbox item is placed flush with the cross-start edge of the line.\"},{name:\"stretch\",description:\"If the cross size property of the flexbox item is anything other than 'auto', this value is identical to 'start'.\"}],relevance:50,description:\"Aligns flex items along the cross axis of the current line of the flex container.\",restrictions:[\"enum\"]},{name:\"-ms-flex-direction\",browsers:[\"IE10\"],values:[{name:\"column\",description:\"The flex container\\u2019s main axis has the same orientation as the block axis of the current writing mode.\"},{name:\"column-reverse\",description:\"Same as 'column', except the main-start and main-end directions are swapped.\"},{name:\"row\",description:\"The flex container\\u2019s main axis has the same orientation as the inline axis of the current writing mode.\"},{name:\"row-reverse\",description:\"Same as 'row', except the main-start and main-end directions are swapped.\"}],relevance:50,description:\"Specifies how flex items are placed in the flex container, by setting the direction of the flex container\\u2019s main axis.\",restrictions:[\"enum\"]},{name:\"-ms-flex-flow\",browsers:[\"IE10\"],values:[{name:\"column\",description:\"The flex container\\u2019s main axis has the same orientation as the block axis of the current writing mode.\"},{name:\"column-reverse\",description:\"Same as 'column', except the main-start and main-end directions are swapped.\"},{name:\"nowrap\",description:\"The flex container is single-line.\"},{name:\"row\",description:\"The flex container\\u2019s main axis has the same orientation as the inline axis of the current writing mode.\"},{name:\"wrap\",description:\"The flexbox is multi-line.\"},{name:\"wrap-reverse\",description:\"Same as 'wrap', except the cross-start and cross-end directions are swapped.\"}],relevance:50,description:\"Specifies how flexbox items are placed in the flexbox.\",restrictions:[\"enum\"]},{name:\"-ms-flex-item-align\",browsers:[\"IE10\"],values:[{name:\"auto\",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.\"},{name:\"baseline\",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.\"},{name:\"center\",description:\"The flex item\\u2019s margin box is centered in the cross axis within the line.\"},{name:\"end\",description:\"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line.\"},{name:\"start\",description:\"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line.\"},{name:\"stretch\",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.\"}],relevance:50,description:\"Allows the default alignment along the cross axis to be overridden for individual flex items.\",restrictions:[\"enum\"]},{name:\"-ms-flex-line-pack\",browsers:[\"IE10\"],values:[{name:\"center\",description:\"Lines are packed toward the center of the flex container.\"},{name:\"distribute\",description:\"Lines are evenly distributed in the flex container, with half-size spaces on either end.\"},{name:\"end\",description:\"Lines are packed toward the end of the flex container.\"},{name:\"justify\",description:\"Lines are evenly distributed in the flex container.\"},{name:\"start\",description:\"Lines are packed toward the start of the flex container.\"},{name:\"stretch\",description:\"Lines stretch to take up the remaining space.\"}],relevance:50,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.\",restrictions:[\"enum\"]},{name:\"-ms-flex-order\",browsers:[\"IE10\"],relevance:50,description:\"Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.\",restrictions:[\"integer\"]},{name:\"-ms-flex-pack\",browsers:[\"IE10\"],values:[{name:\"center\",description:\"Flex items are packed toward the center of the line.\"},{name:\"distribute\",description:\"Flex items are evenly distributed in the line, with half-size spaces on either end.\"},{name:\"end\",description:\"Flex items are packed toward the end of the line.\"},{name:\"justify\",description:\"Flex items are evenly distributed in the line.\"},{name:\"start\",description:\"Flex items are packed toward the start of the line.\"}],relevance:50,description:\"Aligns flex items along the main axis of the current line of the flex container.\",restrictions:[\"enum\"]},{name:\"-ms-flex-wrap\",browsers:[\"IE10\"],values:[{name:\"nowrap\",description:\"The flex container is single-line.\"},{name:\"wrap\",description:\"The flexbox is multi-line.\"},{name:\"wrap-reverse\",description:\"Same as 'wrap', except the cross-start and cross-end directions are swapped.\"}],relevance:50,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.\",restrictions:[\"enum\"]},{name:\"-ms-flow-from\",browsers:[\"E\",\"IE10\"],values:[{name:\"none\",description:\"The block container is not a CSS Region.\"}],status:\"nonstandard\",syntax:\"[ none | <custom-ident> ]#\",relevance:0,description:\"Makes a block container a region and associates it with a named flow.\",restrictions:[\"identifier\"]},{name:\"-ms-flow-into\",browsers:[\"E\",\"IE10\"],values:[{name:\"none\",description:\"The element is not moved to a named flow and normal CSS processing takes place.\"}],status:\"nonstandard\",syntax:\"[ none | <custom-ident> ]#\",relevance:0,description:\"Places an element or its contents into a named flow.\",restrictions:[\"identifier\"]},{name:\"-ms-grid-column\",browsers:[\"E12\",\"IE10\"],values:[{name:\"auto\"},{name:\"end\"},{name:\"start\"}],relevance:50,description:\"Used to place grid items and explicitly defined grid cells in the Grid.\",restrictions:[\"integer\",\"string\",\"enum\"]},{name:\"-ms-grid-column-align\",browsers:[\"E12\",\"IE10\"],values:[{name:\"center\",description:\"Places the center of the Grid Item's margin box at the center of the Grid Item's column.\"},{name:\"end\",description:\"Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's column.\"},{name:\"start\",description:\"Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's column.\"},{name:\"stretch\",description:\"Ensures that the Grid Item's margin box is equal to the size of the Grid Item's column.\"}],relevance:50,description:\"Aligns the columns in a grid.\",restrictions:[\"enum\"]},{name:\"-ms-grid-columns\",browsers:[\"E\",\"IE10\"],status:\"nonstandard\",syntax:\"none | <track-list> | <auto-track-list>\",relevance:0,description:\"Lays out the columns of the grid.\"},{name:\"-ms-grid-column-span\",browsers:[\"E12\",\"IE10\"],relevance:50,description:\"Specifies the number of columns to span.\",restrictions:[\"integer\"]},{name:\"-ms-grid-layer\",browsers:[\"E\",\"IE10\"],relevance:50,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.\",restrictions:[\"integer\"]},{name:\"-ms-grid-row\",browsers:[\"E12\",\"IE10\"],values:[{name:\"auto\"},{name:\"end\"},{name:\"start\"}],relevance:50,description:\"grid-row is used to place grid items and explicitly defined grid cells in the Grid.\",restrictions:[\"integer\",\"string\",\"enum\"]},{name:\"-ms-grid-row-align\",browsers:[\"E12\",\"IE10\"],values:[{name:\"center\",description:\"Places the center of the Grid Item's margin box at the center of the Grid Item's row.\"},{name:\"end\",description:\"Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's row.\"},{name:\"start\",description:\"Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's row.\"},{name:\"stretch\",description:\"Ensures that the Grid Item's margin box is equal to the size of the Grid Item's row.\"}],relevance:50,description:\"Aligns the rows in a grid.\",restrictions:[\"enum\"]},{name:\"-ms-grid-rows\",browsers:[\"E\",\"IE10\"],status:\"nonstandard\",syntax:\"none | <track-list> | <auto-track-list>\",relevance:0,description:\"Lays out the columns of the grid.\"},{name:\"-ms-grid-row-span\",browsers:[\"E12\",\"IE10\"],relevance:50,description:\"Specifies the number of rows to span.\",restrictions:[\"integer\"]},{name:\"-ms-high-contrast-adjust\",browsers:[\"E\",\"IE10\"],values:[{name:\"auto\",description:\"Properties will be adjusted as applicable.\"},{name:\"none\",description:\"No adjustments will be applied.\"}],status:\"nonstandard\",syntax:\"auto | none\",relevance:0,description:\"Specifies if properties should be adjusted in high contrast mode.\",restrictions:[\"enum\"]},{name:\"-ms-hyphenate-limit-chars\",browsers:[\"E\",\"IE10\"],values:[{name:\"auto\",description:\"The user agent chooses a value that adapts to the current layout.\"}],status:\"nonstandard\",syntax:\"auto | <integer>{1,3}\",relevance:0,description:\"Specifies the minimum number of characters in a hyphenated word.\",restrictions:[\"integer\"]},{name:\"-ms-hyphenate-limit-lines\",browsers:[\"E\",\"IE10\"],values:[{name:\"no-limit\",description:\"There is no limit.\"}],status:\"nonstandard\",syntax:\"no-limit | <integer>\",relevance:0,description:\"Indicates the maximum number of successive hyphenated lines in an element.\",restrictions:[\"integer\"]},{name:\"-ms-hyphenate-limit-zone\",browsers:[\"E\",\"IE10\"],status:\"nonstandard\",syntax:\"<percentage> | <length>\",relevance:0,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.\",restrictions:[\"percentage\",\"length\"]},{name:\"-ms-hyphens\",browsers:[\"E\",\"IE10\"],values:[{name:\"auto\",description:\"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word.\"},{name:\"manual\",description:\"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities\"},{name:\"none\",description:\"Words are not broken at line breaks, even if characters inside the word suggest line break points.\"}],relevance:50,description:\"Controls whether hyphenation is allowed to create more break opportunities within a line of text.\",restrictions:[\"enum\"]},{name:\"-ms-ime-mode\",browsers:[\"IE10\"],values:[{name:\"active\",description:\"The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it.\"},{name:\"auto\",description:\"No change is made to the current input method editor state. This is the default.\"},{name:\"disabled\",description:\"The input method editor is disabled and may not be activated by the user.\"},{name:\"inactive\",description:\"The input method editor is initially inactive, but the user may activate it if they wish.\"},{name:\"normal\",description:\"The IME state should be normal; this value can be used in a user style sheet to override the page setting.\"}],relevance:50,description:\"Controls the state of the input method editor for text fields.\",restrictions:[\"enum\"]},{name:\"-ms-interpolation-mode\",browsers:[\"IE7\"],values:[{name:\"bicubic\"},{name:\"nearest-neighbor\"}],relevance:50,description:\"Gets or sets the interpolation (resampling) method used to stretch images.\",restrictions:[\"enum\"]},{name:\"-ms-layout-grid\",browsers:[\"E\",\"IE10\"],values:[{name:\"char\",description:\"Any of the range of character values available to the -ms-layout-grid-char property.\"},{name:\"line\",description:\"Any of the range of line values available to the -ms-layout-grid-line property.\"},{name:\"mode\",description:\"Any of the range of mode values available to the -ms-layout-grid-mode property.\"},{name:\"type\",description:\"Any of the range of type values available to the -ms-layout-grid-type property.\"}],relevance:50,description:\"Sets or retrieves the composite document grid properties that specify the layout of text characters.\"},{name:\"-ms-layout-grid-char\",browsers:[\"E\",\"IE10\"],values:[{name:\"auto\",description:\"Largest character in the font of the element is used to set the character grid.\"},{name:\"none\",description:\"Default. No character grid is set.\"}],relevance:50,description:\"Sets or retrieves the size of the character grid used for rendering the text content of an element.\",restrictions:[\"enum\",\"length\",\"percentage\"]},{name:\"-ms-layout-grid-line\",browsers:[\"E\",\"IE10\"],values:[{name:\"auto\",description:\"Largest character in the font of the element is used to set the character grid.\"},{name:\"none\",description:\"Default. No grid line is set.\"}],relevance:50,description:\"Sets or retrieves the gridline value used for rendering the text content of an element.\",restrictions:[\"length\"]},{name:\"-ms-layout-grid-mode\",browsers:[\"E\",\"IE10\"],values:[{name:\"both\",description:\"Default. Both the char and line grid modes are enabled. This setting is necessary to fully enable the layout grid on an element.\"},{name:\"char\",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.\"},{name:\"line\",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.\"},{name:\"none\",description:\"No grid is used.\"}],relevance:50,description:\"Gets or sets whether the text layout grid uses two dimensions.\",restrictions:[\"enum\"]},{name:\"-ms-layout-grid-type\",browsers:[\"E\",\"IE10\"],values:[{name:\"fixed\",description:\"Grid used for monospaced layout. All noncursive characters are treated as equal; every character is centered within a single grid space by default.\"},{name:\"loose\",description:\"Default. Grid used for Japanese and Korean characters.\"},{name:\"strict\",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.\"}],relevance:50,description:\"Sets or retrieves the type of grid used for rendering the text content of an element.\",restrictions:[\"enum\"]},{name:\"-ms-line-break\",browsers:[\"E\",\"IE10\"],values:[{name:\"auto\",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.\"},{name:\"keep-all\",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.\"},{name:\"newspaper\",description:\"Breaks CJK scripts using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers.\"},{name:\"normal\",description:\"Breaks CJK scripts using a normal set of line-breaking rules.\"},{name:\"strict\",description:\"Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'.\"}],relevance:50,description:\"Specifies what set of line breaking restrictions are in effect within the element.\",restrictions:[\"enum\"]},{name:\"-ms-overflow-style\",browsers:[\"E\",\"IE10\"],values:[{name:\"auto\",description:\"No preference, UA should use the first scrolling method in the list that it supports.\"},{name:\"-ms-autohiding-scrollbar\",description:\"Indicates the element displays auto-hiding scrollbars during mouse interactions and panning indicators during touch and keyboard interactions.\"},{name:\"none\",description:\"Indicates the element does not display scrollbars or panning indicators, even when its content overflows.\"},{name:\"scrollbar\",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.'}],status:\"nonstandard\",syntax:\"auto | none | scrollbar | -ms-autohiding-scrollbar\",relevance:0,description:\"Specify whether content is clipped when it overflows the element's content area.\",restrictions:[\"enum\"]},{name:\"-ms-perspective\",browsers:[\"IE10\"],values:[{name:\"none\",description:\"No perspective transform is applied.\"}],relevance:50,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.\",restrictions:[\"length\"]},{name:\"-ms-perspective-origin\",browsers:[\"IE10\"],relevance:50,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.\",restrictions:[\"position\",\"percentage\",\"length\"]},{name:\"-ms-perspective-origin-x\",browsers:[\"IE10\"],relevance:50,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.\",restrictions:[\"position\",\"percentage\",\"length\"]},{name:\"-ms-perspective-origin-y\",browsers:[\"IE10\"],relevance:50,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.\",restrictions:[\"position\",\"percentage\",\"length\"]},{name:\"-ms-progress-appearance\",browsers:[\"IE10\"],values:[{name:\"bar\"},{name:\"ring\"}],relevance:50,description:\"Gets or sets a value that specifies whether a progress control displays as a bar or a ring.\",restrictions:[\"enum\"]},{name:\"-ms-scrollbar-3dlight-color\",browsers:[\"IE8\"],status:\"nonstandard\",syntax:\"<color>\",relevance:0,description:\"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.\",restrictions:[\"color\"]},{name:\"-ms-scrollbar-arrow-color\",browsers:[\"IE8\"],status:\"nonstandard\",syntax:\"<color>\",relevance:0,description:\"Determines the color of the arrow elements of a scroll arrow.\",restrictions:[\"color\"]},{name:\"-ms-scrollbar-base-color\",browsers:[\"IE8\"],status:\"nonstandard\",syntax:\"<color>\",relevance:0,description:\"Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.\",restrictions:[\"color\"]},{name:\"-ms-scrollbar-darkshadow-color\",browsers:[\"IE8\"],status:\"nonstandard\",syntax:\"<color>\",relevance:0,description:\"Determines the color of the gutter of a scroll bar.\",restrictions:[\"color\"]},{name:\"-ms-scrollbar-face-color\",browsers:[\"IE8\"],status:\"nonstandard\",syntax:\"<color>\",relevance:0,description:\"Determines the color of the scroll box and scroll arrows of a scroll bar.\",restrictions:[\"color\"]},{name:\"-ms-scrollbar-highlight-color\",browsers:[\"IE8\"],status:\"nonstandard\",syntax:\"<color>\",relevance:0,description:\"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.\",restrictions:[\"color\"]},{name:\"-ms-scrollbar-shadow-color\",browsers:[\"IE8\"],status:\"nonstandard\",syntax:\"<color>\",relevance:0,description:\"Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.\",restrictions:[\"color\"]},{name:\"-ms-scrollbar-track-color\",browsers:[\"IE5\"],status:\"nonstandard\",syntax:\"<color>\",relevance:0,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-ms-scrollbar-track-color\"}],description:\"Determines the color of the track element of a scroll bar.\",restrictions:[\"color\"]},{name:\"-ms-scroll-chaining\",browsers:[\"E\",\"IE10\"],values:[{name:\"chained\"},{name:\"none\"}],status:\"nonstandard\",syntax:\"chained | none\",relevance:0,description:\"Gets or sets a value that indicates the scrolling behavior that occurs when a user hits the content boundary during a manipulation.\",restrictions:[\"enum\",\"length\"]},{name:\"-ms-scroll-limit\",browsers:[\"E\",\"IE10\"],values:[{name:\"auto\"}],status:\"nonstandard\",syntax:\"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>\",relevance:0,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.\",restrictions:[\"length\"]},{name:\"-ms-scroll-limit-x-max\",browsers:[\"E\",\"IE10\"],values:[{name:\"auto\"}],status:\"nonstandard\",syntax:\"auto | <length>\",relevance:0,description:\"Gets or sets a value that specifies the maximum value for the scrollLeft property.\",restrictions:[\"length\"]},{name:\"-ms-scroll-limit-x-min\",browsers:[\"E\",\"IE10\"],status:\"nonstandard\",syntax:\"<length>\",relevance:0,description:\"Gets or sets a value that specifies the minimum value for the scrollLeft property.\",restrictions:[\"length\"]},{name:\"-ms-scroll-limit-y-max\",browsers:[\"E\",\"IE10\"],values:[{name:\"auto\"}],status:\"nonstandard\",syntax:\"auto | <length>\",relevance:0,description:\"Gets or sets a value that specifies the maximum value for the scrollTop property.\",restrictions:[\"length\"]},{name:\"-ms-scroll-limit-y-min\",browsers:[\"E\",\"IE10\"],status:\"nonstandard\",syntax:\"<length>\",relevance:0,description:\"Gets or sets a value that specifies the minimum value for the scrollTop property.\",restrictions:[\"length\"]},{name:\"-ms-scroll-rails\",browsers:[\"E\",\"IE10\"],values:[{name:\"none\"},{name:\"railed\"}],status:\"nonstandard\",syntax:\"none | railed\",relevance:0,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).\",restrictions:[\"enum\",\"length\"]},{name:\"-ms-scroll-snap-points-x\",browsers:[\"E\",\"IE10\"],values:[{name:\"snapInterval(100%, 100%)\"},{name:\"snapList()\"}],status:\"nonstandard\",syntax:\"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )\",relevance:0,description:\"Gets or sets a value that defines where snap-points will be located along the x-axis.\",restrictions:[\"enum\"]},{name:\"-ms-scroll-snap-points-y\",browsers:[\"E\",\"IE10\"],values:[{name:\"snapInterval(100%, 100%)\"},{name:\"snapList()\"}],status:\"nonstandard\",syntax:\"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )\",relevance:0,description:\"Gets or sets a value that defines where snap-points will be located along the y-axis.\",restrictions:[\"enum\"]},{name:\"-ms-scroll-snap-type\",browsers:[\"E\",\"IE10\"],values:[{name:\"none\",description:\"The visual viewport of this scroll container must ignore snap points, if any, when scrolled.\"},{name:\"mandatory\",description:\"The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations.\"},{name:\"proximity\",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.\"}],status:\"nonstandard\",syntax:\"none | proximity | mandatory\",relevance:0,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.\",restrictions:[\"enum\"]},{name:\"-ms-scroll-snap-x\",browsers:[\"E\",\"IE10\"],values:[{name:\"mandatory\"},{name:\"none\"},{name:\"proximity\"},{name:\"snapInterval(100%, 100%)\"},{name:\"snapList()\"}],status:\"nonstandard\",syntax:\"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>\",relevance:0,description:\"Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-x properties.\",restrictions:[\"enum\"]},{name:\"-ms-scroll-snap-y\",browsers:[\"E\",\"IE10\"],values:[{name:\"mandatory\"},{name:\"none\"},{name:\"proximity\"},{name:\"snapInterval(100%, 100%)\"},{name:\"snapList()\"}],status:\"nonstandard\",syntax:\"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>\",relevance:0,description:\"Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-y properties.\",restrictions:[\"enum\"]},{name:\"-ms-scroll-translation\",browsers:[\"E\",\"IE10\"],values:[{name:\"none\"},{name:\"vertical-to-horizontal\"}],status:\"nonstandard\",syntax:\"none | vertical-to-horizontal\",relevance:0,description:\"Gets or sets a value that specifies whether vertical-to-horizontal scroll wheel translation occurs on the specified element.\",restrictions:[\"enum\"]},{name:\"-ms-text-align-last\",browsers:[\"E\",\"IE8\"],values:[{name:\"auto\"},{name:\"center\",description:\"The inline contents are centered within the line box.\"},{name:\"justify\",description:\"The text is justified according to the method specified by the 'text-justify' property.\"},{name:\"left\",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.\"},{name:\"right\",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.\"}],relevance:50,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'.\",restrictions:[\"enum\"]},{name:\"-ms-text-autospace\",browsers:[\"E\",\"IE8\"],values:[{name:\"ideograph-alpha\",description:\"Creates 1/4em extra spacing between runs of ideographic letters and non-ideographic letters, such as Latin-based, Cyrillic, Greek, Arabic or Hebrew.\"},{name:\"ideograph-numeric\",description:\"Creates 1/4em extra spacing between runs of ideographic letters and numeric glyphs.\"},{name:\"ideograph-parenthesis\",description:\"Creates extra spacing between normal (non wide) parenthesis and ideographs.\"},{name:\"ideograph-space\",description:\"Extends the width of the space character while surrounded by ideographs.\"},{name:\"none\",description:\"No extra space is created.\"},{name:\"punctuation\",description:\"Creates extra non-breaking spacing around punctuation as required by language-specific typographic conventions.\"}],status:\"nonstandard\",syntax:\"none | ideograph-alpha | ideograph-numeric | ideograph-parenthesis | ideograph-space\",relevance:0,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.\",restrictions:[\"enum\"]},{name:\"-ms-text-combine-horizontal\",browsers:[\"E\",\"IE11\"],values:[{name:\"all\",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.\"},{name:\"digits\",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.\"},{name:\"none\",description:\"No special processing.\"}],relevance:50,description:\"This property specifies the combination of multiple characters into the space of a single character.\",restrictions:[\"enum\",\"integer\"]},{name:\"-ms-text-justify\",browsers:[\"E\",\"IE8\"],values:[{name:\"auto\",description:\"The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality.\"},{name:\"distribute\",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.\"},{name:\"inter-cluster\",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.\"},{name:\"inter-ideograph\",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.\"},{name:\"inter-word\",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.\"},{name:\"kashida\",description:\"Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation.\"}],relevance:50,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.\",restrictions:[\"enum\"]},{name:\"-ms-text-kashida-space\",browsers:[\"E\",\"IE10\"],relevance:50,description:\"Sets or retrieves the ratio of kashida expansion to white space expansion when justifying lines of text in the object.\",restrictions:[\"percentage\"]},{name:\"-ms-text-overflow\",browsers:[\"IE10\"],values:[{name:\"clip\",description:\"Clip inline content that overflows. Characters may be only partially rendered.\"},{name:\"ellipsis\",description:\"Render an ellipsis character (U+2026) to represent clipped inline content.\"}],relevance:50,description:\"Text can overflow for example when it is prevented from wrapping\",restrictions:[\"enum\"]},{name:\"-ms-text-size-adjust\",browsers:[\"E\",\"IE10\"],values:[{name:\"auto\",description:\"Renderers must use the default size adjustment when displaying on a small device.\"},{name:\"none\",description:\"Renderers must not do size adjustment when displaying on a small device.\"}],relevance:50,description:\"Specifies a size adjustment for displaying text content in mobile browsers.\",restrictions:[\"enum\",\"percentage\"]},{name:\"-ms-text-underline-position\",browsers:[\"E\",\"IE10\"],values:[{name:\"alphabetic\",description:\"The underline is aligned with the alphabetic baseline. In this case the underline is likely to cross some descenders.\"},{name:\"auto\",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.\"},{name:\"over\",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.\"},{name:\"under\",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.\"}],relevance:50,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\",restrictions:[\"enum\"]},{name:\"-ms-touch-action\",browsers:[\"IE10\"],values:[{name:\"auto\",description:\"The element is a passive element, with several exceptions.\"},{name:\"double-tap-zoom\",description:\"The element will zoom on double-tap.\"},{name:\"manipulation\",description:\"The element is a manipulation-causing element.\"},{name:\"none\",description:\"The element is a manipulation-blocking element.\"},{name:\"pan-x\",description:\"The element permits touch-driven panning on the horizontal axis. The touch pan is performed on the nearest ancestor with horizontally scrollable content.\"},{name:\"pan-y\",description:\"The element permits touch-driven panning on the vertical axis. The touch pan is performed on the nearest ancestor with vertically scrollable content.\"},{name:\"pinch-zoom\",description:\"The element permits pinch-zooming. The pinch-zoom is performed on the nearest ancestor with zoomable content.\"}],relevance:50,description:\"Gets or sets a value that indicates whether and how a given region can be manipulated by the user.\",restrictions:[\"enum\"]},{name:\"-ms-touch-select\",browsers:[\"E\",\"IE10\"],values:[{name:\"grippers\",description:\"Grippers are always on.\"},{name:\"none\",description:\"Grippers are always off.\"}],status:\"nonstandard\",syntax:\"grippers | none\",relevance:0,description:\"Gets or sets a value that toggles the 'gripper' visual elements that enable touch text selection.\",restrictions:[\"enum\"]},{name:\"-ms-transform\",browsers:[\"IE9-9\"],values:[{name:\"matrix()\",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]\"},{name:\"matrix3d()\",description:\"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order.\"},{name:\"none\"},{name:\"rotate()\",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.\"},{name:\"rotate3d()\",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.\"},{name:\"rotateX('angle')\",description:\"Specifies a clockwise rotation by the given angle about the X axis.\"},{name:\"rotateY('angle')\",description:\"Specifies a clockwise rotation by the given angle about the Y axis.\"},{name:\"rotateZ('angle')\",description:\"Specifies a clockwise rotation by the given angle about the Z axis.\"},{name:\"scale()\",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.\"},{name:\"scale3d()\",description:\"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters.\"},{name:\"scaleX()\",description:\"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter.\"},{name:\"scaleY()\",description:\"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter.\"},{name:\"scaleZ()\",description:\"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter.\"},{name:\"skew()\",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).\"},{name:\"skewX()\",description:\"Specifies a skew transformation along the X axis by the given angle.\"},{name:\"skewY()\",description:\"Specifies a skew transformation along the Y axis by the given angle.\"},{name:\"translate()\",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.\"},{name:\"translate3d()\",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.\"},{name:\"translateX()\",description:\"Specifies a translation by the given amount in the X direction.\"},{name:\"translateY()\",description:\"Specifies a translation by the given amount in the Y direction.\"},{name:\"translateZ()\",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.\"}],relevance:50,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.\",restrictions:[\"enum\"]},{name:\"-ms-transform-origin\",browsers:[\"IE9-9\"],relevance:50,description:\"Establishes the origin of transformation for an element.\",restrictions:[\"position\",\"length\",\"percentage\"]},{name:\"-ms-transform-origin-x\",browsers:[\"IE10\"],relevance:50,description:\"The x coordinate of the origin for transforms applied to an element with respect to its border box.\",restrictions:[\"length\",\"percentage\"]},{name:\"-ms-transform-origin-y\",browsers:[\"IE10\"],relevance:50,description:\"The y coordinate of the origin for transforms applied to an element with respect to its border box.\",restrictions:[\"length\",\"percentage\"]},{name:\"-ms-transform-origin-z\",browsers:[\"IE10\"],relevance:50,description:\"The z coordinate of the origin for transforms applied to an element with respect to its border box.\",restrictions:[\"length\",\"percentage\"]},{name:\"-ms-user-select\",browsers:[\"E\",\"IE10\"],values:[{name:\"element\"},{name:\"none\"},{name:\"text\"}],status:\"nonstandard\",syntax:\"none | element | text\",relevance:0,description:\"Controls the appearance of selection.\",restrictions:[\"enum\"]},{name:\"-ms-word-break\",browsers:[\"IE8\"],values:[{name:\"break-all\",description:\"Lines may break between any two grapheme clusters for non-CJK scripts.\"},{name:\"keep-all\",description:\"Block characters can no longer create implied break points.\"},{name:\"normal\",description:\"Breaks non-CJK scripts according to their own rules.\"}],relevance:50,description:\"Specifies line break opportunities for non-CJK scripts.\",restrictions:[\"enum\"]},{name:\"-ms-word-wrap\",browsers:[\"IE8\"],values:[{name:\"break-word\",description:\"An unbreakable 'word' may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line.\"},{name:\"normal\",description:\"Lines may break only at allowed break points.\"}],relevance:50,description:\"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.\",restrictions:[\"enum\"]},{name:\"-ms-wrap-flow\",browsers:[\"E\",\"IE10\"],values:[{name:\"auto\",description:\"For floats an exclusion is created, for all other elements an exclusion is not created.\"},{name:\"both\",description:\"Inline flow content can flow on all sides of the exclusion.\"},{name:\"clear\",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.\"},{name:\"end\",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.\"},{name:\"maximum\",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.\"},{name:\"minimum\",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.\"},{name:\"start\",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.\"}],status:\"nonstandard\",syntax:\"auto | both | start | end | maximum | clear\",relevance:0,description:\"An element becomes an exclusion when its 'wrap-flow' property has a computed value other than 'auto'.\",restrictions:[\"enum\"]},{name:\"-ms-wrap-margin\",browsers:[\"E\",\"IE10\"],status:\"nonstandard\",syntax:\"<length>\",relevance:0,description:\"Gets or sets a value that is used to offset the inner wrap shape from other shapes.\",restrictions:[\"length\",\"percentage\"]},{name:\"-ms-wrap-through\",browsers:[\"E\",\"IE10\"],values:[{name:\"none\",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.\"},{name:\"wrap\",description:\"The exclusion element inherits its parent node's wrapping context. Its descendant inline content wraps around exclusions defined outside the element.\"}],status:\"nonstandard\",syntax:\"wrap | none\",relevance:0,description:\"Specifies if an element inherits its parent wrapping context. In other words if it is subject to the exclusions defined outside the element.\",restrictions:[\"enum\"]},{name:\"-ms-writing-mode\",browsers:[\"IE8\"],values:[{name:\"bt-lr\"},{name:\"bt-rl\"},{name:\"lr-bt\"},{name:\"lr-tb\"},{name:\"rl-bt\"},{name:\"rl-tb\"},{name:\"tb-lr\"},{name:\"tb-rl\"}],relevance:50,description:\"Shorthand property for both 'direction' and 'block-progression'.\",restrictions:[\"enum\"]},{name:\"-ms-zoom\",browsers:[\"IE8\"],values:[{name:\"normal\"}],relevance:50,description:\"Sets or retrieves the magnification scale of the object.\",restrictions:[\"enum\",\"integer\",\"number\",\"percentage\"]},{name:\"-ms-zoom-animation\",browsers:[\"IE10\"],values:[{name:\"default\"},{name:\"none\"}],relevance:50,description:\"Gets or sets a value that indicates whether an animation is used when zooming.\",restrictions:[\"enum\"]},{name:\"nav-down\",browsers:[\"O9.5\"],values:[{name:\"auto\",description:\"The user agent automatically determines which element to navigate the focus to in response to directional navigational input.\"},{name:\"current\",description:\"Indicates that the user agent should target the frame that the element is in.\"},{name:\"root\",description:\"Indicates that the user agent should target the full window.\"}],relevance:50,description:\"Provides an way to control directional focus navigation.\",restrictions:[\"enum\",\"identifier\",\"string\"]},{name:\"nav-index\",browsers:[\"O9.5\"],values:[{name:\"auto\",description:\"The element's sequential navigation order is assigned automatically by the user agent.\"}],relevance:50,description:\"Provides an input-method-neutral way of specifying the sequential navigation order (also known as 'tabbing order').\",restrictions:[\"number\"]},{name:\"nav-left\",browsers:[\"O9.5\"],values:[{name:\"auto\",description:\"The user agent automatically determines which element to navigate the focus to in response to directional navigational input.\"},{name:\"current\",description:\"Indicates that the user agent should target the frame that the element is in.\"},{name:\"root\",description:\"Indicates that the user agent should target the full window.\"}],relevance:50,description:\"Provides an way to control directional focus navigation.\",restrictions:[\"enum\",\"identifier\",\"string\"]},{name:\"nav-right\",browsers:[\"O9.5\"],values:[{name:\"auto\",description:\"The user agent automatically determines which element to navigate the focus to in response to directional navigational input.\"},{name:\"current\",description:\"Indicates that the user agent should target the frame that the element is in.\"},{name:\"root\",description:\"Indicates that the user agent should target the full window.\"}],relevance:50,description:\"Provides an way to control directional focus navigation.\",restrictions:[\"enum\",\"identifier\",\"string\"]},{name:\"nav-up\",browsers:[\"O9.5\"],values:[{name:\"auto\",description:\"The user agent automatically determines which element to navigate the focus to in response to directional navigational input.\"},{name:\"current\",description:\"Indicates that the user agent should target the frame that the element is in.\"},{name:\"root\",description:\"Indicates that the user agent should target the full window.\"}],relevance:50,description:\"Provides an way to control directional focus navigation.\",restrictions:[\"enum\",\"identifier\",\"string\"]},{name:\"negative\",browsers:[\"FF33\"],syntax:\"<symbol> <symbol>?\",relevance:50,description:\"@counter-style descriptor. Defines how to alter the representation when the counter value is negative.\",restrictions:[\"image\",\"identifier\",\"string\"]},{name:\"-o-animation\",browsers:[\"O12\"],values:[{name:\"alternate\",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.\"},{name:\"alternate-reverse\",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.\"},{name:\"backwards\",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'.\"},{name:\"both\",description:\"Both forwards and backwards fill modes are applied.\"},{name:\"forwards\",description:\"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes.\"},{name:\"infinite\",description:\"Causes the animation to repeat forever.\"},{name:\"none\",description:\"No animation is performed\"},{name:\"normal\",description:\"Normal playback.\"},{name:\"reverse\",description:\"All iterations of the animation are played in the reverse direction from the way they were specified.\"}],relevance:50,description:\"Shorthand property combines six of the animation properties into a single property.\",restrictions:[\"time\",\"enum\",\"timing-function\",\"identifier\",\"number\"]},{name:\"-o-animation-delay\",browsers:[\"O12\"],relevance:50,description:\"Defines when the animation will start.\",restrictions:[\"time\"]},{name:\"-o-animation-direction\",browsers:[\"O12\"],values:[{name:\"alternate\",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.\"},{name:\"alternate-reverse\",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.\"},{name:\"normal\",description:\"Normal playback.\"},{name:\"reverse\",description:\"All iterations of the animation are played in the reverse direction from the way they were specified.\"}],relevance:50,description:\"Defines whether or not the animation should play in reverse on alternate cycles.\",restrictions:[\"enum\"]},{name:\"-o-animation-duration\",browsers:[\"O12\"],relevance:50,description:\"Defines the length of time that an animation takes to complete one cycle.\",restrictions:[\"time\"]},{name:\"-o-animation-fill-mode\",browsers:[\"O12\"],values:[{name:\"backwards\",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'.\"},{name:\"both\",description:\"Both forwards and backwards fill modes are applied.\"},{name:\"forwards\",description:\"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes.\"},{name:\"none\",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.\"}],relevance:50,description:\"Defines what values are applied by the animation outside the time it is executing.\",restrictions:[\"enum\"]},{name:\"-o-animation-iteration-count\",browsers:[\"O12\"],values:[{name:\"infinite\",description:\"Causes the animation to repeat forever.\"}],relevance:50,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.\",restrictions:[\"number\",\"enum\"]},{name:\"-o-animation-name\",browsers:[\"O12\"],values:[{name:\"none\",description:\"No animation is performed\"}],relevance:50,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.\",restrictions:[\"identifier\",\"enum\"]},{name:\"-o-animation-play-state\",browsers:[\"O12\"],values:[{name:\"paused\",description:\"A running animation will be paused.\"},{name:\"running\",description:\"Resume playback of a paused animation.\"}],relevance:50,description:\"Defines whether the animation is running or paused.\",restrictions:[\"enum\"]},{name:\"-o-animation-timing-function\",browsers:[\"O12\"],relevance:50,description:\"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.\",restrictions:[\"timing-function\"]},{name:\"object-fit\",browsers:[\"E79\",\"FF36\",\"S10\",\"C32\",\"O19\"],values:[{name:\"contain\",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.\"},{name:\"cover\",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.\"},{name:\"fill\",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.\"},{name:\"none\",description:\"The replaced content is not resized to fit inside the element's content box\"},{name:\"scale-down\",description:\"Size the content as if \\u2018none\\u2019 or \\u2018contain\\u2019 were specified, whichever would result in a smaller concrete object size.\"}],syntax:\"fill | contain | cover | none | scale-down\",relevance:69,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/object-fit\"}],description:\"Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.\",restrictions:[\"enum\"]},{name:\"object-position\",browsers:[\"E79\",\"FF36\",\"S10\",\"C32\",\"O19\"],syntax:\"<position>\",relevance:54,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/object-position\"}],description:\"Determines the alignment of the replaced element inside its box.\",restrictions:[\"position\",\"length\",\"percentage\"]},{name:\"-o-border-image\",browsers:[\"O11.6\"],values:[{name:\"auto\",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.\"},{name:\"fill\",description:\"Causes the middle part of the border-image to be preserved.\"},{name:\"none\"},{name:\"repeat\",description:\"The image is tiled (repeated) to fill the area.\"},{name:\"round\",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.\"},{name:\"space\",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.\"},{name:\"stretch\",description:\"The image is stretched to fill the area.\"}],relevance:50,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.\",restrictions:[\"length\",\"percentage\",\"number\",\"image\",\"enum\"]},{name:\"-o-object-fit\",browsers:[\"O10.6\"],values:[{name:\"contain\",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.\"},{name:\"cover\",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.\"},{name:\"fill\",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.\"},{name:\"none\",description:\"The replaced content is not resized to fit inside the element's content box\"},{name:\"scale-down\",description:\"Size the content as if \\u2018none\\u2019 or \\u2018contain\\u2019 were specified, whichever would result in a smaller concrete object size.\"}],relevance:50,description:\"Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.\",restrictions:[\"enum\"]},{name:\"-o-object-position\",browsers:[\"O10.6\"],relevance:50,description:\"Determines the alignment of the replaced element inside its box.\",restrictions:[\"position\",\"length\",\"percentage\"]},{name:\"opacity\",syntax:\"<alpha-value>\",relevance:94,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/opacity\"}],description:\"Opacity of an element's text, where 1 is opaque and 0 is entirely transparent.\",restrictions:[\"number(0-1)\"]},{name:\"order\",syntax:\"<integer>\",relevance:64,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/order\"}],description:\"Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.\",restrictions:[\"integer\"]},{name:\"orphans\",browsers:[\"E12\",\"S1.3\",\"C25\",\"IE8\",\"O9.2\"],syntax:\"<integer>\",relevance:51,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/orphans\"}],description:\"Specifies the minimum number of line boxes in a block container that must be left in a fragment before a fragmentation break.\",restrictions:[\"integer\"]},{name:\"-o-table-baseline\",browsers:[\"O9.6\"],relevance:50,description:\"Determines which row of a inline-table should be used as baseline of inline-table.\",restrictions:[\"integer\"]},{name:\"-o-tab-size\",browsers:[\"O10.6\"],relevance:50,description:\"This property determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.\",restrictions:[\"integer\",\"length\"]},{name:\"-o-text-overflow\",browsers:[\"O10\"],values:[{name:\"clip\",description:\"Clip inline content that overflows. Characters may be only partially rendered.\"},{name:\"ellipsis\",description:\"Render an ellipsis character (U+2026) to represent clipped inline content.\"}],relevance:50,description:\"Text can overflow for example when it is prevented from wrapping\",restrictions:[\"enum\"]},{name:\"-o-transform\",browsers:[\"O10.5\"],values:[{name:\"matrix()\",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]\"},{name:\"matrix3d()\",description:\"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order.\"},{name:\"none\"},{name:\"rotate()\",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.\"},{name:\"rotate3d()\",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.\"},{name:\"rotateX('angle')\",description:\"Specifies a clockwise rotation by the given angle about the X axis.\"},{name:\"rotateY('angle')\",description:\"Specifies a clockwise rotation by the given angle about the Y axis.\"},{name:\"rotateZ('angle')\",description:\"Specifies a clockwise rotation by the given angle about the Z axis.\"},{name:\"scale()\",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.\"},{name:\"scale3d()\",description:\"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters.\"},{name:\"scaleX()\",description:\"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter.\"},{name:\"scaleY()\",description:\"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter.\"},{name:\"scaleZ()\",description:\"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter.\"},{name:\"skew()\",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).\"},{name:\"skewX()\",description:\"Specifies a skew transformation along the X axis by the given angle.\"},{name:\"skewY()\",description:\"Specifies a skew transformation along the Y axis by the given angle.\"},{name:\"translate()\",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.\"},{name:\"translate3d()\",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.\"},{name:\"translateX()\",description:\"Specifies a translation by the given amount in the X direction.\"},{name:\"translateY()\",description:\"Specifies a translation by the given amount in the Y direction.\"},{name:\"translateZ()\",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.\"}],relevance:50,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.\",restrictions:[\"enum\"]},{name:\"-o-transform-origin\",browsers:[\"O10.5\"],relevance:50,description:\"Establishes the origin of transformation for an element.\",restrictions:[\"positon\",\"length\",\"percentage\"]},{name:\"-o-transition\",browsers:[\"O11.5\"],values:[{name:\"all\",description:\"Every property that is able to undergo a transition will do so.\"},{name:\"none\",description:\"No property will transition.\"}],relevance:50,description:\"Shorthand property combines four of the transition properties into a single property.\",restrictions:[\"time\",\"property\",\"timing-function\",\"enum\"]},{name:\"-o-transition-delay\",browsers:[\"O11.5\"],relevance:50,description:\"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.\",restrictions:[\"time\"]},{name:\"-o-transition-duration\",browsers:[\"O11.5\"],relevance:50,description:\"Specifies how long the transition from the old value to the new value should take.\",restrictions:[\"time\"]},{name:\"-o-transition-property\",browsers:[\"O11.5\"],values:[{name:\"all\",description:\"Every property that is able to undergo a transition will do so.\"},{name:\"none\",description:\"No property will transition.\"}],relevance:50,description:\"Specifies the name of the CSS property to which the transition is applied.\",restrictions:[\"property\"]},{name:\"-o-transition-timing-function\",browsers:[\"O11.5\"],relevance:50,description:\"Describes how the intermediate values used during a transition will be calculated.\",restrictions:[\"timing-function\"]},{name:\"offset-block-end\",browsers:[\"FF41\"],values:[{name:\"auto\",description:\"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well.\"}],relevance:50,description:\"Logical 'bottom'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"length\",\"percentage\"]},{name:\"offset-block-start\",browsers:[\"FF41\"],values:[{name:\"auto\",description:\"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well.\"}],relevance:50,description:\"Logical 'top'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"length\",\"percentage\"]},{name:\"offset-inline-end\",browsers:[\"FF41\"],values:[{name:\"auto\",description:\"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well.\"}],relevance:50,description:\"Logical 'right'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"length\",\"percentage\"]},{name:\"offset-inline-start\",browsers:[\"FF41\"],values:[{name:\"auto\",description:\"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well.\"}],relevance:50,description:\"Logical 'left'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"length\",\"percentage\"]},{name:\"outline\",values:[{name:\"auto\",description:\"Permits the user agent to render a custom outline style, typically the default platform style.\"},{name:\"invert\",description:\"Performs a color inversion on the pixels on the screen.\"}],syntax:\"[ <'outline-color'> || <'outline-style'> || <'outline-width'> ]\",relevance:88,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/outline\"}],description:\"Shorthand property for 'outline-style', 'outline-width', and 'outline-color'.\",restrictions:[\"length\",\"line-width\",\"line-style\",\"color\",\"enum\"]},{name:\"outline-color\",values:[{name:\"invert\",description:\"Performs a color inversion on the pixels on the screen.\"}],syntax:\"<color> | invert\",relevance:54,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/outline-color\"}],description:\"The color of the outline.\",restrictions:[\"enum\",\"color\"]},{name:\"outline-offset\",browsers:[\"E15\",\"FF1.5\",\"S1.2\",\"C1\",\"O9.5\"],syntax:\"<length>\",relevance:68,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/outline-offset\"}],description:\"Offset the outline and draw it beyond the border edge.\",restrictions:[\"length\"]},{name:\"outline-style\",values:[{name:\"auto\",description:\"Permits the user agent to render a custom outline style, typically the default platform style.\"}],syntax:\"auto | <'border-style'>\",relevance:61,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/outline-style\"}],description:\"Style of the outline.\",restrictions:[\"line-style\",\"enum\"]},{name:\"outline-width\",syntax:\"<line-width>\",relevance:61,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/outline-width\"}],description:\"Width of the outline.\",restrictions:[\"length\",\"line-width\"]},{name:\"overflow\",values:[{name:\"auto\",description:\"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes.\"},{name:\"hidden\",description:\"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region.\"},{name:\"-moz-hidden-unscrollable\",description:\"Same as the standardized 'clip', except doesn\\u2019t establish a block formatting context.\"},{name:\"scroll\",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.\"},{name:\"visible\",description:\"Content is not clipped, i.e., it may be rendered outside the content box.\"}],syntax:\"[ visible | hidden | clip | scroll | auto ]{1,2}\",relevance:93,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/overflow\"}],description:\"Shorthand for setting 'overflow-x' and 'overflow-y'.\",restrictions:[\"enum\"]},{name:\"overflow-wrap\",values:[{name:\"break-word\",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.\"},{name:\"normal\",description:\"Lines may break only at allowed break points.\"}],syntax:\"normal | break-word | anywhere\",relevance:64,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap\"}],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.\",restrictions:[\"enum\"]},{name:\"overflow-x\",values:[{name:\"auto\",description:\"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes.\"},{name:\"hidden\",description:\"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region.\"},{name:\"scroll\",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.\"},{name:\"visible\",description:\"Content is not clipped, i.e., it may be rendered outside the content box.\"}],syntax:\"visible | hidden | clip | scroll | auto\",relevance:82,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/overflow-x\"}],description:\"Specifies the handling of overflow in the horizontal direction.\",restrictions:[\"enum\"]},{name:\"overflow-y\",values:[{name:\"auto\",description:\"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes.\"},{name:\"hidden\",description:\"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region.\"},{name:\"scroll\",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.\"},{name:\"visible\",description:\"Content is not clipped, i.e., it may be rendered outside the content box.\"}],syntax:\"visible | hidden | clip | scroll | auto\",relevance:83,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/overflow-y\"}],description:\"Specifies the handling of overflow in the vertical direction.\",restrictions:[\"enum\"]},{name:\"pad\",browsers:[\"FF33\"],syntax:\"<integer> && <symbol>\",relevance:50,description:\"@counter-style descriptor. Specifies a \\u201Cfixed-width\\u201D counter style, where representations shorter than the pad value are padded with a particular <symbol>\",restrictions:[\"integer\",\"image\",\"string\",\"identifier\"]},{name:\"padding\",values:[],syntax:\"[ <length> | <percentage> ]{1,4}\",relevance:96,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/padding\"}],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.\",restrictions:[\"length\",\"percentage\"]},{name:\"padding-bottom\",syntax:\"<length> | <percentage>\",relevance:90,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/padding-bottom\"}],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.\",restrictions:[\"length\",\"percentage\"]},{name:\"padding-block-end\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],syntax:\"<'padding-left'>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/padding-block-end\"}],description:\"Logical 'padding-bottom'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"length\",\"percentage\"]},{name:\"padding-block-start\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],syntax:\"<'padding-left'>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/padding-block-start\"}],description:\"Logical 'padding-top'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"length\",\"percentage\"]},{name:\"padding-inline-end\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],syntax:\"<'padding-left'>\",relevance:51,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/padding-inline-end\"}],description:\"Logical 'padding-right'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"length\",\"percentage\"]},{name:\"padding-inline-start\",browsers:[\"E79\",\"FF41\",\"S12.1\",\"C69\",\"O56\"],syntax:\"<'padding-left'>\",relevance:51,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/padding-inline-start\"}],description:\"Logical 'padding-left'. Mapping depends on the parent element\\u2019s 'writing-mode', 'direction', and 'text-orientation'.\",restrictions:[\"length\",\"percentage\"]},{name:\"padding-left\",syntax:\"<length> | <percentage>\",relevance:91,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/padding-left\"}],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.\",restrictions:[\"length\",\"percentage\"]},{name:\"padding-right\",syntax:\"<length> | <percentage>\",relevance:90,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/padding-right\"}],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.\",restrictions:[\"length\",\"percentage\"]},{name:\"padding-top\",syntax:\"<length> | <percentage>\",relevance:91,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/padding-top\"}],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.\",restrictions:[\"length\",\"percentage\"]},{name:\"page-break-after\",values:[{name:\"always\",description:\"Always force a page break after the generated box.\"},{name:\"auto\",description:\"Neither force nor forbid a page break after generated box.\"},{name:\"avoid\",description:\"Avoid a page break after the generated box.\"},{name:\"left\",description:\"Force one or two page breaks after the generated box so that the next page is formatted as a left page.\"},{name:\"right\",description:\"Force one or two page breaks after the generated box so that the next page is formatted as a right page.\"}],syntax:\"auto | always | avoid | left | right | recto | verso\",relevance:52,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/page-break-after\"}],description:\"Defines rules for page breaks after an element.\",restrictions:[\"enum\"]},{name:\"page-break-before\",values:[{name:\"always\",description:\"Always force a page break before the generated box.\"},{name:\"auto\",description:\"Neither force nor forbid a page break before the generated box.\"},{name:\"avoid\",description:\"Avoid a page break before the generated box.\"},{name:\"left\",description:\"Force one or two page breaks before the generated box so that the next page is formatted as a left page.\"},{name:\"right\",description:\"Force one or two page breaks before the generated box so that the next page is formatted as a right page.\"}],syntax:\"auto | always | avoid | left | right | recto | verso\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/page-break-before\"}],description:\"Defines rules for page breaks before an element.\",restrictions:[\"enum\"]},{name:\"page-break-inside\",values:[{name:\"auto\",description:\"Neither force nor forbid a page break inside the generated box.\"},{name:\"avoid\",description:\"Avoid a page break inside the generated box.\"}],syntax:\"auto | avoid\",relevance:53,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/page-break-inside\"}],description:\"Defines rules for page breaks inside an element.\",restrictions:[\"enum\"]},{name:\"paint-order\",browsers:[\"E17\",\"FF60\",\"S8\",\"C35\",\"O22\"],values:[{name:\"fill\"},{name:\"markers\"},{name:\"normal\",description:\"The element is painted with the standard order of painting operations: the 'fill' is painted first, then its 'stroke' and finally its markers.\"},{name:\"stroke\"}],syntax:\"normal | [ fill || stroke || markers ]\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/paint-order\"}],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.\",restrictions:[\"enum\"]},{name:\"perspective\",values:[{name:\"none\",description:\"No perspective transform is applied.\"}],syntax:\"none | <length>\",relevance:55,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/perspective\"}],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.\",restrictions:[\"length\",\"enum\"]},{name:\"perspective-origin\",syntax:\"<position>\",relevance:51,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/perspective-origin\"}],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.\",restrictions:[\"position\",\"percentage\",\"length\"]},{name:\"pointer-events\",values:[{name:\"all\",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.\"},{name:\"fill\",description:\"The given element can be the target element for pointer events whenever the pointer is over the interior of the element.\"},{name:\"none\",description:\"The given element does not receive pointer events.\"},{name:\"painted\",description:'The given element can be the target element for pointer events when the pointer is over a \"painted\" area. '},{name:\"stroke\",description:\"The given element can be the target element for pointer events whenever the pointer is over the perimeter of the element.\"},{name:\"visible\",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.\"},{name:\"visibleFill\",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.\"},{name:\"visiblePainted\",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.\"},{name:\"visibleStroke\",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.\"}],syntax:\"auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit\",relevance:83,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/pointer-events\"}],description:\"Specifies under what circumstances a given element can be the target element for a pointer event.\",restrictions:[\"enum\"]},{name:\"position\",values:[{name:\"absolute\",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'.\"},{name:\"fixed\",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.\"},{name:\"-ms-page\",description:\"The box's position is calculated according to the 'absolute' model.\"},{name:\"relative\",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.\"},{name:\"static\",description:\"The box is a normal box, laid out according to the normal flow. The 'top', 'right', 'bottom', and 'left' properties do not apply.\"},{name:\"sticky\",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.\"},{name:\"-webkit-sticky\",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.\"}],syntax:\"static | relative | absolute | sticky | fixed\",relevance:96,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/position\"}],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.\",restrictions:[\"enum\"]},{name:\"prefix\",browsers:[\"FF33\"],syntax:\"<symbol>\",relevance:50,description:\"@counter-style descriptor. Specifies a <symbol> that is prepended to the marker representation.\",restrictions:[\"image\",\"string\",\"identifier\"]},{name:\"quotes\",values:[{name:\"none\",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.\"}],syntax:\"none | auto | [ <string> <string> ]+\",relevance:54,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/quotes\"}],description:\"Specifies quotation marks for any number of embedded quotations.\",restrictions:[\"string\"]},{name:\"range\",browsers:[\"FF33\"],values:[{name:\"auto\",description:\"The range depends on the counter system.\"},{name:\"infinite\",description:\"If used as the first value in a range, it represents negative infinity; if used as the second value, it represents positive infinity.\"}],syntax:\"[ [ <integer> | infinite ]{2} ]# | auto\",relevance:50,description:\"@counter-style descriptor. Defines the ranges over which the counter style is defined.\",restrictions:[\"integer\",\"enum\"]},{name:\"resize\",browsers:[\"E79\",\"FF4\",\"S3\",\"C1\",\"O12.1\"],values:[{name:\"both\",description:\"The UA presents a bidirectional resizing mechanism to allow the user to adjust both the height and the width of the element.\"},{name:\"horizontal\",description:\"The UA presents a unidirectional horizontal resizing mechanism to allow the user to adjust only the width of the element.\"},{name:\"none\",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.\"},{name:\"vertical\",description:\"The UA presents a unidirectional vertical resizing mechanism to allow the user to adjust only the height of the element.\"}],syntax:\"none | both | horizontal | vertical | block | inline\",relevance:60,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/resize\"}],description:\"Specifies whether or not an element is resizable by the user, and if so, along which axis/axes.\",restrictions:[\"enum\"]},{name:\"right\",values:[{name:\"auto\",description:\"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well\"}],syntax:\"<length> | <percentage> | auto\",relevance:92,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/right\"}],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'.\",restrictions:[\"length\",\"percentage\"]},{name:\"ruby-align\",browsers:[\"FF38\"],values:[{name:\"auto\",browsers:[\"FF38\"],description:\"The user agent determines how the ruby contents are aligned. This is the initial value.\"},{name:\"center\",description:\"The ruby content is centered within its box.\"},{name:\"distribute-letter\",browsers:[\"FF38\"],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.\"},{name:\"distribute-space\",browsers:[\"FF38\"],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.\"},{name:\"left\",description:\"The ruby text content is aligned with the start edge of the base.\"},{name:\"line-edge\",browsers:[\"FF38\"],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.\"},{name:\"right\",browsers:[\"FF38\"],description:\"The ruby text content is aligned with the end edge of the base.\"},{name:\"start\",browsers:[\"FF38\"],description:\"The ruby text content is aligned with the start edge of the base.\"},{name:\"space-between\",browsers:[\"FF38\"],description:\"The ruby content expands as defined for normal text justification (as defined by 'text-justify'),\"},{name:\"space-around\",browsers:[\"FF38\"],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.\"}],status:\"experimental\",syntax:\"start | center | space-between | space-around\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/ruby-align\"}],description:\"Specifies how text is distributed within the various ruby boxes when their contents do not exactly fill their respective boxes.\",restrictions:[\"enum\"]},{name:\"ruby-overhang\",browsers:[\"FF10\",\"IE5\"],values:[{name:\"auto\",description:\"The ruby text can overhang text adjacent to the base on either side. This is the initial value.\"},{name:\"end\",description:\"The ruby text can overhang the text that follows it.\"},{name:\"none\",description:\"The ruby text cannot overhang any text adjacent to its base, only its own base.\"},{name:\"start\",description:\"The ruby text can overhang the text that precedes it.\"}],relevance:50,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.\",restrictions:[\"enum\"]},{name:\"ruby-position\",browsers:[\"E84\",\"FF38\",\"S7\",\"C84\",\"O70\"],values:[{name:\"after\",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.\"},{name:\"before\",description:\"The ruby text appears before the base. This is the most common setting used in ideographic East Asian writing systems.\"},{name:\"inline\"},{name:\"right\",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.\"}],status:\"experimental\",syntax:\"[ alternate || [ over | under ] ] | inter-character\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/ruby-position\"}],description:\"Used by the parent of elements with display: ruby-text to control the position of the ruby text with respect to its base.\",restrictions:[\"enum\"]},{name:\"ruby-span\",browsers:[\"FF10\"],values:[{name:\"attr(x)\",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.\"},{name:\"none\",description:\"No spanning. The computed value is '1'.\"}],relevance:50,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.\",restrictions:[\"enum\"]},{name:\"scrollbar-3dlight-color\",browsers:[\"IE5\"],relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scrollbar-3dlight-color\"}],description:\"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.\",restrictions:[\"color\"]},{name:\"scrollbar-arrow-color\",browsers:[\"IE5\"],relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scrollbar-arrow-color\"}],description:\"Determines the color of the arrow elements of a scroll arrow.\",restrictions:[\"color\"]},{name:\"scrollbar-base-color\",browsers:[\"IE5\"],relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scrollbar-base-color\"}],description:\"Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.\",restrictions:[\"color\"]},{name:\"scrollbar-darkshadow-color\",browsers:[\"IE5\"],relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scrollbar-darkshadow-color\"}],description:\"Determines the color of the gutter of a scroll bar.\",restrictions:[\"color\"]},{name:\"scrollbar-face-color\",browsers:[\"IE5\"],relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scrollbar-face-color\"}],description:\"Determines the color of the scroll box and scroll arrows of a scroll bar.\",restrictions:[\"color\"]},{name:\"scrollbar-highlight-color\",browsers:[\"IE5\"],relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scrollbar-highlight-color\"}],description:\"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.\",restrictions:[\"color\"]},{name:\"scrollbar-shadow-color\",browsers:[\"IE5\"],relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scrollbar-shadow-color\"}],description:\"Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.\",restrictions:[\"color\"]},{name:\"scrollbar-track-color\",browsers:[\"IE6\"],relevance:50,description:\"Determines the color of the track element of a scroll bar.\",restrictions:[\"color\"]},{name:\"scroll-behavior\",browsers:[\"E79\",\"FF36\",\"Spreview\",\"C61\",\"O48\"],values:[{name:\"auto\",description:\"Scrolls in an instant fashion.\"},{name:\"smooth\",description:\"Scrolls in a smooth fashion using a user-agent-defined timing function and time period.\"}],syntax:\"auto | smooth\",relevance:53,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-behavior\"}],description:\"Specifies the scrolling behavior for a scrolling box, when scrolling happens due to navigation or CSSOM scrolling APIs.\",restrictions:[\"enum\"]},{name:\"scroll-snap-coordinate\",browsers:[\"FF39\"],values:[{name:\"none\",description:\"Specifies that this element does not contribute a snap point.\"}],status:\"obsolete\",syntax:\"none | <position>#\",relevance:0,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-coordinate\"}],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.\",restrictions:[\"position\",\"length\",\"percentage\",\"enum\"]},{name:\"scroll-snap-destination\",browsers:[\"FF39\"],status:\"obsolete\",syntax:\"<position>\",relevance:0,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-destination\"}],description:\"Define the x and y coordinate within the scroll container\\u2019s visual viewport which element snap points will align with.\",restrictions:[\"position\",\"length\",\"percentage\"]},{name:\"scroll-snap-points-x\",browsers:[\"FF39\",\"S9\"],values:[{name:\"none\",description:\"No snap points are defined by this scroll container.\"},{name:\"repeat()\",description:\"Defines an interval at which snap points are defined, starting from the container\\u2019s relevant start edge.\"}],status:\"obsolete\",syntax:\"none | repeat( <length-percentage> )\",relevance:0,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-x\"}],description:\"Defines the positioning of snap points along the x axis of the scroll container it is applied to.\",restrictions:[\"enum\"]},{name:\"scroll-snap-points-y\",browsers:[\"FF39\",\"S9\"],values:[{name:\"none\",description:\"No snap points are defined by this scroll container.\"},{name:\"repeat()\",description:\"Defines an interval at which snap points are defined, starting from the container\\u2019s relevant start edge.\"}],status:\"obsolete\",syntax:\"none | repeat( <length-percentage> )\",relevance:0,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-y\"}],description:\"Defines the positioning of snap points along the y axis of the scroll container it is applied to.\",restrictions:[\"enum\"]},{name:\"scroll-snap-type\",values:[{name:\"none\",description:\"The visual viewport of this scroll container must ignore snap points, if any, when scrolled.\"},{name:\"mandatory\",description:\"The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations.\"},{name:\"proximity\",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.\"}],syntax:\"none | [ x | y | block | inline | both ] [ mandatory | proximity ]?\",relevance:52,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type\"}],description:\"Defines how strictly snap points are enforced on the scroll container.\",restrictions:[\"enum\"]},{name:\"shape-image-threshold\",browsers:[\"E79\",\"FF62\",\"S10.1\",\"C37\",\"O24\"],syntax:\"<alpha-value>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/shape-image-threshold\"}],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.\",restrictions:[\"number\"]},{name:\"shape-margin\",browsers:[\"E79\",\"FF62\",\"S10.1\",\"C37\",\"O24\"],syntax:\"<length-percentage>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/shape-margin\"}],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.\",restrictions:[\"url\",\"length\",\"percentage\"]},{name:\"shape-outside\",browsers:[\"E79\",\"FF62\",\"S10.1\",\"C37\",\"O24\"],values:[{name:\"margin-box\",description:\"The background is painted within (clipped to) the margin box.\"},{name:\"none\",description:\"The float area is unaffected.\"}],syntax:\"none | [ <shape-box> || <basic-shape> ] | <image>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/shape-outside\"}],description:\"Specifies an orthogonal rotation to be applied to an image before it is laid out.\",restrictions:[\"image\",\"box\",\"shape\",\"enum\"]},{name:\"shape-rendering\",values:[{name:\"auto\",description:\"Suppresses aural rendering.\"},{name:\"crispEdges\",description:\"Emphasize the contrast between clean edges of artwork over rendering speed and geometric precision.\"},{name:\"geometricPrecision\",description:\"Emphasize geometric precision over speed and crisp edges.\"},{name:\"optimizeSpeed\",description:\"Emphasize rendering speed over geometric precision and crisp edges.\"}],relevance:50,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.\",restrictions:[\"enum\"]},{name:\"size\",browsers:[\"C\",\"O8\"],syntax:\"<length>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]\",relevance:53,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.\",restrictions:[\"length\"]},{name:\"src\",values:[{name:\"url()\",description:\"Reference font by URL\"},{name:\"format()\",description:\"Optional hint describing the format of the font resource.\"},{name:\"local()\",description:\"Format-specific string that identifies a locally available copy of a given font.\"}],syntax:\"[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#\",relevance:87,description:\"@font-face descriptor. Specifies the resource containing font data. It is required, whether the font is downloadable or locally installed.\",restrictions:[\"enum\",\"url\",\"identifier\"]},{name:\"stop-color\",relevance:51,description:\"Indicates what color to use at that gradient stop.\",restrictions:[\"color\"]},{name:\"stop-opacity\",relevance:50,description:\"Defines the opacity of a given gradient stop.\",restrictions:[\"number(0-1)\"]},{name:\"stroke\",values:[{name:\"url()\",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.\"},{name:\"none\",description:\"No paint is applied in this layer.\"}],relevance:64,description:\"Paints along the outline of the given graphical element.\",restrictions:[\"color\",\"enum\",\"url\"]},{name:\"stroke-dasharray\",values:[{name:\"none\",description:\"Indicates that no dashing is used.\"}],relevance:58,description:\"Controls the pattern of dashes and gaps used to stroke paths.\",restrictions:[\"length\",\"percentage\",\"number\",\"enum\"]},{name:\"stroke-dashoffset\",relevance:58,description:\"Specifies the distance into the dash pattern to start the dash.\",restrictions:[\"percentage\",\"length\"]},{name:\"stroke-linecap\",values:[{name:\"butt\",description:\"Indicates that the stroke for each subpath does not extend beyond its two endpoints.\"},{name:\"round\",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.\"},{name:\"square\",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.\"}],relevance:53,description:\"Specifies the shape to be used at the end of open subpaths when they are stroked.\",restrictions:[\"enum\"]},{name:\"stroke-linejoin\",values:[{name:\"bevel\",description:\"Indicates that a bevelled corner is to be used to join path segments.\"},{name:\"miter\",description:\"Indicates that a sharp corner is to be used to join path segments.\"},{name:\"round\",description:\"Indicates that a round corner is to be used to join path segments.\"}],relevance:50,description:\"Specifies the shape to be used at the corners of paths or basic shapes when they are stroked.\",restrictions:[\"enum\"]},{name:\"stroke-miterlimit\",relevance:50,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.\",restrictions:[\"number\"]},{name:\"stroke-opacity\",relevance:52,description:\"Specifies the opacity of the painting operation used to stroke the current object.\",restrictions:[\"number(0-1)\"]},{name:\"stroke-width\",relevance:61,description:\"Specifies the width of the stroke on the current object.\",restrictions:[\"percentage\",\"length\"]},{name:\"suffix\",browsers:[\"FF33\"],syntax:\"<symbol>\",relevance:50,description:\"@counter-style descriptor. Specifies a <symbol> that is appended to the marker representation.\",restrictions:[\"image\",\"string\",\"identifier\"]},{name:\"system\",browsers:[\"FF33\"],values:[{name:\"additive\",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.\"},{name:\"alphabetic\",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\".'},{name:\"cyclic\",description:\"Cycles repeatedly through its provided symbols, looping back to the beginning when it reaches the end of the list.\"},{name:\"extends\",description:\"Use the algorithm of another counter style, but alter other aspects.\"},{name:\"fixed\",description:\"Runs through its list of counter symbols once, then falls back.\"},{name:\"numeric\",description:`interprets the list of counter symbols as digits to a \"place-value\" numbering system, similar to the default 'decimal' counter style.`},{name:\"symbolic\",description:\"Cycles repeatedly through its provided symbols, doubling, tripling, etc. the symbols on each successive pass through the list.\"}],syntax:\"cyclic | numeric | alphabetic | symbolic | additive | [ fixed <integer>? ] | [ extends <counter-style-name> ]\",relevance:50,description:\"@counter-style descriptor. Specifies which algorithm will be used to construct the counter\\u2019s representation based on the counter value.\",restrictions:[\"enum\",\"integer\"]},{name:\"symbols\",browsers:[\"FF33\"],syntax:\"<symbol>+\",relevance:50,description:\"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor.\",restrictions:[\"image\",\"string\",\"identifier\"]},{name:\"table-layout\",values:[{name:\"auto\",description:\"Use any automatic table layout algorithm.\"},{name:\"fixed\",description:\"Use the fixed table layout algorithm.\"}],syntax:\"auto | fixed\",relevance:60,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/table-layout\"}],description:\"Controls the algorithm used to lay out the table cells, rows, and columns.\",restrictions:[\"enum\"]},{name:\"tab-size\",browsers:[\"E79\",\"FF91\",\"S7\",\"C21\",\"O15\"],syntax:\"<integer> | <length>\",relevance:51,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/tab-size\"}],description:\"Determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.\",restrictions:[\"integer\",\"length\"]},{name:\"text-align\",values:[{name:\"center\",description:\"The inline contents are centered within the line box.\"},{name:\"end\",description:\"The inline contents are aligned to the end edge of the line box.\"},{name:\"justify\",description:\"The text is justified according to the method specified by the 'text-justify' property.\"},{name:\"left\",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.\"},{name:\"right\",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.\"},{name:\"start\",description:\"The inline contents are aligned to the start edge of the line box.\"}],syntax:\"start | end | left | right | center | justify | match-parent\",relevance:94,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-align\"}],description:\"Describes how inline contents of a block are horizontally aligned if the contents do not completely fill the line box.\",restrictions:[\"string\"]},{name:\"text-align-last\",browsers:[\"E12\",\"FF49\",\"C47\",\"IE5.5\",\"O34\"],values:[{name:\"auto\",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'.\"},{name:\"center\",description:\"The inline contents are centered within the line box.\"},{name:\"justify\",description:\"The text is justified according to the method specified by the 'text-justify' property.\"},{name:\"left\",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.\"},{name:\"right\",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.\"}],syntax:\"auto | start | end | left | right | center | justify\",relevance:51,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-align-last\"}],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'.\",restrictions:[\"enum\"]},{name:\"text-anchor\",values:[{name:\"end\",description:\"The rendered characters are aligned such that the end of the resulting rendered text is at the initial current text position.\"},{name:\"middle\",description:\"The rendered characters are aligned such that the geometric middle of the resulting rendered text is at the initial current text position.\"},{name:\"start\",description:\"The rendered characters are aligned such that the start of the resulting rendered text is at the initial current text position.\"}],relevance:50,description:\"Used to align (start-, middle- or end-alignment) a string of text relative to a given point.\",restrictions:[\"enum\"]},{name:\"text-decoration\",values:[{name:\"dashed\",description:\"Produces a dashed line style.\"},{name:\"dotted\",description:\"Produces a dotted line.\"},{name:\"double\",description:\"Produces a double line.\"},{name:\"line-through\",description:\"Each line of text has a line through the middle.\"},{name:\"none\",description:\"Produces no line.\"},{name:\"overline\",description:\"Each line of text has a line above it.\"},{name:\"solid\",description:\"Produces a solid line.\"},{name:\"underline\",description:\"Each line of text is underlined.\"},{name:\"wavy\",description:\"Produces a wavy line.\"}],syntax:\"<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'> || <'text-decoration-thickness'>\",relevance:92,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-decoration\"}],description:\"Decorations applied to font used for an element's text.\",restrictions:[\"enum\",\"color\"]},{name:\"text-decoration-color\",browsers:[\"E79\",\"FF36\",\"S12.1\",\"C57\",\"O44\"],syntax:\"<color>\",relevance:52,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-decoration-color\"}],description:\"Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.\",restrictions:[\"color\"]},{name:\"text-decoration-line\",browsers:[\"E79\",\"FF36\",\"S12.1\",\"C57\",\"O44\"],values:[{name:\"line-through\",description:\"Each line of text has a line through the middle.\"},{name:\"none\",description:\"Neither produces nor inhibits text decoration.\"},{name:\"overline\",description:\"Each line of text has a line above it.\"},{name:\"underline\",description:\"Each line of text is underlined.\"}],syntax:\"none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error\",relevance:51,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-decoration-line\"}],description:\"Specifies what line decorations, if any, are added to the element.\",restrictions:[\"enum\"]},{name:\"text-decoration-style\",browsers:[\"E79\",\"FF36\",\"S12.1\",\"C57\",\"O44\"],values:[{name:\"dashed\",description:\"Produces a dashed line style.\"},{name:\"dotted\",description:\"Produces a dotted line.\"},{name:\"double\",description:\"Produces a double line.\"},{name:\"none\",description:\"Produces no line.\"},{name:\"solid\",description:\"Produces a solid line.\"},{name:\"wavy\",description:\"Produces a wavy line.\"}],syntax:\"solid | double | dotted | dashed | wavy\",relevance:51,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-decoration-style\"}],description:\"Specifies the line style for underline, line-through and overline text decoration.\",restrictions:[\"enum\"]},{name:\"text-indent\",values:[],syntax:\"<length-percentage> && hanging? && each-line?\",relevance:68,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-indent\"}],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.\",restrictions:[\"percentage\",\"length\"]},{name:\"text-justify\",browsers:[\"E12\",\"FF55\",\"C32\",\"IE11\",\"O19\"],values:[{name:\"auto\",description:\"The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality.\"},{name:\"distribute\",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.\"},{name:\"distribute-all-lines\"},{name:\"inter-cluster\",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.\"},{name:\"inter-ideograph\",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.\"},{name:\"inter-word\",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.\"},{name:\"kashida\",description:\"Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation.\"},{name:\"newspaper\"}],syntax:\"auto | inter-character | inter-word | none\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-justify\"}],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.\",restrictions:[\"enum\"]},{name:\"text-orientation\",browsers:[\"E79\",\"FF41\",\"S14\",\"C48\",\"O35\"],values:[{name:\"sideways\",browsers:[\"E79\",\"FF41\",\"S14\",\"C48\",\"O35\"],description:\"This value is equivalent to 'sideways-right' in 'vertical-rl' writing mode and equivalent to 'sideways-left' in 'vertical-lr' writing mode.\"},{name:\"sideways-right\",browsers:[\"E79\",\"FF41\",\"S14\",\"C48\",\"O35\"],description:\"In vertical writing modes, this causes text to be set as if in a horizontal layout, but rotated 90\\xB0 clockwise.\"},{name:\"upright\",description:\"In vertical writing modes, characters from horizontal-only scripts are rendered upright, i.e. in their standard horizontal orientation.\"}],syntax:\"mixed | upright | sideways\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-orientation\"}],description:\"Specifies the orientation of text within a line.\",restrictions:[\"enum\"]},{name:\"text-overflow\",values:[{name:\"clip\",description:\"Clip inline content that overflows. Characters may be only partially rendered.\"},{name:\"ellipsis\",description:\"Render an ellipsis character (U+2026) to represent clipped inline content.\"}],syntax:\"[ clip | ellipsis | <string> ]{1,2}\",relevance:82,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-overflow\"}],description:\"Text can overflow for example when it is prevented from wrapping.\",restrictions:[\"enum\",\"string\"]},{name:\"text-rendering\",browsers:[\"E79\",\"FF1\",\"S5\",\"C4\",\"O15\"],values:[{name:\"auto\"},{name:\"geometricPrecision\",description:\"Indicates that the user agent shall emphasize geometric precision over legibility and rendering speed.\"},{name:\"optimizeLegibility\",description:\"Indicates that the user agent shall emphasize legibility over rendering speed and geometric precision.\"},{name:\"optimizeSpeed\",description:\"Indicates that the user agent shall emphasize rendering speed over legibility and geometric precision.\"}],syntax:\"auto | optimizeSpeed | optimizeLegibility | geometricPrecision\",relevance:68,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-rendering\"}],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.\",restrictions:[\"enum\"]},{name:\"text-shadow\",values:[{name:\"none\",description:\"No shadow.\"}],syntax:\"none | <shadow-t>#\",relevance:75,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-shadow\"}],description:\"Enables shadow effects to be applied to the text of the element.\",restrictions:[\"length\",\"color\"]},{name:\"text-transform\",values:[{name:\"capitalize\",description:\"Puts the first typographic letter unit of each word in titlecase.\"},{name:\"lowercase\",description:\"Puts all letters in lowercase.\"},{name:\"none\",description:\"No effects.\"},{name:\"uppercase\",description:\"Puts all letters in uppercase.\"}],syntax:\"none | capitalize | uppercase | lowercase | full-width | full-size-kana\",relevance:86,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-transform\"}],description:\"Controls capitalization effects of an element\\u2019s text.\",restrictions:[\"enum\"]},{name:\"text-underline-position\",values:[{name:\"above\"},{name:\"auto\",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.\"},{name:\"below\",description:\"The underline is aligned with the under edge of the element\\u2019s content box.\"}],syntax:\"auto | from-font | [ under || [ left | right ] ]\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-underline-position\"}],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\",restrictions:[\"enum\"]},{name:\"top\",values:[{name:\"auto\",description:\"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well\"}],syntax:\"<length> | <percentage> | auto\",relevance:95,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/top\"}],description:\"Specifies how far an absolutely positioned box's top margin edge is offset below the top edge of the box's 'containing block'.\",restrictions:[\"length\",\"percentage\"]},{name:\"touch-action\",values:[{name:\"auto\",description:\"The user agent may determine any permitted touch behaviors for touches that begin on the element.\"},{name:\"cross-slide-x\"},{name:\"cross-slide-y\"},{name:\"double-tap-zoom\"},{name:\"manipulation\",description:\"The user agent may consider touches that begin on the element only for the purposes of scrolling and continuous zooming.\"},{name:\"none\",description:\"Touches that begin on the element must not trigger default touch behaviors.\"},{name:\"pan-x\",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.\"},{name:\"pan-y\",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.\"},{name:\"pinch-zoom\"}],syntax:\"auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation\",relevance:68,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/touch-action\"}],description:\"Determines whether touch input may trigger default behavior supplied by user agent.\",restrictions:[\"enum\"]},{name:\"transform\",values:[{name:\"matrix()\",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]\"},{name:\"matrix3d()\",description:\"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order.\"},{name:\"none\"},{name:\"perspective()\",description:\"Specifies a perspective projection matrix.\"},{name:\"rotate()\",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.\"},{name:\"rotate3d()\",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.\"},{name:\"rotateX('angle')\",description:\"Specifies a clockwise rotation by the given angle about the X axis.\"},{name:\"rotateY('angle')\",description:\"Specifies a clockwise rotation by the given angle about the Y axis.\"},{name:\"rotateZ('angle')\",description:\"Specifies a clockwise rotation by the given angle about the Z axis.\"},{name:\"scale()\",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.\"},{name:\"scale3d()\",description:\"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters.\"},{name:\"scaleX()\",description:\"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter.\"},{name:\"scaleY()\",description:\"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter.\"},{name:\"scaleZ()\",description:\"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter.\"},{name:\"skew()\",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).\"},{name:\"skewX()\",description:\"Specifies a skew transformation along the X axis by the given angle.\"},{name:\"skewY()\",description:\"Specifies a skew transformation along the Y axis by the given angle.\"},{name:\"translate()\",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.\"},{name:\"translate3d()\",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.\"},{name:\"translateX()\",description:\"Specifies a translation by the given amount in the X direction.\"},{name:\"translateY()\",description:\"Specifies a translation by the given amount in the Y direction.\"},{name:\"translateZ()\",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.\"}],syntax:\"none | <transform-list>\",relevance:91,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/transform\"}],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.\",restrictions:[\"enum\"]},{name:\"transform-origin\",syntax:\"[ <length-percentage> | left | center | right | top | bottom ] | [ [ <length-percentage> | left | center | right ] && [ <length-percentage> | top | center | bottom ] ] <length>?\",relevance:77,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/transform-origin\"}],description:\"Establishes the origin of transformation for an element.\",restrictions:[\"position\",\"length\",\"percentage\"]},{name:\"transform-style\",browsers:[\"E12\",\"FF16\",\"S9\",\"C36\",\"O23\"],values:[{name:\"flat\",description:\"All children of this element are rendered flattened into the 2D plane of the element.\"},{name:\"preserve-3d\",browsers:[\"E12\",\"FF16\",\"S9\",\"C36\",\"O23\"],description:\"Flattening is not performed, so children maintain their position in 3D space.\"}],syntax:\"flat | preserve-3d\",relevance:55,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/transform-style\"}],description:\"Defines how nested elements are rendered in 3D space.\",restrictions:[\"enum\"]},{name:\"transition\",values:[{name:\"all\",description:\"Every property that is able to undergo a transition will do so.\"},{name:\"none\",description:\"No property will transition.\"}],syntax:\"<single-transition>#\",relevance:89,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/transition\"}],description:\"Shorthand property combines four of the transition properties into a single property.\",restrictions:[\"time\",\"property\",\"timing-function\",\"enum\"]},{name:\"transition-delay\",syntax:\"<time>#\",relevance:63,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/transition-delay\"}],description:\"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.\",restrictions:[\"time\"]},{name:\"transition-duration\",syntax:\"<time>#\",relevance:63,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/transition-duration\"}],description:\"Specifies how long the transition from the old value to the new value should take.\",restrictions:[\"time\"]},{name:\"transition-property\",values:[{name:\"all\",description:\"Every property that is able to undergo a transition will do so.\"},{name:\"none\",description:\"No property will transition.\"}],syntax:\"none | <single-transition-property>#\",relevance:64,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/transition-property\"}],description:\"Specifies the name of the CSS property to which the transition is applied.\",restrictions:[\"property\"]},{name:\"transition-timing-function\",syntax:\"<easing-function>#\",relevance:64,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/transition-timing-function\"}],description:\"Describes how the intermediate values used during a transition will be calculated.\",restrictions:[\"timing-function\"]},{name:\"unicode-bidi\",values:[{name:\"bidi-override\",description:\"Inside the element, reordering is strictly in sequence according to the 'direction' property; the implicit part of the bidirectional algorithm is ignored.\"},{name:\"embed\",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.\"},{name:\"isolate\",description:\"The contents of the element are considered to be inside a separate, independent paragraph.\"},{name:\"isolate-override\",description:\"This combines the isolation behavior of 'isolate' with the directional override behavior of 'bidi-override'\"},{name:\"normal\",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.\"},{name:\"plaintext\",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'.\"}],syntax:\"normal | embed | isolate | bidi-override | isolate-override | plaintext\",relevance:57,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/unicode-bidi\"}],description:\"The level of embedding with respect to the bidirectional algorithm.\",restrictions:[\"enum\"]},{name:\"unicode-range\",values:[{name:\"U+26\",description:\"Ampersand.\"},{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\",description:\"WGL4 character set (Pan-European).\"},{name:\"U+20-17F, U+2B0-2FF, U+2000-206F, U+20A0-20CF, U+2100-21FF, U+2600-26FF\",description:\"The Multilingual European Subset No. 1. Latin. Covers ~44 languages.\"},{name:\"U+20-2FF, U+370-4FF, U+1E00-20CF, U+2100-23FF, U+2500-26FF, U+FB00-FB4F, U+FFF0-FFFD\",description:\"The Multilingual European Subset No. 2. Latin, Greek, and Cyrillic. Covers ~128 language.\"},{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\",description:\"The Multilingual European Subset No. 3. Covers all characters belonging to European scripts.\"},{name:\"U+00-7F\",description:\"Basic Latin (ASCII).\"},{name:\"U+80-FF\",description:\"Latin-1 Supplement. Accented characters for Western European languages, common punctuation characters, multiplication and division signs.\"},{name:\"U+100-17F\",description:\"Latin Extended-A. Accented characters for for Czech, Dutch, Polish, and Turkish.\"},{name:\"U+180-24F\",description:\"Latin Extended-B. Croatian, Slovenian, Romanian, Non-European and historic latin, Khoisan, Pinyin, Livonian, Sinology.\"},{name:\"U+1E00-1EFF\",description:\"Latin Extended Additional. Vietnamese, German captial sharp s, Medievalist, Latin general use.\"},{name:\"U+250-2AF\",description:\"International Phonetic Alphabet Extensions.\"},{name:\"U+370-3FF\",description:\"Greek and Coptic.\"},{name:\"U+1F00-1FFF\",description:\"Greek Extended. Accented characters for polytonic Greek.\"},{name:\"U+400-4FF\",description:\"Cyrillic.\"},{name:\"U+500-52F\",description:\"Cyrillic Supplement. Extra letters for Komi, Khanty, Chukchi, Mordvin, Kurdish, Aleut, Chuvash, Abkhaz, Azerbaijani, and Orok.\"},{name:\"U+00-52F, U+1E00-1FFF, U+2200\\u201322FF\",description:\"Latin, Greek, Cyrillic, some punctuation and symbols.\"},{name:\"U+530\\u201358F\",description:\"Armenian.\"},{name:\"U+590\\u20135FF\",description:\"Hebrew.\"},{name:\"U+600\\u20136FF\",description:\"Arabic.\"},{name:\"U+750\\u201377F\",description:\"Arabic Supplement. Additional letters for African languages, Khowar, Torwali, Burushaski, and early Persian.\"},{name:\"U+8A0\\u20138FF\",description:\"Arabic Extended-A. Additional letters for African languages, European and Central Asian languages, Rohingya, Tamazight, Arwi, and Koranic annotation signs.\"},{name:\"U+700\\u201374F\",description:\"Syriac.\"},{name:\"U+900\\u201397F\",description:\"Devanagari.\"},{name:\"U+980\\u20139FF\",description:\"Bengali.\"},{name:\"U+A00\\u2013A7F\",description:\"Gurmukhi.\"},{name:\"U+A80\\u2013AFF\",description:\"Gujarati.\"},{name:\"U+B00\\u2013B7F\",description:\"Oriya.\"},{name:\"U+B80\\u2013BFF\",description:\"Tamil.\"},{name:\"U+C00\\u2013C7F\",description:\"Telugu.\"},{name:\"U+C80\\u2013CFF\",description:\"Kannada.\"},{name:\"U+D00\\u2013D7F\",description:\"Malayalam.\"},{name:\"U+D80\\u2013DFF\",description:\"Sinhala.\"},{name:\"U+118A0\\u2013118FF\",description:\"Warang Citi.\"},{name:\"U+E00\\u2013E7F\",description:\"Thai.\"},{name:\"U+1A20\\u20131AAF\",description:\"Tai Tham.\"},{name:\"U+AA80\\u2013AADF\",description:\"Tai Viet.\"},{name:\"U+E80\\u2013EFF\",description:\"Lao.\"},{name:\"U+F00\\u2013FFF\",description:\"Tibetan.\"},{name:\"U+1000\\u2013109F\",description:\"Myanmar (Burmese).\"},{name:\"U+10A0\\u201310FF\",description:\"Georgian.\"},{name:\"U+1200\\u2013137F\",description:\"Ethiopic.\"},{name:\"U+1380\\u2013139F\",description:\"Ethiopic Supplement. Extra Syllables for Sebatbeit, and Tonal marks\"},{name:\"U+2D80\\u20132DDF\",description:\"Ethiopic Extended. Extra Syllables for Me'en, Blin, and Sebatbeit.\"},{name:\"U+AB00\\u2013AB2F\",description:\"Ethiopic Extended-A. Extra characters for Gamo-Gofa-Dawro, Basketo, and Gumuz.\"},{name:\"U+1780\\u201317FF\",description:\"Khmer.\"},{name:\"U+1800\\u201318AF\",description:\"Mongolian.\"},{name:\"U+1B80\\u20131BBF\",description:\"Sundanese.\"},{name:\"U+1CC0\\u20131CCF\",description:\"Sundanese Supplement. Punctuation.\"},{name:\"U+4E00\\u20139FD5\",description:\"CJK (Chinese, Japanese, Korean) Unified Ideographs. Most common ideographs for modern Chinese and Japanese.\"},{name:\"U+3400\\u20134DB5\",description:\"CJK Unified Ideographs Extension A. Rare ideographs.\"},{name:\"U+2F00\\u20132FDF\",description:\"Kangxi Radicals.\"},{name:\"U+2E80\\u20132EFF\",description:\"CJK Radicals Supplement. Alternative forms of Kangxi Radicals.\"},{name:\"U+1100\\u201311FF\",description:\"Hangul Jamo.\"},{name:\"U+AC00\\u2013D7AF\",description:\"Hangul Syllables.\"},{name:\"U+3040\\u2013309F\",description:\"Hiragana.\"},{name:\"U+30A0\\u201330FF\",description:\"Katakana.\"},{name:\"U+A5, U+4E00-9FFF, U+30??, U+FF00-FF9F\",description:\"Japanese Kanji, Hiragana and Katakana characters plus Yen/Yuan symbol.\"},{name:\"U+A4D0\\u2013A4FF\",description:\"Lisu.\"},{name:\"U+A000\\u2013A48F\",description:\"Yi Syllables.\"},{name:\"U+A490\\u2013A4CF\",description:\"Yi Radicals.\"},{name:\"U+2000-206F\",description:\"General Punctuation.\"},{name:\"U+3000\\u2013303F\",description:\"CJK Symbols and Punctuation.\"},{name:\"U+2070\\u2013209F\",description:\"Superscripts and Subscripts.\"},{name:\"U+20A0\\u201320CF\",description:\"Currency Symbols.\"},{name:\"U+2100\\u2013214F\",description:\"Letterlike Symbols.\"},{name:\"U+2150\\u2013218F\",description:\"Number Forms.\"},{name:\"U+2190\\u201321FF\",description:\"Arrows.\"},{name:\"U+2200\\u201322FF\",description:\"Mathematical Operators.\"},{name:\"U+2300\\u201323FF\",description:\"Miscellaneous Technical.\"},{name:\"U+E000-F8FF\",description:\"Private Use Area.\"},{name:\"U+FB00\\u2013FB4F\",description:\"Alphabetic Presentation Forms. Ligatures for latin, Armenian, and Hebrew.\"},{name:\"U+FB50\\u2013FDFF\",description:\"Arabic Presentation Forms-A. Contextual forms / ligatures for Persian, Urdu, Sindhi, Central Asian languages, etc, Arabic pedagogical symbols, word ligatures.\"},{name:\"U+1F600\\u20131F64F\",description:\"Emoji: Emoticons.\"},{name:\"U+2600\\u201326FF\",description:\"Emoji: Miscellaneous Symbols.\"},{name:\"U+1F300\\u20131F5FF\",description:\"Emoji: Miscellaneous Symbols and Pictographs.\"},{name:\"U+1F900\\u20131F9FF\",description:\"Emoji: Supplemental Symbols and Pictographs.\"},{name:\"U+1F680\\u20131F6FF\",description:\"Emoji: Transport and Map Symbols.\"}],syntax:\"<unicode-range>#\",relevance:73,description:\"@font-face descriptor. Defines the set of Unicode codepoints that may be supported by the font face for which it is declared.\",restrictions:[\"unicode-range\"]},{name:\"user-select\",values:[{name:\"all\",description:\"The content of the element must be selected atomically\"},{name:\"auto\"},{name:\"contain\",description:\"UAs must not allow a selection which is started in this element to be extended outside of this element.\"},{name:\"none\",description:\"The UA must not allow selections to be started in this element.\"},{name:\"text\",description:\"The element imposes no constraint on the selection.\"}],syntax:\"auto | text | none | contain | all\",relevance:78,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/user-select\"}],description:\"Controls the appearance of selection.\",restrictions:[\"enum\"]},{name:\"vertical-align\",values:[{name:\"auto\",description:\"Align the dominant baseline of the parent box with the equivalent, or heuristically reconstructed, baseline of the element inline box.\"},{name:\"baseline\",description:\"Align the 'alphabetic' baseline of the element with the 'alphabetic' baseline of the parent element.\"},{name:\"bottom\",description:\"Align the after edge of the extended inline box with the after-edge of the line box.\"},{name:\"middle\",description:\"Align the 'middle' baseline of the inline element with the middle baseline of the parent.\"},{name:\"sub\",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.)\"},{name:\"super\",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.)\"},{name:\"text-bottom\",description:\"Align the bottom of the box with the after-edge of the parent element's font.\"},{name:\"text-top\",description:\"Align the top of the box with the before-edge of the parent element's font.\"},{name:\"top\",description:\"Align the before edge of the extended inline box with the before-edge of the line box.\"},{name:\"-webkit-baseline-middle\"}],syntax:\"baseline | sub | super | text-top | text-bottom | middle | top | bottom | <percentage> | <length>\",relevance:92,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/vertical-align\"}],description:\"Affects the vertical positioning of the inline boxes generated by an inline-level element inside a line box.\",restrictions:[\"percentage\",\"length\"]},{name:\"visibility\",values:[{name:\"collapse\",description:\"Table-specific. If used on elements other than rows, row groups, columns, or column groups, 'collapse' has the same meaning as 'hidden'.\"},{name:\"hidden\",description:\"The generated box is invisible (fully transparent, nothing is drawn), but still affects layout.\"},{name:\"visible\",description:\"The generated box is visible.\"}],syntax:\"visible | hidden | collapse\",relevance:88,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/visibility\"}],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).\",restrictions:[\"enum\"]},{name:\"-webkit-animation\",browsers:[\"C\",\"S5\"],values:[{name:\"alternate\",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.\"},{name:\"alternate-reverse\",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.\"},{name:\"backwards\",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'.\"},{name:\"both\",description:\"Both forwards and backwards fill modes are applied.\"},{name:\"forwards\",description:\"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes.\"},{name:\"infinite\",description:\"Causes the animation to repeat forever.\"},{name:\"none\",description:\"No animation is performed\"},{name:\"normal\",description:\"Normal playback.\"},{name:\"reverse\",description:\"All iterations of the animation are played in the reverse direction from the way they were specified.\"}],relevance:50,description:\"Shorthand property combines six of the animation properties into a single property.\",restrictions:[\"time\",\"enum\",\"timing-function\",\"identifier\",\"number\"]},{name:\"-webkit-animation-delay\",browsers:[\"C\",\"S5\"],relevance:50,description:\"Defines when the animation will start.\",restrictions:[\"time\"]},{name:\"-webkit-animation-direction\",browsers:[\"C\",\"S5\"],values:[{name:\"alternate\",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.\"},{name:\"alternate-reverse\",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.\"},{name:\"normal\",description:\"Normal playback.\"},{name:\"reverse\",description:\"All iterations of the animation are played in the reverse direction from the way they were specified.\"}],relevance:50,description:\"Defines whether or not the animation should play in reverse on alternate cycles.\",restrictions:[\"enum\"]},{name:\"-webkit-animation-duration\",browsers:[\"C\",\"S5\"],relevance:50,description:\"Defines the length of time that an animation takes to complete one cycle.\",restrictions:[\"time\"]},{name:\"-webkit-animation-fill-mode\",browsers:[\"C\",\"S5\"],values:[{name:\"backwards\",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'.\"},{name:\"both\",description:\"Both forwards and backwards fill modes are applied.\"},{name:\"forwards\",description:\"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes.\"},{name:\"none\",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.\"}],relevance:50,description:\"Defines what values are applied by the animation outside the time it is executing.\",restrictions:[\"enum\"]},{name:\"-webkit-animation-iteration-count\",browsers:[\"C\",\"S5\"],values:[{name:\"infinite\",description:\"Causes the animation to repeat forever.\"}],relevance:50,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.\",restrictions:[\"number\",\"enum\"]},{name:\"-webkit-animation-name\",browsers:[\"C\",\"S5\"],values:[{name:\"none\",description:\"No animation is performed\"}],relevance:50,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.\",restrictions:[\"identifier\",\"enum\"]},{name:\"-webkit-animation-play-state\",browsers:[\"C\",\"S5\"],values:[{name:\"paused\",description:\"A running animation will be paused.\"},{name:\"running\",description:\"Resume playback of a paused animation.\"}],relevance:50,description:\"Defines whether the animation is running or paused.\",restrictions:[\"enum\"]},{name:\"-webkit-animation-timing-function\",browsers:[\"C\",\"S5\"],relevance:50,description:\"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.\",restrictions:[\"timing-function\"]},{name:\"-webkit-appearance\",browsers:[\"C\",\"S3\"],values:[{name:\"button\"},{name:\"button-bevel\"},{name:\"caps-lock-indicator\"},{name:\"caret\"},{name:\"checkbox\"},{name:\"default-button\"},{name:\"listbox\"},{name:\"listitem\"},{name:\"media-fullscreen-button\"},{name:\"media-mute-button\"},{name:\"media-play-button\"},{name:\"media-seek-back-button\"},{name:\"media-seek-forward-button\"},{name:\"media-slider\"},{name:\"media-sliderthumb\"},{name:\"menulist\"},{name:\"menulist-button\"},{name:\"menulist-text\"},{name:\"menulist-textfield\"},{name:\"none\"},{name:\"push-button\"},{name:\"radio\"},{name:\"scrollbarbutton-down\"},{name:\"scrollbarbutton-left\"},{name:\"scrollbarbutton-right\"},{name:\"scrollbarbutton-up\"},{name:\"scrollbargripper-horizontal\"},{name:\"scrollbargripper-vertical\"},{name:\"scrollbarthumb-horizontal\"},{name:\"scrollbarthumb-vertical\"},{name:\"scrollbartrack-horizontal\"},{name:\"scrollbartrack-vertical\"},{name:\"searchfield\"},{name:\"searchfield-cancel-button\"},{name:\"searchfield-decoration\"},{name:\"searchfield-results-button\"},{name:\"searchfield-results-decoration\"},{name:\"slider-horizontal\"},{name:\"sliderthumb-horizontal\"},{name:\"sliderthumb-vertical\"},{name:\"slider-vertical\"},{name:\"square-button\"},{name:\"textarea\"},{name:\"textfield\"}],status:\"nonstandard\",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\",relevance:0,description:\"Changes the appearance of buttons and other controls to resemble native controls.\",restrictions:[\"enum\"]},{name:\"-webkit-backdrop-filter\",browsers:[\"S9\"],values:[{name:\"none\",description:\"No filter effects are applied.\"},{name:\"blur()\",description:\"Applies a Gaussian blur to the input image.\"},{name:\"brightness()\",description:\"Applies a linear multiplier to input image, making it appear more or less bright.\"},{name:\"contrast()\",description:\"Adjusts the contrast of the input.\"},{name:\"drop-shadow()\",description:\"Applies a drop shadow effect to the input image.\"},{name:\"grayscale()\",description:\"Converts the input image to grayscale.\"},{name:\"hue-rotate()\",description:\"Applies a hue rotation on the input image. \"},{name:\"invert()\",description:\"Inverts the samples in the input image.\"},{name:\"opacity()\",description:\"Applies transparency to the samples in the input image.\"},{name:\"saturate()\",description:\"Saturates the input image.\"},{name:\"sepia()\",description:\"Converts the input image to sepia.\"},{name:\"url()\",description:\"A filter reference to a <filter> element.\"}],relevance:50,description:\"Applies a filter effect where the first filter in the list takes the element's background image as the input image.\",restrictions:[\"enum\",\"url\"]},{name:\"-webkit-backface-visibility\",browsers:[\"C\",\"S5\"],values:[{name:\"hidden\"},{name:\"visible\"}],relevance:50,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.\",restrictions:[\"enum\"]},{name:\"-webkit-background-clip\",browsers:[\"C\",\"S3\"],relevance:50,description:\"Determines the background painting area.\",restrictions:[\"box\"]},{name:\"-webkit-background-composite\",browsers:[\"C\",\"S3\"],values:[{name:\"border\"},{name:\"padding\"}],relevance:50,restrictions:[\"enum\"]},{name:\"-webkit-background-origin\",browsers:[\"C\",\"S3\"],relevance:50,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).\",restrictions:[\"box\"]},{name:\"-webkit-border-image\",browsers:[\"C\",\"S5\"],values:[{name:\"auto\",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.\"},{name:\"fill\",description:\"Causes the middle part of the border-image to be preserved.\"},{name:\"none\"},{name:\"repeat\",description:\"The image is tiled (repeated) to fill the area.\"},{name:\"round\",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.\"},{name:\"space\",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.\"},{name:\"stretch\",description:\"The image is stretched to fill the area.\"},{name:\"url()\"}],relevance:50,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.\",restrictions:[\"length\",\"percentage\",\"number\",\"url\",\"enum\"]},{name:\"-webkit-box-align\",browsers:[\"C\",\"S3\"],values:[{name:\"baseline\",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.\"},{name:\"center\",description:\"Any extra space is divided evenly, with half placed above the child and the other half placed after the child.\"},{name:\"end\",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.\"},{name:\"start\",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.\"},{name:\"stretch\",description:\"The height of each child is adjusted to that of the containing block.\"}],relevance:50,description:\"Specifies the alignment of nested elements within an outer flexible box element.\",restrictions:[\"enum\"]},{name:\"-webkit-box-direction\",browsers:[\"C\",\"S3\"],values:[{name:\"normal\",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.\"},{name:\"reverse\",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.\"}],relevance:50,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).\",restrictions:[\"enum\"]},{name:\"-webkit-box-flex\",browsers:[\"C\",\"S3\"],relevance:50,description:\"Specifies an element's flexibility.\",restrictions:[\"number\"]},{name:\"-webkit-box-flex-group\",browsers:[\"C\",\"S3\"],relevance:50,description:\"Flexible elements can be assigned to flex groups using the 'box-flex-group' property.\",restrictions:[\"integer\"]},{name:\"-webkit-box-ordinal-group\",browsers:[\"C\",\"S3\"],relevance:50,description:\"Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.\",restrictions:[\"integer\"]},{name:\"-webkit-box-orient\",browsers:[\"C\",\"S3\"],values:[{name:\"block-axis\",description:\"Elements are oriented along the box's axis.\"},{name:\"horizontal\",description:\"The box displays its children from left to right in a horizontal line.\"},{name:\"inline-axis\",description:\"Elements are oriented vertically.\"},{name:\"vertical\",description:\"The box displays its children from stacked from top to bottom vertically.\"}],relevance:50,description:\"In webkit applications, -webkit-box-orient specifies whether a box lays out its contents horizontally or vertically.\",restrictions:[\"enum\"]},{name:\"-webkit-box-pack\",browsers:[\"C\",\"S3\"],values:[{name:\"center\",description:\"The extra space is divided evenly, with half placed before the first child and the other half placed after the last child.\"},{name:\"end\",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.\"},{name:\"justify\",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.\"},{name:\"start\",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.\"}],relevance:50,description:\"Specifies alignment of child elements within the current element in the direction of orientation.\",restrictions:[\"enum\"]},{name:\"-webkit-box-reflect\",browsers:[\"E79\",\"S4\",\"C4\",\"O15\"],values:[{name:\"above\",description:\"The reflection appears above the border box.\"},{name:\"below\",description:\"The reflection appears below the border box.\"},{name:\"left\",description:\"The reflection appears to the left of the border box.\"},{name:\"right\",description:\"The reflection appears to the right of the border box.\"}],status:\"nonstandard\",syntax:\"[ above | below | right | left ]? <length>? <image>?\",relevance:0,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-webkit-box-reflect\"}],description:\"Defines a reflection of a border box.\"},{name:\"-webkit-box-sizing\",browsers:[\"C\",\"S3\"],values:[{name:\"border-box\",description:\"The specified width and height (and respective min/max properties) on this element determine the border box of the element.\"},{name:\"content-box\",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.\"}],relevance:50,description:\"Box Model addition in CSS3.\",restrictions:[\"enum\"]},{name:\"-webkit-break-after\",browsers:[\"S7\"],values:[{name:\"always\",description:\"Always force a page break before/after the generated box.\"},{name:\"auto\",description:\"Neither force nor forbid a page/column break before/after the generated box.\"},{name:\"avoid\",description:\"Avoid a page/column break before/after the generated box.\"},{name:\"avoid-column\",description:\"Avoid a column break before/after the generated box.\"},{name:\"avoid-page\",description:\"Avoid a page break before/after the generated box.\"},{name:\"avoid-region\"},{name:\"column\",description:\"Always force a column break before/after the generated box.\"},{name:\"left\",description:\"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page.\"},{name:\"page\",description:\"Always force a page break before/after the generated box.\"},{name:\"region\"},{name:\"right\",description:\"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page.\"}],relevance:50,description:\"Describes the page/column break behavior before the generated box.\",restrictions:[\"enum\"]},{name:\"-webkit-break-before\",browsers:[\"S7\"],values:[{name:\"always\",description:\"Always force a page break before/after the generated box.\"},{name:\"auto\",description:\"Neither force nor forbid a page/column break before/after the generated box.\"},{name:\"avoid\",description:\"Avoid a page/column break before/after the generated box.\"},{name:\"avoid-column\",description:\"Avoid a column break before/after the generated box.\"},{name:\"avoid-page\",description:\"Avoid a page break before/after the generated box.\"},{name:\"avoid-region\"},{name:\"column\",description:\"Always force a column break before/after the generated box.\"},{name:\"left\",description:\"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page.\"},{name:\"page\",description:\"Always force a page break before/after the generated box.\"},{name:\"region\"},{name:\"right\",description:\"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page.\"}],relevance:50,description:\"Describes the page/column break behavior before the generated box.\",restrictions:[\"enum\"]},{name:\"-webkit-break-inside\",browsers:[\"S7\"],values:[{name:\"auto\",description:\"Neither force nor forbid a page/column break inside the generated box.\"},{name:\"avoid\",description:\"Avoid a page/column break inside the generated box.\"},{name:\"avoid-column\",description:\"Avoid a column break inside the generated box.\"},{name:\"avoid-page\",description:\"Avoid a page break inside the generated box.\"},{name:\"avoid-region\"}],relevance:50,description:\"Describes the page/column break behavior inside the generated box.\",restrictions:[\"enum\"]},{name:\"-webkit-column-break-after\",browsers:[\"C\",\"S3\"],values:[{name:\"always\",description:\"Always force a page break before/after the generated box.\"},{name:\"auto\",description:\"Neither force nor forbid a page/column break before/after the generated box.\"},{name:\"avoid\",description:\"Avoid a page/column break before/after the generated box.\"},{name:\"avoid-column\",description:\"Avoid a column break before/after the generated box.\"},{name:\"avoid-page\",description:\"Avoid a page break before/after the generated box.\"},{name:\"avoid-region\"},{name:\"column\",description:\"Always force a column break before/after the generated box.\"},{name:\"left\",description:\"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page.\"},{name:\"page\",description:\"Always force a page break before/after the generated box.\"},{name:\"region\"},{name:\"right\",description:\"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page.\"}],relevance:50,description:\"Describes the page/column break behavior before the generated box.\",restrictions:[\"enum\"]},{name:\"-webkit-column-break-before\",browsers:[\"C\",\"S3\"],values:[{name:\"always\",description:\"Always force a page break before/after the generated box.\"},{name:\"auto\",description:\"Neither force nor forbid a page/column break before/after the generated box.\"},{name:\"avoid\",description:\"Avoid a page/column break before/after the generated box.\"},{name:\"avoid-column\",description:\"Avoid a column break before/after the generated box.\"},{name:\"avoid-page\",description:\"Avoid a page break before/after the generated box.\"},{name:\"avoid-region\"},{name:\"column\",description:\"Always force a column break before/after the generated box.\"},{name:\"left\",description:\"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page.\"},{name:\"page\",description:\"Always force a page break before/after the generated box.\"},{name:\"region\"},{name:\"right\",description:\"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page.\"}],relevance:50,description:\"Describes the page/column break behavior before the generated box.\",restrictions:[\"enum\"]},{name:\"-webkit-column-break-inside\",browsers:[\"C\",\"S3\"],values:[{name:\"auto\",description:\"Neither force nor forbid a page/column break inside the generated box.\"},{name:\"avoid\",description:\"Avoid a page/column break inside the generated box.\"},{name:\"avoid-column\",description:\"Avoid a column break inside the generated box.\"},{name:\"avoid-page\",description:\"Avoid a page break inside the generated box.\"},{name:\"avoid-region\"}],relevance:50,description:\"Describes the page/column break behavior inside the generated box.\",restrictions:[\"enum\"]},{name:\"-webkit-column-count\",browsers:[\"C\",\"S3\"],values:[{name:\"auto\",description:\"Determines the number of columns by the 'column-width' property and the element width.\"}],relevance:50,description:\"Describes the optimal number of columns into which the content of the element will be flowed.\",restrictions:[\"integer\"]},{name:\"-webkit-column-gap\",browsers:[\"C\",\"S3\"],values:[{name:\"normal\",description:\"User agent specific and typically equivalent to 1em.\"}],relevance:50,description:\"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.\",restrictions:[\"length\"]},{name:\"-webkit-column-rule\",browsers:[\"C\",\"S3\"],relevance:50,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.\",restrictions:[\"length\",\"line-width\",\"line-style\",\"color\"]},{name:\"-webkit-column-rule-color\",browsers:[\"C\",\"S3\"],relevance:50,description:\"Sets the color of the column rule\",restrictions:[\"color\"]},{name:\"-webkit-column-rule-style\",browsers:[\"C\",\"S3\"],relevance:50,description:\"Sets the style of the rule between columns of an element.\",restrictions:[\"line-style\"]},{name:\"-webkit-column-rule-width\",browsers:[\"C\",\"S3\"],relevance:50,description:\"Sets the width of the rule between columns. Negative values are not allowed.\",restrictions:[\"length\",\"line-width\"]},{name:\"-webkit-columns\",browsers:[\"C\",\"S3\"],values:[{name:\"auto\",description:\"The width depends on the values of other properties.\"}],relevance:50,description:\"A shorthand property which sets both 'column-width' and 'column-count'.\",restrictions:[\"length\",\"integer\"]},{name:\"-webkit-column-span\",browsers:[\"C\",\"S3\"],values:[{name:\"all\",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.\"},{name:\"none\",description:\"The element does not span multiple columns.\"}],relevance:50,description:\"Describes the page/column break behavior after the generated box.\",restrictions:[\"enum\"]},{name:\"-webkit-column-width\",browsers:[\"C\",\"S3\"],values:[{name:\"auto\",description:\"The width depends on the values of other properties.\"}],relevance:50,description:\"This property describes the width of columns in multicol elements.\",restrictions:[\"length\"]},{name:\"-webkit-filter\",browsers:[\"C18\",\"O15\",\"S6\"],values:[{name:\"none\",description:\"No filter effects are applied.\"},{name:\"blur()\",description:\"Applies a Gaussian blur to the input image.\"},{name:\"brightness()\",description:\"Applies a linear multiplier to input image, making it appear more or less bright.\"},{name:\"contrast()\",description:\"Adjusts the contrast of the input.\"},{name:\"drop-shadow()\",description:\"Applies a drop shadow effect to the input image.\"},{name:\"grayscale()\",description:\"Converts the input image to grayscale.\"},{name:\"hue-rotate()\",description:\"Applies a hue rotation on the input image. \"},{name:\"invert()\",description:\"Inverts the samples in the input image.\"},{name:\"opacity()\",description:\"Applies transparency to the samples in the input image.\"},{name:\"saturate()\",description:\"Saturates the input image.\"},{name:\"sepia()\",description:\"Converts the input image to sepia.\"},{name:\"url()\",description:\"A filter reference to a <filter> element.\"}],relevance:50,description:\"Processes an element\\u2019s rendering before it is displayed in the document, by applying one or more filter effects.\",restrictions:[\"enum\",\"url\"]},{name:\"-webkit-flow-from\",browsers:[\"S6.1\"],values:[{name:\"none\",description:\"The block container is not a CSS Region.\"}],relevance:50,description:\"Makes a block container a region and associates it with a named flow.\",restrictions:[\"identifier\"]},{name:\"-webkit-flow-into\",browsers:[\"S6.1\"],values:[{name:\"none\",description:\"The element is not moved to a named flow and normal CSS processing takes place.\"}],relevance:50,description:\"Places an element or its contents into a named flow.\",restrictions:[\"identifier\"]},{name:\"-webkit-font-feature-settings\",browsers:[\"C16\"],values:[{name:'\"c2cs\"'},{name:'\"dlig\"'},{name:'\"kern\"'},{name:'\"liga\"'},{name:'\"lnum\"'},{name:'\"onum\"'},{name:'\"smcp\"'},{name:'\"swsh\"'},{name:'\"tnum\"'},{name:\"normal\",description:\"No change in glyph substitution or positioning occurs.\"},{name:\"off\"},{name:\"on\"}],relevance:50,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.\",restrictions:[\"string\",\"integer\"]},{name:\"-webkit-hyphens\",browsers:[\"S5.1\"],values:[{name:\"auto\",description:\"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word.\"},{name:\"manual\",description:\"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities\"},{name:\"none\",description:\"Words are not broken at line breaks, even if characters inside the word suggest line break points.\"}],relevance:50,description:\"Controls whether hyphenation is allowed to create more break opportunities within a line of text.\",restrictions:[\"enum\"]},{name:\"-webkit-line-break\",browsers:[\"C\",\"S3\"],values:[{name:\"after-white-space\"},{name:\"normal\"}],relevance:50,description:\"Specifies line-breaking rules for CJK (Chinese, Japanese, and Korean) text.\"},{name:\"-webkit-margin-bottom-collapse\",browsers:[\"C\",\"S3\"],values:[{name:\"collapse\"},{name:\"discard\"},{name:\"separate\"}],relevance:50,restrictions:[\"enum\"]},{name:\"-webkit-margin-collapse\",browsers:[\"C\",\"S3\"],values:[{name:\"collapse\"},{name:\"discard\"},{name:\"separate\"}],relevance:50,restrictions:[\"enum\"]},{name:\"-webkit-margin-start\",browsers:[\"C\",\"S3\"],values:[{name:\"auto\"}],relevance:50,restrictions:[\"percentage\",\"length\"]},{name:\"-webkit-margin-top-collapse\",browsers:[\"C\",\"S3\"],values:[{name:\"collapse\"},{name:\"discard\"},{name:\"separate\"}],relevance:50,restrictions:[\"enum\"]},{name:\"-webkit-mask-clip\",browsers:[\"C\",\"O15\",\"S4\"],status:\"nonstandard\",syntax:\"[ <box> | border | padding | content | text ]#\",relevance:0,description:\"Determines the mask painting area, which determines the area that is affected by the mask.\",restrictions:[\"box\"]},{name:\"-webkit-mask-image\",browsers:[\"C\",\"O15\",\"S4\"],values:[{name:\"none\",description:\"Counts as a transparent black image layer.\"},{name:\"url()\",description:\"Reference to a <mask element or to a CSS image.\"}],status:\"nonstandard\",syntax:\"<mask-reference>#\",relevance:0,description:\"Sets the mask layer image of an element.\",restrictions:[\"url\",\"image\",\"enum\"]},{name:\"-webkit-mask-origin\",browsers:[\"C\",\"O15\",\"S4\"],status:\"nonstandard\",syntax:\"[ <box> | border | padding | content ]#\",relevance:0,description:\"Specifies the mask positioning area.\",restrictions:[\"box\"]},{name:\"-webkit-mask-repeat\",browsers:[\"C\",\"O15\",\"S4\"],status:\"nonstandard\",syntax:\"<repeat-style>#\",relevance:0,description:\"Specifies how mask layer images are tiled after they have been sized and positioned.\",restrictions:[\"repeat\"]},{name:\"-webkit-mask-size\",browsers:[\"C\",\"O15\",\"S4\"],values:[{name:\"auto\",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%.\"},{name:\"contain\",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.\"},{name:\"cover\",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.\"}],status:\"nonstandard\",syntax:\"<bg-size>#\",relevance:0,description:\"Specifies the size of the mask layer images.\",restrictions:[\"length\",\"percentage\",\"enum\"]},{name:\"-webkit-nbsp-mode\",browsers:[\"C\",\"S3\"],values:[{name:\"normal\"},{name:\"space\"}],relevance:50,description:\"Defines the behavior of nonbreaking spaces within text.\"},{name:\"-webkit-overflow-scrolling\",browsers:[\"C\",\"S5\"],values:[{name:\"auto\"},{name:\"touch\"}],status:\"nonstandard\",syntax:\"auto | touch\",relevance:0,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-webkit-overflow-scrolling\"}],description:\"Specifies whether to use native-style scrolling in an overflow:scroll element.\"},{name:\"-webkit-padding-start\",browsers:[\"C\",\"S3\"],relevance:50,restrictions:[\"percentage\",\"length\"]},{name:\"-webkit-perspective\",browsers:[\"C\",\"S4\"],values:[{name:\"none\",description:\"No perspective transform is applied.\"}],relevance:50,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.\",restrictions:[\"length\"]},{name:\"-webkit-perspective-origin\",browsers:[\"C\",\"S4\"],relevance:50,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.\",restrictions:[\"position\",\"percentage\",\"length\"]},{name:\"-webkit-region-fragment\",browsers:[\"S7\"],values:[{name:\"auto\",description:\"Content flows as it would in a regular content box.\"},{name:\"break\",description:\"If the content fits within the CSS Region, then this property has no effect.\"}],relevance:50,description:\"The 'region-fragment' property controls the behavior of the last region associated with a named flow.\",restrictions:[\"enum\"]},{name:\"-webkit-tap-highlight-color\",browsers:[\"E12\",\"C16\",\"O15\"],status:\"nonstandard\",syntax:\"<color>\",relevance:0,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-webkit-tap-highlight-color\"}],restrictions:[\"color\"]},{name:\"-webkit-text-fill-color\",browsers:[\"E12\",\"FF49\",\"S3\",\"C1\",\"O15\"],status:\"nonstandard\",syntax:\"<color>\",relevance:0,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-fill-color\"}],restrictions:[\"color\"]},{name:\"-webkit-text-size-adjust\",browsers:[\"E\",\"C\",\"S3\"],values:[{name:\"auto\",description:\"Renderers must use the default size adjustment when displaying on a small device.\"},{name:\"none\",description:\"Renderers must not do size adjustment when displaying on a small device.\"}],relevance:50,description:\"Specifies a size adjustment for displaying text content in mobile browsers.\",restrictions:[\"percentage\"]},{name:\"-webkit-text-stroke\",browsers:[\"E15\",\"FF49\",\"S3\",\"C4\",\"O15\"],status:\"nonstandard\",syntax:\"<length> || <color>\",relevance:0,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke\"}],restrictions:[\"length\",\"line-width\",\"color\",\"percentage\"]},{name:\"-webkit-text-stroke-color\",browsers:[\"E15\",\"FF49\",\"S3\",\"C1\",\"O15\"],status:\"nonstandard\",syntax:\"<color>\",relevance:0,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-color\"}],restrictions:[\"color\"]},{name:\"-webkit-text-stroke-width\",browsers:[\"E15\",\"FF49\",\"S3\",\"C1\",\"O15\"],status:\"nonstandard\",syntax:\"<length>\",relevance:0,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-width\"}],restrictions:[\"length\",\"line-width\",\"percentage\"]},{name:\"-webkit-touch-callout\",browsers:[\"S3\"],values:[{name:\"none\"}],status:\"nonstandard\",syntax:\"default | none\",relevance:0,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-webkit-touch-callout\"}],restrictions:[\"enum\"]},{name:\"-webkit-transform\",browsers:[\"C\",\"O12\",\"S3.1\"],values:[{name:\"matrix()\",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]\"},{name:\"matrix3d()\",description:\"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order.\"},{name:\"none\"},{name:\"perspective()\",description:\"Specifies a perspective projection matrix.\"},{name:\"rotate()\",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.\"},{name:\"rotate3d()\",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.\"},{name:\"rotateX('angle')\",description:\"Specifies a clockwise rotation by the given angle about the X axis.\"},{name:\"rotateY('angle')\",description:\"Specifies a clockwise rotation by the given angle about the Y axis.\"},{name:\"rotateZ('angle')\",description:\"Specifies a clockwise rotation by the given angle about the Z axis.\"},{name:\"scale()\",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.\"},{name:\"scale3d()\",description:\"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters.\"},{name:\"scaleX()\",description:\"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter.\"},{name:\"scaleY()\",description:\"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter.\"},{name:\"scaleZ()\",description:\"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter.\"},{name:\"skew()\",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).\"},{name:\"skewX()\",description:\"Specifies a skew transformation along the X axis by the given angle.\"},{name:\"skewY()\",description:\"Specifies a skew transformation along the Y axis by the given angle.\"},{name:\"translate()\",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.\"},{name:\"translate3d()\",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.\"},{name:\"translateX()\",description:\"Specifies a translation by the given amount in the X direction.\"},{name:\"translateY()\",description:\"Specifies a translation by the given amount in the Y direction.\"},{name:\"translateZ()\",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.\"}],relevance:50,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.\",restrictions:[\"enum\"]},{name:\"-webkit-transform-origin\",browsers:[\"C\",\"O15\",\"S3.1\"],relevance:50,description:\"Establishes the origin of transformation for an element.\",restrictions:[\"position\",\"length\",\"percentage\"]},{name:\"-webkit-transform-origin-x\",browsers:[\"C\",\"S3.1\"],relevance:50,description:\"The x coordinate of the origin for transforms applied to an element with respect to its border box.\",restrictions:[\"length\",\"percentage\"]},{name:\"-webkit-transform-origin-y\",browsers:[\"C\",\"S3.1\"],relevance:50,description:\"The y coordinate of the origin for transforms applied to an element with respect to its border box.\",restrictions:[\"length\",\"percentage\"]},{name:\"-webkit-transform-origin-z\",browsers:[\"C\",\"S4\"],relevance:50,description:\"The z coordinate of the origin for transforms applied to an element with respect to its border box.\",restrictions:[\"length\",\"percentage\"]},{name:\"-webkit-transform-style\",browsers:[\"C\",\"S4\"],values:[{name:\"flat\",description:\"All children of this element are rendered flattened into the 2D plane of the element.\"}],relevance:50,description:\"Defines how nested elements are rendered in 3D space.\",restrictions:[\"enum\"]},{name:\"-webkit-transition\",browsers:[\"C\",\"O12\",\"S5\"],values:[{name:\"all\",description:\"Every property that is able to undergo a transition will do so.\"},{name:\"none\",description:\"No property will transition.\"}],relevance:50,description:\"Shorthand property combines four of the transition properties into a single property.\",restrictions:[\"time\",\"property\",\"timing-function\",\"enum\"]},{name:\"-webkit-transition-delay\",browsers:[\"C\",\"O12\",\"S5\"],relevance:50,description:\"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.\",restrictions:[\"time\"]},{name:\"-webkit-transition-duration\",browsers:[\"C\",\"O12\",\"S5\"],relevance:50,description:\"Specifies how long the transition from the old value to the new value should take.\",restrictions:[\"time\"]},{name:\"-webkit-transition-property\",browsers:[\"C\",\"O12\",\"S5\"],values:[{name:\"all\",description:\"Every property that is able to undergo a transition will do so.\"},{name:\"none\",description:\"No property will transition.\"}],relevance:50,description:\"Specifies the name of the CSS property to which the transition is applied.\",restrictions:[\"property\"]},{name:\"-webkit-transition-timing-function\",browsers:[\"C\",\"O12\",\"S5\"],relevance:50,description:\"Describes how the intermediate values used during a transition will be calculated.\",restrictions:[\"timing-function\"]},{name:\"-webkit-user-drag\",browsers:[\"S3\"],values:[{name:\"auto\"},{name:\"element\"},{name:\"none\"}],relevance:50,restrictions:[\"enum\"]},{name:\"-webkit-user-modify\",browsers:[\"C\",\"S3\"],values:[{name:\"read-only\"},{name:\"read-write\"},{name:\"read-write-plaintext-only\"}],status:\"nonstandard\",syntax:\"read-only | read-write | read-write-plaintext-only\",relevance:0,description:\"Determines whether a user can edit the content of an element.\",restrictions:[\"enum\"]},{name:\"-webkit-user-select\",browsers:[\"C\",\"S3\"],values:[{name:\"auto\"},{name:\"none\"},{name:\"text\"}],relevance:50,description:\"Controls the appearance of selection.\",restrictions:[\"enum\"]},{name:\"white-space\",values:[{name:\"normal\",description:\"Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'normal'.\"},{name:\"nowrap\",description:\"Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'none'.\"},{name:\"pre\",description:\"Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'none'.\"},{name:\"pre-line\",description:\"Sets 'white-space-collapsing' to 'preserve-breaks' and 'text-wrap' to 'normal'.\"},{name:\"pre-wrap\",description:\"Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'normal'.\"}],syntax:\"normal | pre | nowrap | pre-wrap | pre-line | break-spaces\",relevance:90,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/white-space\"}],description:\"Shorthand property for the 'white-space-collapsing' and 'text-wrap' properties.\",restrictions:[\"enum\"]},{name:\"widows\",browsers:[\"E12\",\"S1.3\",\"C25\",\"IE8\",\"O9.2\"],syntax:\"<integer>\",relevance:51,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/widows\"}],description:\"Specifies the minimum number of line boxes of a block container that must be left in a fragment after a break.\",restrictions:[\"integer\"]},{name:\"width\",values:[{name:\"auto\",description:\"The width depends on the values of other properties.\"},{name:\"fit-content\",description:\"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode.\"},{name:\"max-content\",description:\"Use the max-content inline size or max-content block size, as appropriate to the writing mode.\"},{name:\"min-content\",description:\"Use the min-content inline size or min-content block size, as appropriate to the writing mode.\"}],syntax:\"<viewport-length>{1,2}\",relevance:96,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/width\"}],description:\"Specifies the width of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.\",restrictions:[\"length\",\"percentage\"]},{name:\"will-change\",browsers:[\"E79\",\"FF36\",\"S9.1\",\"C36\",\"O24\"],values:[{name:\"auto\",description:\"Expresses no particular intent.\"},{name:\"contents\",description:\"Indicates that the author expects to animate or change something about the element\\u2019s contents in the near future.\"},{name:\"scroll-position\",description:\"Indicates that the author expects to animate or change the scroll position of the element in the near future.\"}],syntax:\"auto | <animateable-feature>#\",relevance:64,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/will-change\"}],description:\"Provides a rendering hint to the user agent, stating what kinds of changes the author expects to perform on the element.\",restrictions:[\"enum\",\"identifier\"]},{name:\"word-break\",values:[{name:\"break-all\",description:\"Lines may break between any two grapheme clusters for non-CJK scripts.\"},{name:\"keep-all\",description:\"Block characters can no longer create implied break points.\"},{name:\"normal\",description:\"Breaks non-CJK scripts according to their own rules.\"}],syntax:\"normal | break-all | keep-all | break-word\",relevance:75,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/word-break\"}],description:\"Specifies line break opportunities for non-CJK scripts.\",restrictions:[\"enum\"]},{name:\"word-spacing\",values:[{name:\"normal\",description:\"No additional spacing is applied. Computes to zero.\"}],syntax:\"normal | <length>\",relevance:57,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/word-spacing\"}],description:\"Specifies additional spacing between \\u201Cwords\\u201D.\",restrictions:[\"length\",\"percentage\"]},{name:\"word-wrap\",values:[{name:\"break-word\",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.\"},{name:\"normal\",description:\"Lines may break only at allowed break points.\"}],syntax:\"normal | break-word\",relevance:78,description:\"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.\",restrictions:[\"enum\"]},{name:\"writing-mode\",values:[{name:\"horizontal-tb\",description:\"Top-to-bottom block flow direction. The writing mode is horizontal.\"},{name:\"sideways-lr\",description:\"Left-to-right block flow direction. The writing mode is vertical, while the typographic mode is horizontal.\"},{name:\"sideways-rl\",description:\"Right-to-left block flow direction. The writing mode is vertical, while the typographic mode is horizontal.\"},{name:\"vertical-lr\",description:\"Left-to-right block flow direction. The writing mode is vertical.\"},{name:\"vertical-rl\",description:\"Right-to-left block flow direction. The writing mode is vertical.\"}],syntax:\"horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/writing-mode\"}],description:\"This is a shorthand property for both 'direction' and 'block-progression'.\",restrictions:[\"enum\"]},{name:\"z-index\",values:[{name:\"auto\",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.\"}],syntax:\"auto | <integer>\",relevance:92,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/z-index\"}],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.\",restrictions:[\"integer\"]},{name:\"zoom\",browsers:[\"E12\",\"S3.1\",\"C1\",\"IE5.5\",\"O15\"],values:[{name:\"normal\"}],syntax:\"auto | <number> | <percentage>\",relevance:68,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/zoom\"}],description:\"Non-standard. Specifies the magnification scale of the object. See 'transform: scale()' for a standards-based alternative.\",restrictions:[\"enum\",\"integer\",\"number\",\"percentage\"]},{name:\"-ms-ime-align\",status:\"nonstandard\",syntax:\"auto | after\",relevance:0,description:\"Aligns the Input Method Editor (IME) candidate window box relative to the element on which the IME composition is active.\"},{name:\"-moz-binding\",status:\"nonstandard\",syntax:\"<url> | none\",relevance:0,browsers:[\"FF1\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-moz-binding\"}],description:\"The -moz-binding CSS property is used by Mozilla-based applications to attach an XBL binding to a DOM element.\"},{name:\"-moz-context-properties\",status:\"nonstandard\",syntax:\"none | [ fill | fill-opacity | stroke | stroke-opacity ]#\",relevance:0,browsers:[\"FF55\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-moz-context-properties\"}],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.`},{name:\"-moz-float-edge\",status:\"nonstandard\",syntax:\"border-box | content-box | margin-box | padding-box\",relevance:0,browsers:[\"FF1\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-moz-float-edge\"}],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.\"},{name:\"-moz-force-broken-image-icon\",status:\"nonstandard\",syntax:\"0 | 1\",relevance:0,browsers:[\"FF1\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-moz-force-broken-image-icon\"}],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.\"},{name:\"-moz-image-region\",status:\"nonstandard\",syntax:\"<shape> | auto\",relevance:0,browsers:[\"FF1\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-moz-image-region\"}],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.\"},{name:\"-moz-orient\",status:\"nonstandard\",syntax:\"inline | block | horizontal | vertical\",relevance:0,browsers:[\"FF6\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-moz-orient\"}],description:\"The -moz-orient CSS property specifies the orientation of the element to which it's applied.\"},{name:\"-moz-outline-radius\",status:\"nonstandard\",syntax:\"<outline-radius>{1,4} [ / <outline-radius>{1,4} ]?\",relevance:0,browsers:[\"FF1\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius\"}],description:\"In Mozilla applications like Firefox, the -moz-outline-radius CSS property can be used to give an element's outline rounded corners.\"},{name:\"-moz-outline-radius-bottomleft\",status:\"nonstandard\",syntax:\"<outline-radius>\",relevance:0,browsers:[\"FF1\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomleft\"}],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.\"},{name:\"-moz-outline-radius-bottomright\",status:\"nonstandard\",syntax:\"<outline-radius>\",relevance:0,browsers:[\"FF1\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-bottomright\"}],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.\"},{name:\"-moz-outline-radius-topleft\",status:\"nonstandard\",syntax:\"<outline-radius>\",relevance:0,browsers:[\"FF1\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topleft\"}],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.\"},{name:\"-moz-outline-radius-topright\",status:\"nonstandard\",syntax:\"<outline-radius>\",relevance:0,browsers:[\"FF1\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius-topright\"}],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.\"},{name:\"-moz-stack-sizing\",status:\"nonstandard\",syntax:\"ignore | stretch-to-fit\",relevance:0,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.\"},{name:\"-moz-text-blink\",status:\"nonstandard\",syntax:\"none | blink\",relevance:0,description:\"The -moz-text-blink non-standard Mozilla CSS extension specifies the blink mode.\"},{name:\"-moz-user-input\",status:\"nonstandard\",syntax:\"auto | none | enabled | disabled\",relevance:0,browsers:[\"FF1\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-moz-user-input\"}],description:\"In Mozilla applications, -moz-user-input determines if an element will accept user input.\"},{name:\"-moz-user-modify\",status:\"nonstandard\",syntax:\"read-only | read-write | write-only\",relevance:0,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.\"},{name:\"-moz-window-dragging\",status:\"nonstandard\",syntax:\"drag | no-drag\",relevance:0,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.\"},{name:\"-moz-window-shadow\",status:\"nonstandard\",syntax:\"default | menu | tooltip | sheet | none\",relevance:0,description:\"The -moz-window-shadow CSS property specifies whether a window will have a shadow. It only works on Mac OS X.\"},{name:\"-webkit-border-before\",status:\"nonstandard\",syntax:\"<'border-width'> || <'border-style'> || <color>\",relevance:0,browsers:[\"E79\",\"S5.1\",\"C8\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-webkit-border-before\"}],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.\"},{name:\"-webkit-border-before-color\",status:\"nonstandard\",syntax:\"<color>\",relevance:0,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.\"},{name:\"-webkit-border-before-style\",status:\"nonstandard\",syntax:\"<'border-style'>\",relevance:0,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.\"},{name:\"-webkit-border-before-width\",status:\"nonstandard\",syntax:\"<'border-width'>\",relevance:0,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.\"},{name:\"-webkit-line-clamp\",syntax:\"none | <integer>\",relevance:50,browsers:[\"E17\",\"FF68\",\"S5\",\"C6\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp\"}],description:\"The -webkit-line-clamp CSS property allows limiting of the contents of a block container to the specified number of lines.\"},{name:\"-webkit-mask\",status:\"nonstandard\",syntax:\"[ <mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || [ <box> | border | padding | content | text ] || [ <box> | border | padding | content ] ]#\",relevance:0,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.\"},{name:\"-webkit-mask-attachment\",status:\"nonstandard\",syntax:\"<attachment>#\",relevance:0,browsers:[\"S4\",\"C1\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-attachment\"}],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.\"},{name:\"-webkit-mask-composite\",status:\"nonstandard\",syntax:\"<composite-style>#\",relevance:0,browsers:[\"E18\",\"FF53\",\"S3.1\",\"C1\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-composite\"}],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.\"},{name:\"-webkit-mask-position\",status:\"nonstandard\",syntax:\"<position>#\",relevance:0,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.\"},{name:\"-webkit-mask-position-x\",status:\"nonstandard\",syntax:\"[ <length-percentage> | left | center | right ]#\",relevance:0,browsers:[\"E18\",\"FF49\",\"S3.1\",\"C1\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-x\"}],description:\"The -webkit-mask-position-x CSS property sets the initial horizontal position of a mask image.\"},{name:\"-webkit-mask-position-y\",status:\"nonstandard\",syntax:\"[ <length-percentage> | top | center | bottom ]#\",relevance:0,browsers:[\"E18\",\"FF49\",\"S3.1\",\"C1\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-y\"}],description:\"The -webkit-mask-position-y CSS property sets the initial vertical position of a mask image.\"},{name:\"-webkit-mask-repeat-x\",status:\"nonstandard\",syntax:\"repeat | no-repeat | space | round\",relevance:0,browsers:[\"E18\",\"S5\",\"C3\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-x\"}],description:\"The -webkit-mask-repeat-x property specifies whether and how a mask image is repeated (tiled) horizontally.\"},{name:\"-webkit-mask-repeat-y\",status:\"nonstandard\",syntax:\"repeat | no-repeat | space | round\",relevance:0,browsers:[\"E18\",\"S5\",\"C3\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-y\"}],description:\"The -webkit-mask-repeat-y property specifies whether and how a mask image is repeated (tiled) vertically.\"},{name:\"accent-color\",syntax:\"auto | <color>\",relevance:50,browsers:[\"E93\",\"FF92\",\"Spreview\",\"C93\",\"O79\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/accent-color\"}],description:\"Sets the color of the elements accent\"},{name:\"align-tracks\",status:\"experimental\",syntax:\"[ normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position> ]#\",relevance:50,browsers:[\"FF77\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/align-tracks\"}],description:\"The align-tracks CSS property sets the alignment in the masonry axis for grid containers that have masonry in their block axis.\"},{name:\"appearance\",status:\"experimental\",syntax:\"none | auto | textfield | menulist-button | <compat-auto>\",relevance:62,browsers:[\"E84\",\"FF80\",\"Spreview\",\"C84\",\"O70\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/appearance\"}],description:\"Changes the appearance of buttons and other controls to resemble native controls.\"},{name:\"aspect-ratio\",status:\"experimental\",syntax:\"auto | <ratio>\",relevance:53,browsers:[\"E88\",\"FF89\",\"S15\",\"C88\",\"O74\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/aspect-ratio\"}],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.\"},{name:\"azimuth\",status:\"obsolete\",syntax:\"<angle> | [ [ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards\",relevance:0,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.\"},{name:\"backdrop-filter\",syntax:\"none | <filter-function-list>\",relevance:53,browsers:[\"E17\",\"FF70\",\"S9\",\"C76\",\"O63\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/backdrop-filter\"}],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.\"},{name:\"border-block\",syntax:\"<'border-top-width'> || <'border-top-style'> || <color>\",relevance:50,browsers:[\"E87\",\"FF66\",\"S14.1\",\"C87\",\"O73\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-block\"}],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.\"},{name:\"border-block-color\",syntax:\"<'border-top-color'>{1,2}\",relevance:50,browsers:[\"E87\",\"FF66\",\"S14.1\",\"C87\",\"O73\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-block-color\"}],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.\"},{name:\"border-block-style\",syntax:\"<'border-top-style'>\",relevance:50,browsers:[\"E87\",\"FF66\",\"S14.1\",\"C87\",\"O73\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-block-style\"}],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.\"},{name:\"border-block-width\",syntax:\"<'border-top-width'>\",relevance:50,browsers:[\"E87\",\"FF66\",\"S14.1\",\"C87\",\"O73\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-block-width\"}],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.\"},{name:\"border-end-end-radius\",syntax:\"<length-percentage>{1,2}\",relevance:50,browsers:[\"E89\",\"FF66\",\"S15\",\"C89\",\"O75\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius\"}],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.\"},{name:\"border-end-start-radius\",syntax:\"<length-percentage>{1,2}\",relevance:50,browsers:[\"E89\",\"FF66\",\"S15\",\"C89\",\"O75\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius\"}],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.\"},{name:\"border-inline\",syntax:\"<'border-top-width'> || <'border-top-style'> || <color>\",relevance:50,browsers:[\"E87\",\"FF66\",\"S14.1\",\"C87\",\"O73\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-inline\"}],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.\"},{name:\"border-inline-color\",syntax:\"<'border-top-color'>{1,2}\",relevance:50,browsers:[\"E87\",\"FF66\",\"S14.1\",\"C87\",\"O73\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-inline-color\"}],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.\"},{name:\"border-inline-style\",syntax:\"<'border-top-style'>\",relevance:50,browsers:[\"E87\",\"FF66\",\"S14.1\",\"C87\",\"O73\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-inline-style\"}],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.\"},{name:\"border-inline-width\",syntax:\"<'border-top-width'>\",relevance:50,browsers:[\"E87\",\"FF66\",\"S14.1\",\"C87\",\"O73\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-inline-width\"}],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.\"},{name:\"border-start-end-radius\",syntax:\"<length-percentage>{1,2}\",relevance:50,browsers:[\"E89\",\"FF66\",\"S15\",\"C89\",\"O75\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius\"}],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.\"},{name:\"border-start-start-radius\",syntax:\"<length-percentage>{1,2}\",relevance:50,browsers:[\"E89\",\"FF66\",\"S15\",\"C89\",\"O75\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius\"}],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.\"},{name:\"box-align\",status:\"nonstandard\",syntax:\"start | center | end | baseline | stretch\",relevance:0,browsers:[\"E12\",\"FF1\",\"S3\",\"C1\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/box-align\"}],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.\"},{name:\"box-direction\",status:\"nonstandard\",syntax:\"normal | reverse | inherit\",relevance:0,browsers:[\"E12\",\"FF1\",\"S3\",\"C1\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/box-direction\"}],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).\"},{name:\"box-flex\",status:\"nonstandard\",syntax:\"<number>\",relevance:0,browsers:[\"E12\",\"FF1\",\"S3\",\"C1\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/box-flex\"}],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.\"},{name:\"box-flex-group\",status:\"nonstandard\",syntax:\"<integer>\",relevance:0,browsers:[\"S3\",\"C1\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/box-flex-group\"}],description:\"The box-flex-group CSS property assigns the flexbox's child elements to a flex group.\"},{name:\"box-lines\",status:\"nonstandard\",syntax:\"single | multiple\",relevance:0,browsers:[\"S3\",\"C1\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/box-lines\"}],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).\"},{name:\"box-ordinal-group\",status:\"nonstandard\",syntax:\"<integer>\",relevance:0,browsers:[\"E12\",\"FF1\",\"S3\",\"C1\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/box-ordinal-group\"}],description:\"The box-ordinal-group CSS property assigns the flexbox's child elements to an ordinal group.\"},{name:\"box-orient\",status:\"nonstandard\",syntax:\"horizontal | vertical | inline-axis | block-axis | inherit\",relevance:0,browsers:[\"E12\",\"FF1\",\"S3\",\"C1\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/box-orient\"}],description:\"The box-orient CSS property specifies whether an element lays out its contents horizontally or vertically.\"},{name:\"box-pack\",status:\"nonstandard\",syntax:\"start | center | end | justify\",relevance:0,browsers:[\"E12\",\"FF1\",\"S3\",\"C1\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/box-pack\"}],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.\"},{name:\"color-adjust\",syntax:\"economy | exact\",relevance:50,browsers:[\"E79\",\"FF48\",\"S6\",\"C49\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/color-adjust\"}],description:\"The color-adjust property is a non-standard CSS extension that can be used to force printing of background colors and images in browsers based on the WebKit engine.\"},{name:\"color-scheme\",syntax:\"normal | [ light | dark | <custom-ident> ]+ && only?\",relevance:51,browsers:[\"E81\",\"FF96\",\"S13\",\"C81\",\"O68\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/color-scheme\"}],description:\"The color-scheme CSS property allows an element to indicate which color schemes it can comfortably be rendered in.\"},{name:\"content-visibility\",syntax:\"visible | auto | hidden\",relevance:52,browsers:[\"E85\",\"C85\",\"O71\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/content-visibility\"}],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.\"},{name:\"counter-set\",syntax:\"[ <counter-name> <integer>? ]+ | none\",relevance:50,browsers:[\"E85\",\"FF68\",\"C85\",\"O71\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/counter-set\"}],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.\"},{name:\"font-optical-sizing\",syntax:\"auto | none\",relevance:50,browsers:[\"E17\",\"FF62\",\"S11\",\"C79\",\"O66\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/font-optical-sizing\"}],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.\"},{name:\"font-variation-settings\",syntax:\"normal | [ <string> <number> ]#\",relevance:50,browsers:[\"E17\",\"FF62\",\"S11\",\"C62\",\"O49\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/font-variation-settings\"}],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.\"},{name:\"font-smooth\",status:\"nonstandard\",syntax:\"auto | never | always | <absolute-size> | <length>\",relevance:0,browsers:[\"E79\",\"FF25\",\"S4\",\"C5\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/font-smooth\"}],description:\"The font-smooth CSS property controls the application of anti-aliasing when fonts are rendered.\"},{name:\"forced-color-adjust\",status:\"experimental\",syntax:\"auto | none\",relevance:51,browsers:[\"E79\",\"C89\",\"IE10\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/forced-color-adjust\"}],description:\"Allows authors to opt certain elements out of forced colors mode. This then restores the control of those values to CSS\"},{name:\"gap\",syntax:\"<'row-gap'> <'column-gap'>?\",relevance:53,browsers:[\"E84\",\"FF63\",\"S14.1\",\"C84\",\"O70\"],description:\"The gap CSS property is a shorthand property for row-gap and column-gap specifying the gutters between grid rows and columns.\"},{name:\"hanging-punctuation\",syntax:\"none | [ first || [ force-end | allow-end ] || last ]\",relevance:50,browsers:[\"S10\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/hanging-punctuation\"}],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.\"},{name:\"hyphenate-character\",syntax:\"auto | <string>\",relevance:50,description:\"A hyphenate character used at the end of a line.\"},{name:\"image-resolution\",status:\"experimental\",syntax:\"[ from-image || <resolution> ] && snap?\",relevance:50,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.\"},{name:\"initial-letter\",status:\"experimental\",syntax:\"normal | [ <number> <integer>? ]\",relevance:50,browsers:[\"S9\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/initial-letter\"}],description:\"The initial-letter CSS property specifies styling for dropped, raised, and sunken initial letters.\"},{name:\"initial-letter-align\",status:\"experimental\",syntax:\"[ auto | alphabetic | hanging | ideographic ]\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/initial-letter-align\"}],description:\"The initial-letter-align CSS property specifies the alignment of initial letters within a paragraph.\"},{name:\"input-security\",syntax:\"auto | none\",relevance:50,description:\"Enables or disables the obscuring a sensitive test input.\"},{name:\"inset\",syntax:\"<'top'>{1,4}\",relevance:51,browsers:[\"E87\",\"FF66\",\"S14.1\",\"C87\",\"O73\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/inset\"}],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.\"},{name:\"inset-block\",syntax:\"<'top'>{1,2}\",relevance:50,browsers:[\"E87\",\"FF63\",\"S14.1\",\"C87\",\"O73\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/inset-block\"}],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.\"},{name:\"inset-block-end\",syntax:\"<'top'>\",relevance:50,browsers:[\"E87\",\"FF63\",\"S14.1\",\"C87\",\"O73\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/inset-block-end\"}],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.\"},{name:\"inset-block-start\",syntax:\"<'top'>\",relevance:50,browsers:[\"E87\",\"FF63\",\"S14.1\",\"C87\",\"O73\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/inset-block-start\"}],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.\"},{name:\"inset-inline\",syntax:\"<'top'>{1,2}\",relevance:50,browsers:[\"E87\",\"FF63\",\"S14.1\",\"C87\",\"O73\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/inset-inline\"}],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.\"},{name:\"inset-inline-end\",syntax:\"<'top'>\",relevance:50,browsers:[\"E87\",\"FF63\",\"S14.1\",\"C87\",\"O73\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/inset-inline-end\"}],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.\"},{name:\"inset-inline-start\",syntax:\"<'top'>\",relevance:50,browsers:[\"E87\",\"FF63\",\"S14.1\",\"C87\",\"O73\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/inset-inline-start\"}],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.\"},{name:\"justify-tracks\",status:\"experimental\",syntax:\"[ normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ] ]#\",relevance:50,browsers:[\"FF77\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/justify-tracks\"}],description:\"The justify-tracks CSS property sets the alignment in the masonry axis for grid containers that have masonry in their inline axis\"},{name:\"line-clamp\",status:\"experimental\",syntax:\"none | <integer>\",relevance:50,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.\"},{name:\"line-height-step\",status:\"experimental\",syntax:\"<length>\",relevance:50,browsers:[\"E79\",\"C60\",\"O47\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/line-height-step\"}],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.\"},{name:\"margin-block\",syntax:\"<'margin-left'>{1,2}\",relevance:50,browsers:[\"E87\",\"FF66\",\"S14.1\",\"C87\",\"O73\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/margin-block\"}],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.\"},{name:\"margin-inline\",syntax:\"<'margin-left'>{1,2}\",relevance:50,browsers:[\"E87\",\"FF66\",\"S14.1\",\"C87\",\"O73\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/margin-inline\"}],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.\"},{name:\"margin-trim\",status:\"experimental\",syntax:\"none | in-flow | all\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/margin-trim\"}],description:\"The margin-trim property allows the container to trim the margins of its children where they adjoin the container\\u2019s edges.\"},{name:\"mask\",syntax:\"<mask-layer>#\",relevance:50,browsers:[\"E79\",\"FF2\",\"S3.1\",\"C1\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/mask\"}],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.\"},{name:\"mask-border\",syntax:\"<'mask-border-source'> || <'mask-border-slice'> [ / <'mask-border-width'>? [ / <'mask-border-outset'> ]? ]? || <'mask-border-repeat'> || <'mask-border-mode'>\",relevance:50,browsers:[\"E79\",\"S3.1\",\"C1\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/mask-border\"}],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.`},{name:\"mask-border-mode\",syntax:\"luminance | alpha\",relevance:50,description:\"The mask-border-mode CSS property specifies the blending mode used in a mask border.\"},{name:\"mask-border-outset\",syntax:\"[ <length> | <number> ]{1,4}\",relevance:50,browsers:[\"E79\",\"S3.1\",\"C1\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/mask-border-outset\"}],description:\"The mask-border-outset CSS property specifies the distance by which an element's mask border is set out from its border box.\"},{name:\"mask-border-repeat\",syntax:\"[ stretch | repeat | round | space ]{1,2}\",relevance:50,browsers:[\"E79\",\"S3.1\",\"C1\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/mask-border-repeat\"}],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.\"},{name:\"mask-border-slice\",syntax:\"<number-percentage>{1,4} fill?\",relevance:50,browsers:[\"E79\",\"S3.1\",\"C1\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/mask-border-slice\"}],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.\"},{name:\"mask-border-source\",syntax:\"none | <image>\",relevance:50,browsers:[\"E79\",\"S3.1\",\"C1\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/mask-border-source\"}],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.`},{name:\"mask-border-width\",syntax:\"[ <length-percentage> | <number> | auto ]{1,4}\",relevance:50,browsers:[\"E79\",\"S3.1\",\"C1\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/mask-border-width\"}],description:\"The mask-border-width CSS property specifies the width of an element's mask border.\"},{name:\"mask-clip\",syntax:\"[ <geometry-box> | no-clip ]#\",relevance:50,browsers:[\"E79\",\"FF53\",\"S4\",\"C1\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/mask-clip\"}],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.\"},{name:\"mask-composite\",syntax:\"<compositing-operator>#\",relevance:50,browsers:[\"E18\",\"FF53\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/mask-composite\"}],description:\"The mask-composite CSS property represents a compositing operation used on the current mask layer with the mask layers below it.\"},{name:\"masonry-auto-flow\",status:\"experimental\",syntax:\"[ pack | next ] || [ definite-first | ordered ]\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/masonry-auto-flow\"}],description:\"The masonry-auto-flow CSS property modifies how items are placed when using masonry in CSS Grid Layout.\"},{name:\"math-style\",syntax:\"normal | compact\",relevance:50,browsers:[\"FF83\",\"S14.1\",\"C83\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/math-style\"}],description:\"The math-style property indicates whether MathML equations should render with normal or compact height.\"},{name:\"max-lines\",status:\"experimental\",syntax:\"none | <integer>\",relevance:50,description:\"The max-liens property forces a break after a set number of lines\"},{name:\"offset\",syntax:\"[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?\",relevance:50,browsers:[\"E79\",\"FF72\",\"C55\",\"O42\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/offset\"}],description:\"The offset CSS property is a shorthand property for animating an element along a defined path.\"},{name:\"offset-anchor\",syntax:\"auto | <position>\",relevance:50,browsers:[\"E79\",\"FF72\",\"C79\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/offset-anchor\"}],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.\"},{name:\"offset-distance\",syntax:\"<length-percentage>\",relevance:50,browsers:[\"E79\",\"FF72\",\"C55\",\"O42\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/offset-distance\"}],description:\"The offset-distance CSS property specifies a position along an offset-path.\"},{name:\"offset-path\",syntax:\"none | ray( [ <angle> && <size> && contain? ] ) | <path()> | <url> | [ <basic-shape> || <geometry-box> ]\",relevance:50,browsers:[\"E79\",\"FF72\",\"C55\",\"O45\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/offset-path\"}],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.`},{name:\"offset-position\",status:\"experimental\",syntax:\"auto | <position>\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/offset-position\"}],description:\"Specifies the initial position of the offset path. If position is specified with static, offset-position would be ignored.\"},{name:\"offset-rotate\",syntax:\"[ auto | reverse ] || <angle>\",relevance:50,browsers:[\"E79\",\"FF72\",\"C56\",\"O43\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/offset-rotate\"}],description:\"The offset-rotate CSS property defines the direction of the element while positioning along the offset path.\"},{name:\"overflow-anchor\",syntax:\"auto | none\",relevance:52,browsers:[\"E79\",\"FF66\",\"C56\",\"O43\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/overflow-anchor\"}],description:\"The overflow-anchor CSS property provides a way to opt out browser scroll anchoring behavior which adjusts scroll position to minimize content shifts.\"},{name:\"overflow-block\",syntax:\"visible | hidden | clip | scroll | auto\",relevance:50,browsers:[\"FF69\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/overflow-block\"}],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.\"},{name:\"overflow-clip-box\",status:\"nonstandard\",syntax:\"padding-box | content-box\",relevance:0,browsers:[\"FF29\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Mozilla/Gecko/Chrome/CSS/overflow-clip-box\"}],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.\"},{name:\"overflow-clip-margin\",syntax:\"<visual-box> || <length [0,\\u221E]>\",relevance:50,browsers:[\"E90\",\"C90\",\"O76\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/overflow-clip-margin\"}],description:\"The overflow-clip-margin CSS property determines how far outside its bounds an element with overflow: clip may be painted before being clipped.\"},{name:\"overflow-inline\",syntax:\"visible | hidden | clip | scroll | auto\",relevance:50,browsers:[\"FF69\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/overflow-inline\"}],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.\"},{name:\"overscroll-behavior\",syntax:\"[ contain | none | auto ]{1,2}\",relevance:50,browsers:[\"E18\",\"FF59\",\"C63\",\"O50\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior\"}],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.\"},{name:\"overscroll-behavior-block\",syntax:\"contain | none | auto\",relevance:50,browsers:[\"E79\",\"FF73\",\"C77\",\"O64\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-block\"}],description:\"The overscroll-behavior-block CSS property sets the browser's behavior when the block direction boundary of a scrolling area is reached.\"},{name:\"overscroll-behavior-inline\",syntax:\"contain | none | auto\",relevance:50,browsers:[\"E79\",\"FF73\",\"C77\",\"O64\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-inline\"}],description:\"The overscroll-behavior-inline CSS property sets the browser's behavior when the inline direction boundary of a scrolling area is reached.\"},{name:\"overscroll-behavior-x\",syntax:\"contain | none | auto\",relevance:50,browsers:[\"E18\",\"FF59\",\"C63\",\"O50\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-x\"}],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.\"},{name:\"overscroll-behavior-y\",syntax:\"contain | none | auto\",relevance:50,browsers:[\"E18\",\"FF59\",\"C63\",\"O50\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-y\"}],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.\"},{name:\"padding-block\",syntax:\"<'padding-left'>{1,2}\",relevance:50,browsers:[\"E87\",\"FF66\",\"S14.1\",\"C87\",\"O73\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/padding-block\"}],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.\"},{name:\"padding-inline\",syntax:\"<'padding-left'>{1,2}\",relevance:50,browsers:[\"E87\",\"FF66\",\"S14.1\",\"C87\",\"O73\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/padding-inline\"}],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.\"},{name:\"place-content\",syntax:\"<'align-content'> <'justify-content'>?\",relevance:50,browsers:[\"E79\",\"FF45\",\"S9\",\"C59\",\"O46\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/place-content\"}],description:\"The place-content CSS shorthand property sets both the align-content and justify-content properties.\"},{name:\"place-items\",syntax:\"<'align-items'> <'justify-items'>?\",relevance:50,browsers:[\"E79\",\"FF45\",\"S11\",\"C59\",\"O46\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/place-items\"}],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.\"},{name:\"place-self\",syntax:\"<'align-self'> <'justify-self'>?\",relevance:50,browsers:[\"E79\",\"FF45\",\"S11\",\"C59\",\"O46\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/place-self\"}],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.\"},{name:\"rotate\",syntax:\"none | <angle> | [ x | y | z | <number>{3} ] && <angle>\",relevance:50,browsers:[\"FF72\",\"S14.1\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/rotate\"}],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.\"},{name:\"row-gap\",syntax:\"normal | <length-percentage>\",relevance:50,browsers:[\"E84\",\"FF63\",\"S14.1\",\"C84\",\"O70\"],description:\"The row-gap CSS property specifies the gutter between grid rows.\"},{name:\"ruby-merge\",status:\"experimental\",syntax:\"separate | collapse | auto\",relevance:50,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.\"},{name:\"scale\",syntax:\"none | <number>{1,3}\",relevance:50,browsers:[\"FF72\",\"S14.1\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scale\"}],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.\"},{name:\"scrollbar-color\",syntax:\"auto | <color>{2}\",relevance:50,browsers:[\"FF64\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scrollbar-color\"}],description:\"The scrollbar-color CSS property sets the color of the scrollbar track and thumb.\"},{name:\"scrollbar-gutter\",syntax:\"auto | stable && both-edges?\",relevance:50,browsers:[\"E94\",\"FF97\",\"C94\",\"O80\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scrollbar-gutter\"}],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.\"},{name:\"scrollbar-width\",syntax:\"auto | thin | none\",relevance:50,browsers:[\"FF64\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scrollbar-width\"}],description:\"The scrollbar-width property allows the author to set the maximum thickness of an element\\u2019s scrollbars when they are shown. \"},{name:\"scroll-margin\",syntax:\"<length>{1,4}\",relevance:50,browsers:[\"E79\",\"FF90\",\"S14.1\",\"C69\",\"O56\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-margin\"}],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.\"},{name:\"scroll-margin-block\",syntax:\"<length>{1,2}\",relevance:50,browsers:[\"E79\",\"FF68\",\"S14.1\",\"C69\",\"O56\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block\"}],description:\"The scroll-margin-block property is a shorthand property which sets the scroll-margin longhands in the block dimension.\"},{name:\"scroll-margin-block-start\",syntax:\"<length>\",relevance:50,browsers:[\"E79\",\"FF68\",\"S14.1\",\"C69\",\"O56\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-start\"}],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.\"},{name:\"scroll-margin-block-end\",syntax:\"<length>\",relevance:50,browsers:[\"E79\",\"FF68\",\"S14.1\",\"C69\",\"O56\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-end\"}],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.\"},{name:\"scroll-margin-bottom\",syntax:\"<length>\",relevance:50,browsers:[\"E79\",\"FF68\",\"S14.1\",\"C69\",\"O56\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-bottom\"}],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.\"},{name:\"scroll-margin-inline\",syntax:\"<length>{1,2}\",relevance:50,browsers:[\"E79\",\"FF68\",\"S14.1\",\"C69\",\"O56\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline\"}],description:\"The scroll-margin-inline property is a shorthand property which sets the scroll-margin longhands in the inline dimension.\"},{name:\"scroll-margin-inline-start\",syntax:\"<length>\",relevance:50,browsers:[\"E79\",\"FF68\",\"S14.1\",\"C69\",\"O56\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-start\"}],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.\"},{name:\"scroll-margin-inline-end\",syntax:\"<length>\",relevance:50,browsers:[\"E79\",\"FF68\",\"S14.1\",\"C69\",\"O56\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-end\"}],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.\"},{name:\"scroll-margin-left\",syntax:\"<length>\",relevance:50,browsers:[\"E79\",\"FF68\",\"S14.1\",\"C69\",\"O56\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-left\"}],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.\"},{name:\"scroll-margin-right\",syntax:\"<length>\",relevance:50,browsers:[\"E79\",\"FF68\",\"S14.1\",\"C69\",\"O56\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-right\"}],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.\"},{name:\"scroll-margin-top\",syntax:\"<length>\",relevance:50,browsers:[\"E79\",\"FF68\",\"S14.1\",\"C69\",\"O56\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-top\"}],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.\"},{name:\"scroll-padding\",syntax:\"[ auto | <length-percentage> ]{1,4}\",relevance:50,browsers:[\"E79\",\"FF68\",\"S14.1\",\"C69\",\"O56\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-padding\"}],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.\"},{name:\"scroll-padding-block\",syntax:\"[ auto | <length-percentage> ]{1,2}\",relevance:50,browsers:[\"E79\",\"FF68\",\"S15\",\"C69\",\"O56\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block\"}],description:\"The scroll-padding-block property is a shorthand property which sets the scroll-padding longhands for the block dimension.\"},{name:\"scroll-padding-block-start\",syntax:\"auto | <length-percentage>\",relevance:50,browsers:[\"E79\",\"FF68\",\"S15\",\"C69\",\"O56\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-start\"}],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.\"},{name:\"scroll-padding-block-end\",syntax:\"auto | <length-percentage>\",relevance:50,browsers:[\"E79\",\"FF68\",\"S15\",\"C69\",\"O56\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-end\"}],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.\"},{name:\"scroll-padding-bottom\",syntax:\"auto | <length-percentage>\",relevance:50,browsers:[\"E79\",\"FF68\",\"S14.1\",\"C69\",\"O56\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-bottom\"}],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.\"},{name:\"scroll-padding-inline\",syntax:\"[ auto | <length-percentage> ]{1,2}\",relevance:50,browsers:[\"E79\",\"FF68\",\"S15\",\"C69\",\"O56\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline\"}],description:\"The scroll-padding-inline property is a shorthand property which sets the scroll-padding longhands for the inline dimension.\"},{name:\"scroll-padding-inline-start\",syntax:\"auto | <length-percentage>\",relevance:50,browsers:[\"E79\",\"FF68\",\"S15\",\"C69\",\"O56\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-start\"}],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.\"},{name:\"scroll-padding-inline-end\",syntax:\"auto | <length-percentage>\",relevance:50,browsers:[\"E79\",\"FF68\",\"S15\",\"C69\",\"O56\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-end\"}],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.\"},{name:\"scroll-padding-left\",syntax:\"auto | <length-percentage>\",relevance:50,browsers:[\"E79\",\"FF68\",\"S14.1\",\"C69\",\"O56\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-left\"}],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.\"},{name:\"scroll-padding-right\",syntax:\"auto | <length-percentage>\",relevance:50,browsers:[\"E79\",\"FF68\",\"S14.1\",\"C69\",\"O56\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-right\"}],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.\"},{name:\"scroll-padding-top\",syntax:\"auto | <length-percentage>\",relevance:51,browsers:[\"E79\",\"FF68\",\"S14.1\",\"C69\",\"O56\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-top\"}],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.\"},{name:\"scroll-snap-align\",syntax:\"[ none | start | end | center ]{1,2}\",relevance:53,browsers:[\"E79\",\"FF68\",\"S11\",\"C69\",\"O56\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-align\"}],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.\"},{name:\"scroll-snap-stop\",syntax:\"normal | always\",relevance:50,browsers:[\"E79\",\"S15\",\"C75\",\"O62\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-stop\"}],description:'The scroll-snap-stop CSS property defines whether the scroll container is allowed to \"pass over\" possible snap positions.'},{name:\"scroll-snap-type-x\",status:\"obsolete\",syntax:\"none | mandatory | proximity\",relevance:0,browsers:[\"FF39\",\"S9\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-x\"}],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.`},{name:\"scroll-snap-type-y\",status:\"obsolete\",syntax:\"none | mandatory | proximity\",relevance:0,browsers:[\"FF39\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-y\"}],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.`},{name:\"text-combine-upright\",syntax:\"none | all | [ digits <integer>? ]\",relevance:50,references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-combine-upright\"}],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.`},{name:\"text-decoration-skip\",status:\"experimental\",syntax:\"none | [ objects || [ spaces | [ leading-spaces || trailing-spaces ] ] || edges || box-decoration ]\",relevance:52,browsers:[\"S12.1\",\"C57\",\"O44\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip\"}],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.\"},{name:\"text-decoration-skip-ink\",syntax:\"auto | all | none\",relevance:50,browsers:[\"E79\",\"FF70\",\"Spreview\",\"C64\",\"O50\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink\"}],description:\"The text-decoration-skip-ink CSS property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders.\"},{name:\"text-decoration-thickness\",syntax:\"auto | from-font | <length> | <percentage> \",relevance:50,browsers:[\"E89\",\"FF70\",\"S12.1\",\"C89\",\"O75\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness\"}],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.\"},{name:\"text-emphasis\",syntax:\"<'text-emphasis-style'> || <'text-emphasis-color'>\",relevance:50,browsers:[\"E79\",\"FF46\",\"S7\",\"C25\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-emphasis\"}],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.\"},{name:\"text-emphasis-color\",syntax:\"<color>\",relevance:50,browsers:[\"E79\",\"FF46\",\"S7\",\"C25\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color\"}],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.\"},{name:\"text-emphasis-position\",syntax:\"[ over | under ] && [ right | left ]\",relevance:50,browsers:[\"E79\",\"FF46\",\"S7\",\"C25\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position\"}],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.\"},{name:\"text-emphasis-style\",syntax:\"none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | <string>\",relevance:50,browsers:[\"E79\",\"FF46\",\"S7\",\"C25\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style\"}],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.\"},{name:\"text-size-adjust\",status:\"experimental\",syntax:\"none | auto | <percentage>\",relevance:57,browsers:[\"E79\",\"C54\",\"O41\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-size-adjust\"}],description:\"The text-size-adjust CSS property controls the text inflation algorithm used on some smartphones and tablets. Other browsers will ignore this property.\"},{name:\"text-underline-offset\",syntax:\"auto | <length> | <percentage> \",relevance:50,browsers:[\"E87\",\"FF70\",\"S12.1\",\"C87\",\"O73\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/text-underline-offset\"}],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.\"},{name:\"transform-box\",syntax:\"content-box | border-box | fill-box | stroke-box | view-box\",relevance:50,browsers:[\"E79\",\"FF55\",\"S11\",\"C64\",\"O51\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/transform-box\"}],description:\"The transform-box CSS property defines the layout box to which the transform and transform-origin properties relate.\"},{name:\"translate\",syntax:\"none | <length-percentage> [ <length-percentage> <length>? ]?\",relevance:50,browsers:[\"FF72\",\"S14.1\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/translate\"}],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.\"},{name:\"speak-as\",syntax:\"auto | bullets | numbers | words | spell-out | <counter-style-name>\",relevance:50,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.\"},{name:\"ascent-override\",status:\"experimental\",syntax:\"normal | <percentage>\",relevance:50,description:\"Describes the ascent metric of a font.\"},{name:\"descent-override\",status:\"experimental\",syntax:\"normal | <percentage>\",relevance:50,description:\"Describes the descent metric of a font.\"},{name:\"font-display\",status:\"experimental\",syntax:\"[ auto | block | swap | fallback | optional ]\",relevance:71,description:\"The font-display descriptor determines how a font face is displayed based on whether and when it is downloaded and ready to use.\"},{name:\"line-gap-override\",status:\"experimental\",syntax:\"normal | <percentage>\",relevance:50,description:\"Describes the line-gap metric of a font.\"},{name:\"size-adjust\",status:\"experimental\",syntax:\"<percentage>\",relevance:50,description:\"A multiplier for glyph outlines and metrics of a font.\"},{name:\"bleed\",syntax:\"auto | <length>\",relevance:50,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.\"},{name:\"marks\",syntax:\"none | [ crop || cross ]\",relevance:50,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.\"},{name:\"syntax\",status:\"experimental\",syntax:\"<string>\",relevance:50,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.\"},{name:\"inherits\",status:\"experimental\",syntax:\"true | false\",relevance:50,description:\"Specifies the inherit flag of the custom property registration represented by the @property rule, controlling whether or not the property inherits by default.\"},{name:\"initial-value\",status:\"experimental\",syntax:\"<string>\",relevance:50,description:\"Specifies the initial value of the custom property registration represented by the @property rule, controlling the property\\u2019s initial value.\"},{name:\"max-zoom\",syntax:\"auto | <number> | <percentage>\",relevance:50,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.`},{name:\"min-zoom\",syntax:\"auto | <number> | <percentage>\",relevance:50,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.`},{name:\"orientation\",syntax:\"auto | portrait | landscape\",relevance:50,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).\"},{name:\"user-zoom\",syntax:\"zoom | fixed\",relevance:50,description:\"The user-zoom CSS descriptor controls whether or not the user can change the zoom factor of a document defined by @viewport.\"},{name:\"viewport-fit\",syntax:\"auto | contain | cover\",relevance:50,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.\"}],atDirectives:[{name:\"@charset\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/@charset\"}],description:\"Defines character set of the document.\"},{name:\"@counter-style\",browsers:[\"E91\",\"FF33\",\"C91\",\"O77\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/@counter-style\"}],description:\"Defines a custom counter style.\"},{name:\"@font-face\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/@font-face\"}],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.\"},{name:\"@font-feature-values\",browsers:[\"FF34\",\"S9.1\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/@font-feature-values\"}],description:\"Defines named values for the indices used to select alternate glyphs for a given font family.\"},{name:\"@import\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/@import\"}],description:\"Includes content of another file.\"},{name:\"@keyframes\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/@keyframes\"}],description:\"Defines set of animation key frames.\"},{name:\"@media\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/@media\"}],description:\"Defines a stylesheet for a particular media type.\"},{name:\"@-moz-document\",browsers:[\"FF1.8\"],description:\"Gecko-specific at-rule that restricts the style rules contained within it based on the URL of the document.\"},{name:\"@-moz-keyframes\",browsers:[\"FF5\"],description:\"Defines set of animation key frames.\"},{name:\"@-ms-viewport\",browsers:[\"E\",\"IE10\"],description:\"Specifies the size, zoom factor, and orientation of the viewport.\"},{name:\"@namespace\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/@namespace\"}],description:\"Declares a prefix and associates it with a namespace name.\"},{name:\"@-o-keyframes\",browsers:[\"O12\"],description:\"Defines set of animation key frames.\"},{name:\"@-o-viewport\",browsers:[\"O11\"],description:\"Specifies the size, zoom factor, and orientation of the viewport.\"},{name:\"@page\",browsers:[\"E12\",\"FF19\",\"C2\",\"IE8\",\"O6\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/@page\"}],description:\"Directive defines various page parameters.\"},{name:\"@supports\",browsers:[\"E12\",\"FF22\",\"S9\",\"C28\",\"O12.1\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/@supports\"}],description:\"A conditional group rule whose condition tests whether the user agent supports CSS property:value pairs.\"},{name:\"@-webkit-keyframes\",browsers:[\"C\",\"S4\"],description:\"Defines set of animation key frames.\"}],pseudoClasses:[{name:\":active\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:active\"}],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.\"},{name:\":any-link\",browsers:[\"E79\",\"FF50\",\"S9\",\"C65\",\"O52\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:any-link\"}],description:\"Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links.\"},{name:\":checked\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:checked\"}],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.\"},{name:\":corner-present\",browsers:[\"C\",\"S5\"],description:\"Non-standard. Indicates whether or not a scrollbar corner is present.\"},{name:\":decrement\",browsers:[\"C\",\"S5\"],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.\"},{name:\":default\",browsers:[\"E79\",\"FF4\",\"S5\",\"C10\",\"O10\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:default\"}],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.\"},{name:\":disabled\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:disabled\"}],description:\"Represents user interface elements that are in a disabled state; such elements have a corresponding enabled state.\"},{name:\":double-button\",browsers:[\"C\",\"S5\"],description:\"Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed together at the same end of the scrollbar.\"},{name:\":empty\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:empty\"}],description:\"Represents an element that has no children at all.\"},{name:\":enabled\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:enabled\"}],description:\"Represents user interface elements that are in an enabled state; such elements have a corresponding disabled state.\"},{name:\":end\",browsers:[\"C\",\"S5\"],description:\"Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed after the thumb.\"},{name:\":first\",browsers:[\"E12\",\"S6\",\"C18\",\"IE8\",\"O9.2\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:first\"}],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.\"},{name:\":first-child\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:first-child\"}],description:\"Same as :nth-child(1). Represents an element that is the first child of some other element.\"},{name:\":first-of-type\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:first-of-type\"}],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.\"},{name:\":focus\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:focus\"}],description:\"Applies while an element has the focus (accepts keyboard or mouse events, or other forms of input).\"},{name:\":fullscreen\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:fullscreen\"}],description:\"Matches any element that has its fullscreen flag set.\"},{name:\":future\",browsers:[\"S7\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:future\"}],description:\"Represents any element that is defined to occur entirely after a :current element.\"},{name:\":horizontal\",browsers:[\"C\",\"S5\"],description:\"Non-standard. Applies to any scrollbar pieces that have a horizontal orientation.\"},{name:\":host\",browsers:[\"E79\",\"FF63\",\"S10\",\"C54\",\"O41\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:host\"}],description:\"When evaluated in the context of a shadow tree, matches the shadow tree\\u2019s host element.\"},{name:\":host()\",browsers:[\"C35\",\"O22\"],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.\"},{name:\":host-context()\",browsers:[\"C35\",\"O22\"],description:\"Tests whether there is an ancestor, outside the shadow tree, which matches a particular selector.\"},{name:\":hover\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:hover\"}],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.\"},{name:\":increment\",browsers:[\"C\",\"S5\"],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.\"},{name:\":indeterminate\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:indeterminate\"}],description:\"Applies to UI elements whose value is in an indeterminate state.\"},{name:\":in-range\",browsers:[\"E13\",\"FF29\",\"S5.1\",\"C10\",\"O11\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:in-range\"}],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.\"},{name:\":invalid\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:invalid\"}],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.\"},{name:\":lang()\",browsers:[\"E\",\"C\",\"FF1\",\"IE8\",\"O8\",\"S3\"],description:\"Represents an element that is in language specified.\"},{name:\":last-child\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:last-child\"}],description:\"Same as :nth-last-child(1). Represents an element that is the last child of some other element.\"},{name:\":last-of-type\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:last-of-type\"}],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.\"},{name:\":left\",browsers:[\"E12\",\"S5.1\",\"C6\",\"IE8\",\"O9.2\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:left\"}],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.\"},{name:\":link\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:link\"}],description:\"Applies to links that have not yet been visited.\"},{name:\":matches()\",browsers:[\"S9\"],description:\"Takes a selector list as its argument. It represents an element that is represented by its argument.\"},{name:\":-moz-any()\",browsers:[\"FF4\"],description:\"Represents an element that is represented by the selector list passed as its argument. Standardized as :matches().\"},{name:\":-moz-any-link\",browsers:[\"FF1\"],description:\"Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links.\"},{name:\":-moz-broken\",browsers:[\"FF3\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:-moz-broken\"}],description:\"Non-standard. Matches elements representing broken images.\"},{name:\":-moz-drag-over\",browsers:[\"FF1\"],description:\"Non-standard. Matches elements when a drag-over event applies to it.\"},{name:\":-moz-first-node\",browsers:[\"FF1\"],description:\"Non-standard. Represents an element that is the first child node of some other element.\"},{name:\":-moz-focusring\",browsers:[\"FF4\"],description:\"Non-standard. Matches an element that has focus and focus ring drawing is enabled in the browser.\"},{name:\":-moz-full-screen\",browsers:[\"FF9\"],description:\"Matches any element that has its fullscreen flag set. Standardized as :fullscreen.\"},{name:\":-moz-last-node\",browsers:[\"FF1\"],description:\"Non-standard. Represents an element that is the last child node of some other element.\"},{name:\":-moz-loading\",browsers:[\"FF3\"],description:\"Non-standard. Matches elements, such as images, that haven\\u2019t started loading yet.\"},{name:\":-moz-only-whitespace\",browsers:[\"FF1\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:-moz-only-whitespace\"}],description:\"The same as :empty, except that it additionally matches elements that only contain code points affected by whitespace processing. Standardized as :blank.\"},{name:\":-moz-placeholder\",browsers:[\"FF4\"],description:\"Deprecated. Represents placeholder text in an input field. Use ::-moz-placeholder for Firefox 19+.\"},{name:\":-moz-submit-invalid\",browsers:[\"FF88\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:-moz-submit-invalid\"}],description:\"Non-standard. Represents any submit button when the contents of the associated form are not valid.\"},{name:\":-moz-suppressed\",browsers:[\"FF3\"],description:\"Non-standard. Matches elements representing images that have been blocked from loading.\"},{name:\":-moz-ui-invalid\",browsers:[\"FF4\"],description:\"Non-standard. Represents any validated form element whose value isn't valid \"},{name:\":-moz-ui-valid\",browsers:[\"FF4\"],description:\"Non-standard. Represents any validated form element whose value is valid \"},{name:\":-moz-user-disabled\",browsers:[\"FF3\"],description:\"Non-standard. Matches elements representing images that have been disabled due to the user\\u2019s preferences.\"},{name:\":-moz-window-inactive\",browsers:[\"FF4\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:-moz-window-inactive\"}],description:\"Non-standard. Matches elements in an inactive window.\"},{name:\":-ms-fullscreen\",browsers:[\"IE11\"],description:\"Matches any element that has its fullscreen flag set.\"},{name:\":-ms-input-placeholder\",browsers:[\"IE10\"],description:\"Represents placeholder text in an input field. Note: for Edge use the pseudo-element ::-ms-input-placeholder. Standardized as ::placeholder.\"},{name:\":-ms-keyboard-active\",browsers:[\"IE10\"],description:\"Windows Store apps only. Applies one or more styles to an element when it has focus and the user presses the space bar.\"},{name:\":-ms-lang()\",browsers:[\"E\",\"IE10\"],description:\"Represents an element that is in the language specified. Accepts a comma separated list of language tokens.\"},{name:\":no-button\",browsers:[\"C\",\"S5\"],description:\"Non-standard. Applies to track pieces. Applies when there is no button at that end of the track.\"},{name:\":not()\",browsers:[\"E\",\"C\",\"FF1\",\"IE9\",\"O9.5\",\"S2\"],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.\"},{name:\":nth-child()\",browsers:[\"E\",\"C\",\"FF3.5\",\"IE9\",\"O9.5\",\"S3.1\"],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.\"},{name:\":nth-last-child()\",browsers:[\"E\",\"C\",\"FF3.5\",\"IE9\",\"O9.5\",\"S3.1\"],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.\"},{name:\":nth-last-of-type()\",browsers:[\"E\",\"C\",\"FF3.5\",\"IE9\",\"O9.5\",\"S3.1\"],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.\"},{name:\":nth-of-type()\",browsers:[\"E\",\"C\",\"FF3.5\",\"IE9\",\"O9.5\",\"S3.1\"],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.\"},{name:\":only-child\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:only-child\"}],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.\"},{name:\":only-of-type\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:only-of-type\"}],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.\"},{name:\":optional\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:optional\"}],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.\"},{name:\":out-of-range\",browsers:[\"E13\",\"FF29\",\"S5.1\",\"C10\",\"O11\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:out-of-range\"}],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.\"},{name:\":past\",browsers:[\"S7\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:past\"}],description:\"Represents any element that is defined to occur entirely prior to a :current element.\"},{name:\":read-only\",browsers:[\"E13\",\"FF78\",\"S4\",\"C1\",\"O9\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:read-only\"}],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.\"},{name:\":read-write\",browsers:[\"E13\",\"FF78\",\"S4\",\"C1\",\"O9\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:read-write\"}],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.\"},{name:\":required\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:required\"}],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.\"},{name:\":right\",browsers:[\"E12\",\"S5.1\",\"C6\",\"IE8\",\"O9.2\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:right\"}],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.\"},{name:\":root\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:root\"}],description:\"Represents an element that is the root of the document. In HTML 4, this is always the HTML element.\"},{name:\":scope\",browsers:[\"E79\",\"FF32\",\"S7\",\"C27\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:scope\"}],description:\"Represents any element that is in the contextual reference element set.\"},{name:\":single-button\",browsers:[\"C\",\"S5\"],description:\"Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed separately at either end of the scrollbar.\"},{name:\":start\",browsers:[\"C\",\"S5\"],description:\"Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed before the thumb.\"},{name:\":target\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:target\"}],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).\"},{name:\":valid\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:valid\"}],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.\"},{name:\":vertical\",browsers:[\"C\",\"S5\"],description:\"Non-standard. Applies to any scrollbar pieces that have a vertical orientation.\"},{name:\":visited\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:visited\"}],description:\"Applies once the link has been visited by the user.\"},{name:\":-webkit-any()\",browsers:[\"C\",\"S5\"],description:\"Represents an element that is represented by the selector list passed as its argument. Standardized as :matches().\"},{name:\":-webkit-full-screen\",browsers:[\"C\",\"S6\"],description:\"Matches any element that has its fullscreen flag set. Standardized as :fullscreen.\"},{name:\":window-inactive\",browsers:[\"C\",\"S3\"],description:\"Non-standard. Applies to all scrollbar pieces. Indicates whether or not the window containing the scrollbar is currently active.\"},{name:\":current\",status:\"experimental\",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\"},{name:\":blank\",status:\"experimental\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:blank\"}],description:\"The :blank CSS pseudo-class selects empty user input elements (eg. <input> or <textarea>).\"},{name:\":defined\",status:\"experimental\",browsers:[\"E79\",\"FF63\",\"S10\",\"C54\",\"O41\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:defined\"}],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).\"},{name:\":dir\",browsers:[\"FF49\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:dir\"}],description:\"The :dir() CSS pseudo-class matches elements based on the directionality of the text contained in them.\"},{name:\":focus-visible\",browsers:[\"E86\",\"FF85\",\"C86\",\"O72\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:focus-visible\"}],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.\"},{name:\":focus-within\",browsers:[\"E79\",\"FF52\",\"S10.1\",\"C60\",\"O47\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:focus-within\"}],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.\"},{name:\":has\",status:\"experimental\",browsers:[\"Spreview\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:has\"}],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.\"},{name:\":is\",status:\"experimental\",browsers:[\"E88\",\"FF78\",\"S14\",\"C88\",\"O74\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:is\"}],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.\"},{name:\":local-link\",status:\"experimental\",description:\"The :local-link CSS pseudo-class represents an link to the same document\"},{name:\":nth-col\",status:\"experimental\",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. \"},{name:\":nth-last-col\",status:\"experimental\",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.\"},{name:\":paused\",status:\"experimental\",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.\"},{name:\":placeholder-shown\",status:\"experimental\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:placeholder-shown\"}],description:\"The :placeholder-shown CSS pseudo-class represents any <input> or <textarea> element that is currently displaying placeholder text.\"},{name:\":playing\",status:\"experimental\",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. \"},{name:\":target-within\",status:\"experimental\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:target-within\"}],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.\"},{name:\":user-invalid\",status:\"experimental\",browsers:[\"FF88\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:user-invalid\"}],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.\"},{name:\":user-valid\",status:\"experimental\",browsers:[\"FF88\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:user-valid\"}],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.\"},{name:\":where\",status:\"experimental\",browsers:[\"E88\",\"FF78\",\"S14\",\"C88\",\"O74\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/:where\"}],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.\"},{name:\":picture-in-picture\",status:\"experimental\",description:\"The :picture-in-picture CSS pseudo-class matches the element which is currently in picture-in-picture mode.\"}],pseudoElements:[{name:\"::after\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::after\"}],description:\"Represents a styleable child pseudo-element immediately after the originating element\\u2019s actual content.\"},{name:\"::backdrop\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::backdrop\"}],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).\"},{name:\"::before\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::before\"}],description:\"Represents a styleable child pseudo-element immediately before the originating element\\u2019s actual content.\"},{name:\"::content\",browsers:[\"C35\",\"O22\"],description:\"Deprecated. Matches the distribution list itself, on elements that have one. Use ::slotted for forward compatibility.\"},{name:\"::cue\",browsers:[\"E79\",\"FF55\",\"S7\",\"C26\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::cue\"}]},{name:\"::cue()\",browsers:[\"C\",\"O16\",\"S6\"]},{name:\"::cue-region\",browsers:[\"C\",\"O16\",\"S6\"]},{name:\"::cue-region()\",browsers:[\"C\",\"O16\",\"S6\"]},{name:\"::first-letter\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::first-letter\"}],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.\"},{name:\"::first-line\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::first-line\"}],description:\"Describes the contents of the first formatted line of its originating element.\"},{name:\"::-moz-focus-inner\",browsers:[\"FF4\"]},{name:\"::-moz-focus-outer\",browsers:[\"FF4\"]},{name:\"::-moz-list-bullet\",browsers:[\"FF1\"],description:\"Used to style the bullet of a list element. Similar to the standardized ::marker.\"},{name:\"::-moz-list-number\",browsers:[\"FF1\"],description:\"Used to style the numbers of a list element. Similar to the standardized ::marker.\"},{name:\"::-moz-placeholder\",browsers:[\"FF19\"],description:\"Represents placeholder text in an input field\"},{name:\"::-moz-progress-bar\",browsers:[\"FF9\"],description:\"Represents the bar portion of a progress bar.\"},{name:\"::-moz-selection\",browsers:[\"FF1\"],description:\"Represents the portion of a document that has been highlighted by the user.\"},{name:\"::-ms-backdrop\",browsers:[\"IE11\"],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).\"},{name:\"::-ms-browse\",browsers:[\"E\",\"IE10\"],description:\"Represents the browse button of an input type=file control.\"},{name:\"::-ms-check\",browsers:[\"E\",\"IE10\"],description:\"Represents the check of a checkbox or radio button input control.\"},{name:\"::-ms-clear\",browsers:[\"E\",\"IE10\"],description:\"Represents the clear button of a text input control\"},{name:\"::-ms-expand\",browsers:[\"E\",\"IE10\"],description:\"Represents the drop-down button of a select control.\"},{name:\"::-ms-fill\",browsers:[\"E\",\"IE10\"],description:\"Represents the bar portion of a progress bar.\"},{name:\"::-ms-fill-lower\",browsers:[\"E\",\"IE10\"],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.\"},{name:\"::-ms-fill-upper\",browsers:[\"E\",\"IE10\"],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.\"},{name:\"::-ms-reveal\",browsers:[\"E\",\"IE10\"],description:\"Represents the password reveal button of an input type=password control.\"},{name:\"::-ms-thumb\",browsers:[\"E\",\"IE10\"],description:\"Represents the portion of range input control (also known as a slider control) that the user drags.\"},{name:\"::-ms-ticks-after\",browsers:[\"E\",\"IE10\"],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.\"},{name:\"::-ms-ticks-before\",browsers:[\"E\",\"IE10\"],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.\"},{name:\"::-ms-tooltip\",browsers:[\"E\",\"IE10\"],description:\"Represents the tooltip of a slider (input type=range).\"},{name:\"::-ms-track\",browsers:[\"E\",\"IE10\"],description:\"Represents the track of a slider.\"},{name:\"::-ms-value\",browsers:[\"E\",\"IE10\"],description:\"Represents the content of a text or password input control, or a select control.\"},{name:\"::selection\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::selection\"}],description:\"Represents the portion of a document that has been highlighted by the user.\"},{name:\"::shadow\",browsers:[\"C35\",\"O22\"],description:\"Matches the shadow root if an element has a shadow tree.\"},{name:\"::-webkit-file-upload-button\",browsers:[\"C\",\"O\",\"S6\"]},{name:\"::-webkit-inner-spin-button\",browsers:[\"E79\",\"S5\",\"C6\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::-webkit-inner-spin-button\"}]},{name:\"::-webkit-input-placeholder\",browsers:[\"C\",\"S4\"]},{name:\"::-webkit-keygen-select\",browsers:[\"C\",\"O\",\"S6\"]},{name:\"::-webkit-meter-bar\",browsers:[\"E79\",\"S5.1\",\"C12\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-bar\"}]},{name:\"::-webkit-meter-even-less-good-value\",browsers:[\"E79\",\"S5.1\",\"C12\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-even-less-good-value\"}]},{name:\"::-webkit-meter-optimum-value\",browsers:[\"E79\",\"S5.1\",\"C12\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-optimum-value\"}]},{name:\"::-webkit-meter-suboptimum-value\",browsers:[\"E79\",\"S5.1\",\"C12\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-suboptimum-value\"}]},{name:\"::-webkit-outer-spin-button\",browsers:[\"S5\",\"C6\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::-webkit-outer-spin-button\"}]},{name:\"::-webkit-progress-bar\",browsers:[\"E79\",\"S7\",\"C25\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-bar\"}]},{name:\"::-webkit-progress-inner-element\",browsers:[\"E79\",\"S7\",\"C23\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-inner-element\"}]},{name:\"::-webkit-progress-value\",browsers:[\"E79\",\"S7\",\"C25\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-value\"}]},{name:\"::-webkit-resizer\",browsers:[\"E79\",\"S4\",\"C2\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar\"}]},{name:\"::-webkit-scrollbar\",browsers:[\"E79\",\"S4\",\"C2\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar\"}]},{name:\"::-webkit-scrollbar-button\",browsers:[\"E79\",\"S4\",\"C2\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar\"}]},{name:\"::-webkit-scrollbar-corner\",browsers:[\"E79\",\"S4\",\"C2\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar\"}]},{name:\"::-webkit-scrollbar-thumb\",browsers:[\"E79\",\"S4\",\"C2\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar\"}]},{name:\"::-webkit-scrollbar-track\",browsers:[\"E79\",\"S4\",\"C2\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar\"}]},{name:\"::-webkit-scrollbar-track-piece\",browsers:[\"E79\",\"S4\",\"C2\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar\"}]},{name:\"::-webkit-search-cancel-button\",browsers:[\"E79\",\"S3\",\"C1\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-cancel-button\"}]},{name:\"::-webkit-search-decoration\",browsers:[\"C\",\"S4\"]},{name:\"::-webkit-search-results-button\",browsers:[\"E79\",\"S3\",\"C1\",\"O15\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-results-button\"}]},{name:\"::-webkit-search-results-decoration\",browsers:[\"C\",\"S4\"]},{name:\"::-webkit-slider-runnable-track\",browsers:[\"C\",\"O\",\"S6\"]},{name:\"::-webkit-slider-thumb\",browsers:[\"C\",\"O\",\"S6\"]},{name:\"::-webkit-textfield-decoration-container\",browsers:[\"C\",\"O\",\"S6\"]},{name:\"::-webkit-validation-bubble\",browsers:[\"C\",\"O\",\"S6\"]},{name:\"::-webkit-validation-bubble-arrow\",browsers:[\"C\",\"O\",\"S6\"]},{name:\"::-webkit-validation-bubble-arrow-clipper\",browsers:[\"C\",\"O\",\"S6\"]},{name:\"::-webkit-validation-bubble-heading\",browsers:[\"C\",\"O\",\"S6\"]},{name:\"::-webkit-validation-bubble-message\",browsers:[\"C\",\"O\",\"S6\"]},{name:\"::-webkit-validation-bubble-text-block\",browsers:[\"C\",\"O\",\"S6\"]},{name:\"::target-text\",status:\"experimental\",browsers:[\"E89\",\"C89\",\"O75\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::target-text\"}],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.\"},{name:\"::-moz-range-progress\",status:\"nonstandard\",browsers:[\"FF22\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-progress\"}],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).'},{name:\"::-moz-range-thumb\",status:\"nonstandard\",browsers:[\"FF21\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-thumb\"}],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.`},{name:\"::-moz-range-track\",status:\"nonstandard\",browsers:[\"FF21\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-track\"}],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\".'},{name:\"::-webkit-progress-inner-value\",status:\"nonstandard\",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.`},{name:\"::grammar-error\",status:\"experimental\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::grammar-error\"}],description:\"The ::grammar-error CSS pseudo-element represents a text segment which the user agent has flagged as grammatically incorrect.\"},{name:\"::marker\",browsers:[\"E86\",\"FF68\",\"S11.1\",\"C86\",\"O72\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::marker\"}],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.\"},{name:\"::part\",status:\"experimental\",browsers:[\"E79\",\"FF72\",\"S13.1\",\"C73\",\"O60\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::part\"}],description:\"The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute.\"},{name:\"::placeholder\",browsers:[\"E79\",\"FF51\",\"S10.1\",\"C57\",\"O44\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::placeholder\"}],description:\"The ::placeholder CSS pseudo-element represents the placeholder text of a form element.\"},{name:\"::slotted\",browsers:[\"E79\",\"FF63\",\"S10\",\"C50\",\"O37\"],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::slotted\"}],description:\"The :slotted() CSS pseudo-element represents any element that has been placed into a slot inside an HTML template.\"},{name:\"::spelling-error\",status:\"experimental\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/CSS/::spelling-error\"}],description:\"The ::spelling-error CSS pseudo-element represents a text segment which the user agent has flagged as incorrectly spelled.\"}]},Lo=function(){function e(t){this._properties=[],this._atDirectives=[],this._pseudoClasses=[],this._pseudoElements=[],this.addData(t)}return e.prototype.provideProperties=function(){return this._properties},e.prototype.provideAtDirectives=function(){return this._atDirectives},e.prototype.providePseudoClasses=function(){return this._pseudoClasses},e.prototype.providePseudoElements=function(){return this._pseudoElements},e.prototype.addData=function(t){if(Array.isArray(t.properties))for(var n=0,r=t.properties;n<r.length;n++){var i=r[n];Td(i)&&this._properties.push(i)}if(Array.isArray(t.atDirectives))for(var a=0,o=t.atDirectives;a<o.length;a++){var i=o[a];Wd(i)&&this._atDirectives.push(i)}if(Array.isArray(t.pseudoClasses))for(var l=0,h=t.pseudoClasses;l<h.length;l++){var i=h[l];Od(i)&&this._pseudoClasses.push(i)}if(Array.isArray(t.pseudoElements))for(var c=0,d=t.pseudoElements;c<d.length;c++){var i=d[c];Vd(i)&&this._pseudoElements.push(i)}},e}();function Td(e){return typeof e.name==\"string\"}function Wd(e){return typeof e.name==\"string\"}function Od(e){return typeof e.name==\"string\"}function Vd(e){return typeof e.name==\"string\"}var yi=function(){function e(t){this.dataProviders=[],this._propertySet={},this._atDirectiveSet={},this._pseudoClassSet={},this._pseudoElementSet={},this._properties=[],this._atDirectives=[],this._pseudoClasses=[],this._pseudoElements=[],this.setDataProviders((t==null?void 0:t.useDefaultDataProvider)!==!1,(t==null?void 0:t.customDataProviders)||[])}return e.prototype.setDataProviders=function(t,n){var r;this.dataProviders=[],t&&this.dataProviders.push(new Lo(Ld)),(r=this.dataProviders).push.apply(r,n),this.collectData()},e.prototype.collectData=function(){var t=this;this._propertySet={},this._atDirectiveSet={},this._pseudoClassSet={},this._pseudoElementSet={},this.dataProviders.forEach(function(n){n.provideProperties().forEach(function(r){t._propertySet[r.name]||(t._propertySet[r.name]=r)}),n.provideAtDirectives().forEach(function(r){t._atDirectiveSet[r.name]||(t._atDirectiveSet[r.name]=r)}),n.providePseudoClasses().forEach(function(r){t._pseudoClassSet[r.name]||(t._pseudoClassSet[r.name]=r)}),n.providePseudoElements().forEach(function(r){t._pseudoElementSet[r.name]||(t._pseudoElementSet[r.name]=r)})}),this._properties=Ln(this._propertySet),this._atDirectives=Ln(this._atDirectiveSet),this._pseudoClasses=Ln(this._pseudoClassSet),this._pseudoElements=Ln(this._pseudoElementSet)},e.prototype.getProperty=function(t){return this._propertySet[t]},e.prototype.getAtDirective=function(t){return this._atDirectiveSet[t]},e.prototype.getPseudoClass=function(t){return this._pseudoClassSet[t]},e.prototype.getPseudoElement=function(t){return this._pseudoElementSet[t]},e.prototype.getProperties=function(){return this._properties},e.prototype.getAtDirectives=function(){return this._atDirectives},e.prototype.getPseudoClasses=function(){return this._pseudoClasses},e.prototype.getPseudoElements=function(){return this._pseudoElements},e.prototype.isKnownProperty=function(t){return t.toLowerCase()in this._propertySet},e.prototype.isStandardProperty=function(t){return this.isKnownProperty(t)&&(!this._propertySet[t.toLowerCase()].status||this._propertySet[t.toLowerCase()].status===\"standard\")},e}();function Ud(e,t,n){function r(a){for(var o=i(a),l=void 0,h=o.length-1;h>=0;h--)l=An.create(Z.create(e.positionAt(o[h][0]),e.positionAt(o[h][1])),l);return l||(l=An.create(Z.create(a,a))),l}return t.map(r);function i(a){var o=e.offsetAt(a),l=n.findChildAtOffset(o,!0);if(!l)return[];for(var h=[];l;){if(l.parent&&l.offset===l.parent.offset&&l.end===l.parent.end){l=l.parent;continue}l.type===m.Declarations&&o>l.offset&&o<l.end&&h.push([l.offset+1,l.end-1]),h.push([l.offset,l.end]),l=l.parent}return h}}var Bd=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])},e(t,n)};return function(t,n){if(typeof n!=\"function\"&&n!==null)throw new TypeError(\"Class extends value \"+String(n)+\" is not a constructor or null\");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),jd=function(e,t,n,r){function i(a){return a instanceof n?a:new n(function(o){o(a)})}return new(n||(n=Promise))(function(a,o){function l(d){try{c(r.next(d))}catch(p){o(p)}}function h(d){try{c(r.throw(d))}catch(p){o(p)}}function c(d){d.done?a(d.value):i(d.value).then(l,h)}c((r=r.apply(e,t||[])).next())})},qd=function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol==\"function\"&&(o[Symbol.iterator]=function(){return this}),o;function l(c){return function(d){return h([c,d])}}function h(c){if(r)throw new TypeError(\"Generator is already executing.\");for(;n;)try{if(r=1,i&&(a=c[0]&2?i.return:c[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;switch(i=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){n.label=c[1];break}if(c[0]===6&&n.label<a[1]){n.label=a[1],a=c;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(c);break}a[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(d){c=[6,d],i=0}finally{r=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},$d=function(e){Bd(t,e);function t(n){return e.call(this,n,!0)||this}return t.prototype.isRawStringDocumentLinkNode=function(n){return e.prototype.isRawStringDocumentLinkNode.call(this,n)||n.type===m.Use||n.type===m.Forward},t.prototype.resolveRelativeReference=function(n,r,i,a){return jd(this,void 0,void 0,function(){function o(p){if(p.path!==\"\"&&!(p.path.endsWith(\".scss\")||p.path.endsWith(\".css\"))){if(p.path.endsWith(\"/\"))return[p.with({path:p.path+\"index.scss\"}).toString(),p.with({path:p.path+\"_index.scss\"}).toString()];var f=p.path.split(\"/\"),g=f[f.length-1],w=p.path.slice(0,-g.length);if(g.startsWith(\"_\"))return p.path.endsWith(\".scss\")?void 0:[p.with({path:p.path+\".scss\"}).toString()];var b=g+\".scss\",y=function(P){return p.with({path:w+P}).toString()},A=y(b),C=y(\"_\"+b),R=y(b.slice(0,-5)+\"/index.scss\"),k=y(b.slice(0,-5)+\"/_index.scss\"),F=y(b.slice(0,-5)+\".css\");return[A,C,R,k,F]}}var l,h,c,d;return qd(this,function(p){switch(p.label){case 0:return oe(n,\"sass:\")?[2,void 0]:[4,e.prototype.resolveRelativeReference.call(this,n,r,i,a)];case 1:if(l=p.sent(),!(this.fileSystemProvider&&l&&a))return[3,8];h=Yr.parse(l),p.label=2;case 2:if(p.trys.push([2,7,,8]),c=o(h),!c)return[3,6];d=0,p.label=3;case 3:return d<c.length?[4,this.fileExists(c[d])]:[3,6];case 4:if(p.sent())return[2,c[d]];p.label=5;case 5:return d++,[3,3];case 6:return[3,8];case 7:return p.sent(),[3,8];case 8:return[2,l]}})})},t}(si);function Hd(e){return new Lo(e)}function wi(e,t,n,r,i,a,o){return{configure:function(l){a.configure(l),t.configure(l==null?void 0:l.completion),n.configure(l==null?void 0:l.hover)},setDataProviders:o.setDataProviders.bind(o),doValidation:a.doValidation.bind(a),parseStylesheet:e.parseStylesheet.bind(e),doComplete:t.doComplete.bind(t),doComplete2:t.doComplete2.bind(t),setCompletionParticipants:t.setCompletionParticipants.bind(t),doHover:n.doHover.bind(n),findDefinition:r.findDefinition.bind(r),findReferences:r.findReferences.bind(r),findDocumentHighlights:r.findDocumentHighlights.bind(r),findDocumentLinks:r.findDocumentLinks.bind(r),findDocumentLinks2:r.findDocumentLinks2.bind(r),findDocumentSymbols:r.findDocumentSymbols.bind(r),doCodeActions:i.doCodeActions.bind(i),doCodeActions2:i.doCodeActions2.bind(i),findDocumentColors:r.findDocumentColors.bind(r),getColorPresentations:r.getColorPresentations.bind(r),doRename:r.doRename.bind(r),getFoldingRanges:Nd,getSelectionRanges:Ud}}var xi={};function Gd(e){e===void 0&&(e=xi);var t=new yi(e);return wi(new Jr,new ti(null,e,t),new ai(e&&e.clientCapabilities,t),new si(e&&e.fileSystemProvider,!1),new oi(t),new hi(t),t)}function Jd(e){e===void 0&&(e=xi);var t=new yi(e);return wi(new xd,new Cd(e,t),new ai(e&&e.clientCapabilities,t),new $d(e&&e.fileSystemProvider),new oi(t),new hi(t),t)}function Xd(e){e===void 0&&(e=xi);var t=new yi(e);return wi(new Ad,new Md(e,t),new ai(e&&e.clientCapabilities,t),new si(e&&e.fileSystemProvider,!0),new oi(t),new hi(t),t)}var Yd=class{constructor(e,t){sn(this,\"_ctx\");sn(this,\"_languageService\");sn(this,\"_languageSettings\");sn(this,\"_languageId\");this._ctx=e,this._languageSettings=t.options,this._languageId=t.languageId;const n=t.options.data,r=n==null?void 0:n.useDefaultDataProvider,i=[];if(n!=null&&n.dataProviders)for(const o in n.dataProviders)i.push(Hd(n.dataProviders[o]));const a={customDataProviders:i,useDefaultDataProvider:r};switch(this._languageId){case\"css\":this._languageService=Gd(a);break;case\"less\":this._languageService=Xd(a);break;case\"scss\":this._languageService=Jd(a);break;default:throw new Error(\"Invalid language id: \"+this._languageId)}this._languageService.configure(this._languageSettings)}async doValidation(e){let t=this._getTextDocument(e);if(t){let n=this._languageService.parseStylesheet(t),r=this._languageService.doValidation(t,n);return Promise.resolve(r)}return Promise.resolve([])}async doComplete(e,t){let n=this._getTextDocument(e);if(!n)return null;let r=this._languageService.parseStylesheet(n),i=this._languageService.doComplete(n,t,r);return Promise.resolve(i)}async doHover(e,t){let n=this._getTextDocument(e);if(!n)return null;let r=this._languageService.parseStylesheet(n),i=this._languageService.doHover(n,t,r);return Promise.resolve(i)}async findDefinition(e,t){let n=this._getTextDocument(e);if(!n)return null;let r=this._languageService.parseStylesheet(n),i=this._languageService.findDefinition(n,t,r);return Promise.resolve(i)}async findReferences(e,t){let n=this._getTextDocument(e);if(!n)return[];let r=this._languageService.parseStylesheet(n),i=this._languageService.findReferences(n,t,r);return Promise.resolve(i)}async findDocumentHighlights(e,t){let n=this._getTextDocument(e);if(!n)return[];let r=this._languageService.parseStylesheet(n),i=this._languageService.findDocumentHighlights(n,t,r);return Promise.resolve(i)}async findDocumentSymbols(e){let t=this._getTextDocument(e);if(!t)return[];let n=this._languageService.parseStylesheet(t),r=this._languageService.findDocumentSymbols(t,n);return Promise.resolve(r)}async doCodeActions(e,t,n){let r=this._getTextDocument(e);if(!r)return[];let i=this._languageService.parseStylesheet(r),a=this._languageService.doCodeActions(r,t,n,i);return Promise.resolve(a)}async findDocumentColors(e){let t=this._getTextDocument(e);if(!t)return[];let n=this._languageService.parseStylesheet(t),r=this._languageService.findDocumentColors(t,n);return Promise.resolve(r)}async getColorPresentations(e,t,n){let r=this._getTextDocument(e);if(!r)return[];let i=this._languageService.parseStylesheet(r),a=this._languageService.getColorPresentations(r,i,t,n);return Promise.resolve(a)}async getFoldingRanges(e,t){let n=this._getTextDocument(e);if(!n)return[];let r=this._languageService.getFoldingRanges(n,t);return Promise.resolve(r)}async getSelectionRanges(e,t){let n=this._getTextDocument(e);if(!n)return[];let r=this._languageService.parseStylesheet(n),i=this._languageService.getSelectionRanges(n,t,r);return Promise.resolve(i)}async doRename(e,t,n){let r=this._getTextDocument(e);if(!r)return null;let i=this._languageService.parseStylesheet(r),a=this._languageService.doRename(r,t,n,i);return Promise.resolve(a)}_getTextDocument(e){let t=this._ctx.getMirrorModels();for(let n of t)if(n.uri.toString()===e)return Hr.create(e,this._languageId,n.version,n.getValue());return null}};self.onmessage=()=>{ja((e,t)=>new Yd(e,t))}})();\n"
  },
  {
    "path": "client/dist/assets/cssMode.51a330cf.js",
    "content": "var Le=Object.defineProperty;var Fe=(e,n,i)=>n in e?Le(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var E=(e,n,i)=>(Fe(e,typeof n!=\"symbol\"?n+\"\":n,i),i);import{m as je}from\"./HMonacoEditor.4fbcd301.js\";import\"./index.becaf6b8.js\";/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var Ne=Object.defineProperty,We=Object.getOwnPropertyDescriptor,Ue=Object.getOwnPropertyNames,Oe=Object.prototype.hasOwnProperty,Ve=(e,n,i,r)=>{if(n&&typeof n==\"object\"||typeof n==\"function\")for(let t of Ue(n))!Oe.call(e,t)&&(i||t!==\"default\")&&Ne(e,t,{get:()=>n[t],enumerable:!(r=We(n,t))||r.enumerable});return e},c={};Ve(c,je);var He=2*60*1e3,ze=class{constructor(e){E(this,\"_defaults\");E(this,\"_idleCheckInterval\");E(this,\"_lastUsedTime\");E(this,\"_configChangeListener\");E(this,\"_worker\");E(this,\"_client\");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)}},Y;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647})(Y||(Y={}));var U;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647})(U||(U={}));var k;(function(e){function n(r,t){return r===Number.MAX_VALUE&&(r=U.MAX_VALUE),t===Number.MAX_VALUE&&(t=U.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 X;(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})(X||(X={}));var Z;(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})(Z||(Z={}));var B;(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})(B||(B={}));var K;(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)&&B.is(t.color)}e.is=i})(K||(K={}));var ee;(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)||C.is(t))&&(s.undefined(t.additionalTextEdits)||s.typedArray(t.additionalTextEdits,C.is))}e.is=i})(ee||(ee={}));var P;(function(e){e.Comment=\"comment\",e.Imports=\"imports\",e.Region=\"region\"})(P||(P={}));var te;(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})(te||(te={}));var $;(function(e){function n(r,t){return{location:r,message:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&X.is(t.location)&&s.string(t.message)}e.is=i})($||($={}));var I;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(I||(I={}));var re;(function(e){e.Unnecessary=1,e.Deprecated=2})(re||(re={}));var ne;(function(e){function n(i){var r=i;return r!=null&&s.string(r.href)}e.is=n})(ne||(ne={}));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,$.is))}e.is=i})(O||(O={}));var M;(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})(M||(M={}));var C;(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})(C||(C={}));var R;(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})(R||(R={}));var _;(function(e){function n(i){var r=i;return typeof r==\"string\"}e.is=n})(_||(_={}));var x;(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 C.is(o)&&(R.is(o.annotationId)||_.is(o.annotationId))}e.is=t})(x||(x={}));var V;(function(e){function n(r,t){return{textDocument:r,edits:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&H.is(t.textDocument)&&Array.isArray(t.edits)}e.is=i})(V||(V={}));var T;(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||_.is(t.annotationId))}e.is=i})(T||(T={}));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||_.is(t.annotationId))}e.is=i})(S||(S={}));var L;(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||_.is(t.annotationId))}e.is=i})(L||(L={}));var q;(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)?T.is(t)||S.is(t)||L.is(t):V.is(t)}))}e.is=n})(q||(q={}));var W=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=C.insert(n,i):_.is(r)?(a=r,t=x.insert(n,i,r)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(r),t=x.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=C.replace(n,i):_.is(r)?(a=r,t=x.replace(n,i,r)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(r),t=x.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=C.del(n):_.is(i)?(t=i,r=x.del(n,i)):(this.assertChangeAnnotations(this.changeAnnotations),t=this.changeAnnotations.manage(i),r=x.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}(),ie=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(_.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 ie(n.changeAnnotations),n.changeAnnotations=this._changeAnnotations.all(),n.documentChanges.forEach(function(r){if(V.is(r)){var t=new W(r.edits,i._changeAnnotations);i._textEditChanges[r.textDocument.uri]=t}})):n.changes&&Object.keys(n.changes).forEach(function(r){var t=new W(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(H.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 W(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 W(t),this._textEditChanges[n]=r}return r}},e.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new ie,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;R.is(i)||_.is(i)?t=i:r=i;var a,o;if(t===void 0?a=T.create(n,r):(o=_.is(t)?t:this._changeAnnotations.manage(t),a=T.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;R.is(r)||_.is(r)?a=r:t=r;var o,u;if(a===void 0?o=S.create(n,i,t):(u=_.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;R.is(i)||_.is(i)?t=i:r=i;var a,o;if(t===void 0?a=L.create(n,r):(o=_.is(t)?t:this._changeAnnotations.manage(t),a=L.create(n,r,o)),this._workspaceEdit.documentChanges.push(a),o!==void 0)return o},e})();var ae;(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})(ae||(ae={}));var oe;(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})(oe||(oe={}));var H;(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})(H||(H={}));var se;(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})(se||(se={}));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 G;(function(e){e.PlainText=1,e.Snippet=2})(G||(G={}));var ue;(function(e){e.Deprecated=1})(ue||(ue={}));var ce;(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})(ce||(ce={}));var de;(function(e){e.asIs=1,e.adjustIndentation=2})(de||(de={}));var fe;(function(e){function n(i){return{label:i}}e.create=n})(fe||(fe={}));var ge;(function(e){function n(i,r){return{items:i||[],isIncomplete:!!r}}e.create=n})(ge||(ge={}));var z;(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})(z||(z={}));var le;(function(e){function n(i){var r=i;return!!r&&s.objectLiteral(r)&&(Q.is(r.contents)||z.is(r.contents)||s.typedArray(r.contents,z.is))&&(i.range===void 0||p.is(i.range))}e.is=n})(le||(le={}));var he;(function(e){function n(i,r){return r?{label:i,documentation:r}:{label:i}}e.create=n})(he||(he={}));var ve;(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})(ve||(ve={}));var D;(function(e){e.Text=1,e.Read=2,e.Write=3})(D||(D={}));var pe;(function(e){function n(i,r){var t={range:i};return s.number(r)&&(t.kind=r),t}e.create=n})(pe||(pe={}));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 _e;(function(e){e.Deprecated=1})(_e||(_e={}));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 we;(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})(we||(we={}));var ke;(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\"})(ke||(ke={}));var be;(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})(be||(be={}));var Ee;(function(e){function n(r,t,a){var o={title:r},u=!0;return typeof t==\"string\"?(u=!1,o.kind=t):M.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||M.is(t.command))&&(t.isPreferred===void 0||s.boolean(t.isPreferred))&&(t.edit===void 0||q.is(t.edit))}e.is=i})(Ee||(Ee={}));var xe;(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)||M.is(t.command))}e.is=i})(xe||(xe={}));var Ce;(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})(Ce||(Ce={}));var Ae;(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})(Ae||(Ae={}));var ye;(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})(ye||(ye={}));var Ie;(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(y,N){var J=y.range.start.line-N.range.start.line;return J===0?y.range.start.character-N.range.start.character:J}),d=u.length,v=g.length-1;v>=0;v--){var w=g[v],b=a.offsetAt(w.range.start),f=a.offsetAt(w.range.end);if(f<=d)u=u.substring(0,b)+w.newText+u.substring(f,u.length);else throw new Error(\"Overlapping edit\");d=b}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,b=0;v<g.length&&w<d.length;){var f=o(g[v],d[w]);f<=0?a[b++]=g[v++]:a[b++]=d[w++]}for(;v<g.length;)a[b++]=g[v++];for(;w<d.length;)a[b++]=d[w++];return a}})(Ie||(Ie={}));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!=\"undefined\"}e.defined=i;function r(f){return typeof f==\"undefined\"}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,y,N){return n.call(f)===\"[object Number]\"&&y<=f&&f<=N}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 b(f,y){return Array.isArray(f)&&f.every(y)}e.typedArray=b})(s||(s={}));var Be=class{constructor(e,n,i){E(this,\"_disposables\",[]);E(this,\"_listener\",Object.create(null));this._languageId=e,this._worker=n;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 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 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(),A(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:m(d.textEdit.insert),replace:m(d.textEdit.replace)}:v.range=m(d.textEdit.range),v.insertText=d.textEdit.newText),d.additionalTextEdits&&(v.additionalTextEdits=d.additionalTextEdits.map(j)),d.insertTextFormat===G.Snippet&&(v.insertTextRules=c.languages.CompletionItemInsertTextRule.InsertAsSnippet),v});return{isIncomplete:a.isIncomplete,suggestions:g}})}};function A(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 m(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!=\"undefined\"&&typeof e.replace!=\"undefined\"}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 j(e){if(!!e)return{range:m(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(),A(n))).then(t=>{if(!!t)return{range:m(t.range),contents:et(t.contents)}})}};function Ke(e){return e&&typeof e==\"object\"&&typeof e.kind==\"string\"}function Re(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(Re):[Re(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(),A(n))).then(t=>{if(!!t)return t.map(a=>({range:m(a.range),kind:rt(a.kind)}))})}};function rt(e){switch(e){case D.Read:return c.languages.DocumentHighlightKind.Read;case D.Write:return c.languages.DocumentHighlightKind.Write;case D.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(),A(n))).then(t=>{if(!!t)return[Me(t)]})}};function Me(e){return{uri:c.Uri.parse(e.uri),range:m(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(),A(n))).then(a=>{if(!!a)return a.map(Me)})}},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(),A(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,edit:{range:m(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=>({name:t.name,detail:\"\",containerName:t.containerName,kind:ut(t.kind),range:m(t.location.range),selectionRange:m(t.location.range),tags:[]}))})}};function ut(e){let n=c.languages.SymbolKind;switch(e){case h.File:return n.Array;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 pt=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:m(t.range),url:t.target}))}})}},_t=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(j)}))}},mt=class{constructor(e){this._worker=e}provideDocumentRangeFormattingEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.format(t.toString(),De(n),Te(i)).then(o=>{if(!(!o||o.length===0))return o.map(j)}))}};function Te(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var ct=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:m(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=j(a.textEdit)),a.additionalTextEdits&&(o.additionalTextEdits=a.additionalTextEdits.map(j)),o})})}},dt=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!=\"undefined\"&&(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 gt=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(A))).then(t=>{if(!!t)return t.map(a=>{const o=[];for(;a;)o.push({range:m(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;Se(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 ct(t))),u.foldingRanges&&i.push(c.languages.registerFoldingRangeProvider(o,new dt(t))),u.diagnostics&&i.push(new Be(o,t,e.onDidChange)),u.selectionRanges&&i.push(c.languages.registerSelectionRangeProvider(o,new gt(t)))}return a(),n.push(Pe(i)),Pe(n)}function Pe(e){return{dispose:()=>Se(e)}}function Se(e){for(;e.length;)e.pop().dispose()}export{Qe as CompletionAdapter,nt as DefinitionAdapter,Be as DiagnosticsAdapter,ct as DocumentColorAdapter,_t as DocumentFormattingEditProvider,tt as DocumentHighlightAdapter,pt as DocumentLinkAdapter,mt as DocumentRangeFormattingEditProvider,st as DocumentSymbolAdapter,dt as FoldingRangeAdapter,Ze as HoverAdapter,it as ReferenceAdapter,at as RenameAdapter,gt as SelectionRangeAdapter,ze as WorkerManager,A as fromPosition,De as fromRange,wt as setupMode,m as toRange,j as toTextEdit};\n"
  },
  {
    "path": "client/dist/assets/dart.320b7cd1.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"//\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"'\",close:\"'\",notIn:[\"string\",\"comment\"]},{open:'\"',close:'\"',notIn:[\"string\"]},{open:\"`\",close:\"`\",notIn:[\"string\",\"comment\"]},{open:\"/**\",close:\" */\",notIn:[\"string\"]}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"<\",close:\">\"},{open:\"'\",close:\"'\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"`\",close:\"`\"}],folding:{markers:{start:/^\\s*\\s*#?region\\b/,end:/^\\s*\\s*#?endregion\\b/}}},n={defaultToken:\"invalid\",tokenPostfix:\".dart\",keywords:[\"abstract\",\"dynamic\",\"implements\",\"show\",\"as\",\"else\",\"import\",\"static\",\"assert\",\"enum\",\"in\",\"super\",\"async\",\"export\",\"interface\",\"switch\",\"await\",\"extends\",\"is\",\"sync\",\"break\",\"external\",\"library\",\"this\",\"case\",\"factory\",\"mixin\",\"throw\",\"catch\",\"false\",\"new\",\"true\",\"class\",\"final\",\"null\",\"try\",\"const\",\"finally\",\"on\",\"typedef\",\"continue\",\"for\",\"operator\",\"var\",\"covariant\",\"Function\",\"part\",\"void\",\"default\",\"get\",\"rethrow\",\"while\",\"deferred\",\"hide\",\"return\",\"with\",\"do\",\"if\",\"set\",\"yield\"],typeKeywords:[\"int\",\"double\",\"String\",\"bool\"],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:{\"@typeKeywords\":\"type.identifier\",\"@keywords\":\"keyword\",\"@default\":\"identifier\"}}],[/[A-Z_$][\\w\\$]*/,\"type.identifier\"],{include:\"@whitespace\"},[/\\/(?=([^\\\\\\/]|\\\\.)+\\/([gimsuy]*)(\\s*)(\\.|;|,|\\)|\\]|\\}|$))/,{token:\"regexp\",bracket:\"@open\",next:\"@regexp\"}],[/@[a-zA-Z]+/,\"annotation\"],[/[()\\[\\]]/,\"@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\"]],whitespace:[[/[ \\t\\r\\n]+/,\"\"],[/\\/\\*\\*(?!\\/)/,\"comment.doc\",\"@jsdoc\"],[/\\/\\*/,\"comment\",\"@comment\"],[/\\/\\/\\/.*$/,\"comment.doc\"],[/\\/\\/.*$/,\"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\"],[/(\\/)([gimsuy]*)/,[{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\"],[/[^\\\\\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"/,\"string\",\"@pop\"],[/\\$\\w+/,\"identifier\"]],string_single:[[/[^\\\\'\\$]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/'/,\"string\",\"@pop\"],[/\\$\\w+/,\"identifier\"]]}};export{e as conf,n as language};\n"
  },
  {
    "path": "client/dist/assets/dockerfile.a340fefe.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}]},o={defaultToken:\"\",tokenPostfix:\".dockerfile\",variable:/\\${?[\\w]+}?/,tokenizer:{root:[{include:\"@whitespace\"},{include:\"@comment\"},[/(ONBUILD)(\\s+)/,[\"keyword\",\"\"]],[/(ENV)(\\s+)([\\w]+)/,[\"keyword\",\"\",{token:\"variable\",next:\"@arguments\"}]],[/(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,{token:\"keyword\",next:\"@arguments\"}]],arguments:[{include:\"@whitespace\"},{include:\"@strings\"},[/(@variable)/,{cases:{\"@eos\":{token:\"variable\",next:\"@popall\"},\"@default\":\"variable\"}}],[/\\\\/,{cases:{\"@eos\":\"\",\"@default\":\"\"}}],[/./,{cases:{\"@eos\":{token:\"\",next:\"@popall\"},\"@default\":\"\"}}]],whitespace:[[/\\s+/,{cases:{\"@eos\":{token:\"\",next:\"@popall\"},\"@default\":\"\"}}]],comment:[[/(^#.*$)/,\"comment\",\"@popall\"]],strings:[[/\\\\'$/,\"\",\"@popall\"],[/\\\\'/,\"\"],[/'$/,\"string\",\"@popall\"],[/'/,\"string\",\"@stringBody\"],[/\"$/,\"string\",\"@popall\"],[/\"/,\"string\",\"@dblStringBody\"]],stringBody:[[/[^\\\\\\$']/,{cases:{\"@eos\":{token:\"string\",next:\"@popall\"},\"@default\":\"string\"}}],[/\\\\./,\"string.escape\"],[/'$/,\"string\",\"@popall\"],[/'/,\"string\",\"@pop\"],[/(@variable)/,\"variable\"],[/\\\\$/,\"string\"],[/$/,\"string\",\"@popall\"]],dblStringBody:[[/[^\\\\\\$\"]/,{cases:{\"@eos\":{token:\"string\",next:\"@popall\"},\"@default\":\"string\"}}],[/\\\\./,\"string.escape\"],[/\"$/,\"string\",\"@popall\"],[/\"/,\"string\",\"@pop\"],[/(@variable)/,\"variable\"],[/\\\\$/,\"string\"],[/$/,\"string\",\"@popall\"]]}};export{e as conf,o as language};\n"
  },
  {
    "path": "client/dist/assets/ecl.311d1611.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"//\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"'\",close:\"'\",notIn:[\"string\",\"comment\"]},{open:'\"',close:'\"',notIn:[\"string\",\"comment\"]}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"<\",close:\">\"},{open:\"'\",close:\"'\"},{open:'\"',close:'\"'}]},o={defaultToken:\"\",tokenPostfix:\".ecl\",ignoreCase:!0,brackets:[{open:\"{\",close:\"}\",token:\"delimiter.curly\"},{open:\"[\",close:\"]\",token:\"delimiter.square\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"},{open:\"<\",close:\">\",token:\"delimiter.angle\"}],pounds:[\"append\",\"break\",\"declare\",\"demangle\",\"end\",\"for\",\"getdatatype\",\"if\",\"inmodule\",\"loop\",\"mangle\",\"onwarning\",\"option\",\"set\",\"stored\",\"uniquename\"].join(\"|\"),keywords:[\"__compressed__\",\"after\",\"all\",\"and\",\"any\",\"as\",\"atmost\",\"before\",\"beginc\",\"best\",\"between\",\"case\",\"cluster\",\"compressed\",\"compression\",\"const\",\"counter\",\"csv\",\"default\",\"descend\",\"embed\",\"encoding\",\"encrypt\",\"end\",\"endc\",\"endembed\",\"endmacro\",\"enum\",\"escape\",\"except\",\"exclusive\",\"expire\",\"export\",\"extend\",\"fail\",\"few\",\"fileposition\",\"first\",\"flat\",\"forward\",\"from\",\"full\",\"function\",\"functionmacro\",\"group\",\"grouped\",\"heading\",\"hole\",\"ifblock\",\"import\",\"in\",\"inner\",\"interface\",\"internal\",\"joined\",\"keep\",\"keyed\",\"last\",\"left\",\"limit\",\"linkcounted\",\"literal\",\"little_endian\",\"load\",\"local\",\"locale\",\"lookup\",\"lzw\",\"macro\",\"many\",\"maxcount\",\"maxlength\",\"min skew\",\"module\",\"mofn\",\"multiple\",\"named\",\"namespace\",\"nocase\",\"noroot\",\"noscan\",\"nosort\",\"not\",\"noxpath\",\"of\",\"onfail\",\"only\",\"opt\",\"or\",\"outer\",\"overwrite\",\"packed\",\"partition\",\"penalty\",\"physicallength\",\"pipe\",\"prefetch\",\"quote\",\"record\",\"repeat\",\"retry\",\"return\",\"right\",\"right1\",\"right2\",\"rows\",\"rowset\",\"scan\",\"scope\",\"self\",\"separator\",\"service\",\"shared\",\"skew\",\"skip\",\"smart\",\"soapaction\",\"sql\",\"stable\",\"store\",\"terminator\",\"thor\",\"threshold\",\"timelimit\",\"timeout\",\"token\",\"transform\",\"trim\",\"type\",\"unicodeorder\",\"unordered\",\"unsorted\",\"unstable\",\"update\",\"use\",\"validate\",\"virtual\",\"whole\",\"width\",\"wild\",\"within\",\"wnotrim\",\"xml\",\"xpath\"],functions:[\"abs\",\"acos\",\"aggregate\",\"allnodes\",\"apply\",\"ascii\",\"asin\",\"assert\",\"asstring\",\"atan\",\"atan2\",\"ave\",\"build\",\"buildindex\",\"case\",\"catch\",\"choose\",\"choosen\",\"choosesets\",\"clustersize\",\"combine\",\"correlation\",\"cos\",\"cosh\",\"count\",\"covariance\",\"cron\",\"dataset\",\"dedup\",\"define\",\"denormalize\",\"dictionary\",\"distribute\",\"distributed\",\"distribution\",\"ebcdic\",\"enth\",\"error\",\"evaluate\",\"event\",\"eventextra\",\"eventname\",\"exists\",\"exp\",\"fail\",\"failcode\",\"failmessage\",\"fetch\",\"fromunicode\",\"fromxml\",\"getenv\",\"getisvalid\",\"global\",\"graph\",\"group\",\"hash\",\"hash32\",\"hash64\",\"hashcrc\",\"hashmd5\",\"having\",\"httpcall\",\"httpheader\",\"if\",\"iff\",\"index\",\"intformat\",\"isvalid\",\"iterate\",\"join\",\"keydiff\",\"keypatch\",\"keyunicode\",\"length\",\"library\",\"limit\",\"ln\",\"loadxml\",\"local\",\"log\",\"loop\",\"map\",\"matched\",\"matchlength\",\"matchposition\",\"matchtext\",\"matchunicode\",\"max\",\"merge\",\"mergejoin\",\"min\",\"nofold\",\"nolocal\",\"nonempty\",\"normalize\",\"nothor\",\"notify\",\"output\",\"parallel\",\"parse\",\"pipe\",\"power\",\"preload\",\"process\",\"project\",\"pull\",\"random\",\"range\",\"rank\",\"ranked\",\"realformat\",\"recordof\",\"regexfind\",\"regexreplace\",\"regroup\",\"rejected\",\"rollup\",\"round\",\"roundup\",\"row\",\"rowdiff\",\"sample\",\"sequential\",\"set\",\"sin\",\"sinh\",\"sizeof\",\"soapcall\",\"sort\",\"sorted\",\"sqrt\",\"stepped\",\"stored\",\"sum\",\"table\",\"tan\",\"tanh\",\"thisnode\",\"topn\",\"tounicode\",\"toxml\",\"transfer\",\"transform\",\"trim\",\"truncate\",\"typeof\",\"ungroup\",\"unicodeorder\",\"variance\",\"wait\",\"which\",\"workunit\",\"xmldecode\",\"xmlencode\",\"xmltext\",\"xmlunicode\"],typesint:[\"integer\",\"unsigned\"].join(\"|\"),typesnum:[\"data\",\"qstring\",\"string\",\"unicode\",\"utf8\",\"varstring\",\"varunicode\"],typesone:[\"ascii\",\"big_endian\",\"boolean\",\"data\",\"decimal\",\"ebcdic\",\"grouped\",\"integer\",\"linkcounted\",\"pattern\",\"qstring\",\"real\",\"record\",\"rule\",\"set of\",\"streamed\",\"string\",\"token\",\"udecimal\",\"unicode\",\"unsigned\",\"utf8\",\"varstring\",\"varunicode\"].join(\"|\"),operators:[\"+\",\"-\",\"/\",\":=\",\"<\",\"<>\",\"=\",\">\",\"\\\\\",\"and\",\"in\",\"not\",\"or\"],symbols:/[=><!~?:&|+\\-*\\/\\^%]+/,escapes:/\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/@typesint[4|8]/,\"type\"],[/#(@pounds)/,\"type\"],[/@typesone/,\"type\"],[/[a-zA-Z_$][\\w-$]*/,{cases:{\"@functions\":\"keyword.function\",\"@keywords\":\"keyword\",\"@operators\":\"operator\"}}],{include:\"@whitespace\"},[/[{}()\\[\\]]/,\"@brackets\"],[/[<>](?!@symbols)/,\"@brackets\"],[/@symbols/,{cases:{\"@operators\":\"delimiter\",\"@default\":\"\"}}],[/[0-9_]*\\.[0-9_]+([eE][\\-+]?\\d+)?/,\"number.float\"],[/0[xX][0-9a-fA-F_]+/,\"number.hex\"],[/0[bB][01]+/,\"number.hex\"],[/[0-9_]+/,\"number\"],[/[;,.]/,\"delimiter\"],[/\"([^\"\\\\]|\\\\.)*$/,\"string.invalid\"],[/\"/,\"string\",\"@string\"],[/'[^\\\\']'/,\"string\"],[/(')(@escapes)(')/,[\"string\",\"string.escape\",\"string\"]],[/'/,\"string.invalid\"]],whitespace:[[/[ \\t\\v\\f\\r\\n]+/,\"\"],[/\\/\\*/,\"comment\",\"@comment\"],[/\\/\\/.*$/,\"comment\"]],comment:[[/[^\\/*]+/,\"comment\"],[/\\*\\//,\"comment\",\"@pop\"],[/[\\/*]/,\"comment\"]],string:[[/[^\\\\']+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/'/,\"string\",\"@pop\"]]}};export{e as conf,o as language};\n"
  },
  {
    "path": "client/dist/assets/editor.worker.6369e042.js",
    "content": "(function(){\"use strict\";class yn{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(()=>{throw t.stack?new Error(t.message+`\n\n`+t.stack):t},0)}}emit(t){this.listeners.forEach(r=>{r(t)})}onUnexpectedError(t){this.unexpectedErrorHandler(t),this.emit(t)}onUnexpectedExternalError(t){this.unexpectedErrorHandler(t)}}const kn=new yn;function Mn(e){Rn(e)||kn.onUnexpectedError(e)}function it(e){if(e instanceof Error){let{name:t,message:r}=e;const s=e.stacktrace||e.stack;return{$isError:!0,name:t,message:r,stack:s}}return e}const Me=\"Canceled\";function Rn(e){return e instanceof Pn?!0:e instanceof Error&&e.name===Me&&e.message===Me}class Pn extends Error{constructor(){super(Me),this.name=this.message}}function Dn(e){const t=this;let r=!1,s;return function(){return r||(r=!0,s=e.apply(t,arguments)),s}}var Re;(function(e){function t(w){return w&&typeof w==\"object\"&&typeof w[Symbol.iterator]==\"function\"}e.is=t;const r=Object.freeze([]);function s(){return r}e.empty=s;function*i(w){yield w}e.single=i;function a(w){return w||r}e.from=a;function o(w){return!w||w[Symbol.iterator]().next().done===!0}e.isEmpty=o;function l(w){return w[Symbol.iterator]().next().value}e.first=l;function u(w,p){for(const g of w)if(p(g))return!0;return!1}e.some=u;function c(w,p){for(const g of w)if(p(g))return g}e.find=c;function*f(w,p){for(const g of w)p(g)&&(yield g)}e.filter=f;function*h(w,p){let g=0;for(const m of w)yield p(m,g++)}e.map=h;function*d(...w){for(const p of w)for(const g of p)yield g}e.concat=d;function*_(w){for(const p of w)for(const g of p)yield g}e.concatNested=_;function S(w,p,g){let m=g;for(const L of w)m=p(m,L);return m}e.reduce=S;function*v(w,p,g=w.length){for(p<0&&(p+=w.length),g<0?g+=w.length:g>w.length&&(g=w.length);p<g;p++)yield w[p]}e.slice=v;function M(w,p=Number.POSITIVE_INFINITY){const g=[];if(p===0)return[g,w];const m=w[Symbol.iterator]();for(let L=0;L<p;L++){const C=m.next();if(C.done)return[g,e.empty()];g.push(C.value)}return[g,{[Symbol.iterator](){return m}}]}e.consume=M;function P(w,p,g=(m,L)=>m===L){const m=w[Symbol.iterator](),L=p[Symbol.iterator]();for(;;){const C=m.next(),b=L.next();if(C.done!==b.done)return!1;if(C.done)return!0;if(!g(C.value,b.value))return!1}}e.equals=P})(Re||(Re={}));function a1(e){return e}function o1(e,t){}class Fn extends Error{constructor(t){super(`Encountered errors while disposing of store. Errors: [${t.join(\", \")}]`),this.errors=t}}function at(e){if(Re.is(e)){let t=[];for(const r of e)if(r)try{r.dispose()}catch(s){t.push(s)}if(t.length===1)throw t[0];if(t.length>1)throw new Fn(t);return Array.isArray(e)?[]:e}else if(e)return e.dispose(),e}function Vn(...e){return be(()=>at(e))}function be(e){return{dispose:Dn(()=>{e()})}}class se{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){try{at(this._toDispose.values())}finally{this._toDispose.clear()}}add(t){if(!t)return t;if(t===this)throw new Error(\"Cannot register a disposable on itself!\");return this._isDisposed?se.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(t),t}}se.DISABLE_DISPOSED_WARNING=!1;class Pe{constructor(){this._store=new se,this._store}dispose(){this._store.dispose()}_register(t){if(t===this)throw new Error(\"Cannot register a disposable on itself!\");return this._store.add(t)}}Pe.None=Object.freeze({dispose(){}});class xn{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1}set(t){let r=t;return this.unset=()=>r=void 0,this.isset=()=>r!==void 0,this.dispose=()=>{r&&(r(),r=void 0)},this}}class D{constructor(t){this.element=t,this.next=D.Undefined,this.prev=D.Undefined}}D.Undefined=new D(void 0);class ot{constructor(){this._first=D.Undefined,this._last=D.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===D.Undefined}clear(){let t=this._first;for(;t!==D.Undefined;){const r=t.next;t.prev=D.Undefined,t.next=D.Undefined,t=r}this._first=D.Undefined,this._last=D.Undefined,this._size=0}unshift(t){return this._insert(t,!1)}push(t){return this._insert(t,!0)}_insert(t,r){const s=new D(t);if(this._first===D.Undefined)this._first=s,this._last=s;else if(r){const a=this._last;this._last=s,s.prev=a,a.next=s}else{const a=this._first;this._first=s,s.next=a,a.prev=s}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(s))}}shift(){if(this._first!==D.Undefined){const t=this._first.element;return this._remove(this._first),t}}pop(){if(this._last!==D.Undefined){const t=this._last.element;return this._remove(this._last),t}}_remove(t){if(t.prev!==D.Undefined&&t.next!==D.Undefined){const r=t.prev;r.next=t.next,t.next.prev=r}else t.prev===D.Undefined&&t.next===D.Undefined?(this._first=D.Undefined,this._last=D.Undefined):t.next===D.Undefined?(this._last=this._last.prev,this._last.next=D.Undefined):t.prev===D.Undefined&&(this._first=this._first.next,this._first.prev=D.Undefined);this._size-=1}*[Symbol.iterator](){let t=this._first;for(;t!==D.Undefined;)yield t.element,t=t.next}}var De;const we=\"en\";let Fe=!1,Ve=!1,xe=!1,lt=!1,Ce,Ee=we,En,Z;const B=typeof self==\"object\"?self:typeof global==\"object\"?global:{};let U;typeof B.vscode!=\"undefined\"&&typeof B.vscode.process!=\"undefined\"?U=B.vscode.process:typeof process!=\"undefined\"&&(U=process);const Bn=typeof((De=U==null?void 0:U.versions)===null||De===void 0?void 0:De.electron)==\"string\"&&(U==null?void 0:U.type)===\"renderer\";if(typeof navigator==\"object\"&&!Bn)Z=navigator.userAgent,Fe=Z.indexOf(\"Windows\")>=0,Ve=Z.indexOf(\"Macintosh\")>=0,(Z.indexOf(\"Macintosh\")>=0||Z.indexOf(\"iPad\")>=0||Z.indexOf(\"iPhone\")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,xe=Z.indexOf(\"Linux\")>=0,lt=!0,Ce=navigator.language,Ee=Ce;else if(typeof U==\"object\"){Fe=U.platform===\"win32\",Ve=U.platform===\"darwin\",xe=U.platform===\"linux\",xe&&!!U.env.SNAP&&U.env.SNAP_REVISION,U.env.CI||U.env.BUILD_ARTIFACTSTAGINGDIRECTORY,Ce=we,Ee=we;const e=U.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e),r=t.availableLanguages[\"*\"];Ce=t.locale,Ee=r||we,En=t._translationsConfigFile}catch{}}else console.error(\"Unable to resolve platform.\");const he=Fe,Un=Ve;lt&&B.importScripts;const G=Z;(()=>{if(typeof B.postMessage==\"function\"&&!B.importScripts){let e=[];B.addEventListener(\"message\",r=>{if(r.data&&r.data.vscodeScheduleAsyncWork)for(let s=0,i=e.length;s<i;s++){const a=e[s];if(a.id===r.data.vscodeScheduleAsyncWork){e.splice(s,1),a.callback();return}}});let t=0;return r=>{const s=++t;e.push({id:s,callback:r}),B.postMessage({vscodeScheduleAsyncWork:s},\"*\")}}return e=>setTimeout(e)})();const Tn=!!(G&&G.indexOf(\"Chrome\")>=0);G&&G.indexOf(\"Firefox\")>=0,!Tn&&G&&G.indexOf(\"Safari\")>=0,G&&G.indexOf(\"Edg/\")>=0,G&&G.indexOf(\"Android\")>=0;const In=B.performance&&typeof B.performance.now==\"function\";class _e{constructor(t){this._highResolution=In&&t,this._startTime=this._now(),this._stopTime=-1}static create(t=!0){return new _e(t)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?B.performance.now():Date.now()}}var Be;(function(e){e.None=()=>Pe.None;function t(g){return(m,L=null,C)=>{let b=!1,N;return N=g(R=>{if(!b)return N?N.dispose():b=!0,m.call(L,R)},null,C),b&&N.dispose(),N}}e.once=t;function r(g,m,L){return u((C,b=null,N)=>g(R=>C.call(b,m(R)),null,N),L)}e.map=r;function s(g,m,L){return u((C,b=null,N)=>g(R=>{m(R),C.call(b,R)},null,N),L)}e.forEach=s;function i(g,m,L){return u((C,b=null,N)=>g(R=>m(R)&&C.call(b,R),null,N),L)}e.filter=i;function a(g){return g}e.signal=a;function o(...g){return(m,L=null,C)=>Vn(...g.map(b=>b(N=>m.call(L,N),null,C)))}e.any=o;function l(g,m,L,C){let b=L;return r(g,N=>(b=m(b,N),b),C)}e.reduce=l;function u(g,m){let L;const C={onFirstListenerAdd(){L=g(b.fire,b)},onLastListenerRemove(){L.dispose()}},b=new j(C);return m&&m.add(b),b.event}function c(g,m,L=100,C=!1,b,N){let R,y,A,O=0;const r1={leakWarningThreshold:b,onFirstListenerAdd(){R=g(s1=>{O++,y=m(y,s1),C&&!A&&(ke.fire(y),y=void 0),clearTimeout(A),A=setTimeout(()=>{const i1=y;y=void 0,A=void 0,(!C||O>1)&&ke.fire(i1),O=0},L)})},onLastListenerRemove(){R.dispose()}},ke=new j(r1);return N&&N.add(ke),ke.event}e.debounce=c;function f(g,m=(C,b)=>C===b,L){let C=!0,b;return i(g,N=>{const R=C||!m(N,b);return C=!1,b=N,R},L)}e.latch=f;function h(g,m,L){return[e.filter(g,m,L),e.filter(g,C=>!m(C),L)]}e.split=h;function d(g,m=!1,L=[]){let C=L.slice(),b=g(y=>{C?C.push(y):R.fire(y)});const N=()=>{C&&C.forEach(y=>R.fire(y)),C=null},R=new j({onFirstListenerAdd(){b||(b=g(y=>R.fire(y)))},onFirstListenerDidAdd(){C&&(m?setTimeout(N):N())},onLastListenerRemove(){b&&b.dispose(),b=null}});return R.event}e.buffer=d;class _{constructor(m){this.event=m}map(m){return new _(r(this.event,m))}forEach(m){return new _(s(this.event,m))}filter(m){return new _(i(this.event,m))}reduce(m,L){return new _(l(this.event,m,L))}latch(){return new _(f(this.event))}debounce(m,L=100,C=!1,b){return new _(c(this.event,m,L,C,b))}on(m,L,C){return this.event(m,L,C)}once(m,L,C){return t(this.event)(m,L,C)}}function S(g){return new _(g)}e.chain=S;function v(g,m,L=C=>C){const C=(...y)=>R.fire(L(...y)),b=()=>g.on(m,C),N=()=>g.removeListener(m,C),R=new j({onFirstListenerAdd:b,onLastListenerRemove:N});return R.event}e.fromNodeEventEmitter=v;function M(g,m,L=C=>C){const C=(...y)=>R.fire(L(...y)),b=()=>g.addEventListener(m,C),N=()=>g.removeEventListener(m,C),R=new j({onFirstListenerAdd:b,onLastListenerRemove:N});return R.event}e.fromDOMEventEmitter=M;function P(g){return new Promise(m=>t(g)(m))}e.toPromise=P;function w(g,m){return m(void 0),g(L=>m(L))}e.runAndSubscribe=w;function p(g,m){let L=null;function C(N){L==null||L.dispose(),L=new se,m(N,L)}C(void 0);const b=g(N=>C(N));return be(()=>{b.dispose(),L==null||L.dispose()})}e.runAndSubscribeWithStore=p})(Be||(Be={}));class pe{constructor(t){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${t}_${pe._idPool++}`}start(t){this._stopWatch=new _e(!0),this._listenerCount=t}stop(){if(this._stopWatch){const t=this._stopWatch.elapsed();this._elapsedOverall+=t,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${t.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}pe._idPool=0;class Ue{constructor(t){this.value=t}static create(){var t;return new Ue((t=new Error().stack)!==null&&t!==void 0?t:\"\")}print(){console.warn(this.value.split(`\n`).slice(2).join(`\n`))}}class qn{constructor(t,r,s){this.callback=t,this.callbackThis=r,this.stack=s,this.subscription=new xn}invoke(t){this.callback.call(this.callbackThis,t)}}class j{constructor(t){var r;this._disposed=!1,this._options=t,this._leakageMon=void 0,this._perfMon=!((r=this._options)===null||r===void 0)&&r._profName?new pe(this._options._profName):void 0}dispose(){var t,r,s,i;this._disposed||(this._disposed=!0,this._listeners&&this._listeners.clear(),(t=this._deliveryQueue)===null||t===void 0||t.clear(),(s=(r=this._options)===null||r===void 0?void 0:r.onLastListenerRemove)===null||s===void 0||s.call(r),(i=this._leakageMon)===null||i===void 0||i.dispose())}get event(){return this._event||(this._event=(t,r,s)=>{var i,a,o;this._listeners||(this._listeners=new ot);const l=this._listeners.isEmpty();l&&((i=this._options)===null||i===void 0?void 0:i.onFirstListenerAdd)&&this._options.onFirstListenerAdd(this);let u,c;this._leakageMon&&this._listeners.size>=30&&(c=Ue.create(),u=this._leakageMon.check(c,this._listeners.size+1));const f=new qn(t,r,c),h=this._listeners.push(f);l&&((a=this._options)===null||a===void 0?void 0:a.onFirstListenerDidAdd)&&this._options.onFirstListenerDidAdd(this),!((o=this._options)===null||o===void 0)&&o.onListenerDidAdd&&this._options.onListenerDidAdd(this,t,r);const d=f.subscription.set(()=>{u&&u(),this._disposed||(h(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return s instanceof se?s.add(d):Array.isArray(s)&&s.push(d),d}),this._event}fire(t){var r,s;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new ot);for(let i of this._listeners)this._deliveryQueue.push([i,t]);for((r=this._perfMon)===null||r===void 0||r.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[i,a]=this._deliveryQueue.shift();try{i.invoke(a)}catch(o){Mn(o)}}(s=this._perfMon)===null||s===void 0||s.stop()}}}function Hn(e){let t=[],r=Object.getPrototypeOf(e);for(;Object.prototype!==r;)t=t.concat(Object.getOwnPropertyNames(r)),r=Object.getPrototypeOf(r);return t}function Te(e){const t=[];for(const r of Hn(e))typeof e[r]==\"function\"&&t.push(r);return t}function Wn(e,t){const r=i=>function(){const a=Array.prototype.slice.call(arguments,0);return t(i,a)};let s={};for(const i of e)s[i]=r(i);return s}function $n(e,t=\"Unreachable\"){throw new Error(t)}class zn{constructor(t){this.computeFn=t,this.lastCache=void 0,this.lastArgKey=void 0}get(t){const r=JSON.stringify(t);return this.lastArgKey!==r&&(this.lastArgKey=r,this.lastCache=this.computeFn(t)),this.lastCache}}class ct{constructor(t){this.executor=t,this._didRun=!1}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(t){this._error=t}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var ut;function Gn(e){return e.replace(/[\\\\\\{\\}\\*\\+\\?\\|\\^\\$\\.\\[\\]\\(\\)]/g,\"\\\\$&\")}function On(e){return e.split(/\\r\\n|\\r|\\n/)}function jn(e){for(let t=0,r=e.length;t<r;t++){const s=e.charCodeAt(t);if(s!==32&&s!==9)return t}return-1}function Zn(e,t=e.length-1){for(let r=t;r>=0;r--){const s=e.charCodeAt(r);if(s!==32&&s!==9)return r}return-1}function ht(e){return e>=65&&e<=90}function Ie(e){return 55296<=e&&e<=56319}function Yn(e){return 56320<=e&&e<=57343}function Xn(e,t){return(e-55296<<10)+(t-56320)+65536}function Qn(e,t,r){const s=e.charCodeAt(r);if(Ie(s)&&r+1<t){const i=e.charCodeAt(r+1);if(Yn(i))return Xn(s,i)}return s}const Jn=/^[\\t\\n\\r\\x20-\\x7E]*$/;function Kn(e){return Jn.test(e)}class ${constructor(t){this.confusableDictionary=t}static getInstance(t){return $.cache.get(Array.from(t))}static getLocales(){return $._locales.getValue()}isAmbiguous(t){return this.confusableDictionary.has(t)}getPrimaryConfusable(t){return this.confusableDictionary.get(t)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}ut=$,$.ambiguousCharacterData=new ct(()=>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],\"_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]}')),$.cache=new zn(e=>{function t(c){const f=new Map;for(let h=0;h<c.length;h+=2)f.set(c[h],c[h+1]);return f}function r(c,f){const h=new Map(c);for(const[d,_]of f)h.set(d,_);return h}function s(c,f){if(!c)return f;const h=new Map;for(const[d,_]of c)f.has(d)&&h.set(d,_);return h}const i=ut.ambiguousCharacterData.getValue();let a=e.filter(c=>!c.startsWith(\"_\")&&c in i);a.length===0&&(a=[\"_default\"]);let o;for(const c of a){const f=t(i[c]);o=s(o,f)}const l=t(i._common),u=r(l,o);return new $(u)}),$._locales=new ct(()=>Object.keys($.ambiguousCharacterData.getValue()).filter(e=>!e.startsWith(\"_\")));class Y{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(Y.getRawData())),this._data}static isInvisibleCharacter(t){return Y.getData().has(t)}static get codePoints(){return Y.getData()}}Y._data=void 0;const er=\"$initialize\";class tr{constructor(t,r,s,i){this.vsWorker=t,this.req=r,this.method=s,this.args=i,this.type=0}}class ft{constructor(t,r,s,i){this.vsWorker=t,this.seq=r,this.res=s,this.err=i,this.type=1}}class nr{constructor(t,r,s,i){this.vsWorker=t,this.req=r,this.eventName=s,this.arg=i,this.type=2}}class rr{constructor(t,r,s){this.vsWorker=t,this.req=r,this.event=s,this.type=3}}class sr{constructor(t,r){this.vsWorker=t,this.req=r,this.type=4}}class ir{constructor(t){this._workerId=-1,this._handler=t,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(t){this._workerId=t}sendMessage(t,r){const s=String(++this._lastSentReq);return new Promise((i,a)=>{this._pendingReplies[s]={resolve:i,reject:a},this._send(new tr(this._workerId,s,t,r))})}listen(t,r){let s=null;const i=new j({onFirstListenerAdd:()=>{s=String(++this._lastSentReq),this._pendingEmitters.set(s,i),this._send(new nr(this._workerId,s,t,r))},onLastListenerRemove:()=>{this._pendingEmitters.delete(s),this._send(new sr(this._workerId,s)),s=null}});return i.event}handleMessage(t){!t||!t.vsWorker||this._workerId!==-1&&t.vsWorker!==this._workerId||this._handleMessage(t)}_handleMessage(t){switch(t.type){case 1:return this._handleReplyMessage(t);case 0:return this._handleRequestMessage(t);case 2:return this._handleSubscribeEventMessage(t);case 3:return this._handleEventMessage(t);case 4:return this._handleUnsubscribeEventMessage(t)}}_handleReplyMessage(t){if(!this._pendingReplies[t.seq]){console.warn(\"Got reply to unknown seq\");return}let r=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let s=t.err;t.err.$isError&&(s=new Error,s.name=t.err.name,s.message=t.err.message,s.stack=t.err.stack),r.reject(s);return}r.resolve(t.res)}_handleRequestMessage(t){let r=t.req;this._handler.handleMessage(t.method,t.args).then(i=>{this._send(new ft(this._workerId,r,i,void 0))},i=>{i.detail instanceof Error&&(i.detail=it(i.detail)),this._send(new ft(this._workerId,r,void 0,it(i)))})}_handleSubscribeEventMessage(t){const r=t.req,s=this._handler.handleEvent(t.eventName,t.arg)(i=>{this._send(new rr(this._workerId,r,i))});this._pendingEvents.set(r,s)}_handleEventMessage(t){if(!this._pendingEmitters.has(t.req)){console.warn(\"Got event for unknown req\");return}this._pendingEmitters.get(t.req).fire(t.event)}_handleUnsubscribeEventMessage(t){if(!this._pendingEvents.has(t.req)){console.warn(\"Got unsubscribe for unknown req\");return}this._pendingEvents.get(t.req).dispose(),this._pendingEvents.delete(t.req)}_send(t){let r=[];if(t.type===0)for(let s=0;s<t.args.length;s++)t.args[s]instanceof ArrayBuffer&&r.push(t.args[s]);else t.type===1&&t.res instanceof ArrayBuffer&&r.push(t.res);this._handler.sendMessage(t,r)}}function dt(e){return e[0]===\"o\"&&e[1]===\"n\"&&ht(e.charCodeAt(2))}function mt(e){return/^onDynamic/.test(e)&&ht(e.charCodeAt(9))}function ar(e,t,r){const s=o=>function(){const l=Array.prototype.slice.call(arguments,0);return t(o,l)},i=o=>function(l){return r(o,l)};let a={};for(const o of e){if(mt(o)){a[o]=i(o);continue}if(dt(o)){a[o]=r(o,void 0);continue}a[o]=s(o)}return a}class or{constructor(t,r){this._requestHandlerFactory=r,this._requestHandler=null,this._protocol=new ir({sendMessage:(s,i)=>{t(s,i)},handleMessage:(s,i)=>this._handleMessage(s,i),handleEvent:(s,i)=>this._handleEvent(s,i)})}onmessage(t){this._protocol.handleMessage(t)}_handleMessage(t,r){if(t===er)return this.initialize(r[0],r[1],r[2],r[3]);if(!this._requestHandler||typeof this._requestHandler[t]!=\"function\")return Promise.reject(new Error(\"Missing requestHandler or method: \"+t));try{return Promise.resolve(this._requestHandler[t].apply(this._requestHandler,r))}catch(s){return Promise.reject(s)}}_handleEvent(t,r){if(!this._requestHandler)throw new Error(\"Missing requestHandler\");if(mt(t)){const s=this._requestHandler[t].call(this._requestHandler,r);if(typeof s!=\"function\")throw new Error(`Missing dynamic event ${t} on request handler.`);return s}if(dt(t)){const s=this._requestHandler[t];if(typeof s!=\"function\")throw new Error(`Missing event ${t} on request handler.`);return s}throw new Error(`Malformed event name ${t}`)}initialize(t,r,s,i){this._protocol.setWorkerId(t);const l=ar(i,(u,c)=>this._protocol.sendMessage(u,c),(u,c)=>this._protocol.listen(u,c));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(l),Promise.resolve(Te(this._requestHandler))):(r&&(typeof r.baseUrl!=\"undefined\"&&delete r.baseUrl,typeof r.paths!=\"undefined\"&&typeof r.paths.vs!=\"undefined\"&&delete r.paths.vs,typeof r.trustedTypesPolicy!==void 0&&delete r.trustedTypesPolicy,r.catchError=!0,B.require.config(r)),new Promise((u,c)=>{const f=B.require;f([s],h=>{if(this._requestHandler=h.create(l),!this._requestHandler){c(new Error(\"No RequestHandler!\"));return}u(Te(this._requestHandler))},c)}))}}class X{constructor(t,r,s,i){this.originalStart=t,this.originalLength=r,this.modifiedStart=s,this.modifiedLength=i}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function gt(e,t){return(t<<5)-t+e|0}function lr(e,t){t=gt(149417,t);for(let r=0,s=e.length;r<s;r++)t=gt(e.charCodeAt(r),t);return t}class bt{constructor(t){this.source=t}getElements(){const t=this.source,r=new Int32Array(t.length);for(let s=0,i=t.length;s<i;s++)r[s]=t.charCodeAt(s);return r}}function cr(e,t,r){return new Q(new bt(e),new bt(t)).ComputeDiff(r).changes}class ie{static Assert(t,r){if(!t)throw new Error(r)}}class ae{static Copy(t,r,s,i,a){for(let o=0;o<a;o++)s[i+o]=t[r+o]}static Copy2(t,r,s,i,a){for(let o=0;o<a;o++)s[i+o]=t[r+o]}}class wt{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 X(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(t,r){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,r),this.m_originalCount++}AddModifiedElement(t,r){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,r),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 Q{constructor(t,r,s=null){this.ContinueProcessingPredicate=s,this._originalSequence=t,this._modifiedSequence=r;const[i,a,o]=Q._getElements(t),[l,u,c]=Q._getElements(r);this._hasStrings=o&&c,this._originalStringElements=i,this._originalElementsOrHash=a,this._modifiedStringElements=l,this._modifiedElementsOrHash=u,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(t){return t.length>0&&typeof t[0]==\"string\"}static _getElements(t){const r=t.getElements();if(Q._isStringArray(r)){const s=new Int32Array(r.length);for(let i=0,a=r.length;i<a;i++)s[i]=lr(r[i],0);return[r,s,!0]}return r instanceof Int32Array?[[],r,!1]:[[],new Int32Array(r),!1]}ElementsAreEqual(t,r){return this._originalElementsOrHash[t]!==this._modifiedElementsOrHash[r]?!1:this._hasStrings?this._originalStringElements[t]===this._modifiedStringElements[r]:!0}ElementsAreStrictEqual(t,r){if(!this.ElementsAreEqual(t,r))return!1;const s=Q._getStrictElement(this._originalSequence,t),i=Q._getStrictElement(this._modifiedSequence,r);return s===i}static _getStrictElement(t,r){return typeof t.getStrictElement==\"function\"?t.getStrictElement(r):null}OriginalElementsAreEqual(t,r){return this._originalElementsOrHash[t]!==this._originalElementsOrHash[r]?!1:this._hasStrings?this._originalStringElements[t]===this._originalStringElements[r]:!0}ModifiedElementsAreEqual(t,r){return this._modifiedElementsOrHash[t]!==this._modifiedElementsOrHash[r]?!1:this._hasStrings?this._modifiedStringElements[t]===this._modifiedStringElements[r]:!0}ComputeDiff(t){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,t)}_ComputeDiff(t,r,s,i,a){const o=[!1];let l=this.ComputeDiffRecursive(t,r,s,i,o);return a&&(l=this.PrettifyChanges(l)),{quitEarly:o[0],changes:l}}ComputeDiffRecursive(t,r,s,i,a){for(a[0]=!1;t<=r&&s<=i&&this.ElementsAreEqual(t,s);)t++,s++;for(;r>=t&&i>=s&&this.ElementsAreEqual(r,i);)r--,i--;if(t>r||s>i){let h;return s<=i?(ie.Assert(t===r+1,\"originalStart should only be one more than originalEnd\"),h=[new X(t,0,s,i-s+1)]):t<=r?(ie.Assert(s===i+1,\"modifiedStart should only be one more than modifiedEnd\"),h=[new X(t,r-t+1,s,0)]):(ie.Assert(t===r+1,\"originalStart should only be one more than originalEnd\"),ie.Assert(s===i+1,\"modifiedStart should only be one more than modifiedEnd\"),h=[]),h}const o=[0],l=[0],u=this.ComputeRecursionPoint(t,r,s,i,o,l,a),c=o[0],f=l[0];if(u!==null)return u;if(!a[0]){const h=this.ComputeDiffRecursive(t,c,s,f,a);let d=[];return a[0]?d=[new X(c+1,r-(c+1)+1,f+1,i-(f+1)+1)]:d=this.ComputeDiffRecursive(c+1,r,f+1,i,a),this.ConcatenateChanges(h,d)}return[new X(t,r-t+1,s,i-s+1)]}WALKTRACE(t,r,s,i,a,o,l,u,c,f,h,d,_,S,v,M,P,w){let p=null,g=null,m=new wt,L=r,C=s,b=_[0]-M[0]-i,N=-1073741824,R=this.m_forwardHistory.length-1;do{const y=b+t;y===L||y<C&&c[y-1]<c[y+1]?(h=c[y+1],S=h-b-i,h<N&&m.MarkNextChange(),N=h,m.AddModifiedElement(h+1,S),b=y+1-t):(h=c[y-1]+1,S=h-b-i,h<N&&m.MarkNextChange(),N=h-1,m.AddOriginalElement(h,S+1),b=y-1-t),R>=0&&(c=this.m_forwardHistory[R],t=c[0],L=1,C=c.length-1)}while(--R>=-1);if(p=m.getReverseChanges(),w[0]){let y=_[0]+1,A=M[0]+1;if(p!==null&&p.length>0){const O=p[p.length-1];y=Math.max(y,O.getOriginalEnd()),A=Math.max(A,O.getModifiedEnd())}g=[new X(y,d-y+1,A,v-A+1)]}else{m=new wt,L=o,C=l,b=_[0]-M[0]-u,N=1073741824,R=P?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const y=b+a;y===L||y<C&&f[y-1]>=f[y+1]?(h=f[y+1]-1,S=h-b-u,h>N&&m.MarkNextChange(),N=h+1,m.AddOriginalElement(h+1,S+1),b=y+1-a):(h=f[y-1],S=h-b-u,h>N&&m.MarkNextChange(),N=h,m.AddModifiedElement(h+1,S+1),b=y-1-a),R>=0&&(f=this.m_reverseHistory[R],a=f[0],L=1,C=f.length-1)}while(--R>=-1);g=m.getChanges()}return this.ConcatenateChanges(p,g)}ComputeRecursionPoint(t,r,s,i,a,o,l){let u=0,c=0,f=0,h=0,d=0,_=0;t--,s--,a[0]=0,o[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const S=r-t+(i-s),v=S+1,M=new Int32Array(v),P=new Int32Array(v),w=i-s,p=r-t,g=t-s,m=r-i,C=(p-w)%2===0;M[w]=t,P[p]=r,l[0]=!1;for(let b=1;b<=S/2+1;b++){let N=0,R=0;f=this.ClipDiagonalBound(w-b,b,w,v),h=this.ClipDiagonalBound(w+b,b,w,v);for(let A=f;A<=h;A+=2){A===f||A<h&&M[A-1]<M[A+1]?u=M[A+1]:u=M[A-1]+1,c=u-(A-w)-g;const O=u;for(;u<r&&c<i&&this.ElementsAreEqual(u+1,c+1);)u++,c++;if(M[A]=u,u+c>N+R&&(N=u,R=c),!C&&Math.abs(A-p)<=b-1&&u>=P[A])return a[0]=u,o[0]=c,O<=P[A]&&1447>0&&b<=1447+1?this.WALKTRACE(w,f,h,g,p,d,_,m,M,P,u,r,a,c,i,o,C,l):null}const y=(N-t+(R-s)-b)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(N,y))return l[0]=!0,a[0]=N,o[0]=R,y>0&&1447>0&&b<=1447+1?this.WALKTRACE(w,f,h,g,p,d,_,m,M,P,u,r,a,c,i,o,C,l):(t++,s++,[new X(t,r-t+1,s,i-s+1)]);d=this.ClipDiagonalBound(p-b,b,p,v),_=this.ClipDiagonalBound(p+b,b,p,v);for(let A=d;A<=_;A+=2){A===d||A<_&&P[A-1]>=P[A+1]?u=P[A+1]-1:u=P[A-1],c=u-(A-p)-m;const O=u;for(;u>t&&c>s&&this.ElementsAreEqual(u,c);)u--,c--;if(P[A]=u,C&&Math.abs(A-w)<=b&&u<=M[A])return a[0]=u,o[0]=c,O>=M[A]&&1447>0&&b<=1447+1?this.WALKTRACE(w,f,h,g,p,d,_,m,M,P,u,r,a,c,i,o,C,l):null}if(b<=1447){let A=new Int32Array(h-f+2);A[0]=w-f+1,ae.Copy2(M,f,A,1,h-f+1),this.m_forwardHistory.push(A),A=new Int32Array(_-d+2),A[0]=p-d+1,ae.Copy2(P,d,A,1,_-d+1),this.m_reverseHistory.push(A)}}return this.WALKTRACE(w,f,h,g,p,d,_,m,M,P,u,r,a,c,i,o,C,l)}PrettifyChanges(t){for(let r=0;r<t.length;r++){const s=t[r],i=r<t.length-1?t[r+1].originalStart:this._originalElementsOrHash.length,a=r<t.length-1?t[r+1].modifiedStart:this._modifiedElementsOrHash.length,o=s.originalLength>0,l=s.modifiedLength>0;for(;s.originalStart+s.originalLength<i&&s.modifiedStart+s.modifiedLength<a&&(!o||this.OriginalElementsAreEqual(s.originalStart,s.originalStart+s.originalLength))&&(!l||this.ModifiedElementsAreEqual(s.modifiedStart,s.modifiedStart+s.modifiedLength));){const c=this.ElementsAreStrictEqual(s.originalStart,s.modifiedStart);if(this.ElementsAreStrictEqual(s.originalStart+s.originalLength,s.modifiedStart+s.modifiedLength)&&!c)break;s.originalStart++,s.modifiedStart++}let u=[null];if(r<t.length-1&&this.ChangesOverlap(t[r],t[r+1],u)){t[r]=u[0],t.splice(r+1,1),r--;continue}}for(let r=t.length-1;r>=0;r--){const s=t[r];let i=0,a=0;if(r>0){const h=t[r-1];i=h.originalStart+h.originalLength,a=h.modifiedStart+h.modifiedLength}const o=s.originalLength>0,l=s.modifiedLength>0;let u=0,c=this._boundaryScore(s.originalStart,s.originalLength,s.modifiedStart,s.modifiedLength);for(let h=1;;h++){const d=s.originalStart-h,_=s.modifiedStart-h;if(d<i||_<a||o&&!this.OriginalElementsAreEqual(d,d+s.originalLength)||l&&!this.ModifiedElementsAreEqual(_,_+s.modifiedLength))break;const v=(d===i&&_===a?5:0)+this._boundaryScore(d,s.originalLength,_,s.modifiedLength);v>c&&(c=v,u=h)}s.originalStart-=u,s.modifiedStart-=u;const f=[null];if(r>0&&this.ChangesOverlap(t[r-1],t[r],f)){t[r-1]=f[0],t.splice(r,1),r++;continue}}if(this._hasStrings)for(let r=1,s=t.length;r<s;r++){const i=t[r-1],a=t[r],o=a.originalStart-i.originalStart-i.originalLength,l=i.originalStart,u=a.originalStart+a.originalLength,c=u-l,f=i.modifiedStart,h=a.modifiedStart+a.modifiedLength,d=h-f;if(o<5&&c<20&&d<20){const _=this._findBetterContiguousSequence(l,c,f,d,o);if(_){const[S,v]=_;(S!==i.originalStart+i.originalLength||v!==i.modifiedStart+i.modifiedLength)&&(i.originalLength=S-i.originalStart,i.modifiedLength=v-i.modifiedStart,a.originalStart=S+o,a.modifiedStart=v+o,a.originalLength=u-a.originalStart,a.modifiedLength=h-a.modifiedStart)}}}return t}_findBetterContiguousSequence(t,r,s,i,a){if(r<a||i<a)return null;const o=t+r-a+1,l=s+i-a+1;let u=0,c=0,f=0;for(let h=t;h<o;h++)for(let d=s;d<l;d++){const _=this._contiguousSequenceScore(h,d,a);_>0&&_>u&&(u=_,c=h,f=d)}return u>0?[c,f]:null}_contiguousSequenceScore(t,r,s){let i=0;for(let a=0;a<s;a++){if(!this.ElementsAreEqual(t+a,r+a))return 0;i+=this._originalStringElements[t+a].length}return i}_OriginalIsBoundary(t){return t<=0||t>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\\s*$/.test(this._originalStringElements[t])}_OriginalRegionIsBoundary(t,r){if(this._OriginalIsBoundary(t)||this._OriginalIsBoundary(t-1))return!0;if(r>0){const s=t+r;if(this._OriginalIsBoundary(s-1)||this._OriginalIsBoundary(s))return!0}return!1}_ModifiedIsBoundary(t){return t<=0||t>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\\s*$/.test(this._modifiedStringElements[t])}_ModifiedRegionIsBoundary(t,r){if(this._ModifiedIsBoundary(t)||this._ModifiedIsBoundary(t-1))return!0;if(r>0){const s=t+r;if(this._ModifiedIsBoundary(s-1)||this._ModifiedIsBoundary(s))return!0}return!1}_boundaryScore(t,r,s,i){const a=this._OriginalRegionIsBoundary(t,r)?1:0,o=this._ModifiedRegionIsBoundary(s,i)?1:0;return a+o}ConcatenateChanges(t,r){let s=[];if(t.length===0||r.length===0)return r.length>0?r:t;if(this.ChangesOverlap(t[t.length-1],r[0],s)){const i=new Array(t.length+r.length-1);return ae.Copy(t,0,i,0,t.length-1),i[t.length-1]=s[0],ae.Copy(r,1,i,t.length,r.length-1),i}else{const i=new Array(t.length+r.length);return ae.Copy(t,0,i,0,t.length),ae.Copy(r,0,i,t.length,r.length),i}}ChangesOverlap(t,r,s){if(ie.Assert(t.originalStart<=r.originalStart,\"Left change is not less than or equal to right change\"),ie.Assert(t.modifiedStart<=r.modifiedStart,\"Left change is not less than or equal to right change\"),t.originalStart+t.originalLength>=r.originalStart||t.modifiedStart+t.modifiedLength>=r.modifiedStart){const i=t.originalStart;let a=t.originalLength;const o=t.modifiedStart;let l=t.modifiedLength;return t.originalStart+t.originalLength>=r.originalStart&&(a=r.originalStart+r.originalLength-t.originalStart),t.modifiedStart+t.modifiedLength>=r.modifiedStart&&(l=r.modifiedStart+r.modifiedLength-t.modifiedStart),s[0]=new X(i,a,o,l),!0}else return s[0]=null,!1}ClipDiagonalBound(t,r,s,i){if(t>=0&&t<i)return t;const a=s,o=i-s-1,l=r%2===0;if(t<0){const u=a%2===0;return l===u?0:1}else{const u=o%2===0;return l===u?i-1:i-2}}}let oe;if(typeof B.vscode!=\"undefined\"&&typeof B.vscode.process!=\"undefined\"){const e=B.vscode.process;oe={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()}}}else typeof process!=\"undefined\"?oe={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:oe={get platform(){return he?\"win32\":Un?\"darwin\":\"linux\"},get arch(){},get env(){return{}},cwd(){return\"/\"}};const qe=oe.cwd,ur=oe.env,te=oe.platform,hr=65,fr=97,dr=90,mr=122,J=46,E=47,I=92,K=58,gr=63;class Ct extends Error{constructor(t,r,s){let i;typeof r==\"string\"&&r.indexOf(\"not \")===0?(i=\"must not be\",r=r.replace(/^not /,\"\")):i=\"must be\";const a=t.indexOf(\".\")!==-1?\"property\":\"argument\";let o=`The \"${t}\" ${a} ${i} of type ${r}`;o+=`. Received type ${typeof s}`,super(o),this.code=\"ERR_INVALID_ARG_TYPE\"}}function x(e,t){if(typeof e!=\"string\")throw new Ct(t,\"string\",e)}function k(e){return e===E||e===I}function He(e){return e===E}function ee(e){return e>=hr&&e<=dr||e>=fr&&e<=mr}function Le(e,t,r,s){let i=\"\",a=0,o=-1,l=0,u=0;for(let c=0;c<=e.length;++c){if(c<e.length)u=e.charCodeAt(c);else{if(s(u))break;u=E}if(s(u)){if(!(o===c-1||l===1))if(l===2){if(i.length<2||a!==2||i.charCodeAt(i.length-1)!==J||i.charCodeAt(i.length-2)!==J){if(i.length>2){const f=i.lastIndexOf(r);f===-1?(i=\"\",a=0):(i=i.slice(0,f),a=i.length-1-i.lastIndexOf(r)),o=c,l=0;continue}else if(i.length!==0){i=\"\",a=0,o=c,l=0;continue}}t&&(i+=i.length>0?`${r}..`:\"..\",a=2)}else i.length>0?i+=`${r}${e.slice(o+1,c)}`:i=e.slice(o+1,c),a=c-o-1;o=c,l=0}else u===J&&l!==-1?++l:l=-1}return i}function _t(e,t){if(t===null||typeof t!=\"object\")throw new Ct(\"pathObject\",\"Object\",t);const r=t.dir||t.root,s=t.base||`${t.name||\"\"}${t.ext||\"\"}`;return r?r===t.root?`${r}${s}`:`${r}${e}${s}`:s}const T={resolve(...e){let t=\"\",r=\"\",s=!1;for(let i=e.length-1;i>=-1;i--){let a;if(i>=0){if(a=e[i],x(a,\"path\"),a.length===0)continue}else t.length===0?a=qe():(a=ur[`=${t}`]||qe(),(a===void 0||a.slice(0,2).toLowerCase()!==t.toLowerCase()&&a.charCodeAt(2)===I)&&(a=`${t}\\\\`));const o=a.length;let l=0,u=\"\",c=!1;const f=a.charCodeAt(0);if(o===1)k(f)&&(l=1,c=!0);else if(k(f))if(c=!0,k(a.charCodeAt(1))){let h=2,d=h;for(;h<o&&!k(a.charCodeAt(h));)h++;if(h<o&&h!==d){const _=a.slice(d,h);for(d=h;h<o&&k(a.charCodeAt(h));)h++;if(h<o&&h!==d){for(d=h;h<o&&!k(a.charCodeAt(h));)h++;(h===o||h!==d)&&(u=`\\\\\\\\${_}\\\\${a.slice(d,h)}`,l=h)}}}else l=1;else ee(f)&&a.charCodeAt(1)===K&&(u=a.slice(0,2),l=2,o>2&&k(a.charCodeAt(2))&&(c=!0,l=3));if(u.length>0)if(t.length>0){if(u.toLowerCase()!==t.toLowerCase())continue}else t=u;if(s){if(t.length>0)break}else if(r=`${a.slice(l)}\\\\${r}`,s=c,c&&t.length>0)break}return r=Le(r,!s,\"\\\\\",k),s?`${t}\\\\${r}`:`${t}${r}`||\".\"},normalize(e){x(e,\"path\");const t=e.length;if(t===0)return\".\";let r=0,s,i=!1;const a=e.charCodeAt(0);if(t===1)return He(a)?\"\\\\\":e;if(k(a))if(i=!0,k(e.charCodeAt(1))){let l=2,u=l;for(;l<t&&!k(e.charCodeAt(l));)l++;if(l<t&&l!==u){const c=e.slice(u,l);for(u=l;l<t&&k(e.charCodeAt(l));)l++;if(l<t&&l!==u){for(u=l;l<t&&!k(e.charCodeAt(l));)l++;if(l===t)return`\\\\\\\\${c}\\\\${e.slice(u)}\\\\`;l!==u&&(s=`\\\\\\\\${c}\\\\${e.slice(u,l)}`,r=l)}}}else r=1;else ee(a)&&e.charCodeAt(1)===K&&(s=e.slice(0,2),r=2,t>2&&k(e.charCodeAt(2))&&(i=!0,r=3));let o=r<t?Le(e.slice(r),!i,\"\\\\\",k):\"\";return o.length===0&&!i&&(o=\".\"),o.length>0&&k(e.charCodeAt(t-1))&&(o+=\"\\\\\"),s===void 0?i?`\\\\${o}`:o:i?`${s}\\\\${o}`:`${s}${o}`},isAbsolute(e){x(e,\"path\");const t=e.length;if(t===0)return!1;const r=e.charCodeAt(0);return k(r)||t>2&&ee(r)&&e.charCodeAt(1)===K&&k(e.charCodeAt(2))},join(...e){if(e.length===0)return\".\";let t,r;for(let a=0;a<e.length;++a){const o=e[a];x(o,\"path\"),o.length>0&&(t===void 0?t=r=o:t+=`\\\\${o}`)}if(t===void 0)return\".\";let s=!0,i=0;if(typeof r==\"string\"&&k(r.charCodeAt(0))){++i;const a=r.length;a>1&&k(r.charCodeAt(1))&&(++i,a>2&&(k(r.charCodeAt(2))?++i:s=!1))}if(s){for(;i<t.length&&k(t.charCodeAt(i));)i++;i>=2&&(t=`\\\\${t.slice(i)}`)}return T.normalize(t)},relative(e,t){if(x(e,\"from\"),x(t,\"to\"),e===t)return\"\";const r=T.resolve(e),s=T.resolve(t);if(r===s||(e=r.toLowerCase(),t=s.toLowerCase(),e===t))return\"\";let i=0;for(;i<e.length&&e.charCodeAt(i)===I;)i++;let a=e.length;for(;a-1>i&&e.charCodeAt(a-1)===I;)a--;const o=a-i;let l=0;for(;l<t.length&&t.charCodeAt(l)===I;)l++;let u=t.length;for(;u-1>l&&t.charCodeAt(u-1)===I;)u--;const c=u-l,f=o<c?o:c;let h=-1,d=0;for(;d<f;d++){const S=e.charCodeAt(i+d);if(S!==t.charCodeAt(l+d))break;S===I&&(h=d)}if(d!==f){if(h===-1)return s}else{if(c>f){if(t.charCodeAt(l+d)===I)return s.slice(l+d+1);if(d===2)return s.slice(l+d)}o>f&&(e.charCodeAt(i+d)===I?h=d:d===2&&(h=3)),h===-1&&(h=0)}let _=\"\";for(d=i+h+1;d<=a;++d)(d===a||e.charCodeAt(d)===I)&&(_+=_.length===0?\"..\":\"\\\\..\");return l+=h,_.length>0?`${_}${s.slice(l,u)}`:(s.charCodeAt(l)===I&&++l,s.slice(l,u))},toNamespacedPath(e){if(typeof e!=\"string\")return e;if(e.length===0)return\"\";const t=T.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===I){if(t.charCodeAt(1)===I){const r=t.charCodeAt(2);if(r!==gr&&r!==J)return`\\\\\\\\?\\\\UNC\\\\${t.slice(2)}`}}else if(ee(t.charCodeAt(0))&&t.charCodeAt(1)===K&&t.charCodeAt(2)===I)return`\\\\\\\\?\\\\${t}`;return e},dirname(e){x(e,\"path\");const t=e.length;if(t===0)return\".\";let r=-1,s=0;const i=e.charCodeAt(0);if(t===1)return k(i)?e:\".\";if(k(i)){if(r=s=1,k(e.charCodeAt(1))){let l=2,u=l;for(;l<t&&!k(e.charCodeAt(l));)l++;if(l<t&&l!==u){for(u=l;l<t&&k(e.charCodeAt(l));)l++;if(l<t&&l!==u){for(u=l;l<t&&!k(e.charCodeAt(l));)l++;if(l===t)return e;l!==u&&(r=s=l+1)}}}}else ee(i)&&e.charCodeAt(1)===K&&(r=t>2&&k(e.charCodeAt(2))?3:2,s=r);let a=-1,o=!0;for(let l=t-1;l>=s;--l)if(k(e.charCodeAt(l))){if(!o){a=l;break}}else o=!1;if(a===-1){if(r===-1)return\".\";a=r}return e.slice(0,a)},basename(e,t){t!==void 0&&x(t,\"ext\"),x(e,\"path\");let r=0,s=-1,i=!0,a;if(e.length>=2&&ee(e.charCodeAt(0))&&e.charCodeAt(1)===K&&(r=2),t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return\"\";let o=t.length-1,l=-1;for(a=e.length-1;a>=r;--a){const u=e.charCodeAt(a);if(k(u)){if(!i){r=a+1;break}}else l===-1&&(i=!1,l=a+1),o>=0&&(u===t.charCodeAt(o)?--o===-1&&(s=a):(o=-1,s=l))}return r===s?s=l:s===-1&&(s=e.length),e.slice(r,s)}for(a=e.length-1;a>=r;--a)if(k(e.charCodeAt(a))){if(!i){r=a+1;break}}else s===-1&&(i=!1,s=a+1);return s===-1?\"\":e.slice(r,s)},extname(e){x(e,\"path\");let t=0,r=-1,s=0,i=-1,a=!0,o=0;e.length>=2&&e.charCodeAt(1)===K&&ee(e.charCodeAt(0))&&(t=s=2);for(let l=e.length-1;l>=t;--l){const u=e.charCodeAt(l);if(k(u)){if(!a){s=l+1;break}continue}i===-1&&(a=!1,i=l+1),u===J?r===-1?r=l:o!==1&&(o=1):r!==-1&&(o=-1)}return r===-1||i===-1||o===0||o===1&&r===i-1&&r===s+1?\"\":e.slice(r,i)},format:_t.bind(null,\"\\\\\"),parse(e){x(e,\"path\");const t={root:\"\",dir:\"\",base:\"\",ext:\"\",name:\"\"};if(e.length===0)return t;const r=e.length;let s=0,i=e.charCodeAt(0);if(r===1)return k(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(k(i)){if(s=1,k(e.charCodeAt(1))){let h=2,d=h;for(;h<r&&!k(e.charCodeAt(h));)h++;if(h<r&&h!==d){for(d=h;h<r&&k(e.charCodeAt(h));)h++;if(h<r&&h!==d){for(d=h;h<r&&!k(e.charCodeAt(h));)h++;h===r?s=h:h!==d&&(s=h+1)}}}}else if(ee(i)&&e.charCodeAt(1)===K){if(r<=2)return t.root=t.dir=e,t;if(s=2,k(e.charCodeAt(2))){if(r===3)return t.root=t.dir=e,t;s=3}}s>0&&(t.root=e.slice(0,s));let a=-1,o=s,l=-1,u=!0,c=e.length-1,f=0;for(;c>=s;--c){if(i=e.charCodeAt(c),k(i)){if(!u){o=c+1;break}continue}l===-1&&(u=!1,l=c+1),i===J?a===-1?a=c:f!==1&&(f=1):a!==-1&&(f=-1)}return l!==-1&&(a===-1||f===0||f===1&&a===l-1&&a===o+1?t.base=t.name=e.slice(o,l):(t.name=e.slice(o,a),t.base=e.slice(o,l),t.ext=e.slice(a,l))),o>0&&o!==s?t.dir=e.slice(0,o-1):t.dir=t.root,t},sep:\"\\\\\",delimiter:\";\",win32:null,posix:null},q={resolve(...e){let t=\"\",r=!1;for(let s=e.length-1;s>=-1&&!r;s--){const i=s>=0?e[s]:qe();x(i,\"path\"),i.length!==0&&(t=`${i}/${t}`,r=i.charCodeAt(0)===E)}return t=Le(t,!r,\"/\",He),r?`/${t}`:t.length>0?t:\".\"},normalize(e){if(x(e,\"path\"),e.length===0)return\".\";const t=e.charCodeAt(0)===E,r=e.charCodeAt(e.length-1)===E;return e=Le(e,!t,\"/\",He),e.length===0?t?\"/\":r?\"./\":\".\":(r&&(e+=\"/\"),t?`/${e}`:e)},isAbsolute(e){return x(e,\"path\"),e.length>0&&e.charCodeAt(0)===E},join(...e){if(e.length===0)return\".\";let t;for(let r=0;r<e.length;++r){const s=e[r];x(s,\"path\"),s.length>0&&(t===void 0?t=s:t+=`/${s}`)}return t===void 0?\".\":q.normalize(t)},relative(e,t){if(x(e,\"from\"),x(t,\"to\"),e===t||(e=q.resolve(e),t=q.resolve(t),e===t))return\"\";const r=1,s=e.length,i=s-r,a=1,o=t.length-a,l=i<o?i:o;let u=-1,c=0;for(;c<l;c++){const h=e.charCodeAt(r+c);if(h!==t.charCodeAt(a+c))break;h===E&&(u=c)}if(c===l)if(o>l){if(t.charCodeAt(a+c)===E)return t.slice(a+c+1);if(c===0)return t.slice(a+c)}else i>l&&(e.charCodeAt(r+c)===E?u=c:c===0&&(u=0));let f=\"\";for(c=r+u+1;c<=s;++c)(c===s||e.charCodeAt(c)===E)&&(f+=f.length===0?\"..\":\"/..\");return`${f}${t.slice(a+u)}`},toNamespacedPath(e){return e},dirname(e){if(x(e,\"path\"),e.length===0)return\".\";const t=e.charCodeAt(0)===E;let r=-1,s=!0;for(let i=e.length-1;i>=1;--i)if(e.charCodeAt(i)===E){if(!s){r=i;break}}else s=!1;return r===-1?t?\"/\":\".\":t&&r===1?\"//\":e.slice(0,r)},basename(e,t){t!==void 0&&x(t,\"ext\"),x(e,\"path\");let r=0,s=-1,i=!0,a;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return\"\";let o=t.length-1,l=-1;for(a=e.length-1;a>=0;--a){const u=e.charCodeAt(a);if(u===E){if(!i){r=a+1;break}}else l===-1&&(i=!1,l=a+1),o>=0&&(u===t.charCodeAt(o)?--o===-1&&(s=a):(o=-1,s=l))}return r===s?s=l:s===-1&&(s=e.length),e.slice(r,s)}for(a=e.length-1;a>=0;--a)if(e.charCodeAt(a)===E){if(!i){r=a+1;break}}else s===-1&&(i=!1,s=a+1);return s===-1?\"\":e.slice(r,s)},extname(e){x(e,\"path\");let t=-1,r=0,s=-1,i=!0,a=0;for(let o=e.length-1;o>=0;--o){const l=e.charCodeAt(o);if(l===E){if(!i){r=o+1;break}continue}s===-1&&(i=!1,s=o+1),l===J?t===-1?t=o:a!==1&&(a=1):t!==-1&&(a=-1)}return t===-1||s===-1||a===0||a===1&&t===s-1&&t===r+1?\"\":e.slice(t,s)},format:_t.bind(null,\"/\"),parse(e){x(e,\"path\");const t={root:\"\",dir:\"\",base:\"\",ext:\"\",name:\"\"};if(e.length===0)return t;const r=e.charCodeAt(0)===E;let s;r?(t.root=\"/\",s=1):s=0;let i=-1,a=0,o=-1,l=!0,u=e.length-1,c=0;for(;u>=s;--u){const f=e.charCodeAt(u);if(f===E){if(!l){a=u+1;break}continue}o===-1&&(l=!1,o=u+1),f===J?i===-1?i=u:c!==1&&(c=1):i!==-1&&(c=-1)}if(o!==-1){const f=a===0&&r?1:a;i===-1||c===0||c===1&&i===o-1&&i===a+1?t.base=t.name=e.slice(f,o):(t.name=e.slice(f,i),t.base=e.slice(f,o),t.ext=e.slice(i,o))}return a>0?t.dir=e.slice(0,a-1):r&&(t.dir=\"/\"),t},sep:\"/\",delimiter:\":\",win32:null,posix:null};q.win32=T.win32=T,q.posix=T.posix=q,te===\"win32\"?T.normalize:q.normalize,te===\"win32\"?T.resolve:q.resolve,te===\"win32\"?T.relative:q.relative,te===\"win32\"?T.dirname:q.dirname,te===\"win32\"?T.basename:q.basename,te===\"win32\"?T.extname:q.extname,te===\"win32\"?T.sep:q.sep;const br=/^\\w[\\w\\d+.-]*$/,wr=/^\\//,Cr=/^\\/\\//;function pt(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: \"\", authority: \"${e.authority}\", path: \"${e.path}\", query: \"${e.query}\", fragment: \"${e.fragment}\"}`);if(e.scheme&&!br.test(e.scheme))throw new Error(\"[UriError]: Scheme contains illegal characters.\");if(e.path){if(e.authority){if(!wr.test(e.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(Cr.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters (\"//\")')}}function _r(e,t){return!e&&!t?\"file\":e}function pr(e,t){switch(e){case\"https\":case\"http\":case\"file\":t?t[0]!==z&&(t=z+t):t=z;break}return t}const F=\"\",z=\"/\",Lr=/^(([^:/?#]+?):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/;class ne{constructor(t,r,s,i,a,o=!1){typeof t==\"object\"?(this.scheme=t.scheme||F,this.authority=t.authority||F,this.path=t.path||F,this.query=t.query||F,this.fragment=t.fragment||F):(this.scheme=_r(t,o),this.authority=r||F,this.path=pr(this.scheme,s||F),this.query=i||F,this.fragment=a||F,pt(this,o))}static isUri(t){return t instanceof ne?!0:t?typeof t.authority==\"string\"&&typeof t.fragment==\"string\"&&typeof t.path==\"string\"&&typeof t.query==\"string\"&&typeof t.scheme==\"string\"&&typeof t.fsPath==\"string\"&&typeof t.with==\"function\"&&typeof t.toString==\"function\":!1}get fsPath(){return We(this,!1)}with(t){if(!t)return this;let{scheme:r,authority:s,path:i,query:a,fragment:o}=t;return r===void 0?r=this.scheme:r===null&&(r=F),s===void 0?s=this.authority:s===null&&(s=F),i===void 0?i=this.path:i===null&&(i=F),a===void 0?a=this.query:a===null&&(a=F),o===void 0?o=this.fragment:o===null&&(o=F),r===this.scheme&&s===this.authority&&i===this.path&&a===this.query&&o===this.fragment?this:new le(r,s,i,a,o)}static parse(t,r=!1){const s=Lr.exec(t);return s?new le(s[2]||F,Ne(s[4]||F),Ne(s[5]||F),Ne(s[7]||F),Ne(s[9]||F),r):new le(F,F,F,F,F)}static file(t){let r=F;if(he&&(t=t.replace(/\\\\/g,z)),t[0]===z&&t[1]===z){const s=t.indexOf(z,2);s===-1?(r=t.substring(2),t=z):(r=t.substring(2,s),t=t.substring(s)||z)}return new le(\"file\",r,t,F,F)}static from(t){const r=new le(t.scheme,t.authority,t.path,t.query,t.fragment);return pt(r,!0),r}static joinPath(t,...r){if(!t.path)throw new Error(\"[UriError]: cannot call joinPath on URI without path\");let s;return he&&t.scheme===\"file\"?s=ne.file(T.join(We(t,!0),...r)).path:s=q.join(t.path,...r),t.with({path:s})}toString(t=!1){return $e(this,t)}toJSON(){return this}static revive(t){if(t){if(t instanceof ne)return t;{const r=new le(t);return r._formatted=t.external,r._fsPath=t._sep===Lt?t.fsPath:null,r}}else return t}}const Lt=he?1:void 0;class le extends ne{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=We(this,!1)),this._fsPath}toString(t=!1){return t?$e(this,!0):(this._formatted||(this._formatted=$e(this,!1)),this._formatted)}toJSON(){const t={$mid:1};return this._fsPath&&(t.fsPath=this._fsPath,t._sep=Lt),this._formatted&&(t.external=this._formatted),this.path&&(t.path=this.path),this.scheme&&(t.scheme=this.scheme),this.authority&&(t.authority=this.authority),this.query&&(t.query=this.query),this.fragment&&(t.fragment=this.fragment),t}}const Nt={[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 St(e,t){let r,s=-1;for(let i=0;i<e.length;i++){const a=e.charCodeAt(i);if(a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a===45||a===46||a===95||a===126||t&&a===47)s!==-1&&(r+=encodeURIComponent(e.substring(s,i)),s=-1),r!==void 0&&(r+=e.charAt(i));else{r===void 0&&(r=e.substr(0,i));const o=Nt[a];o!==void 0?(s!==-1&&(r+=encodeURIComponent(e.substring(s,i)),s=-1),r+=o):s===-1&&(s=i)}}return s!==-1&&(r+=encodeURIComponent(e.substring(s))),r!==void 0?r:e}function Nr(e){let t;for(let r=0;r<e.length;r++){const s=e.charCodeAt(r);s===35||s===63?(t===void 0&&(t=e.substr(0,r)),t+=Nt[s]):t!==void 0&&(t+=e[r])}return t!==void 0?t:e}function We(e,t){let r;return e.authority&&e.path.length>1&&e.scheme===\"file\"?r=`//${e.authority}${e.path}`:e.path.charCodeAt(0)===47&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&e.path.charCodeAt(2)===58?t?r=e.path.substr(1):r=e.path[1].toLowerCase()+e.path.substr(2):r=e.path,he&&(r=r.replace(/\\//g,\"\\\\\")),r}function $e(e,t){const r=t?Nr:St;let s=\"\",{scheme:i,authority:a,path:o,query:l,fragment:u}=e;if(i&&(s+=i,s+=\":\"),(a||i===\"file\")&&(s+=z,s+=z),a){let c=a.indexOf(\"@\");if(c!==-1){const f=a.substr(0,c);a=a.substr(c+1),c=f.indexOf(\":\"),c===-1?s+=r(f,!1):(s+=r(f.substr(0,c),!1),s+=\":\",s+=r(f.substr(c+1),!1)),s+=\"@\"}a=a.toLowerCase(),c=a.indexOf(\":\"),c===-1?s+=r(a,!1):(s+=r(a.substr(0,c),!1),s+=a.substr(c))}if(o){if(o.length>=3&&o.charCodeAt(0)===47&&o.charCodeAt(2)===58){const c=o.charCodeAt(1);c>=65&&c<=90&&(o=`/${String.fromCharCode(c+32)}:${o.substr(3)}`)}else if(o.length>=2&&o.charCodeAt(1)===58){const c=o.charCodeAt(0);c>=65&&c<=90&&(o=`${String.fromCharCode(c+32)}:${o.substr(2)}`)}s+=r(o,!0)}return l&&(s+=\"?\",s+=r(l,!1)),u&&(s+=\"#\",s+=t?u:St(u,!1)),s}function vt(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+vt(e.substr(3)):e}}const At=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function Ne(e){return e.match(At)?e.replace(At,t=>vt(t)):e}class H{constructor(t,r){this.lineNumber=t,this.column=r}with(t=this.lineNumber,r=this.column){return t===this.lineNumber&&r===this.column?this:new H(t,r)}delta(t=0,r=0){return this.with(this.lineNumber+t,this.column+r)}equals(t){return H.equals(this,t)}static equals(t,r){return!t&&!r?!0:!!t&&!!r&&t.lineNumber===r.lineNumber&&t.column===r.column}isBefore(t){return H.isBefore(this,t)}static isBefore(t,r){return t.lineNumber<r.lineNumber?!0:r.lineNumber<t.lineNumber?!1:t.column<r.column}isBeforeOrEqual(t){return H.isBeforeOrEqual(this,t)}static isBeforeOrEqual(t,r){return t.lineNumber<r.lineNumber?!0:r.lineNumber<t.lineNumber?!1:t.column<=r.column}static compare(t,r){const s=t.lineNumber|0,i=r.lineNumber|0;if(s===i){const a=t.column|0,o=r.column|0;return a-o}return s-i}clone(){return new H(this.lineNumber,this.column)}toString(){return\"(\"+this.lineNumber+\",\"+this.column+\")\"}static lift(t){return new H(t.lineNumber,t.column)}static isIPosition(t){return t&&typeof t.lineNumber==\"number\"&&typeof t.column==\"number\"}}class V{constructor(t,r,s,i){t>s||t===s&&r>i?(this.startLineNumber=s,this.startColumn=i,this.endLineNumber=t,this.endColumn=r):(this.startLineNumber=t,this.startColumn=r,this.endLineNumber=s,this.endColumn=i)}isEmpty(){return V.isEmpty(this)}static isEmpty(t){return t.startLineNumber===t.endLineNumber&&t.startColumn===t.endColumn}containsPosition(t){return V.containsPosition(this,t)}static containsPosition(t,r){return!(r.lineNumber<t.startLineNumber||r.lineNumber>t.endLineNumber||r.lineNumber===t.startLineNumber&&r.column<t.startColumn||r.lineNumber===t.endLineNumber&&r.column>t.endColumn)}static strictContainsPosition(t,r){return!(r.lineNumber<t.startLineNumber||r.lineNumber>t.endLineNumber||r.lineNumber===t.startLineNumber&&r.column<=t.startColumn||r.lineNumber===t.endLineNumber&&r.column>=t.endColumn)}containsRange(t){return V.containsRange(this,t)}static containsRange(t,r){return!(r.startLineNumber<t.startLineNumber||r.endLineNumber<t.startLineNumber||r.startLineNumber>t.endLineNumber||r.endLineNumber>t.endLineNumber||r.startLineNumber===t.startLineNumber&&r.startColumn<t.startColumn||r.endLineNumber===t.endLineNumber&&r.endColumn>t.endColumn)}strictContainsRange(t){return V.strictContainsRange(this,t)}static strictContainsRange(t,r){return!(r.startLineNumber<t.startLineNumber||r.endLineNumber<t.startLineNumber||r.startLineNumber>t.endLineNumber||r.endLineNumber>t.endLineNumber||r.startLineNumber===t.startLineNumber&&r.startColumn<=t.startColumn||r.endLineNumber===t.endLineNumber&&r.endColumn>=t.endColumn)}plusRange(t){return V.plusRange(this,t)}static plusRange(t,r){let s,i,a,o;return r.startLineNumber<t.startLineNumber?(s=r.startLineNumber,i=r.startColumn):r.startLineNumber===t.startLineNumber?(s=r.startLineNumber,i=Math.min(r.startColumn,t.startColumn)):(s=t.startLineNumber,i=t.startColumn),r.endLineNumber>t.endLineNumber?(a=r.endLineNumber,o=r.endColumn):r.endLineNumber===t.endLineNumber?(a=r.endLineNumber,o=Math.max(r.endColumn,t.endColumn)):(a=t.endLineNumber,o=t.endColumn),new V(s,i,a,o)}intersectRanges(t){return V.intersectRanges(this,t)}static intersectRanges(t,r){let s=t.startLineNumber,i=t.startColumn,a=t.endLineNumber,o=t.endColumn,l=r.startLineNumber,u=r.startColumn,c=r.endLineNumber,f=r.endColumn;return s<l?(s=l,i=u):s===l&&(i=Math.max(i,u)),a>c?(a=c,o=f):a===c&&(o=Math.min(o,f)),s>a||s===a&&i>o?null:new V(s,i,a,o)}equalsRange(t){return V.equalsRange(this,t)}static equalsRange(t,r){return!!t&&!!r&&t.startLineNumber===r.startLineNumber&&t.startColumn===r.startColumn&&t.endLineNumber===r.endLineNumber&&t.endColumn===r.endColumn}getEndPosition(){return V.getEndPosition(this)}static getEndPosition(t){return new H(t.endLineNumber,t.endColumn)}getStartPosition(){return V.getStartPosition(this)}static getStartPosition(t){return new H(t.startLineNumber,t.startColumn)}toString(){return\"[\"+this.startLineNumber+\",\"+this.startColumn+\" -> \"+this.endLineNumber+\",\"+this.endColumn+\"]\"}setEndPosition(t,r){return new V(this.startLineNumber,this.startColumn,t,r)}setStartPosition(t,r){return new V(t,r,this.endLineNumber,this.endColumn)}collapseToStart(){return V.collapseToStart(this)}static collapseToStart(t){return new V(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)}static fromPositions(t,r=t){return new V(t.lineNumber,t.column,r.lineNumber,r.column)}static lift(t){return t?new V(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null}static isIRange(t){return t&&typeof t.startLineNumber==\"number\"&&typeof t.startColumn==\"number\"&&typeof t.endLineNumber==\"number\"&&typeof t.endColumn==\"number\"}static areIntersectingOrTouching(t,r){return!(t.endLineNumber<r.startLineNumber||t.endLineNumber===r.startLineNumber&&t.endColumn<r.startColumn||r.endLineNumber<t.startLineNumber||r.endLineNumber===t.startLineNumber&&r.endColumn<t.startColumn)}static areIntersecting(t,r){return!(t.endLineNumber<r.startLineNumber||t.endLineNumber===r.startLineNumber&&t.endColumn<=r.startColumn||r.endLineNumber<t.startLineNumber||r.endLineNumber===t.startLineNumber&&r.endColumn<=t.startColumn)}static compareRangesUsingStarts(t,r){if(t&&r){const a=t.startLineNumber|0,o=r.startLineNumber|0;if(a===o){const l=t.startColumn|0,u=r.startColumn|0;if(l===u){const c=t.endLineNumber|0,f=r.endLineNumber|0;if(c===f){const h=t.endColumn|0,d=r.endColumn|0;return h-d}return c-f}return l-u}return a-o}return(t?1:0)-(r?1:0)}static compareRangesUsingEnds(t,r){return t.endLineNumber===r.endLineNumber?t.endColumn===r.endColumn?t.startLineNumber===r.startLineNumber?t.startColumn-r.startColumn:t.startLineNumber-r.startLineNumber:t.endColumn-r.endColumn:t.endLineNumber-r.endLineNumber}static spansMultipleLines(t){return t.endLineNumber>t.startLineNumber}toJSON(){return this}}const Sr=3;function yt(e,t,r,s){return new Q(e,t,r).ComputeDiff(s)}class kt{constructor(t){const r=[],s=[];for(let i=0,a=t.length;i<a;i++)r[i]=ze(t[i],1),s[i]=Ge(t[i],1);this.lines=t,this._startColumns=r,this._endColumns=s}getElements(){const t=[];for(let r=0,s=this.lines.length;r<s;r++)t[r]=this.lines[r].substring(this._startColumns[r]-1,this._endColumns[r]-1);return t}getStrictElement(t){return this.lines[t]}getStartLineNumber(t){return t+1}getEndLineNumber(t){return t+1}createCharSequence(t,r,s){const i=[],a=[],o=[];let l=0;for(let u=r;u<=s;u++){const c=this.lines[u],f=t?this._startColumns[u]:1,h=t?this._endColumns[u]:c.length+1;for(let d=f;d<h;d++)i[l]=c.charCodeAt(d-1),a[l]=u+1,o[l]=d,l++}return new vr(i,a,o)}}class vr{constructor(t,r,s){this._charCodes=t,this._lineNumbers=r,this._columns=s}getElements(){return this._charCodes}getStartLineNumber(t){return this._lineNumbers[t]}getStartColumn(t){return this._columns[t]}getEndLineNumber(t){return this._lineNumbers[t]}getEndColumn(t){return this._columns[t]+1}}class fe{constructor(t,r,s,i,a,o,l,u){this.originalStartLineNumber=t,this.originalStartColumn=r,this.originalEndLineNumber=s,this.originalEndColumn=i,this.modifiedStartLineNumber=a,this.modifiedStartColumn=o,this.modifiedEndLineNumber=l,this.modifiedEndColumn=u}static createFromDiffChange(t,r,s){let i,a,o,l,u,c,f,h;return t.originalLength===0?(i=0,a=0,o=0,l=0):(i=r.getStartLineNumber(t.originalStart),a=r.getStartColumn(t.originalStart),o=r.getEndLineNumber(t.originalStart+t.originalLength-1),l=r.getEndColumn(t.originalStart+t.originalLength-1)),t.modifiedLength===0?(u=0,c=0,f=0,h=0):(u=s.getStartLineNumber(t.modifiedStart),c=s.getStartColumn(t.modifiedStart),f=s.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),h=s.getEndColumn(t.modifiedStart+t.modifiedLength-1)),new fe(i,a,o,l,u,c,f,h)}}function Ar(e){if(e.length<=1)return e;const t=[e[0]];let r=t[0];for(let s=1,i=e.length;s<i;s++){const a=e[s],o=a.originalStart-(r.originalStart+r.originalLength),l=a.modifiedStart-(r.modifiedStart+r.modifiedLength);Math.min(o,l)<Sr?(r.originalLength=a.originalStart+a.originalLength-r.originalStart,r.modifiedLength=a.modifiedStart+a.modifiedLength-r.modifiedStart):(t.push(a),r=a)}return t}class de{constructor(t,r,s,i,a){this.originalStartLineNumber=t,this.originalEndLineNumber=r,this.modifiedStartLineNumber=s,this.modifiedEndLineNumber=i,this.charChanges=a}static createFromDiffResult(t,r,s,i,a,o,l){let u,c,f,h,d;if(r.originalLength===0?(u=s.getStartLineNumber(r.originalStart)-1,c=0):(u=s.getStartLineNumber(r.originalStart),c=s.getEndLineNumber(r.originalStart+r.originalLength-1)),r.modifiedLength===0?(f=i.getStartLineNumber(r.modifiedStart)-1,h=0):(f=i.getStartLineNumber(r.modifiedStart),h=i.getEndLineNumber(r.modifiedStart+r.modifiedLength-1)),o&&r.originalLength>0&&r.originalLength<20&&r.modifiedLength>0&&r.modifiedLength<20&&a()){const _=s.createCharSequence(t,r.originalStart,r.originalStart+r.originalLength-1),S=i.createCharSequence(t,r.modifiedStart,r.modifiedStart+r.modifiedLength-1);let v=yt(_,S,a,!0).changes;l&&(v=Ar(v)),d=[];for(let M=0,P=v.length;M<P;M++)d.push(fe.createFromDiffChange(v[M],_,S))}return new de(u,c,f,h,d)}}class yr{constructor(t,r,s){this.shouldComputeCharChanges=s.shouldComputeCharChanges,this.shouldPostProcessCharChanges=s.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=s.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=s.shouldMakePrettyDiff,this.originalLines=t,this.modifiedLines=r,this.original=new kt(t),this.modified=new kt(r),this.continueLineDiff=Mt(s.maxComputationTime),this.continueCharDiff=Mt(s.maxComputationTime===0?0:Math.min(s.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:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber: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:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};const t=yt(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),r=t.changes,s=t.quitEarly;if(this.shouldIgnoreTrimWhitespace){const l=[];for(let u=0,c=r.length;u<c;u++)l.push(de.createFromDiffResult(this.shouldIgnoreTrimWhitespace,r[u],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:s,changes:l}}const i=[];let a=0,o=0;for(let l=-1,u=r.length;l<u;l++){const c=l+1<u?r[l+1]:null,f=c?c.originalStart:this.originalLines.length,h=c?c.modifiedStart:this.modifiedLines.length;for(;a<f&&o<h;){const d=this.originalLines[a],_=this.modifiedLines[o];if(d!==_){{let S=ze(d,1),v=ze(_,1);for(;S>1&&v>1;){const M=d.charCodeAt(S-2),P=_.charCodeAt(v-2);if(M!==P)break;S--,v--}(S>1||v>1)&&this._pushTrimWhitespaceCharChange(i,a+1,1,S,o+1,1,v)}{let S=Ge(d,1),v=Ge(_,1);const M=d.length+1,P=_.length+1;for(;S<M&&v<P;){const w=d.charCodeAt(S-1),p=d.charCodeAt(v-1);if(w!==p)break;S++,v++}(S<M||v<P)&&this._pushTrimWhitespaceCharChange(i,a+1,S,M,o+1,v,P)}}a++,o++}c&&(i.push(de.createFromDiffResult(this.shouldIgnoreTrimWhitespace,c,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),a+=c.originalLength,o+=c.modifiedLength)}return{quitEarly:s,changes:i}}_pushTrimWhitespaceCharChange(t,r,s,i,a,o,l){if(this._mergeTrimWhitespaceCharChange(t,r,s,i,a,o,l))return;let u;this.shouldComputeCharChanges&&(u=[new fe(r,s,r,i,a,o,a,l)]),t.push(new de(r,r,a,a,u))}_mergeTrimWhitespaceCharChange(t,r,s,i,a,o,l){const u=t.length;if(u===0)return!1;const c=t[u-1];return c.originalEndLineNumber===0||c.modifiedEndLineNumber===0?!1:c.originalEndLineNumber+1===r&&c.modifiedEndLineNumber+1===a?(c.originalEndLineNumber=r,c.modifiedEndLineNumber=a,this.shouldComputeCharChanges&&c.charChanges&&c.charChanges.push(new fe(r,s,r,i,a,o,a,l)),!0):!1}}function ze(e,t){const r=jn(e);return r===-1?t:r+1}function Ge(e,t){const r=Zn(e);return r===-1?t:r+2}function Mt(e){if(e===0)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}function Rt(e){return e<0?0:e>255?255:e|0}function ce(e){return e<0?0:e>4294967295?4294967295:e|0}class kr{constructor(t){this.values=t,this.prefixSum=new Uint32Array(t.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(t,r){t=ce(t);const s=this.values,i=this.prefixSum,a=r.length;return a===0?!1:(this.values=new Uint32Array(s.length+a),this.values.set(s.subarray(0,t),0),this.values.set(s.subarray(t),t+a),this.values.set(r,t),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(t,r){return t=ce(t),r=ce(r),this.values[t]===r?!1:(this.values[t]=r,t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),!0)}removeValues(t,r){t=ce(t),r=ce(r);const s=this.values,i=this.prefixSum;if(t>=s.length)return!1;const a=s.length-t;return r>=a&&(r=a),r===0?!1:(this.values=new Uint32Array(s.length-r),this.values.set(s.subarray(0,t),0),this.values.set(s.subarray(t+r),t),this.prefixSum=new Uint32Array(this.values.length),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(t){return t<0?0:(t=ce(t),this._getPrefixSum(t))}_getPrefixSum(t){if(t<=this.prefixSumValidIndex[0])return this.prefixSum[t];let r=this.prefixSumValidIndex[0]+1;r===0&&(this.prefixSum[0]=this.values[0],r++),t>=this.values.length&&(t=this.values.length-1);for(let s=r;s<=t;s++)this.prefixSum[s]=this.prefixSum[s-1]+this.values[s];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],t),this.prefixSum[t]}getIndexOf(t){t=Math.floor(t),this.getTotalSum();let r=0,s=this.values.length-1,i=0,a=0,o=0;for(;r<=s;)if(i=r+(s-r)/2|0,a=this.prefixSum[i],o=a-this.values[i],t<o)s=i-1;else if(t>=a)r=i+1;else break;return new Mr(i,t-o)}}class Mr{constructor(t,r){this.index=t,this.remainder=r,this._prefixSumIndexOfResultBrand=void 0,this.index=t,this.remainder=r}}class Rr{constructor(t,r,s,i){this._uri=t,this._lines=r,this._eol=s,this._versionId=i,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(t){t.eol&&t.eol!==this._eol&&(this._eol=t.eol,this._lineStarts=null);const r=t.changes;for(const s of r)this._acceptDeleteRange(s.range),this._acceptInsertText(new H(s.range.startLineNumber,s.range.startColumn),s.text);this._versionId=t.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const t=this._eol.length,r=this._lines.length,s=new Uint32Array(r);for(let i=0;i<r;i++)s[i]=this._lines[i].length+t;this._lineStarts=new kr(s)}}_setLineText(t,r){this._lines[t]=r,this._lineStarts&&this._lineStarts.setValue(t,this._lines[t].length+this._eol.length)}_acceptDeleteRange(t){if(t.startLineNumber===t.endLineNumber){if(t.startColumn===t.endColumn)return;this._setLineText(t.startLineNumber-1,this._lines[t.startLineNumber-1].substring(0,t.startColumn-1)+this._lines[t.startLineNumber-1].substring(t.endColumn-1));return}this._setLineText(t.startLineNumber-1,this._lines[t.startLineNumber-1].substring(0,t.startColumn-1)+this._lines[t.endLineNumber-1].substring(t.endColumn-1)),this._lines.splice(t.startLineNumber,t.endLineNumber-t.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(t.startLineNumber,t.endLineNumber-t.startLineNumber)}_acceptInsertText(t,r){if(r.length===0)return;const s=On(r);if(s.length===1){this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+s[0]+this._lines[t.lineNumber-1].substring(t.column-1));return}s[s.length-1]+=this._lines[t.lineNumber-1].substring(t.column-1),this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+s[0]);const i=new Uint32Array(s.length-1);for(let a=1;a<s.length;a++)this._lines.splice(t.lineNumber+a-1,0,s[a]),i[a-1]=s[a].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(t.lineNumber,i)}}const Pr=\"`~!@#$%^&*()-=+[{]}\\\\|;:'\\\",.<>/?\";function Dr(e=\"\"){let t=\"(-?\\\\d*\\\\.\\\\d\\\\w*)|([^\";for(const r of Pr)e.indexOf(r)>=0||(t+=\"\\\\\"+r);return t+=\"\\\\s]+)\",new RegExp(t,\"g\")}const Pt=Dr();function Fr(e){let t=Pt;if(e&&e instanceof RegExp)if(e.global)t=e;else{let r=\"g\";e.ignoreCase&&(r+=\"i\"),e.multiline&&(r+=\"m\"),e.unicode&&(r+=\"u\"),t=new RegExp(e.source,r)}return t.lastIndex=0,t}const Vr={maxLen:1e3,windowSize:15,timeBudget:150};function Oe(e,t,r,s,i=Vr){if(r.length>i.maxLen){let c=e-i.maxLen/2;return c<0?c=0:s+=c,r=r.substring(c,e+i.maxLen/2),Oe(e,t,r,s,i)}const a=Date.now(),o=e-1-s;let l=-1,u=null;for(let c=1;!(Date.now()-a>=i.timeBudget);c++){const f=o-i.windowSize*c;t.lastIndex=Math.max(0,f);const h=xr(t,r,o,l);if(!h&&u||(u=h,f<=0))break;l=f}if(u){const c={word:u[0],startColumn:s+1+u.index,endColumn:s+1+u.index+u[0].length};return t.lastIndex=0,c}return null}function xr(e,t,r,s){let i;for(;i=e.exec(t);){const a=i.index||0;if(a<=r&&e.lastIndex>=r)return i;if(s>0&&a>s)return null}return null}class je{constructor(t){const r=Rt(t);this._defaultValue=r,this._asciiMap=je._createAsciiMap(r),this._map=new Map}static _createAsciiMap(t){const r=new Uint8Array(256);for(let s=0;s<256;s++)r[s]=t;return r}set(t,r){const s=Rt(r);t>=0&&t<256?this._asciiMap[t]=s:this._map.set(t,s)}get(t){return t>=0&&t<256?this._asciiMap[t]:this._map.get(t)||this._defaultValue}}class Er{constructor(t,r,s){const i=new Uint8Array(t*r);for(let a=0,o=t*r;a<o;a++)i[a]=s;this._data=i,this.rows=t,this.cols=r}get(t,r){return this._data[t*this.cols+r]}set(t,r,s){this._data[t*this.cols+r]=s}}class Br{constructor(t){let r=0,s=0;for(let a=0,o=t.length;a<o;a++){const[l,u,c]=t[a];u>r&&(r=u),l>s&&(s=l),c>s&&(s=c)}r++,s++;const i=new Er(s,r,0);for(let a=0,o=t.length;a<o;a++){const[l,u,c]=t[a];i.set(l,u,c)}this._states=i,this._maxCharCode=r}nextState(t,r){return r<0||r>=this._maxCharCode?0:this._states.get(t,r)}}let Ze=null;function Ur(){return Ze===null&&(Ze=new Br([[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]])),Ze}let me=null;function Tr(){if(me===null){me=new je(0);const e=` \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`;for(let r=0;r<e.length;r++)me.set(e.charCodeAt(r),1);const t=\".,;\";for(let r=0;r<t.length;r++)me.set(t.charCodeAt(r),2)}return me}class Se{static _createLink(t,r,s,i,a){let o=a-1;do{const l=r.charCodeAt(o);if(t.get(l)!==2)break;o--}while(o>i);if(i>0){const l=r.charCodeAt(i-1),u=r.charCodeAt(o);(l===40&&u===41||l===91&&u===93||l===123&&u===125)&&o--}return{range:{startLineNumber:s,startColumn:i+1,endLineNumber:s,endColumn:o+2},url:r.substring(i,o+1)}}static computeLinks(t,r=Ur()){const s=Tr(),i=[];for(let a=1,o=t.getLineCount();a<=o;a++){const l=t.getLineContent(a),u=l.length;let c=0,f=0,h=0,d=1,_=!1,S=!1,v=!1,M=!1;for(;c<u;){let P=!1;const w=l.charCodeAt(c);if(d===13){let p;switch(w){case 40:_=!0,p=0;break;case 41:p=_?0:1;break;case 91:v=!0,S=!0,p=0;break;case 93:v=!1,p=S?0:1;break;case 123:M=!0,p=0;break;case 125:p=M?0:1;break;case 39:p=h===34||h===96?0:1;break;case 34:p=h===39||h===96?0:1;break;case 96:p=h===39||h===34?0:1;break;case 42:p=h===42?1:0;break;case 124:p=h===124?1:0;break;case 32:p=v?0:1;break;default:p=s.get(w)}p===1&&(i.push(Se._createLink(s,l,a,f,c)),P=!0)}else if(d===12){let p;w===91?(S=!0,p=0):p=s.get(w),p===1?P=!0:d=13}else d=r.nextState(d,w),d===0&&(P=!0);P&&(d=1,_=!1,S=!1,M=!1,f=c+1,h=w),c++}d===13&&i.push(Se._createLink(s,l,a,f,u))}return i}}function Ir(e){return!e||typeof e.getLineCount!=\"function\"||typeof e.getLineContent!=\"function\"?[]:Se.computeLinks(e)}class Ye{constructor(){this._defaultValueSet=[[\"true\",\"false\"],[\"True\",\"False\"],[\"Private\",\"Public\",\"Friend\",\"ReadOnly\",\"Partial\",\"Protected\",\"WriteOnly\"],[\"public\",\"protected\",\"private\"]]}navigateValueSet(t,r,s,i,a){if(t&&r){const o=this.doNavigateValueSet(r,a);if(o)return{range:t,value:o}}if(s&&i){const o=this.doNavigateValueSet(i,a);if(o)return{range:s,value:o}}return null}doNavigateValueSet(t,r){const s=this.numberReplace(t,r);return s!==null?s:this.textReplace(t,r)}numberReplace(t,r){const s=Math.pow(10,t.length-(t.lastIndexOf(\".\")+1));let i=Number(t),a=parseFloat(t);return!isNaN(i)&&!isNaN(a)&&i===a?i===0&&!r?null:(i=Math.floor(i*s),i+=r?s:-s,String(i/s)):null}textReplace(t,r){return this.valueSetsReplace(this._defaultValueSet,t,r)}valueSetsReplace(t,r,s){let i=null;for(let a=0,o=t.length;i===null&&a<o;a++)i=this.valueSetReplace(t[a],r,s);return i}valueSetReplace(t,r,s){let i=t.indexOf(r);return i>=0?(i+=s?1:-1,i<0?i=t.length-1:i%=t.length,t[i]):null}}Ye.INSTANCE=new Ye;const Dt=Object.freeze(function(e,t){const r=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(r)}}});var ve;(function(e){function t(r){return r===e.None||r===e.Cancelled||r instanceof Ae?!0:!r||typeof r!=\"object\"?!1:typeof r.isCancellationRequested==\"boolean\"&&typeof r.onCancellationRequested==\"function\"}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:Be.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Dt})})(ve||(ve={}));class Ae{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?Dt:(this._emitter||(this._emitter=new j),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class qr{constructor(t){this._token=void 0,this._parentListener=void 0,this._parentListener=t&&t.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new Ae),this._token}cancel(){this._token?this._token instanceof Ae&&this._token.cancel():this._token=ve.Cancelled}dispose(t=!1){t&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof Ae&&this._token.dispose():this._token=ve.None}}class Xe{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(t,r){this._keyCodeToStr[t]=r,this._strToKeyCode[r.toLowerCase()]=t}keyCodeToStr(t){return this._keyCodeToStr[t]}strToKeyCode(t){return this._strToKeyCode[t.toLowerCase()]||0}}const ye=new Xe,Qe=new Xe,Je=new Xe,Hr=new Array(230),Wr=Object.create(null),$r=Object.create(null);(function(){const e=\"\",t=[[0,1,0,\"None\",0,\"unknown\",0,\"VK_UNKNOWN\",e,e],[0,1,1,\"Hyper\",0,e,0,e,e,e],[0,1,2,\"Super\",0,e,0,e,e,e],[0,1,3,\"Fn\",0,e,0,e,e,e],[0,1,4,\"FnLock\",0,e,0,e,e,e],[0,1,5,\"Suspend\",0,e,0,e,e,e],[0,1,6,\"Resume\",0,e,0,e,e,e],[0,1,7,\"Turbo\",0,e,0,e,e,e],[0,1,8,\"Sleep\",0,e,0,\"VK_SLEEP\",e,e],[0,1,9,\"WakeUp\",0,e,0,e,e,e],[31,0,10,\"KeyA\",31,\"A\",65,\"VK_A\",e,e],[32,0,11,\"KeyB\",32,\"B\",66,\"VK_B\",e,e],[33,0,12,\"KeyC\",33,\"C\",67,\"VK_C\",e,e],[34,0,13,\"KeyD\",34,\"D\",68,\"VK_D\",e,e],[35,0,14,\"KeyE\",35,\"E\",69,\"VK_E\",e,e],[36,0,15,\"KeyF\",36,\"F\",70,\"VK_F\",e,e],[37,0,16,\"KeyG\",37,\"G\",71,\"VK_G\",e,e],[38,0,17,\"KeyH\",38,\"H\",72,\"VK_H\",e,e],[39,0,18,\"KeyI\",39,\"I\",73,\"VK_I\",e,e],[40,0,19,\"KeyJ\",40,\"J\",74,\"VK_J\",e,e],[41,0,20,\"KeyK\",41,\"K\",75,\"VK_K\",e,e],[42,0,21,\"KeyL\",42,\"L\",76,\"VK_L\",e,e],[43,0,22,\"KeyM\",43,\"M\",77,\"VK_M\",e,e],[44,0,23,\"KeyN\",44,\"N\",78,\"VK_N\",e,e],[45,0,24,\"KeyO\",45,\"O\",79,\"VK_O\",e,e],[46,0,25,\"KeyP\",46,\"P\",80,\"VK_P\",e,e],[47,0,26,\"KeyQ\",47,\"Q\",81,\"VK_Q\",e,e],[48,0,27,\"KeyR\",48,\"R\",82,\"VK_R\",e,e],[49,0,28,\"KeyS\",49,\"S\",83,\"VK_S\",e,e],[50,0,29,\"KeyT\",50,\"T\",84,\"VK_T\",e,e],[51,0,30,\"KeyU\",51,\"U\",85,\"VK_U\",e,e],[52,0,31,\"KeyV\",52,\"V\",86,\"VK_V\",e,e],[53,0,32,\"KeyW\",53,\"W\",87,\"VK_W\",e,e],[54,0,33,\"KeyX\",54,\"X\",88,\"VK_X\",e,e],[55,0,34,\"KeyY\",55,\"Y\",89,\"VK_Y\",e,e],[56,0,35,\"KeyZ\",56,\"Z\",90,\"VK_Z\",e,e],[22,0,36,\"Digit1\",22,\"1\",49,\"VK_1\",e,e],[23,0,37,\"Digit2\",23,\"2\",50,\"VK_2\",e,e],[24,0,38,\"Digit3\",24,\"3\",51,\"VK_3\",e,e],[25,0,39,\"Digit4\",25,\"4\",52,\"VK_4\",e,e],[26,0,40,\"Digit5\",26,\"5\",53,\"VK_5\",e,e],[27,0,41,\"Digit6\",27,\"6\",54,\"VK_6\",e,e],[28,0,42,\"Digit7\",28,\"7\",55,\"VK_7\",e,e],[29,0,43,\"Digit8\",29,\"8\",56,\"VK_8\",e,e],[30,0,44,\"Digit9\",30,\"9\",57,\"VK_9\",e,e],[21,0,45,\"Digit0\",21,\"0\",48,\"VK_0\",e,e],[3,1,46,\"Enter\",3,\"Enter\",13,\"VK_RETURN\",e,e],[9,1,47,\"Escape\",9,\"Escape\",27,\"VK_ESCAPE\",e,e],[1,1,48,\"Backspace\",1,\"Backspace\",8,\"VK_BACK\",e,e],[2,1,49,\"Tab\",2,\"Tab\",9,\"VK_TAB\",e,e],[10,1,50,\"Space\",10,\"Space\",32,\"VK_SPACE\",e,e],[83,0,51,\"Minus\",83,\"-\",189,\"VK_OEM_MINUS\",\"-\",\"OEM_MINUS\"],[81,0,52,\"Equal\",81,\"=\",187,\"VK_OEM_PLUS\",\"=\",\"OEM_PLUS\"],[87,0,53,\"BracketLeft\",87,\"[\",219,\"VK_OEM_4\",\"[\",\"OEM_4\"],[89,0,54,\"BracketRight\",89,\"]\",221,\"VK_OEM_6\",\"]\",\"OEM_6\"],[88,0,55,\"Backslash\",88,\"\\\\\",220,\"VK_OEM_5\",\"\\\\\",\"OEM_5\"],[0,0,56,\"IntlHash\",0,e,0,e,e,e],[80,0,57,\"Semicolon\",80,\";\",186,\"VK_OEM_1\",\";\",\"OEM_1\"],[90,0,58,\"Quote\",90,\"'\",222,\"VK_OEM_7\",\"'\",\"OEM_7\"],[86,0,59,\"Backquote\",86,\"`\",192,\"VK_OEM_3\",\"`\",\"OEM_3\"],[82,0,60,\"Comma\",82,\",\",188,\"VK_OEM_COMMA\",\",\",\"OEM_COMMA\"],[84,0,61,\"Period\",84,\".\",190,\"VK_OEM_PERIOD\",\".\",\"OEM_PERIOD\"],[85,0,62,\"Slash\",85,\"/\",191,\"VK_OEM_2\",\"/\",\"OEM_2\"],[8,1,63,\"CapsLock\",8,\"CapsLock\",20,\"VK_CAPITAL\",e,e],[59,1,64,\"F1\",59,\"F1\",112,\"VK_F1\",e,e],[60,1,65,\"F2\",60,\"F2\",113,\"VK_F2\",e,e],[61,1,66,\"F3\",61,\"F3\",114,\"VK_F3\",e,e],[62,1,67,\"F4\",62,\"F4\",115,\"VK_F4\",e,e],[63,1,68,\"F5\",63,\"F5\",116,\"VK_F5\",e,e],[64,1,69,\"F6\",64,\"F6\",117,\"VK_F6\",e,e],[65,1,70,\"F7\",65,\"F7\",118,\"VK_F7\",e,e],[66,1,71,\"F8\",66,\"F8\",119,\"VK_F8\",e,e],[67,1,72,\"F9\",67,\"F9\",120,\"VK_F9\",e,e],[68,1,73,\"F10\",68,\"F10\",121,\"VK_F10\",e,e],[69,1,74,\"F11\",69,\"F11\",122,\"VK_F11\",e,e],[70,1,75,\"F12\",70,\"F12\",123,\"VK_F12\",e,e],[0,1,76,\"PrintScreen\",0,e,0,e,e,e],[79,1,77,\"ScrollLock\",79,\"ScrollLock\",145,\"VK_SCROLL\",e,e],[7,1,78,\"Pause\",7,\"PauseBreak\",19,\"VK_PAUSE\",e,e],[19,1,79,\"Insert\",19,\"Insert\",45,\"VK_INSERT\",e,e],[14,1,80,\"Home\",14,\"Home\",36,\"VK_HOME\",e,e],[11,1,81,\"PageUp\",11,\"PageUp\",33,\"VK_PRIOR\",e,e],[20,1,82,\"Delete\",20,\"Delete\",46,\"VK_DELETE\",e,e],[13,1,83,\"End\",13,\"End\",35,\"VK_END\",e,e],[12,1,84,\"PageDown\",12,\"PageDown\",34,\"VK_NEXT\",e,e],[17,1,85,\"ArrowRight\",17,\"RightArrow\",39,\"VK_RIGHT\",\"Right\",e],[15,1,86,\"ArrowLeft\",15,\"LeftArrow\",37,\"VK_LEFT\",\"Left\",e],[18,1,87,\"ArrowDown\",18,\"DownArrow\",40,\"VK_DOWN\",\"Down\",e],[16,1,88,\"ArrowUp\",16,\"UpArrow\",38,\"VK_UP\",\"Up\",e],[78,1,89,\"NumLock\",78,\"NumLock\",144,\"VK_NUMLOCK\",e,e],[108,1,90,\"NumpadDivide\",108,\"NumPad_Divide\",111,\"VK_DIVIDE\",e,e],[103,1,91,\"NumpadMultiply\",103,\"NumPad_Multiply\",106,\"VK_MULTIPLY\",e,e],[106,1,92,\"NumpadSubtract\",106,\"NumPad_Subtract\",109,\"VK_SUBTRACT\",e,e],[104,1,93,\"NumpadAdd\",104,\"NumPad_Add\",107,\"VK_ADD\",e,e],[3,1,94,\"NumpadEnter\",3,e,0,e,e,e],[94,1,95,\"Numpad1\",94,\"NumPad1\",97,\"VK_NUMPAD1\",e,e],[95,1,96,\"Numpad2\",95,\"NumPad2\",98,\"VK_NUMPAD2\",e,e],[96,1,97,\"Numpad3\",96,\"NumPad3\",99,\"VK_NUMPAD3\",e,e],[97,1,98,\"Numpad4\",97,\"NumPad4\",100,\"VK_NUMPAD4\",e,e],[98,1,99,\"Numpad5\",98,\"NumPad5\",101,\"VK_NUMPAD5\",e,e],[99,1,100,\"Numpad6\",99,\"NumPad6\",102,\"VK_NUMPAD6\",e,e],[100,1,101,\"Numpad7\",100,\"NumPad7\",103,\"VK_NUMPAD7\",e,e],[101,1,102,\"Numpad8\",101,\"NumPad8\",104,\"VK_NUMPAD8\",e,e],[102,1,103,\"Numpad9\",102,\"NumPad9\",105,\"VK_NUMPAD9\",e,e],[93,1,104,\"Numpad0\",93,\"NumPad0\",96,\"VK_NUMPAD0\",e,e],[107,1,105,\"NumpadDecimal\",107,\"NumPad_Decimal\",110,\"VK_DECIMAL\",e,e],[92,0,106,\"IntlBackslash\",92,\"OEM_102\",226,\"VK_OEM_102\",e,e],[58,1,107,\"ContextMenu\",58,\"ContextMenu\",93,e,e,e],[0,1,108,\"Power\",0,e,0,e,e,e],[0,1,109,\"NumpadEqual\",0,e,0,e,e,e],[71,1,110,\"F13\",71,\"F13\",124,\"VK_F13\",e,e],[72,1,111,\"F14\",72,\"F14\",125,\"VK_F14\",e,e],[73,1,112,\"F15\",73,\"F15\",126,\"VK_F15\",e,e],[74,1,113,\"F16\",74,\"F16\",127,\"VK_F16\",e,e],[75,1,114,\"F17\",75,\"F17\",128,\"VK_F17\",e,e],[76,1,115,\"F18\",76,\"F18\",129,\"VK_F18\",e,e],[77,1,116,\"F19\",77,\"F19\",130,\"VK_F19\",e,e],[0,1,117,\"F20\",0,e,0,\"VK_F20\",e,e],[0,1,118,\"F21\",0,e,0,\"VK_F21\",e,e],[0,1,119,\"F22\",0,e,0,\"VK_F22\",e,e],[0,1,120,\"F23\",0,e,0,\"VK_F23\",e,e],[0,1,121,\"F24\",0,e,0,\"VK_F24\",e,e],[0,1,122,\"Open\",0,e,0,e,e,e],[0,1,123,\"Help\",0,e,0,e,e,e],[0,1,124,\"Select\",0,e,0,e,e,e],[0,1,125,\"Again\",0,e,0,e,e,e],[0,1,126,\"Undo\",0,e,0,e,e,e],[0,1,127,\"Cut\",0,e,0,e,e,e],[0,1,128,\"Copy\",0,e,0,e,e,e],[0,1,129,\"Paste\",0,e,0,e,e,e],[0,1,130,\"Find\",0,e,0,e,e,e],[0,1,131,\"AudioVolumeMute\",112,\"AudioVolumeMute\",173,\"VK_VOLUME_MUTE\",e,e],[0,1,132,\"AudioVolumeUp\",113,\"AudioVolumeUp\",175,\"VK_VOLUME_UP\",e,e],[0,1,133,\"AudioVolumeDown\",114,\"AudioVolumeDown\",174,\"VK_VOLUME_DOWN\",e,e],[105,1,134,\"NumpadComma\",105,\"NumPad_Separator\",108,\"VK_SEPARATOR\",e,e],[110,0,135,\"IntlRo\",110,\"ABNT_C1\",193,\"VK_ABNT_C1\",e,e],[0,1,136,\"KanaMode\",0,e,0,e,e,e],[0,0,137,\"IntlYen\",0,e,0,e,e,e],[0,1,138,\"Convert\",0,e,0,e,e,e],[0,1,139,\"NonConvert\",0,e,0,e,e,e],[0,1,140,\"Lang1\",0,e,0,e,e,e],[0,1,141,\"Lang2\",0,e,0,e,e,e],[0,1,142,\"Lang3\",0,e,0,e,e,e],[0,1,143,\"Lang4\",0,e,0,e,e,e],[0,1,144,\"Lang5\",0,e,0,e,e,e],[0,1,145,\"Abort\",0,e,0,e,e,e],[0,1,146,\"Props\",0,e,0,e,e,e],[0,1,147,\"NumpadParenLeft\",0,e,0,e,e,e],[0,1,148,\"NumpadParenRight\",0,e,0,e,e,e],[0,1,149,\"NumpadBackspace\",0,e,0,e,e,e],[0,1,150,\"NumpadMemoryStore\",0,e,0,e,e,e],[0,1,151,\"NumpadMemoryRecall\",0,e,0,e,e,e],[0,1,152,\"NumpadMemoryClear\",0,e,0,e,e,e],[0,1,153,\"NumpadMemoryAdd\",0,e,0,e,e,e],[0,1,154,\"NumpadMemorySubtract\",0,e,0,e,e,e],[0,1,155,\"NumpadClear\",126,\"Clear\",12,\"VK_CLEAR\",e,e],[0,1,156,\"NumpadClearEntry\",0,e,0,e,e,e],[5,1,0,e,5,\"Ctrl\",17,\"VK_CONTROL\",e,e],[4,1,0,e,4,\"Shift\",16,\"VK_SHIFT\",e,e],[6,1,0,e,6,\"Alt\",18,\"VK_MENU\",e,e],[57,1,0,e,57,\"Meta\",0,\"VK_COMMAND\",e,e],[5,1,157,\"ControlLeft\",5,e,0,\"VK_LCONTROL\",e,e],[4,1,158,\"ShiftLeft\",4,e,0,\"VK_LSHIFT\",e,e],[6,1,159,\"AltLeft\",6,e,0,\"VK_LMENU\",e,e],[57,1,160,\"MetaLeft\",57,e,0,\"VK_LWIN\",e,e],[5,1,161,\"ControlRight\",5,e,0,\"VK_RCONTROL\",e,e],[4,1,162,\"ShiftRight\",4,e,0,\"VK_RSHIFT\",e,e],[6,1,163,\"AltRight\",6,e,0,\"VK_RMENU\",e,e],[57,1,164,\"MetaRight\",57,e,0,\"VK_RWIN\",e,e],[0,1,165,\"BrightnessUp\",0,e,0,e,e,e],[0,1,166,\"BrightnessDown\",0,e,0,e,e,e],[0,1,167,\"MediaPlay\",0,e,0,e,e,e],[0,1,168,\"MediaRecord\",0,e,0,e,e,e],[0,1,169,\"MediaFastForward\",0,e,0,e,e,e],[0,1,170,\"MediaRewind\",0,e,0,e,e,e],[114,1,171,\"MediaTrackNext\",119,\"MediaTrackNext\",176,\"VK_MEDIA_NEXT_TRACK\",e,e],[115,1,172,\"MediaTrackPrevious\",120,\"MediaTrackPrevious\",177,\"VK_MEDIA_PREV_TRACK\",e,e],[116,1,173,\"MediaStop\",121,\"MediaStop\",178,\"VK_MEDIA_STOP\",e,e],[0,1,174,\"Eject\",0,e,0,e,e,e],[117,1,175,\"MediaPlayPause\",122,\"MediaPlayPause\",179,\"VK_MEDIA_PLAY_PAUSE\",e,e],[0,1,176,\"MediaSelect\",123,\"LaunchMediaPlayer\",181,\"VK_MEDIA_LAUNCH_MEDIA_SELECT\",e,e],[0,1,177,\"LaunchMail\",124,\"LaunchMail\",180,\"VK_MEDIA_LAUNCH_MAIL\",e,e],[0,1,178,\"LaunchApp2\",125,\"LaunchApp2\",183,\"VK_MEDIA_LAUNCH_APP2\",e,e],[0,1,179,\"LaunchApp1\",0,e,0,\"VK_MEDIA_LAUNCH_APP1\",e,e],[0,1,180,\"SelectTask\",0,e,0,e,e,e],[0,1,181,\"LaunchScreenSaver\",0,e,0,e,e,e],[0,1,182,\"BrowserSearch\",115,\"BrowserSearch\",170,\"VK_BROWSER_SEARCH\",e,e],[0,1,183,\"BrowserHome\",116,\"BrowserHome\",172,\"VK_BROWSER_HOME\",e,e],[112,1,184,\"BrowserBack\",117,\"BrowserBack\",166,\"VK_BROWSER_BACK\",e,e],[113,1,185,\"BrowserForward\",118,\"BrowserForward\",167,\"VK_BROWSER_FORWARD\",e,e],[0,1,186,\"BrowserStop\",0,e,0,\"VK_BROWSER_STOP\",e,e],[0,1,187,\"BrowserRefresh\",0,e,0,\"VK_BROWSER_REFRESH\",e,e],[0,1,188,\"BrowserFavorites\",0,e,0,\"VK_BROWSER_FAVORITES\",e,e],[0,1,189,\"ZoomToggle\",0,e,0,e,e,e],[0,1,190,\"MailReply\",0,e,0,e,e,e],[0,1,191,\"MailForward\",0,e,0,e,e,e],[0,1,192,\"MailSend\",0,e,0,e,e,e],[109,1,0,e,109,\"KeyInComposition\",229,e,e,e],[111,1,0,e,111,\"ABNT_C2\",194,\"VK_ABNT_C2\",e,e],[91,1,0,e,91,\"OEM_8\",223,\"VK_OEM_8\",e,e],[0,1,0,e,0,e,0,\"VK_KANA\",e,e],[0,1,0,e,0,e,0,\"VK_HANGUL\",e,e],[0,1,0,e,0,e,0,\"VK_JUNJA\",e,e],[0,1,0,e,0,e,0,\"VK_FINAL\",e,e],[0,1,0,e,0,e,0,\"VK_HANJA\",e,e],[0,1,0,e,0,e,0,\"VK_KANJI\",e,e],[0,1,0,e,0,e,0,\"VK_CONVERT\",e,e],[0,1,0,e,0,e,0,\"VK_NONCONVERT\",e,e],[0,1,0,e,0,e,0,\"VK_ACCEPT\",e,e],[0,1,0,e,0,e,0,\"VK_MODECHANGE\",e,e],[0,1,0,e,0,e,0,\"VK_SELECT\",e,e],[0,1,0,e,0,e,0,\"VK_PRINT\",e,e],[0,1,0,e,0,e,0,\"VK_EXECUTE\",e,e],[0,1,0,e,0,e,0,\"VK_SNAPSHOT\",e,e],[0,1,0,e,0,e,0,\"VK_HELP\",e,e],[0,1,0,e,0,e,0,\"VK_APPS\",e,e],[0,1,0,e,0,e,0,\"VK_PROCESSKEY\",e,e],[0,1,0,e,0,e,0,\"VK_PACKET\",e,e],[0,1,0,e,0,e,0,\"VK_DBE_SBCSCHAR\",e,e],[0,1,0,e,0,e,0,\"VK_DBE_DBCSCHAR\",e,e],[0,1,0,e,0,e,0,\"VK_ATTN\",e,e],[0,1,0,e,0,e,0,\"VK_CRSEL\",e,e],[0,1,0,e,0,e,0,\"VK_EXSEL\",e,e],[0,1,0,e,0,e,0,\"VK_EREOF\",e,e],[0,1,0,e,0,e,0,\"VK_PLAY\",e,e],[0,1,0,e,0,e,0,\"VK_ZOOM\",e,e],[0,1,0,e,0,e,0,\"VK_NONAME\",e,e],[0,1,0,e,0,e,0,\"VK_PA1\",e,e],[0,1,0,e,0,e,0,\"VK_OEM_CLEAR\",e,e]];let r=[],s=[];for(const i of t){const[a,o,l,u,c,f,h,d,_,S]=i;if(s[l]||(s[l]=!0,Wr[u]=l,$r[u.toLowerCase()]=l),!r[c]){if(r[c]=!0,!f)throw new Error(`String representation missing for key code ${c} around scan code ${u}`);ye.define(c,f),Qe.define(c,_||f),Je.define(c,S||_||f)}h&&(Hr[h]=c)}})();var Ft;(function(e){function t(l){return ye.keyCodeToStr(l)}e.toString=t;function r(l){return ye.strToKeyCode(l)}e.fromString=r;function s(l){return Qe.keyCodeToStr(l)}e.toUserSettingsUS=s;function i(l){return Je.keyCodeToStr(l)}e.toUserSettingsGeneral=i;function a(l){return Qe.strToKeyCode(l)||Je.strToKeyCode(l)}e.fromUserSettings=a;function o(l){if(l>=93&&l<=108)return null;switch(l){case 16:return\"Up\";case 18:return\"Down\";case 15:return\"Left\";case 17:return\"Right\"}return ye.keyCodeToStr(l)}e.toElectronAccelerator=o})(Ft||(Ft={}));function zr(e,t){const r=(t&65535)<<16>>>0;return(e|r)>>>0}class W extends V{constructor(t,r,s,i){super(t,r,s,i),this.selectionStartLineNumber=t,this.selectionStartColumn=r,this.positionLineNumber=s,this.positionColumn=i}toString(){return\"[\"+this.selectionStartLineNumber+\",\"+this.selectionStartColumn+\" -> \"+this.positionLineNumber+\",\"+this.positionColumn+\"]\"}equalsSelection(t){return W.selectionsEqual(this,t)}static selectionsEqual(t,r){return t.selectionStartLineNumber===r.selectionStartLineNumber&&t.selectionStartColumn===r.selectionStartColumn&&t.positionLineNumber===r.positionLineNumber&&t.positionColumn===r.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(t,r){return this.getDirection()===0?new W(this.startLineNumber,this.startColumn,t,r):new W(t,r,this.startLineNumber,this.startColumn)}getPosition(){return new H(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new H(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(t,r){return this.getDirection()===0?new W(t,r,this.endLineNumber,this.endColumn):new W(this.endLineNumber,this.endColumn,t,r)}static fromPositions(t,r=t){return new W(t.lineNumber,t.column,r.lineNumber,r.column)}static fromRange(t,r){return r===0?new W(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new W(t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)}static liftSelection(t){return new W(t.selectionStartLineNumber,t.selectionStartColumn,t.positionLineNumber,t.positionColumn)}static selectionsArrEqual(t,r){if(t&&!r||!t&&r)return!1;if(!t&&!r)return!0;if(t.length!==r.length)return!1;for(let s=0,i=t.length;s<i;s++)if(!this.selectionsEqual(t[s],r[s]))return!1;return!0}static isISelection(t){return t&&typeof t.selectionStartLineNumber==\"number\"&&typeof t.selectionStartColumn==\"number\"&&typeof t.positionLineNumber==\"number\"&&typeof t.positionColumn==\"number\"}static createWithDirection(t,r,s,i,a){return a===0?new W(t,r,s,i):new W(s,i,t,r)}}var Ke=function(e,t,r,s){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function l(f){try{c(s.next(f))}catch(h){o(h)}}function u(f){try{c(s.throw(f))}catch(h){o(h)}}function c(f){f.done?a(f.value):i(f.value).then(l,u)}c((s=s.apply(e,t||[])).next())})};class Gr{constructor(){this._map=new Map,this._factories=new Map,this._onDidChange=new j,this.onDidChange=this._onDidChange.event,this._colorMap=null}fire(t){this._onDidChange.fire({changedLanguages:t,changedColorMap:!1})}register(t,r){return this._map.set(t,r),this.fire([t]),be(()=>{this._map.get(t)===r&&(this._map.delete(t),this.fire([t]))})}registerFactory(t,r){var s;(s=this._factories.get(t))===null||s===void 0||s.dispose();const i=new Or(this,t,r);return this._factories.set(t,i),be(()=>{const a=this._factories.get(t);!a||a!==i||(this._factories.delete(t),a.dispose())})}getOrCreate(t){return Ke(this,void 0,void 0,function*(){const r=this.get(t);if(r)return r;const s=this._factories.get(t);return!s||s.isResolved?null:(yield s.resolve(),this.get(t))})}get(t){return this._map.get(t)||null}isResolved(t){if(this.get(t))return!0;const s=this._factories.get(t);return!!(!s||s.isResolved)}setColorMap(t){this._colorMap=t,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class Or extends Pe{constructor(t,r,s){super(),this._registry=t,this._languageId=r,this._factory=s,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}get isResolved(){return this._isResolved}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return Ke(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return Ke(this,void 0,void 0,function*(){const t=yield Promise.resolve(this._factory.createTokenizationSupport());this._isResolved=!0,t&&!this._isDisposed&&this._register(this._registry.register(this._languageId,t))})}}class n{constructor(t,r,s){this.id=t,this.definition=r,this.description=s,n._allCodicons.push(this)}get classNames(){return\"codicon codicon-\"+this.id}get classNamesArray(){return[\"codicon\",\"codicon-\"+this.id]}get cssSelector(){return\".codicon.codicon-\"+this.id}static getAll(){return n._allCodicons}}n._allCodicons=[],n.add=new n(\"add\",{fontCharacter:\"\\\\ea60\"}),n.plus=new n(\"plus\",n.add.definition),n.gistNew=new n(\"gist-new\",n.add.definition),n.repoCreate=new n(\"repo-create\",n.add.definition),n.lightbulb=new n(\"lightbulb\",{fontCharacter:\"\\\\ea61\"}),n.lightBulb=new n(\"light-bulb\",{fontCharacter:\"\\\\ea61\"}),n.repo=new n(\"repo\",{fontCharacter:\"\\\\ea62\"}),n.repoDelete=new n(\"repo-delete\",{fontCharacter:\"\\\\ea62\"}),n.gistFork=new n(\"gist-fork\",{fontCharacter:\"\\\\ea63\"}),n.repoForked=new n(\"repo-forked\",{fontCharacter:\"\\\\ea63\"}),n.gitPullRequest=new n(\"git-pull-request\",{fontCharacter:\"\\\\ea64\"}),n.gitPullRequestAbandoned=new n(\"git-pull-request-abandoned\",{fontCharacter:\"\\\\ea64\"}),n.recordKeys=new n(\"record-keys\",{fontCharacter:\"\\\\ea65\"}),n.keyboard=new n(\"keyboard\",{fontCharacter:\"\\\\ea65\"}),n.tag=new n(\"tag\",{fontCharacter:\"\\\\ea66\"}),n.tagAdd=new n(\"tag-add\",{fontCharacter:\"\\\\ea66\"}),n.tagRemove=new n(\"tag-remove\",{fontCharacter:\"\\\\ea66\"}),n.person=new n(\"person\",{fontCharacter:\"\\\\ea67\"}),n.personFollow=new n(\"person-follow\",{fontCharacter:\"\\\\ea67\"}),n.personOutline=new n(\"person-outline\",{fontCharacter:\"\\\\ea67\"}),n.personFilled=new n(\"person-filled\",{fontCharacter:\"\\\\ea67\"}),n.gitBranch=new n(\"git-branch\",{fontCharacter:\"\\\\ea68\"}),n.gitBranchCreate=new n(\"git-branch-create\",{fontCharacter:\"\\\\ea68\"}),n.gitBranchDelete=new n(\"git-branch-delete\",{fontCharacter:\"\\\\ea68\"}),n.sourceControl=new n(\"source-control\",{fontCharacter:\"\\\\ea68\"}),n.mirror=new n(\"mirror\",{fontCharacter:\"\\\\ea69\"}),n.mirrorPublic=new n(\"mirror-public\",{fontCharacter:\"\\\\ea69\"}),n.star=new n(\"star\",{fontCharacter:\"\\\\ea6a\"}),n.starAdd=new n(\"star-add\",{fontCharacter:\"\\\\ea6a\"}),n.starDelete=new n(\"star-delete\",{fontCharacter:\"\\\\ea6a\"}),n.starEmpty=new n(\"star-empty\",{fontCharacter:\"\\\\ea6a\"}),n.comment=new n(\"comment\",{fontCharacter:\"\\\\ea6b\"}),n.commentAdd=new n(\"comment-add\",{fontCharacter:\"\\\\ea6b\"}),n.alert=new n(\"alert\",{fontCharacter:\"\\\\ea6c\"}),n.warning=new n(\"warning\",{fontCharacter:\"\\\\ea6c\"}),n.search=new n(\"search\",{fontCharacter:\"\\\\ea6d\"}),n.searchSave=new n(\"search-save\",{fontCharacter:\"\\\\ea6d\"}),n.logOut=new n(\"log-out\",{fontCharacter:\"\\\\ea6e\"}),n.signOut=new n(\"sign-out\",{fontCharacter:\"\\\\ea6e\"}),n.logIn=new n(\"log-in\",{fontCharacter:\"\\\\ea6f\"}),n.signIn=new n(\"sign-in\",{fontCharacter:\"\\\\ea6f\"}),n.eye=new n(\"eye\",{fontCharacter:\"\\\\ea70\"}),n.eyeUnwatch=new n(\"eye-unwatch\",{fontCharacter:\"\\\\ea70\"}),n.eyeWatch=new n(\"eye-watch\",{fontCharacter:\"\\\\ea70\"}),n.circleFilled=new n(\"circle-filled\",{fontCharacter:\"\\\\ea71\"}),n.primitiveDot=new n(\"primitive-dot\",{fontCharacter:\"\\\\ea71\"}),n.closeDirty=new n(\"close-dirty\",{fontCharacter:\"\\\\ea71\"}),n.debugBreakpoint=new n(\"debug-breakpoint\",{fontCharacter:\"\\\\ea71\"}),n.debugBreakpointDisabled=new n(\"debug-breakpoint-disabled\",{fontCharacter:\"\\\\ea71\"}),n.debugHint=new n(\"debug-hint\",{fontCharacter:\"\\\\ea71\"}),n.primitiveSquare=new n(\"primitive-square\",{fontCharacter:\"\\\\ea72\"}),n.edit=new n(\"edit\",{fontCharacter:\"\\\\ea73\"}),n.pencil=new n(\"pencil\",{fontCharacter:\"\\\\ea73\"}),n.info=new n(\"info\",{fontCharacter:\"\\\\ea74\"}),n.issueOpened=new n(\"issue-opened\",{fontCharacter:\"\\\\ea74\"}),n.gistPrivate=new n(\"gist-private\",{fontCharacter:\"\\\\ea75\"}),n.gitForkPrivate=new n(\"git-fork-private\",{fontCharacter:\"\\\\ea75\"}),n.lock=new n(\"lock\",{fontCharacter:\"\\\\ea75\"}),n.mirrorPrivate=new n(\"mirror-private\",{fontCharacter:\"\\\\ea75\"}),n.close=new n(\"close\",{fontCharacter:\"\\\\ea76\"}),n.removeClose=new n(\"remove-close\",{fontCharacter:\"\\\\ea76\"}),n.x=new n(\"x\",{fontCharacter:\"\\\\ea76\"}),n.repoSync=new n(\"repo-sync\",{fontCharacter:\"\\\\ea77\"}),n.sync=new n(\"sync\",{fontCharacter:\"\\\\ea77\"}),n.clone=new n(\"clone\",{fontCharacter:\"\\\\ea78\"}),n.desktopDownload=new n(\"desktop-download\",{fontCharacter:\"\\\\ea78\"}),n.beaker=new n(\"beaker\",{fontCharacter:\"\\\\ea79\"}),n.microscope=new n(\"microscope\",{fontCharacter:\"\\\\ea79\"}),n.vm=new n(\"vm\",{fontCharacter:\"\\\\ea7a\"}),n.deviceDesktop=new n(\"device-desktop\",{fontCharacter:\"\\\\ea7a\"}),n.file=new n(\"file\",{fontCharacter:\"\\\\ea7b\"}),n.fileText=new n(\"file-text\",{fontCharacter:\"\\\\ea7b\"}),n.more=new n(\"more\",{fontCharacter:\"\\\\ea7c\"}),n.ellipsis=new n(\"ellipsis\",{fontCharacter:\"\\\\ea7c\"}),n.kebabHorizontal=new n(\"kebab-horizontal\",{fontCharacter:\"\\\\ea7c\"}),n.mailReply=new n(\"mail-reply\",{fontCharacter:\"\\\\ea7d\"}),n.reply=new n(\"reply\",{fontCharacter:\"\\\\ea7d\"}),n.organization=new n(\"organization\",{fontCharacter:\"\\\\ea7e\"}),n.organizationFilled=new n(\"organization-filled\",{fontCharacter:\"\\\\ea7e\"}),n.organizationOutline=new n(\"organization-outline\",{fontCharacter:\"\\\\ea7e\"}),n.newFile=new n(\"new-file\",{fontCharacter:\"\\\\ea7f\"}),n.fileAdd=new n(\"file-add\",{fontCharacter:\"\\\\ea7f\"}),n.newFolder=new n(\"new-folder\",{fontCharacter:\"\\\\ea80\"}),n.fileDirectoryCreate=new n(\"file-directory-create\",{fontCharacter:\"\\\\ea80\"}),n.trash=new n(\"trash\",{fontCharacter:\"\\\\ea81\"}),n.trashcan=new n(\"trashcan\",{fontCharacter:\"\\\\ea81\"}),n.history=new n(\"history\",{fontCharacter:\"\\\\ea82\"}),n.clock=new n(\"clock\",{fontCharacter:\"\\\\ea82\"}),n.folder=new n(\"folder\",{fontCharacter:\"\\\\ea83\"}),n.fileDirectory=new n(\"file-directory\",{fontCharacter:\"\\\\ea83\"}),n.symbolFolder=new n(\"symbol-folder\",{fontCharacter:\"\\\\ea83\"}),n.logoGithub=new n(\"logo-github\",{fontCharacter:\"\\\\ea84\"}),n.markGithub=new n(\"mark-github\",{fontCharacter:\"\\\\ea84\"}),n.github=new n(\"github\",{fontCharacter:\"\\\\ea84\"}),n.terminal=new n(\"terminal\",{fontCharacter:\"\\\\ea85\"}),n.console=new n(\"console\",{fontCharacter:\"\\\\ea85\"}),n.repl=new n(\"repl\",{fontCharacter:\"\\\\ea85\"}),n.zap=new n(\"zap\",{fontCharacter:\"\\\\ea86\"}),n.symbolEvent=new n(\"symbol-event\",{fontCharacter:\"\\\\ea86\"}),n.error=new n(\"error\",{fontCharacter:\"\\\\ea87\"}),n.stop=new n(\"stop\",{fontCharacter:\"\\\\ea87\"}),n.variable=new n(\"variable\",{fontCharacter:\"\\\\ea88\"}),n.symbolVariable=new n(\"symbol-variable\",{fontCharacter:\"\\\\ea88\"}),n.array=new n(\"array\",{fontCharacter:\"\\\\ea8a\"}),n.symbolArray=new n(\"symbol-array\",{fontCharacter:\"\\\\ea8a\"}),n.symbolModule=new n(\"symbol-module\",{fontCharacter:\"\\\\ea8b\"}),n.symbolPackage=new n(\"symbol-package\",{fontCharacter:\"\\\\ea8b\"}),n.symbolNamespace=new n(\"symbol-namespace\",{fontCharacter:\"\\\\ea8b\"}),n.symbolObject=new n(\"symbol-object\",{fontCharacter:\"\\\\ea8b\"}),n.symbolMethod=new n(\"symbol-method\",{fontCharacter:\"\\\\ea8c\"}),n.symbolFunction=new n(\"symbol-function\",{fontCharacter:\"\\\\ea8c\"}),n.symbolConstructor=new n(\"symbol-constructor\",{fontCharacter:\"\\\\ea8c\"}),n.symbolBoolean=new n(\"symbol-boolean\",{fontCharacter:\"\\\\ea8f\"}),n.symbolNull=new n(\"symbol-null\",{fontCharacter:\"\\\\ea8f\"}),n.symbolNumeric=new n(\"symbol-numeric\",{fontCharacter:\"\\\\ea90\"}),n.symbolNumber=new n(\"symbol-number\",{fontCharacter:\"\\\\ea90\"}),n.symbolStructure=new n(\"symbol-structure\",{fontCharacter:\"\\\\ea91\"}),n.symbolStruct=new n(\"symbol-struct\",{fontCharacter:\"\\\\ea91\"}),n.symbolParameter=new n(\"symbol-parameter\",{fontCharacter:\"\\\\ea92\"}),n.symbolTypeParameter=new n(\"symbol-type-parameter\",{fontCharacter:\"\\\\ea92\"}),n.symbolKey=new n(\"symbol-key\",{fontCharacter:\"\\\\ea93\"}),n.symbolText=new n(\"symbol-text\",{fontCharacter:\"\\\\ea93\"}),n.symbolReference=new n(\"symbol-reference\",{fontCharacter:\"\\\\ea94\"}),n.goToFile=new n(\"go-to-file\",{fontCharacter:\"\\\\ea94\"}),n.symbolEnum=new n(\"symbol-enum\",{fontCharacter:\"\\\\ea95\"}),n.symbolValue=new n(\"symbol-value\",{fontCharacter:\"\\\\ea95\"}),n.symbolRuler=new n(\"symbol-ruler\",{fontCharacter:\"\\\\ea96\"}),n.symbolUnit=new n(\"symbol-unit\",{fontCharacter:\"\\\\ea96\"}),n.activateBreakpoints=new n(\"activate-breakpoints\",{fontCharacter:\"\\\\ea97\"}),n.archive=new n(\"archive\",{fontCharacter:\"\\\\ea98\"}),n.arrowBoth=new n(\"arrow-both\",{fontCharacter:\"\\\\ea99\"}),n.arrowDown=new n(\"arrow-down\",{fontCharacter:\"\\\\ea9a\"}),n.arrowLeft=new n(\"arrow-left\",{fontCharacter:\"\\\\ea9b\"}),n.arrowRight=new n(\"arrow-right\",{fontCharacter:\"\\\\ea9c\"}),n.arrowSmallDown=new n(\"arrow-small-down\",{fontCharacter:\"\\\\ea9d\"}),n.arrowSmallLeft=new n(\"arrow-small-left\",{fontCharacter:\"\\\\ea9e\"}),n.arrowSmallRight=new n(\"arrow-small-right\",{fontCharacter:\"\\\\ea9f\"}),n.arrowSmallUp=new n(\"arrow-small-up\",{fontCharacter:\"\\\\eaa0\"}),n.arrowUp=new n(\"arrow-up\",{fontCharacter:\"\\\\eaa1\"}),n.bell=new n(\"bell\",{fontCharacter:\"\\\\eaa2\"}),n.bold=new n(\"bold\",{fontCharacter:\"\\\\eaa3\"}),n.book=new n(\"book\",{fontCharacter:\"\\\\eaa4\"}),n.bookmark=new n(\"bookmark\",{fontCharacter:\"\\\\eaa5\"}),n.debugBreakpointConditionalUnverified=new n(\"debug-breakpoint-conditional-unverified\",{fontCharacter:\"\\\\eaa6\"}),n.debugBreakpointConditional=new n(\"debug-breakpoint-conditional\",{fontCharacter:\"\\\\eaa7\"}),n.debugBreakpointConditionalDisabled=new n(\"debug-breakpoint-conditional-disabled\",{fontCharacter:\"\\\\eaa7\"}),n.debugBreakpointDataUnverified=new n(\"debug-breakpoint-data-unverified\",{fontCharacter:\"\\\\eaa8\"}),n.debugBreakpointData=new n(\"debug-breakpoint-data\",{fontCharacter:\"\\\\eaa9\"}),n.debugBreakpointDataDisabled=new n(\"debug-breakpoint-data-disabled\",{fontCharacter:\"\\\\eaa9\"}),n.debugBreakpointLogUnverified=new n(\"debug-breakpoint-log-unverified\",{fontCharacter:\"\\\\eaaa\"}),n.debugBreakpointLog=new n(\"debug-breakpoint-log\",{fontCharacter:\"\\\\eaab\"}),n.debugBreakpointLogDisabled=new n(\"debug-breakpoint-log-disabled\",{fontCharacter:\"\\\\eaab\"}),n.briefcase=new n(\"briefcase\",{fontCharacter:\"\\\\eaac\"}),n.broadcast=new n(\"broadcast\",{fontCharacter:\"\\\\eaad\"}),n.browser=new n(\"browser\",{fontCharacter:\"\\\\eaae\"}),n.bug=new n(\"bug\",{fontCharacter:\"\\\\eaaf\"}),n.calendar=new n(\"calendar\",{fontCharacter:\"\\\\eab0\"}),n.caseSensitive=new n(\"case-sensitive\",{fontCharacter:\"\\\\eab1\"}),n.check=new n(\"check\",{fontCharacter:\"\\\\eab2\"}),n.checklist=new n(\"checklist\",{fontCharacter:\"\\\\eab3\"}),n.chevronDown=new n(\"chevron-down\",{fontCharacter:\"\\\\eab4\"}),n.dropDownButton=new n(\"drop-down-button\",n.chevronDown.definition),n.chevronLeft=new n(\"chevron-left\",{fontCharacter:\"\\\\eab5\"}),n.chevronRight=new n(\"chevron-right\",{fontCharacter:\"\\\\eab6\"}),n.chevronUp=new n(\"chevron-up\",{fontCharacter:\"\\\\eab7\"}),n.chromeClose=new n(\"chrome-close\",{fontCharacter:\"\\\\eab8\"}),n.chromeMaximize=new n(\"chrome-maximize\",{fontCharacter:\"\\\\eab9\"}),n.chromeMinimize=new n(\"chrome-minimize\",{fontCharacter:\"\\\\eaba\"}),n.chromeRestore=new n(\"chrome-restore\",{fontCharacter:\"\\\\eabb\"}),n.circleOutline=new n(\"circle-outline\",{fontCharacter:\"\\\\eabc\"}),n.debugBreakpointUnverified=new n(\"debug-breakpoint-unverified\",{fontCharacter:\"\\\\eabc\"}),n.circleSlash=new n(\"circle-slash\",{fontCharacter:\"\\\\eabd\"}),n.circuitBoard=new n(\"circuit-board\",{fontCharacter:\"\\\\eabe\"}),n.clearAll=new n(\"clear-all\",{fontCharacter:\"\\\\eabf\"}),n.clippy=new n(\"clippy\",{fontCharacter:\"\\\\eac0\"}),n.closeAll=new n(\"close-all\",{fontCharacter:\"\\\\eac1\"}),n.cloudDownload=new n(\"cloud-download\",{fontCharacter:\"\\\\eac2\"}),n.cloudUpload=new n(\"cloud-upload\",{fontCharacter:\"\\\\eac3\"}),n.code=new n(\"code\",{fontCharacter:\"\\\\eac4\"}),n.collapseAll=new n(\"collapse-all\",{fontCharacter:\"\\\\eac5\"}),n.colorMode=new n(\"color-mode\",{fontCharacter:\"\\\\eac6\"}),n.commentDiscussion=new n(\"comment-discussion\",{fontCharacter:\"\\\\eac7\"}),n.compareChanges=new n(\"compare-changes\",{fontCharacter:\"\\\\eafd\"}),n.creditCard=new n(\"credit-card\",{fontCharacter:\"\\\\eac9\"}),n.dash=new n(\"dash\",{fontCharacter:\"\\\\eacc\"}),n.dashboard=new n(\"dashboard\",{fontCharacter:\"\\\\eacd\"}),n.database=new n(\"database\",{fontCharacter:\"\\\\eace\"}),n.debugContinue=new n(\"debug-continue\",{fontCharacter:\"\\\\eacf\"}),n.debugDisconnect=new n(\"debug-disconnect\",{fontCharacter:\"\\\\ead0\"}),n.debugPause=new n(\"debug-pause\",{fontCharacter:\"\\\\ead1\"}),n.debugRestart=new n(\"debug-restart\",{fontCharacter:\"\\\\ead2\"}),n.debugStart=new n(\"debug-start\",{fontCharacter:\"\\\\ead3\"}),n.debugStepInto=new n(\"debug-step-into\",{fontCharacter:\"\\\\ead4\"}),n.debugStepOut=new n(\"debug-step-out\",{fontCharacter:\"\\\\ead5\"}),n.debugStepOver=new n(\"debug-step-over\",{fontCharacter:\"\\\\ead6\"}),n.debugStop=new n(\"debug-stop\",{fontCharacter:\"\\\\ead7\"}),n.debug=new n(\"debug\",{fontCharacter:\"\\\\ead8\"}),n.deviceCameraVideo=new n(\"device-camera-video\",{fontCharacter:\"\\\\ead9\"}),n.deviceCamera=new n(\"device-camera\",{fontCharacter:\"\\\\eada\"}),n.deviceMobile=new n(\"device-mobile\",{fontCharacter:\"\\\\eadb\"}),n.diffAdded=new n(\"diff-added\",{fontCharacter:\"\\\\eadc\"}),n.diffIgnored=new n(\"diff-ignored\",{fontCharacter:\"\\\\eadd\"}),n.diffModified=new n(\"diff-modified\",{fontCharacter:\"\\\\eade\"}),n.diffRemoved=new n(\"diff-removed\",{fontCharacter:\"\\\\eadf\"}),n.diffRenamed=new n(\"diff-renamed\",{fontCharacter:\"\\\\eae0\"}),n.diff=new n(\"diff\",{fontCharacter:\"\\\\eae1\"}),n.discard=new n(\"discard\",{fontCharacter:\"\\\\eae2\"}),n.editorLayout=new n(\"editor-layout\",{fontCharacter:\"\\\\eae3\"}),n.emptyWindow=new n(\"empty-window\",{fontCharacter:\"\\\\eae4\"}),n.exclude=new n(\"exclude\",{fontCharacter:\"\\\\eae5\"}),n.extensions=new n(\"extensions\",{fontCharacter:\"\\\\eae6\"}),n.eyeClosed=new n(\"eye-closed\",{fontCharacter:\"\\\\eae7\"}),n.fileBinary=new n(\"file-binary\",{fontCharacter:\"\\\\eae8\"}),n.fileCode=new n(\"file-code\",{fontCharacter:\"\\\\eae9\"}),n.fileMedia=new n(\"file-media\",{fontCharacter:\"\\\\eaea\"}),n.filePdf=new n(\"file-pdf\",{fontCharacter:\"\\\\eaeb\"}),n.fileSubmodule=new n(\"file-submodule\",{fontCharacter:\"\\\\eaec\"}),n.fileSymlinkDirectory=new n(\"file-symlink-directory\",{fontCharacter:\"\\\\eaed\"}),n.fileSymlinkFile=new n(\"file-symlink-file\",{fontCharacter:\"\\\\eaee\"}),n.fileZip=new n(\"file-zip\",{fontCharacter:\"\\\\eaef\"}),n.files=new n(\"files\",{fontCharacter:\"\\\\eaf0\"}),n.filter=new n(\"filter\",{fontCharacter:\"\\\\eaf1\"}),n.flame=new n(\"flame\",{fontCharacter:\"\\\\eaf2\"}),n.foldDown=new n(\"fold-down\",{fontCharacter:\"\\\\eaf3\"}),n.foldUp=new n(\"fold-up\",{fontCharacter:\"\\\\eaf4\"}),n.fold=new n(\"fold\",{fontCharacter:\"\\\\eaf5\"}),n.folderActive=new n(\"folder-active\",{fontCharacter:\"\\\\eaf6\"}),n.folderOpened=new n(\"folder-opened\",{fontCharacter:\"\\\\eaf7\"}),n.gear=new n(\"gear\",{fontCharacter:\"\\\\eaf8\"}),n.gift=new n(\"gift\",{fontCharacter:\"\\\\eaf9\"}),n.gistSecret=new n(\"gist-secret\",{fontCharacter:\"\\\\eafa\"}),n.gist=new n(\"gist\",{fontCharacter:\"\\\\eafb\"}),n.gitCommit=new n(\"git-commit\",{fontCharacter:\"\\\\eafc\"}),n.gitCompare=new n(\"git-compare\",{fontCharacter:\"\\\\eafd\"}),n.gitMerge=new n(\"git-merge\",{fontCharacter:\"\\\\eafe\"}),n.githubAction=new n(\"github-action\",{fontCharacter:\"\\\\eaff\"}),n.githubAlt=new n(\"github-alt\",{fontCharacter:\"\\\\eb00\"}),n.globe=new n(\"globe\",{fontCharacter:\"\\\\eb01\"}),n.grabber=new n(\"grabber\",{fontCharacter:\"\\\\eb02\"}),n.graph=new n(\"graph\",{fontCharacter:\"\\\\eb03\"}),n.gripper=new n(\"gripper\",{fontCharacter:\"\\\\eb04\"}),n.heart=new n(\"heart\",{fontCharacter:\"\\\\eb05\"}),n.home=new n(\"home\",{fontCharacter:\"\\\\eb06\"}),n.horizontalRule=new n(\"horizontal-rule\",{fontCharacter:\"\\\\eb07\"}),n.hubot=new n(\"hubot\",{fontCharacter:\"\\\\eb08\"}),n.inbox=new n(\"inbox\",{fontCharacter:\"\\\\eb09\"}),n.issueClosed=new n(\"issue-closed\",{fontCharacter:\"\\\\eba4\"}),n.issueReopened=new n(\"issue-reopened\",{fontCharacter:\"\\\\eb0b\"}),n.issues=new n(\"issues\",{fontCharacter:\"\\\\eb0c\"}),n.italic=new n(\"italic\",{fontCharacter:\"\\\\eb0d\"}),n.jersey=new n(\"jersey\",{fontCharacter:\"\\\\eb0e\"}),n.json=new n(\"json\",{fontCharacter:\"\\\\eb0f\"}),n.kebabVertical=new n(\"kebab-vertical\",{fontCharacter:\"\\\\eb10\"}),n.key=new n(\"key\",{fontCharacter:\"\\\\eb11\"}),n.law=new n(\"law\",{fontCharacter:\"\\\\eb12\"}),n.lightbulbAutofix=new n(\"lightbulb-autofix\",{fontCharacter:\"\\\\eb13\"}),n.linkExternal=new n(\"link-external\",{fontCharacter:\"\\\\eb14\"}),n.link=new n(\"link\",{fontCharacter:\"\\\\eb15\"}),n.listOrdered=new n(\"list-ordered\",{fontCharacter:\"\\\\eb16\"}),n.listUnordered=new n(\"list-unordered\",{fontCharacter:\"\\\\eb17\"}),n.liveShare=new n(\"live-share\",{fontCharacter:\"\\\\eb18\"}),n.loading=new n(\"loading\",{fontCharacter:\"\\\\eb19\"}),n.location=new n(\"location\",{fontCharacter:\"\\\\eb1a\"}),n.mailRead=new n(\"mail-read\",{fontCharacter:\"\\\\eb1b\"}),n.mail=new n(\"mail\",{fontCharacter:\"\\\\eb1c\"}),n.markdown=new n(\"markdown\",{fontCharacter:\"\\\\eb1d\"}),n.megaphone=new n(\"megaphone\",{fontCharacter:\"\\\\eb1e\"}),n.mention=new n(\"mention\",{fontCharacter:\"\\\\eb1f\"}),n.milestone=new n(\"milestone\",{fontCharacter:\"\\\\eb20\"}),n.mortarBoard=new n(\"mortar-board\",{fontCharacter:\"\\\\eb21\"}),n.move=new n(\"move\",{fontCharacter:\"\\\\eb22\"}),n.multipleWindows=new n(\"multiple-windows\",{fontCharacter:\"\\\\eb23\"}),n.mute=new n(\"mute\",{fontCharacter:\"\\\\eb24\"}),n.noNewline=new n(\"no-newline\",{fontCharacter:\"\\\\eb25\"}),n.note=new n(\"note\",{fontCharacter:\"\\\\eb26\"}),n.octoface=new n(\"octoface\",{fontCharacter:\"\\\\eb27\"}),n.openPreview=new n(\"open-preview\",{fontCharacter:\"\\\\eb28\"}),n.package_=new n(\"package\",{fontCharacter:\"\\\\eb29\"}),n.paintcan=new n(\"paintcan\",{fontCharacter:\"\\\\eb2a\"}),n.pin=new n(\"pin\",{fontCharacter:\"\\\\eb2b\"}),n.play=new n(\"play\",{fontCharacter:\"\\\\eb2c\"}),n.run=new n(\"run\",{fontCharacter:\"\\\\eb2c\"}),n.plug=new n(\"plug\",{fontCharacter:\"\\\\eb2d\"}),n.preserveCase=new n(\"preserve-case\",{fontCharacter:\"\\\\eb2e\"}),n.preview=new n(\"preview\",{fontCharacter:\"\\\\eb2f\"}),n.project=new n(\"project\",{fontCharacter:\"\\\\eb30\"}),n.pulse=new n(\"pulse\",{fontCharacter:\"\\\\eb31\"}),n.question=new n(\"question\",{fontCharacter:\"\\\\eb32\"}),n.quote=new n(\"quote\",{fontCharacter:\"\\\\eb33\"}),n.radioTower=new n(\"radio-tower\",{fontCharacter:\"\\\\eb34\"}),n.reactions=new n(\"reactions\",{fontCharacter:\"\\\\eb35\"}),n.references=new n(\"references\",{fontCharacter:\"\\\\eb36\"}),n.refresh=new n(\"refresh\",{fontCharacter:\"\\\\eb37\"}),n.regex=new n(\"regex\",{fontCharacter:\"\\\\eb38\"}),n.remoteExplorer=new n(\"remote-explorer\",{fontCharacter:\"\\\\eb39\"}),n.remote=new n(\"remote\",{fontCharacter:\"\\\\eb3a\"}),n.remove=new n(\"remove\",{fontCharacter:\"\\\\eb3b\"}),n.replaceAll=new n(\"replace-all\",{fontCharacter:\"\\\\eb3c\"}),n.replace=new n(\"replace\",{fontCharacter:\"\\\\eb3d\"}),n.repoClone=new n(\"repo-clone\",{fontCharacter:\"\\\\eb3e\"}),n.repoForcePush=new n(\"repo-force-push\",{fontCharacter:\"\\\\eb3f\"}),n.repoPull=new n(\"repo-pull\",{fontCharacter:\"\\\\eb40\"}),n.repoPush=new n(\"repo-push\",{fontCharacter:\"\\\\eb41\"}),n.report=new n(\"report\",{fontCharacter:\"\\\\eb42\"}),n.requestChanges=new n(\"request-changes\",{fontCharacter:\"\\\\eb43\"}),n.rocket=new n(\"rocket\",{fontCharacter:\"\\\\eb44\"}),n.rootFolderOpened=new n(\"root-folder-opened\",{fontCharacter:\"\\\\eb45\"}),n.rootFolder=new n(\"root-folder\",{fontCharacter:\"\\\\eb46\"}),n.rss=new n(\"rss\",{fontCharacter:\"\\\\eb47\"}),n.ruby=new n(\"ruby\",{fontCharacter:\"\\\\eb48\"}),n.saveAll=new n(\"save-all\",{fontCharacter:\"\\\\eb49\"}),n.saveAs=new n(\"save-as\",{fontCharacter:\"\\\\eb4a\"}),n.save=new n(\"save\",{fontCharacter:\"\\\\eb4b\"}),n.screenFull=new n(\"screen-full\",{fontCharacter:\"\\\\eb4c\"}),n.screenNormal=new n(\"screen-normal\",{fontCharacter:\"\\\\eb4d\"}),n.searchStop=new n(\"search-stop\",{fontCharacter:\"\\\\eb4e\"}),n.server=new n(\"server\",{fontCharacter:\"\\\\eb50\"}),n.settingsGear=new n(\"settings-gear\",{fontCharacter:\"\\\\eb51\"}),n.settings=new n(\"settings\",{fontCharacter:\"\\\\eb52\"}),n.shield=new n(\"shield\",{fontCharacter:\"\\\\eb53\"}),n.smiley=new n(\"smiley\",{fontCharacter:\"\\\\eb54\"}),n.sortPrecedence=new n(\"sort-precedence\",{fontCharacter:\"\\\\eb55\"}),n.splitHorizontal=new n(\"split-horizontal\",{fontCharacter:\"\\\\eb56\"}),n.splitVertical=new n(\"split-vertical\",{fontCharacter:\"\\\\eb57\"}),n.squirrel=new n(\"squirrel\",{fontCharacter:\"\\\\eb58\"}),n.starFull=new n(\"star-full\",{fontCharacter:\"\\\\eb59\"}),n.starHalf=new n(\"star-half\",{fontCharacter:\"\\\\eb5a\"}),n.symbolClass=new n(\"symbol-class\",{fontCharacter:\"\\\\eb5b\"}),n.symbolColor=new n(\"symbol-color\",{fontCharacter:\"\\\\eb5c\"}),n.symbolCustomColor=new n(\"symbol-customcolor\",{fontCharacter:\"\\\\eb5c\"}),n.symbolConstant=new n(\"symbol-constant\",{fontCharacter:\"\\\\eb5d\"}),n.symbolEnumMember=new n(\"symbol-enum-member\",{fontCharacter:\"\\\\eb5e\"}),n.symbolField=new n(\"symbol-field\",{fontCharacter:\"\\\\eb5f\"}),n.symbolFile=new n(\"symbol-file\",{fontCharacter:\"\\\\eb60\"}),n.symbolInterface=new n(\"symbol-interface\",{fontCharacter:\"\\\\eb61\"}),n.symbolKeyword=new n(\"symbol-keyword\",{fontCharacter:\"\\\\eb62\"}),n.symbolMisc=new n(\"symbol-misc\",{fontCharacter:\"\\\\eb63\"}),n.symbolOperator=new n(\"symbol-operator\",{fontCharacter:\"\\\\eb64\"}),n.symbolProperty=new n(\"symbol-property\",{fontCharacter:\"\\\\eb65\"}),n.wrench=new n(\"wrench\",{fontCharacter:\"\\\\eb65\"}),n.wrenchSubaction=new n(\"wrench-subaction\",{fontCharacter:\"\\\\eb65\"}),n.symbolSnippet=new n(\"symbol-snippet\",{fontCharacter:\"\\\\eb66\"}),n.tasklist=new n(\"tasklist\",{fontCharacter:\"\\\\eb67\"}),n.telescope=new n(\"telescope\",{fontCharacter:\"\\\\eb68\"}),n.textSize=new n(\"text-size\",{fontCharacter:\"\\\\eb69\"}),n.threeBars=new n(\"three-bars\",{fontCharacter:\"\\\\eb6a\"}),n.thumbsdown=new n(\"thumbsdown\",{fontCharacter:\"\\\\eb6b\"}),n.thumbsup=new n(\"thumbsup\",{fontCharacter:\"\\\\eb6c\"}),n.tools=new n(\"tools\",{fontCharacter:\"\\\\eb6d\"}),n.triangleDown=new n(\"triangle-down\",{fontCharacter:\"\\\\eb6e\"}),n.triangleLeft=new n(\"triangle-left\",{fontCharacter:\"\\\\eb6f\"}),n.triangleRight=new n(\"triangle-right\",{fontCharacter:\"\\\\eb70\"}),n.triangleUp=new n(\"triangle-up\",{fontCharacter:\"\\\\eb71\"}),n.twitter=new n(\"twitter\",{fontCharacter:\"\\\\eb72\"}),n.unfold=new n(\"unfold\",{fontCharacter:\"\\\\eb73\"}),n.unlock=new n(\"unlock\",{fontCharacter:\"\\\\eb74\"}),n.unmute=new n(\"unmute\",{fontCharacter:\"\\\\eb75\"}),n.unverified=new n(\"unverified\",{fontCharacter:\"\\\\eb76\"}),n.verified=new n(\"verified\",{fontCharacter:\"\\\\eb77\"}),n.versions=new n(\"versions\",{fontCharacter:\"\\\\eb78\"}),n.vmActive=new n(\"vm-active\",{fontCharacter:\"\\\\eb79\"}),n.vmOutline=new n(\"vm-outline\",{fontCharacter:\"\\\\eb7a\"}),n.vmRunning=new n(\"vm-running\",{fontCharacter:\"\\\\eb7b\"}),n.watch=new n(\"watch\",{fontCharacter:\"\\\\eb7c\"}),n.whitespace=new n(\"whitespace\",{fontCharacter:\"\\\\eb7d\"}),n.wholeWord=new n(\"whole-word\",{fontCharacter:\"\\\\eb7e\"}),n.window=new n(\"window\",{fontCharacter:\"\\\\eb7f\"}),n.wordWrap=new n(\"word-wrap\",{fontCharacter:\"\\\\eb80\"}),n.zoomIn=new n(\"zoom-in\",{fontCharacter:\"\\\\eb81\"}),n.zoomOut=new n(\"zoom-out\",{fontCharacter:\"\\\\eb82\"}),n.listFilter=new n(\"list-filter\",{fontCharacter:\"\\\\eb83\"}),n.listFlat=new n(\"list-flat\",{fontCharacter:\"\\\\eb84\"}),n.listSelection=new n(\"list-selection\",{fontCharacter:\"\\\\eb85\"}),n.selection=new n(\"selection\",{fontCharacter:\"\\\\eb85\"}),n.listTree=new n(\"list-tree\",{fontCharacter:\"\\\\eb86\"}),n.debugBreakpointFunctionUnverified=new n(\"debug-breakpoint-function-unverified\",{fontCharacter:\"\\\\eb87\"}),n.debugBreakpointFunction=new n(\"debug-breakpoint-function\",{fontCharacter:\"\\\\eb88\"}),n.debugBreakpointFunctionDisabled=new n(\"debug-breakpoint-function-disabled\",{fontCharacter:\"\\\\eb88\"}),n.debugStackframeActive=new n(\"debug-stackframe-active\",{fontCharacter:\"\\\\eb89\"}),n.debugStackframeDot=new n(\"debug-stackframe-dot\",{fontCharacter:\"\\\\eb8a\"}),n.debugStackframe=new n(\"debug-stackframe\",{fontCharacter:\"\\\\eb8b\"}),n.debugStackframeFocused=new n(\"debug-stackframe-focused\",{fontCharacter:\"\\\\eb8b\"}),n.debugBreakpointUnsupported=new n(\"debug-breakpoint-unsupported\",{fontCharacter:\"\\\\eb8c\"}),n.symbolString=new n(\"symbol-string\",{fontCharacter:\"\\\\eb8d\"}),n.debugReverseContinue=new n(\"debug-reverse-continue\",{fontCharacter:\"\\\\eb8e\"}),n.debugStepBack=new n(\"debug-step-back\",{fontCharacter:\"\\\\eb8f\"}),n.debugRestartFrame=new n(\"debug-restart-frame\",{fontCharacter:\"\\\\eb90\"}),n.callIncoming=new n(\"call-incoming\",{fontCharacter:\"\\\\eb92\"}),n.callOutgoing=new n(\"call-outgoing\",{fontCharacter:\"\\\\eb93\"}),n.menu=new n(\"menu\",{fontCharacter:\"\\\\eb94\"}),n.expandAll=new n(\"expand-all\",{fontCharacter:\"\\\\eb95\"}),n.feedback=new n(\"feedback\",{fontCharacter:\"\\\\eb96\"}),n.groupByRefType=new n(\"group-by-ref-type\",{fontCharacter:\"\\\\eb97\"}),n.ungroupByRefType=new n(\"ungroup-by-ref-type\",{fontCharacter:\"\\\\eb98\"}),n.account=new n(\"account\",{fontCharacter:\"\\\\eb99\"}),n.bellDot=new n(\"bell-dot\",{fontCharacter:\"\\\\eb9a\"}),n.debugConsole=new n(\"debug-console\",{fontCharacter:\"\\\\eb9b\"}),n.library=new n(\"library\",{fontCharacter:\"\\\\eb9c\"}),n.output=new n(\"output\",{fontCharacter:\"\\\\eb9d\"}),n.runAll=new n(\"run-all\",{fontCharacter:\"\\\\eb9e\"}),n.syncIgnored=new n(\"sync-ignored\",{fontCharacter:\"\\\\eb9f\"}),n.pinned=new n(\"pinned\",{fontCharacter:\"\\\\eba0\"}),n.githubInverted=new n(\"github-inverted\",{fontCharacter:\"\\\\eba1\"}),n.debugAlt=new n(\"debug-alt\",{fontCharacter:\"\\\\eb91\"}),n.serverProcess=new n(\"server-process\",{fontCharacter:\"\\\\eba2\"}),n.serverEnvironment=new n(\"server-environment\",{fontCharacter:\"\\\\eba3\"}),n.pass=new n(\"pass\",{fontCharacter:\"\\\\eba4\"}),n.stopCircle=new n(\"stop-circle\",{fontCharacter:\"\\\\eba5\"}),n.playCircle=new n(\"play-circle\",{fontCharacter:\"\\\\eba6\"}),n.record=new n(\"record\",{fontCharacter:\"\\\\eba7\"}),n.debugAltSmall=new n(\"debug-alt-small\",{fontCharacter:\"\\\\eba8\"}),n.vmConnect=new n(\"vm-connect\",{fontCharacter:\"\\\\eba9\"}),n.cloud=new n(\"cloud\",{fontCharacter:\"\\\\ebaa\"}),n.merge=new n(\"merge\",{fontCharacter:\"\\\\ebab\"}),n.exportIcon=new n(\"export\",{fontCharacter:\"\\\\ebac\"}),n.graphLeft=new n(\"graph-left\",{fontCharacter:\"\\\\ebad\"}),n.magnet=new n(\"magnet\",{fontCharacter:\"\\\\ebae\"}),n.notebook=new n(\"notebook\",{fontCharacter:\"\\\\ebaf\"}),n.redo=new n(\"redo\",{fontCharacter:\"\\\\ebb0\"}),n.checkAll=new n(\"check-all\",{fontCharacter:\"\\\\ebb1\"}),n.pinnedDirty=new n(\"pinned-dirty\",{fontCharacter:\"\\\\ebb2\"}),n.passFilled=new n(\"pass-filled\",{fontCharacter:\"\\\\ebb3\"}),n.circleLargeFilled=new n(\"circle-large-filled\",{fontCharacter:\"\\\\ebb4\"}),n.circleLargeOutline=new n(\"circle-large-outline\",{fontCharacter:\"\\\\ebb5\"}),n.combine=new n(\"combine\",{fontCharacter:\"\\\\ebb6\"}),n.gather=new n(\"gather\",{fontCharacter:\"\\\\ebb6\"}),n.table=new n(\"table\",{fontCharacter:\"\\\\ebb7\"}),n.variableGroup=new n(\"variable-group\",{fontCharacter:\"\\\\ebb8\"}),n.typeHierarchy=new n(\"type-hierarchy\",{fontCharacter:\"\\\\ebb9\"}),n.typeHierarchySub=new n(\"type-hierarchy-sub\",{fontCharacter:\"\\\\ebba\"}),n.typeHierarchySuper=new n(\"type-hierarchy-super\",{fontCharacter:\"\\\\ebbb\"}),n.gitPullRequestCreate=new n(\"git-pull-request-create\",{fontCharacter:\"\\\\ebbc\"}),n.runAbove=new n(\"run-above\",{fontCharacter:\"\\\\ebbd\"}),n.runBelow=new n(\"run-below\",{fontCharacter:\"\\\\ebbe\"}),n.notebookTemplate=new n(\"notebook-template\",{fontCharacter:\"\\\\ebbf\"}),n.debugRerun=new n(\"debug-rerun\",{fontCharacter:\"\\\\ebc0\"}),n.workspaceTrusted=new n(\"workspace-trusted\",{fontCharacter:\"\\\\ebc1\"}),n.workspaceUntrusted=new n(\"workspace-untrusted\",{fontCharacter:\"\\\\ebc2\"}),n.workspaceUnspecified=new n(\"workspace-unspecified\",{fontCharacter:\"\\\\ebc3\"}),n.terminalCmd=new n(\"terminal-cmd\",{fontCharacter:\"\\\\ebc4\"}),n.terminalDebian=new n(\"terminal-debian\",{fontCharacter:\"\\\\ebc5\"}),n.terminalLinux=new n(\"terminal-linux\",{fontCharacter:\"\\\\ebc6\"}),n.terminalPowershell=new n(\"terminal-powershell\",{fontCharacter:\"\\\\ebc7\"}),n.terminalTmux=new n(\"terminal-tmux\",{fontCharacter:\"\\\\ebc8\"}),n.terminalUbuntu=new n(\"terminal-ubuntu\",{fontCharacter:\"\\\\ebc9\"}),n.terminalBash=new n(\"terminal-bash\",{fontCharacter:\"\\\\ebca\"}),n.arrowSwap=new n(\"arrow-swap\",{fontCharacter:\"\\\\ebcb\"}),n.copy=new n(\"copy\",{fontCharacter:\"\\\\ebcc\"}),n.personAdd=new n(\"person-add\",{fontCharacter:\"\\\\ebcd\"}),n.filterFilled=new n(\"filter-filled\",{fontCharacter:\"\\\\ebce\"}),n.wand=new n(\"wand\",{fontCharacter:\"\\\\ebcf\"}),n.debugLineByLine=new n(\"debug-line-by-line\",{fontCharacter:\"\\\\ebd0\"}),n.inspect=new n(\"inspect\",{fontCharacter:\"\\\\ebd1\"}),n.layers=new n(\"layers\",{fontCharacter:\"\\\\ebd2\"}),n.layersDot=new n(\"layers-dot\",{fontCharacter:\"\\\\ebd3\"}),n.layersActive=new n(\"layers-active\",{fontCharacter:\"\\\\ebd4\"}),n.compass=new n(\"compass\",{fontCharacter:\"\\\\ebd5\"}),n.compassDot=new n(\"compass-dot\",{fontCharacter:\"\\\\ebd6\"}),n.compassActive=new n(\"compass-active\",{fontCharacter:\"\\\\ebd7\"}),n.azure=new n(\"azure\",{fontCharacter:\"\\\\ebd8\"}),n.issueDraft=new n(\"issue-draft\",{fontCharacter:\"\\\\ebd9\"}),n.gitPullRequestClosed=new n(\"git-pull-request-closed\",{fontCharacter:\"\\\\ebda\"}),n.gitPullRequestDraft=new n(\"git-pull-request-draft\",{fontCharacter:\"\\\\ebdb\"}),n.debugAll=new n(\"debug-all\",{fontCharacter:\"\\\\ebdc\"}),n.debugCoverage=new n(\"debug-coverage\",{fontCharacter:\"\\\\ebdd\"}),n.runErrors=new n(\"run-errors\",{fontCharacter:\"\\\\ebde\"}),n.folderLibrary=new n(\"folder-library\",{fontCharacter:\"\\\\ebdf\"}),n.debugContinueSmall=new n(\"debug-continue-small\",{fontCharacter:\"\\\\ebe0\"}),n.beakerStop=new n(\"beaker-stop\",{fontCharacter:\"\\\\ebe1\"}),n.graphLine=new n(\"graph-line\",{fontCharacter:\"\\\\ebe2\"}),n.graphScatter=new n(\"graph-scatter\",{fontCharacter:\"\\\\ebe3\"}),n.pieChart=new n(\"pie-chart\",{fontCharacter:\"\\\\ebe4\"}),n.bracket=new n(\"bracket\",n.json.definition),n.bracketDot=new n(\"bracket-dot\",{fontCharacter:\"\\\\ebe5\"}),n.bracketError=new n(\"bracket-error\",{fontCharacter:\"\\\\ebe6\"}),n.lockSmall=new n(\"lock-small\",{fontCharacter:\"\\\\ebe7\"}),n.azureDevops=new n(\"azure-devops\",{fontCharacter:\"\\\\ebe8\"}),n.verifiedFilled=new n(\"verified-filled\",{fontCharacter:\"\\\\ebe9\"}),n.newLine=new n(\"newline\",{fontCharacter:\"\\\\ebea\"}),n.layout=new n(\"layout\",{fontCharacter:\"\\\\ebeb\"}),n.layoutActivitybarLeft=new n(\"layout-activitybar-left\",{fontCharacter:\"\\\\ebec\"}),n.layoutActivitybarRight=new n(\"layout-activitybar-right\",{fontCharacter:\"\\\\ebed\"}),n.layoutPanelLeft=new n(\"layout-panel-left\",{fontCharacter:\"\\\\ebee\"}),n.layoutPanelCenter=new n(\"layout-panel-center\",{fontCharacter:\"\\\\ebef\"}),n.layoutPanelJustify=new n(\"layout-panel-justify\",{fontCharacter:\"\\\\ebf0\"}),n.layoutPanelRight=new n(\"layout-panel-right\",{fontCharacter:\"\\\\ebf1\"}),n.layoutPanel=new n(\"layout-panel\",{fontCharacter:\"\\\\ebf2\"}),n.layoutSidebarLeft=new n(\"layout-sidebar-left\",{fontCharacter:\"\\\\ebf3\"}),n.layoutSidebarRight=new n(\"layout-sidebar-right\",{fontCharacter:\"\\\\ebf4\"}),n.layoutStatusbar=new n(\"layout-statusbar\",{fontCharacter:\"\\\\ebf5\"}),n.layoutMenubar=new n(\"layout-menubar\",{fontCharacter:\"\\\\ebf6\"}),n.layoutCentered=new n(\"layout-centered\",{fontCharacter:\"\\\\ebf7\"}),n.target=new n(\"target\",{fontCharacter:\"\\\\ebf8\"}),n.indent=new n(\"indent\",{fontCharacter:\"\\\\ebf9\"}),n.recordSmall=new n(\"record-small\",{fontCharacter:\"\\\\ebfa\"}),n.errorSmall=new n(\"error-small\",{fontCharacter:\"\\\\ebfb\"}),n.arrowCircleDown=new n(\"arrow-circle-down\",{fontCharacter:\"\\\\ebfc\"}),n.arrowCircleLeft=new n(\"arrow-circle-left\",{fontCharacter:\"\\\\ebfd\"}),n.arrowCircleRight=new n(\"arrow-circle-right\",{fontCharacter:\"\\\\ebfe\"}),n.arrowCircleUp=new n(\"arrow-circle-up\",{fontCharacter:\"\\\\ebff\"}),n.dialogError=new n(\"dialog-error\",n.error.definition),n.dialogWarning=new n(\"dialog-warning\",n.warning.definition),n.dialogInfo=new n(\"dialog-info\",n.info.definition),n.dialogClose=new n(\"dialog-close\",n.close.definition),n.treeItemExpanded=new n(\"tree-item-expanded\",n.chevronDown.definition),n.treeFilterOnTypeOn=new n(\"tree-filter-on-type-on\",n.listFilter.definition),n.treeFilterOnTypeOff=new n(\"tree-filter-on-type-off\",n.listSelection.definition),n.treeFilterClear=new n(\"tree-filter-clear\",n.close.definition),n.treeItemLoading=new n(\"tree-item-loading\",n.loading.definition),n.menuSelection=new n(\"menu-selection\",n.check.definition),n.menuSubmenu=new n(\"menu-submenu\",n.chevronRight.definition),n.menuBarMore=new n(\"menubar-more\",n.more.definition),n.scrollbarButtonLeft=new n(\"scrollbar-button-left\",n.triangleLeft.definition),n.scrollbarButtonRight=new n(\"scrollbar-button-right\",n.triangleRight.definition),n.scrollbarButtonUp=new n(\"scrollbar-button-up\",n.triangleUp.definition),n.scrollbarButtonDown=new n(\"scrollbar-button-down\",n.triangleDown.definition),n.toolBarMore=new n(\"toolbar-more\",n.more.definition),n.quickInputBack=new n(\"quick-input-back\",n.arrowLeft.definition);var Vt;(function(e){e.iconNameSegment=\"[A-Za-z0-9]+\",e.iconNameExpression=\"[A-Za-z0-9-]+\",e.iconModifierExpression=\"~[A-Za-z]+\",e.iconNameCharacter=\"[A-Za-z0-9~-]\";const t=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function r(a){if(a instanceof n)return[\"codicon\",\"codicon-\"+a.id];const o=t.exec(a.id);if(!o)return r(n.error);let[,l,u]=o;const c=[\"codicon\",\"codicon-\"+l];return u&&c.push(\"codicon-modifier-\"+u.substr(1)),c}e.asClassNameArray=r;function s(a){return r(a).join(\" \")}e.asClassName=s;function i(a){return\".\"+r(a).join(\".\")}e.asCSSSelector=i})(Vt||(Vt={}));class jr{constructor(t,r,s){this._tokenBrand=void 0,this.offset=t,this.type=r,this.language=s}toString(){return\"(\"+this.offset+\", \"+this.type+\")\"}}var xt;(function(e){const t=new Map;t.set(0,n.symbolMethod),t.set(1,n.symbolFunction),t.set(2,n.symbolConstructor),t.set(3,n.symbolField),t.set(4,n.symbolVariable),t.set(5,n.symbolClass),t.set(6,n.symbolStruct),t.set(7,n.symbolInterface),t.set(8,n.symbolModule),t.set(9,n.symbolProperty),t.set(10,n.symbolEvent),t.set(11,n.symbolOperator),t.set(12,n.symbolUnit),t.set(13,n.symbolValue),t.set(15,n.symbolEnum),t.set(14,n.symbolConstant),t.set(15,n.symbolEnum),t.set(16,n.symbolEnumMember),t.set(17,n.symbolKeyword),t.set(27,n.symbolSnippet),t.set(18,n.symbolText),t.set(19,n.symbolColor),t.set(20,n.symbolFile),t.set(21,n.symbolReference),t.set(22,n.symbolCustomColor),t.set(23,n.symbolFolder),t.set(24,n.symbolTypeParameter),t.set(25,n.account),t.set(26,n.issues);function r(a){let o=t.get(a);return o||(console.info(\"No codicon found for CompletionItemKind \"+a),o=n.symbolProperty),o}e.toIcon=r;const s=new Map;s.set(\"method\",0),s.set(\"function\",1),s.set(\"constructor\",2),s.set(\"field\",3),s.set(\"variable\",4),s.set(\"class\",5),s.set(\"struct\",6),s.set(\"interface\",7),s.set(\"module\",8),s.set(\"property\",9),s.set(\"event\",10),s.set(\"operator\",11),s.set(\"unit\",12),s.set(\"value\",13),s.set(\"constant\",14),s.set(\"enum\",15),s.set(\"enum-member\",16),s.set(\"enumMember\",16),s.set(\"keyword\",17),s.set(\"snippet\",27),s.set(\"text\",18),s.set(\"color\",19),s.set(\"file\",20),s.set(\"reference\",21),s.set(\"customcolor\",22),s.set(\"folder\",23),s.set(\"type-parameter\",24),s.set(\"typeParameter\",24),s.set(\"account\",25),s.set(\"issue\",26);function i(a,o){let l=s.get(a);return typeof l==\"undefined\"&&!o&&(l=9),l}e.fromString=i})(xt||(xt={}));var Et;(function(e){e[e.Automatic=0]=\"Automatic\",e[e.Explicit=1]=\"Explicit\"})(Et||(Et={}));var Bt;(function(e){e[e.Invoke=1]=\"Invoke\",e[e.TriggerCharacter=2]=\"TriggerCharacter\",e[e.ContentChange=3]=\"ContentChange\"})(Bt||(Bt={}));var Ut;(function(e){e[e.Text=0]=\"Text\",e[e.Read=1]=\"Read\",e[e.Write=2]=\"Write\"})(Ut||(Ut={}));var Tt;(function(e){const t=new Map;t.set(0,n.symbolFile),t.set(1,n.symbolModule),t.set(2,n.symbolNamespace),t.set(3,n.symbolPackage),t.set(4,n.symbolClass),t.set(5,n.symbolMethod),t.set(6,n.symbolProperty),t.set(7,n.symbolField),t.set(8,n.symbolConstructor),t.set(9,n.symbolEnum),t.set(10,n.symbolInterface),t.set(11,n.symbolFunction),t.set(12,n.symbolVariable),t.set(13,n.symbolConstant),t.set(14,n.symbolString),t.set(15,n.symbolNumber),t.set(16,n.symbolBoolean),t.set(17,n.symbolArray),t.set(18,n.symbolObject),t.set(19,n.symbolKey),t.set(20,n.symbolNull),t.set(21,n.symbolEnumMember),t.set(22,n.symbolStruct),t.set(23,n.symbolEvent),t.set(24,n.symbolOperator),t.set(25,n.symbolTypeParameter);function r(s){let i=t.get(s);return i||(console.info(\"No codicon found for SymbolKind \"+s),i=n.symbolProperty),i}e.toIcon=r})(Tt||(Tt={}));var It;(function(e){function t(r){return!r||typeof r!=\"object\"?!1:typeof r.id==\"string\"&&typeof r.title==\"string\"}e.is=t})(It||(It={}));var qt;(function(e){e[e.Type=1]=\"Type\",e[e.Parameter=2]=\"Parameter\"})(qt||(qt={})),new Gr;var Ht;(function(e){e[e.Unknown=0]=\"Unknown\",e[e.Disabled=1]=\"Disabled\",e[e.Enabled=2]=\"Enabled\"})(Ht||(Ht={}));var Wt;(function(e){e[e.KeepWhitespace=1]=\"KeepWhitespace\",e[e.InsertAsSnippet=4]=\"InsertAsSnippet\"})(Wt||(Wt={}));var $t;(function(e){e[e.Method=0]=\"Method\",e[e.Function=1]=\"Function\",e[e.Constructor=2]=\"Constructor\",e[e.Field=3]=\"Field\",e[e.Variable=4]=\"Variable\",e[e.Class=5]=\"Class\",e[e.Struct=6]=\"Struct\",e[e.Interface=7]=\"Interface\",e[e.Module=8]=\"Module\",e[e.Property=9]=\"Property\",e[e.Event=10]=\"Event\",e[e.Operator=11]=\"Operator\",e[e.Unit=12]=\"Unit\",e[e.Value=13]=\"Value\",e[e.Constant=14]=\"Constant\",e[e.Enum=15]=\"Enum\",e[e.EnumMember=16]=\"EnumMember\",e[e.Keyword=17]=\"Keyword\",e[e.Text=18]=\"Text\",e[e.Color=19]=\"Color\",e[e.File=20]=\"File\",e[e.Reference=21]=\"Reference\",e[e.Customcolor=22]=\"Customcolor\",e[e.Folder=23]=\"Folder\",e[e.TypeParameter=24]=\"TypeParameter\",e[e.User=25]=\"User\",e[e.Issue=26]=\"Issue\",e[e.Snippet=27]=\"Snippet\"})($t||($t={}));var zt;(function(e){e[e.Deprecated=1]=\"Deprecated\"})(zt||(zt={}));var Gt;(function(e){e[e.Invoke=0]=\"Invoke\",e[e.TriggerCharacter=1]=\"TriggerCharacter\",e[e.TriggerForIncompleteCompletions=2]=\"TriggerForIncompleteCompletions\"})(Gt||(Gt={}));var Ot;(function(e){e[e.EXACT=0]=\"EXACT\",e[e.ABOVE=1]=\"ABOVE\",e[e.BELOW=2]=\"BELOW\"})(Ot||(Ot={}));var jt;(function(e){e[e.NotSet=0]=\"NotSet\",e[e.ContentFlush=1]=\"ContentFlush\",e[e.RecoverFromMarkers=2]=\"RecoverFromMarkers\",e[e.Explicit=3]=\"Explicit\",e[e.Paste=4]=\"Paste\",e[e.Undo=5]=\"Undo\",e[e.Redo=6]=\"Redo\"})(jt||(jt={}));var Zt;(function(e){e[e.LF=1]=\"LF\",e[e.CRLF=2]=\"CRLF\"})(Zt||(Zt={}));var Yt;(function(e){e[e.Text=0]=\"Text\",e[e.Read=1]=\"Read\",e[e.Write=2]=\"Write\"})(Yt||(Yt={}));var Xt;(function(e){e[e.None=0]=\"None\",e[e.Keep=1]=\"Keep\",e[e.Brackets=2]=\"Brackets\",e[e.Advanced=3]=\"Advanced\",e[e.Full=4]=\"Full\"})(Xt||(Xt={}));var Qt;(function(e){e[e.acceptSuggestionOnCommitCharacter=0]=\"acceptSuggestionOnCommitCharacter\",e[e.acceptSuggestionOnEnter=1]=\"acceptSuggestionOnEnter\",e[e.accessibilitySupport=2]=\"accessibilitySupport\",e[e.accessibilityPageSize=3]=\"accessibilityPageSize\",e[e.ariaLabel=4]=\"ariaLabel\",e[e.autoClosingBrackets=5]=\"autoClosingBrackets\",e[e.autoClosingDelete=6]=\"autoClosingDelete\",e[e.autoClosingOvertype=7]=\"autoClosingOvertype\",e[e.autoClosingQuotes=8]=\"autoClosingQuotes\",e[e.autoIndent=9]=\"autoIndent\",e[e.automaticLayout=10]=\"automaticLayout\",e[e.autoSurround=11]=\"autoSurround\",e[e.bracketPairColorization=12]=\"bracketPairColorization\",e[e.guides=13]=\"guides\",e[e.codeLens=14]=\"codeLens\",e[e.codeLensFontFamily=15]=\"codeLensFontFamily\",e[e.codeLensFontSize=16]=\"codeLensFontSize\",e[e.colorDecorators=17]=\"colorDecorators\",e[e.columnSelection=18]=\"columnSelection\",e[e.comments=19]=\"comments\",e[e.contextmenu=20]=\"contextmenu\",e[e.copyWithSyntaxHighlighting=21]=\"copyWithSyntaxHighlighting\",e[e.cursorBlinking=22]=\"cursorBlinking\",e[e.cursorSmoothCaretAnimation=23]=\"cursorSmoothCaretAnimation\",e[e.cursorStyle=24]=\"cursorStyle\",e[e.cursorSurroundingLines=25]=\"cursorSurroundingLines\",e[e.cursorSurroundingLinesStyle=26]=\"cursorSurroundingLinesStyle\",e[e.cursorWidth=27]=\"cursorWidth\",e[e.disableLayerHinting=28]=\"disableLayerHinting\",e[e.disableMonospaceOptimizations=29]=\"disableMonospaceOptimizations\",e[e.domReadOnly=30]=\"domReadOnly\",e[e.dragAndDrop=31]=\"dragAndDrop\",e[e.emptySelectionClipboard=32]=\"emptySelectionClipboard\",e[e.extraEditorClassName=33]=\"extraEditorClassName\",e[e.fastScrollSensitivity=34]=\"fastScrollSensitivity\",e[e.find=35]=\"find\",e[e.fixedOverflowWidgets=36]=\"fixedOverflowWidgets\",e[e.folding=37]=\"folding\",e[e.foldingStrategy=38]=\"foldingStrategy\",e[e.foldingHighlight=39]=\"foldingHighlight\",e[e.foldingImportsByDefault=40]=\"foldingImportsByDefault\",e[e.foldingMaximumRegions=41]=\"foldingMaximumRegions\",e[e.unfoldOnClickAfterEndOfLine=42]=\"unfoldOnClickAfterEndOfLine\",e[e.fontFamily=43]=\"fontFamily\",e[e.fontInfo=44]=\"fontInfo\",e[e.fontLigatures=45]=\"fontLigatures\",e[e.fontSize=46]=\"fontSize\",e[e.fontWeight=47]=\"fontWeight\",e[e.formatOnPaste=48]=\"formatOnPaste\",e[e.formatOnType=49]=\"formatOnType\",e[e.glyphMargin=50]=\"glyphMargin\",e[e.gotoLocation=51]=\"gotoLocation\",e[e.hideCursorInOverviewRuler=52]=\"hideCursorInOverviewRuler\",e[e.hover=53]=\"hover\",e[e.inDiffEditor=54]=\"inDiffEditor\",e[e.inlineSuggest=55]=\"inlineSuggest\",e[e.letterSpacing=56]=\"letterSpacing\",e[e.lightbulb=57]=\"lightbulb\",e[e.lineDecorationsWidth=58]=\"lineDecorationsWidth\",e[e.lineHeight=59]=\"lineHeight\",e[e.lineNumbers=60]=\"lineNumbers\",e[e.lineNumbersMinChars=61]=\"lineNumbersMinChars\",e[e.linkedEditing=62]=\"linkedEditing\",e[e.links=63]=\"links\",e[e.matchBrackets=64]=\"matchBrackets\",e[e.minimap=65]=\"minimap\",e[e.mouseStyle=66]=\"mouseStyle\",e[e.mouseWheelScrollSensitivity=67]=\"mouseWheelScrollSensitivity\",e[e.mouseWheelZoom=68]=\"mouseWheelZoom\",e[e.multiCursorMergeOverlapping=69]=\"multiCursorMergeOverlapping\",e[e.multiCursorModifier=70]=\"multiCursorModifier\",e[e.multiCursorPaste=71]=\"multiCursorPaste\",e[e.occurrencesHighlight=72]=\"occurrencesHighlight\",e[e.overviewRulerBorder=73]=\"overviewRulerBorder\",e[e.overviewRulerLanes=74]=\"overviewRulerLanes\",e[e.padding=75]=\"padding\",e[e.parameterHints=76]=\"parameterHints\",e[e.peekWidgetDefaultFocus=77]=\"peekWidgetDefaultFocus\",e[e.definitionLinkOpensInPeek=78]=\"definitionLinkOpensInPeek\",e[e.quickSuggestions=79]=\"quickSuggestions\",e[e.quickSuggestionsDelay=80]=\"quickSuggestionsDelay\",e[e.readOnly=81]=\"readOnly\",e[e.renameOnType=82]=\"renameOnType\",e[e.renderControlCharacters=83]=\"renderControlCharacters\",e[e.renderFinalNewline=84]=\"renderFinalNewline\",e[e.renderLineHighlight=85]=\"renderLineHighlight\",e[e.renderLineHighlightOnlyWhenFocus=86]=\"renderLineHighlightOnlyWhenFocus\",e[e.renderValidationDecorations=87]=\"renderValidationDecorations\",e[e.renderWhitespace=88]=\"renderWhitespace\",e[e.revealHorizontalRightPadding=89]=\"revealHorizontalRightPadding\",e[e.roundedSelection=90]=\"roundedSelection\",e[e.rulers=91]=\"rulers\",e[e.scrollbar=92]=\"scrollbar\",e[e.scrollBeyondLastColumn=93]=\"scrollBeyondLastColumn\",e[e.scrollBeyondLastLine=94]=\"scrollBeyondLastLine\",e[e.scrollPredominantAxis=95]=\"scrollPredominantAxis\",e[e.selectionClipboard=96]=\"selectionClipboard\",e[e.selectionHighlight=97]=\"selectionHighlight\",e[e.selectOnLineNumbers=98]=\"selectOnLineNumbers\",e[e.showFoldingControls=99]=\"showFoldingControls\",e[e.showUnused=100]=\"showUnused\",e[e.snippetSuggestions=101]=\"snippetSuggestions\",e[e.smartSelect=102]=\"smartSelect\",e[e.smoothScrolling=103]=\"smoothScrolling\",e[e.stickyTabStops=104]=\"stickyTabStops\",e[e.stopRenderingLineAfter=105]=\"stopRenderingLineAfter\",e[e.suggest=106]=\"suggest\",e[e.suggestFontSize=107]=\"suggestFontSize\",e[e.suggestLineHeight=108]=\"suggestLineHeight\",e[e.suggestOnTriggerCharacters=109]=\"suggestOnTriggerCharacters\",e[e.suggestSelection=110]=\"suggestSelection\",e[e.tabCompletion=111]=\"tabCompletion\",e[e.tabIndex=112]=\"tabIndex\",e[e.unicodeHighlighting=113]=\"unicodeHighlighting\",e[e.unusualLineTerminators=114]=\"unusualLineTerminators\",e[e.useShadowDOM=115]=\"useShadowDOM\",e[e.useTabStops=116]=\"useTabStops\",e[e.wordSeparators=117]=\"wordSeparators\",e[e.wordWrap=118]=\"wordWrap\",e[e.wordWrapBreakAfterCharacters=119]=\"wordWrapBreakAfterCharacters\",e[e.wordWrapBreakBeforeCharacters=120]=\"wordWrapBreakBeforeCharacters\",e[e.wordWrapColumn=121]=\"wordWrapColumn\",e[e.wordWrapOverride1=122]=\"wordWrapOverride1\",e[e.wordWrapOverride2=123]=\"wordWrapOverride2\",e[e.wrappingIndent=124]=\"wrappingIndent\",e[e.wrappingStrategy=125]=\"wrappingStrategy\",e[e.showDeprecated=126]=\"showDeprecated\",e[e.inlayHints=127]=\"inlayHints\",e[e.editorClassName=128]=\"editorClassName\",e[e.pixelRatio=129]=\"pixelRatio\",e[e.tabFocusMode=130]=\"tabFocusMode\",e[e.layoutInfo=131]=\"layoutInfo\",e[e.wrappingInfo=132]=\"wrappingInfo\"})(Qt||(Qt={}));var Jt;(function(e){e[e.TextDefined=0]=\"TextDefined\",e[e.LF=1]=\"LF\",e[e.CRLF=2]=\"CRLF\"})(Jt||(Jt={}));var Kt;(function(e){e[e.LF=0]=\"LF\",e[e.CRLF=1]=\"CRLF\"})(Kt||(Kt={}));var en;(function(e){e[e.None=0]=\"None\",e[e.Indent=1]=\"Indent\",e[e.IndentOutdent=2]=\"IndentOutdent\",e[e.Outdent=3]=\"Outdent\"})(en||(en={}));var tn;(function(e){e[e.Both=0]=\"Both\",e[e.Right=1]=\"Right\",e[e.Left=2]=\"Left\",e[e.None=3]=\"None\"})(tn||(tn={}));var nn;(function(e){e[e.Type=1]=\"Type\",e[e.Parameter=2]=\"Parameter\"})(nn||(nn={}));var rn;(function(e){e[e.Automatic=0]=\"Automatic\",e[e.Explicit=1]=\"Explicit\"})(rn||(rn={}));var et;(function(e){e[e.DependsOnKbLayout=-1]=\"DependsOnKbLayout\",e[e.Unknown=0]=\"Unknown\",e[e.Backspace=1]=\"Backspace\",e[e.Tab=2]=\"Tab\",e[e.Enter=3]=\"Enter\",e[e.Shift=4]=\"Shift\",e[e.Ctrl=5]=\"Ctrl\",e[e.Alt=6]=\"Alt\",e[e.PauseBreak=7]=\"PauseBreak\",e[e.CapsLock=8]=\"CapsLock\",e[e.Escape=9]=\"Escape\",e[e.Space=10]=\"Space\",e[e.PageUp=11]=\"PageUp\",e[e.PageDown=12]=\"PageDown\",e[e.End=13]=\"End\",e[e.Home=14]=\"Home\",e[e.LeftArrow=15]=\"LeftArrow\",e[e.UpArrow=16]=\"UpArrow\",e[e.RightArrow=17]=\"RightArrow\",e[e.DownArrow=18]=\"DownArrow\",e[e.Insert=19]=\"Insert\",e[e.Delete=20]=\"Delete\",e[e.Digit0=21]=\"Digit0\",e[e.Digit1=22]=\"Digit1\",e[e.Digit2=23]=\"Digit2\",e[e.Digit3=24]=\"Digit3\",e[e.Digit4=25]=\"Digit4\",e[e.Digit5=26]=\"Digit5\",e[e.Digit6=27]=\"Digit6\",e[e.Digit7=28]=\"Digit7\",e[e.Digit8=29]=\"Digit8\",e[e.Digit9=30]=\"Digit9\",e[e.KeyA=31]=\"KeyA\",e[e.KeyB=32]=\"KeyB\",e[e.KeyC=33]=\"KeyC\",e[e.KeyD=34]=\"KeyD\",e[e.KeyE=35]=\"KeyE\",e[e.KeyF=36]=\"KeyF\",e[e.KeyG=37]=\"KeyG\",e[e.KeyH=38]=\"KeyH\",e[e.KeyI=39]=\"KeyI\",e[e.KeyJ=40]=\"KeyJ\",e[e.KeyK=41]=\"KeyK\",e[e.KeyL=42]=\"KeyL\",e[e.KeyM=43]=\"KeyM\",e[e.KeyN=44]=\"KeyN\",e[e.KeyO=45]=\"KeyO\",e[e.KeyP=46]=\"KeyP\",e[e.KeyQ=47]=\"KeyQ\",e[e.KeyR=48]=\"KeyR\",e[e.KeyS=49]=\"KeyS\",e[e.KeyT=50]=\"KeyT\",e[e.KeyU=51]=\"KeyU\",e[e.KeyV=52]=\"KeyV\",e[e.KeyW=53]=\"KeyW\",e[e.KeyX=54]=\"KeyX\",e[e.KeyY=55]=\"KeyY\",e[e.KeyZ=56]=\"KeyZ\",e[e.Meta=57]=\"Meta\",e[e.ContextMenu=58]=\"ContextMenu\",e[e.F1=59]=\"F1\",e[e.F2=60]=\"F2\",e[e.F3=61]=\"F3\",e[e.F4=62]=\"F4\",e[e.F5=63]=\"F5\",e[e.F6=64]=\"F6\",e[e.F7=65]=\"F7\",e[e.F8=66]=\"F8\",e[e.F9=67]=\"F9\",e[e.F10=68]=\"F10\",e[e.F11=69]=\"F11\",e[e.F12=70]=\"F12\",e[e.F13=71]=\"F13\",e[e.F14=72]=\"F14\",e[e.F15=73]=\"F15\",e[e.F16=74]=\"F16\",e[e.F17=75]=\"F17\",e[e.F18=76]=\"F18\",e[e.F19=77]=\"F19\",e[e.NumLock=78]=\"NumLock\",e[e.ScrollLock=79]=\"ScrollLock\",e[e.Semicolon=80]=\"Semicolon\",e[e.Equal=81]=\"Equal\",e[e.Comma=82]=\"Comma\",e[e.Minus=83]=\"Minus\",e[e.Period=84]=\"Period\",e[e.Slash=85]=\"Slash\",e[e.Backquote=86]=\"Backquote\",e[e.BracketLeft=87]=\"BracketLeft\",e[e.Backslash=88]=\"Backslash\",e[e.BracketRight=89]=\"BracketRight\",e[e.Quote=90]=\"Quote\",e[e.OEM_8=91]=\"OEM_8\",e[e.IntlBackslash=92]=\"IntlBackslash\",e[e.Numpad0=93]=\"Numpad0\",e[e.Numpad1=94]=\"Numpad1\",e[e.Numpad2=95]=\"Numpad2\",e[e.Numpad3=96]=\"Numpad3\",e[e.Numpad4=97]=\"Numpad4\",e[e.Numpad5=98]=\"Numpad5\",e[e.Numpad6=99]=\"Numpad6\",e[e.Numpad7=100]=\"Numpad7\",e[e.Numpad8=101]=\"Numpad8\",e[e.Numpad9=102]=\"Numpad9\",e[e.NumpadMultiply=103]=\"NumpadMultiply\",e[e.NumpadAdd=104]=\"NumpadAdd\",e[e.NUMPAD_SEPARATOR=105]=\"NUMPAD_SEPARATOR\",e[e.NumpadSubtract=106]=\"NumpadSubtract\",e[e.NumpadDecimal=107]=\"NumpadDecimal\",e[e.NumpadDivide=108]=\"NumpadDivide\",e[e.KEY_IN_COMPOSITION=109]=\"KEY_IN_COMPOSITION\",e[e.ABNT_C1=110]=\"ABNT_C1\",e[e.ABNT_C2=111]=\"ABNT_C2\",e[e.AudioVolumeMute=112]=\"AudioVolumeMute\",e[e.AudioVolumeUp=113]=\"AudioVolumeUp\",e[e.AudioVolumeDown=114]=\"AudioVolumeDown\",e[e.BrowserSearch=115]=\"BrowserSearch\",e[e.BrowserHome=116]=\"BrowserHome\",e[e.BrowserBack=117]=\"BrowserBack\",e[e.BrowserForward=118]=\"BrowserForward\",e[e.MediaTrackNext=119]=\"MediaTrackNext\",e[e.MediaTrackPrevious=120]=\"MediaTrackPrevious\",e[e.MediaStop=121]=\"MediaStop\",e[e.MediaPlayPause=122]=\"MediaPlayPause\",e[e.LaunchMediaPlayer=123]=\"LaunchMediaPlayer\",e[e.LaunchMail=124]=\"LaunchMail\",e[e.LaunchApp2=125]=\"LaunchApp2\",e[e.Clear=126]=\"Clear\",e[e.MAX_VALUE=127]=\"MAX_VALUE\"})(et||(et={}));var tt;(function(e){e[e.Hint=1]=\"Hint\",e[e.Info=2]=\"Info\",e[e.Warning=4]=\"Warning\",e[e.Error=8]=\"Error\"})(tt||(tt={}));var nt;(function(e){e[e.Unnecessary=1]=\"Unnecessary\",e[e.Deprecated=2]=\"Deprecated\"})(nt||(nt={}));var sn;(function(e){e[e.Inline=1]=\"Inline\",e[e.Gutter=2]=\"Gutter\"})(sn||(sn={}));var an;(function(e){e[e.UNKNOWN=0]=\"UNKNOWN\",e[e.TEXTAREA=1]=\"TEXTAREA\",e[e.GUTTER_GLYPH_MARGIN=2]=\"GUTTER_GLYPH_MARGIN\",e[e.GUTTER_LINE_NUMBERS=3]=\"GUTTER_LINE_NUMBERS\",e[e.GUTTER_LINE_DECORATIONS=4]=\"GUTTER_LINE_DECORATIONS\",e[e.GUTTER_VIEW_ZONE=5]=\"GUTTER_VIEW_ZONE\",e[e.CONTENT_TEXT=6]=\"CONTENT_TEXT\",e[e.CONTENT_EMPTY=7]=\"CONTENT_EMPTY\",e[e.CONTENT_VIEW_ZONE=8]=\"CONTENT_VIEW_ZONE\",e[e.CONTENT_WIDGET=9]=\"CONTENT_WIDGET\",e[e.OVERVIEW_RULER=10]=\"OVERVIEW_RULER\",e[e.SCROLLBAR=11]=\"SCROLLBAR\",e[e.OVERLAY_WIDGET=12]=\"OVERLAY_WIDGET\",e[e.OUTSIDE_EDITOR=13]=\"OUTSIDE_EDITOR\"})(an||(an={}));var on;(function(e){e[e.TOP_RIGHT_CORNER=0]=\"TOP_RIGHT_CORNER\",e[e.BOTTOM_RIGHT_CORNER=1]=\"BOTTOM_RIGHT_CORNER\",e[e.TOP_CENTER=2]=\"TOP_CENTER\"})(on||(on={}));var ln;(function(e){e[e.Left=1]=\"Left\",e[e.Center=2]=\"Center\",e[e.Right=4]=\"Right\",e[e.Full=7]=\"Full\"})(ln||(ln={}));var cn;(function(e){e[e.Left=0]=\"Left\",e[e.Right=1]=\"Right\",e[e.None=2]=\"None\"})(cn||(cn={}));var un;(function(e){e[e.Off=0]=\"Off\",e[e.On=1]=\"On\",e[e.Relative=2]=\"Relative\",e[e.Interval=3]=\"Interval\",e[e.Custom=4]=\"Custom\"})(un||(un={}));var hn;(function(e){e[e.None=0]=\"None\",e[e.Text=1]=\"Text\",e[e.Blocks=2]=\"Blocks\"})(hn||(hn={}));var fn;(function(e){e[e.Smooth=0]=\"Smooth\",e[e.Immediate=1]=\"Immediate\"})(fn||(fn={}));var dn;(function(e){e[e.Auto=1]=\"Auto\",e[e.Hidden=2]=\"Hidden\",e[e.Visible=3]=\"Visible\"})(dn||(dn={}));var rt;(function(e){e[e.LTR=0]=\"LTR\",e[e.RTL=1]=\"RTL\"})(rt||(rt={}));var mn;(function(e){e[e.Invoke=1]=\"Invoke\",e[e.TriggerCharacter=2]=\"TriggerCharacter\",e[e.ContentChange=3]=\"ContentChange\"})(mn||(mn={}));var gn;(function(e){e[e.File=0]=\"File\",e[e.Module=1]=\"Module\",e[e.Namespace=2]=\"Namespace\",e[e.Package=3]=\"Package\",e[e.Class=4]=\"Class\",e[e.Method=5]=\"Method\",e[e.Property=6]=\"Property\",e[e.Field=7]=\"Field\",e[e.Constructor=8]=\"Constructor\",e[e.Enum=9]=\"Enum\",e[e.Interface=10]=\"Interface\",e[e.Function=11]=\"Function\",e[e.Variable=12]=\"Variable\",e[e.Constant=13]=\"Constant\",e[e.String=14]=\"String\",e[e.Number=15]=\"Number\",e[e.Boolean=16]=\"Boolean\",e[e.Array=17]=\"Array\",e[e.Object=18]=\"Object\",e[e.Key=19]=\"Key\",e[e.Null=20]=\"Null\",e[e.EnumMember=21]=\"EnumMember\",e[e.Struct=22]=\"Struct\",e[e.Event=23]=\"Event\",e[e.Operator=24]=\"Operator\",e[e.TypeParameter=25]=\"TypeParameter\"})(gn||(gn={}));var bn;(function(e){e[e.Deprecated=1]=\"Deprecated\"})(bn||(bn={}));var wn;(function(e){e[e.Hidden=0]=\"Hidden\",e[e.Blink=1]=\"Blink\",e[e.Smooth=2]=\"Smooth\",e[e.Phase=3]=\"Phase\",e[e.Expand=4]=\"Expand\",e[e.Solid=5]=\"Solid\"})(wn||(wn={}));var Cn;(function(e){e[e.Line=1]=\"Line\",e[e.Block=2]=\"Block\",e[e.Underline=3]=\"Underline\",e[e.LineThin=4]=\"LineThin\",e[e.BlockOutline=5]=\"BlockOutline\",e[e.UnderlineThin=6]=\"UnderlineThin\"})(Cn||(Cn={}));var _n;(function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]=\"AlwaysGrowsWhenTypingAtEdges\",e[e.NeverGrowsWhenTypingAtEdges=1]=\"NeverGrowsWhenTypingAtEdges\",e[e.GrowsOnlyWhenTypingBefore=2]=\"GrowsOnlyWhenTypingBefore\",e[e.GrowsOnlyWhenTypingAfter=3]=\"GrowsOnlyWhenTypingAfter\"})(_n||(_n={}));var pn;(function(e){e[e.None=0]=\"None\",e[e.Same=1]=\"Same\",e[e.Indent=2]=\"Indent\",e[e.DeepIndent=3]=\"DeepIndent\"})(pn||(pn={}));class ge{static chord(t,r){return zr(t,r)}}ge.CtrlCmd=2048,ge.Shift=1024,ge.Alt=512,ge.WinCtrl=256;function Zr(){return{editor:void 0,languages:void 0,CancellationTokenSource:qr,Emitter:j,KeyCode:et,KeyMod:ge,Position:H,Range:V,Selection:W,SelectionDirection:rt,MarkerSeverity:tt,MarkerTag:nt,Uri:ne,Token:jr}}var Ln;(function(e){e[e.Left=1]=\"Left\",e[e.Center=2]=\"Center\",e[e.Right=4]=\"Right\",e[e.Full=7]=\"Full\"})(Ln||(Ln={}));var Nn;(function(e){e[e.Inline=1]=\"Inline\",e[e.Gutter=2]=\"Gutter\"})(Nn||(Nn={}));var Sn;(function(e){e[e.Both=0]=\"Both\",e[e.Right=1]=\"Right\",e[e.Left=2]=\"Left\",e[e.None=3]=\"None\"})(Sn||(Sn={}));function Yr(e,t,r,s,i){if(s===0)return!0;const a=t.charCodeAt(s-1);if(e.get(a)!==0||a===13||a===10)return!0;if(i>0){const o=t.charCodeAt(s);if(e.get(o)!==0)return!0}return!1}function Xr(e,t,r,s,i){if(s+i===r)return!0;const a=t.charCodeAt(s+i);if(e.get(a)!==0||a===13||a===10)return!0;if(i>0){const o=t.charCodeAt(s+i-1);if(e.get(o)!==0)return!0}return!1}function Qr(e,t,r,s,i){return Yr(e,t,r,s,i)&&Xr(e,t,r,s,i)}class Jr{constructor(t,r){this._wordSeparators=t,this._searchRegex=r,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(t){this._searchRegex.lastIndex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(t){const r=t.length;let s;do{if(this._prevMatchStartIndex+this._prevMatchLength===r||(s=this._searchRegex.exec(t),!s))return null;const i=s.index,a=s[0].length;if(i===this._prevMatchStartIndex&&a===this._prevMatchLength){if(a===0){Qn(t,r,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=i,this._prevMatchLength=a,!this._wordSeparators||Qr(this._wordSeparators,t,r,i,a))return s}while(s);return null}}class Kr{static computeUnicodeHighlights(t,r,s){const i=s?s.startLineNumber:1,a=s?s.endLineNumber:t.getLineCount(),o=new vn(r),l=o.getCandidateCodePoints();let u;l===\"allNonBasicAscii\"?u=new RegExp(\"[^\\\\t\\\\n\\\\r\\\\x20-\\\\x7E]\",\"g\"):u=new RegExp(`${e1(Array.from(l))}`,\"g\");const c=new Jr(null,u),f=[];let h=!1,d,_=0,S=0,v=0;e:for(let M=i,P=a;M<=P;M++){const w=t.getLineContent(M),p=w.length;c.reset(0);do if(d=c.next(w),d){let g=d.index,m=d.index+d[0].length;if(g>0){const N=w.charCodeAt(g-1);Ie(N)&&g--}if(m+1<p){const N=w.charCodeAt(m-1);Ie(N)&&m++}const L=w.substring(g,m),C=Oe(g+1,Pt,w,0),b=o.shouldHighlightNonBasicASCII(L,C?C.word:null);if(b!==0){b===3?_++:b===2?S++:b===1?v++:$n();const N=1e3;if(f.length>=N){h=!0;break e}f.push(new V(M,g+1,M,m+1))}}while(d)}return{ranges:f,hasMore:h,ambiguousCharacterCount:_,invisibleCharacterCount:S,nonBasicAsciiCharacterCount:v}}static computeUnicodeHighlightReason(t,r){const s=new vn(r);switch(s.shouldHighlightNonBasicASCII(t,null)){case 0:return null;case 2:return{kind:1};case 3:{const a=t.codePointAt(0),o=s.ambiguousCharacters.getPrimaryConfusable(a),l=$.getLocales().filter(u=>!$.getInstance(new Set([...r.allowedLocales,u])).isAmbiguous(a));return{kind:0,confusableWith:String.fromCodePoint(o),notAmbiguousInLocales:l}}case 1:return{kind:2}}}}function e1(e,t){return`[${Gn(e.map(s=>String.fromCodePoint(s)).join(\"\"))}]`}class vn{constructor(t){this.options=t,this.allowedCodePoints=new Set(t.allowedCodePoints),this.ambiguousCharacters=$.getInstance(new Set(t.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return\"allNonBasicAscii\";const t=new Set;if(this.options.invisibleCharacters)for(const r of Y.codePoints)An(String.fromCodePoint(r))||t.add(r);if(this.options.ambiguousCharacters)for(const r of this.ambiguousCharacters.getConfusableCodePoints())t.add(r);for(const r of this.allowedCodePoints)t.delete(r);return t}shouldHighlightNonBasicASCII(t,r){const s=t.codePointAt(0);if(this.allowedCodePoints.has(s))return 0;if(this.options.nonBasicASCII)return 1;let i=!1,a=!1;if(r)for(let o of r){const l=o.codePointAt(0),u=Kn(o);i=i||u,!u&&!this.ambiguousCharacters.isAmbiguous(l)&&!Y.isInvisibleCharacter(l)&&(a=!0)}return!i&&a?0:this.options.invisibleCharacters&&!An(t)&&Y.isInvisibleCharacter(s)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(s)?3:0}}function An(e){return e===\" \"||e===`\n`||e===\"\t\"}var re=function(e,t,r,s){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function l(f){try{c(s.next(f))}catch(h){o(h)}}function u(f){try{c(s.throw(f))}catch(h){o(h)}}function c(f){f.done?a(f.value):i(f.value).then(l,u)}c((s=s.apply(e,t||[])).next())})};class t1 extends Rr{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(t){return this._lines[t-1]}getWordAtPosition(t,r){const s=Oe(t.column,Fr(r),this._lines[t.lineNumber-1],0);return s?new V(t.lineNumber,s.startColumn,t.lineNumber,s.endColumn):null}words(t){const r=this._lines,s=this._wordenize.bind(this);let i=0,a=\"\",o=0,l=[];return{*[Symbol.iterator](){for(;;)if(o<l.length){const u=a.substring(l[o].start,l[o].end);o+=1,yield u}else if(i<r.length)a=r[i],l=s(a,t),o=0,i+=1;else break}}}getLineWords(t,r){const s=this._lines[t-1],i=this._wordenize(s,r),a=[];for(const o of i)a.push({word:s.substring(o.start,o.end),startColumn:o.start+1,endColumn:o.end+1});return a}_wordenize(t,r){const s=[];let i;for(r.lastIndex=0;(i=r.exec(t))&&i[0].length!==0;)s.push({start:i.index,end:i.index+i[0].length});return s}getValueInRange(t){if(t=this._validateRange(t),t.startLineNumber===t.endLineNumber)return this._lines[t.startLineNumber-1].substring(t.startColumn-1,t.endColumn-1);const r=this._eol,s=t.startLineNumber-1,i=t.endLineNumber-1,a=[];a.push(this._lines[s].substring(t.startColumn-1));for(let o=s+1;o<i;o++)a.push(this._lines[o]);return a.push(this._lines[i].substring(0,t.endColumn-1)),a.join(r)}offsetAt(t){return t=this._validatePosition(t),this._ensureLineStarts(),this._lineStarts.getPrefixSum(t.lineNumber-2)+(t.column-1)}positionAt(t){t=Math.floor(t),t=Math.max(0,t),this._ensureLineStarts();const r=this._lineStarts.getIndexOf(t),s=this._lines[r.index].length;return{lineNumber:1+r.index,column:1+Math.min(r.remainder,s)}}_validateRange(t){const r=this._validatePosition({lineNumber:t.startLineNumber,column:t.startColumn}),s=this._validatePosition({lineNumber:t.endLineNumber,column:t.endColumn});return r.lineNumber!==t.startLineNumber||r.column!==t.startColumn||s.lineNumber!==t.endLineNumber||s.column!==t.endColumn?{startLineNumber:r.lineNumber,startColumn:r.column,endLineNumber:s.lineNumber,endColumn:s.column}:t}_validatePosition(t){if(!H.isIPosition(t))throw new Error(\"bad position\");let{lineNumber:r,column:s}=t,i=!1;if(r<1)r=1,s=1,i=!0;else if(r>this._lines.length)r=this._lines.length,s=this._lines[r-1].length+1,i=!0;else{const a=this._lines[r-1].length+1;s<1?(s=1,i=!0):s>a&&(s=a,i=!0)}return i?{lineNumber:r,column:s}:t}}class ue{constructor(t,r){this._host=t,this._models=Object.create(null),this._foreignModuleFactory=r,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(t){return this._models[t]}_getModels(){const t=[];return Object.keys(this._models).forEach(r=>t.push(this._models[r])),t}acceptNewModel(t){this._models[t.url]=new t1(ne.parse(t.url),t.lines,t.EOL,t.versionId)}acceptModelChanged(t,r){if(!this._models[t])return;this._models[t].onEvents(r)}acceptRemovedModel(t){!this._models[t]||delete this._models[t]}computeUnicodeHighlights(t,r,s){return re(this,void 0,void 0,function*(){const i=this._getModel(t);return i?Kr.computeUnicodeHighlights(i,r,s):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(t,r,s,i){return re(this,void 0,void 0,function*(){const a=this._getModel(t),o=this._getModel(r);if(!a||!o)return null;const l=a.getLinesContent(),u=o.getLinesContent(),f=new yr(l,u,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:s,shouldMakePrettyDiff:!0,maxComputationTime:i}).computeDiff(),h=f.changes.length>0?!1:this._modelsAreIdentical(a,o);return{quitEarly:f.quitEarly,identical:h,changes:f.changes}})}_modelsAreIdentical(t,r){const s=t.getLineCount(),i=r.getLineCount();if(s!==i)return!1;for(let a=1;a<=s;a++){const o=t.getLineContent(a),l=r.getLineContent(a);if(o!==l)return!1}return!0}computeMoreMinimalEdits(t,r){return re(this,void 0,void 0,function*(){const s=this._getModel(t);if(!s)return r;const i=[];let a;r=r.slice(0).sort((o,l)=>{if(o.range&&l.range)return V.compareRangesUsingStarts(o.range,l.range);const u=o.range?0:1,c=l.range?0:1;return u-c});for(let{range:o,text:l,eol:u}of r){if(typeof u==\"number\"&&(a=u),V.isEmpty(o)&&!l)continue;const c=s.getValueInRange(o);if(l=l.replace(/\\r\\n|\\n|\\r/g,s.eol),c===l)continue;if(Math.max(l.length,c.length)>ue._diffLimit){i.push({range:o,text:l});continue}const f=cr(c,l,!1),h=s.offsetAt(V.lift(o).getStartPosition());for(const d of f){const _=s.positionAt(h+d.originalStart),S=s.positionAt(h+d.originalStart+d.originalLength),v={text:l.substr(d.modifiedStart,d.modifiedLength),range:{startLineNumber:_.lineNumber,startColumn:_.column,endLineNumber:S.lineNumber,endColumn:S.column}};s.getValueInRange(v.range)!==v.text&&i.push(v)}}return typeof a==\"number\"&&i.push({eol:a,text:\"\",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),i})}computeLinks(t){return re(this,void 0,void 0,function*(){const r=this._getModel(t);return r?Ir(r):null})}textualSuggest(t,r,s,i){return re(this,void 0,void 0,function*(){const a=new _e(!0),o=new RegExp(s,i),l=new Set;e:for(let u of t){const c=this._getModel(u);if(!!c){for(let f of c.words(o))if(!(f===r||!isNaN(Number(f)))&&(l.add(f),l.size>ue._suggestionsLimit))break e}}return{words:Array.from(l),duration:a.elapsed()}})}computeWordRanges(t,r,s,i){return re(this,void 0,void 0,function*(){const a=this._getModel(t);if(!a)return Object.create(null);const o=new RegExp(s,i),l=Object.create(null);for(let u=r.startLineNumber;u<r.endLineNumber;u++){const c=a.getLineWords(u,o);for(const f of c){if(!isNaN(Number(f.word)))continue;let h=l[f.word];h||(h=[],l[f.word]=h),h.push({startLineNumber:u,startColumn:f.startColumn,endLineNumber:u,endColumn:f.endColumn})}}return l})}navigateValueSet(t,r,s,i,a){return re(this,void 0,void 0,function*(){const o=this._getModel(t);if(!o)return null;const l=new RegExp(i,a);r.startColumn===r.endColumn&&(r={startLineNumber:r.startLineNumber,startColumn:r.startColumn,endLineNumber:r.endLineNumber,endColumn:r.endColumn+1});const u=o.getValueInRange(r),c=o.getWordAtPosition({lineNumber:r.startLineNumber,column:r.startColumn},l);if(!c)return null;const f=o.getValueInRange(c);return Ye.INSTANCE.navigateValueSet(r,u,c,f,s)})}loadForeignModule(t,r,s){const o={host:Wn(s,(l,u)=>this._host.fhr(l,u)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(o,r),Promise.resolve(Te(this._foreignModule))):Promise.reject(new Error(\"Unexpected usage\"))}fmr(t,r){if(!this._foreignModule||typeof this._foreignModule[t]!=\"function\")return Promise.reject(new Error(\"Missing requestHandler or method: \"+t));try{return Promise.resolve(this._foreignModule[t].apply(this._foreignModule,r))}catch(s){return Promise.reject(s)}}}ue._diffLimit=1e5,ue._suggestionsLimit=1e4,typeof importScripts==\"function\"&&(B.monaco=Zr());let st=!1;function n1(e){if(st)return;st=!0;const t=new or(r=>{self.postMessage(r)},r=>new ue(r,e));self.onmessage=r=>{t.onmessage(r.data)}}self.onmessage=e=>{st||n1(null)}})();\n"
  },
  {
    "path": "client/dist/assets/elixir.f66025dc.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"#\"},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"'\",close:\"'\"},{open:'\"',close:'\"'}],autoClosingPairs:[{open:\"'\",close:\"'\",notIn:[\"string\",\"comment\"]},{open:'\"',close:'\"',notIn:[\"comment\"]},{open:'\"\"\"',close:'\"\"\"'},{open:\"`\",close:\"`\",notIn:[\"string\",\"comment\"]},{open:\"(\",close:\")\"},{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"<<\",close:\">>\"}],indentationRules:{increaseIndentPattern:/^\\s*(after|else|catch|rescue|fn|[^#]*(do|<\\-|\\->|\\{|\\[|\\=))\\s*$/,decreaseIndentPattern:/^\\s*((\\}|\\])\\s*$|(after|else|catch|rescue|end)\\b)/}},t={defaultToken:\"source\",tokenPostfix:\".elixir\",brackets:[{open:\"[\",close:\"]\",token:\"delimiter.square\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"},{open:\"{\",close:\"}\",token:\"delimiter.curly\"},{open:\"<<\",close:\">>\",token:\"delimiter.angle.special\"}],declarationKeywords:[\"def\",\"defp\",\"defn\",\"defnp\",\"defguard\",\"defguardp\",\"defmacro\",\"defmacrop\",\"defdelegate\",\"defcallback\",\"defmacrocallback\",\"defmodule\",\"defprotocol\",\"defexception\",\"defimpl\",\"defstruct\"],operatorKeywords:[\"and\",\"in\",\"not\",\"or\",\"when\"],namespaceKeywords:[\"alias\",\"import\",\"require\",\"use\"],otherKeywords:[\"after\",\"case\",\"catch\",\"cond\",\"do\",\"else\",\"end\",\"fn\",\"for\",\"if\",\"quote\",\"raise\",\"receive\",\"rescue\",\"super\",\"throw\",\"try\",\"unless\",\"unquote_splicing\",\"unquote\",\"with\"],constants:[\"true\",\"false\",\"nil\"],nameBuiltin:[\"__MODULE__\",\"__DIR__\",\"__ENV__\",\"__CALLER__\",\"__STACKTRACE__\"],operator:/-[->]?|!={0,2}|\\*{1,2}|\\/|\\\\\\\\|&{1,3}|\\.\\.?|\\^(?:\\^\\^)?|\\+\\+?|<(?:-|<<|=|>|\\|>|~>?)?|=~|={1,3}|>(?:=|>>)?|\\|~>|\\|>|\\|{1,3}|~>>?|~~~|::/,variableName:/[a-z_][a-zA-Z0-9_]*[?!]?/,atomName:/[a-zA-Z_][a-zA-Z0-9_@]*[?!]?|@specialAtomName|@operator/,specialAtomName:/\\.\\.\\.|<<>>|%\\{\\}|%|\\{\\}/,aliasPart:/[A-Z][a-zA-Z0-9_]*/,moduleName:/@aliasPart(?:\\.@aliasPart)*/,sigilSymmetricDelimiter:/\"\"\"|'''|\"|'|\\/|\\|/,sigilStartDelimiter:/@sigilSymmetricDelimiter|<|\\{|\\[|\\(/,sigilEndDelimiter:/@sigilSymmetricDelimiter|>|\\}|\\]|\\)/,sigilModifiers:/[a-zA-Z0-9]*/,decimal:/\\d(?:_?\\d)*/,hex:/[0-9a-fA-F](_?[0-9a-fA-F])*/,octal:/[0-7](_?[0-7])*/,binary:/[01](_?[01])*/,escape:/\\\\u[0-9a-fA-F]{4}|\\\\x[0-9a-fA-F]{2}|\\\\./,tokenizer:{root:[{include:\"@whitespace\"},{include:\"@comments\"},{include:\"@keywordsShorthand\"},{include:\"@numbers\"},{include:\"@identifiers\"},{include:\"@strings\"},{include:\"@atoms\"},{include:\"@sigils\"},{include:\"@attributes\"},{include:\"@symbols\"}],whitespace:[[/\\s+/,\"white\"]],comments:[[/(#)(.*)/,[\"comment.punctuation\",\"comment\"]]],keywordsShorthand:[[/(@atomName)(:)/,[\"constant\",\"constant.punctuation\"]],[/\"(?=([^\"]|#\\{.*?\\}|\\\\\")*\":)/,{token:\"constant.delimiter\",next:\"@doubleQuotedStringKeyword\"}],[/'(?=([^']|#\\{.*?\\}|\\\\')*':)/,{token:\"constant.delimiter\",next:\"@singleQuotedStringKeyword\"}]],doubleQuotedStringKeyword:[[/\":/,{token:\"constant.delimiter\",next:\"@pop\"}],{include:\"@stringConstantContentInterpol\"}],singleQuotedStringKeyword:[[/':/,{token:\"constant.delimiter\",next:\"@pop\"}],{include:\"@stringConstantContentInterpol\"}],numbers:[[/0b@binary/,\"number.binary\"],[/0o@octal/,\"number.octal\"],[/0x@hex/,\"number.hex\"],[/@decimal\\.@decimal([eE]-?@decimal)?/,\"number.float\"],[/@decimal/,\"number\"]],identifiers:[[/\\b(defp?|defnp?|defmacrop?|defguardp?|defdelegate)(\\s+)(@variableName)(?!\\s+@operator)/,[\"keyword.declaration\",\"white\",{cases:{unquote:\"keyword\",\"@default\":\"function\"}}]],[/(@variableName)(?=\\s*\\.?\\s*\\()/,{cases:{\"@declarationKeywords\":\"keyword.declaration\",\"@namespaceKeywords\":\"keyword\",\"@otherKeywords\":\"keyword\",\"@default\":\"function.call\"}}],[/(@moduleName)(\\s*)(\\.)(\\s*)(@variableName)/,[\"type.identifier\",\"white\",\"operator\",\"white\",\"function.call\"]],[/(:)(@atomName)(\\s*)(\\.)(\\s*)(@variableName)/,[\"constant.punctuation\",\"constant\",\"white\",\"operator\",\"white\",\"function.call\"]],[/(\\|>)(\\s*)(@variableName)/,[\"operator\",\"white\",{cases:{\"@otherKeywords\":\"keyword\",\"@default\":\"function.call\"}}]],[/(&)(\\s*)(@variableName)/,[\"operator\",\"white\",\"function.call\"]],[/@variableName/,{cases:{\"@declarationKeywords\":\"keyword.declaration\",\"@operatorKeywords\":\"keyword.operator\",\"@namespaceKeywords\":\"keyword\",\"@otherKeywords\":\"keyword\",\"@constants\":\"constant.language\",\"@nameBuiltin\":\"variable.language\",\"_.*\":\"comment.unused\",\"@default\":\"identifier\"}}],[/@moduleName/,\"type.identifier\"]],strings:[[/\"\"\"/,{token:\"string.delimiter\",next:\"@doubleQuotedHeredoc\"}],[/'''/,{token:\"string.delimiter\",next:\"@singleQuotedHeredoc\"}],[/\"/,{token:\"string.delimiter\",next:\"@doubleQuotedString\"}],[/'/,{token:\"string.delimiter\",next:\"@singleQuotedString\"}]],doubleQuotedHeredoc:[[/\"\"\"/,{token:\"string.delimiter\",next:\"@pop\"}],{include:\"@stringContentInterpol\"}],singleQuotedHeredoc:[[/'''/,{token:\"string.delimiter\",next:\"@pop\"}],{include:\"@stringContentInterpol\"}],doubleQuotedString:[[/\"/,{token:\"string.delimiter\",next:\"@pop\"}],{include:\"@stringContentInterpol\"}],singleQuotedString:[[/'/,{token:\"string.delimiter\",next:\"@pop\"}],{include:\"@stringContentInterpol\"}],atoms:[[/(:)(@atomName)/,[\"constant.punctuation\",\"constant\"]],[/:\"/,{token:\"constant.delimiter\",next:\"@doubleQuotedStringAtom\"}],[/:'/,{token:\"constant.delimiter\",next:\"@singleQuotedStringAtom\"}]],doubleQuotedStringAtom:[[/\"/,{token:\"constant.delimiter\",next:\"@pop\"}],{include:\"@stringConstantContentInterpol\"}],singleQuotedStringAtom:[[/'/,{token:\"constant.delimiter\",next:\"@pop\"}],{include:\"@stringConstantContentInterpol\"}],sigils:[[/~[a-z]@sigilStartDelimiter/,{token:\"@rematch\",next:\"@sigil.interpol\"}],[/~[A-Z]@sigilStartDelimiter/,{token:\"@rematch\",next:\"@sigil.noInterpol\"}]],sigil:[[/~([a-zA-Z])\\{/,{token:\"@rematch\",switchTo:\"@sigilStart.$S2.$1.{.}\"}],[/~([a-zA-Z])\\[/,{token:\"@rematch\",switchTo:\"@sigilStart.$S2.$1.[.]\"}],[/~([a-zA-Z])\\(/,{token:\"@rematch\",switchTo:\"@sigilStart.$S2.$1.(.)\"}],[/~([a-zA-Z])\\</,{token:\"@rematch\",switchTo:\"@sigilStart.$S2.$1.<.>\"}],[/~([a-zA-Z])(@sigilSymmetricDelimiter)/,{token:\"@rematch\",switchTo:\"@sigilStart.$S2.$1.$2.$2\"}]],\"sigilStart.interpol.s\":[[/~s@sigilStartDelimiter/,{token:\"string.delimiter\",switchTo:\"@sigilContinue.$S2.$S3.$S4.$S5\"}]],\"sigilContinue.interpol.s\":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{\"$1==$S5\":{token:\"string.delimiter\",next:\"@pop\"},\"@default\":\"string\"}}],{include:\"@stringContentInterpol\"}],\"sigilStart.noInterpol.S\":[[/~S@sigilStartDelimiter/,{token:\"string.delimiter\",switchTo:\"@sigilContinue.$S2.$S3.$S4.$S5\"}]],\"sigilContinue.noInterpol.S\":[[/(^|[^\\\\])\\\\@sigilEndDelimiter/,\"string\"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{\"$1==$S5\":{token:\"string.delimiter\",next:\"@pop\"},\"@default\":\"string\"}}],{include:\"@stringContent\"}],\"sigilStart.interpol.r\":[[/~r@sigilStartDelimiter/,{token:\"regexp.delimiter\",switchTo:\"@sigilContinue.$S2.$S3.$S4.$S5\"}]],\"sigilContinue.interpol.r\":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{\"$1==$S5\":{token:\"regexp.delimiter\",next:\"@pop\"},\"@default\":\"regexp\"}}],{include:\"@regexpContentInterpol\"}],\"sigilStart.noInterpol.R\":[[/~R@sigilStartDelimiter/,{token:\"regexp.delimiter\",switchTo:\"@sigilContinue.$S2.$S3.$S4.$S5\"}]],\"sigilContinue.noInterpol.R\":[[/(^|[^\\\\])\\\\@sigilEndDelimiter/,\"regexp\"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{\"$1==$S5\":{token:\"regexp.delimiter\",next:\"@pop\"},\"@default\":\"regexp\"}}],{include:\"@regexpContent\"}],\"sigilStart.interpol\":[[/~([a-zA-Z])@sigilStartDelimiter/,{token:\"sigil.delimiter\",switchTo:\"@sigilContinue.$S2.$S3.$S4.$S5\"}]],\"sigilContinue.interpol\":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{\"$1==$S5\":{token:\"sigil.delimiter\",next:\"@pop\"},\"@default\":\"sigil\"}}],{include:\"@sigilContentInterpol\"}],\"sigilStart.noInterpol\":[[/~([a-zA-Z])@sigilStartDelimiter/,{token:\"sigil.delimiter\",switchTo:\"@sigilContinue.$S2.$S3.$S4.$S5\"}]],\"sigilContinue.noInterpol\":[[/(^|[^\\\\])\\\\@sigilEndDelimiter/,\"sigil\"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{\"$1==$S5\":{token:\"sigil.delimiter\",next:\"@pop\"},\"@default\":\"sigil\"}}],{include:\"@sigilContent\"}],attributes:[[/\\@(module|type)?doc (~[sS])?\"\"\"/,{token:\"comment.block.documentation\",next:\"@doubleQuotedHeredocDocstring\"}],[/\\@(module|type)?doc (~[sS])?\"/,{token:\"comment.block.documentation\",next:\"@doubleQuotedStringDocstring\"}],[/\\@(module|type)?doc false/,\"comment.block.documentation\"],[/\\@(@variableName)/,\"variable\"]],doubleQuotedHeredocDocstring:[[/\"\"\"/,{token:\"comment.block.documentation\",next:\"@pop\"}],{include:\"@docstringContent\"}],doubleQuotedStringDocstring:[[/\"/,{token:\"comment.block.documentation\",next:\"@pop\"}],{include:\"@docstringContent\"}],symbols:[[/\\?(\\\\.|[^\\\\\\s])/,\"number.constant\"],[/&\\d+/,\"operator\"],[/<<<|>>>/,\"operator\"],[/[()\\[\\]\\{\\}]|<<|>>/,\"@brackets\"],[/\\.\\.\\./,\"identifier\"],[/=>/,\"punctuation\"],[/@operator/,\"operator\"],[/[:;,.%]/,\"punctuation\"]],stringContentInterpol:[{include:\"@interpolation\"},{include:\"@escapeChar\"},{include:\"@stringContent\"}],stringContent:[[/./,\"string\"]],stringConstantContentInterpol:[{include:\"@interpolation\"},{include:\"@escapeChar\"},{include:\"@stringConstantContent\"}],stringConstantContent:[[/./,\"constant\"]],regexpContentInterpol:[{include:\"@interpolation\"},{include:\"@escapeChar\"},{include:\"@regexpContent\"}],regexpContent:[[/(\\s)(#)(\\s.*)$/,[\"white\",\"comment.punctuation\",\"comment\"]],[/./,\"regexp\"]],sigilContentInterpol:[{include:\"@interpolation\"},{include:\"@escapeChar\"},{include:\"@sigilContent\"}],sigilContent:[[/./,\"sigil\"]],docstringContent:[[/./,\"comment.block.documentation\"]],escapeChar:[[/@escape/,\"constant.character.escape\"]],interpolation:[[/#{/,{token:\"delimiter.bracket.embed\",next:\"@interpolationContinue\"}]],interpolationContinue:[[/}/,{token:\"delimiter.bracket.embed\",next:\"@pop\"}],{include:\"@root\"}]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/flow9.2c0e9b6f.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{blockComment:[\"/*\",\"*/\"],lineComment:\"//\"},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\",notIn:[\"string\"]},{open:\"[\",close:\"]\",notIn:[\"string\"]},{open:\"(\",close:\")\",notIn:[\"string\"]},{open:'\"',close:'\"',notIn:[\"string\"]},{open:\"'\",close:\"'\",notIn:[\"string\"]}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"},{open:\"<\",close:\">\"}]},o={defaultToken:\"\",tokenPostfix:\".flow\",keywords:[\"import\",\"require\",\"export\",\"forbid\",\"native\",\"if\",\"else\",\"cast\",\"unsafe\",\"switch\",\"default\"],types:[\"io\",\"mutable\",\"bool\",\"int\",\"double\",\"string\",\"flow\",\"void\",\"ref\",\"true\",\"false\",\"with\"],operators:[\"=\",\">\",\"<\",\"<=\",\">=\",\"==\",\"!\",\"!=\",\":=\",\"::=\",\"&&\",\"||\",\"+\",\"-\",\"*\",\"/\",\"@\",\"&\",\"%\",\":\",\"->\",\"\\\\\",\"$\",\"??\",\"^\"],symbols:/[@$=><!~?:&|+\\-*\\\\\\/\\^%]+/,escapes:/\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\\w*/,{cases:{\"@keywords\":\"keyword\",\"@types\":\"type\",\"@default\":\"identifier\"}}],{include:\"@whitespace\"},[/[{}()\\[\\]]/,\"delimiter\"],[/[<>](?!@symbols)/,\"delimiter\"],[/@symbols/,{cases:{\"@operators\":\"delimiter\",\"@default\":\"\"}}],[/((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)/,\"number\"],[/[;,.]/,\"delimiter\"],[/\"([^\"\\\\]|\\\\.)*$/,\"string.invalid\"],[/\"/,\"string\",\"@string\"]],whitespace:[[/[ \\t\\r\\n]+/,\"\"],[/\\/\\*/,\"comment\",\"@comment\"],[/\\/\\/.*$/,\"comment\"]],comment:[[/[^\\/*]+/,\"comment\"],[/\\*\\//,\"comment\",\"@pop\"],[/[\\/*]/,\"comment\"]],string:[[/[^\\\\\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"/,\"string\",\"@pop\"]]}};export{e as conf,o as language};\n"
  },
  {
    "path": "client/dist/assets/freemarker2.355133f8.js",
    "content": "import{m as f}from\"./HMonacoEditor.4fbcd301.js\";import\"./index.becaf6b8.js\";/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var F=Object.defineProperty,b=Object.getOwnPropertyDescriptor,x=Object.getOwnPropertyNames,$=Object.prototype.hasOwnProperty,v=(t,n,_,e)=>{if(n&&typeof n==\"object\"||typeof n==\"function\")for(let o of x(n))!$.call(t,o)&&(_||o!==\"default\")&&F(t,o,{get:()=>n[o],enumerable:!(e=b(n,o))||e.enumerable});return t},r={};v(r,f);var s=[\"assign\",\"flush\",\"ftl\",\"return\",\"global\",\"import\",\"include\",\"break\",\"continue\",\"local\",\"nested\",\"nt\",\"setting\",\"stop\",\"t\",\"lt\",\"rt\",\"fallback\"],d=[\"attempt\",\"autoesc\",\"autoEsc\",\"compress\",\"comment\",\"escape\",\"noescape\",\"function\",\"if\",\"list\",\"items\",\"sep\",\"macro\",\"noparse\",\"noParse\",\"noautoesc\",\"noAutoEsc\",\"outputformat\",\"switch\",\"visit\",\"recurse\"],a={close:\">\",id:\"angle\",open:\"<\"},u={close:\"\\\\]\",id:\"bracket\",open:\"\\\\[\"},E={close:\"[>\\\\]]\",id:\"auto\",open:\"[<\\\\[]\"},k={close:\"\\\\}\",id:\"dollar\",open1:\"\\\\$\",open2:\"\\\\{\"},p={close:\"\\\\]\",id:\"bracket\",open1:\"\\\\[\",open2:\"=\"};function l(t){return{brackets:[[\"<\",\">\"],[\"[\",\"]\"],[\"(\",\")\"],[\"{\",\"}\"]],comments:{blockComment:[`${t.open}--`,`--${t.close}`]},autoCloseBefore:`\n\\r\t }]),.:;=`,autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"',notIn:[\"string\"]},{open:\"'\",close:\"'\",notIn:[\"string\"]}],surroundingPairs:[{open:'\"',close:'\"'},{open:\"'\",close:\"'\"},{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"<\",close:\">\"}],folding:{markers:{start:new RegExp(`${t.open}#(?:${d.join(\"|\")})([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),end:new RegExp(`${t.open}/#(?:${d.join(\"|\")})[\\\\r\\\\n\\\\t ]*>`)}},onEnterRules:[{beforeText:new RegExp(`${t.open}#(?!(?:${s.join(\"|\")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),afterText:new RegExp(`^${t.open}/#([a-zA-Z_]+)[\\\\r\\\\n\\\\t ]*${t.close}$`),action:{indentAction:r.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`${t.open}#(?!(?:${s.join(\"|\")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),action:{indentAction:r.languages.IndentAction.Indent}}]}}function g(){return{brackets:[[\"<\",\">\"],[\"[\",\"]\"],[\"(\",\")\"],[\"{\",\"}\"]],autoCloseBefore:`\n\\r\t }]),.:;=`,autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"',notIn:[\"string\"]},{open:\"'\",close:\"'\",notIn:[\"string\"]}],surroundingPairs:[{open:'\"',close:'\"'},{open:\"'\",close:\"'\"},{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"<\",close:\">\"}],folding:{markers:{start:new RegExp(`[<\\\\[]#(?:${d.join(\"|\")})([^/>\\\\]]*(?!/)[>\\\\]])[^<\\\\[]*$`),end:new RegExp(`[<\\\\[]/#(?:${d.join(\"|\")})[\\\\r\\\\n\\\\t ]*>`)}},onEnterRules:[{beforeText:new RegExp(`[<\\\\[]#(?!(?:${s.join(\"|\")}))([a-zA-Z_]+)([^/>\\\\]]*(?!/)[>\\\\]])[^[<\\\\[]]*$`),afterText:new RegExp(\"^[<\\\\[]/#([a-zA-Z_]+)[\\\\r\\\\n\\\\t ]*[>\\\\]]$\"),action:{indentAction:r.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`[<\\\\[]#(?!(?:${s.join(\"|\")}))([a-zA-Z_]+)([^/>\\\\]]*(?!/)[>\\\\]])[^[<\\\\[]]*$`),action:{indentAction:r.languages.IndentAction.Indent}}]}}function i(t,n){const _=`_${t.id}_${n.id}`,e=c=>c.replace(/__id__/g,_),o=c=>{const m=c.source.replace(/__id__/g,_);return new RegExp(m,c.flags)};return{unicode:!0,includeLF:!1,start:e(\"default__id__\"),ignoreCase:!1,defaultToken:\"invalid\",tokenPostfix:\".freemarker2\",brackets:[{open:\"{\",close:\"}\",token:\"delimiter.curly\"},{open:\"[\",close:\"]\",token:\"delimiter.square\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"},{open:\"<\",close:\">\",token:\"delimiter.angle\"}],[e(\"open__id__\")]:new RegExp(t.open),[e(\"close__id__\")]:new RegExp(t.close),[e(\"iOpen1__id__\")]:new RegExp(n.open1),[e(\"iOpen2__id__\")]:new RegExp(n.open2),[e(\"iClose__id__\")]:new RegExp(n.close),[e(\"startTag__id__\")]:o(/(@open__id__)(#)/),[e(\"endTag__id__\")]:o(/(@open__id__)(\\/#)/),[e(\"startOrEndTag__id__\")]:o(/(@open__id__)(\\/?#)/),[e(\"closeTag1__id__\")]:o(/((?:@blank)*)(@close__id__)/),[e(\"closeTag2__id__\")]:o(/((?:@blank)*\\/?)(@close__id__)/),blank:/[ \\t\\n\\r]/,keywords:[\"false\",\"true\",\"in\",\"as\",\"using\"],directiveStartCloseTag1:/attempt|recover|sep|auto[eE]sc|no(?:autoe|AutoE)sc|compress|default|no[eE]scape|comment|no[pP]arse/,directiveStartCloseTag2:/else|break|continue|return|stop|flush|t|lt|rt|nt|nested|recurse|fallback|ftl/,directiveStartBlank:/if|else[iI]f|list|for[eE]ach|switch|case|assign|global|local|include|import|function|macro|transform|visit|stop|return|call|setting|output[fF]ormat|nested|recurse|escape|ftl|items/,directiveEndCloseTag1:/if|list|items|sep|recover|attempt|for[eE]ach|local|global|assign|function|macro|output[fF]ormat|auto[eE]sc|no(?:autoe|AutoE)sc|compress|transform|switch|escape|no[eE]scape/,escapedChar:/\\\\(?:[ntrfbgla\\\\'\"\\{=]|(?:x[0-9A-Fa-f]{1,4}))/,asciiDigit:/[0-9]/,integer:/[0-9]+/,nonEscapedIdStartChar:/[\\$@-Z_a-z\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u1FFF\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183-\\u2184\\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-\\u3006\\u3031-\\u3035\\u303B-\\u303C\\u3040-\\u318F\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3300-\\u337F\\u3400-\\u4DB5\\u4E00-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66E\\uA67F-\\uA697\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA793\\uA7A0-\\uA7AA\\uA7F8-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8D0-\\uA8D9\\uA8F2-\\uA8F7\\uA8FB\\uA900-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF-\\uA9D9\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A\\uAA80-\\uAAAF\\uAAB1\\uAAB5-\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uABC0-\\uABE2\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\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]/,escapedIdChar:/\\\\[\\-\\.:#]/,idStartChar:/(?:@nonEscapedIdStartChar)|(?:@escapedIdChar)/,id:/(?:@idStartChar)(?:(?:@idStartChar)|(?:@asciiDigit))*/,specialHashKeys:/\\*\\*|\\*|false|true|in|as|using/,namedSymbols:/&lt;=|&gt;=|\\\\lte|\\\\lt|&lt;|\\\\gte|\\\\gt|&gt;|&amp;&amp;|\\\\and|-&gt;|->|==|!=|\\+=|-=|\\*=|\\/=|%=|\\+\\+|--|<=|&&|\\|\\||:|\\.\\.\\.|\\.\\.\\*|\\.\\.<|\\.\\.!|\\?\\?|=|<|\\+|-|\\*|\\/|%|\\||\\.\\.|\\?|!|&|\\.|,|;/,arrows:[\"->\",\"-&gt;\"],delimiters:[\";\",\":\",\",\",\".\"],stringOperators:[\"lte\",\"lt\",\"gte\",\"gt\"],noParseTags:[\"noparse\",\"noParse\",\"comment\"],tokenizer:{[e(\"default__id__\")]:[{include:e(\"@directive_token__id__\")},{include:e(\"@interpolation_and_text_token__id__\")}],[e(\"fmExpression__id__.directive\")]:[{include:e(\"@blank_and_expression_comment_token__id__\")},{include:e(\"@directive_end_token__id__\")},{include:e(\"@expression_token__id__\")}],[e(\"fmExpression__id__.interpolation\")]:[{include:e(\"@blank_and_expression_comment_token__id__\")},{include:e(\"@expression_token__id__\")},{include:e(\"@greater_operators_token__id__\")}],[e(\"inParen__id__.plain\")]:[{include:e(\"@blank_and_expression_comment_token__id__\")},{include:e(\"@directive_end_token__id__\")},{include:e(\"@expression_token__id__\")}],[e(\"inParen__id__.gt\")]:[{include:e(\"@blank_and_expression_comment_token__id__\")},{include:e(\"@expression_token__id__\")},{include:e(\"@greater_operators_token__id__\")}],[e(\"noSpaceExpression__id__\")]:[{include:e(\"@no_space_expression_end_token__id__\")},{include:e(\"@directive_end_token__id__\")},{include:e(\"@expression_token__id__\")}],[e(\"unifiedCall__id__\")]:[{include:e(\"@unified_call_token__id__\")}],[e(\"singleString__id__\")]:[{include:e(\"@string_single_token__id__\")}],[e(\"doubleString__id__\")]:[{include:e(\"@string_double_token__id__\")}],[e(\"rawSingleString__id__\")]:[{include:e(\"@string_single_raw_token__id__\")}],[e(\"rawDoubleString__id__\")]:[{include:e(\"@string_double_raw_token__id__\")}],[e(\"expressionComment__id__\")]:[{include:e(\"@expression_comment_token__id__\")}],[e(\"noParse__id__\")]:[{include:e(\"@no_parse_token__id__\")}],[e(\"terseComment__id__\")]:[{include:e(\"@terse_comment_token__id__\")}],[e(\"directive_token__id__\")]:[[o(/(?:@startTag__id__)(@directiveStartCloseTag1)(?:@closeTag1__id__)/),t.id===\"auto\"?{cases:{\"$1==<\":{token:\"@rematch\",switchTo:`@default_angle_${n.id}`},\"$1==[\":{token:\"@rematch\",switchTo:`@default_bracket_${n.id}`}}}:[{token:\"@brackets.directive\"},{token:\"delimiter.directive\"},{cases:{\"@noParseTags\":{token:\"tag\",next:e(\"@noParse__id__.$3\")},\"@default\":{token:\"tag\"}}},{token:\"delimiter.directive\"},{token:\"@brackets.directive\"}]],[o(/(?:@startTag__id__)(@directiveStartCloseTag2)(?:@closeTag2__id__)/),t.id===\"auto\"?{cases:{\"$1==<\":{token:\"@rematch\",switchTo:`@default_angle_${n.id}`},\"$1==[\":{token:\"@rematch\",switchTo:`@default_bracket_${n.id}`}}}:[{token:\"@brackets.directive\"},{token:\"delimiter.directive\"},{token:\"tag\"},{token:\"delimiter.directive\"},{token:\"@brackets.directive\"}]],[o(/(?:@startTag__id__)(@directiveStartBlank)(@blank)/),t.id===\"auto\"?{cases:{\"$1==<\":{token:\"@rematch\",switchTo:`@default_angle_${n.id}`},\"$1==[\":{token:\"@rematch\",switchTo:`@default_bracket_${n.id}`}}}:[{token:\"@brackets.directive\"},{token:\"delimiter.directive\"},{token:\"tag\"},{token:\"\",next:e(\"@fmExpression__id__.directive\")}]],[o(/(?:@endTag__id__)(@directiveEndCloseTag1)(?:@closeTag1__id__)/),t.id===\"auto\"?{cases:{\"$1==<\":{token:\"@rematch\",switchTo:`@default_angle_${n.id}`},\"$1==[\":{token:\"@rematch\",switchTo:`@default_bracket_${n.id}`}}}:[{token:\"@brackets.directive\"},{token:\"delimiter.directive\"},{token:\"tag\"},{token:\"delimiter.directive\"},{token:\"@brackets.directive\"}]],[o(/(@open__id__)(@)/),t.id===\"auto\"?{cases:{\"$1==<\":{token:\"@rematch\",switchTo:`@default_angle_${n.id}`},\"$1==[\":{token:\"@rematch\",switchTo:`@default_bracket_${n.id}`}}}:[{token:\"@brackets.directive\"},{token:\"delimiter.directive\",next:e(\"@unifiedCall__id__\")}]],[o(/(@open__id__)(\\/@)((?:(?:@id)(?:\\.(?:@id))*)?)(?:@closeTag1__id__)/),[{token:\"@brackets.directive\"},{token:\"delimiter.directive\"},{token:\"tag\"},{token:\"delimiter.directive\"},{token:\"@brackets.directive\"}]],[o(/(@open__id__)#--/),t.id===\"auto\"?{cases:{\"$1==<\":{token:\"@rematch\",switchTo:`@default_angle_${n.id}`},\"$1==[\":{token:\"@rematch\",switchTo:`@default_bracket_${n.id}`}}}:{token:\"comment\",next:e(\"@terseComment__id__\")}],[o(/(?:@startOrEndTag__id__)([a-zA-Z_]+)/),t.id===\"auto\"?{cases:{\"$1==<\":{token:\"@rematch\",switchTo:`@default_angle_${n.id}`},\"$1==[\":{token:\"@rematch\",switchTo:`@default_bracket_${n.id}`}}}:[{token:\"@brackets.directive\"},{token:\"delimiter.directive\"},{token:\"tag.invalid\",next:e(\"@fmExpression__id__.directive\")}]]],[e(\"interpolation_and_text_token__id__\")]:[[o(/(@iOpen1__id__)(@iOpen2__id__)/),[{token:n.id===\"bracket\"?\"@brackets.interpolation\":\"delimiter.interpolation\"},{token:n.id===\"bracket\"?\"delimiter.interpolation\":\"@brackets.interpolation\",next:e(\"@fmExpression__id__.interpolation\")}]],[/[\\$#<\\[\\{]|(?:@blank)+|[^\\$<#\\[\\{\\n\\r\\t ]+/,{token:\"source\"}]],[e(\"string_single_token__id__\")]:[[/[^'\\\\]/,{token:\"string\"}],[/@escapedChar/,{token:\"string.escape\"}],[/'/,{token:\"string\",next:\"@pop\"}]],[e(\"string_double_token__id__\")]:[[/[^\"\\\\]/,{token:\"string\"}],[/@escapedChar/,{token:\"string.escape\"}],[/\"/,{token:\"string\",next:\"@pop\"}]],[e(\"string_single_raw_token__id__\")]:[[/[^']+/,{token:\"string.raw\"}],[/'/,{token:\"string.raw\",next:\"@pop\"}]],[e(\"string_double_raw_token__id__\")]:[[/[^\"]+/,{token:\"string.raw\"}],[/\"/,{token:\"string.raw\",next:\"@pop\"}]],[e(\"expression_token__id__\")]:[[/(r?)(['\"])/,{cases:{\"r'\":[{token:\"keyword\"},{token:\"string.raw\",next:e(\"@rawSingleString__id__\")}],'r\"':[{token:\"keyword\"},{token:\"string.raw\",next:e(\"@rawDoubleString__id__\")}],\"'\":[{token:\"source\"},{token:\"string\",next:e(\"@singleString__id__\")}],'\"':[{token:\"source\"},{token:\"string\",next:e(\"@doubleString__id__\")}]}}],[/(?:@integer)(?:\\.(?:@integer))?/,{cases:{\"(?:@integer)\":{token:\"number\"},\"@default\":{token:\"number.float\"}}}],[/(\\.)(@blank*)(@specialHashKeys)/,[{token:\"delimiter\"},{token:\"\"},{token:\"identifier\"}]],[/(?:@namedSymbols)/,{cases:{\"@arrows\":{token:\"meta.arrow\"},\"@delimiters\":{token:\"delimiter\"},\"@default\":{token:\"operators\"}}}],[/@id/,{cases:{\"@keywords\":{token:\"keyword.$0\"},\"@stringOperators\":{token:\"operators\"},\"@default\":{token:\"identifier\"}}}],[/[\\[\\]\\(\\)\\{\\}]/,{cases:{\"\\\\[\":{cases:{\"$S2==gt\":{token:\"@brackets\",next:e(\"@inParen__id__.gt\")},\"@default\":{token:\"@brackets\",next:e(\"@inParen__id__.plain\")}}},\"\\\\]\":{cases:{...n.id===\"bracket\"?{\"$S2==interpolation\":{token:\"@brackets.interpolation\",next:\"@popall\"}}:{},...t.id===\"bracket\"?{\"$S2==directive\":{token:\"@brackets.directive\",next:\"@popall\"}}:{},[e(\"$S1==inParen__id__\")]:{token:\"@brackets\",next:\"@pop\"},\"@default\":{token:\"@brackets\"}}},\"\\\\(\":{token:\"@brackets\",next:e(\"@inParen__id__.gt\")},\"\\\\)\":{cases:{[e(\"$S1==inParen__id__\")]:{token:\"@brackets\",next:\"@pop\"},\"@default\":{token:\"@brackets\"}}},\"\\\\{\":{cases:{\"$S2==gt\":{token:\"@brackets\",next:e(\"@inParen__id__.gt\")},\"@default\":{token:\"@brackets\",next:e(\"@inParen__id__.plain\")}}},\"\\\\}\":{cases:{...n.id===\"bracket\"?{}:{\"$S2==interpolation\":{token:\"@brackets.interpolation\",next:\"@popall\"}},[e(\"$S1==inParen__id__\")]:{token:\"@brackets\",next:\"@pop\"},\"@default\":{token:\"@brackets\"}}}}}],[/\\$\\{/,{token:\"delimiter.invalid\"}]],[e(\"blank_and_expression_comment_token__id__\")]:[[/(?:@blank)+/,{token:\"\"}],[/[<\\[][#!]--/,{token:\"comment\",next:e(\"@expressionComment__id__\")}]],[e(\"directive_end_token__id__\")]:[[/>/,t.id===\"bracket\"?{token:\"operators\"}:{token:\"@brackets.directive\",next:\"@popall\"}],[o(/(\\/)(@close__id__)/),[{token:\"delimiter.directive\"},{token:\"@brackets.directive\",next:\"@popall\"}]]],[e(\"greater_operators_token__id__\")]:[[/>/,{token:\"operators\"}],[/>=/,{token:\"operators\"}]],[e(\"no_space_expression_end_token__id__\")]:[[/(?:@blank)+/,{token:\"\",switchTo:e(\"@fmExpression__id__.directive\")}]],[e(\"unified_call_token__id__\")]:[[/(@id)((?:@blank)+)/,[{token:\"tag\"},{token:\"\",next:e(\"@fmExpression__id__.directive\")}]],[o(/(@id)(\\/?)(@close__id__)/),[{token:\"tag\"},{token:\"delimiter.directive\"},{token:\"@brackets.directive\",next:\"@popall\"}]],[/./,{token:\"@rematch\",next:e(\"@noSpaceExpression__id__\")}]],[e(\"no_parse_token__id__\")]:[[o(/(@open__id__)(\\/#?)([a-zA-Z]+)((?:@blank)*)(@close__id__)/),{cases:{\"$S2==$3\":[{token:\"@brackets.directive\"},{token:\"delimiter.directive\"},{token:\"tag\"},{token:\"\"},{token:\"@brackets.directive\",next:\"@popall\"}],\"$S2==comment\":[{token:\"comment\"},{token:\"comment\"},{token:\"comment\"},{token:\"comment\"},{token:\"comment\"}],\"@default\":[{token:\"source\"},{token:\"source\"},{token:\"source\"},{token:\"source\"},{token:\"source\"}]}}],[/[^<\\[\\-]+|[<\\[\\-]/,{cases:{\"$S2==comment\":{token:\"comment\"},\"@default\":{token:\"source\"}}}]],[e(\"expression_comment_token__id__\")]:[[/--[>\\]]/,{token:\"comment\",next:\"@pop\"}],[/[^\\->\\]]+|[>\\]\\-]/,{token:\"comment\"}]],[e(\"terse_comment_token__id__\")]:[[o(/--(?:@close__id__)/),{token:\"comment\",next:\"@popall\"}],[/[^<\\[\\-]+|[<\\[\\-]/,{token:\"comment\"}]]}}}function A(t){const n=i(a,t),_=i(u,t),e=i(E,t);return{...n,..._,...e,unicode:!0,includeLF:!1,start:`default_auto_${t.id}`,ignoreCase:!1,defaultToken:\"invalid\",tokenPostfix:\".freemarker2\",brackets:[{open:\"{\",close:\"}\",token:\"delimiter.curly\"},{open:\"[\",close:\"]\",token:\"delimiter.square\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"},{open:\"<\",close:\">\",token:\"delimiter.angle\"}],tokenizer:{...n.tokenizer,..._.tokenizer,...e.tokenizer}}}var C={conf:l(a),language:i(a,k)},w={conf:l(u),language:i(u,k)},T={conf:l(a),language:i(a,p)},h={conf:l(u),language:i(u,p)},S={conf:g(),language:A(k)},P={conf:g(),language:A(p)};export{T as TagAngleInterpolationBracket,C as TagAngleInterpolationDollar,P as TagAutoInterpolationBracket,S as TagAutoInterpolationDollar,h as TagBracketInterpolationBracket,w as TagBracketInterpolationDollar};\n"
  },
  {
    "path": "client/dist/assets/fsharp.da385d01.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"//\",blockComment:[\"(*\",\"*)\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],folding:{markers:{start:new RegExp(\"^\\\\s*//\\\\s*#region\\\\b|^\\\\s*\\\\(\\\\*\\\\s*#region(.*)\\\\*\\\\)\"),end:new RegExp(\"^\\\\s*//\\\\s*#endregion\\\\b|^\\\\s*\\\\(\\\\*\\\\s*#endregion\\\\s*\\\\*\\\\)\")}}},n={defaultToken:\"\",tokenPostfix:\".fs\",keywords:[\"abstract\",\"and\",\"atomic\",\"as\",\"assert\",\"asr\",\"base\",\"begin\",\"break\",\"checked\",\"component\",\"const\",\"constraint\",\"constructor\",\"continue\",\"class\",\"default\",\"delegate\",\"do\",\"done\",\"downcast\",\"downto\",\"elif\",\"else\",\"end\",\"exception\",\"eager\",\"event\",\"external\",\"extern\",\"false\",\"finally\",\"for\",\"fun\",\"function\",\"fixed\",\"functor\",\"global\",\"if\",\"in\",\"include\",\"inherit\",\"inline\",\"interface\",\"internal\",\"land\",\"lor\",\"lsl\",\"lsr\",\"lxor\",\"lazy\",\"let\",\"match\",\"member\",\"mod\",\"module\",\"mutable\",\"namespace\",\"method\",\"mixin\",\"new\",\"not\",\"null\",\"of\",\"open\",\"or\",\"object\",\"override\",\"private\",\"parallel\",\"process\",\"protected\",\"pure\",\"public\",\"rec\",\"return\",\"static\",\"sealed\",\"struct\",\"sig\",\"then\",\"to\",\"true\",\"tailcall\",\"trait\",\"try\",\"type\",\"upcast\",\"use\",\"val\",\"void\",\"virtual\",\"volatile\",\"when\",\"while\",\"with\",\"yield\"],symbols:/[=><!~?:&|+\\-*\\^%;\\.,\\/]+/,escapes:/\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/[uU]?[yslnLI]?/,floatsuffix:/[fFmM]?/,tokenizer:{root:[[/[a-zA-Z_]\\w*/,{cases:{\"@keywords\":{token:\"keyword.$0\"},\"@default\":\"identifier\"}}],{include:\"@whitespace\"},[/\\[<.*>\\]/,\"annotation\"],[/^#(if|else|endif)/,\"keyword\"],[/[{}()\\[\\]]/,\"@brackets\"],[/[<>](?!@symbols)/,\"@brackets\"],[/@symbols/,\"delimiter\"],[/\\d*\\d+[eE]([\\-+]?\\d+)?(@floatsuffix)/,\"number.float\"],[/\\d*\\.\\d+([eE][\\-+]?\\d+)?(@floatsuffix)/,\"number.float\"],[/0x[0-9a-fA-F]+LF/,\"number.float\"],[/0x[0-9a-fA-F]+(@integersuffix)/,\"number.hex\"],[/0b[0-1]+(@integersuffix)/,\"number.bin\"],[/\\d+(@integersuffix)/,\"number\"],[/[;,.]/,\"delimiter\"],[/\"([^\"\\\\]|\\\\.)*$/,\"string.invalid\"],[/\"\"\"/,\"string\",'@string.\"\"\"'],[/\"/,\"string\",'@string.\"'],[/\\@\"/,{token:\"string.quote\",next:\"@litstring\"}],[/'[^\\\\']'B?/,\"string\"],[/(')(@escapes)(')/,[\"string\",\"string.escape\",\"string\"]],[/'/,\"string.invalid\"]],whitespace:[[/[ \\t\\r\\n]+/,\"\"],[/\\(\\*(?!\\))/,\"comment\",\"@comment\"],[/\\/\\/.*$/,\"comment\"]],comment:[[/[^*(]+/,\"comment\"],[/\\*\\)/,\"comment\",\"@pop\"],[/\\*/,\"comment\"],[/\\(\\*\\)/,\"comment\"],[/\\(/,\"comment\"]],string:[[/[^\\\\\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/(\"\"\"|\"B?)/,{cases:{\"$#==$S2\":{token:\"string\",next:\"@pop\"},\"@default\":\"string\"}}]],litstring:[[/[^\"]+/,\"string\"],[/\"\"/,\"string.escape\"],[/\"/,{token:\"string.quote\",next:\"@pop\"}]]}};export{e as conf,n as language};\n"
  },
  {
    "path": "client/dist/assets/go.b5c8acf0.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"//\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"`\",close:\"`\",notIn:[\"string\"]},{open:'\"',close:'\"',notIn:[\"string\"]},{open:\"'\",close:\"'\",notIn:[\"string\",\"comment\"]}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"`\",close:\"`\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}]},n={defaultToken:\"\",tokenPostfix:\".go\",keywords:[\"break\",\"case\",\"chan\",\"const\",\"continue\",\"default\",\"defer\",\"else\",\"fallthrough\",\"for\",\"func\",\"go\",\"goto\",\"if\",\"import\",\"interface\",\"map\",\"package\",\"range\",\"return\",\"select\",\"struct\",\"switch\",\"type\",\"var\",\"bool\",\"true\",\"false\",\"uint8\",\"uint16\",\"uint32\",\"uint64\",\"int8\",\"int16\",\"int32\",\"int64\",\"float32\",\"float64\",\"complex64\",\"complex128\",\"byte\",\"rune\",\"uint\",\"int\",\"uintptr\",\"string\",\"nil\"],operators:[\"+\",\"-\",\"*\",\"/\",\"%\",\"&\",\"|\",\"^\",\"<<\",\">>\",\"&^\",\"+=\",\"-=\",\"*=\",\"/=\",\"%=\",\"&=\",\"|=\",\"^=\",\"<<=\",\">>=\",\"&^=\",\"&&\",\"||\",\"<-\",\"++\",\"--\",\"==\",\"<\",\">\",\"=\",\"!\",\"!=\",\"<=\",\">=\",\":=\",\"...\",\"(\",\")\",\"\",\"]\",\"{\",\"}\",\",\",\";\",\".\",\":\"],symbols:/[=><!~?:&|+\\-*\\/\\^%]+/,escapes:/\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\\w*/,{cases:{\"@keywords\":{token:\"keyword.$0\"},\"@default\":\"identifier\"}}],{include:\"@whitespace\"},[/\\[\\[.*\\]\\]/,\"annotation\"],[/^\\s*#\\w+/,\"keyword\"],[/[{}()\\[\\]]/,\"@brackets\"],[/[<>](?!@symbols)/,\"@brackets\"],[/@symbols/,{cases:{\"@operators\":\"delimiter\",\"@default\":\"\"}}],[/\\d*\\d+[eE]([\\-+]?\\d+)?/,\"number.float\"],[/\\d*\\.\\d+([eE][\\-+]?\\d+)?/,\"number.float\"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,\"number.hex\"],[/0[0-7']*[0-7]/,\"number.octal\"],[/0[bB][0-1']*[0-1]/,\"number.binary\"],[/\\d[\\d']*/,\"number\"],[/\\d/,\"number\"],[/[;,.]/,\"delimiter\"],[/\"([^\"\\\\]|\\\\.)*$/,\"string.invalid\"],[/\"/,\"string\",\"@string\"],[/`/,\"string\",\"@rawstring\"],[/'[^\\\\']'/,\"string\"],[/(')(@escapes)(')/,[\"string\",\"string.escape\",\"string\"]],[/'/,\"string.invalid\"]],whitespace:[[/[ \\t\\r\\n]+/,\"\"],[/\\/\\*\\*(?!\\/)/,\"comment.doc\",\"@doccomment\"],[/\\/\\*/,\"comment\",\"@comment\"],[/\\/\\/.*$/,\"comment\"]],comment:[[/[^\\/*]+/,\"comment\"],[/\\*\\//,\"comment\",\"@pop\"],[/[\\/*]/,\"comment\"]],doccomment:[[/[^\\/*]+/,\"comment.doc\"],[/\\/\\*/,\"comment.doc.invalid\"],[/\\*\\//,\"comment.doc\",\"@pop\"],[/[\\/*]/,\"comment.doc\"]],string:[[/[^\\\\\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"/,\"string\",\"@pop\"]],rawstring:[[/[^\\`]/,\"string\"],[/`/,\"string\",\"@pop\"]]}};export{e as conf,n as language};\n"
  },
  {
    "path": "client/dist/assets/graphql.031cd53e.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"#\"},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"\"\"',close:'\"\"\"',notIn:[\"string\",\"comment\"]},{open:'\"',close:'\"',notIn:[\"string\",\"comment\"]}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"\"\"',close:'\"\"\"'},{open:'\"',close:'\"'}],folding:{offSide:!0}},n={defaultToken:\"invalid\",tokenPostfix:\".gql\",keywords:[\"null\",\"true\",\"false\",\"query\",\"mutation\",\"subscription\",\"extend\",\"schema\",\"directive\",\"scalar\",\"type\",\"interface\",\"union\",\"enum\",\"input\",\"implements\",\"fragment\",\"on\"],typeKeywords:[\"Int\",\"Float\",\"String\",\"Boolean\",\"ID\"],directiveLocations:[\"SCHEMA\",\"SCALAR\",\"OBJECT\",\"FIELD_DEFINITION\",\"ARGUMENT_DEFINITION\",\"INTERFACE\",\"UNION\",\"ENUM\",\"ENUM_VALUE\",\"INPUT_OBJECT\",\"INPUT_FIELD_DEFINITION\",\"QUERY\",\"MUTATION\",\"SUBSCRIPTION\",\"FIELD\",\"FRAGMENT_DEFINITION\",\"FRAGMENT_SPREAD\",\"INLINE_FRAGMENT\",\"VARIABLE_DEFINITION\"],operators:[\"=\",\"!\",\"?\",\":\",\"&\",\"|\"],symbols:/[=!?:&|]+/,escapes:/\\\\(?:[\"\\\\\\/bfnrt]|u[0-9A-Fa-f]{4})/,tokenizer:{root:[[/[a-z_][\\w$]*/,{cases:{\"@keywords\":\"keyword\",\"@default\":\"key.identifier\"}}],[/[$][\\w$]*/,{cases:{\"@keywords\":\"keyword\",\"@default\":\"argument.identifier\"}}],[/[A-Z][\\w\\$]*/,{cases:{\"@typeKeywords\":\"keyword\",\"@default\":\"type.identifier\"}}],{include:\"@whitespace\"},[/[{}()\\[\\]]/,\"@brackets\"],[/@symbols/,{cases:{\"@operators\":\"operator\",\"@default\":\"\"}}],[/@\\s*[a-zA-Z_\\$][\\w\\$]*/,{token:\"annotation\",log:\"annotation token: $0\"}],[/\\d*\\.\\d+([eE][\\-+]?\\d+)?/,\"number.float\"],[/0[xX][0-9a-fA-F]+/,\"number.hex\"],[/\\d+/,\"number\"],[/[;,.]/,\"delimiter\"],[/\"\"\"/,{token:\"string\",next:\"@mlstring\",nextEmbedded:\"markdown\"}],[/\"([^\"\\\\]|\\\\.)*$/,\"string.invalid\"],[/\"/,{token:\"string.quote\",bracket:\"@open\",next:\"@string\"}]],mlstring:[[/[^\"]+/,\"string\"],['\"\"\"',{token:\"string\",next:\"@pop\",nextEmbedded:\"@pop\"}]],string:[[/[^\\\\\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"/,{token:\"string.quote\",bracket:\"@close\",next:\"@pop\"}]],whitespace:[[/[ \\t\\r\\n]+/,\"\"],[/#.*$/,\"comment\"]]}};export{e as conf,n as language};\n"
  },
  {
    "path": "client/dist/assets/handlebars.0696c272.js",
    "content": "import{m as i}from\"./HMonacoEditor.4fbcd301.js\";import\"./index.becaf6b8.js\";/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var l=Object.defineProperty,s=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,c=Object.prototype.hasOwnProperty,p=(n,e,o,a)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let t of d(e))!c.call(n,t)&&(o||t!==\"default\")&&l(n,t,{get:()=>e[t],enumerable:!(a=s(e,t))||a.enumerable});return n},r={};p(r,i);var m=[\"area\",\"base\",\"br\",\"col\",\"embed\",\"hr\",\"img\",\"input\",\"keygen\",\"link\",\"menuitem\",\"meta\",\"param\",\"source\",\"track\",\"wbr\"],u={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:\"'\"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${m.join(\"|\")}))(\\\\w[\\\\w\\\\d]*)([^/>]*(?!/)>)[^<]*$`,\"i\"),afterText:/^<\\/(\\w[\\w\\d]*)\\s*>$/i,action:{indentAction:r.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${m.join(\"|\")}))(\\\\w[\\\\w\\\\d]*)([^/>]*(?!/)>)[^<]*$`,\"i\"),action:{indentAction:r.languages.IndentAction.Indent}}]},y={defaultToken:\"\",tokenPostfix:\"\",tokenizer:{root:[[/\\{\\{!--/,\"comment.block.start.handlebars\",\"@commentBlock\"],[/\\{\\{!/,\"comment.start.handlebars\",\"@comment\"],[/\\{\\{/,{token:\"@rematch\",switchTo:\"@handlebarsInSimpleState.root\"}],[/<!DOCTYPE/,\"metatag.html\",\"@doctype\"],[/<!--/,\"comment.html\",\"@commentHtml\"],[/(<)(\\w+)(\\/>)/,[\"delimiter.html\",\"tag.html\",\"delimiter.html\"]],[/(<)(script)/,[\"delimiter.html\",{token:\"tag.html\",next:\"@script\"}]],[/(<)(style)/,[\"delimiter.html\",{token:\"tag.html\",next:\"@style\"}]],[/(<)([:\\w]+)/,[\"delimiter.html\",{token:\"tag.html\",next:\"@otherTag\"}]],[/(<\\/)(\\w+)/,[\"delimiter.html\",{token:\"tag.html\",next:\"@otherTag\"}]],[/</,\"delimiter.html\"],[/\\{/,\"delimiter.html\"],[/[^<{]+/]],doctype:[[/\\{\\{/,{token:\"@rematch\",switchTo:\"@handlebarsInSimpleState.comment\"}],[/[^>]+/,\"metatag.content.html\"],[/>/,\"metatag.html\",\"@pop\"]],comment:[[/\\}\\}/,\"comment.end.handlebars\",\"@pop\"],[/./,\"comment.content.handlebars\"]],commentBlock:[[/--\\}\\}/,\"comment.block.end.handlebars\",\"@pop\"],[/./,\"comment.content.handlebars\"]],commentHtml:[[/\\{\\{/,{token:\"@rematch\",switchTo:\"@handlebarsInSimpleState.comment\"}],[/-->/,\"comment.html\",\"@pop\"],[/[^-]+/,\"comment.content.html\"],[/./,\"comment.content.html\"]],otherTag:[[/\\{\\{/,{token:\"@rematch\",switchTo:\"@handlebarsInSimpleState.otherTag\"}],[/\\/?>/,\"delimiter.html\",\"@pop\"],[/\"([^\"]*)\"/,\"attribute.value\"],[/'([^']*)'/,\"attribute.value\"],[/[\\w\\-]+/,\"attribute.name\"],[/=/,\"delimiter\"],[/[ \\t\\r\\n]+/]],script:[[/\\{\\{/,{token:\"@rematch\",switchTo:\"@handlebarsInSimpleState.script\"}],[/type/,\"attribute.name\",\"@scriptAfterType\"],[/\"([^\"]*)\"/,\"attribute.value\"],[/'([^']*)'/,\"attribute.value\"],[/[\\w\\-]+/,\"attribute.name\"],[/=/,\"delimiter\"],[/>/,{token:\"delimiter.html\",next:\"@scriptEmbedded.text/javascript\",nextEmbedded:\"text/javascript\"}],[/[ \\t\\r\\n]+/],[/(<\\/)(script\\s*)(>)/,[\"delimiter.html\",\"tag.html\",{token:\"delimiter.html\",next:\"@pop\"}]]],scriptAfterType:[[/\\{\\{/,{token:\"@rematch\",switchTo:\"@handlebarsInSimpleState.scriptAfterType\"}],[/=/,\"delimiter\",\"@scriptAfterTypeEquals\"],[/>/,{token:\"delimiter.html\",next:\"@scriptEmbedded.text/javascript\",nextEmbedded:\"text/javascript\"}],[/[ \\t\\r\\n]+/],[/<\\/script\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],scriptAfterTypeEquals:[[/\\{\\{/,{token:\"@rematch\",switchTo:\"@handlebarsInSimpleState.scriptAfterTypeEquals\"}],[/\"([^\"]*)\"/,{token:\"attribute.value\",switchTo:\"@scriptWithCustomType.$1\"}],[/'([^']*)'/,{token:\"attribute.value\",switchTo:\"@scriptWithCustomType.$1\"}],[/>/,{token:\"delimiter.html\",next:\"@scriptEmbedded.text/javascript\",nextEmbedded:\"text/javascript\"}],[/[ \\t\\r\\n]+/],[/<\\/script\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],scriptWithCustomType:[[/\\{\\{/,{token:\"@rematch\",switchTo:\"@handlebarsInSimpleState.scriptWithCustomType.$S2\"}],[/>/,{token:\"delimiter.html\",next:\"@scriptEmbedded.$S2\",nextEmbedded:\"$S2\"}],[/\"([^\"]*)\"/,\"attribute.value\"],[/'([^']*)'/,\"attribute.value\"],[/[\\w\\-]+/,\"attribute.name\"],[/=/,\"delimiter\"],[/[ \\t\\r\\n]+/],[/<\\/script\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],scriptEmbedded:[[/\\{\\{/,{token:\"@rematch\",switchTo:\"@handlebarsInEmbeddedState.scriptEmbedded.$S2\",nextEmbedded:\"@pop\"}],[/<\\/script/,{token:\"@rematch\",next:\"@pop\",nextEmbedded:\"@pop\"}]],style:[[/\\{\\{/,{token:\"@rematch\",switchTo:\"@handlebarsInSimpleState.style\"}],[/type/,\"attribute.name\",\"@styleAfterType\"],[/\"([^\"]*)\"/,\"attribute.value\"],[/'([^']*)'/,\"attribute.value\"],[/[\\w\\-]+/,\"attribute.name\"],[/=/,\"delimiter\"],[/>/,{token:\"delimiter.html\",next:\"@styleEmbedded.text/css\",nextEmbedded:\"text/css\"}],[/[ \\t\\r\\n]+/],[/(<\\/)(style\\s*)(>)/,[\"delimiter.html\",\"tag.html\",{token:\"delimiter.html\",next:\"@pop\"}]]],styleAfterType:[[/\\{\\{/,{token:\"@rematch\",switchTo:\"@handlebarsInSimpleState.styleAfterType\"}],[/=/,\"delimiter\",\"@styleAfterTypeEquals\"],[/>/,{token:\"delimiter.html\",next:\"@styleEmbedded.text/css\",nextEmbedded:\"text/css\"}],[/[ \\t\\r\\n]+/],[/<\\/style\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],styleAfterTypeEquals:[[/\\{\\{/,{token:\"@rematch\",switchTo:\"@handlebarsInSimpleState.styleAfterTypeEquals\"}],[/\"([^\"]*)\"/,{token:\"attribute.value\",switchTo:\"@styleWithCustomType.$1\"}],[/'([^']*)'/,{token:\"attribute.value\",switchTo:\"@styleWithCustomType.$1\"}],[/>/,{token:\"delimiter.html\",next:\"@styleEmbedded.text/css\",nextEmbedded:\"text/css\"}],[/[ \\t\\r\\n]+/],[/<\\/style\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],styleWithCustomType:[[/\\{\\{/,{token:\"@rematch\",switchTo:\"@handlebarsInSimpleState.styleWithCustomType.$S2\"}],[/>/,{token:\"delimiter.html\",next:\"@styleEmbedded.$S2\",nextEmbedded:\"$S2\"}],[/\"([^\"]*)\"/,\"attribute.value\"],[/'([^']*)'/,\"attribute.value\"],[/[\\w\\-]+/,\"attribute.name\"],[/=/,\"delimiter\"],[/[ \\t\\r\\n]+/],[/<\\/style\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],styleEmbedded:[[/\\{\\{/,{token:\"@rematch\",switchTo:\"@handlebarsInEmbeddedState.styleEmbedded.$S2\",nextEmbedded:\"@pop\"}],[/<\\/style/,{token:\"@rematch\",next:\"@pop\",nextEmbedded:\"@pop\"}]],handlebarsInSimpleState:[[/\\{\\{\\{?/,\"delimiter.handlebars\"],[/\\}\\}\\}?/,{token:\"delimiter.handlebars\",switchTo:\"@$S2.$S3\"}],{include:\"handlebarsRoot\"}],handlebarsInEmbeddedState:[[/\\{\\{\\{?/,\"delimiter.handlebars\"],[/\\}\\}\\}?/,{token:\"delimiter.handlebars\",switchTo:\"@$S2.$S3\",nextEmbedded:\"$S3\"}],{include:\"handlebarsRoot\"}],handlebarsRoot:[[/\"[^\"]*\"/,\"string.handlebars\"],[/[#/][^\\s}]+/,\"keyword.helper.handlebars\"],[/else\\b/,\"keyword.helper.handlebars\"],[/[\\s]+/],[/[^}]/,\"variable.parameter.handlebars\"]]}};export{u as conf,y as language};\n"
  },
  {
    "path": "client/dist/assets/hcl.2a98b883.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"#\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"',notIn:[\"string\"]}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'}]},t={defaultToken:\"\",tokenPostfix:\".hcl\",keywords:[\"var\",\"local\",\"path\",\"for_each\",\"any\",\"string\",\"number\",\"bool\",\"true\",\"false\",\"null\",\"if \",\"else \",\"endif \",\"for \",\"in\",\"endfor\"],operators:[\"=\",\">=\",\"<=\",\"==\",\"!=\",\"+\",\"-\",\"*\",\"/\",\"%\",\"&&\",\"||\",\"!\",\"<\",\">\",\"?\",\"...\",\":\"],symbols:/[=><!~?:&|+\\-*\\/\\^%]+/,escapes:/\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,terraformFunctions:/(abs|ceil|floor|log|max|min|pow|signum|chomp|format|formatlist|indent|join|lower|regex|regexall|replace|split|strrev|substr|title|trimspace|upper|chunklist|coalesce|coalescelist|compact|concat|contains|distinct|element|flatten|index|keys|length|list|lookup|map|matchkeys|merge|range|reverse|setintersection|setproduct|setunion|slice|sort|transpose|values|zipmap|base64decode|base64encode|base64gzip|csvdecode|jsondecode|jsonencode|urlencode|yamldecode|yamlencode|abspath|dirname|pathexpand|basename|file|fileexists|fileset|filebase64|templatefile|formatdate|timeadd|timestamp|base64sha256|base64sha512|bcrypt|filebase64sha256|filebase64sha512|filemd5|filemd1|filesha256|filesha512|md5|rsadecrypt|sha1|sha256|sha512|uuid|uuidv5|cidrhost|cidrnetmask|cidrsubnet|tobool|tolist|tomap|tonumber|toset|tostring)/,terraformMainBlocks:/(module|data|terraform|resource|provider|variable|output|locals)/,tokenizer:{root:[[/^@terraformMainBlocks([ \\t]*)([\\w-]+|\"[\\w-]+\"|)([ \\t]*)([\\w-]+|\"[\\w-]+\"|)([ \\t]*)(\\{)/,[\"type\",\"\",\"string\",\"\",\"string\",\"\",\"@brackets\"]],[/(\\w+[ \\t]+)([ \\t]*)([\\w-]+|\"[\\w-]+\"|)([ \\t]*)([\\w-]+|\"[\\w-]+\"|)([ \\t]*)(\\{)/,[\"identifier\",\"\",\"string\",\"\",\"string\",\"\",\"@brackets\"]],[/(\\w+[ \\t]+)([ \\t]*)([\\w-]+|\"[\\w-]+\"|)([ \\t]*)([\\w-]+|\"[\\w-]+\"|)(=)(\\{)/,[\"identifier\",\"\",\"string\",\"\",\"operator\",\"\",\"@brackets\"]],{include:\"@terraform\"}],terraform:[[/@terraformFunctions(\\()/,[\"type\",\"@brackets\"]],[/[a-zA-Z_]\\w*-*/,{cases:{\"@keywords\":{token:\"keyword.$0\"},\"@default\":\"variable\"}}],{include:\"@whitespace\"},{include:\"@heredoc\"},[/[{}()\\[\\]]/,\"@brackets\"],[/[<>](?!@symbols)/,\"@brackets\"],[/@symbols/,{cases:{\"@operators\":\"operator\",\"@default\":\"\"}}],[/\\d*\\d+[eE]([\\-+]?\\d+)?/,\"number.float\"],[/\\d*\\.\\d+([eE][\\-+]?\\d+)?/,\"number.float\"],[/\\d[\\d']*/,\"number\"],[/\\d/,\"number\"],[/[;,.]/,\"delimiter\"],[/\"/,\"string\",\"@string\"],[/'/,\"invalid\"]],heredoc:[[/<<[-]*\\s*[\"]?([\\w\\-]+)[\"]?/,{token:\"string.heredoc.delimiter\",next:\"@heredocBody.$1\"}]],heredocBody:[[/([\\w\\-]+)$/,{cases:{\"$1==$S2\":[{token:\"string.heredoc.delimiter\",next:\"@popall\"}],\"@default\":\"string.heredoc\"}}],[/./,\"string.heredoc\"]],whitespace:[[/[ \\t\\r\\n]+/,\"\"],[/\\/\\*/,\"comment\",\"@comment\"],[/\\/\\/.*$/,\"comment\"],[/#.*$/,\"comment\"]],comment:[[/[^\\/*]+/,\"comment\"],[/\\*\\//,\"comment\",\"@pop\"],[/[\\/*]/,\"comment\"]],string:[[/\\$\\{/,{token:\"delimiter\",next:\"@stringExpression\"}],[/[^\\\\\"\\$]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"/,\"string\",\"@popall\"]],stringInsideExpression:[[/[^\\\\\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"/,\"string\",\"@pop\"]],stringExpression:[[/\\}/,{token:\"delimiter\",next:\"@pop\"}],[/\"/,\"string\",\"@stringInsideExpression\"],{include:\"@terraform\"}]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/html.1d2c5b54.js",
    "content": "import{m as s}from\"./HMonacoEditor.4fbcd301.js\";import\"./index.becaf6b8.js\";/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var d=Object.defineProperty,p=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,c=(r,e,a,i)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let t of m(e))!l.call(r,t)&&(a||t!==\"default\")&&d(r,t,{get:()=>e[t],enumerable:!(i=p(e,t))||i.enumerable});return r},n={};c(n,s);var o=[\"area\",\"base\",\"br\",\"col\",\"embed\",\"hr\",\"img\",\"input\",\"keygen\",\"link\",\"menuitem\",\"meta\",\"param\",\"source\",\"track\",\"wbr\"],x={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(`<(?!(?:${o.join(\"|\")}))([_:\\\\w][_:\\\\w-.\\\\d]*)([^/>]*(?!/)>)[^<]*$`,\"i\"),afterText:/^<\\/([_:\\w][_:\\w-.\\d]*)\\s*>$/i,action:{indentAction:n.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${o.join(\"|\")}))(\\\\w[\\\\w\\\\d]*)([^/>]*(?!/)>)[^<]*$`,\"i\"),action:{indentAction:n.languages.IndentAction.Indent}}],folding:{markers:{start:new RegExp(\"^\\\\s*<!--\\\\s*#region\\\\b.*-->\"),end:new RegExp(\"^\\\\s*<!--\\\\s*#endregion\\\\b.*-->\")}}},y={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:[[/\"([^\"]*)\"/,{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{x as conf,y as language};\n"
  },
  {
    "path": "client/dist/assets/html.worker.ae09e20d.js",
    "content": "var $o=Object.defineProperty;var Xo=(ze,Ae,We)=>Ae in ze?$o(ze,Ae,{enumerable:!0,configurable:!0,writable:!0,value:We}):ze[Ae]=We;var ht=(ze,Ae,We)=>(Xo(ze,typeof Ae!=\"symbol\"?Ae+\"\":Ae,We),We);(function(){\"use strict\";class ze{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(()=>{throw t.stack?new Error(t.message+`\n\n`+t.stack):t},0)}}emit(t){this.listeners.forEach(n=>{n(t)})}onUnexpectedError(t){this.unexpectedErrorHandler(t),this.emit(t)}onUnexpectedExternalError(t){this.unexpectedErrorHandler(t)}}const Ae=new ze;function We(e){Ki(e)||Ae.onUnexpectedError(e)}function En(e){if(e instanceof Error){let{name:t,message:n}=e;const r=e.stacktrace||e.stack;return{$isError:!0,name:t,message:n,stack:r}}return e}const Ft=\"Canceled\";function Ki(e){return e instanceof ea?!0:e instanceof Error&&e.name===Ft&&e.message===Ft}class ea extends Error{constructor(){super(Ft),this.name=this.message}}function ta(e){const t=this;let n=!1,r;return function(){return n||(n=!0,r=e.apply(t,arguments)),r}}var Bt;(function(e){function t(w){return w&&typeof w==\"object\"&&typeof w[Symbol.iterator]==\"function\"}e.is=t;const n=Object.freeze([]);function r(){return n}e.empty=r;function*i(w){yield w}e.single=i;function s(w){return w||n}e.from=s;function l(w){return!w||w[Symbol.iterator]().next().done===!0}e.isEmpty=l;function u(w){return w[Symbol.iterator]().next().value}e.first=u;function o(w,k){for(const A of w)if(k(A))return!0;return!1}e.some=o;function c(w,k){for(const A of w)if(k(A))return A}e.find=c;function*h(w,k){for(const A of w)k(A)&&(yield A)}e.filter=h;function*d(w,k){let A=0;for(const x of w)yield k(x,A++)}e.map=d;function*f(...w){for(const k of w)for(const A of k)yield A}e.concat=f;function*g(w){for(const k of w)for(const A of k)yield A}e.concatNested=g;function _(w,k,A){let x=A;for(const H of w)x=k(x,H);return x}e.reduce=_;function*b(w,k,A=w.length){for(k<0&&(k+=w.length),A<0?A+=w.length:A>w.length&&(A=w.length);k<A;k++)yield w[k]}e.slice=b;function y(w,k=Number.POSITIVE_INFINITY){const A=[];if(k===0)return[A,w];const x=w[Symbol.iterator]();for(let H=0;H<k;H++){const p=x.next();if(p.done)return[A,e.empty()];A.push(p.value)}return[A,{[Symbol.iterator](){return x}}]}e.consume=y;function C(w,k,A=(x,H)=>x===H){const x=w[Symbol.iterator](),H=k[Symbol.iterator]();for(;;){const p=x.next(),m=H.next();if(p.done!==m.done)return!1;if(p.done)return!0;if(!A(p.value,m.value))return!1}}e.equals=C})(Bt||(Bt={}));function Jo(e){return e}function Yo(e,t){}class na extends Error{constructor(t){super(`Encountered errors while disposing of store. Errors: [${t.join(\", \")}]`),this.errors=t}}function Mn(e){if(Bt.is(e)){let t=[];for(const n of e)if(n)try{n.dispose()}catch(r){t.push(r)}if(t.length===1)throw t[0];if(t.length>1)throw new na(t);return Array.isArray(e)?[]:e}else if(e)return e.dispose(),e}function ra(...e){return dt(()=>Mn(e))}function dt(e){return{dispose:ta(()=>{e()})}}class Ve{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){try{Mn(this._toDispose.values())}finally{this._toDispose.clear()}}add(t){if(!t)return t;if(t===this)throw new Error(\"Cannot register a disposable on itself!\");return this._isDisposed?Ve.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(t),t}}Ve.DISABLE_DISPOSED_WARNING=!1;class Pt{constructor(){this._store=new Ve,this._store}dispose(){this._store.dispose()}_register(t){if(t===this)throw new Error(\"Cannot register a disposable on itself!\");return this._store.add(t)}}Pt.None=Object.freeze({dispose(){}});class ia{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1}set(t){let n=t;return this.unset=()=>n=void 0,this.isset=()=>n!==void 0,this.dispose=()=>{n&&(n(),n=void 0)},this}}class Y{constructor(t){this.element=t,this.next=Y.Undefined,this.prev=Y.Undefined}}Y.Undefined=new Y(void 0);class Dn{constructor(){this._first=Y.Undefined,this._last=Y.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===Y.Undefined}clear(){let t=this._first;for(;t!==Y.Undefined;){const n=t.next;t.prev=Y.Undefined,t.next=Y.Undefined,t=n}this._first=Y.Undefined,this._last=Y.Undefined,this._size=0}unshift(t){return this._insert(t,!1)}push(t){return this._insert(t,!0)}_insert(t,n){const r=new Y(t);if(this._first===Y.Undefined)this._first=r,this._last=r;else if(n){const s=this._last;this._last=r,r.prev=s,s.next=r}else{const s=this._first;this._first=r,r.next=s,s.prev=r}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(r))}}shift(){if(this._first!==Y.Undefined){const t=this._first.element;return this._remove(this._first),t}}pop(){if(this._last!==Y.Undefined){const t=this._last.element;return this._remove(this._last),t}}_remove(t){if(t.prev!==Y.Undefined&&t.next!==Y.Undefined){const n=t.prev;n.next=t.next,t.next.prev=n}else t.prev===Y.Undefined&&t.next===Y.Undefined?(this._first=Y.Undefined,this._last=Y.Undefined):t.next===Y.Undefined?(this._last=this._last.prev,this._last.next=Y.Undefined):t.prev===Y.Undefined&&(this._first=this._first.next,this._first.prev=Y.Undefined);this._size-=1}*[Symbol.iterator](){let t=this._first;for(;t!==Y.Undefined;)yield t.element,t=t.next}}var qt;const ft=\"en\";let Ot=!1,Vt=!1,jt=!1,Rn=!1,mt,Gt=ft,aa,Se;const re=typeof self==\"object\"?self:typeof global==\"object\"?global:{};let ie;typeof re.vscode!=\"undefined\"&&typeof re.vscode.process!=\"undefined\"?ie=re.vscode.process:typeof process!=\"undefined\"&&(ie=process);const sa=typeof((qt=ie==null?void 0:ie.versions)===null||qt===void 0?void 0:qt.electron)==\"string\"&&(ie==null?void 0:ie.type)===\"renderer\";if(typeof navigator==\"object\"&&!sa)Se=navigator.userAgent,Ot=Se.indexOf(\"Windows\")>=0,Vt=Se.indexOf(\"Macintosh\")>=0,(Se.indexOf(\"Macintosh\")>=0||Se.indexOf(\"iPad\")>=0||Se.indexOf(\"iPhone\")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,jt=Se.indexOf(\"Linux\")>=0,Rn=!0,mt=navigator.language,Gt=mt;else if(typeof ie==\"object\"){Ot=ie.platform===\"win32\",Vt=ie.platform===\"darwin\",jt=ie.platform===\"linux\",jt&&!!ie.env.SNAP&&ie.env.SNAP_REVISION,ie.env.CI||ie.env.BUILD_ARTIFACTSTAGINGDIRECTORY,mt=ft,Gt=ft;const e=ie.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e),n=t.availableLanguages[\"*\"];mt=t.locale,Gt=n||ft,aa=t._translationsConfigFile}catch{}}else console.error(\"Unable to resolve platform.\");const Ke=Ot,oa=Vt;Rn&&re.importScripts;const ye=Se;(()=>{if(typeof re.postMessage==\"function\"&&!re.importScripts){let e=[];re.addEventListener(\"message\",n=>{if(n.data&&n.data.vscodeScheduleAsyncWork)for(let r=0,i=e.length;r<i;r++){const s=e[r];if(s.id===n.data.vscodeScheduleAsyncWork){e.splice(r,1),s.callback();return}}});let t=0;return n=>{const r=++t;e.push({id:r,callback:n}),re.postMessage({vscodeScheduleAsyncWork:r},\"*\")}}return e=>setTimeout(e)})();const la=!!(ye&&ye.indexOf(\"Chrome\")>=0);ye&&ye.indexOf(\"Firefox\")>=0,!la&&ye&&ye.indexOf(\"Safari\")>=0,ye&&ye.indexOf(\"Edg/\")>=0,ye&&ye.indexOf(\"Android\")>=0;const ua=re.performance&&typeof re.performance.now==\"function\";class pt{constructor(t){this._highResolution=ua&&t,this._startTime=this._now(),this._stopTime=-1}static create(t=!0){return new pt(t)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?re.performance.now():Date.now()}}var $t;(function(e){e.None=()=>Pt.None;function t(A){return(x,H=null,p)=>{let m=!1,v;return v=A(z=>{if(!m)return v?v.dispose():m=!0,x.call(H,z)},null,p),m&&v.dispose(),v}}e.once=t;function n(A,x,H){return o((p,m=null,v)=>A(z=>p.call(m,x(z)),null,v),H)}e.map=n;function r(A,x,H){return o((p,m=null,v)=>A(z=>{x(z),p.call(m,z)},null,v),H)}e.forEach=r;function i(A,x,H){return o((p,m=null,v)=>A(z=>x(z)&&p.call(m,z),null,v),H)}e.filter=i;function s(A){return A}e.signal=s;function l(...A){return(x,H=null,p)=>ra(...A.map(m=>m(v=>x.call(H,v),null,p)))}e.any=l;function u(A,x,H,p){let m=H;return n(A,v=>(m=x(m,v),m),p)}e.reduce=u;function o(A,x){let H;const p={onFirstListenerAdd(){H=A(m.fire,m)},onLastListenerRemove(){H.dispose()}},m=new Ce(p);return x&&x.add(m),m.event}function c(A,x,H=100,p=!1,m,v){let z,M,U,F=0;const B={leakWarningThreshold:m,onFirstListenerAdd(){z=A(q=>{F++,M=x(M,q),p&&!U&&(P.fire(M),M=void 0),clearTimeout(U),U=setTimeout(()=>{const L=M;M=void 0,U=void 0,(!p||F>1)&&P.fire(L),F=0},H)})},onLastListenerRemove(){z.dispose()}},P=new Ce(B);return v&&v.add(P),P.event}e.debounce=c;function h(A,x=(p,m)=>p===m,H){let p=!0,m;return i(A,v=>{const z=p||!x(v,m);return p=!1,m=v,z},H)}e.latch=h;function d(A,x,H){return[e.filter(A,x,H),e.filter(A,p=>!x(p),H)]}e.split=d;function f(A,x=!1,H=[]){let p=H.slice(),m=A(M=>{p?p.push(M):z.fire(M)});const v=()=>{p&&p.forEach(M=>z.fire(M)),p=null},z=new Ce({onFirstListenerAdd(){m||(m=A(M=>z.fire(M)))},onFirstListenerDidAdd(){p&&(x?setTimeout(v):v())},onLastListenerRemove(){m&&m.dispose(),m=null}});return z.event}e.buffer=f;class g{constructor(x){this.event=x}map(x){return new g(n(this.event,x))}forEach(x){return new g(r(this.event,x))}filter(x){return new g(i(this.event,x))}reduce(x,H){return new g(u(this.event,x,H))}latch(){return new g(h(this.event))}debounce(x,H=100,p=!1,m){return new g(c(this.event,x,H,p,m))}on(x,H,p){return this.event(x,H,p)}once(x,H,p){return t(this.event)(x,H,p)}}function _(A){return new g(A)}e.chain=_;function b(A,x,H=p=>p){const p=(...M)=>z.fire(H(...M)),m=()=>A.on(x,p),v=()=>A.removeListener(x,p),z=new Ce({onFirstListenerAdd:m,onLastListenerRemove:v});return z.event}e.fromNodeEventEmitter=b;function y(A,x,H=p=>p){const p=(...M)=>z.fire(H(...M)),m=()=>A.addEventListener(x,p),v=()=>A.removeEventListener(x,p),z=new Ce({onFirstListenerAdd:m,onLastListenerRemove:v});return z.event}e.fromDOMEventEmitter=y;function C(A){return new Promise(x=>t(A)(x))}e.toPromise=C;function w(A,x){return x(void 0),A(H=>x(H))}e.runAndSubscribe=w;function k(A,x){let H=null;function p(v){H==null||H.dispose(),H=new Ve,x(v,H)}p(void 0);const m=A(v=>p(v));return dt(()=>{m.dispose(),H==null||H.dispose()})}e.runAndSubscribeWithStore=k})($t||($t={}));class gt{constructor(t){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${t}_${gt._idPool++}`}start(t){this._stopWatch=new pt(!0),this._listenerCount=t}stop(){if(this._stopWatch){const t=this._stopWatch.elapsed();this._elapsedOverall+=t,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${t.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}gt._idPool=0;class Xt{constructor(t){this.value=t}static create(){var t;return new Xt((t=new Error().stack)!==null&&t!==void 0?t:\"\")}print(){console.warn(this.value.split(`\n`).slice(2).join(`\n`))}}class ca{constructor(t,n,r){this.callback=t,this.callbackThis=n,this.stack=r,this.subscription=new ia}invoke(t){this.callback.call(this.callbackThis,t)}}class Ce{constructor(t){var n;this._disposed=!1,this._options=t,this._leakageMon=void 0,this._perfMon=!((n=this._options)===null||n===void 0)&&n._profName?new gt(this._options._profName):void 0}dispose(){var t,n,r,i;this._disposed||(this._disposed=!0,this._listeners&&this._listeners.clear(),(t=this._deliveryQueue)===null||t===void 0||t.clear(),(r=(n=this._options)===null||n===void 0?void 0:n.onLastListenerRemove)===null||r===void 0||r.call(n),(i=this._leakageMon)===null||i===void 0||i.dispose())}get event(){return this._event||(this._event=(t,n,r)=>{var i,s,l;this._listeners||(this._listeners=new Dn);const u=this._listeners.isEmpty();u&&((i=this._options)===null||i===void 0?void 0:i.onFirstListenerAdd)&&this._options.onFirstListenerAdd(this);let o,c;this._leakageMon&&this._listeners.size>=30&&(c=Xt.create(),o=this._leakageMon.check(c,this._listeners.size+1));const h=new ca(t,n,c),d=this._listeners.push(h);u&&((s=this._options)===null||s===void 0?void 0:s.onFirstListenerDidAdd)&&this._options.onFirstListenerDidAdd(this),!((l=this._options)===null||l===void 0)&&l.onListenerDidAdd&&this._options.onListenerDidAdd(this,t,n);const f=h.subscription.set(()=>{o&&o(),this._disposed||(d(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return r instanceof Ve?r.add(f):Array.isArray(r)&&r.push(f),f}),this._event}fire(t){var n,r;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new Dn);for(let i of this._listeners)this._deliveryQueue.push([i,t]);for((n=this._perfMon)===null||n===void 0||n.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[i,s]=this._deliveryQueue.shift();try{i.invoke(s)}catch(l){We(l)}}(r=this._perfMon)===null||r===void 0||r.stop()}}}function ha(e){let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}function Jt(e){const t=[];for(const n of ha(e))typeof e[n]==\"function\"&&t.push(n);return t}function da(e,t){const n=i=>function(){const s=Array.prototype.slice.call(arguments,0);return t(i,s)};let r={};for(const i of e)r[i]=n(i);return r}function fa(e,t=\"Unreachable\"){throw new Error(t)}class ma{constructor(t){this.computeFn=t,this.lastCache=void 0,this.lastArgKey=void 0}get(t){const n=JSON.stringify(t);return this.lastArgKey!==n&&(this.lastArgKey=n,this.lastCache=this.computeFn(t)),this.lastCache}}class Nn{constructor(t){this.executor=t,this._didRun=!1}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(t){this._error=t}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var Un;function pa(e){return e.replace(/[\\\\\\{\\}\\*\\+\\?\\|\\^\\$\\.\\[\\]\\(\\)]/g,\"\\\\$&\")}function ga(e){return e.split(/\\r\\n|\\r|\\n/)}function ba(e){for(let t=0,n=e.length;t<n;t++){const r=e.charCodeAt(t);if(r!==32&&r!==9)return t}return-1}function wa(e,t=e.length-1){for(let n=t;n>=0;n--){const r=e.charCodeAt(n);if(r!==32&&r!==9)return n}return-1}function Hn(e){return e>=65&&e<=90}function Yt(e){return 55296<=e&&e<=56319}function va(e){return 56320<=e&&e<=57343}function _a(e,t){return(e-55296<<10)+(t-56320)+65536}function ya(e,t,n){const r=e.charCodeAt(n);if(Yt(r)&&n+1<t){const i=e.charCodeAt(n+1);if(va(i))return _a(r,i)}return r}const Ta=/^[\\t\\n\\r\\x20-\\x7E]*$/;function ka(e){return Ta.test(e)}class ge{constructor(t){this.confusableDictionary=t}static getInstance(t){return ge.cache.get(Array.from(t))}static getLocales(){return ge._locales.getValue()}isAmbiguous(t){return this.confusableDictionary.has(t)}getPrimaryConfusable(t){return this.confusableDictionary.get(t)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}Un=ge,ge.ambiguousCharacterData=new Nn(()=>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],\"_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]}')),ge.cache=new ma(e=>{function t(c){const h=new Map;for(let d=0;d<c.length;d+=2)h.set(c[d],c[d+1]);return h}function n(c,h){const d=new Map(c);for(const[f,g]of h)d.set(f,g);return d}function r(c,h){if(!c)return h;const d=new Map;for(const[f,g]of c)h.has(f)&&d.set(f,g);return d}const i=Un.ambiguousCharacterData.getValue();let s=e.filter(c=>!c.startsWith(\"_\")&&c in i);s.length===0&&(s=[\"_default\"]);let l;for(const c of s){const h=t(i[c]);l=r(l,h)}const u=t(i._common),o=n(u,l);return new ge(o)}),ge._locales=new Nn(()=>Object.keys(ge.ambiguousCharacterData.getValue()).filter(e=>!e.startsWith(\"_\")));class xe{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(xe.getRawData())),this._data}static isInvisibleCharacter(t){return xe.getData().has(t)}static get codePoints(){return xe.getData()}}xe._data=void 0;const Aa=\"$initialize\";class Ca{constructor(t,n,r,i){this.vsWorker=t,this.req=n,this.method=r,this.args=i,this.type=0}}class In{constructor(t,n,r,i){this.vsWorker=t,this.seq=n,this.res=r,this.err=i,this.type=1}}class Sa{constructor(t,n,r,i){this.vsWorker=t,this.req=n,this.eventName=r,this.arg=i,this.type=2}}class xa{constructor(t,n,r){this.vsWorker=t,this.req=n,this.event=r,this.type=3}}class La{constructor(t,n){this.vsWorker=t,this.req=n,this.type=4}}class Ea{constructor(t){this._workerId=-1,this._handler=t,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(t){this._workerId=t}sendMessage(t,n){const r=String(++this._lastSentReq);return new Promise((i,s)=>{this._pendingReplies[r]={resolve:i,reject:s},this._send(new Ca(this._workerId,r,t,n))})}listen(t,n){let r=null;const i=new Ce({onFirstListenerAdd:()=>{r=String(++this._lastSentReq),this._pendingEmitters.set(r,i),this._send(new Sa(this._workerId,r,t,n))},onLastListenerRemove:()=>{this._pendingEmitters.delete(r),this._send(new La(this._workerId,r)),r=null}});return i.event}handleMessage(t){!t||!t.vsWorker||this._workerId!==-1&&t.vsWorker!==this._workerId||this._handleMessage(t)}_handleMessage(t){switch(t.type){case 1:return this._handleReplyMessage(t);case 0:return this._handleRequestMessage(t);case 2:return this._handleSubscribeEventMessage(t);case 3:return this._handleEventMessage(t);case 4:return this._handleUnsubscribeEventMessage(t)}}_handleReplyMessage(t){if(!this._pendingReplies[t.seq]){console.warn(\"Got reply to unknown seq\");return}let n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let r=t.err;t.err.$isError&&(r=new Error,r.name=t.err.name,r.message=t.err.message,r.stack=t.err.stack),n.reject(r);return}n.resolve(t.res)}_handleRequestMessage(t){let n=t.req;this._handler.handleMessage(t.method,t.args).then(i=>{this._send(new In(this._workerId,n,i,void 0))},i=>{i.detail instanceof Error&&(i.detail=En(i.detail)),this._send(new In(this._workerId,n,void 0,En(i)))})}_handleSubscribeEventMessage(t){const n=t.req,r=this._handler.handleEvent(t.eventName,t.arg)(i=>{this._send(new xa(this._workerId,n,i))});this._pendingEvents.set(n,r)}_handleEventMessage(t){if(!this._pendingEmitters.has(t.req)){console.warn(\"Got event for unknown req\");return}this._pendingEmitters.get(t.req).fire(t.event)}_handleUnsubscribeEventMessage(t){if(!this._pendingEvents.has(t.req)){console.warn(\"Got unsubscribe for unknown req\");return}this._pendingEvents.get(t.req).dispose(),this._pendingEvents.delete(t.req)}_send(t){let n=[];if(t.type===0)for(let r=0;r<t.args.length;r++)t.args[r]instanceof ArrayBuffer&&n.push(t.args[r]);else t.type===1&&t.res instanceof ArrayBuffer&&n.push(t.res);this._handler.sendMessage(t,n)}}function zn(e){return e[0]===\"o\"&&e[1]===\"n\"&&Hn(e.charCodeAt(2))}function Wn(e){return/^onDynamic/.test(e)&&Hn(e.charCodeAt(9))}function Ma(e,t,n){const r=l=>function(){const u=Array.prototype.slice.call(arguments,0);return t(l,u)},i=l=>function(u){return n(l,u)};let s={};for(const l of e){if(Wn(l)){s[l]=i(l);continue}if(zn(l)){s[l]=n(l,void 0);continue}s[l]=r(l)}return s}class Da{constructor(t,n){this._requestHandlerFactory=n,this._requestHandler=null,this._protocol=new Ea({sendMessage:(r,i)=>{t(r,i)},handleMessage:(r,i)=>this._handleMessage(r,i),handleEvent:(r,i)=>this._handleEvent(r,i)})}onmessage(t){this._protocol.handleMessage(t)}_handleMessage(t,n){if(t===Aa)return this.initialize(n[0],n[1],n[2],n[3]);if(!this._requestHandler||typeof this._requestHandler[t]!=\"function\")return Promise.reject(new Error(\"Missing requestHandler or method: \"+t));try{return Promise.resolve(this._requestHandler[t].apply(this._requestHandler,n))}catch(r){return Promise.reject(r)}}_handleEvent(t,n){if(!this._requestHandler)throw new Error(\"Missing requestHandler\");if(Wn(t)){const r=this._requestHandler[t].call(this._requestHandler,n);if(typeof r!=\"function\")throw new Error(`Missing dynamic event ${t} on request handler.`);return r}if(zn(t)){const r=this._requestHandler[t];if(typeof r!=\"function\")throw new Error(`Missing event ${t} on request handler.`);return r}throw new Error(`Malformed event name ${t}`)}initialize(t,n,r,i){this._protocol.setWorkerId(t);const u=Ma(i,(o,c)=>this._protocol.sendMessage(o,c),(o,c)=>this._protocol.listen(o,c));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(u),Promise.resolve(Jt(this._requestHandler))):(n&&(typeof n.baseUrl!=\"undefined\"&&delete n.baseUrl,typeof n.paths!=\"undefined\"&&typeof n.paths.vs!=\"undefined\"&&delete n.paths.vs,typeof n.trustedTypesPolicy!==void 0&&delete n.trustedTypesPolicy,n.catchError=!0,re.require.config(n)),new Promise((o,c)=>{const h=re.require;h([r],d=>{if(this._requestHandler=d.create(u),!this._requestHandler){c(new Error(\"No RequestHandler!\"));return}o(Jt(this._requestHandler))},c)}))}}class Le{constructor(t,n,r,i){this.originalStart=t,this.originalLength=n,this.modifiedStart=r,this.modifiedLength=i}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function Fn(e,t){return(t<<5)-t+e|0}function Ra(e,t){t=Fn(149417,t);for(let n=0,r=e.length;n<r;n++)t=Fn(e.charCodeAt(n),t);return t}class Bn{constructor(t){this.source=t}getElements(){const t=this.source,n=new Int32Array(t.length);for(let r=0,i=t.length;r<i;r++)n[r]=t.charCodeAt(r);return n}}function Na(e,t,n){return new Ee(new Bn(e),new Bn(t)).ComputeDiff(n).changes}class je{static Assert(t,n){if(!t)throw new Error(n)}}class Ge{static Copy(t,n,r,i,s){for(let l=0;l<s;l++)r[i+l]=t[n+l]}static Copy2(t,n,r,i,s){for(let l=0;l<s;l++)r[i+l]=t[n+l]}}class Pn{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 Le(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(t,n){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_originalCount++}AddModifiedElement(t,n){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),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 Ee{constructor(t,n,r=null){this.ContinueProcessingPredicate=r,this._originalSequence=t,this._modifiedSequence=n;const[i,s,l]=Ee._getElements(t),[u,o,c]=Ee._getElements(n);this._hasStrings=l&&c,this._originalStringElements=i,this._originalElementsOrHash=s,this._modifiedStringElements=u,this._modifiedElementsOrHash=o,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(t){return t.length>0&&typeof t[0]==\"string\"}static _getElements(t){const n=t.getElements();if(Ee._isStringArray(n)){const r=new Int32Array(n.length);for(let i=0,s=n.length;i<s;i++)r[i]=Ra(n[i],0);return[n,r,!0]}return n instanceof Int32Array?[[],n,!1]:[[],new Int32Array(n),!1]}ElementsAreEqual(t,n){return this._originalElementsOrHash[t]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[t]===this._modifiedStringElements[n]:!0}ElementsAreStrictEqual(t,n){if(!this.ElementsAreEqual(t,n))return!1;const r=Ee._getStrictElement(this._originalSequence,t),i=Ee._getStrictElement(this._modifiedSequence,n);return r===i}static _getStrictElement(t,n){return typeof t.getStrictElement==\"function\"?t.getStrictElement(n):null}OriginalElementsAreEqual(t,n){return this._originalElementsOrHash[t]!==this._originalElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[t]===this._originalStringElements[n]:!0}ModifiedElementsAreEqual(t,n){return this._modifiedElementsOrHash[t]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._modifiedStringElements[t]===this._modifiedStringElements[n]:!0}ComputeDiff(t){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,t)}_ComputeDiff(t,n,r,i,s){const l=[!1];let u=this.ComputeDiffRecursive(t,n,r,i,l);return s&&(u=this.PrettifyChanges(u)),{quitEarly:l[0],changes:u}}ComputeDiffRecursive(t,n,r,i,s){for(s[0]=!1;t<=n&&r<=i&&this.ElementsAreEqual(t,r);)t++,r++;for(;n>=t&&i>=r&&this.ElementsAreEqual(n,i);)n--,i--;if(t>n||r>i){let d;return r<=i?(je.Assert(t===n+1,\"originalStart should only be one more than originalEnd\"),d=[new Le(t,0,r,i-r+1)]):t<=n?(je.Assert(r===i+1,\"modifiedStart should only be one more than modifiedEnd\"),d=[new Le(t,n-t+1,r,0)]):(je.Assert(t===n+1,\"originalStart should only be one more than originalEnd\"),je.Assert(r===i+1,\"modifiedStart should only be one more than modifiedEnd\"),d=[]),d}const l=[0],u=[0],o=this.ComputeRecursionPoint(t,n,r,i,l,u,s),c=l[0],h=u[0];if(o!==null)return o;if(!s[0]){const d=this.ComputeDiffRecursive(t,c,r,h,s);let f=[];return s[0]?f=[new Le(c+1,n-(c+1)+1,h+1,i-(h+1)+1)]:f=this.ComputeDiffRecursive(c+1,n,h+1,i,s),this.ConcatenateChanges(d,f)}return[new Le(t,n-t+1,r,i-r+1)]}WALKTRACE(t,n,r,i,s,l,u,o,c,h,d,f,g,_,b,y,C,w){let k=null,A=null,x=new Pn,H=n,p=r,m=g[0]-y[0]-i,v=-1073741824,z=this.m_forwardHistory.length-1;do{const M=m+t;M===H||M<p&&c[M-1]<c[M+1]?(d=c[M+1],_=d-m-i,d<v&&x.MarkNextChange(),v=d,x.AddModifiedElement(d+1,_),m=M+1-t):(d=c[M-1]+1,_=d-m-i,d<v&&x.MarkNextChange(),v=d-1,x.AddOriginalElement(d,_+1),m=M-1-t),z>=0&&(c=this.m_forwardHistory[z],t=c[0],H=1,p=c.length-1)}while(--z>=-1);if(k=x.getReverseChanges(),w[0]){let M=g[0]+1,U=y[0]+1;if(k!==null&&k.length>0){const F=k[k.length-1];M=Math.max(M,F.getOriginalEnd()),U=Math.max(U,F.getModifiedEnd())}A=[new Le(M,f-M+1,U,b-U+1)]}else{x=new Pn,H=l,p=u,m=g[0]-y[0]-o,v=1073741824,z=C?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const M=m+s;M===H||M<p&&h[M-1]>=h[M+1]?(d=h[M+1]-1,_=d-m-o,d>v&&x.MarkNextChange(),v=d+1,x.AddOriginalElement(d+1,_+1),m=M+1-s):(d=h[M-1],_=d-m-o,d>v&&x.MarkNextChange(),v=d,x.AddModifiedElement(d+1,_+1),m=M-1-s),z>=0&&(h=this.m_reverseHistory[z],s=h[0],H=1,p=h.length-1)}while(--z>=-1);A=x.getChanges()}return this.ConcatenateChanges(k,A)}ComputeRecursionPoint(t,n,r,i,s,l,u){let o=0,c=0,h=0,d=0,f=0,g=0;t--,r--,s[0]=0,l[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const _=n-t+(i-r),b=_+1,y=new Int32Array(b),C=new Int32Array(b),w=i-r,k=n-t,A=t-r,x=n-i,p=(k-w)%2===0;y[w]=t,C[k]=n,u[0]=!1;for(let m=1;m<=_/2+1;m++){let v=0,z=0;h=this.ClipDiagonalBound(w-m,m,w,b),d=this.ClipDiagonalBound(w+m,m,w,b);for(let U=h;U<=d;U+=2){U===h||U<d&&y[U-1]<y[U+1]?o=y[U+1]:o=y[U-1]+1,c=o-(U-w)-A;const F=o;for(;o<n&&c<i&&this.ElementsAreEqual(o+1,c+1);)o++,c++;if(y[U]=o,o+c>v+z&&(v=o,z=c),!p&&Math.abs(U-k)<=m-1&&o>=C[U])return s[0]=o,l[0]=c,F<=C[U]&&1447>0&&m<=1447+1?this.WALKTRACE(w,h,d,A,k,f,g,x,y,C,o,n,s,c,i,l,p,u):null}const M=(v-t+(z-r)-m)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(v,M))return u[0]=!0,s[0]=v,l[0]=z,M>0&&1447>0&&m<=1447+1?this.WALKTRACE(w,h,d,A,k,f,g,x,y,C,o,n,s,c,i,l,p,u):(t++,r++,[new Le(t,n-t+1,r,i-r+1)]);f=this.ClipDiagonalBound(k-m,m,k,b),g=this.ClipDiagonalBound(k+m,m,k,b);for(let U=f;U<=g;U+=2){U===f||U<g&&C[U-1]>=C[U+1]?o=C[U+1]-1:o=C[U-1],c=o-(U-k)-x;const F=o;for(;o>t&&c>r&&this.ElementsAreEqual(o,c);)o--,c--;if(C[U]=o,p&&Math.abs(U-w)<=m&&o<=y[U])return s[0]=o,l[0]=c,F>=y[U]&&1447>0&&m<=1447+1?this.WALKTRACE(w,h,d,A,k,f,g,x,y,C,o,n,s,c,i,l,p,u):null}if(m<=1447){let U=new Int32Array(d-h+2);U[0]=w-h+1,Ge.Copy2(y,h,U,1,d-h+1),this.m_forwardHistory.push(U),U=new Int32Array(g-f+2),U[0]=k-f+1,Ge.Copy2(C,f,U,1,g-f+1),this.m_reverseHistory.push(U)}}return this.WALKTRACE(w,h,d,A,k,f,g,x,y,C,o,n,s,c,i,l,p,u)}PrettifyChanges(t){for(let n=0;n<t.length;n++){const r=t[n],i=n<t.length-1?t[n+1].originalStart:this._originalElementsOrHash.length,s=n<t.length-1?t[n+1].modifiedStart:this._modifiedElementsOrHash.length,l=r.originalLength>0,u=r.modifiedLength>0;for(;r.originalStart+r.originalLength<i&&r.modifiedStart+r.modifiedLength<s&&(!l||this.OriginalElementsAreEqual(r.originalStart,r.originalStart+r.originalLength))&&(!u||this.ModifiedElementsAreEqual(r.modifiedStart,r.modifiedStart+r.modifiedLength));){const c=this.ElementsAreStrictEqual(r.originalStart,r.modifiedStart);if(this.ElementsAreStrictEqual(r.originalStart+r.originalLength,r.modifiedStart+r.modifiedLength)&&!c)break;r.originalStart++,r.modifiedStart++}let o=[null];if(n<t.length-1&&this.ChangesOverlap(t[n],t[n+1],o)){t[n]=o[0],t.splice(n+1,1),n--;continue}}for(let n=t.length-1;n>=0;n--){const r=t[n];let i=0,s=0;if(n>0){const d=t[n-1];i=d.originalStart+d.originalLength,s=d.modifiedStart+d.modifiedLength}const l=r.originalLength>0,u=r.modifiedLength>0;let o=0,c=this._boundaryScore(r.originalStart,r.originalLength,r.modifiedStart,r.modifiedLength);for(let d=1;;d++){const f=r.originalStart-d,g=r.modifiedStart-d;if(f<i||g<s||l&&!this.OriginalElementsAreEqual(f,f+r.originalLength)||u&&!this.ModifiedElementsAreEqual(g,g+r.modifiedLength))break;const b=(f===i&&g===s?5:0)+this._boundaryScore(f,r.originalLength,g,r.modifiedLength);b>c&&(c=b,o=d)}r.originalStart-=o,r.modifiedStart-=o;const h=[null];if(n>0&&this.ChangesOverlap(t[n-1],t[n],h)){t[n-1]=h[0],t.splice(n,1),n++;continue}}if(this._hasStrings)for(let n=1,r=t.length;n<r;n++){const i=t[n-1],s=t[n],l=s.originalStart-i.originalStart-i.originalLength,u=i.originalStart,o=s.originalStart+s.originalLength,c=o-u,h=i.modifiedStart,d=s.modifiedStart+s.modifiedLength,f=d-h;if(l<5&&c<20&&f<20){const g=this._findBetterContiguousSequence(u,c,h,f,l);if(g){const[_,b]=g;(_!==i.originalStart+i.originalLength||b!==i.modifiedStart+i.modifiedLength)&&(i.originalLength=_-i.originalStart,i.modifiedLength=b-i.modifiedStart,s.originalStart=_+l,s.modifiedStart=b+l,s.originalLength=o-s.originalStart,s.modifiedLength=d-s.modifiedStart)}}}return t}_findBetterContiguousSequence(t,n,r,i,s){if(n<s||i<s)return null;const l=t+n-s+1,u=r+i-s+1;let o=0,c=0,h=0;for(let d=t;d<l;d++)for(let f=r;f<u;f++){const g=this._contiguousSequenceScore(d,f,s);g>0&&g>o&&(o=g,c=d,h=f)}return o>0?[c,h]:null}_contiguousSequenceScore(t,n,r){let i=0;for(let s=0;s<r;s++){if(!this.ElementsAreEqual(t+s,n+s))return 0;i+=this._originalStringElements[t+s].length}return i}_OriginalIsBoundary(t){return t<=0||t>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\\s*$/.test(this._originalStringElements[t])}_OriginalRegionIsBoundary(t,n){if(this._OriginalIsBoundary(t)||this._OriginalIsBoundary(t-1))return!0;if(n>0){const r=t+n;if(this._OriginalIsBoundary(r-1)||this._OriginalIsBoundary(r))return!0}return!1}_ModifiedIsBoundary(t){return t<=0||t>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\\s*$/.test(this._modifiedStringElements[t])}_ModifiedRegionIsBoundary(t,n){if(this._ModifiedIsBoundary(t)||this._ModifiedIsBoundary(t-1))return!0;if(n>0){const r=t+n;if(this._ModifiedIsBoundary(r-1)||this._ModifiedIsBoundary(r))return!0}return!1}_boundaryScore(t,n,r,i){const s=this._OriginalRegionIsBoundary(t,n)?1:0,l=this._ModifiedRegionIsBoundary(r,i)?1:0;return s+l}ConcatenateChanges(t,n){let r=[];if(t.length===0||n.length===0)return n.length>0?n:t;if(this.ChangesOverlap(t[t.length-1],n[0],r)){const i=new Array(t.length+n.length-1);return Ge.Copy(t,0,i,0,t.length-1),i[t.length-1]=r[0],Ge.Copy(n,1,i,t.length,n.length-1),i}else{const i=new Array(t.length+n.length);return Ge.Copy(t,0,i,0,t.length),Ge.Copy(n,0,i,t.length,n.length),i}}ChangesOverlap(t,n,r){if(je.Assert(t.originalStart<=n.originalStart,\"Left change is not less than or equal to right change\"),je.Assert(t.modifiedStart<=n.modifiedStart,\"Left change is not less than or equal to right change\"),t.originalStart+t.originalLength>=n.originalStart||t.modifiedStart+t.modifiedLength>=n.modifiedStart){const i=t.originalStart;let s=t.originalLength;const l=t.modifiedStart;let u=t.modifiedLength;return t.originalStart+t.originalLength>=n.originalStart&&(s=n.originalStart+n.originalLength-t.originalStart),t.modifiedStart+t.modifiedLength>=n.modifiedStart&&(u=n.modifiedStart+n.modifiedLength-t.modifiedStart),r[0]=new Le(i,s,l,u),!0}else return r[0]=null,!1}ClipDiagonalBound(t,n,r,i){if(t>=0&&t<i)return t;const s=r,l=i-r-1,u=n%2===0;if(t<0){const o=s%2===0;return u===o?0:1}else{const o=l%2===0;return u===o?i-1:i-2}}}let $e;if(typeof re.vscode!=\"undefined\"&&typeof re.vscode.process!=\"undefined\"){const e=re.vscode.process;$e={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()}}}else typeof process!=\"undefined\"?$e={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:$e={get platform(){return Ke?\"win32\":oa?\"darwin\":\"linux\"},get arch(){},get env(){return{}},cwd(){return\"/\"}};const Qt=$e.cwd,Ua=$e.env,Fe=$e.platform,Ha=65,Ia=97,za=90,Wa=122,Me=46,te=47,le=92,De=58,Fa=63;class qn extends Error{constructor(t,n,r){let i;typeof n==\"string\"&&n.indexOf(\"not \")===0?(i=\"must not be\",n=n.replace(/^not /,\"\")):i=\"must be\";const s=t.indexOf(\".\")!==-1?\"property\":\"argument\";let l=`The \"${t}\" ${s} ${i} of type ${n}`;l+=`. Received type ${typeof r}`,super(l),this.code=\"ERR_INVALID_ARG_TYPE\"}}function K(e,t){if(typeof e!=\"string\")throw new qn(t,\"string\",e)}function V(e){return e===te||e===le}function Zt(e){return e===te}function Re(e){return e>=Ha&&e<=za||e>=Ia&&e<=Wa}function bt(e,t,n,r){let i=\"\",s=0,l=-1,u=0,o=0;for(let c=0;c<=e.length;++c){if(c<e.length)o=e.charCodeAt(c);else{if(r(o))break;o=te}if(r(o)){if(!(l===c-1||u===1))if(u===2){if(i.length<2||s!==2||i.charCodeAt(i.length-1)!==Me||i.charCodeAt(i.length-2)!==Me){if(i.length>2){const h=i.lastIndexOf(n);h===-1?(i=\"\",s=0):(i=i.slice(0,h),s=i.length-1-i.lastIndexOf(n)),l=c,u=0;continue}else if(i.length!==0){i=\"\",s=0,l=c,u=0;continue}}t&&(i+=i.length>0?`${n}..`:\"..\",s=2)}else i.length>0?i+=`${n}${e.slice(l+1,c)}`:i=e.slice(l+1,c),s=c-l-1;l=c,u=0}else o===Me&&u!==-1?++u:u=-1}return i}function On(e,t){if(t===null||typeof t!=\"object\")throw new qn(\"pathObject\",\"Object\",t);const n=t.dir||t.root,r=t.base||`${t.name||\"\"}${t.ext||\"\"}`;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}const se={resolve(...e){let t=\"\",n=\"\",r=!1;for(let i=e.length-1;i>=-1;i--){let s;if(i>=0){if(s=e[i],K(s,\"path\"),s.length===0)continue}else t.length===0?s=Qt():(s=Ua[`=${t}`]||Qt(),(s===void 0||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&s.charCodeAt(2)===le)&&(s=`${t}\\\\`));const l=s.length;let u=0,o=\"\",c=!1;const h=s.charCodeAt(0);if(l===1)V(h)&&(u=1,c=!0);else if(V(h))if(c=!0,V(s.charCodeAt(1))){let d=2,f=d;for(;d<l&&!V(s.charCodeAt(d));)d++;if(d<l&&d!==f){const g=s.slice(f,d);for(f=d;d<l&&V(s.charCodeAt(d));)d++;if(d<l&&d!==f){for(f=d;d<l&&!V(s.charCodeAt(d));)d++;(d===l||d!==f)&&(o=`\\\\\\\\${g}\\\\${s.slice(f,d)}`,u=d)}}}else u=1;else Re(h)&&s.charCodeAt(1)===De&&(o=s.slice(0,2),u=2,l>2&&V(s.charCodeAt(2))&&(c=!0,u=3));if(o.length>0)if(t.length>0){if(o.toLowerCase()!==t.toLowerCase())continue}else t=o;if(r){if(t.length>0)break}else if(n=`${s.slice(u)}\\\\${n}`,r=c,c&&t.length>0)break}return n=bt(n,!r,\"\\\\\",V),r?`${t}\\\\${n}`:`${t}${n}`||\".\"},normalize(e){K(e,\"path\");const t=e.length;if(t===0)return\".\";let n=0,r,i=!1;const s=e.charCodeAt(0);if(t===1)return Zt(s)?\"\\\\\":e;if(V(s))if(i=!0,V(e.charCodeAt(1))){let u=2,o=u;for(;u<t&&!V(e.charCodeAt(u));)u++;if(u<t&&u!==o){const c=e.slice(o,u);for(o=u;u<t&&V(e.charCodeAt(u));)u++;if(u<t&&u!==o){for(o=u;u<t&&!V(e.charCodeAt(u));)u++;if(u===t)return`\\\\\\\\${c}\\\\${e.slice(o)}\\\\`;u!==o&&(r=`\\\\\\\\${c}\\\\${e.slice(o,u)}`,n=u)}}}else n=1;else Re(s)&&e.charCodeAt(1)===De&&(r=e.slice(0,2),n=2,t>2&&V(e.charCodeAt(2))&&(i=!0,n=3));let l=n<t?bt(e.slice(n),!i,\"\\\\\",V):\"\";return l.length===0&&!i&&(l=\".\"),l.length>0&&V(e.charCodeAt(t-1))&&(l+=\"\\\\\"),r===void 0?i?`\\\\${l}`:l:i?`${r}\\\\${l}`:`${r}${l}`},isAbsolute(e){K(e,\"path\");const t=e.length;if(t===0)return!1;const n=e.charCodeAt(0);return V(n)||t>2&&Re(n)&&e.charCodeAt(1)===De&&V(e.charCodeAt(2))},join(...e){if(e.length===0)return\".\";let t,n;for(let s=0;s<e.length;++s){const l=e[s];K(l,\"path\"),l.length>0&&(t===void 0?t=n=l:t+=`\\\\${l}`)}if(t===void 0)return\".\";let r=!0,i=0;if(typeof n==\"string\"&&V(n.charCodeAt(0))){++i;const s=n.length;s>1&&V(n.charCodeAt(1))&&(++i,s>2&&(V(n.charCodeAt(2))?++i:r=!1))}if(r){for(;i<t.length&&V(t.charCodeAt(i));)i++;i>=2&&(t=`\\\\${t.slice(i)}`)}return se.normalize(t)},relative(e,t){if(K(e,\"from\"),K(t,\"to\"),e===t)return\"\";const n=se.resolve(e),r=se.resolve(t);if(n===r||(e=n.toLowerCase(),t=r.toLowerCase(),e===t))return\"\";let i=0;for(;i<e.length&&e.charCodeAt(i)===le;)i++;let s=e.length;for(;s-1>i&&e.charCodeAt(s-1)===le;)s--;const l=s-i;let u=0;for(;u<t.length&&t.charCodeAt(u)===le;)u++;let o=t.length;for(;o-1>u&&t.charCodeAt(o-1)===le;)o--;const c=o-u,h=l<c?l:c;let d=-1,f=0;for(;f<h;f++){const _=e.charCodeAt(i+f);if(_!==t.charCodeAt(u+f))break;_===le&&(d=f)}if(f!==h){if(d===-1)return r}else{if(c>h){if(t.charCodeAt(u+f)===le)return r.slice(u+f+1);if(f===2)return r.slice(u+f)}l>h&&(e.charCodeAt(i+f)===le?d=f:f===2&&(d=3)),d===-1&&(d=0)}let g=\"\";for(f=i+d+1;f<=s;++f)(f===s||e.charCodeAt(f)===le)&&(g+=g.length===0?\"..\":\"\\\\..\");return u+=d,g.length>0?`${g}${r.slice(u,o)}`:(r.charCodeAt(u)===le&&++u,r.slice(u,o))},toNamespacedPath(e){if(typeof e!=\"string\")return e;if(e.length===0)return\"\";const t=se.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===le){if(t.charCodeAt(1)===le){const n=t.charCodeAt(2);if(n!==Fa&&n!==Me)return`\\\\\\\\?\\\\UNC\\\\${t.slice(2)}`}}else if(Re(t.charCodeAt(0))&&t.charCodeAt(1)===De&&t.charCodeAt(2)===le)return`\\\\\\\\?\\\\${t}`;return e},dirname(e){K(e,\"path\");const t=e.length;if(t===0)return\".\";let n=-1,r=0;const i=e.charCodeAt(0);if(t===1)return V(i)?e:\".\";if(V(i)){if(n=r=1,V(e.charCodeAt(1))){let u=2,o=u;for(;u<t&&!V(e.charCodeAt(u));)u++;if(u<t&&u!==o){for(o=u;u<t&&V(e.charCodeAt(u));)u++;if(u<t&&u!==o){for(o=u;u<t&&!V(e.charCodeAt(u));)u++;if(u===t)return e;u!==o&&(n=r=u+1)}}}}else Re(i)&&e.charCodeAt(1)===De&&(n=t>2&&V(e.charCodeAt(2))?3:2,r=n);let s=-1,l=!0;for(let u=t-1;u>=r;--u)if(V(e.charCodeAt(u))){if(!l){s=u;break}}else l=!1;if(s===-1){if(n===-1)return\".\";s=n}return e.slice(0,s)},basename(e,t){t!==void 0&&K(t,\"ext\"),K(e,\"path\");let n=0,r=-1,i=!0,s;if(e.length>=2&&Re(e.charCodeAt(0))&&e.charCodeAt(1)===De&&(n=2),t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return\"\";let l=t.length-1,u=-1;for(s=e.length-1;s>=n;--s){const o=e.charCodeAt(s);if(V(o)){if(!i){n=s+1;break}}else u===-1&&(i=!1,u=s+1),l>=0&&(o===t.charCodeAt(l)?--l===-1&&(r=s):(l=-1,r=u))}return n===r?r=u:r===-1&&(r=e.length),e.slice(n,r)}for(s=e.length-1;s>=n;--s)if(V(e.charCodeAt(s))){if(!i){n=s+1;break}}else r===-1&&(i=!1,r=s+1);return r===-1?\"\":e.slice(n,r)},extname(e){K(e,\"path\");let t=0,n=-1,r=0,i=-1,s=!0,l=0;e.length>=2&&e.charCodeAt(1)===De&&Re(e.charCodeAt(0))&&(t=r=2);for(let u=e.length-1;u>=t;--u){const o=e.charCodeAt(u);if(V(o)){if(!s){r=u+1;break}continue}i===-1&&(s=!1,i=u+1),o===Me?n===-1?n=u:l!==1&&(l=1):n!==-1&&(l=-1)}return n===-1||i===-1||l===0||l===1&&n===i-1&&n===r+1?\"\":e.slice(n,i)},format:On.bind(null,\"\\\\\"),parse(e){K(e,\"path\");const t={root:\"\",dir:\"\",base:\"\",ext:\"\",name:\"\"};if(e.length===0)return t;const n=e.length;let r=0,i=e.charCodeAt(0);if(n===1)return V(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(V(i)){if(r=1,V(e.charCodeAt(1))){let d=2,f=d;for(;d<n&&!V(e.charCodeAt(d));)d++;if(d<n&&d!==f){for(f=d;d<n&&V(e.charCodeAt(d));)d++;if(d<n&&d!==f){for(f=d;d<n&&!V(e.charCodeAt(d));)d++;d===n?r=d:d!==f&&(r=d+1)}}}}else if(Re(i)&&e.charCodeAt(1)===De){if(n<=2)return t.root=t.dir=e,t;if(r=2,V(e.charCodeAt(2))){if(n===3)return t.root=t.dir=e,t;r=3}}r>0&&(t.root=e.slice(0,r));let s=-1,l=r,u=-1,o=!0,c=e.length-1,h=0;for(;c>=r;--c){if(i=e.charCodeAt(c),V(i)){if(!o){l=c+1;break}continue}u===-1&&(o=!1,u=c+1),i===Me?s===-1?s=c:h!==1&&(h=1):s!==-1&&(h=-1)}return u!==-1&&(s===-1||h===0||h===1&&s===u-1&&s===l+1?t.base=t.name=e.slice(l,u):(t.name=e.slice(l,s),t.base=e.slice(l,u),t.ext=e.slice(s,u))),l>0&&l!==r?t.dir=e.slice(0,l-1):t.dir=t.root,t},sep:\"\\\\\",delimiter:\";\",win32:null,posix:null},ue={resolve(...e){let t=\"\",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const i=r>=0?e[r]:Qt();K(i,\"path\"),i.length!==0&&(t=`${i}/${t}`,n=i.charCodeAt(0)===te)}return t=bt(t,!n,\"/\",Zt),n?`/${t}`:t.length>0?t:\".\"},normalize(e){if(K(e,\"path\"),e.length===0)return\".\";const t=e.charCodeAt(0)===te,n=e.charCodeAt(e.length-1)===te;return e=bt(e,!t,\"/\",Zt),e.length===0?t?\"/\":n?\"./\":\".\":(n&&(e+=\"/\"),t?`/${e}`:e)},isAbsolute(e){return K(e,\"path\"),e.length>0&&e.charCodeAt(0)===te},join(...e){if(e.length===0)return\".\";let t;for(let n=0;n<e.length;++n){const r=e[n];K(r,\"path\"),r.length>0&&(t===void 0?t=r:t+=`/${r}`)}return t===void 0?\".\":ue.normalize(t)},relative(e,t){if(K(e,\"from\"),K(t,\"to\"),e===t||(e=ue.resolve(e),t=ue.resolve(t),e===t))return\"\";const n=1,r=e.length,i=r-n,s=1,l=t.length-s,u=i<l?i:l;let o=-1,c=0;for(;c<u;c++){const d=e.charCodeAt(n+c);if(d!==t.charCodeAt(s+c))break;d===te&&(o=c)}if(c===u)if(l>u){if(t.charCodeAt(s+c)===te)return t.slice(s+c+1);if(c===0)return t.slice(s+c)}else i>u&&(e.charCodeAt(n+c)===te?o=c:c===0&&(o=0));let h=\"\";for(c=n+o+1;c<=r;++c)(c===r||e.charCodeAt(c)===te)&&(h+=h.length===0?\"..\":\"/..\");return`${h}${t.slice(s+o)}`},toNamespacedPath(e){return e},dirname(e){if(K(e,\"path\"),e.length===0)return\".\";const t=e.charCodeAt(0)===te;let n=-1,r=!0;for(let i=e.length-1;i>=1;--i)if(e.charCodeAt(i)===te){if(!r){n=i;break}}else r=!1;return n===-1?t?\"/\":\".\":t&&n===1?\"//\":e.slice(0,n)},basename(e,t){t!==void 0&&K(t,\"ext\"),K(e,\"path\");let n=0,r=-1,i=!0,s;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return\"\";let l=t.length-1,u=-1;for(s=e.length-1;s>=0;--s){const o=e.charCodeAt(s);if(o===te){if(!i){n=s+1;break}}else u===-1&&(i=!1,u=s+1),l>=0&&(o===t.charCodeAt(l)?--l===-1&&(r=s):(l=-1,r=u))}return n===r?r=u:r===-1&&(r=e.length),e.slice(n,r)}for(s=e.length-1;s>=0;--s)if(e.charCodeAt(s)===te){if(!i){n=s+1;break}}else r===-1&&(i=!1,r=s+1);return r===-1?\"\":e.slice(n,r)},extname(e){K(e,\"path\");let t=-1,n=0,r=-1,i=!0,s=0;for(let l=e.length-1;l>=0;--l){const u=e.charCodeAt(l);if(u===te){if(!i){n=l+1;break}continue}r===-1&&(i=!1,r=l+1),u===Me?t===-1?t=l:s!==1&&(s=1):t!==-1&&(s=-1)}return t===-1||r===-1||s===0||s===1&&t===r-1&&t===n+1?\"\":e.slice(t,r)},format:On.bind(null,\"/\"),parse(e){K(e,\"path\");const t={root:\"\",dir:\"\",base:\"\",ext:\"\",name:\"\"};if(e.length===0)return t;const n=e.charCodeAt(0)===te;let r;n?(t.root=\"/\",r=1):r=0;let i=-1,s=0,l=-1,u=!0,o=e.length-1,c=0;for(;o>=r;--o){const h=e.charCodeAt(o);if(h===te){if(!u){s=o+1;break}continue}l===-1&&(u=!1,l=o+1),h===Me?i===-1?i=o:c!==1&&(c=1):i!==-1&&(c=-1)}if(l!==-1){const h=s===0&&n?1:s;i===-1||c===0||c===1&&i===l-1&&i===s+1?t.base=t.name=e.slice(h,l):(t.name=e.slice(h,i),t.base=e.slice(h,l),t.ext=e.slice(i,l))}return s>0?t.dir=e.slice(0,s-1):n&&(t.dir=\"/\"),t},sep:\"/\",delimiter:\":\",win32:null,posix:null};ue.win32=se.win32=se,ue.posix=se.posix=ue,Fe===\"win32\"?se.normalize:ue.normalize,Fe===\"win32\"?se.resolve:ue.resolve,Fe===\"win32\"?se.relative:ue.relative,Fe===\"win32\"?se.dirname:ue.dirname,Fe===\"win32\"?se.basename:ue.basename,Fe===\"win32\"?se.extname:ue.extname,Fe===\"win32\"?se.sep:ue.sep;const Ba=/^\\w[\\w\\d+.-]*$/,Pa=/^\\//,qa=/^\\/\\//;function Vn(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: \"\", authority: \"${e.authority}\", path: \"${e.path}\", query: \"${e.query}\", fragment: \"${e.fragment}\"}`);if(e.scheme&&!Ba.test(e.scheme))throw new Error(\"[UriError]: Scheme contains illegal characters.\");if(e.path){if(e.authority){if(!Pa.test(e.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(qa.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters (\"//\")')}}function Oa(e,t){return!e&&!t?\"file\":e}function Va(e,t){switch(e){case\"https\":case\"http\":case\"file\":t?t[0]!==be&&(t=be+t):t=be;break}return t}const Q=\"\",be=\"/\",ja=/^(([^:/?#]+?):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/;class Be{constructor(t,n,r,i,s,l=!1){typeof t==\"object\"?(this.scheme=t.scheme||Q,this.authority=t.authority||Q,this.path=t.path||Q,this.query=t.query||Q,this.fragment=t.fragment||Q):(this.scheme=Oa(t,l),this.authority=n||Q,this.path=Va(this.scheme,r||Q),this.query=i||Q,this.fragment=s||Q,Vn(this,l))}static isUri(t){return t instanceof Be?!0:t?typeof t.authority==\"string\"&&typeof t.fragment==\"string\"&&typeof t.path==\"string\"&&typeof t.query==\"string\"&&typeof t.scheme==\"string\"&&typeof t.fsPath==\"string\"&&typeof t.with==\"function\"&&typeof t.toString==\"function\":!1}get fsPath(){return Kt(this,!1)}with(t){if(!t)return this;let{scheme:n,authority:r,path:i,query:s,fragment:l}=t;return n===void 0?n=this.scheme:n===null&&(n=Q),r===void 0?r=this.authority:r===null&&(r=Q),i===void 0?i=this.path:i===null&&(i=Q),s===void 0?s=this.query:s===null&&(s=Q),l===void 0?l=this.fragment:l===null&&(l=Q),n===this.scheme&&r===this.authority&&i===this.path&&s===this.query&&l===this.fragment?this:new Xe(n,r,i,s,l)}static parse(t,n=!1){const r=ja.exec(t);return r?new Xe(r[2]||Q,wt(r[4]||Q),wt(r[5]||Q),wt(r[7]||Q),wt(r[9]||Q),n):new Xe(Q,Q,Q,Q,Q)}static file(t){let n=Q;if(Ke&&(t=t.replace(/\\\\/g,be)),t[0]===be&&t[1]===be){const r=t.indexOf(be,2);r===-1?(n=t.substring(2),t=be):(n=t.substring(2,r),t=t.substring(r)||be)}return new Xe(\"file\",n,t,Q,Q)}static from(t){const n=new Xe(t.scheme,t.authority,t.path,t.query,t.fragment);return Vn(n,!0),n}static joinPath(t,...n){if(!t.path)throw new Error(\"[UriError]: cannot call joinPath on URI without path\");let r;return Ke&&t.scheme===\"file\"?r=Be.file(se.join(Kt(t,!0),...n)).path:r=ue.join(t.path,...n),t.with({path:r})}toString(t=!1){return en(this,t)}toJSON(){return this}static revive(t){if(t){if(t instanceof Be)return t;{const n=new Xe(t);return n._formatted=t.external,n._fsPath=t._sep===jn?t.fsPath:null,n}}else return t}}const jn=Ke?1:void 0;class Xe extends Be{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=Kt(this,!1)),this._fsPath}toString(t=!1){return t?en(this,!0):(this._formatted||(this._formatted=en(this,!1)),this._formatted)}toJSON(){const t={$mid:1};return this._fsPath&&(t.fsPath=this._fsPath,t._sep=jn),this._formatted&&(t.external=this._formatted),this.path&&(t.path=this.path),this.scheme&&(t.scheme=this.scheme),this.authority&&(t.authority=this.authority),this.query&&(t.query=this.query),this.fragment&&(t.fragment=this.fragment),t}}const Gn={[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 $n(e,t){let n,r=-1;for(let i=0;i<e.length;i++){const s=e.charCodeAt(i);if(s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||s===45||s===46||s===95||s===126||t&&s===47)r!==-1&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n!==void 0&&(n+=e.charAt(i));else{n===void 0&&(n=e.substr(0,i));const l=Gn[s];l!==void 0?(r!==-1&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=l):r===-1&&(r=i)}}return r!==-1&&(n+=encodeURIComponent(e.substring(r))),n!==void 0?n:e}function Ga(e){let t;for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);r===35||r===63?(t===void 0&&(t=e.substr(0,n)),t+=Gn[r]):t!==void 0&&(t+=e[n])}return t!==void 0?t:e}function Kt(e,t){let n;return e.authority&&e.path.length>1&&e.scheme===\"file\"?n=`//${e.authority}${e.path}`:e.path.charCodeAt(0)===47&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&e.path.charCodeAt(2)===58?t?n=e.path.substr(1):n=e.path[1].toLowerCase()+e.path.substr(2):n=e.path,Ke&&(n=n.replace(/\\//g,\"\\\\\")),n}function en(e,t){const n=t?Ga:$n;let r=\"\",{scheme:i,authority:s,path:l,query:u,fragment:o}=e;if(i&&(r+=i,r+=\":\"),(s||i===\"file\")&&(r+=be,r+=be),s){let c=s.indexOf(\"@\");if(c!==-1){const h=s.substr(0,c);s=s.substr(c+1),c=h.indexOf(\":\"),c===-1?r+=n(h,!1):(r+=n(h.substr(0,c),!1),r+=\":\",r+=n(h.substr(c+1),!1)),r+=\"@\"}s=s.toLowerCase(),c=s.indexOf(\":\"),c===-1?r+=n(s,!1):(r+=n(s.substr(0,c),!1),r+=s.substr(c))}if(l){if(l.length>=3&&l.charCodeAt(0)===47&&l.charCodeAt(2)===58){const c=l.charCodeAt(1);c>=65&&c<=90&&(l=`/${String.fromCharCode(c+32)}:${l.substr(3)}`)}else if(l.length>=2&&l.charCodeAt(1)===58){const c=l.charCodeAt(0);c>=65&&c<=90&&(l=`${String.fromCharCode(c+32)}:${l.substr(2)}`)}r+=n(l,!0)}return u&&(r+=\"?\",r+=n(u,!1)),o&&(r+=\"#\",r+=t?o:$n(o,!1)),r}function Xn(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+Xn(e.substr(3)):e}}const Jn=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function wt(e){return e.match(Jn)?e.replace(Jn,t=>Xn(t)):e}class ce{constructor(t,n){this.lineNumber=t,this.column=n}with(t=this.lineNumber,n=this.column){return t===this.lineNumber&&n===this.column?this:new ce(t,n)}delta(t=0,n=0){return this.with(this.lineNumber+t,this.column+n)}equals(t){return ce.equals(this,t)}static equals(t,n){return!t&&!n?!0:!!t&&!!n&&t.lineNumber===n.lineNumber&&t.column===n.column}isBefore(t){return ce.isBefore(this,t)}static isBefore(t,n){return t.lineNumber<n.lineNumber?!0:n.lineNumber<t.lineNumber?!1:t.column<n.column}isBeforeOrEqual(t){return ce.isBeforeOrEqual(this,t)}static isBeforeOrEqual(t,n){return t.lineNumber<n.lineNumber?!0:n.lineNumber<t.lineNumber?!1:t.column<=n.column}static compare(t,n){const r=t.lineNumber|0,i=n.lineNumber|0;if(r===i){const s=t.column|0,l=n.column|0;return s-l}return r-i}clone(){return new ce(this.lineNumber,this.column)}toString(){return\"(\"+this.lineNumber+\",\"+this.column+\")\"}static lift(t){return new ce(t.lineNumber,t.column)}static isIPosition(t){return t&&typeof t.lineNumber==\"number\"&&typeof t.column==\"number\"}}class Z{constructor(t,n,r,i){t>r||t===r&&n>i?(this.startLineNumber=r,this.startColumn=i,this.endLineNumber=t,this.endColumn=n):(this.startLineNumber=t,this.startColumn=n,this.endLineNumber=r,this.endColumn=i)}isEmpty(){return Z.isEmpty(this)}static isEmpty(t){return t.startLineNumber===t.endLineNumber&&t.startColumn===t.endColumn}containsPosition(t){return Z.containsPosition(this,t)}static containsPosition(t,n){return!(n.lineNumber<t.startLineNumber||n.lineNumber>t.endLineNumber||n.lineNumber===t.startLineNumber&&n.column<t.startColumn||n.lineNumber===t.endLineNumber&&n.column>t.endColumn)}static strictContainsPosition(t,n){return!(n.lineNumber<t.startLineNumber||n.lineNumber>t.endLineNumber||n.lineNumber===t.startLineNumber&&n.column<=t.startColumn||n.lineNumber===t.endLineNumber&&n.column>=t.endColumn)}containsRange(t){return Z.containsRange(this,t)}static containsRange(t,n){return!(n.startLineNumber<t.startLineNumber||n.endLineNumber<t.startLineNumber||n.startLineNumber>t.endLineNumber||n.endLineNumber>t.endLineNumber||n.startLineNumber===t.startLineNumber&&n.startColumn<t.startColumn||n.endLineNumber===t.endLineNumber&&n.endColumn>t.endColumn)}strictContainsRange(t){return Z.strictContainsRange(this,t)}static strictContainsRange(t,n){return!(n.startLineNumber<t.startLineNumber||n.endLineNumber<t.startLineNumber||n.startLineNumber>t.endLineNumber||n.endLineNumber>t.endLineNumber||n.startLineNumber===t.startLineNumber&&n.startColumn<=t.startColumn||n.endLineNumber===t.endLineNumber&&n.endColumn>=t.endColumn)}plusRange(t){return Z.plusRange(this,t)}static plusRange(t,n){let r,i,s,l;return n.startLineNumber<t.startLineNumber?(r=n.startLineNumber,i=n.startColumn):n.startLineNumber===t.startLineNumber?(r=n.startLineNumber,i=Math.min(n.startColumn,t.startColumn)):(r=t.startLineNumber,i=t.startColumn),n.endLineNumber>t.endLineNumber?(s=n.endLineNumber,l=n.endColumn):n.endLineNumber===t.endLineNumber?(s=n.endLineNumber,l=Math.max(n.endColumn,t.endColumn)):(s=t.endLineNumber,l=t.endColumn),new Z(r,i,s,l)}intersectRanges(t){return Z.intersectRanges(this,t)}static intersectRanges(t,n){let r=t.startLineNumber,i=t.startColumn,s=t.endLineNumber,l=t.endColumn,u=n.startLineNumber,o=n.startColumn,c=n.endLineNumber,h=n.endColumn;return r<u?(r=u,i=o):r===u&&(i=Math.max(i,o)),s>c?(s=c,l=h):s===c&&(l=Math.min(l,h)),r>s||r===s&&i>l?null:new Z(r,i,s,l)}equalsRange(t){return Z.equalsRange(this,t)}static equalsRange(t,n){return!!t&&!!n&&t.startLineNumber===n.startLineNumber&&t.startColumn===n.startColumn&&t.endLineNumber===n.endLineNumber&&t.endColumn===n.endColumn}getEndPosition(){return Z.getEndPosition(this)}static getEndPosition(t){return new ce(t.endLineNumber,t.endColumn)}getStartPosition(){return Z.getStartPosition(this)}static getStartPosition(t){return new ce(t.startLineNumber,t.startColumn)}toString(){return\"[\"+this.startLineNumber+\",\"+this.startColumn+\" -> \"+this.endLineNumber+\",\"+this.endColumn+\"]\"}setEndPosition(t,n){return new Z(this.startLineNumber,this.startColumn,t,n)}setStartPosition(t,n){return new Z(t,n,this.endLineNumber,this.endColumn)}collapseToStart(){return Z.collapseToStart(this)}static collapseToStart(t){return new Z(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)}static fromPositions(t,n=t){return new Z(t.lineNumber,t.column,n.lineNumber,n.column)}static lift(t){return t?new Z(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null}static isIRange(t){return t&&typeof t.startLineNumber==\"number\"&&typeof t.startColumn==\"number\"&&typeof t.endLineNumber==\"number\"&&typeof t.endColumn==\"number\"}static areIntersectingOrTouching(t,n){return!(t.endLineNumber<n.startLineNumber||t.endLineNumber===n.startLineNumber&&t.endColumn<n.startColumn||n.endLineNumber<t.startLineNumber||n.endLineNumber===t.startLineNumber&&n.endColumn<t.startColumn)}static areIntersecting(t,n){return!(t.endLineNumber<n.startLineNumber||t.endLineNumber===n.startLineNumber&&t.endColumn<=n.startColumn||n.endLineNumber<t.startLineNumber||n.endLineNumber===t.startLineNumber&&n.endColumn<=t.startColumn)}static compareRangesUsingStarts(t,n){if(t&&n){const s=t.startLineNumber|0,l=n.startLineNumber|0;if(s===l){const u=t.startColumn|0,o=n.startColumn|0;if(u===o){const c=t.endLineNumber|0,h=n.endLineNumber|0;if(c===h){const d=t.endColumn|0,f=n.endColumn|0;return d-f}return c-h}return u-o}return s-l}return(t?1:0)-(n?1:0)}static compareRangesUsingEnds(t,n){return t.endLineNumber===n.endLineNumber?t.endColumn===n.endColumn?t.startLineNumber===n.startLineNumber?t.startColumn-n.startColumn:t.startLineNumber-n.startLineNumber:t.endColumn-n.endColumn:t.endLineNumber-n.endLineNumber}static spansMultipleLines(t){return t.endLineNumber>t.startLineNumber}toJSON(){return this}}const $a=3;function Yn(e,t,n,r){return new Ee(e,t,n).ComputeDiff(r)}class Qn{constructor(t){const n=[],r=[];for(let i=0,s=t.length;i<s;i++)n[i]=tn(t[i],1),r[i]=nn(t[i],1);this.lines=t,this._startColumns=n,this._endColumns=r}getElements(){const t=[];for(let n=0,r=this.lines.length;n<r;n++)t[n]=this.lines[n].substring(this._startColumns[n]-1,this._endColumns[n]-1);return t}getStrictElement(t){return this.lines[t]}getStartLineNumber(t){return t+1}getEndLineNumber(t){return t+1}createCharSequence(t,n,r){const i=[],s=[],l=[];let u=0;for(let o=n;o<=r;o++){const c=this.lines[o],h=t?this._startColumns[o]:1,d=t?this._endColumns[o]:c.length+1;for(let f=h;f<d;f++)i[u]=c.charCodeAt(f-1),s[u]=o+1,l[u]=f,u++}return new Xa(i,s,l)}}class Xa{constructor(t,n,r){this._charCodes=t,this._lineNumbers=n,this._columns=r}getElements(){return this._charCodes}getStartLineNumber(t){return this._lineNumbers[t]}getStartColumn(t){return this._columns[t]}getEndLineNumber(t){return this._lineNumbers[t]}getEndColumn(t){return this._columns[t]+1}}class et{constructor(t,n,r,i,s,l,u,o){this.originalStartLineNumber=t,this.originalStartColumn=n,this.originalEndLineNumber=r,this.originalEndColumn=i,this.modifiedStartLineNumber=s,this.modifiedStartColumn=l,this.modifiedEndLineNumber=u,this.modifiedEndColumn=o}static createFromDiffChange(t,n,r){let i,s,l,u,o,c,h,d;return t.originalLength===0?(i=0,s=0,l=0,u=0):(i=n.getStartLineNumber(t.originalStart),s=n.getStartColumn(t.originalStart),l=n.getEndLineNumber(t.originalStart+t.originalLength-1),u=n.getEndColumn(t.originalStart+t.originalLength-1)),t.modifiedLength===0?(o=0,c=0,h=0,d=0):(o=r.getStartLineNumber(t.modifiedStart),c=r.getStartColumn(t.modifiedStart),h=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),d=r.getEndColumn(t.modifiedStart+t.modifiedLength-1)),new et(i,s,l,u,o,c,h,d)}}function Ja(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let r=1,i=e.length;r<i;r++){const s=e[r],l=s.originalStart-(n.originalStart+n.originalLength),u=s.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(l,u)<$a?(n.originalLength=s.originalStart+s.originalLength-n.originalStart,n.modifiedLength=s.modifiedStart+s.modifiedLength-n.modifiedStart):(t.push(s),n=s)}return t}class tt{constructor(t,n,r,i,s){this.originalStartLineNumber=t,this.originalEndLineNumber=n,this.modifiedStartLineNumber=r,this.modifiedEndLineNumber=i,this.charChanges=s}static createFromDiffResult(t,n,r,i,s,l,u){let o,c,h,d,f;if(n.originalLength===0?(o=r.getStartLineNumber(n.originalStart)-1,c=0):(o=r.getStartLineNumber(n.originalStart),c=r.getEndLineNumber(n.originalStart+n.originalLength-1)),n.modifiedLength===0?(h=i.getStartLineNumber(n.modifiedStart)-1,d=0):(h=i.getStartLineNumber(n.modifiedStart),d=i.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),l&&n.originalLength>0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&s()){const g=r.createCharSequence(t,n.originalStart,n.originalStart+n.originalLength-1),_=i.createCharSequence(t,n.modifiedStart,n.modifiedStart+n.modifiedLength-1);let b=Yn(g,_,s,!0).changes;u&&(b=Ja(b)),f=[];for(let y=0,C=b.length;y<C;y++)f.push(et.createFromDiffChange(b[y],g,_))}return new tt(o,c,h,d,f)}}class Ya{constructor(t,n,r){this.shouldComputeCharChanges=r.shouldComputeCharChanges,this.shouldPostProcessCharChanges=r.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=r.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=r.shouldMakePrettyDiff,this.originalLines=t,this.modifiedLines=n,this.original=new Qn(t),this.modified=new Qn(n),this.continueLineDiff=Zn(r.maxComputationTime),this.continueCharDiff=Zn(r.maxComputationTime===0?0:Math.min(r.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:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber: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:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};const t=Yn(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),n=t.changes,r=t.quitEarly;if(this.shouldIgnoreTrimWhitespace){const u=[];for(let o=0,c=n.length;o<c;o++)u.push(tt.createFromDiffResult(this.shouldIgnoreTrimWhitespace,n[o],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:r,changes:u}}const i=[];let s=0,l=0;for(let u=-1,o=n.length;u<o;u++){const c=u+1<o?n[u+1]:null,h=c?c.originalStart:this.originalLines.length,d=c?c.modifiedStart:this.modifiedLines.length;for(;s<h&&l<d;){const f=this.originalLines[s],g=this.modifiedLines[l];if(f!==g){{let _=tn(f,1),b=tn(g,1);for(;_>1&&b>1;){const y=f.charCodeAt(_-2),C=g.charCodeAt(b-2);if(y!==C)break;_--,b--}(_>1||b>1)&&this._pushTrimWhitespaceCharChange(i,s+1,1,_,l+1,1,b)}{let _=nn(f,1),b=nn(g,1);const y=f.length+1,C=g.length+1;for(;_<y&&b<C;){const w=f.charCodeAt(_-1),k=f.charCodeAt(b-1);if(w!==k)break;_++,b++}(_<y||b<C)&&this._pushTrimWhitespaceCharChange(i,s+1,_,y,l+1,b,C)}}s++,l++}c&&(i.push(tt.createFromDiffResult(this.shouldIgnoreTrimWhitespace,c,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),s+=c.originalLength,l+=c.modifiedLength)}return{quitEarly:r,changes:i}}_pushTrimWhitespaceCharChange(t,n,r,i,s,l,u){if(this._mergeTrimWhitespaceCharChange(t,n,r,i,s,l,u))return;let o;this.shouldComputeCharChanges&&(o=[new et(n,r,n,i,s,l,s,u)]),t.push(new tt(n,n,s,s,o))}_mergeTrimWhitespaceCharChange(t,n,r,i,s,l,u){const o=t.length;if(o===0)return!1;const c=t[o-1];return c.originalEndLineNumber===0||c.modifiedEndLineNumber===0?!1:c.originalEndLineNumber+1===n&&c.modifiedEndLineNumber+1===s?(c.originalEndLineNumber=n,c.modifiedEndLineNumber=s,this.shouldComputeCharChanges&&c.charChanges&&c.charChanges.push(new et(n,r,n,i,s,l,s,u)),!0):!1}}function tn(e,t){const n=ba(e);return n===-1?t:n+1}function nn(e,t){const n=wa(e);return n===-1?t:n+2}function Zn(e){if(e===0)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}function Kn(e){return e<0?0:e>255?255:e|0}function Je(e){return e<0?0:e>4294967295?4294967295:e|0}class Qa{constructor(t){this.values=t,this.prefixSum=new Uint32Array(t.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(t,n){t=Je(t);const r=this.values,i=this.prefixSum,s=n.length;return s===0?!1:(this.values=new Uint32Array(r.length+s),this.values.set(r.subarray(0,t),0),this.values.set(r.subarray(t),t+s),this.values.set(n,t),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(t,n){return t=Je(t),n=Je(n),this.values[t]===n?!1:(this.values[t]=n,t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),!0)}removeValues(t,n){t=Je(t),n=Je(n);const r=this.values,i=this.prefixSum;if(t>=r.length)return!1;const s=r.length-t;return n>=s&&(n=s),n===0?!1:(this.values=new Uint32Array(r.length-n),this.values.set(r.subarray(0,t),0),this.values.set(r.subarray(t+n),t),this.prefixSum=new Uint32Array(this.values.length),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(t){return t<0?0:(t=Je(t),this._getPrefixSum(t))}_getPrefixSum(t){if(t<=this.prefixSumValidIndex[0])return this.prefixSum[t];let n=this.prefixSumValidIndex[0]+1;n===0&&(this.prefixSum[0]=this.values[0],n++),t>=this.values.length&&(t=this.values.length-1);for(let r=n;r<=t;r++)this.prefixSum[r]=this.prefixSum[r-1]+this.values[r];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],t),this.prefixSum[t]}getIndexOf(t){t=Math.floor(t),this.getTotalSum();let n=0,r=this.values.length-1,i=0,s=0,l=0;for(;n<=r;)if(i=n+(r-n)/2|0,s=this.prefixSum[i],l=s-this.values[i],t<l)r=i-1;else if(t>=s)n=i+1;else break;return new Za(i,t-l)}}class Za{constructor(t,n){this.index=t,this.remainder=n,this._prefixSumIndexOfResultBrand=void 0,this.index=t,this.remainder=n}}class Ka{constructor(t,n,r,i){this._uri=t,this._lines=n,this._eol=r,this._versionId=i,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(t){t.eol&&t.eol!==this._eol&&(this._eol=t.eol,this._lineStarts=null);const n=t.changes;for(const r of n)this._acceptDeleteRange(r.range),this._acceptInsertText(new ce(r.range.startLineNumber,r.range.startColumn),r.text);this._versionId=t.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const t=this._eol.length,n=this._lines.length,r=new Uint32Array(n);for(let i=0;i<n;i++)r[i]=this._lines[i].length+t;this._lineStarts=new Qa(r)}}_setLineText(t,n){this._lines[t]=n,this._lineStarts&&this._lineStarts.setValue(t,this._lines[t].length+this._eol.length)}_acceptDeleteRange(t){if(t.startLineNumber===t.endLineNumber){if(t.startColumn===t.endColumn)return;this._setLineText(t.startLineNumber-1,this._lines[t.startLineNumber-1].substring(0,t.startColumn-1)+this._lines[t.startLineNumber-1].substring(t.endColumn-1));return}this._setLineText(t.startLineNumber-1,this._lines[t.startLineNumber-1].substring(0,t.startColumn-1)+this._lines[t.endLineNumber-1].substring(t.endColumn-1)),this._lines.splice(t.startLineNumber,t.endLineNumber-t.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(t.startLineNumber,t.endLineNumber-t.startLineNumber)}_acceptInsertText(t,n){if(n.length===0)return;const r=ga(n);if(r.length===1){this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+r[0]+this._lines[t.lineNumber-1].substring(t.column-1));return}r[r.length-1]+=this._lines[t.lineNumber-1].substring(t.column-1),this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+r[0]);const i=new Uint32Array(r.length-1);for(let s=1;s<r.length;s++)this._lines.splice(t.lineNumber+s-1,0,r[s]),i[s-1]=r[s].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(t.lineNumber,i)}}const es=\"`~!@#$%^&*()-=+[{]}\\\\|;:'\\\",.<>/?\";function ts(e=\"\"){let t=\"(-?\\\\d*\\\\.\\\\d\\\\w*)|([^\";for(const n of es)e.indexOf(n)>=0||(t+=\"\\\\\"+n);return t+=\"\\\\s]+)\",new RegExp(t,\"g\")}const er=ts();function ns(e){let t=er;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n=\"g\";e.ignoreCase&&(n+=\"i\"),e.multiline&&(n+=\"m\"),e.unicode&&(n+=\"u\"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const rs={maxLen:1e3,windowSize:15,timeBudget:150};function rn(e,t,n,r,i=rs){if(n.length>i.maxLen){let c=e-i.maxLen/2;return c<0?c=0:r+=c,n=n.substring(c,e+i.maxLen/2),rn(e,t,n,r,i)}const s=Date.now(),l=e-1-r;let u=-1,o=null;for(let c=1;!(Date.now()-s>=i.timeBudget);c++){const h=l-i.windowSize*c;t.lastIndex=Math.max(0,h);const d=is(t,n,l,u);if(!d&&o||(o=d,h<=0))break;u=h}if(o){const c={word:o[0],startColumn:r+1+o.index,endColumn:r+1+o.index+o[0].length};return t.lastIndex=0,c}return null}function is(e,t,n,r){let i;for(;i=e.exec(t);){const s=i.index||0;if(s<=n&&e.lastIndex>=n)return i;if(r>0&&s>r)return null}return null}class an{constructor(t){const n=Kn(t);this._defaultValue=n,this._asciiMap=an._createAsciiMap(n),this._map=new Map}static _createAsciiMap(t){const n=new Uint8Array(256);for(let r=0;r<256;r++)n[r]=t;return n}set(t,n){const r=Kn(n);t>=0&&t<256?this._asciiMap[t]=r:this._map.set(t,r)}get(t){return t>=0&&t<256?this._asciiMap[t]:this._map.get(t)||this._defaultValue}}class as{constructor(t,n,r){const i=new Uint8Array(t*n);for(let s=0,l=t*n;s<l;s++)i[s]=r;this._data=i,this.rows=t,this.cols=n}get(t,n){return this._data[t*this.cols+n]}set(t,n,r){this._data[t*this.cols+n]=r}}class ss{constructor(t){let n=0,r=0;for(let s=0,l=t.length;s<l;s++){const[u,o,c]=t[s];o>n&&(n=o),u>r&&(r=u),c>r&&(r=c)}n++,r++;const i=new as(r,n,0);for(let s=0,l=t.length;s<l;s++){const[u,o,c]=t[s];i.set(u,o,c)}this._states=i,this._maxCharCode=n}nextState(t,n){return n<0||n>=this._maxCharCode?0:this._states.get(t,n)}}let sn=null;function os(){return sn===null&&(sn=new ss([[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]])),sn}let nt=null;function ls(){if(nt===null){nt=new an(0);const e=` \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`;for(let n=0;n<e.length;n++)nt.set(e.charCodeAt(n),1);const t=\".,;\";for(let n=0;n<t.length;n++)nt.set(t.charCodeAt(n),2)}return nt}class vt{static _createLink(t,n,r,i,s){let l=s-1;do{const u=n.charCodeAt(l);if(t.get(u)!==2)break;l--}while(l>i);if(i>0){const u=n.charCodeAt(i-1),o=n.charCodeAt(l);(u===40&&o===41||u===91&&o===93||u===123&&o===125)&&l--}return{range:{startLineNumber:r,startColumn:i+1,endLineNumber:r,endColumn:l+2},url:n.substring(i,l+1)}}static computeLinks(t,n=os()){const r=ls(),i=[];for(let s=1,l=t.getLineCount();s<=l;s++){const u=t.getLineContent(s),o=u.length;let c=0,h=0,d=0,f=1,g=!1,_=!1,b=!1,y=!1;for(;c<o;){let C=!1;const w=u.charCodeAt(c);if(f===13){let k;switch(w){case 40:g=!0,k=0;break;case 41:k=g?0:1;break;case 91:b=!0,_=!0,k=0;break;case 93:b=!1,k=_?0:1;break;case 123:y=!0,k=0;break;case 125:k=y?0:1;break;case 39:k=d===34||d===96?0:1;break;case 34:k=d===39||d===96?0:1;break;case 96:k=d===39||d===34?0:1;break;case 42:k=d===42?1:0;break;case 124:k=d===124?1:0;break;case 32:k=b?0:1;break;default:k=r.get(w)}k===1&&(i.push(vt._createLink(r,u,s,h,c)),C=!0)}else if(f===12){let k;w===91?(_=!0,k=0):k=r.get(w),k===1?C=!0:f=13}else f=n.nextState(f,w),f===0&&(C=!0);C&&(f=1,g=!1,_=!1,y=!1,h=c+1,d=w),c++}f===13&&i.push(vt._createLink(r,u,s,h,o))}return i}}function us(e){return!e||typeof e.getLineCount!=\"function\"||typeof e.getLineContent!=\"function\"?[]:vt.computeLinks(e)}class on{constructor(){this._defaultValueSet=[[\"true\",\"false\"],[\"True\",\"False\"],[\"Private\",\"Public\",\"Friend\",\"ReadOnly\",\"Partial\",\"Protected\",\"WriteOnly\"],[\"public\",\"protected\",\"private\"]]}navigateValueSet(t,n,r,i,s){if(t&&n){const l=this.doNavigateValueSet(n,s);if(l)return{range:t,value:l}}if(r&&i){const l=this.doNavigateValueSet(i,s);if(l)return{range:r,value:l}}return null}doNavigateValueSet(t,n){const r=this.numberReplace(t,n);return r!==null?r:this.textReplace(t,n)}numberReplace(t,n){const r=Math.pow(10,t.length-(t.lastIndexOf(\".\")+1));let i=Number(t),s=parseFloat(t);return!isNaN(i)&&!isNaN(s)&&i===s?i===0&&!n?null:(i=Math.floor(i*r),i+=n?r:-r,String(i/r)):null}textReplace(t,n){return this.valueSetsReplace(this._defaultValueSet,t,n)}valueSetsReplace(t,n,r){let i=null;for(let s=0,l=t.length;i===null&&s<l;s++)i=this.valueSetReplace(t[s],n,r);return i}valueSetReplace(t,n,r){let i=t.indexOf(n);return i>=0?(i+=r?1:-1,i<0?i=t.length-1:i%=t.length,t[i]):null}}on.INSTANCE=new on;const tr=Object.freeze(function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}});var _t;(function(e){function t(n){return n===e.None||n===e.Cancelled||n instanceof yt?!0:!n||typeof n!=\"object\"?!1:typeof n.isCancellationRequested==\"boolean\"&&typeof n.onCancellationRequested==\"function\"}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:$t.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:tr})})(_t||(_t={}));class yt{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?tr:(this._emitter||(this._emitter=new Ce),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class cs{constructor(t){this._token=void 0,this._parentListener=void 0,this._parentListener=t&&t.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new yt),this._token}cancel(){this._token?this._token instanceof yt&&this._token.cancel():this._token=_t.Cancelled}dispose(t=!1){t&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof yt&&this._token.dispose():this._token=_t.None}}class ln{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(t,n){this._keyCodeToStr[t]=n,this._strToKeyCode[n.toLowerCase()]=t}keyCodeToStr(t){return this._keyCodeToStr[t]}strToKeyCode(t){return this._strToKeyCode[t.toLowerCase()]||0}}const Tt=new ln,un=new ln,cn=new ln,hs=new Array(230),ds=Object.create(null),fs=Object.create(null);(function(){const e=\"\",t=[[0,1,0,\"None\",0,\"unknown\",0,\"VK_UNKNOWN\",e,e],[0,1,1,\"Hyper\",0,e,0,e,e,e],[0,1,2,\"Super\",0,e,0,e,e,e],[0,1,3,\"Fn\",0,e,0,e,e,e],[0,1,4,\"FnLock\",0,e,0,e,e,e],[0,1,5,\"Suspend\",0,e,0,e,e,e],[0,1,6,\"Resume\",0,e,0,e,e,e],[0,1,7,\"Turbo\",0,e,0,e,e,e],[0,1,8,\"Sleep\",0,e,0,\"VK_SLEEP\",e,e],[0,1,9,\"WakeUp\",0,e,0,e,e,e],[31,0,10,\"KeyA\",31,\"A\",65,\"VK_A\",e,e],[32,0,11,\"KeyB\",32,\"B\",66,\"VK_B\",e,e],[33,0,12,\"KeyC\",33,\"C\",67,\"VK_C\",e,e],[34,0,13,\"KeyD\",34,\"D\",68,\"VK_D\",e,e],[35,0,14,\"KeyE\",35,\"E\",69,\"VK_E\",e,e],[36,0,15,\"KeyF\",36,\"F\",70,\"VK_F\",e,e],[37,0,16,\"KeyG\",37,\"G\",71,\"VK_G\",e,e],[38,0,17,\"KeyH\",38,\"H\",72,\"VK_H\",e,e],[39,0,18,\"KeyI\",39,\"I\",73,\"VK_I\",e,e],[40,0,19,\"KeyJ\",40,\"J\",74,\"VK_J\",e,e],[41,0,20,\"KeyK\",41,\"K\",75,\"VK_K\",e,e],[42,0,21,\"KeyL\",42,\"L\",76,\"VK_L\",e,e],[43,0,22,\"KeyM\",43,\"M\",77,\"VK_M\",e,e],[44,0,23,\"KeyN\",44,\"N\",78,\"VK_N\",e,e],[45,0,24,\"KeyO\",45,\"O\",79,\"VK_O\",e,e],[46,0,25,\"KeyP\",46,\"P\",80,\"VK_P\",e,e],[47,0,26,\"KeyQ\",47,\"Q\",81,\"VK_Q\",e,e],[48,0,27,\"KeyR\",48,\"R\",82,\"VK_R\",e,e],[49,0,28,\"KeyS\",49,\"S\",83,\"VK_S\",e,e],[50,0,29,\"KeyT\",50,\"T\",84,\"VK_T\",e,e],[51,0,30,\"KeyU\",51,\"U\",85,\"VK_U\",e,e],[52,0,31,\"KeyV\",52,\"V\",86,\"VK_V\",e,e],[53,0,32,\"KeyW\",53,\"W\",87,\"VK_W\",e,e],[54,0,33,\"KeyX\",54,\"X\",88,\"VK_X\",e,e],[55,0,34,\"KeyY\",55,\"Y\",89,\"VK_Y\",e,e],[56,0,35,\"KeyZ\",56,\"Z\",90,\"VK_Z\",e,e],[22,0,36,\"Digit1\",22,\"1\",49,\"VK_1\",e,e],[23,0,37,\"Digit2\",23,\"2\",50,\"VK_2\",e,e],[24,0,38,\"Digit3\",24,\"3\",51,\"VK_3\",e,e],[25,0,39,\"Digit4\",25,\"4\",52,\"VK_4\",e,e],[26,0,40,\"Digit5\",26,\"5\",53,\"VK_5\",e,e],[27,0,41,\"Digit6\",27,\"6\",54,\"VK_6\",e,e],[28,0,42,\"Digit7\",28,\"7\",55,\"VK_7\",e,e],[29,0,43,\"Digit8\",29,\"8\",56,\"VK_8\",e,e],[30,0,44,\"Digit9\",30,\"9\",57,\"VK_9\",e,e],[21,0,45,\"Digit0\",21,\"0\",48,\"VK_0\",e,e],[3,1,46,\"Enter\",3,\"Enter\",13,\"VK_RETURN\",e,e],[9,1,47,\"Escape\",9,\"Escape\",27,\"VK_ESCAPE\",e,e],[1,1,48,\"Backspace\",1,\"Backspace\",8,\"VK_BACK\",e,e],[2,1,49,\"Tab\",2,\"Tab\",9,\"VK_TAB\",e,e],[10,1,50,\"Space\",10,\"Space\",32,\"VK_SPACE\",e,e],[83,0,51,\"Minus\",83,\"-\",189,\"VK_OEM_MINUS\",\"-\",\"OEM_MINUS\"],[81,0,52,\"Equal\",81,\"=\",187,\"VK_OEM_PLUS\",\"=\",\"OEM_PLUS\"],[87,0,53,\"BracketLeft\",87,\"[\",219,\"VK_OEM_4\",\"[\",\"OEM_4\"],[89,0,54,\"BracketRight\",89,\"]\",221,\"VK_OEM_6\",\"]\",\"OEM_6\"],[88,0,55,\"Backslash\",88,\"\\\\\",220,\"VK_OEM_5\",\"\\\\\",\"OEM_5\"],[0,0,56,\"IntlHash\",0,e,0,e,e,e],[80,0,57,\"Semicolon\",80,\";\",186,\"VK_OEM_1\",\";\",\"OEM_1\"],[90,0,58,\"Quote\",90,\"'\",222,\"VK_OEM_7\",\"'\",\"OEM_7\"],[86,0,59,\"Backquote\",86,\"`\",192,\"VK_OEM_3\",\"`\",\"OEM_3\"],[82,0,60,\"Comma\",82,\",\",188,\"VK_OEM_COMMA\",\",\",\"OEM_COMMA\"],[84,0,61,\"Period\",84,\".\",190,\"VK_OEM_PERIOD\",\".\",\"OEM_PERIOD\"],[85,0,62,\"Slash\",85,\"/\",191,\"VK_OEM_2\",\"/\",\"OEM_2\"],[8,1,63,\"CapsLock\",8,\"CapsLock\",20,\"VK_CAPITAL\",e,e],[59,1,64,\"F1\",59,\"F1\",112,\"VK_F1\",e,e],[60,1,65,\"F2\",60,\"F2\",113,\"VK_F2\",e,e],[61,1,66,\"F3\",61,\"F3\",114,\"VK_F3\",e,e],[62,1,67,\"F4\",62,\"F4\",115,\"VK_F4\",e,e],[63,1,68,\"F5\",63,\"F5\",116,\"VK_F5\",e,e],[64,1,69,\"F6\",64,\"F6\",117,\"VK_F6\",e,e],[65,1,70,\"F7\",65,\"F7\",118,\"VK_F7\",e,e],[66,1,71,\"F8\",66,\"F8\",119,\"VK_F8\",e,e],[67,1,72,\"F9\",67,\"F9\",120,\"VK_F9\",e,e],[68,1,73,\"F10\",68,\"F10\",121,\"VK_F10\",e,e],[69,1,74,\"F11\",69,\"F11\",122,\"VK_F11\",e,e],[70,1,75,\"F12\",70,\"F12\",123,\"VK_F12\",e,e],[0,1,76,\"PrintScreen\",0,e,0,e,e,e],[79,1,77,\"ScrollLock\",79,\"ScrollLock\",145,\"VK_SCROLL\",e,e],[7,1,78,\"Pause\",7,\"PauseBreak\",19,\"VK_PAUSE\",e,e],[19,1,79,\"Insert\",19,\"Insert\",45,\"VK_INSERT\",e,e],[14,1,80,\"Home\",14,\"Home\",36,\"VK_HOME\",e,e],[11,1,81,\"PageUp\",11,\"PageUp\",33,\"VK_PRIOR\",e,e],[20,1,82,\"Delete\",20,\"Delete\",46,\"VK_DELETE\",e,e],[13,1,83,\"End\",13,\"End\",35,\"VK_END\",e,e],[12,1,84,\"PageDown\",12,\"PageDown\",34,\"VK_NEXT\",e,e],[17,1,85,\"ArrowRight\",17,\"RightArrow\",39,\"VK_RIGHT\",\"Right\",e],[15,1,86,\"ArrowLeft\",15,\"LeftArrow\",37,\"VK_LEFT\",\"Left\",e],[18,1,87,\"ArrowDown\",18,\"DownArrow\",40,\"VK_DOWN\",\"Down\",e],[16,1,88,\"ArrowUp\",16,\"UpArrow\",38,\"VK_UP\",\"Up\",e],[78,1,89,\"NumLock\",78,\"NumLock\",144,\"VK_NUMLOCK\",e,e],[108,1,90,\"NumpadDivide\",108,\"NumPad_Divide\",111,\"VK_DIVIDE\",e,e],[103,1,91,\"NumpadMultiply\",103,\"NumPad_Multiply\",106,\"VK_MULTIPLY\",e,e],[106,1,92,\"NumpadSubtract\",106,\"NumPad_Subtract\",109,\"VK_SUBTRACT\",e,e],[104,1,93,\"NumpadAdd\",104,\"NumPad_Add\",107,\"VK_ADD\",e,e],[3,1,94,\"NumpadEnter\",3,e,0,e,e,e],[94,1,95,\"Numpad1\",94,\"NumPad1\",97,\"VK_NUMPAD1\",e,e],[95,1,96,\"Numpad2\",95,\"NumPad2\",98,\"VK_NUMPAD2\",e,e],[96,1,97,\"Numpad3\",96,\"NumPad3\",99,\"VK_NUMPAD3\",e,e],[97,1,98,\"Numpad4\",97,\"NumPad4\",100,\"VK_NUMPAD4\",e,e],[98,1,99,\"Numpad5\",98,\"NumPad5\",101,\"VK_NUMPAD5\",e,e],[99,1,100,\"Numpad6\",99,\"NumPad6\",102,\"VK_NUMPAD6\",e,e],[100,1,101,\"Numpad7\",100,\"NumPad7\",103,\"VK_NUMPAD7\",e,e],[101,1,102,\"Numpad8\",101,\"NumPad8\",104,\"VK_NUMPAD8\",e,e],[102,1,103,\"Numpad9\",102,\"NumPad9\",105,\"VK_NUMPAD9\",e,e],[93,1,104,\"Numpad0\",93,\"NumPad0\",96,\"VK_NUMPAD0\",e,e],[107,1,105,\"NumpadDecimal\",107,\"NumPad_Decimal\",110,\"VK_DECIMAL\",e,e],[92,0,106,\"IntlBackslash\",92,\"OEM_102\",226,\"VK_OEM_102\",e,e],[58,1,107,\"ContextMenu\",58,\"ContextMenu\",93,e,e,e],[0,1,108,\"Power\",0,e,0,e,e,e],[0,1,109,\"NumpadEqual\",0,e,0,e,e,e],[71,1,110,\"F13\",71,\"F13\",124,\"VK_F13\",e,e],[72,1,111,\"F14\",72,\"F14\",125,\"VK_F14\",e,e],[73,1,112,\"F15\",73,\"F15\",126,\"VK_F15\",e,e],[74,1,113,\"F16\",74,\"F16\",127,\"VK_F16\",e,e],[75,1,114,\"F17\",75,\"F17\",128,\"VK_F17\",e,e],[76,1,115,\"F18\",76,\"F18\",129,\"VK_F18\",e,e],[77,1,116,\"F19\",77,\"F19\",130,\"VK_F19\",e,e],[0,1,117,\"F20\",0,e,0,\"VK_F20\",e,e],[0,1,118,\"F21\",0,e,0,\"VK_F21\",e,e],[0,1,119,\"F22\",0,e,0,\"VK_F22\",e,e],[0,1,120,\"F23\",0,e,0,\"VK_F23\",e,e],[0,1,121,\"F24\",0,e,0,\"VK_F24\",e,e],[0,1,122,\"Open\",0,e,0,e,e,e],[0,1,123,\"Help\",0,e,0,e,e,e],[0,1,124,\"Select\",0,e,0,e,e,e],[0,1,125,\"Again\",0,e,0,e,e,e],[0,1,126,\"Undo\",0,e,0,e,e,e],[0,1,127,\"Cut\",0,e,0,e,e,e],[0,1,128,\"Copy\",0,e,0,e,e,e],[0,1,129,\"Paste\",0,e,0,e,e,e],[0,1,130,\"Find\",0,e,0,e,e,e],[0,1,131,\"AudioVolumeMute\",112,\"AudioVolumeMute\",173,\"VK_VOLUME_MUTE\",e,e],[0,1,132,\"AudioVolumeUp\",113,\"AudioVolumeUp\",175,\"VK_VOLUME_UP\",e,e],[0,1,133,\"AudioVolumeDown\",114,\"AudioVolumeDown\",174,\"VK_VOLUME_DOWN\",e,e],[105,1,134,\"NumpadComma\",105,\"NumPad_Separator\",108,\"VK_SEPARATOR\",e,e],[110,0,135,\"IntlRo\",110,\"ABNT_C1\",193,\"VK_ABNT_C1\",e,e],[0,1,136,\"KanaMode\",0,e,0,e,e,e],[0,0,137,\"IntlYen\",0,e,0,e,e,e],[0,1,138,\"Convert\",0,e,0,e,e,e],[0,1,139,\"NonConvert\",0,e,0,e,e,e],[0,1,140,\"Lang1\",0,e,0,e,e,e],[0,1,141,\"Lang2\",0,e,0,e,e,e],[0,1,142,\"Lang3\",0,e,0,e,e,e],[0,1,143,\"Lang4\",0,e,0,e,e,e],[0,1,144,\"Lang5\",0,e,0,e,e,e],[0,1,145,\"Abort\",0,e,0,e,e,e],[0,1,146,\"Props\",0,e,0,e,e,e],[0,1,147,\"NumpadParenLeft\",0,e,0,e,e,e],[0,1,148,\"NumpadParenRight\",0,e,0,e,e,e],[0,1,149,\"NumpadBackspace\",0,e,0,e,e,e],[0,1,150,\"NumpadMemoryStore\",0,e,0,e,e,e],[0,1,151,\"NumpadMemoryRecall\",0,e,0,e,e,e],[0,1,152,\"NumpadMemoryClear\",0,e,0,e,e,e],[0,1,153,\"NumpadMemoryAdd\",0,e,0,e,e,e],[0,1,154,\"NumpadMemorySubtract\",0,e,0,e,e,e],[0,1,155,\"NumpadClear\",126,\"Clear\",12,\"VK_CLEAR\",e,e],[0,1,156,\"NumpadClearEntry\",0,e,0,e,e,e],[5,1,0,e,5,\"Ctrl\",17,\"VK_CONTROL\",e,e],[4,1,0,e,4,\"Shift\",16,\"VK_SHIFT\",e,e],[6,1,0,e,6,\"Alt\",18,\"VK_MENU\",e,e],[57,1,0,e,57,\"Meta\",0,\"VK_COMMAND\",e,e],[5,1,157,\"ControlLeft\",5,e,0,\"VK_LCONTROL\",e,e],[4,1,158,\"ShiftLeft\",4,e,0,\"VK_LSHIFT\",e,e],[6,1,159,\"AltLeft\",6,e,0,\"VK_LMENU\",e,e],[57,1,160,\"MetaLeft\",57,e,0,\"VK_LWIN\",e,e],[5,1,161,\"ControlRight\",5,e,0,\"VK_RCONTROL\",e,e],[4,1,162,\"ShiftRight\",4,e,0,\"VK_RSHIFT\",e,e],[6,1,163,\"AltRight\",6,e,0,\"VK_RMENU\",e,e],[57,1,164,\"MetaRight\",57,e,0,\"VK_RWIN\",e,e],[0,1,165,\"BrightnessUp\",0,e,0,e,e,e],[0,1,166,\"BrightnessDown\",0,e,0,e,e,e],[0,1,167,\"MediaPlay\",0,e,0,e,e,e],[0,1,168,\"MediaRecord\",0,e,0,e,e,e],[0,1,169,\"MediaFastForward\",0,e,0,e,e,e],[0,1,170,\"MediaRewind\",0,e,0,e,e,e],[114,1,171,\"MediaTrackNext\",119,\"MediaTrackNext\",176,\"VK_MEDIA_NEXT_TRACK\",e,e],[115,1,172,\"MediaTrackPrevious\",120,\"MediaTrackPrevious\",177,\"VK_MEDIA_PREV_TRACK\",e,e],[116,1,173,\"MediaStop\",121,\"MediaStop\",178,\"VK_MEDIA_STOP\",e,e],[0,1,174,\"Eject\",0,e,0,e,e,e],[117,1,175,\"MediaPlayPause\",122,\"MediaPlayPause\",179,\"VK_MEDIA_PLAY_PAUSE\",e,e],[0,1,176,\"MediaSelect\",123,\"LaunchMediaPlayer\",181,\"VK_MEDIA_LAUNCH_MEDIA_SELECT\",e,e],[0,1,177,\"LaunchMail\",124,\"LaunchMail\",180,\"VK_MEDIA_LAUNCH_MAIL\",e,e],[0,1,178,\"LaunchApp2\",125,\"LaunchApp2\",183,\"VK_MEDIA_LAUNCH_APP2\",e,e],[0,1,179,\"LaunchApp1\",0,e,0,\"VK_MEDIA_LAUNCH_APP1\",e,e],[0,1,180,\"SelectTask\",0,e,0,e,e,e],[0,1,181,\"LaunchScreenSaver\",0,e,0,e,e,e],[0,1,182,\"BrowserSearch\",115,\"BrowserSearch\",170,\"VK_BROWSER_SEARCH\",e,e],[0,1,183,\"BrowserHome\",116,\"BrowserHome\",172,\"VK_BROWSER_HOME\",e,e],[112,1,184,\"BrowserBack\",117,\"BrowserBack\",166,\"VK_BROWSER_BACK\",e,e],[113,1,185,\"BrowserForward\",118,\"BrowserForward\",167,\"VK_BROWSER_FORWARD\",e,e],[0,1,186,\"BrowserStop\",0,e,0,\"VK_BROWSER_STOP\",e,e],[0,1,187,\"BrowserRefresh\",0,e,0,\"VK_BROWSER_REFRESH\",e,e],[0,1,188,\"BrowserFavorites\",0,e,0,\"VK_BROWSER_FAVORITES\",e,e],[0,1,189,\"ZoomToggle\",0,e,0,e,e,e],[0,1,190,\"MailReply\",0,e,0,e,e,e],[0,1,191,\"MailForward\",0,e,0,e,e,e],[0,1,192,\"MailSend\",0,e,0,e,e,e],[109,1,0,e,109,\"KeyInComposition\",229,e,e,e],[111,1,0,e,111,\"ABNT_C2\",194,\"VK_ABNT_C2\",e,e],[91,1,0,e,91,\"OEM_8\",223,\"VK_OEM_8\",e,e],[0,1,0,e,0,e,0,\"VK_KANA\",e,e],[0,1,0,e,0,e,0,\"VK_HANGUL\",e,e],[0,1,0,e,0,e,0,\"VK_JUNJA\",e,e],[0,1,0,e,0,e,0,\"VK_FINAL\",e,e],[0,1,0,e,0,e,0,\"VK_HANJA\",e,e],[0,1,0,e,0,e,0,\"VK_KANJI\",e,e],[0,1,0,e,0,e,0,\"VK_CONVERT\",e,e],[0,1,0,e,0,e,0,\"VK_NONCONVERT\",e,e],[0,1,0,e,0,e,0,\"VK_ACCEPT\",e,e],[0,1,0,e,0,e,0,\"VK_MODECHANGE\",e,e],[0,1,0,e,0,e,0,\"VK_SELECT\",e,e],[0,1,0,e,0,e,0,\"VK_PRINT\",e,e],[0,1,0,e,0,e,0,\"VK_EXECUTE\",e,e],[0,1,0,e,0,e,0,\"VK_SNAPSHOT\",e,e],[0,1,0,e,0,e,0,\"VK_HELP\",e,e],[0,1,0,e,0,e,0,\"VK_APPS\",e,e],[0,1,0,e,0,e,0,\"VK_PROCESSKEY\",e,e],[0,1,0,e,0,e,0,\"VK_PACKET\",e,e],[0,1,0,e,0,e,0,\"VK_DBE_SBCSCHAR\",e,e],[0,1,0,e,0,e,0,\"VK_DBE_DBCSCHAR\",e,e],[0,1,0,e,0,e,0,\"VK_ATTN\",e,e],[0,1,0,e,0,e,0,\"VK_CRSEL\",e,e],[0,1,0,e,0,e,0,\"VK_EXSEL\",e,e],[0,1,0,e,0,e,0,\"VK_EREOF\",e,e],[0,1,0,e,0,e,0,\"VK_PLAY\",e,e],[0,1,0,e,0,e,0,\"VK_ZOOM\",e,e],[0,1,0,e,0,e,0,\"VK_NONAME\",e,e],[0,1,0,e,0,e,0,\"VK_PA1\",e,e],[0,1,0,e,0,e,0,\"VK_OEM_CLEAR\",e,e]];let n=[],r=[];for(const i of t){const[s,l,u,o,c,h,d,f,g,_]=i;if(r[u]||(r[u]=!0,ds[o]=u,fs[o.toLowerCase()]=u),!n[c]){if(n[c]=!0,!h)throw new Error(`String representation missing for key code ${c} around scan code ${o}`);Tt.define(c,h),un.define(c,g||h),cn.define(c,_||g||h)}d&&(hs[d]=c)}})();var nr;(function(e){function t(u){return Tt.keyCodeToStr(u)}e.toString=t;function n(u){return Tt.strToKeyCode(u)}e.fromString=n;function r(u){return un.keyCodeToStr(u)}e.toUserSettingsUS=r;function i(u){return cn.keyCodeToStr(u)}e.toUserSettingsGeneral=i;function s(u){return un.strToKeyCode(u)||cn.strToKeyCode(u)}e.fromUserSettings=s;function l(u){if(u>=93&&u<=108)return null;switch(u){case 16:return\"Up\";case 18:return\"Down\";case 15:return\"Left\";case 17:return\"Right\"}return Tt.keyCodeToStr(u)}e.toElectronAccelerator=l})(nr||(nr={}));function ms(e,t){const n=(t&65535)<<16>>>0;return(e|n)>>>0}class de extends Z{constructor(t,n,r,i){super(t,n,r,i),this.selectionStartLineNumber=t,this.selectionStartColumn=n,this.positionLineNumber=r,this.positionColumn=i}toString(){return\"[\"+this.selectionStartLineNumber+\",\"+this.selectionStartColumn+\" -> \"+this.positionLineNumber+\",\"+this.positionColumn+\"]\"}equalsSelection(t){return de.selectionsEqual(this,t)}static selectionsEqual(t,n){return t.selectionStartLineNumber===n.selectionStartLineNumber&&t.selectionStartColumn===n.selectionStartColumn&&t.positionLineNumber===n.positionLineNumber&&t.positionColumn===n.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(t,n){return this.getDirection()===0?new de(this.startLineNumber,this.startColumn,t,n):new de(t,n,this.startLineNumber,this.startColumn)}getPosition(){return new ce(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new ce(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(t,n){return this.getDirection()===0?new de(t,n,this.endLineNumber,this.endColumn):new de(this.endLineNumber,this.endColumn,t,n)}static fromPositions(t,n=t){return new de(t.lineNumber,t.column,n.lineNumber,n.column)}static fromRange(t,n){return n===0?new de(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new de(t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)}static liftSelection(t){return new de(t.selectionStartLineNumber,t.selectionStartColumn,t.positionLineNumber,t.positionColumn)}static selectionsArrEqual(t,n){if(t&&!n||!t&&n)return!1;if(!t&&!n)return!0;if(t.length!==n.length)return!1;for(let r=0,i=t.length;r<i;r++)if(!this.selectionsEqual(t[r],n[r]))return!1;return!0}static isISelection(t){return t&&typeof t.selectionStartLineNumber==\"number\"&&typeof t.selectionStartColumn==\"number\"&&typeof t.positionLineNumber==\"number\"&&typeof t.positionColumn==\"number\"}static createWithDirection(t,n,r,i,s){return s===0?new de(t,n,r,i):new de(r,i,t,n)}}var hn=function(e,t,n,r){function i(s){return s instanceof n?s:new n(function(l){l(s)})}return new(n||(n=Promise))(function(s,l){function u(h){try{c(r.next(h))}catch(d){l(d)}}function o(h){try{c(r.throw(h))}catch(d){l(d)}}function c(h){h.done?s(h.value):i(h.value).then(u,o)}c((r=r.apply(e,t||[])).next())})};class ps{constructor(){this._map=new Map,this._factories=new Map,this._onDidChange=new Ce,this.onDidChange=this._onDidChange.event,this._colorMap=null}fire(t){this._onDidChange.fire({changedLanguages:t,changedColorMap:!1})}register(t,n){return this._map.set(t,n),this.fire([t]),dt(()=>{this._map.get(t)===n&&(this._map.delete(t),this.fire([t]))})}registerFactory(t,n){var r;(r=this._factories.get(t))===null||r===void 0||r.dispose();const i=new gs(this,t,n);return this._factories.set(t,i),dt(()=>{const s=this._factories.get(t);!s||s!==i||(this._factories.delete(t),s.dispose())})}getOrCreate(t){return hn(this,void 0,void 0,function*(){const n=this.get(t);if(n)return n;const r=this._factories.get(t);return!r||r.isResolved?null:(yield r.resolve(),this.get(t))})}get(t){return this._map.get(t)||null}isResolved(t){if(this.get(t))return!0;const r=this._factories.get(t);return!!(!r||r.isResolved)}setColorMap(t){this._colorMap=t,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class gs extends Pt{constructor(t,n,r){super(),this._registry=t,this._languageId=n,this._factory=r,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}get isResolved(){return this._isResolved}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return hn(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return hn(this,void 0,void 0,function*(){const t=yield Promise.resolve(this._factory.createTokenizationSupport());this._isResolved=!0,t&&!this._isDisposed&&this._register(this._registry.register(this._languageId,t))})}}class a{constructor(t,n,r){this.id=t,this.definition=n,this.description=r,a._allCodicons.push(this)}get classNames(){return\"codicon codicon-\"+this.id}get classNamesArray(){return[\"codicon\",\"codicon-\"+this.id]}get cssSelector(){return\".codicon.codicon-\"+this.id}static getAll(){return a._allCodicons}}a._allCodicons=[],a.add=new a(\"add\",{fontCharacter:\"\\\\ea60\"}),a.plus=new a(\"plus\",a.add.definition),a.gistNew=new a(\"gist-new\",a.add.definition),a.repoCreate=new a(\"repo-create\",a.add.definition),a.lightbulb=new a(\"lightbulb\",{fontCharacter:\"\\\\ea61\"}),a.lightBulb=new a(\"light-bulb\",{fontCharacter:\"\\\\ea61\"}),a.repo=new a(\"repo\",{fontCharacter:\"\\\\ea62\"}),a.repoDelete=new a(\"repo-delete\",{fontCharacter:\"\\\\ea62\"}),a.gistFork=new a(\"gist-fork\",{fontCharacter:\"\\\\ea63\"}),a.repoForked=new a(\"repo-forked\",{fontCharacter:\"\\\\ea63\"}),a.gitPullRequest=new a(\"git-pull-request\",{fontCharacter:\"\\\\ea64\"}),a.gitPullRequestAbandoned=new a(\"git-pull-request-abandoned\",{fontCharacter:\"\\\\ea64\"}),a.recordKeys=new a(\"record-keys\",{fontCharacter:\"\\\\ea65\"}),a.keyboard=new a(\"keyboard\",{fontCharacter:\"\\\\ea65\"}),a.tag=new a(\"tag\",{fontCharacter:\"\\\\ea66\"}),a.tagAdd=new a(\"tag-add\",{fontCharacter:\"\\\\ea66\"}),a.tagRemove=new a(\"tag-remove\",{fontCharacter:\"\\\\ea66\"}),a.person=new a(\"person\",{fontCharacter:\"\\\\ea67\"}),a.personFollow=new a(\"person-follow\",{fontCharacter:\"\\\\ea67\"}),a.personOutline=new a(\"person-outline\",{fontCharacter:\"\\\\ea67\"}),a.personFilled=new a(\"person-filled\",{fontCharacter:\"\\\\ea67\"}),a.gitBranch=new a(\"git-branch\",{fontCharacter:\"\\\\ea68\"}),a.gitBranchCreate=new a(\"git-branch-create\",{fontCharacter:\"\\\\ea68\"}),a.gitBranchDelete=new a(\"git-branch-delete\",{fontCharacter:\"\\\\ea68\"}),a.sourceControl=new a(\"source-control\",{fontCharacter:\"\\\\ea68\"}),a.mirror=new a(\"mirror\",{fontCharacter:\"\\\\ea69\"}),a.mirrorPublic=new a(\"mirror-public\",{fontCharacter:\"\\\\ea69\"}),a.star=new a(\"star\",{fontCharacter:\"\\\\ea6a\"}),a.starAdd=new a(\"star-add\",{fontCharacter:\"\\\\ea6a\"}),a.starDelete=new a(\"star-delete\",{fontCharacter:\"\\\\ea6a\"}),a.starEmpty=new a(\"star-empty\",{fontCharacter:\"\\\\ea6a\"}),a.comment=new a(\"comment\",{fontCharacter:\"\\\\ea6b\"}),a.commentAdd=new a(\"comment-add\",{fontCharacter:\"\\\\ea6b\"}),a.alert=new a(\"alert\",{fontCharacter:\"\\\\ea6c\"}),a.warning=new a(\"warning\",{fontCharacter:\"\\\\ea6c\"}),a.search=new a(\"search\",{fontCharacter:\"\\\\ea6d\"}),a.searchSave=new a(\"search-save\",{fontCharacter:\"\\\\ea6d\"}),a.logOut=new a(\"log-out\",{fontCharacter:\"\\\\ea6e\"}),a.signOut=new a(\"sign-out\",{fontCharacter:\"\\\\ea6e\"}),a.logIn=new a(\"log-in\",{fontCharacter:\"\\\\ea6f\"}),a.signIn=new a(\"sign-in\",{fontCharacter:\"\\\\ea6f\"}),a.eye=new a(\"eye\",{fontCharacter:\"\\\\ea70\"}),a.eyeUnwatch=new a(\"eye-unwatch\",{fontCharacter:\"\\\\ea70\"}),a.eyeWatch=new a(\"eye-watch\",{fontCharacter:\"\\\\ea70\"}),a.circleFilled=new a(\"circle-filled\",{fontCharacter:\"\\\\ea71\"}),a.primitiveDot=new a(\"primitive-dot\",{fontCharacter:\"\\\\ea71\"}),a.closeDirty=new a(\"close-dirty\",{fontCharacter:\"\\\\ea71\"}),a.debugBreakpoint=new a(\"debug-breakpoint\",{fontCharacter:\"\\\\ea71\"}),a.debugBreakpointDisabled=new a(\"debug-breakpoint-disabled\",{fontCharacter:\"\\\\ea71\"}),a.debugHint=new a(\"debug-hint\",{fontCharacter:\"\\\\ea71\"}),a.primitiveSquare=new a(\"primitive-square\",{fontCharacter:\"\\\\ea72\"}),a.edit=new a(\"edit\",{fontCharacter:\"\\\\ea73\"}),a.pencil=new a(\"pencil\",{fontCharacter:\"\\\\ea73\"}),a.info=new a(\"info\",{fontCharacter:\"\\\\ea74\"}),a.issueOpened=new a(\"issue-opened\",{fontCharacter:\"\\\\ea74\"}),a.gistPrivate=new a(\"gist-private\",{fontCharacter:\"\\\\ea75\"}),a.gitForkPrivate=new a(\"git-fork-private\",{fontCharacter:\"\\\\ea75\"}),a.lock=new a(\"lock\",{fontCharacter:\"\\\\ea75\"}),a.mirrorPrivate=new a(\"mirror-private\",{fontCharacter:\"\\\\ea75\"}),a.close=new a(\"close\",{fontCharacter:\"\\\\ea76\"}),a.removeClose=new a(\"remove-close\",{fontCharacter:\"\\\\ea76\"}),a.x=new a(\"x\",{fontCharacter:\"\\\\ea76\"}),a.repoSync=new a(\"repo-sync\",{fontCharacter:\"\\\\ea77\"}),a.sync=new a(\"sync\",{fontCharacter:\"\\\\ea77\"}),a.clone=new a(\"clone\",{fontCharacter:\"\\\\ea78\"}),a.desktopDownload=new a(\"desktop-download\",{fontCharacter:\"\\\\ea78\"}),a.beaker=new a(\"beaker\",{fontCharacter:\"\\\\ea79\"}),a.microscope=new a(\"microscope\",{fontCharacter:\"\\\\ea79\"}),a.vm=new a(\"vm\",{fontCharacter:\"\\\\ea7a\"}),a.deviceDesktop=new a(\"device-desktop\",{fontCharacter:\"\\\\ea7a\"}),a.file=new a(\"file\",{fontCharacter:\"\\\\ea7b\"}),a.fileText=new a(\"file-text\",{fontCharacter:\"\\\\ea7b\"}),a.more=new a(\"more\",{fontCharacter:\"\\\\ea7c\"}),a.ellipsis=new a(\"ellipsis\",{fontCharacter:\"\\\\ea7c\"}),a.kebabHorizontal=new a(\"kebab-horizontal\",{fontCharacter:\"\\\\ea7c\"}),a.mailReply=new a(\"mail-reply\",{fontCharacter:\"\\\\ea7d\"}),a.reply=new a(\"reply\",{fontCharacter:\"\\\\ea7d\"}),a.organization=new a(\"organization\",{fontCharacter:\"\\\\ea7e\"}),a.organizationFilled=new a(\"organization-filled\",{fontCharacter:\"\\\\ea7e\"}),a.organizationOutline=new a(\"organization-outline\",{fontCharacter:\"\\\\ea7e\"}),a.newFile=new a(\"new-file\",{fontCharacter:\"\\\\ea7f\"}),a.fileAdd=new a(\"file-add\",{fontCharacter:\"\\\\ea7f\"}),a.newFolder=new a(\"new-folder\",{fontCharacter:\"\\\\ea80\"}),a.fileDirectoryCreate=new a(\"file-directory-create\",{fontCharacter:\"\\\\ea80\"}),a.trash=new a(\"trash\",{fontCharacter:\"\\\\ea81\"}),a.trashcan=new a(\"trashcan\",{fontCharacter:\"\\\\ea81\"}),a.history=new a(\"history\",{fontCharacter:\"\\\\ea82\"}),a.clock=new a(\"clock\",{fontCharacter:\"\\\\ea82\"}),a.folder=new a(\"folder\",{fontCharacter:\"\\\\ea83\"}),a.fileDirectory=new a(\"file-directory\",{fontCharacter:\"\\\\ea83\"}),a.symbolFolder=new a(\"symbol-folder\",{fontCharacter:\"\\\\ea83\"}),a.logoGithub=new a(\"logo-github\",{fontCharacter:\"\\\\ea84\"}),a.markGithub=new a(\"mark-github\",{fontCharacter:\"\\\\ea84\"}),a.github=new a(\"github\",{fontCharacter:\"\\\\ea84\"}),a.terminal=new a(\"terminal\",{fontCharacter:\"\\\\ea85\"}),a.console=new a(\"console\",{fontCharacter:\"\\\\ea85\"}),a.repl=new a(\"repl\",{fontCharacter:\"\\\\ea85\"}),a.zap=new a(\"zap\",{fontCharacter:\"\\\\ea86\"}),a.symbolEvent=new a(\"symbol-event\",{fontCharacter:\"\\\\ea86\"}),a.error=new a(\"error\",{fontCharacter:\"\\\\ea87\"}),a.stop=new a(\"stop\",{fontCharacter:\"\\\\ea87\"}),a.variable=new a(\"variable\",{fontCharacter:\"\\\\ea88\"}),a.symbolVariable=new a(\"symbol-variable\",{fontCharacter:\"\\\\ea88\"}),a.array=new a(\"array\",{fontCharacter:\"\\\\ea8a\"}),a.symbolArray=new a(\"symbol-array\",{fontCharacter:\"\\\\ea8a\"}),a.symbolModule=new a(\"symbol-module\",{fontCharacter:\"\\\\ea8b\"}),a.symbolPackage=new a(\"symbol-package\",{fontCharacter:\"\\\\ea8b\"}),a.symbolNamespace=new a(\"symbol-namespace\",{fontCharacter:\"\\\\ea8b\"}),a.symbolObject=new a(\"symbol-object\",{fontCharacter:\"\\\\ea8b\"}),a.symbolMethod=new a(\"symbol-method\",{fontCharacter:\"\\\\ea8c\"}),a.symbolFunction=new a(\"symbol-function\",{fontCharacter:\"\\\\ea8c\"}),a.symbolConstructor=new a(\"symbol-constructor\",{fontCharacter:\"\\\\ea8c\"}),a.symbolBoolean=new a(\"symbol-boolean\",{fontCharacter:\"\\\\ea8f\"}),a.symbolNull=new a(\"symbol-null\",{fontCharacter:\"\\\\ea8f\"}),a.symbolNumeric=new a(\"symbol-numeric\",{fontCharacter:\"\\\\ea90\"}),a.symbolNumber=new a(\"symbol-number\",{fontCharacter:\"\\\\ea90\"}),a.symbolStructure=new a(\"symbol-structure\",{fontCharacter:\"\\\\ea91\"}),a.symbolStruct=new a(\"symbol-struct\",{fontCharacter:\"\\\\ea91\"}),a.symbolParameter=new a(\"symbol-parameter\",{fontCharacter:\"\\\\ea92\"}),a.symbolTypeParameter=new a(\"symbol-type-parameter\",{fontCharacter:\"\\\\ea92\"}),a.symbolKey=new a(\"symbol-key\",{fontCharacter:\"\\\\ea93\"}),a.symbolText=new a(\"symbol-text\",{fontCharacter:\"\\\\ea93\"}),a.symbolReference=new a(\"symbol-reference\",{fontCharacter:\"\\\\ea94\"}),a.goToFile=new a(\"go-to-file\",{fontCharacter:\"\\\\ea94\"}),a.symbolEnum=new a(\"symbol-enum\",{fontCharacter:\"\\\\ea95\"}),a.symbolValue=new a(\"symbol-value\",{fontCharacter:\"\\\\ea95\"}),a.symbolRuler=new a(\"symbol-ruler\",{fontCharacter:\"\\\\ea96\"}),a.symbolUnit=new a(\"symbol-unit\",{fontCharacter:\"\\\\ea96\"}),a.activateBreakpoints=new a(\"activate-breakpoints\",{fontCharacter:\"\\\\ea97\"}),a.archive=new a(\"archive\",{fontCharacter:\"\\\\ea98\"}),a.arrowBoth=new a(\"arrow-both\",{fontCharacter:\"\\\\ea99\"}),a.arrowDown=new a(\"arrow-down\",{fontCharacter:\"\\\\ea9a\"}),a.arrowLeft=new a(\"arrow-left\",{fontCharacter:\"\\\\ea9b\"}),a.arrowRight=new a(\"arrow-right\",{fontCharacter:\"\\\\ea9c\"}),a.arrowSmallDown=new a(\"arrow-small-down\",{fontCharacter:\"\\\\ea9d\"}),a.arrowSmallLeft=new a(\"arrow-small-left\",{fontCharacter:\"\\\\ea9e\"}),a.arrowSmallRight=new a(\"arrow-small-right\",{fontCharacter:\"\\\\ea9f\"}),a.arrowSmallUp=new a(\"arrow-small-up\",{fontCharacter:\"\\\\eaa0\"}),a.arrowUp=new a(\"arrow-up\",{fontCharacter:\"\\\\eaa1\"}),a.bell=new a(\"bell\",{fontCharacter:\"\\\\eaa2\"}),a.bold=new a(\"bold\",{fontCharacter:\"\\\\eaa3\"}),a.book=new a(\"book\",{fontCharacter:\"\\\\eaa4\"}),a.bookmark=new a(\"bookmark\",{fontCharacter:\"\\\\eaa5\"}),a.debugBreakpointConditionalUnverified=new a(\"debug-breakpoint-conditional-unverified\",{fontCharacter:\"\\\\eaa6\"}),a.debugBreakpointConditional=new a(\"debug-breakpoint-conditional\",{fontCharacter:\"\\\\eaa7\"}),a.debugBreakpointConditionalDisabled=new a(\"debug-breakpoint-conditional-disabled\",{fontCharacter:\"\\\\eaa7\"}),a.debugBreakpointDataUnverified=new a(\"debug-breakpoint-data-unverified\",{fontCharacter:\"\\\\eaa8\"}),a.debugBreakpointData=new a(\"debug-breakpoint-data\",{fontCharacter:\"\\\\eaa9\"}),a.debugBreakpointDataDisabled=new a(\"debug-breakpoint-data-disabled\",{fontCharacter:\"\\\\eaa9\"}),a.debugBreakpointLogUnverified=new a(\"debug-breakpoint-log-unverified\",{fontCharacter:\"\\\\eaaa\"}),a.debugBreakpointLog=new a(\"debug-breakpoint-log\",{fontCharacter:\"\\\\eaab\"}),a.debugBreakpointLogDisabled=new a(\"debug-breakpoint-log-disabled\",{fontCharacter:\"\\\\eaab\"}),a.briefcase=new a(\"briefcase\",{fontCharacter:\"\\\\eaac\"}),a.broadcast=new a(\"broadcast\",{fontCharacter:\"\\\\eaad\"}),a.browser=new a(\"browser\",{fontCharacter:\"\\\\eaae\"}),a.bug=new a(\"bug\",{fontCharacter:\"\\\\eaaf\"}),a.calendar=new a(\"calendar\",{fontCharacter:\"\\\\eab0\"}),a.caseSensitive=new a(\"case-sensitive\",{fontCharacter:\"\\\\eab1\"}),a.check=new a(\"check\",{fontCharacter:\"\\\\eab2\"}),a.checklist=new a(\"checklist\",{fontCharacter:\"\\\\eab3\"}),a.chevronDown=new a(\"chevron-down\",{fontCharacter:\"\\\\eab4\"}),a.dropDownButton=new a(\"drop-down-button\",a.chevronDown.definition),a.chevronLeft=new a(\"chevron-left\",{fontCharacter:\"\\\\eab5\"}),a.chevronRight=new a(\"chevron-right\",{fontCharacter:\"\\\\eab6\"}),a.chevronUp=new a(\"chevron-up\",{fontCharacter:\"\\\\eab7\"}),a.chromeClose=new a(\"chrome-close\",{fontCharacter:\"\\\\eab8\"}),a.chromeMaximize=new a(\"chrome-maximize\",{fontCharacter:\"\\\\eab9\"}),a.chromeMinimize=new a(\"chrome-minimize\",{fontCharacter:\"\\\\eaba\"}),a.chromeRestore=new a(\"chrome-restore\",{fontCharacter:\"\\\\eabb\"}),a.circleOutline=new a(\"circle-outline\",{fontCharacter:\"\\\\eabc\"}),a.debugBreakpointUnverified=new a(\"debug-breakpoint-unverified\",{fontCharacter:\"\\\\eabc\"}),a.circleSlash=new a(\"circle-slash\",{fontCharacter:\"\\\\eabd\"}),a.circuitBoard=new a(\"circuit-board\",{fontCharacter:\"\\\\eabe\"}),a.clearAll=new a(\"clear-all\",{fontCharacter:\"\\\\eabf\"}),a.clippy=new a(\"clippy\",{fontCharacter:\"\\\\eac0\"}),a.closeAll=new a(\"close-all\",{fontCharacter:\"\\\\eac1\"}),a.cloudDownload=new a(\"cloud-download\",{fontCharacter:\"\\\\eac2\"}),a.cloudUpload=new a(\"cloud-upload\",{fontCharacter:\"\\\\eac3\"}),a.code=new a(\"code\",{fontCharacter:\"\\\\eac4\"}),a.collapseAll=new a(\"collapse-all\",{fontCharacter:\"\\\\eac5\"}),a.colorMode=new a(\"color-mode\",{fontCharacter:\"\\\\eac6\"}),a.commentDiscussion=new a(\"comment-discussion\",{fontCharacter:\"\\\\eac7\"}),a.compareChanges=new a(\"compare-changes\",{fontCharacter:\"\\\\eafd\"}),a.creditCard=new a(\"credit-card\",{fontCharacter:\"\\\\eac9\"}),a.dash=new a(\"dash\",{fontCharacter:\"\\\\eacc\"}),a.dashboard=new a(\"dashboard\",{fontCharacter:\"\\\\eacd\"}),a.database=new a(\"database\",{fontCharacter:\"\\\\eace\"}),a.debugContinue=new a(\"debug-continue\",{fontCharacter:\"\\\\eacf\"}),a.debugDisconnect=new a(\"debug-disconnect\",{fontCharacter:\"\\\\ead0\"}),a.debugPause=new a(\"debug-pause\",{fontCharacter:\"\\\\ead1\"}),a.debugRestart=new a(\"debug-restart\",{fontCharacter:\"\\\\ead2\"}),a.debugStart=new a(\"debug-start\",{fontCharacter:\"\\\\ead3\"}),a.debugStepInto=new a(\"debug-step-into\",{fontCharacter:\"\\\\ead4\"}),a.debugStepOut=new a(\"debug-step-out\",{fontCharacter:\"\\\\ead5\"}),a.debugStepOver=new a(\"debug-step-over\",{fontCharacter:\"\\\\ead6\"}),a.debugStop=new a(\"debug-stop\",{fontCharacter:\"\\\\ead7\"}),a.debug=new a(\"debug\",{fontCharacter:\"\\\\ead8\"}),a.deviceCameraVideo=new a(\"device-camera-video\",{fontCharacter:\"\\\\ead9\"}),a.deviceCamera=new a(\"device-camera\",{fontCharacter:\"\\\\eada\"}),a.deviceMobile=new a(\"device-mobile\",{fontCharacter:\"\\\\eadb\"}),a.diffAdded=new a(\"diff-added\",{fontCharacter:\"\\\\eadc\"}),a.diffIgnored=new a(\"diff-ignored\",{fontCharacter:\"\\\\eadd\"}),a.diffModified=new a(\"diff-modified\",{fontCharacter:\"\\\\eade\"}),a.diffRemoved=new a(\"diff-removed\",{fontCharacter:\"\\\\eadf\"}),a.diffRenamed=new a(\"diff-renamed\",{fontCharacter:\"\\\\eae0\"}),a.diff=new a(\"diff\",{fontCharacter:\"\\\\eae1\"}),a.discard=new a(\"discard\",{fontCharacter:\"\\\\eae2\"}),a.editorLayout=new a(\"editor-layout\",{fontCharacter:\"\\\\eae3\"}),a.emptyWindow=new a(\"empty-window\",{fontCharacter:\"\\\\eae4\"}),a.exclude=new a(\"exclude\",{fontCharacter:\"\\\\eae5\"}),a.extensions=new a(\"extensions\",{fontCharacter:\"\\\\eae6\"}),a.eyeClosed=new a(\"eye-closed\",{fontCharacter:\"\\\\eae7\"}),a.fileBinary=new a(\"file-binary\",{fontCharacter:\"\\\\eae8\"}),a.fileCode=new a(\"file-code\",{fontCharacter:\"\\\\eae9\"}),a.fileMedia=new a(\"file-media\",{fontCharacter:\"\\\\eaea\"}),a.filePdf=new a(\"file-pdf\",{fontCharacter:\"\\\\eaeb\"}),a.fileSubmodule=new a(\"file-submodule\",{fontCharacter:\"\\\\eaec\"}),a.fileSymlinkDirectory=new a(\"file-symlink-directory\",{fontCharacter:\"\\\\eaed\"}),a.fileSymlinkFile=new a(\"file-symlink-file\",{fontCharacter:\"\\\\eaee\"}),a.fileZip=new a(\"file-zip\",{fontCharacter:\"\\\\eaef\"}),a.files=new a(\"files\",{fontCharacter:\"\\\\eaf0\"}),a.filter=new a(\"filter\",{fontCharacter:\"\\\\eaf1\"}),a.flame=new a(\"flame\",{fontCharacter:\"\\\\eaf2\"}),a.foldDown=new a(\"fold-down\",{fontCharacter:\"\\\\eaf3\"}),a.foldUp=new a(\"fold-up\",{fontCharacter:\"\\\\eaf4\"}),a.fold=new a(\"fold\",{fontCharacter:\"\\\\eaf5\"}),a.folderActive=new a(\"folder-active\",{fontCharacter:\"\\\\eaf6\"}),a.folderOpened=new a(\"folder-opened\",{fontCharacter:\"\\\\eaf7\"}),a.gear=new a(\"gear\",{fontCharacter:\"\\\\eaf8\"}),a.gift=new a(\"gift\",{fontCharacter:\"\\\\eaf9\"}),a.gistSecret=new a(\"gist-secret\",{fontCharacter:\"\\\\eafa\"}),a.gist=new a(\"gist\",{fontCharacter:\"\\\\eafb\"}),a.gitCommit=new a(\"git-commit\",{fontCharacter:\"\\\\eafc\"}),a.gitCompare=new a(\"git-compare\",{fontCharacter:\"\\\\eafd\"}),a.gitMerge=new a(\"git-merge\",{fontCharacter:\"\\\\eafe\"}),a.githubAction=new a(\"github-action\",{fontCharacter:\"\\\\eaff\"}),a.githubAlt=new a(\"github-alt\",{fontCharacter:\"\\\\eb00\"}),a.globe=new a(\"globe\",{fontCharacter:\"\\\\eb01\"}),a.grabber=new a(\"grabber\",{fontCharacter:\"\\\\eb02\"}),a.graph=new a(\"graph\",{fontCharacter:\"\\\\eb03\"}),a.gripper=new a(\"gripper\",{fontCharacter:\"\\\\eb04\"}),a.heart=new a(\"heart\",{fontCharacter:\"\\\\eb05\"}),a.home=new a(\"home\",{fontCharacter:\"\\\\eb06\"}),a.horizontalRule=new a(\"horizontal-rule\",{fontCharacter:\"\\\\eb07\"}),a.hubot=new a(\"hubot\",{fontCharacter:\"\\\\eb08\"}),a.inbox=new a(\"inbox\",{fontCharacter:\"\\\\eb09\"}),a.issueClosed=new a(\"issue-closed\",{fontCharacter:\"\\\\eba4\"}),a.issueReopened=new a(\"issue-reopened\",{fontCharacter:\"\\\\eb0b\"}),a.issues=new a(\"issues\",{fontCharacter:\"\\\\eb0c\"}),a.italic=new a(\"italic\",{fontCharacter:\"\\\\eb0d\"}),a.jersey=new a(\"jersey\",{fontCharacter:\"\\\\eb0e\"}),a.json=new a(\"json\",{fontCharacter:\"\\\\eb0f\"}),a.kebabVertical=new a(\"kebab-vertical\",{fontCharacter:\"\\\\eb10\"}),a.key=new a(\"key\",{fontCharacter:\"\\\\eb11\"}),a.law=new a(\"law\",{fontCharacter:\"\\\\eb12\"}),a.lightbulbAutofix=new a(\"lightbulb-autofix\",{fontCharacter:\"\\\\eb13\"}),a.linkExternal=new a(\"link-external\",{fontCharacter:\"\\\\eb14\"}),a.link=new a(\"link\",{fontCharacter:\"\\\\eb15\"}),a.listOrdered=new a(\"list-ordered\",{fontCharacter:\"\\\\eb16\"}),a.listUnordered=new a(\"list-unordered\",{fontCharacter:\"\\\\eb17\"}),a.liveShare=new a(\"live-share\",{fontCharacter:\"\\\\eb18\"}),a.loading=new a(\"loading\",{fontCharacter:\"\\\\eb19\"}),a.location=new a(\"location\",{fontCharacter:\"\\\\eb1a\"}),a.mailRead=new a(\"mail-read\",{fontCharacter:\"\\\\eb1b\"}),a.mail=new a(\"mail\",{fontCharacter:\"\\\\eb1c\"}),a.markdown=new a(\"markdown\",{fontCharacter:\"\\\\eb1d\"}),a.megaphone=new a(\"megaphone\",{fontCharacter:\"\\\\eb1e\"}),a.mention=new a(\"mention\",{fontCharacter:\"\\\\eb1f\"}),a.milestone=new a(\"milestone\",{fontCharacter:\"\\\\eb20\"}),a.mortarBoard=new a(\"mortar-board\",{fontCharacter:\"\\\\eb21\"}),a.move=new a(\"move\",{fontCharacter:\"\\\\eb22\"}),a.multipleWindows=new a(\"multiple-windows\",{fontCharacter:\"\\\\eb23\"}),a.mute=new a(\"mute\",{fontCharacter:\"\\\\eb24\"}),a.noNewline=new a(\"no-newline\",{fontCharacter:\"\\\\eb25\"}),a.note=new a(\"note\",{fontCharacter:\"\\\\eb26\"}),a.octoface=new a(\"octoface\",{fontCharacter:\"\\\\eb27\"}),a.openPreview=new a(\"open-preview\",{fontCharacter:\"\\\\eb28\"}),a.package_=new a(\"package\",{fontCharacter:\"\\\\eb29\"}),a.paintcan=new a(\"paintcan\",{fontCharacter:\"\\\\eb2a\"}),a.pin=new a(\"pin\",{fontCharacter:\"\\\\eb2b\"}),a.play=new a(\"play\",{fontCharacter:\"\\\\eb2c\"}),a.run=new a(\"run\",{fontCharacter:\"\\\\eb2c\"}),a.plug=new a(\"plug\",{fontCharacter:\"\\\\eb2d\"}),a.preserveCase=new a(\"preserve-case\",{fontCharacter:\"\\\\eb2e\"}),a.preview=new a(\"preview\",{fontCharacter:\"\\\\eb2f\"}),a.project=new a(\"project\",{fontCharacter:\"\\\\eb30\"}),a.pulse=new a(\"pulse\",{fontCharacter:\"\\\\eb31\"}),a.question=new a(\"question\",{fontCharacter:\"\\\\eb32\"}),a.quote=new a(\"quote\",{fontCharacter:\"\\\\eb33\"}),a.radioTower=new a(\"radio-tower\",{fontCharacter:\"\\\\eb34\"}),a.reactions=new a(\"reactions\",{fontCharacter:\"\\\\eb35\"}),a.references=new a(\"references\",{fontCharacter:\"\\\\eb36\"}),a.refresh=new a(\"refresh\",{fontCharacter:\"\\\\eb37\"}),a.regex=new a(\"regex\",{fontCharacter:\"\\\\eb38\"}),a.remoteExplorer=new a(\"remote-explorer\",{fontCharacter:\"\\\\eb39\"}),a.remote=new a(\"remote\",{fontCharacter:\"\\\\eb3a\"}),a.remove=new a(\"remove\",{fontCharacter:\"\\\\eb3b\"}),a.replaceAll=new a(\"replace-all\",{fontCharacter:\"\\\\eb3c\"}),a.replace=new a(\"replace\",{fontCharacter:\"\\\\eb3d\"}),a.repoClone=new a(\"repo-clone\",{fontCharacter:\"\\\\eb3e\"}),a.repoForcePush=new a(\"repo-force-push\",{fontCharacter:\"\\\\eb3f\"}),a.repoPull=new a(\"repo-pull\",{fontCharacter:\"\\\\eb40\"}),a.repoPush=new a(\"repo-push\",{fontCharacter:\"\\\\eb41\"}),a.report=new a(\"report\",{fontCharacter:\"\\\\eb42\"}),a.requestChanges=new a(\"request-changes\",{fontCharacter:\"\\\\eb43\"}),a.rocket=new a(\"rocket\",{fontCharacter:\"\\\\eb44\"}),a.rootFolderOpened=new a(\"root-folder-opened\",{fontCharacter:\"\\\\eb45\"}),a.rootFolder=new a(\"root-folder\",{fontCharacter:\"\\\\eb46\"}),a.rss=new a(\"rss\",{fontCharacter:\"\\\\eb47\"}),a.ruby=new a(\"ruby\",{fontCharacter:\"\\\\eb48\"}),a.saveAll=new a(\"save-all\",{fontCharacter:\"\\\\eb49\"}),a.saveAs=new a(\"save-as\",{fontCharacter:\"\\\\eb4a\"}),a.save=new a(\"save\",{fontCharacter:\"\\\\eb4b\"}),a.screenFull=new a(\"screen-full\",{fontCharacter:\"\\\\eb4c\"}),a.screenNormal=new a(\"screen-normal\",{fontCharacter:\"\\\\eb4d\"}),a.searchStop=new a(\"search-stop\",{fontCharacter:\"\\\\eb4e\"}),a.server=new a(\"server\",{fontCharacter:\"\\\\eb50\"}),a.settingsGear=new a(\"settings-gear\",{fontCharacter:\"\\\\eb51\"}),a.settings=new a(\"settings\",{fontCharacter:\"\\\\eb52\"}),a.shield=new a(\"shield\",{fontCharacter:\"\\\\eb53\"}),a.smiley=new a(\"smiley\",{fontCharacter:\"\\\\eb54\"}),a.sortPrecedence=new a(\"sort-precedence\",{fontCharacter:\"\\\\eb55\"}),a.splitHorizontal=new a(\"split-horizontal\",{fontCharacter:\"\\\\eb56\"}),a.splitVertical=new a(\"split-vertical\",{fontCharacter:\"\\\\eb57\"}),a.squirrel=new a(\"squirrel\",{fontCharacter:\"\\\\eb58\"}),a.starFull=new a(\"star-full\",{fontCharacter:\"\\\\eb59\"}),a.starHalf=new a(\"star-half\",{fontCharacter:\"\\\\eb5a\"}),a.symbolClass=new a(\"symbol-class\",{fontCharacter:\"\\\\eb5b\"}),a.symbolColor=new a(\"symbol-color\",{fontCharacter:\"\\\\eb5c\"}),a.symbolCustomColor=new a(\"symbol-customcolor\",{fontCharacter:\"\\\\eb5c\"}),a.symbolConstant=new a(\"symbol-constant\",{fontCharacter:\"\\\\eb5d\"}),a.symbolEnumMember=new a(\"symbol-enum-member\",{fontCharacter:\"\\\\eb5e\"}),a.symbolField=new a(\"symbol-field\",{fontCharacter:\"\\\\eb5f\"}),a.symbolFile=new a(\"symbol-file\",{fontCharacter:\"\\\\eb60\"}),a.symbolInterface=new a(\"symbol-interface\",{fontCharacter:\"\\\\eb61\"}),a.symbolKeyword=new a(\"symbol-keyword\",{fontCharacter:\"\\\\eb62\"}),a.symbolMisc=new a(\"symbol-misc\",{fontCharacter:\"\\\\eb63\"}),a.symbolOperator=new a(\"symbol-operator\",{fontCharacter:\"\\\\eb64\"}),a.symbolProperty=new a(\"symbol-property\",{fontCharacter:\"\\\\eb65\"}),a.wrench=new a(\"wrench\",{fontCharacter:\"\\\\eb65\"}),a.wrenchSubaction=new a(\"wrench-subaction\",{fontCharacter:\"\\\\eb65\"}),a.symbolSnippet=new a(\"symbol-snippet\",{fontCharacter:\"\\\\eb66\"}),a.tasklist=new a(\"tasklist\",{fontCharacter:\"\\\\eb67\"}),a.telescope=new a(\"telescope\",{fontCharacter:\"\\\\eb68\"}),a.textSize=new a(\"text-size\",{fontCharacter:\"\\\\eb69\"}),a.threeBars=new a(\"three-bars\",{fontCharacter:\"\\\\eb6a\"}),a.thumbsdown=new a(\"thumbsdown\",{fontCharacter:\"\\\\eb6b\"}),a.thumbsup=new a(\"thumbsup\",{fontCharacter:\"\\\\eb6c\"}),a.tools=new a(\"tools\",{fontCharacter:\"\\\\eb6d\"}),a.triangleDown=new a(\"triangle-down\",{fontCharacter:\"\\\\eb6e\"}),a.triangleLeft=new a(\"triangle-left\",{fontCharacter:\"\\\\eb6f\"}),a.triangleRight=new a(\"triangle-right\",{fontCharacter:\"\\\\eb70\"}),a.triangleUp=new a(\"triangle-up\",{fontCharacter:\"\\\\eb71\"}),a.twitter=new a(\"twitter\",{fontCharacter:\"\\\\eb72\"}),a.unfold=new a(\"unfold\",{fontCharacter:\"\\\\eb73\"}),a.unlock=new a(\"unlock\",{fontCharacter:\"\\\\eb74\"}),a.unmute=new a(\"unmute\",{fontCharacter:\"\\\\eb75\"}),a.unverified=new a(\"unverified\",{fontCharacter:\"\\\\eb76\"}),a.verified=new a(\"verified\",{fontCharacter:\"\\\\eb77\"}),a.versions=new a(\"versions\",{fontCharacter:\"\\\\eb78\"}),a.vmActive=new a(\"vm-active\",{fontCharacter:\"\\\\eb79\"}),a.vmOutline=new a(\"vm-outline\",{fontCharacter:\"\\\\eb7a\"}),a.vmRunning=new a(\"vm-running\",{fontCharacter:\"\\\\eb7b\"}),a.watch=new a(\"watch\",{fontCharacter:\"\\\\eb7c\"}),a.whitespace=new a(\"whitespace\",{fontCharacter:\"\\\\eb7d\"}),a.wholeWord=new a(\"whole-word\",{fontCharacter:\"\\\\eb7e\"}),a.window=new a(\"window\",{fontCharacter:\"\\\\eb7f\"}),a.wordWrap=new a(\"word-wrap\",{fontCharacter:\"\\\\eb80\"}),a.zoomIn=new a(\"zoom-in\",{fontCharacter:\"\\\\eb81\"}),a.zoomOut=new a(\"zoom-out\",{fontCharacter:\"\\\\eb82\"}),a.listFilter=new a(\"list-filter\",{fontCharacter:\"\\\\eb83\"}),a.listFlat=new a(\"list-flat\",{fontCharacter:\"\\\\eb84\"}),a.listSelection=new a(\"list-selection\",{fontCharacter:\"\\\\eb85\"}),a.selection=new a(\"selection\",{fontCharacter:\"\\\\eb85\"}),a.listTree=new a(\"list-tree\",{fontCharacter:\"\\\\eb86\"}),a.debugBreakpointFunctionUnverified=new a(\"debug-breakpoint-function-unverified\",{fontCharacter:\"\\\\eb87\"}),a.debugBreakpointFunction=new a(\"debug-breakpoint-function\",{fontCharacter:\"\\\\eb88\"}),a.debugBreakpointFunctionDisabled=new a(\"debug-breakpoint-function-disabled\",{fontCharacter:\"\\\\eb88\"}),a.debugStackframeActive=new a(\"debug-stackframe-active\",{fontCharacter:\"\\\\eb89\"}),a.debugStackframeDot=new a(\"debug-stackframe-dot\",{fontCharacter:\"\\\\eb8a\"}),a.debugStackframe=new a(\"debug-stackframe\",{fontCharacter:\"\\\\eb8b\"}),a.debugStackframeFocused=new a(\"debug-stackframe-focused\",{fontCharacter:\"\\\\eb8b\"}),a.debugBreakpointUnsupported=new a(\"debug-breakpoint-unsupported\",{fontCharacter:\"\\\\eb8c\"}),a.symbolString=new a(\"symbol-string\",{fontCharacter:\"\\\\eb8d\"}),a.debugReverseContinue=new a(\"debug-reverse-continue\",{fontCharacter:\"\\\\eb8e\"}),a.debugStepBack=new a(\"debug-step-back\",{fontCharacter:\"\\\\eb8f\"}),a.debugRestartFrame=new a(\"debug-restart-frame\",{fontCharacter:\"\\\\eb90\"}),a.callIncoming=new a(\"call-incoming\",{fontCharacter:\"\\\\eb92\"}),a.callOutgoing=new a(\"call-outgoing\",{fontCharacter:\"\\\\eb93\"}),a.menu=new a(\"menu\",{fontCharacter:\"\\\\eb94\"}),a.expandAll=new a(\"expand-all\",{fontCharacter:\"\\\\eb95\"}),a.feedback=new a(\"feedback\",{fontCharacter:\"\\\\eb96\"}),a.groupByRefType=new a(\"group-by-ref-type\",{fontCharacter:\"\\\\eb97\"}),a.ungroupByRefType=new a(\"ungroup-by-ref-type\",{fontCharacter:\"\\\\eb98\"}),a.account=new a(\"account\",{fontCharacter:\"\\\\eb99\"}),a.bellDot=new a(\"bell-dot\",{fontCharacter:\"\\\\eb9a\"}),a.debugConsole=new a(\"debug-console\",{fontCharacter:\"\\\\eb9b\"}),a.library=new a(\"library\",{fontCharacter:\"\\\\eb9c\"}),a.output=new a(\"output\",{fontCharacter:\"\\\\eb9d\"}),a.runAll=new a(\"run-all\",{fontCharacter:\"\\\\eb9e\"}),a.syncIgnored=new a(\"sync-ignored\",{fontCharacter:\"\\\\eb9f\"}),a.pinned=new a(\"pinned\",{fontCharacter:\"\\\\eba0\"}),a.githubInverted=new a(\"github-inverted\",{fontCharacter:\"\\\\eba1\"}),a.debugAlt=new a(\"debug-alt\",{fontCharacter:\"\\\\eb91\"}),a.serverProcess=new a(\"server-process\",{fontCharacter:\"\\\\eba2\"}),a.serverEnvironment=new a(\"server-environment\",{fontCharacter:\"\\\\eba3\"}),a.pass=new a(\"pass\",{fontCharacter:\"\\\\eba4\"}),a.stopCircle=new a(\"stop-circle\",{fontCharacter:\"\\\\eba5\"}),a.playCircle=new a(\"play-circle\",{fontCharacter:\"\\\\eba6\"}),a.record=new a(\"record\",{fontCharacter:\"\\\\eba7\"}),a.debugAltSmall=new a(\"debug-alt-small\",{fontCharacter:\"\\\\eba8\"}),a.vmConnect=new a(\"vm-connect\",{fontCharacter:\"\\\\eba9\"}),a.cloud=new a(\"cloud\",{fontCharacter:\"\\\\ebaa\"}),a.merge=new a(\"merge\",{fontCharacter:\"\\\\ebab\"}),a.exportIcon=new a(\"export\",{fontCharacter:\"\\\\ebac\"}),a.graphLeft=new a(\"graph-left\",{fontCharacter:\"\\\\ebad\"}),a.magnet=new a(\"magnet\",{fontCharacter:\"\\\\ebae\"}),a.notebook=new a(\"notebook\",{fontCharacter:\"\\\\ebaf\"}),a.redo=new a(\"redo\",{fontCharacter:\"\\\\ebb0\"}),a.checkAll=new a(\"check-all\",{fontCharacter:\"\\\\ebb1\"}),a.pinnedDirty=new a(\"pinned-dirty\",{fontCharacter:\"\\\\ebb2\"}),a.passFilled=new a(\"pass-filled\",{fontCharacter:\"\\\\ebb3\"}),a.circleLargeFilled=new a(\"circle-large-filled\",{fontCharacter:\"\\\\ebb4\"}),a.circleLargeOutline=new a(\"circle-large-outline\",{fontCharacter:\"\\\\ebb5\"}),a.combine=new a(\"combine\",{fontCharacter:\"\\\\ebb6\"}),a.gather=new a(\"gather\",{fontCharacter:\"\\\\ebb6\"}),a.table=new a(\"table\",{fontCharacter:\"\\\\ebb7\"}),a.variableGroup=new a(\"variable-group\",{fontCharacter:\"\\\\ebb8\"}),a.typeHierarchy=new a(\"type-hierarchy\",{fontCharacter:\"\\\\ebb9\"}),a.typeHierarchySub=new a(\"type-hierarchy-sub\",{fontCharacter:\"\\\\ebba\"}),a.typeHierarchySuper=new a(\"type-hierarchy-super\",{fontCharacter:\"\\\\ebbb\"}),a.gitPullRequestCreate=new a(\"git-pull-request-create\",{fontCharacter:\"\\\\ebbc\"}),a.runAbove=new a(\"run-above\",{fontCharacter:\"\\\\ebbd\"}),a.runBelow=new a(\"run-below\",{fontCharacter:\"\\\\ebbe\"}),a.notebookTemplate=new a(\"notebook-template\",{fontCharacter:\"\\\\ebbf\"}),a.debugRerun=new a(\"debug-rerun\",{fontCharacter:\"\\\\ebc0\"}),a.workspaceTrusted=new a(\"workspace-trusted\",{fontCharacter:\"\\\\ebc1\"}),a.workspaceUntrusted=new a(\"workspace-untrusted\",{fontCharacter:\"\\\\ebc2\"}),a.workspaceUnspecified=new a(\"workspace-unspecified\",{fontCharacter:\"\\\\ebc3\"}),a.terminalCmd=new a(\"terminal-cmd\",{fontCharacter:\"\\\\ebc4\"}),a.terminalDebian=new a(\"terminal-debian\",{fontCharacter:\"\\\\ebc5\"}),a.terminalLinux=new a(\"terminal-linux\",{fontCharacter:\"\\\\ebc6\"}),a.terminalPowershell=new a(\"terminal-powershell\",{fontCharacter:\"\\\\ebc7\"}),a.terminalTmux=new a(\"terminal-tmux\",{fontCharacter:\"\\\\ebc8\"}),a.terminalUbuntu=new a(\"terminal-ubuntu\",{fontCharacter:\"\\\\ebc9\"}),a.terminalBash=new a(\"terminal-bash\",{fontCharacter:\"\\\\ebca\"}),a.arrowSwap=new a(\"arrow-swap\",{fontCharacter:\"\\\\ebcb\"}),a.copy=new a(\"copy\",{fontCharacter:\"\\\\ebcc\"}),a.personAdd=new a(\"person-add\",{fontCharacter:\"\\\\ebcd\"}),a.filterFilled=new a(\"filter-filled\",{fontCharacter:\"\\\\ebce\"}),a.wand=new a(\"wand\",{fontCharacter:\"\\\\ebcf\"}),a.debugLineByLine=new a(\"debug-line-by-line\",{fontCharacter:\"\\\\ebd0\"}),a.inspect=new a(\"inspect\",{fontCharacter:\"\\\\ebd1\"}),a.layers=new a(\"layers\",{fontCharacter:\"\\\\ebd2\"}),a.layersDot=new a(\"layers-dot\",{fontCharacter:\"\\\\ebd3\"}),a.layersActive=new a(\"layers-active\",{fontCharacter:\"\\\\ebd4\"}),a.compass=new a(\"compass\",{fontCharacter:\"\\\\ebd5\"}),a.compassDot=new a(\"compass-dot\",{fontCharacter:\"\\\\ebd6\"}),a.compassActive=new a(\"compass-active\",{fontCharacter:\"\\\\ebd7\"}),a.azure=new a(\"azure\",{fontCharacter:\"\\\\ebd8\"}),a.issueDraft=new a(\"issue-draft\",{fontCharacter:\"\\\\ebd9\"}),a.gitPullRequestClosed=new a(\"git-pull-request-closed\",{fontCharacter:\"\\\\ebda\"}),a.gitPullRequestDraft=new a(\"git-pull-request-draft\",{fontCharacter:\"\\\\ebdb\"}),a.debugAll=new a(\"debug-all\",{fontCharacter:\"\\\\ebdc\"}),a.debugCoverage=new a(\"debug-coverage\",{fontCharacter:\"\\\\ebdd\"}),a.runErrors=new a(\"run-errors\",{fontCharacter:\"\\\\ebde\"}),a.folderLibrary=new a(\"folder-library\",{fontCharacter:\"\\\\ebdf\"}),a.debugContinueSmall=new a(\"debug-continue-small\",{fontCharacter:\"\\\\ebe0\"}),a.beakerStop=new a(\"beaker-stop\",{fontCharacter:\"\\\\ebe1\"}),a.graphLine=new a(\"graph-line\",{fontCharacter:\"\\\\ebe2\"}),a.graphScatter=new a(\"graph-scatter\",{fontCharacter:\"\\\\ebe3\"}),a.pieChart=new a(\"pie-chart\",{fontCharacter:\"\\\\ebe4\"}),a.bracket=new a(\"bracket\",a.json.definition),a.bracketDot=new a(\"bracket-dot\",{fontCharacter:\"\\\\ebe5\"}),a.bracketError=new a(\"bracket-error\",{fontCharacter:\"\\\\ebe6\"}),a.lockSmall=new a(\"lock-small\",{fontCharacter:\"\\\\ebe7\"}),a.azureDevops=new a(\"azure-devops\",{fontCharacter:\"\\\\ebe8\"}),a.verifiedFilled=new a(\"verified-filled\",{fontCharacter:\"\\\\ebe9\"}),a.newLine=new a(\"newline\",{fontCharacter:\"\\\\ebea\"}),a.layout=new a(\"layout\",{fontCharacter:\"\\\\ebeb\"}),a.layoutActivitybarLeft=new a(\"layout-activitybar-left\",{fontCharacter:\"\\\\ebec\"}),a.layoutActivitybarRight=new a(\"layout-activitybar-right\",{fontCharacter:\"\\\\ebed\"}),a.layoutPanelLeft=new a(\"layout-panel-left\",{fontCharacter:\"\\\\ebee\"}),a.layoutPanelCenter=new a(\"layout-panel-center\",{fontCharacter:\"\\\\ebef\"}),a.layoutPanelJustify=new a(\"layout-panel-justify\",{fontCharacter:\"\\\\ebf0\"}),a.layoutPanelRight=new a(\"layout-panel-right\",{fontCharacter:\"\\\\ebf1\"}),a.layoutPanel=new a(\"layout-panel\",{fontCharacter:\"\\\\ebf2\"}),a.layoutSidebarLeft=new a(\"layout-sidebar-left\",{fontCharacter:\"\\\\ebf3\"}),a.layoutSidebarRight=new a(\"layout-sidebar-right\",{fontCharacter:\"\\\\ebf4\"}),a.layoutStatusbar=new a(\"layout-statusbar\",{fontCharacter:\"\\\\ebf5\"}),a.layoutMenubar=new a(\"layout-menubar\",{fontCharacter:\"\\\\ebf6\"}),a.layoutCentered=new a(\"layout-centered\",{fontCharacter:\"\\\\ebf7\"}),a.target=new a(\"target\",{fontCharacter:\"\\\\ebf8\"}),a.indent=new a(\"indent\",{fontCharacter:\"\\\\ebf9\"}),a.recordSmall=new a(\"record-small\",{fontCharacter:\"\\\\ebfa\"}),a.errorSmall=new a(\"error-small\",{fontCharacter:\"\\\\ebfb\"}),a.arrowCircleDown=new a(\"arrow-circle-down\",{fontCharacter:\"\\\\ebfc\"}),a.arrowCircleLeft=new a(\"arrow-circle-left\",{fontCharacter:\"\\\\ebfd\"}),a.arrowCircleRight=new a(\"arrow-circle-right\",{fontCharacter:\"\\\\ebfe\"}),a.arrowCircleUp=new a(\"arrow-circle-up\",{fontCharacter:\"\\\\ebff\"}),a.dialogError=new a(\"dialog-error\",a.error.definition),a.dialogWarning=new a(\"dialog-warning\",a.warning.definition),a.dialogInfo=new a(\"dialog-info\",a.info.definition),a.dialogClose=new a(\"dialog-close\",a.close.definition),a.treeItemExpanded=new a(\"tree-item-expanded\",a.chevronDown.definition),a.treeFilterOnTypeOn=new a(\"tree-filter-on-type-on\",a.listFilter.definition),a.treeFilterOnTypeOff=new a(\"tree-filter-on-type-off\",a.listSelection.definition),a.treeFilterClear=new a(\"tree-filter-clear\",a.close.definition),a.treeItemLoading=new a(\"tree-item-loading\",a.loading.definition),a.menuSelection=new a(\"menu-selection\",a.check.definition),a.menuSubmenu=new a(\"menu-submenu\",a.chevronRight.definition),a.menuBarMore=new a(\"menubar-more\",a.more.definition),a.scrollbarButtonLeft=new a(\"scrollbar-button-left\",a.triangleLeft.definition),a.scrollbarButtonRight=new a(\"scrollbar-button-right\",a.triangleRight.definition),a.scrollbarButtonUp=new a(\"scrollbar-button-up\",a.triangleUp.definition),a.scrollbarButtonDown=new a(\"scrollbar-button-down\",a.triangleDown.definition),a.toolBarMore=new a(\"toolbar-more\",a.more.definition),a.quickInputBack=new a(\"quick-input-back\",a.arrowLeft.definition);var rr;(function(e){e.iconNameSegment=\"[A-Za-z0-9]+\",e.iconNameExpression=\"[A-Za-z0-9-]+\",e.iconModifierExpression=\"~[A-Za-z]+\",e.iconNameCharacter=\"[A-Za-z0-9~-]\";const t=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function n(s){if(s instanceof a)return[\"codicon\",\"codicon-\"+s.id];const l=t.exec(s.id);if(!l)return n(a.error);let[,u,o]=l;const c=[\"codicon\",\"codicon-\"+u];return o&&c.push(\"codicon-modifier-\"+o.substr(1)),c}e.asClassNameArray=n;function r(s){return n(s).join(\" \")}e.asClassName=r;function i(s){return\".\"+n(s).join(\".\")}e.asCSSSelector=i})(rr||(rr={}));class bs{constructor(t,n,r){this._tokenBrand=void 0,this.offset=t,this.type=n,this.language=r}toString(){return\"(\"+this.offset+\", \"+this.type+\")\"}}var ir;(function(e){const t=new Map;t.set(0,a.symbolMethod),t.set(1,a.symbolFunction),t.set(2,a.symbolConstructor),t.set(3,a.symbolField),t.set(4,a.symbolVariable),t.set(5,a.symbolClass),t.set(6,a.symbolStruct),t.set(7,a.symbolInterface),t.set(8,a.symbolModule),t.set(9,a.symbolProperty),t.set(10,a.symbolEvent),t.set(11,a.symbolOperator),t.set(12,a.symbolUnit),t.set(13,a.symbolValue),t.set(15,a.symbolEnum),t.set(14,a.symbolConstant),t.set(15,a.symbolEnum),t.set(16,a.symbolEnumMember),t.set(17,a.symbolKeyword),t.set(27,a.symbolSnippet),t.set(18,a.symbolText),t.set(19,a.symbolColor),t.set(20,a.symbolFile),t.set(21,a.symbolReference),t.set(22,a.symbolCustomColor),t.set(23,a.symbolFolder),t.set(24,a.symbolTypeParameter),t.set(25,a.account),t.set(26,a.issues);function n(s){let l=t.get(s);return l||(console.info(\"No codicon found for CompletionItemKind \"+s),l=a.symbolProperty),l}e.toIcon=n;const r=new Map;r.set(\"method\",0),r.set(\"function\",1),r.set(\"constructor\",2),r.set(\"field\",3),r.set(\"variable\",4),r.set(\"class\",5),r.set(\"struct\",6),r.set(\"interface\",7),r.set(\"module\",8),r.set(\"property\",9),r.set(\"event\",10),r.set(\"operator\",11),r.set(\"unit\",12),r.set(\"value\",13),r.set(\"constant\",14),r.set(\"enum\",15),r.set(\"enum-member\",16),r.set(\"enumMember\",16),r.set(\"keyword\",17),r.set(\"snippet\",27),r.set(\"text\",18),r.set(\"color\",19),r.set(\"file\",20),r.set(\"reference\",21),r.set(\"customcolor\",22),r.set(\"folder\",23),r.set(\"type-parameter\",24),r.set(\"typeParameter\",24),r.set(\"account\",25),r.set(\"issue\",26);function i(s,l){let u=r.get(s);return typeof u==\"undefined\"&&!l&&(u=9),u}e.fromString=i})(ir||(ir={}));var ar;(function(e){e[e.Automatic=0]=\"Automatic\",e[e.Explicit=1]=\"Explicit\"})(ar||(ar={}));var sr;(function(e){e[e.Invoke=1]=\"Invoke\",e[e.TriggerCharacter=2]=\"TriggerCharacter\",e[e.ContentChange=3]=\"ContentChange\"})(sr||(sr={}));var or;(function(e){e[e.Text=0]=\"Text\",e[e.Read=1]=\"Read\",e[e.Write=2]=\"Write\"})(or||(or={}));var lr;(function(e){const t=new Map;t.set(0,a.symbolFile),t.set(1,a.symbolModule),t.set(2,a.symbolNamespace),t.set(3,a.symbolPackage),t.set(4,a.symbolClass),t.set(5,a.symbolMethod),t.set(6,a.symbolProperty),t.set(7,a.symbolField),t.set(8,a.symbolConstructor),t.set(9,a.symbolEnum),t.set(10,a.symbolInterface),t.set(11,a.symbolFunction),t.set(12,a.symbolVariable),t.set(13,a.symbolConstant),t.set(14,a.symbolString),t.set(15,a.symbolNumber),t.set(16,a.symbolBoolean),t.set(17,a.symbolArray),t.set(18,a.symbolObject),t.set(19,a.symbolKey),t.set(20,a.symbolNull),t.set(21,a.symbolEnumMember),t.set(22,a.symbolStruct),t.set(23,a.symbolEvent),t.set(24,a.symbolOperator),t.set(25,a.symbolTypeParameter);function n(r){let i=t.get(r);return i||(console.info(\"No codicon found for SymbolKind \"+r),i=a.symbolProperty),i}e.toIcon=n})(lr||(lr={}));var ur;(function(e){function t(n){return!n||typeof n!=\"object\"?!1:typeof n.id==\"string\"&&typeof n.title==\"string\"}e.is=t})(ur||(ur={}));var cr;(function(e){e[e.Type=1]=\"Type\",e[e.Parameter=2]=\"Parameter\"})(cr||(cr={})),new ps;var hr;(function(e){e[e.Unknown=0]=\"Unknown\",e[e.Disabled=1]=\"Disabled\",e[e.Enabled=2]=\"Enabled\"})(hr||(hr={}));var dr;(function(e){e[e.KeepWhitespace=1]=\"KeepWhitespace\",e[e.InsertAsSnippet=4]=\"InsertAsSnippet\"})(dr||(dr={}));var fr;(function(e){e[e.Method=0]=\"Method\",e[e.Function=1]=\"Function\",e[e.Constructor=2]=\"Constructor\",e[e.Field=3]=\"Field\",e[e.Variable=4]=\"Variable\",e[e.Class=5]=\"Class\",e[e.Struct=6]=\"Struct\",e[e.Interface=7]=\"Interface\",e[e.Module=8]=\"Module\",e[e.Property=9]=\"Property\",e[e.Event=10]=\"Event\",e[e.Operator=11]=\"Operator\",e[e.Unit=12]=\"Unit\",e[e.Value=13]=\"Value\",e[e.Constant=14]=\"Constant\",e[e.Enum=15]=\"Enum\",e[e.EnumMember=16]=\"EnumMember\",e[e.Keyword=17]=\"Keyword\",e[e.Text=18]=\"Text\",e[e.Color=19]=\"Color\",e[e.File=20]=\"File\",e[e.Reference=21]=\"Reference\",e[e.Customcolor=22]=\"Customcolor\",e[e.Folder=23]=\"Folder\",e[e.TypeParameter=24]=\"TypeParameter\",e[e.User=25]=\"User\",e[e.Issue=26]=\"Issue\",e[e.Snippet=27]=\"Snippet\"})(fr||(fr={}));var mr;(function(e){e[e.Deprecated=1]=\"Deprecated\"})(mr||(mr={}));var pr;(function(e){e[e.Invoke=0]=\"Invoke\",e[e.TriggerCharacter=1]=\"TriggerCharacter\",e[e.TriggerForIncompleteCompletions=2]=\"TriggerForIncompleteCompletions\"})(pr||(pr={}));var gr;(function(e){e[e.EXACT=0]=\"EXACT\",e[e.ABOVE=1]=\"ABOVE\",e[e.BELOW=2]=\"BELOW\"})(gr||(gr={}));var br;(function(e){e[e.NotSet=0]=\"NotSet\",e[e.ContentFlush=1]=\"ContentFlush\",e[e.RecoverFromMarkers=2]=\"RecoverFromMarkers\",e[e.Explicit=3]=\"Explicit\",e[e.Paste=4]=\"Paste\",e[e.Undo=5]=\"Undo\",e[e.Redo=6]=\"Redo\"})(br||(br={}));var wr;(function(e){e[e.LF=1]=\"LF\",e[e.CRLF=2]=\"CRLF\"})(wr||(wr={}));var vr;(function(e){e[e.Text=0]=\"Text\",e[e.Read=1]=\"Read\",e[e.Write=2]=\"Write\"})(vr||(vr={}));var _r;(function(e){e[e.None=0]=\"None\",e[e.Keep=1]=\"Keep\",e[e.Brackets=2]=\"Brackets\",e[e.Advanced=3]=\"Advanced\",e[e.Full=4]=\"Full\"})(_r||(_r={}));var yr;(function(e){e[e.acceptSuggestionOnCommitCharacter=0]=\"acceptSuggestionOnCommitCharacter\",e[e.acceptSuggestionOnEnter=1]=\"acceptSuggestionOnEnter\",e[e.accessibilitySupport=2]=\"accessibilitySupport\",e[e.accessibilityPageSize=3]=\"accessibilityPageSize\",e[e.ariaLabel=4]=\"ariaLabel\",e[e.autoClosingBrackets=5]=\"autoClosingBrackets\",e[e.autoClosingDelete=6]=\"autoClosingDelete\",e[e.autoClosingOvertype=7]=\"autoClosingOvertype\",e[e.autoClosingQuotes=8]=\"autoClosingQuotes\",e[e.autoIndent=9]=\"autoIndent\",e[e.automaticLayout=10]=\"automaticLayout\",e[e.autoSurround=11]=\"autoSurround\",e[e.bracketPairColorization=12]=\"bracketPairColorization\",e[e.guides=13]=\"guides\",e[e.codeLens=14]=\"codeLens\",e[e.codeLensFontFamily=15]=\"codeLensFontFamily\",e[e.codeLensFontSize=16]=\"codeLensFontSize\",e[e.colorDecorators=17]=\"colorDecorators\",e[e.columnSelection=18]=\"columnSelection\",e[e.comments=19]=\"comments\",e[e.contextmenu=20]=\"contextmenu\",e[e.copyWithSyntaxHighlighting=21]=\"copyWithSyntaxHighlighting\",e[e.cursorBlinking=22]=\"cursorBlinking\",e[e.cursorSmoothCaretAnimation=23]=\"cursorSmoothCaretAnimation\",e[e.cursorStyle=24]=\"cursorStyle\",e[e.cursorSurroundingLines=25]=\"cursorSurroundingLines\",e[e.cursorSurroundingLinesStyle=26]=\"cursorSurroundingLinesStyle\",e[e.cursorWidth=27]=\"cursorWidth\",e[e.disableLayerHinting=28]=\"disableLayerHinting\",e[e.disableMonospaceOptimizations=29]=\"disableMonospaceOptimizations\",e[e.domReadOnly=30]=\"domReadOnly\",e[e.dragAndDrop=31]=\"dragAndDrop\",e[e.emptySelectionClipboard=32]=\"emptySelectionClipboard\",e[e.extraEditorClassName=33]=\"extraEditorClassName\",e[e.fastScrollSensitivity=34]=\"fastScrollSensitivity\",e[e.find=35]=\"find\",e[e.fixedOverflowWidgets=36]=\"fixedOverflowWidgets\",e[e.folding=37]=\"folding\",e[e.foldingStrategy=38]=\"foldingStrategy\",e[e.foldingHighlight=39]=\"foldingHighlight\",e[e.foldingImportsByDefault=40]=\"foldingImportsByDefault\",e[e.foldingMaximumRegions=41]=\"foldingMaximumRegions\",e[e.unfoldOnClickAfterEndOfLine=42]=\"unfoldOnClickAfterEndOfLine\",e[e.fontFamily=43]=\"fontFamily\",e[e.fontInfo=44]=\"fontInfo\",e[e.fontLigatures=45]=\"fontLigatures\",e[e.fontSize=46]=\"fontSize\",e[e.fontWeight=47]=\"fontWeight\",e[e.formatOnPaste=48]=\"formatOnPaste\",e[e.formatOnType=49]=\"formatOnType\",e[e.glyphMargin=50]=\"glyphMargin\",e[e.gotoLocation=51]=\"gotoLocation\",e[e.hideCursorInOverviewRuler=52]=\"hideCursorInOverviewRuler\",e[e.hover=53]=\"hover\",e[e.inDiffEditor=54]=\"inDiffEditor\",e[e.inlineSuggest=55]=\"inlineSuggest\",e[e.letterSpacing=56]=\"letterSpacing\",e[e.lightbulb=57]=\"lightbulb\",e[e.lineDecorationsWidth=58]=\"lineDecorationsWidth\",e[e.lineHeight=59]=\"lineHeight\",e[e.lineNumbers=60]=\"lineNumbers\",e[e.lineNumbersMinChars=61]=\"lineNumbersMinChars\",e[e.linkedEditing=62]=\"linkedEditing\",e[e.links=63]=\"links\",e[e.matchBrackets=64]=\"matchBrackets\",e[e.minimap=65]=\"minimap\",e[e.mouseStyle=66]=\"mouseStyle\",e[e.mouseWheelScrollSensitivity=67]=\"mouseWheelScrollSensitivity\",e[e.mouseWheelZoom=68]=\"mouseWheelZoom\",e[e.multiCursorMergeOverlapping=69]=\"multiCursorMergeOverlapping\",e[e.multiCursorModifier=70]=\"multiCursorModifier\",e[e.multiCursorPaste=71]=\"multiCursorPaste\",e[e.occurrencesHighlight=72]=\"occurrencesHighlight\",e[e.overviewRulerBorder=73]=\"overviewRulerBorder\",e[e.overviewRulerLanes=74]=\"overviewRulerLanes\",e[e.padding=75]=\"padding\",e[e.parameterHints=76]=\"parameterHints\",e[e.peekWidgetDefaultFocus=77]=\"peekWidgetDefaultFocus\",e[e.definitionLinkOpensInPeek=78]=\"definitionLinkOpensInPeek\",e[e.quickSuggestions=79]=\"quickSuggestions\",e[e.quickSuggestionsDelay=80]=\"quickSuggestionsDelay\",e[e.readOnly=81]=\"readOnly\",e[e.renameOnType=82]=\"renameOnType\",e[e.renderControlCharacters=83]=\"renderControlCharacters\",e[e.renderFinalNewline=84]=\"renderFinalNewline\",e[e.renderLineHighlight=85]=\"renderLineHighlight\",e[e.renderLineHighlightOnlyWhenFocus=86]=\"renderLineHighlightOnlyWhenFocus\",e[e.renderValidationDecorations=87]=\"renderValidationDecorations\",e[e.renderWhitespace=88]=\"renderWhitespace\",e[e.revealHorizontalRightPadding=89]=\"revealHorizontalRightPadding\",e[e.roundedSelection=90]=\"roundedSelection\",e[e.rulers=91]=\"rulers\",e[e.scrollbar=92]=\"scrollbar\",e[e.scrollBeyondLastColumn=93]=\"scrollBeyondLastColumn\",e[e.scrollBeyondLastLine=94]=\"scrollBeyondLastLine\",e[e.scrollPredominantAxis=95]=\"scrollPredominantAxis\",e[e.selectionClipboard=96]=\"selectionClipboard\",e[e.selectionHighlight=97]=\"selectionHighlight\",e[e.selectOnLineNumbers=98]=\"selectOnLineNumbers\",e[e.showFoldingControls=99]=\"showFoldingControls\",e[e.showUnused=100]=\"showUnused\",e[e.snippetSuggestions=101]=\"snippetSuggestions\",e[e.smartSelect=102]=\"smartSelect\",e[e.smoothScrolling=103]=\"smoothScrolling\",e[e.stickyTabStops=104]=\"stickyTabStops\",e[e.stopRenderingLineAfter=105]=\"stopRenderingLineAfter\",e[e.suggest=106]=\"suggest\",e[e.suggestFontSize=107]=\"suggestFontSize\",e[e.suggestLineHeight=108]=\"suggestLineHeight\",e[e.suggestOnTriggerCharacters=109]=\"suggestOnTriggerCharacters\",e[e.suggestSelection=110]=\"suggestSelection\",e[e.tabCompletion=111]=\"tabCompletion\",e[e.tabIndex=112]=\"tabIndex\",e[e.unicodeHighlighting=113]=\"unicodeHighlighting\",e[e.unusualLineTerminators=114]=\"unusualLineTerminators\",e[e.useShadowDOM=115]=\"useShadowDOM\",e[e.useTabStops=116]=\"useTabStops\",e[e.wordSeparators=117]=\"wordSeparators\",e[e.wordWrap=118]=\"wordWrap\",e[e.wordWrapBreakAfterCharacters=119]=\"wordWrapBreakAfterCharacters\",e[e.wordWrapBreakBeforeCharacters=120]=\"wordWrapBreakBeforeCharacters\",e[e.wordWrapColumn=121]=\"wordWrapColumn\",e[e.wordWrapOverride1=122]=\"wordWrapOverride1\",e[e.wordWrapOverride2=123]=\"wordWrapOverride2\",e[e.wrappingIndent=124]=\"wrappingIndent\",e[e.wrappingStrategy=125]=\"wrappingStrategy\",e[e.showDeprecated=126]=\"showDeprecated\",e[e.inlayHints=127]=\"inlayHints\",e[e.editorClassName=128]=\"editorClassName\",e[e.pixelRatio=129]=\"pixelRatio\",e[e.tabFocusMode=130]=\"tabFocusMode\",e[e.layoutInfo=131]=\"layoutInfo\",e[e.wrappingInfo=132]=\"wrappingInfo\"})(yr||(yr={}));var Tr;(function(e){e[e.TextDefined=0]=\"TextDefined\",e[e.LF=1]=\"LF\",e[e.CRLF=2]=\"CRLF\"})(Tr||(Tr={}));var kr;(function(e){e[e.LF=0]=\"LF\",e[e.CRLF=1]=\"CRLF\"})(kr||(kr={}));var Ar;(function(e){e[e.None=0]=\"None\",e[e.Indent=1]=\"Indent\",e[e.IndentOutdent=2]=\"IndentOutdent\",e[e.Outdent=3]=\"Outdent\"})(Ar||(Ar={}));var Cr;(function(e){e[e.Both=0]=\"Both\",e[e.Right=1]=\"Right\",e[e.Left=2]=\"Left\",e[e.None=3]=\"None\"})(Cr||(Cr={}));var Sr;(function(e){e[e.Type=1]=\"Type\",e[e.Parameter=2]=\"Parameter\"})(Sr||(Sr={}));var xr;(function(e){e[e.Automatic=0]=\"Automatic\",e[e.Explicit=1]=\"Explicit\"})(xr||(xr={}));var dn;(function(e){e[e.DependsOnKbLayout=-1]=\"DependsOnKbLayout\",e[e.Unknown=0]=\"Unknown\",e[e.Backspace=1]=\"Backspace\",e[e.Tab=2]=\"Tab\",e[e.Enter=3]=\"Enter\",e[e.Shift=4]=\"Shift\",e[e.Ctrl=5]=\"Ctrl\",e[e.Alt=6]=\"Alt\",e[e.PauseBreak=7]=\"PauseBreak\",e[e.CapsLock=8]=\"CapsLock\",e[e.Escape=9]=\"Escape\",e[e.Space=10]=\"Space\",e[e.PageUp=11]=\"PageUp\",e[e.PageDown=12]=\"PageDown\",e[e.End=13]=\"End\",e[e.Home=14]=\"Home\",e[e.LeftArrow=15]=\"LeftArrow\",e[e.UpArrow=16]=\"UpArrow\",e[e.RightArrow=17]=\"RightArrow\",e[e.DownArrow=18]=\"DownArrow\",e[e.Insert=19]=\"Insert\",e[e.Delete=20]=\"Delete\",e[e.Digit0=21]=\"Digit0\",e[e.Digit1=22]=\"Digit1\",e[e.Digit2=23]=\"Digit2\",e[e.Digit3=24]=\"Digit3\",e[e.Digit4=25]=\"Digit4\",e[e.Digit5=26]=\"Digit5\",e[e.Digit6=27]=\"Digit6\",e[e.Digit7=28]=\"Digit7\",e[e.Digit8=29]=\"Digit8\",e[e.Digit9=30]=\"Digit9\",e[e.KeyA=31]=\"KeyA\",e[e.KeyB=32]=\"KeyB\",e[e.KeyC=33]=\"KeyC\",e[e.KeyD=34]=\"KeyD\",e[e.KeyE=35]=\"KeyE\",e[e.KeyF=36]=\"KeyF\",e[e.KeyG=37]=\"KeyG\",e[e.KeyH=38]=\"KeyH\",e[e.KeyI=39]=\"KeyI\",e[e.KeyJ=40]=\"KeyJ\",e[e.KeyK=41]=\"KeyK\",e[e.KeyL=42]=\"KeyL\",e[e.KeyM=43]=\"KeyM\",e[e.KeyN=44]=\"KeyN\",e[e.KeyO=45]=\"KeyO\",e[e.KeyP=46]=\"KeyP\",e[e.KeyQ=47]=\"KeyQ\",e[e.KeyR=48]=\"KeyR\",e[e.KeyS=49]=\"KeyS\",e[e.KeyT=50]=\"KeyT\",e[e.KeyU=51]=\"KeyU\",e[e.KeyV=52]=\"KeyV\",e[e.KeyW=53]=\"KeyW\",e[e.KeyX=54]=\"KeyX\",e[e.KeyY=55]=\"KeyY\",e[e.KeyZ=56]=\"KeyZ\",e[e.Meta=57]=\"Meta\",e[e.ContextMenu=58]=\"ContextMenu\",e[e.F1=59]=\"F1\",e[e.F2=60]=\"F2\",e[e.F3=61]=\"F3\",e[e.F4=62]=\"F4\",e[e.F5=63]=\"F5\",e[e.F6=64]=\"F6\",e[e.F7=65]=\"F7\",e[e.F8=66]=\"F8\",e[e.F9=67]=\"F9\",e[e.F10=68]=\"F10\",e[e.F11=69]=\"F11\",e[e.F12=70]=\"F12\",e[e.F13=71]=\"F13\",e[e.F14=72]=\"F14\",e[e.F15=73]=\"F15\",e[e.F16=74]=\"F16\",e[e.F17=75]=\"F17\",e[e.F18=76]=\"F18\",e[e.F19=77]=\"F19\",e[e.NumLock=78]=\"NumLock\",e[e.ScrollLock=79]=\"ScrollLock\",e[e.Semicolon=80]=\"Semicolon\",e[e.Equal=81]=\"Equal\",e[e.Comma=82]=\"Comma\",e[e.Minus=83]=\"Minus\",e[e.Period=84]=\"Period\",e[e.Slash=85]=\"Slash\",e[e.Backquote=86]=\"Backquote\",e[e.BracketLeft=87]=\"BracketLeft\",e[e.Backslash=88]=\"Backslash\",e[e.BracketRight=89]=\"BracketRight\",e[e.Quote=90]=\"Quote\",e[e.OEM_8=91]=\"OEM_8\",e[e.IntlBackslash=92]=\"IntlBackslash\",e[e.Numpad0=93]=\"Numpad0\",e[e.Numpad1=94]=\"Numpad1\",e[e.Numpad2=95]=\"Numpad2\",e[e.Numpad3=96]=\"Numpad3\",e[e.Numpad4=97]=\"Numpad4\",e[e.Numpad5=98]=\"Numpad5\",e[e.Numpad6=99]=\"Numpad6\",e[e.Numpad7=100]=\"Numpad7\",e[e.Numpad8=101]=\"Numpad8\",e[e.Numpad9=102]=\"Numpad9\",e[e.NumpadMultiply=103]=\"NumpadMultiply\",e[e.NumpadAdd=104]=\"NumpadAdd\",e[e.NUMPAD_SEPARATOR=105]=\"NUMPAD_SEPARATOR\",e[e.NumpadSubtract=106]=\"NumpadSubtract\",e[e.NumpadDecimal=107]=\"NumpadDecimal\",e[e.NumpadDivide=108]=\"NumpadDivide\",e[e.KEY_IN_COMPOSITION=109]=\"KEY_IN_COMPOSITION\",e[e.ABNT_C1=110]=\"ABNT_C1\",e[e.ABNT_C2=111]=\"ABNT_C2\",e[e.AudioVolumeMute=112]=\"AudioVolumeMute\",e[e.AudioVolumeUp=113]=\"AudioVolumeUp\",e[e.AudioVolumeDown=114]=\"AudioVolumeDown\",e[e.BrowserSearch=115]=\"BrowserSearch\",e[e.BrowserHome=116]=\"BrowserHome\",e[e.BrowserBack=117]=\"BrowserBack\",e[e.BrowserForward=118]=\"BrowserForward\",e[e.MediaTrackNext=119]=\"MediaTrackNext\",e[e.MediaTrackPrevious=120]=\"MediaTrackPrevious\",e[e.MediaStop=121]=\"MediaStop\",e[e.MediaPlayPause=122]=\"MediaPlayPause\",e[e.LaunchMediaPlayer=123]=\"LaunchMediaPlayer\",e[e.LaunchMail=124]=\"LaunchMail\",e[e.LaunchApp2=125]=\"LaunchApp2\",e[e.Clear=126]=\"Clear\",e[e.MAX_VALUE=127]=\"MAX_VALUE\"})(dn||(dn={}));var fn;(function(e){e[e.Hint=1]=\"Hint\",e[e.Info=2]=\"Info\",e[e.Warning=4]=\"Warning\",e[e.Error=8]=\"Error\"})(fn||(fn={}));var mn;(function(e){e[e.Unnecessary=1]=\"Unnecessary\",e[e.Deprecated=2]=\"Deprecated\"})(mn||(mn={}));var Lr;(function(e){e[e.Inline=1]=\"Inline\",e[e.Gutter=2]=\"Gutter\"})(Lr||(Lr={}));var Er;(function(e){e[e.UNKNOWN=0]=\"UNKNOWN\",e[e.TEXTAREA=1]=\"TEXTAREA\",e[e.GUTTER_GLYPH_MARGIN=2]=\"GUTTER_GLYPH_MARGIN\",e[e.GUTTER_LINE_NUMBERS=3]=\"GUTTER_LINE_NUMBERS\",e[e.GUTTER_LINE_DECORATIONS=4]=\"GUTTER_LINE_DECORATIONS\",e[e.GUTTER_VIEW_ZONE=5]=\"GUTTER_VIEW_ZONE\",e[e.CONTENT_TEXT=6]=\"CONTENT_TEXT\",e[e.CONTENT_EMPTY=7]=\"CONTENT_EMPTY\",e[e.CONTENT_VIEW_ZONE=8]=\"CONTENT_VIEW_ZONE\",e[e.CONTENT_WIDGET=9]=\"CONTENT_WIDGET\",e[e.OVERVIEW_RULER=10]=\"OVERVIEW_RULER\",e[e.SCROLLBAR=11]=\"SCROLLBAR\",e[e.OVERLAY_WIDGET=12]=\"OVERLAY_WIDGET\",e[e.OUTSIDE_EDITOR=13]=\"OUTSIDE_EDITOR\"})(Er||(Er={}));var Mr;(function(e){e[e.TOP_RIGHT_CORNER=0]=\"TOP_RIGHT_CORNER\",e[e.BOTTOM_RIGHT_CORNER=1]=\"BOTTOM_RIGHT_CORNER\",e[e.TOP_CENTER=2]=\"TOP_CENTER\"})(Mr||(Mr={}));var Dr;(function(e){e[e.Left=1]=\"Left\",e[e.Center=2]=\"Center\",e[e.Right=4]=\"Right\",e[e.Full=7]=\"Full\"})(Dr||(Dr={}));var Rr;(function(e){e[e.Left=0]=\"Left\",e[e.Right=1]=\"Right\",e[e.None=2]=\"None\"})(Rr||(Rr={}));var Nr;(function(e){e[e.Off=0]=\"Off\",e[e.On=1]=\"On\",e[e.Relative=2]=\"Relative\",e[e.Interval=3]=\"Interval\",e[e.Custom=4]=\"Custom\"})(Nr||(Nr={}));var Ur;(function(e){e[e.None=0]=\"None\",e[e.Text=1]=\"Text\",e[e.Blocks=2]=\"Blocks\"})(Ur||(Ur={}));var Hr;(function(e){e[e.Smooth=0]=\"Smooth\",e[e.Immediate=1]=\"Immediate\"})(Hr||(Hr={}));var Ir;(function(e){e[e.Auto=1]=\"Auto\",e[e.Hidden=2]=\"Hidden\",e[e.Visible=3]=\"Visible\"})(Ir||(Ir={}));var pn;(function(e){e[e.LTR=0]=\"LTR\",e[e.RTL=1]=\"RTL\"})(pn||(pn={}));var zr;(function(e){e[e.Invoke=1]=\"Invoke\",e[e.TriggerCharacter=2]=\"TriggerCharacter\",e[e.ContentChange=3]=\"ContentChange\"})(zr||(zr={}));var Wr;(function(e){e[e.File=0]=\"File\",e[e.Module=1]=\"Module\",e[e.Namespace=2]=\"Namespace\",e[e.Package=3]=\"Package\",e[e.Class=4]=\"Class\",e[e.Method=5]=\"Method\",e[e.Property=6]=\"Property\",e[e.Field=7]=\"Field\",e[e.Constructor=8]=\"Constructor\",e[e.Enum=9]=\"Enum\",e[e.Interface=10]=\"Interface\",e[e.Function=11]=\"Function\",e[e.Variable=12]=\"Variable\",e[e.Constant=13]=\"Constant\",e[e.String=14]=\"String\",e[e.Number=15]=\"Number\",e[e.Boolean=16]=\"Boolean\",e[e.Array=17]=\"Array\",e[e.Object=18]=\"Object\",e[e.Key=19]=\"Key\",e[e.Null=20]=\"Null\",e[e.EnumMember=21]=\"EnumMember\",e[e.Struct=22]=\"Struct\",e[e.Event=23]=\"Event\",e[e.Operator=24]=\"Operator\",e[e.TypeParameter=25]=\"TypeParameter\"})(Wr||(Wr={}));var Fr;(function(e){e[e.Deprecated=1]=\"Deprecated\"})(Fr||(Fr={}));var Br;(function(e){e[e.Hidden=0]=\"Hidden\",e[e.Blink=1]=\"Blink\",e[e.Smooth=2]=\"Smooth\",e[e.Phase=3]=\"Phase\",e[e.Expand=4]=\"Expand\",e[e.Solid=5]=\"Solid\"})(Br||(Br={}));var Pr;(function(e){e[e.Line=1]=\"Line\",e[e.Block=2]=\"Block\",e[e.Underline=3]=\"Underline\",e[e.LineThin=4]=\"LineThin\",e[e.BlockOutline=5]=\"BlockOutline\",e[e.UnderlineThin=6]=\"UnderlineThin\"})(Pr||(Pr={}));var qr;(function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]=\"AlwaysGrowsWhenTypingAtEdges\",e[e.NeverGrowsWhenTypingAtEdges=1]=\"NeverGrowsWhenTypingAtEdges\",e[e.GrowsOnlyWhenTypingBefore=2]=\"GrowsOnlyWhenTypingBefore\",e[e.GrowsOnlyWhenTypingAfter=3]=\"GrowsOnlyWhenTypingAfter\"})(qr||(qr={}));var Or;(function(e){e[e.None=0]=\"None\",e[e.Same=1]=\"Same\",e[e.Indent=2]=\"Indent\",e[e.DeepIndent=3]=\"DeepIndent\"})(Or||(Or={}));class rt{static chord(t,n){return ms(t,n)}}rt.CtrlCmd=2048,rt.Shift=1024,rt.Alt=512,rt.WinCtrl=256;function ws(){return{editor:void 0,languages:void 0,CancellationTokenSource:cs,Emitter:Ce,KeyCode:dn,KeyMod:rt,Position:ce,Range:Z,Selection:de,SelectionDirection:pn,MarkerSeverity:fn,MarkerTag:mn,Uri:Be,Token:bs}}var Vr;(function(e){e[e.Left=1]=\"Left\",e[e.Center=2]=\"Center\",e[e.Right=4]=\"Right\",e[e.Full=7]=\"Full\"})(Vr||(Vr={}));var jr;(function(e){e[e.Inline=1]=\"Inline\",e[e.Gutter=2]=\"Gutter\"})(jr||(jr={}));var Gr;(function(e){e[e.Both=0]=\"Both\",e[e.Right=1]=\"Right\",e[e.Left=2]=\"Left\",e[e.None=3]=\"None\"})(Gr||(Gr={}));function vs(e,t,n,r,i){if(r===0)return!0;const s=t.charCodeAt(r-1);if(e.get(s)!==0||s===13||s===10)return!0;if(i>0){const l=t.charCodeAt(r);if(e.get(l)!==0)return!0}return!1}function _s(e,t,n,r,i){if(r+i===n)return!0;const s=t.charCodeAt(r+i);if(e.get(s)!==0||s===13||s===10)return!0;if(i>0){const l=t.charCodeAt(r+i-1);if(e.get(l)!==0)return!0}return!1}function ys(e,t,n,r,i){return vs(e,t,n,r,i)&&_s(e,t,n,r,i)}class Ts{constructor(t,n){this._wordSeparators=t,this._searchRegex=n,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(t){this._searchRegex.lastIndex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(t){const n=t.length;let r;do{if(this._prevMatchStartIndex+this._prevMatchLength===n||(r=this._searchRegex.exec(t),!r))return null;const i=r.index,s=r[0].length;if(i===this._prevMatchStartIndex&&s===this._prevMatchLength){if(s===0){ya(t,n,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=i,this._prevMatchLength=s,!this._wordSeparators||ys(this._wordSeparators,t,n,i,s))return r}while(r);return null}}class ks{static computeUnicodeHighlights(t,n,r){const i=r?r.startLineNumber:1,s=r?r.endLineNumber:t.getLineCount(),l=new $r(n),u=l.getCandidateCodePoints();let o;u===\"allNonBasicAscii\"?o=new RegExp(\"[^\\\\t\\\\n\\\\r\\\\x20-\\\\x7E]\",\"g\"):o=new RegExp(`${As(Array.from(u))}`,\"g\");const c=new Ts(null,o),h=[];let d=!1,f,g=0,_=0,b=0;e:for(let y=i,C=s;y<=C;y++){const w=t.getLineContent(y),k=w.length;c.reset(0);do if(f=c.next(w),f){let A=f.index,x=f.index+f[0].length;if(A>0){const v=w.charCodeAt(A-1);Yt(v)&&A--}if(x+1<k){const v=w.charCodeAt(x-1);Yt(v)&&x++}const H=w.substring(A,x),p=rn(A+1,er,w,0),m=l.shouldHighlightNonBasicASCII(H,p?p.word:null);if(m!==0){m===3?g++:m===2?_++:m===1?b++:fa();const v=1e3;if(h.length>=v){d=!0;break e}h.push(new Z(y,A+1,y,x+1))}}while(f)}return{ranges:h,hasMore:d,ambiguousCharacterCount:g,invisibleCharacterCount:_,nonBasicAsciiCharacterCount:b}}static computeUnicodeHighlightReason(t,n){const r=new $r(n);switch(r.shouldHighlightNonBasicASCII(t,null)){case 0:return null;case 2:return{kind:1};case 3:{const s=t.codePointAt(0),l=r.ambiguousCharacters.getPrimaryConfusable(s),u=ge.getLocales().filter(o=>!ge.getInstance(new Set([...n.allowedLocales,o])).isAmbiguous(s));return{kind:0,confusableWith:String.fromCodePoint(l),notAmbiguousInLocales:u}}case 1:return{kind:2}}}}function As(e,t){return`[${pa(e.map(r=>String.fromCodePoint(r)).join(\"\"))}]`}class $r{constructor(t){this.options=t,this.allowedCodePoints=new Set(t.allowedCodePoints),this.ambiguousCharacters=ge.getInstance(new Set(t.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return\"allNonBasicAscii\";const t=new Set;if(this.options.invisibleCharacters)for(const n of xe.codePoints)Xr(String.fromCodePoint(n))||t.add(n);if(this.options.ambiguousCharacters)for(const n of this.ambiguousCharacters.getConfusableCodePoints())t.add(n);for(const n of this.allowedCodePoints)t.delete(n);return t}shouldHighlightNonBasicASCII(t,n){const r=t.codePointAt(0);if(this.allowedCodePoints.has(r))return 0;if(this.options.nonBasicASCII)return 1;let i=!1,s=!1;if(n)for(let l of n){const u=l.codePointAt(0),o=ka(l);i=i||o,!o&&!this.ambiguousCharacters.isAmbiguous(u)&&!xe.isInvisibleCharacter(u)&&(s=!0)}return!i&&s?0:this.options.invisibleCharacters&&!Xr(t)&&xe.isInvisibleCharacter(r)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(r)?3:0}}function Xr(e){return e===\" \"||e===`\n`||e===\"\t\"}var Pe=function(e,t,n,r){function i(s){return s instanceof n?s:new n(function(l){l(s)})}return new(n||(n=Promise))(function(s,l){function u(h){try{c(r.next(h))}catch(d){l(d)}}function o(h){try{c(r.throw(h))}catch(d){l(d)}}function c(h){h.done?s(h.value):i(h.value).then(u,o)}c((r=r.apply(e,t||[])).next())})};class Cs extends Ka{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(t){return this._lines[t-1]}getWordAtPosition(t,n){const r=rn(t.column,ns(n),this._lines[t.lineNumber-1],0);return r?new Z(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn):null}words(t){const n=this._lines,r=this._wordenize.bind(this);let i=0,s=\"\",l=0,u=[];return{*[Symbol.iterator](){for(;;)if(l<u.length){const o=s.substring(u[l].start,u[l].end);l+=1,yield o}else if(i<n.length)s=n[i],u=r(s,t),l=0,i+=1;else break}}}getLineWords(t,n){const r=this._lines[t-1],i=this._wordenize(r,n),s=[];for(const l of i)s.push({word:r.substring(l.start,l.end),startColumn:l.start+1,endColumn:l.end+1});return s}_wordenize(t,n){const r=[];let i;for(n.lastIndex=0;(i=n.exec(t))&&i[0].length!==0;)r.push({start:i.index,end:i.index+i[0].length});return r}getValueInRange(t){if(t=this._validateRange(t),t.startLineNumber===t.endLineNumber)return this._lines[t.startLineNumber-1].substring(t.startColumn-1,t.endColumn-1);const n=this._eol,r=t.startLineNumber-1,i=t.endLineNumber-1,s=[];s.push(this._lines[r].substring(t.startColumn-1));for(let l=r+1;l<i;l++)s.push(this._lines[l]);return s.push(this._lines[i].substring(0,t.endColumn-1)),s.join(n)}offsetAt(t){return t=this._validatePosition(t),this._ensureLineStarts(),this._lineStarts.getPrefixSum(t.lineNumber-2)+(t.column-1)}positionAt(t){t=Math.floor(t),t=Math.max(0,t),this._ensureLineStarts();const n=this._lineStarts.getIndexOf(t),r=this._lines[n.index].length;return{lineNumber:1+n.index,column:1+Math.min(n.remainder,r)}}_validateRange(t){const n=this._validatePosition({lineNumber:t.startLineNumber,column:t.startColumn}),r=this._validatePosition({lineNumber:t.endLineNumber,column:t.endColumn});return n.lineNumber!==t.startLineNumber||n.column!==t.startColumn||r.lineNumber!==t.endLineNumber||r.column!==t.endColumn?{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:r.lineNumber,endColumn:r.column}:t}_validatePosition(t){if(!ce.isIPosition(t))throw new Error(\"bad position\");let{lineNumber:n,column:r}=t,i=!1;if(n<1)n=1,r=1,i=!0;else if(n>this._lines.length)n=this._lines.length,r=this._lines[n-1].length+1,i=!0;else{const s=this._lines[n-1].length+1;r<1?(r=1,i=!0):r>s&&(r=s,i=!0)}return i?{lineNumber:n,column:r}:t}}class Ye{constructor(t,n){this._host=t,this._models=Object.create(null),this._foreignModuleFactory=n,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(t){return this._models[t]}_getModels(){const t=[];return Object.keys(this._models).forEach(n=>t.push(this._models[n])),t}acceptNewModel(t){this._models[t.url]=new Cs(Be.parse(t.url),t.lines,t.EOL,t.versionId)}acceptModelChanged(t,n){if(!this._models[t])return;this._models[t].onEvents(n)}acceptRemovedModel(t){!this._models[t]||delete this._models[t]}computeUnicodeHighlights(t,n,r){return Pe(this,void 0,void 0,function*(){const i=this._getModel(t);return i?ks.computeUnicodeHighlights(i,n,r):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(t,n,r,i){return Pe(this,void 0,void 0,function*(){const s=this._getModel(t),l=this._getModel(n);if(!s||!l)return null;const u=s.getLinesContent(),o=l.getLinesContent(),h=new Ya(u,o,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:r,shouldMakePrettyDiff:!0,maxComputationTime:i}).computeDiff(),d=h.changes.length>0?!1:this._modelsAreIdentical(s,l);return{quitEarly:h.quitEarly,identical:d,changes:h.changes}})}_modelsAreIdentical(t,n){const r=t.getLineCount(),i=n.getLineCount();if(r!==i)return!1;for(let s=1;s<=r;s++){const l=t.getLineContent(s),u=n.getLineContent(s);if(l!==u)return!1}return!0}computeMoreMinimalEdits(t,n){return Pe(this,void 0,void 0,function*(){const r=this._getModel(t);if(!r)return n;const i=[];let s;n=n.slice(0).sort((l,u)=>{if(l.range&&u.range)return Z.compareRangesUsingStarts(l.range,u.range);const o=l.range?0:1,c=u.range?0:1;return o-c});for(let{range:l,text:u,eol:o}of n){if(typeof o==\"number\"&&(s=o),Z.isEmpty(l)&&!u)continue;const c=r.getValueInRange(l);if(u=u.replace(/\\r\\n|\\n|\\r/g,r.eol),c===u)continue;if(Math.max(u.length,c.length)>Ye._diffLimit){i.push({range:l,text:u});continue}const h=Na(c,u,!1),d=r.offsetAt(Z.lift(l).getStartPosition());for(const f of h){const g=r.positionAt(d+f.originalStart),_=r.positionAt(d+f.originalStart+f.originalLength),b={text:u.substr(f.modifiedStart,f.modifiedLength),range:{startLineNumber:g.lineNumber,startColumn:g.column,endLineNumber:_.lineNumber,endColumn:_.column}};r.getValueInRange(b.range)!==b.text&&i.push(b)}}return typeof s==\"number\"&&i.push({eol:s,text:\"\",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),i})}computeLinks(t){return Pe(this,void 0,void 0,function*(){const n=this._getModel(t);return n?us(n):null})}textualSuggest(t,n,r,i){return Pe(this,void 0,void 0,function*(){const s=new pt(!0),l=new RegExp(r,i),u=new Set;e:for(let o of t){const c=this._getModel(o);if(!!c){for(let h of c.words(l))if(!(h===n||!isNaN(Number(h)))&&(u.add(h),u.size>Ye._suggestionsLimit))break e}}return{words:Array.from(u),duration:s.elapsed()}})}computeWordRanges(t,n,r,i){return Pe(this,void 0,void 0,function*(){const s=this._getModel(t);if(!s)return Object.create(null);const l=new RegExp(r,i),u=Object.create(null);for(let o=n.startLineNumber;o<n.endLineNumber;o++){const c=s.getLineWords(o,l);for(const h of c){if(!isNaN(Number(h.word)))continue;let d=u[h.word];d||(d=[],u[h.word]=d),d.push({startLineNumber:o,startColumn:h.startColumn,endLineNumber:o,endColumn:h.endColumn})}}return u})}navigateValueSet(t,n,r,i,s){return Pe(this,void 0,void 0,function*(){const l=this._getModel(t);if(!l)return null;const u=new RegExp(i,s);n.startColumn===n.endColumn&&(n={startLineNumber:n.startLineNumber,startColumn:n.startColumn,endLineNumber:n.endLineNumber,endColumn:n.endColumn+1});const o=l.getValueInRange(n),c=l.getWordAtPosition({lineNumber:n.startLineNumber,column:n.startColumn},u);if(!c)return null;const h=l.getValueInRange(c);return on.INSTANCE.navigateValueSet(n,o,c,h,r)})}loadForeignModule(t,n,r){const l={host:da(r,(u,o)=>this._host.fhr(u,o)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(l,n),Promise.resolve(Jt(this._foreignModule))):Promise.reject(new Error(\"Unexpected usage\"))}fmr(t,n){if(!this._foreignModule||typeof this._foreignModule[t]!=\"function\")return Promise.reject(new Error(\"Missing requestHandler or method: \"+t));try{return Promise.resolve(this._foreignModule[t].apply(this._foreignModule,n))}catch(r){return Promise.reject(r)}}}Ye._diffLimit=1e5,Ye._suggestionsLimit=1e4,typeof importScripts==\"function\"&&(re.monaco=ws());let gn=!1;function Jr(e){if(gn)return;gn=!0;const t=new Da(n=>{self.postMessage(n)},n=>new Ye(n,e));self.onmessage=n=>{t.onmessage(n.data)}}self.onmessage=e=>{gn||Jr(null)};/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/function Ss(e,t){let n;return t.length===0?n=e:n=e.replace(/\\{(\\d+)\\}/g,(r,i)=>{let s=i[0];return typeof t[s]!=\"undefined\"?t[s]:r}),n}function xs(e,t,...n){return Ss(t,n)}function bn(e){return xs}var Yr;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647})(Yr||(Yr={}));var kt;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647})(kt||(kt={}));var ne;(function(e){function t(r,i){return r===Number.MAX_VALUE&&(r=kt.MAX_VALUE),i===Number.MAX_VALUE&&(i=kt.MAX_VALUE),{line:r,character:i}}e.create=t;function n(r){var i=r;return S.objectLiteral(i)&&S.uinteger(i.line)&&S.uinteger(i.character)}e.is=n})(ne||(ne={}));var X;(function(e){function t(r,i,s,l){if(S.uinteger(r)&&S.uinteger(i)&&S.uinteger(s)&&S.uinteger(l))return{start:ne.create(r,i),end:ne.create(s,l)};if(ne.is(r)&&ne.is(i))return{start:r,end:i};throw new Error(\"Range#create called with invalid arguments[\"+r+\", \"+i+\", \"+s+\", \"+l+\"]\")}e.create=t;function n(r){var i=r;return S.objectLiteral(i)&&ne.is(i.start)&&ne.is(i.end)}e.is=n})(X||(X={}));var At;(function(e){function t(r,i){return{uri:r,range:i}}e.create=t;function n(r){var i=r;return S.defined(i)&&X.is(i.range)&&(S.string(i.uri)||S.undefined(i.uri))}e.is=n})(At||(At={}));var Qr;(function(e){function t(r,i,s,l){return{targetUri:r,targetRange:i,targetSelectionRange:s,originSelectionRange:l}}e.create=t;function n(r){var i=r;return S.defined(i)&&X.is(i.targetRange)&&S.string(i.targetUri)&&(X.is(i.targetSelectionRange)||S.undefined(i.targetSelectionRange))&&(X.is(i.originSelectionRange)||S.undefined(i.originSelectionRange))}e.is=n})(Qr||(Qr={}));var wn;(function(e){function t(r,i,s,l){return{red:r,green:i,blue:s,alpha:l}}e.create=t;function n(r){var i=r;return S.numberRange(i.red,0,1)&&S.numberRange(i.green,0,1)&&S.numberRange(i.blue,0,1)&&S.numberRange(i.alpha,0,1)}e.is=n})(wn||(wn={}));var Zr;(function(e){function t(r,i){return{range:r,color:i}}e.create=t;function n(r){var i=r;return X.is(i.range)&&wn.is(i.color)}e.is=n})(Zr||(Zr={}));var Kr;(function(e){function t(r,i,s){return{label:r,textEdit:i,additionalTextEdits:s}}e.create=t;function n(r){var i=r;return S.string(i.label)&&(S.undefined(i.textEdit)||ee.is(i))&&(S.undefined(i.additionalTextEdits)||S.typedArray(i.additionalTextEdits,ee.is))}e.is=n})(Kr||(Kr={}));var Ct;(function(e){e.Comment=\"comment\",e.Imports=\"imports\",e.Region=\"region\"})(Ct||(Ct={}));var ei;(function(e){function t(r,i,s,l,u){var o={startLine:r,endLine:i};return S.defined(s)&&(o.startCharacter=s),S.defined(l)&&(o.endCharacter=l),S.defined(u)&&(o.kind=u),o}e.create=t;function n(r){var i=r;return S.uinteger(i.startLine)&&S.uinteger(i.startLine)&&(S.undefined(i.startCharacter)||S.uinteger(i.startCharacter))&&(S.undefined(i.endCharacter)||S.uinteger(i.endCharacter))&&(S.undefined(i.kind)||S.string(i.kind))}e.is=n})(ei||(ei={}));var vn;(function(e){function t(r,i){return{location:r,message:i}}e.create=t;function n(r){var i=r;return S.defined(i)&&At.is(i.location)&&S.string(i.message)}e.is=n})(vn||(vn={}));var ti;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(ti||(ti={}));var ni;(function(e){e.Unnecessary=1,e.Deprecated=2})(ni||(ni={}));var ri;(function(e){function t(n){var r=n;return r!=null&&S.string(r.href)}e.is=t})(ri||(ri={}));var St;(function(e){function t(r,i,s,l,u,o){var c={range:r,message:i};return S.defined(s)&&(c.severity=s),S.defined(l)&&(c.code=l),S.defined(u)&&(c.source=u),S.defined(o)&&(c.relatedInformation=o),c}e.create=t;function n(r){var i,s=r;return S.defined(s)&&X.is(s.range)&&S.string(s.message)&&(S.number(s.severity)||S.undefined(s.severity))&&(S.integer(s.code)||S.string(s.code)||S.undefined(s.code))&&(S.undefined(s.codeDescription)||S.string((i=s.codeDescription)===null||i===void 0?void 0:i.href))&&(S.string(s.source)||S.undefined(s.source))&&(S.undefined(s.relatedInformation)||S.typedArray(s.relatedInformation,vn.is))}e.is=n})(St||(St={}));var it;(function(e){function t(r,i){for(var s=[],l=2;l<arguments.length;l++)s[l-2]=arguments[l];var u={title:r,command:i};return S.defined(s)&&s.length>0&&(u.arguments=s),u}e.create=t;function n(r){var i=r;return S.defined(i)&&S.string(i.title)&&S.string(i.command)}e.is=n})(it||(it={}));var ee;(function(e){function t(s,l){return{range:s,newText:l}}e.replace=t;function n(s,l){return{range:{start:s,end:s},newText:l}}e.insert=n;function r(s){return{range:s,newText:\"\"}}e.del=r;function i(s){var l=s;return S.objectLiteral(l)&&S.string(l.newText)&&X.is(l.range)}e.is=i})(ee||(ee={}));var Qe;(function(e){function t(r,i,s){var l={label:r};return i!==void 0&&(l.needsConfirmation=i),s!==void 0&&(l.description=s),l}e.create=t;function n(r){var i=r;return i!==void 0&&S.objectLiteral(i)&&S.string(i.label)&&(S.boolean(i.needsConfirmation)||i.needsConfirmation===void 0)&&(S.string(i.description)||i.description===void 0)}e.is=n})(Qe||(Qe={}));var ae;(function(e){function t(n){var r=n;return typeof r==\"string\"}e.is=t})(ae||(ae={}));var Ne;(function(e){function t(s,l,u){return{range:s,newText:l,annotationId:u}}e.replace=t;function n(s,l,u){return{range:{start:s,end:s},newText:l,annotationId:u}}e.insert=n;function r(s,l){return{range:s,newText:\"\",annotationId:l}}e.del=r;function i(s){var l=s;return ee.is(l)&&(Qe.is(l.annotationId)||ae.is(l.annotationId))}e.is=i})(Ne||(Ne={}));var xt;(function(e){function t(r,i){return{textDocument:r,edits:i}}e.create=t;function n(r){var i=r;return S.defined(i)&&Et.is(i.textDocument)&&Array.isArray(i.edits)}e.is=n})(xt||(xt={}));var at;(function(e){function t(r,i,s){var l={kind:\"create\",uri:r};return i!==void 0&&(i.overwrite!==void 0||i.ignoreIfExists!==void 0)&&(l.options=i),s!==void 0&&(l.annotationId=s),l}e.create=t;function n(r){var i=r;return i&&i.kind===\"create\"&&S.string(i.uri)&&(i.options===void 0||(i.options.overwrite===void 0||S.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||S.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||ae.is(i.annotationId))}e.is=n})(at||(at={}));var st;(function(e){function t(r,i,s,l){var u={kind:\"rename\",oldUri:r,newUri:i};return s!==void 0&&(s.overwrite!==void 0||s.ignoreIfExists!==void 0)&&(u.options=s),l!==void 0&&(u.annotationId=l),u}e.create=t;function n(r){var i=r;return i&&i.kind===\"rename\"&&S.string(i.oldUri)&&S.string(i.newUri)&&(i.options===void 0||(i.options.overwrite===void 0||S.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||S.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||ae.is(i.annotationId))}e.is=n})(st||(st={}));var ot;(function(e){function t(r,i,s){var l={kind:\"delete\",uri:r};return i!==void 0&&(i.recursive!==void 0||i.ignoreIfNotExists!==void 0)&&(l.options=i),s!==void 0&&(l.annotationId=s),l}e.create=t;function n(r){var i=r;return i&&i.kind===\"delete\"&&S.string(i.uri)&&(i.options===void 0||(i.options.recursive===void 0||S.boolean(i.options.recursive))&&(i.options.ignoreIfNotExists===void 0||S.boolean(i.options.ignoreIfNotExists)))&&(i.annotationId===void 0||ae.is(i.annotationId))}e.is=n})(ot||(ot={}));var _n;(function(e){function t(n){var r=n;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(function(i){return S.string(i.kind)?at.is(i)||st.is(i)||ot.is(i):xt.is(i)}))}e.is=t})(_n||(_n={}));var Lt=function(){function e(t,n){this.edits=t,this.changeAnnotations=n}return e.prototype.insert=function(t,n,r){var i,s;if(r===void 0?i=ee.insert(t,n):ae.is(r)?(s=r,i=Ne.insert(t,n,r)):(this.assertChangeAnnotations(this.changeAnnotations),s=this.changeAnnotations.manage(r),i=Ne.insert(t,n,s)),this.edits.push(i),s!==void 0)return s},e.prototype.replace=function(t,n,r){var i,s;if(r===void 0?i=ee.replace(t,n):ae.is(r)?(s=r,i=Ne.replace(t,n,r)):(this.assertChangeAnnotations(this.changeAnnotations),s=this.changeAnnotations.manage(r),i=Ne.replace(t,n,s)),this.edits.push(i),s!==void 0)return s},e.prototype.delete=function(t,n){var r,i;if(n===void 0?r=ee.del(t):ae.is(n)?(i=n,r=Ne.del(t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=Ne.del(t,i)),this.edits.push(r),i!==void 0)return i},e.prototype.add=function(t){this.edits.push(t)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(t){if(t===void 0)throw new Error(\"Text edit change is not configured to manage change annotations.\")},e}(),ii=function(){function e(t){this._annotations=t===void 0?Object.create(null):t,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(t,n){var r;if(ae.is(t)?r=t:(r=this.nextId(),n=t),this._annotations[r]!==void 0)throw new Error(\"Id \"+r+\" is already in use.\");if(n===void 0)throw new Error(\"No annotation provided for id \"+r);return this._annotations[r]=n,this._size++,r},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();(function(){function e(t){var n=this;this._textEditChanges=Object.create(null),t!==void 0?(this._workspaceEdit=t,t.documentChanges?(this._changeAnnotations=new ii(t.changeAnnotations),t.changeAnnotations=this._changeAnnotations.all(),t.documentChanges.forEach(function(r){if(xt.is(r)){var i=new Lt(r.edits,n._changeAnnotations);n._textEditChanges[r.textDocument.uri]=i}})):t.changes&&Object.keys(t.changes).forEach(function(r){var i=new Lt(t.changes[r]);n._textEditChanges[r]=i})):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(t){if(Et.is(t)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var n={uri:t.uri,version:t.version},r=this._textEditChanges[n.uri];if(!r){var i=[],s={textDocument:n,edits:i};this._workspaceEdit.documentChanges.push(s),r=new Lt(i,this._changeAnnotations),this._textEditChanges[n.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[t];if(!r){var i=[];this._workspaceEdit.changes[t]=i,r=new Lt(i),this._textEditChanges[t]=r}return r}},e.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new ii,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(t,n,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var i;Qe.is(n)||ae.is(n)?i=n:r=n;var s,l;if(i===void 0?s=at.create(t,r):(l=ae.is(i)?i:this._changeAnnotations.manage(i),s=at.create(t,r,l)),this._workspaceEdit.documentChanges.push(s),l!==void 0)return l},e.prototype.renameFile=function(t,n,r,i){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var s;Qe.is(r)||ae.is(r)?s=r:i=r;var l,u;if(s===void 0?l=st.create(t,n,i):(u=ae.is(s)?s:this._changeAnnotations.manage(s),l=st.create(t,n,i,u)),this._workspaceEdit.documentChanges.push(l),u!==void 0)return u},e.prototype.deleteFile=function(t,n,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var i;Qe.is(n)||ae.is(n)?i=n:r=n;var s,l;if(i===void 0?s=ot.create(t,r):(l=ae.is(i)?i:this._changeAnnotations.manage(i),s=ot.create(t,r,l)),this._workspaceEdit.documentChanges.push(s),l!==void 0)return l},e})();var ai;(function(e){function t(r){return{uri:r}}e.create=t;function n(r){var i=r;return S.defined(i)&&S.string(i.uri)}e.is=n})(ai||(ai={}));var si;(function(e){function t(r,i){return{uri:r,version:i}}e.create=t;function n(r){var i=r;return S.defined(i)&&S.string(i.uri)&&S.integer(i.version)}e.is=n})(si||(si={}));var Et;(function(e){function t(r,i){return{uri:r,version:i}}e.create=t;function n(r){var i=r;return S.defined(i)&&S.string(i.uri)&&(i.version===null||S.integer(i.version))}e.is=n})(Et||(Et={}));var oi;(function(e){function t(r,i,s,l){return{uri:r,languageId:i,version:s,text:l}}e.create=t;function n(r){var i=r;return S.defined(i)&&S.string(i.uri)&&S.string(i.languageId)&&S.integer(i.version)&&S.string(i.text)}e.is=n})(oi||(oi={}));var we;(function(e){e.PlainText=\"plaintext\",e.Markdown=\"markdown\"})(we||(we={})),function(e){function t(n){var r=n;return r===e.PlainText||r===e.Markdown}e.is=t}(we||(we={}));var yn;(function(e){function t(n){var r=n;return S.objectLiteral(n)&&we.is(r.kind)&&S.string(r.value)}e.is=t})(yn||(yn={}));var he;(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})(he||(he={}));var ve;(function(e){e.PlainText=1,e.Snippet=2})(ve||(ve={}));var li;(function(e){e.Deprecated=1})(li||(li={}));var ui;(function(e){function t(r,i,s){return{newText:r,insert:i,replace:s}}e.create=t;function n(r){var i=r;return i&&S.string(i.newText)&&X.is(i.insert)&&X.is(i.replace)}e.is=n})(ui||(ui={}));var ci;(function(e){e.asIs=1,e.adjustIndentation=2})(ci||(ci={}));var hi;(function(e){function t(n){return{label:n}}e.create=t})(hi||(hi={}));var di;(function(e){function t(n,r){return{items:n||[],isIncomplete:!!r}}e.create=t})(di||(di={}));var Mt;(function(e){function t(r){return r.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g,\"\\\\$&\")}e.fromPlainText=t;function n(r){var i=r;return S.string(i)||S.objectLiteral(i)&&S.string(i.language)&&S.string(i.value)}e.is=n})(Mt||(Mt={}));var fi;(function(e){function t(n){var r=n;return!!r&&S.objectLiteral(r)&&(yn.is(r.contents)||Mt.is(r.contents)||S.typedArray(r.contents,Mt.is))&&(n.range===void 0||X.is(n.range))}e.is=t})(fi||(fi={}));var mi;(function(e){function t(n,r){return r?{label:n,documentation:r}:{label:n}}e.create=t})(mi||(mi={}));var pi;(function(e){function t(n,r){for(var i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];var l={label:n};return S.defined(r)&&(l.documentation=r),S.defined(i)?l.parameters=i:l.parameters=[],l}e.create=t})(pi||(pi={}));var Dt;(function(e){e.Text=1,e.Read=2,e.Write=3})(Dt||(Dt={}));var gi;(function(e){function t(n,r){var i={range:n};return S.number(r)&&(i.kind=r),i}e.create=t})(gi||(gi={}));var Tn;(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})(Tn||(Tn={}));var bi;(function(e){e.Deprecated=1})(bi||(bi={}));var wi;(function(e){function t(n,r,i,s,l){var u={name:n,kind:r,location:{uri:s,range:i}};return l&&(u.containerName=l),u}e.create=t})(wi||(wi={}));var vi;(function(e){function t(r,i,s,l,u,o){var c={name:r,detail:i,kind:s,range:l,selectionRange:u};return o!==void 0&&(c.children=o),c}e.create=t;function n(r){var i=r;return i&&S.string(i.name)&&S.number(i.kind)&&X.is(i.range)&&X.is(i.selectionRange)&&(i.detail===void 0||S.string(i.detail))&&(i.deprecated===void 0||S.boolean(i.deprecated))&&(i.children===void 0||Array.isArray(i.children))&&(i.tags===void 0||Array.isArray(i.tags))}e.is=n})(vi||(vi={}));var _i;(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\"})(_i||(_i={}));var yi;(function(e){function t(r,i){var s={diagnostics:r};return i!=null&&(s.only=i),s}e.create=t;function n(r){var i=r;return S.defined(i)&&S.typedArray(i.diagnostics,St.is)&&(i.only===void 0||S.typedArray(i.only,S.string))}e.is=n})(yi||(yi={}));var Ti;(function(e){function t(r,i,s){var l={title:r},u=!0;return typeof i==\"string\"?(u=!1,l.kind=i):it.is(i)?l.command=i:l.edit=i,u&&s!==void 0&&(l.kind=s),l}e.create=t;function n(r){var i=r;return i&&S.string(i.title)&&(i.diagnostics===void 0||S.typedArray(i.diagnostics,St.is))&&(i.kind===void 0||S.string(i.kind))&&(i.edit!==void 0||i.command!==void 0)&&(i.command===void 0||it.is(i.command))&&(i.isPreferred===void 0||S.boolean(i.isPreferred))&&(i.edit===void 0||_n.is(i.edit))}e.is=n})(Ti||(Ti={}));var ki;(function(e){function t(r,i){var s={range:r};return S.defined(i)&&(s.data=i),s}e.create=t;function n(r){var i=r;return S.defined(i)&&X.is(i.range)&&(S.undefined(i.command)||it.is(i.command))}e.is=n})(ki||(ki={}));var Ai;(function(e){function t(r,i){return{tabSize:r,insertSpaces:i}}e.create=t;function n(r){var i=r;return S.defined(i)&&S.uinteger(i.tabSize)&&S.boolean(i.insertSpaces)}e.is=n})(Ai||(Ai={}));var Ci;(function(e){function t(r,i,s){return{range:r,target:i,data:s}}e.create=t;function n(r){var i=r;return S.defined(i)&&X.is(i.range)&&(S.undefined(i.target)||S.string(i.target))}e.is=n})(Ci||(Ci={}));var Rt;(function(e){function t(r,i){return{range:r,parent:i}}e.create=t;function n(r){var i=r;return i!==void 0&&X.is(i.range)&&(i.parent===void 0||e.is(i.parent))}e.is=n})(Rt||(Rt={}));var Si;(function(e){function t(s,l,u,o){return new Ls(s,l,u,o)}e.create=t;function n(s){var l=s;return!!(S.defined(l)&&S.string(l.uri)&&(S.undefined(l.languageId)||S.string(l.languageId))&&S.uinteger(l.lineCount)&&S.func(l.getText)&&S.func(l.positionAt)&&S.func(l.offsetAt))}e.is=n;function r(s,l){for(var u=s.getText(),o=i(l,function(_,b){var y=_.range.start.line-b.range.start.line;return y===0?_.range.start.character-b.range.start.character:y}),c=u.length,h=o.length-1;h>=0;h--){var d=o[h],f=s.offsetAt(d.range.start),g=s.offsetAt(d.range.end);if(g<=c)u=u.substring(0,f)+d.newText+u.substring(g,u.length);else throw new Error(\"Overlapping edit\");c=f}return u}e.applyEdits=r;function i(s,l){if(s.length<=1)return s;var u=s.length/2|0,o=s.slice(0,u),c=s.slice(u);i(o,l),i(c,l);for(var h=0,d=0,f=0;h<o.length&&d<c.length;){var g=l(o[h],c[d]);g<=0?s[f++]=o[h++]:s[f++]=c[d++]}for(;h<o.length;)s[f++]=o[h++];for(;d<c.length;)s[f++]=c[d++];return s}})(Si||(Si={}));var Ls=function(){function e(t,n,r,i){this._uri=t,this._languageId=n,this._version=r,this._content=i,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(t){if(t){var n=this.offsetAt(t.start),r=this.offsetAt(t.end);return this._content.substring(n,r)}return this._content},e.prototype.update=function(t,n){this._content=t.text,this._version=n,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(this._lineOffsets===void 0){for(var t=[],n=this._content,r=!0,i=0;i<n.length;i++){r&&(t.push(i),r=!1);var s=n.charAt(i);r=s===\"\\r\"||s===`\n`,s===\"\\r\"&&i+1<n.length&&n.charAt(i+1)===`\n`&&i++}r&&n.length>0&&t.push(n.length),this._lineOffsets=t}return this._lineOffsets},e.prototype.positionAt=function(t){t=Math.max(Math.min(t,this._content.length),0);var n=this.getLineOffsets(),r=0,i=n.length;if(i===0)return ne.create(0,t);for(;r<i;){var s=Math.floor((r+i)/2);n[s]>t?i=s:r=s+1}var l=r-1;return ne.create(l,t-n[l])},e.prototype.offsetAt=function(t){var n=this.getLineOffsets();if(t.line>=n.length)return this._content.length;if(t.line<0)return 0;var r=n[t.line],i=t.line+1<n.length?n[t.line+1]:this._content.length;return Math.max(Math.min(r+t.character,i),r)},Object.defineProperty(e.prototype,\"lineCount\",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),e}(),S;(function(e){var t=Object.prototype.toString;function n(g){return typeof g!=\"undefined\"}e.defined=n;function r(g){return typeof g==\"undefined\"}e.undefined=r;function i(g){return g===!0||g===!1}e.boolean=i;function s(g){return t.call(g)===\"[object String]\"}e.string=s;function l(g){return t.call(g)===\"[object Number]\"}e.number=l;function u(g,_,b){return t.call(g)===\"[object Number]\"&&_<=g&&g<=b}e.numberRange=u;function o(g){return t.call(g)===\"[object Number]\"&&-2147483648<=g&&g<=2147483647}e.integer=o;function c(g){return t.call(g)===\"[object Number]\"&&0<=g&&g<=2147483647}e.uinteger=c;function h(g){return t.call(g)===\"[object Function]\"}e.func=h;function d(g){return g!==null&&typeof g==\"object\"}e.objectLiteral=d;function f(g,_){return Array.isArray(g)&&g.every(_)}e.typedArray=f})(S||(S={}));var Nt=class{constructor(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){const t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content}update(e,t){for(let n of e)if(Nt.isIncremental(n)){const r=Li(n.range),i=this.offsetAt(r.start),s=this.offsetAt(r.end);this._content=this._content.substring(0,i)+n.text+this._content.substring(s,this._content.length);const l=Math.max(r.start.line,0),u=Math.max(r.end.line,0);let o=this._lineOffsets;const c=xi(n.text,!1,i);if(u-l===c.length)for(let d=0,f=c.length;d<f;d++)o[d+l+1]=c[d];else c.length<1e4?o.splice(l+1,u-l,...c):this._lineOffsets=o=o.slice(0,l+1).concat(c,o.slice(u+1));const h=n.text.length-(s-i);if(h!==0)for(let d=l+1+c.length,f=o.length;d<f;d++)o[d]=o[d]+h}else if(Nt.isFull(n))this._content=n.text,this._lineOffsets=void 0;else throw new Error(\"Unknown change event received\");this._version=t}getLineOffsets(){return this._lineOffsets===void 0&&(this._lineOffsets=xi(this._content,!0)),this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),n=0,r=t.length;if(r===0)return{line:0,character:e};for(;n<r;){let s=Math.floor((n+r)/2);t[s]>e?r=s:n=s+1}let i=n-1;return{line:i,character:e-t[i]}}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)}get lineCount(){return this.getLineOffsets().length}static isIncremental(e){let t=e;return t!=null&&typeof t.text==\"string\"&&t.range!==void 0&&(t.rangeLength===void 0||typeof t.rangeLength==\"number\")}static isFull(e){let t=e;return t!=null&&typeof t.text==\"string\"&&t.range===void 0&&t.rangeLength===void 0}},kn;(function(e){function t(i,s,l,u){return new Nt(i,s,l,u)}e.create=t;function n(i,s,l){if(i instanceof Nt)return i.update(s,l),i;throw new Error(\"TextDocument.update: document must be created by TextDocument.create\")}e.update=n;function r(i,s){let l=i.getText(),u=An(s.map(Es),(h,d)=>{let f=h.range.start.line-d.range.start.line;return f===0?h.range.start.character-d.range.start.character:f}),o=0;const c=[];for(const h of u){let d=i.offsetAt(h.range.start);if(d<o)throw new Error(\"Overlapping edit\");d>o&&c.push(l.substring(o,d)),h.newText.length&&c.push(h.newText),o=i.offsetAt(h.range.end)}return c.push(l.substr(o)),c.join(\"\")}e.applyEdits=r})(kn||(kn={}));function An(e,t){if(e.length<=1)return e;const n=e.length/2|0,r=e.slice(0,n),i=e.slice(n);An(r,t),An(i,t);let s=0,l=0,u=0;for(;s<r.length&&l<i.length;)t(r[s],i[l])<=0?e[u++]=r[s++]:e[u++]=i[l++];for(;s<r.length;)e[u++]=r[s++];for(;l<i.length;)e[u++]=i[l++];return e}function xi(e,t,n=0){const r=t?[n]:[];for(let i=0;i<e.length;i++){let s=e.charCodeAt(i);(s===13||s===10)&&(s===13&&i+1<e.length&&e.charCodeAt(i+1)===10&&i++,r.push(n+i+1))}return r}function Li(e){const t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function Es(e){const t=Li(e.range);return t!==e.range?{newText:e.newText,range:t}:e}var R;(function(e){e[e.StartCommentTag=0]=\"StartCommentTag\",e[e.Comment=1]=\"Comment\",e[e.EndCommentTag=2]=\"EndCommentTag\",e[e.StartTagOpen=3]=\"StartTagOpen\",e[e.StartTagClose=4]=\"StartTagClose\",e[e.StartTagSelfClose=5]=\"StartTagSelfClose\",e[e.StartTag=6]=\"StartTag\",e[e.EndTagOpen=7]=\"EndTagOpen\",e[e.EndTagClose=8]=\"EndTagClose\",e[e.EndTag=9]=\"EndTag\",e[e.DelimiterAssign=10]=\"DelimiterAssign\",e[e.AttributeName=11]=\"AttributeName\",e[e.AttributeValue=12]=\"AttributeValue\",e[e.StartDoctypeTag=13]=\"StartDoctypeTag\",e[e.Doctype=14]=\"Doctype\",e[e.EndDoctypeTag=15]=\"EndDoctypeTag\",e[e.Content=16]=\"Content\",e[e.Whitespace=17]=\"Whitespace\",e[e.Unknown=18]=\"Unknown\",e[e.Script=19]=\"Script\",e[e.Styles=20]=\"Styles\",e[e.EOS=21]=\"EOS\"})(R||(R={}));var O;(function(e){e[e.WithinContent=0]=\"WithinContent\",e[e.AfterOpeningStartTag=1]=\"AfterOpeningStartTag\",e[e.AfterOpeningEndTag=2]=\"AfterOpeningEndTag\",e[e.WithinDoctype=3]=\"WithinDoctype\",e[e.WithinTag=4]=\"WithinTag\",e[e.WithinEndTag=5]=\"WithinEndTag\",e[e.WithinComment=6]=\"WithinComment\",e[e.WithinScriptContent=7]=\"WithinScriptContent\",e[e.WithinStyleContent=8]=\"WithinStyleContent\",e[e.AfterAttributeName=9]=\"AfterAttributeName\",e[e.BeforeAttributeValue=10]=\"BeforeAttributeValue\"})(O||(O={}));var Ei;(function(e){e.LATEST={textDocument:{completion:{completionItem:{documentationFormat:[we.Markdown,we.PlainText]}},hover:{contentFormat:[we.Markdown,we.PlainText]}}}})(Ei||(Ei={}));var Cn;(function(e){e[e.Unknown=0]=\"Unknown\",e[e.File=1]=\"File\",e[e.Directory=2]=\"Directory\",e[e.SymbolicLink=64]=\"SymbolicLink\"})(Cn||(Cn={}));var Ue=bn(),Ms=function(){function e(t,n){this.source=t,this.len=t.length,this.position=n}return e.prototype.eos=function(){return this.len<=this.position},e.prototype.getSource=function(){return this.source},e.prototype.pos=function(){return this.position},e.prototype.goBackTo=function(t){this.position=t},e.prototype.goBack=function(t){this.position-=t},e.prototype.advance=function(t){this.position+=t},e.prototype.goToEnd=function(){this.position=this.source.length},e.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},e.prototype.peekChar=function(t){return t===void 0&&(t=0),this.source.charCodeAt(this.position+t)||0},e.prototype.advanceIfChar=function(t){return t===this.source.charCodeAt(this.position)?(this.position++,!0):!1},e.prototype.advanceIfChars=function(t){var n;if(this.position+t.length>this.source.length)return!1;for(n=0;n<t.length;n++)if(this.source.charCodeAt(this.position+n)!==t[n])return!1;return this.advance(n),!0},e.prototype.advanceIfRegExp=function(t){var n=this.source.substr(this.position),r=n.match(t);return r?(this.position=this.position+r.index+r[0].length,r[0]):\"\"},e.prototype.advanceUntilRegExp=function(t){var n=this.source.substr(this.position),r=n.match(t);return r?(this.position=this.position+r.index,r[0]):(this.goToEnd(),\"\")},e.prototype.advanceUntilChar=function(t){for(;this.position<this.source.length;){if(this.source.charCodeAt(this.position)===t)return!0;this.advance(1)}return!1},e.prototype.advanceUntilChars=function(t){for(;this.position+t.length<=this.source.length;){for(var n=0;n<t.length&&this.source.charCodeAt(this.position+n)===t[n];n++);if(n===t.length)return!0;this.advance(1)}return this.goToEnd(),!1},e.prototype.skipWhitespace=function(){var t=this.advanceWhileChar(function(n){return n===zs||n===Ws||n===Us||n===Is||n===Hs});return t>0},e.prototype.advanceWhileChar=function(t){for(var n=this.position;this.position<this.len&&t(this.source.charCodeAt(this.position));)this.position++;return this.position-n},e}(),Mi=\"!\".charCodeAt(0),Ze=\"-\".charCodeAt(0),Ut=\"<\".charCodeAt(0),Te=\">\".charCodeAt(0),Sn=\"/\".charCodeAt(0),Ds=\"=\".charCodeAt(0),Rs='\"'.charCodeAt(0),Ns=\"'\".charCodeAt(0),Us=`\n`.charCodeAt(0),Hs=\"\\r\".charCodeAt(0),Is=\"\\f\".charCodeAt(0),zs=\" \".charCodeAt(0),Ws=\"\t\".charCodeAt(0),Fs={\"text/x-handlebars-template\":!0,\"text/html\":!0};function fe(e,t,n,r){t===void 0&&(t=0),n===void 0&&(n=O.WithinContent),r===void 0&&(r=!1);var i=new Ms(e,t),s=n,l=0,u=R.Unknown,o,c,h,d,f;function g(){return i.advanceIfRegExp(/^[_:\\w][_:\\w-.\\d]*/).toLowerCase()}function _(){return i.advanceIfRegExp(/^[^\\s\"'></=\\x00-\\x0F\\x7F\\x80-\\x9F]*/).toLowerCase()}function b(w,k,A){return u=k,l=w,o=A,k}function y(){var w=i.pos(),k=s,A=C();return A!==R.EOS&&w===i.pos()&&!(r&&(A===R.StartTagClose||A===R.EndTagClose))?(console.log(\"Scanner.scan has not advanced at offset \"+w+\", state before: \"+k+\" after: \"+s),i.advance(1),b(w,R.Unknown)):A}function C(){var w=i.pos();if(i.eos())return b(w,R.EOS);var k;switch(s){case O.WithinComment:return i.advanceIfChars([Ze,Ze,Te])?(s=O.WithinContent,b(w,R.EndCommentTag)):(i.advanceUntilChars([Ze,Ze,Te]),b(w,R.Comment));case O.WithinDoctype:return i.advanceIfChar(Te)?(s=O.WithinContent,b(w,R.EndDoctypeTag)):(i.advanceUntilChar(Te),b(w,R.Doctype));case O.WithinContent:if(i.advanceIfChar(Ut)){if(!i.eos()&&i.peekChar()===Mi){if(i.advanceIfChars([Mi,Ze,Ze]))return s=O.WithinComment,b(w,R.StartCommentTag);if(i.advanceIfRegExp(/^!doctype/i))return s=O.WithinDoctype,b(w,R.StartDoctypeTag)}return i.advanceIfChar(Sn)?(s=O.AfterOpeningEndTag,b(w,R.EndTagOpen)):(s=O.AfterOpeningStartTag,b(w,R.StartTagOpen))}return i.advanceUntilChar(Ut),b(w,R.Content);case O.AfterOpeningEndTag:var A=g();return A.length>0?(s=O.WithinEndTag,b(w,R.EndTag)):i.skipWhitespace()?b(w,R.Whitespace,Ue(\"error.unexpectedWhitespace\",\"Tag name must directly follow the open bracket.\")):(s=O.WithinEndTag,i.advanceUntilChar(Te),w<i.pos()?b(w,R.Unknown,Ue(\"error.endTagNameExpected\",\"End tag name expected.\")):C());case O.WithinEndTag:if(i.skipWhitespace())return b(w,R.Whitespace);if(i.advanceIfChar(Te))return s=O.WithinContent,b(w,R.EndTagClose);if(r&&i.peekChar()===Ut)return s=O.WithinContent,b(w,R.EndTagClose,Ue(\"error.closingBracketMissing\",\"Closing bracket missing.\"));k=Ue(\"error.closingBracketExpected\",\"Closing bracket expected.\");break;case O.AfterOpeningStartTag:return h=g(),f=void 0,d=void 0,h.length>0?(c=!1,s=O.WithinTag,b(w,R.StartTag)):i.skipWhitespace()?b(w,R.Whitespace,Ue(\"error.unexpectedWhitespace\",\"Tag name must directly follow the open bracket.\")):(s=O.WithinTag,i.advanceUntilChar(Te),w<i.pos()?b(w,R.Unknown,Ue(\"error.startTagNameExpected\",\"Start tag name expected.\")):C());case O.WithinTag:return i.skipWhitespace()?(c=!0,b(w,R.Whitespace)):c&&(d=_(),d.length>0)?(s=O.AfterAttributeName,c=!1,b(w,R.AttributeName)):i.advanceIfChars([Sn,Te])?(s=O.WithinContent,b(w,R.StartTagSelfClose)):i.advanceIfChar(Te)?(h===\"script\"?f&&Fs[f]?s=O.WithinContent:s=O.WithinScriptContent:h===\"style\"?s=O.WithinStyleContent:s=O.WithinContent,b(w,R.StartTagClose)):r&&i.peekChar()===Ut?(s=O.WithinContent,b(w,R.StartTagClose,Ue(\"error.closingBracketMissing\",\"Closing bracket missing.\"))):(i.advance(1),b(w,R.Unknown,Ue(\"error.unexpectedCharacterInTag\",\"Unexpected character in tag.\")));case O.AfterAttributeName:return i.skipWhitespace()?(c=!0,b(w,R.Whitespace)):i.advanceIfChar(Ds)?(s=O.BeforeAttributeValue,b(w,R.DelimiterAssign)):(s=O.WithinTag,C());case O.BeforeAttributeValue:if(i.skipWhitespace())return b(w,R.Whitespace);var x=i.advanceIfRegExp(/^[^\\s\"'`=<>]+/);if(x.length>0)return i.peekChar()===Te&&i.peekChar(-1)===Sn&&(i.goBack(1),x=x.substr(0,x.length-1)),d===\"type\"&&(f=x),s=O.WithinTag,c=!1,b(w,R.AttributeValue);var H=i.peekChar();return H===Ns||H===Rs?(i.advance(1),i.advanceUntilChar(H)&&i.advance(1),d===\"type\"&&(f=i.getSource().substring(w+1,i.pos()-1)),s=O.WithinTag,c=!1,b(w,R.AttributeValue)):(s=O.WithinTag,c=!1,C());case O.WithinScriptContent:for(var p=1;!i.eos();){var m=i.advanceIfRegExp(/<!--|-->|<\\/?script\\s*\\/?>?/i);if(m.length===0)return i.goToEnd(),b(w,R.Script);if(m===\"<!--\")p===1&&(p=2);else if(m===\"-->\")p=1;else if(m[1]!==\"/\")p===2&&(p=3);else if(p===3)p=2;else{i.goBack(m.length);break}}return s=O.WithinContent,w<i.pos()?b(w,R.Script):C();case O.WithinStyleContent:return i.advanceUntilRegExp(/<\\/style/i),s=O.WithinContent,w<i.pos()?b(w,R.Styles):C()}return i.advance(1),s=O.WithinContent,b(w,R.Unknown,k)}return{scan:y,getTokenType:function(){return u},getTokenOffset:function(){return l},getTokenLength:function(){return i.pos()-l},getTokenEnd:function(){return i.pos()},getTokenText:function(){return i.getSource().substring(l,i.pos())},getScannerState:function(){return s},getTokenError:function(){return o}}}function Di(e,t){var n=0,r=e.length;if(r===0)return 0;for(;n<r;){var i=Math.floor((n+r)/2);t(e[i])?r=i:n=i+1}return n}function Bs(e,t,n){for(var r=0,i=e.length-1;r<=i;){var s=(r+i)/2|0,l=n(e[s],t);if(l<0)r=s+1;else if(l>0)i=s-1;else return s}return-(r+1)}var Ps=[\"area\",\"base\",\"br\",\"col\",\"embed\",\"hr\",\"img\",\"input\",\"keygen\",\"link\",\"menuitem\",\"meta\",\"param\",\"source\",\"track\",\"wbr\"];function Ht(e){return!!e&&Bs(Ps,e.toLowerCase(),function(t,n){return t.localeCompare(n)})>=0}var Ri=function(){function e(t,n,r,i){this.start=t,this.end=n,this.children=r,this.parent=i,this.closed=!1}return Object.defineProperty(e.prototype,\"attributeNames\",{get:function(){return this.attributes?Object.keys(this.attributes):[]},enumerable:!1,configurable:!0}),e.prototype.isSameTag=function(t){return this.tag===void 0?t===void 0:t!==void 0&&this.tag.length===t.length&&this.tag.toLowerCase()===t},Object.defineProperty(e.prototype,\"firstChild\",{get:function(){return this.children[0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,\"lastChild\",{get:function(){return this.children.length?this.children[this.children.length-1]:void 0},enumerable:!1,configurable:!0}),e.prototype.findNodeBefore=function(t){var n=Di(this.children,function(s){return t<=s.start})-1;if(n>=0){var r=this.children[n];if(t>r.start){if(t<r.end)return r.findNodeBefore(t);var i=r.lastChild;return i&&i.end===r.end?r.findNodeBefore(t):r}}return this},e.prototype.findNodeAt=function(t){var n=Di(this.children,function(i){return t<=i.start})-1;if(n>=0){var r=this.children[n];if(t>r.start&&t<=r.end)return r.findNodeAt(t)}return this},e}();function Ni(e){for(var t=fe(e,void 0,void 0,!0),n=new Ri(0,e.length,[],void 0),r=n,i=-1,s=void 0,l=null,u=t.scan();u!==R.EOS;){switch(u){case R.StartTagOpen:var o=new Ri(t.getTokenOffset(),e.length,[],r);r.children.push(o),r=o;break;case R.StartTag:r.tag=t.getTokenText();break;case R.StartTagClose:r.parent&&(r.end=t.getTokenEnd(),t.getTokenLength()?(r.startTagEnd=t.getTokenEnd(),r.tag&&Ht(r.tag)&&(r.closed=!0,r=r.parent)):r=r.parent);break;case R.StartTagSelfClose:r.parent&&(r.closed=!0,r.end=t.getTokenEnd(),r.startTagEnd=t.getTokenEnd(),r=r.parent);break;case R.EndTagOpen:i=t.getTokenOffset(),s=void 0;break;case R.EndTag:s=t.getTokenText().toLowerCase();break;case R.EndTagClose:for(var c=r;!c.isSameTag(s)&&c.parent;)c=c.parent;if(c.parent){for(;r!==c;)r.end=i,r.closed=!1,r=r.parent;r.closed=!0,r.endTagStart=i,r.end=t.getTokenEnd(),r=r.parent}break;case R.AttributeName:{l=t.getTokenText();var h=r.attributes;h||(r.attributes=h={}),h[l]=null;break}case R.AttributeValue:{var d=t.getTokenText(),h=r.attributes;h&&l&&(h[l]=d,l=null);break}}u=t.scan()}for(;r.parent;)r.end=e.length,r.closed=!1,r=r.parent;return{roots:n.children,findNodeBefore:n.findNodeBefore.bind(n),findNodeAt:n.findNodeAt.bind(n)}}var lt={\"Aacute;\":\"\\xC1\",Aacute:\"\\xC1\",\"aacute;\":\"\\xE1\",aacute:\"\\xE1\",\"Abreve;\":\"\\u0102\",\"abreve;\":\"\\u0103\",\"ac;\":\"\\u223E\",\"acd;\":\"\\u223F\",\"acE;\":\"\\u223E\\u0333\",\"Acirc;\":\"\\xC2\",Acirc:\"\\xC2\",\"acirc;\":\"\\xE2\",acirc:\"\\xE2\",\"acute;\":\"\\xB4\",acute:\"\\xB4\",\"Acy;\":\"\\u0410\",\"acy;\":\"\\u0430\",\"AElig;\":\"\\xC6\",AElig:\"\\xC6\",\"aelig;\":\"\\xE6\",aelig:\"\\xE6\",\"af;\":\"\\u2061\",\"Afr;\":\"\\u{1D504}\",\"afr;\":\"\\u{1D51E}\",\"Agrave;\":\"\\xC0\",Agrave:\"\\xC0\",\"agrave;\":\"\\xE0\",agrave:\"\\xE0\",\"alefsym;\":\"\\u2135\",\"aleph;\":\"\\u2135\",\"Alpha;\":\"\\u0391\",\"alpha;\":\"\\u03B1\",\"Amacr;\":\"\\u0100\",\"amacr;\":\"\\u0101\",\"amalg;\":\"\\u2A3F\",\"AMP;\":\"&\",AMP:\"&\",\"amp;\":\"&\",amp:\"&\",\"And;\":\"\\u2A53\",\"and;\":\"\\u2227\",\"andand;\":\"\\u2A55\",\"andd;\":\"\\u2A5C\",\"andslope;\":\"\\u2A58\",\"andv;\":\"\\u2A5A\",\"ang;\":\"\\u2220\",\"ange;\":\"\\u29A4\",\"angle;\":\"\\u2220\",\"angmsd;\":\"\\u2221\",\"angmsdaa;\":\"\\u29A8\",\"angmsdab;\":\"\\u29A9\",\"angmsdac;\":\"\\u29AA\",\"angmsdad;\":\"\\u29AB\",\"angmsdae;\":\"\\u29AC\",\"angmsdaf;\":\"\\u29AD\",\"angmsdag;\":\"\\u29AE\",\"angmsdah;\":\"\\u29AF\",\"angrt;\":\"\\u221F\",\"angrtvb;\":\"\\u22BE\",\"angrtvbd;\":\"\\u299D\",\"angsph;\":\"\\u2222\",\"angst;\":\"\\xC5\",\"angzarr;\":\"\\u237C\",\"Aogon;\":\"\\u0104\",\"aogon;\":\"\\u0105\",\"Aopf;\":\"\\u{1D538}\",\"aopf;\":\"\\u{1D552}\",\"ap;\":\"\\u2248\",\"apacir;\":\"\\u2A6F\",\"apE;\":\"\\u2A70\",\"ape;\":\"\\u224A\",\"apid;\":\"\\u224B\",\"apos;\":\"'\",\"ApplyFunction;\":\"\\u2061\",\"approx;\":\"\\u2248\",\"approxeq;\":\"\\u224A\",\"Aring;\":\"\\xC5\",Aring:\"\\xC5\",\"aring;\":\"\\xE5\",aring:\"\\xE5\",\"Ascr;\":\"\\u{1D49C}\",\"ascr;\":\"\\u{1D4B6}\",\"Assign;\":\"\\u2254\",\"ast;\":\"*\",\"asymp;\":\"\\u2248\",\"asympeq;\":\"\\u224D\",\"Atilde;\":\"\\xC3\",Atilde:\"\\xC3\",\"atilde;\":\"\\xE3\",atilde:\"\\xE3\",\"Auml;\":\"\\xC4\",Auml:\"\\xC4\",\"auml;\":\"\\xE4\",auml:\"\\xE4\",\"awconint;\":\"\\u2233\",\"awint;\":\"\\u2A11\",\"backcong;\":\"\\u224C\",\"backepsilon;\":\"\\u03F6\",\"backprime;\":\"\\u2035\",\"backsim;\":\"\\u223D\",\"backsimeq;\":\"\\u22CD\",\"Backslash;\":\"\\u2216\",\"Barv;\":\"\\u2AE7\",\"barvee;\":\"\\u22BD\",\"Barwed;\":\"\\u2306\",\"barwed;\":\"\\u2305\",\"barwedge;\":\"\\u2305\",\"bbrk;\":\"\\u23B5\",\"bbrktbrk;\":\"\\u23B6\",\"bcong;\":\"\\u224C\",\"Bcy;\":\"\\u0411\",\"bcy;\":\"\\u0431\",\"bdquo;\":\"\\u201E\",\"becaus;\":\"\\u2235\",\"Because;\":\"\\u2235\",\"because;\":\"\\u2235\",\"bemptyv;\":\"\\u29B0\",\"bepsi;\":\"\\u03F6\",\"bernou;\":\"\\u212C\",\"Bernoullis;\":\"\\u212C\",\"Beta;\":\"\\u0392\",\"beta;\":\"\\u03B2\",\"beth;\":\"\\u2136\",\"between;\":\"\\u226C\",\"Bfr;\":\"\\u{1D505}\",\"bfr;\":\"\\u{1D51F}\",\"bigcap;\":\"\\u22C2\",\"bigcirc;\":\"\\u25EF\",\"bigcup;\":\"\\u22C3\",\"bigodot;\":\"\\u2A00\",\"bigoplus;\":\"\\u2A01\",\"bigotimes;\":\"\\u2A02\",\"bigsqcup;\":\"\\u2A06\",\"bigstar;\":\"\\u2605\",\"bigtriangledown;\":\"\\u25BD\",\"bigtriangleup;\":\"\\u25B3\",\"biguplus;\":\"\\u2A04\",\"bigvee;\":\"\\u22C1\",\"bigwedge;\":\"\\u22C0\",\"bkarow;\":\"\\u290D\",\"blacklozenge;\":\"\\u29EB\",\"blacksquare;\":\"\\u25AA\",\"blacktriangle;\":\"\\u25B4\",\"blacktriangledown;\":\"\\u25BE\",\"blacktriangleleft;\":\"\\u25C2\",\"blacktriangleright;\":\"\\u25B8\",\"blank;\":\"\\u2423\",\"blk12;\":\"\\u2592\",\"blk14;\":\"\\u2591\",\"blk34;\":\"\\u2593\",\"block;\":\"\\u2588\",\"bne;\":\"=\\u20E5\",\"bnequiv;\":\"\\u2261\\u20E5\",\"bNot;\":\"\\u2AED\",\"bnot;\":\"\\u2310\",\"Bopf;\":\"\\u{1D539}\",\"bopf;\":\"\\u{1D553}\",\"bot;\":\"\\u22A5\",\"bottom;\":\"\\u22A5\",\"bowtie;\":\"\\u22C8\",\"boxbox;\":\"\\u29C9\",\"boxDL;\":\"\\u2557\",\"boxDl;\":\"\\u2556\",\"boxdL;\":\"\\u2555\",\"boxdl;\":\"\\u2510\",\"boxDR;\":\"\\u2554\",\"boxDr;\":\"\\u2553\",\"boxdR;\":\"\\u2552\",\"boxdr;\":\"\\u250C\",\"boxH;\":\"\\u2550\",\"boxh;\":\"\\u2500\",\"boxHD;\":\"\\u2566\",\"boxHd;\":\"\\u2564\",\"boxhD;\":\"\\u2565\",\"boxhd;\":\"\\u252C\",\"boxHU;\":\"\\u2569\",\"boxHu;\":\"\\u2567\",\"boxhU;\":\"\\u2568\",\"boxhu;\":\"\\u2534\",\"boxminus;\":\"\\u229F\",\"boxplus;\":\"\\u229E\",\"boxtimes;\":\"\\u22A0\",\"boxUL;\":\"\\u255D\",\"boxUl;\":\"\\u255C\",\"boxuL;\":\"\\u255B\",\"boxul;\":\"\\u2518\",\"boxUR;\":\"\\u255A\",\"boxUr;\":\"\\u2559\",\"boxuR;\":\"\\u2558\",\"boxur;\":\"\\u2514\",\"boxV;\":\"\\u2551\",\"boxv;\":\"\\u2502\",\"boxVH;\":\"\\u256C\",\"boxVh;\":\"\\u256B\",\"boxvH;\":\"\\u256A\",\"boxvh;\":\"\\u253C\",\"boxVL;\":\"\\u2563\",\"boxVl;\":\"\\u2562\",\"boxvL;\":\"\\u2561\",\"boxvl;\":\"\\u2524\",\"boxVR;\":\"\\u2560\",\"boxVr;\":\"\\u255F\",\"boxvR;\":\"\\u255E\",\"boxvr;\":\"\\u251C\",\"bprime;\":\"\\u2035\",\"Breve;\":\"\\u02D8\",\"breve;\":\"\\u02D8\",\"brvbar;\":\"\\xA6\",brvbar:\"\\xA6\",\"Bscr;\":\"\\u212C\",\"bscr;\":\"\\u{1D4B7}\",\"bsemi;\":\"\\u204F\",\"bsim;\":\"\\u223D\",\"bsime;\":\"\\u22CD\",\"bsol;\":\"\\\\\",\"bsolb;\":\"\\u29C5\",\"bsolhsub;\":\"\\u27C8\",\"bull;\":\"\\u2022\",\"bullet;\":\"\\u2022\",\"bump;\":\"\\u224E\",\"bumpE;\":\"\\u2AAE\",\"bumpe;\":\"\\u224F\",\"Bumpeq;\":\"\\u224E\",\"bumpeq;\":\"\\u224F\",\"Cacute;\":\"\\u0106\",\"cacute;\":\"\\u0107\",\"Cap;\":\"\\u22D2\",\"cap;\":\"\\u2229\",\"capand;\":\"\\u2A44\",\"capbrcup;\":\"\\u2A49\",\"capcap;\":\"\\u2A4B\",\"capcup;\":\"\\u2A47\",\"capdot;\":\"\\u2A40\",\"CapitalDifferentialD;\":\"\\u2145\",\"caps;\":\"\\u2229\\uFE00\",\"caret;\":\"\\u2041\",\"caron;\":\"\\u02C7\",\"Cayleys;\":\"\\u212D\",\"ccaps;\":\"\\u2A4D\",\"Ccaron;\":\"\\u010C\",\"ccaron;\":\"\\u010D\",\"Ccedil;\":\"\\xC7\",Ccedil:\"\\xC7\",\"ccedil;\":\"\\xE7\",ccedil:\"\\xE7\",\"Ccirc;\":\"\\u0108\",\"ccirc;\":\"\\u0109\",\"Cconint;\":\"\\u2230\",\"ccups;\":\"\\u2A4C\",\"ccupssm;\":\"\\u2A50\",\"Cdot;\":\"\\u010A\",\"cdot;\":\"\\u010B\",\"cedil;\":\"\\xB8\",cedil:\"\\xB8\",\"Cedilla;\":\"\\xB8\",\"cemptyv;\":\"\\u29B2\",\"cent;\":\"\\xA2\",cent:\"\\xA2\",\"CenterDot;\":\"\\xB7\",\"centerdot;\":\"\\xB7\",\"Cfr;\":\"\\u212D\",\"cfr;\":\"\\u{1D520}\",\"CHcy;\":\"\\u0427\",\"chcy;\":\"\\u0447\",\"check;\":\"\\u2713\",\"checkmark;\":\"\\u2713\",\"Chi;\":\"\\u03A7\",\"chi;\":\"\\u03C7\",\"cir;\":\"\\u25CB\",\"circ;\":\"\\u02C6\",\"circeq;\":\"\\u2257\",\"circlearrowleft;\":\"\\u21BA\",\"circlearrowright;\":\"\\u21BB\",\"circledast;\":\"\\u229B\",\"circledcirc;\":\"\\u229A\",\"circleddash;\":\"\\u229D\",\"CircleDot;\":\"\\u2299\",\"circledR;\":\"\\xAE\",\"circledS;\":\"\\u24C8\",\"CircleMinus;\":\"\\u2296\",\"CirclePlus;\":\"\\u2295\",\"CircleTimes;\":\"\\u2297\",\"cirE;\":\"\\u29C3\",\"cire;\":\"\\u2257\",\"cirfnint;\":\"\\u2A10\",\"cirmid;\":\"\\u2AEF\",\"cirscir;\":\"\\u29C2\",\"ClockwiseContourIntegral;\":\"\\u2232\",\"CloseCurlyDoubleQuote;\":\"\\u201D\",\"CloseCurlyQuote;\":\"\\u2019\",\"clubs;\":\"\\u2663\",\"clubsuit;\":\"\\u2663\",\"Colon;\":\"\\u2237\",\"colon;\":\":\",\"Colone;\":\"\\u2A74\",\"colone;\":\"\\u2254\",\"coloneq;\":\"\\u2254\",\"comma;\":\",\",\"commat;\":\"@\",\"comp;\":\"\\u2201\",\"compfn;\":\"\\u2218\",\"complement;\":\"\\u2201\",\"complexes;\":\"\\u2102\",\"cong;\":\"\\u2245\",\"congdot;\":\"\\u2A6D\",\"Congruent;\":\"\\u2261\",\"Conint;\":\"\\u222F\",\"conint;\":\"\\u222E\",\"ContourIntegral;\":\"\\u222E\",\"Copf;\":\"\\u2102\",\"copf;\":\"\\u{1D554}\",\"coprod;\":\"\\u2210\",\"Coproduct;\":\"\\u2210\",\"COPY;\":\"\\xA9\",COPY:\"\\xA9\",\"copy;\":\"\\xA9\",copy:\"\\xA9\",\"copysr;\":\"\\u2117\",\"CounterClockwiseContourIntegral;\":\"\\u2233\",\"crarr;\":\"\\u21B5\",\"Cross;\":\"\\u2A2F\",\"cross;\":\"\\u2717\",\"Cscr;\":\"\\u{1D49E}\",\"cscr;\":\"\\u{1D4B8}\",\"csub;\":\"\\u2ACF\",\"csube;\":\"\\u2AD1\",\"csup;\":\"\\u2AD0\",\"csupe;\":\"\\u2AD2\",\"ctdot;\":\"\\u22EF\",\"cudarrl;\":\"\\u2938\",\"cudarrr;\":\"\\u2935\",\"cuepr;\":\"\\u22DE\",\"cuesc;\":\"\\u22DF\",\"cularr;\":\"\\u21B6\",\"cularrp;\":\"\\u293D\",\"Cup;\":\"\\u22D3\",\"cup;\":\"\\u222A\",\"cupbrcap;\":\"\\u2A48\",\"CupCap;\":\"\\u224D\",\"cupcap;\":\"\\u2A46\",\"cupcup;\":\"\\u2A4A\",\"cupdot;\":\"\\u228D\",\"cupor;\":\"\\u2A45\",\"cups;\":\"\\u222A\\uFE00\",\"curarr;\":\"\\u21B7\",\"curarrm;\":\"\\u293C\",\"curlyeqprec;\":\"\\u22DE\",\"curlyeqsucc;\":\"\\u22DF\",\"curlyvee;\":\"\\u22CE\",\"curlywedge;\":\"\\u22CF\",\"curren;\":\"\\xA4\",curren:\"\\xA4\",\"curvearrowleft;\":\"\\u21B6\",\"curvearrowright;\":\"\\u21B7\",\"cuvee;\":\"\\u22CE\",\"cuwed;\":\"\\u22CF\",\"cwconint;\":\"\\u2232\",\"cwint;\":\"\\u2231\",\"cylcty;\":\"\\u232D\",\"Dagger;\":\"\\u2021\",\"dagger;\":\"\\u2020\",\"daleth;\":\"\\u2138\",\"Darr;\":\"\\u21A1\",\"dArr;\":\"\\u21D3\",\"darr;\":\"\\u2193\",\"dash;\":\"\\u2010\",\"Dashv;\":\"\\u2AE4\",\"dashv;\":\"\\u22A3\",\"dbkarow;\":\"\\u290F\",\"dblac;\":\"\\u02DD\",\"Dcaron;\":\"\\u010E\",\"dcaron;\":\"\\u010F\",\"Dcy;\":\"\\u0414\",\"dcy;\":\"\\u0434\",\"DD;\":\"\\u2145\",\"dd;\":\"\\u2146\",\"ddagger;\":\"\\u2021\",\"ddarr;\":\"\\u21CA\",\"DDotrahd;\":\"\\u2911\",\"ddotseq;\":\"\\u2A77\",\"deg;\":\"\\xB0\",deg:\"\\xB0\",\"Del;\":\"\\u2207\",\"Delta;\":\"\\u0394\",\"delta;\":\"\\u03B4\",\"demptyv;\":\"\\u29B1\",\"dfisht;\":\"\\u297F\",\"Dfr;\":\"\\u{1D507}\",\"dfr;\":\"\\u{1D521}\",\"dHar;\":\"\\u2965\",\"dharl;\":\"\\u21C3\",\"dharr;\":\"\\u21C2\",\"DiacriticalAcute;\":\"\\xB4\",\"DiacriticalDot;\":\"\\u02D9\",\"DiacriticalDoubleAcute;\":\"\\u02DD\",\"DiacriticalGrave;\":\"`\",\"DiacriticalTilde;\":\"\\u02DC\",\"diam;\":\"\\u22C4\",\"Diamond;\":\"\\u22C4\",\"diamond;\":\"\\u22C4\",\"diamondsuit;\":\"\\u2666\",\"diams;\":\"\\u2666\",\"die;\":\"\\xA8\",\"DifferentialD;\":\"\\u2146\",\"digamma;\":\"\\u03DD\",\"disin;\":\"\\u22F2\",\"div;\":\"\\xF7\",\"divide;\":\"\\xF7\",divide:\"\\xF7\",\"divideontimes;\":\"\\u22C7\",\"divonx;\":\"\\u22C7\",\"DJcy;\":\"\\u0402\",\"djcy;\":\"\\u0452\",\"dlcorn;\":\"\\u231E\",\"dlcrop;\":\"\\u230D\",\"dollar;\":\"$\",\"Dopf;\":\"\\u{1D53B}\",\"dopf;\":\"\\u{1D555}\",\"Dot;\":\"\\xA8\",\"dot;\":\"\\u02D9\",\"DotDot;\":\"\\u20DC\",\"doteq;\":\"\\u2250\",\"doteqdot;\":\"\\u2251\",\"DotEqual;\":\"\\u2250\",\"dotminus;\":\"\\u2238\",\"dotplus;\":\"\\u2214\",\"dotsquare;\":\"\\u22A1\",\"doublebarwedge;\":\"\\u2306\",\"DoubleContourIntegral;\":\"\\u222F\",\"DoubleDot;\":\"\\xA8\",\"DoubleDownArrow;\":\"\\u21D3\",\"DoubleLeftArrow;\":\"\\u21D0\",\"DoubleLeftRightArrow;\":\"\\u21D4\",\"DoubleLeftTee;\":\"\\u2AE4\",\"DoubleLongLeftArrow;\":\"\\u27F8\",\"DoubleLongLeftRightArrow;\":\"\\u27FA\",\"DoubleLongRightArrow;\":\"\\u27F9\",\"DoubleRightArrow;\":\"\\u21D2\",\"DoubleRightTee;\":\"\\u22A8\",\"DoubleUpArrow;\":\"\\u21D1\",\"DoubleUpDownArrow;\":\"\\u21D5\",\"DoubleVerticalBar;\":\"\\u2225\",\"DownArrow;\":\"\\u2193\",\"Downarrow;\":\"\\u21D3\",\"downarrow;\":\"\\u2193\",\"DownArrowBar;\":\"\\u2913\",\"DownArrowUpArrow;\":\"\\u21F5\",\"DownBreve;\":\"\\u0311\",\"downdownarrows;\":\"\\u21CA\",\"downharpoonleft;\":\"\\u21C3\",\"downharpoonright;\":\"\\u21C2\",\"DownLeftRightVector;\":\"\\u2950\",\"DownLeftTeeVector;\":\"\\u295E\",\"DownLeftVector;\":\"\\u21BD\",\"DownLeftVectorBar;\":\"\\u2956\",\"DownRightTeeVector;\":\"\\u295F\",\"DownRightVector;\":\"\\u21C1\",\"DownRightVectorBar;\":\"\\u2957\",\"DownTee;\":\"\\u22A4\",\"DownTeeArrow;\":\"\\u21A7\",\"drbkarow;\":\"\\u2910\",\"drcorn;\":\"\\u231F\",\"drcrop;\":\"\\u230C\",\"Dscr;\":\"\\u{1D49F}\",\"dscr;\":\"\\u{1D4B9}\",\"DScy;\":\"\\u0405\",\"dscy;\":\"\\u0455\",\"dsol;\":\"\\u29F6\",\"Dstrok;\":\"\\u0110\",\"dstrok;\":\"\\u0111\",\"dtdot;\":\"\\u22F1\",\"dtri;\":\"\\u25BF\",\"dtrif;\":\"\\u25BE\",\"duarr;\":\"\\u21F5\",\"duhar;\":\"\\u296F\",\"dwangle;\":\"\\u29A6\",\"DZcy;\":\"\\u040F\",\"dzcy;\":\"\\u045F\",\"dzigrarr;\":\"\\u27FF\",\"Eacute;\":\"\\xC9\",Eacute:\"\\xC9\",\"eacute;\":\"\\xE9\",eacute:\"\\xE9\",\"easter;\":\"\\u2A6E\",\"Ecaron;\":\"\\u011A\",\"ecaron;\":\"\\u011B\",\"ecir;\":\"\\u2256\",\"Ecirc;\":\"\\xCA\",Ecirc:\"\\xCA\",\"ecirc;\":\"\\xEA\",ecirc:\"\\xEA\",\"ecolon;\":\"\\u2255\",\"Ecy;\":\"\\u042D\",\"ecy;\":\"\\u044D\",\"eDDot;\":\"\\u2A77\",\"Edot;\":\"\\u0116\",\"eDot;\":\"\\u2251\",\"edot;\":\"\\u0117\",\"ee;\":\"\\u2147\",\"efDot;\":\"\\u2252\",\"Efr;\":\"\\u{1D508}\",\"efr;\":\"\\u{1D522}\",\"eg;\":\"\\u2A9A\",\"Egrave;\":\"\\xC8\",Egrave:\"\\xC8\",\"egrave;\":\"\\xE8\",egrave:\"\\xE8\",\"egs;\":\"\\u2A96\",\"egsdot;\":\"\\u2A98\",\"el;\":\"\\u2A99\",\"Element;\":\"\\u2208\",\"elinters;\":\"\\u23E7\",\"ell;\":\"\\u2113\",\"els;\":\"\\u2A95\",\"elsdot;\":\"\\u2A97\",\"Emacr;\":\"\\u0112\",\"emacr;\":\"\\u0113\",\"empty;\":\"\\u2205\",\"emptyset;\":\"\\u2205\",\"EmptySmallSquare;\":\"\\u25FB\",\"emptyv;\":\"\\u2205\",\"EmptyVerySmallSquare;\":\"\\u25AB\",\"emsp;\":\"\\u2003\",\"emsp13;\":\"\\u2004\",\"emsp14;\":\"\\u2005\",\"ENG;\":\"\\u014A\",\"eng;\":\"\\u014B\",\"ensp;\":\"\\u2002\",\"Eogon;\":\"\\u0118\",\"eogon;\":\"\\u0119\",\"Eopf;\":\"\\u{1D53C}\",\"eopf;\":\"\\u{1D556}\",\"epar;\":\"\\u22D5\",\"eparsl;\":\"\\u29E3\",\"eplus;\":\"\\u2A71\",\"epsi;\":\"\\u03B5\",\"Epsilon;\":\"\\u0395\",\"epsilon;\":\"\\u03B5\",\"epsiv;\":\"\\u03F5\",\"eqcirc;\":\"\\u2256\",\"eqcolon;\":\"\\u2255\",\"eqsim;\":\"\\u2242\",\"eqslantgtr;\":\"\\u2A96\",\"eqslantless;\":\"\\u2A95\",\"Equal;\":\"\\u2A75\",\"equals;\":\"=\",\"EqualTilde;\":\"\\u2242\",\"equest;\":\"\\u225F\",\"Equilibrium;\":\"\\u21CC\",\"equiv;\":\"\\u2261\",\"equivDD;\":\"\\u2A78\",\"eqvparsl;\":\"\\u29E5\",\"erarr;\":\"\\u2971\",\"erDot;\":\"\\u2253\",\"Escr;\":\"\\u2130\",\"escr;\":\"\\u212F\",\"esdot;\":\"\\u2250\",\"Esim;\":\"\\u2A73\",\"esim;\":\"\\u2242\",\"Eta;\":\"\\u0397\",\"eta;\":\"\\u03B7\",\"ETH;\":\"\\xD0\",ETH:\"\\xD0\",\"eth;\":\"\\xF0\",eth:\"\\xF0\",\"Euml;\":\"\\xCB\",Euml:\"\\xCB\",\"euml;\":\"\\xEB\",euml:\"\\xEB\",\"euro;\":\"\\u20AC\",\"excl;\":\"!\",\"exist;\":\"\\u2203\",\"Exists;\":\"\\u2203\",\"expectation;\":\"\\u2130\",\"ExponentialE;\":\"\\u2147\",\"exponentiale;\":\"\\u2147\",\"fallingdotseq;\":\"\\u2252\",\"Fcy;\":\"\\u0424\",\"fcy;\":\"\\u0444\",\"female;\":\"\\u2640\",\"ffilig;\":\"\\uFB03\",\"fflig;\":\"\\uFB00\",\"ffllig;\":\"\\uFB04\",\"Ffr;\":\"\\u{1D509}\",\"ffr;\":\"\\u{1D523}\",\"filig;\":\"\\uFB01\",\"FilledSmallSquare;\":\"\\u25FC\",\"FilledVerySmallSquare;\":\"\\u25AA\",\"fjlig;\":\"fj\",\"flat;\":\"\\u266D\",\"fllig;\":\"\\uFB02\",\"fltns;\":\"\\u25B1\",\"fnof;\":\"\\u0192\",\"Fopf;\":\"\\u{1D53D}\",\"fopf;\":\"\\u{1D557}\",\"ForAll;\":\"\\u2200\",\"forall;\":\"\\u2200\",\"fork;\":\"\\u22D4\",\"forkv;\":\"\\u2AD9\",\"Fouriertrf;\":\"\\u2131\",\"fpartint;\":\"\\u2A0D\",\"frac12;\":\"\\xBD\",frac12:\"\\xBD\",\"frac13;\":\"\\u2153\",\"frac14;\":\"\\xBC\",frac14:\"\\xBC\",\"frac15;\":\"\\u2155\",\"frac16;\":\"\\u2159\",\"frac18;\":\"\\u215B\",\"frac23;\":\"\\u2154\",\"frac25;\":\"\\u2156\",\"frac34;\":\"\\xBE\",frac34:\"\\xBE\",\"frac35;\":\"\\u2157\",\"frac38;\":\"\\u215C\",\"frac45;\":\"\\u2158\",\"frac56;\":\"\\u215A\",\"frac58;\":\"\\u215D\",\"frac78;\":\"\\u215E\",\"frasl;\":\"\\u2044\",\"frown;\":\"\\u2322\",\"Fscr;\":\"\\u2131\",\"fscr;\":\"\\u{1D4BB}\",\"gacute;\":\"\\u01F5\",\"Gamma;\":\"\\u0393\",\"gamma;\":\"\\u03B3\",\"Gammad;\":\"\\u03DC\",\"gammad;\":\"\\u03DD\",\"gap;\":\"\\u2A86\",\"Gbreve;\":\"\\u011E\",\"gbreve;\":\"\\u011F\",\"Gcedil;\":\"\\u0122\",\"Gcirc;\":\"\\u011C\",\"gcirc;\":\"\\u011D\",\"Gcy;\":\"\\u0413\",\"gcy;\":\"\\u0433\",\"Gdot;\":\"\\u0120\",\"gdot;\":\"\\u0121\",\"gE;\":\"\\u2267\",\"ge;\":\"\\u2265\",\"gEl;\":\"\\u2A8C\",\"gel;\":\"\\u22DB\",\"geq;\":\"\\u2265\",\"geqq;\":\"\\u2267\",\"geqslant;\":\"\\u2A7E\",\"ges;\":\"\\u2A7E\",\"gescc;\":\"\\u2AA9\",\"gesdot;\":\"\\u2A80\",\"gesdoto;\":\"\\u2A82\",\"gesdotol;\":\"\\u2A84\",\"gesl;\":\"\\u22DB\\uFE00\",\"gesles;\":\"\\u2A94\",\"Gfr;\":\"\\u{1D50A}\",\"gfr;\":\"\\u{1D524}\",\"Gg;\":\"\\u22D9\",\"gg;\":\"\\u226B\",\"ggg;\":\"\\u22D9\",\"gimel;\":\"\\u2137\",\"GJcy;\":\"\\u0403\",\"gjcy;\":\"\\u0453\",\"gl;\":\"\\u2277\",\"gla;\":\"\\u2AA5\",\"glE;\":\"\\u2A92\",\"glj;\":\"\\u2AA4\",\"gnap;\":\"\\u2A8A\",\"gnapprox;\":\"\\u2A8A\",\"gnE;\":\"\\u2269\",\"gne;\":\"\\u2A88\",\"gneq;\":\"\\u2A88\",\"gneqq;\":\"\\u2269\",\"gnsim;\":\"\\u22E7\",\"Gopf;\":\"\\u{1D53E}\",\"gopf;\":\"\\u{1D558}\",\"grave;\":\"`\",\"GreaterEqual;\":\"\\u2265\",\"GreaterEqualLess;\":\"\\u22DB\",\"GreaterFullEqual;\":\"\\u2267\",\"GreaterGreater;\":\"\\u2AA2\",\"GreaterLess;\":\"\\u2277\",\"GreaterSlantEqual;\":\"\\u2A7E\",\"GreaterTilde;\":\"\\u2273\",\"Gscr;\":\"\\u{1D4A2}\",\"gscr;\":\"\\u210A\",\"gsim;\":\"\\u2273\",\"gsime;\":\"\\u2A8E\",\"gsiml;\":\"\\u2A90\",\"GT;\":\">\",GT:\">\",\"Gt;\":\"\\u226B\",\"gt;\":\">\",gt:\">\",\"gtcc;\":\"\\u2AA7\",\"gtcir;\":\"\\u2A7A\",\"gtdot;\":\"\\u22D7\",\"gtlPar;\":\"\\u2995\",\"gtquest;\":\"\\u2A7C\",\"gtrapprox;\":\"\\u2A86\",\"gtrarr;\":\"\\u2978\",\"gtrdot;\":\"\\u22D7\",\"gtreqless;\":\"\\u22DB\",\"gtreqqless;\":\"\\u2A8C\",\"gtrless;\":\"\\u2277\",\"gtrsim;\":\"\\u2273\",\"gvertneqq;\":\"\\u2269\\uFE00\",\"gvnE;\":\"\\u2269\\uFE00\",\"Hacek;\":\"\\u02C7\",\"hairsp;\":\"\\u200A\",\"half;\":\"\\xBD\",\"hamilt;\":\"\\u210B\",\"HARDcy;\":\"\\u042A\",\"hardcy;\":\"\\u044A\",\"hArr;\":\"\\u21D4\",\"harr;\":\"\\u2194\",\"harrcir;\":\"\\u2948\",\"harrw;\":\"\\u21AD\",\"Hat;\":\"^\",\"hbar;\":\"\\u210F\",\"Hcirc;\":\"\\u0124\",\"hcirc;\":\"\\u0125\",\"hearts;\":\"\\u2665\",\"heartsuit;\":\"\\u2665\",\"hellip;\":\"\\u2026\",\"hercon;\":\"\\u22B9\",\"Hfr;\":\"\\u210C\",\"hfr;\":\"\\u{1D525}\",\"HilbertSpace;\":\"\\u210B\",\"hksearow;\":\"\\u2925\",\"hkswarow;\":\"\\u2926\",\"hoarr;\":\"\\u21FF\",\"homtht;\":\"\\u223B\",\"hookleftarrow;\":\"\\u21A9\",\"hookrightarrow;\":\"\\u21AA\",\"Hopf;\":\"\\u210D\",\"hopf;\":\"\\u{1D559}\",\"horbar;\":\"\\u2015\",\"HorizontalLine;\":\"\\u2500\",\"Hscr;\":\"\\u210B\",\"hscr;\":\"\\u{1D4BD}\",\"hslash;\":\"\\u210F\",\"Hstrok;\":\"\\u0126\",\"hstrok;\":\"\\u0127\",\"HumpDownHump;\":\"\\u224E\",\"HumpEqual;\":\"\\u224F\",\"hybull;\":\"\\u2043\",\"hyphen;\":\"\\u2010\",\"Iacute;\":\"\\xCD\",Iacute:\"\\xCD\",\"iacute;\":\"\\xED\",iacute:\"\\xED\",\"ic;\":\"\\u2063\",\"Icirc;\":\"\\xCE\",Icirc:\"\\xCE\",\"icirc;\":\"\\xEE\",icirc:\"\\xEE\",\"Icy;\":\"\\u0418\",\"icy;\":\"\\u0438\",\"Idot;\":\"\\u0130\",\"IEcy;\":\"\\u0415\",\"iecy;\":\"\\u0435\",\"iexcl;\":\"\\xA1\",iexcl:\"\\xA1\",\"iff;\":\"\\u21D4\",\"Ifr;\":\"\\u2111\",\"ifr;\":\"\\u{1D526}\",\"Igrave;\":\"\\xCC\",Igrave:\"\\xCC\",\"igrave;\":\"\\xEC\",igrave:\"\\xEC\",\"ii;\":\"\\u2148\",\"iiiint;\":\"\\u2A0C\",\"iiint;\":\"\\u222D\",\"iinfin;\":\"\\u29DC\",\"iiota;\":\"\\u2129\",\"IJlig;\":\"\\u0132\",\"ijlig;\":\"\\u0133\",\"Im;\":\"\\u2111\",\"Imacr;\":\"\\u012A\",\"imacr;\":\"\\u012B\",\"image;\":\"\\u2111\",\"ImaginaryI;\":\"\\u2148\",\"imagline;\":\"\\u2110\",\"imagpart;\":\"\\u2111\",\"imath;\":\"\\u0131\",\"imof;\":\"\\u22B7\",\"imped;\":\"\\u01B5\",\"Implies;\":\"\\u21D2\",\"in;\":\"\\u2208\",\"incare;\":\"\\u2105\",\"infin;\":\"\\u221E\",\"infintie;\":\"\\u29DD\",\"inodot;\":\"\\u0131\",\"Int;\":\"\\u222C\",\"int;\":\"\\u222B\",\"intcal;\":\"\\u22BA\",\"integers;\":\"\\u2124\",\"Integral;\":\"\\u222B\",\"intercal;\":\"\\u22BA\",\"Intersection;\":\"\\u22C2\",\"intlarhk;\":\"\\u2A17\",\"intprod;\":\"\\u2A3C\",\"InvisibleComma;\":\"\\u2063\",\"InvisibleTimes;\":\"\\u2062\",\"IOcy;\":\"\\u0401\",\"iocy;\":\"\\u0451\",\"Iogon;\":\"\\u012E\",\"iogon;\":\"\\u012F\",\"Iopf;\":\"\\u{1D540}\",\"iopf;\":\"\\u{1D55A}\",\"Iota;\":\"\\u0399\",\"iota;\":\"\\u03B9\",\"iprod;\":\"\\u2A3C\",\"iquest;\":\"\\xBF\",iquest:\"\\xBF\",\"Iscr;\":\"\\u2110\",\"iscr;\":\"\\u{1D4BE}\",\"isin;\":\"\\u2208\",\"isindot;\":\"\\u22F5\",\"isinE;\":\"\\u22F9\",\"isins;\":\"\\u22F4\",\"isinsv;\":\"\\u22F3\",\"isinv;\":\"\\u2208\",\"it;\":\"\\u2062\",\"Itilde;\":\"\\u0128\",\"itilde;\":\"\\u0129\",\"Iukcy;\":\"\\u0406\",\"iukcy;\":\"\\u0456\",\"Iuml;\":\"\\xCF\",Iuml:\"\\xCF\",\"iuml;\":\"\\xEF\",iuml:\"\\xEF\",\"Jcirc;\":\"\\u0134\",\"jcirc;\":\"\\u0135\",\"Jcy;\":\"\\u0419\",\"jcy;\":\"\\u0439\",\"Jfr;\":\"\\u{1D50D}\",\"jfr;\":\"\\u{1D527}\",\"jmath;\":\"\\u0237\",\"Jopf;\":\"\\u{1D541}\",\"jopf;\":\"\\u{1D55B}\",\"Jscr;\":\"\\u{1D4A5}\",\"jscr;\":\"\\u{1D4BF}\",\"Jsercy;\":\"\\u0408\",\"jsercy;\":\"\\u0458\",\"Jukcy;\":\"\\u0404\",\"jukcy;\":\"\\u0454\",\"Kappa;\":\"\\u039A\",\"kappa;\":\"\\u03BA\",\"kappav;\":\"\\u03F0\",\"Kcedil;\":\"\\u0136\",\"kcedil;\":\"\\u0137\",\"Kcy;\":\"\\u041A\",\"kcy;\":\"\\u043A\",\"Kfr;\":\"\\u{1D50E}\",\"kfr;\":\"\\u{1D528}\",\"kgreen;\":\"\\u0138\",\"KHcy;\":\"\\u0425\",\"khcy;\":\"\\u0445\",\"KJcy;\":\"\\u040C\",\"kjcy;\":\"\\u045C\",\"Kopf;\":\"\\u{1D542}\",\"kopf;\":\"\\u{1D55C}\",\"Kscr;\":\"\\u{1D4A6}\",\"kscr;\":\"\\u{1D4C0}\",\"lAarr;\":\"\\u21DA\",\"Lacute;\":\"\\u0139\",\"lacute;\":\"\\u013A\",\"laemptyv;\":\"\\u29B4\",\"lagran;\":\"\\u2112\",\"Lambda;\":\"\\u039B\",\"lambda;\":\"\\u03BB\",\"Lang;\":\"\\u27EA\",\"lang;\":\"\\u27E8\",\"langd;\":\"\\u2991\",\"langle;\":\"\\u27E8\",\"lap;\":\"\\u2A85\",\"Laplacetrf;\":\"\\u2112\",\"laquo;\":\"\\xAB\",laquo:\"\\xAB\",\"Larr;\":\"\\u219E\",\"lArr;\":\"\\u21D0\",\"larr;\":\"\\u2190\",\"larrb;\":\"\\u21E4\",\"larrbfs;\":\"\\u291F\",\"larrfs;\":\"\\u291D\",\"larrhk;\":\"\\u21A9\",\"larrlp;\":\"\\u21AB\",\"larrpl;\":\"\\u2939\",\"larrsim;\":\"\\u2973\",\"larrtl;\":\"\\u21A2\",\"lat;\":\"\\u2AAB\",\"lAtail;\":\"\\u291B\",\"latail;\":\"\\u2919\",\"late;\":\"\\u2AAD\",\"lates;\":\"\\u2AAD\\uFE00\",\"lBarr;\":\"\\u290E\",\"lbarr;\":\"\\u290C\",\"lbbrk;\":\"\\u2772\",\"lbrace;\":\"{\",\"lbrack;\":\"[\",\"lbrke;\":\"\\u298B\",\"lbrksld;\":\"\\u298F\",\"lbrkslu;\":\"\\u298D\",\"Lcaron;\":\"\\u013D\",\"lcaron;\":\"\\u013E\",\"Lcedil;\":\"\\u013B\",\"lcedil;\":\"\\u013C\",\"lceil;\":\"\\u2308\",\"lcub;\":\"{\",\"Lcy;\":\"\\u041B\",\"lcy;\":\"\\u043B\",\"ldca;\":\"\\u2936\",\"ldquo;\":\"\\u201C\",\"ldquor;\":\"\\u201E\",\"ldrdhar;\":\"\\u2967\",\"ldrushar;\":\"\\u294B\",\"ldsh;\":\"\\u21B2\",\"lE;\":\"\\u2266\",\"le;\":\"\\u2264\",\"LeftAngleBracket;\":\"\\u27E8\",\"LeftArrow;\":\"\\u2190\",\"Leftarrow;\":\"\\u21D0\",\"leftarrow;\":\"\\u2190\",\"LeftArrowBar;\":\"\\u21E4\",\"LeftArrowRightArrow;\":\"\\u21C6\",\"leftarrowtail;\":\"\\u21A2\",\"LeftCeiling;\":\"\\u2308\",\"LeftDoubleBracket;\":\"\\u27E6\",\"LeftDownTeeVector;\":\"\\u2961\",\"LeftDownVector;\":\"\\u21C3\",\"LeftDownVectorBar;\":\"\\u2959\",\"LeftFloor;\":\"\\u230A\",\"leftharpoondown;\":\"\\u21BD\",\"leftharpoonup;\":\"\\u21BC\",\"leftleftarrows;\":\"\\u21C7\",\"LeftRightArrow;\":\"\\u2194\",\"Leftrightarrow;\":\"\\u21D4\",\"leftrightarrow;\":\"\\u2194\",\"leftrightarrows;\":\"\\u21C6\",\"leftrightharpoons;\":\"\\u21CB\",\"leftrightsquigarrow;\":\"\\u21AD\",\"LeftRightVector;\":\"\\u294E\",\"LeftTee;\":\"\\u22A3\",\"LeftTeeArrow;\":\"\\u21A4\",\"LeftTeeVector;\":\"\\u295A\",\"leftthreetimes;\":\"\\u22CB\",\"LeftTriangle;\":\"\\u22B2\",\"LeftTriangleBar;\":\"\\u29CF\",\"LeftTriangleEqual;\":\"\\u22B4\",\"LeftUpDownVector;\":\"\\u2951\",\"LeftUpTeeVector;\":\"\\u2960\",\"LeftUpVector;\":\"\\u21BF\",\"LeftUpVectorBar;\":\"\\u2958\",\"LeftVector;\":\"\\u21BC\",\"LeftVectorBar;\":\"\\u2952\",\"lEg;\":\"\\u2A8B\",\"leg;\":\"\\u22DA\",\"leq;\":\"\\u2264\",\"leqq;\":\"\\u2266\",\"leqslant;\":\"\\u2A7D\",\"les;\":\"\\u2A7D\",\"lescc;\":\"\\u2AA8\",\"lesdot;\":\"\\u2A7F\",\"lesdoto;\":\"\\u2A81\",\"lesdotor;\":\"\\u2A83\",\"lesg;\":\"\\u22DA\\uFE00\",\"lesges;\":\"\\u2A93\",\"lessapprox;\":\"\\u2A85\",\"lessdot;\":\"\\u22D6\",\"lesseqgtr;\":\"\\u22DA\",\"lesseqqgtr;\":\"\\u2A8B\",\"LessEqualGreater;\":\"\\u22DA\",\"LessFullEqual;\":\"\\u2266\",\"LessGreater;\":\"\\u2276\",\"lessgtr;\":\"\\u2276\",\"LessLess;\":\"\\u2AA1\",\"lesssim;\":\"\\u2272\",\"LessSlantEqual;\":\"\\u2A7D\",\"LessTilde;\":\"\\u2272\",\"lfisht;\":\"\\u297C\",\"lfloor;\":\"\\u230A\",\"Lfr;\":\"\\u{1D50F}\",\"lfr;\":\"\\u{1D529}\",\"lg;\":\"\\u2276\",\"lgE;\":\"\\u2A91\",\"lHar;\":\"\\u2962\",\"lhard;\":\"\\u21BD\",\"lharu;\":\"\\u21BC\",\"lharul;\":\"\\u296A\",\"lhblk;\":\"\\u2584\",\"LJcy;\":\"\\u0409\",\"ljcy;\":\"\\u0459\",\"Ll;\":\"\\u22D8\",\"ll;\":\"\\u226A\",\"llarr;\":\"\\u21C7\",\"llcorner;\":\"\\u231E\",\"Lleftarrow;\":\"\\u21DA\",\"llhard;\":\"\\u296B\",\"lltri;\":\"\\u25FA\",\"Lmidot;\":\"\\u013F\",\"lmidot;\":\"\\u0140\",\"lmoust;\":\"\\u23B0\",\"lmoustache;\":\"\\u23B0\",\"lnap;\":\"\\u2A89\",\"lnapprox;\":\"\\u2A89\",\"lnE;\":\"\\u2268\",\"lne;\":\"\\u2A87\",\"lneq;\":\"\\u2A87\",\"lneqq;\":\"\\u2268\",\"lnsim;\":\"\\u22E6\",\"loang;\":\"\\u27EC\",\"loarr;\":\"\\u21FD\",\"lobrk;\":\"\\u27E6\",\"LongLeftArrow;\":\"\\u27F5\",\"Longleftarrow;\":\"\\u27F8\",\"longleftarrow;\":\"\\u27F5\",\"LongLeftRightArrow;\":\"\\u27F7\",\"Longleftrightarrow;\":\"\\u27FA\",\"longleftrightarrow;\":\"\\u27F7\",\"longmapsto;\":\"\\u27FC\",\"LongRightArrow;\":\"\\u27F6\",\"Longrightarrow;\":\"\\u27F9\",\"longrightarrow;\":\"\\u27F6\",\"looparrowleft;\":\"\\u21AB\",\"looparrowright;\":\"\\u21AC\",\"lopar;\":\"\\u2985\",\"Lopf;\":\"\\u{1D543}\",\"lopf;\":\"\\u{1D55D}\",\"loplus;\":\"\\u2A2D\",\"lotimes;\":\"\\u2A34\",\"lowast;\":\"\\u2217\",\"lowbar;\":\"_\",\"LowerLeftArrow;\":\"\\u2199\",\"LowerRightArrow;\":\"\\u2198\",\"loz;\":\"\\u25CA\",\"lozenge;\":\"\\u25CA\",\"lozf;\":\"\\u29EB\",\"lpar;\":\"(\",\"lparlt;\":\"\\u2993\",\"lrarr;\":\"\\u21C6\",\"lrcorner;\":\"\\u231F\",\"lrhar;\":\"\\u21CB\",\"lrhard;\":\"\\u296D\",\"lrm;\":\"\\u200E\",\"lrtri;\":\"\\u22BF\",\"lsaquo;\":\"\\u2039\",\"Lscr;\":\"\\u2112\",\"lscr;\":\"\\u{1D4C1}\",\"Lsh;\":\"\\u21B0\",\"lsh;\":\"\\u21B0\",\"lsim;\":\"\\u2272\",\"lsime;\":\"\\u2A8D\",\"lsimg;\":\"\\u2A8F\",\"lsqb;\":\"[\",\"lsquo;\":\"\\u2018\",\"lsquor;\":\"\\u201A\",\"Lstrok;\":\"\\u0141\",\"lstrok;\":\"\\u0142\",\"LT;\":\"<\",LT:\"<\",\"Lt;\":\"\\u226A\",\"lt;\":\"<\",lt:\"<\",\"ltcc;\":\"\\u2AA6\",\"ltcir;\":\"\\u2A79\",\"ltdot;\":\"\\u22D6\",\"lthree;\":\"\\u22CB\",\"ltimes;\":\"\\u22C9\",\"ltlarr;\":\"\\u2976\",\"ltquest;\":\"\\u2A7B\",\"ltri;\":\"\\u25C3\",\"ltrie;\":\"\\u22B4\",\"ltrif;\":\"\\u25C2\",\"ltrPar;\":\"\\u2996\",\"lurdshar;\":\"\\u294A\",\"luruhar;\":\"\\u2966\",\"lvertneqq;\":\"\\u2268\\uFE00\",\"lvnE;\":\"\\u2268\\uFE00\",\"macr;\":\"\\xAF\",macr:\"\\xAF\",\"male;\":\"\\u2642\",\"malt;\":\"\\u2720\",\"maltese;\":\"\\u2720\",\"Map;\":\"\\u2905\",\"map;\":\"\\u21A6\",\"mapsto;\":\"\\u21A6\",\"mapstodown;\":\"\\u21A7\",\"mapstoleft;\":\"\\u21A4\",\"mapstoup;\":\"\\u21A5\",\"marker;\":\"\\u25AE\",\"mcomma;\":\"\\u2A29\",\"Mcy;\":\"\\u041C\",\"mcy;\":\"\\u043C\",\"mdash;\":\"\\u2014\",\"mDDot;\":\"\\u223A\",\"measuredangle;\":\"\\u2221\",\"MediumSpace;\":\"\\u205F\",\"Mellintrf;\":\"\\u2133\",\"Mfr;\":\"\\u{1D510}\",\"mfr;\":\"\\u{1D52A}\",\"mho;\":\"\\u2127\",\"micro;\":\"\\xB5\",micro:\"\\xB5\",\"mid;\":\"\\u2223\",\"midast;\":\"*\",\"midcir;\":\"\\u2AF0\",\"middot;\":\"\\xB7\",middot:\"\\xB7\",\"minus;\":\"\\u2212\",\"minusb;\":\"\\u229F\",\"minusd;\":\"\\u2238\",\"minusdu;\":\"\\u2A2A\",\"MinusPlus;\":\"\\u2213\",\"mlcp;\":\"\\u2ADB\",\"mldr;\":\"\\u2026\",\"mnplus;\":\"\\u2213\",\"models;\":\"\\u22A7\",\"Mopf;\":\"\\u{1D544}\",\"mopf;\":\"\\u{1D55E}\",\"mp;\":\"\\u2213\",\"Mscr;\":\"\\u2133\",\"mscr;\":\"\\u{1D4C2}\",\"mstpos;\":\"\\u223E\",\"Mu;\":\"\\u039C\",\"mu;\":\"\\u03BC\",\"multimap;\":\"\\u22B8\",\"mumap;\":\"\\u22B8\",\"nabla;\":\"\\u2207\",\"Nacute;\":\"\\u0143\",\"nacute;\":\"\\u0144\",\"nang;\":\"\\u2220\\u20D2\",\"nap;\":\"\\u2249\",\"napE;\":\"\\u2A70\\u0338\",\"napid;\":\"\\u224B\\u0338\",\"napos;\":\"\\u0149\",\"napprox;\":\"\\u2249\",\"natur;\":\"\\u266E\",\"natural;\":\"\\u266E\",\"naturals;\":\"\\u2115\",\"nbsp;\":\"\\xA0\",nbsp:\"\\xA0\",\"nbump;\":\"\\u224E\\u0338\",\"nbumpe;\":\"\\u224F\\u0338\",\"ncap;\":\"\\u2A43\",\"Ncaron;\":\"\\u0147\",\"ncaron;\":\"\\u0148\",\"Ncedil;\":\"\\u0145\",\"ncedil;\":\"\\u0146\",\"ncong;\":\"\\u2247\",\"ncongdot;\":\"\\u2A6D\\u0338\",\"ncup;\":\"\\u2A42\",\"Ncy;\":\"\\u041D\",\"ncy;\":\"\\u043D\",\"ndash;\":\"\\u2013\",\"ne;\":\"\\u2260\",\"nearhk;\":\"\\u2924\",\"neArr;\":\"\\u21D7\",\"nearr;\":\"\\u2197\",\"nearrow;\":\"\\u2197\",\"nedot;\":\"\\u2250\\u0338\",\"NegativeMediumSpace;\":\"\\u200B\",\"NegativeThickSpace;\":\"\\u200B\",\"NegativeThinSpace;\":\"\\u200B\",\"NegativeVeryThinSpace;\":\"\\u200B\",\"nequiv;\":\"\\u2262\",\"nesear;\":\"\\u2928\",\"nesim;\":\"\\u2242\\u0338\",\"NestedGreaterGreater;\":\"\\u226B\",\"NestedLessLess;\":\"\\u226A\",\"NewLine;\":`\n`,\"nexist;\":\"\\u2204\",\"nexists;\":\"\\u2204\",\"Nfr;\":\"\\u{1D511}\",\"nfr;\":\"\\u{1D52B}\",\"ngE;\":\"\\u2267\\u0338\",\"nge;\":\"\\u2271\",\"ngeq;\":\"\\u2271\",\"ngeqq;\":\"\\u2267\\u0338\",\"ngeqslant;\":\"\\u2A7E\\u0338\",\"nges;\":\"\\u2A7E\\u0338\",\"nGg;\":\"\\u22D9\\u0338\",\"ngsim;\":\"\\u2275\",\"nGt;\":\"\\u226B\\u20D2\",\"ngt;\":\"\\u226F\",\"ngtr;\":\"\\u226F\",\"nGtv;\":\"\\u226B\\u0338\",\"nhArr;\":\"\\u21CE\",\"nharr;\":\"\\u21AE\",\"nhpar;\":\"\\u2AF2\",\"ni;\":\"\\u220B\",\"nis;\":\"\\u22FC\",\"nisd;\":\"\\u22FA\",\"niv;\":\"\\u220B\",\"NJcy;\":\"\\u040A\",\"njcy;\":\"\\u045A\",\"nlArr;\":\"\\u21CD\",\"nlarr;\":\"\\u219A\",\"nldr;\":\"\\u2025\",\"nlE;\":\"\\u2266\\u0338\",\"nle;\":\"\\u2270\",\"nLeftarrow;\":\"\\u21CD\",\"nleftarrow;\":\"\\u219A\",\"nLeftrightarrow;\":\"\\u21CE\",\"nleftrightarrow;\":\"\\u21AE\",\"nleq;\":\"\\u2270\",\"nleqq;\":\"\\u2266\\u0338\",\"nleqslant;\":\"\\u2A7D\\u0338\",\"nles;\":\"\\u2A7D\\u0338\",\"nless;\":\"\\u226E\",\"nLl;\":\"\\u22D8\\u0338\",\"nlsim;\":\"\\u2274\",\"nLt;\":\"\\u226A\\u20D2\",\"nlt;\":\"\\u226E\",\"nltri;\":\"\\u22EA\",\"nltrie;\":\"\\u22EC\",\"nLtv;\":\"\\u226A\\u0338\",\"nmid;\":\"\\u2224\",\"NoBreak;\":\"\\u2060\",\"NonBreakingSpace;\":\"\\xA0\",\"Nopf;\":\"\\u2115\",\"nopf;\":\"\\u{1D55F}\",\"Not;\":\"\\u2AEC\",\"not;\":\"\\xAC\",not:\"\\xAC\",\"NotCongruent;\":\"\\u2262\",\"NotCupCap;\":\"\\u226D\",\"NotDoubleVerticalBar;\":\"\\u2226\",\"NotElement;\":\"\\u2209\",\"NotEqual;\":\"\\u2260\",\"NotEqualTilde;\":\"\\u2242\\u0338\",\"NotExists;\":\"\\u2204\",\"NotGreater;\":\"\\u226F\",\"NotGreaterEqual;\":\"\\u2271\",\"NotGreaterFullEqual;\":\"\\u2267\\u0338\",\"NotGreaterGreater;\":\"\\u226B\\u0338\",\"NotGreaterLess;\":\"\\u2279\",\"NotGreaterSlantEqual;\":\"\\u2A7E\\u0338\",\"NotGreaterTilde;\":\"\\u2275\",\"NotHumpDownHump;\":\"\\u224E\\u0338\",\"NotHumpEqual;\":\"\\u224F\\u0338\",\"notin;\":\"\\u2209\",\"notindot;\":\"\\u22F5\\u0338\",\"notinE;\":\"\\u22F9\\u0338\",\"notinva;\":\"\\u2209\",\"notinvb;\":\"\\u22F7\",\"notinvc;\":\"\\u22F6\",\"NotLeftTriangle;\":\"\\u22EA\",\"NotLeftTriangleBar;\":\"\\u29CF\\u0338\",\"NotLeftTriangleEqual;\":\"\\u22EC\",\"NotLess;\":\"\\u226E\",\"NotLessEqual;\":\"\\u2270\",\"NotLessGreater;\":\"\\u2278\",\"NotLessLess;\":\"\\u226A\\u0338\",\"NotLessSlantEqual;\":\"\\u2A7D\\u0338\",\"NotLessTilde;\":\"\\u2274\",\"NotNestedGreaterGreater;\":\"\\u2AA2\\u0338\",\"NotNestedLessLess;\":\"\\u2AA1\\u0338\",\"notni;\":\"\\u220C\",\"notniva;\":\"\\u220C\",\"notnivb;\":\"\\u22FE\",\"notnivc;\":\"\\u22FD\",\"NotPrecedes;\":\"\\u2280\",\"NotPrecedesEqual;\":\"\\u2AAF\\u0338\",\"NotPrecedesSlantEqual;\":\"\\u22E0\",\"NotReverseElement;\":\"\\u220C\",\"NotRightTriangle;\":\"\\u22EB\",\"NotRightTriangleBar;\":\"\\u29D0\\u0338\",\"NotRightTriangleEqual;\":\"\\u22ED\",\"NotSquareSubset;\":\"\\u228F\\u0338\",\"NotSquareSubsetEqual;\":\"\\u22E2\",\"NotSquareSuperset;\":\"\\u2290\\u0338\",\"NotSquareSupersetEqual;\":\"\\u22E3\",\"NotSubset;\":\"\\u2282\\u20D2\",\"NotSubsetEqual;\":\"\\u2288\",\"NotSucceeds;\":\"\\u2281\",\"NotSucceedsEqual;\":\"\\u2AB0\\u0338\",\"NotSucceedsSlantEqual;\":\"\\u22E1\",\"NotSucceedsTilde;\":\"\\u227F\\u0338\",\"NotSuperset;\":\"\\u2283\\u20D2\",\"NotSupersetEqual;\":\"\\u2289\",\"NotTilde;\":\"\\u2241\",\"NotTildeEqual;\":\"\\u2244\",\"NotTildeFullEqual;\":\"\\u2247\",\"NotTildeTilde;\":\"\\u2249\",\"NotVerticalBar;\":\"\\u2224\",\"npar;\":\"\\u2226\",\"nparallel;\":\"\\u2226\",\"nparsl;\":\"\\u2AFD\\u20E5\",\"npart;\":\"\\u2202\\u0338\",\"npolint;\":\"\\u2A14\",\"npr;\":\"\\u2280\",\"nprcue;\":\"\\u22E0\",\"npre;\":\"\\u2AAF\\u0338\",\"nprec;\":\"\\u2280\",\"npreceq;\":\"\\u2AAF\\u0338\",\"nrArr;\":\"\\u21CF\",\"nrarr;\":\"\\u219B\",\"nrarrc;\":\"\\u2933\\u0338\",\"nrarrw;\":\"\\u219D\\u0338\",\"nRightarrow;\":\"\\u21CF\",\"nrightarrow;\":\"\\u219B\",\"nrtri;\":\"\\u22EB\",\"nrtrie;\":\"\\u22ED\",\"nsc;\":\"\\u2281\",\"nsccue;\":\"\\u22E1\",\"nsce;\":\"\\u2AB0\\u0338\",\"Nscr;\":\"\\u{1D4A9}\",\"nscr;\":\"\\u{1D4C3}\",\"nshortmid;\":\"\\u2224\",\"nshortparallel;\":\"\\u2226\",\"nsim;\":\"\\u2241\",\"nsime;\":\"\\u2244\",\"nsimeq;\":\"\\u2244\",\"nsmid;\":\"\\u2224\",\"nspar;\":\"\\u2226\",\"nsqsube;\":\"\\u22E2\",\"nsqsupe;\":\"\\u22E3\",\"nsub;\":\"\\u2284\",\"nsubE;\":\"\\u2AC5\\u0338\",\"nsube;\":\"\\u2288\",\"nsubset;\":\"\\u2282\\u20D2\",\"nsubseteq;\":\"\\u2288\",\"nsubseteqq;\":\"\\u2AC5\\u0338\",\"nsucc;\":\"\\u2281\",\"nsucceq;\":\"\\u2AB0\\u0338\",\"nsup;\":\"\\u2285\",\"nsupE;\":\"\\u2AC6\\u0338\",\"nsupe;\":\"\\u2289\",\"nsupset;\":\"\\u2283\\u20D2\",\"nsupseteq;\":\"\\u2289\",\"nsupseteqq;\":\"\\u2AC6\\u0338\",\"ntgl;\":\"\\u2279\",\"Ntilde;\":\"\\xD1\",Ntilde:\"\\xD1\",\"ntilde;\":\"\\xF1\",ntilde:\"\\xF1\",\"ntlg;\":\"\\u2278\",\"ntriangleleft;\":\"\\u22EA\",\"ntrianglelefteq;\":\"\\u22EC\",\"ntriangleright;\":\"\\u22EB\",\"ntrianglerighteq;\":\"\\u22ED\",\"Nu;\":\"\\u039D\",\"nu;\":\"\\u03BD\",\"num;\":\"#\",\"numero;\":\"\\u2116\",\"numsp;\":\"\\u2007\",\"nvap;\":\"\\u224D\\u20D2\",\"nVDash;\":\"\\u22AF\",\"nVdash;\":\"\\u22AE\",\"nvDash;\":\"\\u22AD\",\"nvdash;\":\"\\u22AC\",\"nvge;\":\"\\u2265\\u20D2\",\"nvgt;\":\">\\u20D2\",\"nvHarr;\":\"\\u2904\",\"nvinfin;\":\"\\u29DE\",\"nvlArr;\":\"\\u2902\",\"nvle;\":\"\\u2264\\u20D2\",\"nvlt;\":\"<\\u20D2\",\"nvltrie;\":\"\\u22B4\\u20D2\",\"nvrArr;\":\"\\u2903\",\"nvrtrie;\":\"\\u22B5\\u20D2\",\"nvsim;\":\"\\u223C\\u20D2\",\"nwarhk;\":\"\\u2923\",\"nwArr;\":\"\\u21D6\",\"nwarr;\":\"\\u2196\",\"nwarrow;\":\"\\u2196\",\"nwnear;\":\"\\u2927\",\"Oacute;\":\"\\xD3\",Oacute:\"\\xD3\",\"oacute;\":\"\\xF3\",oacute:\"\\xF3\",\"oast;\":\"\\u229B\",\"ocir;\":\"\\u229A\",\"Ocirc;\":\"\\xD4\",Ocirc:\"\\xD4\",\"ocirc;\":\"\\xF4\",ocirc:\"\\xF4\",\"Ocy;\":\"\\u041E\",\"ocy;\":\"\\u043E\",\"odash;\":\"\\u229D\",\"Odblac;\":\"\\u0150\",\"odblac;\":\"\\u0151\",\"odiv;\":\"\\u2A38\",\"odot;\":\"\\u2299\",\"odsold;\":\"\\u29BC\",\"OElig;\":\"\\u0152\",\"oelig;\":\"\\u0153\",\"ofcir;\":\"\\u29BF\",\"Ofr;\":\"\\u{1D512}\",\"ofr;\":\"\\u{1D52C}\",\"ogon;\":\"\\u02DB\",\"Ograve;\":\"\\xD2\",Ograve:\"\\xD2\",\"ograve;\":\"\\xF2\",ograve:\"\\xF2\",\"ogt;\":\"\\u29C1\",\"ohbar;\":\"\\u29B5\",\"ohm;\":\"\\u03A9\",\"oint;\":\"\\u222E\",\"olarr;\":\"\\u21BA\",\"olcir;\":\"\\u29BE\",\"olcross;\":\"\\u29BB\",\"oline;\":\"\\u203E\",\"olt;\":\"\\u29C0\",\"Omacr;\":\"\\u014C\",\"omacr;\":\"\\u014D\",\"Omega;\":\"\\u03A9\",\"omega;\":\"\\u03C9\",\"Omicron;\":\"\\u039F\",\"omicron;\":\"\\u03BF\",\"omid;\":\"\\u29B6\",\"ominus;\":\"\\u2296\",\"Oopf;\":\"\\u{1D546}\",\"oopf;\":\"\\u{1D560}\",\"opar;\":\"\\u29B7\",\"OpenCurlyDoubleQuote;\":\"\\u201C\",\"OpenCurlyQuote;\":\"\\u2018\",\"operp;\":\"\\u29B9\",\"oplus;\":\"\\u2295\",\"Or;\":\"\\u2A54\",\"or;\":\"\\u2228\",\"orarr;\":\"\\u21BB\",\"ord;\":\"\\u2A5D\",\"order;\":\"\\u2134\",\"orderof;\":\"\\u2134\",\"ordf;\":\"\\xAA\",ordf:\"\\xAA\",\"ordm;\":\"\\xBA\",ordm:\"\\xBA\",\"origof;\":\"\\u22B6\",\"oror;\":\"\\u2A56\",\"orslope;\":\"\\u2A57\",\"orv;\":\"\\u2A5B\",\"oS;\":\"\\u24C8\",\"Oscr;\":\"\\u{1D4AA}\",\"oscr;\":\"\\u2134\",\"Oslash;\":\"\\xD8\",Oslash:\"\\xD8\",\"oslash;\":\"\\xF8\",oslash:\"\\xF8\",\"osol;\":\"\\u2298\",\"Otilde;\":\"\\xD5\",Otilde:\"\\xD5\",\"otilde;\":\"\\xF5\",otilde:\"\\xF5\",\"Otimes;\":\"\\u2A37\",\"otimes;\":\"\\u2297\",\"otimesas;\":\"\\u2A36\",\"Ouml;\":\"\\xD6\",Ouml:\"\\xD6\",\"ouml;\":\"\\xF6\",ouml:\"\\xF6\",\"ovbar;\":\"\\u233D\",\"OverBar;\":\"\\u203E\",\"OverBrace;\":\"\\u23DE\",\"OverBracket;\":\"\\u23B4\",\"OverParenthesis;\":\"\\u23DC\",\"par;\":\"\\u2225\",\"para;\":\"\\xB6\",para:\"\\xB6\",\"parallel;\":\"\\u2225\",\"parsim;\":\"\\u2AF3\",\"parsl;\":\"\\u2AFD\",\"part;\":\"\\u2202\",\"PartialD;\":\"\\u2202\",\"Pcy;\":\"\\u041F\",\"pcy;\":\"\\u043F\",\"percnt;\":\"%\",\"period;\":\".\",\"permil;\":\"\\u2030\",\"perp;\":\"\\u22A5\",\"pertenk;\":\"\\u2031\",\"Pfr;\":\"\\u{1D513}\",\"pfr;\":\"\\u{1D52D}\",\"Phi;\":\"\\u03A6\",\"phi;\":\"\\u03C6\",\"phiv;\":\"\\u03D5\",\"phmmat;\":\"\\u2133\",\"phone;\":\"\\u260E\",\"Pi;\":\"\\u03A0\",\"pi;\":\"\\u03C0\",\"pitchfork;\":\"\\u22D4\",\"piv;\":\"\\u03D6\",\"planck;\":\"\\u210F\",\"planckh;\":\"\\u210E\",\"plankv;\":\"\\u210F\",\"plus;\":\"+\",\"plusacir;\":\"\\u2A23\",\"plusb;\":\"\\u229E\",\"pluscir;\":\"\\u2A22\",\"plusdo;\":\"\\u2214\",\"plusdu;\":\"\\u2A25\",\"pluse;\":\"\\u2A72\",\"PlusMinus;\":\"\\xB1\",\"plusmn;\":\"\\xB1\",plusmn:\"\\xB1\",\"plussim;\":\"\\u2A26\",\"plustwo;\":\"\\u2A27\",\"pm;\":\"\\xB1\",\"Poincareplane;\":\"\\u210C\",\"pointint;\":\"\\u2A15\",\"Popf;\":\"\\u2119\",\"popf;\":\"\\u{1D561}\",\"pound;\":\"\\xA3\",pound:\"\\xA3\",\"Pr;\":\"\\u2ABB\",\"pr;\":\"\\u227A\",\"prap;\":\"\\u2AB7\",\"prcue;\":\"\\u227C\",\"prE;\":\"\\u2AB3\",\"pre;\":\"\\u2AAF\",\"prec;\":\"\\u227A\",\"precapprox;\":\"\\u2AB7\",\"preccurlyeq;\":\"\\u227C\",\"Precedes;\":\"\\u227A\",\"PrecedesEqual;\":\"\\u2AAF\",\"PrecedesSlantEqual;\":\"\\u227C\",\"PrecedesTilde;\":\"\\u227E\",\"preceq;\":\"\\u2AAF\",\"precnapprox;\":\"\\u2AB9\",\"precneqq;\":\"\\u2AB5\",\"precnsim;\":\"\\u22E8\",\"precsim;\":\"\\u227E\",\"Prime;\":\"\\u2033\",\"prime;\":\"\\u2032\",\"primes;\":\"\\u2119\",\"prnap;\":\"\\u2AB9\",\"prnE;\":\"\\u2AB5\",\"prnsim;\":\"\\u22E8\",\"prod;\":\"\\u220F\",\"Product;\":\"\\u220F\",\"profalar;\":\"\\u232E\",\"profline;\":\"\\u2312\",\"profsurf;\":\"\\u2313\",\"prop;\":\"\\u221D\",\"Proportion;\":\"\\u2237\",\"Proportional;\":\"\\u221D\",\"propto;\":\"\\u221D\",\"prsim;\":\"\\u227E\",\"prurel;\":\"\\u22B0\",\"Pscr;\":\"\\u{1D4AB}\",\"pscr;\":\"\\u{1D4C5}\",\"Psi;\":\"\\u03A8\",\"psi;\":\"\\u03C8\",\"puncsp;\":\"\\u2008\",\"Qfr;\":\"\\u{1D514}\",\"qfr;\":\"\\u{1D52E}\",\"qint;\":\"\\u2A0C\",\"Qopf;\":\"\\u211A\",\"qopf;\":\"\\u{1D562}\",\"qprime;\":\"\\u2057\",\"Qscr;\":\"\\u{1D4AC}\",\"qscr;\":\"\\u{1D4C6}\",\"quaternions;\":\"\\u210D\",\"quatint;\":\"\\u2A16\",\"quest;\":\"?\",\"questeq;\":\"\\u225F\",\"QUOT;\":'\"',QUOT:'\"',\"quot;\":'\"',quot:'\"',\"rAarr;\":\"\\u21DB\",\"race;\":\"\\u223D\\u0331\",\"Racute;\":\"\\u0154\",\"racute;\":\"\\u0155\",\"radic;\":\"\\u221A\",\"raemptyv;\":\"\\u29B3\",\"Rang;\":\"\\u27EB\",\"rang;\":\"\\u27E9\",\"rangd;\":\"\\u2992\",\"range;\":\"\\u29A5\",\"rangle;\":\"\\u27E9\",\"raquo;\":\"\\xBB\",raquo:\"\\xBB\",\"Rarr;\":\"\\u21A0\",\"rArr;\":\"\\u21D2\",\"rarr;\":\"\\u2192\",\"rarrap;\":\"\\u2975\",\"rarrb;\":\"\\u21E5\",\"rarrbfs;\":\"\\u2920\",\"rarrc;\":\"\\u2933\",\"rarrfs;\":\"\\u291E\",\"rarrhk;\":\"\\u21AA\",\"rarrlp;\":\"\\u21AC\",\"rarrpl;\":\"\\u2945\",\"rarrsim;\":\"\\u2974\",\"Rarrtl;\":\"\\u2916\",\"rarrtl;\":\"\\u21A3\",\"rarrw;\":\"\\u219D\",\"rAtail;\":\"\\u291C\",\"ratail;\":\"\\u291A\",\"ratio;\":\"\\u2236\",\"rationals;\":\"\\u211A\",\"RBarr;\":\"\\u2910\",\"rBarr;\":\"\\u290F\",\"rbarr;\":\"\\u290D\",\"rbbrk;\":\"\\u2773\",\"rbrace;\":\"}\",\"rbrack;\":\"]\",\"rbrke;\":\"\\u298C\",\"rbrksld;\":\"\\u298E\",\"rbrkslu;\":\"\\u2990\",\"Rcaron;\":\"\\u0158\",\"rcaron;\":\"\\u0159\",\"Rcedil;\":\"\\u0156\",\"rcedil;\":\"\\u0157\",\"rceil;\":\"\\u2309\",\"rcub;\":\"}\",\"Rcy;\":\"\\u0420\",\"rcy;\":\"\\u0440\",\"rdca;\":\"\\u2937\",\"rdldhar;\":\"\\u2969\",\"rdquo;\":\"\\u201D\",\"rdquor;\":\"\\u201D\",\"rdsh;\":\"\\u21B3\",\"Re;\":\"\\u211C\",\"real;\":\"\\u211C\",\"realine;\":\"\\u211B\",\"realpart;\":\"\\u211C\",\"reals;\":\"\\u211D\",\"rect;\":\"\\u25AD\",\"REG;\":\"\\xAE\",REG:\"\\xAE\",\"reg;\":\"\\xAE\",reg:\"\\xAE\",\"ReverseElement;\":\"\\u220B\",\"ReverseEquilibrium;\":\"\\u21CB\",\"ReverseUpEquilibrium;\":\"\\u296F\",\"rfisht;\":\"\\u297D\",\"rfloor;\":\"\\u230B\",\"Rfr;\":\"\\u211C\",\"rfr;\":\"\\u{1D52F}\",\"rHar;\":\"\\u2964\",\"rhard;\":\"\\u21C1\",\"rharu;\":\"\\u21C0\",\"rharul;\":\"\\u296C\",\"Rho;\":\"\\u03A1\",\"rho;\":\"\\u03C1\",\"rhov;\":\"\\u03F1\",\"RightAngleBracket;\":\"\\u27E9\",\"RightArrow;\":\"\\u2192\",\"Rightarrow;\":\"\\u21D2\",\"rightarrow;\":\"\\u2192\",\"RightArrowBar;\":\"\\u21E5\",\"RightArrowLeftArrow;\":\"\\u21C4\",\"rightarrowtail;\":\"\\u21A3\",\"RightCeiling;\":\"\\u2309\",\"RightDoubleBracket;\":\"\\u27E7\",\"RightDownTeeVector;\":\"\\u295D\",\"RightDownVector;\":\"\\u21C2\",\"RightDownVectorBar;\":\"\\u2955\",\"RightFloor;\":\"\\u230B\",\"rightharpoondown;\":\"\\u21C1\",\"rightharpoonup;\":\"\\u21C0\",\"rightleftarrows;\":\"\\u21C4\",\"rightleftharpoons;\":\"\\u21CC\",\"rightrightarrows;\":\"\\u21C9\",\"rightsquigarrow;\":\"\\u219D\",\"RightTee;\":\"\\u22A2\",\"RightTeeArrow;\":\"\\u21A6\",\"RightTeeVector;\":\"\\u295B\",\"rightthreetimes;\":\"\\u22CC\",\"RightTriangle;\":\"\\u22B3\",\"RightTriangleBar;\":\"\\u29D0\",\"RightTriangleEqual;\":\"\\u22B5\",\"RightUpDownVector;\":\"\\u294F\",\"RightUpTeeVector;\":\"\\u295C\",\"RightUpVector;\":\"\\u21BE\",\"RightUpVectorBar;\":\"\\u2954\",\"RightVector;\":\"\\u21C0\",\"RightVectorBar;\":\"\\u2953\",\"ring;\":\"\\u02DA\",\"risingdotseq;\":\"\\u2253\",\"rlarr;\":\"\\u21C4\",\"rlhar;\":\"\\u21CC\",\"rlm;\":\"\\u200F\",\"rmoust;\":\"\\u23B1\",\"rmoustache;\":\"\\u23B1\",\"rnmid;\":\"\\u2AEE\",\"roang;\":\"\\u27ED\",\"roarr;\":\"\\u21FE\",\"robrk;\":\"\\u27E7\",\"ropar;\":\"\\u2986\",\"Ropf;\":\"\\u211D\",\"ropf;\":\"\\u{1D563}\",\"roplus;\":\"\\u2A2E\",\"rotimes;\":\"\\u2A35\",\"RoundImplies;\":\"\\u2970\",\"rpar;\":\")\",\"rpargt;\":\"\\u2994\",\"rppolint;\":\"\\u2A12\",\"rrarr;\":\"\\u21C9\",\"Rrightarrow;\":\"\\u21DB\",\"rsaquo;\":\"\\u203A\",\"Rscr;\":\"\\u211B\",\"rscr;\":\"\\u{1D4C7}\",\"Rsh;\":\"\\u21B1\",\"rsh;\":\"\\u21B1\",\"rsqb;\":\"]\",\"rsquo;\":\"\\u2019\",\"rsquor;\":\"\\u2019\",\"rthree;\":\"\\u22CC\",\"rtimes;\":\"\\u22CA\",\"rtri;\":\"\\u25B9\",\"rtrie;\":\"\\u22B5\",\"rtrif;\":\"\\u25B8\",\"rtriltri;\":\"\\u29CE\",\"RuleDelayed;\":\"\\u29F4\",\"ruluhar;\":\"\\u2968\",\"rx;\":\"\\u211E\",\"Sacute;\":\"\\u015A\",\"sacute;\":\"\\u015B\",\"sbquo;\":\"\\u201A\",\"Sc;\":\"\\u2ABC\",\"sc;\":\"\\u227B\",\"scap;\":\"\\u2AB8\",\"Scaron;\":\"\\u0160\",\"scaron;\":\"\\u0161\",\"sccue;\":\"\\u227D\",\"scE;\":\"\\u2AB4\",\"sce;\":\"\\u2AB0\",\"Scedil;\":\"\\u015E\",\"scedil;\":\"\\u015F\",\"Scirc;\":\"\\u015C\",\"scirc;\":\"\\u015D\",\"scnap;\":\"\\u2ABA\",\"scnE;\":\"\\u2AB6\",\"scnsim;\":\"\\u22E9\",\"scpolint;\":\"\\u2A13\",\"scsim;\":\"\\u227F\",\"Scy;\":\"\\u0421\",\"scy;\":\"\\u0441\",\"sdot;\":\"\\u22C5\",\"sdotb;\":\"\\u22A1\",\"sdote;\":\"\\u2A66\",\"searhk;\":\"\\u2925\",\"seArr;\":\"\\u21D8\",\"searr;\":\"\\u2198\",\"searrow;\":\"\\u2198\",\"sect;\":\"\\xA7\",sect:\"\\xA7\",\"semi;\":\";\",\"seswar;\":\"\\u2929\",\"setminus;\":\"\\u2216\",\"setmn;\":\"\\u2216\",\"sext;\":\"\\u2736\",\"Sfr;\":\"\\u{1D516}\",\"sfr;\":\"\\u{1D530}\",\"sfrown;\":\"\\u2322\",\"sharp;\":\"\\u266F\",\"SHCHcy;\":\"\\u0429\",\"shchcy;\":\"\\u0449\",\"SHcy;\":\"\\u0428\",\"shcy;\":\"\\u0448\",\"ShortDownArrow;\":\"\\u2193\",\"ShortLeftArrow;\":\"\\u2190\",\"shortmid;\":\"\\u2223\",\"shortparallel;\":\"\\u2225\",\"ShortRightArrow;\":\"\\u2192\",\"ShortUpArrow;\":\"\\u2191\",\"shy;\":\"\\xAD\",shy:\"\\xAD\",\"Sigma;\":\"\\u03A3\",\"sigma;\":\"\\u03C3\",\"sigmaf;\":\"\\u03C2\",\"sigmav;\":\"\\u03C2\",\"sim;\":\"\\u223C\",\"simdot;\":\"\\u2A6A\",\"sime;\":\"\\u2243\",\"simeq;\":\"\\u2243\",\"simg;\":\"\\u2A9E\",\"simgE;\":\"\\u2AA0\",\"siml;\":\"\\u2A9D\",\"simlE;\":\"\\u2A9F\",\"simne;\":\"\\u2246\",\"simplus;\":\"\\u2A24\",\"simrarr;\":\"\\u2972\",\"slarr;\":\"\\u2190\",\"SmallCircle;\":\"\\u2218\",\"smallsetminus;\":\"\\u2216\",\"smashp;\":\"\\u2A33\",\"smeparsl;\":\"\\u29E4\",\"smid;\":\"\\u2223\",\"smile;\":\"\\u2323\",\"smt;\":\"\\u2AAA\",\"smte;\":\"\\u2AAC\",\"smtes;\":\"\\u2AAC\\uFE00\",\"SOFTcy;\":\"\\u042C\",\"softcy;\":\"\\u044C\",\"sol;\":\"/\",\"solb;\":\"\\u29C4\",\"solbar;\":\"\\u233F\",\"Sopf;\":\"\\u{1D54A}\",\"sopf;\":\"\\u{1D564}\",\"spades;\":\"\\u2660\",\"spadesuit;\":\"\\u2660\",\"spar;\":\"\\u2225\",\"sqcap;\":\"\\u2293\",\"sqcaps;\":\"\\u2293\\uFE00\",\"sqcup;\":\"\\u2294\",\"sqcups;\":\"\\u2294\\uFE00\",\"Sqrt;\":\"\\u221A\",\"sqsub;\":\"\\u228F\",\"sqsube;\":\"\\u2291\",\"sqsubset;\":\"\\u228F\",\"sqsubseteq;\":\"\\u2291\",\"sqsup;\":\"\\u2290\",\"sqsupe;\":\"\\u2292\",\"sqsupset;\":\"\\u2290\",\"sqsupseteq;\":\"\\u2292\",\"squ;\":\"\\u25A1\",\"Square;\":\"\\u25A1\",\"square;\":\"\\u25A1\",\"SquareIntersection;\":\"\\u2293\",\"SquareSubset;\":\"\\u228F\",\"SquareSubsetEqual;\":\"\\u2291\",\"SquareSuperset;\":\"\\u2290\",\"SquareSupersetEqual;\":\"\\u2292\",\"SquareUnion;\":\"\\u2294\",\"squarf;\":\"\\u25AA\",\"squf;\":\"\\u25AA\",\"srarr;\":\"\\u2192\",\"Sscr;\":\"\\u{1D4AE}\",\"sscr;\":\"\\u{1D4C8}\",\"ssetmn;\":\"\\u2216\",\"ssmile;\":\"\\u2323\",\"sstarf;\":\"\\u22C6\",\"Star;\":\"\\u22C6\",\"star;\":\"\\u2606\",\"starf;\":\"\\u2605\",\"straightepsilon;\":\"\\u03F5\",\"straightphi;\":\"\\u03D5\",\"strns;\":\"\\xAF\",\"Sub;\":\"\\u22D0\",\"sub;\":\"\\u2282\",\"subdot;\":\"\\u2ABD\",\"subE;\":\"\\u2AC5\",\"sube;\":\"\\u2286\",\"subedot;\":\"\\u2AC3\",\"submult;\":\"\\u2AC1\",\"subnE;\":\"\\u2ACB\",\"subne;\":\"\\u228A\",\"subplus;\":\"\\u2ABF\",\"subrarr;\":\"\\u2979\",\"Subset;\":\"\\u22D0\",\"subset;\":\"\\u2282\",\"subseteq;\":\"\\u2286\",\"subseteqq;\":\"\\u2AC5\",\"SubsetEqual;\":\"\\u2286\",\"subsetneq;\":\"\\u228A\",\"subsetneqq;\":\"\\u2ACB\",\"subsim;\":\"\\u2AC7\",\"subsub;\":\"\\u2AD5\",\"subsup;\":\"\\u2AD3\",\"succ;\":\"\\u227B\",\"succapprox;\":\"\\u2AB8\",\"succcurlyeq;\":\"\\u227D\",\"Succeeds;\":\"\\u227B\",\"SucceedsEqual;\":\"\\u2AB0\",\"SucceedsSlantEqual;\":\"\\u227D\",\"SucceedsTilde;\":\"\\u227F\",\"succeq;\":\"\\u2AB0\",\"succnapprox;\":\"\\u2ABA\",\"succneqq;\":\"\\u2AB6\",\"succnsim;\":\"\\u22E9\",\"succsim;\":\"\\u227F\",\"SuchThat;\":\"\\u220B\",\"Sum;\":\"\\u2211\",\"sum;\":\"\\u2211\",\"sung;\":\"\\u266A\",\"Sup;\":\"\\u22D1\",\"sup;\":\"\\u2283\",\"sup1;\":\"\\xB9\",sup1:\"\\xB9\",\"sup2;\":\"\\xB2\",sup2:\"\\xB2\",\"sup3;\":\"\\xB3\",sup3:\"\\xB3\",\"supdot;\":\"\\u2ABE\",\"supdsub;\":\"\\u2AD8\",\"supE;\":\"\\u2AC6\",\"supe;\":\"\\u2287\",\"supedot;\":\"\\u2AC4\",\"Superset;\":\"\\u2283\",\"SupersetEqual;\":\"\\u2287\",\"suphsol;\":\"\\u27C9\",\"suphsub;\":\"\\u2AD7\",\"suplarr;\":\"\\u297B\",\"supmult;\":\"\\u2AC2\",\"supnE;\":\"\\u2ACC\",\"supne;\":\"\\u228B\",\"supplus;\":\"\\u2AC0\",\"Supset;\":\"\\u22D1\",\"supset;\":\"\\u2283\",\"supseteq;\":\"\\u2287\",\"supseteqq;\":\"\\u2AC6\",\"supsetneq;\":\"\\u228B\",\"supsetneqq;\":\"\\u2ACC\",\"supsim;\":\"\\u2AC8\",\"supsub;\":\"\\u2AD4\",\"supsup;\":\"\\u2AD6\",\"swarhk;\":\"\\u2926\",\"swArr;\":\"\\u21D9\",\"swarr;\":\"\\u2199\",\"swarrow;\":\"\\u2199\",\"swnwar;\":\"\\u292A\",\"szlig;\":\"\\xDF\",szlig:\"\\xDF\",\"Tab;\":\"\t\",\"target;\":\"\\u2316\",\"Tau;\":\"\\u03A4\",\"tau;\":\"\\u03C4\",\"tbrk;\":\"\\u23B4\",\"Tcaron;\":\"\\u0164\",\"tcaron;\":\"\\u0165\",\"Tcedil;\":\"\\u0162\",\"tcedil;\":\"\\u0163\",\"Tcy;\":\"\\u0422\",\"tcy;\":\"\\u0442\",\"tdot;\":\"\\u20DB\",\"telrec;\":\"\\u2315\",\"Tfr;\":\"\\u{1D517}\",\"tfr;\":\"\\u{1D531}\",\"there4;\":\"\\u2234\",\"Therefore;\":\"\\u2234\",\"therefore;\":\"\\u2234\",\"Theta;\":\"\\u0398\",\"theta;\":\"\\u03B8\",\"thetasym;\":\"\\u03D1\",\"thetav;\":\"\\u03D1\",\"thickapprox;\":\"\\u2248\",\"thicksim;\":\"\\u223C\",\"ThickSpace;\":\"\\u205F\\u200A\",\"thinsp;\":\"\\u2009\",\"ThinSpace;\":\"\\u2009\",\"thkap;\":\"\\u2248\",\"thksim;\":\"\\u223C\",\"THORN;\":\"\\xDE\",THORN:\"\\xDE\",\"thorn;\":\"\\xFE\",thorn:\"\\xFE\",\"Tilde;\":\"\\u223C\",\"tilde;\":\"\\u02DC\",\"TildeEqual;\":\"\\u2243\",\"TildeFullEqual;\":\"\\u2245\",\"TildeTilde;\":\"\\u2248\",\"times;\":\"\\xD7\",times:\"\\xD7\",\"timesb;\":\"\\u22A0\",\"timesbar;\":\"\\u2A31\",\"timesd;\":\"\\u2A30\",\"tint;\":\"\\u222D\",\"toea;\":\"\\u2928\",\"top;\":\"\\u22A4\",\"topbot;\":\"\\u2336\",\"topcir;\":\"\\u2AF1\",\"Topf;\":\"\\u{1D54B}\",\"topf;\":\"\\u{1D565}\",\"topfork;\":\"\\u2ADA\",\"tosa;\":\"\\u2929\",\"tprime;\":\"\\u2034\",\"TRADE;\":\"\\u2122\",\"trade;\":\"\\u2122\",\"triangle;\":\"\\u25B5\",\"triangledown;\":\"\\u25BF\",\"triangleleft;\":\"\\u25C3\",\"trianglelefteq;\":\"\\u22B4\",\"triangleq;\":\"\\u225C\",\"triangleright;\":\"\\u25B9\",\"trianglerighteq;\":\"\\u22B5\",\"tridot;\":\"\\u25EC\",\"trie;\":\"\\u225C\",\"triminus;\":\"\\u2A3A\",\"TripleDot;\":\"\\u20DB\",\"triplus;\":\"\\u2A39\",\"trisb;\":\"\\u29CD\",\"tritime;\":\"\\u2A3B\",\"trpezium;\":\"\\u23E2\",\"Tscr;\":\"\\u{1D4AF}\",\"tscr;\":\"\\u{1D4C9}\",\"TScy;\":\"\\u0426\",\"tscy;\":\"\\u0446\",\"TSHcy;\":\"\\u040B\",\"tshcy;\":\"\\u045B\",\"Tstrok;\":\"\\u0166\",\"tstrok;\":\"\\u0167\",\"twixt;\":\"\\u226C\",\"twoheadleftarrow;\":\"\\u219E\",\"twoheadrightarrow;\":\"\\u21A0\",\"Uacute;\":\"\\xDA\",Uacute:\"\\xDA\",\"uacute;\":\"\\xFA\",uacute:\"\\xFA\",\"Uarr;\":\"\\u219F\",\"uArr;\":\"\\u21D1\",\"uarr;\":\"\\u2191\",\"Uarrocir;\":\"\\u2949\",\"Ubrcy;\":\"\\u040E\",\"ubrcy;\":\"\\u045E\",\"Ubreve;\":\"\\u016C\",\"ubreve;\":\"\\u016D\",\"Ucirc;\":\"\\xDB\",Ucirc:\"\\xDB\",\"ucirc;\":\"\\xFB\",ucirc:\"\\xFB\",\"Ucy;\":\"\\u0423\",\"ucy;\":\"\\u0443\",\"udarr;\":\"\\u21C5\",\"Udblac;\":\"\\u0170\",\"udblac;\":\"\\u0171\",\"udhar;\":\"\\u296E\",\"ufisht;\":\"\\u297E\",\"Ufr;\":\"\\u{1D518}\",\"ufr;\":\"\\u{1D532}\",\"Ugrave;\":\"\\xD9\",Ugrave:\"\\xD9\",\"ugrave;\":\"\\xF9\",ugrave:\"\\xF9\",\"uHar;\":\"\\u2963\",\"uharl;\":\"\\u21BF\",\"uharr;\":\"\\u21BE\",\"uhblk;\":\"\\u2580\",\"ulcorn;\":\"\\u231C\",\"ulcorner;\":\"\\u231C\",\"ulcrop;\":\"\\u230F\",\"ultri;\":\"\\u25F8\",\"Umacr;\":\"\\u016A\",\"umacr;\":\"\\u016B\",\"uml;\":\"\\xA8\",uml:\"\\xA8\",\"UnderBar;\":\"_\",\"UnderBrace;\":\"\\u23DF\",\"UnderBracket;\":\"\\u23B5\",\"UnderParenthesis;\":\"\\u23DD\",\"Union;\":\"\\u22C3\",\"UnionPlus;\":\"\\u228E\",\"Uogon;\":\"\\u0172\",\"uogon;\":\"\\u0173\",\"Uopf;\":\"\\u{1D54C}\",\"uopf;\":\"\\u{1D566}\",\"UpArrow;\":\"\\u2191\",\"Uparrow;\":\"\\u21D1\",\"uparrow;\":\"\\u2191\",\"UpArrowBar;\":\"\\u2912\",\"UpArrowDownArrow;\":\"\\u21C5\",\"UpDownArrow;\":\"\\u2195\",\"Updownarrow;\":\"\\u21D5\",\"updownarrow;\":\"\\u2195\",\"UpEquilibrium;\":\"\\u296E\",\"upharpoonleft;\":\"\\u21BF\",\"upharpoonright;\":\"\\u21BE\",\"uplus;\":\"\\u228E\",\"UpperLeftArrow;\":\"\\u2196\",\"UpperRightArrow;\":\"\\u2197\",\"Upsi;\":\"\\u03D2\",\"upsi;\":\"\\u03C5\",\"upsih;\":\"\\u03D2\",\"Upsilon;\":\"\\u03A5\",\"upsilon;\":\"\\u03C5\",\"UpTee;\":\"\\u22A5\",\"UpTeeArrow;\":\"\\u21A5\",\"upuparrows;\":\"\\u21C8\",\"urcorn;\":\"\\u231D\",\"urcorner;\":\"\\u231D\",\"urcrop;\":\"\\u230E\",\"Uring;\":\"\\u016E\",\"uring;\":\"\\u016F\",\"urtri;\":\"\\u25F9\",\"Uscr;\":\"\\u{1D4B0}\",\"uscr;\":\"\\u{1D4CA}\",\"utdot;\":\"\\u22F0\",\"Utilde;\":\"\\u0168\",\"utilde;\":\"\\u0169\",\"utri;\":\"\\u25B5\",\"utrif;\":\"\\u25B4\",\"uuarr;\":\"\\u21C8\",\"Uuml;\":\"\\xDC\",Uuml:\"\\xDC\",\"uuml;\":\"\\xFC\",uuml:\"\\xFC\",\"uwangle;\":\"\\u29A7\",\"vangrt;\":\"\\u299C\",\"varepsilon;\":\"\\u03F5\",\"varkappa;\":\"\\u03F0\",\"varnothing;\":\"\\u2205\",\"varphi;\":\"\\u03D5\",\"varpi;\":\"\\u03D6\",\"varpropto;\":\"\\u221D\",\"vArr;\":\"\\u21D5\",\"varr;\":\"\\u2195\",\"varrho;\":\"\\u03F1\",\"varsigma;\":\"\\u03C2\",\"varsubsetneq;\":\"\\u228A\\uFE00\",\"varsubsetneqq;\":\"\\u2ACB\\uFE00\",\"varsupsetneq;\":\"\\u228B\\uFE00\",\"varsupsetneqq;\":\"\\u2ACC\\uFE00\",\"vartheta;\":\"\\u03D1\",\"vartriangleleft;\":\"\\u22B2\",\"vartriangleright;\":\"\\u22B3\",\"Vbar;\":\"\\u2AEB\",\"vBar;\":\"\\u2AE8\",\"vBarv;\":\"\\u2AE9\",\"Vcy;\":\"\\u0412\",\"vcy;\":\"\\u0432\",\"VDash;\":\"\\u22AB\",\"Vdash;\":\"\\u22A9\",\"vDash;\":\"\\u22A8\",\"vdash;\":\"\\u22A2\",\"Vdashl;\":\"\\u2AE6\",\"Vee;\":\"\\u22C1\",\"vee;\":\"\\u2228\",\"veebar;\":\"\\u22BB\",\"veeeq;\":\"\\u225A\",\"vellip;\":\"\\u22EE\",\"Verbar;\":\"\\u2016\",\"verbar;\":\"|\",\"Vert;\":\"\\u2016\",\"vert;\":\"|\",\"VerticalBar;\":\"\\u2223\",\"VerticalLine;\":\"|\",\"VerticalSeparator;\":\"\\u2758\",\"VerticalTilde;\":\"\\u2240\",\"VeryThinSpace;\":\"\\u200A\",\"Vfr;\":\"\\u{1D519}\",\"vfr;\":\"\\u{1D533}\",\"vltri;\":\"\\u22B2\",\"vnsub;\":\"\\u2282\\u20D2\",\"vnsup;\":\"\\u2283\\u20D2\",\"Vopf;\":\"\\u{1D54D}\",\"vopf;\":\"\\u{1D567}\",\"vprop;\":\"\\u221D\",\"vrtri;\":\"\\u22B3\",\"Vscr;\":\"\\u{1D4B1}\",\"vscr;\":\"\\u{1D4CB}\",\"vsubnE;\":\"\\u2ACB\\uFE00\",\"vsubne;\":\"\\u228A\\uFE00\",\"vsupnE;\":\"\\u2ACC\\uFE00\",\"vsupne;\":\"\\u228B\\uFE00\",\"Vvdash;\":\"\\u22AA\",\"vzigzag;\":\"\\u299A\",\"Wcirc;\":\"\\u0174\",\"wcirc;\":\"\\u0175\",\"wedbar;\":\"\\u2A5F\",\"Wedge;\":\"\\u22C0\",\"wedge;\":\"\\u2227\",\"wedgeq;\":\"\\u2259\",\"weierp;\":\"\\u2118\",\"Wfr;\":\"\\u{1D51A}\",\"wfr;\":\"\\u{1D534}\",\"Wopf;\":\"\\u{1D54E}\",\"wopf;\":\"\\u{1D568}\",\"wp;\":\"\\u2118\",\"wr;\":\"\\u2240\",\"wreath;\":\"\\u2240\",\"Wscr;\":\"\\u{1D4B2}\",\"wscr;\":\"\\u{1D4CC}\",\"xcap;\":\"\\u22C2\",\"xcirc;\":\"\\u25EF\",\"xcup;\":\"\\u22C3\",\"xdtri;\":\"\\u25BD\",\"Xfr;\":\"\\u{1D51B}\",\"xfr;\":\"\\u{1D535}\",\"xhArr;\":\"\\u27FA\",\"xharr;\":\"\\u27F7\",\"Xi;\":\"\\u039E\",\"xi;\":\"\\u03BE\",\"xlArr;\":\"\\u27F8\",\"xlarr;\":\"\\u27F5\",\"xmap;\":\"\\u27FC\",\"xnis;\":\"\\u22FB\",\"xodot;\":\"\\u2A00\",\"Xopf;\":\"\\u{1D54F}\",\"xopf;\":\"\\u{1D569}\",\"xoplus;\":\"\\u2A01\",\"xotime;\":\"\\u2A02\",\"xrArr;\":\"\\u27F9\",\"xrarr;\":\"\\u27F6\",\"Xscr;\":\"\\u{1D4B3}\",\"xscr;\":\"\\u{1D4CD}\",\"xsqcup;\":\"\\u2A06\",\"xuplus;\":\"\\u2A04\",\"xutri;\":\"\\u25B3\",\"xvee;\":\"\\u22C1\",\"xwedge;\":\"\\u22C0\",\"Yacute;\":\"\\xDD\",Yacute:\"\\xDD\",\"yacute;\":\"\\xFD\",yacute:\"\\xFD\",\"YAcy;\":\"\\u042F\",\"yacy;\":\"\\u044F\",\"Ycirc;\":\"\\u0176\",\"ycirc;\":\"\\u0177\",\"Ycy;\":\"\\u042B\",\"ycy;\":\"\\u044B\",\"yen;\":\"\\xA5\",yen:\"\\xA5\",\"Yfr;\":\"\\u{1D51C}\",\"yfr;\":\"\\u{1D536}\",\"YIcy;\":\"\\u0407\",\"yicy;\":\"\\u0457\",\"Yopf;\":\"\\u{1D550}\",\"yopf;\":\"\\u{1D56A}\",\"Yscr;\":\"\\u{1D4B4}\",\"yscr;\":\"\\u{1D4CE}\",\"YUcy;\":\"\\u042E\",\"yucy;\":\"\\u044E\",\"Yuml;\":\"\\u0178\",\"yuml;\":\"\\xFF\",yuml:\"\\xFF\",\"Zacute;\":\"\\u0179\",\"zacute;\":\"\\u017A\",\"Zcaron;\":\"\\u017D\",\"zcaron;\":\"\\u017E\",\"Zcy;\":\"\\u0417\",\"zcy;\":\"\\u0437\",\"Zdot;\":\"\\u017B\",\"zdot;\":\"\\u017C\",\"zeetrf;\":\"\\u2128\",\"ZeroWidthSpace;\":\"\\u200B\",\"Zeta;\":\"\\u0396\",\"zeta;\":\"\\u03B6\",\"Zfr;\":\"\\u2128\",\"zfr;\":\"\\u{1D537}\",\"ZHcy;\":\"\\u0416\",\"zhcy;\":\"\\u0436\",\"zigrarr;\":\"\\u21DD\",\"Zopf;\":\"\\u2124\",\"zopf;\":\"\\u{1D56B}\",\"Zscr;\":\"\\u{1D4B5}\",\"zscr;\":\"\\u{1D4CF}\",\"zwj;\":\"\\u200D\",\"zwnj;\":\"\\u200C\"};function He(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function qs(e,t){var n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:n===0?e===t:!1}function Ui(e,t){for(var n=\"\";t>0;)(t&1)===1&&(n+=e),e+=e,t=t>>>1;return n}var Os=\"a\".charCodeAt(0),Vs=\"z\".charCodeAt(0),js=\"A\".charCodeAt(0),Gs=\"Z\".charCodeAt(0),$s=\"0\".charCodeAt(0),Xs=\"9\".charCodeAt(0);function ut(e,t){var n=e.charCodeAt(t);return Os<=n&&n<=Vs||js<=n&&n<=Gs||$s<=n&&n<=Xs}function It(e){return typeof e!=\"undefined\"}function Js(e){if(!!e)return typeof e==\"string\"?{kind:\"markdown\",value:e}:{kind:\"markdown\",value:e.value}}var Hi=function(){function e(t,n){var r=this;this.id=t,this._tags=[],this._tagMap={},this._valueSetMap={},this._tags=n.tags||[],this._globalAttributes=n.globalAttributes||[],this._tags.forEach(function(i){r._tagMap[i.name.toLowerCase()]=i}),n.valueSets&&n.valueSets.forEach(function(i){r._valueSetMap[i.name]=i.values})}return e.prototype.isApplicable=function(){return!0},e.prototype.getId=function(){return this.id},e.prototype.provideTags=function(){return this._tags},e.prototype.provideAttributes=function(t){var n=[],r=function(s){n.push(s)},i=this._tagMap[t.toLowerCase()];return i&&i.attributes.forEach(r),this._globalAttributes.forEach(r),n},e.prototype.provideValues=function(t,n){var r=this,i=[];n=n.toLowerCase();var s=function(u){u.forEach(function(o){o.name.toLowerCase()===n&&(o.values&&o.values.forEach(function(c){i.push(c)}),o.valueSet&&r._valueSetMap[o.valueSet]&&r._valueSetMap[o.valueSet].forEach(function(c){i.push(c)}))})},l=this._tagMap[t.toLowerCase()];return l&&s(l.attributes),s(this._globalAttributes),i},e}();function qe(e,t,n){t===void 0&&(t={});var r={kind:n?\"markdown\":\"plaintext\",value:\"\"};if(e.description&&t.documentation!==!1){var i=Js(e.description);i&&(r.value+=i.value)}if(e.references&&e.references.length>0&&t.references!==!1&&(r.value.length&&(r.value+=`\n\n`),n?r.value+=e.references.map(function(s){return\"[\"+s.name+\"](\"+s.url+\")\"}).join(\" | \"):r.value+=e.references.map(function(s){return s.name+\": \"+s.url}).join(`\n`)),r.value!==\"\")return r}var Ii=function(e,t,n,r){function i(s){return s instanceof n?s:new n(function(l){l(s)})}return new(n||(n=Promise))(function(s,l){function u(h){try{c(r.next(h))}catch(d){l(d)}}function o(h){try{c(r.throw(h))}catch(d){l(d)}}function c(h){h.done?s(h.value):i(h.value).then(u,o)}c((r=r.apply(e,t||[])).next())})},zi=function(e,t){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,i,s,l;return l={next:u(0),throw:u(1),return:u(2)},typeof Symbol==\"function\"&&(l[Symbol.iterator]=function(){return this}),l;function u(c){return function(h){return o([c,h])}}function o(c){if(r)throw new TypeError(\"Generator is already executing.\");for(;n;)try{if(r=1,i&&(s=c[0]&2?i.return:c[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,c[1])).done)return s;switch(i=0,s&&(c=[c[0]&2,s.value]),c[0]){case 0:case 1:s=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!s||c[1]>s[0]&&c[1]<s[3])){n.label=c[1];break}if(c[0]===6&&n.label<s[1]){n.label=s[1],s=c;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(c);break}s[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(h){c=[6,h],i=0}finally{r=s=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},Ys=function(){function e(t){this.readDirectory=t,this.atributeCompletions=[]}return e.prototype.onHtmlAttributeValue=function(t){eo(t.tag,t.attribute)&&this.atributeCompletions.push(t)},e.prototype.computeCompletions=function(t,n){return Ii(this,void 0,void 0,function(){var r,i,s,l,u,o,c,h,d,f;return zi(this,function(g){switch(g.label){case 0:r={items:[],isIncomplete:!1},i=0,s=this.atributeCompletions,g.label=1;case 1:return i<s.length?(l=s[i],u=Zs(t.getText(l.range)),Ks(u)?u===\".\"||u===\"..\"?(r.isIncomplete=!0,[3,4]):[3,2]:[3,4]):[3,5];case 2:return o=to(l.value,u,l.range),[4,this.providePathSuggestions(l.value,o,t,n)];case 3:for(c=g.sent(),h=0,d=c;h<d.length;h++)f=d[h],r.items.push(f);g.label=4;case 4:return i++,[3,1];case 5:return[2,r]}})})},e.prototype.providePathSuggestions=function(t,n,r,i){return Ii(this,void 0,void 0,function(){var s,l,u,o,c,h,d,f,g;return zi(this,function(_){switch(_.label){case 0:if(s=t.substring(0,t.lastIndexOf(\"/\")+1),l=i.resolveReference(s||\".\",r.uri),!l)return[3,4];_.label=1;case 1:return _.trys.push([1,3,,4]),u=[],[4,this.readDirectory(l)];case 2:for(o=_.sent(),c=0,h=o;c<h.length;c++)d=h[c],f=d[0],g=d[1],f.charCodeAt(0)!==Qs&&u.push(no(f,g===Cn.Directory,n));return[2,u];case 3:return _.sent(),[3,4];case 4:return[2,[]]}})})},e}(),Qs=\".\".charCodeAt(0);function Zs(e){return He(e,\"'\")||He(e,'\"')?e.slice(1,-1):e}function Ks(e){return!(He(e,\"http\")||He(e,\"https\")||He(e,\"//\"))}function eo(e,t){if(t===\"src\"||t===\"href\")return!0;var n=io[e];return n?typeof n==\"string\"?n===t:n.indexOf(t)!==-1:!1}function to(e,t,n){var r,i=e.lastIndexOf(\"/\");if(i===-1)r=ro(n,1,-1);else{var s=t.slice(i+1),l=ct(n.end,-1-s.length),u=s.indexOf(\" \"),o=void 0;u!==-1?o=ct(l,u):o=ct(n.end,-1),r=X.create(l,o)}return r}function no(e,t,n){return t?(e=e+\"/\",{label:e,kind:he.Folder,textEdit:ee.replace(n,e),command:{title:\"Suggest\",command:\"editor.action.triggerSuggest\"}}):{label:e,kind:he.File,textEdit:ee.replace(n,e)}}function ct(e,t){return ne.create(e.line,e.character+t)}function ro(e,t,n){var r=ct(e.start,t),i=ct(e.end,n);return X.create(r,i)}var io={a:\"href\",area:\"href\",body:\"background\",del:\"cite\",form:\"action\",frame:[\"src\",\"longdesc\"],img:[\"src\",\"longdesc\"],ins:\"cite\",link:\"href\",object:\"data\",q:\"cite\",script:\"src\",audio:\"src\",button:\"formaction\",command:\"icon\",embed:\"src\",html:\"manifest\",input:[\"src\",\"formaction\"],source:\"src\",track:\"src\",video:[\"src\",\"poster\"]},ao=function(e,t,n,r){function i(s){return s instanceof n?s:new n(function(l){l(s)})}return new(n||(n=Promise))(function(s,l){function u(h){try{c(r.next(h))}catch(d){l(d)}}function o(h){try{c(r.throw(h))}catch(d){l(d)}}function c(h){h.done?s(h.value):i(h.value).then(u,o)}c((r=r.apply(e,t||[])).next())})},so=function(e,t){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,i,s,l;return l={next:u(0),throw:u(1),return:u(2)},typeof Symbol==\"function\"&&(l[Symbol.iterator]=function(){return this}),l;function u(c){return function(h){return o([c,h])}}function o(c){if(r)throw new TypeError(\"Generator is already executing.\");for(;n;)try{if(r=1,i&&(s=c[0]&2?i.return:c[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,c[1])).done)return s;switch(i=0,s&&(c=[c[0]&2,s.value]),c[0]){case 0:case 1:s=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!s||c[1]>s[0]&&c[1]<s[3])){n.label=c[1];break}if(c[0]===6&&n.label<s[1]){n.label=s[1],s=c;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(c);break}s[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(h){c=[6,h],i=0}finally{r=s=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},oo=bn(),lo=function(){function e(t,n){this.lsOptions=t,this.dataManager=n,this.completionParticipants=[]}return e.prototype.setCompletionParticipants=function(t){this.completionParticipants=t||[]},e.prototype.doComplete2=function(t,n,r,i,s){return ao(this,void 0,void 0,function(){var l,u,o,c;return so(this,function(h){switch(h.label){case 0:if(!this.lsOptions.fileSystemProvider||!this.lsOptions.fileSystemProvider.readDirectory)return[2,this.doComplete(t,n,r,s)];l=new Ys(this.lsOptions.fileSystemProvider.readDirectory),u=this.completionParticipants,this.completionParticipants=[l].concat(u),o=this.doComplete(t,n,r,s),h.label=1;case 1:return h.trys.push([1,,3,4]),[4,l.computeCompletions(t,i)];case 2:return c=h.sent(),[2,{isIncomplete:o.isIncomplete||c.isIncomplete,items:c.items.concat(o.items)}];case 3:return this.completionParticipants=u,[7];case 4:return[2]}})})},e.prototype.doComplete=function(t,n,r,i){var s=this._doComplete(t,n,r,i);return this.convertCompletionList(s)},e.prototype._doComplete=function(t,n,r,i){var s={isIncomplete:!1,items:[]},l=this.completionParticipants,u=this.dataManager.getDataProviders().filter(function(D){return D.isApplicable(t.languageId)&&(!i||i[D.getId()]!==!1)}),o=this.doesSupportMarkdown(),c=t.getText(),h=t.offsetAt(n),d=r.findNodeBefore(h);if(!d)return s;var f=fe(c,d.start),g=\"\",_;function b(D,N){return N===void 0&&(N=h),D>h&&(D=h),{start:t.positionAt(D),end:t.positionAt(N)}}function y(D,N){var W=b(D,N);return u.forEach(function(G){G.provideTags().forEach(function($){s.items.push({label:$.name,kind:he.Property,documentation:qe($,void 0,o),textEdit:ee.replace(W,$.name),insertTextFormat:ve.PlainText})})}),s}function C(D){for(var N=D;N>0;){var W=c.charAt(N-1);if(`\n\\r`.indexOf(W)>=0)return c.substring(N,D);if(!zt(W))return null;N--}return c.substring(0,D)}function w(D,N,W){W===void 0&&(W=h);var G=b(D,W),$=Wi(c,W,O.WithinEndTag,R.EndTagClose)?\"\":\">\",j=d;for(N&&(j=j.parent);j;){var J=j.tag;if(J&&(!j.closed||j.endTagStart&&j.endTagStart>h)){var oe={label:\"/\"+J,kind:he.Property,filterText:\"/\"+J,textEdit:ee.replace(G,\"/\"+J+$),insertTextFormat:ve.PlainText},ke=C(j.start),Ie=C(D-1);if(ke!==null&&Ie!==null&&ke!==Ie){var pe=ke+\"</\"+J+$;oe.textEdit=ee.replace(b(D-1-Ie.length),pe),oe.filterText=Ie+\"</\"+J}return s.items.push(oe),s}j=j.parent}return N||u.forEach(function(Oe){Oe.provideTags().forEach(function(_e){s.items.push({label:\"/\"+_e.name,kind:he.Property,documentation:qe(_e,void 0,o),filterText:\"/\"+_e.name+$,textEdit:ee.replace(G,\"/\"+_e.name+$),insertTextFormat:ve.PlainText})})}),s}function k(D,N){if(i&&i.hideAutoCompleteProposals)return s;if(!Ht(N)){var W=t.positionAt(D);s.items.push({label:\"</\"+N+\">\",kind:he.Property,filterText:\"</\"+N+\">\",textEdit:ee.insert(W,\"$0</\"+N+\">\"),insertTextFormat:ve.Snippet})}return s}function A(D,N){return y(D,N),w(D,!0,N),s}function x(){var D=Object.create(null);return d.attributeNames.forEach(function(N){D[N]=!0}),D}function H(D,N){var W;N===void 0&&(N=h);for(var G=h;G<N&&c[G]!==\"<\";)G++;var $=c.substring(D,N),j=b(D,G),J=\"\";if(!Wi(c,N,O.AfterAttributeName,R.DelimiterAssign)){var oe=(W=i==null?void 0:i.attributeDefaultValue)!==null&&W!==void 0?W:\"doublequotes\";oe===\"empty\"?J=\"=$1\":oe===\"singlequotes\"?J=\"='$1'\":J='=\"$1\"'}var ke=x();return ke[$]=!1,u.forEach(function(Ie){Ie.provideAttributes(g).forEach(function(pe){if(!ke[pe.name]){ke[pe.name]=!0;var Oe=pe.name,_e;pe.valueSet!==\"v\"&&J.length&&(Oe=Oe+J,(pe.valueSet||pe.name===\"style\")&&(_e={title:\"Suggest\",command:\"editor.action.triggerSuggest\"})),s.items.push({label:pe.name,kind:pe.valueSet===\"handler\"?he.Function:he.Value,documentation:qe(pe,void 0,o),textEdit:ee.replace(j,Oe),insertTextFormat:ve.Snippet,command:_e})}})}),p(j,ke),s}function p(D,N){var W=\"data-\",G={};G[W]=W+'$1=\"$2\"';function $(j){j.attributeNames.forEach(function(J){He(J,W)&&!G[J]&&!N[J]&&(G[J]=J+'=\"$1\"')}),j.children.forEach(function(J){return $(J)})}r&&r.roots.forEach(function(j){return $(j)}),Object.keys(G).forEach(function(j){return s.items.push({label:j,kind:he.Value,textEdit:ee.replace(D,G[j]),insertTextFormat:ve.Snippet})})}function m(D,N){N===void 0&&(N=h);var W,G,$;if(h>D&&h<=N&&uo(c[D])){var j=D+1,J=N;N>D&&c[N-1]===c[D]&&J--;var oe=co(c,h,j),ke=ho(c,h,J);W=b(oe,ke),$=h>=j&&h<=J?c.substring(j,h):\"\",G=!1}else W=b(D,N),$=c.substring(D,h),G=!0;if(l.length>0)for(var Ie=g.toLowerCase(),pe=_.toLowerCase(),Oe=b(D,N),_e=0,Yi=l;_e<Yi.length;_e++){var Qi=Yi[_e];Qi.onHtmlAttributeValue&&Qi.onHtmlAttributeValue({document:t,position:n,tag:Ie,attribute:pe,value:$,range:Oe})}return u.forEach(function(Go){Go.provideValues(g,_).forEach(function(Wt){var Zi=G?'\"'+Wt.name+'\"':Wt.name;s.items.push({label:Wt.name,filterText:Zi,kind:he.Unit,documentation:qe(Wt,void 0,o),textEdit:ee.replace(W,Zi),insertTextFormat:ve.PlainText})})}),M(),s}function v(D){return h===f.getTokenEnd()&&(F=f.scan(),F===D&&f.getTokenOffset()===h)?f.getTokenEnd():h}function z(){for(var D=0,N=l;D<N.length;D++){var W=N[D];W.onHtmlContent&&W.onHtmlContent({document:t,position:n})}return M()}function M(){for(var D=h-1,N=n.character;D>=0&&ut(c,D);)D--,N--;if(D>=0&&c[D]===\"&\"){var W=X.create(ne.create(n.line,N-1),n);for(var G in lt)if(qs(G,\";\")){var $=\"&\"+G;s.items.push({label:$,kind:he.Keyword,documentation:oo(\"entity.propose\",\"Character entity representing '\"+lt[G]+\"'\"),textEdit:ee.replace(W,$),insertTextFormat:ve.PlainText})}}return s}function U(D,N){var W=b(D,N);s.items.push({label:\"!DOCTYPE\",kind:he.Property,documentation:\"A preamble for an HTML document.\",textEdit:ee.replace(W,\"!DOCTYPE html>\"),insertTextFormat:ve.PlainText})}for(var F=f.scan();F!==R.EOS&&f.getTokenOffset()<=h;){switch(F){case R.StartTagOpen:if(f.getTokenEnd()===h){var B=v(R.StartTag);return n.line===0&&U(h,B),A(h,B)}break;case R.StartTag:if(f.getTokenOffset()<=h&&h<=f.getTokenEnd())return y(f.getTokenOffset(),f.getTokenEnd());g=f.getTokenText();break;case R.AttributeName:if(f.getTokenOffset()<=h&&h<=f.getTokenEnd())return H(f.getTokenOffset(),f.getTokenEnd());_=f.getTokenText();break;case R.DelimiterAssign:if(f.getTokenEnd()===h){var B=v(R.AttributeValue);return m(h,B)}break;case R.AttributeValue:if(f.getTokenOffset()<=h&&h<=f.getTokenEnd())return m(f.getTokenOffset(),f.getTokenEnd());break;case R.Whitespace:if(h<=f.getTokenEnd())switch(f.getScannerState()){case O.AfterOpeningStartTag:var P=f.getTokenOffset(),q=v(R.StartTag);return A(P,q);case O.WithinTag:case O.AfterAttributeName:return H(f.getTokenEnd());case O.BeforeAttributeValue:return m(f.getTokenEnd());case O.AfterOpeningEndTag:return w(f.getTokenOffset()-1,!1);case O.WithinContent:return z()}break;case R.EndTagOpen:if(h<=f.getTokenEnd()){var L=f.getTokenOffset()+1,T=v(R.EndTag);return w(L,!1,T)}break;case R.EndTag:if(h<=f.getTokenEnd())for(var E=f.getTokenOffset()-1;E>=0;){var I=c.charAt(E);if(I===\"/\")return w(E,!1,f.getTokenEnd());if(!zt(I))break;E--}break;case R.StartTagClose:if(h<=f.getTokenEnd()&&g)return k(f.getTokenEnd(),g);break;case R.Content:if(h<=f.getTokenEnd())return z();break;default:if(h<=f.getTokenEnd())return s;break}F=f.scan()}return s},e.prototype.doQuoteComplete=function(t,n,r,i){var s,l=t.offsetAt(n);if(l<=0)return null;var u=(s=i==null?void 0:i.attributeDefaultValue)!==null&&s!==void 0?s:\"doublequotes\";if(u===\"empty\")return null;var o=t.getText().charAt(l-1);if(o!==\"=\")return null;var c=u===\"doublequotes\"?'\"$1\"':\"'$1'\",h=r.findNodeBefore(l);if(h&&h.attributes&&h.start<l&&(!h.endTagStart||h.endTagStart>l))for(var d=fe(t.getText(),h.start),f=d.scan();f!==R.EOS&&d.getTokenEnd()<=l;){if(f===R.AttributeName&&d.getTokenEnd()===l-1)return f=d.scan(),f!==R.DelimiterAssign||(f=d.scan(),f===R.Unknown||f===R.AttributeValue)?null:c;f=d.scan()}return null},e.prototype.doTagComplete=function(t,n,r){var i=t.offsetAt(n);if(i<=0)return null;var s=t.getText().charAt(i-1);if(s===\">\"){var l=r.findNodeBefore(i);if(l&&l.tag&&!Ht(l.tag)&&l.start<i&&(!l.endTagStart||l.endTagStart>i))for(var u=fe(t.getText(),l.start),o=u.scan();o!==R.EOS&&u.getTokenEnd()<=i;){if(o===R.StartTagClose&&u.getTokenEnd()===i)return\"$0</\"+l.tag+\">\";o=u.scan()}}else if(s===\"/\"){for(var l=r.findNodeBefore(i);l&&l.closed&&!(l.endTagStart&&l.endTagStart>i);)l=l.parent;if(l&&l.tag)for(var u=fe(t.getText(),l.start),o=u.scan();o!==R.EOS&&u.getTokenEnd()<=i;){if(o===R.EndTagOpen&&u.getTokenEnd()===i)return l.tag+\">\";o=u.scan()}}return null},e.prototype.convertCompletionList=function(t){return this.doesSupportMarkdown()||t.items.forEach(function(n){n.documentation&&typeof n.documentation!=\"string\"&&(n.documentation={kind:\"plaintext\",value:n.documentation.value})}),t},e.prototype.doesSupportMarkdown=function(){var t,n,r;if(!It(this.supportsMarkdown)){if(!It(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var i=(r=(n=(t=this.lsOptions.clientCapabilities.textDocument)===null||t===void 0?void 0:t.completion)===null||n===void 0?void 0:n.completionItem)===null||r===void 0?void 0:r.documentationFormat;this.supportsMarkdown=Array.isArray(i)&&i.indexOf(we.Markdown)!==-1}return this.supportsMarkdown},e}();function uo(e){return/^[\"']*$/.test(e)}function zt(e){return/^\\s*$/.test(e)}function Wi(e,t,n,r){for(var i=fe(e,t,n),s=i.scan();s===R.Whitespace;)s=i.scan();return s===r}function co(e,t,n){for(;t>n&&!zt(e[t-1]);)t--;return t}function ho(e,t,n){for(;t<n&&!zt(e[t]);)t++;return t}var fo=bn(),mo=function(){function e(t,n){this.lsOptions=t,this.dataManager=n}return e.prototype.doHover=function(t,n,r,i){var s=this.convertContents.bind(this),l=this.doesSupportMarkdown(),u=t.offsetAt(n),o=r.findNodeAt(u),c=t.getText();if(!o||!o.tag)return null;var h=this.dataManager.getDataProviders().filter(function(U){return U.isApplicable(t.languageId)});function d(U,F,B){for(var P=function(I){var D=null;if(I.provideTags().forEach(function(N){if(N.name.toLowerCase()===U.toLowerCase()){var W=qe(N,i,l);W||(W={kind:l?\"markdown\":\"plaintext\",value:\"\"}),D={contents:W,range:F}}}),D)return D.contents=s(D.contents),{value:D}},q=0,L=h;q<L.length;q++){var T=L[q],E=P(T);if(typeof E==\"object\")return E.value}return null}function f(U,F,B){for(var P=function(I){var D=null;if(I.provideAttributes(U).forEach(function(N){if(F===N.name&&N.description){var W=qe(N,i,l);W?D={contents:W,range:B}:D=null}}),D)return D.contents=s(D.contents),{value:D}},q=0,L=h;q<L.length;q++){var T=L[q],E=P(T);if(typeof E==\"object\")return E.value}return null}function g(U,F,B,P){for(var q=function(D){var N=null;if(D.provideValues(U,F).forEach(function(W){if(B===W.name&&W.description){var G=qe(W,i,l);G?N={contents:G,range:P}:N=null}}),N)return N.contents=s(N.contents),{value:N}},L=0,T=h;L<T.length;L++){var E=T[L],I=q(E);if(typeof I==\"object\")return I.value}return null}function _(U,F){var B=C(U);for(var P in lt){var q=null,L=\"&\"+P;if(B===L){var T=lt[P].charCodeAt(0).toString(16).toUpperCase(),E=\"U+\";if(T.length<4)for(var I=4-T.length,D=0;D<I;)E+=\"0\",D+=1;E+=T;var N=fo(\"entity.propose\",\"Character entity representing '\"+lt[P]+\"', unicode equivalent '\"+E+\"'\");N?q={contents:N,range:F}:q=null}if(q)return q.contents=s(q.contents),q}return null}function b(U,F){for(var B=fe(t.getText(),F),P=B.scan();P!==R.EOS&&(B.getTokenEnd()<u||B.getTokenEnd()===u&&P!==U);)P=B.scan();return P===U&&u<=B.getTokenEnd()?{start:t.positionAt(B.getTokenOffset()),end:t.positionAt(B.getTokenEnd())}:null}function y(){for(var U=u-1,F=n.character;U>=0&&ut(c,U);)U--,F--;for(var B=U+1,P=F;ut(c,B);)B++,P++;if(U>=0&&c[U]===\"&\"){var q=null;return c[B]===\";\"?q=X.create(ne.create(n.line,F),ne.create(n.line,P+1)):q=X.create(ne.create(n.line,F),ne.create(n.line,P)),q}return null}function C(U){for(var F=u-1,B=\"&\";F>=0&&ut(U,F);)F--;for(F=F+1;ut(U,F);)B+=U[F],F+=1;return B+=\";\",B}if(o.endTagStart&&u>=o.endTagStart){var w=b(R.EndTag,o.endTagStart);return w?d(o.tag,w):null}var k=b(R.StartTag,o.start);if(k)return d(o.tag,k);var A=b(R.AttributeName,o.start);if(A){var x=o.tag,H=t.getText(A);return f(x,H,A)}var p=y();if(p)return _(c,p);function m(U,F){for(var B=fe(t.getText(),U),P=B.scan(),q=void 0;P!==R.EOS&&B.getTokenEnd()<=F;)P=B.scan(),P===R.AttributeName&&(q=B.getTokenText());return q}var v=b(R.AttributeValue,o.start);if(v){var x=o.tag,z=po(t.getText(v)),M=m(o.start,t.offsetAt(v.start));if(M)return g(x,M,z,v)}return null},e.prototype.convertContents=function(t){if(!this.doesSupportMarkdown()){if(typeof t==\"string\")return t;if(\"kind\"in t)return{kind:\"plaintext\",value:t.value};if(Array.isArray(t))t.map(function(n){return typeof n==\"string\"?n:n.value});else return t.value}return t},e.prototype.doesSupportMarkdown=function(){var t,n,r;if(!It(this.supportsMarkdown)){if(!It(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var i=(r=(n=(t=this.lsOptions.clientCapabilities)===null||t===void 0?void 0:t.textDocument)===null||n===void 0?void 0:n.hover)===null||r===void 0?void 0:r.contentFormat;this.supportsMarkdown=Array.isArray(i)&&i.indexOf(we.Markdown)!==-1}return this.supportsMarkdown},e}();function po(e){return e.length<=1?e.replace(/['\"]/,\"\"):((e[0]===\"'\"||e[0]==='\"')&&(e=e.slice(1)),(e[e.length-1]===\"'\"||e[e.length-1]==='\"')&&(e=e.slice(0,-1)),e)}function go(e,t){return e}var Fi;(function(){var e=[,,function(i){function s(o){this.__parent=o,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}s.prototype.clone_empty=function(){var o=new s(this.__parent);return o.set_indent(this.__indent_count,this.__alignment_count),o},s.prototype.item=function(o){return o<0?this.__items[this.__items.length+o]:this.__items[o]},s.prototype.has_match=function(o){for(var c=this.__items.length-1;c>=0;c--)if(this.__items[c].match(o))return!0;return!1},s.prototype.set_indent=function(o,c){this.is_empty()&&(this.__indent_count=o||0,this.__alignment_count=c||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},s.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},s.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},s.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var o=this.__parent.current_line;return o.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),o.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),o.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,o.__items[0]===\" \"&&(o.__items.splice(0,1),o.__character_count-=1),!0}return!1},s.prototype.is_empty=function(){return this.__items.length===0},s.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},s.prototype.push=function(o){this.__items.push(o);var c=o.lastIndexOf(`\n`);c!==-1?this.__character_count=o.length-c:this.__character_count+=o.length},s.prototype.pop=function(){var o=null;return this.is_empty()||(o=this.__items.pop(),this.__character_count-=o.length),o},s.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},s.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},s.prototype.trim=function(){for(;this.last()===\" \";)this.__items.pop(),this.__character_count-=1},s.prototype.toString=function(){var o=\"\";return this.is_empty()?this.__parent.indent_empty_lines&&(o=this.__parent.get_indent_string(this.__indent_count)):(o=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),o+=this.__items.join(\"\")),o};function l(o,c){this.__cache=[\"\"],this.__indent_size=o.indent_size,this.__indent_string=o.indent_char,o.indent_with_tabs||(this.__indent_string=new Array(o.indent_size+1).join(o.indent_char)),c=c||\"\",o.indent_level>0&&(c=new Array(o.indent_level+1).join(this.__indent_string)),this.__base_string=c,this.__base_string_length=c.length}l.prototype.get_indent_size=function(o,c){var h=this.__base_string_length;return c=c||0,o<0&&(h=0),h+=o*this.__indent_size,h+=c,h},l.prototype.get_indent_string=function(o,c){var h=this.__base_string;return c=c||0,o<0&&(o=0,h=\"\"),c+=o*this.__indent_size,this.__ensure_cache(c),h+=this.__cache[c],h},l.prototype.__ensure_cache=function(o){for(;o>=this.__cache.length;)this.__add_column()},l.prototype.__add_column=function(){var o=this.__cache.length,c=0,h=\"\";this.__indent_size&&o>=this.__indent_size&&(c=Math.floor(o/this.__indent_size),o-=c*this.__indent_size,h=new Array(c+1).join(this.__indent_string)),o&&(h+=new Array(o+1).join(\" \")),this.__cache.push(h)};function u(o,c){this.__indent_cache=new l(o,c),this.raw=!1,this._end_with_newline=o.end_with_newline,this.indent_size=o.indent_size,this.wrap_line_length=o.wrap_line_length,this.indent_empty_lines=o.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new s(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}u.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},u.prototype.get_line_number=function(){return this.__lines.length},u.prototype.get_indent_string=function(o,c){return this.__indent_cache.get_indent_string(o,c)},u.prototype.get_indent_size=function(o,c){return this.__indent_cache.get_indent_size(o,c)},u.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},u.prototype.add_new_line=function(o){return this.is_empty()||!o&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},u.prototype.get_code=function(o){this.trim(!0);var c=this.current_line.pop();c&&(c[c.length-1]===`\n`&&(c=c.replace(/\\n+$/g,\"\")),this.current_line.push(c)),this._end_with_newline&&this.__add_outputline();var h=this.__lines.join(`\n`);return o!==`\n`&&(h=h.replace(/[\\n]/g,o)),h},u.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},u.prototype.set_indent=function(o,c){return o=o||0,c=c||0,this.next_line.set_indent(o,c),this.__lines.length>1?(this.current_line.set_indent(o,c),!0):(this.current_line.set_indent(),!1)},u.prototype.add_raw_token=function(o){for(var c=0;c<o.newlines;c++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(o.whitespace_before),this.current_line.push(o.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},u.prototype.add_token=function(o){this.__add_space_before_token(),this.current_line.push(o),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},u.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(\" \"))},u.prototype.remove_indent=function(o){for(var c=this.__lines.length;o<c;)this.__lines[o]._remove_indent(),o++;this.current_line._remove_wrap_indent()},u.prototype.trim=function(o){for(o=o===void 0?!1:o,this.current_line.trim();o&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},u.prototype.just_added_newline=function(){return this.current_line.is_empty()},u.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},u.prototype.ensure_empty_line_above=function(o,c){for(var h=this.__lines.length-2;h>=0;){var d=this.__lines[h];if(d.is_empty())break;if(d.item(0).indexOf(o)!==0&&d.item(-1)!==c){this.__lines.splice(h+1,0,new s(this)),this.previous_line=this.__lines[this.__lines.length-2];break}h--}},i.exports.Output=u},,,,function(i){function s(o,c){this.raw_options=l(o,c),this.disabled=this._get_boolean(\"disabled\"),this.eol=this._get_characters(\"eol\",\"auto\"),this.end_with_newline=this._get_boolean(\"end_with_newline\"),this.indent_size=this._get_number(\"indent_size\",4),this.indent_char=this._get_characters(\"indent_char\",\" \"),this.indent_level=this._get_number(\"indent_level\"),this.preserve_newlines=this._get_boolean(\"preserve_newlines\",!0),this.max_preserve_newlines=this._get_number(\"max_preserve_newlines\",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean(\"indent_with_tabs\",this.indent_char===\"\t\"),this.indent_with_tabs&&(this.indent_char=\"\t\",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number(\"wrap_line_length\",this._get_number(\"max_char\")),this.indent_empty_lines=this._get_boolean(\"indent_empty_lines\"),this.templating=this._get_selection_list(\"templating\",[\"auto\",\"none\",\"django\",\"erb\",\"handlebars\",\"php\",\"smarty\"],[\"auto\"])}s.prototype._get_array=function(o,c){var h=this.raw_options[o],d=c||[];return typeof h==\"object\"?h!==null&&typeof h.concat==\"function\"&&(d=h.concat()):typeof h==\"string\"&&(d=h.split(/[^a-zA-Z0-9_\\/\\-]+/)),d},s.prototype._get_boolean=function(o,c){var h=this.raw_options[o],d=h===void 0?!!c:!!h;return d},s.prototype._get_characters=function(o,c){var h=this.raw_options[o],d=c||\"\";return typeof h==\"string\"&&(d=h.replace(/\\\\r/,\"\\r\").replace(/\\\\n/,`\n`).replace(/\\\\t/,\"\t\")),d},s.prototype._get_number=function(o,c){var h=this.raw_options[o];c=parseInt(c,10),isNaN(c)&&(c=0);var d=parseInt(h,10);return isNaN(d)&&(d=c),d},s.prototype._get_selection=function(o,c,h){var d=this._get_selection_list(o,c,h);if(d.length!==1)throw new Error(\"Invalid Option Value: The option '\"+o+`' can only be one of the following values:\n`+c+`\nYou passed in: '`+this.raw_options[o]+\"'\");return d[0]},s.prototype._get_selection_list=function(o,c,h){if(!c||c.length===0)throw new Error(\"Selection list cannot be empty.\");if(h=h||[c[0]],!this._is_valid_selection(h,c))throw new Error(\"Invalid Default Value!\");var d=this._get_array(o,h);if(!this._is_valid_selection(d,c))throw new Error(\"Invalid Option Value: The option '\"+o+`' can contain only the following values:\n`+c+`\nYou passed in: '`+this.raw_options[o]+\"'\");return d},s.prototype._is_valid_selection=function(o,c){return o.length&&c.length&&!o.some(function(h){return c.indexOf(h)===-1})};function l(o,c){var h={};o=u(o);var d;for(d in o)d!==c&&(h[d]=o[d]);if(c&&o[c])for(d in o[c])h[d]=o[c][d];return h}function u(o){var c={},h;for(h in o){var d=h.replace(/-/g,\"_\");c[d]=o[h]}return c}i.exports.Options=s,i.exports.normalizeOpts=u,i.exports.mergeOpts=l},,function(i){var s=RegExp.prototype.hasOwnProperty(\"sticky\");function l(u){this.__input=u||\"\",this.__input_length=this.__input.length,this.__position=0}l.prototype.restart=function(){this.__position=0},l.prototype.back=function(){this.__position>0&&(this.__position-=1)},l.prototype.hasNext=function(){return this.__position<this.__input_length},l.prototype.next=function(){var u=null;return this.hasNext()&&(u=this.__input.charAt(this.__position),this.__position+=1),u},l.prototype.peek=function(u){var o=null;return u=u||0,u+=this.__position,u>=0&&u<this.__input_length&&(o=this.__input.charAt(u)),o},l.prototype.__match=function(u,o){u.lastIndex=o;var c=u.exec(this.__input);return c&&!(s&&u.sticky)&&c.index!==o&&(c=null),c},l.prototype.test=function(u,o){return o=o||0,o+=this.__position,o>=0&&o<this.__input_length?!!this.__match(u,o):!1},l.prototype.testChar=function(u,o){var c=this.peek(o);return u.lastIndex=0,c!==null&&u.test(c)},l.prototype.match=function(u){var o=this.__match(u,this.__position);return o?this.__position+=o[0].length:o=null,o},l.prototype.read=function(u,o,c){var h=\"\",d;return u&&(d=this.match(u),d&&(h+=d[0])),o&&(d||!u)&&(h+=this.readUntil(o,c)),h},l.prototype.readUntil=function(u,o){var c=\"\",h=this.__position;u.lastIndex=this.__position;var d=u.exec(this.__input);return d?(h=d.index,o&&(h+=d[0].length)):h=this.__input_length,c=this.__input.substring(this.__position,h),this.__position=h,c},l.prototype.readUntilAfter=function(u){return this.readUntil(u,!0)},l.prototype.get_regexp=function(u,o){var c=null,h=\"g\";return o&&s&&(h=\"y\"),typeof u==\"string\"&&u!==\"\"?c=new RegExp(u,h):u&&(c=new RegExp(u.source,h)),c},l.prototype.get_literal_regexp=function(u){return RegExp(u.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g,\"\\\\$&\"))},l.prototype.peekUntilAfter=function(u){var o=this.__position,c=this.readUntilAfter(u);return this.__position=o,c},l.prototype.lookBack=function(u){var o=this.__position-1;return o>=u.length&&this.__input.substring(o-u.length,o).toLowerCase()===u},i.exports.InputScanner=l},,,,,function(i){function s(l,u){l=typeof l==\"string\"?l:l.source,u=typeof u==\"string\"?u:u.source,this.__directives_block_pattern=new RegExp(l+/ beautify( \\w+[:]\\w+)+ /.source+u,\"g\"),this.__directive_pattern=/ (\\w+)[:](\\w+)/g,this.__directives_end_ignore_pattern=new RegExp(l+/\\sbeautify\\signore:end\\s/.source+u,\"g\")}s.prototype.get_directives=function(l){if(!l.match(this.__directives_block_pattern))return null;var u={};this.__directive_pattern.lastIndex=0;for(var o=this.__directive_pattern.exec(l);o;)u[o[1]]=o[2],o=this.__directive_pattern.exec(l);return u},s.prototype.readIgnored=function(l){return l.readUntilAfter(this.__directives_end_ignore_pattern)},i.exports.Directives=s},,function(i,s,l){var u=l(16).Beautifier,o=l(17).Options;function c(h,d){var f=new u(h,d);return f.beautify()}i.exports=c,i.exports.defaultOptions=function(){return new o}},function(i,s,l){var u=l(17).Options,o=l(2).Output,c=l(8).InputScanner,h=l(13).Directives,d=new h(/\\/\\*/,/\\*\\//),f=/\\r\\n|[\\r\\n]/,g=/\\r\\n|[\\r\\n]/g,_=/\\s/,b=/(?:\\s|\\n)+/g,y=/\\/\\*(?:[\\s\\S]*?)((?:\\*\\/)|$)/g,C=/\\/\\/(?:[^\\n\\r\\u2028\\u2029]*)/g;function w(k,A){this._source_text=k||\"\",this._options=new u(A),this._ch=null,this._input=null,this.NESTED_AT_RULE={\"@page\":!0,\"@font-face\":!0,\"@keyframes\":!0,\"@media\":!0,\"@supports\":!0,\"@document\":!0},this.CONDITIONAL_GROUP_RULE={\"@media\":!0,\"@supports\":!0,\"@document\":!0}}w.prototype.eatString=function(k){var A=\"\";for(this._ch=this._input.next();this._ch;){if(A+=this._ch,this._ch===\"\\\\\")A+=this._input.next();else if(k.indexOf(this._ch)!==-1||this._ch===`\n`)break;this._ch=this._input.next()}return A},w.prototype.eatWhitespace=function(k){for(var A=_.test(this._input.peek()),x=0;_.test(this._input.peek());)this._ch=this._input.next(),k&&this._ch===`\n`&&(x===0||x<this._options.max_preserve_newlines)&&(x++,this._output.add_new_line(!0));return A},w.prototype.foundNestedPseudoClass=function(){for(var k=0,A=1,x=this._input.peek(A);x;){if(x===\"{\")return!0;if(x===\"(\")k+=1;else if(x===\")\"){if(k===0)return!1;k-=1}else if(x===\";\"||x===\"}\")return!1;A++,x=this._input.peek(A)}return!1},w.prototype.print_string=function(k){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(k)},w.prototype.preserveSingleSpace=function(k){k&&(this._output.space_before_token=!0)},w.prototype.indent=function(){this._indentLevel++},w.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},w.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var k=this._source_text,A=this._options.eol;A===\"auto\"&&(A=`\n`,k&&f.test(k||\"\")&&(A=k.match(f)[0])),k=k.replace(g,`\n`);var x=k.match(/^[\\t ]*/)[0];this._output=new o(this._options,x),this._input=new c(k),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var H=0,p=!1,m=!1,v=!1,z=!1,M=!1,U=this._ch,F,B,P;F=this._input.read(b),B=F!==\"\",P=U,this._ch=this._input.next(),this._ch===\"\\\\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),U=this._ch,this._ch;)if(this._ch===\"/\"&&this._input.peek()===\"*\"){this._output.add_new_line(),this._input.back();var q=this._input.read(y),L=d.get_directives(q);L&&L.ignore===\"start\"&&(q+=d.readIgnored(this._input)),this.print_string(q),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch===\"/\"&&this._input.peek()===\"/\")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(C)),this.eatWhitespace(!0);else if(this._ch===\"@\")if(this.preserveSingleSpace(B),this._input.peek()===\"{\")this.print_string(this._ch+this.eatString(\"}\"));else{this.print_string(this._ch);var T=this._input.peekUntilAfter(/[: ,;{}()[\\]\\/='\"]/g);T.match(/[ :]$/)&&(T=this.eatString(\": \").replace(/\\s$/,\"\"),this.print_string(T),this._output.space_before_token=!0),T=T.replace(/\\s$/,\"\"),T===\"extend\"?z=!0:T===\"import\"&&(M=!0),T in this.NESTED_AT_RULE?(this._nestedLevel+=1,T in this.CONDITIONAL_GROUP_RULE&&(v=!0)):!p&&H===0&&T.indexOf(\":\")!==-1&&(m=!0,this.indent())}else this._ch===\"#\"&&this._input.peek()===\"{\"?(this.preserveSingleSpace(B),this.print_string(this._ch+this.eatString(\"}\"))):this._ch===\"{\"?(m&&(m=!1,this.outdent()),v?(v=!1,p=this._indentLevel>=this._nestedLevel):p=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&p&&this._output.previous_line&&this._output.previous_line.item(-1)!==\"{\"&&this._output.ensure_empty_line_above(\"/\",\",\"),this._output.space_before_token=!0,this._options.brace_style===\"expand\"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line()):this._ch===\"}\"?(this.outdent(),this._output.add_new_line(),P===\"{\"&&this._output.trim(!0),M=!1,z=!1,m&&(this.outdent(),m=!1),this.print_string(this._ch),p=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!==\"}\"&&this._output.add_new_line(!0)):this._ch===\":\"?(p||v)&&!(this._input.lookBack(\"&\")||this.foundNestedPseudoClass())&&!this._input.lookBack(\"(\")&&!z&&H===0?(this.print_string(\":\"),m||(m=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(\" \")&&(this._output.space_before_token=!0),this._input.peek()===\":\"?(this._ch=this._input.next(),this.print_string(\"::\")):this.print_string(\":\")):this._ch==='\"'||this._ch===\"'\"?(this.preserveSingleSpace(B),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)):this._ch===\";\"?H===0?(m&&(this.outdent(),m=!1),z=!1,M=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!==\"/\"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0):this._ch===\"(\"?this._input.lookBack(\"url\")?(this.print_string(this._ch),this.eatWhitespace(),H++,this.indent(),this._ch=this._input.next(),this._ch===\")\"||this._ch==='\"'||this._ch===\"'\"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(\")\")),H&&(H--,this.outdent()))):(this.preserveSingleSpace(B),this.print_string(this._ch),this.eatWhitespace(),H++,this.indent()):this._ch===\")\"?(H&&(H--,this.outdent()),this.print_string(this._ch)):this._ch===\",\"?(this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&!m&&H===0&&!M&&!z?this._output.add_new_line():this._output.space_before_token=!0):(this._ch===\">\"||this._ch===\"+\"||this._ch===\"~\")&&!m&&H===0?this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&_.test(this._ch)&&(this._ch=\"\")):this._ch===\"]\"?this.print_string(this._ch):this._ch===\"[\"?(this.preserveSingleSpace(B),this.print_string(this._ch)):this._ch===\"=\"?(this.eatWhitespace(),this.print_string(\"=\"),_.test(this._ch)&&(this._ch=\"\")):this._ch===\"!\"&&!this._input.lookBack(\"\\\\\")?(this.print_string(\" \"),this.print_string(this._ch)):(this.preserveSingleSpace(B),this.print_string(this._ch));var E=this._output.get_code(A);return E},i.exports.Beautifier=w},function(i,s,l){var u=l(6).Options;function o(c){u.call(this,c,\"css\"),this.selector_separator_newline=this._get_boolean(\"selector_separator_newline\",!0),this.newline_between_rules=this._get_boolean(\"newline_between_rules\",!0);var h=this._get_boolean(\"space_around_selector_separator\");this.space_around_combinator=this._get_boolean(\"space_around_combinator\")||h;var d=this._get_selection_list(\"brace_style\",[\"collapse\",\"expand\",\"end-expand\",\"none\",\"preserve-inline\"]);this.brace_style=\"collapse\";for(var f=0;f<d.length;f++)d[f]!==\"expand\"?this.brace_style=\"collapse\":this.brace_style=d[f]}o.prototype=new u,i.exports.Options=o}],t={};function n(i){var s=t[i];if(s!==void 0)return s.exports;var l=t[i]={exports:{}};return e[i](l,l.exports,n),l.exports}var r=n(15);Fi=r})();var bo=Fi,Bi;(function(){var e=[,,function(i){function s(o){this.__parent=o,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}s.prototype.clone_empty=function(){var o=new s(this.__parent);return o.set_indent(this.__indent_count,this.__alignment_count),o},s.prototype.item=function(o){return o<0?this.__items[this.__items.length+o]:this.__items[o]},s.prototype.has_match=function(o){for(var c=this.__items.length-1;c>=0;c--)if(this.__items[c].match(o))return!0;return!1},s.prototype.set_indent=function(o,c){this.is_empty()&&(this.__indent_count=o||0,this.__alignment_count=c||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},s.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},s.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},s.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var o=this.__parent.current_line;return o.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),o.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),o.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,o.__items[0]===\" \"&&(o.__items.splice(0,1),o.__character_count-=1),!0}return!1},s.prototype.is_empty=function(){return this.__items.length===0},s.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},s.prototype.push=function(o){this.__items.push(o);var c=o.lastIndexOf(`\n`);c!==-1?this.__character_count=o.length-c:this.__character_count+=o.length},s.prototype.pop=function(){var o=null;return this.is_empty()||(o=this.__items.pop(),this.__character_count-=o.length),o},s.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},s.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},s.prototype.trim=function(){for(;this.last()===\" \";)this.__items.pop(),this.__character_count-=1},s.prototype.toString=function(){var o=\"\";return this.is_empty()?this.__parent.indent_empty_lines&&(o=this.__parent.get_indent_string(this.__indent_count)):(o=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),o+=this.__items.join(\"\")),o};function l(o,c){this.__cache=[\"\"],this.__indent_size=o.indent_size,this.__indent_string=o.indent_char,o.indent_with_tabs||(this.__indent_string=new Array(o.indent_size+1).join(o.indent_char)),c=c||\"\",o.indent_level>0&&(c=new Array(o.indent_level+1).join(this.__indent_string)),this.__base_string=c,this.__base_string_length=c.length}l.prototype.get_indent_size=function(o,c){var h=this.__base_string_length;return c=c||0,o<0&&(h=0),h+=o*this.__indent_size,h+=c,h},l.prototype.get_indent_string=function(o,c){var h=this.__base_string;return c=c||0,o<0&&(o=0,h=\"\"),c+=o*this.__indent_size,this.__ensure_cache(c),h+=this.__cache[c],h},l.prototype.__ensure_cache=function(o){for(;o>=this.__cache.length;)this.__add_column()},l.prototype.__add_column=function(){var o=this.__cache.length,c=0,h=\"\";this.__indent_size&&o>=this.__indent_size&&(c=Math.floor(o/this.__indent_size),o-=c*this.__indent_size,h=new Array(c+1).join(this.__indent_string)),o&&(h+=new Array(o+1).join(\" \")),this.__cache.push(h)};function u(o,c){this.__indent_cache=new l(o,c),this.raw=!1,this._end_with_newline=o.end_with_newline,this.indent_size=o.indent_size,this.wrap_line_length=o.wrap_line_length,this.indent_empty_lines=o.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new s(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}u.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},u.prototype.get_line_number=function(){return this.__lines.length},u.prototype.get_indent_string=function(o,c){return this.__indent_cache.get_indent_string(o,c)},u.prototype.get_indent_size=function(o,c){return this.__indent_cache.get_indent_size(o,c)},u.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},u.prototype.add_new_line=function(o){return this.is_empty()||!o&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},u.prototype.get_code=function(o){this.trim(!0);var c=this.current_line.pop();c&&(c[c.length-1]===`\n`&&(c=c.replace(/\\n+$/g,\"\")),this.current_line.push(c)),this._end_with_newline&&this.__add_outputline();var h=this.__lines.join(`\n`);return o!==`\n`&&(h=h.replace(/[\\n]/g,o)),h},u.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},u.prototype.set_indent=function(o,c){return o=o||0,c=c||0,this.next_line.set_indent(o,c),this.__lines.length>1?(this.current_line.set_indent(o,c),!0):(this.current_line.set_indent(),!1)},u.prototype.add_raw_token=function(o){for(var c=0;c<o.newlines;c++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(o.whitespace_before),this.current_line.push(o.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},u.prototype.add_token=function(o){this.__add_space_before_token(),this.current_line.push(o),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},u.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(\" \"))},u.prototype.remove_indent=function(o){for(var c=this.__lines.length;o<c;)this.__lines[o]._remove_indent(),o++;this.current_line._remove_wrap_indent()},u.prototype.trim=function(o){for(o=o===void 0?!1:o,this.current_line.trim();o&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},u.prototype.just_added_newline=function(){return this.current_line.is_empty()},u.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},u.prototype.ensure_empty_line_above=function(o,c){for(var h=this.__lines.length-2;h>=0;){var d=this.__lines[h];if(d.is_empty())break;if(d.item(0).indexOf(o)!==0&&d.item(-1)!==c){this.__lines.splice(h+1,0,new s(this)),this.previous_line=this.__lines[this.__lines.length-2];break}h--}},i.exports.Output=u},function(i){function s(l,u,o,c){this.type=l,this.text=u,this.comments_before=null,this.newlines=o||0,this.whitespace_before=c||\"\",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}i.exports.Token=s},,,function(i){function s(o,c){this.raw_options=l(o,c),this.disabled=this._get_boolean(\"disabled\"),this.eol=this._get_characters(\"eol\",\"auto\"),this.end_with_newline=this._get_boolean(\"end_with_newline\"),this.indent_size=this._get_number(\"indent_size\",4),this.indent_char=this._get_characters(\"indent_char\",\" \"),this.indent_level=this._get_number(\"indent_level\"),this.preserve_newlines=this._get_boolean(\"preserve_newlines\",!0),this.max_preserve_newlines=this._get_number(\"max_preserve_newlines\",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean(\"indent_with_tabs\",this.indent_char===\"\t\"),this.indent_with_tabs&&(this.indent_char=\"\t\",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number(\"wrap_line_length\",this._get_number(\"max_char\")),this.indent_empty_lines=this._get_boolean(\"indent_empty_lines\"),this.templating=this._get_selection_list(\"templating\",[\"auto\",\"none\",\"django\",\"erb\",\"handlebars\",\"php\",\"smarty\"],[\"auto\"])}s.prototype._get_array=function(o,c){var h=this.raw_options[o],d=c||[];return typeof h==\"object\"?h!==null&&typeof h.concat==\"function\"&&(d=h.concat()):typeof h==\"string\"&&(d=h.split(/[^a-zA-Z0-9_\\/\\-]+/)),d},s.prototype._get_boolean=function(o,c){var h=this.raw_options[o],d=h===void 0?!!c:!!h;return d},s.prototype._get_characters=function(o,c){var h=this.raw_options[o],d=c||\"\";return typeof h==\"string\"&&(d=h.replace(/\\\\r/,\"\\r\").replace(/\\\\n/,`\n`).replace(/\\\\t/,\"\t\")),d},s.prototype._get_number=function(o,c){var h=this.raw_options[o];c=parseInt(c,10),isNaN(c)&&(c=0);var d=parseInt(h,10);return isNaN(d)&&(d=c),d},s.prototype._get_selection=function(o,c,h){var d=this._get_selection_list(o,c,h);if(d.length!==1)throw new Error(\"Invalid Option Value: The option '\"+o+`' can only be one of the following values:\n`+c+`\nYou passed in: '`+this.raw_options[o]+\"'\");return d[0]},s.prototype._get_selection_list=function(o,c,h){if(!c||c.length===0)throw new Error(\"Selection list cannot be empty.\");if(h=h||[c[0]],!this._is_valid_selection(h,c))throw new Error(\"Invalid Default Value!\");var d=this._get_array(o,h);if(!this._is_valid_selection(d,c))throw new Error(\"Invalid Option Value: The option '\"+o+`' can contain only the following values:\n`+c+`\nYou passed in: '`+this.raw_options[o]+\"'\");return d},s.prototype._is_valid_selection=function(o,c){return o.length&&c.length&&!o.some(function(h){return c.indexOf(h)===-1})};function l(o,c){var h={};o=u(o);var d;for(d in o)d!==c&&(h[d]=o[d]);if(c&&o[c])for(d in o[c])h[d]=o[c][d];return h}function u(o){var c={},h;for(h in o){var d=h.replace(/-/g,\"_\");c[d]=o[h]}return c}i.exports.Options=s,i.exports.normalizeOpts=u,i.exports.mergeOpts=l},,function(i){var s=RegExp.prototype.hasOwnProperty(\"sticky\");function l(u){this.__input=u||\"\",this.__input_length=this.__input.length,this.__position=0}l.prototype.restart=function(){this.__position=0},l.prototype.back=function(){this.__position>0&&(this.__position-=1)},l.prototype.hasNext=function(){return this.__position<this.__input_length},l.prototype.next=function(){var u=null;return this.hasNext()&&(u=this.__input.charAt(this.__position),this.__position+=1),u},l.prototype.peek=function(u){var o=null;return u=u||0,u+=this.__position,u>=0&&u<this.__input_length&&(o=this.__input.charAt(u)),o},l.prototype.__match=function(u,o){u.lastIndex=o;var c=u.exec(this.__input);return c&&!(s&&u.sticky)&&c.index!==o&&(c=null),c},l.prototype.test=function(u,o){return o=o||0,o+=this.__position,o>=0&&o<this.__input_length?!!this.__match(u,o):!1},l.prototype.testChar=function(u,o){var c=this.peek(o);return u.lastIndex=0,c!==null&&u.test(c)},l.prototype.match=function(u){var o=this.__match(u,this.__position);return o?this.__position+=o[0].length:o=null,o},l.prototype.read=function(u,o,c){var h=\"\",d;return u&&(d=this.match(u),d&&(h+=d[0])),o&&(d||!u)&&(h+=this.readUntil(o,c)),h},l.prototype.readUntil=function(u,o){var c=\"\",h=this.__position;u.lastIndex=this.__position;var d=u.exec(this.__input);return d?(h=d.index,o&&(h+=d[0].length)):h=this.__input_length,c=this.__input.substring(this.__position,h),this.__position=h,c},l.prototype.readUntilAfter=function(u){return this.readUntil(u,!0)},l.prototype.get_regexp=function(u,o){var c=null,h=\"g\";return o&&s&&(h=\"y\"),typeof u==\"string\"&&u!==\"\"?c=new RegExp(u,h):u&&(c=new RegExp(u.source,h)),c},l.prototype.get_literal_regexp=function(u){return RegExp(u.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g,\"\\\\$&\"))},l.prototype.peekUntilAfter=function(u){var o=this.__position,c=this.readUntilAfter(u);return this.__position=o,c},l.prototype.lookBack=function(u){var o=this.__position-1;return o>=u.length&&this.__input.substring(o-u.length,o).toLowerCase()===u},i.exports.InputScanner=l},function(i,s,l){var u=l(8).InputScanner,o=l(3).Token,c=l(10).TokenStream,h=l(11).WhitespacePattern,d={START:\"TK_START\",RAW:\"TK_RAW\",EOF:\"TK_EOF\"},f=function(g,_){this._input=new u(g),this._options=_||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new h(this._input)};f.prototype.tokenize=function(){this._input.restart(),this.__tokens=new c,this._reset();for(var g,_=new o(d.START,\"\"),b=null,y=[],C=new c;_.type!==d.EOF;){for(g=this._get_next_token(_,b);this._is_comment(g);)C.add(g),g=this._get_next_token(_,b);C.isEmpty()||(g.comments_before=C,C=new c),g.parent=b,this._is_opening(g)?(y.push(b),b=g):b&&this._is_closing(g,b)&&(g.opened=b,b.closed=g,b=y.pop(),g.parent=b),g.previous=_,_.next=g,this.__tokens.add(g),_=g}return this.__tokens},f.prototype._is_first_token=function(){return this.__tokens.isEmpty()},f.prototype._reset=function(){},f.prototype._get_next_token=function(g,_){this._readWhitespace();var b=this._input.read(/.+/g);return b?this._create_token(d.RAW,b):this._create_token(d.EOF,\"\")},f.prototype._is_comment=function(g){return!1},f.prototype._is_opening=function(g){return!1},f.prototype._is_closing=function(g,_){return!1},f.prototype._create_token=function(g,_){var b=new o(g,_,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return b},f.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},i.exports.Tokenizer=f,i.exports.TOKEN=d},function(i){function s(l){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=l}s.prototype.restart=function(){this.__position=0},s.prototype.isEmpty=function(){return this.__tokens_length===0},s.prototype.hasNext=function(){return this.__position<this.__tokens_length},s.prototype.next=function(){var l=null;return this.hasNext()&&(l=this.__tokens[this.__position],this.__position+=1),l},s.prototype.peek=function(l){var u=null;return l=l||0,l+=this.__position,l>=0&&l<this.__tokens_length&&(u=this.__tokens[l]),u},s.prototype.add=function(l){this.__parent_token&&(l.parent=this.__parent_token),this.__tokens.push(l),this.__tokens_length+=1},i.exports.TokenStream=s},function(i,s,l){var u=l(12).Pattern;function o(c,h){u.call(this,c,h),h?this._line_regexp=this._input.get_regexp(h._line_regexp):this.__set_whitespace_patterns(\"\",\"\"),this.newline_count=0,this.whitespace_before_token=\"\"}o.prototype=new u,o.prototype.__set_whitespace_patterns=function(c,h){c+=\"\\\\t \",h+=\"\\\\n\\\\r\",this._match_pattern=this._input.get_regexp(\"[\"+c+h+\"]+\",!0),this._newline_regexp=this._input.get_regexp(\"\\\\r\\\\n|[\"+h+\"]\")},o.prototype.read=function(){this.newline_count=0,this.whitespace_before_token=\"\";var c=this._input.read(this._match_pattern);if(c===\" \")this.whitespace_before_token=\" \";else if(c){var h=this.__split(this._newline_regexp,c);this.newline_count=h.length-1,this.whitespace_before_token=h[this.newline_count]}return c},o.prototype.matching=function(c,h){var d=this._create();return d.__set_whitespace_patterns(c,h),d._update(),d},o.prototype._create=function(){return new o(this._input,this)},o.prototype.__split=function(c,h){c.lastIndex=0;for(var d=0,f=[],g=c.exec(h);g;)f.push(h.substring(d,g.index)),d=g.index+g[0].length,g=c.exec(h);return d<h.length?f.push(h.substring(d,h.length)):f.push(\"\"),f},i.exports.WhitespacePattern=o},function(i){function s(l,u){this._input=l,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,u&&(this._starting_pattern=this._input.get_regexp(u._starting_pattern,!0),this._match_pattern=this._input.get_regexp(u._match_pattern,!0),this._until_pattern=this._input.get_regexp(u._until_pattern),this._until_after=u._until_after)}s.prototype.read=function(){var l=this._input.read(this._starting_pattern);return(!this._starting_pattern||l)&&(l+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),l},s.prototype.read_match=function(){return this._input.match(this._match_pattern)},s.prototype.until_after=function(l){var u=this._create();return u._until_after=!0,u._until_pattern=this._input.get_regexp(l),u._update(),u},s.prototype.until=function(l){var u=this._create();return u._until_after=!1,u._until_pattern=this._input.get_regexp(l),u._update(),u},s.prototype.starting_with=function(l){var u=this._create();return u._starting_pattern=this._input.get_regexp(l,!0),u._update(),u},s.prototype.matching=function(l){var u=this._create();return u._match_pattern=this._input.get_regexp(l,!0),u._update(),u},s.prototype._create=function(){return new s(this._input,this)},s.prototype._update=function(){},i.exports.Pattern=s},function(i){function s(l,u){l=typeof l==\"string\"?l:l.source,u=typeof u==\"string\"?u:u.source,this.__directives_block_pattern=new RegExp(l+/ beautify( \\w+[:]\\w+)+ /.source+u,\"g\"),this.__directive_pattern=/ (\\w+)[:](\\w+)/g,this.__directives_end_ignore_pattern=new RegExp(l+/\\sbeautify\\signore:end\\s/.source+u,\"g\")}s.prototype.get_directives=function(l){if(!l.match(this.__directives_block_pattern))return null;var u={};this.__directive_pattern.lastIndex=0;for(var o=this.__directive_pattern.exec(l);o;)u[o[1]]=o[2],o=this.__directive_pattern.exec(l);return u},s.prototype.readIgnored=function(l){return l.readUntilAfter(this.__directives_end_ignore_pattern)},i.exports.Directives=s},function(i,s,l){var u=l(12).Pattern,o={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1};function c(h,d){u.call(this,h,d),this.__template_pattern=null,this._disabled=Object.assign({},o),this._excluded=Object.assign({},o),d&&(this.__template_pattern=this._input.get_regexp(d.__template_pattern),this._excluded=Object.assign(this._excluded,d._excluded),this._disabled=Object.assign(this._disabled,d._disabled));var f=new u(h);this.__patterns={handlebars_comment:f.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:f.starting_with(/{{{/).until_after(/}}}/),handlebars:f.starting_with(/{{/).until_after(/}}/),php:f.starting_with(/<\\?(?:[= ]|php)/).until_after(/\\?>/),erb:f.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:f.starting_with(/{%/).until_after(/%}/),django_value:f.starting_with(/{{/).until_after(/}}/),django_comment:f.starting_with(/{#/).until_after(/#}/),smarty:f.starting_with(/{(?=[^}{\\s\\n])/).until_after(/[^\\s\\n]}/),smarty_comment:f.starting_with(/{\\*/).until_after(/\\*}/),smarty_literal:f.starting_with(/{literal}/).until_after(/{\\/literal}/)}}c.prototype=new u,c.prototype._create=function(){return new c(this._input,this)},c.prototype._update=function(){this.__set_templated_pattern()},c.prototype.disable=function(h){var d=this._create();return d._disabled[h]=!0,d._update(),d},c.prototype.read_options=function(h){var d=this._create();for(var f in o)d._disabled[f]=h.templating.indexOf(f)===-1;return d._update(),d},c.prototype.exclude=function(h){var d=this._create();return d._excluded[h]=!0,d._update(),d},c.prototype.read=function(){var h=\"\";this._match_pattern?h=this._input.read(this._starting_pattern):h=this._input.read(this._starting_pattern,this.__template_pattern);for(var d=this._read_template();d;)this._match_pattern?d+=this._input.read(this._match_pattern):d+=this._input.readUntil(this.__template_pattern),h+=d,d=this._read_template();return this._until_after&&(h+=this._input.readUntilAfter(this._until_pattern)),h},c.prototype.__set_templated_pattern=function(){var h=[];this._disabled.php||h.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||h.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||h.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(h.push(this.__patterns.django._starting_pattern.source),h.push(this.__patterns.django_value._starting_pattern.source),h.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||h.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&h.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp(\"(?:\"+h.join(\"|\")+\")\")},c.prototype._read_template=function(){var h=\"\",d=this._input.peek();if(d===\"<\"){var f=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&f===\"?\"&&(h=h||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&f===\"%\"&&(h=h||this.__patterns.erb.read())}else d===\"{\"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(h=h||this.__patterns.handlebars_comment.read(),h=h||this.__patterns.handlebars_unescaped.read(),h=h||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(h=h||this.__patterns.django_value.read()),this._excluded.django||(h=h||this.__patterns.django_comment.read(),h=h||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(h=h||this.__patterns.smarty_comment.read(),h=h||this.__patterns.smarty_literal.read(),h=h||this.__patterns.smarty.read()));return h},i.exports.TemplatablePattern=c},,,,function(i,s,l){var u=l(19).Beautifier,o=l(20).Options;function c(h,d,f,g){var _=new u(h,d,f,g);return _.beautify()}i.exports=c,i.exports.defaultOptions=function(){return new o}},function(i,s,l){var u=l(20).Options,o=l(2).Output,c=l(21).Tokenizer,h=l(21).TOKEN,d=/\\r\\n|[\\r\\n]/,f=/\\r\\n|[\\r\\n]/g,g=function(p,m){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=p.max_preserve_newlines,this.preserve_newlines=p.preserve_newlines,this._output=new o(p,m)};g.prototype.current_line_has_match=function(p){return this._output.current_line.has_match(p)},g.prototype.set_space_before_token=function(p,m){this._output.space_before_token=p,this._output.non_breaking_space=m},g.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},g.prototype.add_raw_token=function(p){this._output.add_raw_token(p)},g.prototype.print_preserved_newlines=function(p){var m=0;p.type!==h.TEXT&&p.previous.type!==h.TEXT&&(m=p.newlines?1:0),this.preserve_newlines&&(m=p.newlines<this.max_preserve_newlines+1?p.newlines:this.max_preserve_newlines+1);for(var v=0;v<m;v++)this.print_newline(v>0);return m!==0},g.prototype.traverse_whitespace=function(p){return p.whitespace_before||p.newlines?(this.print_preserved_newlines(p)||(this._output.space_before_token=!0),!0):!1},g.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},g.prototype.print_newline=function(p){this._output.add_new_line(p)},g.prototype.print_token=function(p){p.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(p.text))},g.prototype.indent=function(){this.indent_level++},g.prototype.get_full_indent=function(p){return p=this.indent_level+(p||0),p<1?\"\":this._output.get_indent_string(p)};var _=function(p){for(var m=null,v=p.next;v.type!==h.EOF&&p.closed!==v;){if(v.type===h.ATTRIBUTE&&v.text===\"type\"){v.next&&v.next.type===h.EQUALS&&v.next.next&&v.next.next.type===h.VALUE&&(m=v.next.next.text);break}v=v.next}return m},b=function(p,m){var v=null,z=null;return m.closed?(p===\"script\"?v=\"text/javascript\":p===\"style\"&&(v=\"text/css\"),v=_(m)||v,v.search(\"text/css\")>-1?z=\"css\":v.search(/module|((text|application|dojo)\\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\\+)?json|method|aspect))/)>-1?z=\"javascript\":v.search(/(text|application|dojo)\\/(x-)?(html)/)>-1?z=\"html\":v.search(/test\\/null/)>-1&&(z=\"null\"),z):null};function y(p,m){return m.indexOf(p)!==-1}function C(p,m,v){this.parent=p||null,this.tag=m?m.tag_name:\"\",this.indent_level=v||0,this.parser_token=m||null}function w(p){this._printer=p,this._current_frame=null}w.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},w.prototype.record_tag=function(p){var m=new C(this._current_frame,p,this._printer.indent_level);this._current_frame=m},w.prototype._try_pop_frame=function(p){var m=null;return p&&(m=p.parser_token,this._printer.indent_level=p.indent_level,this._current_frame=p.parent),m},w.prototype._get_frame=function(p,m){for(var v=this._current_frame;v&&p.indexOf(v.tag)===-1;){if(m&&m.indexOf(v.tag)!==-1){v=null;break}v=v.parent}return v},w.prototype.try_pop=function(p,m){var v=this._get_frame([p],m);return this._try_pop_frame(v)},w.prototype.indent_to_tag=function(p){var m=this._get_frame(p);m&&(this._printer.indent_level=m.indent_level)};function k(p,m,v,z){this._source_text=p||\"\",m=m||{},this._js_beautify=v,this._css_beautify=z,this._tag_stack=null;var M=new u(m,\"html\");this._options=M,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)===\"force\",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes===\"force-expand-multiline\",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes===\"force-aligned\",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes===\"aligned-multiple\",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)===\"preserve\",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes===\"preserve-aligned\"}k.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var p=this._source_text,m=this._options.eol;this._options.eol===\"auto\"&&(m=`\n`,p&&d.test(p)&&(m=p.match(d)[0])),p=p.replace(f,`\n`);var v=p.match(/^[\\t ]*/)[0],z={text:\"\",type:\"\"},M=new A,U=new g(this._options,v),F=new c(p,this._options).tokenize();this._tag_stack=new w(U);for(var B=null,P=F.next();P.type!==h.EOF;)P.type===h.TAG_OPEN||P.type===h.COMMENT?(B=this._handle_tag_open(U,P,M,z),M=B):P.type===h.ATTRIBUTE||P.type===h.EQUALS||P.type===h.VALUE||P.type===h.TEXT&&!M.tag_complete?B=this._handle_inside_tag(U,P,M,F):P.type===h.TAG_CLOSE?B=this._handle_tag_close(U,P,M):P.type===h.TEXT?B=this._handle_text(U,P,M):U.add_raw_token(P),z=B,P=F.next();var q=U._output.get_code(m);return q},k.prototype._handle_tag_close=function(p,m,v){var z={text:m.text,type:m.type};return p.alignment_size=0,v.tag_complete=!0,p.set_space_before_token(m.newlines||m.whitespace_before!==\"\",!0),v.is_unformatted?p.add_raw_token(m):(v.tag_start_char===\"<\"&&(p.set_space_before_token(m.text[0]===\"/\",!0),this._is_wrap_attributes_force_expand_multiline&&v.has_wrapped_attrs&&p.print_newline(!1)),p.print_token(m)),v.indent_content&&!(v.is_unformatted||v.is_content_unformatted)&&(p.indent(),v.indent_content=!1),!v.is_inline_element&&!(v.is_unformatted||v.is_content_unformatted)&&p.set_wrap_point(),z},k.prototype._handle_inside_tag=function(p,m,v,z){var M=v.has_wrapped_attrs,U={text:m.text,type:m.type};if(p.set_space_before_token(m.newlines||m.whitespace_before!==\"\",!0),v.is_unformatted)p.add_raw_token(m);else if(v.tag_start_char===\"{\"&&m.type===h.TEXT)p.print_preserved_newlines(m)?(m.newlines=0,p.add_raw_token(m)):p.print_token(m);else{if(m.type===h.ATTRIBUTE?(p.set_space_before_token(!0),v.attr_count+=1):(m.type===h.EQUALS||m.type===h.VALUE&&m.previous.type===h.EQUALS)&&p.set_space_before_token(!1),m.type===h.ATTRIBUTE&&v.tag_start_char===\"<\"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(p.traverse_whitespace(m),M=M||m.newlines!==0),this._is_wrap_attributes_force)){var F=v.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&v.attr_count===1){var B=!0,P=0,q;do{if(q=z.peek(P),q.type===h.ATTRIBUTE){B=!1;break}P+=1}while(P<4&&q.type!==h.EOF&&q.type!==h.TAG_CLOSE);F=!B}F&&(p.print_newline(!1),M=!0)}p.print_token(m),M=M||p.previous_token_wrapped(),v.has_wrapped_attrs=M}return U},k.prototype._handle_text=function(p,m,v){var z={text:m.text,type:\"TK_CONTENT\"};return v.custom_beautifier_name?this._print_custom_beatifier_text(p,m,v):v.is_unformatted||v.is_content_unformatted?p.add_raw_token(m):(p.traverse_whitespace(m),p.print_token(m)),z},k.prototype._print_custom_beatifier_text=function(p,m,v){var z=this;if(m.text!==\"\"){var M=m.text,U,F=1,B=\"\",P=\"\";v.custom_beautifier_name===\"javascript\"&&typeof this._js_beautify==\"function\"?U=this._js_beautify:v.custom_beautifier_name===\"css\"&&typeof this._css_beautify==\"function\"?U=this._css_beautify:v.custom_beautifier_name===\"html\"&&(U=function(D,N){var W=new k(D,N,z._js_beautify,z._css_beautify);return W.beautify()}),this._options.indent_scripts===\"keep\"?F=0:this._options.indent_scripts===\"separate\"&&(F=-p.indent_level);var q=p.get_full_indent(F);if(M=M.replace(/\\n[ \\t]*$/,\"\"),v.custom_beautifier_name!==\"html\"&&M[0]===\"<\"&&M.match(/^(<!--|<!\\[CDATA\\[)/)){var L=/^(<!--[^\\n]*|<!\\[CDATA\\[)(\\n?)([ \\t\\n]*)([\\s\\S]*)(-->|]]>)$/.exec(M);if(!L){p.add_raw_token(m);return}B=q+L[1]+`\n`,M=L[4],L[5]&&(P=q+L[5]),M=M.replace(/\\n[ \\t]*$/,\"\"),(L[2]||L[3].indexOf(`\n`)!==-1)&&(L=L[3].match(/[ \\t]+$/),L&&(m.whitespace_before=L[0]))}if(M)if(U){var T=function(){this.eol=`\n`};T.prototype=this._options.raw_options;var E=new T;M=U(q+M,E)}else{var I=m.whitespace_before;I&&(M=M.replace(new RegExp(`\n(`+I+\")?\",\"g\"),`\n`)),M=q+M.replace(/\\n/g,`\n`+q)}B&&(M?M=B+M+`\n`+P:M=B+P),p.print_newline(!1),M&&(m.text=M,m.whitespace_before=\"\",m.newlines=0,p.add_raw_token(m),p.print_newline(!0))}},k.prototype._handle_tag_open=function(p,m,v,z){var M=this._get_tag_open_token(m);return(v.is_unformatted||v.is_content_unformatted)&&!v.is_empty_element&&m.type===h.TAG_OPEN&&m.text.indexOf(\"</\")===0?(p.add_raw_token(m),M.start_tag_token=this._tag_stack.try_pop(M.tag_name)):(p.traverse_whitespace(m),this._set_tag_position(p,m,M,v,z),M.is_inline_element||p.set_wrap_point(),p.print_token(m)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(M.alignment_size=m.text.length+1),!M.tag_complete&&!M.is_unformatted&&(p.alignment_size=M.alignment_size),M};var A=function(p,m){if(this.parent=p||null,this.text=\"\",this.type=\"TK_TAG_OPEN\",this.tag_name=\"\",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char=\"\",this.tag_check=\"\",!m)this.tag_complete=!0;else{var v;this.tag_start_char=m.text[0],this.text=m.text,this.tag_start_char===\"<\"?(v=m.text.match(/^<([^\\s>]*)/),this.tag_check=v?v[1]:\"\"):(v=m.text.match(/^{{(?:[\\^]|#\\*?)?([^\\s}]+)/),this.tag_check=v?v[1]:\"\",m.text===\"{{#>\"&&this.tag_check===\">\"&&m.next!==null&&(this.tag_check=m.next.text)),this.tag_check=this.tag_check.toLowerCase(),m.type===h.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!==\"/\",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||m.closed&&m.closed.text===\"/>\",this.is_end_tag=this.is_end_tag||this.tag_start_char===\"{\"&&(this.text.length<3||/[^#\\^]/.test(this.text.charAt(2)))}};k.prototype._get_tag_open_token=function(p){var m=new A(this._tag_stack.get_parser_token(),p);return m.alignment_size=this._options.wrap_attributes_indent_size,m.is_end_tag=m.is_end_tag||y(m.tag_check,this._options.void_elements),m.is_empty_element=m.tag_complete||m.is_start_tag&&m.is_end_tag,m.is_unformatted=!m.tag_complete&&y(m.tag_check,this._options.unformatted),m.is_content_unformatted=!m.is_empty_element&&y(m.tag_check,this._options.content_unformatted),m.is_inline_element=y(m.tag_name,this._options.inline)||m.tag_start_char===\"{\",m},k.prototype._set_tag_position=function(p,m,v,z,M){if(v.is_empty_element||(v.is_end_tag?v.start_tag_token=this._tag_stack.try_pop(v.tag_name):(this._do_optional_end_element(v)&&(v.is_inline_element||p.print_newline(!1)),this._tag_stack.record_tag(v),(v.tag_name===\"script\"||v.tag_name===\"style\")&&!(v.is_unformatted||v.is_content_unformatted)&&(v.custom_beautifier_name=b(v.tag_check,m)))),y(v.tag_check,this._options.extra_liners)&&(p.print_newline(!1),p._output.just_added_blankline()||p.print_newline(!0)),v.is_empty_element){if(v.tag_start_char===\"{\"&&v.tag_check===\"else\"){this._tag_stack.indent_to_tag([\"if\",\"unless\",\"each\"]),v.indent_content=!0;var U=p.current_line_has_match(/{{#if/);U||p.print_newline(!1)}v.tag_name===\"!--\"&&M.type===h.TAG_CLOSE&&z.is_end_tag&&v.text.indexOf(`\n`)===-1||(v.is_inline_element||v.is_unformatted||p.print_newline(!1),this._calcluate_parent_multiline(p,v))}else if(v.is_end_tag){var F=!1;F=v.start_tag_token&&v.start_tag_token.multiline_content,F=F||!v.is_inline_element&&!(z.is_inline_element||z.is_unformatted)&&!(M.type===h.TAG_CLOSE&&v.start_tag_token===z)&&M.type!==\"TK_CONTENT\",(v.is_content_unformatted||v.is_unformatted)&&(F=!1),F&&p.print_newline(!1)}else v.indent_content=!v.custom_beautifier_name,v.tag_start_char===\"<\"&&(v.tag_name===\"html\"?v.indent_content=this._options.indent_inner_html:v.tag_name===\"head\"?v.indent_content=this._options.indent_head_inner_html:v.tag_name===\"body\"&&(v.indent_content=this._options.indent_body_inner_html)),!(v.is_inline_element||v.is_unformatted)&&(M.type!==\"TK_CONTENT\"||v.is_content_unformatted)&&p.print_newline(!1),this._calcluate_parent_multiline(p,v)},k.prototype._calcluate_parent_multiline=function(p,m){m.parent&&p._output.just_added_newline()&&!((m.is_inline_element||m.is_unformatted)&&m.parent.is_inline_element)&&(m.parent.multiline_content=!0)};var x=[\"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\"],H=[\"a\",\"audio\",\"del\",\"ins\",\"map\",\"noscript\",\"video\"];k.prototype._do_optional_end_element=function(p){var m=null;if(!(p.is_empty_element||!p.is_start_tag||!p.parent)){if(p.tag_name===\"body\")m=m||this._tag_stack.try_pop(\"head\");else if(p.tag_name===\"li\")m=m||this._tag_stack.try_pop(\"li\",[\"ol\",\"ul\"]);else if(p.tag_name===\"dd\"||p.tag_name===\"dt\")m=m||this._tag_stack.try_pop(\"dt\",[\"dl\"]),m=m||this._tag_stack.try_pop(\"dd\",[\"dl\"]);else if(p.parent.tag_name===\"p\"&&x.indexOf(p.tag_name)!==-1){var v=p.parent.parent;(!v||H.indexOf(v.tag_name)===-1)&&(m=m||this._tag_stack.try_pop(\"p\"))}else p.tag_name===\"rp\"||p.tag_name===\"rt\"?(m=m||this._tag_stack.try_pop(\"rt\",[\"ruby\",\"rtc\"]),m=m||this._tag_stack.try_pop(\"rp\",[\"ruby\",\"rtc\"])):p.tag_name===\"optgroup\"?m=m||this._tag_stack.try_pop(\"optgroup\",[\"select\"]):p.tag_name===\"option\"?m=m||this._tag_stack.try_pop(\"option\",[\"select\",\"datalist\",\"optgroup\"]):p.tag_name===\"colgroup\"?m=m||this._tag_stack.try_pop(\"caption\",[\"table\"]):p.tag_name===\"thead\"?(m=m||this._tag_stack.try_pop(\"caption\",[\"table\"]),m=m||this._tag_stack.try_pop(\"colgroup\",[\"table\"])):p.tag_name===\"tbody\"||p.tag_name===\"tfoot\"?(m=m||this._tag_stack.try_pop(\"caption\",[\"table\"]),m=m||this._tag_stack.try_pop(\"colgroup\",[\"table\"]),m=m||this._tag_stack.try_pop(\"thead\",[\"table\"]),m=m||this._tag_stack.try_pop(\"tbody\",[\"table\"])):p.tag_name===\"tr\"?(m=m||this._tag_stack.try_pop(\"caption\",[\"table\"]),m=m||this._tag_stack.try_pop(\"colgroup\",[\"table\"]),m=m||this._tag_stack.try_pop(\"tr\",[\"table\",\"thead\",\"tbody\",\"tfoot\"])):(p.tag_name===\"th\"||p.tag_name===\"td\")&&(m=m||this._tag_stack.try_pop(\"td\",[\"table\",\"thead\",\"tbody\",\"tfoot\",\"tr\"]),m=m||this._tag_stack.try_pop(\"th\",[\"table\",\"thead\",\"tbody\",\"tfoot\",\"tr\"]));return p.parent=this._tag_stack.get_parser_token(),m}},i.exports.Beautifier=k},function(i,s,l){var u=l(6).Options;function o(c){u.call(this,c,\"html\"),this.templating.length===1&&this.templating[0]===\"auto\"&&(this.templating=[\"django\",\"erb\",\"handlebars\",\"php\"]),this.indent_inner_html=this._get_boolean(\"indent_inner_html\"),this.indent_body_inner_html=this._get_boolean(\"indent_body_inner_html\",!0),this.indent_head_inner_html=this._get_boolean(\"indent_head_inner_html\",!0),this.indent_handlebars=this._get_boolean(\"indent_handlebars\",!0),this.wrap_attributes=this._get_selection(\"wrap_attributes\",[\"auto\",\"force\",\"force-aligned\",\"force-expand-multiline\",\"aligned-multiple\",\"preserve\",\"preserve-aligned\"]),this.wrap_attributes_indent_size=this._get_number(\"wrap_attributes_indent_size\",this.indent_size),this.extra_liners=this._get_array(\"extra_liners\",[\"head\",\"body\",\"/html\"]),this.inline=this._get_array(\"inline\",[\"a\",\"abbr\",\"area\",\"audio\",\"b\",\"bdi\",\"bdo\",\"br\",\"button\",\"canvas\",\"cite\",\"code\",\"data\",\"datalist\",\"del\",\"dfn\",\"em\",\"embed\",\"i\",\"iframe\",\"img\",\"input\",\"ins\",\"kbd\",\"keygen\",\"label\",\"map\",\"mark\",\"math\",\"meter\",\"noscript\",\"object\",\"output\",\"progress\",\"q\",\"ruby\",\"s\",\"samp\",\"select\",\"small\",\"span\",\"strong\",\"sub\",\"sup\",\"svg\",\"template\",\"textarea\",\"time\",\"u\",\"var\",\"video\",\"wbr\",\"text\",\"acronym\",\"big\",\"strike\",\"tt\"]),this.void_elements=this._get_array(\"void_elements\",[\"area\",\"base\",\"br\",\"col\",\"embed\",\"hr\",\"img\",\"input\",\"keygen\",\"link\",\"menuitem\",\"meta\",\"param\",\"source\",\"track\",\"wbr\",\"!doctype\",\"?xml\",\"basefont\",\"isindex\"]),this.unformatted=this._get_array(\"unformatted\",[]),this.content_unformatted=this._get_array(\"content_unformatted\",[\"pre\",\"textarea\"]),this.unformatted_content_delimiter=this._get_characters(\"unformatted_content_delimiter\"),this.indent_scripts=this._get_selection(\"indent_scripts\",[\"normal\",\"keep\",\"separate\"])}o.prototype=new u,i.exports.Options=o},function(i,s,l){var u=l(9).Tokenizer,o=l(9).TOKEN,c=l(13).Directives,h=l(14).TemplatablePattern,d=l(12).Pattern,f={TAG_OPEN:\"TK_TAG_OPEN\",TAG_CLOSE:\"TK_TAG_CLOSE\",ATTRIBUTE:\"TK_ATTRIBUTE\",EQUALS:\"TK_EQUALS\",VALUE:\"TK_VALUE\",COMMENT:\"TK_COMMENT\",TEXT:\"TK_TEXT\",UNKNOWN:\"TK_UNKNOWN\",START:o.START,RAW:o.RAW,EOF:o.EOF},g=new c(/<\\!--/,/-->/),_=function(b,y){u.call(this,b,y),this._current_tag_name=\"\";var C=new h(this._input).read_options(this._options),w=new d(this._input);if(this.__patterns={word:C.until(/[\\n\\r\\t <]/),single_quote:C.until_after(/'/),double_quote:C.until_after(/\"/),attribute:C.until(/[\\n\\r\\t =>]|\\/>/),element_name:C.until(/[\\n\\r\\t >\\/]/),handlebars_comment:w.starting_with(/{{!--/).until_after(/--}}/),handlebars:w.starting_with(/{{/).until_after(/}}/),handlebars_open:w.until(/[\\n\\r\\t }]/),handlebars_raw_close:w.until(/}}/),comment:w.starting_with(/<!--/).until_after(/-->/),cdata:w.starting_with(/<!\\[CDATA\\[/).until_after(/]]>/),conditional_comment:w.starting_with(/<!\\[/).until_after(/]>/),processing:w.starting_with(/<\\?/).until_after(/\\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude(\"handlebars\")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var k=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=w.matching(k).until_after(k)}};_.prototype=new u,_.prototype._is_comment=function(b){return!1},_.prototype._is_opening=function(b){return b.type===f.TAG_OPEN},_.prototype._is_closing=function(b,y){return b.type===f.TAG_CLOSE&&y&&((b.text===\">\"||b.text===\"/>\")&&y.text[0]===\"<\"||b.text===\"}}\"&&y.text[0]===\"{\"&&y.text[1]===\"{\")},_.prototype._reset=function(){this._current_tag_name=\"\"},_.prototype._get_next_token=function(b,y){var C=null;this._readWhitespace();var w=this._input.peek();return w===null?this._create_token(f.EOF,\"\"):(C=C||this._read_open_handlebars(w,y),C=C||this._read_attribute(w,b,y),C=C||this._read_close(w,y),C=C||this._read_raw_content(w,b,y),C=C||this._read_content_word(w),C=C||this._read_comment_or_cdata(w),C=C||this._read_processing(w),C=C||this._read_open(w,y),C=C||this._create_token(f.UNKNOWN,this._input.next()),C)},_.prototype._read_comment_or_cdata=function(b){var y=null,C=null,w=null;if(b===\"<\"){var k=this._input.peek(1);k===\"!\"&&(C=this.__patterns.comment.read(),C?(w=g.get_directives(C),w&&w.ignore===\"start\"&&(C+=g.readIgnored(this._input))):C=this.__patterns.cdata.read()),C&&(y=this._create_token(f.COMMENT,C),y.directives=w)}return y},_.prototype._read_processing=function(b){var y=null,C=null,w=null;if(b===\"<\"){var k=this._input.peek(1);(k===\"!\"||k===\"?\")&&(C=this.__patterns.conditional_comment.read(),C=C||this.__patterns.processing.read()),C&&(y=this._create_token(f.COMMENT,C),y.directives=w)}return y},_.prototype._read_open=function(b,y){var C=null,w=null;return y||b===\"<\"&&(C=this._input.next(),this._input.peek()===\"/\"&&(C+=this._input.next()),C+=this.__patterns.element_name.read(),w=this._create_token(f.TAG_OPEN,C)),w},_.prototype._read_open_handlebars=function(b,y){var C=null,w=null;return y||this._options.indent_handlebars&&b===\"{\"&&this._input.peek(1)===\"{\"&&(this._input.peek(2)===\"!\"?(C=this.__patterns.handlebars_comment.read(),C=C||this.__patterns.handlebars.read(),w=this._create_token(f.COMMENT,C)):(C=this.__patterns.handlebars_open.read(),w=this._create_token(f.TAG_OPEN,C))),w},_.prototype._read_close=function(b,y){var C=null,w=null;return y&&(y.text[0]===\"<\"&&(b===\">\"||b===\"/\"&&this._input.peek(1)===\">\")?(C=this._input.next(),b===\"/\"&&(C+=this._input.next()),w=this._create_token(f.TAG_CLOSE,C)):y.text[0]===\"{\"&&b===\"}\"&&this._input.peek(1)===\"}\"&&(this._input.next(),this._input.next(),w=this._create_token(f.TAG_CLOSE,\"}}\"))),w},_.prototype._read_attribute=function(b,y,C){var w=null,k=\"\";if(C&&C.text[0]===\"<\")if(b===\"=\")w=this._create_token(f.EQUALS,this._input.next());else if(b==='\"'||b===\"'\"){var A=this._input.next();b==='\"'?A+=this.__patterns.double_quote.read():A+=this.__patterns.single_quote.read(),w=this._create_token(f.VALUE,A)}else k=this.__patterns.attribute.read(),k&&(y.type===f.EQUALS?w=this._create_token(f.VALUE,k):w=this._create_token(f.ATTRIBUTE,k));return w},_.prototype._is_content_unformatted=function(b){return this._options.void_elements.indexOf(b)===-1&&(this._options.content_unformatted.indexOf(b)!==-1||this._options.unformatted.indexOf(b)!==-1)},_.prototype._read_raw_content=function(b,y,C){var w=\"\";if(C&&C.text[0]===\"{\")w=this.__patterns.handlebars_raw_close.read();else if(y.type===f.TAG_CLOSE&&y.opened.text[0]===\"<\"&&y.text[0]!==\"/\"){var k=y.opened.text.substr(1).toLowerCase();if(k===\"script\"||k===\"style\"){var A=this._read_comment_or_cdata(b);if(A)return A.type=f.TEXT,A;w=this._input.readUntil(new RegExp(\"</\"+k+\"[\\\\n\\\\r\\\\t ]*?>\",\"ig\"))}else this._is_content_unformatted(k)&&(w=this._input.readUntil(new RegExp(\"</\"+k+\"[\\\\n\\\\r\\\\t ]*?>\",\"ig\")))}return w?this._create_token(f.TEXT,w):null},_.prototype._read_content_word=function(b){var y=\"\";if(this._options.unformatted_content_delimiter&&b===this._options.unformatted_content_delimiter[0]&&(y=this.__patterns.unformatted_content_delimiter.read()),y||(y=this.__patterns.word.read()),y)return this._create_token(f.TEXT,y)},i.exports.Tokenizer=_,i.exports.TOKEN=f}],t={};function n(i){var s=t[i];if(s!==void 0)return s.exports;var l=t[i]={exports:{}};return e[i](l,l.exports,n),l.exports}var r=n(18);Bi=r})();function wo(e,t){return Bi(e,t,go,bo)}function vo(e,t,n){var r=e.getText(),i=!0,s=0,l=n.tabSize||4;if(t){for(var u=e.offsetAt(t.start),o=u;o>0&&qi(r,o-1);)o--;o===0||Pi(r,o-1)?u=o:o<u&&(u=o+1);for(var c=e.offsetAt(t.end),h=c;h<r.length&&qi(r,h);)h++;(h===r.length||Pi(r,h))&&(c=h),t=X.create(e.positionAt(u),e.positionAt(c));var d=r.substring(0,u);if(new RegExp(/.*[<][^>]*$/).test(d))return r=r.substring(u,c),[{range:t,newText:r}];if(i=c===r.length,r=r.substring(u,c),u!==0){var f=e.offsetAt(ne.create(t.start.line,0));s=To(e.getText(),f,n)}}else t=X.create(ne.create(0,0),e.positionAt(r.length));var g={indent_size:l,indent_char:n.insertSpaces?\" \":\"\t\",indent_empty_lines:me(n,\"indentEmptyLines\",!1),wrap_line_length:me(n,\"wrapLineLength\",120),unformatted:xn(n,\"unformatted\",void 0),content_unformatted:xn(n,\"contentUnformatted\",void 0),indent_inner_html:me(n,\"indentInnerHtml\",!1),preserve_newlines:me(n,\"preserveNewLines\",!0),max_preserve_newlines:me(n,\"maxPreserveNewLines\",32786),indent_handlebars:me(n,\"indentHandlebars\",!1),end_with_newline:i&&me(n,\"endWithNewline\",!1),extra_liners:xn(n,\"extraLiners\",void 0),wrap_attributes:me(n,\"wrapAttributes\",\"auto\"),wrap_attributes_indent_size:me(n,\"wrapAttributesIndentSize\",void 0),eol:`\n`,indent_scripts:me(n,\"indentScripts\",\"normal\"),templating:yo(n,\"all\"),unformatted_content_delimiter:me(n,\"unformattedContentDelimiter\",\"\")},_=wo(_o(r),g);if(s>0){var b=n.insertSpaces?Ui(\" \",l*s):Ui(\"\t\",s);_=_.split(`\n`).join(`\n`+b),t.start.character===0&&(_=b+_)}return[{range:t,newText:_}]}function _o(e){return e.replace(/^\\s+/,\"\")}function me(e,t,n){if(e&&e.hasOwnProperty(t)){var r=e[t];if(r!==null)return r}return n}function xn(e,t,n){var r=me(e,t,null);return typeof r==\"string\"?r.length>0?r.split(\",\").map(function(i){return i.trim().toLowerCase()}):[]:n}function yo(e,t){var n=me(e,\"templating\",t);return n===!0?[\"auto\"]:[\"none\"]}function To(e,t,n){for(var r=t,i=0,s=n.tabSize||4;r<e.length;){var l=e.charAt(r);if(l===\" \")i++;else if(l===\"\t\")i+=s;else break;r++}return Math.floor(i/s)}function Pi(e,t){return`\\r\n`.indexOf(e.charAt(t))!==-1}function qi(e,t){return\" \t\".indexOf(e.charAt(t))!==-1}var Oi;Oi=(()=>{var e={470:r=>{function i(u){if(typeof u!=\"string\")throw new TypeError(\"Path must be a string. Received \"+JSON.stringify(u))}function s(u,o){for(var c,h=\"\",d=0,f=-1,g=0,_=0;_<=u.length;++_){if(_<u.length)c=u.charCodeAt(_);else{if(c===47)break;c=47}if(c===47){if(!(f===_-1||g===1))if(f!==_-1&&g===2){if(h.length<2||d!==2||h.charCodeAt(h.length-1)!==46||h.charCodeAt(h.length-2)!==46){if(h.length>2){var b=h.lastIndexOf(\"/\");if(b!==h.length-1){b===-1?(h=\"\",d=0):d=(h=h.slice(0,b)).length-1-h.lastIndexOf(\"/\"),f=_,g=0;continue}}else if(h.length===2||h.length===1){h=\"\",d=0,f=_,g=0;continue}}o&&(h.length>0?h+=\"/..\":h=\"..\",d=2)}else h.length>0?h+=\"/\"+u.slice(f+1,_):h=u.slice(f+1,_),d=_-f-1;f=_,g=0}else c===46&&g!==-1?++g:g=-1}return h}var l={resolve:function(){for(var u,o=\"\",c=!1,h=arguments.length-1;h>=-1&&!c;h--){var d;h>=0?d=arguments[h]:(u===void 0&&(u=process.cwd()),d=u),i(d),d.length!==0&&(o=d+\"/\"+o,c=d.charCodeAt(0)===47)}return o=s(o,!c),c?o.length>0?\"/\"+o:\"/\":o.length>0?o:\".\"},normalize:function(u){if(i(u),u.length===0)return\".\";var o=u.charCodeAt(0)===47,c=u.charCodeAt(u.length-1)===47;return(u=s(u,!o)).length!==0||o||(u=\".\"),u.length>0&&c&&(u+=\"/\"),o?\"/\"+u:u},isAbsolute:function(u){return i(u),u.length>0&&u.charCodeAt(0)===47},join:function(){if(arguments.length===0)return\".\";for(var u,o=0;o<arguments.length;++o){var c=arguments[o];i(c),c.length>0&&(u===void 0?u=c:u+=\"/\"+c)}return u===void 0?\".\":l.normalize(u)},relative:function(u,o){if(i(u),i(o),u===o||(u=l.resolve(u))===(o=l.resolve(o)))return\"\";for(var c=1;c<u.length&&u.charCodeAt(c)===47;++c);for(var h=u.length,d=h-c,f=1;f<o.length&&o.charCodeAt(f)===47;++f);for(var g=o.length-f,_=d<g?d:g,b=-1,y=0;y<=_;++y){if(y===_){if(g>_){if(o.charCodeAt(f+y)===47)return o.slice(f+y+1);if(y===0)return o.slice(f+y)}else d>_&&(u.charCodeAt(c+y)===47?b=y:y===0&&(b=0));break}var C=u.charCodeAt(c+y);if(C!==o.charCodeAt(f+y))break;C===47&&(b=y)}var w=\"\";for(y=c+b+1;y<=h;++y)y!==h&&u.charCodeAt(y)!==47||(w.length===0?w+=\"..\":w+=\"/..\");return w.length>0?w+o.slice(f+b):(f+=b,o.charCodeAt(f)===47&&++f,o.slice(f))},_makeLong:function(u){return u},dirname:function(u){if(i(u),u.length===0)return\".\";for(var o=u.charCodeAt(0),c=o===47,h=-1,d=!0,f=u.length-1;f>=1;--f)if((o=u.charCodeAt(f))===47){if(!d){h=f;break}}else d=!1;return h===-1?c?\"/\":\".\":c&&h===1?\"//\":u.slice(0,h)},basename:function(u,o){if(o!==void 0&&typeof o!=\"string\")throw new TypeError('\"ext\" argument must be a string');i(u);var c,h=0,d=-1,f=!0;if(o!==void 0&&o.length>0&&o.length<=u.length){if(o.length===u.length&&o===u)return\"\";var g=o.length-1,_=-1;for(c=u.length-1;c>=0;--c){var b=u.charCodeAt(c);if(b===47){if(!f){h=c+1;break}}else _===-1&&(f=!1,_=c+1),g>=0&&(b===o.charCodeAt(g)?--g==-1&&(d=c):(g=-1,d=_))}return h===d?d=_:d===-1&&(d=u.length),u.slice(h,d)}for(c=u.length-1;c>=0;--c)if(u.charCodeAt(c)===47){if(!f){h=c+1;break}}else d===-1&&(f=!1,d=c+1);return d===-1?\"\":u.slice(h,d)},extname:function(u){i(u);for(var o=-1,c=0,h=-1,d=!0,f=0,g=u.length-1;g>=0;--g){var _=u.charCodeAt(g);if(_!==47)h===-1&&(d=!1,h=g+1),_===46?o===-1?o=g:f!==1&&(f=1):o!==-1&&(f=-1);else if(!d){c=g+1;break}}return o===-1||h===-1||f===0||f===1&&o===h-1&&o===c+1?\"\":u.slice(o,h)},format:function(u){if(u===null||typeof u!=\"object\")throw new TypeError('The \"pathObject\" argument must be of type Object. Received type '+typeof u);return function(o,c){var h=c.dir||c.root,d=c.base||(c.name||\"\")+(c.ext||\"\");return h?h===c.root?h+d:h+\"/\"+d:d}(0,u)},parse:function(u){i(u);var o={root:\"\",dir:\"\",base:\"\",ext:\"\",name:\"\"};if(u.length===0)return o;var c,h=u.charCodeAt(0),d=h===47;d?(o.root=\"/\",c=1):c=0;for(var f=-1,g=0,_=-1,b=!0,y=u.length-1,C=0;y>=c;--y)if((h=u.charCodeAt(y))!==47)_===-1&&(b=!1,_=y+1),h===46?f===-1?f=y:C!==1&&(C=1):f!==-1&&(C=-1);else if(!b){g=y+1;break}return f===-1||_===-1||C===0||C===1&&f===_-1&&f===g+1?_!==-1&&(o.base=o.name=g===0&&d?u.slice(1,_):u.slice(g,_)):(g===0&&d?(o.name=u.slice(1,f),o.base=u.slice(1,_)):(o.name=u.slice(g,f),o.base=u.slice(g,_)),o.ext=u.slice(f,_)),g>0?o.dir=u.slice(0,g-1):d&&(o.dir=\"/\"),o},sep:\"/\",delimiter:\":\",win32:null,posix:null};l.posix=l,r.exports=l},447:(r,i,s)=>{var l;if(s.r(i),s.d(i,{URI:()=>w,Utils:()=>F}),typeof process==\"object\")l=process.platform===\"win32\";else if(typeof navigator==\"object\"){var u=navigator.userAgent;l=u.indexOf(\"Windows\")>=0}var o,c,h=(o=function(L,T){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,I){E.__proto__=I}||function(E,I){for(var D in I)Object.prototype.hasOwnProperty.call(I,D)&&(E[D]=I[D])})(L,T)},function(L,T){if(typeof T!=\"function\"&&T!==null)throw new TypeError(\"Class extends value \"+String(T)+\" is not a constructor or null\");function E(){this.constructor=L}o(L,T),L.prototype=T===null?Object.create(T):(E.prototype=T.prototype,new E)}),d=/^\\w[\\w\\d+.-]*$/,f=/^\\//,g=/^\\/\\//;function _(L,T){if(!L.scheme&&T)throw new Error('[UriError]: Scheme is missing: {scheme: \"\", authority: \"'.concat(L.authority,'\", path: \"').concat(L.path,'\", query: \"').concat(L.query,'\", fragment: \"').concat(L.fragment,'\"}'));if(L.scheme&&!d.test(L.scheme))throw new Error(\"[UriError]: Scheme contains illegal characters.\");if(L.path){if(L.authority){if(!f.test(L.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(g.test(L.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters (\"//\")')}}var b=\"\",y=\"/\",C=/^(([^:/?#]+?):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/,w=function(){function L(T,E,I,D,N,W){W===void 0&&(W=!1),typeof T==\"object\"?(this.scheme=T.scheme||b,this.authority=T.authority||b,this.path=T.path||b,this.query=T.query||b,this.fragment=T.fragment||b):(this.scheme=function(G,$){return G||$?G:\"file\"}(T,W),this.authority=E||b,this.path=function(G,$){switch(G){case\"https\":case\"http\":case\"file\":$?$[0]!==y&&($=y+$):$=y}return $}(this.scheme,I||b),this.query=D||b,this.fragment=N||b,_(this,W))}return L.isUri=function(T){return T instanceof L||!!T&&typeof T.authority==\"string\"&&typeof T.fragment==\"string\"&&typeof T.path==\"string\"&&typeof T.query==\"string\"&&typeof T.scheme==\"string\"&&typeof T.fsPath==\"string\"&&typeof T.with==\"function\"&&typeof T.toString==\"function\"},Object.defineProperty(L.prototype,\"fsPath\",{get:function(){return m(this,!1)},enumerable:!1,configurable:!0}),L.prototype.with=function(T){if(!T)return this;var E=T.scheme,I=T.authority,D=T.path,N=T.query,W=T.fragment;return E===void 0?E=this.scheme:E===null&&(E=b),I===void 0?I=this.authority:I===null&&(I=b),D===void 0?D=this.path:D===null&&(D=b),N===void 0?N=this.query:N===null&&(N=b),W===void 0?W=this.fragment:W===null&&(W=b),E===this.scheme&&I===this.authority&&D===this.path&&N===this.query&&W===this.fragment?this:new A(E,I,D,N,W)},L.parse=function(T,E){E===void 0&&(E=!1);var I=C.exec(T);return I?new A(I[2]||b,U(I[4]||b),U(I[5]||b),U(I[7]||b),U(I[9]||b),E):new A(b,b,b,b,b)},L.file=function(T){var E=b;if(l&&(T=T.replace(/\\\\/g,y)),T[0]===y&&T[1]===y){var I=T.indexOf(y,2);I===-1?(E=T.substring(2),T=y):(E=T.substring(2,I),T=T.substring(I)||y)}return new A(\"file\",E,T,b,b)},L.from=function(T){var E=new A(T.scheme,T.authority,T.path,T.query,T.fragment);return _(E,!0),E},L.prototype.toString=function(T){return T===void 0&&(T=!1),v(this,T)},L.prototype.toJSON=function(){return this},L.revive=function(T){if(T){if(T instanceof L)return T;var E=new A(T);return E._formatted=T.external,E._fsPath=T._sep===k?T.fsPath:null,E}return T},L}(),k=l?1:void 0,A=function(L){function T(){var E=L!==null&&L.apply(this,arguments)||this;return E._formatted=null,E._fsPath=null,E}return h(T,L),Object.defineProperty(T.prototype,\"fsPath\",{get:function(){return this._fsPath||(this._fsPath=m(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),T.prototype.toString=function(E){return E===void 0&&(E=!1),E?v(this,!0):(this._formatted||(this._formatted=v(this,!1)),this._formatted)},T.prototype.toJSON=function(){var E={$mid:1};return this._fsPath&&(E.fsPath=this._fsPath,E._sep=k),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},T}(w),x=((c={})[58]=\"%3A\",c[47]=\"%2F\",c[63]=\"%3F\",c[35]=\"%23\",c[91]=\"%5B\",c[93]=\"%5D\",c[64]=\"%40\",c[33]=\"%21\",c[36]=\"%24\",c[38]=\"%26\",c[39]=\"%27\",c[40]=\"%28\",c[41]=\"%29\",c[42]=\"%2A\",c[43]=\"%2B\",c[44]=\"%2C\",c[59]=\"%3B\",c[61]=\"%3D\",c[32]=\"%20\",c);function H(L,T){for(var E=void 0,I=-1,D=0;D<L.length;D++){var N=L.charCodeAt(D);if(N>=97&&N<=122||N>=65&&N<=90||N>=48&&N<=57||N===45||N===46||N===95||N===126||T&&N===47)I!==-1&&(E+=encodeURIComponent(L.substring(I,D)),I=-1),E!==void 0&&(E+=L.charAt(D));else{E===void 0&&(E=L.substr(0,D));var W=x[N];W!==void 0?(I!==-1&&(E+=encodeURIComponent(L.substring(I,D)),I=-1),E+=W):I===-1&&(I=D)}}return I!==-1&&(E+=encodeURIComponent(L.substring(I))),E!==void 0?E:L}function p(L){for(var T=void 0,E=0;E<L.length;E++){var I=L.charCodeAt(E);I===35||I===63?(T===void 0&&(T=L.substr(0,E)),T+=x[I]):T!==void 0&&(T+=L[E])}return T!==void 0?T:L}function m(L,T){var E;return E=L.authority&&L.path.length>1&&L.scheme===\"file\"?\"//\".concat(L.authority).concat(L.path):L.path.charCodeAt(0)===47&&(L.path.charCodeAt(1)>=65&&L.path.charCodeAt(1)<=90||L.path.charCodeAt(1)>=97&&L.path.charCodeAt(1)<=122)&&L.path.charCodeAt(2)===58?T?L.path.substr(1):L.path[1].toLowerCase()+L.path.substr(2):L.path,l&&(E=E.replace(/\\//g,\"\\\\\")),E}function v(L,T){var E=T?p:H,I=\"\",D=L.scheme,N=L.authority,W=L.path,G=L.query,$=L.fragment;if(D&&(I+=D,I+=\":\"),(N||D===\"file\")&&(I+=y,I+=y),N){var j=N.indexOf(\"@\");if(j!==-1){var J=N.substr(0,j);N=N.substr(j+1),(j=J.indexOf(\":\"))===-1?I+=E(J,!1):(I+=E(J.substr(0,j),!1),I+=\":\",I+=E(J.substr(j+1),!1)),I+=\"@\"}(j=(N=N.toLowerCase()).indexOf(\":\"))===-1?I+=E(N,!1):(I+=E(N.substr(0,j),!1),I+=N.substr(j))}if(W){if(W.length>=3&&W.charCodeAt(0)===47&&W.charCodeAt(2)===58)(oe=W.charCodeAt(1))>=65&&oe<=90&&(W=\"/\".concat(String.fromCharCode(oe+32),\":\").concat(W.substr(3)));else if(W.length>=2&&W.charCodeAt(1)===58){var oe;(oe=W.charCodeAt(0))>=65&&oe<=90&&(W=\"\".concat(String.fromCharCode(oe+32),\":\").concat(W.substr(2)))}I+=E(W,!0)}return G&&(I+=\"?\",I+=E(G,!1)),$&&(I+=\"#\",I+=T?$:H($,!1)),I}function z(L){try{return decodeURIComponent(L)}catch{return L.length>3?L.substr(0,3)+z(L.substr(3)):L}}var M=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function U(L){return L.match(M)?L.replace(M,function(T){return z(T)}):L}var F,B=s(470),P=function(L,T,E){if(E||arguments.length===2)for(var I,D=0,N=T.length;D<N;D++)!I&&D in T||(I||(I=Array.prototype.slice.call(T,0,D)),I[D]=T[D]);return L.concat(I||Array.prototype.slice.call(T))},q=B.posix||B;(function(L){L.joinPath=function(T){for(var E=[],I=1;I<arguments.length;I++)E[I-1]=arguments[I];return T.with({path:q.join.apply(q,P([T.path],E,!1))})},L.resolvePath=function(T){for(var E=[],I=1;I<arguments.length;I++)E[I-1]=arguments[I];var D=T.path||\"/\";return T.with({path:q.resolve.apply(q,P([D],E,!1))})},L.dirname=function(T){var E=q.dirname(T.path);return E.length===1&&E.charCodeAt(0)===46?T:T.with({path:E})},L.basename=function(T){return q.basename(T.path)},L.extname=function(T){return q.extname(T.path)}})(F||(F={}))}},t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}return n.d=(r,i)=>{for(var s in i)n.o(i,s)&&!n.o(r,s)&&Object.defineProperty(r,s,{enumerable:!0,get:i[s]})},n.o=(r,i)=>Object.prototype.hasOwnProperty.call(r,i),n.r=r=>{typeof Symbol!=\"undefined\"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(r,\"__esModule\",{value:!0})},n(447)})();var{URI:ko,Utils:Zo}=Oi;function Ln(e){var t=e[0],n=e[e.length-1];return t===n&&(t===\"'\"||t==='\"')&&(e=e.substr(1,e.length-2)),e}function Ao(e,t){return!e.length||t===\"handlebars\"&&/{{|}}/.test(e)?!1:/\\b(w[\\w\\d+.-]*:\\/\\/)?[^\\s()<>]+(?:\\([\\w\\d]+\\)|([^[:punct:]\\s]|\\/?))/.test(e)}function Co(e,t,n,r){if(!(/^\\s*javascript\\:/i.test(t)||/[\\n\\r]/.test(t))){if(t=t.replace(/^\\s*/g,\"\"),/^https?:\\/\\//i.test(t)||/^file:\\/\\//i.test(t))return t;if(/^\\#/i.test(t))return e+t;if(/^\\/\\//i.test(t)){var i=He(e,\"https://\")?\"https\":\"http\";return i+\":\"+t.replace(/^\\s*/g,\"\")}return n?n.resolveReference(t,r||e):t}}function So(e,t,n,r,i,s){var l=Ln(n);if(!!Ao(l,e.languageId)){l.length<n.length&&(r++,i--);var u=Co(e.uri,l,t,s);if(!(!u||!xo(u)))return{range:X.create(e.positionAt(r),e.positionAt(i)),target:u}}}function xo(e){try{return ko.parse(e),!0}catch{return!1}}function Lo(e,t){for(var n=[],r=fe(e.getText(),0),i=r.scan(),s=void 0,l=!1,u=void 0,o={};i!==R.EOS;){switch(i){case R.StartTag:if(!u){var c=r.getTokenText().toLowerCase();l=c===\"base\"}break;case R.AttributeName:s=r.getTokenText().toLowerCase();break;case R.AttributeValue:if(s===\"src\"||s===\"href\"){var h=r.getTokenText();if(!l){var d=So(e,t,h,r.getTokenOffset(),r.getTokenEnd(),u);d&&n.push(d)}l&&typeof u==\"undefined\"&&(u=Ln(h),u&&t&&(u=t.resolveReference(u,e.uri))),l=!1,s=void 0}else if(s===\"id\"){var f=Ln(r.getTokenText());o[f]=r.getTokenOffset()}break}i=r.scan()}for(var g=0,_=n;g<_.length;g++){var d=_[g],b=e.uri+\"#\";if(d.target&&He(d.target,b)){var y=d.target.substr(b.length),C=o[y];if(C!==void 0){var w=e.positionAt(C);d.target=\"\"+b+(w.line+1)+\",\"+(w.character+1)}}}return n}function Eo(e,t,n){var r=e.offsetAt(t),i=n.findNodeAt(r);if(!i.tag)return[];var s=[],l=Gi(R.StartTag,e,i.start),u=typeof i.endTagStart==\"number\"&&Gi(R.EndTag,e,i.endTagStart);return(l&&ji(l,t)||u&&ji(u,t))&&(l&&s.push({kind:Dt.Read,range:l}),u&&s.push({kind:Dt.Read,range:u})),s}function Vi(e,t){return e.line<t.line||e.line===t.line&&e.character<=t.character}function ji(e,t){return Vi(e.start,t)&&Vi(t,e.end)}function Gi(e,t,n){for(var r=fe(t.getText(),n),i=r.scan();i!==R.EOS&&i!==e;)i=r.scan();return i!==R.EOS?{start:t.positionAt(r.getTokenOffset()),end:t.positionAt(r.getTokenEnd())}:null}function Mo(e,t){var n=[];return t.roots.forEach(function(r){$i(e,r,\"\",n)}),n}function $i(e,t,n,r){var i=Do(t),s=At.create(e.uri,X.create(e.positionAt(t.start),e.positionAt(t.end))),l={name:i,location:s,containerName:n,kind:Tn.Field};r.push(l),t.children.forEach(function(u){$i(e,u,i,r)})}function Do(e){var t=e.tag;if(e.attributes){var n=e.attributes.id,r=e.attributes.class;n&&(t+=\"#\"+n.replace(/[\\\"\\']/g,\"\")),r&&(t+=r.replace(/[\\\"\\']/g,\"\").split(/\\s+/).map(function(i){return\".\"+i}).join(\"\"))}return t||\"?\"}function Ro(e,t,n,r){var i,s=e.offsetAt(t),l=r.findNodeAt(s);if(!l.tag||!No(l,s,l.tag))return null;var u=[],o={start:e.positionAt(l.start+1),end:e.positionAt(l.start+1+l.tag.length)};if(u.push({range:o,newText:n}),l.endTagStart){var c={start:e.positionAt(l.endTagStart+2),end:e.positionAt(l.endTagStart+2+l.tag.length)};u.push({range:c,newText:n})}var h=(i={},i[e.uri.toString()]=u,i);return{changes:h}}function No(e,t,n){return e.endTagStart&&e.endTagStart+2<=t&&t<=e.endTagStart+2+n.length?!0:e.start+1<=t&&t<=e.start+1+n.length}function Uo(e,t,n){var r=e.offsetAt(t),i=n.findNodeAt(r);if(!i.tag||!i.endTagStart)return null;if(i.start+1<=r&&r<=i.start+1+i.tag.length){var s=r-1-i.start+i.endTagStart+2;return e.positionAt(s)}if(i.endTagStart+2<=r&&r<=i.endTagStart+2+i.tag.length){var s=r-2-i.endTagStart+i.start+1;return e.positionAt(s)}return null}function Xi(e,t,n){var r=e.offsetAt(t),i=n.findNodeAt(r),s=i.tag?i.tag.length:0;return i.endTagStart&&(i.start+1<=r&&r<=i.start+1+s||i.endTagStart+2<=r&&r<=i.endTagStart+2+s)?[X.create(e.positionAt(i.start+1),e.positionAt(i.start+1+s)),X.create(e.positionAt(i.endTagStart+2),e.positionAt(i.endTagStart+2+s))]:null}function Ho(e,t){e=e.sort(function(_,b){var y=_.startLine-b.startLine;return y===0&&(y=_.endLine-b.endLine),y});for(var n=void 0,r=[],i=[],s=[],l=function(_,b){i[_]=b,b<30&&(s[b]=(s[b]||0)+1)},u=0;u<e.length;u++){var o=e[u];if(!n)n=o,l(u,0);else if(o.startLine>n.startLine){if(o.endLine<=n.endLine)r.push(n),n=o,l(u,r.length);else if(o.startLine>n.endLine){do n=r.pop();while(n&&o.startLine>n.endLine);n&&r.push(n),n=o,l(u,r.length)}}}for(var c=0,h=0,u=0;u<s.length;u++){var d=s[u];if(d){if(d+c>t){h=u;break}c+=d}}for(var f=[],u=0;u<e.length;u++){var g=i[u];typeof g==\"number\"&&(g<h||g===h&&c++<t)&&f.push(e[u])}return f}function Io(e,t){var n=fe(e.getText()),r=n.scan(),i=[],s=[],l=null,u=-1;function o(w){i.push(w),u=w.startLine}for(;r!==R.EOS;){switch(r){case R.StartTag:{var c=n.getTokenText(),h=e.positionAt(n.getTokenOffset()).line;s.push({startLine:h,tagName:c}),l=c;break}case R.EndTag:{l=n.getTokenText();break}case R.StartTagClose:if(!l||!Ht(l))break;case R.EndTagClose:case R.StartTagSelfClose:{for(var d=s.length-1;d>=0&&s[d].tagName!==l;)d--;if(d>=0){var f=s[d];s.length=d;var g=e.positionAt(n.getTokenOffset()).line,h=f.startLine,_=g-1;_>h&&u!==h&&o({startLine:h,endLine:_})}break}case R.Comment:{var h=e.positionAt(n.getTokenOffset()).line,b=n.getTokenText(),y=b.match(/^\\s*#(region\\b)|(endregion\\b)/);if(y)if(y[1])s.push({startLine:h,tagName:\"\"});else{for(var d=s.length-1;d>=0&&s[d].tagName.length;)d--;if(d>=0){var f=s[d];s.length=d;var _=h;h=f.startLine,_>h&&u!==h&&o({startLine:h,endLine:_,kind:Ct.Region})}}else{var _=e.positionAt(n.getTokenOffset()+n.getTokenLength()).line;h<_&&o({startLine:h,endLine:_,kind:Ct.Comment})}break}}r=n.scan()}var C=t&&t.rangeLimit||Number.MAX_VALUE;return i.length>C?Ho(i,C):i}function zo(e,t){function n(r){for(var i=Wo(e,r),s=void 0,l=void 0,u=i.length-1;u>=0;u--){var o=i[u];(!s||o[0]!==s[0]||o[1]!==s[1])&&(l=Rt.create(X.create(e.positionAt(i[u][0]),e.positionAt(i[u][1])),l)),s=o}return l||(l=Rt.create(X.create(r,r))),l}return t.map(n)}function Wo(e,t){var n=Ni(e.getText()),r=e.offsetAt(t),i=n.findNodeAt(r),s=Fo(i);if(i.startTagEnd&&!i.endTagStart){if(i.startTagEnd!==i.end)return[[i.start,i.end]];var l=X.create(e.positionAt(i.startTagEnd-2),e.positionAt(i.startTagEnd)),u=e.getText(l);u===\"/>\"?s.unshift([i.start+1,i.startTagEnd-2]):s.unshift([i.start+1,i.startTagEnd-1]);var o=Ji(e,i,r);return s=o.concat(s),s}if(!i.startTagEnd||!i.endTagStart)return s;if(s.unshift([i.start,i.end]),i.start<r&&r<i.startTagEnd){s.unshift([i.start+1,i.startTagEnd-1]);var o=Ji(e,i,r);return s=o.concat(s),s}else return i.startTagEnd<=r&&r<=i.endTagStart?(s.unshift([i.startTagEnd,i.endTagStart]),s):(r>=i.endTagStart+2&&s.unshift([i.endTagStart+2,i.end-1]),s)}function Fo(e){for(var t=e,n=function(i){return i.startTagEnd&&i.endTagStart&&i.startTagEnd<i.endTagStart?[[i.startTagEnd,i.endTagStart],[i.start,i.end]]:[[i.start,i.end]]},r=[];t.parent;)t=t.parent,n(t).forEach(function(i){return r.push(i)});return r}function Ji(e,t,n){for(var r=X.create(e.positionAt(t.start),e.positionAt(t.end)),i=e.getText(r),s=n-t.start,l=fe(i),u=l.scan(),o=t.start,c=[],h=!1,d=-1;u!==R.EOS;){switch(u){case R.AttributeName:{if(s<l.getTokenOffset()){h=!1;break}s<=l.getTokenEnd()&&c.unshift([l.getTokenOffset(),l.getTokenEnd()]),h=!0,d=l.getTokenOffset();break}case R.AttributeValue:{if(!h)break;var f=l.getTokenText();if(s<l.getTokenOffset()){c.push([d,l.getTokenEnd()]);break}s>=l.getTokenOffset()&&s<=l.getTokenEnd()&&(c.unshift([l.getTokenOffset(),l.getTokenEnd()]),(f[0]==='\"'&&f[f.length-1]==='\"'||f[0]===\"'\"&&f[f.length-1]===\"'\")&&s>=l.getTokenOffset()+1&&s<=l.getTokenEnd()-1&&c.unshift([l.getTokenOffset()+1,l.getTokenEnd()-1]),c.push([d,l.getTokenEnd()]));break}}u=l.scan()}return c.map(function(g){return[g[0]+o,g[1]+o]})}var Bo={version:1.1,tags:[{name:\"html\",description:{kind:\"markdown\",value:\"The html element represents the root of an HTML document.\"},attributes:[{name:\"manifest\",description:{kind:\"markdown\",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.\"}},{name:\"version\",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.'},{name:\"xmlns\",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.'}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/html\"}]},{name:\"head\",description:{kind:\"markdown\",value:\"The head element represents a collection of metadata for the Document.\"},attributes:[{name:\"profile\",description:\"The URIs of one or more metadata profiles, separated by white space.\"}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/head\"}]},{name:\"title\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/title\"}]},{name:\"base\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"href\",description:{kind:\"markdown\",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.\"}},{name:\"target\",description:{kind:\"markdown\",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.\"}}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/base\"}]},{name:\"link\",description:{kind:\"markdown\",value:\"The link element allows authors to link their document to other resources.\"},attributes:[{name:\"href\",description:{kind:\"markdown\",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.'}},{name:\"crossorigin\",valueSet:\"xo\",description:{kind:\"markdown\",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.'}},{name:\"rel\",description:{kind:\"markdown\",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).\"}},{name:\"media\",description:{kind:\"markdown\",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.\"}},{name:\"hreflang\",description:{kind:\"markdown\",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.\"}},{name:\"type\",description:{kind:\"markdown\",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.'}},{name:\"sizes\",description:{kind:\"markdown\",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.\"}},{name:\"as\",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.'},{name:\"importance\",description:\"Indicates the relative importance of the resource. Priority hints are delegated using the values:\"},{name:\"importance\",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.'},{name:\"integrity\",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).\"},{name:\"referrerpolicy\",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.'},{name:\"title\",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).'}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/link\"}]},{name:\"meta\",description:{kind:\"markdown\",value:\"The meta element represents various kinds of metadata that cannot be expressed using the title, base, link, style, and script elements.\"},attributes:[{name:\"name\",description:{kind:\"markdown\",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\").`}},{name:\"http-equiv\",description:{kind:\"markdown\",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.'}},{name:\"content\",description:{kind:\"markdown\",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.\"}},{name:\"charset\",description:{kind:\"markdown\",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.'}},{name:\"scheme\",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.\"}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/meta\"}]},{name:\"style\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"media\",description:{kind:\"markdown\",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.\"}},{name:\"nonce\",description:{kind:\"markdown\",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.\"}},{name:\"type\",description:{kind:\"markdown\",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.\"}},{name:\"scoped\",valueSet:\"v\"},{name:\"title\",description:\"This attribute specifies [alternative style sheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets) sets.\"}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/style\"}]},{name:\"body\",description:{kind:\"markdown\",value:\"The body element represents the content of the document.\"},attributes:[{name:\"onafterprint\",description:{kind:\"markdown\",value:\"Function to call after the user has printed the document.\"}},{name:\"onbeforeprint\",description:{kind:\"markdown\",value:\"Function to call when the user requests printing of the document.\"}},{name:\"onbeforeunload\",description:{kind:\"markdown\",value:\"Function to call when the document is about to be unloaded.\"}},{name:\"onhashchange\",description:{kind:\"markdown\",value:\"Function to call when the fragment identifier part (starting with the hash (`'#'`) character) of the document's current address has changed.\"}},{name:\"onlanguagechange\",description:{kind:\"markdown\",value:\"Function to call when the preferred languages changed.\"}},{name:\"onmessage\",description:{kind:\"markdown\",value:\"Function to call when the document has received a message.\"}},{name:\"onoffline\",description:{kind:\"markdown\",value:\"Function to call when network communication has failed.\"}},{name:\"ononline\",description:{kind:\"markdown\",value:\"Function to call when network communication has been restored.\"}},{name:\"onpagehide\"},{name:\"onpageshow\"},{name:\"onpopstate\",description:{kind:\"markdown\",value:\"Function to call when the user has navigated session history.\"}},{name:\"onstorage\",description:{kind:\"markdown\",value:\"Function to call when the storage area has changed.\"}},{name:\"onunload\",description:{kind:\"markdown\",value:\"Function to call when the document is going away.\"}},{name:\"alink\",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._'},{name:\"background\",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._'},{name:\"bgcolor\",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._'},{name:\"bottommargin\",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._'},{name:\"leftmargin\",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._'},{name:\"link\",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._'},{name:\"onblur\",description:\"Function to call when the document loses focus.\"},{name:\"onerror\",description:\"Function to call when the document fails to load properly.\"},{name:\"onfocus\",description:\"Function to call when the document receives focus.\"},{name:\"onload\",description:\"Function to call when the document has finished loading.\"},{name:\"onredo\",description:\"Function to call when the user has moved forward in undo transaction history.\"},{name:\"onresize\",description:\"Function to call when the document has been resized.\"},{name:\"onundo\",description:\"Function to call when the user has moved backward in undo transaction history.\"},{name:\"rightmargin\",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._'},{name:\"text\",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._'},{name:\"topmargin\",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._'},{name:\"vlink\",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._'}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/body\"}]},{name:\"article\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/article\"}]},{name:\"section\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/section\"}]},{name:\"nav\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/nav\"}]},{name:\"aside\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/aside\"}]},{name:\"h1\",description:{kind:\"markdown\",value:\"The h1 element represents a section heading.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements\"}]},{name:\"h2\",description:{kind:\"markdown\",value:\"The h2 element represents a section heading.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements\"}]},{name:\"h3\",description:{kind:\"markdown\",value:\"The h3 element represents a section heading.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements\"}]},{name:\"h4\",description:{kind:\"markdown\",value:\"The h4 element represents a section heading.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements\"}]},{name:\"h5\",description:{kind:\"markdown\",value:\"The h5 element represents a section heading.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements\"}]},{name:\"h6\",description:{kind:\"markdown\",value:\"The h6 element represents a section heading.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements\"}]},{name:\"header\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/header\"}]},{name:\"footer\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/footer\"}]},{name:\"address\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/address\"}]},{name:\"p\",description:{kind:\"markdown\",value:\"The p element represents a paragraph.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/p\"}]},{name:\"hr\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"align\",description:\"Sets the alignment of the rule on the page. If no value is specified, the default value is `left`.\"},{name:\"color\",description:\"Sets the color of the rule through color name or hexadecimal value.\"},{name:\"noshade\",description:\"Sets the rule to have no shading.\"},{name:\"size\",description:\"Sets the height, in pixels, of the rule.\"},{name:\"width\",description:\"Sets the length of the rule on the page through a pixel or percentage value.\"}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/hr\"}]},{name:\"pre\",description:{kind:\"markdown\",value:\"The pre element represents a block of preformatted text, in which structure is represented by typographic conventions rather than by elements.\"},attributes:[{name:\"cols\",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.'},{name:\"width\",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.'},{name:\"wrap\",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.'}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/pre\"}]},{name:\"blockquote\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"cite\",description:{kind:\"markdown\",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.\"}}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/blockquote\"}]},{name:\"ol\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"reversed\",valueSet:\"v\",description:{kind:\"markdown\",value:\"This Boolean attribute specifies that the items of the list are specified in reversed order.\"}},{name:\"start\",description:{kind:\"markdown\",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.'}},{name:\"type\",valueSet:\"lt\",description:{kind:\"markdown\",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.\"}},{name:\"compact\",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%`.'}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/ol\"}]},{name:\"ul\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"compact\",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%`.'}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/ul\"}]},{name:\"li\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"value\",description:{kind:\"markdown\",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.'}},{name:\"type\",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.'}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/li\"}]},{name:\"dl\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/dl\"}]},{name:\"dt\",description:{kind:\"markdown\",value:\"The dt element represents the term, or name, part of a term-description group in a description list (dl element).\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/dt\"}]},{name:\"dd\",description:{kind:\"markdown\",value:\"The dd element represents the description, definition, or value, part of a term-description group in a description list (dl element).\"},attributes:[{name:\"nowrap\",description:\"If the value of this attribute is set to `yes`, the definition text will not wrap. The default value is `no`.\"}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/dd\"}]},{name:\"figure\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/figure\"}]},{name:\"figcaption\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/figcaption\"}]},{name:\"main\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/main\"}]},{name:\"div\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/div\"}]},{name:\"a\",description:{kind:\"markdown\",value:\"If the a element has an href attribute, then it represents a hyperlink (a hypertext anchor) labeled by its contents.\"},attributes:[{name:\"href\",description:{kind:\"markdown\",value:\"Contains a URL or a URL fragment that the hyperlink points to.\"}},{name:\"target\",description:{kind:\"markdown\",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\"`.'}},{name:\"download\",description:{kind:\"markdown\",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.\"}},{name:\"ping\",description:{kind:\"markdown\",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.'}},{name:\"rel\",description:{kind:\"markdown\",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).\"}},{name:\"hreflang\",description:{kind:\"markdown\",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\").'}},{name:\"type\",description:{kind:\"markdown\",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.'}},{name:\"referrerpolicy\",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.\"}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/a\"}]},{name:\"em\",description:{kind:\"markdown\",value:\"The em element represents stress emphasis of its contents.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/em\"}]},{name:\"strong\",description:{kind:\"markdown\",value:\"The strong element represents strong importance, seriousness, or urgency for its contents.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/strong\"}]},{name:\"small\",description:{kind:\"markdown\",value:\"The small element represents side comments such as small print.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/small\"}]},{name:\"s\",description:{kind:\"markdown\",value:\"The s element represents contents that are no longer accurate or no longer relevant.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/s\"}]},{name:\"cite\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/cite\"}]},{name:\"q\",description:{kind:\"markdown\",value:\"The q element represents some phrasing content quoted from another source.\"},attributes:[{name:\"cite\",description:{kind:\"markdown\",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.\"}}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/q\"}]},{name:\"dfn\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/dfn\"}]},{name:\"abbr\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/abbr\"}]},{name:\"ruby\",description:{kind:\"markdown\",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]\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/ruby\"}]},{name:\"rb\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/rb\"}]},{name:\"rt\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/rt\"}]},{name:\"rp\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/rp\"}]},{name:\"time\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"datetime\",description:{kind:\"markdown\",value:\"This attribute indicates the time and/or date of the element and must be in one of the formats described below.\"}}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/time\"}]},{name:\"code\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/code\"}]},{name:\"var\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/var\"}]},{name:\"samp\",description:{kind:\"markdown\",value:\"The samp element represents sample or quoted output from another program or computing system.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/samp\"}]},{name:\"kbd\",description:{kind:\"markdown\",value:\"The kbd element represents user input (typically keyboard input, although it may also be used to represent other input, such as voice commands).\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/kbd\"}]},{name:\"sub\",description:{kind:\"markdown\",value:\"The sub element represents a subscript.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/sub\"}]},{name:\"sup\",description:{kind:\"markdown\",value:\"The sup element represents a superscript.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/sup\"}]},{name:\"i\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/i\"}]},{name:\"b\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/b\"}]},{name:\"u\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/u\"}]},{name:\"mark\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/mark\"}]},{name:\"bdi\",description:{kind:\"markdown\",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]\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/bdi\"}]},{name:\"bdo\",description:{kind:\"markdown\",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]\"},attributes:[{name:\"dir\",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.\"}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/bdo\"}]},{name:\"span\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/span\"}]},{name:\"br\",description:{kind:\"markdown\",value:\"The br element represents a line break.\"},attributes:[{name:\"clear\",description:\"Indicates where to begin the next line after the break.\"}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/br\"}]},{name:\"wbr\",description:{kind:\"markdown\",value:\"The wbr element represents a line break opportunity.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/wbr\"}]},{name:\"ins\",description:{kind:\"markdown\",value:\"The ins element represents an addition to the document.\"},attributes:[{name:\"cite\",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.\"},{name:\"datetime\",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.\").'}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/ins\"}]},{name:\"del\",description:{kind:\"markdown\",value:\"The del element represents a removal from the document.\"},attributes:[{name:\"cite\",description:{kind:\"markdown\",value:\"A URI for a resource that explains the change (for example, meeting minutes).\"}},{name:\"datetime\",description:{kind:\"markdown\",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.\").'}}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/del\"}]},{name:\"picture\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/picture\"}]},{name:\"img\",description:{kind:\"markdown\",value:\"An img element represents an image.\"},attributes:[{name:\"alt\",description:{kind:\"markdown\",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.'}},{name:\"src\",description:{kind:\"markdown\",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.\"}},{name:\"srcset\",description:{kind:\"markdown\",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.\"}},{name:\"crossorigin\",valueSet:\"xo\",description:{kind:\"markdown\",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:'}},{name:\"usemap\",description:{kind:\"markdown\",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.'}},{name:\"ismap\",valueSet:\"v\",description:{kind:\"markdown\",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.'}},{name:\"width\",description:{kind:\"markdown\",value:\"The intrinsic width of the image in pixels.\"}},{name:\"height\",description:{kind:\"markdown\",value:\"The intrinsic height of the image in pixels.\"}},{name:\"decoding\",description:\"Provides an image decoding hint to the browser. The allowed values are:\"},{name:\"decoding\",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.`},{name:\"importance\",description:\"Indicates the relative importance of the resource. Priority hints are delegated using the values:\"},{name:\"importance\",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.\"},{name:\"intrinsicsize\",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)\"},{name:\"referrerpolicy\",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.\"},{name:\"sizes\",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.\"}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/img\"}]},{name:\"iframe\",description:{kind:\"markdown\",value:\"The iframe element represents a nested browsing context.\"},attributes:[{name:\"src\",description:{kind:\"markdown\",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.'}},{name:\"srcdoc\",description:{kind:\"markdown\",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.\"}},{name:\"name\",description:{kind:\"markdown\",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.'}},{name:\"sandbox\",valueSet:\"sb\",description:{kind:\"markdown\",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.'}},{name:\"seamless\",valueSet:\"v\"},{name:\"allowfullscreen\",valueSet:\"v\",description:{kind:\"markdown\",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.'}},{name:\"width\",description:{kind:\"markdown\",value:\"The width of the frame in CSS pixels. Default is `300`.\"}},{name:\"height\",description:{kind:\"markdown\",value:\"The height of the frame in CSS pixels. Default is `150`.\"}},{name:\"allow\",description:\"Specifies a [feature policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Feature_Policy) for the `<iframe>`.\"},{name:\"allowpaymentrequest\",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).\"},{name:\"allowpaymentrequest\",description:'This attribute is considered a legacy attribute and redefined as `allow=\"payment\"`.'},{name:\"csp\",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.'},{name:\"importance\",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.`},{name:\"referrerpolicy\",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.'}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/iframe\"}]},{name:\"embed\",description:{kind:\"markdown\",value:\"The embed element provides an integration point for an external (typically non-HTML) application or interactive content.\"},attributes:[{name:\"src\",description:{kind:\"markdown\",value:\"The URL\\xA0of the resource being embedded.\"}},{name:\"type\",description:{kind:\"markdown\",value:\"The MIME\\xA0type to use to select the plug-in to instantiate.\"}},{name:\"width\",description:{kind:\"markdown\",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.\"}},{name:\"height\",description:{kind:\"markdown\",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.\"}}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/embed\"}]},{name:\"object\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"data\",description:{kind:\"markdown\",value:\"The address of the resource as a valid URL. At least one of **data** and **type** must be defined.\"}},{name:\"type\",description:{kind:\"markdown\",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.\"}},{name:\"typemustmatch\",valueSet:\"v\",description:{kind:\"markdown\",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.\"}},{name:\"name\",description:{kind:\"markdown\",value:\"The name of valid browsing context (HTML5), or the name of the control (HTML 4).\"}},{name:\"usemap\",description:{kind:\"markdown\",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.\"}},{name:\"form\",description:{kind:\"markdown\",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.'}},{name:\"width\",description:{kind:\"markdown\",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))\"}},{name:\"height\",description:{kind:\"markdown\",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))\"}},{name:\"archive\",description:\"A space-separated list of URIs for archives of resources for the object.\"},{name:\"border\",description:\"The width of a border around the control, in pixels.\"},{name:\"classid\",description:\"The URI of the object's implementation. It can be used together with, or in place of, the **data** attribute.\"},{name:\"codebase\",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.\"},{name:\"codetype\",description:\"The content type of the data specified by **classid**.\"},{name:\"declare\",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.\"},{name:\"standby\",description:\"A message that the browser can show while loading the object's implementation and data.\"},{name:\"tabindex\",description:\"The position of the element in the tabbing navigation order for the current document.\"}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/object\"}]},{name:\"param\",description:{kind:\"markdown\",value:\"The param element defines parameters for plugins invoked by object elements. It does not represent anything on its own.\"},attributes:[{name:\"name\",description:{kind:\"markdown\",value:\"Name of the parameter.\"}},{name:\"value\",description:{kind:\"markdown\",value:\"Specifies the value of the parameter.\"}},{name:\"type\",description:'Only used if the `valuetype` is set to \"ref\". Specifies the MIME type of values found at the URI specified by value.'},{name:\"valuetype\",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.`}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/param\"}]},{name:\"video\",description:{kind:\"markdown\",value:\"A video element is used for playing videos or movies, and audio files with captions.\"},attributes:[{name:\"src\"},{name:\"crossorigin\",valueSet:\"xo\"},{name:\"poster\"},{name:\"preload\",valueSet:\"pl\"},{name:\"autoplay\",valueSet:\"v\",description:{kind:\"markdown\",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.\"}},{name:\"mediagroup\"},{name:\"loop\",valueSet:\"v\"},{name:\"muted\",valueSet:\"v\"},{name:\"controls\",valueSet:\"v\"},{name:\"width\"},{name:\"height\"}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/video\"}]},{name:\"audio\",description:{kind:\"markdown\",value:\"An audio element represents a sound or audio stream.\"},attributes:[{name:\"src\",description:{kind:\"markdown\",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.'}},{name:\"crossorigin\",valueSet:\"xo\",description:{kind:\"markdown\",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.'}},{name:\"preload\",valueSet:\"pl\",description:{kind:\"markdown\",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.\"}},{name:\"autoplay\",valueSet:\"v\",description:{kind:\"markdown\",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.`}},{name:\"mediagroup\"},{name:\"loop\",valueSet:\"v\",description:{kind:\"markdown\",value:\"A Boolean attribute:\\xA0if specified, the audio player will\\xA0automatically seek back to the start\\xA0upon reaching the end of the audio.\"}},{name:\"muted\",valueSet:\"v\",description:{kind:\"markdown\",value:\"A Boolean attribute that indicates whether the audio will be initially silenced. Its default value is `false`.\"}},{name:\"controls\",valueSet:\"v\",description:{kind:\"markdown\",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.\"}}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/audio\"}]},{name:\"source\",description:{kind:\"markdown\",value:\"The source element allows authors to specify multiple alternative media resources for media elements. It does not represent anything on its own.\"},attributes:[{name:\"src\",description:{kind:\"markdown\",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.'}},{name:\"type\",description:{kind:\"markdown\",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.\"}},{name:\"sizes\",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.'},{name:\"srcset\",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.\"},{name:\"media\",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.'}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/source\"}]},{name:\"track\",description:{kind:\"markdown\",value:\"The track element allows authors to specify explicit external timed text tracks for media elements. It does not represent anything on its own.\"},attributes:[{name:\"default\",valueSet:\"v\",description:{kind:\"markdown\",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.\"}},{name:\"kind\",valueSet:\"tk\",description:{kind:\"markdown\",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.\"}},{name:\"label\",description:{kind:\"markdown\",value:\"A user-readable title of the text track which is used by the browser when listing available text tracks.\"}},{name:\"src\",description:{kind:\"markdown\",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.'}},{name:\"srclang\",description:{kind:\"markdown\",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.\"}}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/track\"}]},{name:\"map\",description:{kind:\"markdown\",value:\"The map element, in conjunction with an img element and any area element descendants, defines an image map. The element represents its children.\"},attributes:[{name:\"name\",description:{kind:\"markdown\",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.\"}}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/map\"}]},{name:\"area\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"alt\"},{name:\"coords\"},{name:\"shape\",valueSet:\"sh\"},{name:\"href\"},{name:\"target\"},{name:\"download\"},{name:\"ping\"},{name:\"rel\"},{name:\"hreflang\"},{name:\"type\"},{name:\"accesskey\",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.\"}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/area\"}]},{name:\"table\",description:{kind:\"markdown\",value:\"The table element represents data with more than one dimension, in the form of a table.\"},attributes:[{name:\"border\"},{name:\"align\",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.'}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/table\"}]},{name:\"caption\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"align\",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.\").`}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/caption\"}]},{name:\"colgroup\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"span\"},{name:\"align\",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.'}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/colgroup\"}]},{name:\"col\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"span\"},{name:\"align\",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.'}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/col\"}]},{name:\"tbody\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"align\",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.'}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/tbody\"}]},{name:\"thead\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"align\",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.'}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/thead\"}]},{name:\"tfoot\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"align\",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.'}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/tfoot\"}]},{name:\"tr\",description:{kind:\"markdown\",value:\"The tr element represents a row of cells in a table.\"},attributes:[{name:\"align\",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 `\",\"`).'}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/tr\"}]},{name:\"td\",description:{kind:\"markdown\",value:\"The td element represents a data cell in a table.\"},attributes:[{name:\"colspan\"},{name:\"rowspan\"},{name:\"headers\"},{name:\"abbr\",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.`},{name:\"align\",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.'},{name:\"axis\",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.\"},{name:\"bgcolor\",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.`}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/td\"}]},{name:\"th\",description:{kind:\"markdown\",value:\"The th element represents a header cell in a table.\"},attributes:[{name:\"colspan\"},{name:\"rowspan\"},{name:\"headers\"},{name:\"scope\",valueSet:\"s\"},{name:\"sorted\"},{name:\"abbr\",description:{kind:\"markdown\",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.\"}},{name:\"align\",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.'},{name:\"axis\",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.\"},{name:\"bgcolor\",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.`}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/th\"}]},{name:\"form\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"accept-charset\",description:{kind:\"markdown\",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.'}},{name:\"action\",description:{kind:\"markdown\",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.'}},{name:\"autocomplete\",valueSet:\"o\",description:{kind:\"markdown\",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).\"}},{name:\"enctype\",valueSet:\"et\",description:{kind:\"markdown\",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.'}},{name:\"method\",valueSet:\"m\",description:{kind:\"markdown\",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.'}},{name:\"name\",description:{kind:\"markdown\",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.\"}},{name:\"novalidate\",valueSet:\"v\",description:{kind:\"markdown\",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.'}},{name:\"target\",description:{kind:\"markdown\",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.'}},{name:\"accept\",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.'},{name:\"autocapitalize\",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.\"}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/form\"}]},{name:\"label\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"form\",description:{kind:\"markdown\",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.'}},{name:\"for\",description:{kind:\"markdown\",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.\"}}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/label\"}]},{name:\"input\",description:{kind:\"markdown\",value:\"The input element represents a typed data field, usually with a form control to allow the user to edit the data.\"},attributes:[{name:\"accept\"},{name:\"alt\"},{name:\"autocomplete\",valueSet:\"inputautocomplete\"},{name:\"autofocus\",valueSet:\"v\"},{name:\"checked\",valueSet:\"v\"},{name:\"dirname\"},{name:\"disabled\",valueSet:\"v\"},{name:\"form\"},{name:\"formaction\"},{name:\"formenctype\",valueSet:\"et\"},{name:\"formmethod\",valueSet:\"fm\"},{name:\"formnovalidate\",valueSet:\"v\"},{name:\"formtarget\"},{name:\"height\"},{name:\"inputmode\",valueSet:\"im\"},{name:\"list\"},{name:\"max\"},{name:\"maxlength\"},{name:\"min\"},{name:\"minlength\"},{name:\"multiple\",valueSet:\"v\"},{name:\"name\"},{name:\"pattern\"},{name:\"placeholder\"},{name:\"readonly\",valueSet:\"v\"},{name:\"required\",valueSet:\"v\"},{name:\"size\"},{name:\"src\"},{name:\"step\"},{name:\"type\",valueSet:\"t\"},{name:\"value\"},{name:\"width\"}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/input\"}]},{name:\"button\",description:{kind:\"markdown\",value:\"The button element represents a button labeled by its contents.\"},attributes:[{name:\"autofocus\",valueSet:\"v\",description:{kind:\"markdown\",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.\"}},{name:\"disabled\",valueSet:\"v\",description:{kind:\"markdown\",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.'}},{name:\"form\",description:{kind:\"markdown\",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.'}},{name:\"formaction\",description:{kind:\"markdown\",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.\"}},{name:\"formenctype\",valueSet:\"et\",description:{kind:\"markdown\",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.'}},{name:\"formmethod\",valueSet:\"fm\",description:{kind:\"markdown\",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.\"}},{name:\"formnovalidate\",valueSet:\"v\",description:{kind:\"markdown\",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.\"}},{name:\"formtarget\",description:{kind:\"markdown\",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`.\"}},{name:\"name\",description:{kind:\"markdown\",value:\"The name of the button, which is submitted with the form data.\"}},{name:\"type\",valueSet:\"bt\",description:{kind:\"markdown\",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.\"}},{name:\"value\",description:{kind:\"markdown\",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.\"}},{name:\"autocomplete\",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\").'}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/button\"}]},{name:\"select\",description:{kind:\"markdown\",value:\"The select element represents a control for selecting amongst a set of options.\"},attributes:[{name:\"autocomplete\",valueSet:\"inputautocomplete\",description:{kind:\"markdown\",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.'}},{name:\"autofocus\",valueSet:\"v\",description:{kind:\"markdown\",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.\"}},{name:\"disabled\",valueSet:\"v\",description:{kind:\"markdown\",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.\"}},{name:\"form\",description:{kind:\"markdown\",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.'}},{name:\"multiple\",valueSet:\"v\",description:{kind:\"markdown\",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.\"}},{name:\"name\",description:{kind:\"markdown\",value:\"This attribute is used to specify the name of the control.\"}},{name:\"required\",valueSet:\"v\",description:{kind:\"markdown\",value:\"A Boolean attribute indicating that an option with a non-empty string value must be selected.\"}},{name:\"size\",description:{kind:\"markdown\",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.\"}}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/select\"}]},{name:\"datalist\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/datalist\"}]},{name:\"optgroup\",description:{kind:\"markdown\",value:\"The optgroup element represents a group of option elements with a common label.\"},attributes:[{name:\"disabled\",valueSet:\"v\",description:{kind:\"markdown\",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.\"}},{name:\"label\",description:{kind:\"markdown\",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.\"}}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/optgroup\"}]},{name:\"option\",description:{kind:\"markdown\",value:\"The option element represents an option in a select element or as part of a list of suggestions in a datalist element.\"},attributes:[{name:\"disabled\",valueSet:\"v\",description:{kind:\"markdown\",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.'}},{name:\"label\",description:{kind:\"markdown\",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.\"}},{name:\"selected\",valueSet:\"v\",description:{kind:\"markdown\",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.'}},{name:\"value\",description:{kind:\"markdown\",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.\"}}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/option\"}]},{name:\"textarea\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"autocomplete\",valueSet:\"inputautocomplete\",description:{kind:\"markdown\",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.\").'}},{name:\"autofocus\",valueSet:\"v\",description:{kind:\"markdown\",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.\"}},{name:\"cols\",description:{kind:\"markdown\",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`.\"}},{name:\"dirname\"},{name:\"disabled\",valueSet:\"v\",description:{kind:\"markdown\",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.'}},{name:\"form\",description:{kind:\"markdown\",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.'}},{name:\"inputmode\",valueSet:\"im\"},{name:\"maxlength\",description:{kind:\"markdown\",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.\"}},{name:\"minlength\",description:{kind:\"markdown\",value:\"The minimum number of characters (unicode code points) required that the user should enter.\"}},{name:\"name\",description:{kind:\"markdown\",value:\"The name of the control.\"}},{name:\"placeholder\",description:{kind:\"markdown\",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.'}},{name:\"readonly\",valueSet:\"v\",description:{kind:\"markdown\",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.\"}},{name:\"required\",valueSet:\"v\",description:{kind:\"markdown\",value:\"This attribute specifies that the user must fill in a value before submitting a form.\"}},{name:\"rows\",description:{kind:\"markdown\",value:\"The number of visible text lines for the control.\"}},{name:\"wrap\",valueSet:\"w\",description:{kind:\"markdown\",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.\"}},{name:\"autocapitalize\",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.\"},{name:\"spellcheck\",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.\"}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/textarea\"}]},{name:\"output\",description:{kind:\"markdown\",value:\"The output element represents the result of a calculation performed by the application, or the result of a user action.\"},attributes:[{name:\"for\",description:{kind:\"markdown\",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.\"}},{name:\"form\",description:{kind:\"markdown\",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.'}},{name:\"name\",description:{kind:\"markdown\",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.'}}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/output\"}]},{name:\"progress\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"value\",description:{kind:\"markdown\",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.\"}},{name:\"max\",description:{kind:\"markdown\",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.\"}}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/progress\"}]},{name:\"meter\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"value\",description:{kind:\"markdown\",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.\"}},{name:\"min\",description:{kind:\"markdown\",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.\"}},{name:\"max\",description:{kind:\"markdown\",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.\"}},{name:\"low\",description:{kind:\"markdown\",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.\"}},{name:\"high\",description:{kind:\"markdown\",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.\"}},{name:\"optimum\",description:{kind:\"markdown\",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.\"}},{name:\"form\",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.\"}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/meter\"}]},{name:\"fieldset\",description:{kind:\"markdown\",value:\"The fieldset element represents a set of form controls optionally grouped under a common name.\"},attributes:[{name:\"disabled\",valueSet:\"v\",description:{kind:\"markdown\",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.\"}},{name:\"form\",description:{kind:\"markdown\",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.'}},{name:\"name\",description:{kind:\"markdown\",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.'}}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/fieldset\"}]},{name:\"legend\",description:{kind:\"markdown\",value:\"The legend element represents a caption for the rest of the contents of the legend element's parent fieldset element, if any.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/legend\"}]},{name:\"details\",description:{kind:\"markdown\",value:\"The details element represents a disclosure widget from which the user can obtain additional information or controls.\"},attributes:[{name:\"open\",valueSet:\"v\",description:{kind:\"markdown\",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.\"}}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/details\"}]},{name:\"summary\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/summary\"}]},{name:\"dialog\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"open\",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.\"}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/dialog\"}]},{name:\"script\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"src\",description:{kind:\"markdown\",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.\"}},{name:\"type\",description:{kind:\"markdown\",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\")).'}},{name:\"charset\"},{name:\"async\",valueSet:\"v\",description:{kind:\"markdown\",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).`}},{name:\"defer\",valueSet:\"v\",description:{kind:\"markdown\",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.'}},{name:\"crossorigin\",valueSet:\"xo\",description:{kind:\"markdown\",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.'}},{name:\"nonce\",description:{kind:\"markdown\",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.\"}},{name:\"integrity\",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).\"},{name:\"nomodule\",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.\"},{name:\"referrerpolicy\",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`.'},{name:\"text\",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.\"}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/script\"}]},{name:\"noscript\",description:{kind:\"markdown\",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.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/noscript\"}]},{name:\"template\",description:{kind:\"markdown\",value:\"The template element is used to declare fragments of HTML that can be cloned and inserted in the document by script.\"},attributes:[],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/template\"}]},{name:\"canvas\",description:{kind:\"markdown\",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.\"},attributes:[{name:\"width\",description:{kind:\"markdown\",value:\"The width of the coordinate space in CSS pixels. Defaults to 300.\"}},{name:\"height\",description:{kind:\"markdown\",value:\"The height of the coordinate space in CSS pixels. Defaults to 150.\"}},{name:\"moz-opaque\",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.\"}],references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Element/canvas\"}]}],globalAttributes:[{name:\"accesskey\",description:{kind:\"markdown\",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.\"},references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/accesskey\"}]},{name:\"autocapitalize\",description:{kind:\"markdown\",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\"},references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/autocapitalize\"}]},{name:\"class\",description:{kind:\"markdown\",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.\").'},references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/class\"}]},{name:\"contenteditable\",description:{kind:\"markdown\",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.\"},references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contenteditable\"}]},{name:\"contextmenu\",description:{kind:\"markdown\",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.'},references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contextmenu\"}]},{name:\"dir\",description:{kind:\"markdown\",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.\"},valueSet:\"d\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/dir\"}]},{name:\"draggable\",description:{kind:\"markdown\",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.\"},valueSet:\"b\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/draggable\"}]},{name:\"dropzone\",description:{kind:\"markdown\",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.\"}},{name:\"exportparts\",description:{kind:\"markdown\",value:\"Used to transitively export shadow parts from a nested shadow tree into a containing light tree.\"},references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/exportparts\"}]},{name:\"hidden\",description:{kind:\"markdown\",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.\"},valueSet:\"v\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/hidden\"}]},{name:\"id\",description:{kind:\"markdown\",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).\"},references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/id\"}]},{name:\"inputmode\",description:{kind:\"markdown\",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.'},references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/inputmode\"}]},{name:\"is\",description:{kind:\"markdown\",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).\"},references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/is\"}]},{name:\"itemid\",description:{kind:\"markdown\",value:\"The unique, global identifier of an item.\"},references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemid\"}]},{name:\"itemprop\",description:{kind:\"markdown\",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.\"},references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemprop\"}]},{name:\"itemref\",description:{kind:\"markdown\",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.\"},references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemref\"}]},{name:\"itemscope\",description:{kind:\"markdown\",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.\"},valueSet:\"v\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemscope\"}]},{name:\"itemtype\",description:{kind:\"markdown\",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.\"},references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemtype\"}]},{name:\"lang\",description:{kind:\"markdown\",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.\"},references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/lang\"}]},{name:\"part\",description:{kind:\"markdown\",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.'},references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/part\"}]},{name:\"role\",valueSet:\"roles\"},{name:\"slot\",description:{kind:\"markdown\",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.\"},references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/slot\"}]},{name:\"spellcheck\",description:{kind:\"markdown\",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.\"},valueSet:\"b\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/spellcheck\"}]},{name:\"style\",description:{kind:\"markdown\",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.'},references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/style\"}]},{name:\"tabindex\",description:{kind:\"markdown\",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.`},references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/tabindex\"}]},{name:\"title\",description:{kind:\"markdown\",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.\"},references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/title\"}]},{name:\"translate\",description:{kind:\"markdown\",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.\"},valueSet:\"y\",references:[{name:\"MDN Reference\",url:\"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/translate\"}]},{name:\"onabort\",description:{kind:\"markdown\",value:\"The loading of a resource has been aborted.\"}},{name:\"onblur\",description:{kind:\"markdown\",value:\"An element has lost focus (does not bubble).\"}},{name:\"oncanplay\",description:{kind:\"markdown\",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.\"}},{name:\"oncanplaythrough\",description:{kind:\"markdown\",value:\"The user agent can play the media up to its end without having to stop for further buffering of content.\"}},{name:\"onchange\",description:{kind:\"markdown\",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.\"}},{name:\"onclick\",description:{kind:\"markdown\",value:\"A pointing device button has been pressed and released on an element.\"}},{name:\"oncontextmenu\",description:{kind:\"markdown\",value:\"The right button of the mouse is clicked (before the context menu is displayed).\"}},{name:\"ondblclick\",description:{kind:\"markdown\",value:\"A pointing device button is clicked twice on an element.\"}},{name:\"ondrag\",description:{kind:\"markdown\",value:\"An element or text selection is being dragged (every 350ms).\"}},{name:\"ondragend\",description:{kind:\"markdown\",value:\"A drag operation is being ended (by releasing a mouse button or hitting the escape key).\"}},{name:\"ondragenter\",description:{kind:\"markdown\",value:\"A dragged element or text selection enters a valid drop target.\"}},{name:\"ondragleave\",description:{kind:\"markdown\",value:\"A dragged element or text selection leaves a valid drop target.\"}},{name:\"ondragover\",description:{kind:\"markdown\",value:\"An element or text selection is being dragged over a valid drop target (every 350ms).\"}},{name:\"ondragstart\",description:{kind:\"markdown\",value:\"The user starts dragging an element or text selection.\"}},{name:\"ondrop\",description:{kind:\"markdown\",value:\"An element is dropped on a valid drop target.\"}},{name:\"ondurationchange\",description:{kind:\"markdown\",value:\"The duration attribute has been updated.\"}},{name:\"onemptied\",description:{kind:\"markdown\",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.\"}},{name:\"onended\",description:{kind:\"markdown\",value:\"Playback has stopped because the end of the media was reached.\"}},{name:\"onerror\",description:{kind:\"markdown\",value:\"A resource failed to load.\"}},{name:\"onfocus\",description:{kind:\"markdown\",value:\"An element has received focus (does not bubble).\"}},{name:\"onformchange\"},{name:\"onforminput\"},{name:\"oninput\",description:{kind:\"markdown\",value:\"The value of an element changes or the content of an element with the attribute contenteditable is modified.\"}},{name:\"oninvalid\",description:{kind:\"markdown\",value:\"A submittable element has been checked and doesn't satisfy its constraints.\"}},{name:\"onkeydown\",description:{kind:\"markdown\",value:\"A key is pressed down.\"}},{name:\"onkeypress\",description:{kind:\"markdown\",value:\"A key is pressed down and that key normally produces a character value (use input instead).\"}},{name:\"onkeyup\",description:{kind:\"markdown\",value:\"A key is released.\"}},{name:\"onload\",description:{kind:\"markdown\",value:\"A resource and its dependent resources have finished loading.\"}},{name:\"onloadeddata\",description:{kind:\"markdown\",value:\"The first frame of the media has finished loading.\"}},{name:\"onloadedmetadata\",description:{kind:\"markdown\",value:\"The metadata has been loaded.\"}},{name:\"onloadstart\",description:{kind:\"markdown\",value:\"Progress has begun.\"}},{name:\"onmousedown\",description:{kind:\"markdown\",value:\"A pointing device button (usually a mouse) is pressed on an element.\"}},{name:\"onmousemove\",description:{kind:\"markdown\",value:\"A pointing device is moved over an element.\"}},{name:\"onmouseout\",description:{kind:\"markdown\",value:\"A pointing device is moved off the element that has the listener attached or off one of its children.\"}},{name:\"onmouseover\",description:{kind:\"markdown\",value:\"A pointing device is moved onto the element that has the listener attached or onto one of its children.\"}},{name:\"onmouseup\",description:{kind:\"markdown\",value:\"A pointing device button is released over an element.\"}},{name:\"onmousewheel\"},{name:\"onmouseenter\",description:{kind:\"markdown\",value:\"A pointing device is moved onto the element that has the listener attached.\"}},{name:\"onmouseleave\",description:{kind:\"markdown\",value:\"A pointing device is moved off the element that has the listener attached.\"}},{name:\"onpause\",description:{kind:\"markdown\",value:\"Playback has been paused.\"}},{name:\"onplay\",description:{kind:\"markdown\",value:\"Playback has begun.\"}},{name:\"onplaying\",description:{kind:\"markdown\",value:\"Playback is ready to start after having been paused or delayed due to lack of data.\"}},{name:\"onprogress\",description:{kind:\"markdown\",value:\"In progress.\"}},{name:\"onratechange\",description:{kind:\"markdown\",value:\"The playback rate has changed.\"}},{name:\"onreset\",description:{kind:\"markdown\",value:\"A form is reset.\"}},{name:\"onresize\",description:{kind:\"markdown\",value:\"The document view has been resized.\"}},{name:\"onreadystatechange\",description:{kind:\"markdown\",value:\"The readyState attribute of a document has changed.\"}},{name:\"onscroll\",description:{kind:\"markdown\",value:\"The document view or an element has been scrolled.\"}},{name:\"onseeked\",description:{kind:\"markdown\",value:\"A seek operation completed.\"}},{name:\"onseeking\",description:{kind:\"markdown\",value:\"A seek operation began.\"}},{name:\"onselect\",description:{kind:\"markdown\",value:\"Some text is being selected.\"}},{name:\"onshow\",description:{kind:\"markdown\",value:\"A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute\"}},{name:\"onstalled\",description:{kind:\"markdown\",value:\"The user agent is trying to fetch media data, but data is unexpectedly not forthcoming.\"}},{name:\"onsubmit\",description:{kind:\"markdown\",value:\"A form is submitted.\"}},{name:\"onsuspend\",description:{kind:\"markdown\",value:\"Media data loading has been suspended.\"}},{name:\"ontimeupdate\",description:{kind:\"markdown\",value:\"The time indicated by the currentTime attribute has been updated.\"}},{name:\"onvolumechange\",description:{kind:\"markdown\",value:\"The volume has changed.\"}},{name:\"onwaiting\",description:{kind:\"markdown\",value:\"Playback has stopped because of a temporary lack of data.\"}},{name:\"onpointercancel\",description:{kind:\"markdown\",value:\"The pointer is unlikely to produce any more events.\"}},{name:\"onpointerdown\",description:{kind:\"markdown\",value:\"The pointer enters the active buttons state.\"}},{name:\"onpointerenter\",description:{kind:\"markdown\",value:\"Pointing device is moved inside the hit-testing boundary.\"}},{name:\"onpointerleave\",description:{kind:\"markdown\",value:\"Pointing device is moved out of the hit-testing boundary.\"}},{name:\"onpointerlockchange\",description:{kind:\"markdown\",value:\"The pointer was locked or released.\"}},{name:\"onpointerlockerror\",description:{kind:\"markdown\",value:\"It was impossible to lock the pointer for technical reasons or because the permission was denied.\"}},{name:\"onpointermove\",description:{kind:\"markdown\",value:\"The pointer changed coordinates.\"}},{name:\"onpointerout\",description:{kind:\"markdown\",value:\"The pointing device moved out of hit-testing boundary or leaves detectable hover range.\"}},{name:\"onpointerover\",description:{kind:\"markdown\",value:\"The pointing device is moved into the hit-testing boundary.\"}},{name:\"onpointerup\",description:{kind:\"markdown\",value:\"The pointer leaves the active buttons state.\"}},{name:\"aria-activedescendant\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-atomic\",valueSet:\"b\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-atomic\"}],description:{kind:\"markdown\",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.\"}},{name:\"aria-autocomplete\",valueSet:\"autocomplete\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete\"}],description:{kind:\"markdown\",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.\"}},{name:\"aria-busy\",valueSet:\"b\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-busy\"}],description:{kind:\"markdown\",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.\"}},{name:\"aria-checked\",valueSet:\"tristate\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-checked\"}],description:{kind:\"markdown\",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).'}},{name:\"aria-colcount\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-colcount\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-colindex\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-colindex\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-colspan\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-colspan\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-controls\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-controls\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-current\",valueSet:\"current\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-current\"}],description:{kind:\"markdown\",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.\"}},{name:\"aria-describedat\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-describedat\"}]},{name:\"aria-describedby\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-describedby\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-disabled\",valueSet:\"b\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-disabled\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-dropeffect\",valueSet:\"dropeffect\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-dropeffect\"}],description:{kind:\"markdown\",value:\"\\\\[Deprecated in ARIA 1.1\\\\] Indicates what functions can be performed when a dragged object is released on the drop target.\"}},{name:\"aria-errormessage\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-expanded\",valueSet:\"u\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-expanded\"}],description:{kind:\"markdown\",value:\"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.\"}},{name:\"aria-flowto\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-flowto\"}],description:{kind:\"markdown\",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.\"}},{name:\"aria-grabbed\",valueSet:\"u\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-grabbed\"}],description:{kind:\"markdown\",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.`}},{name:\"aria-haspopup\",valueSet:\"haspopup\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-hidden\",valueSet:\"b\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-hidden\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-invalid\",valueSet:\"invalid\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-invalid\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-kbdshortcuts\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-kbdshortcuts\"}]},{name:\"aria-label\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-label\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-labelledby\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-level\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-level\"}],description:{kind:\"markdown\",value:\"Defines the hierarchical level of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) within a structure.\"}},{name:\"aria-live\",valueSet:\"live\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-live\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-modal\",valueSet:\"b\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-modal\"}],description:{kind:\"markdown\",value:\"Indicates whether an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is modal when displayed.\"}},{name:\"aria-multiline\",valueSet:\"b\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-multiline\"}],description:{kind:\"markdown\",value:\"Indicates whether a text box accepts multiple lines of input or only a single line.\"}},{name:\"aria-multiselectable\",valueSet:\"b\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-multiselectable\"}],description:{kind:\"markdown\",value:\"Indicates that the user may select more than one item from the current selectable descendants.\"}},{name:\"aria-orientation\",valueSet:\"orientation\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-orientation\"}],description:{kind:\"markdown\",value:\"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.\"}},{name:\"aria-owns\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-owns\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-placeholder\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-placeholder\"}],description:{kind:\"markdown\",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.\"}},{name:\"aria-posinset\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-posinset\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-pressed\",valueSet:\"tristate\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-pressed\"}],description:{kind:\"markdown\",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).'}},{name:\"aria-readonly\",valueSet:\"b\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-readonly\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-relevant\",valueSet:\"relevant\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-relevant\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-required\",valueSet:\"b\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-required\"}],description:{kind:\"markdown\",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.\"}},{name:\"aria-roledescription\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-rowcount\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-rowindex\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-rowspan\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-selected\",valueSet:\"u\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-selected\"}],description:{kind:\"markdown\",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).'}},{name:\"aria-setsize\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-setsize\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-sort\",valueSet:\"sort\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-sort\"}],description:{kind:\"markdown\",value:\"Indicates if items in a table or grid are sorted in ascending or descending order.\"}},{name:\"aria-valuemax\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax\"}],description:{kind:\"markdown\",value:\"Defines the maximum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget).\"}},{name:\"aria-valuemin\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemin\"}],description:{kind:\"markdown\",value:\"Defines the minimum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget).\"}},{name:\"aria-valuenow\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-valuetext\",references:[{name:\"WAI-ARIA Reference\",url:\"https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext\"}],description:{kind:\"markdown\",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).\"}},{name:\"aria-details\",description:{kind:\"markdown\",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).\"}},{name:\"aria-keyshortcuts\",description:{kind:\"markdown\",value:\"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.\"}}],valueSets:[{name:\"b\",values:[{name:\"true\"},{name:\"false\"}]},{name:\"u\",values:[{name:\"true\"},{name:\"false\"},{name:\"undefined\"}]},{name:\"o\",values:[{name:\"on\"},{name:\"off\"}]},{name:\"y\",values:[{name:\"yes\"},{name:\"no\"}]},{name:\"w\",values:[{name:\"soft\"},{name:\"hard\"}]},{name:\"d\",values:[{name:\"ltr\"},{name:\"rtl\"},{name:\"auto\"}]},{name:\"m\",values:[{name:\"get\",description:{kind:\"markdown\",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.\"}},{name:\"post\",description:{kind:\"markdown\",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.\"}},{name:\"dialog\",description:{kind:\"markdown\",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.\"}}]},{name:\"fm\",values:[{name:\"get\"},{name:\"post\"}]},{name:\"s\",values:[{name:\"row\"},{name:\"col\"},{name:\"rowgroup\"},{name:\"colgroup\"}]},{name:\"t\",values:[{name:\"hidden\"},{name:\"text\"},{name:\"search\"},{name:\"tel\"},{name:\"url\"},{name:\"email\"},{name:\"password\"},{name:\"datetime\"},{name:\"date\"},{name:\"month\"},{name:\"week\"},{name:\"time\"},{name:\"datetime-local\"},{name:\"number\"},{name:\"range\"},{name:\"color\"},{name:\"checkbox\"},{name:\"radio\"},{name:\"file\"},{name:\"submit\"},{name:\"image\"},{name:\"reset\"},{name:\"button\"}]},{name:\"im\",values:[{name:\"verbatim\"},{name:\"latin\"},{name:\"latin-name\"},{name:\"latin-prose\"},{name:\"full-width-latin\"},{name:\"kana\"},{name:\"kana-name\"},{name:\"katakana\"},{name:\"numeric\"},{name:\"tel\"},{name:\"email\"},{name:\"url\"}]},{name:\"bt\",values:[{name:\"button\"},{name:\"submit\"},{name:\"reset\"},{name:\"menu\"}]},{name:\"lt\",values:[{name:\"1\"},{name:\"a\"},{name:\"A\"},{name:\"i\"},{name:\"I\"}]},{name:\"mt\",values:[{name:\"context\"},{name:\"toolbar\"}]},{name:\"mit\",values:[{name:\"command\"},{name:\"checkbox\"},{name:\"radio\"}]},{name:\"et\",values:[{name:\"application/x-www-form-urlencoded\"},{name:\"multipart/form-data\"},{name:\"text/plain\"}]},{name:\"tk\",values:[{name:\"subtitles\"},{name:\"captions\"},{name:\"descriptions\"},{name:\"chapters\"},{name:\"metadata\"}]},{name:\"pl\",values:[{name:\"none\"},{name:\"metadata\"},{name:\"auto\"}]},{name:\"sh\",values:[{name:\"circle\"},{name:\"default\"},{name:\"poly\"},{name:\"rect\"}]},{name:\"xo\",values:[{name:\"anonymous\"},{name:\"use-credentials\"}]},{name:\"sb\",values:[{name:\"allow-forms\"},{name:\"allow-modals\"},{name:\"allow-pointer-lock\"},{name:\"allow-popups\"},{name:\"allow-popups-to-escape-sandbox\"},{name:\"allow-same-origin\"},{name:\"allow-scripts\"},{name:\"allow-top-navigation\"}]},{name:\"tristate\",values:[{name:\"true\"},{name:\"false\"},{name:\"mixed\"},{name:\"undefined\"}]},{name:\"inputautocomplete\",values:[{name:\"additional-name\"},{name:\"address-level1\"},{name:\"address-level2\"},{name:\"address-level3\"},{name:\"address-level4\"},{name:\"address-line1\"},{name:\"address-line2\"},{name:\"address-line3\"},{name:\"bday\"},{name:\"bday-year\"},{name:\"bday-day\"},{name:\"bday-month\"},{name:\"billing\"},{name:\"cc-additional-name\"},{name:\"cc-csc\"},{name:\"cc-exp\"},{name:\"cc-exp-month\"},{name:\"cc-exp-year\"},{name:\"cc-family-name\"},{name:\"cc-given-name\"},{name:\"cc-name\"},{name:\"cc-number\"},{name:\"cc-type\"},{name:\"country\"},{name:\"country-name\"},{name:\"current-password\"},{name:\"email\"},{name:\"family-name\"},{name:\"fax\"},{name:\"given-name\"},{name:\"home\"},{name:\"honorific-prefix\"},{name:\"honorific-suffix\"},{name:\"impp\"},{name:\"language\"},{name:\"mobile\"},{name:\"name\"},{name:\"new-password\"},{name:\"nickname\"},{name:\"organization\"},{name:\"organization-title\"},{name:\"pager\"},{name:\"photo\"},{name:\"postal-code\"},{name:\"sex\"},{name:\"shipping\"},{name:\"street-address\"},{name:\"tel-area-code\"},{name:\"tel\"},{name:\"tel-country-code\"},{name:\"tel-extension\"},{name:\"tel-local\"},{name:\"tel-local-prefix\"},{name:\"tel-local-suffix\"},{name:\"tel-national\"},{name:\"transaction-amount\"},{name:\"transaction-currency\"},{name:\"url\"},{name:\"username\"},{name:\"work\"}]},{name:\"autocomplete\",values:[{name:\"inline\"},{name:\"list\"},{name:\"both\"},{name:\"none\"}]},{name:\"current\",values:[{name:\"page\"},{name:\"step\"},{name:\"location\"},{name:\"date\"},{name:\"time\"},{name:\"true\"},{name:\"false\"}]},{name:\"dropeffect\",values:[{name:\"copy\"},{name:\"move\"},{name:\"link\"},{name:\"execute\"},{name:\"popup\"},{name:\"none\"}]},{name:\"invalid\",values:[{name:\"grammar\"},{name:\"false\"},{name:\"spelling\"},{name:\"true\"}]},{name:\"live\",values:[{name:\"off\"},{name:\"polite\"},{name:\"assertive\"}]},{name:\"orientation\",values:[{name:\"vertical\"},{name:\"horizontal\"},{name:\"undefined\"}]},{name:\"relevant\",values:[{name:\"additions\"},{name:\"removals\"},{name:\"text\"},{name:\"all\"},{name:\"additions text\"}]},{name:\"sort\",values:[{name:\"ascending\"},{name:\"descending\"},{name:\"none\"},{name:\"other\"}]},{name:\"roles\",values:[{name:\"alert\"},{name:\"alertdialog\"},{name:\"button\"},{name:\"checkbox\"},{name:\"dialog\"},{name:\"gridcell\"},{name:\"link\"},{name:\"log\"},{name:\"marquee\"},{name:\"menuitem\"},{name:\"menuitemcheckbox\"},{name:\"menuitemradio\"},{name:\"option\"},{name:\"progressbar\"},{name:\"radio\"},{name:\"scrollbar\"},{name:\"searchbox\"},{name:\"slider\"},{name:\"spinbutton\"},{name:\"status\"},{name:\"switch\"},{name:\"tab\"},{name:\"tabpanel\"},{name:\"textbox\"},{name:\"timer\"},{name:\"tooltip\"},{name:\"treeitem\"},{name:\"combobox\"},{name:\"grid\"},{name:\"listbox\"},{name:\"menu\"},{name:\"menubar\"},{name:\"radiogroup\"},{name:\"tablist\"},{name:\"tree\"},{name:\"treegrid\"},{name:\"application\"},{name:\"article\"},{name:\"cell\"},{name:\"columnheader\"},{name:\"definition\"},{name:\"directory\"},{name:\"document\"},{name:\"feed\"},{name:\"figure\"},{name:\"group\"},{name:\"heading\"},{name:\"img\"},{name:\"list\"},{name:\"listitem\"},{name:\"math\"},{name:\"none\"},{name:\"note\"},{name:\"presentation\"},{name:\"region\"},{name:\"row\"},{name:\"rowgroup\"},{name:\"rowheader\"},{name:\"separator\"},{name:\"table\"},{name:\"term\"},{name:\"text\"},{name:\"toolbar\"},{name:\"banner\"},{name:\"complementary\"},{name:\"contentinfo\"},{name:\"form\"},{name:\"main\"},{name:\"navigation\"},{name:\"region\"},{name:\"search\"},{name:\"doc-abstract\"},{name:\"doc-acknowledgments\"},{name:\"doc-afterword\"},{name:\"doc-appendix\"},{name:\"doc-backlink\"},{name:\"doc-biblioentry\"},{name:\"doc-bibliography\"},{name:\"doc-biblioref\"},{name:\"doc-chapter\"},{name:\"doc-colophon\"},{name:\"doc-conclusion\"},{name:\"doc-cover\"},{name:\"doc-credit\"},{name:\"doc-credits\"},{name:\"doc-dedication\"},{name:\"doc-endnote\"},{name:\"doc-endnotes\"},{name:\"doc-epigraph\"},{name:\"doc-epilogue\"},{name:\"doc-errata\"},{name:\"doc-example\"},{name:\"doc-footnote\"},{name:\"doc-foreword\"},{name:\"doc-glossary\"},{name:\"doc-glossref\"},{name:\"doc-index\"},{name:\"doc-introduction\"},{name:\"doc-noteref\"},{name:\"doc-notice\"},{name:\"doc-pagebreak\"},{name:\"doc-pagelist\"},{name:\"doc-part\"},{name:\"doc-preface\"},{name:\"doc-prologue\"},{name:\"doc-pullquote\"},{name:\"doc-qna\"},{name:\"doc-subtitle\"},{name:\"doc-tip\"},{name:\"doc-toc\"}]},{name:\"metanames\",values:[{name:\"application-name\"},{name:\"author\"},{name:\"description\"},{name:\"format-detection\"},{name:\"generator\"},{name:\"keywords\"},{name:\"publisher\"},{name:\"referrer\"},{name:\"robots\"},{name:\"theme-color\"},{name:\"viewport\"}]},{name:\"haspopup\",values:[{name:\"false\",description:{kind:\"markdown\",value:\"(default) Indicates the element does not have a popup.\"}},{name:\"true\",description:{kind:\"markdown\",value:\"Indicates the popup is a menu.\"}},{name:\"menu\",description:{kind:\"markdown\",value:\"Indicates the popup is a menu.\"}},{name:\"listbox\",description:{kind:\"markdown\",value:\"Indicates the popup is a listbox.\"}},{name:\"tree\",description:{kind:\"markdown\",value:\"Indicates the popup is a tree.\"}},{name:\"grid\",description:{kind:\"markdown\",value:\"Indicates the popup is a grid.\"}},{name:\"dialog\",description:{kind:\"markdown\",value:\"Indicates the popup is a dialog.\"}}]}]},Po=function(){function e(t){this.dataProviders=[],this.setDataProviders(t.useDefaultDataProvider!==!1,t.customDataProviders||[])}return e.prototype.setDataProviders=function(t,n){var r;this.dataProviders=[],t&&this.dataProviders.push(new Hi(\"html5\",Bo)),(r=this.dataProviders).push.apply(r,n)},e.prototype.getDataProviders=function(){return this.dataProviders},e}(),qo={};function Oo(e){e===void 0&&(e=qo);var t=new Po(e),n=new mo(e,t),r=new lo(e,t);return{setDataProviders:t.setDataProviders.bind(t),createScanner:fe,parseHTMLDocument:function(i){return Ni(i.getText())},doComplete:r.doComplete.bind(r),doComplete2:r.doComplete2.bind(r),setCompletionParticipants:r.setCompletionParticipants.bind(r),doHover:n.doHover.bind(n),format:vo,findDocumentHighlights:Eo,findDocumentLinks:Lo,findDocumentSymbols:Mo,getFoldingRanges:Io,getSelectionRanges:zo,doQuoteComplete:r.doQuoteComplete.bind(r),doTagComplete:r.doTagComplete.bind(r),doRename:Ro,findMatchingTagPosition:Uo,findOnTypeRenameRanges:Xi,findLinkedEditingRanges:Xi}}function Vo(e,t){return new Hi(e,t)}var jo=class{constructor(e,t){ht(this,\"_ctx\");ht(this,\"_languageService\");ht(this,\"_languageSettings\");ht(this,\"_languageId\");this._ctx=e,this._languageSettings=t.languageSettings,this._languageId=t.languageId;const n=this._languageSettings.data,r=n==null?void 0:n.useDefaultDataProvider,i=[];if(n!=null&&n.dataProviders)for(const s in n.dataProviders)i.push(Vo(s,n.dataProviders[s]));this._languageService=Oo({useDefaultDataProvider:r,customDataProviders:i})}async doComplete(e,t){let n=this._getTextDocument(e);if(!n)return null;let r=this._languageService.parseHTMLDocument(n);return Promise.resolve(this._languageService.doComplete(n,t,r,this._languageSettings&&this._languageSettings.suggest))}async format(e,t,n){let r=this._getTextDocument(e);if(!r)return[];let i={...this._languageSettings.format,...n},s=this._languageService.format(r,t,i);return Promise.resolve(s)}async doHover(e,t){let n=this._getTextDocument(e);if(!n)return null;let r=this._languageService.parseHTMLDocument(n),i=this._languageService.doHover(n,t,r);return Promise.resolve(i)}async findDocumentHighlights(e,t){let n=this._getTextDocument(e);if(!n)return[];let r=this._languageService.parseHTMLDocument(n),i=this._languageService.findDocumentHighlights(n,t,r);return Promise.resolve(i)}async findDocumentLinks(e){let t=this._getTextDocument(e);if(!t)return[];let n=this._languageService.findDocumentLinks(t,null);return Promise.resolve(n)}async findDocumentSymbols(e){let t=this._getTextDocument(e);if(!t)return[];let n=this._languageService.parseHTMLDocument(t),r=this._languageService.findDocumentSymbols(t,n);return Promise.resolve(r)}async getFoldingRanges(e,t){let n=this._getTextDocument(e);if(!n)return[];let r=this._languageService.getFoldingRanges(n,t);return Promise.resolve(r)}async getSelectionRanges(e,t){let n=this._getTextDocument(e);if(!n)return[];let r=this._languageService.getSelectionRanges(n,t);return Promise.resolve(r)}async doRename(e,t,n){let r=this._getTextDocument(e);if(!r)return null;let i=this._languageService.parseHTMLDocument(r),s=this._languageService.doRename(r,t,n,i);return Promise.resolve(s)}_getTextDocument(e){let t=this._ctx.getMirrorModels();for(let n of t)if(n.uri.toString()===e)return kn.create(e,this._languageId,n.version,n.getValue());return null}};self.onmessage=()=>{Jr((e,t)=>new jo(e,t))}})();\n"
  },
  {
    "path": "client/dist/assets/htmlMode.48899aa2.js",
    "content": "var Be=Object.defineProperty;var $e=(e,n,i)=>n in e?Be(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var E=(e,n,i)=>($e(e,typeof n!=\"symbol\"?n+\"\":n,i),i);import{m as qe}from\"./HMonacoEditor.4fbcd301.js\";import\"./index.becaf6b8.js\";/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var Qe=Object.defineProperty,Ge=Object.getOwnPropertyDescriptor,Je=Object.getOwnPropertyNames,Ye=Object.prototype.hasOwnProperty,Ze=(e,n,i,r)=>{if(n&&typeof n==\"object\"||typeof n==\"function\")for(let t of Je(n))!Ye.call(e,t)&&(i||t!==\"default\")&&Qe(e,t,{get:()=>n[t],enumerable:!(r=Ge(n,t))||r.enumerable});return e},c={};Ze(c,qe);var Ke=2*60*1e3,De=class{constructor(e){E(this,\"_defaults\");E(this,\"_idleCheckInterval\");E(this,\"_lastUsedTime\");E(this,\"_configChangeListener\");E(this,\"_worker\");E(this,\"_client\");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)}},Y;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647})(Y||(Y={}));var H;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647})(H||(H={}));var k;(function(e){function n(r,t){return r===Number.MAX_VALUE&&(r=H.MAX_VALUE),t===Number.MAX_VALUE&&(t=H.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 X;(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})(X||(X={}));var Z;(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})(Z||(Z={}));var B;(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})(B||(B={}));var K;(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)&&B.is(t.color)}e.is=i})(K||(K={}));var ee;(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)||C.is(t))&&(s.undefined(t.additionalTextEdits)||s.typedArray(t.additionalTextEdits,C.is))}e.is=i})(ee||(ee={}));var R;(function(e){e.Comment=\"comment\",e.Imports=\"imports\",e.Region=\"region\"})(R||(R={}));var te;(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})(te||(te={}));var $;(function(e){function n(r,t){return{location:r,message:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&X.is(t.location)&&s.string(t.message)}e.is=i})($||($={}));var I;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(I||(I={}));var re;(function(e){e.Unnecessary=1,e.Deprecated=2})(re||(re={}));var ne;(function(e){function n(i){var r=i;return r!=null&&s.string(r.href)}e.is=n})(ne||(ne={}));var U;(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,$.is))}e.is=i})(U||(U={}));var M;(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})(M||(M={}));var C;(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})(C||(C={}));var P;(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})(P||(P={}));var m;(function(e){function n(i){var r=i;return typeof r==\"string\"}e.is=n})(m||(m={}));var x;(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 C.is(o)&&(P.is(o.annotationId)||m.is(o.annotationId))}e.is=t})(x||(x={}));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)&&V.is(t.textDocument)&&Array.isArray(t.edits)}e.is=i})(O||(O={}));var S;(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})(S||(S={}));var T;(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})(T||(T={}));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 q;(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)?S.is(t)||T.is(t)||F.is(t):O.is(t)}))}e.is=n})(q||(q={}));var W=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=C.insert(n,i):m.is(r)?(a=r,t=x.insert(n,i,r)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(r),t=x.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=C.replace(n,i):m.is(r)?(a=r,t=x.replace(n,i,r)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(r),t=x.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=C.del(n):m.is(i)?(t=i,r=x.del(n,i)):(this.assertChangeAnnotations(this.changeAnnotations),t=this.changeAnnotations.manage(i),r=x.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}(),ie=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 ie(n.changeAnnotations),n.changeAnnotations=this._changeAnnotations.all(),n.documentChanges.forEach(function(r){if(O.is(r)){var t=new W(r.edits,i._changeAnnotations);i._textEditChanges[r.textDocument.uri]=t}})):n.changes&&Object.keys(n.changes).forEach(function(r){var t=new W(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 W(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 W(t),this._textEditChanges[n]=r}return r}},e.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new ie,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;P.is(i)||m.is(i)?t=i:r=i;var a,o;if(t===void 0?a=S.create(n,r):(o=m.is(t)?t:this._changeAnnotations.manage(t),a=S.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;P.is(r)||m.is(r)?a=r:t=r;var o,u;if(a===void 0?o=T.create(n,i,t):(u=m.is(a)?a:this._changeAnnotations.manage(a),o=T.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;P.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 ae;(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})(ae||(ae={}));var oe;(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})(oe||(oe={}));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 se;(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})(se||(se={}));var L;(function(e){e.PlainText=\"plaintext\",e.Markdown=\"markdown\"})(L||(L={}));(function(e){function n(i){var r=i;return r===e.PlainText||r===e.Markdown}e.is=n})(L||(L={}));var Q;(function(e){function n(i){var r=i;return s.objectLiteral(i)&&L.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 G;(function(e){e.PlainText=1,e.Snippet=2})(G||(G={}));var ue;(function(e){e.Deprecated=1})(ue||(ue={}));var ce;(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})(ce||(ce={}));var de;(function(e){e.asIs=1,e.adjustIndentation=2})(de||(de={}));var fe;(function(e){function n(i){return{label:i}}e.create=n})(fe||(fe={}));var ge;(function(e){function n(i,r){return{items:i||[],isIncomplete:!!r}}e.create=n})(ge||(ge={}));var z;(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})(z||(z={}));var le;(function(e){function n(i){var r=i;return!!r&&s.objectLiteral(r)&&(Q.is(r.contents)||z.is(r.contents)||s.typedArray(r.contents,z.is))&&(i.range===void 0||p.is(i.range))}e.is=n})(le||(le={}));var he;(function(e){function n(i,r){return r?{label:i,documentation:r}:{label:i}}e.create=n})(he||(he={}));var ve;(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})(ve||(ve={}));var D;(function(e){e.Text=1,e.Read=2,e.Write=3})(D||(D={}));var pe;(function(e){function n(i,r){var t={range:i};return s.number(r)&&(t.kind=r),t}e.create=n})(pe||(pe={}));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 me;(function(e){e.Deprecated=1})(me||(me={}));var _e;(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})(_e||(_e={}));var we;(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})(we||(we={}));var ke;(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\"})(ke||(ke={}));var be;(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,U.is)&&(t.only===void 0||s.typedArray(t.only,s.string))}e.is=i})(be||(be={}));var Ee;(function(e){function n(r,t,a){var o={title:r},u=!0;return typeof t==\"string\"?(u=!1,o.kind=t):M.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,U.is))&&(t.kind===void 0||s.string(t.kind))&&(t.edit!==void 0||t.command!==void 0)&&(t.command===void 0||M.is(t.command))&&(t.isPreferred===void 0||s.boolean(t.isPreferred))&&(t.edit===void 0||q.is(t.edit))}e.is=i})(Ee||(Ee={}));var xe;(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)||M.is(t.command))}e.is=i})(xe||(xe={}));var Ce;(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})(Ce||(Ce={}));var Ae;(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})(Ae||(Ae={}));var ye;(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})(ye||(ye={}));var Ie;(function(e){function n(a,o,u,g){return new et(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(y,N){var J=y.range.start.line-N.range.start.line;return J===0?y.range.start.character-N.range.start.character:J}),d=u.length,v=g.length-1;v>=0;v--){var w=g[v],b=a.offsetAt(w.range.start),f=a.offsetAt(w.range.end);if(f<=d)u=u.substring(0,b)+w.newText+u.substring(f,u.length);else throw new Error(\"Overlapping edit\");d=b}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,b=0;v<g.length&&w<d.length;){var f=o(g[v],d[w]);f<=0?a[b++]=g[v++]:a[b++]=d[w++]}for(;v<g.length;)a[b++]=g[v++];for(;w<d.length;)a[b++]=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(f){return typeof f!=\"undefined\"}e.defined=i;function r(f){return typeof f==\"undefined\"}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,y,N){return n.call(f)===\"[object Number]\"&&y<=f&&f<=N}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 b(f,y){return Array.isArray(f)&&f.every(y)}e.typedArray=b})(s||(s={}));var pt=class{constructor(e,n,i){E(this,\"_disposables\",[]);E(this,\"_listener\",Object.create(null));this._languageId=e,this._worker=n;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(),A(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: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(j)),d.insertTextFormat===G.Snippet&&(v.insertTextRules=c.languages.CompletionItemInsertTextRule.InsertAsSnippet),v});return{isIncomplete:a.isIncomplete,suggestions:g}})}};function A(e){if(!!e)return{character:e.column-1,line:e.lineNumber-1}}function Me(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!=\"undefined\"&&typeof e.replace!=\"undefined\"}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 j(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 Se=class{constructor(e){this._worker=e}provideHover(e,n,i){let r=e.uri;return this._worker(r).then(t=>t.doHover(r.toString(),A(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 Pe(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(Pe):[Pe(e)]}var Te=class{constructor(e){this._worker=e}provideDocumentHighlights(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.findDocumentHighlights(r.toString(),A(n))).then(t=>{if(!!t)return t.map(a=>({range:_(a.range),kind:ct(a.kind)}))})}};function ct(e){switch(e){case D.Read:return c.languages.DocumentHighlightKind.Read;case D.Write:return c.languages.DocumentHighlightKind.Write;case D.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(),A(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(),A(n))).then(a=>{if(!!a)return a.map(Fe)})}},Le=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(),A(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,edit:{range:_(t.range),text:t.newText}})}return{edits:n}}var je=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=>({name:t.name,detail:\"\",containerName:t.containerName,kind:ft(t.kind),range:_(t.location.range),selectionRange:_(t.location.range),tags:[]}))})}};function ft(e){let n=c.languages.SymbolKind;switch(e){case h.File:return n.Array;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 Ne=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}))}})}},We=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(j)}))}},He=class{constructor(e){this._worker=e}provideDocumentRangeFormattingEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.format(t.toString(),Me(n),Ue(i)).then(o=>{if(!(!o||o.length===0))return o.map(j)}))}};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,Me(n.range))).then(t=>{if(!!t)return t.map(a=>{let o={label:a.label};return a.textEdit&&(o.textEdit=j(a.textEdit)),a.additionalTextEdits&&(o.additionalTextEdits=a.additionalTextEdits.map(j)),o})})}},Oe=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!=\"undefined\"&&(o.kind=gt(a.kind)),o})})}};function gt(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 Ve=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(A))).then(t=>{if(!!t)return t.map(a=>{const o=[];for(;a;)o.push({range:_(a.range)}),a=a.parent;return o})})}},ze=class extends nt{constructor(e){super(e,[\".\",\":\",\"<\",'\"',\"=\",\"/\"])}};function kt(e){const n=new De(e),i=(...t)=>n.getLanguageServiceWorker(...t);let r=e.languageId;c.languages.registerCompletionItemProvider(r,new ze(i)),c.languages.registerHoverProvider(r,new Se(i)),c.languages.registerDocumentHighlightProvider(r,new Te(i)),c.languages.registerLinkProvider(r,new Ne(i)),c.languages.registerFoldingRangeProvider(r,new Oe(i)),c.languages.registerDocumentSymbolProvider(r,new je(i)),c.languages.registerSelectionRangeProvider(r,new Ve(i)),c.languages.registerRenameProvider(r,new Le(i)),r===\"html\"&&(c.languages.registerDocumentFormattingEditProvider(r,new We(i)),c.languages.registerDocumentRangeFormattingEditProvider(r,new He(i)))}function bt(e){const n=[],i=[],r=new De(e);n.push(r);const t=(...o)=>r.getLanguageServiceWorker(...o);function a(){const{languageId:o,modeConfiguration:u}=e;Xe(i),u.completionItems&&i.push(c.languages.registerCompletionItemProvider(o,new ze(t))),u.hovers&&i.push(c.languages.registerHoverProvider(o,new Se(t))),u.documentHighlights&&i.push(c.languages.registerDocumentHighlightProvider(o,new Te(t))),u.links&&i.push(c.languages.registerLinkProvider(o,new Ne(t))),u.documentSymbols&&i.push(c.languages.registerDocumentSymbolProvider(o,new je(t))),u.rename&&i.push(c.languages.registerRenameProvider(o,new Le(t))),u.foldingRanges&&i.push(c.languages.registerFoldingRangeProvider(o,new Oe(t))),u.selectionRanges&&i.push(c.languages.registerSelectionRangeProvider(o,new Ve(t))),u.documentFormattingEdits&&i.push(c.languages.registerDocumentFormattingEditProvider(o,new We(t))),u.documentRangeFormattingEdits&&i.push(c.languages.registerDocumentRangeFormattingEditProvider(o,new He(t)))}return a(),n.push(Re(i)),Re(n)}function Re(e){return{dispose:()=>Xe(e)}}function Xe(e){for(;e.length;)e.pop().dispose()}export{nt as CompletionAdapter,mt as DefinitionAdapter,pt as DiagnosticsAdapter,wt as DocumentColorAdapter,We as DocumentFormattingEditProvider,Te as DocumentHighlightAdapter,Ne as DocumentLinkAdapter,He as DocumentRangeFormattingEditProvider,je as DocumentSymbolAdapter,Oe as FoldingRangeAdapter,Se as HoverAdapter,_t as ReferenceAdapter,Le as RenameAdapter,Ve as SelectionRangeAdapter,De as WorkerManager,A as fromPosition,Me as fromRange,bt as setupMode,kt as setupMode1,_ as toRange,j as toTextEdit};\n"
  },
  {
    "path": "client/dist/assets/index.becaf6b8.js",
    "content": "var wg=Object.defineProperty;var Bg=(e,t,r)=>t in e?wg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Vr=(e,t,r)=>(Bg(e,typeof t!=\"symbol\"?t+\"\":t,r),r);const Fg=function(){const t=document.createElement(\"link\").relList;if(t&&t.supports&&t.supports(\"modulepreload\"))return;for(const i of document.querySelectorAll('link[rel=\"modulepreload\"]'))n(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\"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(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 n(i){if(i.ep)return;i.ep=!0;const s=r(i);fetch(i.href,s)}};Fg();/**\n* @vue/shared v3.4.27\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**//*! #__NO_SIDE_EFFECTS__ */function ul(e,t){const r=new Set(e.split(\",\"));return t?n=>r.has(n.toLowerCase()):n=>r.has(n)}const He={},ai=[],Wt=()=>{},Dg=()=>!1,Io=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ll=e=>e.startsWith(\"onUpdate:\"),at=Object.assign,cl=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},Tg=Object.prototype.hasOwnProperty,Ke=(e,t)=>Tg.call(e,t),xe=Array.isArray,ui=e=>Rs(e)===\"[object Map]\",No=e=>Rs(e)===\"[object Set]\",S0=e=>Rs(e)===\"[object Date]\",Be=e=>typeof e==\"function\",it=e=>typeof e==\"string\",Fr=e=>typeof e==\"symbol\",Ie=e=>e!==null&&typeof e==\"object\",nd=e=>(Ie(e)||Be(e))&&Be(e.then)&&Be(e.catch),id=Object.prototype.toString,Rs=e=>id.call(e),kg=e=>Rs(e).slice(8,-1),sd=e=>Rs(e)===\"[object Object]\",fl=e=>it(e)&&e!==\"NaN\"&&e[0]!==\"-\"&&\"\"+parseInt(e,10)===e,Gi=ul(\",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted\"),Ho=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},Pg=/-(\\w)/g,gr=Ho(e=>e.replace(Pg,(t,r)=>r?r.toUpperCase():\"\")),Og=/\\B([A-Z])/g,Wn=Ho(e=>e.replace(Og,\"-$1\").toLowerCase()),ea=Ho(e=>e.charAt(0).toUpperCase()+e.slice(1)),La=Ho(e=>e?`on${ea(e)}`:\"\"),un=(e,t)=>!Object.is(e,t),fo=(e,t)=>{for(let r=0;r<e.length;r++)e[r](t)},od=(e,t,r,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:r})},vu=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Rg=e=>{const t=it(e)?Number(e):NaN;return isNaN(t)?e:t};let w0;const dl=()=>w0||(w0=typeof globalThis!=\"undefined\"?globalThis:typeof self!=\"undefined\"?self:typeof window!=\"undefined\"?window:typeof global!=\"undefined\"?global:{});function tt(e){if(xe(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],i=it(n)?jg(n):tt(n);if(i)for(const s in i)t[s]=i[s]}return t}else if(it(e)||Ie(e))return e}const Mg=/;(?![^(]*\\))/g,Lg=/:([^]+)/,$g=/\\/\\*[^]*?\\*\\//g;function jg(e){const t={};return e.replace($g,\"\").split(Mg).forEach(r=>{if(r){const n=r.split(Lg);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Jt(e){let t=\"\";if(it(e))t=e;else if(xe(e))for(let r=0;r<e.length;r++){const n=Jt(e[r]);n&&(t+=n+\" \")}else if(Ie(e))for(const r in e)e[r]&&(t+=r+\" \");return t.trim()}const Vg=\"itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly\",Ug=ul(Vg);function ad(e){return!!e||e===\"\"}function Wg(e,t){if(e.length!==t.length)return!1;let r=!0;for(let n=0;r&&n<e.length;n++)r=ta(e[n],t[n]);return r}function ta(e,t){if(e===t)return!0;let r=S0(e),n=S0(t);if(r||n)return r&&n?e.getTime()===t.getTime():!1;if(r=Fr(e),n=Fr(t),r||n)return e===t;if(r=xe(e),n=xe(t),r||n)return r&&n?Wg(e,t):!1;if(r=Ie(e),n=Ie(t),r||n){if(!r||!n)return!1;const i=Object.keys(e).length,s=Object.keys(t).length;if(i!==s)return!1;for(const o in e){const a=e.hasOwnProperty(o),u=t.hasOwnProperty(o);if(a&&!u||!a&&u||!ta(e[o],t[o]))return!1}}return String(e)===String(t)}function ud(e,t){return e.findIndex(r=>ta(r,t))}const Qe=e=>it(e)?e:e==null?\"\":xe(e)||Ie(e)&&(e.toString===id||!Be(e.toString))?JSON.stringify(e,ld,2):String(e),ld=(e,t)=>t&&t.__v_isRef?ld(e,t.value):ui(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,i],s)=>(r[$a(n,s)+\" =>\"]=i,r),{})}:No(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>$a(r))}:Fr(t)?$a(t):Ie(t)&&!xe(t)&&!sd(t)?String(t):t,$a=(e,t=\"\")=>{var r;return Fr(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/**\n* @vue/reactivity v3.4.27\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/let Ut;class cd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ut,!t&&Ut&&(this.index=(Ut.scopes||(Ut.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const r=Ut;try{return Ut=this,t()}finally{Ut=r}}}on(){Ut=this}off(){Ut=this.parent}stop(t){if(this._active){let r,n;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].stop();for(r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.scopes)for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function fd(e){return new cd(e)}function zg(e,t=Ut){t&&t.active&&t.effects.push(e)}function hl(){return Ut}function dd(e){Ut&&Ut.cleanups.push(e)}let kn;class pl{constructor(t,r,n,i){this.fn=t,this.trigger=r,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,zg(this,i)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,gn();for(let t=0;t<this._depsLength;t++){const r=this.deps[t];if(r.computed&&(Kg(r.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),xn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=nn,r=kn;try{return nn=!0,kn=this,this._runnings++,B0(this),this.fn()}finally{F0(this),this._runnings--,kn=r,nn=t}}stop(){this.active&&(B0(this),F0(this),this.onStop&&this.onStop(),this.active=!1)}}function Kg(e){return e.value}function B0(e){e._trackId++,e._depsLength=0}function F0(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)hd(e.deps[t],e);e.deps.length=e._depsLength}}function hd(e,t){const r=e.get(t);r!==void 0&&t._trackId!==r&&(e.delete(t),e.size===0&&e.cleanup())}let nn=!0,gu=0;const pd=[];function gn(){pd.push(nn),nn=!1}function xn(){const e=pd.pop();nn=e===void 0?!0:e}function vl(){gu++}function gl(){for(gu--;!gu&&xu.length;)xu.shift()()}function vd(e,t,r){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&hd(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const xu=[];function gd(e,t,r){vl();for(const n of e.keys()){let i;n._dirtyLevel<t&&(i!=null?i:i=e.get(n)===n._trackId)&&(n._shouldSchedule||(n._shouldSchedule=n._dirtyLevel===0),n._dirtyLevel=t),n._shouldSchedule&&(i!=null?i:i=e.get(n)===n._trackId)&&(n.trigger(),(!n._runnings||n.allowRecurse)&&n._dirtyLevel!==2&&(n._shouldSchedule=!1,n.scheduler&&xu.push(n.scheduler)))}gl()}const xd=(e,t)=>{const r=new Map;return r.cleanup=e,r.computed=t,r},_o=new WeakMap,Pn=Symbol(\"\"),yu=Symbol(\"\");function Lt(e,t,r){if(nn&&kn){let n=_o.get(e);n||_o.set(e,n=new Map);let i=n.get(r);i||n.set(r,i=xd(()=>n.delete(r))),vd(kn,i)}}function Sr(e,t,r,n,i,s){const o=_o.get(e);if(!o)return;let a=[];if(t===\"clear\")a=[...o.values()];else if(r===\"length\"&&xe(e)){const u=Number(n);o.forEach((l,c)=>{(c===\"length\"||!Fr(c)&&c>=u)&&a.push(l)})}else switch(r!==void 0&&a.push(o.get(r)),t){case\"add\":xe(e)?fl(r)&&a.push(o.get(\"length\")):(a.push(o.get(Pn)),ui(e)&&a.push(o.get(yu)));break;case\"delete\":xe(e)||(a.push(o.get(Pn)),ui(e)&&a.push(o.get(yu)));break;case\"set\":ui(e)&&a.push(o.get(Pn));break}vl();for(const u of a)u&&gd(u,4);gl()}function qg(e,t){const r=_o.get(e);return r&&r.get(t)}const Zg=ul(\"__proto__,__v_isRef,__isVue\"),yd=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==\"arguments\"&&e!==\"caller\").map(e=>Symbol[e]).filter(Fr)),D0=Yg();function Yg(){const e={};return[\"includes\",\"indexOf\",\"lastIndexOf\"].forEach(t=>{e[t]=function(...r){const n=ze(this);for(let s=0,o=this.length;s<o;s++)Lt(n,\"get\",s+\"\");const i=n[t](...r);return i===-1||i===!1?n[t](...r.map(ze)):i}}),[\"push\",\"pop\",\"shift\",\"unshift\",\"splice\"].forEach(t=>{e[t]=function(...r){gn(),vl();const n=ze(this)[t].apply(this,r);return gl(),xn(),n}}),e}function Gg(e){Fr(e)||(e=String(e));const t=ze(this);return Lt(t,\"has\",e),t.hasOwnProperty(e)}class Ed{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,n){const i=this._isReadonly,s=this._isShallow;if(r===\"__v_isReactive\")return!i;if(r===\"__v_isReadonly\")return i;if(r===\"__v_isShallow\")return s;if(r===\"__v_raw\")return n===(i?s?ox:Cd:s?bd:md).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=xe(t);if(!i){if(o&&Ke(D0,r))return Reflect.get(D0,r,n);if(r===\"hasOwnProperty\")return Gg}const a=Reflect.get(t,r,n);return(Fr(r)?yd.has(r):Zg(r))||(i||Lt(t,\"get\",r),s)?a:pt(a)?o&&fl(r)?a:a.value:Ie(a)?i?Ad(a):Ci(a):a}}class _d extends Ed{constructor(t=!1){super(!1,t)}set(t,r,n,i){let s=t[r];if(!this._isShallow){const u=ss(s);if(!mo(n)&&!ss(n)&&(s=ze(s),n=ze(n)),!xe(t)&&pt(s)&&!pt(n))return u?!1:(s.value=n,!0)}const o=xe(t)&&fl(r)?Number(r)<t.length:Ke(t,r),a=Reflect.set(t,r,n,i);return t===ze(i)&&(o?un(n,s)&&Sr(t,\"set\",r,n):Sr(t,\"add\",r,n)),a}deleteProperty(t,r){const n=Ke(t,r);t[r];const i=Reflect.deleteProperty(t,r);return i&&n&&Sr(t,\"delete\",r,void 0),i}has(t,r){const n=Reflect.has(t,r);return(!Fr(r)||!yd.has(r))&&Lt(t,\"has\",r),n}ownKeys(t){return Lt(t,\"iterate\",xe(t)?\"length\":Pn),Reflect.ownKeys(t)}}class Qg extends Ed{constructor(t=!1){super(!0,t)}set(t,r){return!0}deleteProperty(t,r){return!0}}const Xg=new _d,Jg=new Qg,Ig=new _d(!0);const xl=e=>e,ra=e=>Reflect.getPrototypeOf(e);function Ys(e,t,r=!1,n=!1){e=e.__v_raw;const i=ze(e),s=ze(t);r||(un(t,s)&&Lt(i,\"get\",t),Lt(i,\"get\",s));const{has:o}=ra(i),a=n?xl:r?_l:os;if(o.call(i,t))return a(e.get(t));if(o.call(i,s))return a(e.get(s));e!==i&&e.get(t)}function Gs(e,t=!1){const r=this.__v_raw,n=ze(r),i=ze(e);return t||(un(e,i)&&Lt(n,\"has\",e),Lt(n,\"has\",i)),e===i?r.has(e):r.has(e)||r.has(i)}function Qs(e,t=!1){return e=e.__v_raw,!t&&Lt(ze(e),\"iterate\",Pn),Reflect.get(e,\"size\",e)}function T0(e){e=ze(e);const t=ze(this);return ra(t).has.call(t,e)||(t.add(e),Sr(t,\"add\",e,e)),this}function k0(e,t){t=ze(t);const r=ze(this),{has:n,get:i}=ra(r);let s=n.call(r,e);s||(e=ze(e),s=n.call(r,e));const o=i.call(r,e);return r.set(e,t),s?un(t,o)&&Sr(r,\"set\",e,t):Sr(r,\"add\",e,t),this}function P0(e){const t=ze(this),{has:r,get:n}=ra(t);let i=r.call(t,e);i||(e=ze(e),i=r.call(t,e)),n&&n.call(t,e);const s=t.delete(e);return i&&Sr(t,\"delete\",e,void 0),s}function O0(){const e=ze(this),t=e.size!==0,r=e.clear();return t&&Sr(e,\"clear\",void 0,void 0),r}function Xs(e,t){return function(n,i){const s=this,o=s.__v_raw,a=ze(o),u=t?xl:e?_l:os;return!e&&Lt(a,\"iterate\",Pn),o.forEach((l,c)=>n.call(i,u(l),u(c),s))}}function Js(e,t,r){return function(...n){const i=this.__v_raw,s=ze(i),o=ui(s),a=e===\"entries\"||e===Symbol.iterator&&o,u=e===\"keys\"&&o,l=i[e](...n),c=r?xl:t?_l:os;return!t&&Lt(s,\"iterate\",u?yu:Pn),{next(){const{value:d,done:f}=l.next();return f?{value:d,done:f}:{value:a?[c(d[0]),c(d[1])]:c(d),done:f}},[Symbol.iterator](){return this}}}}function Ur(e){return function(...t){return e===\"delete\"?!1:e===\"clear\"?void 0:this}}function Ng(){const e={get(s){return Ys(this,s)},get size(){return Qs(this)},has:Gs,add:T0,set:k0,delete:P0,clear:O0,forEach:Xs(!1,!1)},t={get(s){return Ys(this,s,!1,!0)},get size(){return Qs(this)},has:Gs,add:T0,set:k0,delete:P0,clear:O0,forEach:Xs(!1,!0)},r={get(s){return Ys(this,s,!0)},get size(){return Qs(this,!0)},has(s){return Gs.call(this,s,!0)},add:Ur(\"add\"),set:Ur(\"set\"),delete:Ur(\"delete\"),clear:Ur(\"clear\"),forEach:Xs(!0,!1)},n={get(s){return Ys(this,s,!0,!0)},get size(){return Qs(this,!0)},has(s){return Gs.call(this,s,!0)},add:Ur(\"add\"),set:Ur(\"set\"),delete:Ur(\"delete\"),clear:Ur(\"clear\"),forEach:Xs(!0,!0)};return[\"keys\",\"values\",\"entries\",Symbol.iterator].forEach(s=>{e[s]=Js(s,!1,!1),r[s]=Js(s,!0,!1),t[s]=Js(s,!1,!0),n[s]=Js(s,!0,!0)}),[e,r,t,n]}const[Hg,ex,tx,rx]=Ng();function yl(e,t){const r=t?e?rx:tx:e?ex:Hg;return(n,i,s)=>i===\"__v_isReactive\"?!e:i===\"__v_isReadonly\"?e:i===\"__v_raw\"?n:Reflect.get(Ke(r,i)&&i in n?r:n,i,s)}const nx={get:yl(!1,!1)},ix={get:yl(!1,!0)},sx={get:yl(!0,!1)};const md=new WeakMap,bd=new WeakMap,Cd=new WeakMap,ox=new WeakMap;function ax(e){switch(e){case\"Object\":case\"Array\":return 1;case\"Map\":case\"Set\":case\"WeakMap\":case\"WeakSet\":return 2;default:return 0}}function ux(e){return e.__v_skip||!Object.isExtensible(e)?0:ax(kg(e))}function Ci(e){return ss(e)?e:El(e,!1,Xg,nx,md)}function lx(e){return El(e,!1,Ig,ix,bd)}function Ad(e){return El(e,!0,Jg,sx,Cd)}function El(e,t,r,n,i){if(!Ie(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=i.get(e);if(s)return s;const o=ux(e);if(o===0)return e;const a=new Proxy(e,o===2?n:r);return i.set(e,a),a}function On(e){return ss(e)?On(e.__v_raw):!!(e&&e.__v_isReactive)}function ss(e){return!!(e&&e.__v_isReadonly)}function mo(e){return!!(e&&e.__v_isShallow)}function Sd(e){return e?!!e.__v_raw:!1}function ze(e){const t=e&&e.__v_raw;return t?ze(t):e}function na(e){return Object.isExtensible(e)&&od(e,\"__v_skip\",!0),e}const os=e=>Ie(e)?Ci(e):e,_l=e=>Ie(e)?Ad(e):e;class wd{constructor(t,r,n,i){this.getter=t,this._setter=r,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new pl(()=>t(this._value),()=>ho(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const t=ze(this);return(!t._cacheable||t.effect.dirty)&&un(t._value,t._value=t.effect.run())&&ho(t,4),Bd(t),t.effect._dirtyLevel>=2&&ho(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function cx(e,t,r=!1){let n,i;const s=Be(e);return s?(n=e,i=Wt):(n=e.get,i=e.set),new wd(n,i,s||!i,r)}function Bd(e){var t;nn&&kn&&(e=ze(e),vd(kn,(t=e.dep)!=null?t:e.dep=xd(()=>e.dep=void 0,e instanceof wd?e:void 0)))}function ho(e,t=4,r){e=ze(e);const n=e.dep;n&&gd(n,t)}function pt(e){return!!(e&&e.__v_isRef===!0)}function Fe(e){return Dd(e,!1)}function Fd(e){return Dd(e,!0)}function Dd(e,t){return pt(e)?e:new fx(e,t)}class fx{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:ze(t),this._value=r?t:os(t)}get value(){return Bd(this),this._value}set value(t){const r=this.__v_isShallow||mo(t)||ss(t);t=r?t:ze(t),un(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:os(t),ho(this,4))}}function L(e){return pt(e)?e.value:e}const dx={get:(e,t,r)=>L(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const i=e[t];return pt(i)&&!pt(r)?(i.value=r,!0):Reflect.set(e,t,r,n)}};function Td(e){return On(e)?e:new Proxy(e,dx)}function zn(e){const t=xe(e)?new Array(e.length):{};for(const r in e)t[r]=px(e,r);return t}class hx{constructor(t,r,n){this._object=t,this._key=r,this._defaultValue=n,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return qg(ze(this._object),this._key)}}function px(e,t,r){const n=e[t];return pt(n)?n:new hx(e,t,r)}/**\n* @vue/runtime-core v3.4.27\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/function sn(e,t,r,n){try{return n?e(...n):e()}catch(i){Ms(i,t,r)}}function Xt(e,t,r,n){if(Be(e)){const i=sn(e,t,r,n);return i&&nd(i)&&i.catch(s=>{Ms(s,t,r)}),i}if(xe(e)){const i=[];for(let s=0;s<e.length;s++)i.push(Xt(e[s],t,r,n));return i}}function Ms(e,t,r,n=!0){const i=t?t.vnode:null;if(t){let s=t.parent;const o=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${r}`;for(;s;){const l=s.ec;if(l){for(let c=0;c<l.length;c++)if(l[c](e,o,a)===!1)return}s=s.parent}const u=t.appContext.config.errorHandler;if(u){gn(),sn(u,null,10,[e,o,a]),xn();return}}vx(e,r,i,n)}function vx(e,t,r,n=!0){console.error(e)}let as=!1,Eu=!1;const Ct=[];let lr=0;const li=[];let Qr=null,wn=0;const kd=Promise.resolve();let ml=null;function Ai(e){const t=ml||kd;return e?t.then(this?e.bind(this):e):t}function gx(e){let t=lr+1,r=Ct.length;for(;t<r;){const n=t+r>>>1,i=Ct[n],s=us(i);s<e||s===e&&i.pre?t=n+1:r=n}return t}function ia(e){(!Ct.length||!Ct.includes(e,as&&e.allowRecurse?lr+1:lr))&&(e.id==null?Ct.push(e):Ct.splice(gx(e.id),0,e),Pd())}function Pd(){!as&&!Eu&&(Eu=!0,ml=kd.then(Rd))}function xx(e){const t=Ct.indexOf(e);t>lr&&Ct.splice(t,1)}function yx(e){xe(e)?li.push(...e):(!Qr||!Qr.includes(e,e.allowRecurse?wn+1:wn))&&li.push(e),Pd()}function R0(e,t,r=as?lr+1:0){for(;r<Ct.length;r++){const n=Ct[r];if(n&&n.pre){if(e&&n.id!==e.uid)continue;Ct.splice(r,1),r--,n()}}}function Od(e){if(li.length){const t=[...new Set(li)].sort((r,n)=>us(r)-us(n));if(li.length=0,Qr){Qr.push(...t);return}for(Qr=t,wn=0;wn<Qr.length;wn++)Qr[wn]();Qr=null,wn=0}}const us=e=>e.id==null?1/0:e.id,Ex=(e,t)=>{const r=us(e)-us(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function Rd(e){Eu=!1,as=!0,Ct.sort(Ex);const t=Wt;try{for(lr=0;lr<Ct.length;lr++){const r=Ct[lr];r&&r.active!==!1&&sn(r,null,14)}}finally{lr=0,Ct.length=0,Od(),as=!1,ml=null,(Ct.length||li.length)&&Rd()}}function _x(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||He;let i=r;const s=t.startsWith(\"update:\"),o=s&&t.slice(7);if(o&&o in n){const c=`${o===\"modelValue\"?\"model\":o}Modifiers`,{number:d,trim:f}=n[c]||He;f&&(i=r.map(h=>it(h)?h.trim():h)),d&&(i=r.map(vu))}let a,u=n[a=La(t)]||n[a=La(gr(t))];!u&&s&&(u=n[a=La(Wn(t))]),u&&Xt(u,e,6,i);const l=n[a+\"Once\"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Xt(l,e,6,i)}}function Md(e,t,r=!1){const n=t.emitsCache,i=n.get(e);if(i!==void 0)return i;const s=e.emits;let o={},a=!1;if(!Be(e)){const u=l=>{const c=Md(l,t,!0);c&&(a=!0,at(o,c))};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!s&&!a?(Ie(e)&&n.set(e,null),null):(xe(s)?s.forEach(u=>o[u]=null):at(o,s),Ie(e)&&n.set(e,o),o)}function sa(e,t){return!e||!Io(t)?!1:(t=t.slice(2).replace(/Once$/,\"\"),Ke(e,t[0].toLowerCase()+t.slice(1))||Ke(e,Wn(t))||Ke(e,t))}let ct=null,oa=null;function bo(e){const t=ct;return ct=e,oa=e&&e.type.__scopeId||null,t}function Ld(e){oa=e}function $d(){oa=null}function Te(e,t=ct,r){if(!t||e._n)return e;const n=(...i)=>{n._d&&Q0(-1);const s=bo(t);let o;try{o=e(...i)}finally{bo(s),n._d&&Q0(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function ja(e){const{type:t,vnode:r,proxy:n,withProxy:i,propsOptions:[s],slots:o,attrs:a,emit:u,render:l,renderCache:c,props:d,data:f,setupState:h,ctx:p,inheritAttrs:g}=e,x=bo(e);let m,v;try{if(r.shapeFlag&4){const _=i||n,A=_;m=ur(l.call(A,_,c,d,h,f,p)),v=a}else{const _=t;m=ur(_.length>1?_(d,{attrs:a,slots:o,emit:u}):_(d,null)),v=t.props?a:mx(a)}}catch(_){Ni.length=0,Ms(_,e,1),m=oe(zt)}let y=m;if(v&&g!==!1){const _=Object.keys(v),{shapeFlag:A}=y;_.length&&A&7&&(s&&_.some(ll)&&(v=bx(v,s)),y=cn(y,v,!1,!0))}return r.dirs&&(y=cn(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(r.dirs):r.dirs),r.transition&&(y.transition=r.transition),m=y,bo(x),m}const mx=e=>{let t;for(const r in e)(r===\"class\"||r===\"style\"||Io(r))&&((t||(t={}))[r]=e[r]);return t},bx=(e,t)=>{const r={};for(const n in e)(!ll(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function Cx(e,t,r){const{props:n,children:i,component:s}=e,{props:o,children:a,patchFlag:u}=t,l=s.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&u>=0){if(u&1024)return!0;if(u&16)return n?M0(n,o,l):!!o;if(u&8){const c=t.dynamicProps;for(let d=0;d<c.length;d++){const f=c[d];if(o[f]!==n[f]&&!sa(l,f))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:n===o?!1:n?o?M0(n,o,l):!0:!!o;return!1}function M0(e,t,r){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let i=0;i<n.length;i++){const s=n[i];if(t[s]!==e[s]&&!sa(r,s))return!0}return!1}function Ax({vnode:e,parent:t},r){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n===e)(e=t.vnode).el=r,t=t.parent;else break}}const bl=\"components\";function Sx(e,t){return Vd(bl,e,!0,t)||e}const jd=Symbol.for(\"v-ndc\");function wx(e){return it(e)?Vd(bl,e,!1)||e:e||jd}function Vd(e,t,r=!0,n=!1){const i=ct||dt;if(i){const s=i.type;if(e===bl){const a=by(s,!1);if(a&&(a===t||a===gr(t)||a===ea(gr(t))))return s}const o=L0(i[e]||s[e],t)||L0(i.appContext[e],t);return!o&&n?s:o}}function L0(e,t){return e&&(e[t]||e[gr(t)]||e[ea(gr(t))])}const Bx=e=>e.__isSuspense;function Fx(e,t){t&&t.pendingBranch?xe(e)?t.effects.push(...e):t.effects.push(e):yx(e)}const Dx=Symbol.for(\"v-scx\"),Tx=()=>ft(Dx);function kx(e,t){return Cl(e,null,{flush:\"post\"})}const Is={};function yt(e,t,r){return Cl(e,t,r)}function Cl(e,t,{immediate:r,deep:n,flush:i,once:s,onTrack:o,onTrigger:a}=He){if(t&&s){const E=t;t=(...B)=>{E(...B),A()}}const u=dt,l=E=>n===!0?E:Tn(E,n===!1?1:void 0);let c,d=!1,f=!1;if(pt(e)?(c=()=>e.value,d=mo(e)):On(e)?(c=()=>l(e),d=!0):xe(e)?(f=!0,d=e.some(E=>On(E)||mo(E)),c=()=>e.map(E=>{if(pt(E))return E.value;if(On(E))return l(E);if(Be(E))return sn(E,u,2)})):Be(e)?t?c=()=>sn(e,u,2):c=()=>(h&&h(),Xt(e,u,3,[p])):c=Wt,t&&n){const E=c;c=()=>Tn(E())}let h,p=E=>{h=y.onStop=()=>{sn(E,u,4),h=y.onStop=void 0}},g;if(Vs)if(p=Wt,t?r&&Xt(t,u,3,[c(),f?[]:void 0,p]):c(),i===\"sync\"){const E=Tx();g=E.__watcherHandles||(E.__watcherHandles=[])}else return Wt;let x=f?new Array(e.length).fill(Is):Is;const m=()=>{if(!(!y.active||!y.dirty))if(t){const E=y.run();(n||d||(f?E.some((B,S)=>un(B,x[S])):un(E,x)))&&(h&&h(),Xt(t,u,3,[E,x===Is?void 0:f&&x[0]===Is?[]:x,p]),x=E)}else y.run()};m.allowRecurse=!!t;let v;i===\"sync\"?v=m:i===\"post\"?v=()=>Rt(m,u&&u.suspense):(m.pre=!0,u&&(m.id=u.uid),v=()=>ia(m));const y=new pl(c,Wt,v),_=hl(),A=()=>{y.stop(),_&&cl(_.effects,y)};return t?r?m():x=y.run():i===\"post\"?Rt(y.run.bind(y),u&&u.suspense):y.run(),g&&g.push(A),A}function Px(e,t,r){const n=this.proxy,i=it(e)?e.includes(\".\")?Ud(n,e):()=>n[e]:e.bind(n,n);let s;Be(t)?s=t:(s=t.handler,r=t);const o=js(this),a=Cl(i,s.bind(n),r);return o(),a}function Ud(e,t){const r=t.split(\".\");return()=>{let n=e;for(let i=0;i<r.length&&n;i++)n=n[r[i]];return n}}function Tn(e,t=1/0,r){if(t<=0||!Ie(e)||e.__v_skip||(r=r||new Set,r.has(e)))return e;if(r.add(e),t--,pt(e))Tn(e.value,t,r);else if(xe(e))for(let n=0;n<e.length;n++)Tn(e[n],t,r);else if(No(e)||ui(e))e.forEach(n=>{Tn(n,t,r)});else if(sd(e))for(const n in e)Tn(e[n],t,r);return e}function KF(e,t){if(ct===null)return e;const r=ca(ct)||ct.proxy,n=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[s,o,a,u=He]=t[i];s&&(Be(s)&&(s={mounted:s,updated:s}),s.deep&&Tn(o),n.push({dir:s,instance:r,value:o,oldValue:void 0,arg:a,modifiers:u}))}return e}function mn(e,t,r,n){const i=e.dirs,s=t&&t.dirs;for(let o=0;o<i.length;o++){const a=i[o];s&&(a.oldValue=s[o].value);let u=a.dir[n];u&&(gn(),Xt(u,r,8,[e.el,a,e,t]),xn())}}const Xr=Symbol(\"_leaveCb\"),Ns=Symbol(\"_enterCb\");function Wd(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ln(()=>{e.isMounted=!0}),ua(()=>{e.isUnmounting=!0}),e}const Gt=[Function,Array],zd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Gt,onEnter:Gt,onAfterEnter:Gt,onEnterCancelled:Gt,onBeforeLeave:Gt,onLeave:Gt,onAfterLeave:Gt,onLeaveCancelled:Gt,onBeforeAppear:Gt,onAppear:Gt,onAfterAppear:Gt,onAppearCancelled:Gt},Ox={name:\"BaseTransition\",props:zd,setup(e,{slots:t}){const r=Kn(),n=Wd();return()=>{const i=t.default&&Al(t.default(),!0);if(!i||!i.length)return;let s=i[0];if(i.length>1){for(const f of i)if(f.type!==zt){s=f;break}}const o=ze(e),{mode:a}=o;if(n.isLeaving)return Va(s);const u=$0(s);if(!u)return Va(s);const l=ls(u,o,n,r);cs(u,l);const c=r.subTree,d=c&&$0(c);if(d&&d.type!==zt&&!Bn(u,d)){const f=ls(d,o,n,r);if(cs(d,f),a===\"out-in\"&&u.type!==zt)return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,r.update.active!==!1&&(r.effect.dirty=!0,r.update())},Va(s);a===\"in-out\"&&u.type!==zt&&(f.delayLeave=(h,p,g)=>{const x=Kd(n,d);x[String(d.key)]=d,h[Xr]=()=>{p(),h[Xr]=void 0,delete l.delayedLeave},l.delayedLeave=g})}return s}}},Rx=Ox;function Kd(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function ls(e,t,r,n){const{appear:i,mode:s,persisted:o=!1,onBeforeEnter:a,onEnter:u,onAfterEnter:l,onEnterCancelled:c,onBeforeLeave:d,onLeave:f,onAfterLeave:h,onLeaveCancelled:p,onBeforeAppear:g,onAppear:x,onAfterAppear:m,onAppearCancelled:v}=t,y=String(e.key),_=Kd(r,e),A=(S,T)=>{S&&Xt(S,n,9,T)},E=(S,T)=>{const C=T[1];A(S,T),xe(S)?S.every(w=>w.length<=1)&&C():S.length<=1&&C()},B={mode:s,persisted:o,beforeEnter(S){let T=a;if(!r.isMounted)if(i)T=g||a;else return;S[Xr]&&S[Xr](!0);const C=_[y];C&&Bn(e,C)&&C.el[Xr]&&C.el[Xr](),A(T,[S])},enter(S){let T=u,C=l,w=c;if(!r.isMounted)if(i)T=x||u,C=m||l,w=v||c;else return;let D=!1;const k=S[Ns]=U=>{D||(D=!0,U?A(w,[S]):A(C,[S]),B.delayedLeave&&B.delayedLeave(),S[Ns]=void 0)};T?E(T,[S,k]):k()},leave(S,T){const C=String(e.key);if(S[Ns]&&S[Ns](!0),r.isUnmounting)return T();A(d,[S]);let w=!1;const D=S[Xr]=k=>{w||(w=!0,T(),k?A(p,[S]):A(h,[S]),S[Xr]=void 0,_[C]===e&&delete _[C])};_[C]=e,f?E(f,[S,D]):D()},clone(S){return ls(S,t,r,n)}};return B}function Va(e){if(Ls(e))return e=cn(e),e.children=null,e}function $0(e){if(!Ls(e))return e;const{shapeFlag:t,children:r}=e;if(r){if(t&16)return r[0];if(t&32&&Be(r.default))return r.default()}}function cs(e,t){e.shapeFlag&6&&e.component?cs(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Al(e,t=!1,r){let n=[],i=0;for(let s=0;s<e.length;s++){let o=e[s];const a=r==null?o.key:String(r)+String(o.key!=null?o.key:s);o.type===je?(o.patchFlag&128&&i++,n=n.concat(Al(o.children,t,a))):(t||o.type!==zt)&&n.push(a!=null?cn(o,{key:a}):o)}if(i>1)for(let s=0;s<n.length;s++)n[s].patchFlag=-2;return n}/*! #__NO_SIDE_EFFECTS__ */function Se(e,t){return Be(e)?(()=>at({name:e.name},t,{setup:e}))():e}const Qi=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Sl(e){Be(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:n,delay:i=200,timeout:s,suspensible:o=!0,onError:a}=e;let u=null,l,c=0;const d=()=>(c++,u=null,f()),f=()=>{let h;return u||(h=u=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),a)return new Promise((g,x)=>{a(p,()=>g(d()),()=>x(p),c+1)});throw p}).then(p=>h!==u&&u?u:(p&&(p.__esModule||p[Symbol.toStringTag]===\"Module\")&&(p=p.default),l=p,p)))};return Se({name:\"AsyncComponentWrapper\",__asyncLoader:f,get __asyncResolved(){return l},setup(){const h=dt;if(l)return()=>Ua(l,h);const p=v=>{u=null,Ms(v,h,13,!n)};if(o&&h.suspense||Vs)return f().then(v=>()=>Ua(v,h)).catch(v=>(p(v),()=>n?oe(n,{error:v}):null));const g=Fe(!1),x=Fe(),m=Fe(!!i);return i&&setTimeout(()=>{m.value=!1},i),s!=null&&setTimeout(()=>{if(!g.value&&!x.value){const v=new Error(`Async component timed out after ${s}ms.`);p(v),x.value=v}},s),f().then(()=>{g.value=!0,h.parent&&Ls(h.parent.vnode)&&(h.parent.effect.dirty=!0,ia(h.parent.update))}).catch(v=>{p(v),x.value=v}),()=>{if(g.value&&l)return Ua(l,h);if(x.value&&n)return oe(n,{error:x.value});if(r&&!m.value)return oe(r)}}})}function Ua(e,t){const{ref:r,props:n,children:i,ce:s}=t.vnode,o=oe(e,n,i);return o.ref=r,o.ce=s,delete t.vnode.ce,o}const Ls=e=>e.type.__isKeepAlive;function Mx(e,t){qd(e,\"a\",t)}function Lx(e,t){qd(e,\"da\",t)}function qd(e,t,r=dt){const n=e.__wdc||(e.__wdc=()=>{let i=r;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(aa(t,n,r),r){let i=r.parent;for(;i&&i.parent;)Ls(i.parent.vnode)&&$x(n,t,r,i),i=i.parent}}function $x(e,t,r,n){const i=aa(t,e,n,!0);wl(()=>{cl(n[t],i)},r)}function aa(e,t,r=dt,n=!1){if(r){const i=r[e]||(r[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(r.isUnmounted)return;gn();const a=js(r),u=Xt(t,r,e,o);return a(),xn(),u});return n?i.unshift(s):i.push(s),s}}const Rr=e=>(t,r=dt)=>(!Vs||e===\"sp\")&&aa(e,(...n)=>t(...n),r),Zd=Rr(\"bm\"),ln=Rr(\"m\"),jx=Rr(\"bu\"),Yd=Rr(\"u\"),ua=Rr(\"bum\"),wl=Rr(\"um\"),Vx=Rr(\"sp\"),Ux=Rr(\"rtg\"),Wx=Rr(\"rtc\");function zx(e,t=dt){aa(\"ec\",e,t)}function qt(e,t,r,n){let i;const s=r&&r[n];if(xe(e)||it(e)){i=new Array(e.length);for(let o=0,a=e.length;o<a;o++)i[o]=t(e[o],o,void 0,s&&s[o])}else if(typeof e==\"number\"){i=new Array(e);for(let o=0;o<e;o++)i[o]=t(o+1,o,void 0,s&&s[o])}else if(Ie(e))if(e[Symbol.iterator])i=Array.from(e,(o,a)=>t(o,a,void 0,s&&s[a]));else{const o=Object.keys(e);i=new Array(o.length);for(let a=0,u=o.length;a<u;a++){const l=o[a];i[a]=t(e[l],l,a,s&&s[a])}}else i=[];return r&&(r[n]=i),i}function vt(e,t,r={},n,i){if(ct.isCE||ct.parent&&Qi(ct.parent)&&ct.parent.isCE)return t!==\"default\"&&(r.name=t),oe(\"slot\",r,n&&n());let s=e[t];s&&s._c&&(s._d=!1),X();const o=s&&Gd(s(r)),a=Re(je,{key:r.key||o&&o.key||`_${t}`},o||(n?n():[]),o&&e._===1?64:-2);return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+\"-s\"]),s&&s._c&&(s._d=!0),a}function Gd(e){return e.some(t=>Ao(t)?!(t.type===zt||t.type===je&&!Gd(t.children)):!0)?e:null}const _u=e=>e?lh(e)?ca(e)||e.proxy:_u(e.parent):null,Xi=at(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>_u(e.parent),$root:e=>_u(e.root),$emit:e=>e.emit,$options:e=>Bl(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,ia(e.update)}),$nextTick:e=>e.n||(e.n=Ai.bind(e.proxy)),$watch:e=>Px.bind(e)}),Wa=(e,t)=>e!==He&&!e.__isScriptSetup&&Ke(e,t),Kx={get({_:e},t){if(t===\"__v_skip\")return!0;const{ctx:r,setupState:n,data:i,props:s,accessCache:o,type:a,appContext:u}=e;let l;if(t[0]!==\"$\"){const h=o[t];if(h!==void 0)switch(h){case 1:return n[t];case 2:return i[t];case 4:return r[t];case 3:return s[t]}else{if(Wa(n,t))return o[t]=1,n[t];if(i!==He&&Ke(i,t))return o[t]=2,i[t];if((l=e.propsOptions[0])&&Ke(l,t))return o[t]=3,s[t];if(r!==He&&Ke(r,t))return o[t]=4,r[t];mu&&(o[t]=0)}}const c=Xi[t];let d,f;if(c)return t===\"$attrs\"&&Lt(e.attrs,\"get\",\"\"),c(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(r!==He&&Ke(r,t))return o[t]=4,r[t];if(f=u.config.globalProperties,Ke(f,t))return f[t]},set({_:e},t,r){const{data:n,setupState:i,ctx:s}=e;return Wa(i,t)?(i[t]=r,!0):n!==He&&Ke(n,t)?(n[t]=r,!0):Ke(e.props,t)||t[0]===\"$\"&&t.slice(1)in e?!1:(s[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:i,propsOptions:s}},o){let a;return!!r[o]||e!==He&&Ke(e,o)||Wa(t,o)||(a=s[0])&&Ke(a,o)||Ke(n,o)||Ke(Xi,o)||Ke(i.config.globalProperties,o)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:Ke(r,\"value\")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function qx(){return Zx().slots}function Zx(){const e=Kn();return e.setupContext||(e.setupContext=fh(e))}function j0(e){return xe(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let mu=!0;function Yx(e){const t=Bl(e),r=e.proxy,n=e.ctx;mu=!1,t.beforeCreate&&V0(t.beforeCreate,e,\"bc\");const{data:i,computed:s,methods:o,watch:a,provide:u,inject:l,created:c,beforeMount:d,mounted:f,beforeUpdate:h,updated:p,activated:g,deactivated:x,beforeDestroy:m,beforeUnmount:v,destroyed:y,unmounted:_,render:A,renderTracked:E,renderTriggered:B,errorCaptured:S,serverPrefetch:T,expose:C,inheritAttrs:w,components:D,directives:k,filters:U}=t;if(l&&Gx(l,n,null),o)for(const K in o){const V=o[K];Be(V)&&(n[K]=V.bind(r))}if(i){const K=i.call(r,r);Ie(K)&&(e.data=Ci(K))}if(mu=!0,s)for(const K in s){const V=s[K],re=Be(V)?V.bind(r,r):Be(V.get)?V.get.bind(r,r):Wt,ne=!Be(V)&&Be(V.set)?V.set.bind(r):Wt,O=ue({get:re,set:ne});Object.defineProperty(n,K,{enumerable:!0,configurable:!0,get:()=>O.value,set:$=>O.value=$})}if(a)for(const K in a)Qd(a[K],n,r,K);if(u){const K=Be(u)?u.call(r):u;Reflect.ownKeys(K).forEach(V=>{Ji(V,K[V])})}c&&V0(c,e,\"c\");function P(K,V){xe(V)?V.forEach(re=>K(re.bind(r))):V&&K(V.bind(r))}if(P(Zd,d),P(ln,f),P(jx,h),P(Yd,p),P(Mx,g),P(Lx,x),P(zx,S),P(Wx,E),P(Ux,B),P(ua,v),P(wl,_),P(Vx,T),xe(C))if(C.length){const K=e.exposed||(e.exposed={});C.forEach(V=>{Object.defineProperty(K,V,{get:()=>r[V],set:re=>r[V]=re})})}else e.exposed||(e.exposed={});A&&e.render===Wt&&(e.render=A),w!=null&&(e.inheritAttrs=w),D&&(e.components=D),k&&(e.directives=k)}function Gx(e,t,r=Wt){xe(e)&&(e=bu(e));for(const n in e){const i=e[n];let s;Ie(i)?\"default\"in i?s=ft(i.from||n,i.default,!0):s=ft(i.from||n):s=ft(i),pt(s)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):t[n]=s}}function V0(e,t,r){Xt(xe(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function Qd(e,t,r,n){const i=n.includes(\".\")?Ud(r,n):()=>r[n];if(it(e)){const s=t[e];Be(s)&&yt(i,s)}else if(Be(e))yt(i,e.bind(r));else if(Ie(e))if(xe(e))e.forEach(s=>Qd(s,t,r,n));else{const s=Be(e.handler)?e.handler.bind(r):t[e.handler];Be(s)&&yt(i,s,e)}}function Bl(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,a=s.get(t);let u;return a?u=a:!i.length&&!r&&!n?u=t:(u={},i.length&&i.forEach(l=>Co(u,l,o,!0)),Co(u,t,o)),Ie(t)&&s.set(t,u),u}function Co(e,t,r,n=!1){const{mixins:i,extends:s}=t;s&&Co(e,s,r,!0),i&&i.forEach(o=>Co(e,o,r,!0));for(const o in t)if(!(n&&o===\"expose\")){const a=Qx[o]||r&&r[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const Qx={data:U0,props:W0,emits:W0,methods:Ui,computed:Ui,beforeCreate:Bt,created:Bt,beforeMount:Bt,mounted:Bt,beforeUpdate:Bt,updated:Bt,beforeDestroy:Bt,beforeUnmount:Bt,destroyed:Bt,unmounted:Bt,activated:Bt,deactivated:Bt,errorCaptured:Bt,serverPrefetch:Bt,components:Ui,directives:Ui,watch:Jx,provide:U0,inject:Xx};function U0(e,t){return t?e?function(){return at(Be(e)?e.call(this,this):e,Be(t)?t.call(this,this):t)}:t:e}function Xx(e,t){return Ui(bu(e),bu(t))}function bu(e){if(xe(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function Bt(e,t){return e?[...new Set([].concat(e,t))]:t}function Ui(e,t){return e?at(Object.create(null),e,t):t}function W0(e,t){return e?xe(e)&&xe(t)?[...new Set([...e,...t])]:at(Object.create(null),j0(e),j0(t!=null?t:{})):t}function Jx(e,t){if(!e)return t;if(!t)return e;const r=at(Object.create(null),e);for(const n in t)r[n]=Bt(e[n],t[n]);return r}function Xd(){return{app:null,config:{isNativeTag:Dg,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Ix=0;function Nx(e,t){return function(n,i=null){Be(n)||(n=at({},n)),i!=null&&!Ie(i)&&(i=null);const s=Xd(),o=new WeakSet;let a=!1;const u=s.app={_uid:Ix++,_component:n,_props:i,_container:null,_context:s,_instance:null,version:Ay,get config(){return s.config},set config(l){},use(l,...c){return o.has(l)||(l&&Be(l.install)?(o.add(l),l.install(u,...c)):Be(l)&&(o.add(l),l(u,...c))),u},mixin(l){return s.mixins.includes(l)||s.mixins.push(l),u},component(l,c){return c?(s.components[l]=c,u):s.components[l]},directive(l,c){return c?(s.directives[l]=c,u):s.directives[l]},mount(l,c,d){if(!a){const f=oe(n,i);return f.appContext=s,d===!0?d=\"svg\":d===!1&&(d=void 0),c&&t?t(f,l):e(f,l,d),a=!0,u._container=l,l.__vue_app__=u,ca(f.component)||f.component.proxy}},unmount(){a&&(e(null,u._container),delete u._container.__vue_app__)},provide(l,c){return s.provides[l]=c,u},runWithContext(l){const c=ci;ci=u;try{return l()}finally{ci=c}}};return u}}let ci=null;function Ji(e,t){if(dt){let r=dt.provides;const n=dt.parent&&dt.parent.provides;n===r&&(r=dt.provides=Object.create(n)),r[e]=t}}function ft(e,t,r=!1){const n=dt||ct;if(n||ci){const i=n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:ci._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return r&&Be(t)?t.call(n&&n.proxy):t}}function Hx(){return!!(dt||ct||ci)}const Jd={},Id=()=>Object.create(Jd),Nd=e=>Object.getPrototypeOf(e)===Jd;function ey(e,t,r,n=!1){const i={},s=Id();e.propsDefaults=Object.create(null),Hd(e,t,i,s);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);r?e.props=n?i:lx(i):e.type.props?e.props=i:e.props=s,e.attrs=s}function ty(e,t,r,n){const{props:i,attrs:s,vnode:{patchFlag:o}}=e,a=ze(i),[u]=e.propsOptions;let l=!1;if((n||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let d=0;d<c.length;d++){let f=c[d];if(sa(e.emitsOptions,f))continue;const h=t[f];if(u)if(Ke(s,f))h!==s[f]&&(s[f]=h,l=!0);else{const p=gr(f);i[p]=Cu(u,a,p,h,e,!1)}else h!==s[f]&&(s[f]=h,l=!0)}}}else{Hd(e,t,i,s)&&(l=!0);let c;for(const d in a)(!t||!Ke(t,d)&&((c=Wn(d))===d||!Ke(t,c)))&&(u?r&&(r[d]!==void 0||r[c]!==void 0)&&(i[d]=Cu(u,a,d,void 0,e,!0)):delete i[d]);if(s!==a)for(const d in s)(!t||!Ke(t,d)&&!0)&&(delete s[d],l=!0)}l&&Sr(e.attrs,\"set\",\"\")}function Hd(e,t,r,n){const[i,s]=e.propsOptions;let o=!1,a;if(t)for(let u in t){if(Gi(u))continue;const l=t[u];let c;i&&Ke(i,c=gr(u))?!s||!s.includes(c)?r[c]=l:(a||(a={}))[c]=l:sa(e.emitsOptions,u)||(!(u in n)||l!==n[u])&&(n[u]=l,o=!0)}if(s){const u=ze(r),l=a||He;for(let c=0;c<s.length;c++){const d=s[c];r[d]=Cu(i,u,d,l[d],e,!Ke(l,d))}}return o}function Cu(e,t,r,n,i,s){const o=e[r];if(o!=null){const a=Ke(o,\"default\");if(a&&n===void 0){const u=o.default;if(o.type!==Function&&!o.skipFactory&&Be(u)){const{propsDefaults:l}=i;if(r in l)n=l[r];else{const c=js(i);n=l[r]=u.call(null,t),c()}}else n=u}o[0]&&(s&&!a?n=!1:o[1]&&(n===\"\"||n===Wn(r))&&(n=!0))}return n}function eh(e,t,r=!1){const n=t.propsCache,i=n.get(e);if(i)return i;const s=e.props,o={},a=[];let u=!1;if(!Be(e)){const c=d=>{u=!0;const[f,h]=eh(d,t,!0);at(o,f),h&&a.push(...h)};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!s&&!u)return Ie(e)&&n.set(e,ai),ai;if(xe(s))for(let c=0;c<s.length;c++){const d=gr(s[c]);z0(d)&&(o[d]=He)}else if(s)for(const c in s){const d=gr(c);if(z0(d)){const f=s[c],h=o[d]=xe(f)||Be(f)?{type:f}:at({},f);if(h){const p=Z0(Boolean,h.type),g=Z0(String,h.type);h[0]=p>-1,h[1]=g<0||p<g,(p>-1||Ke(h,\"default\"))&&a.push(d)}}}const l=[o,a];return Ie(e)&&n.set(e,l),l}function z0(e){return e[0]!==\"$\"&&!Gi(e)}function K0(e){return e===null?\"null\":typeof e==\"function\"?e.name||\"\":typeof e==\"object\"&&e.constructor&&e.constructor.name||\"\"}function q0(e,t){return K0(e)===K0(t)}function Z0(e,t){return xe(t)?t.findIndex(r=>q0(r,e)):Be(t)&&q0(t,e)?0:-1}const th=e=>e[0]===\"_\"||e===\"$stable\",Fl=e=>xe(e)?e.map(ur):[ur(e)],ry=(e,t,r)=>{if(t._n)return t;const n=Te((...i)=>Fl(t(...i)),r);return n._c=!1,n},rh=(e,t,r)=>{const n=e._ctx;for(const i in e){if(th(i))continue;const s=e[i];if(Be(s))t[i]=ry(i,s,n);else if(s!=null){const o=Fl(s);t[i]=()=>o}}},nh=(e,t)=>{const r=Fl(t);e.slots.default=()=>r},ny=(e,t)=>{const r=e.slots=Id();if(e.vnode.shapeFlag&32){const n=t._;n?(at(r,t),od(r,\"_\",n,!0)):rh(t,r)}else t&&nh(e,t)},iy=(e,t,r)=>{const{vnode:n,slots:i}=e;let s=!0,o=He;if(n.shapeFlag&32){const a=t._;a?r&&a===1?s=!1:(at(i,t),!r&&a===1&&delete i._):(s=!t.$stable,rh(t,i)),o=t}else t&&(nh(e,t),o={default:1});if(s)for(const a in i)!th(a)&&o[a]==null&&delete i[a]};function Au(e,t,r,n,i=!1){if(xe(e)){e.forEach((f,h)=>Au(f,t&&(xe(t)?t[h]:t),r,n,i));return}if(Qi(n)&&!i)return;const s=n.shapeFlag&4?ca(n.component)||n.component.proxy:n.el,o=i?null:s,{i:a,r:u}=e,l=t&&t.r,c=a.refs===He?a.refs={}:a.refs,d=a.setupState;if(l!=null&&l!==u&&(it(l)?(c[l]=null,Ke(d,l)&&(d[l]=null)):pt(l)&&(l.value=null)),Be(u))sn(u,a,12,[o,c]);else{const f=it(u),h=pt(u);if(f||h){const p=()=>{if(e.f){const g=f?Ke(d,u)?d[u]:c[u]:u.value;i?xe(g)&&cl(g,s):xe(g)?g.includes(s)||g.push(s):f?(c[u]=[s],Ke(d,u)&&(d[u]=c[u])):(u.value=[s],e.k&&(c[e.k]=u.value))}else f?(c[u]=o,Ke(d,u)&&(d[u]=o)):h&&(u.value=o,e.k&&(c[e.k]=o))};o?(p.id=-1,Rt(p,r)):p()}}}function sy(){typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__!=\"boolean\"&&(dl().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1)}const Rt=Fx;function oy(e){return ay(e)}function ay(e,t){sy();const r=dl();r.__VUE__=!0;const{insert:n,remove:i,patchProp:s,createElement:o,createText:a,createComment:u,setText:l,setElementText:c,parentNode:d,nextSibling:f,setScopeId:h=Wt,insertStaticContent:p}=e,g=(b,F,M,Z=null,G=null,te=null,ie=void 0,H=null,ee=!!F.dynamicChildren)=>{if(b===F)return;b&&!Bn(b,F)&&(Z=I(b),$(b,G,te,!0),b=null),F.patchFlag===-2&&(ee=!1,F.dynamicChildren=null);const{type:Y,ref:se,shapeFlag:pe}=F;switch(Y){case la:x(b,F,M,Z);break;case zt:m(b,F,M,Z);break;case po:b==null&&v(F,M,Z,ie);break;case je:D(b,F,M,Z,G,te,ie,H,ee);break;default:pe&1?A(b,F,M,Z,G,te,ie,H,ee):pe&6?k(b,F,M,Z,G,te,ie,H,ee):(pe&64||pe&128)&&Y.process(b,F,M,Z,G,te,ie,H,ee,Ce)}se!=null&&G&&Au(se,b&&b.ref,te,F||b,!F)},x=(b,F,M,Z)=>{if(b==null)n(F.el=a(F.children),M,Z);else{const G=F.el=b.el;F.children!==b.children&&l(G,F.children)}},m=(b,F,M,Z)=>{b==null?n(F.el=u(F.children||\"\"),M,Z):F.el=b.el},v=(b,F,M,Z)=>{[b.el,b.anchor]=p(b.children,F,M,Z,b.el,b.anchor)},y=({el:b,anchor:F},M,Z)=>{let G;for(;b&&b!==F;)G=f(b),n(b,M,Z),b=G;n(F,M,Z)},_=({el:b,anchor:F})=>{let M;for(;b&&b!==F;)M=f(b),i(b),b=M;i(F)},A=(b,F,M,Z,G,te,ie,H,ee)=>{F.type===\"svg\"?ie=\"svg\":F.type===\"math\"&&(ie=\"mathml\"),b==null?E(F,M,Z,G,te,ie,H,ee):T(b,F,G,te,ie,H,ee)},E=(b,F,M,Z,G,te,ie,H)=>{let ee,Y;const{props:se,shapeFlag:pe,transition:de,dirs:Ee}=b;if(ee=b.el=o(b.type,te,se&&se.is,se),pe&8?c(ee,b.children):pe&16&&S(b.children,ee,null,Z,G,za(b,te),ie,H),Ee&&mn(b,null,Z,\"created\"),B(ee,b,b.scopeId,ie,Z),se){for(const Ge in se)Ge!==\"value\"&&!Gi(Ge)&&s(ee,Ge,null,se[Ge],te,b.children,Z,G,Q);\"value\"in se&&s(ee,\"value\",null,se.value,te),(Y=se.onVnodeBeforeMount)&&ar(Y,Z,b)}Ee&&mn(b,null,Z,\"beforeMount\");const De=uy(G,de);De&&de.beforeEnter(ee),n(ee,F,M),((Y=se&&se.onVnodeMounted)||De||Ee)&&Rt(()=>{Y&&ar(Y,Z,b),De&&de.enter(ee),Ee&&mn(b,null,Z,\"mounted\")},G)},B=(b,F,M,Z,G)=>{if(M&&h(b,M),Z)for(let te=0;te<Z.length;te++)h(b,Z[te]);if(G){let te=G.subTree;if(F===te){const ie=G.vnode;B(b,ie,ie.scopeId,ie.slotScopeIds,G.parent)}}},S=(b,F,M,Z,G,te,ie,H,ee=0)=>{for(let Y=ee;Y<b.length;Y++){const se=b[Y]=H?Jr(b[Y]):ur(b[Y]);g(null,se,F,M,Z,G,te,ie,H)}},T=(b,F,M,Z,G,te,ie)=>{const H=F.el=b.el;let{patchFlag:ee,dynamicChildren:Y,dirs:se}=F;ee|=b.patchFlag&16;const pe=b.props||He,de=F.props||He;let Ee;if(M&&bn(M,!1),(Ee=de.onVnodeBeforeUpdate)&&ar(Ee,M,F,b),se&&mn(F,b,M,\"beforeUpdate\"),M&&bn(M,!0),Y?C(b.dynamicChildren,Y,H,M,Z,za(F,G),te):ie||V(b,F,H,null,M,Z,za(F,G),te,!1),ee>0){if(ee&16)w(H,F,pe,de,M,Z,G);else if(ee&2&&pe.class!==de.class&&s(H,\"class\",null,de.class,G),ee&4&&s(H,\"style\",pe.style,de.style,G),ee&8){const De=F.dynamicProps;for(let Ge=0;Ge<De.length;Ge++){const Xe=De[Ge],st=pe[Xe],xt=de[Xe];(xt!==st||Xe===\"value\")&&s(H,Xe,st,xt,G,b.children,M,Z,Q)}}ee&1&&b.children!==F.children&&c(H,F.children)}else!ie&&Y==null&&w(H,F,pe,de,M,Z,G);((Ee=de.onVnodeUpdated)||se)&&Rt(()=>{Ee&&ar(Ee,M,F,b),se&&mn(F,b,M,\"updated\")},Z)},C=(b,F,M,Z,G,te,ie)=>{for(let H=0;H<F.length;H++){const ee=b[H],Y=F[H],se=ee.el&&(ee.type===je||!Bn(ee,Y)||ee.shapeFlag&70)?d(ee.el):M;g(ee,Y,se,null,Z,G,te,ie,!0)}},w=(b,F,M,Z,G,te,ie)=>{if(M!==Z){if(M!==He)for(const H in M)!Gi(H)&&!(H in Z)&&s(b,H,M[H],null,ie,F.children,G,te,Q);for(const H in Z){if(Gi(H))continue;const ee=Z[H],Y=M[H];ee!==Y&&H!==\"value\"&&s(b,H,Y,ee,ie,F.children,G,te,Q)}\"value\"in Z&&s(b,\"value\",M.value,Z.value,ie)}},D=(b,F,M,Z,G,te,ie,H,ee)=>{const Y=F.el=b?b.el:a(\"\"),se=F.anchor=b?b.anchor:a(\"\");let{patchFlag:pe,dynamicChildren:de,slotScopeIds:Ee}=F;Ee&&(H=H?H.concat(Ee):Ee),b==null?(n(Y,M,Z),n(se,M,Z),S(F.children||[],M,se,G,te,ie,H,ee)):pe>0&&pe&64&&de&&b.dynamicChildren?(C(b.dynamicChildren,de,M,G,te,ie,H),(F.key!=null||G&&F===G.subTree)&&Dl(b,F,!0)):V(b,F,M,se,G,te,ie,H,ee)},k=(b,F,M,Z,G,te,ie,H,ee)=>{F.slotScopeIds=H,b==null?F.shapeFlag&512?G.ctx.activate(F,M,Z,ie,ee):U(F,M,Z,G,te,ie,ee):j(b,F,ee)},U=(b,F,M,Z,G,te,ie)=>{const H=b.component=yy(b,Z,G);if(Ls(b)&&(H.ctx.renderer=Ce),Ey(H),H.asyncDep){if(G&&G.registerDep(H,P),!b.el){const ee=H.subTree=oe(zt);m(null,ee,F,M)}}else P(H,b,F,M,G,te,ie)},j=(b,F,M)=>{const Z=F.component=b.component;if(Cx(b,F,M))if(Z.asyncDep&&!Z.asyncResolved){K(Z,F,M);return}else Z.next=F,xx(Z.update),Z.effect.dirty=!0,Z.update();else F.el=b.el,Z.vnode=F},P=(b,F,M,Z,G,te,ie)=>{const H=()=>{if(b.isMounted){let{next:se,bu:pe,u:de,parent:Ee,vnode:De}=b;{const Zt=ih(b);if(Zt){se&&(se.el=De.el,K(b,se,ie)),Zt.asyncDep.then(()=>{b.isUnmounted||H()});return}}let Ge=se,Xe;bn(b,!1),se?(se.el=De.el,K(b,se,ie)):se=De,pe&&fo(pe),(Xe=se.props&&se.props.onVnodeBeforeUpdate)&&ar(Xe,Ee,se,De),bn(b,!0);const st=ja(b),xt=b.subTree;b.subTree=st,g(xt,st,d(xt.el),I(xt),b,G,te),se.el=st.el,Ge===null&&Ax(b,st.el),de&&Rt(de,G),(Xe=se.props&&se.props.onVnodeUpdated)&&Rt(()=>ar(Xe,Ee,se,De),G)}else{let se;const{el:pe,props:de}=F,{bm:Ee,m:De,parent:Ge}=b,Xe=Qi(F);if(bn(b,!1),Ee&&fo(Ee),!Xe&&(se=de&&de.onVnodeBeforeMount)&&ar(se,Ge,F),bn(b,!0),pe&&ye){const st=()=>{b.subTree=ja(b),ye(pe,b.subTree,b,G,null)};Xe?F.type.__asyncLoader().then(()=>!b.isUnmounted&&st()):st()}else{const st=b.subTree=ja(b);g(null,st,M,Z,b,G,te),F.el=st.el}if(De&&Rt(De,G),!Xe&&(se=de&&de.onVnodeMounted)){const st=F;Rt(()=>ar(se,Ge,st),G)}(F.shapeFlag&256||Ge&&Qi(Ge.vnode)&&Ge.vnode.shapeFlag&256)&&b.a&&Rt(b.a,G),b.isMounted=!0,F=M=Z=null}},ee=b.effect=new pl(H,Wt,()=>ia(Y),b.scope),Y=b.update=()=>{ee.dirty&&ee.run()};Y.id=b.uid,bn(b,!0),Y()},K=(b,F,M)=>{F.component=b;const Z=b.vnode.props;b.vnode=F,b.next=null,ty(b,F.props,Z,M),iy(b,F.children,M),gn(),R0(b),xn()},V=(b,F,M,Z,G,te,ie,H,ee=!1)=>{const Y=b&&b.children,se=b?b.shapeFlag:0,pe=F.children,{patchFlag:de,shapeFlag:Ee}=F;if(de>0){if(de&128){ne(Y,pe,M,Z,G,te,ie,H,ee);return}else if(de&256){re(Y,pe,M,Z,G,te,ie,H,ee);return}}Ee&8?(se&16&&Q(Y,G,te),pe!==Y&&c(M,pe)):se&16?Ee&16?ne(Y,pe,M,Z,G,te,ie,H,ee):Q(Y,G,te,!0):(se&8&&c(M,\"\"),Ee&16&&S(pe,M,Z,G,te,ie,H,ee))},re=(b,F,M,Z,G,te,ie,H,ee)=>{b=b||ai,F=F||ai;const Y=b.length,se=F.length,pe=Math.min(Y,se);let de;for(de=0;de<pe;de++){const Ee=F[de]=ee?Jr(F[de]):ur(F[de]);g(b[de],Ee,M,null,G,te,ie,H,ee)}Y>se?Q(b,G,te,!0,!1,pe):S(F,M,Z,G,te,ie,H,ee,pe)},ne=(b,F,M,Z,G,te,ie,H,ee)=>{let Y=0;const se=F.length;let pe=b.length-1,de=se-1;for(;Y<=pe&&Y<=de;){const Ee=b[Y],De=F[Y]=ee?Jr(F[Y]):ur(F[Y]);if(Bn(Ee,De))g(Ee,De,M,null,G,te,ie,H,ee);else break;Y++}for(;Y<=pe&&Y<=de;){const Ee=b[pe],De=F[de]=ee?Jr(F[de]):ur(F[de]);if(Bn(Ee,De))g(Ee,De,M,null,G,te,ie,H,ee);else break;pe--,de--}if(Y>pe){if(Y<=de){const Ee=de+1,De=Ee<se?F[Ee].el:Z;for(;Y<=de;)g(null,F[Y]=ee?Jr(F[Y]):ur(F[Y]),M,De,G,te,ie,H,ee),Y++}}else if(Y>de)for(;Y<=pe;)$(b[Y],G,te,!0),Y++;else{const Ee=Y,De=Y,Ge=new Map;for(Y=De;Y<=de;Y++){const wt=F[Y]=ee?Jr(F[Y]):ur(F[Y]);wt.key!=null&&Ge.set(wt.key,Y)}let Xe,st=0;const xt=de-De+1;let Zt=!1,Zs=0;const $r=new Array(xt);for(Y=0;Y<xt;Y++)$r[Y]=0;for(Y=Ee;Y<=pe;Y++){const wt=b[Y];if(st>=xt){$(wt,G,te,!0);continue}let Yt;if(wt.key!=null)Yt=Ge.get(wt.key);else for(Xe=De;Xe<=de;Xe++)if($r[Xe-De]===0&&Bn(wt,F[Xe])){Yt=Xe;break}Yt===void 0?$(wt,G,te,!0):($r[Yt-De]=Y+1,Yt>=Zs?Zs=Yt:Zt=!0,g(wt,F[Yt],M,null,G,te,ie,H,ee),st++)}const Pi=Zt?ly($r):ai;for(Xe=Pi.length-1,Y=xt-1;Y>=0;Y--){const wt=De+Y,Yt=F[wt],Oi=wt+1<se?F[wt+1].el:Z;$r[Y]===0?g(null,Yt,M,Oi,G,te,ie,H,ee):Zt&&(Xe<0||Y!==Pi[Xe]?O(Yt,M,Oi,2):Xe--)}}},O=(b,F,M,Z,G=null)=>{const{el:te,type:ie,transition:H,children:ee,shapeFlag:Y}=b;if(Y&6){O(b.component.subTree,F,M,Z);return}if(Y&128){b.suspense.move(F,M,Z);return}if(Y&64){ie.move(b,F,M,Ce);return}if(ie===je){n(te,F,M);for(let pe=0;pe<ee.length;pe++)O(ee[pe],F,M,Z);n(b.anchor,F,M);return}if(ie===po){y(b,F,M);return}if(Z!==2&&Y&1&&H)if(Z===0)H.beforeEnter(te),n(te,F,M),Rt(()=>H.enter(te),G);else{const{leave:pe,delayLeave:de,afterLeave:Ee}=H,De=()=>n(te,F,M),Ge=()=>{pe(te,()=>{De(),Ee&&Ee()})};de?de(te,De,Ge):Ge()}else n(te,F,M)},$=(b,F,M,Z=!1,G=!1)=>{const{type:te,props:ie,ref:H,children:ee,dynamicChildren:Y,shapeFlag:se,patchFlag:pe,dirs:de}=b;if(H!=null&&Au(H,null,M,b,!0),se&256){F.ctx.deactivate(b);return}const Ee=se&1&&de,De=!Qi(b);let Ge;if(De&&(Ge=ie&&ie.onVnodeBeforeUnmount)&&ar(Ge,F,b),se&6)R(b.component,M,Z);else{if(se&128){b.suspense.unmount(M,Z);return}Ee&&mn(b,null,F,\"beforeUnmount\"),se&64?b.type.remove(b,F,M,G,Ce,Z):Y&&(te!==je||pe>0&&pe&64)?Q(Y,F,M,!1,!0):(te===je&&pe&384||!G&&se&16)&&Q(ee,F,M),Z&&W(b)}(De&&(Ge=ie&&ie.onVnodeUnmounted)||Ee)&&Rt(()=>{Ge&&ar(Ge,F,b),Ee&&mn(b,null,F,\"unmounted\")},M)},W=b=>{const{type:F,el:M,anchor:Z,transition:G}=b;if(F===je){z(M,Z);return}if(F===po){_(b);return}const te=()=>{i(M),G&&!G.persisted&&G.afterLeave&&G.afterLeave()};if(b.shapeFlag&1&&G&&!G.persisted){const{leave:ie,delayLeave:H}=G,ee=()=>ie(M,te);H?H(b.el,te,ee):ee()}else te()},z=(b,F)=>{let M;for(;b!==F;)M=f(b),i(b),b=M;i(F)},R=(b,F,M)=>{const{bum:Z,scope:G,update:te,subTree:ie,um:H}=b;Z&&fo(Z),G.stop(),te&&(te.active=!1,$(ie,b,F,M)),H&&Rt(H,F),Rt(()=>{b.isUnmounted=!0},F),F&&F.pendingBranch&&!F.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===F.pendingId&&(F.deps--,F.deps===0&&F.resolve())},Q=(b,F,M,Z=!1,G=!1,te=0)=>{for(let ie=te;ie<b.length;ie++)$(b[ie],F,M,Z,G)},I=b=>b.shapeFlag&6?I(b.component.subTree):b.shapeFlag&128?b.suspense.next():f(b.anchor||b.el);let J=!1;const Pe=(b,F,M)=>{b==null?F._vnode&&$(F._vnode,null,null,!0):g(F._vnode||null,b,F,null,null,null,M),J||(J=!0,R0(),Od(),J=!1),F._vnode=b},Ce={p:g,um:$,m:O,r:W,mt:U,mc:S,pc:V,pbc:C,n:I,o:e};let _e,ye;return t&&([_e,ye]=t(Ce)),{render:Pe,hydrate:_e,createApp:Nx(Pe,_e)}}function za({type:e,props:t},r){return r===\"svg\"&&e===\"foreignObject\"||r===\"mathml\"&&e===\"annotation-xml\"&&t&&t.encoding&&t.encoding.includes(\"html\")?void 0:r}function bn({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function uy(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Dl(e,t,r=!1){const n=e.children,i=t.children;if(xe(n)&&xe(i))for(let s=0;s<n.length;s++){const o=n[s];let a=i[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[s]=Jr(i[s]),a.el=o.el),r||Dl(o,a)),a.type===la&&(a.el=o.el)}}function ly(e){const t=e.slice(),r=[0];let n,i,s,o,a;const u=e.length;for(n=0;n<u;n++){const l=e[n];if(l!==0){if(i=r[r.length-1],e[i]<l){t[n]=i,r.push(n);continue}for(s=0,o=r.length-1;s<o;)a=s+o>>1,e[r[a]]<l?s=a+1:o=a;l<e[r[s]]&&(s>0&&(t[n]=r[s-1]),r[s]=n)}}for(s=r.length,o=r[s-1];s-- >0;)r[s]=o,o=t[o];return r}function ih(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ih(t)}const cy=e=>e.__isTeleport,Ii=e=>e&&(e.disabled||e.disabled===\"\"),Y0=e=>typeof SVGElement!=\"undefined\"&&e instanceof SVGElement,G0=e=>typeof MathMLElement==\"function\"&&e instanceof MathMLElement,Su=(e,t)=>{const r=e&&e.to;return it(r)?t?t(r):null:r},fy={name:\"Teleport\",__isTeleport:!0,process(e,t,r,n,i,s,o,a,u,l){const{mc:c,pc:d,pbc:f,o:{insert:h,querySelector:p,createText:g,createComment:x}}=l,m=Ii(t.props);let{shapeFlag:v,children:y,dynamicChildren:_}=t;if(e==null){const A=t.el=g(\"\"),E=t.anchor=g(\"\");h(A,r,n),h(E,r,n);const B=t.target=Su(t.props,p),S=t.targetAnchor=g(\"\");B&&(h(S,B),o===\"svg\"||Y0(B)?o=\"svg\":(o===\"mathml\"||G0(B))&&(o=\"mathml\"));const T=(C,w)=>{v&16&&c(y,C,w,i,s,o,a,u)};m?T(r,E):B&&T(B,S)}else{t.el=e.el;const A=t.anchor=e.anchor,E=t.target=e.target,B=t.targetAnchor=e.targetAnchor,S=Ii(e.props),T=S?r:E,C=S?A:B;if(o===\"svg\"||Y0(E)?o=\"svg\":(o===\"mathml\"||G0(E))&&(o=\"mathml\"),_?(f(e.dynamicChildren,_,T,i,s,o,a),Dl(e,t,!0)):u||d(e,t,T,C,i,s,o,a,!1),m)S?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Hs(t,r,A,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const w=t.target=Su(t.props,p);w&&Hs(t,w,null,l,0)}else S&&Hs(t,E,B,l,1)}sh(t)},remove(e,t,r,n,{um:i,o:{remove:s}},o){const{shapeFlag:a,children:u,anchor:l,targetAnchor:c,target:d,props:f}=e;if(d&&s(c),o&&s(l),a&16){const h=o||!Ii(f);for(let p=0;p<u.length;p++){const g=u[p];i(g,t,r,h,!!g.dynamicChildren)}}},move:Hs,hydrate:dy};function Hs(e,t,r,{o:{insert:n},m:i},s=2){s===0&&n(e.targetAnchor,t,r);const{el:o,anchor:a,shapeFlag:u,children:l,props:c}=e,d=s===2;if(d&&n(o,t,r),(!d||Ii(c))&&u&16)for(let f=0;f<l.length;f++)i(l[f],t,r,2);d&&n(a,t,r)}function dy(e,t,r,n,i,s,{o:{nextSibling:o,parentNode:a,querySelector:u}},l){const c=t.target=Su(t.props,u);if(c){const d=c._lpa||c.firstChild;if(t.shapeFlag&16)if(Ii(t.props))t.anchor=l(o(e),t,a(e),r,n,i,s),t.targetAnchor=d;else{t.anchor=o(e);let f=d;for(;f;)if(f=o(f),f&&f.nodeType===8&&f.data===\"teleport anchor\"){t.targetAnchor=f,c._lpa=t.targetAnchor&&o(t.targetAnchor);break}l(d,t,c,r,n,i,s)}sh(t)}return t.anchor&&o(t.anchor)}const $s=fy;function sh(e){const t=e.ctx;if(t&&t.ut){let r=e.children[0].el;for(;r&&r!==e.targetAnchor;)r.nodeType===1&&r.setAttribute(\"data-v-owner\",t.uid),r=r.nextSibling;t.ut()}}const je=Symbol.for(\"v-fgt\"),la=Symbol.for(\"v-txt\"),zt=Symbol.for(\"v-cmt\"),po=Symbol.for(\"v-stc\"),Ni=[];let tr=null;function X(e=!1){Ni.push(tr=e?null:[])}function hy(){Ni.pop(),tr=Ni[Ni.length-1]||null}let fs=1;function Q0(e){fs+=e}function oh(e){return e.dynamicChildren=fs>0?tr||ai:null,hy(),fs>0&&tr&&tr.push(e),e}function ce(e,t,r,n,i,s){return oh(me(e,t,r,n,i,s,!0))}function Re(e,t,r,n,i){return oh(oe(e,t,r,n,i,!0))}function Ao(e){return e?e.__v_isVNode===!0:!1}function Bn(e,t){return e.type===t.type&&e.key===t.key}const ah=({key:e})=>e!=null?e:null,vo=({ref:e,ref_key:t,ref_for:r})=>(typeof e==\"number\"&&(e=\"\"+e),e!=null?it(e)||pt(e)||Be(e)?{i:ct,r:e,k:t,f:!!r}:e:null);function me(e,t=null,r=null,n=0,i=null,s=e===je?0:1,o=!1,a=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ah(t),ref:t&&vo(t),scopeId:oa,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:ct};return a?(Tl(u,r),s&128&&e.normalize(u)):r&&(u.shapeFlag|=it(r)?8:16),fs>0&&!o&&tr&&(u.patchFlag>0||s&6)&&u.patchFlag!==32&&tr.push(u),u}const oe=py;function py(e,t=null,r=null,n=0,i=null,s=!1){if((!e||e===jd)&&(e=zt),Ao(e)){const a=cn(e,t,!0);return r&&Tl(a,r),fs>0&&!s&&tr&&(a.shapeFlag&6?tr[tr.indexOf(e)]=a:tr.push(a)),a.patchFlag|=-2,a}if(Cy(e)&&(e=e.__vccOpts),t){t=vy(t);let{class:a,style:u}=t;a&&!it(a)&&(t.class=Jt(a)),Ie(u)&&(Sd(u)&&!xe(u)&&(u=at({},u)),t.style=tt(u))}const o=it(e)?1:Bx(e)?128:cy(e)?64:Ie(e)?4:Be(e)?2:0;return me(e,t,r,n,i,o,s,!0)}function vy(e){return e?Sd(e)||Nd(e)?at({},e):e:null}function cn(e,t,r=!1,n=!1){const{props:i,ref:s,patchFlag:o,children:a,transition:u}=e,l=t?uh(i||{},t):i,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&ah(l),ref:t&&t.ref?r&&s?xe(s)?s.concat(vo(t)):[s,vo(t)]:vo(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==je?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cn(e.ssContent),ssFallback:e.ssFallback&&cn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&n&&(c.transition=u.clone(c)),c}function Dr(e=\" \",t=0){return oe(la,null,e,t)}function Ze(e=\"\",t=!1){return t?(X(),Re(zt,null,e)):oe(zt,null,e)}function ur(e){return e==null||typeof e==\"boolean\"?oe(zt):xe(e)?oe(je,null,e.slice()):typeof e==\"object\"?Jr(e):oe(la,null,String(e))}function Jr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:cn(e)}function Tl(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(xe(t))r=16;else if(typeof t==\"object\")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),Tl(e,i()),i._c&&(i._d=!0));return}else{r=32;const i=t._;!i&&!Nd(t)?t._ctx=ct:i===3&&ct&&(ct.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Be(t)?(t={default:t,_ctx:ct},r=32):(t=String(t),n&64?(r=16,t=[Dr(t)]):r=8);e.children=t,e.shapeFlag|=r}function uh(...e){const t={};for(let r=0;r<e.length;r++){const n=e[r];for(const i in n)if(i===\"class\")t.class!==n.class&&(t.class=Jt([t.class,n.class]));else if(i===\"style\")t.style=tt([t.style,n.style]);else if(Io(i)){const s=t[i],o=n[i];o&&s!==o&&!(xe(s)&&s.includes(o))&&(t[i]=s?[].concat(s,o):o)}else i!==\"\"&&(t[i]=n[i])}return t}function ar(e,t,r,n=null){Xt(e,t,7,[r,n])}const gy=Xd();let xy=0;function yy(e,t,r){const n=e.type,i=(t?t.appContext:e.appContext)||gy,s={uid:xy++,vnode:e,type:n,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new cd(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:eh(n,i),emitsOptions:Md(n,i),emit:null,emitted:null,propsDefaults:He,inheritAttrs:n.inheritAttrs,ctx:He,data:He,props:He,attrs:He,slots:He,refs:He,setupState:He,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=_x.bind(null,s),e.ce&&e.ce(s),s}let dt=null;const Kn=()=>dt||ct;let So,wu;{const e=dl(),t=(r,n)=>{let i;return(i=e[r])||(i=e[r]=[]),i.push(n),s=>{i.length>1?i.forEach(o=>o(s)):i[0](s)}};So=t(\"__VUE_INSTANCE_SETTERS__\",r=>dt=r),wu=t(\"__VUE_SSR_SETTERS__\",r=>Vs=r)}const js=e=>{const t=dt;return So(e),e.scope.on(),()=>{e.scope.off(),So(t)}},X0=()=>{dt&&dt.scope.off(),So(null)};function lh(e){return e.vnode.shapeFlag&4}let Vs=!1;function Ey(e,t=!1){t&&wu(t);const{props:r,children:n}=e.vnode,i=lh(e);ey(e,r,i,t),ny(e,n);const s=i?_y(e,t):void 0;return t&&wu(!1),s}function _y(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Kx);const{setup:n}=r;if(n){const i=e.setupContext=n.length>1?fh(e):null,s=js(e);gn();const o=sn(n,e,0,[e.props,i]);if(xn(),s(),nd(o)){if(o.then(X0,X0),t)return o.then(a=>{J0(e,a,t)}).catch(a=>{Ms(a,e,0)});e.asyncDep=o}else J0(e,o,t)}else ch(e,t)}function J0(e,t,r){Be(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ie(t)&&(e.setupState=Td(t)),ch(e,r)}let I0;function ch(e,t,r){const n=e.type;if(!e.render){if(!t&&I0&&!n.render){const i=n.template||Bl(e).template;if(i){const{isCustomElement:s,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:u}=n,l=at(at({isCustomElement:s,delimiters:a},o),u);n.render=I0(i,l)}}e.render=n.render||Wt}{const i=js(e);gn();try{Yx(e)}finally{xn(),i()}}}const my={get(e,t){return Lt(e,\"get\",\"\"),e[t]}};function fh(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,my),slots:e.slots,emit:e.emit,expose:t}}function ca(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Td(na(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Xi)return Xi[r](e)},has(t,r){return r in t||r in Xi}}))}function by(e,t=!0){return Be(e)?e.displayName||e.name:e.name||t&&e.__name}function Cy(e){return Be(e)&&\"__vccOpts\"in e}const ue=(e,t)=>cx(e,t,Vs);function bt(e,t,r){const n=arguments.length;return n===2?Ie(t)&&!xe(t)?Ao(t)?oe(e,null,[t]):oe(e,t):oe(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&Ao(r)&&(r=[r]),oe(e,t,r))}const Ay=\"3.4.27\";/**\n* @vue/runtime-dom v3.4.27\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/const Sy=\"http://www.w3.org/2000/svg\",wy=\"http://www.w3.org/1998/Math/MathML\",Ir=typeof document!=\"undefined\"?document:null,N0=Ir&&Ir.createElement(\"template\"),By={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const i=t===\"svg\"?Ir.createElementNS(Sy,e):t===\"mathml\"?Ir.createElementNS(wy,e):Ir.createElement(e,r?{is:r}:void 0);return e===\"select\"&&n&&n.multiple!=null&&i.setAttribute(\"multiple\",n.multiple),i},createText:e=>Ir.createTextNode(e),createComment:e=>Ir.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ir.querySelector(e),setScopeId(e,t){e.setAttribute(t,\"\")},insertStaticContent(e,t,r,n,i,s){const o=r?r.previousSibling:t.lastChild;if(i&&(i===s||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),r),!(i===s||!(i=i.nextSibling)););else{N0.innerHTML=n===\"svg\"?`<svg>${e}</svg>`:n===\"mathml\"?`<math>${e}</math>`:e;const a=N0.content;if(n===\"svg\"||n===\"mathml\"){const u=a.firstChild;for(;u.firstChild;)a.appendChild(u.firstChild);a.removeChild(u)}t.insertBefore(a,r)}return[o?o.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},Wr=\"transition\",Ri=\"animation\",pi=Symbol(\"_vtc\"),kl=(e,{slots:t})=>bt(Rx,hh(e),t);kl.displayName=\"Transition\";const dh={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Fy=kl.props=at({},zd,dh),Cn=(e,t=[])=>{xe(e)?e.forEach(r=>r(...t)):e&&e(...t)},H0=e=>e?xe(e)?e.some(t=>t.length>1):e.length>1:!1;function hh(e){const t={};for(const D in e)D in dh||(t[D]=e[D]);if(e.css===!1)return t;const{name:r=\"v\",type:n,duration:i,enterFromClass:s=`${r}-enter-from`,enterActiveClass:o=`${r}-enter-active`,enterToClass:a=`${r}-enter-to`,appearFromClass:u=s,appearActiveClass:l=o,appearToClass:c=a,leaveFromClass:d=`${r}-leave-from`,leaveActiveClass:f=`${r}-leave-active`,leaveToClass:h=`${r}-leave-to`}=e,p=Dy(i),g=p&&p[0],x=p&&p[1],{onBeforeEnter:m,onEnter:v,onEnterCancelled:y,onLeave:_,onLeaveCancelled:A,onBeforeAppear:E=m,onAppear:B=v,onAppearCancelled:S=y}=t,T=(D,k,U)=>{Yr(D,k?c:a),Yr(D,k?l:o),U&&U()},C=(D,k)=>{D._isLeaving=!1,Yr(D,d),Yr(D,h),Yr(D,f),k&&k()},w=D=>(k,U)=>{const j=D?B:v,P=()=>T(k,D,U);Cn(j,[k,P]),ec(()=>{Yr(k,D?u:s),_r(k,D?c:a),H0(j)||tc(k,n,g,P)})};return at(t,{onBeforeEnter(D){Cn(m,[D]),_r(D,s),_r(D,o)},onBeforeAppear(D){Cn(E,[D]),_r(D,u),_r(D,l)},onEnter:w(!1),onAppear:w(!0),onLeave(D,k){D._isLeaving=!0;const U=()=>C(D,k);_r(D,d),_r(D,f),vh(),ec(()=>{!D._isLeaving||(Yr(D,d),_r(D,h),H0(_)||tc(D,n,x,U))}),Cn(_,[D,U])},onEnterCancelled(D){T(D,!1),Cn(y,[D])},onAppearCancelled(D){T(D,!0),Cn(S,[D])},onLeaveCancelled(D){C(D),Cn(A,[D])}})}function Dy(e){if(e==null)return null;if(Ie(e))return[Ka(e.enter),Ka(e.leave)];{const t=Ka(e);return[t,t]}}function Ka(e){return Rg(e)}function _r(e,t){t.split(/\\s+/).forEach(r=>r&&e.classList.add(r)),(e[pi]||(e[pi]=new Set)).add(t)}function Yr(e,t){t.split(/\\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[pi];r&&(r.delete(t),r.size||(e[pi]=void 0))}function ec(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ty=0;function tc(e,t,r,n){const i=e._endId=++Ty,s=()=>{i===e._endId&&n()};if(r)return setTimeout(s,r);const{type:o,timeout:a,propCount:u}=ph(e,t);if(!o)return n();const l=o+\"end\";let c=0;const d=()=>{e.removeEventListener(l,f),s()},f=h=>{h.target===e&&++c>=u&&d()};setTimeout(()=>{c<u&&d()},a+1),e.addEventListener(l,f)}function ph(e,t){const r=window.getComputedStyle(e),n=p=>(r[p]||\"\").split(\", \"),i=n(`${Wr}Delay`),s=n(`${Wr}Duration`),o=rc(i,s),a=n(`${Ri}Delay`),u=n(`${Ri}Duration`),l=rc(a,u);let c=null,d=0,f=0;t===Wr?o>0&&(c=Wr,d=o,f=s.length):t===Ri?l>0&&(c=Ri,d=l,f=u.length):(d=Math.max(o,l),c=d>0?o>l?Wr:Ri:null,f=c?c===Wr?s.length:u.length:0);const h=c===Wr&&/\\b(transform|all)(,|$)/.test(n(`${Wr}Property`).toString());return{type:c,timeout:d,propCount:f,hasTransform:h}}function rc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((r,n)=>nc(r)+nc(e[n])))}function nc(e){return e===\"auto\"?0:Number(e.slice(0,-1).replace(\",\",\".\"))*1e3}function vh(){return document.body.offsetHeight}function ky(e,t,r){const n=e[pi];n&&(t=(t?[t,...n]:[...n]).join(\" \")),t==null?e.removeAttribute(\"class\"):r?e.setAttribute(\"class\",t):e.className=t}const ic=Symbol(\"_vod\"),Py=Symbol(\"_vsh\"),gh=Symbol(\"\");function It(e){const t=Kn();if(!t)return;const r=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner=\"${t.uid}\"]`)).forEach(s=>Fu(s,i))},n=()=>{const i=e(t.proxy);Bu(t.subTree,i),r(i)};ln(()=>{kx(n);const i=new MutationObserver(n);i.observe(t.subTree.el.parentNode,{childList:!0}),wl(()=>i.disconnect())})}function Bu(e,t){if(e.shapeFlag&128){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{Bu(r.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Fu(e.el,t);else if(e.type===je)e.children.forEach(r=>Bu(r,t));else if(e.type===po){let{el:r,anchor:n}=e;for(;r&&(Fu(r,t),r!==n);)r=r.nextSibling}}function Fu(e,t){if(e.nodeType===1){const r=e.style;let n=\"\";for(const i in t)r.setProperty(`--${i}`,t[i]),n+=`--${i}: ${t[i]};`;r[gh]=n}}const Oy=/(^|;)\\s*display\\s*:/;function Ry(e,t,r){const n=e.style,i=it(r);let s=!1;if(r&&!i){if(t)if(it(t))for(const o of t.split(\";\")){const a=o.slice(0,o.indexOf(\":\")).trim();r[a]==null&&go(n,a,\"\")}else for(const o in t)r[o]==null&&go(n,o,\"\");for(const o in r)o===\"display\"&&(s=!0),go(n,o,r[o])}else if(i){if(t!==r){const o=n[gh];o&&(r+=\";\"+o),n.cssText=r,s=Oy.test(r)}}else t&&e.removeAttribute(\"style\");ic in e&&(e[ic]=s?n.display:\"\",e[Py]&&(n.display=\"none\"))}const sc=/\\s*!important$/;function go(e,t,r){if(xe(r))r.forEach(n=>go(e,t,n));else if(r==null&&(r=\"\"),t.startsWith(\"--\"))e.setProperty(t,r);else{const n=My(e,t);sc.test(r)?e.setProperty(Wn(n),r.replace(sc,\"\"),\"important\"):e[n]=r}}const oc=[\"Webkit\",\"Moz\",\"ms\"],qa={};function My(e,t){const r=qa[t];if(r)return r;let n=gr(t);if(n!==\"filter\"&&n in e)return qa[t]=n;n=ea(n);for(let i=0;i<oc.length;i++){const s=oc[i]+n;if(s in e)return qa[t]=s}return t}const ac=\"http://www.w3.org/1999/xlink\";function Ly(e,t,r,n,i){if(n&&t.startsWith(\"xlink:\"))r==null?e.removeAttributeNS(ac,t.slice(6,t.length)):e.setAttributeNS(ac,t,r);else{const s=Ug(t);r==null||s&&!ad(r)?e.removeAttribute(t):e.setAttribute(t,s?\"\":r)}}function $y(e,t,r,n,i,s,o){if(t===\"innerHTML\"||t===\"textContent\"){n&&o(n,i,s),e[t]=r==null?\"\":r;return}const a=e.tagName;if(t===\"value\"&&a!==\"PROGRESS\"&&!a.includes(\"-\")){const l=a===\"OPTION\"?e.getAttribute(\"value\")||\"\":e.value,c=r==null?\"\":r;(l!==c||!(\"_value\"in e))&&(e.value=c),r==null&&e.removeAttribute(t),e._value=r;return}let u=!1;if(r===\"\"||r==null){const l=typeof e[t];l===\"boolean\"?r=ad(r):r==null&&l===\"string\"?(r=\"\",u=!0):l===\"number\"&&(r=0,u=!0)}try{e[t]=r}catch{}u&&e.removeAttribute(t)}function Fn(e,t,r,n){e.addEventListener(t,r,n)}function jy(e,t,r,n){e.removeEventListener(t,r,n)}const uc=Symbol(\"_vei\");function Vy(e,t,r,n,i=null){const s=e[uc]||(e[uc]={}),o=s[t];if(n&&o)o.value=n;else{const[a,u]=Uy(t);if(n){const l=s[t]=Ky(n,i);Fn(e,a,l,u)}else o&&(jy(e,a,o,u),s[t]=void 0)}}const lc=/(?:Once|Passive|Capture)$/;function Uy(e){let t;if(lc.test(e)){t={};let n;for(;n=e.match(lc);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===\":\"?e.slice(3):Wn(e.slice(2)),t]}let Za=0;const Wy=Promise.resolve(),zy=()=>Za||(Wy.then(()=>Za=0),Za=Date.now());function Ky(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;Xt(qy(n,r.value),t,5,[n])};return r.value=e,r.attached=zy(),r}function qy(e,t){if(xe(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const cc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Zy=(e,t,r,n,i,s,o,a,u)=>{const l=i===\"svg\";t===\"class\"?ky(e,n,l):t===\"style\"?Ry(e,r,n):Io(t)?ll(t)||Vy(e,t,r,n,o):(t[0]===\".\"?(t=t.slice(1),!0):t[0]===\"^\"?(t=t.slice(1),!1):Yy(e,t,n,l))?$y(e,t,n,s,o,a,u):(t===\"true-value\"?e._trueValue=n:t===\"false-value\"&&(e._falseValue=n),Ly(e,t,n,l))};function Yy(e,t,r,n){if(n)return!!(t===\"innerHTML\"||t===\"textContent\"||t in e&&cc(t)&&Be(r));if(t===\"spellcheck\"||t===\"draggable\"||t===\"translate\"||t===\"form\"||t===\"list\"&&e.tagName===\"INPUT\"||t===\"type\"&&e.tagName===\"TEXTAREA\")return!1;if(t===\"width\"||t===\"height\"){const i=e.tagName;if(i===\"IMG\"||i===\"VIDEO\"||i===\"CANVAS\"||i===\"SOURCE\")return!1}return cc(t)&&it(r)?!1:t in e}const xh=new WeakMap,yh=new WeakMap,wo=Symbol(\"_moveCb\"),fc=Symbol(\"_enterCb\"),Eh={name:\"TransitionGroup\",props:at({},Fy,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=Kn(),n=Wd();let i,s;return Yd(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||\"v\"}-move`;if(!Iy(i[0].el,r.vnode.el,o))return;i.forEach(Qy),i.forEach(Xy);const a=i.filter(Jy);vh(),a.forEach(u=>{const l=u.el,c=l.style;_r(l,o),c.transform=c.webkitTransform=c.transitionDuration=\"\";const d=l[wo]=f=>{f&&f.target!==l||(!f||/transform$/.test(f.propertyName))&&(l.removeEventListener(\"transitionend\",d),l[wo]=null,Yr(l,o))};l.addEventListener(\"transitionend\",d)})}),()=>{const o=ze(e),a=hh(o);let u=o.tag||je;if(i=[],s)for(let l=0;l<s.length;l++){const c=s[l];c.el&&c.el instanceof Element&&(i.push(c),cs(c,ls(c,a,n,r)),xh.set(c,c.el.getBoundingClientRect()))}s=t.default?Al(t.default()):[];for(let l=0;l<s.length;l++){const c=s[l];c.key!=null&&cs(c,ls(c,a,n,r))}return oe(u,null,s)}}},Gy=e=>delete e.mode;Eh.props;const _h=Eh;function Qy(e){const t=e.el;t[wo]&&t[wo](),t[fc]&&t[fc]()}function Xy(e){yh.set(e,e.el.getBoundingClientRect())}function Jy(e){const t=xh.get(e),r=yh.get(e),n=t.left-r.left,i=t.top-r.top;if(n||i){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${n}px,${i}px)`,s.transitionDuration=\"0s\",e}}function Iy(e,t,r){const n=e.cloneNode(),i=e[pi];i&&i.forEach(a=>{a.split(/\\s+/).forEach(u=>u&&n.classList.remove(u))}),r.split(/\\s+/).forEach(a=>a&&n.classList.add(a)),n.style.display=\"none\";const s=t.nodeType===1?t:t.parentNode;s.appendChild(n);const{hasTransform:o}=ph(n);return s.removeChild(n),o}const Bo=e=>{const t=e.props[\"onUpdate:modelValue\"]||!1;return xe(t)?r=>fo(t,r):t};function Ny(e){e.target.composing=!0}function dc(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(\"input\")))}const fi=Symbol(\"_assign\"),qF={created(e,{modifiers:{lazy:t,trim:r,number:n}},i){e[fi]=Bo(i);const s=n||i.props&&i.props.type===\"number\";Fn(e,t?\"change\":\"input\",o=>{if(o.target.composing)return;let a=e.value;r&&(a=a.trim()),s&&(a=vu(a)),e[fi](a)}),r&&Fn(e,\"change\",()=>{e.value=e.value.trim()}),t||(Fn(e,\"compositionstart\",Ny),Fn(e,\"compositionend\",dc),Fn(e,\"change\",dc))},mounted(e,{value:t}){e.value=t==null?\"\":t},beforeUpdate(e,{value:t,modifiers:{lazy:r,trim:n,number:i}},s){if(e[fi]=Bo(s),e.composing)return;const o=(i||e.type===\"number\")&&!/^0\\d/.test(e.value)?vu(e.value):e.value,a=t==null?\"\":t;o!==a&&(document.activeElement===e&&e.type!==\"range\"&&(r||n&&e.value.trim()===a)||(e.value=a))}},ZF={deep:!0,created(e,t,r){e[fi]=Bo(r),Fn(e,\"change\",()=>{const n=e._modelValue,i=Hy(e),s=e.checked,o=e[fi];if(xe(n)){const a=ud(n,i),u=a!==-1;if(s&&!u)o(n.concat(i));else if(!s&&u){const l=[...n];l.splice(a,1),o(l)}}else if(No(n)){const a=new Set(n);s?a.add(i):a.delete(i),o(a)}else o(mh(e,s))})},mounted:hc,beforeUpdate(e,t,r){e[fi]=Bo(r),hc(e,t,r)}};function hc(e,{value:t,oldValue:r},n){e._modelValue=t,xe(t)?e.checked=ud(t,n.props.value)>-1:No(t)?e.checked=t.has(n.props.value):t!==r&&(e.checked=ta(t,mh(e,!0)))}function Hy(e){return\"_value\"in e?e._value:e.value}function mh(e,t){const r=t?\"_trueValue\":\"_falseValue\";return r in e?e[r]:t}const eE=[\"ctrl\",\"shift\",\"alt\",\"meta\"],tE={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>\"button\"in e&&e.button!==0,middle:e=>\"button\"in e&&e.button!==1,right:e=>\"button\"in e&&e.button!==2,exact:(e,t)=>eE.some(r=>e[`${r}Key`]&&!t.includes(r))},Si=(e,t)=>{const r=e._withMods||(e._withMods={}),n=t.join(\".\");return r[n]||(r[n]=(i,...s)=>{for(let o=0;o<t.length;o++){const a=tE[t[o]];if(a&&a(i,t))return}return e(i,...s)})},rE={esc:\"escape\",space:\" \",up:\"arrow-up\",left:\"arrow-left\",right:\"arrow-right\",down:\"arrow-down\",delete:\"backspace\"},YF=(e,t)=>{const r=e._withKeys||(e._withKeys={}),n=t.join(\".\");return r[n]||(r[n]=i=>{if(!(\"key\"in i))return;const s=Wn(i.key);if(t.some(o=>o===s||rE[o]===s))return e(i)})},nE=at({patchProp:Zy},By);let pc;function iE(){return pc||(pc=oy(nE))}const sE=(...e)=>{const t=iE().createApp(...e),{mount:r}=t;return t.mount=n=>{const i=aE(n);if(!i)return;const s=t._component;!Be(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.innerHTML=\"\";const o=r(i,!1,oE(i));return i instanceof Element&&(i.removeAttribute(\"v-cloak\"),i.setAttribute(\"data-v-app\",\"\")),o},t};function oE(e){if(e instanceof SVGElement)return\"svg\";if(typeof MathMLElement==\"function\"&&e instanceof MathMLElement)return\"mathml\"}function aE(e){return it(e)?document.querySelector(e):e}var uE=!1,vc;const bh=typeof window!=\"undefined\",lE=e=>typeof e==\"string\",Ya=()=>{};bh&&((vc=window==null?void 0:window.navigator)==null?void 0:vc.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function cE(e,t){function r(...n){e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})}return r}const Ch=e=>e();function fE(e,t={}){let r,n;return s=>{const o=L(e),a=L(t.maxWait);if(r&&clearTimeout(r),o<=0||a!==void 0&&a<=0)return n&&(clearTimeout(n),n=null),s();a&&!n&&(n=setTimeout(()=>{r&&clearTimeout(r),n=null,s()},a)),r=setTimeout(()=>{n&&clearTimeout(n),n=null,s()},o)}}function dE(e=Ch){const t=Fe(!0);function r(){t.value=!1}function n(){t.value=!0}return{isActive:t,pause:r,resume:n,eventFilter:(...s)=>{t.value&&e(...s)}}}function Pl(e){return hl()?(dd(e),!0):!1}function hE(e,t=!0){Kn()?Zd(e):t?e():Ai(e)}function pE(e,t=!0){Kn()?ln(e):t?e():Ai(e)}var gc=Object.getOwnPropertySymbols,vE=Object.prototype.hasOwnProperty,gE=Object.prototype.propertyIsEnumerable,xE=(e,t)=>{var r={};for(var n in e)vE.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&gc)for(var n of gc(e))t.indexOf(n)<0&&gE.call(e,n)&&(r[n]=e[n]);return r};function Ah(e,t,r={}){const n=r,{eventFilter:i=Ch}=n,s=xE(n,[\"eventFilter\"]);return yt(e,cE(i,t),s)}var yE=Object.defineProperty,EE=Object.defineProperties,_E=Object.getOwnPropertyDescriptors,Fo=Object.getOwnPropertySymbols,Sh=Object.prototype.hasOwnProperty,wh=Object.prototype.propertyIsEnumerable,xc=(e,t,r)=>t in e?yE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,mE=(e,t)=>{for(var r in t||(t={}))Sh.call(t,r)&&xc(e,r,t[r]);if(Fo)for(var r of Fo(t))wh.call(t,r)&&xc(e,r,t[r]);return e},bE=(e,t)=>EE(e,_E(t)),CE=(e,t)=>{var r={};for(var n in e)Sh.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Fo)for(var n of Fo(e))t.indexOf(n)<0&&wh.call(e,n)&&(r[n]=e[n]);return r};function GF(e,t,r={}){const n=r,{debounce:i=0,maxWait:s=void 0}=n,o=CE(n,[\"debounce\",\"maxWait\"]);return Ah(e,t,bE(mE({},o),{eventFilter:fE(i,{maxWait:s})}))}var AE=Object.defineProperty,SE=Object.defineProperties,wE=Object.getOwnPropertyDescriptors,Do=Object.getOwnPropertySymbols,Bh=Object.prototype.hasOwnProperty,Fh=Object.prototype.propertyIsEnumerable,yc=(e,t,r)=>t in e?AE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,BE=(e,t)=>{for(var r in t||(t={}))Bh.call(t,r)&&yc(e,r,t[r]);if(Do)for(var r of Do(t))Fh.call(t,r)&&yc(e,r,t[r]);return e},FE=(e,t)=>SE(e,wE(t)),DE=(e,t)=>{var r={};for(var n in e)Bh.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Do)for(var n of Do(e))t.indexOf(n)<0&&Fh.call(e,n)&&(r[n]=e[n]);return r};function TE(e,t,r={}){const n=r,{eventFilter:i}=n,s=DE(n,[\"eventFilter\"]),{eventFilter:o,pause:a,resume:u,isActive:l}=dE(i);return{stop:Ah(e,t,FE(BE({},s),{eventFilter:o})),pause:a,resume:u,isActive:l}}function Wi(e){var t;const r=L(e);return(t=r==null?void 0:r.$el)!=null?t:r}const Tr=bh?window:void 0;function Dt(...e){let t,r,n,i;if(lE(e[0])?([r,n,i]=e,t=Tr):[t,r,n,i]=e,!t)return Ya;let s=Ya;const o=yt(()=>Wi(t),u=>{s(),u&&(u.addEventListener(r,n,i),s=()=>{u.removeEventListener(r,n,i),s=Ya})},{immediate:!0,flush:\"post\"}),a=()=>{o(),s()};return Pl(a),a}function kE(e,t,r={}){const{window:n=Tr,ignore:i,capture:s=!0,detectIframe:o=!1}=r;if(!n)return;const a=Fe(!0);let u;const l=f=>{n.clearTimeout(u);const h=Wi(e),p=f.composedPath();!h||h===f.target||p.includes(h)||!a.value||i&&i.length>0&&i.some(g=>{const x=Wi(g);return x&&(f.target===x||p.includes(x))})||t(f)},c=[Dt(n,\"click\",l,{passive:!0,capture:s}),Dt(n,\"pointerdown\",f=>{const h=Wi(e);a.value=!!h&&!f.composedPath().includes(h)},{passive:!0}),Dt(n,\"pointerup\",f=>{if(f.button===0){const h=f.composedPath();f.composedPath=()=>h,u=n.setTimeout(()=>l(f),50)}},{passive:!0}),o&&Dt(n,\"blur\",f=>{var h;const p=Wi(e);((h=document.activeElement)==null?void 0:h.tagName)===\"IFRAME\"&&!(p!=null&&p.contains(document.activeElement))&&t(f)})].filter(Boolean);return()=>c.forEach(f=>f())}function PE(e,t={}){const{window:r=Tr}=t,n=Boolean(r&&\"matchMedia\"in r&&typeof r.matchMedia==\"function\");let i;const s=Fe(!1),o=()=>{!n||(i||(i=r.matchMedia(e)),s.value=i.matches)};return hE(()=>{o(),i&&(\"addEventListener\"in i?i.addEventListener(\"change\",o):i.addListener(o),Pl(()=>{\"removeEventListener\"in i?i.removeEventListener(\"change\",o):i.removeListener(o)}))}),s}const Du=typeof globalThis!=\"undefined\"?globalThis:typeof window!=\"undefined\"?window:typeof global!=\"undefined\"?global:typeof self!=\"undefined\"?self:{},Tu=\"__vueuse_ssr_handlers__\";Du[Tu]=Du[Tu]||{};const OE=Du[Tu];function Dh(e,t){return OE[e]||t}function RE(e){return e==null?\"any\":e instanceof Set?\"set\":e instanceof Map?\"map\":e instanceof Date?\"date\":typeof e==\"boolean\"?\"boolean\":typeof e==\"string\"?\"string\":typeof e==\"object\"||Array.isArray(e)?\"object\":Number.isNaN(e)?\"any\":\"number\"}const ME={boolean:{read:e=>e===\"true\",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}};function Th(e,t,r,n={}){var i;const{flush:s=\"pre\",deep:o=!0,listenToStorageChanges:a=!0,writeDefaults:u=!0,shallow:l,window:c=Tr,eventFilter:d,onError:f=E=>{console.error(E)}}=n,h=(l?Fd:Fe)(t);if(!r)try{r=Dh(\"getDefaultStorage\",()=>{var E;return(E=Tr)==null?void 0:E.localStorage})()}catch(E){f(E)}if(!r)return h;const p=L(t),g=RE(p),x=(i=n.serializer)!=null?i:ME[g],{pause:m,resume:v}=TE(h,()=>y(h.value),{flush:s,deep:o,eventFilter:d});return c&&a&&Dt(c,\"storage\",A),A(),h;function y(E){try{E==null?r.removeItem(e):r.setItem(e,x.write(E))}catch(B){f(B)}}function _(E){if(!(E&&E.key!==e)){m();try{const B=E?E.newValue:r.getItem(e);return B==null?(u&&p!==null&&r.setItem(e,x.write(p)),p):typeof B!=\"string\"?B:x.read(B)}catch(B){f(B)}finally{v()}}}function A(E){E&&E.key!==e||(h.value=_(E))}}function kh(e){return PE(\"(prefers-color-scheme: dark)\",e)}var LE=Object.defineProperty,Ec=Object.getOwnPropertySymbols,$E=Object.prototype.hasOwnProperty,jE=Object.prototype.propertyIsEnumerable,_c=(e,t,r)=>t in e?LE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,VE=(e,t)=>{for(var r in t||(t={}))$E.call(t,r)&&_c(e,r,t[r]);if(Ec)for(var r of Ec(t))jE.call(t,r)&&_c(e,r,t[r]);return e};function UE(e={}){const{selector:t=\"html\",attribute:r=\"class\",window:n=Tr,storage:i,storageKey:s=\"vueuse-color-scheme\",listenToStorageChanges:o=!0,storageRef:a,emitAuto:u}=e,l=VE({auto:\"\",light:\"light\",dark:\"dark\"},e.modes||{}),c=kh({window:n}),d=ue(()=>c.value?\"dark\":\"light\"),f=a||(s==null?Fe(\"auto\"):Th(s,\"auto\",i,{window:n,listenToStorageChanges:o})),h=ue({get(){return f.value===\"auto\"&&!u?d.value:f.value},set(m){f.value=m}}),p=Dh(\"updateHTMLAttrs\",(m,v,y)=>{const _=n==null?void 0:n.document.querySelector(m);if(!!_)if(v===\"class\"){const A=y.split(/\\s/g);Object.values(l).flatMap(E=>(E||\"\").split(/\\s/g)).filter(Boolean).forEach(E=>{A.includes(E)?_.classList.add(E):_.classList.remove(E)})}else _.setAttribute(v,y)});function g(m){var v;const y=m===\"auto\"?d.value:m;p(t,r,(v=l[y])!=null?v:y)}function x(m){e.onChanged?e.onChanged(m,g):g(m)}return yt(h,x,{flush:\"post\",immediate:!0}),pE(()=>x(h.value)),h}var WE=Object.defineProperty,zE=Object.defineProperties,KE=Object.getOwnPropertyDescriptors,mc=Object.getOwnPropertySymbols,qE=Object.prototype.hasOwnProperty,ZE=Object.prototype.propertyIsEnumerable,bc=(e,t,r)=>t in e?WE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,YE=(e,t)=>{for(var r in t||(t={}))qE.call(t,r)&&bc(e,r,t[r]);if(mc)for(var r of mc(t))ZE.call(t,r)&&bc(e,r,t[r]);return e},GE=(e,t)=>zE(e,KE(t));function QE(e={}){const{valueDark:t=\"dark\",valueLight:r=\"\",window:n=Tr}=e,i=UE(GE(YE({},e),{onChanged:(a,u)=>{var l;e.onChanged?(l=e.onChanged)==null||l.call(e,a===\"dark\"):u(a)},modes:{dark:t,light:r}})),s=kh({window:n});return ue({get(){return i.value===\"dark\"},set(a){a===s.value?i.value=\"auto\":i.value=a?\"dark\":\"light\"}})}function QF(e){const t=Fe(!1);return Dt(e,\"mouseenter\",()=>t.value=!0),Dt(e,\"mouseleave\",()=>t.value=!1),t}function XE(e,t,r={}){const{window:n=Tr}=r;return Th(e,t,n==null?void 0:n.localStorage,r)}function JE(e={}){const{type:t=\"page\",touch:r=!0,resetOnTouchEnds:n=!1,initialValue:i={x:0,y:0},window:s=Tr,eventFilter:o}=e,a=Fe(i.x),u=Fe(i.y),l=Fe(null),c=g=>{t===\"page\"?(a.value=g.pageX,u.value=g.pageY):t===\"client\"&&(a.value=g.clientX,u.value=g.clientY),l.value=\"mouse\"},d=()=>{a.value=i.x,u.value=i.y},f=g=>{if(g.touches.length>0){const x=g.touches[0];t===\"page\"?(a.value=x.pageX,u.value=x.pageY):t===\"client\"&&(a.value=x.clientX,u.value=x.clientY),l.value=\"touch\"}},h=g=>o===void 0?c(g):o(()=>c(g),{}),p=g=>o===void 0?f(g):o(()=>f(g),{});return s&&(Dt(s,\"mousemove\",h,{passive:!0}),Dt(s,\"dragover\",h,{passive:!0}),r&&(Dt(s,\"touchstart\",p,{passive:!0}),Dt(s,\"touchmove\",p,{passive:!0}),n&&Dt(s,\"touchend\",d,{passive:!0}))),{x:a,y:u,sourceType:l}}var Cc;(function(e){e.UP=\"UP\",e.RIGHT=\"RIGHT\",e.DOWN=\"DOWN\",e.LEFT=\"LEFT\",e.NONE=\"NONE\"})(Cc||(Cc={}));var IE=typeof global==\"object\"&&global&&global.Object===Object&&global,Ph=IE,NE=typeof self==\"object\"&&self&&self.Object===Object&&self,HE=Ph||NE||Function(\"return this\")(),wi=HE,e_=wi.Symbol,To=e_,Oh=Object.prototype,t_=Oh.hasOwnProperty,r_=Oh.toString,Mi=To?To.toStringTag:void 0;function n_(e){var t=t_.call(e,Mi),r=e[Mi];try{e[Mi]=void 0;var n=!0}catch{}var i=r_.call(e);return n&&(t?e[Mi]=r:delete e[Mi]),i}var i_=Object.prototype,s_=i_.toString;function o_(e){return s_.call(e)}var a_=\"[object Null]\",u_=\"[object Undefined]\",Ac=To?To.toStringTag:void 0;function fa(e){return e==null?e===void 0?u_:a_:Ac&&Ac in Object(e)?n_(e):o_(e)}function Us(e){return e!=null&&typeof e==\"object\"}var l_=Array.isArray,ku=l_;function qn(e){var t=typeof e;return e!=null&&(t==\"object\"||t==\"function\")}function Rh(e){return e}var c_=\"[object AsyncFunction]\",f_=\"[object Function]\",d_=\"[object GeneratorFunction]\",h_=\"[object Proxy]\";function Ol(e){if(!qn(e))return!1;var t=fa(e);return t==f_||t==d_||t==c_||t==h_}var p_=wi[\"__core-js_shared__\"],Ga=p_,Sc=function(){var e=/[^.]+$/.exec(Ga&&Ga.keys&&Ga.keys.IE_PROTO||\"\");return e?\"Symbol(src)_1.\"+e:\"\"}();function v_(e){return!!Sc&&Sc in e}var g_=Function.prototype,x_=g_.toString;function y_(e){if(e!=null){try{return x_.call(e)}catch{}try{return e+\"\"}catch{}}return\"\"}var E_=/[\\\\^$.*+?()[\\]{}|]/g,__=/^\\[object .+?Constructor\\]$/,m_=Function.prototype,b_=Object.prototype,C_=m_.toString,A_=b_.hasOwnProperty,S_=RegExp(\"^\"+C_.call(A_).replace(E_,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\");function w_(e){if(!qn(e)||v_(e))return!1;var t=Ol(e)?S_:__;return t.test(y_(e))}function B_(e,t){return e==null?void 0:e[t]}function Rl(e,t){var r=B_(e,t);return w_(r)?r:void 0}var wc=Object.create,F_=function(){function e(){}return function(t){if(!qn(t))return{};if(wc)return wc(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),D_=F_;function T_(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function k_(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var P_=800,O_=16,R_=Date.now;function M_(e){var t=0,r=0;return function(){var n=R_(),i=O_-(n-r);if(r=n,i>0){if(++t>=P_)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function L_(e){return function(){return e}}var $_=function(){try{var e=Rl(Object,\"defineProperty\");return e({},\"\",{}),e}catch{}}(),ko=$_,j_=ko?function(e,t){return ko(e,\"toString\",{configurable:!0,enumerable:!1,value:L_(t),writable:!0})}:Rh,V_=j_,U_=M_(V_),W_=U_,z_=9007199254740991,K_=/^(?:0|[1-9]\\d*)$/;function Mh(e,t){var r=typeof e;return t=t==null?z_:t,!!t&&(r==\"number\"||r!=\"symbol\"&&K_.test(e))&&e>-1&&e%1==0&&e<t}function Ml(e,t,r){t==\"__proto__\"&&ko?ko(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function da(e,t){return e===t||e!==e&&t!==t}var q_=Object.prototype,Z_=q_.hasOwnProperty;function Y_(e,t,r){var n=e[t];(!(Z_.call(e,t)&&da(n,r))||r===void 0&&!(t in e))&&Ml(e,t,r)}function G_(e,t,r,n){var i=!r;r||(r={});for(var s=-1,o=t.length;++s<o;){var a=t[s],u=n?n(r[a],e[a],a,r,e):void 0;u===void 0&&(u=e[a]),i?Ml(r,a,u):Y_(r,a,u)}return r}var Bc=Math.max;function Q_(e,t,r){return t=Bc(t===void 0?e.length-1:t,0),function(){for(var n=arguments,i=-1,s=Bc(n.length-t,0),o=Array(s);++i<s;)o[i]=n[t+i];i=-1;for(var a=Array(t+1);++i<t;)a[i]=n[i];return a[t]=r(o),T_(e,this,a)}}function X_(e,t){return W_(Q_(e,t,Rh),e+\"\")}var J_=9007199254740991;function Lh(e){return typeof e==\"number\"&&e>-1&&e%1==0&&e<=J_}function Ll(e){return e!=null&&Lh(e.length)&&!Ol(e)}function I_(e,t,r){if(!qn(r))return!1;var n=typeof t;return(n==\"number\"?Ll(r)&&Mh(t,r.length):n==\"string\"&&t in r)?da(r[t],e):!1}function N_(e){return X_(function(t,r){var n=-1,i=r.length,s=i>1?r[i-1]:void 0,o=i>2?r[2]:void 0;for(s=e.length>3&&typeof s==\"function\"?(i--,s):void 0,o&&I_(r[0],r[1],o)&&(s=i<3?void 0:s,i=1),t=Object(t);++n<i;){var a=r[n];a&&e(t,a,n,s)}return t})}var H_=Object.prototype;function $h(e){var t=e&&e.constructor,r=typeof t==\"function\"&&t.prototype||H_;return e===r}function em(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var tm=\"[object Arguments]\";function Fc(e){return Us(e)&&fa(e)==tm}var jh=Object.prototype,rm=jh.hasOwnProperty,nm=jh.propertyIsEnumerable,im=Fc(function(){return arguments}())?Fc:function(e){return Us(e)&&rm.call(e,\"callee\")&&!nm.call(e,\"callee\")},Pu=im;function sm(){return!1}var Vh=typeof exports==\"object\"&&exports&&!exports.nodeType&&exports,Dc=Vh&&typeof module==\"object\"&&module&&!module.nodeType&&module,om=Dc&&Dc.exports===Vh,Tc=om?wi.Buffer:void 0,am=Tc?Tc.isBuffer:void 0,um=am||sm,Uh=um,lm=\"[object Arguments]\",cm=\"[object Array]\",fm=\"[object Boolean]\",dm=\"[object Date]\",hm=\"[object Error]\",pm=\"[object Function]\",vm=\"[object Map]\",gm=\"[object Number]\",xm=\"[object Object]\",ym=\"[object RegExp]\",Em=\"[object Set]\",_m=\"[object String]\",mm=\"[object WeakMap]\",bm=\"[object ArrayBuffer]\",Cm=\"[object DataView]\",Am=\"[object Float32Array]\",Sm=\"[object Float64Array]\",wm=\"[object Int8Array]\",Bm=\"[object Int16Array]\",Fm=\"[object Int32Array]\",Dm=\"[object Uint8Array]\",Tm=\"[object Uint8ClampedArray]\",km=\"[object Uint16Array]\",Pm=\"[object Uint32Array]\",Ne={};Ne[Am]=Ne[Sm]=Ne[wm]=Ne[Bm]=Ne[Fm]=Ne[Dm]=Ne[Tm]=Ne[km]=Ne[Pm]=!0;Ne[lm]=Ne[cm]=Ne[bm]=Ne[fm]=Ne[Cm]=Ne[dm]=Ne[hm]=Ne[pm]=Ne[vm]=Ne[gm]=Ne[xm]=Ne[ym]=Ne[Em]=Ne[_m]=Ne[mm]=!1;function Om(e){return Us(e)&&Lh(e.length)&&!!Ne[fa(e)]}function Rm(e){return function(t){return e(t)}}var Wh=typeof exports==\"object\"&&exports&&!exports.nodeType&&exports,Hi=Wh&&typeof module==\"object\"&&module&&!module.nodeType&&module,Mm=Hi&&Hi.exports===Wh,Qa=Mm&&Ph.process,Lm=function(){try{var e=Hi&&Hi.require&&Hi.require(\"util\").types;return e||Qa&&Qa.binding&&Qa.binding(\"util\")}catch{}}(),kc=Lm,Pc=kc&&kc.isTypedArray,$m=Pc?Rm(Pc):Om,zh=$m,jm=Object.prototype,Vm=jm.hasOwnProperty;function Um(e,t){var r=ku(e),n=!r&&Pu(e),i=!r&&!n&&Uh(e),s=!r&&!n&&!i&&zh(e),o=r||n||i||s,a=o?em(e.length,String):[],u=a.length;for(var l in e)(t||Vm.call(e,l))&&!(o&&(l==\"length\"||i&&(l==\"offset\"||l==\"parent\")||s&&(l==\"buffer\"||l==\"byteLength\"||l==\"byteOffset\")||Mh(l,u)))&&a.push(l);return a}function Wm(e,t){return function(r){return e(t(r))}}function zm(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var Km=Object.prototype,qm=Km.hasOwnProperty;function Zm(e){if(!qn(e))return zm(e);var t=$h(e),r=[];for(var n in e)n==\"constructor\"&&(t||!qm.call(e,n))||r.push(n);return r}function Kh(e){return Ll(e)?Um(e,!0):Zm(e)}var Ym=Rl(Object,\"create\"),ds=Ym;function Gm(){this.__data__=ds?ds(null):{},this.size=0}function Qm(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Xm=\"__lodash_hash_undefined__\",Jm=Object.prototype,Im=Jm.hasOwnProperty;function Nm(e){var t=this.__data__;if(ds){var r=t[e];return r===Xm?void 0:r}return Im.call(t,e)?t[e]:void 0}var Hm=Object.prototype,eb=Hm.hasOwnProperty;function tb(e){var t=this.__data__;return ds?t[e]!==void 0:eb.call(t,e)}var rb=\"__lodash_hash_undefined__\";function nb(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ds&&t===void 0?rb:t,this}function Ln(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ln.prototype.clear=Gm;Ln.prototype.delete=Qm;Ln.prototype.get=Nm;Ln.prototype.has=tb;Ln.prototype.set=nb;function ib(){this.__data__=[],this.size=0}function ha(e,t){for(var r=e.length;r--;)if(da(e[r][0],t))return r;return-1}var sb=Array.prototype,ob=sb.splice;function ab(e){var t=this.__data__,r=ha(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():ob.call(t,r,1),--this.size,!0}function ub(e){var t=this.__data__,r=ha(t,e);return r<0?void 0:t[r][1]}function lb(e){return ha(this.__data__,e)>-1}function cb(e,t){var r=this.__data__,n=ha(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function Mr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Mr.prototype.clear=ib;Mr.prototype.delete=ab;Mr.prototype.get=ub;Mr.prototype.has=lb;Mr.prototype.set=cb;var fb=Rl(wi,\"Map\"),qh=fb;function db(){this.size=0,this.__data__={hash:new Ln,map:new(qh||Mr),string:new Ln}}function hb(e){var t=typeof e;return t==\"string\"||t==\"number\"||t==\"symbol\"||t==\"boolean\"?e!==\"__proto__\":e===null}function pa(e,t){var r=e.__data__;return hb(t)?r[typeof t==\"string\"?\"string\":\"hash\"]:r.map}function pb(e){var t=pa(this,e).delete(e);return this.size-=t?1:0,t}function vb(e){return pa(this,e).get(e)}function gb(e){return pa(this,e).has(e)}function xb(e,t){var r=pa(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function Bi(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Bi.prototype.clear=db;Bi.prototype.delete=pb;Bi.prototype.get=vb;Bi.prototype.has=gb;Bi.prototype.set=xb;var yb=Wm(Object.getPrototypeOf,Object),Zh=yb,Eb=\"[object Object]\",_b=Function.prototype,mb=Object.prototype,Yh=_b.toString,bb=mb.hasOwnProperty,Cb=Yh.call(Object);function Ab(e){if(!Us(e)||fa(e)!=Eb)return!1;var t=Zh(e);if(t===null)return!0;var r=bb.call(t,\"constructor\")&&t.constructor;return typeof r==\"function\"&&r instanceof r&&Yh.call(r)==Cb}function Sb(){this.__data__=new Mr,this.size=0}function wb(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function Bb(e){return this.__data__.get(e)}function Fb(e){return this.__data__.has(e)}var Db=200;function Tb(e,t){var r=this.__data__;if(r instanceof Mr){var n=r.__data__;if(!qh||n.length<Db-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Bi(n)}return r.set(e,t),this.size=r.size,this}function Fi(e){var t=this.__data__=new Mr(e);this.size=t.size}Fi.prototype.clear=Sb;Fi.prototype.delete=wb;Fi.prototype.get=Bb;Fi.prototype.has=Fb;Fi.prototype.set=Tb;var Gh=typeof exports==\"object\"&&exports&&!exports.nodeType&&exports,Oc=Gh&&typeof module==\"object\"&&module&&!module.nodeType&&module,kb=Oc&&Oc.exports===Gh,Rc=kb?wi.Buffer:void 0,Mc=Rc?Rc.allocUnsafe:void 0;function Pb(e,t){if(t)return e.slice();var r=e.length,n=Mc?Mc(r):new e.constructor(r);return e.copy(n),n}var Ob=wi.Uint8Array,Lc=Ob;function Rb(e){var t=new e.constructor(e.byteLength);return new Lc(t).set(new Lc(e)),t}function Mb(e,t){var r=t?Rb(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function Lb(e){return typeof e.constructor==\"function\"&&!$h(e)?D_(Zh(e)):{}}function $b(e){return function(t,r,n){for(var i=-1,s=Object(t),o=n(t),a=o.length;a--;){var u=o[e?a:++i];if(r(s[u],u,s)===!1)break}return t}}var jb=$b(),Vb=jb;function Ou(e,t,r){(r!==void 0&&!da(e[t],r)||r===void 0&&!(t in e))&&Ml(e,t,r)}function Ub(e){return Us(e)&&Ll(e)}function Ru(e,t){if(!(t===\"constructor\"&&typeof e[t]==\"function\")&&t!=\"__proto__\")return e[t]}function Wb(e){return G_(e,Kh(e))}function zb(e,t,r,n,i,s,o){var a=Ru(e,r),u=Ru(t,r),l=o.get(u);if(l){Ou(e,r,l);return}var c=s?s(a,u,r+\"\",e,t,o):void 0,d=c===void 0;if(d){var f=ku(u),h=!f&&Uh(u),p=!f&&!h&&zh(u);c=u,f||h||p?ku(a)?c=a:Ub(a)?c=k_(a):h?(d=!1,c=Pb(u,!0)):p?(d=!1,c=Mb(u,!0)):c=[]:Ab(u)||Pu(u)?(c=a,Pu(a)?c=Wb(a):(!qn(a)||Ol(a))&&(c=Lb(u))):d=!1}d&&(o.set(u,c),i(c,u,n,s,o),o.delete(u)),Ou(e,r,c)}function Qh(e,t,r,n,i){e!==t&&Vb(t,function(s,o){if(i||(i=new Fi),qn(s))zb(e,t,o,r,Qh,n,i);else{var a=n?n(Ru(e,o),s,o+\"\",e,t,i):void 0;a===void 0&&(a=s),Ou(e,o,a)}},Kh)}var Kb=N_(function(e,t,r){Qh(e,t,r)}),Xh=Kb,we=typeof globalThis!=\"undefined\"?globalThis:typeof window!=\"undefined\"?window:typeof global!=\"undefined\"?global:typeof self!=\"undefined\"?self:{};function XF(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,\"default\")?e.default:e}function qb(e){if(e.__esModule)return e;var t=Object.defineProperty({},\"__esModule\",{value:!0});return Object.keys(e).forEach(function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}),t}function Zb(e){throw new Error('Could not dynamically require \"'+e+'\". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Yb={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const hs=Yb,Jh={};for(const e of Object.keys(hs))Jh[hs[e]]=e;const fe={rgb:{channels:3,labels:\"rgb\"},hsl:{channels:3,labels:\"hsl\"},hsv:{channels:3,labels:\"hsv\"},hwb:{channels:3,labels:\"hwb\"},cmyk:{channels:4,labels:\"cmyk\"},xyz:{channels:3,labels:\"xyz\"},lab:{channels:3,labels:\"lab\"},lch:{channels:3,labels:\"lch\"},hex:{channels:1,labels:[\"hex\"]},keyword:{channels:1,labels:[\"keyword\"]},ansi16:{channels:1,labels:[\"ansi16\"]},ansi256:{channels:1,labels:[\"ansi256\"]},hcg:{channels:3,labels:[\"h\",\"c\",\"g\"]},apple:{channels:3,labels:[\"r16\",\"g16\",\"b16\"]},gray:{channels:1,labels:[\"gray\"]}};var Ih=fe;for(const e of Object.keys(fe)){if(!(\"channels\"in fe[e]))throw new Error(\"missing channels property: \"+e);if(!(\"labels\"in fe[e]))throw new Error(\"missing channel labels property: \"+e);if(fe[e].labels.length!==fe[e].channels)throw new Error(\"channel and label counts mismatch: \"+e);const{channels:t,labels:r}=fe[e];delete fe[e].channels,delete fe[e].labels,Object.defineProperty(fe[e],\"channels\",{value:t}),Object.defineProperty(fe[e],\"labels\",{value:r})}fe.rgb.hsl=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(t,r,n),s=Math.max(t,r,n),o=s-i;let a,u;s===i?a=0:t===s?a=(r-n)/o:r===s?a=2+(n-t)/o:n===s&&(a=4+(t-r)/o),a=Math.min(a*60,360),a<0&&(a+=360);const l=(i+s)/2;return s===i?u=0:l<=.5?u=o/(s+i):u=o/(2-s-i),[a,u*100,l*100]};fe.rgb.hsv=function(e){let t,r,n,i,s;const o=e[0]/255,a=e[1]/255,u=e[2]/255,l=Math.max(o,a,u),c=l-Math.min(o,a,u),d=function(f){return(l-f)/6/c+1/2};return c===0?(i=0,s=0):(s=c/l,t=d(o),r=d(a),n=d(u),o===l?i=n-r:a===l?i=1/3+t-n:u===l&&(i=2/3+r-t),i<0?i+=1:i>1&&(i-=1)),[i*360,s*100,l*100]};fe.rgb.hwb=function(e){const t=e[0],r=e[1];let n=e[2];const i=fe.rgb.hsl(e)[0],s=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[i,s*100,n*100]};fe.rgb.cmyk=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(1-t,1-r,1-n),s=(1-t-i)/(1-i)||0,o=(1-r-i)/(1-i)||0,a=(1-n-i)/(1-i)||0;return[s*100,o*100,a*100,i*100]};function Gb(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}fe.rgb.keyword=function(e){const t=Jh[e];if(t)return t;let r=1/0,n;for(const i of Object.keys(hs)){const s=hs[i],o=Gb(e,s);o<r&&(r=o,n=i)}return n};fe.keyword.rgb=function(e){return hs[e]};fe.rgb.xyz=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;const i=t*.4124+r*.3576+n*.1805,s=t*.2126+r*.7152+n*.0722,o=t*.0193+r*.1192+n*.9505;return[i*100,s*100,o*100]};fe.rgb.lab=function(e){const t=fe.rgb.xyz(e);let r=t[0],n=t[1],i=t[2];r/=95.047,n/=100,i/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;const s=116*n-16,o=500*(r-n),a=200*(n-i);return[s,o,a]};fe.hsl.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;let i,s,o;if(r===0)return o=n*255,[o,o,o];n<.5?i=n*(1+r):i=n+r-n*r;const a=2*n-i,u=[0,0,0];for(let l=0;l<3;l++)s=t+1/3*-(l-1),s<0&&s++,s>1&&s--,6*s<1?o=a+(i-a)*6*s:2*s<1?o=i:3*s<2?o=a+(i-a)*(2/3-s)*6:o=a,u[l]=o*255;return u};fe.hsl.hsv=function(e){const t=e[0];let r=e[1]/100,n=e[2]/100,i=r;const s=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,i*=s<=1?s:2-s;const o=(n+r)/2,a=n===0?2*i/(s+i):2*r/(n+r);return[t,a*100,o*100]};fe.hsv.rgb=function(e){const t=e[0]/60,r=e[1]/100;let n=e[2]/100;const i=Math.floor(t)%6,s=t-Math.floor(t),o=255*n*(1-r),a=255*n*(1-r*s),u=255*n*(1-r*(1-s));switch(n*=255,i){case 0:return[n,u,o];case 1:return[a,n,o];case 2:return[o,n,u];case 3:return[o,a,n];case 4:return[u,o,n];case 5:return[n,o,a]}};fe.hsv.hsl=function(e){const t=e[0],r=e[1]/100,n=e[2]/100,i=Math.max(n,.01);let s,o;o=(2-r)*n;const a=(2-r)*i;return s=r*i,s/=a<=1?a:2-a,s=s||0,o/=2,[t,s*100,o*100]};fe.hwb.rgb=function(e){const t=e[0]/360;let r=e[1]/100,n=e[2]/100;const i=r+n;let s;i>1&&(r/=i,n/=i);const o=Math.floor(6*t),a=1-n;s=6*t-o,(o&1)!==0&&(s=1-s);const u=r+s*(a-r);let l,c,d;switch(o){default:case 6:case 0:l=a,c=u,d=r;break;case 1:l=u,c=a,d=r;break;case 2:l=r,c=a,d=u;break;case 3:l=r,c=u,d=a;break;case 4:l=u,c=r,d=a;break;case 5:l=a,c=r,d=u;break}return[l*255,c*255,d*255]};fe.cmyk.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100,i=e[3]/100,s=1-Math.min(1,t*(1-i)+i),o=1-Math.min(1,r*(1-i)+i),a=1-Math.min(1,n*(1-i)+i);return[s*255,o*255,a*255]};fe.xyz.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100;let i,s,o;return i=t*3.2406+r*-1.5372+n*-.4986,s=t*-.9689+r*1.8758+n*.0415,o=t*.0557+r*-.204+n*1.057,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),o=Math.min(Math.max(0,o),1),[i*255,s*255,o*255]};fe.xyz.lab=function(e){let t=e[0],r=e[1],n=e[2];t/=95.047,r/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;const i=116*r-16,s=500*(t-r),o=200*(r-n);return[i,s,o]};fe.lab.xyz=function(e){const t=e[0],r=e[1],n=e[2];let i,s,o;s=(t+16)/116,i=r/500+s,o=s-n/200;const a=s**3,u=i**3,l=o**3;return s=a>.008856?a:(s-16/116)/7.787,i=u>.008856?u:(i-16/116)/7.787,o=l>.008856?l:(o-16/116)/7.787,i*=95.047,s*=100,o*=108.883,[i,s,o]};fe.lab.lch=function(e){const t=e[0],r=e[1],n=e[2];let i;i=Math.atan2(n,r)*360/2/Math.PI,i<0&&(i+=360);const o=Math.sqrt(r*r+n*n);return[t,o,i]};fe.lch.lab=function(e){const t=e[0],r=e[1],i=e[2]/360*2*Math.PI,s=r*Math.cos(i),o=r*Math.sin(i);return[t,s,o]};fe.rgb.ansi16=function(e,t=null){const[r,n,i]=e;let s=t===null?fe.rgb.hsv(e)[2]:t;if(s=Math.round(s/50),s===0)return 30;let o=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return s===2&&(o+=60),o};fe.hsv.ansi16=function(e){return fe.rgb.ansi16(fe.hsv.rgb(e),e[2])};fe.rgb.ansi256=function(e){const t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)};fe.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const r=(~~(e>50)+1)*.5,n=(t&1)*r*255,i=(t>>1&1)*r*255,s=(t>>2&1)*r*255;return[n,i,s]};fe.ansi256.rgb=function(e){if(e>=232){const s=(e-232)*10+8;return[s,s,s]}e-=16;let t;const r=Math.floor(e/36)/5*255,n=Math.floor((t=e%36)/6)/5*255,i=t%6/5*255;return[r,n,i]};fe.rgb.hex=function(e){const r=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return\"000000\".substring(r.length)+r};fe.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split(\"\").map(a=>a+a).join(\"\"));const n=parseInt(r,16),i=n>>16&255,s=n>>8&255,o=n&255;return[i,s,o]};fe.rgb.hcg=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.max(Math.max(t,r),n),s=Math.min(Math.min(t,r),n),o=i-s;let a,u;return o<1?a=s/(1-o):a=0,o<=0?u=0:i===t?u=(r-n)/o%6:i===r?u=2+(n-t)/o:u=4+(t-r)/o,u/=6,u%=1,[u*360,o*100,a*100]};fe.hsl.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=r<.5?2*t*r:2*t*(1-r);let i=0;return n<1&&(i=(r-.5*n)/(1-n)),[e[0],n*100,i*100]};fe.hsv.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=t*r;let i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],n*100,i*100]};fe.hcg.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;if(r===0)return[n*255,n*255,n*255];const i=[0,0,0],s=t%1*6,o=s%1,a=1-o;let u=0;switch(Math.floor(s)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return u=(1-r)*n,[(r*i[0]+u)*255,(r*i[1]+u)*255,(r*i[2]+u)*255]};fe.hcg.hsv=function(e){const t=e[1]/100,r=e[2]/100,n=t+r*(1-t);let i=0;return n>0&&(i=t/n),[e[0],i*100,n*100]};fe.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let i=0;return n>0&&n<.5?i=t/(2*n):n>=.5&&n<1&&(i=t/(2*(1-n))),[e[0],i*100,n*100]};fe.hcg.hwb=function(e){const t=e[1]/100,r=e[2]/100,n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};fe.hwb.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=1-r,i=n-t;let s=0;return i<1&&(s=(n-i)/(1-i)),[e[0],i*100,s*100]};fe.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};fe.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};fe.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};fe.gray.hsl=function(e){return[0,0,e[0]]};fe.gray.hsv=fe.gray.hsl;fe.gray.hwb=function(e){return[0,100,e[0]]};fe.gray.cmyk=function(e){return[0,0,0,e[0]]};fe.gray.lab=function(e){return[e[0],0,0]};fe.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return\"000000\".substring(n.length)+n};fe.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const Po=Ih;function Qb(){const e={},t=Object.keys(Po);for(let r=t.length,n=0;n<r;n++)e[t[n]]={distance:-1,parent:null};return e}function Xb(e){const t=Qb(),r=[e];for(t[e].distance=0;r.length;){const n=r.pop(),i=Object.keys(Po[n]);for(let s=i.length,o=0;o<s;o++){const a=i[o],u=t[a];u.distance===-1&&(u.distance=t[n].distance+1,u.parent=n,r.unshift(a))}}return t}function Jb(e,t){return function(r){return t(e(r))}}function Ib(e,t){const r=[t[e].parent,e];let n=Po[t[e].parent][e],i=t[e].parent;for(;t[i].parent;)r.unshift(t[i].parent),n=Jb(Po[t[i].parent][i],n),i=t[i].parent;return n.conversion=r,n}var Nb=function(e){const t=Xb(e),r={},n=Object.keys(t);for(let i=n.length,s=0;s<i;s++){const o=n[s];t[o].parent!==null&&(r[o]=Ib(o,t))}return r};const Mu=Ih,Hb=Nb,Nn={},eC=Object.keys(Mu);function tC(e){const t=function(...r){const n=r[0];return n==null?n:(n.length>1&&(r=n),e(r))};return\"conversion\"in e&&(t.conversion=e.conversion),t}function rC(e){const t=function(...r){const n=r[0];if(n==null)return n;n.length>1&&(r=n);const i=e(r);if(typeof i==\"object\")for(let s=i.length,o=0;o<s;o++)i[o]=Math.round(i[o]);return i};return\"conversion\"in e&&(t.conversion=e.conversion),t}eC.forEach(e=>{Nn[e]={},Object.defineProperty(Nn[e],\"channels\",{value:Mu[e].channels}),Object.defineProperty(Nn[e],\"labels\",{value:Mu[e].labels});const t=Hb(e);Object.keys(t).forEach(n=>{const i=t[n];Nn[e][n]=rC(i),Nn[e][n].raw=tC(i)})});var tn=Nn;function rr(e,t){const[r,n,i]=tn.hex.rgb(e),s=o=>o+Math.abs(255-o)*t;return`#${tn.rgb.hex([s(r),s(n),s(i)])}`}function nC(e,t){const[r,n,i]=tn.hex.rgb(e),s=o=>o-o*t;return`#${tn.rgb.hex([s(r),s(n),s(i)])}`}function vi(e,t){const r=Math.round((1-t)*255).toString(16);return`${e}${r}`}const cr={isDark:!1,colorPrimary:\"#3498db\",colorSuccess:\"#27ae60\",colorWarning:\"#f39c12\",colorError:\"#e74c3c\",colorCommon:\"#888888\",colorWhite:\"#ffffff\",colorTransparent:\"transparent\",backgroundColorPrimary:\"#ffffff\",backgroundColorSecondary:\"#f8f8f8\",backgroundColorTertiary:\"#eeeeee\",backgroundColorTransparent:\"transparent\",backgroundColorSelected:\"#77777720\",backgroundColorHover:\"#77777730\",backgroundColorActive:\"#77777740\",backgroundColorBadge:\"#cccccc\",backgroundColorPop:\"#171717\",textColorPrimary:\"#484848\",textColorSecondary:\"#757575\",textColorBack:\"#ffffff\",textColorPop:\"#cccccc\",textColorWhite:\"#ffffff\",colorFolder:\"#f3c04f\",colorAll:\"#27ae60\",colorPost:\"#3883c7\",colorPage:\"#52bad1\",colorDraft:\"#f1c40f\"},iC={...cr,colorPrimaryHover:rr(cr.colorPrimary,.2),colorPrimaryActive:rr(cr.colorPrimary,.4),colorErrorHover:rr(cr.colorError,.2),colorErrorActive:rr(cr.colorError,.4)},Nh={name:\"unknown\",self(e){return e}},sC=e=>{function t(s){return rr(s,.2)}function r(s){return rr(s,.4)}function n(s){return vi(s,.9)}function i(s){return vi(s,.8)}return{...e,backgroundColorHoverPrimary:t(e.colorPrimary),backgroundColorHoverSuccess:t(e.colorSuccess),backgroundColorHoverWarning:t(e.colorWarning),backgroundColorHoverError:t(e.colorError),backgroundColorHoverCommon:t(e.colorCommon),backgroundColorHoverInvertedPrimary:n(e.colorPrimary),backgroundColorHoverInvertedSuccess:n(e.colorSuccess),backgroundColorHoverInvertedWarning:n(e.colorWarning),backgroundColorHoverInvertedError:n(e.colorError),backgroundColorHoverInvertedCommon:n(e.colorCommon),backgroundColorActivePrimary:r(e.colorPrimary),backgroundColorActiveSuccess:r(e.colorSuccess),backgroundColorActiveWarning:r(e.colorWarning),backgroundColorActiveError:r(e.colorError),backgroundColorActiveCommon:r(e.colorCommon),backgroundColorActiveInvertedPrimary:i(e.colorPrimary),backgroundColorActiveInvertedSuccess:i(e.colorSuccess),backgroundColorActiveInvertedWarning:i(e.colorWarning),backgroundColorActiveInvertedError:i(e.colorError),backgroundColorActiveInvertedCommon:i(e.colorCommon),colorActiveInvertedPrimary:r(e.colorPrimary),colorActiveInvertedSuccess:r(e.colorSuccess),colorActiveInvertedWarning:r(e.colorWarning),colorActiveInvertedError:r(e.colorError),colorActiveInvertedCommon:r(e.colorCommon)}},oC={name:\"Button\",self:sC},aC=e=>{function t(s){return rr(s,.2)}function r(s){return nC(s,.4)}function n(s){return vi(s,.9)}function i(s){return vi(s,.8)}return{...e,backgroundColorHoverPrimary:t(e.colorPrimary),backgroundColorHoverSuccess:t(e.colorSuccess),backgroundColorHoverWarning:t(e.colorWarning),backgroundColorHoverError:t(e.colorError),backgroundColorHoverCommon:t(e.colorCommon),backgroundColorHoverInvertedPrimary:n(e.colorPrimary),backgroundColorHoverInvertedSuccess:n(e.colorSuccess),backgroundColorHoverInvertedWarning:n(e.colorWarning),backgroundColorHoverInvertedError:n(e.colorError),backgroundColorHoverInvertedCommon:n(e.colorCommon),backgroundColorActivePrimary:r(e.colorPrimary),backgroundColorActiveSuccess:r(e.colorSuccess),backgroundColorActiveWarning:r(e.colorWarning),backgroundColorActiveError:r(e.colorError),backgroundColorActiveCommon:r(e.colorCommon),backgroundColorActiveInvertedPrimary:i(e.colorPrimary),backgroundColorActiveInvertedSuccess:i(e.colorSuccess),backgroundColorActiveInvertedWarning:i(e.colorWarning),backgroundColorActiveInvertedError:i(e.colorError),backgroundColorActiveInvertedCommon:i(e.colorCommon),colorActiveInvertedPrimary:r(e.colorPrimary),colorActiveInvertedSuccess:r(e.colorSuccess),colorActiveInvertedWarning:r(e.colorWarning),colorActiveInvertedError:r(e.colorError),colorActiveInvertedCommon:r(e.colorCommon)}},uC={name:\"Button\",self:aC},lC=e=>({...e}),Hh={name:\"Input\",self:lC},cC=e=>({...e,backgroundColorIcon:vi(e.colorPrimary,.8),background:vi(e.backgroundColorPrimary,.2)}),ep={name:\"Loading\",self:cC},fC=e=>({...e}),dC={name:\"NavList\",self:fC},hC=e=>({...e}),pC={name:\"NavList\",self:hC},tp={unknown:Nh,common:iC,Button:oC,Input:Hh,Loading:ep,NavList:dC},va=Symbol(\"key\");function vC(){const e=Fe(tp),t=n=>{e.value=n,r()},r=()=>{const n=e.value;document.body.style.backgroundColor=n.common.backgroundColorTertiary,document.body.style.color=n.common.textColorPrimary};return{globalThemeRef:e,setTheme:t,setGlobal:r,install(n){const i=this;n.provide(va,i),n.mixin({mounted(){r()}})}}}function gC(){const{setTheme:e,setGlobal:t}=ft(va);return{setTheme:e,setGlobal:t}}function ga(e){const{globalThemeRef:t}=ft(va);return ue(()=>{var i;const{common:n}=t.value;return Xh({},n,(i=t.value[e])==null?void 0:i.self(n))})}function Pt(){const{globalThemeRef:e}=ft(va);return ue(()=>{const{common:r}=e.value;return{...r}})}const xC={...cr,isDark:!0,backgroundColorPrimary:\"#323232\",backgroundColorSecondary:\"#282828\",backgroundColorTertiary:\"#1f1f1f\",backgroundColorBadge:\"#3e3e3e\",textColorPrimary:\"#cccccc\",textColorBack:\"#000000\",colorPrimaryHover:rr(cr.colorPrimary,.2),colorPrimaryActive:rr(cr.colorPrimary,.4),colorErrorHover:rr(cr.colorError,.2),colorErrorActive:rr(cr.colorError,.4)},yC={unknown:Nh,common:xC,Button:uC,Input:Hh,Loading:ep,NavList:pC};function zr(e,t){return e+(t===\"default\"?\"\":t.replace(/^[a-z]/,r=>r.toUpperCase()))}function Ws(e,t=()=>{}){return{classNames:ue(()=>{const n=[e];function i(o){n.push(o)}function s(...o){return`${e}-${o.join(\"-\")}`}return t(i,s),n}),prefix:e}}var Ot=(e,t)=>{const r=e.__vccOpts||e;for(const[n,i]of t)r[n]=i;return r};const EC=[\"type\",\"disabled\"],_C=Se({__name:\"HButton\",props:{type:{default:\"primary\"},inverted:{type:Boolean,default:!1},round:{type:Boolean,default:!1},block:{type:Boolean,default:!1},attrType:{},size:{default:\"medium\"},disabled:{type:Boolean,default:!1}},setup(e){It(s=>({\"3ebfbd83\":i.value.color,\"7f8d5cf5\":i.value.backgroundColor,ef77d50e:i.value.colorHover,\"56ab6572\":i.value.backgroundColorHover,\"73a2ba69\":i.value.colorActive,\"97f9074a\":i.value.backgroundColorActive}));const t=e,{classNames:r}=Ws(\"h-button\",(s,o)=>{t.round&&s(o(\"round\")),t.inverted&&s(o(\"inverted\")),t.disabled&&s(o(\"disabled\")),t.block&&s(o(\"block\")),s(o(t.size))}),n=ga(\"Button\"),i=ue(()=>t.inverted?{color:n.value[zr(\"color\",t.type)],backgroundColor:n.value.colorTransparent,colorHover:n.value[zr(\"color\",t.type)],backgroundColorHover:n.value[zr(\"backgroundColorHoverInverted\",t.type)],colorActive:n.value[zr(\"color\",t.type)],backgroundColorActive:n.value[zr(\"backgroundColorActiveInverted\",t.type)]}:{color:n.value.colorWhite,backgroundColor:n.value[zr(\"color\",t.type)],colorHover:n.value.colorWhite,backgroundColorHover:n.value[zr(\"backgroundColorHover\",t.type)],colorActive:n.value.colorWhite,backgroundColorActive:n.value[zr(\"backgroundColorActive\",t.type)]});return(s,o)=>(X(),ce(\"button\",{class:Jt([\"text-sm border-none outline-none rounded-2xl px-3 py-0 inline-flex items-center justify-center overflow-hidden cursor-pointer select-none flex-shrink-0\",L(r)]),type:s.attrType,disabled:s.disabled},[vt(s.$slots,\"default\",{},void 0,!0)],10,EC))}});var ir=Ot(_C,[[\"__scopeId\",\"data-v-64941b2a\"]]),rp={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:\"normal\",autoplay:!0,timelineOffset:0},$l={duration:1e3,delay:0,endDelay:0,easing:\"easeOutElastic(1, .5)\",round:0},mC=[\"translateX\",\"translateY\",\"translateZ\",\"rotate\",\"rotateX\",\"rotateY\",\"rotateZ\",\"scale\",\"scaleX\",\"scaleY\",\"scaleZ\",\"skew\",\"skewX\",\"skewY\",\"perspective\",\"matrix\",\"matrix3d\"],Oo={CSS:{},springs:{}};function dr(e,t,r){return Math.min(Math.max(e,t),r)}function es(e,t){return e.indexOf(t)>-1}function Xa(e,t){return e.apply(null,t)}var ge={arr:function(e){return Array.isArray(e)},obj:function(e){return es(Object.prototype.toString.call(e),\"Object\")},pth:function(e){return ge.obj(e)&&e.hasOwnProperty(\"totalLength\")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||ge.svg(e)},str:function(e){return typeof e==\"string\"},fnc:function(e){return typeof e==\"function\"},und:function(e){return typeof e==\"undefined\"},nil:function(e){return ge.und(e)||e===null},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return ge.hex(e)||ge.rgb(e)||ge.hsl(e)},key:function(e){return!rp.hasOwnProperty(e)&&!$l.hasOwnProperty(e)&&e!==\"targets\"&&e!==\"keyframes\"}};function np(e){var t=/\\(([^)]+)\\)/.exec(e);return t?t[1].split(\",\").map(function(r){return parseFloat(r)}):[]}function ip(e,t){var r=np(e),n=dr(ge.und(r[0])?1:r[0],.1,100),i=dr(ge.und(r[1])?100:r[1],.1,100),s=dr(ge.und(r[2])?10:r[2],.1,100),o=dr(ge.und(r[3])?0:r[3],.1,100),a=Math.sqrt(i/n),u=s/(2*Math.sqrt(i*n)),l=u<1?a*Math.sqrt(1-u*u):0,c=1,d=u<1?(u*a+-o)/l:-o+a;function f(p){var g=t?t*p/1e3:p;return u<1?g=Math.exp(-g*u*a)*(c*Math.cos(l*g)+d*Math.sin(l*g)):g=(c+d*g)*Math.exp(-g*a),p===0||p===1?p:1-g}function h(){var p=Oo.springs[e];if(p)return p;for(var g=1/6,x=0,m=0;;)if(x+=g,f(x)===1){if(m++,m>=16)break}else m=0;var v=x*g*1e3;return Oo.springs[e]=v,v}return t?f:h}function bC(e){return e===void 0&&(e=10),function(t){return Math.ceil(dr(t,1e-6,1)*e)*(1/e)}}var CC=function(){var e=11,t=1/(e-1);function r(c,d){return 1-3*d+3*c}function n(c,d){return 3*d-6*c}function i(c){return 3*c}function s(c,d,f){return((r(d,f)*c+n(d,f))*c+i(d))*c}function o(c,d,f){return 3*r(d,f)*c*c+2*n(d,f)*c+i(d)}function a(c,d,f,h,p){var g,x,m=0;do x=d+(f-d)/2,g=s(x,h,p)-c,g>0?f=x:d=x;while(Math.abs(g)>1e-7&&++m<10);return x}function u(c,d,f,h){for(var p=0;p<4;++p){var g=o(d,f,h);if(g===0)return d;var x=s(d,f,h)-c;d-=x/g}return d}function l(c,d,f,h){if(!(0<=c&&c<=1&&0<=f&&f<=1))return;var p=new Float32Array(e);if(c!==d||f!==h)for(var g=0;g<e;++g)p[g]=s(g*t,c,f);function x(m){for(var v=0,y=1,_=e-1;y!==_&&p[y]<=m;++y)v+=t;--y;var A=(m-p[y])/(p[y+1]-p[y]),E=v+A*t,B=o(E,c,f);return B>=.001?u(m,E,c,f):B===0?E:a(m,v,v+t,c,f)}return function(m){return c===d&&f===h||m===0||m===1?m:s(x(m),d,h)}}return l}(),sp=function(){var e={linear:function(){return function(n){return n}}},t={Sine:function(){return function(n){return 1-Math.cos(n*Math.PI/2)}},Expo:function(){return function(n){return n?Math.pow(2,10*n-10):0}},Circ:function(){return function(n){return 1-Math.sqrt(1-n*n)}},Back:function(){return function(n){return n*n*(3*n-2)}},Bounce:function(){return function(n){for(var i,s=4;n<((i=Math.pow(2,--s))-1)/11;);return 1/Math.pow(4,3-s)-7.5625*Math.pow((i*3-2)/22-n,2)}},Elastic:function(n,i){n===void 0&&(n=1),i===void 0&&(i=.5);var s=dr(n,1,10),o=dr(i,.1,2);return function(a){return a===0||a===1?a:-s*Math.pow(2,10*(a-1))*Math.sin((a-1-o/(Math.PI*2)*Math.asin(1/s))*(Math.PI*2)/o)}}},r=[\"Quad\",\"Cubic\",\"Quart\",\"Quint\"];return r.forEach(function(n,i){t[n]=function(){return function(s){return Math.pow(s,i+2)}}}),Object.keys(t).forEach(function(n){var i=t[n];e[\"easeIn\"+n]=i,e[\"easeOut\"+n]=function(s,o){return function(a){return 1-i(s,o)(1-a)}},e[\"easeInOut\"+n]=function(s,o){return function(a){return a<.5?i(s,o)(a*2)/2:1-i(s,o)(a*-2+2)/2}},e[\"easeOutIn\"+n]=function(s,o){return function(a){return a<.5?(1-i(s,o)(1-a*2))/2:(i(s,o)(a*2-1)+1)/2}}}),e}();function jl(e,t){if(ge.fnc(e))return e;var r=e.split(\"(\")[0],n=sp[r],i=np(e);switch(r){case\"spring\":return ip(e,t);case\"cubicBezier\":return Xa(CC,i);case\"steps\":return Xa(bC,i);default:return Xa(n,i)}}function op(e){try{var t=document.querySelectorAll(e);return t}catch{return}}function xa(e,t){for(var r=e.length,n=arguments.length>=2?arguments[1]:void 0,i=[],s=0;s<r;s++)if(s in e){var o=e[s];t.call(n,o,s,e)&&i.push(o)}return i}function ya(e){return e.reduce(function(t,r){return t.concat(ge.arr(r)?ya(r):r)},[])}function $c(e){return ge.arr(e)?e:(ge.str(e)&&(e=op(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function Vl(e,t){return e.some(function(r){return r===t})}function Ul(e){var t={};for(var r in e)t[r]=e[r];return t}function Lu(e,t){var r=Ul(e);for(var n in e)r[n]=t.hasOwnProperty(n)?t[n]:e[n];return r}function Ea(e,t){var r=Ul(e);for(var n in t)r[n]=ge.und(e[n])?t[n]:e[n];return r}function AC(e){var t=/rgb\\((\\d+,\\s*[\\d]+,\\s*[\\d]+)\\)/g.exec(e);return t?\"rgba(\"+t[1]+\",1)\":e}function SC(e){var t=/^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i,r=e.replace(t,function(a,u,l,c){return u+u+l+l+c+c}),n=/^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(r),i=parseInt(n[1],16),s=parseInt(n[2],16),o=parseInt(n[3],16);return\"rgba(\"+i+\",\"+s+\",\"+o+\",1)\"}function wC(e){var t=/hsl\\((\\d+),\\s*([\\d.]+)%,\\s*([\\d.]+)%\\)/g.exec(e)||/hsla\\((\\d+),\\s*([\\d.]+)%,\\s*([\\d.]+)%,\\s*([\\d.]+)\\)/g.exec(e),r=parseInt(t[1],10)/360,n=parseInt(t[2],10)/100,i=parseInt(t[3],10)/100,s=t[4]||1;function o(f,h,p){return p<0&&(p+=1),p>1&&(p-=1),p<1/6?f+(h-f)*6*p:p<1/2?h:p<2/3?f+(h-f)*(2/3-p)*6:f}var a,u,l;if(n==0)a=u=l=i;else{var c=i<.5?i*(1+n):i+n-i*n,d=2*i-c;a=o(d,c,r+1/3),u=o(d,c,r),l=o(d,c,r-1/3)}return\"rgba(\"+a*255+\",\"+u*255+\",\"+l*255+\",\"+s+\")\"}function BC(e){if(ge.rgb(e))return AC(e);if(ge.hex(e))return SC(e);if(ge.hsl(e))return wC(e)}function wr(e){var t=/[+-]?\\d*\\.?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[1]}function FC(e){if(es(e,\"translate\")||e===\"perspective\")return\"px\";if(es(e,\"rotate\")||es(e,\"skew\"))return\"deg\"}function $u(e,t){return ge.fnc(e)?e(t.target,t.id,t.total):e}function hr(e,t){return e.getAttribute(t)}function Wl(e,t,r){var n=wr(t);if(Vl([r,\"deg\",\"rad\",\"turn\"],n))return t;var i=Oo.CSS[t+r];if(!ge.und(i))return i;var s=100,o=document.createElement(e.tagName),a=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;a.appendChild(o),o.style.position=\"absolute\",o.style.width=s+r;var u=s/o.offsetWidth;a.removeChild(o);var l=u*parseFloat(t);return Oo.CSS[t+r]=l,l}function ap(e,t,r){if(t in e.style){var n=t.replace(/([a-z])([A-Z])/g,\"$1-$2\").toLowerCase(),i=e.style[t]||getComputedStyle(e).getPropertyValue(n)||\"0\";return r?Wl(e,i,r):i}}function zl(e,t){if(ge.dom(e)&&!ge.inp(e)&&(!ge.nil(hr(e,t))||ge.svg(e)&&e[t]))return\"attribute\";if(ge.dom(e)&&Vl(mC,t))return\"transform\";if(ge.dom(e)&&t!==\"transform\"&&ap(e,t))return\"css\";if(e[t]!=null)return\"object\"}function up(e){if(!!ge.dom(e)){for(var t=e.style.transform||\"\",r=/(\\w+)\\(([^)]*)\\)/g,n=new Map,i;i=r.exec(t);)n.set(i[1],i[2]);return n}}function DC(e,t,r,n){var i=es(t,\"scale\")?1:0+FC(t),s=up(e).get(t)||i;return r&&(r.transforms.list.set(t,s),r.transforms.last=t),n?Wl(e,s,n):s}function Kl(e,t,r,n){switch(zl(e,t)){case\"transform\":return DC(e,t,n,r);case\"css\":return ap(e,t,r);case\"attribute\":return hr(e,t);default:return e[t]||0}}function ql(e,t){var r=/^(\\*=|\\+=|-=)/.exec(e);if(!r)return e;var n=wr(e)||0,i=parseFloat(t),s=parseFloat(e.replace(r[0],\"\"));switch(r[0][0]){case\"+\":return i+s+n;case\"-\":return i-s+n;case\"*\":return i*s+n}}function lp(e,t){if(ge.col(e))return BC(e);if(/\\s/g.test(e))return e;var r=wr(e),n=r?e.substr(0,e.length-r.length):e;return t?n+t:n}function Zl(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function TC(e){return Math.PI*2*hr(e,\"r\")}function kC(e){return hr(e,\"width\")*2+hr(e,\"height\")*2}function PC(e){return Zl({x:hr(e,\"x1\"),y:hr(e,\"y1\")},{x:hr(e,\"x2\"),y:hr(e,\"y2\")})}function cp(e){for(var t=e.points,r=0,n,i=0;i<t.numberOfItems;i++){var s=t.getItem(i);i>0&&(r+=Zl(n,s)),n=s}return r}function OC(e){var t=e.points;return cp(e)+Zl(t.getItem(t.numberOfItems-1),t.getItem(0))}function fp(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case\"circle\":return TC(e);case\"rect\":return kC(e);case\"line\":return PC(e);case\"polyline\":return cp(e);case\"polygon\":return OC(e)}}function RC(e){var t=fp(e);return e.setAttribute(\"stroke-dasharray\",t),t}function MC(e){for(var t=e.parentNode;ge.svg(t)&&ge.svg(t.parentNode);)t=t.parentNode;return t}function dp(e,t){var r=t||{},n=r.el||MC(e),i=n.getBoundingClientRect(),s=hr(n,\"viewBox\"),o=i.width,a=i.height,u=r.viewBox||(s?s.split(\" \"):[0,0,o,a]);return{el:n,viewBox:u,x:u[0]/1,y:u[1]/1,w:o,h:a,vW:u[2],vH:u[3]}}function LC(e,t){var r=ge.str(e)?op(e)[0]:e,n=t||100;return function(i){return{property:i,el:r,svg:dp(r),totalLength:fp(r)*(n/100)}}}function $C(e,t,r){function n(c){c===void 0&&(c=0);var d=t+c>=1?t+c:0;return e.el.getPointAtLength(d)}var i=dp(e.el,e.svg),s=n(),o=n(-1),a=n(1),u=r?1:i.w/i.vW,l=r?1:i.h/i.vH;switch(e.property){case\"x\":return(s.x-i.x)*u;case\"y\":return(s.y-i.y)*l;case\"angle\":return Math.atan2(a.y-o.y,a.x-o.x)*180/Math.PI}}function jc(e,t){var r=/[+-]?\\d*\\.?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?/g,n=lp(ge.pth(e)?e.totalLength:e,t)+\"\";return{original:n,numbers:n.match(r)?n.match(r).map(Number):[0],strings:ge.str(e)||t?n.split(r):[]}}function Yl(e){var t=e?ya(ge.arr(e)?e.map($c):$c(e)):[];return xa(t,function(r,n,i){return i.indexOf(r)===n})}function hp(e){var t=Yl(e);return t.map(function(r,n){return{target:r,id:n,total:t.length,transforms:{list:up(r)}}})}function jC(e,t){var r=Ul(t);if(/^spring/.test(r.easing)&&(r.duration=ip(r.easing)),ge.arr(e)){var n=e.length,i=n===2&&!ge.obj(e[0]);i?e={value:e}:ge.fnc(t.duration)||(r.duration=t.duration/n)}var s=ge.arr(e)?e:[e];return s.map(function(o,a){var u=ge.obj(o)&&!ge.pth(o)?o:{value:o};return ge.und(u.delay)&&(u.delay=a?0:t.delay),ge.und(u.endDelay)&&(u.endDelay=a===s.length-1?t.endDelay:0),u}).map(function(o){return Ea(o,r)})}function VC(e){for(var t=xa(ya(e.map(function(s){return Object.keys(s)})),function(s){return ge.key(s)}).reduce(function(s,o){return s.indexOf(o)<0&&s.push(o),s},[]),r={},n=function(s){var o=t[s];r[o]=e.map(function(a){var u={};for(var l in a)ge.key(l)?l==o&&(u.value=a[l]):u[l]=a[l];return u})},i=0;i<t.length;i++)n(i);return r}function UC(e,t){var r=[],n=t.keyframes;n&&(t=Ea(VC(n),t));for(var i in t)ge.key(i)&&r.push({name:i,tweens:jC(t[i],e)});return r}function WC(e,t){var r={};for(var n in e){var i=$u(e[n],t);ge.arr(i)&&(i=i.map(function(s){return $u(s,t)}),i.length===1&&(i=i[0])),r[n]=i}return r.duration=parseFloat(r.duration),r.delay=parseFloat(r.delay),r}function zC(e,t){var r;return e.tweens.map(function(n){var i=WC(n,t),s=i.value,o=ge.arr(s)?s[1]:s,a=wr(o),u=Kl(t.target,e.name,a,t),l=r?r.to.original:u,c=ge.arr(s)?s[0]:l,d=wr(c)||wr(u),f=a||d;return ge.und(o)&&(o=l),i.from=jc(c,f),i.to=jc(ql(o,c),f),i.start=r?r.end:0,i.end=i.start+i.delay+i.duration+i.endDelay,i.easing=jl(i.easing,i.duration),i.isPath=ge.pth(s),i.isPathTargetInsideSVG=i.isPath&&ge.svg(t.target),i.isColor=ge.col(i.from.original),i.isColor&&(i.round=1),r=i,i})}var pp={css:function(e,t,r){return e.style[t]=r},attribute:function(e,t,r){return e.setAttribute(t,r)},object:function(e,t,r){return e[t]=r},transform:function(e,t,r,n,i){if(n.list.set(t,r),t===n.last||i){var s=\"\";n.list.forEach(function(o,a){s+=a+\"(\"+o+\") \"}),e.style.transform=s}}};function vp(e,t){var r=hp(e);r.forEach(function(n){for(var i in t){var s=$u(t[i],n),o=n.target,a=wr(s),u=Kl(o,i,a,n),l=a||wr(u),c=ql(lp(s,l),u),d=zl(o,i);pp[d](o,i,c,n.transforms,!0)}})}function KC(e,t){var r=zl(e.target,t.name);if(r){var n=zC(t,e),i=n[n.length-1];return{type:r,property:t.name,animatable:e,tweens:n,duration:i.end,delay:n[0].delay,endDelay:i.endDelay}}}function qC(e,t){return xa(ya(e.map(function(r){return t.map(function(n){return KC(r,n)})})),function(r){return!ge.und(r)})}function gp(e,t){var r=e.length,n=function(s){return s.timelineOffset?s.timelineOffset:0},i={};return i.duration=r?Math.max.apply(Math,e.map(function(s){return n(s)+s.duration})):t.duration,i.delay=r?Math.min.apply(Math,e.map(function(s){return n(s)+s.delay})):t.delay,i.endDelay=r?i.duration-Math.max.apply(Math,e.map(function(s){return n(s)+s.duration-s.endDelay})):t.endDelay,i}var Vc=0;function ZC(e){var t=Lu(rp,e),r=Lu($l,e),n=UC(r,e),i=hp(e.targets),s=qC(i,n),o=gp(s,r),a=Vc;return Vc++,Ea(t,{id:a,children:[],animatables:i,animations:s,duration:o.duration,delay:o.delay,endDelay:o.endDelay})}var Ht=[],xp=function(){var e;function t(){!e&&(!Uc()||!Ue.suspendWhenDocumentHidden)&&Ht.length>0&&(e=requestAnimationFrame(r))}function r(i){for(var s=Ht.length,o=0;o<s;){var a=Ht[o];a.paused?(Ht.splice(o,1),s--):(a.tick(i),o++)}e=o>0?requestAnimationFrame(r):void 0}function n(){!Ue.suspendWhenDocumentHidden||(Uc()?e=cancelAnimationFrame(e):(Ht.forEach(function(i){return i._onDocumentVisibility()}),xp()))}return typeof document!=\"undefined\"&&document.addEventListener(\"visibilitychange\",n),t}();function Uc(){return!!document&&document.hidden}function Ue(e){e===void 0&&(e={});var t=0,r=0,n=0,i,s=0,o=null;function a(v){var y=window.Promise&&new Promise(function(_){return o=_});return v.finished=y,y}var u=ZC(e);a(u);function l(){var v=u.direction;v!==\"alternate\"&&(u.direction=v!==\"normal\"?\"normal\":\"reverse\"),u.reversed=!u.reversed,i.forEach(function(y){return y.reversed=u.reversed})}function c(v){return u.reversed?u.duration-v:v}function d(){t=0,r=c(u.currentTime)*(1/Ue.speed)}function f(v,y){y&&y.seek(v-y.timelineOffset)}function h(v){if(u.reversePlayback)for(var _=s;_--;)f(v,i[_]);else for(var y=0;y<s;y++)f(v,i[y])}function p(v){for(var y=0,_=u.animations,A=_.length;y<A;){var E=_[y],B=E.animatable,S=E.tweens,T=S.length-1,C=S[T];T&&(C=xa(S,function(Q){return v<Q.end})[0]||C);for(var w=dr(v-C.start-C.delay,0,C.duration)/C.duration,D=isNaN(w)?1:C.easing(w),k=C.to.strings,U=C.round,j=[],P=C.to.numbers.length,K=void 0,V=0;V<P;V++){var re=void 0,ne=C.to.numbers[V],O=C.from.numbers[V]||0;C.isPath?re=$C(C.value,D*ne,C.isPathTargetInsideSVG):re=O+D*(ne-O),U&&(C.isColor&&V>2||(re=Math.round(re*U)/U)),j.push(re)}var $=k.length;if(!$)K=j[0];else{K=k[0];for(var W=0;W<$;W++){k[W];var z=k[W+1],R=j[W];isNaN(R)||(z?K+=R+z:K+=R+\" \")}}pp[E.type](B.target,E.property,K,B.transforms),E.currentValue=K,y++}}function g(v){u[v]&&!u.passThrough&&u[v](u)}function x(){u.remaining&&u.remaining!==!0&&u.remaining--}function m(v){var y=u.duration,_=u.delay,A=y-u.endDelay,E=c(v);u.progress=dr(E/y*100,0,100),u.reversePlayback=E<u.currentTime,i&&h(E),!u.began&&u.currentTime>0&&(u.began=!0,g(\"begin\")),!u.loopBegan&&u.currentTime>0&&(u.loopBegan=!0,g(\"loopBegin\")),E<=_&&u.currentTime!==0&&p(0),(E>=A&&u.currentTime!==y||!y)&&p(y),E>_&&E<A?(u.changeBegan||(u.changeBegan=!0,u.changeCompleted=!1,g(\"changeBegin\")),g(\"change\"),p(E)):u.changeBegan&&(u.changeCompleted=!0,u.changeBegan=!1,g(\"changeComplete\")),u.currentTime=dr(E,0,y),u.began&&g(\"update\"),v>=y&&(r=0,x(),u.remaining?(t=n,g(\"loopComplete\"),u.loopBegan=!1,u.direction===\"alternate\"&&l()):(u.paused=!0,u.completed||(u.completed=!0,g(\"loopComplete\"),g(\"complete\"),!u.passThrough&&\"Promise\"in window&&(o(),a(u)))))}return u.reset=function(){var v=u.direction;u.passThrough=!1,u.currentTime=0,u.progress=0,u.paused=!0,u.began=!1,u.loopBegan=!1,u.changeBegan=!1,u.completed=!1,u.changeCompleted=!1,u.reversePlayback=!1,u.reversed=v===\"reverse\",u.remaining=u.loop,i=u.children,s=i.length;for(var y=s;y--;)u.children[y].reset();(u.reversed&&u.loop!==!0||v===\"alternate\"&&u.loop===1)&&u.remaining++,p(u.reversed?u.duration:0)},u._onDocumentVisibility=d,u.set=function(v,y){return vp(v,y),u},u.tick=function(v){n=v,t||(t=n),m((n+(r-t))*Ue.speed)},u.seek=function(v){m(c(v))},u.pause=function(){u.paused=!0,d()},u.play=function(){!u.paused||(u.completed&&u.reset(),u.paused=!1,Ht.push(u),d(),xp())},u.reverse=function(){l(),u.completed=!u.reversed,d()},u.restart=function(){u.reset(),u.play()},u.remove=function(v){var y=Yl(v);yp(y,u)},u.reset(),u.autoplay&&u.play(),u}function Wc(e,t){for(var r=t.length;r--;)Vl(e,t[r].animatable.target)&&t.splice(r,1)}function yp(e,t){var r=t.animations,n=t.children;Wc(e,r);for(var i=n.length;i--;){var s=n[i],o=s.animations;Wc(e,o),!o.length&&!s.children.length&&n.splice(i,1)}!r.length&&!n.length&&t.pause()}function YC(e){for(var t=Yl(e),r=Ht.length;r--;){var n=Ht[r];yp(t,n)}}function GC(e,t){t===void 0&&(t={});var r=t.direction||\"normal\",n=t.easing?jl(t.easing):null,i=t.grid,s=t.axis,o=t.from||0,a=o===\"first\",u=o===\"center\",l=o===\"last\",c=ge.arr(e),d=parseFloat(c?e[0]:e),f=c?parseFloat(e[1]):0,h=wr(c?e[1]:e)||0,p=t.start||0+(c?d:0),g=[],x=0;return function(m,v,y){if(a&&(o=0),u&&(o=(y-1)/2),l&&(o=y-1),!g.length){for(var _=0;_<y;_++){if(!i)g.push(Math.abs(o-_));else{var A=u?(i[0]-1)/2:o%i[0],E=u?(i[1]-1)/2:Math.floor(o/i[0]),B=_%i[0],S=Math.floor(_/i[0]),T=A-B,C=E-S,w=Math.sqrt(T*T+C*C);s===\"x\"&&(w=-T),s===\"y\"&&(w=-C),g.push(w)}x=Math.max.apply(Math,g)}n&&(g=g.map(function(k){return n(k/x)*x})),r===\"reverse\"&&(g=g.map(function(k){return s?k<0?k*-1:-k:Math.abs(x-k)}))}var D=c?(f-d)/x:d;return p+D*(Math.round(g[v]*100)/100)+h}}function QC(e){e===void 0&&(e={});var t=Ue(e);return t.duration=0,t.add=function(r,n){var i=Ht.indexOf(t),s=t.children;i>-1&&Ht.splice(i,1);function o(f){f.passThrough=!0}for(var a=0;a<s.length;a++)o(s[a]);var u=Ea(r,Lu($l,e));u.targets=u.targets||e.targets;var l=t.duration;u.autoplay=!1,u.direction=t.direction,u.timelineOffset=ge.und(n)?l:ql(n,l),o(t),t.seek(u.timelineOffset);var c=Ue(u);o(c),s.push(c);var d=gp(s,e);return t.delay=d.delay,t.endDelay=d.endDelay,t.duration=d.duration,t.seek(0),t.reset(),t.autoplay&&t.play(),t},t}Ue.version=\"3.2.1\";Ue.speed=1;Ue.suspendWhenDocumentHidden=!0;Ue.running=Ht;Ue.remove=YC;Ue.get=Kl;Ue.set=vp;Ue.convertPx=Wl;Ue.path=LC;Ue.setDashoffset=RC;Ue.stagger=GC;Ue.timeline=QC;Ue.easing=jl;Ue.penner=sp;Ue.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e};const Gl=Se({__name:\"FadeScaleTransitionGroup\",props:{duration:{default:100}},setup(e){const t=e;async function r(s,o){const a=Ue({targets:s,opacity:1,duration:t.duration,easing:\"easeInOutSine\"}).finished,u=s.children[0].children[0],l=Ue({targets:u,scale:1,duration:t.duration,easing:\"easeInOutSine\"}).finished;Promise.all([a,l]).then(o)}function n(s){Ue.set(s,{opacity:0});const o=s.children[0].children[0];Ue.set(o,{scale:.95})}function i(s,o){const a=Ue({targets:s,opacity:0,duration:t.duration,easing:\"easeInOutSine\"}).finished,u=s.children[0].children[0],l=Ue({targets:u,scale:.95,duration:t.duration,easing:\"easeInOutSine\"}).finished;Promise.all([a,l]).then(o)}return(s,o)=>(X(),Re(_h,{onEnter:r,onBeforeEnter:n,onLeave:i},{default:Te(()=>[vt(s.$slots,\"default\")]),_:3}))}}),Ro=Se({__name:\"HBaseModal\",props:{persistent:{type:Boolean,default:!1},zIndex:{}},emits:[\"on-close\"],setup(e,{emit:t}){const r=e,n=t,i=Fe(null),s=()=>{r.persistent?Ue({targets:i.value,keyframes:[{scale:1.05},{scale:1}],duration:200,easing:\"easeInOutSine\"}):n(\"on-close\")};return(o,a)=>(X(),ce(\"div\",{style:tt([{\"background-color\":\"#000000aa\",position:\"fixed\",top:\"0\",left:\"0\",right:\"0\",bottom:\"0\",display:\"flex\",\"align-items\":\"center\",\"justify-content\":\"center\"},{zIndex:o.zIndex}]),onClick:s},[me(\"div\",{ref_key:\"contentRef\",ref:i,onClick:a[0]||(a[0]=Si(()=>{},[\"stop\"]))},[vt(o.$slots,\"default\")],512)],4))}}),JF=Se({__name:\"HModal\",props:{show:{type:Boolean,default:!1},persistent:{type:Boolean,default:!1}},emits:[\"update:show\"],setup(e,{emit:t}){const r=e,n=t,i=Fe(r.show);yt(()=>r.show,o=>{i.value=o}),yt(()=>i.value,o=>n(\"update:show\",o));const s=()=>{i.value=!1};return(o,a)=>(X(),Re($s,{to:\"body\"},[oe(Gl,null,{default:Te(()=>[i.value?(X(),Re(Ro,{key:0,persistent:r.persistent,onOnClose:s},{default:Te(()=>[vt(o.$slots,\"default\",{hide:s})]),_:3},8,[\"persistent\"])):Ze(\"\",!0)]),_:3})]))}});Se({__name:\"ModalBackground\",setup(e){const t=Pt();return(r,n)=>(X(),ce(\"div\",{style:tt({backgroundColor:L(t).backgroundColorPrimary}),class:\"p-2 rounded-md\"},[vt(r.$slots,\"default\")],4))}});const XC={class:\"p-4 text-xl font-bold\"},JC={class:\"p-2 flex justify-end\"},IC=Se({__name:\"HDialog\",props:{data:{}},setup(e){const t=e;function r(s){switch(s){case\"info\":return\"primary\";default:return s}}const n=()=>t.data.close(),i=Pt();return(s,o)=>(X(),Re(L(Ro),{onOnClose:n,style:{\"z-index\":\"1\"}},{default:Te(()=>[me(\"div\",{class:\"rounded-md w-96\",style:tt({backgroundColor:L(i).backgroundColorTertiary})},[me(\"h2\",XC,Qe(s.data.title),1),me(\"div\",{class:\"pb-4 px-4 text-sm\",style:tt({color:L(i).textColorSecondary})},Qe(s.data.content),5),me(\"div\",JC,[(X(!0),ce(je,null,qt(s.data.actions,a=>(X(),Re(ir,{class:\"ml-2\",type:r(a.type),key:a.label,size:\"small\",onClick:a.run},{default:Te(()=>[Dr(Qe(a.label),1)]),_:2},1032,[\"type\",\"onClick\"]))),128))])],4)]),_:1}))}}),NC={},HC={class:\"inline-flex items-center\"};function e8(e,t){return X(),ce(\"span\",HC,[Dr(Qe(\"\\u200B\")+\" \"),vt(e.$slots,\"default\")])}var t8=Ot(NC,[[\"render\",e8]]);const r8=Se({__name:\"HIcon\",props:{name:{},clickable:{type:Boolean,default:!1}},setup(e){const t=e,{classNames:r}=Ws(\"h-icon\",(n,i)=>{t.clickable&&n(i(\"clickable\"))});return(n,i)=>(X(),Re(L(t8),null,{default:Te(()=>[me(\"span\",{class:Jt(L(r))},Qe(t.name),3)]),_:1}))}});var et=Ot(r8,[[\"__scopeId\",\"data-v-48eb62e1\"]]),Ve=(e=>(e.GlobalNavButton=\"\\uE700\",e.Wifi=\"\\uE701\",e.Bluetooth=\"\\uE702\",e.Connect=\"\\uE703\",e.InternetSharing=\"\\uE704\",e.VPN=\"\\uE705\",e.Brightness=\"\\uE706\",e.MapPin=\"\\uE707\",e.QuietHours=\"\\uE708\",e.Airplane=\"\\uE709\",e.Tablet=\"\\uE70A\",e.QuickNote=\"\\uE70B\",e.RememberedDevice=\"\\uE70C\",e.ChevronDown=\"\\uE70D\",e.ChevronUp=\"\\uE70E\",e.Edit=\"\\uE70F\",e.Add=\"\\uE710\",e.Cancel=\"\\uE711\",e.More=\"\\uE712\",e.Settings=\"\\uE713\",e.Video=\"\\uE714\",e.Mail=\"\\uE715\",e.People=\"\\uE716\",e.Phone=\"\\uE717\",e.Pin=\"\\uE718\",e.Shop=\"\\uE719\",e.Stop=\"\\uE71A\",e.Link=\"\\uE71B\",e.Filter=\"\\uE71C\",e.AllApps=\"\\uE71D\",e.Zoom=\"\\uE71E\",e.ZoomOut=\"\\uE71F\",e.Microphone=\"\\uE720\",e.Search=\"\\uE721\",e.Camera=\"\\uE722\",e.Attach=\"\\uE723\",e.Send=\"\\uE724\",e.SendFill=\"\\uE725\",e.WalkSolid=\"\\uE726\",e.InPrivate=\"\\uE727\",e.FavoriteList=\"\\uE728\",e.PageSolid=\"\\uE729\",e.Forward=\"\\uE72A\",e.Back=\"\\uE72B\",e.Refresh=\"\\uE72C\",e.Share=\"\\uE72D\",e.Lock=\"\\uE72E\",e.ReportHacked=\"\\uE730\",e.EMI=\"\\uE731\",e.FavoriteStar=\"\\uE734\",e.FavoriteStarFill=\"\\uE735\",e.ReadingMode=\"\\uE736\",e.Favicon=\"\\uE737\",e.Remove=\"\\uE738\",e.Checkbox=\"\\uE739\",e.CheckboxComposite=\"\\uE73A\",e.CheckboxFill=\"\\uE73B\",e.CheckboxIndeterminate=\"\\uE73C\",e.CheckboxCompositeReversed=\"\\uE73D\",e.CheckMark=\"\\uE73E\",e.BackToWindow=\"\\uE73F\",e.FullScreen=\"\\uE740\",e.ResizeTouchLarger=\"\\uE741\",e.ResizeTouchSmaller=\"\\uE742\",e.ResizeMouseSmall=\"\\uE743\",e.ResizeMouseMedium=\"\\uE744\",e.ResizeMouseWide=\"\\uE745\",e.ResizeMouseTall=\"\\uE746\",e.ResizeMouseLarge=\"\\uE747\",e.SwitchUser=\"\\uE748\",e.Print=\"\\uE749\",e.Up=\"\\uE74A\",e.Down=\"\\uE74B\",e.OEM=\"\\uE74C\",e.Delete=\"\\uE74D\",e.Save=\"\\uE74E\",e.Mute=\"\\uE74F\",e.BackSpaceQWERTY=\"\\uE750\",e.ReturnKey=\"\\uE751\",e.UpArrowShiftKey=\"\\uE752\",e.Cloud=\"\\uE753\",e.Flashlight=\"\\uE754\",e.RotationLock=\"\\uE755\",e.CommandPrompt=\"\\uE756\",e.SIPMove=\"\\uE759\",e.SIPUndock=\"\\uE75A\",e.SIPRedock=\"\\uE75B\",e.EraseTool=\"\\uE75C\",e.UnderscoreSpace=\"\\uE75D\",e.GripperTool=\"\\uE75E\",e.Dialpad=\"\\uE75F\",e.PageLeft=\"\\uE760\",e.PageRight=\"\\uE761\",e.MultiSelect=\"\\uE762\",e.KeyboardLeftHanded=\"\\uE763\",e.KeyboardRightHanded=\"\\uE764\",e.KeyboardClassic=\"\\uE765\",e.KeyboardSplit=\"\\uE766\",e.Volume=\"\\uE767\",e.Play=\"\\uE768\",e.Pause=\"\\uE769\",e.ChevronLeft=\"\\uE76B\",e.ChevronRight=\"\\uE76C\",e.InkingTool=\"\\uE76D\",e.Emoji2=\"\\uE76E\",e.GripperBarHorizontal=\"\\uE76F\",e.System=\"\\uE770\",e.Personalize=\"\\uE771\",e.Devices=\"\\uE772\",e.SearchAndApps=\"\\uE773\",e.Globe=\"\\uE774\",e.TimeLanguage=\"\\uE775\",e.EaseOfAccess=\"\\uE776\",e.UpdateRestore=\"\\uE777\",e.HangUp=\"\\uE778\",e.ContactInfo=\"\\uE779\",e.Unpin=\"\\uE77A\",e.Contact=\"\\uE77B\",e.Memo=\"\\uE77C\",e.IncomingCall=\"\\uE77E\",e.Paste=\"\\uE77F\",e.PhoneBook=\"\\uE780\",e.LEDLight=\"\\uE781\",e.Error=\"\\uE783\",e.GripperBarVertical=\"\\uE784\",e.Unlock=\"\\uE785\",e.Slideshow=\"\\uE786\",e.Calendar=\"\\uE787\",e.GripperResize=\"\\uE788\",e.Megaphone=\"\\uE789\",e.Trim=\"\\uE78A\",e.NewWindow=\"\\uE78B\",e.SaveLocal=\"\\uE78C\",e.Color=\"\\uE790\",e.DataSense=\"\\uE791\",e.SaveAs=\"\\uE792\",e.Light=\"\\uE793\",e.AspectRatio=\"\\uE799\",e.DataSenseBar=\"\\uE7A5\",e.Redo=\"\\uE7A6\",e.Undo=\"\\uE7A7\",e.Crop=\"\\uE7A8\",e.OpenWith=\"\\uE7AC\",e.Rotate=\"\\uE7AD\",e.RedEye=\"\\uE7B3\",e.SetlockScreen=\"\\uE7B5\",e.MapPin2=\"\\uE7B7\",e.Package=\"\\uE7B8\",e.Warning=\"\\uE7BA\",e.ReadingList=\"\\uE7BC\",e.Education=\"\\uE7BE\",e.ShoppingCart=\"\\uE7BF\",e.Train=\"\\uE7C0\",e.Flag=\"\\uE7C1\",e.Move=\"\\uE7C2\",e.Page=\"\\uE7C3\",e.TaskView=\"\\uE7C4\",e.BrowsePhotos=\"\\uE7C5\",e.HalfStarLeft=\"\\uE7C6\",e.HalfStarRight=\"\\uE7C7\",e.Record=\"\\uE7C8\",e.TouchPointer=\"\\uE7C9\",e.LangJPN=\"\\uE7DE\",e.Ferry=\"\\uE7E3\",e.Highlight=\"\\uE7E6\",e.ActionCenterNotification=\"\\uE7E7\",e.PowerButton=\"\\uE7E8\",e.ResizeTouchNarrower=\"\\uE7EA\",e.ResizeTouchShorter=\"\\uE7EB\",e.DrivingMode=\"\\uE7EC\",e.RingerSilent=\"\\uE7ED\",e.OtherUser=\"\\uE7EE\",e.Admin=\"\\uE7EF\",e.CC=\"\\uE7F0\",e.SDCard=\"\\uE7F1\",e.CallForwarding=\"\\uE7F2\",e.SettingsDisplaySound=\"\\uE7F3\",e.TVMonitor=\"\\uE7F4\",e.Speakers=\"\\uE7F5\",e.Headphone=\"\\uE7F6\",e.DeviceLaptopPic=\"\\uE7F7\",e.DeviceLaptopNoPic=\"\\uE7F8\",e.DeviceMonitorRightPic=\"\\uE7F9\",e.DeviceMonitorLeftPic=\"\\uE7FA\",e.DeviceMonitorNoPic=\"\\uE7FB\",e.Game=\"\\uE7FC\",e.HorizontalTabKey=\"\\uE7FD\",e.StreetsideSplitMinimize=\"\\uE802\",e.StreetsideSplitExpand=\"\\uE803\",e.Car=\"\\uE804\",e.Walk=\"\\uE805\",e.Bus=\"\\uE806\",e.TiltUp=\"\\uE809\",e.TiltDown=\"\\uE80A\",e.CallControl=\"\\uE80B\",e.RotateMapRight=\"\\uE80C\",e.RotateMapLeft=\"\\uE80D\",e.Home=\"\\uE80F\",e.ParkingLocation=\"\\uE811\",e.MapCompassTop=\"\\uE812\",e.MapCompassBottom=\"\\uE813\",e.IncidentTriangle=\"\\uE814\",e.Touch=\"\\uE815\",e.MapDirections=\"\\uE816\",e.StartPoint=\"\\uE819\",e.StopPoint=\"\\uE81A\",e.EndPoint=\"\\uE81B\",e.History=\"\\uE81C\",e.Location=\"\\uE81D\",e.MapLayers=\"\\uE81E\",e.Accident=\"\\uE81F\",e.Work=\"\\uE821\",e.Construction=\"\\uE822\",e.Recent=\"\\uE823\",e.Bank=\"\\uE825\",e.DownloadMap=\"\\uE826\",e.InkingToolFill2=\"\\uE829\",e.HighlightFill2=\"\\uE82A\",e.EraseToolFill=\"\\uE82B\",e.EraseToolFill2=\"\\uE82C\",e.Dictionary=\"\\uE82D\",e.DictionaryAdd=\"\\uE82E\",e.ToolTip=\"\\uE82F\",e.ChromeBack=\"\\uE830\",e.ProvisioningPackage=\"\\uE835\",e.AddRemoteDevice=\"\\uE836\",e.FolderOpen=\"\\uE838\",e.Ethernet=\"\\uE839\",e.ShareBroadband=\"\\uE83A\",e.DirectAccess=\"\\uE83B\",e.DialUp=\"\\uE83C\",e.DefenderApp=\"\\uE83D\",e.BatteryCharging9=\"\\uE83E\",e.Battery10=\"\\uE83F\",e.Pinned=\"\\uE840\",e.PinFill=\"\\uE841\",e.PinnedFill=\"\\uE842\",e.PeriodKey=\"\\uE843\",e.PuncKey=\"\\uE844\",e.RevToggleKey=\"\\uE845\",e.RightArrowKeyTime1=\"\\uE846\",e.RightArrowKeyTime2=\"\\uE847\",e.LeftQuote=\"\\uE848\",e.RightQuote=\"\\uE849\",e.DownShiftKey=\"\\uE84A\",e.UpShiftKey=\"\\uE84B\",e.PuncKey0=\"\\uE84C\",e.PuncKeyLeftBottom=\"\\uE84D\",e.RightArrowKeyTime3=\"\\uE84E\",e.RightArrowKeyTime4=\"\\uE84F\",e.Battery0=\"\\uE850\",e.Battery1=\"\\uE851\",e.Battery2=\"\\uE852\",e.Battery3=\"\\uE853\",e.Battery4=\"\\uE854\",e.Battery5=\"\\uE855\",e.Battery6=\"\\uE856\",e.Battery7=\"\\uE857\",e.Battery8=\"\\uE858\",e.Battery9=\"\\uE859\",e.BatteryCharging0=\"\\uE85A\",e.BatteryCharging1=\"\\uE85B\",e.BatteryCharging2=\"\\uE85C\",e.BatteryCharging3=\"\\uE85D\",e.BatteryCharging4=\"\\uE85E\",e.BatteryCharging5=\"\\uE85F\",e.BatteryCharging6=\"\\uE860\",e.BatteryCharging7=\"\\uE861\",e.BatteryCharging8=\"\\uE862\",e.BatterySaver0=\"\\uE863\",e.BatterySaver1=\"\\uE864\",e.BatterySaver2=\"\\uE865\",e.BatterySaver3=\"\\uE866\",e.BatterySaver4=\"\\uE867\",e.BatterySaver5=\"\\uE868\",e.BatterySaver6=\"\\uE869\",e.BatterySaver7=\"\\uE86A\",e.BatterySaver8=\"\\uE86B\",e.SignalBars1=\"\\uE86C\",e.SignalBars2=\"\\uE86D\",e.SignalBars3=\"\\uE86E\",e.SignalBars4=\"\\uE86F\",e.SignalBars5=\"\\uE870\",e.SignalNotConnected=\"\\uE871\",e.Wifi1=\"\\uE872\",e.Wifi2=\"\\uE873\",e.Wifi3=\"\\uE874\",e.MobSIMLock=\"\\uE875\",e.MobSIMMissing=\"\\uE876\",e.Vibrate=\"\\uE877\",e.RoamingInternational=\"\\uE878\",e.RoamingDomestic=\"\\uE879\",e.CallForwardInternational=\"\\uE87A\",e.CallForwardRoaming=\"\\uE87B\",e.JpnRomanji=\"\\uE87C\",e.JpnRomanjiLock=\"\\uE87D\",e.JpnRomanjiShift=\"\\uE87E\",e.JpnRomanjiShiftLock=\"\\uE87F\",e.StatusDataTransfer=\"\\uE880\",e.StatusDataTransferVPN=\"\\uE881\",e.StatusDualSIM2=\"\\uE882\",e.StatusDualSIM2VPN=\"\\uE883\",e.StatusDualSIM1=\"\\uE884\",e.StatusDualSIM1VPN=\"\\uE885\",e.StatusSGLTE=\"\\uE886\",e.StatusSGLTECell=\"\\uE887\",e.StatusSGLTEDataVPN=\"\\uE888\",e.StatusVPN=\"\\uE889\",e.WifiHotspot=\"\\uE88A\",e.LanguageKor=\"\\uE88B\",e.LanguageCht=\"\\uE88C\",e.LanguageChs=\"\\uE88D\",e.USB=\"\\uE88E\",e.InkingToolFill=\"\\uE88F\",e.View=\"\\uE890\",e.HighlightFill=\"\\uE891\",e.Previous=\"\\uE892\",e.Next=\"\\uE893\",e.Clear=\"\\uE894\",e.Sync=\"\\uE895\",e.Download=\"\\uE896\",e.Help=\"\\uE897\",e.Upload=\"\\uE898\",e.Emoji=\"\\uE899\",e.TwoPage=\"\\uE89A\",e.LeaveChat=\"\\uE89B\",e.MailForward=\"\\uE89C\",e.RotateCamera=\"\\uE89E\",e.ClosePane=\"\\uE89F\",e.OpenPane=\"\\uE8A0\",e.PreviewLink=\"\\uE8A1\",e.AttachCamera=\"\\uE8A2\",e.ZoomIn=\"\\uE8A3\",e.Bookmarks=\"\\uE8A4\",e.Document=\"\\uE8A5\",e.ProtectedDocument=\"\\uE8A6\",e.OpenInNewWindow=\"\\uE8A7\",e.MailFill=\"\\uE8A8\",e.ViewAll=\"\\uE8A9\",e.VideoChat=\"\\uE8AA\",e.Switch=\"\\uE8AB\",e.Rename=\"\\uE8AC\",e.Go=\"\\uE8AD\",e.SurfaceHub=\"\\uE8AE\",e.Remote=\"\\uE8AF\",e.Click=\"\\uE8B0\",e.Shuffle=\"\\uE8B1\",e.Movies=\"\\uE8B2\",e.SelectAll=\"\\uE8B3\",e.Orientation=\"\\uE8B4\",e.Import=\"\\uE8B5\",e.ImportAll=\"\\uE8B6\",e.Folder=\"\\uE8B7\",e.Webcam=\"\\uE8B8\",e.Picture=\"\\uE8B9\",e.Caption=\"\\uE8BA\",e.ChromeClose=\"\\uE8BB\",e.ShowResults=\"\\uE8BC\",e.Message=\"\\uE8BD\",e.Leaf=\"\\uE8BE\",e.CalendarDay=\"\\uE8BF\",e.CalendarWeek=\"\\uE8C0\",e.Characters=\"\\uE8C1\",e.MailReplyAll=\"\\uE8C2\",e.Read=\"\\uE8C3\",e.ShowBcc=\"\\uE8C4\",e.HideBcc=\"\\uE8C5\",e.Cut=\"\\uE8C6\",e.PaymentCard=\"\\uE8C7\",e.Copy=\"\\uE8C8\",e.Important=\"\\uE8C9\",e.MailReply=\"\\uE8CA\",e.Sort=\"\\uE8CB\",e.MobileTablet=\"\\uE8CC\",e.DisconnectDrive=\"\\uE8CD\",e.MapDrive=\"\\uE8CE\",e.ContactPresence=\"\\uE8CF\",e.Priority=\"\\uE8D0\",e.GotoToday=\"\\uE8D1\",e.Font=\"\\uE8D2\",e.FontColor=\"\\uE8D3\",e.Contact2=\"\\uE8D4\",e.FolderFill=\"\\uE8D5\",e.Audio=\"\\uE8D6\",e.Permissions=\"\\uE8D7\",e.DisableUpdates=\"\\uE8D8\",e.Unfavorite=\"\\uE8D9\",e.OpenLocal=\"\\uE8DA\",e.Italic=\"\\uE8DB\",e.Underline=\"\\uE8DC\",e.Bold=\"\\uE8DD\",e.MoveToFolder=\"\\uE8DE\",e.LikeDislike=\"\\uE8DF\",e.Dislike=\"\\uE8E0\",e.Like=\"\\uE8E1\",e.AlignRight=\"\\uE8E2\",e.AlignCenter=\"\\uE8E3\",e.AlignLeft=\"\\uE8E4\",e.OpenFile=\"\\uE8E5\",e.ClearSelection=\"\\uE8E6\",e.FontDecrease=\"\\uE8E7\",e.FontIncrease=\"\\uE8E8\",e.FontSize=\"\\uE8E9\",e.CellPhone=\"\\uE8EA\",e.Reshare=\"\\uE8EB\",e.Tag=\"\\uE8EC\",e.RepeatOne=\"\\uE8ED\",e.RepeatAll=\"\\uE8EE\",e.Calculator=\"\\uE8EF\",e.Directions=\"\\uE8F0\",e.Library=\"\\uE8F1\",e.ChatBubbles=\"\\uE8F2\",e.PostUpdate=\"\\uE8F3\",e.NewFolder=\"\\uE8F4\",e.CalendarReply=\"\\uE8F5\",e.UnsyncFolder=\"\\uE8F6\",e.SyncFolder=\"\\uE8F7\",e.BlockContact=\"\\uE8F8\",e.SwitchApps=\"\\uE8F9\",e.AddFriend=\"\\uE8FA\",e.Accept=\"\\uE8FB\",e.GoToStart=\"\\uE8FC\",e.BulletedList=\"\\uE8FD\",e.Scan=\"\\uE8FE\",e.Preview=\"\\uE8FF\",e.Group=\"\\uE902\",e.ZeroBars=\"\\uE904\",e.OneBar=\"\\uE905\",e.TwoBars=\"\\uE906\",e.ThreeBars=\"\\uE907\",e.FourBars=\"\\uE908\",e.World=\"\\uE909\",e.Comment=\"\\uE90A\",e.MusicInfo=\"\\uE90B\",e.DockLeft=\"\\uE90C\",e.DockRight=\"\\uE90D\",e.DockBottom=\"\\uE90E\",e.Repair=\"\\uE90F\",e.Accounts=\"\\uE910\",e.DullSound=\"\\uE911\",e.Manage=\"\\uE912\",e.Street=\"\\uE913\",e.Printer3D=\"\\uE914\",e.RadioBullet=\"\\uE915\",e.Stopwatch=\"\\uE916\",e.Photo=\"\\uE91B\",e.ActionCenter=\"\\uE91C\",e.FullCircleMask=\"\\uE91F\",e.ChromeMinimize=\"\\uE921\",e.ChromeMaximize=\"\\uE922\",e.ChromeRestore=\"\\uE923\",e.Annotation=\"\\uE924\",e.BackSpaceQWERTYSm=\"\\uE925\",e.BackSpaceQWERTYMd=\"\\uE926\",e.Swipe=\"\\uE927\",e.Fingerprint=\"\\uE928\",e.Handwriting=\"\\uE929\",e.ChromeBackToWindow=\"\\uE92C\",e.ChromeFullScreen=\"\\uE92D\",e.KeyboardStandard=\"\\uE92E\",e.KeyboardDismiss=\"\\uE92F\",e.Completed=\"\\uE930\",e.ChromeAnnotate=\"\\uE931\",e.Label=\"\\uE932\",e.IBeam=\"\\uE933\",e.IBeamOutline=\"\\uE934\",e.FlickDown=\"\\uE935\",e.FlickUp=\"\\uE936\",e.FlickLeft=\"\\uE937\",e.FlickRight=\"\\uE938\",e.FeedbackApp=\"\\uE939\",e.MusicAlbum=\"\\uE93C\",e.Streaming=\"\\uE93E\",e.Code=\"\\uE943\",e.ReturnToWindow=\"\\uE944\",e.LightningBolt=\"\\uE945\",e.Info=\"\\uE946\",e.CalculatorMultiply=\"\\uE947\",e.CalculatorAddition=\"\\uE948\",e.CalculatorSubtract=\"\\uE949\",e.CalculatorDivide=\"\\uE94A\",e.CalculatorSquareroot=\"\\uE94B\",e.CalculatorPercentage=\"\\uE94C\",e.CalculatorNegate=\"\\uE94D\",e.CalculatorEqualTo=\"\\uE94E\",e.CalculatorBackspace=\"\\uE94F\",e.Component=\"\\uE950\",e.DMC=\"\\uE951\",e.Dock=\"\\uE952\",e.MultimediaDMS=\"\\uE953\",e.MultimediaDVR=\"\\uE954\",e.MultimediaPMP=\"\\uE955\",e.PrintfaxPrinterFile=\"\\uE956\",e.Sensor=\"\\uE957\",e.StorageOptical=\"\\uE958\",e.Communications=\"\\uE95A\",e.Headset=\"\\uE95B\",e.Projector=\"\\uE95D\",e.Health=\"\\uE95E\",e.Wire=\"\\uE95F\",e.Webcam2=\"\\uE960\",e.Input=\"\\uE961\",e.Mouse=\"\\uE962\",e.Smartcard=\"\\uE963\",e.SmartcardVirtual=\"\\uE964\",e.MediaStorageTower=\"\\uE965\",e.ReturnKeySm=\"\\uE966\",e.GameConsole=\"\\uE967\",e.Network=\"\\uE968\",e.StorageNetworkWireless=\"\\uE969\",e.StorageTape=\"\\uE96A\",e.ChevronUpSmall=\"\\uE96D\",e.ChevronDownSmall=\"\\uE96E\",e.ChevronLeftSmall=\"\\uE96F\",e.ChevronRightSmall=\"\\uE970\",e.ChevronUpMed=\"\\uE971\",e.ChevronDownMed=\"\\uE972\",e.ChevronLeftMed=\"\\uE973\",e.ChevronRightMed=\"\\uE974\",e.Devices2=\"\\uE975\",e.ExpandTile=\"\\uE976\",e.PC1=\"\\uE977\",e.PresenceChicklet=\"\\uE978\",e.PresenceChickletVideo=\"\\uE979\",e.Reply=\"\\uE97A\",e.SetTile=\"\\uE97B\",e.Type=\"\\uE97C\",e.Korean=\"\\uE97D\",e.HalfAlpha=\"\\uE97E\",e.FullAlpha=\"\\uE97F\",e.Key12On=\"\\uE980\",e.ChineseChangjie=\"\\uE981\",e.QWERTYOn=\"\\uE982\",e.QWERTYOff=\"\\uE983\",e.ChineseQuick=\"\\uE984\",e.Japanese=\"\\uE985\",e.FullHiragana=\"\\uE986\",e.FullKatakana=\"\\uE987\",e.HalfKatakana=\"\\uE988\",e.ChineseBoPoMoFo=\"\\uE989\",e.ChinesePinyin=\"\\uE98A\",e.ConstructionCone=\"\\uE98F\",e.XboxOneConsole=\"\\uE990\",e.Volume0=\"\\uE992\",e.Volume1=\"\\uE993\",e.Volume2=\"\\uE994\",e.Volume3=\"\\uE995\",e.BatteryUnknown=\"\\uE996\",e.WifiAttentionOverlay=\"\\uE998\",e.Robot=\"\\uE99A\",e.TapAndSend=\"\\uE9A1\",e.FitPage=\"\\uE9A6\",e.PasswordKeyShow=\"\\uE9A8\",e.PasswordKeyHide=\"\\uE9A9\",e.BidiLtr=\"\\uE9AA\",e.BidiRtl=\"\\uE9AB\",e.ForwardSm=\"\\uE9AC\",e.CommaKey=\"\\uE9AD\",e.DashKey=\"\\uE9AE\",e.DullSoundKey=\"\\uE9AF\",e.HalfDullSound=\"\\uE9B0\",e.RightDoubleQuote=\"\\uE9B1\",e.LeftDoubleQuote=\"\\uE9B2\",e.PuncKeyRightBottom=\"\\uE9B3\",e.PuncKey1=\"\\uE9B4\",e.PuncKey2=\"\\uE9B5\",e.PuncKey3=\"\\uE9B6\",e.PuncKey4=\"\\uE9B7\",e.PuncKey5=\"\\uE9B8\",e.PuncKey6=\"\\uE9B9\",e.PuncKey9=\"\\uE9BA\",e.PuncKey7=\"\\uE9BB\",e.PuncKey8=\"\\uE9BC\",e.Frigid=\"\\uE9CA\",e.Unknown=\"\\uE9CE\",e.AreaChart=\"\\uE9D2\",e.CheckList=\"\\uE9D5\",e.Diagnostic=\"\\uE9D9\",e.Equalizer=\"\\uE9E9\",e.Process=\"\\uE9F3\",e.Processing=\"\\uE9F5\",e.ReportDocument=\"\\uE9F9\",e.VideoSolid=\"\\uEA0C\",e.MixedMediaBadge=\"\\uEA0D\",e.DisconnectDisplay=\"\\uEA14\",e.Shield=\"\\uEA18\",e.Info2=\"\\uEA1F\",e.ActionCenterAsterisk=\"\\uEA21\",e.Beta=\"\\uEA24\",e.SaveCopy=\"\\uEA35\",e.List=\"\\uEA37\",e.Asterisk=\"\\uEA38\",e.ErrorBadge=\"\\uEA39\",e.CircleRing=\"\\uEA3A\",e.CircleFill=\"\\uEA3B\",e.MergeCall=\"\\uEA3C\",e.PrivateCall=\"\\uEA3D\",e.Record2=\"\\uEA3F\",e.AllAppsMirrored=\"\\uEA40\",e.BookmarksMirrored=\"\\uEA41\",e.BulletedListMirrored=\"\\uEA42\",e.CallForwardInternationalMirrored=\"\\uEA43\",e.CallForwardRoamingMirrored=\"\\uEA44\",e.ChromeBackMirrored=\"\\uEA47\",e.ClearSelectionMirrored=\"\\uEA48\",e.ClosePaneMirrored=\"\\uEA49\",e.ContactInfoMirrored=\"\\uEA4A\",e.DockRightMirrored=\"\\uEA4B\",e.DockLeftMirrored=\"\\uEA4C\",e.ExpandTileMirrored=\"\\uEA4E\",e.GoMirrored=\"\\uEA4F\",e.GripperResizeMirrored=\"\\uEA50\",e.HelpMirrored=\"\\uEA51\",e.ImportMirrored=\"\\uEA52\",e.ImportAllMirrored=\"\\uEA53\",e.LeaveChatMirrored=\"\\uEA54\",e.ListMirrored=\"\\uEA55\",e.MailForwardMirrored=\"\\uEA56\",e.MailReplyMirrored=\"\\uEA57\",e.MailReplyAllMirrored=\"\\uEA58\",e.OpenPaneMirrored=\"\\uEA5B\",e.OpenWithMirrored=\"\\uEA5C\",e.ParkingLocationMirrored=\"\\uEA5E\",e.ResizeMouseMediumMirrored=\"\\uEA5F\",e.ResizeMouseSmallMirrored=\"\\uEA60\",e.ResizeMouseTallMirrored=\"\\uEA61\",e.ResizeTouchNarrowerMirrored=\"\\uEA62\",e.SendMirrored=\"\\uEA63\",e.SendFillMirrored=\"\\uEA64\",e.ShowResultsMirrored=\"\\uEA65\",e.Media=\"\\uEA69\",e.SyncError=\"\\uEA6A\",e.Devices3=\"\\uEA6C\",e.SlowMotionOn=\"\\uEA79\",e.Lightbulb=\"\\uEA80\",e.StatusCircle=\"\\uEA81\",e.StatusTriangle=\"\\uEA82\",e.StatusError=\"\\uEA83\",e.StatusWarning=\"\\uEA84\",e.Puzzle=\"\\uEA86\",e.CalendarSolid=\"\\uEA89\",e.HomeSolid=\"\\uEA8A\",e.ParkingLocationSolid=\"\\uEA8B\",e.ContactSolid=\"\\uEA8C\",e.ConstructionSolid=\"\\uEA8D\",e.AccidentSolid=\"\\uEA8E\",e.Ringer=\"\\uEA8F\",e.PDF=\"\\uEA90\",e.ThoughtBubble=\"\\uEA91\",e.HeartBroken=\"\\uEA92\",e.BatteryCharging10=\"\\uEA93\",e.BatterySaver9=\"\\uEA94\",e.BatterySaver10=\"\\uEA95\",e.CallForwardingMirrored=\"\\uEA97\",e.MultiSelectMirrored=\"\\uEA98\",e.Broom=\"\\uEA99\",e.ForwardCall=\"\\uEAC2\",e.Trackers=\"\\uEADF\",e.Market=\"\\uEAFC\",e.PieSingle=\"\\uEB05\",e.StockDown=\"\\uEB0F\",e.StockUp=\"\\uEB11\",e.Design=\"\\uEB3C\",e.Website=\"\\uEB41\",e.Drop=\"\\uEB42\",e.Radar=\"\\uEB44\",e.BusSolid=\"\\uEB47\",e.FerrySolid=\"\\uEB48\",e.StartPointSolid=\"\\uEB49\",e.StopPointSolid=\"\\uEB4A\",e.EndPointSolid=\"\\uEB4B\",e.AirplaneSolid=\"\\uEB4C\",e.TrainSolid=\"\\uEB4D\",e.WorkSolid=\"\\uEB4E\",e.ReminderFill=\"\\uEB4F\",e.Reminder=\"\\uEB50\",e.Heart=\"\\uEB51\",e.HeartFill=\"\\uEB52\",e.EthernetError=\"\\uEB55\",e.EthernetWarning=\"\\uEB56\",e.StatusConnecting1=\"\\uEB57\",e.StatusConnecting2=\"\\uEB58\",e.StatusUnsecure=\"\\uEB59\",e.WifiError0=\"\\uEB5A\",e.WifiError1=\"\\uEB5B\",e.WifiError2=\"\\uEB5C\",e.WifiError3=\"\\uEB5D\",e.WifiError4=\"\\uEB5E\",e.WifiWarning0=\"\\uEB5F\",e.WifiWarning1=\"\\uEB60\",e.WifiWarning2=\"\\uEB61\",e.WifiWarning3=\"\\uEB62\",e.WifiWarning4=\"\\uEB63\",e.Devices4=\"\\uEB66\",e.NUIIris=\"\\uEB67\",e.NUIFace=\"\\uEB68\",e.GatewayRouter=\"\\uEB77\",e.EditMirrored=\"\\uEB7E\",e.NUIFPStartSlideHand=\"\\uEB82\",e.NUIFPStartSlideAction=\"\\uEB83\",e.NUIFPContinueSlideHand=\"\\uEB84\",e.NUIFPContinueSlideAction=\"\\uEB85\",e.NUIFPRollRightHand=\"\\uEB86\",e.NUIFPRollRightHandAction=\"\\uEB87\",e.NUIFPRollLeftHand=\"\\uEB88\",e.NUIFPRollLeftAction=\"\\uEB89\",e.NUIFPPressHand=\"\\uEB8A\",e.NUIFPPressAction=\"\\uEB8B\",e.NUIFPPressRepeatHand=\"\\uEB8C\",e.NUIFPPressRepeatAction=\"\\uEB8D\",e.StatusErrorFull=\"\\uEB90\",e.TaskViewExpanded=\"\\uEB91\",e.Certificate=\"\\uEB95\",e.BackSpaceQWERTYLg=\"\\uEB96\",e.ReturnKeyLg=\"\\uEB97\",e.FastForward=\"\\uEB9D\",e.Rewind=\"\\uEB9E\",e.Photo2=\"\\uEB9F\",e.MobBattery0=\"\\uEBA0\",e.MobBattery1=\"\\uEBA1\",e.MobBattery2=\"\\uEBA2\",e.MobBattery3=\"\\uEBA3\",e.MobBattery4=\"\\uEBA4\",e.MobBattery5=\"\\uEBA5\",e.MobBattery6=\"\\uEBA6\",e.MobBattery7=\"\\uEBA7\",e.MobBattery8=\"\\uEBA8\",e.MobBattery9=\"\\uEBA9\",e.MobBattery10=\"\\uEBAA\",e.MobBatteryCharging0=\"\\uEBAB\",e.MobBatteryCharging1=\"\\uEBAC\",e.MobBatteryCharging2=\"\\uEBAD\",e.MobBatteryCharging3=\"\\uEBAE\",e.MobBatteryCharging4=\"\\uEBAF\",e.MobBatteryCharging5=\"\\uEBB0\",e.MobBatteryCharging6=\"\\uEBB1\",e.MobBatteryCharging7=\"\\uEBB2\",e.MobBatteryCharging8=\"\\uEBB3\",e.MobBatteryCharging9=\"\\uEBB4\",e.MobBatteryCharging10=\"\\uEBB5\",e.MobBatterySaver0=\"\\uEBB6\",e.MobBatterySaver1=\"\\uEBB7\",e.MobBatterySaver2=\"\\uEBB8\",e.MobBatterySaver3=\"\\uEBB9\",e.MobBatterySaver4=\"\\uEBBA\",e.MobBatterySaver5=\"\\uEBBB\",e.MobBatterySaver6=\"\\uEBBC\",e.MobBatterySaver7=\"\\uEBBD\",e.MobBatterySaver8=\"\\uEBBE\",e.MobBatterySaver9=\"\\uEBBF\",e.MobBatterySaver10=\"\\uEBC0\",e.DictionaryCloud=\"\\uEBC3\",e.ResetDrive=\"\\uEBC4\",e.VolumeBars=\"\\uEBC5\",e.Project=\"\\uEBC6\",e.AdjustHologram=\"\\uEBD2\",e.CloudDownload=\"\\uEBD3\",e.MobWifiCallBars=\"\\uEBD4\",e.MobWifiCall0=\"\\uEBD5\",e.MobWifiCall1=\"\\uEBD6\",e.MobWifiCall2=\"\\uEBD7\",e.MobWifiCall3=\"\\uEBD8\",e.MobWifiCall4=\"\\uEBD9\",e.Family=\"\\uEBDA\",e.LockFeedback=\"\\uEBDB\",e.DeviceDiscovery=\"\\uEBDE\",e.WindDirection=\"\\uEBE6\",e.RightArrowKeyTime0=\"\\uEBE7\",e.Bug=\"\\uEBE8\",e.TabletMode=\"\\uEBFC\",e.StatusCircleLeft=\"\\uEBFD\",e.StatusTriangleLeft=\"\\uEBFE\",e.StatusErrorLeft=\"\\uEBFF\",e.StatusWarningLeft=\"\\uEC00\",e.MobBatteryUnknown=\"\\uEC02\",e.NetworkTower=\"\\uEC05\",e.CityNext=\"\\uEC06\",e.CityNext2=\"\\uEC07\",e.Courthouse=\"\\uEC08\",e.Groceries=\"\\uEC09\",e.Sustainable=\"\\uEC0A\",e.BuildingEnergy=\"\\uEC0B\",e.ToggleFilled=\"\\uEC11\",e.ToggleBorder=\"\\uEC12\",e.SliderThumb=\"\\uEC13\",e.ToggleThumb=\"\\uEC14\",e.MiracastLogoSmall=\"\\uEC15\",e.MiracastLogoLarge=\"\\uEC16\",e.PLAP=\"\\uEC19\",e.Badge=\"\\uEC1B\",e.SignalRoaming=\"\\uEC1E\",e.MobileLocked=\"\\uEC20\",e.InsiderHubApp=\"\\uEC24\",e.PersonalFolder=\"\\uEC25\",e.HomeGroup=\"\\uEC26\",e.MyNetwork=\"\\uEC27\",e.KeyboardFull=\"\\uEC31\",e.Cafe=\"\\uEC32\",e.MobSignal1=\"\\uEC37\",e.MobSignal2=\"\\uEC38\",e.MobSignal3=\"\\uEC39\",e.MobSignal4=\"\\uEC3A\",e.MobSignal5=\"\\uEC3B\",e.MobWifi1=\"\\uEC3C\",e.MobWifi2=\"\\uEC3D\",e.MobWifi3=\"\\uEC3E\",e.MobWifi4=\"\\uEC3F\",e.MobAirplane=\"\\uEC40\",e.MobBluetooth=\"\\uEC41\",e.MobActionCenter=\"\\uEC42\",e.MobLocation=\"\\uEC43\",e.MobWifiHotspot=\"\\uEC44\",e.LanguageJpn=\"\\uEC45\",e.MobQuietHours=\"\\uEC46\",e.MobDrivingMode=\"\\uEC47\",e.SpeedOff=\"\\uEC48\",e.SpeedMedium=\"\\uEC49\",e.SpeedHigh=\"\\uEC4A\",e.ThisPC=\"\\uEC4E\",e.MusicNote=\"\\uEC4F\",e.FileExplorer=\"\\uEC50\",e.FileExplorerApp=\"\\uEC51\",e.LeftArrowKeyTime0=\"\\uEC52\",e.MicOff=\"\\uEC54\",e.MicSleep=\"\\uEC55\",e.MicError=\"\\uEC56\",e.PlaybackRate1x=\"\\uEC57\",e.PlaybackRateOther=\"\\uEC58\",e.CashDrawer=\"\\uEC59\",e.BarcodeScanner=\"\\uEC5A\",e.ReceiptPrinter=\"\\uEC5B\",e.MagStripeReader=\"\\uEC5C\",e.CompletedSolid=\"\\uEC61\",e.CompanionApp=\"\\uEC64\",e.Favicon2=\"\\uEC6C\",e.SwipeRevealArt=\"\\uEC6D\",e.MicOn=\"\\uEC71\",e.MicClipping=\"\\uEC72\",e.TabletSelected=\"\\uEC74\",e.MobileSelected=\"\\uEC75\",e.LaptopSelected=\"\\uEC76\",e.TVMonitorSelected=\"\\uEC77\",e.DeveloperTools=\"\\uEC7A\",e.MobCallForwarding=\"\\uEC7E\",e.MobCallForwardingMirrored=\"\\uEC7F\",e.BodyCam=\"\\uEC80\",e.PoliceCar=\"\\uEC81\",e.Draw=\"\\uEC87\",e.DrawSolid=\"\\uEC88\",e.LowerBrightness=\"\\uEC8A\",e.ScrollUpDown=\"\\uEC8F\",e.DateTime=\"\\uEC92\",e.HoloLens=\"\\uEC94\",e.Tiles=\"\\uECA5\",e.PartyLeader=\"\\uECA7\",e.AppIconDefault=\"\\uECAA\",e.Calories=\"\\uECAD\",e.POI=\"\\uECAF\",e.BandBattery0=\"\\uECB9\",e.BandBattery1=\"\\uECBA\",e.BandBattery2=\"\\uECBB\",e.BandBattery3=\"\\uECBC\",e.BandBattery4=\"\\uECBD\",e.BandBattery5=\"\\uECBE\",e.BandBattery6=\"\\uECBF\",e.AddSurfaceHub=\"\\uECC4\",e.DevUpdate=\"\\uECC5\",e.Unit=\"\\uECC6\",e.AddTo=\"\\uECC8\",e.RemoveFrom=\"\\uECC9\",e.RadioBtnOff=\"\\uECCA\",e.RadioBtnOn=\"\\uECCB\",e.RadioBullet2=\"\\uECCC\",e.ExploreContent=\"\\uECCD\",e.Blocked2=\"\\uECE4\",e.ScrollMode=\"\\uECE7\",e.ZoomMode=\"\\uECE8\",e.PanMode=\"\\uECE9\",e.WiredUSB=\"\\uECF0\",e.WirelessUSB=\"\\uECF1\",e.USBSafeConnect=\"\\uECF3\",e.ActionCenterNotificationMirrored=\"\\uED0C\",e.ActionCenterMirrored=\"\\uED0D\",e.SubscriptionAdd=\"\\uED0E\",e.ResetDevice=\"\\uED10\",e.SubscriptionAddMirrored=\"\\uED11\",e.QRCode=\"\\uED14\",e.Feedback=\"\\uED15\",e.Hide=\"\\uED1A\",e.Subtitles=\"\\uED1E\",e.SubtitlesAudio=\"\\uED1F\",e.OpenFolderHorizontal=\"\\uED25\",e.CalendarMirrored=\"\\uED28\",e.MobeSIM=\"\\uED2A\",e.MobeSIMNoProfile=\"\\uED2B\",e.MobeSIMLocked=\"\\uED2C\",e.MobeSIMBusy=\"\\uED2D\",e.SignalError=\"\\uED2E\",e.StreamingEnterprise=\"\\uED2F\",e.Headphone0=\"\\uED30\",e.Headphone1=\"\\uED31\",e.Headphone2=\"\\uED32\",e.Headphone3=\"\\uED33\",e.Apps=\"\\uED35\",e.KeyboardBrightness=\"\\uED39\",e.KeyboardLowerBrightness=\"\\uED3A\",e.SkipBack10=\"\\uED3C\",e.SkipForward30=\"\\uED3D\",e.TreeFolderFolder=\"\\uED41\",e.TreeFolderFolderFill=\"\\uED42\",e.TreeFolderFolderOpen=\"\\uED43\",e.TreeFolderFolderOpenFill=\"\\uED44\",e.MultimediaDMP=\"\\uED47\",e.KeyboardOneHanded=\"\\uED4C\",e.Narrator=\"\\uED4D\",e.EmojiTabPeople=\"\\uED53\",e.EmojiTabSmilesAnimals=\"\\uED54\",e.EmojiTabCelebrationObjects=\"\\uED55\",e.EmojiTabFoodPlants=\"\\uED56\",e.EmojiTabTransitPlaces=\"\\uED57\",e.EmojiTabSymbols=\"\\uED58\",e.EmojiTabTextSmiles=\"\\uED59\",e.EmojiTabFavorites=\"\\uED5A\",e.EmojiSwatch=\"\\uED5B\",e.ConnectApp=\"\\uED5C\",e.CompanionDeviceFramework=\"\\uED5D\",e.Ruler=\"\\uED5E\",e.FingerInking=\"\\uED5F\",e.StrokeErase=\"\\uED60\",e.PointErase=\"\\uED61\",e.ClearAllInk=\"\\uED62\",e.Pencil=\"\\uED63\",e.Marker=\"\\uED64\",e.InkingCaret=\"\\uED65\",e.InkingColorOutline=\"\\uED66\",e.InkingColorFill=\"\\uED67\",e.HardDrive=\"\\uEDA2\",e.NetworkAdapter=\"\\uEDA3\",e.Touchscreen=\"\\uEDA4\",e.NetworkPrinter=\"\\uEDA5\",e.CloudPrinter=\"\\uEDA6\",e.KeyboardShortcut=\"\\uEDA7\",e.BrushSize=\"\\uEDA8\",e.NarratorForward=\"\\uEDA9\",e.NarratorForwardMirrored=\"\\uEDAA\",e.SyncBadge12=\"\\uEDAB\",e.RingerBadge12=\"\\uEDAC\",e.AsteriskBadge12=\"\\uEDAD\",e.ErrorBadge12=\"\\uEDAE\",e.CircleRingBadge12=\"\\uEDAF\",e.CircleFillBadge12=\"\\uEDB0\",e.ImportantBadge12=\"\\uEDB1\",e.MailBadge12=\"\\uEDB3\",e.PauseBadge12=\"\\uEDB4\",e.PlayBadge12=\"\\uEDB5\",e.PenWorkspace=\"\\uEDC6\",e.CaretLeft8=\"\\uEDD5\",e.CaretRight8=\"\\uEDD6\",e.CaretUp8=\"\\uEDD7\",e.CaretDown8=\"\\uEDD8\",e.CaretLeftSolid8=\"\\uEDD9\",e.CaretRightSolid8=\"\\uEDDA\",e.CaretUpSolid8=\"\\uEDDB\",e.CaretDownSolid8=\"\\uEDDC\",e.Strikethrough=\"\\uEDE0\",e.Export=\"\\uEDE1\",e.ExportMirrored=\"\\uEDE2\",e.ButtonMenu=\"\\uEDE3\",e.CloudSearch=\"\\uEDE4\",e.PinyinIMELogo=\"\\uEDE5\",e.CalligraphyPen=\"\\uEDFB\",e.ReplyMirrored=\"\\uEE35\",e.LockscreenDesktop=\"\\uEE3F\",e.TaskViewSettings=\"\\uEE40\",e.MiniExpand2Mirrored=\"\\uEE47\",e.MiniContract2Mirrored=\"\\uEE49\",e.Play36=\"\\uEE4A\",e.PenPalette=\"\\uEE56\",e.GuestUser=\"\\uEE57\",e.SettingsBattery=\"\\uEE63\",e.TaskbarPhone=\"\\uEE64\",e.LockScreenGlance=\"\\uEE65\",e.GenericScan=\"\\uEE6F\",e.ImageExport=\"\\uEE71\",e.WifiEthernet=\"\\uEE77\",e.ActionCenterQuiet=\"\\uEE79\",e.ActionCenterQuietNotification=\"\\uEE7A\",e.TrackersMirrored=\"\\uEE92\",e.DateTimeMirrored=\"\\uEE93\",e.Wheel=\"\\uEE94\",e.VirtualMachineGroup=\"\\uEEA3\",e.ButtonView2=\"\\uEECA\",e.PenWorkspaceMirrored=\"\\uEF15\",e.PenPaletteMirrored=\"\\uEF16\",e.StrokeEraseMirrored=\"\\uEF17\",e.PointEraseMirrored=\"\\uEF18\",e.ClearAllInkMirrored=\"\\uEF19\",e.BackgroundToggle=\"\\uEF1F\",e.Marquee=\"\\uEF20\",e.ChromeCloseContrast=\"\\uEF2C\",e.ChromeMinimizeContrast=\"\\uEF2D\",e.ChromeMaximizeContrast=\"\\uEF2E\",e.ChromeRestoreContrast=\"\\uEF2F\",e.TrafficLight=\"\\uEF31\",e.Replay=\"\\uEF3B\",e.Eyedropper=\"\\uEF3C\",e.LineDisplay=\"\\uEF3D\",e.PINPad=\"\\uEF3E\",e.SignatureCapture=\"\\uEF3F\",e.ChipCardCreditCardReader=\"\\uEF40\",e.MarketDown=\"\\uEF42\",e.PlayerSettings=\"\\uEF58\",e.LandscapeOrientation=\"\\uEF6B\",e.Flow=\"\\uEF90\",e.Touchpad=\"\\uEFA5\",e.Speech=\"\\uEFA9\",e.KnowledgeArticle=\"\\uF000\",e.Relationship=\"\\uF003\",e.ZipFolder=\"\\uF012\",e.DefaultAPN=\"\\uF080\",e.UserAPN=\"\\uF081\",e.DoublePinyin=\"\\uF085\",e.BlueLight=\"\\uF08C\",e.CaretSolidLeft=\"\\uF08D\",e.CaretSolidDown=\"\\uF08E\",e.CaretSolidRight=\"\\uF08F\",e.CaretSolidUp=\"\\uF090\",e.ButtonA=\"\\uF093\",e.ButtonB=\"\\uF094\",e.ButtonY=\"\\uF095\",e.ButtonX=\"\\uF096\",e.ArrowUp8=\"\\uF0AD\",e.ArrowDown8=\"\\uF0AE\",e.ArrowRight8=\"\\uF0AF\",e.ArrowLeft8=\"\\uF0B0\",e.QuarentinedItems=\"\\uF0B2\",e.QuarentinedItemsMirrored=\"\\uF0B3\",e.Protractor=\"\\uF0B4\",e.ChecklistMirrored=\"\\uF0B5\",e.StatusCircle7=\"\\uF0B6\",e.StatusCheckmark7=\"\\uF0B7\",e.StatusErrorCircle7=\"\\uF0B8\",e.Connected=\"\\uF0B9\",e.PencilFill=\"\\uF0C6\",e.CalligraphyFill=\"\\uF0C7\",e.QuarterStarLeft=\"\\uF0CA\",e.QuarterStarRight=\"\\uF0CB\",e.ThreeQuarterStarLeft=\"\\uF0CC\",e.ThreeQuarterStarRight=\"\\uF0CD\",e.QuietHoursBadge12=\"\\uF0CE\",e.BackMirrored=\"\\uF0D2\",e.ForwardMirrored=\"\\uF0D3\",e.ChromeBackContrast=\"\\uF0D5\",e.ChromeBackContrastMirrored=\"\\uF0D6\",e.ChromeBackToWindowContrast=\"\\uF0D7\",e.ChromeFullScreenContrast=\"\\uF0D8\",e.GridView=\"\\uF0E2\",e.ClipboardList=\"\\uF0E3\",e.ClipboardListMirrored=\"\\uF0E4\",e.OutlineQuarterStarLeft=\"\\uF0E5\",e.OutlineQuarterStarRight=\"\\uF0E6\",e.OutlineHalfStarLeft=\"\\uF0E7\",e.OutlineHalfStarRight=\"\\uF0E8\",e.OutlineThreeQuarterStarLeft=\"\\uF0E9\",e.OutlineThreeQuarterStarRight=\"\\uF0EA\",e.SpatialVolume0=\"\\uF0EB\",e.SpatialVolume1=\"\\uF0EC\",e.SpatialVolume2=\"\\uF0ED\",e.SpatialVolume3=\"\\uF0EE\",e.ApplicationGuard=\"\\uF0EF\",e.OutlineStarLeftHalf=\"\\uF0F7\",e.OutlineStarRightHalf=\"\\uF0F8\",e.ChromeAnnotateContrast=\"\\uF0F9\",e.DefenderBadge12=\"\\uF0FB\",e.DetachablePC=\"\\uF103\",e.LeftStick=\"\\uF108\",e.RightStick=\"\\uF109\",e.TriggerLeft=\"\\uF10A\",e.TriggerRight=\"\\uF10B\",e.BumperLeft=\"\\uF10C\",e.BumperRight=\"\\uF10D\",e.Dpad=\"\\uF10E\",e.EnglishPunctuation=\"\\uF110\",e.ChinesePunctuation=\"\\uF111\",e.HMD=\"\\uF119\",e.CtrlSpatialRight=\"\\uF11B\",e.PaginationDotOutline10=\"\\uF126\",e.PaginationDotSolid10=\"\\uF127\",e.StrokeErase2=\"\\uF128\",e.SmallErase=\"\\uF129\",e.LargeErase=\"\\uF12A\",e.FolderHorizontal=\"\\uF12B\",e.MicrophoneListening=\"\\uF12E\",e.StatusExclamationCircle7=\"\\uF12F\",e.Video360=\"\\uF131\",e.GiftboxOpen=\"\\uF133\",e.StatusCircleOuter=\"\\uF136\",e.StatusCircleInner=\"\\uF137\",e.StatusCircleRing=\"\\uF138\",e.StatusTriangleOuter=\"\\uF139\",e.StatusTriangleInner=\"\\uF13A\",e.StatusTriangleExclamation=\"\\uF13B\",e.StatusCircleExclamation=\"\\uF13C\",e.StatusCircleErrorX=\"\\uF13D\",e.StatusCircleCheckmark=\"\\uF13E\",e.StatusCircleInfo=\"\\uF13F\",e.StatusCircleBlock=\"\\uF140\",e.StatusCircleBlock2=\"\\uF141\",e.StatusCircleQuestionMark=\"\\uF142\",e.StatusCircleSync=\"\\uF143\",e.Dial1=\"\\uF146\",e.Dial2=\"\\uF147\",e.Dial3=\"\\uF148\",e.Dial4=\"\\uF149\",e.Dial5=\"\\uF14A\",e.Dial6=\"\\uF14B\",e.Dial7=\"\\uF14C\",e.Dial8=\"\\uF14D\",e.Dial9=\"\\uF14E\",e.Dial10=\"\\uF14F\",e.Dial11=\"\\uF150\",e.Dial12=\"\\uF151\",e.Dial13=\"\\uF152\",e.Dial14=\"\\uF153\",e.Dial15=\"\\uF154\",e.Dial16=\"\\uF155\",e.DialShape1=\"\\uF156\",e.DialShape2=\"\\uF157\",e.DialShape3=\"\\uF158\",e.DialShape4=\"\\uF159\",e.ClosedCaptionsInternational=\"\\uF15F\",e.TollSolid=\"\\uF161\",e.TrafficCongestionSolid=\"\\uF163\",e.ExploreContentSingle=\"\\uF164\",e.CollapseContent=\"\\uF165\",e.CollapseContentSingle=\"\\uF166\",e.InfoSolid=\"\\uF167\",e.GroupList=\"\\uF168\",e.CaretBottomRightSolidCenter8=\"\\uF169\",e.ProgressRingDots=\"\\uF16A\",e.Checkbox14=\"\\uF16B\",e.CheckboxComposite14=\"\\uF16C\",e.CheckboxIndeterminateCombo14=\"\\uF16D\",e.CheckboxIndeterminateCombo=\"\\uF16E\",e.StatusPause7=\"\\uF175\",e.CharacterAppearance=\"\\uF17F\",e.Lexicon=\"\\uF180\",e.ScreenTime=\"\\uF182\",e.HeadlessDevice=\"\\uF191\",e.NetworkSharing=\"\\uF193\",e.EyeGaze=\"\\uF19D\",e.ToggleLeft=\"\\uF19E\",e.ToggleRight=\"\\uF19F\",e.WindowsInsider=\"\\uF1AD\",e.ChromeSwitch=\"\\uF1CB\",e.ChromeSwitchContast=\"\\uF1CC\",e.StatusCheckmark=\"\\uF1D8\",e.StatusCheckmarkLeft=\"\\uF1D9\",e.KeyboardLeftAligned=\"\\uF20C\",e.KeyboardRightAligned=\"\\uF20D\",e.KeyboardSettings=\"\\uF210\",e.NetworkPhysical=\"\\uF211\",e.IOT=\"\\uF22C\",e.UnknownMirrored=\"\\uF22E\",e.ViewDashboard=\"\\uF246\",e.ExploitProtectionSettings=\"\\uF259\",e.KeyboardNarrow=\"\\uF260\",e.Keyboard12Key=\"\\uF261\",e.KeyboardDock=\"\\uF26B\",e.KeyboardUndock=\"\\uF26C\",e.KeyboardLeftDock=\"\\uF26D\",e.KeyboardRightDock=\"\\uF26E\",e.Ear=\"\\uF270\",e.PointerHand=\"\\uF271\",e.Bullseye=\"\\uF272\",e.DocumentApproval=\"\\uF28B\",e.LocaleLanguage=\"\\uF2B7\",e.PassiveAuthentication=\"\\uF32A\",e.ColorSolid=\"\\uF354\",e.NetworkOffline=\"\\uF384\",e.NetworkConnected=\"\\uF385\",e.NetworkConnectedCheckmark=\"\\uF386\",e.SignOut=\"\\uF3B1\",e.StatusInfo=\"\\uF3CC\",e.StatusInfoLeft=\"\\uF3CD\",e.NearbySharing=\"\\uF3E2\",e.CtrlSpatialLeft=\"\\uF3E7\",e.InteractiveDashboard=\"\\uF404\",e.DeclineCall=\"\\uF405\",e.ClippingTool=\"\\uF406\",e.RectangularClipping=\"\\uF407\",e.FreeFormClipping=\"\\uF408\",e.CopyTo=\"\\uF413\",e.IDBadge=\"\\uF427\",e.DynamicLock=\"\\uF439\",e.PenTips=\"\\uF45E\",e.PenTipsMirrored=\"\\uF45F\",e.HWPJoin=\"\\uF460\",e.HWPInsert=\"\\uF461\",e.HWPStrikeThrough=\"\\uF462\",e.HWPScratchOut=\"\\uF463\",e.HWPSplit=\"\\uF464\",e.HWPNewLine=\"\\uF465\",e.HWPOverwrite=\"\\uF466\",e.MobWifiWarning1=\"\\uF473\",e.MobWifiWarning2=\"\\uF474\",e.MobWifiWarning3=\"\\uF475\",e.MobWifiWarning4=\"\\uF476\",e.MicLocationCombo=\"\\uF47F\",e.Globe2=\"\\uF49A\",e.SpecialEffectSize=\"\\uF4A5\",e.GIF=\"\\uF4A9\",e.Sticker2=\"\\uF4AA\",e.SurfaceHubSelected=\"\\uF4BE\",e.HoloLensSelected=\"\\uF4BF\",e.Earbud=\"\\uF4C0\",e.MixVolumes=\"\\uF4C3\",e.Safe=\"\\uF540\",e.LaptopSecure=\"\\uF552\",e.PrintDefault=\"\\uF56D\",e.PageMirrored=\"\\uF56E\",e.LandscapeOrientationMirrored=\"\\uF56F\",e.ColorOff=\"\\uF570\",e.PrintAllPages=\"\\uF571\",e.PrintCustomRange=\"\\uF572\",e.PageMarginPortraitNarrow=\"\\uF573\",e.PageMarginPortraitNormal=\"\\uF574\",e.PageMarginPortraitModerate=\"\\uF575\",e.PageMarginPortraitWide=\"\\uF576\",e.PageMarginLandscapeNarrow=\"\\uF577\",e.PageMarginLandscapeNormal=\"\\uF578\",e.PageMarginLandscapeModerate=\"\\uF579\",e.PageMarginLandscapeWide=\"\\uF57A\",e.CollateLandscape=\"\\uF57B\",e.CollatePortrait=\"\\uF57C\",e.CollatePortraitSeparated=\"\\uF57D\",e.DuplexLandscapeOneSided=\"\\uF57E\",e.DuplexLandscapeOneSidedMirrored=\"\\uF57F\",e.DuplexLandscapeTwoSidedLongEdge=\"\\uF580\",e.DuplexLandscapeTwoSidedLongEdgeMirrored=\"\\uF581\",e.DuplexLandscapeTwoSidedShortEdge=\"\\uF582\",e.DuplexLandscapeTwoSidedShortEdgeMirrored=\"\\uF583\",e.DuplexPortraitOneSided=\"\\uF584\",e.DuplexPortraitOneSidedMirrored=\"\\uF585\",e.DuplexPortraitTwoSidedLongEdge=\"\\uF586\",e.DuplexPortraitTwoSidedLongEdgeMirrored=\"\\uF587\",e.DuplexPortraitTwoSidedShortEdge=\"\\uF588\",e.DuplexPortraitTwoSidedShortEdgeMirrored=\"\\uF589\",e.PPSOneLandscape=\"\\uF58A\",e.PPSTwoLandscape=\"\\uF58B\",e.PPSTwoPortrait=\"\\uF58C\",e.PPSFourLandscape=\"\\uF58D\",e.PPSFourPortrait=\"\\uF58E\",e.HolePunchOff=\"\\uF58F\",e.HolePunchPortraitLeft=\"\\uF590\",e.HolePunchPortraitRight=\"\\uF591\",e.HolePunchPortraitTop=\"\\uF592\",e.HolePunchPortraitBottom=\"\\uF593\",e.HolePunchLandscapeLeft=\"\\uF594\",e.HolePunchLandscapeRight=\"\\uF595\",e.HolePunchLandscapeTop=\"\\uF596\",e.HolePunchLandscapeBottom=\"\\uF597\",e.StaplingOff=\"\\uF598\",e.StaplingPortraitTopLeft=\"\\uF599\",e.StaplingPortraitTopRight=\"\\uF59A\",e.StaplingPortraitBottomRight=\"\\uF59B\",e.StaplingPortraitTwoLeft=\"\\uF59C\",e.StaplingPortraitTwoRight=\"\\uF59D\",e.StaplingPortraitTwoTop=\"\\uF59E\",e.StaplingPortraitTwoBottom=\"\\uF59F\",e.StaplingPortraitBookBinding=\"\\uF5A0\",e.StaplingLandscapeTopLeft=\"\\uF5A1\",e.StaplingLandscapeTopRight=\"\\uF5A2\",e.StaplingLandscapeBottomLeft=\"\\uF5A3\",e.StaplingLandscapeBottomRight=\"\\uF5A4\",e.StaplingLandscapeTwoLeft=\"\\uF5A5\",e.StaplingLandscapeTwoRight=\"\\uF5A6\",e.StaplingLandscapeTwoTop=\"\\uF5A7\",e.StaplingLandscapeTwoBottom=\"\\uF5A8\",e.StaplingLandscapeBookBinding=\"\\uF5A9\",e.StatusDataTransferRoaming=\"\\uF5AA\",e.MobSIMError=\"\\uF5AB\",e.CollateLandscapeSeparated=\"\\uF5AC\",e.PPSOnePortrait=\"\\uF5AD\",e.StaplingPortraitBottomLeft=\"\\uF5AE\",e.PlaySolid=\"\\uF5B0\",e.RepeatOff=\"\\uF5E7\",e.Set=\"\\uF5ED\",e.SetSolid=\"\\uF5EE\",e.FuzzyReading=\"\\uF5EF\",e.VerticalBattery0=\"\\uF5F2\",e.VerticalBattery1=\"\\uF5F3\",e.VerticalBattery2=\"\\uF5F4\",e.VerticalBattery3=\"\\uF5F5\",e.VerticalBattery4=\"\\uF5F6\",e.VerticalBattery5=\"\\uF5F7\",e.VerticalBattery6=\"\\uF5F8\",e.VerticalBattery7=\"\\uF5F9\",e.VerticalBattery8=\"\\uF5FA\",e.VerticalBattery9=\"\\uF5FB\",e.VerticalBattery10=\"\\uF5FC\",e.VerticalBatteryCharging0=\"\\uF5FD\",e.VerticalBatteryCharging1=\"\\uF5FE\",e.VerticalBatteryCharging2=\"\\uF5FF\",e.VerticalBatteryCharging3=\"\\uF600\",e.VerticalBatteryCharging4=\"\\uF601\",e.VerticalBatteryCharging5=\"\\uF602\",e.VerticalBatteryCharging6=\"\\uF603\",e.VerticalBatteryCharging7=\"\\uF604\",e.VerticalBatteryCharging8=\"\\uF605\",e.VerticalBatteryCharging9=\"\\uF606\",e.VerticalBatteryCharging10=\"\\uF607\",e.VerticalBatteryUnknown=\"\\uF608\",e.SIMError=\"\\uF618\",e.SIMMissing=\"\\uF619\",e.SIMLock=\"\\uF61A\",e.eSIM=\"\\uF61B\",e.eSIMNoProfile=\"\\uF61C\",e.eSIMLocked=\"\\uF61D\",e.eSIMBusy=\"\\uF61E\",e.NoiseCancelation=\"\\uF61F\",e.NoiseCancelationOff=\"\\uF620\",e.MusicSharing=\"\\uF623\",e.MusicSharingOff=\"\\uF624\",e.CircleShapeSolid=\"\\uF63C\",e.WifiCallBars=\"\\uF657\",e.WifiCall0=\"\\uF658\",e.WifiCall1=\"\\uF659\",e.WifiCall2=\"\\uF65A\",e.WifiCall3=\"\\uF65B\",e.WifiCall4=\"\\uF65C\",e.CHTLanguageBar=\"\\uF69E\",e.ComposeMode=\"\\uF6A9\",e.ExpressiveInputEntry=\"\\uF6B8\",e.EmojiTabMoreSymbols=\"\\uF6BA\",e.WebSearch=\"\\uF6FA\",e.Kiosk=\"\\uF712\",e.RTTLogo=\"\\uF714\",e.VoiceCall=\"\\uF715\",e.GoToMessage=\"\\uF716\",e.ReturnToCall=\"\\uF71A\",e.StartPresenting=\"\\uF71C\",e.StopPresenting=\"\\uF71D\",e.ProductivityMode=\"\\uF71E\",e.SetHistoryStatus=\"\\uF738\",e.SetHistoryStatus2=\"\\uF739\",e.Keyboardsettings20=\"\\uF73D\",e.OneHandedRight20=\"\\uF73E\",e.OneHandedLeft20=\"\\uF73F\",e.Split20=\"\\uF740\",e.Full20=\"\\uF741\",e.Handwriting20=\"\\uF742\",e.ChevronLeft20=\"\\uF743\",e.ChevronLeft32=\"\\uF744\",e.ChevronRight20=\"\\uF745\",e.ChevronRight32=\"\\uF746\",e.Event12=\"\\uF763\",e.MicOff2=\"\\uF781\",e.DeliveryOptimization=\"\\uF785\",e.CancelMedium=\"\\uF78A\",e.SearchMedium=\"\\uF78B\",e.AcceptMedium=\"\\uF78C\",e.RevealPasswordMedium=\"\\uF78D\",e.DeleteWord=\"\\uF7AD\",e.DeleteWordFill=\"\\uF7AE\",e.DeleteLines=\"\\uF7AF\",e.DeleteLinesFill=\"\\uF7B0\",e.InstertWords=\"\\uF7B1\",e.InstertWordsFill=\"\\uF7B2\",e.JoinWords=\"\\uF7B3\",e.JoinWordsFill=\"\\uF7B4\",e.OverwriteWords=\"\\uF7B5\",e.OverwriteWordsFill=\"\\uF7B6\",e.AddNewLine=\"\\uF7B7\",e.AddNewLineFill=\"\\uF7B8\",e.OverwriteWordsKorean=\"\\uF7B9\",e.OverwriteWordsFillKorean=\"\\uF7BA\",e.EducationIcon=\"\\uF7BB\",e.WindowSnipping=\"\\uF7ED\",e.VideoCapture=\"\\uF7EE\",e.StatusSecured=\"\\uF809\",e.NarratorApp=\"\\uF83B\",e.PowerButtonUpdate=\"\\uF83D\",e.RestartUpdate=\"\\uF83E\",e.UpdateStatusDot=\"\\uF83F\",e.Eject=\"\\uF847\",e.Spelling=\"\\uF87B\",e.SpellingKorean=\"\\uF87C\",e.SpellingSerbian=\"\\uF87D\",e.SpellingChinese=\"\\uF87E\",e.FolderSelect=\"\\uF89A\",e.SmartScreen=\"\\uF8A5\",e.ExploitProtection=\"\\uF8A6\",e.AddBold=\"\\uF8AA\",e.SubtractBold=\"\\uF8AB\",e.BackSolidBold=\"\\uF8AC\",e.ForwardSolidBold=\"\\uF8AD\",e.PauseBold=\"\\uF8AE\",e.ClickSolid=\"\\uF8AF\",e.SettingsSolid=\"\\uF8B0\",e.MicrophoneSolidBold=\"\\uF8B1\",e.SpeechSolidBold=\"\\uF8B2\",e.ClickedOutLoudSolidBold=\"\\uF8B3\",e))(Ve||{});const n8={class:\"flex items-center\"},i8={class:\"flex-1\"},s8={class:\"title text-sm font-bold\"},o8={key:0,class:\"desc text-sm\"},a8={key:0,class:\"flex justify-end\"},u8=Se({__name:\"HNotificationItem\",props:{data:{}},setup(e){It(l=>({f56bf73e:o.value.bgColor,a8785b34:o.value.color,\"20fd4320\":o.value.subColor}));const t=e,r=l=>l===\"info\"?\"primary\":l,n=Pt(),i=ue(()=>r(t.data.type)),s=ue(()=>t.data.permanent&&!t.data.actions.length),o=ue(()=>{let l=n.value.colorPrimary;switch(i.value){case\"success\":l=n.value.colorSuccess;break;case\"warning\":l=n.value.colorWarning;break;case\"error\":l=n.value.colorError;break;default:l=n.value.colorPrimary;break}return{bgColor:l,color:n.value.textColorWhite,subColor:n.value.textColorWhite}}),a=()=>t.data.close(),u=()=>{var l,c;return(c=(l=t.data).onClick)==null?void 0:c.call(l)};return(l,c)=>(X(),ce(\"div\",{class:Jt([\"h-notification-item w-72 rounded-md px-4 py-2 select-none shadow-lg flex-shrink-0 mt-1\",{\"cursor-pointer\":!!l.data.onClick}]),onClick:u},[me(\"div\",n8,[me(\"div\",i8,[me(\"div\",s8,Qe(l.data.title),1),l.data.desc?(X(),ce(\"div\",o8,Qe(l.data.desc),1)):Ze(\"\",!0)]),s.value?(X(),Re(L(ir),{key:0,class:\"ml-2\",type:i.value,round:\"\",onClick:Si(a,[\"prevent\"])},{default:Te(()=>[oe(L(et),{name:L(Ve).Cancel},null,8,[\"name\"])]),_:1},8,[\"type\"])):Ze(\"\",!0)]),l.data.actions?(X(),ce(\"div\",a8,[(X(!0),ce(je,null,qt(l.data.actions,d=>(X(),Re(L(ir),{onClick:d.run,type:i.value,size:\"small\"},{default:Te(()=>[Dr(Qe(d.label),1)]),_:2},1032,[\"onClick\",\"type\"]))),256))])):Ze(\"\",!0)],2))}});var l8=Ot(u8,[[\"__scopeId\",\"data-v-d4879b86\"]]);const Ep=Se({__name:\"FadeTransition\",props:{duration:{default:100}},setup(e){const t=e;function r(s,o){Ue({targets:s,opacity:1,duration:t.duration,easing:\"easeInOutSine\",complete:o})}function n(s){Ue.set(s,{opacity:0})}function i(s,o){Ue({targets:s,opacity:0,duration:t.duration,easing:\"easeInOutSine\",complete:o})}return(s,o)=>(X(),Re(kl,{onEnter:r,onBeforeEnter:n,onLeave:i},{default:Te(()=>[vt(s.$slots,\"default\")]),_:3}))}});const c8={key:0,class:\"h-loading\"},f8=me(\"div\",{class:\"icon\"},null,-1),d8=[f8],_p=Se({__name:\"HLoading\",props:{loading:{type:Boolean,default:!0},overlay:{type:Boolean,default:!1}},setup(e){It(r=>({\"057efbe0\":L(t).background,\"6848664c\":L(t).backgroundColorIcon,\"37906d81\":L(t).colorPrimary}));const t=ga(\"Loading\");return(r,n)=>(X(),ce(je,null,[r.overlay||!r.loading?vt(r.$slots,\"default\",{key:0}):Ze(\"\",!0),oe(Ep,null,{default:Te(()=>[r.loading?(X(),ce(\"div\",c8,d8)):Ze(\"\",!0)]),_:1})],64))}});var eo,h8=new Uint8Array(16);function p8(){if(!eo&&(eo=typeof crypto!=\"undefined\"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!=\"undefined\"&&typeof msCrypto.getRandomValues==\"function\"&&msCrypto.getRandomValues.bind(msCrypto),!eo))throw new Error(\"crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported\");return eo(h8)}var v8=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function g8(e){return typeof e==\"string\"&&v8.test(e)}var Et=[];for(var Ja=0;Ja<256;++Ja)Et.push((Ja+256).toString(16).substr(1));function x8(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=(Et[e[t+0]]+Et[e[t+1]]+Et[e[t+2]]+Et[e[t+3]]+\"-\"+Et[e[t+4]]+Et[e[t+5]]+\"-\"+Et[e[t+6]]+Et[e[t+7]]+\"-\"+Et[e[t+8]]+Et[e[t+9]]+\"-\"+Et[e[t+10]]+Et[e[t+11]]+Et[e[t+12]]+Et[e[t+13]]+Et[e[t+14]]+Et[e[t+15]]).toLowerCase();if(!g8(r))throw TypeError(\"Stringified UUID is invalid\");return r}function Ql(e,t,r){e=e||{};var n=e.random||(e.rng||p8)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){r=r||0;for(var i=0;i<16;++i)t[r+i]=n[i];return t}return x8(n)}const y8=()=>{window.onbeforeunload=()=>{},window.location.reload()};function Kr(e,t){const r={};return e.forEach(n=>r[n[t]]=n),r}function Sn(e,t){return Object.entries(e).map(([r,n])=>n)}function E8(e){return!!e.filter(t=>Array.isArray(t)).length}function _8(e){return JSON.stringify(e)===JSON.stringify([])?[]:E8(e)?e.map(t=>Array.isArray(t)?t:[t]):[e]}const m8=()=>{};function IF(e){const t=Fe(!0),r=\"loader\"in e?e.loader:e;return[Sl(()=>r().then(n=>(t.value=!1,n))),ue(()=>t.value)]}const mp=Symbol(\"hdialog\");class b8{constructor(t,r){Vr(this,\"id\");Vr(this,\"type\");Vr(this,\"title\");Vr(this,\"content\");Vr(this,\"persistent\");Vr(this,\"actions\");Vr(this,\"close\");var n,i,s;this.id=Ql(),this.type=(n=t.type)!=null?n:\"info\",this.title=t.title,this.content=(i=t.content)!=null?i:\"\",this.persistent=(s=t.persistent)!=null?s:!1,this.close=()=>r.value=r.value.filter(o=>o.id!==this.id),this.actions=t.actions.map(o=>({...o,run:async()=>{var l;this.close(),await((l=o.run)!=null?l:m8)(this)}}))}}function C8(){const e=Fe([]);function t(r){const n=new b8(r,e);e.value.push(n)}return{dialogs:e,create:t,install(r){const n=this;r.provide(mp,n)}}}function A8(){return ft(mp)}const S8=Se({__name:\"DialogContainer\",setup(e){const{dialogs:t}=A8(),r=document.createElement(\"div\");return r.id=\"dialog-container\",document.body.appendChild(r),(n,i)=>(X(),Re($s,{to:\"#dialog-container\"},[oe(Gl,null,{default:Te(()=>[(X(!0),ce(je,null,qt(L(t),s=>(X(),ce(\"div\",{key:s.id},[vt(n.$slots,\"default\",{data:s})]))),128))]),_:3})]))}}),bp=Symbol(\"loading\");function w8(){let e;const t=Fe(!1);return{loading:ue(()=>t.value),start(){e=setTimeout(()=>{t.value=!0},500)},stop(){e&&(clearTimeout(e),e=void 0),t.value=!1},install(r){const n=this;r.provide(bp,n)}}}function B8(){return ft(bp)}const F8=\"info\",D8=\"bottom-right\",T8=3e3,Cp=Symbol(\"notification\"),k8=()=>{const e=ft(Cp);return e||console.warn(\"Did you forget to load notification plugin?\"),e};function P8(){const e=Fe({}),t=Fe(D8),r=Fe({type:F8,duration:T8}),n=ue(()=>r.value),i=ue(()=>t.value),s=ue(()=>e.value),o=ue(()=>Sn(e.value).sort((h,p)=>h.createdAt.getTime()-p.createdAt.getTime()));function a(h){const p=Ql(),g=()=>l(p),{title:x,type:m=r.value.type,desc:v=\"\",duration:y=r.value.duration,permanent:_=!1,onClick:A,actions:E=[]}=h,B=!0,S=new Date;return{id:p,title:x,type:m,desc:v,duration:y,permanent:E.length?!0:_,onClick:A!==void 0?()=>{g(),A()}:void 0,show:B,createdAt:S,close:g,actions:E.map(T=>({...T,run:()=>{g(),T.run()}}))}}function u(h){const p=a(h);return e.value[p.id]=p,p.permanent||(p.token=setTimeout(()=>{e.value[p.id].show=!1,delete e.value[p.id].token},p.duration)),p.id}function l(h){const p=e.value[h];p&&(p.token&&clearTimeout(p.token),e.value[h].show=!1,delete e.value[h].token)}function c(){o.value.forEach(h=>l(h.id))}function d(h={}){r.value={...r.value,...h}}function f(h){t.value=h}return{notifications:s,notificationList:o,defaults:n,position:i,notify:u,close:l,closeAll:c,setDefaults:d,setPosition:f,install(h){const p=this;h.provide(Cp,p)}}}const O8=Se({__name:\"FadeTransitionGroup\",props:{duration:{default:200}},setup(e){It(a=>({\"11eb8e19\":o.value}));const t=e;function r(a,u){Ue({targets:a,opacity:1,duration:t.duration,easing:\"easeInOutSine\",complete:u})}function n(a){Ue.set(a,{opacity:0})}function i(a,u){Ue({targets:a,opacity:0,duration:t.duration,easing:\"easeInOutSine\",complete:u})}const s=Kn(),o=ue(()=>`all ${t.duration}ms`);return(a,u)=>(X(),Re(_h,uh({onEnter:r,onBeforeEnter:n,onLeave:i,\"move-class\":\"notification-fade-move\"},L(s).attrs),{default:Te(()=>[vt(a.$slots,\"default\")]),_:3},16))}});const R8=Se({__name:\"Notification\",props:{zIndex:{},type:{default:\"fixed\"}},setup(e){const t=k8(),r=ue(()=>t.notificationList.value.filter(s=>s.show)),n=ue(()=>t.position.value),i=document.createElement(\"div\");return i.id=\"notifications\",document.body.appendChild(i),(s,o)=>(X(),Re($s,{to:\"#notifications\"},[oe(O8,{tag:\"div\",class:Jt([\"h-notification flex\",[s.type,n.value]]),style:tt({zIndex:s.zIndex})},{default:Te(()=>[(X(!0),ce(je,null,qt(r.value,a=>(X(),ce(\"div\",{key:a.id},[vt(s.$slots,\"default\",{item:a},void 0,!0)]))),128))]),_:3},8,[\"class\",\"style\"])]))}});var M8=Ot(R8,[[\"__scopeId\",\"data-v-08494d94\"]]);const L8=\"modulepreload\",zc={},$8=\"/\",$n=function(t,r){return!r||r.length===0?t():Promise.all(r.map(n=>{if(n=`${$8}${n}`,n in zc)return;zc[n]=!0;const i=n.endsWith(\".css\"),s=i?'[rel=\"stylesheet\"]':\"\";if(document.querySelector(`link[href=\"${n}\"]${s}`))return;const o=document.createElement(\"link\");if(o.rel=i?\"stylesheet\":L8,i||(o.as=\"script\",o.crossOrigin=\"\"),o.href=n,document.head.appendChild(o),i)return new Promise((a,u)=>{o.addEventListener(\"load\",a),o.addEventListener(\"error\",()=>u(new Error(`Unable to preload CSS for ${n}`)))})})).then(()=>t())};/*!\n * pinia v2.1.7\n * (c) 2023 Eduardo San Martin Morote\n * @license MIT\n */let Ap;const _a=e=>Ap=e,Sp=Symbol();function ju(e){return e&&typeof e==\"object\"&&Object.prototype.toString.call(e)===\"[object Object]\"&&typeof e.toJSON!=\"function\"}var ts;(function(e){e.direct=\"direct\",e.patchObject=\"patch object\",e.patchFunction=\"patch function\"})(ts||(ts={}));function j8(){const e=fd(!0),t=e.run(()=>Fe({}));let r=[],n=[];const i=na({install(s){_a(i),i._a=s,s.provide(Sp,i),s.config.globalProperties.$pinia=i,n.forEach(o=>r.push(o)),n=[]},use(s){return!this._a&&!uE?n.push(s):r.push(s),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return i}const wp=()=>{};function Kc(e,t,r,n=wp){e.push(t);const i=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),n())};return!r&&hl()&&dd(i),i}function Zn(e,...t){e.slice().forEach(r=>{r(...t)})}const V8=e=>e();function Vu(e,t){e instanceof Map&&t instanceof Map&&t.forEach((r,n)=>e.set(n,r)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const n=t[r],i=e[r];ju(i)&&ju(n)&&e.hasOwnProperty(r)&&!pt(n)&&!On(n)?e[r]=Vu(i,n):e[r]=n}return e}const U8=Symbol();function W8(e){return!ju(e)||!e.hasOwnProperty(U8)}const{assign:Gr}=Object;function z8(e){return!!(pt(e)&&e.effect)}function K8(e,t,r,n){const{state:i,actions:s,getters:o}=t,a=r.state.value[e];let u;function l(){a||(r.state.value[e]=i?i():{});const c=zn(r.state.value[e]);return Gr(c,s,Object.keys(o||{}).reduce((d,f)=>(d[f]=na(ue(()=>{_a(r);const h=r._s.get(e);return o[f].call(h,h)})),d),{}))}return u=Bp(e,l,t,r,n,!0),u}function Bp(e,t,r={},n,i,s){let o;const a=Gr({actions:{}},r),u={deep:!0};let l,c,d=[],f=[],h;const p=n.state.value[e];!s&&!p&&(n.state.value[e]={}),Fe({});let g;function x(S){let T;l=c=!1,typeof S==\"function\"?(S(n.state.value[e]),T={type:ts.patchFunction,storeId:e,events:h}):(Vu(n.state.value[e],S),T={type:ts.patchObject,payload:S,storeId:e,events:h});const C=g=Symbol();Ai().then(()=>{g===C&&(l=!0)}),c=!0,Zn(d,T,n.state.value[e])}const m=s?function(){const{state:T}=r,C=T?T():{};this.$patch(w=>{Gr(w,C)})}:wp;function v(){o.stop(),d=[],f=[],n._s.delete(e)}function y(S,T){return function(){_a(n);const C=Array.from(arguments),w=[],D=[];function k(P){w.push(P)}function U(P){D.push(P)}Zn(f,{args:C,name:S,store:A,after:k,onError:U});let j;try{j=T.apply(this&&this.$id===e?this:A,C)}catch(P){throw Zn(D,P),P}return j instanceof Promise?j.then(P=>(Zn(w,P),P)).catch(P=>(Zn(D,P),Promise.reject(P))):(Zn(w,j),j)}}const _={_p:n,$id:e,$onAction:Kc.bind(null,f),$patch:x,$reset:m,$subscribe(S,T={}){const C=Kc(d,S,T.detached,()=>w()),w=o.run(()=>yt(()=>n.state.value[e],D=>{(T.flush===\"sync\"?c:l)&&S({storeId:e,type:ts.direct,events:h},D)},Gr({},u,T)));return C},$dispose:v},A=Ci(_);n._s.set(e,A);const B=(n._a&&n._a.runWithContext||V8)(()=>n._e.run(()=>(o=fd()).run(t)));for(const S in B){const T=B[S];if(pt(T)&&!z8(T)||On(T))s||(p&&W8(T)&&(pt(T)?T.value=p[S]:Vu(T,p[S])),n.state.value[e][S]=T);else if(typeof T==\"function\"){const C=y(S,T);B[S]=C,a.actions[S]=T}}return Gr(A,B),Gr(ze(A),B),Object.defineProperty(A,\"$state\",{get:()=>n.state.value[e],set:S=>{x(T=>{Gr(T,S)})}}),n._p.forEach(S=>{Gr(A,o.run(()=>S({store:A,app:n._a,pinia:n,options:a})))}),p&&s&&r.hydrate&&r.hydrate(A.$state,p),l=!0,c=!0,A}function Di(e,t,r){let n,i;const s=typeof t==\"function\";typeof e==\"string\"?(n=e,i=s?r:t):(i=e,n=e.id);function o(a,u){const l=Hx();return a=a||(l?ft(Sp,null):null),a&&_a(a),a=Ap,a._s.has(n)||(s?Bp(n,t,i,a):K8(n,i,a)),a._s.get(n)}return o.$id=n,o}/*!\n * cookie\n * Copyright(c) 2012-2014 Roman Shtylman\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */var Fp=Y8,qc=G8,q8=decodeURIComponent,Z8=encodeURIComponent,to=/^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/;function Y8(e,t){if(typeof e!=\"string\")throw new TypeError(\"argument str must be a string\");for(var r={},n=t||{},i=e.split(\";\"),s=n.decode||q8,o=0;o<i.length;o++){var a=i[o],u=a.indexOf(\"=\");if(!(u<0)){var l=a.substring(0,u).trim();if(r[l]==null){var c=a.substring(u+1,a.length).trim();c[0]==='\"'&&(c=c.slice(1,-1)),r[l]=Q8(c,s)}}}return r}function G8(e,t,r){var n=r||{},i=n.encode||Z8;if(typeof i!=\"function\")throw new TypeError(\"option encode is invalid\");if(!to.test(e))throw new TypeError(\"argument name is invalid\");var s=i(t);if(s&&!to.test(s))throw new TypeError(\"argument val is invalid\");var o=e+\"=\"+s;if(n.maxAge!=null){var a=n.maxAge-0;if(isNaN(a)||!isFinite(a))throw new TypeError(\"option maxAge is invalid\");o+=\"; Max-Age=\"+Math.floor(a)}if(n.domain){if(!to.test(n.domain))throw new TypeError(\"option domain is invalid\");o+=\"; Domain=\"+n.domain}if(n.path){if(!to.test(n.path))throw new TypeError(\"option path is invalid\");o+=\"; Path=\"+n.path}if(n.expires){if(typeof n.expires.toUTCString!=\"function\")throw new TypeError(\"option expires is invalid\");o+=\"; Expires=\"+n.expires.toUTCString()}if(n.httpOnly&&(o+=\"; HttpOnly\"),n.secure&&(o+=\"; Secure\"),n.sameSite){var u=typeof n.sameSite==\"string\"?n.sameSite.toLowerCase():n.sameSite;switch(u){case!0:o+=\"; SameSite=Strict\";break;case\"lax\":o+=\"; SameSite=Lax\";break;case\"strict\":o+=\"; SameSite=Strict\";break;case\"none\":o+=\"; SameSite=None\";break;default:throw new TypeError(\"option sameSite is invalid\")}}return o}function Q8(e,t){try{return t(e)}catch{return e}}function X8(){return typeof document==\"object\"&&typeof document.cookie==\"string\"}function J8(e,t){return typeof e==\"string\"?Fp(e,t):typeof e==\"object\"&&e!==null?e:{}}function I8(e,t){return typeof t==\"undefined\"&&(t=!e||e[0]!==\"{\"&&e[0]!==\"[\"&&e[0]!=='\"'),!t}function Zc(e,t){t===void 0&&(t={});var r=N8(e);if(I8(r,t.doNotParse))try{return JSON.parse(r)}catch{}return e}function N8(e){return e&&e[0]===\"j\"&&e[1]===\":\"?e.substr(2):e}var Dn=globalThis&&globalThis.__assign||function(){return Dn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Dn.apply(this,arguments)},H8=function(){function e(t,r){var n=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies=J8(t,r),new Promise(function(){n.HAS_DOCUMENT_COOKIE=X8()}).catch(function(){})}return e.prototype._updateBrowserValues=function(t){!this.HAS_DOCUMENT_COOKIE||(this.cookies=Fp(document.cookie,t))},e.prototype._emitChange=function(t){for(var r=0;r<this.changeListeners.length;++r)this.changeListeners[r](t)},e.prototype.get=function(t,r,n){return r===void 0&&(r={}),this._updateBrowserValues(n),Zc(this.cookies[t],r)},e.prototype.getAll=function(t,r){t===void 0&&(t={}),this._updateBrowserValues(r);var n={};for(var i in this.cookies)n[i]=Zc(this.cookies[i],t);return n},e.prototype.set=function(t,r,n){var i;typeof r==\"object\"&&(r=JSON.stringify(r)),this.cookies=Dn(Dn({},this.cookies),(i={},i[t]=r,i)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=qc(t,r,n)),this._emitChange({name:t,value:r,options:n})},e.prototype.remove=function(t,r){var n=r=Dn(Dn({},r),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Dn({},this.cookies),delete this.cookies[t],this.HAS_DOCUMENT_COOKIE&&(document.cookie=qc(t,\"\",n)),this._emitChange({name:t,value:void 0,options:r})},e.prototype.addChangeListener=function(t){this.changeListeners.push(t)},e.prototype.removeChangeListener=function(t){var r=this.changeListeners.indexOf(t);r>=0&&this.changeListeners.splice(r,1)},e}(),e4=H8,t4=Object.defineProperty,Yc=Object.getOwnPropertySymbols,r4=Object.prototype.hasOwnProperty,n4=Object.prototype.propertyIsEnumerable,Gc=(e,t,r)=>t in e?t4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Qc=(e,t)=>{for(var r in t||(t={}))r4.call(t,r)&&Gc(e,r,t[r]);if(Yc)for(var r of Yc(t))n4.call(t,r)&&Gc(e,r,t[r]);return e};function i4(e,{doNotParse:t=!1,autoUpdateDependencies:r=!1}={},n=new e4){const i=r?[...e||[]]:e;let s=n.getAll({doNotParse:!0});const o=Fe(0),a=()=>{const u=n.getAll({doNotParse:!0});s4(i||null,u,s)&&o.value++,s=u};return n.addChangeListener(a),Pl(()=>{n.removeChangeListener(a)}),{get:(...u)=>(r&&i&&!i.includes(u[0])&&i.push(u[0]),o.value,n.get(u[0],Qc({doNotParse:t},u[1]))),getAll:(...u)=>(o.value,n.getAll(Qc({doNotParse:t},u[0]))),set:(...u)=>n.set(...u),remove:(...u)=>n.remove(...u),addChangeListener:(...u)=>n.addChangeListener(...u),removeChangeListener:(...u)=>n.removeChangeListener(...u)}}function s4(e,t,r){if(!e)return!0;for(const n of e)if(t[n]!==r[n])return!0;return!1}const Dp=i4(null,{autoUpdateDependencies:!0}),o4={class:\"text-md mb-4 font-bold flex items-center\"},a4=me(\"span\",null,\"\\u4F60\\u7684 hexo \\u62A5\\u9519\\u4E86\",-1),Xc=Se({__name:\"HHexoInitFailModal\",props:{text:{}},setup(e){const t=Pt();return(r,n)=>(X(),ce(\"div\",{class:\"p-4 rounded-md relative flex flex-col\",style:tt([{width:\"960px\",\"max-width\":\"calc(100vw - 100px) !important\",height:\"640px\",\"max-height\":\"calc(100vh - 100px) !important\",\"letter-spacing\":\"0.02em\"},{backgroundColor:L(t).backgroundColorPrimary}])},[me(\"div\",o4,[oe(L(et),{name:L(Ve).Error,class:\"mr-2\"},null,8,[\"name\"]),a4]),me(\"pre\",{style:tt({color:L(t).colorError}),class:\"flex-1 font-mono font-bold p-4 rounded-md overflow-auto bg-black\"},Qe(r.text),5)],4))}}),u4=Se({__name:\"ModalContainer\",setup(e){const{modals:t}=c4(),r=document.createElement(\"div\");return r.id=\"modal-container\",document.body.appendChild(r),(n,i)=>(X(),Re($s,{to:\"#modal-container\"},[oe(Gl,null,{default:Te(()=>[(X(!0),ce(je,null,qt(L(t),s=>(X(),Re(wx(s.component),{key:s.id,onClick:i[0]||(i[0]=Si(()=>{},[\"stop\"])),close:s.close},null,8,[\"close\"]))),128))]),_:1})]))}}),Tp=Symbol(\"modal-controller\");function l4(){const e=Fe([]);function t(r){const n=Ql(),i={id:n,component:na(r),close:()=>{e.value=e.value.filter(s=>s.id!==n)}};return e.value.push(i),i}return{modals:e,create:t,install(r){const n=this;r.provide(Tp,n)}}}function c4(){return ft(Tp)}var Xl=l4();function f4(e){Xl.create(Se({name:\"HErrorInfo\",components:{HHexoInitFailModal:Xc,HBaseModal:Ro},props:{close:Function},render(){return bt(Ro,{onOnClose:this.close},()=>bt(Xc,{text:e}))}}))}var Jl={exports:{}},kp=function(t,r){return function(){for(var i=new Array(arguments.length),s=0;s<i.length;s++)i[s]=arguments[s];return t.apply(r,i)}},d4=kp,yn=Object.prototype.toString;function Il(e){return Array.isArray(e)}function Uu(e){return typeof e==\"undefined\"}function h4(e){return e!==null&&!Uu(e)&&e.constructor!==null&&!Uu(e.constructor)&&typeof e.constructor.isBuffer==\"function\"&&e.constructor.isBuffer(e)}function Pp(e){return yn.call(e)===\"[object ArrayBuffer]\"}function p4(e){return yn.call(e)===\"[object FormData]\"}function v4(e){var t;return typeof ArrayBuffer!=\"undefined\"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Pp(e.buffer),t}function g4(e){return typeof e==\"string\"}function x4(e){return typeof e==\"number\"}function Op(e){return e!==null&&typeof e==\"object\"}function xo(e){if(yn.call(e)!==\"[object Object]\")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function y4(e){return yn.call(e)===\"[object Date]\"}function E4(e){return yn.call(e)===\"[object File]\"}function _4(e){return yn.call(e)===\"[object Blob]\"}function Rp(e){return yn.call(e)===\"[object Function]\"}function m4(e){return Op(e)&&Rp(e.pipe)}function b4(e){return yn.call(e)===\"[object URLSearchParams]\"}function C4(e){return e.trim?e.trim():e.replace(/^\\s+|\\s+$/g,\"\")}function A4(){return typeof navigator!=\"undefined\"&&(navigator.product===\"ReactNative\"||navigator.product===\"NativeScript\"||navigator.product===\"NS\")?!1:typeof window!=\"undefined\"&&typeof document!=\"undefined\"}function Nl(e,t){if(!(e===null||typeof e==\"undefined\"))if(typeof e!=\"object\"&&(e=[e]),Il(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function Wu(){var e={};function t(i,s){xo(e[s])&&xo(i)?e[s]=Wu(e[s],i):xo(i)?e[s]=Wu({},i):Il(i)?e[s]=i.slice():e[s]=i}for(var r=0,n=arguments.length;r<n;r++)Nl(arguments[r],t);return e}function S4(e,t,r){return Nl(t,function(i,s){r&&typeof i==\"function\"?e[s]=d4(i,r):e[s]=i}),e}function w4(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}var $t={isArray:Il,isArrayBuffer:Pp,isBuffer:h4,isFormData:p4,isArrayBufferView:v4,isString:g4,isNumber:x4,isObject:Op,isPlainObject:xo,isUndefined:Uu,isDate:y4,isFile:E4,isBlob:_4,isFunction:Rp,isStream:m4,isURLSearchParams:b4,isStandardBrowserEnv:A4,forEach:Nl,merge:Wu,extend:S4,trim:C4,stripBOM:w4},Yn=$t;function Jc(e){return encodeURIComponent(e).replace(/%3A/gi,\":\").replace(/%24/g,\"$\").replace(/%2C/gi,\",\").replace(/%20/g,\"+\").replace(/%5B/gi,\"[\").replace(/%5D/gi,\"]\")}var Mp=function(t,r,n){if(!r)return t;var i;if(n)i=n(r);else if(Yn.isURLSearchParams(r))i=r.toString();else{var s=[];Yn.forEach(r,function(u,l){u===null||typeof u==\"undefined\"||(Yn.isArray(u)?l=l+\"[]\":u=[u],Yn.forEach(u,function(d){Yn.isDate(d)?d=d.toISOString():Yn.isObject(d)&&(d=JSON.stringify(d)),s.push(Jc(l)+\"=\"+Jc(d))}))}),i=s.join(\"&\")}if(i){var o=t.indexOf(\"#\");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf(\"?\")===-1?\"?\":\"&\")+i}return t},B4=$t;function ma(){this.handlers=[]}ma.prototype.use=function(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1};ma.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};ma.prototype.forEach=function(t){B4.forEach(this.handlers,function(n){n!==null&&t(n)})};var F4=ma,D4=$t,T4=function(t,r){D4.forEach(t,function(i,s){s!==r&&s.toUpperCase()===r.toUpperCase()&&(t[r]=i,delete t[s])})},Lp=function(t,r,n,i,s){return t.config=r,n&&(t.code=n),t.request=i,t.response=s,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t},$p={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},k4=Lp,jp=function(t,r,n,i,s){var o=new Error(t);return k4(o,r,n,i,s)},P4=jp,O4=function(t,r,n){var i=n.config.validateStatus;!n.status||!i||i(n.status)?t(n):r(P4(\"Request failed with status code \"+n.status,n.config,null,n.request,n))},ro=$t,R4=ro.isStandardBrowserEnv()?function(){return{write:function(r,n,i,s,o,a){var u=[];u.push(r+\"=\"+encodeURIComponent(n)),ro.isNumber(i)&&u.push(\"expires=\"+new Date(i).toGMTString()),ro.isString(s)&&u.push(\"path=\"+s),ro.isString(o)&&u.push(\"domain=\"+o),a===!0&&u.push(\"secure\"),document.cookie=u.join(\"; \")},read:function(r){var n=document.cookie.match(new RegExp(\"(^|;\\\\s*)(\"+r+\")=([^;]*)\"));return n?decodeURIComponent(n[3]):null},remove:function(r){this.write(r,\"\",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),M4=function(t){return/^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(t)},L4=function(t,r){return r?t.replace(/\\/+$/,\"\")+\"/\"+r.replace(/^\\/+/,\"\"):t},$4=M4,j4=L4,V4=function(t,r){return t&&!$4(r)?j4(t,r):r},Ia=$t,U4=[\"age\",\"authorization\",\"content-length\",\"content-type\",\"etag\",\"expires\",\"from\",\"host\",\"if-modified-since\",\"if-unmodified-since\",\"last-modified\",\"location\",\"max-forwards\",\"proxy-authorization\",\"referer\",\"retry-after\",\"user-agent\"],W4=function(t){var r={},n,i,s;return t&&Ia.forEach(t.split(`\n`),function(a){if(s=a.indexOf(\":\"),n=Ia.trim(a.substr(0,s)).toLowerCase(),i=Ia.trim(a.substr(s+1)),n){if(r[n]&&U4.indexOf(n)>=0)return;n===\"set-cookie\"?r[n]=(r[n]?r[n]:[]).concat([i]):r[n]=r[n]?r[n]+\", \"+i:i}}),r},Ic=$t,z4=Ic.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement(\"a\"),n;function i(s){var o=s;return t&&(r.setAttribute(\"href\",o),o=r.href),r.setAttribute(\"href\",o),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,\"\"):\"\",host:r.host,search:r.search?r.search.replace(/^\\?/,\"\"):\"\",hash:r.hash?r.hash.replace(/^#/,\"\"):\"\",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)===\"/\"?r.pathname:\"/\"+r.pathname}}return n=i(window.location.href),function(o){var a=Ic.isString(o)?i(o):o;return a.protocol===n.protocol&&a.host===n.host}}():function(){return function(){return!0}}();function Hl(e){this.message=e}Hl.prototype.toString=function(){return\"Cancel\"+(this.message?\": \"+this.message:\"\")};Hl.prototype.__CANCEL__=!0;var ba=Hl,no=$t,K4=O4,q4=R4,Z4=Mp,Y4=V4,G4=W4,Q4=z4,Na=jp,X4=$p,J4=ba,Nc=function(t){return new Promise(function(n,i){var s=t.data,o=t.headers,a=t.responseType,u;function l(){t.cancelToken&&t.cancelToken.unsubscribe(u),t.signal&&t.signal.removeEventListener(\"abort\",u)}no.isFormData(s)&&delete o[\"Content-Type\"];var c=new XMLHttpRequest;if(t.auth){var d=t.auth.username||\"\",f=t.auth.password?unescape(encodeURIComponent(t.auth.password)):\"\";o.Authorization=\"Basic \"+btoa(d+\":\"+f)}var h=Y4(t.baseURL,t.url);c.open(t.method.toUpperCase(),Z4(h,t.params,t.paramsSerializer),!0),c.timeout=t.timeout;function p(){if(!!c){var x=\"getAllResponseHeaders\"in c?G4(c.getAllResponseHeaders()):null,m=!a||a===\"text\"||a===\"json\"?c.responseText:c.response,v={data:m,status:c.status,statusText:c.statusText,headers:x,config:t,request:c};K4(function(_){n(_),l()},function(_){i(_),l()},v),c=null}}if(\"onloadend\"in c?c.onloadend=p:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf(\"file:\")===0)||setTimeout(p)},c.onabort=function(){!c||(i(Na(\"Request aborted\",t,\"ECONNABORTED\",c)),c=null)},c.onerror=function(){i(Na(\"Network Error\",t,null,c)),c=null},c.ontimeout=function(){var m=t.timeout?\"timeout of \"+t.timeout+\"ms exceeded\":\"timeout exceeded\",v=t.transitional||X4;t.timeoutErrorMessage&&(m=t.timeoutErrorMessage),i(Na(m,t,v.clarifyTimeoutError?\"ETIMEDOUT\":\"ECONNABORTED\",c)),c=null},no.isStandardBrowserEnv()){var g=(t.withCredentials||Q4(h))&&t.xsrfCookieName?q4.read(t.xsrfCookieName):void 0;g&&(o[t.xsrfHeaderName]=g)}\"setRequestHeader\"in c&&no.forEach(o,function(m,v){typeof s==\"undefined\"&&v.toLowerCase()===\"content-type\"?delete o[v]:c.setRequestHeader(v,m)}),no.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),a&&a!==\"json\"&&(c.responseType=t.responseType),typeof t.onDownloadProgress==\"function\"&&c.addEventListener(\"progress\",t.onDownloadProgress),typeof t.onUploadProgress==\"function\"&&c.upload&&c.upload.addEventListener(\"progress\",t.onUploadProgress),(t.cancelToken||t.signal)&&(u=function(x){!c||(i(!x||x&&x.type?new J4(\"canceled\"):x),c.abort(),c=null)},t.cancelToken&&t.cancelToken.subscribe(u),t.signal&&(t.signal.aborted?u():t.signal.addEventListener(\"abort\",u))),s||(s=null),c.send(s)})},_t=$t,Hc=T4,I4=Lp,N4=$p,H4={\"Content-Type\":\"application/x-www-form-urlencoded\"};function ef(e,t){!_t.isUndefined(e)&&_t.isUndefined(e[\"Content-Type\"])&&(e[\"Content-Type\"]=t)}function e5(){var e;return(typeof XMLHttpRequest!=\"undefined\"||typeof process!=\"undefined\"&&Object.prototype.toString.call(process)===\"[object process]\")&&(e=Nc),e}function t5(e,t,r){if(_t.isString(e))try{return(t||JSON.parse)(e),_t.trim(e)}catch(n){if(n.name!==\"SyntaxError\")throw n}return(r||JSON.stringify)(e)}var Ca={transitional:N4,adapter:e5(),transformRequest:[function(t,r){return Hc(r,\"Accept\"),Hc(r,\"Content-Type\"),_t.isFormData(t)||_t.isArrayBuffer(t)||_t.isBuffer(t)||_t.isStream(t)||_t.isFile(t)||_t.isBlob(t)?t:_t.isArrayBufferView(t)?t.buffer:_t.isURLSearchParams(t)?(ef(r,\"application/x-www-form-urlencoded;charset=utf-8\"),t.toString()):_t.isObject(t)||r&&r[\"Content-Type\"]===\"application/json\"?(ef(r,\"application/json\"),t5(t)):t}],transformResponse:[function(t){var r=this.transitional||Ca.transitional,n=r&&r.silentJSONParsing,i=r&&r.forcedJSONParsing,s=!n&&this.responseType===\"json\";if(s||i&&_t.isString(t)&&t.length)try{return JSON.parse(t)}catch(o){if(s)throw o.name===\"SyntaxError\"?I4(o,this,\"E_JSON_PARSE\"):o}return t}],timeout:0,xsrfCookieName:\"XSRF-TOKEN\",xsrfHeaderName:\"X-XSRF-TOKEN\",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:\"application/json, text/plain, */*\"}}};_t.forEach([\"delete\",\"get\",\"head\"],function(t){Ca.headers[t]={}});_t.forEach([\"post\",\"put\",\"patch\"],function(t){Ca.headers[t]=_t.merge(H4)});var e0=Ca,r5=$t,n5=e0,i5=function(t,r,n){var i=this||n5;return r5.forEach(n,function(o){t=o.call(i,t,r)}),t},Vp=function(t){return!!(t&&t.__CANCEL__)},tf=$t,Ha=i5,s5=Vp,o5=e0,a5=ba;function eu(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new a5(\"canceled\")}var u5=function(t){eu(t),t.headers=t.headers||{},t.data=Ha.call(t,t.data,t.headers,t.transformRequest),t.headers=tf.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),tf.forEach([\"delete\",\"get\",\"head\",\"post\",\"put\",\"patch\",\"common\"],function(i){delete t.headers[i]});var r=t.adapter||o5.adapter;return r(t).then(function(i){return eu(t),i.data=Ha.call(t,i.data,i.headers,t.transformResponse),i},function(i){return s5(i)||(eu(t),i&&i.response&&(i.response.data=Ha.call(t,i.response.data,i.response.headers,t.transformResponse))),Promise.reject(i)})},Vt=$t,Up=function(t,r){r=r||{};var n={};function i(c,d){return Vt.isPlainObject(c)&&Vt.isPlainObject(d)?Vt.merge(c,d):Vt.isPlainObject(d)?Vt.merge({},d):Vt.isArray(d)?d.slice():d}function s(c){if(Vt.isUndefined(r[c])){if(!Vt.isUndefined(t[c]))return i(void 0,t[c])}else return i(t[c],r[c])}function o(c){if(!Vt.isUndefined(r[c]))return i(void 0,r[c])}function a(c){if(Vt.isUndefined(r[c])){if(!Vt.isUndefined(t[c]))return i(void 0,t[c])}else return i(void 0,r[c])}function u(c){if(c in r)return i(t[c],r[c]);if(c in t)return i(void 0,t[c])}var l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u};return Vt.forEach(Object.keys(t).concat(Object.keys(r)),function(d){var f=l[d]||s,h=f(d);Vt.isUndefined(h)&&f!==u||(n[d]=h)}),n},Wp={version:\"0.26.1\"},l5=Wp.version,t0={};[\"object\",\"boolean\",\"number\",\"function\",\"string\",\"symbol\"].forEach(function(e,t){t0[e]=function(n){return typeof n===e||\"a\"+(t<1?\"n \":\" \")+e}});var rf={};t0.transitional=function(t,r,n){function i(s,o){return\"[Axios v\"+l5+\"] Transitional option '\"+s+\"'\"+o+(n?\". \"+n:\"\")}return function(s,o,a){if(t===!1)throw new Error(i(o,\" has been removed\"+(r?\" in \"+r:\"\")));return r&&!rf[o]&&(rf[o]=!0,console.warn(i(o,\" has been deprecated since v\"+r+\" and will be removed in the near future\"))),t?t(s,o,a):!0}};function c5(e,t,r){if(typeof e!=\"object\")throw new TypeError(\"options must be an object\");for(var n=Object.keys(e),i=n.length;i-- >0;){var s=n[i],o=t[s];if(o){var a=e[s],u=a===void 0||o(a,s,e);if(u!==!0)throw new TypeError(\"option \"+s+\" must be \"+u);continue}if(r!==!0)throw Error(\"Unknown option \"+s)}}var f5={assertOptions:c5,validators:t0},zp=$t,d5=Mp,nf=F4,sf=u5,Aa=Up,Kp=f5,Gn=Kp.validators;function zs(e){this.defaults=e,this.interceptors={request:new nf,response:new nf}}zs.prototype.request=function(t,r){typeof t==\"string\"?(r=r||{},r.url=t):r=t||{},r=Aa(this.defaults,r),r.method?r.method=r.method.toLowerCase():this.defaults.method?r.method=this.defaults.method.toLowerCase():r.method=\"get\";var n=r.transitional;n!==void 0&&Kp.assertOptions(n,{silentJSONParsing:Gn.transitional(Gn.boolean),forcedJSONParsing:Gn.transitional(Gn.boolean),clarifyTimeoutError:Gn.transitional(Gn.boolean)},!1);var i=[],s=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen==\"function\"&&h.runWhen(r)===!1||(s=s&&h.synchronous,i.unshift(h.fulfilled,h.rejected))});var o=[];this.interceptors.response.forEach(function(h){o.push(h.fulfilled,h.rejected)});var a;if(!s){var u=[sf,void 0];for(Array.prototype.unshift.apply(u,i),u=u.concat(o),a=Promise.resolve(r);u.length;)a=a.then(u.shift(),u.shift());return a}for(var l=r;i.length;){var c=i.shift(),d=i.shift();try{l=c(l)}catch(f){d(f);break}}try{a=sf(l)}catch(f){return Promise.reject(f)}for(;o.length;)a=a.then(o.shift(),o.shift());return a};zs.prototype.getUri=function(t){return t=Aa(this.defaults,t),d5(t.url,t.params,t.paramsSerializer).replace(/^\\?/,\"\")};zp.forEach([\"delete\",\"get\",\"head\",\"options\"],function(t){zs.prototype[t]=function(r,n){return this.request(Aa(n||{},{method:t,url:r,data:(n||{}).data}))}});zp.forEach([\"post\",\"put\",\"patch\"],function(t){zs.prototype[t]=function(r,n,i){return this.request(Aa(i||{},{method:t,url:r,data:n}))}});var h5=zs,p5=ba;function gi(e){if(typeof e!=\"function\")throw new TypeError(\"executor must be a function.\");var t;this.promise=new Promise(function(i){t=i});var r=this;this.promise.then(function(n){if(!!r._listeners){var i,s=r._listeners.length;for(i=0;i<s;i++)r._listeners[i](n);r._listeners=null}}),this.promise.then=function(n){var i,s=new Promise(function(o){r.subscribe(o),i=o}).then(n);return s.cancel=function(){r.unsubscribe(i)},s},e(function(i){r.reason||(r.reason=new p5(i),t(r.reason))})}gi.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};gi.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};gi.prototype.unsubscribe=function(t){if(!!this._listeners){var r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}};gi.source=function(){var t,r=new gi(function(i){t=i});return{token:r,cancel:t}};var v5=gi,g5=function(t){return function(n){return t.apply(null,n)}},x5=$t,y5=function(t){return x5.isObject(t)&&t.isAxiosError===!0},of=$t,E5=kp,yo=h5,_5=Up,m5=e0;function qp(e){var t=new yo(e),r=E5(yo.prototype.request,t);return of.extend(r,yo.prototype,t),of.extend(r,t),r.create=function(i){return qp(_5(e,i))},r}var Er=qp(m5);Er.Axios=yo;Er.Cancel=ba;Er.CancelToken=v5;Er.isCancel=Vp;Er.VERSION=Wp.version;Er.all=function(t){return Promise.all(t)};Er.spread=g5;Er.isAxiosError=y5;Jl.exports=Er;Jl.exports.default=Er;var af=Jl.exports,Zp={exports:{}},$e={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(we,function(){var r=r||function(n,i){var s;if(typeof window!=\"undefined\"&&window.crypto&&(s=window.crypto),typeof self!=\"undefined\"&&self.crypto&&(s=self.crypto),typeof globalThis!=\"undefined\"&&globalThis.crypto&&(s=globalThis.crypto),!s&&typeof window!=\"undefined\"&&window.msCrypto&&(s=window.msCrypto),!s&&typeof we!=\"undefined\"&&we.crypto&&(s=we.crypto),!s&&typeof Zb==\"function\")try{s=require(\"crypto\")}catch{}var o=function(){if(s){if(typeof s.getRandomValues==\"function\")try{return s.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof s.randomBytes==\"function\")try{return s.randomBytes(4).readInt32LE()}catch{}}throw new Error(\"Native crypto module could not be used to get secure random number.\")},a=Object.create||function(){function v(){}return function(y){var _;return v.prototype=y,_=new v,v.prototype=null,_}}(),u={},l=u.lib={},c=l.Base=function(){return{extend:function(v){var y=a(this);return v&&y.mixIn(v),(!y.hasOwnProperty(\"init\")||this.init===y.init)&&(y.init=function(){y.$super.init.apply(this,arguments)}),y.init.prototype=y,y.$super=this,y},create:function(){var v=this.extend();return v.init.apply(v,arguments),v},init:function(){},mixIn:function(v){for(var y in v)v.hasOwnProperty(y)&&(this[y]=v[y]);v.hasOwnProperty(\"toString\")&&(this.toString=v.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),d=l.WordArray=c.extend({init:function(v,y){v=this.words=v||[],y!=i?this.sigBytes=y:this.sigBytes=v.length*4},toString:function(v){return(v||h).stringify(this)},concat:function(v){var y=this.words,_=v.words,A=this.sigBytes,E=v.sigBytes;if(this.clamp(),A%4)for(var B=0;B<E;B++){var S=_[B>>>2]>>>24-B%4*8&255;y[A+B>>>2]|=S<<24-(A+B)%4*8}else for(var T=0;T<E;T+=4)y[A+T>>>2]=_[T>>>2];return this.sigBytes+=E,this},clamp:function(){var v=this.words,y=this.sigBytes;v[y>>>2]&=4294967295<<32-y%4*8,v.length=n.ceil(y/4)},clone:function(){var v=c.clone.call(this);return v.words=this.words.slice(0),v},random:function(v){for(var y=[],_=0;_<v;_+=4)y.push(o());return new d.init(y,v)}}),f=u.enc={},h=f.Hex={stringify:function(v){for(var y=v.words,_=v.sigBytes,A=[],E=0;E<_;E++){var B=y[E>>>2]>>>24-E%4*8&255;A.push((B>>>4).toString(16)),A.push((B&15).toString(16))}return A.join(\"\")},parse:function(v){for(var y=v.length,_=[],A=0;A<y;A+=2)_[A>>>3]|=parseInt(v.substr(A,2),16)<<24-A%8*4;return new d.init(_,y/2)}},p=f.Latin1={stringify:function(v){for(var y=v.words,_=v.sigBytes,A=[],E=0;E<_;E++){var B=y[E>>>2]>>>24-E%4*8&255;A.push(String.fromCharCode(B))}return A.join(\"\")},parse:function(v){for(var y=v.length,_=[],A=0;A<y;A++)_[A>>>2]|=(v.charCodeAt(A)&255)<<24-A%4*8;return new d.init(_,y)}},g=f.Utf8={stringify:function(v){try{return decodeURIComponent(escape(p.stringify(v)))}catch{throw new Error(\"Malformed UTF-8 data\")}},parse:function(v){return p.parse(unescape(encodeURIComponent(v)))}},x=l.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new d.init,this._nDataBytes=0},_append:function(v){typeof v==\"string\"&&(v=g.parse(v)),this._data.concat(v),this._nDataBytes+=v.sigBytes},_process:function(v){var y,_=this._data,A=_.words,E=_.sigBytes,B=this.blockSize,S=B*4,T=E/S;v?T=n.ceil(T):T=n.max((T|0)-this._minBufferSize,0);var C=T*B,w=n.min(C*4,E);if(C){for(var D=0;D<C;D+=B)this._doProcessBlock(A,D);y=A.splice(0,C),_.sigBytes-=w}return new d.init(y,w)},clone:function(){var v=c.clone.call(this);return v._data=this._data.clone(),v},_minBufferSize:0});l.Hasher=x.extend({cfg:c.extend(),init:function(v){this.cfg=this.cfg.extend(v),this.reset()},reset:function(){x.reset.call(this),this._doReset()},update:function(v){return this._append(v),this._process(),this},finalize:function(v){v&&this._append(v);var y=this._doFinalize();return y},blockSize:16,_createHelper:function(v){return function(y,_){return new v.init(_).finalize(y)}},_createHmacHelper:function(v){return function(y,_){return new m.HMAC.init(v,_).finalize(y)}}});var m=u.algo={};return u}(Math);return r})})($e);var Ks={exports:{}};(function(e,t){(function(r,n){e.exports=n($e.exports)})(we,function(r){return function(n){var i=r,s=i.lib,o=s.Base,a=s.WordArray,u=i.x64={};u.Word=o.extend({init:function(l,c){this.high=l,this.low=c}}),u.WordArray=o.extend({init:function(l,c){l=this.words=l||[],c!=n?this.sigBytes=c:this.sigBytes=l.length*8},toX32:function(){for(var l=this.words,c=l.length,d=[],f=0;f<c;f++){var h=l[f];d.push(h.high),d.push(h.low)}return a.create(d,this.sigBytes)},clone:function(){for(var l=o.clone.call(this),c=l.words=this.words.slice(0),d=c.length,f=0;f<d;f++)c[f]=c[f].clone();return l}})}(),r})})(Ks);var Yp={exports:{}};(function(e,t){(function(r,n){e.exports=n($e.exports)})(we,function(r){return function(){if(typeof ArrayBuffer==\"function\"){var n=r,i=n.lib,s=i.WordArray,o=s.init,a=s.init=function(u){if(u instanceof ArrayBuffer&&(u=new Uint8Array(u)),(u instanceof Int8Array||typeof Uint8ClampedArray!=\"undefined\"&&u instanceof Uint8ClampedArray||u instanceof Int16Array||u instanceof Uint16Array||u instanceof Int32Array||u instanceof Uint32Array||u instanceof Float32Array||u instanceof Float64Array)&&(u=new Uint8Array(u.buffer,u.byteOffset,u.byteLength)),u instanceof Uint8Array){for(var l=u.byteLength,c=[],d=0;d<l;d++)c[d>>>2]|=u[d]<<24-d%4*8;o.call(this,c,l)}else o.apply(this,arguments)};a.prototype=s}}(),r.lib.WordArray})})(Yp);var Gp={exports:{}};(function(e,t){(function(r,n){e.exports=n($e.exports)})(we,function(r){return function(){var n=r,i=n.lib,s=i.WordArray,o=n.enc;o.Utf16=o.Utf16BE={stringify:function(u){for(var l=u.words,c=u.sigBytes,d=[],f=0;f<c;f+=2){var h=l[f>>>2]>>>16-f%4*8&65535;d.push(String.fromCharCode(h))}return d.join(\"\")},parse:function(u){for(var l=u.length,c=[],d=0;d<l;d++)c[d>>>1]|=u.charCodeAt(d)<<16-d%2*16;return s.create(c,l*2)}},o.Utf16LE={stringify:function(u){for(var l=u.words,c=u.sigBytes,d=[],f=0;f<c;f+=2){var h=a(l[f>>>2]>>>16-f%4*8&65535);d.push(String.fromCharCode(h))}return d.join(\"\")},parse:function(u){for(var l=u.length,c=[],d=0;d<l;d++)c[d>>>1]|=a(u.charCodeAt(d)<<16-d%2*16);return s.create(c,l*2)}};function a(u){return u<<8&4278255360|u>>>8&16711935}}(),r.enc.Utf16})})(Gp);var En={exports:{}};(function(e,t){(function(r,n){e.exports=n($e.exports)})(we,function(r){return function(){var n=r,i=n.lib,s=i.WordArray,o=n.enc;o.Base64={stringify:function(u){var l=u.words,c=u.sigBytes,d=this._map;u.clamp();for(var f=[],h=0;h<c;h+=3)for(var p=l[h>>>2]>>>24-h%4*8&255,g=l[h+1>>>2]>>>24-(h+1)%4*8&255,x=l[h+2>>>2]>>>24-(h+2)%4*8&255,m=p<<16|g<<8|x,v=0;v<4&&h+v*.75<c;v++)f.push(d.charAt(m>>>6*(3-v)&63));var y=d.charAt(64);if(y)for(;f.length%4;)f.push(y);return f.join(\"\")},parse:function(u){var l=u.length,c=this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var f=0;f<c.length;f++)d[c.charCodeAt(f)]=f}var h=c.charAt(64);if(h){var p=u.indexOf(h);p!==-1&&(l=p)}return a(u,l,d)},_map:\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\"};function a(u,l,c){for(var d=[],f=0,h=0;h<l;h++)if(h%4){var p=c[u.charCodeAt(h-1)]<<h%4*2,g=c[u.charCodeAt(h)]>>>6-h%4*2,x=p|g;d[f>>>2]|=x<<24-f%4*8,f++}return s.create(d,f)}}(),r.enc.Base64})})(En);var Qp={exports:{}};(function(e,t){(function(r,n){e.exports=n($e.exports)})(we,function(r){return function(){var n=r,i=n.lib,s=i.WordArray,o=n.enc;o.Base64url={stringify:function(u,l){l===void 0&&(l=!0);var c=u.words,d=u.sigBytes,f=l?this._safe_map:this._map;u.clamp();for(var h=[],p=0;p<d;p+=3)for(var g=c[p>>>2]>>>24-p%4*8&255,x=c[p+1>>>2]>>>24-(p+1)%4*8&255,m=c[p+2>>>2]>>>24-(p+2)%4*8&255,v=g<<16|x<<8|m,y=0;y<4&&p+y*.75<d;y++)h.push(f.charAt(v>>>6*(3-y)&63));var _=f.charAt(64);if(_)for(;h.length%4;)h.push(_);return h.join(\"\")},parse:function(u,l){l===void 0&&(l=!0);var c=u.length,d=l?this._safe_map:this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var h=0;h<d.length;h++)f[d.charCodeAt(h)]=h}var p=d.charAt(64);if(p){var g=u.indexOf(p);g!==-1&&(c=g)}return a(u,c,f)},_map:\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\",_safe_map:\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_\"};function a(u,l,c){for(var d=[],f=0,h=0;h<l;h++)if(h%4){var p=c[u.charCodeAt(h-1)]<<h%4*2,g=c[u.charCodeAt(h)]>>>6-h%4*2,x=p|g;d[f>>>2]|=x<<24-f%4*8,f++}return s.create(d,f)}}(),r.enc.Base64url})})(Qp);var _n={exports:{}};(function(e,t){(function(r,n){e.exports=n($e.exports)})(we,function(r){return function(n){var i=r,s=i.lib,o=s.WordArray,a=s.Hasher,u=i.algo,l=[];(function(){for(var g=0;g<64;g++)l[g]=n.abs(n.sin(g+1))*4294967296|0})();var c=u.MD5=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(g,x){for(var m=0;m<16;m++){var v=x+m,y=g[v];g[v]=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360}var _=this._hash.words,A=g[x+0],E=g[x+1],B=g[x+2],S=g[x+3],T=g[x+4],C=g[x+5],w=g[x+6],D=g[x+7],k=g[x+8],U=g[x+9],j=g[x+10],P=g[x+11],K=g[x+12],V=g[x+13],re=g[x+14],ne=g[x+15],O=_[0],$=_[1],W=_[2],z=_[3];O=d(O,$,W,z,A,7,l[0]),z=d(z,O,$,W,E,12,l[1]),W=d(W,z,O,$,B,17,l[2]),$=d($,W,z,O,S,22,l[3]),O=d(O,$,W,z,T,7,l[4]),z=d(z,O,$,W,C,12,l[5]),W=d(W,z,O,$,w,17,l[6]),$=d($,W,z,O,D,22,l[7]),O=d(O,$,W,z,k,7,l[8]),z=d(z,O,$,W,U,12,l[9]),W=d(W,z,O,$,j,17,l[10]),$=d($,W,z,O,P,22,l[11]),O=d(O,$,W,z,K,7,l[12]),z=d(z,O,$,W,V,12,l[13]),W=d(W,z,O,$,re,17,l[14]),$=d($,W,z,O,ne,22,l[15]),O=f(O,$,W,z,E,5,l[16]),z=f(z,O,$,W,w,9,l[17]),W=f(W,z,O,$,P,14,l[18]),$=f($,W,z,O,A,20,l[19]),O=f(O,$,W,z,C,5,l[20]),z=f(z,O,$,W,j,9,l[21]),W=f(W,z,O,$,ne,14,l[22]),$=f($,W,z,O,T,20,l[23]),O=f(O,$,W,z,U,5,l[24]),z=f(z,O,$,W,re,9,l[25]),W=f(W,z,O,$,S,14,l[26]),$=f($,W,z,O,k,20,l[27]),O=f(O,$,W,z,V,5,l[28]),z=f(z,O,$,W,B,9,l[29]),W=f(W,z,O,$,D,14,l[30]),$=f($,W,z,O,K,20,l[31]),O=h(O,$,W,z,C,4,l[32]),z=h(z,O,$,W,k,11,l[33]),W=h(W,z,O,$,P,16,l[34]),$=h($,W,z,O,re,23,l[35]),O=h(O,$,W,z,E,4,l[36]),z=h(z,O,$,W,T,11,l[37]),W=h(W,z,O,$,D,16,l[38]),$=h($,W,z,O,j,23,l[39]),O=h(O,$,W,z,V,4,l[40]),z=h(z,O,$,W,A,11,l[41]),W=h(W,z,O,$,S,16,l[42]),$=h($,W,z,O,w,23,l[43]),O=h(O,$,W,z,U,4,l[44]),z=h(z,O,$,W,K,11,l[45]),W=h(W,z,O,$,ne,16,l[46]),$=h($,W,z,O,B,23,l[47]),O=p(O,$,W,z,A,6,l[48]),z=p(z,O,$,W,D,10,l[49]),W=p(W,z,O,$,re,15,l[50]),$=p($,W,z,O,C,21,l[51]),O=p(O,$,W,z,K,6,l[52]),z=p(z,O,$,W,S,10,l[53]),W=p(W,z,O,$,j,15,l[54]),$=p($,W,z,O,E,21,l[55]),O=p(O,$,W,z,k,6,l[56]),z=p(z,O,$,W,ne,10,l[57]),W=p(W,z,O,$,w,15,l[58]),$=p($,W,z,O,V,21,l[59]),O=p(O,$,W,z,T,6,l[60]),z=p(z,O,$,W,P,10,l[61]),W=p(W,z,O,$,B,15,l[62]),$=p($,W,z,O,U,21,l[63]),_[0]=_[0]+O|0,_[1]=_[1]+$|0,_[2]=_[2]+W|0,_[3]=_[3]+z|0},_doFinalize:function(){var g=this._data,x=g.words,m=this._nDataBytes*8,v=g.sigBytes*8;x[v>>>5]|=128<<24-v%32;var y=n.floor(m/4294967296),_=m;x[(v+64>>>9<<4)+15]=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,x[(v+64>>>9<<4)+14]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,g.sigBytes=(x.length+1)*4,this._process();for(var A=this._hash,E=A.words,B=0;B<4;B++){var S=E[B];E[B]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360}return A},clone:function(){var g=a.clone.call(this);return g._hash=this._hash.clone(),g}});function d(g,x,m,v,y,_,A){var E=g+(x&m|~x&v)+y+A;return(E<<_|E>>>32-_)+x}function f(g,x,m,v,y,_,A){var E=g+(x&v|m&~v)+y+A;return(E<<_|E>>>32-_)+x}function h(g,x,m,v,y,_,A){var E=g+(x^m^v)+y+A;return(E<<_|E>>>32-_)+x}function p(g,x,m,v,y,_,A){var E=g+(m^(x|~v))+y+A;return(E<<_|E>>>32-_)+x}i.MD5=a._createHelper(c),i.HmacMD5=a._createHmacHelper(c)}(Math),r.MD5})})(_n);var r0={exports:{}};(function(e,t){(function(r,n){e.exports=n($e.exports)})(we,function(r){return function(){var n=r,i=n.lib,s=i.WordArray,o=i.Hasher,a=n.algo,u=[],l=a.SHA1=o.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,d){for(var f=this._hash.words,h=f[0],p=f[1],g=f[2],x=f[3],m=f[4],v=0;v<80;v++){if(v<16)u[v]=c[d+v]|0;else{var y=u[v-3]^u[v-8]^u[v-14]^u[v-16];u[v]=y<<1|y>>>31}var _=(h<<5|h>>>27)+m+u[v];v<20?_+=(p&g|~p&x)+1518500249:v<40?_+=(p^g^x)+1859775393:v<60?_+=(p&g|p&x|g&x)-1894007588:_+=(p^g^x)-899497514,m=x,x=g,g=p<<30|p>>>2,p=h,h=_}f[0]=f[0]+h|0,f[1]=f[1]+p|0,f[2]=f[2]+g|0,f[3]=f[3]+x|0,f[4]=f[4]+m|0},_doFinalize:function(){var c=this._data,d=c.words,f=this._nDataBytes*8,h=c.sigBytes*8;return d[h>>>5]|=128<<24-h%32,d[(h+64>>>9<<4)+14]=Math.floor(f/4294967296),d[(h+64>>>9<<4)+15]=f,c.sigBytes=d.length*4,this._process(),this._hash},clone:function(){var c=o.clone.call(this);return c._hash=this._hash.clone(),c}});n.SHA1=o._createHelper(l),n.HmacSHA1=o._createHmacHelper(l)}(),r.SHA1})})(r0);var Sa={exports:{}};(function(e,t){(function(r,n){e.exports=n($e.exports)})(we,function(r){return function(n){var i=r,s=i.lib,o=s.WordArray,a=s.Hasher,u=i.algo,l=[],c=[];(function(){function h(m){for(var v=n.sqrt(m),y=2;y<=v;y++)if(!(m%y))return!1;return!0}function p(m){return(m-(m|0))*4294967296|0}for(var g=2,x=0;x<64;)h(g)&&(x<8&&(l[x]=p(n.pow(g,1/2))),c[x]=p(n.pow(g,1/3)),x++),g++})();var d=[],f=u.SHA256=a.extend({_doReset:function(){this._hash=new o.init(l.slice(0))},_doProcessBlock:function(h,p){for(var g=this._hash.words,x=g[0],m=g[1],v=g[2],y=g[3],_=g[4],A=g[5],E=g[6],B=g[7],S=0;S<64;S++){if(S<16)d[S]=h[p+S]|0;else{var T=d[S-15],C=(T<<25|T>>>7)^(T<<14|T>>>18)^T>>>3,w=d[S-2],D=(w<<15|w>>>17)^(w<<13|w>>>19)^w>>>10;d[S]=C+d[S-7]+D+d[S-16]}var k=_&A^~_&E,U=x&m^x&v^m&v,j=(x<<30|x>>>2)^(x<<19|x>>>13)^(x<<10|x>>>22),P=(_<<26|_>>>6)^(_<<21|_>>>11)^(_<<7|_>>>25),K=B+P+k+c[S]+d[S],V=j+U;B=E,E=A,A=_,_=y+K|0,y=v,v=m,m=x,x=K+V|0}g[0]=g[0]+x|0,g[1]=g[1]+m|0,g[2]=g[2]+v|0,g[3]=g[3]+y|0,g[4]=g[4]+_|0,g[5]=g[5]+A|0,g[6]=g[6]+E|0,g[7]=g[7]+B|0},_doFinalize:function(){var h=this._data,p=h.words,g=this._nDataBytes*8,x=h.sigBytes*8;return p[x>>>5]|=128<<24-x%32,p[(x+64>>>9<<4)+14]=n.floor(g/4294967296),p[(x+64>>>9<<4)+15]=g,h.sigBytes=p.length*4,this._process(),this._hash},clone:function(){var h=a.clone.call(this);return h._hash=this._hash.clone(),h}});i.SHA256=a._createHelper(f),i.HmacSHA256=a._createHmacHelper(f)}(Math),r.SHA256})})(Sa);var Xp={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,Sa.exports)})(we,function(r){return function(){var n=r,i=n.lib,s=i.WordArray,o=n.algo,a=o.SHA256,u=o.SHA224=a.extend({_doReset:function(){this._hash=new s.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var l=a._doFinalize.call(this);return l.sigBytes-=4,l}});n.SHA224=a._createHelper(u),n.HmacSHA224=a._createHmacHelper(u)}(),r.SHA224})})(Xp);var n0={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,Ks.exports)})(we,function(r){return function(){var n=r,i=n.lib,s=i.Hasher,o=n.x64,a=o.Word,u=o.WordArray,l=n.algo;function c(){return a.create.apply(a,arguments)}var d=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],f=[];(function(){for(var p=0;p<80;p++)f[p]=c()})();var h=l.SHA512=s.extend({_doReset:function(){this._hash=new u.init([new a.init(1779033703,4089235720),new a.init(3144134277,2227873595),new a.init(1013904242,4271175723),new a.init(2773480762,1595750129),new a.init(1359893119,2917565137),new a.init(2600822924,725511199),new a.init(528734635,4215389547),new a.init(1541459225,327033209)])},_doProcessBlock:function(p,g){for(var x=this._hash.words,m=x[0],v=x[1],y=x[2],_=x[3],A=x[4],E=x[5],B=x[6],S=x[7],T=m.high,C=m.low,w=v.high,D=v.low,k=y.high,U=y.low,j=_.high,P=_.low,K=A.high,V=A.low,re=E.high,ne=E.low,O=B.high,$=B.low,W=S.high,z=S.low,R=T,Q=C,I=w,J=D,Pe=k,Ce=U,_e=j,ye=P,b=K,F=V,M=re,Z=ne,G=O,te=$,ie=W,H=z,ee=0;ee<80;ee++){var Y,se,pe=f[ee];if(ee<16)se=pe.high=p[g+ee*2]|0,Y=pe.low=p[g+ee*2+1]|0;else{var de=f[ee-15],Ee=de.high,De=de.low,Ge=(Ee>>>1|De<<31)^(Ee>>>8|De<<24)^Ee>>>7,Xe=(De>>>1|Ee<<31)^(De>>>8|Ee<<24)^(De>>>7|Ee<<25),st=f[ee-2],xt=st.high,Zt=st.low,Zs=(xt>>>19|Zt<<13)^(xt<<3|Zt>>>29)^xt>>>6,$r=(Zt>>>19|xt<<13)^(Zt<<3|xt>>>29)^(Zt>>>6|xt<<26),Pi=f[ee-7],wt=Pi.high,Yt=Pi.low,Oi=f[ee-16],xg=Oi.high,E0=Oi.low;Y=Xe+Yt,se=Ge+wt+(Y>>>0<Xe>>>0?1:0),Y=Y+$r,se=se+Zs+(Y>>>0<$r>>>0?1:0),Y=Y+E0,se=se+xg+(Y>>>0<E0>>>0?1:0),pe.high=se,pe.low=Y}var yg=b&M^~b&G,_0=F&Z^~F&te,Eg=R&I^R&Pe^I&Pe,_g=Q&J^Q&Ce^J&Ce,mg=(R>>>28|Q<<4)^(R<<30|Q>>>2)^(R<<25|Q>>>7),m0=(Q>>>28|R<<4)^(Q<<30|R>>>2)^(Q<<25|R>>>7),bg=(b>>>14|F<<18)^(b>>>18|F<<14)^(b<<23|F>>>9),Cg=(F>>>14|b<<18)^(F>>>18|b<<14)^(F<<23|b>>>9),b0=d[ee],Ag=b0.high,C0=b0.low,jt=H+Cg,jr=ie+bg+(jt>>>0<H>>>0?1:0),jt=jt+_0,jr=jr+yg+(jt>>>0<_0>>>0?1:0),jt=jt+C0,jr=jr+Ag+(jt>>>0<C0>>>0?1:0),jt=jt+Y,jr=jr+se+(jt>>>0<Y>>>0?1:0),A0=m0+_g,Sg=mg+Eg+(A0>>>0<m0>>>0?1:0);ie=G,H=te,G=M,te=Z,M=b,Z=F,F=ye+jt|0,b=_e+jr+(F>>>0<ye>>>0?1:0)|0,_e=Pe,ye=Ce,Pe=I,Ce=J,I=R,J=Q,Q=jt+A0|0,R=jr+Sg+(Q>>>0<jt>>>0?1:0)|0}C=m.low=C+Q,m.high=T+R+(C>>>0<Q>>>0?1:0),D=v.low=D+J,v.high=w+I+(D>>>0<J>>>0?1:0),U=y.low=U+Ce,y.high=k+Pe+(U>>>0<Ce>>>0?1:0),P=_.low=P+ye,_.high=j+_e+(P>>>0<ye>>>0?1:0),V=A.low=V+F,A.high=K+b+(V>>>0<F>>>0?1:0),ne=E.low=ne+Z,E.high=re+M+(ne>>>0<Z>>>0?1:0),$=B.low=$+te,B.high=O+G+($>>>0<te>>>0?1:0),z=S.low=z+H,S.high=W+ie+(z>>>0<H>>>0?1:0)},_doFinalize:function(){var p=this._data,g=p.words,x=this._nDataBytes*8,m=p.sigBytes*8;g[m>>>5]|=128<<24-m%32,g[(m+128>>>10<<5)+30]=Math.floor(x/4294967296),g[(m+128>>>10<<5)+31]=x,p.sigBytes=g.length*4,this._process();var v=this._hash.toX32();return v},clone:function(){var p=s.clone.call(this);return p._hash=this._hash.clone(),p},blockSize:1024/32});n.SHA512=s._createHelper(h),n.HmacSHA512=s._createHmacHelper(h)}(),r.SHA512})})(n0);var Jp={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,Ks.exports,n0.exports)})(we,function(r){return function(){var n=r,i=n.x64,s=i.Word,o=i.WordArray,a=n.algo,u=a.SHA512,l=a.SHA384=u.extend({_doReset:function(){this._hash=new o.init([new s.init(3418070365,3238371032),new s.init(1654270250,914150663),new s.init(2438529370,812702999),new s.init(355462360,4144912697),new s.init(1731405415,4290775857),new s.init(2394180231,1750603025),new s.init(3675008525,1694076839),new s.init(1203062813,3204075428)])},_doFinalize:function(){var c=u._doFinalize.call(this);return c.sigBytes-=16,c}});n.SHA384=u._createHelper(l),n.HmacSHA384=u._createHmacHelper(l)}(),r.SHA384})})(Jp);var Ip={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,Ks.exports)})(we,function(r){return function(n){var i=r,s=i.lib,o=s.WordArray,a=s.Hasher,u=i.x64,l=u.Word,c=i.algo,d=[],f=[],h=[];(function(){for(var x=1,m=0,v=0;v<24;v++){d[x+5*m]=(v+1)*(v+2)/2%64;var y=m%5,_=(2*x+3*m)%5;x=y,m=_}for(var x=0;x<5;x++)for(var m=0;m<5;m++)f[x+5*m]=m+(2*x+3*m)%5*5;for(var A=1,E=0;E<24;E++){for(var B=0,S=0,T=0;T<7;T++){if(A&1){var C=(1<<T)-1;C<32?S^=1<<C:B^=1<<C-32}A&128?A=A<<1^113:A<<=1}h[E]=l.create(B,S)}})();var p=[];(function(){for(var x=0;x<25;x++)p[x]=l.create()})();var g=c.SHA3=a.extend({cfg:a.cfg.extend({outputLength:512}),_doReset:function(){for(var x=this._state=[],m=0;m<25;m++)x[m]=new l.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(x,m){for(var v=this._state,y=this.blockSize/2,_=0;_<y;_++){var A=x[m+2*_],E=x[m+2*_+1];A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,E=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360;var B=v[_];B.high^=E,B.low^=A}for(var S=0;S<24;S++){for(var T=0;T<5;T++){for(var C=0,w=0,D=0;D<5;D++){var B=v[T+5*D];C^=B.high,w^=B.low}var k=p[T];k.high=C,k.low=w}for(var T=0;T<5;T++)for(var U=p[(T+4)%5],j=p[(T+1)%5],P=j.high,K=j.low,C=U.high^(P<<1|K>>>31),w=U.low^(K<<1|P>>>31),D=0;D<5;D++){var B=v[T+5*D];B.high^=C,B.low^=w}for(var V=1;V<25;V++){var C,w,B=v[V],re=B.high,ne=B.low,O=d[V];O<32?(C=re<<O|ne>>>32-O,w=ne<<O|re>>>32-O):(C=ne<<O-32|re>>>64-O,w=re<<O-32|ne>>>64-O);var $=p[f[V]];$.high=C,$.low=w}var W=p[0],z=v[0];W.high=z.high,W.low=z.low;for(var T=0;T<5;T++)for(var D=0;D<5;D++){var V=T+5*D,B=v[V],R=p[V],Q=p[(T+1)%5+5*D],I=p[(T+2)%5+5*D];B.high=R.high^~Q.high&I.high,B.low=R.low^~Q.low&I.low}var B=v[0],J=h[S];B.high^=J.high,B.low^=J.low}},_doFinalize:function(){var x=this._data,m=x.words;this._nDataBytes*8;var v=x.sigBytes*8,y=this.blockSize*32;m[v>>>5]|=1<<24-v%32,m[(n.ceil((v+1)/y)*y>>>5)-1]|=128,x.sigBytes=m.length*4,this._process();for(var _=this._state,A=this.cfg.outputLength/8,E=A/8,B=[],S=0;S<E;S++){var T=_[S],C=T.high,w=T.low;C=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,w=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,B.push(w),B.push(C)}return new o.init(B,A)},clone:function(){for(var x=a.clone.call(this),m=x._state=this._state.slice(0),v=0;v<25;v++)m[v]=m[v].clone();return x}});i.SHA3=a._createHelper(g),i.HmacSHA3=a._createHmacHelper(g)}(Math),r.SHA3})})(Ip);var Np={exports:{}};(function(e,t){(function(r,n){e.exports=n($e.exports)})(we,function(r){/** @preserve\n\t(c) 2012 by Cédric Mesnil. All rights reserved.\n\n\tRedistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\n\t    - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n\t    - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n\n\tTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\t*/return function(n){var i=r,s=i.lib,o=s.WordArray,a=s.Hasher,u=i.algo,l=o.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=o.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),d=o.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),f=o.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),h=o.create([0,1518500249,1859775393,2400959708,2840853838]),p=o.create([1352829926,1548603684,1836072691,2053994217,0]),g=u.RIPEMD160=a.extend({_doReset:function(){this._hash=o.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(E,B){for(var S=0;S<16;S++){var T=B+S,C=E[T];E[T]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360}var w=this._hash.words,D=h.words,k=p.words,U=l.words,j=c.words,P=d.words,K=f.words,V,re,ne,O,$,W,z,R,Q,I;W=V=w[0],z=re=w[1],R=ne=w[2],Q=O=w[3],I=$=w[4];for(var J,S=0;S<80;S+=1)J=V+E[B+U[S]]|0,S<16?J+=x(re,ne,O)+D[0]:S<32?J+=m(re,ne,O)+D[1]:S<48?J+=v(re,ne,O)+D[2]:S<64?J+=y(re,ne,O)+D[3]:J+=_(re,ne,O)+D[4],J=J|0,J=A(J,P[S]),J=J+$|0,V=$,$=O,O=A(ne,10),ne=re,re=J,J=W+E[B+j[S]]|0,S<16?J+=_(z,R,Q)+k[0]:S<32?J+=y(z,R,Q)+k[1]:S<48?J+=v(z,R,Q)+k[2]:S<64?J+=m(z,R,Q)+k[3]:J+=x(z,R,Q)+k[4],J=J|0,J=A(J,K[S]),J=J+I|0,W=I,I=Q,Q=A(R,10),R=z,z=J;J=w[1]+ne+Q|0,w[1]=w[2]+O+I|0,w[2]=w[3]+$+W|0,w[3]=w[4]+V+z|0,w[4]=w[0]+re+R|0,w[0]=J},_doFinalize:function(){var E=this._data,B=E.words,S=this._nDataBytes*8,T=E.sigBytes*8;B[T>>>5]|=128<<24-T%32,B[(T+64>>>9<<4)+14]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360,E.sigBytes=(B.length+1)*4,this._process();for(var C=this._hash,w=C.words,D=0;D<5;D++){var k=w[D];w[D]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360}return C},clone:function(){var E=a.clone.call(this);return E._hash=this._hash.clone(),E}});function x(E,B,S){return E^B^S}function m(E,B,S){return E&B|~E&S}function v(E,B,S){return(E|~B)^S}function y(E,B,S){return E&S|B&~S}function _(E,B,S){return E^(B|~S)}function A(E,B){return E<<B|E>>>32-B}i.RIPEMD160=a._createHelper(g),i.HmacRIPEMD160=a._createHmacHelper(g)}(),r.RIPEMD160})})(Np);var wa={exports:{}};(function(e,t){(function(r,n){e.exports=n($e.exports)})(we,function(r){(function(){var n=r,i=n.lib,s=i.Base,o=n.enc,a=o.Utf8,u=n.algo;u.HMAC=s.extend({init:function(l,c){l=this._hasher=new l.init,typeof c==\"string\"&&(c=a.parse(c));var d=l.blockSize,f=d*4;c.sigBytes>f&&(c=l.finalize(c)),c.clamp();for(var h=this._oKey=c.clone(),p=this._iKey=c.clone(),g=h.words,x=p.words,m=0;m<d;m++)g[m]^=1549556828,x[m]^=909522486;h.sigBytes=p.sigBytes=f,this.reset()},reset:function(){var l=this._hasher;l.reset(),l.update(this._iKey)},update:function(l){return this._hasher.update(l),this},finalize:function(l){var c=this._hasher,d=c.finalize(l);c.reset();var f=c.finalize(this._oKey.clone().concat(d));return f}})})()})})(wa);var Hp={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,Sa.exports,wa.exports)})(we,function(r){return function(){var n=r,i=n.lib,s=i.Base,o=i.WordArray,a=n.algo,u=a.SHA256,l=a.HMAC,c=a.PBKDF2=s.extend({cfg:s.extend({keySize:128/32,hasher:u,iterations:25e4}),init:function(d){this.cfg=this.cfg.extend(d)},compute:function(d,f){for(var h=this.cfg,p=l.create(h.hasher,d),g=o.create(),x=o.create([1]),m=g.words,v=x.words,y=h.keySize,_=h.iterations;m.length<y;){var A=p.update(f).finalize(x);p.reset();for(var E=A.words,B=E.length,S=A,T=1;T<_;T++){S=p.finalize(S),p.reset();for(var C=S.words,w=0;w<B;w++)E[w]^=C[w]}g.concat(A),v[0]++}return g.sigBytes=y*4,g}});n.PBKDF2=function(d,f,h){return c.create(h).compute(d,f)}}(),r.PBKDF2})})(Hp);var Lr={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,r0.exports,wa.exports)})(we,function(r){return function(){var n=r,i=n.lib,s=i.Base,o=i.WordArray,a=n.algo,u=a.MD5,l=a.EvpKDF=s.extend({cfg:s.extend({keySize:128/32,hasher:u,iterations:1}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,d){for(var f,h=this.cfg,p=h.hasher.create(),g=o.create(),x=g.words,m=h.keySize,v=h.iterations;x.length<m;){f&&p.update(f),f=p.update(c).finalize(d),p.reset();for(var y=1;y<v;y++)f=p.finalize(f),p.reset();g.concat(f)}return g.sigBytes=m*4,g}});n.EvpKDF=function(c,d,f){return l.create(f).compute(c,d)}}(),r.EvpKDF})})(Lr);var gt={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,Lr.exports)})(we,function(r){r.lib.Cipher||function(n){var i=r,s=i.lib,o=s.Base,a=s.WordArray,u=s.BufferedBlockAlgorithm,l=i.enc;l.Utf8;var c=l.Base64,d=i.algo,f=d.EvpKDF,h=s.Cipher=u.extend({cfg:o.extend(),createEncryptor:function(C,w){return this.create(this._ENC_XFORM_MODE,C,w)},createDecryptor:function(C,w){return this.create(this._DEC_XFORM_MODE,C,w)},init:function(C,w,D){this.cfg=this.cfg.extend(D),this._xformMode=C,this._key=w,this.reset()},reset:function(){u.reset.call(this),this._doReset()},process:function(C){return this._append(C),this._process()},finalize:function(C){C&&this._append(C);var w=this._doFinalize();return w},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function C(w){return typeof w==\"string\"?T:E}return function(w){return{encrypt:function(D,k,U){return C(k).encrypt(w,D,k,U)},decrypt:function(D,k,U){return C(k).decrypt(w,D,k,U)}}}}()});s.StreamCipher=h.extend({_doFinalize:function(){var C=this._process(!0);return C},blockSize:1});var p=i.mode={},g=s.BlockCipherMode=o.extend({createEncryptor:function(C,w){return this.Encryptor.create(C,w)},createDecryptor:function(C,w){return this.Decryptor.create(C,w)},init:function(C,w){this._cipher=C,this._iv=w}}),x=p.CBC=function(){var C=g.extend();C.Encryptor=C.extend({processBlock:function(D,k){var U=this._cipher,j=U.blockSize;w.call(this,D,k,j),U.encryptBlock(D,k),this._prevBlock=D.slice(k,k+j)}}),C.Decryptor=C.extend({processBlock:function(D,k){var U=this._cipher,j=U.blockSize,P=D.slice(k,k+j);U.decryptBlock(D,k),w.call(this,D,k,j),this._prevBlock=P}});function w(D,k,U){var j,P=this._iv;P?(j=P,this._iv=n):j=this._prevBlock;for(var K=0;K<U;K++)D[k+K]^=j[K]}return C}(),m=i.pad={},v=m.Pkcs7={pad:function(C,w){for(var D=w*4,k=D-C.sigBytes%D,U=k<<24|k<<16|k<<8|k,j=[],P=0;P<k;P+=4)j.push(U);var K=a.create(j,k);C.concat(K)},unpad:function(C){var w=C.words[C.sigBytes-1>>>2]&255;C.sigBytes-=w}};s.BlockCipher=h.extend({cfg:h.cfg.extend({mode:x,padding:v}),reset:function(){var C;h.reset.call(this);var w=this.cfg,D=w.iv,k=w.mode;this._xformMode==this._ENC_XFORM_MODE?C=k.createEncryptor:(C=k.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==C?this._mode.init(this,D&&D.words):(this._mode=C.call(k,this,D&&D.words),this._mode.__creator=C)},_doProcessBlock:function(C,w){this._mode.processBlock(C,w)},_doFinalize:function(){var C,w=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(w.pad(this._data,this.blockSize),C=this._process(!0)):(C=this._process(!0),w.unpad(C)),C},blockSize:128/32});var y=s.CipherParams=o.extend({init:function(C){this.mixIn(C)},toString:function(C){return(C||this.formatter).stringify(this)}}),_=i.format={},A=_.OpenSSL={stringify:function(C){var w,D=C.ciphertext,k=C.salt;return k?w=a.create([1398893684,1701076831]).concat(k).concat(D):w=D,w.toString(c)},parse:function(C){var w,D=c.parse(C),k=D.words;return k[0]==1398893684&&k[1]==1701076831&&(w=a.create(k.slice(2,4)),k.splice(0,4),D.sigBytes-=16),y.create({ciphertext:D,salt:w})}},E=s.SerializableCipher=o.extend({cfg:o.extend({format:A}),encrypt:function(C,w,D,k){k=this.cfg.extend(k);var U=C.createEncryptor(D,k),j=U.finalize(w),P=U.cfg;return y.create({ciphertext:j,key:D,iv:P.iv,algorithm:C,mode:P.mode,padding:P.padding,blockSize:C.blockSize,formatter:k.format})},decrypt:function(C,w,D,k){k=this.cfg.extend(k),w=this._parse(w,k.format);var U=C.createDecryptor(D,k).finalize(w.ciphertext);return U},_parse:function(C,w){return typeof C==\"string\"?w.parse(C,this):C}}),B=i.kdf={},S=B.OpenSSL={execute:function(C,w,D,k,U){if(k||(k=a.random(64/8)),U)var j=f.create({keySize:w+D,hasher:U}).compute(C,k);else var j=f.create({keySize:w+D}).compute(C,k);var P=a.create(j.words.slice(w),D*4);return j.sigBytes=w*4,y.create({key:j,iv:P,salt:k})}},T=s.PasswordBasedCipher=E.extend({cfg:E.cfg.extend({kdf:S}),encrypt:function(C,w,D,k){k=this.cfg.extend(k);var U=k.kdf.execute(D,C.keySize,C.ivSize,k.salt,k.hasher);k.iv=U.iv;var j=E.encrypt.call(this,C,w,U.key,k);return j.mixIn(U),j},decrypt:function(C,w,D,k){k=this.cfg.extend(k),w=this._parse(w,k.format);var U=k.kdf.execute(D,C.keySize,C.ivSize,w.salt,k.hasher);k.iv=U.iv;var j=E.decrypt.call(this,C,w,U.key,k);return j}})}()})})(gt);var ev={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,gt.exports)})(we,function(r){return r.mode.CFB=function(){var n=r.lib.BlockCipherMode.extend();n.Encryptor=n.extend({processBlock:function(s,o){var a=this._cipher,u=a.blockSize;i.call(this,s,o,u,a),this._prevBlock=s.slice(o,o+u)}}),n.Decryptor=n.extend({processBlock:function(s,o){var a=this._cipher,u=a.blockSize,l=s.slice(o,o+u);i.call(this,s,o,u,a),this._prevBlock=l}});function i(s,o,a,u){var l,c=this._iv;c?(l=c.slice(0),this._iv=void 0):l=this._prevBlock,u.encryptBlock(l,0);for(var d=0;d<a;d++)s[o+d]^=l[d]}return n}(),r.mode.CFB})})(ev);var tv={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,gt.exports)})(we,function(r){return r.mode.CTR=function(){var n=r.lib.BlockCipherMode.extend(),i=n.Encryptor=n.extend({processBlock:function(s,o){var a=this._cipher,u=a.blockSize,l=this._iv,c=this._counter;l&&(c=this._counter=l.slice(0),this._iv=void 0);var d=c.slice(0);a.encryptBlock(d,0),c[u-1]=c[u-1]+1|0;for(var f=0;f<u;f++)s[o+f]^=d[f]}});return n.Decryptor=i,n}(),r.mode.CTR})})(tv);var rv={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,gt.exports)})(we,function(r){/** @preserve\n * Counter block mode compatible with  Dr Brian Gladman fileenc.c\n * derived from CryptoJS.mode.CTR\n * Jan Hruby jhruby.web@gmail.com\n */return r.mode.CTRGladman=function(){var n=r.lib.BlockCipherMode.extend();function i(a){if((a>>24&255)===255){var u=a>>16&255,l=a>>8&255,c=a&255;u===255?(u=0,l===255?(l=0,c===255?c=0:++c):++l):++u,a=0,a+=u<<16,a+=l<<8,a+=c}else a+=1<<24;return a}function s(a){return(a[0]=i(a[0]))===0&&(a[1]=i(a[1])),a}var o=n.Encryptor=n.extend({processBlock:function(a,u){var l=this._cipher,c=l.blockSize,d=this._iv,f=this._counter;d&&(f=this._counter=d.slice(0),this._iv=void 0),s(f);var h=f.slice(0);l.encryptBlock(h,0);for(var p=0;p<c;p++)a[u+p]^=h[p]}});return n.Decryptor=o,n}(),r.mode.CTRGladman})})(rv);var nv={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,gt.exports)})(we,function(r){return r.mode.OFB=function(){var n=r.lib.BlockCipherMode.extend(),i=n.Encryptor=n.extend({processBlock:function(s,o){var a=this._cipher,u=a.blockSize,l=this._iv,c=this._keystream;l&&(c=this._keystream=l.slice(0),this._iv=void 0),a.encryptBlock(c,0);for(var d=0;d<u;d++)s[o+d]^=c[d]}});return n.Decryptor=i,n}(),r.mode.OFB})})(nv);var iv={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,gt.exports)})(we,function(r){return r.mode.ECB=function(){var n=r.lib.BlockCipherMode.extend();return n.Encryptor=n.extend({processBlock:function(i,s){this._cipher.encryptBlock(i,s)}}),n.Decryptor=n.extend({processBlock:function(i,s){this._cipher.decryptBlock(i,s)}}),n}(),r.mode.ECB})})(iv);var sv={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,gt.exports)})(we,function(r){return r.pad.AnsiX923={pad:function(n,i){var s=n.sigBytes,o=i*4,a=o-s%o,u=s+a-1;n.clamp(),n.words[u>>>2]|=a<<24-u%4*8,n.sigBytes+=a},unpad:function(n){var i=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=i}},r.pad.Ansix923})})(sv);var ov={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,gt.exports)})(we,function(r){return r.pad.Iso10126={pad:function(n,i){var s=i*4,o=s-n.sigBytes%s;n.concat(r.lib.WordArray.random(o-1)).concat(r.lib.WordArray.create([o<<24],1))},unpad:function(n){var i=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=i}},r.pad.Iso10126})})(ov);var av={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,gt.exports)})(we,function(r){return r.pad.Iso97971={pad:function(n,i){n.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(n,i)},unpad:function(n){r.pad.ZeroPadding.unpad(n),n.sigBytes--}},r.pad.Iso97971})})(av);var uv={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,gt.exports)})(we,function(r){return r.pad.ZeroPadding={pad:function(n,i){var s=i*4;n.clamp(),n.sigBytes+=s-(n.sigBytes%s||s)},unpad:function(n){for(var i=n.words,s=n.sigBytes-1,s=n.sigBytes-1;s>=0;s--)if(i[s>>>2]>>>24-s%4*8&255){n.sigBytes=s+1;break}}},r.pad.ZeroPadding})})(uv);var lv={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,gt.exports)})(we,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})})(lv);var cv={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,gt.exports)})(we,function(r){return function(n){var i=r,s=i.lib,o=s.CipherParams,a=i.enc,u=a.Hex,l=i.format;l.Hex={stringify:function(c){return c.ciphertext.toString(u)},parse:function(c){var d=u.parse(c);return o.create({ciphertext:d})}}}(),r.format.Hex})})(cv);var fv={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,En.exports,_n.exports,Lr.exports,gt.exports)})(we,function(r){return function(){var n=r,i=n.lib,s=i.BlockCipher,o=n.algo,a=[],u=[],l=[],c=[],d=[],f=[],h=[],p=[],g=[],x=[];(function(){for(var y=[],_=0;_<256;_++)_<128?y[_]=_<<1:y[_]=_<<1^283;for(var A=0,E=0,_=0;_<256;_++){var B=E^E<<1^E<<2^E<<3^E<<4;B=B>>>8^B&255^99,a[A]=B,u[B]=A;var S=y[A],T=y[S],C=y[T],w=y[B]*257^B*16843008;l[A]=w<<24|w>>>8,c[A]=w<<16|w>>>16,d[A]=w<<8|w>>>24,f[A]=w;var w=C*16843009^T*65537^S*257^A*16843008;h[B]=w<<24|w>>>8,p[B]=w<<16|w>>>16,g[B]=w<<8|w>>>24,x[B]=w,A?(A=S^y[y[y[C^S]]],E^=y[y[E]]):A=E=1}})();var m=[0,1,2,4,8,16,32,64,128,27,54],v=o.AES=s.extend({_doReset:function(){var y;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var _=this._keyPriorReset=this._key,A=_.words,E=_.sigBytes/4,B=this._nRounds=E+6,S=(B+1)*4,T=this._keySchedule=[],C=0;C<S;C++)C<E?T[C]=A[C]:(y=T[C-1],C%E?E>6&&C%E==4&&(y=a[y>>>24]<<24|a[y>>>16&255]<<16|a[y>>>8&255]<<8|a[y&255]):(y=y<<8|y>>>24,y=a[y>>>24]<<24|a[y>>>16&255]<<16|a[y>>>8&255]<<8|a[y&255],y^=m[C/E|0]<<24),T[C]=T[C-E]^y);for(var w=this._invKeySchedule=[],D=0;D<S;D++){var C=S-D;if(D%4)var y=T[C];else var y=T[C-4];D<4||C<=4?w[D]=y:w[D]=h[a[y>>>24]]^p[a[y>>>16&255]]^g[a[y>>>8&255]]^x[a[y&255]]}}},encryptBlock:function(y,_){this._doCryptBlock(y,_,this._keySchedule,l,c,d,f,a)},decryptBlock:function(y,_){var A=y[_+1];y[_+1]=y[_+3],y[_+3]=A,this._doCryptBlock(y,_,this._invKeySchedule,h,p,g,x,u);var A=y[_+1];y[_+1]=y[_+3],y[_+3]=A},_doCryptBlock:function(y,_,A,E,B,S,T,C){for(var w=this._nRounds,D=y[_]^A[0],k=y[_+1]^A[1],U=y[_+2]^A[2],j=y[_+3]^A[3],P=4,K=1;K<w;K++){var V=E[D>>>24]^B[k>>>16&255]^S[U>>>8&255]^T[j&255]^A[P++],re=E[k>>>24]^B[U>>>16&255]^S[j>>>8&255]^T[D&255]^A[P++],ne=E[U>>>24]^B[j>>>16&255]^S[D>>>8&255]^T[k&255]^A[P++],O=E[j>>>24]^B[D>>>16&255]^S[k>>>8&255]^T[U&255]^A[P++];D=V,k=re,U=ne,j=O}var V=(C[D>>>24]<<24|C[k>>>16&255]<<16|C[U>>>8&255]<<8|C[j&255])^A[P++],re=(C[k>>>24]<<24|C[U>>>16&255]<<16|C[j>>>8&255]<<8|C[D&255])^A[P++],ne=(C[U>>>24]<<24|C[j>>>16&255]<<16|C[D>>>8&255]<<8|C[k&255])^A[P++],O=(C[j>>>24]<<24|C[D>>>16&255]<<16|C[k>>>8&255]<<8|C[U&255])^A[P++];y[_]=V,y[_+1]=re,y[_+2]=ne,y[_+3]=O},keySize:256/32});n.AES=s._createHelper(v)}(),r.AES})})(fv);var dv={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,En.exports,_n.exports,Lr.exports,gt.exports)})(we,function(r){return function(){var n=r,i=n.lib,s=i.WordArray,o=i.BlockCipher,a=n.algo,u=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],l=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],d=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],f=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=a.DES=o.extend({_doReset:function(){for(var m=this._key,v=m.words,y=[],_=0;_<56;_++){var A=u[_]-1;y[_]=v[A>>>5]>>>31-A%32&1}for(var E=this._subKeys=[],B=0;B<16;B++){for(var S=E[B]=[],T=c[B],_=0;_<24;_++)S[_/6|0]|=y[(l[_]-1+T)%28]<<31-_%6,S[4+(_/6|0)]|=y[28+(l[_+24]-1+T)%28]<<31-_%6;S[0]=S[0]<<1|S[0]>>>31;for(var _=1;_<7;_++)S[_]=S[_]>>>(_-1)*4+3;S[7]=S[7]<<5|S[7]>>>27}for(var C=this._invSubKeys=[],_=0;_<16;_++)C[_]=E[15-_]},encryptBlock:function(m,v){this._doCryptBlock(m,v,this._subKeys)},decryptBlock:function(m,v){this._doCryptBlock(m,v,this._invSubKeys)},_doCryptBlock:function(m,v,y){this._lBlock=m[v],this._rBlock=m[v+1],p.call(this,4,252645135),p.call(this,16,65535),g.call(this,2,858993459),g.call(this,8,16711935),p.call(this,1,1431655765);for(var _=0;_<16;_++){for(var A=y[_],E=this._lBlock,B=this._rBlock,S=0,T=0;T<8;T++)S|=d[T][((B^A[T])&f[T])>>>0];this._lBlock=B,this._rBlock=E^S}var C=this._lBlock;this._lBlock=this._rBlock,this._rBlock=C,p.call(this,1,1431655765),g.call(this,8,16711935),g.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),m[v]=this._lBlock,m[v+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function p(m,v){var y=(this._lBlock>>>m^this._rBlock)&v;this._rBlock^=y,this._lBlock^=y<<m}function g(m,v){var y=(this._rBlock>>>m^this._lBlock)&v;this._lBlock^=y,this._rBlock^=y<<m}n.DES=o._createHelper(h);var x=a.TripleDES=o.extend({_doReset:function(){var m=this._key,v=m.words;if(v.length!==2&&v.length!==4&&v.length<6)throw new Error(\"Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.\");var y=v.slice(0,2),_=v.length<4?v.slice(0,2):v.slice(2,4),A=v.length<6?v.slice(0,2):v.slice(4,6);this._des1=h.createEncryptor(s.create(y)),this._des2=h.createEncryptor(s.create(_)),this._des3=h.createEncryptor(s.create(A))},encryptBlock:function(m,v){this._des1.encryptBlock(m,v),this._des2.decryptBlock(m,v),this._des3.encryptBlock(m,v)},decryptBlock:function(m,v){this._des3.decryptBlock(m,v),this._des2.encryptBlock(m,v),this._des1.decryptBlock(m,v)},keySize:192/32,ivSize:64/32,blockSize:64/32});n.TripleDES=o._createHelper(x)}(),r.TripleDES})})(dv);var hv={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,En.exports,_n.exports,Lr.exports,gt.exports)})(we,function(r){return function(){var n=r,i=n.lib,s=i.StreamCipher,o=n.algo,a=o.RC4=s.extend({_doReset:function(){for(var c=this._key,d=c.words,f=c.sigBytes,h=this._S=[],p=0;p<256;p++)h[p]=p;for(var p=0,g=0;p<256;p++){var x=p%f,m=d[x>>>2]>>>24-x%4*8&255;g=(g+h[p]+m)%256;var v=h[p];h[p]=h[g],h[g]=v}this._i=this._j=0},_doProcessBlock:function(c,d){c[d]^=u.call(this)},keySize:256/32,ivSize:0});function u(){for(var c=this._S,d=this._i,f=this._j,h=0,p=0;p<4;p++){d=(d+1)%256,f=(f+c[d])%256;var g=c[d];c[d]=c[f],c[f]=g,h|=c[(c[d]+c[f])%256]<<24-p*8}return this._i=d,this._j=f,h}n.RC4=s._createHelper(a);var l=o.RC4Drop=a.extend({cfg:a.cfg.extend({drop:192}),_doReset:function(){a._doReset.call(this);for(var c=this.cfg.drop;c>0;c--)u.call(this)}});n.RC4Drop=s._createHelper(l)}(),r.RC4})})(hv);var pv={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,En.exports,_n.exports,Lr.exports,gt.exports)})(we,function(r){return function(){var n=r,i=n.lib,s=i.StreamCipher,o=n.algo,a=[],u=[],l=[],c=o.Rabbit=s.extend({_doReset:function(){for(var f=this._key.words,h=this.cfg.iv,p=0;p<4;p++)f[p]=(f[p]<<8|f[p]>>>24)&16711935|(f[p]<<24|f[p]>>>8)&4278255360;var g=this._X=[f[0],f[3]<<16|f[2]>>>16,f[1],f[0]<<16|f[3]>>>16,f[2],f[1]<<16|f[0]>>>16,f[3],f[2]<<16|f[1]>>>16],x=this._C=[f[2]<<16|f[2]>>>16,f[0]&4294901760|f[1]&65535,f[3]<<16|f[3]>>>16,f[1]&4294901760|f[2]&65535,f[0]<<16|f[0]>>>16,f[2]&4294901760|f[3]&65535,f[1]<<16|f[1]>>>16,f[3]&4294901760|f[0]&65535];this._b=0;for(var p=0;p<4;p++)d.call(this);for(var p=0;p<8;p++)x[p]^=g[p+4&7];if(h){var m=h.words,v=m[0],y=m[1],_=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,A=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,E=_>>>16|A&4294901760,B=A<<16|_&65535;x[0]^=_,x[1]^=E,x[2]^=A,x[3]^=B,x[4]^=_,x[5]^=E,x[6]^=A,x[7]^=B;for(var p=0;p<4;p++)d.call(this)}},_doProcessBlock:function(f,h){var p=this._X;d.call(this),a[0]=p[0]^p[5]>>>16^p[3]<<16,a[1]=p[2]^p[7]>>>16^p[5]<<16,a[2]=p[4]^p[1]>>>16^p[7]<<16,a[3]=p[6]^p[3]>>>16^p[1]<<16;for(var g=0;g<4;g++)a[g]=(a[g]<<8|a[g]>>>24)&16711935|(a[g]<<24|a[g]>>>8)&4278255360,f[h+g]^=a[g]},blockSize:128/32,ivSize:64/32});function d(){for(var f=this._X,h=this._C,p=0;p<8;p++)u[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0<u[0]>>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0<u[1]>>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0<u[2]>>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0<u[3]>>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0<u[4]>>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0<u[5]>>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0<u[6]>>>0?1:0)|0,this._b=h[7]>>>0<u[7]>>>0?1:0;for(var p=0;p<8;p++){var g=f[p]+h[p],x=g&65535,m=g>>>16,v=((x*x>>>17)+x*m>>>15)+m*m,y=((g&4294901760)*g|0)+((g&65535)*g|0);l[p]=v^y}f[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,f[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,f[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,f[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,f[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,f[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,f[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,f[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}n.Rabbit=s._createHelper(c)}(),r.Rabbit})})(pv);var vv={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,En.exports,_n.exports,Lr.exports,gt.exports)})(we,function(r){return function(){var n=r,i=n.lib,s=i.StreamCipher,o=n.algo,a=[],u=[],l=[],c=o.RabbitLegacy=s.extend({_doReset:function(){var f=this._key.words,h=this.cfg.iv,p=this._X=[f[0],f[3]<<16|f[2]>>>16,f[1],f[0]<<16|f[3]>>>16,f[2],f[1]<<16|f[0]>>>16,f[3],f[2]<<16|f[1]>>>16],g=this._C=[f[2]<<16|f[2]>>>16,f[0]&4294901760|f[1]&65535,f[3]<<16|f[3]>>>16,f[1]&4294901760|f[2]&65535,f[0]<<16|f[0]>>>16,f[2]&4294901760|f[3]&65535,f[1]<<16|f[1]>>>16,f[3]&4294901760|f[0]&65535];this._b=0;for(var x=0;x<4;x++)d.call(this);for(var x=0;x<8;x++)g[x]^=p[x+4&7];if(h){var m=h.words,v=m[0],y=m[1],_=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,A=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,E=_>>>16|A&4294901760,B=A<<16|_&65535;g[0]^=_,g[1]^=E,g[2]^=A,g[3]^=B,g[4]^=_,g[5]^=E,g[6]^=A,g[7]^=B;for(var x=0;x<4;x++)d.call(this)}},_doProcessBlock:function(f,h){var p=this._X;d.call(this),a[0]=p[0]^p[5]>>>16^p[3]<<16,a[1]=p[2]^p[7]>>>16^p[5]<<16,a[2]=p[4]^p[1]>>>16^p[7]<<16,a[3]=p[6]^p[3]>>>16^p[1]<<16;for(var g=0;g<4;g++)a[g]=(a[g]<<8|a[g]>>>24)&16711935|(a[g]<<24|a[g]>>>8)&4278255360,f[h+g]^=a[g]},blockSize:128/32,ivSize:64/32});function d(){for(var f=this._X,h=this._C,p=0;p<8;p++)u[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0<u[0]>>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0<u[1]>>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0<u[2]>>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0<u[3]>>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0<u[4]>>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0<u[5]>>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0<u[6]>>>0?1:0)|0,this._b=h[7]>>>0<u[7]>>>0?1:0;for(var p=0;p<8;p++){var g=f[p]+h[p],x=g&65535,m=g>>>16,v=((x*x>>>17)+x*m>>>15)+m*m,y=((g&4294901760)*g|0)+((g&65535)*g|0);l[p]=v^y}f[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,f[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,f[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,f[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,f[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,f[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,f[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,f[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}n.RabbitLegacy=s._createHelper(c)}(),r.RabbitLegacy})})(vv);var gv={exports:{}};(function(e,t){(function(r,n,i){e.exports=n($e.exports,En.exports,_n.exports,Lr.exports,gt.exports)})(we,function(r){return function(){var n=r,i=n.lib,s=i.BlockCipher,o=n.algo;const a=16,u=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],l=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var c={pbox:[],sbox:[]};function d(x,m){let v=m>>24&255,y=m>>16&255,_=m>>8&255,A=m&255,E=x.sbox[0][v]+x.sbox[1][y];return E=E^x.sbox[2][_],E=E+x.sbox[3][A],E}function f(x,m,v){let y=m,_=v,A;for(let E=0;E<a;++E)y=y^x.pbox[E],_=d(x,y)^_,A=y,y=_,_=A;return A=y,y=_,_=A,_=_^x.pbox[a],y=y^x.pbox[a+1],{left:y,right:_}}function h(x,m,v){let y=m,_=v,A;for(let E=a+1;E>1;--E)y=y^x.pbox[E],_=d(x,y)^_,A=y,y=_,_=A;return A=y,y=_,_=A,_=_^x.pbox[1],y=y^x.pbox[0],{left:y,right:_}}function p(x,m,v){for(let B=0;B<4;B++){x.sbox[B]=[];for(let S=0;S<256;S++)x.sbox[B][S]=l[B][S]}let y=0;for(let B=0;B<a+2;B++)x.pbox[B]=u[B]^m[y],y++,y>=v&&(y=0);let _=0,A=0,E=0;for(let B=0;B<a+2;B+=2)E=f(x,_,A),_=E.left,A=E.right,x.pbox[B]=_,x.pbox[B+1]=A;for(let B=0;B<4;B++)for(let S=0;S<256;S+=2)E=f(x,_,A),_=E.left,A=E.right,x.sbox[B][S]=_,x.sbox[B][S+1]=A;return!0}var g=o.Blowfish=s.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var x=this._keyPriorReset=this._key,m=x.words,v=x.sigBytes/4;p(c,m,v)}},encryptBlock:function(x,m){var v=f(c,x[m],x[m+1]);x[m]=v.left,x[m+1]=v.right},decryptBlock:function(x,m){var v=h(c,x[m],x[m+1]);x[m]=v.left,x[m+1]=v.right},blockSize:64/32,keySize:128/32,ivSize:64/32});n.Blowfish=s._createHelper(g)}(),r.Blowfish})})(gv);(function(e,t){(function(r,n,i){e.exports=n($e.exports,Ks.exports,Yp.exports,Gp.exports,En.exports,Qp.exports,_n.exports,r0.exports,Sa.exports,Xp.exports,n0.exports,Jp.exports,Ip.exports,Np.exports,wa.exports,Hp.exports,Lr.exports,gt.exports,ev.exports,tv.exports,rv.exports,nv.exports,iv.exports,sv.exports,ov.exports,av.exports,uv.exports,lv.exports,cv.exports,fv.exports,dv.exports,hv.exports,pv.exports,vv.exports,gv.exports)})(we,function(r){return r})})(Zp);var tu=Zp.exports,b5=\"0123456789abcdefghijklmnopqrstuvwxyz\";function br(e){return b5.charAt(e)}function C5(e,t){return e&t}function io(e,t){return e|t}function uf(e,t){return e^t}function lf(e,t){return e&~t}function A5(e){if(e==0)return-1;var t=0;return(e&65535)==0&&(e>>=16,t+=16),(e&255)==0&&(e>>=8,t+=8),(e&15)==0&&(e>>=4,t+=4),(e&3)==0&&(e>>=2,t+=2),(e&1)==0&&++t,t}function S5(e){for(var t=0;e!=0;)e&=e-1,++t;return t}var Hn=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",xv=\"=\";function Mo(e){var t,r,n=\"\";for(t=0;t+3<=e.length;t+=3)r=parseInt(e.substring(t,t+3),16),n+=Hn.charAt(r>>6)+Hn.charAt(r&63);for(t+1==e.length?(r=parseInt(e.substring(t,t+1),16),n+=Hn.charAt(r<<2)):t+2==e.length&&(r=parseInt(e.substring(t,t+2),16),n+=Hn.charAt(r>>2)+Hn.charAt((r&3)<<4));(n.length&3)>0;)n+=xv;return n}function cf(e){var t=\"\",r,n=0,i=0;for(r=0;r<e.length&&e.charAt(r)!=xv;++r){var s=Hn.indexOf(e.charAt(r));s<0||(n==0?(t+=br(s>>2),i=s&3,n=1):n==1?(t+=br(i<<2|s>>4),i=s&15,n=2):n==2?(t+=br(i),t+=br(s>>2),i=s&3,n=3):(t+=br(i<<2|s>>4),t+=br(s&15),n=0))}return n==1&&(t+=br(i<<2)),t}var Qn,w5={decode:function(e){var t;if(Qn===void 0){var r=\"0123456789ABCDEF\",n=` \\f\n\\r\t\\xA0\\u2028\\u2029`;for(Qn={},t=0;t<16;++t)Qn[r.charAt(t)]=t;for(r=r.toLowerCase(),t=10;t<16;++t)Qn[r.charAt(t)]=t;for(t=0;t<n.length;++t)Qn[n.charAt(t)]=-1}var i=[],s=0,o=0;for(t=0;t<e.length;++t){var a=e.charAt(t);if(a==\"=\")break;if(a=Qn[a],a!=-1){if(a===void 0)throw new Error(\"Illegal character at offset \"+t);s|=a,++o>=2?(i[i.length]=s,s=0,o=0):s<<=4}}if(o)throw new Error(\"Hex encoding incomplete: 4 bits missing\");return i}},An,zu={decode:function(e){var t;if(An===void 0){var r=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",n=`= \\f\n\\r\t\\xA0\\u2028\\u2029`;for(An=Object.create(null),t=0;t<64;++t)An[r.charAt(t)]=t;for(An[\"-\"]=62,An._=63,t=0;t<n.length;++t)An[n.charAt(t)]=-1}var i=[],s=0,o=0;for(t=0;t<e.length;++t){var a=e.charAt(t);if(a==\"=\")break;if(a=An[a],a!=-1){if(a===void 0)throw new Error(\"Illegal character at offset \"+t);s|=a,++o>=4?(i[i.length]=s>>16,i[i.length]=s>>8&255,i[i.length]=s&255,s=0,o=0):s<<=6}}switch(o){case 1:throw new Error(\"Base64 encoding incomplete: at least 2 bits missing\");case 2:i[i.length]=s>>10;break;case 3:i[i.length]=s>>16,i[i.length]=s>>8&255;break}return i},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\\/=\\s]+)-----END [^-]+-----|begin-base64[^\\n]+\\n([A-Za-z0-9+\\/=\\s]+)====/,unarmor:function(e){var t=zu.re.exec(e);if(t)if(t[1])e=t[1];else if(t[2])e=t[2];else throw new Error(\"RegExp out of sync\");return zu.decode(e)}},Xn=1e13,zi=function(){function e(t){this.buf=[+t||0]}return e.prototype.mulAdd=function(t,r){var n=this.buf,i=n.length,s,o;for(s=0;s<i;++s)o=n[s]*t+r,o<Xn?r=0:(r=0|o/Xn,o-=r*Xn),n[s]=o;r>0&&(n[s]=r)},e.prototype.sub=function(t){var r=this.buf,n=r.length,i,s;for(i=0;i<n;++i)s=r[i]-t,s<0?(s+=Xn,t=1):t=0,r[i]=s;for(;r[r.length-1]===0;)r.pop()},e.prototype.toString=function(t){if((t||10)!=10)throw new Error(\"only base 10 is supported\");for(var r=this.buf,n=r[r.length-1].toString(),i=r.length-2;i>=0;--i)n+=(Xn+r[i]).toString().substring(1);return n},e.prototype.valueOf=function(){for(var t=this.buf,r=0,n=t.length-1;n>=0;--n)r=r*Xn+t[n];return r},e.prototype.simplify=function(){var t=this.buf;return t.length==1?t[0]:this},e}(),yv=\"\\u2026\",B5=/^(\\d\\d)(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])([01]\\d|2[0-3])(?:([0-5]\\d)(?:([0-5]\\d)(?:[.,](\\d{1,3}))?)?)?(Z|[-+](?:[0]\\d|1[0-2])([0-5]\\d)?)?$/,F5=/^(\\d\\d\\d\\d)(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01])([01]\\d|2[0-3])(?:([0-5]\\d)(?:([0-5]\\d)(?:[.,](\\d{1,3}))?)?)?(Z|[-+](?:[0]\\d|1[0-2])([0-5]\\d)?)?$/;function di(e,t){return e.length>t&&(e=e.substring(0,t)+yv),e}var ru=function(){function e(t,r){this.hexDigits=\"0123456789ABCDEF\",t instanceof e?(this.enc=t.enc,this.pos=t.pos):(this.enc=t,this.pos=r)}return e.prototype.get=function(t){if(t===void 0&&(t=this.pos++),t>=this.enc.length)throw new Error(\"Requesting byte offset \".concat(t,\" on a stream of length \").concat(this.enc.length));return typeof this.enc==\"string\"?this.enc.charCodeAt(t):this.enc[t]},e.prototype.hexByte=function(t){return this.hexDigits.charAt(t>>4&15)+this.hexDigits.charAt(t&15)},e.prototype.hexDump=function(t,r,n){for(var i=\"\",s=t;s<r;++s)if(i+=this.hexByte(this.get(s)),n!==!0)switch(s&15){case 7:i+=\"  \";break;case 15:i+=`\n`;break;default:i+=\" \"}return i},e.prototype.isASCII=function(t,r){for(var n=t;n<r;++n){var i=this.get(n);if(i<32||i>176)return!1}return!0},e.prototype.parseStringISO=function(t,r){for(var n=\"\",i=t;i<r;++i)n+=String.fromCharCode(this.get(i));return n},e.prototype.parseStringUTF=function(t,r){for(var n=\"\",i=t;i<r;){var s=this.get(i++);s<128?n+=String.fromCharCode(s):s>191&&s<224?n+=String.fromCharCode((s&31)<<6|this.get(i++)&63):n+=String.fromCharCode((s&15)<<12|(this.get(i++)&63)<<6|this.get(i++)&63)}return n},e.prototype.parseStringBMP=function(t,r){for(var n=\"\",i,s,o=t;o<r;)i=this.get(o++),s=this.get(o++),n+=String.fromCharCode(i<<8|s);return n},e.prototype.parseTime=function(t,r,n){var i=this.parseStringISO(t,r),s=(n?B5:F5).exec(i);return s?(n&&(s[1]=+s[1],s[1]+=+s[1]<70?2e3:1900),i=s[1]+\"-\"+s[2]+\"-\"+s[3]+\" \"+s[4],s[5]&&(i+=\":\"+s[5],s[6]&&(i+=\":\"+s[6],s[7]&&(i+=\".\"+s[7]))),s[8]&&(i+=\" UTC\",s[8]!=\"Z\"&&(i+=s[8],s[9]&&(i+=\":\"+s[9]))),i):\"Unrecognized time: \"+i},e.prototype.parseInteger=function(t,r){for(var n=this.get(t),i=n>127,s=i?255:0,o,a=\"\";n==s&&++t<r;)n=this.get(t);if(o=r-t,o===0)return i?-1:0;if(o>4){for(a=n,o<<=3;((+a^s)&128)==0;)a=+a<<1,--o;a=\"(\"+o+` bit)\n`}i&&(n=n-256);for(var u=new zi(n),l=t+1;l<r;++l)u.mulAdd(256,this.get(l));return a+u.toString()},e.prototype.parseBitString=function(t,r,n){for(var i=this.get(t),s=(r-t-1<<3)-i,o=\"(\"+s+` bit)\n`,a=\"\",u=t+1;u<r;++u){for(var l=this.get(u),c=u==r-1?i:0,d=7;d>=c;--d)a+=l>>d&1?\"1\":\"0\";if(a.length>n)return o+di(a,n)}return o+a},e.prototype.parseOctetString=function(t,r,n){if(this.isASCII(t,r))return di(this.parseStringISO(t,r),n);var i=r-t,s=\"(\"+i+` byte)\n`;n/=2,i>n&&(r=t+n);for(var o=t;o<r;++o)s+=this.hexByte(this.get(o));return i>n&&(s+=yv),s},e.prototype.parseOID=function(t,r,n){for(var i=\"\",s=new zi,o=0,a=t;a<r;++a){var u=this.get(a);if(s.mulAdd(128,u&127),o+=7,!(u&128)){if(i===\"\")if(s=s.simplify(),s instanceof zi)s.sub(80),i=\"2.\"+s.toString();else{var l=s<80?s<40?0:1:2;i=l+\".\"+(s-l*40)}else i+=\".\"+s.toString();if(i.length>n)return di(i,n);s=new zi,o=0}}return o>0&&(i+=\".incomplete\"),i},e}(),D5=function(){function e(t,r,n,i,s){if(!(i instanceof ff))throw new Error(\"Invalid tag value.\");this.stream=t,this.header=r,this.length=n,this.tag=i,this.sub=s}return e.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return\"EOC\";case 1:return\"BOOLEAN\";case 2:return\"INTEGER\";case 3:return\"BIT_STRING\";case 4:return\"OCTET_STRING\";case 5:return\"NULL\";case 6:return\"OBJECT_IDENTIFIER\";case 7:return\"ObjectDescriptor\";case 8:return\"EXTERNAL\";case 9:return\"REAL\";case 10:return\"ENUMERATED\";case 11:return\"EMBEDDED_PDV\";case 12:return\"UTF8String\";case 16:return\"SEQUENCE\";case 17:return\"SET\";case 18:return\"NumericString\";case 19:return\"PrintableString\";case 20:return\"TeletexString\";case 21:return\"VideotexString\";case 22:return\"IA5String\";case 23:return\"UTCTime\";case 24:return\"GeneralizedTime\";case 25:return\"GraphicString\";case 26:return\"VisibleString\";case 27:return\"GeneralString\";case 28:return\"UniversalString\";case 30:return\"BMPString\"}return\"Universal_\"+this.tag.tagNumber.toString();case 1:return\"Application_\"+this.tag.tagNumber.toString();case 2:return\"[\"+this.tag.tagNumber.toString()+\"]\";case 3:return\"Private_\"+this.tag.tagNumber.toString()}},e.prototype.content=function(t){if(this.tag===void 0)return null;t===void 0&&(t=1/0);var r=this.posContent(),n=Math.abs(this.length);if(!this.tag.isUniversal())return this.sub!==null?\"(\"+this.sub.length+\" elem)\":this.stream.parseOctetString(r,r+n,t);switch(this.tag.tagNumber){case 1:return this.stream.get(r)===0?\"false\":\"true\";case 2:return this.stream.parseInteger(r,r+n);case 3:return this.sub?\"(\"+this.sub.length+\" elem)\":this.stream.parseBitString(r,r+n,t);case 4:return this.sub?\"(\"+this.sub.length+\" elem)\":this.stream.parseOctetString(r,r+n,t);case 6:return this.stream.parseOID(r,r+n,t);case 16:case 17:return this.sub!==null?\"(\"+this.sub.length+\" elem)\":\"(no elem)\";case 12:return di(this.stream.parseStringUTF(r,r+n),t);case 18:case 19:case 20:case 21:case 22:case 26:return di(this.stream.parseStringISO(r,r+n),t);case 30:return di(this.stream.parseStringBMP(r,r+n),t);case 23:case 24:return this.stream.parseTime(r,r+n,this.tag.tagNumber==23)}return null},e.prototype.toString=function(){return this.typeName()+\"@\"+this.stream.pos+\"[header:\"+this.header+\",length:\"+this.length+\",sub:\"+(this.sub===null?\"null\":this.sub.length)+\"]\"},e.prototype.toPrettyString=function(t){t===void 0&&(t=\"\");var r=t+this.typeName()+\" @\"+this.stream.pos;if(this.length>=0&&(r+=\"+\"),r+=this.length,this.tag.tagConstructed?r+=\" (constructed)\":this.tag.isUniversal()&&(this.tag.tagNumber==3||this.tag.tagNumber==4)&&this.sub!==null&&(r+=\" (encapsulates)\"),r+=`\n`,this.sub!==null){t+=\"  \";for(var n=0,i=this.sub.length;n<i;++n)r+=this.sub[n].toPrettyString(t)}return r},e.prototype.posStart=function(){return this.stream.pos},e.prototype.posContent=function(){return this.stream.pos+this.header},e.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},e.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},e.decodeLength=function(t){var r=t.get(),n=r&127;if(n==r)return n;if(n>6)throw new Error(\"Length over 48 bits not supported at position \"+(t.pos-1));if(n===0)return null;r=0;for(var i=0;i<n;++i)r=r*256+t.get();return r},e.prototype.getHexStringValue=function(){var t=this.toHexString(),r=this.header*2,n=this.length*2;return t.substr(r,n)},e.decode=function(t){var r;t instanceof ru?r=t:r=new ru(t,0);var n=new ru(r),i=new ff(r),s=e.decodeLength(r),o=r.pos,a=o-n.pos,u=null,l=function(){var d=[];if(s!==null){for(var f=o+s;r.pos<f;)d[d.length]=e.decode(r);if(r.pos!=f)throw new Error(\"Content size is not correct for container starting at offset \"+o)}else try{for(;;){var h=e.decode(r);if(h.tag.isEOC())break;d[d.length]=h}s=o-r.pos}catch(p){throw new Error(\"Exception while decoding undefined length content: \"+p)}return d};if(i.tagConstructed)u=l();else if(i.isUniversal()&&(i.tagNumber==3||i.tagNumber==4))try{if(i.tagNumber==3&&r.get()!=0)throw new Error(\"BIT STRINGs with unused bits cannot encapsulate.\");u=l();for(var c=0;c<u.length;++c)if(u[c].tag.isEOC())throw new Error(\"EOC is not supposed to be actual content.\")}catch{u=null}if(u===null){if(s===null)throw new Error(\"We can't skip over an invalid tag with undefined length at offset \"+o);r.pos=o+Math.abs(s)}return new e(n,a,s,i,u)},e}(),ff=function(){function e(t){var r=t.get();if(this.tagClass=r>>6,this.tagConstructed=(r&32)!==0,this.tagNumber=r&31,this.tagNumber==31){var n=new zi;do r=t.get(),n.mulAdd(128,r&127);while(r&128);this.tagNumber=n.simplify()}}return e.prototype.isUniversal=function(){return this.tagClass===0},e.prototype.isEOC=function(){return this.tagClass===0&&this.tagNumber===0},e}(),on,T5=0xdeadbeefcafe,df=(T5&16777215)==15715070,Ft=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],k5=(1<<26)/Ft[Ft.length-1],Oe=function(){function e(t,r,n){t!=null&&(typeof t==\"number\"?this.fromNumber(t,r,n):r==null&&typeof t!=\"string\"?this.fromString(t,256):this.fromString(t,r))}return e.prototype.toString=function(t){if(this.s<0)return\"-\"+this.negate().toString(t);var r;if(t==16)r=4;else if(t==8)r=3;else if(t==2)r=1;else if(t==32)r=5;else if(t==4)r=2;else return this.toRadix(t);var n=(1<<r)-1,i,s=!1,o=\"\",a=this.t,u=this.DB-a*this.DB%r;if(a-- >0)for(u<this.DB&&(i=this[a]>>u)>0&&(s=!0,o=br(i));a>=0;)u<r?(i=(this[a]&(1<<u)-1)<<r-u,i|=this[--a]>>(u+=this.DB-r)):(i=this[a]>>(u-=r)&n,u<=0&&(u+=this.DB,--a)),i>0&&(s=!0),s&&(o+=br(i));return s?o:\"0\"},e.prototype.negate=function(){var t=Le();return e.ZERO.subTo(this,t),t},e.prototype.abs=function(){return this.s<0?this.negate():this},e.prototype.compareTo=function(t){var r=this.s-t.s;if(r!=0)return r;var n=this.t;if(r=n-t.t,r!=0)return this.s<0?-r:r;for(;--n>=0;)if((r=this[n]-t[n])!=0)return r;return 0},e.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+so(this[this.t-1]^this.s&this.DM)},e.prototype.mod=function(t){var r=Le();return this.abs().divRemTo(t,null,r),this.s<0&&r.compareTo(e.ZERO)>0&&t.subTo(r,r),r},e.prototype.modPowInt=function(t,r){var n;return t<256||r.isEven()?n=new hf(r):n=new pf(r),this.exp(t,n)},e.prototype.clone=function(){var t=Le();return this.copyTo(t),t},e.prototype.intValue=function(){if(this.s<0){if(this.t==1)return this[0]-this.DV;if(this.t==0)return-1}else{if(this.t==1)return this[0];if(this.t==0)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},e.prototype.byteValue=function(){return this.t==0?this.s:this[0]<<24>>24},e.prototype.shortValue=function(){return this.t==0?this.s:this[0]<<16>>16},e.prototype.signum=function(){return this.s<0?-1:this.t<=0||this.t==1&&this[0]<=0?0:1},e.prototype.toByteArray=function(){var t=this.t,r=[];r[0]=this.s;var n=this.DB-t*this.DB%8,i,s=0;if(t-- >0)for(n<this.DB&&(i=this[t]>>n)!=(this.s&this.DM)>>n&&(r[s++]=i|this.s<<this.DB-n);t>=0;)n<8?(i=(this[t]&(1<<n)-1)<<8-n,i|=this[--t]>>(n+=this.DB-8)):(i=this[t]>>(n-=8)&255,n<=0&&(n+=this.DB,--t)),(i&128)!=0&&(i|=-256),s==0&&(this.s&128)!=(i&128)&&++s,(s>0||i!=this.s)&&(r[s++]=i);return r},e.prototype.equals=function(t){return this.compareTo(t)==0},e.prototype.min=function(t){return this.compareTo(t)<0?this:t},e.prototype.max=function(t){return this.compareTo(t)>0?this:t},e.prototype.and=function(t){var r=Le();return this.bitwiseTo(t,C5,r),r},e.prototype.or=function(t){var r=Le();return this.bitwiseTo(t,io,r),r},e.prototype.xor=function(t){var r=Le();return this.bitwiseTo(t,uf,r),r},e.prototype.andNot=function(t){var r=Le();return this.bitwiseTo(t,lf,r),r},e.prototype.not=function(){for(var t=Le(),r=0;r<this.t;++r)t[r]=this.DM&~this[r];return t.t=this.t,t.s=~this.s,t},e.prototype.shiftLeft=function(t){var r=Le();return t<0?this.rShiftTo(-t,r):this.lShiftTo(t,r),r},e.prototype.shiftRight=function(t){var r=Le();return t<0?this.lShiftTo(-t,r):this.rShiftTo(t,r),r},e.prototype.getLowestSetBit=function(){for(var t=0;t<this.t;++t)if(this[t]!=0)return t*this.DB+A5(this[t]);return this.s<0?this.t*this.DB:-1},e.prototype.bitCount=function(){for(var t=0,r=this.s&this.DM,n=0;n<this.t;++n)t+=S5(this[n]^r);return t},e.prototype.testBit=function(t){var r=Math.floor(t/this.DB);return r>=this.t?this.s!=0:(this[r]&1<<t%this.DB)!=0},e.prototype.setBit=function(t){return this.changeBit(t,io)},e.prototype.clearBit=function(t){return this.changeBit(t,lf)},e.prototype.flipBit=function(t){return this.changeBit(t,uf)},e.prototype.add=function(t){var r=Le();return this.addTo(t,r),r},e.prototype.subtract=function(t){var r=Le();return this.subTo(t,r),r},e.prototype.multiply=function(t){var r=Le();return this.multiplyTo(t,r),r},e.prototype.divide=function(t){var r=Le();return this.divRemTo(t,r,null),r},e.prototype.remainder=function(t){var r=Le();return this.divRemTo(t,null,r),r},e.prototype.divideAndRemainder=function(t){var r=Le(),n=Le();return this.divRemTo(t,r,n),[r,n]},e.prototype.modPow=function(t,r){var n=t.bitLength(),i,s=Nr(1),o;if(n<=0)return s;n<18?i=1:n<48?i=3:n<144?i=4:n<768?i=5:i=6,n<8?o=new hf(r):r.isEven()?o=new O5(r):o=new pf(r);var a=[],u=3,l=i-1,c=(1<<i)-1;if(a[1]=o.convert(this),i>1){var d=Le();for(o.sqrTo(a[1],d);u<=c;)a[u]=Le(),o.mulTo(d,a[u-2],a[u]),u+=2}var f=t.t-1,h,p=!0,g=Le(),x;for(n=so(t[f])-1;f>=0;){for(n>=l?h=t[f]>>n-l&c:(h=(t[f]&(1<<n+1)-1)<<l-n,f>0&&(h|=t[f-1]>>this.DB+n-l)),u=i;(h&1)==0;)h>>=1,--u;if((n-=u)<0&&(n+=this.DB,--f),p)a[h].copyTo(s),p=!1;else{for(;u>1;)o.sqrTo(s,g),o.sqrTo(g,s),u-=2;u>0?o.sqrTo(s,g):(x=s,s=g,g=x),o.mulTo(g,a[h],s)}for(;f>=0&&(t[f]&1<<n)==0;)o.sqrTo(s,g),x=s,s=g,g=x,--n<0&&(n=this.DB-1,--f)}return o.revert(s)},e.prototype.modInverse=function(t){var r=t.isEven();if(this.isEven()&&r||t.signum()==0)return e.ZERO;for(var n=t.clone(),i=this.clone(),s=Nr(1),o=Nr(0),a=Nr(0),u=Nr(1);n.signum()!=0;){for(;n.isEven();)n.rShiftTo(1,n),r?((!s.isEven()||!o.isEven())&&(s.addTo(this,s),o.subTo(t,o)),s.rShiftTo(1,s)):o.isEven()||o.subTo(t,o),o.rShiftTo(1,o);for(;i.isEven();)i.rShiftTo(1,i),r?((!a.isEven()||!u.isEven())&&(a.addTo(this,a),u.subTo(t,u)),a.rShiftTo(1,a)):u.isEven()||u.subTo(t,u),u.rShiftTo(1,u);n.compareTo(i)>=0?(n.subTo(i,n),r&&s.subTo(a,s),o.subTo(u,o)):(i.subTo(n,i),r&&a.subTo(s,a),u.subTo(o,u))}if(i.compareTo(e.ONE)!=0)return e.ZERO;if(u.compareTo(t)>=0)return u.subtract(t);if(u.signum()<0)u.addTo(t,u);else return u;return u.signum()<0?u.add(t):u},e.prototype.pow=function(t){return this.exp(t,new P5)},e.prototype.gcd=function(t){var r=this.s<0?this.negate():this.clone(),n=t.s<0?t.negate():t.clone();if(r.compareTo(n)<0){var i=r;r=n,n=i}var s=r.getLowestSetBit(),o=n.getLowestSetBit();if(o<0)return r;for(s<o&&(o=s),o>0&&(r.rShiftTo(o,r),n.rShiftTo(o,n));r.signum()>0;)(s=r.getLowestSetBit())>0&&r.rShiftTo(s,r),(s=n.getLowestSetBit())>0&&n.rShiftTo(s,n),r.compareTo(n)>=0?(r.subTo(n,r),r.rShiftTo(1,r)):(n.subTo(r,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n},e.prototype.isProbablePrime=function(t){var r,n=this.abs();if(n.t==1&&n[0]<=Ft[Ft.length-1]){for(r=0;r<Ft.length;++r)if(n[0]==Ft[r])return!0;return!1}if(n.isEven())return!1;for(r=1;r<Ft.length;){for(var i=Ft[r],s=r+1;s<Ft.length&&i<k5;)i*=Ft[s++];for(i=n.modInt(i);r<s;)if(i%Ft[r++]==0)return!1}return n.millerRabin(t)},e.prototype.copyTo=function(t){for(var r=this.t-1;r>=0;--r)t[r]=this[r];t.t=this.t,t.s=this.s},e.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},e.prototype.fromString=function(t,r){var n;if(r==16)n=4;else if(r==8)n=3;else if(r==256)n=8;else if(r==2)n=1;else if(r==32)n=5;else if(r==4)n=2;else{this.fromRadix(t,r);return}this.t=0,this.s=0;for(var i=t.length,s=!1,o=0;--i>=0;){var a=n==8?+t[i]&255:gf(t,i);if(a<0){t.charAt(i)==\"-\"&&(s=!0);continue}s=!1,o==0?this[this.t++]=a:o+n>this.DB?(this[this.t-1]|=(a&(1<<this.DB-o)-1)<<o,this[this.t++]=a>>this.DB-o):this[this.t-1]|=a<<o,o+=n,o>=this.DB&&(o-=this.DB)}n==8&&(+t[0]&128)!=0&&(this.s=-1,o>0&&(this[this.t-1]|=(1<<this.DB-o)-1<<o)),this.clamp(),s&&e.ZERO.subTo(this,this)},e.prototype.clamp=function(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t},e.prototype.dlShiftTo=function(t,r){var n;for(n=this.t-1;n>=0;--n)r[n+t]=this[n];for(n=t-1;n>=0;--n)r[n]=0;r.t=this.t+t,r.s=this.s},e.prototype.drShiftTo=function(t,r){for(var n=t;n<this.t;++n)r[n-t]=this[n];r.t=Math.max(this.t-t,0),r.s=this.s},e.prototype.lShiftTo=function(t,r){for(var n=t%this.DB,i=this.DB-n,s=(1<<i)-1,o=Math.floor(t/this.DB),a=this.s<<n&this.DM,u=this.t-1;u>=0;--u)r[u+o+1]=this[u]>>i|a,a=(this[u]&s)<<n;for(var u=o-1;u>=0;--u)r[u]=0;r[o]=a,r.t=this.t+o+1,r.s=this.s,r.clamp()},e.prototype.rShiftTo=function(t,r){r.s=this.s;var n=Math.floor(t/this.DB);if(n>=this.t){r.t=0;return}var i=t%this.DB,s=this.DB-i,o=(1<<i)-1;r[0]=this[n]>>i;for(var a=n+1;a<this.t;++a)r[a-n-1]|=(this[a]&o)<<s,r[a-n]=this[a]>>i;i>0&&(r[this.t-n-1]|=(this.s&o)<<s),r.t=this.t-n,r.clamp()},e.prototype.subTo=function(t,r){for(var n=0,i=0,s=Math.min(t.t,this.t);n<s;)i+=this[n]-t[n],r[n++]=i&this.DM,i>>=this.DB;if(t.t<this.t){for(i-=t.s;n<this.t;)i+=this[n],r[n++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;n<t.t;)i-=t[n],r[n++]=i&this.DM,i>>=this.DB;i-=t.s}r.s=i<0?-1:0,i<-1?r[n++]=this.DV+i:i>0&&(r[n++]=i),r.t=n,r.clamp()},e.prototype.multiplyTo=function(t,r){var n=this.abs(),i=t.abs(),s=n.t;for(r.t=s+i.t;--s>=0;)r[s]=0;for(s=0;s<i.t;++s)r[s+n.t]=n.am(0,i[s],r,s,0,n.t);r.s=0,r.clamp(),this.s!=t.s&&e.ZERO.subTo(r,r)},e.prototype.squareTo=function(t){for(var r=this.abs(),n=t.t=2*r.t;--n>=0;)t[n]=0;for(n=0;n<r.t-1;++n){var i=r.am(n,r[n],t,2*n,0,1);(t[n+r.t]+=r.am(n+1,2*r[n],t,2*n+1,i,r.t-n-1))>=r.DV&&(t[n+r.t]-=r.DV,t[n+r.t+1]=1)}t.t>0&&(t[t.t-1]+=r.am(n,r[n],t,2*n,0,1)),t.s=0,t.clamp()},e.prototype.divRemTo=function(t,r,n){var i=t.abs();if(!(i.t<=0)){var s=this.abs();if(s.t<i.t){r!=null&&r.fromInt(0),n!=null&&this.copyTo(n);return}n==null&&(n=Le());var o=Le(),a=this.s,u=t.s,l=this.DB-so(i[i.t-1]);l>0?(i.lShiftTo(l,o),s.lShiftTo(l,n)):(i.copyTo(o),s.copyTo(n));var c=o.t,d=o[c-1];if(d!=0){var f=d*(1<<this.F1)+(c>1?o[c-2]>>this.F2:0),h=this.FV/f,p=(1<<this.F1)/f,g=1<<this.F2,x=n.t,m=x-c,v=r==null?Le():r;for(o.dlShiftTo(m,v),n.compareTo(v)>=0&&(n[n.t++]=1,n.subTo(v,n)),e.ONE.dlShiftTo(c,v),v.subTo(o,o);o.t<c;)o[o.t++]=0;for(;--m>=0;){var y=n[--x]==d?this.DM:Math.floor(n[x]*h+(n[x-1]+g)*p);if((n[x]+=o.am(0,y,n,m,0,c))<y)for(o.dlShiftTo(m,v),n.subTo(v,n);n[x]<--y;)n.subTo(v,n)}r!=null&&(n.drShiftTo(c,r),a!=u&&e.ZERO.subTo(r,r)),n.t=c,n.clamp(),l>0&&n.rShiftTo(l,n),a<0&&e.ZERO.subTo(n,n)}}},e.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if((t&1)==0)return 0;var r=t&3;return r=r*(2-(t&15)*r)&15,r=r*(2-(t&255)*r)&255,r=r*(2-((t&65535)*r&65535))&65535,r=r*(2-t*r%this.DV)%this.DV,r>0?this.DV-r:-r},e.prototype.isEven=function(){return(this.t>0?this[0]&1:this.s)==0},e.prototype.exp=function(t,r){if(t>4294967295||t<1)return e.ONE;var n=Le(),i=Le(),s=r.convert(this),o=so(t)-1;for(s.copyTo(n);--o>=0;)if(r.sqrTo(n,i),(t&1<<o)>0)r.mulTo(i,s,n);else{var a=n;n=i,i=a}return r.revert(n)},e.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},e.prototype.toRadix=function(t){if(t==null&&(t=10),this.signum()==0||t<2||t>36)return\"0\";var r=this.chunkSize(t),n=Math.pow(t,r),i=Nr(n),s=Le(),o=Le(),a=\"\";for(this.divRemTo(i,s,o);s.signum()>0;)a=(n+o.intValue()).toString(t).substr(1)+a,s.divRemTo(i,s,o);return o.intValue().toString(t)+a},e.prototype.fromRadix=function(t,r){this.fromInt(0),r==null&&(r=10);for(var n=this.chunkSize(r),i=Math.pow(r,n),s=!1,o=0,a=0,u=0;u<t.length;++u){var l=gf(t,u);if(l<0){t.charAt(u)==\"-\"&&this.signum()==0&&(s=!0);continue}a=r*a+l,++o>=n&&(this.dMultiply(i),this.dAddOffset(a,0),o=0,a=0)}o>0&&(this.dMultiply(Math.pow(r,o)),this.dAddOffset(a,0)),s&&e.ZERO.subTo(this,this)},e.prototype.fromNumber=function(t,r,n){if(typeof r==\"number\")if(t<2)this.fromInt(1);else for(this.fromNumber(t,n),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),io,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(r);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(e.ONE.shiftLeft(t-1),this);else{var i=[],s=t&7;i.length=(t>>3)+1,r.nextBytes(i),s>0?i[0]&=(1<<s)-1:i[0]=0,this.fromString(i,256)}},e.prototype.bitwiseTo=function(t,r,n){var i,s,o=Math.min(t.t,this.t);for(i=0;i<o;++i)n[i]=r(this[i],t[i]);if(t.t<this.t){for(s=t.s&this.DM,i=o;i<this.t;++i)n[i]=r(this[i],s);n.t=this.t}else{for(s=this.s&this.DM,i=o;i<t.t;++i)n[i]=r(s,t[i]);n.t=t.t}n.s=r(this.s,t.s),n.clamp()},e.prototype.changeBit=function(t,r){var n=e.ONE.shiftLeft(t);return this.bitwiseTo(n,r,n),n},e.prototype.addTo=function(t,r){for(var n=0,i=0,s=Math.min(t.t,this.t);n<s;)i+=this[n]+t[n],r[n++]=i&this.DM,i>>=this.DB;if(t.t<this.t){for(i+=t.s;n<this.t;)i+=this[n],r[n++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;n<t.t;)i+=t[n],r[n++]=i&this.DM,i>>=this.DB;i+=t.s}r.s=i<0?-1:0,i>0?r[n++]=i:i<-1&&(r[n++]=this.DV+i),r.t=n,r.clamp()},e.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},e.prototype.dAddOffset=function(t,r){if(t!=0){for(;this.t<=r;)this[this.t++]=0;for(this[r]+=t;this[r]>=this.DV;)this[r]-=this.DV,++r>=this.t&&(this[this.t++]=0),++this[r]}},e.prototype.multiplyLowerTo=function(t,r,n){var i=Math.min(this.t+t.t,r);for(n.s=0,n.t=i;i>0;)n[--i]=0;for(var s=n.t-this.t;i<s;++i)n[i+this.t]=this.am(0,t[i],n,i,0,this.t);for(var s=Math.min(t.t,r);i<s;++i)this.am(0,t[i],n,i,0,r-i);n.clamp()},e.prototype.multiplyUpperTo=function(t,r,n){--r;var i=n.t=this.t+t.t-r;for(n.s=0;--i>=0;)n[i]=0;for(i=Math.max(r-this.t,0);i<t.t;++i)n[this.t+i-r]=this.am(r-i,t[i],n,0,0,this.t+i-r);n.clamp(),n.drShiftTo(1,n)},e.prototype.modInt=function(t){if(t<=0)return 0;var r=this.DV%t,n=this.s<0?t-1:0;if(this.t>0)if(r==0)n=this[0]%t;else for(var i=this.t-1;i>=0;--i)n=(r*n+this[i])%t;return n},e.prototype.millerRabin=function(t){var r=this.subtract(e.ONE),n=r.getLowestSetBit();if(n<=0)return!1;var i=r.shiftRight(n);t=t+1>>1,t>Ft.length&&(t=Ft.length);for(var s=Le(),o=0;o<t;++o){s.fromInt(Ft[Math.floor(Math.random()*Ft.length)]);var a=s.modPow(i,this);if(a.compareTo(e.ONE)!=0&&a.compareTo(r)!=0){for(var u=1;u++<n&&a.compareTo(r)!=0;)if(a=a.modPowInt(2,this),a.compareTo(e.ONE)==0)return!1;if(a.compareTo(r)!=0)return!1}}return!0},e.prototype.square=function(){var t=Le();return this.squareTo(t),t},e.prototype.gcda=function(t,r){var n=this.s<0?this.negate():this.clone(),i=t.s<0?t.negate():t.clone();if(n.compareTo(i)<0){var s=n;n=i,i=s}var o=n.getLowestSetBit(),a=i.getLowestSetBit();if(a<0){r(n);return}o<a&&(a=o),a>0&&(n.rShiftTo(a,n),i.rShiftTo(a,i));var u=function(){(o=n.getLowestSetBit())>0&&n.rShiftTo(o,n),(o=i.getLowestSetBit())>0&&i.rShiftTo(o,i),n.compareTo(i)>=0?(n.subTo(i,n),n.rShiftTo(1,n)):(i.subTo(n,i),i.rShiftTo(1,i)),n.signum()>0?setTimeout(u,0):(a>0&&i.lShiftTo(a,i),setTimeout(function(){r(i)},0))};setTimeout(u,10)},e.prototype.fromNumberAsync=function(t,r,n,i){if(typeof r==\"number\")if(t<2)this.fromInt(1);else{this.fromNumber(t,n),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),io,this),this.isEven()&&this.dAddOffset(1,0);var s=this,o=function(){s.dAddOffset(2,0),s.bitLength()>t&&s.subTo(e.ONE.shiftLeft(t-1),s),s.isProbablePrime(r)?setTimeout(function(){i()},0):setTimeout(o,0)};setTimeout(o,0)}else{var a=[],u=t&7;a.length=(t>>3)+1,r.nextBytes(a),u>0?a[0]&=(1<<u)-1:a[0]=0,this.fromString(a,256)}},e}(),P5=function(){function e(){}return e.prototype.convert=function(t){return t},e.prototype.revert=function(t){return t},e.prototype.mulTo=function(t,r,n){t.multiplyTo(r,n)},e.prototype.sqrTo=function(t,r){t.squareTo(r)},e}(),hf=function(){function e(t){this.m=t}return e.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},e.prototype.revert=function(t){return t},e.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},e.prototype.mulTo=function(t,r,n){t.multiplyTo(r,n),this.reduce(n)},e.prototype.sqrTo=function(t,r){t.squareTo(r),this.reduce(r)},e}(),pf=function(){function e(t){this.m=t,this.mp=t.invDigit(),this.mpl=this.mp&32767,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}return e.prototype.convert=function(t){var r=Le();return t.abs().dlShiftTo(this.m.t,r),r.divRemTo(this.m,null,r),t.s<0&&r.compareTo(Oe.ZERO)>0&&this.m.subTo(r,r),r},e.prototype.revert=function(t){var r=Le();return t.copyTo(r),this.reduce(r),r},e.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var r=0;r<this.m.t;++r){var n=t[r]&32767,i=n*this.mpl+((n*this.mph+(t[r]>>15)*this.mpl&this.um)<<15)&t.DM;for(n=r+this.m.t,t[n]+=this.m.am(0,i,t,r,0,this.m.t);t[n]>=t.DV;)t[n]-=t.DV,t[++n]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},e.prototype.mulTo=function(t,r,n){t.multiplyTo(r,n),this.reduce(n)},e.prototype.sqrTo=function(t,r){t.squareTo(r),this.reduce(r)},e}(),O5=function(){function e(t){this.m=t,this.r2=Le(),this.q3=Le(),Oe.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t)}return e.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var r=Le();return t.copyTo(r),this.reduce(r),r},e.prototype.revert=function(t){return t},e.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)},e.prototype.mulTo=function(t,r,n){t.multiplyTo(r,n),this.reduce(n)},e.prototype.sqrTo=function(t,r){t.squareTo(r),this.reduce(r)},e}();function Le(){return new Oe(null)}function nt(e,t){return new Oe(e,t)}var vf=typeof navigator!=\"undefined\";vf&&df&&navigator.appName==\"Microsoft Internet Explorer\"?(Oe.prototype.am=function(t,r,n,i,s,o){for(var a=r&32767,u=r>>15;--o>=0;){var l=this[t]&32767,c=this[t++]>>15,d=u*l+c*a;l=a*l+((d&32767)<<15)+n[i]+(s&1073741823),s=(l>>>30)+(d>>>15)+u*c+(s>>>30),n[i++]=l&1073741823}return s},on=30):vf&&df&&navigator.appName!=\"Netscape\"?(Oe.prototype.am=function(t,r,n,i,s,o){for(;--o>=0;){var a=r*this[t++]+n[i]+s;s=Math.floor(a/67108864),n[i++]=a&67108863}return s},on=26):(Oe.prototype.am=function(t,r,n,i,s,o){for(var a=r&16383,u=r>>14;--o>=0;){var l=this[t]&16383,c=this[t++]>>14,d=u*l+c*a;l=a*l+((d&16383)<<14)+n[i]+s,s=(l>>28)+(d>>14)+u*c,n[i++]=l&268435455}return s},on=28);Oe.prototype.DB=on;Oe.prototype.DM=(1<<on)-1;Oe.prototype.DV=1<<on;var i0=52;Oe.prototype.FV=Math.pow(2,i0);Oe.prototype.F1=i0-on;Oe.prototype.F2=2*on-i0;var Ba=[],Ti,Qt;Ti=\"0\".charCodeAt(0);for(Qt=0;Qt<=9;++Qt)Ba[Ti++]=Qt;Ti=\"a\".charCodeAt(0);for(Qt=10;Qt<36;++Qt)Ba[Ti++]=Qt;Ti=\"A\".charCodeAt(0);for(Qt=10;Qt<36;++Qt)Ba[Ti++]=Qt;function gf(e,t){var r=Ba[e.charCodeAt(t)];return r==null?-1:r}function Nr(e){var t=Le();return t.fromInt(e),t}function so(e){var t=1,r;return(r=e>>>16)!=0&&(e=r,t+=16),(r=e>>8)!=0&&(e=r,t+=8),(r=e>>4)!=0&&(e=r,t+=4),(r=e>>2)!=0&&(e=r,t+=2),(r=e>>1)!=0&&(e=r,t+=1),t}Oe.ZERO=Nr(0);Oe.ONE=Nr(1);var R5=function(){function e(){this.i=0,this.j=0,this.S=[]}return e.prototype.init=function(t){var r,n,i;for(r=0;r<256;++r)this.S[r]=r;for(n=0,r=0;r<256;++r)n=n+this.S[r]+t[r%t.length]&255,i=this.S[r],this.S[r]=this.S[n],this.S[n]=i;this.i=0,this.j=0},e.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]},e}();function M5(){return new R5}var Ev=256,oo,rn=null,Nt;if(rn==null){rn=[],Nt=0;var ao=void 0;if(typeof window!=\"undefined\"&&window.crypto&&window.crypto.getRandomValues){var nu=new Uint32Array(256);for(window.crypto.getRandomValues(nu),ao=0;ao<nu.length;++ao)rn[Nt++]=nu[ao]&255}var uo=0,lo=function(e){if(uo=uo||0,uo>=256||Nt>=Ev){window.removeEventListener?window.removeEventListener(\"mousemove\",lo,!1):window.detachEvent&&window.detachEvent(\"onmousemove\",lo);return}try{var t=e.x+e.y;rn[Nt++]=t&255,uo+=1}catch{}};typeof window!=\"undefined\"&&(window.addEventListener?window.addEventListener(\"mousemove\",lo,!1):window.attachEvent&&window.attachEvent(\"onmousemove\",lo))}function L5(){if(oo==null){for(oo=M5();Nt<Ev;){var e=Math.floor(65536*Math.random());rn[Nt++]=e&255}for(oo.init(rn),Nt=0;Nt<rn.length;++Nt)rn[Nt]=0;Nt=0}return oo.next()}var Ku=function(){function e(){}return e.prototype.nextBytes=function(t){for(var r=0;r<t.length;++r)t[r]=L5()},e}();function $5(e,t){if(t<e.length+22)return console.error(\"Message too long for RSA\"),null;for(var r=t-e.length-6,n=\"\",i=0;i<r;i+=2)n+=\"ff\";var s=\"0001\"+n+\"00\"+e;return nt(s,16)}function j5(e,t){if(t<e.length+11)return console.error(\"Message too long for RSA\"),null;for(var r=[],n=e.length-1;n>=0&&t>0;){var i=e.charCodeAt(n--);i<128?r[--t]=i:i>127&&i<2048?(r[--t]=i&63|128,r[--t]=i>>6|192):(r[--t]=i&63|128,r[--t]=i>>6&63|128,r[--t]=i>>12|224)}r[--t]=0;for(var s=new Ku,o=[];t>2;){for(o[0]=0;o[0]==0;)s.nextBytes(o);r[--t]=o[0]}return r[--t]=2,r[--t]=0,new Oe(r)}var V5=function(){function e(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return e.prototype.doPublic=function(t){return t.modPowInt(this.e,this.n)},e.prototype.doPrivate=function(t){if(this.p==null||this.q==null)return t.modPow(this.d,this.n);for(var r=t.mod(this.p).modPow(this.dmp1,this.p),n=t.mod(this.q).modPow(this.dmq1,this.q);r.compareTo(n)<0;)r=r.add(this.p);return r.subtract(n).multiply(this.coeff).mod(this.p).multiply(this.q).add(n)},e.prototype.setPublic=function(t,r){t!=null&&r!=null&&t.length>0&&r.length>0?(this.n=nt(t,16),this.e=parseInt(r,16)):console.error(\"Invalid RSA public key\")},e.prototype.encrypt=function(t){var r=this.n.bitLength()+7>>3,n=j5(t,r);if(n==null)return null;var i=this.doPublic(n);if(i==null)return null;for(var s=i.toString(16),o=s.length,a=0;a<r*2-o;a++)s=\"0\"+s;return s},e.prototype.setPrivate=function(t,r,n){t!=null&&r!=null&&t.length>0&&r.length>0?(this.n=nt(t,16),this.e=parseInt(r,16),this.d=nt(n,16)):console.error(\"Invalid RSA private key\")},e.prototype.setPrivateEx=function(t,r,n,i,s,o,a,u){t!=null&&r!=null&&t.length>0&&r.length>0?(this.n=nt(t,16),this.e=parseInt(r,16),this.d=nt(n,16),this.p=nt(i,16),this.q=nt(s,16),this.dmp1=nt(o,16),this.dmq1=nt(a,16),this.coeff=nt(u,16)):console.error(\"Invalid RSA private key\")},e.prototype.generate=function(t,r){var n=new Ku,i=t>>1;this.e=parseInt(r,16);for(var s=new Oe(r,16);;){for(;this.p=new Oe(t-i,1,n),!(this.p.subtract(Oe.ONE).gcd(s).compareTo(Oe.ONE)==0&&this.p.isProbablePrime(10)););for(;this.q=new Oe(i,1,n),!(this.q.subtract(Oe.ONE).gcd(s).compareTo(Oe.ONE)==0&&this.q.isProbablePrime(10)););if(this.p.compareTo(this.q)<=0){var o=this.p;this.p=this.q,this.q=o}var a=this.p.subtract(Oe.ONE),u=this.q.subtract(Oe.ONE),l=a.multiply(u);if(l.gcd(s).compareTo(Oe.ONE)==0){this.n=this.p.multiply(this.q),this.d=s.modInverse(l),this.dmp1=this.d.mod(a),this.dmq1=this.d.mod(u),this.coeff=this.q.modInverse(this.p);break}}},e.prototype.decrypt=function(t){var r=nt(t,16),n=this.doPrivate(r);return n==null?null:U5(n,this.n.bitLength()+7>>3)},e.prototype.generateAsync=function(t,r,n){var i=new Ku,s=t>>1;this.e=parseInt(r,16);var o=new Oe(r,16),a=this,u=function(){var l=function(){if(a.p.compareTo(a.q)<=0){var f=a.p;a.p=a.q,a.q=f}var h=a.p.subtract(Oe.ONE),p=a.q.subtract(Oe.ONE),g=h.multiply(p);g.gcd(o).compareTo(Oe.ONE)==0?(a.n=a.p.multiply(a.q),a.d=o.modInverse(g),a.dmp1=a.d.mod(h),a.dmq1=a.d.mod(p),a.coeff=a.q.modInverse(a.p),setTimeout(function(){n()},0)):setTimeout(u,0)},c=function(){a.q=Le(),a.q.fromNumberAsync(s,1,i,function(){a.q.subtract(Oe.ONE).gcda(o,function(f){f.compareTo(Oe.ONE)==0&&a.q.isProbablePrime(10)?setTimeout(l,0):setTimeout(c,0)})})},d=function(){a.p=Le(),a.p.fromNumberAsync(t-s,1,i,function(){a.p.subtract(Oe.ONE).gcda(o,function(f){f.compareTo(Oe.ONE)==0&&a.p.isProbablePrime(10)?setTimeout(c,0):setTimeout(d,0)})})};setTimeout(d,0)};setTimeout(u,0)},e.prototype.sign=function(t,r,n){var i=W5(n),s=i+r(t).toString(),o=$5(s,this.n.bitLength()/4);if(o==null)return null;var a=this.doPrivate(o);if(a==null)return null;var u=a.toString(16);return(u.length&1)==0?u:\"0\"+u},e.prototype.verify=function(t,r,n){var i=nt(r,16),s=this.doPublic(i);if(s==null)return null;var o=s.toString(16).replace(/^1f+00/,\"\"),a=z5(o);return a==n(t).toString()},e}();function U5(e,t){for(var r=e.toByteArray(),n=0;n<r.length&&r[n]==0;)++n;if(r.length-n!=t-1||r[n]!=2)return null;for(++n;r[n]!=0;)if(++n>=r.length)return null;for(var i=\"\";++n<r.length;){var s=r[n]&255;s<128?i+=String.fromCharCode(s):s>191&&s<224?(i+=String.fromCharCode((s&31)<<6|r[n+1]&63),++n):(i+=String.fromCharCode((s&15)<<12|(r[n+1]&63)<<6|r[n+2]&63),n+=2)}return i}var Eo={md2:\"3020300c06082a864886f70d020205000410\",md5:\"3020300c06082a864886f70d020505000410\",sha1:\"3021300906052b0e03021a05000414\",sha224:\"302d300d06096086480165030402040500041c\",sha256:\"3031300d060960864801650304020105000420\",sha384:\"3041300d060960864801650304020205000430\",sha512:\"3051300d060960864801650304020305000440\",ripemd160:\"3021300906052b2403020105000414\"};function W5(e){return Eo[e]||\"\"}function z5(e){for(var t in Eo)if(Eo.hasOwnProperty(t)){var r=Eo[t],n=r.length;if(e.substr(0,n)==r)return e.substr(n)}return e}/*!\nCopyright (c) 2011, Yahoo! Inc. All rights reserved.\nCode licensed under the BSD License:\nhttp://developer.yahoo.com/yui/license.html\nversion: 2.9.0\n*/var ut={};ut.lang={extend:function(e,t,r){if(!t||!e)throw new Error(\"YAHOO.lang.extend failed, please check that all dependencies are included.\");var n=function(){};if(n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.superclass=t.prototype,t.prototype.constructor==Object.prototype.constructor&&(t.prototype.constructor=t),r){var i;for(i in r)e.prototype[i]=r[i];var s=function(){},o=[\"toString\",\"valueOf\"];try{/MSIE/.test(navigator.userAgent)&&(s=function(a,u){for(i=0;i<o.length;i=i+1){var l=o[i],c=u[l];typeof c==\"function\"&&c!=Object.prototype[l]&&(a[l]=c)}})}catch{}s(e.prototype,r)}}};/**\n * @fileOverview\n * @name asn1-1.0.js\n * @author Kenji Urushima kenji.urushima@gmail.com\n * @version asn1 1.0.13 (2017-Jun-02)\n * @since jsrsasign 2.1\n * @license <a href=\"https://kjur.github.io/jsrsasign/license/\">MIT License</a>\n */var q={};(typeof q.asn1==\"undefined\"||!q.asn1)&&(q.asn1={});q.asn1.ASN1Util=new function(){this.integerToByteHex=function(e){var t=e.toString(16);return t.length%2==1&&(t=\"0\"+t),t},this.bigIntToMinTwosComplementsHex=function(e){var t=e.toString(16);if(t.substr(0,1)!=\"-\")t.length%2==1?t=\"0\"+t:t.match(/^[0-7]/)||(t=\"00\"+t);else{var r=t.substr(1),n=r.length;n%2==1?n+=1:t.match(/^[0-7]/)||(n+=2);for(var i=\"\",s=0;s<n;s++)i+=\"f\";var o=new Oe(i,16),a=o.xor(e).add(Oe.ONE);t=a.toString(16).replace(/^-/,\"\")}return t},this.getPEMStringFromHex=function(e,t){return hextopem(e,t)},this.newObject=function(e){var t=q,r=t.asn1,n=r.DERBoolean,i=r.DERInteger,s=r.DERBitString,o=r.DEROctetString,a=r.DERNull,u=r.DERObjectIdentifier,l=r.DEREnumerated,c=r.DERUTF8String,d=r.DERNumericString,f=r.DERPrintableString,h=r.DERTeletexString,p=r.DERIA5String,g=r.DERUTCTime,x=r.DERGeneralizedTime,m=r.DERSequence,v=r.DERSet,y=r.DERTaggedObject,_=r.ASN1Util.newObject,A=Object.keys(e);if(A.length!=1)throw\"key of param shall be only one.\";var E=A[0];if(\":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:\".indexOf(\":\"+E+\":\")==-1)throw\"undefined key: \"+E;if(E==\"bool\")return new n(e[E]);if(E==\"int\")return new i(e[E]);if(E==\"bitstr\")return new s(e[E]);if(E==\"octstr\")return new o(e[E]);if(E==\"null\")return new a(e[E]);if(E==\"oid\")return new u(e[E]);if(E==\"enum\")return new l(e[E]);if(E==\"utf8str\")return new c(e[E]);if(E==\"numstr\")return new d(e[E]);if(E==\"prnstr\")return new f(e[E]);if(E==\"telstr\")return new h(e[E]);if(E==\"ia5str\")return new p(e[E]);if(E==\"utctime\")return new g(e[E]);if(E==\"gentime\")return new x(e[E]);if(E==\"seq\"){for(var B=e[E],S=[],T=0;T<B.length;T++){var C=_(B[T]);S.push(C)}return new m({array:S})}if(E==\"set\"){for(var B=e[E],S=[],T=0;T<B.length;T++){var C=_(B[T]);S.push(C)}return new v({array:S})}if(E==\"tag\"){var w=e[E];if(Object.prototype.toString.call(w)===\"[object Array]\"&&w.length==3){var D=_(w[2]);return new y({tag:w[0],explicit:w[1],obj:D})}else{var k={};if(w.explicit!==void 0&&(k.explicit=w.explicit),w.tag!==void 0&&(k.tag=w.tag),w.obj===void 0)throw\"obj shall be specified for 'tag'.\";return k.obj=_(w.obj),new y(k)}}},this.jsonToASN1HEX=function(e){var t=this.newObject(e);return t.getEncodedHex()}};q.asn1.ASN1Util.oidHexToInt=function(e){for(var i=\"\",t=parseInt(e.substr(0,2),16),r=Math.floor(t/40),n=t%40,i=r+\".\"+n,s=\"\",o=2;o<e.length;o+=2){var a=parseInt(e.substr(o,2),16),u=(\"00000000\"+a.toString(2)).slice(-8);if(s=s+u.substr(1,7),u.substr(0,1)==\"0\"){var l=new Oe(s,2);i=i+\".\"+l.toString(10),s=\"\"}}return i};q.asn1.ASN1Util.oidIntToHex=function(e){var t=function(a){var u=a.toString(16);return u.length==1&&(u=\"0\"+u),u},r=function(a){var u=\"\",l=new Oe(a,10),c=l.toString(2),d=7-c.length%7;d==7&&(d=0);for(var f=\"\",h=0;h<d;h++)f+=\"0\";c=f+c;for(var h=0;h<c.length-1;h+=7){var p=c.substr(h,7);h!=c.length-7&&(p=\"1\"+p),u+=t(parseInt(p,2))}return u};if(!e.match(/^[0-9.]+$/))throw\"malformed oid string: \"+e;var n=\"\",i=e.split(\".\"),s=parseInt(i[0])*40+parseInt(i[1]);n+=t(s),i.splice(0,2);for(var o=0;o<i.length;o++)n+=r(i[o]);return n};q.asn1.ASN1Object=function(){var e=\"\";this.getLengthHexFromValue=function(){if(typeof this.hV==\"undefined\"||this.hV==null)throw\"this.hV is null or undefined.\";if(this.hV.length%2==1)throw\"value hex must be even length: n=\"+e.length+\",v=\"+this.hV;var t=this.hV.length/2,r=t.toString(16);if(r.length%2==1&&(r=\"0\"+r),t<128)return r;var n=r.length/2;if(n>15)throw\"ASN.1 length too long to represent by 8x: n = \"+t.toString(16);var i=128+n;return i.toString(16)+r},this.getEncodedHex=function(){return(this.hTLV==null||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return\"\"}};q.asn1.DERAbstractString=function(e){q.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(this.s)},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},typeof e!=\"undefined\"&&(typeof e==\"string\"?this.setString(e):typeof e.str!=\"undefined\"?this.setString(e.str):typeof e.hex!=\"undefined\"&&this.setStringHex(e.hex))};ut.lang.extend(q.asn1.DERAbstractString,q.asn1.ASN1Object);q.asn1.DERAbstractTime=function(e){q.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(t){utc=t.getTime()+t.getTimezoneOffset()*6e4;var r=new Date(utc);return r},this.formatDate=function(t,r,n){var i=this.zeroPadding,s=this.localDateToUTC(t),o=String(s.getFullYear());r==\"utc\"&&(o=o.substr(2,2));var a=i(String(s.getMonth()+1),2),u=i(String(s.getDate()),2),l=i(String(s.getHours()),2),c=i(String(s.getMinutes()),2),d=i(String(s.getSeconds()),2),f=o+a+u+l+c+d;if(n===!0){var h=s.getMilliseconds();if(h!=0){var p=i(String(h),3);p=p.replace(/[0]+$/,\"\"),f=f+\".\"+p}}return f+\"Z\"},this.zeroPadding=function(t,r){return t.length>=r?t:new Array(r-t.length+1).join(\"0\")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(t)},this.setByDateValue=function(t,r,n,i,s,o){var a=new Date(Date.UTC(t,r-1,n,i,s,o,0));this.setByDate(a)},this.getFreshValueHex=function(){return this.hV}};ut.lang.extend(q.asn1.DERAbstractTime,q.asn1.ASN1Object);q.asn1.DERAbstractStructured=function(e){q.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,typeof e!=\"undefined\"&&typeof e.array!=\"undefined\"&&(this.asn1Array=e.array)};ut.lang.extend(q.asn1.DERAbstractStructured,q.asn1.ASN1Object);q.asn1.DERBoolean=function(){q.asn1.DERBoolean.superclass.constructor.call(this),this.hT=\"01\",this.hTLV=\"0101ff\"};ut.lang.extend(q.asn1.DERBoolean,q.asn1.ASN1Object);q.asn1.DERInteger=function(e){q.asn1.DERInteger.superclass.constructor.call(this),this.hT=\"02\",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=q.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var r=new Oe(String(t),10);this.setByBigInteger(r)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},typeof e!=\"undefined\"&&(typeof e.bigint!=\"undefined\"?this.setByBigInteger(e.bigint):typeof e.int!=\"undefined\"?this.setByInteger(e.int):typeof e==\"number\"?this.setByInteger(e):typeof e.hex!=\"undefined\"&&this.setValueHex(e.hex))};ut.lang.extend(q.asn1.DERInteger,q.asn1.ASN1Object);q.asn1.DERBitString=function(e){if(e!==void 0&&typeof e.obj!=\"undefined\"){var t=q.asn1.ASN1Util.newObject(e.obj);e.hex=\"00\"+t.getEncodedHex()}q.asn1.DERBitString.superclass.constructor.call(this),this.hT=\"03\",this.setHexValueIncludingUnusedBits=function(r){this.hTLV=null,this.isModified=!0,this.hV=r},this.setUnusedBitsAndHexValue=function(r,n){if(r<0||7<r)throw\"unused bits shall be from 0 to 7: u = \"+r;var i=\"0\"+r;this.hTLV=null,this.isModified=!0,this.hV=i+n},this.setByBinaryString=function(r){r=r.replace(/0+$/,\"\");var n=8-r.length%8;n==8&&(n=0);for(var i=0;i<=n;i++)r+=\"0\";for(var s=\"\",i=0;i<r.length-1;i+=8){var o=r.substr(i,8),a=parseInt(o,2).toString(16);a.length==1&&(a=\"0\"+a),s+=a}this.hTLV=null,this.isModified=!0,this.hV=\"0\"+n+s},this.setByBooleanArray=function(r){for(var n=\"\",i=0;i<r.length;i++)r[i]==!0?n+=\"1\":n+=\"0\";this.setByBinaryString(n)},this.newFalseArray=function(r){for(var n=new Array(r),i=0;i<r;i++)n[i]=!1;return n},this.getFreshValueHex=function(){return this.hV},typeof e!=\"undefined\"&&(typeof e==\"string\"&&e.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(e):typeof e.hex!=\"undefined\"?this.setHexValueIncludingUnusedBits(e.hex):typeof e.bin!=\"undefined\"?this.setByBinaryString(e.bin):typeof e.array!=\"undefined\"&&this.setByBooleanArray(e.array))};ut.lang.extend(q.asn1.DERBitString,q.asn1.ASN1Object);q.asn1.DEROctetString=function(e){if(e!==void 0&&typeof e.obj!=\"undefined\"){var t=q.asn1.ASN1Util.newObject(e.obj);e.hex=t.getEncodedHex()}q.asn1.DEROctetString.superclass.constructor.call(this,e),this.hT=\"04\"};ut.lang.extend(q.asn1.DEROctetString,q.asn1.DERAbstractString);q.asn1.DERNull=function(){q.asn1.DERNull.superclass.constructor.call(this),this.hT=\"05\",this.hTLV=\"0500\"};ut.lang.extend(q.asn1.DERNull,q.asn1.ASN1Object);q.asn1.DERObjectIdentifier=function(e){var t=function(n){var i=n.toString(16);return i.length==1&&(i=\"0\"+i),i},r=function(n){var i=\"\",s=new Oe(n,10),o=s.toString(2),a=7-o.length%7;a==7&&(a=0);for(var u=\"\",l=0;l<a;l++)u+=\"0\";o=u+o;for(var l=0;l<o.length-1;l+=7){var c=o.substr(l,7);l!=o.length-7&&(c=\"1\"+c),i+=t(parseInt(c,2))}return i};q.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT=\"06\",this.setValueHex=function(n){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=n},this.setValueOidString=function(n){if(!n.match(/^[0-9.]+$/))throw\"malformed oid string: \"+n;var i=\"\",s=n.split(\".\"),o=parseInt(s[0])*40+parseInt(s[1]);i+=t(o),s.splice(0,2);for(var a=0;a<s.length;a++)i+=r(s[a]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=i},this.setValueName=function(n){var i=q.asn1.x509.OID.name2oid(n);if(i!==\"\")this.setValueOidString(i);else throw\"DERObjectIdentifier oidName undefined: \"+n},this.getFreshValueHex=function(){return this.hV},e!==void 0&&(typeof e==\"string\"?e.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(e):this.setValueName(e):e.oid!==void 0?this.setValueOidString(e.oid):e.hex!==void 0?this.setValueHex(e.hex):e.name!==void 0&&this.setValueName(e.name))};ut.lang.extend(q.asn1.DERObjectIdentifier,q.asn1.ASN1Object);q.asn1.DEREnumerated=function(e){q.asn1.DEREnumerated.superclass.constructor.call(this),this.hT=\"0a\",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=q.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var r=new Oe(String(t),10);this.setByBigInteger(r)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},typeof e!=\"undefined\"&&(typeof e.int!=\"undefined\"?this.setByInteger(e.int):typeof e==\"number\"?this.setByInteger(e):typeof e.hex!=\"undefined\"&&this.setValueHex(e.hex))};ut.lang.extend(q.asn1.DEREnumerated,q.asn1.ASN1Object);q.asn1.DERUTF8String=function(e){q.asn1.DERUTF8String.superclass.constructor.call(this,e),this.hT=\"0c\"};ut.lang.extend(q.asn1.DERUTF8String,q.asn1.DERAbstractString);q.asn1.DERNumericString=function(e){q.asn1.DERNumericString.superclass.constructor.call(this,e),this.hT=\"12\"};ut.lang.extend(q.asn1.DERNumericString,q.asn1.DERAbstractString);q.asn1.DERPrintableString=function(e){q.asn1.DERPrintableString.superclass.constructor.call(this,e),this.hT=\"13\"};ut.lang.extend(q.asn1.DERPrintableString,q.asn1.DERAbstractString);q.asn1.DERTeletexString=function(e){q.asn1.DERTeletexString.superclass.constructor.call(this,e),this.hT=\"14\"};ut.lang.extend(q.asn1.DERTeletexString,q.asn1.DERAbstractString);q.asn1.DERIA5String=function(e){q.asn1.DERIA5String.superclass.constructor.call(this,e),this.hT=\"16\"};ut.lang.extend(q.asn1.DERIA5String,q.asn1.DERAbstractString);q.asn1.DERUTCTime=function(e){q.asn1.DERUTCTime.superclass.constructor.call(this,e),this.hT=\"17\",this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,\"utc\"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return typeof this.date==\"undefined\"&&typeof this.s==\"undefined\"&&(this.date=new Date,this.s=this.formatDate(this.date,\"utc\"),this.hV=stohex(this.s)),this.hV},e!==void 0&&(e.str!==void 0?this.setString(e.str):typeof e==\"string\"&&e.match(/^[0-9]{12}Z$/)?this.setString(e):e.hex!==void 0?this.setStringHex(e.hex):e.date!==void 0&&this.setByDate(e.date))};ut.lang.extend(q.asn1.DERUTCTime,q.asn1.DERAbstractTime);q.asn1.DERGeneralizedTime=function(e){q.asn1.DERGeneralizedTime.superclass.constructor.call(this,e),this.hT=\"18\",this.withMillis=!1,this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,\"gen\",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return this.date===void 0&&this.s===void 0&&(this.date=new Date,this.s=this.formatDate(this.date,\"gen\",this.withMillis),this.hV=stohex(this.s)),this.hV},e!==void 0&&(e.str!==void 0?this.setString(e.str):typeof e==\"string\"&&e.match(/^[0-9]{14}Z$/)?this.setString(e):e.hex!==void 0?this.setStringHex(e.hex):e.date!==void 0&&this.setByDate(e.date),e.millis===!0&&(this.withMillis=!0))};ut.lang.extend(q.asn1.DERGeneralizedTime,q.asn1.DERAbstractTime);q.asn1.DERSequence=function(e){q.asn1.DERSequence.superclass.constructor.call(this,e),this.hT=\"30\",this.getFreshValueHex=function(){for(var t=\"\",r=0;r<this.asn1Array.length;r++){var n=this.asn1Array[r];t+=n.getEncodedHex()}return this.hV=t,this.hV}};ut.lang.extend(q.asn1.DERSequence,q.asn1.DERAbstractStructured);q.asn1.DERSet=function(e){q.asn1.DERSet.superclass.constructor.call(this,e),this.hT=\"31\",this.sortFlag=!0,this.getFreshValueHex=function(){for(var t=new Array,r=0;r<this.asn1Array.length;r++){var n=this.asn1Array[r];t.push(n.getEncodedHex())}return this.sortFlag==!0&&t.sort(),this.hV=t.join(\"\"),this.hV},typeof e!=\"undefined\"&&typeof e.sortflag!=\"undefined\"&&e.sortflag==!1&&(this.sortFlag=!1)};ut.lang.extend(q.asn1.DERSet,q.asn1.DERAbstractStructured);q.asn1.DERTaggedObject=function(e){q.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT=\"a0\",this.hV=\"\",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(t,r,n){this.hT=r,this.isExplicit=t,this.asn1Object=n,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=n.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,r),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},typeof e!=\"undefined\"&&(typeof e.tag!=\"undefined\"&&(this.hT=e.tag),typeof e.explicit!=\"undefined\"&&(this.isExplicit=e.explicit),typeof e.obj!=\"undefined\"&&(this.asn1Object=e.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))};ut.lang.extend(q.asn1.DERTaggedObject,q.asn1.ASN1Object);var K5=globalThis&&globalThis.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!=\"function\"&&r!==null)throw new TypeError(\"Class extends value \"+String(r)+\" is not a constructor or null\");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),xf=function(e){K5(t,e);function t(r){var n=e.call(this)||this;return r&&(typeof r==\"string\"?n.parseKey(r):(t.hasPrivateKeyProperty(r)||t.hasPublicKeyProperty(r))&&n.parsePropertiesFrom(r)),n}return t.prototype.parseKey=function(r){try{var n=0,i=0,s=/^\\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\\s*)+$/,o=s.test(r)?w5.decode(r):zu.unarmor(r),a=D5.decode(o);if(a.sub.length===3&&(a=a.sub[2].sub[0]),a.sub.length===9){n=a.sub[1].getHexStringValue(),this.n=nt(n,16),i=a.sub[2].getHexStringValue(),this.e=parseInt(i,16);var u=a.sub[3].getHexStringValue();this.d=nt(u,16);var l=a.sub[4].getHexStringValue();this.p=nt(l,16);var c=a.sub[5].getHexStringValue();this.q=nt(c,16);var d=a.sub[6].getHexStringValue();this.dmp1=nt(d,16);var f=a.sub[7].getHexStringValue();this.dmq1=nt(f,16);var h=a.sub[8].getHexStringValue();this.coeff=nt(h,16)}else if(a.sub.length===2)if(a.sub[0].sub){var p=a.sub[1],g=p.sub[0];n=g.sub[0].getHexStringValue(),this.n=nt(n,16),i=g.sub[1].getHexStringValue(),this.e=parseInt(i,16)}else n=a.sub[0].getHexStringValue(),this.n=nt(n,16),i=a.sub[1].getHexStringValue(),this.e=parseInt(i,16);else return!1;return!0}catch{return!1}},t.prototype.getPrivateBaseKey=function(){var r={array:[new q.asn1.DERInteger({int:0}),new q.asn1.DERInteger({bigint:this.n}),new q.asn1.DERInteger({int:this.e}),new q.asn1.DERInteger({bigint:this.d}),new q.asn1.DERInteger({bigint:this.p}),new q.asn1.DERInteger({bigint:this.q}),new q.asn1.DERInteger({bigint:this.dmp1}),new q.asn1.DERInteger({bigint:this.dmq1}),new q.asn1.DERInteger({bigint:this.coeff})]},n=new q.asn1.DERSequence(r);return n.getEncodedHex()},t.prototype.getPrivateBaseKeyB64=function(){return Mo(this.getPrivateBaseKey())},t.prototype.getPublicBaseKey=function(){var r=new q.asn1.DERSequence({array:[new q.asn1.DERObjectIdentifier({oid:\"1.2.840.113549.1.1.1\"}),new q.asn1.DERNull]}),n=new q.asn1.DERSequence({array:[new q.asn1.DERInteger({bigint:this.n}),new q.asn1.DERInteger({int:this.e})]}),i=new q.asn1.DERBitString({hex:\"00\"+n.getEncodedHex()}),s=new q.asn1.DERSequence({array:[r,i]});return s.getEncodedHex()},t.prototype.getPublicBaseKeyB64=function(){return Mo(this.getPublicBaseKey())},t.wordwrap=function(r,n){if(n=n||64,!r)return r;var i=\"(.{1,\"+n+`})( +|$\n?)|(.{1,`+n+\"})\";return r.match(RegExp(i,\"g\")).join(`\n`)},t.prototype.getPrivateKey=function(){var r=`-----BEGIN RSA PRIVATE KEY-----\n`;return r+=t.wordwrap(this.getPrivateBaseKeyB64())+`\n`,r+=\"-----END RSA PRIVATE KEY-----\",r},t.prototype.getPublicKey=function(){var r=`-----BEGIN PUBLIC KEY-----\n`;return r+=t.wordwrap(this.getPublicBaseKeyB64())+`\n`,r+=\"-----END PUBLIC KEY-----\",r},t.hasPublicKeyProperty=function(r){return r=r||{},r.hasOwnProperty(\"n\")&&r.hasOwnProperty(\"e\")},t.hasPrivateKeyProperty=function(r){return r=r||{},r.hasOwnProperty(\"n\")&&r.hasOwnProperty(\"e\")&&r.hasOwnProperty(\"d\")&&r.hasOwnProperty(\"p\")&&r.hasOwnProperty(\"q\")&&r.hasOwnProperty(\"dmp1\")&&r.hasOwnProperty(\"dmq1\")&&r.hasOwnProperty(\"coeff\")},t.prototype.parsePropertiesFrom=function(r){this.n=r.n,this.e=r.e,r.hasOwnProperty(\"d\")&&(this.d=r.d,this.p=r.p,this.q=r.q,this.dmp1=r.dmp1,this.dmq1=r.dmq1,this.coeff=r.coeff)},t}(V5),iu,q5=typeof process!=\"undefined\"?(iu=process.env)===null||iu===void 0?void 0:iu.npm_package_version:void 0,Z5=function(){function e(t){t===void 0&&(t={}),t=t||{},this.default_key_size=t.default_key_size?parseInt(t.default_key_size,10):1024,this.default_public_exponent=t.default_public_exponent||\"010001\",this.log=t.log||!1,this.key=null}return e.prototype.setKey=function(t){this.log&&this.key&&console.warn(\"A key was already set, overriding existing.\"),this.key=new xf(t)},e.prototype.setPrivateKey=function(t){this.setKey(t)},e.prototype.setPublicKey=function(t){this.setKey(t)},e.prototype.decrypt=function(t){try{return this.getKey().decrypt(cf(t))}catch{return!1}},e.prototype.encrypt=function(t){try{return Mo(this.getKey().encrypt(t))}catch{return!1}},e.prototype.sign=function(t,r,n){try{return Mo(this.getKey().sign(t,r,n))}catch{return!1}},e.prototype.verify=function(t,r,n){try{return this.getKey().verify(t,cf(r),n)}catch{return!1}},e.prototype.getKey=function(t){if(!this.key){if(this.key=new xf,t&&{}.toString.call(t)===\"[object Function]\"){this.key.generateAsync(this.default_key_size,this.default_public_exponent,t);return}this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},e.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},e.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},e.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},e.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},e.version=q5,e}();function Y5(e){return JSON.stringify(e)}function yf(e){const t=e;return JSON.parse(t)}const _v=window.location.protocol===\"https:\",mv=window.location.hostname===\"localhost\";!_v&&!mv&&console.warn(\"`https` not available. Hexon will enable encrypt. Please use https for your safety.\");function G5(e={}){return e.httpSecureDisabled=_v||mv||e.httpSecureDisabled,e}function Q5(e,t={}){var h;let r=1;const n=new Map,i=G5(e),s=(h=t.onDisable)!=null?h:()=>{},o=af.create(i);o.defaults.httpSecureDisabled=i.httpSecureDisabled;const a={key:Math.random().toString()};function u(p){return tu.AES.decrypt(p,a.key).toString(tu.enc.Utf8)}function l(p){return tu.AES.encrypt(p,a.key).toString()}function c(p){if(!p)return;const g=new Z5;return g.setPublicKey(a.serverPublicKey),g.encrypt(p)}async function d(p){const g=await af.get(\"/publickey\",{baseURL:p.baseURL}).catch(async x=>{if(x.response&&x.response.status===404){console.log(\"server not support, http-secure has been disabled\"),p.httpSecureDisabled=!0,await s();return}throw x});a.serverPublicKey=g==null?void 0:g.data}const f=\"/secure/\";return o.interceptors.request.use(async p=>{var v;if(p.httpSecureDisabled||(p.httpSecureId=r,n.set(r,{url:p.url||\"\",data:p.data}),r++,!a.serverPublicKey&&(await d(p),!a.serverPublicKey)))return p;const g=a.key,x=p.url;p.url=f+encodeURIComponent((v=c(JSON.stringify({key:g,url:x})))!=null?v:\"\");const m=l(Y5({data:p.data}));return p.data={content:m},p}),o.interceptors.response.use(p=>{var g;if(p.config.httpSecureDisabled)return p;if(p.config.httpSecureId!==void 0){const{url:x=\"\",data:m={}}=n.get(p.config.httpSecureId)||{};p.config.url=x,p.config.data=m,n.delete(p.config.httpSecureId)}if(p.data.content){const{content:x}=p.data;p.data=yf(u(x)).data}return console.groupCollapsed(`[${p.status}][${(g=p.config.method)==null?void 0:g.toUpperCase()}]${p.config.url}`),console.log(\"%c[config] %O\",\"font-weight:bolder\",p.config),console.log(\"%c[request] %O\",\"font-weight:bolder\",p.request),console.log(\"%c[data] %O\",\"font-weight:bolder\",p.data),console.log(\"%c[headers] %O\",\"font-weight:bolder\",p.headers),console.groupEnd(),p},async p=>{var g;if(p.response&&!p.response.config.httpSecureDisabled){const x=p.response;if(x.config.httpSecureId!==void 0){const{url:v=\"\",data:y={}}=n.get(x.config.httpSecureId)||{};x.config.url=v,x.config.data=y,n.delete(x.config.httpSecureId)}if(x.status===403&&x.data.code===\"EHTTPSECURE\")return await d(x.config),o(x.config);if(x.data.content){const{content:v}=x.data;x.data=yf(u(v)).data}const m=\"color: red\";console.groupCollapsed(`%c[${x.status}][${(g=x.config.method)==null?void 0:g.toUpperCase()}]${x.config.url}`,m),console.log(\"%c[config] %O\",\"font-weight:bolder\",x.config),console.log(\"%c[request] %O\",\"font-weight:bolder\",x.request),console.log(\"%c[data] %O\",\"font-weight:bolder\",x.data),console.log(\"%c[headers] %O\",\"font-weight:bolder\",x.headers),console.groupEnd()}throw p}),o}const ot=Q5({baseURL:\"/\"});ot.interceptors.response.use(e=>e,e=>{var r,n,i;!((r=e==null?void 0:e.config)!=null&&r.disableAuthenticationRedirect)&&((n=e==null?void 0:e.response)==null?void 0:n.status)===401&&J5();const t=(i=e==null?void 0:e.response)==null?void 0:i.data;throw(t==null?void 0:t.id)===\"HexoInitError\"&&f4(t==null?void 0:t.message),e});function Ef(){return Boolean(Dp.get(\"token\"))}function X5(e,t){return ot.post(\"/auth/login\",{username:e,password:t},{disableAuthenticationRedirect:!0})}function J5(){Dp.remove(\"token\"),y8()}function I5(){return ot.post(\"/auth/info\").then(e=>e.data)}function N5(e,t){return ot.post(\"/auth/password\",{oldPassword:e,password:t})}function H5(e){return ot.post(\"/auth/username\",{username:e})}function bv(e){var t,r;return(r=(t=e==null?void 0:e.response)==null?void 0:t.data)==null?void 0:r.id}function qu(e){var n;const t=(n=e==null?void 0:e.response)==null?void 0:n.data;switch(bv(e)){case\"PostOrPageNotFoundError\":return\"\\u6CA1\\u627E\\u5230\\uFF0C\\u56DE\\u4E3B\\u9875\\u770B\\u770B\\uFF1F\";case\"HexoInitError\":return\"hexo \\u521D\\u59CB\\u5316\\u4E2D\\uFF0C\\u8BF7\\u7A0D\\u540E\\u518D\\u8BD5\";case\"InvalidCreatePathError\":return\"\\u975E\\u6CD5\\u7684\\u65B0\\u6587\\u7AE0\\u8DEF\\u5F84\";case\"GitSyncScriptError\":return\"git sync \\u811A\\u672C\\u8FD0\\u884C\\u5931\\u8D25\\u3002\\u8BF7\\u524D\\u5F80\\u670D\\u52A1\\u5668\\u540E\\u53F0\\u4F7F\\u7528 `pnpm run script` \\u4FEE\\u6539\\u811A\\u672C\";case\"GitSaveScriptError\":return\"git save \\u811A\\u672C\\u8FD0\\u884C\\u5931\\u8D25\\u3002\\u8BF7\\u524D\\u5F80\\u670D\\u52A1\\u5668\\u540E\\u53F0\\u4F7F\\u7528 `pnpm run script` \\u4FEE\\u6539\\u811A\\u672C\";case\"HexoCleanScriptError\":return\"hexo clean \\u811A\\u672C\\u8FD0\\u884C\\u5931\\u8D25\\u3002\\u8BF7\\u524D\\u5F80\\u670D\\u52A1\\u5668\\u540E\\u53F0\\u4F7F\\u7528 `pnpm run script` \\u4FEE\\u6539\\u811A\\u672C\";case\"HexoDeployScriptError\":return\"hexo deploy \\u811A\\u672C\\u8FD0\\u884C\\u5931\\u8D25\\u3002\\u8BF7\\u524D\\u5F80\\u670D\\u52A1\\u5668\\u540E\\u53F0\\u4F7F\\u7528 `pnpm run script` \\u4FEE\\u6539\\u811A\\u672C\";case\"HexoGenerateScriptError\":return\"hexo generate \\u811A\\u672C\\u8FD0\\u884C\\u5931\\u8D25\\u3002\\u8BF7\\u524D\\u5F80\\u670D\\u52A1\\u5668\\u540E\\u53F0\\u4F7F\\u7528 `pnpm run script` \\u4FEE\\u6539\\u811A\\u672C\";default:return t.message||e.message}}var s0={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(we,function(){var r=1e3,n=6e4,i=36e5,s=\"millisecond\",o=\"second\",a=\"minute\",u=\"hour\",l=\"day\",c=\"week\",d=\"month\",f=\"quarter\",h=\"year\",p=\"date\",g=\"Invalid Date\",x=/^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[Tt\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/,m=/\\[([^\\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:\"en\",weekdays:\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),months:\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),ordinal:function(U){var j=[\"th\",\"st\",\"nd\",\"rd\"],P=U%100;return\"[\"+U+(j[(P-20)%10]||j[P]||j[0])+\"]\"}},y=function(U,j,P){var K=String(U);return!K||K.length>=j?U:\"\"+Array(j+1-K.length).join(P)+U},_={s:y,z:function(U){var j=-U.utcOffset(),P=Math.abs(j),K=Math.floor(P/60),V=P%60;return(j<=0?\"+\":\"-\")+y(K,2,\"0\")+\":\"+y(V,2,\"0\")},m:function U(j,P){if(j.date()<P.date())return-U(P,j);var K=12*(P.year()-j.year())+(P.month()-j.month()),V=j.clone().add(K,d),re=P-V<0,ne=j.clone().add(K+(re?-1:1),d);return+(-(K+(P-V)/(re?V-ne:ne-V))||0)},a:function(U){return U<0?Math.ceil(U)||0:Math.floor(U)},p:function(U){return{M:d,y:h,w:c,d:l,D:p,h:u,m:a,s:o,ms:s,Q:f}[U]||String(U||\"\").toLowerCase().replace(/s$/,\"\")},u:function(U){return U===void 0}},A=\"en\",E={};E[A]=v;var B=\"$isDayjsObject\",S=function(U){return U instanceof D||!(!U||!U[B])},T=function U(j,P,K){var V;if(!j)return A;if(typeof j==\"string\"){var re=j.toLowerCase();E[re]&&(V=re),P&&(E[re]=P,V=re);var ne=j.split(\"-\");if(!V&&ne.length>1)return U(ne[0])}else{var O=j.name;E[O]=j,V=O}return!K&&V&&(A=V),V||!K&&A},C=function(U,j){if(S(U))return U.clone();var P=typeof j==\"object\"?j:{};return P.date=U,P.args=arguments,new D(P)},w=_;w.l=T,w.i=S,w.w=function(U,j){return C(U,{locale:j.$L,utc:j.$u,x:j.$x,$offset:j.$offset})};var D=function(){function U(P){this.$L=T(P.locale,null,!0),this.parse(P),this.$x=this.$x||P.x||{},this[B]=!0}var j=U.prototype;return j.parse=function(P){this.$d=function(K){var V=K.date,re=K.utc;if(V===null)return new Date(NaN);if(w.u(V))return new Date;if(V instanceof Date)return new Date(V);if(typeof V==\"string\"&&!/Z$/i.test(V)){var ne=V.match(x);if(ne){var O=ne[2]-1||0,$=(ne[7]||\"0\").substring(0,3);return re?new Date(Date.UTC(ne[1],O,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,$)):new Date(ne[1],O,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,$)}}return new Date(V)}(P),this.init()},j.init=function(){var P=this.$d;this.$y=P.getFullYear(),this.$M=P.getMonth(),this.$D=P.getDate(),this.$W=P.getDay(),this.$H=P.getHours(),this.$m=P.getMinutes(),this.$s=P.getSeconds(),this.$ms=P.getMilliseconds()},j.$utils=function(){return w},j.isValid=function(){return this.$d.toString()!==g},j.isSame=function(P,K){var V=C(P);return this.startOf(K)<=V&&V<=this.endOf(K)},j.isAfter=function(P,K){return C(P)<this.startOf(K)},j.isBefore=function(P,K){return this.endOf(K)<C(P)},j.$g=function(P,K,V){return w.u(P)?this[K]:this.set(V,P)},j.unix=function(){return Math.floor(this.valueOf()/1e3)},j.valueOf=function(){return this.$d.getTime()},j.startOf=function(P,K){var V=this,re=!!w.u(K)||K,ne=w.p(P),O=function(Pe,Ce){var _e=w.w(V.$u?Date.UTC(V.$y,Ce,Pe):new Date(V.$y,Ce,Pe),V);return re?_e:_e.endOf(l)},$=function(Pe,Ce){return w.w(V.toDate()[Pe].apply(V.toDate(\"s\"),(re?[0,0,0,0]:[23,59,59,999]).slice(Ce)),V)},W=this.$W,z=this.$M,R=this.$D,Q=\"set\"+(this.$u?\"UTC\":\"\");switch(ne){case h:return re?O(1,0):O(31,11);case d:return re?O(1,z):O(0,z+1);case c:var I=this.$locale().weekStart||0,J=(W<I?W+7:W)-I;return O(re?R-J:R+(6-J),z);case l:case p:return $(Q+\"Hours\",0);case u:return $(Q+\"Minutes\",1);case a:return $(Q+\"Seconds\",2);case o:return $(Q+\"Milliseconds\",3);default:return this.clone()}},j.endOf=function(P){return this.startOf(P,!1)},j.$set=function(P,K){var V,re=w.p(P),ne=\"set\"+(this.$u?\"UTC\":\"\"),O=(V={},V[l]=ne+\"Date\",V[p]=ne+\"Date\",V[d]=ne+\"Month\",V[h]=ne+\"FullYear\",V[u]=ne+\"Hours\",V[a]=ne+\"Minutes\",V[o]=ne+\"Seconds\",V[s]=ne+\"Milliseconds\",V)[re],$=re===l?this.$D+(K-this.$W):K;if(re===d||re===h){var W=this.clone().set(p,1);W.$d[O]($),W.init(),this.$d=W.set(p,Math.min(this.$D,W.daysInMonth())).$d}else O&&this.$d[O]($);return this.init(),this},j.set=function(P,K){return this.clone().$set(P,K)},j.get=function(P){return this[w.p(P)]()},j.add=function(P,K){var V,re=this;P=Number(P);var ne=w.p(K),O=function(z){var R=C(re);return w.w(R.date(R.date()+Math.round(z*P)),re)};if(ne===d)return this.set(d,this.$M+P);if(ne===h)return this.set(h,this.$y+P);if(ne===l)return O(1);if(ne===c)return O(7);var $=(V={},V[a]=n,V[u]=i,V[o]=r,V)[ne]||1,W=this.$d.getTime()+P*$;return w.w(W,this)},j.subtract=function(P,K){return this.add(-1*P,K)},j.format=function(P){var K=this,V=this.$locale();if(!this.isValid())return V.invalidDate||g;var re=P||\"YYYY-MM-DDTHH:mm:ssZ\",ne=w.z(this),O=this.$H,$=this.$m,W=this.$M,z=V.weekdays,R=V.months,Q=V.meridiem,I=function(Ce,_e,ye,b){return Ce&&(Ce[_e]||Ce(K,re))||ye[_e].slice(0,b)},J=function(Ce){return w.s(O%12||12,Ce,\"0\")},Pe=Q||function(Ce,_e,ye){var b=Ce<12?\"AM\":\"PM\";return ye?b.toLowerCase():b};return re.replace(m,function(Ce,_e){return _e||function(ye){switch(ye){case\"YY\":return String(K.$y).slice(-2);case\"YYYY\":return w.s(K.$y,4,\"0\");case\"M\":return W+1;case\"MM\":return w.s(W+1,2,\"0\");case\"MMM\":return I(V.monthsShort,W,R,3);case\"MMMM\":return I(R,W);case\"D\":return K.$D;case\"DD\":return w.s(K.$D,2,\"0\");case\"d\":return String(K.$W);case\"dd\":return I(V.weekdaysMin,K.$W,z,2);case\"ddd\":return I(V.weekdaysShort,K.$W,z,3);case\"dddd\":return z[K.$W];case\"H\":return String(O);case\"HH\":return w.s(O,2,\"0\");case\"h\":return J(1);case\"hh\":return J(2);case\"a\":return Pe(O,$,!0);case\"A\":return Pe(O,$,!1);case\"m\":return String($);case\"mm\":return w.s($,2,\"0\");case\"s\":return String(K.$s);case\"ss\":return w.s(K.$s,2,\"0\");case\"SSS\":return w.s(K.$ms,3,\"0\");case\"Z\":return ne}return null}(Ce)||ne.replace(\":\",\"\")})},j.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},j.diff=function(P,K,V){var re,ne=this,O=w.p(K),$=C(P),W=($.utcOffset()-this.utcOffset())*n,z=this-$,R=function(){return w.m(ne,$)};switch(O){case h:re=R()/12;break;case d:re=R();break;case f:re=R()/3;break;case c:re=(z-W)/6048e5;break;case l:re=(z-W)/864e5;break;case u:re=z/i;break;case a:re=z/n;break;case o:re=z/r;break;default:re=z}return V?re:w.a(re)},j.daysInMonth=function(){return this.endOf(d).$D},j.$locale=function(){return E[this.$L]},j.locale=function(P,K){if(!P)return this.$L;var V=this.clone(),re=T(P,K,!0);return re&&(V.$L=re),V},j.clone=function(){return w.w(this.$d,this)},j.toDate=function(){return new Date(this.valueOf())},j.toJSON=function(){return this.isValid()?this.toISOString():null},j.toISOString=function(){return this.$d.toISOString()},j.toString=function(){return this.$d.toUTCString()},U}(),k=D.prototype;return C.prototype=k,[[\"$ms\",s],[\"$s\",o],[\"$m\",a],[\"$H\",u],[\"$W\",l],[\"$M\",d],[\"$y\",h],[\"$D\",p]].forEach(function(U){k[U[1]]=function(j){return this.$g(j,U[0],U[1])}}),C.extend=function(U,j){return U.$i||(U(j,D,C),U.$i=!0),C},C.locale=T,C.isDayjs=S,C.unix=function(U){return C(1e3*U)},C.en=E[A],C.Ls=E,C.p={},C})})(s0);var jn=s0.exports;function Lo(e){if(!e)return null;const t=jn(e);return t.format(\"\")===\"Invalid Date\"?null:t}var Ar={};/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function Cv(e){return typeof e==\"undefined\"||e===null}function eA(e){return typeof e==\"object\"&&e!==null}function tA(e){return Array.isArray(e)?e:Cv(e)?[]:[e]}function rA(e,t){var r,n,i,s;if(t)for(s=Object.keys(t),r=0,n=s.length;r<n;r+=1)i=s[r],e[i]=t[i];return e}function nA(e,t){var r=\"\",n;for(n=0;n<t;n+=1)r+=e;return r}function iA(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var sA=Cv,oA=eA,aA=tA,uA=nA,lA=iA,cA=rA,ht={isNothing:sA,isObject:oA,toArray:aA,repeat:uA,isNegativeZero:lA,extend:cA};function Av(e,t){var r=\"\",n=e.reason||\"(unknown reason)\";return e.mark?(e.mark.name&&(r+='in \"'+e.mark.name+'\" '),r+=\"(\"+(e.mark.line+1)+\":\"+(e.mark.column+1)+\")\",!t&&e.mark.snippet&&(r+=`\n\n`+e.mark.snippet),n+\" \"+r):n}function ps(e,t){Error.call(this),this.name=\"YAMLException\",this.reason=e,this.mark=t,this.message=Av(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||\"\"}ps.prototype=Object.create(Error.prototype);ps.prototype.constructor=ps;ps.prototype.toString=function(t){return this.name+\": \"+Av(this,t)};var Tt=ps;function su(e,t,r,n,i){var s=\"\",o=\"\",a=Math.floor(i/2)-1;return n-t>a&&(s=\" ... \",t=n-a+s.length),r-n>a&&(o=\" ...\",r=n+a-o.length),{str:s+e.slice(t,r).replace(/\\t/g,\"\\u2192\")+o,pos:n-t+s.length}}function ou(e,t){return ht.repeat(\" \",t-e.length)+e}function fA(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!=\"number\"&&(t.indent=1),typeof t.linesBefore!=\"number\"&&(t.linesBefore=3),typeof t.linesAfter!=\"number\"&&(t.linesAfter=2);for(var r=/\\r?\\n|\\r|\\0/g,n=[0],i=[],s,o=-1;s=r.exec(e.buffer);)i.push(s.index),n.push(s.index+s[0].length),e.position<=s.index&&o<0&&(o=n.length-2);o<0&&(o=n.length-1);var a=\"\",u,l,c=Math.min(e.line+t.linesAfter,i.length).toString().length,d=t.maxLength-(t.indent+c+3);for(u=1;u<=t.linesBefore&&!(o-u<0);u++)l=su(e.buffer,n[o-u],i[o-u],e.position-(n[o]-n[o-u]),d),a=ht.repeat(\" \",t.indent)+ou((e.line-u+1).toString(),c)+\" | \"+l.str+`\n`+a;for(l=su(e.buffer,n[o],i[o],e.position,d),a+=ht.repeat(\" \",t.indent)+ou((e.line+1).toString(),c)+\" | \"+l.str+`\n`,a+=ht.repeat(\"-\",t.indent+c+3+l.pos)+`^\n`,u=1;u<=t.linesAfter&&!(o+u>=i.length);u++)l=su(e.buffer,n[o+u],i[o+u],e.position-(n[o]-n[o+u]),d),a+=ht.repeat(\" \",t.indent)+ou((e.line+u+1).toString(),c)+\" | \"+l.str+`\n`;return a.replace(/\\n$/,\"\")}var dA=fA,hA=[\"kind\",\"multi\",\"resolve\",\"construct\",\"instanceOf\",\"predicate\",\"represent\",\"representName\",\"defaultStyle\",\"styleAliases\"],pA=[\"scalar\",\"sequence\",\"mapping\"];function vA(e){var t={};return e!==null&&Object.keys(e).forEach(function(r){e[r].forEach(function(n){t[String(n)]=r})}),t}function gA(e,t){if(t=t||{},Object.keys(t).forEach(function(r){if(hA.indexOf(r)===-1)throw new Tt('Unknown option \"'+r+'\" is met in definition of \"'+e+'\" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(r){return r},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=vA(t.styleAliases||null),pA.indexOf(this.kind)===-1)throw new Tt('Unknown kind \"'+this.kind+'\" is specified for \"'+e+'\" YAML type.')}var mt=gA;function _f(e,t){var r=[];return e[t].forEach(function(n){var i=r.length;r.forEach(function(s,o){s.tag===n.tag&&s.kind===n.kind&&s.multi===n.multi&&(i=o)}),r[i]=n}),r}function xA(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,r;function n(i){i.multi?(e.multi[i.kind].push(i),e.multi.fallback.push(i)):e[i.kind][i.tag]=e.fallback[i.tag]=i}for(t=0,r=arguments.length;t<r;t+=1)arguments[t].forEach(n);return e}function Zu(e){return this.extend(e)}Zu.prototype.extend=function(t){var r=[],n=[];if(t instanceof mt)n.push(t);else if(Array.isArray(t))n=n.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(r=r.concat(t.implicit)),t.explicit&&(n=n.concat(t.explicit));else throw new Tt(\"Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })\");r.forEach(function(s){if(!(s instanceof mt))throw new Tt(\"Specified list of YAML types (or a single Type object) contains a non-Type object.\");if(s.loadKind&&s.loadKind!==\"scalar\")throw new Tt(\"There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.\");if(s.multi)throw new Tt(\"There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.\")}),n.forEach(function(s){if(!(s instanceof mt))throw new Tt(\"Specified list of YAML types (or a single Type object) contains a non-Type object.\")});var i=Object.create(Zu.prototype);return i.implicit=(this.implicit||[]).concat(r),i.explicit=(this.explicit||[]).concat(n),i.compiledImplicit=_f(i,\"implicit\"),i.compiledExplicit=_f(i,\"explicit\"),i.compiledTypeMap=xA(i.compiledImplicit,i.compiledExplicit),i};var Sv=Zu,wv=new mt(\"tag:yaml.org,2002:str\",{kind:\"scalar\",construct:function(e){return e!==null?e:\"\"}}),Bv=new mt(\"tag:yaml.org,2002:seq\",{kind:\"sequence\",construct:function(e){return e!==null?e:[]}}),Fv=new mt(\"tag:yaml.org,2002:map\",{kind:\"mapping\",construct:function(e){return e!==null?e:{}}}),Dv=new Sv({explicit:[wv,Bv,Fv]});function yA(e){if(e===null)return!0;var t=e.length;return t===1&&e===\"~\"||t===4&&(e===\"null\"||e===\"Null\"||e===\"NULL\")}function EA(){return null}function _A(e){return e===null}var Tv=new mt(\"tag:yaml.org,2002:null\",{kind:\"scalar\",resolve:yA,construct:EA,predicate:_A,represent:{canonical:function(){return\"~\"},lowercase:function(){return\"null\"},uppercase:function(){return\"NULL\"},camelcase:function(){return\"Null\"},empty:function(){return\"\"}},defaultStyle:\"lowercase\"});function mA(e){if(e===null)return!1;var t=e.length;return t===4&&(e===\"true\"||e===\"True\"||e===\"TRUE\")||t===5&&(e===\"false\"||e===\"False\"||e===\"FALSE\")}function bA(e){return e===\"true\"||e===\"True\"||e===\"TRUE\"}function CA(e){return Object.prototype.toString.call(e)===\"[object Boolean]\"}var kv=new mt(\"tag:yaml.org,2002:bool\",{kind:\"scalar\",resolve:mA,construct:bA,predicate:CA,represent:{lowercase:function(e){return e?\"true\":\"false\"},uppercase:function(e){return e?\"TRUE\":\"FALSE\"},camelcase:function(e){return e?\"True\":\"False\"}},defaultStyle:\"lowercase\"});function AA(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function SA(e){return 48<=e&&e<=55}function wA(e){return 48<=e&&e<=57}function BA(e){if(e===null)return!1;var t=e.length,r=0,n=!1,i;if(!t)return!1;if(i=e[r],(i===\"-\"||i===\"+\")&&(i=e[++r]),i===\"0\"){if(r+1===t)return!0;if(i=e[++r],i===\"b\"){for(r++;r<t;r++)if(i=e[r],i!==\"_\"){if(i!==\"0\"&&i!==\"1\")return!1;n=!0}return n&&i!==\"_\"}if(i===\"x\"){for(r++;r<t;r++)if(i=e[r],i!==\"_\"){if(!AA(e.charCodeAt(r)))return!1;n=!0}return n&&i!==\"_\"}if(i===\"o\"){for(r++;r<t;r++)if(i=e[r],i!==\"_\"){if(!SA(e.charCodeAt(r)))return!1;n=!0}return n&&i!==\"_\"}}if(i===\"_\")return!1;for(;r<t;r++)if(i=e[r],i!==\"_\"){if(!wA(e.charCodeAt(r)))return!1;n=!0}return!(!n||i===\"_\")}function FA(e){var t=e,r=1,n;if(t.indexOf(\"_\")!==-1&&(t=t.replace(/_/g,\"\")),n=t[0],(n===\"-\"||n===\"+\")&&(n===\"-\"&&(r=-1),t=t.slice(1),n=t[0]),t===\"0\")return 0;if(n===\"0\"){if(t[1]===\"b\")return r*parseInt(t.slice(2),2);if(t[1]===\"x\")return r*parseInt(t.slice(2),16);if(t[1]===\"o\")return r*parseInt(t.slice(2),8)}return r*parseInt(t,10)}function DA(e){return Object.prototype.toString.call(e)===\"[object Number]\"&&e%1===0&&!ht.isNegativeZero(e)}var Pv=new mt(\"tag:yaml.org,2002:int\",{kind:\"scalar\",resolve:BA,construct:FA,predicate:DA,represent:{binary:function(e){return e>=0?\"0b\"+e.toString(2):\"-0b\"+e.toString(2).slice(1)},octal:function(e){return e>=0?\"0o\"+e.toString(8):\"-0o\"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?\"0x\"+e.toString(16).toUpperCase():\"-0x\"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:\"decimal\",styleAliases:{binary:[2,\"bin\"],octal:[8,\"oct\"],decimal:[10,\"dec\"],hexadecimal:[16,\"hex\"]}}),TA=new RegExp(\"^(?:[-+]?(?:[0-9][0-9_]*)(?:\\\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\\\.(?:inf|Inf|INF)|\\\\.(?:nan|NaN|NAN))$\");function kA(e){return!(e===null||!TA.test(e)||e[e.length-1]===\"_\")}function PA(e){var t,r;return t=e.replace(/_/g,\"\").toLowerCase(),r=t[0]===\"-\"?-1:1,\"+-\".indexOf(t[0])>=0&&(t=t.slice(1)),t===\".inf\"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===\".nan\"?NaN:r*parseFloat(t,10)}var OA=/^[-+]?[0-9]+e/;function RA(e,t){var r;if(isNaN(e))switch(t){case\"lowercase\":return\".nan\";case\"uppercase\":return\".NAN\";case\"camelcase\":return\".NaN\"}else if(Number.POSITIVE_INFINITY===e)switch(t){case\"lowercase\":return\".inf\";case\"uppercase\":return\".INF\";case\"camelcase\":return\".Inf\"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case\"lowercase\":return\"-.inf\";case\"uppercase\":return\"-.INF\";case\"camelcase\":return\"-.Inf\"}else if(ht.isNegativeZero(e))return\"-0.0\";return r=e.toString(10),OA.test(r)?r.replace(\"e\",\".e\"):r}function MA(e){return Object.prototype.toString.call(e)===\"[object Number]\"&&(e%1!==0||ht.isNegativeZero(e))}var Ov=new mt(\"tag:yaml.org,2002:float\",{kind:\"scalar\",resolve:kA,construct:PA,predicate:MA,represent:RA,defaultStyle:\"lowercase\"}),Rv=Dv.extend({implicit:[Tv,kv,Pv,Ov]}),Mv=Rv,Lv=new RegExp(\"^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$\"),$v=new RegExp(\"^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\\\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\\\.([0-9]*))?(?:[ \\\\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$\");function LA(e){return e===null?!1:Lv.exec(e)!==null||$v.exec(e)!==null}function $A(e){var t,r,n,i,s,o,a,u=0,l=null,c,d,f;if(t=Lv.exec(e),t===null&&(t=$v.exec(e)),t===null)throw new Error(\"Date resolve error\");if(r=+t[1],n=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(r,n,i));if(s=+t[4],o=+t[5],a=+t[6],t[7]){for(u=t[7].slice(0,3);u.length<3;)u+=\"0\";u=+u}return t[9]&&(c=+t[10],d=+(t[11]||0),l=(c*60+d)*6e4,t[9]===\"-\"&&(l=-l)),f=new Date(Date.UTC(r,n,i,s,o,a,u)),l&&f.setTime(f.getTime()-l),f}function jA(e){return e.toISOString()}var jv=new mt(\"tag:yaml.org,2002:timestamp\",{kind:\"scalar\",resolve:LA,construct:$A,instanceOf:Date,represent:jA});function VA(e){return e===\"<<\"||e===null}var Vv=new mt(\"tag:yaml.org,2002:merge\",{kind:\"scalar\",resolve:VA}),o0=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\\r`;function UA(e){if(e===null)return!1;var t,r,n=0,i=e.length,s=o0;for(r=0;r<i;r++)if(t=s.indexOf(e.charAt(r)),!(t>64)){if(t<0)return!1;n+=6}return n%8===0}function WA(e){var t,r,n=e.replace(/[\\r\\n=]/g,\"\"),i=n.length,s=o0,o=0,a=[];for(t=0;t<i;t++)t%4===0&&t&&(a.push(o>>16&255),a.push(o>>8&255),a.push(o&255)),o=o<<6|s.indexOf(n.charAt(t));return r=i%4*6,r===0?(a.push(o>>16&255),a.push(o>>8&255),a.push(o&255)):r===18?(a.push(o>>10&255),a.push(o>>2&255)):r===12&&a.push(o>>4&255),new Uint8Array(a)}function zA(e){var t=\"\",r=0,n,i,s=e.length,o=o0;for(n=0;n<s;n++)n%3===0&&n&&(t+=o[r>>18&63],t+=o[r>>12&63],t+=o[r>>6&63],t+=o[r&63]),r=(r<<8)+e[n];return i=s%3,i===0?(t+=o[r>>18&63],t+=o[r>>12&63],t+=o[r>>6&63],t+=o[r&63]):i===2?(t+=o[r>>10&63],t+=o[r>>4&63],t+=o[r<<2&63],t+=o[64]):i===1&&(t+=o[r>>2&63],t+=o[r<<4&63],t+=o[64],t+=o[64]),t}function KA(e){return Object.prototype.toString.call(e)===\"[object Uint8Array]\"}var Uv=new mt(\"tag:yaml.org,2002:binary\",{kind:\"scalar\",resolve:UA,construct:WA,predicate:KA,represent:zA}),qA=Object.prototype.hasOwnProperty,ZA=Object.prototype.toString;function YA(e){if(e===null)return!0;var t=[],r,n,i,s,o,a=e;for(r=0,n=a.length;r<n;r+=1){if(i=a[r],o=!1,ZA.call(i)!==\"[object Object]\")return!1;for(s in i)if(qA.call(i,s))if(!o)o=!0;else return!1;if(!o)return!1;if(t.indexOf(s)===-1)t.push(s);else return!1}return!0}function GA(e){return e!==null?e:[]}var Wv=new mt(\"tag:yaml.org,2002:omap\",{kind:\"sequence\",resolve:YA,construct:GA}),QA=Object.prototype.toString;function XA(e){if(e===null)return!0;var t,r,n,i,s,o=e;for(s=new Array(o.length),t=0,r=o.length;t<r;t+=1){if(n=o[t],QA.call(n)!==\"[object Object]\"||(i=Object.keys(n),i.length!==1))return!1;s[t]=[i[0],n[i[0]]]}return!0}function JA(e){if(e===null)return[];var t,r,n,i,s,o=e;for(s=new Array(o.length),t=0,r=o.length;t<r;t+=1)n=o[t],i=Object.keys(n),s[t]=[i[0],n[i[0]]];return s}var zv=new mt(\"tag:yaml.org,2002:pairs\",{kind:\"sequence\",resolve:XA,construct:JA}),IA=Object.prototype.hasOwnProperty;function NA(e){if(e===null)return!0;var t,r=e;for(t in r)if(IA.call(r,t)&&r[t]!==null)return!1;return!0}function HA(e){return e!==null?e:{}}var Kv=new mt(\"tag:yaml.org,2002:set\",{kind:\"mapping\",resolve:NA,construct:HA}),a0=Mv.extend({implicit:[jv,Vv],explicit:[Uv,Wv,zv,Kv]}),fn=Object.prototype.hasOwnProperty,$o=1,qv=2,Zv=3,jo=4,au=1,e6=2,mf=3,t6=/[\\x00-\\x08\\x0B\\x0C\\x0E-\\x1F\\x7F-\\x84\\x86-\\x9F\\uFFFE\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/,r6=/[\\x85\\u2028\\u2029]/,n6=/[,\\[\\]\\{\\}]/,Yv=/^(?:!|!!|![a-z\\-]+!)$/i,Gv=/^(?:!|[^,\\[\\]\\{\\}])(?:%[0-9a-f]{2}|[0-9a-z\\-#;\\/\\?:@&=\\+\\$,_\\.!~\\*'\\(\\)\\[\\]])*$/i;function bf(e){return Object.prototype.toString.call(e)}function pr(e){return e===10||e===13}function Rn(e){return e===9||e===32}function Mt(e){return e===9||e===32||e===10||e===13}function ni(e){return e===44||e===91||e===93||e===123||e===125}function i6(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}function s6(e){return e===120?2:e===117?4:e===85?8:0}function o6(e){return 48<=e&&e<=57?e-48:-1}function Cf(e){return e===48?\"\\0\":e===97?\"\\x07\":e===98?\"\\b\":e===116||e===9?\"\t\":e===110?`\n`:e===118?\"\\v\":e===102?\"\\f\":e===114?\"\\r\":e===101?\"\\x1B\":e===32?\" \":e===34?'\"':e===47?\"/\":e===92?\"\\\\\":e===78?\"\\x85\":e===95?\"\\xA0\":e===76?\"\\u2028\":e===80?\"\\u2029\":\"\"}function a6(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}var Qv=new Array(256),Xv=new Array(256);for(var Jn=0;Jn<256;Jn++)Qv[Jn]=Cf(Jn)?1:0,Xv[Jn]=Cf(Jn);function u6(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||a0,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Jv(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=dA(r),new Tt(t,r)}function ve(e,t){throw Jv(e,t)}function Vo(e,t){e.onWarning&&e.onWarning.call(null,Jv(e,t))}var Af={YAML:function(t,r,n){var i,s,o;t.version!==null&&ve(t,\"duplication of %YAML directive\"),n.length!==1&&ve(t,\"YAML directive accepts exactly one argument\"),i=/^([0-9]+)\\.([0-9]+)$/.exec(n[0]),i===null&&ve(t,\"ill-formed argument of the YAML directive\"),s=parseInt(i[1],10),o=parseInt(i[2],10),s!==1&&ve(t,\"unacceptable YAML version of the document\"),t.version=n[0],t.checkLineBreaks=o<2,o!==1&&o!==2&&Vo(t,\"unsupported YAML version of the document\")},TAG:function(t,r,n){var i,s;n.length!==2&&ve(t,\"TAG directive accepts exactly two arguments\"),i=n[0],s=n[1],Yv.test(i)||ve(t,\"ill-formed tag handle (first argument) of the TAG directive\"),fn.call(t.tagMap,i)&&ve(t,'there is a previously declared suffix for \"'+i+'\" tag handle'),Gv.test(s)||ve(t,\"ill-formed tag prefix (second argument) of the TAG directive\");try{s=decodeURIComponent(s)}catch{ve(t,\"tag prefix is malformed: \"+s)}t.tagMap[i]=s}};function an(e,t,r,n){var i,s,o,a;if(t<r){if(a=e.input.slice(t,r),n)for(i=0,s=a.length;i<s;i+=1)o=a.charCodeAt(i),o===9||32<=o&&o<=1114111||ve(e,\"expected valid JSON character\");else t6.test(a)&&ve(e,\"the stream contains non-printable characters\");e.result+=a}}function Sf(e,t,r,n){var i,s,o,a;for(ht.isObject(r)||ve(e,\"cannot merge mappings; the provided source object is unacceptable\"),i=Object.keys(r),o=0,a=i.length;o<a;o+=1)s=i[o],fn.call(t,s)||(t[s]=r[s],n[s]=!0)}function ii(e,t,r,n,i,s,o,a,u){var l,c;if(Array.isArray(i))for(i=Array.prototype.slice.call(i),l=0,c=i.length;l<c;l+=1)Array.isArray(i[l])&&ve(e,\"nested arrays are not supported inside keys\"),typeof i==\"object\"&&bf(i[l])===\"[object Object]\"&&(i[l]=\"[object Object]\");if(typeof i==\"object\"&&bf(i)===\"[object Object]\"&&(i=\"[object Object]\"),i=String(i),t===null&&(t={}),n===\"tag:yaml.org,2002:merge\")if(Array.isArray(s))for(l=0,c=s.length;l<c;l+=1)Sf(e,t,s[l],r);else Sf(e,t,s,r);else!e.json&&!fn.call(r,i)&&fn.call(t,i)&&(e.line=o||e.line,e.lineStart=a||e.lineStart,e.position=u||e.position,ve(e,\"duplicated mapping key\")),i===\"__proto__\"?Object.defineProperty(t,i,{configurable:!0,enumerable:!0,writable:!0,value:s}):t[i]=s,delete r[i];return t}function u0(e){var t;t=e.input.charCodeAt(e.position),t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):ve(e,\"a line break is expected\"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function lt(e,t,r){for(var n=0,i=e.input.charCodeAt(e.position);i!==0;){for(;Rn(i);)i===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position);if(t&&i===35)do i=e.input.charCodeAt(++e.position);while(i!==10&&i!==13&&i!==0);if(pr(i))for(u0(e),i=e.input.charCodeAt(e.position),n++,e.lineIndent=0;i===32;)e.lineIndent++,i=e.input.charCodeAt(++e.position);else break}return r!==-1&&n!==0&&e.lineIndent<r&&Vo(e,\"deficient indentation\"),n}function Fa(e){var t=e.position,r;return r=e.input.charCodeAt(t),!!((r===45||r===46)&&r===e.input.charCodeAt(t+1)&&r===e.input.charCodeAt(t+2)&&(t+=3,r=e.input.charCodeAt(t),r===0||Mt(r)))}function l0(e,t){t===1?e.result+=\" \":t>1&&(e.result+=ht.repeat(`\n`,t-1))}function l6(e,t,r){var n,i,s,o,a,u,l,c,d=e.kind,f=e.result,h;if(h=e.input.charCodeAt(e.position),Mt(h)||ni(h)||h===35||h===38||h===42||h===33||h===124||h===62||h===39||h===34||h===37||h===64||h===96||(h===63||h===45)&&(i=e.input.charCodeAt(e.position+1),Mt(i)||r&&ni(i)))return!1;for(e.kind=\"scalar\",e.result=\"\",s=o=e.position,a=!1;h!==0;){if(h===58){if(i=e.input.charCodeAt(e.position+1),Mt(i)||r&&ni(i))break}else if(h===35){if(n=e.input.charCodeAt(e.position-1),Mt(n))break}else{if(e.position===e.lineStart&&Fa(e)||r&&ni(h))break;if(pr(h))if(u=e.line,l=e.lineStart,c=e.lineIndent,lt(e,!1,-1),e.lineIndent>=t){a=!0,h=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=u,e.lineStart=l,e.lineIndent=c;break}}a&&(an(e,s,o,!1),l0(e,e.line-u),s=o=e.position,a=!1),Rn(h)||(o=e.position+1),h=e.input.charCodeAt(++e.position)}return an(e,s,o,!1),e.result?!0:(e.kind=d,e.result=f,!1)}function c6(e,t){var r,n,i;if(r=e.input.charCodeAt(e.position),r!==39)return!1;for(e.kind=\"scalar\",e.result=\"\",e.position++,n=i=e.position;(r=e.input.charCodeAt(e.position))!==0;)if(r===39)if(an(e,n,e.position,!0),r=e.input.charCodeAt(++e.position),r===39)n=e.position,e.position++,i=e.position;else return!0;else pr(r)?(an(e,n,i,!0),l0(e,lt(e,!1,t)),n=i=e.position):e.position===e.lineStart&&Fa(e)?ve(e,\"unexpected end of the document within a single quoted scalar\"):(e.position++,i=e.position);ve(e,\"unexpected end of the stream within a single quoted scalar\")}function f6(e,t){var r,n,i,s,o,a;if(a=e.input.charCodeAt(e.position),a!==34)return!1;for(e.kind=\"scalar\",e.result=\"\",e.position++,r=n=e.position;(a=e.input.charCodeAt(e.position))!==0;){if(a===34)return an(e,r,e.position,!0),e.position++,!0;if(a===92){if(an(e,r,e.position,!0),a=e.input.charCodeAt(++e.position),pr(a))lt(e,!1,t);else if(a<256&&Qv[a])e.result+=Xv[a],e.position++;else if((o=s6(a))>0){for(i=o,s=0;i>0;i--)a=e.input.charCodeAt(++e.position),(o=i6(a))>=0?s=(s<<4)+o:ve(e,\"expected hexadecimal character\");e.result+=a6(s),e.position++}else ve(e,\"unknown escape sequence\");r=n=e.position}else pr(a)?(an(e,r,n,!0),l0(e,lt(e,!1,t)),r=n=e.position):e.position===e.lineStart&&Fa(e)?ve(e,\"unexpected end of the document within a double quoted scalar\"):(e.position++,n=e.position)}ve(e,\"unexpected end of the stream within a double quoted scalar\")}function d6(e,t){var r=!0,n,i,s,o=e.tag,a,u=e.anchor,l,c,d,f,h,p=Object.create(null),g,x,m,v;if(v=e.input.charCodeAt(e.position),v===91)c=93,h=!1,a=[];else if(v===123)c=125,h=!0,a={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=a),v=e.input.charCodeAt(++e.position);v!==0;){if(lt(e,!0,t),v=e.input.charCodeAt(e.position),v===c)return e.position++,e.tag=o,e.anchor=u,e.kind=h?\"mapping\":\"sequence\",e.result=a,!0;r?v===44&&ve(e,\"expected the node content, but found ','\"):ve(e,\"missed comma between flow collection entries\"),x=g=m=null,d=f=!1,v===63&&(l=e.input.charCodeAt(e.position+1),Mt(l)&&(d=f=!0,e.position++,lt(e,!0,t))),n=e.line,i=e.lineStart,s=e.position,xi(e,t,$o,!1,!0),x=e.tag,g=e.result,lt(e,!0,t),v=e.input.charCodeAt(e.position),(f||e.line===n)&&v===58&&(d=!0,v=e.input.charCodeAt(++e.position),lt(e,!0,t),xi(e,t,$o,!1,!0),m=e.result),h?ii(e,a,p,x,g,m,n,i,s):d?a.push(ii(e,null,p,x,g,m,n,i,s)):a.push(g),lt(e,!0,t),v=e.input.charCodeAt(e.position),v===44?(r=!0,v=e.input.charCodeAt(++e.position)):r=!1}ve(e,\"unexpected end of the stream within a flow collection\")}function h6(e,t){var r,n,i=au,s=!1,o=!1,a=t,u=0,l=!1,c,d;if(d=e.input.charCodeAt(e.position),d===124)n=!1;else if(d===62)n=!0;else return!1;for(e.kind=\"scalar\",e.result=\"\";d!==0;)if(d=e.input.charCodeAt(++e.position),d===43||d===45)au===i?i=d===43?mf:e6:ve(e,\"repeat of a chomping mode identifier\");else if((c=o6(d))>=0)c===0?ve(e,\"bad explicit indentation width of a block scalar; it cannot be less than one\"):o?ve(e,\"repeat of an indentation width identifier\"):(a=t+c-1,o=!0);else break;if(Rn(d)){do d=e.input.charCodeAt(++e.position);while(Rn(d));if(d===35)do d=e.input.charCodeAt(++e.position);while(!pr(d)&&d!==0)}for(;d!==0;){for(u0(e),e.lineIndent=0,d=e.input.charCodeAt(e.position);(!o||e.lineIndent<a)&&d===32;)e.lineIndent++,d=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>a&&(a=e.lineIndent),pr(d)){u++;continue}if(e.lineIndent<a){i===mf?e.result+=ht.repeat(`\n`,s?1+u:u):i===au&&s&&(e.result+=`\n`);break}for(n?Rn(d)?(l=!0,e.result+=ht.repeat(`\n`,s?1+u:u)):l?(l=!1,e.result+=ht.repeat(`\n`,u+1)):u===0?s&&(e.result+=\" \"):e.result+=ht.repeat(`\n`,u):e.result+=ht.repeat(`\n`,s?1+u:u),s=!0,o=!0,u=0,r=e.position;!pr(d)&&d!==0;)d=e.input.charCodeAt(++e.position);an(e,r,e.position,!1)}return!0}function wf(e,t){var r,n=e.tag,i=e.anchor,s=[],o,a=!1,u;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),u=e.input.charCodeAt(e.position);u!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,ve(e,\"tab characters must not be used in indentation\")),!(u!==45||(o=e.input.charCodeAt(e.position+1),!Mt(o))));){if(a=!0,e.position++,lt(e,!0,-1)&&e.lineIndent<=t){s.push(null),u=e.input.charCodeAt(e.position);continue}if(r=e.line,xi(e,t,Zv,!1,!0),s.push(e.result),lt(e,!0,-1),u=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&u!==0)ve(e,\"bad indentation of a sequence entry\");else if(e.lineIndent<t)break}return a?(e.tag=n,e.anchor=i,e.kind=\"sequence\",e.result=s,!0):!1}function p6(e,t,r){var n,i,s,o,a,u,l=e.tag,c=e.anchor,d={},f=Object.create(null),h=null,p=null,g=null,x=!1,m=!1,v;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=d),v=e.input.charCodeAt(e.position);v!==0;){if(!x&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,ve(e,\"tab characters must not be used in indentation\")),n=e.input.charCodeAt(e.position+1),s=e.line,(v===63||v===58)&&Mt(n))v===63?(x&&(ii(e,d,f,h,p,null,o,a,u),h=p=g=null),m=!0,x=!0,i=!0):x?(x=!1,i=!0):ve(e,\"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line\"),e.position+=1,v=n;else{if(o=e.line,a=e.lineStart,u=e.position,!xi(e,r,qv,!1,!0))break;if(e.line===s){for(v=e.input.charCodeAt(e.position);Rn(v);)v=e.input.charCodeAt(++e.position);if(v===58)v=e.input.charCodeAt(++e.position),Mt(v)||ve(e,\"a whitespace character is expected after the key-value separator within a block mapping\"),x&&(ii(e,d,f,h,p,null,o,a,u),h=p=g=null),m=!0,x=!1,i=!1,h=e.tag,p=e.result;else if(m)ve(e,\"can not read an implicit mapping pair; a colon is missed\");else return e.tag=l,e.anchor=c,!0}else if(m)ve(e,\"can not read a block mapping entry; a multiline key may not be an implicit key\");else return e.tag=l,e.anchor=c,!0}if((e.line===s||e.lineIndent>t)&&(x&&(o=e.line,a=e.lineStart,u=e.position),xi(e,t,jo,!0,i)&&(x?p=e.result:g=e.result),x||(ii(e,d,f,h,p,g,o,a,u),h=p=g=null),lt(e,!0,-1),v=e.input.charCodeAt(e.position)),(e.line===s||e.lineIndent>t)&&v!==0)ve(e,\"bad indentation of a mapping entry\");else if(e.lineIndent<t)break}return x&&ii(e,d,f,h,p,null,o,a,u),m&&(e.tag=l,e.anchor=c,e.kind=\"mapping\",e.result=d),m}function v6(e){var t,r=!1,n=!1,i,s,o;if(o=e.input.charCodeAt(e.position),o!==33)return!1;if(e.tag!==null&&ve(e,\"duplication of a tag property\"),o=e.input.charCodeAt(++e.position),o===60?(r=!0,o=e.input.charCodeAt(++e.position)):o===33?(n=!0,i=\"!!\",o=e.input.charCodeAt(++e.position)):i=\"!\",t=e.position,r){do o=e.input.charCodeAt(++e.position);while(o!==0&&o!==62);e.position<e.length?(s=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):ve(e,\"unexpected end of the stream within a verbatim tag\")}else{for(;o!==0&&!Mt(o);)o===33&&(n?ve(e,\"tag suffix cannot contain exclamation marks\"):(i=e.input.slice(t-1,e.position+1),Yv.test(i)||ve(e,\"named tag handle cannot contain such characters\"),n=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);s=e.input.slice(t,e.position),n6.test(s)&&ve(e,\"tag suffix cannot contain flow indicator characters\")}s&&!Gv.test(s)&&ve(e,\"tag name cannot contain such characters: \"+s);try{s=decodeURIComponent(s)}catch{ve(e,\"tag name is malformed: \"+s)}return r?e.tag=s:fn.call(e.tagMap,i)?e.tag=e.tagMap[i]+s:i===\"!\"?e.tag=\"!\"+s:i===\"!!\"?e.tag=\"tag:yaml.org,2002:\"+s:ve(e,'undeclared tag handle \"'+i+'\"'),!0}function g6(e){var t,r;if(r=e.input.charCodeAt(e.position),r!==38)return!1;for(e.anchor!==null&&ve(e,\"duplication of an anchor property\"),r=e.input.charCodeAt(++e.position),t=e.position;r!==0&&!Mt(r)&&!ni(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&ve(e,\"name of an anchor node must contain at least one character\"),e.anchor=e.input.slice(t,e.position),!0}function x6(e){var t,r,n;if(n=e.input.charCodeAt(e.position),n!==42)return!1;for(n=e.input.charCodeAt(++e.position),t=e.position;n!==0&&!Mt(n)&&!ni(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&ve(e,\"name of an alias node must contain at least one character\"),r=e.input.slice(t,e.position),fn.call(e.anchorMap,r)||ve(e,'unidentified alias \"'+r+'\"'),e.result=e.anchorMap[r],lt(e,!0,-1),!0}function xi(e,t,r,n,i){var s,o,a,u=1,l=!1,c=!1,d,f,h,p,g,x;if(e.listener!==null&&e.listener(\"open\",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,s=o=a=jo===r||Zv===r,n&&lt(e,!0,-1)&&(l=!0,e.lineIndent>t?u=1:e.lineIndent===t?u=0:e.lineIndent<t&&(u=-1)),u===1)for(;v6(e)||g6(e);)lt(e,!0,-1)?(l=!0,a=s,e.lineIndent>t?u=1:e.lineIndent===t?u=0:e.lineIndent<t&&(u=-1)):a=!1;if(a&&(a=l||i),(u===1||jo===r)&&($o===r||qv===r?g=t:g=t+1,x=e.position-e.lineStart,u===1?a&&(wf(e,x)||p6(e,x,g))||d6(e,g)?c=!0:(o&&h6(e,g)||c6(e,g)||f6(e,g)?c=!0:x6(e)?(c=!0,(e.tag!==null||e.anchor!==null)&&ve(e,\"alias node should not have any properties\")):l6(e,g,$o===r)&&(c=!0,e.tag===null&&(e.tag=\"?\")),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):u===0&&(c=a&&wf(e,x))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag===\"?\"){for(e.result!==null&&e.kind!==\"scalar\"&&ve(e,'unacceptable node kind for !<?> tag; it should be \"scalar\", not \"'+e.kind+'\"'),d=0,f=e.implicitTypes.length;d<f;d+=1)if(p=e.implicitTypes[d],p.resolve(e.result)){e.result=p.construct(e.result),e.tag=p.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!==\"!\"){if(fn.call(e.typeMap[e.kind||\"fallback\"],e.tag))p=e.typeMap[e.kind||\"fallback\"][e.tag];else for(p=null,h=e.typeMap.multi[e.kind||\"fallback\"],d=0,f=h.length;d<f;d+=1)if(e.tag.slice(0,h[d].tag.length)===h[d].tag){p=h[d];break}p||ve(e,\"unknown tag !<\"+e.tag+\">\"),e.result!==null&&p.kind!==e.kind&&ve(e,\"unacceptable node kind for !<\"+e.tag+'> tag; it should be \"'+p.kind+'\", not \"'+e.kind+'\"'),p.resolve(e.result,e.tag)?(e.result=p.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):ve(e,\"cannot resolve a node with !<\"+e.tag+\"> explicit tag\")}return e.listener!==null&&e.listener(\"close\",e),e.tag!==null||e.anchor!==null||c}function y6(e){var t=e.position,r,n,i,s=!1,o;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(o=e.input.charCodeAt(e.position))!==0&&(lt(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||o!==37));){for(s=!0,o=e.input.charCodeAt(++e.position),r=e.position;o!==0&&!Mt(o);)o=e.input.charCodeAt(++e.position);for(n=e.input.slice(r,e.position),i=[],n.length<1&&ve(e,\"directive name must not be less than one character in length\");o!==0;){for(;Rn(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!pr(o));break}if(pr(o))break;for(r=e.position;o!==0&&!Mt(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(r,e.position))}o!==0&&u0(e),fn.call(Af,n)?Af[n](e,n,i):Vo(e,'unknown document directive \"'+n+'\"')}if(lt(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,lt(e,!0,-1)):s&&ve(e,\"directives end mark is expected\"),xi(e,e.lineIndent-1,jo,!1,!0),lt(e,!0,-1),e.checkLineBreaks&&r6.test(e.input.slice(t,e.position))&&Vo(e,\"non-ASCII line breaks are interpreted as content\"),e.documents.push(e.result),e.position===e.lineStart&&Fa(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,lt(e,!0,-1));return}if(e.position<e.length-1)ve(e,\"end of the stream or a document separator is expected\");else return}function Iv(e,t){e=String(e),t=t||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`\n`),e.charCodeAt(0)===65279&&(e=e.slice(1)));var r=new u6(e,t),n=e.indexOf(\"\\0\");for(n!==-1&&(r.position=n,ve(r,\"null byte is not allowed in input\")),r.input+=\"\\0\";r.input.charCodeAt(r.position)===32;)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)y6(r);return r.documents}function E6(e,t,r){t!==null&&typeof t==\"object\"&&typeof r==\"undefined\"&&(r=t,t=null);var n=Iv(e,r);if(typeof t!=\"function\")return n;for(var i=0,s=n.length;i<s;i+=1)t(n[i])}function _6(e,t){var r=Iv(e,t);if(r.length!==0){if(r.length===1)return r[0];throw new Tt(\"expected a single document in the stream, but found more\")}}var m6=E6,b6=_6,Nv={loadAll:m6,load:b6},Hv=Object.prototype.toString,e1=Object.prototype.hasOwnProperty,c0=65279,C6=9,vs=10,A6=13,S6=32,w6=33,B6=34,Yu=35,F6=37,D6=38,T6=39,k6=42,t1=44,P6=45,Uo=58,O6=61,R6=62,M6=63,L6=64,r1=91,n1=93,$6=96,i1=123,j6=124,s1=125,St={};St[0]=\"\\\\0\";St[7]=\"\\\\a\";St[8]=\"\\\\b\";St[9]=\"\\\\t\";St[10]=\"\\\\n\";St[11]=\"\\\\v\";St[12]=\"\\\\f\";St[13]=\"\\\\r\";St[27]=\"\\\\e\";St[34]='\\\\\"';St[92]=\"\\\\\\\\\";St[133]=\"\\\\N\";St[160]=\"\\\\_\";St[8232]=\"\\\\L\";St[8233]=\"\\\\P\";var V6=[\"y\",\"Y\",\"yes\",\"Yes\",\"YES\",\"on\",\"On\",\"ON\",\"n\",\"N\",\"no\",\"No\",\"NO\",\"off\",\"Off\",\"OFF\"],U6=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\\.[0-9_]*)?$/;function W6(e,t){var r,n,i,s,o,a,u;if(t===null)return{};for(r={},n=Object.keys(t),i=0,s=n.length;i<s;i+=1)o=n[i],a=String(t[o]),o.slice(0,2)===\"!!\"&&(o=\"tag:yaml.org,2002:\"+o.slice(2)),u=e.compiledTypeMap.fallback[o],u&&e1.call(u.styleAliases,a)&&(a=u.styleAliases[a]),r[o]=a;return r}function z6(e){var t,r,n;if(t=e.toString(16).toUpperCase(),e<=255)r=\"x\",n=2;else if(e<=65535)r=\"u\",n=4;else if(e<=4294967295)r=\"U\",n=8;else throw new Tt(\"code point within a string may not be greater than 0xFFFFFFFF\");return\"\\\\\"+r+ht.repeat(\"0\",n-t.length)+t}var K6=1,gs=2;function q6(e){this.schema=e.schema||a0,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=ht.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=W6(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType=e.quotingType==='\"'?gs:K6,this.forceQuotes=e.forceQuotes||!1,this.replacer=typeof e.replacer==\"function\"?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result=\"\",this.duplicates=[],this.usedDuplicates=null}function Bf(e,t){for(var r=ht.repeat(\" \",t),n=0,i=-1,s=\"\",o,a=e.length;n<a;)i=e.indexOf(`\n`,n),i===-1?(o=e.slice(n),n=a):(o=e.slice(n,i+1),n=i+1),o.length&&o!==`\n`&&(s+=r),s+=o;return s}function Gu(e,t){return`\n`+ht.repeat(\" \",e.indent*t)}function Z6(e,t){var r,n,i;for(r=0,n=e.implicitTypes.length;r<n;r+=1)if(i=e.implicitTypes[r],i.resolve(t))return!0;return!1}function Wo(e){return e===S6||e===C6}function xs(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==c0||65536<=e&&e<=1114111}function Ff(e){return xs(e)&&e!==c0&&e!==A6&&e!==vs}function Df(e,t,r){var n=Ff(e),i=n&&!Wo(e);return(r?n:n&&e!==t1&&e!==r1&&e!==n1&&e!==i1&&e!==s1)&&e!==Yu&&!(t===Uo&&!i)||Ff(t)&&!Wo(t)&&e===Yu||t===Uo&&i}function Y6(e){return xs(e)&&e!==c0&&!Wo(e)&&e!==P6&&e!==M6&&e!==Uo&&e!==t1&&e!==r1&&e!==n1&&e!==i1&&e!==s1&&e!==Yu&&e!==D6&&e!==k6&&e!==w6&&e!==j6&&e!==O6&&e!==R6&&e!==T6&&e!==B6&&e!==F6&&e!==L6&&e!==$6}function G6(e){return!Wo(e)&&e!==Uo}function Ki(e,t){var r=e.charCodeAt(t),n;return r>=55296&&r<=56319&&t+1<e.length&&(n=e.charCodeAt(t+1),n>=56320&&n<=57343)?(r-55296)*1024+n-56320+65536:r}function o1(e){var t=/^\\n* /;return t.test(e)}var a1=1,Qu=2,u1=3,l1=4,ei=5;function Q6(e,t,r,n,i,s,o,a){var u,l=0,c=null,d=!1,f=!1,h=n!==-1,p=-1,g=Y6(Ki(e,0))&&G6(Ki(e,e.length-1));if(t||o)for(u=0;u<e.length;l>=65536?u+=2:u++){if(l=Ki(e,u),!xs(l))return ei;g=g&&Df(l,c,a),c=l}else{for(u=0;u<e.length;l>=65536?u+=2:u++){if(l=Ki(e,u),l===vs)d=!0,h&&(f=f||u-p-1>n&&e[p+1]!==\" \",p=u);else if(!xs(l))return ei;g=g&&Df(l,c,a),c=l}f=f||h&&u-p-1>n&&e[p+1]!==\" \"}return!d&&!f?g&&!o&&!i(e)?a1:s===gs?ei:Qu:r>9&&o1(e)?ei:o?s===gs?ei:Qu:f?l1:u1}function X6(e,t,r,n,i){e.dump=function(){if(t.length===0)return e.quotingType===gs?'\"\"':\"''\";if(!e.noCompatMode&&(V6.indexOf(t)!==-1||U6.test(t)))return e.quotingType===gs?'\"'+t+'\"':\"'\"+t+\"'\";var s=e.indent*Math.max(1,r),o=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-s),a=n||e.flowLevel>-1&&r>=e.flowLevel;function u(l){return Z6(e,l)}switch(Q6(t,a,e.indent,o,u,e.quotingType,e.forceQuotes&&!n,i)){case a1:return t;case Qu:return\"'\"+t.replace(/'/g,\"''\")+\"'\";case u1:return\"|\"+Tf(t,e.indent)+kf(Bf(t,s));case l1:return\">\"+Tf(t,e.indent)+kf(Bf(J6(t,o),s));case ei:return'\"'+I6(t)+'\"';default:throw new Tt(\"impossible error: invalid scalar style\")}}()}function Tf(e,t){var r=o1(e)?String(t):\"\",n=e[e.length-1]===`\n`,i=n&&(e[e.length-2]===`\n`||e===`\n`),s=i?\"+\":n?\"\":\"-\";return r+s+`\n`}function kf(e){return e[e.length-1]===`\n`?e.slice(0,-1):e}function J6(e,t){for(var r=/(\\n+)([^\\n]*)/g,n=function(){var l=e.indexOf(`\n`);return l=l!==-1?l:e.length,r.lastIndex=l,Pf(e.slice(0,l),t)}(),i=e[0]===`\n`||e[0]===\" \",s,o;o=r.exec(e);){var a=o[1],u=o[2];s=u[0]===\" \",n+=a+(!i&&!s&&u!==\"\"?`\n`:\"\")+Pf(u,t),i=s}return n}function Pf(e,t){if(e===\"\"||e[0]===\" \")return e;for(var r=/ [^ ]/g,n,i=0,s,o=0,a=0,u=\"\";n=r.exec(e);)a=n.index,a-i>t&&(s=o>i?o:a,u+=`\n`+e.slice(i,s),i=s+1),o=a;return u+=`\n`,e.length-i>t&&o>i?u+=e.slice(i,o)+`\n`+e.slice(o+1):u+=e.slice(i),u.slice(1)}function I6(e){for(var t=\"\",r=0,n,i=0;i<e.length;r>=65536?i+=2:i++)r=Ki(e,i),n=St[r],!n&&xs(r)?(t+=e[i],r>=65536&&(t+=e[i+1])):t+=n||z6(r);return t}function N6(e,t,r){var n=\"\",i=e.tag,s,o,a;for(s=0,o=r.length;s<o;s+=1)a=r[s],e.replacer&&(a=e.replacer.call(r,String(s),a)),(kr(e,t,a,!1,!1)||typeof a==\"undefined\"&&kr(e,t,null,!1,!1))&&(n!==\"\"&&(n+=\",\"+(e.condenseFlow?\"\":\" \")),n+=e.dump);e.tag=i,e.dump=\"[\"+n+\"]\"}function Of(e,t,r,n){var i=\"\",s=e.tag,o,a,u;for(o=0,a=r.length;o<a;o+=1)u=r[o],e.replacer&&(u=e.replacer.call(r,String(o),u)),(kr(e,t+1,u,!0,!0,!1,!0)||typeof u==\"undefined\"&&kr(e,t+1,null,!0,!0,!1,!0))&&((!n||i!==\"\")&&(i+=Gu(e,t)),e.dump&&vs===e.dump.charCodeAt(0)?i+=\"-\":i+=\"- \",i+=e.dump);e.tag=s,e.dump=i||\"[]\"}function H6(e,t,r){var n=\"\",i=e.tag,s=Object.keys(r),o,a,u,l,c;for(o=0,a=s.length;o<a;o+=1)c=\"\",n!==\"\"&&(c+=\", \"),e.condenseFlow&&(c+='\"'),u=s[o],l=r[u],e.replacer&&(l=e.replacer.call(r,u,l)),kr(e,t,u,!1,!1)&&(e.dump.length>1024&&(c+=\"? \"),c+=e.dump+(e.condenseFlow?'\"':\"\")+\":\"+(e.condenseFlow?\"\":\" \"),kr(e,t,l,!1,!1)&&(c+=e.dump,n+=c));e.tag=i,e.dump=\"{\"+n+\"}\"}function e3(e,t,r,n){var i=\"\",s=e.tag,o=Object.keys(r),a,u,l,c,d,f;if(e.sortKeys===!0)o.sort();else if(typeof e.sortKeys==\"function\")o.sort(e.sortKeys);else if(e.sortKeys)throw new Tt(\"sortKeys must be a boolean or a function\");for(a=0,u=o.length;a<u;a+=1)f=\"\",(!n||i!==\"\")&&(f+=Gu(e,t)),l=o[a],c=r[l],e.replacer&&(c=e.replacer.call(r,l,c)),kr(e,t+1,l,!0,!0,!0)&&(d=e.tag!==null&&e.tag!==\"?\"||e.dump&&e.dump.length>1024,d&&(e.dump&&vs===e.dump.charCodeAt(0)?f+=\"?\":f+=\"? \"),f+=e.dump,d&&(f+=Gu(e,t)),kr(e,t+1,c,!0,d)&&(e.dump&&vs===e.dump.charCodeAt(0)?f+=\":\":f+=\": \",f+=e.dump,i+=f));e.tag=s,e.dump=i||\"{}\"}function Rf(e,t,r){var n,i,s,o,a,u;for(i=r?e.explicitTypes:e.implicitTypes,s=0,o=i.length;s<o;s+=1)if(a=i[s],(a.instanceOf||a.predicate)&&(!a.instanceOf||typeof t==\"object\"&&t instanceof a.instanceOf)&&(!a.predicate||a.predicate(t))){if(r?a.multi&&a.representName?e.tag=a.representName(t):e.tag=a.tag:e.tag=\"?\",a.represent){if(u=e.styleMap[a.tag]||a.defaultStyle,Hv.call(a.represent)===\"[object Function]\")n=a.represent(t,u);else if(e1.call(a.represent,u))n=a.represent[u](t,u);else throw new Tt(\"!<\"+a.tag+'> tag resolver accepts not \"'+u+'\" style');e.dump=n}return!0}return!1}function kr(e,t,r,n,i,s,o){e.tag=null,e.dump=r,Rf(e,r,!1)||Rf(e,r,!0);var a=Hv.call(e.dump),u=n,l;n&&(n=e.flowLevel<0||e.flowLevel>t);var c=a===\"[object Object]\"||a===\"[object Array]\",d,f;if(c&&(d=e.duplicates.indexOf(r),f=d!==-1),(e.tag!==null&&e.tag!==\"?\"||f||e.indent!==2&&t>0)&&(i=!1),f&&e.usedDuplicates[d])e.dump=\"*ref_\"+d;else{if(c&&f&&!e.usedDuplicates[d]&&(e.usedDuplicates[d]=!0),a===\"[object Object]\")n&&Object.keys(e.dump).length!==0?(e3(e,t,e.dump,i),f&&(e.dump=\"&ref_\"+d+e.dump)):(H6(e,t,e.dump),f&&(e.dump=\"&ref_\"+d+\" \"+e.dump));else if(a===\"[object Array]\")n&&e.dump.length!==0?(e.noArrayIndent&&!o&&t>0?Of(e,t-1,e.dump,i):Of(e,t,e.dump,i),f&&(e.dump=\"&ref_\"+d+e.dump)):(N6(e,t,e.dump),f&&(e.dump=\"&ref_\"+d+\" \"+e.dump));else if(a===\"[object String]\")e.tag!==\"?\"&&X6(e,e.dump,t,s,u);else{if(a===\"[object Undefined]\")return!1;if(e.skipInvalid)return!1;throw new Tt(\"unacceptable kind of an object to dump \"+a)}e.tag!==null&&e.tag!==\"?\"&&(l=encodeURI(e.tag[0]===\"!\"?e.tag.slice(1):e.tag).replace(/!/g,\"%21\"),e.tag[0]===\"!\"?l=\"!\"+l:l.slice(0,18)===\"tag:yaml.org,2002:\"?l=\"!!\"+l.slice(18):l=\"!<\"+l+\">\",e.dump=l+\" \"+e.dump)}return!0}function t3(e,t){var r=[],n=[],i,s;for(Xu(e,r,n),i=0,s=n.length;i<s;i+=1)t.duplicates.push(r[n[i]]);t.usedDuplicates=new Array(s)}function Xu(e,t,r){var n,i,s;if(e!==null&&typeof e==\"object\")if(i=t.indexOf(e),i!==-1)r.indexOf(i)===-1&&r.push(i);else if(t.push(e),Array.isArray(e))for(i=0,s=e.length;i<s;i+=1)Xu(e[i],t,r);else for(n=Object.keys(e),i=0,s=n.length;i<s;i+=1)Xu(e[n[i]],t,r)}function r3(e,t){t=t||{};var r=new q6(t);r.noRefs||t3(e,r);var n=e;return r.replacer&&(n=r.replacer.call({\"\":n},\"\",n)),kr(r,0,n,!0,!0)?r.dump+`\n`:\"\"}var n3=r3,i3={dump:n3};function f0(e,t){return function(){throw new Error(\"Function yaml.\"+e+\" is removed in js-yaml 4. Use yaml.\"+t+\" instead, which is now safe by default.\")}}var c1=mt,f1=Sv,d1=Dv,h1=Rv,p1=Mv,v1=a0,g1=Nv.load,x1=Nv.loadAll,y1=i3.dump,E1=Tt,_1={binary:Uv,float:Ov,map:Fv,null:Tv,pairs:zv,set:Kv,timestamp:jv,bool:kv,int:Pv,merge:Vv,omap:Wv,seq:Bv,str:wv},m1=f0(\"safeLoad\",\"load\"),b1=f0(\"safeLoadAll\",\"loadAll\"),C1=f0(\"safeDump\",\"dump\"),s3={Type:c1,Schema:f1,FAILSAFE_SCHEMA:d1,JSON_SCHEMA:h1,CORE_SCHEMA:p1,DEFAULT_SCHEMA:v1,load:g1,loadAll:x1,dump:y1,YAMLException:E1,types:_1,safeLoad:m1,safeLoadAll:b1,safeDump:C1},o3=Object.freeze(Object.defineProperty({__proto__:null,default:s3,CORE_SCHEMA:p1,DEFAULT_SCHEMA:v1,FAILSAFE_SCHEMA:d1,JSON_SCHEMA:h1,Schema:f1,Type:c1,YAMLException:E1,dump:y1,load:g1,loadAll:x1,safeDump:C1,safeLoad:m1,safeLoadAll:b1,types:_1},Symbol.toStringTag,{value:\"Module\"})),a3=qb(o3),u3=we&&we.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ar,\"__esModule\",{value:!0});var A1=Ar.stringify=Ar.escape=Ar.split=B1=Ar.parse=void 0;const S1=u3(a3),l3=/^(-{3,}|;{3,})/,c3=/^(-{3,}|;{3,})\\n([\\s\\S]+?)\\n\\1\\n?([\\s\\S]*)/,f3=/^([\\s\\S]+?)\\n(-{3,}|;{3,})\\n?([\\s\\S]*)/;function w1(e){if(typeof e!=\"string\")throw new TypeError(\"str is required!\");const t=e.match(c3);if(t)return{data:t[2],content:t[3]||\"\",separator:t[1],prefixSeparator:!0};if(l3.test(e))return{content:e};const r=e.match(f3);return r?{data:r[1],content:r[3]||\"\",separator:r[2],prefixSeparator:!1}:{content:e}}Ar.split=w1;function d3(e,t){if(typeof e!=\"string\")throw new TypeError(\"str is required!\");const r=w1(e),n=r.data;if(!n)return{_content:e};let i;return r.separator.startsWith(\";\")?i=p3(n):i=h3(n,t),i?(Object.keys(i).forEach(s=>{const o=i[s];o instanceof Date&&(i[s]=new Date(o.getTime()+o.getTimezoneOffset()*60*1e3))}),i._content=r.content,i):{_content:e}}var B1=Ar.parse=d3;function h3(e,t){const r=S1.default.load(F1(e),t);if(typeof r==\"object\")return r}function p3(e){try{return JSON.parse(`{${e}}`)}catch{return}}function F1(e){if(typeof e!=\"string\")throw new TypeError(\"str is required!\");return e.replace(/\\n(\\t+)/g,(t,r)=>{let n=`\n`;for(let i=0,s=r.length;i<s;i++)n+=\"  \";return n})}Ar.escape=F1;function v3(e,t={}){if(!e)throw new TypeError(\"obj is required!\");const{_content:r=\"\"}=e;if(delete e._content,!Object.keys(e).length)return r;const{mode:n,prefixSeparator:i}=t,s=t.separator||(n===\"json\"?\";;;\":\"---\");let o=\"\";return i&&(o+=`${s}\n`),n===\"json\"?o+=x3(e):o+=g3(e,t),o+=`${s}\n${r}`,o}A1=Ar.stringify=v3;function g3(e,t){const r=Object.keys(e),n={},i=[],s=[];let o,a,u,l;for(u=0,l=r.length;u<l;u++)o=r[u],a=e[o],a==null?i.push(o):a instanceof Date?s.push(o):n[o]=a;let c=S1.default.dump(n,t);if(s.length)for(u=0,l=s.length;u<l;u++)o=s[u],c+=`${o}: ${y3(e[o])}\n`;if(i.length)for(u=0,l=i.length;u<l;u++)c+=`${i[u]}:\n`;return c}function x3(e){return JSON.stringify(e,null,\"  \").replace(/\\n {2}/g,()=>`\n`).replace(/^{\\n|}$/g,\"\")}function Li(e){return e.toString().padStart(2,\"0\")}function y3(e){return`${e.getFullYear()}-${Li(e.getMonth()+1)}-${Li(e.getDate())} ${Li(e.getHours())}:${Li(e.getMinutes())}:${Li(e.getSeconds())}`}const D1=(e=\"\")=>{var y;const{_content:t,title:r,date:n,updated:i,layout:s,tags:o,categories:a,...u}=B1(e),l=_=>typeof _==\"string\"?_:\"\",c=_=>Array.isArray(_)?_.map(l):[],d=_=>Array.isArray(_)?_.map(A=>Array.isArray(A)?c(A):l(A)):[],f=l(t),h=l(r),p=c(o),g=l(n),x=l(i),m=l(s),v=(y=_8(d(a))[0])!=null?y:[];return{_content:f,title:h,date:g,updated:x,layout:m,tags:p,categories:v,fm:u}},E3=({_content:e,title:t,date:r,updated:n,layout:i,tags:s,categories:o,fm:a})=>{const u=e,l=t||void 0,c=r||void 0,d=n||void 0,f=i||void 0,h=s!=null&&s.length?s:void 0,p=o!=null&&o.length?o:void 0;let g={_content:u,...a};return l&&(g={...g,title:l}),c&&(g={...g,date:c}),d&&(g={...g,updated:d}),f&&(g={...g,layout:f}),h&&(g={...g,tags:h}),p&&(g={...g,categories:p}),A1(g)},NF=(e,t)=>E3({...D1(e),...t});function Da(e){return!!(e&&\"published\"in e&&!e.published)}function Br(e){return!!(e&&\"__post\"in e)}function rs(e){return!!(e&&\"__page\"in e)}function _3(e){if(!e)return{type:\"post\",isDraft:!1,title:\"\",tags:[],categories:[],date:null,updated:null,source:\"\",fm:{}};const{tags:t,categories:r,fm:n}=D1(e.raw);return{type:rs(e)?\"page\":\"post\",isDraft:Da(e),title:e.title,tags:rs(e)?[]:t,categories:rs(e)?[]:r,date:Lo(e.date),updated:Lo(e.updated),source:e.source,fm:n}}const qe=({_id:e,...t})=>({id:e,...t});class m3{async getAllData(){const[t,r,n,i]=await Promise.all([this.getPosts(),this.getPages(),this.getTags(),this.getCategories()]);return{posts:t,pages:r,tags:n,categories:i}}async getPosts(){const t=await ot.get(\"/hexo/posts\");return Z1.array().parse(t.data.map(qe))}async getPages(){const t=await ot.get(\"/hexo/pages\");return q1.array().parse(t.data.map(qe))}async getTags(){const t=await ot.get(\"/hexo/tags\");return h0.array().parse(t.data.map(qe))}async getCategories(){const t=await ot.get(\"/hexo/categories\");return G1.array().parse(t.data.map(qe))}async getArticle(t,r){const n=await ot.get(`/hexo/${t}/${encodeURIComponent(r)}`);return t===\"post\"?el.parse(qe(n.data)):Y1.parse(qe(n.data))}async saveArticle(t,r,n){const i=await ot.put(`/hexo/${t}/${encodeURIComponent(r)}`,{raw:n});if(t===\"post\"){const{article:s,posts:o,pages:a,tags:u,categories:l}=i.data;return jf.parse({post:qe(s),posts:o.map(qe),pages:a.map(qe),tags:u.map(qe),categories:l.map(qe)})}else{const{article:s,posts:o,pages:a,tags:u,categories:l}=i.data;return $f.parse({page:qe(s),posts:o.map(qe),pages:a.map(qe),tags:u.map(qe),categories:l.map(qe)})}}async deleteArticle(t,r){const n=await ot.delete(`/hexo/${t}/${encodeURIComponent(r)}`),{posts:i,pages:s,tags:o,categories:a}=n.data;return p0.parse({posts:i.map(qe),pages:s.map(qe),tags:o.map(qe),categories:a.map(qe)})}async createArticle(t,r={}){const n=await ot.post(\"/hexo/create\",{title:t,...r}),{article:i}=n.data;if(Br(i)){const{article:s,posts:o,pages:a,tags:u,categories:l}=n.data;return jf.parse({post:qe(s),posts:o.map(qe),pages:a.map(qe),tags:u.map(qe),categories:l.map(qe)})}else{const{article:s,posts:o,pages:a,tags:u,categories:l}=n.data;return $f.parse({page:qe(s),posts:o.map(qe),pages:a.map(qe),tags:u.map(qe),categories:l.map(qe)})}}async publishArticle(t,r){const n=await ot.post(\"/hexo/publish\",{filename:t,layout:r}),{article:i}=n.data;return el.parse(qe(i))}async deploy(t={}){return ot.post(\"/hexo/deploy\",t)}async generate(t={}){return ot.post(\"/hexo/generate\",t)}async clean(){return ot.post(\"/hexo/clean\")}async gitSync(){return ot.post(\"/git/sync\")}async gitSave(){return ot.post(\"/git/save\")}}var We;(function(e){e.assertEqual=i=>i;function t(i){}e.assertIs=t;function r(i){throw new Error}e.assertNever=r,e.arrayToEnum=i=>{const s={};for(const o of i)s[o]=o;return s},e.getValidEnumValues=i=>{const s=e.objectKeys(i).filter(a=>typeof i[i[a]]!=\"number\"),o={};for(const a of s)o[a]=i[a];return e.objectValues(o)},e.objectValues=i=>e.objectKeys(i).map(function(s){return i[s]}),e.objectKeys=typeof Object.keys==\"function\"?i=>Object.keys(i):i=>{const s=[];for(const o in i)Object.prototype.hasOwnProperty.call(i,o)&&s.push(o);return s},e.find=(i,s)=>{for(const o of i)if(s(o))return o},e.isInteger=typeof Number.isInteger==\"function\"?i=>Number.isInteger(i):i=>typeof i==\"number\"&&isFinite(i)&&Math.floor(i)===i;function n(i,s=\" | \"){return i.map(o=>typeof o==\"string\"?`'${o}'`:o).join(s)}e.joinValues=n,e.jsonStringifyReplacer=(i,s)=>typeof s==\"bigint\"?s.toString():s})(We||(We={}));var Ju;(function(e){e.mergeShapes=(t,r)=>({...t,...r})})(Ju||(Ju={}));const le=We.arrayToEnum([\"string\",\"nan\",\"number\",\"integer\",\"float\",\"boolean\",\"date\",\"bigint\",\"symbol\",\"function\",\"undefined\",\"null\",\"array\",\"object\",\"unknown\",\"promise\",\"void\",\"never\",\"map\",\"set\"]),en=e=>{switch(typeof e){case\"undefined\":return le.undefined;case\"string\":return le.string;case\"number\":return isNaN(e)?le.nan:le.number;case\"boolean\":return le.boolean;case\"function\":return le.function;case\"bigint\":return le.bigint;case\"symbol\":return le.symbol;case\"object\":return Array.isArray(e)?le.array:e===null?le.null:e.then&&typeof e.then==\"function\"&&e.catch&&typeof e.catch==\"function\"?le.promise:typeof Map!=\"undefined\"&&e instanceof Map?le.map:typeof Set!=\"undefined\"&&e instanceof Set?le.set:typeof Date!=\"undefined\"&&e instanceof Date?le.date:le.object;default:return le.unknown}},N=We.arrayToEnum([\"invalid_type\",\"invalid_literal\",\"custom\",\"invalid_union\",\"invalid_union_discriminator\",\"invalid_enum_value\",\"unrecognized_keys\",\"invalid_arguments\",\"invalid_return_type\",\"invalid_date\",\"invalid_string\",\"too_small\",\"too_big\",\"invalid_intersection_types\",\"not_multiple_of\",\"not_finite\"]),b3=e=>JSON.stringify(e,null,2).replace(/\"([^\"]+)\":/g,\"$1:\");class Kt extends Error{constructor(t){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};const r=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,r):this.__proto__=r,this.name=\"ZodError\",this.issues=t}get errors(){return this.issues}format(t){const r=t||function(s){return s.message},n={_errors:[]},i=s=>{for(const o of s.issues)if(o.code===\"invalid_union\")o.unionErrors.map(i);else if(o.code===\"invalid_return_type\")i(o.returnTypeError);else if(o.code===\"invalid_arguments\")i(o.argumentsError);else if(o.path.length===0)n._errors.push(r(o));else{let a=n,u=0;for(;u<o.path.length;){const l=o.path[u];u===o.path.length-1?(a[l]=a[l]||{_errors:[]},a[l]._errors.push(r(o))):a[l]=a[l]||{_errors:[]},a=a[l],u++}}};return i(this),n}static assert(t){if(!(t instanceof Kt))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,We.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=r=>r.message){const r={},n=[];for(const i of this.issues)i.path.length>0?(r[i.path[0]]=r[i.path[0]]||[],r[i.path[0]].push(t(i))):n.push(t(i));return{formErrors:n,fieldErrors:r}}get formErrors(){return this.flatten()}}Kt.create=e=>new Kt(e);const yi=(e,t)=>{let r;switch(e.code){case N.invalid_type:e.received===le.undefined?r=\"Required\":r=`Expected ${e.expected}, received ${e.received}`;break;case N.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,We.jsonStringifyReplacer)}`;break;case N.unrecognized_keys:r=`Unrecognized key(s) in object: ${We.joinValues(e.keys,\", \")}`;break;case N.invalid_union:r=\"Invalid input\";break;case N.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${We.joinValues(e.options)}`;break;case N.invalid_enum_value:r=`Invalid enum value. Expected ${We.joinValues(e.options)}, received '${e.received}'`;break;case N.invalid_arguments:r=\"Invalid function arguments\";break;case N.invalid_return_type:r=\"Invalid function return type\";break;case N.invalid_date:r=\"Invalid date\";break;case N.invalid_string:typeof e.validation==\"object\"?\"includes\"in e.validation?(r=`Invalid input: must include \"${e.validation.includes}\"`,typeof e.validation.position==\"number\"&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):\"startsWith\"in e.validation?r=`Invalid input: must start with \"${e.validation.startsWith}\"`:\"endsWith\"in e.validation?r=`Invalid input: must end with \"${e.validation.endsWith}\"`:We.assertNever(e.validation):e.validation!==\"regex\"?r=`Invalid ${e.validation}`:r=\"Invalid\";break;case N.too_small:e.type===\"array\"?r=`Array must contain ${e.exact?\"exactly\":e.inclusive?\"at least\":\"more than\"} ${e.minimum} element(s)`:e.type===\"string\"?r=`String must contain ${e.exact?\"exactly\":e.inclusive?\"at least\":\"over\"} ${e.minimum} character(s)`:e.type===\"number\"?r=`Number must be ${e.exact?\"exactly equal to \":e.inclusive?\"greater than or equal to \":\"greater than \"}${e.minimum}`:e.type===\"date\"?r=`Date must be ${e.exact?\"exactly equal to \":e.inclusive?\"greater than or equal to \":\"greater than \"}${new Date(Number(e.minimum))}`:r=\"Invalid input\";break;case N.too_big:e.type===\"array\"?r=`Array must contain ${e.exact?\"exactly\":e.inclusive?\"at most\":\"less than\"} ${e.maximum} element(s)`:e.type===\"string\"?r=`String must contain ${e.exact?\"exactly\":e.inclusive?\"at most\":\"under\"} ${e.maximum} character(s)`:e.type===\"number\"?r=`Number must be ${e.exact?\"exactly\":e.inclusive?\"less than or equal to\":\"less than\"} ${e.maximum}`:e.type===\"bigint\"?r=`BigInt must be ${e.exact?\"exactly\":e.inclusive?\"less than or equal to\":\"less than\"} ${e.maximum}`:e.type===\"date\"?r=`Date must be ${e.exact?\"exactly\":e.inclusive?\"smaller than or equal to\":\"smaller than\"} ${new Date(Number(e.maximum))}`:r=\"Invalid input\";break;case N.custom:r=\"Invalid input\";break;case N.invalid_intersection_types:r=\"Intersection results could not be merged\";break;case N.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case N.not_finite:r=\"Number must be finite\";break;default:r=t.defaultError,We.assertNever(e)}return{message:r}};let T1=yi;function C3(e){T1=e}function zo(){return T1}const Ko=e=>{const{data:t,path:r,errorMaps:n,issueData:i}=e,s=[...r,...i.path||[]],o={...i,path:s};if(i.message!==void 0)return{...i,path:s,message:i.message};let a=\"\";const u=n.filter(l=>!!l).slice().reverse();for(const l of u)a=l(o,{data:t,defaultError:a}).message;return{...i,path:s,message:a}},A3=[];function ae(e,t){const r=zo(),n=Ko({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,r,r===yi?void 0:yi].filter(i=>!!i)});e.common.issues.push(n)}class At{constructor(){this.value=\"valid\"}dirty(){this.value===\"valid\"&&(this.value=\"dirty\")}abort(){this.value!==\"aborted\"&&(this.value=\"aborted\")}static mergeArray(t,r){const n=[];for(const i of r){if(i.status===\"aborted\")return Ae;i.status===\"dirty\"&&t.dirty(),n.push(i.value)}return{status:t.value,value:n}}static async mergeObjectAsync(t,r){const n=[];for(const i of r){const s=await i.key,o=await i.value;n.push({key:s,value:o})}return At.mergeObjectSync(t,n)}static mergeObjectSync(t,r){const n={};for(const i of r){const{key:s,value:o}=i;if(s.status===\"aborted\"||o.status===\"aborted\")return Ae;s.status===\"dirty\"&&t.dirty(),o.status===\"dirty\"&&t.dirty(),s.value!==\"__proto__\"&&(typeof o.value!=\"undefined\"||i.alwaysSet)&&(n[s.value]=o.value)}return{status:t.value,value:n}}}const Ae=Object.freeze({status:\"aborted\"}),si=e=>({status:\"dirty\",value:e}),kt=e=>({status:\"valid\",value:e}),Iu=e=>e.status===\"aborted\",Nu=e=>e.status===\"dirty\",ys=e=>e.status===\"valid\",Es=e=>typeof Promise!=\"undefined\"&&e instanceof Promise;function qo(e,t,r,n){if(r===\"a\"&&!n)throw new TypeError(\"Private accessor was defined without a getter\");if(typeof t==\"function\"?e!==t||!n:!t.has(e))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return r===\"m\"?n:r===\"a\"?n.call(e):n?n.value:t.get(e)}function k1(e,t,r,n,i){if(n===\"m\")throw new TypeError(\"Private method is not writable\");if(n===\"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 n===\"a\"?i.call(e,r):i?i.value=r:t.set(e,r),r}var he;(function(e){e.errToObj=t=>typeof t==\"string\"?{message:t}:t||{},e.toString=t=>typeof t==\"string\"?t:t==null?void 0:t.message})(he||(he={}));var qi,Zi;class xr{constructor(t,r,n,i){this._cachedPath=[],this.parent=t,this.data=r,this._path=n,this._key=i}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const Mf=(e,t)=>{if(ys(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error(\"Validation failed but no issues detected.\");return{success:!1,get error(){if(this._error)return this._error;const r=new Kt(e.common.issues);return this._error=r,this._error}}};function ke(e){if(!e)return{};const{errorMap:t,invalid_type_error:r,required_error:n,description:i}=e;if(t&&(r||n))throw new Error(`Can't use \"invalid_type_error\" or \"required_error\" in conjunction with custom error map.`);return t?{errorMap:t,description:i}:{errorMap:(o,a)=>{var u,l;const{message:c}=e;return o.code===\"invalid_enum_value\"?{message:c!=null?c:a.defaultError}:typeof a.data==\"undefined\"?{message:(u=c!=null?c:n)!==null&&u!==void 0?u:a.defaultError}:o.code!==\"invalid_type\"?{message:a.defaultError}:{message:(l=c!=null?c:r)!==null&&l!==void 0?l:a.defaultError}},description:i}}class Me{constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(t){return en(t.data)}_getOrReturnCtx(t,r){return r||{common:t.parent.common,data:t.data,parsedType:en(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new At,ctx:{common:t.parent.common,data:t.data,parsedType:en(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const r=this._parse(t);if(Es(r))throw new Error(\"Synchronous parse encountered promise.\");return r}_parseAsync(t){const r=this._parse(t);return Promise.resolve(r)}parse(t,r){const n=this.safeParse(t,r);if(n.success)return n.data;throw n.error}safeParse(t,r){var n;const i={common:{issues:[],async:(n=r==null?void 0:r.async)!==null&&n!==void 0?n:!1,contextualErrorMap:r==null?void 0:r.errorMap},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:en(t)},s=this._parseSync({data:t,path:i.path,parent:i});return Mf(i,s)}async parseAsync(t,r){const n=await this.safeParseAsync(t,r);if(n.success)return n.data;throw n.error}async safeParseAsync(t,r){const n={common:{issues:[],contextualErrorMap:r==null?void 0:r.errorMap,async:!0},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:en(t)},i=this._parse({data:t,path:n.path,parent:n}),s=await(Es(i)?i:Promise.resolve(i));return Mf(n,s)}refine(t,r){const n=i=>typeof r==\"string\"||typeof r==\"undefined\"?{message:r}:typeof r==\"function\"?r(i):r;return this._refinement((i,s)=>{const o=t(i),a=()=>s.addIssue({code:N.custom,...n(i)});return typeof Promise!=\"undefined\"&&o instanceof Promise?o.then(u=>u?!0:(a(),!1)):o?!0:(a(),!1)})}refinement(t,r){return this._refinement((n,i)=>t(n)?!0:(i.addIssue(typeof r==\"function\"?r(n,i):r),!1))}_refinement(t){return new or({schema:this,typeName:be.ZodEffects,effect:{type:\"refinement\",refinement:t}})}superRefine(t){return this._refinement(t)}optional(){return vr.create(this,this._def)}nullable(){return vn.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return sr.create(this,this._def)}promise(){return _i.create(this,this._def)}or(t){return Cs.create([this,t],this._def)}and(t){return As.create(this,t,this._def)}transform(t){return new or({...ke(this._def),schema:this,typeName:be.ZodEffects,effect:{type:\"transform\",transform:t}})}default(t){const r=typeof t==\"function\"?t:()=>t;return new Ds({...ke(this._def),innerType:this,defaultValue:r,typeName:be.ZodDefault})}brand(){return new d0({typeName:be.ZodBranded,type:this,...ke(this._def)})}catch(t){const r=typeof t==\"function\"?t:()=>t;return new Ts({...ke(this._def),innerType:this,catchValue:r,typeName:be.ZodCatch})}describe(t){const r=this.constructor;return new r({...this._def,description:t})}pipe(t){return qs.create(this,t)}readonly(){return ks.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const S3=/^c[^\\s-]{8,}$/i,w3=/^[0-9a-z]+$/,B3=/^[0-9A-HJKMNP-TV-Z]{26}$/,F3=/^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/i,D3=/^[a-z0-9_-]{21}$/i,T3=/^[-+]?P(?!$)(?:(?:[-+]?\\d+Y)|(?:[-+]?\\d+[.,]\\d+Y$))?(?:(?:[-+]?\\d+M)|(?:[-+]?\\d+[.,]\\d+M$))?(?:(?:[-+]?\\d+W)|(?:[-+]?\\d+[.,]\\d+W$))?(?:(?:[-+]?\\d+D)|(?:[-+]?\\d+[.,]\\d+D$))?(?:T(?=[\\d+-])(?:(?:[-+]?\\d+H)|(?:[-+]?\\d+[.,]\\d+H$))?(?:(?:[-+]?\\d+M)|(?:[-+]?\\d+[.,]\\d+M$))?(?:[-+]?\\d+(?:[.,]\\d+)?S)?)??$/,k3=/^(?!\\.)(?!.*\\.\\.)([A-Z0-9_'+\\-\\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\\-]*\\.)+[A-Z]{2,}$/i,P3=\"^(\\\\p{Extended_Pictographic}|\\\\p{Emoji_Component})+$\";let uu;const O3=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,R3=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,M3=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,P1=\"((\\\\d\\\\d[2468][048]|\\\\d\\\\d[13579][26]|\\\\d\\\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\\\d|30)|(02)-(0[1-9]|1\\\\d|2[0-8])))\",L3=new RegExp(`^${P1}$`);function O1(e){let t=\"([01]\\\\d|2[0-3]):[0-5]\\\\d:[0-5]\\\\d\";return e.precision?t=`${t}\\\\.\\\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\\\.\\\\d+)?`),t}function $3(e){return new RegExp(`^${O1(e)}$`)}function R1(e){let t=`${P1}T${O1(e)}`;const r=[];return r.push(e.local?\"Z?\":\"Z\"),e.offset&&r.push(\"([+-]\\\\d{2}:?\\\\d{2})\"),t=`${t}(${r.join(\"|\")})`,new RegExp(`^${t}$`)}function j3(e,t){return!!((t===\"v4\"||!t)&&O3.test(e)||(t===\"v6\"||!t)&&R3.test(e))}class nr extends Me{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==le.string){const s=this._getOrReturnCtx(t);return ae(s,{code:N.invalid_type,expected:le.string,received:s.parsedType}),Ae}const n=new At;let i;for(const s of this._def.checks)if(s.kind===\"min\")t.data.length<s.value&&(i=this._getOrReturnCtx(t,i),ae(i,{code:N.too_small,minimum:s.value,type:\"string\",inclusive:!0,exact:!1,message:s.message}),n.dirty());else if(s.kind===\"max\")t.data.length>s.value&&(i=this._getOrReturnCtx(t,i),ae(i,{code:N.too_big,maximum:s.value,type:\"string\",inclusive:!0,exact:!1,message:s.message}),n.dirty());else if(s.kind===\"length\"){const o=t.data.length>s.value,a=t.data.length<s.value;(o||a)&&(i=this._getOrReturnCtx(t,i),o?ae(i,{code:N.too_big,maximum:s.value,type:\"string\",inclusive:!0,exact:!0,message:s.message}):a&&ae(i,{code:N.too_small,minimum:s.value,type:\"string\",inclusive:!0,exact:!0,message:s.message}),n.dirty())}else if(s.kind===\"email\")k3.test(t.data)||(i=this._getOrReturnCtx(t,i),ae(i,{validation:\"email\",code:N.invalid_string,message:s.message}),n.dirty());else if(s.kind===\"emoji\")uu||(uu=new RegExp(P3,\"u\")),uu.test(t.data)||(i=this._getOrReturnCtx(t,i),ae(i,{validation:\"emoji\",code:N.invalid_string,message:s.message}),n.dirty());else if(s.kind===\"uuid\")F3.test(t.data)||(i=this._getOrReturnCtx(t,i),ae(i,{validation:\"uuid\",code:N.invalid_string,message:s.message}),n.dirty());else if(s.kind===\"nanoid\")D3.test(t.data)||(i=this._getOrReturnCtx(t,i),ae(i,{validation:\"nanoid\",code:N.invalid_string,message:s.message}),n.dirty());else if(s.kind===\"cuid\")S3.test(t.data)||(i=this._getOrReturnCtx(t,i),ae(i,{validation:\"cuid\",code:N.invalid_string,message:s.message}),n.dirty());else if(s.kind===\"cuid2\")w3.test(t.data)||(i=this._getOrReturnCtx(t,i),ae(i,{validation:\"cuid2\",code:N.invalid_string,message:s.message}),n.dirty());else if(s.kind===\"ulid\")B3.test(t.data)||(i=this._getOrReturnCtx(t,i),ae(i,{validation:\"ulid\",code:N.invalid_string,message:s.message}),n.dirty());else if(s.kind===\"url\")try{new URL(t.data)}catch{i=this._getOrReturnCtx(t,i),ae(i,{validation:\"url\",code:N.invalid_string,message:s.message}),n.dirty()}else s.kind===\"regex\"?(s.regex.lastIndex=0,s.regex.test(t.data)||(i=this._getOrReturnCtx(t,i),ae(i,{validation:\"regex\",code:N.invalid_string,message:s.message}),n.dirty())):s.kind===\"trim\"?t.data=t.data.trim():s.kind===\"includes\"?t.data.includes(s.value,s.position)||(i=this._getOrReturnCtx(t,i),ae(i,{code:N.invalid_string,validation:{includes:s.value,position:s.position},message:s.message}),n.dirty()):s.kind===\"toLowerCase\"?t.data=t.data.toLowerCase():s.kind===\"toUpperCase\"?t.data=t.data.toUpperCase():s.kind===\"startsWith\"?t.data.startsWith(s.value)||(i=this._getOrReturnCtx(t,i),ae(i,{code:N.invalid_string,validation:{startsWith:s.value},message:s.message}),n.dirty()):s.kind===\"endsWith\"?t.data.endsWith(s.value)||(i=this._getOrReturnCtx(t,i),ae(i,{code:N.invalid_string,validation:{endsWith:s.value},message:s.message}),n.dirty()):s.kind===\"datetime\"?R1(s).test(t.data)||(i=this._getOrReturnCtx(t,i),ae(i,{code:N.invalid_string,validation:\"datetime\",message:s.message}),n.dirty()):s.kind===\"date\"?L3.test(t.data)||(i=this._getOrReturnCtx(t,i),ae(i,{code:N.invalid_string,validation:\"date\",message:s.message}),n.dirty()):s.kind===\"time\"?$3(s).test(t.data)||(i=this._getOrReturnCtx(t,i),ae(i,{code:N.invalid_string,validation:\"time\",message:s.message}),n.dirty()):s.kind===\"duration\"?T3.test(t.data)||(i=this._getOrReturnCtx(t,i),ae(i,{validation:\"duration\",code:N.invalid_string,message:s.message}),n.dirty()):s.kind===\"ip\"?j3(t.data,s.version)||(i=this._getOrReturnCtx(t,i),ae(i,{validation:\"ip\",code:N.invalid_string,message:s.message}),n.dirty()):s.kind===\"base64\"?M3.test(t.data)||(i=this._getOrReturnCtx(t,i),ae(i,{validation:\"base64\",code:N.invalid_string,message:s.message}),n.dirty()):We.assertNever(s);return{status:n.value,value:t.data}}_regex(t,r,n){return this.refinement(i=>t.test(i),{validation:r,code:N.invalid_string,...he.errToObj(n)})}_addCheck(t){return new nr({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:\"email\",...he.errToObj(t)})}url(t){return this._addCheck({kind:\"url\",...he.errToObj(t)})}emoji(t){return this._addCheck({kind:\"emoji\",...he.errToObj(t)})}uuid(t){return this._addCheck({kind:\"uuid\",...he.errToObj(t)})}nanoid(t){return this._addCheck({kind:\"nanoid\",...he.errToObj(t)})}cuid(t){return this._addCheck({kind:\"cuid\",...he.errToObj(t)})}cuid2(t){return this._addCheck({kind:\"cuid2\",...he.errToObj(t)})}ulid(t){return this._addCheck({kind:\"ulid\",...he.errToObj(t)})}base64(t){return this._addCheck({kind:\"base64\",...he.errToObj(t)})}ip(t){return this._addCheck({kind:\"ip\",...he.errToObj(t)})}datetime(t){var r,n;return typeof t==\"string\"?this._addCheck({kind:\"datetime\",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:\"datetime\",precision:typeof(t==null?void 0:t.precision)==\"undefined\"?null:t==null?void 0:t.precision,offset:(r=t==null?void 0:t.offset)!==null&&r!==void 0?r:!1,local:(n=t==null?void 0:t.local)!==null&&n!==void 0?n:!1,...he.errToObj(t==null?void 0:t.message)})}date(t){return this._addCheck({kind:\"date\",message:t})}time(t){return typeof t==\"string\"?this._addCheck({kind:\"time\",precision:null,message:t}):this._addCheck({kind:\"time\",precision:typeof(t==null?void 0:t.precision)==\"undefined\"?null:t==null?void 0:t.precision,...he.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:\"duration\",...he.errToObj(t)})}regex(t,r){return this._addCheck({kind:\"regex\",regex:t,...he.errToObj(r)})}includes(t,r){return this._addCheck({kind:\"includes\",value:t,position:r==null?void 0:r.position,...he.errToObj(r==null?void 0:r.message)})}startsWith(t,r){return this._addCheck({kind:\"startsWith\",value:t,...he.errToObj(r)})}endsWith(t,r){return this._addCheck({kind:\"endsWith\",value:t,...he.errToObj(r)})}min(t,r){return this._addCheck({kind:\"min\",value:t,...he.errToObj(r)})}max(t,r){return this._addCheck({kind:\"max\",value:t,...he.errToObj(r)})}length(t,r){return this._addCheck({kind:\"length\",value:t,...he.errToObj(r)})}nonempty(t){return this.min(1,he.errToObj(t))}trim(){return new nr({...this._def,checks:[...this._def.checks,{kind:\"trim\"}]})}toLowerCase(){return new nr({...this._def,checks:[...this._def.checks,{kind:\"toLowerCase\"}]})}toUpperCase(){return new nr({...this._def,checks:[...this._def.checks,{kind:\"toUpperCase\"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind===\"datetime\")}get isDate(){return!!this._def.checks.find(t=>t.kind===\"date\")}get isTime(){return!!this._def.checks.find(t=>t.kind===\"time\")}get isDuration(){return!!this._def.checks.find(t=>t.kind===\"duration\")}get isEmail(){return!!this._def.checks.find(t=>t.kind===\"email\")}get isURL(){return!!this._def.checks.find(t=>t.kind===\"url\")}get isEmoji(){return!!this._def.checks.find(t=>t.kind===\"emoji\")}get isUUID(){return!!this._def.checks.find(t=>t.kind===\"uuid\")}get isNANOID(){return!!this._def.checks.find(t=>t.kind===\"nanoid\")}get isCUID(){return!!this._def.checks.find(t=>t.kind===\"cuid\")}get isCUID2(){return!!this._def.checks.find(t=>t.kind===\"cuid2\")}get isULID(){return!!this._def.checks.find(t=>t.kind===\"ulid\")}get isIP(){return!!this._def.checks.find(t=>t.kind===\"ip\")}get isBase64(){return!!this._def.checks.find(t=>t.kind===\"base64\")}get minLength(){let t=null;for(const r of this._def.checks)r.kind===\"min\"&&(t===null||r.value>t)&&(t=r.value);return t}get maxLength(){let t=null;for(const r of this._def.checks)r.kind===\"max\"&&(t===null||r.value<t)&&(t=r.value);return t}}nr.create=e=>{var t;return new nr({checks:[],typeName:be.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...ke(e)})};function V3(e,t){const r=(e.toString().split(\".\")[1]||\"\").length,n=(t.toString().split(\".\")[1]||\"\").length,i=r>n?r:n,s=parseInt(e.toFixed(i).replace(\".\",\"\")),o=parseInt(t.toFixed(i).replace(\".\",\"\"));return s%o/Math.pow(10,i)}class dn extends Me{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==le.number){const s=this._getOrReturnCtx(t);return ae(s,{code:N.invalid_type,expected:le.number,received:s.parsedType}),Ae}let n;const i=new At;for(const s of this._def.checks)s.kind===\"int\"?We.isInteger(t.data)||(n=this._getOrReturnCtx(t,n),ae(n,{code:N.invalid_type,expected:\"integer\",received:\"float\",message:s.message}),i.dirty()):s.kind===\"min\"?(s.inclusive?t.data<s.value:t.data<=s.value)&&(n=this._getOrReturnCtx(t,n),ae(n,{code:N.too_small,minimum:s.value,type:\"number\",inclusive:s.inclusive,exact:!1,message:s.message}),i.dirty()):s.kind===\"max\"?(s.inclusive?t.data>s.value:t.data>=s.value)&&(n=this._getOrReturnCtx(t,n),ae(n,{code:N.too_big,maximum:s.value,type:\"number\",inclusive:s.inclusive,exact:!1,message:s.message}),i.dirty()):s.kind===\"multipleOf\"?V3(t.data,s.value)!==0&&(n=this._getOrReturnCtx(t,n),ae(n,{code:N.not_multiple_of,multipleOf:s.value,message:s.message}),i.dirty()):s.kind===\"finite\"?Number.isFinite(t.data)||(n=this._getOrReturnCtx(t,n),ae(n,{code:N.not_finite,message:s.message}),i.dirty()):We.assertNever(s);return{status:i.value,value:t.data}}gte(t,r){return this.setLimit(\"min\",t,!0,he.toString(r))}gt(t,r){return this.setLimit(\"min\",t,!1,he.toString(r))}lte(t,r){return this.setLimit(\"max\",t,!0,he.toString(r))}lt(t,r){return this.setLimit(\"max\",t,!1,he.toString(r))}setLimit(t,r,n,i){return new dn({...this._def,checks:[...this._def.checks,{kind:t,value:r,inclusive:n,message:he.toString(i)}]})}_addCheck(t){return new dn({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:\"int\",message:he.toString(t)})}positive(t){return this._addCheck({kind:\"min\",value:0,inclusive:!1,message:he.toString(t)})}negative(t){return this._addCheck({kind:\"max\",value:0,inclusive:!1,message:he.toString(t)})}nonpositive(t){return this._addCheck({kind:\"max\",value:0,inclusive:!0,message:he.toString(t)})}nonnegative(t){return this._addCheck({kind:\"min\",value:0,inclusive:!0,message:he.toString(t)})}multipleOf(t,r){return this._addCheck({kind:\"multipleOf\",value:t,message:he.toString(r)})}finite(t){return this._addCheck({kind:\"finite\",message:he.toString(t)})}safe(t){return this._addCheck({kind:\"min\",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:he.toString(t)})._addCheck({kind:\"max\",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:he.toString(t)})}get minValue(){let t=null;for(const r of this._def.checks)r.kind===\"min\"&&(t===null||r.value>t)&&(t=r.value);return t}get maxValue(){let t=null;for(const r of this._def.checks)r.kind===\"max\"&&(t===null||r.value<t)&&(t=r.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind===\"int\"||t.kind===\"multipleOf\"&&We.isInteger(t.value))}get isFinite(){let t=null,r=null;for(const n of this._def.checks){if(n.kind===\"finite\"||n.kind===\"int\"||n.kind===\"multipleOf\")return!0;n.kind===\"min\"?(r===null||n.value>r)&&(r=n.value):n.kind===\"max\"&&(t===null||n.value<t)&&(t=n.value)}return Number.isFinite(r)&&Number.isFinite(t)}}dn.create=e=>new dn({checks:[],typeName:be.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...ke(e)});class hn extends Me{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce&&(t.data=BigInt(t.data)),this._getType(t)!==le.bigint){const s=this._getOrReturnCtx(t);return ae(s,{code:N.invalid_type,expected:le.bigint,received:s.parsedType}),Ae}let n;const i=new At;for(const s of this._def.checks)s.kind===\"min\"?(s.inclusive?t.data<s.value:t.data<=s.value)&&(n=this._getOrReturnCtx(t,n),ae(n,{code:N.too_small,type:\"bigint\",minimum:s.value,inclusive:s.inclusive,message:s.message}),i.dirty()):s.kind===\"max\"?(s.inclusive?t.data>s.value:t.data>=s.value)&&(n=this._getOrReturnCtx(t,n),ae(n,{code:N.too_big,type:\"bigint\",maximum:s.value,inclusive:s.inclusive,message:s.message}),i.dirty()):s.kind===\"multipleOf\"?t.data%s.value!==BigInt(0)&&(n=this._getOrReturnCtx(t,n),ae(n,{code:N.not_multiple_of,multipleOf:s.value,message:s.message}),i.dirty()):We.assertNever(s);return{status:i.value,value:t.data}}gte(t,r){return this.setLimit(\"min\",t,!0,he.toString(r))}gt(t,r){return this.setLimit(\"min\",t,!1,he.toString(r))}lte(t,r){return this.setLimit(\"max\",t,!0,he.toString(r))}lt(t,r){return this.setLimit(\"max\",t,!1,he.toString(r))}setLimit(t,r,n,i){return new hn({...this._def,checks:[...this._def.checks,{kind:t,value:r,inclusive:n,message:he.toString(i)}]})}_addCheck(t){return new hn({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:\"min\",value:BigInt(0),inclusive:!1,message:he.toString(t)})}negative(t){return this._addCheck({kind:\"max\",value:BigInt(0),inclusive:!1,message:he.toString(t)})}nonpositive(t){return this._addCheck({kind:\"max\",value:BigInt(0),inclusive:!0,message:he.toString(t)})}nonnegative(t){return this._addCheck({kind:\"min\",value:BigInt(0),inclusive:!0,message:he.toString(t)})}multipleOf(t,r){return this._addCheck({kind:\"multipleOf\",value:t,message:he.toString(r)})}get minValue(){let t=null;for(const r of this._def.checks)r.kind===\"min\"&&(t===null||r.value>t)&&(t=r.value);return t}get maxValue(){let t=null;for(const r of this._def.checks)r.kind===\"max\"&&(t===null||r.value<t)&&(t=r.value);return t}}hn.create=e=>{var t;return new hn({checks:[],typeName:be.ZodBigInt,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...ke(e)})};class _s extends Me{_parse(t){if(this._def.coerce&&(t.data=Boolean(t.data)),this._getType(t)!==le.boolean){const n=this._getOrReturnCtx(t);return ae(n,{code:N.invalid_type,expected:le.boolean,received:n.parsedType}),Ae}return kt(t.data)}}_s.create=e=>new _s({typeName:be.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...ke(e)});class Vn extends Me{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==le.date){const s=this._getOrReturnCtx(t);return ae(s,{code:N.invalid_type,expected:le.date,received:s.parsedType}),Ae}if(isNaN(t.data.getTime())){const s=this._getOrReturnCtx(t);return ae(s,{code:N.invalid_date}),Ae}const n=new At;let i;for(const s of this._def.checks)s.kind===\"min\"?t.data.getTime()<s.value&&(i=this._getOrReturnCtx(t,i),ae(i,{code:N.too_small,message:s.message,inclusive:!0,exact:!1,minimum:s.value,type:\"date\"}),n.dirty()):s.kind===\"max\"?t.data.getTime()>s.value&&(i=this._getOrReturnCtx(t,i),ae(i,{code:N.too_big,message:s.message,inclusive:!0,exact:!1,maximum:s.value,type:\"date\"}),n.dirty()):We.assertNever(s);return{status:n.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Vn({...this._def,checks:[...this._def.checks,t]})}min(t,r){return this._addCheck({kind:\"min\",value:t.getTime(),message:he.toString(r)})}max(t,r){return this._addCheck({kind:\"max\",value:t.getTime(),message:he.toString(r)})}get minDate(){let t=null;for(const r of this._def.checks)r.kind===\"min\"&&(t===null||r.value>t)&&(t=r.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const r of this._def.checks)r.kind===\"max\"&&(t===null||r.value<t)&&(t=r.value);return t!=null?new Date(t):null}}Vn.create=e=>new Vn({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:be.ZodDate,...ke(e)});class Zo extends Me{_parse(t){if(this._getType(t)!==le.symbol){const n=this._getOrReturnCtx(t);return ae(n,{code:N.invalid_type,expected:le.symbol,received:n.parsedType}),Ae}return kt(t.data)}}Zo.create=e=>new Zo({typeName:be.ZodSymbol,...ke(e)});class ms extends Me{_parse(t){if(this._getType(t)!==le.undefined){const n=this._getOrReturnCtx(t);return ae(n,{code:N.invalid_type,expected:le.undefined,received:n.parsedType}),Ae}return kt(t.data)}}ms.create=e=>new ms({typeName:be.ZodUndefined,...ke(e)});class bs extends Me{_parse(t){if(this._getType(t)!==le.null){const n=this._getOrReturnCtx(t);return ae(n,{code:N.invalid_type,expected:le.null,received:n.parsedType}),Ae}return kt(t.data)}}bs.create=e=>new bs({typeName:be.ZodNull,...ke(e)});class Ei extends Me{constructor(){super(...arguments),this._any=!0}_parse(t){return kt(t.data)}}Ei.create=e=>new Ei({typeName:be.ZodAny,...ke(e)});class Mn extends Me{constructor(){super(...arguments),this._unknown=!0}_parse(t){return kt(t.data)}}Mn.create=e=>new Mn({typeName:be.ZodUnknown,...ke(e)});class Pr extends Me{_parse(t){const r=this._getOrReturnCtx(t);return ae(r,{code:N.invalid_type,expected:le.never,received:r.parsedType}),Ae}}Pr.create=e=>new Pr({typeName:be.ZodNever,...ke(e)});class Yo extends Me{_parse(t){if(this._getType(t)!==le.undefined){const n=this._getOrReturnCtx(t);return ae(n,{code:N.invalid_type,expected:le.void,received:n.parsedType}),Ae}return kt(t.data)}}Yo.create=e=>new Yo({typeName:be.ZodVoid,...ke(e)});class sr extends Me{_parse(t){const{ctx:r,status:n}=this._processInputParams(t),i=this._def;if(r.parsedType!==le.array)return ae(r,{code:N.invalid_type,expected:le.array,received:r.parsedType}),Ae;if(i.exactLength!==null){const o=r.data.length>i.exactLength.value,a=r.data.length<i.exactLength.value;(o||a)&&(ae(r,{code:o?N.too_big:N.too_small,minimum:a?i.exactLength.value:void 0,maximum:o?i.exactLength.value:void 0,type:\"array\",inclusive:!0,exact:!0,message:i.exactLength.message}),n.dirty())}if(i.minLength!==null&&r.data.length<i.minLength.value&&(ae(r,{code:N.too_small,minimum:i.minLength.value,type:\"array\",inclusive:!0,exact:!1,message:i.minLength.message}),n.dirty()),i.maxLength!==null&&r.data.length>i.maxLength.value&&(ae(r,{code:N.too_big,maximum:i.maxLength.value,type:\"array\",inclusive:!0,exact:!1,message:i.maxLength.message}),n.dirty()),r.common.async)return Promise.all([...r.data].map((o,a)=>i.type._parseAsync(new xr(r,o,r.path,a)))).then(o=>At.mergeArray(n,o));const s=[...r.data].map((o,a)=>i.type._parseSync(new xr(r,o,r.path,a)));return At.mergeArray(n,s)}get element(){return this._def.type}min(t,r){return new sr({...this._def,minLength:{value:t,message:he.toString(r)}})}max(t,r){return new sr({...this._def,maxLength:{value:t,message:he.toString(r)}})}length(t,r){return new sr({...this._def,exactLength:{value:t,message:he.toString(r)}})}nonempty(t){return this.min(1,t)}}sr.create=(e,t)=>new sr({type:e,minLength:null,maxLength:null,exactLength:null,typeName:be.ZodArray,...ke(t)});function ti(e){if(e instanceof rt){const t={};for(const r in e.shape){const n=e.shape[r];t[r]=vr.create(ti(n))}return new rt({...e._def,shape:()=>t})}else return e instanceof sr?new sr({...e._def,type:ti(e.element)}):e instanceof vr?vr.create(ti(e.unwrap())):e instanceof vn?vn.create(ti(e.unwrap())):e instanceof yr?yr.create(e.items.map(t=>ti(t))):e}class rt extends Me{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),r=We.objectKeys(t);return this._cached={shape:t,keys:r}}_parse(t){if(this._getType(t)!==le.object){const l=this._getOrReturnCtx(t);return ae(l,{code:N.invalid_type,expected:le.object,received:l.parsedType}),Ae}const{status:n,ctx:i}=this._processInputParams(t),{shape:s,keys:o}=this._getCached(),a=[];if(!(this._def.catchall instanceof Pr&&this._def.unknownKeys===\"strip\"))for(const l in i.data)o.includes(l)||a.push(l);const u=[];for(const l of o){const c=s[l],d=i.data[l];u.push({key:{status:\"valid\",value:l},value:c._parse(new xr(i,d,i.path,l)),alwaysSet:l in i.data})}if(this._def.catchall instanceof Pr){const l=this._def.unknownKeys;if(l===\"passthrough\")for(const c of a)u.push({key:{status:\"valid\",value:c},value:{status:\"valid\",value:i.data[c]}});else if(l===\"strict\")a.length>0&&(ae(i,{code:N.unrecognized_keys,keys:a}),n.dirty());else if(l!==\"strip\")throw new Error(\"Internal ZodObject error: invalid unknownKeys value.\")}else{const l=this._def.catchall;for(const c of a){const d=i.data[c];u.push({key:{status:\"valid\",value:c},value:l._parse(new xr(i,d,i.path,c)),alwaysSet:c in i.data})}}return i.common.async?Promise.resolve().then(async()=>{const l=[];for(const c of u){const d=await c.key,f=await c.value;l.push({key:d,value:f,alwaysSet:c.alwaysSet})}return l}).then(l=>At.mergeObjectSync(n,l)):At.mergeObjectSync(n,u)}get shape(){return this._def.shape()}strict(t){return he.errToObj,new rt({...this._def,unknownKeys:\"strict\",...t!==void 0?{errorMap:(r,n)=>{var i,s,o,a;const u=(o=(s=(i=this._def).errorMap)===null||s===void 0?void 0:s.call(i,r,n).message)!==null&&o!==void 0?o:n.defaultError;return r.code===\"unrecognized_keys\"?{message:(a=he.errToObj(t).message)!==null&&a!==void 0?a:u}:{message:u}}}:{}})}strip(){return new rt({...this._def,unknownKeys:\"strip\"})}passthrough(){return new rt({...this._def,unknownKeys:\"passthrough\"})}extend(t){return new rt({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new rt({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:be.ZodObject})}setKey(t,r){return this.augment({[t]:r})}catchall(t){return new rt({...this._def,catchall:t})}pick(t){const r={};return We.objectKeys(t).forEach(n=>{t[n]&&this.shape[n]&&(r[n]=this.shape[n])}),new rt({...this._def,shape:()=>r})}omit(t){const r={};return We.objectKeys(this.shape).forEach(n=>{t[n]||(r[n]=this.shape[n])}),new rt({...this._def,shape:()=>r})}deepPartial(){return ti(this)}partial(t){const r={};return We.objectKeys(this.shape).forEach(n=>{const i=this.shape[n];t&&!t[n]?r[n]=i:r[n]=i.optional()}),new rt({...this._def,shape:()=>r})}required(t){const r={};return We.objectKeys(this.shape).forEach(n=>{if(t&&!t[n])r[n]=this.shape[n];else{let s=this.shape[n];for(;s instanceof vr;)s=s._def.innerType;r[n]=s}}),new rt({...this._def,shape:()=>r})}keyof(){return M1(We.objectKeys(this.shape))}}rt.create=(e,t)=>new rt({shape:()=>e,unknownKeys:\"strip\",catchall:Pr.create(),typeName:be.ZodObject,...ke(t)});rt.strictCreate=(e,t)=>new rt({shape:()=>e,unknownKeys:\"strict\",catchall:Pr.create(),typeName:be.ZodObject,...ke(t)});rt.lazycreate=(e,t)=>new rt({shape:e,unknownKeys:\"strip\",catchall:Pr.create(),typeName:be.ZodObject,...ke(t)});class Cs extends Me{_parse(t){const{ctx:r}=this._processInputParams(t),n=this._def.options;function i(s){for(const a of s)if(a.result.status===\"valid\")return a.result;for(const a of s)if(a.result.status===\"dirty\")return r.common.issues.push(...a.ctx.common.issues),a.result;const o=s.map(a=>new Kt(a.ctx.common.issues));return ae(r,{code:N.invalid_union,unionErrors:o}),Ae}if(r.common.async)return Promise.all(n.map(async s=>{const o={...r,common:{...r.common,issues:[]},parent:null};return{result:await s._parseAsync({data:r.data,path:r.path,parent:o}),ctx:o}})).then(i);{let s;const o=[];for(const u of n){const l={...r,common:{...r.common,issues:[]},parent:null},c=u._parseSync({data:r.data,path:r.path,parent:l});if(c.status===\"valid\")return c;c.status===\"dirty\"&&!s&&(s={result:c,ctx:l}),l.common.issues.length&&o.push(l.common.issues)}if(s)return r.common.issues.push(...s.ctx.common.issues),s.result;const a=o.map(u=>new Kt(u));return ae(r,{code:N.invalid_union,unionErrors:a}),Ae}}get options(){return this._def.options}}Cs.create=(e,t)=>new Cs({options:e,typeName:be.ZodUnion,...ke(t)});const mr=e=>e instanceof ws?mr(e.schema):e instanceof or?mr(e.innerType()):e instanceof Bs?[e.value]:e instanceof pn?e.options:e instanceof Fs?We.objectValues(e.enum):e instanceof Ds?mr(e._def.innerType):e instanceof ms?[void 0]:e instanceof bs?[null]:e instanceof vr?[void 0,...mr(e.unwrap())]:e instanceof vn?[null,...mr(e.unwrap())]:e instanceof d0||e instanceof ks?mr(e.unwrap()):e instanceof Ts?mr(e._def.innerType):[];class Ta extends Me{_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==le.object)return ae(r,{code:N.invalid_type,expected:le.object,received:r.parsedType}),Ae;const n=this.discriminator,i=r.data[n],s=this.optionsMap.get(i);return s?r.common.async?s._parseAsync({data:r.data,path:r.path,parent:r}):s._parseSync({data:r.data,path:r.path,parent:r}):(ae(r,{code:N.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),Ae)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,r,n){const i=new Map;for(const s of r){const o=mr(s.shape[t]);if(!o.length)throw new Error(`A discriminator value for key \\`${t}\\` could not be extracted from all schema options`);for(const a of o){if(i.has(a))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(a)}`);i.set(a,s)}}return new Ta({typeName:be.ZodDiscriminatedUnion,discriminator:t,options:r,optionsMap:i,...ke(n)})}}function Hu(e,t){const r=en(e),n=en(t);if(e===t)return{valid:!0,data:e};if(r===le.object&&n===le.object){const i=We.objectKeys(t),s=We.objectKeys(e).filter(a=>i.indexOf(a)!==-1),o={...e,...t};for(const a of s){const u=Hu(e[a],t[a]);if(!u.valid)return{valid:!1};o[a]=u.data}return{valid:!0,data:o}}else if(r===le.array&&n===le.array){if(e.length!==t.length)return{valid:!1};const i=[];for(let s=0;s<e.length;s++){const o=e[s],a=t[s],u=Hu(o,a);if(!u.valid)return{valid:!1};i.push(u.data)}return{valid:!0,data:i}}else return r===le.date&&n===le.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class As extends Me{_parse(t){const{status:r,ctx:n}=this._processInputParams(t),i=(s,o)=>{if(Iu(s)||Iu(o))return Ae;const a=Hu(s.value,o.value);return a.valid?((Nu(s)||Nu(o))&&r.dirty(),{status:r.value,value:a.data}):(ae(n,{code:N.invalid_intersection_types}),Ae)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([s,o])=>i(s,o)):i(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}As.create=(e,t,r)=>new As({left:e,right:t,typeName:be.ZodIntersection,...ke(r)});class yr extends Me{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==le.array)return ae(n,{code:N.invalid_type,expected:le.array,received:n.parsedType}),Ae;if(n.data.length<this._def.items.length)return ae(n,{code:N.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:\"array\"}),Ae;!this._def.rest&&n.data.length>this._def.items.length&&(ae(n,{code:N.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:\"array\"}),r.dirty());const s=[...n.data].map((o,a)=>{const u=this._def.items[a]||this._def.rest;return u?u._parse(new xr(n,o,n.path,a)):null}).filter(o=>!!o);return n.common.async?Promise.all(s).then(o=>At.mergeArray(r,o)):At.mergeArray(r,s)}get items(){return this._def.items}rest(t){return new yr({...this._def,rest:t})}}yr.create=(e,t)=>{if(!Array.isArray(e))throw new Error(\"You must pass an array of schemas to z.tuple([ ... ])\");return new yr({items:e,typeName:be.ZodTuple,rest:null,...ke(t)})};class Ss extends Me{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==le.object)return ae(n,{code:N.invalid_type,expected:le.object,received:n.parsedType}),Ae;const i=[],s=this._def.keyType,o=this._def.valueType;for(const a in n.data)i.push({key:s._parse(new xr(n,a,n.path,a)),value:o._parse(new xr(n,n.data[a],n.path,a)),alwaysSet:a in n.data});return n.common.async?At.mergeObjectAsync(r,i):At.mergeObjectSync(r,i)}get element(){return this._def.valueType}static create(t,r,n){return r instanceof Me?new Ss({keyType:t,valueType:r,typeName:be.ZodRecord,...ke(n)}):new Ss({keyType:nr.create(),valueType:t,typeName:be.ZodRecord,...ke(r)})}}class Go extends Me{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==le.map)return ae(n,{code:N.invalid_type,expected:le.map,received:n.parsedType}),Ae;const i=this._def.keyType,s=this._def.valueType,o=[...n.data.entries()].map(([a,u],l)=>({key:i._parse(new xr(n,a,n.path,[l,\"key\"])),value:s._parse(new xr(n,u,n.path,[l,\"value\"]))}));if(n.common.async){const a=new Map;return Promise.resolve().then(async()=>{for(const u of o){const l=await u.key,c=await u.value;if(l.status===\"aborted\"||c.status===\"aborted\")return Ae;(l.status===\"dirty\"||c.status===\"dirty\")&&r.dirty(),a.set(l.value,c.value)}return{status:r.value,value:a}})}else{const a=new Map;for(const u of o){const l=u.key,c=u.value;if(l.status===\"aborted\"||c.status===\"aborted\")return Ae;(l.status===\"dirty\"||c.status===\"dirty\")&&r.dirty(),a.set(l.value,c.value)}return{status:r.value,value:a}}}}Go.create=(e,t,r)=>new Go({valueType:t,keyType:e,typeName:be.ZodMap,...ke(r)});class Un extends Me{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==le.set)return ae(n,{code:N.invalid_type,expected:le.set,received:n.parsedType}),Ae;const i=this._def;i.minSize!==null&&n.data.size<i.minSize.value&&(ae(n,{code:N.too_small,minimum:i.minSize.value,type:\"set\",inclusive:!0,exact:!1,message:i.minSize.message}),r.dirty()),i.maxSize!==null&&n.data.size>i.maxSize.value&&(ae(n,{code:N.too_big,maximum:i.maxSize.value,type:\"set\",inclusive:!0,exact:!1,message:i.maxSize.message}),r.dirty());const s=this._def.valueType;function o(u){const l=new Set;for(const c of u){if(c.status===\"aborted\")return Ae;c.status===\"dirty\"&&r.dirty(),l.add(c.value)}return{status:r.value,value:l}}const a=[...n.data.values()].map((u,l)=>s._parse(new xr(n,u,n.path,l)));return n.common.async?Promise.all(a).then(u=>o(u)):o(a)}min(t,r){return new Un({...this._def,minSize:{value:t,message:he.toString(r)}})}max(t,r){return new Un({...this._def,maxSize:{value:t,message:he.toString(r)}})}size(t,r){return this.min(t,r).max(t,r)}nonempty(t){return this.min(1,t)}}Un.create=(e,t)=>new Un({valueType:e,minSize:null,maxSize:null,typeName:be.ZodSet,...ke(t)});class hi extends Me{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==le.function)return ae(r,{code:N.invalid_type,expected:le.function,received:r.parsedType}),Ae;function n(a,u){return Ko({data:a,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,zo(),yi].filter(l=>!!l),issueData:{code:N.invalid_arguments,argumentsError:u}})}function i(a,u){return Ko({data:a,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,zo(),yi].filter(l=>!!l),issueData:{code:N.invalid_return_type,returnTypeError:u}})}const s={errorMap:r.common.contextualErrorMap},o=r.data;if(this._def.returns instanceof _i){const a=this;return kt(async function(...u){const l=new Kt([]),c=await a._def.args.parseAsync(u,s).catch(h=>{throw l.addIssue(n(u,h)),l}),d=await Reflect.apply(o,this,c);return await a._def.returns._def.type.parseAsync(d,s).catch(h=>{throw l.addIssue(i(d,h)),l})})}else{const a=this;return kt(function(...u){const l=a._def.args.safeParse(u,s);if(!l.success)throw new Kt([n(u,l.error)]);const c=Reflect.apply(o,this,l.data),d=a._def.returns.safeParse(c,s);if(!d.success)throw new Kt([i(c,d.error)]);return d.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new hi({...this._def,args:yr.create(t).rest(Mn.create())})}returns(t){return new hi({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,r,n){return new hi({args:t||yr.create([]).rest(Mn.create()),returns:r||Mn.create(),typeName:be.ZodFunction,...ke(n)})}}class ws extends Me{get schema(){return this._def.getter()}_parse(t){const{ctx:r}=this._processInputParams(t);return this._def.getter()._parse({data:r.data,path:r.path,parent:r})}}ws.create=(e,t)=>new ws({getter:e,typeName:be.ZodLazy,...ke(t)});class Bs extends Me{_parse(t){if(t.data!==this._def.value){const r=this._getOrReturnCtx(t);return ae(r,{received:r.data,code:N.invalid_literal,expected:this._def.value}),Ae}return{status:\"valid\",value:t.data}}get value(){return this._def.value}}Bs.create=(e,t)=>new Bs({value:e,typeName:be.ZodLiteral,...ke(t)});function M1(e,t){return new pn({values:e,typeName:be.ZodEnum,...ke(t)})}class pn extends Me{constructor(){super(...arguments),qi.set(this,void 0)}_parse(t){if(typeof t.data!=\"string\"){const r=this._getOrReturnCtx(t),n=this._def.values;return ae(r,{expected:We.joinValues(n),received:r.parsedType,code:N.invalid_type}),Ae}if(qo(this,qi,\"f\")||k1(this,qi,new Set(this._def.values),\"f\"),!qo(this,qi,\"f\").has(t.data)){const r=this._getOrReturnCtx(t),n=this._def.values;return ae(r,{received:r.data,code:N.invalid_enum_value,options:n}),Ae}return kt(t.data)}get options(){return this._def.values}get enum(){const t={};for(const r of this._def.values)t[r]=r;return t}get Values(){const t={};for(const r of this._def.values)t[r]=r;return t}get Enum(){const t={};for(const r of this._def.values)t[r]=r;return t}extract(t,r=this._def){return pn.create(t,{...this._def,...r})}exclude(t,r=this._def){return pn.create(this.options.filter(n=>!t.includes(n)),{...this._def,...r})}}qi=new WeakMap;pn.create=M1;class Fs extends Me{constructor(){super(...arguments),Zi.set(this,void 0)}_parse(t){const r=We.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(t);if(n.parsedType!==le.string&&n.parsedType!==le.number){const i=We.objectValues(r);return ae(n,{expected:We.joinValues(i),received:n.parsedType,code:N.invalid_type}),Ae}if(qo(this,Zi,\"f\")||k1(this,Zi,new Set(We.getValidEnumValues(this._def.values)),\"f\"),!qo(this,Zi,\"f\").has(t.data)){const i=We.objectValues(r);return ae(n,{received:n.data,code:N.invalid_enum_value,options:i}),Ae}return kt(t.data)}get enum(){return this._def.values}}Zi=new WeakMap;Fs.create=(e,t)=>new Fs({values:e,typeName:be.ZodNativeEnum,...ke(t)});class _i extends Me{unwrap(){return this._def.type}_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==le.promise&&r.common.async===!1)return ae(r,{code:N.invalid_type,expected:le.promise,received:r.parsedType}),Ae;const n=r.parsedType===le.promise?r.data:Promise.resolve(r.data);return kt(n.then(i=>this._def.type.parseAsync(i,{path:r.path,errorMap:r.common.contextualErrorMap})))}}_i.create=(e,t)=>new _i({type:e,typeName:be.ZodPromise,...ke(t)});class or extends Me{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===be.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:r,ctx:n}=this._processInputParams(t),i=this._def.effect||null,s={addIssue:o=>{ae(n,o),o.fatal?r.abort():r.dirty()},get path(){return n.path}};if(s.addIssue=s.addIssue.bind(s),i.type===\"preprocess\"){const o=i.transform(n.data,s);if(n.common.async)return Promise.resolve(o).then(async a=>{if(r.value===\"aborted\")return Ae;const u=await this._def.schema._parseAsync({data:a,path:n.path,parent:n});return u.status===\"aborted\"?Ae:u.status===\"dirty\"||r.value===\"dirty\"?si(u.value):u});{if(r.value===\"aborted\")return Ae;const a=this._def.schema._parseSync({data:o,path:n.path,parent:n});return a.status===\"aborted\"?Ae:a.status===\"dirty\"||r.value===\"dirty\"?si(a.value):a}}if(i.type===\"refinement\"){const o=a=>{const u=i.refinement(a,s);if(n.common.async)return Promise.resolve(u);if(u instanceof Promise)throw new Error(\"Async refinement encountered during synchronous parse operation. Use .parseAsync instead.\");return a};if(n.common.async===!1){const a=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return a.status===\"aborted\"?Ae:(a.status===\"dirty\"&&r.dirty(),o(a.value),{status:r.value,value:a.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(a=>a.status===\"aborted\"?Ae:(a.status===\"dirty\"&&r.dirty(),o(a.value).then(()=>({status:r.value,value:a.value}))))}if(i.type===\"transform\")if(n.common.async===!1){const o=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!ys(o))return o;const a=i.transform(o.value,s);if(a instanceof Promise)throw new Error(\"Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.\");return{status:r.value,value:a}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(o=>ys(o)?Promise.resolve(i.transform(o.value,s)).then(a=>({status:r.value,value:a})):o);We.assertNever(i)}}or.create=(e,t,r)=>new or({schema:e,typeName:be.ZodEffects,effect:t,...ke(r)});or.createWithPreprocess=(e,t,r)=>new or({schema:t,effect:{type:\"preprocess\",transform:e},typeName:be.ZodEffects,...ke(r)});class vr extends Me{_parse(t){return this._getType(t)===le.undefined?kt(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}vr.create=(e,t)=>new vr({innerType:e,typeName:be.ZodOptional,...ke(t)});class vn extends Me{_parse(t){return this._getType(t)===le.null?kt(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}vn.create=(e,t)=>new vn({innerType:e,typeName:be.ZodNullable,...ke(t)});class Ds extends Me{_parse(t){const{ctx:r}=this._processInputParams(t);let n=r.data;return r.parsedType===le.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:r.path,parent:r})}removeDefault(){return this._def.innerType}}Ds.create=(e,t)=>new Ds({innerType:e,typeName:be.ZodDefault,defaultValue:typeof t.default==\"function\"?t.default:()=>t.default,...ke(t)});class Ts extends Me{_parse(t){const{ctx:r}=this._processInputParams(t),n={...r,common:{...r.common,issues:[]}},i=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return Es(i)?i.then(s=>({status:\"valid\",value:s.status===\"valid\"?s.value:this._def.catchValue({get error(){return new Kt(n.common.issues)},input:n.data})})):{status:\"valid\",value:i.status===\"valid\"?i.value:this._def.catchValue({get error(){return new Kt(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}Ts.create=(e,t)=>new Ts({innerType:e,typeName:be.ZodCatch,catchValue:typeof t.catch==\"function\"?t.catch:()=>t.catch,...ke(t)});class Qo extends Me{_parse(t){if(this._getType(t)!==le.nan){const n=this._getOrReturnCtx(t);return ae(n,{code:N.invalid_type,expected:le.nan,received:n.parsedType}),Ae}return{status:\"valid\",value:t.data}}}Qo.create=e=>new Qo({typeName:be.ZodNaN,...ke(e)});const U3=Symbol(\"zod_brand\");class d0 extends Me{_parse(t){const{ctx:r}=this._processInputParams(t),n=r.data;return this._def.type._parse({data:n,path:r.path,parent:r})}unwrap(){return this._def.type}}class qs extends Me{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.common.async)return(async()=>{const s=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return s.status===\"aborted\"?Ae:s.status===\"dirty\"?(r.dirty(),si(s.value)):this._def.out._parseAsync({data:s.value,path:n.path,parent:n})})();{const i=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return i.status===\"aborted\"?Ae:i.status===\"dirty\"?(r.dirty(),{status:\"dirty\",value:i.value}):this._def.out._parseSync({data:i.value,path:n.path,parent:n})}}static create(t,r){return new qs({in:t,out:r,typeName:be.ZodPipeline})}}class ks extends Me{_parse(t){const r=this._def.innerType._parse(t),n=i=>(ys(i)&&(i.value=Object.freeze(i.value)),i);return Es(r)?r.then(i=>n(i)):n(r)}unwrap(){return this._def.innerType}}ks.create=(e,t)=>new ks({innerType:e,typeName:be.ZodReadonly,...ke(t)});function L1(e,t={},r){return e?Ei.create().superRefine((n,i)=>{var s,o;if(!e(n)){const a=typeof t==\"function\"?t(n):typeof t==\"string\"?{message:t}:t,u=(o=(s=a.fatal)!==null&&s!==void 0?s:r)!==null&&o!==void 0?o:!0,l=typeof a==\"string\"?{message:a}:a;i.addIssue({code:\"custom\",...l,fatal:u})}}):Ei.create()}const W3={object:rt.lazycreate};var be;(function(e){e.ZodString=\"ZodString\",e.ZodNumber=\"ZodNumber\",e.ZodNaN=\"ZodNaN\",e.ZodBigInt=\"ZodBigInt\",e.ZodBoolean=\"ZodBoolean\",e.ZodDate=\"ZodDate\",e.ZodSymbol=\"ZodSymbol\",e.ZodUndefined=\"ZodUndefined\",e.ZodNull=\"ZodNull\",e.ZodAny=\"ZodAny\",e.ZodUnknown=\"ZodUnknown\",e.ZodNever=\"ZodNever\",e.ZodVoid=\"ZodVoid\",e.ZodArray=\"ZodArray\",e.ZodObject=\"ZodObject\",e.ZodUnion=\"ZodUnion\",e.ZodDiscriminatedUnion=\"ZodDiscriminatedUnion\",e.ZodIntersection=\"ZodIntersection\",e.ZodTuple=\"ZodTuple\",e.ZodRecord=\"ZodRecord\",e.ZodMap=\"ZodMap\",e.ZodSet=\"ZodSet\",e.ZodFunction=\"ZodFunction\",e.ZodLazy=\"ZodLazy\",e.ZodLiteral=\"ZodLiteral\",e.ZodEnum=\"ZodEnum\",e.ZodEffects=\"ZodEffects\",e.ZodNativeEnum=\"ZodNativeEnum\",e.ZodOptional=\"ZodOptional\",e.ZodNullable=\"ZodNullable\",e.ZodDefault=\"ZodDefault\",e.ZodCatch=\"ZodCatch\",e.ZodPromise=\"ZodPromise\",e.ZodBranded=\"ZodBranded\",e.ZodPipeline=\"ZodPipeline\",e.ZodReadonly=\"ZodReadonly\"})(be||(be={}));const z3=(e,t={message:`Input not instance of ${e.name}`})=>L1(r=>r instanceof e,t),$1=nr.create,j1=dn.create,K3=Qo.create,q3=hn.create,V1=_s.create,Z3=Vn.create,Y3=Zo.create,G3=ms.create,Q3=bs.create,X3=Ei.create,J3=Mn.create,I3=Pr.create,N3=Yo.create,H3=sr.create,eS=rt.create,tS=rt.strictCreate,rS=Cs.create,nS=Ta.create,iS=As.create,sS=yr.create,oS=Ss.create,aS=Go.create,uS=Un.create,lS=hi.create,cS=ws.create,fS=Bs.create,dS=pn.create,hS=Fs.create,pS=_i.create,Lf=or.create,vS=vr.create,gS=vn.create,xS=or.createWithPreprocess,yS=qs.create,ES=()=>$1().optional(),_S=()=>j1().optional(),mS=()=>V1().optional(),bS={string:e=>nr.create({...e,coerce:!0}),number:e=>dn.create({...e,coerce:!0}),boolean:e=>_s.create({...e,coerce:!0}),bigint:e=>hn.create({...e,coerce:!0}),date:e=>Vn.create({...e,coerce:!0})},CS=Ae;var Ye=Object.freeze({__proto__:null,defaultErrorMap:yi,setErrorMap:C3,getErrorMap:zo,makeIssue:Ko,EMPTY_PATH:A3,addIssueToContext:ae,ParseStatus:At,INVALID:Ae,DIRTY:si,OK:kt,isAborted:Iu,isDirty:Nu,isValid:ys,isAsync:Es,get util(){return We},get objectUtil(){return Ju},ZodParsedType:le,getParsedType:en,ZodType:Me,datetimeRegex:R1,ZodString:nr,ZodNumber:dn,ZodBigInt:hn,ZodBoolean:_s,ZodDate:Vn,ZodSymbol:Zo,ZodUndefined:ms,ZodNull:bs,ZodAny:Ei,ZodUnknown:Mn,ZodNever:Pr,ZodVoid:Yo,ZodArray:sr,ZodObject:rt,ZodUnion:Cs,ZodDiscriminatedUnion:Ta,ZodIntersection:As,ZodTuple:yr,ZodRecord:Ss,ZodMap:Go,ZodSet:Un,ZodFunction:hi,ZodLazy:ws,ZodLiteral:Bs,ZodEnum:pn,ZodNativeEnum:Fs,ZodPromise:_i,ZodEffects:or,ZodTransformer:or,ZodOptional:vr,ZodNullable:vn,ZodDefault:Ds,ZodCatch:Ts,ZodNaN:Qo,BRAND:U3,ZodBranded:d0,ZodPipeline:qs,ZodReadonly:ks,custom:L1,Schema:Me,ZodSchema:Me,late:W3,get ZodFirstPartyTypeKind(){return be},coerce:bS,any:X3,array:H3,bigint:q3,boolean:V1,date:Z3,discriminatedUnion:nS,effect:Lf,enum:dS,function:lS,instanceof:z3,intersection:iS,lazy:cS,literal:fS,map:aS,nan:K3,nativeEnum:hS,never:I3,null:Q3,nullable:gS,number:j1,object:eS,oboolean:mS,onumber:_S,optional:vS,ostring:ES,pipeline:yS,preprocess:xS,promise:pS,record:oS,set:uS,strictObject:tS,string:$1,symbol:Y3,transformer:Lf,tuple:sS,undefined:G3,union:rS,unknown:J3,void:N3,NEVER:CS,ZodIssueCode:N,quotelessJson:b3,ZodError:Kt});const ka=Ye.object({id:Ye.string(),title:Ye.string(),date:Ye.string(),updated:Ye.string().optional(),source:Ye.string()}),U1=Ye.object({brief:Ye.string()}),W1=Ye.object({__page:Ye.boolean().refine(e=>e,{message:\"__page must be true\"})}),z1=Ye.object({slug:Ye.string(),published:Ye.boolean(),categories:Ye.string().array(),tags:Ye.string().array(),__post:Ye.boolean().refine(e=>e,{message:\"__post must be true\"})}),K1=Ye.object({_content:Ye.string(),content:Ye.string(),raw:Ye.string().optional()}),q1=Ye.object({}).merge(ka).merge(U1).merge(W1),Z1=Ye.object({}).merge(ka).merge(U1).merge(z1),Y1=Ye.object({}).merge(ka).merge(W1).merge(K1),el=Ye.object({}).merge(ka).merge(z1).merge(K1),h0=Ye.object({id:Ye.string(),name:Ye.string(),slug:Ye.string(),posts:Ye.string().array()}),G1=h0.extend({parent:Ye.string().optional()}),p0=Ye.object({posts:Z1.array(),pages:q1.array(),categories:G1.array(),tags:h0.array()}),$f=p0.extend({page:Y1}),jf=p0.extend({post:el}),er=new m3,oi=Di(\"detail\",{state:()=>({article:null,error:!1,_loading:!1,saving:!1}),getters:{isLoading(){return(this._loading||!this.article)&&!this.error},isDraft(){return Da(this.article)},isPost(){return Br(this.article)},isPage(){return rs(this.article)}},actions:{async getArticle(e,t){const r=setTimeout(()=>{this._loading=!0},500);this.error=!1;try{const n=await er.getArticle(e,t);this.article=n}catch(n){throw console.error(n),this.error=!0,n}finally{clearTimeout(r),this._loading=!1}},async saveArticle(e){if(!!this.article){this.saving=!0;try{await er.saveArticle(Br(this.article)?\"post\":\"page\",this.article.source,e)}catch(t){throw console.error(t),t}finally{this.saving=!1}}},clearArticle(){this.$reset()}}});function AS(e,t,r){const{idKey:n,parentKey:i,childrenKey:s}=r,o=SS(e,i);function a(l){const c=(o[l[n]]||[]).map(a);return c.length?{...l,[s]:c}:l}return e.filter(t).map(a)}function SS(e,t){const r={};return e.map(n=>{const i=n[t];r[i]?r[i].push(n):r[i]=[n]}),r}const Cr=Di(\"main\",{state:()=>({username:\"\",posts:{},pages:{},categories:{},tags:{}}),actions:{setUsername(e){this.username=e,localStorage.setItem(\"username\",e)},loadUsername(){this.username=localStorage.getItem(\"username\")||\"\"},async getBlogData(){const{posts:e,pages:t,tags:r,categories:n}=await er.getAllData();this.posts=Kr(e,\"source\"),this.pages=Kr(t,\"source\"),this.tags=Kr(r,\"slug\"),this.categories=Kr(n,\"slug\")},async deleteArticle(e,t){const{posts:r,pages:n,tags:i,categories:s}=await er.deleteArticle(e,t);this.posts=Kr(r,\"source\"),this.pages=Kr(n,\"source\"),this.tags=Kr(i,\"slug\"),this.categories=Kr(s,\"slug\")},async createArticle(e,t={}){const r=await er.createArticle(e,t),n=Or();\"post\"in r?n.editArticle({type:\"post\",source:r.post.source}):n.editArticle({type:\"page\",source:r.page.source})},async publishArticle(e){const t=await er.publishArticle(e);return await this.getBlogData(),t}},getters:{articles(e){return Sn(e.pages).concat(Sn(e.posts))},allPostsList(e){return Sn(e.posts)},publishedPostsList(e){return this.allPostsList.filter(t=>t.published)},draftsList(e){return this.allPostsList.filter(t=>!t.published)},pagesList(e){return Sn(e.pages)},categoriesTree(){return AS(this.categoriesList,e=>!e.parent,{idKey:\"id\",parentKey:\"parent\",childrenKey:\"children\"})},categoriesList(){return Sn(this.categories)},tagNamesList(){return Sn(this.tags).map(e=>e.name)},catNamesList(){return this.categoriesList.map(e=>e.name)}}});async function wS(){return ot.get(\"/settings\").then(e=>e.data)}async function BS(e){return ot.post(\"/settings\",e)}const FS={ui:{editor:{fontFamily:\"PingFang SC,-apple-system,SF UI Text,Lucida Grande,STheiti,Microsoft YaHei,sans-serif\"}}};function Vf(e={}){return Xh({},FS,e)}const Q1=Di(\"settings\",{state:()=>({settings:Vf()}),actions:{async load(){const e=await wS();this.settings=Vf(e)},async save(){await BS(this.settings)}}}),DS=Sl(()=>$n(()=>import(\"./HCreateArticleModal.079bef88.js\"),[\"assets/HCreateArticleModal.079bef88.js\",\"assets/HCreateArticleModal.3ac45e74.css\",\"assets/HToggle.5d828612.js\",\"assets/HToggle.c1b32eab.css\"])),TS=Sl(()=>$n(()=>import(\"./HSettingsModal.b6bd3c3a.js\"),[\"assets/HSettingsModal.b6bd3c3a.js\",\"assets/SettingsView.49df3ee8.js\",\"assets/SettingsView.ac9e9c18.css\",\"assets/HPopover.d0eeed1b.js\",\"assets/HPopover.f93dedac.css\",\"assets/HToggle.5d828612.js\",\"assets/HToggle.c1b32eab.css\",\"assets/logo.0fab0ac6.js\"])),Or=Di(\"dispatcher\",{state:()=>({}),actions:{init(){Cr().loadUsername()},async getInfo(){return Promise.all([this.getUsername(),this.getSettings()])},async getSettings(){await Q1().load()},async getUsername(){const e=Cr(),{username:t}=await I5();e.setUsername(t)},async signIn({username:e,password:t}){var r,n;try{await X5(e,t),this.getInfo(),this.router.push({name:\"home\"})}catch(i){this.notification.notify({title:\"\\u767B\\u9646\\u5931\\u8D25\",type:\"error\",desc:(n=(r=i==null?void 0:i.response)==null?void 0:r.data)==null?void 0:n.message})}},async changePassword(e){return N5(e.oldPassword,e.newPassword).then(()=>{this.notification.notify({type:\"success\",title:\"\\u5BC6\\u7801\\u4FEE\\u6539\\u6210\\u529F\"})},t=>{this.notification.notify({title:\"\\u5BC6\\u7801\\u4FEE\\u6539\\u5931\\u8D25\",desc:t.message,type:\"error\",duration:5e3})})},async changeUsername(e){return H5(e).then(()=>(this.notification.notify({type:\"success\",title:\"\\u7528\\u6237\\u540D\\u4FEE\\u6539\\u6210\\u529F\"}),this.getUsername()),t=>{this.notification.notify({title:\"\\u7528\\u6237\\u540D\\u4FEE\\u6539\\u5931\\u8D25\",desc:t.message,type:\"error\",duration:5e3})})},showCreateArticleModal(){this.modal.create(DS)},showSettingsModal(){this.modal.create(TS)},async createArticle(e,t){const r=Cr();this.loading.start();try{await r.createArticle(e,t).then(()=>{this.notification.notify({type:\"success\",title:\"\\u65B0\\u5EFA\\u6210\\u529F\"})},n=>{this.notification.notify({title:\"\\u65B0\\u5EFA\\u5931\\u8D25\",desc:n.message,type:\"error\",duration:5e3})})}catch{}finally{this.loading.stop()}},deleteArticle(e){const t=Cr();this.dialog.create({type:\"warning\",title:\"\\u5220\\u9664\\u786E\\u8BA4\",content:\"\\u5220\\u9664\\u540E\\u9700\\u624B\\u52A8\\u6062\\u590D\",actions:[{type:\"common\",label:\"\\u53D6\\u6D88\"},{type:\"error\",label:\"\\u5220\\u9664\",run:()=>{t.deleteArticle(e.type,e.source).then(()=>{this.notification.notify({type:\"success\",title:\"\\u5220\\u9664\\u6210\\u529F\"}),this.router.push({name:\"home\"})})}}]})},async saveArticle(e){this.loading.start();try{await oi().saveArticle(e).then(()=>{this.notification.notify({title:\"\\u4FDD\\u5B58\\u6210\\u529F\",type:\"success\"}),this.reloadBlogData()},r=>{throw this.notification.notify({title:\"\\u6587\\u7AE0\\u4FDD\\u5B58\\u5931\\u8D25\",desc:r.message,type:\"error\",duration:5e3}),r})}catch{}finally{this.loading.stop()}},editArticle(e){this.router.push({name:\"edit\",params:{...e}})},viewArticle(e){this.router.push({name:\"view\",params:{...e}})},getArticle(e){oi().getArticle(e.type,e.source).catch(r=>{bv(r)===\"PostOrPageNotFoundError\"?this.goHome():this.notification.notify({title:\"\\u6587\\u7AE0\\u8F7D\\u5165\\u5931\\u8D25\",desc:qu(r),type:\"error\",duration:5e3})})},clearArticle(){oi().clearArticle()},async publishArticle(e){this.dialog.create({type:\"warning\",title:\"\\u53D1\\u5E03\\u786E\\u8BA4\",content:\"\\u53D1\\u5E03\\u540E\\u9700\\u624B\\u52A8\\u6062\\u590D\",actions:[{type:\"common\",label:\"\\u53D6\\u6D88\"},{type:\"info\",label:\"\\u53D1\\u5E03\",run:()=>{this.doPublishArticle(e)}}]})},async doPublishArticle(e){const t=\"_drafts/\";if(!!e.startsWith(t)){this.loading.start();try{const r=i=>i.slice(t.length,-3);await Cr().publishArticle(r(e)).then(i=>{this.notification.notify({title:\"\\u53D1\\u5E03\\u6210\\u529F\",type:\"success\"});const s=oi();s.article&&Br(s.article)&&s.article.source===e&&this.router.push({name:\"view\",params:{source:i.source}})},i=>{this.notification.notify({title:\"\\u6587\\u7AE0\\u53D1\\u5E03\\u5931\\u8D25\",desc:i.message,type:\"error\",duration:5e3})})}catch{}finally{this.loading.stop()}}},goHome(){this.router.push({name:\"home\"})},reloadBlogData(){Cr().getBlogData().catch(t=>{this.notification.notify({title:\"\\u535A\\u5BA2\\u6570\\u636E\\u5237\\u65B0\\u5931\\u8D25\",desc:t.message,type:\"error\",actions:[{label:\"\\u91CD\\u8BD5\",run:()=>{this.reloadBlogData()}}]})})},loadBlogData(){Cr().getBlogData().catch(t=>{this.notification.notify({title:\"\\u535A\\u5BA2\\u6570\\u636E\\u8F7D\\u5165\\u5931\\u8D25\",desc:t.message,type:\"error\",duration:5e3})})}}});const kS=Se({__name:\"App\",setup(e){const t=Or(),r=B8(),n=QE(),i=gC();return yt(()=>n.value,s=>{s?i.setTheme(yC):i.setTheme(tp)},{immediate:!0}),ln(()=>{t.init()}),(s,o)=>{const a=Sx(\"router-view\");return X(),ce(\"div\",{style:{width:\"100vw\",height:\"100vh\"},onContextmenu:o[0]||(o[0]=Si(()=>{},[\"prevent\"]))},[oe(_p,{loading:L(r).loading.value,overlay:\"\"},{default:Te(()=>[oe(a),oe(L(u4)),oe(L(S8),null,{default:Te(u=>[oe(IC,{data:u.data},null,8,[\"data\"])]),_:1}),oe(L(M8),{\"z-index\":1},{default:Te(u=>[oe(l8,{data:u.item},null,8,[\"data\"])]),_:1})]),_:1},8,[\"loading\"])],32)}}});var X1=C8(),J1=w8(),Ps=P8();/*!\n  * vue-router v4.0.14\n  * (c) 2022 Eduardo San Martin Morote\n  * @license MIT\n  */const I1=typeof Symbol==\"function\"&&typeof Symbol.toStringTag==\"symbol\",ki=e=>I1?Symbol(e):\"_vr_\"+e,PS=ki(\"rvlm\"),Uf=ki(\"rvd\"),Pa=ki(\"r\"),v0=ki(\"rl\"),tl=ki(\"rvl\"),ri=typeof window!=\"undefined\";function OS(e){return e.__esModule||I1&&e[Symbol.toStringTag]===\"Module\"}const Je=Object.assign;function lu(e,t){const r={};for(const n in t){const i=t[n];r[n]=Array.isArray(i)?i.map(e):e(i)}return r}const ns=()=>{},RS=/\\/$/,MS=e=>e.replace(RS,\"\");function cu(e,t,r=\"/\"){let n,i={},s=\"\",o=\"\";const a=t.indexOf(\"?\"),u=t.indexOf(\"#\",a>-1?a:0);return a>-1&&(n=t.slice(0,a),s=t.slice(a+1,u>-1?u:t.length),i=e(s)),u>-1&&(n=n||t.slice(0,u),o=t.slice(u,t.length)),n=VS(n!=null?n:t,r),{fullPath:n+(s&&\"?\")+s+o,path:n,query:i,hash:o}}function LS(e,t){const r=t.query?e(t.query):\"\";return t.path+(r&&\"?\")+r+(t.hash||\"\")}function Wf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||\"/\"}function $S(e,t,r){const n=t.matched.length-1,i=r.matched.length-1;return n>-1&&n===i&&mi(t.matched[n],r.matched[i])&&N1(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function mi(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function N1(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!jS(e[r],t[r]))return!1;return!0}function jS(e,t){return Array.isArray(e)?zf(e,t):Array.isArray(t)?zf(t,e):e===t}function zf(e,t){return Array.isArray(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function VS(e,t){if(e.startsWith(\"/\"))return e;if(!e)return t;const r=t.split(\"/\"),n=e.split(\"/\");let i=r.length-1,s,o;for(s=0;s<n.length;s++)if(o=n[s],!(i===1||o===\".\"))if(o===\"..\")i--;else break;return r.slice(0,i).join(\"/\")+\"/\"+n.slice(s-(s===n.length?1:0)).join(\"/\")}var Os;(function(e){e.pop=\"pop\",e.push=\"push\"})(Os||(Os={}));var is;(function(e){e.back=\"back\",e.forward=\"forward\",e.unknown=\"\"})(is||(is={}));function US(e){if(!e)if(ri){const t=document.querySelector(\"base\");e=t&&t.getAttribute(\"href\")||\"/\",e=e.replace(/^\\w+:\\/\\/[^\\/]+/,\"\")}else e=\"/\";return e[0]!==\"/\"&&e[0]!==\"#\"&&(e=\"/\"+e),MS(e)}const WS=/^[^#]+#/;function zS(e,t){return e.replace(WS,\"#\")+t}function KS(e,t){const r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}const Oa=()=>({left:window.pageXOffset,top:window.pageYOffset});function qS(e){let t;if(\"el\"in e){const r=e.el,n=typeof r==\"string\"&&r.startsWith(\"#\"),i=typeof r==\"string\"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!i)return;t=KS(i,e)}else t=e;\"scrollBehavior\"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Kf(e,t){return(history.state?history.state.position-t:-1)+e}const rl=new Map;function ZS(e,t){rl.set(e,t)}function YS(e){const t=rl.get(e);return rl.delete(e),t}let GS=()=>location.protocol+\"//\"+location.host;function H1(e,t){const{pathname:r,search:n,hash:i}=t,s=e.indexOf(\"#\");if(s>-1){let a=i.includes(e.slice(s))?e.slice(s).length:1,u=i.slice(a);return u[0]!==\"/\"&&(u=\"/\"+u),Wf(u,\"\")}return Wf(r,e)+n+i}function QS(e,t,r,n){let i=[],s=[],o=null;const a=({state:f})=>{const h=H1(e,location),p=r.value,g=t.value;let x=0;if(f){if(r.value=h,t.value=f,o&&o===p){o=null;return}x=g?f.position-g.position:0}else n(h);i.forEach(m=>{m(r.value,p,{delta:x,type:Os.pop,direction:x?x>0?is.forward:is.back:is.unknown})})};function u(){o=r.value}function l(f){i.push(f);const h=()=>{const p=i.indexOf(f);p>-1&&i.splice(p,1)};return s.push(h),h}function c(){const{history:f}=window;!f.state||f.replaceState(Je({},f.state,{scroll:Oa()}),\"\")}function d(){for(const f of s)f();s=[],window.removeEventListener(\"popstate\",a),window.removeEventListener(\"beforeunload\",c)}return window.addEventListener(\"popstate\",a),window.addEventListener(\"beforeunload\",c),{pauseListeners:u,listen:l,destroy:d}}function qf(e,t,r,n=!1,i=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:i?Oa():null}}function XS(e){const{history:t,location:r}=window,n={value:H1(e,r)},i={value:t.state};i.value||s(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(u,l,c){const d=e.indexOf(\"#\"),f=d>-1?(r.host&&document.querySelector(\"base\")?e:e.slice(d))+u:GS()+e+u;try{t[c?\"replaceState\":\"pushState\"](l,\"\",f),i.value=l}catch(h){console.error(h),r[c?\"replace\":\"assign\"](f)}}function o(u,l){const c=Je({},t.state,qf(i.value.back,u,i.value.forward,!0),l,{position:i.value.position});s(u,c,!0),n.value=u}function a(u,l){const c=Je({},i.value,t.state,{forward:u,scroll:Oa()});s(c.current,c,!0);const d=Je({},qf(n.value,u,null),{position:c.position+1},l);s(u,d,!1),n.value=u}return{location:n,state:i,push:a,replace:o}}function JS(e){e=US(e);const t=XS(e),r=QS(e,t.state,t.location,t.replace);function n(s,o=!0){o||r.pauseListeners(),history.go(s)}const i=Je({location:\"\",base:e,go:n,createHref:zS.bind(null,e)},t,r);return Object.defineProperty(i,\"location\",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,\"state\",{enumerable:!0,get:()=>t.state.value}),i}function IS(e){return e=location.host?e||location.pathname+location.search:\"\",e.includes(\"#\")||(e+=\"#\"),JS(e)}function NS(e){return typeof e==\"string\"||e&&typeof e==\"object\"}function eg(e){return typeof e==\"string\"||typeof e==\"symbol\"}const qr={path:\"/\",name:void 0,params:{},query:{},hash:\"\",fullPath:\"/\",matched:[],meta:{},redirectedFrom:void 0},tg=ki(\"nf\");var Zf;(function(e){e[e.aborted=4]=\"aborted\",e[e.cancelled=8]=\"cancelled\",e[e.duplicated=16]=\"duplicated\"})(Zf||(Zf={}));function bi(e,t){return Je(new Error,{type:e,[tg]:!0},t)}function Zr(e,t){return e instanceof Error&&tg in e&&(t==null||!!(e.type&t))}const Yf=\"[^/]+?\",HS={sensitive:!1,strict:!1,start:!0,end:!0},ew=/[.+*?^${}()[\\]/\\\\]/g;function tw(e,t){const r=Je({},HS,t),n=[];let i=r.start?\"^\":\"\";const s=[];for(const l of e){const c=l.length?[]:[90];r.strict&&!l.length&&(i+=\"/\");for(let d=0;d<l.length;d++){const f=l[d];let h=40+(r.sensitive?.25:0);if(f.type===0)d||(i+=\"/\"),i+=f.value.replace(ew,\"\\\\$&\"),h+=40;else if(f.type===1){const{value:p,repeatable:g,optional:x,regexp:m}=f;s.push({name:p,repeatable:g,optional:x});const v=m||Yf;if(v!==Yf){h+=10;try{new RegExp(`(${v})`)}catch(_){throw new Error(`Invalid custom RegExp for param \"${p}\" (${v}): `+_.message)}}let y=g?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;d||(y=x&&l.length<2?`(?:/${y})`:\"/\"+y),x&&(y+=\"?\"),i+=y,h+=20,x&&(h+=-8),g&&(h+=-20),v===\".*\"&&(h+=-50)}c.push(h)}n.push(c)}if(r.strict&&r.end){const l=n.length-1;n[l][n[l].length-1]+=.7000000000000001}r.strict||(i+=\"/?\"),r.end?i+=\"$\":r.strict&&(i+=\"(?:/|$)\");const o=new RegExp(i,r.sensitive?\"\":\"i\");function a(l){const c=l.match(o),d={};if(!c)return null;for(let f=1;f<c.length;f++){const h=c[f]||\"\",p=s[f-1];d[p.name]=h&&p.repeatable?h.split(\"/\"):h}return d}function u(l){let c=\"\",d=!1;for(const f of e){(!d||!c.endsWith(\"/\"))&&(c+=\"/\"),d=!1;for(const h of f)if(h.type===0)c+=h.value;else if(h.type===1){const{value:p,repeatable:g,optional:x}=h,m=p in l?l[p]:\"\";if(Array.isArray(m)&&!g)throw new Error(`Provided param \"${p}\" is an array but it is not repeatable (* or + modifiers)`);const v=Array.isArray(m)?m.join(\"/\"):m;if(!v)if(x)f.length<2&&(c.endsWith(\"/\")?c=c.slice(0,-1):d=!0);else throw new Error(`Missing required param \"${p}\"`);c+=v}}return c}return{re:o,score:n,keys:s,parse:a,stringify:u}}function rw(e,t){let r=0;for(;r<e.length&&r<t.length;){const n=t[r]-e[r];if(n)return n;r++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function nw(e,t){let r=0;const n=e.score,i=t.score;for(;r<n.length&&r<i.length;){const s=rw(n[r],i[r]);if(s)return s;r++}return i.length-n.length}const iw={type:0,value:\"\"},sw=/[a-zA-Z0-9_]/;function ow(e){if(!e)return[[]];if(e===\"/\")return[[iw]];if(!e.startsWith(\"/\"))throw new Error(`Invalid path \"${e}\"`);function t(h){throw new Error(`ERR (${r})/\"${l}\": ${h}`)}let r=0,n=r;const i=[];let s;function o(){s&&i.push(s),s=[]}let a=0,u,l=\"\",c=\"\";function d(){!l||(r===0?s.push({type:0,value:l}):r===1||r===2||r===3?(s.length>1&&(u===\"*\"||u===\"+\")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:l,regexp:c,repeatable:u===\"*\"||u===\"+\",optional:u===\"*\"||u===\"?\"})):t(\"Invalid state to consume buffer\"),l=\"\")}function f(){l+=u}for(;a<e.length;){if(u=e[a++],u===\"\\\\\"&&r!==2){n=r,r=4;continue}switch(r){case 0:u===\"/\"?(l&&d(),o()):u===\":\"?(d(),r=1):f();break;case 4:f(),r=n;break;case 1:u===\"(\"?r=2:sw.test(u)?f():(d(),r=0,u!==\"*\"&&u!==\"?\"&&u!==\"+\"&&a--);break;case 2:u===\")\"?c[c.length-1]==\"\\\\\"?c=c.slice(0,-1)+u:r=3:c+=u;break;case 3:d(),r=0,u!==\"*\"&&u!==\"?\"&&u!==\"+\"&&a--,c=\"\";break;default:t(\"Unknown state\");break}}return r===2&&t(`Unfinished custom RegExp for param \"${l}\"`),d(),o(),i}function aw(e,t,r){const n=tw(ow(e.path),r),i=Je(n,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function uw(e,t){const r=[],n=new Map;t=Qf({strict:!1,end:!0,sensitive:!1},t);function i(c){return n.get(c)}function s(c,d,f){const h=!f,p=cw(c);p.aliasOf=f&&f.record;const g=Qf(t,c),x=[p];if(\"alias\"in c){const y=typeof c.alias==\"string\"?[c.alias]:c.alias;for(const _ of y)x.push(Je({},p,{components:f?f.record.components:p.components,path:_,aliasOf:f?f.record:p}))}let m,v;for(const y of x){const{path:_}=y;if(d&&_[0]!==\"/\"){const A=d.record.path,E=A[A.length-1]===\"/\"?\"\":\"/\";y.path=d.record.path+(_&&E+_)}if(m=aw(y,d,g),f?f.alias.push(m):(v=v||m,v!==m&&v.alias.push(m),h&&c.name&&!Gf(m)&&o(c.name)),\"children\"in p){const A=p.children;for(let E=0;E<A.length;E++)s(A[E],m,f&&f.children[E])}f=f||m,u(m)}return v?()=>{o(v)}:ns}function o(c){if(eg(c)){const d=n.get(c);d&&(n.delete(c),r.splice(r.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=r.indexOf(c);d>-1&&(r.splice(d,1),c.record.name&&n.delete(c.record.name),c.children.forEach(o),c.alias.forEach(o))}}function a(){return r}function u(c){let d=0;for(;d<r.length&&nw(c,r[d])>=0&&(c.record.path!==r[d].record.path||!rg(c,r[d]));)d++;r.splice(d,0,c),c.record.name&&!Gf(c)&&n.set(c.record.name,c)}function l(c,d){let f,h={},p,g;if(\"name\"in c&&c.name){if(f=n.get(c.name),!f)throw bi(1,{location:c});g=f.record.name,h=Je(lw(d.params,f.keys.filter(v=>!v.optional).map(v=>v.name)),c.params),p=f.stringify(h)}else if(\"path\"in c)p=c.path,f=r.find(v=>v.re.test(p)),f&&(h=f.parse(p),g=f.record.name);else{if(f=d.name?n.get(d.name):r.find(v=>v.re.test(d.path)),!f)throw bi(1,{location:c,currentLocation:d});g=f.record.name,h=Je({},d.params,c.params),p=f.stringify(h)}const x=[];let m=f;for(;m;)x.unshift(m.record),m=m.parent;return{name:g,path:p,params:h,matched:x,meta:dw(x)}}return e.forEach(c=>s(c)),{addRoute:s,resolve:l,removeRoute:o,getRoutes:a,getRecordMatcher:i}}function lw(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function cw(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:fw(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:\"components\"in e?e.components||{}:{default:e.component}}}function fw(e){const t={},r=e.props||!1;if(\"component\"in e)t.default=r;else for(const n in e.components)t[n]=typeof r==\"boolean\"?r:r[n];return t}function Gf(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function dw(e){return e.reduce((t,r)=>Je(t,r.meta),{})}function Qf(e,t){const r={};for(const n in e)r[n]=n in t?t[n]:e[n];return r}function rg(e,t){return t.children.some(r=>r===e||rg(e,r))}const ng=/#/g,hw=/&/g,pw=/\\//g,vw=/=/g,gw=/\\?/g,ig=/\\+/g,xw=/%5B/g,yw=/%5D/g,sg=/%5E/g,Ew=/%60/g,og=/%7B/g,_w=/%7C/g,ag=/%7D/g,mw=/%20/g;function g0(e){return encodeURI(\"\"+e).replace(_w,\"|\").replace(xw,\"[\").replace(yw,\"]\")}function bw(e){return g0(e).replace(og,\"{\").replace(ag,\"}\").replace(sg,\"^\")}function nl(e){return g0(e).replace(ig,\"%2B\").replace(mw,\"+\").replace(ng,\"%23\").replace(hw,\"%26\").replace(Ew,\"`\").replace(og,\"{\").replace(ag,\"}\").replace(sg,\"^\")}function Cw(e){return nl(e).replace(vw,\"%3D\")}function Aw(e){return g0(e).replace(ng,\"%23\").replace(gw,\"%3F\")}function Sw(e){return e==null?\"\":Aw(e).replace(pw,\"%2F\")}function Xo(e){try{return decodeURIComponent(\"\"+e)}catch{}return\"\"+e}function ww(e){const t={};if(e===\"\"||e===\"?\")return t;const n=(e[0]===\"?\"?e.slice(1):e).split(\"&\");for(let i=0;i<n.length;++i){const s=n[i].replace(ig,\" \"),o=s.indexOf(\"=\"),a=Xo(o<0?s:s.slice(0,o)),u=o<0?null:Xo(s.slice(o+1));if(a in t){let l=t[a];Array.isArray(l)||(l=t[a]=[l]),l.push(u)}else t[a]=u}return t}function Xf(e){let t=\"\";for(let r in e){const n=e[r];if(r=Cw(r),n==null){n!==void 0&&(t+=(t.length?\"&\":\"\")+r);continue}(Array.isArray(n)?n.map(s=>s&&nl(s)):[n&&nl(n)]).forEach(s=>{s!==void 0&&(t+=(t.length?\"&\":\"\")+r,s!=null&&(t+=\"=\"+s))})}return t}function Bw(e){const t={};for(const r in e){const n=e[r];n!==void 0&&(t[r]=Array.isArray(n)?n.map(i=>i==null?null:\"\"+i):n==null?n:\"\"+n)}return t}function $i(){let e=[];function t(n){return e.push(n),()=>{const i=e.indexOf(n);i>-1&&e.splice(i,1)}}function r(){e=[]}return{add:t,list:()=>e,reset:r}}function Hr(e,t,r,n,i){const s=n&&(n.enterCallbacks[i]=n.enterCallbacks[i]||[]);return()=>new Promise((o,a)=>{const u=d=>{d===!1?a(bi(4,{from:r,to:t})):d instanceof Error?a(d):NS(d)?a(bi(2,{from:t,to:d})):(s&&n.enterCallbacks[i]===s&&typeof d==\"function\"&&s.push(d),o())},l=e.call(n&&n.instances[i],t,r,u);let c=Promise.resolve(l);e.length<3&&(c=c.then(u)),c.catch(d=>a(d))})}function fu(e,t,r,n){const i=[];for(const s of e)for(const o in s.components){let a=s.components[o];if(!(t!==\"beforeRouteEnter\"&&!s.instances[o]))if(Fw(a)){const l=(a.__vccOpts||a)[t];l&&i.push(Hr(l,r,n,s,o))}else{let u=a();i.push(()=>u.then(l=>{if(!l)return Promise.reject(new Error(`Couldn't resolve component \"${o}\" at \"${s.path}\"`));const c=OS(l)?l.default:l;s.components[o]=c;const f=(c.__vccOpts||c)[t];return f&&Hr(f,r,n,s,o)()}))}}return i}function Fw(e){return typeof e==\"object\"||\"displayName\"in e||\"props\"in e||\"__vccOpts\"in e}function Jf(e){const t=ft(Pa),r=ft(v0),n=ue(()=>t.resolve(L(e.to))),i=ue(()=>{const{matched:u}=n.value,{length:l}=u,c=u[l-1],d=r.matched;if(!c||!d.length)return-1;const f=d.findIndex(mi.bind(null,c));if(f>-1)return f;const h=If(u[l-2]);return l>1&&If(c)===h&&d[d.length-1].path!==h?d.findIndex(mi.bind(null,u[l-2])):f}),s=ue(()=>i.value>-1&&Pw(r.params,n.value.params)),o=ue(()=>i.value>-1&&i.value===r.matched.length-1&&N1(r.params,n.value.params));function a(u={}){return kw(u)?t[L(e.replace)?\"replace\":\"push\"](L(e.to)).catch(ns):Promise.resolve()}return{route:n,href:ue(()=>n.value.href),isActive:s,isExactActive:o,navigate:a}}const Dw=Se({name:\"RouterLink\",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:\"page\"}},useLink:Jf,setup(e,{slots:t}){const r=Ci(Jf(e)),{options:n}=ft(Pa),i=ue(()=>({[Nf(e.activeClass,n.linkActiveClass,\"router-link-active\")]:r.isActive,[Nf(e.exactActiveClass,n.linkExactActiveClass,\"router-link-exact-active\")]:r.isExactActive}));return()=>{const s=t.default&&t.default(r);return e.custom?s:bt(\"a\",{\"aria-current\":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:i.value},s)}}}),Tw=Dw;function kw(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute(\"target\");if(/\\b_blank\\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Pw(e,t){for(const r in t){const n=t[r],i=e[r];if(typeof n==\"string\"){if(n!==i)return!1}else if(!Array.isArray(i)||i.length!==n.length||n.some((s,o)=>s!==i[o]))return!1}return!0}function If(e){return e?e.aliasOf?e.aliasOf.path:e.path:\"\"}const Nf=(e,t,r)=>e!=null?e:t!=null?t:r,Ow=Se({name:\"RouterView\",inheritAttrs:!1,props:{name:{type:String,default:\"default\"},route:Object},setup(e,{attrs:t,slots:r}){const n=ft(tl),i=ue(()=>e.route||n.value),s=ft(Uf,0),o=ue(()=>i.value.matched[s]);Ji(Uf,s+1),Ji(PS,o),Ji(tl,i);const a=Fe();return yt(()=>[a.value,o.value,e.name],([u,l,c],[d,f,h])=>{l&&(l.instances[c]=u,f&&f!==l&&u&&u===d&&(l.leaveGuards.size||(l.leaveGuards=f.leaveGuards),l.updateGuards.size||(l.updateGuards=f.updateGuards))),u&&l&&(!f||!mi(l,f)||!d)&&(l.enterCallbacks[c]||[]).forEach(p=>p(u))},{flush:\"post\"}),()=>{const u=i.value,l=o.value,c=l&&l.components[e.name],d=e.name;if(!c)return Hf(r.default,{Component:c,route:u});const f=l.props[e.name],h=f?f===!0?u.params:typeof f==\"function\"?f(u):f:null,g=bt(c,Je({},h,t,{onVnodeUnmounted:x=>{x.component.isUnmounted&&(l.instances[d]=null)},ref:a}));return Hf(r.default,{Component:g,route:u})||g}}});function Hf(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}const x0=Ow;function Rw(e){const t=uw(e.routes,e),r=e.parseQuery||ww,n=e.stringifyQuery||Xf,i=e.history,s=$i(),o=$i(),a=$i(),u=Fd(qr);let l=qr;ri&&e.scrollBehavior&&\"scrollRestoration\"in history&&(history.scrollRestoration=\"manual\");const c=lu.bind(null,R=>\"\"+R),d=lu.bind(null,Sw),f=lu.bind(null,Xo);function h(R,Q){let I,J;return eg(R)?(I=t.getRecordMatcher(R),J=Q):J=R,t.addRoute(J,I)}function p(R){const Q=t.getRecordMatcher(R);Q&&t.removeRoute(Q)}function g(){return t.getRoutes().map(R=>R.record)}function x(R){return!!t.getRecordMatcher(R)}function m(R,Q){if(Q=Je({},Q||u.value),typeof R==\"string\"){const ye=cu(r,R,Q.path),b=t.resolve({path:ye.path},Q),F=i.createHref(ye.fullPath);return Je(ye,b,{params:f(b.params),hash:Xo(ye.hash),redirectedFrom:void 0,href:F})}let I;if(\"path\"in R)I=Je({},R,{path:cu(r,R.path,Q.path).path});else{const ye=Je({},R.params);for(const b in ye)ye[b]==null&&delete ye[b];I=Je({},R,{params:d(R.params)}),Q.params=d(Q.params)}const J=t.resolve(I,Q),Pe=R.hash||\"\";J.params=c(f(J.params));const Ce=LS(n,Je({},R,{hash:bw(Pe),path:J.path})),_e=i.createHref(Ce);return Je({fullPath:Ce,hash:Pe,query:n===Xf?Bw(R.query):R.query||{}},J,{redirectedFrom:void 0,href:_e})}function v(R){return typeof R==\"string\"?cu(r,R,u.value.path):Je({},R)}function y(R,Q){if(l!==R)return bi(8,{from:Q,to:R})}function _(R){return B(R)}function A(R){return _(Je(v(R),{replace:!0}))}function E(R){const Q=R.matched[R.matched.length-1];if(Q&&Q.redirect){const{redirect:I}=Q;let J=typeof I==\"function\"?I(R):I;return typeof J==\"string\"&&(J=J.includes(\"?\")||J.includes(\"#\")?J=v(J):{path:J},J.params={}),Je({query:R.query,hash:R.hash,params:R.params},J)}}function B(R,Q){const I=l=m(R),J=u.value,Pe=R.state,Ce=R.force,_e=R.replace===!0,ye=E(I);if(ye)return B(Je(v(ye),{state:Pe,force:Ce,replace:_e}),Q||I);const b=I;b.redirectedFrom=Q;let F;return!Ce&&$S(n,J,I)&&(F=bi(16,{to:b,from:J}),ne(J,J,!0,!1)),(F?Promise.resolve(F):T(b,J)).catch(M=>Zr(M)?Zr(M,2)?M:re(M):K(M,b,J)).then(M=>{if(M){if(Zr(M,2))return B(Je(v(M.to),{state:Pe,force:Ce,replace:_e}),Q||b)}else M=w(b,J,!0,_e,Pe);return C(b,J,M),M})}function S(R,Q){const I=y(R,Q);return I?Promise.reject(I):Promise.resolve()}function T(R,Q){let I;const[J,Pe,Ce]=Mw(R,Q);I=fu(J.reverse(),\"beforeRouteLeave\",R,Q);for(const ye of J)ye.leaveGuards.forEach(b=>{I.push(Hr(b,R,Q))});const _e=S.bind(null,R,Q);return I.push(_e),In(I).then(()=>{I=[];for(const ye of s.list())I.push(Hr(ye,R,Q));return I.push(_e),In(I)}).then(()=>{I=fu(Pe,\"beforeRouteUpdate\",R,Q);for(const ye of Pe)ye.updateGuards.forEach(b=>{I.push(Hr(b,R,Q))});return I.push(_e),In(I)}).then(()=>{I=[];for(const ye of R.matched)if(ye.beforeEnter&&!Q.matched.includes(ye))if(Array.isArray(ye.beforeEnter))for(const b of ye.beforeEnter)I.push(Hr(b,R,Q));else I.push(Hr(ye.beforeEnter,R,Q));return I.push(_e),In(I)}).then(()=>(R.matched.forEach(ye=>ye.enterCallbacks={}),I=fu(Ce,\"beforeRouteEnter\",R,Q),I.push(_e),In(I))).then(()=>{I=[];for(const ye of o.list())I.push(Hr(ye,R,Q));return I.push(_e),In(I)}).catch(ye=>Zr(ye,8)?ye:Promise.reject(ye))}function C(R,Q,I){for(const J of a.list())J(R,Q,I)}function w(R,Q,I,J,Pe){const Ce=y(R,Q);if(Ce)return Ce;const _e=Q===qr,ye=ri?history.state:{};I&&(J||_e?i.replace(R.fullPath,Je({scroll:_e&&ye&&ye.scroll},Pe)):i.push(R.fullPath,Pe)),u.value=R,ne(R,Q,I,_e),re()}let D;function k(){D=i.listen((R,Q,I)=>{const J=m(R),Pe=E(J);if(Pe){B(Je(Pe,{replace:!0}),J).catch(ns);return}l=J;const Ce=u.value;ri&&ZS(Kf(Ce.fullPath,I.delta),Oa()),T(J,Ce).catch(_e=>Zr(_e,12)?_e:Zr(_e,2)?(B(_e.to,J).then(ye=>{Zr(ye,20)&&!I.delta&&I.type===Os.pop&&i.go(-1,!1)}).catch(ns),Promise.reject()):(I.delta&&i.go(-I.delta,!1),K(_e,J,Ce))).then(_e=>{_e=_e||w(J,Ce,!1),_e&&(I.delta?i.go(-I.delta,!1):I.type===Os.pop&&Zr(_e,20)&&i.go(-1,!1)),C(J,Ce,_e)}).catch(ns)})}let U=$i(),j=$i(),P;function K(R,Q,I){re(R);const J=j.list();return J.length?J.forEach(Pe=>Pe(R,Q,I)):console.error(R),Promise.reject(R)}function V(){return P&&u.value!==qr?Promise.resolve():new Promise((R,Q)=>{U.add([R,Q])})}function re(R){return P||(P=!R,k(),U.list().forEach(([Q,I])=>R?I(R):Q()),U.reset()),R}function ne(R,Q,I,J){const{scrollBehavior:Pe}=e;if(!ri||!Pe)return Promise.resolve();const Ce=!I&&YS(Kf(R.fullPath,0))||(J||!I)&&history.state&&history.state.scroll||null;return Ai().then(()=>Pe(R,Q,Ce)).then(_e=>_e&&qS(_e)).catch(_e=>K(_e,R,Q))}const O=R=>i.go(R);let $;const W=new Set;return{currentRoute:u,addRoute:h,removeRoute:p,hasRoute:x,getRoutes:g,resolve:m,options:e,push:_,replace:A,go:O,back:()=>O(-1),forward:()=>O(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:j.add,isReady:V,install(R){const Q=this;R.component(\"RouterLink\",Tw),R.component(\"RouterView\",x0),R.config.globalProperties.$router=Q,Object.defineProperty(R.config.globalProperties,\"$route\",{enumerable:!0,get:()=>L(u)}),ri&&!$&&u.value===qr&&($=!0,_(i.location).catch(Pe=>{}));const I={};for(const Pe in qr)I[Pe]=ue(()=>u.value[Pe]);R.provide(Pa,Q),R.provide(v0,Ci(I)),R.provide(tl,u);const J=R.unmount;W.add(R),R.unmount=function(){W.delete(R),W.size<1&&(l=qr,D&&D(),u.value=qr,$=!1,P=!1),J()}}}}function In(e){return e.reduce((t,r)=>t.then(()=>r()),Promise.resolve())}function Mw(e,t){const r=[],n=[],i=[],s=Math.max(t.matched.length,e.matched.length);for(let o=0;o<s;o++){const a=t.matched[o];a&&(e.matched.find(l=>mi(l,a))?n.push(a):r.push(a));const u=e.matched[o];u&&(t.matched.find(l=>mi(l,u))||i.push(u))}return[r,n,i]}function HF(){return ft(Pa)}function Lw(){return ft(v0)}const $w=Se({__name:\"default\",setup(e){const t=Q1();return ln(()=>{t.load(),console.log(\"default layout used\")}),(r,n)=>(X(),Re(L(x0)))}}),jw={default:$w,unauthorized:()=>$n(()=>import(\"./unauthorized.18917336.js\"),[])};function Vw(e){return e.map(t=>{var r;return{path:t.path,component:jw[((r=t.meta)==null?void 0:r.layout)||\"default\"],children:[{...t,path:\"\"}]}})}function Uw({onDrag:e,onDragEnd:t}){const r=Fe(!1),{x:n,y:i}=JE(),s=Fe({x:0,y:0}),o=Fe({x:0,y:0});Dt(window,\"mousemove\",()=>{!r.value||(o.value={x:n.value,y:i.value},e(s.value,o.value))}),Dt(window,\"mouseleave\",()=>{!r.value||(t(s.value,o.value),a())}),Dt(window,\"mouseup\",()=>{!r.value||(t(s.value,o.value),a())});function a(){r.value=!1,s.value={x:0,y:0},o.value={x:0,y:0}}function u(){r.value=!0,s.value={x:n.value,y:i.value}}return{startDrag:u,resetDrag:a,dragging:r}}function Ww(e,t){const r=Uw({onDrag(n,i){t.onDrag(n[e.value],i[e.value])},onDragEnd(n,i){t.onDragEnd(n[e.value],i[e.value])}});return yt(e,()=>{r.resetDrag()}),r}function zw(e){const t=Fe([]),r=ue(()=>t.value.map((u,l)=>u!=null?u:e.value[l].modelValue));yt(e,()=>{t.value=e.value.map(u=>{})},{deep:!0,immediate:!0});function n(u,l){t.value[u]=l}function i(u,l){e.value[u].modelValue=l,e.value[u].update(l)}function s(u){return e.value[u].modelValue}function o(u){return t.value[u]}function a(){t.value.forEach((u,l)=>{const c=u!=null?u:s(l);i(l,c)})}return{config:e,width:r,getTmp:o,setTmp:n,setValue:i,getValue:s,flash:a}}const ug=Symbol(\"side-split\"),Kw=e=>Ji(ug,e),Ra=()=>ft(ug);function qw(){const e=new Map;function t(h,p){const g=zw(h);return e.set(p,g),g}const r=t(Fe([]),\"left\"),n=t(Fe([]),\"right\"),i=Fe(null),s=Fe(10),o=Fe(\"x\"),a=Fe(!1);yt(a,h=>{o.value=h?\"y\":\"x\"});function u(h){switch(h){case\"left\":return 1;case\"right\":return-1}}const l=Ww(o,{onDrag(h,p){if(!i.value)return;const g=i.value.key,x=i.value.idx,m=e.get(g),v=(p-h)*u(g);function y(_,A){if(A<0||A>=m.config.value.length)return;const E=Math.max(m.config.value[A].min,A?s.value:s.value/2),B=m.config.value[A].max,T=m.getValue(A)+_;T<E?(m.setTmp(A,E),y(T-E,A-1)):T>B?(m.setTmp(A,B),y(T-B,A-1)):(m.setTmp(A,T),y(0,A-1))}y(v,x)},onDragEnd(){if(!i.value)return;e.get(i.value.key).flash()}}),c=l.dragging;return{left:r,right:n,split:i,gap:s,vertical:a,dragging:c,startDrag:(h,p)=>{i.value={idx:h,key:p},l.startDrag()},sepStore:new Map}}var Zw=Object.defineProperty,ed=Object.getOwnPropertySymbols,Yw=Object.prototype.hasOwnProperty,Gw=Object.prototype.propertyIsEnumerable,td=(e,t,r)=>t in e?Zw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,il=(e,t)=>{for(var r in t||(t={}))Yw.call(t,r)&&td(e,r,t[r]);if(ed)for(var r of ed(t))Gw.call(t,r)&&td(e,r,t[r]);return e};const sl=Se({name:\"SidePart\",props:{min:Number,max:Number,modelValue:{type:Number,required:!0}},render(){var e,t,r;return(r=(t=(e=this.$slots).default)==null?void 0:t.call(e))!=null?r:[]}}),Yi=Se({name:\"MainPart\",render(){var e,t,r;return(r=(t=(e=this.$slots).default)==null?void 0:t.call(e))!=null?r:[]}}),Qw=Se({name:\"RenderSidePart\",props:{width:{type:Number,required:!0}},setup(e,{slots:t}){const{dragging:r}=Ra(),n=ue(()=>({flexBasis:`${e.width}px`,flexGrow:0,flexShrink:0,overflow:\"hidden\",userSelect:r.value?\"none\":void 0}));return()=>{var s,o;const i=(o=(s=t.default)==null?void 0:s.call(t))!=null?o:[];return bt(\"div\",{class:\"side-part\",style:n.value},i)}}}),Xw=Se({name:\"RenderMainPart\",setup(e,{slots:t}){const{gap:r,dragging:n}=Ra(),i=ue(()=>({flexGrow:1,flexShrink:0,flexBasis:`${r.value}px`,overflow:\"hidden\",userSelect:n.value?\"none\":void 0}));return()=>{var o,a;const s=(a=(o=t.default)==null?void 0:o.call(t))!=null?a:[];return bt(\"div\",{class:\"main-part\",style:i.value},s)}}}),rd=Se({name:\"SplitterPart\",props:{id:{type:Number,required:!0},type:{type:String,required:!0}},setup(e){const{vertical:t,gap:r,startDrag:n}=Ra(),i=ue(()=>{const s={zIndex:1,flexShrink:0};return t.value?il({height:`${r.value}px`,width:\"100%\",margin:`-${r.value/2}px 0`,cursor:\"row-resize\"},s):il({height:\"100%\",width:`${r.value}px`,margin:`0 -${r.value/2}px`,cursor:\"col-resize\"},s)});return()=>bt(\"div\",{style:i.value,class:\"splitter\",onMousedown:()=>n(e.id,e.type)})}}),du=Se({name:\"Panel\",props:{id:Number,type:{type:String,required:!0}},setup(e,{slots:t}){const r=Ra();return()=>{var i,s;const n=(s=(i=t.default)==null?void 0:i.call(t))!=null?s:[];switch(e.type){case\"main\":return bt(Xw,()=>n);case\"left\":case\"right\":return bt(Qw,{width:r[e.type].width.value[e.id]},()=>n)}}}});function hu(e,t){return e===void 0?t:typeof e==\"number\"?e:parseInt(e,10)}const Jw=Se({name:\"SideSplit\",props:{vertical:{type:Boolean,default:!1},gap:{type:Number,default:10}},setup(e,{slots:t}){const r=qw();yt(()=>e.vertical,s=>{r.vertical.value=s},{immediate:!0}),yt(()=>e.gap,s=>{r.gap.value=s},{immediate:!0}),Kw(r);const{vertical:n}=r,i=ue(()=>il({display:\"flex\",userSelect:\"none\"},n.value&&{flexDirection:\"column\"}));return()=>{var x,m;const o=((m=(x=t.default)==null?void 0:x.call(t))!=null?m:[]).filter(v=>v.type===sl||v.type===Yi),a=o.filter(v=>v.type===Yi).length;if(a!==1)throw new Error(`Must provide one ${Yi.name} component, but found ${a}`);function u(v,y){var w;const _=hu(v.min,0),A=hu(v.max,1/0),E=hu((w=v.modelValue)!=null?w:v[\"model-value\"]);if(E===void 0)throw new Error(\"must provide init prop\");const B=v[\"onUpdate:modelValue\"],S=D=>{r.sepStore.set(y,D)};B||r.sepStore.has(y)||r.sepStore.set(y,E);const T=r.sepStore.get(y),C=B!=null?B:S;return{min:_,max:A,modelValue:B?E:T,update:C}}const l=o.find(v=>v.type===Yi),c=o.indexOf(l),d=o.slice(0,c),f=d.map((v,y)=>u(v.props,`left-${y}`)),h=o.slice(c+1),p=h.map((v,y)=>u(v.props,`right-${y}`)).reverse();r.left.config.value=f,r.right.config.value=p;const g=[...d.map((v,y)=>[bt(du,{id:y,type:\"left\"},v.children),bt(rd,{id:y,type:\"left\"})]),bt(du,{type:\"main\"},l.children),...h.map((v,y)=>[bt(du,{id:y,type:\"right\"},v.children),bt(rd,{id:y,type:\"right\"})].reverse()).reverse()];return bt(\"div\",{style:i.value},g)}}});function Iw(){$n(()=>import(\"./HMonacoEditor.4fbcd301.js\").then(function(e){return e.H}),[\"assets/HMonacoEditor.4fbcd301.js\",\"assets/HMonacoEditor.213cf05a.css\"])}function Nw(){$n(()=>import(\"./SettingsView.49df3ee8.js\"),[\"assets/SettingsView.49df3ee8.js\",\"assets/SettingsView.ac9e9c18.css\",\"assets/HPopover.d0eeed1b.js\",\"assets/HPopover.f93dedac.css\",\"assets/HToggle.5d828612.js\",\"assets/HToggle.c1b32eab.css\",\"assets/logo.0fab0ac6.js\"])}function Hw(){Iw(),Nw()}const lg=Di(\"article-list\",{state:()=>({filter:{type:\"all\"}}),actions:{setFilter(e){this.filter=e}},getters:{articleFilter(e){const t=e.filter;return r=>{switch(t.type){case\"all\":return r;case\"page\":return r.filter(rs);case\"post\":return r.filter(Br);case\"draft\":return r.filter(Da);case\"category\":return r.filter(Br).filter(n=>{var i;return(i=n.categories)==null?void 0:i.includes(t.slug)});case\"tag\":return r.filter(Br).filter(n=>{var i;return(i=n.tags)==null?void 0:i.includes(t.slug)});default:return[]}}}}});const eB=Se({__name:\"HBadge\",props:{color:{},bgColor:{},clickable:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1}},setup(e){const t=e,r=Pt(),{color:n,bgColor:i}=zn(t),s=ue(()=>{var a,u;return{color:(a=n==null?void 0:n.value)!=null?a:r.value.textColorWhite,backgroundColor:(u=i==null?void 0:i.value)!=null?u:r.value.colorPrimary}}),{classNames:o}=Ws(\"h-badge\",(a,u)=>{t.clickable&&a(u(\"clickable\")),t.rounded&&a(u(\"rounded\"))});return(a,u)=>(X(),ce(\"span\",{class:Jt([\"px-1 py-0.5 text-xs select-none inline-block\",L(o)]),style:tt(s.value)},[vt(a.$slots,\"default\",{},void 0,!0)],6))}});var ol=Ot(eB,[[\"__scopeId\",\"data-v-4852ac84\"]]);const tB={class:\"title mb-3\"},rB={class:\"font-bold\"},nB={key:0,class:\"brief text-xs mt-1\"},iB={key:1,class:\"mt-0.5\"},sB=Se({__name:\"HArticleItem\",props:{article:{},selected:{type:Boolean,default:!1}},emits:[\"show-menu\"],setup(e,{emit:t}){It(l=>({\"715b8e3c\":a.value.bgColor,\"53ab7e04\":a.value.hoverBgColor,\"61ad4808\":a.value.activeBgColor,\"34006c76\":a.value.briefColor}));const r=e,n=t,{selected:i}=zn(r),s=ue(()=>jn(r.article.date).fromNow()),o=Pt(),a=ue(()=>({bgColor:i.value?o.value.backgroundColorSelected:o.value.backgroundColorTransparent,hoverBgColor:o.value.backgroundColorHover,activeBgColor:o.value.backgroundColorActive,briefColor:o.value.textColorSecondary})),u=l=>{n(\"show-menu\",{article:r.article,e:l})};return(l,c)=>(X(),ce(\"div\",{class:\"h-article-item px-4 py-2 select-none text-sm rounded-md mb-1\",onContextmenu:Si(u,[\"prevent\"])},[me(\"div\",tB,[l.article.type===\"page\"?(X(),Re(L(et),{key:0,class:\"mr-1\",name:L(Ve).Page,style:tt({color:L(o).colorPage})},null,8,[\"name\",\"style\"])):Ze(\"\",!0),l.article.isDraft?(X(),Re(L(et),{key:1,class:\"mr-1\",name:L(Ve).Read,style:tt({color:L(o).colorDraft})},null,8,[\"name\",\"style\"])):Ze(\"\",!0),me(\"span\",rB,Qe(l.article.title),1)]),l.article.brief?(X(),ce(\"div\",nB,Qe(l.article.brief),1)):Ze(\"\",!0),l.article.tags.length?(X(),ce(\"div\",iB,[(X(!0),ce(je,null,qt(l.article.tags,d=>(X(),Re(L(ol),{class:\"mr-1 mb-0.5\",color:L(o).textColorPrimary,\"bg-color\":L(o).backgroundColorBadge,key:d},{default:Te(()=>[Dr(Qe(d),1)]),_:2},1032,[\"color\",\"bg-color\"]))),128))])):Ze(\"\",!0),me(\"div\",{class:\"date mt-1 text-xs\",style:tt({color:L(o).colorPrimary})},Qe(s.value),5)],32))}});var oB=Ot(sB,[[\"__scopeId\",\"data-v-2c1259ba\"]]);function aB(e){return e.nodeType===9?null:e.parentNode}function cg(e){if(e===null)return null;const t=aB(e);if(t===null)return null;if(t.nodeType===9)return document;if(t.nodeType===1){const{overflow:r,overflowX:n,overflowY:i}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(r+i+n))return t}return cg(t)}function uB(e,t){const r=new Map,n=()=>{for(const[,i]of r)i();r.clear()};yt(()=>e.value,i=>{if(n(),!i)return;const s=new Set;let o=i;for(;o=cg(o),o!==null;)s.add(o);for(const a of s)a.addEventListener(\"scroll\",t),r.set(t,()=>{a.removeEventListener(\"scroll\",t)})},{immediate:!0}),ua(()=>{n()})}const pu=Se({__name:\"HDivider\",props:{verticle:{type:Boolean,default:!1},width:{default:1},color:{}},setup(e){const t=e,r=ue(()=>typeof t.width==\"number\"?`${t.width}px`:t.width),n=Pt(),i=ue(()=>{var o;const s={backgroundColor:(o=t.color)!=null?o:n.value.backgroundColorHover};return t.verticle?{...s,height:\"100%\",width:r.value}:{...s,width:\"100%\",height:r.value}});return(s,o)=>(X(),ce(\"div\",{style:tt(i.value)},null,4))}}),al=\"YYYY-MM-DD HH:mm:ss\",lB={class:\"flex justify-start\"},cB={class:\"title mt-2 mb-4 px-1\"},fB={class:\"font-bold\"},dB={class:\"mb-2\"},hB={class:\"text-sm\"},pB={class:\"text-sm\"},vB={class:\"text-sm\"},gB={class:\"text-sm\"},xB=Se({__name:\"HArticleMenu\",props:{position:{},show:{type:Boolean},article:{}},emits:[\"update:show\"],setup(e,{emit:t}){const r=Or(),n=e,i=t,s=Fe(null),o=Fe(null);kE(s,()=>{i(\"update:show\",!1)}),uB(o,()=>{i(\"update:show\",!1)});const a=Pt(),u=ue(()=>({top:`${n.position.y}px`,left:`${n.position.x}px`,backgroundColor:a.value.backgroundColorPrimary})),{classNames:l}=Ws(\"h-article-menu\"),c=f=>{switch(i(\"update:show\",!1),f){case\"edit\":r.editArticle({type:n.article.type,source:n.article.source});break;case\"delete\":r.deleteArticle({type:n.article.type,source:n.article.source});break;case\"publish\":r.publishArticle(n.article.source);break}},d=f=>f?f.format(al):\"\";return(f,h)=>(X(),ce(je,null,[me(\"div\",{class:\"hidden\",ref_key:\"anchorRef\",ref:o},null,512),(X(),Re($s,{to:\"body\"},[oe(Ep,null,{default:Te(()=>{var p,g;return[f.show&&n.article?(X(),ce(\"div\",{key:0,ref_key:\"containerRef\",ref:s,class:Jt([\"w-60 fixed rounded-md shadow p-2\",L(l)]),style:tt(u.value),onContextmenu:h[3]||(h[3]=Si(()=>{},[\"prevent\"]))},[me(\"div\",lB,[oe(L(ir),{class:\"mr-1\",inverted:\"\",size:\"small\",round:\"\",onClick:h[0]||(h[0]=x=>c(\"edit\"))},{default:Te(()=>[oe(L(et),{name:L(Ve).Edit},null,8,[\"name\"])]),_:1}),oe(L(ir),{class:\"mr-1\",type:\"error\",inverted:\"\",size:\"small\",round:\"\",onClick:h[1]||(h[1]=x=>c(\"delete\"))},{default:Te(()=>[oe(L(et),{name:L(Ve).Delete},null,8,[\"name\"])]),_:1}),f.article.isDraft?(X(),Re(L(ir),{key:0,class:\"mr-1\",type:\"success\",inverted:\"\",size:\"small\",round:\"\",onClick:h[2]||(h[2]=x=>c(\"publish\"))},{default:Te(()=>[oe(L(et),{name:L(Ve).Upload},null,8,[\"name\"])]),_:1})):Ze(\"\",!0)]),oe(L(pu),{class:\"mt-1 mb-2\"}),me(\"div\",cB,[f.article.type===\"page\"?(X(),Re(L(et),{key:0,class:\"mr-2\",name:L(Ve).Page,style:tt({color:L(a).colorPage})},null,8,[\"name\",\"style\"])):Ze(\"\",!0),f.article.isDraft?(X(),Re(L(et),{key:1,class:\"mr-2\",name:L(Ve).Read,style:tt({color:L(a).colorDraft})},null,8,[\"name\",\"style\"])):Ze(\"\",!0),me(\"span\",fB,Qe(f.article.title),1)]),me(\"div\",dB,[me(\"div\",hB,Qe(`\\u53D1\\u5E03\\u4E8E ${d(f.article.date)}`),1),me(\"div\",pB,Qe(`\\u66F4\\u65B0\\u4E8E ${d(f.article.updated)}`),1)]),(p=f.article.categories)!=null&&p.length?(X(),ce(je,{key:0},[oe(L(pu),{class:\"my-2\"}),me(\"div\",vB,[(X(!0),ce(je,null,qt(f.article.categories,(x,m)=>(X(),ce(je,null,[m?(X(),Re(L(et),{key:0,class:\"mb-0.5\",name:L(Ve).ChevronRight},null,8,[\"name\"])):Ze(\"\",!0),oe(L(ol),{class:\"mb-0.5\",rounded:\"\"},{default:Te(()=>[Dr(Qe(x),1)]),_:2},1024)],64))),256))])],64)):Ze(\"\",!0),(g=f.article.tags)!=null&&g.length?(X(),ce(je,{key:1},[oe(L(pu),{class:\"my-2\"}),me(\"div\",gB,[(X(!0),ce(je,null,qt(f.article.tags,x=>(X(),Re(L(ol),{class:\"mr-1\"},{default:Te(()=>[Dr(Qe(x),1)]),_:2},1024))),256))])],64)):Ze(\"\",!0)],38)):Ze(\"\",!0)]}),_:1})]))],64))}});function yB(e){return e.sort((t,r)=>{const n=jn(t.date),i=jn(r.date);return n.isValid()?i.isValid()&&n.valueOf()>i.valueOf()?-1:1:-1})}const EB={class:\"h-article-list px-3 py-2\"},_B=Se({__name:\"HArticleList\",props:{articles:{},selected:{}},emits:[\"on-click\"],setup(e,{emit:t}){const r=e,n=t,{selected:i}=zn(r),s=ue(()=>yB(r.articles)),o=Fe({x:0,y:0}),a=Fe(!1),u=Fe(null),l=d=>{o.value.x=d.pageX,o.value.y=d.pageY,a.value=!0},c=d=>{u.value=d.article,l(d.e)};return(d,f)=>(X(),ce(\"div\",EB,[(X(!0),ce(je,null,qt(s.value,h=>(X(),Re(oB,{article:h,selected:L(i)===h.source,onClick:p=>n(\"on-click\",{source:h.source,type:h.type}),onShowMenu:c},null,8,[\"article\",\"selected\",\"onClick\"]))),256)),oe(xB,{position:o.value,show:a.value,\"onUpdate:show\":f[0]||(f[0]=h=>a.value=h),article:u.value},null,8,[\"position\",\"show\",\"article\"])]))}}),mB=Se({__name:\"ArticleListView\",setup(e){const t=Cr(),r=Lw(),n=Or(),i=lg(),s=ue(()=>i.articleFilter),o=ue(()=>s.value(t.articles)),a=ue(()=>o.value.map(c=>{const d={title:c.title,brief:c.brief,date:Lo(c.date),updated:Lo(c.updated),source:c.source,type:Br(c)?\"post\":\"page\",isDraft:Da(c),tags:[],categories:[]};return Br(c)&&(d.tags=c.tags.map(f=>t.tags[f].name),d.categories=c.categories.map(f=>t.categories[f].name)),d})),u=ue(()=>decodeURIComponent(r.params.source)),l=({source:c,type:d})=>{c===u.value?n.goHome():n.viewArticle({source:c,type:d})};return(c,d)=>(X(),Re(_B,{articles:a.value,selected:u.value,onOnClick:l},null,8,[\"articles\",\"selected\"]))}});function ji(){Ps.notify({type:\"success\",title:\"\\u6210\\u529F\"})}function Vi(e){const t=e instanceof Error?e:new Error(e);console.log(qu(t));const r=Ps.notify({title:\"\\u5931\\u8D25\",desc:qu(t),type:\"error\",actions:[{label:\"\\u597D\\u7684\",run(){Ps.close(r)}}]});return t}const bB=Di(\"actions\",{actions:{async deploy(){this.loading.start(),await er.deploy().then(ji,Vi),this.loading.stop()},async generate(){this.loading.start(),await er.generate().then(ji,Vi),this.loading.stop()},async clean(){this.loading.start(),await er.clean().then(ji,Vi),this.loading.stop()},async gitSync(){this.loading.start(),await er.gitSync().then(()=>{ji(),Or().loadBlogData()},Vi),this.loading.stop()},async gitSave(){this.loading.start(),await er.gitSave().then(()=>{ji(),Or().loadBlogData()},Vi),this.loading.stop()}}});const CB={},AB={class:\"h-nav-title text-sm select-none font-bold leading-12 px-4\"};function SB(e,t){return X(),ce(\"div\",AB,[vt(e.$slots,\"default\",{},void 0,!0)])}var wB=Ot(CB,[[\"render\",SB],[\"__scopeId\",\"data-v-2234c52a\"]]);const BB={class:\"h-nav-item px-4 py-0.5 mx-0 my-0.5 h-7 rounded-md select-none cursor-pointer flex items-center\"},FB={class:\"w-4 inline-block\"},DB={key:0,class:\"sub text-xs ml-2\"},TB=Se({__name:\"HNavItem\",props:{icon:{},text:{},indent:{default:0},selected:{type:Boolean,default:!1},color:{},sub:{default:\"\"},uppercase:{type:Boolean,default:!0}},setup(e){It(d=>({ed2a9582:c.value.bgColor,be1aa3fc:c.value.subColor,\"4a9c127e\":c.value.hoverBgColor,\"5b985e99\":c.value.activeBgColor}));const t=e,{icon:r,text:n,indent:i,selected:s,color:o,uppercase:a}=zn(t),u=ue(()=>i.value===0?[]:new Array(i.value).fill(0).map((d,f)=>f)),l=ga(\"NavList\"),c=ue(()=>{const d=s.value?l.value.backgroundColorSelected:l.value.backgroundColorTransparent,f=l.value.textColorSecondary,h=l.value.backgroundColorHover,p=l.value.backgroundColorActive;return{bgColor:d,subColor:f,hoverBgColor:h,activeBgColor:p}});return(d,f)=>{var h;return X(),ce(\"div\",BB,[(X(!0),ce(je,null,qt(u.value,p=>(X(),ce(\"span\",FB))),256)),oe(L(et),{class:\"mr-3 text-lg\",style:tt({color:L(o)}),name:L(r)},null,8,[\"style\",\"name\"]),me(\"span\",{class:Jt([\"text text-sm\",{uppercase:L(a)}])},Qe(L(n)),3),(h=d.sub)!=null&&h.toString()?(X(),ce(\"span\",DB,Qe(d.sub),1)):Ze(\"\",!0)])}}});var kB=Ot(TB,[[\"__scopeId\",\"data-v-ba0775d8\"]]);const PB=Se({__name:\"HNavList\",props:{model:{}},emits:[\"on-select\"],setup(e,{emit:t}){const r=t,n=i=>{r(\"on-select\",i)};return(i,s)=>(X(!0),ce(je,null,qt(i.model,o=>(X(),ce(je,null,[o.type===\"title\"?(X(),Re(wB,{key:0},{default:Te(()=>[Dr(Qe(o.label),1)]),_:2},1024)):(X(),Re(kB,{key:1,text:o.text,icon:o.icon,indent:o.indent,color:o.color,sub:o.sub,selected:o.selected,uppercase:o.uppercase,onClick:a=>n(o.key)},null,8,[\"text\",\"icon\",\"indent\",\"color\",\"sub\",\"selected\",\"uppercase\",\"onClick\"]))],64))),256))}}),OB={},RB={class:\"h-toolbar h-12 flex items-center select-none flex-shrink-0\"};function MB(e,t){return X(),ce(\"div\",RB,[vt(e.$slots,\"default\")])}var Ma=Ot(OB,[[\"render\",MB]]);const LB=e=>(Ld(\"data-v-7948cf38\"),e=e(),$d(),e),$B={class:\"flex-1 flex flex-col ml-2\"},jB={class:\"name text-sm font-bold\"},VB=LB(()=>me(\"div\",{class:\"status text-xs\"},\"\\u5DF2\\u767B\\u5F55\",-1)),UB=Se({__name:\"HNavSetting\",props:{name:{default:\"\"},icon:{type:Boolean,default:!1}},setup(e){It(s=>({\"078d1708\":L(i).textColorSecondary,\"8bd2b6f6\":L(i).backgroundColorHover,\"7c220cdd\":L(i).backgroundColorActive}));const t=e,{name:r}=zn(t),n=ue(()=>{var s;return(s=r.value)==null?void 0:s[0]}),i=Pt();return(s,o)=>(X(),Re(Ma,{class:\"h-nav-setting px-4 cursor-pointer\"},{default:Te(()=>[me(\"div\",{class:\"avatar w-8 h-8 rounded-full text-xl flex items-center justify-center\",style:tt({background:L(i).colorPrimary})},[!s.icon&&n.value?(X(),ce(\"span\",{key:0,style:tt({color:L(i).textColorWhite})},Qe(n.value),5)):(X(),Re(L(et),{key:1,name:L(Ve).Contact},null,8,[\"name\"]))],4),me(\"div\",$B,[me(\"div\",jB,Qe(L(r)||\"\\u672A\\u547D\\u540D\\u7528\\u6237\"),1),VB]),oe(L(et),{name:L(Ve).Settings},null,8,[\"name\"]),vt(s.$slots,\"default\",{},void 0,!0)]),_:3}))}});var WB=Ot(UB,[[\"__scopeId\",\"data-v-7948cf38\"]]);const zB={class:\"text-xl\",style:{fontWeight:600,letterSpacing:\"0.05rem\"}},KB=me(\"span\",{class:\"pl-8\"},\"Hexon\",-1),qB=Se({__name:\"HTitle\",setup(e){return Pt(),(t,r)=>(X(),Re(Ma,null,{default:Te(()=>[me(\"span\",zB,[vt(t.$slots,\"default\",{},()=>[KB])])]),_:3}))}});const ZB={class:\"home-nav-view w-full h-full flex flex-col\"},YB={style:{flex:\"1 0 0\",\"overflow-y\":\"auto\"}},GB={class:\"pb-2 pl-4 pr-2\"},QB=Se({__name:\"HomeNavView\",setup(e){It(v=>({\"592943dd\":L(s).backgroundColorTertiary}));const t=Cr(),r=lg(),n=bB(),i=Or(),s=Pt(),o=ue(()=>({deploy:s.value.colorPrimary,generate:s.value.colorPrimary,clean:s.value.colorError,gitsave:s.value.colorPrimary,gitsync:s.value.colorError,all:s.value.colorAll,post:s.value.colorPost,page:s.value.colorPage,draft:s.value.colorDraft})),a=[{type:\"title\",label:\"\\u64CD\\u4F5C\"},{type:\"item\",text:\"\\u90E8\\u7F72\",icon:Ve.Airplane,color:o.value.deploy,key:\"deploy\"},{type:\"item\",text:\"\\u751F\\u6210\",icon:Ve.Library,color:o.value.generate,key:\"generate\"},{type:\"item\",text:\"\\u6E05\\u7406\",icon:Ve.EraseTool,color:o.value.clean,key:\"clean\"},{type:\"item\",text:\"\\u540C\\u6B65\\u5230 Git\",icon:Ve.Upload,color:o.value.gitsave,key:\"gitsave\"},{type:\"item\",text:\"\\u4ECE Git \\u540C\\u6B65\",icon:Ve.Download,color:o.value.gitsync,key:\"gitsync\"}],u=ue(()=>d.value+l.value+c.value),l=ue(()=>t.publishedPostsList.length),c=ue(()=>t.pagesList.length),d=ue(()=>t.draftsList.length),f=ue(()=>r.filter.type),h=ue(()=>[{type:\"title\",label:\"\\u7B5B\\u9009\"},{type:\"item\",text:\"\\u5168\\u90E8\",icon:Ve.Home,sub:u.value,color:o.value.all,selected:f.value===\"all\",key:\"all\"},{type:\"item\",text:\"\\u6587\\u7AE0\",icon:Ve.Edit,sub:l.value,color:o.value.post,selected:f.value===\"post\",key:\"post\"},{type:\"item\",text:\"\\u9875\\u9762\",icon:Ve.Page,sub:c.value,color:o.value.page,selected:f.value===\"page\",key:\"page\"},{type:\"item\",text:\"\\u8349\\u7A3F\",icon:Ve.Read,sub:d.value,color:o.value.draft,selected:f.value===\"draft\",key:\"draft\"}]),p=ue(()=>{const v=[{type:\"title\",label:\"\\u5206\\u7C7B\"}];function y(_,A=0){var E,B;v.push({type:\"item\",text:_.name,icon:Ve.Folder,color:s.value.colorFolder,indent:A,sub:(E=_.posts)==null?void 0:E.length,key:\"c-\"+_.slug,selected:r.filter.type===\"category\"&&_.slug===r.filter.slug}),(B=_.children)==null||B.forEach(S=>y(S,A+1))}return t.categoriesTree.forEach(_=>y(_)),v}),g=ue(()=>[...a,...h.value,...p.value]),x=v=>{v===\"all\"&&r.setFilter({type:\"all\"}),v===\"post\"&&r.setFilter({type:\"post\"}),v===\"page\"&&r.setFilter({type:\"page\"}),v===\"draft\"&&r.setFilter({type:\"draft\"}),v.slice(0,2)===\"c-\"&&r.setFilter({type:\"category\",slug:v.slice(2)}),v===\"deploy\"&&n.deploy(),v===\"generate\"&&n.generate(),v===\"clean\"&&n.clean(),v===\"gitsync\"&&n.gitSync(),v===\"gitsave\"&&n.gitSave()},m=()=>i.showSettingsModal();return(v,y)=>(X(),ce(\"div\",ZB,[oe(qB),me(\"div\",YB,[me(\"div\",GB,[oe(L(PB),{model:g.value,onOnSelect:x},null,8,[\"model\"])])]),oe(WB,{onClick:m,name:L(t).username},null,8,[\"name\"])]))}});var XB=Ot(QB,[[\"__scopeId\",\"data-v-27f31c86\"]]);const JB={class:\"w-full\"},IB={key:0,class:\"prefix mr-1\"},NB=[\"value\",\"placeholder\",\"type\"],HB=Se({__name:\"HInput\",props:{modelValue:{},placeholder:{default:\"\"},clearable:{type:Boolean,default:!1},type:{default:\"primary\"},error:{},attrType:{}},emits:[\"update:modelValue\"],setup(e,{expose:t,emit:r}){It(x=>({\"0565f45e\":p.value.backgroundColor,\"0634726f\":p.value.placeholder}));const n=e,i=r,s=Fe(null);t({focus:()=>{var x;return(x=s.value)==null?void 0:x.focus()},blur:()=>{var x;return(x=s.value)==null?void 0:x.blur()}});const u=x=>i(\"update:modelValue\",x),l=x=>{var m;return u((m=x.target)==null?void 0:m.value)},c=()=>u(\"\"),d=ga(\"Input\"),f=ue(()=>n.clearable&&n.modelValue),{classNames:h}=Ws(\"h-input\"),p=ue(()=>{const x={placeholder:d.value.textColorSecondary,outline:d.value.colorTransparent};return n.type===\"primary\"?{...x,backgroundColor:d.value.backgroundColorPrimary}:{...x,outline:d.value.colorTransparent,backgroundColor:d.value.backgroundColorTertiary}}),g=qx();return(x,m)=>(X(),ce(\"div\",JB,[me(\"label\",{class:Jt([\"text-sm h-8 border-none rounded-2xl px-3 py-0 flex cursor-text items-center w-full\",L(h)]),style:tt({outline:`1px solid ${p.value.outline}`})},[L(g).prefix?(X(),ce(\"div\",IB,[vt(x.$slots,\"prefix\",{},void 0,!0)])):Ze(\"\",!0),me(\"input\",{class:\"border-none outline-none flex-1 flex-shrink rounded-none leading-full bg-transparent mx-1 min-w-0\",value:n.modelValue,placeholder:n.placeholder,type:n.attrType,onInput:l,ref_key:\"inputRef\",ref:s,spellcheck:\"false\"},null,40,NB),f.value?(X(),ce(\"div\",{key:1,class:\"suffix ml-1\",onClick:c},[oe(L(et),{name:L(Ve).Cancel},null,8,[\"name\"])])):Ze(\"\",!0),L(g).suffix?(X(),ce(\"div\",{key:2,class:Jt([\"suffix\",{\"ml-1\":!f.value,\"ml-2\":f.value}])},[vt(x.$slots,\"suffix\",{},void 0,!0)],2)):Ze(\"\",!0)],6),n.error!==void 0?(X(),ce(\"div\",{key:0,class:\"h-input-hint w-full\",style:tt({color:L(d).colorError})},Qe(x.error)+\"\\xA0 \",5)):Ze(\"\",!0)]))}});var eF=Ot(HB,[[\"__scopeId\",\"data-v-66dad1c6\"]]);const tF=me(\"div\",{class:\"flex-1\"},null,-1),rF=Se({__name:\"HSearchBar\",props:{modelValue:{}},emits:[\"update:modelValue\",\"on-add\"],setup(e,{emit:t}){const r=e,n=t,{modelValue:i}=zn(r),s=o=>n(\"update:modelValue\",o);return(o,a)=>(X(),Re(Ma,{class:\"px-6\"},{default:Te(()=>[tF,oe(L(eF),{modelValue:L(i),\"onUpdate:modelValue\":s,type:\"secondary\",placeholder:\"\\u641C\\u7D22\",clearable:\"\"},{prefix:Te(()=>[oe(L(et),{name:L(Ve).Search},null,8,[\"name\"])]),_:1},8,[\"modelValue\"]),oe(L(ir),{class:\"ml-2\",round:\"\",onClick:a[0]||(a[0]=u=>n(\"on-add\"))},{default:Te(()=>[oe(L(et),{name:L(Ve).Add},null,8,[\"name\"])]),_:1})]),_:1}))}});var Jo={};const nF={class:\"home-list-view flex flex-col w-full h-full\"},iF={class:\"overflow-auto flex-1\"},sF={class:\"home-viewer-view w-full h-full\"},fg=Se({__name:\"index\",setup(e){It(o=>({\"35e278ee\":L(s).backgroundColorSecondary,\"00caabfc\":L(s).backgroundColorPrimary}));const t=Or();ln(()=>{t.loadBlogData(),t.getInfo()});const r=XE(\"index-sep\",{nav:200,list:320}),n=Fe(\"\"),i=()=>t.showCreateArticleModal();ln(()=>{Ai(()=>{Hw()})});const s=Pt();return s.value.backgroundColorTertiary,(o,a)=>(X(),Re(L(Jw),{class:\"index-page w-full h-full\"},{default:Te(()=>[oe(L(sl),{min:150,modelValue:L(r).nav,\"onUpdate:modelValue\":a[0]||(a[0]=u=>L(r).nav=u),max:300},{default:Te(()=>[oe(XB)]),_:1},8,[\"modelValue\"]),oe(L(sl),{min:200,modelValue:L(r).list,\"onUpdate:modelValue\":a[2]||(a[2]=u=>L(r).list=u),max:500},{default:Te(()=>[me(\"div\",nF,[oe(rF,{modelValue:n.value,\"onUpdate:modelValue\":a[1]||(a[1]=u=>n.value=u),class:\"flex-shrink-0\",onOnAdd:i},null,8,[\"modelValue\"]),me(\"div\",iF,[oe(mB)])])]),_:1},8,[\"modelValue\"]),oe(L(Yi),{type:\"main\"},{default:Te(()=>[me(\"div\",sF,[oe(L(x0))])]),_:1})]),_:1}))}});typeof Jo==\"function\"&&Jo(fg);var oF=Ot(fg,[[\"__scopeId\",\"data-v-a46e7aa2\"]]);const aF=[\"innerHTML\"],uF=Se({__name:\"HViewerContent\",props:{content:{}},setup(e){It(s=>({\"685c3344\":n.value.mainColor,\"5c25cac8\":n.value.primary,a871f03c:n.value.base3BgColor,\"43e5db03\":n.value.base2BgColor}));const t=e,r=Pt(),n=ue(()=>({primary:r.value.colorPrimary,mainColor:r.value.textColorPrimary,base3BgColor:r.value.backgroundColorTertiary,base2BgColor:r.value.backgroundColorSecondary})),i=ue(()=>{var s;return((s=t.content)!=null?s:\"\").replaceAll(/(href=\".*?\")/g,'$1 target=\"_blank\"')});return(s,o)=>(X(),ce(\"div\",{class:\"article-entry\",innerHTML:i.value||\"\"},null,8,aF))}}),lF={class:\"h-viewer-header text-base px-5 mx-auto\",style:{\"max-width\":\"768px\"}},cF={key:0,class:\"text-4xl my-5\"},fF={key:0,class:\"updated\"},dF={key:1,class:\"date\"},hF={key:2,class:\"categories mt-1 text-sm\"},pF={class:\"ml-0.5\"},vF={key:3,class:\"tags text-sm mt-1\"},gF={key:0},xF={class:\"ml-0.5\"},yF={key:4,class:\"rest text-xs\"},EF=Se({__name:\"HViewerHeader\",props:{article:{}},setup(e){const t=Pt(),r=e,n=ue(()=>r.article.date?r.article.date.format(al):\"\"),i=ue(()=>r.article.updated?r.article.updated.format(al):\"\"),s=ue(()=>{const o=r.article.fm;return JSON.stringify(o)===JSON.stringify({})?\"\":Object.entries(o).map(([a,u])=>`${a}: ${u}`).join(`\n`)});return(o,a)=>(X(),ce(\"div\",lF,[o.article.title?(X(),ce(\"h1\",cF,Qe(o.article.title),1)):Ze(\"\",!0),me(\"div\",{style:tt({color:L(t).textColorSecondary})},[i.value?(X(),ce(\"div\",fF,[oe(L(et),{class:\"mr-1\",style:{transform:\"translateX(-1px)\"},name:L(Ve).DevUpdate},null,8,[\"name\"]),me(\"span\",null,Qe(i.value),1)])):Ze(\"\",!0),n.value?(X(),ce(\"div\",dF,[oe(L(et),{class:\"mr-1\",style:{transform:\"translateX(-1px)\"},name:L(Ve).Globe},null,8,[\"name\"]),me(\"span\",null,Qe(n.value),1)])):Ze(\"\",!0),o.article.categories.length?(X(),ce(\"div\",hF,[oe(L(et),{class:\"mr-1\",name:L(Ve).Folder},null,8,[\"name\"]),(X(!0),ce(je,null,qt(o.article.categories,(u,l)=>(X(),ce(je,{key:l},[l?(X(),Re(L(et),{key:0,class:\"ml-0.5\",name:L(Ve).ChevronRight},null,8,[\"name\"])):Ze(\"\",!0),me(\"span\",pF,Qe(u),1)],64))),128))])):Ze(\"\",!0),o.article.tags.length?(X(),ce(\"div\",vF,[oe(L(et),{class:\"mr-1\",name:L(Ve).Tag},null,8,[\"name\"]),(X(!0),ce(je,null,qt(o.article.tags,(u,l)=>(X(),ce(je,{key:l},[l?(X(),ce(\"span\",gF,\",\")):Ze(\"\",!0),me(\"span\",xF,Qe(u),1)],64))),128))])):Ze(\"\",!0),s.value?(X(),ce(\"pre\",yF,Qe(s.value),1)):Ze(\"\",!0)],4)]))}}),_F=me(\"div\",{class:\"flex-1\"},null,-1),mF=Se({__name:\"HViewerToolbar\",emits:[\"on-action\"],setup(e,{emit:t}){const r=t,n=oi();return(i,s)=>(X(),Re(Ma,null,{default:Te(()=>[_F,oe(L(ir),{class:\"mr-2\",type:\"primary\",round:\"\",inverted:\"\",onClick:s[0]||(s[0]=o=>r(\"on-action\",{type:\"edit\"}))},{default:Te(()=>[oe(L(et),{name:L(Ve).Edit},null,8,[\"name\"])]),_:1}),oe(L(ir),{class:\"mr-2\",type:\"error\",round:\"\",inverted:\"\",onClick:s[1]||(s[1]=o=>r(\"on-action\",{type:\"delete\"}))},{default:Te(()=>[oe(L(et),{name:L(Ve).Delete},null,8,[\"name\"])]),_:1}),L(n).isDraft?(X(),Re(L(ir),{key:0,class:\"mr-2\",type:\"success\",round:\"\",inverted:\"\",onClick:s[2]||(s[2]=o=>r(\"on-action\",{type:\"publish\"}))},{default:Te(()=>[oe(L(et),{name:L(Ve).Upload},null,8,[\"name\"])]),_:1})):Ze(\"\",!0)]),_:1}))}});const bF=e=>(Ld(\"data-v-5dfdf44c\"),e=e(),$d(),e),CF={class:\"h-errored-view h-full w-full flex flex-col items-center justify-center select-none\"},AF=bF(()=>me(\"span\",{class:\"text-xl\"},\"\\u51FA\\u9519\\u5566~\",-1)),SF=Se({__name:\"ErroredView\",setup(e){It(n=>({\"79638eb2\":r.value.color}));const t=Pt(),r=ue(()=>({color:t.value.textColorPrimary}));return(n,i)=>(X(),ce(\"div\",CF,[vt(n.$slots,\"default\",{},()=>[AF],!0)]))}});var wF=Ot(SF,[[\"__scopeId\",\"data-v-5dfdf44c\"]]);const BF={key:1,class:\"w-full h-full flex flex-col\"},FF={class:\"overflow-auto flex-1\"},dg=Se({__name:\"[source]\",props:{type:{},source:{}},setup(e){const t=Or(),r=oi(),n=e;function i(){const{type:u,source:l}=n;u===\"post\"||u===\"page\"?t.getArticle({type:u,source:l}):t.goHome()}yt(()=>[n.type,n.source],()=>{i()},{deep:!0,immediate:!0}),ua(()=>{t.clearArticle()});const s=ue(()=>{var u;return((u=r.article)==null?void 0:u.content)||\"\"}),o=ue(()=>_3(r.article)),a=u=>{const{type:l,source:c}=n;switch(u.type){case\"code\":break;case\"edit\":t.editArticle({type:l,source:c});break;case\"delete\":t.deleteArticle({type:l,source:c});break;case\"publish\":t.publishArticle(c);break}};return(u,l)=>(X(),Re(L(_p),{loading:L(r).isLoading},{default:Te(()=>[L(r).error?(X(),Re(wF,{key:0},{default:Te(()=>[oe(L(ir),{onClick:i},{default:Te(()=>[Dr(\"\\u91CD\\u8BD5\")]),_:1})]),_:1})):(X(),ce(\"div\",BF,[oe(mF,{onOnAction:a}),me(\"div\",FF,[oe(EF,{article:o.value},null,8,[\"article\"]),oe(uF,{content:s.value},null,8,[\"content\"])])]))]),_:1},8,[\"loading\"]))}});typeof Jo==\"function\"&&Jo(dg);const DF=[{name:\"home\",path:\"/\",component:oF,children:[{name:\"view\",path:\"view/:type/:source\",component:dg,props:!0}],props:!0},{name:\"signin\",path:\"/signin\",component:()=>$n(()=>import(\"./signin.b6a1b593.js\"),[\"assets/signin.b6a1b593.js\",\"assets/logo.0fab0ac6.js\",\"assets/HPopover.d0eeed1b.js\",\"assets/HPopover.f93dedac.css\"]),props:!0,meta:{name:\"signin\",layout:\"unauthorized\"}},{name:\"edit\",path:\"/edit/:type/:source\",component:()=>$n(()=>import(\"./_source_.cd90784b.js\"),[\"assets/_source_.cd90784b.js\",\"assets/_source_.0a6f257a.css\",\"assets/HPopover.d0eeed1b.js\",\"assets/HPopover.f93dedac.css\"]),props:!0}],TF=Vw(DF),co={home:\"/\",signin:\"/signin\"},y0=Rw({history:IS(),routes:TF});y0.beforeEach(async(e,t)=>{if(Ef()&&e.path===co.signin)return co.home;if(!Ef()&&e.path!==co.signin)return co.signin});const hg=j8();hg.use(()=>({loading:J1,dialog:X1,router:y0,notification:Ps,modal:Xl}));var kF=vC();function pg(e={},t=\"-\"){return Object.keys(e).reduce((r,n)=>{const i=e[n],s=`${t}-${n}`;if(typeof i==\"string\")return r[s]=i,r;{const o=pg(i,s);return Object.assign(Object.assign({},r),o)}},{})}const PF=Symbol(\"theme\");class OF{constructor(t){this.name=Fe(\"default\"),this.map=new Map,this.map=new Map(Object.entries(t))}install(t,r){t.provide(r||PF,this)}changeTheme(t){this.map.has(t)?this.name.value=t:console.warn(`theme ${t} not found`)}setTheme(t,r){this.map.set(t,r)}deleteTheme(t){t!==\"default\"?this.map.delete(t):console.warn(\"can not delete default theme, try change it by `setTheme('default', newTheme)`\")}get data(){return ue(()=>this.map.get(this.name.value))}get styles(){return ue(()=>pg(this.data.value))}get currentTheme(){return ue(()=>this.name.value)}get themeList(){return ue(()=>[...this.map.keys()])}}function RF(e){return new OF(e)}const MF={l:(e,t)=>{const[r,n,i]=tn.hex.rgb(e),s=o=>o+Math.abs(255-o)*t;return`#${tn.rgb.hex([s(r),s(n),s(i)])}`},d:(e,t)=>{const[r,n,i]=tn.hex.rgb(e),s=o=>o*(1-t);return`#${tn.rgb.hex([s(r),s(n),s(i)])}`},a:(e,t)=>{const r=Math.round((1-t)*255).toString(16);return`${e}${r}`}};function fr(e){const t=new Array(9).fill(0).map((n,i)=>(i+1)/10);function r(n){return t.map(i=>MF[n](e,i)).reduce((i,s,o)=>(i[`${n}${o+1}`]=s,i),{})}return{n:e,...r(\"a\"),...r(\"d\"),...r(\"l\")}}const LF={color:{primary:fr(\"#3498db\"),success:fr(\"#27ae60\"),warning:fr(\"#f39c12\"),error:fr(\"#e74c3c\"),common:fr(\"#888888\"),folder:\"#f3c04f\",all:\"#27ae60\",post:\"#3883c7\",page:\"#52bad1\",draft:\"#f1c40f\",black:\"#000000\",white:\"#ffffff\",background:{transparent:\"transparent\",hover:\"#00000015\",active:\"#00000020\",selected:\"#00000010\",base1:\"#ffffff\",base2:\"#f8f8f8\",base3:\"#eeeeee\",badge:\"#cccccc\",max:\"#ffffff\",min:\"#000000\",secondInput:\"#eeeeee\"},foreground:{transparent:\"transparent\",main:\"#484848\",sub:\"#757575\",max:\"#000000\",min:\"#ffffff\"}}},$F={color:{primary:fr(\"#3498db\"),success:fr(\"#27ae60\"),warning:fr(\"#f39c12\"),error:fr(\"#e74c3c\"),common:fr(\"#888888\"),folder:\"#f3c04f\",all:\"#27ae60\",post:\"#3883c7\",page:\"#52bad1\",draft:\"#f1c40f\",black:\"#000000\",white:\"#ffffff\",background:{transparent:\"transparent\",hover:\"#ffffff15\",active:\"#ffffff20\",selected:\"#ffffff10\",base1:\"#323232\",base2:\"#282828\",base3:\"#1f1f1f\",badge:\"#3e3e3e\",max:\"#000000\",min:\"#ffffff\",secondInput:\"#424242\"},foreground:{transparent:\"transparent\",main:\"#dddddd\",sub:\"#a9a9a9\",max:\"#ffffff\",min:\"#000000\"}}};var jF=RF({default:LF,dark:$F}),vg={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(we,function(){return function(r,n,i){r=r||{};var s=n.prototype,o={future:\"in %s\",past:\"%s ago\",s:\"a few seconds\",m:\"a minute\",mm:\"%d minutes\",h:\"an hour\",hh:\"%d hours\",d:\"a day\",dd:\"%d days\",M:\"a month\",MM:\"%d months\",y:\"a year\",yy:\"%d years\"};function a(l,c,d,f){return s.fromToBase(l,c,d,f)}i.en.relativeTime=o,s.fromToBase=function(l,c,d,f,h){for(var p,g,x,m=d.$locale().relativeTime||o,v=r.thresholds||[{l:\"s\",r:44,d:\"second\"},{l:\"m\",r:89},{l:\"mm\",r:44,d:\"minute\"},{l:\"h\",r:89},{l:\"hh\",r:21,d:\"hour\"},{l:\"d\",r:35},{l:\"dd\",r:25,d:\"day\"},{l:\"M\",r:45},{l:\"MM\",r:10,d:\"month\"},{l:\"y\",r:17},{l:\"yy\",d:\"year\"}],y=v.length,_=0;_<y;_+=1){var A=v[_];A.d&&(p=f?i(l).diff(d,A.d,!0):d.diff(l,A.d,!0));var E=(r.rounding||Math.round)(Math.abs(p));if(x=p>0,E<=A.r||!A.r){E<=1&&_>0&&(A=v[_-1]);var B=m[A.l];h&&(E=h(\"\"+E)),g=typeof B==\"string\"?B.replace(\"%d\",E):B(E,c,A.l,x);break}}if(c)return g;var S=x?m.future:m.past;return typeof S==\"function\"?S(g):S.replace(\"%s\",g)},s.to=function(l,c){return a(l,c,this,!0)},s.from=function(l,c){return a(l,c,this)};var u=function(l){return l.$u?i.utc():i()};s.toNow=function(l){return this.to(u(this),l)},s.fromNow=function(l){return this.from(u(this),l)}}})})(vg);var VF=vg.exports,gg={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(we,function(){var r={LTS:\"h:mm:ss A\",LT:\"h:mm A\",L:\"MM/DD/YYYY\",LL:\"MMMM D, YYYY\",LLL:\"MMMM D, YYYY h:mm A\",LLLL:\"dddd, MMMM D, YYYY h:mm A\"};return function(n,i,s){var o=i.prototype,a=o.format;s.en.formats=r,o.format=function(u){u===void 0&&(u=\"YYYY-MM-DDTHH:mm:ssZ\");var l=this.$locale().formats,c=function(d,f){return d.replace(/(\\[[^\\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(h,p,g){var x=g&&g.toUpperCase();return p||f[g]||r[g]||f[x].replace(/(\\[[^\\]]+])|(MMMM|MM|DD|dddd)/g,function(m,v,y){return v||y.slice(1)})})}(u,l===void 0?{}:l);return a.call(this,c)}}})})(gg);var UF=gg.exports,WF={exports:{}};(function(e,t){(function(r,n){e.exports=n(s0.exports)})(we,function(r){function n(o){return o&&typeof o==\"object\"&&\"default\"in o?o:{default:o}}var i=n(r),s={name:\"zh-cn\",weekdays:\"\\u661F\\u671F\\u65E5_\\u661F\\u671F\\u4E00_\\u661F\\u671F\\u4E8C_\\u661F\\u671F\\u4E09_\\u661F\\u671F\\u56DB_\\u661F\\u671F\\u4E94_\\u661F\\u671F\\u516D\".split(\"_\"),weekdaysShort:\"\\u5468\\u65E5_\\u5468\\u4E00_\\u5468\\u4E8C_\\u5468\\u4E09_\\u5468\\u56DB_\\u5468\\u4E94_\\u5468\\u516D\".split(\"_\"),weekdaysMin:\"\\u65E5_\\u4E00_\\u4E8C_\\u4E09_\\u56DB_\\u4E94_\\u516D\".split(\"_\"),months:\"\\u4E00\\u6708_\\u4E8C\\u6708_\\u4E09\\u6708_\\u56DB\\u6708_\\u4E94\\u6708_\\u516D\\u6708_\\u4E03\\u6708_\\u516B\\u6708_\\u4E5D\\u6708_\\u5341\\u6708_\\u5341\\u4E00\\u6708_\\u5341\\u4E8C\\u6708\".split(\"_\"),monthsShort:\"1\\u6708_2\\u6708_3\\u6708_4\\u6708_5\\u6708_6\\u6708_7\\u6708_8\\u6708_9\\u6708_10\\u6708_11\\u6708_12\\u6708\".split(\"_\"),ordinal:function(o,a){return a===\"W\"?o+\"\\u5468\":o+\"\\u65E5\"},weekStart:1,yearStart:4,formats:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"YYYY/MM/DD\",LL:\"YYYY\\u5E74M\\u6708D\\u65E5\",LLL:\"YYYY\\u5E74M\\u6708D\\u65E5Ah\\u70B9mm\\u5206\",LLLL:\"YYYY\\u5E74M\\u6708D\\u65E5ddddAh\\u70B9mm\\u5206\",l:\"YYYY/M/D\",ll:\"YYYY\\u5E74M\\u6708D\\u65E5\",lll:\"YYYY\\u5E74M\\u6708D\\u65E5 HH:mm\",llll:\"YYYY\\u5E74M\\u6708D\\u65E5dddd HH:mm\"},relativeTime:{future:\"%s\\u5185\",past:\"%s\\u524D\",s:\"\\u51E0\\u79D2\",m:\"1 \\u5206\\u949F\",mm:\"%d \\u5206\\u949F\",h:\"1 \\u5C0F\\u65F6\",hh:\"%d \\u5C0F\\u65F6\",d:\"1 \\u5929\",dd:\"%d \\u5929\",M:\"1 \\u4E2A\\u6708\",MM:\"%d \\u4E2A\\u6708\",y:\"1 \\u5E74\",yy:\"%d \\u5E74\"},meridiem:function(o,a){var u=100*o+a;return u<600?\"\\u51CC\\u6668\":u<900?\"\\u65E9\\u4E0A\":u<1100?\"\\u4E0A\\u5348\":u<1300?\"\\u4E2D\\u5348\":u<1800?\"\\u4E0B\\u5348\":\"\\u665A\\u4E0A\"}};return i.default.locale(s,null,!0),s})})(WF);jn.extend(VF);jn.extend(UF);jn.locale(\"zh-cn\");sE(kS).use(J1).use(hg).use(y0).use(jF).use(kF).use(Xl).use(Ps).use(X1).mount(\"#app\");export{ua as $,Ro as A,zn as B,Pt as C,It as D,et as E,je as F,Ma as G,t8 as H,J5 as I,k8 as J,pu as K,H5 as L,Q1 as M,gC as N,Ze as O,Ps as P,yC as Q,tp as R,na as S,_h as T,Ue as U,qt as V,wx as W,PB as X,uB as Y,cg as Z,Ot as _,Ws as a,we as a$,Dt as a0,QF as a1,kE as a2,Ep as a3,$s as a4,Kn as a5,x0 as a6,uh as a7,Jo as a8,Rl as a9,oi as aA,ol as aB,YF as aC,JE as aD,jn as aE,al as aF,qF as aG,Ai as aH,ot as aI,A8 as aJ,qB as aK,_p as aL,JF as aM,c4 as aN,GF as aO,s3 as aP,IF as aQ,Lw as aR,HF as aS,Cr as aT,wF as aU,wB as aV,$n as aW,m8 as aX,D1 as aY,NF as aZ,XF as a_,wi as aa,Wm as ab,$h as ac,Ll as ad,Um as ae,G_ as af,Kh as ag,Zh as ah,ku as ai,y_ as aj,fa as ak,qh as al,Rb as am,To as an,Mb as ao,Us as ap,kc as aq,Rm as ar,qn as as,k_ as at,Uh as au,Pb as av,Lb as aw,Fi as ax,Y_ as ay,Bi as az,ce as b,ue as c,Se as d,KF as e,me as f,oe as g,Te as h,tt as i,L as j,vt as k,Ve as l,ln as m,Jt as n,X as o,eF as p,Dr as q,Fe as r,ir as s,Qe as t,ga as u,ZF as v,yt as w,Si as x,Or as y,Re as z};\n"
  },
  {
    "path": "client/dist/assets/index.e0fa4e9b.css",
    "content": ".h-button[data-v-64941b2a]{transition:color .2s ease,background-color .2s ease;color:var(--3ebfbd83);background-color:var(--7f8d5cf5)}.h-button[data-v-64941b2a]:hover{color:var(--ef77d50e);background-color:var(--56ab6572)}.h-button[data-v-64941b2a]:active{color:var(--73a2ba69);background-color:var(--97f9074a)}.h-button-disabled[data-v-64941b2a]{cursor:not-allowed;opacity:.5}.h-button-disabled[data-v-64941b2a]:hover,.h-button-disabled[data-v-64941b2a]:active{color:var(--3ebfbd83);background-color:var(--7f8d5cf5)}.h-button-medium[data-v-64941b2a]{height:2rem}.h-button-small[data-v-64941b2a]{height:1.75rem;padding-left:1rem;padding-right:1rem}.h-button-block[data-v-64941b2a]{width:100%;display:flex}.h-button-round.h-button-medium[data-v-64941b2a]{width:2rem}.h-button-round.h-button-small[data-v-64941b2a]{width:1.75rem;padding-left:0rem;padding-right:0rem}.h-icon[data-v-48eb62e1]{font-family:Segoe Fluent Icons;-webkit-font-smoothing:auto}.h-icon-clickable[data-v-48eb62e1]{cursor:pointer}.h-notification-item[data-v-d4879b86]{background-color:var(--f56bf73e)}.h-notification-item .title[data-v-d4879b86]{font-weight:700;color:var(--a8785b34)}.h-notification-item .desc[data-v-d4879b86]{color:var(--20fd4320)}.h-loading{position:absolute;top:0;left:0;bottom:0;right:0;display:flex;align-items:center;justify-content:center;background-color:var(--057efbe0)}.h-loading .icon{animation:loading .5s linear infinite;border-width:2px;border-style:solid;border-color:var(--6848664c);border-radius:15px;width:30px;height:30px;position:relative}.h-loading .icon:after{content:\"\";border-width:2px;border-style:solid;border-color:var(--37906d81);border-radius:15px;clip-path:polygon(50% 0%,59% 50%,0% 50%,0% 0%);width:30px;height:30px;position:absolute;top:-2px;left:-2px}@keyframes loading{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.notification-fade-move{transition:var(--11eb8e19)}.top-left[data-v-08494d94]{top:8px;left:8px;margin-bottom:.5rem;flex-direction:column-reverse;align-items:flex-start;justify-content:flex-end}.top[data-v-08494d94]{top:8px;left:8px;right:8px;margin-bottom:.5rem;flex-direction:column-reverse;align-items:center;justify-content:flex-end}.top-right[data-v-08494d94]{top:8px;right:8px;margin-bottom:.5rem;flex-direction:column-reverse;align-items:flex-end;justify-content:flex-end}.bottom-left[data-v-08494d94]{bottom:8px;left:8px;margin-top:.5rem;flex-direction:column;align-items:flex-start;justify-content:flex-end}.bottom[data-v-08494d94]{bottom:8px;left:8px;right:8px;margin-top:.5rem;flex-direction:column;align-items:center;justify-content:flex-end}.bottom-right[data-v-08494d94]{bottom:8px;right:8px;margin-top:.5rem;flex-direction:column;align-items:flex-end;justify-content:flex-end}@font-face{font-family:Segoe Fluent Icons;src:url(/assets/segoe-fluent-icons.82f5dc0e.ttf)}body{-webkit-font-smoothing:antialiased}.modal-panel{width:960px;max-width:calc(100vw - 100px)!important;height:640px;max-height:calc(100vh - 100px)!important}.h-badge[data-v-4852ac84]{line-height:1;border-radius:.25rem}.h-badge-clickable[data-v-4852ac84]{cursor:pointer}.h-badge-rounded[data-v-4852ac84]{border-radius:9999px}.h-article-item[data-v-2c1259ba]{transition:all .2s;background-color:var(--715b8e3c)}.h-article-item[data-v-2c1259ba]:hover{background-color:var(--53ab7e04);cursor:pointer}.h-article-item[data-v-2c1259ba]:active{background-color:var(--61ad4808);cursor:pointer}.h-article-item .title[data-v-2c1259ba]{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.h-article-item .brief[data-v-2c1259ba]{color:var(--34006c76);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.h-article-item .date[data-v-2c1259ba],.h-nav-title[data-v-2234c52a]{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.h-nav-item[data-v-ba0775d8]{background-color:var(--ed2a9582);transition:all .2s ease}.h-nav-item .sub[data-v-ba0775d8]{color:var(--be1aa3fc)}.h-nav-item[data-v-ba0775d8]:hover{background-color:var(--4a9c127e)}.h-nav-item[data-v-ba0775d8]:active{background-color:var(--5b985e99)}.h-nav-item .text[data-v-ba0775d8]{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.h-nav-setting[data-v-7948cf38]{transition:background-color .2s}.h-nav-setting .name[data-v-7948cf38]{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.h-nav-setting .status[data-v-7948cf38]{color:var(--078d1708)}.h-nav-setting[data-v-7948cf38]:hover{background-color:var(--8bd2b6f6)}.h-nav-setting[data-v-7948cf38]:active{background-color:var(--7c220cdd)}.home-nav-view[data-v-27f31c86]{background-color:var(--592943dd)}.h-input[data-v-66dad1c6]{background-color:var(--0565f45e)}.h-input .prefix[data-v-66dad1c6],.h-input .suffix[data-v-66dad1c6]{height:100%;display:flex;align-items:center;font-size:.875rem;line-height:1.25rem}.h-input .suffix[data-v-66dad1c6]>*{cursor:pointer}.h-input input[data-v-66dad1c6]::placeholder{transform:translateY(-1px);font-size:.875rem;line-height:1.25rem;color:var(--0634726f)}.h-input-hint[data-v-66dad1c6]{margin-top:.25rem;margin-bottom:.25rem;padding-left:1.25rem;font-size:.75rem;line-height:1rem;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.home-list-view[data-v-a46e7aa2]{background-color:var(--35e278ee)}.home-viewer-view[data-v-a46e7aa2]{background-color:var(--00caabfc)}.article-entry{font-size:14px;margin:0 auto;max-width:768px;color:var(--685c3344);padding:0 20px}.article-entry h1{font-size:2.25rem;line-height:2.5rem}.article-entry h2{font-size:1.5rem;line-height:2rem}.article-entry h3{font-size:1.25rem;line-height:1.75rem}.article-entry h4{font-size:1.125rem;line-height:1.75rem}.article-entry h5{font-size:1rem;line-height:1.5rem}.article-entry h6{font-size:1rem;line-height:1.5rem;color:#999}.article-entry hr{border:1px dashed #ddd}.article-entry strong{font-weight:700}.article-entry em,.article-entry cite{font-style:italic}.article-entry sup,.article-entry sub{font-size:.75rem;line-height:1rem;line-height:0;position:relative;vertical-align:baseline}.article-entry sup{top:-.5em}.article-entry sub{bottom:-.2em}.article-entry small{font-size:.75rem;line-height:1rem}.article-entry acronym,.article-entry abbr{border-bottom:1px dotted}.article-entry ul,.article-entry ol,.article-entry dl{margin:0 20px;line-height:1.4em}.article-entry ul ul,.article-entry ol ul,.article-entry ul ol,.article-entry ol ol{margin-top:0;margin-bottom:0}.article-entry ul{list-style:disc}.article-entry ol{list-style:decimal}.article-entry dt{font-weight:700}.article-entry p,.article-entry table{line-height:1.4em;margin:1.4em 0}.article-entry h1,.article-entry h2,.article-entry h3,.article-entry h4,.article-entry h5,.article-entry h6{font-weight:700}.article-entry h1,.article-entry h2,.article-entry h3,.article-entry h4,.article-entry h5,.article-entry h6{line-height:1.1em;margin:1.1em 0}.article-entry a{color:var(--5c25cac8);text-decoration:none}.article-entry a:hover{text-decoration:underline}.article-entry ul,.article-entry ol,.article-entry dl{margin-top:1.4em;margin-bottom:1.4em}.article-entry img,.article-entry video{max-width:100%;height:auto;display:block;margin:auto}.article-entry iframe{border:none}.article-entry table{width:100%;border-collapse:collapse;border-spacing:0}.article-entry th{font-weight:700;border-bottom:3px solid #ddd;padding-bottom:.5em}.article-entry td{border-bottom:1px solid #ddd;padding:10px 0}.article-entry blockquote{margin:1.4em 0;background:var(--43e5db03);border-left-width:4px;border-left-style:solid;padding:.75rem}.article-entry blockquote p:first-of-type{margin-top:0rem}.article-entry blockquote p:last-of-type{margin-bottom:0rem}.article-entry blockquote footer{margin:1.4em 0}.article-entry blockquote footer cite:before{content:\"\\2014\";padding:0 .5em}.article-entry .pullquote{text-align:left;width:45%;margin:0}.article-entry .pullquote.left{margin-left:.5em;margin-right:1em}.article-entry .pullquote.right{margin-right:.5em;margin-left:1em}.article-entry .caption{color:#999;display:block;font-size:.9em;margin-top:.5em;position:relative;text-align:center}.article-entry .video-container{position:relative;padding-top:56.25%;height:0;overflow:hidden}.article-entry .video-container iframe,.article-entry .video-container object,.article-entry .video-container embed{position:absolute;top:0;left:0;width:100%;height:100%;margin-top:0}.article-entry pre,.article-entry .highlight{background:#2d2d2d;margin:0;padding:15px 20px;border-style:solid;border-color:#ddd;overflow:auto;color:#ccc;line-height:19.599999999999998px}.article-entry .highlight .gutter pre,.article-entry .gist .gist-file .gist-data .line-numbers{color:#666;font-size:.85em}.article-entry pre,.article-entry code{font-family:Source Code Pro,Consolas,Monaco,Menlo,Consolas,monospace}.article-entry code{background:var(--a871f03c);margin:0rem .25rem;border-radius:.375rem;padding:0rem .25rem}.article-entry pre code{background:none;text-shadow:none;margin:0;padding:0}.article-entry .highlight{border-radius:.375rem}.article-entry .highlight pre{border:none;margin:0;padding:0}.article-entry .highlight table{margin:0;width:auto}.article-entry .highlight td{border:none;padding:0}.article-entry .highlight figcaption{font-size:.85em;color:#999;line-height:1em;margin-bottom:1em}.article-entry .highlight figcaption a{float:right}.article-entry .highlight .gutter pre{text-align:right;padding-right:20px}.article-entry .highlight .line{height:19.599999999999998px}.article-entry .highlight .line.marked{background:#515151}.article-entry .gist{margin:0 -20px;border-style:solid;border-color:#ddd;border-width:1px 0;background:#2d2d2d;padding:15px 20px 15px 0}.article-entry .gist .gist-file{border:none;font-family:Source Code Pro,Consolas,Monaco,Menlo,Consolas,monospace;margin:0}.article-entry .gist .gist-file .gist-data{background:none;border:none}.article-entry .gist .gist-file .gist-data .line-numbers{background:none;border:none;padding:0 20px 0 0}.article-entry .gist .gist-file .gist-data .line-data{padding:0!important}.article-entry .gist .gist-file .highlight{margin:0;padding:0;border:none}.article-entry .gist .gist-file .gist-meta{background:#2d2d2d;color:#999;font:.85em;text-shadow:0 0;padding:0;margin-top:1em;margin-left:20px}.article-entry .gist .gist-file .gist-meta a{color:var(--5c25cac8);font-weight:400}.article-entry .gist .gist-file .gist-meta a:hover{text-decoration:underline}pre .comment,pre .title{color:#999}pre .variable,pre .attribute,pre .tag,pre .regexp,pre .ruby .constant,pre .xml .tag .title,pre .xml .pi,pre .xml .doctype,pre .html .doctype,pre .css .id,pre .css .class,pre .css .pseudo{color:#f2777a}pre .number,pre .preprocessor,pre .built_in,pre .literal,pre .params,pre .constant{color:#f99157}pre .class,pre .ruby .class .title,pre .css .rules .attribute,pre .string,pre .value,pre .inheritance,pre .header,pre .ruby .symbol,pre .xml .cdata{color:#9c9}pre .css .hexcolor{color:#6cc}pre .function,pre .python .decorator,pre .python .title,pre .ruby .function .title,pre .ruby .title .keyword,pre .perl .sub,pre .javascript .title,pre .coffeescript .title{color:#69c}pre .keyword,pre .javascript .function{color:#c9c}.highlight tr{border-top:none}.h-errored-view>span[data-v-5dfdf44c]{color:var(--79638eb2);opacity:.2}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family: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\"}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){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-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-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[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}textarea{resize:vertical}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}.absolute{position:absolute;}.fixed{position:fixed;}.relative{position:relative;}.bottom-0{bottom:0rem;}.left-0{left:0rem;}.top-0{top:0rem;}.grid{display:grid;}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr));}.grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr));}.grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr));}.grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr));}.m-0\\.5{margin:0.125rem;}.-mx-0\\.5{margin-left:-0.125rem;margin-right:-0.125rem;}.mx-0{margin-left:0rem;margin-right:0rem;}.mx-1{margin-left:0.25rem;margin-right:0.25rem;}.mx-2{margin-left:0.5rem;margin-right:0.5rem;}.mx-auto{margin-left:auto;margin-right:auto;}.my-0{margin-top:0rem;margin-bottom:0rem;}.my-0\\.5{margin-top:0.125rem;margin-bottom:0.125rem;}.my-1{margin-top:0.25rem;margin-bottom:0.25rem;}.my-2{margin-top:0.5rem;margin-bottom:0.5rem;}.my-4{margin-top:1rem;margin-bottom:1rem;}.my-5{margin-top:1.25rem;margin-bottom:1.25rem;}.mb-0{margin-bottom:0rem;}.mb-0\\.5{margin-bottom:0.125rem;}.mb-1{margin-bottom:0.25rem;}.mb-2{margin-bottom:0.5rem;}.mb-3{margin-bottom:0.75rem;}.mb-4{margin-bottom:1rem;}.mb-8{margin-bottom:2rem;}.ml-0\\.5{margin-left:0.125rem;}.ml-1{margin-left:0.25rem;}.ml-2,[ml-2=\"\"]{margin-left:0.5rem;}.mr-1{margin-right:0.25rem;}.mr-2{margin-right:0.5rem;}.mr-3{margin-right:0.75rem;}.mr-4{margin-right:1rem;}.mt-0{margin-top:0rem;}.mt-0\\.5{margin-top:0.125rem;}.mt-1{margin-top:0.25rem;}.mt-2{margin-top:0.5rem;}.mt-4{margin-top:1rem;}.mt-6{margin-top:1.5rem;}.mt-8{margin-top:2rem;}.block,[block=\"\"]{display:block;}.inline-block{display:inline-block;}.flow-root{display:flow-root;}.hidden{display:none;}.h-0{height:0rem;}.h-1,.h1{height:0.25rem;}.h-12{height:3rem;}.h-2,.h2{height:0.5rem;}.h-3\\.5{height:0.875rem;}.h-4,.h4{height:1rem;}.h-5,.h5{height:1.25rem;}.h-7{height:1.75rem;}.h-8{height:2rem;}.h-full{height:100%;}.h20,[h20=\"\"]{height:5rem;}.h3{height:0.75rem;}.h6{height:1.5rem;}.max-h-96{max-height:24rem;}.max-w-2xl{max-width:42rem;}.max-w-sm{max-width:24rem;}.min-h-0{min-height:0rem;}.min-w-0{min-width:0rem;}.w-0{width:0rem;}.w-1{width:0.25rem;}.w-10{width:2.5rem;}.w-2{width:0.5rem;}.w-3\\.5{width:0.875rem;}.w-4{width:1rem;}.w-48{width:12rem;}.w-5{width:1.25rem;}.w-60{width:15rem;}.w-7{width:1.75rem;}.w-72{width:18rem;}.w-8{width:2rem;}.w-96{width:24rem;}.w-full{width:100%;}.flex,[flex=\"\"]{display:flex;}.inline-flex{display:inline-flex;}.flex-1{flex:1 1 0%;}.flex-shrink,.shrink{flex-shrink:1;}.flex-shrink-0{flex-shrink:0;}.flex-col,[flex-col=\"\"]{flex-direction:column;}.flex-col-reverse{flex-direction:column-reverse;}.table{display:table;}.-translate-x-1\\.5,.-rotate-45,.transform{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}.-translate-x-1\\.5{--un-translate-x:-0.375rem;transform:var(--un-transform);}.-rotate-45{--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-rotate:-45deg;transform:var(--un-transform);}.transform{transform:var(--un-transform);}.cursor-pointer{cursor:pointer;}.cursor-text{cursor:text;}.select-none{user-select:none;}.resize{resize:both;}.items-start{align-items:flex-start;}.items-end{align-items:flex-end;}.items-center,[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-4{grid-gap:1rem;gap:1rem;}.overflow-auto{overflow:auto;}.overflow-hidden{overflow:hidden;}.overflow-y-auto{overflow-y:auto;}.whitespace-nowrap{white-space:nowrap;}.border-l-4{border-left-width:4px;border-left-style:solid;}.rounded,[rounded=\"\"]{border-radius:0.25rem;}.rounded-2xl{border-radius:1rem;}.rounded-full{border-radius:9999px;}.rounded-lg{border-radius:0.5rem;}.rounded-md{border-radius:0.375rem;}.rounded-none{border-radius:0rem;}.border-none{border-style:none;}.bg-black{--un-bg-opacity:1;background-color:rgba(0,0,0,var(--un-bg-opacity));}.bg-transparent{background-color:transparent;}[to~=\"\\#dialog-container\"]{--un-gradient-to:#dialog-container;}[to~=\"\\#modal-container\"]{--un-gradient-to:#modal-container;}[to~=\"\\#notifications\"]{--un-gradient-to:#notifications;}.p-1{padding:0.25rem;}.p-2{padding:0.5rem;}.p-4{padding:1rem;}.p-8{padding:2rem;}.px,.px-4{padding-left:1rem;padding-right:1rem;}.px-0{padding-left:0rem;padding-right:0rem;}.px-1{padding-left:0.25rem;padding-right:0.25rem;}.px-2{padding-left:0.5rem;padding-right:0.5rem;}.px-3{padding-left:0.75rem;padding-right:0.75rem;}.px-5{padding-left:1.25rem;padding-right:1.25rem;}.px-6{padding-left:1.5rem;padding-right:1.5rem;}.py-0{padding-top:0rem;padding-bottom:0rem;}.py-0\\.5{padding-top:0.125rem;padding-bottom:0.125rem;}.py-2{padding-top:0.5rem;padding-bottom:0.5rem;}.py-3{padding-top:0.75rem;padding-bottom:0.75rem;}.py-4{padding-top:1rem;padding-bottom:1rem;}.pb-0\\.5{padding-bottom:0.125rem;}.pb-2{padding-bottom:0.5rem;}.pb-4{padding-bottom:1rem;}.pl-2{padding-left:0.5rem;}.pl-4{padding-left:1rem;}.pl-5{padding-left:1.25rem;}.pl-8{padding-left:2rem;}.pr-2{padding-right:0.5rem;}.pr-3{padding-right:0.75rem;}.pt-2{padding-top:0.5rem;}.text-center{text-align:center;}.text-right{text-align:right;}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;}.text-2xl{font-size:1.5rem;line-height:2rem;}.text-4xl{font-size:2.25rem;line-height:2.5rem;}.text-5xl,[text-5xl=\"\"]{font-size:3rem;line-height:1;}.text-base{font-size:1rem;line-height:1.5rem;}.text-lg{font-size:1.125rem;line-height:1.75rem;}.text-sm,[text-sm=\"\"]{font-size:0.875rem;line-height:1.25rem;}.text-xl{font-size:1.25rem;line-height:1.75rem;}.text-xs{font-size:0.75rem;line-height:1rem;}.font-bold{font-weight:700;}.leading-12{line-height:3rem;}.leading-8{line-height:2rem;}.uppercase{text-transform:uppercase;}.italic{font-style:italic;}.underline{text-decoration-line:underline;}.op50,.opacity-50,[op50=\"\"]{opacity:0.5;}.opacity-0{opacity:0;}.shadow,.shadow-2xl,.shadow-lg{--un-shadow-inset:var(--un-empty,/*!*/ /*!*/);--un-shadow:0 0 #0000;}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgba(0,0,0,0.1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgba(0,0,0,0.1));box-shadow:var(--un-ring-offset-shadow, 0 0 #0000), var(--un-ring-shadow, 0 0 #0000), var(--un-shadow);}.shadow-2xl{--un-shadow:var(--un-shadow-inset) 0 25px 50px -12px var(--un-shadow-color, rgba(0,0,0,0.25));box-shadow:var(--un-ring-offset-shadow, 0 0 #0000), var(--un-ring-shadow, 0 0 #0000), var(--un-shadow);}.shadow-lg{--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color, rgba(0,0,0,0.1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color, rgba(0,0,0,0.1));box-shadow:var(--un-ring-offset-shadow, 0 0 #0000), var(--un-ring-shadow, 0 0 #0000), var(--un-shadow);}.outline-none{outline:2px solid transparent;outline-offset:2px;}.blur,.filter{--un-blur:var(--un-empty,/*!*/ /*!*/);--un-brightness:var(--un-empty,/*!*/ /*!*/);--un-contrast:var(--un-empty,/*!*/ /*!*/);--un-drop-shadow:var(--un-empty,/*!*/ /*!*/);--un-grayscale:var(--un-empty,/*!*/ /*!*/);--un-hue-rotate:var(--un-empty,/*!*/ /*!*/);--un-invert:var(--un-empty,/*!*/ /*!*/);--un-saturate:var(--un-empty,/*!*/ /*!*/);--un-sepia:var(--un-empty,/*!*/ /*!*/);--un-filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia);}.blur{--un-blur:blur(8px);filter:var(--un-filter);}.filter{filter:var(--un-filter);}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}[duration~=\"\\32 00\"]{transition-duration:200ms;}.ease,.ease-in-out{transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);}[content~=\"content\"]{content:\"content\";}[content~=\"initial-scale\\=1\\.0\"]{content:\"initial-scale=1.0\";}[content~=\"width\\=device-width\\,\"]{content:\"width=device-width,\";}\n"
  },
  {
    "path": "client/dist/assets/ini.b415f46c.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={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:\"'\"}]},n={defaultToken:\"\",tokenPostfix:\".ini\",escapes:/\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^\\[[^\\]]*\\]/,\"metatag\"],[/(^\\w+)(\\s*)(\\=)/,[\"key\",\"\",\"delimiter\"]],{include:\"@whitespace\"},[/\\d+/,\"number\"],[/\"([^\"\\\\]|\\\\.)*$/,\"string.invalid\"],[/'([^'\\\\]|\\\\.)*$/,\"string.invalid\"],[/\"/,\"string\",'@string.\"'],[/'/,\"string\",\"@string.'\"]],whitespace:[[/[ \\t\\r\\n]+/,\"\"],[/^\\s*[#;].*$/,\"comment\"]],string:[[/[^\\\\\"']+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/[\"']/,{cases:{\"$#==$S2\":{token:\"string\",next:\"@pop\"},\"@default\":\"string\"}}]]}};export{e as conf,n as language};\n"
  },
  {
    "path": "client/dist/assets/java.f01bc6f9.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={wordPattern:/(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)/g,comments:{lineComment:\"//\",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:\">\"}],folding:{markers:{start:new RegExp(\"^\\\\s*//\\\\s*(?:(?:#?region\\\\b)|(?:<editor-fold\\\\b))\"),end:new RegExp(\"^\\\\s*//\\\\s*(?:(?:#?endregion\\\\b)|(?:</editor-fold>))\")}}},t={defaultToken:\"\",tokenPostfix:\".java\",keywords:[\"abstract\",\"continue\",\"for\",\"new\",\"switch\",\"assert\",\"default\",\"goto\",\"package\",\"synchronized\",\"boolean\",\"do\",\"if\",\"private\",\"this\",\"break\",\"double\",\"implements\",\"protected\",\"throw\",\"byte\",\"else\",\"import\",\"public\",\"throws\",\"case\",\"enum\",\"instanceof\",\"return\",\"transient\",\"catch\",\"extends\",\"int\",\"short\",\"try\",\"char\",\"final\",\"interface\",\"static\",\"void\",\"class\",\"finally\",\"long\",\"strictfp\",\"volatile\",\"const\",\"float\",\"native\",\"super\",\"while\",\"true\",\"false\",\"yield\",\"record\",\"sealed\",\"non-sealed\",\"permits\"],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]+)*/,tokenizer:{root:[[\"non-sealed\",\"keyword.non-sealed\"],[/[a-zA-Z_$][\\w$]*/,{cases:{\"@keywords\":{token:\"keyword.$0\"},\"@default\":\"identifier\"}}],{include:\"@whitespace\"},[/[{}()\\[\\]]/,\"@brackets\"],[/[<>](?!@symbols)/,\"@brackets\"],[/@symbols/,{cases:{\"@operators\":\"delimiter\",\"@default\":\"\"}}],[/@\\s*[a-zA-Z_\\$][\\w\\$]*/,\"annotation\"],[/(@digits)[eE]([\\-+]?(@digits))?[fFdD]?/,\"number.float\"],[/(@digits)\\.(@digits)([eE][\\-+]?(@digits))?[fFdD]?/,\"number.float\"],[/0[xX](@hexdigits)[Ll]?/,\"number.hex\"],[/0(@octaldigits)[Ll]?/,\"number.octal\"],[/0[bB](@binarydigits)[Ll]?/,\"number.binary\"],[/(@digits)[fFdD]/,\"number.float\"],[/(@digits)[lL]?/,\"number\"],[/[;,.]/,\"delimiter\"],[/\"([^\"\\\\]|\\\\.)*$/,\"string.invalid\"],[/\"\"\"/,\"string\",\"@multistring\"],[/\"/,\"string\",\"@string\"],[/'[^\\\\']'/,\"string\"],[/(')(@escapes)(')/,[\"string\",\"string.escape\",\"string\"]],[/'/,\"string.invalid\"]],whitespace:[[/[ \\t\\r\\n]+/,\"\"],[/\\/\\*\\*(?!\\/)/,\"comment.doc\",\"@javadoc\"],[/\\/\\*/,\"comment\",\"@comment\"],[/\\/\\/.*$/,\"comment\"]],comment:[[/[^\\/*]+/,\"comment\"],[/\\*\\//,\"comment\",\"@pop\"],[/[\\/*]/,\"comment\"]],javadoc:[[/[^\\/*]+/,\"comment.doc\"],[/\\/\\*/,\"comment.doc.invalid\"],[/\\*\\//,\"comment.doc\",\"@pop\"],[/[\\/*]/,\"comment.doc\"]],string:[[/[^\\\\\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"/,\"string\",\"@pop\"]],multistring:[[/[^\\\\\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"\"\"/,\"string\",\"@pop\"],[/./,\"string\"]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/javascript.b56ed86b.js",
    "content": "import{conf as t,language as e}from\"./typescript.0e1e0a69.js\";import\"./HMonacoEditor.4fbcd301.js\";import\"./index.becaf6b8.js\";/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var r=t,a={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\",\"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{r as conf,a as language};\n"
  },
  {
    "path": "client/dist/assets/json.worker.cc26763b.js",
    "content": "var Qo=Object.defineProperty;var Ko=(Be,Le,We)=>Le in Be?Qo(Be,Le,{enumerable:!0,configurable:!0,writable:!0,value:We}):Be[Le]=We;var At=(Be,Le,We)=>(Ko(Be,typeof Le!=\"symbol\"?Le+\"\":Le,We),We);(function(){\"use strict\";class Be{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(()=>{throw t.stack?new Error(t.message+`\n\n`+t.stack):t},0)}}emit(t){this.listeners.forEach(r=>{r(t)})}onUnexpectedError(t){this.unexpectedErrorHandler(t),this.emit(t)}onUnexpectedExternalError(t){this.unexpectedErrorHandler(t)}}const Le=new Be;function We(e){ba(e)||Le.onUnexpectedError(e)}function Yr(e){if(e instanceof Error){let{name:t,message:r}=e;const n=e.stacktrace||e.stack;return{$isError:!0,name:t,message:r,stack:n}}return e}const Xt=\"Canceled\";function ba(e){return e instanceof wa?!0:e instanceof Error&&e.name===Xt&&e.message===Xt}class wa extends Error{constructor(){super(Xt),this.name=this.message}}function ya(e){const t=this;let r=!1,n;return function(){return r||(r=!0,n=e.apply(t,arguments)),n}}var Yt;(function(e){function t(w){return w&&typeof w==\"object\"&&typeof w[Symbol.iterator]==\"function\"}e.is=t;const r=Object.freeze([]);function n(){return r}e.empty=n;function*i(w){yield w}e.single=i;function s(w){return w||r}e.from=s;function o(w){return!w||w[Symbol.iterator]().next().done===!0}e.isEmpty=o;function l(w){return w[Symbol.iterator]().next().value}e.first=l;function u(w,v){for(const S of w)if(v(S))return!0;return!1}e.some=u;function c(w,v){for(const S of w)if(v(S))return S}e.find=c;function*h(w,v){for(const S of w)v(S)&&(yield S)}e.filter=h;function*f(w,v){let S=0;for(const A of w)yield v(A,S++)}e.map=f;function*d(...w){for(const v of w)for(const S of v)yield S}e.concat=d;function*m(w){for(const v of w)for(const S of v)yield S}e.concatNested=m;function b(w,v,S){let A=S;for(const y of w)A=v(A,y);return A}e.reduce=b;function*p(w,v,S=w.length){for(v<0&&(v+=w.length),S<0?S+=w.length:S>w.length&&(S=w.length);v<S;v++)yield w[v]}e.slice=p;function g(w,v=Number.POSITIVE_INFINITY){const S=[];if(v===0)return[S,w];const A=w[Symbol.iterator]();for(let y=0;y<v;y++){const C=A.next();if(C.done)return[S,e.empty()];S.push(C.value)}return[S,{[Symbol.iterator](){return A}}]}e.consume=g;function N(w,v,S=(A,y)=>A===y){const A=w[Symbol.iterator](),y=v[Symbol.iterator]();for(;;){const C=A.next(),_=y.next();if(C.done!==_.done)return!1;if(C.done)return!0;if(!S(C.value,_.value))return!1}}e.equals=N})(Yt||(Yt={}));function el(e){return e}function tl(e,t){}class Ca extends Error{constructor(t){super(`Encountered errors while disposing of store. Errors: [${t.join(\", \")}]`),this.errors=t}}function Qr(e){if(Yt.is(e)){let t=[];for(const r of e)if(r)try{r.dispose()}catch(n){t.push(n)}if(t.length===1)throw t[0];if(t.length>1)throw new Ca(t);return Array.isArray(e)?[]:e}else if(e)return e.dispose(),e}function _a(...e){return Nt(()=>Qr(e))}function Nt(e){return{dispose:ya(()=>{e()})}}class Ze{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){try{Qr(this._toDispose.values())}finally{this._toDispose.clear()}}add(t){if(!t)return t;if(t===this)throw new Error(\"Cannot register a disposable on itself!\");return this._isDisposed?Ze.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(t),t}}Ze.DISABLE_DISPOSED_WARNING=!1;class Qt{constructor(){this._store=new Ze,this._store}dispose(){this._store.dispose()}_register(t){if(t===this)throw new Error(\"Cannot register a disposable on itself!\");return this._store.add(t)}}Qt.None=Object.freeze({dispose(){}});class Sa{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1}set(t){let r=t;return this.unset=()=>r=void 0,this.isset=()=>r!==void 0,this.dispose=()=>{r&&(r(),r=void 0)},this}}class z{constructor(t){this.element=t,this.next=z.Undefined,this.prev=z.Undefined}}z.Undefined=new z(void 0);class Kr{constructor(){this._first=z.Undefined,this._last=z.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===z.Undefined}clear(){let t=this._first;for(;t!==z.Undefined;){const r=t.next;t.prev=z.Undefined,t.next=z.Undefined,t=r}this._first=z.Undefined,this._last=z.Undefined,this._size=0}unshift(t){return this._insert(t,!1)}push(t){return this._insert(t,!0)}_insert(t,r){const n=new z(t);if(this._first===z.Undefined)this._first=n,this._last=n;else if(r){const s=this._last;this._last=n,n.prev=s,s.next=n}else{const s=this._first;this._first=n,n.next=s,s.prev=n}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(n))}}shift(){if(this._first!==z.Undefined){const t=this._first.element;return this._remove(this._first),t}}pop(){if(this._last!==z.Undefined){const t=this._last.element;return this._remove(this._last),t}}_remove(t){if(t.prev!==z.Undefined&&t.next!==z.Undefined){const r=t.prev;r.next=t.next,t.next.prev=r}else t.prev===z.Undefined&&t.next===z.Undefined?(this._first=z.Undefined,this._last=z.Undefined):t.next===z.Undefined?(this._last=this._last.prev,this._last.next=z.Undefined):t.prev===z.Undefined&&(this._first=this._first.next,this._first.prev=z.Undefined);this._size-=1}*[Symbol.iterator](){let t=this._first;for(;t!==z.Undefined;)yield t.element,t=t.next}}var Kt;const Lt=\"en\";let er=!1,tr=!1,rr=!1,en=!1,kt,nr=Lt,Aa,Te;const ee=typeof self==\"object\"?self:typeof global==\"object\"?global:{};let te;typeof ee.vscode!=\"undefined\"&&typeof ee.vscode.process!=\"undefined\"?te=ee.vscode.process:typeof process!=\"undefined\"&&(te=process);const Na=typeof((Kt=te==null?void 0:te.versions)===null||Kt===void 0?void 0:Kt.electron)==\"string\"&&(te==null?void 0:te.type)===\"renderer\";if(typeof navigator==\"object\"&&!Na)Te=navigator.userAgent,er=Te.indexOf(\"Windows\")>=0,tr=Te.indexOf(\"Macintosh\")>=0,(Te.indexOf(\"Macintosh\")>=0||Te.indexOf(\"iPad\")>=0||Te.indexOf(\"iPhone\")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,rr=Te.indexOf(\"Linux\")>=0,en=!0,kt=navigator.language,nr=kt;else if(typeof te==\"object\"){er=te.platform===\"win32\",tr=te.platform===\"darwin\",rr=te.platform===\"linux\",rr&&!!te.env.SNAP&&te.env.SNAP_REVISION,te.env.CI||te.env.BUILD_ARTIFACTSTAGINGDIRECTORY,kt=Lt,nr=Lt;const e=te.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e),r=t.availableLanguages[\"*\"];kt=t.locale,nr=r||Lt,Aa=t._translationsConfigFile}catch{}}else console.error(\"Unable to resolve platform.\");const lt=er,La=tr;en&&ee.importScripts;const ye=Te;(()=>{if(typeof ee.postMessage==\"function\"&&!ee.importScripts){let e=[];ee.addEventListener(\"message\",r=>{if(r.data&&r.data.vscodeScheduleAsyncWork)for(let n=0,i=e.length;n<i;n++){const s=e[n];if(s.id===r.data.vscodeScheduleAsyncWork){e.splice(n,1),s.callback();return}}});let t=0;return r=>{const n=++t;e.push({id:n,callback:r}),ee.postMessage({vscodeScheduleAsyncWork:n},\"*\")}}return e=>setTimeout(e)})();const ka=!!(ye&&ye.indexOf(\"Chrome\")>=0);ye&&ye.indexOf(\"Firefox\")>=0,!ka&&ye&&ye.indexOf(\"Safari\")>=0,ye&&ye.indexOf(\"Edg/\")>=0,ye&&ye.indexOf(\"Android\")>=0;const xa=ee.performance&&typeof ee.performance.now==\"function\";class xt{constructor(t){this._highResolution=xa&&t,this._startTime=this._now(),this._stopTime=-1}static create(t=!0){return new xt(t)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?ee.performance.now():Date.now()}}var ir;(function(e){e.None=()=>Qt.None;function t(S){return(A,y=null,C)=>{let _=!1,L;return L=S(M=>{if(!_)return L?L.dispose():_=!0,A.call(y,M)},null,C),_&&L.dispose(),L}}e.once=t;function r(S,A,y){return u((C,_=null,L)=>S(M=>C.call(_,A(M)),null,L),y)}e.map=r;function n(S,A,y){return u((C,_=null,L)=>S(M=>{A(M),C.call(_,M)},null,L),y)}e.forEach=n;function i(S,A,y){return u((C,_=null,L)=>S(M=>A(M)&&C.call(_,M),null,L),y)}e.filter=i;function s(S){return S}e.signal=s;function o(...S){return(A,y=null,C)=>_a(...S.map(_=>_(L=>A.call(y,L),null,C)))}e.any=o;function l(S,A,y,C){let _=y;return r(S,L=>(_=A(_,L),_),C)}e.reduce=l;function u(S,A){let y;const C={onFirstListenerAdd(){y=S(_.fire,_)},onLastListenerRemove(){y.dispose()}},_=new ke(C);return A&&A.add(_),_.event}function c(S,A,y=100,C=!1,_,L){let M,E,P,D=0;const B={leakWarningThreshold:_,onFirstListenerAdd(){M=S(H=>{D++,E=A(E,H),C&&!P&&(Y.fire(E),E=void 0),clearTimeout(P),P=setTimeout(()=>{const T=E;E=void 0,P=void 0,(!C||D>1)&&Y.fire(T),D=0},y)})},onLastListenerRemove(){M.dispose()}},Y=new ke(B);return L&&L.add(Y),Y.event}e.debounce=c;function h(S,A=(C,_)=>C===_,y){let C=!0,_;return i(S,L=>{const M=C||!A(L,_);return C=!1,_=L,M},y)}e.latch=h;function f(S,A,y){return[e.filter(S,A,y),e.filter(S,C=>!A(C),y)]}e.split=f;function d(S,A=!1,y=[]){let C=y.slice(),_=S(E=>{C?C.push(E):M.fire(E)});const L=()=>{C&&C.forEach(E=>M.fire(E)),C=null},M=new ke({onFirstListenerAdd(){_||(_=S(E=>M.fire(E)))},onFirstListenerDidAdd(){C&&(A?setTimeout(L):L())},onLastListenerRemove(){_&&_.dispose(),_=null}});return M.event}e.buffer=d;class m{constructor(A){this.event=A}map(A){return new m(r(this.event,A))}forEach(A){return new m(n(this.event,A))}filter(A){return new m(i(this.event,A))}reduce(A,y){return new m(l(this.event,A,y))}latch(){return new m(h(this.event))}debounce(A,y=100,C=!1,_){return new m(c(this.event,A,y,C,_))}on(A,y,C){return this.event(A,y,C)}once(A,y,C){return t(this.event)(A,y,C)}}function b(S){return new m(S)}e.chain=b;function p(S,A,y=C=>C){const C=(...E)=>M.fire(y(...E)),_=()=>S.on(A,C),L=()=>S.removeListener(A,C),M=new ke({onFirstListenerAdd:_,onLastListenerRemove:L});return M.event}e.fromNodeEventEmitter=p;function g(S,A,y=C=>C){const C=(...E)=>M.fire(y(...E)),_=()=>S.addEventListener(A,C),L=()=>S.removeEventListener(A,C),M=new ke({onFirstListenerAdd:_,onLastListenerRemove:L});return M.event}e.fromDOMEventEmitter=g;function N(S){return new Promise(A=>t(S)(A))}e.toPromise=N;function w(S,A){return A(void 0),S(y=>A(y))}e.runAndSubscribe=w;function v(S,A){let y=null;function C(L){y==null||y.dispose(),y=new Ze,A(L,y)}C(void 0);const _=S(L=>C(L));return Nt(()=>{_.dispose(),y==null||y.dispose()})}e.runAndSubscribeWithStore=v})(ir||(ir={}));class Mt{constructor(t){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${t}_${Mt._idPool++}`}start(t){this._stopWatch=new xt(!0),this._listenerCount=t}stop(){if(this._stopWatch){const t=this._stopWatch.elapsed();this._elapsedOverall+=t,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${t.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}Mt._idPool=0;class ar{constructor(t){this.value=t}static create(){var t;return new ar((t=new Error().stack)!==null&&t!==void 0?t:\"\")}print(){console.warn(this.value.split(`\n`).slice(2).join(`\n`))}}class Ma{constructor(t,r,n){this.callback=t,this.callbackThis=r,this.stack=n,this.subscription=new Sa}invoke(t){this.callback.call(this.callbackThis,t)}}class ke{constructor(t){var r;this._disposed=!1,this._options=t,this._leakageMon=void 0,this._perfMon=!((r=this._options)===null||r===void 0)&&r._profName?new Mt(this._options._profName):void 0}dispose(){var t,r,n,i;this._disposed||(this._disposed=!0,this._listeners&&this._listeners.clear(),(t=this._deliveryQueue)===null||t===void 0||t.clear(),(n=(r=this._options)===null||r===void 0?void 0:r.onLastListenerRemove)===null||n===void 0||n.call(r),(i=this._leakageMon)===null||i===void 0||i.dispose())}get event(){return this._event||(this._event=(t,r,n)=>{var i,s,o;this._listeners||(this._listeners=new Kr);const l=this._listeners.isEmpty();l&&((i=this._options)===null||i===void 0?void 0:i.onFirstListenerAdd)&&this._options.onFirstListenerAdd(this);let u,c;this._leakageMon&&this._listeners.size>=30&&(c=ar.create(),u=this._leakageMon.check(c,this._listeners.size+1));const h=new Ma(t,r,c),f=this._listeners.push(h);l&&((s=this._options)===null||s===void 0?void 0:s.onFirstListenerDidAdd)&&this._options.onFirstListenerDidAdd(this),!((o=this._options)===null||o===void 0)&&o.onListenerDidAdd&&this._options.onListenerDidAdd(this,t,r);const d=h.subscription.set(()=>{u&&u(),this._disposed||(f(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return n instanceof Ze?n.add(d):Array.isArray(n)&&n.push(d),d}),this._event}fire(t){var r,n;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new Kr);for(let i of this._listeners)this._deliveryQueue.push([i,t]);for((r=this._perfMon)===null||r===void 0||r.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[i,s]=this._deliveryQueue.shift();try{i.invoke(s)}catch(o){We(o)}}(n=this._perfMon)===null||n===void 0||n.stop()}}}function Pa(e){let t=[],r=Object.getPrototypeOf(e);for(;Object.prototype!==r;)t=t.concat(Object.getOwnPropertyNames(r)),r=Object.getPrototypeOf(r);return t}function sr(e){const t=[];for(const r of Pa(e))typeof e[r]==\"function\"&&t.push(r);return t}function Ta(e,t){const r=i=>function(){const s=Array.prototype.slice.call(arguments,0);return t(i,s)};let n={};for(const i of e)n[i]=r(i);return n}function Ea(e,t=\"Unreachable\"){throw new Error(t)}class Fa{constructor(t){this.computeFn=t,this.lastCache=void 0,this.lastArgKey=void 0}get(t){const r=JSON.stringify(t);return this.lastArgKey!==r&&(this.lastArgKey=r,this.lastCache=this.computeFn(t)),this.lastCache}}class tn{constructor(t){this.executor=t,this._didRun=!1}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(t){this._error=t}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var rn;function Va(e){return e.replace(/[\\\\\\{\\}\\*\\+\\?\\|\\^\\$\\.\\[\\]\\(\\)]/g,\"\\\\$&\")}function Ia(e){return e.split(/\\r\\n|\\r|\\n/)}function Da(e){for(let t=0,r=e.length;t<r;t++){const n=e.charCodeAt(t);if(n!==32&&n!==9)return t}return-1}function Ra(e,t=e.length-1){for(let r=t;r>=0;r--){const n=e.charCodeAt(r);if(n!==32&&n!==9)return r}return-1}function nn(e){return e>=65&&e<=90}function or(e){return 55296<=e&&e<=56319}function Oa(e){return 56320<=e&&e<=57343}function Ua(e,t){return(e-55296<<10)+(t-56320)+65536}function ja(e,t,r){const n=e.charCodeAt(r);if(or(n)&&r+1<t){const i=e.charCodeAt(r+1);if(Oa(i))return Ua(n,i)}return n}const Ba=/^[\\t\\n\\r\\x20-\\x7E]*$/;function Wa(e){return Ba.test(e)}class ge{constructor(t){this.confusableDictionary=t}static getInstance(t){return ge.cache.get(Array.from(t))}static getLocales(){return ge._locales.getValue()}isAmbiguous(t){return this.confusableDictionary.has(t)}getPrimaryConfusable(t){return this.confusableDictionary.get(t)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}rn=ge,ge.ambiguousCharacterData=new tn(()=>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],\"_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]}')),ge.cache=new Fa(e=>{function t(c){const h=new Map;for(let f=0;f<c.length;f+=2)h.set(c[f],c[f+1]);return h}function r(c,h){const f=new Map(c);for(const[d,m]of h)f.set(d,m);return f}function n(c,h){if(!c)return h;const f=new Map;for(const[d,m]of c)h.has(d)&&f.set(d,m);return f}const i=rn.ambiguousCharacterData.getValue();let s=e.filter(c=>!c.startsWith(\"_\")&&c in i);s.length===0&&(s=[\"_default\"]);let o;for(const c of s){const h=t(i[c]);o=n(o,h)}const l=t(i._common),u=r(l,o);return new ge(u)}),ge._locales=new tn(()=>Object.keys(ge.ambiguousCharacterData.getValue()).filter(e=>!e.startsWith(\"_\")));class Ee{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(Ee.getRawData())),this._data}static isInvisibleCharacter(t){return Ee.getData().has(t)}static get codePoints(){return Ee.getData()}}Ee._data=void 0;const qa=\"$initialize\";class $a{constructor(t,r,n,i){this.vsWorker=t,this.req=r,this.method=n,this.args=i,this.type=0}}class an{constructor(t,r,n,i){this.vsWorker=t,this.seq=r,this.res=n,this.err=i,this.type=1}}class Ha{constructor(t,r,n,i){this.vsWorker=t,this.req=r,this.eventName=n,this.arg=i,this.type=2}}class za{constructor(t,r,n){this.vsWorker=t,this.req=r,this.event=n,this.type=3}}class Ga{constructor(t,r){this.vsWorker=t,this.req=r,this.type=4}}class Ja{constructor(t){this._workerId=-1,this._handler=t,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(t){this._workerId=t}sendMessage(t,r){const n=String(++this._lastSentReq);return new Promise((i,s)=>{this._pendingReplies[n]={resolve:i,reject:s},this._send(new $a(this._workerId,n,t,r))})}listen(t,r){let n=null;const i=new ke({onFirstListenerAdd:()=>{n=String(++this._lastSentReq),this._pendingEmitters.set(n,i),this._send(new Ha(this._workerId,n,t,r))},onLastListenerRemove:()=>{this._pendingEmitters.delete(n),this._send(new Ga(this._workerId,n)),n=null}});return i.event}handleMessage(t){!t||!t.vsWorker||this._workerId!==-1&&t.vsWorker!==this._workerId||this._handleMessage(t)}_handleMessage(t){switch(t.type){case 1:return this._handleReplyMessage(t);case 0:return this._handleRequestMessage(t);case 2:return this._handleSubscribeEventMessage(t);case 3:return this._handleEventMessage(t);case 4:return this._handleUnsubscribeEventMessage(t)}}_handleReplyMessage(t){if(!this._pendingReplies[t.seq]){console.warn(\"Got reply to unknown seq\");return}let r=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let n=t.err;t.err.$isError&&(n=new Error,n.name=t.err.name,n.message=t.err.message,n.stack=t.err.stack),r.reject(n);return}r.resolve(t.res)}_handleRequestMessage(t){let r=t.req;this._handler.handleMessage(t.method,t.args).then(i=>{this._send(new an(this._workerId,r,i,void 0))},i=>{i.detail instanceof Error&&(i.detail=Yr(i.detail)),this._send(new an(this._workerId,r,void 0,Yr(i)))})}_handleSubscribeEventMessage(t){const r=t.req,n=this._handler.handleEvent(t.eventName,t.arg)(i=>{this._send(new za(this._workerId,r,i))});this._pendingEvents.set(r,n)}_handleEventMessage(t){if(!this._pendingEmitters.has(t.req)){console.warn(\"Got event for unknown req\");return}this._pendingEmitters.get(t.req).fire(t.event)}_handleUnsubscribeEventMessage(t){if(!this._pendingEvents.has(t.req)){console.warn(\"Got unsubscribe for unknown req\");return}this._pendingEvents.get(t.req).dispose(),this._pendingEvents.delete(t.req)}_send(t){let r=[];if(t.type===0)for(let n=0;n<t.args.length;n++)t.args[n]instanceof ArrayBuffer&&r.push(t.args[n]);else t.type===1&&t.res instanceof ArrayBuffer&&r.push(t.res);this._handler.sendMessage(t,r)}}function sn(e){return e[0]===\"o\"&&e[1]===\"n\"&&nn(e.charCodeAt(2))}function on(e){return/^onDynamic/.test(e)&&nn(e.charCodeAt(9))}function Za(e,t,r){const n=o=>function(){const l=Array.prototype.slice.call(arguments,0);return t(o,l)},i=o=>function(l){return r(o,l)};let s={};for(const o of e){if(on(o)){s[o]=i(o);continue}if(sn(o)){s[o]=r(o,void 0);continue}s[o]=n(o)}return s}class Xa{constructor(t,r){this._requestHandlerFactory=r,this._requestHandler=null,this._protocol=new Ja({sendMessage:(n,i)=>{t(n,i)},handleMessage:(n,i)=>this._handleMessage(n,i),handleEvent:(n,i)=>this._handleEvent(n,i)})}onmessage(t){this._protocol.handleMessage(t)}_handleMessage(t,r){if(t===qa)return this.initialize(r[0],r[1],r[2],r[3]);if(!this._requestHandler||typeof this._requestHandler[t]!=\"function\")return Promise.reject(new Error(\"Missing requestHandler or method: \"+t));try{return Promise.resolve(this._requestHandler[t].apply(this._requestHandler,r))}catch(n){return Promise.reject(n)}}_handleEvent(t,r){if(!this._requestHandler)throw new Error(\"Missing requestHandler\");if(on(t)){const n=this._requestHandler[t].call(this._requestHandler,r);if(typeof n!=\"function\")throw new Error(`Missing dynamic event ${t} on request handler.`);return n}if(sn(t)){const n=this._requestHandler[t];if(typeof n!=\"function\")throw new Error(`Missing event ${t} on request handler.`);return n}throw new Error(`Malformed event name ${t}`)}initialize(t,r,n,i){this._protocol.setWorkerId(t);const l=Za(i,(u,c)=>this._protocol.sendMessage(u,c),(u,c)=>this._protocol.listen(u,c));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(l),Promise.resolve(sr(this._requestHandler))):(r&&(typeof r.baseUrl!=\"undefined\"&&delete r.baseUrl,typeof r.paths!=\"undefined\"&&typeof r.paths.vs!=\"undefined\"&&delete r.paths.vs,typeof r.trustedTypesPolicy!==void 0&&delete r.trustedTypesPolicy,r.catchError=!0,ee.require.config(r)),new Promise((u,c)=>{const h=ee.require;h([n],f=>{if(this._requestHandler=f.create(l),!this._requestHandler){c(new Error(\"No RequestHandler!\"));return}u(sr(this._requestHandler))},c)}))}}class Fe{constructor(t,r,n,i){this.originalStart=t,this.originalLength=r,this.modifiedStart=n,this.modifiedLength=i}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function ln(e,t){return(t<<5)-t+e|0}function Ya(e,t){t=ln(149417,t);for(let r=0,n=e.length;r<n;r++)t=ln(e.charCodeAt(r),t);return t}class un{constructor(t){this.source=t}getElements(){const t=this.source,r=new Int32Array(t.length);for(let n=0,i=t.length;n<i;n++)r[n]=t.charCodeAt(n);return r}}function Qa(e,t,r){return new Ve(new un(e),new un(t)).ComputeDiff(r).changes}class Xe{static Assert(t,r){if(!t)throw new Error(r)}}class Ye{static Copy(t,r,n,i,s){for(let o=0;o<s;o++)n[i+o]=t[r+o]}static Copy2(t,r,n,i,s){for(let o=0;o<s;o++)n[i+o]=t[r+o]}}class cn{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 Fe(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(t,r){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,r),this.m_originalCount++}AddModifiedElement(t,r){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,r),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 Ve{constructor(t,r,n=null){this.ContinueProcessingPredicate=n,this._originalSequence=t,this._modifiedSequence=r;const[i,s,o]=Ve._getElements(t),[l,u,c]=Ve._getElements(r);this._hasStrings=o&&c,this._originalStringElements=i,this._originalElementsOrHash=s,this._modifiedStringElements=l,this._modifiedElementsOrHash=u,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(t){return t.length>0&&typeof t[0]==\"string\"}static _getElements(t){const r=t.getElements();if(Ve._isStringArray(r)){const n=new Int32Array(r.length);for(let i=0,s=r.length;i<s;i++)n[i]=Ya(r[i],0);return[r,n,!0]}return r instanceof Int32Array?[[],r,!1]:[[],new Int32Array(r),!1]}ElementsAreEqual(t,r){return this._originalElementsOrHash[t]!==this._modifiedElementsOrHash[r]?!1:this._hasStrings?this._originalStringElements[t]===this._modifiedStringElements[r]:!0}ElementsAreStrictEqual(t,r){if(!this.ElementsAreEqual(t,r))return!1;const n=Ve._getStrictElement(this._originalSequence,t),i=Ve._getStrictElement(this._modifiedSequence,r);return n===i}static _getStrictElement(t,r){return typeof t.getStrictElement==\"function\"?t.getStrictElement(r):null}OriginalElementsAreEqual(t,r){return this._originalElementsOrHash[t]!==this._originalElementsOrHash[r]?!1:this._hasStrings?this._originalStringElements[t]===this._originalStringElements[r]:!0}ModifiedElementsAreEqual(t,r){return this._modifiedElementsOrHash[t]!==this._modifiedElementsOrHash[r]?!1:this._hasStrings?this._modifiedStringElements[t]===this._modifiedStringElements[r]:!0}ComputeDiff(t){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,t)}_ComputeDiff(t,r,n,i,s){const o=[!1];let l=this.ComputeDiffRecursive(t,r,n,i,o);return s&&(l=this.PrettifyChanges(l)),{quitEarly:o[0],changes:l}}ComputeDiffRecursive(t,r,n,i,s){for(s[0]=!1;t<=r&&n<=i&&this.ElementsAreEqual(t,n);)t++,n++;for(;r>=t&&i>=n&&this.ElementsAreEqual(r,i);)r--,i--;if(t>r||n>i){let f;return n<=i?(Xe.Assert(t===r+1,\"originalStart should only be one more than originalEnd\"),f=[new Fe(t,0,n,i-n+1)]):t<=r?(Xe.Assert(n===i+1,\"modifiedStart should only be one more than modifiedEnd\"),f=[new Fe(t,r-t+1,n,0)]):(Xe.Assert(t===r+1,\"originalStart should only be one more than originalEnd\"),Xe.Assert(n===i+1,\"modifiedStart should only be one more than modifiedEnd\"),f=[]),f}const o=[0],l=[0],u=this.ComputeRecursionPoint(t,r,n,i,o,l,s),c=o[0],h=l[0];if(u!==null)return u;if(!s[0]){const f=this.ComputeDiffRecursive(t,c,n,h,s);let d=[];return s[0]?d=[new Fe(c+1,r-(c+1)+1,h+1,i-(h+1)+1)]:d=this.ComputeDiffRecursive(c+1,r,h+1,i,s),this.ConcatenateChanges(f,d)}return[new Fe(t,r-t+1,n,i-n+1)]}WALKTRACE(t,r,n,i,s,o,l,u,c,h,f,d,m,b,p,g,N,w){let v=null,S=null,A=new cn,y=r,C=n,_=m[0]-g[0]-i,L=-1073741824,M=this.m_forwardHistory.length-1;do{const E=_+t;E===y||E<C&&c[E-1]<c[E+1]?(f=c[E+1],b=f-_-i,f<L&&A.MarkNextChange(),L=f,A.AddModifiedElement(f+1,b),_=E+1-t):(f=c[E-1]+1,b=f-_-i,f<L&&A.MarkNextChange(),L=f-1,A.AddOriginalElement(f,b+1),_=E-1-t),M>=0&&(c=this.m_forwardHistory[M],t=c[0],y=1,C=c.length-1)}while(--M>=-1);if(v=A.getReverseChanges(),w[0]){let E=m[0]+1,P=g[0]+1;if(v!==null&&v.length>0){const D=v[v.length-1];E=Math.max(E,D.getOriginalEnd()),P=Math.max(P,D.getModifiedEnd())}S=[new Fe(E,d-E+1,P,p-P+1)]}else{A=new cn,y=o,C=l,_=m[0]-g[0]-u,L=1073741824,M=N?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const E=_+s;E===y||E<C&&h[E-1]>=h[E+1]?(f=h[E+1]-1,b=f-_-u,f>L&&A.MarkNextChange(),L=f+1,A.AddOriginalElement(f+1,b+1),_=E+1-s):(f=h[E-1],b=f-_-u,f>L&&A.MarkNextChange(),L=f,A.AddModifiedElement(f+1,b+1),_=E-1-s),M>=0&&(h=this.m_reverseHistory[M],s=h[0],y=1,C=h.length-1)}while(--M>=-1);S=A.getChanges()}return this.ConcatenateChanges(v,S)}ComputeRecursionPoint(t,r,n,i,s,o,l){let u=0,c=0,h=0,f=0,d=0,m=0;t--,n--,s[0]=0,o[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const b=r-t+(i-n),p=b+1,g=new Int32Array(p),N=new Int32Array(p),w=i-n,v=r-t,S=t-n,A=r-i,C=(v-w)%2===0;g[w]=t,N[v]=r,l[0]=!1;for(let _=1;_<=b/2+1;_++){let L=0,M=0;h=this.ClipDiagonalBound(w-_,_,w,p),f=this.ClipDiagonalBound(w+_,_,w,p);for(let P=h;P<=f;P+=2){P===h||P<f&&g[P-1]<g[P+1]?u=g[P+1]:u=g[P-1]+1,c=u-(P-w)-S;const D=u;for(;u<r&&c<i&&this.ElementsAreEqual(u+1,c+1);)u++,c++;if(g[P]=u,u+c>L+M&&(L=u,M=c),!C&&Math.abs(P-v)<=_-1&&u>=N[P])return s[0]=u,o[0]=c,D<=N[P]&&1447>0&&_<=1447+1?this.WALKTRACE(w,h,f,S,v,d,m,A,g,N,u,r,s,c,i,o,C,l):null}const E=(L-t+(M-n)-_)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(L,E))return l[0]=!0,s[0]=L,o[0]=M,E>0&&1447>0&&_<=1447+1?this.WALKTRACE(w,h,f,S,v,d,m,A,g,N,u,r,s,c,i,o,C,l):(t++,n++,[new Fe(t,r-t+1,n,i-n+1)]);d=this.ClipDiagonalBound(v-_,_,v,p),m=this.ClipDiagonalBound(v+_,_,v,p);for(let P=d;P<=m;P+=2){P===d||P<m&&N[P-1]>=N[P+1]?u=N[P+1]-1:u=N[P-1],c=u-(P-v)-A;const D=u;for(;u>t&&c>n&&this.ElementsAreEqual(u,c);)u--,c--;if(N[P]=u,C&&Math.abs(P-w)<=_&&u<=g[P])return s[0]=u,o[0]=c,D>=g[P]&&1447>0&&_<=1447+1?this.WALKTRACE(w,h,f,S,v,d,m,A,g,N,u,r,s,c,i,o,C,l):null}if(_<=1447){let P=new Int32Array(f-h+2);P[0]=w-h+1,Ye.Copy2(g,h,P,1,f-h+1),this.m_forwardHistory.push(P),P=new Int32Array(m-d+2),P[0]=v-d+1,Ye.Copy2(N,d,P,1,m-d+1),this.m_reverseHistory.push(P)}}return this.WALKTRACE(w,h,f,S,v,d,m,A,g,N,u,r,s,c,i,o,C,l)}PrettifyChanges(t){for(let r=0;r<t.length;r++){const n=t[r],i=r<t.length-1?t[r+1].originalStart:this._originalElementsOrHash.length,s=r<t.length-1?t[r+1].modifiedStart:this._modifiedElementsOrHash.length,o=n.originalLength>0,l=n.modifiedLength>0;for(;n.originalStart+n.originalLength<i&&n.modifiedStart+n.modifiedLength<s&&(!o||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!l||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));){const c=this.ElementsAreStrictEqual(n.originalStart,n.modifiedStart);if(this.ElementsAreStrictEqual(n.originalStart+n.originalLength,n.modifiedStart+n.modifiedLength)&&!c)break;n.originalStart++,n.modifiedStart++}let u=[null];if(r<t.length-1&&this.ChangesOverlap(t[r],t[r+1],u)){t[r]=u[0],t.splice(r+1,1),r--;continue}}for(let r=t.length-1;r>=0;r--){const n=t[r];let i=0,s=0;if(r>0){const f=t[r-1];i=f.originalStart+f.originalLength,s=f.modifiedStart+f.modifiedLength}const o=n.originalLength>0,l=n.modifiedLength>0;let u=0,c=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let f=1;;f++){const d=n.originalStart-f,m=n.modifiedStart-f;if(d<i||m<s||o&&!this.OriginalElementsAreEqual(d,d+n.originalLength)||l&&!this.ModifiedElementsAreEqual(m,m+n.modifiedLength))break;const p=(d===i&&m===s?5:0)+this._boundaryScore(d,n.originalLength,m,n.modifiedLength);p>c&&(c=p,u=f)}n.originalStart-=u,n.modifiedStart-=u;const h=[null];if(r>0&&this.ChangesOverlap(t[r-1],t[r],h)){t[r-1]=h[0],t.splice(r,1),r++;continue}}if(this._hasStrings)for(let r=1,n=t.length;r<n;r++){const i=t[r-1],s=t[r],o=s.originalStart-i.originalStart-i.originalLength,l=i.originalStart,u=s.originalStart+s.originalLength,c=u-l,h=i.modifiedStart,f=s.modifiedStart+s.modifiedLength,d=f-h;if(o<5&&c<20&&d<20){const m=this._findBetterContiguousSequence(l,c,h,d,o);if(m){const[b,p]=m;(b!==i.originalStart+i.originalLength||p!==i.modifiedStart+i.modifiedLength)&&(i.originalLength=b-i.originalStart,i.modifiedLength=p-i.modifiedStart,s.originalStart=b+o,s.modifiedStart=p+o,s.originalLength=u-s.originalStart,s.modifiedLength=f-s.modifiedStart)}}}return t}_findBetterContiguousSequence(t,r,n,i,s){if(r<s||i<s)return null;const o=t+r-s+1,l=n+i-s+1;let u=0,c=0,h=0;for(let f=t;f<o;f++)for(let d=n;d<l;d++){const m=this._contiguousSequenceScore(f,d,s);m>0&&m>u&&(u=m,c=f,h=d)}return u>0?[c,h]:null}_contiguousSequenceScore(t,r,n){let i=0;for(let s=0;s<n;s++){if(!this.ElementsAreEqual(t+s,r+s))return 0;i+=this._originalStringElements[t+s].length}return i}_OriginalIsBoundary(t){return t<=0||t>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\\s*$/.test(this._originalStringElements[t])}_OriginalRegionIsBoundary(t,r){if(this._OriginalIsBoundary(t)||this._OriginalIsBoundary(t-1))return!0;if(r>0){const n=t+r;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(t){return t<=0||t>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\\s*$/.test(this._modifiedStringElements[t])}_ModifiedRegionIsBoundary(t,r){if(this._ModifiedIsBoundary(t)||this._ModifiedIsBoundary(t-1))return!0;if(r>0){const n=t+r;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(t,r,n,i){const s=this._OriginalRegionIsBoundary(t,r)?1:0,o=this._ModifiedRegionIsBoundary(n,i)?1:0;return s+o}ConcatenateChanges(t,r){let n=[];if(t.length===0||r.length===0)return r.length>0?r:t;if(this.ChangesOverlap(t[t.length-1],r[0],n)){const i=new Array(t.length+r.length-1);return Ye.Copy(t,0,i,0,t.length-1),i[t.length-1]=n[0],Ye.Copy(r,1,i,t.length,r.length-1),i}else{const i=new Array(t.length+r.length);return Ye.Copy(t,0,i,0,t.length),Ye.Copy(r,0,i,t.length,r.length),i}}ChangesOverlap(t,r,n){if(Xe.Assert(t.originalStart<=r.originalStart,\"Left change is not less than or equal to right change\"),Xe.Assert(t.modifiedStart<=r.modifiedStart,\"Left change is not less than or equal to right change\"),t.originalStart+t.originalLength>=r.originalStart||t.modifiedStart+t.modifiedLength>=r.modifiedStart){const i=t.originalStart;let s=t.originalLength;const o=t.modifiedStart;let l=t.modifiedLength;return t.originalStart+t.originalLength>=r.originalStart&&(s=r.originalStart+r.originalLength-t.originalStart),t.modifiedStart+t.modifiedLength>=r.modifiedStart&&(l=r.modifiedStart+r.modifiedLength-t.modifiedStart),n[0]=new Fe(i,s,o,l),!0}else return n[0]=null,!1}ClipDiagonalBound(t,r,n,i){if(t>=0&&t<i)return t;const s=n,o=i-n-1,l=r%2===0;if(t<0){const u=s%2===0;return l===u?0:1}else{const u=o%2===0;return l===u?i-1:i-2}}}let Qe;if(typeof ee.vscode!=\"undefined\"&&typeof ee.vscode.process!=\"undefined\"){const e=ee.vscode.process;Qe={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()}}}else typeof process!=\"undefined\"?Qe={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:Qe={get platform(){return lt?\"win32\":La?\"darwin\":\"linux\"},get arch(){},get env(){return{}},cwd(){return\"/\"}};const lr=Qe.cwd,Ka=Qe.env,qe=Qe.platform,es=65,ts=97,rs=90,ns=122,Ie=46,K=47,se=92,De=58,is=63;class fn extends Error{constructor(t,r,n){let i;typeof r==\"string\"&&r.indexOf(\"not \")===0?(i=\"must not be\",r=r.replace(/^not /,\"\")):i=\"must be\";const s=t.indexOf(\".\")!==-1?\"property\":\"argument\";let o=`The \"${t}\" ${s} ${i} of type ${r}`;o+=`. Received type ${typeof n}`,super(o),this.code=\"ERR_INVALID_ARG_TYPE\"}}function Z(e,t){if(typeof e!=\"string\")throw new fn(t,\"string\",e)}function j(e){return e===K||e===se}function ur(e){return e===K}function Re(e){return e>=es&&e<=rs||e>=ts&&e<=ns}function Pt(e,t,r,n){let i=\"\",s=0,o=-1,l=0,u=0;for(let c=0;c<=e.length;++c){if(c<e.length)u=e.charCodeAt(c);else{if(n(u))break;u=K}if(n(u)){if(!(o===c-1||l===1))if(l===2){if(i.length<2||s!==2||i.charCodeAt(i.length-1)!==Ie||i.charCodeAt(i.length-2)!==Ie){if(i.length>2){const h=i.lastIndexOf(r);h===-1?(i=\"\",s=0):(i=i.slice(0,h),s=i.length-1-i.lastIndexOf(r)),o=c,l=0;continue}else if(i.length!==0){i=\"\",s=0,o=c,l=0;continue}}t&&(i+=i.length>0?`${r}..`:\"..\",s=2)}else i.length>0?i+=`${r}${e.slice(o+1,c)}`:i=e.slice(o+1,c),s=c-o-1;o=c,l=0}else u===Ie&&l!==-1?++l:l=-1}return i}function hn(e,t){if(t===null||typeof t!=\"object\")throw new fn(\"pathObject\",\"Object\",t);const r=t.dir||t.root,n=t.base||`${t.name||\"\"}${t.ext||\"\"}`;return r?r===t.root?`${r}${n}`:`${r}${e}${n}`:n}const ae={resolve(...e){let t=\"\",r=\"\",n=!1;for(let i=e.length-1;i>=-1;i--){let s;if(i>=0){if(s=e[i],Z(s,\"path\"),s.length===0)continue}else t.length===0?s=lr():(s=Ka[`=${t}`]||lr(),(s===void 0||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&s.charCodeAt(2)===se)&&(s=`${t}\\\\`));const o=s.length;let l=0,u=\"\",c=!1;const h=s.charCodeAt(0);if(o===1)j(h)&&(l=1,c=!0);else if(j(h))if(c=!0,j(s.charCodeAt(1))){let f=2,d=f;for(;f<o&&!j(s.charCodeAt(f));)f++;if(f<o&&f!==d){const m=s.slice(d,f);for(d=f;f<o&&j(s.charCodeAt(f));)f++;if(f<o&&f!==d){for(d=f;f<o&&!j(s.charCodeAt(f));)f++;(f===o||f!==d)&&(u=`\\\\\\\\${m}\\\\${s.slice(d,f)}`,l=f)}}}else l=1;else Re(h)&&s.charCodeAt(1)===De&&(u=s.slice(0,2),l=2,o>2&&j(s.charCodeAt(2))&&(c=!0,l=3));if(u.length>0)if(t.length>0){if(u.toLowerCase()!==t.toLowerCase())continue}else t=u;if(n){if(t.length>0)break}else if(r=`${s.slice(l)}\\\\${r}`,n=c,c&&t.length>0)break}return r=Pt(r,!n,\"\\\\\",j),n?`${t}\\\\${r}`:`${t}${r}`||\".\"},normalize(e){Z(e,\"path\");const t=e.length;if(t===0)return\".\";let r=0,n,i=!1;const s=e.charCodeAt(0);if(t===1)return ur(s)?\"\\\\\":e;if(j(s))if(i=!0,j(e.charCodeAt(1))){let l=2,u=l;for(;l<t&&!j(e.charCodeAt(l));)l++;if(l<t&&l!==u){const c=e.slice(u,l);for(u=l;l<t&&j(e.charCodeAt(l));)l++;if(l<t&&l!==u){for(u=l;l<t&&!j(e.charCodeAt(l));)l++;if(l===t)return`\\\\\\\\${c}\\\\${e.slice(u)}\\\\`;l!==u&&(n=`\\\\\\\\${c}\\\\${e.slice(u,l)}`,r=l)}}}else r=1;else Re(s)&&e.charCodeAt(1)===De&&(n=e.slice(0,2),r=2,t>2&&j(e.charCodeAt(2))&&(i=!0,r=3));let o=r<t?Pt(e.slice(r),!i,\"\\\\\",j):\"\";return o.length===0&&!i&&(o=\".\"),o.length>0&&j(e.charCodeAt(t-1))&&(o+=\"\\\\\"),n===void 0?i?`\\\\${o}`:o:i?`${n}\\\\${o}`:`${n}${o}`},isAbsolute(e){Z(e,\"path\");const t=e.length;if(t===0)return!1;const r=e.charCodeAt(0);return j(r)||t>2&&Re(r)&&e.charCodeAt(1)===De&&j(e.charCodeAt(2))},join(...e){if(e.length===0)return\".\";let t,r;for(let s=0;s<e.length;++s){const o=e[s];Z(o,\"path\"),o.length>0&&(t===void 0?t=r=o:t+=`\\\\${o}`)}if(t===void 0)return\".\";let n=!0,i=0;if(typeof r==\"string\"&&j(r.charCodeAt(0))){++i;const s=r.length;s>1&&j(r.charCodeAt(1))&&(++i,s>2&&(j(r.charCodeAt(2))?++i:n=!1))}if(n){for(;i<t.length&&j(t.charCodeAt(i));)i++;i>=2&&(t=`\\\\${t.slice(i)}`)}return ae.normalize(t)},relative(e,t){if(Z(e,\"from\"),Z(t,\"to\"),e===t)return\"\";const r=ae.resolve(e),n=ae.resolve(t);if(r===n||(e=r.toLowerCase(),t=n.toLowerCase(),e===t))return\"\";let i=0;for(;i<e.length&&e.charCodeAt(i)===se;)i++;let s=e.length;for(;s-1>i&&e.charCodeAt(s-1)===se;)s--;const o=s-i;let l=0;for(;l<t.length&&t.charCodeAt(l)===se;)l++;let u=t.length;for(;u-1>l&&t.charCodeAt(u-1)===se;)u--;const c=u-l,h=o<c?o:c;let f=-1,d=0;for(;d<h;d++){const b=e.charCodeAt(i+d);if(b!==t.charCodeAt(l+d))break;b===se&&(f=d)}if(d!==h){if(f===-1)return n}else{if(c>h){if(t.charCodeAt(l+d)===se)return n.slice(l+d+1);if(d===2)return n.slice(l+d)}o>h&&(e.charCodeAt(i+d)===se?f=d:d===2&&(f=3)),f===-1&&(f=0)}let m=\"\";for(d=i+f+1;d<=s;++d)(d===s||e.charCodeAt(d)===se)&&(m+=m.length===0?\"..\":\"\\\\..\");return l+=f,m.length>0?`${m}${n.slice(l,u)}`:(n.charCodeAt(l)===se&&++l,n.slice(l,u))},toNamespacedPath(e){if(typeof e!=\"string\")return e;if(e.length===0)return\"\";const t=ae.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===se){if(t.charCodeAt(1)===se){const r=t.charCodeAt(2);if(r!==is&&r!==Ie)return`\\\\\\\\?\\\\UNC\\\\${t.slice(2)}`}}else if(Re(t.charCodeAt(0))&&t.charCodeAt(1)===De&&t.charCodeAt(2)===se)return`\\\\\\\\?\\\\${t}`;return e},dirname(e){Z(e,\"path\");const t=e.length;if(t===0)return\".\";let r=-1,n=0;const i=e.charCodeAt(0);if(t===1)return j(i)?e:\".\";if(j(i)){if(r=n=1,j(e.charCodeAt(1))){let l=2,u=l;for(;l<t&&!j(e.charCodeAt(l));)l++;if(l<t&&l!==u){for(u=l;l<t&&j(e.charCodeAt(l));)l++;if(l<t&&l!==u){for(u=l;l<t&&!j(e.charCodeAt(l));)l++;if(l===t)return e;l!==u&&(r=n=l+1)}}}}else Re(i)&&e.charCodeAt(1)===De&&(r=t>2&&j(e.charCodeAt(2))?3:2,n=r);let s=-1,o=!0;for(let l=t-1;l>=n;--l)if(j(e.charCodeAt(l))){if(!o){s=l;break}}else o=!1;if(s===-1){if(r===-1)return\".\";s=r}return e.slice(0,s)},basename(e,t){t!==void 0&&Z(t,\"ext\"),Z(e,\"path\");let r=0,n=-1,i=!0,s;if(e.length>=2&&Re(e.charCodeAt(0))&&e.charCodeAt(1)===De&&(r=2),t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return\"\";let o=t.length-1,l=-1;for(s=e.length-1;s>=r;--s){const u=e.charCodeAt(s);if(j(u)){if(!i){r=s+1;break}}else l===-1&&(i=!1,l=s+1),o>=0&&(u===t.charCodeAt(o)?--o===-1&&(n=s):(o=-1,n=l))}return r===n?n=l:n===-1&&(n=e.length),e.slice(r,n)}for(s=e.length-1;s>=r;--s)if(j(e.charCodeAt(s))){if(!i){r=s+1;break}}else n===-1&&(i=!1,n=s+1);return n===-1?\"\":e.slice(r,n)},extname(e){Z(e,\"path\");let t=0,r=-1,n=0,i=-1,s=!0,o=0;e.length>=2&&e.charCodeAt(1)===De&&Re(e.charCodeAt(0))&&(t=n=2);for(let l=e.length-1;l>=t;--l){const u=e.charCodeAt(l);if(j(u)){if(!s){n=l+1;break}continue}i===-1&&(s=!1,i=l+1),u===Ie?r===-1?r=l:o!==1&&(o=1):r!==-1&&(o=-1)}return r===-1||i===-1||o===0||o===1&&r===i-1&&r===n+1?\"\":e.slice(r,i)},format:hn.bind(null,\"\\\\\"),parse(e){Z(e,\"path\");const t={root:\"\",dir:\"\",base:\"\",ext:\"\",name:\"\"};if(e.length===0)return t;const r=e.length;let n=0,i=e.charCodeAt(0);if(r===1)return j(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(j(i)){if(n=1,j(e.charCodeAt(1))){let f=2,d=f;for(;f<r&&!j(e.charCodeAt(f));)f++;if(f<r&&f!==d){for(d=f;f<r&&j(e.charCodeAt(f));)f++;if(f<r&&f!==d){for(d=f;f<r&&!j(e.charCodeAt(f));)f++;f===r?n=f:f!==d&&(n=f+1)}}}}else if(Re(i)&&e.charCodeAt(1)===De){if(r<=2)return t.root=t.dir=e,t;if(n=2,j(e.charCodeAt(2))){if(r===3)return t.root=t.dir=e,t;n=3}}n>0&&(t.root=e.slice(0,n));let s=-1,o=n,l=-1,u=!0,c=e.length-1,h=0;for(;c>=n;--c){if(i=e.charCodeAt(c),j(i)){if(!u){o=c+1;break}continue}l===-1&&(u=!1,l=c+1),i===Ie?s===-1?s=c:h!==1&&(h=1):s!==-1&&(h=-1)}return l!==-1&&(s===-1||h===0||h===1&&s===l-1&&s===o+1?t.base=t.name=e.slice(o,l):(t.name=e.slice(o,s),t.base=e.slice(o,l),t.ext=e.slice(s,l))),o>0&&o!==n?t.dir=e.slice(0,o-1):t.dir=t.root,t},sep:\"\\\\\",delimiter:\";\",win32:null,posix:null},oe={resolve(...e){let t=\"\",r=!1;for(let n=e.length-1;n>=-1&&!r;n--){const i=n>=0?e[n]:lr();Z(i,\"path\"),i.length!==0&&(t=`${i}/${t}`,r=i.charCodeAt(0)===K)}return t=Pt(t,!r,\"/\",ur),r?`/${t}`:t.length>0?t:\".\"},normalize(e){if(Z(e,\"path\"),e.length===0)return\".\";const t=e.charCodeAt(0)===K,r=e.charCodeAt(e.length-1)===K;return e=Pt(e,!t,\"/\",ur),e.length===0?t?\"/\":r?\"./\":\".\":(r&&(e+=\"/\"),t?`/${e}`:e)},isAbsolute(e){return Z(e,\"path\"),e.length>0&&e.charCodeAt(0)===K},join(...e){if(e.length===0)return\".\";let t;for(let r=0;r<e.length;++r){const n=e[r];Z(n,\"path\"),n.length>0&&(t===void 0?t=n:t+=`/${n}`)}return t===void 0?\".\":oe.normalize(t)},relative(e,t){if(Z(e,\"from\"),Z(t,\"to\"),e===t||(e=oe.resolve(e),t=oe.resolve(t),e===t))return\"\";const r=1,n=e.length,i=n-r,s=1,o=t.length-s,l=i<o?i:o;let u=-1,c=0;for(;c<l;c++){const f=e.charCodeAt(r+c);if(f!==t.charCodeAt(s+c))break;f===K&&(u=c)}if(c===l)if(o>l){if(t.charCodeAt(s+c)===K)return t.slice(s+c+1);if(c===0)return t.slice(s+c)}else i>l&&(e.charCodeAt(r+c)===K?u=c:c===0&&(u=0));let h=\"\";for(c=r+u+1;c<=n;++c)(c===n||e.charCodeAt(c)===K)&&(h+=h.length===0?\"..\":\"/..\");return`${h}${t.slice(s+u)}`},toNamespacedPath(e){return e},dirname(e){if(Z(e,\"path\"),e.length===0)return\".\";const t=e.charCodeAt(0)===K;let r=-1,n=!0;for(let i=e.length-1;i>=1;--i)if(e.charCodeAt(i)===K){if(!n){r=i;break}}else n=!1;return r===-1?t?\"/\":\".\":t&&r===1?\"//\":e.slice(0,r)},basename(e,t){t!==void 0&&Z(t,\"ext\"),Z(e,\"path\");let r=0,n=-1,i=!0,s;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return\"\";let o=t.length-1,l=-1;for(s=e.length-1;s>=0;--s){const u=e.charCodeAt(s);if(u===K){if(!i){r=s+1;break}}else l===-1&&(i=!1,l=s+1),o>=0&&(u===t.charCodeAt(o)?--o===-1&&(n=s):(o=-1,n=l))}return r===n?n=l:n===-1&&(n=e.length),e.slice(r,n)}for(s=e.length-1;s>=0;--s)if(e.charCodeAt(s)===K){if(!i){r=s+1;break}}else n===-1&&(i=!1,n=s+1);return n===-1?\"\":e.slice(r,n)},extname(e){Z(e,\"path\");let t=-1,r=0,n=-1,i=!0,s=0;for(let o=e.length-1;o>=0;--o){const l=e.charCodeAt(o);if(l===K){if(!i){r=o+1;break}continue}n===-1&&(i=!1,n=o+1),l===Ie?t===-1?t=o:s!==1&&(s=1):t!==-1&&(s=-1)}return t===-1||n===-1||s===0||s===1&&t===n-1&&t===r+1?\"\":e.slice(t,n)},format:hn.bind(null,\"/\"),parse(e){Z(e,\"path\");const t={root:\"\",dir:\"\",base:\"\",ext:\"\",name:\"\"};if(e.length===0)return t;const r=e.charCodeAt(0)===K;let n;r?(t.root=\"/\",n=1):n=0;let i=-1,s=0,o=-1,l=!0,u=e.length-1,c=0;for(;u>=n;--u){const h=e.charCodeAt(u);if(h===K){if(!l){s=u+1;break}continue}o===-1&&(l=!1,o=u+1),h===Ie?i===-1?i=u:c!==1&&(c=1):i!==-1&&(c=-1)}if(o!==-1){const h=s===0&&r?1:s;i===-1||c===0||c===1&&i===o-1&&i===s+1?t.base=t.name=e.slice(h,o):(t.name=e.slice(h,i),t.base=e.slice(h,o),t.ext=e.slice(i,o))}return s>0?t.dir=e.slice(0,s-1):r&&(t.dir=\"/\"),t},sep:\"/\",delimiter:\":\",win32:null,posix:null};oe.win32=ae.win32=ae,oe.posix=ae.posix=oe,qe===\"win32\"?ae.normalize:oe.normalize,qe===\"win32\"?ae.resolve:oe.resolve,qe===\"win32\"?ae.relative:oe.relative,qe===\"win32\"?ae.dirname:oe.dirname,qe===\"win32\"?ae.basename:oe.basename,qe===\"win32\"?ae.extname:oe.extname,qe===\"win32\"?ae.sep:oe.sep;const as=/^\\w[\\w\\d+.-]*$/,ss=/^\\//,os=/^\\/\\//;function dn(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: \"\", authority: \"${e.authority}\", path: \"${e.path}\", query: \"${e.query}\", fragment: \"${e.fragment}\"}`);if(e.scheme&&!as.test(e.scheme))throw new Error(\"[UriError]: Scheme contains illegal characters.\");if(e.path){if(e.authority){if(!ss.test(e.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(os.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters (\"//\")')}}function ls(e,t){return!e&&!t?\"file\":e}function us(e,t){switch(e){case\"https\":case\"http\":case\"file\":t?t[0]!==ve&&(t=ve+t):t=ve;break}return t}const G=\"\",ve=\"/\",cs=/^(([^:/?#]+?):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/;class $e{constructor(t,r,n,i,s,o=!1){typeof t==\"object\"?(this.scheme=t.scheme||G,this.authority=t.authority||G,this.path=t.path||G,this.query=t.query||G,this.fragment=t.fragment||G):(this.scheme=ls(t,o),this.authority=r||G,this.path=us(this.scheme,n||G),this.query=i||G,this.fragment=s||G,dn(this,o))}static isUri(t){return t instanceof $e?!0:t?typeof t.authority==\"string\"&&typeof t.fragment==\"string\"&&typeof t.path==\"string\"&&typeof t.query==\"string\"&&typeof t.scheme==\"string\"&&typeof t.fsPath==\"string\"&&typeof t.with==\"function\"&&typeof t.toString==\"function\":!1}get fsPath(){return cr(this,!1)}with(t){if(!t)return this;let{scheme:r,authority:n,path:i,query:s,fragment:o}=t;return r===void 0?r=this.scheme:r===null&&(r=G),n===void 0?n=this.authority:n===null&&(n=G),i===void 0?i=this.path:i===null&&(i=G),s===void 0?s=this.query:s===null&&(s=G),o===void 0?o=this.fragment:o===null&&(o=G),r===this.scheme&&n===this.authority&&i===this.path&&s===this.query&&o===this.fragment?this:new Ke(r,n,i,s,o)}static parse(t,r=!1){const n=cs.exec(t);return n?new Ke(n[2]||G,Tt(n[4]||G),Tt(n[5]||G),Tt(n[7]||G),Tt(n[9]||G),r):new Ke(G,G,G,G,G)}static file(t){let r=G;if(lt&&(t=t.replace(/\\\\/g,ve)),t[0]===ve&&t[1]===ve){const n=t.indexOf(ve,2);n===-1?(r=t.substring(2),t=ve):(r=t.substring(2,n),t=t.substring(n)||ve)}return new Ke(\"file\",r,t,G,G)}static from(t){const r=new Ke(t.scheme,t.authority,t.path,t.query,t.fragment);return dn(r,!0),r}static joinPath(t,...r){if(!t.path)throw new Error(\"[UriError]: cannot call joinPath on URI without path\");let n;return lt&&t.scheme===\"file\"?n=$e.file(ae.join(cr(t,!0),...r)).path:n=oe.join(t.path,...r),t.with({path:n})}toString(t=!1){return fr(this,t)}toJSON(){return this}static revive(t){if(t){if(t instanceof $e)return t;{const r=new Ke(t);return r._formatted=t.external,r._fsPath=t._sep===mn?t.fsPath:null,r}}else return t}}const mn=lt?1:void 0;class Ke extends $e{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=cr(this,!1)),this._fsPath}toString(t=!1){return t?fr(this,!0):(this._formatted||(this._formatted=fr(this,!1)),this._formatted)}toJSON(){const t={$mid:1};return this._fsPath&&(t.fsPath=this._fsPath,t._sep=mn),this._formatted&&(t.external=this._formatted),this.path&&(t.path=this.path),this.scheme&&(t.scheme=this.scheme),this.authority&&(t.authority=this.authority),this.query&&(t.query=this.query),this.fragment&&(t.fragment=this.fragment),t}}const gn={[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 pn(e,t){let r,n=-1;for(let i=0;i<e.length;i++){const s=e.charCodeAt(i);if(s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||s===45||s===46||s===95||s===126||t&&s===47)n!==-1&&(r+=encodeURIComponent(e.substring(n,i)),n=-1),r!==void 0&&(r+=e.charAt(i));else{r===void 0&&(r=e.substr(0,i));const o=gn[s];o!==void 0?(n!==-1&&(r+=encodeURIComponent(e.substring(n,i)),n=-1),r+=o):n===-1&&(n=i)}}return n!==-1&&(r+=encodeURIComponent(e.substring(n))),r!==void 0?r:e}function fs(e){let t;for(let r=0;r<e.length;r++){const n=e.charCodeAt(r);n===35||n===63?(t===void 0&&(t=e.substr(0,r)),t+=gn[n]):t!==void 0&&(t+=e[r])}return t!==void 0?t:e}function cr(e,t){let r;return e.authority&&e.path.length>1&&e.scheme===\"file\"?r=`//${e.authority}${e.path}`:e.path.charCodeAt(0)===47&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&e.path.charCodeAt(2)===58?t?r=e.path.substr(1):r=e.path[1].toLowerCase()+e.path.substr(2):r=e.path,lt&&(r=r.replace(/\\//g,\"\\\\\")),r}function fr(e,t){const r=t?fs:pn;let n=\"\",{scheme:i,authority:s,path:o,query:l,fragment:u}=e;if(i&&(n+=i,n+=\":\"),(s||i===\"file\")&&(n+=ve,n+=ve),s){let c=s.indexOf(\"@\");if(c!==-1){const h=s.substr(0,c);s=s.substr(c+1),c=h.indexOf(\":\"),c===-1?n+=r(h,!1):(n+=r(h.substr(0,c),!1),n+=\":\",n+=r(h.substr(c+1),!1)),n+=\"@\"}s=s.toLowerCase(),c=s.indexOf(\":\"),c===-1?n+=r(s,!1):(n+=r(s.substr(0,c),!1),n+=s.substr(c))}if(o){if(o.length>=3&&o.charCodeAt(0)===47&&o.charCodeAt(2)===58){const c=o.charCodeAt(1);c>=65&&c<=90&&(o=`/${String.fromCharCode(c+32)}:${o.substr(3)}`)}else if(o.length>=2&&o.charCodeAt(1)===58){const c=o.charCodeAt(0);c>=65&&c<=90&&(o=`${String.fromCharCode(c+32)}:${o.substr(2)}`)}n+=r(o,!0)}return l&&(n+=\"?\",n+=r(l,!1)),u&&(n+=\"#\",n+=t?u:pn(u,!1)),n}function vn(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+vn(e.substr(3)):e}}const bn=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function Tt(e){return e.match(bn)?e.replace(bn,t=>vn(t)):e}class le{constructor(t,r){this.lineNumber=t,this.column=r}with(t=this.lineNumber,r=this.column){return t===this.lineNumber&&r===this.column?this:new le(t,r)}delta(t=0,r=0){return this.with(this.lineNumber+t,this.column+r)}equals(t){return le.equals(this,t)}static equals(t,r){return!t&&!r?!0:!!t&&!!r&&t.lineNumber===r.lineNumber&&t.column===r.column}isBefore(t){return le.isBefore(this,t)}static isBefore(t,r){return t.lineNumber<r.lineNumber?!0:r.lineNumber<t.lineNumber?!1:t.column<r.column}isBeforeOrEqual(t){return le.isBeforeOrEqual(this,t)}static isBeforeOrEqual(t,r){return t.lineNumber<r.lineNumber?!0:r.lineNumber<t.lineNumber?!1:t.column<=r.column}static compare(t,r){const n=t.lineNumber|0,i=r.lineNumber|0;if(n===i){const s=t.column|0,o=r.column|0;return s-o}return n-i}clone(){return new le(this.lineNumber,this.column)}toString(){return\"(\"+this.lineNumber+\",\"+this.column+\")\"}static lift(t){return new le(t.lineNumber,t.column)}static isIPosition(t){return t&&typeof t.lineNumber==\"number\"&&typeof t.column==\"number\"}}class J{constructor(t,r,n,i){t>n||t===n&&r>i?(this.startLineNumber=n,this.startColumn=i,this.endLineNumber=t,this.endColumn=r):(this.startLineNumber=t,this.startColumn=r,this.endLineNumber=n,this.endColumn=i)}isEmpty(){return J.isEmpty(this)}static isEmpty(t){return t.startLineNumber===t.endLineNumber&&t.startColumn===t.endColumn}containsPosition(t){return J.containsPosition(this,t)}static containsPosition(t,r){return!(r.lineNumber<t.startLineNumber||r.lineNumber>t.endLineNumber||r.lineNumber===t.startLineNumber&&r.column<t.startColumn||r.lineNumber===t.endLineNumber&&r.column>t.endColumn)}static strictContainsPosition(t,r){return!(r.lineNumber<t.startLineNumber||r.lineNumber>t.endLineNumber||r.lineNumber===t.startLineNumber&&r.column<=t.startColumn||r.lineNumber===t.endLineNumber&&r.column>=t.endColumn)}containsRange(t){return J.containsRange(this,t)}static containsRange(t,r){return!(r.startLineNumber<t.startLineNumber||r.endLineNumber<t.startLineNumber||r.startLineNumber>t.endLineNumber||r.endLineNumber>t.endLineNumber||r.startLineNumber===t.startLineNumber&&r.startColumn<t.startColumn||r.endLineNumber===t.endLineNumber&&r.endColumn>t.endColumn)}strictContainsRange(t){return J.strictContainsRange(this,t)}static strictContainsRange(t,r){return!(r.startLineNumber<t.startLineNumber||r.endLineNumber<t.startLineNumber||r.startLineNumber>t.endLineNumber||r.endLineNumber>t.endLineNumber||r.startLineNumber===t.startLineNumber&&r.startColumn<=t.startColumn||r.endLineNumber===t.endLineNumber&&r.endColumn>=t.endColumn)}plusRange(t){return J.plusRange(this,t)}static plusRange(t,r){let n,i,s,o;return r.startLineNumber<t.startLineNumber?(n=r.startLineNumber,i=r.startColumn):r.startLineNumber===t.startLineNumber?(n=r.startLineNumber,i=Math.min(r.startColumn,t.startColumn)):(n=t.startLineNumber,i=t.startColumn),r.endLineNumber>t.endLineNumber?(s=r.endLineNumber,o=r.endColumn):r.endLineNumber===t.endLineNumber?(s=r.endLineNumber,o=Math.max(r.endColumn,t.endColumn)):(s=t.endLineNumber,o=t.endColumn),new J(n,i,s,o)}intersectRanges(t){return J.intersectRanges(this,t)}static intersectRanges(t,r){let n=t.startLineNumber,i=t.startColumn,s=t.endLineNumber,o=t.endColumn,l=r.startLineNumber,u=r.startColumn,c=r.endLineNumber,h=r.endColumn;return n<l?(n=l,i=u):n===l&&(i=Math.max(i,u)),s>c?(s=c,o=h):s===c&&(o=Math.min(o,h)),n>s||n===s&&i>o?null:new J(n,i,s,o)}equalsRange(t){return J.equalsRange(this,t)}static equalsRange(t,r){return!!t&&!!r&&t.startLineNumber===r.startLineNumber&&t.startColumn===r.startColumn&&t.endLineNumber===r.endLineNumber&&t.endColumn===r.endColumn}getEndPosition(){return J.getEndPosition(this)}static getEndPosition(t){return new le(t.endLineNumber,t.endColumn)}getStartPosition(){return J.getStartPosition(this)}static getStartPosition(t){return new le(t.startLineNumber,t.startColumn)}toString(){return\"[\"+this.startLineNumber+\",\"+this.startColumn+\" -> \"+this.endLineNumber+\",\"+this.endColumn+\"]\"}setEndPosition(t,r){return new J(this.startLineNumber,this.startColumn,t,r)}setStartPosition(t,r){return new J(t,r,this.endLineNumber,this.endColumn)}collapseToStart(){return J.collapseToStart(this)}static collapseToStart(t){return new J(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)}static fromPositions(t,r=t){return new J(t.lineNumber,t.column,r.lineNumber,r.column)}static lift(t){return t?new J(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null}static isIRange(t){return t&&typeof t.startLineNumber==\"number\"&&typeof t.startColumn==\"number\"&&typeof t.endLineNumber==\"number\"&&typeof t.endColumn==\"number\"}static areIntersectingOrTouching(t,r){return!(t.endLineNumber<r.startLineNumber||t.endLineNumber===r.startLineNumber&&t.endColumn<r.startColumn||r.endLineNumber<t.startLineNumber||r.endLineNumber===t.startLineNumber&&r.endColumn<t.startColumn)}static areIntersecting(t,r){return!(t.endLineNumber<r.startLineNumber||t.endLineNumber===r.startLineNumber&&t.endColumn<=r.startColumn||r.endLineNumber<t.startLineNumber||r.endLineNumber===t.startLineNumber&&r.endColumn<=t.startColumn)}static compareRangesUsingStarts(t,r){if(t&&r){const s=t.startLineNumber|0,o=r.startLineNumber|0;if(s===o){const l=t.startColumn|0,u=r.startColumn|0;if(l===u){const c=t.endLineNumber|0,h=r.endLineNumber|0;if(c===h){const f=t.endColumn|0,d=r.endColumn|0;return f-d}return c-h}return l-u}return s-o}return(t?1:0)-(r?1:0)}static compareRangesUsingEnds(t,r){return t.endLineNumber===r.endLineNumber?t.endColumn===r.endColumn?t.startLineNumber===r.startLineNumber?t.startColumn-r.startColumn:t.startLineNumber-r.startLineNumber:t.endColumn-r.endColumn:t.endLineNumber-r.endLineNumber}static spansMultipleLines(t){return t.endLineNumber>t.startLineNumber}toJSON(){return this}}const hs=3;function wn(e,t,r,n){return new Ve(e,t,r).ComputeDiff(n)}class yn{constructor(t){const r=[],n=[];for(let i=0,s=t.length;i<s;i++)r[i]=hr(t[i],1),n[i]=dr(t[i],1);this.lines=t,this._startColumns=r,this._endColumns=n}getElements(){const t=[];for(let r=0,n=this.lines.length;r<n;r++)t[r]=this.lines[r].substring(this._startColumns[r]-1,this._endColumns[r]-1);return t}getStrictElement(t){return this.lines[t]}getStartLineNumber(t){return t+1}getEndLineNumber(t){return t+1}createCharSequence(t,r,n){const i=[],s=[],o=[];let l=0;for(let u=r;u<=n;u++){const c=this.lines[u],h=t?this._startColumns[u]:1,f=t?this._endColumns[u]:c.length+1;for(let d=h;d<f;d++)i[l]=c.charCodeAt(d-1),s[l]=u+1,o[l]=d,l++}return new ds(i,s,o)}}class ds{constructor(t,r,n){this._charCodes=t,this._lineNumbers=r,this._columns=n}getElements(){return this._charCodes}getStartLineNumber(t){return this._lineNumbers[t]}getStartColumn(t){return this._columns[t]}getEndLineNumber(t){return this._lineNumbers[t]}getEndColumn(t){return this._columns[t]+1}}class ut{constructor(t,r,n,i,s,o,l,u){this.originalStartLineNumber=t,this.originalStartColumn=r,this.originalEndLineNumber=n,this.originalEndColumn=i,this.modifiedStartLineNumber=s,this.modifiedStartColumn=o,this.modifiedEndLineNumber=l,this.modifiedEndColumn=u}static createFromDiffChange(t,r,n){let i,s,o,l,u,c,h,f;return t.originalLength===0?(i=0,s=0,o=0,l=0):(i=r.getStartLineNumber(t.originalStart),s=r.getStartColumn(t.originalStart),o=r.getEndLineNumber(t.originalStart+t.originalLength-1),l=r.getEndColumn(t.originalStart+t.originalLength-1)),t.modifiedLength===0?(u=0,c=0,h=0,f=0):(u=n.getStartLineNumber(t.modifiedStart),c=n.getStartColumn(t.modifiedStart),h=n.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),f=n.getEndColumn(t.modifiedStart+t.modifiedLength-1)),new ut(i,s,o,l,u,c,h,f)}}function ms(e){if(e.length<=1)return e;const t=[e[0]];let r=t[0];for(let n=1,i=e.length;n<i;n++){const s=e[n],o=s.originalStart-(r.originalStart+r.originalLength),l=s.modifiedStart-(r.modifiedStart+r.modifiedLength);Math.min(o,l)<hs?(r.originalLength=s.originalStart+s.originalLength-r.originalStart,r.modifiedLength=s.modifiedStart+s.modifiedLength-r.modifiedStart):(t.push(s),r=s)}return t}class ct{constructor(t,r,n,i,s){this.originalStartLineNumber=t,this.originalEndLineNumber=r,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=i,this.charChanges=s}static createFromDiffResult(t,r,n,i,s,o,l){let u,c,h,f,d;if(r.originalLength===0?(u=n.getStartLineNumber(r.originalStart)-1,c=0):(u=n.getStartLineNumber(r.originalStart),c=n.getEndLineNumber(r.originalStart+r.originalLength-1)),r.modifiedLength===0?(h=i.getStartLineNumber(r.modifiedStart)-1,f=0):(h=i.getStartLineNumber(r.modifiedStart),f=i.getEndLineNumber(r.modifiedStart+r.modifiedLength-1)),o&&r.originalLength>0&&r.originalLength<20&&r.modifiedLength>0&&r.modifiedLength<20&&s()){const m=n.createCharSequence(t,r.originalStart,r.originalStart+r.originalLength-1),b=i.createCharSequence(t,r.modifiedStart,r.modifiedStart+r.modifiedLength-1);let p=wn(m,b,s,!0).changes;l&&(p=ms(p)),d=[];for(let g=0,N=p.length;g<N;g++)d.push(ut.createFromDiffChange(p[g],m,b))}return new ct(u,c,h,f,d)}}class gs{constructor(t,r,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.originalLines=t,this.modifiedLines=r,this.original=new yn(t),this.modified=new yn(r),this.continueLineDiff=Cn(n.maxComputationTime),this.continueCharDiff=Cn(n.maxComputationTime===0?0:Math.min(n.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:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber: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:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};const t=wn(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),r=t.changes,n=t.quitEarly;if(this.shouldIgnoreTrimWhitespace){const l=[];for(let u=0,c=r.length;u<c;u++)l.push(ct.createFromDiffResult(this.shouldIgnoreTrimWhitespace,r[u],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:l}}const i=[];let s=0,o=0;for(let l=-1,u=r.length;l<u;l++){const c=l+1<u?r[l+1]:null,h=c?c.originalStart:this.originalLines.length,f=c?c.modifiedStart:this.modifiedLines.length;for(;s<h&&o<f;){const d=this.originalLines[s],m=this.modifiedLines[o];if(d!==m){{let b=hr(d,1),p=hr(m,1);for(;b>1&&p>1;){const g=d.charCodeAt(b-2),N=m.charCodeAt(p-2);if(g!==N)break;b--,p--}(b>1||p>1)&&this._pushTrimWhitespaceCharChange(i,s+1,1,b,o+1,1,p)}{let b=dr(d,1),p=dr(m,1);const g=d.length+1,N=m.length+1;for(;b<g&&p<N;){const w=d.charCodeAt(b-1),v=d.charCodeAt(p-1);if(w!==v)break;b++,p++}(b<g||p<N)&&this._pushTrimWhitespaceCharChange(i,s+1,b,g,o+1,p,N)}}s++,o++}c&&(i.push(ct.createFromDiffResult(this.shouldIgnoreTrimWhitespace,c,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),s+=c.originalLength,o+=c.modifiedLength)}return{quitEarly:n,changes:i}}_pushTrimWhitespaceCharChange(t,r,n,i,s,o,l){if(this._mergeTrimWhitespaceCharChange(t,r,n,i,s,o,l))return;let u;this.shouldComputeCharChanges&&(u=[new ut(r,n,r,i,s,o,s,l)]),t.push(new ct(r,r,s,s,u))}_mergeTrimWhitespaceCharChange(t,r,n,i,s,o,l){const u=t.length;if(u===0)return!1;const c=t[u-1];return c.originalEndLineNumber===0||c.modifiedEndLineNumber===0?!1:c.originalEndLineNumber+1===r&&c.modifiedEndLineNumber+1===s?(c.originalEndLineNumber=r,c.modifiedEndLineNumber=s,this.shouldComputeCharChanges&&c.charChanges&&c.charChanges.push(new ut(r,n,r,i,s,o,s,l)),!0):!1}}function hr(e,t){const r=Da(e);return r===-1?t:r+1}function dr(e,t){const r=Ra(e);return r===-1?t:r+2}function Cn(e){if(e===0)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}function _n(e){return e<0?0:e>255?255:e|0}function et(e){return e<0?0:e>4294967295?4294967295:e|0}class ps{constructor(t){this.values=t,this.prefixSum=new Uint32Array(t.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(t,r){t=et(t);const n=this.values,i=this.prefixSum,s=r.length;return s===0?!1:(this.values=new Uint32Array(n.length+s),this.values.set(n.subarray(0,t),0),this.values.set(n.subarray(t),t+s),this.values.set(r,t),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(t,r){return t=et(t),r=et(r),this.values[t]===r?!1:(this.values[t]=r,t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),!0)}removeValues(t,r){t=et(t),r=et(r);const n=this.values,i=this.prefixSum;if(t>=n.length)return!1;const s=n.length-t;return r>=s&&(r=s),r===0?!1:(this.values=new Uint32Array(n.length-r),this.values.set(n.subarray(0,t),0),this.values.set(n.subarray(t+r),t),this.prefixSum=new Uint32Array(this.values.length),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(t){return t<0?0:(t=et(t),this._getPrefixSum(t))}_getPrefixSum(t){if(t<=this.prefixSumValidIndex[0])return this.prefixSum[t];let r=this.prefixSumValidIndex[0]+1;r===0&&(this.prefixSum[0]=this.values[0],r++),t>=this.values.length&&(t=this.values.length-1);for(let n=r;n<=t;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],t),this.prefixSum[t]}getIndexOf(t){t=Math.floor(t),this.getTotalSum();let r=0,n=this.values.length-1,i=0,s=0,o=0;for(;r<=n;)if(i=r+(n-r)/2|0,s=this.prefixSum[i],o=s-this.values[i],t<o)n=i-1;else if(t>=s)r=i+1;else break;return new vs(i,t-o)}}class vs{constructor(t,r){this.index=t,this.remainder=r,this._prefixSumIndexOfResultBrand=void 0,this.index=t,this.remainder=r}}class bs{constructor(t,r,n,i){this._uri=t,this._lines=r,this._eol=n,this._versionId=i,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(t){t.eol&&t.eol!==this._eol&&(this._eol=t.eol,this._lineStarts=null);const r=t.changes;for(const n of r)this._acceptDeleteRange(n.range),this._acceptInsertText(new le(n.range.startLineNumber,n.range.startColumn),n.text);this._versionId=t.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const t=this._eol.length,r=this._lines.length,n=new Uint32Array(r);for(let i=0;i<r;i++)n[i]=this._lines[i].length+t;this._lineStarts=new ps(n)}}_setLineText(t,r){this._lines[t]=r,this._lineStarts&&this._lineStarts.setValue(t,this._lines[t].length+this._eol.length)}_acceptDeleteRange(t){if(t.startLineNumber===t.endLineNumber){if(t.startColumn===t.endColumn)return;this._setLineText(t.startLineNumber-1,this._lines[t.startLineNumber-1].substring(0,t.startColumn-1)+this._lines[t.startLineNumber-1].substring(t.endColumn-1));return}this._setLineText(t.startLineNumber-1,this._lines[t.startLineNumber-1].substring(0,t.startColumn-1)+this._lines[t.endLineNumber-1].substring(t.endColumn-1)),this._lines.splice(t.startLineNumber,t.endLineNumber-t.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(t.startLineNumber,t.endLineNumber-t.startLineNumber)}_acceptInsertText(t,r){if(r.length===0)return;const n=Ia(r);if(n.length===1){this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+n[0]+this._lines[t.lineNumber-1].substring(t.column-1));return}n[n.length-1]+=this._lines[t.lineNumber-1].substring(t.column-1),this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+n[0]);const i=new Uint32Array(n.length-1);for(let s=1;s<n.length;s++)this._lines.splice(t.lineNumber+s-1,0,n[s]),i[s-1]=n[s].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(t.lineNumber,i)}}const ws=\"`~!@#$%^&*()-=+[{]}\\\\|;:'\\\",.<>/?\";function ys(e=\"\"){let t=\"(-?\\\\d*\\\\.\\\\d\\\\w*)|([^\";for(const r of ws)e.indexOf(r)>=0||(t+=\"\\\\\"+r);return t+=\"\\\\s]+)\",new RegExp(t,\"g\")}const Sn=ys();function Cs(e){let t=Sn;if(e&&e instanceof RegExp)if(e.global)t=e;else{let r=\"g\";e.ignoreCase&&(r+=\"i\"),e.multiline&&(r+=\"m\"),e.unicode&&(r+=\"u\"),t=new RegExp(e.source,r)}return t.lastIndex=0,t}const _s={maxLen:1e3,windowSize:15,timeBudget:150};function mr(e,t,r,n,i=_s){if(r.length>i.maxLen){let c=e-i.maxLen/2;return c<0?c=0:n+=c,r=r.substring(c,e+i.maxLen/2),mr(e,t,r,n,i)}const s=Date.now(),o=e-1-n;let l=-1,u=null;for(let c=1;!(Date.now()-s>=i.timeBudget);c++){const h=o-i.windowSize*c;t.lastIndex=Math.max(0,h);const f=Ss(t,r,o,l);if(!f&&u||(u=f,h<=0))break;l=h}if(u){const c={word:u[0],startColumn:n+1+u.index,endColumn:n+1+u.index+u[0].length};return t.lastIndex=0,c}return null}function Ss(e,t,r,n){let i;for(;i=e.exec(t);){const s=i.index||0;if(s<=r&&e.lastIndex>=r)return i;if(n>0&&s>n)return null}return null}class gr{constructor(t){const r=_n(t);this._defaultValue=r,this._asciiMap=gr._createAsciiMap(r),this._map=new Map}static _createAsciiMap(t){const r=new Uint8Array(256);for(let n=0;n<256;n++)r[n]=t;return r}set(t,r){const n=_n(r);t>=0&&t<256?this._asciiMap[t]=n:this._map.set(t,n)}get(t){return t>=0&&t<256?this._asciiMap[t]:this._map.get(t)||this._defaultValue}}class As{constructor(t,r,n){const i=new Uint8Array(t*r);for(let s=0,o=t*r;s<o;s++)i[s]=n;this._data=i,this.rows=t,this.cols=r}get(t,r){return this._data[t*this.cols+r]}set(t,r,n){this._data[t*this.cols+r]=n}}class Ns{constructor(t){let r=0,n=0;for(let s=0,o=t.length;s<o;s++){const[l,u,c]=t[s];u>r&&(r=u),l>n&&(n=l),c>n&&(n=c)}r++,n++;const i=new As(n,r,0);for(let s=0,o=t.length;s<o;s++){const[l,u,c]=t[s];i.set(l,u,c)}this._states=i,this._maxCharCode=r}nextState(t,r){return r<0||r>=this._maxCharCode?0:this._states.get(t,r)}}let pr=null;function Ls(){return pr===null&&(pr=new Ns([[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]])),pr}let ft=null;function ks(){if(ft===null){ft=new gr(0);const e=` \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`;for(let r=0;r<e.length;r++)ft.set(e.charCodeAt(r),1);const t=\".,;\";for(let r=0;r<t.length;r++)ft.set(t.charCodeAt(r),2)}return ft}class Et{static _createLink(t,r,n,i,s){let o=s-1;do{const l=r.charCodeAt(o);if(t.get(l)!==2)break;o--}while(o>i);if(i>0){const l=r.charCodeAt(i-1),u=r.charCodeAt(o);(l===40&&u===41||l===91&&u===93||l===123&&u===125)&&o--}return{range:{startLineNumber:n,startColumn:i+1,endLineNumber:n,endColumn:o+2},url:r.substring(i,o+1)}}static computeLinks(t,r=Ls()){const n=ks(),i=[];for(let s=1,o=t.getLineCount();s<=o;s++){const l=t.getLineContent(s),u=l.length;let c=0,h=0,f=0,d=1,m=!1,b=!1,p=!1,g=!1;for(;c<u;){let N=!1;const w=l.charCodeAt(c);if(d===13){let v;switch(w){case 40:m=!0,v=0;break;case 41:v=m?0:1;break;case 91:p=!0,b=!0,v=0;break;case 93:p=!1,v=b?0:1;break;case 123:g=!0,v=0;break;case 125:v=g?0:1;break;case 39:v=f===34||f===96?0:1;break;case 34:v=f===39||f===96?0:1;break;case 96:v=f===39||f===34?0:1;break;case 42:v=f===42?1:0;break;case 124:v=f===124?1:0;break;case 32:v=p?0:1;break;default:v=n.get(w)}v===1&&(i.push(Et._createLink(n,l,s,h,c)),N=!0)}else if(d===12){let v;w===91?(b=!0,v=0):v=n.get(w),v===1?N=!0:d=13}else d=r.nextState(d,w),d===0&&(N=!0);N&&(d=1,m=!1,b=!1,g=!1,h=c+1,f=w),c++}d===13&&i.push(Et._createLink(n,l,s,h,u))}return i}}function xs(e){return!e||typeof e.getLineCount!=\"function\"||typeof e.getLineContent!=\"function\"?[]:Et.computeLinks(e)}class vr{constructor(){this._defaultValueSet=[[\"true\",\"false\"],[\"True\",\"False\"],[\"Private\",\"Public\",\"Friend\",\"ReadOnly\",\"Partial\",\"Protected\",\"WriteOnly\"],[\"public\",\"protected\",\"private\"]]}navigateValueSet(t,r,n,i,s){if(t&&r){const o=this.doNavigateValueSet(r,s);if(o)return{range:t,value:o}}if(n&&i){const o=this.doNavigateValueSet(i,s);if(o)return{range:n,value:o}}return null}doNavigateValueSet(t,r){const n=this.numberReplace(t,r);return n!==null?n:this.textReplace(t,r)}numberReplace(t,r){const n=Math.pow(10,t.length-(t.lastIndexOf(\".\")+1));let i=Number(t),s=parseFloat(t);return!isNaN(i)&&!isNaN(s)&&i===s?i===0&&!r?null:(i=Math.floor(i*n),i+=r?n:-n,String(i/n)):null}textReplace(t,r){return this.valueSetsReplace(this._defaultValueSet,t,r)}valueSetsReplace(t,r,n){let i=null;for(let s=0,o=t.length;i===null&&s<o;s++)i=this.valueSetReplace(t[s],r,n);return i}valueSetReplace(t,r,n){let i=t.indexOf(r);return i>=0?(i+=n?1:-1,i<0?i=t.length-1:i%=t.length,t[i]):null}}vr.INSTANCE=new vr;const An=Object.freeze(function(e,t){const r=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(r)}}});var Ft;(function(e){function t(r){return r===e.None||r===e.Cancelled||r instanceof Vt?!0:!r||typeof r!=\"object\"?!1:typeof r.isCancellationRequested==\"boolean\"&&typeof r.onCancellationRequested==\"function\"}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:ir.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:An})})(Ft||(Ft={}));class Vt{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?An:(this._emitter||(this._emitter=new ke),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class Ms{constructor(t){this._token=void 0,this._parentListener=void 0,this._parentListener=t&&t.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new Vt),this._token}cancel(){this._token?this._token instanceof Vt&&this._token.cancel():this._token=Ft.Cancelled}dispose(t=!1){t&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof Vt&&this._token.dispose():this._token=Ft.None}}class br{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(t,r){this._keyCodeToStr[t]=r,this._strToKeyCode[r.toLowerCase()]=t}keyCodeToStr(t){return this._keyCodeToStr[t]}strToKeyCode(t){return this._strToKeyCode[t.toLowerCase()]||0}}const It=new br,wr=new br,yr=new br,Ps=new Array(230),Ts=Object.create(null),Es=Object.create(null);(function(){const e=\"\",t=[[0,1,0,\"None\",0,\"unknown\",0,\"VK_UNKNOWN\",e,e],[0,1,1,\"Hyper\",0,e,0,e,e,e],[0,1,2,\"Super\",0,e,0,e,e,e],[0,1,3,\"Fn\",0,e,0,e,e,e],[0,1,4,\"FnLock\",0,e,0,e,e,e],[0,1,5,\"Suspend\",0,e,0,e,e,e],[0,1,6,\"Resume\",0,e,0,e,e,e],[0,1,7,\"Turbo\",0,e,0,e,e,e],[0,1,8,\"Sleep\",0,e,0,\"VK_SLEEP\",e,e],[0,1,9,\"WakeUp\",0,e,0,e,e,e],[31,0,10,\"KeyA\",31,\"A\",65,\"VK_A\",e,e],[32,0,11,\"KeyB\",32,\"B\",66,\"VK_B\",e,e],[33,0,12,\"KeyC\",33,\"C\",67,\"VK_C\",e,e],[34,0,13,\"KeyD\",34,\"D\",68,\"VK_D\",e,e],[35,0,14,\"KeyE\",35,\"E\",69,\"VK_E\",e,e],[36,0,15,\"KeyF\",36,\"F\",70,\"VK_F\",e,e],[37,0,16,\"KeyG\",37,\"G\",71,\"VK_G\",e,e],[38,0,17,\"KeyH\",38,\"H\",72,\"VK_H\",e,e],[39,0,18,\"KeyI\",39,\"I\",73,\"VK_I\",e,e],[40,0,19,\"KeyJ\",40,\"J\",74,\"VK_J\",e,e],[41,0,20,\"KeyK\",41,\"K\",75,\"VK_K\",e,e],[42,0,21,\"KeyL\",42,\"L\",76,\"VK_L\",e,e],[43,0,22,\"KeyM\",43,\"M\",77,\"VK_M\",e,e],[44,0,23,\"KeyN\",44,\"N\",78,\"VK_N\",e,e],[45,0,24,\"KeyO\",45,\"O\",79,\"VK_O\",e,e],[46,0,25,\"KeyP\",46,\"P\",80,\"VK_P\",e,e],[47,0,26,\"KeyQ\",47,\"Q\",81,\"VK_Q\",e,e],[48,0,27,\"KeyR\",48,\"R\",82,\"VK_R\",e,e],[49,0,28,\"KeyS\",49,\"S\",83,\"VK_S\",e,e],[50,0,29,\"KeyT\",50,\"T\",84,\"VK_T\",e,e],[51,0,30,\"KeyU\",51,\"U\",85,\"VK_U\",e,e],[52,0,31,\"KeyV\",52,\"V\",86,\"VK_V\",e,e],[53,0,32,\"KeyW\",53,\"W\",87,\"VK_W\",e,e],[54,0,33,\"KeyX\",54,\"X\",88,\"VK_X\",e,e],[55,0,34,\"KeyY\",55,\"Y\",89,\"VK_Y\",e,e],[56,0,35,\"KeyZ\",56,\"Z\",90,\"VK_Z\",e,e],[22,0,36,\"Digit1\",22,\"1\",49,\"VK_1\",e,e],[23,0,37,\"Digit2\",23,\"2\",50,\"VK_2\",e,e],[24,0,38,\"Digit3\",24,\"3\",51,\"VK_3\",e,e],[25,0,39,\"Digit4\",25,\"4\",52,\"VK_4\",e,e],[26,0,40,\"Digit5\",26,\"5\",53,\"VK_5\",e,e],[27,0,41,\"Digit6\",27,\"6\",54,\"VK_6\",e,e],[28,0,42,\"Digit7\",28,\"7\",55,\"VK_7\",e,e],[29,0,43,\"Digit8\",29,\"8\",56,\"VK_8\",e,e],[30,0,44,\"Digit9\",30,\"9\",57,\"VK_9\",e,e],[21,0,45,\"Digit0\",21,\"0\",48,\"VK_0\",e,e],[3,1,46,\"Enter\",3,\"Enter\",13,\"VK_RETURN\",e,e],[9,1,47,\"Escape\",9,\"Escape\",27,\"VK_ESCAPE\",e,e],[1,1,48,\"Backspace\",1,\"Backspace\",8,\"VK_BACK\",e,e],[2,1,49,\"Tab\",2,\"Tab\",9,\"VK_TAB\",e,e],[10,1,50,\"Space\",10,\"Space\",32,\"VK_SPACE\",e,e],[83,0,51,\"Minus\",83,\"-\",189,\"VK_OEM_MINUS\",\"-\",\"OEM_MINUS\"],[81,0,52,\"Equal\",81,\"=\",187,\"VK_OEM_PLUS\",\"=\",\"OEM_PLUS\"],[87,0,53,\"BracketLeft\",87,\"[\",219,\"VK_OEM_4\",\"[\",\"OEM_4\"],[89,0,54,\"BracketRight\",89,\"]\",221,\"VK_OEM_6\",\"]\",\"OEM_6\"],[88,0,55,\"Backslash\",88,\"\\\\\",220,\"VK_OEM_5\",\"\\\\\",\"OEM_5\"],[0,0,56,\"IntlHash\",0,e,0,e,e,e],[80,0,57,\"Semicolon\",80,\";\",186,\"VK_OEM_1\",\";\",\"OEM_1\"],[90,0,58,\"Quote\",90,\"'\",222,\"VK_OEM_7\",\"'\",\"OEM_7\"],[86,0,59,\"Backquote\",86,\"`\",192,\"VK_OEM_3\",\"`\",\"OEM_3\"],[82,0,60,\"Comma\",82,\",\",188,\"VK_OEM_COMMA\",\",\",\"OEM_COMMA\"],[84,0,61,\"Period\",84,\".\",190,\"VK_OEM_PERIOD\",\".\",\"OEM_PERIOD\"],[85,0,62,\"Slash\",85,\"/\",191,\"VK_OEM_2\",\"/\",\"OEM_2\"],[8,1,63,\"CapsLock\",8,\"CapsLock\",20,\"VK_CAPITAL\",e,e],[59,1,64,\"F1\",59,\"F1\",112,\"VK_F1\",e,e],[60,1,65,\"F2\",60,\"F2\",113,\"VK_F2\",e,e],[61,1,66,\"F3\",61,\"F3\",114,\"VK_F3\",e,e],[62,1,67,\"F4\",62,\"F4\",115,\"VK_F4\",e,e],[63,1,68,\"F5\",63,\"F5\",116,\"VK_F5\",e,e],[64,1,69,\"F6\",64,\"F6\",117,\"VK_F6\",e,e],[65,1,70,\"F7\",65,\"F7\",118,\"VK_F7\",e,e],[66,1,71,\"F8\",66,\"F8\",119,\"VK_F8\",e,e],[67,1,72,\"F9\",67,\"F9\",120,\"VK_F9\",e,e],[68,1,73,\"F10\",68,\"F10\",121,\"VK_F10\",e,e],[69,1,74,\"F11\",69,\"F11\",122,\"VK_F11\",e,e],[70,1,75,\"F12\",70,\"F12\",123,\"VK_F12\",e,e],[0,1,76,\"PrintScreen\",0,e,0,e,e,e],[79,1,77,\"ScrollLock\",79,\"ScrollLock\",145,\"VK_SCROLL\",e,e],[7,1,78,\"Pause\",7,\"PauseBreak\",19,\"VK_PAUSE\",e,e],[19,1,79,\"Insert\",19,\"Insert\",45,\"VK_INSERT\",e,e],[14,1,80,\"Home\",14,\"Home\",36,\"VK_HOME\",e,e],[11,1,81,\"PageUp\",11,\"PageUp\",33,\"VK_PRIOR\",e,e],[20,1,82,\"Delete\",20,\"Delete\",46,\"VK_DELETE\",e,e],[13,1,83,\"End\",13,\"End\",35,\"VK_END\",e,e],[12,1,84,\"PageDown\",12,\"PageDown\",34,\"VK_NEXT\",e,e],[17,1,85,\"ArrowRight\",17,\"RightArrow\",39,\"VK_RIGHT\",\"Right\",e],[15,1,86,\"ArrowLeft\",15,\"LeftArrow\",37,\"VK_LEFT\",\"Left\",e],[18,1,87,\"ArrowDown\",18,\"DownArrow\",40,\"VK_DOWN\",\"Down\",e],[16,1,88,\"ArrowUp\",16,\"UpArrow\",38,\"VK_UP\",\"Up\",e],[78,1,89,\"NumLock\",78,\"NumLock\",144,\"VK_NUMLOCK\",e,e],[108,1,90,\"NumpadDivide\",108,\"NumPad_Divide\",111,\"VK_DIVIDE\",e,e],[103,1,91,\"NumpadMultiply\",103,\"NumPad_Multiply\",106,\"VK_MULTIPLY\",e,e],[106,1,92,\"NumpadSubtract\",106,\"NumPad_Subtract\",109,\"VK_SUBTRACT\",e,e],[104,1,93,\"NumpadAdd\",104,\"NumPad_Add\",107,\"VK_ADD\",e,e],[3,1,94,\"NumpadEnter\",3,e,0,e,e,e],[94,1,95,\"Numpad1\",94,\"NumPad1\",97,\"VK_NUMPAD1\",e,e],[95,1,96,\"Numpad2\",95,\"NumPad2\",98,\"VK_NUMPAD2\",e,e],[96,1,97,\"Numpad3\",96,\"NumPad3\",99,\"VK_NUMPAD3\",e,e],[97,1,98,\"Numpad4\",97,\"NumPad4\",100,\"VK_NUMPAD4\",e,e],[98,1,99,\"Numpad5\",98,\"NumPad5\",101,\"VK_NUMPAD5\",e,e],[99,1,100,\"Numpad6\",99,\"NumPad6\",102,\"VK_NUMPAD6\",e,e],[100,1,101,\"Numpad7\",100,\"NumPad7\",103,\"VK_NUMPAD7\",e,e],[101,1,102,\"Numpad8\",101,\"NumPad8\",104,\"VK_NUMPAD8\",e,e],[102,1,103,\"Numpad9\",102,\"NumPad9\",105,\"VK_NUMPAD9\",e,e],[93,1,104,\"Numpad0\",93,\"NumPad0\",96,\"VK_NUMPAD0\",e,e],[107,1,105,\"NumpadDecimal\",107,\"NumPad_Decimal\",110,\"VK_DECIMAL\",e,e],[92,0,106,\"IntlBackslash\",92,\"OEM_102\",226,\"VK_OEM_102\",e,e],[58,1,107,\"ContextMenu\",58,\"ContextMenu\",93,e,e,e],[0,1,108,\"Power\",0,e,0,e,e,e],[0,1,109,\"NumpadEqual\",0,e,0,e,e,e],[71,1,110,\"F13\",71,\"F13\",124,\"VK_F13\",e,e],[72,1,111,\"F14\",72,\"F14\",125,\"VK_F14\",e,e],[73,1,112,\"F15\",73,\"F15\",126,\"VK_F15\",e,e],[74,1,113,\"F16\",74,\"F16\",127,\"VK_F16\",e,e],[75,1,114,\"F17\",75,\"F17\",128,\"VK_F17\",e,e],[76,1,115,\"F18\",76,\"F18\",129,\"VK_F18\",e,e],[77,1,116,\"F19\",77,\"F19\",130,\"VK_F19\",e,e],[0,1,117,\"F20\",0,e,0,\"VK_F20\",e,e],[0,1,118,\"F21\",0,e,0,\"VK_F21\",e,e],[0,1,119,\"F22\",0,e,0,\"VK_F22\",e,e],[0,1,120,\"F23\",0,e,0,\"VK_F23\",e,e],[0,1,121,\"F24\",0,e,0,\"VK_F24\",e,e],[0,1,122,\"Open\",0,e,0,e,e,e],[0,1,123,\"Help\",0,e,0,e,e,e],[0,1,124,\"Select\",0,e,0,e,e,e],[0,1,125,\"Again\",0,e,0,e,e,e],[0,1,126,\"Undo\",0,e,0,e,e,e],[0,1,127,\"Cut\",0,e,0,e,e,e],[0,1,128,\"Copy\",0,e,0,e,e,e],[0,1,129,\"Paste\",0,e,0,e,e,e],[0,1,130,\"Find\",0,e,0,e,e,e],[0,1,131,\"AudioVolumeMute\",112,\"AudioVolumeMute\",173,\"VK_VOLUME_MUTE\",e,e],[0,1,132,\"AudioVolumeUp\",113,\"AudioVolumeUp\",175,\"VK_VOLUME_UP\",e,e],[0,1,133,\"AudioVolumeDown\",114,\"AudioVolumeDown\",174,\"VK_VOLUME_DOWN\",e,e],[105,1,134,\"NumpadComma\",105,\"NumPad_Separator\",108,\"VK_SEPARATOR\",e,e],[110,0,135,\"IntlRo\",110,\"ABNT_C1\",193,\"VK_ABNT_C1\",e,e],[0,1,136,\"KanaMode\",0,e,0,e,e,e],[0,0,137,\"IntlYen\",0,e,0,e,e,e],[0,1,138,\"Convert\",0,e,0,e,e,e],[0,1,139,\"NonConvert\",0,e,0,e,e,e],[0,1,140,\"Lang1\",0,e,0,e,e,e],[0,1,141,\"Lang2\",0,e,0,e,e,e],[0,1,142,\"Lang3\",0,e,0,e,e,e],[0,1,143,\"Lang4\",0,e,0,e,e,e],[0,1,144,\"Lang5\",0,e,0,e,e,e],[0,1,145,\"Abort\",0,e,0,e,e,e],[0,1,146,\"Props\",0,e,0,e,e,e],[0,1,147,\"NumpadParenLeft\",0,e,0,e,e,e],[0,1,148,\"NumpadParenRight\",0,e,0,e,e,e],[0,1,149,\"NumpadBackspace\",0,e,0,e,e,e],[0,1,150,\"NumpadMemoryStore\",0,e,0,e,e,e],[0,1,151,\"NumpadMemoryRecall\",0,e,0,e,e,e],[0,1,152,\"NumpadMemoryClear\",0,e,0,e,e,e],[0,1,153,\"NumpadMemoryAdd\",0,e,0,e,e,e],[0,1,154,\"NumpadMemorySubtract\",0,e,0,e,e,e],[0,1,155,\"NumpadClear\",126,\"Clear\",12,\"VK_CLEAR\",e,e],[0,1,156,\"NumpadClearEntry\",0,e,0,e,e,e],[5,1,0,e,5,\"Ctrl\",17,\"VK_CONTROL\",e,e],[4,1,0,e,4,\"Shift\",16,\"VK_SHIFT\",e,e],[6,1,0,e,6,\"Alt\",18,\"VK_MENU\",e,e],[57,1,0,e,57,\"Meta\",0,\"VK_COMMAND\",e,e],[5,1,157,\"ControlLeft\",5,e,0,\"VK_LCONTROL\",e,e],[4,1,158,\"ShiftLeft\",4,e,0,\"VK_LSHIFT\",e,e],[6,1,159,\"AltLeft\",6,e,0,\"VK_LMENU\",e,e],[57,1,160,\"MetaLeft\",57,e,0,\"VK_LWIN\",e,e],[5,1,161,\"ControlRight\",5,e,0,\"VK_RCONTROL\",e,e],[4,1,162,\"ShiftRight\",4,e,0,\"VK_RSHIFT\",e,e],[6,1,163,\"AltRight\",6,e,0,\"VK_RMENU\",e,e],[57,1,164,\"MetaRight\",57,e,0,\"VK_RWIN\",e,e],[0,1,165,\"BrightnessUp\",0,e,0,e,e,e],[0,1,166,\"BrightnessDown\",0,e,0,e,e,e],[0,1,167,\"MediaPlay\",0,e,0,e,e,e],[0,1,168,\"MediaRecord\",0,e,0,e,e,e],[0,1,169,\"MediaFastForward\",0,e,0,e,e,e],[0,1,170,\"MediaRewind\",0,e,0,e,e,e],[114,1,171,\"MediaTrackNext\",119,\"MediaTrackNext\",176,\"VK_MEDIA_NEXT_TRACK\",e,e],[115,1,172,\"MediaTrackPrevious\",120,\"MediaTrackPrevious\",177,\"VK_MEDIA_PREV_TRACK\",e,e],[116,1,173,\"MediaStop\",121,\"MediaStop\",178,\"VK_MEDIA_STOP\",e,e],[0,1,174,\"Eject\",0,e,0,e,e,e],[117,1,175,\"MediaPlayPause\",122,\"MediaPlayPause\",179,\"VK_MEDIA_PLAY_PAUSE\",e,e],[0,1,176,\"MediaSelect\",123,\"LaunchMediaPlayer\",181,\"VK_MEDIA_LAUNCH_MEDIA_SELECT\",e,e],[0,1,177,\"LaunchMail\",124,\"LaunchMail\",180,\"VK_MEDIA_LAUNCH_MAIL\",e,e],[0,1,178,\"LaunchApp2\",125,\"LaunchApp2\",183,\"VK_MEDIA_LAUNCH_APP2\",e,e],[0,1,179,\"LaunchApp1\",0,e,0,\"VK_MEDIA_LAUNCH_APP1\",e,e],[0,1,180,\"SelectTask\",0,e,0,e,e,e],[0,1,181,\"LaunchScreenSaver\",0,e,0,e,e,e],[0,1,182,\"BrowserSearch\",115,\"BrowserSearch\",170,\"VK_BROWSER_SEARCH\",e,e],[0,1,183,\"BrowserHome\",116,\"BrowserHome\",172,\"VK_BROWSER_HOME\",e,e],[112,1,184,\"BrowserBack\",117,\"BrowserBack\",166,\"VK_BROWSER_BACK\",e,e],[113,1,185,\"BrowserForward\",118,\"BrowserForward\",167,\"VK_BROWSER_FORWARD\",e,e],[0,1,186,\"BrowserStop\",0,e,0,\"VK_BROWSER_STOP\",e,e],[0,1,187,\"BrowserRefresh\",0,e,0,\"VK_BROWSER_REFRESH\",e,e],[0,1,188,\"BrowserFavorites\",0,e,0,\"VK_BROWSER_FAVORITES\",e,e],[0,1,189,\"ZoomToggle\",0,e,0,e,e,e],[0,1,190,\"MailReply\",0,e,0,e,e,e],[0,1,191,\"MailForward\",0,e,0,e,e,e],[0,1,192,\"MailSend\",0,e,0,e,e,e],[109,1,0,e,109,\"KeyInComposition\",229,e,e,e],[111,1,0,e,111,\"ABNT_C2\",194,\"VK_ABNT_C2\",e,e],[91,1,0,e,91,\"OEM_8\",223,\"VK_OEM_8\",e,e],[0,1,0,e,0,e,0,\"VK_KANA\",e,e],[0,1,0,e,0,e,0,\"VK_HANGUL\",e,e],[0,1,0,e,0,e,0,\"VK_JUNJA\",e,e],[0,1,0,e,0,e,0,\"VK_FINAL\",e,e],[0,1,0,e,0,e,0,\"VK_HANJA\",e,e],[0,1,0,e,0,e,0,\"VK_KANJI\",e,e],[0,1,0,e,0,e,0,\"VK_CONVERT\",e,e],[0,1,0,e,0,e,0,\"VK_NONCONVERT\",e,e],[0,1,0,e,0,e,0,\"VK_ACCEPT\",e,e],[0,1,0,e,0,e,0,\"VK_MODECHANGE\",e,e],[0,1,0,e,0,e,0,\"VK_SELECT\",e,e],[0,1,0,e,0,e,0,\"VK_PRINT\",e,e],[0,1,0,e,0,e,0,\"VK_EXECUTE\",e,e],[0,1,0,e,0,e,0,\"VK_SNAPSHOT\",e,e],[0,1,0,e,0,e,0,\"VK_HELP\",e,e],[0,1,0,e,0,e,0,\"VK_APPS\",e,e],[0,1,0,e,0,e,0,\"VK_PROCESSKEY\",e,e],[0,1,0,e,0,e,0,\"VK_PACKET\",e,e],[0,1,0,e,0,e,0,\"VK_DBE_SBCSCHAR\",e,e],[0,1,0,e,0,e,0,\"VK_DBE_DBCSCHAR\",e,e],[0,1,0,e,0,e,0,\"VK_ATTN\",e,e],[0,1,0,e,0,e,0,\"VK_CRSEL\",e,e],[0,1,0,e,0,e,0,\"VK_EXSEL\",e,e],[0,1,0,e,0,e,0,\"VK_EREOF\",e,e],[0,1,0,e,0,e,0,\"VK_PLAY\",e,e],[0,1,0,e,0,e,0,\"VK_ZOOM\",e,e],[0,1,0,e,0,e,0,\"VK_NONAME\",e,e],[0,1,0,e,0,e,0,\"VK_PA1\",e,e],[0,1,0,e,0,e,0,\"VK_OEM_CLEAR\",e,e]];let r=[],n=[];for(const i of t){const[s,o,l,u,c,h,f,d,m,b]=i;if(n[l]||(n[l]=!0,Ts[u]=l,Es[u.toLowerCase()]=l),!r[c]){if(r[c]=!0,!h)throw new Error(`String representation missing for key code ${c} around scan code ${u}`);It.define(c,h),wr.define(c,m||h),yr.define(c,b||m||h)}f&&(Ps[f]=c)}})();var Nn;(function(e){function t(l){return It.keyCodeToStr(l)}e.toString=t;function r(l){return It.strToKeyCode(l)}e.fromString=r;function n(l){return wr.keyCodeToStr(l)}e.toUserSettingsUS=n;function i(l){return yr.keyCodeToStr(l)}e.toUserSettingsGeneral=i;function s(l){return wr.strToKeyCode(l)||yr.strToKeyCode(l)}e.fromUserSettings=s;function o(l){if(l>=93&&l<=108)return null;switch(l){case 16:return\"Up\";case 18:return\"Down\";case 15:return\"Left\";case 17:return\"Right\"}return It.keyCodeToStr(l)}e.toElectronAccelerator=o})(Nn||(Nn={}));function Fs(e,t){const r=(t&65535)<<16>>>0;return(e|r)>>>0}class fe extends J{constructor(t,r,n,i){super(t,r,n,i),this.selectionStartLineNumber=t,this.selectionStartColumn=r,this.positionLineNumber=n,this.positionColumn=i}toString(){return\"[\"+this.selectionStartLineNumber+\",\"+this.selectionStartColumn+\" -> \"+this.positionLineNumber+\",\"+this.positionColumn+\"]\"}equalsSelection(t){return fe.selectionsEqual(this,t)}static selectionsEqual(t,r){return t.selectionStartLineNumber===r.selectionStartLineNumber&&t.selectionStartColumn===r.selectionStartColumn&&t.positionLineNumber===r.positionLineNumber&&t.positionColumn===r.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(t,r){return this.getDirection()===0?new fe(this.startLineNumber,this.startColumn,t,r):new fe(t,r,this.startLineNumber,this.startColumn)}getPosition(){return new le(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new le(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(t,r){return this.getDirection()===0?new fe(t,r,this.endLineNumber,this.endColumn):new fe(this.endLineNumber,this.endColumn,t,r)}static fromPositions(t,r=t){return new fe(t.lineNumber,t.column,r.lineNumber,r.column)}static fromRange(t,r){return r===0?new fe(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new fe(t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)}static liftSelection(t){return new fe(t.selectionStartLineNumber,t.selectionStartColumn,t.positionLineNumber,t.positionColumn)}static selectionsArrEqual(t,r){if(t&&!r||!t&&r)return!1;if(!t&&!r)return!0;if(t.length!==r.length)return!1;for(let n=0,i=t.length;n<i;n++)if(!this.selectionsEqual(t[n],r[n]))return!1;return!0}static isISelection(t){return t&&typeof t.selectionStartLineNumber==\"number\"&&typeof t.selectionStartColumn==\"number\"&&typeof t.positionLineNumber==\"number\"&&typeof t.positionColumn==\"number\"}static createWithDirection(t,r,n,i,s){return s===0?new fe(t,r,n,i):new fe(n,i,t,r)}}var Cr=function(e,t,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function l(h){try{c(n.next(h))}catch(f){o(f)}}function u(h){try{c(n.throw(h))}catch(f){o(f)}}function c(h){h.done?s(h.value):i(h.value).then(l,u)}c((n=n.apply(e,t||[])).next())})};class Vs{constructor(){this._map=new Map,this._factories=new Map,this._onDidChange=new ke,this.onDidChange=this._onDidChange.event,this._colorMap=null}fire(t){this._onDidChange.fire({changedLanguages:t,changedColorMap:!1})}register(t,r){return this._map.set(t,r),this.fire([t]),Nt(()=>{this._map.get(t)===r&&(this._map.delete(t),this.fire([t]))})}registerFactory(t,r){var n;(n=this._factories.get(t))===null||n===void 0||n.dispose();const i=new Is(this,t,r);return this._factories.set(t,i),Nt(()=>{const s=this._factories.get(t);!s||s!==i||(this._factories.delete(t),s.dispose())})}getOrCreate(t){return Cr(this,void 0,void 0,function*(){const r=this.get(t);if(r)return r;const n=this._factories.get(t);return!n||n.isResolved?null:(yield n.resolve(),this.get(t))})}get(t){return this._map.get(t)||null}isResolved(t){if(this.get(t))return!0;const n=this._factories.get(t);return!!(!n||n.isResolved)}setColorMap(t){this._colorMap=t,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class Is extends Qt{constructor(t,r,n){super(),this._registry=t,this._languageId=r,this._factory=n,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}get isResolved(){return this._isResolved}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return Cr(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return Cr(this,void 0,void 0,function*(){const t=yield Promise.resolve(this._factory.createTokenizationSupport());this._isResolved=!0,t&&!this._isDisposed&&this._register(this._registry.register(this._languageId,t))})}}class a{constructor(t,r,n){this.id=t,this.definition=r,this.description=n,a._allCodicons.push(this)}get classNames(){return\"codicon codicon-\"+this.id}get classNamesArray(){return[\"codicon\",\"codicon-\"+this.id]}get cssSelector(){return\".codicon.codicon-\"+this.id}static getAll(){return a._allCodicons}}a._allCodicons=[],a.add=new a(\"add\",{fontCharacter:\"\\\\ea60\"}),a.plus=new a(\"plus\",a.add.definition),a.gistNew=new a(\"gist-new\",a.add.definition),a.repoCreate=new a(\"repo-create\",a.add.definition),a.lightbulb=new a(\"lightbulb\",{fontCharacter:\"\\\\ea61\"}),a.lightBulb=new a(\"light-bulb\",{fontCharacter:\"\\\\ea61\"}),a.repo=new a(\"repo\",{fontCharacter:\"\\\\ea62\"}),a.repoDelete=new a(\"repo-delete\",{fontCharacter:\"\\\\ea62\"}),a.gistFork=new a(\"gist-fork\",{fontCharacter:\"\\\\ea63\"}),a.repoForked=new a(\"repo-forked\",{fontCharacter:\"\\\\ea63\"}),a.gitPullRequest=new a(\"git-pull-request\",{fontCharacter:\"\\\\ea64\"}),a.gitPullRequestAbandoned=new a(\"git-pull-request-abandoned\",{fontCharacter:\"\\\\ea64\"}),a.recordKeys=new a(\"record-keys\",{fontCharacter:\"\\\\ea65\"}),a.keyboard=new a(\"keyboard\",{fontCharacter:\"\\\\ea65\"}),a.tag=new a(\"tag\",{fontCharacter:\"\\\\ea66\"}),a.tagAdd=new a(\"tag-add\",{fontCharacter:\"\\\\ea66\"}),a.tagRemove=new a(\"tag-remove\",{fontCharacter:\"\\\\ea66\"}),a.person=new a(\"person\",{fontCharacter:\"\\\\ea67\"}),a.personFollow=new a(\"person-follow\",{fontCharacter:\"\\\\ea67\"}),a.personOutline=new a(\"person-outline\",{fontCharacter:\"\\\\ea67\"}),a.personFilled=new a(\"person-filled\",{fontCharacter:\"\\\\ea67\"}),a.gitBranch=new a(\"git-branch\",{fontCharacter:\"\\\\ea68\"}),a.gitBranchCreate=new a(\"git-branch-create\",{fontCharacter:\"\\\\ea68\"}),a.gitBranchDelete=new a(\"git-branch-delete\",{fontCharacter:\"\\\\ea68\"}),a.sourceControl=new a(\"source-control\",{fontCharacter:\"\\\\ea68\"}),a.mirror=new a(\"mirror\",{fontCharacter:\"\\\\ea69\"}),a.mirrorPublic=new a(\"mirror-public\",{fontCharacter:\"\\\\ea69\"}),a.star=new a(\"star\",{fontCharacter:\"\\\\ea6a\"}),a.starAdd=new a(\"star-add\",{fontCharacter:\"\\\\ea6a\"}),a.starDelete=new a(\"star-delete\",{fontCharacter:\"\\\\ea6a\"}),a.starEmpty=new a(\"star-empty\",{fontCharacter:\"\\\\ea6a\"}),a.comment=new a(\"comment\",{fontCharacter:\"\\\\ea6b\"}),a.commentAdd=new a(\"comment-add\",{fontCharacter:\"\\\\ea6b\"}),a.alert=new a(\"alert\",{fontCharacter:\"\\\\ea6c\"}),a.warning=new a(\"warning\",{fontCharacter:\"\\\\ea6c\"}),a.search=new a(\"search\",{fontCharacter:\"\\\\ea6d\"}),a.searchSave=new a(\"search-save\",{fontCharacter:\"\\\\ea6d\"}),a.logOut=new a(\"log-out\",{fontCharacter:\"\\\\ea6e\"}),a.signOut=new a(\"sign-out\",{fontCharacter:\"\\\\ea6e\"}),a.logIn=new a(\"log-in\",{fontCharacter:\"\\\\ea6f\"}),a.signIn=new a(\"sign-in\",{fontCharacter:\"\\\\ea6f\"}),a.eye=new a(\"eye\",{fontCharacter:\"\\\\ea70\"}),a.eyeUnwatch=new a(\"eye-unwatch\",{fontCharacter:\"\\\\ea70\"}),a.eyeWatch=new a(\"eye-watch\",{fontCharacter:\"\\\\ea70\"}),a.circleFilled=new a(\"circle-filled\",{fontCharacter:\"\\\\ea71\"}),a.primitiveDot=new a(\"primitive-dot\",{fontCharacter:\"\\\\ea71\"}),a.closeDirty=new a(\"close-dirty\",{fontCharacter:\"\\\\ea71\"}),a.debugBreakpoint=new a(\"debug-breakpoint\",{fontCharacter:\"\\\\ea71\"}),a.debugBreakpointDisabled=new a(\"debug-breakpoint-disabled\",{fontCharacter:\"\\\\ea71\"}),a.debugHint=new a(\"debug-hint\",{fontCharacter:\"\\\\ea71\"}),a.primitiveSquare=new a(\"primitive-square\",{fontCharacter:\"\\\\ea72\"}),a.edit=new a(\"edit\",{fontCharacter:\"\\\\ea73\"}),a.pencil=new a(\"pencil\",{fontCharacter:\"\\\\ea73\"}),a.info=new a(\"info\",{fontCharacter:\"\\\\ea74\"}),a.issueOpened=new a(\"issue-opened\",{fontCharacter:\"\\\\ea74\"}),a.gistPrivate=new a(\"gist-private\",{fontCharacter:\"\\\\ea75\"}),a.gitForkPrivate=new a(\"git-fork-private\",{fontCharacter:\"\\\\ea75\"}),a.lock=new a(\"lock\",{fontCharacter:\"\\\\ea75\"}),a.mirrorPrivate=new a(\"mirror-private\",{fontCharacter:\"\\\\ea75\"}),a.close=new a(\"close\",{fontCharacter:\"\\\\ea76\"}),a.removeClose=new a(\"remove-close\",{fontCharacter:\"\\\\ea76\"}),a.x=new a(\"x\",{fontCharacter:\"\\\\ea76\"}),a.repoSync=new a(\"repo-sync\",{fontCharacter:\"\\\\ea77\"}),a.sync=new a(\"sync\",{fontCharacter:\"\\\\ea77\"}),a.clone=new a(\"clone\",{fontCharacter:\"\\\\ea78\"}),a.desktopDownload=new a(\"desktop-download\",{fontCharacter:\"\\\\ea78\"}),a.beaker=new a(\"beaker\",{fontCharacter:\"\\\\ea79\"}),a.microscope=new a(\"microscope\",{fontCharacter:\"\\\\ea79\"}),a.vm=new a(\"vm\",{fontCharacter:\"\\\\ea7a\"}),a.deviceDesktop=new a(\"device-desktop\",{fontCharacter:\"\\\\ea7a\"}),a.file=new a(\"file\",{fontCharacter:\"\\\\ea7b\"}),a.fileText=new a(\"file-text\",{fontCharacter:\"\\\\ea7b\"}),a.more=new a(\"more\",{fontCharacter:\"\\\\ea7c\"}),a.ellipsis=new a(\"ellipsis\",{fontCharacter:\"\\\\ea7c\"}),a.kebabHorizontal=new a(\"kebab-horizontal\",{fontCharacter:\"\\\\ea7c\"}),a.mailReply=new a(\"mail-reply\",{fontCharacter:\"\\\\ea7d\"}),a.reply=new a(\"reply\",{fontCharacter:\"\\\\ea7d\"}),a.organization=new a(\"organization\",{fontCharacter:\"\\\\ea7e\"}),a.organizationFilled=new a(\"organization-filled\",{fontCharacter:\"\\\\ea7e\"}),a.organizationOutline=new a(\"organization-outline\",{fontCharacter:\"\\\\ea7e\"}),a.newFile=new a(\"new-file\",{fontCharacter:\"\\\\ea7f\"}),a.fileAdd=new a(\"file-add\",{fontCharacter:\"\\\\ea7f\"}),a.newFolder=new a(\"new-folder\",{fontCharacter:\"\\\\ea80\"}),a.fileDirectoryCreate=new a(\"file-directory-create\",{fontCharacter:\"\\\\ea80\"}),a.trash=new a(\"trash\",{fontCharacter:\"\\\\ea81\"}),a.trashcan=new a(\"trashcan\",{fontCharacter:\"\\\\ea81\"}),a.history=new a(\"history\",{fontCharacter:\"\\\\ea82\"}),a.clock=new a(\"clock\",{fontCharacter:\"\\\\ea82\"}),a.folder=new a(\"folder\",{fontCharacter:\"\\\\ea83\"}),a.fileDirectory=new a(\"file-directory\",{fontCharacter:\"\\\\ea83\"}),a.symbolFolder=new a(\"symbol-folder\",{fontCharacter:\"\\\\ea83\"}),a.logoGithub=new a(\"logo-github\",{fontCharacter:\"\\\\ea84\"}),a.markGithub=new a(\"mark-github\",{fontCharacter:\"\\\\ea84\"}),a.github=new a(\"github\",{fontCharacter:\"\\\\ea84\"}),a.terminal=new a(\"terminal\",{fontCharacter:\"\\\\ea85\"}),a.console=new a(\"console\",{fontCharacter:\"\\\\ea85\"}),a.repl=new a(\"repl\",{fontCharacter:\"\\\\ea85\"}),a.zap=new a(\"zap\",{fontCharacter:\"\\\\ea86\"}),a.symbolEvent=new a(\"symbol-event\",{fontCharacter:\"\\\\ea86\"}),a.error=new a(\"error\",{fontCharacter:\"\\\\ea87\"}),a.stop=new a(\"stop\",{fontCharacter:\"\\\\ea87\"}),a.variable=new a(\"variable\",{fontCharacter:\"\\\\ea88\"}),a.symbolVariable=new a(\"symbol-variable\",{fontCharacter:\"\\\\ea88\"}),a.array=new a(\"array\",{fontCharacter:\"\\\\ea8a\"}),a.symbolArray=new a(\"symbol-array\",{fontCharacter:\"\\\\ea8a\"}),a.symbolModule=new a(\"symbol-module\",{fontCharacter:\"\\\\ea8b\"}),a.symbolPackage=new a(\"symbol-package\",{fontCharacter:\"\\\\ea8b\"}),a.symbolNamespace=new a(\"symbol-namespace\",{fontCharacter:\"\\\\ea8b\"}),a.symbolObject=new a(\"symbol-object\",{fontCharacter:\"\\\\ea8b\"}),a.symbolMethod=new a(\"symbol-method\",{fontCharacter:\"\\\\ea8c\"}),a.symbolFunction=new a(\"symbol-function\",{fontCharacter:\"\\\\ea8c\"}),a.symbolConstructor=new a(\"symbol-constructor\",{fontCharacter:\"\\\\ea8c\"}),a.symbolBoolean=new a(\"symbol-boolean\",{fontCharacter:\"\\\\ea8f\"}),a.symbolNull=new a(\"symbol-null\",{fontCharacter:\"\\\\ea8f\"}),a.symbolNumeric=new a(\"symbol-numeric\",{fontCharacter:\"\\\\ea90\"}),a.symbolNumber=new a(\"symbol-number\",{fontCharacter:\"\\\\ea90\"}),a.symbolStructure=new a(\"symbol-structure\",{fontCharacter:\"\\\\ea91\"}),a.symbolStruct=new a(\"symbol-struct\",{fontCharacter:\"\\\\ea91\"}),a.symbolParameter=new a(\"symbol-parameter\",{fontCharacter:\"\\\\ea92\"}),a.symbolTypeParameter=new a(\"symbol-type-parameter\",{fontCharacter:\"\\\\ea92\"}),a.symbolKey=new a(\"symbol-key\",{fontCharacter:\"\\\\ea93\"}),a.symbolText=new a(\"symbol-text\",{fontCharacter:\"\\\\ea93\"}),a.symbolReference=new a(\"symbol-reference\",{fontCharacter:\"\\\\ea94\"}),a.goToFile=new a(\"go-to-file\",{fontCharacter:\"\\\\ea94\"}),a.symbolEnum=new a(\"symbol-enum\",{fontCharacter:\"\\\\ea95\"}),a.symbolValue=new a(\"symbol-value\",{fontCharacter:\"\\\\ea95\"}),a.symbolRuler=new a(\"symbol-ruler\",{fontCharacter:\"\\\\ea96\"}),a.symbolUnit=new a(\"symbol-unit\",{fontCharacter:\"\\\\ea96\"}),a.activateBreakpoints=new a(\"activate-breakpoints\",{fontCharacter:\"\\\\ea97\"}),a.archive=new a(\"archive\",{fontCharacter:\"\\\\ea98\"}),a.arrowBoth=new a(\"arrow-both\",{fontCharacter:\"\\\\ea99\"}),a.arrowDown=new a(\"arrow-down\",{fontCharacter:\"\\\\ea9a\"}),a.arrowLeft=new a(\"arrow-left\",{fontCharacter:\"\\\\ea9b\"}),a.arrowRight=new a(\"arrow-right\",{fontCharacter:\"\\\\ea9c\"}),a.arrowSmallDown=new a(\"arrow-small-down\",{fontCharacter:\"\\\\ea9d\"}),a.arrowSmallLeft=new a(\"arrow-small-left\",{fontCharacter:\"\\\\ea9e\"}),a.arrowSmallRight=new a(\"arrow-small-right\",{fontCharacter:\"\\\\ea9f\"}),a.arrowSmallUp=new a(\"arrow-small-up\",{fontCharacter:\"\\\\eaa0\"}),a.arrowUp=new a(\"arrow-up\",{fontCharacter:\"\\\\eaa1\"}),a.bell=new a(\"bell\",{fontCharacter:\"\\\\eaa2\"}),a.bold=new a(\"bold\",{fontCharacter:\"\\\\eaa3\"}),a.book=new a(\"book\",{fontCharacter:\"\\\\eaa4\"}),a.bookmark=new a(\"bookmark\",{fontCharacter:\"\\\\eaa5\"}),a.debugBreakpointConditionalUnverified=new a(\"debug-breakpoint-conditional-unverified\",{fontCharacter:\"\\\\eaa6\"}),a.debugBreakpointConditional=new a(\"debug-breakpoint-conditional\",{fontCharacter:\"\\\\eaa7\"}),a.debugBreakpointConditionalDisabled=new a(\"debug-breakpoint-conditional-disabled\",{fontCharacter:\"\\\\eaa7\"}),a.debugBreakpointDataUnverified=new a(\"debug-breakpoint-data-unverified\",{fontCharacter:\"\\\\eaa8\"}),a.debugBreakpointData=new a(\"debug-breakpoint-data\",{fontCharacter:\"\\\\eaa9\"}),a.debugBreakpointDataDisabled=new a(\"debug-breakpoint-data-disabled\",{fontCharacter:\"\\\\eaa9\"}),a.debugBreakpointLogUnverified=new a(\"debug-breakpoint-log-unverified\",{fontCharacter:\"\\\\eaaa\"}),a.debugBreakpointLog=new a(\"debug-breakpoint-log\",{fontCharacter:\"\\\\eaab\"}),a.debugBreakpointLogDisabled=new a(\"debug-breakpoint-log-disabled\",{fontCharacter:\"\\\\eaab\"}),a.briefcase=new a(\"briefcase\",{fontCharacter:\"\\\\eaac\"}),a.broadcast=new a(\"broadcast\",{fontCharacter:\"\\\\eaad\"}),a.browser=new a(\"browser\",{fontCharacter:\"\\\\eaae\"}),a.bug=new a(\"bug\",{fontCharacter:\"\\\\eaaf\"}),a.calendar=new a(\"calendar\",{fontCharacter:\"\\\\eab0\"}),a.caseSensitive=new a(\"case-sensitive\",{fontCharacter:\"\\\\eab1\"}),a.check=new a(\"check\",{fontCharacter:\"\\\\eab2\"}),a.checklist=new a(\"checklist\",{fontCharacter:\"\\\\eab3\"}),a.chevronDown=new a(\"chevron-down\",{fontCharacter:\"\\\\eab4\"}),a.dropDownButton=new a(\"drop-down-button\",a.chevronDown.definition),a.chevronLeft=new a(\"chevron-left\",{fontCharacter:\"\\\\eab5\"}),a.chevronRight=new a(\"chevron-right\",{fontCharacter:\"\\\\eab6\"}),a.chevronUp=new a(\"chevron-up\",{fontCharacter:\"\\\\eab7\"}),a.chromeClose=new a(\"chrome-close\",{fontCharacter:\"\\\\eab8\"}),a.chromeMaximize=new a(\"chrome-maximize\",{fontCharacter:\"\\\\eab9\"}),a.chromeMinimize=new a(\"chrome-minimize\",{fontCharacter:\"\\\\eaba\"}),a.chromeRestore=new a(\"chrome-restore\",{fontCharacter:\"\\\\eabb\"}),a.circleOutline=new a(\"circle-outline\",{fontCharacter:\"\\\\eabc\"}),a.debugBreakpointUnverified=new a(\"debug-breakpoint-unverified\",{fontCharacter:\"\\\\eabc\"}),a.circleSlash=new a(\"circle-slash\",{fontCharacter:\"\\\\eabd\"}),a.circuitBoard=new a(\"circuit-board\",{fontCharacter:\"\\\\eabe\"}),a.clearAll=new a(\"clear-all\",{fontCharacter:\"\\\\eabf\"}),a.clippy=new a(\"clippy\",{fontCharacter:\"\\\\eac0\"}),a.closeAll=new a(\"close-all\",{fontCharacter:\"\\\\eac1\"}),a.cloudDownload=new a(\"cloud-download\",{fontCharacter:\"\\\\eac2\"}),a.cloudUpload=new a(\"cloud-upload\",{fontCharacter:\"\\\\eac3\"}),a.code=new a(\"code\",{fontCharacter:\"\\\\eac4\"}),a.collapseAll=new a(\"collapse-all\",{fontCharacter:\"\\\\eac5\"}),a.colorMode=new a(\"color-mode\",{fontCharacter:\"\\\\eac6\"}),a.commentDiscussion=new a(\"comment-discussion\",{fontCharacter:\"\\\\eac7\"}),a.compareChanges=new a(\"compare-changes\",{fontCharacter:\"\\\\eafd\"}),a.creditCard=new a(\"credit-card\",{fontCharacter:\"\\\\eac9\"}),a.dash=new a(\"dash\",{fontCharacter:\"\\\\eacc\"}),a.dashboard=new a(\"dashboard\",{fontCharacter:\"\\\\eacd\"}),a.database=new a(\"database\",{fontCharacter:\"\\\\eace\"}),a.debugContinue=new a(\"debug-continue\",{fontCharacter:\"\\\\eacf\"}),a.debugDisconnect=new a(\"debug-disconnect\",{fontCharacter:\"\\\\ead0\"}),a.debugPause=new a(\"debug-pause\",{fontCharacter:\"\\\\ead1\"}),a.debugRestart=new a(\"debug-restart\",{fontCharacter:\"\\\\ead2\"}),a.debugStart=new a(\"debug-start\",{fontCharacter:\"\\\\ead3\"}),a.debugStepInto=new a(\"debug-step-into\",{fontCharacter:\"\\\\ead4\"}),a.debugStepOut=new a(\"debug-step-out\",{fontCharacter:\"\\\\ead5\"}),a.debugStepOver=new a(\"debug-step-over\",{fontCharacter:\"\\\\ead6\"}),a.debugStop=new a(\"debug-stop\",{fontCharacter:\"\\\\ead7\"}),a.debug=new a(\"debug\",{fontCharacter:\"\\\\ead8\"}),a.deviceCameraVideo=new a(\"device-camera-video\",{fontCharacter:\"\\\\ead9\"}),a.deviceCamera=new a(\"device-camera\",{fontCharacter:\"\\\\eada\"}),a.deviceMobile=new a(\"device-mobile\",{fontCharacter:\"\\\\eadb\"}),a.diffAdded=new a(\"diff-added\",{fontCharacter:\"\\\\eadc\"}),a.diffIgnored=new a(\"diff-ignored\",{fontCharacter:\"\\\\eadd\"}),a.diffModified=new a(\"diff-modified\",{fontCharacter:\"\\\\eade\"}),a.diffRemoved=new a(\"diff-removed\",{fontCharacter:\"\\\\eadf\"}),a.diffRenamed=new a(\"diff-renamed\",{fontCharacter:\"\\\\eae0\"}),a.diff=new a(\"diff\",{fontCharacter:\"\\\\eae1\"}),a.discard=new a(\"discard\",{fontCharacter:\"\\\\eae2\"}),a.editorLayout=new a(\"editor-layout\",{fontCharacter:\"\\\\eae3\"}),a.emptyWindow=new a(\"empty-window\",{fontCharacter:\"\\\\eae4\"}),a.exclude=new a(\"exclude\",{fontCharacter:\"\\\\eae5\"}),a.extensions=new a(\"extensions\",{fontCharacter:\"\\\\eae6\"}),a.eyeClosed=new a(\"eye-closed\",{fontCharacter:\"\\\\eae7\"}),a.fileBinary=new a(\"file-binary\",{fontCharacter:\"\\\\eae8\"}),a.fileCode=new a(\"file-code\",{fontCharacter:\"\\\\eae9\"}),a.fileMedia=new a(\"file-media\",{fontCharacter:\"\\\\eaea\"}),a.filePdf=new a(\"file-pdf\",{fontCharacter:\"\\\\eaeb\"}),a.fileSubmodule=new a(\"file-submodule\",{fontCharacter:\"\\\\eaec\"}),a.fileSymlinkDirectory=new a(\"file-symlink-directory\",{fontCharacter:\"\\\\eaed\"}),a.fileSymlinkFile=new a(\"file-symlink-file\",{fontCharacter:\"\\\\eaee\"}),a.fileZip=new a(\"file-zip\",{fontCharacter:\"\\\\eaef\"}),a.files=new a(\"files\",{fontCharacter:\"\\\\eaf0\"}),a.filter=new a(\"filter\",{fontCharacter:\"\\\\eaf1\"}),a.flame=new a(\"flame\",{fontCharacter:\"\\\\eaf2\"}),a.foldDown=new a(\"fold-down\",{fontCharacter:\"\\\\eaf3\"}),a.foldUp=new a(\"fold-up\",{fontCharacter:\"\\\\eaf4\"}),a.fold=new a(\"fold\",{fontCharacter:\"\\\\eaf5\"}),a.folderActive=new a(\"folder-active\",{fontCharacter:\"\\\\eaf6\"}),a.folderOpened=new a(\"folder-opened\",{fontCharacter:\"\\\\eaf7\"}),a.gear=new a(\"gear\",{fontCharacter:\"\\\\eaf8\"}),a.gift=new a(\"gift\",{fontCharacter:\"\\\\eaf9\"}),a.gistSecret=new a(\"gist-secret\",{fontCharacter:\"\\\\eafa\"}),a.gist=new a(\"gist\",{fontCharacter:\"\\\\eafb\"}),a.gitCommit=new a(\"git-commit\",{fontCharacter:\"\\\\eafc\"}),a.gitCompare=new a(\"git-compare\",{fontCharacter:\"\\\\eafd\"}),a.gitMerge=new a(\"git-merge\",{fontCharacter:\"\\\\eafe\"}),a.githubAction=new a(\"github-action\",{fontCharacter:\"\\\\eaff\"}),a.githubAlt=new a(\"github-alt\",{fontCharacter:\"\\\\eb00\"}),a.globe=new a(\"globe\",{fontCharacter:\"\\\\eb01\"}),a.grabber=new a(\"grabber\",{fontCharacter:\"\\\\eb02\"}),a.graph=new a(\"graph\",{fontCharacter:\"\\\\eb03\"}),a.gripper=new a(\"gripper\",{fontCharacter:\"\\\\eb04\"}),a.heart=new a(\"heart\",{fontCharacter:\"\\\\eb05\"}),a.home=new a(\"home\",{fontCharacter:\"\\\\eb06\"}),a.horizontalRule=new a(\"horizontal-rule\",{fontCharacter:\"\\\\eb07\"}),a.hubot=new a(\"hubot\",{fontCharacter:\"\\\\eb08\"}),a.inbox=new a(\"inbox\",{fontCharacter:\"\\\\eb09\"}),a.issueClosed=new a(\"issue-closed\",{fontCharacter:\"\\\\eba4\"}),a.issueReopened=new a(\"issue-reopened\",{fontCharacter:\"\\\\eb0b\"}),a.issues=new a(\"issues\",{fontCharacter:\"\\\\eb0c\"}),a.italic=new a(\"italic\",{fontCharacter:\"\\\\eb0d\"}),a.jersey=new a(\"jersey\",{fontCharacter:\"\\\\eb0e\"}),a.json=new a(\"json\",{fontCharacter:\"\\\\eb0f\"}),a.kebabVertical=new a(\"kebab-vertical\",{fontCharacter:\"\\\\eb10\"}),a.key=new a(\"key\",{fontCharacter:\"\\\\eb11\"}),a.law=new a(\"law\",{fontCharacter:\"\\\\eb12\"}),a.lightbulbAutofix=new a(\"lightbulb-autofix\",{fontCharacter:\"\\\\eb13\"}),a.linkExternal=new a(\"link-external\",{fontCharacter:\"\\\\eb14\"}),a.link=new a(\"link\",{fontCharacter:\"\\\\eb15\"}),a.listOrdered=new a(\"list-ordered\",{fontCharacter:\"\\\\eb16\"}),a.listUnordered=new a(\"list-unordered\",{fontCharacter:\"\\\\eb17\"}),a.liveShare=new a(\"live-share\",{fontCharacter:\"\\\\eb18\"}),a.loading=new a(\"loading\",{fontCharacter:\"\\\\eb19\"}),a.location=new a(\"location\",{fontCharacter:\"\\\\eb1a\"}),a.mailRead=new a(\"mail-read\",{fontCharacter:\"\\\\eb1b\"}),a.mail=new a(\"mail\",{fontCharacter:\"\\\\eb1c\"}),a.markdown=new a(\"markdown\",{fontCharacter:\"\\\\eb1d\"}),a.megaphone=new a(\"megaphone\",{fontCharacter:\"\\\\eb1e\"}),a.mention=new a(\"mention\",{fontCharacter:\"\\\\eb1f\"}),a.milestone=new a(\"milestone\",{fontCharacter:\"\\\\eb20\"}),a.mortarBoard=new a(\"mortar-board\",{fontCharacter:\"\\\\eb21\"}),a.move=new a(\"move\",{fontCharacter:\"\\\\eb22\"}),a.multipleWindows=new a(\"multiple-windows\",{fontCharacter:\"\\\\eb23\"}),a.mute=new a(\"mute\",{fontCharacter:\"\\\\eb24\"}),a.noNewline=new a(\"no-newline\",{fontCharacter:\"\\\\eb25\"}),a.note=new a(\"note\",{fontCharacter:\"\\\\eb26\"}),a.octoface=new a(\"octoface\",{fontCharacter:\"\\\\eb27\"}),a.openPreview=new a(\"open-preview\",{fontCharacter:\"\\\\eb28\"}),a.package_=new a(\"package\",{fontCharacter:\"\\\\eb29\"}),a.paintcan=new a(\"paintcan\",{fontCharacter:\"\\\\eb2a\"}),a.pin=new a(\"pin\",{fontCharacter:\"\\\\eb2b\"}),a.play=new a(\"play\",{fontCharacter:\"\\\\eb2c\"}),a.run=new a(\"run\",{fontCharacter:\"\\\\eb2c\"}),a.plug=new a(\"plug\",{fontCharacter:\"\\\\eb2d\"}),a.preserveCase=new a(\"preserve-case\",{fontCharacter:\"\\\\eb2e\"}),a.preview=new a(\"preview\",{fontCharacter:\"\\\\eb2f\"}),a.project=new a(\"project\",{fontCharacter:\"\\\\eb30\"}),a.pulse=new a(\"pulse\",{fontCharacter:\"\\\\eb31\"}),a.question=new a(\"question\",{fontCharacter:\"\\\\eb32\"}),a.quote=new a(\"quote\",{fontCharacter:\"\\\\eb33\"}),a.radioTower=new a(\"radio-tower\",{fontCharacter:\"\\\\eb34\"}),a.reactions=new a(\"reactions\",{fontCharacter:\"\\\\eb35\"}),a.references=new a(\"references\",{fontCharacter:\"\\\\eb36\"}),a.refresh=new a(\"refresh\",{fontCharacter:\"\\\\eb37\"}),a.regex=new a(\"regex\",{fontCharacter:\"\\\\eb38\"}),a.remoteExplorer=new a(\"remote-explorer\",{fontCharacter:\"\\\\eb39\"}),a.remote=new a(\"remote\",{fontCharacter:\"\\\\eb3a\"}),a.remove=new a(\"remove\",{fontCharacter:\"\\\\eb3b\"}),a.replaceAll=new a(\"replace-all\",{fontCharacter:\"\\\\eb3c\"}),a.replace=new a(\"replace\",{fontCharacter:\"\\\\eb3d\"}),a.repoClone=new a(\"repo-clone\",{fontCharacter:\"\\\\eb3e\"}),a.repoForcePush=new a(\"repo-force-push\",{fontCharacter:\"\\\\eb3f\"}),a.repoPull=new a(\"repo-pull\",{fontCharacter:\"\\\\eb40\"}),a.repoPush=new a(\"repo-push\",{fontCharacter:\"\\\\eb41\"}),a.report=new a(\"report\",{fontCharacter:\"\\\\eb42\"}),a.requestChanges=new a(\"request-changes\",{fontCharacter:\"\\\\eb43\"}),a.rocket=new a(\"rocket\",{fontCharacter:\"\\\\eb44\"}),a.rootFolderOpened=new a(\"root-folder-opened\",{fontCharacter:\"\\\\eb45\"}),a.rootFolder=new a(\"root-folder\",{fontCharacter:\"\\\\eb46\"}),a.rss=new a(\"rss\",{fontCharacter:\"\\\\eb47\"}),a.ruby=new a(\"ruby\",{fontCharacter:\"\\\\eb48\"}),a.saveAll=new a(\"save-all\",{fontCharacter:\"\\\\eb49\"}),a.saveAs=new a(\"save-as\",{fontCharacter:\"\\\\eb4a\"}),a.save=new a(\"save\",{fontCharacter:\"\\\\eb4b\"}),a.screenFull=new a(\"screen-full\",{fontCharacter:\"\\\\eb4c\"}),a.screenNormal=new a(\"screen-normal\",{fontCharacter:\"\\\\eb4d\"}),a.searchStop=new a(\"search-stop\",{fontCharacter:\"\\\\eb4e\"}),a.server=new a(\"server\",{fontCharacter:\"\\\\eb50\"}),a.settingsGear=new a(\"settings-gear\",{fontCharacter:\"\\\\eb51\"}),a.settings=new a(\"settings\",{fontCharacter:\"\\\\eb52\"}),a.shield=new a(\"shield\",{fontCharacter:\"\\\\eb53\"}),a.smiley=new a(\"smiley\",{fontCharacter:\"\\\\eb54\"}),a.sortPrecedence=new a(\"sort-precedence\",{fontCharacter:\"\\\\eb55\"}),a.splitHorizontal=new a(\"split-horizontal\",{fontCharacter:\"\\\\eb56\"}),a.splitVertical=new a(\"split-vertical\",{fontCharacter:\"\\\\eb57\"}),a.squirrel=new a(\"squirrel\",{fontCharacter:\"\\\\eb58\"}),a.starFull=new a(\"star-full\",{fontCharacter:\"\\\\eb59\"}),a.starHalf=new a(\"star-half\",{fontCharacter:\"\\\\eb5a\"}),a.symbolClass=new a(\"symbol-class\",{fontCharacter:\"\\\\eb5b\"}),a.symbolColor=new a(\"symbol-color\",{fontCharacter:\"\\\\eb5c\"}),a.symbolCustomColor=new a(\"symbol-customcolor\",{fontCharacter:\"\\\\eb5c\"}),a.symbolConstant=new a(\"symbol-constant\",{fontCharacter:\"\\\\eb5d\"}),a.symbolEnumMember=new a(\"symbol-enum-member\",{fontCharacter:\"\\\\eb5e\"}),a.symbolField=new a(\"symbol-field\",{fontCharacter:\"\\\\eb5f\"}),a.symbolFile=new a(\"symbol-file\",{fontCharacter:\"\\\\eb60\"}),a.symbolInterface=new a(\"symbol-interface\",{fontCharacter:\"\\\\eb61\"}),a.symbolKeyword=new a(\"symbol-keyword\",{fontCharacter:\"\\\\eb62\"}),a.symbolMisc=new a(\"symbol-misc\",{fontCharacter:\"\\\\eb63\"}),a.symbolOperator=new a(\"symbol-operator\",{fontCharacter:\"\\\\eb64\"}),a.symbolProperty=new a(\"symbol-property\",{fontCharacter:\"\\\\eb65\"}),a.wrench=new a(\"wrench\",{fontCharacter:\"\\\\eb65\"}),a.wrenchSubaction=new a(\"wrench-subaction\",{fontCharacter:\"\\\\eb65\"}),a.symbolSnippet=new a(\"symbol-snippet\",{fontCharacter:\"\\\\eb66\"}),a.tasklist=new a(\"tasklist\",{fontCharacter:\"\\\\eb67\"}),a.telescope=new a(\"telescope\",{fontCharacter:\"\\\\eb68\"}),a.textSize=new a(\"text-size\",{fontCharacter:\"\\\\eb69\"}),a.threeBars=new a(\"three-bars\",{fontCharacter:\"\\\\eb6a\"}),a.thumbsdown=new a(\"thumbsdown\",{fontCharacter:\"\\\\eb6b\"}),a.thumbsup=new a(\"thumbsup\",{fontCharacter:\"\\\\eb6c\"}),a.tools=new a(\"tools\",{fontCharacter:\"\\\\eb6d\"}),a.triangleDown=new a(\"triangle-down\",{fontCharacter:\"\\\\eb6e\"}),a.triangleLeft=new a(\"triangle-left\",{fontCharacter:\"\\\\eb6f\"}),a.triangleRight=new a(\"triangle-right\",{fontCharacter:\"\\\\eb70\"}),a.triangleUp=new a(\"triangle-up\",{fontCharacter:\"\\\\eb71\"}),a.twitter=new a(\"twitter\",{fontCharacter:\"\\\\eb72\"}),a.unfold=new a(\"unfold\",{fontCharacter:\"\\\\eb73\"}),a.unlock=new a(\"unlock\",{fontCharacter:\"\\\\eb74\"}),a.unmute=new a(\"unmute\",{fontCharacter:\"\\\\eb75\"}),a.unverified=new a(\"unverified\",{fontCharacter:\"\\\\eb76\"}),a.verified=new a(\"verified\",{fontCharacter:\"\\\\eb77\"}),a.versions=new a(\"versions\",{fontCharacter:\"\\\\eb78\"}),a.vmActive=new a(\"vm-active\",{fontCharacter:\"\\\\eb79\"}),a.vmOutline=new a(\"vm-outline\",{fontCharacter:\"\\\\eb7a\"}),a.vmRunning=new a(\"vm-running\",{fontCharacter:\"\\\\eb7b\"}),a.watch=new a(\"watch\",{fontCharacter:\"\\\\eb7c\"}),a.whitespace=new a(\"whitespace\",{fontCharacter:\"\\\\eb7d\"}),a.wholeWord=new a(\"whole-word\",{fontCharacter:\"\\\\eb7e\"}),a.window=new a(\"window\",{fontCharacter:\"\\\\eb7f\"}),a.wordWrap=new a(\"word-wrap\",{fontCharacter:\"\\\\eb80\"}),a.zoomIn=new a(\"zoom-in\",{fontCharacter:\"\\\\eb81\"}),a.zoomOut=new a(\"zoom-out\",{fontCharacter:\"\\\\eb82\"}),a.listFilter=new a(\"list-filter\",{fontCharacter:\"\\\\eb83\"}),a.listFlat=new a(\"list-flat\",{fontCharacter:\"\\\\eb84\"}),a.listSelection=new a(\"list-selection\",{fontCharacter:\"\\\\eb85\"}),a.selection=new a(\"selection\",{fontCharacter:\"\\\\eb85\"}),a.listTree=new a(\"list-tree\",{fontCharacter:\"\\\\eb86\"}),a.debugBreakpointFunctionUnverified=new a(\"debug-breakpoint-function-unverified\",{fontCharacter:\"\\\\eb87\"}),a.debugBreakpointFunction=new a(\"debug-breakpoint-function\",{fontCharacter:\"\\\\eb88\"}),a.debugBreakpointFunctionDisabled=new a(\"debug-breakpoint-function-disabled\",{fontCharacter:\"\\\\eb88\"}),a.debugStackframeActive=new a(\"debug-stackframe-active\",{fontCharacter:\"\\\\eb89\"}),a.debugStackframeDot=new a(\"debug-stackframe-dot\",{fontCharacter:\"\\\\eb8a\"}),a.debugStackframe=new a(\"debug-stackframe\",{fontCharacter:\"\\\\eb8b\"}),a.debugStackframeFocused=new a(\"debug-stackframe-focused\",{fontCharacter:\"\\\\eb8b\"}),a.debugBreakpointUnsupported=new a(\"debug-breakpoint-unsupported\",{fontCharacter:\"\\\\eb8c\"}),a.symbolString=new a(\"symbol-string\",{fontCharacter:\"\\\\eb8d\"}),a.debugReverseContinue=new a(\"debug-reverse-continue\",{fontCharacter:\"\\\\eb8e\"}),a.debugStepBack=new a(\"debug-step-back\",{fontCharacter:\"\\\\eb8f\"}),a.debugRestartFrame=new a(\"debug-restart-frame\",{fontCharacter:\"\\\\eb90\"}),a.callIncoming=new a(\"call-incoming\",{fontCharacter:\"\\\\eb92\"}),a.callOutgoing=new a(\"call-outgoing\",{fontCharacter:\"\\\\eb93\"}),a.menu=new a(\"menu\",{fontCharacter:\"\\\\eb94\"}),a.expandAll=new a(\"expand-all\",{fontCharacter:\"\\\\eb95\"}),a.feedback=new a(\"feedback\",{fontCharacter:\"\\\\eb96\"}),a.groupByRefType=new a(\"group-by-ref-type\",{fontCharacter:\"\\\\eb97\"}),a.ungroupByRefType=new a(\"ungroup-by-ref-type\",{fontCharacter:\"\\\\eb98\"}),a.account=new a(\"account\",{fontCharacter:\"\\\\eb99\"}),a.bellDot=new a(\"bell-dot\",{fontCharacter:\"\\\\eb9a\"}),a.debugConsole=new a(\"debug-console\",{fontCharacter:\"\\\\eb9b\"}),a.library=new a(\"library\",{fontCharacter:\"\\\\eb9c\"}),a.output=new a(\"output\",{fontCharacter:\"\\\\eb9d\"}),a.runAll=new a(\"run-all\",{fontCharacter:\"\\\\eb9e\"}),a.syncIgnored=new a(\"sync-ignored\",{fontCharacter:\"\\\\eb9f\"}),a.pinned=new a(\"pinned\",{fontCharacter:\"\\\\eba0\"}),a.githubInverted=new a(\"github-inverted\",{fontCharacter:\"\\\\eba1\"}),a.debugAlt=new a(\"debug-alt\",{fontCharacter:\"\\\\eb91\"}),a.serverProcess=new a(\"server-process\",{fontCharacter:\"\\\\eba2\"}),a.serverEnvironment=new a(\"server-environment\",{fontCharacter:\"\\\\eba3\"}),a.pass=new a(\"pass\",{fontCharacter:\"\\\\eba4\"}),a.stopCircle=new a(\"stop-circle\",{fontCharacter:\"\\\\eba5\"}),a.playCircle=new a(\"play-circle\",{fontCharacter:\"\\\\eba6\"}),a.record=new a(\"record\",{fontCharacter:\"\\\\eba7\"}),a.debugAltSmall=new a(\"debug-alt-small\",{fontCharacter:\"\\\\eba8\"}),a.vmConnect=new a(\"vm-connect\",{fontCharacter:\"\\\\eba9\"}),a.cloud=new a(\"cloud\",{fontCharacter:\"\\\\ebaa\"}),a.merge=new a(\"merge\",{fontCharacter:\"\\\\ebab\"}),a.exportIcon=new a(\"export\",{fontCharacter:\"\\\\ebac\"}),a.graphLeft=new a(\"graph-left\",{fontCharacter:\"\\\\ebad\"}),a.magnet=new a(\"magnet\",{fontCharacter:\"\\\\ebae\"}),a.notebook=new a(\"notebook\",{fontCharacter:\"\\\\ebaf\"}),a.redo=new a(\"redo\",{fontCharacter:\"\\\\ebb0\"}),a.checkAll=new a(\"check-all\",{fontCharacter:\"\\\\ebb1\"}),a.pinnedDirty=new a(\"pinned-dirty\",{fontCharacter:\"\\\\ebb2\"}),a.passFilled=new a(\"pass-filled\",{fontCharacter:\"\\\\ebb3\"}),a.circleLargeFilled=new a(\"circle-large-filled\",{fontCharacter:\"\\\\ebb4\"}),a.circleLargeOutline=new a(\"circle-large-outline\",{fontCharacter:\"\\\\ebb5\"}),a.combine=new a(\"combine\",{fontCharacter:\"\\\\ebb6\"}),a.gather=new a(\"gather\",{fontCharacter:\"\\\\ebb6\"}),a.table=new a(\"table\",{fontCharacter:\"\\\\ebb7\"}),a.variableGroup=new a(\"variable-group\",{fontCharacter:\"\\\\ebb8\"}),a.typeHierarchy=new a(\"type-hierarchy\",{fontCharacter:\"\\\\ebb9\"}),a.typeHierarchySub=new a(\"type-hierarchy-sub\",{fontCharacter:\"\\\\ebba\"}),a.typeHierarchySuper=new a(\"type-hierarchy-super\",{fontCharacter:\"\\\\ebbb\"}),a.gitPullRequestCreate=new a(\"git-pull-request-create\",{fontCharacter:\"\\\\ebbc\"}),a.runAbove=new a(\"run-above\",{fontCharacter:\"\\\\ebbd\"}),a.runBelow=new a(\"run-below\",{fontCharacter:\"\\\\ebbe\"}),a.notebookTemplate=new a(\"notebook-template\",{fontCharacter:\"\\\\ebbf\"}),a.debugRerun=new a(\"debug-rerun\",{fontCharacter:\"\\\\ebc0\"}),a.workspaceTrusted=new a(\"workspace-trusted\",{fontCharacter:\"\\\\ebc1\"}),a.workspaceUntrusted=new a(\"workspace-untrusted\",{fontCharacter:\"\\\\ebc2\"}),a.workspaceUnspecified=new a(\"workspace-unspecified\",{fontCharacter:\"\\\\ebc3\"}),a.terminalCmd=new a(\"terminal-cmd\",{fontCharacter:\"\\\\ebc4\"}),a.terminalDebian=new a(\"terminal-debian\",{fontCharacter:\"\\\\ebc5\"}),a.terminalLinux=new a(\"terminal-linux\",{fontCharacter:\"\\\\ebc6\"}),a.terminalPowershell=new a(\"terminal-powershell\",{fontCharacter:\"\\\\ebc7\"}),a.terminalTmux=new a(\"terminal-tmux\",{fontCharacter:\"\\\\ebc8\"}),a.terminalUbuntu=new a(\"terminal-ubuntu\",{fontCharacter:\"\\\\ebc9\"}),a.terminalBash=new a(\"terminal-bash\",{fontCharacter:\"\\\\ebca\"}),a.arrowSwap=new a(\"arrow-swap\",{fontCharacter:\"\\\\ebcb\"}),a.copy=new a(\"copy\",{fontCharacter:\"\\\\ebcc\"}),a.personAdd=new a(\"person-add\",{fontCharacter:\"\\\\ebcd\"}),a.filterFilled=new a(\"filter-filled\",{fontCharacter:\"\\\\ebce\"}),a.wand=new a(\"wand\",{fontCharacter:\"\\\\ebcf\"}),a.debugLineByLine=new a(\"debug-line-by-line\",{fontCharacter:\"\\\\ebd0\"}),a.inspect=new a(\"inspect\",{fontCharacter:\"\\\\ebd1\"}),a.layers=new a(\"layers\",{fontCharacter:\"\\\\ebd2\"}),a.layersDot=new a(\"layers-dot\",{fontCharacter:\"\\\\ebd3\"}),a.layersActive=new a(\"layers-active\",{fontCharacter:\"\\\\ebd4\"}),a.compass=new a(\"compass\",{fontCharacter:\"\\\\ebd5\"}),a.compassDot=new a(\"compass-dot\",{fontCharacter:\"\\\\ebd6\"}),a.compassActive=new a(\"compass-active\",{fontCharacter:\"\\\\ebd7\"}),a.azure=new a(\"azure\",{fontCharacter:\"\\\\ebd8\"}),a.issueDraft=new a(\"issue-draft\",{fontCharacter:\"\\\\ebd9\"}),a.gitPullRequestClosed=new a(\"git-pull-request-closed\",{fontCharacter:\"\\\\ebda\"}),a.gitPullRequestDraft=new a(\"git-pull-request-draft\",{fontCharacter:\"\\\\ebdb\"}),a.debugAll=new a(\"debug-all\",{fontCharacter:\"\\\\ebdc\"}),a.debugCoverage=new a(\"debug-coverage\",{fontCharacter:\"\\\\ebdd\"}),a.runErrors=new a(\"run-errors\",{fontCharacter:\"\\\\ebde\"}),a.folderLibrary=new a(\"folder-library\",{fontCharacter:\"\\\\ebdf\"}),a.debugContinueSmall=new a(\"debug-continue-small\",{fontCharacter:\"\\\\ebe0\"}),a.beakerStop=new a(\"beaker-stop\",{fontCharacter:\"\\\\ebe1\"}),a.graphLine=new a(\"graph-line\",{fontCharacter:\"\\\\ebe2\"}),a.graphScatter=new a(\"graph-scatter\",{fontCharacter:\"\\\\ebe3\"}),a.pieChart=new a(\"pie-chart\",{fontCharacter:\"\\\\ebe4\"}),a.bracket=new a(\"bracket\",a.json.definition),a.bracketDot=new a(\"bracket-dot\",{fontCharacter:\"\\\\ebe5\"}),a.bracketError=new a(\"bracket-error\",{fontCharacter:\"\\\\ebe6\"}),a.lockSmall=new a(\"lock-small\",{fontCharacter:\"\\\\ebe7\"}),a.azureDevops=new a(\"azure-devops\",{fontCharacter:\"\\\\ebe8\"}),a.verifiedFilled=new a(\"verified-filled\",{fontCharacter:\"\\\\ebe9\"}),a.newLine=new a(\"newline\",{fontCharacter:\"\\\\ebea\"}),a.layout=new a(\"layout\",{fontCharacter:\"\\\\ebeb\"}),a.layoutActivitybarLeft=new a(\"layout-activitybar-left\",{fontCharacter:\"\\\\ebec\"}),a.layoutActivitybarRight=new a(\"layout-activitybar-right\",{fontCharacter:\"\\\\ebed\"}),a.layoutPanelLeft=new a(\"layout-panel-left\",{fontCharacter:\"\\\\ebee\"}),a.layoutPanelCenter=new a(\"layout-panel-center\",{fontCharacter:\"\\\\ebef\"}),a.layoutPanelJustify=new a(\"layout-panel-justify\",{fontCharacter:\"\\\\ebf0\"}),a.layoutPanelRight=new a(\"layout-panel-right\",{fontCharacter:\"\\\\ebf1\"}),a.layoutPanel=new a(\"layout-panel\",{fontCharacter:\"\\\\ebf2\"}),a.layoutSidebarLeft=new a(\"layout-sidebar-left\",{fontCharacter:\"\\\\ebf3\"}),a.layoutSidebarRight=new a(\"layout-sidebar-right\",{fontCharacter:\"\\\\ebf4\"}),a.layoutStatusbar=new a(\"layout-statusbar\",{fontCharacter:\"\\\\ebf5\"}),a.layoutMenubar=new a(\"layout-menubar\",{fontCharacter:\"\\\\ebf6\"}),a.layoutCentered=new a(\"layout-centered\",{fontCharacter:\"\\\\ebf7\"}),a.target=new a(\"target\",{fontCharacter:\"\\\\ebf8\"}),a.indent=new a(\"indent\",{fontCharacter:\"\\\\ebf9\"}),a.recordSmall=new a(\"record-small\",{fontCharacter:\"\\\\ebfa\"}),a.errorSmall=new a(\"error-small\",{fontCharacter:\"\\\\ebfb\"}),a.arrowCircleDown=new a(\"arrow-circle-down\",{fontCharacter:\"\\\\ebfc\"}),a.arrowCircleLeft=new a(\"arrow-circle-left\",{fontCharacter:\"\\\\ebfd\"}),a.arrowCircleRight=new a(\"arrow-circle-right\",{fontCharacter:\"\\\\ebfe\"}),a.arrowCircleUp=new a(\"arrow-circle-up\",{fontCharacter:\"\\\\ebff\"}),a.dialogError=new a(\"dialog-error\",a.error.definition),a.dialogWarning=new a(\"dialog-warning\",a.warning.definition),a.dialogInfo=new a(\"dialog-info\",a.info.definition),a.dialogClose=new a(\"dialog-close\",a.close.definition),a.treeItemExpanded=new a(\"tree-item-expanded\",a.chevronDown.definition),a.treeFilterOnTypeOn=new a(\"tree-filter-on-type-on\",a.listFilter.definition),a.treeFilterOnTypeOff=new a(\"tree-filter-on-type-off\",a.listSelection.definition),a.treeFilterClear=new a(\"tree-filter-clear\",a.close.definition),a.treeItemLoading=new a(\"tree-item-loading\",a.loading.definition),a.menuSelection=new a(\"menu-selection\",a.check.definition),a.menuSubmenu=new a(\"menu-submenu\",a.chevronRight.definition),a.menuBarMore=new a(\"menubar-more\",a.more.definition),a.scrollbarButtonLeft=new a(\"scrollbar-button-left\",a.triangleLeft.definition),a.scrollbarButtonRight=new a(\"scrollbar-button-right\",a.triangleRight.definition),a.scrollbarButtonUp=new a(\"scrollbar-button-up\",a.triangleUp.definition),a.scrollbarButtonDown=new a(\"scrollbar-button-down\",a.triangleDown.definition),a.toolBarMore=new a(\"toolbar-more\",a.more.definition),a.quickInputBack=new a(\"quick-input-back\",a.arrowLeft.definition);var Ln;(function(e){e.iconNameSegment=\"[A-Za-z0-9]+\",e.iconNameExpression=\"[A-Za-z0-9-]+\",e.iconModifierExpression=\"~[A-Za-z]+\",e.iconNameCharacter=\"[A-Za-z0-9~-]\";const t=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function r(s){if(s instanceof a)return[\"codicon\",\"codicon-\"+s.id];const o=t.exec(s.id);if(!o)return r(a.error);let[,l,u]=o;const c=[\"codicon\",\"codicon-\"+l];return u&&c.push(\"codicon-modifier-\"+u.substr(1)),c}e.asClassNameArray=r;function n(s){return r(s).join(\" \")}e.asClassName=n;function i(s){return\".\"+r(s).join(\".\")}e.asCSSSelector=i})(Ln||(Ln={}));class Ds{constructor(t,r,n){this._tokenBrand=void 0,this.offset=t,this.type=r,this.language=n}toString(){return\"(\"+this.offset+\", \"+this.type+\")\"}}var kn;(function(e){const t=new Map;t.set(0,a.symbolMethod),t.set(1,a.symbolFunction),t.set(2,a.symbolConstructor),t.set(3,a.symbolField),t.set(4,a.symbolVariable),t.set(5,a.symbolClass),t.set(6,a.symbolStruct),t.set(7,a.symbolInterface),t.set(8,a.symbolModule),t.set(9,a.symbolProperty),t.set(10,a.symbolEvent),t.set(11,a.symbolOperator),t.set(12,a.symbolUnit),t.set(13,a.symbolValue),t.set(15,a.symbolEnum),t.set(14,a.symbolConstant),t.set(15,a.symbolEnum),t.set(16,a.symbolEnumMember),t.set(17,a.symbolKeyword),t.set(27,a.symbolSnippet),t.set(18,a.symbolText),t.set(19,a.symbolColor),t.set(20,a.symbolFile),t.set(21,a.symbolReference),t.set(22,a.symbolCustomColor),t.set(23,a.symbolFolder),t.set(24,a.symbolTypeParameter),t.set(25,a.account),t.set(26,a.issues);function r(s){let o=t.get(s);return o||(console.info(\"No codicon found for CompletionItemKind \"+s),o=a.symbolProperty),o}e.toIcon=r;const n=new Map;n.set(\"method\",0),n.set(\"function\",1),n.set(\"constructor\",2),n.set(\"field\",3),n.set(\"variable\",4),n.set(\"class\",5),n.set(\"struct\",6),n.set(\"interface\",7),n.set(\"module\",8),n.set(\"property\",9),n.set(\"event\",10),n.set(\"operator\",11),n.set(\"unit\",12),n.set(\"value\",13),n.set(\"constant\",14),n.set(\"enum\",15),n.set(\"enum-member\",16),n.set(\"enumMember\",16),n.set(\"keyword\",17),n.set(\"snippet\",27),n.set(\"text\",18),n.set(\"color\",19),n.set(\"file\",20),n.set(\"reference\",21),n.set(\"customcolor\",22),n.set(\"folder\",23),n.set(\"type-parameter\",24),n.set(\"typeParameter\",24),n.set(\"account\",25),n.set(\"issue\",26);function i(s,o){let l=n.get(s);return typeof l==\"undefined\"&&!o&&(l=9),l}e.fromString=i})(kn||(kn={}));var xn;(function(e){e[e.Automatic=0]=\"Automatic\",e[e.Explicit=1]=\"Explicit\"})(xn||(xn={}));var Mn;(function(e){e[e.Invoke=1]=\"Invoke\",e[e.TriggerCharacter=2]=\"TriggerCharacter\",e[e.ContentChange=3]=\"ContentChange\"})(Mn||(Mn={}));var Pn;(function(e){e[e.Text=0]=\"Text\",e[e.Read=1]=\"Read\",e[e.Write=2]=\"Write\"})(Pn||(Pn={}));var Tn;(function(e){const t=new Map;t.set(0,a.symbolFile),t.set(1,a.symbolModule),t.set(2,a.symbolNamespace),t.set(3,a.symbolPackage),t.set(4,a.symbolClass),t.set(5,a.symbolMethod),t.set(6,a.symbolProperty),t.set(7,a.symbolField),t.set(8,a.symbolConstructor),t.set(9,a.symbolEnum),t.set(10,a.symbolInterface),t.set(11,a.symbolFunction),t.set(12,a.symbolVariable),t.set(13,a.symbolConstant),t.set(14,a.symbolString),t.set(15,a.symbolNumber),t.set(16,a.symbolBoolean),t.set(17,a.symbolArray),t.set(18,a.symbolObject),t.set(19,a.symbolKey),t.set(20,a.symbolNull),t.set(21,a.symbolEnumMember),t.set(22,a.symbolStruct),t.set(23,a.symbolEvent),t.set(24,a.symbolOperator),t.set(25,a.symbolTypeParameter);function r(n){let i=t.get(n);return i||(console.info(\"No codicon found for SymbolKind \"+n),i=a.symbolProperty),i}e.toIcon=r})(Tn||(Tn={}));var En;(function(e){function t(r){return!r||typeof r!=\"object\"?!1:typeof r.id==\"string\"&&typeof r.title==\"string\"}e.is=t})(En||(En={}));var Fn;(function(e){e[e.Type=1]=\"Type\",e[e.Parameter=2]=\"Parameter\"})(Fn||(Fn={})),new Vs;var Vn;(function(e){e[e.Unknown=0]=\"Unknown\",e[e.Disabled=1]=\"Disabled\",e[e.Enabled=2]=\"Enabled\"})(Vn||(Vn={}));var In;(function(e){e[e.KeepWhitespace=1]=\"KeepWhitespace\",e[e.InsertAsSnippet=4]=\"InsertAsSnippet\"})(In||(In={}));var Dn;(function(e){e[e.Method=0]=\"Method\",e[e.Function=1]=\"Function\",e[e.Constructor=2]=\"Constructor\",e[e.Field=3]=\"Field\",e[e.Variable=4]=\"Variable\",e[e.Class=5]=\"Class\",e[e.Struct=6]=\"Struct\",e[e.Interface=7]=\"Interface\",e[e.Module=8]=\"Module\",e[e.Property=9]=\"Property\",e[e.Event=10]=\"Event\",e[e.Operator=11]=\"Operator\",e[e.Unit=12]=\"Unit\",e[e.Value=13]=\"Value\",e[e.Constant=14]=\"Constant\",e[e.Enum=15]=\"Enum\",e[e.EnumMember=16]=\"EnumMember\",e[e.Keyword=17]=\"Keyword\",e[e.Text=18]=\"Text\",e[e.Color=19]=\"Color\",e[e.File=20]=\"File\",e[e.Reference=21]=\"Reference\",e[e.Customcolor=22]=\"Customcolor\",e[e.Folder=23]=\"Folder\",e[e.TypeParameter=24]=\"TypeParameter\",e[e.User=25]=\"User\",e[e.Issue=26]=\"Issue\",e[e.Snippet=27]=\"Snippet\"})(Dn||(Dn={}));var Rn;(function(e){e[e.Deprecated=1]=\"Deprecated\"})(Rn||(Rn={}));var On;(function(e){e[e.Invoke=0]=\"Invoke\",e[e.TriggerCharacter=1]=\"TriggerCharacter\",e[e.TriggerForIncompleteCompletions=2]=\"TriggerForIncompleteCompletions\"})(On||(On={}));var Un;(function(e){e[e.EXACT=0]=\"EXACT\",e[e.ABOVE=1]=\"ABOVE\",e[e.BELOW=2]=\"BELOW\"})(Un||(Un={}));var jn;(function(e){e[e.NotSet=0]=\"NotSet\",e[e.ContentFlush=1]=\"ContentFlush\",e[e.RecoverFromMarkers=2]=\"RecoverFromMarkers\",e[e.Explicit=3]=\"Explicit\",e[e.Paste=4]=\"Paste\",e[e.Undo=5]=\"Undo\",e[e.Redo=6]=\"Redo\"})(jn||(jn={}));var Bn;(function(e){e[e.LF=1]=\"LF\",e[e.CRLF=2]=\"CRLF\"})(Bn||(Bn={}));var Wn;(function(e){e[e.Text=0]=\"Text\",e[e.Read=1]=\"Read\",e[e.Write=2]=\"Write\"})(Wn||(Wn={}));var qn;(function(e){e[e.None=0]=\"None\",e[e.Keep=1]=\"Keep\",e[e.Brackets=2]=\"Brackets\",e[e.Advanced=3]=\"Advanced\",e[e.Full=4]=\"Full\"})(qn||(qn={}));var $n;(function(e){e[e.acceptSuggestionOnCommitCharacter=0]=\"acceptSuggestionOnCommitCharacter\",e[e.acceptSuggestionOnEnter=1]=\"acceptSuggestionOnEnter\",e[e.accessibilitySupport=2]=\"accessibilitySupport\",e[e.accessibilityPageSize=3]=\"accessibilityPageSize\",e[e.ariaLabel=4]=\"ariaLabel\",e[e.autoClosingBrackets=5]=\"autoClosingBrackets\",e[e.autoClosingDelete=6]=\"autoClosingDelete\",e[e.autoClosingOvertype=7]=\"autoClosingOvertype\",e[e.autoClosingQuotes=8]=\"autoClosingQuotes\",e[e.autoIndent=9]=\"autoIndent\",e[e.automaticLayout=10]=\"automaticLayout\",e[e.autoSurround=11]=\"autoSurround\",e[e.bracketPairColorization=12]=\"bracketPairColorization\",e[e.guides=13]=\"guides\",e[e.codeLens=14]=\"codeLens\",e[e.codeLensFontFamily=15]=\"codeLensFontFamily\",e[e.codeLensFontSize=16]=\"codeLensFontSize\",e[e.colorDecorators=17]=\"colorDecorators\",e[e.columnSelection=18]=\"columnSelection\",e[e.comments=19]=\"comments\",e[e.contextmenu=20]=\"contextmenu\",e[e.copyWithSyntaxHighlighting=21]=\"copyWithSyntaxHighlighting\",e[e.cursorBlinking=22]=\"cursorBlinking\",e[e.cursorSmoothCaretAnimation=23]=\"cursorSmoothCaretAnimation\",e[e.cursorStyle=24]=\"cursorStyle\",e[e.cursorSurroundingLines=25]=\"cursorSurroundingLines\",e[e.cursorSurroundingLinesStyle=26]=\"cursorSurroundingLinesStyle\",e[e.cursorWidth=27]=\"cursorWidth\",e[e.disableLayerHinting=28]=\"disableLayerHinting\",e[e.disableMonospaceOptimizations=29]=\"disableMonospaceOptimizations\",e[e.domReadOnly=30]=\"domReadOnly\",e[e.dragAndDrop=31]=\"dragAndDrop\",e[e.emptySelectionClipboard=32]=\"emptySelectionClipboard\",e[e.extraEditorClassName=33]=\"extraEditorClassName\",e[e.fastScrollSensitivity=34]=\"fastScrollSensitivity\",e[e.find=35]=\"find\",e[e.fixedOverflowWidgets=36]=\"fixedOverflowWidgets\",e[e.folding=37]=\"folding\",e[e.foldingStrategy=38]=\"foldingStrategy\",e[e.foldingHighlight=39]=\"foldingHighlight\",e[e.foldingImportsByDefault=40]=\"foldingImportsByDefault\",e[e.foldingMaximumRegions=41]=\"foldingMaximumRegions\",e[e.unfoldOnClickAfterEndOfLine=42]=\"unfoldOnClickAfterEndOfLine\",e[e.fontFamily=43]=\"fontFamily\",e[e.fontInfo=44]=\"fontInfo\",e[e.fontLigatures=45]=\"fontLigatures\",e[e.fontSize=46]=\"fontSize\",e[e.fontWeight=47]=\"fontWeight\",e[e.formatOnPaste=48]=\"formatOnPaste\",e[e.formatOnType=49]=\"formatOnType\",e[e.glyphMargin=50]=\"glyphMargin\",e[e.gotoLocation=51]=\"gotoLocation\",e[e.hideCursorInOverviewRuler=52]=\"hideCursorInOverviewRuler\",e[e.hover=53]=\"hover\",e[e.inDiffEditor=54]=\"inDiffEditor\",e[e.inlineSuggest=55]=\"inlineSuggest\",e[e.letterSpacing=56]=\"letterSpacing\",e[e.lightbulb=57]=\"lightbulb\",e[e.lineDecorationsWidth=58]=\"lineDecorationsWidth\",e[e.lineHeight=59]=\"lineHeight\",e[e.lineNumbers=60]=\"lineNumbers\",e[e.lineNumbersMinChars=61]=\"lineNumbersMinChars\",e[e.linkedEditing=62]=\"linkedEditing\",e[e.links=63]=\"links\",e[e.matchBrackets=64]=\"matchBrackets\",e[e.minimap=65]=\"minimap\",e[e.mouseStyle=66]=\"mouseStyle\",e[e.mouseWheelScrollSensitivity=67]=\"mouseWheelScrollSensitivity\",e[e.mouseWheelZoom=68]=\"mouseWheelZoom\",e[e.multiCursorMergeOverlapping=69]=\"multiCursorMergeOverlapping\",e[e.multiCursorModifier=70]=\"multiCursorModifier\",e[e.multiCursorPaste=71]=\"multiCursorPaste\",e[e.occurrencesHighlight=72]=\"occurrencesHighlight\",e[e.overviewRulerBorder=73]=\"overviewRulerBorder\",e[e.overviewRulerLanes=74]=\"overviewRulerLanes\",e[e.padding=75]=\"padding\",e[e.parameterHints=76]=\"parameterHints\",e[e.peekWidgetDefaultFocus=77]=\"peekWidgetDefaultFocus\",e[e.definitionLinkOpensInPeek=78]=\"definitionLinkOpensInPeek\",e[e.quickSuggestions=79]=\"quickSuggestions\",e[e.quickSuggestionsDelay=80]=\"quickSuggestionsDelay\",e[e.readOnly=81]=\"readOnly\",e[e.renameOnType=82]=\"renameOnType\",e[e.renderControlCharacters=83]=\"renderControlCharacters\",e[e.renderFinalNewline=84]=\"renderFinalNewline\",e[e.renderLineHighlight=85]=\"renderLineHighlight\",e[e.renderLineHighlightOnlyWhenFocus=86]=\"renderLineHighlightOnlyWhenFocus\",e[e.renderValidationDecorations=87]=\"renderValidationDecorations\",e[e.renderWhitespace=88]=\"renderWhitespace\",e[e.revealHorizontalRightPadding=89]=\"revealHorizontalRightPadding\",e[e.roundedSelection=90]=\"roundedSelection\",e[e.rulers=91]=\"rulers\",e[e.scrollbar=92]=\"scrollbar\",e[e.scrollBeyondLastColumn=93]=\"scrollBeyondLastColumn\",e[e.scrollBeyondLastLine=94]=\"scrollBeyondLastLine\",e[e.scrollPredominantAxis=95]=\"scrollPredominantAxis\",e[e.selectionClipboard=96]=\"selectionClipboard\",e[e.selectionHighlight=97]=\"selectionHighlight\",e[e.selectOnLineNumbers=98]=\"selectOnLineNumbers\",e[e.showFoldingControls=99]=\"showFoldingControls\",e[e.showUnused=100]=\"showUnused\",e[e.snippetSuggestions=101]=\"snippetSuggestions\",e[e.smartSelect=102]=\"smartSelect\",e[e.smoothScrolling=103]=\"smoothScrolling\",e[e.stickyTabStops=104]=\"stickyTabStops\",e[e.stopRenderingLineAfter=105]=\"stopRenderingLineAfter\",e[e.suggest=106]=\"suggest\",e[e.suggestFontSize=107]=\"suggestFontSize\",e[e.suggestLineHeight=108]=\"suggestLineHeight\",e[e.suggestOnTriggerCharacters=109]=\"suggestOnTriggerCharacters\",e[e.suggestSelection=110]=\"suggestSelection\",e[e.tabCompletion=111]=\"tabCompletion\",e[e.tabIndex=112]=\"tabIndex\",e[e.unicodeHighlighting=113]=\"unicodeHighlighting\",e[e.unusualLineTerminators=114]=\"unusualLineTerminators\",e[e.useShadowDOM=115]=\"useShadowDOM\",e[e.useTabStops=116]=\"useTabStops\",e[e.wordSeparators=117]=\"wordSeparators\",e[e.wordWrap=118]=\"wordWrap\",e[e.wordWrapBreakAfterCharacters=119]=\"wordWrapBreakAfterCharacters\",e[e.wordWrapBreakBeforeCharacters=120]=\"wordWrapBreakBeforeCharacters\",e[e.wordWrapColumn=121]=\"wordWrapColumn\",e[e.wordWrapOverride1=122]=\"wordWrapOverride1\",e[e.wordWrapOverride2=123]=\"wordWrapOverride2\",e[e.wrappingIndent=124]=\"wrappingIndent\",e[e.wrappingStrategy=125]=\"wrappingStrategy\",e[e.showDeprecated=126]=\"showDeprecated\",e[e.inlayHints=127]=\"inlayHints\",e[e.editorClassName=128]=\"editorClassName\",e[e.pixelRatio=129]=\"pixelRatio\",e[e.tabFocusMode=130]=\"tabFocusMode\",e[e.layoutInfo=131]=\"layoutInfo\",e[e.wrappingInfo=132]=\"wrappingInfo\"})($n||($n={}));var Hn;(function(e){e[e.TextDefined=0]=\"TextDefined\",e[e.LF=1]=\"LF\",e[e.CRLF=2]=\"CRLF\"})(Hn||(Hn={}));var zn;(function(e){e[e.LF=0]=\"LF\",e[e.CRLF=1]=\"CRLF\"})(zn||(zn={}));var Gn;(function(e){e[e.None=0]=\"None\",e[e.Indent=1]=\"Indent\",e[e.IndentOutdent=2]=\"IndentOutdent\",e[e.Outdent=3]=\"Outdent\"})(Gn||(Gn={}));var Jn;(function(e){e[e.Both=0]=\"Both\",e[e.Right=1]=\"Right\",e[e.Left=2]=\"Left\",e[e.None=3]=\"None\"})(Jn||(Jn={}));var Zn;(function(e){e[e.Type=1]=\"Type\",e[e.Parameter=2]=\"Parameter\"})(Zn||(Zn={}));var Xn;(function(e){e[e.Automatic=0]=\"Automatic\",e[e.Explicit=1]=\"Explicit\"})(Xn||(Xn={}));var _r;(function(e){e[e.DependsOnKbLayout=-1]=\"DependsOnKbLayout\",e[e.Unknown=0]=\"Unknown\",e[e.Backspace=1]=\"Backspace\",e[e.Tab=2]=\"Tab\",e[e.Enter=3]=\"Enter\",e[e.Shift=4]=\"Shift\",e[e.Ctrl=5]=\"Ctrl\",e[e.Alt=6]=\"Alt\",e[e.PauseBreak=7]=\"PauseBreak\",e[e.CapsLock=8]=\"CapsLock\",e[e.Escape=9]=\"Escape\",e[e.Space=10]=\"Space\",e[e.PageUp=11]=\"PageUp\",e[e.PageDown=12]=\"PageDown\",e[e.End=13]=\"End\",e[e.Home=14]=\"Home\",e[e.LeftArrow=15]=\"LeftArrow\",e[e.UpArrow=16]=\"UpArrow\",e[e.RightArrow=17]=\"RightArrow\",e[e.DownArrow=18]=\"DownArrow\",e[e.Insert=19]=\"Insert\",e[e.Delete=20]=\"Delete\",e[e.Digit0=21]=\"Digit0\",e[e.Digit1=22]=\"Digit1\",e[e.Digit2=23]=\"Digit2\",e[e.Digit3=24]=\"Digit3\",e[e.Digit4=25]=\"Digit4\",e[e.Digit5=26]=\"Digit5\",e[e.Digit6=27]=\"Digit6\",e[e.Digit7=28]=\"Digit7\",e[e.Digit8=29]=\"Digit8\",e[e.Digit9=30]=\"Digit9\",e[e.KeyA=31]=\"KeyA\",e[e.KeyB=32]=\"KeyB\",e[e.KeyC=33]=\"KeyC\",e[e.KeyD=34]=\"KeyD\",e[e.KeyE=35]=\"KeyE\",e[e.KeyF=36]=\"KeyF\",e[e.KeyG=37]=\"KeyG\",e[e.KeyH=38]=\"KeyH\",e[e.KeyI=39]=\"KeyI\",e[e.KeyJ=40]=\"KeyJ\",e[e.KeyK=41]=\"KeyK\",e[e.KeyL=42]=\"KeyL\",e[e.KeyM=43]=\"KeyM\",e[e.KeyN=44]=\"KeyN\",e[e.KeyO=45]=\"KeyO\",e[e.KeyP=46]=\"KeyP\",e[e.KeyQ=47]=\"KeyQ\",e[e.KeyR=48]=\"KeyR\",e[e.KeyS=49]=\"KeyS\",e[e.KeyT=50]=\"KeyT\",e[e.KeyU=51]=\"KeyU\",e[e.KeyV=52]=\"KeyV\",e[e.KeyW=53]=\"KeyW\",e[e.KeyX=54]=\"KeyX\",e[e.KeyY=55]=\"KeyY\",e[e.KeyZ=56]=\"KeyZ\",e[e.Meta=57]=\"Meta\",e[e.ContextMenu=58]=\"ContextMenu\",e[e.F1=59]=\"F1\",e[e.F2=60]=\"F2\",e[e.F3=61]=\"F3\",e[e.F4=62]=\"F4\",e[e.F5=63]=\"F5\",e[e.F6=64]=\"F6\",e[e.F7=65]=\"F7\",e[e.F8=66]=\"F8\",e[e.F9=67]=\"F9\",e[e.F10=68]=\"F10\",e[e.F11=69]=\"F11\",e[e.F12=70]=\"F12\",e[e.F13=71]=\"F13\",e[e.F14=72]=\"F14\",e[e.F15=73]=\"F15\",e[e.F16=74]=\"F16\",e[e.F17=75]=\"F17\",e[e.F18=76]=\"F18\",e[e.F19=77]=\"F19\",e[e.NumLock=78]=\"NumLock\",e[e.ScrollLock=79]=\"ScrollLock\",e[e.Semicolon=80]=\"Semicolon\",e[e.Equal=81]=\"Equal\",e[e.Comma=82]=\"Comma\",e[e.Minus=83]=\"Minus\",e[e.Period=84]=\"Period\",e[e.Slash=85]=\"Slash\",e[e.Backquote=86]=\"Backquote\",e[e.BracketLeft=87]=\"BracketLeft\",e[e.Backslash=88]=\"Backslash\",e[e.BracketRight=89]=\"BracketRight\",e[e.Quote=90]=\"Quote\",e[e.OEM_8=91]=\"OEM_8\",e[e.IntlBackslash=92]=\"IntlBackslash\",e[e.Numpad0=93]=\"Numpad0\",e[e.Numpad1=94]=\"Numpad1\",e[e.Numpad2=95]=\"Numpad2\",e[e.Numpad3=96]=\"Numpad3\",e[e.Numpad4=97]=\"Numpad4\",e[e.Numpad5=98]=\"Numpad5\",e[e.Numpad6=99]=\"Numpad6\",e[e.Numpad7=100]=\"Numpad7\",e[e.Numpad8=101]=\"Numpad8\",e[e.Numpad9=102]=\"Numpad9\",e[e.NumpadMultiply=103]=\"NumpadMultiply\",e[e.NumpadAdd=104]=\"NumpadAdd\",e[e.NUMPAD_SEPARATOR=105]=\"NUMPAD_SEPARATOR\",e[e.NumpadSubtract=106]=\"NumpadSubtract\",e[e.NumpadDecimal=107]=\"NumpadDecimal\",e[e.NumpadDivide=108]=\"NumpadDivide\",e[e.KEY_IN_COMPOSITION=109]=\"KEY_IN_COMPOSITION\",e[e.ABNT_C1=110]=\"ABNT_C1\",e[e.ABNT_C2=111]=\"ABNT_C2\",e[e.AudioVolumeMute=112]=\"AudioVolumeMute\",e[e.AudioVolumeUp=113]=\"AudioVolumeUp\",e[e.AudioVolumeDown=114]=\"AudioVolumeDown\",e[e.BrowserSearch=115]=\"BrowserSearch\",e[e.BrowserHome=116]=\"BrowserHome\",e[e.BrowserBack=117]=\"BrowserBack\",e[e.BrowserForward=118]=\"BrowserForward\",e[e.MediaTrackNext=119]=\"MediaTrackNext\",e[e.MediaTrackPrevious=120]=\"MediaTrackPrevious\",e[e.MediaStop=121]=\"MediaStop\",e[e.MediaPlayPause=122]=\"MediaPlayPause\",e[e.LaunchMediaPlayer=123]=\"LaunchMediaPlayer\",e[e.LaunchMail=124]=\"LaunchMail\",e[e.LaunchApp2=125]=\"LaunchApp2\",e[e.Clear=126]=\"Clear\",e[e.MAX_VALUE=127]=\"MAX_VALUE\"})(_r||(_r={}));var Sr;(function(e){e[e.Hint=1]=\"Hint\",e[e.Info=2]=\"Info\",e[e.Warning=4]=\"Warning\",e[e.Error=8]=\"Error\"})(Sr||(Sr={}));var Ar;(function(e){e[e.Unnecessary=1]=\"Unnecessary\",e[e.Deprecated=2]=\"Deprecated\"})(Ar||(Ar={}));var Yn;(function(e){e[e.Inline=1]=\"Inline\",e[e.Gutter=2]=\"Gutter\"})(Yn||(Yn={}));var Qn;(function(e){e[e.UNKNOWN=0]=\"UNKNOWN\",e[e.TEXTAREA=1]=\"TEXTAREA\",e[e.GUTTER_GLYPH_MARGIN=2]=\"GUTTER_GLYPH_MARGIN\",e[e.GUTTER_LINE_NUMBERS=3]=\"GUTTER_LINE_NUMBERS\",e[e.GUTTER_LINE_DECORATIONS=4]=\"GUTTER_LINE_DECORATIONS\",e[e.GUTTER_VIEW_ZONE=5]=\"GUTTER_VIEW_ZONE\",e[e.CONTENT_TEXT=6]=\"CONTENT_TEXT\",e[e.CONTENT_EMPTY=7]=\"CONTENT_EMPTY\",e[e.CONTENT_VIEW_ZONE=8]=\"CONTENT_VIEW_ZONE\",e[e.CONTENT_WIDGET=9]=\"CONTENT_WIDGET\",e[e.OVERVIEW_RULER=10]=\"OVERVIEW_RULER\",e[e.SCROLLBAR=11]=\"SCROLLBAR\",e[e.OVERLAY_WIDGET=12]=\"OVERLAY_WIDGET\",e[e.OUTSIDE_EDITOR=13]=\"OUTSIDE_EDITOR\"})(Qn||(Qn={}));var Kn;(function(e){e[e.TOP_RIGHT_CORNER=0]=\"TOP_RIGHT_CORNER\",e[e.BOTTOM_RIGHT_CORNER=1]=\"BOTTOM_RIGHT_CORNER\",e[e.TOP_CENTER=2]=\"TOP_CENTER\"})(Kn||(Kn={}));var ei;(function(e){e[e.Left=1]=\"Left\",e[e.Center=2]=\"Center\",e[e.Right=4]=\"Right\",e[e.Full=7]=\"Full\"})(ei||(ei={}));var ti;(function(e){e[e.Left=0]=\"Left\",e[e.Right=1]=\"Right\",e[e.None=2]=\"None\"})(ti||(ti={}));var ri;(function(e){e[e.Off=0]=\"Off\",e[e.On=1]=\"On\",e[e.Relative=2]=\"Relative\",e[e.Interval=3]=\"Interval\",e[e.Custom=4]=\"Custom\"})(ri||(ri={}));var ni;(function(e){e[e.None=0]=\"None\",e[e.Text=1]=\"Text\",e[e.Blocks=2]=\"Blocks\"})(ni||(ni={}));var ii;(function(e){e[e.Smooth=0]=\"Smooth\",e[e.Immediate=1]=\"Immediate\"})(ii||(ii={}));var ai;(function(e){e[e.Auto=1]=\"Auto\",e[e.Hidden=2]=\"Hidden\",e[e.Visible=3]=\"Visible\"})(ai||(ai={}));var Nr;(function(e){e[e.LTR=0]=\"LTR\",e[e.RTL=1]=\"RTL\"})(Nr||(Nr={}));var si;(function(e){e[e.Invoke=1]=\"Invoke\",e[e.TriggerCharacter=2]=\"TriggerCharacter\",e[e.ContentChange=3]=\"ContentChange\"})(si||(si={}));var oi;(function(e){e[e.File=0]=\"File\",e[e.Module=1]=\"Module\",e[e.Namespace=2]=\"Namespace\",e[e.Package=3]=\"Package\",e[e.Class=4]=\"Class\",e[e.Method=5]=\"Method\",e[e.Property=6]=\"Property\",e[e.Field=7]=\"Field\",e[e.Constructor=8]=\"Constructor\",e[e.Enum=9]=\"Enum\",e[e.Interface=10]=\"Interface\",e[e.Function=11]=\"Function\",e[e.Variable=12]=\"Variable\",e[e.Constant=13]=\"Constant\",e[e.String=14]=\"String\",e[e.Number=15]=\"Number\",e[e.Boolean=16]=\"Boolean\",e[e.Array=17]=\"Array\",e[e.Object=18]=\"Object\",e[e.Key=19]=\"Key\",e[e.Null=20]=\"Null\",e[e.EnumMember=21]=\"EnumMember\",e[e.Struct=22]=\"Struct\",e[e.Event=23]=\"Event\",e[e.Operator=24]=\"Operator\",e[e.TypeParameter=25]=\"TypeParameter\"})(oi||(oi={}));var li;(function(e){e[e.Deprecated=1]=\"Deprecated\"})(li||(li={}));var ui;(function(e){e[e.Hidden=0]=\"Hidden\",e[e.Blink=1]=\"Blink\",e[e.Smooth=2]=\"Smooth\",e[e.Phase=3]=\"Phase\",e[e.Expand=4]=\"Expand\",e[e.Solid=5]=\"Solid\"})(ui||(ui={}));var ci;(function(e){e[e.Line=1]=\"Line\",e[e.Block=2]=\"Block\",e[e.Underline=3]=\"Underline\",e[e.LineThin=4]=\"LineThin\",e[e.BlockOutline=5]=\"BlockOutline\",e[e.UnderlineThin=6]=\"UnderlineThin\"})(ci||(ci={}));var fi;(function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]=\"AlwaysGrowsWhenTypingAtEdges\",e[e.NeverGrowsWhenTypingAtEdges=1]=\"NeverGrowsWhenTypingAtEdges\",e[e.GrowsOnlyWhenTypingBefore=2]=\"GrowsOnlyWhenTypingBefore\",e[e.GrowsOnlyWhenTypingAfter=3]=\"GrowsOnlyWhenTypingAfter\"})(fi||(fi={}));var hi;(function(e){e[e.None=0]=\"None\",e[e.Same=1]=\"Same\",e[e.Indent=2]=\"Indent\",e[e.DeepIndent=3]=\"DeepIndent\"})(hi||(hi={}));class ht{static chord(t,r){return Fs(t,r)}}ht.CtrlCmd=2048,ht.Shift=1024,ht.Alt=512,ht.WinCtrl=256;function Rs(){return{editor:void 0,languages:void 0,CancellationTokenSource:Ms,Emitter:ke,KeyCode:_r,KeyMod:ht,Position:le,Range:J,Selection:fe,SelectionDirection:Nr,MarkerSeverity:Sr,MarkerTag:Ar,Uri:$e,Token:Ds}}var di;(function(e){e[e.Left=1]=\"Left\",e[e.Center=2]=\"Center\",e[e.Right=4]=\"Right\",e[e.Full=7]=\"Full\"})(di||(di={}));var mi;(function(e){e[e.Inline=1]=\"Inline\",e[e.Gutter=2]=\"Gutter\"})(mi||(mi={}));var gi;(function(e){e[e.Both=0]=\"Both\",e[e.Right=1]=\"Right\",e[e.Left=2]=\"Left\",e[e.None=3]=\"None\"})(gi||(gi={}));function Os(e,t,r,n,i){if(n===0)return!0;const s=t.charCodeAt(n-1);if(e.get(s)!==0||s===13||s===10)return!0;if(i>0){const o=t.charCodeAt(n);if(e.get(o)!==0)return!0}return!1}function Us(e,t,r,n,i){if(n+i===r)return!0;const s=t.charCodeAt(n+i);if(e.get(s)!==0||s===13||s===10)return!0;if(i>0){const o=t.charCodeAt(n+i-1);if(e.get(o)!==0)return!0}return!1}function js(e,t,r,n,i){return Os(e,t,r,n,i)&&Us(e,t,r,n,i)}class Bs{constructor(t,r){this._wordSeparators=t,this._searchRegex=r,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(t){this._searchRegex.lastIndex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(t){const r=t.length;let n;do{if(this._prevMatchStartIndex+this._prevMatchLength===r||(n=this._searchRegex.exec(t),!n))return null;const i=n.index,s=n[0].length;if(i===this._prevMatchStartIndex&&s===this._prevMatchLength){if(s===0){ja(t,r,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=i,this._prevMatchLength=s,!this._wordSeparators||js(this._wordSeparators,t,r,i,s))return n}while(n);return null}}class Ws{static computeUnicodeHighlights(t,r,n){const i=n?n.startLineNumber:1,s=n?n.endLineNumber:t.getLineCount(),o=new pi(r),l=o.getCandidateCodePoints();let u;l===\"allNonBasicAscii\"?u=new RegExp(\"[^\\\\t\\\\n\\\\r\\\\x20-\\\\x7E]\",\"g\"):u=new RegExp(`${qs(Array.from(l))}`,\"g\");const c=new Bs(null,u),h=[];let f=!1,d,m=0,b=0,p=0;e:for(let g=i,N=s;g<=N;g++){const w=t.getLineContent(g),v=w.length;c.reset(0);do if(d=c.next(w),d){let S=d.index,A=d.index+d[0].length;if(S>0){const L=w.charCodeAt(S-1);or(L)&&S--}if(A+1<v){const L=w.charCodeAt(A-1);or(L)&&A++}const y=w.substring(S,A),C=mr(S+1,Sn,w,0),_=o.shouldHighlightNonBasicASCII(y,C?C.word:null);if(_!==0){_===3?m++:_===2?b++:_===1?p++:Ea();const L=1e3;if(h.length>=L){f=!0;break e}h.push(new J(g,S+1,g,A+1))}}while(d)}return{ranges:h,hasMore:f,ambiguousCharacterCount:m,invisibleCharacterCount:b,nonBasicAsciiCharacterCount:p}}static computeUnicodeHighlightReason(t,r){const n=new pi(r);switch(n.shouldHighlightNonBasicASCII(t,null)){case 0:return null;case 2:return{kind:1};case 3:{const s=t.codePointAt(0),o=n.ambiguousCharacters.getPrimaryConfusable(s),l=ge.getLocales().filter(u=>!ge.getInstance(new Set([...r.allowedLocales,u])).isAmbiguous(s));return{kind:0,confusableWith:String.fromCodePoint(o),notAmbiguousInLocales:l}}case 1:return{kind:2}}}}function qs(e,t){return`[${Va(e.map(n=>String.fromCodePoint(n)).join(\"\"))}]`}class pi{constructor(t){this.options=t,this.allowedCodePoints=new Set(t.allowedCodePoints),this.ambiguousCharacters=ge.getInstance(new Set(t.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return\"allNonBasicAscii\";const t=new Set;if(this.options.invisibleCharacters)for(const r of Ee.codePoints)vi(String.fromCodePoint(r))||t.add(r);if(this.options.ambiguousCharacters)for(const r of this.ambiguousCharacters.getConfusableCodePoints())t.add(r);for(const r of this.allowedCodePoints)t.delete(r);return t}shouldHighlightNonBasicASCII(t,r){const n=t.codePointAt(0);if(this.allowedCodePoints.has(n))return 0;if(this.options.nonBasicASCII)return 1;let i=!1,s=!1;if(r)for(let o of r){const l=o.codePointAt(0),u=Wa(o);i=i||u,!u&&!this.ambiguousCharacters.isAmbiguous(l)&&!Ee.isInvisibleCharacter(l)&&(s=!0)}return!i&&s?0:this.options.invisibleCharacters&&!vi(t)&&Ee.isInvisibleCharacter(n)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(n)?3:0}}function vi(e){return e===\" \"||e===`\n`||e===\"\t\"}var He=function(e,t,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function l(h){try{c(n.next(h))}catch(f){o(f)}}function u(h){try{c(n.throw(h))}catch(f){o(f)}}function c(h){h.done?s(h.value):i(h.value).then(l,u)}c((n=n.apply(e,t||[])).next())})};class $s extends bs{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(t){return this._lines[t-1]}getWordAtPosition(t,r){const n=mr(t.column,Cs(r),this._lines[t.lineNumber-1],0);return n?new J(t.lineNumber,n.startColumn,t.lineNumber,n.endColumn):null}words(t){const r=this._lines,n=this._wordenize.bind(this);let i=0,s=\"\",o=0,l=[];return{*[Symbol.iterator](){for(;;)if(o<l.length){const u=s.substring(l[o].start,l[o].end);o+=1,yield u}else if(i<r.length)s=r[i],l=n(s,t),o=0,i+=1;else break}}}getLineWords(t,r){const n=this._lines[t-1],i=this._wordenize(n,r),s=[];for(const o of i)s.push({word:n.substring(o.start,o.end),startColumn:o.start+1,endColumn:o.end+1});return s}_wordenize(t,r){const n=[];let i;for(r.lastIndex=0;(i=r.exec(t))&&i[0].length!==0;)n.push({start:i.index,end:i.index+i[0].length});return n}getValueInRange(t){if(t=this._validateRange(t),t.startLineNumber===t.endLineNumber)return this._lines[t.startLineNumber-1].substring(t.startColumn-1,t.endColumn-1);const r=this._eol,n=t.startLineNumber-1,i=t.endLineNumber-1,s=[];s.push(this._lines[n].substring(t.startColumn-1));for(let o=n+1;o<i;o++)s.push(this._lines[o]);return s.push(this._lines[i].substring(0,t.endColumn-1)),s.join(r)}offsetAt(t){return t=this._validatePosition(t),this._ensureLineStarts(),this._lineStarts.getPrefixSum(t.lineNumber-2)+(t.column-1)}positionAt(t){t=Math.floor(t),t=Math.max(0,t),this._ensureLineStarts();const r=this._lineStarts.getIndexOf(t),n=this._lines[r.index].length;return{lineNumber:1+r.index,column:1+Math.min(r.remainder,n)}}_validateRange(t){const r=this._validatePosition({lineNumber:t.startLineNumber,column:t.startColumn}),n=this._validatePosition({lineNumber:t.endLineNumber,column:t.endColumn});return r.lineNumber!==t.startLineNumber||r.column!==t.startColumn||n.lineNumber!==t.endLineNumber||n.column!==t.endColumn?{startLineNumber:r.lineNumber,startColumn:r.column,endLineNumber:n.lineNumber,endColumn:n.column}:t}_validatePosition(t){if(!le.isIPosition(t))throw new Error(\"bad position\");let{lineNumber:r,column:n}=t,i=!1;if(r<1)r=1,n=1,i=!0;else if(r>this._lines.length)r=this._lines.length,n=this._lines[r-1].length+1,i=!0;else{const s=this._lines[r-1].length+1;n<1?(n=1,i=!0):n>s&&(n=s,i=!0)}return i?{lineNumber:r,column:n}:t}}class tt{constructor(t,r){this._host=t,this._models=Object.create(null),this._foreignModuleFactory=r,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(t){return this._models[t]}_getModels(){const t=[];return Object.keys(this._models).forEach(r=>t.push(this._models[r])),t}acceptNewModel(t){this._models[t.url]=new $s($e.parse(t.url),t.lines,t.EOL,t.versionId)}acceptModelChanged(t,r){if(!this._models[t])return;this._models[t].onEvents(r)}acceptRemovedModel(t){!this._models[t]||delete this._models[t]}computeUnicodeHighlights(t,r,n){return He(this,void 0,void 0,function*(){const i=this._getModel(t);return i?Ws.computeUnicodeHighlights(i,r,n):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(t,r,n,i){return He(this,void 0,void 0,function*(){const s=this._getModel(t),o=this._getModel(r);if(!s||!o)return null;const l=s.getLinesContent(),u=o.getLinesContent(),h=new gs(l,u,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:i}).computeDiff(),f=h.changes.length>0?!1:this._modelsAreIdentical(s,o);return{quitEarly:h.quitEarly,identical:f,changes:h.changes}})}_modelsAreIdentical(t,r){const n=t.getLineCount(),i=r.getLineCount();if(n!==i)return!1;for(let s=1;s<=n;s++){const o=t.getLineContent(s),l=r.getLineContent(s);if(o!==l)return!1}return!0}computeMoreMinimalEdits(t,r){return He(this,void 0,void 0,function*(){const n=this._getModel(t);if(!n)return r;const i=[];let s;r=r.slice(0).sort((o,l)=>{if(o.range&&l.range)return J.compareRangesUsingStarts(o.range,l.range);const u=o.range?0:1,c=l.range?0:1;return u-c});for(let{range:o,text:l,eol:u}of r){if(typeof u==\"number\"&&(s=u),J.isEmpty(o)&&!l)continue;const c=n.getValueInRange(o);if(l=l.replace(/\\r\\n|\\n|\\r/g,n.eol),c===l)continue;if(Math.max(l.length,c.length)>tt._diffLimit){i.push({range:o,text:l});continue}const h=Qa(c,l,!1),f=n.offsetAt(J.lift(o).getStartPosition());for(const d of h){const m=n.positionAt(f+d.originalStart),b=n.positionAt(f+d.originalStart+d.originalLength),p={text:l.substr(d.modifiedStart,d.modifiedLength),range:{startLineNumber:m.lineNumber,startColumn:m.column,endLineNumber:b.lineNumber,endColumn:b.column}};n.getValueInRange(p.range)!==p.text&&i.push(p)}}return typeof s==\"number\"&&i.push({eol:s,text:\"\",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),i})}computeLinks(t){return He(this,void 0,void 0,function*(){const r=this._getModel(t);return r?xs(r):null})}textualSuggest(t,r,n,i){return He(this,void 0,void 0,function*(){const s=new xt(!0),o=new RegExp(n,i),l=new Set;e:for(let u of t){const c=this._getModel(u);if(!!c){for(let h of c.words(o))if(!(h===r||!isNaN(Number(h)))&&(l.add(h),l.size>tt._suggestionsLimit))break e}}return{words:Array.from(l),duration:s.elapsed()}})}computeWordRanges(t,r,n,i){return He(this,void 0,void 0,function*(){const s=this._getModel(t);if(!s)return Object.create(null);const o=new RegExp(n,i),l=Object.create(null);for(let u=r.startLineNumber;u<r.endLineNumber;u++){const c=s.getLineWords(u,o);for(const h of c){if(!isNaN(Number(h.word)))continue;let f=l[h.word];f||(f=[],l[h.word]=f),f.push({startLineNumber:u,startColumn:h.startColumn,endLineNumber:u,endColumn:h.endColumn})}}return l})}navigateValueSet(t,r,n,i,s){return He(this,void 0,void 0,function*(){const o=this._getModel(t);if(!o)return null;const l=new RegExp(i,s);r.startColumn===r.endColumn&&(r={startLineNumber:r.startLineNumber,startColumn:r.startColumn,endLineNumber:r.endLineNumber,endColumn:r.endColumn+1});const u=o.getValueInRange(r),c=o.getWordAtPosition({lineNumber:r.startLineNumber,column:r.startColumn},l);if(!c)return null;const h=o.getValueInRange(c);return vr.INSTANCE.navigateValueSet(r,u,c,h,n)})}loadForeignModule(t,r,n){const o={host:Ta(n,(l,u)=>this._host.fhr(l,u)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(o,r),Promise.resolve(sr(this._foreignModule))):Promise.reject(new Error(\"Unexpected usage\"))}fmr(t,r){if(!this._foreignModule||typeof this._foreignModule[t]!=\"function\")return Promise.reject(new Error(\"Missing requestHandler or method: \"+t));try{return Promise.resolve(this._foreignModule[t].apply(this._foreignModule,r))}catch(n){return Promise.reject(n)}}}tt._diffLimit=1e5,tt._suggestionsLimit=1e4,typeof importScripts==\"function\"&&(ee.monaco=Rs());let Lr=!1;function bi(e){if(Lr)return;Lr=!0;const t=new Xa(r=>{self.postMessage(r)},r=>new tt(r,e));self.onmessage=r=>{t.onmessage(r.data)}}self.onmessage=e=>{Lr||bi(null)};/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/function kr(e,t){t===void 0&&(t=!1);var r=e.length,n=0,i=\"\",s=0,o=16,l=0,u=0,c=0,h=0,f=0;function d(v,S){for(var A=0,y=0;A<v||!S;){var C=e.charCodeAt(n);if(C>=48&&C<=57)y=y*16+C-48;else if(C>=65&&C<=70)y=y*16+C-65+10;else if(C>=97&&C<=102)y=y*16+C-97+10;else break;n++,A++}return A<v&&(y=-1),y}function m(v){n=v,i=\"\",s=0,o=16,f=0}function b(){var v=n;if(e.charCodeAt(n)===48)n++;else for(n++;n<e.length&&rt(e.charCodeAt(n));)n++;if(n<e.length&&e.charCodeAt(n)===46)if(n++,n<e.length&&rt(e.charCodeAt(n)))for(n++;n<e.length&&rt(e.charCodeAt(n));)n++;else return f=3,e.substring(v,n);var S=n;if(n<e.length&&(e.charCodeAt(n)===69||e.charCodeAt(n)===101))if(n++,(n<e.length&&e.charCodeAt(n)===43||e.charCodeAt(n)===45)&&n++,n<e.length&&rt(e.charCodeAt(n))){for(n++;n<e.length&&rt(e.charCodeAt(n));)n++;S=n}else f=3;return e.substring(v,S)}function p(){for(var v=\"\",S=n;;){if(n>=r){v+=e.substring(S,n),f=2;break}var A=e.charCodeAt(n);if(A===34){v+=e.substring(S,n),n++;break}if(A===92){if(v+=e.substring(S,n),n++,n>=r){f=2;break}var y=e.charCodeAt(n++);switch(y){case 34:v+='\"';break;case 92:v+=\"\\\\\";break;case 47:v+=\"/\";break;case 98:v+=\"\\b\";break;case 102:v+=\"\\f\";break;case 110:v+=`\n`;break;case 114:v+=\"\\r\";break;case 116:v+=\"\t\";break;case 117:var C=d(4,!0);C>=0?v+=String.fromCharCode(C):f=4;break;default:f=5}S=n;continue}if(A>=0&&A<=31)if(dt(A)){v+=e.substring(S,n),f=2;break}else f=6;n++}return v}function g(){if(i=\"\",f=0,s=n,u=l,h=c,n>=r)return s=r,o=17;var v=e.charCodeAt(n);if(xr(v)){do n++,i+=String.fromCharCode(v),v=e.charCodeAt(n);while(xr(v));return o=15}if(dt(v))return n++,i+=String.fromCharCode(v),v===13&&e.charCodeAt(n)===10&&(n++,i+=`\n`),l++,c=n,o=14;switch(v){case 123:return n++,o=1;case 125:return n++,o=2;case 91:return n++,o=3;case 93:return n++,o=4;case 58:return n++,o=6;case 44:return n++,o=5;case 34:return n++,i=p(),o=10;case 47:var S=n-1;if(e.charCodeAt(n+1)===47){for(n+=2;n<r&&!dt(e.charCodeAt(n));)n++;return i=e.substring(S,n),o=12}if(e.charCodeAt(n+1)===42){n+=2;for(var A=r-1,y=!1;n<A;){var C=e.charCodeAt(n);if(C===42&&e.charCodeAt(n+1)===47){n+=2,y=!0;break}n++,dt(C)&&(C===13&&e.charCodeAt(n)===10&&n++,l++,c=n)}return y||(n++,f=1),i=e.substring(S,n),o=13}return i+=String.fromCharCode(v),n++,o=16;case 45:if(i+=String.fromCharCode(v),n++,n===r||!rt(e.charCodeAt(n)))return o=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return i+=b(),o=11;default:for(;n<r&&N(v);)n++,v=e.charCodeAt(n);if(s!==n){switch(i=e.substring(s,n),i){case\"true\":return o=8;case\"false\":return o=9;case\"null\":return o=7}return o=16}return i+=String.fromCharCode(v),n++,o=16}}function N(v){if(xr(v)||dt(v))return!1;switch(v){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function w(){var v;do v=g();while(v>=12&&v<=15);return v}return{setPosition:m,getPosition:function(){return n},scan:t?w:g,getToken:function(){return o},getTokenValue:function(){return i},getTokenOffset:function(){return s},getTokenLength:function(){return n-s},getTokenStartLine:function(){return u},getTokenStartCharacter:function(){return s-h},getTokenError:function(){return f}}}function xr(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 dt(e){return e===10||e===13||e===8232||e===8233}function rt(e){return e>=48&&e<=57}function Hs(e,t,r){var n,i,s,o,l;if(t){for(o=t.offset,l=o+t.length,s=o;s>0&&!wi(e,s-1);)s--;for(var u=l;u<e.length&&!wi(e,u);)u++;i=e.substring(s,u),n=zs(i,r)}else i=e,n=0,s=0,o=0,l=e.length;var c=Gs(r,e),h=!1,f=0,d;r.insertSpaces?d=Mr(\" \",r.tabSize||4):d=\"\t\";var m=kr(i,!1),b=!1;function p(){return c+Mr(d,n+f)}function g(){var P=m.scan();for(h=!1;P===15||P===14;)h=h||P===14,P=m.scan();return b=P===16||m.getTokenError()!==0,P}var N=[];function w(P,D,B){!b&&(!t||D<l&&B>o)&&e.substring(D,B)!==P&&N.push({offset:D,length:B-D,content:P})}var v=g();if(v!==17){var S=m.getTokenOffset()+s,A=Mr(d,n);w(A,s,S)}for(;v!==17;){for(var y=m.getTokenOffset()+m.getTokenLength()+s,C=g(),_=\"\",L=!1;!h&&(C===12||C===13);){var M=m.getTokenOffset()+s;w(\" \",y,M),y=m.getTokenOffset()+m.getTokenLength()+s,L=C===12,_=L?p():\"\",C=g()}if(C===2)v!==1&&(f--,_=p());else if(C===4)v!==3&&(f--,_=p());else{switch(v){case 3:case 1:f++,_=p();break;case 5:case 12:_=p();break;case 13:h?_=p():L||(_=\" \");break;case 6:L||(_=\" \");break;case 10:if(C===6){L||(_=\"\");break}case 7:case 8:case 9:case 11:case 2:case 4:C===12||C===13?L||(_=\" \"):C!==5&&C!==17&&(b=!0);break;case 16:b=!0;break}h&&(C===12||C===13)&&(_=p())}C===17&&(_=r.insertFinalNewline?c:\"\");var E=m.getTokenOffset()+s;w(_,y,E),v=C}return N}function Mr(e,t){for(var r=\"\",n=0;n<t;n++)r+=e;return r}function zs(e,t){for(var r=0,n=0,i=t.tabSize||4;r<e.length;){var s=e.charAt(r);if(s===\" \")n++;else if(s===\"\t\")n+=i;else break;r++}return Math.floor(n/i)}function Gs(e,t){for(var r=0;r<t.length;r++){var n=t.charAt(r);if(n===\"\\r\")return r+1<t.length&&t.charAt(r+1)===`\n`?`\\r\n`:\"\\r\";if(n===`\n`)return`\n`}return e&&e.eol||`\n`}function wi(e,t){return`\\r\n`.indexOf(e.charAt(t))!==-1}var Dt;(function(e){e.DEFAULT={allowTrailingComma:!1}})(Dt||(Dt={}));function Js(e,t,r){t===void 0&&(t=[]),r===void 0&&(r=Dt.DEFAULT);var n=null,i=[],s=[];function o(u){Array.isArray(i)?i.push(u):n!==null&&(i[n]=u)}var l={onObjectBegin:function(){var u={};o(u),s.push(i),i=u,n=null},onObjectProperty:function(u){n=u},onObjectEnd:function(){i=s.pop()},onArrayBegin:function(){var u=[];o(u),s.push(i),i=u,n=null},onArrayEnd:function(){i=s.pop()},onLiteralValue:o,onError:function(u,c,h){t.push({error:u,offset:c,length:h})}};return Xs(e,l,r),i[0]}function yi(e){if(!e.parent||!e.parent.children)return[];var t=yi(e.parent);if(e.parent.type===\"property\"){var r=e.parent.children[0].value;t.push(r)}else if(e.parent.type===\"array\"){var n=e.parent.children.indexOf(e);n!==-1&&t.push(n)}return t}function Pr(e){switch(e.type){case\"array\":return e.children.map(Pr);case\"object\":for(var t=Object.create(null),r=0,n=e.children;r<n.length;r++){var i=n[r],s=i.children[1];s&&(t[i.children[0].value]=Pr(s))}return t;case\"null\":case\"string\":case\"number\":case\"boolean\":return e.value;default:return}}function Zs(e,t,r){return r===void 0&&(r=!1),t>=e.offset&&t<e.offset+e.length||r&&t===e.offset+e.length}function Ci(e,t,r){if(r===void 0&&(r=!1),Zs(e,t,r)){var n=e.children;if(Array.isArray(n))for(var i=0;i<n.length&&n[i].offset<=t;i++){var s=Ci(n[i],t,r);if(s)return s}return e}}function Xs(e,t,r){r===void 0&&(r=Dt.DEFAULT);var n=kr(e,!1);function i(L){return L?function(){return L(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter())}:function(){return!0}}function s(L){return L?function(M){return L(M,n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter())}:function(){return!0}}var o=i(t.onObjectBegin),l=s(t.onObjectProperty),u=i(t.onObjectEnd),c=i(t.onArrayBegin),h=i(t.onArrayEnd),f=s(t.onLiteralValue),d=s(t.onSeparator),m=i(t.onComment),b=s(t.onError),p=r&&r.disallowComments,g=r&&r.allowTrailingComma;function N(){for(;;){var L=n.scan();switch(n.getTokenError()){case 4:w(14);break;case 5:w(15);break;case 3:w(13);break;case 1:p||w(11);break;case 2:w(12);break;case 6:w(16);break}switch(L){case 12:case 13:p?w(10):m();break;case 16:w(1);break;case 15:case 14:break;default:return L}}}function w(L,M,E){if(M===void 0&&(M=[]),E===void 0&&(E=[]),b(L),M.length+E.length>0)for(var P=n.getToken();P!==17;){if(M.indexOf(P)!==-1){N();break}else if(E.indexOf(P)!==-1)break;P=N()}}function v(L){var M=n.getTokenValue();return L?f(M):l(M),N(),!0}function S(){switch(n.getToken()){case 11:var L=n.getTokenValue(),M=Number(L);isNaN(M)&&(w(2),M=0),f(M);break;case 7:f(null);break;case 8:f(!0);break;case 9:f(!1);break;default:return!1}return N(),!0}function A(){return n.getToken()!==10?(w(3,[],[2,5]),!1):(v(!1),n.getToken()===6?(d(\":\"),N(),_()||w(4,[],[2,5])):w(5,[],[2,5]),!0)}function y(){o(),N();for(var L=!1;n.getToken()!==2&&n.getToken()!==17;){if(n.getToken()===5){if(L||w(4,[],[]),d(\",\"),N(),n.getToken()===2&&g)break}else L&&w(6,[],[]);A()||w(4,[],[2,5]),L=!0}return u(),n.getToken()!==2?w(7,[2],[]):N(),!0}function C(){c(),N();for(var L=!1;n.getToken()!==4&&n.getToken()!==17;){if(n.getToken()===5){if(L||w(4,[],[]),d(\",\"),N(),n.getToken()===4&&g)break}else L&&w(6,[],[]);_()||w(4,[],[4,5]),L=!0}return h(),n.getToken()!==4?w(8,[4],[]):N(),!0}function _(){switch(n.getToken()){case 3:return C();case 1:return y();case 10:return v(!0);default:return S()}}return N(),n.getToken()===17?r.allowEmptyContent?!0:(w(4,[],[]),!1):_()?(n.getToken()!==17&&w(9,[],[]),!0):(w(4,[],[]),!1)}var nt=kr,Ys=Js,Qs=Ci,Ks=yi,eo=Pr;function to(e,t,r){return Hs(e,t,r)}function mt(e,t){if(e===t)return!0;if(e==null||t===null||t===void 0||typeof e!=typeof t||typeof e!=\"object\"||Array.isArray(e)!==Array.isArray(t))return!1;var r,n;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(r=0;r<e.length;r++)if(!mt(e[r],t[r]))return!1}else{var i=[];for(n in e)i.push(n);i.sort();var s=[];for(n in t)s.push(n);if(s.sort(),!mt(i,s))return!1;for(r=0;r<i.length;r++)if(!mt(e[i[r]],t[i[r]]))return!1}return!0}function he(e){return typeof e==\"number\"}function xe(e){return typeof e!=\"undefined\"}function Ce(e){return typeof e==\"boolean\"}function ro(e){return typeof e==\"string\"}function no(e,t){if(e.length<t.length)return!1;for(var r=0;r<t.length;r++)if(e[r]!==t[r])return!1;return!0}function gt(e,t){var r=e.length-t.length;return r>0?e.lastIndexOf(t)===r:r===0?e===t:!1}function Rt(e){var t=\"\";no(e,\"(?i)\")&&(e=e.substring(4),t=\"i\");try{return new RegExp(e,t+\"u\")}catch{try{return new RegExp(e,t)}catch{return}}}var _i;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647})(_i||(_i={}));var Ot;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647})(Ot||(Ot={}));var be;(function(e){function t(n,i){return n===Number.MAX_VALUE&&(n=Ot.MAX_VALUE),i===Number.MAX_VALUE&&(i=Ot.MAX_VALUE),{line:n,character:i}}e.create=t;function r(n){var i=n;return k.objectLiteral(i)&&k.uinteger(i.line)&&k.uinteger(i.character)}e.is=r})(be||(be={}));var $;(function(e){function t(n,i,s,o){if(k.uinteger(n)&&k.uinteger(i)&&k.uinteger(s)&&k.uinteger(o))return{start:be.create(n,i),end:be.create(s,o)};if(be.is(n)&&be.is(i))return{start:n,end:i};throw new Error(\"Range#create called with invalid arguments[\"+n+\", \"+i+\", \"+s+\", \"+o+\"]\")}e.create=t;function r(n){var i=n;return k.objectLiteral(i)&&be.is(i.start)&&be.is(i.end)}e.is=r})($||($={}));var pt;(function(e){function t(n,i){return{uri:n,range:i}}e.create=t;function r(n){var i=n;return k.defined(i)&&$.is(i.range)&&(k.string(i.uri)||k.undefined(i.uri))}e.is=r})(pt||(pt={}));var Si;(function(e){function t(n,i,s,o){return{targetUri:n,targetRange:i,targetSelectionRange:s,originSelectionRange:o}}e.create=t;function r(n){var i=n;return k.defined(i)&&$.is(i.targetRange)&&k.string(i.targetUri)&&($.is(i.targetSelectionRange)||k.undefined(i.targetSelectionRange))&&($.is(i.originSelectionRange)||k.undefined(i.originSelectionRange))}e.is=r})(Si||(Si={}));var Tr;(function(e){function t(n,i,s,o){return{red:n,green:i,blue:s,alpha:o}}e.create=t;function r(n){var i=n;return k.numberRange(i.red,0,1)&&k.numberRange(i.green,0,1)&&k.numberRange(i.blue,0,1)&&k.numberRange(i.alpha,0,1)}e.is=r})(Tr||(Tr={}));var Ai;(function(e){function t(n,i){return{range:n,color:i}}e.create=t;function r(n){var i=n;return $.is(i.range)&&Tr.is(i.color)}e.is=r})(Ai||(Ai={}));var Ni;(function(e){function t(n,i,s){return{label:n,textEdit:i,additionalTextEdits:s}}e.create=t;function r(n){var i=n;return k.string(i.label)&&(k.undefined(i.textEdit)||we.is(i))&&(k.undefined(i.additionalTextEdits)||k.typedArray(i.additionalTextEdits,we.is))}e.is=r})(Ni||(Ni={}));var vt;(function(e){e.Comment=\"comment\",e.Imports=\"imports\",e.Region=\"region\"})(vt||(vt={}));var Li;(function(e){function t(n,i,s,o,l){var u={startLine:n,endLine:i};return k.defined(s)&&(u.startCharacter=s),k.defined(o)&&(u.endCharacter=o),k.defined(l)&&(u.kind=l),u}e.create=t;function r(n){var i=n;return k.uinteger(i.startLine)&&k.uinteger(i.startLine)&&(k.undefined(i.startCharacter)||k.uinteger(i.startCharacter))&&(k.undefined(i.endCharacter)||k.uinteger(i.endCharacter))&&(k.undefined(i.kind)||k.string(i.kind))}e.is=r})(Li||(Li={}));var Er;(function(e){function t(n,i){return{location:n,message:i}}e.create=t;function r(n){var i=n;return k.defined(i)&&pt.is(i.location)&&k.string(i.message)}e.is=r})(Er||(Er={}));var de;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(de||(de={}));var ki;(function(e){e.Unnecessary=1,e.Deprecated=2})(ki||(ki={}));var xi;(function(e){function t(r){var n=r;return n!=null&&k.string(n.href)}e.is=t})(xi||(xi={}));var Me;(function(e){function t(n,i,s,o,l,u){var c={range:n,message:i};return k.defined(s)&&(c.severity=s),k.defined(o)&&(c.code=o),k.defined(l)&&(c.source=l),k.defined(u)&&(c.relatedInformation=u),c}e.create=t;function r(n){var i,s=n;return k.defined(s)&&$.is(s.range)&&k.string(s.message)&&(k.number(s.severity)||k.undefined(s.severity))&&(k.integer(s.code)||k.string(s.code)||k.undefined(s.code))&&(k.undefined(s.codeDescription)||k.string((i=s.codeDescription)===null||i===void 0?void 0:i.href))&&(k.string(s.source)||k.undefined(s.source))&&(k.undefined(s.relatedInformation)||k.typedArray(s.relatedInformation,Er.is))}e.is=r})(Me||(Me={}));var bt;(function(e){function t(n,i){for(var s=[],o=2;o<arguments.length;o++)s[o-2]=arguments[o];var l={title:n,command:i};return k.defined(s)&&s.length>0&&(l.arguments=s),l}e.create=t;function r(n){var i=n;return k.defined(i)&&k.string(i.title)&&k.string(i.command)}e.is=r})(bt||(bt={}));var we;(function(e){function t(s,o){return{range:s,newText:o}}e.replace=t;function r(s,o){return{range:{start:s,end:s},newText:o}}e.insert=r;function n(s){return{range:s,newText:\"\"}}e.del=n;function i(s){var o=s;return k.objectLiteral(o)&&k.string(o.newText)&&$.is(o.range)}e.is=i})(we||(we={}));var it;(function(e){function t(n,i,s){var o={label:n};return i!==void 0&&(o.needsConfirmation=i),s!==void 0&&(o.description=s),o}e.create=t;function r(n){var i=n;return i!==void 0&&k.objectLiteral(i)&&k.string(i.label)&&(k.boolean(i.needsConfirmation)||i.needsConfirmation===void 0)&&(k.string(i.description)||i.description===void 0)}e.is=r})(it||(it={}));var ne;(function(e){function t(r){var n=r;return typeof n==\"string\"}e.is=t})(ne||(ne={}));var Oe;(function(e){function t(s,o,l){return{range:s,newText:o,annotationId:l}}e.replace=t;function r(s,o,l){return{range:{start:s,end:s},newText:o,annotationId:l}}e.insert=r;function n(s,o){return{range:s,newText:\"\",annotationId:o}}e.del=n;function i(s){var o=s;return we.is(o)&&(it.is(o.annotationId)||ne.is(o.annotationId))}e.is=i})(Oe||(Oe={}));var Ut;(function(e){function t(n,i){return{textDocument:n,edits:i}}e.create=t;function r(n){var i=n;return k.defined(i)&&Bt.is(i.textDocument)&&Array.isArray(i.edits)}e.is=r})(Ut||(Ut={}));var wt;(function(e){function t(n,i,s){var o={kind:\"create\",uri:n};return i!==void 0&&(i.overwrite!==void 0||i.ignoreIfExists!==void 0)&&(o.options=i),s!==void 0&&(o.annotationId=s),o}e.create=t;function r(n){var i=n;return i&&i.kind===\"create\"&&k.string(i.uri)&&(i.options===void 0||(i.options.overwrite===void 0||k.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||k.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||ne.is(i.annotationId))}e.is=r})(wt||(wt={}));var yt;(function(e){function t(n,i,s,o){var l={kind:\"rename\",oldUri:n,newUri:i};return s!==void 0&&(s.overwrite!==void 0||s.ignoreIfExists!==void 0)&&(l.options=s),o!==void 0&&(l.annotationId=o),l}e.create=t;function r(n){var i=n;return i&&i.kind===\"rename\"&&k.string(i.oldUri)&&k.string(i.newUri)&&(i.options===void 0||(i.options.overwrite===void 0||k.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||k.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||ne.is(i.annotationId))}e.is=r})(yt||(yt={}));var Ct;(function(e){function t(n,i,s){var o={kind:\"delete\",uri:n};return i!==void 0&&(i.recursive!==void 0||i.ignoreIfNotExists!==void 0)&&(o.options=i),s!==void 0&&(o.annotationId=s),o}e.create=t;function r(n){var i=n;return i&&i.kind===\"delete\"&&k.string(i.uri)&&(i.options===void 0||(i.options.recursive===void 0||k.boolean(i.options.recursive))&&(i.options.ignoreIfNotExists===void 0||k.boolean(i.options.ignoreIfNotExists)))&&(i.annotationId===void 0||ne.is(i.annotationId))}e.is=r})(Ct||(Ct={}));var Fr;(function(e){function t(r){var n=r;return n&&(n.changes!==void 0||n.documentChanges!==void 0)&&(n.documentChanges===void 0||n.documentChanges.every(function(i){return k.string(i.kind)?wt.is(i)||yt.is(i)||Ct.is(i):Ut.is(i)}))}e.is=t})(Fr||(Fr={}));var jt=function(){function e(t,r){this.edits=t,this.changeAnnotations=r}return e.prototype.insert=function(t,r,n){var i,s;if(n===void 0?i=we.insert(t,r):ne.is(n)?(s=n,i=Oe.insert(t,r,n)):(this.assertChangeAnnotations(this.changeAnnotations),s=this.changeAnnotations.manage(n),i=Oe.insert(t,r,s)),this.edits.push(i),s!==void 0)return s},e.prototype.replace=function(t,r,n){var i,s;if(n===void 0?i=we.replace(t,r):ne.is(n)?(s=n,i=Oe.replace(t,r,n)):(this.assertChangeAnnotations(this.changeAnnotations),s=this.changeAnnotations.manage(n),i=Oe.replace(t,r,s)),this.edits.push(i),s!==void 0)return s},e.prototype.delete=function(t,r){var n,i;if(r===void 0?n=we.del(t):ne.is(r)?(i=r,n=Oe.del(t,r)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(r),n=Oe.del(t,i)),this.edits.push(n),i!==void 0)return i},e.prototype.add=function(t){this.edits.push(t)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(t){if(t===void 0)throw new Error(\"Text edit change is not configured to manage change annotations.\")},e}(),Mi=function(){function e(t){this._annotations=t===void 0?Object.create(null):t,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(t,r){var n;if(ne.is(t)?n=t:(n=this.nextId(),r=t),this._annotations[n]!==void 0)throw new Error(\"Id \"+n+\" is already in use.\");if(r===void 0)throw new Error(\"No annotation provided for id \"+n);return this._annotations[n]=r,this._size++,n},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();(function(){function e(t){var r=this;this._textEditChanges=Object.create(null),t!==void 0?(this._workspaceEdit=t,t.documentChanges?(this._changeAnnotations=new Mi(t.changeAnnotations),t.changeAnnotations=this._changeAnnotations.all(),t.documentChanges.forEach(function(n){if(Ut.is(n)){var i=new jt(n.edits,r._changeAnnotations);r._textEditChanges[n.textDocument.uri]=i}})):t.changes&&Object.keys(t.changes).forEach(function(n){var i=new jt(t.changes[n]);r._textEditChanges[n]=i})):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(t){if(Bt.is(t)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var r={uri:t.uri,version:t.version},n=this._textEditChanges[r.uri];if(!n){var i=[],s={textDocument:r,edits:i};this._workspaceEdit.documentChanges.push(s),n=new jt(i,this._changeAnnotations),this._textEditChanges[r.uri]=n}return n}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error(\"Workspace edit is not configured for normal text edit changes.\");var n=this._textEditChanges[t];if(!n){var i=[];this._workspaceEdit.changes[t]=i,n=new jt(i),this._textEditChanges[t]=n}return n}},e.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new Mi,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(t,r,n){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var i;it.is(r)||ne.is(r)?i=r:n=r;var s,o;if(i===void 0?s=wt.create(t,n):(o=ne.is(i)?i:this._changeAnnotations.manage(i),s=wt.create(t,n,o)),this._workspaceEdit.documentChanges.push(s),o!==void 0)return o},e.prototype.renameFile=function(t,r,n,i){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var s;it.is(n)||ne.is(n)?s=n:i=n;var o,l;if(s===void 0?o=yt.create(t,r,i):(l=ne.is(s)?s:this._changeAnnotations.manage(s),o=yt.create(t,r,i,l)),this._workspaceEdit.documentChanges.push(o),l!==void 0)return l},e.prototype.deleteFile=function(t,r,n){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var i;it.is(r)||ne.is(r)?i=r:n=r;var s,o;if(i===void 0?s=Ct.create(t,n):(o=ne.is(i)?i:this._changeAnnotations.manage(i),s=Ct.create(t,n,o)),this._workspaceEdit.documentChanges.push(s),o!==void 0)return o},e})();var Pi;(function(e){function t(n){return{uri:n}}e.create=t;function r(n){var i=n;return k.defined(i)&&k.string(i.uri)}e.is=r})(Pi||(Pi={}));var Ti;(function(e){function t(n,i){return{uri:n,version:i}}e.create=t;function r(n){var i=n;return k.defined(i)&&k.string(i.uri)&&k.integer(i.version)}e.is=r})(Ti||(Ti={}));var Bt;(function(e){function t(n,i){return{uri:n,version:i}}e.create=t;function r(n){var i=n;return k.defined(i)&&k.string(i.uri)&&(i.version===null||k.integer(i.version))}e.is=r})(Bt||(Bt={}));var Ei;(function(e){function t(n,i,s,o){return{uri:n,languageId:i,version:s,text:o}}e.create=t;function r(n){var i=n;return k.defined(i)&&k.string(i.uri)&&k.string(i.languageId)&&k.integer(i.version)&&k.string(i.text)}e.is=r})(Ei||(Ei={}));var Pe;(function(e){e.PlainText=\"plaintext\",e.Markdown=\"markdown\"})(Pe||(Pe={})),function(e){function t(r){var n=r;return n===e.PlainText||n===e.Markdown}e.is=t}(Pe||(Pe={}));var Vr;(function(e){function t(r){var n=r;return k.objectLiteral(r)&&Pe.is(n.kind)&&k.string(n.value)}e.is=t})(Vr||(Vr={}));var me;(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})(me||(me={}));var Q;(function(e){e.PlainText=1,e.Snippet=2})(Q||(Q={}));var Fi;(function(e){e.Deprecated=1})(Fi||(Fi={}));var Vi;(function(e){function t(n,i,s){return{newText:n,insert:i,replace:s}}e.create=t;function r(n){var i=n;return i&&k.string(i.newText)&&$.is(i.insert)&&$.is(i.replace)}e.is=r})(Vi||(Vi={}));var Ii;(function(e){e.asIs=1,e.adjustIndentation=2})(Ii||(Ii={}));var Ir;(function(e){function t(r){return{label:r}}e.create=t})(Ir||(Ir={}));var Di;(function(e){function t(r,n){return{items:r||[],isIncomplete:!!n}}e.create=t})(Di||(Di={}));var Wt;(function(e){function t(n){return n.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g,\"\\\\$&\")}e.fromPlainText=t;function r(n){var i=n;return k.string(i)||k.objectLiteral(i)&&k.string(i.language)&&k.string(i.value)}e.is=r})(Wt||(Wt={}));var Ri;(function(e){function t(r){var n=r;return!!n&&k.objectLiteral(n)&&(Vr.is(n.contents)||Wt.is(n.contents)||k.typedArray(n.contents,Wt.is))&&(r.range===void 0||$.is(r.range))}e.is=t})(Ri||(Ri={}));var Oi;(function(e){function t(r,n){return n?{label:r,documentation:n}:{label:r}}e.create=t})(Oi||(Oi={}));var Ui;(function(e){function t(r,n){for(var i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];var o={label:r};return k.defined(n)&&(o.documentation=n),k.defined(i)?o.parameters=i:o.parameters=[],o}e.create=t})(Ui||(Ui={}));var ji;(function(e){e.Text=1,e.Read=2,e.Write=3})(ji||(ji={}));var Bi;(function(e){function t(r,n){var i={range:r};return k.number(n)&&(i.kind=n),i}e.create=t})(Bi||(Bi={}));var _e;(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})(_e||(_e={}));var Wi;(function(e){e.Deprecated=1})(Wi||(Wi={}));var qi;(function(e){function t(r,n,i,s,o){var l={name:r,kind:n,location:{uri:s,range:i}};return o&&(l.containerName=o),l}e.create=t})(qi||(qi={}));var $i;(function(e){function t(n,i,s,o,l,u){var c={name:n,detail:i,kind:s,range:o,selectionRange:l};return u!==void 0&&(c.children=u),c}e.create=t;function r(n){var i=n;return i&&k.string(i.name)&&k.number(i.kind)&&$.is(i.range)&&$.is(i.selectionRange)&&(i.detail===void 0||k.string(i.detail))&&(i.deprecated===void 0||k.boolean(i.deprecated))&&(i.children===void 0||Array.isArray(i.children))&&(i.tags===void 0||Array.isArray(i.tags))}e.is=r})($i||($i={}));var Hi;(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\"})(Hi||(Hi={}));var zi;(function(e){function t(n,i){var s={diagnostics:n};return i!=null&&(s.only=i),s}e.create=t;function r(n){var i=n;return k.defined(i)&&k.typedArray(i.diagnostics,Me.is)&&(i.only===void 0||k.typedArray(i.only,k.string))}e.is=r})(zi||(zi={}));var Gi;(function(e){function t(n,i,s){var o={title:n},l=!0;return typeof i==\"string\"?(l=!1,o.kind=i):bt.is(i)?o.command=i:o.edit=i,l&&s!==void 0&&(o.kind=s),o}e.create=t;function r(n){var i=n;return i&&k.string(i.title)&&(i.diagnostics===void 0||k.typedArray(i.diagnostics,Me.is))&&(i.kind===void 0||k.string(i.kind))&&(i.edit!==void 0||i.command!==void 0)&&(i.command===void 0||bt.is(i.command))&&(i.isPreferred===void 0||k.boolean(i.isPreferred))&&(i.edit===void 0||Fr.is(i.edit))}e.is=r})(Gi||(Gi={}));var Ji;(function(e){function t(n,i){var s={range:n};return k.defined(i)&&(s.data=i),s}e.create=t;function r(n){var i=n;return k.defined(i)&&$.is(i.range)&&(k.undefined(i.command)||bt.is(i.command))}e.is=r})(Ji||(Ji={}));var Zi;(function(e){function t(n,i){return{tabSize:n,insertSpaces:i}}e.create=t;function r(n){var i=n;return k.defined(i)&&k.uinteger(i.tabSize)&&k.boolean(i.insertSpaces)}e.is=r})(Zi||(Zi={}));var Xi;(function(e){function t(n,i,s){return{range:n,target:i,data:s}}e.create=t;function r(n){var i=n;return k.defined(i)&&$.is(i.range)&&(k.undefined(i.target)||k.string(i.target))}e.is=r})(Xi||(Xi={}));var qt;(function(e){function t(n,i){return{range:n,parent:i}}e.create=t;function r(n){var i=n;return i!==void 0&&$.is(i.range)&&(i.parent===void 0||e.is(i.parent))}e.is=r})(qt||(qt={}));var Yi;(function(e){function t(s,o,l,u){return new io(s,o,l,u)}e.create=t;function r(s){var o=s;return!!(k.defined(o)&&k.string(o.uri)&&(k.undefined(o.languageId)||k.string(o.languageId))&&k.uinteger(o.lineCount)&&k.func(o.getText)&&k.func(o.positionAt)&&k.func(o.offsetAt))}e.is=r;function n(s,o){for(var l=s.getText(),u=i(o,function(b,p){var g=b.range.start.line-p.range.start.line;return g===0?b.range.start.character-p.range.start.character:g}),c=l.length,h=u.length-1;h>=0;h--){var f=u[h],d=s.offsetAt(f.range.start),m=s.offsetAt(f.range.end);if(m<=c)l=l.substring(0,d)+f.newText+l.substring(m,l.length);else throw new Error(\"Overlapping edit\");c=d}return l}e.applyEdits=n;function i(s,o){if(s.length<=1)return s;var l=s.length/2|0,u=s.slice(0,l),c=s.slice(l);i(u,o),i(c,o);for(var h=0,f=0,d=0;h<u.length&&f<c.length;){var m=o(u[h],c[f]);m<=0?s[d++]=u[h++]:s[d++]=c[f++]}for(;h<u.length;)s[d++]=u[h++];for(;f<c.length;)s[d++]=c[f++];return s}})(Yi||(Yi={}));var io=function(){function e(t,r,n,i){this._uri=t,this._languageId=r,this._version=n,this._content=i,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(t){if(t){var r=this.offsetAt(t.start),n=this.offsetAt(t.end);return this._content.substring(r,n)}return this._content},e.prototype.update=function(t,r){this._content=t.text,this._version=r,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(this._lineOffsets===void 0){for(var t=[],r=this._content,n=!0,i=0;i<r.length;i++){n&&(t.push(i),n=!1);var s=r.charAt(i);n=s===\"\\r\"||s===`\n`,s===\"\\r\"&&i+1<r.length&&r.charAt(i+1)===`\n`&&i++}n&&r.length>0&&t.push(r.length),this._lineOffsets=t}return this._lineOffsets},e.prototype.positionAt=function(t){t=Math.max(Math.min(t,this._content.length),0);var r=this.getLineOffsets(),n=0,i=r.length;if(i===0)return be.create(0,t);for(;n<i;){var s=Math.floor((n+i)/2);r[s]>t?i=s:n=s+1}var o=n-1;return be.create(o,t-r[o])},e.prototype.offsetAt=function(t){var r=this.getLineOffsets();if(t.line>=r.length)return this._content.length;if(t.line<0)return 0;var n=r[t.line],i=t.line+1<r.length?r[t.line+1]:this._content.length;return Math.max(Math.min(n+t.character,i),n)},Object.defineProperty(e.prototype,\"lineCount\",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),e}(),k;(function(e){var t=Object.prototype.toString;function r(m){return typeof m!=\"undefined\"}e.defined=r;function n(m){return typeof m==\"undefined\"}e.undefined=n;function i(m){return m===!0||m===!1}e.boolean=i;function s(m){return t.call(m)===\"[object String]\"}e.string=s;function o(m){return t.call(m)===\"[object Number]\"}e.number=o;function l(m,b,p){return t.call(m)===\"[object Number]\"&&b<=m&&m<=p}e.numberRange=l;function u(m){return t.call(m)===\"[object Number]\"&&-2147483648<=m&&m<=2147483647}e.integer=u;function c(m){return t.call(m)===\"[object Number]\"&&0<=m&&m<=2147483647}e.uinteger=c;function h(m){return t.call(m)===\"[object Function]\"}e.func=h;function f(m){return m!==null&&typeof m==\"object\"}e.objectLiteral=f;function d(m,b){return Array.isArray(m)&&m.every(b)}e.typedArray=d})(k||(k={}));var $t=class{constructor(e,t,r,n){this._uri=e,this._languageId=t,this._version=r,this._content=n,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){const t=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(t,r)}return this._content}update(e,t){for(let r of e)if($t.isIncremental(r)){const n=Ki(r.range),i=this.offsetAt(n.start),s=this.offsetAt(n.end);this._content=this._content.substring(0,i)+r.text+this._content.substring(s,this._content.length);const o=Math.max(n.start.line,0),l=Math.max(n.end.line,0);let u=this._lineOffsets;const c=Qi(r.text,!1,i);if(l-o===c.length)for(let f=0,d=c.length;f<d;f++)u[f+o+1]=c[f];else c.length<1e4?u.splice(o+1,l-o,...c):this._lineOffsets=u=u.slice(0,o+1).concat(c,u.slice(l+1));const h=r.text.length-(s-i);if(h!==0)for(let f=o+1+c.length,d=u.length;f<d;f++)u[f]=u[f]+h}else if($t.isFull(r))this._content=r.text,this._lineOffsets=void 0;else throw new Error(\"Unknown change event received\");this._version=t}getLineOffsets(){return this._lineOffsets===void 0&&(this._lineOffsets=Qi(this._content,!0)),this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),r=0,n=t.length;if(n===0)return{line:0,character:e};for(;r<n;){let s=Math.floor((r+n)/2);t[s]>e?n=s:r=s+1}let i=r-1;return{line:i,character:e-t[i]}}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let r=t[e.line],n=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(r+e.character,n),r)}get lineCount(){return this.getLineOffsets().length}static isIncremental(e){let t=e;return t!=null&&typeof t.text==\"string\"&&t.range!==void 0&&(t.rangeLength===void 0||typeof t.rangeLength==\"number\")}static isFull(e){let t=e;return t!=null&&typeof t.text==\"string\"&&t.range===void 0&&t.rangeLength===void 0}},Dr;(function(e){function t(i,s,o,l){return new $t(i,s,o,l)}e.create=t;function r(i,s,o){if(i instanceof $t)return i.update(s,o),i;throw new Error(\"TextDocument.update: document must be created by TextDocument.create\")}e.update=r;function n(i,s){let o=i.getText(),l=Rr(s.map(ao),(h,f)=>{let d=h.range.start.line-f.range.start.line;return d===0?h.range.start.character-f.range.start.character:d}),u=0;const c=[];for(const h of l){let f=i.offsetAt(h.range.start);if(f<u)throw new Error(\"Overlapping edit\");f>u&&c.push(o.substring(u,f)),h.newText.length&&c.push(h.newText),u=i.offsetAt(h.range.end)}return c.push(o.substr(u)),c.join(\"\")}e.applyEdits=n})(Dr||(Dr={}));function Rr(e,t){if(e.length<=1)return e;const r=e.length/2|0,n=e.slice(0,r),i=e.slice(r);Rr(n,t),Rr(i,t);let s=0,o=0,l=0;for(;s<n.length&&o<i.length;)t(n[s],i[o])<=0?e[l++]=n[s++]:e[l++]=i[o++];for(;s<n.length;)e[l++]=n[s++];for(;o<i.length;)e[l++]=i[o++];return e}function Qi(e,t,r=0){const n=t?[r]:[];for(let i=0;i<e.length;i++){let s=e.charCodeAt(i);(s===13||s===10)&&(s===13&&i+1<e.length&&e.charCodeAt(i+1)===10&&i++,n.push(r+i+1))}return n}function Ki(e){const t=e.start,r=e.end;return t.line>r.line||t.line===r.line&&t.character>r.character?{start:r,end:t}:e}function ao(e){const t=Ki(e.range);return t!==e.range?{newText:e.newText,range:t}:e}var W;(function(e){e[e.Undefined=0]=\"Undefined\",e[e.EnumValueMismatch=1]=\"EnumValueMismatch\",e[e.Deprecated=2]=\"Deprecated\",e[e.UnexpectedEndOfComment=257]=\"UnexpectedEndOfComment\",e[e.UnexpectedEndOfString=258]=\"UnexpectedEndOfString\",e[e.UnexpectedEndOfNumber=259]=\"UnexpectedEndOfNumber\",e[e.InvalidUnicode=260]=\"InvalidUnicode\",e[e.InvalidEscapeCharacter=261]=\"InvalidEscapeCharacter\",e[e.InvalidCharacter=262]=\"InvalidCharacter\",e[e.PropertyExpected=513]=\"PropertyExpected\",e[e.CommaExpected=514]=\"CommaExpected\",e[e.ColonExpected=515]=\"ColonExpected\",e[e.ValueExpected=516]=\"ValueExpected\",e[e.CommaOrCloseBacketExpected=517]=\"CommaOrCloseBacketExpected\",e[e.CommaOrCloseBraceExpected=518]=\"CommaOrCloseBraceExpected\",e[e.TrailingComma=519]=\"TrailingComma\",e[e.DuplicateKey=520]=\"DuplicateKey\",e[e.CommentNotPermitted=521]=\"CommentNotPermitted\",e[e.SchemaResolveError=768]=\"SchemaResolveError\"})(W||(W={}));var ea;(function(e){e.LATEST={textDocument:{completion:{completionItem:{documentationFormat:[Pe.Markdown,Pe.PlainText],commitCharactersSupport:!0}}}}})(ea||(ea={}));function so(e,t){let r;return t.length===0?r=e:r=e.replace(/\\{(\\d+)\\}/g,(n,i)=>{let s=i[0];return typeof t[s]!=\"undefined\"?t[s]:n}),r}function oo(e,t,...r){return so(t,r)}function _t(e){return oo}var ze=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},e(t,r)};return function(t,r){if(typeof r!=\"function\"&&r!==null)throw new TypeError(\"Class extends value \"+String(r)+\" is not a constructor or null\");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),I=_t(),lo={\"color-hex\":{errorMessage:I(\"colorHexFormatWarning\",\"Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA.\"),pattern:/^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/},\"date-time\":{errorMessage:I(\"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},date:{errorMessage:I(\"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},time:{errorMessage:I(\"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},email:{errorMessage:I(\"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,}))$/},hostname:{errorMessage:I(\"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},ipv4:{errorMessage:I(\"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)$/},ipv6:{errorMessage:I(\"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}},Ge=function(){function e(t,r,n){n===void 0&&(n=0),this.offset=r,this.length=n,this.parent=t}return Object.defineProperty(e.prototype,\"children\",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return\"type: \"+this.type+\" (\"+this.offset+\"/\"+this.length+\")\"+(this.parent?\" parent: {\"+this.parent.toString()+\"}\":\"\")},e}(),uo=function(e){ze(t,e);function t(r,n){var i=e.call(this,r,n)||this;return i.type=\"null\",i.value=null,i}return t}(Ge),ta=function(e){ze(t,e);function t(r,n,i){var s=e.call(this,r,i)||this;return s.type=\"boolean\",s.value=n,s}return t}(Ge),co=function(e){ze(t,e);function t(r,n){var i=e.call(this,r,n)||this;return i.type=\"array\",i.items=[],i}return Object.defineProperty(t.prototype,\"children\",{get:function(){return this.items},enumerable:!1,configurable:!0}),t}(Ge),fo=function(e){ze(t,e);function t(r,n){var i=e.call(this,r,n)||this;return i.type=\"number\",i.isInteger=!0,i.value=Number.NaN,i}return t}(Ge),Or=function(e){ze(t,e);function t(r,n,i){var s=e.call(this,r,n,i)||this;return s.type=\"string\",s.value=\"\",s}return t}(Ge),ho=function(e){ze(t,e);function t(r,n,i){var s=e.call(this,r,n)||this;return s.type=\"property\",s.colonOffset=-1,s.keyNode=i,s}return Object.defineProperty(t.prototype,\"children\",{get:function(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]},enumerable:!1,configurable:!0}),t}(Ge),mo=function(e){ze(t,e);function t(r,n){var i=e.call(this,r,n)||this;return i.type=\"object\",i.properties=[],i}return Object.defineProperty(t.prototype,\"children\",{get:function(){return this.properties},enumerable:!1,configurable:!0}),t}(Ge);function ue(e){return Ce(e)?e?{}:{not:{}}:e}var ra;(function(e){e[e.Key=0]=\"Key\",e[e.Enum=1]=\"Enum\"})(ra||(ra={}));var go=function(){function e(t,r){t===void 0&&(t=-1),this.focusOffset=t,this.exclude=r,this.schemas=[]}return e.prototype.add=function(t){this.schemas.push(t)},e.prototype.merge=function(t){Array.prototype.push.apply(this.schemas,t.schemas)},e.prototype.include=function(t){return(this.focusOffset===-1||na(t,this.focusOffset))&&t!==this.exclude},e.prototype.newSub=function(){return new e(-1,this.exclude)},e}(),Ur=function(){function e(){}return Object.defineProperty(e.prototype,\"schemas\",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.add=function(t){},e.prototype.merge=function(t){},e.prototype.include=function(t){return!0},e.prototype.newSub=function(){return this},e.instance=new e,e}(),ce=function(){function e(){this.problems=[],this.propertiesMatches=0,this.propertiesValueMatches=0,this.primaryValueMatches=0,this.enumValueMatch=!1,this.enumValues=void 0}return e.prototype.hasProblems=function(){return!!this.problems.length},e.prototype.mergeAll=function(t){for(var r=0,n=t;r<n.length;r++){var i=n[r];this.merge(i)}},e.prototype.merge=function(t){this.problems=this.problems.concat(t.problems)},e.prototype.mergeEnumValues=function(t){if(!this.enumValueMatch&&!t.enumValueMatch&&this.enumValues&&t.enumValues){this.enumValues=this.enumValues.concat(t.enumValues);for(var r=0,n=this.problems;r<n.length;r++){var i=n[r];i.code===W.EnumValueMismatch&&(i.message=I(\"enumWarning\",\"Value is not accepted. Valid values: {0}.\",this.enumValues.map(function(s){return JSON.stringify(s)}).join(\", \")))}}},e.prototype.mergePropertyMatch=function(t){this.merge(t),this.propertiesMatches++,(t.enumValueMatch||!t.hasProblems()&&t.propertiesMatches)&&this.propertiesValueMatches++,t.enumValueMatch&&t.enumValues&&t.enumValues.length===1&&this.primaryValueMatches++},e.prototype.compare=function(t){var r=this.hasProblems();return r!==t.hasProblems()?r?-1:1:this.enumValueMatch!==t.enumValueMatch?t.enumValueMatch?-1:1:this.primaryValueMatches!==t.primaryValueMatches?this.primaryValueMatches-t.primaryValueMatches:this.propertiesValueMatches!==t.propertiesValueMatches?this.propertiesValueMatches-t.propertiesValueMatches:this.propertiesMatches-t.propertiesMatches},e}();function po(e,t){return t===void 0&&(t=[]),new ia(e,t,[])}function Je(e){return eo(e)}function jr(e){return Ks(e)}function na(e,t,r){return r===void 0&&(r=!1),t>=e.offset&&t<e.offset+e.length||r&&t===e.offset+e.length}var ia=function(){function e(t,r,n){r===void 0&&(r=[]),n===void 0&&(n=[]),this.root=t,this.syntaxErrors=r,this.comments=n}return e.prototype.getNodeFromOffset=function(t,r){if(r===void 0&&(r=!1),this.root)return Qs(this.root,t,r)},e.prototype.visit=function(t){if(this.root){var r=function(n){var i=t(n),s=n.children;if(Array.isArray(s))for(var o=0;o<s.length&&i;o++)i=r(s[o]);return i};r(this.root)}},e.prototype.validate=function(t,r,n){if(n===void 0&&(n=de.Warning),this.root&&r){var i=new ce;return re(this.root,r,i,Ur.instance),i.problems.map(function(s){var o,l=$.create(t.positionAt(s.location.offset),t.positionAt(s.location.offset+s.location.length));return Me.create(l,s.message,(o=s.severity)!==null&&o!==void 0?o:n,s.code)})}},e.prototype.getMatchingSchemas=function(t,r,n){r===void 0&&(r=-1);var i=new go(r,n);return this.root&&t&&re(this.root,t,new ce,i),i.schemas},e}();function re(e,t,r,n){if(!e||!n.include(e))return;var i=e;switch(i.type){case\"object\":c(i,t,r,n);break;case\"array\":u(i,t,r,n);break;case\"string\":l(i,t,r);break;case\"number\":o(i,t,r);break;case\"property\":return re(i.valueNode,t,r,n)}s(),n.add({node:i,schema:t});function s(){function h(D){return i.type===D||D===\"integer\"&&i.type===\"number\"&&i.isInteger}if(Array.isArray(t.type)?t.type.some(h)||r.problems.push({location:{offset:i.offset,length:i.length},message:t.errorMessage||I(\"typeArrayMismatchWarning\",\"Incorrect type. Expected one of {0}.\",t.type.join(\", \"))}):t.type&&(h(t.type)||r.problems.push({location:{offset:i.offset,length:i.length},message:t.errorMessage||I(\"typeMismatchWarning\",'Incorrect type. Expected \"{0}\".',t.type)})),Array.isArray(t.allOf))for(var f=0,d=t.allOf;f<d.length;f++){var m=d[f];re(i,ue(m),r,n)}var b=ue(t.not);if(b){var p=new ce,g=n.newSub();re(i,b,p,g),p.hasProblems()||r.problems.push({location:{offset:i.offset,length:i.length},message:I(\"notSchemaWarning\",\"Matches a schema that is not allowed.\")});for(var N=0,w=g.schemas;N<w.length;N++){var v=w[N];v.inverted=!v.inverted,n.add(v)}}var S=function(D,B){for(var Y=[],H=void 0,T=0,x=D;T<x.length;T++){var F=x[T],V=ue(F),R=new ce,U=n.newSub();if(re(i,V,R,U),R.hasProblems()||Y.push(V),!H)H={schema:V,validationResult:R,matchingSchemas:U};else if(!B&&!R.hasProblems()&&!H.validationResult.hasProblems())H.matchingSchemas.merge(U),H.validationResult.propertiesMatches+=R.propertiesMatches,H.validationResult.propertiesValueMatches+=R.propertiesValueMatches;else{var q=R.compare(H.validationResult);q>0?H={schema:V,validationResult:R,matchingSchemas:U}:q===0&&(H.matchingSchemas.merge(U),H.validationResult.mergeEnumValues(R))}}return Y.length>1&&B&&r.problems.push({location:{offset:i.offset,length:1},message:I(\"oneOfWarning\",\"Matches multiple schemas when only one must validate.\")}),H&&(r.merge(H.validationResult),r.propertiesMatches+=H.validationResult.propertiesMatches,r.propertiesValueMatches+=H.validationResult.propertiesValueMatches,n.merge(H.matchingSchemas)),Y.length};Array.isArray(t.anyOf)&&S(t.anyOf,!1),Array.isArray(t.oneOf)&&S(t.oneOf,!0);var A=function(D){var B=new ce,Y=n.newSub();re(i,ue(D),B,Y),r.merge(B),r.propertiesMatches+=B.propertiesMatches,r.propertiesValueMatches+=B.propertiesValueMatches,n.merge(Y)},y=function(D,B,Y){var H=ue(D),T=new ce,x=n.newSub();re(i,H,T,x),n.merge(x),T.hasProblems()?Y&&A(Y):B&&A(B)},C=ue(t.if);if(C&&y(C,ue(t.then),ue(t.else)),Array.isArray(t.enum)){for(var _=Je(i),L=!1,M=0,E=t.enum;M<E.length;M++){var P=E[M];if(mt(_,P)){L=!0;break}}r.enumValues=t.enum,r.enumValueMatch=L,L||r.problems.push({location:{offset:i.offset,length:i.length},code:W.EnumValueMismatch,message:t.errorMessage||I(\"enumWarning\",\"Value is not accepted. Valid values: {0}.\",t.enum.map(function(D){return JSON.stringify(D)}).join(\", \"))})}if(xe(t.const)){var _=Je(i);mt(_,t.const)?r.enumValueMatch=!0:(r.problems.push({location:{offset:i.offset,length:i.length},code:W.EnumValueMismatch,message:t.errorMessage||I(\"constWarning\",\"Value must be {0}.\",JSON.stringify(t.const))}),r.enumValueMatch=!1),r.enumValues=[t.const]}t.deprecationMessage&&i.parent&&r.problems.push({location:{offset:i.parent.offset,length:i.parent.length},severity:de.Warning,message:t.deprecationMessage,code:W.Deprecated})}function o(h,f,d,m){var b=h.value;function p(M){var E,P=/^(-?\\d+)(?:\\.(\\d+))?(?:e([-+]\\d+))?$/.exec(M.toString());return P&&{value:Number(P[1]+(P[2]||\"\")),multiplier:(((E=P[2])===null||E===void 0?void 0:E.length)||0)-(parseInt(P[3])||0)}}if(he(f.multipleOf)){var g=-1;if(Number.isInteger(f.multipleOf))g=b%f.multipleOf;else{var N=p(f.multipleOf),w=p(b);if(N&&w){var v=Math.pow(10,Math.abs(w.multiplier-N.multiplier));w.multiplier<N.multiplier?w.value*=v:N.value*=v,g=w.value%N.value}}g!==0&&d.problems.push({location:{offset:h.offset,length:h.length},message:I(\"multipleOfWarning\",\"Value is not divisible by {0}.\",f.multipleOf)})}function S(M,E){if(he(E))return E;if(Ce(E)&&E)return M}function A(M,E){if(!Ce(E)||!E)return M}var y=S(f.minimum,f.exclusiveMinimum);he(y)&&b<=y&&d.problems.push({location:{offset:h.offset,length:h.length},message:I(\"exclusiveMinimumWarning\",\"Value is below the exclusive minimum of {0}.\",y)});var C=S(f.maximum,f.exclusiveMaximum);he(C)&&b>=C&&d.problems.push({location:{offset:h.offset,length:h.length},message:I(\"exclusiveMaximumWarning\",\"Value is above the exclusive maximum of {0}.\",C)});var _=A(f.minimum,f.exclusiveMinimum);he(_)&&b<_&&d.problems.push({location:{offset:h.offset,length:h.length},message:I(\"minimumWarning\",\"Value is below the minimum of {0}.\",_)});var L=A(f.maximum,f.exclusiveMaximum);he(L)&&b>L&&d.problems.push({location:{offset:h.offset,length:h.length},message:I(\"maximumWarning\",\"Value is above the maximum of {0}.\",L)})}function l(h,f,d,m){if(he(f.minLength)&&h.value.length<f.minLength&&d.problems.push({location:{offset:h.offset,length:h.length},message:I(\"minLengthWarning\",\"String is shorter than the minimum length of {0}.\",f.minLength)}),he(f.maxLength)&&h.value.length>f.maxLength&&d.problems.push({location:{offset:h.offset,length:h.length},message:I(\"maxLengthWarning\",\"String is longer than the maximum length of {0}.\",f.maxLength)}),ro(f.pattern)){var b=Rt(f.pattern);b!=null&&b.test(h.value)||d.problems.push({location:{offset:h.offset,length:h.length},message:f.patternErrorMessage||f.errorMessage||I(\"patternWarning\",'String does not match the pattern of \"{0}\".',f.pattern)})}if(f.format)switch(f.format){case\"uri\":case\"uri-reference\":{var p=void 0;if(!h.value)p=I(\"uriEmpty\",\"URI expected.\");else{var g=/^(([^:/?#]+?):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/.exec(h.value);g?!g[2]&&f.format===\"uri\"&&(p=I(\"uriSchemeMissing\",\"URI with a scheme is expected.\")):p=I(\"uriMissing\",\"URI is expected.\")}p&&d.problems.push({location:{offset:h.offset,length:h.length},message:f.patternErrorMessage||f.errorMessage||I(\"uriFormatWarning\",\"String is not a URI: {0}\",p)})}break;case\"color-hex\":case\"date-time\":case\"date\":case\"time\":case\"email\":case\"hostname\":case\"ipv4\":case\"ipv6\":var N=lo[f.format];(!h.value||!N.pattern.exec(h.value))&&d.problems.push({location:{offset:h.offset,length:h.length},message:f.patternErrorMessage||f.errorMessage||N.errorMessage})}}function u(h,f,d,m){if(Array.isArray(f.items)){for(var b=f.items,p=0;p<b.length;p++){var g=b[p],N=ue(g),w=new ce,v=h.items[p];v?(re(v,N,w,m),d.mergePropertyMatch(w)):h.items.length>=b.length&&d.propertiesValueMatches++}if(h.items.length>b.length)if(typeof f.additionalItems==\"object\")for(var S=b.length;S<h.items.length;S++){var w=new ce;re(h.items[S],f.additionalItems,w,m),d.mergePropertyMatch(w)}else f.additionalItems===!1&&d.problems.push({location:{offset:h.offset,length:h.length},message:I(\"additionalItemsWarning\",\"Array has too many items according to schema. Expected {0} or fewer.\",b.length)})}else{var A=ue(f.items);if(A)for(var y=0,C=h.items;y<C.length;y++){var v=C[y],w=new ce;re(v,A,w,m),d.mergePropertyMatch(w)}}var _=ue(f.contains);if(_){var L=h.items.some(function(P){var D=new ce;return re(P,_,D,Ur.instance),!D.hasProblems()});L||d.problems.push({location:{offset:h.offset,length:h.length},message:f.errorMessage||I(\"requiredItemMissingWarning\",\"Array does not contain required item.\")})}if(he(f.minItems)&&h.items.length<f.minItems&&d.problems.push({location:{offset:h.offset,length:h.length},message:I(\"minItemsWarning\",\"Array has too few items. Expected {0} or more.\",f.minItems)}),he(f.maxItems)&&h.items.length>f.maxItems&&d.problems.push({location:{offset:h.offset,length:h.length},message:I(\"maxItemsWarning\",\"Array has too many items. Expected {0} or fewer.\",f.maxItems)}),f.uniqueItems===!0){var M=Je(h),E=M.some(function(P,D){return D!==M.lastIndexOf(P)});E&&d.problems.push({location:{offset:h.offset,length:h.length},message:I(\"uniqueItemsWarning\",\"Array has duplicate items.\")})}}function c(h,f,d,m){for(var b=Object.create(null),p=[],g=0,N=h.properties;g<N.length;g++){var w=N[g],v=w.keyNode.value;b[v]=w.valueNode,p.push(v)}if(Array.isArray(f.required))for(var S=0,A=f.required;S<A.length;S++){var y=A[S];if(!b[y]){var C=h.parent&&h.parent.type===\"property\"&&h.parent.keyNode,_=C?{offset:C.offset,length:C.length}:{offset:h.offset,length:1};d.problems.push({location:_,message:I(\"MissingRequiredPropWarning\",'Missing property \"{0}\".',y)})}}var L=function(va){for(var Xr=p.indexOf(va);Xr>=0;)p.splice(Xr,1),Xr=p.indexOf(va)};if(f.properties)for(var M=0,E=Object.keys(f.properties);M<E.length;M++){var y=E[M];L(y);var P=f.properties[y],D=b[y];if(D)if(Ce(P))if(P)d.propertiesMatches++,d.propertiesValueMatches++;else{var w=D.parent;d.problems.push({location:{offset:w.keyNode.offset,length:w.keyNode.length},message:f.errorMessage||I(\"DisallowedExtraPropWarning\",\"Property {0} is not allowed.\",y)})}else{var B=new ce;re(D,P,B,m),d.mergePropertyMatch(B)}}if(f.patternProperties)for(var Y=0,H=Object.keys(f.patternProperties);Y<H.length;Y++)for(var T=H[Y],x=Rt(T),F=0,V=p.slice(0);F<V.length;F++){var y=V[F];if(x!=null&&x.test(y)){L(y);var D=b[y];if(D){var P=f.patternProperties[T];if(Ce(P))if(P)d.propertiesMatches++,d.propertiesValueMatches++;else{var w=D.parent;d.problems.push({location:{offset:w.keyNode.offset,length:w.keyNode.length},message:f.errorMessage||I(\"DisallowedExtraPropWarning\",\"Property {0} is not allowed.\",y)})}else{var B=new ce;re(D,P,B,m),d.mergePropertyMatch(B)}}}}if(typeof f.additionalProperties==\"object\")for(var R=0,U=p;R<U.length;R++){var y=U[R],D=b[y];if(D){var B=new ce;re(D,f.additionalProperties,B,m),d.mergePropertyMatch(B)}}else if(f.additionalProperties===!1&&p.length>0)for(var q=0,Ae=p;q<Ae.length;q++){var y=Ae[q],D=b[y];if(D){var w=D.parent;d.problems.push({location:{offset:w.keyNode.offset,length:w.keyNode.length},message:f.errorMessage||I(\"DisallowedExtraPropWarning\",\"Property {0} is not allowed.\",y)})}}if(he(f.maxProperties)&&h.properties.length>f.maxProperties&&d.problems.push({location:{offset:h.offset,length:h.length},message:I(\"MaxPropWarning\",\"Object has more properties than limit of {0}.\",f.maxProperties)}),he(f.minProperties)&&h.properties.length<f.minProperties&&d.problems.push({location:{offset:h.offset,length:h.length},message:I(\"MinPropWarning\",\"Object has fewer properties than the required number of {0}\",f.minProperties)}),f.dependencies)for(var ie=0,pe=Object.keys(f.dependencies);ie<pe.length;ie++){var v=pe[ie],ot=b[v];if(ot){var Ne=f.dependencies[v];if(Array.isArray(Ne))for(var Jr=0,da=Ne;Jr<da.length;Jr++){var ma=da[Jr];b[ma]?d.propertiesValueMatches++:d.problems.push({location:{offset:h.offset,length:h.length},message:I(\"RequiredDependentPropWarning\",\"Object is missing property {0} required by property {1}.\",ma,v)})}else{var P=ue(Ne);if(P){var B=new ce;re(h,P,B,m),d.mergePropertyMatch(B)}}}}var ga=ue(f.propertyNames);if(ga)for(var Zr=0,pa=h.properties;Zr<pa.length;Zr++){var Yo=pa[Zr],v=Yo.keyNode;v&&re(v,ga,d,Ur.instance)}}}function vo(e,t){var r=[],n=-1,i=e.getText(),s=nt(i,!1),o=t&&t.collectComments?[]:void 0;function l(){for(;;){var y=s.scan();switch(h(),y){case 12:case 13:Array.isArray(o)&&o.push($.create(e.positionAt(s.getTokenOffset()),e.positionAt(s.getTokenOffset()+s.getTokenLength())));break;case 15:case 14:break;default:return y}}}function u(y,C,_,L,M){if(M===void 0&&(M=de.Error),r.length===0||_!==n){var E=$.create(e.positionAt(_),e.positionAt(L));r.push(Me.create(E,y,M,C,e.languageId)),n=_}}function c(y,C,_,L,M){_===void 0&&(_=void 0),L===void 0&&(L=[]),M===void 0&&(M=[]);var E=s.getTokenOffset(),P=s.getTokenOffset()+s.getTokenLength();if(E===P&&E>0){for(E--;E>0&&/\\s/.test(i.charAt(E));)E--;P=E+1}if(u(y,C,E,P),_&&f(_,!1),L.length+M.length>0)for(var D=s.getToken();D!==17;){if(L.indexOf(D)!==-1){l();break}else if(M.indexOf(D)!==-1)break;D=l()}return _}function h(){switch(s.getTokenError()){case 4:return c(I(\"InvalidUnicode\",\"Invalid unicode sequence in string.\"),W.InvalidUnicode),!0;case 5:return c(I(\"InvalidEscapeCharacter\",\"Invalid escape character in string.\"),W.InvalidEscapeCharacter),!0;case 3:return c(I(\"UnexpectedEndOfNumber\",\"Unexpected end of number.\"),W.UnexpectedEndOfNumber),!0;case 1:return c(I(\"UnexpectedEndOfComment\",\"Unexpected end of comment.\"),W.UnexpectedEndOfComment),!0;case 2:return c(I(\"UnexpectedEndOfString\",\"Unexpected end of string.\"),W.UnexpectedEndOfString),!0;case 6:return c(I(\"InvalidCharacter\",\"Invalid characters in string. Control characters must be escaped.\"),W.InvalidCharacter),!0}return!1}function f(y,C){return y.length=s.getTokenOffset()+s.getTokenLength()-y.offset,C&&l(),y}function d(y){if(s.getToken()===3){var C=new co(y,s.getTokenOffset());l();for(var _=!1;s.getToken()!==4&&s.getToken()!==17;){if(s.getToken()===5){_||c(I(\"ValueExpected\",\"Value expected\"),W.ValueExpected);var L=s.getTokenOffset();if(l(),s.getToken()===4){_&&u(I(\"TrailingComma\",\"Trailing comma\"),W.TrailingComma,L,L+1);continue}}else _&&c(I(\"ExpectedComma\",\"Expected comma\"),W.CommaExpected);var M=v(C);M?C.items.push(M):c(I(\"PropertyExpected\",\"Value expected\"),W.ValueExpected,void 0,[],[4,5]),_=!0}return s.getToken()!==4?c(I(\"ExpectedCloseBracket\",\"Expected comma or closing bracket\"),W.CommaOrCloseBacketExpected,C):f(C,!0)}}var m=new Or(void 0,0,0);function b(y,C){var _=new ho(y,s.getTokenOffset(),m),L=g(_);if(!L)if(s.getToken()===16){c(I(\"DoubleQuotesExpected\",\"Property keys must be doublequoted\"),W.Undefined);var M=new Or(_,s.getTokenOffset(),s.getTokenLength());M.value=s.getTokenValue(),L=M,l()}else return;_.keyNode=L;var E=C[L.value];if(E?(u(I(\"DuplicateKeyWarning\",\"Duplicate object key\"),W.DuplicateKey,_.keyNode.offset,_.keyNode.offset+_.keyNode.length,de.Warning),typeof E==\"object\"&&u(I(\"DuplicateKeyWarning\",\"Duplicate object key\"),W.DuplicateKey,E.keyNode.offset,E.keyNode.offset+E.keyNode.length,de.Warning),C[L.value]=!0):C[L.value]=_,s.getToken()===6)_.colonOffset=s.getTokenOffset(),l();else if(c(I(\"ColonExpected\",\"Colon expected\"),W.ColonExpected),s.getToken()===10&&e.positionAt(L.offset+L.length).line<e.positionAt(s.getTokenOffset()).line)return _.length=L.length,_;var P=v(_);return P?(_.valueNode=P,_.length=P.offset+P.length-_.offset,_):c(I(\"ValueExpected\",\"Value expected\"),W.ValueExpected,_,[],[2,5])}function p(y){if(s.getToken()===1){var C=new mo(y,s.getTokenOffset()),_=Object.create(null);l();for(var L=!1;s.getToken()!==2&&s.getToken()!==17;){if(s.getToken()===5){L||c(I(\"PropertyExpected\",\"Property expected\"),W.PropertyExpected);var M=s.getTokenOffset();if(l(),s.getToken()===2){L&&u(I(\"TrailingComma\",\"Trailing comma\"),W.TrailingComma,M,M+1);continue}}else L&&c(I(\"ExpectedComma\",\"Expected comma\"),W.CommaExpected);var E=b(C,_);E?C.properties.push(E):c(I(\"PropertyExpected\",\"Property expected\"),W.PropertyExpected,void 0,[],[2,5]),L=!0}return s.getToken()!==2?c(I(\"ExpectedCloseBrace\",\"Expected comma or closing brace\"),W.CommaOrCloseBraceExpected,C):f(C,!0)}}function g(y){if(s.getToken()===10){var C=new Or(y,s.getTokenOffset());return C.value=s.getTokenValue(),f(C,!0)}}function N(y){if(s.getToken()===11){var C=new fo(y,s.getTokenOffset());if(s.getTokenError()===0){var _=s.getTokenValue();try{var L=JSON.parse(_);if(!he(L))return c(I(\"InvalidNumberFormat\",\"Invalid number format.\"),W.Undefined,C);C.value=L}catch{return c(I(\"InvalidNumberFormat\",\"Invalid number format.\"),W.Undefined,C)}C.isInteger=_.indexOf(\".\")===-1}return f(C,!0)}}function w(y){switch(s.getToken()){case 7:return f(new uo(y,s.getTokenOffset()),!0);case 8:return f(new ta(y,!0,s.getTokenOffset()),!0);case 9:return f(new ta(y,!1,s.getTokenOffset()),!0);default:return}}function v(y){return d(y)||p(y)||g(y)||N(y)||w(y)}var S=void 0,A=l();return A!==17&&(S=v(S),S?s.getToken()!==17&&c(I(\"End of file expected\",\"End of file expected.\"),W.Undefined):c(I(\"Invalid symbol\",\"Expected a JSON object, array or literal.\"),W.Undefined)),new ia(S,r,o)}function Br(e,t,r){if(e!==null&&typeof e==\"object\"){var n=t+\"\t\";if(Array.isArray(e)){if(e.length===0)return\"[]\";for(var i=`[\n`,s=0;s<e.length;s++)i+=n+Br(e[s],n,r),s<e.length-1&&(i+=\",\"),i+=`\n`;return i+=t+\"]\",i}else{var o=Object.keys(e);if(o.length===0)return\"{}\";for(var i=`{\n`,s=0;s<o.length;s++){var l=o[s];i+=n+JSON.stringify(l)+\": \"+Br(e[l],n,r),s<o.length-1&&(i+=\",\"),i+=`\n`}return i+=t+\"}\",i}}return r(e)}var Wr=_t(),bo=function(){function e(t,r,n,i){r===void 0&&(r=[]),n===void 0&&(n=Promise),i===void 0&&(i={}),this.schemaService=t,this.contributions=r,this.promiseConstructor=n,this.clientCapabilities=i}return e.prototype.doResolve=function(t){for(var r=this.contributions.length-1;r>=0;r--){var n=this.contributions[r].resolveCompletion;if(n){var i=n(t);if(i)return i}}return this.promiseConstructor.resolve(t)},e.prototype.doComplete=function(t,r,n){var i=this,s={items:[],isIncomplete:!1},o=t.getText(),l=t.offsetAt(r),u=n.getNodeFromOffset(l,!0);if(this.isInComment(t,u?u.offset:0,l))return Promise.resolve(s);if(u&&l===u.offset+u.length&&l>0){var c=o[l-1];(u.type===\"object\"&&c===\"}\"||u.type===\"array\"&&c===\"]\")&&(u=u.parent)}var h=this.getCurrentWord(t,l),f;if(u&&(u.type===\"string\"||u.type===\"number\"||u.type===\"boolean\"||u.type===\"null\"))f=$.create(t.positionAt(u.offset),t.positionAt(u.offset+u.length));else{var d=l-h.length;d>0&&o[d-1]==='\"'&&d--,f=$.create(t.positionAt(d),r)}var m={},b={add:function(p){var g=p.label,N=m[g];if(N)N.documentation||(N.documentation=p.documentation),N.detail||(N.detail=p.detail);else{if(g=g.replace(/[\\n]/g,\"\\u21B5\"),g.length>60){var w=g.substr(0,57).trim()+\"...\";m[w]||(g=w)}f&&p.insertText!==void 0&&(p.textEdit=we.replace(f,p.insertText)),p.label=g,m[g]=p,s.items.push(p)}},setAsIncomplete:function(){s.isIncomplete=!0},error:function(p){console.error(p)},log:function(p){console.log(p)},getNumberOfProposals:function(){return s.items.length}};return this.schemaService.getSchemaForResource(t.uri,n).then(function(p){var g=[],N=!0,w=\"\",v=void 0;if(u&&u.type===\"string\"){var S=u.parent;S&&S.type===\"property\"&&S.keyNode===u&&(N=!S.valueNode,v=S,w=o.substr(u.offset+1,u.length-2),S&&(u=S.parent))}if(u&&u.type===\"object\"){if(u.offset===l)return s;var A=u.properties;A.forEach(function(L){(!v||v!==L)&&(m[L.keyNode.value]=Ir.create(\"__\"))});var y=\"\";N&&(y=i.evaluateSeparatorAfter(t,t.offsetAt(f.end))),p?i.getPropertyCompletions(p,n,u,N,y,b):i.getSchemaLessPropertyCompletions(n,u,w,b);var C=jr(u);i.contributions.forEach(function(L){var M=L.collectPropertyCompletions(t.uri,C,h,N,y===\"\",b);M&&g.push(M)}),!p&&h.length>0&&o.charAt(l-h.length-1)!=='\"'&&(b.add({kind:me.Property,label:i.getLabelForValue(h),insertText:i.getInsertTextForProperty(h,void 0,!1,y),insertTextFormat:Q.Snippet,documentation:\"\"}),b.setAsIncomplete())}var _={};return p?i.getValueCompletions(p,n,u,l,t,b,_):i.getSchemaLessValueCompletions(n,u,l,t,b),i.contributions.length>0&&i.getContributedValueCompletions(n,u,l,t,b,g),i.promiseConstructor.all(g).then(function(){if(b.getNumberOfProposals()===0){var L=l;u&&(u.type===\"string\"||u.type===\"number\"||u.type===\"boolean\"||u.type===\"null\")&&(L=u.offset+u.length);var M=i.evaluateSeparatorAfter(t,L);i.addFillerValueCompletions(_,M,b)}return s})})},e.prototype.getPropertyCompletions=function(t,r,n,i,s,o){var l=this,u=r.getMatchingSchemas(t.schema,n.offset);u.forEach(function(c){if(c.node===n&&!c.inverted){var h=c.schema.properties;h&&Object.keys(h).forEach(function(p){var g=h[p];if(typeof g==\"object\"&&!g.deprecationMessage&&!g.doNotSuggest){var N={kind:me.Property,label:p,insertText:l.getInsertTextForProperty(p,g,i,s),insertTextFormat:Q.Snippet,filterText:l.getFilterTextForValue(p),documentation:l.fromMarkup(g.markdownDescription)||g.description||\"\"};g.suggestSortText!==void 0&&(N.sortText=g.suggestSortText),N.insertText&&gt(N.insertText,\"$1\".concat(s))&&(N.command={title:\"Suggest\",command:\"editor.action.triggerSuggest\"}),o.add(N)}});var f=c.schema.propertyNames;if(typeof f==\"object\"&&!f.deprecationMessage&&!f.doNotSuggest){var d=function(p,g){g===void 0&&(g=void 0);var N={kind:me.Property,label:p,insertText:l.getInsertTextForProperty(p,void 0,i,s),insertTextFormat:Q.Snippet,filterText:l.getFilterTextForValue(p),documentation:g||l.fromMarkup(f.markdownDescription)||f.description||\"\"};f.suggestSortText!==void 0&&(N.sortText=f.suggestSortText),N.insertText&&gt(N.insertText,\"$1\".concat(s))&&(N.command={title:\"Suggest\",command:\"editor.action.triggerSuggest\"}),o.add(N)};if(f.enum)for(var m=0;m<f.enum.length;m++){var b=void 0;f.markdownEnumDescriptions&&m<f.markdownEnumDescriptions.length?b=l.fromMarkup(f.markdownEnumDescriptions[m]):f.enumDescriptions&&m<f.enumDescriptions.length&&(b=f.enumDescriptions[m]),d(f.enum[m],b)}f.const&&d(f.const)}}})},e.prototype.getSchemaLessPropertyCompletions=function(t,r,n,i){var s=this,o=function(u){u.properties.forEach(function(c){var h=c.keyNode.value;i.add({kind:me.Property,label:h,insertText:s.getInsertTextForValue(h,\"\"),insertTextFormat:Q.Snippet,filterText:s.getFilterTextForValue(h),documentation:\"\"})})};if(r.parent)if(r.parent.type===\"property\"){var l=r.parent.keyNode.value;t.visit(function(u){return u.type===\"property\"&&u!==r.parent&&u.keyNode.value===l&&u.valueNode&&u.valueNode.type===\"object\"&&o(u.valueNode),!0})}else r.parent.type===\"array\"&&r.parent.items.forEach(function(u){u.type===\"object\"&&u!==r&&o(u)});else r.type===\"object\"&&i.add({kind:me.Property,label:\"$schema\",insertText:this.getInsertTextForProperty(\"$schema\",void 0,!0,\"\"),insertTextFormat:Q.Snippet,documentation:\"\",filterText:this.getFilterTextForValue(\"$schema\")})},e.prototype.getSchemaLessValueCompletions=function(t,r,n,i,s){var o=this,l=n;if(r&&(r.type===\"string\"||r.type===\"number\"||r.type===\"boolean\"||r.type===\"null\")&&(l=r.offset+r.length,r=r.parent),!r){s.add({kind:this.getSuggestionKind(\"object\"),label:\"Empty object\",insertText:this.getInsertTextForValue({},\"\"),insertTextFormat:Q.Snippet,documentation:\"\"}),s.add({kind:this.getSuggestionKind(\"array\"),label:\"Empty array\",insertText:this.getInsertTextForValue([],\"\"),insertTextFormat:Q.Snippet,documentation:\"\"});return}var u=this.evaluateSeparatorAfter(i,l),c=function(m){m.parent&&!na(m.parent,n,!0)&&s.add({kind:o.getSuggestionKind(m.type),label:o.getLabelTextForMatchingNode(m,i),insertText:o.getInsertTextForMatchingNode(m,i,u),insertTextFormat:Q.Snippet,documentation:\"\"}),m.type===\"boolean\"&&o.addBooleanValueCompletion(!m.value,u,s)};if(r.type===\"property\"&&n>(r.colonOffset||0)){var h=r.valueNode;if(h&&(n>h.offset+h.length||h.type===\"object\"||h.type===\"array\"))return;var f=r.keyNode.value;t.visit(function(m){return m.type===\"property\"&&m.keyNode.value===f&&m.valueNode&&c(m.valueNode),!0}),f===\"$schema\"&&r.parent&&!r.parent.parent&&this.addDollarSchemaCompletions(u,s)}if(r.type===\"array\")if(r.parent&&r.parent.type===\"property\"){var d=r.parent.keyNode.value;t.visit(function(m){return m.type===\"property\"&&m.keyNode.value===d&&m.valueNode&&m.valueNode.type===\"array\"&&m.valueNode.items.forEach(c),!0})}else r.items.forEach(c)},e.prototype.getValueCompletions=function(t,r,n,i,s,o,l){var u=i,c=void 0,h=void 0;if(n&&(n.type===\"string\"||n.type===\"number\"||n.type===\"boolean\"||n.type===\"null\")&&(u=n.offset+n.length,h=n,n=n.parent),!n){this.addSchemaValueCompletions(t.schema,\"\",o,l);return}if(n.type===\"property\"&&i>(n.colonOffset||0)){var f=n.valueNode;if(f&&i>f.offset+f.length)return;c=n.keyNode.value,n=n.parent}if(n&&(c!==void 0||n.type===\"array\")){for(var d=this.evaluateSeparatorAfter(s,u),m=r.getMatchingSchemas(t.schema,n.offset,h),b=0,p=m;b<p.length;b++){var g=p[b];if(g.node===n&&!g.inverted&&g.schema){if(n.type===\"array\"&&g.schema.items)if(Array.isArray(g.schema.items)){var N=this.findItemAtOffset(n,s,i);N<g.schema.items.length&&this.addSchemaValueCompletions(g.schema.items[N],d,o,l)}else this.addSchemaValueCompletions(g.schema.items,d,o,l);if(c!==void 0){var w=!1;if(g.schema.properties){var v=g.schema.properties[c];v&&(w=!0,this.addSchemaValueCompletions(v,d,o,l))}if(g.schema.patternProperties&&!w)for(var S=0,A=Object.keys(g.schema.patternProperties);S<A.length;S++){var y=A[S],C=Rt(y);if(C!=null&&C.test(c)){w=!0;var v=g.schema.patternProperties[y];this.addSchemaValueCompletions(v,d,o,l)}}if(g.schema.additionalProperties&&!w){var v=g.schema.additionalProperties;this.addSchemaValueCompletions(v,d,o,l)}}}}c===\"$schema\"&&!n.parent&&this.addDollarSchemaCompletions(d,o),l.boolean&&(this.addBooleanValueCompletion(!0,d,o),this.addBooleanValueCompletion(!1,d,o)),l.null&&this.addNullValueCompletion(d,o)}},e.prototype.getContributedValueCompletions=function(t,r,n,i,s,o){if(!r)this.contributions.forEach(function(h){var f=h.collectDefaultCompletions(i.uri,s);f&&o.push(f)});else if((r.type===\"string\"||r.type===\"number\"||r.type===\"boolean\"||r.type===\"null\")&&(r=r.parent),r&&r.type===\"property\"&&n>(r.colonOffset||0)){var l=r.keyNode.value,u=r.valueNode;if((!u||n<=u.offset+u.length)&&r.parent){var c=jr(r.parent);this.contributions.forEach(function(h){var f=h.collectValueCompletions(i.uri,c,l,s);f&&o.push(f)})}}},e.prototype.addSchemaValueCompletions=function(t,r,n,i){var s=this;typeof t==\"object\"&&(this.addEnumValueCompletions(t,r,n),this.addDefaultValueCompletions(t,r,n),this.collectTypes(t,i),Array.isArray(t.allOf)&&t.allOf.forEach(function(o){return s.addSchemaValueCompletions(o,r,n,i)}),Array.isArray(t.anyOf)&&t.anyOf.forEach(function(o){return s.addSchemaValueCompletions(o,r,n,i)}),Array.isArray(t.oneOf)&&t.oneOf.forEach(function(o){return s.addSchemaValueCompletions(o,r,n,i)}))},e.prototype.addDefaultValueCompletions=function(t,r,n,i){var s=this;i===void 0&&(i=0);var o=!1;if(xe(t.default)){for(var l=t.type,u=t.default,c=i;c>0;c--)u=[u],l=\"array\";n.add({kind:this.getSuggestionKind(l),label:this.getLabelForValue(u),insertText:this.getInsertTextForValue(u,r),insertTextFormat:Q.Snippet,detail:Wr(\"json.suggest.default\",\"Default value\")}),o=!0}Array.isArray(t.examples)&&t.examples.forEach(function(h){for(var f=t.type,d=h,m=i;m>0;m--)d=[d],f=\"array\";n.add({kind:s.getSuggestionKind(f),label:s.getLabelForValue(d),insertText:s.getInsertTextForValue(d,r),insertTextFormat:Q.Snippet}),o=!0}),Array.isArray(t.defaultSnippets)&&t.defaultSnippets.forEach(function(h){var f=t.type,d=h.body,m=h.label,b,p;if(xe(d)){t.type;for(var g=i;g>0;g--)d=[d];b=s.getInsertTextForSnippetValue(d,r),p=s.getFilterTextForSnippetValue(d),m=m||s.getLabelForSnippetValue(d)}else if(typeof h.bodyText==\"string\"){for(var N=\"\",w=\"\",v=\"\",g=i;g>0;g--)N=N+v+`[\n`,w=w+`\n`+v+\"]\",v+=\"\t\",f=\"array\";b=N+v+h.bodyText.split(`\n`).join(`\n`+v)+w+r,m=m||b,p=b.replace(/[\\n]/g,\"\")}else return;n.add({kind:s.getSuggestionKind(f),label:m,documentation:s.fromMarkup(h.markdownDescription)||h.description,insertText:b,insertTextFormat:Q.Snippet,filterText:p}),o=!0}),!o&&typeof t.items==\"object\"&&!Array.isArray(t.items)&&i<5&&this.addDefaultValueCompletions(t.items,r,n,i+1)},e.prototype.addEnumValueCompletions=function(t,r,n){if(xe(t.const)&&n.add({kind:this.getSuggestionKind(t.type),label:this.getLabelForValue(t.const),insertText:this.getInsertTextForValue(t.const,r),insertTextFormat:Q.Snippet,documentation:this.fromMarkup(t.markdownDescription)||t.description}),Array.isArray(t.enum))for(var i=0,s=t.enum.length;i<s;i++){var o=t.enum[i],l=this.fromMarkup(t.markdownDescription)||t.description;t.markdownEnumDescriptions&&i<t.markdownEnumDescriptions.length&&this.doesSupportMarkdown()?l=this.fromMarkup(t.markdownEnumDescriptions[i]):t.enumDescriptions&&i<t.enumDescriptions.length&&(l=t.enumDescriptions[i]),n.add({kind:this.getSuggestionKind(t.type),label:this.getLabelForValue(o),insertText:this.getInsertTextForValue(o,r),insertTextFormat:Q.Snippet,documentation:l})}},e.prototype.collectTypes=function(t,r){if(!(Array.isArray(t.enum)||xe(t.const))){var n=t.type;Array.isArray(n)?n.forEach(function(i){return r[i]=!0}):n&&(r[n]=!0)}},e.prototype.addFillerValueCompletions=function(t,r,n){t.object&&n.add({kind:this.getSuggestionKind(\"object\"),label:\"{}\",insertText:this.getInsertTextForGuessedValue({},r),insertTextFormat:Q.Snippet,detail:Wr(\"defaults.object\",\"New object\"),documentation:\"\"}),t.array&&n.add({kind:this.getSuggestionKind(\"array\"),label:\"[]\",insertText:this.getInsertTextForGuessedValue([],r),insertTextFormat:Q.Snippet,detail:Wr(\"defaults.array\",\"New array\"),documentation:\"\"})},e.prototype.addBooleanValueCompletion=function(t,r,n){n.add({kind:this.getSuggestionKind(\"boolean\"),label:t?\"true\":\"false\",insertText:this.getInsertTextForValue(t,r),insertTextFormat:Q.Snippet,documentation:\"\"})},e.prototype.addNullValueCompletion=function(t,r){r.add({kind:this.getSuggestionKind(\"null\"),label:\"null\",insertText:\"null\"+t,insertTextFormat:Q.Snippet,documentation:\"\"})},e.prototype.addDollarSchemaCompletions=function(t,r){var n=this,i=this.schemaService.getRegisteredSchemaIds(function(s){return s===\"http\"||s===\"https\"});i.forEach(function(s){return r.add({kind:me.Module,label:n.getLabelForValue(s),filterText:n.getFilterTextForValue(s),insertText:n.getInsertTextForValue(s,t),insertTextFormat:Q.Snippet,documentation:\"\"})})},e.prototype.getLabelForValue=function(t){return JSON.stringify(t)},e.prototype.getFilterTextForValue=function(t){return JSON.stringify(t)},e.prototype.getFilterTextForSnippetValue=function(t){return JSON.stringify(t).replace(/\\$\\{\\d+:([^}]+)\\}|\\$\\d+/g,\"$1\")},e.prototype.getLabelForSnippetValue=function(t){var r=JSON.stringify(t);return r.replace(/\\$\\{\\d+:([^}]+)\\}|\\$\\d+/g,\"$1\")},e.prototype.getInsertTextForPlainText=function(t){return t.replace(/[\\\\\\$\\}]/g,\"\\\\$&\")},e.prototype.getInsertTextForValue=function(t,r){var n=JSON.stringify(t,null,\"\t\");return n===\"{}\"?\"{$1}\"+r:n===\"[]\"?\"[$1]\"+r:this.getInsertTextForPlainText(n+r)},e.prototype.getInsertTextForSnippetValue=function(t,r){var n=function(i){return typeof i==\"string\"&&i[0]===\"^\"?i.substr(1):JSON.stringify(i)};return Br(t,\"\",n)+r},e.prototype.getInsertTextForGuessedValue=function(t,r){switch(typeof t){case\"object\":return t===null?\"${1:null}\"+r:this.getInsertTextForValue(t,r);case\"string\":var n=JSON.stringify(t);return n=n.substr(1,n.length-2),n=this.getInsertTextForPlainText(n),'\"${1:'+n+'}\"'+r;case\"number\":case\"boolean\":return\"${1:\"+JSON.stringify(t)+\"}\"+r}return this.getInsertTextForValue(t,r)},e.prototype.getSuggestionKind=function(t){if(Array.isArray(t)){var r=t;t=r.length>0?r[0]:void 0}if(!t)return me.Value;switch(t){case\"string\":return me.Value;case\"object\":return me.Module;case\"property\":return me.Property;default:return me.Value}},e.prototype.getLabelTextForMatchingNode=function(t,r){switch(t.type){case\"array\":return\"[]\";case\"object\":return\"{}\";default:var n=r.getText().substr(t.offset,t.length);return n}},e.prototype.getInsertTextForMatchingNode=function(t,r,n){switch(t.type){case\"array\":return this.getInsertTextForValue([],n);case\"object\":return this.getInsertTextForValue({},n);default:var i=r.getText().substr(t.offset,t.length)+n;return this.getInsertTextForPlainText(i)}},e.prototype.getInsertTextForProperty=function(t,r,n,i){var s=this.getInsertTextForValue(t,\"\");if(!n)return s;var o=s+\": \",l,u=0;if(r){if(Array.isArray(r.defaultSnippets)){if(r.defaultSnippets.length===1){var c=r.defaultSnippets[0].body;xe(c)&&(l=this.getInsertTextForSnippetValue(c,\"\"))}u+=r.defaultSnippets.length}if(r.enum&&(!l&&r.enum.length===1&&(l=this.getInsertTextForGuessedValue(r.enum[0],\"\")),u+=r.enum.length),xe(r.default)&&(l||(l=this.getInsertTextForGuessedValue(r.default,\"\")),u++),Array.isArray(r.examples)&&r.examples.length&&(l||(l=this.getInsertTextForGuessedValue(r.examples[0],\"\")),u+=r.examples.length),u===0){var h=Array.isArray(r.type)?r.type[0]:r.type;switch(h||(r.properties?h=\"object\":r.items&&(h=\"array\")),h){case\"boolean\":l=\"$1\";break;case\"string\":l='\"$1\"';break;case\"object\":l=\"{$1}\";break;case\"array\":l=\"[$1]\";break;case\"number\":case\"integer\":l=\"${1:0}\";break;case\"null\":l=\"${1:null}\";break;default:return s}}}return(!l||u>1)&&(l=\"$1\"),o+l+i},e.prototype.getCurrentWord=function(t,r){for(var n=r-1,i=t.getText();n>=0&&` \t\n\\r\\v\":{[,]}`.indexOf(i.charAt(n))===-1;)n--;return i.substring(n+1,r)},e.prototype.evaluateSeparatorAfter=function(t,r){var n=nt(t.getText(),!0);n.setPosition(r);var i=n.scan();switch(i){case 5:case 2:case 4:case 17:return\"\";default:return\",\"}},e.prototype.findItemAtOffset=function(t,r,n){for(var i=nt(r.getText(),!0),s=t.items,o=s.length-1;o>=0;o--){var l=s[o];if(n>l.offset+l.length){i.setPosition(l.offset+l.length);var u=i.scan();return u===5&&n>=i.getTokenOffset()+i.getTokenLength()?o+1:o}else if(n>=l.offset)return o}return 0},e.prototype.isInComment=function(t,r,n){var i=nt(t.getText(),!1);i.setPosition(r);for(var s=i.scan();s!==17&&i.getTokenOffset()+i.getTokenLength()<n;)s=i.scan();return(s===12||s===13)&&i.getTokenOffset()<=n},e.prototype.fromMarkup=function(t){if(t&&this.doesSupportMarkdown())return{kind:Pe.Markdown,value:t}},e.prototype.doesSupportMarkdown=function(){if(!xe(this.supportsMarkdown)){var t=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsMarkdown=t&&t.completionItem&&Array.isArray(t.completionItem.documentationFormat)&&t.completionItem.documentationFormat.indexOf(Pe.Markdown)!==-1}return this.supportsMarkdown},e.prototype.doesSupportsCommitCharacters=function(){if(!xe(this.supportsCommitCharacters)){var t=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsCommitCharacters=t&&t.completionItem&&!!t.completionItem.commitCharactersSupport}return this.supportsCommitCharacters},e}(),wo=function(){function e(t,r,n){r===void 0&&(r=[]),this.schemaService=t,this.contributions=r,this.promise=n||Promise}return e.prototype.doHover=function(t,r,n){var i=t.offsetAt(r),s=n.getNodeFromOffset(i);if(!s||(s.type===\"object\"||s.type===\"array\")&&i>s.offset+1&&i<s.offset+s.length-1)return this.promise.resolve(null);var o=s;if(s.type===\"string\"){var l=s.parent;if(l&&l.type===\"property\"&&l.keyNode===s&&(s=l.valueNode,!s))return this.promise.resolve(null)}for(var u=$.create(t.positionAt(o.offset),t.positionAt(o.offset+o.length)),c=function(b){var p={contents:b,range:u};return p},h=jr(s),f=this.contributions.length-1;f>=0;f--){var d=this.contributions[f],m=d.getInfoContribution(t.uri,h);if(m)return m.then(function(b){return c(b)})}return this.schemaService.getSchemaForResource(t.uri,n).then(function(b){if(b&&s){var p=n.getMatchingSchemas(b.schema,s.offset),g=void 0,N=void 0,w=void 0,v=void 0;p.every(function(A){if(A.node===s&&!A.inverted&&A.schema&&(g=g||A.schema.title,N=N||A.schema.markdownDescription||qr(A.schema.description),A.schema.enum)){var y=A.schema.enum.indexOf(Je(s));A.schema.markdownEnumDescriptions?w=A.schema.markdownEnumDescriptions[y]:A.schema.enumDescriptions&&(w=qr(A.schema.enumDescriptions[y])),w&&(v=A.schema.enum[y],typeof v!=\"string\"&&(v=JSON.stringify(v)))}return!0});var S=\"\";return g&&(S=qr(g)),N&&(S.length>0&&(S+=`\n\n`),S+=N),w&&(S.length>0&&(S+=`\n\n`),S+=\"`\".concat(yo(v),\"`: \").concat(w)),c([S])}return null})},e}();function qr(e){if(e){var t=e.replace(/([^\\n\\r])(\\r?\\n)([^\\n\\r])/gm,`$1\n\n$3`);return t.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g,\"\\\\$&\")}}function yo(e){return e.indexOf(\"`\")!==-1?\"`` \"+e+\" ``\":e}var Co=_t(),_o=function(){function e(t,r){this.jsonSchemaService=t,this.promise=r,this.validationEnabled=!0}return e.prototype.configure=function(t){t&&(this.validationEnabled=t.validate!==!1,this.commentSeverity=t.allowComments?void 0:de.Error)},e.prototype.doValidation=function(t,r,n,i){var s=this;if(!this.validationEnabled)return this.promise.resolve([]);var o=[],l={},u=function(d){var m=d.range.start.line+\" \"+d.range.start.character+\" \"+d.message;l[m]||(l[m]=!0,o.push(d))},c=function(d){var m=n!=null&&n.trailingCommas?Ht(n.trailingCommas):de.Error,b=n!=null&&n.comments?Ht(n.comments):s.commentSeverity,p=n!=null&&n.schemaValidation?Ht(n.schemaValidation):de.Warning,g=n!=null&&n.schemaRequest?Ht(n.schemaRequest):de.Warning;if(d){if(d.errors.length&&r.root&&g){var N=r.root,w=N.type===\"object\"?N.properties[0]:void 0;if(w&&w.keyNode.value===\"$schema\"){var v=w.valueNode||w,S=$.create(t.positionAt(v.offset),t.positionAt(v.offset+v.length));u(Me.create(S,d.errors[0],g,W.SchemaResolveError))}else{var S=$.create(t.positionAt(N.offset),t.positionAt(N.offset+1));u(Me.create(S,d.errors[0],g,W.SchemaResolveError))}}else if(p){var A=r.validate(t,d.schema,p);A&&A.forEach(u)}aa(d.schema)&&(b=void 0),sa(d.schema)&&(m=void 0)}for(var y=0,C=r.syntaxErrors;y<C.length;y++){var _=C[y];if(_.code===W.TrailingComma){if(typeof m!=\"number\")continue;_.severity=m}u(_)}if(typeof b==\"number\"){var L=Co(\"InvalidCommentToken\",\"Comments are not permitted in JSON.\");r.comments.forEach(function(M){u(Me.create(M,L,b,W.CommentNotPermitted))})}return o};if(i){var h=i.id||\"schemaservice://untitled/\"+So++,f=this.jsonSchemaService.registerExternalSchema(h,[],i);return f.getResolvedSchema().then(function(d){return c(d)})}return this.jsonSchemaService.getSchemaForResource(t.uri,r).then(function(d){return c(d)})},e.prototype.getLanguageStatus=function(t,r){return{schemas:this.jsonSchemaService.getSchemaURIsForResource(t.uri,r)}},e}(),So=0;function aa(e){if(e&&typeof e==\"object\"){if(Ce(e.allowComments))return e.allowComments;if(e.allOf)for(var t=0,r=e.allOf;t<r.length;t++){var n=r[t],i=aa(n);if(Ce(i))return i}}}function sa(e){if(e&&typeof e==\"object\"){if(Ce(e.allowTrailingCommas))return e.allowTrailingCommas;var t=e;if(Ce(t.allowsTrailingCommas))return t.allowsTrailingCommas;if(e.allOf)for(var r=0,n=e.allOf;r<n.length;r++){var i=n[r],s=sa(i);if(Ce(s))return s}}}function Ht(e){switch(e){case\"error\":return de.Error;case\"warning\":return de.Warning;case\"ignore\":return}}var oa=48,Ao=57,No=65,zt=97,Lo=102;function X(e){return e<oa?0:e<=Ao?e-oa:(e<zt&&(e+=zt-No),e>=zt&&e<=Lo?e-zt+10:0)}function ko(e){if(e[0]===\"#\")switch(e.length){case 4:return{red:X(e.charCodeAt(1))*17/255,green:X(e.charCodeAt(2))*17/255,blue:X(e.charCodeAt(3))*17/255,alpha:1};case 5:return{red:X(e.charCodeAt(1))*17/255,green:X(e.charCodeAt(2))*17/255,blue:X(e.charCodeAt(3))*17/255,alpha:X(e.charCodeAt(4))*17/255};case 7:return{red:(X(e.charCodeAt(1))*16+X(e.charCodeAt(2)))/255,green:(X(e.charCodeAt(3))*16+X(e.charCodeAt(4)))/255,blue:(X(e.charCodeAt(5))*16+X(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(X(e.charCodeAt(1))*16+X(e.charCodeAt(2)))/255,green:(X(e.charCodeAt(3))*16+X(e.charCodeAt(4)))/255,blue:(X(e.charCodeAt(5))*16+X(e.charCodeAt(6)))/255,alpha:(X(e.charCodeAt(7))*16+X(e.charCodeAt(8)))/255}}}var xo=function(){function e(t){this.schemaService=t}return e.prototype.findDocumentSymbols=function(t,r,n){var i=this;n===void 0&&(n={resultLimit:Number.MAX_VALUE});var s=r.root;if(!s)return[];var o=n.resultLimit||Number.MAX_VALUE,l=t.uri;if((l===\"vscode://defaultsettings/keybindings.json\"||gt(l.toLowerCase(),\"/user/keybindings.json\"))&&s.type===\"array\"){for(var u=[],c=0,h=s.items;c<h.length;c++){var f=h[c];if(f.type===\"object\")for(var d=0,m=f.properties;d<m.length;d++){var b=m[d];if(b.keyNode.value===\"key\"&&b.valueNode){var p=pt.create(t.uri,Ue(t,f));if(u.push({name:Je(b.valueNode),kind:_e.Function,location:p}),o--,o<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(l),u}}}return u}for(var g=[{node:s,containerName:\"\"}],N=0,w=!1,v=[],S=function(y,C){y.type===\"array\"?y.items.forEach(function(_){_&&g.push({node:_,containerName:C})}):y.type===\"object\"&&y.properties.forEach(function(_){var L=_.valueNode;if(L)if(o>0){o--;var M=pt.create(t.uri,Ue(t,_)),E=C?C+\".\"+_.keyNode.value:_.keyNode.value;v.push({name:i.getKeyLabel(_),kind:i.getSymbolKind(L.type),location:M,containerName:C}),g.push({node:L,containerName:E})}else w=!0})};N<g.length;){var A=g[N++];S(A.node,A.containerName)}return w&&n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(l),v},e.prototype.findDocumentSymbols2=function(t,r,n){var i=this;n===void 0&&(n={resultLimit:Number.MAX_VALUE});var s=r.root;if(!s)return[];var o=n.resultLimit||Number.MAX_VALUE,l=t.uri;if((l===\"vscode://defaultsettings/keybindings.json\"||gt(l.toLowerCase(),\"/user/keybindings.json\"))&&s.type===\"array\"){for(var u=[],c=0,h=s.items;c<h.length;c++){var f=h[c];if(f.type===\"object\")for(var d=0,m=f.properties;d<m.length;d++){var b=m[d];if(b.keyNode.value===\"key\"&&b.valueNode){var p=Ue(t,f),g=Ue(t,b.keyNode);if(u.push({name:Je(b.valueNode),kind:_e.Function,range:p,selectionRange:g}),o--,o<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(l),u}}}return u}for(var N=[],w=[{node:s,result:N}],v=0,S=!1,A=function(C,_){C.type===\"array\"?C.items.forEach(function(L,M){if(L)if(o>0){o--;var E=Ue(t,L),P=E,D=String(M),B={name:D,kind:i.getSymbolKind(L.type),range:E,selectionRange:P,children:[]};_.push(B),w.push({result:B.children,node:L})}else S=!0}):C.type===\"object\"&&C.properties.forEach(function(L){var M=L.valueNode;if(M)if(o>0){o--;var E=Ue(t,L),P=Ue(t,L.keyNode),D=[],B={name:i.getKeyLabel(L),kind:i.getSymbolKind(M.type),range:E,selectionRange:P,children:D,detail:i.getDetail(M)};_.push(B),w.push({result:D,node:M})}else S=!0})};v<w.length;){var y=w[v++];A(y.node,y.result)}return S&&n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(l),N},e.prototype.getSymbolKind=function(t){switch(t){case\"object\":return _e.Module;case\"string\":return _e.String;case\"number\":return _e.Number;case\"array\":return _e.Array;case\"boolean\":return _e.Boolean;default:return _e.Variable}},e.prototype.getKeyLabel=function(t){var r=t.keyNode.value;return r&&(r=r.replace(/[\\n]/g,\"\\u21B5\")),r&&r.trim()?r:'\"'.concat(r,'\"')},e.prototype.getDetail=function(t){if(!!t){if(t.type===\"boolean\"||t.type===\"number\"||t.type===\"null\"||t.type===\"string\")return String(t.value);if(t.type===\"array\")return t.children.length?void 0:\"[]\";if(t.type===\"object\")return t.children.length?void 0:\"{}\"}},e.prototype.findDocumentColors=function(t,r,n){return this.schemaService.getSchemaForResource(t.uri,r).then(function(i){var s=[];if(i)for(var o=n&&typeof n.resultLimit==\"number\"?n.resultLimit:Number.MAX_VALUE,l=r.getMatchingSchemas(i.schema),u={},c=0,h=l;c<h.length;c++){var f=h[c];if(!f.inverted&&f.schema&&(f.schema.format===\"color\"||f.schema.format===\"color-hex\")&&f.node&&f.node.type===\"string\"){var d=String(f.node.offset);if(!u[d]){var m=ko(Je(f.node));if(m){var b=Ue(t,f.node);s.push({color:m,range:b})}if(u[d]=!0,o--,o<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(t.uri),s}}}return s})},e.prototype.getColorPresentations=function(t,r,n,i){var s=[],o=Math.round(n.red*255),l=Math.round(n.green*255),u=Math.round(n.blue*255);function c(f){var d=f.toString(16);return d.length!==2?\"0\"+d:d}var h;return n.alpha===1?h=\"#\".concat(c(o)).concat(c(l)).concat(c(u)):h=\"#\".concat(c(o)).concat(c(l)).concat(c(u)).concat(c(Math.round(n.alpha*255))),s.push({label:h,textEdit:we.replace(i,JSON.stringify(h))}),s},e}();function Ue(e,t){return $.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length))}var O=_t(),$r={schemaAssociations:[],schemas:{\"http://json-schema.org/schema#\":{$ref:\"http://json-schema.org/draft-07/schema#\"},\"http://json-schema.org/draft-04/schema#\":{$schema:\"http://json-schema.org/draft-04/schema#\",definitions:{schemaArray:{type:\"array\",minItems:1,items:{$ref:\"#\"}},positiveInteger:{type:\"integer\",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:\"#/definitions/positiveInteger\"},{default:0}]},simpleTypes:{type:\"string\",enum:[\"array\",\"boolean\",\"integer\",\"null\",\"number\",\"object\",\"string\"]},stringArray:{type:\"array\",items:{type:\"string\"},minItems:1,uniqueItems:!0}},type:\"object\",properties:{id:{type:\"string\",format:\"uri\"},$schema:{type:\"string\",format:\"uri\"},title:{type:\"string\"},description:{type:\"string\"},default:{},multipleOf:{type:\"number\",minimum:0,exclusiveMinimum:!0},maximum:{type:\"number\"},exclusiveMaximum:{type:\"boolean\",default:!1},minimum:{type:\"number\"},exclusiveMinimum:{type:\"boolean\",default:!1},maxLength:{allOf:[{$ref:\"#/definitions/positiveInteger\"}]},minLength:{allOf:[{$ref:\"#/definitions/positiveIntegerDefault0\"}]},pattern:{type:\"string\",format:\"regex\"},additionalItems:{anyOf:[{type:\"boolean\"},{$ref:\"#\"}],default:{}},items:{anyOf:[{$ref:\"#\"},{$ref:\"#/definitions/schemaArray\"}],default:{}},maxItems:{allOf:[{$ref:\"#/definitions/positiveInteger\"}]},minItems:{allOf:[{$ref:\"#/definitions/positiveIntegerDefault0\"}]},uniqueItems:{type:\"boolean\",default:!1},maxProperties:{allOf:[{$ref:\"#/definitions/positiveInteger\"}]},minProperties:{allOf:[{$ref:\"#/definitions/positiveIntegerDefault0\"}]},required:{allOf:[{$ref:\"#/definitions/stringArray\"}]},additionalProperties:{anyOf:[{type:\"boolean\"},{$ref:\"#\"}],default:{}},definitions:{type:\"object\",additionalProperties:{$ref:\"#\"},default:{}},properties:{type:\"object\",additionalProperties:{$ref:\"#\"},default:{}},patternProperties:{type:\"object\",additionalProperties:{$ref:\"#\"},default:{}},dependencies:{type:\"object\",additionalProperties:{anyOf:[{$ref:\"#\"},{$ref:\"#/definitions/stringArray\"}]}},enum:{type:\"array\",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:\"#/definitions/simpleTypes\"},{type:\"array\",items:{$ref:\"#/definitions/simpleTypes\"},minItems:1,uniqueItems:!0}]},format:{anyOf:[{type:\"string\",enum:[\"date-time\",\"uri\",\"email\",\"hostname\",\"ipv4\",\"ipv6\",\"regex\"]},{type:\"string\"}]},allOf:{allOf:[{$ref:\"#/definitions/schemaArray\"}]},anyOf:{allOf:[{$ref:\"#/definitions/schemaArray\"}]},oneOf:{allOf:[{$ref:\"#/definitions/schemaArray\"}]},not:{allOf:[{$ref:\"#\"}]}},dependencies:{exclusiveMaximum:[\"maximum\"],exclusiveMinimum:[\"minimum\"]},default:{}},\"http://json-schema.org/draft-07/schema#\":{definitions:{schemaArray:{type:\"array\",minItems:1,items:{$ref:\"#\"}},nonNegativeInteger:{type:\"integer\",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:\"#/definitions/nonNegativeInteger\"},{default:0}]},simpleTypes:{enum:[\"array\",\"boolean\",\"integer\",\"null\",\"number\",\"object\",\"string\"]},stringArray:{type:\"array\",items:{type:\"string\"},uniqueItems:!0,default:[]}},type:[\"object\",\"boolean\"],properties:{$id:{type:\"string\",format:\"uri-reference\"},$schema:{type:\"string\",format:\"uri\"},$ref:{type:\"string\",format:\"uri-reference\"},$comment:{type:\"string\"},title:{type:\"string\"},description:{type:\"string\"},default:!0,readOnly:{type:\"boolean\",default:!1},examples:{type:\"array\",items:!0},multipleOf:{type:\"number\",exclusiveMinimum:0},maximum:{type:\"number\"},exclusiveMaximum:{type:\"number\"},minimum:{type:\"number\"},exclusiveMinimum:{type:\"number\"},maxLength:{$ref:\"#/definitions/nonNegativeInteger\"},minLength:{$ref:\"#/definitions/nonNegativeIntegerDefault0\"},pattern:{type:\"string\",format:\"regex\"},additionalItems:{$ref:\"#\"},items:{anyOf:[{$ref:\"#\"},{$ref:\"#/definitions/schemaArray\"}],default:!0},maxItems:{$ref:\"#/definitions/nonNegativeInteger\"},minItems:{$ref:\"#/definitions/nonNegativeIntegerDefault0\"},uniqueItems:{type:\"boolean\",default:!1},contains:{$ref:\"#\"},maxProperties:{$ref:\"#/definitions/nonNegativeInteger\"},minProperties:{$ref:\"#/definitions/nonNegativeIntegerDefault0\"},required:{$ref:\"#/definitions/stringArray\"},additionalProperties:{$ref:\"#\"},definitions:{type:\"object\",additionalProperties:{$ref:\"#\"},default:{}},properties:{type:\"object\",additionalProperties:{$ref:\"#\"},default:{}},patternProperties:{type:\"object\",additionalProperties:{$ref:\"#\"},propertyNames:{format:\"regex\"},default:{}},dependencies:{type:\"object\",additionalProperties:{anyOf:[{$ref:\"#\"},{$ref:\"#/definitions/stringArray\"}]}},propertyNames:{$ref:\"#\"},const:!0,enum:{type:\"array\",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:\"#/definitions/simpleTypes\"},{type:\"array\",items:{$ref:\"#/definitions/simpleTypes\"},minItems:1,uniqueItems:!0}]},format:{type:\"string\"},contentMediaType:{type:\"string\"},contentEncoding:{type:\"string\"},if:{$ref:\"#\"},then:{$ref:\"#\"},else:{$ref:\"#\"},allOf:{$ref:\"#/definitions/schemaArray\"},anyOf:{$ref:\"#/definitions/schemaArray\"},oneOf:{$ref:\"#/definitions/schemaArray\"},not:{$ref:\"#\"}},default:!0}}},Mo={id:O(\"schema.json.id\",\"A unique identifier for the schema.\"),$schema:O(\"schema.json.$schema\",\"The schema to verify this document against.\"),title:O(\"schema.json.title\",\"A descriptive title of the element.\"),description:O(\"schema.json.description\",\"A long description of the element. Used in hover menus and suggestions.\"),default:O(\"schema.json.default\",\"A default value. Used by suggestions.\"),multipleOf:O(\"schema.json.multipleOf\",\"A number that should cleanly divide the current value (i.e. have no remainder).\"),maximum:O(\"schema.json.maximum\",\"The maximum numerical value, inclusive by default.\"),exclusiveMaximum:O(\"schema.json.exclusiveMaximum\",\"Makes the maximum property exclusive.\"),minimum:O(\"schema.json.minimum\",\"The minimum numerical value, inclusive by default.\"),exclusiveMinimum:O(\"schema.json.exclusiveMininum\",\"Makes the minimum property exclusive.\"),maxLength:O(\"schema.json.maxLength\",\"The maximum length of a string.\"),minLength:O(\"schema.json.minLength\",\"The minimum length of a string.\"),pattern:O(\"schema.json.pattern\",\"A regular expression to match the string against. It is not implicitly anchored.\"),additionalItems:O(\"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.\"),items:O(\"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.\"),maxItems:O(\"schema.json.maxItems\",\"The maximum number of items that can be inside an array. Inclusive.\"),minItems:O(\"schema.json.minItems\",\"The minimum number of items that can be inside an array. Inclusive.\"),uniqueItems:O(\"schema.json.uniqueItems\",\"If all of the items in the array must be unique. Defaults to false.\"),maxProperties:O(\"schema.json.maxProperties\",\"The maximum number of properties an object can have. Inclusive.\"),minProperties:O(\"schema.json.minProperties\",\"The minimum number of properties an object can have. Inclusive.\"),required:O(\"schema.json.required\",\"An array of strings that lists the names of all properties required on this object.\"),additionalProperties:O(\"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.\"),definitions:O(\"schema.json.definitions\",\"Not used for validation. Place subschemas here that you wish to reference inline with $ref.\"),properties:O(\"schema.json.properties\",\"A map of property names to schemas for each property.\"),patternProperties:O(\"schema.json.patternProperties\",\"A map of regular expressions on property names to schemas for matching properties.\"),dependencies:O(\"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.\"),enum:O(\"schema.json.enum\",\"The set of literal values that are valid.\"),type:O(\"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.\"),format:O(\"schema.json.format\",\"Describes the format expected for the value.\"),allOf:O(\"schema.json.allOf\",\"An array of schemas, all of which must match.\"),anyOf:O(\"schema.json.anyOf\",\"An array of schemas, where at least one must match.\"),oneOf:O(\"schema.json.oneOf\",\"An array of schemas, exactly one of which must match.\"),not:O(\"schema.json.not\",\"A schema which must not match.\"),$id:O(\"schema.json.$id\",\"A unique identifier for the schema.\"),$ref:O(\"schema.json.$ref\",\"Reference a definition hosted on any location.\"),$comment:O(\"schema.json.$comment\",\"Comments from schema authors to readers or maintainers of the schema.\"),readOnly:O(\"schema.json.readOnly\",\"Indicates that the value of the instance is managed exclusively by the owning authority.\"),examples:O(\"schema.json.examples\",\"Sample JSON values associated with a particular schema, for the purpose of illustrating usage.\"),contains:O(\"schema.json.contains\",'An array instance is valid against \"contains\" if at least one of its elements is valid against the given schema.'),propertyNames:O(\"schema.json.propertyNames\",\"If the instance is an object, this keyword validates if every property name in the instance validates against the provided schema.\"),const:O(\"schema.json.const\",\"An instance validates successfully against this keyword if its value is equal to the value of the keyword.\"),contentMediaType:O(\"schema.json.contentMediaType\",\"Describes the media type of a string property.\"),contentEncoding:O(\"schema.json.contentEncoding\",\"Describes the content encoding of a string property.\"),if:O(\"schema.json.if\",'The validation outcome of the \"if\" subschema controls which of the \"then\" or \"else\" keywords are evaluated.'),then:O(\"schema.json.then\",'The \"if\" subschema is used for validation when the \"if\" subschema succeeds.'),else:O(\"schema.json.else\",'The \"else\" subschema is used for validation when the \"if\" subschema fails.')};for(la in $r.schemas){Gt=$r.schemas[la];for(at in Gt.properties)Jt=Gt.properties[at],typeof Jt==\"boolean\"&&(Jt=Gt.properties[at]={}),Hr=Mo[at],Hr?Jt.description=Hr:console.log(\"\".concat(at,\": localize('schema.json.\").concat(at,`', \"\")`))}var Gt,Jt,Hr,at,la,ua;ua=(()=>{var e={470:n=>{function i(l){if(typeof l!=\"string\")throw new TypeError(\"Path must be a string. Received \"+JSON.stringify(l))}function s(l,u){for(var c,h=\"\",f=0,d=-1,m=0,b=0;b<=l.length;++b){if(b<l.length)c=l.charCodeAt(b);else{if(c===47)break;c=47}if(c===47){if(!(d===b-1||m===1))if(d!==b-1&&m===2){if(h.length<2||f!==2||h.charCodeAt(h.length-1)!==46||h.charCodeAt(h.length-2)!==46){if(h.length>2){var p=h.lastIndexOf(\"/\");if(p!==h.length-1){p===-1?(h=\"\",f=0):f=(h=h.slice(0,p)).length-1-h.lastIndexOf(\"/\"),d=b,m=0;continue}}else if(h.length===2||h.length===1){h=\"\",f=0,d=b,m=0;continue}}u&&(h.length>0?h+=\"/..\":h=\"..\",f=2)}else h.length>0?h+=\"/\"+l.slice(d+1,b):h=l.slice(d+1,b),f=b-d-1;d=b,m=0}else c===46&&m!==-1?++m:m=-1}return h}var o={resolve:function(){for(var l,u=\"\",c=!1,h=arguments.length-1;h>=-1&&!c;h--){var f;h>=0?f=arguments[h]:(l===void 0&&(l=process.cwd()),f=l),i(f),f.length!==0&&(u=f+\"/\"+u,c=f.charCodeAt(0)===47)}return u=s(u,!c),c?u.length>0?\"/\"+u:\"/\":u.length>0?u:\".\"},normalize:function(l){if(i(l),l.length===0)return\".\";var u=l.charCodeAt(0)===47,c=l.charCodeAt(l.length-1)===47;return(l=s(l,!u)).length!==0||u||(l=\".\"),l.length>0&&c&&(l+=\"/\"),u?\"/\"+l:l},isAbsolute:function(l){return i(l),l.length>0&&l.charCodeAt(0)===47},join:function(){if(arguments.length===0)return\".\";for(var l,u=0;u<arguments.length;++u){var c=arguments[u];i(c),c.length>0&&(l===void 0?l=c:l+=\"/\"+c)}return l===void 0?\".\":o.normalize(l)},relative:function(l,u){if(i(l),i(u),l===u||(l=o.resolve(l))===(u=o.resolve(u)))return\"\";for(var c=1;c<l.length&&l.charCodeAt(c)===47;++c);for(var h=l.length,f=h-c,d=1;d<u.length&&u.charCodeAt(d)===47;++d);for(var m=u.length-d,b=f<m?f:m,p=-1,g=0;g<=b;++g){if(g===b){if(m>b){if(u.charCodeAt(d+g)===47)return u.slice(d+g+1);if(g===0)return u.slice(d+g)}else f>b&&(l.charCodeAt(c+g)===47?p=g:g===0&&(p=0));break}var N=l.charCodeAt(c+g);if(N!==u.charCodeAt(d+g))break;N===47&&(p=g)}var w=\"\";for(g=c+p+1;g<=h;++g)g!==h&&l.charCodeAt(g)!==47||(w.length===0?w+=\"..\":w+=\"/..\");return w.length>0?w+u.slice(d+p):(d+=p,u.charCodeAt(d)===47&&++d,u.slice(d))},_makeLong:function(l){return l},dirname:function(l){if(i(l),l.length===0)return\".\";for(var u=l.charCodeAt(0),c=u===47,h=-1,f=!0,d=l.length-1;d>=1;--d)if((u=l.charCodeAt(d))===47){if(!f){h=d;break}}else f=!1;return h===-1?c?\"/\":\".\":c&&h===1?\"//\":l.slice(0,h)},basename:function(l,u){if(u!==void 0&&typeof u!=\"string\")throw new TypeError('\"ext\" argument must be a string');i(l);var c,h=0,f=-1,d=!0;if(u!==void 0&&u.length>0&&u.length<=l.length){if(u.length===l.length&&u===l)return\"\";var m=u.length-1,b=-1;for(c=l.length-1;c>=0;--c){var p=l.charCodeAt(c);if(p===47){if(!d){h=c+1;break}}else b===-1&&(d=!1,b=c+1),m>=0&&(p===u.charCodeAt(m)?--m==-1&&(f=c):(m=-1,f=b))}return h===f?f=b:f===-1&&(f=l.length),l.slice(h,f)}for(c=l.length-1;c>=0;--c)if(l.charCodeAt(c)===47){if(!d){h=c+1;break}}else f===-1&&(d=!1,f=c+1);return f===-1?\"\":l.slice(h,f)},extname:function(l){i(l);for(var u=-1,c=0,h=-1,f=!0,d=0,m=l.length-1;m>=0;--m){var b=l.charCodeAt(m);if(b!==47)h===-1&&(f=!1,h=m+1),b===46?u===-1?u=m:d!==1&&(d=1):u!==-1&&(d=-1);else if(!f){c=m+1;break}}return u===-1||h===-1||d===0||d===1&&u===h-1&&u===c+1?\"\":l.slice(u,h)},format:function(l){if(l===null||typeof l!=\"object\")throw new TypeError('The \"pathObject\" argument must be of type Object. Received type '+typeof l);return function(u,c){var h=c.dir||c.root,f=c.base||(c.name||\"\")+(c.ext||\"\");return h?h===c.root?h+f:h+\"/\"+f:f}(0,l)},parse:function(l){i(l);var u={root:\"\",dir:\"\",base:\"\",ext:\"\",name:\"\"};if(l.length===0)return u;var c,h=l.charCodeAt(0),f=h===47;f?(u.root=\"/\",c=1):c=0;for(var d=-1,m=0,b=-1,p=!0,g=l.length-1,N=0;g>=c;--g)if((h=l.charCodeAt(g))!==47)b===-1&&(p=!1,b=g+1),h===46?d===-1?d=g:N!==1&&(N=1):d!==-1&&(N=-1);else if(!p){m=g+1;break}return d===-1||b===-1||N===0||N===1&&d===b-1&&d===m+1?b!==-1&&(u.base=u.name=m===0&&f?l.slice(1,b):l.slice(m,b)):(m===0&&f?(u.name=l.slice(1,d),u.base=l.slice(1,b)):(u.name=l.slice(m,d),u.base=l.slice(m,b)),u.ext=l.slice(d,b)),m>0?u.dir=l.slice(0,m-1):f&&(u.dir=\"/\"),u},sep:\"/\",delimiter:\":\",win32:null,posix:null};o.posix=o,n.exports=o},447:(n,i,s)=>{var o;if(s.r(i),s.d(i,{URI:()=>w,Utils:()=>D}),typeof process==\"object\")o=process.platform===\"win32\";else if(typeof navigator==\"object\"){var l=navigator.userAgent;o=l.indexOf(\"Windows\")>=0}var u,c,h=(u=function(T,x){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,V){F.__proto__=V}||function(F,V){for(var R in V)Object.prototype.hasOwnProperty.call(V,R)&&(F[R]=V[R])})(T,x)},function(T,x){if(typeof x!=\"function\"&&x!==null)throw new TypeError(\"Class extends value \"+String(x)+\" is not a constructor or null\");function F(){this.constructor=T}u(T,x),T.prototype=x===null?Object.create(x):(F.prototype=x.prototype,new F)}),f=/^\\w[\\w\\d+.-]*$/,d=/^\\//,m=/^\\/\\//;function b(T,x){if(!T.scheme&&x)throw new Error('[UriError]: Scheme is missing: {scheme: \"\", authority: \"'.concat(T.authority,'\", path: \"').concat(T.path,'\", query: \"').concat(T.query,'\", fragment: \"').concat(T.fragment,'\"}'));if(T.scheme&&!f.test(T.scheme))throw new Error(\"[UriError]: Scheme contains illegal characters.\");if(T.path){if(T.authority){if(!d.test(T.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(m.test(T.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters (\"//\")')}}var p=\"\",g=\"/\",N=/^(([^:/?#]+?):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/,w=function(){function T(x,F,V,R,U,q){q===void 0&&(q=!1),typeof x==\"object\"?(this.scheme=x.scheme||p,this.authority=x.authority||p,this.path=x.path||p,this.query=x.query||p,this.fragment=x.fragment||p):(this.scheme=function(Ae,ie){return Ae||ie?Ae:\"file\"}(x,q),this.authority=F||p,this.path=function(Ae,ie){switch(Ae){case\"https\":case\"http\":case\"file\":ie?ie[0]!==g&&(ie=g+ie):ie=g}return ie}(this.scheme,V||p),this.query=R||p,this.fragment=U||p,b(this,q))}return T.isUri=function(x){return x instanceof T||!!x&&typeof x.authority==\"string\"&&typeof x.fragment==\"string\"&&typeof x.path==\"string\"&&typeof x.query==\"string\"&&typeof x.scheme==\"string\"&&typeof x.fsPath==\"string\"&&typeof x.with==\"function\"&&typeof x.toString==\"function\"},Object.defineProperty(T.prototype,\"fsPath\",{get:function(){return _(this,!1)},enumerable:!1,configurable:!0}),T.prototype.with=function(x){if(!x)return this;var F=x.scheme,V=x.authority,R=x.path,U=x.query,q=x.fragment;return F===void 0?F=this.scheme:F===null&&(F=p),V===void 0?V=this.authority:V===null&&(V=p),R===void 0?R=this.path:R===null&&(R=p),U===void 0?U=this.query:U===null&&(U=p),q===void 0?q=this.fragment:q===null&&(q=p),F===this.scheme&&V===this.authority&&R===this.path&&U===this.query&&q===this.fragment?this:new S(F,V,R,U,q)},T.parse=function(x,F){F===void 0&&(F=!1);var V=N.exec(x);return V?new S(V[2]||p,P(V[4]||p),P(V[5]||p),P(V[7]||p),P(V[9]||p),F):new S(p,p,p,p,p)},T.file=function(x){var F=p;if(o&&(x=x.replace(/\\\\/g,g)),x[0]===g&&x[1]===g){var V=x.indexOf(g,2);V===-1?(F=x.substring(2),x=g):(F=x.substring(2,V),x=x.substring(V)||g)}return new S(\"file\",F,x,p,p)},T.from=function(x){var F=new S(x.scheme,x.authority,x.path,x.query,x.fragment);return b(F,!0),F},T.prototype.toString=function(x){return x===void 0&&(x=!1),L(this,x)},T.prototype.toJSON=function(){return this},T.revive=function(x){if(x){if(x instanceof T)return x;var F=new S(x);return F._formatted=x.external,F._fsPath=x._sep===v?x.fsPath:null,F}return x},T}(),v=o?1:void 0,S=function(T){function x(){var F=T!==null&&T.apply(this,arguments)||this;return F._formatted=null,F._fsPath=null,F}return h(x,T),Object.defineProperty(x.prototype,\"fsPath\",{get:function(){return this._fsPath||(this._fsPath=_(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),x.prototype.toString=function(F){return F===void 0&&(F=!1),F?L(this,!0):(this._formatted||(this._formatted=L(this,!1)),this._formatted)},x.prototype.toJSON=function(){var F={$mid:1};return this._fsPath&&(F.fsPath=this._fsPath,F._sep=v),this._formatted&&(F.external=this._formatted),this.path&&(F.path=this.path),this.scheme&&(F.scheme=this.scheme),this.authority&&(F.authority=this.authority),this.query&&(F.query=this.query),this.fragment&&(F.fragment=this.fragment),F},x}(w),A=((c={})[58]=\"%3A\",c[47]=\"%2F\",c[63]=\"%3F\",c[35]=\"%23\",c[91]=\"%5B\",c[93]=\"%5D\",c[64]=\"%40\",c[33]=\"%21\",c[36]=\"%24\",c[38]=\"%26\",c[39]=\"%27\",c[40]=\"%28\",c[41]=\"%29\",c[42]=\"%2A\",c[43]=\"%2B\",c[44]=\"%2C\",c[59]=\"%3B\",c[61]=\"%3D\",c[32]=\"%20\",c);function y(T,x){for(var F=void 0,V=-1,R=0;R<T.length;R++){var U=T.charCodeAt(R);if(U>=97&&U<=122||U>=65&&U<=90||U>=48&&U<=57||U===45||U===46||U===95||U===126||x&&U===47)V!==-1&&(F+=encodeURIComponent(T.substring(V,R)),V=-1),F!==void 0&&(F+=T.charAt(R));else{F===void 0&&(F=T.substr(0,R));var q=A[U];q!==void 0?(V!==-1&&(F+=encodeURIComponent(T.substring(V,R)),V=-1),F+=q):V===-1&&(V=R)}}return V!==-1&&(F+=encodeURIComponent(T.substring(V))),F!==void 0?F:T}function C(T){for(var x=void 0,F=0;F<T.length;F++){var V=T.charCodeAt(F);V===35||V===63?(x===void 0&&(x=T.substr(0,F)),x+=A[V]):x!==void 0&&(x+=T[F])}return x!==void 0?x:T}function _(T,x){var F;return F=T.authority&&T.path.length>1&&T.scheme===\"file\"?\"//\".concat(T.authority).concat(T.path):T.path.charCodeAt(0)===47&&(T.path.charCodeAt(1)>=65&&T.path.charCodeAt(1)<=90||T.path.charCodeAt(1)>=97&&T.path.charCodeAt(1)<=122)&&T.path.charCodeAt(2)===58?x?T.path.substr(1):T.path[1].toLowerCase()+T.path.substr(2):T.path,o&&(F=F.replace(/\\//g,\"\\\\\")),F}function L(T,x){var F=x?C:y,V=\"\",R=T.scheme,U=T.authority,q=T.path,Ae=T.query,ie=T.fragment;if(R&&(V+=R,V+=\":\"),(U||R===\"file\")&&(V+=g,V+=g),U){var pe=U.indexOf(\"@\");if(pe!==-1){var ot=U.substr(0,pe);U=U.substr(pe+1),(pe=ot.indexOf(\":\"))===-1?V+=F(ot,!1):(V+=F(ot.substr(0,pe),!1),V+=\":\",V+=F(ot.substr(pe+1),!1)),V+=\"@\"}(pe=(U=U.toLowerCase()).indexOf(\":\"))===-1?V+=F(U,!1):(V+=F(U.substr(0,pe),!1),V+=U.substr(pe))}if(q){if(q.length>=3&&q.charCodeAt(0)===47&&q.charCodeAt(2)===58)(Ne=q.charCodeAt(1))>=65&&Ne<=90&&(q=\"/\".concat(String.fromCharCode(Ne+32),\":\").concat(q.substr(3)));else if(q.length>=2&&q.charCodeAt(1)===58){var Ne;(Ne=q.charCodeAt(0))>=65&&Ne<=90&&(q=\"\".concat(String.fromCharCode(Ne+32),\":\").concat(q.substr(2)))}V+=F(q,!0)}return Ae&&(V+=\"?\",V+=F(Ae,!1)),ie&&(V+=\"#\",V+=x?ie:y(ie,!1)),V}function M(T){try{return decodeURIComponent(T)}catch{return T.length>3?T.substr(0,3)+M(T.substr(3)):T}}var E=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function P(T){return T.match(E)?T.replace(E,function(x){return M(x)}):T}var D,B=s(470),Y=function(T,x,F){if(F||arguments.length===2)for(var V,R=0,U=x.length;R<U;R++)!V&&R in x||(V||(V=Array.prototype.slice.call(x,0,R)),V[R]=x[R]);return T.concat(V||Array.prototype.slice.call(x))},H=B.posix||B;(function(T){T.joinPath=function(x){for(var F=[],V=1;V<arguments.length;V++)F[V-1]=arguments[V];return x.with({path:H.join.apply(H,Y([x.path],F,!1))})},T.resolvePath=function(x){for(var F=[],V=1;V<arguments.length;V++)F[V-1]=arguments[V];var R=x.path||\"/\";return x.with({path:H.resolve.apply(H,Y([R],F,!1))})},T.dirname=function(x){var F=H.dirname(x.path);return F.length===1&&F.charCodeAt(0)===46?x:x.with({path:F})},T.basename=function(x){return H.basename(x.path)},T.extname=function(x){return H.extname(x.path)}})(D||(D={}))}},t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}return r.d=(n,i)=>{for(var s in i)r.o(i,s)&&!r.o(n,s)&&Object.defineProperty(n,s,{enumerable:!0,get:i[s]})},r.o=(n,i)=>Object.prototype.hasOwnProperty.call(n,i),r.r=n=>{typeof Symbol!=\"undefined\"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(n,\"__esModule\",{value:!0})},r(447)})();var{URI:st,Utils:nl}=ua;function Po(e,t){if(typeof e!=\"string\")throw new TypeError(\"Expected a string\");for(var r=String(e),n=\"\",i=t?!!t.extended:!1,s=t?!!t.globstar:!1,o=!1,l=t&&typeof t.flags==\"string\"?t.flags:\"\",u,c=0,h=r.length;c<h;c++)switch(u=r[c],u){case\"/\":case\"$\":case\"^\":case\"+\":case\".\":case\"(\":case\")\":case\"=\":case\"!\":case\"|\":n+=\"\\\\\"+u;break;case\"?\":if(i){n+=\".\";break}case\"[\":case\"]\":if(i){n+=u;break}case\"{\":if(i){o=!0,n+=\"(\";break}case\"}\":if(i){o=!1,n+=\")\";break}case\",\":if(o){n+=\"|\";break}n+=\"\\\\\"+u;break;case\"*\":for(var f=r[c-1],d=1;r[c+1]===\"*\";)d++,c++;var m=r[c+1];if(!s)n+=\".*\";else{var b=d>1&&(f===\"/\"||f===void 0||f===\"{\"||f===\",\")&&(m===\"/\"||m===void 0||m===\",\"||m===\"}\");b?(m===\"/\"?c++:f===\"/\"&&n.endsWith(\"\\\\/\")&&(n=n.substr(0,n.length-2)),n+=\"((?:[^/]*(?:/|$))*)\"):n+=\"([^/]*)\"}break;default:n+=u}return(!l||!~l.indexOf(\"g\"))&&(n=\"^\"+n+\"$\"),new RegExp(n,l)}var Se=_t(),To=\"!\",Eo=\"/\",Fo=function(){function e(t,r){this.globWrappers=[];try{for(var n=0,i=t;n<i.length;n++){var s=i[n],o=s[0]!==To;o||(s=s.substring(1)),s.length>0&&(s[0]===Eo&&(s=s.substring(1)),this.globWrappers.push({regexp:Po(\"**/\"+s,{extended:!0,globstar:!0}),include:o}))}this.uris=r}catch{this.globWrappers.length=0,this.uris=[]}}return e.prototype.matchesPattern=function(t){for(var r=!1,n=0,i=this.globWrappers;n<i.length;n++){var s=i[n],o=s.regexp,l=s.include;o.test(t)&&(r=l)}return r},e.prototype.getURIs=function(){return this.uris},e}(),Vo=function(){function e(t,r,n){this.service=t,this.uri=r,this.dependencies=new Set,this.anchors=void 0,n&&(this.unresolvedSchema=this.service.promise.resolve(new St(n)))}return e.prototype.getUnresolvedSchema=function(){return this.unresolvedSchema||(this.unresolvedSchema=this.service.loadSchema(this.uri)),this.unresolvedSchema},e.prototype.getResolvedSchema=function(){var t=this;return this.resolvedSchema||(this.resolvedSchema=this.getUnresolvedSchema().then(function(r){return t.service.resolveSchemaContent(r,t)})),this.resolvedSchema},e.prototype.clearSchema=function(){var t=!!this.unresolvedSchema;return this.resolvedSchema=void 0,this.unresolvedSchema=void 0,this.dependencies.clear(),this.anchors=void 0,t},e}(),St=function(){function e(t,r){r===void 0&&(r=[]),this.schema=t,this.errors=r}return e}(),ca=function(){function e(t,r){r===void 0&&(r=[]),this.schema=t,this.errors=r}return e.prototype.getSection=function(t){var r=this.getSectionRecursive(t,this.schema);if(r)return ue(r)},e.prototype.getSectionRecursive=function(t,r){if(!r||typeof r==\"boolean\"||t.length===0)return r;var n=t.shift();if(r.properties&&typeof r.properties[n])return this.getSectionRecursive(t,r.properties[n]);if(r.patternProperties)for(var i=0,s=Object.keys(r.patternProperties);i<s.length;i++){var o=s[i],l=Rt(o);if(l!=null&&l.test(n))return this.getSectionRecursive(t,r.patternProperties[o])}else{if(typeof r.additionalProperties==\"object\")return this.getSectionRecursive(t,r.additionalProperties);if(n.match(\"[0-9]+\")){if(Array.isArray(r.items)){var u=parseInt(n,10);if(!isNaN(u)&&r.items[u])return this.getSectionRecursive(t,r.items[u])}else if(r.items)return this.getSectionRecursive(t,r.items)}}},e}(),Io=function(){function e(t,r,n){this.contextService=r,this.requestService=t,this.promiseConstructor=n||Promise,this.callOnDispose=[],this.contributionSchemas={},this.contributionAssociations=[],this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={}}return e.prototype.getRegisteredSchemaIds=function(t){return Object.keys(this.registeredSchemasIds).filter(function(r){var n=st.parse(r).scheme;return n!==\"schemaservice\"&&(!t||t(n))})},Object.defineProperty(e.prototype,\"promise\",{get:function(){return this.promiseConstructor},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){for(;this.callOnDispose.length>0;)this.callOnDispose.pop()()},e.prototype.onResourceChange=function(t){var r=this;this.cachedSchemaForResource=void 0;var n=!1;t=je(t);for(var i=[t],s=Object.keys(this.schemasById).map(function(c){return r.schemasById[c]});i.length;)for(var o=i.pop(),l=0;l<s.length;l++){var u=s[l];u&&(u.uri===o||u.dependencies.has(o))&&(u.uri!==o&&i.push(u.uri),u.clearSchema()&&(n=!0),s[l]=void 0)}return n},e.prototype.setSchemaContributions=function(t){if(t.schemas){var r=t.schemas;for(var n in r){var i=je(n);this.contributionSchemas[i]=this.addSchemaHandle(i,r[n])}}if(Array.isArray(t.schemaAssociations))for(var s=t.schemaAssociations,o=0,l=s;o<l.length;o++){var u=l[o],c=u.uris.map(je),h=this.addFilePatternAssociation(u.pattern,c);this.contributionAssociations.push(h)}},e.prototype.addSchemaHandle=function(t,r){var n=new Vo(this,t,r);return this.schemasById[t]=n,n},e.prototype.getOrAddSchemaHandle=function(t,r){return this.schemasById[t]||this.addSchemaHandle(t,r)},e.prototype.addFilePatternAssociation=function(t,r){var n=new Fo(t,r);return this.filePatternAssociations.push(n),n},e.prototype.registerExternalSchema=function(t,r,n){var i=je(t);return this.registeredSchemasIds[i]=!0,this.cachedSchemaForResource=void 0,r&&this.addFilePatternAssociation(r,[i]),n?this.addSchemaHandle(i,n):this.getOrAddSchemaHandle(i)},e.prototype.clearExternalSchemas=function(){this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={},this.cachedSchemaForResource=void 0;for(var t in this.contributionSchemas)this.schemasById[t]=this.contributionSchemas[t],this.registeredSchemasIds[t]=!0;for(var r=0,n=this.contributionAssociations;r<n.length;r++){var i=n[r];this.filePatternAssociations.push(i)}},e.prototype.getResolvedSchema=function(t){var r=je(t),n=this.schemasById[r];return n?n.getResolvedSchema():this.promise.resolve(void 0)},e.prototype.loadSchema=function(t){if(!this.requestService){var r=Se(\"json.schema.norequestservice\",\"Unable to load schema from '{0}'. No schema request service available\",Zt(t));return this.promise.resolve(new St({},[r]))}return this.requestService(t).then(function(n){if(!n){var i=Se(\"json.schema.nocontent\",\"Unable to load schema from '{0}': No content.\",Zt(t));return new St({},[i])}var s={},o=[];s=Ys(n,o);var l=o.length?[Se(\"json.schema.invalidFormat\",\"Unable to parse content from '{0}': Parse error at offset {1}.\",Zt(t),o[0].offset)]:[];return new St(s,l)},function(n){var i=n.toString(),s=n.toString().split(\"Error: \");return s.length>1&&(i=s[1]),gt(i,\".\")&&(i=i.substr(0,i.length-1)),new St({},[Se(\"json.schema.nocontent\",\"Unable to load schema from '{0}': {1}.\",Zt(t),i)])})},e.prototype.resolveSchemaContent=function(t,r){var n=this,i=t.errors.slice(0),s=t.schema;if(s.$schema){var o=je(s.$schema);if(o===\"http://json-schema.org/draft-03/schema\")return this.promise.resolve(new ca({},[Se(\"json.schema.draft03.notsupported\",\"Draft-03 schemas are not supported.\")]));o===\"https://json-schema.org/draft/2019-09/schema\"?i.push(Se(\"json.schema.draft201909.notsupported\",\"Draft 2019-09 schemas are not yet fully supported.\")):o===\"https://json-schema.org/draft/2020-12/schema\"&&i.push(Se(\"json.schema.draft202012.notsupported\",\"Draft 2020-12 schemas are not yet fully supported.\"))}var l=this.contextService,u=function(p,g){g=decodeURIComponent(g);var N=p;return g[0]===\"/\"&&(g=g.substring(1)),g.split(\"/\").some(function(w){return w=w.replace(/~1/g,\"/\").replace(/~0/g,\"~\"),N=N[w],!N}),N},c=function(p,g,N){return g.anchors||(g.anchors=b(p)),g.anchors.get(N)},h=function(p,g){for(var N in g)g.hasOwnProperty(N)&&!p.hasOwnProperty(N)&&N!==\"id\"&&N!==\"$id\"&&(p[N]=g[N])},f=function(p,g,N,w){var v;w===void 0||w.length===0?v=g:w.charAt(0)===\"/\"?v=u(g,w):v=c(g,N,w),v?h(p,v):i.push(Se(\"json.schema.invalidid\",\"$ref '{0}' in '{1}' can not be resolved.\",w,N.uri))},d=function(p,g,N,w){l&&!/^[A-Za-z][A-Za-z0-9+\\-.+]*:\\/\\/.*/.test(g)&&(g=l.resolveRelativePath(g,w.uri)),g=je(g);var v=n.getOrAddSchemaHandle(g);return v.getUnresolvedSchema().then(function(S){if(w.dependencies.add(g),S.errors.length){var A=N?g+\"#\"+N:g;i.push(Se(\"json.schema.problemloadingref\",\"Problems loading reference '{0}': {1}\",A,S.errors[0]))}return f(p,S.schema,v,N),m(p,S.schema,v)})},m=function(p,g,N){var w=[];return n.traverseNodes(p,function(v){for(var S=new Set;v.$ref;){var A=v.$ref,y=A.split(\"#\",2);if(delete v.$ref,y[0].length>0){w.push(d(v,y[0],y[1],N));return}else if(!S.has(A)){var C=y[1];f(v,g,N,C),S.add(A)}}}),n.promise.all(w)},b=function(p){var g=new Map;return n.traverseNodes(p,function(N){var w=N.$id||N.id;if(typeof w==\"string\"&&w.charAt(0)===\"#\"){var v=w.substring(1);g.has(v)?i.push(Se(\"json.schema.duplicateid\",\"Duplicate id declaration: '{0}'\",w)):g.set(v,N)}}),g};return m(s,s,r).then(function(p){return new ca(s,i)})},e.prototype.traverseNodes=function(t,r){if(!t||typeof t!=\"object\")return Promise.resolve(null);for(var n=new Set,i=function(){for(var c=[],h=0;h<arguments.length;h++)c[h]=arguments[h];for(var f=0,d=c;f<d.length;f++){var m=d[f];typeof m==\"object\"&&l.push(m)}},s=function(){for(var c=[],h=0;h<arguments.length;h++)c[h]=arguments[h];for(var f=0,d=c;f<d.length;f++){var m=d[f];if(typeof m==\"object\")for(var b in m){var p=b,g=m[p];typeof g==\"object\"&&l.push(g)}}},o=function(){for(var c=[],h=0;h<arguments.length;h++)c[h]=arguments[h];for(var f=0,d=c;f<d.length;f++){var m=d[f];if(Array.isArray(m))for(var b=0,p=m;b<p.length;b++){var g=p[b];typeof g==\"object\"&&l.push(g)}}},l=[t],u=l.pop();u;)n.has(u)||(n.add(u),r(u),i(u.items,u.additionalItems,u.additionalProperties,u.not,u.contains,u.propertyNames,u.if,u.then,u.else),s(u.definitions,u.properties,u.patternProperties,u.dependencies),o(u.anyOf,u.allOf,u.oneOf,u.items)),u=l.pop()},e.prototype.getSchemaFromProperty=function(t,r){var n,i;if(((n=r.root)===null||n===void 0?void 0:n.type)===\"object\")for(var s=0,o=r.root.properties;s<o.length;s++){var l=o[s];if(l.keyNode.value===\"$schema\"&&((i=l.valueNode)===null||i===void 0?void 0:i.type)===\"string\"){var u=l.valueNode.value;return this.contextService&&!/^\\w[\\w\\d+.-]*:/.test(u)&&(u=this.contextService.resolveRelativePath(u,t)),u}}},e.prototype.getAssociatedSchemas=function(t){for(var r=Object.create(null),n=[],i=Ro(t),s=0,o=this.filePatternAssociations;s<o.length;s++){var l=o[s];if(l.matchesPattern(i))for(var u=0,c=l.getURIs();u<c.length;u++){var h=c[u];r[h]||(n.push(h),r[h]=!0)}}return n},e.prototype.getSchemaURIsForResource=function(t,r){var n=r&&this.getSchemaFromProperty(t,r);return n?[n]:this.getAssociatedSchemas(t)},e.prototype.getSchemaForResource=function(t,r){if(r){var n=this.getSchemaFromProperty(t,r);if(n){var i=je(n);return this.getOrAddSchemaHandle(i).getResolvedSchema()}}if(this.cachedSchemaForResource&&this.cachedSchemaForResource.resource===t)return this.cachedSchemaForResource.resolvedSchema;var s=this.getAssociatedSchemas(t),o=s.length>0?this.createCombinedSchema(t,s).getResolvedSchema():this.promise.resolve(void 0);return this.cachedSchemaForResource={resource:t,resolvedSchema:o},o},e.prototype.createCombinedSchema=function(t,r){if(r.length===1)return this.getOrAddSchemaHandle(r[0]);var n=\"schemaservice://combinedSchema/\"+encodeURIComponent(t),i={allOf:r.map(function(s){return{$ref:s}})};return this.addSchemaHandle(n,i)},e.prototype.getMatchingSchemas=function(t,r,n){if(n){var i=n.id||\"schemaservice://untitled/matchingSchemas/\"+Do++,s=this.addSchemaHandle(i,n);return s.getResolvedSchema().then(function(o){return r.getMatchingSchemas(o.schema).filter(function(l){return!l.inverted})})}return this.getSchemaForResource(t.uri,r).then(function(o){return o?r.getMatchingSchemas(o.schema).filter(function(l){return!l.inverted}):[]})},e}(),Do=0;function je(e){try{return st.parse(e).toString()}catch{return e}}function Ro(e){try{return st.parse(e).with({fragment:null,query:null}).toString()}catch{return e}}function Zt(e){try{var t=st.parse(e);if(t.scheme===\"file\")return t.fsPath}catch{}return e}function Oo(e,t){var r=[],n=[],i=[],s=-1,o=nt(e.getText(),!1),l=o.scan();function u(M){r.push(M),n.push(i.length)}for(;l!==17;){switch(l){case 1:case 3:{var c=e.positionAt(o.getTokenOffset()).line,h={startLine:c,endLine:c,kind:l===1?\"object\":\"array\"};i.push(h);break}case 2:case 4:{var f=l===2?\"object\":\"array\";if(i.length>0&&i[i.length-1].kind===f){var h=i.pop(),d=e.positionAt(o.getTokenOffset()).line;h&&d>h.startLine+1&&s!==h.startLine&&(h.endLine=d-1,u(h),s=h.startLine)}break}case 13:{var c=e.positionAt(o.getTokenOffset()).line,m=e.positionAt(o.getTokenOffset()+o.getTokenLength()).line;o.getTokenError()===1&&c+1<e.lineCount?o.setPosition(e.offsetAt(be.create(c+1,0))):c<m&&(u({startLine:c,endLine:m,kind:vt.Comment}),s=c);break}case 12:{var b=e.getText().substr(o.getTokenOffset(),o.getTokenLength()),p=b.match(/^\\/\\/\\s*#(region\\b)|(endregion\\b)/);if(p){var d=e.positionAt(o.getTokenOffset()).line;if(p[1]){var h={startLine:d,endLine:d,kind:vt.Region};i.push(h)}else{for(var g=i.length-1;g>=0&&i[g].kind!==vt.Region;)g--;if(g>=0){var h=i[g];i.length=g,d>h.startLine&&s!==h.startLine&&(h.endLine=d,u(h),s=h.startLine)}}}break}}l=o.scan()}var N=t&&t.rangeLimit;if(typeof N!=\"number\"||r.length<=N)return r;t&&t.onRangeLimitExceeded&&t.onRangeLimitExceeded(e.uri);for(var w=[],v=0,S=n;v<S.length;v++){var A=S[v];A<30&&(w[A]=(w[A]||0)+1)}for(var y=0,C=0,g=0;g<w.length;g++){var _=w[g];if(_){if(_+y>N){C=g;break}y+=_}}for(var L=[],g=0;g<r.length;g++){var A=n[g];typeof A==\"number\"&&(A<C||A===C&&y++<N)&&L.push(r[g])}return L}function Uo(e,t,r){function n(l){for(var u=e.offsetAt(l),c=r.getNodeFromOffset(u,!0),h=[];c;){switch(c.type){case\"string\":case\"object\":case\"array\":var f=c.offset+1,d=c.offset+c.length-1;f<d&&u>=f&&u<=d&&h.push(i(f,d)),h.push(i(c.offset,c.offset+c.length));break;case\"number\":case\"boolean\":case\"null\":case\"property\":h.push(i(c.offset,c.offset+c.length));break}if(c.type===\"property\"||c.parent&&c.parent.type===\"array\"){var m=o(c.offset+c.length,5);m!==-1&&h.push(i(c.offset,m))}c=c.parent}for(var b=void 0,p=h.length-1;p>=0;p--)b=qt.create(h[p],b);return b||(b=qt.create($.create(l,l))),b}function i(l,u){return $.create(e.positionAt(l),e.positionAt(u))}var s=nt(e.getText(),!0);function o(l,u){s.setPosition(l);var c=s.scan();return c===u?s.getTokenOffset()+s.getTokenLength():-1}return t.map(n)}function jo(e,t){var r=[];return t.visit(function(n){var i;if(n.type===\"property\"&&n.keyNode.value===\"$ref\"&&((i=n.valueNode)===null||i===void 0?void 0:i.type)===\"string\"){var s=n.valueNode.value,o=Wo(t,s);if(o){var l=e.positionAt(o.offset);r.push({target:\"\".concat(e.uri,\"#\").concat(l.line+1,\",\").concat(l.character+1),range:Bo(e,n.valueNode)})}}return!0}),Promise.resolve(r)}function Bo(e,t){return $.create(e.positionAt(t.offset+1),e.positionAt(t.offset+t.length-1))}function Wo(e,t){var r=qo(t);return r?zr(r,e.root):null}function zr(e,t){if(!t)return null;if(e.length===0)return t;var r=e.shift();if(t&&t.type===\"object\"){var n=t.properties.find(function(o){return o.keyNode.value===r});return n?zr(e,n.valueNode):null}else if(t&&t.type===\"array\"&&r.match(/^(0|[1-9][0-9]*)$/)){var i=Number.parseInt(r),s=t.items[i];return s?zr(e,s):null}return null}function qo(e){return e===\"#\"?[]:e[0]!==\"#\"||e[1]!==\"/\"?null:e.substring(2).split(/\\//).map($o)}function $o(e){return e.replace(/~1/g,\"/\").replace(/~0/g,\"~\")}function Ho(e){var t=e.promiseConstructor||Promise,r=new Io(e.schemaRequestService,e.workspaceContext,t);r.setSchemaContributions($r);var n=new bo(r,e.contributions,t,e.clientCapabilities),i=new wo(r,e.contributions,t),s=new xo(r),o=new _o(r,t);return{configure:function(l){r.clearExternalSchemas(),l.schemas&&l.schemas.forEach(function(u){r.registerExternalSchema(u.uri,u.fileMatch,u.schema)}),o.configure(l)},resetSchema:function(l){return r.onResourceChange(l)},doValidation:o.doValidation.bind(o),getLanguageStatus:o.getLanguageStatus.bind(o),parseJSONDocument:function(l){return vo(l,{collectComments:!0})},newJSONDocument:function(l,u){return po(l,u)},getMatchingSchemas:r.getMatchingSchemas.bind(r),doResolve:n.doResolve.bind(n),doComplete:n.doComplete.bind(n),findDocumentSymbols:s.findDocumentSymbols.bind(s),findDocumentSymbols2:s.findDocumentSymbols2.bind(s),findDocumentColors:s.findDocumentColors.bind(s),getColorPresentations:s.getColorPresentations.bind(s),doHover:i.doHover.bind(i),getFoldingRanges:Oo,getSelectionRanges:Uo,findDefinition:function(){return Promise.resolve([])},findLinks:jo,format:function(l,u,c){var h=void 0;if(u){var f=l.offsetAt(u.start),d=l.offsetAt(u.end)-f;h={offset:f,length:d}}var m={tabSize:c?c.tabSize:4,insertSpaces:(c==null?void 0:c.insertSpaces)===!0,insertFinalNewline:(c==null?void 0:c.insertFinalNewline)===!0,eol:`\n`};return to(l.getText(),h,m).map(function(b){return we.replace($.create(l.positionAt(b.offset),l.positionAt(b.offset+b.length)),b.content)})}}}var fa;typeof fetch!=\"undefined\"&&(fa=function(e){return fetch(e).then(t=>t.text())});var zo=class{constructor(e,t){At(this,\"_ctx\");At(this,\"_languageService\");At(this,\"_languageSettings\");At(this,\"_languageId\");this._ctx=e,this._languageSettings=t.languageSettings,this._languageId=t.languageId,this._languageService=Ho({workspaceContext:{resolveRelativePath:(r,n)=>{const i=n.substr(0,n.lastIndexOf(\"/\")+1);return Zo(i,r)}},schemaRequestService:t.enableSchemaRequest?fa:void 0}),this._languageService.configure(this._languageSettings)}async doValidation(e){let t=this._getTextDocument(e);if(t){let r=this._languageService.parseJSONDocument(t);return this._languageService.doValidation(t,r,this._languageSettings)}return Promise.resolve([])}async doComplete(e,t){let r=this._getTextDocument(e);if(!r)return null;let n=this._languageService.parseJSONDocument(r);return this._languageService.doComplete(r,t,n)}async doResolve(e){return this._languageService.doResolve(e)}async doHover(e,t){let r=this._getTextDocument(e);if(!r)return null;let n=this._languageService.parseJSONDocument(r);return this._languageService.doHover(r,t,n)}async format(e,t,r){let n=this._getTextDocument(e);if(!n)return[];let i=this._languageService.format(n,t,r);return Promise.resolve(i)}async resetSchema(e){return Promise.resolve(this._languageService.resetSchema(e))}async findDocumentSymbols(e){let t=this._getTextDocument(e);if(!t)return[];let r=this._languageService.parseJSONDocument(t),n=this._languageService.findDocumentSymbols(t,r);return Promise.resolve(n)}async findDocumentColors(e){let t=this._getTextDocument(e);if(!t)return[];let r=this._languageService.parseJSONDocument(t),n=this._languageService.findDocumentColors(t,r);return Promise.resolve(n)}async getColorPresentations(e,t,r){let n=this._getTextDocument(e);if(!n)return[];let i=this._languageService.parseJSONDocument(n),s=this._languageService.getColorPresentations(n,i,t,r);return Promise.resolve(s)}async getFoldingRanges(e,t){let r=this._getTextDocument(e);if(!r)return[];let n=this._languageService.getFoldingRanges(r,t);return Promise.resolve(n)}async getSelectionRanges(e,t){let r=this._getTextDocument(e);if(!r)return[];let n=this._languageService.parseJSONDocument(r),i=this._languageService.getSelectionRanges(r,t,n);return Promise.resolve(i)}_getTextDocument(e){let t=this._ctx.getMirrorModels();for(let r of t)if(r.uri.toString()===e)return Dr.create(e,this._languageId,r.version,r.getValue());return null}},Go=\"/\".charCodeAt(0),Gr=\".\".charCodeAt(0);function Jo(e){return e.charCodeAt(0)===Go}function Zo(e,t){if(Jo(t)){const r=st.parse(e),n=t.split(\"/\");return r.with({path:ha(n)}).toString()}return Xo(e,t)}function ha(e){const t=[];for(const n of e)n.length===0||n.length===1&&n.charCodeAt(0)===Gr||(n.length===2&&n.charCodeAt(0)===Gr&&n.charCodeAt(1)===Gr?t.pop():t.push(n));e.length>1&&e[e.length-1].length===0&&t.push(\"\");let r=t.join(\"/\");return e[0].length===0&&(r=\"/\"+r),r}function Xo(e,...t){const r=st.parse(e),n=r.path.split(\"/\");for(let i of t)n.push(...i.split(\"/\"));return r.with({path:ha(n)}).toString()}self.onmessage=()=>{bi((e,t)=>new zo(e,t))}})();\n"
  },
  {
    "path": "client/dist/assets/jsonMode.a02fce60.js",
    "content": "var $e=Object.defineProperty;var Ge=(e,n,i)=>n in e?$e(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var A=(e,n,i)=>(Ge(e,typeof n!=\"symbol\"?n+\"\":n,i),i);import{m as Qe}from\"./HMonacoEditor.4fbcd301.js\";import\"./index.becaf6b8.js\";/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var Ze=Object.defineProperty,Ke=Object.getOwnPropertyDescriptor,er=Object.getOwnPropertyNames,rr=Object.prototype.hasOwnProperty,tr=(e,n,i,t)=>{if(n&&typeof n==\"object\"||typeof n==\"function\")for(let r of er(n))!rr.call(e,r)&&(i||r!==\"default\")&&Ze(e,r,{get:()=>n[r],enumerable:!(t=Ke(n,r))||t.enumerable});return e},l={};tr(l,Qe);var nr=2*60*1e3,ir=class{constructor(e){A(this,\"_defaults\");A(this,\"_idleCheckInterval\");A(this,\"_lastUsedTime\");A(this,\"_configChangeListener\");A(this,\"_worker\");A(this,\"_client\");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>nr&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=l.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(t,r){return t===Number.MAX_VALUE&&(t=Y.MAX_VALUE),r===Number.MAX_VALUE&&(r=Y.MAX_VALUE),{line:t,character:r}}e.create=n;function i(t){var r=t;return o.objectLiteral(r)&&o.uinteger(r.line)&&o.uinteger(r.character)}e.is=i})(T||(T={}));var _;(function(e){function n(t,r,a,s){if(o.uinteger(t)&&o.uinteger(r)&&o.uinteger(a)&&o.uinteger(s))return{start:T.create(t,r),end:T.create(a,s)};if(T.is(t)&&T.is(r))return{start:t,end:r};throw new Error(\"Range#create called with invalid arguments[\"+t+\", \"+r+\", \"+a+\", \"+s+\"]\")}e.create=n;function i(t){var r=t;return o.objectLiteral(r)&&T.is(r.start)&&T.is(r.end)}e.is=i})(_||(_={}));var re;(function(e){function n(t,r){return{uri:t,range:r}}e.create=n;function i(t){var r=t;return o.defined(r)&&_.is(r.range)&&(o.string(r.uri)||o.undefined(r.uri))}e.is=i})(re||(re={}));var ue;(function(e){function n(t,r,a,s){return{targetUri:t,targetRange:r,targetSelectionRange:a,originSelectionRange:s}}e.create=n;function i(t){var r=t;return o.defined(r)&&_.is(r.targetRange)&&o.string(r.targetUri)&&(_.is(r.targetSelectionRange)||o.undefined(r.targetSelectionRange))&&(_.is(r.originSelectionRange)||o.undefined(r.originSelectionRange))}e.is=i})(ue||(ue={}));var te;(function(e){function n(t,r,a,s){return{red:t,green:r,blue:a,alpha:s}}e.create=n;function i(t){var r=t;return o.numberRange(r.red,0,1)&&o.numberRange(r.green,0,1)&&o.numberRange(r.blue,0,1)&&o.numberRange(r.alpha,0,1)}e.is=i})(te||(te={}));var ce;(function(e){function n(t,r){return{range:t,color:r}}e.create=n;function i(t){var r=t;return _.is(r.range)&&te.is(r.color)}e.is=i})(ce||(ce={}));var de;(function(e){function n(t,r,a){return{label:t,textEdit:r,additionalTextEdits:a}}e.create=n;function i(t){var r=t;return o.string(r.label)&&(o.undefined(r.textEdit)||L.is(r))&&(o.undefined(r.additionalTextEdits)||o.typedArray(r.additionalTextEdits,L.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(t,r,a,s,u){var c={startLine:t,endLine:r};return o.defined(a)&&(c.startCharacter=a),o.defined(s)&&(c.endCharacter=s),o.defined(u)&&(c.kind=u),c}e.create=n;function i(t){var r=t;return o.uinteger(r.startLine)&&o.uinteger(r.startLine)&&(o.undefined(r.startCharacter)||o.uinteger(r.startCharacter))&&(o.undefined(r.endCharacter)||o.uinteger(r.endCharacter))&&(o.undefined(r.kind)||o.string(r.kind))}e.is=i})(fe||(fe={}));var ne;(function(e){function n(t,r){return{location:t,message:r}}e.create=n;function i(t){var r=t;return o.defined(r)&&re.is(r.location)&&o.string(r.message)}e.is=i})(ne||(ne={}));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 t=i;return t!=null&&o.string(t.href)}e.is=n})(ge||(ge={}));var $;(function(e){function n(t,r,a,s,u,c){var d={range:t,message:r};return o.defined(a)&&(d.severity=a),o.defined(s)&&(d.code=s),o.defined(u)&&(d.source=u),o.defined(c)&&(d.relatedInformation=c),d}e.create=n;function i(t){var r,a=t;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((r=a.codeDescription)===null||r===void 0?void 0:r.href))&&(o.string(a.source)||o.undefined(a.source))&&(o.undefined(a.relatedInformation)||o.typedArray(a.relatedInformation,ne.is))}e.is=i})($||($={}));var V;(function(e){function n(t,r){for(var a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];var u={title:t,command:r};return o.defined(a)&&a.length>0&&(u.arguments=a),u}e.create=n;function i(t){var r=t;return o.defined(r)&&o.string(r.title)&&o.string(r.command)}e.is=i})(V||(V={}));var L;(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 t(a){return{range:a,newText:\"\"}}e.del=t;function r(a){var s=a;return o.objectLiteral(s)&&o.string(s.newText)&&_.is(s.range)}e.is=r})(L||(L={}));var j;(function(e){function n(t,r,a){var s={label:t};return r!==void 0&&(s.needsConfirmation=r),a!==void 0&&(s.description=a),s}e.create=n;function i(t){var r=t;return r!==void 0&&o.objectLiteral(r)&&o.string(r.label)&&(o.boolean(r.needsConfirmation)||r.needsConfirmation===void 0)&&(o.string(r.description)||r.description===void 0)}e.is=i})(j||(j={}));var w;(function(e){function n(i){var t=i;return typeof t==\"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 t(a,s){return{range:a,newText:\"\",annotationId:s}}e.del=t;function r(a){var s=a;return L.is(s)&&(j.is(s.annotationId)||w.is(s.annotationId))}e.is=r})(P||(P={}));var G;(function(e){function n(t,r){return{textDocument:t,edits:r}}e.create=n;function i(t){var r=t;return o.defined(r)&&Q.is(r.textDocument)&&Array.isArray(r.edits)}e.is=i})(G||(G={}));var H;(function(e){function n(t,r,a){var s={kind:\"create\",uri:t};return r!==void 0&&(r.overwrite!==void 0||r.ignoreIfExists!==void 0)&&(s.options=r),a!==void 0&&(s.annotationId=a),s}e.create=n;function i(t){var r=t;return r&&r.kind===\"create\"&&o.string(r.uri)&&(r.options===void 0||(r.options.overwrite===void 0||o.boolean(r.options.overwrite))&&(r.options.ignoreIfExists===void 0||o.boolean(r.options.ignoreIfExists)))&&(r.annotationId===void 0||w.is(r.annotationId))}e.is=i})(H||(H={}));var z;(function(e){function n(t,r,a,s){var u={kind:\"rename\",oldUri:t,newUri:r};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(t){var r=t;return r&&r.kind===\"rename\"&&o.string(r.oldUri)&&o.string(r.newUri)&&(r.options===void 0||(r.options.overwrite===void 0||o.boolean(r.options.overwrite))&&(r.options.ignoreIfExists===void 0||o.boolean(r.options.ignoreIfExists)))&&(r.annotationId===void 0||w.is(r.annotationId))}e.is=i})(z||(z={}));var B;(function(e){function n(t,r,a){var s={kind:\"delete\",uri:t};return r!==void 0&&(r.recursive!==void 0||r.ignoreIfNotExists!==void 0)&&(s.options=r),a!==void 0&&(s.annotationId=a),s}e.create=n;function i(t){var r=t;return r&&r.kind===\"delete\"&&o.string(r.uri)&&(r.options===void 0||(r.options.recursive===void 0||o.boolean(r.options.recursive))&&(r.options.ignoreIfNotExists===void 0||o.boolean(r.options.ignoreIfNotExists)))&&(r.annotationId===void 0||w.is(r.annotationId))}e.is=i})(B||(B={}));var ie;(function(e){function n(i){var t=i;return t&&(t.changes!==void 0||t.documentChanges!==void 0)&&(t.documentChanges===void 0||t.documentChanges.every(function(r){return o.string(r.kind)?H.is(r)||z.is(r)||B.is(r):G.is(r)}))}e.is=n})(ie||(ie={}));var J=function(){function e(n,i){this.edits=n,this.changeAnnotations=i}return e.prototype.insert=function(n,i,t){var r,a;if(t===void 0?r=L.insert(n,i):w.is(t)?(a=t,r=P.insert(n,i,t)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(t),r=P.insert(n,i,a)),this.edits.push(r),a!==void 0)return a},e.prototype.replace=function(n,i,t){var r,a;if(t===void 0?r=L.replace(n,i):w.is(t)?(a=t,r=P.replace(n,i,t)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(t),r=P.replace(n,i,a)),this.edits.push(r),a!==void 0)return a},e.prototype.delete=function(n,i){var t,r;if(i===void 0?t=L.del(n):w.is(i)?(r=i,t=P.del(n,i)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(i),t=P.del(n,r)),this.edits.push(t),r!==void 0)return r},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 t;if(w.is(n)?t=n:(t=this.nextId(),i=n),this._annotations[t]!==void 0)throw new Error(\"Id \"+t+\" is already in use.\");if(i===void 0)throw new Error(\"No annotation provided for id \"+t);return this._annotations[t]=i,this._size++,t},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(t){if(G.is(t)){var r=new J(t.edits,i._changeAnnotations);i._textEditChanges[t.textDocument.uri]=r}})):n.changes&&Object.keys(n.changes).forEach(function(t){var r=new J(n.changes[t]);i._textEditChanges[t]=r})):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},t=this._textEditChanges[i.uri];if(!t){var r=[],a={textDocument:i,edits:r};this._workspaceEdit.documentChanges.push(a),t=new J(r,this._changeAnnotations),this._textEditChanges[i.uri]=t}return t}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error(\"Workspace edit is not configured for normal text edit changes.\");var t=this._textEditChanges[n];if(!t){var r=[];this._workspaceEdit.changes[n]=r,t=new J(r),this._textEditChanges[n]=t}return t}},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,t){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var r;j.is(i)||w.is(i)?r=i:t=i;var a,s;if(r===void 0?a=H.create(n,t):(s=w.is(r)?r:this._changeAnnotations.manage(r),a=H.create(n,t,s)),this._workspaceEdit.documentChanges.push(a),s!==void 0)return s},e.prototype.renameFile=function(n,i,t,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var a;j.is(t)||w.is(t)?a=t:r=t;var s,u;if(a===void 0?s=z.create(n,i,r):(u=w.is(a)?a:this._changeAnnotations.manage(a),s=z.create(n,i,r,u)),this._workspaceEdit.documentChanges.push(s),u!==void 0)return u},e.prototype.deleteFile=function(n,i,t){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error(\"Workspace edit is not configured for document changes.\");var r;j.is(i)||w.is(i)?r=i:t=i;var a,s;if(r===void 0?a=B.create(n,t):(s=w.is(r)?r:this._changeAnnotations.manage(r),a=B.create(n,t,s)),this._workspaceEdit.documentChanges.push(a),s!==void 0)return s},e})();var ve;(function(e){function n(t){return{uri:t}}e.create=n;function i(t){var r=t;return o.defined(r)&&o.string(r.uri)}e.is=i})(ve||(ve={}));var pe;(function(e){function n(t,r){return{uri:t,version:r}}e.create=n;function i(t){var r=t;return o.defined(r)&&o.string(r.uri)&&o.integer(r.version)}e.is=i})(pe||(pe={}));var Q;(function(e){function n(t,r){return{uri:t,version:r}}e.create=n;function i(t){var r=t;return o.defined(r)&&o.string(r.uri)&&(r.version===null||o.integer(r.version))}e.is=i})(Q||(Q={}));var me;(function(e){function n(t,r,a,s){return{uri:t,languageId:r,version:a,text:s}}e.create=n;function i(t){var r=t;return o.defined(r)&&o.string(r.uri)&&o.string(r.languageId)&&o.integer(r.version)&&o.string(r.text)}e.is=i})(me||(me={}));var q;(function(e){e.PlainText=\"plaintext\",e.Markdown=\"markdown\"})(q||(q={}));(function(e){function n(i){var t=i;return t===e.PlainText||t===e.Markdown}e.is=n})(q||(q={}));var ae;(function(e){function n(i){var t=i;return o.objectLiteral(i)&&q.is(t.kind)&&o.string(t.value)}e.is=n})(ae||(ae={}));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 se;(function(e){e.PlainText=1,e.Snippet=2})(se||(se={}));var _e;(function(e){e.Deprecated=1})(_e||(_e={}));var ke;(function(e){function n(t,r,a){return{newText:t,insert:r,replace:a}}e.create=n;function i(t){var r=t;return r&&o.string(r.newText)&&_.is(r.insert)&&_.is(r.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,t){return{items:i||[],isIncomplete:!!t}}e.create=n})(Ce||(Ce={}));var Z;(function(e){function n(t){return t.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g,\"\\\\$&\")}e.fromPlainText=n;function i(t){var r=t;return o.string(r)||o.objectLiteral(r)&&o.string(r.language)&&o.string(r.value)}e.is=i})(Z||(Z={}));var Ee;(function(e){function n(i){var t=i;return!!t&&o.objectLiteral(t)&&(ae.is(t.contents)||Z.is(t.contents)||o.typedArray(t.contents,Z.is))&&(i.range===void 0||_.is(i.range))}e.is=n})(Ee||(Ee={}));var Ae;(function(e){function n(i,t){return t?{label:i,documentation:t}:{label:i}}e.create=n})(Ae||(Ae={}));var Se;(function(e){function n(i,t){for(var r=[],a=2;a<arguments.length;a++)r[a-2]=arguments[a];var s={label:i};return o.defined(t)&&(s.documentation=t),o.defined(r)?s.parameters=r:s.parameters=[],s}e.create=n})(Se||(Se={}));var U;(function(e){e.Text=1,e.Read=2,e.Write=3})(U||(U={}));var ye;(function(e){function n(i,t){var r={range:i};return o.number(t)&&(r.kind=t),r}e.create=n})(ye||(ye={}));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 Ie;(function(e){e.Deprecated=1})(Ie||(Ie={}));var Te;(function(e){function n(i,t,r,a,s){var u={name:i,kind:t,location:{uri:a,range:r}};return s&&(u.containerName=s),u}e.create=n})(Te||(Te={}));var Pe;(function(e){function n(t,r,a,s,u,c){var d={name:t,detail:r,kind:a,range:s,selectionRange:u};return c!==void 0&&(d.children=c),d}e.create=n;function i(t){var r=t;return r&&o.string(r.name)&&o.number(r.kind)&&_.is(r.range)&&_.is(r.selectionRange)&&(r.detail===void 0||o.string(r.detail))&&(r.deprecated===void 0||o.boolean(r.deprecated))&&(r.children===void 0||Array.isArray(r.children))&&(r.tags===void 0||Array.isArray(r.tags))}e.is=i})(Pe||(Pe={}));var Le;(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\"})(Le||(Le={}));var Me;(function(e){function n(t,r){var a={diagnostics:t};return r!=null&&(a.only=r),a}e.create=n;function i(t){var r=t;return o.defined(r)&&o.typedArray(r.diagnostics,$.is)&&(r.only===void 0||o.typedArray(r.only,o.string))}e.is=i})(Me||(Me={}));var Re;(function(e){function n(t,r,a){var s={title:t},u=!0;return typeof r==\"string\"?(u=!1,s.kind=r):V.is(r)?s.command=r:s.edit=r,u&&a!==void 0&&(s.kind=a),s}e.create=n;function i(t){var r=t;return r&&o.string(r.title)&&(r.diagnostics===void 0||o.typedArray(r.diagnostics,$.is))&&(r.kind===void 0||o.string(r.kind))&&(r.edit!==void 0||r.command!==void 0)&&(r.command===void 0||V.is(r.command))&&(r.isPreferred===void 0||o.boolean(r.isPreferred))&&(r.edit===void 0||ie.is(r.edit))}e.is=i})(Re||(Re={}));var De;(function(e){function n(t,r){var a={range:t};return o.defined(r)&&(a.data=r),a}e.create=n;function i(t){var r=t;return o.defined(r)&&_.is(r.range)&&(o.undefined(r.command)||V.is(r.command))}e.is=i})(De||(De={}));var Ne;(function(e){function n(t,r){return{tabSize:t,insertSpaces:r}}e.create=n;function i(t){var r=t;return o.defined(r)&&o.uinteger(r.tabSize)&&o.boolean(r.insertSpaces)}e.is=i})(Ne||(Ne={}));var Oe;(function(e){function n(t,r,a){return{range:t,target:r,data:a}}e.create=n;function i(t){var r=t;return o.defined(r)&&_.is(r.range)&&(o.undefined(r.target)||o.string(r.target))}e.is=i})(Oe||(Oe={}));var je;(function(e){function n(t,r){return{range:t,parent:r}}e.create=n;function i(t){var r=t;return r!==void 0&&_.is(r.range)&&(r.parent===void 0||e.is(r.parent))}e.is=i})(je||(je={}));var xe;(function(e){function n(a,s,u,c){return new ar(a,s,u,c)}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 t(a,s){for(var u=a.getText(),c=r(s,function(I,R){var x=I.range.start.line-R.range.start.line;return x===0?I.range.start.character-R.range.start.character:x}),d=u.length,v=c.length-1;v>=0;v--){var g=c[v],b=a.offsetAt(g.range.start),h=a.offsetAt(g.range.end);if(h<=d)u=u.substring(0,b)+g.newText+u.substring(h,u.length);else throw new Error(\"Overlapping edit\");d=b}return u}e.applyEdits=t;function r(a,s){if(a.length<=1)return a;var u=a.length/2|0,c=a.slice(0,u),d=a.slice(u);r(c,s),r(d,s);for(var v=0,g=0,b=0;v<c.length&&g<d.length;){var h=s(c[v],d[g]);h<=0?a[b++]=c[v++]:a[b++]=d[g++]}for(;v<c.length;)a[b++]=c[v++];for(;g<d.length;)a[b++]=d[g++];return a}})(xe||(xe={}));var ar=function(){function e(n,i,t,r){this._uri=n,this._languageId=i,this._version=t,this._content=r,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),t=this.offsetAt(n.end);return this._content.substring(i,t)}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,t=!0,r=0;r<i.length;r++){t&&(n.push(r),t=!1);var a=i.charAt(r);t=a===\"\\r\"||a===`\n`,a===\"\\r\"&&r+1<i.length&&i.charAt(r+1)===`\n`&&r++}t&&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(),t=0,r=i.length;if(r===0)return T.create(0,n);for(;t<r;){var a=Math.floor((t+r)/2);i[a]>n?r=a:t=a+1}var s=t-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 t=i[n.line],r=n.line+1<i.length?i[n.line+1]:this._content.length;return Math.max(Math.min(t+n.character,r),t)},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!=\"undefined\"}e.defined=i;function t(h){return typeof h==\"undefined\"}e.undefined=t;function r(h){return h===!0||h===!1}e.boolean=r;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,I,R){return n.call(h)===\"[object Number]\"&&I<=h&&h<=R}e.numberRange=u;function c(h){return n.call(h)===\"[object Number]\"&&-2147483648<=h&&h<=2147483647}e.integer=c;function d(h){return n.call(h)===\"[object Number]\"&&0<=h&&h<=2147483647}e.uinteger=d;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,I){return Array.isArray(h)&&h.every(I)}e.typedArray=b})(o||(o={}));var sr=class{constructor(e,n,i){A(this,\"_disposables\",[]);A(this,\"_listener\",Object.create(null));this._languageId=e,this._worker=n;const t=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)},r=a=>{l.editor.setModelMarkers(a,this._languageId,[]);let s=a.uri.toString(),u=this._listener[s];u&&(u.dispose(),delete this._listener[s])};this._disposables.push(l.editor.onDidCreateModel(t)),this._disposables.push(l.editor.onWillDisposeModel(r)),this._disposables.push(l.editor.onDidChangeModelLanguage(a=>{r(a.model),t(a.model)})),this._disposables.push(i(a=>{l.editor.getModels().forEach(s=>{s.getLanguageId()===this._languageId&&(r(s),t(s))})})),this._disposables.push({dispose:()=>{l.editor.getModels().forEach(r);for(let a in this._listener)this._listener[a].dispose()}}),l.editor.getModels().forEach(t)}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 t=i.map(a=>ur(e,a));let r=l.editor.getModel(e);r&&r.getLanguageId()===n&&l.editor.setModelMarkers(r,n,t)}).then(void 0,i=>{console.error(i)})}};function or(e){switch(e){case N.Error:return l.MarkerSeverity.Error;case N.Warning:return l.MarkerSeverity.Warning;case N.Information:return l.MarkerSeverity.Info;case N.Hint:return l.MarkerSeverity.Hint;default:return l.MarkerSeverity.Info}}function ur(e,n){let i=typeof n.code==\"number\"?String(n.code):n.code;return{severity:or(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 cr=class{constructor(e,n){this._worker=e,this._triggerCharacters=n}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(e,n,i,t){const r=e.uri;return this._worker(r).then(a=>a.doComplete(r.toString(),M(n))).then(a=>{if(!a)return;const s=e.getWordUntilPosition(n),u=new l.Range(n.lineNumber,s.startColumn,n.lineNumber,s.endColumn),c=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:lr(d.command),range:u,kind:fr(d.kind)};return d.textEdit&&(dr(d.textEdit)?v.range={insert:S(d.textEdit.insert),replace:S(d.textEdit.replace)}:v.range=S(d.textEdit.range),v.insertText=d.textEdit.newText),d.additionalTextEdits&&(v.additionalTextEdits=d.additionalTextEdits.map(X)),d.insertTextFormat===se.Snippet&&(v.insertTextRules=l.languages.CompletionItemInsertTextRule.InsertAsSnippet),v});return{isIncomplete:a.isIncomplete,suggestions:c}})}};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 S(e){if(!!e)return new l.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function dr(e){return typeof e.insert!=\"undefined\"&&typeof e.replace!=\"undefined\"}function fr(e){const n=l.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:S(e.range),text:e.newText}}function lr(e){return e&&e.command===\"editor.action.triggerSuggest\"?{id:e.command,title:e.title,arguments:e.arguments}:void 0}var gr=class{constructor(e){this._worker=e}provideHover(e,n,i){let t=e.uri;return this._worker(t).then(r=>r.doHover(t.toString(),M(n))).then(r=>{if(!!r)return{range:S(r.range),contents:vr(r.contents)}})}};function hr(e){return e&&typeof e==\"object\"&&typeof e.kind==\"string\"}function Fe(e){return typeof e==\"string\"?{value:e}:hr(e)?e.kind===\"plaintext\"?{value:e.value.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g,\"\\\\$&\")}:{value:e.value}:{value:\"```\"+e.language+`\n`+e.value+\"\\n```\\n\"}}function vr(e){if(!!e)return Array.isArray(e)?e.map(Fe):[Fe(e)]}var Br=class{constructor(e){this._worker=e}provideDocumentHighlights(e,n,i){const t=e.uri;return this._worker(t).then(r=>r.findDocumentHighlights(t.toString(),M(n))).then(r=>{if(!!r)return r.map(a=>({range:S(a.range),kind:pr(a.kind)}))})}};function pr(e){switch(e){case U.Read:return l.languages.DocumentHighlightKind.Read;case U.Write:return l.languages.DocumentHighlightKind.Write;case U.Text:return l.languages.DocumentHighlightKind.Text}return l.languages.DocumentHighlightKind.Text}var qr=class{constructor(e){this._worker=e}provideDefinition(e,n,i){const t=e.uri;return this._worker(t).then(r=>r.findDefinition(t.toString(),M(n))).then(r=>{if(!!r)return[Be(r)]})}};function Be(e){return{uri:l.Uri.parse(e.uri),range:S(e.range)}}var Xr=class{constructor(e){this._worker=e}provideReferences(e,n,i,t){const r=e.uri;return this._worker(r).then(a=>a.findReferences(r.toString(),M(n))).then(a=>{if(!!a)return a.map(Be)})}},Jr=class{constructor(e){this._worker=e}provideRenameEdits(e,n,i,t){const r=e.uri;return this._worker(r).then(a=>a.doRename(r.toString(),M(n),i)).then(a=>mr(a))}};function mr(e){if(!e||!e.changes)return;let n=[];for(let i in e.changes){const t=l.Uri.parse(i);for(let r of e.changes[i])n.push({resource:t,edit:{range:S(r.range),text:r.newText}})}return{edits:n}}var _r=class{constructor(e){this._worker=e}provideDocumentSymbols(e,n){const i=e.uri;return this._worker(i).then(t=>t.findDocumentSymbols(i.toString())).then(t=>{if(!!t)return t.map(r=>({name:r.name,detail:\"\",containerName:r.containerName,kind:kr(r.kind),range:S(r.location.range),selectionRange:S(r.location.range),tags:[]}))})}};function kr(e){let n=l.languages.SymbolKind;switch(e){case m.File:return n.Array;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 Yr=class{constructor(e){this._worker=e}provideLinks(e,n){const i=e.uri;return this._worker(i).then(t=>t.findDocumentLinks(i.toString())).then(t=>{if(!!t)return{links:t.map(r=>({range:S(r.range),url:r.target}))}})}},wr=class{constructor(e){this._worker=e}provideDocumentFormattingEdits(e,n,i){const t=e.uri;return this._worker(t).then(r=>r.format(t.toString(),null,qe(n)).then(a=>{if(!(!a||a.length===0))return a.map(X)}))}},br=class{constructor(e){this._worker=e}provideDocumentRangeFormattingEdits(e,n,i,t){const r=e.uri;return this._worker(r).then(a=>a.format(r.toString(),ze(n),qe(i)).then(s=>{if(!(!s||s.length===0))return s.map(X)}))}};function qe(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var Cr=class{constructor(e){this._worker=e}provideDocumentColors(e,n){const i=e.uri;return this._worker(i).then(t=>t.findDocumentColors(i.toString())).then(t=>{if(!!t)return t.map(r=>({color:r.color,range:S(r.range)}))})}provideColorPresentations(e,n,i){const t=e.uri;return this._worker(t).then(r=>r.getColorPresentations(t.toString(),n.color,ze(n.range))).then(r=>{if(!!r)return r.map(a=>{let s={label:a.label};return a.textEdit&&(s.textEdit=X(a.textEdit)),a.additionalTextEdits&&(s.additionalTextEdits=a.additionalTextEdits.map(X)),s})})}},Er=class{constructor(e){this._worker=e}provideFoldingRanges(e,n,i){const t=e.uri;return this._worker(t).then(r=>r.getFoldingRanges(t.toString(),n)).then(r=>{if(!!r)return r.map(a=>{const s={start:a.startLine+1,end:a.endLine+1};return typeof a.kind!=\"undefined\"&&(s.kind=Ar(a.kind)),s})})}};function Ar(e){switch(e){case W.Comment:return l.languages.FoldingRangeKind.Comment;case W.Imports:return l.languages.FoldingRangeKind.Imports;case W.Region:return l.languages.FoldingRangeKind.Region}}var Sr=class{constructor(e){this._worker=e}provideSelectionRanges(e,n,i){const t=e.uri;return this._worker(t).then(r=>r.getSelectionRanges(t.toString(),n.map(M))).then(r=>{if(!!r)return r.map(a=>{const s=[];for(;a;)s.push({range:S(a.range)}),a=a.parent;return s})})}};function yr(e,n){n===void 0&&(n=!1);var i=e.length,t=0,r=\"\",a=0,s=16,u=0,c=0,d=0,v=0,g=0;function b(f,C){for(var y=0,E=0;y<f||!C;){var k=e.charCodeAt(t);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;t++,y++}return y<f&&(E=-1),E}function h(f){t=f,r=\"\",a=0,s=16,g=0}function I(){var f=t;if(e.charCodeAt(t)===48)t++;else for(t++;t<e.length&&D(e.charCodeAt(t));)t++;if(t<e.length&&e.charCodeAt(t)===46)if(t++,t<e.length&&D(e.charCodeAt(t)))for(t++;t<e.length&&D(e.charCodeAt(t));)t++;else return g=3,e.substring(f,t);var C=t;if(t<e.length&&(e.charCodeAt(t)===69||e.charCodeAt(t)===101))if(t++,(t<e.length&&e.charCodeAt(t)===43||e.charCodeAt(t)===45)&&t++,t<e.length&&D(e.charCodeAt(t))){for(t++;t<e.length&&D(e.charCodeAt(t));)t++;C=t}else g=3;return e.substring(f,C)}function R(){for(var f=\"\",C=t;;){if(t>=i){f+=e.substring(C,t),g=2;break}var y=e.charCodeAt(t);if(y===34){f+=e.substring(C,t),t++;break}if(y===92){if(f+=e.substring(C,t),t++,t>=i){g=2;break}var E=e.charCodeAt(t++);switch(E){case 34:f+='\"';break;case 92:f+=\"\\\\\";break;case 47:f+=\"/\";break;case 98:f+=\"\\b\";break;case 102:f+=\"\\f\";break;case 110:f+=`\n`;break;case 114:f+=\"\\r\";break;case 116:f+=\"\t\";break;case 117:var k=b(4,!0);k>=0?f+=String.fromCharCode(k):g=4;break;default:g=5}C=t;continue}if(y>=0&&y<=31)if(F(y)){f+=e.substring(C,t),g=2;break}else g=6;t++}return f}function x(){if(r=\"\",g=0,a=t,c=u,v=d,t>=i)return a=i,s=17;var f=e.charCodeAt(t);if(ee(f)){do t++,r+=String.fromCharCode(f),f=e.charCodeAt(t);while(ee(f));return s=15}if(F(f))return t++,r+=String.fromCharCode(f),f===13&&e.charCodeAt(t)===10&&(t++,r+=`\n`),u++,d=t,s=14;switch(f){case 123:return t++,s=1;case 125:return t++,s=2;case 91:return t++,s=3;case 93:return t++,s=4;case 58:return t++,s=6;case 44:return t++,s=5;case 34:return t++,r=R(),s=10;case 47:var C=t-1;if(e.charCodeAt(t+1)===47){for(t+=2;t<i&&!F(e.charCodeAt(t));)t++;return r=e.substring(C,t),s=12}if(e.charCodeAt(t+1)===42){t+=2;for(var y=i-1,E=!1;t<y;){var k=e.charCodeAt(t);if(k===42&&e.charCodeAt(t+1)===47){t+=2,E=!0;break}t++,F(k)&&(k===13&&e.charCodeAt(t)===10&&t++,u++,d=t)}return E||(t++,g=1),r=e.substring(C,t),s=13}return r+=String.fromCharCode(f),t++,s=16;case 45:if(r+=String.fromCharCode(f),t++,t===i||!D(e.charCodeAt(t)))return s=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return r+=I(),s=11;default:for(;t<i&&Je(f);)t++,f=e.charCodeAt(t);if(a!==t){switch(r=e.substring(a,t),r){case\"true\":return s=8;case\"false\":return s=9;case\"null\":return s=7}return s=16}return r+=String.fromCharCode(f),t++,s=16}}function Je(f){if(ee(f)||F(f))return!1;switch(f){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function Ye(){var f;do f=x();while(f>=12&&f<=15);return f}return{setPosition:h,getPosition:function(){return t},scan:n?Ye:x,getToken:function(){return s},getTokenValue:function(){return r},getTokenOffset:function(){return a},getTokenLength:function(){return t-a},getTokenStartLine:function(){return c},getTokenStartCharacter:function(){return a-v},getTokenError:function(){return g}}}function ee(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 F(e){return e===10||e===13||e===8232||e===8233}function D(e){return e>=48&&e<=57}var We;(function(e){e.DEFAULT={allowTrailingComma:!1}})(We||(We={}));var Ir=yr;function Tr(e){return{getInitialState:()=>new K(null,null,!1,null),tokenize:(n,i)=>Fr(e,n,i)}}var Ue=\"delimiter.bracket.json\",Ve=\"delimiter.array.json\",Pr=\"delimiter.colon.json\",Lr=\"delimiter.comma.json\",Mr=\"keyword.json\",Rr=\"keyword.json\",Dr=\"string.value.json\",Nr=\"number.json\",Or=\"string.key.json\",jr=\"comment.block.json\",xr=\"comment.line.json\",O=class{constructor(e,n){this.parent=e,this.type=n}static pop(e){return e?e.parent:null}static push(e,n){return new O(e,n)}static equals(e,n){if(!e&&!n)return!0;if(!e||!n)return!1;for(;e&&n;){if(e===n)return!0;if(e.type!==n.type)return!1;e=e.parent,n=n.parent}return!0}},K=class{constructor(e,n,i,t){A(this,\"_state\");A(this,\"scanError\");A(this,\"lastWasColon\");A(this,\"parents\");this._state=e,this.scanError=n,this.lastWasColon=i,this.parents=t}clone(){return new K(this._state,this.scanError,this.lastWasColon,this.parents)}equals(e){return e===this?!0:!e||!(e instanceof K)?!1:this.scanError===e.scanError&&this.lastWasColon===e.lastWasColon&&O.equals(this.parents,e.parents)}getStateData(){return this._state}setStateData(e){this._state=e}};function Fr(e,n,i,t=0){let r=0,a=!1;switch(i.scanError){case 2:n='\"'+n,r=1;break;case 1:n=\"/*\"+n,r=2;break}const s=Ir(n);let u=i.lastWasColon,c=i.parents;const d={tokens:[],endState:i.clone()};for(;;){let v=t+s.getPosition(),g=\"\";const b=s.scan();if(b===17)break;if(v===t+s.getPosition())throw new Error(\"Scanner did not advance, next 3 characters are: \"+n.substr(s.getPosition(),3));switch(a&&(v-=r),a=r>0,b){case 1:c=O.push(c,0),g=Ue,u=!1;break;case 2:c=O.pop(c),g=Ue,u=!1;break;case 3:c=O.push(c,1),g=Ve,u=!1;break;case 4:c=O.pop(c),g=Ve,u=!1;break;case 6:g=Pr,u=!0;break;case 5:g=Lr,u=!1;break;case 8:case 9:g=Mr,u=!1;break;case 7:g=Rr,u=!1;break;case 10:const I=(c?c.type:0)===1;g=u||I?Dr:Or,u=!1;break;case 11:g=Nr,u=!1;break}if(e)switch(b){case 12:g=xr;break;case 13:g=jr;break}d.endState=new K(i.getStateData(),s.getTokenError(),u,c),d.tokens.push({startIndex:v,scopes:g})}return d}var Wr=class extends sr{constructor(e,n,i){super(e,n,i.onDidChange),this._disposables.push(l.editor.onWillDisposeModel(t=>{this._resetSchema(t.uri)})),this._disposables.push(l.editor.onDidChangeModelLanguage(t=>{this._resetSchema(t.model.uri)}))}_resetSchema(e){this._worker().then(n=>{n.resetSchema(e.toString())})}};function $r(e){const n=[],i=[],t=new ir(e);n.push(t);const r=(...u)=>t.getLanguageServiceWorker(...u);function a(){const{languageId:u,modeConfiguration:c}=e;Xe(i),c.documentFormattingEdits&&i.push(l.languages.registerDocumentFormattingEditProvider(u,new wr(r))),c.documentRangeFormattingEdits&&i.push(l.languages.registerDocumentRangeFormattingEditProvider(u,new br(r))),c.completionItems&&i.push(l.languages.registerCompletionItemProvider(u,new cr(r,[\" \",\":\",'\"']))),c.hovers&&i.push(l.languages.registerHoverProvider(u,new gr(r))),c.documentSymbols&&i.push(l.languages.registerDocumentSymbolProvider(u,new _r(r))),c.tokens&&i.push(l.languages.setTokensProvider(u,Tr(!0))),c.colors&&i.push(l.languages.registerColorProvider(u,new Cr(r))),c.foldingRanges&&i.push(l.languages.registerFoldingRangeProvider(u,new Er(r))),c.diagnostics&&i.push(new Wr(u,r,e)),c.selectionRanges&&i.push(l.languages.registerSelectionRangeProvider(u,new Sr(r)))}a(),n.push(l.languages.setLanguageConfiguration(e.languageId,Ur));let s=e.modeConfiguration;return e.onDidChange(u=>{u.modeConfiguration!==s&&(s=u.modeConfiguration,a())}),n.push(He(i)),He(n)}function He(e){return{dispose:()=>Xe(e)}}function Xe(e){for(;e.length;)e.pop().dispose()}var Ur={wordPattern:/(-?\\d*\\.\\d\\w*)|([^\\[\\{\\]\\}\\:\\\"\\,\\s]+)/g,comments:{lineComment:\"//\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"]],autoClosingPairs:[{open:\"{\",close:\"}\",notIn:[\"string\"]},{open:\"[\",close:\"]\",notIn:[\"string\"]},{open:'\"',close:'\"',notIn:[\"string\"]}]};export{cr as CompletionAdapter,qr as DefinitionAdapter,sr as DiagnosticsAdapter,Cr as DocumentColorAdapter,wr as DocumentFormattingEditProvider,Br as DocumentHighlightAdapter,Yr as DocumentLinkAdapter,br as DocumentRangeFormattingEditProvider,_r as DocumentSymbolAdapter,Er as FoldingRangeAdapter,gr as HoverAdapter,Xr as ReferenceAdapter,Jr as RenameAdapter,Sr as SelectionRangeAdapter,ir as WorkerManager,M as fromPosition,ze as fromRange,$r as setupMode,S as toRange,X as toTextEdit};\n"
  },
  {
    "path": "client/dist/assets/julia.033b1357.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}]},t={tokenPostfix:\".julia\",keywords:[\"begin\",\"while\",\"if\",\"for\",\"try\",\"return\",\"break\",\"continue\",\"function\",\"macro\",\"quote\",\"let\",\"local\",\"global\",\"const\",\"do\",\"struct\",\"module\",\"baremodule\",\"using\",\"import\",\"export\",\"end\",\"else\",\"elseif\",\"catch\",\"finally\",\"mutable\",\"primitive\",\"abstract\",\"type\",\"in\",\"isa\",\"where\",\"new\"],types:[\"LinRange\",\"LineNumberNode\",\"LinearIndices\",\"LoadError\",\"MIME\",\"Matrix\",\"Method\",\"MethodError\",\"Missing\",\"MissingException\",\"Module\",\"NTuple\",\"NamedTuple\",\"Nothing\",\"Number\",\"OrdinalRange\",\"OutOfMemoryError\",\"OverflowError\",\"Pair\",\"PartialQuickSort\",\"PermutedDimsArray\",\"Pipe\",\"Ptr\",\"QuoteNode\",\"Rational\",\"RawFD\",\"ReadOnlyMemoryError\",\"Real\",\"ReentrantLock\",\"Ref\",\"Regex\",\"RegexMatch\",\"RoundingMode\",\"SegmentationFault\",\"Set\",\"Signed\",\"Some\",\"StackOverflowError\",\"StepRange\",\"StepRangeLen\",\"StridedArray\",\"StridedMatrix\",\"StridedVecOrMat\",\"StridedVector\",\"String\",\"StringIndexError\",\"SubArray\",\"SubString\",\"SubstitutionString\",\"Symbol\",\"SystemError\",\"Task\",\"Text\",\"TextDisplay\",\"Timer\",\"Tuple\",\"Type\",\"TypeError\",\"TypeVar\",\"UInt\",\"UInt128\",\"UInt16\",\"UInt32\",\"UInt64\",\"UInt8\",\"UndefInitializer\",\"AbstractArray\",\"UndefKeywordError\",\"AbstractChannel\",\"UndefRefError\",\"AbstractChar\",\"UndefVarError\",\"AbstractDict\",\"Union\",\"AbstractDisplay\",\"UnionAll\",\"AbstractFloat\",\"UnitRange\",\"AbstractIrrational\",\"Unsigned\",\"AbstractMatrix\",\"AbstractRange\",\"Val\",\"AbstractSet\",\"Vararg\",\"AbstractString\",\"VecElement\",\"AbstractUnitRange\",\"VecOrMat\",\"AbstractVecOrMat\",\"Vector\",\"AbstractVector\",\"VersionNumber\",\"Any\",\"WeakKeyDict\",\"ArgumentError\",\"WeakRef\",\"Array\",\"AssertionError\",\"BigFloat\",\"BigInt\",\"BitArray\",\"BitMatrix\",\"BitSet\",\"BitVector\",\"Bool\",\"BoundsError\",\"CapturedException\",\"CartesianIndex\",\"CartesianIndices\",\"Cchar\",\"Cdouble\",\"Cfloat\",\"Channel\",\"Char\",\"Cint\",\"Cintmax_t\",\"Clong\",\"Clonglong\",\"Cmd\",\"Colon\",\"Complex\",\"ComplexF16\",\"ComplexF32\",\"ComplexF64\",\"CompositeException\",\"Condition\",\"Cptrdiff_t\",\"Cshort\",\"Csize_t\",\"Cssize_t\",\"Cstring\",\"Cuchar\",\"Cuint\",\"Cuintmax_t\",\"Culong\",\"Culonglong\",\"Cushort\",\"Cvoid\",\"Cwchar_t\",\"Cwstring\",\"DataType\",\"DenseArray\",\"DenseMatrix\",\"DenseVecOrMat\",\"DenseVector\",\"Dict\",\"DimensionMismatch\",\"Dims\",\"DivideError\",\"DomainError\",\"EOFError\",\"Enum\",\"ErrorException\",\"Exception\",\"ExponentialBackOff\",\"Expr\",\"Float16\",\"Float32\",\"Float64\",\"Function\",\"GlobalRef\",\"HTML\",\"IO\",\"IOBuffer\",\"IOContext\",\"IOStream\",\"IdDict\",\"IndexCartesian\",\"IndexLinear\",\"IndexStyle\",\"InexactError\",\"InitError\",\"Int\",\"Int128\",\"Int16\",\"Int32\",\"Int64\",\"Int8\",\"Integer\",\"InterruptException\",\"InvalidStateException\",\"Irrational\",\"KeyError\"],keywordops:[\"<:\",\">:\",\":\",\"=>\",\"...\",\".\",\"->\",\"?\"],allops:/[^\\w\\d\\s()\\[\\]{}\"'#]+/,constants:[\"true\",\"false\",\"nothing\",\"missing\",\"undef\",\"Inf\",\"pi\",\"NaN\",\"\\u03C0\",\"\\u212F\",\"ans\",\"PROGRAM_FILE\",\"ARGS\",\"C_NULL\",\"VERSION\",\"DEPOT_PATH\",\"LOAD_PATH\"],operators:[\"!\",\"!=\",\"!==\",\"%\",\"&\",\"*\",\"+\",\"-\",\"/\",\"//\",\"<\",\"<<\",\"<=\",\"==\",\"===\",\"=>\",\">\",\">=\",\">>\",\">>>\",\"\\\\\",\"^\",\"|\",\"|>\",\"~\",\"\\xF7\",\"\\u2208\",\"\\u2209\",\"\\u220B\",\"\\u220C\",\"\\u2218\",\"\\u221A\",\"\\u221B\",\"\\u2229\",\"\\u222A\",\"\\u2248\",\"\\u2249\",\"\\u2260\",\"\\u2261\",\"\\u2262\",\"\\u2264\",\"\\u2265\",\"\\u2286\",\"\\u2287\",\"\\u2288\",\"\\u2289\",\"\\u228A\",\"\\u228B\",\"\\u22BB\"],brackets:[{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"},{open:\"{\",close:\"}\",token:\"delimiter.curly\"},{open:\"[\",close:\"]\",token:\"delimiter.square\"}],ident:/π|ℯ|\\b(?!\\d)\\w+\\b/,escape:/(?:[abefnrstv\\\\\"'\\n\\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,escapes:/\\\\(?:C\\-(@escape|.)|c(@escape|.)|@escape)/,tokenizer:{root:[[/(::)\\s*|\\b(isa)\\s+/,\"keyword\",\"@typeanno\"],[/\\b(isa)(\\s*\\(@ident\\s*,\\s*)/,[\"keyword\",{token:\"\",next:\"@typeanno\"}]],[/\\b(type|struct)[ \\t]+/,\"keyword\",\"@typeanno\"],[/^\\s*:@ident[!?]?/,\"metatag\"],[/(return)(\\s*:@ident[!?]?)/,[\"keyword\",\"metatag\"]],[/(\\(|\\[|\\{|@allops)(\\s*:@ident[!?]?)/,[\"\",\"metatag\"]],[/:\\(/,\"metatag\",\"@quote\"],[/r\"\"\"/,\"regexp.delim\",\"@tregexp\"],[/r\"/,\"regexp.delim\",\"@sregexp\"],[/raw\"\"\"/,\"string.delim\",\"@rtstring\"],[/[bv]?\"\"\"/,\"string.delim\",\"@dtstring\"],[/raw\"/,\"string.delim\",\"@rsstring\"],[/[bv]?\"/,\"string.delim\",\"@dsstring\"],[/(@ident)\\{/,{cases:{\"$1@types\":{token:\"type\",next:\"@gen\"},\"@default\":{token:\"type\",next:\"@gen\"}}}],[/@ident[!?'']?(?=\\.?\\()/,{cases:{\"@types\":\"type\",\"@keywords\":\"keyword\",\"@constants\":\"variable\",\"@default\":\"keyword.flow\"}}],[/@ident[!?']?/,{cases:{\"@types\":\"type\",\"@keywords\":\"keyword\",\"@constants\":\"variable\",\"@default\":\"identifier\"}}],[/\\$\\w+/,\"key\"],[/\\$\\(/,\"key\",\"@paste\"],[/@@@ident/,\"annotation\"],{include:\"@whitespace\"},[/'(?:@escapes|.)'/,\"string.character\"],[/[()\\[\\]{}]/,\"@brackets\"],[/@allops/,{cases:{\"@keywordops\":\"keyword\",\"@operators\":\"operator\"}}],[/[;,]/,\"delimiter\"],[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/,\"number.hex\"],[/0[_oO][0-7](_?[0-7])*/,\"number.octal\"],[/0[bB][01](_?[01])*/,\"number.binary\"],[/[+\\-]?\\d+(\\.\\d+)?(im?|[eE][+\\-]?\\d+(\\.\\d+)?)?/,\"number\"]],typeanno:[[/[a-zA-Z_]\\w*(?:\\.[a-zA-Z_]\\w*)*\\{/,\"type\",\"@gen\"],[/([a-zA-Z_]\\w*(?:\\.[a-zA-Z_]\\w*)*)(\\s*<:\\s*)/,[\"type\",\"keyword\"]],[/[a-zA-Z_]\\w*(?:\\.[a-zA-Z_]\\w*)*/,\"type\",\"@pop\"],[\"\",\"\",\"@pop\"]],gen:[[/[a-zA-Z_]\\w*(?:\\.[a-zA-Z_]\\w*)*\\{/,\"type\",\"@push\"],[/[a-zA-Z_]\\w*(?:\\.[a-zA-Z_]\\w*)*/,\"type\"],[/<:/,\"keyword\"],[/(\\})(\\s*<:\\s*)/,[\"type\",{token:\"keyword\",next:\"@pop\"}]],[/\\}/,\"type\",\"@pop\"],{include:\"@root\"}],quote:[[/\\$\\(/,\"key\",\"@paste\"],[/\\(/,\"@brackets\",\"@paren\"],[/\\)/,\"metatag\",\"@pop\"],{include:\"@root\"}],paste:[[/:\\(/,\"metatag\",\"@quote\"],[/\\(/,\"@brackets\",\"@paren\"],[/\\)/,\"key\",\"@pop\"],{include:\"@root\"}],paren:[[/\\$\\(/,\"key\",\"@paste\"],[/:\\(/,\"metatag\",\"@quote\"],[/\\(/,\"@brackets\",\"@push\"],[/\\)/,\"@brackets\",\"@pop\"],{include:\"@root\"}],sregexp:[[/^.*/,\"invalid\"],[/[^\\\\\"()\\[\\]{}]/,\"regexp\"],[/[()\\[\\]{}]/,\"@brackets\"],[/\\\\./,\"operator.scss\"],[/\"[imsx]*/,\"regexp.delim\",\"@pop\"]],tregexp:[[/[^\\\\\"()\\[\\]{}]/,\"regexp\"],[/[()\\[\\]{}]/,\"@brackets\"],[/\\\\./,\"operator.scss\"],[/\"(?!\"\")/,\"string\"],[/\"\"\"[imsx]*/,\"regexp.delim\",\"@pop\"]],rsstring:[[/^.*/,\"invalid\"],[/[^\\\\\"]/,\"string\"],[/\\\\./,\"string.escape\"],[/\"/,\"string.delim\",\"@pop\"]],rtstring:[[/[^\\\\\"]/,\"string\"],[/\\\\./,\"string.escape\"],[/\"(?!\"\")/,\"string\"],[/\"\"\"/,\"string.delim\",\"@pop\"]],dsstring:[[/^.*/,\"invalid\"],[/[^\\\\\"\\$]/,\"string\"],[/\\$/,\"\",\"@interpolated\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"/,\"string.delim\",\"@pop\"]],dtstring:[[/[^\\\\\"\\$]/,\"string\"],[/\\$/,\"\",\"@interpolated\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"(?!\"\")/,\"string\"],[/\"\"\"/,\"string.delim\",\"@pop\"]],interpolated:[[/\\(/,{token:\"\",switchTo:\"@interpolated_compound\"}],[/[a-zA-Z_]\\w*/,\"identifier\"],[\"\",\"\",\"@pop\"]],interpolated_compound:[[/\\)/,\"\",\"@pop\"],{include:\"@root\"}],whitespace:[[/[ \\t\\r\\n]+/,\"\"],[/#=/,\"comment\",\"@multi_comment\"],[/#.*$/,\"comment\"]],multi_comment:[[/#=/,\"comment\",\"@push\"],[/=#/,\"comment\",\"@pop\"],[/=(?!#)|#(?!=)/,\"comment\"],[/[^#=]+/,\"comment\"]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/kotlin.f702729c.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={wordPattern:/(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)/g,comments:{lineComment:\"//\",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:\">\"}],folding:{markers:{start:new RegExp(\"^\\\\s*//\\\\s*(?:(?:#?region\\\\b)|(?:<editor-fold\\\\b))\"),end:new RegExp(\"^\\\\s*//\\\\s*(?:(?:#?endregion\\\\b)|(?:</editor-fold>))\")}}},t={defaultToken:\"\",tokenPostfix:\".kt\",keywords:[\"as\",\"as?\",\"break\",\"class\",\"continue\",\"do\",\"else\",\"false\",\"for\",\"fun\",\"if\",\"in\",\"!in\",\"interface\",\"is\",\"!is\",\"null\",\"object\",\"package\",\"return\",\"super\",\"this\",\"throw\",\"true\",\"try\",\"typealias\",\"val\",\"var\",\"when\",\"while\",\"by\",\"catch\",\"constructor\",\"delegate\",\"dynamic\",\"field\",\"file\",\"finally\",\"get\",\"import\",\"init\",\"param\",\"property\",\"receiver\",\"set\",\"setparam\",\"where\",\"actual\",\"abstract\",\"annotation\",\"companion\",\"const\",\"crossinline\",\"data\",\"enum\",\"expect\",\"external\",\"final\",\"infix\",\"inline\",\"inner\",\"internal\",\"lateinit\",\"noinline\",\"open\",\"operator\",\"out\",\"override\",\"private\",\"protected\",\"public\",\"reified\",\"sealed\",\"suspend\",\"tailrec\",\"vararg\",\"field\",\"it\"],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]+)*/,tokenizer:{root:[[/[A-Z][\\w\\$]*/,\"type.identifier\"],[/[a-zA-Z_$][\\w$]*/,{cases:{\"@keywords\":{token:\"keyword.$0\"},\"@default\":\"identifier\"}}],{include:\"@whitespace\"},[/[{}()\\[\\]]/,\"@brackets\"],[/[<>](?!@symbols)/,\"@brackets\"],[/@symbols/,{cases:{\"@operators\":\"delimiter\",\"@default\":\"\"}}],[/@\\s*[a-zA-Z_\\$][\\w\\$]*/,\"annotation\"],[/(@digits)[eE]([\\-+]?(@digits))?[fFdD]?/,\"number.float\"],[/(@digits)\\.(@digits)([eE][\\-+]?(@digits))?[fFdD]?/,\"number.float\"],[/0[xX](@hexdigits)[Ll]?/,\"number.hex\"],[/0(@octaldigits)[Ll]?/,\"number.octal\"],[/0[bB](@binarydigits)[Ll]?/,\"number.binary\"],[/(@digits)[fFdD]/,\"number.float\"],[/(@digits)[lL]?/,\"number\"],[/[;,.]/,\"delimiter\"],[/\"([^\"\\\\]|\\\\.)*$/,\"string.invalid\"],[/\"\"\"/,\"string\",\"@multistring\"],[/\"/,\"string\",\"@string\"],[/'[^\\\\']'/,\"string\"],[/(')(@escapes)(')/,[\"string\",\"string.escape\",\"string\"]],[/'/,\"string.invalid\"]],whitespace:[[/[ \\t\\r\\n]+/,\"\"],[/\\/\\*\\*(?!\\/)/,\"comment.doc\",\"@javadoc\"],[/\\/\\*/,\"comment\",\"@comment\"],[/\\/\\/.*$/,\"comment\"]],comment:[[/[^\\/*]+/,\"comment\"],[/\\/\\*/,\"comment\",\"@comment\"],[/\\*\\//,\"comment\",\"@pop\"],[/[\\/*]/,\"comment\"]],javadoc:[[/[^\\/*]+/,\"comment.doc\"],[/\\/\\*/,\"comment.doc\",\"@push\"],[/\\/\\*/,\"comment.doc.invalid\"],[/\\*\\//,\"comment.doc\",\"@pop\"],[/[\\/*]/,\"comment.doc\"]],string:[[/[^\\\\\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"/,\"string\",\"@pop\"]],multistring:[[/[^\\\\\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"\"\"/,\"string\",\"@pop\"],[/./,\"string\"]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/less.ca69536d.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\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:[\"/*\",\"*/\"],lineComment:\"//\"},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:\".less\",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])))*\",identifierPlus:\"-?-?([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.curly\"},{open:\"[\",close:\"]\",token:\"delimiter.bracket\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"},{open:\"<\",close:\">\",token:\"delimiter.angle\"}],tokenizer:{root:[{include:\"@nestedJSBegin\"},[\"[ \\\\t\\\\r\\\\n]+\",\"\"],{include:\"@comments\"},{include:\"@keyword\"},{include:\"@strings\"},{include:\"@numbers\"},[\"[*_]?[a-zA-Z\\\\-\\\\s]+(?=:.*(;|(\\\\\\\\$)))\",\"attribute.name\",\"@attribute\"],[\"url(\\\\-prefix)?\\\\(\",{token:\"tag\",next:\"@urldeclaration\"}],[\"[{}()\\\\[\\\\]]\",\"@brackets\"],[\"[,:;]\",\"delimiter\"],[\"#@identifierPlus\",\"tag.id\"],[\"&\",\"tag\"],[\"\\\\.@identifierPlus(?=\\\\()\",\"tag.class\",\"@attribute\"],[\"\\\\.@identifierPlus\",\"tag.class\"],[\"@identifierPlus\",\"tag\"],{include:\"@operators\"},[\"@(@identifier(?=[:,\\\\)]))\",\"variable\",\"@attribute\"],[\"@(@identifier)\",\"variable\"],[\"@\",\"key\",\"@atRules\"]],nestedJSBegin:[[\"``\",\"delimiter.backtick\"],[\"`\",{token:\"delimiter.backtick\",next:\"@nestedJSEnd\",nextEmbedded:\"text/javascript\"}]],nestedJSEnd:[[\"`\",{token:\"delimiter.backtick\",next:\"@pop\",nextEmbedded:\"@pop\"}]],operators:[[\"[<>=\\\\+\\\\-\\\\*\\\\/\\\\^\\\\|\\\\~]\",\"operator\"]],keyword:[[\"(@[\\\\s]*import|![\\\\s]*important|true|false|when|iscolor|isnumber|isstring|iskeyword|isurl|ispixel|ispercentage|isem|hue|saturation|lightness|alpha|lighten|darken|saturate|desaturate|fadein|fadeout|fade|spin|mix|round|ceil|floor|percentage)\\\\b\",\"keyword\"]],urldeclaration:[{include:\"@strings\"},[`[^)\\r\n]+`,\"string\"],[\"\\\\)\",{token:\"tag\",next:\"@pop\"}]],attribute:[{include:\"@nestedJSBegin\"},{include:\"@comments\"},{include:\"@strings\"},{include:\"@numbers\"},{include:\"@keyword\"},[\"[a-zA-Z\\\\-]+(?=\\\\()\",\"attribute.value\",\"@attribute\"],[\">\",\"operator\",\"@pop\"],[\"@identifier\",\"attribute.value\"],{include:\"@operators\"},[\"@(@identifier)\",\"variable\"],[\"[)\\\\}]\",\"@brackets\",\"@pop\"],[\"[{}()\\\\[\\\\]>]\",\"@brackets\"],[\"[;]\",\"delimiter\",\"@pop\"],[\"[,=:]\",\"delimiter\"],[\"\\\\s\",\"\"],[\".\",\"attribute.value\"]],comments:[[\"\\\\/\\\\*\",\"comment\",\"@comment\"],[\"\\\\/\\\\/+.*\",\"comment\"]],comment:[[\"\\\\*\\\\/\",\"comment\",\"@pop\"],[\".\",\"comment\"]],numbers:[[\"(\\\\d*\\\\.)?\\\\d+([eE][\\\\-+]?\\\\d+)?\",{token:\"attribute.value.number\",next:\"@units\"}],[\"#[0-9a-fA-F_]+(?!\\\\w)\",\"attribute.value.hex\"]],units:[[\"(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?\",\"attribute.value.unit\",\"@pop\"]],strings:[['~?\"',{token:\"string.delimiter\",next:\"@stringsEndDoubleQuote\"}],[\"~?'\",{token:\"string.delimiter\",next:\"@stringsEndQuote\"}]],stringsEndDoubleQuote:[['\\\\\\\\\"',\"string\"],['\"',{token:\"string.delimiter\",next:\"@popall\"}],[\".\",\"string\"]],stringsEndQuote:[[\"\\\\\\\\'\",\"string\"],[\"'\",{token:\"string.delimiter\",next:\"@popall\"}],[\".\",\"string\"]],atRules:[{include:\"@comments\"},{include:\"@strings\"},[\"[()]\",\"delimiter\"],[\"[\\\\{;]\",\"delimiter\",\"@pop\"],[\".\",\"key\"]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/lexon.98577e19.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"COMMENT\"},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:\"'\"},{open:\":\",close:\".\"}],folding:{markers:{start:new RegExp(\"^\\\\s*(::\\\\s*|COMMENT\\\\s+)#region\"),end:new RegExp(\"^\\\\s*(::\\\\s*|COMMENT\\\\s+)#endregion\")}}},t={tokenPostfix:\".lexon\",ignoreCase:!0,keywords:[\"lexon\",\"lex\",\"clause\",\"terms\",\"contracts\",\"may\",\"pay\",\"pays\",\"appoints\",\"into\",\"to\"],typeKeywords:[\"amount\",\"person\",\"key\",\"time\",\"date\",\"asset\",\"text\"],operators:[\"less\",\"greater\",\"equal\",\"le\",\"gt\",\"or\",\"and\",\"add\",\"added\",\"subtract\",\"subtracted\",\"multiply\",\"multiplied\",\"times\",\"divide\",\"divided\",\"is\",\"be\",\"certified\"],symbols:/[=><!~?:&|+\\-*\\/\\^%]+/,tokenizer:{root:[[/^(\\s*)(comment:?(?:\\s.*|))$/,[\"\",\"comment\"]],[/\"/,{token:\"identifier.quote\",bracket:\"@open\",next:\"@quoted_identifier\"}],[\"LEX$\",{token:\"keyword\",bracket:\"@open\",next:\"@identifier_until_period\"}],[\"LEXON\",{token:\"keyword\",bracket:\"@open\",next:\"@semver\"}],[\":\",{token:\"delimiter\",bracket:\"@open\",next:\"@identifier_until_period\"}],[/[a-z_$][\\w$]*/,{cases:{\"@operators\":\"operator\",\"@typeKeywords\":\"keyword.type\",\"@keywords\":\"keyword\",\"@default\":\"identifier\"}}],{include:\"@whitespace\"},[/[{}()\\[\\]]/,\"@brackets\"],[/[<>](?!@symbols)/,\"@brackets\"],[/@symbols/,\"delimiter\"],[/\\d*\\.\\d*\\.\\d*/,\"number.semver\"],[/\\d*\\.\\d+([eE][\\-+]?\\d+)?/,\"number.float\"],[/0[xX][0-9a-fA-F]+/,\"number.hex\"],[/\\d+/,\"number\"],[/[;,.]/,\"delimiter\"]],quoted_identifier:[[/[^\\\\\"]+/,\"identifier\"],[/\"/,{token:\"identifier.quote\",bracket:\"@close\",next:\"@pop\"}]],space_identifier_until_period:[[\":\",\"delimiter\"],[\" \",{token:\"white\",next:\"@identifier_rest\"}]],identifier_until_period:[{include:\"@whitespace\"},[\":\",{token:\"delimiter\",next:\"@identifier_rest\"}],[/[^\\\\.]+/,\"identifier\"],[/\\./,{token:\"delimiter\",bracket:\"@close\",next:\"@pop\"}]],identifier_rest:[[/[^\\\\.]+/,\"identifier\"],[/\\./,{token:\"delimiter\",bracket:\"@close\",next:\"@pop\"}]],semver:[{include:\"@whitespace\"},[\":\",\"delimiter\"],[/\\d*\\.\\d*\\.\\d*/,{token:\"number.semver\",bracket:\"@close\",next:\"@pop\"}]],whitespace:[[/[ \\t\\r\\n]+/,\"white\"]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/liquid.c793915f.js",
    "content": "import{m as l}from\"./HMonacoEditor.4fbcd301.js\";import\"./index.becaf6b8.js\";/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var s=Object.defineProperty,d=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,u=Object.prototype.hasOwnProperty,m=(i,e,a,o)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let t of c(e))!u.call(i,t)&&(a||t!==\"default\")&&s(i,t,{get:()=>e[t],enumerable:!(o=d(e,t))||o.enumerable});return i},r={};m(r,l);var n=[\"area\",\"base\",\"br\",\"col\",\"embed\",\"hr\",\"img\",\"input\",\"keygen\",\"link\",\"menuitem\",\"meta\",\"param\",\"source\",\"track\",\"wbr\"],f={wordPattern:/(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\$\\^\\&\\*\\(\\)\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\s]+)/g,brackets:[[\"<!--\",\"-->\"],[\"<\",\">\"],[\"{{\",\"}}\"],[\"{%\",\"%}\"],[\"{\",\"}\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"%\",close:\"%\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],surroundingPairs:[{open:\"<\",close:\">\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${n.join(\"|\")}))(\\\\w[\\\\w\\\\d]*)([^/>]*(?!/)>)[^<]*$`,\"i\"),afterText:/^<\\/(\\w[\\w\\d]*)\\s*>$/i,action:{indentAction:r.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${n.join(\"|\")}))(\\\\w[\\\\w\\\\d]*)([^/>]*(?!/)>)[^<]*$`,\"i\"),action:{indentAction:r.languages.IndentAction.Indent}}]},g={defaultToken:\"\",tokenPostfix:\"\",builtinTags:[\"if\",\"else\",\"elseif\",\"endif\",\"render\",\"assign\",\"capture\",\"endcapture\",\"case\",\"endcase\",\"comment\",\"endcomment\",\"cycle\",\"decrement\",\"for\",\"endfor\",\"include\",\"increment\",\"layout\",\"raw\",\"endraw\",\"render\",\"tablerow\",\"endtablerow\",\"unless\",\"endunless\"],builtinFilters:[\"abs\",\"append\",\"at_least\",\"at_most\",\"capitalize\",\"ceil\",\"compact\",\"date\",\"default\",\"divided_by\",\"downcase\",\"escape\",\"escape_once\",\"first\",\"floor\",\"join\",\"json\",\"last\",\"lstrip\",\"map\",\"minus\",\"modulo\",\"newline_to_br\",\"plus\",\"prepend\",\"remove\",\"remove_first\",\"replace\",\"replace_first\",\"reverse\",\"round\",\"rstrip\",\"size\",\"slice\",\"sort\",\"sort_natural\",\"split\",\"strip\",\"strip_html\",\"strip_newlines\",\"times\",\"truncate\",\"truncatewords\",\"uniq\",\"upcase\",\"url_decode\",\"url_encode\",\"where\"],constants:[\"true\",\"false\"],operators:[\"==\",\"!=\",\">\",\"<\",\">=\",\"<=\"],symbol:/[=><!]+/,identifier:/[a-zA-Z_][\\w]*/,tokenizer:{root:[[/\\{\\%\\s*comment\\s*\\%\\}/,\"comment.start.liquid\",\"@comment\"],[/\\{\\{/,{token:\"@rematch\",switchTo:\"@liquidState.root\"}],[/\\{\\%/,{token:\"@rematch\",switchTo:\"@liquidState.root\"}],[/(<)([\\w\\-]+)(\\/>)/,[\"delimiter.html\",\"tag.html\",\"delimiter.html\"]],[/(<)([:\\w]+)/,[\"delimiter.html\",{token:\"tag.html\",next:\"@otherTag\"}]],[/(<\\/)([\\w\\-]+)/,[\"delimiter.html\",{token:\"tag.html\",next:\"@otherTag\"}]],[/</,\"delimiter.html\"],[/\\{/,\"delimiter.html\"],[/[^<{]+/]],comment:[[/\\{\\%\\s*endcomment\\s*\\%\\}/,\"comment.end.liquid\",\"@pop\"],[/./,\"comment.content.liquid\"]],otherTag:[[/\\{\\{/,{token:\"@rematch\",switchTo:\"@liquidState.otherTag\"}],[/\\{\\%/,{token:\"@rematch\",switchTo:\"@liquidState.otherTag\"}],[/\\/?>/,\"delimiter.html\",\"@pop\"],[/\"([^\"]*)\"/,\"attribute.value\"],[/'([^']*)'/,\"attribute.value\"],[/[\\w\\-]+/,\"attribute.name\"],[/=/,\"delimiter\"],[/[ \\t\\r\\n]+/]],liquidState:[[/\\{\\{/,\"delimiter.output.liquid\"],[/\\}\\}/,{token:\"delimiter.output.liquid\",switchTo:\"@$S2.$S3\"}],[/\\{\\%/,\"delimiter.tag.liquid\"],[/raw\\s*\\%\\}/,\"delimiter.tag.liquid\",\"@liquidRaw\"],[/\\%\\}/,{token:\"delimiter.tag.liquid\",switchTo:\"@$S2.$S3\"}],{include:\"liquidRoot\"}],liquidRaw:[[/^(?!\\{\\%\\s*endraw\\s*\\%\\}).+/],[/\\{\\%/,\"delimiter.tag.liquid\"],[/@identifier/],[/\\%\\}/,{token:\"delimiter.tag.liquid\",next:\"@root\"}]],liquidRoot:[[/\\d+(\\.\\d+)?/,\"number.liquid\"],[/\"[^\"]*\"/,\"string.liquid\"],[/'[^']*'/,\"string.liquid\"],[/\\s+/],[/@symbol/,{cases:{\"@operators\":\"operator.liquid\",\"@default\":\"\"}}],[/\\./],[/@identifier/,{cases:{\"@constants\":\"keyword.liquid\",\"@builtinFilters\":\"predefined.liquid\",\"@builtinTags\":\"predefined.liquid\",\"@default\":\"variable.liquid\"}}],[/[^}|%]/,\"variable.liquid\"]]}};export{f as conf,g as language};\n"
  },
  {
    "path": "client/dist/assets/logo.0fab0ac6.js",
    "content": "var o=\"/assets/logo.beab80d9.svg\";export{o as l};\n"
  },
  {
    "path": "client/dist/assets/lua.fdd96ef3.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"--\",blockComment:[\"--[[\",\"]]\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}]},o={defaultToken:\"\",tokenPostfix:\".lua\",keywords:[\"and\",\"break\",\"do\",\"else\",\"elseif\",\"end\",\"false\",\"for\",\"function\",\"goto\",\"if\",\"in\",\"local\",\"nil\",\"not\",\"or\",\"repeat\",\"return\",\"then\",\"true\",\"until\",\"while\"],brackets:[{token:\"delimiter.bracket\",open:\"{\",close:\"}\"},{token:\"delimiter.array\",open:\"[\",close:\"]\"},{token:\"delimiter.parenthesis\",open:\"(\",close:\")\"}],operators:[\"+\",\"-\",\"*\",\"/\",\"%\",\"^\",\"#\",\"==\",\"~=\",\"<=\",\">=\",\"<\",\">\",\"=\",\";\",\":\",\",\",\".\",\"..\",\"...\"],symbols:/[=><!~?:&|+\\-*\\/\\^%]+/,escapes:/\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\\w*/,{cases:{\"@keywords\":{token:\"keyword.$0\"},\"@default\":\"identifier\"}}],{include:\"@whitespace\"},[/(,)(\\s*)([a-zA-Z_]\\w*)(\\s*)(:)(?!:)/,[\"delimiter\",\"\",\"key\",\"\",\"delimiter\"]],[/({)(\\s*)([a-zA-Z_]\\w*)(\\s*)(:)(?!:)/,[\"@brackets\",\"\",\"key\",\"\",\"delimiter\"]],[/[{}()\\[\\]]/,\"@brackets\"],[/@symbols/,{cases:{\"@operators\":\"delimiter\",\"@default\":\"\"}}],[/\\d*\\.\\d+([eE][\\-+]?\\d+)?/,\"number.float\"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,\"number.hex\"],[/\\d+?/,\"number\"],[/[;,.]/,\"delimiter\"],[/\"([^\"\\\\]|\\\\.)*$/,\"string.invalid\"],[/'([^'\\\\]|\\\\.)*$/,\"string.invalid\"],[/\"/,\"string\",'@string.\"'],[/'/,\"string\",\"@string.'\"]],whitespace:[[/[ \\t\\r\\n]+/,\"\"],[/--\\[([=]*)\\[/,\"comment\",\"@comment.$1\"],[/--.*$/,\"comment\"]],comment:[[/[^\\]]+/,\"comment\"],[/\\]([=]*)\\]/,{cases:{\"$1==$S2\":{token:\"comment\",next:\"@pop\"},\"@default\":\"comment\"}}],[/./,\"comment\"]],string:[[/[^\\\\\"']+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/[\"']/,{cases:{\"$#==$S2\":{token:\"string\",next:\"@pop\"},\"@default\":\"string\"}}]]}};export{e as conf,o as language};\n"
  },
  {
    "path": "client/dist/assets/m3.696565eb.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\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:\"*)\"},{open:\"<*\",close:\"*>\"},{open:\"'\",close:\"'\",notIn:[\"string\",\"comment\"]},{open:'\"',close:'\"',notIn:[\"string\",\"comment\"]}]},o={defaultToken:\"\",tokenPostfix:\".m3\",brackets:[{token:\"delimiter.curly\",open:\"{\",close:\"}\"},{token:\"delimiter.parenthesis\",open:\"(\",close:\")\"},{token:\"delimiter.square\",open:\"[\",close:\"]\"}],keywords:[\"AND\",\"ANY\",\"ARRAY\",\"AS\",\"BEGIN\",\"BITS\",\"BRANDED\",\"BY\",\"CASE\",\"CONST\",\"DIV\",\"DO\",\"ELSE\",\"ELSIF\",\"END\",\"EVAL\",\"EXCEPT\",\"EXCEPTION\",\"EXIT\",\"EXPORTS\",\"FINALLY\",\"FOR\",\"FROM\",\"GENERIC\",\"IF\",\"IMPORT\",\"IN\",\"INTERFACE\",\"LOCK\",\"LOOP\",\"METHODS\",\"MOD\",\"MODULE\",\"NOT\",\"OBJECT\",\"OF\",\"OR\",\"OVERRIDES\",\"PROCEDURE\",\"RAISE\",\"RAISES\",\"READONLY\",\"RECORD\",\"REF\",\"REPEAT\",\"RETURN\",\"REVEAL\",\"SET\",\"THEN\",\"TO\",\"TRY\",\"TYPE\",\"TYPECASE\",\"UNSAFE\",\"UNTIL\",\"UNTRACED\",\"VALUE\",\"VAR\",\"WHILE\",\"WITH\"],reservedConstNames:[\"ABS\",\"ADR\",\"ADRSIZE\",\"BITSIZE\",\"BYTESIZE\",\"CEILING\",\"DEC\",\"DISPOSE\",\"FALSE\",\"FIRST\",\"FLOAT\",\"FLOOR\",\"INC\",\"ISTYPE\",\"LAST\",\"LOOPHOLE\",\"MAX\",\"MIN\",\"NARROW\",\"NEW\",\"NIL\",\"NUMBER\",\"ORD\",\"ROUND\",\"SUBARRAY\",\"TRUE\",\"TRUNC\",\"TYPECODE\",\"VAL\"],reservedTypeNames:[\"ADDRESS\",\"ANY\",\"BOOLEAN\",\"CARDINAL\",\"CHAR\",\"EXTENDED\",\"INTEGER\",\"LONGCARD\",\"LONGINT\",\"LONGREAL\",\"MUTEX\",\"NULL\",\"REAL\",\"REFANY\",\"ROOT\",\"TEXT\"],operators:[\"+\",\"-\",\"*\",\"/\",\"&\",\"^\",\".\"],relations:[\"=\",\"#\",\"<\",\"<=\",\">\",\">=\",\"<:\",\":\"],delimiters:[\"|\",\"..\",\"=>\",\",\",\";\",\":=\"],symbols:/[>=<#.,:;+\\-*/&^]+/,escapes:/\\\\(?:[\\\\fnrt\"']|[0-7]{3})/,tokenizer:{root:[[/_\\w*/,\"invalid\"],[/[a-zA-Z][a-zA-Z0-9_]*/,{cases:{\"@keywords\":{token:\"keyword.$0\"},\"@reservedConstNames\":{token:\"constant.reserved.$0\"},\"@reservedTypeNames\":{token:\"type.reserved.$0\"},\"@default\":\"identifier\"}}],{include:\"@whitespace\"},[/[{}()\\[\\]]/,\"@brackets\"],[/[0-9]+\\.[0-9]+(?:[DdEeXx][\\+\\-]?[0-9]+)?/,\"number.float\"],[/[0-9]+(?:\\_[0-9a-fA-F]+)?L?/,\"number\"],[/@symbols/,{cases:{\"@operators\":\"operators\",\"@relations\":\"operators\",\"@delimiters\":\"delimiter\",\"@default\":\"invalid\"}}],[/'[^\\\\']'/,\"string.char\"],[/(')(@escapes)(')/,[\"string.char\",\"string.escape\",\"string.char\"]],[/'/,\"invalid\"],[/\"([^\"\\\\]|\\\\.)*$/,\"invalid\"],[/\"/,\"string.text\",\"@text\"]],text:[[/[^\\\\\"]+/,\"string.text\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"invalid\"],[/\"/,\"string.text\",\"@pop\"]],comment:[[/\\(\\*/,\"comment\",\"@push\"],[/\\*\\)/,\"comment\",\"@pop\"],[/./,\"comment\"]],pragma:[[/<\\*/,\"keyword.pragma\",\"@push\"],[/\\*>/,\"keyword.pragma\",\"@pop\"],[/./,\"keyword.pragma\"]],whitespace:[[/[ \\t\\r\\n]+/,\"white\"],[/\\(\\*/,\"comment\",\"@comment\"],[/<\\*/,\"keyword.pragma\",\"@pragma\"]]}};export{e as conf,o as language};\n"
  },
  {
    "path": "client/dist/assets/markdown.c830577a.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\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": "client/dist/assets/mips.5568383b.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={wordPattern:/(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#%\\^\\&\\*\\(\\)\\=\\$\\-\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)/g,comments:{blockComment:[\"###\",\"###\"],lineComment:\"#\"},folding:{markers:{start:new RegExp(\"^\\\\s*#region\\\\b\"),end:new RegExp(\"^\\\\s*#endregion\\\\b\")}}},t={defaultToken:\"\",ignoreCase:!1,tokenPostfix:\".mips\",regEx:/\\/(?!\\/\\/)(?:[^\\/\\\\]|\\\\.)*\\/[igm]*/,keywords:[\".data\",\".text\",\"syscall\",\"trap\",\"add\",\"addu\",\"addi\",\"addiu\",\"and\",\"andi\",\"div\",\"divu\",\"mult\",\"multu\",\"nor\",\"or\",\"ori\",\"sll\",\"slv\",\"sra\",\"srav\",\"srl\",\"srlv\",\"sub\",\"subu\",\"xor\",\"xori\",\"lhi\",\"lho\",\"lhi\",\"llo\",\"slt\",\"slti\",\"sltu\",\"sltiu\",\"beq\",\"bgtz\",\"blez\",\"bne\",\"j\",\"jal\",\"jalr\",\"jr\",\"lb\",\"lbu\",\"lh\",\"lhu\",\"lw\",\"li\",\"la\",\"sb\",\"sh\",\"sw\",\"mfhi\",\"mflo\",\"mthi\",\"mtlo\",\"move\"],symbols:/[\\.,\\:]+/,escapes:/\\\\(?:[abfnrtv\\\\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\\$[a-zA-Z_]\\w*/,\"variable.predefined\"],[/[.a-zA-Z_]\\w*/,{cases:{this:\"variable.predefined\",\"@keywords\":{token:\"keyword.$0\"},\"@default\":\"\"}}],[/[ \\t\\r\\n]+/,\"\"],[/#.*$/,\"comment\"],[\"///\",{token:\"regexp\",next:\"@hereregexp\"}],[/^(\\s*)(@regEx)/,[\"\",\"regexp\"]],[/(\\,)(\\s*)(@regEx)/,[\"delimiter\",\"\",\"regexp\"]],[/(\\:)(\\s*)(@regEx)/,[\"delimiter\",\"\",\"regexp\"]],[/@symbols/,\"delimiter\"],[/\\d+[eE]([\\-+]?\\d+)?/,\"number.float\"],[/\\d+\\.\\d+([eE][\\-+]?\\d+)?/,\"number.float\"],[/0[xX][0-9a-fA-F]+/,\"number.hex\"],[/0[0-7]+(?!\\d)/,\"number.octal\"],[/\\d+/,\"number\"],[/[,.]/,\"delimiter\"],[/\"\"\"/,\"string\",'@herestring.\"\"\"'],[/'''/,\"string\",\"@herestring.'''\"],[/\"/,{cases:{\"@eos\":\"string\",\"@default\":{token:\"string\",next:'@string.\"'}}}],[/'/,{cases:{\"@eos\":\"string\",\"@default\":{token:\"string\",next:\"@string.'\"}}}]],string:[[/[^\"'\\#\\\\]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\./,\"string.escape.invalid\"],[/\\./,\"string.escape.invalid\"],[/#{/,{cases:{'$S2==\"':{token:\"string\",next:\"root.interpolatedstring\"},\"@default\":\"string\"}}],[/[\"']/,{cases:{\"$#==$S2\":{token:\"string\",next:\"@pop\"},\"@default\":\"string\"}}],[/#/,\"string\"]],herestring:[[/(\"\"\"|''')/,{cases:{\"$1==$S2\":{token:\"string\",next:\"@pop\"},\"@default\":\"string\"}}],[/[^#\\\\'\"]+/,\"string\"],[/['\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\./,\"string.escape.invalid\"],[/#{/,{token:\"string.quote\",next:\"root.interpolatedstring\"}],[/#/,\"string\"]],comment:[[/[^#]+/,\"comment\"],[/#/,\"comment\"]],hereregexp:[[/[^\\\\\\/#]+/,\"regexp\"],[/\\\\./,\"regexp\"],[/#.*$/,\"comment\"],[\"///[igm]*\",{token:\"regexp\",next:\"@pop\"}],[/\\//,\"regexp\"]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/msdax.07a600d0.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var E={comments:{lineComment:\"//\",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\"]}]},T={defaultToken:\"\",tokenPostfix:\".msdax\",ignoreCase:!0,brackets:[{open:\"[\",close:\"]\",token:\"delimiter.square\"},{open:\"{\",close:\"}\",token:\"delimiter.brackets\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"}],keywords:[\"VAR\",\"RETURN\",\"NOT\",\"EVALUATE\",\"DATATABLE\",\"ORDER\",\"BY\",\"START\",\"AT\",\"DEFINE\",\"MEASURE\",\"ASC\",\"DESC\",\"IN\",\"BOOLEAN\",\"DOUBLE\",\"INTEGER\",\"DATETIME\",\"CURRENCY\",\"STRING\"],functions:[\"CLOSINGBALANCEMONTH\",\"CLOSINGBALANCEQUARTER\",\"CLOSINGBALANCEYEAR\",\"DATEADD\",\"DATESBETWEEN\",\"DATESINPERIOD\",\"DATESMTD\",\"DATESQTD\",\"DATESYTD\",\"ENDOFMONTH\",\"ENDOFQUARTER\",\"ENDOFYEAR\",\"FIRSTDATE\",\"FIRSTNONBLANK\",\"LASTDATE\",\"LASTNONBLANK\",\"NEXTDAY\",\"NEXTMONTH\",\"NEXTQUARTER\",\"NEXTYEAR\",\"OPENINGBALANCEMONTH\",\"OPENINGBALANCEQUARTER\",\"OPENINGBALANCEYEAR\",\"PARALLELPERIOD\",\"PREVIOUSDAY\",\"PREVIOUSMONTH\",\"PREVIOUSQUARTER\",\"PREVIOUSYEAR\",\"SAMEPERIODLASTYEAR\",\"STARTOFMONTH\",\"STARTOFQUARTER\",\"STARTOFYEAR\",\"TOTALMTD\",\"TOTALQTD\",\"TOTALYTD\",\"ADDCOLUMNS\",\"ADDMISSINGITEMS\",\"ALL\",\"ALLEXCEPT\",\"ALLNOBLANKROW\",\"ALLSELECTED\",\"CALCULATE\",\"CALCULATETABLE\",\"CALENDAR\",\"CALENDARAUTO\",\"CROSSFILTER\",\"CROSSJOIN\",\"CURRENTGROUP\",\"DATATABLE\",\"DETAILROWS\",\"DISTINCT\",\"EARLIER\",\"EARLIEST\",\"EXCEPT\",\"FILTER\",\"FILTERS\",\"GENERATE\",\"GENERATEALL\",\"GROUPBY\",\"IGNORE\",\"INTERSECT\",\"ISONORAFTER\",\"KEEPFILTERS\",\"LOOKUPVALUE\",\"NATURALINNERJOIN\",\"NATURALLEFTOUTERJOIN\",\"RELATED\",\"RELATEDTABLE\",\"ROLLUP\",\"ROLLUPADDISSUBTOTAL\",\"ROLLUPGROUP\",\"ROLLUPISSUBTOTAL\",\"ROW\",\"SAMPLE\",\"SELECTCOLUMNS\",\"SUBSTITUTEWITHINDEX\",\"SUMMARIZE\",\"SUMMARIZECOLUMNS\",\"TOPN\",\"TREATAS\",\"UNION\",\"USERELATIONSHIP\",\"VALUES\",\"SUM\",\"SUMX\",\"PATH\",\"PATHCONTAINS\",\"PATHITEM\",\"PATHITEMREVERSE\",\"PATHLENGTH\",\"AVERAGE\",\"AVERAGEA\",\"AVERAGEX\",\"COUNT\",\"COUNTA\",\"COUNTAX\",\"COUNTBLANK\",\"COUNTROWS\",\"COUNTX\",\"DISTINCTCOUNT\",\"DIVIDE\",\"GEOMEAN\",\"GEOMEANX\",\"MAX\",\"MAXA\",\"MAXX\",\"MEDIAN\",\"MEDIANX\",\"MIN\",\"MINA\",\"MINX\",\"PERCENTILE.EXC\",\"PERCENTILE.INC\",\"PERCENTILEX.EXC\",\"PERCENTILEX.INC\",\"PRODUCT\",\"PRODUCTX\",\"RANK.EQ\",\"RANKX\",\"STDEV.P\",\"STDEV.S\",\"STDEVX.P\",\"STDEVX.S\",\"VAR.P\",\"VAR.S\",\"VARX.P\",\"VARX.S\",\"XIRR\",\"XNPV\",\"DATE\",\"DATEDIFF\",\"DATEVALUE\",\"DAY\",\"EDATE\",\"EOMONTH\",\"HOUR\",\"MINUTE\",\"MONTH\",\"NOW\",\"SECOND\",\"TIME\",\"TIMEVALUE\",\"TODAY\",\"WEEKDAY\",\"WEEKNUM\",\"YEAR\",\"YEARFRAC\",\"CONTAINS\",\"CONTAINSROW\",\"CUSTOMDATA\",\"ERROR\",\"HASONEFILTER\",\"HASONEVALUE\",\"ISBLANK\",\"ISCROSSFILTERED\",\"ISEMPTY\",\"ISERROR\",\"ISEVEN\",\"ISFILTERED\",\"ISLOGICAL\",\"ISNONTEXT\",\"ISNUMBER\",\"ISODD\",\"ISSUBTOTAL\",\"ISTEXT\",\"USERNAME\",\"USERPRINCIPALNAME\",\"AND\",\"FALSE\",\"IF\",\"IFERROR\",\"NOT\",\"OR\",\"SWITCH\",\"TRUE\",\"ABS\",\"ACOS\",\"ACOSH\",\"ACOT\",\"ACOTH\",\"ASIN\",\"ASINH\",\"ATAN\",\"ATANH\",\"BETA.DIST\",\"BETA.INV\",\"CEILING\",\"CHISQ.DIST\",\"CHISQ.DIST.RT\",\"CHISQ.INV\",\"CHISQ.INV.RT\",\"COMBIN\",\"COMBINA\",\"CONFIDENCE.NORM\",\"CONFIDENCE.T\",\"COS\",\"COSH\",\"COT\",\"COTH\",\"CURRENCY\",\"DEGREES\",\"EVEN\",\"EXP\",\"EXPON.DIST\",\"FACT\",\"FLOOR\",\"GCD\",\"INT\",\"ISO.CEILING\",\"LCM\",\"LN\",\"LOG\",\"LOG10\",\"MOD\",\"MROUND\",\"ODD\",\"PERMUT\",\"PI\",\"POISSON.DIST\",\"POWER\",\"QUOTIENT\",\"RADIANS\",\"RAND\",\"RANDBETWEEN\",\"ROUND\",\"ROUNDDOWN\",\"ROUNDUP\",\"SIGN\",\"SIN\",\"SINH\",\"SQRT\",\"SQRTPI\",\"TAN\",\"TANH\",\"TRUNC\",\"BLANK\",\"CONCATENATE\",\"CONCATENATEX\",\"EXACT\",\"FIND\",\"FIXED\",\"FORMAT\",\"LEFT\",\"LEN\",\"LOWER\",\"MID\",\"REPLACE\",\"REPT\",\"RIGHT\",\"SEARCH\",\"SUBSTITUTE\",\"TRIM\",\"UNICHAR\",\"UNICODE\",\"UPPER\",\"VALUE\"],tokenizer:{root:[{include:\"@comments\"},{include:\"@whitespace\"},{include:\"@numbers\"},{include:\"@strings\"},{include:\"@complexIdentifiers\"},[/[;,.]/,\"delimiter\"],[/[({})]/,\"@brackets\"],[/[a-z_][a-zA-Z0-9_]*/,{cases:{\"@keywords\":\"keyword\",\"@functions\":\"keyword\",\"@default\":\"identifier\"}}],[/[<>=!%&+\\-*/|~^]/,\"operator\"]],whitespace:[[/\\s+/,\"white\"]],comments:[[/\\/\\/+.*/,\"comment\"],[/\\/\\*/,{token:\"comment.quote\",next:\"@comment\"}]],comment:[[/[^*/]+/,\"comment\"],[/\\*\\//,{token:\"comment.quote\",next:\"@pop\"}],[/./,\"comment\"]],numbers:[[/0[xX][0-9a-fA-F]*/,\"number\"],[/[$][+-]*\\d*(\\.\\d*)?/,\"number\"],[/((\\d+(\\.\\d*)?)|(\\.\\d+))([eE][\\-+]?\\d+)?/,\"number\"]],strings:[[/N\"/,{token:\"string\",next:\"@string\"}],[/\"/,{token:\"string\",next:\"@string\"}]],string:[[/[^\"]+/,\"string\"],[/\"\"/,\"string\"],[/\"/,{token:\"string\",next:\"@pop\"}]],complexIdentifiers:[[/\\[/,{token:\"identifier.quote\",next:\"@bracketedIdentifier\"}],[/'/,{token:\"identifier.quote\",next:\"@quotedIdentifier\"}]],bracketedIdentifier:[[/[^\\]]+/,\"identifier\"],[/]]/,\"identifier\"],[/]/,{token:\"identifier.quote\",next:\"@pop\"}]],quotedIdentifier:[[/[^']+/,\"identifier\"],[/''/,\"identifier\"],[/'/,{token:\"identifier.quote\",next:\"@pop\"}]]}};export{E as conf,T as language};\n"
  },
  {
    "path": "client/dist/assets/mysql.7908aeda.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var E={comments:{lineComment:\"--\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}]},T={defaultToken:\"\",tokenPostfix:\".sql\",ignoreCase:!0,brackets:[{open:\"[\",close:\"]\",token:\"delimiter.square\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"}],keywords:[\"ACCESSIBLE\",\"ADD\",\"ALL\",\"ALTER\",\"ANALYZE\",\"AND\",\"AS\",\"ASC\",\"ASENSITIVE\",\"BEFORE\",\"BETWEEN\",\"BIGINT\",\"BINARY\",\"BLOB\",\"BOTH\",\"BY\",\"CALL\",\"CASCADE\",\"CASE\",\"CHANGE\",\"CHAR\",\"CHARACTER\",\"CHECK\",\"COLLATE\",\"COLUMN\",\"CONDITION\",\"CONSTRAINT\",\"CONTINUE\",\"CONVERT\",\"CREATE\",\"CROSS\",\"CUBE\",\"CUME_DIST\",\"CURRENT_DATE\",\"CURRENT_TIME\",\"CURRENT_TIMESTAMP\",\"CURRENT_USER\",\"CURSOR\",\"DATABASE\",\"DATABASES\",\"DAY_HOUR\",\"DAY_MICROSECOND\",\"DAY_MINUTE\",\"DAY_SECOND\",\"DEC\",\"DECIMAL\",\"DECLARE\",\"DEFAULT\",\"DELAYED\",\"DELETE\",\"DENSE_RANK\",\"DESC\",\"DESCRIBE\",\"DETERMINISTIC\",\"DISTINCT\",\"DISTINCTROW\",\"DIV\",\"DOUBLE\",\"DROP\",\"DUAL\",\"EACH\",\"ELSE\",\"ELSEIF\",\"EMPTY\",\"ENCLOSED\",\"ESCAPED\",\"EXCEPT\",\"EXISTS\",\"EXIT\",\"EXPLAIN\",\"FALSE\",\"FETCH\",\"FIRST_VALUE\",\"FLOAT\",\"FLOAT4\",\"FLOAT8\",\"FOR\",\"FORCE\",\"FOREIGN\",\"FROM\",\"FULLTEXT\",\"FUNCTION\",\"GENERATED\",\"GET\",\"GRANT\",\"GROUP\",\"GROUPING\",\"GROUPS\",\"HAVING\",\"HIGH_PRIORITY\",\"HOUR_MICROSECOND\",\"HOUR_MINUTE\",\"HOUR_SECOND\",\"IF\",\"IGNORE\",\"IN\",\"INDEX\",\"INFILE\",\"INNER\",\"INOUT\",\"INSENSITIVE\",\"INSERT\",\"INT\",\"INT1\",\"INT2\",\"INT3\",\"INT4\",\"INT8\",\"INTEGER\",\"INTERVAL\",\"INTO\",\"IO_AFTER_GTIDS\",\"IO_BEFORE_GTIDS\",\"IS\",\"ITERATE\",\"JOIN\",\"JSON_TABLE\",\"KEY\",\"KEYS\",\"KILL\",\"LAG\",\"LAST_VALUE\",\"LATERAL\",\"LEAD\",\"LEADING\",\"LEAVE\",\"LEFT\",\"LIKE\",\"LIMIT\",\"LINEAR\",\"LINES\",\"LOAD\",\"LOCALTIME\",\"LOCALTIMESTAMP\",\"LOCK\",\"LONG\",\"LONGBLOB\",\"LONGTEXT\",\"LOOP\",\"LOW_PRIORITY\",\"MASTER_BIND\",\"MASTER_SSL_VERIFY_SERVER_CERT\",\"MATCH\",\"MAXVALUE\",\"MEDIUMBLOB\",\"MEDIUMINT\",\"MEDIUMTEXT\",\"MIDDLEINT\",\"MINUTE_MICROSECOND\",\"MINUTE_SECOND\",\"MOD\",\"MODIFIES\",\"NATURAL\",\"NOT\",\"NO_WRITE_TO_BINLOG\",\"NTH_VALUE\",\"NTILE\",\"NULL\",\"NUMERIC\",\"OF\",\"ON\",\"OPTIMIZE\",\"OPTIMIZER_COSTS\",\"OPTION\",\"OPTIONALLY\",\"OR\",\"ORDER\",\"OUT\",\"OUTER\",\"OUTFILE\",\"OVER\",\"PARTITION\",\"PERCENT_RANK\",\"PRECISION\",\"PRIMARY\",\"PROCEDURE\",\"PURGE\",\"RANGE\",\"RANK\",\"READ\",\"READS\",\"READ_WRITE\",\"REAL\",\"RECURSIVE\",\"REFERENCES\",\"REGEXP\",\"RELEASE\",\"RENAME\",\"REPEAT\",\"REPLACE\",\"REQUIRE\",\"RESIGNAL\",\"RESTRICT\",\"RETURN\",\"REVOKE\",\"RIGHT\",\"RLIKE\",\"ROW\",\"ROWS\",\"ROW_NUMBER\",\"SCHEMA\",\"SCHEMAS\",\"SECOND_MICROSECOND\",\"SELECT\",\"SENSITIVE\",\"SEPARATOR\",\"SET\",\"SHOW\",\"SIGNAL\",\"SMALLINT\",\"SPATIAL\",\"SPECIFIC\",\"SQL\",\"SQLEXCEPTION\",\"SQLSTATE\",\"SQLWARNING\",\"SQL_BIG_RESULT\",\"SQL_CALC_FOUND_ROWS\",\"SQL_SMALL_RESULT\",\"SSL\",\"STARTING\",\"STORED\",\"STRAIGHT_JOIN\",\"SYSTEM\",\"TABLE\",\"TERMINATED\",\"THEN\",\"TINYBLOB\",\"TINYINT\",\"TINYTEXT\",\"TO\",\"TRAILING\",\"TRIGGER\",\"TRUE\",\"UNDO\",\"UNION\",\"UNIQUE\",\"UNLOCK\",\"UNSIGNED\",\"UPDATE\",\"USAGE\",\"USE\",\"USING\",\"UTC_DATE\",\"UTC_TIME\",\"UTC_TIMESTAMP\",\"VALUES\",\"VARBINARY\",\"VARCHAR\",\"VARCHARACTER\",\"VARYING\",\"VIRTUAL\",\"WHEN\",\"WHERE\",\"WHILE\",\"WINDOW\",\"WITH\",\"WRITE\",\"XOR\",\"YEAR_MONTH\",\"ZEROFILL\"],operators:[\"AND\",\"BETWEEN\",\"IN\",\"LIKE\",\"NOT\",\"OR\",\"IS\",\"NULL\",\"INTERSECT\",\"UNION\",\"INNER\",\"JOIN\",\"LEFT\",\"OUTER\",\"RIGHT\"],builtinFunctions:[\"ABS\",\"ACOS\",\"ADDDATE\",\"ADDTIME\",\"AES_DECRYPT\",\"AES_ENCRYPT\",\"ANY_VALUE\",\"Area\",\"AsBinary\",\"AsWKB\",\"ASCII\",\"ASIN\",\"AsText\",\"AsWKT\",\"ASYMMETRIC_DECRYPT\",\"ASYMMETRIC_DERIVE\",\"ASYMMETRIC_ENCRYPT\",\"ASYMMETRIC_SIGN\",\"ASYMMETRIC_VERIFY\",\"ATAN\",\"ATAN2\",\"ATAN\",\"AVG\",\"BENCHMARK\",\"BIN\",\"BIT_AND\",\"BIT_COUNT\",\"BIT_LENGTH\",\"BIT_OR\",\"BIT_XOR\",\"Buffer\",\"CAST\",\"CEIL\",\"CEILING\",\"Centroid\",\"CHAR\",\"CHAR_LENGTH\",\"CHARACTER_LENGTH\",\"CHARSET\",\"COALESCE\",\"COERCIBILITY\",\"COLLATION\",\"COMPRESS\",\"CONCAT\",\"CONCAT_WS\",\"CONNECTION_ID\",\"Contains\",\"CONV\",\"CONVERT\",\"CONVERT_TZ\",\"ConvexHull\",\"COS\",\"COT\",\"COUNT\",\"CRC32\",\"CREATE_ASYMMETRIC_PRIV_KEY\",\"CREATE_ASYMMETRIC_PUB_KEY\",\"CREATE_DH_PARAMETERS\",\"CREATE_DIGEST\",\"Crosses\",\"CUME_DIST\",\"CURDATE\",\"CURRENT_DATE\",\"CURRENT_ROLE\",\"CURRENT_TIME\",\"CURRENT_TIMESTAMP\",\"CURRENT_USER\",\"CURTIME\",\"DATABASE\",\"DATE\",\"DATE_ADD\",\"DATE_FORMAT\",\"DATE_SUB\",\"DATEDIFF\",\"DAY\",\"DAYNAME\",\"DAYOFMONTH\",\"DAYOFWEEK\",\"DAYOFYEAR\",\"DECODE\",\"DEFAULT\",\"DEGREES\",\"DES_DECRYPT\",\"DES_ENCRYPT\",\"DENSE_RANK\",\"Dimension\",\"Disjoint\",\"Distance\",\"ELT\",\"ENCODE\",\"ENCRYPT\",\"EndPoint\",\"Envelope\",\"Equals\",\"EXP\",\"EXPORT_SET\",\"ExteriorRing\",\"EXTRACT\",\"ExtractValue\",\"FIELD\",\"FIND_IN_SET\",\"FIRST_VALUE\",\"FLOOR\",\"FORMAT\",\"FORMAT_BYTES\",\"FORMAT_PICO_TIME\",\"FOUND_ROWS\",\"FROM_BASE64\",\"FROM_DAYS\",\"FROM_UNIXTIME\",\"GEN_RANGE\",\"GEN_RND_EMAIL\",\"GEN_RND_PAN\",\"GEN_RND_SSN\",\"GEN_RND_US_PHONE\",\"GeomCollection\",\"GeomCollFromText\",\"GeometryCollectionFromText\",\"GeomCollFromWKB\",\"GeometryCollectionFromWKB\",\"GeometryCollection\",\"GeometryN\",\"GeometryType\",\"GeomFromText\",\"GeometryFromText\",\"GeomFromWKB\",\"GeometryFromWKB\",\"GET_FORMAT\",\"GET_LOCK\",\"GLength\",\"GREATEST\",\"GROUP_CONCAT\",\"GROUPING\",\"GTID_SUBSET\",\"GTID_SUBTRACT\",\"HEX\",\"HOUR\",\"ICU_VERSION\",\"IF\",\"IFNULL\",\"INET_ATON\",\"INET_NTOA\",\"INET6_ATON\",\"INET6_NTOA\",\"INSERT\",\"INSTR\",\"InteriorRingN\",\"Intersects\",\"INTERVAL\",\"IS_FREE_LOCK\",\"IS_IPV4\",\"IS_IPV4_COMPAT\",\"IS_IPV4_MAPPED\",\"IS_IPV6\",\"IS_USED_LOCK\",\"IS_UUID\",\"IsClosed\",\"IsEmpty\",\"ISNULL\",\"IsSimple\",\"JSON_APPEND\",\"JSON_ARRAY\",\"JSON_ARRAY_APPEND\",\"JSON_ARRAY_INSERT\",\"JSON_ARRAYAGG\",\"JSON_CONTAINS\",\"JSON_CONTAINS_PATH\",\"JSON_DEPTH\",\"JSON_EXTRACT\",\"JSON_INSERT\",\"JSON_KEYS\",\"JSON_LENGTH\",\"JSON_MERGE\",\"JSON_MERGE_PATCH\",\"JSON_MERGE_PRESERVE\",\"JSON_OBJECT\",\"JSON_OBJECTAGG\",\"JSON_OVERLAPS\",\"JSON_PRETTY\",\"JSON_QUOTE\",\"JSON_REMOVE\",\"JSON_REPLACE\",\"JSON_SCHEMA_VALID\",\"JSON_SCHEMA_VALIDATION_REPORT\",\"JSON_SEARCH\",\"JSON_SET\",\"JSON_STORAGE_FREE\",\"JSON_STORAGE_SIZE\",\"JSON_TABLE\",\"JSON_TYPE\",\"JSON_UNQUOTE\",\"JSON_VALID\",\"LAG\",\"LAST_DAY\",\"LAST_INSERT_ID\",\"LAST_VALUE\",\"LCASE\",\"LEAD\",\"LEAST\",\"LEFT\",\"LENGTH\",\"LineFromText\",\"LineStringFromText\",\"LineFromWKB\",\"LineStringFromWKB\",\"LineString\",\"LN\",\"LOAD_FILE\",\"LOCALTIME\",\"LOCALTIMESTAMP\",\"LOCATE\",\"LOG\",\"LOG10\",\"LOG2\",\"LOWER\",\"LPAD\",\"LTRIM\",\"MAKE_SET\",\"MAKEDATE\",\"MAKETIME\",\"MASK_INNER\",\"MASK_OUTER\",\"MASK_PAN\",\"MASK_PAN_RELAXED\",\"MASK_SSN\",\"MASTER_POS_WAIT\",\"MAX\",\"MBRContains\",\"MBRCoveredBy\",\"MBRCovers\",\"MBRDisjoint\",\"MBREqual\",\"MBREquals\",\"MBRIntersects\",\"MBROverlaps\",\"MBRTouches\",\"MBRWithin\",\"MD5\",\"MEMBER OF\",\"MICROSECOND\",\"MID\",\"MIN\",\"MINUTE\",\"MLineFromText\",\"MultiLineStringFromText\",\"MLineFromWKB\",\"MultiLineStringFromWKB\",\"MOD\",\"MONTH\",\"MONTHNAME\",\"MPointFromText\",\"MultiPointFromText\",\"MPointFromWKB\",\"MultiPointFromWKB\",\"MPolyFromText\",\"MultiPolygonFromText\",\"MPolyFromWKB\",\"MultiPolygonFromWKB\",\"MultiLineString\",\"MultiPoint\",\"MultiPolygon\",\"NAME_CONST\",\"NOT IN\",\"NOW\",\"NTH_VALUE\",\"NTILE\",\"NULLIF\",\"NumGeometries\",\"NumInteriorRings\",\"NumPoints\",\"OCT\",\"OCTET_LENGTH\",\"OLD_PASSWORD\",\"ORD\",\"Overlaps\",\"PASSWORD\",\"PERCENT_RANK\",\"PERIOD_ADD\",\"PERIOD_DIFF\",\"PI\",\"Point\",\"PointFromText\",\"PointFromWKB\",\"PointN\",\"PolyFromText\",\"PolygonFromText\",\"PolyFromWKB\",\"PolygonFromWKB\",\"Polygon\",\"POSITION\",\"POW\",\"POWER\",\"PS_CURRENT_THREAD_ID\",\"PS_THREAD_ID\",\"PROCEDURE ANALYSE\",\"QUARTER\",\"QUOTE\",\"RADIANS\",\"RAND\",\"RANDOM_BYTES\",\"RANK\",\"REGEXP_INSTR\",\"REGEXP_LIKE\",\"REGEXP_REPLACE\",\"REGEXP_REPLACE\",\"RELEASE_ALL_LOCKS\",\"RELEASE_LOCK\",\"REPEAT\",\"REPLACE\",\"REVERSE\",\"RIGHT\",\"ROLES_GRAPHML\",\"ROUND\",\"ROW_COUNT\",\"ROW_NUMBER\",\"RPAD\",\"RTRIM\",\"SCHEMA\",\"SEC_TO_TIME\",\"SECOND\",\"SESSION_USER\",\"SHA1\",\"SHA\",\"SHA2\",\"SIGN\",\"SIN\",\"SLEEP\",\"SOUNDEX\",\"SOURCE_POS_WAIT\",\"SPACE\",\"SQRT\",\"SRID\",\"ST_Area\",\"ST_AsBinary\",\"ST_AsWKB\",\"ST_AsGeoJSON\",\"ST_AsText\",\"ST_AsWKT\",\"ST_Buffer\",\"ST_Buffer_Strategy\",\"ST_Centroid\",\"ST_Collect\",\"ST_Contains\",\"ST_ConvexHull\",\"ST_Crosses\",\"ST_Difference\",\"ST_Dimension\",\"ST_Disjoint\",\"ST_Distance\",\"ST_Distance_Sphere\",\"ST_EndPoint\",\"ST_Envelope\",\"ST_Equals\",\"ST_ExteriorRing\",\"ST_FrechetDistance\",\"ST_GeoHash\",\"ST_GeomCollFromText\",\"ST_GeometryCollectionFromText\",\"ST_GeomCollFromTxt\",\"ST_GeomCollFromWKB\",\"ST_GeometryCollectionFromWKB\",\"ST_GeometryN\",\"ST_GeometryType\",\"ST_GeomFromGeoJSON\",\"ST_GeomFromText\",\"ST_GeometryFromText\",\"ST_GeomFromWKB\",\"ST_GeometryFromWKB\",\"ST_HausdorffDistance\",\"ST_InteriorRingN\",\"ST_Intersection\",\"ST_Intersects\",\"ST_IsClosed\",\"ST_IsEmpty\",\"ST_IsSimple\",\"ST_IsValid\",\"ST_LatFromGeoHash\",\"ST_Length\",\"ST_LineFromText\",\"ST_LineStringFromText\",\"ST_LineFromWKB\",\"ST_LineStringFromWKB\",\"ST_LineInterpolatePoint\",\"ST_LineInterpolatePoints\",\"ST_LongFromGeoHash\",\"ST_Longitude\",\"ST_MakeEnvelope\",\"ST_MLineFromText\",\"ST_MultiLineStringFromText\",\"ST_MLineFromWKB\",\"ST_MultiLineStringFromWKB\",\"ST_MPointFromText\",\"ST_MultiPointFromText\",\"ST_MPointFromWKB\",\"ST_MultiPointFromWKB\",\"ST_MPolyFromText\",\"ST_MultiPolygonFromText\",\"ST_MPolyFromWKB\",\"ST_MultiPolygonFromWKB\",\"ST_NumGeometries\",\"ST_NumInteriorRing\",\"ST_NumInteriorRings\",\"ST_NumPoints\",\"ST_Overlaps\",\"ST_PointAtDistance\",\"ST_PointFromGeoHash\",\"ST_PointFromText\",\"ST_PointFromWKB\",\"ST_PointN\",\"ST_PolyFromText\",\"ST_PolygonFromText\",\"ST_PolyFromWKB\",\"ST_PolygonFromWKB\",\"ST_Simplify\",\"ST_SRID\",\"ST_StartPoint\",\"ST_SwapXY\",\"ST_SymDifference\",\"ST_Touches\",\"ST_Transform\",\"ST_Union\",\"ST_Validate\",\"ST_Within\",\"ST_X\",\"ST_Y\",\"StartPoint\",\"STATEMENT_DIGEST\",\"STATEMENT_DIGEST_TEXT\",\"STD\",\"STDDEV\",\"STDDEV_POP\",\"STDDEV_SAMP\",\"STR_TO_DATE\",\"STRCMP\",\"SUBDATE\",\"SUBSTR\",\"SUBSTRING\",\"SUBSTRING_INDEX\",\"SUBTIME\",\"SUM\",\"SYSDATE\",\"SYSTEM_USER\",\"TAN\",\"TIME\",\"TIME_FORMAT\",\"TIME_TO_SEC\",\"TIMEDIFF\",\"TIMESTAMP\",\"TIMESTAMPADD\",\"TIMESTAMPDIFF\",\"TO_BASE64\",\"TO_DAYS\",\"TO_SECONDS\",\"Touches\",\"TRIM\",\"TRUNCATE\",\"UCASE\",\"UNCOMPRESS\",\"UNCOMPRESSED_LENGTH\",\"UNHEX\",\"UNIX_TIMESTAMP\",\"UpdateXML\",\"UPPER\",\"USER\",\"UTC_DATE\",\"UTC_TIME\",\"UTC_TIMESTAMP\",\"UUID\",\"UUID_SHORT\",\"UUID_TO_BIN\",\"VALIDATE_PASSWORD_STRENGTH\",\"VALUES\",\"VAR_POP\",\"VAR_SAMP\",\"VARIANCE\",\"VERSION\",\"WAIT_FOR_EXECUTED_GTID_SET\",\"WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS\",\"WEEK\",\"WEEKDAY\",\"WEEKOFYEAR\",\"WEIGHT_STRING\",\"Within\",\"X\",\"Y\",\"YEAR\",\"YEARWEEK\"],builtinVariables:[],tokenizer:{root:[{include:\"@comments\"},{include:\"@whitespace\"},{include:\"@numbers\"},{include:\"@strings\"},{include:\"@complexIdentifiers\"},{include:\"@scopes\"},[/[;,.]/,\"delimiter\"],[/[()]/,\"@brackets\"],[/[\\w@]+/,{cases:{\"@operators\":\"operator\",\"@builtinVariables\":\"predefined\",\"@builtinFunctions\":\"predefined\",\"@keywords\":\"keyword\",\"@default\":\"identifier\"}}],[/[<>=!%&+\\-*/|~^]/,\"operator\"]],whitespace:[[/\\s+/,\"white\"]],comments:[[/--+.*/,\"comment\"],[/#+.*/,\"comment\"],[/\\/\\*/,{token:\"comment.quote\",next:\"@comment\"}]],comment:[[/[^*/]+/,\"comment\"],[/\\*\\//,{token:\"comment.quote\",next:\"@pop\"}],[/./,\"comment\"]],numbers:[[/0[xX][0-9a-fA-F]*/,\"number\"],[/[$][+-]*\\d*(\\.\\d*)?/,\"number\"],[/((\\d+(\\.\\d*)?)|(\\.\\d+))([eE][\\-+]?\\d+)?/,\"number\"]],strings:[[/'/,{token:\"string\",next:\"@string\"}],[/\"/,{token:\"string.double\",next:\"@stringDouble\"}]],string:[[/[^']+/,\"string\"],[/''/,\"string\"],[/'/,{token:\"string\",next:\"@pop\"}]],stringDouble:[[/[^\"]+/,\"string.double\"],[/\"\"/,\"string.double\"],[/\"/,{token:\"string.double\",next:\"@pop\"}]],complexIdentifiers:[[/`/,{token:\"identifier.quote\",next:\"@quotedIdentifier\"}]],quotedIdentifier:[[/[^`]+/,\"identifier\"],[/``/,\"identifier\"],[/`/,{token:\"identifier.quote\",next:\"@pop\"}]],scopes:[]}};export{E as conf,T as language};\n"
  },
  {
    "path": "client/dist/assets/objective-c.09d904b0.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"//\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}]},n={defaultToken:\"\",tokenPostfix:\".objective-c\",keywords:[\"#import\",\"#include\",\"#define\",\"#else\",\"#endif\",\"#if\",\"#ifdef\",\"#ifndef\",\"#ident\",\"#undef\",\"@class\",\"@defs\",\"@dynamic\",\"@encode\",\"@end\",\"@implementation\",\"@interface\",\"@package\",\"@private\",\"@protected\",\"@property\",\"@protocol\",\"@public\",\"@selector\",\"@synthesize\",\"__declspec\",\"assign\",\"auto\",\"BOOL\",\"break\",\"bycopy\",\"byref\",\"case\",\"char\",\"Class\",\"const\",\"copy\",\"continue\",\"default\",\"do\",\"double\",\"else\",\"enum\",\"extern\",\"FALSE\",\"false\",\"float\",\"for\",\"goto\",\"if\",\"in\",\"int\",\"id\",\"inout\",\"IMP\",\"long\",\"nil\",\"nonatomic\",\"NULL\",\"oneway\",\"out\",\"private\",\"public\",\"protected\",\"readwrite\",\"readonly\",\"register\",\"return\",\"SEL\",\"self\",\"short\",\"signed\",\"sizeof\",\"static\",\"struct\",\"super\",\"switch\",\"typedef\",\"TRUE\",\"true\",\"union\",\"unsigned\",\"volatile\",\"void\",\"while\"],decpart:/\\d(_?\\d)*/,decimal:/0|@decpart/,tokenizer:{root:[{include:\"@comments\"},{include:\"@whitespace\"},{include:\"@numbers\"},{include:\"@strings\"},[/[,:;]/,\"delimiter\"],[/[{}\\[\\]()<>]/,\"@brackets\"],[/[a-zA-Z@#]\\w*/,{cases:{\"@keywords\":\"keyword\",\"@default\":\"identifier\"}}],[/[<>=\\\\+\\\\-\\\\*\\\\/\\\\^\\\\|\\\\~,]|and\\\\b|or\\\\b|not\\\\b]/,\"operator\"]],whitespace:[[/\\s+/,\"white\"]],comments:[[\"\\\\/\\\\*\",\"comment\",\"@comment\"],[\"\\\\/\\\\/+.*\",\"comment\"]],comment:[[\"\\\\*\\\\/\",\"comment\",\"@pop\"],[\".\",\"comment\"]],numbers:[[/0[xX][0-9a-fA-F]*(_?[0-9a-fA-F])*/,\"number.hex\"],[/@decimal((\\.@decpart)?([eE][\\-+]?@decpart)?)[fF]*/,{cases:{\"(\\\\d)*\":\"number\",$0:\"number.float\"}}]],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{e as conf,n as language};\n"
  },
  {
    "path": "client/dist/assets/pascal.50da1bc1.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={wordPattern:/(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)/g,comments:{lineComment:\"//\",blockComment:[\"{\",\"}\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"],[\"<\",\">\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"<\",close:\">\"},{open:\"'\",close:\"'\"}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"<\",close:\">\"},{open:\"'\",close:\"'\"}],folding:{markers:{start:new RegExp(\"^\\\\s*\\\\{\\\\$REGION(\\\\s\\\\'.*\\\\')?\\\\}\"),end:new RegExp(\"^\\\\s*\\\\{\\\\$ENDREGION\\\\}\")}}},t={defaultToken:\"\",tokenPostfix:\".pascal\",ignoreCase:!0,brackets:[{open:\"{\",close:\"}\",token:\"delimiter.curly\"},{open:\"[\",close:\"]\",token:\"delimiter.square\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"},{open:\"<\",close:\">\",token:\"delimiter.angle\"}],keywords:[\"absolute\",\"abstract\",\"all\",\"and_then\",\"array\",\"as\",\"asm\",\"attribute\",\"begin\",\"bindable\",\"case\",\"class\",\"const\",\"contains\",\"default\",\"div\",\"else\",\"end\",\"except\",\"exports\",\"external\",\"far\",\"file\",\"finalization\",\"finally\",\"forward\",\"generic\",\"goto\",\"if\",\"implements\",\"import\",\"in\",\"index\",\"inherited\",\"initialization\",\"interrupt\",\"is\",\"label\",\"library\",\"mod\",\"module\",\"name\",\"near\",\"not\",\"object\",\"of\",\"on\",\"only\",\"operator\",\"or_else\",\"otherwise\",\"override\",\"package\",\"packed\",\"pow\",\"private\",\"program\",\"protected\",\"public\",\"published\",\"interface\",\"implementation\",\"qualified\",\"read\",\"record\",\"resident\",\"requires\",\"resourcestring\",\"restricted\",\"segment\",\"set\",\"shl\",\"shr\",\"specialize\",\"stored\",\"strict\",\"then\",\"threadvar\",\"to\",\"try\",\"type\",\"unit\",\"uses\",\"var\",\"view\",\"virtual\",\"dynamic\",\"overload\",\"reintroduce\",\"with\",\"write\",\"xor\",\"true\",\"false\",\"procedure\",\"function\",\"constructor\",\"destructor\",\"property\",\"break\",\"continue\",\"exit\",\"abort\",\"while\",\"do\",\"for\",\"raise\",\"repeat\",\"until\"],typeKeywords:[\"boolean\",\"double\",\"byte\",\"integer\",\"shortint\",\"char\",\"longint\",\"float\",\"string\"],operators:[\"=\",\">\",\"<\",\"<=\",\">=\",\"<>\",\":\",\":=\",\"and\",\"or\",\"+\",\"-\",\"*\",\"/\",\"@\",\"&\",\"^\",\"%\"],symbols:/[=><:@\\^&|+\\-*\\/\\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\\w]*/,{cases:{\"@keywords\":{token:\"keyword.$0\"},\"@default\":\"identifier\"}}],{include:\"@whitespace\"},[/[{}()\\[\\]]/,\"@brackets\"],[/[<>](?!@symbols)/,\"@brackets\"],[/@symbols/,{cases:{\"@operators\":\"delimiter\",\"@default\":\"\"}}],[/\\d*\\.\\d+([eE][\\-+]?\\d+)?/,\"number.float\"],[/\\$[0-9a-fA-F]{1,16}/,\"number.hex\"],[/\\d+/,\"number\"],[/[;,.]/,\"delimiter\"],[/'([^'\\\\]|\\\\.)*$/,\"string.invalid\"],[/'/,\"string\",\"@string\"],[/'[^\\\\']'/,\"string\"],[/'/,\"string.invalid\"],[/\\#\\d+/,\"string\"]],comment:[[/[^\\*\\}]+/,\"comment\"],[/\\}/,\"comment\",\"@pop\"],[/[\\{]/,\"comment\"]],string:[[/[^\\\\']+/,\"string\"],[/\\\\./,\"string.escape.invalid\"],[/'/,{token:\"string.quote\",bracket:\"@close\",next:\"@pop\"}]],whitespace:[[/[ \\t\\r\\n]+/,\"white\"],[/\\{/,\"comment\",\"@comment\"],[/\\/\\/.*$/,\"comment\"]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/pascaligo.244049b6.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"//\",blockComment:[\"(*\",\"*)\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"],[\"<\",\">\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"<\",close:\">\"},{open:\"'\",close:\"'\"}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"<\",close:\">\"},{open:\"'\",close:\"'\"}]},o={defaultToken:\"\",tokenPostfix:\".pascaligo\",ignoreCase:!0,brackets:[{open:\"{\",close:\"}\",token:\"delimiter.curly\"},{open:\"[\",close:\"]\",token:\"delimiter.square\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"},{open:\"<\",close:\">\",token:\"delimiter.angle\"}],keywords:[\"begin\",\"block\",\"case\",\"const\",\"else\",\"end\",\"fail\",\"for\",\"from\",\"function\",\"if\",\"is\",\"nil\",\"of\",\"remove\",\"return\",\"skip\",\"then\",\"type\",\"var\",\"while\",\"with\",\"option\",\"None\",\"transaction\"],typeKeywords:[\"bool\",\"int\",\"list\",\"map\",\"nat\",\"record\",\"string\",\"unit\",\"address\",\"map\",\"mtz\",\"xtz\"],operators:[\"=\",\">\",\"<\",\"<=\",\">=\",\"<>\",\":\",\":=\",\"and\",\"mod\",\"or\",\"+\",\"-\",\"*\",\"/\",\"@\",\"&\",\"^\",\"%\"],symbols:/[=><:@\\^&|+\\-*\\/\\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\\w]*/,{cases:{\"@keywords\":{token:\"keyword.$0\"},\"@default\":\"identifier\"}}],{include:\"@whitespace\"},[/[{}()\\[\\]]/,\"@brackets\"],[/[<>](?!@symbols)/,\"@brackets\"],[/@symbols/,{cases:{\"@operators\":\"delimiter\",\"@default\":\"\"}}],[/\\d*\\.\\d+([eE][\\-+]?\\d+)?/,\"number.float\"],[/\\$[0-9a-fA-F]{1,16}/,\"number.hex\"],[/\\d+/,\"number\"],[/[;,.]/,\"delimiter\"],[/'([^'\\\\]|\\\\.)*$/,\"string.invalid\"],[/'/,\"string\",\"@string\"],[/'[^\\\\']'/,\"string\"],[/'/,\"string.invalid\"],[/\\#\\d+/,\"string\"]],comment:[[/[^\\(\\*]+/,\"comment\"],[/\\*\\)/,\"comment\",\"@pop\"],[/\\(\\*/,\"comment\"]],string:[[/[^\\\\']+/,\"string\"],[/\\\\./,\"string.escape.invalid\"],[/'/,{token:\"string.quote\",bracket:\"@close\",next:\"@pop\"}]],whitespace:[[/[ \\t\\r\\n]+/,\"white\"],[/\\(\\*/,\"comment\",\"@comment\"],[/\\/\\/.*$/,\"comment\"]]}};export{e as conf,o as language};\n"
  },
  {
    "path": "client/dist/assets/perl.649d12f9.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"#\"},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"},{open:\"`\",close:\"`\"}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"},{open:\"`\",close:\"`\"}]},t={defaultToken:\"\",tokenPostfix:\".perl\",brackets:[{token:\"delimiter.bracket\",open:\"{\",close:\"}\"},{token:\"delimiter.parenthesis\",open:\"(\",close:\")\"},{token:\"delimiter.square\",open:\"[\",close:\"]\"}],keywords:[\"__DATA__\",\"else\",\"lock\",\"__END__\",\"elsif\",\"lt\",\"__FILE__\",\"eq\",\"__LINE__\",\"exp\",\"ne\",\"sub\",\"__PACKAGE__\",\"for\",\"no\",\"and\",\"foreach\",\"or\",\"unless\",\"cmp\",\"ge\",\"package\",\"until\",\"continue\",\"gt\",\"while\",\"CORE\",\"if\",\"xor\",\"do\",\"le\",\"__DIE__\",\"__WARN__\"],builtinFunctions:[\"-A\",\"END\",\"length\",\"setpgrp\",\"-B\",\"endgrent\",\"link\",\"setpriority\",\"-b\",\"endhostent\",\"listen\",\"setprotoent\",\"-C\",\"endnetent\",\"local\",\"setpwent\",\"-c\",\"endprotoent\",\"localtime\",\"setservent\",\"-d\",\"endpwent\",\"log\",\"setsockopt\",\"-e\",\"endservent\",\"lstat\",\"shift\",\"-f\",\"eof\",\"map\",\"shmctl\",\"-g\",\"eval\",\"mkdir\",\"shmget\",\"-k\",\"exec\",\"msgctl\",\"shmread\",\"-l\",\"exists\",\"msgget\",\"shmwrite\",\"-M\",\"exit\",\"msgrcv\",\"shutdown\",\"-O\",\"fcntl\",\"msgsnd\",\"sin\",\"-o\",\"fileno\",\"my\",\"sleep\",\"-p\",\"flock\",\"next\",\"socket\",\"-r\",\"fork\",\"not\",\"socketpair\",\"-R\",\"format\",\"oct\",\"sort\",\"-S\",\"formline\",\"open\",\"splice\",\"-s\",\"getc\",\"opendir\",\"split\",\"-T\",\"getgrent\",\"ord\",\"sprintf\",\"-t\",\"getgrgid\",\"our\",\"sqrt\",\"-u\",\"getgrnam\",\"pack\",\"srand\",\"-w\",\"gethostbyaddr\",\"pipe\",\"stat\",\"-W\",\"gethostbyname\",\"pop\",\"state\",\"-X\",\"gethostent\",\"pos\",\"study\",\"-x\",\"getlogin\",\"print\",\"substr\",\"-z\",\"getnetbyaddr\",\"printf\",\"symlink\",\"abs\",\"getnetbyname\",\"prototype\",\"syscall\",\"accept\",\"getnetent\",\"push\",\"sysopen\",\"alarm\",\"getpeername\",\"quotemeta\",\"sysread\",\"atan2\",\"getpgrp\",\"rand\",\"sysseek\",\"AUTOLOAD\",\"getppid\",\"read\",\"system\",\"BEGIN\",\"getpriority\",\"readdir\",\"syswrite\",\"bind\",\"getprotobyname\",\"readline\",\"tell\",\"binmode\",\"getprotobynumber\",\"readlink\",\"telldir\",\"bless\",\"getprotoent\",\"readpipe\",\"tie\",\"break\",\"getpwent\",\"recv\",\"tied\",\"caller\",\"getpwnam\",\"redo\",\"time\",\"chdir\",\"getpwuid\",\"ref\",\"times\",\"CHECK\",\"getservbyname\",\"rename\",\"truncate\",\"chmod\",\"getservbyport\",\"require\",\"uc\",\"chomp\",\"getservent\",\"reset\",\"ucfirst\",\"chop\",\"getsockname\",\"return\",\"umask\",\"chown\",\"getsockopt\",\"reverse\",\"undef\",\"chr\",\"glob\",\"rewinddir\",\"UNITCHECK\",\"chroot\",\"gmtime\",\"rindex\",\"unlink\",\"close\",\"goto\",\"rmdir\",\"unpack\",\"closedir\",\"grep\",\"say\",\"unshift\",\"connect\",\"hex\",\"scalar\",\"untie\",\"cos\",\"index\",\"seek\",\"use\",\"crypt\",\"INIT\",\"seekdir\",\"utime\",\"dbmclose\",\"int\",\"select\",\"values\",\"dbmopen\",\"ioctl\",\"semctl\",\"vec\",\"defined\",\"join\",\"semget\",\"wait\",\"delete\",\"keys\",\"semop\",\"waitpid\",\"DESTROY\",\"kill\",\"send\",\"wantarray\",\"die\",\"last\",\"setgrent\",\"warn\",\"dump\",\"lc\",\"sethostent\",\"write\",\"each\",\"lcfirst\",\"setnetent\"],builtinFileHandlers:[\"ARGV\",\"STDERR\",\"STDOUT\",\"ARGVOUT\",\"STDIN\",\"ENV\"],builtinVariables:[\"$!\",\"$^RE_TRIE_MAXBUF\",\"$LAST_REGEXP_CODE_RESULT\",'$\"',\"$^S\",\"$LIST_SEPARATOR\",\"$#\",\"$^T\",\"$MATCH\",\"$$\",\"$^TAINT\",\"$MULTILINE_MATCHING\",\"$%\",\"$^UNICODE\",\"$NR\",\"$&\",\"$^UTF8LOCALE\",\"$OFMT\",\"$'\",\"$^V\",\"$OFS\",\"$(\",\"$^W\",\"$ORS\",\"$)\",\"$^WARNING_BITS\",\"$OS_ERROR\",\"$*\",\"$^WIDE_SYSTEM_CALLS\",\"$OSNAME\",\"$+\",\"$^X\",\"$OUTPUT_AUTO_FLUSH\",\"$,\",\"$_\",\"$OUTPUT_FIELD_SEPARATOR\",\"$-\",\"$`\",\"$OUTPUT_RECORD_SEPARATOR\",\"$.\",\"$a\",\"$PERL_VERSION\",\"$/\",\"$ACCUMULATOR\",\"$PERLDB\",\"$0\",\"$ARG\",\"$PID\",\"$:\",\"$ARGV\",\"$POSTMATCH\",\"$;\",\"$b\",\"$PREMATCH\",\"$<\",\"$BASETIME\",\"$PROCESS_ID\",\"$=\",\"$CHILD_ERROR\",\"$PROGRAM_NAME\",\"$>\",\"$COMPILING\",\"$REAL_GROUP_ID\",\"$?\",\"$DEBUGGING\",\"$REAL_USER_ID\",\"$@\",\"$EFFECTIVE_GROUP_ID\",\"$RS\",\"$[\",\"$EFFECTIVE_USER_ID\",\"$SUBSCRIPT_SEPARATOR\",\"$\\\\\",\"$EGID\",\"$SUBSEP\",\"$]\",\"$ERRNO\",\"$SYSTEM_FD_MAX\",\"$^\",\"$EUID\",\"$UID\",\"$^A\",\"$EVAL_ERROR\",\"$WARNING\",\"$^C\",\"$EXCEPTIONS_BEING_CAUGHT\",\"$|\",\"$^CHILD_ERROR_NATIVE\",\"$EXECUTABLE_NAME\",\"$~\",\"$^D\",\"$EXTENDED_OS_ERROR\",\"%!\",\"$^E\",\"$FORMAT_FORMFEED\",\"%^H\",\"$^ENCODING\",\"$FORMAT_LINE_BREAK_CHARACTERS\",\"%ENV\",\"$^F\",\"$FORMAT_LINES_LEFT\",\"%INC\",\"$^H\",\"$FORMAT_LINES_PER_PAGE\",\"%OVERLOAD\",\"$^I\",\"$FORMAT_NAME\",\"%SIG\",\"$^L\",\"$FORMAT_PAGE_NUMBER\",\"@+\",\"$^M\",\"$FORMAT_TOP_NAME\",\"@-\",\"$^N\",\"$GID\",\"@_\",\"$^O\",\"$INPLACE_EDIT\",\"@ARGV\",\"$^OPEN\",\"$INPUT_LINE_NUMBER\",\"@INC\",\"$^P\",\"$INPUT_RECORD_SEPARATOR\",\"@LAST_MATCH_START\",\"$^R\",\"$LAST_MATCH_END\",\"$^RE_DEBUG_FLAGS\",\"$LAST_PAREN_MATCH\"],symbols:/[:+\\-\\^*$&%@=<>!?|\\/~\\.]/,quoteLikeOps:[\"qr\",\"m\",\"s\",\"q\",\"qq\",\"qx\",\"qw\",\"tr\",\"y\"],escapes:/\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:\"@whitespace\"},[/[a-zA-Z\\-_][\\w\\-_]*/,{cases:{\"@keywords\":\"keyword\",\"@builtinFunctions\":\"type.identifier\",\"@builtinFileHandlers\":\"variable.predefined\",\"@quoteLikeOps\":{token:\"@rematch\",next:\"quotedConstructs\"},\"@default\":\"\"}}],[/[\\$@%][*@#?\\+\\-\\$!\\w\\\\\\^><~:;\\.]+/,{cases:{\"@builtinVariables\":\"variable.predefined\",\"@default\":\"variable\"}}],{include:\"@strings\"},{include:\"@dblStrings\"},{include:\"@perldoc\"},{include:\"@heredoc\"},[/[{}\\[\\]()]/,\"@brackets\"],[/[\\/](?:(?:\\[(?:\\\\]|[^\\]])+\\])|(?:\\\\\\/|[^\\]\\/]))*[\\/]\\w*\\s*(?=[).,;]|$)/,\"regexp\"],[/@symbols/,\"operators\"],{include:\"@numbers\"},[/[,;]/,\"delimiter\"]],whitespace:[[/\\s+/,\"white\"],[/(^#!.*$)/,\"metatag\"],[/(^#.*$)/,\"comment\"]],numbers:[[/\\d*\\.\\d+([eE][\\-+]?\\d+)?/,\"number.float\"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,\"number.hex\"],[/\\d+/,\"number\"]],strings:[[/'/,\"string\",\"@stringBody\"]],stringBody:[[/'/,\"string\",\"@popall\"],[/\\\\'/,\"string.escape\"],[/./,\"string\"]],dblStrings:[[/\"/,\"string\",\"@dblStringBody\"]],dblStringBody:[[/\"/,\"string\",\"@popall\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],{include:\"@variables\"},[/./,\"string\"]],quotedConstructs:[[/(q|qw|tr|y)\\s*\\(/,{token:\"string.delim\",switchTo:\"@qstring.(.)\"}],[/(q|qw|tr|y)\\s*\\[/,{token:\"string.delim\",switchTo:\"@qstring.[.]\"}],[/(q|qw|tr|y)\\s*\\{/,{token:\"string.delim\",switchTo:\"@qstring.{.}\"}],[/(q|qw|tr|y)\\s*</,{token:\"string.delim\",switchTo:\"@qstring.<.>\"}],[/(q|qw|tr|y)#/,{token:\"string.delim\",switchTo:\"@qstring.#.#\"}],[/(q|qw|tr|y)\\s*([^A-Za-z0-9#\\s])/,{token:\"string.delim\",switchTo:\"@qstring.$2.$2\"}],[/(q|qw|tr|y)\\s+(\\w)/,{token:\"string.delim\",switchTo:\"@qstring.$2.$2\"}],[/(qr|m|s)\\s*\\(/,{token:\"regexp.delim\",switchTo:\"@qregexp.(.)\"}],[/(qr|m|s)\\s*\\[/,{token:\"regexp.delim\",switchTo:\"@qregexp.[.]\"}],[/(qr|m|s)\\s*\\{/,{token:\"regexp.delim\",switchTo:\"@qregexp.{.}\"}],[/(qr|m|s)\\s*</,{token:\"regexp.delim\",switchTo:\"@qregexp.<.>\"}],[/(qr|m|s)#/,{token:\"regexp.delim\",switchTo:\"@qregexp.#.#\"}],[/(qr|m|s)\\s*([^A-Za-z0-9_#\\s])/,{token:\"regexp.delim\",switchTo:\"@qregexp.$2.$2\"}],[/(qr|m|s)\\s+(\\w)/,{token:\"regexp.delim\",switchTo:\"@qregexp.$2.$2\"}],[/(qq|qx)\\s*\\(/,{token:\"string.delim\",switchTo:\"@qqstring.(.)\"}],[/(qq|qx)\\s*\\[/,{token:\"string.delim\",switchTo:\"@qqstring.[.]\"}],[/(qq|qx)\\s*\\{/,{token:\"string.delim\",switchTo:\"@qqstring.{.}\"}],[/(qq|qx)\\s*</,{token:\"string.delim\",switchTo:\"@qqstring.<.>\"}],[/(qq|qx)#/,{token:\"string.delim\",switchTo:\"@qqstring.#.#\"}],[/(qq|qx)\\s*([^A-Za-z0-9#\\s])/,{token:\"string.delim\",switchTo:\"@qqstring.$2.$2\"}],[/(qq|qx)\\s+(\\w)/,{token:\"string.delim\",switchTo:\"@qqstring.$2.$2\"}]],qstring:[[/\\\\./,\"string.escape\"],[/./,{cases:{\"$#==$S3\":{token:\"string.delim\",next:\"@pop\"},\"$#==$S2\":{token:\"string.delim\",next:\"@push\"},\"@default\":\"string\"}}]],qregexp:[{include:\"@variables\"},[/\\\\./,\"regexp.escape\"],[/./,{cases:{\"$#==$S3\":{token:\"regexp.delim\",next:\"@regexpModifiers\"},\"$#==$S2\":{token:\"regexp.delim\",next:\"@push\"},\"@default\":\"regexp\"}}]],regexpModifiers:[[/[msixpodualngcer]+/,{token:\"regexp.modifier\",next:\"@popall\"}]],qqstring:[{include:\"@variables\"},{include:\"@qstring\"}],heredoc:[[/<<\\s*['\"`]?([\\w\\-]+)['\"`]?/,{token:\"string.heredoc.delimiter\",next:\"@heredocBody.$1\"}]],heredocBody:[[/^([\\w\\-]+)$/,{cases:{\"$1==$S2\":[{token:\"string.heredoc.delimiter\",next:\"@popall\"}],\"@default\":\"string.heredoc\"}}],[/./,\"string.heredoc\"]],perldoc:[[/^=\\w/,\"comment.doc\",\"@perldocBody\"]],perldocBody:[[/^=cut\\b/,\"type.identifier\",\"@popall\"],[/./,\"comment.doc\"]],variables:[[/\\$\\w+/,\"variable\"],[/@\\w+/,\"variable\"],[/%\\w+/,\"variable\"]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/pgsql.5f6e4267.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"--\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}]},_={defaultToken:\"\",tokenPostfix:\".sql\",ignoreCase:!0,brackets:[{open:\"[\",close:\"]\",token:\"delimiter.square\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"}],keywords:[\"ALL\",\"ANALYSE\",\"ANALYZE\",\"AND\",\"ANY\",\"ARRAY\",\"AS\",\"ASC\",\"ASYMMETRIC\",\"AUTHORIZATION\",\"BINARY\",\"BOTH\",\"CASE\",\"CAST\",\"CHECK\",\"COLLATE\",\"COLLATION\",\"COLUMN\",\"CONCURRENTLY\",\"CONSTRAINT\",\"CREATE\",\"CROSS\",\"CURRENT_CATALOG\",\"CURRENT_DATE\",\"CURRENT_ROLE\",\"CURRENT_SCHEMA\",\"CURRENT_TIME\",\"CURRENT_TIMESTAMP\",\"CURRENT_USER\",\"DEFAULT\",\"DEFERRABLE\",\"DESC\",\"DISTINCT\",\"DO\",\"ELSE\",\"END\",\"EXCEPT\",\"FALSE\",\"FETCH\",\"FOR\",\"FOREIGN\",\"FREEZE\",\"FROM\",\"FULL\",\"GRANT\",\"GROUP\",\"HAVING\",\"ILIKE\",\"IN\",\"INITIALLY\",\"INNER\",\"INTERSECT\",\"INTO\",\"IS\",\"ISNULL\",\"JOIN\",\"LATERAL\",\"LEADING\",\"LEFT\",\"LIKE\",\"LIMIT\",\"LOCALTIME\",\"LOCALTIMESTAMP\",\"NATURAL\",\"NOT\",\"NOTNULL\",\"NULL\",\"OFFSET\",\"ON\",\"ONLY\",\"OR\",\"ORDER\",\"OUTER\",\"OVERLAPS\",\"PLACING\",\"PRIMARY\",\"REFERENCES\",\"RETURNING\",\"RIGHT\",\"SELECT\",\"SESSION_USER\",\"SIMILAR\",\"SOME\",\"SYMMETRIC\",\"TABLE\",\"TABLESAMPLE\",\"THEN\",\"TO\",\"TRAILING\",\"TRUE\",\"UNION\",\"UNIQUE\",\"USER\",\"USING\",\"VARIADIC\",\"VERBOSE\",\"WHEN\",\"WHERE\",\"WINDOW\",\"WITH\"],operators:[\"AND\",\"BETWEEN\",\"IN\",\"LIKE\",\"NOT\",\"OR\",\"IS\",\"NULL\",\"INTERSECT\",\"UNION\",\"INNER\",\"JOIN\",\"LEFT\",\"OUTER\",\"RIGHT\"],builtinFunctions:[\"abbrev\",\"abs\",\"acldefault\",\"aclexplode\",\"acos\",\"acosd\",\"acosh\",\"age\",\"any\",\"area\",\"array_agg\",\"array_append\",\"array_cat\",\"array_dims\",\"array_fill\",\"array_length\",\"array_lower\",\"array_ndims\",\"array_position\",\"array_positions\",\"array_prepend\",\"array_remove\",\"array_replace\",\"array_to_json\",\"array_to_string\",\"array_to_tsvector\",\"array_upper\",\"ascii\",\"asin\",\"asind\",\"asinh\",\"atan\",\"atan2\",\"atan2d\",\"atand\",\"atanh\",\"avg\",\"bit\",\"bit_and\",\"bit_count\",\"bit_length\",\"bit_or\",\"bit_xor\",\"bool_and\",\"bool_or\",\"bound_box\",\"box\",\"brin_desummarize_range\",\"brin_summarize_new_values\",\"brin_summarize_range\",\"broadcast\",\"btrim\",\"cardinality\",\"cbrt\",\"ceil\",\"ceiling\",\"center\",\"char_length\",\"character_length\",\"chr\",\"circle\",\"clock_timestamp\",\"coalesce\",\"col_description\",\"concat\",\"concat_ws\",\"convert\",\"convert_from\",\"convert_to\",\"corr\",\"cos\",\"cosd\",\"cosh\",\"cot\",\"cotd\",\"count\",\"covar_pop\",\"covar_samp\",\"cume_dist\",\"current_catalog\",\"current_database\",\"current_date\",\"current_query\",\"current_role\",\"current_schema\",\"current_schemas\",\"current_setting\",\"current_time\",\"current_timestamp\",\"current_user\",\"currval\",\"cursor_to_xml\",\"cursor_to_xmlschema\",\"date_bin\",\"date_part\",\"date_trunc\",\"database_to_xml\",\"database_to_xml_and_xmlschema\",\"database_to_xmlschema\",\"decode\",\"degrees\",\"dense_rank\",\"diagonal\",\"diameter\",\"div\",\"encode\",\"enum_first\",\"enum_last\",\"enum_range\",\"every\",\"exp\",\"extract\",\"factorial\",\"family\",\"first_value\",\"floor\",\"format\",\"format_type\",\"gcd\",\"gen_random_uuid\",\"generate_series\",\"generate_subscripts\",\"get_bit\",\"get_byte\",\"get_current_ts_config\",\"gin_clean_pending_list\",\"greatest\",\"grouping\",\"has_any_column_privilege\",\"has_column_privilege\",\"has_database_privilege\",\"has_foreign_data_wrapper_privilege\",\"has_function_privilege\",\"has_language_privilege\",\"has_schema_privilege\",\"has_sequence_privilege\",\"has_server_privilege\",\"has_table_privilege\",\"has_tablespace_privilege\",\"has_type_privilege\",\"height\",\"host\",\"hostmask\",\"inet_client_addr\",\"inet_client_port\",\"inet_merge\",\"inet_same_family\",\"inet_server_addr\",\"inet_server_port\",\"initcap\",\"isclosed\",\"isempty\",\"isfinite\",\"isopen\",\"json_agg\",\"json_array_elements\",\"json_array_elements_text\",\"json_array_length\",\"json_build_array\",\"json_build_object\",\"json_each\",\"json_each_text\",\"json_extract_path\",\"json_extract_path_text\",\"json_object\",\"json_object_agg\",\"json_object_keys\",\"json_populate_record\",\"json_populate_recordset\",\"json_strip_nulls\",\"json_to_record\",\"json_to_recordset\",\"json_to_tsvector\",\"json_typeof\",\"jsonb_agg\",\"jsonb_array_elements\",\"jsonb_array_elements_text\",\"jsonb_array_length\",\"jsonb_build_array\",\"jsonb_build_object\",\"jsonb_each\",\"jsonb_each_text\",\"jsonb_extract_path\",\"jsonb_extract_path_text\",\"jsonb_insert\",\"jsonb_object\",\"jsonb_object_agg\",\"jsonb_object_keys\",\"jsonb_path_exists\",\"jsonb_path_match\",\"jsonb_path_query\",\"jsonb_path_query_array\",\"jsonb_path_exists_tz\",\"jsonb_path_query_first\",\"jsonb_path_query_array_tz\",\"jsonb_path_query_first_tz\",\"jsonb_path_query_tz\",\"jsonb_path_match_tz\",\"jsonb_populate_record\",\"jsonb_populate_recordset\",\"jsonb_pretty\",\"jsonb_set\",\"jsonb_set_lax\",\"jsonb_strip_nulls\",\"jsonb_to_record\",\"jsonb_to_recordset\",\"jsonb_to_tsvector\",\"jsonb_typeof\",\"justify_days\",\"justify_hours\",\"justify_interval\",\"lag\",\"last_value\",\"lastval\",\"lcm\",\"lead\",\"least\",\"left\",\"length\",\"line\",\"ln\",\"localtime\",\"localtimestamp\",\"log\",\"log10\",\"lower\",\"lower_inc\",\"lower_inf\",\"lpad\",\"lseg\",\"ltrim\",\"macaddr8_set7bit\",\"make_date\",\"make_interval\",\"make_time\",\"make_timestamp\",\"make_timestamptz\",\"makeaclitem\",\"masklen\",\"max\",\"md5\",\"min\",\"min_scale\",\"mod\",\"mode\",\"multirange\",\"netmask\",\"network\",\"nextval\",\"normalize\",\"now\",\"npoints\",\"nth_value\",\"ntile\",\"nullif\",\"num_nonnulls\",\"num_nulls\",\"numnode\",\"obj_description\",\"octet_length\",\"overlay\",\"parse_ident\",\"path\",\"pclose\",\"percent_rank\",\"percentile_cont\",\"percentile_disc\",\"pg_advisory_lock\",\"pg_advisory_lock_shared\",\"pg_advisory_unlock\",\"pg_advisory_unlock_all\",\"pg_advisory_unlock_shared\",\"pg_advisory_xact_lock\",\"pg_advisory_xact_lock_shared\",\"pg_backend_pid\",\"pg_backup_start_time\",\"pg_blocking_pids\",\"pg_cancel_backend\",\"pg_client_encoding\",\"pg_collation_actual_version\",\"pg_collation_is_visible\",\"pg_column_compression\",\"pg_column_size\",\"pg_conf_load_time\",\"pg_control_checkpoint\",\"pg_control_init\",\"pg_control_recovery\",\"pg_control_system\",\"pg_conversion_is_visible\",\"pg_copy_logical_replication_slot\",\"pg_copy_physical_replication_slot\",\"pg_create_logical_replication_slot\",\"pg_create_physical_replication_slot\",\"pg_create_restore_point\",\"pg_current_logfile\",\"pg_current_snapshot\",\"pg_current_wal_flush_lsn\",\"pg_current_wal_insert_lsn\",\"pg_current_wal_lsn\",\"pg_current_xact_id\",\"pg_current_xact_id_if_assigned\",\"pg_current_xlog_flush_location\",\"pg_current_xlog_insert_location\",\"pg_current_xlog_location\",\"pg_database_size\",\"pg_describe_object\",\"pg_drop_replication_slot\",\"pg_event_trigger_ddl_commands\",\"pg_event_trigger_dropped_objects\",\"pg_event_trigger_table_rewrite_oid\",\"pg_event_trigger_table_rewrite_reason\",\"pg_export_snapshot\",\"pg_filenode_relation\",\"pg_function_is_visible\",\"pg_get_catalog_foreign_keys\",\"pg_get_constraintdef\",\"pg_get_expr\",\"pg_get_function_arguments\",\"pg_get_function_identity_arguments\",\"pg_get_function_result\",\"pg_get_functiondef\",\"pg_get_indexdef\",\"pg_get_keywords\",\"pg_get_object_address\",\"pg_get_owned_sequence\",\"pg_get_ruledef\",\"pg_get_serial_sequence\",\"pg_get_statisticsobjdef\",\"pg_get_triggerdef\",\"pg_get_userbyid\",\"pg_get_viewdef\",\"pg_get_wal_replay_pause_state\",\"pg_has_role\",\"pg_identify_object\",\"pg_identify_object_as_address\",\"pg_import_system_collations\",\"pg_index_column_has_property\",\"pg_index_has_property\",\"pg_indexam_has_property\",\"pg_indexes_size\",\"pg_is_in_backup\",\"pg_is_in_recovery\",\"pg_is_other_temp_schema\",\"pg_is_wal_replay_paused\",\"pg_is_xlog_replay_paused\",\"pg_jit_available\",\"pg_last_committed_xact\",\"pg_last_wal_receive_lsn\",\"pg_last_wal_replay_lsn\",\"pg_last_xact_replay_timestamp\",\"pg_last_xlog_receive_location\",\"pg_last_xlog_replay_location\",\"pg_listening_channels\",\"pg_log_backend_memory_contexts\",\"pg_logical_emit_message\",\"pg_logical_slot_get_binary_changes\",\"pg_logical_slot_get_changes\",\"pg_logical_slot_peek_binary_changes\",\"pg_logical_slot_peek_changes\",\"pg_ls_archive_statusdir\",\"pg_ls_dir\",\"pg_ls_logdir\",\"pg_ls_tmpdir\",\"pg_ls_waldir\",\"pg_mcv_list_items\",\"pg_my_temp_schema\",\"pg_notification_queue_usage\",\"pg_opclass_is_visible\",\"pg_operator_is_visible\",\"pg_opfamily_is_visible\",\"pg_options_to_table\",\"pg_partition_ancestors\",\"pg_partition_root\",\"pg_partition_tree\",\"pg_postmaster_start_time\",\"pg_promote\",\"pg_read_binary_file\",\"pg_read_file\",\"pg_relation_filenode\",\"pg_relation_filepath\",\"pg_relation_size\",\"pg_reload_conf\",\"pg_replication_origin_advance\",\"pg_replication_origin_create\",\"pg_replication_origin_drop\",\"pg_replication_origin_oid\",\"pg_replication_origin_progress\",\"pg_replication_origin_session_is_setup\",\"pg_replication_origin_session_progress\",\"pg_replication_origin_session_reset\",\"pg_replication_origin_session_setup\",\"pg_replication_origin_xact_reset\",\"pg_replication_origin_xact_setup\",\"pg_replication_slot_advance\",\"pg_rotate_logfile\",\"pg_safe_snapshot_blocking_pids\",\"pg_size_bytes\",\"pg_size_pretty\",\"pg_sleep\",\"pg_sleep_for\",\"pg_sleep_until\",\"pg_snapshot_xip\",\"pg_snapshot_xmax\",\"pg_snapshot_xmin\",\"pg_start_backup\",\"pg_stat_file\",\"pg_statistics_obj_is_visible\",\"pg_stop_backup\",\"pg_switch_wal\",\"pg_switch_xlog\",\"pg_table_is_visible\",\"pg_table_size\",\"pg_tablespace_databases\",\"pg_tablespace_location\",\"pg_tablespace_size\",\"pg_terminate_backend\",\"pg_total_relation_size\",\"pg_trigger_depth\",\"pg_try_advisory_lock\",\"pg_try_advisory_lock_shared\",\"pg_try_advisory_xact_lock\",\"pg_try_advisory_xact_lock_shared\",\"pg_ts_config_is_visible\",\"pg_ts_dict_is_visible\",\"pg_ts_parser_is_visible\",\"pg_ts_template_is_visible\",\"pg_type_is_visible\",\"pg_typeof\",\"pg_visible_in_snapshot\",\"pg_wal_lsn_diff\",\"pg_wal_replay_pause\",\"pg_wal_replay_resume\",\"pg_walfile_name\",\"pg_walfile_name_offset\",\"pg_xact_commit_timestamp\",\"pg_xact_commit_timestamp_origin\",\"pg_xact_status\",\"pg_xlog_location_diff\",\"pg_xlog_replay_pause\",\"pg_xlog_replay_resume\",\"pg_xlogfile_name\",\"pg_xlogfile_name_offset\",\"phraseto_tsquery\",\"pi\",\"plainto_tsquery\",\"point\",\"polygon\",\"popen\",\"position\",\"power\",\"pqserverversion\",\"query_to_xml\",\"query_to_xml_and_xmlschema\",\"query_to_xmlschema\",\"querytree\",\"quote_ident\",\"quote_literal\",\"quote_nullable\",\"radians\",\"radius\",\"random\",\"range_agg\",\"range_intersect_agg\",\"range_merge\",\"rank\",\"regexp_match\",\"regexp_matches\",\"regexp_replace\",\"regexp_split_to_array\",\"regexp_split_to_table\",\"regr_avgx\",\"regr_avgy\",\"regr_count\",\"regr_intercept\",\"regr_r2\",\"regr_slope\",\"regr_sxx\",\"regr_sxy\",\"regr_syy\",\"repeat\",\"replace\",\"reverse\",\"right\",\"round\",\"row_number\",\"row_security_active\",\"row_to_json\",\"rpad\",\"rtrim\",\"scale\",\"schema_to_xml\",\"schema_to_xml_and_xmlschema\",\"schema_to_xmlschema\",\"session_user\",\"set_bit\",\"set_byte\",\"set_config\",\"set_masklen\",\"setseed\",\"setval\",\"setweight\",\"sha224\",\"sha256\",\"sha384\",\"sha512\",\"shobj_description\",\"sign\",\"sin\",\"sind\",\"sinh\",\"slope\",\"split_part\",\"sprintf\",\"sqrt\",\"starts_with\",\"statement_timestamp\",\"stddev\",\"stddev_pop\",\"stddev_samp\",\"string_agg\",\"string_to_array\",\"string_to_table\",\"strip\",\"strpos\",\"substr\",\"substring\",\"sum\",\"suppress_redundant_updates_trigger\",\"table_to_xml\",\"table_to_xml_and_xmlschema\",\"table_to_xmlschema\",\"tan\",\"tand\",\"tanh\",\"text\",\"timeofday\",\"timezone\",\"to_ascii\",\"to_char\",\"to_date\",\"to_hex\",\"to_json\",\"to_number\",\"to_regclass\",\"to_regcollation\",\"to_regnamespace\",\"to_regoper\",\"to_regoperator\",\"to_regproc\",\"to_regprocedure\",\"to_regrole\",\"to_regtype\",\"to_timestamp\",\"to_tsquery\",\"to_tsvector\",\"transaction_timestamp\",\"translate\",\"trim\",\"trim_array\",\"trim_scale\",\"trunc\",\"ts_debug\",\"ts_delete\",\"ts_filter\",\"ts_headline\",\"ts_lexize\",\"ts_parse\",\"ts_rank\",\"ts_rank_cd\",\"ts_rewrite\",\"ts_stat\",\"ts_token_type\",\"tsquery_phrase\",\"tsvector_to_array\",\"tsvector_update_trigger\",\"tsvector_update_trigger_column\",\"txid_current\",\"txid_current_if_assigned\",\"txid_current_snapshot\",\"txid_snapshot_xip\",\"txid_snapshot_xmax\",\"txid_snapshot_xmin\",\"txid_status\",\"txid_visible_in_snapshot\",\"unistr\",\"unnest\",\"upper\",\"upper_inc\",\"upper_inf\",\"user\",\"var_pop\",\"var_samp\",\"variance\",\"version\",\"websearch_to_tsquery\",\"width\",\"width_bucket\",\"xml_is_well_formed\",\"xml_is_well_formed_content\",\"xml_is_well_formed_document\",\"xmlagg\",\"xmlcomment\",\"xmlconcat\",\"xmlelement\",\"xmlexists\",\"xmlforest\",\"xmlparse\",\"xmlpi\",\"xmlroot\",\"xmlserialize\",\"xpath\",\"xpath_exists\"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:\"@comments\"},{include:\"@whitespace\"},{include:\"@pseudoColumns\"},{include:\"@numbers\"},{include:\"@strings\"},{include:\"@complexIdentifiers\"},{include:\"@scopes\"},[/[;,.]/,\"delimiter\"],[/[()]/,\"@brackets\"],[/[\\w@#$]+/,{cases:{\"@operators\":\"operator\",\"@builtinVariables\":\"predefined\",\"@builtinFunctions\":\"predefined\",\"@keywords\":\"keyword\",\"@default\":\"identifier\"}}],[/[<>=!%&+\\-*/|~^]/,\"operator\"]],whitespace:[[/\\s+/,\"white\"]],comments:[[/--+.*/,\"comment\"],[/\\/\\*/,{token:\"comment.quote\",next:\"@comment\"}]],comment:[[/[^*/]+/,\"comment\"],[/\\*\\//,{token:\"comment.quote\",next:\"@pop\"}],[/./,\"comment\"]],pseudoColumns:[[/[$][A-Za-z_][\\w@#$]*/,{cases:{\"@pseudoColumns\":\"predefined\",\"@default\":\"identifier\"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,\"number\"],[/[$][+-]*\\d*(\\.\\d*)?/,\"number\"],[/((\\d+(\\.\\d*)?)|(\\.\\d+))([eE][\\-+]?\\d+)?/,\"number\"]],strings:[[/'/,{token:\"string\",next:\"@string\"}]],string:[[/[^']+/,\"string\"],[/''/,\"string\"],[/'/,{token:\"string\",next:\"@pop\"}]],complexIdentifiers:[[/\"/,{token:\"identifier.quote\",next:\"@quotedIdentifier\"}]],quotedIdentifier:[[/[^\"]+/,\"identifier\"],[/\"\"/,\"identifier\"],[/\"/,{token:\"identifier.quote\",next:\"@pop\"}]],scopes:[]}};export{e as conf,_ as language};\n"
  },
  {
    "path": "client/dist/assets/php.052c065c.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={wordPattern:/(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)/g,comments:{lineComment:\"//\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\",notIn:[\"string\"]},{open:\"[\",close:\"]\",notIn:[\"string\"]},{open:\"(\",close:\")\",notIn:[\"string\"]},{open:'\"',close:'\"',notIn:[\"string\"]},{open:\"'\",close:\"'\",notIn:[\"string\",\"comment\"]}],folding:{markers:{start:new RegExp(\"^\\\\s*(#|//)region\\\\b\"),end:new RegExp(\"^\\\\s*(#|//)endregion\\\\b\")}}},t={defaultToken:\"\",tokenPostfix:\"\",tokenizer:{root:[[/<\\?((php)|=)?/,{token:\"@rematch\",switchTo:\"@phpInSimpleState.root\"}],[/<!DOCTYPE/,\"metatag.html\",\"@doctype\"],[/<!--/,\"comment.html\",\"@comment\"],[/(<)(\\w+)(\\/>)/,[\"delimiter.html\",\"tag.html\",\"delimiter.html\"]],[/(<)(script)/,[\"delimiter.html\",{token:\"tag.html\",next:\"@script\"}]],[/(<)(style)/,[\"delimiter.html\",{token:\"tag.html\",next:\"@style\"}]],[/(<)([:\\w]+)/,[\"delimiter.html\",{token:\"tag.html\",next:\"@otherTag\"}]],[/(<\\/)(\\w+)/,[\"delimiter.html\",{token:\"tag.html\",next:\"@otherTag\"}]],[/</,\"delimiter.html\"],[/[^<]+/]],doctype:[[/<\\?((php)|=)?/,{token:\"@rematch\",switchTo:\"@phpInSimpleState.comment\"}],[/[^>]+/,\"metatag.content.html\"],[/>/,\"metatag.html\",\"@pop\"]],comment:[[/<\\?((php)|=)?/,{token:\"@rematch\",switchTo:\"@phpInSimpleState.comment\"}],[/-->/,\"comment.html\",\"@pop\"],[/[^-]+/,\"comment.content.html\"],[/./,\"comment.content.html\"]],otherTag:[[/<\\?((php)|=)?/,{token:\"@rematch\",switchTo:\"@phpInSimpleState.otherTag\"}],[/\\/?>/,\"delimiter.html\",\"@pop\"],[/\"([^\"]*)\"/,\"attribute.value\"],[/'([^']*)'/,\"attribute.value\"],[/[\\w\\-]+/,\"attribute.name\"],[/=/,\"delimiter\"],[/[ \\t\\r\\n]+/]],script:[[/<\\?((php)|=)?/,{token:\"@rematch\",switchTo:\"@phpInSimpleState.script\"}],[/type/,\"attribute.name\",\"@scriptAfterType\"],[/\"([^\"]*)\"/,\"attribute.value\"],[/'([^']*)'/,\"attribute.value\"],[/[\\w\\-]+/,\"attribute.name\"],[/=/,\"delimiter\"],[/>/,{token:\"delimiter.html\",next:\"@scriptEmbedded.text/javascript\",nextEmbedded:\"text/javascript\"}],[/[ \\t\\r\\n]+/],[/(<\\/)(script\\s*)(>)/,[\"delimiter.html\",\"tag.html\",{token:\"delimiter.html\",next:\"@pop\"}]]],scriptAfterType:[[/<\\?((php)|=)?/,{token:\"@rematch\",switchTo:\"@phpInSimpleState.scriptAfterType\"}],[/=/,\"delimiter\",\"@scriptAfterTypeEquals\"],[/>/,{token:\"delimiter.html\",next:\"@scriptEmbedded.text/javascript\",nextEmbedded:\"text/javascript\"}],[/[ \\t\\r\\n]+/],[/<\\/script\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],scriptAfterTypeEquals:[[/<\\?((php)|=)?/,{token:\"@rematch\",switchTo:\"@phpInSimpleState.scriptAfterTypeEquals\"}],[/\"([^\"]*)\"/,{token:\"attribute.value\",switchTo:\"@scriptWithCustomType.$1\"}],[/'([^']*)'/,{token:\"attribute.value\",switchTo:\"@scriptWithCustomType.$1\"}],[/>/,{token:\"delimiter.html\",next:\"@scriptEmbedded.text/javascript\",nextEmbedded:\"text/javascript\"}],[/[ \\t\\r\\n]+/],[/<\\/script\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],scriptWithCustomType:[[/<\\?((php)|=)?/,{token:\"@rematch\",switchTo:\"@phpInSimpleState.scriptWithCustomType.$S2\"}],[/>/,{token:\"delimiter.html\",next:\"@scriptEmbedded.$S2\",nextEmbedded:\"$S2\"}],[/\"([^\"]*)\"/,\"attribute.value\"],[/'([^']*)'/,\"attribute.value\"],[/[\\w\\-]+/,\"attribute.name\"],[/=/,\"delimiter\"],[/[ \\t\\r\\n]+/],[/<\\/script\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],scriptEmbedded:[[/<\\?((php)|=)?/,{token:\"@rematch\",switchTo:\"@phpInEmbeddedState.scriptEmbedded.$S2\",nextEmbedded:\"@pop\"}],[/<\\/script/,{token:\"@rematch\",next:\"@pop\",nextEmbedded:\"@pop\"}]],style:[[/<\\?((php)|=)?/,{token:\"@rematch\",switchTo:\"@phpInSimpleState.style\"}],[/type/,\"attribute.name\",\"@styleAfterType\"],[/\"([^\"]*)\"/,\"attribute.value\"],[/'([^']*)'/,\"attribute.value\"],[/[\\w\\-]+/,\"attribute.name\"],[/=/,\"delimiter\"],[/>/,{token:\"delimiter.html\",next:\"@styleEmbedded.text/css\",nextEmbedded:\"text/css\"}],[/[ \\t\\r\\n]+/],[/(<\\/)(style\\s*)(>)/,[\"delimiter.html\",\"tag.html\",{token:\"delimiter.html\",next:\"@pop\"}]]],styleAfterType:[[/<\\?((php)|=)?/,{token:\"@rematch\",switchTo:\"@phpInSimpleState.styleAfterType\"}],[/=/,\"delimiter\",\"@styleAfterTypeEquals\"],[/>/,{token:\"delimiter.html\",next:\"@styleEmbedded.text/css\",nextEmbedded:\"text/css\"}],[/[ \\t\\r\\n]+/],[/<\\/style\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],styleAfterTypeEquals:[[/<\\?((php)|=)?/,{token:\"@rematch\",switchTo:\"@phpInSimpleState.styleAfterTypeEquals\"}],[/\"([^\"]*)\"/,{token:\"attribute.value\",switchTo:\"@styleWithCustomType.$1\"}],[/'([^']*)'/,{token:\"attribute.value\",switchTo:\"@styleWithCustomType.$1\"}],[/>/,{token:\"delimiter.html\",next:\"@styleEmbedded.text/css\",nextEmbedded:\"text/css\"}],[/[ \\t\\r\\n]+/],[/<\\/style\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],styleWithCustomType:[[/<\\?((php)|=)?/,{token:\"@rematch\",switchTo:\"@phpInSimpleState.styleWithCustomType.$S2\"}],[/>/,{token:\"delimiter.html\",next:\"@styleEmbedded.$S2\",nextEmbedded:\"$S2\"}],[/\"([^\"]*)\"/,\"attribute.value\"],[/'([^']*)'/,\"attribute.value\"],[/[\\w\\-]+/,\"attribute.name\"],[/=/,\"delimiter\"],[/[ \\t\\r\\n]+/],[/<\\/style\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],styleEmbedded:[[/<\\?((php)|=)?/,{token:\"@rematch\",switchTo:\"@phpInEmbeddedState.styleEmbedded.$S2\",nextEmbedded:\"@pop\"}],[/<\\/style/,{token:\"@rematch\",next:\"@pop\",nextEmbedded:\"@pop\"}]],phpInSimpleState:[[/<\\?((php)|=)?/,\"metatag.php\"],[/\\?>/,{token:\"metatag.php\",switchTo:\"@$S2.$S3\"}],{include:\"phpRoot\"}],phpInEmbeddedState:[[/<\\?((php)|=)?/,\"metatag.php\"],[/\\?>/,{token:\"metatag.php\",switchTo:\"@$S2.$S3\",nextEmbedded:\"$S3\"}],{include:\"phpRoot\"}],phpRoot:[[/[a-zA-Z_]\\w*/,{cases:{\"@phpKeywords\":{token:\"keyword.php\"},\"@phpCompileTimeConstants\":{token:\"constant.php\"},\"@default\":\"identifier.php\"}}],[/[$a-zA-Z_]\\w*/,{cases:{\"@phpPreDefinedVariables\":{token:\"variable.predefined.php\"},\"@default\":\"variable.php\"}}],[/[{}]/,\"delimiter.bracket.php\"],[/[\\[\\]]/,\"delimiter.array.php\"],[/[()]/,\"delimiter.parenthesis.php\"],[/[ \\t\\r\\n]+/],[/(#|\\/\\/)$/,\"comment.php\"],[/(#|\\/\\/)/,\"comment.php\",\"@phpLineComment\"],[/\\/\\*/,\"comment.php\",\"@phpComment\"],[/\"/,\"string.php\",\"@phpDoubleQuoteString\"],[/'/,\"string.php\",\"@phpSingleQuoteString\"],[/[\\+\\-\\*\\%\\&\\|\\^\\~\\!\\=\\<\\>\\/\\?\\;\\:\\.\\,\\@]/,\"delimiter.php\"],[/\\d*\\d+[eE]([\\-+]?\\d+)?/,\"number.float.php\"],[/\\d*\\.\\d+([eE][\\-+]?\\d+)?/,\"number.float.php\"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,\"number.hex.php\"],[/0[0-7']*[0-7]/,\"number.octal.php\"],[/0[bB][0-1']*[0-1]/,\"number.binary.php\"],[/\\d[\\d']*/,\"number.php\"],[/\\d/,\"number.php\"]],phpComment:[[/\\*\\//,\"comment.php\",\"@pop\"],[/[^*]+/,\"comment.php\"],[/./,\"comment.php\"]],phpLineComment:[[/\\?>/,{token:\"@rematch\",next:\"@pop\"}],[/.$/,\"comment.php\",\"@pop\"],[/[^?]+$/,\"comment.php\",\"@pop\"],[/[^?]+/,\"comment.php\"],[/./,\"comment.php\"]],phpDoubleQuoteString:[[/[^\\\\\"]+/,\"string.php\"],[/@escapes/,\"string.escape.php\"],[/\\\\./,\"string.escape.invalid.php\"],[/\"/,\"string.php\",\"@pop\"]],phpSingleQuoteString:[[/[^\\\\']+/,\"string.php\"],[/@escapes/,\"string.escape.php\"],[/\\\\./,\"string.escape.invalid.php\"],[/'/,\"string.php\",\"@pop\"]]},phpKeywords:[\"abstract\",\"and\",\"array\",\"as\",\"break\",\"callable\",\"case\",\"catch\",\"cfunction\",\"class\",\"clone\",\"const\",\"continue\",\"declare\",\"default\",\"do\",\"else\",\"elseif\",\"enddeclare\",\"endfor\",\"endforeach\",\"endif\",\"endswitch\",\"endwhile\",\"extends\",\"false\",\"final\",\"for\",\"foreach\",\"function\",\"global\",\"goto\",\"if\",\"implements\",\"interface\",\"instanceof\",\"insteadof\",\"namespace\",\"new\",\"null\",\"object\",\"old_function\",\"or\",\"private\",\"protected\",\"public\",\"resource\",\"static\",\"switch\",\"throw\",\"trait\",\"try\",\"true\",\"use\",\"var\",\"while\",\"xor\",\"die\",\"echo\",\"empty\",\"exit\",\"eval\",\"include\",\"include_once\",\"isset\",\"list\",\"require\",\"require_once\",\"return\",\"print\",\"unset\",\"yield\",\"__construct\"],phpCompileTimeConstants:[\"__CLASS__\",\"__DIR__\",\"__FILE__\",\"__LINE__\",\"__NAMESPACE__\",\"__METHOD__\",\"__FUNCTION__\",\"__TRAIT__\"],phpPreDefinedVariables:[\"$GLOBALS\",\"$_SERVER\",\"$_GET\",\"$_POST\",\"$_FILES\",\"$_REQUEST\",\"$_SESSION\",\"$_ENV\",\"$_COOKIE\",\"$php_errormsg\",\"$HTTP_RAW_POST_DATA\",\"$http_response_header\",\"$argc\",\"$argv\"],escapes:/\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/pla.bb236946.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"#\"},brackets:[[\"[\",\"]\"],[\"<\",\">\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"[\",close:\"]\"},{open:\"<\",close:\">\"},{open:\"(\",close:\")\"}],surroundingPairs:[{open:\"[\",close:\"]\"},{open:\"<\",close:\">\"},{open:\"(\",close:\")\"}]},o={defaultToken:\"\",tokenPostfix:\".pla\",brackets:[{open:\"[\",close:\"]\",token:\"delimiter.square\"},{open:\"<\",close:\">\",token:\"delimiter.angle\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"}],keywords:[\".i\",\".o\",\".mv\",\".ilb\",\".ob\",\".label\",\".type\",\".phase\",\".pair\",\".symbolic\",\".symbolic-output\",\".kiss\",\".p\",\".e\",\".end\"],comment:/#.*$/,identifier:/[a-zA-Z]+[a-zA-Z0-9_\\-]*/,plaContent:/[01\\-~\\|]+/,tokenizer:{root:[{include:\"@whitespace\"},[/@comment/,\"comment\"],[/\\.([a-zA-Z_\\-]+)/,{cases:{\"@eos\":{token:\"keyword.$1\"},\"@keywords\":{cases:{\".type\":{token:\"keyword.$1\",next:\"@type\"},\"@default\":{token:\"keyword.$1\",next:\"@keywordArg\"}}},\"@default\":{token:\"keyword.$1\"}}}],[/@identifier/,\"identifier\"],[/@plaContent/,\"string\"]],whitespace:[[/[ \\t\\r\\n]+/,\"\"]],type:[{include:\"@whitespace\"},[/\\w+/,{token:\"type\",next:\"@pop\"}]],keywordArg:[[/[ \\t\\r\\n]+/,{cases:{\"@eos\":{token:\"\",next:\"@pop\"},\"@default\":\"\"}}],[/@comment/,\"comment\",\"@pop\"],[/[<>()\\[\\]]/,{cases:{\"@eos\":{token:\"@brackets\",next:\"@pop\"},\"@default\":\"@brackets\"}}],[/\\-?\\d+/,{cases:{\"@eos\":{token:\"number\",next:\"@pop\"},\"@default\":\"number\"}}],[/@identifier/,{cases:{\"@eos\":{token:\"identifier\",next:\"@pop\"},\"@default\":\"identifier\"}}],[/[;=]/,{cases:{\"@eos\":{token:\"delimiter\",next:\"@pop\"},\"@default\":\"delimiter\"}}]]}};export{e as conf,o as language};\n"
  },
  {
    "path": "client/dist/assets/postiats.14dcf648.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"//\",blockComment:[\"(*\",\"*)\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"],[\"<\",\">\"]],autoClosingPairs:[{open:'\"',close:'\"',notIn:[\"string\",\"comment\"]},{open:\"{\",close:\"}\",notIn:[\"string\",\"comment\"]},{open:\"[\",close:\"]\",notIn:[\"string\",\"comment\"]},{open:\"(\",close:\")\",notIn:[\"string\",\"comment\"]}]},t={tokenPostfix:\".pats\",defaultToken:\"invalid\",keywords:[\"abstype\",\"abst0ype\",\"absprop\",\"absview\",\"absvtype\",\"absviewtype\",\"absvt0ype\",\"absviewt0ype\",\"as\",\"and\",\"assume\",\"begin\",\"classdec\",\"datasort\",\"datatype\",\"dataprop\",\"dataview\",\"datavtype\",\"dataviewtype\",\"do\",\"end\",\"extern\",\"extype\",\"extvar\",\"exception\",\"fn\",\"fnx\",\"fun\",\"prfn\",\"prfun\",\"praxi\",\"castfn\",\"if\",\"then\",\"else\",\"ifcase\",\"in\",\"infix\",\"infixl\",\"infixr\",\"prefix\",\"postfix\",\"implmnt\",\"implement\",\"primplmnt\",\"primplement\",\"import\",\"let\",\"local\",\"macdef\",\"macrodef\",\"nonfix\",\"symelim\",\"symintr\",\"overload\",\"of\",\"op\",\"rec\",\"sif\",\"scase\",\"sortdef\",\"sta\",\"stacst\",\"stadef\",\"static\",\"staload\",\"dynload\",\"try\",\"tkindef\",\"typedef\",\"propdef\",\"viewdef\",\"vtypedef\",\"viewtypedef\",\"prval\",\"var\",\"prvar\",\"when\",\"where\",\"with\",\"withtype\",\"withprop\",\"withview\",\"withvtype\",\"withviewtype\"],keywords_dlr:[\"$delay\",\"$ldelay\",\"$arrpsz\",\"$arrptrsize\",\"$d2ctype\",\"$effmask\",\"$effmask_ntm\",\"$effmask_exn\",\"$effmask_ref\",\"$effmask_wrt\",\"$effmask_all\",\"$extern\",\"$extkind\",\"$extype\",\"$extype_struct\",\"$extval\",\"$extfcall\",\"$extmcall\",\"$literal\",\"$myfilename\",\"$mylocation\",\"$myfunction\",\"$lst\",\"$lst_t\",\"$lst_vt\",\"$list\",\"$list_t\",\"$list_vt\",\"$rec\",\"$rec_t\",\"$rec_vt\",\"$record\",\"$record_t\",\"$record_vt\",\"$tup\",\"$tup_t\",\"$tup_vt\",\"$tuple\",\"$tuple_t\",\"$tuple_vt\",\"$break\",\"$continue\",\"$raise\",\"$showtype\",\"$vcopyenv_v\",\"$vcopyenv_vt\",\"$tempenver\",\"$solver_assert\",\"$solver_verify\"],keywords_srp:[\"#if\",\"#ifdef\",\"#ifndef\",\"#then\",\"#elif\",\"#elifdef\",\"#elifndef\",\"#else\",\"#endif\",\"#error\",\"#prerr\",\"#print\",\"#assert\",\"#undef\",\"#define\",\"#include\",\"#require\",\"#pragma\",\"#codegen2\",\"#codegen3\"],irregular_keyword_list:[\"val+\",\"val-\",\"val\",\"case+\",\"case-\",\"case\",\"addr@\",\"addr\",\"fold@\",\"free@\",\"fix@\",\"fix\",\"lam@\",\"lam\",\"llam@\",\"llam\",\"viewt@ype+\",\"viewt@ype-\",\"viewt@ype\",\"viewtype+\",\"viewtype-\",\"viewtype\",\"view+\",\"view-\",\"view@\",\"view\",\"type+\",\"type-\",\"type\",\"vtype+\",\"vtype-\",\"vtype\",\"vt@ype+\",\"vt@ype-\",\"vt@ype\",\"viewt@ype+\",\"viewt@ype-\",\"viewt@ype\",\"viewtype+\",\"viewtype-\",\"viewtype\",\"prop+\",\"prop-\",\"prop\",\"type+\",\"type-\",\"type\",\"t@ype\",\"t@ype+\",\"t@ype-\",\"abst@ype\",\"abstype\",\"absviewt@ype\",\"absvt@ype\",\"for*\",\"for\",\"while*\",\"while\"],keywords_types:[\"bool\",\"double\",\"byte\",\"int\",\"short\",\"char\",\"void\",\"unit\",\"long\",\"float\",\"string\",\"strptr\"],keywords_effects:[\"0\",\"fun\",\"clo\",\"prf\",\"funclo\",\"cloptr\",\"cloref\",\"ref\",\"ntm\",\"1\"],operators:[\"@\",\"!\",\"|\",\"`\",\":\",\"$\",\".\",\"=\",\"#\",\"~\",\"..\",\"...\",\"=>\",\"=<>\",\"=/=>\",\"=>>\",\"=/=>>\",\"<\",\">\",\"><\",\".<\",\">.\",\".<>.\",\"->\",\"-<>\"],brackets:[{open:\",(\",close:\")\",token:\"delimiter.parenthesis\"},{open:\"`(\",close:\")\",token:\"delimiter.parenthesis\"},{open:\"%(\",close:\")\",token:\"delimiter.parenthesis\"},{open:\"'(\",close:\")\",token:\"delimiter.parenthesis\"},{open:\"'{\",close:\"}\",token:\"delimiter.parenthesis\"},{open:\"@(\",close:\")\",token:\"delimiter.parenthesis\"},{open:\"@{\",close:\"}\",token:\"delimiter.brace\"},{open:\"@[\",close:\"]\",token:\"delimiter.square\"},{open:\"#[\",close:\"]\",token:\"delimiter.square\"},{open:\"{\",close:\"}\",token:\"delimiter.curly\"},{open:\"[\",close:\"]\",token:\"delimiter.square\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"},{open:\"<\",close:\">\",token:\"delimiter.angle\"}],symbols:/[=><!~?:&|+\\-*\\/\\^%]+/,IDENTFST:/[a-zA-Z_]/,IDENTRST:/[a-zA-Z0-9_'$]/,symbolic:/[%&+-./:=@~`^|*!$#?<>]/,digit:/[0-9]/,digitseq0:/@digit*/,xdigit:/[0-9A-Za-z]/,xdigitseq0:/@xdigit*/,INTSP:/[lLuU]/,FLOATSP:/[fFlL]/,fexponent:/[eE][+-]?[0-9]+/,fexponent_bin:/[pP][+-]?[0-9]+/,deciexp:/\\.[0-9]*@fexponent?/,hexiexp:/\\.[0-9a-zA-Z]*@fexponent_bin?/,irregular_keywords:/val[+-]?|case[+-]?|addr\\@?|fold\\@|free\\@|fix\\@?|lam\\@?|llam\\@?|prop[+-]?|type[+-]?|view[+-@]?|viewt@?ype[+-]?|t@?ype[+-]?|v(iew)?t@?ype[+-]?|abst@?ype|absv(iew)?t@?ype|for\\*?|while\\*?/,ESCHAR:/[ntvbrfa\\\\\\?'\"\\(\\[\\{]/,start:\"root\",tokenizer:{root:[{regex:/[ \\t\\r\\n]+/,action:{token:\"\"}},{regex:/\\(\\*\\)/,action:{token:\"invalid\"}},{regex:/\\(\\*/,action:{token:\"comment\",next:\"lexing_COMMENT_block_ml\"}},{regex:/\\(/,action:\"@brackets\"},{regex:/\\)/,action:\"@brackets\"},{regex:/\\[/,action:\"@brackets\"},{regex:/\\]/,action:\"@brackets\"},{regex:/\\{/,action:\"@brackets\"},{regex:/\\}/,action:\"@brackets\"},{regex:/,\\(/,action:\"@brackets\"},{regex:/,/,action:{token:\"delimiter.comma\"}},{regex:/;/,action:{token:\"delimiter.semicolon\"}},{regex:/@\\(/,action:\"@brackets\"},{regex:/@\\[/,action:\"@brackets\"},{regex:/@\\{/,action:\"@brackets\"},{regex:/:</,action:{token:\"keyword\",next:\"@lexing_EFFECT_commaseq0\"}},{regex:/\\.@symbolic+/,action:{token:\"identifier.sym\"}},{regex:/\\.@digit*@fexponent@FLOATSP*/,action:{token:\"number.float\"}},{regex:/\\.@digit+/,action:{token:\"number.float\"}},{regex:/\\$@IDENTFST@IDENTRST*/,action:{cases:{\"@keywords_dlr\":{token:\"keyword.dlr\"},\"@default\":{token:\"namespace\"}}}},{regex:/\\#@IDENTFST@IDENTRST*/,action:{cases:{\"@keywords_srp\":{token:\"keyword.srp\"},\"@default\":{token:\"identifier\"}}}},{regex:/%\\(/,action:{token:\"delimiter.parenthesis\"}},{regex:/^%{(#|\\^|\\$)?/,action:{token:\"keyword\",next:\"@lexing_EXTCODE\",nextEmbedded:\"text/javascript\"}},{regex:/^%}/,action:{token:\"keyword\"}},{regex:/'\\(/,action:{token:\"delimiter.parenthesis\"}},{regex:/'\\[/,action:{token:\"delimiter.bracket\"}},{regex:/'\\{/,action:{token:\"delimiter.brace\"}},[/(')(\\\\@ESCHAR|\\\\[xX]@xdigit+|\\\\@digit+)(')/,[\"string\",\"string.escape\",\"string\"]],[/'[^\\\\']'/,\"string\"],[/\"/,\"string.quote\",\"@lexing_DQUOTE\"],{regex:/`\\(/,action:\"@brackets\"},{regex:/\\\\/,action:{token:\"punctuation\"}},{regex:/@irregular_keywords(?!@IDENTRST)/,action:{token:\"keyword\"}},{regex:/@IDENTFST@IDENTRST*[<!\\[]?/,action:{cases:{\"@keywords\":{token:\"keyword\"},\"@keywords_types\":{token:\"type\"},\"@default\":{token:\"identifier\"}}}},{regex:/\\/\\/\\/\\//,action:{token:\"comment\",next:\"@lexing_COMMENT_rest\"}},{regex:/\\/\\/.*$/,action:{token:\"comment\"}},{regex:/\\/\\*/,action:{token:\"comment\",next:\"@lexing_COMMENT_block_c\"}},{regex:/-<|=</,action:{token:\"keyword\",next:\"@lexing_EFFECT_commaseq0\"}},{regex:/@symbolic+/,action:{cases:{\"@operators\":\"keyword\",\"@default\":\"operator\"}}},{regex:/0[xX]@xdigit+(@hexiexp|@fexponent_bin)@FLOATSP*/,action:{token:\"number.float\"}},{regex:/0[xX]@xdigit+@INTSP*/,action:{token:\"number.hex\"}},{regex:/0[0-7]+(?![0-9])@INTSP*/,action:{token:\"number.octal\"}},{regex:/@digit+(@fexponent|@deciexp)@FLOATSP*/,action:{token:\"number.float\"}},{regex:/@digit@digitseq0@INTSP*/,action:{token:\"number.decimal\"}},{regex:/@digit+@INTSP*/,action:{token:\"number\"}}],lexing_COMMENT_block_ml:[[/[^\\(\\*]+/,\"comment\"],[/\\(\\*/,\"comment\",\"@push\"],[/\\(\\*/,\"comment.invalid\"],[/\\*\\)/,\"comment\",\"@pop\"],[/\\*/,\"comment\"]],lexing_COMMENT_block_c:[[/[^\\/*]+/,\"comment\"],[/\\*\\//,\"comment\",\"@pop\"],[/[\\/*]/,\"comment\"]],lexing_COMMENT_rest:[[/$/,\"comment\",\"@pop\"],[/.*/,\"comment\"]],lexing_EFFECT_commaseq0:[{regex:/@IDENTFST@IDENTRST+|@digit+/,action:{cases:{\"@keywords_effects\":{token:\"type.effect\"},\"@default\":{token:\"identifier\"}}}},{regex:/,/,action:{token:\"punctuation\"}},{regex:/>/,action:{token:\"@rematch\",next:\"@pop\"}}],lexing_EXTCODE:[{regex:/^%}/,action:{token:\"@rematch\",next:\"@pop\",nextEmbedded:\"@pop\"}},{regex:/[^%]+/,action:\"\"}],lexing_DQUOTE:[{regex:/\"/,action:{token:\"string.quote\",next:\"@pop\"}},{regex:/(\\{\\$)(@IDENTFST@IDENTRST*)(\\})/,action:[{token:\"string.escape\"},{token:\"identifier\"},{token:\"string.escape\"}]},{regex:/\\\\$/,action:{token:\"string.escape\"}},{regex:/\\\\(@ESCHAR|[xX]@xdigit+|@digit+)/,action:{token:\"string.escape\"}},{regex:/[^\\\\\"]+/,action:{token:\"string\"}}]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/powerquery.9eb89934.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"//\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"[\",\"]\"],[\"(\",\")\"],[\"{\",\"}\"]],autoClosingPairs:[{open:'\"',close:'\"',notIn:[\"string\",\"comment\",\"identifier\"]},{open:\"[\",close:\"]\",notIn:[\"string\",\"comment\",\"identifier\"]},{open:\"(\",close:\")\",notIn:[\"string\",\"comment\",\"identifier\"]},{open:\"{\",close:\"}\",notIn:[\"string\",\"comment\",\"identifier\"]}]},t={defaultToken:\"\",tokenPostfix:\".pq\",ignoreCase:!1,brackets:[{open:\"[\",close:\"]\",token:\"delimiter.square\"},{open:\"{\",close:\"}\",token:\"delimiter.brackets\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"}],operatorKeywords:[\"and\",\"not\",\"or\"],keywords:[\"as\",\"each\",\"else\",\"error\",\"false\",\"if\",\"in\",\"is\",\"let\",\"meta\",\"otherwise\",\"section\",\"shared\",\"then\",\"true\",\"try\",\"type\"],constructors:[\"#binary\",\"#date\",\"#datetime\",\"#datetimezone\",\"#duration\",\"#table\",\"#time\"],constants:[\"#infinity\",\"#nan\",\"#sections\",\"#shared\"],typeKeywords:[\"action\",\"any\",\"anynonnull\",\"none\",\"null\",\"logical\",\"number\",\"time\",\"date\",\"datetime\",\"datetimezone\",\"duration\",\"text\",\"binary\",\"list\",\"record\",\"table\",\"function\"],builtinFunctions:[\"Access.Database\",\"Action.Return\",\"Action.Sequence\",\"Action.Try\",\"ActiveDirectory.Domains\",\"AdoDotNet.DataSource\",\"AdoDotNet.Query\",\"AdobeAnalytics.Cubes\",\"AnalysisServices.Database\",\"AnalysisServices.Databases\",\"AzureStorage.BlobContents\",\"AzureStorage.Blobs\",\"AzureStorage.Tables\",\"Binary.Buffer\",\"Binary.Combine\",\"Binary.Compress\",\"Binary.Decompress\",\"Binary.End\",\"Binary.From\",\"Binary.FromList\",\"Binary.FromText\",\"Binary.InferContentType\",\"Binary.Length\",\"Binary.ToList\",\"Binary.ToText\",\"BinaryFormat.7BitEncodedSignedInteger\",\"BinaryFormat.7BitEncodedUnsignedInteger\",\"BinaryFormat.Binary\",\"BinaryFormat.Byte\",\"BinaryFormat.ByteOrder\",\"BinaryFormat.Choice\",\"BinaryFormat.Decimal\",\"BinaryFormat.Double\",\"BinaryFormat.Group\",\"BinaryFormat.Length\",\"BinaryFormat.List\",\"BinaryFormat.Null\",\"BinaryFormat.Record\",\"BinaryFormat.SignedInteger16\",\"BinaryFormat.SignedInteger32\",\"BinaryFormat.SignedInteger64\",\"BinaryFormat.Single\",\"BinaryFormat.Text\",\"BinaryFormat.Transform\",\"BinaryFormat.UnsignedInteger16\",\"BinaryFormat.UnsignedInteger32\",\"BinaryFormat.UnsignedInteger64\",\"Byte.From\",\"Character.FromNumber\",\"Character.ToNumber\",\"Combiner.CombineTextByDelimiter\",\"Combiner.CombineTextByEachDelimiter\",\"Combiner.CombineTextByLengths\",\"Combiner.CombineTextByPositions\",\"Combiner.CombineTextByRanges\",\"Comparer.Equals\",\"Comparer.FromCulture\",\"Comparer.Ordinal\",\"Comparer.OrdinalIgnoreCase\",\"Csv.Document\",\"Cube.AddAndExpandDimensionColumn\",\"Cube.AddMeasureColumn\",\"Cube.ApplyParameter\",\"Cube.AttributeMemberId\",\"Cube.AttributeMemberProperty\",\"Cube.CollapseAndRemoveColumns\",\"Cube.Dimensions\",\"Cube.DisplayFolders\",\"Cube.Measures\",\"Cube.Parameters\",\"Cube.Properties\",\"Cube.PropertyKey\",\"Cube.ReplaceDimensions\",\"Cube.Transform\",\"Currency.From\",\"DB2.Database\",\"Date.AddDays\",\"Date.AddMonths\",\"Date.AddQuarters\",\"Date.AddWeeks\",\"Date.AddYears\",\"Date.Day\",\"Date.DayOfWeek\",\"Date.DayOfWeekName\",\"Date.DayOfYear\",\"Date.DaysInMonth\",\"Date.EndOfDay\",\"Date.EndOfMonth\",\"Date.EndOfQuarter\",\"Date.EndOfWeek\",\"Date.EndOfYear\",\"Date.From\",\"Date.FromText\",\"Date.IsInCurrentDay\",\"Date.IsInCurrentMonth\",\"Date.IsInCurrentQuarter\",\"Date.IsInCurrentWeek\",\"Date.IsInCurrentYear\",\"Date.IsInNextDay\",\"Date.IsInNextMonth\",\"Date.IsInNextNDays\",\"Date.IsInNextNMonths\",\"Date.IsInNextNQuarters\",\"Date.IsInNextNWeeks\",\"Date.IsInNextNYears\",\"Date.IsInNextQuarter\",\"Date.IsInNextWeek\",\"Date.IsInNextYear\",\"Date.IsInPreviousDay\",\"Date.IsInPreviousMonth\",\"Date.IsInPreviousNDays\",\"Date.IsInPreviousNMonths\",\"Date.IsInPreviousNQuarters\",\"Date.IsInPreviousNWeeks\",\"Date.IsInPreviousNYears\",\"Date.IsInPreviousQuarter\",\"Date.IsInPreviousWeek\",\"Date.IsInPreviousYear\",\"Date.IsInYearToDate\",\"Date.IsLeapYear\",\"Date.Month\",\"Date.MonthName\",\"Date.QuarterOfYear\",\"Date.StartOfDay\",\"Date.StartOfMonth\",\"Date.StartOfQuarter\",\"Date.StartOfWeek\",\"Date.StartOfYear\",\"Date.ToRecord\",\"Date.ToText\",\"Date.WeekOfMonth\",\"Date.WeekOfYear\",\"Date.Year\",\"DateTime.AddZone\",\"DateTime.Date\",\"DateTime.FixedLocalNow\",\"DateTime.From\",\"DateTime.FromFileTime\",\"DateTime.FromText\",\"DateTime.IsInCurrentHour\",\"DateTime.IsInCurrentMinute\",\"DateTime.IsInCurrentSecond\",\"DateTime.IsInNextHour\",\"DateTime.IsInNextMinute\",\"DateTime.IsInNextNHours\",\"DateTime.IsInNextNMinutes\",\"DateTime.IsInNextNSeconds\",\"DateTime.IsInNextSecond\",\"DateTime.IsInPreviousHour\",\"DateTime.IsInPreviousMinute\",\"DateTime.IsInPreviousNHours\",\"DateTime.IsInPreviousNMinutes\",\"DateTime.IsInPreviousNSeconds\",\"DateTime.IsInPreviousSecond\",\"DateTime.LocalNow\",\"DateTime.Time\",\"DateTime.ToRecord\",\"DateTime.ToText\",\"DateTimeZone.FixedLocalNow\",\"DateTimeZone.FixedUtcNow\",\"DateTimeZone.From\",\"DateTimeZone.FromFileTime\",\"DateTimeZone.FromText\",\"DateTimeZone.LocalNow\",\"DateTimeZone.RemoveZone\",\"DateTimeZone.SwitchZone\",\"DateTimeZone.ToLocal\",\"DateTimeZone.ToRecord\",\"DateTimeZone.ToText\",\"DateTimeZone.ToUtc\",\"DateTimeZone.UtcNow\",\"DateTimeZone.ZoneHours\",\"DateTimeZone.ZoneMinutes\",\"Decimal.From\",\"Diagnostics.ActivityId\",\"Diagnostics.Trace\",\"DirectQueryCapabilities.From\",\"Double.From\",\"Duration.Days\",\"Duration.From\",\"Duration.FromText\",\"Duration.Hours\",\"Duration.Minutes\",\"Duration.Seconds\",\"Duration.ToRecord\",\"Duration.ToText\",\"Duration.TotalDays\",\"Duration.TotalHours\",\"Duration.TotalMinutes\",\"Duration.TotalSeconds\",\"Embedded.Value\",\"Error.Record\",\"Excel.CurrentWorkbook\",\"Excel.Workbook\",\"Exchange.Contents\",\"Expression.Constant\",\"Expression.Evaluate\",\"Expression.Identifier\",\"Facebook.Graph\",\"File.Contents\",\"Folder.Contents\",\"Folder.Files\",\"Function.From\",\"Function.Invoke\",\"Function.InvokeAfter\",\"Function.IsDataSource\",\"GoogleAnalytics.Accounts\",\"Guid.From\",\"HdInsight.Containers\",\"HdInsight.Contents\",\"HdInsight.Files\",\"Hdfs.Contents\",\"Hdfs.Files\",\"Informix.Database\",\"Int16.From\",\"Int32.From\",\"Int64.From\",\"Int8.From\",\"ItemExpression.From\",\"Json.Document\",\"Json.FromValue\",\"Lines.FromBinary\",\"Lines.FromText\",\"Lines.ToBinary\",\"Lines.ToText\",\"List.Accumulate\",\"List.AllTrue\",\"List.Alternate\",\"List.AnyTrue\",\"List.Average\",\"List.Buffer\",\"List.Combine\",\"List.Contains\",\"List.ContainsAll\",\"List.ContainsAny\",\"List.Count\",\"List.Covariance\",\"List.DateTimeZones\",\"List.DateTimes\",\"List.Dates\",\"List.Difference\",\"List.Distinct\",\"List.Durations\",\"List.FindText\",\"List.First\",\"List.FirstN\",\"List.Generate\",\"List.InsertRange\",\"List.Intersect\",\"List.IsDistinct\",\"List.IsEmpty\",\"List.Last\",\"List.LastN\",\"List.MatchesAll\",\"List.MatchesAny\",\"List.Max\",\"List.MaxN\",\"List.Median\",\"List.Min\",\"List.MinN\",\"List.Mode\",\"List.Modes\",\"List.NonNullCount\",\"List.Numbers\",\"List.PositionOf\",\"List.PositionOfAny\",\"List.Positions\",\"List.Product\",\"List.Random\",\"List.Range\",\"List.RemoveFirstN\",\"List.RemoveItems\",\"List.RemoveLastN\",\"List.RemoveMatchingItems\",\"List.RemoveNulls\",\"List.RemoveRange\",\"List.Repeat\",\"List.ReplaceMatchingItems\",\"List.ReplaceRange\",\"List.ReplaceValue\",\"List.Reverse\",\"List.Select\",\"List.Single\",\"List.SingleOrDefault\",\"List.Skip\",\"List.Sort\",\"List.StandardDeviation\",\"List.Sum\",\"List.Times\",\"List.Transform\",\"List.TransformMany\",\"List.Union\",\"List.Zip\",\"Logical.From\",\"Logical.FromText\",\"Logical.ToText\",\"MQ.Queue\",\"MySQL.Database\",\"Number.Abs\",\"Number.Acos\",\"Number.Asin\",\"Number.Atan\",\"Number.Atan2\",\"Number.BitwiseAnd\",\"Number.BitwiseNot\",\"Number.BitwiseOr\",\"Number.BitwiseShiftLeft\",\"Number.BitwiseShiftRight\",\"Number.BitwiseXor\",\"Number.Combinations\",\"Number.Cos\",\"Number.Cosh\",\"Number.Exp\",\"Number.Factorial\",\"Number.From\",\"Number.FromText\",\"Number.IntegerDivide\",\"Number.IsEven\",\"Number.IsNaN\",\"Number.IsOdd\",\"Number.Ln\",\"Number.Log\",\"Number.Log10\",\"Number.Mod\",\"Number.Permutations\",\"Number.Power\",\"Number.Random\",\"Number.RandomBetween\",\"Number.Round\",\"Number.RoundAwayFromZero\",\"Number.RoundDown\",\"Number.RoundTowardZero\",\"Number.RoundUp\",\"Number.Sign\",\"Number.Sin\",\"Number.Sinh\",\"Number.Sqrt\",\"Number.Tan\",\"Number.Tanh\",\"Number.ToText\",\"OData.Feed\",\"Odbc.DataSource\",\"Odbc.Query\",\"OleDb.DataSource\",\"OleDb.Query\",\"Oracle.Database\",\"Percentage.From\",\"PostgreSQL.Database\",\"RData.FromBinary\",\"Record.AddField\",\"Record.Combine\",\"Record.Field\",\"Record.FieldCount\",\"Record.FieldNames\",\"Record.FieldOrDefault\",\"Record.FieldValues\",\"Record.FromList\",\"Record.FromTable\",\"Record.HasFields\",\"Record.RemoveFields\",\"Record.RenameFields\",\"Record.ReorderFields\",\"Record.SelectFields\",\"Record.ToList\",\"Record.ToTable\",\"Record.TransformFields\",\"Replacer.ReplaceText\",\"Replacer.ReplaceValue\",\"RowExpression.Column\",\"RowExpression.From\",\"Salesforce.Data\",\"Salesforce.Reports\",\"SapBusinessWarehouse.Cubes\",\"SapHana.Database\",\"SharePoint.Contents\",\"SharePoint.Files\",\"SharePoint.Tables\",\"Single.From\",\"Soda.Feed\",\"Splitter.SplitByNothing\",\"Splitter.SplitTextByAnyDelimiter\",\"Splitter.SplitTextByDelimiter\",\"Splitter.SplitTextByEachDelimiter\",\"Splitter.SplitTextByLengths\",\"Splitter.SplitTextByPositions\",\"Splitter.SplitTextByRanges\",\"Splitter.SplitTextByRepeatedLengths\",\"Splitter.SplitTextByWhitespace\",\"Sql.Database\",\"Sql.Databases\",\"SqlExpression.SchemaFrom\",\"SqlExpression.ToExpression\",\"Sybase.Database\",\"Table.AddColumn\",\"Table.AddIndexColumn\",\"Table.AddJoinColumn\",\"Table.AddKey\",\"Table.AggregateTableColumn\",\"Table.AlternateRows\",\"Table.Buffer\",\"Table.Column\",\"Table.ColumnCount\",\"Table.ColumnNames\",\"Table.ColumnsOfType\",\"Table.Combine\",\"Table.CombineColumns\",\"Table.Contains\",\"Table.ContainsAll\",\"Table.ContainsAny\",\"Table.DemoteHeaders\",\"Table.Distinct\",\"Table.DuplicateColumn\",\"Table.ExpandListColumn\",\"Table.ExpandRecordColumn\",\"Table.ExpandTableColumn\",\"Table.FillDown\",\"Table.FillUp\",\"Table.FilterWithDataTable\",\"Table.FindText\",\"Table.First\",\"Table.FirstN\",\"Table.FirstValue\",\"Table.FromColumns\",\"Table.FromList\",\"Table.FromPartitions\",\"Table.FromRecords\",\"Table.FromRows\",\"Table.FromValue\",\"Table.Group\",\"Table.HasColumns\",\"Table.InsertRows\",\"Table.IsDistinct\",\"Table.IsEmpty\",\"Table.Join\",\"Table.Keys\",\"Table.Last\",\"Table.LastN\",\"Table.MatchesAllRows\",\"Table.MatchesAnyRows\",\"Table.Max\",\"Table.MaxN\",\"Table.Min\",\"Table.MinN\",\"Table.NestedJoin\",\"Table.Partition\",\"Table.PartitionValues\",\"Table.Pivot\",\"Table.PositionOf\",\"Table.PositionOfAny\",\"Table.PrefixColumns\",\"Table.Profile\",\"Table.PromoteHeaders\",\"Table.Range\",\"Table.RemoveColumns\",\"Table.RemoveFirstN\",\"Table.RemoveLastN\",\"Table.RemoveMatchingRows\",\"Table.RemoveRows\",\"Table.RemoveRowsWithErrors\",\"Table.RenameColumns\",\"Table.ReorderColumns\",\"Table.Repeat\",\"Table.ReplaceErrorValues\",\"Table.ReplaceKeys\",\"Table.ReplaceMatchingRows\",\"Table.ReplaceRelationshipIdentity\",\"Table.ReplaceRows\",\"Table.ReplaceValue\",\"Table.ReverseRows\",\"Table.RowCount\",\"Table.Schema\",\"Table.SelectColumns\",\"Table.SelectRows\",\"Table.SelectRowsWithErrors\",\"Table.SingleRow\",\"Table.Skip\",\"Table.Sort\",\"Table.SplitColumn\",\"Table.ToColumns\",\"Table.ToList\",\"Table.ToRecords\",\"Table.ToRows\",\"Table.TransformColumnNames\",\"Table.TransformColumnTypes\",\"Table.TransformColumns\",\"Table.TransformRows\",\"Table.Transpose\",\"Table.Unpivot\",\"Table.UnpivotOtherColumns\",\"Table.View\",\"Table.ViewFunction\",\"TableAction.DeleteRows\",\"TableAction.InsertRows\",\"TableAction.UpdateRows\",\"Tables.GetRelationships\",\"Teradata.Database\",\"Text.AfterDelimiter\",\"Text.At\",\"Text.BeforeDelimiter\",\"Text.BetweenDelimiters\",\"Text.Clean\",\"Text.Combine\",\"Text.Contains\",\"Text.End\",\"Text.EndsWith\",\"Text.Format\",\"Text.From\",\"Text.FromBinary\",\"Text.Insert\",\"Text.Length\",\"Text.Lower\",\"Text.Middle\",\"Text.NewGuid\",\"Text.PadEnd\",\"Text.PadStart\",\"Text.PositionOf\",\"Text.PositionOfAny\",\"Text.Proper\",\"Text.Range\",\"Text.Remove\",\"Text.RemoveRange\",\"Text.Repeat\",\"Text.Replace\",\"Text.ReplaceRange\",\"Text.Select\",\"Text.Split\",\"Text.SplitAny\",\"Text.Start\",\"Text.StartsWith\",\"Text.ToBinary\",\"Text.ToList\",\"Text.Trim\",\"Text.TrimEnd\",\"Text.TrimStart\",\"Text.Upper\",\"Time.EndOfHour\",\"Time.From\",\"Time.FromText\",\"Time.Hour\",\"Time.Minute\",\"Time.Second\",\"Time.StartOfHour\",\"Time.ToRecord\",\"Time.ToText\",\"Type.AddTableKey\",\"Type.ClosedRecord\",\"Type.Facets\",\"Type.ForFunction\",\"Type.ForRecord\",\"Type.FunctionParameters\",\"Type.FunctionRequiredParameters\",\"Type.FunctionReturn\",\"Type.Is\",\"Type.IsNullable\",\"Type.IsOpenRecord\",\"Type.ListItem\",\"Type.NonNullable\",\"Type.OpenRecord\",\"Type.RecordFields\",\"Type.ReplaceFacets\",\"Type.ReplaceTableKeys\",\"Type.TableColumn\",\"Type.TableKeys\",\"Type.TableRow\",\"Type.TableSchema\",\"Type.Union\",\"Uri.BuildQueryString\",\"Uri.Combine\",\"Uri.EscapeDataString\",\"Uri.Parts\",\"Value.Add\",\"Value.As\",\"Value.Compare\",\"Value.Divide\",\"Value.Equals\",\"Value.Firewall\",\"Value.FromText\",\"Value.Is\",\"Value.Metadata\",\"Value.Multiply\",\"Value.NativeQuery\",\"Value.NullableEquals\",\"Value.RemoveMetadata\",\"Value.ReplaceMetadata\",\"Value.ReplaceType\",\"Value.Subtract\",\"Value.Type\",\"ValueAction.NativeStatement\",\"ValueAction.Replace\",\"Variable.Value\",\"Web.Contents\",\"Web.Page\",\"WebAction.Request\",\"Xml.Document\",\"Xml.Tables\"],builtinConstants:[\"BinaryEncoding.Base64\",\"BinaryEncoding.Hex\",\"BinaryOccurrence.Optional\",\"BinaryOccurrence.Repeating\",\"BinaryOccurrence.Required\",\"ByteOrder.BigEndian\",\"ByteOrder.LittleEndian\",\"Compression.Deflate\",\"Compression.GZip\",\"CsvStyle.QuoteAfterDelimiter\",\"CsvStyle.QuoteAlways\",\"Culture.Current\",\"Day.Friday\",\"Day.Monday\",\"Day.Saturday\",\"Day.Sunday\",\"Day.Thursday\",\"Day.Tuesday\",\"Day.Wednesday\",\"ExtraValues.Error\",\"ExtraValues.Ignore\",\"ExtraValues.List\",\"GroupKind.Global\",\"GroupKind.Local\",\"JoinAlgorithm.Dynamic\",\"JoinAlgorithm.LeftHash\",\"JoinAlgorithm.LeftIndex\",\"JoinAlgorithm.PairwiseHash\",\"JoinAlgorithm.RightHash\",\"JoinAlgorithm.RightIndex\",\"JoinAlgorithm.SortMerge\",\"JoinKind.FullOuter\",\"JoinKind.Inner\",\"JoinKind.LeftAnti\",\"JoinKind.LeftOuter\",\"JoinKind.RightAnti\",\"JoinKind.RightOuter\",\"JoinSide.Left\",\"JoinSide.Right\",\"MissingField.Error\",\"MissingField.Ignore\",\"MissingField.UseNull\",\"Number.E\",\"Number.Epsilon\",\"Number.NaN\",\"Number.NegativeInfinity\",\"Number.PI\",\"Number.PositiveInfinity\",\"Occurrence.All\",\"Occurrence.First\",\"Occurrence.Last\",\"Occurrence.Optional\",\"Occurrence.Repeating\",\"Occurrence.Required\",\"Order.Ascending\",\"Order.Descending\",\"Precision.Decimal\",\"Precision.Double\",\"QuoteStyle.Csv\",\"QuoteStyle.None\",\"RelativePosition.FromEnd\",\"RelativePosition.FromStart\",\"RoundingMode.AwayFromZero\",\"RoundingMode.Down\",\"RoundingMode.ToEven\",\"RoundingMode.TowardZero\",\"RoundingMode.Up\",\"SapHanaDistribution.All\",\"SapHanaDistribution.Connection\",\"SapHanaDistribution.Off\",\"SapHanaDistribution.Statement\",\"SapHanaRangeOperator.Equals\",\"SapHanaRangeOperator.GreaterThan\",\"SapHanaRangeOperator.GreaterThanOrEquals\",\"SapHanaRangeOperator.LessThan\",\"SapHanaRangeOperator.LessThanOrEquals\",\"SapHanaRangeOperator.NotEquals\",\"TextEncoding.Ascii\",\"TextEncoding.BigEndianUnicode\",\"TextEncoding.Unicode\",\"TextEncoding.Utf16\",\"TextEncoding.Utf8\",\"TextEncoding.Windows\",\"TraceLevel.Critical\",\"TraceLevel.Error\",\"TraceLevel.Information\",\"TraceLevel.Verbose\",\"TraceLevel.Warning\",\"WebMethod.Delete\",\"WebMethod.Get\",\"WebMethod.Head\",\"WebMethod.Patch\",\"WebMethod.Post\",\"WebMethod.Put\"],builtinTypes:[\"Action.Type\",\"Any.Type\",\"Binary.Type\",\"BinaryEncoding.Type\",\"BinaryOccurrence.Type\",\"Byte.Type\",\"ByteOrder.Type\",\"Character.Type\",\"Compression.Type\",\"CsvStyle.Type\",\"Currency.Type\",\"Date.Type\",\"DateTime.Type\",\"DateTimeZone.Type\",\"Day.Type\",\"Decimal.Type\",\"Double.Type\",\"Duration.Type\",\"ExtraValues.Type\",\"Function.Type\",\"GroupKind.Type\",\"Guid.Type\",\"Int16.Type\",\"Int32.Type\",\"Int64.Type\",\"Int8.Type\",\"JoinAlgorithm.Type\",\"JoinKind.Type\",\"JoinSide.Type\",\"List.Type\",\"Logical.Type\",\"MissingField.Type\",\"None.Type\",\"Null.Type\",\"Number.Type\",\"Occurrence.Type\",\"Order.Type\",\"Password.Type\",\"Percentage.Type\",\"Precision.Type\",\"QuoteStyle.Type\",\"Record.Type\",\"RelativePosition.Type\",\"RoundingMode.Type\",\"SapHanaDistribution.Type\",\"SapHanaRangeOperator.Type\",\"Single.Type\",\"Table.Type\",\"Text.Type\",\"TextEncoding.Type\",\"Time.Type\",\"TraceLevel.Type\",\"Type.Type\",\"Uri.Type\",\"WebMethod.Type\"],tokenizer:{root:[[/#\"[\\w \\.]+\"/,\"identifier.quote\"],[/\\d*\\.\\d+([eE][\\-+]?\\d+)?/,\"number.float\"],[/0[xX][0-9a-fA-F]+/,\"number.hex\"],[/\\d+([eE][\\-+]?\\d+)?/,\"number\"],[/(#?[a-z]+)\\b/,{cases:{\"@typeKeywords\":\"type\",\"@keywords\":\"keyword\",\"@constants\":\"constant\",\"@constructors\":\"constructor\",\"@operatorKeywords\":\"operators\",\"@default\":\"identifier\"}}],[/\\b([A-Z][a-zA-Z0-9]+\\.Type)\\b/,{cases:{\"@builtinTypes\":\"type\",\"@default\":\"identifier\"}}],[/\\b([A-Z][a-zA-Z0-9]+\\.[A-Z][a-zA-Z0-9]+)\\b/,{cases:{\"@builtinFunctions\":\"keyword.function\",\"@builtinConstants\":\"constant\",\"@default\":\"identifier\"}}],[/\\b([a-zA-Z_][\\w\\.]*)\\b/,\"identifier\"],{include:\"@whitespace\"},{include:\"@comments\"},{include:\"@strings\"},[/[{}()\\[\\]]/,\"@brackets\"],[/([=\\+<>\\-\\*&@\\?\\/!])|([<>]=)|(<>)|(=>)|(\\.\\.\\.)|(\\.\\.)/,\"operators\"],[/[,;]/,\"delimiter\"]],whitespace:[[/\\s+/,\"white\"]],comments:[[\"\\\\/\\\\*\",\"comment\",\"@comment\"],[\"\\\\/\\\\/+.*\",\"comment\"]],comment:[[\"\\\\*\\\\/\",\"comment\",\"@pop\"],[\".\",\"comment\"]],strings:[['\"',\"string\",\"@string\"]],string:[['\"\"',\"string.escape\"],['\"',\"string\",\"@pop\"],[\".\",\"string\"]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/powershell.8fd167fe.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={wordPattern:/(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#%\\^\\&\\*\\(\\)\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)/g,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:\"'\"}],folding:{markers:{start:new RegExp(\"^\\\\s*#region\\\\b\"),end:new RegExp(\"^\\\\s*#endregion\\\\b\")}}},n={defaultToken:\"\",ignoreCase:!0,tokenPostfix:\".ps1\",brackets:[{token:\"delimiter.curly\",open:\"{\",close:\"}\"},{token:\"delimiter.square\",open:\"[\",close:\"]\"},{token:\"delimiter.parenthesis\",open:\"(\",close:\")\"}],keywords:[\"begin\",\"break\",\"catch\",\"class\",\"continue\",\"data\",\"define\",\"do\",\"dynamicparam\",\"else\",\"elseif\",\"end\",\"exit\",\"filter\",\"finally\",\"for\",\"foreach\",\"from\",\"function\",\"if\",\"in\",\"param\",\"process\",\"return\",\"switch\",\"throw\",\"trap\",\"try\",\"until\",\"using\",\"var\",\"while\",\"workflow\",\"parallel\",\"sequence\",\"inlinescript\",\"configuration\"],helpKeywords:/SYNOPSIS|DESCRIPTION|PARAMETER|EXAMPLE|INPUTS|OUTPUTS|NOTES|LINK|COMPONENT|ROLE|FUNCTIONALITY|FORWARDHELPTARGETNAME|FORWARDHELPCATEGORY|REMOTEHELPRUNSPACE|EXTERNALHELP/,symbols:/[=><!~?&%|+\\-*\\/\\^;\\.,]+/,escapes:/`(?:[abfnrtv\\\\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_][\\w-]*/,{cases:{\"@keywords\":{token:\"keyword.$0\"},\"@default\":\"\"}}],[/[ \\t\\r\\n]+/,\"\"],[/^:\\w*/,\"metatag\"],[/\\$(\\{((global|local|private|script|using):)?[\\w]+\\}|((global|local|private|script|using):)?[\\w]+)/,\"variable\"],[/<#/,\"comment\",\"@comment\"],[/#.*$/,\"comment\"],[/[{}()\\[\\]]/,\"@brackets\"],[/@symbols/,\"delimiter\"],[/\\d*\\.\\d+([eE][\\-+]?\\d+)?/,\"number.float\"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,\"number.hex\"],[/\\d+?/,\"number\"],[/[;,.]/,\"delimiter\"],[/\\@\"/,\"string\",'@herestring.\"'],[/\\@'/,\"string\",\"@herestring.'\"],[/\"/,{cases:{\"@eos\":\"string\",\"@default\":{token:\"string\",next:'@string.\"'}}}],[/'/,{cases:{\"@eos\":\"string\",\"@default\":{token:\"string\",next:\"@string.'\"}}}]],string:[[/[^\"'\\$`]+/,{cases:{\"@eos\":{token:\"string\",next:\"@popall\"},\"@default\":\"string\"}}],[/@escapes/,{cases:{\"@eos\":{token:\"string.escape\",next:\"@popall\"},\"@default\":\"string.escape\"}}],[/`./,{cases:{\"@eos\":{token:\"string.escape.invalid\",next:\"@popall\"},\"@default\":\"string.escape.invalid\"}}],[/\\$[\\w]+$/,{cases:{'$S2==\"':{token:\"variable\",next:\"@popall\"},\"@default\":{token:\"string\",next:\"@popall\"}}}],[/\\$[\\w]+/,{cases:{'$S2==\"':\"variable\",\"@default\":\"string\"}}],[/[\"']/,{cases:{\"$#==$S2\":{token:\"string\",next:\"@pop\"},\"@default\":{cases:{\"@eos\":{token:\"string\",next:\"@popall\"},\"@default\":\"string\"}}}}]],herestring:[[/^\\s*([\"'])@/,{cases:{\"$1==$S2\":{token:\"string\",next:\"@pop\"},\"@default\":\"string\"}}],[/[^\\$`]+/,\"string\"],[/@escapes/,\"string.escape\"],[/`./,\"string.escape.invalid\"],[/\\$[\\w]+/,{cases:{'$S2==\"':\"variable\",\"@default\":\"string\"}}]],comment:[[/[^#\\.]+/,\"comment\"],[/#>/,\"comment\",\"@pop\"],[/(\\.)(@helpKeywords)(?!\\w)/,{token:\"comment.keyword.$2\"}],[/[\\.#]/,\"comment\"]]}};export{e as conf,n as language};\n"
  },
  {
    "path": "client/dist/assets/protobuf.fc81f9f6.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e=[\"true\",\"false\"],t={comments:{lineComment:\"//\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"],[\"<\",\">\"]],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"<\",close:\">\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:\"<\",close:\">\"},{open:'\"',close:'\"',notIn:[\"string\"]},{open:\"'\",close:\"'\",notIn:[\"string\"]}],autoCloseBefore:`.,=}])>' \n\t`,indentationRules:{increaseIndentPattern:new RegExp(\"^((?!\\\\/\\\\/).)*(\\\\{[^}\\\"'`]*|\\\\([^)\\\"'`]*|\\\\[[^\\\\]\\\"'`]*)$\"),decreaseIndentPattern:new RegExp(\"^((?!.*?\\\\/\\\\*).*\\\\*/)?\\\\s*[\\\\}\\\\]].*$\")}},n={defaultToken:\"\",tokenPostfix:\".proto\",brackets:[{open:\"{\",close:\"}\",token:\"delimiter.curly\"},{open:\"[\",close:\"]\",token:\"delimiter.square\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"},{open:\"<\",close:\">\",token:\"delimiter.angle\"}],symbols:/[=><!~?:&|+\\-*/^%]+/,keywords:[\"syntax\",\"import\",\"weak\",\"public\",\"package\",\"option\",\"repeated\",\"oneof\",\"map\",\"reserved\",\"to\",\"max\",\"enum\",\"message\",\"service\",\"rpc\",\"stream\",\"returns\",\"package\",\"optional\",\"true\",\"false\"],builtinTypes:[\"double\",\"float\",\"int32\",\"int64\",\"uint32\",\"uint64\",\"sint32\",\"sint64\",\"fixed32\",\"fixed64\",\"sfixed32\",\"sfixed64\",\"bool\",\"string\",\"bytes\"],operators:[\"=\",\"+\",\"-\"],namedLiterals:e,escapes:\"\\\\\\\\(u{[0-9A-Fa-f]+}|n|r|t|\\\\\\\\|'|\\\\${)\",identifier:/[a-zA-Z]\\w*/,fullIdentifier:/@identifier(?:\\s*\\.\\s*@identifier)*/,optionName:/(?:@identifier|\\(\\s*@fullIdentifier\\s*\\))(?:\\s*\\.\\s*@identifier)*/,messageName:/@identifier/,enumName:/@identifier/,messageType:/\\.?\\s*(?:@identifier\\s*\\.\\s*)*@messageName/,enumType:/\\.?\\s*(?:@identifier\\s*\\.\\s*)*@enumName/,floatLit:/[0-9]+\\s*\\.\\s*[0-9]*(?:@exponent)?|[0-9]+@exponent|\\.[0-9]+(?:@exponent)?/,exponent:/[eE]\\s*[+-]?\\s*[0-9]+/,boolLit:/true\\b|false\\b/,decimalLit:/[1-9][0-9]*/,octalLit:/0[0-7]*/,hexLit:/0[xX][0-9a-fA-F]+/,type:/double|float|int32|int64|uint32|uint64|sint32|sint64|fixed32|fixed64|sfixed32|sfixed64|bool|string|bytes|@messageType|@enumType/,keyType:/int32|int64|uint32|uint64|sint32|sint64|fixed32|fixed64|sfixed32|sfixed64|bool|string/,tokenizer:{root:[{include:\"@whitespace\"},[/syntax/,\"keyword\"],[/=/,\"operators\"],[/;/,\"delimiter\"],[/(\")(proto3)(\")/,[\"string.quote\",\"string\",{token:\"string.quote\",switchTo:\"@topLevel.proto3\"}]],[/(\")(proto2)(\")/,[\"string.quote\",\"string\",{token:\"string.quote\",switchTo:\"@topLevel.proto2\"}]],[/.*?/,{token:\"\",switchTo:\"@topLevel.proto2\"}]],topLevel:[{include:\"@whitespace\"},{include:\"@constant\"},[/=/,\"operators\"],[/[;.]/,\"delimiter\"],[/@fullIdentifier/,{cases:{option:{token:\"keyword\",next:\"@option.$S2\"},enum:{token:\"keyword\",next:\"@enumDecl.$S2\"},message:{token:\"keyword\",next:\"@messageDecl.$S2\"},service:{token:\"keyword\",next:\"@serviceDecl.$S2\"},extend:{cases:{\"$S2==proto2\":{token:\"keyword\",next:\"@extendDecl.$S2\"}}},\"@keywords\":\"keyword\",\"@default\":\"identifier\"}}]],enumDecl:[{include:\"@whitespace\"},[/@identifier/,\"type.identifier\"],[/{/,{token:\"@brackets\",bracket:\"@open\",switchTo:\"@enumBody.$S2\"}]],enumBody:[{include:\"@whitespace\"},{include:\"@constant\"},[/=/,\"operators\"],[/;/,\"delimiter\"],[/option\\b/,\"keyword\",\"@option.$S2\"],[/@identifier/,\"identifier\"],[/\\[/,{token:\"@brackets\",bracket:\"@open\",next:\"@options.$S2\"}],[/}/,{token:\"@brackets\",bracket:\"@close\",next:\"@pop\"}]],messageDecl:[{include:\"@whitespace\"},[/@identifier/,\"type.identifier\"],[/{/,{token:\"@brackets\",bracket:\"@open\",switchTo:\"@messageBody.$S2\"}]],messageBody:[{include:\"@whitespace\"},{include:\"@constant\"},[/=/,\"operators\"],[/;/,\"delimiter\"],[\"(map)(s*)(<)\",[\"keyword\",\"white\",{token:\"@brackets\",bracket:\"@open\",next:\"@map.$S2\"}]],[/@identifier/,{cases:{option:{token:\"keyword\",next:\"@option.$S2\"},enum:{token:\"keyword\",next:\"@enumDecl.$S2\"},message:{token:\"keyword\",next:\"@messageDecl.$S2\"},oneof:{token:\"keyword\",next:\"@oneofDecl.$S2\"},extensions:{cases:{\"$S2==proto2\":{token:\"keyword\",next:\"@reserved.$S2\"}}},reserved:{token:\"keyword\",next:\"@reserved.$S2\"},\"(?:repeated|optional)\":{token:\"keyword\",next:\"@field.$S2\"},required:{cases:{\"$S2==proto2\":{token:\"keyword\",next:\"@field.$S2\"}}},\"$S2==proto3\":{token:\"@rematch\",next:\"@field.$S2\"}}}],[/\\[/,{token:\"@brackets\",bracket:\"@open\",next:\"@options.$S2\"}],[/}/,{token:\"@brackets\",bracket:\"@close\",next:\"@pop\"}]],extendDecl:[{include:\"@whitespace\"},[/@identifier/,\"type.identifier\"],[/{/,{token:\"@brackets\",bracket:\"@open\",switchTo:\"@extendBody.$S2\"}]],extendBody:[{include:\"@whitespace\"},{include:\"@constant\"},[/;/,\"delimiter\"],[/(?:repeated|optional|required)/,\"keyword\",\"@field.$S2\"],[/\\[/,{token:\"@brackets\",bracket:\"@open\",next:\"@options.$S2\"}],[/}/,{token:\"@brackets\",bracket:\"@close\",next:\"@pop\"}]],options:[{include:\"@whitespace\"},{include:\"@constant\"},[/;/,\"delimiter\"],[/@optionName/,\"annotation\"],[/[()]/,\"annotation.brackets\"],[/=/,\"operator\"],[/\\]/,{token:\"@brackets\",bracket:\"@close\",next:\"@pop\"}]],option:[{include:\"@whitespace\"},[/@optionName/,\"annotation\"],[/[()]/,\"annotation.brackets\"],[/=/,\"operator\",\"@pop\"]],oneofDecl:[{include:\"@whitespace\"},[/@identifier/,\"identifier\"],[/{/,{token:\"@brackets\",bracket:\"@open\",switchTo:\"@oneofBody.$S2\"}]],oneofBody:[{include:\"@whitespace\"},{include:\"@constant\"},[/;/,\"delimiter\"],[/(@identifier)(\\s*)(=)/,[\"identifier\",\"white\",\"delimiter\"]],[/@fullIdentifier|\\./,{cases:{\"@builtinTypes\":\"keyword\",\"@default\":\"type.identifier\"}}],[/\\[/,{token:\"@brackets\",bracket:\"@open\",next:\"@options.$S2\"}],[/}/,{token:\"@brackets\",bracket:\"@close\",next:\"@pop\"}]],reserved:[{include:\"@whitespace\"},[/,/,\"delimiter\"],[/;/,\"delimiter\",\"@pop\"],{include:\"@constant\"},[/to\\b|max\\b/,\"keyword\"]],map:[{include:\"@whitespace\"},[/@fullIdentifier|\\./,{cases:{\"@builtinTypes\":\"keyword\",\"@default\":\"type.identifier\"}}],[/,/,\"delimiter\"],[/>/,{token:\"@brackets\",bracket:\"@close\",switchTo:\"identifier\"}]],field:[{include:\"@whitespace\"},[\"group\",{cases:{\"$S2==proto2\":{token:\"keyword\",switchTo:\"@groupDecl.$S2\"}}}],[/(@identifier)(\\s*)(=)/,[\"identifier\",\"white\",{token:\"delimiter\",next:\"@pop\"}]],[/@fullIdentifier|\\./,{cases:{\"@builtinTypes\":\"keyword\",\"@default\":\"type.identifier\"}}]],groupDecl:[{include:\"@whitespace\"},[/@identifier/,\"identifier\"],[\"=\",\"operator\"],[/{/,{token:\"@brackets\",bracket:\"@open\",switchTo:\"@messageBody.$S2\"}],{include:\"@constant\"}],type:[{include:\"@whitespace\"},[/@identifier/,\"type.identifier\",\"@pop\"],[/./,\"delimiter\"]],identifier:[{include:\"@whitespace\"},[/@identifier/,\"identifier\",\"@pop\"]],serviceDecl:[{include:\"@whitespace\"},[/@identifier/,\"identifier\"],[/{/,{token:\"@brackets\",bracket:\"@open\",switchTo:\"@serviceBody.$S2\"}]],serviceBody:[{include:\"@whitespace\"},{include:\"@constant\"},[/;/,\"delimiter\"],[/option\\b/,\"keyword\",\"@option.$S2\"],[/rpc\\b/,\"keyword\",\"@rpc.$S2\"],[/\\[/,{token:\"@brackets\",bracket:\"@open\",next:\"@options.$S2\"}],[/}/,{token:\"@brackets\",bracket:\"@close\",next:\"@pop\"}]],rpc:[{include:\"@whitespace\"},[/@identifier/,\"identifier\"],[/\\(/,{token:\"@brackets\",bracket:\"@open\",switchTo:\"@request.$S2\"}],[/{/,{token:\"@brackets\",bracket:\"@open\",next:\"@methodOptions.$S2\"}],[/;/,\"delimiter\",\"@pop\"]],request:[{include:\"@whitespace\"},[/@messageType/,{cases:{stream:{token:\"keyword\",next:\"@type.$S2\"},\"@default\":\"type.identifier\"}}],[/\\)/,{token:\"@brackets\",bracket:\"@close\",switchTo:\"@returns.$S2\"}]],returns:[{include:\"@whitespace\"},[/returns\\b/,\"keyword\"],[/\\(/,{token:\"@brackets\",bracket:\"@open\",switchTo:\"@response.$S2\"}]],response:[{include:\"@whitespace\"},[/@messageType/,{cases:{stream:{token:\"keyword\",next:\"@type.$S2\"},\"@default\":\"type.identifier\"}}],[/\\)/,{token:\"@brackets\",bracket:\"@close\",switchTo:\"@rpc.$S2\"}]],methodOptions:[{include:\"@whitespace\"},{include:\"@constant\"},[/;/,\"delimiter\"],[\"option\",\"keyword\"],[/@optionName/,\"annotation\"],[/[()]/,\"annotation.brackets\"],[/=/,\"operator\"],[/}/,{token:\"@brackets\",bracket:\"@close\",next:\"@pop\"}]],comment:[[/[^\\/*]+/,\"comment\"],[/\\/\\*/,\"comment\",\"@push\"],[\"\\\\*/\",\"comment\",\"@pop\"],[/[\\/*]/,\"comment\"]],string:[[/[^\\\\\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"/,{token:\"string.quote\",bracket:\"@close\",next:\"@pop\"}]],stringSingle:[[/[^\\\\']+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/'/,{token:\"string.quote\",bracket:\"@close\",next:\"@pop\"}]],constant:[[\"@boolLit\",\"keyword.constant\"],[\"@hexLit\",\"number.hex\"],[\"@octalLit\",\"number.octal\"],[\"@decimalLit\",\"number\"],[\"@floatLit\",\"number.float\"],[/(\"([^\"\\\\]|\\\\.)*|'([^'\\\\]|\\\\.)*)$/,\"string.invalid\"],[/\"/,{token:\"string.quote\",bracket:\"@open\",next:\"@string\"}],[/'/,{token:\"string.quote\",bracket:\"@open\",next:\"@stringSingle\"}],[/{/,{token:\"@brackets\",bracket:\"@open\",next:\"@prototext\"}],[/identifier/,\"identifier\"]],whitespace:[[/[ \\t\\r\\n]+/,\"white\"],[/\\/\\*/,\"comment\",\"@comment\"],[/\\/\\/.*$/,\"comment\"]],prototext:[{include:\"@whitespace\"},{include:\"@constant\"},[/@identifier/,\"identifier\"],[/[:;]/,\"delimiter\"],[/}/,{token:\"@brackets\",bracket:\"@close\",next:\"@pop\"}]]}};export{t as conf,n as language};\n"
  },
  {
    "path": "client/dist/assets/pug.16a0c97a.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"//\"},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\"]}],folding:{offSide:!0}},t={defaultToken:\"\",tokenPostfix:\".pug\",ignoreCase:!0,brackets:[{token:\"delimiter.curly\",open:\"{\",close:\"}\"},{token:\"delimiter.array\",open:\"[\",close:\"]\"},{token:\"delimiter.parenthesis\",open:\"(\",close:\")\"}],keywords:[\"append\",\"block\",\"case\",\"default\",\"doctype\",\"each\",\"else\",\"extends\",\"for\",\"if\",\"in\",\"include\",\"mixin\",\"typeof\",\"unless\",\"var\",\"when\"],tags:[\"a\",\"abbr\",\"acronym\",\"address\",\"area\",\"article\",\"aside\",\"audio\",\"b\",\"base\",\"basefont\",\"bdi\",\"bdo\",\"blockquote\",\"body\",\"br\",\"button\",\"canvas\",\"caption\",\"center\",\"cite\",\"code\",\"col\",\"colgroup\",\"command\",\"datalist\",\"dd\",\"del\",\"details\",\"dfn\",\"div\",\"dl\",\"dt\",\"em\",\"embed\",\"fieldset\",\"figcaption\",\"figure\",\"font\",\"footer\",\"form\",\"frame\",\"frameset\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"head\",\"header\",\"hgroup\",\"hr\",\"html\",\"i\",\"iframe\",\"img\",\"input\",\"ins\",\"keygen\",\"kbd\",\"label\",\"li\",\"link\",\"map\",\"mark\",\"menu\",\"meta\",\"meter\",\"nav\",\"noframes\",\"noscript\",\"object\",\"ol\",\"optgroup\",\"option\",\"output\",\"p\",\"param\",\"pre\",\"progress\",\"q\",\"rp\",\"rt\",\"ruby\",\"s\",\"samp\",\"script\",\"section\",\"select\",\"small\",\"source\",\"span\",\"strike\",\"strong\",\"style\",\"sub\",\"summary\",\"sup\",\"table\",\"tbody\",\"td\",\"textarea\",\"tfoot\",\"th\",\"thead\",\"time\",\"title\",\"tr\",\"tracks\",\"tt\",\"u\",\"ul\",\"video\",\"wbr\"],symbols:/[\\+\\-\\*\\%\\&\\|\\!\\=\\/\\.\\,\\:]+/,escapes:/\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\\s*)([a-zA-Z_-][\\w-]*)/,{cases:{\"$2@tags\":{cases:{\"@eos\":[\"\",\"tag\"],\"@default\":[\"\",{token:\"tag\",next:\"@tag.$1\"}]}},\"$2@keywords\":[\"\",{token:\"keyword.$2\"}],\"@default\":[\"\",\"\"]}}],[/^(\\s*)(#[a-zA-Z_-][\\w-]*)/,{cases:{\"@eos\":[\"\",\"tag.id\"],\"@default\":[\"\",{token:\"tag.id\",next:\"@tag.$1\"}]}}],[/^(\\s*)(\\.[a-zA-Z_-][\\w-]*)/,{cases:{\"@eos\":[\"\",\"tag.class\"],\"@default\":[\"\",{token:\"tag.class\",next:\"@tag.$1\"}]}}],[/^(\\s*)(\\|.*)$/,\"\"],{include:\"@whitespace\"},[/[a-zA-Z_$][\\w$]*/,{cases:{\"@keywords\":{token:\"keyword.$0\"},\"@default\":\"\"}}],[/[{}()\\[\\]]/,\"@brackets\"],[/@symbols/,\"delimiter\"],[/\\d+\\.\\d+([eE][\\-+]?\\d+)?/,\"number.float\"],[/\\d+/,\"number\"],[/\"/,\"string\",'@string.\"'],[/'/,\"string\",\"@string.'\"]],tag:[[/(\\.)(\\s*$)/,[{token:\"delimiter\",next:\"@blockText.$S2.\"},\"\"]],[/\\s+/,{token:\"\",next:\"@simpleText\"}],[/#[a-zA-Z_-][\\w-]*/,{cases:{\"@eos\":{token:\"tag.id\",next:\"@pop\"},\"@default\":\"tag.id\"}}],[/\\.[a-zA-Z_-][\\w-]*/,{cases:{\"@eos\":{token:\"tag.class\",next:\"@pop\"},\"@default\":\"tag.class\"}}],[/\\(/,{token:\"delimiter.parenthesis\",next:\"@attributeList\"}]],simpleText:[[/[^#]+$/,{token:\"\",next:\"@popall\"}],[/[^#]+/,{token:\"\"}],[/(#{)([^}]*)(})/,{cases:{\"@eos\":[\"interpolation.delimiter\",\"interpolation\",{token:\"interpolation.delimiter\",next:\"@popall\"}],\"@default\":[\"interpolation.delimiter\",\"interpolation\",\"interpolation.delimiter\"]}}],[/#$/,{token:\"\",next:\"@popall\"}],[/#/,\"\"]],attributeList:[[/\\s+/,\"\"],[/(\\w+)(\\s*=\\s*)(\"|')/,[\"attribute.name\",\"delimiter\",{token:\"attribute.value\",next:\"@value.$3\"}]],[/\\w+/,\"attribute.name\"],[/,/,{cases:{\"@eos\":{token:\"attribute.delimiter\",next:\"@popall\"},\"@default\":\"attribute.delimiter\"}}],[/\\)$/,{token:\"delimiter.parenthesis\",next:\"@popall\"}],[/\\)/,{token:\"delimiter.parenthesis\",next:\"@pop\"}]],whitespace:[[/^(\\s*)(\\/\\/.*)$/,{token:\"comment\",next:\"@blockText.$1.comment\"}],[/[ \\t\\r\\n]+/,\"\"],[/<!--/,{token:\"comment\",next:\"@comment\"}]],blockText:[[/^\\s+.*$/,{cases:{\"($S2\\\\s+.*$)\":{token:\"$S3\"},\"@default\":{token:\"@rematch\",next:\"@popall\"}}}],[/./,{token:\"@rematch\",next:\"@popall\"}]],comment:[[/[^<\\-]+/,\"comment.content\"],[/-->/,{token:\"comment\",next:\"@pop\"}],[/<!--/,\"comment.content.invalid\"],[/[<\\-]/,\"comment.content\"]],string:[[/[^\\\\\"'#]+/,{cases:{\"@eos\":{token:\"string\",next:\"@popall\"},\"@default\":\"string\"}}],[/@escapes/,{cases:{\"@eos\":{token:\"string.escape\",next:\"@popall\"},\"@default\":\"string.escape\"}}],[/\\\\./,{cases:{\"@eos\":{token:\"string.escape.invalid\",next:\"@popall\"},\"@default\":\"string.escape.invalid\"}}],[/(#{)([^}]*)(})/,[\"interpolation.delimiter\",\"interpolation\",\"interpolation.delimiter\"]],[/#/,\"string\"],[/[\"']/,{cases:{\"$#==$S2\":{token:\"string\",next:\"@pop\"},\"@default\":{token:\"string\"}}}]],value:[[/[^\\\\\"']+/,{cases:{\"@eos\":{token:\"attribute.value\",next:\"@popall\"},\"@default\":\"attribute.value\"}}],[/\\\\./,{cases:{\"@eos\":{token:\"attribute.value\",next:\"@popall\"},\"@default\":\"attribute.value\"}}],[/[\"']/,{cases:{\"$#==$S2\":{token:\"attribute.value\",next:\"@pop\"},\"@default\":{token:\"attribute.value\"}}}]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/python.b2175380.js",
    "content": "import{m as i}from\"./HMonacoEditor.4fbcd301.js\";import\"./index.becaf6b8.js\";/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\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,s,n)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let r of c(e))!p.call(t,r)&&(s||r!==\"default\")&&a(t,r,{get:()=>e[r],enumerable:!(n=l(e,r))||n.enumerable});return t},o={};d(o,i);var m={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).*?:\\\\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\",\"class\",\"continue\",\"def\",\"del\",\"elif\",\"else\",\"except\",\"exec\",\"finally\",\"for\",\"from\",\"global\",\"if\",\"import\",\"in\",\"is\",\"lambda\",\"nonlocal\",\"not\",\"or\",\"pass\",\"print\",\"raise\",\"return\",\"try\",\"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{m as conf,f as language};\n"
  },
  {
    "path": "client/dist/assets/qsharp.657dcf33.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"//\"},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"',notIn:[\"string\",\"comment\"]}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'}]},t={keywords:[\"namespace\",\"open\",\"as\",\"operation\",\"function\",\"body\",\"adjoint\",\"newtype\",\"controlled\",\"if\",\"elif\",\"else\",\"repeat\",\"until\",\"fixup\",\"for\",\"in\",\"while\",\"return\",\"fail\",\"within\",\"apply\",\"Adjoint\",\"Controlled\",\"Adj\",\"Ctl\",\"is\",\"self\",\"auto\",\"distribute\",\"invert\",\"intrinsic\",\"let\",\"set\",\"w/\",\"new\",\"not\",\"and\",\"or\",\"use\",\"borrow\",\"using\",\"borrowing\",\"mutable\"],typeKeywords:[\"Unit\",\"Int\",\"BigInt\",\"Double\",\"Bool\",\"String\",\"Qubit\",\"Result\",\"Pauli\",\"Range\"],invalidKeywords:[\"abstract\",\"base\",\"bool\",\"break\",\"byte\",\"case\",\"catch\",\"char\",\"checked\",\"class\",\"const\",\"continue\",\"decimal\",\"default\",\"delegate\",\"do\",\"double\",\"enum\",\"event\",\"explicit\",\"extern\",\"finally\",\"fixed\",\"float\",\"foreach\",\"goto\",\"implicit\",\"int\",\"interface\",\"lock\",\"long\",\"null\",\"object\",\"operator\",\"out\",\"override\",\"params\",\"private\",\"protected\",\"public\",\"readonly\",\"ref\",\"sbyte\",\"sealed\",\"short\",\"sizeof\",\"stackalloc\",\"static\",\"string\",\"struct\",\"switch\",\"this\",\"throw\",\"try\",\"typeof\",\"unit\",\"ulong\",\"unchecked\",\"unsafe\",\"ushort\",\"virtual\",\"void\",\"volatile\"],constants:[\"true\",\"false\",\"PauliI\",\"PauliX\",\"PauliY\",\"PauliZ\",\"One\",\"Zero\"],builtin:[\"X\",\"Y\",\"Z\",\"H\",\"HY\",\"S\",\"T\",\"SWAP\",\"CNOT\",\"CCNOT\",\"MultiX\",\"R\",\"RFrac\",\"Rx\",\"Ry\",\"Rz\",\"R1\",\"R1Frac\",\"Exp\",\"ExpFrac\",\"Measure\",\"M\",\"MultiM\",\"Message\",\"Length\",\"Assert\",\"AssertProb\",\"AssertEqual\"],operators:[\"and=\",\"<-\",\"->\",\"*\",\"*=\",\"@\",\"!\",\"^\",\"^=\",\":\",\"::\",\"..\",\"==\",\"...\",\"=\",\"=>\",\">\",\">=\",\"<\",\"<=\",\"-\",\"-=\",\"!=\",\"or=\",\"%\",\"%=\",\"|\",\"+\",\"+=\",\"?\",\"/\",\"/=\",\"&&&\",\"&&&=\",\"^^^\",\"^^^=\",\">>>\",\">>>=\",\"<<<\",\"<<<=\",\"|||\",\"|||=\",\"~~~\",\"_\",\"w/\",\"w/=\"],namespaceFollows:[\"namespace\",\"open\"],symbols:/[=><!~?:&|+\\-*\\/\\^%@._]+/,escapes:/\\\\[\\s\\S]/,tokenizer:{root:[[/[a-zA-Z_$][\\w$]*/,{cases:{\"@namespaceFollows\":{token:\"keyword.$0\",next:\"@namespace\"},\"@typeKeywords\":\"type\",\"@keywords\":\"keyword\",\"@constants\":\"constant\",\"@builtin\":\"keyword\",\"@invalidKeywords\":\"invalid\",\"@default\":\"identifier\"}}],{include:\"@whitespace\"},[/[{}()\\[\\]]/,\"@brackets\"],[/@symbols/,{cases:{\"@operators\":\"operator\",\"@default\":\"\"}}],[/\\d*\\.\\d+([eE][\\-+]?\\d+)?/,\"number.float\"],[/\\d+/,\"number\"],[/[;,.]/,\"delimiter\"],[/\"/,{token:\"string.quote\",bracket:\"@open\",next:\"@string\"}]],string:[[/[^\\\\\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\"/,{token:\"string.quote\",bracket:\"@close\",next:\"@pop\"}]],namespace:[{include:\"@whitespace\"},[/[A-Za-z]\\w*/,\"namespace\"],[/[\\.=]/,\"delimiter\"],[\"\",\"\",\"@pop\"]],whitespace:[[/[ \\t\\r\\n]+/,\"white\"],[/(\\/\\/).*/,\"comment\"]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/r.2f32f10f.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"#\"},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'}]},o={defaultToken:\"\",tokenPostfix:\".r\",roxygen:[\"@alias\",\"@aliases\",\"@assignee\",\"@author\",\"@backref\",\"@callGraph\",\"@callGraphDepth\",\"@callGraphPrimitives\",\"@concept\",\"@describeIn\",\"@description\",\"@details\",\"@docType\",\"@encoding\",\"@evalNamespace\",\"@evalRd\",\"@example\",\"@examples\",\"@export\",\"@exportClass\",\"@exportMethod\",\"@exportPattern\",\"@family\",\"@field\",\"@formals\",\"@format\",\"@import\",\"@importClassesFrom\",\"@importFrom\",\"@importMethodsFrom\",\"@include\",\"@inherit\",\"@inheritDotParams\",\"@inheritParams\",\"@inheritSection\",\"@keywords\",\"@md\",\"@method\",\"@name\",\"@noMd\",\"@noRd\",\"@note\",\"@param\",\"@rawNamespace\",\"@rawRd\",\"@rdname\",\"@references\",\"@return\",\"@S3method\",\"@section\",\"@seealso\",\"@setClass\",\"@slot\",\"@source\",\"@template\",\"@templateVar\",\"@title\",\"@TODO\",\"@usage\",\"@useDynLib\"],constants:[\"NULL\",\"FALSE\",\"TRUE\",\"NA\",\"Inf\",\"NaN\",\"NA_integer_\",\"NA_real_\",\"NA_complex_\",\"NA_character_\",\"T\",\"F\",\"LETTERS\",\"letters\",\"month.abb\",\"month.name\",\"pi\",\"R.version.string\"],keywords:[\"break\",\"next\",\"return\",\"if\",\"else\",\"for\",\"in\",\"repeat\",\"while\",\"array\",\"category\",\"character\",\"complex\",\"double\",\"function\",\"integer\",\"list\",\"logical\",\"matrix\",\"numeric\",\"vector\",\"data.frame\",\"factor\",\"library\",\"require\",\"attach\",\"detach\",\"source\"],special:[\"\\\\n\",\"\\\\r\",\"\\\\t\",\"\\\\b\",\"\\\\a\",\"\\\\f\",\"\\\\v\",\"\\\\'\",'\\\\\"',\"\\\\\\\\\"],brackets:[{open:\"{\",close:\"}\",token:\"delimiter.curly\"},{open:\"[\",close:\"]\",token:\"delimiter.bracket\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"}],tokenizer:{root:[{include:\"@numbers\"},{include:\"@strings\"},[/[{}\\[\\]()]/,\"@brackets\"],{include:\"@operators\"},[/#'$/,\"comment.doc\"],[/#'/,\"comment.doc\",\"@roxygen\"],[/(^#.*$)/,\"comment\"],[/\\s+/,\"white\"],[/[,:;]/,\"delimiter\"],[/@[a-zA-Z]\\w*/,\"tag\"],[/[a-zA-Z]\\w*/,{cases:{\"@keywords\":\"keyword\",\"@constants\":\"constant\",\"@default\":\"identifier\"}}]],roxygen:[[/@\\w+/,{cases:{\"@roxygen\":\"tag\",\"@eos\":{token:\"comment.doc\",next:\"@pop\"},\"@default\":\"comment.doc\"}}],[/\\s+/,{cases:{\"@eos\":{token:\"comment.doc\",next:\"@pop\"},\"@default\":\"comment.doc\"}}],[/.*/,{token:\"comment.doc\",next:\"@pop\"}]],numbers:[[/0[xX][0-9a-fA-F]+/,\"number.hex\"],[/-?(\\d*\\.)?\\d+([eE][+\\-]?\\d+)?/,\"number\"]],operators:[[/<{1,2}-/,\"operator\"],[/->{1,2}/,\"operator\"],[/%[^%\\s]+%/,\"operator\"],[/\\*\\*/,\"operator\"],[/%%/,\"operator\"],[/&&/,\"operator\"],[/\\|\\|/,\"operator\"],[/<</,\"operator\"],[/>>/,\"operator\"],[/[-+=&|!<>^~*/:$]/,\"operator\"]],strings:[[/'/,\"string.escape\",\"@stringBody\"],[/\"/,\"string.escape\",\"@dblStringBody\"]],stringBody:[[/\\\\./,{cases:{\"@special\":\"string\",\"@default\":\"error-token\"}}],[/'/,\"string.escape\",\"@popall\"],[/./,\"string\"]],dblStringBody:[[/\\\\./,{cases:{\"@special\":\"string\",\"@default\":\"error-token\"}}],[/\"/,\"string.escape\",\"@popall\"],[/./,\"string\"]]}};export{e as conf,o as language};\n"
  },
  {
    "path": "client/dist/assets/razor.ef01513e.js",
    "content": "import{m}from\"./HMonacoEditor.4fbcd301.js\";import\"./index.becaf6b8.js\";/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,p=(r,e,i,a)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let t of l(e))!d.call(r,t)&&(i||t!==\"default\")&&s(r,t,{get:()=>e[t],enumerable:!(a=c(e,t))||a.enumerable});return r},o={};p(o,m);var n=[\"area\",\"base\",\"br\",\"col\",\"embed\",\"hr\",\"img\",\"input\",\"keygen\",\"link\",\"menuitem\",\"meta\",\"param\",\"source\",\"track\",\"wbr\"],u={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:\">\"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${n.join(\"|\")}))(\\\\w[\\\\w\\\\d]*)([^/>]*(?!/)>)[^<]*$`,\"i\"),afterText:/^<\\/(\\w[\\w\\d]*)\\s*>$/i,action:{indentAction:o.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${n.join(\"|\")}))(\\\\w[\\\\w\\\\d]*)([^/>]*(?!/)>)[^<]*$`,\"i\"),action:{indentAction:o.languages.IndentAction.Indent}}]},y={defaultToken:\"\",tokenPostfix:\"\",tokenizer:{root:[[/@@@@/],[/@[^@]/,{token:\"@rematch\",switchTo:\"@razorInSimpleState.root\"}],[/<!DOCTYPE/,\"metatag.html\",\"@doctype\"],[/<!--/,\"comment.html\",\"@comment\"],[/(<)([\\w\\-]+)(\\/>)/,[\"delimiter.html\",\"tag.html\",\"delimiter.html\"]],[/(<)(script)/,[\"delimiter.html\",{token:\"tag.html\",next:\"@script\"}]],[/(<)(style)/,[\"delimiter.html\",{token:\"tag.html\",next:\"@style\"}]],[/(<)([:\\w\\-]+)/,[\"delimiter.html\",{token:\"tag.html\",next:\"@otherTag\"}]],[/(<\\/)([\\w\\-]+)/,[\"delimiter.html\",{token:\"tag.html\",next:\"@otherTag\"}]],[/</,\"delimiter.html\"],[/[ \\t\\r\\n]+/],[/[^<@]+/]],doctype:[[/@[^@]/,{token:\"@rematch\",switchTo:\"@razorInSimpleState.comment\"}],[/[^>]+/,\"metatag.content.html\"],[/>/,\"metatag.html\",\"@pop\"]],comment:[[/@[^@]/,{token:\"@rematch\",switchTo:\"@razorInSimpleState.comment\"}],[/-->/,\"comment.html\",\"@pop\"],[/[^-]+/,\"comment.content.html\"],[/./,\"comment.content.html\"]],otherTag:[[/@[^@]/,{token:\"@rematch\",switchTo:\"@razorInSimpleState.otherTag\"}],[/\\/?>/,\"delimiter.html\",\"@pop\"],[/\"([^\"]*)\"/,\"attribute.value\"],[/'([^']*)'/,\"attribute.value\"],[/[\\w\\-]+/,\"attribute.name\"],[/=/,\"delimiter\"],[/[ \\t\\r\\n]+/]],script:[[/@[^@]/,{token:\"@rematch\",switchTo:\"@razorInSimpleState.script\"}],[/type/,\"attribute.name\",\"@scriptAfterType\"],[/\"([^\"]*)\"/,\"attribute.value\"],[/'([^']*)'/,\"attribute.value\"],[/[\\w\\-]+/,\"attribute.name\"],[/=/,\"delimiter\"],[/>/,{token:\"delimiter.html\",next:\"@scriptEmbedded.text/javascript\",nextEmbedded:\"text/javascript\"}],[/[ \\t\\r\\n]+/],[/(<\\/)(script\\s*)(>)/,[\"delimiter.html\",\"tag.html\",{token:\"delimiter.html\",next:\"@pop\"}]]],scriptAfterType:[[/@[^@]/,{token:\"@rematch\",switchTo:\"@razorInSimpleState.scriptAfterType\"}],[/=/,\"delimiter\",\"@scriptAfterTypeEquals\"],[/>/,{token:\"delimiter.html\",next:\"@scriptEmbedded.text/javascript\",nextEmbedded:\"text/javascript\"}],[/[ \\t\\r\\n]+/],[/<\\/script\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:\"@rematch\",switchTo:\"@razorInSimpleState.scriptAfterTypeEquals\"}],[/\"([^\"]*)\"/,{token:\"attribute.value\",switchTo:\"@scriptWithCustomType.$1\"}],[/'([^']*)'/,{token:\"attribute.value\",switchTo:\"@scriptWithCustomType.$1\"}],[/>/,{token:\"delimiter.html\",next:\"@scriptEmbedded.text/javascript\",nextEmbedded:\"text/javascript\"}],[/[ \\t\\r\\n]+/],[/<\\/script\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],scriptWithCustomType:[[/@[^@]/,{token:\"@rematch\",switchTo:\"@razorInSimpleState.scriptWithCustomType.$S2\"}],[/>/,{token:\"delimiter.html\",next:\"@scriptEmbedded.$S2\",nextEmbedded:\"$S2\"}],[/\"([^\"]*)\"/,\"attribute.value\"],[/'([^']*)'/,\"attribute.value\"],[/[\\w\\-]+/,\"attribute.name\"],[/=/,\"delimiter\"],[/[ \\t\\r\\n]+/],[/<\\/script\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],scriptEmbedded:[[/@[^@]/,{token:\"@rematch\",switchTo:\"@razorInEmbeddedState.scriptEmbedded.$S2\",nextEmbedded:\"@pop\"}],[/<\\/script/,{token:\"@rematch\",next:\"@pop\",nextEmbedded:\"@pop\"}]],style:[[/@[^@]/,{token:\"@rematch\",switchTo:\"@razorInSimpleState.style\"}],[/type/,\"attribute.name\",\"@styleAfterType\"],[/\"([^\"]*)\"/,\"attribute.value\"],[/'([^']*)'/,\"attribute.value\"],[/[\\w\\-]+/,\"attribute.name\"],[/=/,\"delimiter\"],[/>/,{token:\"delimiter.html\",next:\"@styleEmbedded.text/css\",nextEmbedded:\"text/css\"}],[/[ \\t\\r\\n]+/],[/(<\\/)(style\\s*)(>)/,[\"delimiter.html\",\"tag.html\",{token:\"delimiter.html\",next:\"@pop\"}]]],styleAfterType:[[/@[^@]/,{token:\"@rematch\",switchTo:\"@razorInSimpleState.styleAfterType\"}],[/=/,\"delimiter\",\"@styleAfterTypeEquals\"],[/>/,{token:\"delimiter.html\",next:\"@styleEmbedded.text/css\",nextEmbedded:\"text/css\"}],[/[ \\t\\r\\n]+/],[/<\\/style\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],styleAfterTypeEquals:[[/@[^@]/,{token:\"@rematch\",switchTo:\"@razorInSimpleState.styleAfterTypeEquals\"}],[/\"([^\"]*)\"/,{token:\"attribute.value\",switchTo:\"@styleWithCustomType.$1\"}],[/'([^']*)'/,{token:\"attribute.value\",switchTo:\"@styleWithCustomType.$1\"}],[/>/,{token:\"delimiter.html\",next:\"@styleEmbedded.text/css\",nextEmbedded:\"text/css\"}],[/[ \\t\\r\\n]+/],[/<\\/style\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],styleWithCustomType:[[/@[^@]/,{token:\"@rematch\",switchTo:\"@razorInSimpleState.styleWithCustomType.$S2\"}],[/>/,{token:\"delimiter.html\",next:\"@styleEmbedded.$S2\",nextEmbedded:\"$S2\"}],[/\"([^\"]*)\"/,\"attribute.value\"],[/'([^']*)'/,\"attribute.value\"],[/[\\w\\-]+/,\"attribute.name\"],[/=/,\"delimiter\"],[/[ \\t\\r\\n]+/],[/<\\/style\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],styleEmbedded:[[/@[^@]/,{token:\"@rematch\",switchTo:\"@razorInEmbeddedState.styleEmbedded.$S2\",nextEmbedded:\"@pop\"}],[/<\\/style/,{token:\"@rematch\",next:\"@pop\",nextEmbedded:\"@pop\"}]],razorInSimpleState:[[/@\\*/,\"comment.cs\",\"@razorBlockCommentTopLevel\"],[/@[{(]/,\"metatag.cs\",\"@razorRootTopLevel\"],[/(@)(\\s*[\\w]+)/,[\"metatag.cs\",{token:\"identifier.cs\",switchTo:\"@$S2.$S3\"}]],[/[})]/,{token:\"metatag.cs\",switchTo:\"@$S2.$S3\"}],[/\\*@/,{token:\"comment.cs\",switchTo:\"@$S2.$S3\"}]],razorInEmbeddedState:[[/@\\*/,\"comment.cs\",\"@razorBlockCommentTopLevel\"],[/@[{(]/,\"metatag.cs\",\"@razorRootTopLevel\"],[/(@)(\\s*[\\w]+)/,[\"metatag.cs\",{token:\"identifier.cs\",switchTo:\"@$S2.$S3\",nextEmbedded:\"$S3\"}]],[/[})]/,{token:\"metatag.cs\",switchTo:\"@$S2.$S3\",nextEmbedded:\"$S3\"}],[/\\*@/,{token:\"comment.cs\",switchTo:\"@$S2.$S3\",nextEmbedded:\"$S3\"}]],razorBlockCommentTopLevel:[[/\\*@/,\"@rematch\",\"@pop\"],[/[^*]+/,\"comment.cs\"],[/./,\"comment.cs\"]],razorBlockComment:[[/\\*@/,\"comment.cs\",\"@pop\"],[/[^*]+/,\"comment.cs\"],[/./,\"comment.cs\"]],razorRootTopLevel:[[/\\{/,\"delimiter.bracket.cs\",\"@razorRoot\"],[/\\(/,\"delimiter.parenthesis.cs\",\"@razorRoot\"],[/[})]/,\"@rematch\",\"@pop\"],{include:\"razorCommon\"}],razorRoot:[[/\\{/,\"delimiter.bracket.cs\",\"@razorRoot\"],[/\\(/,\"delimiter.parenthesis.cs\",\"@razorRoot\"],[/\\}/,\"delimiter.bracket.cs\",\"@pop\"],[/\\)/,\"delimiter.parenthesis.cs\",\"@pop\"],{include:\"razorCommon\"}],razorCommon:[[/[a-zA-Z_]\\w*/,{cases:{\"@razorKeywords\":{token:\"keyword.cs\"},\"@default\":\"identifier.cs\"}}],[/[\\[\\]]/,\"delimiter.array.cs\"],[/[ \\t\\r\\n]+/],[/\\/\\/.*$/,\"comment.cs\"],[/@\\*/,\"comment.cs\",\"@razorBlockComment\"],[/\"([^\"]*)\"/,\"string.cs\"],[/'([^']*)'/,\"string.cs\"],[/(<)([\\w\\-]+)(\\/>)/,[\"delimiter.html\",\"tag.html\",\"delimiter.html\"]],[/(<)([\\w\\-]+)(>)/,[\"delimiter.html\",\"tag.html\",\"delimiter.html\"]],[/(<\\/)([\\w\\-]+)(>)/,[\"delimiter.html\",\"tag.html\",\"delimiter.html\"]],[/[\\+\\-\\*\\%\\&\\|\\^\\~\\!\\=\\<\\>\\/\\?\\;\\:\\.\\,]/,\"delimiter.cs\"],[/\\d*\\d+[eE]([\\-+]?\\d+)?/,\"number.float.cs\"],[/\\d*\\.\\d+([eE][\\-+]?\\d+)?/,\"number.float.cs\"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,\"number.hex.cs\"],[/0[0-7']*[0-7]/,\"number.octal.cs\"],[/0[bB][0-1']*[0-1]/,\"number.binary.cs\"],[/\\d[\\d']*/,\"number.cs\"],[/\\d/,\"number.cs\"]]},razorKeywords:[\"abstract\",\"as\",\"async\",\"await\",\"base\",\"bool\",\"break\",\"by\",\"byte\",\"case\",\"catch\",\"char\",\"checked\",\"class\",\"const\",\"continue\",\"decimal\",\"default\",\"delegate\",\"do\",\"double\",\"descending\",\"explicit\",\"event\",\"extern\",\"else\",\"enum\",\"false\",\"finally\",\"fixed\",\"float\",\"for\",\"foreach\",\"from\",\"goto\",\"group\",\"if\",\"implicit\",\"in\",\"int\",\"interface\",\"internal\",\"into\",\"is\",\"lock\",\"long\",\"nameof\",\"new\",\"null\",\"namespace\",\"object\",\"operator\",\"out\",\"override\",\"orderby\",\"params\",\"private\",\"protected\",\"public\",\"readonly\",\"ref\",\"return\",\"switch\",\"struct\",\"sbyte\",\"sealed\",\"short\",\"sizeof\",\"stackalloc\",\"static\",\"string\",\"select\",\"this\",\"throw\",\"true\",\"try\",\"typeof\",\"uint\",\"ulong\",\"unchecked\",\"unsafe\",\"ushort\",\"using\",\"var\",\"virtual\",\"volatile\",\"void\",\"when\",\"while\",\"where\",\"yield\",\"model\",\"inject\"],escapes:/\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/};export{u as conf,y as language};\n"
  },
  {
    "path": "client/dist/assets/redis.9808fa4a.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var E={brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}]},S={defaultToken:\"\",tokenPostfix:\".redis\",ignoreCase:!0,brackets:[{open:\"[\",close:\"]\",token:\"delimiter.square\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"}],keywords:[\"APPEND\",\"AUTH\",\"BGREWRITEAOF\",\"BGSAVE\",\"BITCOUNT\",\"BITFIELD\",\"BITOP\",\"BITPOS\",\"BLPOP\",\"BRPOP\",\"BRPOPLPUSH\",\"CLIENT\",\"KILL\",\"LIST\",\"GETNAME\",\"PAUSE\",\"REPLY\",\"SETNAME\",\"CLUSTER\",\"ADDSLOTS\",\"COUNT-FAILURE-REPORTS\",\"COUNTKEYSINSLOT\",\"DELSLOTS\",\"FAILOVER\",\"FORGET\",\"GETKEYSINSLOT\",\"INFO\",\"KEYSLOT\",\"MEET\",\"NODES\",\"REPLICATE\",\"RESET\",\"SAVECONFIG\",\"SET-CONFIG-EPOCH\",\"SETSLOT\",\"SLAVES\",\"SLOTS\",\"COMMAND\",\"COUNT\",\"GETKEYS\",\"CONFIG\",\"GET\",\"REWRITE\",\"SET\",\"RESETSTAT\",\"DBSIZE\",\"DEBUG\",\"OBJECT\",\"SEGFAULT\",\"DECR\",\"DECRBY\",\"DEL\",\"DISCARD\",\"DUMP\",\"ECHO\",\"EVAL\",\"EVALSHA\",\"EXEC\",\"EXISTS\",\"EXPIRE\",\"EXPIREAT\",\"FLUSHALL\",\"FLUSHDB\",\"GEOADD\",\"GEOHASH\",\"GEOPOS\",\"GEODIST\",\"GEORADIUS\",\"GEORADIUSBYMEMBER\",\"GETBIT\",\"GETRANGE\",\"GETSET\",\"HDEL\",\"HEXISTS\",\"HGET\",\"HGETALL\",\"HINCRBY\",\"HINCRBYFLOAT\",\"HKEYS\",\"HLEN\",\"HMGET\",\"HMSET\",\"HSET\",\"HSETNX\",\"HSTRLEN\",\"HVALS\",\"INCR\",\"INCRBY\",\"INCRBYFLOAT\",\"KEYS\",\"LASTSAVE\",\"LINDEX\",\"LINSERT\",\"LLEN\",\"LPOP\",\"LPUSH\",\"LPUSHX\",\"LRANGE\",\"LREM\",\"LSET\",\"LTRIM\",\"MGET\",\"MIGRATE\",\"MONITOR\",\"MOVE\",\"MSET\",\"MSETNX\",\"MULTI\",\"PERSIST\",\"PEXPIRE\",\"PEXPIREAT\",\"PFADD\",\"PFCOUNT\",\"PFMERGE\",\"PING\",\"PSETEX\",\"PSUBSCRIBE\",\"PUBSUB\",\"PTTL\",\"PUBLISH\",\"PUNSUBSCRIBE\",\"QUIT\",\"RANDOMKEY\",\"READONLY\",\"READWRITE\",\"RENAME\",\"RENAMENX\",\"RESTORE\",\"ROLE\",\"RPOP\",\"RPOPLPUSH\",\"RPUSH\",\"RPUSHX\",\"SADD\",\"SAVE\",\"SCARD\",\"SCRIPT\",\"FLUSH\",\"LOAD\",\"SDIFF\",\"SDIFFSTORE\",\"SELECT\",\"SETBIT\",\"SETEX\",\"SETNX\",\"SETRANGE\",\"SHUTDOWN\",\"SINTER\",\"SINTERSTORE\",\"SISMEMBER\",\"SLAVEOF\",\"SLOWLOG\",\"SMEMBERS\",\"SMOVE\",\"SORT\",\"SPOP\",\"SRANDMEMBER\",\"SREM\",\"STRLEN\",\"SUBSCRIBE\",\"SUNION\",\"SUNIONSTORE\",\"SWAPDB\",\"SYNC\",\"TIME\",\"TOUCH\",\"TTL\",\"TYPE\",\"UNSUBSCRIBE\",\"UNLINK\",\"UNWATCH\",\"WAIT\",\"WATCH\",\"ZADD\",\"ZCARD\",\"ZCOUNT\",\"ZINCRBY\",\"ZINTERSTORE\",\"ZLEXCOUNT\",\"ZRANGE\",\"ZRANGEBYLEX\",\"ZREVRANGEBYLEX\",\"ZRANGEBYSCORE\",\"ZRANK\",\"ZREM\",\"ZREMRANGEBYLEX\",\"ZREMRANGEBYRANK\",\"ZREMRANGEBYSCORE\",\"ZREVRANGE\",\"ZREVRANGEBYSCORE\",\"ZREVRANK\",\"ZSCORE\",\"ZUNIONSTORE\",\"SCAN\",\"SSCAN\",\"HSCAN\",\"ZSCAN\"],operators:[],builtinFunctions:[],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:\"@whitespace\"},{include:\"@pseudoColumns\"},{include:\"@numbers\"},{include:\"@strings\"},{include:\"@scopes\"},[/[;,.]/,\"delimiter\"],[/[()]/,\"@brackets\"],[/[\\w@#$]+/,{cases:{\"@keywords\":\"keyword\",\"@operators\":\"operator\",\"@builtinVariables\":\"predefined\",\"@builtinFunctions\":\"predefined\",\"@default\":\"identifier\"}}],[/[<>=!%&+\\-*/|~^]/,\"operator\"]],whitespace:[[/\\s+/,\"white\"]],pseudoColumns:[[/[$][A-Za-z_][\\w@#$]*/,{cases:{\"@pseudoColumns\":\"predefined\",\"@default\":\"identifier\"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,\"number\"],[/[$][+-]*\\d*(\\.\\d*)?/,\"number\"],[/((\\d+(\\.\\d*)?)|(\\.\\d+))([eE][\\-+]?\\d+)?/,\"number\"]],strings:[[/'/,{token:\"string\",next:\"@string\"}],[/\"/,{token:\"string.double\",next:\"@stringDouble\"}]],string:[[/[^']+/,\"string\"],[/''/,\"string\"],[/'/,{token:\"string\",next:\"@pop\"}]],stringDouble:[[/[^\"]+/,\"string.double\"],[/\"\"/,\"string.double\"],[/\"/,{token:\"string.double\",next:\"@pop\"}]],scopes:[]}};export{E as conf,S as language};\n"
  },
  {
    "path": "client/dist/assets/redshift.d34bf7aa.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"--\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}]},_={defaultToken:\"\",tokenPostfix:\".sql\",ignoreCase:!0,brackets:[{open:\"[\",close:\"]\",token:\"delimiter.square\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"}],keywords:[\"AES128\",\"AES256\",\"ALL\",\"ALLOWOVERWRITE\",\"ANALYSE\",\"ANALYZE\",\"AND\",\"ANY\",\"ARRAY\",\"AS\",\"ASC\",\"AUTHORIZATION\",\"AZ64\",\"BACKUP\",\"BETWEEN\",\"BINARY\",\"BLANKSASNULL\",\"BOTH\",\"BYTEDICT\",\"BZIP2\",\"CASE\",\"CAST\",\"CHECK\",\"COLLATE\",\"COLUMN\",\"CONSTRAINT\",\"CREATE\",\"CREDENTIALS\",\"CROSS\",\"CURRENT_DATE\",\"CURRENT_TIME\",\"CURRENT_TIMESTAMP\",\"CURRENT_USER\",\"CURRENT_USER_ID\",\"DEFAULT\",\"DEFERRABLE\",\"DEFLATE\",\"DEFRAG\",\"DELTA\",\"DELTA32K\",\"DESC\",\"DISABLE\",\"DISTINCT\",\"DO\",\"ELSE\",\"EMPTYASNULL\",\"ENABLE\",\"ENCODE\",\"ENCRYPT\",\"ENCRYPTION\",\"END\",\"EXCEPT\",\"EXPLICIT\",\"FALSE\",\"FOR\",\"FOREIGN\",\"FREEZE\",\"FROM\",\"FULL\",\"GLOBALDICT256\",\"GLOBALDICT64K\",\"GRANT\",\"GROUP\",\"GZIP\",\"HAVING\",\"IDENTITY\",\"IGNORE\",\"ILIKE\",\"IN\",\"INITIALLY\",\"INNER\",\"INTERSECT\",\"INTO\",\"IS\",\"ISNULL\",\"JOIN\",\"LANGUAGE\",\"LEADING\",\"LEFT\",\"LIKE\",\"LIMIT\",\"LOCALTIME\",\"LOCALTIMESTAMP\",\"LUN\",\"LUNS\",\"LZO\",\"LZOP\",\"MINUS\",\"MOSTLY16\",\"MOSTLY32\",\"MOSTLY8\",\"NATURAL\",\"NEW\",\"NOT\",\"NOTNULL\",\"NULL\",\"NULLS\",\"OFF\",\"OFFLINE\",\"OFFSET\",\"OID\",\"OLD\",\"ON\",\"ONLY\",\"OPEN\",\"OR\",\"ORDER\",\"OUTER\",\"OVERLAPS\",\"PARALLEL\",\"PARTITION\",\"PERCENT\",\"PERMISSIONS\",\"PLACING\",\"PRIMARY\",\"RAW\",\"READRATIO\",\"RECOVER\",\"REFERENCES\",\"RESPECT\",\"REJECTLOG\",\"RESORT\",\"RESTORE\",\"RIGHT\",\"SELECT\",\"SESSION_USER\",\"SIMILAR\",\"SNAPSHOT\",\"SOME\",\"SYSDATE\",\"SYSTEM\",\"TABLE\",\"TAG\",\"TDES\",\"TEXT255\",\"TEXT32K\",\"THEN\",\"TIMESTAMP\",\"TO\",\"TOP\",\"TRAILING\",\"TRUE\",\"TRUNCATECOLUMNS\",\"UNION\",\"UNIQUE\",\"USER\",\"USING\",\"VERBOSE\",\"WALLET\",\"WHEN\",\"WHERE\",\"WITH\",\"WITHOUT\"],operators:[\"AND\",\"BETWEEN\",\"IN\",\"LIKE\",\"NOT\",\"OR\",\"IS\",\"NULL\",\"INTERSECT\",\"UNION\",\"INNER\",\"JOIN\",\"LEFT\",\"OUTER\",\"RIGHT\"],builtinFunctions:[\"current_schema\",\"current_schemas\",\"has_database_privilege\",\"has_schema_privilege\",\"has_table_privilege\",\"age\",\"current_time\",\"current_timestamp\",\"localtime\",\"isfinite\",\"now\",\"ascii\",\"get_bit\",\"get_byte\",\"set_bit\",\"set_byte\",\"to_ascii\",\"approximate percentile_disc\",\"avg\",\"count\",\"listagg\",\"max\",\"median\",\"min\",\"percentile_cont\",\"stddev_samp\",\"stddev_pop\",\"sum\",\"var_samp\",\"var_pop\",\"bit_and\",\"bit_or\",\"bool_and\",\"bool_or\",\"cume_dist\",\"first_value\",\"lag\",\"last_value\",\"lead\",\"nth_value\",\"ratio_to_report\",\"dense_rank\",\"ntile\",\"percent_rank\",\"rank\",\"row_number\",\"case\",\"coalesce\",\"decode\",\"greatest\",\"least\",\"nvl\",\"nvl2\",\"nullif\",\"add_months\",\"at time zone\",\"convert_timezone\",\"current_date\",\"date_cmp\",\"date_cmp_timestamp\",\"date_cmp_timestamptz\",\"date_part_year\",\"dateadd\",\"datediff\",\"date_part\",\"date_trunc\",\"extract\",\"getdate\",\"interval_cmp\",\"last_day\",\"months_between\",\"next_day\",\"sysdate\",\"timeofday\",\"timestamp_cmp\",\"timestamp_cmp_date\",\"timestamp_cmp_timestamptz\",\"timestamptz_cmp\",\"timestamptz_cmp_date\",\"timestamptz_cmp_timestamp\",\"timezone\",\"to_timestamp\",\"trunc\",\"abs\",\"acos\",\"asin\",\"atan\",\"atan2\",\"cbrt\",\"ceil\",\"ceiling\",\"checksum\",\"cos\",\"cot\",\"degrees\",\"dexp\",\"dlog1\",\"dlog10\",\"exp\",\"floor\",\"ln\",\"log\",\"mod\",\"pi\",\"power\",\"radians\",\"random\",\"round\",\"sin\",\"sign\",\"sqrt\",\"tan\",\"to_hex\",\"bpcharcmp\",\"btrim\",\"bttext_pattern_cmp\",\"char_length\",\"character_length\",\"charindex\",\"chr\",\"concat\",\"crc32\",\"func_sha1\",\"initcap\",\"left and rights\",\"len\",\"length\",\"lower\",\"lpad and rpads\",\"ltrim\",\"md5\",\"octet_length\",\"position\",\"quote_ident\",\"quote_literal\",\"regexp_count\",\"regexp_instr\",\"regexp_replace\",\"regexp_substr\",\"repeat\",\"replace\",\"replicate\",\"reverse\",\"rtrim\",\"split_part\",\"strpos\",\"strtol\",\"substring\",\"textlen\",\"translate\",\"trim\",\"upper\",\"cast\",\"convert\",\"to_char\",\"to_date\",\"to_number\",\"json_array_length\",\"json_extract_array_element_text\",\"json_extract_path_text\",\"current_setting\",\"pg_cancel_backend\",\"pg_terminate_backend\",\"set_config\",\"current_database\",\"current_user\",\"current_user_id\",\"pg_backend_pid\",\"pg_last_copy_count\",\"pg_last_copy_id\",\"pg_last_query_id\",\"pg_last_unload_count\",\"session_user\",\"slice_num\",\"user\",\"version\",\"abbrev\",\"acosd\",\"any\",\"area\",\"array_agg\",\"array_append\",\"array_cat\",\"array_dims\",\"array_fill\",\"array_length\",\"array_lower\",\"array_ndims\",\"array_position\",\"array_positions\",\"array_prepend\",\"array_remove\",\"array_replace\",\"array_to_json\",\"array_to_string\",\"array_to_tsvector\",\"array_upper\",\"asind\",\"atan2d\",\"atand\",\"bit\",\"bit_length\",\"bound_box\",\"box\",\"brin_summarize_new_values\",\"broadcast\",\"cardinality\",\"center\",\"circle\",\"clock_timestamp\",\"col_description\",\"concat_ws\",\"convert_from\",\"convert_to\",\"corr\",\"cosd\",\"cotd\",\"covar_pop\",\"covar_samp\",\"current_catalog\",\"current_query\",\"current_role\",\"currval\",\"cursor_to_xml\",\"diameter\",\"div\",\"encode\",\"enum_first\",\"enum_last\",\"enum_range\",\"every\",\"family\",\"format\",\"format_type\",\"generate_series\",\"generate_subscripts\",\"get_current_ts_config\",\"gin_clean_pending_list\",\"grouping\",\"has_any_column_privilege\",\"has_column_privilege\",\"has_foreign_data_wrapper_privilege\",\"has_function_privilege\",\"has_language_privilege\",\"has_sequence_privilege\",\"has_server_privilege\",\"has_tablespace_privilege\",\"has_type_privilege\",\"height\",\"host\",\"hostmask\",\"inet_client_addr\",\"inet_client_port\",\"inet_merge\",\"inet_same_family\",\"inet_server_addr\",\"inet_server_port\",\"isclosed\",\"isempty\",\"isopen\",\"json_agg\",\"json_object\",\"json_object_agg\",\"json_populate_record\",\"json_populate_recordset\",\"json_to_record\",\"json_to_recordset\",\"jsonb_agg\",\"jsonb_object_agg\",\"justify_days\",\"justify_hours\",\"justify_interval\",\"lastval\",\"left\",\"line\",\"localtimestamp\",\"lower_inc\",\"lower_inf\",\"lpad\",\"lseg\",\"make_date\",\"make_interval\",\"make_time\",\"make_timestamp\",\"make_timestamptz\",\"masklen\",\"mode\",\"netmask\",\"network\",\"nextval\",\"npoints\",\"num_nonnulls\",\"num_nulls\",\"numnode\",\"obj_description\",\"overlay\",\"parse_ident\",\"path\",\"pclose\",\"percentile_disc\",\"pg_advisory_lock\",\"pg_advisory_lock_shared\",\"pg_advisory_unlock\",\"pg_advisory_unlock_all\",\"pg_advisory_unlock_shared\",\"pg_advisory_xact_lock\",\"pg_advisory_xact_lock_shared\",\"pg_backup_start_time\",\"pg_blocking_pids\",\"pg_client_encoding\",\"pg_collation_is_visible\",\"pg_column_size\",\"pg_conf_load_time\",\"pg_control_checkpoint\",\"pg_control_init\",\"pg_control_recovery\",\"pg_control_system\",\"pg_conversion_is_visible\",\"pg_create_logical_replication_slot\",\"pg_create_physical_replication_slot\",\"pg_create_restore_point\",\"pg_current_xlog_flush_location\",\"pg_current_xlog_insert_location\",\"pg_current_xlog_location\",\"pg_database_size\",\"pg_describe_object\",\"pg_drop_replication_slot\",\"pg_export_snapshot\",\"pg_filenode_relation\",\"pg_function_is_visible\",\"pg_get_constraintdef\",\"pg_get_expr\",\"pg_get_function_arguments\",\"pg_get_function_identity_arguments\",\"pg_get_function_result\",\"pg_get_functiondef\",\"pg_get_indexdef\",\"pg_get_keywords\",\"pg_get_object_address\",\"pg_get_owned_sequence\",\"pg_get_ruledef\",\"pg_get_serial_sequence\",\"pg_get_triggerdef\",\"pg_get_userbyid\",\"pg_get_viewdef\",\"pg_has_role\",\"pg_identify_object\",\"pg_identify_object_as_address\",\"pg_index_column_has_property\",\"pg_index_has_property\",\"pg_indexam_has_property\",\"pg_indexes_size\",\"pg_is_in_backup\",\"pg_is_in_recovery\",\"pg_is_other_temp_schema\",\"pg_is_xlog_replay_paused\",\"pg_last_committed_xact\",\"pg_last_xact_replay_timestamp\",\"pg_last_xlog_receive_location\",\"pg_last_xlog_replay_location\",\"pg_listening_channels\",\"pg_logical_emit_message\",\"pg_logical_slot_get_binary_changes\",\"pg_logical_slot_get_changes\",\"pg_logical_slot_peek_binary_changes\",\"pg_logical_slot_peek_changes\",\"pg_ls_dir\",\"pg_my_temp_schema\",\"pg_notification_queue_usage\",\"pg_opclass_is_visible\",\"pg_operator_is_visible\",\"pg_opfamily_is_visible\",\"pg_options_to_table\",\"pg_postmaster_start_time\",\"pg_read_binary_file\",\"pg_read_file\",\"pg_relation_filenode\",\"pg_relation_filepath\",\"pg_relation_size\",\"pg_reload_conf\",\"pg_replication_origin_create\",\"pg_replication_origin_drop\",\"pg_replication_origin_oid\",\"pg_replication_origin_progress\",\"pg_replication_origin_session_is_setup\",\"pg_replication_origin_session_progress\",\"pg_replication_origin_session_reset\",\"pg_replication_origin_session_setup\",\"pg_replication_origin_xact_reset\",\"pg_replication_origin_xact_setup\",\"pg_rotate_logfile\",\"pg_size_bytes\",\"pg_size_pretty\",\"pg_sleep\",\"pg_sleep_for\",\"pg_sleep_until\",\"pg_start_backup\",\"pg_stat_file\",\"pg_stop_backup\",\"pg_switch_xlog\",\"pg_table_is_visible\",\"pg_table_size\",\"pg_tablespace_databases\",\"pg_tablespace_location\",\"pg_tablespace_size\",\"pg_total_relation_size\",\"pg_trigger_depth\",\"pg_try_advisory_lock\",\"pg_try_advisory_lock_shared\",\"pg_try_advisory_xact_lock\",\"pg_try_advisory_xact_lock_shared\",\"pg_ts_config_is_visible\",\"pg_ts_dict_is_visible\",\"pg_ts_parser_is_visible\",\"pg_ts_template_is_visible\",\"pg_type_is_visible\",\"pg_typeof\",\"pg_xact_commit_timestamp\",\"pg_xlog_location_diff\",\"pg_xlog_replay_pause\",\"pg_xlog_replay_resume\",\"pg_xlogfile_name\",\"pg_xlogfile_name_offset\",\"phraseto_tsquery\",\"plainto_tsquery\",\"point\",\"polygon\",\"popen\",\"pqserverversion\",\"query_to_xml\",\"querytree\",\"quote_nullable\",\"radius\",\"range_merge\",\"regexp_matches\",\"regexp_split_to_array\",\"regexp_split_to_table\",\"regr_avgx\",\"regr_avgy\",\"regr_count\",\"regr_intercept\",\"regr_r2\",\"regr_slope\",\"regr_sxx\",\"regr_sxy\",\"regr_syy\",\"right\",\"row_security_active\",\"row_to_json\",\"rpad\",\"scale\",\"set_masklen\",\"setseed\",\"setval\",\"setweight\",\"shobj_description\",\"sind\",\"sprintf\",\"statement_timestamp\",\"stddev\",\"string_agg\",\"string_to_array\",\"strip\",\"substr\",\"table_to_xml\",\"table_to_xml_and_xmlschema\",\"tand\",\"text\",\"to_json\",\"to_regclass\",\"to_regnamespace\",\"to_regoper\",\"to_regoperator\",\"to_regproc\",\"to_regprocedure\",\"to_regrole\",\"to_regtype\",\"to_tsquery\",\"to_tsvector\",\"transaction_timestamp\",\"ts_debug\",\"ts_delete\",\"ts_filter\",\"ts_headline\",\"ts_lexize\",\"ts_parse\",\"ts_rank\",\"ts_rank_cd\",\"ts_rewrite\",\"ts_stat\",\"ts_token_type\",\"tsquery_phrase\",\"tsvector_to_array\",\"tsvector_update_trigger\",\"tsvector_update_trigger_column\",\"txid_current\",\"txid_current_snapshot\",\"txid_snapshot_xip\",\"txid_snapshot_xmax\",\"txid_snapshot_xmin\",\"txid_visible_in_snapshot\",\"unnest\",\"upper_inc\",\"upper_inf\",\"variance\",\"width\",\"width_bucket\",\"xml_is_well_formed\",\"xml_is_well_formed_content\",\"xml_is_well_formed_document\",\"xmlagg\",\"xmlcomment\",\"xmlconcat\",\"xmlelement\",\"xmlexists\",\"xmlforest\",\"xmlparse\",\"xmlpi\",\"xmlroot\",\"xmlserialize\",\"xpath\",\"xpath_exists\"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:\"@comments\"},{include:\"@whitespace\"},{include:\"@pseudoColumns\"},{include:\"@numbers\"},{include:\"@strings\"},{include:\"@complexIdentifiers\"},{include:\"@scopes\"},[/[;,.]/,\"delimiter\"],[/[()]/,\"@brackets\"],[/[\\w@#$]+/,{cases:{\"@keywords\":\"keyword\",\"@operators\":\"operator\",\"@builtinVariables\":\"predefined\",\"@builtinFunctions\":\"predefined\",\"@default\":\"identifier\"}}],[/[<>=!%&+\\-*/|~^]/,\"operator\"]],whitespace:[[/\\s+/,\"white\"]],comments:[[/--+.*/,\"comment\"],[/\\/\\*/,{token:\"comment.quote\",next:\"@comment\"}]],comment:[[/[^*/]+/,\"comment\"],[/\\*\\//,{token:\"comment.quote\",next:\"@pop\"}],[/./,\"comment\"]],pseudoColumns:[[/[$][A-Za-z_][\\w@#$]*/,{cases:{\"@pseudoColumns\":\"predefined\",\"@default\":\"identifier\"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,\"number\"],[/[$][+-]*\\d*(\\.\\d*)?/,\"number\"],[/((\\d+(\\.\\d*)?)|(\\.\\d+))([eE][\\-+]?\\d+)?/,\"number\"]],strings:[[/'/,{token:\"string\",next:\"@string\"}]],string:[[/[^']+/,\"string\"],[/''/,\"string\"],[/'/,{token:\"string\",next:\"@pop\"}]],complexIdentifiers:[[/\"/,{token:\"identifier.quote\",next:\"@quotedIdentifier\"}]],quotedIdentifier:[[/[^\"]+/,\"identifier\"],[/\"\"/,\"identifier\"],[/\"/,{token:\"identifier.quote\",next:\"@pop\"}]],scopes:[]}};export{e as conf,_ as language};\n"
  },
  {
    "path": "client/dist/assets/restructuredtext.f3690597.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={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.*-->\")}}},n={defaultToken:\"\",tokenPostfix:\".rst\",control:/[\\\\`*_\\[\\]{}()#+\\-\\.!]/,escapes:/\\\\(?:@control)/,empty:[\"area\",\"base\",\"basefont\",\"br\",\"col\",\"frame\",\"hr\",\"img\",\"input\",\"isindex\",\"link\",\"meta\",\"param\"],alphanumerics:/[A-Za-z0-9]/,simpleRefNameWithoutBq:/(?:@alphanumerics[-_+:.]*@alphanumerics)+|(?:@alphanumerics+)/,simpleRefName:/(?:`@phrase`|@simpleRefNameWithoutBq)/,phrase:/@simpleRefNameWithoutBq(?:\\s@simpleRefNameWithoutBq)*/,citationName:/[A-Za-z][A-Za-z0-9-_.]*/,blockLiteralStart:/(?:[!\"#$%&'()*+,-./:;<=>?@\\[\\]^_`{|}~]|[\\s])/,precedingChars:/(?:[ -:/'\"<([{])/,followingChars:/(?:[ -.,:;!?/'\")\\]}>]|$)/,punctuation:/(=|-|~|`|#|\"|\\^|\\+|\\*|:|\\.|'|_|\\+)/,tokenizer:{root:[[/^(@punctuation{3,}$){1,1}?/,\"keyword\"],[/^\\s*([\\*\\-+‣•]|[a-zA-Z0-9]+\\.|\\([a-zA-Z0-9]+\\)|[a-zA-Z0-9]+\\))\\s/,\"keyword\"],[/([ ]::)\\s*$/,\"keyword\",\"@blankLineOfLiteralBlocks\"],[/(::)\\s*$/,\"keyword\",\"@blankLineOfLiteralBlocks\"],{include:\"@tables\"},{include:\"@explicitMarkupBlocks\"},{include:\"@inlineMarkup\"}],explicitMarkupBlocks:[{include:\"@citations\"},{include:\"@footnotes\"},[/^(\\.\\.\\s)(@simpleRefName)(::\\s)(.*)$/,[{token:\"\",next:\"subsequentLines\"},\"keyword\",\"\",\"\"]],[/^(\\.\\.)(\\s+)(_)(@simpleRefName)(:)(\\s+)(.*)/,[{token:\"\",next:\"hyperlinks\"},\"\",\"\",\"string.link\",\"\",\"\",\"string.link\"]],[/^((?:(?:\\.\\.)(?:\\s+))?)(__)(:)(\\s+)(.*)/,[{token:\"\",next:\"subsequentLines\"},\"\",\"\",\"\",\"string.link\"]],[/^(__\\s+)(.+)/,[\"\",\"string.link\"]],[/^(\\.\\.)( \\|)([^| ]+[^|]*[^| ]*)(\\| )(@simpleRefName)(:: .*)/,[{token:\"\",next:\"subsequentLines\"},\"\",\"string.link\",\"\",\"keyword\",\"\"],\"@rawBlocks\"],[/(\\|)([^| ]+[^|]*[^| ]*)(\\|_{0,2})/,[\"\",\"string.link\",\"\"]],[/^(\\.\\.)([ ].*)$/,[{token:\"\",next:\"@comments\"},\"comment\"]]],inlineMarkup:[{include:\"@citationsReference\"},{include:\"@footnotesReference\"},[/(@simpleRefName)(_{1,2})/,[\"string.link\",\"\"]],[/(`)([^<`]+\\s+)(<)(.*)(>)(`)(_)/,[\"\",\"string.link\",\"\",\"string.link\",\"\",\"\",\"\"]],[/\\*\\*([^\\\\*]|\\*(?!\\*))+\\*\\*/,\"strong\"],[/\\*[^*]+\\*/,\"emphasis\"],[/(``)((?:[^`]|\\`(?!`))+)(``)/,[\"\",\"keyword\",\"\"]],[/(__\\s+)(.+)/,[\"\",\"keyword\"]],[/(:)((?:@simpleRefNameWithoutBq)?)(:`)([^`]+)(`)/,[\"\",\"keyword\",\"\",\"\",\"\"]],[/(`)([^`]+)(`:)((?:@simpleRefNameWithoutBq)?)(:)/,[\"\",\"\",\"\",\"keyword\",\"\"]],[/(`)([^`]+)(`)/,\"\"],[/(_`)(@phrase)(`)/,[\"\",\"string.link\",\"\"]]],citations:[[/^(\\.\\.\\s+\\[)((?:@citationName))(\\]\\s+)(.*)/,[{token:\"\",next:\"@subsequentLines\"},\"string.link\",\"\",\"\"]]],citationsReference:[[/(\\[)(@citationName)(\\]_)/,[\"\",\"string.link\",\"\"]]],footnotes:[[/^(\\.\\.\\s+\\[)((?:[0-9]+))(\\]\\s+.*)/,[{token:\"\",next:\"@subsequentLines\"},\"string.link\",\"\"]],[/^(\\.\\.\\s+\\[)((?:#@simpleRefName?))(\\]\\s+)(.*)/,[{token:\"\",next:\"@subsequentLines\"},\"string.link\",\"\",\"\"]],[/^(\\.\\.\\s+\\[)((?:\\*))(\\]\\s+)(.*)/,[{token:\"\",next:\"@subsequentLines\"},\"string.link\",\"\",\"\"]]],footnotesReference:[[/(\\[)([0-9]+)(\\])(_)/,[\"\",\"string.link\",\"\",\"\"]],[/(\\[)(#@simpleRefName?)(\\])(_)/,[\"\",\"string.link\",\"\",\"\"]],[/(\\[)(\\*)(\\])(_)/,[\"\",\"string.link\",\"\",\"\"]]],blankLineOfLiteralBlocks:[[/^$/,\"\",\"@subsequentLinesOfLiteralBlocks\"],[/^.*$/,\"\",\"@pop\"]],subsequentLinesOfLiteralBlocks:[[/(@blockLiteralStart+)(.*)/,[\"keyword\",\"\"]],[/^(?!blockLiteralStart)/,\"\",\"@popall\"]],subsequentLines:[[/^[\\s]+.*/,\"\"],[/^(?!\\s)/,\"\",\"@pop\"]],hyperlinks:[[/^[\\s]+.*/,\"string.link\"],[/^(?!\\s)/,\"\",\"@pop\"]],comments:[[/^[\\s]+.*/,\"comment\"],[/^(?!\\s)/,\"\",\"@pop\"]],tables:[[/\\+-[+-]+/,\"keyword\"],[/\\+=[+=]+/,\"keyword\"]]}};export{e as conf,n as language};\n"
  },
  {
    "path": "client/dist/assets/ruby.94797058.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"#\",blockComment:[\"=begin\",\"=end\"]},brackets:[[\"(\",\")\"],[\"{\",\"}\"],[\"[\",\"]\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],indentationRules:{increaseIndentPattern:new RegExp(`^\\\\s*((begin|class|(private|protected)\\\\s+def|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|while|case)|([^#]*\\\\sdo\\\\b)|([^#]*=\\\\s*(case|if|unless)))\\\\b([^#\\\\{;]|(\"|'|/).*\\\\4)*(#.*)?$`),decreaseIndentPattern:new RegExp(\"^\\\\s*([}\\\\]]([,)]?\\\\s*(#|$)|\\\\.[a-zA-Z_]\\\\w*\\\\b)|(end|rescue|ensure|else|elsif|when)\\\\b)\")}},t={tokenPostfix:\".ruby\",keywords:[\"__LINE__\",\"__ENCODING__\",\"__FILE__\",\"BEGIN\",\"END\",\"alias\",\"and\",\"begin\",\"break\",\"case\",\"class\",\"def\",\"defined?\",\"do\",\"else\",\"elsif\",\"end\",\"ensure\",\"for\",\"false\",\"if\",\"in\",\"module\",\"next\",\"nil\",\"not\",\"or\",\"redo\",\"rescue\",\"retry\",\"return\",\"self\",\"super\",\"then\",\"true\",\"undef\",\"unless\",\"until\",\"when\",\"while\",\"yield\"],keywordops:[\"::\",\"..\",\"...\",\"?\",\":\",\"=>\"],builtins:[\"require\",\"public\",\"private\",\"include\",\"extend\",\"attr_reader\",\"protected\",\"private_class_method\",\"protected_class_method\",\"new\"],declarations:[\"module\",\"class\",\"def\",\"case\",\"do\",\"begin\",\"for\",\"if\",\"while\",\"until\",\"unless\"],linedecls:[\"def\",\"case\",\"do\",\"begin\",\"for\",\"if\",\"while\",\"until\",\"unless\"],operators:[\"^\",\"&\",\"|\",\"<=>\",\"==\",\"===\",\"!~\",\"=~\",\">\",\">=\",\"<\",\"<=\",\"<<\",\">>\",\"+\",\"-\",\"*\",\"/\",\"%\",\"**\",\"~\",\"+@\",\"-@\",\"[]\",\"[]=\",\"`\",\"+=\",\"-=\",\"*=\",\"**=\",\"/=\",\"^=\",\"%=\",\"<<=\",\">>=\",\"&=\",\"&&=\",\"||=\",\"|=\"],brackets:[{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"},{open:\"{\",close:\"}\",token:\"delimiter.curly\"},{open:\"[\",close:\"]\",token:\"delimiter.square\"}],symbols:/[=><!~?:&|+\\-*\\/\\^%\\.]+/,escape:/(?:[abefnrstv\\\\\"'\\n\\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,escapes:/\\\\(?:C\\-(@escape|.)|c(@escape|.)|@escape)/,decpart:/\\d(_?\\d)*/,decimal:/0|@decpart/,delim:/[^a-zA-Z0-9\\s\\n\\r]/,heredelim:/(?:\\w+|'[^']*'|\"[^\"]*\"|`[^`]*`)/,regexpctl:/[(){}\\[\\]\\$\\^|\\-*+?\\.]/,regexpesc:/\\\\(?:[AzZbBdDfnrstvwWn0\\\\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})?/,tokenizer:{root:[[/^(\\s*)([a-z_]\\w*[!?=]?)/,[\"white\",{cases:{\"for|until|while\":{token:\"keyword.$2\",next:\"@dodecl.$2\"},\"@declarations\":{token:\"keyword.$2\",next:\"@root.$2\"},end:{token:\"keyword.$S2\",next:\"@pop\"},\"@keywords\":\"keyword\",\"@builtins\":\"predefined\",\"@default\":\"identifier\"}}]],[/[a-z_]\\w*[!?=]?/,{cases:{\"if|unless|while|until\":{token:\"keyword.$0x\",next:\"@modifier.$0x\"},for:{token:\"keyword.$2\",next:\"@dodecl.$2\"},\"@linedecls\":{token:\"keyword.$0\",next:\"@root.$0\"},end:{token:\"keyword.$S2\",next:\"@pop\"},\"@keywords\":\"keyword\",\"@builtins\":\"predefined\",\"@default\":\"identifier\"}}],[/[A-Z][\\w]*[!?=]?/,\"constructor.identifier\"],[/\\$[\\w]*/,\"global.constant\"],[/@[\\w]*/,\"namespace.instance.identifier\"],[/@@@[\\w]*/,\"namespace.class.identifier\"],[/<<[-~](@heredelim).*/,{token:\"string.heredoc.delimiter\",next:\"@heredoc.$1\"}],[/[ \\t\\r\\n]+<<(@heredelim).*/,{token:\"string.heredoc.delimiter\",next:\"@heredoc.$1\"}],[/^<<(@heredelim).*/,{token:\"string.heredoc.delimiter\",next:\"@heredoc.$1\"}],{include:\"@whitespace\"},[/\"/,{token:\"string.d.delim\",next:'@dstring.d.\"'}],[/'/,{token:\"string.sq.delim\",next:\"@sstring.sq\"}],[/%([rsqxwW]|Q?)/,{token:\"@rematch\",next:\"pstring\"}],[/`/,{token:\"string.x.delim\",next:\"@dstring.x.`\"}],[/:(\\w|[$@])\\w*[!?=]?/,\"string.s\"],[/:\"/,{token:\"string.s.delim\",next:'@dstring.s.\"'}],[/:'/,{token:\"string.s.delim\",next:\"@sstring.s\"}],[/\\/(?=(\\\\\\/|[^\\/\\n])+\\/)/,{token:\"regexp.delim\",next:\"@regexp\"}],[/[{}()\\[\\]]/,\"@brackets\"],[/@symbols/,{cases:{\"@keywordops\":\"keyword\",\"@operators\":\"operator\",\"@default\":\"\"}}],[/[;,]/,\"delimiter\"],[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/,\"number.hex\"],[/0[_oO][0-7](_?[0-7])*/,\"number.octal\"],[/0[bB][01](_?[01])*/,\"number.binary\"],[/0[dD]@decpart/,\"number\"],[/@decimal((\\.@decpart)?([eE][\\-+]?@decpart)?)/,{cases:{$1:\"number.float\",\"@default\":\"number\"}}]],dodecl:[[/^/,{token:\"\",switchTo:\"@root.$S2\"}],[/[a-z_]\\w*[!?=]?/,{cases:{end:{token:\"keyword.$S2\",next:\"@pop\"},do:{token:\"keyword\",switchTo:\"@root.$S2\"},\"@linedecls\":{token:\"@rematch\",switchTo:\"@root.$S2\"},\"@keywords\":\"keyword\",\"@builtins\":\"predefined\",\"@default\":\"identifier\"}}],{include:\"@root\"}],modifier:[[/^/,\"\",\"@pop\"],[/[a-z_]\\w*[!?=]?/,{cases:{end:{token:\"keyword.$S2\",next:\"@pop\"},\"then|else|elsif|do\":{token:\"keyword\",switchTo:\"@root.$S2\"},\"@linedecls\":{token:\"@rematch\",switchTo:\"@root.$S2\"},\"@keywords\":\"keyword\",\"@builtins\":\"predefined\",\"@default\":\"identifier\"}}],{include:\"@root\"}],sstring:[[/[^\\\\']+/,\"string.$S2\"],[/\\\\\\\\|\\\\'|\\\\$/,\"string.$S2.escape\"],[/\\\\./,\"string.$S2.invalid\"],[/'/,{token:\"string.$S2.delim\",next:\"@pop\"}]],dstring:[[/[^\\\\`\"#]+/,\"string.$S2\"],[/#/,\"string.$S2.escape\",\"@interpolated\"],[/\\\\$/,\"string.$S2.escape\"],[/@escapes/,\"string.$S2.escape\"],[/\\\\./,\"string.$S2.escape.invalid\"],[/[`\"]/,{cases:{\"$#==$S3\":{token:\"string.$S2.delim\",next:\"@pop\"},\"@default\":\"string.$S2\"}}]],heredoc:[[/^(\\s*)(@heredelim)$/,{cases:{\"$2==$S2\":[\"string.heredoc\",{token:\"string.heredoc.delimiter\",next:\"@pop\"}],\"@default\":[\"string.heredoc\",\"string.heredoc\"]}}],[/.*/,\"string.heredoc\"]],interpolated:[[/\\$\\w*/,\"global.constant\",\"@pop\"],[/@\\w*/,\"namespace.class.identifier\",\"@pop\"],[/@@@\\w*/,\"namespace.instance.identifier\",\"@pop\"],[/[{]/,{token:\"string.escape.curly\",switchTo:\"@interpolated_compound\"}],[\"\",\"\",\"@pop\"]],interpolated_compound:[[/[}]/,{token:\"string.escape.curly\",next:\"@pop\"}],{include:\"@root\"}],pregexp:[{include:\"@whitespace\"},[/[^\\(\\{\\[\\\\]/,{cases:{\"$#==$S3\":{token:\"regexp.delim\",next:\"@pop\"},\"$#==$S2\":{token:\"regexp.delim\",next:\"@push\"},\"~[)}\\\\]]\":\"@brackets.regexp.escape.control\",\"~@regexpctl\":\"regexp.escape.control\",\"@default\":\"regexp\"}}],{include:\"@regexcontrol\"}],regexp:[{include:\"@regexcontrol\"},[/[^\\\\\\/]/,\"regexp\"],[\"/[ixmp]*\",{token:\"regexp.delim\"},\"@pop\"]],regexcontrol:[[/(\\{)(\\d+(?:,\\d*)?)(\\})/,[\"@brackets.regexp.escape.control\",\"regexp.escape.control\",\"@brackets.regexp.escape.control\"]],[/(\\[)(\\^?)/,[\"@brackets.regexp.escape.control\",{token:\"regexp.escape.control\",next:\"@regexrange\"}]],[/(\\()(\\?[:=!])/,[\"@brackets.regexp.escape.control\",\"regexp.escape.control\"]],[/\\(\\?#/,{token:\"regexp.escape.control\",next:\"@regexpcomment\"}],[/[()]/,\"@brackets.regexp.escape.control\"],[/@regexpctl/,\"regexp.escape.control\"],[/\\\\$/,\"regexp.escape\"],[/@regexpesc/,\"regexp.escape\"],[/\\\\\\./,\"regexp.invalid\"],[/#/,\"regexp.escape\",\"@interpolated\"]],regexrange:[[/-/,\"regexp.escape.control\"],[/\\^/,\"regexp.invalid\"],[/\\\\$/,\"regexp.escape\"],[/@regexpesc/,\"regexp.escape\"],[/[^\\]]/,\"regexp\"],[/\\]/,\"@brackets.regexp.escape.control\",\"@pop\"]],regexpcomment:[[/[^)]+/,\"comment\"],[/\\)/,{token:\"regexp.escape.control\",next:\"@pop\"}]],pstring:[[/%([qws])\\(/,{token:\"string.$1.delim\",switchTo:\"@qstring.$1.(.)\"}],[/%([qws])\\[/,{token:\"string.$1.delim\",switchTo:\"@qstring.$1.[.]\"}],[/%([qws])\\{/,{token:\"string.$1.delim\",switchTo:\"@qstring.$1.{.}\"}],[/%([qws])</,{token:\"string.$1.delim\",switchTo:\"@qstring.$1.<.>\"}],[/%([qws])(@delim)/,{token:\"string.$1.delim\",switchTo:\"@qstring.$1.$2.$2\"}],[/%r\\(/,{token:\"regexp.delim\",switchTo:\"@pregexp.(.)\"}],[/%r\\[/,{token:\"regexp.delim\",switchTo:\"@pregexp.[.]\"}],[/%r\\{/,{token:\"regexp.delim\",switchTo:\"@pregexp.{.}\"}],[/%r</,{token:\"regexp.delim\",switchTo:\"@pregexp.<.>\"}],[/%r(@delim)/,{token:\"regexp.delim\",switchTo:\"@pregexp.$1.$1\"}],[/%(x|W|Q?)\\(/,{token:\"string.$1.delim\",switchTo:\"@qqstring.$1.(.)\"}],[/%(x|W|Q?)\\[/,{token:\"string.$1.delim\",switchTo:\"@qqstring.$1.[.]\"}],[/%(x|W|Q?)\\{/,{token:\"string.$1.delim\",switchTo:\"@qqstring.$1.{.}\"}],[/%(x|W|Q?)</,{token:\"string.$1.delim\",switchTo:\"@qqstring.$1.<.>\"}],[/%(x|W|Q?)(@delim)/,{token:\"string.$1.delim\",switchTo:\"@qqstring.$1.$2.$2\"}],[/%([rqwsxW]|Q?)./,{token:\"invalid\",next:\"@pop\"}],[/./,{token:\"invalid\",next:\"@pop\"}]],qstring:[[/\\\\$/,\"string.$S2.escape\"],[/\\\\./,\"string.$S2.escape\"],[/./,{cases:{\"$#==$S4\":{token:\"string.$S2.delim\",next:\"@pop\"},\"$#==$S3\":{token:\"string.$S2.delim\",next:\"@push\"},\"@default\":\"string.$S2\"}}]],qqstring:[[/#/,\"string.$S2.escape\",\"@interpolated\"],{include:\"@qstring\"}],whitespace:[[/[ \\t\\r\\n]+/,\"\"],[/^\\s*=begin\\b/,\"comment\",\"@comment\"],[/#.*$/,\"comment\"]],comment:[[/[^=]+/,\"comment\"],[/^\\s*=begin\\b/,\"comment.invalid\"],[/^\\s*=end\\b.*/,\"comment\",\"@pop\"],[/[=]/,\"comment\"]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/rust.8826d0a9.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"//\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"[\",close:\"]\"},{open:\"{\",close:\"}\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"',notIn:[\"string\"]}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],folding:{markers:{start:new RegExp(\"^\\\\s*#pragma\\\\s+region\\\\b\"),end:new RegExp(\"^\\\\s*#pragma\\\\s+endregion\\\\b\")}}},t={tokenPostfix:\".rust\",defaultToken:\"invalid\",keywords:[\"as\",\"async\",\"await\",\"box\",\"break\",\"const\",\"continue\",\"crate\",\"dyn\",\"else\",\"enum\",\"extern\",\"false\",\"fn\",\"for\",\"if\",\"impl\",\"in\",\"let\",\"loop\",\"match\",\"mod\",\"move\",\"mut\",\"pub\",\"ref\",\"return\",\"self\",\"static\",\"struct\",\"super\",\"trait\",\"true\",\"try\",\"type\",\"unsafe\",\"use\",\"where\",\"while\",\"catch\",\"default\",\"union\",\"static\",\"abstract\",\"alignof\",\"become\",\"do\",\"final\",\"macro\",\"offsetof\",\"override\",\"priv\",\"proc\",\"pure\",\"sizeof\",\"typeof\",\"unsized\",\"virtual\",\"yield\"],typeKeywords:[\"Self\",\"m32\",\"m64\",\"m128\",\"f80\",\"f16\",\"f128\",\"int\",\"uint\",\"float\",\"char\",\"bool\",\"u8\",\"u16\",\"u32\",\"u64\",\"f32\",\"f64\",\"i8\",\"i16\",\"i32\",\"i64\",\"str\",\"Option\",\"Either\",\"c_float\",\"c_double\",\"c_void\",\"FILE\",\"fpos_t\",\"DIR\",\"dirent\",\"c_char\",\"c_schar\",\"c_uchar\",\"c_short\",\"c_ushort\",\"c_int\",\"c_uint\",\"c_long\",\"c_ulong\",\"size_t\",\"ptrdiff_t\",\"clock_t\",\"time_t\",\"c_longlong\",\"c_ulonglong\",\"intptr_t\",\"uintptr_t\",\"off_t\",\"dev_t\",\"ino_t\",\"pid_t\",\"mode_t\",\"ssize_t\"],constants:[\"true\",\"false\",\"Some\",\"None\",\"Left\",\"Right\",\"Ok\",\"Err\"],supportConstants:[\"EXIT_FAILURE\",\"EXIT_SUCCESS\",\"RAND_MAX\",\"EOF\",\"SEEK_SET\",\"SEEK_CUR\",\"SEEK_END\",\"_IOFBF\",\"_IONBF\",\"_IOLBF\",\"BUFSIZ\",\"FOPEN_MAX\",\"FILENAME_MAX\",\"L_tmpnam\",\"TMP_MAX\",\"O_RDONLY\",\"O_WRONLY\",\"O_RDWR\",\"O_APPEND\",\"O_CREAT\",\"O_EXCL\",\"O_TRUNC\",\"S_IFIFO\",\"S_IFCHR\",\"S_IFBLK\",\"S_IFDIR\",\"S_IFREG\",\"S_IFMT\",\"S_IEXEC\",\"S_IWRITE\",\"S_IREAD\",\"S_IRWXU\",\"S_IXUSR\",\"S_IWUSR\",\"S_IRUSR\",\"F_OK\",\"R_OK\",\"W_OK\",\"X_OK\",\"STDIN_FILENO\",\"STDOUT_FILENO\",\"STDERR_FILENO\"],supportMacros:[\"format!\",\"print!\",\"println!\",\"panic!\",\"format_args!\",\"unreachable!\",\"write!\",\"writeln!\"],operators:[\"!\",\"!=\",\"%\",\"%=\",\"&\",\"&=\",\"&&\",\"*\",\"*=\",\"+\",\"+=\",\"-\",\"-=\",\"->\",\".\",\"..\",\"...\",\"/\",\"/=\",\":\",\";\",\"<<\",\"<<=\",\"<\",\"<=\",\"=\",\"==\",\"=>\",\">\",\">=\",\">>\",\">>=\",\"@\",\"^\",\"^=\",\"|\",\"|=\",\"||\",\"_\",\"?\",\"#\"],escapes:/\\\\([nrt0\\\"''\\\\]|x\\h{2}|u\\{\\h{1,6}\\})/,delimiters:/[,]/,symbols:/[\\#\\!\\%\\&\\*\\+\\-\\.\\/\\:\\;\\<\\=\\>\\@\\^\\|_\\?]+/,intSuffixes:/[iu](8|16|32|64|128|size)/,floatSuffixes:/f(32|64)/,tokenizer:{root:[[/r(#*)\"/,{token:\"string.quote\",bracket:\"@open\",next:\"@stringraw.$1\"}],[/[a-zA-Z][a-zA-Z0-9_]*!?|_[a-zA-Z0-9_]+/,{cases:{\"@typeKeywords\":\"keyword.type\",\"@keywords\":\"keyword\",\"@supportConstants\":\"keyword\",\"@supportMacros\":\"keyword\",\"@constants\":\"keyword\",\"@default\":\"identifier\"}}],[/\\$/,\"identifier\"],[/'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\\'])/,\"identifier\"],[/'(\\S|@escapes)'/,\"string.byteliteral\"],[/\"/,{token:\"string.quote\",bracket:\"@open\",next:\"@string\"}],{include:\"@numbers\"},{include:\"@whitespace\"},[/@delimiters/,{cases:{\"@keywords\":\"keyword\",\"@default\":\"delimiter\"}}],[/[{}()\\[\\]<>]/,\"@brackets\"],[/@symbols/,{cases:{\"@operators\":\"operator\",\"@default\":\"\"}}]],whitespace:[[/[ \\t\\r\\n]+/,\"white\"],[/\\/\\*/,\"comment\",\"@comment\"],[/\\/\\/.*$/,\"comment\"]],comment:[[/[^\\/*]+/,\"comment\"],[/\\/\\*/,\"comment\",\"@push\"],[\"\\\\*/\",\"comment\",\"@pop\"],[/[\\/*]/,\"comment\"]],string:[[/[^\\\\\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"/,{token:\"string.quote\",bracket:\"@close\",next:\"@pop\"}]],stringraw:[[/[^\"#]+/,{token:\"string\"}],[/\"(#*)/,{cases:{\"$1==$S2\":{token:\"string.quote\",bracket:\"@close\",next:\"@pop\"},\"@default\":{token:\"string\"}}}],[/[\"#]/,{token:\"string\"}]],numbers:[[/(0o[0-7_]+)(@intSuffixes)?/,{token:\"number\"}],[/(0b[0-1_]+)(@intSuffixes)?/,{token:\"number\"}],[/[\\d][\\d_]*(\\.[\\d][\\d_]*)?[eE][+-][\\d_]+(@floatSuffixes)?/,{token:\"number\"}],[/\\b(\\d\\.?[\\d_]*)(@floatSuffixes)?\\b/,{token:\"number\"}],[/(0x[\\da-fA-F]+)_?(@intSuffixes)?/,{token:\"number\"}],[/[\\d][\\d_]*(@intSuffixes?)?/,{token:\"number\"}]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/sb.4bb8b85c.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"'\"},brackets:[[\"(\",\")\"],[\"[\",\"]\"],[\"If\",\"EndIf\"],[\"While\",\"EndWhile\"],[\"For\",\"EndFor\"],[\"Sub\",\"EndSub\"]],autoClosingPairs:[{open:'\"',close:'\"',notIn:[\"string\",\"comment\"]},{open:\"(\",close:\")\",notIn:[\"string\",\"comment\"]},{open:\"[\",close:\"]\",notIn:[\"string\",\"comment\"]}]},o={defaultToken:\"\",tokenPostfix:\".sb\",ignoreCase:!0,brackets:[{token:\"delimiter.array\",open:\"[\",close:\"]\"},{token:\"delimiter.parenthesis\",open:\"(\",close:\")\"},{token:\"keyword.tag-if\",open:\"If\",close:\"EndIf\"},{token:\"keyword.tag-while\",open:\"While\",close:\"EndWhile\"},{token:\"keyword.tag-for\",open:\"For\",close:\"EndFor\"},{token:\"keyword.tag-sub\",open:\"Sub\",close:\"EndSub\"}],keywords:[\"Else\",\"ElseIf\",\"EndFor\",\"EndIf\",\"EndSub\",\"EndWhile\",\"For\",\"Goto\",\"If\",\"Step\",\"Sub\",\"Then\",\"To\",\"While\"],tagwords:[\"If\",\"Sub\",\"While\",\"For\"],operators:[\">\",\"<\",\"<>\",\"<=\",\">=\",\"And\",\"Or\",\"+\",\"-\",\"*\",\"/\",\"=\"],identifier:/[a-zA-Z_][\\w]*/,symbols:/[=><:+\\-*\\/%\\.,]+/,escapes:/\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:\"@whitespace\"},[/(@identifier)(?=[.])/,\"type\"],[/@identifier/,{cases:{\"@keywords\":{token:\"keyword.$0\"},\"@operators\":\"operator\",\"@default\":\"variable.name\"}}],[/([.])(@identifier)/,{cases:{$2:[\"delimiter\",\"type.member\"],\"@default\":\"\"}}],[/\\d*\\.\\d+/,\"number.float\"],[/\\d+/,\"number\"],[/[()\\[\\]]/,\"@brackets\"],[/@symbols/,{cases:{\"@operators\":\"operator\",\"@default\":\"delimiter\"}}],[/\"([^\"\\\\]|\\\\.)*$/,\"string.invalid\"],[/\"/,\"string\",\"@string\"]],whitespace:[[/[ \\t\\r\\n]+/,\"\"],[/(\\').*$/,\"comment\"]],string:[[/[^\\\\\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"C?/,\"string\",\"@pop\"]]}};export{e as conf,o as language};\n"
  },
  {
    "path": "client/dist/assets/scala.87a6558f.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={wordPattern:/(unary_[@~!#%^&*()\\-=+\\\\|:<>\\/?]+)|([a-zA-Z_$][\\w$]*?_=)|(`[^`]+`)|([a-zA-Z_$][\\w$]*)/g,comments:{lineComment:\"//\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],folding:{markers:{start:new RegExp(\"^\\\\s*//\\\\s*(?:(?:#?region\\\\b)|(?:<editor-fold\\\\b))\"),end:new RegExp(\"^\\\\s*//\\\\s*(?:(?:#?endregion\\\\b)|(?:</editor-fold>))\")}}},t={tokenPostfix:\".scala\",keywords:[\"asInstanceOf\",\"catch\",\"class\",\"classOf\",\"def\",\"do\",\"else\",\"extends\",\"finally\",\"for\",\"foreach\",\"forSome\",\"if\",\"import\",\"isInstanceOf\",\"macro\",\"match\",\"new\",\"object\",\"package\",\"return\",\"throw\",\"trait\",\"try\",\"type\",\"until\",\"val\",\"var\",\"while\",\"with\",\"yield\",\"given\",\"enum\",\"then\"],softKeywords:[\"as\",\"export\",\"extension\",\"end\",\"derives\",\"on\"],constants:[\"true\",\"false\",\"null\",\"this\",\"super\"],modifiers:[\"abstract\",\"final\",\"implicit\",\"lazy\",\"override\",\"private\",\"protected\",\"sealed\"],softModifiers:[\"inline\",\"opaque\",\"open\",\"transparent\",\"using\"],name:/(?:[a-z_$][\\w$]*|`[^`]+`)/,type:/(?:[A-Z][\\w$]*)/,symbols:/[=><!~?:&|+\\-*\\/^\\\\%@#]+/,digits:/\\d+(_+\\d+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,escapes:/\\\\(?:[btnfr\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,fstring_conv:/[bBhHsScCdoxXeEfgGaAt]|[Tn](?:[HIklMSLNpzZsQ]|[BbhAaCYyjmde]|[RTrDFC])/,tokenizer:{root:[[/\\braw\"\"\"/,{token:\"string.quote\",bracket:\"@open\",next:\"@rawstringt\"}],[/\\braw\"/,{token:\"string.quote\",bracket:\"@open\",next:\"@rawstring\"}],[/\\bs\"\"\"/,{token:\"string.quote\",bracket:\"@open\",next:\"@sstringt\"}],[/\\bs\"/,{token:\"string.quote\",bracket:\"@open\",next:\"@sstring\"}],[/\\bf\"\"\"\"/,{token:\"string.quote\",bracket:\"@open\",next:\"@fstringt\"}],[/\\bf\"/,{token:\"string.quote\",bracket:\"@open\",next:\"@fstring\"}],[/\"\"\"/,{token:\"string.quote\",bracket:\"@open\",next:\"@stringt\"}],[/\"/,{token:\"string.quote\",bracket:\"@open\",next:\"@string\"}],[/(@digits)[eE]([\\-+]?(@digits))?[fFdD]?/,\"number.float\",\"@allowMethod\"],[/(@digits)\\.(@digits)([eE][\\-+]?(@digits))?[fFdD]?/,\"number.float\",\"@allowMethod\"],[/0[xX](@hexdigits)[Ll]?/,\"number.hex\",\"@allowMethod\"],[/(@digits)[fFdD]/,\"number.float\",\"@allowMethod\"],[/(@digits)[lL]?/,\"number\",\"@allowMethod\"],[/\\b_\\*/,\"key\"],[/\\b(_)\\b/,\"keyword\",\"@allowMethod\"],[/\\bimport\\b/,\"keyword\",\"@import\"],[/\\b(case)([ \\t]+)(class)\\b/,[\"keyword.modifier\",\"white\",\"keyword\"]],[/\\bcase\\b/,\"keyword\",\"@case\"],[/\\bva[lr]\\b/,\"keyword\",\"@vardef\"],[/\\b(def)([ \\t]+)((?:unary_)?@symbols|@name(?:_=)|@name)/,[\"keyword\",\"white\",\"identifier\"]],[/@name(?=[ \\t]*:(?!:))/,\"variable\"],[/(\\.)(@name|@symbols)/,[\"operator\",{token:\"@rematch\",next:\"@allowMethod\"}]],[/([{(])(\\s*)(@name(?=\\s*=>))/,[\"@brackets\",\"white\",\"variable\"]],[/@name/,{cases:{\"@keywords\":\"keyword\",\"@softKeywords\":\"keyword\",\"@modifiers\":\"keyword.modifier\",\"@softModifiers\":\"keyword.modifier\",\"@constants\":{token:\"constant\",next:\"@allowMethod\"},\"@default\":{token:\"identifier\",next:\"@allowMethod\"}}}],[/@type/,\"type\",\"@allowMethod\"],{include:\"@whitespace\"},[/@[a-zA-Z_$][\\w$]*(?:\\.[a-zA-Z_$][\\w$]*)*/,\"annotation\"],[/[{(]/,\"@brackets\"],[/[})]/,\"@brackets\",\"@allowMethod\"],[/\\[/,\"operator.square\"],[/](?!\\s*(?:va[rl]|def|type)\\b)/,\"operator.square\",\"@allowMethod\"],[/]/,\"operator.square\"],[/([=-]>|<-|>:|<:|:>|<%)(?=[\\s\\w()[\\]{},\\.\"'`])/,\"keyword\"],[/@symbols/,\"operator\"],[/[;,\\.]/,\"delimiter\"],[/'[a-zA-Z$][\\w$]*(?!')/,\"attribute.name\"],[/'[^\\\\']'/,\"string\",\"@allowMethod\"],[/(')(@escapes)(')/,[\"string\",\"string.escape\",{token:\"string\",next:\"@allowMethod\"}]],[/'/,\"string.invalid\"]],import:[[/;/,\"delimiter\",\"@pop\"],[/^|$/,\"\",\"@pop\"],[/[ \\t]+/,\"white\"],[/[\\n\\r]+/,\"white\",\"@pop\"],[/\\/\\*/,\"comment\",\"@comment\"],[/@name|@type/,\"type\"],[/[(){}]/,\"@brackets\"],[/[[\\]]/,\"operator.square\"],[/[\\.,]/,\"delimiter\"]],allowMethod:[[/^|$/,\"\",\"@pop\"],[/[ \\t]+/,\"white\"],[/[\\n\\r]+/,\"white\",\"@pop\"],[/\\/\\*/,\"comment\",\"@comment\"],[/(?==>[\\s\\w([{])/,\"keyword\",\"@pop\"],[/(@name|@symbols)(?=[ \\t]*[[({\"'`]|[ \\t]+(?:[+-]?\\.?\\d|\\w))/,{cases:{\"@keywords\":{token:\"keyword\",next:\"@pop\"},\"->|<-|>:|<:|<%\":{token:\"keyword\",next:\"@pop\"},\"@default\":{token:\"@rematch\",next:\"@pop\"}}}],[\"\",\"\",\"@pop\"]],comment:[[/[^\\/*]+/,\"comment\"],[/\\/\\*/,\"comment\",\"@push\"],[/\\*\\//,\"comment\",\"@pop\"],[/[\\/*]/,\"comment\"]],case:[[/\\b_\\*/,\"key\"],[/\\b(_|true|false|null|this|super)\\b/,\"keyword\",\"@allowMethod\"],[/\\bif\\b|=>/,\"keyword\",\"@pop\"],[/`[^`]+`/,\"identifier\",\"@allowMethod\"],[/@name/,\"variable\",\"@allowMethod\"],[/:::?|\\||@(?![a-z_$])/,\"keyword\"],{include:\"@root\"}],vardef:[[/\\b_\\*/,\"key\"],[/\\b(_|true|false|null|this|super)\\b/,\"keyword\"],[/@name/,\"variable\"],[/:::?|\\||@(?![a-z_$])/,\"keyword\"],[/=|:(?!:)/,\"operator\",\"@pop\"],[/$/,\"white\",\"@pop\"],{include:\"@root\"}],string:[[/[^\\\\\"\\n\\r]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"/,{token:\"string.quote\",bracket:\"@close\",switchTo:\"@allowMethod\"}]],stringt:[[/[^\\\\\"\\n\\r]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"(?=\"\"\")/,\"string\"],[/\"\"\"/,{token:\"string.quote\",bracket:\"@close\",switchTo:\"@allowMethod\"}],[/\"/,\"string\"]],fstring:[[/@escapes/,\"string.escape\"],[/\"/,{token:\"string.quote\",bracket:\"@close\",switchTo:\"@allowMethod\"}],[/\\$\\$/,\"string\"],[/(\\$)([a-z_]\\w*)/,[\"operator\",\"identifier\"]],[/\\$\\{/,\"operator\",\"@interp\"],[/%%/,\"string\"],[/(%)([\\-#+ 0,(])(\\d+|\\.\\d+|\\d+\\.\\d+)(@fstring_conv)/,[\"metatag\",\"keyword.modifier\",\"number\",\"metatag\"]],[/(%)(\\d+|\\.\\d+|\\d+\\.\\d+)(@fstring_conv)/,[\"metatag\",\"number\",\"metatag\"]],[/(%)([\\-#+ 0,(])(@fstring_conv)/,[\"metatag\",\"keyword.modifier\",\"metatag\"]],[/(%)(@fstring_conv)/,[\"metatag\",\"metatag\"]],[/./,\"string\"]],fstringt:[[/@escapes/,\"string.escape\"],[/\"(?=\"\"\")/,\"string\"],[/\"\"\"/,{token:\"string.quote\",bracket:\"@close\",switchTo:\"@allowMethod\"}],[/\\$\\$/,\"string\"],[/(\\$)([a-z_]\\w*)/,[\"operator\",\"identifier\"]],[/\\$\\{/,\"operator\",\"@interp\"],[/%%/,\"string\"],[/(%)([\\-#+ 0,(])(\\d+|\\.\\d+|\\d+\\.\\d+)(@fstring_conv)/,[\"metatag\",\"keyword.modifier\",\"number\",\"metatag\"]],[/(%)(\\d+|\\.\\d+|\\d+\\.\\d+)(@fstring_conv)/,[\"metatag\",\"number\",\"metatag\"]],[/(%)([\\-#+ 0,(])(@fstring_conv)/,[\"metatag\",\"keyword.modifier\",\"metatag\"]],[/(%)(@fstring_conv)/,[\"metatag\",\"metatag\"]],[/./,\"string\"]],sstring:[[/@escapes/,\"string.escape\"],[/\"/,{token:\"string.quote\",bracket:\"@close\",switchTo:\"@allowMethod\"}],[/\\$\\$/,\"string\"],[/(\\$)([a-z_]\\w*)/,[\"operator\",\"identifier\"]],[/\\$\\{/,\"operator\",\"@interp\"],[/./,\"string\"]],sstringt:[[/@escapes/,\"string.escape\"],[/\"(?=\"\"\")/,\"string\"],[/\"\"\"/,{token:\"string.quote\",bracket:\"@close\",switchTo:\"@allowMethod\"}],[/\\$\\$/,\"string\"],[/(\\$)([a-z_]\\w*)/,[\"operator\",\"identifier\"]],[/\\$\\{/,\"operator\",\"@interp\"],[/./,\"string\"]],interp:[[/{/,\"operator\",\"@push\"],[/}/,\"operator\",\"@pop\"],{include:\"@root\"}],rawstring:[[/[^\"]/,\"string\"],[/\"/,{token:\"string.quote\",bracket:\"@close\",switchTo:\"@allowMethod\"}]],rawstringt:[[/[^\"]/,\"string\"],[/\"(?=\"\"\")/,\"string\"],[/\"\"\"/,{token:\"string.quote\",bracket:\"@close\",switchTo:\"@allowMethod\"}],[/\"/,\"string\"]],whitespace:[[/[ \\t\\r\\n]+/,\"white\"],[/\\/\\*/,\"comment\",\"@comment\"],[/\\/\\/.*$/,\"comment\"]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/scheme.0544bd16.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\";\",blockComment:[\"#|\",\"|#\"]},brackets:[[\"(\",\")\"],[\"{\",\"}\"],[\"[\",\"]\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'}]},o={defaultToken:\"\",ignoreCase:!0,tokenPostfix:\".scheme\",brackets:[{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"},{open:\"{\",close:\"}\",token:\"delimiter.curly\"},{open:\"[\",close:\"]\",token:\"delimiter.square\"}],keywords:[\"case\",\"do\",\"let\",\"loop\",\"if\",\"else\",\"when\",\"cons\",\"car\",\"cdr\",\"cond\",\"lambda\",\"lambda*\",\"syntax-rules\",\"format\",\"set!\",\"quote\",\"eval\",\"append\",\"list\",\"list?\",\"member?\",\"load\"],constants:[\"#t\",\"#f\"],operators:[\"eq?\",\"eqv?\",\"equal?\",\"and\",\"or\",\"not\",\"null?\"],tokenizer:{root:[[/#[xXoObB][0-9a-fA-F]+/,\"number.hex\"],[/[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?/,\"number.float\"],[/(?:\\b(?:(define|define-syntax|define-macro))\\b)(\\s+)((?:\\w|\\-|\\!|\\?)*)/,[\"keyword\",\"white\",\"variable\"]],{include:\"@whitespace\"},{include:\"@strings\"},[/[a-zA-Z_#][a-zA-Z0-9_\\-\\?\\!\\*]*/,{cases:{\"@keywords\":\"keyword\",\"@constants\":\"constant\",\"@operators\":\"operators\",\"@default\":\"identifier\"}}]],comment:[[/[^\\|#]+/,\"comment\"],[/#\\|/,\"comment\",\"@push\"],[/\\|#/,\"comment\",\"@pop\"],[/[\\|#]/,\"comment\"]],whitespace:[[/[ \\t\\r\\n]+/,\"white\"],[/#\\|/,\"comment\",\"@comment\"],[/;.*$/,\"comment\"]],strings:[[/\"$/,\"string\",\"@popall\"],[/\"(?=.)/,\"string\",\"@multiLineString\"]],multiLineString:[[/[^\\\\\"]+$/,\"string\",\"@popall\"],[/[^\\\\\"]+/,\"string\"],[/\\\\./,\"string.escape\"],[/\"/,\"string\",\"@popall\"],[/\\\\$/,\"string\"]]}};export{e as conf,o as language};\n"
  },
  {
    "path": "client/dist/assets/scss.646efa7b.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\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:[\"/*\",\"*/\"],lineComment:\"//\"},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:\".scss\",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.curly\"},{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:\"@variabledeclaration\"},{include:\"@warndebug\"},[\"[@](include)\",{token:\"keyword\",next:\"@includedeclaration\"}],[\"[@](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\"}],[\"[@](function)\",{token:\"keyword\",next:\"@functiondeclaration\"}],[\"[@](mixin)\",{token:\"keyword\",next:\"@mixindeclaration\"}],[\"url(\\\\-prefix)?\\\\(\",{token:\"meta\",next:\"@urldeclaration\"}],{include:\"@controlstatement\"},{include:\"@selectorname\"},[\"[&\\\\*]\",\"tag\"],[\"[>\\\\+,]\",\"delimiter\"],[\"\\\\[\",{token:\"delimiter.bracket\",next:\"@selectorattribute\"}],[\"{\",{token:\"delimiter.curly\",next:\"@selectorbody\"}]],selectorbody:[[\"[*_]?@identifier@ws:(?=(\\\\s|\\\\d|[^{;}]*[;}]))\",\"attribute.name\",\"@rulevalue\"],{include:\"@selector\"},[\"[@](extend)\",{token:\"keyword\",next:\"@extendbody\"}],[\"[@](return)\",{token:\"keyword\",next:\"@declarationbody\"}],[\"}\",{token:\"delimiter.curly\",next:\"@pop\"}]],selectorname:[[\"#{\",{token:\"meta\",next:\"@variableinterpolation\"}],[\"(\\\\.|#(?=[^{])|%|(@identifier)|:)+\",\"tag\"]],selectorattribute:[{include:\"@term\"},[\"]\",{token:\"delimiter.bracket\",next:\"@pop\"}]],term:[{include:\"@comments\"},[\"url(\\\\-prefix)?\\\\(\",{token:\"meta\",next:\"@urldeclaration\"}],{include:\"@functioninvocation\"},{include:\"@numbers\"},{include:\"@strings\"},{include:\"@variablereference\"},[\"(and\\\\b|or\\\\b|not\\\\b)\",\"operator\"],{include:\"@name\"},[\"([<>=\\\\+\\\\-\\\\*\\\\/\\\\^\\\\|\\\\~,])\",\"operator\"],[\",\",\"delimiter\"],[\"!default\",\"literal\"],[\"\\\\(\",{token:\"delimiter.parenthesis\",next:\"@parenthizedterm\"}]],rulevalue:[{include:\"@term\"},[\"!important\",\"literal\"],[\";\",\"delimiter\",\"@pop\"],[\"{\",{token:\"delimiter.curly\",switchTo:\"@nestedproperty\"}],[\"(?=})\",{token:\"\",next:\"@pop\"}]],nestedproperty:[[\"[*_]?@identifier@ws:\",\"attribute.name\",\"@rulevalue\"],{include:\"@comments\"},[\"}\",{token:\"delimiter.curly\",next:\"@pop\"}]],warndebug:[[\"[@](warn|debug)\",{token:\"keyword\",next:\"@declarationbody\"}]],import:[[\"[@](import)\",{token:\"keyword\",next:\"@declarationbody\"}]],variabledeclaration:[[\"\\\\$@identifier@ws:\",\"variable.decl\",\"@declarationbody\"]],urldeclaration:[{include:\"@strings\"},[`[^)\\r\n]+`,\"string\"],[\"\\\\)\",{token:\"meta\",next:\"@pop\"}]],parenthizedterm:[{include:\"@term\"},[\"\\\\)\",{token:\"delimiter.parenthesis\",next:\"@pop\"}]],declarationbody:[{include:\"@term\"},[\";\",\"delimiter\",\"@pop\"],[\"(?=})\",{token:\"\",next:\"@pop\"}]],extendbody:[{include:\"@selectorname\"},[\"!optional\",\"literal\"],[\";\",\"delimiter\",\"@pop\"],[\"(?=})\",{token:\"\",next:\"@pop\"}]],variablereference:[[\"\\\\$@identifier\",\"variable.ref\"],[\"\\\\.\\\\.\\\\.\",\"operator\"],[\"#{\",{token:\"meta\",next:\"@variableinterpolation\"}]],variableinterpolation:[{include:\"@variablereference\"},[\"}\",{token:\"meta\",next:\"@pop\"}]],comments:[[\"\\\\/\\\\*\",\"comment\",\"@comment\"],[\"\\\\/\\\\/+.*\",\"comment\"]],comment:[[\"\\\\*\\\\/\",\"comment\",\"@pop\"],[\".\",\"comment\"]],name:[[\"@identifier\",\"attribute.value\"]],numbers:[[\"(\\\\d*\\\\.)?\\\\d+([eE][\\\\-+]?\\\\d+)?\",{token:\"number\",next:\"@units\"}],[\"#[0-9a-fA-F_]+(?!\\\\w)\",\"number.hex\"]],units:[[\"(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?\",\"number\",\"@pop\"]],functiondeclaration:[[\"@identifier@ws\\\\(\",{token:\"meta\",next:\"@parameterdeclaration\"}],[\"{\",{token:\"delimiter.curly\",switchTo:\"@functionbody\"}]],mixindeclaration:[[\"@identifier@ws\\\\(\",{token:\"meta\",next:\"@parameterdeclaration\"}],[\"@identifier\",\"meta\"],[\"{\",{token:\"delimiter.curly\",switchTo:\"@selectorbody\"}]],parameterdeclaration:[[\"\\\\$@identifier@ws:\",\"variable.decl\"],[\"\\\\.\\\\.\\\\.\",\"operator\"],[\",\",\"delimiter\"],{include:\"@term\"},[\"\\\\)\",{token:\"meta\",next:\"@pop\"}]],includedeclaration:[{include:\"@functioninvocation\"},[\"@identifier\",\"meta\"],[\";\",\"delimiter\",\"@pop\"],[\"(?=})\",{token:\"\",next:\"@pop\"}],[\"{\",{token:\"delimiter.curly\",switchTo:\"@selectorbody\"}]],keyframedeclaration:[[\"@identifier\",\"meta\"],[\"{\",{token:\"delimiter.curly\",switchTo:\"@keyframebody\"}]],keyframebody:[{include:\"@term\"},[\"{\",{token:\"delimiter.curly\",next:\"@selectorbody\"}],[\"}\",{token:\"delimiter.curly\",next:\"@pop\"}]],controlstatement:[[\"[@](if|else|for|while|each|media)\",{token:\"keyword.flow\",next:\"@controlstatementdeclaration\"}]],controlstatementdeclaration:[[\"(in|from|through|if|to)\\\\b\",{token:\"keyword.flow\"}],{include:\"@term\"},[\"{\",{token:\"delimiter.curly\",switchTo:\"@selectorbody\"}]],functionbody:[[\"[@](return)\",{token:\"keyword\"}],{include:\"@variabledeclaration\"},{include:\"@term\"},{include:\"@controlstatement\"},[\";\",\"delimiter\"],[\"}\",{token:\"delimiter.curly\",next:\"@pop\"}]],functioninvocation:[[\"@identifier\\\\(\",{token:\"meta\",next:\"@functionarguments\"}]],functionarguments:[[\"\\\\$@identifier@ws:\",\"attribute.name\"],[\"[,]\",\"delimiter\"],{include:\"@term\"},[\"\\\\)\",{token:\"meta\",next:\"@pop\"}]],strings:[['~?\"',{token:\"string.delimiter\",next:\"@stringenddoublequote\"}],[\"~?'\",{token:\"string.delimiter\",next:\"@stringendquote\"}]],stringenddoublequote:[[\"\\\\\\\\.\",\"string\"],['\"',{token:\"string.delimiter\",next:\"@pop\"}],[\".\",\"string\"]],stringendquote:[[\"\\\\\\\\.\",\"string\"],[\"'\",{token:\"string.delimiter\",next:\"@pop\"}],[\".\",\"string\"]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/shell.bafd6f5f.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"#\"},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"},{open:\"`\",close:\"`\"}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"},{open:\"`\",close:\"`\"}]},r={defaultToken:\"\",ignoreCase:!0,tokenPostfix:\".shell\",brackets:[{token:\"delimiter.bracket\",open:\"{\",close:\"}\"},{token:\"delimiter.parenthesis\",open:\"(\",close:\")\"},{token:\"delimiter.square\",open:\"[\",close:\"]\"}],keywords:[\"if\",\"then\",\"do\",\"else\",\"elif\",\"while\",\"until\",\"for\",\"in\",\"esac\",\"fi\",\"fin\",\"fil\",\"done\",\"exit\",\"set\",\"unset\",\"export\",\"function\"],builtins:[\"ab\",\"awk\",\"bash\",\"beep\",\"cat\",\"cc\",\"cd\",\"chown\",\"chmod\",\"chroot\",\"clear\",\"cp\",\"curl\",\"cut\",\"diff\",\"echo\",\"find\",\"gawk\",\"gcc\",\"get\",\"git\",\"grep\",\"hg\",\"kill\",\"killall\",\"ln\",\"ls\",\"make\",\"mkdir\",\"openssl\",\"mv\",\"nc\",\"node\",\"npm\",\"ping\",\"ps\",\"restart\",\"rm\",\"rmdir\",\"sed\",\"service\",\"sh\",\"shopt\",\"shred\",\"source\",\"sort\",\"sleep\",\"ssh\",\"start\",\"stop\",\"su\",\"sudo\",\"svn\",\"tee\",\"telnet\",\"top\",\"touch\",\"vi\",\"vim\",\"wall\",\"wc\",\"wget\",\"who\",\"write\",\"yes\",\"zsh\"],startingWithDash:/\\-+\\w+/,identifiersWithDashes:/[a-zA-Z]\\w+(?:@startingWithDash)+/,symbols:/[=><!~?&|+\\-*\\/\\^;\\.,]+/,tokenizer:{root:[[/@identifiersWithDashes/,\"\"],[/(\\s)((?:@startingWithDash)+)/,[\"white\",\"attribute.name\"]],[/[a-zA-Z]\\w*/,{cases:{\"@keywords\":\"keyword\",\"@builtins\":\"type.identifier\",\"@default\":\"\"}}],{include:\"@whitespace\"},{include:\"@strings\"},{include:\"@parameters\"},{include:\"@heredoc\"},[/[{}\\[\\]()]/,\"@brackets\"],[/@symbols/,\"delimiter\"],{include:\"@numbers\"},[/[,;]/,\"delimiter\"]],whitespace:[[/\\s+/,\"white\"],[/(^#!.*$)/,\"metatag\"],[/(^#.*$)/,\"comment\"]],numbers:[[/\\d*\\.\\d+([eE][\\-+]?\\d+)?/,\"number.float\"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,\"number.hex\"],[/\\d+/,\"number\"]],strings:[[/'/,\"string\",\"@stringBody\"],[/\"/,\"string\",\"@dblStringBody\"]],stringBody:[[/'/,\"string\",\"@popall\"],[/./,\"string\"]],dblStringBody:[[/\"/,\"string\",\"@popall\"],[/./,\"string\"]],heredoc:[[/(<<[-<]?)(\\s*)(['\"`]?)([\\w\\-]+)(['\"`]?)/,[\"constants\",\"white\",\"string.heredoc.delimiter\",\"string.heredoc\",\"string.heredoc.delimiter\"]]],parameters:[[/\\$\\d+/,\"variable.predefined\"],[/\\$\\w+/,\"variable\"],[/\\$[*@#?\\-$!0_]/,\"variable\"],[/\\$'/,\"variable\",\"@parameterBodyQuote\"],[/\\$\"/,\"variable\",\"@parameterBodyDoubleQuote\"],[/\\$\\(/,\"variable\",\"@parameterBodyParen\"],[/\\$\\{/,\"variable\",\"@parameterBodyCurlyBrace\"]],parameterBodyQuote:[[/[^#:%*@\\-!_']+/,\"variable\"],[/[#:%*@\\-!_]/,\"delimiter\"],[/[']/,\"variable\",\"@pop\"]],parameterBodyDoubleQuote:[[/[^#:%*@\\-!_\"]+/,\"variable\"],[/[#:%*@\\-!_]/,\"delimiter\"],[/[\"]/,\"variable\",\"@pop\"]],parameterBodyParen:[[/[^#:%*@\\-!_)]+/,\"variable\"],[/[#:%*@\\-!_]/,\"delimiter\"],[/[)]/,\"variable\",\"@pop\"]],parameterBodyCurlyBrace:[[/[^#:%*@\\-!_}]+/,\"variable\"],[/[#:%*@\\-!_]/,\"delimiter\"],[/[}]/,\"variable\",\"@pop\"]]}};export{e as conf,r as language};\n"
  },
  {
    "path": "client/dist/assets/signin.b6a1b593.js",
    "content": "import{d as _,B as V,c as B,o as x,b as v,a7 as k,r as g,C as H,g as o,j as e,h as n,E as y,l as b,p as h,q as u,s as f,f as c,x as D,y as S,t as E,i as C,a8 as w}from\"./index.becaf6b8.js\";import{l as I}from\"./logo.0fab0ac6.js\";import{H as N}from\"./HPopover.d0eeed1b.js\";const T=_({__name:\"HImage\",props:{size:{}},setup(i){const l=i,{size:t,...a}=V(l),s=B(()=>({maxHeight:t==null?void 0:t.value,maxWidth:t==null?void 0:t.value}));return(r,p)=>(x(),v(\"img\",k(a,{style:s.value}),null,16))}}),$=c(\"div\",{class:\"text-lg mt-4 select-none\"},\"\\u767B\\u5F55\\u5230 Hexon\",-1),A={class:\"mt-4 flex w-full\"},K=c(\"div\",{class:\"text-xs max-w-sm\"},[u(\" \\u8FD0\\u884C \"),c(\"span\",{class:\"font-mono\"},\"pnpm resetpwd\"),u(\" \\u91CD\\u7F6E\\u5BC6\\u7801 \")],-1),P=_({__name:\"HLoginForm\",emits:[\"on-submit\",\"on-forget\",\"on-help\"],setup(i,{emit:l}){const t=l,a=g(\"\"),s=g(\"\"),r=()=>{t(\"on-submit\",{username:a.value,password:s.value})},p=()=>{t(\"on-forget\")},F=()=>{t(\"on-help\")};return H(),(j,m)=>(x(),v(\"form\",{onSubmit:D(r,[\"prevent\"]),class:\"flex flex-col items-center w-60\"},[o(T,{src:e(I),alt:\"\",size:\"100px\"},null,8,[\"src\"]),$,o(e(h),{placeholder:\"\\u7528\\u6237\\u540D\",modelValue:a.value,\"onUpdate:modelValue\":m[0]||(m[0]=d=>a.value=d),class:\"mt-4\",clearable:\"\"},{prefix:n(()=>[o(e(y),{name:e(b).Contact},null,8,[\"name\"])]),_:1},8,[\"modelValue\"]),o(e(h),{placeholder:\"\\u5BC6\\u7801\",modelValue:s.value,\"onUpdate:modelValue\":m[1]||(m[1]=d=>s.value=d),class:\"mt-4\",\"attr-type\":\"password\",clearable:\"\"},{prefix:n(()=>[o(e(y),{name:e(b).Keyboard12Key},null,8,[\"name\"])]),_:1},8,[\"modelValue\"]),o(e(f),{class:\"mt-4\",block:\"\"},{default:n(()=>[u(\"\\u767B\\u5F55\")]),_:1}),c(\"div\",A,[o(e(f),{type:\"common\",inverted:\"\",class:\"flex-1\",onClick:p,\"attr-type\":\"button\"},{default:n(()=>[u(\" \\u5FD8\\u8BB0\\u5BC6\\u7801 \"),o(e(N),{position:\"bottom-left\"},{default:n(()=>[K]),_:1})]),_:1}),o(e(f),{type:\"common\",inverted:\"\",class:\"flex-1 ml-2\",onClick:F,\"attr-type\":\"button\"},{default:n(()=>[u(\" \\u5E2E\\u52A9 \")]),_:1})])],32))}}),U=_({__name:\"signin\",setup(i){const l=S(),t=B(()=>`\\xA9\\uFE0F 2019 ~ ${new Date().getFullYear()} winwin_2011`),a=r=>l.signIn(r),s=H();return(r,p)=>(x(),v(\"div\",{class:\"w-full h-full flex flex-col items-center select-none\",style:C({backgroundColor:e(s).backgroundColorTertiary,paddingTop:\"20vh\"})},[o(P,{onOnSubmit:a,style:{flex:\"1\"}}),c(\"div\",{class:\"leading-8 text-xs\",style:C({color:e(s).textColorSecondary})},E(t.value),5)],4))}});typeof w==\"function\"&&w(U);export{U as default};\n"
  },
  {
    "path": "client/dist/assets/solidity.79ca2cec.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var x={comments:{lineComment:\"//\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"],[\"<\",\">\"]],autoClosingPairs:[{open:'\"',close:'\"',notIn:[\"string\",\"comment\"]},{open:\"{\",close:\"}\",notIn:[\"string\",\"comment\"]},{open:\"[\",close:\"]\",notIn:[\"string\",\"comment\"]},{open:\"(\",close:\")\",notIn:[\"string\",\"comment\"]}]},e={defaultToken:\"\",tokenPostfix:\".sol\",brackets:[{token:\"delimiter.curly\",open:\"{\",close:\"}\"},{token:\"delimiter.parenthesis\",open:\"(\",close:\")\"},{token:\"delimiter.square\",open:\"[\",close:\"]\"},{token:\"delimiter.angle\",open:\"<\",close:\">\"}],keywords:[\"pragma\",\"solidity\",\"contract\",\"library\",\"using\",\"struct\",\"function\",\"modifier\",\"constructor\",\"address\",\"string\",\"bool\",\"Int\",\"Uint\",\"Byte\",\"Fixed\",\"Ufixed\",\"int\",\"int8\",\"int16\",\"int24\",\"int32\",\"int40\",\"int48\",\"int56\",\"int64\",\"int72\",\"int80\",\"int88\",\"int96\",\"int104\",\"int112\",\"int120\",\"int128\",\"int136\",\"int144\",\"int152\",\"int160\",\"int168\",\"int176\",\"int184\",\"int192\",\"int200\",\"int208\",\"int216\",\"int224\",\"int232\",\"int240\",\"int248\",\"int256\",\"uint\",\"uint8\",\"uint16\",\"uint24\",\"uint32\",\"uint40\",\"uint48\",\"uint56\",\"uint64\",\"uint72\",\"uint80\",\"uint88\",\"uint96\",\"uint104\",\"uint112\",\"uint120\",\"uint128\",\"uint136\",\"uint144\",\"uint152\",\"uint160\",\"uint168\",\"uint176\",\"uint184\",\"uint192\",\"uint200\",\"uint208\",\"uint216\",\"uint224\",\"uint232\",\"uint240\",\"uint248\",\"uint256\",\"byte\",\"bytes\",\"bytes1\",\"bytes2\",\"bytes3\",\"bytes4\",\"bytes5\",\"bytes6\",\"bytes7\",\"bytes8\",\"bytes9\",\"bytes10\",\"bytes11\",\"bytes12\",\"bytes13\",\"bytes14\",\"bytes15\",\"bytes16\",\"bytes17\",\"bytes18\",\"bytes19\",\"bytes20\",\"bytes21\",\"bytes22\",\"bytes23\",\"bytes24\",\"bytes25\",\"bytes26\",\"bytes27\",\"bytes28\",\"bytes29\",\"bytes30\",\"bytes31\",\"bytes32\",\"fixed\",\"fixed0x8\",\"fixed0x16\",\"fixed0x24\",\"fixed0x32\",\"fixed0x40\",\"fixed0x48\",\"fixed0x56\",\"fixed0x64\",\"fixed0x72\",\"fixed0x80\",\"fixed0x88\",\"fixed0x96\",\"fixed0x104\",\"fixed0x112\",\"fixed0x120\",\"fixed0x128\",\"fixed0x136\",\"fixed0x144\",\"fixed0x152\",\"fixed0x160\",\"fixed0x168\",\"fixed0x176\",\"fixed0x184\",\"fixed0x192\",\"fixed0x200\",\"fixed0x208\",\"fixed0x216\",\"fixed0x224\",\"fixed0x232\",\"fixed0x240\",\"fixed0x248\",\"fixed0x256\",\"fixed8x8\",\"fixed8x16\",\"fixed8x24\",\"fixed8x32\",\"fixed8x40\",\"fixed8x48\",\"fixed8x56\",\"fixed8x64\",\"fixed8x72\",\"fixed8x80\",\"fixed8x88\",\"fixed8x96\",\"fixed8x104\",\"fixed8x112\",\"fixed8x120\",\"fixed8x128\",\"fixed8x136\",\"fixed8x144\",\"fixed8x152\",\"fixed8x160\",\"fixed8x168\",\"fixed8x176\",\"fixed8x184\",\"fixed8x192\",\"fixed8x200\",\"fixed8x208\",\"fixed8x216\",\"fixed8x224\",\"fixed8x232\",\"fixed8x240\",\"fixed8x248\",\"fixed16x8\",\"fixed16x16\",\"fixed16x24\",\"fixed16x32\",\"fixed16x40\",\"fixed16x48\",\"fixed16x56\",\"fixed16x64\",\"fixed16x72\",\"fixed16x80\",\"fixed16x88\",\"fixed16x96\",\"fixed16x104\",\"fixed16x112\",\"fixed16x120\",\"fixed16x128\",\"fixed16x136\",\"fixed16x144\",\"fixed16x152\",\"fixed16x160\",\"fixed16x168\",\"fixed16x176\",\"fixed16x184\",\"fixed16x192\",\"fixed16x200\",\"fixed16x208\",\"fixed16x216\",\"fixed16x224\",\"fixed16x232\",\"fixed16x240\",\"fixed24x8\",\"fixed24x16\",\"fixed24x24\",\"fixed24x32\",\"fixed24x40\",\"fixed24x48\",\"fixed24x56\",\"fixed24x64\",\"fixed24x72\",\"fixed24x80\",\"fixed24x88\",\"fixed24x96\",\"fixed24x104\",\"fixed24x112\",\"fixed24x120\",\"fixed24x128\",\"fixed24x136\",\"fixed24x144\",\"fixed24x152\",\"fixed24x160\",\"fixed24x168\",\"fixed24x176\",\"fixed24x184\",\"fixed24x192\",\"fixed24x200\",\"fixed24x208\",\"fixed24x216\",\"fixed24x224\",\"fixed24x232\",\"fixed32x8\",\"fixed32x16\",\"fixed32x24\",\"fixed32x32\",\"fixed32x40\",\"fixed32x48\",\"fixed32x56\",\"fixed32x64\",\"fixed32x72\",\"fixed32x80\",\"fixed32x88\",\"fixed32x96\",\"fixed32x104\",\"fixed32x112\",\"fixed32x120\",\"fixed32x128\",\"fixed32x136\",\"fixed32x144\",\"fixed32x152\",\"fixed32x160\",\"fixed32x168\",\"fixed32x176\",\"fixed32x184\",\"fixed32x192\",\"fixed32x200\",\"fixed32x208\",\"fixed32x216\",\"fixed32x224\",\"fixed40x8\",\"fixed40x16\",\"fixed40x24\",\"fixed40x32\",\"fixed40x40\",\"fixed40x48\",\"fixed40x56\",\"fixed40x64\",\"fixed40x72\",\"fixed40x80\",\"fixed40x88\",\"fixed40x96\",\"fixed40x104\",\"fixed40x112\",\"fixed40x120\",\"fixed40x128\",\"fixed40x136\",\"fixed40x144\",\"fixed40x152\",\"fixed40x160\",\"fixed40x168\",\"fixed40x176\",\"fixed40x184\",\"fixed40x192\",\"fixed40x200\",\"fixed40x208\",\"fixed40x216\",\"fixed48x8\",\"fixed48x16\",\"fixed48x24\",\"fixed48x32\",\"fixed48x40\",\"fixed48x48\",\"fixed48x56\",\"fixed48x64\",\"fixed48x72\",\"fixed48x80\",\"fixed48x88\",\"fixed48x96\",\"fixed48x104\",\"fixed48x112\",\"fixed48x120\",\"fixed48x128\",\"fixed48x136\",\"fixed48x144\",\"fixed48x152\",\"fixed48x160\",\"fixed48x168\",\"fixed48x176\",\"fixed48x184\",\"fixed48x192\",\"fixed48x200\",\"fixed48x208\",\"fixed56x8\",\"fixed56x16\",\"fixed56x24\",\"fixed56x32\",\"fixed56x40\",\"fixed56x48\",\"fixed56x56\",\"fixed56x64\",\"fixed56x72\",\"fixed56x80\",\"fixed56x88\",\"fixed56x96\",\"fixed56x104\",\"fixed56x112\",\"fixed56x120\",\"fixed56x128\",\"fixed56x136\",\"fixed56x144\",\"fixed56x152\",\"fixed56x160\",\"fixed56x168\",\"fixed56x176\",\"fixed56x184\",\"fixed56x192\",\"fixed56x200\",\"fixed64x8\",\"fixed64x16\",\"fixed64x24\",\"fixed64x32\",\"fixed64x40\",\"fixed64x48\",\"fixed64x56\",\"fixed64x64\",\"fixed64x72\",\"fixed64x80\",\"fixed64x88\",\"fixed64x96\",\"fixed64x104\",\"fixed64x112\",\"fixed64x120\",\"fixed64x128\",\"fixed64x136\",\"fixed64x144\",\"fixed64x152\",\"fixed64x160\",\"fixed64x168\",\"fixed64x176\",\"fixed64x184\",\"fixed64x192\",\"fixed72x8\",\"fixed72x16\",\"fixed72x24\",\"fixed72x32\",\"fixed72x40\",\"fixed72x48\",\"fixed72x56\",\"fixed72x64\",\"fixed72x72\",\"fixed72x80\",\"fixed72x88\",\"fixed72x96\",\"fixed72x104\",\"fixed72x112\",\"fixed72x120\",\"fixed72x128\",\"fixed72x136\",\"fixed72x144\",\"fixed72x152\",\"fixed72x160\",\"fixed72x168\",\"fixed72x176\",\"fixed72x184\",\"fixed80x8\",\"fixed80x16\",\"fixed80x24\",\"fixed80x32\",\"fixed80x40\",\"fixed80x48\",\"fixed80x56\",\"fixed80x64\",\"fixed80x72\",\"fixed80x80\",\"fixed80x88\",\"fixed80x96\",\"fixed80x104\",\"fixed80x112\",\"fixed80x120\",\"fixed80x128\",\"fixed80x136\",\"fixed80x144\",\"fixed80x152\",\"fixed80x160\",\"fixed80x168\",\"fixed80x176\",\"fixed88x8\",\"fixed88x16\",\"fixed88x24\",\"fixed88x32\",\"fixed88x40\",\"fixed88x48\",\"fixed88x56\",\"fixed88x64\",\"fixed88x72\",\"fixed88x80\",\"fixed88x88\",\"fixed88x96\",\"fixed88x104\",\"fixed88x112\",\"fixed88x120\",\"fixed88x128\",\"fixed88x136\",\"fixed88x144\",\"fixed88x152\",\"fixed88x160\",\"fixed88x168\",\"fixed96x8\",\"fixed96x16\",\"fixed96x24\",\"fixed96x32\",\"fixed96x40\",\"fixed96x48\",\"fixed96x56\",\"fixed96x64\",\"fixed96x72\",\"fixed96x80\",\"fixed96x88\",\"fixed96x96\",\"fixed96x104\",\"fixed96x112\",\"fixed96x120\",\"fixed96x128\",\"fixed96x136\",\"fixed96x144\",\"fixed96x152\",\"fixed96x160\",\"fixed104x8\",\"fixed104x16\",\"fixed104x24\",\"fixed104x32\",\"fixed104x40\",\"fixed104x48\",\"fixed104x56\",\"fixed104x64\",\"fixed104x72\",\"fixed104x80\",\"fixed104x88\",\"fixed104x96\",\"fixed104x104\",\"fixed104x112\",\"fixed104x120\",\"fixed104x128\",\"fixed104x136\",\"fixed104x144\",\"fixed104x152\",\"fixed112x8\",\"fixed112x16\",\"fixed112x24\",\"fixed112x32\",\"fixed112x40\",\"fixed112x48\",\"fixed112x56\",\"fixed112x64\",\"fixed112x72\",\"fixed112x80\",\"fixed112x88\",\"fixed112x96\",\"fixed112x104\",\"fixed112x112\",\"fixed112x120\",\"fixed112x128\",\"fixed112x136\",\"fixed112x144\",\"fixed120x8\",\"fixed120x16\",\"fixed120x24\",\"fixed120x32\",\"fixed120x40\",\"fixed120x48\",\"fixed120x56\",\"fixed120x64\",\"fixed120x72\",\"fixed120x80\",\"fixed120x88\",\"fixed120x96\",\"fixed120x104\",\"fixed120x112\",\"fixed120x120\",\"fixed120x128\",\"fixed120x136\",\"fixed128x8\",\"fixed128x16\",\"fixed128x24\",\"fixed128x32\",\"fixed128x40\",\"fixed128x48\",\"fixed128x56\",\"fixed128x64\",\"fixed128x72\",\"fixed128x80\",\"fixed128x88\",\"fixed128x96\",\"fixed128x104\",\"fixed128x112\",\"fixed128x120\",\"fixed128x128\",\"fixed136x8\",\"fixed136x16\",\"fixed136x24\",\"fixed136x32\",\"fixed136x40\",\"fixed136x48\",\"fixed136x56\",\"fixed136x64\",\"fixed136x72\",\"fixed136x80\",\"fixed136x88\",\"fixed136x96\",\"fixed136x104\",\"fixed136x112\",\"fixed136x120\",\"fixed144x8\",\"fixed144x16\",\"fixed144x24\",\"fixed144x32\",\"fixed144x40\",\"fixed144x48\",\"fixed144x56\",\"fixed144x64\",\"fixed144x72\",\"fixed144x80\",\"fixed144x88\",\"fixed144x96\",\"fixed144x104\",\"fixed144x112\",\"fixed152x8\",\"fixed152x16\",\"fixed152x24\",\"fixed152x32\",\"fixed152x40\",\"fixed152x48\",\"fixed152x56\",\"fixed152x64\",\"fixed152x72\",\"fixed152x80\",\"fixed152x88\",\"fixed152x96\",\"fixed152x104\",\"fixed160x8\",\"fixed160x16\",\"fixed160x24\",\"fixed160x32\",\"fixed160x40\",\"fixed160x48\",\"fixed160x56\",\"fixed160x64\",\"fixed160x72\",\"fixed160x80\",\"fixed160x88\",\"fixed160x96\",\"fixed168x8\",\"fixed168x16\",\"fixed168x24\",\"fixed168x32\",\"fixed168x40\",\"fixed168x48\",\"fixed168x56\",\"fixed168x64\",\"fixed168x72\",\"fixed168x80\",\"fixed168x88\",\"fixed176x8\",\"fixed176x16\",\"fixed176x24\",\"fixed176x32\",\"fixed176x40\",\"fixed176x48\",\"fixed176x56\",\"fixed176x64\",\"fixed176x72\",\"fixed176x80\",\"fixed184x8\",\"fixed184x16\",\"fixed184x24\",\"fixed184x32\",\"fixed184x40\",\"fixed184x48\",\"fixed184x56\",\"fixed184x64\",\"fixed184x72\",\"fixed192x8\",\"fixed192x16\",\"fixed192x24\",\"fixed192x32\",\"fixed192x40\",\"fixed192x48\",\"fixed192x56\",\"fixed192x64\",\"fixed200x8\",\"fixed200x16\",\"fixed200x24\",\"fixed200x32\",\"fixed200x40\",\"fixed200x48\",\"fixed200x56\",\"fixed208x8\",\"fixed208x16\",\"fixed208x24\",\"fixed208x32\",\"fixed208x40\",\"fixed208x48\",\"fixed216x8\",\"fixed216x16\",\"fixed216x24\",\"fixed216x32\",\"fixed216x40\",\"fixed224x8\",\"fixed224x16\",\"fixed224x24\",\"fixed224x32\",\"fixed232x8\",\"fixed232x16\",\"fixed232x24\",\"fixed240x8\",\"fixed240x16\",\"fixed248x8\",\"ufixed\",\"ufixed0x8\",\"ufixed0x16\",\"ufixed0x24\",\"ufixed0x32\",\"ufixed0x40\",\"ufixed0x48\",\"ufixed0x56\",\"ufixed0x64\",\"ufixed0x72\",\"ufixed0x80\",\"ufixed0x88\",\"ufixed0x96\",\"ufixed0x104\",\"ufixed0x112\",\"ufixed0x120\",\"ufixed0x128\",\"ufixed0x136\",\"ufixed0x144\",\"ufixed0x152\",\"ufixed0x160\",\"ufixed0x168\",\"ufixed0x176\",\"ufixed0x184\",\"ufixed0x192\",\"ufixed0x200\",\"ufixed0x208\",\"ufixed0x216\",\"ufixed0x224\",\"ufixed0x232\",\"ufixed0x240\",\"ufixed0x248\",\"ufixed0x256\",\"ufixed8x8\",\"ufixed8x16\",\"ufixed8x24\",\"ufixed8x32\",\"ufixed8x40\",\"ufixed8x48\",\"ufixed8x56\",\"ufixed8x64\",\"ufixed8x72\",\"ufixed8x80\",\"ufixed8x88\",\"ufixed8x96\",\"ufixed8x104\",\"ufixed8x112\",\"ufixed8x120\",\"ufixed8x128\",\"ufixed8x136\",\"ufixed8x144\",\"ufixed8x152\",\"ufixed8x160\",\"ufixed8x168\",\"ufixed8x176\",\"ufixed8x184\",\"ufixed8x192\",\"ufixed8x200\",\"ufixed8x208\",\"ufixed8x216\",\"ufixed8x224\",\"ufixed8x232\",\"ufixed8x240\",\"ufixed8x248\",\"ufixed16x8\",\"ufixed16x16\",\"ufixed16x24\",\"ufixed16x32\",\"ufixed16x40\",\"ufixed16x48\",\"ufixed16x56\",\"ufixed16x64\",\"ufixed16x72\",\"ufixed16x80\",\"ufixed16x88\",\"ufixed16x96\",\"ufixed16x104\",\"ufixed16x112\",\"ufixed16x120\",\"ufixed16x128\",\"ufixed16x136\",\"ufixed16x144\",\"ufixed16x152\",\"ufixed16x160\",\"ufixed16x168\",\"ufixed16x176\",\"ufixed16x184\",\"ufixed16x192\",\"ufixed16x200\",\"ufixed16x208\",\"ufixed16x216\",\"ufixed16x224\",\"ufixed16x232\",\"ufixed16x240\",\"ufixed24x8\",\"ufixed24x16\",\"ufixed24x24\",\"ufixed24x32\",\"ufixed24x40\",\"ufixed24x48\",\"ufixed24x56\",\"ufixed24x64\",\"ufixed24x72\",\"ufixed24x80\",\"ufixed24x88\",\"ufixed24x96\",\"ufixed24x104\",\"ufixed24x112\",\"ufixed24x120\",\"ufixed24x128\",\"ufixed24x136\",\"ufixed24x144\",\"ufixed24x152\",\"ufixed24x160\",\"ufixed24x168\",\"ufixed24x176\",\"ufixed24x184\",\"ufixed24x192\",\"ufixed24x200\",\"ufixed24x208\",\"ufixed24x216\",\"ufixed24x224\",\"ufixed24x232\",\"ufixed32x8\",\"ufixed32x16\",\"ufixed32x24\",\"ufixed32x32\",\"ufixed32x40\",\"ufixed32x48\",\"ufixed32x56\",\"ufixed32x64\",\"ufixed32x72\",\"ufixed32x80\",\"ufixed32x88\",\"ufixed32x96\",\"ufixed32x104\",\"ufixed32x112\",\"ufixed32x120\",\"ufixed32x128\",\"ufixed32x136\",\"ufixed32x144\",\"ufixed32x152\",\"ufixed32x160\",\"ufixed32x168\",\"ufixed32x176\",\"ufixed32x184\",\"ufixed32x192\",\"ufixed32x200\",\"ufixed32x208\",\"ufixed32x216\",\"ufixed32x224\",\"ufixed40x8\",\"ufixed40x16\",\"ufixed40x24\",\"ufixed40x32\",\"ufixed40x40\",\"ufixed40x48\",\"ufixed40x56\",\"ufixed40x64\",\"ufixed40x72\",\"ufixed40x80\",\"ufixed40x88\",\"ufixed40x96\",\"ufixed40x104\",\"ufixed40x112\",\"ufixed40x120\",\"ufixed40x128\",\"ufixed40x136\",\"ufixed40x144\",\"ufixed40x152\",\"ufixed40x160\",\"ufixed40x168\",\"ufixed40x176\",\"ufixed40x184\",\"ufixed40x192\",\"ufixed40x200\",\"ufixed40x208\",\"ufixed40x216\",\"ufixed48x8\",\"ufixed48x16\",\"ufixed48x24\",\"ufixed48x32\",\"ufixed48x40\",\"ufixed48x48\",\"ufixed48x56\",\"ufixed48x64\",\"ufixed48x72\",\"ufixed48x80\",\"ufixed48x88\",\"ufixed48x96\",\"ufixed48x104\",\"ufixed48x112\",\"ufixed48x120\",\"ufixed48x128\",\"ufixed48x136\",\"ufixed48x144\",\"ufixed48x152\",\"ufixed48x160\",\"ufixed48x168\",\"ufixed48x176\",\"ufixed48x184\",\"ufixed48x192\",\"ufixed48x200\",\"ufixed48x208\",\"ufixed56x8\",\"ufixed56x16\",\"ufixed56x24\",\"ufixed56x32\",\"ufixed56x40\",\"ufixed56x48\",\"ufixed56x56\",\"ufixed56x64\",\"ufixed56x72\",\"ufixed56x80\",\"ufixed56x88\",\"ufixed56x96\",\"ufixed56x104\",\"ufixed56x112\",\"ufixed56x120\",\"ufixed56x128\",\"ufixed56x136\",\"ufixed56x144\",\"ufixed56x152\",\"ufixed56x160\",\"ufixed56x168\",\"ufixed56x176\",\"ufixed56x184\",\"ufixed56x192\",\"ufixed56x200\",\"ufixed64x8\",\"ufixed64x16\",\"ufixed64x24\",\"ufixed64x32\",\"ufixed64x40\",\"ufixed64x48\",\"ufixed64x56\",\"ufixed64x64\",\"ufixed64x72\",\"ufixed64x80\",\"ufixed64x88\",\"ufixed64x96\",\"ufixed64x104\",\"ufixed64x112\",\"ufixed64x120\",\"ufixed64x128\",\"ufixed64x136\",\"ufixed64x144\",\"ufixed64x152\",\"ufixed64x160\",\"ufixed64x168\",\"ufixed64x176\",\"ufixed64x184\",\"ufixed64x192\",\"ufixed72x8\",\"ufixed72x16\",\"ufixed72x24\",\"ufixed72x32\",\"ufixed72x40\",\"ufixed72x48\",\"ufixed72x56\",\"ufixed72x64\",\"ufixed72x72\",\"ufixed72x80\",\"ufixed72x88\",\"ufixed72x96\",\"ufixed72x104\",\"ufixed72x112\",\"ufixed72x120\",\"ufixed72x128\",\"ufixed72x136\",\"ufixed72x144\",\"ufixed72x152\",\"ufixed72x160\",\"ufixed72x168\",\"ufixed72x176\",\"ufixed72x184\",\"ufixed80x8\",\"ufixed80x16\",\"ufixed80x24\",\"ufixed80x32\",\"ufixed80x40\",\"ufixed80x48\",\"ufixed80x56\",\"ufixed80x64\",\"ufixed80x72\",\"ufixed80x80\",\"ufixed80x88\",\"ufixed80x96\",\"ufixed80x104\",\"ufixed80x112\",\"ufixed80x120\",\"ufixed80x128\",\"ufixed80x136\",\"ufixed80x144\",\"ufixed80x152\",\"ufixed80x160\",\"ufixed80x168\",\"ufixed80x176\",\"ufixed88x8\",\"ufixed88x16\",\"ufixed88x24\",\"ufixed88x32\",\"ufixed88x40\",\"ufixed88x48\",\"ufixed88x56\",\"ufixed88x64\",\"ufixed88x72\",\"ufixed88x80\",\"ufixed88x88\",\"ufixed88x96\",\"ufixed88x104\",\"ufixed88x112\",\"ufixed88x120\",\"ufixed88x128\",\"ufixed88x136\",\"ufixed88x144\",\"ufixed88x152\",\"ufixed88x160\",\"ufixed88x168\",\"ufixed96x8\",\"ufixed96x16\",\"ufixed96x24\",\"ufixed96x32\",\"ufixed96x40\",\"ufixed96x48\",\"ufixed96x56\",\"ufixed96x64\",\"ufixed96x72\",\"ufixed96x80\",\"ufixed96x88\",\"ufixed96x96\",\"ufixed96x104\",\"ufixed96x112\",\"ufixed96x120\",\"ufixed96x128\",\"ufixed96x136\",\"ufixed96x144\",\"ufixed96x152\",\"ufixed96x160\",\"ufixed104x8\",\"ufixed104x16\",\"ufixed104x24\",\"ufixed104x32\",\"ufixed104x40\",\"ufixed104x48\",\"ufixed104x56\",\"ufixed104x64\",\"ufixed104x72\",\"ufixed104x80\",\"ufixed104x88\",\"ufixed104x96\",\"ufixed104x104\",\"ufixed104x112\",\"ufixed104x120\",\"ufixed104x128\",\"ufixed104x136\",\"ufixed104x144\",\"ufixed104x152\",\"ufixed112x8\",\"ufixed112x16\",\"ufixed112x24\",\"ufixed112x32\",\"ufixed112x40\",\"ufixed112x48\",\"ufixed112x56\",\"ufixed112x64\",\"ufixed112x72\",\"ufixed112x80\",\"ufixed112x88\",\"ufixed112x96\",\"ufixed112x104\",\"ufixed112x112\",\"ufixed112x120\",\"ufixed112x128\",\"ufixed112x136\",\"ufixed112x144\",\"ufixed120x8\",\"ufixed120x16\",\"ufixed120x24\",\"ufixed120x32\",\"ufixed120x40\",\"ufixed120x48\",\"ufixed120x56\",\"ufixed120x64\",\"ufixed120x72\",\"ufixed120x80\",\"ufixed120x88\",\"ufixed120x96\",\"ufixed120x104\",\"ufixed120x112\",\"ufixed120x120\",\"ufixed120x128\",\"ufixed120x136\",\"ufixed128x8\",\"ufixed128x16\",\"ufixed128x24\",\"ufixed128x32\",\"ufixed128x40\",\"ufixed128x48\",\"ufixed128x56\",\"ufixed128x64\",\"ufixed128x72\",\"ufixed128x80\",\"ufixed128x88\",\"ufixed128x96\",\"ufixed128x104\",\"ufixed128x112\",\"ufixed128x120\",\"ufixed128x128\",\"ufixed136x8\",\"ufixed136x16\",\"ufixed136x24\",\"ufixed136x32\",\"ufixed136x40\",\"ufixed136x48\",\"ufixed136x56\",\"ufixed136x64\",\"ufixed136x72\",\"ufixed136x80\",\"ufixed136x88\",\"ufixed136x96\",\"ufixed136x104\",\"ufixed136x112\",\"ufixed136x120\",\"ufixed144x8\",\"ufixed144x16\",\"ufixed144x24\",\"ufixed144x32\",\"ufixed144x40\",\"ufixed144x48\",\"ufixed144x56\",\"ufixed144x64\",\"ufixed144x72\",\"ufixed144x80\",\"ufixed144x88\",\"ufixed144x96\",\"ufixed144x104\",\"ufixed144x112\",\"ufixed152x8\",\"ufixed152x16\",\"ufixed152x24\",\"ufixed152x32\",\"ufixed152x40\",\"ufixed152x48\",\"ufixed152x56\",\"ufixed152x64\",\"ufixed152x72\",\"ufixed152x80\",\"ufixed152x88\",\"ufixed152x96\",\"ufixed152x104\",\"ufixed160x8\",\"ufixed160x16\",\"ufixed160x24\",\"ufixed160x32\",\"ufixed160x40\",\"ufixed160x48\",\"ufixed160x56\",\"ufixed160x64\",\"ufixed160x72\",\"ufixed160x80\",\"ufixed160x88\",\"ufixed160x96\",\"ufixed168x8\",\"ufixed168x16\",\"ufixed168x24\",\"ufixed168x32\",\"ufixed168x40\",\"ufixed168x48\",\"ufixed168x56\",\"ufixed168x64\",\"ufixed168x72\",\"ufixed168x80\",\"ufixed168x88\",\"ufixed176x8\",\"ufixed176x16\",\"ufixed176x24\",\"ufixed176x32\",\"ufixed176x40\",\"ufixed176x48\",\"ufixed176x56\",\"ufixed176x64\",\"ufixed176x72\",\"ufixed176x80\",\"ufixed184x8\",\"ufixed184x16\",\"ufixed184x24\",\"ufixed184x32\",\"ufixed184x40\",\"ufixed184x48\",\"ufixed184x56\",\"ufixed184x64\",\"ufixed184x72\",\"ufixed192x8\",\"ufixed192x16\",\"ufixed192x24\",\"ufixed192x32\",\"ufixed192x40\",\"ufixed192x48\",\"ufixed192x56\",\"ufixed192x64\",\"ufixed200x8\",\"ufixed200x16\",\"ufixed200x24\",\"ufixed200x32\",\"ufixed200x40\",\"ufixed200x48\",\"ufixed200x56\",\"ufixed208x8\",\"ufixed208x16\",\"ufixed208x24\",\"ufixed208x32\",\"ufixed208x40\",\"ufixed208x48\",\"ufixed216x8\",\"ufixed216x16\",\"ufixed216x24\",\"ufixed216x32\",\"ufixed216x40\",\"ufixed224x8\",\"ufixed224x16\",\"ufixed224x24\",\"ufixed224x32\",\"ufixed232x8\",\"ufixed232x16\",\"ufixed232x24\",\"ufixed240x8\",\"ufixed240x16\",\"ufixed248x8\",\"event\",\"enum\",\"let\",\"mapping\",\"private\",\"public\",\"external\",\"inherited\",\"payable\",\"true\",\"false\",\"var\",\"import\",\"constant\",\"if\",\"else\",\"for\",\"else\",\"for\",\"while\",\"do\",\"break\",\"continue\",\"throw\",\"returns\",\"return\",\"suicide\",\"new\",\"is\",\"this\",\"super\"],operators:[\"=\",\">\",\"<\",\"!\",\"~\",\"?\",\":\",\"==\",\"<=\",\">=\",\"!=\",\"&&\",\"||\",\"++\",\"--\",\"+\",\"-\",\"*\",\"/\",\"&\",\"|\",\"^\",\"%\",\"<<\",\">>\",\">>>\",\"+=\",\"-=\",\"*=\",\"/=\",\"&=\",\"|=\",\"^=\",\"%=\",\"<<=\",\">>=\",\">>>=\"],symbols:/[=><!~?:&|+\\-*\\/\\^%]+/,escapes:/\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,tokenizer:{root:[[/[a-zA-Z_]\\w*/,{cases:{\"@keywords\":{token:\"keyword.$0\"},\"@default\":\"identifier\"}}],{include:\"@whitespace\"},[/\\[\\[.*\\]\\]/,\"annotation\"],[/^\\s*#\\w+/,\"keyword\"],[/int\\d*/,\"keyword\"],[/[{}()\\[\\]]/,\"@brackets\"],[/[<>](?!@symbols)/,\"@brackets\"],[/@symbols/,{cases:{\"@operators\":\"delimiter\",\"@default\":\"\"}}],[/\\d*\\d+[eE]([\\-+]?\\d+)?(@floatsuffix)/,\"number.float\"],[/\\d*\\.\\d+([eE][\\-+]?\\d+)?(@floatsuffix)/,\"number.float\"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,\"number.hex\"],[/0[0-7']*[0-7](@integersuffix)/,\"number.octal\"],[/0[bB][0-1']*[0-1](@integersuffix)/,\"number.binary\"],[/\\d[\\d']*\\d(@integersuffix)/,\"number\"],[/\\d(@integersuffix)/,\"number\"],[/[;,.]/,\"delimiter\"],[/\"([^\"\\\\]|\\\\.)*$/,\"string.invalid\"],[/\"/,\"string\",\"@string\"],[/'[^\\\\']'/,\"string\"],[/(')(@escapes)(')/,[\"string\",\"string.escape\",\"string\"]],[/'/,\"string.invalid\"]],whitespace:[[/[ \\t\\r\\n]+/,\"\"],[/\\/\\*\\*(?!\\/)/,\"comment.doc\",\"@doccomment\"],[/\\/\\*/,\"comment\",\"@comment\"],[/\\/\\/.*$/,\"comment\"]],comment:[[/[^\\/*]+/,\"comment\"],[/\\*\\//,\"comment\",\"@pop\"],[/[\\/*]/,\"comment\"]],doccomment:[[/[^\\/*]+/,\"comment.doc\"],[/\\*\\//,\"comment.doc\",\"@pop\"],[/[\\/*]/,\"comment.doc\"]],string:[[/[^\\\\\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"/,\"string\",\"@pop\"]]}};export{x as conf,e as language};\n"
  },
  {
    "path": "client/dist/assets/sophia.0a583064.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"//\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"],[\"<\",\">\"]],autoClosingPairs:[{open:'\"',close:'\"',notIn:[\"string\",\"comment\"]},{open:\"{\",close:\"}\",notIn:[\"string\",\"comment\"]},{open:\"[\",close:\"]\",notIn:[\"string\",\"comment\"]},{open:\"(\",close:\")\",notIn:[\"string\",\"comment\"]}]},t={defaultToken:\"\",tokenPostfix:\".aes\",brackets:[{token:\"delimiter.curly\",open:\"{\",close:\"}\"},{token:\"delimiter.parenthesis\",open:\"(\",close:\")\"},{token:\"delimiter.square\",open:\"[\",close:\"]\"},{token:\"delimiter.angle\",open:\"<\",close:\">\"}],keywords:[\"contract\",\"library\",\"entrypoint\",\"function\",\"stateful\",\"state\",\"hash\",\"signature\",\"tuple\",\"list\",\"address\",\"string\",\"bool\",\"int\",\"record\",\"datatype\",\"type\",\"option\",\"oracle\",\"oracle_query\",\"Call\",\"Bits\",\"Bytes\",\"Oracle\",\"String\",\"Crypto\",\"Address\",\"Auth\",\"Chain\",\"None\",\"Some\",\"bits\",\"bytes\",\"event\",\"let\",\"map\",\"private\",\"public\",\"true\",\"false\",\"var\",\"if\",\"else\",\"throw\"],operators:[\"=\",\">\",\"<\",\"!\",\"~\",\"?\",\"::\",\":\",\"==\",\"<=\",\">=\",\"!=\",\"&&\",\"||\",\"++\",\"--\",\"+\",\"-\",\"*\",\"/\",\"&\",\"|\",\"^\",\"%\",\"<<\",\">>\",\">>>\",\"+=\",\"-=\",\"*=\",\"/=\",\"&=\",\"|=\",\"^=\",\"%=\",\"<<=\",\">>=\",\">>>=\"],symbols:/[=><!~?:&|+\\-*\\/\\^%]+/,escapes:/\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,tokenizer:{root:[[/[a-zA-Z_]\\w*/,{cases:{\"@keywords\":{token:\"keyword.$0\"},\"@default\":\"identifier\"}}],{include:\"@whitespace\"},[/\\[\\[.*\\]\\]/,\"annotation\"],[/^\\s*#\\w+/,\"keyword\"],[/int\\d*/,\"keyword\"],[/[{}()\\[\\]]/,\"@brackets\"],[/[<>](?!@symbols)/,\"@brackets\"],[/@symbols/,{cases:{\"@operators\":\"delimiter\",\"@default\":\"\"}}],[/\\d*\\d+[eE]([\\-+]?\\d+)?(@floatsuffix)/,\"number.float\"],[/\\d*\\.\\d+([eE][\\-+]?\\d+)?(@floatsuffix)/,\"number.float\"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,\"number.hex\"],[/0[0-7']*[0-7](@integersuffix)/,\"number.octal\"],[/0[bB][0-1']*[0-1](@integersuffix)/,\"number.binary\"],[/\\d[\\d']*\\d(@integersuffix)/,\"number\"],[/\\d(@integersuffix)/,\"number\"],[/[;,.]/,\"delimiter\"],[/\"([^\"\\\\]|\\\\.)*$/,\"string.invalid\"],[/\"/,\"string\",\"@string\"],[/'[^\\\\']'/,\"string\"],[/(')(@escapes)(')/,[\"string\",\"string.escape\",\"string\"]],[/'/,\"string.invalid\"]],whitespace:[[/[ \\t\\r\\n]+/,\"\"],[/\\/\\*\\*(?!\\/)/,\"comment.doc\",\"@doccomment\"],[/\\/\\*/,\"comment\",\"@comment\"],[/\\/\\/.*$/,\"comment\"]],comment:[[/[^\\/*]+/,\"comment\"],[/\\*\\//,\"comment\",\"@pop\"],[/[\\/*]/,\"comment\"]],doccomment:[[/[^\\/*]+/,\"comment.doc\"],[/\\*\\//,\"comment.doc\",\"@pop\"],[/[\\/*]/,\"comment.doc\"]],string:[[/[^\\\\\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"/,\"string\",\"@pop\"]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/sparql.7c6df35b.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"#\"},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"'\",close:\"'\",notIn:[\"string\"]},{open:'\"',close:'\"',notIn:[\"string\"]},{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"}]},s={defaultToken:\"\",tokenPostfix:\".rq\",brackets:[{token:\"delimiter.curly\",open:\"{\",close:\"}\"},{token:\"delimiter.parenthesis\",open:\"(\",close:\")\"},{token:\"delimiter.square\",open:\"[\",close:\"]\"},{token:\"delimiter.angle\",open:\"<\",close:\">\"}],keywords:[\"add\",\"as\",\"asc\",\"ask\",\"base\",\"by\",\"clear\",\"construct\",\"copy\",\"create\",\"data\",\"delete\",\"desc\",\"describe\",\"distinct\",\"drop\",\"false\",\"filter\",\"from\",\"graph\",\"group\",\"having\",\"in\",\"insert\",\"limit\",\"load\",\"minus\",\"move\",\"named\",\"not\",\"offset\",\"optional\",\"order\",\"prefix\",\"reduced\",\"select\",\"service\",\"silent\",\"to\",\"true\",\"undef\",\"union\",\"using\",\"values\",\"where\",\"with\"],builtinFunctions:[\"a\",\"abs\",\"avg\",\"bind\",\"bnode\",\"bound\",\"ceil\",\"coalesce\",\"concat\",\"contains\",\"count\",\"datatype\",\"day\",\"encode_for_uri\",\"exists\",\"floor\",\"group_concat\",\"hours\",\"if\",\"iri\",\"isblank\",\"isiri\",\"isliteral\",\"isnumeric\",\"isuri\",\"lang\",\"langmatches\",\"lcase\",\"max\",\"md5\",\"min\",\"minutes\",\"month\",\"now\",\"rand\",\"regex\",\"replace\",\"round\",\"sameterm\",\"sample\",\"seconds\",\"sha1\",\"sha256\",\"sha384\",\"sha512\",\"str\",\"strafter\",\"strbefore\",\"strdt\",\"strends\",\"strlang\",\"strlen\",\"strstarts\",\"struuid\",\"substr\",\"sum\",\"timezone\",\"tz\",\"ucase\",\"uri\",\"uuid\",\"year\"],ignoreCase:!0,tokenizer:{root:[[/<[^\\s\\u00a0>]*>?/,\"tag\"],{include:\"@strings\"},[/#.*/,\"comment\"],[/[{}()\\[\\]]/,\"@brackets\"],[/[;,.]/,\"delimiter\"],[/[_\\w\\d]+:(\\.(?=[\\w_\\-\\\\%])|[:\\w_-]|\\\\[-\\\\_~.!$&'()*+,;=/?#@%]|%[a-f\\d][a-f\\d])*/,\"tag\"],[/:(\\.(?=[\\w_\\-\\\\%])|[:\\w_-]|\\\\[-\\\\_~.!$&'()*+,;=/?#@%]|%[a-f\\d][a-f\\d])+/,\"tag\"],[/[$?]?[_\\w\\d]+/,{cases:{\"@keywords\":{token:\"keyword\"},\"@builtinFunctions\":{token:\"predefined.sql\"},\"@default\":\"identifier\"}}],[/\\^\\^/,\"operator.sql\"],[/\\^[*+\\-<>=&|^\\/!?]*/,\"operator.sql\"],[/[*+\\-<>=&|\\/!?]/,\"operator.sql\"],[/@[a-z\\d\\-]*/,\"metatag.html\"],[/\\s+/,\"white\"]],strings:[[/'([^'\\\\]|\\\\.)*$/,\"string.invalid\"],[/'$/,\"string.sql\",\"@pop\"],[/'/,\"string.sql\",\"@stringBody\"],[/\"([^\"\\\\]|\\\\.)*$/,\"string.invalid\"],[/\"$/,\"string.sql\",\"@pop\"],[/\"/,\"string.sql\",\"@dblStringBody\"]],stringBody:[[/[^\\\\']+/,\"string.sql\"],[/\\\\./,\"string.escape\"],[/'/,\"string.sql\",\"@pop\"]],dblStringBody:[[/[^\\\\\"]+/,\"string.sql\"],[/\\\\./,\"string.escape\"],[/\"/,\"string.sql\",\"@pop\"]]}};export{e as conf,s as language};\n"
  },
  {
    "path": "client/dist/assets/sql.377e3088.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var E={comments:{lineComment:\"--\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}]},T={defaultToken:\"\",tokenPostfix:\".sql\",ignoreCase:!0,brackets:[{open:\"[\",close:\"]\",token:\"delimiter.square\"},{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"}],keywords:[\"ABORT\",\"ABSOLUTE\",\"ACTION\",\"ADA\",\"ADD\",\"AFTER\",\"ALL\",\"ALLOCATE\",\"ALTER\",\"ALWAYS\",\"ANALYZE\",\"AND\",\"ANY\",\"ARE\",\"AS\",\"ASC\",\"ASSERTION\",\"AT\",\"ATTACH\",\"AUTHORIZATION\",\"AUTOINCREMENT\",\"AVG\",\"BACKUP\",\"BEFORE\",\"BEGIN\",\"BETWEEN\",\"BIT\",\"BIT_LENGTH\",\"BOTH\",\"BREAK\",\"BROWSE\",\"BULK\",\"BY\",\"CASCADE\",\"CASCADED\",\"CASE\",\"CAST\",\"CATALOG\",\"CHAR\",\"CHARACTER\",\"CHARACTER_LENGTH\",\"CHAR_LENGTH\",\"CHECK\",\"CHECKPOINT\",\"CLOSE\",\"CLUSTERED\",\"COALESCE\",\"COLLATE\",\"COLLATION\",\"COLUMN\",\"COMMIT\",\"COMPUTE\",\"CONFLICT\",\"CONNECT\",\"CONNECTION\",\"CONSTRAINT\",\"CONSTRAINTS\",\"CONTAINS\",\"CONTAINSTABLE\",\"CONTINUE\",\"CONVERT\",\"CORRESPONDING\",\"COUNT\",\"CREATE\",\"CROSS\",\"CURRENT\",\"CURRENT_DATE\",\"CURRENT_TIME\",\"CURRENT_TIMESTAMP\",\"CURRENT_USER\",\"CURSOR\",\"DATABASE\",\"DATE\",\"DAY\",\"DBCC\",\"DEALLOCATE\",\"DEC\",\"DECIMAL\",\"DECLARE\",\"DEFAULT\",\"DEFERRABLE\",\"DEFERRED\",\"DELETE\",\"DENY\",\"DESC\",\"DESCRIBE\",\"DESCRIPTOR\",\"DETACH\",\"DIAGNOSTICS\",\"DISCONNECT\",\"DISK\",\"DISTINCT\",\"DISTRIBUTED\",\"DO\",\"DOMAIN\",\"DOUBLE\",\"DROP\",\"DUMP\",\"EACH\",\"ELSE\",\"END\",\"END-EXEC\",\"ERRLVL\",\"ESCAPE\",\"EXCEPT\",\"EXCEPTION\",\"EXCLUDE\",\"EXCLUSIVE\",\"EXEC\",\"EXECUTE\",\"EXISTS\",\"EXIT\",\"EXPLAIN\",\"EXTERNAL\",\"EXTRACT\",\"FAIL\",\"FALSE\",\"FETCH\",\"FILE\",\"FILLFACTOR\",\"FILTER\",\"FIRST\",\"FLOAT\",\"FOLLOWING\",\"FOR\",\"FOREIGN\",\"FORTRAN\",\"FOUND\",\"FREETEXT\",\"FREETEXTTABLE\",\"FROM\",\"FULL\",\"FUNCTION\",\"GENERATED\",\"GET\",\"GLOB\",\"GLOBAL\",\"GO\",\"GOTO\",\"GRANT\",\"GROUP\",\"GROUPS\",\"HAVING\",\"HOLDLOCK\",\"HOUR\",\"IDENTITY\",\"IDENTITYCOL\",\"IDENTITY_INSERT\",\"IF\",\"IGNORE\",\"IMMEDIATE\",\"IN\",\"INCLUDE\",\"INDEX\",\"INDEXED\",\"INDICATOR\",\"INITIALLY\",\"INNER\",\"INPUT\",\"INSENSITIVE\",\"INSERT\",\"INSTEAD\",\"INT\",\"INTEGER\",\"INTERSECT\",\"INTERVAL\",\"INTO\",\"IS\",\"ISNULL\",\"ISOLATION\",\"JOIN\",\"KEY\",\"KILL\",\"LANGUAGE\",\"LAST\",\"LEADING\",\"LEFT\",\"LEVEL\",\"LIKE\",\"LIMIT\",\"LINENO\",\"LOAD\",\"LOCAL\",\"LOWER\",\"MATCH\",\"MATERIALIZED\",\"MAX\",\"MERGE\",\"MIN\",\"MINUTE\",\"MODULE\",\"MONTH\",\"NAMES\",\"NATIONAL\",\"NATURAL\",\"NCHAR\",\"NEXT\",\"NO\",\"NOCHECK\",\"NONCLUSTERED\",\"NONE\",\"NOT\",\"NOTHING\",\"NOTNULL\",\"NULL\",\"NULLIF\",\"NULLS\",\"NUMERIC\",\"OCTET_LENGTH\",\"OF\",\"OFF\",\"OFFSET\",\"OFFSETS\",\"ON\",\"ONLY\",\"OPEN\",\"OPENDATASOURCE\",\"OPENQUERY\",\"OPENROWSET\",\"OPENXML\",\"OPTION\",\"OR\",\"ORDER\",\"OTHERS\",\"OUTER\",\"OUTPUT\",\"OVER\",\"OVERLAPS\",\"PAD\",\"PARTIAL\",\"PARTITION\",\"PASCAL\",\"PERCENT\",\"PIVOT\",\"PLAN\",\"POSITION\",\"PRAGMA\",\"PRECEDING\",\"PRECISION\",\"PREPARE\",\"PRESERVE\",\"PRIMARY\",\"PRINT\",\"PRIOR\",\"PRIVILEGES\",\"PROC\",\"PROCEDURE\",\"PUBLIC\",\"QUERY\",\"RAISE\",\"RAISERROR\",\"RANGE\",\"READ\",\"READTEXT\",\"REAL\",\"RECONFIGURE\",\"RECURSIVE\",\"REFERENCES\",\"REGEXP\",\"REINDEX\",\"RELATIVE\",\"RELEASE\",\"RENAME\",\"REPLACE\",\"REPLICATION\",\"RESTORE\",\"RESTRICT\",\"RETURN\",\"RETURNING\",\"REVERT\",\"REVOKE\",\"RIGHT\",\"ROLLBACK\",\"ROW\",\"ROWCOUNT\",\"ROWGUIDCOL\",\"ROWS\",\"RULE\",\"SAVE\",\"SAVEPOINT\",\"SCHEMA\",\"SCROLL\",\"SECOND\",\"SECTION\",\"SECURITYAUDIT\",\"SELECT\",\"SEMANTICKEYPHRASETABLE\",\"SEMANTICSIMILARITYDETAILSTABLE\",\"SEMANTICSIMILARITYTABLE\",\"SESSION\",\"SESSION_USER\",\"SET\",\"SETUSER\",\"SHUTDOWN\",\"SIZE\",\"SMALLINT\",\"SOME\",\"SPACE\",\"SQL\",\"SQLCA\",\"SQLCODE\",\"SQLERROR\",\"SQLSTATE\",\"SQLWARNING\",\"STATISTICS\",\"SUBSTRING\",\"SUM\",\"SYSTEM_USER\",\"TABLE\",\"TABLESAMPLE\",\"TEMP\",\"TEMPORARY\",\"TEXTSIZE\",\"THEN\",\"TIES\",\"TIME\",\"TIMESTAMP\",\"TIMEZONE_HOUR\",\"TIMEZONE_MINUTE\",\"TO\",\"TOP\",\"TRAILING\",\"TRAN\",\"TRANSACTION\",\"TRANSLATE\",\"TRANSLATION\",\"TRIGGER\",\"TRIM\",\"TRUE\",\"TRUNCATE\",\"TRY_CONVERT\",\"TSEQUAL\",\"UNBOUNDED\",\"UNION\",\"UNIQUE\",\"UNKNOWN\",\"UNPIVOT\",\"UPDATE\",\"UPDATETEXT\",\"UPPER\",\"USAGE\",\"USE\",\"USER\",\"USING\",\"VACUUM\",\"VALUE\",\"VALUES\",\"VARCHAR\",\"VARYING\",\"VIEW\",\"VIRTUAL\",\"WAITFOR\",\"WHEN\",\"WHENEVER\",\"WHERE\",\"WHILE\",\"WINDOW\",\"WITH\",\"WITHIN GROUP\",\"WITHOUT\",\"WORK\",\"WRITE\",\"WRITETEXT\",\"YEAR\",\"ZONE\"],operators:[\"ALL\",\"AND\",\"ANY\",\"BETWEEN\",\"EXISTS\",\"IN\",\"LIKE\",\"NOT\",\"OR\",\"SOME\",\"EXCEPT\",\"INTERSECT\",\"UNION\",\"APPLY\",\"CROSS\",\"FULL\",\"INNER\",\"JOIN\",\"LEFT\",\"OUTER\",\"RIGHT\",\"CONTAINS\",\"FREETEXT\",\"IS\",\"NULL\",\"PIVOT\",\"UNPIVOT\",\"MATCHED\"],builtinFunctions:[\"AVG\",\"CHECKSUM_AGG\",\"COUNT\",\"COUNT_BIG\",\"GROUPING\",\"GROUPING_ID\",\"MAX\",\"MIN\",\"SUM\",\"STDEV\",\"STDEVP\",\"VAR\",\"VARP\",\"CUME_DIST\",\"FIRST_VALUE\",\"LAG\",\"LAST_VALUE\",\"LEAD\",\"PERCENTILE_CONT\",\"PERCENTILE_DISC\",\"PERCENT_RANK\",\"COLLATE\",\"COLLATIONPROPERTY\",\"TERTIARY_WEIGHTS\",\"FEDERATION_FILTERING_VALUE\",\"CAST\",\"CONVERT\",\"PARSE\",\"TRY_CAST\",\"TRY_CONVERT\",\"TRY_PARSE\",\"ASYMKEY_ID\",\"ASYMKEYPROPERTY\",\"CERTPROPERTY\",\"CERT_ID\",\"CRYPT_GEN_RANDOM\",\"DECRYPTBYASYMKEY\",\"DECRYPTBYCERT\",\"DECRYPTBYKEY\",\"DECRYPTBYKEYAUTOASYMKEY\",\"DECRYPTBYKEYAUTOCERT\",\"DECRYPTBYPASSPHRASE\",\"ENCRYPTBYASYMKEY\",\"ENCRYPTBYCERT\",\"ENCRYPTBYKEY\",\"ENCRYPTBYPASSPHRASE\",\"HASHBYTES\",\"IS_OBJECTSIGNED\",\"KEY_GUID\",\"KEY_ID\",\"KEY_NAME\",\"SIGNBYASYMKEY\",\"SIGNBYCERT\",\"SYMKEYPROPERTY\",\"VERIFYSIGNEDBYCERT\",\"VERIFYSIGNEDBYASYMKEY\",\"CURSOR_STATUS\",\"DATALENGTH\",\"IDENT_CURRENT\",\"IDENT_INCR\",\"IDENT_SEED\",\"IDENTITY\",\"SQL_VARIANT_PROPERTY\",\"CURRENT_TIMESTAMP\",\"DATEADD\",\"DATEDIFF\",\"DATEFROMPARTS\",\"DATENAME\",\"DATEPART\",\"DATETIME2FROMPARTS\",\"DATETIMEFROMPARTS\",\"DATETIMEOFFSETFROMPARTS\",\"DAY\",\"EOMONTH\",\"GETDATE\",\"GETUTCDATE\",\"ISDATE\",\"MONTH\",\"SMALLDATETIMEFROMPARTS\",\"SWITCHOFFSET\",\"SYSDATETIME\",\"SYSDATETIMEOFFSET\",\"SYSUTCDATETIME\",\"TIMEFROMPARTS\",\"TODATETIMEOFFSET\",\"YEAR\",\"CHOOSE\",\"COALESCE\",\"IIF\",\"NULLIF\",\"ABS\",\"ACOS\",\"ASIN\",\"ATAN\",\"ATN2\",\"CEILING\",\"COS\",\"COT\",\"DEGREES\",\"EXP\",\"FLOOR\",\"LOG\",\"LOG10\",\"PI\",\"POWER\",\"RADIANS\",\"RAND\",\"ROUND\",\"SIGN\",\"SIN\",\"SQRT\",\"SQUARE\",\"TAN\",\"APP_NAME\",\"APPLOCK_MODE\",\"APPLOCK_TEST\",\"ASSEMBLYPROPERTY\",\"COL_LENGTH\",\"COL_NAME\",\"COLUMNPROPERTY\",\"DATABASE_PRINCIPAL_ID\",\"DATABASEPROPERTYEX\",\"DB_ID\",\"DB_NAME\",\"FILE_ID\",\"FILE_IDEX\",\"FILE_NAME\",\"FILEGROUP_ID\",\"FILEGROUP_NAME\",\"FILEGROUPPROPERTY\",\"FILEPROPERTY\",\"FULLTEXTCATALOGPROPERTY\",\"FULLTEXTSERVICEPROPERTY\",\"INDEX_COL\",\"INDEXKEY_PROPERTY\",\"INDEXPROPERTY\",\"OBJECT_DEFINITION\",\"OBJECT_ID\",\"OBJECT_NAME\",\"OBJECT_SCHEMA_NAME\",\"OBJECTPROPERTY\",\"OBJECTPROPERTYEX\",\"ORIGINAL_DB_NAME\",\"PARSENAME\",\"SCHEMA_ID\",\"SCHEMA_NAME\",\"SCOPE_IDENTITY\",\"SERVERPROPERTY\",\"STATS_DATE\",\"TYPE_ID\",\"TYPE_NAME\",\"TYPEPROPERTY\",\"DENSE_RANK\",\"NTILE\",\"RANK\",\"ROW_NUMBER\",\"PUBLISHINGSERVERNAME\",\"OPENDATASOURCE\",\"OPENQUERY\",\"OPENROWSET\",\"OPENXML\",\"CERTENCODED\",\"CERTPRIVATEKEY\",\"CURRENT_USER\",\"HAS_DBACCESS\",\"HAS_PERMS_BY_NAME\",\"IS_MEMBER\",\"IS_ROLEMEMBER\",\"IS_SRVROLEMEMBER\",\"LOGINPROPERTY\",\"ORIGINAL_LOGIN\",\"PERMISSIONS\",\"PWDENCRYPT\",\"PWDCOMPARE\",\"SESSION_USER\",\"SESSIONPROPERTY\",\"SUSER_ID\",\"SUSER_NAME\",\"SUSER_SID\",\"SUSER_SNAME\",\"SYSTEM_USER\",\"USER\",\"USER_ID\",\"USER_NAME\",\"ASCII\",\"CHAR\",\"CHARINDEX\",\"CONCAT\",\"DIFFERENCE\",\"FORMAT\",\"LEFT\",\"LEN\",\"LOWER\",\"LTRIM\",\"NCHAR\",\"PATINDEX\",\"QUOTENAME\",\"REPLACE\",\"REPLICATE\",\"REVERSE\",\"RIGHT\",\"RTRIM\",\"SOUNDEX\",\"SPACE\",\"STR\",\"STUFF\",\"SUBSTRING\",\"UNICODE\",\"UPPER\",\"BINARY_CHECKSUM\",\"CHECKSUM\",\"CONNECTIONPROPERTY\",\"CONTEXT_INFO\",\"CURRENT_REQUEST_ID\",\"ERROR_LINE\",\"ERROR_NUMBER\",\"ERROR_MESSAGE\",\"ERROR_PROCEDURE\",\"ERROR_SEVERITY\",\"ERROR_STATE\",\"FORMATMESSAGE\",\"GETANSINULL\",\"GET_FILESTREAM_TRANSACTION_CONTEXT\",\"HOST_ID\",\"HOST_NAME\",\"ISNULL\",\"ISNUMERIC\",\"MIN_ACTIVE_ROWVERSION\",\"NEWID\",\"NEWSEQUENTIALID\",\"ROWCOUNT_BIG\",\"XACT_STATE\",\"TEXTPTR\",\"TEXTVALID\",\"COLUMNS_UPDATED\",\"EVENTDATA\",\"TRIGGER_NESTLEVEL\",\"UPDATE\",\"CHANGETABLE\",\"CHANGE_TRACKING_CONTEXT\",\"CHANGE_TRACKING_CURRENT_VERSION\",\"CHANGE_TRACKING_IS_COLUMN_IN_MASK\",\"CHANGE_TRACKING_MIN_VALID_VERSION\",\"CONTAINSTABLE\",\"FREETEXTTABLE\",\"SEMANTICKEYPHRASETABLE\",\"SEMANTICSIMILARITYDETAILSTABLE\",\"SEMANTICSIMILARITYTABLE\",\"FILETABLEROOTPATH\",\"GETFILENAMESPACEPATH\",\"GETPATHLOCATOR\",\"PATHNAME\",\"GET_TRANSMISSION_STATUS\"],builtinVariables:[\"@@DATEFIRST\",\"@@DBTS\",\"@@LANGID\",\"@@LANGUAGE\",\"@@LOCK_TIMEOUT\",\"@@MAX_CONNECTIONS\",\"@@MAX_PRECISION\",\"@@NESTLEVEL\",\"@@OPTIONS\",\"@@REMSERVER\",\"@@SERVERNAME\",\"@@SERVICENAME\",\"@@SPID\",\"@@TEXTSIZE\",\"@@VERSION\",\"@@CURSOR_ROWS\",\"@@FETCH_STATUS\",\"@@DATEFIRST\",\"@@PROCID\",\"@@ERROR\",\"@@IDENTITY\",\"@@ROWCOUNT\",\"@@TRANCOUNT\",\"@@CONNECTIONS\",\"@@CPU_BUSY\",\"@@IDLE\",\"@@IO_BUSY\",\"@@PACKET_ERRORS\",\"@@PACK_RECEIVED\",\"@@PACK_SENT\",\"@@TIMETICKS\",\"@@TOTAL_ERRORS\",\"@@TOTAL_READ\",\"@@TOTAL_WRITE\"],pseudoColumns:[\"$ACTION\",\"$IDENTITY\",\"$ROWGUID\",\"$PARTITION\"],tokenizer:{root:[{include:\"@comments\"},{include:\"@whitespace\"},{include:\"@pseudoColumns\"},{include:\"@numbers\"},{include:\"@strings\"},{include:\"@complexIdentifiers\"},{include:\"@scopes\"},[/[;,.]/,\"delimiter\"],[/[()]/,\"@brackets\"],[/[\\w@#$]+/,{cases:{\"@operators\":\"operator\",\"@builtinVariables\":\"predefined\",\"@builtinFunctions\":\"predefined\",\"@keywords\":\"keyword\",\"@default\":\"identifier\"}}],[/[<>=!%&+\\-*/|~^]/,\"operator\"]],whitespace:[[/\\s+/,\"white\"]],comments:[[/--+.*/,\"comment\"],[/\\/\\*/,{token:\"comment.quote\",next:\"@comment\"}]],comment:[[/[^*/]+/,\"comment\"],[/\\*\\//,{token:\"comment.quote\",next:\"@pop\"}],[/./,\"comment\"]],pseudoColumns:[[/[$][A-Za-z_][\\w@#$]*/,{cases:{\"@pseudoColumns\":\"predefined\",\"@default\":\"identifier\"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,\"number\"],[/[$][+-]*\\d*(\\.\\d*)?/,\"number\"],[/((\\d+(\\.\\d*)?)|(\\.\\d+))([eE][\\-+]?\\d+)?/,\"number\"]],strings:[[/N'/,{token:\"string\",next:\"@string\"}],[/'/,{token:\"string\",next:\"@string\"}]],string:[[/[^']+/,\"string\"],[/''/,\"string\"],[/'/,{token:\"string\",next:\"@pop\"}]],complexIdentifiers:[[/\\[/,{token:\"identifier.quote\",next:\"@bracketedIdentifier\"}],[/\"/,{token:\"identifier.quote\",next:\"@quotedIdentifier\"}]],bracketedIdentifier:[[/[^\\]]+/,\"identifier\"],[/]]/,\"identifier\"],[/]/,{token:\"identifier.quote\",next:\"@pop\"}]],quotedIdentifier:[[/[^\"]+/,\"identifier\"],[/\"\"/,\"identifier\"],[/\"/,{token:\"identifier.quote\",next:\"@pop\"}]],scopes:[[/BEGIN\\s+(DISTRIBUTED\\s+)?TRAN(SACTION)?\\b/i,\"keyword\"],[/BEGIN\\s+TRY\\b/i,{token:\"keyword.try\"}],[/END\\s+TRY\\b/i,{token:\"keyword.try\"}],[/BEGIN\\s+CATCH\\b/i,{token:\"keyword.catch\"}],[/END\\s+CATCH\\b/i,{token:\"keyword.catch\"}],[/(BEGIN|CASE)\\b/i,{token:\"keyword.block\"}],[/END\\b/i,{token:\"keyword.block\"}],[/WHEN\\b/i,{token:\"keyword.choice\"}],[/THEN\\b/i,{token:\"keyword.choice\"}]]}};export{E as conf,T as language};\n"
  },
  {
    "path": "client/dist/assets/st.4b380b23.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"//\",blockComment:[\"(*\",\"*)\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"],[\"var\",\"end_var\"],[\"var_input\",\"end_var\"],[\"var_output\",\"end_var\"],[\"var_in_out\",\"end_var\"],[\"var_temp\",\"end_var\"],[\"var_global\",\"end_var\"],[\"var_access\",\"end_var\"],[\"var_external\",\"end_var\"],[\"type\",\"end_type\"],[\"struct\",\"end_struct\"],[\"program\",\"end_program\"],[\"function\",\"end_function\"],[\"function_block\",\"end_function_block\"],[\"action\",\"end_action\"],[\"step\",\"end_step\"],[\"initial_step\",\"end_step\"],[\"transaction\",\"end_transaction\"],[\"configuration\",\"end_configuration\"],[\"tcp\",\"end_tcp\"],[\"recource\",\"end_recource\"],[\"channel\",\"end_channel\"],[\"library\",\"end_library\"],[\"folder\",\"end_folder\"],[\"binaries\",\"end_binaries\"],[\"includes\",\"end_includes\"],[\"sources\",\"end_sources\"]],autoClosingPairs:[{open:\"[\",close:\"]\"},{open:\"{\",close:\"}\"},{open:\"(\",close:\")\"},{open:\"/*\",close:\"*/\"},{open:\"'\",close:\"'\",notIn:[\"string_sq\"]},{open:'\"',close:'\"',notIn:[\"string_dq\"]},{open:\"var_input\",close:\"end_var\"},{open:\"var_output\",close:\"end_var\"},{open:\"var_in_out\",close:\"end_var\"},{open:\"var_temp\",close:\"end_var\"},{open:\"var_global\",close:\"end_var\"},{open:\"var_access\",close:\"end_var\"},{open:\"var_external\",close:\"end_var\"},{open:\"type\",close:\"end_type\"},{open:\"struct\",close:\"end_struct\"},{open:\"program\",close:\"end_program\"},{open:\"function\",close:\"end_function\"},{open:\"function_block\",close:\"end_function_block\"},{open:\"action\",close:\"end_action\"},{open:\"step\",close:\"end_step\"},{open:\"initial_step\",close:\"end_step\"},{open:\"transaction\",close:\"end_transaction\"},{open:\"configuration\",close:\"end_configuration\"},{open:\"tcp\",close:\"end_tcp\"},{open:\"recource\",close:\"end_recource\"},{open:\"channel\",close:\"end_channel\"},{open:\"library\",close:\"end_library\"},{open:\"folder\",close:\"end_folder\"},{open:\"binaries\",close:\"end_binaries\"},{open:\"includes\",close:\"end_includes\"},{open:\"sources\",close:\"end_sources\"}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"},{open:\"var\",close:\"end_var\"},{open:\"var_input\",close:\"end_var\"},{open:\"var_output\",close:\"end_var\"},{open:\"var_in_out\",close:\"end_var\"},{open:\"var_temp\",close:\"end_var\"},{open:\"var_global\",close:\"end_var\"},{open:\"var_access\",close:\"end_var\"},{open:\"var_external\",close:\"end_var\"},{open:\"type\",close:\"end_type\"},{open:\"struct\",close:\"end_struct\"},{open:\"program\",close:\"end_program\"},{open:\"function\",close:\"end_function\"},{open:\"function_block\",close:\"end_function_block\"},{open:\"action\",close:\"end_action\"},{open:\"step\",close:\"end_step\"},{open:\"initial_step\",close:\"end_step\"},{open:\"transaction\",close:\"end_transaction\"},{open:\"configuration\",close:\"end_configuration\"},{open:\"tcp\",close:\"end_tcp\"},{open:\"recource\",close:\"end_recource\"},{open:\"channel\",close:\"end_channel\"},{open:\"library\",close:\"end_library\"},{open:\"folder\",close:\"end_folder\"},{open:\"binaries\",close:\"end_binaries\"},{open:\"includes\",close:\"end_includes\"},{open:\"sources\",close:\"end_sources\"}],folding:{markers:{start:new RegExp(\"^\\\\s*#pragma\\\\s+region\\\\b\"),end:new RegExp(\"^\\\\s*#pragma\\\\s+endregion\\\\b\")}}},n={defaultToken:\"\",tokenPostfix:\".st\",ignoreCase:!0,brackets:[{token:\"delimiter.curly\",open:\"{\",close:\"}\"},{token:\"delimiter.parenthesis\",open:\"(\",close:\")\"},{token:\"delimiter.square\",open:\"[\",close:\"]\"}],keywords:[\"if\",\"end_if\",\"elsif\",\"else\",\"case\",\"of\",\"to\",\"__try\",\"__catch\",\"__finally\",\"do\",\"with\",\"by\",\"while\",\"repeat\",\"end_while\",\"end_repeat\",\"end_case\",\"for\",\"end_for\",\"task\",\"retain\",\"non_retain\",\"constant\",\"with\",\"at\",\"exit\",\"return\",\"interval\",\"priority\",\"address\",\"port\",\"on_channel\",\"then\",\"iec\",\"file\",\"uses\",\"version\",\"packagetype\",\"displayname\",\"copyright\",\"summary\",\"vendor\",\"common_source\",\"from\",\"extends\"],constant:[\"false\",\"true\",\"null\"],defineKeywords:[\"var\",\"var_input\",\"var_output\",\"var_in_out\",\"var_temp\",\"var_global\",\"var_access\",\"var_external\",\"end_var\",\"type\",\"end_type\",\"struct\",\"end_struct\",\"program\",\"end_program\",\"function\",\"end_function\",\"function_block\",\"end_function_block\",\"interface\",\"end_interface\",\"method\",\"end_method\",\"property\",\"end_property\",\"namespace\",\"end_namespace\",\"configuration\",\"end_configuration\",\"tcp\",\"end_tcp\",\"resource\",\"end_resource\",\"channel\",\"end_channel\",\"library\",\"end_library\",\"folder\",\"end_folder\",\"binaries\",\"end_binaries\",\"includes\",\"end_includes\",\"sources\",\"end_sources\",\"action\",\"end_action\",\"step\",\"initial_step\",\"end_step\",\"transaction\",\"end_transaction\"],typeKeywords:[\"int\",\"sint\",\"dint\",\"lint\",\"usint\",\"uint\",\"udint\",\"ulint\",\"real\",\"lreal\",\"time\",\"date\",\"time_of_day\",\"date_and_time\",\"string\",\"bool\",\"byte\",\"word\",\"dword\",\"array\",\"pointer\",\"lword\"],operators:[\"=\",\">\",\"<\",\":\",\":=\",\"<=\",\">=\",\"<>\",\"&\",\"+\",\"-\",\"*\",\"**\",\"MOD\",\"^\",\"or\",\"and\",\"not\",\"xor\",\"abs\",\"acos\",\"asin\",\"atan\",\"cos\",\"exp\",\"expt\",\"ln\",\"log\",\"sin\",\"sqrt\",\"tan\",\"sel\",\"max\",\"min\",\"limit\",\"mux\",\"shl\",\"shr\",\"rol\",\"ror\",\"indexof\",\"sizeof\",\"adr\",\"adrinst\",\"bitadr\",\"is_valid\",\"ref\",\"ref_to\"],builtinVariables:[],builtinFunctions:[\"sr\",\"rs\",\"tp\",\"ton\",\"tof\",\"eq\",\"ge\",\"le\",\"lt\",\"ne\",\"round\",\"trunc\",\"ctd\",\"\\u0441tu\",\"ctud\",\"r_trig\",\"f_trig\",\"move\",\"concat\",\"delete\",\"find\",\"insert\",\"left\",\"len\",\"replace\",\"right\",\"rtc\"],symbols:/[=><!~?:&|+\\-*\\/\\^%]+/,escapes:/\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/(\\.\\.)/,\"delimiter\"],[/\\b(16#[0-9A-Fa-f\\_]*)+\\b/,\"number.hex\"],[/\\b(2#[01\\_]+)+\\b/,\"number.binary\"],[/\\b(8#[0-9\\_]*)+\\b/,\"number.octal\"],[/\\b\\d*\\.\\d+([eE][\\-+]?\\d+)?\\b/,\"number.float\"],[/\\b(L?REAL)#[0-9\\_\\.e]+\\b/,\"number.float\"],[/\\b(BYTE|(?:D|L)?WORD|U?(?:S|D|L)?INT)#[0-9\\_]+\\b/,\"number\"],[/\\d+/,\"number\"],[/\\b(T|DT|TOD)#[0-9:-_shmyd]+\\b/,\"tag\"],[/\\%(I|Q|M)(X|B|W|D|L)[0-9\\.]+/,\"tag\"],[/\\%(I|Q|M)[0-9\\.]*/,\"tag\"],[/\\b[A-Za-z]{1,6}#[0-9]+\\b/,\"tag\"],[/\\b(TO_|CTU_|CTD_|CTUD_|MUX_|SEL_)[A_Za-z]+\\b/,\"predefined\"],[/\\b[A_Za-z]+(_TO_)[A_Za-z]+\\b/,\"predefined\"],[/[;]/,\"delimiter\"],[/[.]/,{token:\"delimiter\",next:\"@params\"}],[/[a-zA-Z_]\\w*/,{cases:{\"@operators\":\"operators\",\"@keywords\":\"keyword\",\"@typeKeywords\":\"type\",\"@defineKeywords\":\"variable\",\"@constant\":\"constant\",\"@builtinVariables\":\"predefined\",\"@builtinFunctions\":\"predefined\",\"@default\":\"identifier\"}}],{include:\"@whitespace\"},[/[{}()\\[\\]]/,\"@brackets\"],[/\"([^\"\\\\]|\\\\.)*$/,\"string.invalid\"],[/\"/,{token:\"string.quote\",bracket:\"@open\",next:\"@string_dq\"}],[/'/,{token:\"string.quote\",bracket:\"@open\",next:\"@string_sq\"}],[/'[^\\\\']'/,\"string\"],[/(')(@escapes)(')/,[\"string\",\"string.escape\",\"string\"]],[/'/,\"string.invalid\"]],params:[[/\\b[A-Za-z0-9_]+\\b(?=\\()/,{token:\"identifier\",next:\"@pop\"}],[/\\b[A-Za-z0-9_]+\\b/,\"variable.name\",\"@pop\"]],comment:[[/[^\\/*]+/,\"comment\"],[/\\/\\*/,\"comment\",\"@push\"],[\"\\\\*/\",\"comment\",\"@pop\"],[/[\\/*]/,\"comment\"]],comment2:[[/[^\\(*]+/,\"comment\"],[/\\(\\*/,\"comment\",\"@push\"],[\"\\\\*\\\\)\",\"comment\",\"@pop\"],[/[\\(*]/,\"comment\"]],whitespace:[[/[ \\t\\r\\n]+/,\"white\"],[/\\/\\/.*$/,\"comment\"],[/\\/\\*/,\"comment\",\"@comment\"],[/\\(\\*/,\"comment\",\"@comment2\"]],string_dq:[[/[^\\\\\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"/,{token:\"string.quote\",bracket:\"@close\",next:\"@pop\"}]],string_sq:[[/[^\\\\']+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/'/,{token:\"string.quote\",bracket:\"@close\",next:\"@pop\"}]]}};export{e as conf,n as language};\n"
  },
  {
    "path": "client/dist/assets/swift.e0a9351c.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"//\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"},{open:\"`\",close:\"`\"}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"},{open:\"`\",close:\"`\"}]},o={defaultToken:\"\",tokenPostfix:\".swift\",identifier:/[a-zA-Z_][\\w$]*/,attributes:[\"@GKInspectable\",\"@IBAction\",\"@IBDesignable\",\"@IBInspectable\",\"@IBOutlet\",\"@IBSegueAction\",\"@NSApplicationMain\",\"@NSCopying\",\"@NSManaged\",\"@Sendable\",\"@UIApplicationMain\",\"@autoclosure\",\"@actorIndependent\",\"@asyncHandler\",\"@available\",\"@convention\",\"@derivative\",\"@differentiable\",\"@discardableResult\",\"@dynamicCallable\",\"@dynamicMemberLookup\",\"@escaping\",\"@frozen\",\"@globalActor\",\"@inlinable\",\"@inline\",\"@main\",\"@noDerivative\",\"@nonobjc\",\"@noreturn\",\"@objc\",\"@objcMembers\",\"@preconcurrency\",\"@propertyWrapper\",\"@requires_stored_property_inits\",\"@resultBuilder\",\"@testable\",\"@unchecked\",\"@unknown\",\"@usableFromInline\",\"@warn_unqualified_access\"],accessmodifiers:[\"open\",\"public\",\"internal\",\"fileprivate\",\"private\"],keywords:[\"#available\",\"#colorLiteral\",\"#column\",\"#dsohandle\",\"#else\",\"#elseif\",\"#endif\",\"#error\",\"#file\",\"#fileID\",\"#fileLiteral\",\"#filePath\",\"#function\",\"#if\",\"#imageLiteral\",\"#keyPath\",\"#line\",\"#selector\",\"#sourceLocation\",\"#warning\",\"Any\",\"Protocol\",\"Self\",\"Type\",\"actor\",\"as\",\"assignment\",\"associatedtype\",\"associativity\",\"async\",\"await\",\"break\",\"case\",\"catch\",\"class\",\"continue\",\"convenience\",\"default\",\"defer\",\"deinit\",\"didSet\",\"do\",\"dynamic\",\"dynamicType\",\"else\",\"enum\",\"extension\",\"fallthrough\",\"false\",\"fileprivate\",\"final\",\"for\",\"func\",\"get\",\"guard\",\"higherThan\",\"if\",\"import\",\"in\",\"indirect\",\"infix\",\"init\",\"inout\",\"internal\",\"is\",\"isolated\",\"lazy\",\"left\",\"let\",\"lowerThan\",\"mutating\",\"nil\",\"none\",\"nonisolated\",\"nonmutating\",\"open\",\"operator\",\"optional\",\"override\",\"postfix\",\"precedence\",\"precedencegroup\",\"prefix\",\"private\",\"protocol\",\"public\",\"repeat\",\"required\",\"rethrows\",\"return\",\"right\",\"safe\",\"self\",\"set\",\"some\",\"static\",\"struct\",\"subscript\",\"super\",\"switch\",\"throw\",\"throws\",\"true\",\"try\",\"typealias\",\"unowned\",\"unsafe\",\"var\",\"weak\",\"where\",\"while\",\"willSet\",\"__consuming\",\"__owned\"],symbols:/[=(){}\\[\\].,:;@#\\_&\\-<>`?!+*\\\\\\/]/,operatorstart:/[\\/=\\-+!*%<>&|^~?\\u00A1-\\u00A7\\u00A9\\u00AB\\u00AC\\u00AE\\u00B0-\\u00B1\\u00B6\\u00BB\\u00BF\\u00D7\\u00F7\\u2016-\\u2017\\u2020-\\u2027\\u2030-\\u203E\\u2041-\\u2053\\u2055-\\u205E\\u2190-\\u23FF\\u2500-\\u2775\\u2794-\\u2BFF\\u2E00-\\u2E7F\\u3001-\\u3003\\u3008-\\u3030]/,operatorend:/[\\u0300-\\u036F\\u1DC0-\\u1DFF\\u20D0-\\u20FF\\uFE00-\\uFE0F\\uFE20-\\uFE2F\\uE0100-\\uE01EF]/,operators:/(@operatorstart)((@operatorstart)|(@operatorend))*/,escapes:/\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:\"@whitespace\"},{include:\"@comment\"},{include:\"@attribute\"},{include:\"@literal\"},{include:\"@keyword\"},{include:\"@invokedmethod\"},{include:\"@symbol\"}],whitespace:[[/\\s+/,\"white\"],[/\"\"\"/,\"string.quote\",\"@endDblDocString\"]],endDblDocString:[[/[^\"]+/,\"string\"],[/\\\\\"/,\"string\"],[/\"\"\"/,\"string.quote\",\"@popall\"],[/\"/,\"string\"]],symbol:[[/[{}()\\[\\]]/,\"@brackets\"],[/[<>](?!@symbols)/,\"@brackets\"],[/[.]/,\"delimiter\"],[/@operators/,\"operator\"],[/@symbols/,\"operator\"]],comment:[[/\\/\\/\\/.*$/,\"comment.doc\"],[/\\/\\*\\*/,\"comment.doc\",\"@commentdocbody\"],[/\\/\\/.*$/,\"comment\"],[/\\/\\*/,\"comment\",\"@commentbody\"]],commentdocbody:[[/\\/\\*/,\"comment\",\"@commentbody\"],[/\\*\\//,\"comment.doc\",\"@pop\"],[/\\:[a-zA-Z]+\\:/,\"comment.doc.param\"],[/./,\"comment.doc\"]],commentbody:[[/\\/\\*/,\"comment\",\"@commentbody\"],[/\\*\\//,\"comment\",\"@pop\"],[/./,\"comment\"]],attribute:[[/@@@identifier/,{cases:{\"@attributes\":\"keyword.control\",\"@default\":\"\"}}]],literal:[[/\"/,{token:\"string.quote\",next:\"@stringlit\"}],[/0[b]([01]_?)+/,\"number.binary\"],[/0[o]([0-7]_?)+/,\"number.octal\"],[/0[x]([0-9a-fA-F]_?)+([pP][\\-+](\\d_?)+)?/,\"number.hex\"],[/(\\d_?)*\\.(\\d_?)+([eE][\\-+]?(\\d_?)+)?/,\"number.float\"],[/(\\d_?)+/,\"number\"]],stringlit:[[/\\\\\\(/,{token:\"operator\",next:\"@interpolatedexpression\"}],[/@escapes/,\"string\"],[/\\\\./,\"string.escape.invalid\"],[/\"/,{token:\"string.quote\",next:\"@pop\"}],[/./,\"string\"]],interpolatedexpression:[[/\\(/,{token:\"operator\",next:\"@interpolatedexpression\"}],[/\\)/,{token:\"operator\",next:\"@pop\"}],{include:\"@literal\"},{include:\"@keyword\"},{include:\"@symbol\"}],keyword:[[/`/,{token:\"operator\",next:\"@escapedkeyword\"}],[/@identifier/,{cases:{\"@keywords\":\"keyword\",\"[A-Z][a-zA-Z0-9$]*\":\"type.identifier\",\"@default\":\"identifier\"}}]],escapedkeyword:[[/`/,{token:\"operator\",next:\"@pop\"}],[/./,\"identifier\"]],invokedmethod:[[/([.])(@identifier)/,{cases:{$2:[\"delimeter\",\"type.identifier\"],\"@default\":\"\"}}]]}};/*!---------------------------------------------------------------------------------------------\n *  Copyright (C) David Owens II, owensd.io. All rights reserved.\n *--------------------------------------------------------------------------------------------*/export{e as conf,o as language};\n"
  },
  {
    "path": "client/dist/assets/systemverilog.4c73c512.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"//\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"],[\"begin\",\"end\"],[\"case\",\"endcase\"],[\"casex\",\"endcase\"],[\"casez\",\"endcase\"],[\"checker\",\"endchecker\"],[\"class\",\"endclass\"],[\"clocking\",\"endclocking\"],[\"config\",\"endconfig\"],[\"function\",\"endfunction\"],[\"generate\",\"endgenerate\"],[\"group\",\"endgroup\"],[\"interface\",\"endinterface\"],[\"module\",\"endmodule\"],[\"package\",\"endpackage\"],[\"primitive\",\"endprimitive\"],[\"program\",\"endprogram\"],[\"property\",\"endproperty\"],[\"specify\",\"endspecify\"],[\"sequence\",\"endsequence\"],[\"table\",\"endtable\"],[\"task\",\"endtask\"]],autoClosingPairs:[{open:\"[\",close:\"]\"},{open:\"{\",close:\"}\"},{open:\"(\",close:\")\"},{open:\"'\",close:\"'\",notIn:[\"string\",\"comment\"]},{open:'\"',close:'\"',notIn:[\"string\"]}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],folding:{offSide:!1,markers:{start:new RegExp(\"^(?:\\\\s*|.*(?!\\\\/[\\\\/\\\\*])[^\\\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\\\b\"),end:new RegExp(\"^(?:\\\\s*|.*(?!\\\\/[\\\\/\\\\*])[^\\\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\\\b\")}}},n={defaultToken:\"\",tokenPostfix:\".sv\",brackets:[{token:\"delimiter.curly\",open:\"{\",close:\"}\"},{token:\"delimiter.parenthesis\",open:\"(\",close:\")\"},{token:\"delimiter.square\",open:\"[\",close:\"]\"},{token:\"delimiter.angle\",open:\"<\",close:\">\"}],keywords:[\"accept_on\",\"alias\",\"always\",\"always_comb\",\"always_ff\",\"always_latch\",\"and\",\"assert\",\"assign\",\"assume\",\"automatic\",\"before\",\"begin\",\"bind\",\"bins\",\"binsof\",\"bit\",\"break\",\"buf\",\"bufif0\",\"bufif1\",\"byte\",\"case\",\"casex\",\"casez\",\"cell\",\"chandle\",\"checker\",\"class\",\"clocking\",\"cmos\",\"config\",\"const\",\"constraint\",\"context\",\"continue\",\"cover\",\"covergroup\",\"coverpoint\",\"cross\",\"deassign\",\"default\",\"defparam\",\"design\",\"disable\",\"dist\",\"do\",\"edge\",\"else\",\"end\",\"endcase\",\"endchecker\",\"endclass\",\"endclocking\",\"endconfig\",\"endfunction\",\"endgenerate\",\"endgroup\",\"endinterface\",\"endmodule\",\"endpackage\",\"endprimitive\",\"endprogram\",\"endproperty\",\"endspecify\",\"endsequence\",\"endtable\",\"endtask\",\"enum\",\"event\",\"eventually\",\"expect\",\"export\",\"extends\",\"extern\",\"final\",\"first_match\",\"for\",\"force\",\"foreach\",\"forever\",\"fork\",\"forkjoin\",\"function\",\"generate\",\"genvar\",\"global\",\"highz0\",\"highz1\",\"if\",\"iff\",\"ifnone\",\"ignore_bins\",\"illegal_bins\",\"implements\",\"implies\",\"import\",\"incdir\",\"include\",\"initial\",\"inout\",\"input\",\"inside\",\"instance\",\"int\",\"integer\",\"interconnect\",\"interface\",\"intersect\",\"join\",\"join_any\",\"join_none\",\"large\",\"let\",\"liblist\",\"library\",\"local\",\"localparam\",\"logic\",\"longint\",\"macromodule\",\"matches\",\"medium\",\"modport\",\"module\",\"nand\",\"negedge\",\"nettype\",\"new\",\"nexttime\",\"nmos\",\"nor\",\"noshowcancelled\",\"not\",\"notif0\",\"notif1\",\"null\",\"or\",\"output\",\"package\",\"packed\",\"parameter\",\"pmos\",\"posedge\",\"primitive\",\"priority\",\"program\",\"property\",\"protected\",\"pull0\",\"pull1\",\"pulldown\",\"pullup\",\"pulsestyle_ondetect\",\"pulsestyle_onevent\",\"pure\",\"rand\",\"randc\",\"randcase\",\"randsequence\",\"rcmos\",\"real\",\"realtime\",\"ref\",\"reg\",\"reject_on\",\"release\",\"repeat\",\"restrict\",\"return\",\"rnmos\",\"rpmos\",\"rtran\",\"rtranif0\",\"rtranif1\",\"s_always\",\"s_eventually\",\"s_nexttime\",\"s_until\",\"s_until_with\",\"scalared\",\"sequence\",\"shortint\",\"shortreal\",\"showcancelled\",\"signed\",\"small\",\"soft\",\"solve\",\"specify\",\"specparam\",\"static\",\"string\",\"strong\",\"strong0\",\"strong1\",\"struct\",\"super\",\"supply0\",\"supply1\",\"sync_accept_on\",\"sync_reject_on\",\"table\",\"tagged\",\"task\",\"this\",\"throughout\",\"time\",\"timeprecision\",\"timeunit\",\"tran\",\"tranif0\",\"tranif1\",\"tri\",\"tri0\",\"tri1\",\"triand\",\"trior\",\"trireg\",\"type\",\"typedef\",\"union\",\"unique\",\"unique0\",\"unsigned\",\"until\",\"until_with\",\"untyped\",\"use\",\"uwire\",\"var\",\"vectored\",\"virtual\",\"void\",\"wait\",\"wait_order\",\"wand\",\"weak\",\"weak0\",\"weak1\",\"while\",\"wildcard\",\"wire\",\"with\",\"within\",\"wor\",\"xnor\",\"xor\"],builtin_gates:[\"and\",\"nand\",\"nor\",\"or\",\"xor\",\"xnor\",\"buf\",\"not\",\"bufif0\",\"bufif1\",\"notif1\",\"notif0\",\"cmos\",\"nmos\",\"pmos\",\"rcmos\",\"rnmos\",\"rpmos\",\"tran\",\"tranif1\",\"tranif0\",\"rtran\",\"rtranif1\",\"rtranif0\"],operators:[\"=\",\"+=\",\"-=\",\"*=\",\"/=\",\"%=\",\"&=\",\"|=\",\"^=\",\"<<=\",\">>+\",\"<<<=\",\">>>=\",\"?\",\":\",\"+\",\"-\",\"!\",\"~\",\"&\",\"~&\",\"|\",\"~|\",\"^\",\"~^\",\"^~\",\"+\",\"-\",\"*\",\"/\",\"%\",\"==\",\"!=\",\"===\",\"!==\",\"==?\",\"!=?\",\"&&\",\"||\",\"**\",\"<\",\"<=\",\">\",\">=\",\"&\",\"|\",\"^\",\">>\",\"<<\",\">>>\",\"<<<\",\"++\",\"--\",\"->\",\"<->\",\"inside\",\"dist\",\"::\",\"+:\",\"-:\",\"*>\",\"&&&\",\"|->\",\"|=>\",\"#=#\"],symbols:/[=><!~?:&|+\\-*\\/\\^%#]+/,escapes:/%%|\\\\(?:[antvf\\\\\"']|x[0-9A-Fa-f]{1,2}|[0-7]{1,3})/,identifier:/(?:[a-zA-Z_][a-zA-Z0-9_$\\.]*|\\\\\\S+ )/,systemcall:/[$][a-zA-Z0-9_]+/,timeunits:/s|ms|us|ns|ps|fs/,tokenizer:{root:[[/^(\\s*)(@identifier)/,[\"\",{cases:{\"@builtin_gates\":{token:\"keyword.$2\",next:\"@module_instance\"},table:{token:\"keyword.$2\",next:\"@table\"},\"@keywords\":{token:\"keyword.$2\"},\"@default\":{token:\"identifier\",next:\"@module_instance\"}}}]],[/^\\s*`include/,{token:\"keyword.directive.include\",next:\"@include\"}],[/^\\s*`\\s*\\w+/,\"keyword\"],{include:\"@identifier_or_keyword\"},{include:\"@whitespace\"},[/\\(\\*.*\\*\\)/,\"annotation\"],[/@systemcall/,\"variable.predefined\"],[/[{}()\\[\\]]/,\"@brackets\"],[/[<>](?!@symbols)/,\"@brackets\"],[/@symbols/,{cases:{\"@operators\":\"delimiter\",\"@default\":\"\"}}],{include:\"@numbers\"},[/[;,.]/,\"delimiter\"],{include:\"@strings\"}],identifier_or_keyword:[[/@identifier/,{cases:{\"@keywords\":{token:\"keyword.$0\"},\"@default\":\"identifier\"}}]],numbers:[[/\\d+?[\\d_]*(?:\\.[\\d_]+)?[eE][\\-+]?\\d+/,\"number.float\"],[/\\d+?[\\d_]*\\.[\\d_]+(?:\\s*@timeunits)?/,\"number.float\"],[/(?:\\d+?[\\d_]*\\s*)?'[sS]?[dD]\\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/,\"number\"],[/(?:\\d+?[\\d_]*\\s*)?'[sS]?[bB]\\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/,\"number.binary\"],[/(?:\\d+?[\\d_]*\\s*)?'[sS]?[oO]\\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/,\"number.octal\"],[/(?:\\d+?[\\d_]*\\s*)?'[sS]?[hH]\\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/,\"number.hex\"],[/1step/,\"number\"],[/[\\dxXzZ]+?[\\dxXzZ_]*(?:\\s*@timeunits)?/,\"number\"],[/'[01xXzZ]+/,\"number\"]],module_instance:[{include:\"@whitespace\"},[/(#?)(\\()/,[\"\",{token:\"@brackets\",next:\"@port_connection\"}]],[/@identifier\\s*[;={}\\[\\],]/,{token:\"@rematch\",next:\"@pop\"}],[/@symbols|[;={}\\[\\],]/,{token:\"@rematch\",next:\"@pop\"}],[/@identifier/,\"type\"],[/;/,\"delimiter\",\"@pop\"]],port_connection:[{include:\"@identifier_or_keyword\"},{include:\"@whitespace\"},[/@systemcall/,\"variable.predefined\"],{include:\"@numbers\"},{include:\"@strings\"},[/[,]/,\"delimiter\"],[/\\(/,\"@brackets\",\"@port_connection\"],[/\\)/,\"@brackets\",\"@pop\"]],whitespace:[[/[ \\t\\r\\n]+/,\"\"],[/\\/\\*/,\"comment\",\"@comment\"],[/\\/\\/.*$/,\"comment\"]],comment:[[/[^\\/*]+/,\"comment\"],[/\\*\\//,\"comment\",\"@pop\"],[/[\\/*]/,\"comment\"]],strings:[[/\"([^\"\\\\]|\\\\.)*$/,\"string.invalid\"],[/\"/,\"string\",\"@string\"]],string:[[/[^\\\\\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\\\\./,\"string.escape.invalid\"],[/\"/,\"string\",\"@pop\"]],include:[[/(\\s*)(\")([\\w*\\/*]*)(.\\w*)(\")/,[\"\",\"string.include.identifier\",\"string.include.identifier\",\"string.include.identifier\",{token:\"string.include.identifier\",next:\"@pop\"}]],[/(\\s*)(<)([\\w*\\/*]*)(.\\w*)(>)/,[\"\",\"string.include.identifier\",\"string.include.identifier\",\"string.include.identifier\",{token:\"string.include.identifier\",next:\"@pop\"}]]],table:[{include:\"@whitespace\"},[/[()]/,\"@brackets\"],[/[:;]/,\"delimiter\"],[/[01\\-*?xXbBrRfFpPnN]/,\"variable.predefined\"],[\"endtable\",\"keyword.endtable\",\"@pop\"]]}};export{e as conf,n as language};\n"
  },
  {
    "path": "client/dist/assets/tcl.dbdb133c.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],autoClosingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],surroundingPairs:[{open:\"{\",close:\"}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}]},t={tokenPostfix:\".tcl\",specialFunctions:[\"set\",\"unset\",\"rename\",\"variable\",\"proc\",\"coroutine\",\"foreach\",\"incr\",\"append\",\"lappend\",\"linsert\",\"lreplace\"],mainFunctions:[\"if\",\"then\",\"elseif\",\"else\",\"case\",\"switch\",\"while\",\"for\",\"break\",\"continue\",\"return\",\"package\",\"namespace\",\"catch\",\"exit\",\"eval\",\"expr\",\"uplevel\",\"upvar\"],builtinFunctions:[\"file\",\"info\",\"concat\",\"join\",\"lindex\",\"list\",\"llength\",\"lrange\",\"lsearch\",\"lsort\",\"split\",\"array\",\"parray\",\"binary\",\"format\",\"regexp\",\"regsub\",\"scan\",\"string\",\"subst\",\"dict\",\"cd\",\"clock\",\"exec\",\"glob\",\"pid\",\"pwd\",\"close\",\"eof\",\"fblocked\",\"fconfigure\",\"fcopy\",\"fileevent\",\"flush\",\"gets\",\"open\",\"puts\",\"read\",\"seek\",\"socket\",\"tell\",\"interp\",\"after\",\"auto_execok\",\"auto_load\",\"auto_mkindex\",\"auto_reset\",\"bgerror\",\"error\",\"global\",\"history\",\"load\",\"source\",\"time\",\"trace\",\"unknown\",\"unset\",\"update\",\"vwait\",\"winfo\",\"wm\",\"bind\",\"event\",\"pack\",\"place\",\"grid\",\"font\",\"bell\",\"clipboard\",\"destroy\",\"focus\",\"grab\",\"lower\",\"option\",\"raise\",\"selection\",\"send\",\"tk\",\"tkwait\",\"tk_bisque\",\"tk_focusNext\",\"tk_focusPrev\",\"tk_focusFollowsMouse\",\"tk_popup\",\"tk_setPalette\"],symbols:/[=><!~?:&|+\\-*\\/\\^%]+/,brackets:[{open:\"(\",close:\")\",token:\"delimiter.parenthesis\"},{open:\"{\",close:\"}\",token:\"delimiter.curly\"},{open:\"[\",close:\"]\",token:\"delimiter.square\"}],escapes:/\\\\(?:[abfnrtv\\\\\"'\\[\\]\\{\\};\\$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,variables:/(?:\\$+(?:(?:\\:\\:?)?[a-zA-Z_]\\w*)+)/,tokenizer:{root:[[/[a-zA-Z_]\\w*/,{cases:{\"@specialFunctions\":{token:\"keyword.flow\",next:\"@specialFunc\"},\"@mainFunctions\":\"keyword\",\"@builtinFunctions\":\"variable\",\"@default\":\"operator.scss\"}}],[/\\s+\\-+(?!\\d|\\.)\\w*|{\\*}/,\"metatag\"],{include:\"@whitespace\"},[/[{}()\\[\\]]/,\"@brackets\"],[/@symbols/,\"operator\"],[/\\$+(?:\\:\\:)?\\{/,{token:\"identifier\",next:\"@nestedVariable\"}],[/@variables/,\"type.identifier\"],[/\\.(?!\\d|\\.)[\\w\\-]*/,\"operator.sql\"],[/\\d+(\\.\\d+)?/,\"number\"],[/\\d+/,\"number\"],[/;/,\"delimiter\"],[/\"/,{token:\"string.quote\",bracket:\"@open\",next:\"@dstring\"}],[/'/,{token:\"string.quote\",bracket:\"@open\",next:\"@sstring\"}]],dstring:[[/\\[/,{token:\"@brackets\",next:\"@nestedCall\"}],[/\\$+(?:\\:\\:)?\\{/,{token:\"identifier\",next:\"@nestedVariable\"}],[/@variables/,\"type.identifier\"],[/[^\\\\$\\[\\]\"]+/,\"string\"],[/@escapes/,\"string.escape\"],[/\"/,{token:\"string.quote\",bracket:\"@close\",next:\"@pop\"}]],sstring:[[/\\[/,{token:\"@brackets\",next:\"@nestedCall\"}],[/\\$+(?:\\:\\:)?\\{/,{token:\"identifier\",next:\"@nestedVariable\"}],[/@variables/,\"type.identifier\"],[/[^\\\\$\\[\\]']+/,\"string\"],[/@escapes/,\"string.escape\"],[/'/,{token:\"string.quote\",bracket:\"@close\",next:\"@pop\"}]],whitespace:[[/[ \\t\\r\\n]+/,\"white\"],[/#.*\\\\$/,{token:\"comment\",next:\"@newlineComment\"}],[/#.*(?!\\\\)$/,\"comment\"]],newlineComment:[[/.*\\\\$/,\"comment\"],[/.*(?!\\\\)$/,{token:\"comment\",next:\"@pop\"}]],nestedVariable:[[/[^\\{\\}\\$]+/,\"type.identifier\"],[/\\}/,{token:\"identifier\",next:\"@pop\"}]],nestedCall:[[/\\[/,{token:\"@brackets\",next:\"@nestedCall\"}],[/\\]/,{token:\"@brackets\",next:\"@pop\"}],{include:\"root\"}],specialFunc:[[/\"/,{token:\"string\",next:\"@dstring\"}],[/'/,{token:\"string\",next:\"@sstring\"}],[/\\S+/,{token:\"type\",next:\"@pop\"}]]}};export{e as conf,t as language};\n"
  },
  {
    "path": "client/dist/assets/ts.worker.bcb033c8.js",
    "content": "var PF=Object.defineProperty;var FF=(Im,L_,Nm)=>L_ in Im?PF(Im,L_,{enumerable:!0,configurable:!0,writable:!0,value:Nm}):Im[L_]=Nm;var Iv=(Im,L_,Nm)=>(FF(Im,typeof L_!=\"symbol\"?L_+\"\":L_,Nm),Nm);(function(){\"use strict\";class Im{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(n){setTimeout(()=>{throw n.stack?new Error(n.message+`\n\n`+n.stack):n},0)}}emit(n){this.listeners.forEach(f=>{f(n)})}onUnexpectedError(n){this.unexpectedErrorHandler(n),this.emit(n)}onUnexpectedExternalError(n){this.unexpectedErrorHandler(n)}}const L_=new Im;function Nm(e){wI(e)||L_.onUnexpectedError(e)}function FT(e){if(e instanceof Error){let{name:n,message:f}=e;const p=e.stacktrace||e.stack;return{$isError:!0,name:n,message:f,stack:p}}return e}const Xb=\"Canceled\";function wI(e){return e instanceof MI?!0:e instanceof Error&&e.name===Xb&&e.message===Xb}class MI extends Error{constructor(){super(Xb),this.name=this.message}}function PI(e){const n=this;let f=!1,p;return function(){return f||(f=!0,p=e.apply(n,arguments)),p}}var Yb;(function(e){function n(I){return I&&typeof I==\"object\"&&typeof I[Symbol.iterator]==\"function\"}e.is=n;const f=Object.freeze([]);function p(){return f}e.empty=p;function*a(I){yield I}e.single=a;function d(I){return I||f}e.from=d;function k(I){return!I||I[Symbol.iterator]().next().done===!0}e.isEmpty=k;function J(I){return I[Symbol.iterator]().next().value}e.first=J;function h(I,w){for(const x of I)if(w(x))return!0;return!1}e.some=h;function v(I,w){for(const x of I)if(w(x))return x}e.find=v;function*A(I,w){for(const x of I)w(x)&&(yield x)}e.filter=A;function*z(I,w){let x=0;for(const O of I)yield w(O,x++)}e.map=z;function*ie(...I){for(const w of I)for(const x of w)yield x}e.concat=ie;function*b(I){for(const w of I)for(const x of w)yield x}e.concatNested=b;function M(I,w,x){let O=x;for(const q of I)O=w(O,q);return O}e.reduce=M;function*S(I,w,x=I.length){for(w<0&&(w+=I.length),x<0?x+=I.length:x>I.length&&(x=I.length);w<x;w++)yield I[w]}e.slice=S;function B(I,w=Number.POSITIVE_INFINITY){const x=[];if(w===0)return[x,I];const O=I[Symbol.iterator]();for(let q=0;q<w;q++){const Z=O.next();if(Z.done)return[x,e.empty()];x.push(Z.value)}return[x,{[Symbol.iterator](){return O}}]}e.consume=B;function H(I,w,x=(O,q)=>O===q){const O=I[Symbol.iterator](),q=w[Symbol.iterator]();for(;;){const Z=O.next(),ne=q.next();if(Z.done!==ne.done)return!1;if(Z.done)return!0;if(!x(Z.value,ne.value))return!1}}e.equals=H})(Yb||(Yb={}));function GF(e){return e}function BF(e,n){}class FI extends Error{constructor(n){super(`Encountered errors while disposing of store. Errors: [${n.join(\", \")}]`),this.errors=n}}function GT(e){if(Yb.is(e)){let n=[];for(const f of e)if(f)try{f.dispose()}catch(p){n.push(p)}if(n.length===1)throw n[0];if(n.length>1)throw new FI(n);return Array.isArray(e)?[]:e}else if(e)return e.dispose(),e}function GI(...e){return Kh(()=>GT(e))}function Kh(e){return{dispose:PI(()=>{e()})}}class Lg{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){try{GT(this._toDispose.values())}finally{this._toDispose.clear()}}add(n){if(!n)return n;if(n===this)throw new Error(\"Cannot register a disposable on itself!\");return this._isDisposed?Lg.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(n),n}}Lg.DISABLE_DISPOSED_WARNING=!1;class Qb{constructor(){this._store=new Lg,this._store}dispose(){this._store.dispose()}_register(n){if(n===this)throw new Error(\"Cannot register a disposable on itself!\");return this._store.add(n)}}Qb.None=Object.freeze({dispose(){}});class BI{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1}set(n){let f=n;return this.unset=()=>f=void 0,this.isset=()=>f!==void 0,this.dispose=()=>{f&&(f(),f=void 0)},this}}class al{constructor(n){this.element=n,this.next=al.Undefined,this.prev=al.Undefined}}al.Undefined=new al(void 0);class BT{constructor(){this._first=al.Undefined,this._last=al.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===al.Undefined}clear(){let n=this._first;for(;n!==al.Undefined;){const f=n.next;n.prev=al.Undefined,n.next=al.Undefined,n=f}this._first=al.Undefined,this._last=al.Undefined,this._size=0}unshift(n){return this._insert(n,!1)}push(n){return this._insert(n,!0)}_insert(n,f){const p=new al(n);if(this._first===al.Undefined)this._first=p,this._last=p;else if(f){const d=this._last;this._last=p,p.prev=d,d.next=p}else{const d=this._first;this._first=p,p.next=d,d.prev=p}this._size+=1;let a=!1;return()=>{a||(a=!0,this._remove(p))}}shift(){if(this._first!==al.Undefined){const n=this._first.element;return this._remove(this._first),n}}pop(){if(this._last!==al.Undefined){const n=this._last.element;return this._remove(this._last),n}}_remove(n){if(n.prev!==al.Undefined&&n.next!==al.Undefined){const f=n.prev;f.next=n.next,n.next.prev=f}else n.prev===al.Undefined&&n.next===al.Undefined?(this._first=al.Undefined,this._last=al.Undefined):n.next===al.Undefined?(this._last=this._last.prev,this._last.next=al.Undefined):n.prev===al.Undefined&&(this._first=this._first.next,this._first.prev=al.Undefined);this._size-=1}*[Symbol.iterator](){let n=this._first;for(;n!==al.Undefined;)yield n.element,n=n.next}}var Zb;const zh=\"en\";let $b=!1,eE=!1,rE=!1,UT=!1,qh,tE=zh,UI,q_;const su=typeof self==\"object\"?self:typeof global==\"object\"?global:{};let lu;typeof su.vscode!=\"undefined\"&&typeof su.vscode.process!=\"undefined\"?lu=su.vscode.process:typeof process!=\"undefined\"&&(lu=process);const VI=typeof((Zb=lu==null?void 0:lu.versions)===null||Zb===void 0?void 0:Zb.electron)==\"string\"&&(lu==null?void 0:lu.type)===\"renderer\";if(typeof navigator==\"object\"&&!VI)q_=navigator.userAgent,$b=q_.indexOf(\"Windows\")>=0,eE=q_.indexOf(\"Macintosh\")>=0,(q_.indexOf(\"Macintosh\")>=0||q_.indexOf(\"iPad\")>=0||q_.indexOf(\"iPhone\")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,rE=q_.indexOf(\"Linux\")>=0,UT=!0,qh=navigator.language,tE=qh;else if(typeof lu==\"object\"){$b=lu.platform===\"win32\",eE=lu.platform===\"darwin\",rE=lu.platform===\"linux\",rE&&!!lu.env.SNAP&&lu.env.SNAP_REVISION,lu.env.CI||lu.env.BUILD_ARTIFACTSTAGINGDIRECTORY,qh=zh,tE=zh;const e=lu.env.VSCODE_NLS_CONFIG;if(e)try{const n=JSON.parse(e),f=n.availableLanguages[\"*\"];qh=n.locale,tE=f||zh,UI=n._translationsConfigFile}catch{}}else console.error(\"Unable to resolve platform.\");const Nv=$b,WI=eE;UT&&su.importScripts;const Kp=q_;(()=>{if(typeof su.postMessage==\"function\"&&!su.importScripts){let e=[];su.addEventListener(\"message\",f=>{if(f.data&&f.data.vscodeScheduleAsyncWork)for(let p=0,a=e.length;p<a;p++){const d=e[p];if(d.id===f.data.vscodeScheduleAsyncWork){e.splice(p,1),d.callback();return}}});let n=0;return f=>{const p=++n;e.push({id:p,callback:f}),su.postMessage({vscodeScheduleAsyncWork:p},\"*\")}}return e=>setTimeout(e)})();const jI=!!(Kp&&Kp.indexOf(\"Chrome\")>=0);Kp&&Kp.indexOf(\"Firefox\")>=0,!jI&&Kp&&Kp.indexOf(\"Safari\")>=0,Kp&&Kp.indexOf(\"Edg/\")>=0,Kp&&Kp.indexOf(\"Android\")>=0;const HI=su.performance&&typeof su.performance.now==\"function\";class Xh{constructor(n){this._highResolution=HI&&n,this._startTime=this._now(),this._stopTime=-1}static create(n=!0){return new Xh(n)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?su.performance.now():Date.now()}}var nE;(function(e){e.None=()=>Qb.None;function n(x){return(O,q=null,Z)=>{let ne=!1,F;return F=x(Q=>{if(!ne)return F?F.dispose():ne=!0,O.call(q,Q)},null,Z),ne&&F.dispose(),F}}e.once=n;function f(x,O,q){return h((Z,ne=null,F)=>x(Q=>Z.call(ne,O(Q)),null,F),q)}e.map=f;function p(x,O,q){return h((Z,ne=null,F)=>x(Q=>{O(Q),Z.call(ne,Q)},null,F),q)}e.forEach=p;function a(x,O,q){return h((Z,ne=null,F)=>x(Q=>O(Q)&&Z.call(ne,Q),null,F),q)}e.filter=a;function d(x){return x}e.signal=d;function k(...x){return(O,q=null,Z)=>GI(...x.map(ne=>ne(F=>O.call(q,F),null,Z)))}e.any=k;function J(x,O,q,Z){let ne=q;return f(x,F=>(ne=O(ne,F),ne),Z)}e.reduce=J;function h(x,O){let q;const Z={onFirstListenerAdd(){q=x(ne.fire,ne)},onLastListenerRemove(){q.dispose()}},ne=new A_(Z);return O&&O.add(ne),ne.event}function v(x,O,q=100,Z=!1,ne,F){let Q,V,re,T=0;const N={leakWarningThreshold:ne,onFirstListenerAdd(){Q=x(D=>{T++,V=O(V,D),Z&&!re&&(y.fire(V),V=void 0),clearTimeout(re),re=setTimeout(()=>{const C=V;V=void 0,re=void 0,(!Z||T>1)&&y.fire(C),T=0},q)})},onLastListenerRemove(){Q.dispose()}},y=new A_(N);return F&&F.add(y),y.event}e.debounce=v;function A(x,O=(Z,ne)=>Z===ne,q){let Z=!0,ne;return a(x,F=>{const Q=Z||!O(F,ne);return Z=!1,ne=F,Q},q)}e.latch=A;function z(x,O,q){return[e.filter(x,O,q),e.filter(x,Z=>!O(Z),q)]}e.split=z;function ie(x,O=!1,q=[]){let Z=q.slice(),ne=x(V=>{Z?Z.push(V):Q.fire(V)});const F=()=>{Z&&Z.forEach(V=>Q.fire(V)),Z=null},Q=new A_({onFirstListenerAdd(){ne||(ne=x(V=>Q.fire(V)))},onFirstListenerDidAdd(){Z&&(O?setTimeout(F):F())},onLastListenerRemove(){ne&&ne.dispose(),ne=null}});return Q.event}e.buffer=ie;class b{constructor(O){this.event=O}map(O){return new b(f(this.event,O))}forEach(O){return new b(p(this.event,O))}filter(O){return new b(a(this.event,O))}reduce(O,q){return new b(J(this.event,O,q))}latch(){return new b(A(this.event))}debounce(O,q=100,Z=!1,ne){return new b(v(this.event,O,q,Z,ne))}on(O,q,Z){return this.event(O,q,Z)}once(O,q,Z){return n(this.event)(O,q,Z)}}function M(x){return new b(x)}e.chain=M;function S(x,O,q=Z=>Z){const Z=(...V)=>Q.fire(q(...V)),ne=()=>x.on(O,Z),F=()=>x.removeListener(O,Z),Q=new A_({onFirstListenerAdd:ne,onLastListenerRemove:F});return Q.event}e.fromNodeEventEmitter=S;function B(x,O,q=Z=>Z){const Z=(...V)=>Q.fire(q(...V)),ne=()=>x.addEventListener(O,Z),F=()=>x.removeEventListener(O,Z),Q=new A_({onFirstListenerAdd:ne,onLastListenerRemove:F});return Q.event}e.fromDOMEventEmitter=B;function H(x){return new Promise(O=>n(x)(O))}e.toPromise=H;function I(x,O){return O(void 0),x(q=>O(q))}e.runAndSubscribe=I;function w(x,O){let q=null;function Z(F){q==null||q.dispose(),q=new Lg,O(F,q)}Z(void 0);const ne=x(F=>Z(F));return Kh(()=>{ne.dispose(),q==null||q.dispose()})}e.runAndSubscribeWithStore=w})(nE||(nE={}));class Yh{constructor(n){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${n}_${Yh._idPool++}`}start(n){this._stopWatch=new Xh(!0),this._listenerCount=n}stop(){if(this._stopWatch){const n=this._stopWatch.elapsed();this._elapsedOverall+=n,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${n.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}Yh._idPool=0;class aE{constructor(n){this.value=n}static create(){var n;return new aE((n=new Error().stack)!==null&&n!==void 0?n:\"\")}print(){console.warn(this.value.split(`\n`).slice(2).join(`\n`))}}class JI{constructor(n,f,p){this.callback=n,this.callbackThis=f,this.stack=p,this.subscription=new BI}invoke(n){this.callback.call(this.callbackThis,n)}}class A_{constructor(n){var f;this._disposed=!1,this._options=n,this._leakageMon=void 0,this._perfMon=!((f=this._options)===null||f===void 0)&&f._profName?new Yh(this._options._profName):void 0}dispose(){var n,f,p,a;this._disposed||(this._disposed=!0,this._listeners&&this._listeners.clear(),(n=this._deliveryQueue)===null||n===void 0||n.clear(),(p=(f=this._options)===null||f===void 0?void 0:f.onLastListenerRemove)===null||p===void 0||p.call(f),(a=this._leakageMon)===null||a===void 0||a.dispose())}get event(){return this._event||(this._event=(n,f,p)=>{var a,d,k;this._listeners||(this._listeners=new BT);const J=this._listeners.isEmpty();J&&((a=this._options)===null||a===void 0?void 0:a.onFirstListenerAdd)&&this._options.onFirstListenerAdd(this);let h,v;this._leakageMon&&this._listeners.size>=30&&(v=aE.create(),h=this._leakageMon.check(v,this._listeners.size+1));const A=new JI(n,f,v),z=this._listeners.push(A);J&&((d=this._options)===null||d===void 0?void 0:d.onFirstListenerDidAdd)&&this._options.onFirstListenerDidAdd(this),!((k=this._options)===null||k===void 0)&&k.onListenerDidAdd&&this._options.onListenerDidAdd(this,n,f);const ie=A.subscription.set(()=>{h&&h(),this._disposed||(z(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return p instanceof Lg?p.add(ie):Array.isArray(p)&&p.push(ie),ie}),this._event}fire(n){var f,p;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new BT);for(let a of this._listeners)this._deliveryQueue.push([a,n]);for((f=this._perfMon)===null||f===void 0||f.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[a,d]=this._deliveryQueue.shift();try{a.invoke(d)}catch(k){Nm(k)}}(p=this._perfMon)===null||p===void 0||p.stop()}}}function KI(e){let n=[],f=Object.getPrototypeOf(e);for(;Object.prototype!==f;)n=n.concat(Object.getOwnPropertyNames(f)),f=Object.getPrototypeOf(f);return n}function iE(e){const n=[];for(const f of KI(e))typeof e[f]==\"function\"&&n.push(f);return n}function zI(e,n){const f=a=>function(){const d=Array.prototype.slice.call(arguments,0);return n(a,d)};let p={};for(const a of e)p[a]=f(a);return p}function qI(e,n=\"Unreachable\"){throw new Error(n)}class XI{constructor(n){this.computeFn=n,this.lastCache=void 0,this.lastArgKey=void 0}get(n){const f=JSON.stringify(n);return this.lastArgKey!==f&&(this.lastArgKey=f,this.lastCache=this.computeFn(n)),this.lastCache}}class VT{constructor(n){this.executor=n,this._didRun=!1}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(n){this._error=n}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var WT;function YI(e){return e.replace(/[\\\\\\{\\}\\*\\+\\?\\|\\^\\$\\.\\[\\]\\(\\)]/g,\"\\\\$&\")}function QI(e){return e.split(/\\r\\n|\\r|\\n/)}function ZI(e){for(let n=0,f=e.length;n<f;n++){const p=e.charCodeAt(n);if(p!==32&&p!==9)return n}return-1}function $I(e,n=e.length-1){for(let f=n;f>=0;f--){const p=e.charCodeAt(f);if(p!==32&&p!==9)return f}return-1}function jT(e){return e>=65&&e<=90}function oE(e){return 55296<=e&&e<=56319}function eN(e){return 56320<=e&&e<=57343}function rN(e,n){return(e-55296<<10)+(n-56320)+65536}function tN(e,n,f){const p=e.charCodeAt(f);if(oE(p)&&f+1<n){const a=e.charCodeAt(f+1);if(eN(a))return rN(p,a)}return p}const nN=/^[\\t\\n\\r\\x20-\\x7E]*$/;function aN(e){return nN.test(e)}class Id{constructor(n){this.confusableDictionary=n}static getInstance(n){return Id.cache.get(Array.from(n))}static getLocales(){return Id._locales.getValue()}isAmbiguous(n){return this.confusableDictionary.has(n)}getPrimaryConfusable(n){return this.confusableDictionary.get(n)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}WT=Id,Id.ambiguousCharacterData=new VT(()=>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],\"_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]}')),Id.cache=new XI(e=>{function n(v){const A=new Map;for(let z=0;z<v.length;z+=2)A.set(v[z],v[z+1]);return A}function f(v,A){const z=new Map(v);for(const[ie,b]of A)z.set(ie,b);return z}function p(v,A){if(!v)return A;const z=new Map;for(const[ie,b]of v)A.has(ie)&&z.set(ie,b);return z}const a=WT.ambiguousCharacterData.getValue();let d=e.filter(v=>!v.startsWith(\"_\")&&v in a);d.length===0&&(d=[\"_default\"]);let k;for(const v of d){const A=n(a[v]);k=p(k,A)}const J=n(a._common),h=f(J,k);return new Id(h)}),Id._locales=new VT(()=>Object.keys(Id.ambiguousCharacterData.getValue()).filter(e=>!e.startsWith(\"_\")));class X_{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(X_.getRawData())),this._data}static isInvisibleCharacter(n){return X_.getData().has(n)}static get codePoints(){return X_.getData()}}X_._data=void 0;const iN=\"$initialize\";class oN{constructor(n,f,p,a){this.vsWorker=n,this.req=f,this.method=p,this.args=a,this.type=0}}class HT{constructor(n,f,p,a){this.vsWorker=n,this.seq=f,this.res=p,this.err=a,this.type=1}}class sN{constructor(n,f,p,a){this.vsWorker=n,this.req=f,this.eventName=p,this.arg=a,this.type=2}}class lN{constructor(n,f,p){this.vsWorker=n,this.req=f,this.event=p,this.type=3}}class cN{constructor(n,f){this.vsWorker=n,this.req=f,this.type=4}}class uN{constructor(n){this._workerId=-1,this._handler=n,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(n){this._workerId=n}sendMessage(n,f){const p=String(++this._lastSentReq);return new Promise((a,d)=>{this._pendingReplies[p]={resolve:a,reject:d},this._send(new oN(this._workerId,p,n,f))})}listen(n,f){let p=null;const a=new A_({onFirstListenerAdd:()=>{p=String(++this._lastSentReq),this._pendingEmitters.set(p,a),this._send(new sN(this._workerId,p,n,f))},onLastListenerRemove:()=>{this._pendingEmitters.delete(p),this._send(new cN(this._workerId,p)),p=null}});return a.event}handleMessage(n){!n||!n.vsWorker||this._workerId!==-1&&n.vsWorker!==this._workerId||this._handleMessage(n)}_handleMessage(n){switch(n.type){case 1:return this._handleReplyMessage(n);case 0:return this._handleRequestMessage(n);case 2:return this._handleSubscribeEventMessage(n);case 3:return this._handleEventMessage(n);case 4:return this._handleUnsubscribeEventMessage(n)}}_handleReplyMessage(n){if(!this._pendingReplies[n.seq]){console.warn(\"Got reply to unknown seq\");return}let f=this._pendingReplies[n.seq];if(delete this._pendingReplies[n.seq],n.err){let p=n.err;n.err.$isError&&(p=new Error,p.name=n.err.name,p.message=n.err.message,p.stack=n.err.stack),f.reject(p);return}f.resolve(n.res)}_handleRequestMessage(n){let f=n.req;this._handler.handleMessage(n.method,n.args).then(a=>{this._send(new HT(this._workerId,f,a,void 0))},a=>{a.detail instanceof Error&&(a.detail=FT(a.detail)),this._send(new HT(this._workerId,f,void 0,FT(a)))})}_handleSubscribeEventMessage(n){const f=n.req,p=this._handler.handleEvent(n.eventName,n.arg)(a=>{this._send(new lN(this._workerId,f,a))});this._pendingEvents.set(f,p)}_handleEventMessage(n){if(!this._pendingEmitters.has(n.req)){console.warn(\"Got event for unknown req\");return}this._pendingEmitters.get(n.req).fire(n.event)}_handleUnsubscribeEventMessage(n){if(!this._pendingEvents.has(n.req)){console.warn(\"Got unsubscribe for unknown req\");return}this._pendingEvents.get(n.req).dispose(),this._pendingEvents.delete(n.req)}_send(n){let f=[];if(n.type===0)for(let p=0;p<n.args.length;p++)n.args[p]instanceof ArrayBuffer&&f.push(n.args[p]);else n.type===1&&n.res instanceof ArrayBuffer&&f.push(n.res);this._handler.sendMessage(n,f)}}function JT(e){return e[0]===\"o\"&&e[1]===\"n\"&&jT(e.charCodeAt(2))}function KT(e){return/^onDynamic/.test(e)&&jT(e.charCodeAt(9))}function fN(e,n,f){const p=k=>function(){const J=Array.prototype.slice.call(arguments,0);return n(k,J)},a=k=>function(J){return f(k,J)};let d={};for(const k of e){if(KT(k)){d[k]=a(k);continue}if(JT(k)){d[k]=f(k,void 0);continue}d[k]=p(k)}return d}class dN{constructor(n,f){this._requestHandlerFactory=f,this._requestHandler=null,this._protocol=new uN({sendMessage:(p,a)=>{n(p,a)},handleMessage:(p,a)=>this._handleMessage(p,a),handleEvent:(p,a)=>this._handleEvent(p,a)})}onmessage(n){this._protocol.handleMessage(n)}_handleMessage(n,f){if(n===iN)return this.initialize(f[0],f[1],f[2],f[3]);if(!this._requestHandler||typeof this._requestHandler[n]!=\"function\")return Promise.reject(new Error(\"Missing requestHandler or method: \"+n));try{return Promise.resolve(this._requestHandler[n].apply(this._requestHandler,f))}catch(p){return Promise.reject(p)}}_handleEvent(n,f){if(!this._requestHandler)throw new Error(\"Missing requestHandler\");if(KT(n)){const p=this._requestHandler[n].call(this._requestHandler,f);if(typeof p!=\"function\")throw new Error(`Missing dynamic event ${n} on request handler.`);return p}if(JT(n)){const p=this._requestHandler[n];if(typeof p!=\"function\")throw new Error(`Missing event ${n} on request handler.`);return p}throw new Error(`Malformed event name ${n}`)}initialize(n,f,p,a){this._protocol.setWorkerId(n);const J=fN(a,(h,v)=>this._protocol.sendMessage(h,v),(h,v)=>this._protocol.listen(h,v));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(J),Promise.resolve(iE(this._requestHandler))):(f&&(typeof f.baseUrl!=\"undefined\"&&delete f.baseUrl,typeof f.paths!=\"undefined\"&&typeof f.paths.vs!=\"undefined\"&&delete f.paths.vs,typeof f.trustedTypesPolicy!==void 0&&delete f.trustedTypesPolicy,f.catchError=!0,su.require.config(f)),new Promise((h,v)=>{const A=su.require;A([p],z=>{if(this._requestHandler=z.create(J),!this._requestHandler){v(new Error(\"No RequestHandler!\"));return}h(iE(this._requestHandler))},v)}))}}class Y_{constructor(n,f,p,a){this.originalStart=n,this.originalLength=f,this.modifiedStart=p,this.modifiedLength=a}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function zT(e,n){return(n<<5)-n+e|0}function pN(e,n){n=zT(149417,n);for(let f=0,p=e.length;f<p;f++)n=zT(e.charCodeAt(f),n);return n}class qT{constructor(n){this.source=n}getElements(){const n=this.source,f=new Int32Array(n.length);for(let p=0,a=n.length;p<a;p++)f[p]=n.charCodeAt(p);return f}}function _N(e,n,f){return new Q_(new qT(e),new qT(n)).ComputeDiff(f).changes}class Ag{static Assert(n,f){if(!n)throw new Error(f)}}class Cg{static Copy(n,f,p,a,d){for(let k=0;k<d;k++)p[a+k]=n[f+k]}static Copy2(n,f,p,a,d){for(let k=0;k<d;k++)p[a+k]=n[f+k]}}class XT{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 Y_(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(n,f){this.m_originalStart=Math.min(this.m_originalStart,n),this.m_modifiedStart=Math.min(this.m_modifiedStart,f),this.m_originalCount++}AddModifiedElement(n,f){this.m_originalStart=Math.min(this.m_originalStart,n),this.m_modifiedStart=Math.min(this.m_modifiedStart,f),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 Q_{constructor(n,f,p=null){this.ContinueProcessingPredicate=p,this._originalSequence=n,this._modifiedSequence=f;const[a,d,k]=Q_._getElements(n),[J,h,v]=Q_._getElements(f);this._hasStrings=k&&v,this._originalStringElements=a,this._originalElementsOrHash=d,this._modifiedStringElements=J,this._modifiedElementsOrHash=h,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(n){return n.length>0&&typeof n[0]==\"string\"}static _getElements(n){const f=n.getElements();if(Q_._isStringArray(f)){const p=new Int32Array(f.length);for(let a=0,d=f.length;a<d;a++)p[a]=pN(f[a],0);return[f,p,!0]}return f instanceof Int32Array?[[],f,!1]:[[],new Int32Array(f),!1]}ElementsAreEqual(n,f){return this._originalElementsOrHash[n]!==this._modifiedElementsOrHash[f]?!1:this._hasStrings?this._originalStringElements[n]===this._modifiedStringElements[f]:!0}ElementsAreStrictEqual(n,f){if(!this.ElementsAreEqual(n,f))return!1;const p=Q_._getStrictElement(this._originalSequence,n),a=Q_._getStrictElement(this._modifiedSequence,f);return p===a}static _getStrictElement(n,f){return typeof n.getStrictElement==\"function\"?n.getStrictElement(f):null}OriginalElementsAreEqual(n,f){return this._originalElementsOrHash[n]!==this._originalElementsOrHash[f]?!1:this._hasStrings?this._originalStringElements[n]===this._originalStringElements[f]:!0}ModifiedElementsAreEqual(n,f){return this._modifiedElementsOrHash[n]!==this._modifiedElementsOrHash[f]?!1:this._hasStrings?this._modifiedStringElements[n]===this._modifiedStringElements[f]:!0}ComputeDiff(n){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,n)}_ComputeDiff(n,f,p,a,d){const k=[!1];let J=this.ComputeDiffRecursive(n,f,p,a,k);return d&&(J=this.PrettifyChanges(J)),{quitEarly:k[0],changes:J}}ComputeDiffRecursive(n,f,p,a,d){for(d[0]=!1;n<=f&&p<=a&&this.ElementsAreEqual(n,p);)n++,p++;for(;f>=n&&a>=p&&this.ElementsAreEqual(f,a);)f--,a--;if(n>f||p>a){let z;return p<=a?(Ag.Assert(n===f+1,\"originalStart should only be one more than originalEnd\"),z=[new Y_(n,0,p,a-p+1)]):n<=f?(Ag.Assert(p===a+1,\"modifiedStart should only be one more than modifiedEnd\"),z=[new Y_(n,f-n+1,p,0)]):(Ag.Assert(n===f+1,\"originalStart should only be one more than originalEnd\"),Ag.Assert(p===a+1,\"modifiedStart should only be one more than modifiedEnd\"),z=[]),z}const k=[0],J=[0],h=this.ComputeRecursionPoint(n,f,p,a,k,J,d),v=k[0],A=J[0];if(h!==null)return h;if(!d[0]){const z=this.ComputeDiffRecursive(n,v,p,A,d);let ie=[];return d[0]?ie=[new Y_(v+1,f-(v+1)+1,A+1,a-(A+1)+1)]:ie=this.ComputeDiffRecursive(v+1,f,A+1,a,d),this.ConcatenateChanges(z,ie)}return[new Y_(n,f-n+1,p,a-p+1)]}WALKTRACE(n,f,p,a,d,k,J,h,v,A,z,ie,b,M,S,B,H,I){let w=null,x=null,O=new XT,q=f,Z=p,ne=b[0]-B[0]-a,F=-1073741824,Q=this.m_forwardHistory.length-1;do{const V=ne+n;V===q||V<Z&&v[V-1]<v[V+1]?(z=v[V+1],M=z-ne-a,z<F&&O.MarkNextChange(),F=z,O.AddModifiedElement(z+1,M),ne=V+1-n):(z=v[V-1]+1,M=z-ne-a,z<F&&O.MarkNextChange(),F=z-1,O.AddOriginalElement(z,M+1),ne=V-1-n),Q>=0&&(v=this.m_forwardHistory[Q],n=v[0],q=1,Z=v.length-1)}while(--Q>=-1);if(w=O.getReverseChanges(),I[0]){let V=b[0]+1,re=B[0]+1;if(w!==null&&w.length>0){const T=w[w.length-1];V=Math.max(V,T.getOriginalEnd()),re=Math.max(re,T.getModifiedEnd())}x=[new Y_(V,ie-V+1,re,S-re+1)]}else{O=new XT,q=k,Z=J,ne=b[0]-B[0]-h,F=1073741824,Q=H?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const V=ne+d;V===q||V<Z&&A[V-1]>=A[V+1]?(z=A[V+1]-1,M=z-ne-h,z>F&&O.MarkNextChange(),F=z+1,O.AddOriginalElement(z+1,M+1),ne=V+1-d):(z=A[V-1],M=z-ne-h,z>F&&O.MarkNextChange(),F=z,O.AddModifiedElement(z+1,M+1),ne=V-1-d),Q>=0&&(A=this.m_reverseHistory[Q],d=A[0],q=1,Z=A.length-1)}while(--Q>=-1);x=O.getChanges()}return this.ConcatenateChanges(w,x)}ComputeRecursionPoint(n,f,p,a,d,k,J){let h=0,v=0,A=0,z=0,ie=0,b=0;n--,p--,d[0]=0,k[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const M=f-n+(a-p),S=M+1,B=new Int32Array(S),H=new Int32Array(S),I=a-p,w=f-n,x=n-p,O=f-a,Z=(w-I)%2===0;B[I]=n,H[w]=f,J[0]=!1;for(let ne=1;ne<=M/2+1;ne++){let F=0,Q=0;A=this.ClipDiagonalBound(I-ne,ne,I,S),z=this.ClipDiagonalBound(I+ne,ne,I,S);for(let re=A;re<=z;re+=2){re===A||re<z&&B[re-1]<B[re+1]?h=B[re+1]:h=B[re-1]+1,v=h-(re-I)-x;const T=h;for(;h<f&&v<a&&this.ElementsAreEqual(h+1,v+1);)h++,v++;if(B[re]=h,h+v>F+Q&&(F=h,Q=v),!Z&&Math.abs(re-w)<=ne-1&&h>=H[re])return d[0]=h,k[0]=v,T<=H[re]&&1447>0&&ne<=1447+1?this.WALKTRACE(I,A,z,x,w,ie,b,O,B,H,h,f,d,v,a,k,Z,J):null}const V=(F-n+(Q-p)-ne)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(F,V))return J[0]=!0,d[0]=F,k[0]=Q,V>0&&1447>0&&ne<=1447+1?this.WALKTRACE(I,A,z,x,w,ie,b,O,B,H,h,f,d,v,a,k,Z,J):(n++,p++,[new Y_(n,f-n+1,p,a-p+1)]);ie=this.ClipDiagonalBound(w-ne,ne,w,S),b=this.ClipDiagonalBound(w+ne,ne,w,S);for(let re=ie;re<=b;re+=2){re===ie||re<b&&H[re-1]>=H[re+1]?h=H[re+1]-1:h=H[re-1],v=h-(re-w)-O;const T=h;for(;h>n&&v>p&&this.ElementsAreEqual(h,v);)h--,v--;if(H[re]=h,Z&&Math.abs(re-I)<=ne&&h<=B[re])return d[0]=h,k[0]=v,T>=B[re]&&1447>0&&ne<=1447+1?this.WALKTRACE(I,A,z,x,w,ie,b,O,B,H,h,f,d,v,a,k,Z,J):null}if(ne<=1447){let re=new Int32Array(z-A+2);re[0]=I-A+1,Cg.Copy2(B,A,re,1,z-A+1),this.m_forwardHistory.push(re),re=new Int32Array(b-ie+2),re[0]=w-ie+1,Cg.Copy2(H,ie,re,1,b-ie+1),this.m_reverseHistory.push(re)}}return this.WALKTRACE(I,A,z,x,w,ie,b,O,B,H,h,f,d,v,a,k,Z,J)}PrettifyChanges(n){for(let f=0;f<n.length;f++){const p=n[f],a=f<n.length-1?n[f+1].originalStart:this._originalElementsOrHash.length,d=f<n.length-1?n[f+1].modifiedStart:this._modifiedElementsOrHash.length,k=p.originalLength>0,J=p.modifiedLength>0;for(;p.originalStart+p.originalLength<a&&p.modifiedStart+p.modifiedLength<d&&(!k||this.OriginalElementsAreEqual(p.originalStart,p.originalStart+p.originalLength))&&(!J||this.ModifiedElementsAreEqual(p.modifiedStart,p.modifiedStart+p.modifiedLength));){const v=this.ElementsAreStrictEqual(p.originalStart,p.modifiedStart);if(this.ElementsAreStrictEqual(p.originalStart+p.originalLength,p.modifiedStart+p.modifiedLength)&&!v)break;p.originalStart++,p.modifiedStart++}let h=[null];if(f<n.length-1&&this.ChangesOverlap(n[f],n[f+1],h)){n[f]=h[0],n.splice(f+1,1),f--;continue}}for(let f=n.length-1;f>=0;f--){const p=n[f];let a=0,d=0;if(f>0){const z=n[f-1];a=z.originalStart+z.originalLength,d=z.modifiedStart+z.modifiedLength}const k=p.originalLength>0,J=p.modifiedLength>0;let h=0,v=this._boundaryScore(p.originalStart,p.originalLength,p.modifiedStart,p.modifiedLength);for(let z=1;;z++){const ie=p.originalStart-z,b=p.modifiedStart-z;if(ie<a||b<d||k&&!this.OriginalElementsAreEqual(ie,ie+p.originalLength)||J&&!this.ModifiedElementsAreEqual(b,b+p.modifiedLength))break;const S=(ie===a&&b===d?5:0)+this._boundaryScore(ie,p.originalLength,b,p.modifiedLength);S>v&&(v=S,h=z)}p.originalStart-=h,p.modifiedStart-=h;const A=[null];if(f>0&&this.ChangesOverlap(n[f-1],n[f],A)){n[f-1]=A[0],n.splice(f,1),f++;continue}}if(this._hasStrings)for(let f=1,p=n.length;f<p;f++){const a=n[f-1],d=n[f],k=d.originalStart-a.originalStart-a.originalLength,J=a.originalStart,h=d.originalStart+d.originalLength,v=h-J,A=a.modifiedStart,z=d.modifiedStart+d.modifiedLength,ie=z-A;if(k<5&&v<20&&ie<20){const b=this._findBetterContiguousSequence(J,v,A,ie,k);if(b){const[M,S]=b;(M!==a.originalStart+a.originalLength||S!==a.modifiedStart+a.modifiedLength)&&(a.originalLength=M-a.originalStart,a.modifiedLength=S-a.modifiedStart,d.originalStart=M+k,d.modifiedStart=S+k,d.originalLength=h-d.originalStart,d.modifiedLength=z-d.modifiedStart)}}}return n}_findBetterContiguousSequence(n,f,p,a,d){if(f<d||a<d)return null;const k=n+f-d+1,J=p+a-d+1;let h=0,v=0,A=0;for(let z=n;z<k;z++)for(let ie=p;ie<J;ie++){const b=this._contiguousSequenceScore(z,ie,d);b>0&&b>h&&(h=b,v=z,A=ie)}return h>0?[v,A]:null}_contiguousSequenceScore(n,f,p){let a=0;for(let d=0;d<p;d++){if(!this.ElementsAreEqual(n+d,f+d))return 0;a+=this._originalStringElements[n+d].length}return a}_OriginalIsBoundary(n){return n<=0||n>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\\s*$/.test(this._originalStringElements[n])}_OriginalRegionIsBoundary(n,f){if(this._OriginalIsBoundary(n)||this._OriginalIsBoundary(n-1))return!0;if(f>0){const p=n+f;if(this._OriginalIsBoundary(p-1)||this._OriginalIsBoundary(p))return!0}return!1}_ModifiedIsBoundary(n){return n<=0||n>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\\s*$/.test(this._modifiedStringElements[n])}_ModifiedRegionIsBoundary(n,f){if(this._ModifiedIsBoundary(n)||this._ModifiedIsBoundary(n-1))return!0;if(f>0){const p=n+f;if(this._ModifiedIsBoundary(p-1)||this._ModifiedIsBoundary(p))return!0}return!1}_boundaryScore(n,f,p,a){const d=this._OriginalRegionIsBoundary(n,f)?1:0,k=this._ModifiedRegionIsBoundary(p,a)?1:0;return d+k}ConcatenateChanges(n,f){let p=[];if(n.length===0||f.length===0)return f.length>0?f:n;if(this.ChangesOverlap(n[n.length-1],f[0],p)){const a=new Array(n.length+f.length-1);return Cg.Copy(n,0,a,0,n.length-1),a[n.length-1]=p[0],Cg.Copy(f,1,a,n.length,f.length-1),a}else{const a=new Array(n.length+f.length);return Cg.Copy(n,0,a,0,n.length),Cg.Copy(f,0,a,n.length,f.length),a}}ChangesOverlap(n,f,p){if(Ag.Assert(n.originalStart<=f.originalStart,\"Left change is not less than or equal to right change\"),Ag.Assert(n.modifiedStart<=f.modifiedStart,\"Left change is not less than or equal to right change\"),n.originalStart+n.originalLength>=f.originalStart||n.modifiedStart+n.modifiedLength>=f.modifiedStart){const a=n.originalStart;let d=n.originalLength;const k=n.modifiedStart;let J=n.modifiedLength;return n.originalStart+n.originalLength>=f.originalStart&&(d=f.originalStart+f.originalLength-n.originalStart),n.modifiedStart+n.modifiedLength>=f.modifiedStart&&(J=f.modifiedStart+f.modifiedLength-n.modifiedStart),p[0]=new Y_(a,d,k,J),!0}else return p[0]=null,!1}ClipDiagonalBound(n,f,p,a){if(n>=0&&n<a)return n;const d=p,k=a-p-1,J=f%2===0;if(n<0){const h=d%2===0;return J===h?0:1}else{const h=k%2===0;return J===h?a-1:a-2}}}let xg;if(typeof su.vscode!=\"undefined\"&&typeof su.vscode.process!=\"undefined\"){const e=su.vscode.process;xg={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()}}}else typeof process!=\"undefined\"?xg={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:xg={get platform(){return Nv?\"win32\":WI?\"darwin\":\"linux\"},get arch(){},get env(){return{}},cwd(){return\"/\"}};const sE=xg.cwd,mN=xg.env,km=xg.platform,gN=65,vN=97,hN=90,yN=122,Z_=46,Wc=47,pf=92,$_=58,bN=63;class YT extends Error{constructor(n,f,p){let a;typeof f==\"string\"&&f.indexOf(\"not \")===0?(a=\"must not be\",f=f.replace(/^not /,\"\")):a=\"must be\";const d=n.indexOf(\".\")!==-1?\"property\":\"argument\";let k=`The \"${n}\" ${d} ${a} of type ${f}`;k+=`. Received type ${typeof p}`,super(k),this.code=\"ERR_INVALID_ARG_TYPE\"}}function Kl(e,n){if(typeof e!=\"string\")throw new YT(n,\"string\",e)}function Zo(e){return e===Wc||e===pf}function lE(e){return e===Wc}function em(e){return e>=gN&&e<=hN||e>=vN&&e<=yN}function Qh(e,n,f,p){let a=\"\",d=0,k=-1,J=0,h=0;for(let v=0;v<=e.length;++v){if(v<e.length)h=e.charCodeAt(v);else{if(p(h))break;h=Wc}if(p(h)){if(!(k===v-1||J===1))if(J===2){if(a.length<2||d!==2||a.charCodeAt(a.length-1)!==Z_||a.charCodeAt(a.length-2)!==Z_){if(a.length>2){const A=a.lastIndexOf(f);A===-1?(a=\"\",d=0):(a=a.slice(0,A),d=a.length-1-a.lastIndexOf(f)),k=v,J=0;continue}else if(a.length!==0){a=\"\",d=0,k=v,J=0;continue}}n&&(a+=a.length>0?`${f}..`:\"..\",d=2)}else a.length>0?a+=`${f}${e.slice(k+1,v)}`:a=e.slice(k+1,v),d=v-k-1;k=v,J=0}else h===Z_&&J!==-1?++J:J=-1}return a}function QT(e,n){if(n===null||typeof n!=\"object\")throw new YT(\"pathObject\",\"Object\",n);const f=n.dir||n.root,p=n.base||`${n.name||\"\"}${n.ext||\"\"}`;return f?f===n.root?`${f}${p}`:`${f}${e}${p}`:p}const Yu={resolve(...e){let n=\"\",f=\"\",p=!1;for(let a=e.length-1;a>=-1;a--){let d;if(a>=0){if(d=e[a],Kl(d,\"path\"),d.length===0)continue}else n.length===0?d=sE():(d=mN[`=${n}`]||sE(),(d===void 0||d.slice(0,2).toLowerCase()!==n.toLowerCase()&&d.charCodeAt(2)===pf)&&(d=`${n}\\\\`));const k=d.length;let J=0,h=\"\",v=!1;const A=d.charCodeAt(0);if(k===1)Zo(A)&&(J=1,v=!0);else if(Zo(A))if(v=!0,Zo(d.charCodeAt(1))){let z=2,ie=z;for(;z<k&&!Zo(d.charCodeAt(z));)z++;if(z<k&&z!==ie){const b=d.slice(ie,z);for(ie=z;z<k&&Zo(d.charCodeAt(z));)z++;if(z<k&&z!==ie){for(ie=z;z<k&&!Zo(d.charCodeAt(z));)z++;(z===k||z!==ie)&&(h=`\\\\\\\\${b}\\\\${d.slice(ie,z)}`,J=z)}}}else J=1;else em(A)&&d.charCodeAt(1)===$_&&(h=d.slice(0,2),J=2,k>2&&Zo(d.charCodeAt(2))&&(v=!0,J=3));if(h.length>0)if(n.length>0){if(h.toLowerCase()!==n.toLowerCase())continue}else n=h;if(p){if(n.length>0)break}else if(f=`${d.slice(J)}\\\\${f}`,p=v,v&&n.length>0)break}return f=Qh(f,!p,\"\\\\\",Zo),p?`${n}\\\\${f}`:`${n}${f}`||\".\"},normalize(e){Kl(e,\"path\");const n=e.length;if(n===0)return\".\";let f=0,p,a=!1;const d=e.charCodeAt(0);if(n===1)return lE(d)?\"\\\\\":e;if(Zo(d))if(a=!0,Zo(e.charCodeAt(1))){let J=2,h=J;for(;J<n&&!Zo(e.charCodeAt(J));)J++;if(J<n&&J!==h){const v=e.slice(h,J);for(h=J;J<n&&Zo(e.charCodeAt(J));)J++;if(J<n&&J!==h){for(h=J;J<n&&!Zo(e.charCodeAt(J));)J++;if(J===n)return`\\\\\\\\${v}\\\\${e.slice(h)}\\\\`;J!==h&&(p=`\\\\\\\\${v}\\\\${e.slice(h,J)}`,f=J)}}}else f=1;else em(d)&&e.charCodeAt(1)===$_&&(p=e.slice(0,2),f=2,n>2&&Zo(e.charCodeAt(2))&&(a=!0,f=3));let k=f<n?Qh(e.slice(f),!a,\"\\\\\",Zo):\"\";return k.length===0&&!a&&(k=\".\"),k.length>0&&Zo(e.charCodeAt(n-1))&&(k+=\"\\\\\"),p===void 0?a?`\\\\${k}`:k:a?`${p}\\\\${k}`:`${p}${k}`},isAbsolute(e){Kl(e,\"path\");const n=e.length;if(n===0)return!1;const f=e.charCodeAt(0);return Zo(f)||n>2&&em(f)&&e.charCodeAt(1)===$_&&Zo(e.charCodeAt(2))},join(...e){if(e.length===0)return\".\";let n,f;for(let d=0;d<e.length;++d){const k=e[d];Kl(k,\"path\"),k.length>0&&(n===void 0?n=f=k:n+=`\\\\${k}`)}if(n===void 0)return\".\";let p=!0,a=0;if(typeof f==\"string\"&&Zo(f.charCodeAt(0))){++a;const d=f.length;d>1&&Zo(f.charCodeAt(1))&&(++a,d>2&&(Zo(f.charCodeAt(2))?++a:p=!1))}if(p){for(;a<n.length&&Zo(n.charCodeAt(a));)a++;a>=2&&(n=`\\\\${n.slice(a)}`)}return Yu.normalize(n)},relative(e,n){if(Kl(e,\"from\"),Kl(n,\"to\"),e===n)return\"\";const f=Yu.resolve(e),p=Yu.resolve(n);if(f===p||(e=f.toLowerCase(),n=p.toLowerCase(),e===n))return\"\";let a=0;for(;a<e.length&&e.charCodeAt(a)===pf;)a++;let d=e.length;for(;d-1>a&&e.charCodeAt(d-1)===pf;)d--;const k=d-a;let J=0;for(;J<n.length&&n.charCodeAt(J)===pf;)J++;let h=n.length;for(;h-1>J&&n.charCodeAt(h-1)===pf;)h--;const v=h-J,A=k<v?k:v;let z=-1,ie=0;for(;ie<A;ie++){const M=e.charCodeAt(a+ie);if(M!==n.charCodeAt(J+ie))break;M===pf&&(z=ie)}if(ie!==A){if(z===-1)return p}else{if(v>A){if(n.charCodeAt(J+ie)===pf)return p.slice(J+ie+1);if(ie===2)return p.slice(J+ie)}k>A&&(e.charCodeAt(a+ie)===pf?z=ie:ie===2&&(z=3)),z===-1&&(z=0)}let b=\"\";for(ie=a+z+1;ie<=d;++ie)(ie===d||e.charCodeAt(ie)===pf)&&(b+=b.length===0?\"..\":\"\\\\..\");return J+=z,b.length>0?`${b}${p.slice(J,h)}`:(p.charCodeAt(J)===pf&&++J,p.slice(J,h))},toNamespacedPath(e){if(typeof e!=\"string\")return e;if(e.length===0)return\"\";const n=Yu.resolve(e);if(n.length<=2)return e;if(n.charCodeAt(0)===pf){if(n.charCodeAt(1)===pf){const f=n.charCodeAt(2);if(f!==bN&&f!==Z_)return`\\\\\\\\?\\\\UNC\\\\${n.slice(2)}`}}else if(em(n.charCodeAt(0))&&n.charCodeAt(1)===$_&&n.charCodeAt(2)===pf)return`\\\\\\\\?\\\\${n}`;return e},dirname(e){Kl(e,\"path\");const n=e.length;if(n===0)return\".\";let f=-1,p=0;const a=e.charCodeAt(0);if(n===1)return Zo(a)?e:\".\";if(Zo(a)){if(f=p=1,Zo(e.charCodeAt(1))){let J=2,h=J;for(;J<n&&!Zo(e.charCodeAt(J));)J++;if(J<n&&J!==h){for(h=J;J<n&&Zo(e.charCodeAt(J));)J++;if(J<n&&J!==h){for(h=J;J<n&&!Zo(e.charCodeAt(J));)J++;if(J===n)return e;J!==h&&(f=p=J+1)}}}}else em(a)&&e.charCodeAt(1)===$_&&(f=n>2&&Zo(e.charCodeAt(2))?3:2,p=f);let d=-1,k=!0;for(let J=n-1;J>=p;--J)if(Zo(e.charCodeAt(J))){if(!k){d=J;break}}else k=!1;if(d===-1){if(f===-1)return\".\";d=f}return e.slice(0,d)},basename(e,n){n!==void 0&&Kl(n,\"ext\"),Kl(e,\"path\");let f=0,p=-1,a=!0,d;if(e.length>=2&&em(e.charCodeAt(0))&&e.charCodeAt(1)===$_&&(f=2),n!==void 0&&n.length>0&&n.length<=e.length){if(n===e)return\"\";let k=n.length-1,J=-1;for(d=e.length-1;d>=f;--d){const h=e.charCodeAt(d);if(Zo(h)){if(!a){f=d+1;break}}else J===-1&&(a=!1,J=d+1),k>=0&&(h===n.charCodeAt(k)?--k===-1&&(p=d):(k=-1,p=J))}return f===p?p=J:p===-1&&(p=e.length),e.slice(f,p)}for(d=e.length-1;d>=f;--d)if(Zo(e.charCodeAt(d))){if(!a){f=d+1;break}}else p===-1&&(a=!1,p=d+1);return p===-1?\"\":e.slice(f,p)},extname(e){Kl(e,\"path\");let n=0,f=-1,p=0,a=-1,d=!0,k=0;e.length>=2&&e.charCodeAt(1)===$_&&em(e.charCodeAt(0))&&(n=p=2);for(let J=e.length-1;J>=n;--J){const h=e.charCodeAt(J);if(Zo(h)){if(!d){p=J+1;break}continue}a===-1&&(d=!1,a=J+1),h===Z_?f===-1?f=J:k!==1&&(k=1):f!==-1&&(k=-1)}return f===-1||a===-1||k===0||k===1&&f===a-1&&f===p+1?\"\":e.slice(f,a)},format:QT.bind(null,\"\\\\\"),parse(e){Kl(e,\"path\");const n={root:\"\",dir:\"\",base:\"\",ext:\"\",name:\"\"};if(e.length===0)return n;const f=e.length;let p=0,a=e.charCodeAt(0);if(f===1)return Zo(a)?(n.root=n.dir=e,n):(n.base=n.name=e,n);if(Zo(a)){if(p=1,Zo(e.charCodeAt(1))){let z=2,ie=z;for(;z<f&&!Zo(e.charCodeAt(z));)z++;if(z<f&&z!==ie){for(ie=z;z<f&&Zo(e.charCodeAt(z));)z++;if(z<f&&z!==ie){for(ie=z;z<f&&!Zo(e.charCodeAt(z));)z++;z===f?p=z:z!==ie&&(p=z+1)}}}}else if(em(a)&&e.charCodeAt(1)===$_){if(f<=2)return n.root=n.dir=e,n;if(p=2,Zo(e.charCodeAt(2))){if(f===3)return n.root=n.dir=e,n;p=3}}p>0&&(n.root=e.slice(0,p));let d=-1,k=p,J=-1,h=!0,v=e.length-1,A=0;for(;v>=p;--v){if(a=e.charCodeAt(v),Zo(a)){if(!h){k=v+1;break}continue}J===-1&&(h=!1,J=v+1),a===Z_?d===-1?d=v:A!==1&&(A=1):d!==-1&&(A=-1)}return J!==-1&&(d===-1||A===0||A===1&&d===J-1&&d===k+1?n.base=n.name=e.slice(k,J):(n.name=e.slice(k,d),n.base=e.slice(k,J),n.ext=e.slice(d,J))),k>0&&k!==p?n.dir=e.slice(0,k-1):n.dir=n.root,n},sep:\"\\\\\",delimiter:\";\",win32:null,posix:null},_f={resolve(...e){let n=\"\",f=!1;for(let p=e.length-1;p>=-1&&!f;p--){const a=p>=0?e[p]:sE();Kl(a,\"path\"),a.length!==0&&(n=`${a}/${n}`,f=a.charCodeAt(0)===Wc)}return n=Qh(n,!f,\"/\",lE),f?`/${n}`:n.length>0?n:\".\"},normalize(e){if(Kl(e,\"path\"),e.length===0)return\".\";const n=e.charCodeAt(0)===Wc,f=e.charCodeAt(e.length-1)===Wc;return e=Qh(e,!n,\"/\",lE),e.length===0?n?\"/\":f?\"./\":\".\":(f&&(e+=\"/\"),n?`/${e}`:e)},isAbsolute(e){return Kl(e,\"path\"),e.length>0&&e.charCodeAt(0)===Wc},join(...e){if(e.length===0)return\".\";let n;for(let f=0;f<e.length;++f){const p=e[f];Kl(p,\"path\"),p.length>0&&(n===void 0?n=p:n+=`/${p}`)}return n===void 0?\".\":_f.normalize(n)},relative(e,n){if(Kl(e,\"from\"),Kl(n,\"to\"),e===n||(e=_f.resolve(e),n=_f.resolve(n),e===n))return\"\";const f=1,p=e.length,a=p-f,d=1,k=n.length-d,J=a<k?a:k;let h=-1,v=0;for(;v<J;v++){const z=e.charCodeAt(f+v);if(z!==n.charCodeAt(d+v))break;z===Wc&&(h=v)}if(v===J)if(k>J){if(n.charCodeAt(d+v)===Wc)return n.slice(d+v+1);if(v===0)return n.slice(d+v)}else a>J&&(e.charCodeAt(f+v)===Wc?h=v:v===0&&(h=0));let A=\"\";for(v=f+h+1;v<=p;++v)(v===p||e.charCodeAt(v)===Wc)&&(A+=A.length===0?\"..\":\"/..\");return`${A}${n.slice(d+h)}`},toNamespacedPath(e){return e},dirname(e){if(Kl(e,\"path\"),e.length===0)return\".\";const n=e.charCodeAt(0)===Wc;let f=-1,p=!0;for(let a=e.length-1;a>=1;--a)if(e.charCodeAt(a)===Wc){if(!p){f=a;break}}else p=!1;return f===-1?n?\"/\":\".\":n&&f===1?\"//\":e.slice(0,f)},basename(e,n){n!==void 0&&Kl(n,\"ext\"),Kl(e,\"path\");let f=0,p=-1,a=!0,d;if(n!==void 0&&n.length>0&&n.length<=e.length){if(n===e)return\"\";let k=n.length-1,J=-1;for(d=e.length-1;d>=0;--d){const h=e.charCodeAt(d);if(h===Wc){if(!a){f=d+1;break}}else J===-1&&(a=!1,J=d+1),k>=0&&(h===n.charCodeAt(k)?--k===-1&&(p=d):(k=-1,p=J))}return f===p?p=J:p===-1&&(p=e.length),e.slice(f,p)}for(d=e.length-1;d>=0;--d)if(e.charCodeAt(d)===Wc){if(!a){f=d+1;break}}else p===-1&&(a=!1,p=d+1);return p===-1?\"\":e.slice(f,p)},extname(e){Kl(e,\"path\");let n=-1,f=0,p=-1,a=!0,d=0;for(let k=e.length-1;k>=0;--k){const J=e.charCodeAt(k);if(J===Wc){if(!a){f=k+1;break}continue}p===-1&&(a=!1,p=k+1),J===Z_?n===-1?n=k:d!==1&&(d=1):n!==-1&&(d=-1)}return n===-1||p===-1||d===0||d===1&&n===p-1&&n===f+1?\"\":e.slice(n,p)},format:QT.bind(null,\"/\"),parse(e){Kl(e,\"path\");const n={root:\"\",dir:\"\",base:\"\",ext:\"\",name:\"\"};if(e.length===0)return n;const f=e.charCodeAt(0)===Wc;let p;f?(n.root=\"/\",p=1):p=0;let a=-1,d=0,k=-1,J=!0,h=e.length-1,v=0;for(;h>=p;--h){const A=e.charCodeAt(h);if(A===Wc){if(!J){d=h+1;break}continue}k===-1&&(J=!1,k=h+1),A===Z_?a===-1?a=h:v!==1&&(v=1):a!==-1&&(v=-1)}if(k!==-1){const A=d===0&&f?1:d;a===-1||v===0||v===1&&a===k-1&&a===d+1?n.base=n.name=e.slice(A,k):(n.name=e.slice(A,a),n.base=e.slice(A,k),n.ext=e.slice(a,k))}return d>0?n.dir=e.slice(0,d-1):f&&(n.dir=\"/\"),n},sep:\"/\",delimiter:\":\",win32:null,posix:null};_f.win32=Yu.win32=Yu,_f.posix=Yu.posix=_f,km===\"win32\"?Yu.normalize:_f.normalize,km===\"win32\"?Yu.resolve:_f.resolve,km===\"win32\"?Yu.relative:_f.relative,km===\"win32\"?Yu.dirname:_f.dirname,km===\"win32\"?Yu.basename:_f.basename,km===\"win32\"?Yu.extname:_f.extname,km===\"win32\"?Yu.sep:_f.sep;const EN=/^\\w[\\w\\d+.-]*$/,TN=/^\\//,SN=/^\\/\\//;function ZT(e,n){if(!e.scheme&&n)throw new Error(`[UriError]: Scheme is missing: {scheme: \"\", authority: \"${e.authority}\", path: \"${e.path}\", query: \"${e.query}\", fragment: \"${e.fragment}\"}`);if(e.scheme&&!EN.test(e.scheme))throw new Error(\"[UriError]: Scheme contains illegal characters.\");if(e.path){if(e.authority){if(!TN.test(e.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(SN.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters (\"//\")')}}function DN(e,n){return!e&&!n?\"file\":e}function LN(e,n){switch(e){case\"https\":case\"http\":case\"file\":n?n[0]!==hp&&(n=hp+n):n=hp;break}return n}const fl=\"\",hp=\"/\",AN=/^(([^:/?#]+?):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/;class Om{constructor(n,f,p,a,d,k=!1){typeof n==\"object\"?(this.scheme=n.scheme||fl,this.authority=n.authority||fl,this.path=n.path||fl,this.query=n.query||fl,this.fragment=n.fragment||fl):(this.scheme=DN(n,k),this.authority=f||fl,this.path=LN(this.scheme,p||fl),this.query=a||fl,this.fragment=d||fl,ZT(this,k))}static isUri(n){return n instanceof Om?!0:n?typeof n.authority==\"string\"&&typeof n.fragment==\"string\"&&typeof n.path==\"string\"&&typeof n.query==\"string\"&&typeof n.scheme==\"string\"&&typeof n.fsPath==\"string\"&&typeof n.with==\"function\"&&typeof n.toString==\"function\":!1}get fsPath(){return cE(this,!1)}with(n){if(!n)return this;let{scheme:f,authority:p,path:a,query:d,fragment:k}=n;return f===void 0?f=this.scheme:f===null&&(f=fl),p===void 0?p=this.authority:p===null&&(p=fl),a===void 0?a=this.path:a===null&&(a=fl),d===void 0?d=this.query:d===null&&(d=fl),k===void 0?k=this.fragment:k===null&&(k=fl),f===this.scheme&&p===this.authority&&a===this.path&&d===this.query&&k===this.fragment?this:new Ig(f,p,a,d,k)}static parse(n,f=!1){const p=AN.exec(n);return p?new Ig(p[2]||fl,Zh(p[4]||fl),Zh(p[5]||fl),Zh(p[7]||fl),Zh(p[9]||fl),f):new Ig(fl,fl,fl,fl,fl)}static file(n){let f=fl;if(Nv&&(n=n.replace(/\\\\/g,hp)),n[0]===hp&&n[1]===hp){const p=n.indexOf(hp,2);p===-1?(f=n.substring(2),n=hp):(f=n.substring(2,p),n=n.substring(p)||hp)}return new Ig(\"file\",f,n,fl,fl)}static from(n){const f=new Ig(n.scheme,n.authority,n.path,n.query,n.fragment);return ZT(f,!0),f}static joinPath(n,...f){if(!n.path)throw new Error(\"[UriError]: cannot call joinPath on URI without path\");let p;return Nv&&n.scheme===\"file\"?p=Om.file(Yu.join(cE(n,!0),...f)).path:p=_f.join(n.path,...f),n.with({path:p})}toString(n=!1){return uE(this,n)}toJSON(){return this}static revive(n){if(n){if(n instanceof Om)return n;{const f=new Ig(n);return f._formatted=n.external,f._fsPath=n._sep===$T?n.fsPath:null,f}}else return n}}const $T=Nv?1:void 0;class Ig extends Om{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=cE(this,!1)),this._fsPath}toString(n=!1){return n?uE(this,!0):(this._formatted||(this._formatted=uE(this,!1)),this._formatted)}toJSON(){const n={$mid:1};return this._fsPath&&(n.fsPath=this._fsPath,n._sep=$T),this._formatted&&(n.external=this._formatted),this.path&&(n.path=this.path),this.scheme&&(n.scheme=this.scheme),this.authority&&(n.authority=this.authority),this.query&&(n.query=this.query),this.fragment&&(n.fragment=this.fragment),n}}const eS={[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 rS(e,n){let f,p=-1;for(let a=0;a<e.length;a++){const d=e.charCodeAt(a);if(d>=97&&d<=122||d>=65&&d<=90||d>=48&&d<=57||d===45||d===46||d===95||d===126||n&&d===47)p!==-1&&(f+=encodeURIComponent(e.substring(p,a)),p=-1),f!==void 0&&(f+=e.charAt(a));else{f===void 0&&(f=e.substr(0,a));const k=eS[d];k!==void 0?(p!==-1&&(f+=encodeURIComponent(e.substring(p,a)),p=-1),f+=k):p===-1&&(p=a)}}return p!==-1&&(f+=encodeURIComponent(e.substring(p))),f!==void 0?f:e}function CN(e){let n;for(let f=0;f<e.length;f++){const p=e.charCodeAt(f);p===35||p===63?(n===void 0&&(n=e.substr(0,f)),n+=eS[p]):n!==void 0&&(n+=e[f])}return n!==void 0?n:e}function cE(e,n){let f;return e.authority&&e.path.length>1&&e.scheme===\"file\"?f=`//${e.authority}${e.path}`:e.path.charCodeAt(0)===47&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&e.path.charCodeAt(2)===58?n?f=e.path.substr(1):f=e.path[1].toLowerCase()+e.path.substr(2):f=e.path,Nv&&(f=f.replace(/\\//g,\"\\\\\")),f}function uE(e,n){const f=n?CN:rS;let p=\"\",{scheme:a,authority:d,path:k,query:J,fragment:h}=e;if(a&&(p+=a,p+=\":\"),(d||a===\"file\")&&(p+=hp,p+=hp),d){let v=d.indexOf(\"@\");if(v!==-1){const A=d.substr(0,v);d=d.substr(v+1),v=A.indexOf(\":\"),v===-1?p+=f(A,!1):(p+=f(A.substr(0,v),!1),p+=\":\",p+=f(A.substr(v+1),!1)),p+=\"@\"}d=d.toLowerCase(),v=d.indexOf(\":\"),v===-1?p+=f(d,!1):(p+=f(d.substr(0,v),!1),p+=d.substr(v))}if(k){if(k.length>=3&&k.charCodeAt(0)===47&&k.charCodeAt(2)===58){const v=k.charCodeAt(1);v>=65&&v<=90&&(k=`/${String.fromCharCode(v+32)}:${k.substr(3)}`)}else if(k.length>=2&&k.charCodeAt(1)===58){const v=k.charCodeAt(0);v>=65&&v<=90&&(k=`${String.fromCharCode(v+32)}:${k.substr(2)}`)}p+=f(k,!0)}return J&&(p+=\"?\",p+=f(J,!1)),h&&(p+=\"#\",p+=n?h:rS(h,!1)),p}function tS(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+tS(e.substr(3)):e}}const nS=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function Zh(e){return e.match(nS)?e.replace(nS,n=>tS(n)):e}class mf{constructor(n,f){this.lineNumber=n,this.column=f}with(n=this.lineNumber,f=this.column){return n===this.lineNumber&&f===this.column?this:new mf(n,f)}delta(n=0,f=0){return this.with(this.lineNumber+n,this.column+f)}equals(n){return mf.equals(this,n)}static equals(n,f){return!n&&!f?!0:!!n&&!!f&&n.lineNumber===f.lineNumber&&n.column===f.column}isBefore(n){return mf.isBefore(this,n)}static isBefore(n,f){return n.lineNumber<f.lineNumber?!0:f.lineNumber<n.lineNumber?!1:n.column<f.column}isBeforeOrEqual(n){return mf.isBeforeOrEqual(this,n)}static isBeforeOrEqual(n,f){return n.lineNumber<f.lineNumber?!0:f.lineNumber<n.lineNumber?!1:n.column<=f.column}static compare(n,f){const p=n.lineNumber|0,a=f.lineNumber|0;if(p===a){const d=n.column|0,k=f.column|0;return d-k}return p-a}clone(){return new mf(this.lineNumber,this.column)}toString(){return\"(\"+this.lineNumber+\",\"+this.column+\")\"}static lift(n){return new mf(n.lineNumber,n.column)}static isIPosition(n){return n&&typeof n.lineNumber==\"number\"&&typeof n.column==\"number\"}}class yl{constructor(n,f,p,a){n>p||n===p&&f>a?(this.startLineNumber=p,this.startColumn=a,this.endLineNumber=n,this.endColumn=f):(this.startLineNumber=n,this.startColumn=f,this.endLineNumber=p,this.endColumn=a)}isEmpty(){return yl.isEmpty(this)}static isEmpty(n){return n.startLineNumber===n.endLineNumber&&n.startColumn===n.endColumn}containsPosition(n){return yl.containsPosition(this,n)}static containsPosition(n,f){return!(f.lineNumber<n.startLineNumber||f.lineNumber>n.endLineNumber||f.lineNumber===n.startLineNumber&&f.column<n.startColumn||f.lineNumber===n.endLineNumber&&f.column>n.endColumn)}static strictContainsPosition(n,f){return!(f.lineNumber<n.startLineNumber||f.lineNumber>n.endLineNumber||f.lineNumber===n.startLineNumber&&f.column<=n.startColumn||f.lineNumber===n.endLineNumber&&f.column>=n.endColumn)}containsRange(n){return yl.containsRange(this,n)}static containsRange(n,f){return!(f.startLineNumber<n.startLineNumber||f.endLineNumber<n.startLineNumber||f.startLineNumber>n.endLineNumber||f.endLineNumber>n.endLineNumber||f.startLineNumber===n.startLineNumber&&f.startColumn<n.startColumn||f.endLineNumber===n.endLineNumber&&f.endColumn>n.endColumn)}strictContainsRange(n){return yl.strictContainsRange(this,n)}static strictContainsRange(n,f){return!(f.startLineNumber<n.startLineNumber||f.endLineNumber<n.startLineNumber||f.startLineNumber>n.endLineNumber||f.endLineNumber>n.endLineNumber||f.startLineNumber===n.startLineNumber&&f.startColumn<=n.startColumn||f.endLineNumber===n.endLineNumber&&f.endColumn>=n.endColumn)}plusRange(n){return yl.plusRange(this,n)}static plusRange(n,f){let p,a,d,k;return f.startLineNumber<n.startLineNumber?(p=f.startLineNumber,a=f.startColumn):f.startLineNumber===n.startLineNumber?(p=f.startLineNumber,a=Math.min(f.startColumn,n.startColumn)):(p=n.startLineNumber,a=n.startColumn),f.endLineNumber>n.endLineNumber?(d=f.endLineNumber,k=f.endColumn):f.endLineNumber===n.endLineNumber?(d=f.endLineNumber,k=Math.max(f.endColumn,n.endColumn)):(d=n.endLineNumber,k=n.endColumn),new yl(p,a,d,k)}intersectRanges(n){return yl.intersectRanges(this,n)}static intersectRanges(n,f){let p=n.startLineNumber,a=n.startColumn,d=n.endLineNumber,k=n.endColumn,J=f.startLineNumber,h=f.startColumn,v=f.endLineNumber,A=f.endColumn;return p<J?(p=J,a=h):p===J&&(a=Math.max(a,h)),d>v?(d=v,k=A):d===v&&(k=Math.min(k,A)),p>d||p===d&&a>k?null:new yl(p,a,d,k)}equalsRange(n){return yl.equalsRange(this,n)}static equalsRange(n,f){return!!n&&!!f&&n.startLineNumber===f.startLineNumber&&n.startColumn===f.startColumn&&n.endLineNumber===f.endLineNumber&&n.endColumn===f.endColumn}getEndPosition(){return yl.getEndPosition(this)}static getEndPosition(n){return new mf(n.endLineNumber,n.endColumn)}getStartPosition(){return yl.getStartPosition(this)}static getStartPosition(n){return new mf(n.startLineNumber,n.startColumn)}toString(){return\"[\"+this.startLineNumber+\",\"+this.startColumn+\" -> \"+this.endLineNumber+\",\"+this.endColumn+\"]\"}setEndPosition(n,f){return new yl(this.startLineNumber,this.startColumn,n,f)}setStartPosition(n,f){return new yl(n,f,this.endLineNumber,this.endColumn)}collapseToStart(){return yl.collapseToStart(this)}static collapseToStart(n){return new yl(n.startLineNumber,n.startColumn,n.startLineNumber,n.startColumn)}static fromPositions(n,f=n){return new yl(n.lineNumber,n.column,f.lineNumber,f.column)}static lift(n){return n?new yl(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn):null}static isIRange(n){return n&&typeof n.startLineNumber==\"number\"&&typeof n.startColumn==\"number\"&&typeof n.endLineNumber==\"number\"&&typeof n.endColumn==\"number\"}static areIntersectingOrTouching(n,f){return!(n.endLineNumber<f.startLineNumber||n.endLineNumber===f.startLineNumber&&n.endColumn<f.startColumn||f.endLineNumber<n.startLineNumber||f.endLineNumber===n.startLineNumber&&f.endColumn<n.startColumn)}static areIntersecting(n,f){return!(n.endLineNumber<f.startLineNumber||n.endLineNumber===f.startLineNumber&&n.endColumn<=f.startColumn||f.endLineNumber<n.startLineNumber||f.endLineNumber===n.startLineNumber&&f.endColumn<=n.startColumn)}static compareRangesUsingStarts(n,f){if(n&&f){const d=n.startLineNumber|0,k=f.startLineNumber|0;if(d===k){const J=n.startColumn|0,h=f.startColumn|0;if(J===h){const v=n.endLineNumber|0,A=f.endLineNumber|0;if(v===A){const z=n.endColumn|0,ie=f.endColumn|0;return z-ie}return v-A}return J-h}return d-k}return(n?1:0)-(f?1:0)}static compareRangesUsingEnds(n,f){return n.endLineNumber===f.endLineNumber?n.endColumn===f.endColumn?n.startLineNumber===f.startLineNumber?n.startColumn-f.startColumn:n.startLineNumber-f.startLineNumber:n.endColumn-f.endColumn:n.endLineNumber-f.endLineNumber}static spansMultipleLines(n){return n.endLineNumber>n.startLineNumber}toJSON(){return this}}const xN=3;function aS(e,n,f,p){return new Q_(e,n,f).ComputeDiff(p)}class iS{constructor(n){const f=[],p=[];for(let a=0,d=n.length;a<d;a++)f[a]=fE(n[a],1),p[a]=dE(n[a],1);this.lines=n,this._startColumns=f,this._endColumns=p}getElements(){const n=[];for(let f=0,p=this.lines.length;f<p;f++)n[f]=this.lines[f].substring(this._startColumns[f]-1,this._endColumns[f]-1);return n}getStrictElement(n){return this.lines[n]}getStartLineNumber(n){return n+1}getEndLineNumber(n){return n+1}createCharSequence(n,f,p){const a=[],d=[],k=[];let J=0;for(let h=f;h<=p;h++){const v=this.lines[h],A=n?this._startColumns[h]:1,z=n?this._endColumns[h]:v.length+1;for(let ie=A;ie<z;ie++)a[J]=v.charCodeAt(ie-1),d[J]=h+1,k[J]=ie,J++}return new IN(a,d,k)}}class IN{constructor(n,f,p){this._charCodes=n,this._lineNumbers=f,this._columns=p}getElements(){return this._charCodes}getStartLineNumber(n){return this._lineNumbers[n]}getStartColumn(n){return this._columns[n]}getEndLineNumber(n){return this._lineNumbers[n]}getEndColumn(n){return this._columns[n]+1}}class kv{constructor(n,f,p,a,d,k,J,h){this.originalStartLineNumber=n,this.originalStartColumn=f,this.originalEndLineNumber=p,this.originalEndColumn=a,this.modifiedStartLineNumber=d,this.modifiedStartColumn=k,this.modifiedEndLineNumber=J,this.modifiedEndColumn=h}static createFromDiffChange(n,f,p){let a,d,k,J,h,v,A,z;return n.originalLength===0?(a=0,d=0,k=0,J=0):(a=f.getStartLineNumber(n.originalStart),d=f.getStartColumn(n.originalStart),k=f.getEndLineNumber(n.originalStart+n.originalLength-1),J=f.getEndColumn(n.originalStart+n.originalLength-1)),n.modifiedLength===0?(h=0,v=0,A=0,z=0):(h=p.getStartLineNumber(n.modifiedStart),v=p.getStartColumn(n.modifiedStart),A=p.getEndLineNumber(n.modifiedStart+n.modifiedLength-1),z=p.getEndColumn(n.modifiedStart+n.modifiedLength-1)),new kv(a,d,k,J,h,v,A,z)}}function NN(e){if(e.length<=1)return e;const n=[e[0]];let f=n[0];for(let p=1,a=e.length;p<a;p++){const d=e[p],k=d.originalStart-(f.originalStart+f.originalLength),J=d.modifiedStart-(f.modifiedStart+f.modifiedLength);Math.min(k,J)<xN?(f.originalLength=d.originalStart+d.originalLength-f.originalStart,f.modifiedLength=d.modifiedStart+d.modifiedLength-f.modifiedStart):(n.push(d),f=d)}return n}class Ov{constructor(n,f,p,a,d){this.originalStartLineNumber=n,this.originalEndLineNumber=f,this.modifiedStartLineNumber=p,this.modifiedEndLineNumber=a,this.charChanges=d}static createFromDiffResult(n,f,p,a,d,k,J){let h,v,A,z,ie;if(f.originalLength===0?(h=p.getStartLineNumber(f.originalStart)-1,v=0):(h=p.getStartLineNumber(f.originalStart),v=p.getEndLineNumber(f.originalStart+f.originalLength-1)),f.modifiedLength===0?(A=a.getStartLineNumber(f.modifiedStart)-1,z=0):(A=a.getStartLineNumber(f.modifiedStart),z=a.getEndLineNumber(f.modifiedStart+f.modifiedLength-1)),k&&f.originalLength>0&&f.originalLength<20&&f.modifiedLength>0&&f.modifiedLength<20&&d()){const b=p.createCharSequence(n,f.originalStart,f.originalStart+f.originalLength-1),M=a.createCharSequence(n,f.modifiedStart,f.modifiedStart+f.modifiedLength-1);let S=aS(b,M,d,!0).changes;J&&(S=NN(S)),ie=[];for(let B=0,H=S.length;B<H;B++)ie.push(kv.createFromDiffChange(S[B],b,M))}return new Ov(h,v,A,z,ie)}}class kN{constructor(n,f,p){this.shouldComputeCharChanges=p.shouldComputeCharChanges,this.shouldPostProcessCharChanges=p.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=p.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=p.shouldMakePrettyDiff,this.originalLines=n,this.modifiedLines=f,this.original=new iS(n),this.modified=new iS(f),this.continueLineDiff=oS(p.maxComputationTime),this.continueCharDiff=oS(p.maxComputationTime===0?0:Math.min(p.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:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber: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:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};const n=aS(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),f=n.changes,p=n.quitEarly;if(this.shouldIgnoreTrimWhitespace){const J=[];for(let h=0,v=f.length;h<v;h++)J.push(Ov.createFromDiffResult(this.shouldIgnoreTrimWhitespace,f[h],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:p,changes:J}}const a=[];let d=0,k=0;for(let J=-1,h=f.length;J<h;J++){const v=J+1<h?f[J+1]:null,A=v?v.originalStart:this.originalLines.length,z=v?v.modifiedStart:this.modifiedLines.length;for(;d<A&&k<z;){const ie=this.originalLines[d],b=this.modifiedLines[k];if(ie!==b){{let M=fE(ie,1),S=fE(b,1);for(;M>1&&S>1;){const B=ie.charCodeAt(M-2),H=b.charCodeAt(S-2);if(B!==H)break;M--,S--}(M>1||S>1)&&this._pushTrimWhitespaceCharChange(a,d+1,1,M,k+1,1,S)}{let M=dE(ie,1),S=dE(b,1);const B=ie.length+1,H=b.length+1;for(;M<B&&S<H;){const I=ie.charCodeAt(M-1),w=ie.charCodeAt(S-1);if(I!==w)break;M++,S++}(M<B||S<H)&&this._pushTrimWhitespaceCharChange(a,d+1,M,B,k+1,S,H)}}d++,k++}v&&(a.push(Ov.createFromDiffResult(this.shouldIgnoreTrimWhitespace,v,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),d+=v.originalLength,k+=v.modifiedLength)}return{quitEarly:p,changes:a}}_pushTrimWhitespaceCharChange(n,f,p,a,d,k,J){if(this._mergeTrimWhitespaceCharChange(n,f,p,a,d,k,J))return;let h;this.shouldComputeCharChanges&&(h=[new kv(f,p,f,a,d,k,d,J)]),n.push(new Ov(f,f,d,d,h))}_mergeTrimWhitespaceCharChange(n,f,p,a,d,k,J){const h=n.length;if(h===0)return!1;const v=n[h-1];return v.originalEndLineNumber===0||v.modifiedEndLineNumber===0?!1:v.originalEndLineNumber+1===f&&v.modifiedEndLineNumber+1===d?(v.originalEndLineNumber=f,v.modifiedEndLineNumber=d,this.shouldComputeCharChanges&&v.charChanges&&v.charChanges.push(new kv(f,p,f,a,d,k,d,J)),!0):!1}}function fE(e,n){const f=ZI(e);return f===-1?n:f+1}function dE(e,n){const f=$I(e);return f===-1?n:f+2}function oS(e){if(e===0)return()=>!0;const n=Date.now();return()=>Date.now()-n<e}function sS(e){return e<0?0:e>255?255:e|0}function Ng(e){return e<0?0:e>4294967295?4294967295:e|0}class ON{constructor(n){this.values=n,this.prefixSum=new Uint32Array(n.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(n,f){n=Ng(n);const p=this.values,a=this.prefixSum,d=f.length;return d===0?!1:(this.values=new Uint32Array(p.length+d),this.values.set(p.subarray(0,n),0),this.values.set(p.subarray(n),n+d),this.values.set(f,n),n-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=n-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(a.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(n,f){return n=Ng(n),f=Ng(f),this.values[n]===f?!1:(this.values[n]=f,n-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=n-1),!0)}removeValues(n,f){n=Ng(n),f=Ng(f);const p=this.values,a=this.prefixSum;if(n>=p.length)return!1;const d=p.length-n;return f>=d&&(f=d),f===0?!1:(this.values=new Uint32Array(p.length-f),this.values.set(p.subarray(0,n),0),this.values.set(p.subarray(n+f),n),this.prefixSum=new Uint32Array(this.values.length),n-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=n-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(a.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(n){return n<0?0:(n=Ng(n),this._getPrefixSum(n))}_getPrefixSum(n){if(n<=this.prefixSumValidIndex[0])return this.prefixSum[n];let f=this.prefixSumValidIndex[0]+1;f===0&&(this.prefixSum[0]=this.values[0],f++),n>=this.values.length&&(n=this.values.length-1);for(let p=f;p<=n;p++)this.prefixSum[p]=this.prefixSum[p-1]+this.values[p];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],n),this.prefixSum[n]}getIndexOf(n){n=Math.floor(n),this.getTotalSum();let f=0,p=this.values.length-1,a=0,d=0,k=0;for(;f<=p;)if(a=f+(p-f)/2|0,d=this.prefixSum[a],k=d-this.values[a],n<k)p=a-1;else if(n>=d)f=a+1;else break;return new RN(a,n-k)}}class RN{constructor(n,f){this.index=n,this.remainder=f,this._prefixSumIndexOfResultBrand=void 0,this.index=n,this.remainder=f}}class wN{constructor(n,f,p,a){this._uri=n,this._lines=f,this._eol=p,this._versionId=a,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(n){n.eol&&n.eol!==this._eol&&(this._eol=n.eol,this._lineStarts=null);const f=n.changes;for(const p of f)this._acceptDeleteRange(p.range),this._acceptInsertText(new mf(p.range.startLineNumber,p.range.startColumn),p.text);this._versionId=n.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const n=this._eol.length,f=this._lines.length,p=new Uint32Array(f);for(let a=0;a<f;a++)p[a]=this._lines[a].length+n;this._lineStarts=new ON(p)}}_setLineText(n,f){this._lines[n]=f,this._lineStarts&&this._lineStarts.setValue(n,this._lines[n].length+this._eol.length)}_acceptDeleteRange(n){if(n.startLineNumber===n.endLineNumber){if(n.startColumn===n.endColumn)return;this._setLineText(n.startLineNumber-1,this._lines[n.startLineNumber-1].substring(0,n.startColumn-1)+this._lines[n.startLineNumber-1].substring(n.endColumn-1));return}this._setLineText(n.startLineNumber-1,this._lines[n.startLineNumber-1].substring(0,n.startColumn-1)+this._lines[n.endLineNumber-1].substring(n.endColumn-1)),this._lines.splice(n.startLineNumber,n.endLineNumber-n.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(n.startLineNumber,n.endLineNumber-n.startLineNumber)}_acceptInsertText(n,f){if(f.length===0)return;const p=QI(f);if(p.length===1){this._setLineText(n.lineNumber-1,this._lines[n.lineNumber-1].substring(0,n.column-1)+p[0]+this._lines[n.lineNumber-1].substring(n.column-1));return}p[p.length-1]+=this._lines[n.lineNumber-1].substring(n.column-1),this._setLineText(n.lineNumber-1,this._lines[n.lineNumber-1].substring(0,n.column-1)+p[0]);const a=new Uint32Array(p.length-1);for(let d=1;d<p.length;d++)this._lines.splice(n.lineNumber+d-1,0,p[d]),a[d-1]=p[d].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(n.lineNumber,a)}}const MN=\"`~!@#$%^&*()-=+[{]}\\\\|;:'\\\",.<>/?\";function PN(e=\"\"){let n=\"(-?\\\\d*\\\\.\\\\d\\\\w*)|([^\";for(const f of MN)e.indexOf(f)>=0||(n+=\"\\\\\"+f);return n+=\"\\\\s]+)\",new RegExp(n,\"g\")}const lS=PN();function FN(e){let n=lS;if(e&&e instanceof RegExp)if(e.global)n=e;else{let f=\"g\";e.ignoreCase&&(f+=\"i\"),e.multiline&&(f+=\"m\"),e.unicode&&(f+=\"u\"),n=new RegExp(e.source,f)}return n.lastIndex=0,n}const GN={maxLen:1e3,windowSize:15,timeBudget:150};function pE(e,n,f,p,a=GN){if(f.length>a.maxLen){let v=e-a.maxLen/2;return v<0?v=0:p+=v,f=f.substring(v,e+a.maxLen/2),pE(e,n,f,p,a)}const d=Date.now(),k=e-1-p;let J=-1,h=null;for(let v=1;!(Date.now()-d>=a.timeBudget);v++){const A=k-a.windowSize*v;n.lastIndex=Math.max(0,A);const z=BN(n,f,k,J);if(!z&&h||(h=z,A<=0))break;J=A}if(h){const v={word:h[0],startColumn:p+1+h.index,endColumn:p+1+h.index+h[0].length};return n.lastIndex=0,v}return null}function BN(e,n,f,p){let a;for(;a=e.exec(n);){const d=a.index||0;if(d<=f&&e.lastIndex>=f)return a;if(p>0&&d>p)return null}return null}class _E{constructor(n){const f=sS(n);this._defaultValue=f,this._asciiMap=_E._createAsciiMap(f),this._map=new Map}static _createAsciiMap(n){const f=new Uint8Array(256);for(let p=0;p<256;p++)f[p]=n;return f}set(n,f){const p=sS(f);n>=0&&n<256?this._asciiMap[n]=p:this._map.set(n,p)}get(n){return n>=0&&n<256?this._asciiMap[n]:this._map.get(n)||this._defaultValue}}class UN{constructor(n,f,p){const a=new Uint8Array(n*f);for(let d=0,k=n*f;d<k;d++)a[d]=p;this._data=a,this.rows=n,this.cols=f}get(n,f){return this._data[n*this.cols+f]}set(n,f,p){this._data[n*this.cols+f]=p}}class VN{constructor(n){let f=0,p=0;for(let d=0,k=n.length;d<k;d++){const[J,h,v]=n[d];h>f&&(f=h),J>p&&(p=J),v>p&&(p=v)}f++,p++;const a=new UN(p,f,0);for(let d=0,k=n.length;d<k;d++){const[J,h,v]=n[d];a.set(J,h,v)}this._states=a,this._maxCharCode=f}nextState(n,f){return f<0||f>=this._maxCharCode?0:this._states.get(n,f)}}let mE=null;function WN(){return mE===null&&(mE=new VN([[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]])),mE}let Rv=null;function jN(){if(Rv===null){Rv=new _E(0);const e=` \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`;for(let f=0;f<e.length;f++)Rv.set(e.charCodeAt(f),1);const n=\".,;\";for(let f=0;f<n.length;f++)Rv.set(n.charCodeAt(f),2)}return Rv}class $h{static _createLink(n,f,p,a,d){let k=d-1;do{const J=f.charCodeAt(k);if(n.get(J)!==2)break;k--}while(k>a);if(a>0){const J=f.charCodeAt(a-1),h=f.charCodeAt(k);(J===40&&h===41||J===91&&h===93||J===123&&h===125)&&k--}return{range:{startLineNumber:p,startColumn:a+1,endLineNumber:p,endColumn:k+2},url:f.substring(a,k+1)}}static computeLinks(n,f=WN()){const p=jN(),a=[];for(let d=1,k=n.getLineCount();d<=k;d++){const J=n.getLineContent(d),h=J.length;let v=0,A=0,z=0,ie=1,b=!1,M=!1,S=!1,B=!1;for(;v<h;){let H=!1;const I=J.charCodeAt(v);if(ie===13){let w;switch(I){case 40:b=!0,w=0;break;case 41:w=b?0:1;break;case 91:S=!0,M=!0,w=0;break;case 93:S=!1,w=M?0:1;break;case 123:B=!0,w=0;break;case 125:w=B?0:1;break;case 39:w=z===34||z===96?0:1;break;case 34:w=z===39||z===96?0:1;break;case 96:w=z===39||z===34?0:1;break;case 42:w=z===42?1:0;break;case 124:w=z===124?1:0;break;case 32:w=S?0:1;break;default:w=p.get(I)}w===1&&(a.push($h._createLink(p,J,d,A,v)),H=!0)}else if(ie===12){let w;I===91?(M=!0,w=0):w=p.get(I),w===1?H=!0:ie=13}else ie=f.nextState(ie,I),ie===0&&(H=!0);H&&(ie=1,b=!1,M=!1,B=!1,A=v+1,z=I),v++}ie===13&&a.push($h._createLink(p,J,d,A,h))}return a}}function HN(e){return!e||typeof e.getLineCount!=\"function\"||typeof e.getLineContent!=\"function\"?[]:$h.computeLinks(e)}class gE{constructor(){this._defaultValueSet=[[\"true\",\"false\"],[\"True\",\"False\"],[\"Private\",\"Public\",\"Friend\",\"ReadOnly\",\"Partial\",\"Protected\",\"WriteOnly\"],[\"public\",\"protected\",\"private\"]]}navigateValueSet(n,f,p,a,d){if(n&&f){const k=this.doNavigateValueSet(f,d);if(k)return{range:n,value:k}}if(p&&a){const k=this.doNavigateValueSet(a,d);if(k)return{range:p,value:k}}return null}doNavigateValueSet(n,f){const p=this.numberReplace(n,f);return p!==null?p:this.textReplace(n,f)}numberReplace(n,f){const p=Math.pow(10,n.length-(n.lastIndexOf(\".\")+1));let a=Number(n),d=parseFloat(n);return!isNaN(a)&&!isNaN(d)&&a===d?a===0&&!f?null:(a=Math.floor(a*p),a+=f?p:-p,String(a/p)):null}textReplace(n,f){return this.valueSetsReplace(this._defaultValueSet,n,f)}valueSetsReplace(n,f,p){let a=null;for(let d=0,k=n.length;a===null&&d<k;d++)a=this.valueSetReplace(n[d],f,p);return a}valueSetReplace(n,f,p){let a=n.indexOf(f);return a>=0?(a+=p?1:-1,a<0?a=n.length-1:a%=n.length,n[a]):null}}gE.INSTANCE=new gE;const cS=Object.freeze(function(e,n){const f=setTimeout(e.bind(n),0);return{dispose(){clearTimeout(f)}}});var ey;(function(e){function n(f){return f===e.None||f===e.Cancelled||f instanceof ry?!0:!f||typeof f!=\"object\"?!1:typeof f.isCancellationRequested==\"boolean\"&&typeof f.onCancellationRequested==\"function\"}e.isCancellationToken=n,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:nE.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:cS})})(ey||(ey={}));class ry{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?cS:(this._emitter||(this._emitter=new A_),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class JN{constructor(n){this._token=void 0,this._parentListener=void 0,this._parentListener=n&&n.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new ry),this._token}cancel(){this._token?this._token instanceof ry&&this._token.cancel():this._token=ey.Cancelled}dispose(n=!1){n&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof ry&&this._token.dispose():this._token=ey.None}}class vE{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(n,f){this._keyCodeToStr[n]=f,this._strToKeyCode[f.toLowerCase()]=n}keyCodeToStr(n){return this._keyCodeToStr[n]}strToKeyCode(n){return this._strToKeyCode[n.toLowerCase()]||0}}const ty=new vE,hE=new vE,yE=new vE,KN=new Array(230),zN=Object.create(null),qN=Object.create(null);(function(){const e=\"\",n=[[0,1,0,\"None\",0,\"unknown\",0,\"VK_UNKNOWN\",e,e],[0,1,1,\"Hyper\",0,e,0,e,e,e],[0,1,2,\"Super\",0,e,0,e,e,e],[0,1,3,\"Fn\",0,e,0,e,e,e],[0,1,4,\"FnLock\",0,e,0,e,e,e],[0,1,5,\"Suspend\",0,e,0,e,e,e],[0,1,6,\"Resume\",0,e,0,e,e,e],[0,1,7,\"Turbo\",0,e,0,e,e,e],[0,1,8,\"Sleep\",0,e,0,\"VK_SLEEP\",e,e],[0,1,9,\"WakeUp\",0,e,0,e,e,e],[31,0,10,\"KeyA\",31,\"A\",65,\"VK_A\",e,e],[32,0,11,\"KeyB\",32,\"B\",66,\"VK_B\",e,e],[33,0,12,\"KeyC\",33,\"C\",67,\"VK_C\",e,e],[34,0,13,\"KeyD\",34,\"D\",68,\"VK_D\",e,e],[35,0,14,\"KeyE\",35,\"E\",69,\"VK_E\",e,e],[36,0,15,\"KeyF\",36,\"F\",70,\"VK_F\",e,e],[37,0,16,\"KeyG\",37,\"G\",71,\"VK_G\",e,e],[38,0,17,\"KeyH\",38,\"H\",72,\"VK_H\",e,e],[39,0,18,\"KeyI\",39,\"I\",73,\"VK_I\",e,e],[40,0,19,\"KeyJ\",40,\"J\",74,\"VK_J\",e,e],[41,0,20,\"KeyK\",41,\"K\",75,\"VK_K\",e,e],[42,0,21,\"KeyL\",42,\"L\",76,\"VK_L\",e,e],[43,0,22,\"KeyM\",43,\"M\",77,\"VK_M\",e,e],[44,0,23,\"KeyN\",44,\"N\",78,\"VK_N\",e,e],[45,0,24,\"KeyO\",45,\"O\",79,\"VK_O\",e,e],[46,0,25,\"KeyP\",46,\"P\",80,\"VK_P\",e,e],[47,0,26,\"KeyQ\",47,\"Q\",81,\"VK_Q\",e,e],[48,0,27,\"KeyR\",48,\"R\",82,\"VK_R\",e,e],[49,0,28,\"KeyS\",49,\"S\",83,\"VK_S\",e,e],[50,0,29,\"KeyT\",50,\"T\",84,\"VK_T\",e,e],[51,0,30,\"KeyU\",51,\"U\",85,\"VK_U\",e,e],[52,0,31,\"KeyV\",52,\"V\",86,\"VK_V\",e,e],[53,0,32,\"KeyW\",53,\"W\",87,\"VK_W\",e,e],[54,0,33,\"KeyX\",54,\"X\",88,\"VK_X\",e,e],[55,0,34,\"KeyY\",55,\"Y\",89,\"VK_Y\",e,e],[56,0,35,\"KeyZ\",56,\"Z\",90,\"VK_Z\",e,e],[22,0,36,\"Digit1\",22,\"1\",49,\"VK_1\",e,e],[23,0,37,\"Digit2\",23,\"2\",50,\"VK_2\",e,e],[24,0,38,\"Digit3\",24,\"3\",51,\"VK_3\",e,e],[25,0,39,\"Digit4\",25,\"4\",52,\"VK_4\",e,e],[26,0,40,\"Digit5\",26,\"5\",53,\"VK_5\",e,e],[27,0,41,\"Digit6\",27,\"6\",54,\"VK_6\",e,e],[28,0,42,\"Digit7\",28,\"7\",55,\"VK_7\",e,e],[29,0,43,\"Digit8\",29,\"8\",56,\"VK_8\",e,e],[30,0,44,\"Digit9\",30,\"9\",57,\"VK_9\",e,e],[21,0,45,\"Digit0\",21,\"0\",48,\"VK_0\",e,e],[3,1,46,\"Enter\",3,\"Enter\",13,\"VK_RETURN\",e,e],[9,1,47,\"Escape\",9,\"Escape\",27,\"VK_ESCAPE\",e,e],[1,1,48,\"Backspace\",1,\"Backspace\",8,\"VK_BACK\",e,e],[2,1,49,\"Tab\",2,\"Tab\",9,\"VK_TAB\",e,e],[10,1,50,\"Space\",10,\"Space\",32,\"VK_SPACE\",e,e],[83,0,51,\"Minus\",83,\"-\",189,\"VK_OEM_MINUS\",\"-\",\"OEM_MINUS\"],[81,0,52,\"Equal\",81,\"=\",187,\"VK_OEM_PLUS\",\"=\",\"OEM_PLUS\"],[87,0,53,\"BracketLeft\",87,\"[\",219,\"VK_OEM_4\",\"[\",\"OEM_4\"],[89,0,54,\"BracketRight\",89,\"]\",221,\"VK_OEM_6\",\"]\",\"OEM_6\"],[88,0,55,\"Backslash\",88,\"\\\\\",220,\"VK_OEM_5\",\"\\\\\",\"OEM_5\"],[0,0,56,\"IntlHash\",0,e,0,e,e,e],[80,0,57,\"Semicolon\",80,\";\",186,\"VK_OEM_1\",\";\",\"OEM_1\"],[90,0,58,\"Quote\",90,\"'\",222,\"VK_OEM_7\",\"'\",\"OEM_7\"],[86,0,59,\"Backquote\",86,\"`\",192,\"VK_OEM_3\",\"`\",\"OEM_3\"],[82,0,60,\"Comma\",82,\",\",188,\"VK_OEM_COMMA\",\",\",\"OEM_COMMA\"],[84,0,61,\"Period\",84,\".\",190,\"VK_OEM_PERIOD\",\".\",\"OEM_PERIOD\"],[85,0,62,\"Slash\",85,\"/\",191,\"VK_OEM_2\",\"/\",\"OEM_2\"],[8,1,63,\"CapsLock\",8,\"CapsLock\",20,\"VK_CAPITAL\",e,e],[59,1,64,\"F1\",59,\"F1\",112,\"VK_F1\",e,e],[60,1,65,\"F2\",60,\"F2\",113,\"VK_F2\",e,e],[61,1,66,\"F3\",61,\"F3\",114,\"VK_F3\",e,e],[62,1,67,\"F4\",62,\"F4\",115,\"VK_F4\",e,e],[63,1,68,\"F5\",63,\"F5\",116,\"VK_F5\",e,e],[64,1,69,\"F6\",64,\"F6\",117,\"VK_F6\",e,e],[65,1,70,\"F7\",65,\"F7\",118,\"VK_F7\",e,e],[66,1,71,\"F8\",66,\"F8\",119,\"VK_F8\",e,e],[67,1,72,\"F9\",67,\"F9\",120,\"VK_F9\",e,e],[68,1,73,\"F10\",68,\"F10\",121,\"VK_F10\",e,e],[69,1,74,\"F11\",69,\"F11\",122,\"VK_F11\",e,e],[70,1,75,\"F12\",70,\"F12\",123,\"VK_F12\",e,e],[0,1,76,\"PrintScreen\",0,e,0,e,e,e],[79,1,77,\"ScrollLock\",79,\"ScrollLock\",145,\"VK_SCROLL\",e,e],[7,1,78,\"Pause\",7,\"PauseBreak\",19,\"VK_PAUSE\",e,e],[19,1,79,\"Insert\",19,\"Insert\",45,\"VK_INSERT\",e,e],[14,1,80,\"Home\",14,\"Home\",36,\"VK_HOME\",e,e],[11,1,81,\"PageUp\",11,\"PageUp\",33,\"VK_PRIOR\",e,e],[20,1,82,\"Delete\",20,\"Delete\",46,\"VK_DELETE\",e,e],[13,1,83,\"End\",13,\"End\",35,\"VK_END\",e,e],[12,1,84,\"PageDown\",12,\"PageDown\",34,\"VK_NEXT\",e,e],[17,1,85,\"ArrowRight\",17,\"RightArrow\",39,\"VK_RIGHT\",\"Right\",e],[15,1,86,\"ArrowLeft\",15,\"LeftArrow\",37,\"VK_LEFT\",\"Left\",e],[18,1,87,\"ArrowDown\",18,\"DownArrow\",40,\"VK_DOWN\",\"Down\",e],[16,1,88,\"ArrowUp\",16,\"UpArrow\",38,\"VK_UP\",\"Up\",e],[78,1,89,\"NumLock\",78,\"NumLock\",144,\"VK_NUMLOCK\",e,e],[108,1,90,\"NumpadDivide\",108,\"NumPad_Divide\",111,\"VK_DIVIDE\",e,e],[103,1,91,\"NumpadMultiply\",103,\"NumPad_Multiply\",106,\"VK_MULTIPLY\",e,e],[106,1,92,\"NumpadSubtract\",106,\"NumPad_Subtract\",109,\"VK_SUBTRACT\",e,e],[104,1,93,\"NumpadAdd\",104,\"NumPad_Add\",107,\"VK_ADD\",e,e],[3,1,94,\"NumpadEnter\",3,e,0,e,e,e],[94,1,95,\"Numpad1\",94,\"NumPad1\",97,\"VK_NUMPAD1\",e,e],[95,1,96,\"Numpad2\",95,\"NumPad2\",98,\"VK_NUMPAD2\",e,e],[96,1,97,\"Numpad3\",96,\"NumPad3\",99,\"VK_NUMPAD3\",e,e],[97,1,98,\"Numpad4\",97,\"NumPad4\",100,\"VK_NUMPAD4\",e,e],[98,1,99,\"Numpad5\",98,\"NumPad5\",101,\"VK_NUMPAD5\",e,e],[99,1,100,\"Numpad6\",99,\"NumPad6\",102,\"VK_NUMPAD6\",e,e],[100,1,101,\"Numpad7\",100,\"NumPad7\",103,\"VK_NUMPAD7\",e,e],[101,1,102,\"Numpad8\",101,\"NumPad8\",104,\"VK_NUMPAD8\",e,e],[102,1,103,\"Numpad9\",102,\"NumPad9\",105,\"VK_NUMPAD9\",e,e],[93,1,104,\"Numpad0\",93,\"NumPad0\",96,\"VK_NUMPAD0\",e,e],[107,1,105,\"NumpadDecimal\",107,\"NumPad_Decimal\",110,\"VK_DECIMAL\",e,e],[92,0,106,\"IntlBackslash\",92,\"OEM_102\",226,\"VK_OEM_102\",e,e],[58,1,107,\"ContextMenu\",58,\"ContextMenu\",93,e,e,e],[0,1,108,\"Power\",0,e,0,e,e,e],[0,1,109,\"NumpadEqual\",0,e,0,e,e,e],[71,1,110,\"F13\",71,\"F13\",124,\"VK_F13\",e,e],[72,1,111,\"F14\",72,\"F14\",125,\"VK_F14\",e,e],[73,1,112,\"F15\",73,\"F15\",126,\"VK_F15\",e,e],[74,1,113,\"F16\",74,\"F16\",127,\"VK_F16\",e,e],[75,1,114,\"F17\",75,\"F17\",128,\"VK_F17\",e,e],[76,1,115,\"F18\",76,\"F18\",129,\"VK_F18\",e,e],[77,1,116,\"F19\",77,\"F19\",130,\"VK_F19\",e,e],[0,1,117,\"F20\",0,e,0,\"VK_F20\",e,e],[0,1,118,\"F21\",0,e,0,\"VK_F21\",e,e],[0,1,119,\"F22\",0,e,0,\"VK_F22\",e,e],[0,1,120,\"F23\",0,e,0,\"VK_F23\",e,e],[0,1,121,\"F24\",0,e,0,\"VK_F24\",e,e],[0,1,122,\"Open\",0,e,0,e,e,e],[0,1,123,\"Help\",0,e,0,e,e,e],[0,1,124,\"Select\",0,e,0,e,e,e],[0,1,125,\"Again\",0,e,0,e,e,e],[0,1,126,\"Undo\",0,e,0,e,e,e],[0,1,127,\"Cut\",0,e,0,e,e,e],[0,1,128,\"Copy\",0,e,0,e,e,e],[0,1,129,\"Paste\",0,e,0,e,e,e],[0,1,130,\"Find\",0,e,0,e,e,e],[0,1,131,\"AudioVolumeMute\",112,\"AudioVolumeMute\",173,\"VK_VOLUME_MUTE\",e,e],[0,1,132,\"AudioVolumeUp\",113,\"AudioVolumeUp\",175,\"VK_VOLUME_UP\",e,e],[0,1,133,\"AudioVolumeDown\",114,\"AudioVolumeDown\",174,\"VK_VOLUME_DOWN\",e,e],[105,1,134,\"NumpadComma\",105,\"NumPad_Separator\",108,\"VK_SEPARATOR\",e,e],[110,0,135,\"IntlRo\",110,\"ABNT_C1\",193,\"VK_ABNT_C1\",e,e],[0,1,136,\"KanaMode\",0,e,0,e,e,e],[0,0,137,\"IntlYen\",0,e,0,e,e,e],[0,1,138,\"Convert\",0,e,0,e,e,e],[0,1,139,\"NonConvert\",0,e,0,e,e,e],[0,1,140,\"Lang1\",0,e,0,e,e,e],[0,1,141,\"Lang2\",0,e,0,e,e,e],[0,1,142,\"Lang3\",0,e,0,e,e,e],[0,1,143,\"Lang4\",0,e,0,e,e,e],[0,1,144,\"Lang5\",0,e,0,e,e,e],[0,1,145,\"Abort\",0,e,0,e,e,e],[0,1,146,\"Props\",0,e,0,e,e,e],[0,1,147,\"NumpadParenLeft\",0,e,0,e,e,e],[0,1,148,\"NumpadParenRight\",0,e,0,e,e,e],[0,1,149,\"NumpadBackspace\",0,e,0,e,e,e],[0,1,150,\"NumpadMemoryStore\",0,e,0,e,e,e],[0,1,151,\"NumpadMemoryRecall\",0,e,0,e,e,e],[0,1,152,\"NumpadMemoryClear\",0,e,0,e,e,e],[0,1,153,\"NumpadMemoryAdd\",0,e,0,e,e,e],[0,1,154,\"NumpadMemorySubtract\",0,e,0,e,e,e],[0,1,155,\"NumpadClear\",126,\"Clear\",12,\"VK_CLEAR\",e,e],[0,1,156,\"NumpadClearEntry\",0,e,0,e,e,e],[5,1,0,e,5,\"Ctrl\",17,\"VK_CONTROL\",e,e],[4,1,0,e,4,\"Shift\",16,\"VK_SHIFT\",e,e],[6,1,0,e,6,\"Alt\",18,\"VK_MENU\",e,e],[57,1,0,e,57,\"Meta\",0,\"VK_COMMAND\",e,e],[5,1,157,\"ControlLeft\",5,e,0,\"VK_LCONTROL\",e,e],[4,1,158,\"ShiftLeft\",4,e,0,\"VK_LSHIFT\",e,e],[6,1,159,\"AltLeft\",6,e,0,\"VK_LMENU\",e,e],[57,1,160,\"MetaLeft\",57,e,0,\"VK_LWIN\",e,e],[5,1,161,\"ControlRight\",5,e,0,\"VK_RCONTROL\",e,e],[4,1,162,\"ShiftRight\",4,e,0,\"VK_RSHIFT\",e,e],[6,1,163,\"AltRight\",6,e,0,\"VK_RMENU\",e,e],[57,1,164,\"MetaRight\",57,e,0,\"VK_RWIN\",e,e],[0,1,165,\"BrightnessUp\",0,e,0,e,e,e],[0,1,166,\"BrightnessDown\",0,e,0,e,e,e],[0,1,167,\"MediaPlay\",0,e,0,e,e,e],[0,1,168,\"MediaRecord\",0,e,0,e,e,e],[0,1,169,\"MediaFastForward\",0,e,0,e,e,e],[0,1,170,\"MediaRewind\",0,e,0,e,e,e],[114,1,171,\"MediaTrackNext\",119,\"MediaTrackNext\",176,\"VK_MEDIA_NEXT_TRACK\",e,e],[115,1,172,\"MediaTrackPrevious\",120,\"MediaTrackPrevious\",177,\"VK_MEDIA_PREV_TRACK\",e,e],[116,1,173,\"MediaStop\",121,\"MediaStop\",178,\"VK_MEDIA_STOP\",e,e],[0,1,174,\"Eject\",0,e,0,e,e,e],[117,1,175,\"MediaPlayPause\",122,\"MediaPlayPause\",179,\"VK_MEDIA_PLAY_PAUSE\",e,e],[0,1,176,\"MediaSelect\",123,\"LaunchMediaPlayer\",181,\"VK_MEDIA_LAUNCH_MEDIA_SELECT\",e,e],[0,1,177,\"LaunchMail\",124,\"LaunchMail\",180,\"VK_MEDIA_LAUNCH_MAIL\",e,e],[0,1,178,\"LaunchApp2\",125,\"LaunchApp2\",183,\"VK_MEDIA_LAUNCH_APP2\",e,e],[0,1,179,\"LaunchApp1\",0,e,0,\"VK_MEDIA_LAUNCH_APP1\",e,e],[0,1,180,\"SelectTask\",0,e,0,e,e,e],[0,1,181,\"LaunchScreenSaver\",0,e,0,e,e,e],[0,1,182,\"BrowserSearch\",115,\"BrowserSearch\",170,\"VK_BROWSER_SEARCH\",e,e],[0,1,183,\"BrowserHome\",116,\"BrowserHome\",172,\"VK_BROWSER_HOME\",e,e],[112,1,184,\"BrowserBack\",117,\"BrowserBack\",166,\"VK_BROWSER_BACK\",e,e],[113,1,185,\"BrowserForward\",118,\"BrowserForward\",167,\"VK_BROWSER_FORWARD\",e,e],[0,1,186,\"BrowserStop\",0,e,0,\"VK_BROWSER_STOP\",e,e],[0,1,187,\"BrowserRefresh\",0,e,0,\"VK_BROWSER_REFRESH\",e,e],[0,1,188,\"BrowserFavorites\",0,e,0,\"VK_BROWSER_FAVORITES\",e,e],[0,1,189,\"ZoomToggle\",0,e,0,e,e,e],[0,1,190,\"MailReply\",0,e,0,e,e,e],[0,1,191,\"MailForward\",0,e,0,e,e,e],[0,1,192,\"MailSend\",0,e,0,e,e,e],[109,1,0,e,109,\"KeyInComposition\",229,e,e,e],[111,1,0,e,111,\"ABNT_C2\",194,\"VK_ABNT_C2\",e,e],[91,1,0,e,91,\"OEM_8\",223,\"VK_OEM_8\",e,e],[0,1,0,e,0,e,0,\"VK_KANA\",e,e],[0,1,0,e,0,e,0,\"VK_HANGUL\",e,e],[0,1,0,e,0,e,0,\"VK_JUNJA\",e,e],[0,1,0,e,0,e,0,\"VK_FINAL\",e,e],[0,1,0,e,0,e,0,\"VK_HANJA\",e,e],[0,1,0,e,0,e,0,\"VK_KANJI\",e,e],[0,1,0,e,0,e,0,\"VK_CONVERT\",e,e],[0,1,0,e,0,e,0,\"VK_NONCONVERT\",e,e],[0,1,0,e,0,e,0,\"VK_ACCEPT\",e,e],[0,1,0,e,0,e,0,\"VK_MODECHANGE\",e,e],[0,1,0,e,0,e,0,\"VK_SELECT\",e,e],[0,1,0,e,0,e,0,\"VK_PRINT\",e,e],[0,1,0,e,0,e,0,\"VK_EXECUTE\",e,e],[0,1,0,e,0,e,0,\"VK_SNAPSHOT\",e,e],[0,1,0,e,0,e,0,\"VK_HELP\",e,e],[0,1,0,e,0,e,0,\"VK_APPS\",e,e],[0,1,0,e,0,e,0,\"VK_PROCESSKEY\",e,e],[0,1,0,e,0,e,0,\"VK_PACKET\",e,e],[0,1,0,e,0,e,0,\"VK_DBE_SBCSCHAR\",e,e],[0,1,0,e,0,e,0,\"VK_DBE_DBCSCHAR\",e,e],[0,1,0,e,0,e,0,\"VK_ATTN\",e,e],[0,1,0,e,0,e,0,\"VK_CRSEL\",e,e],[0,1,0,e,0,e,0,\"VK_EXSEL\",e,e],[0,1,0,e,0,e,0,\"VK_EREOF\",e,e],[0,1,0,e,0,e,0,\"VK_PLAY\",e,e],[0,1,0,e,0,e,0,\"VK_ZOOM\",e,e],[0,1,0,e,0,e,0,\"VK_NONAME\",e,e],[0,1,0,e,0,e,0,\"VK_PA1\",e,e],[0,1,0,e,0,e,0,\"VK_OEM_CLEAR\",e,e]];let f=[],p=[];for(const a of n){const[d,k,J,h,v,A,z,ie,b,M]=a;if(p[J]||(p[J]=!0,zN[h]=J,qN[h.toLowerCase()]=J),!f[v]){if(f[v]=!0,!A)throw new Error(`String representation missing for key code ${v} around scan code ${h}`);ty.define(v,A),hE.define(v,b||A),yE.define(v,M||b||A)}z&&(KN[z]=v)}})();var uS;(function(e){function n(J){return ty.keyCodeToStr(J)}e.toString=n;function f(J){return ty.strToKeyCode(J)}e.fromString=f;function p(J){return hE.keyCodeToStr(J)}e.toUserSettingsUS=p;function a(J){return yE.keyCodeToStr(J)}e.toUserSettingsGeneral=a;function d(J){return hE.strToKeyCode(J)||yE.strToKeyCode(J)}e.fromUserSettings=d;function k(J){if(J>=93&&J<=108)return null;switch(J){case 16:return\"Up\";case 18:return\"Down\";case 15:return\"Left\";case 17:return\"Right\"}return ty.keyCodeToStr(J)}e.toElectronAccelerator=k})(uS||(uS={}));function XN(e,n){const f=(n&65535)<<16>>>0;return(e|f)>>>0}class Qf extends yl{constructor(n,f,p,a){super(n,f,p,a),this.selectionStartLineNumber=n,this.selectionStartColumn=f,this.positionLineNumber=p,this.positionColumn=a}toString(){return\"[\"+this.selectionStartLineNumber+\",\"+this.selectionStartColumn+\" -> \"+this.positionLineNumber+\",\"+this.positionColumn+\"]\"}equalsSelection(n){return Qf.selectionsEqual(this,n)}static selectionsEqual(n,f){return n.selectionStartLineNumber===f.selectionStartLineNumber&&n.selectionStartColumn===f.selectionStartColumn&&n.positionLineNumber===f.positionLineNumber&&n.positionColumn===f.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(n,f){return this.getDirection()===0?new Qf(this.startLineNumber,this.startColumn,n,f):new Qf(n,f,this.startLineNumber,this.startColumn)}getPosition(){return new mf(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new mf(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(n,f){return this.getDirection()===0?new Qf(n,f,this.endLineNumber,this.endColumn):new Qf(this.endLineNumber,this.endColumn,n,f)}static fromPositions(n,f=n){return new Qf(n.lineNumber,n.column,f.lineNumber,f.column)}static fromRange(n,f){return f===0?new Qf(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn):new Qf(n.endLineNumber,n.endColumn,n.startLineNumber,n.startColumn)}static liftSelection(n){return new Qf(n.selectionStartLineNumber,n.selectionStartColumn,n.positionLineNumber,n.positionColumn)}static selectionsArrEqual(n,f){if(n&&!f||!n&&f)return!1;if(!n&&!f)return!0;if(n.length!==f.length)return!1;for(let p=0,a=n.length;p<a;p++)if(!this.selectionsEqual(n[p],f[p]))return!1;return!0}static isISelection(n){return n&&typeof n.selectionStartLineNumber==\"number\"&&typeof n.selectionStartColumn==\"number\"&&typeof n.positionLineNumber==\"number\"&&typeof n.positionColumn==\"number\"}static createWithDirection(n,f,p,a,d){return d===0?new Qf(n,f,p,a):new Qf(p,a,n,f)}}var bE=function(e,n,f,p){function a(d){return d instanceof f?d:new f(function(k){k(d)})}return new(f||(f=Promise))(function(d,k){function J(A){try{v(p.next(A))}catch(z){k(z)}}function h(A){try{v(p.throw(A))}catch(z){k(z)}}function v(A){A.done?d(A.value):a(A.value).then(J,h)}v((p=p.apply(e,n||[])).next())})};class YN{constructor(){this._map=new Map,this._factories=new Map,this._onDidChange=new A_,this.onDidChange=this._onDidChange.event,this._colorMap=null}fire(n){this._onDidChange.fire({changedLanguages:n,changedColorMap:!1})}register(n,f){return this._map.set(n,f),this.fire([n]),Kh(()=>{this._map.get(n)===f&&(this._map.delete(n),this.fire([n]))})}registerFactory(n,f){var p;(p=this._factories.get(n))===null||p===void 0||p.dispose();const a=new QN(this,n,f);return this._factories.set(n,a),Kh(()=>{const d=this._factories.get(n);!d||d!==a||(this._factories.delete(n),d.dispose())})}getOrCreate(n){return bE(this,void 0,void 0,function*(){const f=this.get(n);if(f)return f;const p=this._factories.get(n);return!p||p.isResolved?null:(yield p.resolve(),this.get(n))})}get(n){return this._map.get(n)||null}isResolved(n){if(this.get(n))return!0;const p=this._factories.get(n);return!!(!p||p.isResolved)}setColorMap(n){this._colorMap=n,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class QN extends Qb{constructor(n,f,p){super(),this._registry=n,this._languageId=f,this._factory=p,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}get isResolved(){return this._isResolved}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return bE(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return bE(this,void 0,void 0,function*(){const n=yield Promise.resolve(this._factory.createTokenizationSupport());this._isResolved=!0,n&&!this._isDisposed&&this._register(this._registry.register(this._languageId,n))})}}class ae{constructor(n,f,p){this.id=n,this.definition=f,this.description=p,ae._allCodicons.push(this)}get classNames(){return\"codicon codicon-\"+this.id}get classNamesArray(){return[\"codicon\",\"codicon-\"+this.id]}get cssSelector(){return\".codicon.codicon-\"+this.id}static getAll(){return ae._allCodicons}}ae._allCodicons=[],ae.add=new ae(\"add\",{fontCharacter:\"\\\\ea60\"}),ae.plus=new ae(\"plus\",ae.add.definition),ae.gistNew=new ae(\"gist-new\",ae.add.definition),ae.repoCreate=new ae(\"repo-create\",ae.add.definition),ae.lightbulb=new ae(\"lightbulb\",{fontCharacter:\"\\\\ea61\"}),ae.lightBulb=new ae(\"light-bulb\",{fontCharacter:\"\\\\ea61\"}),ae.repo=new ae(\"repo\",{fontCharacter:\"\\\\ea62\"}),ae.repoDelete=new ae(\"repo-delete\",{fontCharacter:\"\\\\ea62\"}),ae.gistFork=new ae(\"gist-fork\",{fontCharacter:\"\\\\ea63\"}),ae.repoForked=new ae(\"repo-forked\",{fontCharacter:\"\\\\ea63\"}),ae.gitPullRequest=new ae(\"git-pull-request\",{fontCharacter:\"\\\\ea64\"}),ae.gitPullRequestAbandoned=new ae(\"git-pull-request-abandoned\",{fontCharacter:\"\\\\ea64\"}),ae.recordKeys=new ae(\"record-keys\",{fontCharacter:\"\\\\ea65\"}),ae.keyboard=new ae(\"keyboard\",{fontCharacter:\"\\\\ea65\"}),ae.tag=new ae(\"tag\",{fontCharacter:\"\\\\ea66\"}),ae.tagAdd=new ae(\"tag-add\",{fontCharacter:\"\\\\ea66\"}),ae.tagRemove=new ae(\"tag-remove\",{fontCharacter:\"\\\\ea66\"}),ae.person=new ae(\"person\",{fontCharacter:\"\\\\ea67\"}),ae.personFollow=new ae(\"person-follow\",{fontCharacter:\"\\\\ea67\"}),ae.personOutline=new ae(\"person-outline\",{fontCharacter:\"\\\\ea67\"}),ae.personFilled=new ae(\"person-filled\",{fontCharacter:\"\\\\ea67\"}),ae.gitBranch=new ae(\"git-branch\",{fontCharacter:\"\\\\ea68\"}),ae.gitBranchCreate=new ae(\"git-branch-create\",{fontCharacter:\"\\\\ea68\"}),ae.gitBranchDelete=new ae(\"git-branch-delete\",{fontCharacter:\"\\\\ea68\"}),ae.sourceControl=new ae(\"source-control\",{fontCharacter:\"\\\\ea68\"}),ae.mirror=new ae(\"mirror\",{fontCharacter:\"\\\\ea69\"}),ae.mirrorPublic=new ae(\"mirror-public\",{fontCharacter:\"\\\\ea69\"}),ae.star=new ae(\"star\",{fontCharacter:\"\\\\ea6a\"}),ae.starAdd=new ae(\"star-add\",{fontCharacter:\"\\\\ea6a\"}),ae.starDelete=new ae(\"star-delete\",{fontCharacter:\"\\\\ea6a\"}),ae.starEmpty=new ae(\"star-empty\",{fontCharacter:\"\\\\ea6a\"}),ae.comment=new ae(\"comment\",{fontCharacter:\"\\\\ea6b\"}),ae.commentAdd=new ae(\"comment-add\",{fontCharacter:\"\\\\ea6b\"}),ae.alert=new ae(\"alert\",{fontCharacter:\"\\\\ea6c\"}),ae.warning=new ae(\"warning\",{fontCharacter:\"\\\\ea6c\"}),ae.search=new ae(\"search\",{fontCharacter:\"\\\\ea6d\"}),ae.searchSave=new ae(\"search-save\",{fontCharacter:\"\\\\ea6d\"}),ae.logOut=new ae(\"log-out\",{fontCharacter:\"\\\\ea6e\"}),ae.signOut=new ae(\"sign-out\",{fontCharacter:\"\\\\ea6e\"}),ae.logIn=new ae(\"log-in\",{fontCharacter:\"\\\\ea6f\"}),ae.signIn=new ae(\"sign-in\",{fontCharacter:\"\\\\ea6f\"}),ae.eye=new ae(\"eye\",{fontCharacter:\"\\\\ea70\"}),ae.eyeUnwatch=new ae(\"eye-unwatch\",{fontCharacter:\"\\\\ea70\"}),ae.eyeWatch=new ae(\"eye-watch\",{fontCharacter:\"\\\\ea70\"}),ae.circleFilled=new ae(\"circle-filled\",{fontCharacter:\"\\\\ea71\"}),ae.primitiveDot=new ae(\"primitive-dot\",{fontCharacter:\"\\\\ea71\"}),ae.closeDirty=new ae(\"close-dirty\",{fontCharacter:\"\\\\ea71\"}),ae.debugBreakpoint=new ae(\"debug-breakpoint\",{fontCharacter:\"\\\\ea71\"}),ae.debugBreakpointDisabled=new ae(\"debug-breakpoint-disabled\",{fontCharacter:\"\\\\ea71\"}),ae.debugHint=new ae(\"debug-hint\",{fontCharacter:\"\\\\ea71\"}),ae.primitiveSquare=new ae(\"primitive-square\",{fontCharacter:\"\\\\ea72\"}),ae.edit=new ae(\"edit\",{fontCharacter:\"\\\\ea73\"}),ae.pencil=new ae(\"pencil\",{fontCharacter:\"\\\\ea73\"}),ae.info=new ae(\"info\",{fontCharacter:\"\\\\ea74\"}),ae.issueOpened=new ae(\"issue-opened\",{fontCharacter:\"\\\\ea74\"}),ae.gistPrivate=new ae(\"gist-private\",{fontCharacter:\"\\\\ea75\"}),ae.gitForkPrivate=new ae(\"git-fork-private\",{fontCharacter:\"\\\\ea75\"}),ae.lock=new ae(\"lock\",{fontCharacter:\"\\\\ea75\"}),ae.mirrorPrivate=new ae(\"mirror-private\",{fontCharacter:\"\\\\ea75\"}),ae.close=new ae(\"close\",{fontCharacter:\"\\\\ea76\"}),ae.removeClose=new ae(\"remove-close\",{fontCharacter:\"\\\\ea76\"}),ae.x=new ae(\"x\",{fontCharacter:\"\\\\ea76\"}),ae.repoSync=new ae(\"repo-sync\",{fontCharacter:\"\\\\ea77\"}),ae.sync=new ae(\"sync\",{fontCharacter:\"\\\\ea77\"}),ae.clone=new ae(\"clone\",{fontCharacter:\"\\\\ea78\"}),ae.desktopDownload=new ae(\"desktop-download\",{fontCharacter:\"\\\\ea78\"}),ae.beaker=new ae(\"beaker\",{fontCharacter:\"\\\\ea79\"}),ae.microscope=new ae(\"microscope\",{fontCharacter:\"\\\\ea79\"}),ae.vm=new ae(\"vm\",{fontCharacter:\"\\\\ea7a\"}),ae.deviceDesktop=new ae(\"device-desktop\",{fontCharacter:\"\\\\ea7a\"}),ae.file=new ae(\"file\",{fontCharacter:\"\\\\ea7b\"}),ae.fileText=new ae(\"file-text\",{fontCharacter:\"\\\\ea7b\"}),ae.more=new ae(\"more\",{fontCharacter:\"\\\\ea7c\"}),ae.ellipsis=new ae(\"ellipsis\",{fontCharacter:\"\\\\ea7c\"}),ae.kebabHorizontal=new ae(\"kebab-horizontal\",{fontCharacter:\"\\\\ea7c\"}),ae.mailReply=new ae(\"mail-reply\",{fontCharacter:\"\\\\ea7d\"}),ae.reply=new ae(\"reply\",{fontCharacter:\"\\\\ea7d\"}),ae.organization=new ae(\"organization\",{fontCharacter:\"\\\\ea7e\"}),ae.organizationFilled=new ae(\"organization-filled\",{fontCharacter:\"\\\\ea7e\"}),ae.organizationOutline=new ae(\"organization-outline\",{fontCharacter:\"\\\\ea7e\"}),ae.newFile=new ae(\"new-file\",{fontCharacter:\"\\\\ea7f\"}),ae.fileAdd=new ae(\"file-add\",{fontCharacter:\"\\\\ea7f\"}),ae.newFolder=new ae(\"new-folder\",{fontCharacter:\"\\\\ea80\"}),ae.fileDirectoryCreate=new ae(\"file-directory-create\",{fontCharacter:\"\\\\ea80\"}),ae.trash=new ae(\"trash\",{fontCharacter:\"\\\\ea81\"}),ae.trashcan=new ae(\"trashcan\",{fontCharacter:\"\\\\ea81\"}),ae.history=new ae(\"history\",{fontCharacter:\"\\\\ea82\"}),ae.clock=new ae(\"clock\",{fontCharacter:\"\\\\ea82\"}),ae.folder=new ae(\"folder\",{fontCharacter:\"\\\\ea83\"}),ae.fileDirectory=new ae(\"file-directory\",{fontCharacter:\"\\\\ea83\"}),ae.symbolFolder=new ae(\"symbol-folder\",{fontCharacter:\"\\\\ea83\"}),ae.logoGithub=new ae(\"logo-github\",{fontCharacter:\"\\\\ea84\"}),ae.markGithub=new ae(\"mark-github\",{fontCharacter:\"\\\\ea84\"}),ae.github=new ae(\"github\",{fontCharacter:\"\\\\ea84\"}),ae.terminal=new ae(\"terminal\",{fontCharacter:\"\\\\ea85\"}),ae.console=new ae(\"console\",{fontCharacter:\"\\\\ea85\"}),ae.repl=new ae(\"repl\",{fontCharacter:\"\\\\ea85\"}),ae.zap=new ae(\"zap\",{fontCharacter:\"\\\\ea86\"}),ae.symbolEvent=new ae(\"symbol-event\",{fontCharacter:\"\\\\ea86\"}),ae.error=new ae(\"error\",{fontCharacter:\"\\\\ea87\"}),ae.stop=new ae(\"stop\",{fontCharacter:\"\\\\ea87\"}),ae.variable=new ae(\"variable\",{fontCharacter:\"\\\\ea88\"}),ae.symbolVariable=new ae(\"symbol-variable\",{fontCharacter:\"\\\\ea88\"}),ae.array=new ae(\"array\",{fontCharacter:\"\\\\ea8a\"}),ae.symbolArray=new ae(\"symbol-array\",{fontCharacter:\"\\\\ea8a\"}),ae.symbolModule=new ae(\"symbol-module\",{fontCharacter:\"\\\\ea8b\"}),ae.symbolPackage=new ae(\"symbol-package\",{fontCharacter:\"\\\\ea8b\"}),ae.symbolNamespace=new ae(\"symbol-namespace\",{fontCharacter:\"\\\\ea8b\"}),ae.symbolObject=new ae(\"symbol-object\",{fontCharacter:\"\\\\ea8b\"}),ae.symbolMethod=new ae(\"symbol-method\",{fontCharacter:\"\\\\ea8c\"}),ae.symbolFunction=new ae(\"symbol-function\",{fontCharacter:\"\\\\ea8c\"}),ae.symbolConstructor=new ae(\"symbol-constructor\",{fontCharacter:\"\\\\ea8c\"}),ae.symbolBoolean=new ae(\"symbol-boolean\",{fontCharacter:\"\\\\ea8f\"}),ae.symbolNull=new ae(\"symbol-null\",{fontCharacter:\"\\\\ea8f\"}),ae.symbolNumeric=new ae(\"symbol-numeric\",{fontCharacter:\"\\\\ea90\"}),ae.symbolNumber=new ae(\"symbol-number\",{fontCharacter:\"\\\\ea90\"}),ae.symbolStructure=new ae(\"symbol-structure\",{fontCharacter:\"\\\\ea91\"}),ae.symbolStruct=new ae(\"symbol-struct\",{fontCharacter:\"\\\\ea91\"}),ae.symbolParameter=new ae(\"symbol-parameter\",{fontCharacter:\"\\\\ea92\"}),ae.symbolTypeParameter=new ae(\"symbol-type-parameter\",{fontCharacter:\"\\\\ea92\"}),ae.symbolKey=new ae(\"symbol-key\",{fontCharacter:\"\\\\ea93\"}),ae.symbolText=new ae(\"symbol-text\",{fontCharacter:\"\\\\ea93\"}),ae.symbolReference=new ae(\"symbol-reference\",{fontCharacter:\"\\\\ea94\"}),ae.goToFile=new ae(\"go-to-file\",{fontCharacter:\"\\\\ea94\"}),ae.symbolEnum=new ae(\"symbol-enum\",{fontCharacter:\"\\\\ea95\"}),ae.symbolValue=new ae(\"symbol-value\",{fontCharacter:\"\\\\ea95\"}),ae.symbolRuler=new ae(\"symbol-ruler\",{fontCharacter:\"\\\\ea96\"}),ae.symbolUnit=new ae(\"symbol-unit\",{fontCharacter:\"\\\\ea96\"}),ae.activateBreakpoints=new ae(\"activate-breakpoints\",{fontCharacter:\"\\\\ea97\"}),ae.archive=new ae(\"archive\",{fontCharacter:\"\\\\ea98\"}),ae.arrowBoth=new ae(\"arrow-both\",{fontCharacter:\"\\\\ea99\"}),ae.arrowDown=new ae(\"arrow-down\",{fontCharacter:\"\\\\ea9a\"}),ae.arrowLeft=new ae(\"arrow-left\",{fontCharacter:\"\\\\ea9b\"}),ae.arrowRight=new ae(\"arrow-right\",{fontCharacter:\"\\\\ea9c\"}),ae.arrowSmallDown=new ae(\"arrow-small-down\",{fontCharacter:\"\\\\ea9d\"}),ae.arrowSmallLeft=new ae(\"arrow-small-left\",{fontCharacter:\"\\\\ea9e\"}),ae.arrowSmallRight=new ae(\"arrow-small-right\",{fontCharacter:\"\\\\ea9f\"}),ae.arrowSmallUp=new ae(\"arrow-small-up\",{fontCharacter:\"\\\\eaa0\"}),ae.arrowUp=new ae(\"arrow-up\",{fontCharacter:\"\\\\eaa1\"}),ae.bell=new ae(\"bell\",{fontCharacter:\"\\\\eaa2\"}),ae.bold=new ae(\"bold\",{fontCharacter:\"\\\\eaa3\"}),ae.book=new ae(\"book\",{fontCharacter:\"\\\\eaa4\"}),ae.bookmark=new ae(\"bookmark\",{fontCharacter:\"\\\\eaa5\"}),ae.debugBreakpointConditionalUnverified=new ae(\"debug-breakpoint-conditional-unverified\",{fontCharacter:\"\\\\eaa6\"}),ae.debugBreakpointConditional=new ae(\"debug-breakpoint-conditional\",{fontCharacter:\"\\\\eaa7\"}),ae.debugBreakpointConditionalDisabled=new ae(\"debug-breakpoint-conditional-disabled\",{fontCharacter:\"\\\\eaa7\"}),ae.debugBreakpointDataUnverified=new ae(\"debug-breakpoint-data-unverified\",{fontCharacter:\"\\\\eaa8\"}),ae.debugBreakpointData=new ae(\"debug-breakpoint-data\",{fontCharacter:\"\\\\eaa9\"}),ae.debugBreakpointDataDisabled=new ae(\"debug-breakpoint-data-disabled\",{fontCharacter:\"\\\\eaa9\"}),ae.debugBreakpointLogUnverified=new ae(\"debug-breakpoint-log-unverified\",{fontCharacter:\"\\\\eaaa\"}),ae.debugBreakpointLog=new ae(\"debug-breakpoint-log\",{fontCharacter:\"\\\\eaab\"}),ae.debugBreakpointLogDisabled=new ae(\"debug-breakpoint-log-disabled\",{fontCharacter:\"\\\\eaab\"}),ae.briefcase=new ae(\"briefcase\",{fontCharacter:\"\\\\eaac\"}),ae.broadcast=new ae(\"broadcast\",{fontCharacter:\"\\\\eaad\"}),ae.browser=new ae(\"browser\",{fontCharacter:\"\\\\eaae\"}),ae.bug=new ae(\"bug\",{fontCharacter:\"\\\\eaaf\"}),ae.calendar=new ae(\"calendar\",{fontCharacter:\"\\\\eab0\"}),ae.caseSensitive=new ae(\"case-sensitive\",{fontCharacter:\"\\\\eab1\"}),ae.check=new ae(\"check\",{fontCharacter:\"\\\\eab2\"}),ae.checklist=new ae(\"checklist\",{fontCharacter:\"\\\\eab3\"}),ae.chevronDown=new ae(\"chevron-down\",{fontCharacter:\"\\\\eab4\"}),ae.dropDownButton=new ae(\"drop-down-button\",ae.chevronDown.definition),ae.chevronLeft=new ae(\"chevron-left\",{fontCharacter:\"\\\\eab5\"}),ae.chevronRight=new ae(\"chevron-right\",{fontCharacter:\"\\\\eab6\"}),ae.chevronUp=new ae(\"chevron-up\",{fontCharacter:\"\\\\eab7\"}),ae.chromeClose=new ae(\"chrome-close\",{fontCharacter:\"\\\\eab8\"}),ae.chromeMaximize=new ae(\"chrome-maximize\",{fontCharacter:\"\\\\eab9\"}),ae.chromeMinimize=new ae(\"chrome-minimize\",{fontCharacter:\"\\\\eaba\"}),ae.chromeRestore=new ae(\"chrome-restore\",{fontCharacter:\"\\\\eabb\"}),ae.circleOutline=new ae(\"circle-outline\",{fontCharacter:\"\\\\eabc\"}),ae.debugBreakpointUnverified=new ae(\"debug-breakpoint-unverified\",{fontCharacter:\"\\\\eabc\"}),ae.circleSlash=new ae(\"circle-slash\",{fontCharacter:\"\\\\eabd\"}),ae.circuitBoard=new ae(\"circuit-board\",{fontCharacter:\"\\\\eabe\"}),ae.clearAll=new ae(\"clear-all\",{fontCharacter:\"\\\\eabf\"}),ae.clippy=new ae(\"clippy\",{fontCharacter:\"\\\\eac0\"}),ae.closeAll=new ae(\"close-all\",{fontCharacter:\"\\\\eac1\"}),ae.cloudDownload=new ae(\"cloud-download\",{fontCharacter:\"\\\\eac2\"}),ae.cloudUpload=new ae(\"cloud-upload\",{fontCharacter:\"\\\\eac3\"}),ae.code=new ae(\"code\",{fontCharacter:\"\\\\eac4\"}),ae.collapseAll=new ae(\"collapse-all\",{fontCharacter:\"\\\\eac5\"}),ae.colorMode=new ae(\"color-mode\",{fontCharacter:\"\\\\eac6\"}),ae.commentDiscussion=new ae(\"comment-discussion\",{fontCharacter:\"\\\\eac7\"}),ae.compareChanges=new ae(\"compare-changes\",{fontCharacter:\"\\\\eafd\"}),ae.creditCard=new ae(\"credit-card\",{fontCharacter:\"\\\\eac9\"}),ae.dash=new ae(\"dash\",{fontCharacter:\"\\\\eacc\"}),ae.dashboard=new ae(\"dashboard\",{fontCharacter:\"\\\\eacd\"}),ae.database=new ae(\"database\",{fontCharacter:\"\\\\eace\"}),ae.debugContinue=new ae(\"debug-continue\",{fontCharacter:\"\\\\eacf\"}),ae.debugDisconnect=new ae(\"debug-disconnect\",{fontCharacter:\"\\\\ead0\"}),ae.debugPause=new ae(\"debug-pause\",{fontCharacter:\"\\\\ead1\"}),ae.debugRestart=new ae(\"debug-restart\",{fontCharacter:\"\\\\ead2\"}),ae.debugStart=new ae(\"debug-start\",{fontCharacter:\"\\\\ead3\"}),ae.debugStepInto=new ae(\"debug-step-into\",{fontCharacter:\"\\\\ead4\"}),ae.debugStepOut=new ae(\"debug-step-out\",{fontCharacter:\"\\\\ead5\"}),ae.debugStepOver=new ae(\"debug-step-over\",{fontCharacter:\"\\\\ead6\"}),ae.debugStop=new ae(\"debug-stop\",{fontCharacter:\"\\\\ead7\"}),ae.debug=new ae(\"debug\",{fontCharacter:\"\\\\ead8\"}),ae.deviceCameraVideo=new ae(\"device-camera-video\",{fontCharacter:\"\\\\ead9\"}),ae.deviceCamera=new ae(\"device-camera\",{fontCharacter:\"\\\\eada\"}),ae.deviceMobile=new ae(\"device-mobile\",{fontCharacter:\"\\\\eadb\"}),ae.diffAdded=new ae(\"diff-added\",{fontCharacter:\"\\\\eadc\"}),ae.diffIgnored=new ae(\"diff-ignored\",{fontCharacter:\"\\\\eadd\"}),ae.diffModified=new ae(\"diff-modified\",{fontCharacter:\"\\\\eade\"}),ae.diffRemoved=new ae(\"diff-removed\",{fontCharacter:\"\\\\eadf\"}),ae.diffRenamed=new ae(\"diff-renamed\",{fontCharacter:\"\\\\eae0\"}),ae.diff=new ae(\"diff\",{fontCharacter:\"\\\\eae1\"}),ae.discard=new ae(\"discard\",{fontCharacter:\"\\\\eae2\"}),ae.editorLayout=new ae(\"editor-layout\",{fontCharacter:\"\\\\eae3\"}),ae.emptyWindow=new ae(\"empty-window\",{fontCharacter:\"\\\\eae4\"}),ae.exclude=new ae(\"exclude\",{fontCharacter:\"\\\\eae5\"}),ae.extensions=new ae(\"extensions\",{fontCharacter:\"\\\\eae6\"}),ae.eyeClosed=new ae(\"eye-closed\",{fontCharacter:\"\\\\eae7\"}),ae.fileBinary=new ae(\"file-binary\",{fontCharacter:\"\\\\eae8\"}),ae.fileCode=new ae(\"file-code\",{fontCharacter:\"\\\\eae9\"}),ae.fileMedia=new ae(\"file-media\",{fontCharacter:\"\\\\eaea\"}),ae.filePdf=new ae(\"file-pdf\",{fontCharacter:\"\\\\eaeb\"}),ae.fileSubmodule=new ae(\"file-submodule\",{fontCharacter:\"\\\\eaec\"}),ae.fileSymlinkDirectory=new ae(\"file-symlink-directory\",{fontCharacter:\"\\\\eaed\"}),ae.fileSymlinkFile=new ae(\"file-symlink-file\",{fontCharacter:\"\\\\eaee\"}),ae.fileZip=new ae(\"file-zip\",{fontCharacter:\"\\\\eaef\"}),ae.files=new ae(\"files\",{fontCharacter:\"\\\\eaf0\"}),ae.filter=new ae(\"filter\",{fontCharacter:\"\\\\eaf1\"}),ae.flame=new ae(\"flame\",{fontCharacter:\"\\\\eaf2\"}),ae.foldDown=new ae(\"fold-down\",{fontCharacter:\"\\\\eaf3\"}),ae.foldUp=new ae(\"fold-up\",{fontCharacter:\"\\\\eaf4\"}),ae.fold=new ae(\"fold\",{fontCharacter:\"\\\\eaf5\"}),ae.folderActive=new ae(\"folder-active\",{fontCharacter:\"\\\\eaf6\"}),ae.folderOpened=new ae(\"folder-opened\",{fontCharacter:\"\\\\eaf7\"}),ae.gear=new ae(\"gear\",{fontCharacter:\"\\\\eaf8\"}),ae.gift=new ae(\"gift\",{fontCharacter:\"\\\\eaf9\"}),ae.gistSecret=new ae(\"gist-secret\",{fontCharacter:\"\\\\eafa\"}),ae.gist=new ae(\"gist\",{fontCharacter:\"\\\\eafb\"}),ae.gitCommit=new ae(\"git-commit\",{fontCharacter:\"\\\\eafc\"}),ae.gitCompare=new ae(\"git-compare\",{fontCharacter:\"\\\\eafd\"}),ae.gitMerge=new ae(\"git-merge\",{fontCharacter:\"\\\\eafe\"}),ae.githubAction=new ae(\"github-action\",{fontCharacter:\"\\\\eaff\"}),ae.githubAlt=new ae(\"github-alt\",{fontCharacter:\"\\\\eb00\"}),ae.globe=new ae(\"globe\",{fontCharacter:\"\\\\eb01\"}),ae.grabber=new ae(\"grabber\",{fontCharacter:\"\\\\eb02\"}),ae.graph=new ae(\"graph\",{fontCharacter:\"\\\\eb03\"}),ae.gripper=new ae(\"gripper\",{fontCharacter:\"\\\\eb04\"}),ae.heart=new ae(\"heart\",{fontCharacter:\"\\\\eb05\"}),ae.home=new ae(\"home\",{fontCharacter:\"\\\\eb06\"}),ae.horizontalRule=new ae(\"horizontal-rule\",{fontCharacter:\"\\\\eb07\"}),ae.hubot=new ae(\"hubot\",{fontCharacter:\"\\\\eb08\"}),ae.inbox=new ae(\"inbox\",{fontCharacter:\"\\\\eb09\"}),ae.issueClosed=new ae(\"issue-closed\",{fontCharacter:\"\\\\eba4\"}),ae.issueReopened=new ae(\"issue-reopened\",{fontCharacter:\"\\\\eb0b\"}),ae.issues=new ae(\"issues\",{fontCharacter:\"\\\\eb0c\"}),ae.italic=new ae(\"italic\",{fontCharacter:\"\\\\eb0d\"}),ae.jersey=new ae(\"jersey\",{fontCharacter:\"\\\\eb0e\"}),ae.json=new ae(\"json\",{fontCharacter:\"\\\\eb0f\"}),ae.kebabVertical=new ae(\"kebab-vertical\",{fontCharacter:\"\\\\eb10\"}),ae.key=new ae(\"key\",{fontCharacter:\"\\\\eb11\"}),ae.law=new ae(\"law\",{fontCharacter:\"\\\\eb12\"}),ae.lightbulbAutofix=new ae(\"lightbulb-autofix\",{fontCharacter:\"\\\\eb13\"}),ae.linkExternal=new ae(\"link-external\",{fontCharacter:\"\\\\eb14\"}),ae.link=new ae(\"link\",{fontCharacter:\"\\\\eb15\"}),ae.listOrdered=new ae(\"list-ordered\",{fontCharacter:\"\\\\eb16\"}),ae.listUnordered=new ae(\"list-unordered\",{fontCharacter:\"\\\\eb17\"}),ae.liveShare=new ae(\"live-share\",{fontCharacter:\"\\\\eb18\"}),ae.loading=new ae(\"loading\",{fontCharacter:\"\\\\eb19\"}),ae.location=new ae(\"location\",{fontCharacter:\"\\\\eb1a\"}),ae.mailRead=new ae(\"mail-read\",{fontCharacter:\"\\\\eb1b\"}),ae.mail=new ae(\"mail\",{fontCharacter:\"\\\\eb1c\"}),ae.markdown=new ae(\"markdown\",{fontCharacter:\"\\\\eb1d\"}),ae.megaphone=new ae(\"megaphone\",{fontCharacter:\"\\\\eb1e\"}),ae.mention=new ae(\"mention\",{fontCharacter:\"\\\\eb1f\"}),ae.milestone=new ae(\"milestone\",{fontCharacter:\"\\\\eb20\"}),ae.mortarBoard=new ae(\"mortar-board\",{fontCharacter:\"\\\\eb21\"}),ae.move=new ae(\"move\",{fontCharacter:\"\\\\eb22\"}),ae.multipleWindows=new ae(\"multiple-windows\",{fontCharacter:\"\\\\eb23\"}),ae.mute=new ae(\"mute\",{fontCharacter:\"\\\\eb24\"}),ae.noNewline=new ae(\"no-newline\",{fontCharacter:\"\\\\eb25\"}),ae.note=new ae(\"note\",{fontCharacter:\"\\\\eb26\"}),ae.octoface=new ae(\"octoface\",{fontCharacter:\"\\\\eb27\"}),ae.openPreview=new ae(\"open-preview\",{fontCharacter:\"\\\\eb28\"}),ae.package_=new ae(\"package\",{fontCharacter:\"\\\\eb29\"}),ae.paintcan=new ae(\"paintcan\",{fontCharacter:\"\\\\eb2a\"}),ae.pin=new ae(\"pin\",{fontCharacter:\"\\\\eb2b\"}),ae.play=new ae(\"play\",{fontCharacter:\"\\\\eb2c\"}),ae.run=new ae(\"run\",{fontCharacter:\"\\\\eb2c\"}),ae.plug=new ae(\"plug\",{fontCharacter:\"\\\\eb2d\"}),ae.preserveCase=new ae(\"preserve-case\",{fontCharacter:\"\\\\eb2e\"}),ae.preview=new ae(\"preview\",{fontCharacter:\"\\\\eb2f\"}),ae.project=new ae(\"project\",{fontCharacter:\"\\\\eb30\"}),ae.pulse=new ae(\"pulse\",{fontCharacter:\"\\\\eb31\"}),ae.question=new ae(\"question\",{fontCharacter:\"\\\\eb32\"}),ae.quote=new ae(\"quote\",{fontCharacter:\"\\\\eb33\"}),ae.radioTower=new ae(\"radio-tower\",{fontCharacter:\"\\\\eb34\"}),ae.reactions=new ae(\"reactions\",{fontCharacter:\"\\\\eb35\"}),ae.references=new ae(\"references\",{fontCharacter:\"\\\\eb36\"}),ae.refresh=new ae(\"refresh\",{fontCharacter:\"\\\\eb37\"}),ae.regex=new ae(\"regex\",{fontCharacter:\"\\\\eb38\"}),ae.remoteExplorer=new ae(\"remote-explorer\",{fontCharacter:\"\\\\eb39\"}),ae.remote=new ae(\"remote\",{fontCharacter:\"\\\\eb3a\"}),ae.remove=new ae(\"remove\",{fontCharacter:\"\\\\eb3b\"}),ae.replaceAll=new ae(\"replace-all\",{fontCharacter:\"\\\\eb3c\"}),ae.replace=new ae(\"replace\",{fontCharacter:\"\\\\eb3d\"}),ae.repoClone=new ae(\"repo-clone\",{fontCharacter:\"\\\\eb3e\"}),ae.repoForcePush=new ae(\"repo-force-push\",{fontCharacter:\"\\\\eb3f\"}),ae.repoPull=new ae(\"repo-pull\",{fontCharacter:\"\\\\eb40\"}),ae.repoPush=new ae(\"repo-push\",{fontCharacter:\"\\\\eb41\"}),ae.report=new ae(\"report\",{fontCharacter:\"\\\\eb42\"}),ae.requestChanges=new ae(\"request-changes\",{fontCharacter:\"\\\\eb43\"}),ae.rocket=new ae(\"rocket\",{fontCharacter:\"\\\\eb44\"}),ae.rootFolderOpened=new ae(\"root-folder-opened\",{fontCharacter:\"\\\\eb45\"}),ae.rootFolder=new ae(\"root-folder\",{fontCharacter:\"\\\\eb46\"}),ae.rss=new ae(\"rss\",{fontCharacter:\"\\\\eb47\"}),ae.ruby=new ae(\"ruby\",{fontCharacter:\"\\\\eb48\"}),ae.saveAll=new ae(\"save-all\",{fontCharacter:\"\\\\eb49\"}),ae.saveAs=new ae(\"save-as\",{fontCharacter:\"\\\\eb4a\"}),ae.save=new ae(\"save\",{fontCharacter:\"\\\\eb4b\"}),ae.screenFull=new ae(\"screen-full\",{fontCharacter:\"\\\\eb4c\"}),ae.screenNormal=new ae(\"screen-normal\",{fontCharacter:\"\\\\eb4d\"}),ae.searchStop=new ae(\"search-stop\",{fontCharacter:\"\\\\eb4e\"}),ae.server=new ae(\"server\",{fontCharacter:\"\\\\eb50\"}),ae.settingsGear=new ae(\"settings-gear\",{fontCharacter:\"\\\\eb51\"}),ae.settings=new ae(\"settings\",{fontCharacter:\"\\\\eb52\"}),ae.shield=new ae(\"shield\",{fontCharacter:\"\\\\eb53\"}),ae.smiley=new ae(\"smiley\",{fontCharacter:\"\\\\eb54\"}),ae.sortPrecedence=new ae(\"sort-precedence\",{fontCharacter:\"\\\\eb55\"}),ae.splitHorizontal=new ae(\"split-horizontal\",{fontCharacter:\"\\\\eb56\"}),ae.splitVertical=new ae(\"split-vertical\",{fontCharacter:\"\\\\eb57\"}),ae.squirrel=new ae(\"squirrel\",{fontCharacter:\"\\\\eb58\"}),ae.starFull=new ae(\"star-full\",{fontCharacter:\"\\\\eb59\"}),ae.starHalf=new ae(\"star-half\",{fontCharacter:\"\\\\eb5a\"}),ae.symbolClass=new ae(\"symbol-class\",{fontCharacter:\"\\\\eb5b\"}),ae.symbolColor=new ae(\"symbol-color\",{fontCharacter:\"\\\\eb5c\"}),ae.symbolCustomColor=new ae(\"symbol-customcolor\",{fontCharacter:\"\\\\eb5c\"}),ae.symbolConstant=new ae(\"symbol-constant\",{fontCharacter:\"\\\\eb5d\"}),ae.symbolEnumMember=new ae(\"symbol-enum-member\",{fontCharacter:\"\\\\eb5e\"}),ae.symbolField=new ae(\"symbol-field\",{fontCharacter:\"\\\\eb5f\"}),ae.symbolFile=new ae(\"symbol-file\",{fontCharacter:\"\\\\eb60\"}),ae.symbolInterface=new ae(\"symbol-interface\",{fontCharacter:\"\\\\eb61\"}),ae.symbolKeyword=new ae(\"symbol-keyword\",{fontCharacter:\"\\\\eb62\"}),ae.symbolMisc=new ae(\"symbol-misc\",{fontCharacter:\"\\\\eb63\"}),ae.symbolOperator=new ae(\"symbol-operator\",{fontCharacter:\"\\\\eb64\"}),ae.symbolProperty=new ae(\"symbol-property\",{fontCharacter:\"\\\\eb65\"}),ae.wrench=new ae(\"wrench\",{fontCharacter:\"\\\\eb65\"}),ae.wrenchSubaction=new ae(\"wrench-subaction\",{fontCharacter:\"\\\\eb65\"}),ae.symbolSnippet=new ae(\"symbol-snippet\",{fontCharacter:\"\\\\eb66\"}),ae.tasklist=new ae(\"tasklist\",{fontCharacter:\"\\\\eb67\"}),ae.telescope=new ae(\"telescope\",{fontCharacter:\"\\\\eb68\"}),ae.textSize=new ae(\"text-size\",{fontCharacter:\"\\\\eb69\"}),ae.threeBars=new ae(\"three-bars\",{fontCharacter:\"\\\\eb6a\"}),ae.thumbsdown=new ae(\"thumbsdown\",{fontCharacter:\"\\\\eb6b\"}),ae.thumbsup=new ae(\"thumbsup\",{fontCharacter:\"\\\\eb6c\"}),ae.tools=new ae(\"tools\",{fontCharacter:\"\\\\eb6d\"}),ae.triangleDown=new ae(\"triangle-down\",{fontCharacter:\"\\\\eb6e\"}),ae.triangleLeft=new ae(\"triangle-left\",{fontCharacter:\"\\\\eb6f\"}),ae.triangleRight=new ae(\"triangle-right\",{fontCharacter:\"\\\\eb70\"}),ae.triangleUp=new ae(\"triangle-up\",{fontCharacter:\"\\\\eb71\"}),ae.twitter=new ae(\"twitter\",{fontCharacter:\"\\\\eb72\"}),ae.unfold=new ae(\"unfold\",{fontCharacter:\"\\\\eb73\"}),ae.unlock=new ae(\"unlock\",{fontCharacter:\"\\\\eb74\"}),ae.unmute=new ae(\"unmute\",{fontCharacter:\"\\\\eb75\"}),ae.unverified=new ae(\"unverified\",{fontCharacter:\"\\\\eb76\"}),ae.verified=new ae(\"verified\",{fontCharacter:\"\\\\eb77\"}),ae.versions=new ae(\"versions\",{fontCharacter:\"\\\\eb78\"}),ae.vmActive=new ae(\"vm-active\",{fontCharacter:\"\\\\eb79\"}),ae.vmOutline=new ae(\"vm-outline\",{fontCharacter:\"\\\\eb7a\"}),ae.vmRunning=new ae(\"vm-running\",{fontCharacter:\"\\\\eb7b\"}),ae.watch=new ae(\"watch\",{fontCharacter:\"\\\\eb7c\"}),ae.whitespace=new ae(\"whitespace\",{fontCharacter:\"\\\\eb7d\"}),ae.wholeWord=new ae(\"whole-word\",{fontCharacter:\"\\\\eb7e\"}),ae.window=new ae(\"window\",{fontCharacter:\"\\\\eb7f\"}),ae.wordWrap=new ae(\"word-wrap\",{fontCharacter:\"\\\\eb80\"}),ae.zoomIn=new ae(\"zoom-in\",{fontCharacter:\"\\\\eb81\"}),ae.zoomOut=new ae(\"zoom-out\",{fontCharacter:\"\\\\eb82\"}),ae.listFilter=new ae(\"list-filter\",{fontCharacter:\"\\\\eb83\"}),ae.listFlat=new ae(\"list-flat\",{fontCharacter:\"\\\\eb84\"}),ae.listSelection=new ae(\"list-selection\",{fontCharacter:\"\\\\eb85\"}),ae.selection=new ae(\"selection\",{fontCharacter:\"\\\\eb85\"}),ae.listTree=new ae(\"list-tree\",{fontCharacter:\"\\\\eb86\"}),ae.debugBreakpointFunctionUnverified=new ae(\"debug-breakpoint-function-unverified\",{fontCharacter:\"\\\\eb87\"}),ae.debugBreakpointFunction=new ae(\"debug-breakpoint-function\",{fontCharacter:\"\\\\eb88\"}),ae.debugBreakpointFunctionDisabled=new ae(\"debug-breakpoint-function-disabled\",{fontCharacter:\"\\\\eb88\"}),ae.debugStackframeActive=new ae(\"debug-stackframe-active\",{fontCharacter:\"\\\\eb89\"}),ae.debugStackframeDot=new ae(\"debug-stackframe-dot\",{fontCharacter:\"\\\\eb8a\"}),ae.debugStackframe=new ae(\"debug-stackframe\",{fontCharacter:\"\\\\eb8b\"}),ae.debugStackframeFocused=new ae(\"debug-stackframe-focused\",{fontCharacter:\"\\\\eb8b\"}),ae.debugBreakpointUnsupported=new ae(\"debug-breakpoint-unsupported\",{fontCharacter:\"\\\\eb8c\"}),ae.symbolString=new ae(\"symbol-string\",{fontCharacter:\"\\\\eb8d\"}),ae.debugReverseContinue=new ae(\"debug-reverse-continue\",{fontCharacter:\"\\\\eb8e\"}),ae.debugStepBack=new ae(\"debug-step-back\",{fontCharacter:\"\\\\eb8f\"}),ae.debugRestartFrame=new ae(\"debug-restart-frame\",{fontCharacter:\"\\\\eb90\"}),ae.callIncoming=new ae(\"call-incoming\",{fontCharacter:\"\\\\eb92\"}),ae.callOutgoing=new ae(\"call-outgoing\",{fontCharacter:\"\\\\eb93\"}),ae.menu=new ae(\"menu\",{fontCharacter:\"\\\\eb94\"}),ae.expandAll=new ae(\"expand-all\",{fontCharacter:\"\\\\eb95\"}),ae.feedback=new ae(\"feedback\",{fontCharacter:\"\\\\eb96\"}),ae.groupByRefType=new ae(\"group-by-ref-type\",{fontCharacter:\"\\\\eb97\"}),ae.ungroupByRefType=new ae(\"ungroup-by-ref-type\",{fontCharacter:\"\\\\eb98\"}),ae.account=new ae(\"account\",{fontCharacter:\"\\\\eb99\"}),ae.bellDot=new ae(\"bell-dot\",{fontCharacter:\"\\\\eb9a\"}),ae.debugConsole=new ae(\"debug-console\",{fontCharacter:\"\\\\eb9b\"}),ae.library=new ae(\"library\",{fontCharacter:\"\\\\eb9c\"}),ae.output=new ae(\"output\",{fontCharacter:\"\\\\eb9d\"}),ae.runAll=new ae(\"run-all\",{fontCharacter:\"\\\\eb9e\"}),ae.syncIgnored=new ae(\"sync-ignored\",{fontCharacter:\"\\\\eb9f\"}),ae.pinned=new ae(\"pinned\",{fontCharacter:\"\\\\eba0\"}),ae.githubInverted=new ae(\"github-inverted\",{fontCharacter:\"\\\\eba1\"}),ae.debugAlt=new ae(\"debug-alt\",{fontCharacter:\"\\\\eb91\"}),ae.serverProcess=new ae(\"server-process\",{fontCharacter:\"\\\\eba2\"}),ae.serverEnvironment=new ae(\"server-environment\",{fontCharacter:\"\\\\eba3\"}),ae.pass=new ae(\"pass\",{fontCharacter:\"\\\\eba4\"}),ae.stopCircle=new ae(\"stop-circle\",{fontCharacter:\"\\\\eba5\"}),ae.playCircle=new ae(\"play-circle\",{fontCharacter:\"\\\\eba6\"}),ae.record=new ae(\"record\",{fontCharacter:\"\\\\eba7\"}),ae.debugAltSmall=new ae(\"debug-alt-small\",{fontCharacter:\"\\\\eba8\"}),ae.vmConnect=new ae(\"vm-connect\",{fontCharacter:\"\\\\eba9\"}),ae.cloud=new ae(\"cloud\",{fontCharacter:\"\\\\ebaa\"}),ae.merge=new ae(\"merge\",{fontCharacter:\"\\\\ebab\"}),ae.exportIcon=new ae(\"export\",{fontCharacter:\"\\\\ebac\"}),ae.graphLeft=new ae(\"graph-left\",{fontCharacter:\"\\\\ebad\"}),ae.magnet=new ae(\"magnet\",{fontCharacter:\"\\\\ebae\"}),ae.notebook=new ae(\"notebook\",{fontCharacter:\"\\\\ebaf\"}),ae.redo=new ae(\"redo\",{fontCharacter:\"\\\\ebb0\"}),ae.checkAll=new ae(\"check-all\",{fontCharacter:\"\\\\ebb1\"}),ae.pinnedDirty=new ae(\"pinned-dirty\",{fontCharacter:\"\\\\ebb2\"}),ae.passFilled=new ae(\"pass-filled\",{fontCharacter:\"\\\\ebb3\"}),ae.circleLargeFilled=new ae(\"circle-large-filled\",{fontCharacter:\"\\\\ebb4\"}),ae.circleLargeOutline=new ae(\"circle-large-outline\",{fontCharacter:\"\\\\ebb5\"}),ae.combine=new ae(\"combine\",{fontCharacter:\"\\\\ebb6\"}),ae.gather=new ae(\"gather\",{fontCharacter:\"\\\\ebb6\"}),ae.table=new ae(\"table\",{fontCharacter:\"\\\\ebb7\"}),ae.variableGroup=new ae(\"variable-group\",{fontCharacter:\"\\\\ebb8\"}),ae.typeHierarchy=new ae(\"type-hierarchy\",{fontCharacter:\"\\\\ebb9\"}),ae.typeHierarchySub=new ae(\"type-hierarchy-sub\",{fontCharacter:\"\\\\ebba\"}),ae.typeHierarchySuper=new ae(\"type-hierarchy-super\",{fontCharacter:\"\\\\ebbb\"}),ae.gitPullRequestCreate=new ae(\"git-pull-request-create\",{fontCharacter:\"\\\\ebbc\"}),ae.runAbove=new ae(\"run-above\",{fontCharacter:\"\\\\ebbd\"}),ae.runBelow=new ae(\"run-below\",{fontCharacter:\"\\\\ebbe\"}),ae.notebookTemplate=new ae(\"notebook-template\",{fontCharacter:\"\\\\ebbf\"}),ae.debugRerun=new ae(\"debug-rerun\",{fontCharacter:\"\\\\ebc0\"}),ae.workspaceTrusted=new ae(\"workspace-trusted\",{fontCharacter:\"\\\\ebc1\"}),ae.workspaceUntrusted=new ae(\"workspace-untrusted\",{fontCharacter:\"\\\\ebc2\"}),ae.workspaceUnspecified=new ae(\"workspace-unspecified\",{fontCharacter:\"\\\\ebc3\"}),ae.terminalCmd=new ae(\"terminal-cmd\",{fontCharacter:\"\\\\ebc4\"}),ae.terminalDebian=new ae(\"terminal-debian\",{fontCharacter:\"\\\\ebc5\"}),ae.terminalLinux=new ae(\"terminal-linux\",{fontCharacter:\"\\\\ebc6\"}),ae.terminalPowershell=new ae(\"terminal-powershell\",{fontCharacter:\"\\\\ebc7\"}),ae.terminalTmux=new ae(\"terminal-tmux\",{fontCharacter:\"\\\\ebc8\"}),ae.terminalUbuntu=new ae(\"terminal-ubuntu\",{fontCharacter:\"\\\\ebc9\"}),ae.terminalBash=new ae(\"terminal-bash\",{fontCharacter:\"\\\\ebca\"}),ae.arrowSwap=new ae(\"arrow-swap\",{fontCharacter:\"\\\\ebcb\"}),ae.copy=new ae(\"copy\",{fontCharacter:\"\\\\ebcc\"}),ae.personAdd=new ae(\"person-add\",{fontCharacter:\"\\\\ebcd\"}),ae.filterFilled=new ae(\"filter-filled\",{fontCharacter:\"\\\\ebce\"}),ae.wand=new ae(\"wand\",{fontCharacter:\"\\\\ebcf\"}),ae.debugLineByLine=new ae(\"debug-line-by-line\",{fontCharacter:\"\\\\ebd0\"}),ae.inspect=new ae(\"inspect\",{fontCharacter:\"\\\\ebd1\"}),ae.layers=new ae(\"layers\",{fontCharacter:\"\\\\ebd2\"}),ae.layersDot=new ae(\"layers-dot\",{fontCharacter:\"\\\\ebd3\"}),ae.layersActive=new ae(\"layers-active\",{fontCharacter:\"\\\\ebd4\"}),ae.compass=new ae(\"compass\",{fontCharacter:\"\\\\ebd5\"}),ae.compassDot=new ae(\"compass-dot\",{fontCharacter:\"\\\\ebd6\"}),ae.compassActive=new ae(\"compass-active\",{fontCharacter:\"\\\\ebd7\"}),ae.azure=new ae(\"azure\",{fontCharacter:\"\\\\ebd8\"}),ae.issueDraft=new ae(\"issue-draft\",{fontCharacter:\"\\\\ebd9\"}),ae.gitPullRequestClosed=new ae(\"git-pull-request-closed\",{fontCharacter:\"\\\\ebda\"}),ae.gitPullRequestDraft=new ae(\"git-pull-request-draft\",{fontCharacter:\"\\\\ebdb\"}),ae.debugAll=new ae(\"debug-all\",{fontCharacter:\"\\\\ebdc\"}),ae.debugCoverage=new ae(\"debug-coverage\",{fontCharacter:\"\\\\ebdd\"}),ae.runErrors=new ae(\"run-errors\",{fontCharacter:\"\\\\ebde\"}),ae.folderLibrary=new ae(\"folder-library\",{fontCharacter:\"\\\\ebdf\"}),ae.debugContinueSmall=new ae(\"debug-continue-small\",{fontCharacter:\"\\\\ebe0\"}),ae.beakerStop=new ae(\"beaker-stop\",{fontCharacter:\"\\\\ebe1\"}),ae.graphLine=new ae(\"graph-line\",{fontCharacter:\"\\\\ebe2\"}),ae.graphScatter=new ae(\"graph-scatter\",{fontCharacter:\"\\\\ebe3\"}),ae.pieChart=new ae(\"pie-chart\",{fontCharacter:\"\\\\ebe4\"}),ae.bracket=new ae(\"bracket\",ae.json.definition),ae.bracketDot=new ae(\"bracket-dot\",{fontCharacter:\"\\\\ebe5\"}),ae.bracketError=new ae(\"bracket-error\",{fontCharacter:\"\\\\ebe6\"}),ae.lockSmall=new ae(\"lock-small\",{fontCharacter:\"\\\\ebe7\"}),ae.azureDevops=new ae(\"azure-devops\",{fontCharacter:\"\\\\ebe8\"}),ae.verifiedFilled=new ae(\"verified-filled\",{fontCharacter:\"\\\\ebe9\"}),ae.newLine=new ae(\"newline\",{fontCharacter:\"\\\\ebea\"}),ae.layout=new ae(\"layout\",{fontCharacter:\"\\\\ebeb\"}),ae.layoutActivitybarLeft=new ae(\"layout-activitybar-left\",{fontCharacter:\"\\\\ebec\"}),ae.layoutActivitybarRight=new ae(\"layout-activitybar-right\",{fontCharacter:\"\\\\ebed\"}),ae.layoutPanelLeft=new ae(\"layout-panel-left\",{fontCharacter:\"\\\\ebee\"}),ae.layoutPanelCenter=new ae(\"layout-panel-center\",{fontCharacter:\"\\\\ebef\"}),ae.layoutPanelJustify=new ae(\"layout-panel-justify\",{fontCharacter:\"\\\\ebf0\"}),ae.layoutPanelRight=new ae(\"layout-panel-right\",{fontCharacter:\"\\\\ebf1\"}),ae.layoutPanel=new ae(\"layout-panel\",{fontCharacter:\"\\\\ebf2\"}),ae.layoutSidebarLeft=new ae(\"layout-sidebar-left\",{fontCharacter:\"\\\\ebf3\"}),ae.layoutSidebarRight=new ae(\"layout-sidebar-right\",{fontCharacter:\"\\\\ebf4\"}),ae.layoutStatusbar=new ae(\"layout-statusbar\",{fontCharacter:\"\\\\ebf5\"}),ae.layoutMenubar=new ae(\"layout-menubar\",{fontCharacter:\"\\\\ebf6\"}),ae.layoutCentered=new ae(\"layout-centered\",{fontCharacter:\"\\\\ebf7\"}),ae.target=new ae(\"target\",{fontCharacter:\"\\\\ebf8\"}),ae.indent=new ae(\"indent\",{fontCharacter:\"\\\\ebf9\"}),ae.recordSmall=new ae(\"record-small\",{fontCharacter:\"\\\\ebfa\"}),ae.errorSmall=new ae(\"error-small\",{fontCharacter:\"\\\\ebfb\"}),ae.arrowCircleDown=new ae(\"arrow-circle-down\",{fontCharacter:\"\\\\ebfc\"}),ae.arrowCircleLeft=new ae(\"arrow-circle-left\",{fontCharacter:\"\\\\ebfd\"}),ae.arrowCircleRight=new ae(\"arrow-circle-right\",{fontCharacter:\"\\\\ebfe\"}),ae.arrowCircleUp=new ae(\"arrow-circle-up\",{fontCharacter:\"\\\\ebff\"}),ae.dialogError=new ae(\"dialog-error\",ae.error.definition),ae.dialogWarning=new ae(\"dialog-warning\",ae.warning.definition),ae.dialogInfo=new ae(\"dialog-info\",ae.info.definition),ae.dialogClose=new ae(\"dialog-close\",ae.close.definition),ae.treeItemExpanded=new ae(\"tree-item-expanded\",ae.chevronDown.definition),ae.treeFilterOnTypeOn=new ae(\"tree-filter-on-type-on\",ae.listFilter.definition),ae.treeFilterOnTypeOff=new ae(\"tree-filter-on-type-off\",ae.listSelection.definition),ae.treeFilterClear=new ae(\"tree-filter-clear\",ae.close.definition),ae.treeItemLoading=new ae(\"tree-item-loading\",ae.loading.definition),ae.menuSelection=new ae(\"menu-selection\",ae.check.definition),ae.menuSubmenu=new ae(\"menu-submenu\",ae.chevronRight.definition),ae.menuBarMore=new ae(\"menubar-more\",ae.more.definition),ae.scrollbarButtonLeft=new ae(\"scrollbar-button-left\",ae.triangleLeft.definition),ae.scrollbarButtonRight=new ae(\"scrollbar-button-right\",ae.triangleRight.definition),ae.scrollbarButtonUp=new ae(\"scrollbar-button-up\",ae.triangleUp.definition),ae.scrollbarButtonDown=new ae(\"scrollbar-button-down\",ae.triangleDown.definition),ae.toolBarMore=new ae(\"toolbar-more\",ae.more.definition),ae.quickInputBack=new ae(\"quick-input-back\",ae.arrowLeft.definition);var fS;(function(e){e.iconNameSegment=\"[A-Za-z0-9]+\",e.iconNameExpression=\"[A-Za-z0-9-]+\",e.iconModifierExpression=\"~[A-Za-z]+\",e.iconNameCharacter=\"[A-Za-z0-9~-]\";const n=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function f(d){if(d instanceof ae)return[\"codicon\",\"codicon-\"+d.id];const k=n.exec(d.id);if(!k)return f(ae.error);let[,J,h]=k;const v=[\"codicon\",\"codicon-\"+J];return h&&v.push(\"codicon-modifier-\"+h.substr(1)),v}e.asClassNameArray=f;function p(d){return f(d).join(\" \")}e.asClassName=p;function a(d){return\".\"+f(d).join(\".\")}e.asCSSSelector=a})(fS||(fS={}));class ZN{constructor(n,f,p){this._tokenBrand=void 0,this.offset=n,this.type=f,this.language=p}toString(){return\"(\"+this.offset+\", \"+this.type+\")\"}}var dS;(function(e){const n=new Map;n.set(0,ae.symbolMethod),n.set(1,ae.symbolFunction),n.set(2,ae.symbolConstructor),n.set(3,ae.symbolField),n.set(4,ae.symbolVariable),n.set(5,ae.symbolClass),n.set(6,ae.symbolStruct),n.set(7,ae.symbolInterface),n.set(8,ae.symbolModule),n.set(9,ae.symbolProperty),n.set(10,ae.symbolEvent),n.set(11,ae.symbolOperator),n.set(12,ae.symbolUnit),n.set(13,ae.symbolValue),n.set(15,ae.symbolEnum),n.set(14,ae.symbolConstant),n.set(15,ae.symbolEnum),n.set(16,ae.symbolEnumMember),n.set(17,ae.symbolKeyword),n.set(27,ae.symbolSnippet),n.set(18,ae.symbolText),n.set(19,ae.symbolColor),n.set(20,ae.symbolFile),n.set(21,ae.symbolReference),n.set(22,ae.symbolCustomColor),n.set(23,ae.symbolFolder),n.set(24,ae.symbolTypeParameter),n.set(25,ae.account),n.set(26,ae.issues);function f(d){let k=n.get(d);return k||(console.info(\"No codicon found for CompletionItemKind \"+d),k=ae.symbolProperty),k}e.toIcon=f;const p=new Map;p.set(\"method\",0),p.set(\"function\",1),p.set(\"constructor\",2),p.set(\"field\",3),p.set(\"variable\",4),p.set(\"class\",5),p.set(\"struct\",6),p.set(\"interface\",7),p.set(\"module\",8),p.set(\"property\",9),p.set(\"event\",10),p.set(\"operator\",11),p.set(\"unit\",12),p.set(\"value\",13),p.set(\"constant\",14),p.set(\"enum\",15),p.set(\"enum-member\",16),p.set(\"enumMember\",16),p.set(\"keyword\",17),p.set(\"snippet\",27),p.set(\"text\",18),p.set(\"color\",19),p.set(\"file\",20),p.set(\"reference\",21),p.set(\"customcolor\",22),p.set(\"folder\",23),p.set(\"type-parameter\",24),p.set(\"typeParameter\",24),p.set(\"account\",25),p.set(\"issue\",26);function a(d,k){let J=p.get(d);return typeof J==\"undefined\"&&!k&&(J=9),J}e.fromString=a})(dS||(dS={}));var pS;(function(e){e[e.Automatic=0]=\"Automatic\",e[e.Explicit=1]=\"Explicit\"})(pS||(pS={}));var _S;(function(e){e[e.Invoke=1]=\"Invoke\",e[e.TriggerCharacter=2]=\"TriggerCharacter\",e[e.ContentChange=3]=\"ContentChange\"})(_S||(_S={}));var mS;(function(e){e[e.Text=0]=\"Text\",e[e.Read=1]=\"Read\",e[e.Write=2]=\"Write\"})(mS||(mS={}));var gS;(function(e){const n=new Map;n.set(0,ae.symbolFile),n.set(1,ae.symbolModule),n.set(2,ae.symbolNamespace),n.set(3,ae.symbolPackage),n.set(4,ae.symbolClass),n.set(5,ae.symbolMethod),n.set(6,ae.symbolProperty),n.set(7,ae.symbolField),n.set(8,ae.symbolConstructor),n.set(9,ae.symbolEnum),n.set(10,ae.symbolInterface),n.set(11,ae.symbolFunction),n.set(12,ae.symbolVariable),n.set(13,ae.symbolConstant),n.set(14,ae.symbolString),n.set(15,ae.symbolNumber),n.set(16,ae.symbolBoolean),n.set(17,ae.symbolArray),n.set(18,ae.symbolObject),n.set(19,ae.symbolKey),n.set(20,ae.symbolNull),n.set(21,ae.symbolEnumMember),n.set(22,ae.symbolStruct),n.set(23,ae.symbolEvent),n.set(24,ae.symbolOperator),n.set(25,ae.symbolTypeParameter);function f(p){let a=n.get(p);return a||(console.info(\"No codicon found for SymbolKind \"+p),a=ae.symbolProperty),a}e.toIcon=f})(gS||(gS={}));var vS;(function(e){function n(f){return!f||typeof f!=\"object\"?!1:typeof f.id==\"string\"&&typeof f.title==\"string\"}e.is=n})(vS||(vS={}));var hS;(function(e){e[e.Type=1]=\"Type\",e[e.Parameter=2]=\"Parameter\"})(hS||(hS={})),new YN;var yS;(function(e){e[e.Unknown=0]=\"Unknown\",e[e.Disabled=1]=\"Disabled\",e[e.Enabled=2]=\"Enabled\"})(yS||(yS={}));var bS;(function(e){e[e.KeepWhitespace=1]=\"KeepWhitespace\",e[e.InsertAsSnippet=4]=\"InsertAsSnippet\"})(bS||(bS={}));var ES;(function(e){e[e.Method=0]=\"Method\",e[e.Function=1]=\"Function\",e[e.Constructor=2]=\"Constructor\",e[e.Field=3]=\"Field\",e[e.Variable=4]=\"Variable\",e[e.Class=5]=\"Class\",e[e.Struct=6]=\"Struct\",e[e.Interface=7]=\"Interface\",e[e.Module=8]=\"Module\",e[e.Property=9]=\"Property\",e[e.Event=10]=\"Event\",e[e.Operator=11]=\"Operator\",e[e.Unit=12]=\"Unit\",e[e.Value=13]=\"Value\",e[e.Constant=14]=\"Constant\",e[e.Enum=15]=\"Enum\",e[e.EnumMember=16]=\"EnumMember\",e[e.Keyword=17]=\"Keyword\",e[e.Text=18]=\"Text\",e[e.Color=19]=\"Color\",e[e.File=20]=\"File\",e[e.Reference=21]=\"Reference\",e[e.Customcolor=22]=\"Customcolor\",e[e.Folder=23]=\"Folder\",e[e.TypeParameter=24]=\"TypeParameter\",e[e.User=25]=\"User\",e[e.Issue=26]=\"Issue\",e[e.Snippet=27]=\"Snippet\"})(ES||(ES={}));var TS;(function(e){e[e.Deprecated=1]=\"Deprecated\"})(TS||(TS={}));var SS;(function(e){e[e.Invoke=0]=\"Invoke\",e[e.TriggerCharacter=1]=\"TriggerCharacter\",e[e.TriggerForIncompleteCompletions=2]=\"TriggerForIncompleteCompletions\"})(SS||(SS={}));var DS;(function(e){e[e.EXACT=0]=\"EXACT\",e[e.ABOVE=1]=\"ABOVE\",e[e.BELOW=2]=\"BELOW\"})(DS||(DS={}));var LS;(function(e){e[e.NotSet=0]=\"NotSet\",e[e.ContentFlush=1]=\"ContentFlush\",e[e.RecoverFromMarkers=2]=\"RecoverFromMarkers\",e[e.Explicit=3]=\"Explicit\",e[e.Paste=4]=\"Paste\",e[e.Undo=5]=\"Undo\",e[e.Redo=6]=\"Redo\"})(LS||(LS={}));var AS;(function(e){e[e.LF=1]=\"LF\",e[e.CRLF=2]=\"CRLF\"})(AS||(AS={}));var CS;(function(e){e[e.Text=0]=\"Text\",e[e.Read=1]=\"Read\",e[e.Write=2]=\"Write\"})(CS||(CS={}));var xS;(function(e){e[e.None=0]=\"None\",e[e.Keep=1]=\"Keep\",e[e.Brackets=2]=\"Brackets\",e[e.Advanced=3]=\"Advanced\",e[e.Full=4]=\"Full\"})(xS||(xS={}));var IS;(function(e){e[e.acceptSuggestionOnCommitCharacter=0]=\"acceptSuggestionOnCommitCharacter\",e[e.acceptSuggestionOnEnter=1]=\"acceptSuggestionOnEnter\",e[e.accessibilitySupport=2]=\"accessibilitySupport\",e[e.accessibilityPageSize=3]=\"accessibilityPageSize\",e[e.ariaLabel=4]=\"ariaLabel\",e[e.autoClosingBrackets=5]=\"autoClosingBrackets\",e[e.autoClosingDelete=6]=\"autoClosingDelete\",e[e.autoClosingOvertype=7]=\"autoClosingOvertype\",e[e.autoClosingQuotes=8]=\"autoClosingQuotes\",e[e.autoIndent=9]=\"autoIndent\",e[e.automaticLayout=10]=\"automaticLayout\",e[e.autoSurround=11]=\"autoSurround\",e[e.bracketPairColorization=12]=\"bracketPairColorization\",e[e.guides=13]=\"guides\",e[e.codeLens=14]=\"codeLens\",e[e.codeLensFontFamily=15]=\"codeLensFontFamily\",e[e.codeLensFontSize=16]=\"codeLensFontSize\",e[e.colorDecorators=17]=\"colorDecorators\",e[e.columnSelection=18]=\"columnSelection\",e[e.comments=19]=\"comments\",e[e.contextmenu=20]=\"contextmenu\",e[e.copyWithSyntaxHighlighting=21]=\"copyWithSyntaxHighlighting\",e[e.cursorBlinking=22]=\"cursorBlinking\",e[e.cursorSmoothCaretAnimation=23]=\"cursorSmoothCaretAnimation\",e[e.cursorStyle=24]=\"cursorStyle\",e[e.cursorSurroundingLines=25]=\"cursorSurroundingLines\",e[e.cursorSurroundingLinesStyle=26]=\"cursorSurroundingLinesStyle\",e[e.cursorWidth=27]=\"cursorWidth\",e[e.disableLayerHinting=28]=\"disableLayerHinting\",e[e.disableMonospaceOptimizations=29]=\"disableMonospaceOptimizations\",e[e.domReadOnly=30]=\"domReadOnly\",e[e.dragAndDrop=31]=\"dragAndDrop\",e[e.emptySelectionClipboard=32]=\"emptySelectionClipboard\",e[e.extraEditorClassName=33]=\"extraEditorClassName\",e[e.fastScrollSensitivity=34]=\"fastScrollSensitivity\",e[e.find=35]=\"find\",e[e.fixedOverflowWidgets=36]=\"fixedOverflowWidgets\",e[e.folding=37]=\"folding\",e[e.foldingStrategy=38]=\"foldingStrategy\",e[e.foldingHighlight=39]=\"foldingHighlight\",e[e.foldingImportsByDefault=40]=\"foldingImportsByDefault\",e[e.foldingMaximumRegions=41]=\"foldingMaximumRegions\",e[e.unfoldOnClickAfterEndOfLine=42]=\"unfoldOnClickAfterEndOfLine\",e[e.fontFamily=43]=\"fontFamily\",e[e.fontInfo=44]=\"fontInfo\",e[e.fontLigatures=45]=\"fontLigatures\",e[e.fontSize=46]=\"fontSize\",e[e.fontWeight=47]=\"fontWeight\",e[e.formatOnPaste=48]=\"formatOnPaste\",e[e.formatOnType=49]=\"formatOnType\",e[e.glyphMargin=50]=\"glyphMargin\",e[e.gotoLocation=51]=\"gotoLocation\",e[e.hideCursorInOverviewRuler=52]=\"hideCursorInOverviewRuler\",e[e.hover=53]=\"hover\",e[e.inDiffEditor=54]=\"inDiffEditor\",e[e.inlineSuggest=55]=\"inlineSuggest\",e[e.letterSpacing=56]=\"letterSpacing\",e[e.lightbulb=57]=\"lightbulb\",e[e.lineDecorationsWidth=58]=\"lineDecorationsWidth\",e[e.lineHeight=59]=\"lineHeight\",e[e.lineNumbers=60]=\"lineNumbers\",e[e.lineNumbersMinChars=61]=\"lineNumbersMinChars\",e[e.linkedEditing=62]=\"linkedEditing\",e[e.links=63]=\"links\",e[e.matchBrackets=64]=\"matchBrackets\",e[e.minimap=65]=\"minimap\",e[e.mouseStyle=66]=\"mouseStyle\",e[e.mouseWheelScrollSensitivity=67]=\"mouseWheelScrollSensitivity\",e[e.mouseWheelZoom=68]=\"mouseWheelZoom\",e[e.multiCursorMergeOverlapping=69]=\"multiCursorMergeOverlapping\",e[e.multiCursorModifier=70]=\"multiCursorModifier\",e[e.multiCursorPaste=71]=\"multiCursorPaste\",e[e.occurrencesHighlight=72]=\"occurrencesHighlight\",e[e.overviewRulerBorder=73]=\"overviewRulerBorder\",e[e.overviewRulerLanes=74]=\"overviewRulerLanes\",e[e.padding=75]=\"padding\",e[e.parameterHints=76]=\"parameterHints\",e[e.peekWidgetDefaultFocus=77]=\"peekWidgetDefaultFocus\",e[e.definitionLinkOpensInPeek=78]=\"definitionLinkOpensInPeek\",e[e.quickSuggestions=79]=\"quickSuggestions\",e[e.quickSuggestionsDelay=80]=\"quickSuggestionsDelay\",e[e.readOnly=81]=\"readOnly\",e[e.renameOnType=82]=\"renameOnType\",e[e.renderControlCharacters=83]=\"renderControlCharacters\",e[e.renderFinalNewline=84]=\"renderFinalNewline\",e[e.renderLineHighlight=85]=\"renderLineHighlight\",e[e.renderLineHighlightOnlyWhenFocus=86]=\"renderLineHighlightOnlyWhenFocus\",e[e.renderValidationDecorations=87]=\"renderValidationDecorations\",e[e.renderWhitespace=88]=\"renderWhitespace\",e[e.revealHorizontalRightPadding=89]=\"revealHorizontalRightPadding\",e[e.roundedSelection=90]=\"roundedSelection\",e[e.rulers=91]=\"rulers\",e[e.scrollbar=92]=\"scrollbar\",e[e.scrollBeyondLastColumn=93]=\"scrollBeyondLastColumn\",e[e.scrollBeyondLastLine=94]=\"scrollBeyondLastLine\",e[e.scrollPredominantAxis=95]=\"scrollPredominantAxis\",e[e.selectionClipboard=96]=\"selectionClipboard\",e[e.selectionHighlight=97]=\"selectionHighlight\",e[e.selectOnLineNumbers=98]=\"selectOnLineNumbers\",e[e.showFoldingControls=99]=\"showFoldingControls\",e[e.showUnused=100]=\"showUnused\",e[e.snippetSuggestions=101]=\"snippetSuggestions\",e[e.smartSelect=102]=\"smartSelect\",e[e.smoothScrolling=103]=\"smoothScrolling\",e[e.stickyTabStops=104]=\"stickyTabStops\",e[e.stopRenderingLineAfter=105]=\"stopRenderingLineAfter\",e[e.suggest=106]=\"suggest\",e[e.suggestFontSize=107]=\"suggestFontSize\",e[e.suggestLineHeight=108]=\"suggestLineHeight\",e[e.suggestOnTriggerCharacters=109]=\"suggestOnTriggerCharacters\",e[e.suggestSelection=110]=\"suggestSelection\",e[e.tabCompletion=111]=\"tabCompletion\",e[e.tabIndex=112]=\"tabIndex\",e[e.unicodeHighlighting=113]=\"unicodeHighlighting\",e[e.unusualLineTerminators=114]=\"unusualLineTerminators\",e[e.useShadowDOM=115]=\"useShadowDOM\",e[e.useTabStops=116]=\"useTabStops\",e[e.wordSeparators=117]=\"wordSeparators\",e[e.wordWrap=118]=\"wordWrap\",e[e.wordWrapBreakAfterCharacters=119]=\"wordWrapBreakAfterCharacters\",e[e.wordWrapBreakBeforeCharacters=120]=\"wordWrapBreakBeforeCharacters\",e[e.wordWrapColumn=121]=\"wordWrapColumn\",e[e.wordWrapOverride1=122]=\"wordWrapOverride1\",e[e.wordWrapOverride2=123]=\"wordWrapOverride2\",e[e.wrappingIndent=124]=\"wrappingIndent\",e[e.wrappingStrategy=125]=\"wrappingStrategy\",e[e.showDeprecated=126]=\"showDeprecated\",e[e.inlayHints=127]=\"inlayHints\",e[e.editorClassName=128]=\"editorClassName\",e[e.pixelRatio=129]=\"pixelRatio\",e[e.tabFocusMode=130]=\"tabFocusMode\",e[e.layoutInfo=131]=\"layoutInfo\",e[e.wrappingInfo=132]=\"wrappingInfo\"})(IS||(IS={}));var NS;(function(e){e[e.TextDefined=0]=\"TextDefined\",e[e.LF=1]=\"LF\",e[e.CRLF=2]=\"CRLF\"})(NS||(NS={}));var kS;(function(e){e[e.LF=0]=\"LF\",e[e.CRLF=1]=\"CRLF\"})(kS||(kS={}));var OS;(function(e){e[e.None=0]=\"None\",e[e.Indent=1]=\"Indent\",e[e.IndentOutdent=2]=\"IndentOutdent\",e[e.Outdent=3]=\"Outdent\"})(OS||(OS={}));var RS;(function(e){e[e.Both=0]=\"Both\",e[e.Right=1]=\"Right\",e[e.Left=2]=\"Left\",e[e.None=3]=\"None\"})(RS||(RS={}));var wS;(function(e){e[e.Type=1]=\"Type\",e[e.Parameter=2]=\"Parameter\"})(wS||(wS={}));var MS;(function(e){e[e.Automatic=0]=\"Automatic\",e[e.Explicit=1]=\"Explicit\"})(MS||(MS={}));var EE;(function(e){e[e.DependsOnKbLayout=-1]=\"DependsOnKbLayout\",e[e.Unknown=0]=\"Unknown\",e[e.Backspace=1]=\"Backspace\",e[e.Tab=2]=\"Tab\",e[e.Enter=3]=\"Enter\",e[e.Shift=4]=\"Shift\",e[e.Ctrl=5]=\"Ctrl\",e[e.Alt=6]=\"Alt\",e[e.PauseBreak=7]=\"PauseBreak\",e[e.CapsLock=8]=\"CapsLock\",e[e.Escape=9]=\"Escape\",e[e.Space=10]=\"Space\",e[e.PageUp=11]=\"PageUp\",e[e.PageDown=12]=\"PageDown\",e[e.End=13]=\"End\",e[e.Home=14]=\"Home\",e[e.LeftArrow=15]=\"LeftArrow\",e[e.UpArrow=16]=\"UpArrow\",e[e.RightArrow=17]=\"RightArrow\",e[e.DownArrow=18]=\"DownArrow\",e[e.Insert=19]=\"Insert\",e[e.Delete=20]=\"Delete\",e[e.Digit0=21]=\"Digit0\",e[e.Digit1=22]=\"Digit1\",e[e.Digit2=23]=\"Digit2\",e[e.Digit3=24]=\"Digit3\",e[e.Digit4=25]=\"Digit4\",e[e.Digit5=26]=\"Digit5\",e[e.Digit6=27]=\"Digit6\",e[e.Digit7=28]=\"Digit7\",e[e.Digit8=29]=\"Digit8\",e[e.Digit9=30]=\"Digit9\",e[e.KeyA=31]=\"KeyA\",e[e.KeyB=32]=\"KeyB\",e[e.KeyC=33]=\"KeyC\",e[e.KeyD=34]=\"KeyD\",e[e.KeyE=35]=\"KeyE\",e[e.KeyF=36]=\"KeyF\",e[e.KeyG=37]=\"KeyG\",e[e.KeyH=38]=\"KeyH\",e[e.KeyI=39]=\"KeyI\",e[e.KeyJ=40]=\"KeyJ\",e[e.KeyK=41]=\"KeyK\",e[e.KeyL=42]=\"KeyL\",e[e.KeyM=43]=\"KeyM\",e[e.KeyN=44]=\"KeyN\",e[e.KeyO=45]=\"KeyO\",e[e.KeyP=46]=\"KeyP\",e[e.KeyQ=47]=\"KeyQ\",e[e.KeyR=48]=\"KeyR\",e[e.KeyS=49]=\"KeyS\",e[e.KeyT=50]=\"KeyT\",e[e.KeyU=51]=\"KeyU\",e[e.KeyV=52]=\"KeyV\",e[e.KeyW=53]=\"KeyW\",e[e.KeyX=54]=\"KeyX\",e[e.KeyY=55]=\"KeyY\",e[e.KeyZ=56]=\"KeyZ\",e[e.Meta=57]=\"Meta\",e[e.ContextMenu=58]=\"ContextMenu\",e[e.F1=59]=\"F1\",e[e.F2=60]=\"F2\",e[e.F3=61]=\"F3\",e[e.F4=62]=\"F4\",e[e.F5=63]=\"F5\",e[e.F6=64]=\"F6\",e[e.F7=65]=\"F7\",e[e.F8=66]=\"F8\",e[e.F9=67]=\"F9\",e[e.F10=68]=\"F10\",e[e.F11=69]=\"F11\",e[e.F12=70]=\"F12\",e[e.F13=71]=\"F13\",e[e.F14=72]=\"F14\",e[e.F15=73]=\"F15\",e[e.F16=74]=\"F16\",e[e.F17=75]=\"F17\",e[e.F18=76]=\"F18\",e[e.F19=77]=\"F19\",e[e.NumLock=78]=\"NumLock\",e[e.ScrollLock=79]=\"ScrollLock\",e[e.Semicolon=80]=\"Semicolon\",e[e.Equal=81]=\"Equal\",e[e.Comma=82]=\"Comma\",e[e.Minus=83]=\"Minus\",e[e.Period=84]=\"Period\",e[e.Slash=85]=\"Slash\",e[e.Backquote=86]=\"Backquote\",e[e.BracketLeft=87]=\"BracketLeft\",e[e.Backslash=88]=\"Backslash\",e[e.BracketRight=89]=\"BracketRight\",e[e.Quote=90]=\"Quote\",e[e.OEM_8=91]=\"OEM_8\",e[e.IntlBackslash=92]=\"IntlBackslash\",e[e.Numpad0=93]=\"Numpad0\",e[e.Numpad1=94]=\"Numpad1\",e[e.Numpad2=95]=\"Numpad2\",e[e.Numpad3=96]=\"Numpad3\",e[e.Numpad4=97]=\"Numpad4\",e[e.Numpad5=98]=\"Numpad5\",e[e.Numpad6=99]=\"Numpad6\",e[e.Numpad7=100]=\"Numpad7\",e[e.Numpad8=101]=\"Numpad8\",e[e.Numpad9=102]=\"Numpad9\",e[e.NumpadMultiply=103]=\"NumpadMultiply\",e[e.NumpadAdd=104]=\"NumpadAdd\",e[e.NUMPAD_SEPARATOR=105]=\"NUMPAD_SEPARATOR\",e[e.NumpadSubtract=106]=\"NumpadSubtract\",e[e.NumpadDecimal=107]=\"NumpadDecimal\",e[e.NumpadDivide=108]=\"NumpadDivide\",e[e.KEY_IN_COMPOSITION=109]=\"KEY_IN_COMPOSITION\",e[e.ABNT_C1=110]=\"ABNT_C1\",e[e.ABNT_C2=111]=\"ABNT_C2\",e[e.AudioVolumeMute=112]=\"AudioVolumeMute\",e[e.AudioVolumeUp=113]=\"AudioVolumeUp\",e[e.AudioVolumeDown=114]=\"AudioVolumeDown\",e[e.BrowserSearch=115]=\"BrowserSearch\",e[e.BrowserHome=116]=\"BrowserHome\",e[e.BrowserBack=117]=\"BrowserBack\",e[e.BrowserForward=118]=\"BrowserForward\",e[e.MediaTrackNext=119]=\"MediaTrackNext\",e[e.MediaTrackPrevious=120]=\"MediaTrackPrevious\",e[e.MediaStop=121]=\"MediaStop\",e[e.MediaPlayPause=122]=\"MediaPlayPause\",e[e.LaunchMediaPlayer=123]=\"LaunchMediaPlayer\",e[e.LaunchMail=124]=\"LaunchMail\",e[e.LaunchApp2=125]=\"LaunchApp2\",e[e.Clear=126]=\"Clear\",e[e.MAX_VALUE=127]=\"MAX_VALUE\"})(EE||(EE={}));var TE;(function(e){e[e.Hint=1]=\"Hint\",e[e.Info=2]=\"Info\",e[e.Warning=4]=\"Warning\",e[e.Error=8]=\"Error\"})(TE||(TE={}));var SE;(function(e){e[e.Unnecessary=1]=\"Unnecessary\",e[e.Deprecated=2]=\"Deprecated\"})(SE||(SE={}));var PS;(function(e){e[e.Inline=1]=\"Inline\",e[e.Gutter=2]=\"Gutter\"})(PS||(PS={}));var FS;(function(e){e[e.UNKNOWN=0]=\"UNKNOWN\",e[e.TEXTAREA=1]=\"TEXTAREA\",e[e.GUTTER_GLYPH_MARGIN=2]=\"GUTTER_GLYPH_MARGIN\",e[e.GUTTER_LINE_NUMBERS=3]=\"GUTTER_LINE_NUMBERS\",e[e.GUTTER_LINE_DECORATIONS=4]=\"GUTTER_LINE_DECORATIONS\",e[e.GUTTER_VIEW_ZONE=5]=\"GUTTER_VIEW_ZONE\",e[e.CONTENT_TEXT=6]=\"CONTENT_TEXT\",e[e.CONTENT_EMPTY=7]=\"CONTENT_EMPTY\",e[e.CONTENT_VIEW_ZONE=8]=\"CONTENT_VIEW_ZONE\",e[e.CONTENT_WIDGET=9]=\"CONTENT_WIDGET\",e[e.OVERVIEW_RULER=10]=\"OVERVIEW_RULER\",e[e.SCROLLBAR=11]=\"SCROLLBAR\",e[e.OVERLAY_WIDGET=12]=\"OVERLAY_WIDGET\",e[e.OUTSIDE_EDITOR=13]=\"OUTSIDE_EDITOR\"})(FS||(FS={}));var GS;(function(e){e[e.TOP_RIGHT_CORNER=0]=\"TOP_RIGHT_CORNER\",e[e.BOTTOM_RIGHT_CORNER=1]=\"BOTTOM_RIGHT_CORNER\",e[e.TOP_CENTER=2]=\"TOP_CENTER\"})(GS||(GS={}));var BS;(function(e){e[e.Left=1]=\"Left\",e[e.Center=2]=\"Center\",e[e.Right=4]=\"Right\",e[e.Full=7]=\"Full\"})(BS||(BS={}));var US;(function(e){e[e.Left=0]=\"Left\",e[e.Right=1]=\"Right\",e[e.None=2]=\"None\"})(US||(US={}));var VS;(function(e){e[e.Off=0]=\"Off\",e[e.On=1]=\"On\",e[e.Relative=2]=\"Relative\",e[e.Interval=3]=\"Interval\",e[e.Custom=4]=\"Custom\"})(VS||(VS={}));var WS;(function(e){e[e.None=0]=\"None\",e[e.Text=1]=\"Text\",e[e.Blocks=2]=\"Blocks\"})(WS||(WS={}));var jS;(function(e){e[e.Smooth=0]=\"Smooth\",e[e.Immediate=1]=\"Immediate\"})(jS||(jS={}));var HS;(function(e){e[e.Auto=1]=\"Auto\",e[e.Hidden=2]=\"Hidden\",e[e.Visible=3]=\"Visible\"})(HS||(HS={}));var DE;(function(e){e[e.LTR=0]=\"LTR\",e[e.RTL=1]=\"RTL\"})(DE||(DE={}));var JS;(function(e){e[e.Invoke=1]=\"Invoke\",e[e.TriggerCharacter=2]=\"TriggerCharacter\",e[e.ContentChange=3]=\"ContentChange\"})(JS||(JS={}));var KS;(function(e){e[e.File=0]=\"File\",e[e.Module=1]=\"Module\",e[e.Namespace=2]=\"Namespace\",e[e.Package=3]=\"Package\",e[e.Class=4]=\"Class\",e[e.Method=5]=\"Method\",e[e.Property=6]=\"Property\",e[e.Field=7]=\"Field\",e[e.Constructor=8]=\"Constructor\",e[e.Enum=9]=\"Enum\",e[e.Interface=10]=\"Interface\",e[e.Function=11]=\"Function\",e[e.Variable=12]=\"Variable\",e[e.Constant=13]=\"Constant\",e[e.String=14]=\"String\",e[e.Number=15]=\"Number\",e[e.Boolean=16]=\"Boolean\",e[e.Array=17]=\"Array\",e[e.Object=18]=\"Object\",e[e.Key=19]=\"Key\",e[e.Null=20]=\"Null\",e[e.EnumMember=21]=\"EnumMember\",e[e.Struct=22]=\"Struct\",e[e.Event=23]=\"Event\",e[e.Operator=24]=\"Operator\",e[e.TypeParameter=25]=\"TypeParameter\"})(KS||(KS={}));var zS;(function(e){e[e.Deprecated=1]=\"Deprecated\"})(zS||(zS={}));var qS;(function(e){e[e.Hidden=0]=\"Hidden\",e[e.Blink=1]=\"Blink\",e[e.Smooth=2]=\"Smooth\",e[e.Phase=3]=\"Phase\",e[e.Expand=4]=\"Expand\",e[e.Solid=5]=\"Solid\"})(qS||(qS={}));var XS;(function(e){e[e.Line=1]=\"Line\",e[e.Block=2]=\"Block\",e[e.Underline=3]=\"Underline\",e[e.LineThin=4]=\"LineThin\",e[e.BlockOutline=5]=\"BlockOutline\",e[e.UnderlineThin=6]=\"UnderlineThin\"})(XS||(XS={}));var YS;(function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]=\"AlwaysGrowsWhenTypingAtEdges\",e[e.NeverGrowsWhenTypingAtEdges=1]=\"NeverGrowsWhenTypingAtEdges\",e[e.GrowsOnlyWhenTypingBefore=2]=\"GrowsOnlyWhenTypingBefore\",e[e.GrowsOnlyWhenTypingAfter=3]=\"GrowsOnlyWhenTypingAfter\"})(YS||(YS={}));var QS;(function(e){e[e.None=0]=\"None\",e[e.Same=1]=\"Same\",e[e.Indent=2]=\"Indent\",e[e.DeepIndent=3]=\"DeepIndent\"})(QS||(QS={}));class wv{static chord(n,f){return XN(n,f)}}wv.CtrlCmd=2048,wv.Shift=1024,wv.Alt=512,wv.WinCtrl=256;function $N(){return{editor:void 0,languages:void 0,CancellationTokenSource:JN,Emitter:A_,KeyCode:EE,KeyMod:wv,Position:mf,Range:yl,Selection:Qf,SelectionDirection:DE,MarkerSeverity:TE,MarkerTag:SE,Uri:Om,Token:ZN}}var ZS;(function(e){e[e.Left=1]=\"Left\",e[e.Center=2]=\"Center\",e[e.Right=4]=\"Right\",e[e.Full=7]=\"Full\"})(ZS||(ZS={}));var $S;(function(e){e[e.Inline=1]=\"Inline\",e[e.Gutter=2]=\"Gutter\"})($S||($S={}));var eD;(function(e){e[e.Both=0]=\"Both\",e[e.Right=1]=\"Right\",e[e.Left=2]=\"Left\",e[e.None=3]=\"None\"})(eD||(eD={}));function ek(e,n,f,p,a){if(p===0)return!0;const d=n.charCodeAt(p-1);if(e.get(d)!==0||d===13||d===10)return!0;if(a>0){const k=n.charCodeAt(p);if(e.get(k)!==0)return!0}return!1}function rk(e,n,f,p,a){if(p+a===f)return!0;const d=n.charCodeAt(p+a);if(e.get(d)!==0||d===13||d===10)return!0;if(a>0){const k=n.charCodeAt(p+a-1);if(e.get(k)!==0)return!0}return!1}function tk(e,n,f,p,a){return ek(e,n,f,p,a)&&rk(e,n,f,p,a)}class nk{constructor(n,f){this._wordSeparators=n,this._searchRegex=f,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(n){this._searchRegex.lastIndex=n,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(n){const f=n.length;let p;do{if(this._prevMatchStartIndex+this._prevMatchLength===f||(p=this._searchRegex.exec(n),!p))return null;const a=p.index,d=p[0].length;if(a===this._prevMatchStartIndex&&d===this._prevMatchLength){if(d===0){tN(n,f,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=a,this._prevMatchLength=d,!this._wordSeparators||tk(this._wordSeparators,n,f,a,d))return p}while(p);return null}}class ak{static computeUnicodeHighlights(n,f,p){const a=p?p.startLineNumber:1,d=p?p.endLineNumber:n.getLineCount(),k=new rD(f),J=k.getCandidateCodePoints();let h;J===\"allNonBasicAscii\"?h=new RegExp(\"[^\\\\t\\\\n\\\\r\\\\x20-\\\\x7E]\",\"g\"):h=new RegExp(`${ik(Array.from(J))}`,\"g\");const v=new nk(null,h),A=[];let z=!1,ie,b=0,M=0,S=0;e:for(let B=a,H=d;B<=H;B++){const I=n.getLineContent(B),w=I.length;v.reset(0);do if(ie=v.next(I),ie){let x=ie.index,O=ie.index+ie[0].length;if(x>0){const F=I.charCodeAt(x-1);oE(F)&&x--}if(O+1<w){const F=I.charCodeAt(O-1);oE(F)&&O++}const q=I.substring(x,O),Z=pE(x+1,lS,I,0),ne=k.shouldHighlightNonBasicASCII(q,Z?Z.word:null);if(ne!==0){ne===3?b++:ne===2?M++:ne===1?S++:qI();const F=1e3;if(A.length>=F){z=!0;break e}A.push(new yl(B,x+1,B,O+1))}}while(ie)}return{ranges:A,hasMore:z,ambiguousCharacterCount:b,invisibleCharacterCount:M,nonBasicAsciiCharacterCount:S}}static computeUnicodeHighlightReason(n,f){const p=new rD(f);switch(p.shouldHighlightNonBasicASCII(n,null)){case 0:return null;case 2:return{kind:1};case 3:{const d=n.codePointAt(0),k=p.ambiguousCharacters.getPrimaryConfusable(d),J=Id.getLocales().filter(h=>!Id.getInstance(new Set([...f.allowedLocales,h])).isAmbiguous(d));return{kind:0,confusableWith:String.fromCodePoint(k),notAmbiguousInLocales:J}}case 1:return{kind:2}}}}function ik(e,n){return`[${YI(e.map(p=>String.fromCodePoint(p)).join(\"\"))}]`}class rD{constructor(n){this.options=n,this.allowedCodePoints=new Set(n.allowedCodePoints),this.ambiguousCharacters=Id.getInstance(new Set(n.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return\"allNonBasicAscii\";const n=new Set;if(this.options.invisibleCharacters)for(const f of X_.codePoints)tD(String.fromCodePoint(f))||n.add(f);if(this.options.ambiguousCharacters)for(const f of this.ambiguousCharacters.getConfusableCodePoints())n.add(f);for(const f of this.allowedCodePoints)n.delete(f);return n}shouldHighlightNonBasicASCII(n,f){const p=n.codePointAt(0);if(this.allowedCodePoints.has(p))return 0;if(this.options.nonBasicASCII)return 1;let a=!1,d=!1;if(f)for(let k of f){const J=k.codePointAt(0),h=aN(k);a=a||h,!h&&!this.ambiguousCharacters.isAmbiguous(J)&&!X_.isInvisibleCharacter(J)&&(d=!0)}return!a&&d?0:this.options.invisibleCharacters&&!tD(n)&&X_.isInvisibleCharacter(p)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(p)?3:0}}function tD(e){return e===\" \"||e===`\n`||e===\"\t\"}var Rm=function(e,n,f,p){function a(d){return d instanceof f?d:new f(function(k){k(d)})}return new(f||(f=Promise))(function(d,k){function J(A){try{v(p.next(A))}catch(z){k(z)}}function h(A){try{v(p.throw(A))}catch(z){k(z)}}function v(A){A.done?d(A.value):a(A.value).then(J,h)}v((p=p.apply(e,n||[])).next())})};class ok extends wN{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(n){return this._lines[n-1]}getWordAtPosition(n,f){const p=pE(n.column,FN(f),this._lines[n.lineNumber-1],0);return p?new yl(n.lineNumber,p.startColumn,n.lineNumber,p.endColumn):null}words(n){const f=this._lines,p=this._wordenize.bind(this);let a=0,d=\"\",k=0,J=[];return{*[Symbol.iterator](){for(;;)if(k<J.length){const h=d.substring(J[k].start,J[k].end);k+=1,yield h}else if(a<f.length)d=f[a],J=p(d,n),k=0,a+=1;else break}}}getLineWords(n,f){const p=this._lines[n-1],a=this._wordenize(p,f),d=[];for(const k of a)d.push({word:p.substring(k.start,k.end),startColumn:k.start+1,endColumn:k.end+1});return d}_wordenize(n,f){const p=[];let a;for(f.lastIndex=0;(a=f.exec(n))&&a[0].length!==0;)p.push({start:a.index,end:a.index+a[0].length});return p}getValueInRange(n){if(n=this._validateRange(n),n.startLineNumber===n.endLineNumber)return this._lines[n.startLineNumber-1].substring(n.startColumn-1,n.endColumn-1);const f=this._eol,p=n.startLineNumber-1,a=n.endLineNumber-1,d=[];d.push(this._lines[p].substring(n.startColumn-1));for(let k=p+1;k<a;k++)d.push(this._lines[k]);return d.push(this._lines[a].substring(0,n.endColumn-1)),d.join(f)}offsetAt(n){return n=this._validatePosition(n),this._ensureLineStarts(),this._lineStarts.getPrefixSum(n.lineNumber-2)+(n.column-1)}positionAt(n){n=Math.floor(n),n=Math.max(0,n),this._ensureLineStarts();const f=this._lineStarts.getIndexOf(n),p=this._lines[f.index].length;return{lineNumber:1+f.index,column:1+Math.min(f.remainder,p)}}_validateRange(n){const f=this._validatePosition({lineNumber:n.startLineNumber,column:n.startColumn}),p=this._validatePosition({lineNumber:n.endLineNumber,column:n.endColumn});return f.lineNumber!==n.startLineNumber||f.column!==n.startColumn||p.lineNumber!==n.endLineNumber||p.column!==n.endColumn?{startLineNumber:f.lineNumber,startColumn:f.column,endLineNumber:p.lineNumber,endColumn:p.column}:n}_validatePosition(n){if(!mf.isIPosition(n))throw new Error(\"bad position\");let{lineNumber:f,column:p}=n,a=!1;if(f<1)f=1,p=1,a=!0;else if(f>this._lines.length)f=this._lines.length,p=this._lines[f-1].length+1,a=!0;else{const d=this._lines[f-1].length+1;p<1?(p=1,a=!0):p>d&&(p=d,a=!0)}return a?{lineNumber:f,column:p}:n}}class kg{constructor(n,f){this._host=n,this._models=Object.create(null),this._foreignModuleFactory=f,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(n){return this._models[n]}_getModels(){const n=[];return Object.keys(this._models).forEach(f=>n.push(this._models[f])),n}acceptNewModel(n){this._models[n.url]=new ok(Om.parse(n.url),n.lines,n.EOL,n.versionId)}acceptModelChanged(n,f){if(!this._models[n])return;this._models[n].onEvents(f)}acceptRemovedModel(n){!this._models[n]||delete this._models[n]}computeUnicodeHighlights(n,f,p){return Rm(this,void 0,void 0,function*(){const a=this._getModel(n);return a?ak.computeUnicodeHighlights(a,f,p):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(n,f,p,a){return Rm(this,void 0,void 0,function*(){const d=this._getModel(n),k=this._getModel(f);if(!d||!k)return null;const J=d.getLinesContent(),h=k.getLinesContent(),A=new kN(J,h,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:p,shouldMakePrettyDiff:!0,maxComputationTime:a}).computeDiff(),z=A.changes.length>0?!1:this._modelsAreIdentical(d,k);return{quitEarly:A.quitEarly,identical:z,changes:A.changes}})}_modelsAreIdentical(n,f){const p=n.getLineCount(),a=f.getLineCount();if(p!==a)return!1;for(let d=1;d<=p;d++){const k=n.getLineContent(d),J=f.getLineContent(d);if(k!==J)return!1}return!0}computeMoreMinimalEdits(n,f){return Rm(this,void 0,void 0,function*(){const p=this._getModel(n);if(!p)return f;const a=[];let d;f=f.slice(0).sort((k,J)=>{if(k.range&&J.range)return yl.compareRangesUsingStarts(k.range,J.range);const h=k.range?0:1,v=J.range?0:1;return h-v});for(let{range:k,text:J,eol:h}of f){if(typeof h==\"number\"&&(d=h),yl.isEmpty(k)&&!J)continue;const v=p.getValueInRange(k);if(J=J.replace(/\\r\\n|\\n|\\r/g,p.eol),v===J)continue;if(Math.max(J.length,v.length)>kg._diffLimit){a.push({range:k,text:J});continue}const A=_N(v,J,!1),z=p.offsetAt(yl.lift(k).getStartPosition());for(const ie of A){const b=p.positionAt(z+ie.originalStart),M=p.positionAt(z+ie.originalStart+ie.originalLength),S={text:J.substr(ie.modifiedStart,ie.modifiedLength),range:{startLineNumber:b.lineNumber,startColumn:b.column,endLineNumber:M.lineNumber,endColumn:M.column}};p.getValueInRange(S.range)!==S.text&&a.push(S)}}return typeof d==\"number\"&&a.push({eol:d,text:\"\",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),a})}computeLinks(n){return Rm(this,void 0,void 0,function*(){const f=this._getModel(n);return f?HN(f):null})}textualSuggest(n,f,p,a){return Rm(this,void 0,void 0,function*(){const d=new Xh(!0),k=new RegExp(p,a),J=new Set;e:for(let h of n){const v=this._getModel(h);if(!!v){for(let A of v.words(k))if(!(A===f||!isNaN(Number(A)))&&(J.add(A),J.size>kg._suggestionsLimit))break e}}return{words:Array.from(J),duration:d.elapsed()}})}computeWordRanges(n,f,p,a){return Rm(this,void 0,void 0,function*(){const d=this._getModel(n);if(!d)return Object.create(null);const k=new RegExp(p,a),J=Object.create(null);for(let h=f.startLineNumber;h<f.endLineNumber;h++){const v=d.getLineWords(h,k);for(const A of v){if(!isNaN(Number(A.word)))continue;let z=J[A.word];z||(z=[],J[A.word]=z),z.push({startLineNumber:h,startColumn:A.startColumn,endLineNumber:h,endColumn:A.endColumn})}}return J})}navigateValueSet(n,f,p,a,d){return Rm(this,void 0,void 0,function*(){const k=this._getModel(n);if(!k)return null;const J=new RegExp(a,d);f.startColumn===f.endColumn&&(f={startLineNumber:f.startLineNumber,startColumn:f.startColumn,endLineNumber:f.endLineNumber,endColumn:f.endColumn+1});const h=k.getValueInRange(f),v=k.getWordAtPosition({lineNumber:f.startLineNumber,column:f.startColumn},J);if(!v)return null;const A=k.getValueInRange(v);return gE.INSTANCE.navigateValueSet(f,h,v,A,p)})}loadForeignModule(n,f,p){const k={host:zI(p,(J,h)=>this._host.fhr(J,h)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(k,f),Promise.resolve(iE(this._foreignModule))):Promise.reject(new Error(\"Unexpected usage\"))}fmr(n,f){if(!this._foreignModule||typeof this._foreignModule[n]!=\"function\")return Promise.reject(new Error(\"Missing requestHandler or method: \"+n));try{return Promise.resolve(this._foreignModule[n].apply(this._foreignModule,f))}catch(p){return Promise.reject(p)}}}kg._diffLimit=1e5,kg._suggestionsLimit=1e4,typeof importScripts==\"function\"&&(su.monaco=$N());let LE=!1;function nD(e){if(LE)return;LE=!0;const n=new dN(f=>{self.postMessage(f)},f=>new kg(f,e));self.onmessage=f=>{n.onmessage(f.data)}}self.onmessage=e=>{LE||nD(null)};/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var sk=Object.defineProperty,lk=(e,n)=>{for(var f in n)sk(e,f,{get:n[f],enumerable:!0})},aD={};lk(aD,{EndOfLineState:()=>fk,IndentStyle:()=>pk,ScriptKind:()=>Mm,ScriptTarget:()=>_k,TokenClass:()=>mk,createClassifier:()=>ck,createLanguageService:()=>sD,displayPartsToString:()=>uk,flattenDiagnosticMessageText:()=>dk,typescript:()=>lD});var Gt=function(e,n,f){if(f||arguments.length===2)for(var p=0,a=n.length,d;p<a;p++)(d||!(p in n))&&(d||(d=Array.prototype.slice.call(n,0,p)),d[p]=n[p]);return e.concat(d||Array.prototype.slice.call(n))},Rn=function(){return Rn=Object.assign||function(e){for(var n,f=1,p=arguments.length;f<p;f++){n=arguments[f];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Rn.apply(this,arguments)},iD=function(e,n){return Object.defineProperty?Object.defineProperty(e,\"raw\",{value:n}):e.raw=n,e},Og=function(e,n){var f={label:0,sent:function(){if(d[0]&1)throw d[1];return d[1]},trys:[],ops:[]},p,a,d,k;return k={next:J(0),throw:J(1),return:J(2)},typeof Symbol==\"function\"&&(k[Symbol.iterator]=function(){return this}),k;function J(v){return function(A){return h([v,A])}}function h(v){if(p)throw new TypeError(\"Generator is already executing.\");for(;f;)try{if(p=1,a&&(d=v[0]&2?a.return:v[0]?a.throw||((d=a.return)&&d.call(a),0):a.next)&&!(d=d.call(a,v[1])).done)return d;switch(a=0,d&&(v=[v[0]&2,d.value]),v[0]){case 0:case 1:d=v;break;case 4:return f.label++,{value:v[1],done:!1};case 5:f.label++,a=v[1],v=[0];continue;case 7:v=f.ops.pop(),f.trys.pop();continue;default:if(d=f.trys,!(d=d.length>0&&d[d.length-1])&&(v[0]===6||v[0]===2)){f=0;continue}if(v[0]===3&&(!d||v[1]>d[0]&&v[1]<d[3])){f.label=v[1];break}if(v[0]===6&&f.label<d[1]){f.label=d[1],d=v;break}if(d&&f.label<d[2]){f.label=d[2],f.ops.push(v);break}d[2]&&f.ops.pop(),f.trys.pop();continue}v=n.call(e,f)}catch(A){v=[6,A],a=0}finally{p=d=0}if(v[0]&5)throw v[1];return{value:v[0]?v[1]:void 0,done:!0}}},oD=function(e,n){var f={};for(var p in e)Object.prototype.hasOwnProperty.call(e,p)&&n.indexOf(p)<0&&(f[p]=e[p]);if(e!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var a=0,p=Object.getOwnPropertySymbols(e);a<p.length;a++)n.indexOf(p[a])<0&&Object.prototype.propertyIsEnumerable.call(e,p[a])&&(f[p[a]]=e[p[a]]);return f},wm=function(){var e=function(n,f){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,a){p.__proto__=a}||function(p,a){for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&(p[d]=a[d])},e(n,f)};return function(n,f){if(typeof f!=\"function\"&&f!==null)throw new TypeError(\"Class extends value \"+String(f)+\" is not a constructor or null\");e(n,f);function p(){this.constructor=n}n.prototype=f===null?Object.create(f):(p.prototype=f.prototype,new p)}}();(function(e){function n(){var M={};return M.prev=M,{head:M,tail:M,size:0}}function f(M,S){return{key:M,value:S,next:void 0,prev:void 0}}function p(M,S){return M===S||M!==M&&S!==S}function a(M){var S=M.prev;if(!S||S===M)throw new Error(\"Illegal state\");return S}function d(M){for(;M;){var S=!M.prev;if(M=M.next,!S)return M}}function k(M,S){for(var B=M.tail;B!==M.head;B=a(B))if(p(B.key,S))return B}function J(M,S,B){var H=k(M,S);if(H){H.value=B;return}var I=f(S,B);return I.prev=M.tail,M.tail.next=I,M.tail=I,M.size++,I}function h(M,S){for(var B=M.tail;B!==M.head;B=a(B)){if(B.prev===void 0)throw new Error(\"Illegal state\");if(p(B.key,S)){if(B.next)B.next.prev=B.prev;else{if(M.tail!==B)throw new Error(\"Illegal state\");M.tail=B.prev}return B.prev.next=B.next,B.next=B.prev,B.prev=void 0,M.size--,B}}}function v(M){for(var S=M.tail;S!==M.head;){var B=a(S);S.next=M.head,S.prev=void 0,S=B}M.head.next=void 0,M.tail=M.head,M.size=0}function A(M,S){for(var B=M.head;B;)B=d(B),B&&S(B.value,B.key)}function z(M,S){if(M)for(var B=M.next();!B.done;B=M.next())S(B.value)}function ie(M,S){return{current:M.head,selector:S}}function b(M){return M.current=d(M.current),M.current?{value:M.selector(M.current.key,M.current.value),done:!1}:{value:void 0,done:!0}}(function(M){function S(H){var I=function(){function w(x,O){this._data=ie(x,O)}return w.prototype.next=function(){return b(this._data)},w}();return function(){function w(x){var O=this;this._mapData=n(),z(H(x),function(q){var Z=q[0],ne=q[1];return O.set(Z,ne)})}return Object.defineProperty(w.prototype,\"size\",{get:function(){return this._mapData.size},enumerable:!1,configurable:!0}),w.prototype.get=function(x){var O;return(O=k(this._mapData,x))===null||O===void 0?void 0:O.value},w.prototype.set=function(x,O){return J(this._mapData,x,O),this},w.prototype.has=function(x){return!!k(this._mapData,x)},w.prototype.delete=function(x){return!!h(this._mapData,x)},w.prototype.clear=function(){v(this._mapData)},w.prototype.keys=function(){return new I(this._mapData,function(x,O){return x})},w.prototype.values=function(){return new I(this._mapData,function(x,O){return O})},w.prototype.entries=function(){return new I(this._mapData,function(x,O){return[x,O]})},w.prototype.forEach=function(x){A(this._mapData,x)},w}()}M.createMapShim=S;function B(H){var I=function(){function w(x,O){this._data=ie(x,O)}return w.prototype.next=function(){return b(this._data)},w}();return function(){function w(x){var O=this;this._mapData=n(),z(H(x),function(q){return O.add(q)})}return Object.defineProperty(w.prototype,\"size\",{get:function(){return this._mapData.size},enumerable:!1,configurable:!0}),w.prototype.add=function(x){return J(this._mapData,x,x),this},w.prototype.has=function(x){return!!k(this._mapData,x)},w.prototype.delete=function(x){return!!h(this._mapData,x)},w.prototype.clear=function(){v(this._mapData)},w.prototype.keys=function(){return new I(this._mapData,function(x,O){return x})},w.prototype.values=function(){return new I(this._mapData,function(x,O){return O})},w.prototype.entries=function(){return new I(this._mapData,function(x,O){return[x,O]})},w.prototype.forEach=function(x){A(this._mapData,x)},w}()}M.createSetShim=B})(e.ShimCollections||(e.ShimCollections={}))})(jr||(jr={})),function(e){e.versionMajorMinor=\"4.5\",e.version=\"4.5.5\",function(p){p[p.LessThan=-1]=\"LessThan\",p[p.EqualTo=0]=\"EqualTo\",p[p.GreaterThan=1]=\"GreaterThan\"}(e.Comparison||(e.Comparison={}));var n;(function(p){function a(){return typeof Map!=\"undefined\"&&\"entries\"in Map.prototype&&new Map([[0,0]]).size===1?Map:void 0}p.tryGetNativeMap=a;function d(){return typeof Set!=\"undefined\"&&\"entries\"in Set.prototype&&new Set([0]).size===1?Set:void 0}p.tryGetNativeSet=d})(n||(n={})),e.Map=f(\"Map\",\"tryGetNativeMap\",\"createMapShim\"),e.Set=f(\"Set\",\"tryGetNativeSet\",\"createSetShim\");function f(p,a,d){var k,J=(k=n[a]())!==null&&k!==void 0?k:e.ShimCollections===null||e.ShimCollections===void 0?void 0:e.ShimCollections[d](e.getIterator);if(J)return J;throw new Error(\"TypeScript requires an environment that provides a compatible native \".concat(p,\" implementation.\"))}}(jr||(jr={})),function(e){function n(se){if(se){if(et(se))return Ke(se);if(se instanceof e.Map)return se.entries();if(se instanceof e.Set)return se.values();throw new Error(\"Iteration not supported.\")}}e.getIterator=n,e.emptyArray=[],e.emptyMap=new e.Map,e.emptySet=new e.Set;function f(){return new e.Map}e.createMap=f;function p(se){var Be=new e.Map;for(var er in se)Yr.call(se,er)&&Be.set(er,se[er]);return Be}e.createMapFromTemplate=p;function a(se){return se?se.length:0}e.length=a;function d(se,Be){if(se)for(var er=0;er<se.length;er++){var vr=Be(se[er],er);if(vr)return vr}}e.forEach=d;function k(se,Be){if(se)for(var er=se.length-1;er>=0;er--){var vr=Be(se[er],er);if(vr)return vr}}e.forEachRight=k;function J(se,Be){if(se!==void 0)for(var er=0;er<se.length;er++){var vr=Be(se[er],er);if(vr!==void 0)return vr}}e.firstDefined=J;function h(se,Be){for(;;){var er=se.next();if(er.done)return;var vr=Be(er.value);if(vr!==void 0)return vr}}e.firstDefinedIterator=h;function v(se,Be,er){var vr=er;if(se)for(var qr=se.next(),Dt=0;!qr.done;qr=se.next(),Dt++)vr=Be(vr,qr.value,Dt);return vr}e.reduceLeftIterator=v;function A(se,Be,er){var vr=[];e.Debug.assertEqual(se.length,Be.length);for(var qr=0;qr<se.length;qr++)vr.push(er(se[qr],Be[qr],qr));return vr}e.zipWith=A;function z(se,Be){e.Debug.assertEqual(se.length,Be.length);var er=0;return{next:function(){return er===se.length?{value:void 0,done:!0}:(er++,{value:[se[er-1],Be[er-1]],done:!1})}}}e.zipToIterator=z;function ie(se,Be){e.Debug.assert(se.length===Be.length);for(var er=new e.Map,vr=0;vr<se.length;++vr)er.set(se[vr],Be[vr]);return er}e.zipToMap=ie;function b(se,Be){if(se.length<=1)return se;for(var er=[],vr=0,qr=se.length;vr<qr;vr++)vr&&er.push(Be),er.push(se[vr]);return er}e.intersperse=b;function M(se,Be){if(se){for(var er=0;er<se.length;er++)if(!Be(se[er],er))return!1}return!0}e.every=M;function S(se,Be){for(var er=0;er<se.length;er++){var vr=se[er];if(Be(vr,er))return vr}}e.find=S;function B(se,Be){for(var er=se.length-1;er>=0;er--){var vr=se[er];if(Be(vr,er))return vr}}e.findLast=B;function H(se,Be,er){for(var vr=er||0;vr<se.length;vr++)if(Be(se[vr],vr))return vr;return-1}e.findIndex=H;function I(se,Be,er){for(var vr=er===void 0?se.length-1:er;vr>=0;vr--)if(Be(se[vr],vr))return vr;return-1}e.findLastIndex=I;function w(se,Be){for(var er=0;er<se.length;er++){var vr=Be(se[er],er);if(vr)return vr}return e.Debug.fail()}e.findMap=w;function x(se,Be,er){if(er===void 0&&(er=Jn),se)for(var vr=0,qr=se;vr<qr.length;vr++){var Dt=qr[vr];if(er(Dt,Be))return!0}return!1}e.contains=x;function O(se,Be,er){return er===void 0&&(er=Jn),se.length===Be.length&&se.every(function(vr,qr){return er(vr,Be[qr])})}e.arraysEqual=O;function q(se,Be,er){for(var vr=er||0;vr<se.length;vr++)if(x(Be,se.charCodeAt(vr)))return vr;return-1}e.indexOfAnyCharCode=q;function Z(se,Be){var er=0;if(se)for(var vr=0;vr<se.length;vr++){var qr=se[vr];Be(qr,vr)&&er++}return er}e.countWhere=Z;function ne(se,Be){if(se){for(var er=se.length,vr=0;vr<er&&Be(se[vr]);)vr++;if(vr<er){var qr=se.slice(0,vr);for(vr++;vr<er;){var Dt=se[vr];Be(Dt)&&qr.push(Dt),vr++}return qr}}return se}e.filter=ne;function F(se,Be){for(var er=0,vr=0;vr<se.length;vr++)Be(se[vr],vr,se)&&(se[er]=se[vr],er++);se.length=er}e.filterMutate=F;function Q(se){se.length=0}e.clear=Q;function V(se,Be){var er;if(se){er=[];for(var vr=0;vr<se.length;vr++)er.push(Be(se[vr],vr))}return er}e.map=V;function re(se,Be){return{next:function(){var er=se.next();return er.done?er:{value:Be(er.value),done:!1}}}}e.mapIterator=re;function T(se,Be){if(se)for(var er=0;er<se.length;er++){var vr=se[er],qr=Be(vr,er);if(vr!==qr){var Dt=se.slice(0,er);for(Dt.push(qr),er++;er<se.length;er++)Dt.push(Be(se[er],er));return Dt}}return se}e.sameMap=T;function N(se){for(var Be=[],er=0,vr=se;er<vr.length;er++){var qr=vr[er];qr&&(et(qr)?Dr(Be,qr):Be.push(qr))}return Be}e.flatten=N;function y(se,Be){var er;if(se)for(var vr=0;vr<se.length;vr++){var qr=Be(se[vr],vr);qr&&(et(qr)?er=Dr(er,qr):er=De(er,qr))}return er||e.emptyArray}e.flatMap=y;function D(se,Be){var er=[];if(se)for(var vr=0;vr<se.length;vr++){var qr=Be(se[vr],vr);qr&&(et(qr)?Dr(er,qr):er.push(qr))}return er}e.flatMapToMutable=D;function C(se,Be){var er=se.next();if(er.done)return e.emptyIterator;var vr=qr(er.value);return{next:function(){for(;;){var Dt=vr.next();if(!Dt.done)return Dt;var Jt=se.next();if(Jt.done)return Jt;vr=qr(Jt.value)}}};function qr(Dt){var Jt=Be(Dt);return Jt===void 0?e.emptyIterator:et(Jt)?Ke(Jt):Jt}}e.flatMapIterator=C;function m(se,Be){var er;if(se)for(var vr=0;vr<se.length;vr++){var qr=se[vr],Dt=Be(qr,vr);(er||qr!==Dt||et(Dt))&&(er||(er=se.slice(0,vr)),et(Dt)?Dr(er,Dt):er.push(Dt))}return er||se}e.sameFlatMap=m;function u(se,Be){for(var er=[],vr=0;vr<se.length;vr++){var qr=Be(se[vr],vr);if(qr===void 0)return;er.push(qr)}return er}e.mapAllOrFail=u;function g(se,Be){var er=[];if(se)for(var vr=0;vr<se.length;vr++){var qr=Be(se[vr],vr);qr!==void 0&&er.push(qr)}return er}e.mapDefined=g;function P(se,Be){return{next:function(){for(;;){var er=se.next();if(er.done)return er;var vr=Be(er.value);if(vr!==void 0)return{value:vr,done:!1}}}}}e.mapDefinedIterator=P;function te(se,Be){if(!!se){var er=new e.Map;return se.forEach(function(vr,qr){var Dt=Be(qr,vr);if(Dt!==void 0){var Jt=Dt[0],Sn=Dt[1];Jt!==void 0&&Sn!==void 0&&er.set(Jt,Sn)}}),er}}e.mapDefinedEntries=te;function ue(se,Be){if(se){var er=new e.Set;return se.forEach(function(vr){var qr=Be(vr);qr!==void 0&&er.add(qr)}),er}}e.mapDefinedValues=ue;function X(se,Be,er){if(se.has(Be))return se.get(Be);var vr=er();return se.set(Be,vr),vr}e.getOrUpdate=X;function j(se,Be){return se.has(Be)?!1:(se.add(Be),!0)}e.tryAddToSet=j,e.emptyIterator={next:function(){return{value:void 0,done:!0}}};function Se(se){var Be=!1;return{next:function(){var er=Be;return Be=!0,er?{value:void 0,done:!0}:{value:se,done:!1}}}}e.singleIterator=Se;function Ce(se,Be,er){var vr;if(se){vr=[];for(var qr=se.length,Dt=void 0,Jt=void 0,Sn=0,ta=0;Sn<qr;){for(;ta<qr;){var xa=se[ta];if(Jt=Be(xa,ta),ta===0)Dt=Jt;else if(Jt!==Dt)break;ta++}if(Sn<ta){var Di=er(se.slice(Sn,ta),Dt,Sn,ta);Di&&vr.push(Di),Sn=ta}Dt=Jt,ta++}}return vr}e.spanMap=Ce;function R(se,Be){if(!!se){var er=new e.Map;return se.forEach(function(vr,qr){var Dt=Be(qr,vr),Jt=Dt[0],Sn=Dt[1];er.set(Jt,Sn)}),er}}e.mapEntries=R;function Y(se,Be){if(se)if(Be)for(var er=0,vr=se;er<vr.length;er++){var qr=vr[er];if(Be(qr))return!0}else return se.length>0;return!1}e.some=Y;function U(se,Be,er){for(var vr,qr=0;qr<se.length;qr++)Be(se[qr])?vr=vr===void 0?qr:vr:vr!==void 0&&(er(vr,qr),vr=void 0);vr!==void 0&&er(vr,se.length)}e.getRangesWhere=U;function K(se,Be){return Y(Be)?Y(se)?Gt(Gt([],se,!0),Be,!0):Be:se}e.concatenate=K;function Te(se,Be){return Be}function ge(se){return se.map(Te)}e.indicesOf=ge;function ke(se,Be,er){var vr=ge(se);Ar(se,vr,er);for(var qr=se[vr[0]],Dt=[vr[0]],Jt=1;Jt<vr.length;Jt++){var Sn=vr[Jt],ta=se[Sn];Be(qr,ta)||(Dt.push(Sn),qr=ta)}return Dt.sort(),Dt.map(function(xa){return se[xa]})}function Pe(se,Be){for(var er=[],vr=0,qr=se;vr<qr.length;vr++){var Dt=qr[vr];br(er,Dt,Be)}return er}function Ie(se,Be,er){return se.length===0?[]:se.length===1?se.slice():er?ke(se,Be,er):Pe(se,Be)}e.deduplicate=Ie;function Ge(se,Be){if(se.length===0)return e.emptyArray;for(var er=se[0],vr=[er],qr=1;qr<se.length;qr++){var Dt=se[qr];switch(Be(Dt,er)){case!0:case 0:continue;case-1:return e.Debug.fail(\"Array is unsorted.\")}vr.push(er=Dt)}return vr}function he(se,Be,er){if(se.length===0){se.push(Be);return}var vr=Jr(se,Be,ht,er);vr<0&&se.splice(~vr,0,Be)}e.insertSorted=he;function ve(se,Be,er){return Ge(kr(se,Be),er||Be||dn)}e.sortAndDeduplicate=ve;function Ve(se,Be){if(se.length<2)return!0;for(var er=se[0],vr=0,qr=se.slice(1);vr<qr.length;vr++){var Dt=qr[vr];if(Be(er,Dt)===1)return!1;er=Dt}return!0}e.arrayIsSorted=Ve;function _e(se,Be,er){if(er===void 0&&(er=Jn),!se||!Be)return se===Be;if(se.length!==Be.length)return!1;for(var vr=0;vr<se.length;vr++)if(!er(se[vr],Be[vr],vr))return!1;return!0}e.arrayIsEqualTo=_e;function Le(se){var Be;if(se)for(var er=0;er<se.length;er++){var vr=se[er];(Be||!vr)&&(Be||(Be=se.slice(0,er)),vr&&Be.push(vr))}return Be||se}e.compact=Le;function qe(se,Be,er){if(!Be||!se||Be.length===0||se.length===0)return Be;var vr=[];e:for(var qr=0,Dt=0;Dt<Be.length;Dt++){Dt>0&&e.Debug.assertGreaterThanOrEqual(er(Be[Dt],Be[Dt-1]),0);r:for(var Jt=qr;qr<se.length;qr++)switch(qr>Jt&&e.Debug.assertGreaterThanOrEqual(er(se[qr],se[qr-1]),0),er(Be[Dt],se[qr])){case-1:vr.push(Be[Dt]);continue e;case 0:continue e;case 1:continue r}}return vr}e.relativeComplement=qe;function Xe(se,Be){for(var er=0,vr=0,qr=se;vr<qr.length;vr++){var Dt=qr[vr];er+=Dt[Be]}return er}e.sum=Xe;function De(se,Be){return Be===void 0?se:se===void 0?[Be]:(se.push(Be),se)}e.append=De;function Ae(se,Be){return se===void 0?Be:Be===void 0?se:et(se)?et(Be)?K(se,Be):De(se,Be):et(Be)?De(Be,se):[se,Be]}e.combine=Ae;function Ye(se,Be){return Be<0?se.length+Be:Be}function Dr(se,Be,er,vr){if(Be===void 0||Be.length===0)return se;if(se===void 0)return Be.slice(er,vr);er=er===void 0?0:Ye(Be,er),vr=vr===void 0?Be.length:Ye(Be,vr);for(var qr=er;qr<vr&&qr<Be.length;qr++)Be[qr]!==void 0&&se.push(Be[qr]);return se}e.addRange=Dr;function br(se,Be,er){return x(se,Be,er)?!1:(se.push(Be),!0)}e.pushIfUnique=br;function lr(se,Be,er){return se?(br(se,Be,er),se):[Be]}e.appendIfUnique=lr;function Ar(se,Be,er){Be.sort(function(vr,qr){return er(se[vr],se[qr])||St(vr,qr)})}function kr(se,Be){return se.length===0?se:se.slice().sort(Be)}e.sort=kr;function Ke(se){var Be=0;return{next:function(){return Be===se.length?{value:void 0,done:!0}:(Be++,{value:se[Be-1],done:!1})}}}e.arrayIterator=Ke;function Me(se){var Be=se.length;return{next:function(){return Be===0?{value:void 0,done:!0}:(Be--,{value:se[Be],done:!1})}}}e.arrayReverseIterator=Me;function Hr(se,Be){var er=ge(se);return Ar(se,er,Be),er.map(function(vr){return se[vr]})}e.stableSort=Hr;function ur(se,Be,er,vr){for(;er<vr;){if(se[er]!==Be[er])return!1;er++}return!0}e.rangeEquals=ur;function gr(se,Be){if(se&&(Be=Ye(se,Be),Be<se.length))return se[Be]}e.elementAt=gr;function de(se){return se.length===0?void 0:se[0]}e.firstOrUndefined=de;function Fe(se){return e.Debug.assert(se.length!==0),se[0]}e.first=Fe;function $e(se){return se.length===0?void 0:se[se.length-1]}e.lastOrUndefined=$e;function Sr(se){return e.Debug.assert(se.length!==0),se[se.length-1]}e.last=Sr;function Pr(se){return se&&se.length===1?se[0]:void 0}e.singleOrUndefined=Pr;function He(se){return se&&se.length===1?se[0]:se}e.singleOrMany=He;function pr(se,Be,er){var vr=se.slice(0);return vr[Be]=er,vr}e.replaceElement=pr;function Jr(se,Be,er,vr,qr){return ze(se,er(Be),er,vr,qr)}e.binarySearch=Jr;function ze(se,Be,er,vr,qr){if(!Y(se))return-1;for(var Dt=qr||0,Jt=se.length-1;Dt<=Jt;){var Sn=Dt+(Jt-Dt>>1),ta=er(se[Sn],Sn);switch(vr(ta,Be)){case-1:Dt=Sn+1;break;case 0:return Sn;case 1:Jt=Sn-1;break}}return~Dt}e.binarySearchKey=ze;function Lr(se,Be,er,vr,qr){if(se&&se.length>0){var Dt=se.length;if(Dt>0){var Jt=vr===void 0||vr<0?0:vr,Sn=qr===void 0||Jt+qr>Dt-1?Dt-1:Jt+qr,ta=void 0;for(arguments.length<=2?(ta=se[Jt],Jt++):ta=er;Jt<=Sn;)ta=Be(ta,se[Jt],Jt),Jt++;return ta}}return er}e.reduceLeft=Lr;var Yr=Object.prototype.hasOwnProperty;function lt(se,Be){return Yr.call(se,Be)}e.hasProperty=lt;function tt(se,Be){return Yr.call(se,Be)?se[Be]:void 0}e.getProperty=tt;function Rt(se){var Be=[];for(var er in se)Yr.call(se,er)&&Be.push(er);return Be}e.getOwnKeys=Rt;function cn(se){var Be=[];do for(var er=Object.getOwnPropertyNames(se),vr=0,qr=er;vr<qr.length;vr++){var Dt=qr[vr];br(Be,Dt)}while(se=Object.getPrototypeOf(se));return Be}e.getAllKeys=cn;function bn(se){var Be=[];for(var er in se)Yr.call(se,er)&&Be.push(se[er]);return Be}e.getOwnValues=bn;var In=Object.entries||function(se){for(var Be=Rt(se),er=Array(Be.length),vr=0;vr<Be.length;vr++)er[vr]=[Be[vr],se[Be[vr]]];return er};function zn(se){return se?In(se):[]}e.getEntries=zn;function ir(se,Be){for(var er=new Array(se),vr=0;vr<se;vr++)er[vr]=Be(vr);return er}e.arrayOf=ir;function Or(se,Be){for(var er=[],vr=se.next();!vr.done;vr=se.next())er.push(Be?Be(vr.value):vr.value);return er}e.arrayFrom=Or;function sr(se){for(var Be=[],er=1;er<arguments.length;er++)Be[er-1]=arguments[er];for(var vr=0,qr=Be;vr<qr.length;vr++){var Dt=qr[vr];if(Dt!==void 0)for(var Jt in Dt)lt(Dt,Jt)&&(se[Jt]=Dt[Jt])}return se}e.assign=sr;function ye(se,Be,er){if(er===void 0&&(er=Jn),se===Be)return!0;if(!se||!Be)return!1;for(var vr in se)if(Yr.call(se,vr)&&(!Yr.call(Be,vr)||!er(se[vr],Be[vr])))return!1;for(var vr in Be)if(Yr.call(Be,vr)&&!Yr.call(se,vr))return!1;return!0}e.equalOwnProperties=ye;function or(se,Be,er){er===void 0&&(er=ht);for(var vr=new e.Map,qr=0,Dt=se;qr<Dt.length;qr++){var Jt=Dt[qr],Sn=Be(Jt);Sn!==void 0&&vr.set(Sn,er(Jt))}return vr}e.arrayToMap=or;function fe(se,Be,er){er===void 0&&(er=ht);for(var vr=[],qr=0,Dt=se;qr<Dt.length;qr++){var Jt=Dt[qr];vr[Be(Jt)]=er(Jt)}return vr}e.arrayToNumericMap=fe;function je(se,Be,er){er===void 0&&(er=ht);for(var vr=Ze(),qr=0,Dt=se;qr<Dt.length;qr++){var Jt=Dt[qr];vr.add(Be(Jt),er(Jt))}return vr}e.arrayToMultiMap=je;function Ee(se,Be,er){return er===void 0&&(er=ht),Or(je(se,Be).values(),er)}e.group=Ee;function We(se){var Be={};for(var er in se)Yr.call(se,er)&&(Be[er]=se[er]);return Be}e.clone=We;function $(se,Be){var er={};for(var vr in Be)Yr.call(Be,vr)&&(er[vr]=Be[vr]);for(var vr in se)Yr.call(se,vr)&&(er[vr]=se[vr]);return er}e.extend=$;function Ne(se,Be){for(var er in Be)Yr.call(Be,er)&&(se[er]=Be[er])}e.copyProperties=Ne;function me(se,Be){return Be?Be.bind(se):void 0}e.maybeBind=me;function Ze(){var se=new e.Map;return se.add=Cr,se.remove=fr,se}e.createMultiMap=Ze;function Cr(se,Be){var er=this.get(se);return er?er.push(Be):this.set(se,er=[Be]),er}function fr(se,Be){var er=this.get(se);er&&(to(er,Be),er.length||this.delete(se))}function dr(){return Ze()}e.createUnderscoreEscapedMultiMap=dr;function et(se){return Array.isArray?Array.isArray(se):se instanceof Array}e.isArray=et;function yt(se){return et(se)?se:[se]}e.toArray=yt;function Vr(se){return typeof se==\"string\"}e.isString=Vr;function tr(se){return typeof se==\"number\"}e.isNumber=tr;function xr(se,Be){return se!==void 0&&Be(se)?se:void 0}e.tryCast=xr;function Nr(se,Be){return se!==void 0&&Be(se)?se:e.Debug.fail(\"Invalid cast. The supplied value \".concat(se,\" did not pass the test '\").concat(e.Debug.getFunctionName(Be),\"'.\"))}e.cast=Nr;function zr(se){}e.noop=zr;function gt(){return!1}e.returnFalse=gt;function vt(){return!0}e.returnTrue=vt;function ut(){}e.returnUndefined=ut;function ht(se){return se}e.identity=ht;function xt(se){return se.toLowerCase()}e.toLowerCase=xt;var wt=/[^\\u0130\\u0131\\u00DFa-z0-9\\\\/:\\-_\\. ]+/g;function Qt(se){return wt.test(se)?se.replace(wt,xt):se}e.toFileNameLowerCase=Qt;function mt(){throw new Error(\"Not implemented\")}e.notImplemented=mt;function rn(se){var Be;return function(){return se&&(Be=se(),se=void 0),Be}}e.memoize=rn;function sa(se){var Be=new e.Map;return function(er){var vr=\"\".concat(typeof er,\":\").concat(er),qr=Be.get(vr);return qr===void 0&&!Be.has(vr)&&(qr=se(er),Be.set(vr,qr)),qr}}e.memoizeOne=sa;function ba(se,Be,er,vr,qr){if(qr){for(var Dt=[],Jt=0;Jt<arguments.length;Jt++)Dt[Jt]=arguments[Jt];return function(Sn){return Lr(Dt,function(ta,xa){return xa(ta)},Sn)}}else return vr?function(Sn){return vr(er(Be(se(Sn))))}:er?function(Sn){return er(Be(se(Sn)))}:Be?function(Sn){return Be(se(Sn))}:se?function(Sn){return se(Sn)}:function(Sn){return Sn}}e.compose=ba,function(se){se[se.None=0]=\"None\",se[se.Normal=1]=\"Normal\",se[se.Aggressive=2]=\"Aggressive\",se[se.VeryAggressive=3]=\"VeryAggressive\"}(e.AssertionLevel||(e.AssertionLevel={}));function Jn(se,Be){return se===Be}e.equateValues=Jn;function na(se,Be){return se===Be||se!==void 0&&Be!==void 0&&se.toUpperCase()===Be.toUpperCase()}e.equateStringsCaseInsensitive=na;function Wn(se,Be){return Jn(se,Be)}e.equateStringsCaseSensitive=Wn;function en(se,Be){return se===Be?0:se===void 0?-1:Be===void 0?1:se<Be?-1:1}function St(se,Be){return en(se,Be)}e.compareValues=St;function Ut(se,Be){return St(se==null?void 0:se.start,Be==null?void 0:Be.start)||St(se==null?void 0:se.length,Be==null?void 0:Be.length)}e.compareTextSpans=Ut;function qt(se,Be,er){return er(se,Be)===-1?se:Be}e.min=qt;function Mn(se,Be){return se===Be?0:se===void 0?-1:Be===void 0?1:(se=se.toUpperCase(),Be=Be.toUpperCase(),se<Be?-1:se>Be?1:0)}e.compareStringsCaseInsensitive=Mn;function dn(se,Be){return en(se,Be)}e.compareStringsCaseSensitive=dn;function oa(se){return se?Mn:dn}e.getStringComparer=oa;var pt=function(){var se,Be,er=Sn();return ta;function vr(xa,Di,$a){if(xa===Di)return 0;if(xa===void 0)return-1;if(Di===void 0)return 1;var Ji=$a(xa,Di);return Ji<0?-1:Ji>0?1:0}function qr(xa){var Di=new Intl.Collator(xa,{usage:\"sort\",sensitivity:\"variant\"}).compare;return function($a,Ji){return vr($a,Ji,Di)}}function Dt(xa){if(xa!==void 0)return Jt();return function($a,Ji){return vr($a,Ji,Di)};function Di($a,Ji){return $a.localeCompare(Ji)}}function Jt(){return function($a,Ji){return vr($a,Ji,xa)};function xa($a,Ji){return Di($a.toUpperCase(),Ji.toUpperCase())||Di($a,Ji)}function Di($a,Ji){return $a<Ji?-1:$a>Ji?1:0}}function Sn(){return typeof Intl==\"object\"&&typeof Intl.Collator==\"function\"?qr:typeof String.prototype.localeCompare==\"function\"&&typeof String.prototype.toLocaleUpperCase==\"function\"&&\"a\".localeCompare(\"B\")<0?Dt:Jt}function ta(xa){return xa===void 0?se||(se=er(xa)):xa===\"en-US\"?Be||(Be=er(xa)):er(xa)}}(),_t,Mt;function It(){return Mt}e.getUILocale=It;function rt(se){Mt!==se&&(Mt=se,_t=void 0)}e.setUILocale=rt;function Cn(se,Be){var er=_t||(_t=pt(Mt));return er(se,Be)}e.compareStringsCaseSensitiveUI=Cn;function Qn(se,Be,er,vr){return se===Be?0:se===void 0?-1:Be===void 0?1:vr(se[er],Be[er])}e.compareProperties=Qn;function Ra(se,Be){return St(se?1:0,Be?1:0)}e.compareBooleans=Ra;function Ci(se,Be,er){for(var vr=Math.min(2,Math.floor(se.length*.34)),qr=Math.floor(se.length*.4)+1,Dt,Jt=0,Sn=Be;Jt<Sn.length;Jt++){var ta=Sn[Jt],xa=er(ta);if(xa!==void 0&&Math.abs(xa.length-se.length)<=vr){if(xa===se||xa.length<3&&xa.toLowerCase()!==se.toLowerCase())continue;var Di=_i(se,xa,qr-.1);if(Di===void 0)continue;e.Debug.assert(Di<qr),qr=Di,Dt=ta}}return Dt}e.getSpellingSuggestion=Ci;function _i(se,Be,er){for(var vr=new Array(Be.length+1),qr=new Array(Be.length+1),Dt=er+.01,Jt=0;Jt<=Be.length;Jt++)vr[Jt]=Jt;for(var Jt=1;Jt<=se.length;Jt++){var Sn=se.charCodeAt(Jt-1),ta=Math.ceil(Jt>er?Jt-er:1),xa=Math.floor(Be.length>er+Jt?er+Jt:Be.length);qr[0]=Jt;for(var Di=Jt,$a=1;$a<ta;$a++)qr[$a]=Dt;for(var $a=ta;$a<=xa;$a++){var Ji=se[Jt-1].toLowerCase()===Be[$a-1].toLowerCase()?vr[$a-1]+.1:vr[$a-1]+2,So=Sn===Be.charCodeAt($a-1)?vr[$a-1]:Math.min(vr[$a]+1,qr[$a-1]+1,Ji);qr[$a]=So,Di=Math.min(Di,So)}for(var $a=xa+1;$a<=Be.length;$a++)qr[$a]=Dt;if(Di>er)return;var cs=vr;vr=qr,qr=cs}var bt=vr[Be.length];return bt>er?void 0:bt}function va(se,Be){var er=se.length-Be.length;return er>=0&&se.indexOf(Be,er)===er}e.endsWith=va;function yi(se,Be){return va(se,Be)?se.slice(0,se.length-Be.length):se}e.removeSuffix=yi;function ro(se,Be){return va(se,Be)?se.slice(0,se.length-Be.length):void 0}e.tryRemoveSuffix=ro;function Ka(se,Be){return se.indexOf(Be)!==-1}e.stringContains=Ka;function Mi(se){for(var Be=se.length,er=Be-1;er>0;er--){var vr=se.charCodeAt(er);if(vr>=48&&vr<=57)do--er,vr=se.charCodeAt(er);while(er>0&&vr>=48&&vr<=57);else if(er>4&&(vr===110||vr===78)){if(--er,vr=se.charCodeAt(er),vr!==105&&vr!==73||(--er,vr=se.charCodeAt(er),vr!==109&&vr!==77))break;--er,vr=se.charCodeAt(er)}else break;if(vr!==45&&vr!==46)break;Be=er}return Be===se.length?se:se.slice(0,Be)}e.removeMinAndVersionNumbers=Mi;function io(se,Be){for(var er=0;er<se.length;er++)if(se[er]===Be)return ji(se,er),!0;return!1}e.orderedRemoveItem=io;function ji(se,Be){for(var er=Be;er<se.length-1;er++)se[er]=se[er+1];se.pop()}e.orderedRemoveItemAt=ji;function Hi(se,Be){se[Be]=se[se.length-1],se.pop()}e.unorderedRemoveItemAt=Hi;function to(se,Be){return No(se,function(er){return er===Be})}e.unorderedRemoveItem=to;function No(se,Be){for(var er=0;er<se.length;er++)if(Be(se[er]))return Hi(se,er),!0;return!1}function lo(se){return se?ht:Qt}e.createGetCanonicalFileName=lo;function Lo(se){var Be=se.prefix,er=se.suffix;return\"\".concat(Be,\"*\").concat(er)}e.patternText=Lo;function Ha(se,Be){return e.Debug.assert(Zi(se,Be)),Be.substring(se.prefix.length,Be.length-se.suffix.length)}e.matchedText=Ha;function Yo(se,Be,er){for(var vr,qr=-1,Dt=0,Jt=se;Dt<Jt.length;Dt++){var Sn=Jt[Dt],ta=Be(Sn);Zi(ta,er)&&ta.prefix.length>qr&&(qr=ta.prefix.length,vr=Sn)}return vr}e.findBestPatternMatch=Yo;function co(se,Be){return se.lastIndexOf(Be,0)===0}e.startsWith=co;function za(se,Be){return co(se,Be)?se.substr(Be.length):se}e.removePrefix=za;function hi(se,Be,er){return er===void 0&&(er=ht),co(er(se),er(Be))?se.substring(Be.length):void 0}e.tryRemovePrefix=hi;function Zi(se,Be){var er=se.prefix,vr=se.suffix;return Be.length>=er.length+vr.length&&co(Be,er)&&va(Be,vr)}function Mo(se,Be){return function(er){return se(er)&&Be(er)}}e.and=Mo;function Po(){for(var se=[],Be=0;Be<arguments.length;Be++)se[Be]=arguments[Be];return function(){for(var er=[],vr=0;vr<arguments.length;vr++)er[vr]=arguments[vr];for(var qr=0,Dt=se;qr<Dt.length;qr++){var Jt=Dt[qr];if(Jt.apply(void 0,er))return!0}return!1}}e.or=Po;function Fo(se){return function(){for(var Be=[],er=0;er<arguments.length;er++)Be[er]=arguments[er];return!se.apply(void 0,Be)}}e.not=Fo;function zo(se){}e.assertType=zo;function Es(se){return se===void 0?void 0:[se]}e.singleElementArray=Es;function Cs(se,Be,er,vr,qr,Dt){Dt=Dt||zr;for(var Jt=0,Sn=0,ta=se.length,xa=Be.length,Di=!1;Jt<ta&&Sn<xa;){var $a=se[Jt],Ji=Be[Sn],So=er($a,Ji);So===-1?(vr($a),Jt++,Di=!0):So===1?(qr(Ji),Sn++,Di=!0):(Dt(Ji,$a),Jt++,Sn++)}for(;Jt<ta;)vr(se[Jt++]),Di=!0;for(;Sn<xa;)qr(Be[Sn++]),Di=!0;return Di}e.enumerateInsertsAndDeletes=Cs;function hr(se,Be){for(var er=Array(se),vr=0;vr<se;vr++)er[vr]=Be(vr);return er}e.fill=hr;function dt(se){var Be=[];return tn(se,Be,void 0,0),Be}e.cartesianProduct=dt;function tn(se,Be,er,vr){for(var qr=0,Dt=se[vr];qr<Dt.length;qr++){var Jt=Dt[qr],Sn=void 0;er?(Sn=er.slice(),Sn.push(Jt)):Sn=[Jt],vr===se.length-1?Be.push(Sn):tn(se,Be,Sn,vr+1)}}function Un(se,Be,er){return er===void 0&&(er=\" \"),Be<=se.length?se:er.repeat(Be-se.length)+se}e.padLeft=Un;function Oe(se,Be,er){return er===void 0&&(er=\" \"),Be<=se.length?se:se+er.repeat(Be-se.length)}e.padRight=Oe;function oe(se,Be){for(var er=se.length,vr=0;vr<er&&Be(se[vr]);)vr++;return se.slice(0,vr)}e.takeWhile=oe,e.trimString=String.prototype.trim?function(se){return se.trim()}:function(se){return e.trimStringEnd(e.trimStringStart(se))},e.trimStringEnd=String.prototype.trimEnd?function(se){return se.trimEnd()}:mr,e.trimStringStart=String.prototype.trimStart?function(se){return se.trimStart()}:function(se){return se.replace(/^\\s+/g,\"\")};function mr(se){for(var Be=se.length-1;Be>=0&&e.isWhiteSpaceLike(se.charCodeAt(Be));)Be--;return se.slice(0,Be+1)}}(jr||(jr={})),function(e){var n;(function(f){f[f.Off=0]=\"Off\",f[f.Error=1]=\"Error\",f[f.Warning=2]=\"Warning\",f[f.Info=3]=\"Info\",f[f.Verbose=4]=\"Verbose\"})(n=e.LogLevel||(e.LogLevel={})),function(f){var p,a=0;f.currentLogLevel=n.Warning,f.isDebugging=!1;function d(){return p!=null?p:p=new e.Version(e.version)}f.getTypeScriptVersion=d;function k(lr){return f.currentLogLevel<=lr}f.shouldLog=k;function J(lr,Ar){f.loggingHost&&k(lr)&&f.loggingHost.log(lr,Ar)}function h(lr){J(n.Info,lr)}f.log=h,function(lr){function Ar(Hr){J(n.Error,Hr)}lr.error=Ar;function kr(Hr){J(n.Warning,Hr)}lr.warn=kr;function Ke(Hr){J(n.Info,Hr)}lr.log=Ke;function Me(Hr){J(n.Verbose,Hr)}lr.trace=Me}(h=f.log||(f.log={}));var v={};function A(){return a}f.getAssertionLevel=A;function z(lr){var Ar=a;if(a=lr,lr>Ar)for(var kr=0,Ke=e.getOwnKeys(v);kr<Ke.length;kr++){var Me=Ke[kr],Hr=v[Me];Hr!==void 0&&f[Me]!==Hr.assertion&&lr>=Hr.level&&(f[Me]=Hr,v[Me]=void 0)}}f.setAssertionLevel=z;function ie(lr){return a>=lr}f.shouldAssert=ie;function b(lr,Ar){return ie(lr)?!0:(v[Ar]={level:lr,assertion:f[Ar]},f[Ar]=e.noop,!1)}function M(lr,Ar){var kr=new Error(lr?\"Debug Failure. \".concat(lr):\"Debug Failure.\");throw Error.captureStackTrace&&Error.captureStackTrace(kr,Ar||M),kr}f.fail=M;function S(lr,Ar,kr){return M(\"\".concat(Ar||\"Unexpected node.\",`\\r\nNode `).concat(P(lr.kind),\" was unexpected.\"),kr||S)}f.failBadSyntaxKind=S;function B(lr,Ar,kr,Ke){lr||(Ar=Ar?\"False expression: \".concat(Ar):\"False expression.\",kr&&(Ar+=`\\r\nVerbose Debug Information: `+(typeof kr==\"string\"?kr:kr())),M(Ar,Ke||B))}f.assert=B;function H(lr,Ar,kr,Ke,Me){if(lr!==Ar){var Hr=kr?Ke?\"\".concat(kr,\" \").concat(Ke):kr:\"\";M(\"Expected \".concat(lr,\" === \").concat(Ar,\". \").concat(Hr),Me||H)}}f.assertEqual=H;function I(lr,Ar,kr,Ke){lr>=Ar&&M(\"Expected \".concat(lr,\" < \").concat(Ar,\". \").concat(kr||\"\"),Ke||I)}f.assertLessThan=I;function w(lr,Ar,kr){lr>Ar&&M(\"Expected \".concat(lr,\" <= \").concat(Ar),kr||w)}f.assertLessThanOrEqual=w;function x(lr,Ar,kr){lr<Ar&&M(\"Expected \".concat(lr,\" >= \").concat(Ar),kr||x)}f.assertGreaterThanOrEqual=x;function O(lr,Ar,kr){lr==null&&M(Ar,kr||O)}f.assertIsDefined=O;function q(lr,Ar,kr){return O(lr,Ar,kr||q),lr}f.checkDefined=q,f.assertDefined=q;function Z(lr,Ar,kr){for(var Ke=0,Me=lr;Ke<Me.length;Ke++){var Hr=Me[Ke];O(Hr,Ar,kr||Z)}}f.assertEachIsDefined=Z;function ne(lr,Ar,kr){return Z(lr,Ar,kr||ne),lr}f.checkEachDefined=ne,f.assertEachDefined=ne;function F(lr,Ar,kr){Ar===void 0&&(Ar=\"Illegal value:\");var Ke=typeof lr==\"object\"&&e.hasProperty(lr,\"kind\")&&e.hasProperty(lr,\"pos\")&&P?\"SyntaxKind: \"+P(lr.kind):JSON.stringify(lr);return M(\"\".concat(Ar,\" \").concat(Ke),kr||F)}f.assertNever=F;function Q(lr,Ar,kr,Ke){b(1,\"assertEachNode\")&&B(Ar===void 0||e.every(lr,Ar),kr||\"Unexpected node.\",function(){return\"Node array did not pass test '\".concat(C(Ar),\"'.\")},Ke||Q)}f.assertEachNode=Q;function V(lr,Ar,kr,Ke){b(1,\"assertNode\")&&B(lr!==void 0&&(Ar===void 0||Ar(lr)),kr||\"Unexpected node.\",function(){return\"Node \".concat(P(lr==null?void 0:lr.kind),\" did not pass test '\").concat(C(Ar),\"'.\")},Ke||V)}f.assertNode=V;function re(lr,Ar,kr,Ke){b(1,\"assertNotNode\")&&B(lr===void 0||Ar===void 0||!Ar(lr),kr||\"Unexpected node.\",function(){return\"Node \".concat(P(lr.kind),\" should not have passed test '\").concat(C(Ar),\"'.\")},Ke||re)}f.assertNotNode=re;function T(lr,Ar,kr,Ke){b(1,\"assertOptionalNode\")&&B(Ar===void 0||lr===void 0||Ar(lr),kr||\"Unexpected node.\",function(){return\"Node \".concat(P(lr==null?void 0:lr.kind),\" did not pass test '\").concat(C(Ar),\"'.\")},Ke||T)}f.assertOptionalNode=T;function N(lr,Ar,kr,Ke){b(1,\"assertOptionalToken\")&&B(Ar===void 0||lr===void 0||lr.kind===Ar,kr||\"Unexpected node.\",function(){return\"Node \".concat(P(lr==null?void 0:lr.kind),\" was not a '\").concat(P(Ar),\"' token.\")},Ke||N)}f.assertOptionalToken=N;function y(lr,Ar,kr){b(1,\"assertMissingNode\")&&B(lr===void 0,Ar||\"Unexpected node.\",function(){return\"Node \".concat(P(lr.kind),\" was unexpected'.\")},kr||y)}f.assertMissingNode=y;function D(lr){}f.type=D;function C(lr){if(typeof lr!=\"function\")return\"\";if(lr.hasOwnProperty(\"name\"))return lr.name;var Ar=Function.prototype.toString.call(lr),kr=/^function\\s+([\\w\\$]+)\\s*\\(/.exec(Ar);return kr?kr[1]:\"\"}f.getFunctionName=C;function m(lr){return\"{ name: \".concat(e.unescapeLeadingUnderscores(lr.escapedName),\"; flags: \").concat(Ce(lr.flags),\"; declarations: \").concat(e.map(lr.declarations,function(Ar){return P(Ar.kind)}),\" }\")}f.formatSymbol=m;function u(lr,Ar,kr){lr===void 0&&(lr=0);var Ke=g(Ar);if(lr===0)return Ke.length>0&&Ke[0][0]===0?Ke[0][1]:\"0\";if(kr){for(var Me=\"\",Hr=lr,ur=0,gr=Ke;ur<gr.length;ur++){var de=gr[ur],Fe=de[0],$e=de[1];if(Fe>lr)break;Fe!==0&&Fe&lr&&(Me=\"\".concat(Me).concat(Me?\"|\":\"\").concat($e),Hr&=~Fe)}if(Hr===0)return Me}else for(var Sr=0,Pr=Ke;Sr<Pr.length;Sr++){var He=Pr[Sr],Fe=He[0],$e=He[1];if(Fe===lr)return $e}return lr.toString()}f.formatEnum=u;function g(lr){var Ar=[];for(var kr in lr){var Ke=lr[kr];typeof Ke==\"number\"&&Ar.push([Ke,kr])}return e.stableSort(Ar,function(Me,Hr){return e.compareValues(Me[0],Hr[0])})}function P(lr){return u(lr,e.SyntaxKind,!1)}f.formatSyntaxKind=P;function te(lr){return u(lr,e.SnippetKind,!1)}f.formatSnippetKind=te;function ue(lr){return u(lr,e.NodeFlags,!0)}f.formatNodeFlags=ue;function X(lr){return u(lr,e.ModifierFlags,!0)}f.formatModifierFlags=X;function j(lr){return u(lr,e.TransformFlags,!0)}f.formatTransformFlags=j;function Se(lr){return u(lr,e.EmitFlags,!0)}f.formatEmitFlags=Se;function Ce(lr){return u(lr,e.SymbolFlags,!0)}f.formatSymbolFlags=Ce;function R(lr){return u(lr,e.TypeFlags,!0)}f.formatTypeFlags=R;function Y(lr){return u(lr,e.SignatureFlags,!0)}f.formatSignatureFlags=Y;function U(lr){return u(lr,e.ObjectFlags,!0)}f.formatObjectFlags=U;function K(lr){return u(lr,e.FlowFlags,!0)}f.formatFlowFlags=K;var Te=!1,ge;function ke(){if(qe(),!ge)throw new Error(\"Debugging helpers could not be loaded.\");return ge}function Pe(lr){return console.log(Ie(lr))}f.printControlFlowGraph=Pe;function Ie(lr){return ke().formatControlFlowGraph(lr)}f.formatControlFlowGraph=Ie;var Ge;function he(lr){\"__debugFlowFlags\"in lr||Object.defineProperties(lr,{__tsDebuggerDisplay:{value:function(){var Ar=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\",kr=this.flags&~(2048-1);return\"\".concat(Ar).concat(kr?\" (\".concat(K(kr),\")\"):\"\")}},__debugFlowFlags:{get:function(){return u(this.flags,e.FlowFlags,!0)}},__debugToString:{value:function(){return Ie(this)}}})}function ve(lr){Te&&(typeof Object.setPrototypeOf==\"function\"?(Ge||(Ge=Object.create(Object.prototype),he(Ge)),Object.setPrototypeOf(lr,Ge)):he(lr))}f.attachFlowNodeDebugInfo=ve;var Ve;function _e(lr){\"__tsDebuggerDisplay\"in lr||Object.defineProperties(lr,{__tsDebuggerDisplay:{value:function(Ar){return Ar=String(Ar).replace(/(?:,[\\s\\w\\d_]+:[^,]+)+\\]$/,\"]\"),\"NodeArray \".concat(Ar)}}})}function Le(lr){Te&&(typeof Object.setPrototypeOf==\"function\"?(Ve||(Ve=Object.create(Array.prototype),_e(Ve)),Object.setPrototypeOf(lr,Ve)):_e(lr))}f.attachNodeArrayDebugInfo=Le;function qe(){if(Te)return;var lr,Ar;function kr(){return lr===void 0&&typeof WeakMap==\"function\"&&(lr=new WeakMap),lr}function Ke(){return Ar===void 0&&typeof WeakMap==\"function\"&&(Ar=new WeakMap),Ar}Object.defineProperties(e.objectAllocator.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value:function(){var $e=this.flags&33554432?\"TransientSymbol\":\"Symbol\",Sr=this.flags&-33554433;return\"\".concat($e,\" '\").concat(e.symbolName(this),\"'\").concat(Sr?\" (\".concat(Ce(Sr),\")\"):\"\")}},__debugFlags:{get:function(){return Ce(this.flags)}}}),Object.defineProperties(e.objectAllocator.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value:function(){var $e=this.flags&98304?\"NullableType\":this.flags&384?\"LiteralType \".concat(JSON.stringify(this.value)):this.flags&2048?\"LiteralType \".concat(this.value.negative?\"-\":\"\").concat(this.value.base10Value,\"n\"):this.flags&8192?\"UniqueESSymbolType\":this.flags&32?\"EnumType\":this.flags&67359327?\"IntrinsicType \".concat(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\",Sr=this.flags&524288?this.objectFlags&-1344:0;return\"\".concat($e).concat(this.symbol?\" '\".concat(e.symbolName(this.symbol),\"'\"):\"\").concat(Sr?\" (\".concat(U(Sr),\")\"):\"\")}},__debugFlags:{get:function(){return R(this.flags)}},__debugObjectFlags:{get:function(){return this.flags&524288?U(this.objectFlags):\"\"}},__debugTypeToString:{value:function(){var $e=kr(),Sr=$e==null?void 0:$e.get(this);return Sr===void 0&&(Sr=this.checker.typeToString(this),$e==null||$e.set(this,Sr)),Sr}}}),Object.defineProperties(e.objectAllocator.getSignatureConstructor().prototype,{__debugFlags:{get:function(){return Y(this.flags)}},__debugSignatureToString:{value:function(){var $e;return($e=this.checker)===null||$e===void 0?void 0:$e.signatureToString(this)}}});for(var Me=[e.objectAllocator.getNodeConstructor(),e.objectAllocator.getIdentifierConstructor(),e.objectAllocator.getTokenConstructor(),e.objectAllocator.getSourceFileConstructor()],Hr=0,ur=Me;Hr<ur.length;Hr++){var gr=ur[Hr];gr.prototype.hasOwnProperty(\"__debugKind\")||Object.defineProperties(gr.prototype,{__tsDebuggerDisplay:{value:function(){var $e=e.isGeneratedIdentifier(this)?\"GeneratedIdentifier\":e.isIdentifier(this)?\"Identifier '\".concat(e.idText(this),\"'\"):e.isPrivateIdentifier(this)?\"PrivateIdentifier '\".concat(e.idText(this),\"'\"):e.isStringLiteral(this)?\"StringLiteral \".concat(JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+\"...\")):e.isNumericLiteral(this)?\"NumericLiteral \".concat(this.text):e.isBigIntLiteral(this)?\"BigIntLiteral \".concat(this.text,\"n\"):e.isTypeParameterDeclaration(this)?\"TypeParameterDeclaration\":e.isParameter(this)?\"ParameterDeclaration\":e.isConstructorDeclaration(this)?\"ConstructorDeclaration\":e.isGetAccessorDeclaration(this)?\"GetAccessorDeclaration\":e.isSetAccessorDeclaration(this)?\"SetAccessorDeclaration\":e.isCallSignatureDeclaration(this)?\"CallSignatureDeclaration\":e.isConstructSignatureDeclaration(this)?\"ConstructSignatureDeclaration\":e.isIndexSignatureDeclaration(this)?\"IndexSignatureDeclaration\":e.isTypePredicateNode(this)?\"TypePredicateNode\":e.isTypeReferenceNode(this)?\"TypeReferenceNode\":e.isFunctionTypeNode(this)?\"FunctionTypeNode\":e.isConstructorTypeNode(this)?\"ConstructorTypeNode\":e.isTypeQueryNode(this)?\"TypeQueryNode\":e.isTypeLiteralNode(this)?\"TypeLiteralNode\":e.isArrayTypeNode(this)?\"ArrayTypeNode\":e.isTupleTypeNode(this)?\"TupleTypeNode\":e.isOptionalTypeNode(this)?\"OptionalTypeNode\":e.isRestTypeNode(this)?\"RestTypeNode\":e.isUnionTypeNode(this)?\"UnionTypeNode\":e.isIntersectionTypeNode(this)?\"IntersectionTypeNode\":e.isConditionalTypeNode(this)?\"ConditionalTypeNode\":e.isInferTypeNode(this)?\"InferTypeNode\":e.isParenthesizedTypeNode(this)?\"ParenthesizedTypeNode\":e.isThisTypeNode(this)?\"ThisTypeNode\":e.isTypeOperatorNode(this)?\"TypeOperatorNode\":e.isIndexedAccessTypeNode(this)?\"IndexedAccessTypeNode\":e.isMappedTypeNode(this)?\"MappedTypeNode\":e.isLiteralTypeNode(this)?\"LiteralTypeNode\":e.isNamedTupleMember(this)?\"NamedTupleMember\":e.isImportTypeNode(this)?\"ImportTypeNode\":P(this.kind);return\"\".concat($e).concat(this.flags?\" (\".concat(ue(this.flags),\")\"):\"\")}},__debugKind:{get:function(){return P(this.kind)}},__debugNodeFlags:{get:function(){return ue(this.flags)}},__debugModifierFlags:{get:function(){return X(e.getEffectiveModifierFlagsNoCache(this))}},__debugTransformFlags:{get:function(){return j(this.transformFlags)}},__debugIsParseTreeNode:{get:function(){return e.isParseTreeNode(this)}},__debugEmitFlags:{get:function(){return Se(e.getEmitFlags(this))}},__debugGetText:{value:function($e){if(e.nodeIsSynthesized(this))return\"\";var Sr=Ke(),Pr=Sr==null?void 0:Sr.get(this);if(Pr===void 0){var He=e.getParseTreeNode(this),pr=He&&e.getSourceFileOfNode(He);Pr=pr?e.getSourceTextOfNodeFromSourceFile(pr,He,$e):\"\",Sr==null||Sr.set(this,Pr)}return Pr}}})}try{if(e.sys&&e.sys.require){var de=e.getDirectoryPath(e.resolvePath(e.sys.getExecutingFilePath())),Fe=void 0;Fe.error||(Fe.module.init(e),ge=Fe.module)}}catch{}Te=!0}f.enableDebugInfo=qe;function Xe(lr,Ar,kr,Ke,Me){var Hr=Ar?\"DeprecationError: \":\"DeprecationWarning: \";return Hr+=\"'\".concat(lr,\"' \"),Hr+=Ke?\"has been deprecated since v\".concat(Ke):\"is deprecated\",Hr+=Ar?\" and can no longer be used.\":kr?\" and will no longer be usable after v\".concat(kr,\".\"):\".\",Hr+=Me?\" \".concat(e.formatStringFromArgs(Me,[lr],0)):\"\",Hr}function De(lr,Ar,kr,Ke){var Me=Xe(lr,!0,Ar,kr,Ke);return function(){throw new TypeError(Me)}}function Ae(lr,Ar,kr,Ke){var Me=!1;return function(){Me||(h.warn(Xe(lr,!1,Ar,kr,Ke)),Me=!0)}}function Ye(lr,Ar){var kr,Ke;Ar===void 0&&(Ar={});var Me=typeof Ar.typeScriptVersion==\"string\"?new e.Version(Ar.typeScriptVersion):(kr=Ar.typeScriptVersion)!==null&&kr!==void 0?kr:d(),Hr=typeof Ar.errorAfter==\"string\"?new e.Version(Ar.errorAfter):Ar.errorAfter,ur=typeof Ar.warnAfter==\"string\"?new e.Version(Ar.warnAfter):Ar.warnAfter,gr=typeof Ar.since==\"string\"?new e.Version(Ar.since):(Ke=Ar.since)!==null&&Ke!==void 0?Ke:ur,de=Ar.error||Hr&&Me.compareTo(Hr)<=0,Fe=!ur||Me.compareTo(ur)>=0;return de?De(lr,Hr,gr,Ar.message):Fe?Ae(lr,Hr,gr,Ar.message):e.noop}function Dr(lr,Ar){return function(){return lr(),Ar.apply(this,arguments)}}function br(lr,Ar){var kr=Ye(C(lr),Ar);return Dr(kr,lr)}f.deprecate=br}(e.Debug||(e.Debug={}))}(jr||(jr={})),function(e){var n=/^(0|[1-9]\\d*)(?:\\.(0|[1-9]\\d*)(?:\\.(0|[1-9]\\d*)(?:\\-([a-z0-9-.]+))?(?:\\+([a-z0-9-.]+))?)?)?$/i,f=/^(?:0|[1-9]\\d*|[a-z-][a-z0-9-]*)(?:\\.(?:0|[1-9]\\d*|[a-z-][a-z0-9-]*))*$/i,p=/^[a-z0-9-]+(?:\\.[a-z0-9-]+)*$/i,a=/^(0|[1-9]\\d*)$/,d=function(){function Q(V,re,T,N,y){if(re===void 0&&(re=0),T===void 0&&(T=0),N===void 0&&(N=\"\"),y===void 0&&(y=\"\"),typeof V==\"string\"){var D=e.Debug.checkDefined(k(V),\"Invalid version\");V=D.major,re=D.minor,T=D.patch,N=D.prerelease,y=D.build}e.Debug.assert(V>=0,\"Invalid argument: major\"),e.Debug.assert(re>=0,\"Invalid argument: minor\"),e.Debug.assert(T>=0,\"Invalid argument: patch\"),e.Debug.assert(!N||f.test(N),\"Invalid argument: prerelease\"),e.Debug.assert(!y||p.test(y),\"Invalid argument: build\"),this.major=V,this.minor=re,this.patch=T,this.prerelease=N?N.split(\".\"):e.emptyArray,this.build=y?y.split(\".\"):e.emptyArray}return Q.tryParse=function(V){var re=k(V);if(!!re){var T=re.major,N=re.minor,y=re.patch,D=re.prerelease,C=re.build;return new Q(T,N,y,D,C)}},Q.prototype.compareTo=function(V){return this===V?0:V===void 0?1:e.compareValues(this.major,V.major)||e.compareValues(this.minor,V.minor)||e.compareValues(this.patch,V.patch)||J(this.prerelease,V.prerelease)},Q.prototype.increment=function(V){switch(V){case\"major\":return new Q(this.major+1,0,0);case\"minor\":return new Q(this.major,this.minor+1,0);case\"patch\":return new Q(this.major,this.minor,this.patch+1);default:return e.Debug.assertNever(V)}},Q.prototype.toString=function(){var V=\"\".concat(this.major,\".\").concat(this.minor,\".\").concat(this.patch);return e.some(this.prerelease)&&(V+=\"-\".concat(this.prerelease.join(\".\"))),e.some(this.build)&&(V+=\"+\".concat(this.build.join(\".\"))),V},Q.zero=new Q(0,0,0),Q}();e.Version=d;function k(Q){var V=n.exec(Q);if(!!V){var re=V[1],T=V[2],N=T===void 0?\"0\":T,y=V[3],D=y===void 0?\"0\":y,C=V[4],m=C===void 0?\"\":C,u=V[5],g=u===void 0?\"\":u;if(!(m&&!f.test(m))&&!(g&&!p.test(g)))return{major:parseInt(re,10),minor:parseInt(N,10),patch:parseInt(D,10),prerelease:m,build:g}}}function J(Q,V){if(Q===V)return 0;if(Q.length===0)return V.length===0?0:1;if(V.length===0)return-1;for(var re=Math.min(Q.length,V.length),T=0;T<re;T++){var N=Q[T],y=V[T];if(N!==y){var D=a.test(N),C=a.test(y);if(D||C){if(D!==C)return D?-1:1;var m=e.compareValues(+N,+y);if(m)return m}else{var m=e.compareStringsCaseSensitive(N,y);if(m)return m}}}return e.compareValues(Q.length,V.length)}var h=function(){function Q(V){this._alternatives=V?e.Debug.checkDefined(M(V),\"Invalid range spec.\"):e.emptyArray}return Q.tryParse=function(V){var re=M(V);if(re){var T=new Q(\"\");return T._alternatives=re,T}},Q.prototype.test=function(V){return typeof V==\"string\"&&(V=new d(V)),x(V,this._alternatives)},Q.prototype.toString=function(){return Z(this._alternatives)},Q}();e.VersionRange=h;var v=/\\|\\|/g,A=/\\s+/g,z=/^([xX*0]|[1-9]\\d*)(?:\\.([xX*0]|[1-9]\\d*)(?:\\.([xX*0]|[1-9]\\d*)(?:-([a-z0-9-.]+))?(?:\\+([a-z0-9-.]+))?)?)?$/i,ie=/^\\s*([a-z0-9-+.*]+)\\s+-\\s+([a-z0-9-+.*]+)\\s*$/i,b=/^(~|\\^|<|<=|>|>=|=)?\\s*([a-z0-9-+.*]+)$/i;function M(Q){for(var V=[],re=0,T=e.trimString(Q).split(v);re<T.length;re++){var N=T[re];if(!!N){var y=[];N=e.trimString(N);var D=ie.exec(N);if(D){if(!B(D[1],D[2],y))return}else for(var C=0,m=N.split(A);C<m.length;C++){var u=m[C],g=b.exec(e.trimString(u));if(!g||!H(g[1],g[2],y))return}V.push(y)}}return V}function S(Q){var V=z.exec(Q);if(!!V){var re=V[1],T=V[2],N=T===void 0?\"*\":T,y=V[3],D=y===void 0?\"*\":y,C=V[4],m=V[5],u=new d(I(re)?0:parseInt(re,10),I(re)||I(N)?0:parseInt(N,10),I(re)||I(N)||I(D)?0:parseInt(D,10),C,m);return{version:u,major:re,minor:N,patch:D}}}function B(Q,V,re){var T=S(Q);if(!T)return!1;var N=S(V);return N?(I(T.major)||re.push(w(\">=\",T.version)),I(N.major)||re.push(I(N.minor)?w(\"<\",N.version.increment(\"major\")):I(N.patch)?w(\"<\",N.version.increment(\"minor\")):w(\"<=\",N.version)),!0):!1}function H(Q,V,re){var T=S(V);if(!T)return!1;var N=T.version,y=T.major,D=T.minor,C=T.patch;if(I(y))(Q===\"<\"||Q===\">\")&&re.push(w(\"<\",d.zero));else switch(Q){case\"~\":re.push(w(\">=\",N)),re.push(w(\"<\",N.increment(I(D)?\"major\":\"minor\")));break;case\"^\":re.push(w(\">=\",N)),re.push(w(\"<\",N.increment(N.major>0||I(D)?\"major\":N.minor>0||I(C)?\"minor\":\"patch\")));break;case\"<\":case\">=\":re.push(w(Q,N));break;case\"<=\":case\">\":re.push(I(D)?w(Q===\"<=\"?\"<\":\">=\",N.increment(\"major\")):I(C)?w(Q===\"<=\"?\"<\":\">=\",N.increment(\"minor\")):w(Q,N));break;case\"=\":case void 0:I(D)||I(C)?(re.push(w(\">=\",N)),re.push(w(\"<\",N.increment(I(D)?\"major\":\"minor\")))):re.push(w(\"=\",N));break;default:return!1}return!0}function I(Q){return Q===\"*\"||Q===\"x\"||Q===\"X\"}function w(Q,V){return{operator:Q,operand:V}}function x(Q,V){if(V.length===0)return!0;for(var re=0,T=V;re<T.length;re++){var N=T[re];if(O(Q,N))return!0}return!1}function O(Q,V){for(var re=0,T=V;re<T.length;re++){var N=T[re];if(!q(Q,N.operator,N.operand))return!1}return!0}function q(Q,V,re){var T=Q.compareTo(re);switch(V){case\"<\":return T<0;case\"<=\":return T<=0;case\">\":return T>0;case\">=\":return T>=0;case\"=\":return T===0;default:return e.Debug.assertNever(V)}}function Z(Q){return e.map(Q,ne).join(\" || \")||\"*\"}function ne(Q){return e.map(Q,F).join(\" \")}function F(Q){return\"\".concat(Q.operator).concat(Q.operand)}}(jr||(jr={})),function(e){function n(J,h){return typeof J==\"object\"&&typeof J.timeOrigin==\"number\"&&typeof J.mark==\"function\"&&typeof J.measure==\"function\"&&typeof J.now==\"function\"&&typeof h==\"function\"}function f(){if(typeof performance==\"object\"&&typeof PerformanceObserver==\"function\"&&n(performance,PerformanceObserver))return{shouldWriteNativeEvents:!0,performance,PerformanceObserver}}function p(){if(typeof process!=\"undefined\"&&process.nextTick&&!process.browser&&typeof module==\"object\"&&!1)try{var J,h,v,A;if(n(v,A))var z,ie}catch(b){}}var a=f()||p(),d=a==null?void 0:a.performance;function k(){return a}e.tryGetNativePerformanceHooks=k,e.timestamp=d?function(){return d.now()}:Date.now?Date.now:function(){return+new Date}}(jr||(jr={})),function(e){(function(n){var f,p;function a(w,x,O,q){return w?d(x,O,q):n.nullTimer}n.createTimerIf=a;function d(w,x,O){var q=0;return{enter:Z,exit:ne};function Z(){++q===1&&z(x)}function ne(){--q===0?(z(O),ie(w,x,O)):q<0&&e.Debug.fail(\"enter/exit count does not match.\")}}n.createTimer=d,n.nullTimer={enter:e.noop,exit:e.noop};var k=!1,J=e.timestamp(),h=new e.Map,v=new e.Map,A=new e.Map;function z(w){var x;if(k){var O=(x=v.get(w))!==null&&x!==void 0?x:0;v.set(w,O+1),h.set(w,e.timestamp()),p==null||p.mark(w)}}n.mark=z;function ie(w,x,O){var q,Z;if(k){var ne=(q=O!==void 0?h.get(O):void 0)!==null&&q!==void 0?q:e.timestamp(),F=(Z=x!==void 0?h.get(x):void 0)!==null&&Z!==void 0?Z:J,Q=A.get(w)||0;A.set(w,Q+(ne-F)),p==null||p.measure(w,x,O)}}n.measure=ie;function b(w){return v.get(w)||0}n.getCount=b;function M(w){return A.get(w)||0}n.getDuration=M;function S(w){A.forEach(function(x,O){return w(O,x)})}n.forEachMeasure=S;function B(){return k}n.isEnabled=B;function H(w){var x;return w===void 0&&(w=e.sys),k||(k=!0,f||(f=e.tryGetNativePerformanceHooks()),f&&(J=f.performance.timeOrigin,(f.shouldWriteNativeEvents||((x=w==null?void 0:w.cpuProfilingEnabled)===null||x===void 0?void 0:x.call(w))||(w==null?void 0:w.debugMode))&&(p=f.performance))),!0}n.enable=H;function I(){k&&(h.clear(),v.clear(),A.clear(),p=void 0,k=!1)}n.disable=I})(e.performance||(e.performance={}))}(jr||(jr={})),function(e){var n,f={logEvent:e.noop,logErrEvent:e.noop,logPerfEvent:e.noop,logInfoEvent:e.noop,logStartCommand:e.noop,logStopCommand:e.noop,logStartUpdateProgram:e.noop,logStopUpdateProgram:e.noop,logStartUpdateGraph:e.noop,logStopUpdateGraph:e.noop,logStartResolveModule:e.noop,logStopResolveModule:e.noop,logStartParseSourceFile:e.noop,logStopParseSourceFile:e.noop,logStartReadFile:e.noop,logStopReadFile:e.noop,logStartBindFile:e.noop,logStopBindFile:e.noop,logStartScheduledOperation:e.noop,logStopScheduledOperation:e.noop},p;try{var a=(n={}.TS_ETW_MODULE_PATH)!==null&&n!==void 0?n:\"./node_modules/@microsoft/typescript-etw\";p=void 0}catch{p=void 0}e.perfLogger=p&&p.logEvent?p:f}(jr||(jr={})),function(e){var n;(function(f){var p,a=0,d=0,k,J=[],h,v=[];function A(ne,F,Q){if(e.Debug.assert(!e.tracing,\"Tracing already started\"),p===void 0)try{p=void 0}catch(y){throw new Error(`tracing requires having fs\n(original error: `.concat(y.message||y,\")\"))}k=ne,J.length=0,h===void 0&&(h=e.combinePaths(F,\"legend.json\")),p.existsSync(F)||p.mkdirSync(F,{recursive:!0});var V=k===\"build\"?\".\".concat(process.pid,\"-\").concat(++a):k===\"server\"?\".\".concat(process.pid):\"\",re=e.combinePaths(F,\"trace\".concat(V,\".json\")),T=e.combinePaths(F,\"types\".concat(V,\".json\"));v.push({configFilePath:Q,tracePath:re,typesPath:T}),d=p.openSync(re,\"w\"),e.tracing=f;var N={cat:\"__metadata\",ph:\"M\",ts:1e3*e.timestamp(),pid:1,tid:1};p.writeSync(d,`[\n`+[Rn({name:\"process_name\",args:{name:\"tsc\"}},N),Rn({name:\"thread_name\",args:{name:\"Main\"}},N),Rn(Rn({name:\"TracingStartedInBrowser\"},N),{cat:\"disabled-by-default-devtools.timeline\"})].map(function(y){return JSON.stringify(y)}).join(`,\n`))}f.startTracing=A;function z(){e.Debug.assert(e.tracing,\"Tracing is not in progress\"),e.Debug.assert(!!J.length==(k!==\"server\")),p.writeSync(d,`\n]\n`),p.closeSync(d),e.tracing=void 0,J.length?q(J):v[v.length-1].typesPath=void 0}f.stopTracing=z;function ie(ne){k!==\"server\"&&J.push(ne)}f.recordType=ie,function(ne){ne.Parse=\"parse\",ne.Program=\"program\",ne.Bind=\"bind\",ne.Check=\"check\",ne.CheckTypes=\"checkTypes\",ne.Emit=\"emit\",ne.Session=\"session\"}(f.Phase||(f.Phase={}));function b(ne,F,Q){x(\"I\",ne,F,Q,'\"s\":\"g\"')}f.instant=b;var M=[];function S(ne,F,Q,V){V===void 0&&(V=!1),V&&x(\"B\",ne,F,Q),M.push({phase:ne,name:F,args:Q,time:1e3*e.timestamp(),separateBeginAndEnd:V})}f.push=S;function B(){e.Debug.assert(M.length>0),w(M.length-1,1e3*e.timestamp()),M.length--}f.pop=B;function H(){for(var ne=1e3*e.timestamp(),F=M.length-1;F>=0;F--)w(F,ne);M.length=0}f.popAll=H;var I=1e3*10;function w(ne,F){var Q=M[ne],V=Q.phase,re=Q.name,T=Q.args,N=Q.time,y=Q.separateBeginAndEnd;y?x(\"E\",V,re,T,void 0,F):I-N%I<=F-N&&x(\"X\",V,re,T,'\"dur\":'.concat(F-N),N)}function x(ne,F,Q,V,re,T){T===void 0&&(T=1e3*e.timestamp()),!(k===\"server\"&&F===\"checkTypes\")&&(e.performance.mark(\"beginTracing\"),p.writeSync(d,`,\n{\"pid\":1,\"tid\":1,\"ph\":\"`.concat(ne,'\",\"cat\":\"').concat(F,'\",\"ts\":').concat(T,',\"name\":\"').concat(Q,'\"')),re&&p.writeSync(d,\",\".concat(re)),V&&p.writeSync(d,',\"args\":'.concat(JSON.stringify(V))),p.writeSync(d,\"}\"),e.performance.mark(\"endTracing\"),e.performance.measure(\"Tracing\",\"beginTracing\",\"endTracing\"))}function O(ne){var F=e.getSourceFileOfNode(ne);return F?{path:F.path,start:Q(e.getLineAndCharacterOfPosition(F,ne.pos)),end:Q(e.getLineAndCharacterOfPosition(F,ne.end))}:void 0;function Q(V){return{line:V.line+1,character:V.character+1}}}function q(ne){var F,Q,V,re,T,N,y,D,C,m,u,g,P,te,ue,X,j,Se,Ce,R,Y,U;e.performance.mark(\"beginDumpTypes\");var K=v[v.length-1].typesPath,Te=p.openSync(K,\"w\"),ge=new e.Map;p.writeSync(Te,\"[\");for(var ke=ne.length,Pe=0;Pe<ke;Pe++){var Ie=ne[Pe],Ge=Ie.objectFlags,he=(F=Ie.aliasSymbol)!==null&&F!==void 0?F:Ie.symbol,ve=void 0;if(Ge&16|Ie.flags&2944)try{ve=(Q=Ie.checker)===null||Q===void 0?void 0:Q.typeToString(Ie)}catch{ve=void 0}var Ve={};if(Ie.flags&8388608){var _e=Ie;Ve={indexedAccessObjectType:(V=_e.objectType)===null||V===void 0?void 0:V.id,indexedAccessIndexType:(re=_e.indexType)===null||re===void 0?void 0:re.id}}var Le={};if(Ge&4){var qe=Ie;Le={instantiatedType:(T=qe.target)===null||T===void 0?void 0:T.id,typeArguments:(N=qe.resolvedTypeArguments)===null||N===void 0?void 0:N.map(function(Hr){return Hr.id}),referenceLocation:O(qe.node)}}var Xe={};if(Ie.flags&16777216){var De=Ie;Xe={conditionalCheckType:(y=De.checkType)===null||y===void 0?void 0:y.id,conditionalExtendsType:(D=De.extendsType)===null||D===void 0?void 0:D.id,conditionalTrueType:(m=(C=De.resolvedTrueType)===null||C===void 0?void 0:C.id)!==null&&m!==void 0?m:-1,conditionalFalseType:(g=(u=De.resolvedFalseType)===null||u===void 0?void 0:u.id)!==null&&g!==void 0?g:-1}}var Ae={};if(Ie.flags&33554432){var Ye=Ie;Ae={substitutionBaseType:(P=Ye.baseType)===null||P===void 0?void 0:P.id,substituteType:(te=Ye.substitute)===null||te===void 0?void 0:te.id}}var Dr={};if(Ge&1024){var br=Ie;Dr={reverseMappedSourceType:(ue=br.source)===null||ue===void 0?void 0:ue.id,reverseMappedMappedType:(X=br.mappedType)===null||X===void 0?void 0:X.id,reverseMappedConstraintType:(j=br.constraintType)===null||j===void 0?void 0:j.id}}var lr={};if(Ge&256){var Ar=Ie;lr={evolvingArrayElementType:Ar.elementType.id,evolvingArrayFinalType:(Se=Ar.finalArrayType)===null||Se===void 0?void 0:Se.id}}var kr=void 0,Ke=Ie.checker.getRecursionIdentity(Ie);Ke&&(kr=ge.get(Ke),kr||(kr=ge.size,ge.set(Ke,kr)));var Me=Rn(Rn(Rn(Rn(Rn(Rn(Rn({id:Ie.id,intrinsicName:Ie.intrinsicName,symbolName:(he==null?void 0:he.escapedName)&&e.unescapeLeadingUnderscores(he.escapedName),recursionId:kr,isTuple:Ge&8?!0:void 0,unionTypes:Ie.flags&1048576?(Ce=Ie.types)===null||Ce===void 0?void 0:Ce.map(function(Hr){return Hr.id}):void 0,intersectionTypes:Ie.flags&2097152?Ie.types.map(function(Hr){return Hr.id}):void 0,aliasTypeArguments:(R=Ie.aliasTypeArguments)===null||R===void 0?void 0:R.map(function(Hr){return Hr.id}),keyofType:Ie.flags&4194304?(Y=Ie.type)===null||Y===void 0?void 0:Y.id:void 0},Ve),Le),Xe),Ae),Dr),lr),{destructuringPattern:O(Ie.pattern),firstDeclaration:O((U=he==null?void 0:he.declarations)===null||U===void 0?void 0:U[0]),flags:e.Debug.formatTypeFlags(Ie.flags).split(\"|\"),display:ve});p.writeSync(Te,JSON.stringify(Me)),Pe<ke-1&&p.writeSync(Te,`,\n`)}p.writeSync(Te,`]\n`),p.closeSync(Te),e.performance.mark(\"endDumpTypes\"),e.performance.measure(\"Dump types\",\"beginDumpTypes\",\"endDumpTypes\")}function Z(){!h||p.writeFileSync(h,JSON.stringify(v))}f.dumpLegend=Z})(n||(n={})),e.startTracing=n.startTracing,e.dumpTracingLegend=n.dumpLegend}(jr||(jr={})),function(e){(function(a){a[a.Unknown=0]=\"Unknown\",a[a.EndOfFileToken=1]=\"EndOfFileToken\",a[a.SingleLineCommentTrivia=2]=\"SingleLineCommentTrivia\",a[a.MultiLineCommentTrivia=3]=\"MultiLineCommentTrivia\",a[a.NewLineTrivia=4]=\"NewLineTrivia\",a[a.WhitespaceTrivia=5]=\"WhitespaceTrivia\",a[a.ShebangTrivia=6]=\"ShebangTrivia\",a[a.ConflictMarkerTrivia=7]=\"ConflictMarkerTrivia\",a[a.NumericLiteral=8]=\"NumericLiteral\",a[a.BigIntLiteral=9]=\"BigIntLiteral\",a[a.StringLiteral=10]=\"StringLiteral\",a[a.JsxText=11]=\"JsxText\",a[a.JsxTextAllWhiteSpaces=12]=\"JsxTextAllWhiteSpaces\",a[a.RegularExpressionLiteral=13]=\"RegularExpressionLiteral\",a[a.NoSubstitutionTemplateLiteral=14]=\"NoSubstitutionTemplateLiteral\",a[a.TemplateHead=15]=\"TemplateHead\",a[a.TemplateMiddle=16]=\"TemplateMiddle\",a[a.TemplateTail=17]=\"TemplateTail\",a[a.OpenBraceToken=18]=\"OpenBraceToken\",a[a.CloseBraceToken=19]=\"CloseBraceToken\",a[a.OpenParenToken=20]=\"OpenParenToken\",a[a.CloseParenToken=21]=\"CloseParenToken\",a[a.OpenBracketToken=22]=\"OpenBracketToken\",a[a.CloseBracketToken=23]=\"CloseBracketToken\",a[a.DotToken=24]=\"DotToken\",a[a.DotDotDotToken=25]=\"DotDotDotToken\",a[a.SemicolonToken=26]=\"SemicolonToken\",a[a.CommaToken=27]=\"CommaToken\",a[a.QuestionDotToken=28]=\"QuestionDotToken\",a[a.LessThanToken=29]=\"LessThanToken\",a[a.LessThanSlashToken=30]=\"LessThanSlashToken\",a[a.GreaterThanToken=31]=\"GreaterThanToken\",a[a.LessThanEqualsToken=32]=\"LessThanEqualsToken\",a[a.GreaterThanEqualsToken=33]=\"GreaterThanEqualsToken\",a[a.EqualsEqualsToken=34]=\"EqualsEqualsToken\",a[a.ExclamationEqualsToken=35]=\"ExclamationEqualsToken\",a[a.EqualsEqualsEqualsToken=36]=\"EqualsEqualsEqualsToken\",a[a.ExclamationEqualsEqualsToken=37]=\"ExclamationEqualsEqualsToken\",a[a.EqualsGreaterThanToken=38]=\"EqualsGreaterThanToken\",a[a.PlusToken=39]=\"PlusToken\",a[a.MinusToken=40]=\"MinusToken\",a[a.AsteriskToken=41]=\"AsteriskToken\",a[a.AsteriskAsteriskToken=42]=\"AsteriskAsteriskToken\",a[a.SlashToken=43]=\"SlashToken\",a[a.PercentToken=44]=\"PercentToken\",a[a.PlusPlusToken=45]=\"PlusPlusToken\",a[a.MinusMinusToken=46]=\"MinusMinusToken\",a[a.LessThanLessThanToken=47]=\"LessThanLessThanToken\",a[a.GreaterThanGreaterThanToken=48]=\"GreaterThanGreaterThanToken\",a[a.GreaterThanGreaterThanGreaterThanToken=49]=\"GreaterThanGreaterThanGreaterThanToken\",a[a.AmpersandToken=50]=\"AmpersandToken\",a[a.BarToken=51]=\"BarToken\",a[a.CaretToken=52]=\"CaretToken\",a[a.ExclamationToken=53]=\"ExclamationToken\",a[a.TildeToken=54]=\"TildeToken\",a[a.AmpersandAmpersandToken=55]=\"AmpersandAmpersandToken\",a[a.BarBarToken=56]=\"BarBarToken\",a[a.QuestionToken=57]=\"QuestionToken\",a[a.ColonToken=58]=\"ColonToken\",a[a.AtToken=59]=\"AtToken\",a[a.QuestionQuestionToken=60]=\"QuestionQuestionToken\",a[a.BacktickToken=61]=\"BacktickToken\",a[a.HashToken=62]=\"HashToken\",a[a.EqualsToken=63]=\"EqualsToken\",a[a.PlusEqualsToken=64]=\"PlusEqualsToken\",a[a.MinusEqualsToken=65]=\"MinusEqualsToken\",a[a.AsteriskEqualsToken=66]=\"AsteriskEqualsToken\",a[a.AsteriskAsteriskEqualsToken=67]=\"AsteriskAsteriskEqualsToken\",a[a.SlashEqualsToken=68]=\"SlashEqualsToken\",a[a.PercentEqualsToken=69]=\"PercentEqualsToken\",a[a.LessThanLessThanEqualsToken=70]=\"LessThanLessThanEqualsToken\",a[a.GreaterThanGreaterThanEqualsToken=71]=\"GreaterThanGreaterThanEqualsToken\",a[a.GreaterThanGreaterThanGreaterThanEqualsToken=72]=\"GreaterThanGreaterThanGreaterThanEqualsToken\",a[a.AmpersandEqualsToken=73]=\"AmpersandEqualsToken\",a[a.BarEqualsToken=74]=\"BarEqualsToken\",a[a.BarBarEqualsToken=75]=\"BarBarEqualsToken\",a[a.AmpersandAmpersandEqualsToken=76]=\"AmpersandAmpersandEqualsToken\",a[a.QuestionQuestionEqualsToken=77]=\"QuestionQuestionEqualsToken\",a[a.CaretEqualsToken=78]=\"CaretEqualsToken\",a[a.Identifier=79]=\"Identifier\",a[a.PrivateIdentifier=80]=\"PrivateIdentifier\",a[a.BreakKeyword=81]=\"BreakKeyword\",a[a.CaseKeyword=82]=\"CaseKeyword\",a[a.CatchKeyword=83]=\"CatchKeyword\",a[a.ClassKeyword=84]=\"ClassKeyword\",a[a.ConstKeyword=85]=\"ConstKeyword\",a[a.ContinueKeyword=86]=\"ContinueKeyword\",a[a.DebuggerKeyword=87]=\"DebuggerKeyword\",a[a.DefaultKeyword=88]=\"DefaultKeyword\",a[a.DeleteKeyword=89]=\"DeleteKeyword\",a[a.DoKeyword=90]=\"DoKeyword\",a[a.ElseKeyword=91]=\"ElseKeyword\",a[a.EnumKeyword=92]=\"EnumKeyword\",a[a.ExportKeyword=93]=\"ExportKeyword\",a[a.ExtendsKeyword=94]=\"ExtendsKeyword\",a[a.FalseKeyword=95]=\"FalseKeyword\",a[a.FinallyKeyword=96]=\"FinallyKeyword\",a[a.ForKeyword=97]=\"ForKeyword\",a[a.FunctionKeyword=98]=\"FunctionKeyword\",a[a.IfKeyword=99]=\"IfKeyword\",a[a.ImportKeyword=100]=\"ImportKeyword\",a[a.InKeyword=101]=\"InKeyword\",a[a.InstanceOfKeyword=102]=\"InstanceOfKeyword\",a[a.NewKeyword=103]=\"NewKeyword\",a[a.NullKeyword=104]=\"NullKeyword\",a[a.ReturnKeyword=105]=\"ReturnKeyword\",a[a.SuperKeyword=106]=\"SuperKeyword\",a[a.SwitchKeyword=107]=\"SwitchKeyword\",a[a.ThisKeyword=108]=\"ThisKeyword\",a[a.ThrowKeyword=109]=\"ThrowKeyword\",a[a.TrueKeyword=110]=\"TrueKeyword\",a[a.TryKeyword=111]=\"TryKeyword\",a[a.TypeOfKeyword=112]=\"TypeOfKeyword\",a[a.VarKeyword=113]=\"VarKeyword\",a[a.VoidKeyword=114]=\"VoidKeyword\",a[a.WhileKeyword=115]=\"WhileKeyword\",a[a.WithKeyword=116]=\"WithKeyword\",a[a.ImplementsKeyword=117]=\"ImplementsKeyword\",a[a.InterfaceKeyword=118]=\"InterfaceKeyword\",a[a.LetKeyword=119]=\"LetKeyword\",a[a.PackageKeyword=120]=\"PackageKeyword\",a[a.PrivateKeyword=121]=\"PrivateKeyword\",a[a.ProtectedKeyword=122]=\"ProtectedKeyword\",a[a.PublicKeyword=123]=\"PublicKeyword\",a[a.StaticKeyword=124]=\"StaticKeyword\",a[a.YieldKeyword=125]=\"YieldKeyword\",a[a.AbstractKeyword=126]=\"AbstractKeyword\",a[a.AsKeyword=127]=\"AsKeyword\",a[a.AssertsKeyword=128]=\"AssertsKeyword\",a[a.AssertKeyword=129]=\"AssertKeyword\",a[a.AnyKeyword=130]=\"AnyKeyword\",a[a.AsyncKeyword=131]=\"AsyncKeyword\",a[a.AwaitKeyword=132]=\"AwaitKeyword\",a[a.BooleanKeyword=133]=\"BooleanKeyword\",a[a.ConstructorKeyword=134]=\"ConstructorKeyword\",a[a.DeclareKeyword=135]=\"DeclareKeyword\",a[a.GetKeyword=136]=\"GetKeyword\",a[a.InferKeyword=137]=\"InferKeyword\",a[a.IntrinsicKeyword=138]=\"IntrinsicKeyword\",a[a.IsKeyword=139]=\"IsKeyword\",a[a.KeyOfKeyword=140]=\"KeyOfKeyword\",a[a.ModuleKeyword=141]=\"ModuleKeyword\",a[a.NamespaceKeyword=142]=\"NamespaceKeyword\",a[a.NeverKeyword=143]=\"NeverKeyword\",a[a.ReadonlyKeyword=144]=\"ReadonlyKeyword\",a[a.RequireKeyword=145]=\"RequireKeyword\",a[a.NumberKeyword=146]=\"NumberKeyword\",a[a.ObjectKeyword=147]=\"ObjectKeyword\",a[a.SetKeyword=148]=\"SetKeyword\",a[a.StringKeyword=149]=\"StringKeyword\",a[a.SymbolKeyword=150]=\"SymbolKeyword\",a[a.TypeKeyword=151]=\"TypeKeyword\",a[a.UndefinedKeyword=152]=\"UndefinedKeyword\",a[a.UniqueKeyword=153]=\"UniqueKeyword\",a[a.UnknownKeyword=154]=\"UnknownKeyword\",a[a.FromKeyword=155]=\"FromKeyword\",a[a.GlobalKeyword=156]=\"GlobalKeyword\",a[a.BigIntKeyword=157]=\"BigIntKeyword\",a[a.OverrideKeyword=158]=\"OverrideKeyword\",a[a.OfKeyword=159]=\"OfKeyword\",a[a.QualifiedName=160]=\"QualifiedName\",a[a.ComputedPropertyName=161]=\"ComputedPropertyName\",a[a.TypeParameter=162]=\"TypeParameter\",a[a.Parameter=163]=\"Parameter\",a[a.Decorator=164]=\"Decorator\",a[a.PropertySignature=165]=\"PropertySignature\",a[a.PropertyDeclaration=166]=\"PropertyDeclaration\",a[a.MethodSignature=167]=\"MethodSignature\",a[a.MethodDeclaration=168]=\"MethodDeclaration\",a[a.ClassStaticBlockDeclaration=169]=\"ClassStaticBlockDeclaration\",a[a.Constructor=170]=\"Constructor\",a[a.GetAccessor=171]=\"GetAccessor\",a[a.SetAccessor=172]=\"SetAccessor\",a[a.CallSignature=173]=\"CallSignature\",a[a.ConstructSignature=174]=\"ConstructSignature\",a[a.IndexSignature=175]=\"IndexSignature\",a[a.TypePredicate=176]=\"TypePredicate\",a[a.TypeReference=177]=\"TypeReference\",a[a.FunctionType=178]=\"FunctionType\",a[a.ConstructorType=179]=\"ConstructorType\",a[a.TypeQuery=180]=\"TypeQuery\",a[a.TypeLiteral=181]=\"TypeLiteral\",a[a.ArrayType=182]=\"ArrayType\",a[a.TupleType=183]=\"TupleType\",a[a.OptionalType=184]=\"OptionalType\",a[a.RestType=185]=\"RestType\",a[a.UnionType=186]=\"UnionType\",a[a.IntersectionType=187]=\"IntersectionType\",a[a.ConditionalType=188]=\"ConditionalType\",a[a.InferType=189]=\"InferType\",a[a.ParenthesizedType=190]=\"ParenthesizedType\",a[a.ThisType=191]=\"ThisType\",a[a.TypeOperator=192]=\"TypeOperator\",a[a.IndexedAccessType=193]=\"IndexedAccessType\",a[a.MappedType=194]=\"MappedType\",a[a.LiteralType=195]=\"LiteralType\",a[a.NamedTupleMember=196]=\"NamedTupleMember\",a[a.TemplateLiteralType=197]=\"TemplateLiteralType\",a[a.TemplateLiteralTypeSpan=198]=\"TemplateLiteralTypeSpan\",a[a.ImportType=199]=\"ImportType\",a[a.ObjectBindingPattern=200]=\"ObjectBindingPattern\",a[a.ArrayBindingPattern=201]=\"ArrayBindingPattern\",a[a.BindingElement=202]=\"BindingElement\",a[a.ArrayLiteralExpression=203]=\"ArrayLiteralExpression\",a[a.ObjectLiteralExpression=204]=\"ObjectLiteralExpression\",a[a.PropertyAccessExpression=205]=\"PropertyAccessExpression\",a[a.ElementAccessExpression=206]=\"ElementAccessExpression\",a[a.CallExpression=207]=\"CallExpression\",a[a.NewExpression=208]=\"NewExpression\",a[a.TaggedTemplateExpression=209]=\"TaggedTemplateExpression\",a[a.TypeAssertionExpression=210]=\"TypeAssertionExpression\",a[a.ParenthesizedExpression=211]=\"ParenthesizedExpression\",a[a.FunctionExpression=212]=\"FunctionExpression\",a[a.ArrowFunction=213]=\"ArrowFunction\",a[a.DeleteExpression=214]=\"DeleteExpression\",a[a.TypeOfExpression=215]=\"TypeOfExpression\",a[a.VoidExpression=216]=\"VoidExpression\",a[a.AwaitExpression=217]=\"AwaitExpression\",a[a.PrefixUnaryExpression=218]=\"PrefixUnaryExpression\",a[a.PostfixUnaryExpression=219]=\"PostfixUnaryExpression\",a[a.BinaryExpression=220]=\"BinaryExpression\",a[a.ConditionalExpression=221]=\"ConditionalExpression\",a[a.TemplateExpression=222]=\"TemplateExpression\",a[a.YieldExpression=223]=\"YieldExpression\",a[a.SpreadElement=224]=\"SpreadElement\",a[a.ClassExpression=225]=\"ClassExpression\",a[a.OmittedExpression=226]=\"OmittedExpression\",a[a.ExpressionWithTypeArguments=227]=\"ExpressionWithTypeArguments\",a[a.AsExpression=228]=\"AsExpression\",a[a.NonNullExpression=229]=\"NonNullExpression\",a[a.MetaProperty=230]=\"MetaProperty\",a[a.SyntheticExpression=231]=\"SyntheticExpression\",a[a.TemplateSpan=232]=\"TemplateSpan\",a[a.SemicolonClassElement=233]=\"SemicolonClassElement\",a[a.Block=234]=\"Block\",a[a.EmptyStatement=235]=\"EmptyStatement\",a[a.VariableStatement=236]=\"VariableStatement\",a[a.ExpressionStatement=237]=\"ExpressionStatement\",a[a.IfStatement=238]=\"IfStatement\",a[a.DoStatement=239]=\"DoStatement\",a[a.WhileStatement=240]=\"WhileStatement\",a[a.ForStatement=241]=\"ForStatement\",a[a.ForInStatement=242]=\"ForInStatement\",a[a.ForOfStatement=243]=\"ForOfStatement\",a[a.ContinueStatement=244]=\"ContinueStatement\",a[a.BreakStatement=245]=\"BreakStatement\",a[a.ReturnStatement=246]=\"ReturnStatement\",a[a.WithStatement=247]=\"WithStatement\",a[a.SwitchStatement=248]=\"SwitchStatement\",a[a.LabeledStatement=249]=\"LabeledStatement\",a[a.ThrowStatement=250]=\"ThrowStatement\",a[a.TryStatement=251]=\"TryStatement\",a[a.DebuggerStatement=252]=\"DebuggerStatement\",a[a.VariableDeclaration=253]=\"VariableDeclaration\",a[a.VariableDeclarationList=254]=\"VariableDeclarationList\",a[a.FunctionDeclaration=255]=\"FunctionDeclaration\",a[a.ClassDeclaration=256]=\"ClassDeclaration\",a[a.InterfaceDeclaration=257]=\"InterfaceDeclaration\",a[a.TypeAliasDeclaration=258]=\"TypeAliasDeclaration\",a[a.EnumDeclaration=259]=\"EnumDeclaration\",a[a.ModuleDeclaration=260]=\"ModuleDeclaration\",a[a.ModuleBlock=261]=\"ModuleBlock\",a[a.CaseBlock=262]=\"CaseBlock\",a[a.NamespaceExportDeclaration=263]=\"NamespaceExportDeclaration\",a[a.ImportEqualsDeclaration=264]=\"ImportEqualsDeclaration\",a[a.ImportDeclaration=265]=\"ImportDeclaration\",a[a.ImportClause=266]=\"ImportClause\",a[a.NamespaceImport=267]=\"NamespaceImport\",a[a.NamedImports=268]=\"NamedImports\",a[a.ImportSpecifier=269]=\"ImportSpecifier\",a[a.ExportAssignment=270]=\"ExportAssignment\",a[a.ExportDeclaration=271]=\"ExportDeclaration\",a[a.NamedExports=272]=\"NamedExports\",a[a.NamespaceExport=273]=\"NamespaceExport\",a[a.ExportSpecifier=274]=\"ExportSpecifier\",a[a.MissingDeclaration=275]=\"MissingDeclaration\",a[a.ExternalModuleReference=276]=\"ExternalModuleReference\",a[a.JsxElement=277]=\"JsxElement\",a[a.JsxSelfClosingElement=278]=\"JsxSelfClosingElement\",a[a.JsxOpeningElement=279]=\"JsxOpeningElement\",a[a.JsxClosingElement=280]=\"JsxClosingElement\",a[a.JsxFragment=281]=\"JsxFragment\",a[a.JsxOpeningFragment=282]=\"JsxOpeningFragment\",a[a.JsxClosingFragment=283]=\"JsxClosingFragment\",a[a.JsxAttribute=284]=\"JsxAttribute\",a[a.JsxAttributes=285]=\"JsxAttributes\",a[a.JsxSpreadAttribute=286]=\"JsxSpreadAttribute\",a[a.JsxExpression=287]=\"JsxExpression\",a[a.CaseClause=288]=\"CaseClause\",a[a.DefaultClause=289]=\"DefaultClause\",a[a.HeritageClause=290]=\"HeritageClause\",a[a.CatchClause=291]=\"CatchClause\",a[a.AssertClause=292]=\"AssertClause\",a[a.AssertEntry=293]=\"AssertEntry\",a[a.PropertyAssignment=294]=\"PropertyAssignment\",a[a.ShorthandPropertyAssignment=295]=\"ShorthandPropertyAssignment\",a[a.SpreadAssignment=296]=\"SpreadAssignment\",a[a.EnumMember=297]=\"EnumMember\",a[a.UnparsedPrologue=298]=\"UnparsedPrologue\",a[a.UnparsedPrepend=299]=\"UnparsedPrepend\",a[a.UnparsedText=300]=\"UnparsedText\",a[a.UnparsedInternalText=301]=\"UnparsedInternalText\",a[a.UnparsedSyntheticReference=302]=\"UnparsedSyntheticReference\",a[a.SourceFile=303]=\"SourceFile\",a[a.Bundle=304]=\"Bundle\",a[a.UnparsedSource=305]=\"UnparsedSource\",a[a.InputFiles=306]=\"InputFiles\",a[a.JSDocTypeExpression=307]=\"JSDocTypeExpression\",a[a.JSDocNameReference=308]=\"JSDocNameReference\",a[a.JSDocMemberName=309]=\"JSDocMemberName\",a[a.JSDocAllType=310]=\"JSDocAllType\",a[a.JSDocUnknownType=311]=\"JSDocUnknownType\",a[a.JSDocNullableType=312]=\"JSDocNullableType\",a[a.JSDocNonNullableType=313]=\"JSDocNonNullableType\",a[a.JSDocOptionalType=314]=\"JSDocOptionalType\",a[a.JSDocFunctionType=315]=\"JSDocFunctionType\",a[a.JSDocVariadicType=316]=\"JSDocVariadicType\",a[a.JSDocNamepathType=317]=\"JSDocNamepathType\",a[a.JSDocComment=318]=\"JSDocComment\",a[a.JSDocText=319]=\"JSDocText\",a[a.JSDocTypeLiteral=320]=\"JSDocTypeLiteral\",a[a.JSDocSignature=321]=\"JSDocSignature\",a[a.JSDocLink=322]=\"JSDocLink\",a[a.JSDocLinkCode=323]=\"JSDocLinkCode\",a[a.JSDocLinkPlain=324]=\"JSDocLinkPlain\",a[a.JSDocTag=325]=\"JSDocTag\",a[a.JSDocAugmentsTag=326]=\"JSDocAugmentsTag\",a[a.JSDocImplementsTag=327]=\"JSDocImplementsTag\",a[a.JSDocAuthorTag=328]=\"JSDocAuthorTag\",a[a.JSDocDeprecatedTag=329]=\"JSDocDeprecatedTag\",a[a.JSDocClassTag=330]=\"JSDocClassTag\",a[a.JSDocPublicTag=331]=\"JSDocPublicTag\",a[a.JSDocPrivateTag=332]=\"JSDocPrivateTag\",a[a.JSDocProtectedTag=333]=\"JSDocProtectedTag\",a[a.JSDocReadonlyTag=334]=\"JSDocReadonlyTag\",a[a.JSDocOverrideTag=335]=\"JSDocOverrideTag\",a[a.JSDocCallbackTag=336]=\"JSDocCallbackTag\",a[a.JSDocEnumTag=337]=\"JSDocEnumTag\",a[a.JSDocParameterTag=338]=\"JSDocParameterTag\",a[a.JSDocReturnTag=339]=\"JSDocReturnTag\",a[a.JSDocThisTag=340]=\"JSDocThisTag\",a[a.JSDocTypeTag=341]=\"JSDocTypeTag\",a[a.JSDocTemplateTag=342]=\"JSDocTemplateTag\",a[a.JSDocTypedefTag=343]=\"JSDocTypedefTag\",a[a.JSDocSeeTag=344]=\"JSDocSeeTag\",a[a.JSDocPropertyTag=345]=\"JSDocPropertyTag\",a[a.SyntaxList=346]=\"SyntaxList\",a[a.NotEmittedStatement=347]=\"NotEmittedStatement\",a[a.PartiallyEmittedExpression=348]=\"PartiallyEmittedExpression\",a[a.CommaListExpression=349]=\"CommaListExpression\",a[a.MergeDeclarationMarker=350]=\"MergeDeclarationMarker\",a[a.EndOfDeclarationMarker=351]=\"EndOfDeclarationMarker\",a[a.SyntheticReferenceExpression=352]=\"SyntheticReferenceExpression\",a[a.Count=353]=\"Count\",a[a.FirstAssignment=63]=\"FirstAssignment\",a[a.LastAssignment=78]=\"LastAssignment\",a[a.FirstCompoundAssignment=64]=\"FirstCompoundAssignment\",a[a.LastCompoundAssignment=78]=\"LastCompoundAssignment\",a[a.FirstReservedWord=81]=\"FirstReservedWord\",a[a.LastReservedWord=116]=\"LastReservedWord\",a[a.FirstKeyword=81]=\"FirstKeyword\",a[a.LastKeyword=159]=\"LastKeyword\",a[a.FirstFutureReservedWord=117]=\"FirstFutureReservedWord\",a[a.LastFutureReservedWord=125]=\"LastFutureReservedWord\",a[a.FirstTypeNode=176]=\"FirstTypeNode\",a[a.LastTypeNode=199]=\"LastTypeNode\",a[a.FirstPunctuation=18]=\"FirstPunctuation\",a[a.LastPunctuation=78]=\"LastPunctuation\",a[a.FirstToken=0]=\"FirstToken\",a[a.LastToken=159]=\"LastToken\",a[a.FirstTriviaToken=2]=\"FirstTriviaToken\",a[a.LastTriviaToken=7]=\"LastTriviaToken\",a[a.FirstLiteralToken=8]=\"FirstLiteralToken\",a[a.LastLiteralToken=14]=\"LastLiteralToken\",a[a.FirstTemplateToken=14]=\"FirstTemplateToken\",a[a.LastTemplateToken=17]=\"LastTemplateToken\",a[a.FirstBinaryOperator=29]=\"FirstBinaryOperator\",a[a.LastBinaryOperator=78]=\"LastBinaryOperator\",a[a.FirstStatement=236]=\"FirstStatement\",a[a.LastStatement=252]=\"LastStatement\",a[a.FirstNode=160]=\"FirstNode\",a[a.FirstJSDocNode=307]=\"FirstJSDocNode\",a[a.LastJSDocNode=345]=\"LastJSDocNode\",a[a.FirstJSDocTagNode=325]=\"FirstJSDocTagNode\",a[a.LastJSDocTagNode=345]=\"LastJSDocTagNode\",a[a.FirstContextualKeyword=126]=\"FirstContextualKeyword\",a[a.LastContextualKeyword=159]=\"LastContextualKeyword\"})(e.SyntaxKind||(e.SyntaxKind={})),function(a){a[a.None=0]=\"None\",a[a.Let=1]=\"Let\",a[a.Const=2]=\"Const\",a[a.NestedNamespace=4]=\"NestedNamespace\",a[a.Synthesized=8]=\"Synthesized\",a[a.Namespace=16]=\"Namespace\",a[a.OptionalChain=32]=\"OptionalChain\",a[a.ExportContext=64]=\"ExportContext\",a[a.ContainsThis=128]=\"ContainsThis\",a[a.HasImplicitReturn=256]=\"HasImplicitReturn\",a[a.HasExplicitReturn=512]=\"HasExplicitReturn\",a[a.GlobalAugmentation=1024]=\"GlobalAugmentation\",a[a.HasAsyncFunctions=2048]=\"HasAsyncFunctions\",a[a.DisallowInContext=4096]=\"DisallowInContext\",a[a.YieldContext=8192]=\"YieldContext\",a[a.DecoratorContext=16384]=\"DecoratorContext\",a[a.AwaitContext=32768]=\"AwaitContext\",a[a.ThisNodeHasError=65536]=\"ThisNodeHasError\",a[a.JavaScriptFile=131072]=\"JavaScriptFile\",a[a.ThisNodeOrAnySubNodesHasError=262144]=\"ThisNodeOrAnySubNodesHasError\",a[a.HasAggregatedChildData=524288]=\"HasAggregatedChildData\",a[a.PossiblyContainsDynamicImport=1048576]=\"PossiblyContainsDynamicImport\",a[a.PossiblyContainsImportMeta=2097152]=\"PossiblyContainsImportMeta\",a[a.JSDoc=4194304]=\"JSDoc\",a[a.Ambient=8388608]=\"Ambient\",a[a.InWithStatement=16777216]=\"InWithStatement\",a[a.JsonFile=33554432]=\"JsonFile\",a[a.TypeCached=67108864]=\"TypeCached\",a[a.Deprecated=134217728]=\"Deprecated\",a[a.BlockScoped=3]=\"BlockScoped\",a[a.ReachabilityCheckFlags=768]=\"ReachabilityCheckFlags\",a[a.ReachabilityAndEmitFlags=2816]=\"ReachabilityAndEmitFlags\",a[a.ContextFlags=25358336]=\"ContextFlags\",a[a.TypeExcludesFlags=40960]=\"TypeExcludesFlags\",a[a.PermanentlySetIncrementalFlags=3145728]=\"PermanentlySetIncrementalFlags\"}(e.NodeFlags||(e.NodeFlags={})),function(a){a[a.None=0]=\"None\",a[a.Export=1]=\"Export\",a[a.Ambient=2]=\"Ambient\",a[a.Public=4]=\"Public\",a[a.Private=8]=\"Private\",a[a.Protected=16]=\"Protected\",a[a.Static=32]=\"Static\",a[a.Readonly=64]=\"Readonly\",a[a.Abstract=128]=\"Abstract\",a[a.Async=256]=\"Async\",a[a.Default=512]=\"Default\",a[a.Const=2048]=\"Const\",a[a.HasComputedJSDocModifiers=4096]=\"HasComputedJSDocModifiers\",a[a.Deprecated=8192]=\"Deprecated\",a[a.Override=16384]=\"Override\",a[a.HasComputedFlags=536870912]=\"HasComputedFlags\",a[a.AccessibilityModifier=28]=\"AccessibilityModifier\",a[a.ParameterPropertyModifier=16476]=\"ParameterPropertyModifier\",a[a.NonPublicAccessibilityModifier=24]=\"NonPublicAccessibilityModifier\",a[a.TypeScriptModifier=18654]=\"TypeScriptModifier\",a[a.ExportDefault=513]=\"ExportDefault\",a[a.All=27647]=\"All\"}(e.ModifierFlags||(e.ModifierFlags={})),function(a){a[a.None=0]=\"None\",a[a.IntrinsicNamedElement=1]=\"IntrinsicNamedElement\",a[a.IntrinsicIndexedElement=2]=\"IntrinsicIndexedElement\",a[a.IntrinsicElement=3]=\"IntrinsicElement\"}(e.JsxFlags||(e.JsxFlags={})),function(a){a[a.Succeeded=1]=\"Succeeded\",a[a.Failed=2]=\"Failed\",a[a.Reported=4]=\"Reported\",a[a.ReportsUnmeasurable=8]=\"ReportsUnmeasurable\",a[a.ReportsUnreliable=16]=\"ReportsUnreliable\",a[a.ReportsMask=24]=\"ReportsMask\"}(e.RelationComparisonResult||(e.RelationComparisonResult={})),function(a){a[a.None=0]=\"None\",a[a.Auto=1]=\"Auto\",a[a.Loop=2]=\"Loop\",a[a.Unique=3]=\"Unique\",a[a.Node=4]=\"Node\",a[a.KindMask=7]=\"KindMask\",a[a.ReservedInNestedScopes=8]=\"ReservedInNestedScopes\",a[a.Optimistic=16]=\"Optimistic\",a[a.FileLevel=32]=\"FileLevel\",a[a.AllowNameSubstitution=64]=\"AllowNameSubstitution\"}(e.GeneratedIdentifierFlags||(e.GeneratedIdentifierFlags={})),function(a){a[a.None=0]=\"None\",a[a.PrecedingLineBreak=1]=\"PrecedingLineBreak\",a[a.PrecedingJSDocComment=2]=\"PrecedingJSDocComment\",a[a.Unterminated=4]=\"Unterminated\",a[a.ExtendedUnicodeEscape=8]=\"ExtendedUnicodeEscape\",a[a.Scientific=16]=\"Scientific\",a[a.Octal=32]=\"Octal\",a[a.HexSpecifier=64]=\"HexSpecifier\",a[a.BinarySpecifier=128]=\"BinarySpecifier\",a[a.OctalSpecifier=256]=\"OctalSpecifier\",a[a.ContainsSeparator=512]=\"ContainsSeparator\",a[a.UnicodeEscape=1024]=\"UnicodeEscape\",a[a.ContainsInvalidEscape=2048]=\"ContainsInvalidEscape\",a[a.BinaryOrOctalSpecifier=384]=\"BinaryOrOctalSpecifier\",a[a.NumericLiteralFlags=1008]=\"NumericLiteralFlags\",a[a.TemplateLiteralLikeFlags=2048]=\"TemplateLiteralLikeFlags\"}(e.TokenFlags||(e.TokenFlags={})),function(a){a[a.Unreachable=1]=\"Unreachable\",a[a.Start=2]=\"Start\",a[a.BranchLabel=4]=\"BranchLabel\",a[a.LoopLabel=8]=\"LoopLabel\",a[a.Assignment=16]=\"Assignment\",a[a.TrueCondition=32]=\"TrueCondition\",a[a.FalseCondition=64]=\"FalseCondition\",a[a.SwitchClause=128]=\"SwitchClause\",a[a.ArrayMutation=256]=\"ArrayMutation\",a[a.Call=512]=\"Call\",a[a.ReduceLabel=1024]=\"ReduceLabel\",a[a.Referenced=2048]=\"Referenced\",a[a.Shared=4096]=\"Shared\",a[a.Label=12]=\"Label\",a[a.Condition=96]=\"Condition\"}(e.FlowFlags||(e.FlowFlags={})),function(a){a[a.ExpectError=0]=\"ExpectError\",a[a.Ignore=1]=\"Ignore\"}(e.CommentDirectiveType||(e.CommentDirectiveType={}));var n=function(){function a(){}return a}();e.OperationCanceledException=n,function(a){a[a.RootFile=0]=\"RootFile\",a[a.SourceFromProjectReference=1]=\"SourceFromProjectReference\",a[a.OutputFromProjectReference=2]=\"OutputFromProjectReference\",a[a.Import=3]=\"Import\",a[a.ReferenceFile=4]=\"ReferenceFile\",a[a.TypeReferenceDirective=5]=\"TypeReferenceDirective\",a[a.LibFile=6]=\"LibFile\",a[a.LibReferenceDirective=7]=\"LibReferenceDirective\",a[a.AutomaticTypeDirectiveFile=8]=\"AutomaticTypeDirectiveFile\"}(e.FileIncludeKind||(e.FileIncludeKind={})),function(a){a[a.FilePreprocessingReferencedDiagnostic=0]=\"FilePreprocessingReferencedDiagnostic\",a[a.FilePreprocessingFileExplainingDiagnostic=1]=\"FilePreprocessingFileExplainingDiagnostic\"}(e.FilePreprocessingDiagnosticsKind||(e.FilePreprocessingDiagnosticsKind={})),function(a){a[a.Not=0]=\"Not\",a[a.SafeModules=1]=\"SafeModules\",a[a.Completely=2]=\"Completely\"}(e.StructureIsReused||(e.StructureIsReused={})),function(a){a[a.Success=0]=\"Success\",a[a.DiagnosticsPresent_OutputsSkipped=1]=\"DiagnosticsPresent_OutputsSkipped\",a[a.DiagnosticsPresent_OutputsGenerated=2]=\"DiagnosticsPresent_OutputsGenerated\",a[a.InvalidProject_OutputsSkipped=3]=\"InvalidProject_OutputsSkipped\",a[a.ProjectReferenceCycle_OutputsSkipped=4]=\"ProjectReferenceCycle_OutputsSkipped\",a[a.ProjectReferenceCycle_OutputsSkupped=4]=\"ProjectReferenceCycle_OutputsSkupped\"}(e.ExitStatus||(e.ExitStatus={})),function(a){a[a.Ok=0]=\"Ok\",a[a.NeedsOverride=1]=\"NeedsOverride\",a[a.HasInvalidOverride=2]=\"HasInvalidOverride\"}(e.MemberOverrideStatus||(e.MemberOverrideStatus={})),function(a){a[a.None=0]=\"None\",a[a.Literal=1]=\"Literal\",a[a.Subtype=2]=\"Subtype\"}(e.UnionReduction||(e.UnionReduction={})),function(a){a[a.None=0]=\"None\",a[a.Signature=1]=\"Signature\",a[a.NoConstraints=2]=\"NoConstraints\",a[a.Completions=4]=\"Completions\",a[a.SkipBindingPatterns=8]=\"SkipBindingPatterns\"}(e.ContextFlags||(e.ContextFlags={})),function(a){a[a.None=0]=\"None\",a[a.NoTruncation=1]=\"NoTruncation\",a[a.WriteArrayAsGenericType=2]=\"WriteArrayAsGenericType\",a[a.GenerateNamesForShadowedTypeParams=4]=\"GenerateNamesForShadowedTypeParams\",a[a.UseStructuralFallback=8]=\"UseStructuralFallback\",a[a.ForbidIndexedAccessSymbolReferences=16]=\"ForbidIndexedAccessSymbolReferences\",a[a.WriteTypeArgumentsOfSignature=32]=\"WriteTypeArgumentsOfSignature\",a[a.UseFullyQualifiedType=64]=\"UseFullyQualifiedType\",a[a.UseOnlyExternalAliasing=128]=\"UseOnlyExternalAliasing\",a[a.SuppressAnyReturnType=256]=\"SuppressAnyReturnType\",a[a.WriteTypeParametersInQualifiedName=512]=\"WriteTypeParametersInQualifiedName\",a[a.MultilineObjectLiterals=1024]=\"MultilineObjectLiterals\",a[a.WriteClassExpressionAsTypeLiteral=2048]=\"WriteClassExpressionAsTypeLiteral\",a[a.UseTypeOfFunction=4096]=\"UseTypeOfFunction\",a[a.OmitParameterModifiers=8192]=\"OmitParameterModifiers\",a[a.UseAliasDefinedOutsideCurrentScope=16384]=\"UseAliasDefinedOutsideCurrentScope\",a[a.UseSingleQuotesForStringLiteralType=268435456]=\"UseSingleQuotesForStringLiteralType\",a[a.NoTypeReduction=536870912]=\"NoTypeReduction\",a[a.NoUndefinedOptionalParameterType=1073741824]=\"NoUndefinedOptionalParameterType\",a[a.AllowThisInObjectLiteral=32768]=\"AllowThisInObjectLiteral\",a[a.AllowQualifiedNameInPlaceOfIdentifier=65536]=\"AllowQualifiedNameInPlaceOfIdentifier\",a[a.AllowQualifedNameInPlaceOfIdentifier=65536]=\"AllowQualifedNameInPlaceOfIdentifier\",a[a.AllowAnonymousIdentifier=131072]=\"AllowAnonymousIdentifier\",a[a.AllowEmptyUnionOrIntersection=262144]=\"AllowEmptyUnionOrIntersection\",a[a.AllowEmptyTuple=524288]=\"AllowEmptyTuple\",a[a.AllowUniqueESSymbolType=1048576]=\"AllowUniqueESSymbolType\",a[a.AllowEmptyIndexInfoType=2097152]=\"AllowEmptyIndexInfoType\",a[a.AllowNodeModulesRelativePaths=67108864]=\"AllowNodeModulesRelativePaths\",a[a.DoNotIncludeSymbolChain=134217728]=\"DoNotIncludeSymbolChain\",a[a.IgnoreErrors=70221824]=\"IgnoreErrors\",a[a.InObjectTypeLiteral=4194304]=\"InObjectTypeLiteral\",a[a.InTypeAlias=8388608]=\"InTypeAlias\",a[a.InInitialEntityName=16777216]=\"InInitialEntityName\"}(e.NodeBuilderFlags||(e.NodeBuilderFlags={})),function(a){a[a.None=0]=\"None\",a[a.NoTruncation=1]=\"NoTruncation\",a[a.WriteArrayAsGenericType=2]=\"WriteArrayAsGenericType\",a[a.UseStructuralFallback=8]=\"UseStructuralFallback\",a[a.WriteTypeArgumentsOfSignature=32]=\"WriteTypeArgumentsOfSignature\",a[a.UseFullyQualifiedType=64]=\"UseFullyQualifiedType\",a[a.SuppressAnyReturnType=256]=\"SuppressAnyReturnType\",a[a.MultilineObjectLiterals=1024]=\"MultilineObjectLiterals\",a[a.WriteClassExpressionAsTypeLiteral=2048]=\"WriteClassExpressionAsTypeLiteral\",a[a.UseTypeOfFunction=4096]=\"UseTypeOfFunction\",a[a.OmitParameterModifiers=8192]=\"OmitParameterModifiers\",a[a.UseAliasDefinedOutsideCurrentScope=16384]=\"UseAliasDefinedOutsideCurrentScope\",a[a.UseSingleQuotesForStringLiteralType=268435456]=\"UseSingleQuotesForStringLiteralType\",a[a.NoTypeReduction=536870912]=\"NoTypeReduction\",a[a.AllowUniqueESSymbolType=1048576]=\"AllowUniqueESSymbolType\",a[a.AddUndefined=131072]=\"AddUndefined\",a[a.WriteArrowStyleSignature=262144]=\"WriteArrowStyleSignature\",a[a.InArrayType=524288]=\"InArrayType\",a[a.InElementType=2097152]=\"InElementType\",a[a.InFirstTypeArgument=4194304]=\"InFirstTypeArgument\",a[a.InTypeAlias=8388608]=\"InTypeAlias\",a[a.WriteOwnNameForAnyLike=0]=\"WriteOwnNameForAnyLike\",a[a.NodeBuilderFlagsMask=814775659]=\"NodeBuilderFlagsMask\"}(e.TypeFormatFlags||(e.TypeFormatFlags={})),function(a){a[a.None=0]=\"None\",a[a.WriteTypeParametersOrArguments=1]=\"WriteTypeParametersOrArguments\",a[a.UseOnlyExternalAliasing=2]=\"UseOnlyExternalAliasing\",a[a.AllowAnyNodeKind=4]=\"AllowAnyNodeKind\",a[a.UseAliasDefinedOutsideCurrentScope=8]=\"UseAliasDefinedOutsideCurrentScope\",a[a.DoNotIncludeSymbolChain=16]=\"DoNotIncludeSymbolChain\"}(e.SymbolFormatFlags||(e.SymbolFormatFlags={})),function(a){a[a.Accessible=0]=\"Accessible\",a[a.NotAccessible=1]=\"NotAccessible\",a[a.CannotBeNamed=2]=\"CannotBeNamed\"}(e.SymbolAccessibility||(e.SymbolAccessibility={})),function(a){a[a.UnionOrIntersection=0]=\"UnionOrIntersection\",a[a.Spread=1]=\"Spread\"}(e.SyntheticSymbolKind||(e.SyntheticSymbolKind={})),function(a){a[a.This=0]=\"This\",a[a.Identifier=1]=\"Identifier\",a[a.AssertsThis=2]=\"AssertsThis\",a[a.AssertsIdentifier=3]=\"AssertsIdentifier\"}(e.TypePredicateKind||(e.TypePredicateKind={})),function(a){a[a.Unknown=0]=\"Unknown\",a[a.TypeWithConstructSignatureAndValue=1]=\"TypeWithConstructSignatureAndValue\",a[a.VoidNullableOrNeverType=2]=\"VoidNullableOrNeverType\",a[a.NumberLikeType=3]=\"NumberLikeType\",a[a.BigIntLikeType=4]=\"BigIntLikeType\",a[a.StringLikeType=5]=\"StringLikeType\",a[a.BooleanType=6]=\"BooleanType\",a[a.ArrayLikeType=7]=\"ArrayLikeType\",a[a.ESSymbolType=8]=\"ESSymbolType\",a[a.Promise=9]=\"Promise\",a[a.TypeWithCallSignature=10]=\"TypeWithCallSignature\",a[a.ObjectType=11]=\"ObjectType\"}(e.TypeReferenceSerializationKind||(e.TypeReferenceSerializationKind={})),function(a){a[a.None=0]=\"None\",a[a.FunctionScopedVariable=1]=\"FunctionScopedVariable\",a[a.BlockScopedVariable=2]=\"BlockScopedVariable\",a[a.Property=4]=\"Property\",a[a.EnumMember=8]=\"EnumMember\",a[a.Function=16]=\"Function\",a[a.Class=32]=\"Class\",a[a.Interface=64]=\"Interface\",a[a.ConstEnum=128]=\"ConstEnum\",a[a.RegularEnum=256]=\"RegularEnum\",a[a.ValueModule=512]=\"ValueModule\",a[a.NamespaceModule=1024]=\"NamespaceModule\",a[a.TypeLiteral=2048]=\"TypeLiteral\",a[a.ObjectLiteral=4096]=\"ObjectLiteral\",a[a.Method=8192]=\"Method\",a[a.Constructor=16384]=\"Constructor\",a[a.GetAccessor=32768]=\"GetAccessor\",a[a.SetAccessor=65536]=\"SetAccessor\",a[a.Signature=131072]=\"Signature\",a[a.TypeParameter=262144]=\"TypeParameter\",a[a.TypeAlias=524288]=\"TypeAlias\",a[a.ExportValue=1048576]=\"ExportValue\",a[a.Alias=2097152]=\"Alias\",a[a.Prototype=4194304]=\"Prototype\",a[a.ExportStar=8388608]=\"ExportStar\",a[a.Optional=16777216]=\"Optional\",a[a.Transient=33554432]=\"Transient\",a[a.Assignment=67108864]=\"Assignment\",a[a.ModuleExports=134217728]=\"ModuleExports\",a[a.All=67108863]=\"All\",a[a.Enum=384]=\"Enum\",a[a.Variable=3]=\"Variable\",a[a.Value=111551]=\"Value\",a[a.Type=788968]=\"Type\",a[a.Namespace=1920]=\"Namespace\",a[a.Module=1536]=\"Module\",a[a.Accessor=98304]=\"Accessor\",a[a.FunctionScopedVariableExcludes=111550]=\"FunctionScopedVariableExcludes\",a[a.BlockScopedVariableExcludes=111551]=\"BlockScopedVariableExcludes\",a[a.ParameterExcludes=111551]=\"ParameterExcludes\",a[a.PropertyExcludes=0]=\"PropertyExcludes\",a[a.EnumMemberExcludes=900095]=\"EnumMemberExcludes\",a[a.FunctionExcludes=110991]=\"FunctionExcludes\",a[a.ClassExcludes=899503]=\"ClassExcludes\",a[a.InterfaceExcludes=788872]=\"InterfaceExcludes\",a[a.RegularEnumExcludes=899327]=\"RegularEnumExcludes\",a[a.ConstEnumExcludes=899967]=\"ConstEnumExcludes\",a[a.ValueModuleExcludes=110735]=\"ValueModuleExcludes\",a[a.NamespaceModuleExcludes=0]=\"NamespaceModuleExcludes\",a[a.MethodExcludes=103359]=\"MethodExcludes\",a[a.GetAccessorExcludes=46015]=\"GetAccessorExcludes\",a[a.SetAccessorExcludes=78783]=\"SetAccessorExcludes\",a[a.TypeParameterExcludes=526824]=\"TypeParameterExcludes\",a[a.TypeAliasExcludes=788968]=\"TypeAliasExcludes\",a[a.AliasExcludes=2097152]=\"AliasExcludes\",a[a.ModuleMember=2623475]=\"ModuleMember\",a[a.ExportHasLocal=944]=\"ExportHasLocal\",a[a.BlockScoped=418]=\"BlockScoped\",a[a.PropertyOrAccessor=98308]=\"PropertyOrAccessor\",a[a.ClassMember=106500]=\"ClassMember\",a[a.ExportSupportsDefaultModifier=112]=\"ExportSupportsDefaultModifier\",a[a.ExportDoesNotSupportDefaultModifier=-113]=\"ExportDoesNotSupportDefaultModifier\",a[a.Classifiable=2885600]=\"Classifiable\",a[a.LateBindingContainer=6256]=\"LateBindingContainer\"}(e.SymbolFlags||(e.SymbolFlags={})),function(a){a[a.Numeric=0]=\"Numeric\",a[a.Literal=1]=\"Literal\"}(e.EnumKind||(e.EnumKind={})),function(a){a[a.Instantiated=1]=\"Instantiated\",a[a.SyntheticProperty=2]=\"SyntheticProperty\",a[a.SyntheticMethod=4]=\"SyntheticMethod\",a[a.Readonly=8]=\"Readonly\",a[a.ReadPartial=16]=\"ReadPartial\",a[a.WritePartial=32]=\"WritePartial\",a[a.HasNonUniformType=64]=\"HasNonUniformType\",a[a.HasLiteralType=128]=\"HasLiteralType\",a[a.ContainsPublic=256]=\"ContainsPublic\",a[a.ContainsProtected=512]=\"ContainsProtected\",a[a.ContainsPrivate=1024]=\"ContainsPrivate\",a[a.ContainsStatic=2048]=\"ContainsStatic\",a[a.Late=4096]=\"Late\",a[a.ReverseMapped=8192]=\"ReverseMapped\",a[a.OptionalParameter=16384]=\"OptionalParameter\",a[a.RestParameter=32768]=\"RestParameter\",a[a.DeferredType=65536]=\"DeferredType\",a[a.HasNeverType=131072]=\"HasNeverType\",a[a.Mapped=262144]=\"Mapped\",a[a.StripOptional=524288]=\"StripOptional\",a[a.Unresolved=1048576]=\"Unresolved\",a[a.Synthetic=6]=\"Synthetic\",a[a.Discriminant=192]=\"Discriminant\",a[a.Partial=48]=\"Partial\"}(e.CheckFlags||(e.CheckFlags={})),function(a){a.Call=\"__call\",a.Constructor=\"__constructor\",a.New=\"__new\",a.Index=\"__index\",a.ExportStar=\"__export\",a.Global=\"__global\",a.Missing=\"__missing\",a.Type=\"__type\",a.Object=\"__object\",a.JSXAttributes=\"__jsxAttributes\",a.Class=\"__class\",a.Function=\"__function\",a.Computed=\"__computed\",a.Resolving=\"__resolving__\",a.ExportEquals=\"export=\",a.Default=\"default\",a.This=\"this\"}(e.InternalSymbolName||(e.InternalSymbolName={})),function(a){a[a.TypeChecked=1]=\"TypeChecked\",a[a.LexicalThis=2]=\"LexicalThis\",a[a.CaptureThis=4]=\"CaptureThis\",a[a.CaptureNewTarget=8]=\"CaptureNewTarget\",a[a.SuperInstance=256]=\"SuperInstance\",a[a.SuperStatic=512]=\"SuperStatic\",a[a.ContextChecked=1024]=\"ContextChecked\",a[a.AsyncMethodWithSuper=2048]=\"AsyncMethodWithSuper\",a[a.AsyncMethodWithSuperBinding=4096]=\"AsyncMethodWithSuperBinding\",a[a.CaptureArguments=8192]=\"CaptureArguments\",a[a.EnumValuesComputed=16384]=\"EnumValuesComputed\",a[a.LexicalModuleMergesWithClass=32768]=\"LexicalModuleMergesWithClass\",a[a.LoopWithCapturedBlockScopedBinding=65536]=\"LoopWithCapturedBlockScopedBinding\",a[a.ContainsCapturedBlockScopeBinding=131072]=\"ContainsCapturedBlockScopeBinding\",a[a.CapturedBlockScopedBinding=262144]=\"CapturedBlockScopedBinding\",a[a.BlockScopedBindingInLoop=524288]=\"BlockScopedBindingInLoop\",a[a.ClassWithBodyScopedClassBinding=1048576]=\"ClassWithBodyScopedClassBinding\",a[a.BodyScopedClassBinding=2097152]=\"BodyScopedClassBinding\",a[a.NeedsLoopOutParameter=4194304]=\"NeedsLoopOutParameter\",a[a.AssignmentsMarked=8388608]=\"AssignmentsMarked\",a[a.ClassWithConstructorReference=16777216]=\"ClassWithConstructorReference\",a[a.ConstructorReferenceInClass=33554432]=\"ConstructorReferenceInClass\",a[a.ContainsClassWithPrivateIdentifiers=67108864]=\"ContainsClassWithPrivateIdentifiers\",a[a.ContainsSuperPropertyInStaticInitializer=134217728]=\"ContainsSuperPropertyInStaticInitializer\"}(e.NodeCheckFlags||(e.NodeCheckFlags={})),function(a){a[a.Any=1]=\"Any\",a[a.Unknown=2]=\"Unknown\",a[a.String=4]=\"String\",a[a.Number=8]=\"Number\",a[a.Boolean=16]=\"Boolean\",a[a.Enum=32]=\"Enum\",a[a.BigInt=64]=\"BigInt\",a[a.StringLiteral=128]=\"StringLiteral\",a[a.NumberLiteral=256]=\"NumberLiteral\",a[a.BooleanLiteral=512]=\"BooleanLiteral\",a[a.EnumLiteral=1024]=\"EnumLiteral\",a[a.BigIntLiteral=2048]=\"BigIntLiteral\",a[a.ESSymbol=4096]=\"ESSymbol\",a[a.UniqueESSymbol=8192]=\"UniqueESSymbol\",a[a.Void=16384]=\"Void\",a[a.Undefined=32768]=\"Undefined\",a[a.Null=65536]=\"Null\",a[a.Never=131072]=\"Never\",a[a.TypeParameter=262144]=\"TypeParameter\",a[a.Object=524288]=\"Object\",a[a.Union=1048576]=\"Union\",a[a.Intersection=2097152]=\"Intersection\",a[a.Index=4194304]=\"Index\",a[a.IndexedAccess=8388608]=\"IndexedAccess\",a[a.Conditional=16777216]=\"Conditional\",a[a.Substitution=33554432]=\"Substitution\",a[a.NonPrimitive=67108864]=\"NonPrimitive\",a[a.TemplateLiteral=134217728]=\"TemplateLiteral\",a[a.StringMapping=268435456]=\"StringMapping\",a[a.AnyOrUnknown=3]=\"AnyOrUnknown\",a[a.Nullable=98304]=\"Nullable\",a[a.Literal=2944]=\"Literal\",a[a.Unit=109440]=\"Unit\",a[a.StringOrNumberLiteral=384]=\"StringOrNumberLiteral\",a[a.StringOrNumberLiteralOrUnique=8576]=\"StringOrNumberLiteralOrUnique\",a[a.DefinitelyFalsy=117632]=\"DefinitelyFalsy\",a[a.PossiblyFalsy=117724]=\"PossiblyFalsy\",a[a.Intrinsic=67359327]=\"Intrinsic\",a[a.Primitive=131068]=\"Primitive\",a[a.StringLike=402653316]=\"StringLike\",a[a.NumberLike=296]=\"NumberLike\",a[a.BigIntLike=2112]=\"BigIntLike\",a[a.BooleanLike=528]=\"BooleanLike\",a[a.EnumLike=1056]=\"EnumLike\",a[a.ESSymbolLike=12288]=\"ESSymbolLike\",a[a.VoidLike=49152]=\"VoidLike\",a[a.DisjointDomains=469892092]=\"DisjointDomains\",a[a.UnionOrIntersection=3145728]=\"UnionOrIntersection\",a[a.StructuredType=3670016]=\"StructuredType\",a[a.TypeVariable=8650752]=\"TypeVariable\",a[a.InstantiableNonPrimitive=58982400]=\"InstantiableNonPrimitive\",a[a.InstantiablePrimitive=406847488]=\"InstantiablePrimitive\",a[a.Instantiable=465829888]=\"Instantiable\",a[a.StructuredOrInstantiable=469499904]=\"StructuredOrInstantiable\",a[a.ObjectFlagsType=3899393]=\"ObjectFlagsType\",a[a.Simplifiable=25165824]=\"Simplifiable\",a[a.Singleton=67358815]=\"Singleton\",a[a.Narrowable=536624127]=\"Narrowable\",a[a.IncludesMask=205258751]=\"IncludesMask\",a[a.IncludesMissingType=262144]=\"IncludesMissingType\",a[a.IncludesNonWideningType=4194304]=\"IncludesNonWideningType\",a[a.IncludesWildcard=8388608]=\"IncludesWildcard\",a[a.IncludesEmptyObject=16777216]=\"IncludesEmptyObject\",a[a.IncludesInstantiable=33554432]=\"IncludesInstantiable\",a[a.NotPrimitiveUnion=36323363]=\"NotPrimitiveUnion\"}(e.TypeFlags||(e.TypeFlags={})),function(a){a[a.Class=1]=\"Class\",a[a.Interface=2]=\"Interface\",a[a.Reference=4]=\"Reference\",a[a.Tuple=8]=\"Tuple\",a[a.Anonymous=16]=\"Anonymous\",a[a.Mapped=32]=\"Mapped\",a[a.Instantiated=64]=\"Instantiated\",a[a.ObjectLiteral=128]=\"ObjectLiteral\",a[a.EvolvingArray=256]=\"EvolvingArray\",a[a.ObjectLiteralPatternWithComputedProperties=512]=\"ObjectLiteralPatternWithComputedProperties\",a[a.ReverseMapped=1024]=\"ReverseMapped\",a[a.JsxAttributes=2048]=\"JsxAttributes\",a[a.MarkerType=4096]=\"MarkerType\",a[a.JSLiteral=8192]=\"JSLiteral\",a[a.FreshLiteral=16384]=\"FreshLiteral\",a[a.ArrayLiteral=32768]=\"ArrayLiteral\",a[a.PrimitiveUnion=65536]=\"PrimitiveUnion\",a[a.ContainsWideningType=131072]=\"ContainsWideningType\",a[a.ContainsObjectOrArrayLiteral=262144]=\"ContainsObjectOrArrayLiteral\",a[a.NonInferrableType=524288]=\"NonInferrableType\",a[a.CouldContainTypeVariablesComputed=1048576]=\"CouldContainTypeVariablesComputed\",a[a.CouldContainTypeVariables=2097152]=\"CouldContainTypeVariables\",a[a.ClassOrInterface=3]=\"ClassOrInterface\",a[a.RequiresWidening=393216]=\"RequiresWidening\",a[a.PropagatingFlags=917504]=\"PropagatingFlags\",a[a.ObjectTypeKindMask=1343]=\"ObjectTypeKindMask\",a[a.ContainsSpread=4194304]=\"ContainsSpread\",a[a.ObjectRestType=8388608]=\"ObjectRestType\",a[a.IsClassInstanceClone=16777216]=\"IsClassInstanceClone\",a[a.IdenticalBaseTypeCalculated=33554432]=\"IdenticalBaseTypeCalculated\",a[a.IdenticalBaseTypeExists=67108864]=\"IdenticalBaseTypeExists\",a[a.IsGenericTypeComputed=4194304]=\"IsGenericTypeComputed\",a[a.IsGenericObjectType=8388608]=\"IsGenericObjectType\",a[a.IsGenericIndexType=16777216]=\"IsGenericIndexType\",a[a.IsGenericType=25165824]=\"IsGenericType\",a[a.ContainsIntersections=33554432]=\"ContainsIntersections\",a[a.IsNeverIntersectionComputed=33554432]=\"IsNeverIntersectionComputed\",a[a.IsNeverIntersection=67108864]=\"IsNeverIntersection\"}(e.ObjectFlags||(e.ObjectFlags={})),function(a){a[a.Invariant=0]=\"Invariant\",a[a.Covariant=1]=\"Covariant\",a[a.Contravariant=2]=\"Contravariant\",a[a.Bivariant=3]=\"Bivariant\",a[a.Independent=4]=\"Independent\",a[a.VarianceMask=7]=\"VarianceMask\",a[a.Unmeasurable=8]=\"Unmeasurable\",a[a.Unreliable=16]=\"Unreliable\",a[a.AllowsStructuralFallback=24]=\"AllowsStructuralFallback\"}(e.VarianceFlags||(e.VarianceFlags={})),function(a){a[a.Required=1]=\"Required\",a[a.Optional=2]=\"Optional\",a[a.Rest=4]=\"Rest\",a[a.Variadic=8]=\"Variadic\",a[a.Fixed=3]=\"Fixed\",a[a.Variable=12]=\"Variable\",a[a.NonRequired=14]=\"NonRequired\",a[a.NonRest=11]=\"NonRest\"}(e.ElementFlags||(e.ElementFlags={})),function(a){a[a.None=0]=\"None\",a[a.IncludeUndefined=1]=\"IncludeUndefined\",a[a.NoIndexSignatures=2]=\"NoIndexSignatures\",a[a.Writing=4]=\"Writing\",a[a.CacheSymbol=8]=\"CacheSymbol\",a[a.NoTupleBoundsCheck=16]=\"NoTupleBoundsCheck\",a[a.ExpressionPosition=32]=\"ExpressionPosition\",a[a.ReportDeprecated=64]=\"ReportDeprecated\",a[a.SuppressNoImplicitAnyError=128]=\"SuppressNoImplicitAnyError\",a[a.Contextual=256]=\"Contextual\",a[a.Persistent=1]=\"Persistent\"}(e.AccessFlags||(e.AccessFlags={})),function(a){a[a.Component=0]=\"Component\",a[a.Function=1]=\"Function\",a[a.Mixed=2]=\"Mixed\"}(e.JsxReferenceKind||(e.JsxReferenceKind={})),function(a){a[a.Call=0]=\"Call\",a[a.Construct=1]=\"Construct\"}(e.SignatureKind||(e.SignatureKind={})),function(a){a[a.None=0]=\"None\",a[a.HasRestParameter=1]=\"HasRestParameter\",a[a.HasLiteralTypes=2]=\"HasLiteralTypes\",a[a.Abstract=4]=\"Abstract\",a[a.IsInnerCallChain=8]=\"IsInnerCallChain\",a[a.IsOuterCallChain=16]=\"IsOuterCallChain\",a[a.IsUntypedSignatureInJSFile=32]=\"IsUntypedSignatureInJSFile\",a[a.PropagatingFlags=39]=\"PropagatingFlags\",a[a.CallChainFlags=24]=\"CallChainFlags\"}(e.SignatureFlags||(e.SignatureFlags={})),function(a){a[a.String=0]=\"String\",a[a.Number=1]=\"Number\"}(e.IndexKind||(e.IndexKind={})),function(a){a[a.Simple=0]=\"Simple\",a[a.Array=1]=\"Array\",a[a.Function=2]=\"Function\",a[a.Composite=3]=\"Composite\",a[a.Merged=4]=\"Merged\"}(e.TypeMapKind||(e.TypeMapKind={})),function(a){a[a.NakedTypeVariable=1]=\"NakedTypeVariable\",a[a.SpeculativeTuple=2]=\"SpeculativeTuple\",a[a.SubstituteSource=4]=\"SubstituteSource\",a[a.HomomorphicMappedType=8]=\"HomomorphicMappedType\",a[a.PartialHomomorphicMappedType=16]=\"PartialHomomorphicMappedType\",a[a.MappedTypeConstraint=32]=\"MappedTypeConstraint\",a[a.ContravariantConditional=64]=\"ContravariantConditional\",a[a.ReturnType=128]=\"ReturnType\",a[a.LiteralKeyof=256]=\"LiteralKeyof\",a[a.NoConstraints=512]=\"NoConstraints\",a[a.AlwaysStrict=1024]=\"AlwaysStrict\",a[a.MaxValue=2048]=\"MaxValue\",a[a.PriorityImpliesCombination=416]=\"PriorityImpliesCombination\",a[a.Circularity=-1]=\"Circularity\"}(e.InferencePriority||(e.InferencePriority={})),function(a){a[a.None=0]=\"None\",a[a.NoDefault=1]=\"NoDefault\",a[a.AnyDefault=2]=\"AnyDefault\",a[a.SkippedGenericFunction=4]=\"SkippedGenericFunction\"}(e.InferenceFlags||(e.InferenceFlags={})),function(a){a[a.False=0]=\"False\",a[a.Unknown=1]=\"Unknown\",a[a.Maybe=3]=\"Maybe\",a[a.True=-1]=\"True\"}(e.Ternary||(e.Ternary={})),function(a){a[a.None=0]=\"None\",a[a.ExportsProperty=1]=\"ExportsProperty\",a[a.ModuleExports=2]=\"ModuleExports\",a[a.PrototypeProperty=3]=\"PrototypeProperty\",a[a.ThisProperty=4]=\"ThisProperty\",a[a.Property=5]=\"Property\",a[a.Prototype=6]=\"Prototype\",a[a.ObjectDefinePropertyValue=7]=\"ObjectDefinePropertyValue\",a[a.ObjectDefinePropertyExports=8]=\"ObjectDefinePropertyExports\",a[a.ObjectDefinePrototypeProperty=9]=\"ObjectDefinePrototypeProperty\"}(e.AssignmentDeclarationKind||(e.AssignmentDeclarationKind={}));var f;(function(a){a[a.Warning=0]=\"Warning\",a[a.Error=1]=\"Error\",a[a.Suggestion=2]=\"Suggestion\",a[a.Message=3]=\"Message\"})(f=e.DiagnosticCategory||(e.DiagnosticCategory={}));function p(a,d){d===void 0&&(d=!0);var k=f[a.category];return d?k.toLowerCase():k}e.diagnosticCategoryName=p,function(a){a[a.Classic=1]=\"Classic\",a[a.NodeJs=2]=\"NodeJs\",a[a.Node12=3]=\"Node12\",a[a.NodeNext=99]=\"NodeNext\"}(e.ModuleResolutionKind||(e.ModuleResolutionKind={})),function(a){a[a.FixedPollingInterval=0]=\"FixedPollingInterval\",a[a.PriorityPollingInterval=1]=\"PriorityPollingInterval\",a[a.DynamicPriorityPolling=2]=\"DynamicPriorityPolling\",a[a.FixedChunkSizePolling=3]=\"FixedChunkSizePolling\",a[a.UseFsEvents=4]=\"UseFsEvents\",a[a.UseFsEventsOnParentDirectory=5]=\"UseFsEventsOnParentDirectory\"}(e.WatchFileKind||(e.WatchFileKind={})),function(a){a[a.UseFsEvents=0]=\"UseFsEvents\",a[a.FixedPollingInterval=1]=\"FixedPollingInterval\",a[a.DynamicPriorityPolling=2]=\"DynamicPriorityPolling\",a[a.FixedChunkSizePolling=3]=\"FixedChunkSizePolling\"}(e.WatchDirectoryKind||(e.WatchDirectoryKind={})),function(a){a[a.FixedInterval=0]=\"FixedInterval\",a[a.PriorityInterval=1]=\"PriorityInterval\",a[a.DynamicPriority=2]=\"DynamicPriority\",a[a.FixedChunkSize=3]=\"FixedChunkSize\"}(e.PollingWatchKind||(e.PollingWatchKind={})),function(a){a[a.None=0]=\"None\",a[a.CommonJS=1]=\"CommonJS\",a[a.AMD=2]=\"AMD\",a[a.UMD=3]=\"UMD\",a[a.System=4]=\"System\",a[a.ES2015=5]=\"ES2015\",a[a.ES2020=6]=\"ES2020\",a[a.ES2022=7]=\"ES2022\",a[a.ESNext=99]=\"ESNext\",a[a.Node12=100]=\"Node12\",a[a.NodeNext=199]=\"NodeNext\"}(e.ModuleKind||(e.ModuleKind={})),function(a){a[a.None=0]=\"None\",a[a.Preserve=1]=\"Preserve\",a[a.React=2]=\"React\",a[a.ReactNative=3]=\"ReactNative\",a[a.ReactJSX=4]=\"ReactJSX\",a[a.ReactJSXDev=5]=\"ReactJSXDev\"}(e.JsxEmit||(e.JsxEmit={})),function(a){a[a.Remove=0]=\"Remove\",a[a.Preserve=1]=\"Preserve\",a[a.Error=2]=\"Error\"}(e.ImportsNotUsedAsValues||(e.ImportsNotUsedAsValues={})),function(a){a[a.CarriageReturnLineFeed=0]=\"CarriageReturnLineFeed\",a[a.LineFeed=1]=\"LineFeed\"}(e.NewLineKind||(e.NewLineKind={})),function(a){a[a.Unknown=0]=\"Unknown\",a[a.JS=1]=\"JS\",a[a.JSX=2]=\"JSX\",a[a.TS=3]=\"TS\",a[a.TSX=4]=\"TSX\",a[a.External=5]=\"External\",a[a.JSON=6]=\"JSON\",a[a.Deferred=7]=\"Deferred\"}(e.ScriptKind||(e.ScriptKind={})),function(a){a[a.ES3=0]=\"ES3\",a[a.ES5=1]=\"ES5\",a[a.ES2015=2]=\"ES2015\",a[a.ES2016=3]=\"ES2016\",a[a.ES2017=4]=\"ES2017\",a[a.ES2018=5]=\"ES2018\",a[a.ES2019=6]=\"ES2019\",a[a.ES2020=7]=\"ES2020\",a[a.ES2021=8]=\"ES2021\",a[a.ESNext=99]=\"ESNext\",a[a.JSON=100]=\"JSON\",a[a.Latest=99]=\"Latest\"}(e.ScriptTarget||(e.ScriptTarget={})),function(a){a[a.Standard=0]=\"Standard\",a[a.JSX=1]=\"JSX\"}(e.LanguageVariant||(e.LanguageVariant={})),function(a){a[a.None=0]=\"None\",a[a.Recursive=1]=\"Recursive\"}(e.WatchDirectoryFlags||(e.WatchDirectoryFlags={})),function(a){a[a.nullCharacter=0]=\"nullCharacter\",a[a.maxAsciiCharacter=127]=\"maxAsciiCharacter\",a[a.lineFeed=10]=\"lineFeed\",a[a.carriageReturn=13]=\"carriageReturn\",a[a.lineSeparator=8232]=\"lineSeparator\",a[a.paragraphSeparator=8233]=\"paragraphSeparator\",a[a.nextLine=133]=\"nextLine\",a[a.space=32]=\"space\",a[a.nonBreakingSpace=160]=\"nonBreakingSpace\",a[a.enQuad=8192]=\"enQuad\",a[a.emQuad=8193]=\"emQuad\",a[a.enSpace=8194]=\"enSpace\",a[a.emSpace=8195]=\"emSpace\",a[a.threePerEmSpace=8196]=\"threePerEmSpace\",a[a.fourPerEmSpace=8197]=\"fourPerEmSpace\",a[a.sixPerEmSpace=8198]=\"sixPerEmSpace\",a[a.figureSpace=8199]=\"figureSpace\",a[a.punctuationSpace=8200]=\"punctuationSpace\",a[a.thinSpace=8201]=\"thinSpace\",a[a.hairSpace=8202]=\"hairSpace\",a[a.zeroWidthSpace=8203]=\"zeroWidthSpace\",a[a.narrowNoBreakSpace=8239]=\"narrowNoBreakSpace\",a[a.ideographicSpace=12288]=\"ideographicSpace\",a[a.mathematicalSpace=8287]=\"mathematicalSpace\",a[a.ogham=5760]=\"ogham\",a[a._=95]=\"_\",a[a.$=36]=\"$\",a[a._0=48]=\"_0\",a[a._1=49]=\"_1\",a[a._2=50]=\"_2\",a[a._3=51]=\"_3\",a[a._4=52]=\"_4\",a[a._5=53]=\"_5\",a[a._6=54]=\"_6\",a[a._7=55]=\"_7\",a[a._8=56]=\"_8\",a[a._9=57]=\"_9\",a[a.a=97]=\"a\",a[a.b=98]=\"b\",a[a.c=99]=\"c\",a[a.d=100]=\"d\",a[a.e=101]=\"e\",a[a.f=102]=\"f\",a[a.g=103]=\"g\",a[a.h=104]=\"h\",a[a.i=105]=\"i\",a[a.j=106]=\"j\",a[a.k=107]=\"k\",a[a.l=108]=\"l\",a[a.m=109]=\"m\",a[a.n=110]=\"n\",a[a.o=111]=\"o\",a[a.p=112]=\"p\",a[a.q=113]=\"q\",a[a.r=114]=\"r\",a[a.s=115]=\"s\",a[a.t=116]=\"t\",a[a.u=117]=\"u\",a[a.v=118]=\"v\",a[a.w=119]=\"w\",a[a.x=120]=\"x\",a[a.y=121]=\"y\",a[a.z=122]=\"z\",a[a.A=65]=\"A\",a[a.B=66]=\"B\",a[a.C=67]=\"C\",a[a.D=68]=\"D\",a[a.E=69]=\"E\",a[a.F=70]=\"F\",a[a.G=71]=\"G\",a[a.H=72]=\"H\",a[a.I=73]=\"I\",a[a.J=74]=\"J\",a[a.K=75]=\"K\",a[a.L=76]=\"L\",a[a.M=77]=\"M\",a[a.N=78]=\"N\",a[a.O=79]=\"O\",a[a.P=80]=\"P\",a[a.Q=81]=\"Q\",a[a.R=82]=\"R\",a[a.S=83]=\"S\",a[a.T=84]=\"T\",a[a.U=85]=\"U\",a[a.V=86]=\"V\",a[a.W=87]=\"W\",a[a.X=88]=\"X\",a[a.Y=89]=\"Y\",a[a.Z=90]=\"Z\",a[a.ampersand=38]=\"ampersand\",a[a.asterisk=42]=\"asterisk\",a[a.at=64]=\"at\",a[a.backslash=92]=\"backslash\",a[a.backtick=96]=\"backtick\",a[a.bar=124]=\"bar\",a[a.caret=94]=\"caret\",a[a.closeBrace=125]=\"closeBrace\",a[a.closeBracket=93]=\"closeBracket\",a[a.closeParen=41]=\"closeParen\",a[a.colon=58]=\"colon\",a[a.comma=44]=\"comma\",a[a.dot=46]=\"dot\",a[a.doubleQuote=34]=\"doubleQuote\",a[a.equals=61]=\"equals\",a[a.exclamation=33]=\"exclamation\",a[a.greaterThan=62]=\"greaterThan\",a[a.hash=35]=\"hash\",a[a.lessThan=60]=\"lessThan\",a[a.minus=45]=\"minus\",a[a.openBrace=123]=\"openBrace\",a[a.openBracket=91]=\"openBracket\",a[a.openParen=40]=\"openParen\",a[a.percent=37]=\"percent\",a[a.plus=43]=\"plus\",a[a.question=63]=\"question\",a[a.semicolon=59]=\"semicolon\",a[a.singleQuote=39]=\"singleQuote\",a[a.slash=47]=\"slash\",a[a.tilde=126]=\"tilde\",a[a.backspace=8]=\"backspace\",a[a.formFeed=12]=\"formFeed\",a[a.byteOrderMark=65279]=\"byteOrderMark\",a[a.tab=9]=\"tab\",a[a.verticalTab=11]=\"verticalTab\"}(e.CharacterCodes||(e.CharacterCodes={})),function(a){a.Ts=\".ts\",a.Tsx=\".tsx\",a.Dts=\".d.ts\",a.Js=\".js\",a.Jsx=\".jsx\",a.Json=\".json\",a.TsBuildInfo=\".tsbuildinfo\",a.Mjs=\".mjs\",a.Mts=\".mts\",a.Dmts=\".d.mts\",a.Cjs=\".cjs\",a.Cts=\".cts\",a.Dcts=\".d.cts\"}(e.Extension||(e.Extension={})),function(a){a[a.None=0]=\"None\",a[a.ContainsTypeScript=1]=\"ContainsTypeScript\",a[a.ContainsJsx=2]=\"ContainsJsx\",a[a.ContainsESNext=4]=\"ContainsESNext\",a[a.ContainsES2021=8]=\"ContainsES2021\",a[a.ContainsES2020=16]=\"ContainsES2020\",a[a.ContainsES2019=32]=\"ContainsES2019\",a[a.ContainsES2018=64]=\"ContainsES2018\",a[a.ContainsES2017=128]=\"ContainsES2017\",a[a.ContainsES2016=256]=\"ContainsES2016\",a[a.ContainsES2015=512]=\"ContainsES2015\",a[a.ContainsGenerator=1024]=\"ContainsGenerator\",a[a.ContainsDestructuringAssignment=2048]=\"ContainsDestructuringAssignment\",a[a.ContainsTypeScriptClassSyntax=4096]=\"ContainsTypeScriptClassSyntax\",a[a.ContainsLexicalThis=8192]=\"ContainsLexicalThis\",a[a.ContainsRestOrSpread=16384]=\"ContainsRestOrSpread\",a[a.ContainsObjectRestOrSpread=32768]=\"ContainsObjectRestOrSpread\",a[a.ContainsComputedPropertyName=65536]=\"ContainsComputedPropertyName\",a[a.ContainsBlockScopedBinding=131072]=\"ContainsBlockScopedBinding\",a[a.ContainsBindingPattern=262144]=\"ContainsBindingPattern\",a[a.ContainsYield=524288]=\"ContainsYield\",a[a.ContainsAwait=1048576]=\"ContainsAwait\",a[a.ContainsHoistedDeclarationOrCompletion=2097152]=\"ContainsHoistedDeclarationOrCompletion\",a[a.ContainsDynamicImport=4194304]=\"ContainsDynamicImport\",a[a.ContainsClassFields=8388608]=\"ContainsClassFields\",a[a.ContainsPossibleTopLevelAwait=16777216]=\"ContainsPossibleTopLevelAwait\",a[a.ContainsLexicalSuper=33554432]=\"ContainsLexicalSuper\",a[a.ContainsUpdateExpressionForIdentifier=67108864]=\"ContainsUpdateExpressionForIdentifier\",a[a.HasComputedFlags=536870912]=\"HasComputedFlags\",a[a.AssertTypeScript=1]=\"AssertTypeScript\",a[a.AssertJsx=2]=\"AssertJsx\",a[a.AssertESNext=4]=\"AssertESNext\",a[a.AssertES2021=8]=\"AssertES2021\",a[a.AssertES2020=16]=\"AssertES2020\",a[a.AssertES2019=32]=\"AssertES2019\",a[a.AssertES2018=64]=\"AssertES2018\",a[a.AssertES2017=128]=\"AssertES2017\",a[a.AssertES2016=256]=\"AssertES2016\",a[a.AssertES2015=512]=\"AssertES2015\",a[a.AssertGenerator=1024]=\"AssertGenerator\",a[a.AssertDestructuringAssignment=2048]=\"AssertDestructuringAssignment\",a[a.OuterExpressionExcludes=536870912]=\"OuterExpressionExcludes\",a[a.PropertyAccessExcludes=536870912]=\"PropertyAccessExcludes\",a[a.NodeExcludes=536870912]=\"NodeExcludes\",a[a.ArrowFunctionExcludes=557748224]=\"ArrowFunctionExcludes\",a[a.FunctionExcludes=591310848]=\"FunctionExcludes\",a[a.ConstructorExcludes=591306752]=\"ConstructorExcludes\",a[a.MethodOrAccessorExcludes=574529536]=\"MethodOrAccessorExcludes\",a[a.PropertyExcludes=570433536]=\"PropertyExcludes\",a[a.ClassExcludes=536940544]=\"ClassExcludes\",a[a.ModuleExcludes=589443072]=\"ModuleExcludes\",a[a.TypeExcludes=-2]=\"TypeExcludes\",a[a.ObjectLiteralExcludes=536973312]=\"ObjectLiteralExcludes\",a[a.ArrayLiteralOrCallOrNewExcludes=536887296]=\"ArrayLiteralOrCallOrNewExcludes\",a[a.VariableDeclarationListExcludes=537165824]=\"VariableDeclarationListExcludes\",a[a.ParameterExcludes=536870912]=\"ParameterExcludes\",a[a.CatchClauseExcludes=536903680]=\"CatchClauseExcludes\",a[a.BindingPatternExcludes=536887296]=\"BindingPatternExcludes\",a[a.ContainsLexicalThisOrSuper=33562624]=\"ContainsLexicalThisOrSuper\",a[a.PropertyNamePropagatingFlags=33562624]=\"PropertyNamePropagatingFlags\"}(e.TransformFlags||(e.TransformFlags={})),function(a){a[a.TabStop=0]=\"TabStop\",a[a.Placeholder=1]=\"Placeholder\",a[a.Choice=2]=\"Choice\",a[a.Variable=3]=\"Variable\"}(e.SnippetKind||(e.SnippetKind={})),function(a){a[a.None=0]=\"None\",a[a.SingleLine=1]=\"SingleLine\",a[a.AdviseOnEmitNode=2]=\"AdviseOnEmitNode\",a[a.NoSubstitution=4]=\"NoSubstitution\",a[a.CapturesThis=8]=\"CapturesThis\",a[a.NoLeadingSourceMap=16]=\"NoLeadingSourceMap\",a[a.NoTrailingSourceMap=32]=\"NoTrailingSourceMap\",a[a.NoSourceMap=48]=\"NoSourceMap\",a[a.NoNestedSourceMaps=64]=\"NoNestedSourceMaps\",a[a.NoTokenLeadingSourceMaps=128]=\"NoTokenLeadingSourceMaps\",a[a.NoTokenTrailingSourceMaps=256]=\"NoTokenTrailingSourceMaps\",a[a.NoTokenSourceMaps=384]=\"NoTokenSourceMaps\",a[a.NoLeadingComments=512]=\"NoLeadingComments\",a[a.NoTrailingComments=1024]=\"NoTrailingComments\",a[a.NoComments=1536]=\"NoComments\",a[a.NoNestedComments=2048]=\"NoNestedComments\",a[a.HelperName=4096]=\"HelperName\",a[a.ExportName=8192]=\"ExportName\",a[a.LocalName=16384]=\"LocalName\",a[a.InternalName=32768]=\"InternalName\",a[a.Indented=65536]=\"Indented\",a[a.NoIndentation=131072]=\"NoIndentation\",a[a.AsyncFunctionBody=262144]=\"AsyncFunctionBody\",a[a.ReuseTempVariableScope=524288]=\"ReuseTempVariableScope\",a[a.CustomPrologue=1048576]=\"CustomPrologue\",a[a.NoHoisting=2097152]=\"NoHoisting\",a[a.HasEndOfDeclarationMarker=4194304]=\"HasEndOfDeclarationMarker\",a[a.Iterator=8388608]=\"Iterator\",a[a.NoAsciiEscaping=16777216]=\"NoAsciiEscaping\",a[a.TypeScriptClassWrapper=33554432]=\"TypeScriptClassWrapper\",a[a.NeverApplyImportHelper=67108864]=\"NeverApplyImportHelper\",a[a.IgnoreSourceNewlines=134217728]=\"IgnoreSourceNewlines\",a[a.Immutable=268435456]=\"Immutable\",a[a.IndirectCall=536870912]=\"IndirectCall\"}(e.EmitFlags||(e.EmitFlags={})),function(a){a[a.Extends=1]=\"Extends\",a[a.Assign=2]=\"Assign\",a[a.Rest=4]=\"Rest\",a[a.Decorate=8]=\"Decorate\",a[a.Metadata=16]=\"Metadata\",a[a.Param=32]=\"Param\",a[a.Awaiter=64]=\"Awaiter\",a[a.Generator=128]=\"Generator\",a[a.Values=256]=\"Values\",a[a.Read=512]=\"Read\",a[a.SpreadArray=1024]=\"SpreadArray\",a[a.Await=2048]=\"Await\",a[a.AsyncGenerator=4096]=\"AsyncGenerator\",a[a.AsyncDelegator=8192]=\"AsyncDelegator\",a[a.AsyncValues=16384]=\"AsyncValues\",a[a.ExportStar=32768]=\"ExportStar\",a[a.ImportStar=65536]=\"ImportStar\",a[a.ImportDefault=131072]=\"ImportDefault\",a[a.MakeTemplateObject=262144]=\"MakeTemplateObject\",a[a.ClassPrivateFieldGet=524288]=\"ClassPrivateFieldGet\",a[a.ClassPrivateFieldSet=1048576]=\"ClassPrivateFieldSet\",a[a.ClassPrivateFieldIn=2097152]=\"ClassPrivateFieldIn\",a[a.CreateBinding=4194304]=\"CreateBinding\",a[a.FirstEmitHelper=1]=\"FirstEmitHelper\",a[a.LastEmitHelper=4194304]=\"LastEmitHelper\",a[a.ForOfIncludes=256]=\"ForOfIncludes\",a[a.ForAwaitOfIncludes=16384]=\"ForAwaitOfIncludes\",a[a.AsyncGeneratorIncludes=6144]=\"AsyncGeneratorIncludes\",a[a.AsyncDelegatorIncludes=26624]=\"AsyncDelegatorIncludes\",a[a.SpreadIncludes=1536]=\"SpreadIncludes\"}(e.ExternalEmitHelpers||(e.ExternalEmitHelpers={})),function(a){a[a.SourceFile=0]=\"SourceFile\",a[a.Expression=1]=\"Expression\",a[a.IdentifierName=2]=\"IdentifierName\",a[a.MappedTypeParameter=3]=\"MappedTypeParameter\",a[a.Unspecified=4]=\"Unspecified\",a[a.EmbeddedStatement=5]=\"EmbeddedStatement\",a[a.JsxAttributeValue=6]=\"JsxAttributeValue\"}(e.EmitHint||(e.EmitHint={})),function(a){a[a.Parentheses=1]=\"Parentheses\",a[a.TypeAssertions=2]=\"TypeAssertions\",a[a.NonNullAssertions=4]=\"NonNullAssertions\",a[a.PartiallyEmittedExpressions=8]=\"PartiallyEmittedExpressions\",a[a.Assertions=6]=\"Assertions\",a[a.All=15]=\"All\",a[a.ExcludeJSDocTypeAssertion=16]=\"ExcludeJSDocTypeAssertion\"}(e.OuterExpressionKinds||(e.OuterExpressionKinds={})),function(a){a[a.None=0]=\"None\",a[a.InParameters=1]=\"InParameters\",a[a.VariablesHoistedInParameters=2]=\"VariablesHoistedInParameters\"}(e.LexicalEnvironmentFlags||(e.LexicalEnvironmentFlags={})),function(a){a.Prologue=\"prologue\",a.EmitHelpers=\"emitHelpers\",a.NoDefaultLib=\"no-default-lib\",a.Reference=\"reference\",a.Type=\"type\",a.Lib=\"lib\",a.Prepend=\"prepend\",a.Text=\"text\",a.Internal=\"internal\"}(e.BundleFileSectionKind||(e.BundleFileSectionKind={})),function(a){a[a.None=0]=\"None\",a[a.SingleLine=0]=\"SingleLine\",a[a.MultiLine=1]=\"MultiLine\",a[a.PreserveLines=2]=\"PreserveLines\",a[a.LinesMask=3]=\"LinesMask\",a[a.NotDelimited=0]=\"NotDelimited\",a[a.BarDelimited=4]=\"BarDelimited\",a[a.AmpersandDelimited=8]=\"AmpersandDelimited\",a[a.CommaDelimited=16]=\"CommaDelimited\",a[a.AsteriskDelimited=32]=\"AsteriskDelimited\",a[a.DelimitersMask=60]=\"DelimitersMask\",a[a.AllowTrailingComma=64]=\"AllowTrailingComma\",a[a.Indented=128]=\"Indented\",a[a.SpaceBetweenBraces=256]=\"SpaceBetweenBraces\",a[a.SpaceBetweenSiblings=512]=\"SpaceBetweenSiblings\",a[a.Braces=1024]=\"Braces\",a[a.Parenthesis=2048]=\"Parenthesis\",a[a.AngleBrackets=4096]=\"AngleBrackets\",a[a.SquareBrackets=8192]=\"SquareBrackets\",a[a.BracketsMask=15360]=\"BracketsMask\",a[a.OptionalIfUndefined=16384]=\"OptionalIfUndefined\",a[a.OptionalIfEmpty=32768]=\"OptionalIfEmpty\",a[a.Optional=49152]=\"Optional\",a[a.PreferNewLine=65536]=\"PreferNewLine\",a[a.NoTrailingNewLine=131072]=\"NoTrailingNewLine\",a[a.NoInterveningComments=262144]=\"NoInterveningComments\",a[a.NoSpaceIfEmpty=524288]=\"NoSpaceIfEmpty\",a[a.SingleElement=1048576]=\"SingleElement\",a[a.SpaceAfterList=2097152]=\"SpaceAfterList\",a[a.Modifiers=262656]=\"Modifiers\",a[a.HeritageClauses=512]=\"HeritageClauses\",a[a.SingleLineTypeLiteralMembers=768]=\"SingleLineTypeLiteralMembers\",a[a.MultiLineTypeLiteralMembers=32897]=\"MultiLineTypeLiteralMembers\",a[a.SingleLineTupleTypeElements=528]=\"SingleLineTupleTypeElements\",a[a.MultiLineTupleTypeElements=657]=\"MultiLineTupleTypeElements\",a[a.UnionTypeConstituents=516]=\"UnionTypeConstituents\",a[a.IntersectionTypeConstituents=520]=\"IntersectionTypeConstituents\",a[a.ObjectBindingPatternElements=525136]=\"ObjectBindingPatternElements\",a[a.ArrayBindingPatternElements=524880]=\"ArrayBindingPatternElements\",a[a.ObjectLiteralExpressionProperties=526226]=\"ObjectLiteralExpressionProperties\",a[a.ImportClauseEntries=526226]=\"ImportClauseEntries\",a[a.ArrayLiteralExpressionElements=8914]=\"ArrayLiteralExpressionElements\",a[a.CommaListElements=528]=\"CommaListElements\",a[a.CallExpressionArguments=2576]=\"CallExpressionArguments\",a[a.NewExpressionArguments=18960]=\"NewExpressionArguments\",a[a.TemplateExpressionSpans=262144]=\"TemplateExpressionSpans\",a[a.SingleLineBlockStatements=768]=\"SingleLineBlockStatements\",a[a.MultiLineBlockStatements=129]=\"MultiLineBlockStatements\",a[a.VariableDeclarationList=528]=\"VariableDeclarationList\",a[a.SingleLineFunctionBodyStatements=768]=\"SingleLineFunctionBodyStatements\",a[a.MultiLineFunctionBodyStatements=1]=\"MultiLineFunctionBodyStatements\",a[a.ClassHeritageClauses=0]=\"ClassHeritageClauses\",a[a.ClassMembers=129]=\"ClassMembers\",a[a.InterfaceMembers=129]=\"InterfaceMembers\",a[a.EnumMembers=145]=\"EnumMembers\",a[a.CaseBlockClauses=129]=\"CaseBlockClauses\",a[a.NamedImportsOrExportsElements=525136]=\"NamedImportsOrExportsElements\",a[a.JsxElementOrFragmentChildren=262144]=\"JsxElementOrFragmentChildren\",a[a.JsxElementAttributes=262656]=\"JsxElementAttributes\",a[a.CaseOrDefaultClauseStatements=163969]=\"CaseOrDefaultClauseStatements\",a[a.HeritageClauseTypes=528]=\"HeritageClauseTypes\",a[a.SourceFileStatements=131073]=\"SourceFileStatements\",a[a.Decorators=2146305]=\"Decorators\",a[a.TypeArguments=53776]=\"TypeArguments\",a[a.TypeParameters=53776]=\"TypeParameters\",a[a.Parameters=2576]=\"Parameters\",a[a.IndexSignatureParameters=8848]=\"IndexSignatureParameters\",a[a.JSDocComment=33]=\"JSDocComment\"}(e.ListFormat||(e.ListFormat={})),function(a){a[a.None=0]=\"None\",a[a.TripleSlashXML=1]=\"TripleSlashXML\",a[a.SingleLine=2]=\"SingleLine\",a[a.MultiLine=4]=\"MultiLine\",a[a.All=7]=\"All\",a[a.Default=7]=\"Default\"}(e.PragmaKindFlags||(e.PragmaKindFlags={})),e.commentPragmas={reference:{args:[{name:\"types\",optional:!0,captureSpan:!0},{name:\"lib\",optional:!0,captureSpan:!0},{name:\"path\",optional:!0,captureSpan:!0},{name:\"no-default-lib\",optional:!0}],kind:1},\"amd-dependency\":{args:[{name:\"path\"},{name:\"name\",optional:!0}],kind:1},\"amd-module\":{args:[{name:\"name\"}],kind:1},\"ts-check\":{kind:2},\"ts-nocheck\":{kind:2},jsx:{args:[{name:\"factory\"}],kind:4},jsxfrag:{args:[{name:\"factory\"}],kind:4},jsximportsource:{args:[{name:\"factory\"}],kind:4},jsxruntime:{args:[{name:\"factory\"}],kind:4}}}(jr||(jr={})),function(e){e.directorySeparator=\"/\",e.altDirectorySeparator=\"\\\\\";var n=\"://\",f=/\\\\/g;function p(ve){return ve===47||ve===92}e.isAnyDirectorySeparator=p;function a(ve){return B(ve)<0}e.isUrl=a;function d(ve){return B(ve)>0}e.isRootedDiskPath=d;function k(ve){var Ve=B(ve);return Ve>0&&Ve===ve.length}e.isDiskPathRoot=k;function J(ve){return B(ve)!==0}e.pathIsAbsolute=J;function h(ve){return/^\\.\\.?($|[\\\\/])/.test(ve)}e.pathIsRelative=h;function v(ve){return!J(ve)&&!h(ve)}e.pathIsBareSpecifier=v;function A(ve){return e.stringContains(w(ve),\".\")}e.hasExtension=A;function z(ve,Ve){return ve.length>Ve.length&&e.endsWith(ve,Ve)}e.fileExtensionIs=z;function ie(ve,Ve){for(var _e=0,Le=Ve;_e<Le.length;_e++){var qe=Le[_e];if(z(ve,qe))return!0}return!1}e.fileExtensionIsOneOf=ie;function b(ve){return ve.length>0&&p(ve.charCodeAt(ve.length-1))}e.hasTrailingDirectorySeparator=b;function M(ve){return ve>=97&&ve<=122||ve>=65&&ve<=90}function S(ve,Ve){var _e=ve.charCodeAt(Ve);if(_e===58)return Ve+1;if(_e===37&&ve.charCodeAt(Ve+1)===51){var Le=ve.charCodeAt(Ve+2);if(Le===97||Le===65)return Ve+3}return-1}function B(ve){if(!ve)return 0;var Ve=ve.charCodeAt(0);if(Ve===47||Ve===92){if(ve.charCodeAt(1)!==Ve)return 1;var _e=ve.indexOf(Ve===47?e.directorySeparator:e.altDirectorySeparator,2);return _e<0?ve.length:_e+1}if(M(Ve)&&ve.charCodeAt(1)===58){var Le=ve.charCodeAt(2);if(Le===47||Le===92)return 3;if(ve.length===2)return 2}var qe=ve.indexOf(n);if(qe!==-1){var Xe=qe+n.length,De=ve.indexOf(e.directorySeparator,Xe);if(De!==-1){var Ae=ve.slice(0,qe),Ye=ve.slice(Xe,De);if(Ae===\"file\"&&(Ye===\"\"||Ye===\"localhost\")&&M(ve.charCodeAt(De+1))){var Dr=S(ve,De+2);if(Dr!==-1){if(ve.charCodeAt(Dr)===47)return~(Dr+1);if(Dr===ve.length)return~Dr}}return~(De+1)}return~ve.length}return 0}function H(ve){var Ve=B(ve);return Ve<0?~Ve:Ve}e.getRootLength=H;function I(ve){ve=Q(ve);var Ve=H(ve);return Ve===ve.length?ve:(ve=P(ve),ve.slice(0,Math.max(Ve,ve.lastIndexOf(e.directorySeparator))))}e.getDirectoryPath=I;function w(ve,Ve,_e){ve=Q(ve);var Le=H(ve);if(Le===ve.length)return\"\";ve=P(ve);var qe=ve.slice(Math.max(H(ve),ve.lastIndexOf(e.directorySeparator)+1)),Xe=Ve!==void 0&&_e!==void 0?q(qe,Ve,_e):void 0;return Xe?qe.slice(0,qe.length-Xe.length):qe}e.getBaseFileName=w;function x(ve,Ve,_e){if(e.startsWith(Ve,\".\")||(Ve=\".\"+Ve),ve.length>=Ve.length&&ve.charCodeAt(ve.length-Ve.length)===46){var Le=ve.slice(ve.length-Ve.length);if(_e(Le,Ve))return Le}}function O(ve,Ve,_e){if(typeof Ve==\"string\")return x(ve,Ve,_e)||\"\";for(var Le=0,qe=Ve;Le<qe.length;Le++){var Xe=qe[Le],De=x(ve,Xe,_e);if(De)return De}return\"\"}function q(ve,Ve,_e){if(Ve)return O(P(ve),Ve,_e?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive);var Le=w(ve),qe=Le.lastIndexOf(\".\");return qe>=0?Le.substring(qe):\"\"}e.getAnyExtensionFromPath=q;function Z(ve,Ve){var _e=ve.substring(0,Ve),Le=ve.substring(Ve).split(e.directorySeparator);return Le.length&&!e.lastOrUndefined(Le)&&Le.pop(),Gt([_e],Le,!0)}function ne(ve,Ve){return Ve===void 0&&(Ve=\"\"),ve=re(Ve,ve),Z(ve,H(ve))}e.getPathComponents=ne;function F(ve){if(ve.length===0)return\"\";var Ve=ve[0]&&te(ve[0]);return Ve+ve.slice(1).join(e.directorySeparator)}e.getPathFromPathComponents=F;function Q(ve){var Ve=ve.indexOf(\"\\\\\");return Ve===-1?ve:(f.lastIndex=Ve,ve.replace(f,e.directorySeparator))}e.normalizeSlashes=Q;function V(ve){if(!e.some(ve))return[];for(var Ve=[ve[0]],_e=1;_e<ve.length;_e++){var Le=ve[_e];if(!!Le&&Le!==\".\"){if(Le===\"..\"){if(Ve.length>1){if(Ve[Ve.length-1]!==\"..\"){Ve.pop();continue}}else if(Ve[0])continue}Ve.push(Le)}}return Ve}e.reducePathComponents=V;function re(ve){for(var Ve=[],_e=1;_e<arguments.length;_e++)Ve[_e-1]=arguments[_e];ve&&(ve=Q(ve));for(var Le=0,qe=Ve;Le<qe.length;Le++){var Xe=qe[Le];!Xe||(Xe=Q(Xe),!ve||H(Xe)!==0?ve=Xe:ve=te(ve)+Xe)}return ve}e.combinePaths=re;function T(ve){for(var Ve=[],_e=1;_e<arguments.length;_e++)Ve[_e-1]=arguments[_e];return D(e.some(Ve)?re.apply(void 0,Gt([ve],Ve,!1)):Q(ve))}e.resolvePath=T;function N(ve,Ve){return V(ne(ve,Ve))}e.getNormalizedPathComponents=N;function y(ve,Ve){return F(N(ve,Ve))}e.getNormalizedAbsolutePath=y;function D(ve){if(ve=Q(ve),!j.test(ve))return ve;var Ve=ve.replace(/\\/\\.\\//g,\"/\").replace(/^\\.\\//,\"\");if(Ve!==ve&&(ve=Ve,!j.test(ve)))return ve;var _e=F(V(ne(ve)));return _e&&b(ve)?te(_e):_e}e.normalizePath=D;function C(ve){return ve.length===0?\"\":ve.slice(1).join(e.directorySeparator)}function m(ve,Ve){return C(N(ve,Ve))}e.getNormalizedAbsolutePathWithoutRoot=m;function u(ve,Ve,_e){var Le=d(ve)?D(ve):y(ve,Ve);return _e(Le)}e.toPath=u;function g(ve){ve=Q(ve);var Ve=V(ne(ve)),_e=Ve[0],Le=Ve.slice(1);if(Le.length){var qe=_e+Le.join(e.directorySeparator);return{path:b(ve)?te(qe):qe,parts:Le}}else return{path:_e,parts:Le}}e.normalizePathAndParts=g;function P(ve){return b(ve)?ve.substr(0,ve.length-1):ve}e.removeTrailingDirectorySeparator=P;function te(ve){return b(ve)?ve:ve+e.directorySeparator}e.ensureTrailingDirectorySeparator=te;function ue(ve){return!J(ve)&&!h(ve)?\"./\"+ve:ve}e.ensurePathIsNonModuleName=ue;function X(ve,Ve,_e,Le){var qe=_e!==void 0&&Le!==void 0?q(ve,_e,Le):q(ve);return qe?ve.slice(0,ve.length-qe.length)+(e.startsWith(Ve,\".\")?Ve:\".\"+Ve):ve}e.changeAnyExtension=X;var j=/(?:\\/\\/)|(?:^|\\/)\\.\\.?(?:$|\\/)/;function Se(ve,Ve,_e){if(ve===Ve)return 0;if(ve===void 0)return-1;if(Ve===void 0)return 1;var Le=ve.substring(0,H(ve)),qe=Ve.substring(0,H(Ve)),Xe=e.compareStringsCaseInsensitive(Le,qe);if(Xe!==0)return Xe;var De=ve.substring(Le.length),Ae=Ve.substring(qe.length);if(!j.test(De)&&!j.test(Ae))return _e(De,Ae);for(var Ye=V(ne(ve)),Dr=V(ne(Ve)),br=Math.min(Ye.length,Dr.length),lr=1;lr<br;lr++){var Ar=_e(Ye[lr],Dr[lr]);if(Ar!==0)return Ar}return e.compareValues(Ye.length,Dr.length)}function Ce(ve,Ve){return Se(ve,Ve,e.compareStringsCaseSensitive)}e.comparePathsCaseSensitive=Ce;function R(ve,Ve){return Se(ve,Ve,e.compareStringsCaseInsensitive)}e.comparePathsCaseInsensitive=R;function Y(ve,Ve,_e,Le){return typeof _e==\"string\"?(ve=re(_e,ve),Ve=re(_e,Ve)):typeof _e==\"boolean\"&&(Le=_e),Se(ve,Ve,e.getStringComparer(Le))}e.comparePaths=Y;function U(ve,Ve,_e,Le){if(typeof _e==\"string\"?(ve=re(_e,ve),Ve=re(_e,Ve)):typeof _e==\"boolean\"&&(Le=_e),ve===void 0||Ve===void 0)return!1;if(ve===Ve)return!0;var qe=V(ne(ve)),Xe=V(ne(Ve));if(Xe.length<qe.length)return!1;for(var De=Le?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive,Ae=0;Ae<qe.length;Ae++){var Ye=Ae===0?e.equateStringsCaseInsensitive:De;if(!Ye(qe[Ae],Xe[Ae]))return!1}return!0}e.containsPath=U;function K(ve,Ve,_e){var Le=_e(ve),qe=_e(Ve);return e.startsWith(Le,qe+\"/\")||e.startsWith(Le,qe+\"\\\\\")}e.startsWithDirectory=K;function Te(ve,Ve,_e,Le){var qe=V(ne(ve)),Xe=V(ne(Ve)),De;for(De=0;De<qe.length&&De<Xe.length;De++){var Ae=Le(qe[De]),Ye=Le(Xe[De]),Dr=De===0?e.equateStringsCaseInsensitive:_e;if(!Dr(Ae,Ye))break}if(De===0)return Xe;for(var br=Xe.slice(De),lr=[];De<qe.length;De++)lr.push(\"..\");return Gt(Gt([\"\"],lr,!0),br,!0)}e.getPathComponentsRelativeTo=Te;function ge(ve,Ve,_e){e.Debug.assert(H(ve)>0==H(Ve)>0,\"Paths must either both be absolute or both be relative\");var Le=typeof _e==\"function\"?_e:e.identity,qe=typeof _e==\"boolean\"?_e:!1,Xe=Te(ve,Ve,qe?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive,Le);return F(Xe)}e.getRelativePathFromDirectory=ge;function ke(ve,Ve,_e){return d(ve)?Ie(Ve,ve,Ve,_e,!1):ve}e.convertToRelativePath=ke;function Pe(ve,Ve,_e){return ue(ge(I(ve),Ve,_e))}e.getRelativePathFromFile=Pe;function Ie(ve,Ve,_e,Le,qe){var Xe=Te(T(_e,ve),T(_e,Ve),e.equateStringsCaseSensitive,Le),De=Xe[0];if(qe&&d(De)){var Ae=De.charAt(0)===e.directorySeparator?\"file://\":\"file:///\";Xe[0]=Ae+De}return F(Xe)}e.getRelativePathToDirectoryOrUrl=Ie;function Ge(ve,Ve){for(;;){var _e=Ve(ve);if(_e!==void 0)return _e;var Le=I(ve);if(Le===ve)return;ve=Le}}e.forEachAncestorDirectory=Ge;function he(ve){return e.endsWith(ve,\"/node_modules\")}e.isNodeModulesDirectory=he}(jr||(jr={})),function(e){function n(V){for(var re=5381,T=0;T<V.length;T++)re=(re<<5)+re+V.charCodeAt(T);return re.toString()}e.generateDjb2Hash=n;function f(){Error.stackTraceLimit<100&&(Error.stackTraceLimit=100)}e.setStackTraceLimit=f;var p;(function(V){V[V.Created=0]=\"Created\",V[V.Changed=1]=\"Changed\",V[V.Deleted=2]=\"Deleted\"})(p=e.FileWatcherEventKind||(e.FileWatcherEventKind={}));var a;(function(V){V[V.High=2e3]=\"High\",V[V.Medium=500]=\"Medium\",V[V.Low=250]=\"Low\"})(a=e.PollingInterval||(e.PollingInterval={})),e.missingFileModifiedTime=new Date(0);function d(V,re){return V.getModifiedTime(re)||e.missingFileModifiedTime}e.getModifiedTime=d;function k(V){var re;return re={},re[a.Low]=V.Low,re[a.Medium]=V.Medium,re[a.High]=V.High,re}var J={Low:32,Medium:64,High:256},h=k(J);e.unchangedPollThresholds=k(J);function v(V){if(!V.getEnvironmentVariable)return;var re=y(\"TSC_WATCH_POLLINGINTERVAL\",a);h=D(\"TSC_WATCH_POLLINGCHUNKSIZE\",J)||h,e.unchangedPollThresholds=D(\"TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS\",J)||e.unchangedPollThresholds;function T(C,m){return V.getEnvironmentVariable(\"\".concat(C,\"_\").concat(m.toUpperCase()))}function N(C){var m;return u(\"Low\"),u(\"Medium\"),u(\"High\"),m;function u(g){var P=T(C,g);P&&((m||(m={}))[g]=Number(P))}}function y(C,m){var u=N(C);if(u)return g(\"Low\"),g(\"Medium\"),g(\"High\"),!0;return!1;function g(P){m[P]=u[P]||m[P]}}function D(C,m){var u=N(C);return(re||u)&&k(u?Rn(Rn({},m),u):m)}}e.setCustomPollingValues=v;function A(V,re,T,N,y){for(var D=T,C=re.length;N&&C;g(),C--){var m=re[T];if(m){if(m.isClosed){re[T]=void 0;continue}}else continue;N--;var u=S(m,d(V,m.fileName));if(m.isClosed){re[T]=void 0;continue}y==null||y(m,T,u),re[T]&&(D<T&&(re[D]=m,re[T]=void 0),D++)}return T;function g(){T++,T===re.length&&(D<T&&(re.length=D),T=0,D=0)}}function z(V){var re=[],T=[],N=m(a.Low),y=m(a.Medium),D=m(a.High);return C;function C(Ce,R,Y){var U={fileName:Ce,callback:R,unchangedPolls:0,mtime:d(V,Ce)};return re.push(U),ue(U,Y),{close:function(){U.isClosed=!0,e.unorderedRemoveItem(re,U)}}}function m(Ce){var R=[];return R.pollingInterval=Ce,R.pollIndex=0,R.pollScheduled=!1,R}function u(Ce){Ce.pollIndex=P(Ce,Ce.pollingInterval,Ce.pollIndex,h[Ce.pollingInterval]),Ce.length?Se(Ce.pollingInterval):(e.Debug.assert(Ce.pollIndex===0),Ce.pollScheduled=!1)}function g(Ce){P(T,a.Low,0,T.length),u(Ce),!Ce.pollScheduled&&T.length&&Se(a.Low)}function P(Ce,R,Y,U){return A(V,Ce,Y,U,K);function K(Te,ge,ke){ke?(Te.unchangedPolls=0,Ce!==T&&(Ce[ge]=void 0,X(Te))):Te.unchangedPolls!==e.unchangedPollThresholds[R]?Te.unchangedPolls++:Ce===T?(Te.unchangedPolls=1,Ce[ge]=void 0,ue(Te,a.Low)):R!==a.High&&(Te.unchangedPolls++,Ce[ge]=void 0,ue(Te,R===a.Low?a.Medium:a.High))}}function te(Ce){switch(Ce){case a.Low:return N;case a.Medium:return y;case a.High:return D}}function ue(Ce,R){te(R).push(Ce),j(R)}function X(Ce){T.push(Ce),j(a.Low)}function j(Ce){te(Ce).pollScheduled||Se(Ce)}function Se(Ce){te(Ce).pollScheduled=V.setTimeout(Ce===a.Low?g:u,Ce,te(Ce))}}e.createDynamicPriorityPollingWatchFile=z;function ie(V,re){var T=e.createMultiMap(),N=new e.Map,y=e.createGetCanonicalFileName(re);return D;function D(m,u,g,P){var te=y(m);T.add(te,u);var ue=e.getDirectoryPath(te)||\".\",X=N.get(ue)||C(e.getDirectoryPath(m)||\".\",ue,P);return X.referenceCount++,{close:function(){X.referenceCount===1?(X.close(),N.delete(ue)):X.referenceCount--,T.remove(te,u)}}}function C(m,u,g){var P=V(m,1,function(te,ue){if(!!e.isString(ue)){var X=e.getNormalizedAbsolutePath(ue,m),j=X&&T.get(y(X));if(j)for(var Se=0,Ce=j;Se<Ce.length;Se++){var R=Ce[Se];R(X,p.Changed)}}},!1,a.Medium,g);return P.referenceCount=0,N.set(u,P),P}}function b(V){var re=[],T=0,N;return y;function y(m,u){var g={fileName:m,callback:u,mtime:d(V,m)};return re.push(g),C(),{close:function(){g.isClosed=!0,e.unorderedRemoveItem(re,g)}}}function D(){N=void 0,T=A(V,re,T,h[a.Low]),C()}function C(){!re.length||N||(N=V.setTimeout(D,a.High))}}function M(V,re){var T=new e.Map,N=e.createMultiMap(),y=e.createGetCanonicalFileName(re);return function(D,C,m,u){var g=y(D),P=T.get(g);return P?P.refCount++:T.set(g,{watcher:V(D,function(te,ue){return e.forEach(N.get(g),function(X){return X(te,ue)})},m,u),refCount:1}),N.add(g,C),{close:function(){var te=e.Debug.checkDefined(T.get(g));N.remove(g,C),te.refCount--,!te.refCount&&(T.delete(g),e.closeFileWatcherOf(te))}}}}e.createSingleFileWatcherPerName=M;function S(V,re){var T=V.mtime.getTime(),N=re.getTime();return T!==N?(V.mtime=re,V.callback(V.fileName,B(T,N)),!0):!1}e.onWatchedFileStat=S;function B(V,re){return V===0?p.Created:re===0?p.Deleted:p.Changed}e.getFileWatcherEventKind=B,e.ignoredPaths=[\"/node_modules/.\",\"/.git\",\"/.#\"],e.sysLog=e.noop;function H(V){e.sysLog=V}e.setSysLog=H;function I(V){var re=V.watchDirectory,T=V.useCaseSensitiveFileNames,N=V.getCurrentDirectory,y=V.getAccessibleSortedChildDirectories,D=V.directoryExists,C=V.realpath,m=V.setTimeout,u=V.clearTimeout,g=new e.Map,P=e.createMultiMap(),te=new e.Map,ue,X=e.getStringComparer(!T),j=e.createGetCanonicalFileName(T);return function(Pe,Ie,Ge,he){return Ge?Se(Pe,he,Ie):re(Pe,Ie,Ge,he)};function Se(Pe,Ie,Ge){var he=j(Pe),ve=g.get(he);ve?ve.refCount++:(ve={watcher:re(Pe,function(_e){ge(_e,Ie)||(Ie!=null&&Ie.synchronousWatchDirectory?(Ce(he,_e),Te(Pe,he,Ie)):R(Pe,he,_e,Ie))},!1,Ie),refCount:1,childWatches:e.emptyArray},g.set(he,ve),Te(Pe,he,Ie));var Ve=Ge&&{dirName:Pe,callback:Ge};return Ve&&P.add(he,Ve),{dirName:Pe,close:function(){var _e=e.Debug.checkDefined(g.get(he));Ve&&P.remove(he,Ve),_e.refCount--,!_e.refCount&&(g.delete(he),e.closeFileWatcherOf(_e),_e.childWatches.forEach(e.closeFileWatcher))}}}function Ce(Pe,Ie,Ge){var he,ve;e.isString(Ie)?he=Ie:ve=Ie,P.forEach(function(Ve,_e){var Le;if(!(ve&&ve.get(_e)===!0)&&(_e===Pe||e.startsWith(Pe,_e)&&Pe[_e.length]===e.directorySeparator))if(ve)if(Ge){var qe=ve.get(_e);qe?(Le=qe).push.apply(Le,Ge):ve.set(_e,Ge.slice())}else ve.set(_e,!0);else Ve.forEach(function(Xe){var De=Xe.callback;return De(he)})})}function R(Pe,Ie,Ge,he){var ve=g.get(Ie);if(ve&&D(Pe)){Y(Pe,Ie,Ge,he);return}Ce(Ie,Ge),K(ve)}function Y(Pe,Ie,Ge,he){var ve=te.get(Ie);ve?ve.fileNames.push(Ge):te.set(Ie,{dirName:Pe,options:he,fileNames:[Ge]}),ue&&(u(ue),ue=void 0),ue=m(U,1e3)}function U(){ue=void 0,e.sysLog(\"sysLog:: onTimerToUpdateChildWatches:: \".concat(te.size));for(var Pe=e.timestamp(),Ie=new e.Map;!ue&&te.size;){var Ge=te.entries().next();e.Debug.assert(!Ge.done);var he=Ge.value,ve=he[0],Ve=he[1],_e=Ve.dirName,Le=Ve.options,qe=Ve.fileNames;te.delete(ve);var Xe=Te(_e,ve,Le);Ce(ve,Ie,Xe?void 0:qe)}e.sysLog(\"sysLog:: invokingWatchers:: Elapsed:: \".concat(e.timestamp()-Pe,\"ms:: \").concat(te.size)),P.forEach(function(Ae,Ye){var Dr=Ie.get(Ye);Dr&&Ae.forEach(function(br){var lr=br.callback,Ar=br.dirName;e.isArray(Dr)?Dr.forEach(lr):lr(Ar)})});var De=e.timestamp()-Pe;e.sysLog(\"sysLog:: Elapsed:: \".concat(De,\"ms:: onTimerToUpdateChildWatches:: \").concat(te.size,\" \").concat(ue))}function K(Pe){if(!!Pe){var Ie=Pe.childWatches;Pe.childWatches=e.emptyArray;for(var Ge=0,he=Ie;Ge<he.length;Ge++){var ve=he[Ge];ve.close(),K(g.get(j(ve.dirName)))}}}function Te(Pe,Ie,Ge){var he=g.get(Ie);if(!he)return!1;var ve,Ve=e.enumerateInsertsAndDeletes(D(Pe)?e.mapDefined(y(Pe),function(qe){var Xe=e.getNormalizedAbsolutePath(qe,Pe);return!ge(Xe,Ge)&&X(Xe,e.normalizePath(C(Xe)))===0?Xe:void 0}):e.emptyArray,he.childWatches,function(qe,Xe){return X(qe,Xe.dirName)},_e,e.closeFileWatcher,Le);return he.childWatches=ve||e.emptyArray,Ve;function _e(qe){var Xe=Se(qe,Ge);Le(Xe)}function Le(qe){(ve||(ve=[])).push(qe)}}function ge(Pe,Ie){return e.some(e.ignoredPaths,function(Ge){return ke(Pe,Ge)})||O(Pe,Ie,T,N)}function ke(Pe,Ie){return e.stringContains(Pe,Ie)?!0:T?!1:e.stringContains(j(Pe),Ie)}}e.createDirectoryWatcherSupportingRecursive=I,function(V){V[V.File=0]=\"File\",V[V.Directory=1]=\"Directory\"}(e.FileSystemEntryKind||(e.FileSystemEntryKind={}));function w(V){return function(re,T){return V(T===p.Changed?\"change\":\"rename\",\"\")}}e.createFileWatcherCallback=w;function x(V,re,T){return function(N){N===\"rename\"?re(V,T(V)?p.Created:p.Deleted):re(V,p.Changed)}}function O(V,re,T,N){return((re==null?void 0:re.excludeDirectories)||(re==null?void 0:re.excludeFiles))&&(e.matchesExclude(V,re==null?void 0:re.excludeFiles,T,N())||e.matchesExclude(V,re==null?void 0:re.excludeDirectories,T,N()))}function q(V,re,T,N,y){return function(D,C){if(D===\"rename\"){var m=C?e.normalizePath(e.combinePaths(V,C)):V;(!C||!O(m,T,N,y))&&re(m)}}}function Z(V){var re=V.pollingWatchFile,T=V.getModifiedTime,N=V.setTimeout,y=V.clearTimeout,D=V.fsWatch,C=V.fileExists,m=V.useCaseSensitiveFileNames,u=V.getCurrentDirectory,g=V.fsSupportsRecursiveFsWatch,P=V.directoryExists,te=V.getAccessibleSortedChildDirectories,ue=V.realpath,X=V.tscWatchFile,j=V.useNonPollingWatchers,Se=V.tscWatchDirectory,Ce=V.defaultWatchFileKind,R,Y,U,K;return{watchFile:Te,watchDirectory:Ge};function Te(Ve,_e,Le,qe){qe=Pe(qe,j);var Xe=e.Debug.checkDefined(qe.watchFile);switch(Xe){case e.WatchFileKind.FixedPollingInterval:return re(Ve,_e,a.Low,void 0);case e.WatchFileKind.PriorityPollingInterval:return re(Ve,_e,Le,void 0);case e.WatchFileKind.DynamicPriorityPolling:return ge()(Ve,_e,Le,void 0);case e.WatchFileKind.FixedChunkSizePolling:return ke()(Ve,_e,void 0,void 0);case e.WatchFileKind.UseFsEvents:return D(Ve,0,x(Ve,_e,C),!1,Le,e.getFallbackOptions(qe));case e.WatchFileKind.UseFsEventsOnParentDirectory:return U||(U=ie(D,m)),U(Ve,_e,Le,e.getFallbackOptions(qe));default:e.Debug.assertNever(Xe)}}function ge(){return R||(R=z({getModifiedTime:T,setTimeout:N}))}function ke(){return Y||(Y=b({getModifiedTime:T,setTimeout:N}))}function Pe(Ve,_e){if(Ve&&Ve.watchFile!==void 0)return Ve;switch(X){case\"PriorityPollingInterval\":return{watchFile:e.WatchFileKind.PriorityPollingInterval};case\"DynamicPriorityPolling\":return{watchFile:e.WatchFileKind.DynamicPriorityPolling};case\"UseFsEvents\":return Ie(e.WatchFileKind.UseFsEvents,e.PollingWatchKind.PriorityInterval,Ve);case\"UseFsEventsWithFallbackDynamicPolling\":return Ie(e.WatchFileKind.UseFsEvents,e.PollingWatchKind.DynamicPriority,Ve);case\"UseFsEventsOnParentDirectory\":_e=!0;default:return _e?Ie(e.WatchFileKind.UseFsEventsOnParentDirectory,e.PollingWatchKind.PriorityInterval,Ve):{watchFile:(Ce==null?void 0:Ce())||e.WatchFileKind.FixedPollingInterval}}}function Ie(Ve,_e,Le){var qe=Le==null?void 0:Le.fallbackPolling;return{watchFile:Ve,fallbackPolling:qe===void 0?_e:qe}}function Ge(Ve,_e,Le,qe){return g?D(Ve,1,q(Ve,_e,qe,m,u),Le,a.Medium,e.getFallbackOptions(qe)):(K||(K=I({useCaseSensitiveFileNames:m,getCurrentDirectory:u,directoryExists:P,getAccessibleSortedChildDirectories:te,watchDirectory:he,realpath:ue,setTimeout:N,clearTimeout:y})),K(Ve,_e,Le,qe))}function he(Ve,_e,Le,qe){e.Debug.assert(!Le);var Xe=ve(qe),De=e.Debug.checkDefined(Xe.watchDirectory);switch(De){case e.WatchDirectoryKind.FixedPollingInterval:return re(Ve,function(){return _e(Ve)},a.Medium,void 0);case e.WatchDirectoryKind.DynamicPriorityPolling:return ge()(Ve,function(){return _e(Ve)},a.Medium,void 0);case e.WatchDirectoryKind.FixedChunkSizePolling:return ke()(Ve,function(){return _e(Ve)},void 0,void 0);case e.WatchDirectoryKind.UseFsEvents:return D(Ve,1,q(Ve,_e,qe,m,u),Le,a.Medium,e.getFallbackOptions(Xe));default:e.Debug.assertNever(De)}}function ve(Ve){if(Ve&&Ve.watchDirectory!==void 0)return Ve;switch(Se){case\"RecursiveDirectoryUsingFsWatchFile\":return{watchDirectory:e.WatchDirectoryKind.FixedPollingInterval};case\"RecursiveDirectoryUsingDynamicPriorityPolling\":return{watchDirectory:e.WatchDirectoryKind.DynamicPriorityPolling};default:var _e=Ve==null?void 0:Ve.fallbackPolling;return{watchDirectory:e.WatchDirectoryKind.UseFsEvents,fallbackPolling:_e!==void 0?_e:void 0}}}}e.createSystemWatchFunctions=Z;function ne(V){var re=V.writeFile;V.writeFile=function(T,N,y){return e.writeFileEnsuringDirectories(T,N,!!y,function(D,C,m){return re.call(V,D,C,m)},function(D){return V.createDirectory(D)},function(D){return V.directoryExists(D)})}}e.patchWriteFileEnsuringDirectory=ne;function F(){if(typeof process!=\"undefined\"){var V=process.version;if(!!V){var re=V.indexOf(\".\");if(re!==-1)return parseInt(V.substring(1,re))}}}e.getNodeMajorVersion=F,e.sys=void 0;function Q(V){e.sys=V}e.setSys=Q,e.sys&&e.sys.getEnvironmentVariable&&(v(e.sys),e.Debug.setAssertionLevel(/^development$/i.test(e.sys.getEnvironmentVariable(\"NODE_ENV\"))?1:0)),e.sys&&e.sys.debugMode&&(e.Debug.isDebugging=!0)}(jr||(jr={})),function(e){function n(f,p,a,d,k,J,h){return{code:f,category:p,key:a,message:d,reportsUnnecessary:k,elidedInCompatabilityPyramid:J,reportsDeprecated:h}}e.Diagnostics={Unterminated_string_literal:n(1002,e.DiagnosticCategory.Error,\"Unterminated_string_literal_1002\",\"Unterminated string literal.\"),Identifier_expected:n(1003,e.DiagnosticCategory.Error,\"Identifier_expected_1003\",\"Identifier expected.\"),_0_expected:n(1005,e.DiagnosticCategory.Error,\"_0_expected_1005\",\"'{0}' expected.\"),A_file_cannot_have_a_reference_to_itself:n(1006,e.DiagnosticCategory.Error,\"A_file_cannot_have_a_reference_to_itself_1006\",\"A file cannot have a reference to itself.\"),The_parser_expected_to_find_a_to_match_the_token_here:n(1007,e.DiagnosticCategory.Error,\"The_parser_expected_to_find_a_to_match_the_token_here_1007\",\"The parser expected to find a '}' to match the '{' token here.\"),Trailing_comma_not_allowed:n(1009,e.DiagnosticCategory.Error,\"Trailing_comma_not_allowed_1009\",\"Trailing comma not allowed.\"),Asterisk_Slash_expected:n(1010,e.DiagnosticCategory.Error,\"Asterisk_Slash_expected_1010\",\"'*/' expected.\"),An_element_access_expression_should_take_an_argument:n(1011,e.DiagnosticCategory.Error,\"An_element_access_expression_should_take_an_argument_1011\",\"An element access expression should take an argument.\"),Unexpected_token:n(1012,e.DiagnosticCategory.Error,\"Unexpected_token_1012\",\"Unexpected token.\"),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:n(1013,e.DiagnosticCategory.Error,\"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.\"),A_rest_parameter_must_be_last_in_a_parameter_list:n(1014,e.DiagnosticCategory.Error,\"A_rest_parameter_must_be_last_in_a_parameter_list_1014\",\"A rest parameter must be last in a parameter list.\"),Parameter_cannot_have_question_mark_and_initializer:n(1015,e.DiagnosticCategory.Error,\"Parameter_cannot_have_question_mark_and_initializer_1015\",\"Parameter cannot have question mark and initializer.\"),A_required_parameter_cannot_follow_an_optional_parameter:n(1016,e.DiagnosticCategory.Error,\"A_required_parameter_cannot_follow_an_optional_parameter_1016\",\"A required parameter cannot follow an optional parameter.\"),An_index_signature_cannot_have_a_rest_parameter:n(1017,e.DiagnosticCategory.Error,\"An_index_signature_cannot_have_a_rest_parameter_1017\",\"An index signature cannot have a rest parameter.\"),An_index_signature_parameter_cannot_have_an_accessibility_modifier:n(1018,e.DiagnosticCategory.Error,\"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018\",\"An index signature parameter cannot have an accessibility modifier.\"),An_index_signature_parameter_cannot_have_a_question_mark:n(1019,e.DiagnosticCategory.Error,\"An_index_signature_parameter_cannot_have_a_question_mark_1019\",\"An index signature parameter cannot have a question mark.\"),An_index_signature_parameter_cannot_have_an_initializer:n(1020,e.DiagnosticCategory.Error,\"An_index_signature_parameter_cannot_have_an_initializer_1020\",\"An index signature parameter cannot have an initializer.\"),An_index_signature_must_have_a_type_annotation:n(1021,e.DiagnosticCategory.Error,\"An_index_signature_must_have_a_type_annotation_1021\",\"An index signature must have a type annotation.\"),An_index_signature_parameter_must_have_a_type_annotation:n(1022,e.DiagnosticCategory.Error,\"An_index_signature_parameter_must_have_a_type_annotation_1022\",\"An index signature parameter must have a type annotation.\"),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:n(1024,e.DiagnosticCategory.Error,\"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.\"),An_index_signature_cannot_have_a_trailing_comma:n(1025,e.DiagnosticCategory.Error,\"An_index_signature_cannot_have_a_trailing_comma_1025\",\"An index signature cannot have a trailing comma.\"),Accessibility_modifier_already_seen:n(1028,e.DiagnosticCategory.Error,\"Accessibility_modifier_already_seen_1028\",\"Accessibility modifier already seen.\"),_0_modifier_must_precede_1_modifier:n(1029,e.DiagnosticCategory.Error,\"_0_modifier_must_precede_1_modifier_1029\",\"'{0}' modifier must precede '{1}' modifier.\"),_0_modifier_already_seen:n(1030,e.DiagnosticCategory.Error,\"_0_modifier_already_seen_1030\",\"'{0}' modifier already seen.\"),_0_modifier_cannot_appear_on_class_elements_of_this_kind:n(1031,e.DiagnosticCategory.Error,\"_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031\",\"'{0}' modifier cannot appear on class elements of this kind.\"),super_must_be_followed_by_an_argument_list_or_member_access:n(1034,e.DiagnosticCategory.Error,\"super_must_be_followed_by_an_argument_list_or_member_access_1034\",\"'super' must be followed by an argument list or member access.\"),Only_ambient_modules_can_use_quoted_names:n(1035,e.DiagnosticCategory.Error,\"Only_ambient_modules_can_use_quoted_names_1035\",\"Only ambient modules can use quoted names.\"),Statements_are_not_allowed_in_ambient_contexts:n(1036,e.DiagnosticCategory.Error,\"Statements_are_not_allowed_in_ambient_contexts_1036\",\"Statements are not allowed in ambient contexts.\"),A_declare_modifier_cannot_be_used_in_an_already_ambient_context:n(1038,e.DiagnosticCategory.Error,\"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038\",\"A 'declare' modifier cannot be used in an already ambient context.\"),Initializers_are_not_allowed_in_ambient_contexts:n(1039,e.DiagnosticCategory.Error,\"Initializers_are_not_allowed_in_ambient_contexts_1039\",\"Initializers are not allowed in ambient contexts.\"),_0_modifier_cannot_be_used_in_an_ambient_context:n(1040,e.DiagnosticCategory.Error,\"_0_modifier_cannot_be_used_in_an_ambient_context_1040\",\"'{0}' modifier cannot be used in an ambient context.\"),_0_modifier_cannot_be_used_here:n(1042,e.DiagnosticCategory.Error,\"_0_modifier_cannot_be_used_here_1042\",\"'{0}' modifier cannot be used here.\"),_0_modifier_cannot_appear_on_a_module_or_namespace_element:n(1044,e.DiagnosticCategory.Error,\"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044\",\"'{0}' modifier cannot appear on a module or namespace element.\"),Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier:n(1046,e.DiagnosticCategory.Error,\"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.\"),A_rest_parameter_cannot_be_optional:n(1047,e.DiagnosticCategory.Error,\"A_rest_parameter_cannot_be_optional_1047\",\"A rest parameter cannot be optional.\"),A_rest_parameter_cannot_have_an_initializer:n(1048,e.DiagnosticCategory.Error,\"A_rest_parameter_cannot_have_an_initializer_1048\",\"A rest parameter cannot have an initializer.\"),A_set_accessor_must_have_exactly_one_parameter:n(1049,e.DiagnosticCategory.Error,\"A_set_accessor_must_have_exactly_one_parameter_1049\",\"A 'set' accessor must have exactly one parameter.\"),A_set_accessor_cannot_have_an_optional_parameter:n(1051,e.DiagnosticCategory.Error,\"A_set_accessor_cannot_have_an_optional_parameter_1051\",\"A 'set' accessor cannot have an optional parameter.\"),A_set_accessor_parameter_cannot_have_an_initializer:n(1052,e.DiagnosticCategory.Error,\"A_set_accessor_parameter_cannot_have_an_initializer_1052\",\"A 'set' accessor parameter cannot have an initializer.\"),A_set_accessor_cannot_have_rest_parameter:n(1053,e.DiagnosticCategory.Error,\"A_set_accessor_cannot_have_rest_parameter_1053\",\"A 'set' accessor cannot have rest parameter.\"),A_get_accessor_cannot_have_parameters:n(1054,e.DiagnosticCategory.Error,\"A_get_accessor_cannot_have_parameters_1054\",\"A 'get' accessor cannot have parameters.\"),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(1055,e.DiagnosticCategory.Error,\"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.\"),Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:n(1056,e.DiagnosticCategory.Error,\"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056\",\"Accessors are only available when targeting ECMAScript 5 and higher.\"),The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:n(1058,e.DiagnosticCategory.Error,\"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.\"),A_promise_must_have_a_then_method:n(1059,e.DiagnosticCategory.Error,\"A_promise_must_have_a_then_method_1059\",\"A promise must have a 'then' method.\"),The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:n(1060,e.DiagnosticCategory.Error,\"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.\"),Enum_member_must_have_initializer:n(1061,e.DiagnosticCategory.Error,\"Enum_member_must_have_initializer_1061\",\"Enum member must have initializer.\"),Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:n(1062,e.DiagnosticCategory.Error,\"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.\"),An_export_assignment_cannot_be_used_in_a_namespace:n(1063,e.DiagnosticCategory.Error,\"An_export_assignment_cannot_be_used_in_a_namespace_1063\",\"An export assignment cannot be used in a namespace.\"),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0:n(1064,e.DiagnosticCategory.Error,\"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}>'?\"),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:n(1066,e.DiagnosticCategory.Error,\"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066\",\"In ambient enum declarations member initializer must be constant expression.\"),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:n(1068,e.DiagnosticCategory.Error,\"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068\",\"Unexpected token. A constructor, method, accessor, or property was expected.\"),Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces:n(1069,e.DiagnosticCategory.Error,\"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069\",\"Unexpected token. A type parameter name was expected without curly braces.\"),_0_modifier_cannot_appear_on_a_type_member:n(1070,e.DiagnosticCategory.Error,\"_0_modifier_cannot_appear_on_a_type_member_1070\",\"'{0}' modifier cannot appear on a type member.\"),_0_modifier_cannot_appear_on_an_index_signature:n(1071,e.DiagnosticCategory.Error,\"_0_modifier_cannot_appear_on_an_index_signature_1071\",\"'{0}' modifier cannot appear on an index signature.\"),A_0_modifier_cannot_be_used_with_an_import_declaration:n(1079,e.DiagnosticCategory.Error,\"A_0_modifier_cannot_be_used_with_an_import_declaration_1079\",\"A '{0}' modifier cannot be used with an import declaration.\"),Invalid_reference_directive_syntax:n(1084,e.DiagnosticCategory.Error,\"Invalid_reference_directive_syntax_1084\",\"Invalid 'reference' directive syntax.\"),Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:n(1085,e.DiagnosticCategory.Error,\"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}'.\"),_0_modifier_cannot_appear_on_a_constructor_declaration:n(1089,e.DiagnosticCategory.Error,\"_0_modifier_cannot_appear_on_a_constructor_declaration_1089\",\"'{0}' modifier cannot appear on a constructor declaration.\"),_0_modifier_cannot_appear_on_a_parameter:n(1090,e.DiagnosticCategory.Error,\"_0_modifier_cannot_appear_on_a_parameter_1090\",\"'{0}' modifier cannot appear on a parameter.\"),Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:n(1091,e.DiagnosticCategory.Error,\"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.\"),Type_parameters_cannot_appear_on_a_constructor_declaration:n(1092,e.DiagnosticCategory.Error,\"Type_parameters_cannot_appear_on_a_constructor_declaration_1092\",\"Type parameters cannot appear on a constructor declaration.\"),Type_annotation_cannot_appear_on_a_constructor_declaration:n(1093,e.DiagnosticCategory.Error,\"Type_annotation_cannot_appear_on_a_constructor_declaration_1093\",\"Type annotation cannot appear on a constructor declaration.\"),An_accessor_cannot_have_type_parameters:n(1094,e.DiagnosticCategory.Error,\"An_accessor_cannot_have_type_parameters_1094\",\"An accessor cannot have type parameters.\"),A_set_accessor_cannot_have_a_return_type_annotation:n(1095,e.DiagnosticCategory.Error,\"A_set_accessor_cannot_have_a_return_type_annotation_1095\",\"A 'set' accessor cannot have a return type annotation.\"),An_index_signature_must_have_exactly_one_parameter:n(1096,e.DiagnosticCategory.Error,\"An_index_signature_must_have_exactly_one_parameter_1096\",\"An index signature must have exactly one parameter.\"),_0_list_cannot_be_empty:n(1097,e.DiagnosticCategory.Error,\"_0_list_cannot_be_empty_1097\",\"'{0}' list cannot be empty.\"),Type_parameter_list_cannot_be_empty:n(1098,e.DiagnosticCategory.Error,\"Type_parameter_list_cannot_be_empty_1098\",\"Type parameter list cannot be empty.\"),Type_argument_list_cannot_be_empty:n(1099,e.DiagnosticCategory.Error,\"Type_argument_list_cannot_be_empty_1099\",\"Type argument list cannot be empty.\"),Invalid_use_of_0_in_strict_mode:n(1100,e.DiagnosticCategory.Error,\"Invalid_use_of_0_in_strict_mode_1100\",\"Invalid use of '{0}' in strict mode.\"),with_statements_are_not_allowed_in_strict_mode:n(1101,e.DiagnosticCategory.Error,\"with_statements_are_not_allowed_in_strict_mode_1101\",\"'with' statements are not allowed in strict mode.\"),delete_cannot_be_called_on_an_identifier_in_strict_mode:n(1102,e.DiagnosticCategory.Error,\"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102\",\"'delete' cannot be called on an identifier in strict mode.\"),for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:n(1103,e.DiagnosticCategory.Error,\"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.\"),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:n(1104,e.DiagnosticCategory.Error,\"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.\"),A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:n(1105,e.DiagnosticCategory.Error,\"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.\"),The_left_hand_side_of_a_for_of_statement_may_not_be_async:n(1106,e.DiagnosticCategory.Error,\"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'.\"),Jump_target_cannot_cross_function_boundary:n(1107,e.DiagnosticCategory.Error,\"Jump_target_cannot_cross_function_boundary_1107\",\"Jump target cannot cross function boundary.\"),A_return_statement_can_only_be_used_within_a_function_body:n(1108,e.DiagnosticCategory.Error,\"A_return_statement_can_only_be_used_within_a_function_body_1108\",\"A 'return' statement can only be used within a function body.\"),Expression_expected:n(1109,e.DiagnosticCategory.Error,\"Expression_expected_1109\",\"Expression expected.\"),Type_expected:n(1110,e.DiagnosticCategory.Error,\"Type_expected_1110\",\"Type expected.\"),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:n(1113,e.DiagnosticCategory.Error,\"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.\"),Duplicate_label_0:n(1114,e.DiagnosticCategory.Error,\"Duplicate_label_0_1114\",\"Duplicate label '{0}'.\"),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:n(1115,e.DiagnosticCategory.Error,\"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.\"),A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:n(1116,e.DiagnosticCategory.Error,\"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.\"),An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode:n(1117,e.DiagnosticCategory.Error,\"An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode_1117\",\"An object literal cannot have multiple properties with the same name in strict mode.\"),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:n(1118,e.DiagnosticCategory.Error,\"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.\"),An_object_literal_cannot_have_property_and_accessor_with_the_same_name:n(1119,e.DiagnosticCategory.Error,\"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.\"),An_export_assignment_cannot_have_modifiers:n(1120,e.DiagnosticCategory.Error,\"An_export_assignment_cannot_have_modifiers_1120\",\"An export assignment cannot have modifiers.\"),Octal_literals_are_not_allowed_in_strict_mode:n(1121,e.DiagnosticCategory.Error,\"Octal_literals_are_not_allowed_in_strict_mode_1121\",\"Octal literals are not allowed in strict mode.\"),Variable_declaration_list_cannot_be_empty:n(1123,e.DiagnosticCategory.Error,\"Variable_declaration_list_cannot_be_empty_1123\",\"Variable declaration list cannot be empty.\"),Digit_expected:n(1124,e.DiagnosticCategory.Error,\"Digit_expected_1124\",\"Digit expected.\"),Hexadecimal_digit_expected:n(1125,e.DiagnosticCategory.Error,\"Hexadecimal_digit_expected_1125\",\"Hexadecimal digit expected.\"),Unexpected_end_of_text:n(1126,e.DiagnosticCategory.Error,\"Unexpected_end_of_text_1126\",\"Unexpected end of text.\"),Invalid_character:n(1127,e.DiagnosticCategory.Error,\"Invalid_character_1127\",\"Invalid character.\"),Declaration_or_statement_expected:n(1128,e.DiagnosticCategory.Error,\"Declaration_or_statement_expected_1128\",\"Declaration or statement expected.\"),Statement_expected:n(1129,e.DiagnosticCategory.Error,\"Statement_expected_1129\",\"Statement expected.\"),case_or_default_expected:n(1130,e.DiagnosticCategory.Error,\"case_or_default_expected_1130\",\"'case' or 'default' expected.\"),Property_or_signature_expected:n(1131,e.DiagnosticCategory.Error,\"Property_or_signature_expected_1131\",\"Property or signature expected.\"),Enum_member_expected:n(1132,e.DiagnosticCategory.Error,\"Enum_member_expected_1132\",\"Enum member expected.\"),Variable_declaration_expected:n(1134,e.DiagnosticCategory.Error,\"Variable_declaration_expected_1134\",\"Variable declaration expected.\"),Argument_expression_expected:n(1135,e.DiagnosticCategory.Error,\"Argument_expression_expected_1135\",\"Argument expression expected.\"),Property_assignment_expected:n(1136,e.DiagnosticCategory.Error,\"Property_assignment_expected_1136\",\"Property assignment expected.\"),Expression_or_comma_expected:n(1137,e.DiagnosticCategory.Error,\"Expression_or_comma_expected_1137\",\"Expression or comma expected.\"),Parameter_declaration_expected:n(1138,e.DiagnosticCategory.Error,\"Parameter_declaration_expected_1138\",\"Parameter declaration expected.\"),Type_parameter_declaration_expected:n(1139,e.DiagnosticCategory.Error,\"Type_parameter_declaration_expected_1139\",\"Type parameter declaration expected.\"),Type_argument_expected:n(1140,e.DiagnosticCategory.Error,\"Type_argument_expected_1140\",\"Type argument expected.\"),String_literal_expected:n(1141,e.DiagnosticCategory.Error,\"String_literal_expected_1141\",\"String literal expected.\"),Line_break_not_permitted_here:n(1142,e.DiagnosticCategory.Error,\"Line_break_not_permitted_here_1142\",\"Line break not permitted here.\"),or_expected:n(1144,e.DiagnosticCategory.Error,\"or_expected_1144\",\"'{' or ';' expected.\"),Declaration_expected:n(1146,e.DiagnosticCategory.Error,\"Declaration_expected_1146\",\"Declaration expected.\"),Import_declarations_in_a_namespace_cannot_reference_a_module:n(1147,e.DiagnosticCategory.Error,\"Import_declarations_in_a_namespace_cannot_reference_a_module_1147\",\"Import declarations in a namespace cannot reference a module.\"),Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:n(1148,e.DiagnosticCategory.Error,\"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148\",\"Cannot use imports, exports, or module augmentations when '--module' is 'none'.\"),File_name_0_differs_from_already_included_file_name_1_only_in_casing:n(1149,e.DiagnosticCategory.Error,\"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.\"),const_declarations_must_be_initialized:n(1155,e.DiagnosticCategory.Error,\"const_declarations_must_be_initialized_1155\",\"'const' declarations must be initialized.\"),const_declarations_can_only_be_declared_inside_a_block:n(1156,e.DiagnosticCategory.Error,\"const_declarations_can_only_be_declared_inside_a_block_1156\",\"'const' declarations can only be declared inside a block.\"),let_declarations_can_only_be_declared_inside_a_block:n(1157,e.DiagnosticCategory.Error,\"let_declarations_can_only_be_declared_inside_a_block_1157\",\"'let' declarations can only be declared inside a block.\"),Unterminated_template_literal:n(1160,e.DiagnosticCategory.Error,\"Unterminated_template_literal_1160\",\"Unterminated template literal.\"),Unterminated_regular_expression_literal:n(1161,e.DiagnosticCategory.Error,\"Unterminated_regular_expression_literal_1161\",\"Unterminated regular expression literal.\"),An_object_member_cannot_be_declared_optional:n(1162,e.DiagnosticCategory.Error,\"An_object_member_cannot_be_declared_optional_1162\",\"An object member cannot be declared optional.\"),A_yield_expression_is_only_allowed_in_a_generator_body:n(1163,e.DiagnosticCategory.Error,\"A_yield_expression_is_only_allowed_in_a_generator_body_1163\",\"A 'yield' expression is only allowed in a generator body.\"),Computed_property_names_are_not_allowed_in_enums:n(1164,e.DiagnosticCategory.Error,\"Computed_property_names_are_not_allowed_in_enums_1164\",\"Computed property names are not allowed in enums.\"),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(1165,e.DiagnosticCategory.Error,\"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.\"),A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type:n(1166,e.DiagnosticCategory.Error,\"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.\"),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(1168,e.DiagnosticCategory.Error,\"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.\"),A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1169,e.DiagnosticCategory.Error,\"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.\"),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(1170,e.DiagnosticCategory.Error,\"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.\"),A_comma_expression_is_not_allowed_in_a_computed_property_name:n(1171,e.DiagnosticCategory.Error,\"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171\",\"A comma expression is not allowed in a computed property name.\"),extends_clause_already_seen:n(1172,e.DiagnosticCategory.Error,\"extends_clause_already_seen_1172\",\"'extends' clause already seen.\"),extends_clause_must_precede_implements_clause:n(1173,e.DiagnosticCategory.Error,\"extends_clause_must_precede_implements_clause_1173\",\"'extends' clause must precede 'implements' clause.\"),Classes_can_only_extend_a_single_class:n(1174,e.DiagnosticCategory.Error,\"Classes_can_only_extend_a_single_class_1174\",\"Classes can only extend a single class.\"),implements_clause_already_seen:n(1175,e.DiagnosticCategory.Error,\"implements_clause_already_seen_1175\",\"'implements' clause already seen.\"),Interface_declaration_cannot_have_implements_clause:n(1176,e.DiagnosticCategory.Error,\"Interface_declaration_cannot_have_implements_clause_1176\",\"Interface declaration cannot have 'implements' clause.\"),Binary_digit_expected:n(1177,e.DiagnosticCategory.Error,\"Binary_digit_expected_1177\",\"Binary digit expected.\"),Octal_digit_expected:n(1178,e.DiagnosticCategory.Error,\"Octal_digit_expected_1178\",\"Octal digit expected.\"),Unexpected_token_expected:n(1179,e.DiagnosticCategory.Error,\"Unexpected_token_expected_1179\",\"Unexpected token. '{' expected.\"),Property_destructuring_pattern_expected:n(1180,e.DiagnosticCategory.Error,\"Property_destructuring_pattern_expected_1180\",\"Property destructuring pattern expected.\"),Array_element_destructuring_pattern_expected:n(1181,e.DiagnosticCategory.Error,\"Array_element_destructuring_pattern_expected_1181\",\"Array element destructuring pattern expected.\"),A_destructuring_declaration_must_have_an_initializer:n(1182,e.DiagnosticCategory.Error,\"A_destructuring_declaration_must_have_an_initializer_1182\",\"A destructuring declaration must have an initializer.\"),An_implementation_cannot_be_declared_in_ambient_contexts:n(1183,e.DiagnosticCategory.Error,\"An_implementation_cannot_be_declared_in_ambient_contexts_1183\",\"An implementation cannot be declared in ambient contexts.\"),Modifiers_cannot_appear_here:n(1184,e.DiagnosticCategory.Error,\"Modifiers_cannot_appear_here_1184\",\"Modifiers cannot appear here.\"),Merge_conflict_marker_encountered:n(1185,e.DiagnosticCategory.Error,\"Merge_conflict_marker_encountered_1185\",\"Merge conflict marker encountered.\"),A_rest_element_cannot_have_an_initializer:n(1186,e.DiagnosticCategory.Error,\"A_rest_element_cannot_have_an_initializer_1186\",\"A rest element cannot have an initializer.\"),A_parameter_property_may_not_be_declared_using_a_binding_pattern:n(1187,e.DiagnosticCategory.Error,\"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187\",\"A parameter property may not be declared using a binding pattern.\"),Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:n(1188,e.DiagnosticCategory.Error,\"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.\"),The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:n(1189,e.DiagnosticCategory.Error,\"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.\"),The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:n(1190,e.DiagnosticCategory.Error,\"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.\"),An_import_declaration_cannot_have_modifiers:n(1191,e.DiagnosticCategory.Error,\"An_import_declaration_cannot_have_modifiers_1191\",\"An import declaration cannot have modifiers.\"),Module_0_has_no_default_export:n(1192,e.DiagnosticCategory.Error,\"Module_0_has_no_default_export_1192\",\"Module '{0}' has no default export.\"),An_export_declaration_cannot_have_modifiers:n(1193,e.DiagnosticCategory.Error,\"An_export_declaration_cannot_have_modifiers_1193\",\"An export declaration cannot have modifiers.\"),Export_declarations_are_not_permitted_in_a_namespace:n(1194,e.DiagnosticCategory.Error,\"Export_declarations_are_not_permitted_in_a_namespace_1194\",\"Export declarations are not permitted in a namespace.\"),export_Asterisk_does_not_re_export_a_default:n(1195,e.DiagnosticCategory.Error,\"export_Asterisk_does_not_re_export_a_default_1195\",\"'export *' does not re-export a default.\"),Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified:n(1196,e.DiagnosticCategory.Error,\"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.\"),Catch_clause_variable_cannot_have_an_initializer:n(1197,e.DiagnosticCategory.Error,\"Catch_clause_variable_cannot_have_an_initializer_1197\",\"Catch clause variable cannot have an initializer.\"),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:n(1198,e.DiagnosticCategory.Error,\"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.\"),Unterminated_Unicode_escape_sequence:n(1199,e.DiagnosticCategory.Error,\"Unterminated_Unicode_escape_sequence_1199\",\"Unterminated Unicode escape sequence.\"),Line_terminator_not_permitted_before_arrow:n(1200,e.DiagnosticCategory.Error,\"Line_terminator_not_permitted_before_arrow_1200\",\"Line terminator not permitted before arrow.\"),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(1202,e.DiagnosticCategory.Error,\"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.`),Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead:n(1203,e.DiagnosticCategory.Error,\"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.\"),Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type:n(1205,e.DiagnosticCategory.Error,\"Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type_1205\",\"Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'.\"),Decorators_are_not_valid_here:n(1206,e.DiagnosticCategory.Error,\"Decorators_are_not_valid_here_1206\",\"Decorators are not valid here.\"),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:n(1207,e.DiagnosticCategory.Error,\"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.\"),_0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_import_export_or_an_empty_export_statement_to_make_it_a_module:n(1208,e.DiagnosticCategory.Error,\"_0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_imp_1208\",\"'{0}' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module.\"),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(1210,e.DiagnosticCategory.Error,\"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.\"),A_class_declaration_without_the_default_modifier_must_have_a_name:n(1211,e.DiagnosticCategory.Error,\"A_class_declaration_without_the_default_modifier_must_have_a_name_1211\",\"A class declaration without the 'default' modifier must have a name.\"),Identifier_expected_0_is_a_reserved_word_in_strict_mode:n(1212,e.DiagnosticCategory.Error,\"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212\",\"Identifier expected. '{0}' is a reserved word in strict mode.\"),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:n(1213,e.DiagnosticCategory.Error,\"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.\"),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:n(1214,e.DiagnosticCategory.Error,\"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.\"),Invalid_use_of_0_Modules_are_automatically_in_strict_mode:n(1215,e.DiagnosticCategory.Error,\"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215\",\"Invalid use of '{0}'. Modules are automatically in strict mode.\"),Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:n(1216,e.DiagnosticCategory.Error,\"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.\"),Export_assignment_is_not_supported_when_module_flag_is_system:n(1218,e.DiagnosticCategory.Error,\"Export_assignment_is_not_supported_when_module_flag_is_system_1218\",\"Export assignment is not supported when '--module' flag is 'system'.\"),Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning:n(1219,e.DiagnosticCategory.Error,\"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219\",\"Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning.\"),Generators_are_not_allowed_in_an_ambient_context:n(1221,e.DiagnosticCategory.Error,\"Generators_are_not_allowed_in_an_ambient_context_1221\",\"Generators are not allowed in an ambient context.\"),An_overload_signature_cannot_be_declared_as_a_generator:n(1222,e.DiagnosticCategory.Error,\"An_overload_signature_cannot_be_declared_as_a_generator_1222\",\"An overload signature cannot be declared as a generator.\"),_0_tag_already_specified:n(1223,e.DiagnosticCategory.Error,\"_0_tag_already_specified_1223\",\"'{0}' tag already specified.\"),Signature_0_must_be_a_type_predicate:n(1224,e.DiagnosticCategory.Error,\"Signature_0_must_be_a_type_predicate_1224\",\"Signature '{0}' must be a type predicate.\"),Cannot_find_parameter_0:n(1225,e.DiagnosticCategory.Error,\"Cannot_find_parameter_0_1225\",\"Cannot find parameter '{0}'.\"),Type_predicate_0_is_not_assignable_to_1:n(1226,e.DiagnosticCategory.Error,\"Type_predicate_0_is_not_assignable_to_1_1226\",\"Type predicate '{0}' is not assignable to '{1}'.\"),Parameter_0_is_not_in_the_same_position_as_parameter_1:n(1227,e.DiagnosticCategory.Error,\"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227\",\"Parameter '{0}' is not in the same position as parameter '{1}'.\"),A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:n(1228,e.DiagnosticCategory.Error,\"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.\"),A_type_predicate_cannot_reference_a_rest_parameter:n(1229,e.DiagnosticCategory.Error,\"A_type_predicate_cannot_reference_a_rest_parameter_1229\",\"A type predicate cannot reference a rest parameter.\"),A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:n(1230,e.DiagnosticCategory.Error,\"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230\",\"A type predicate cannot reference element '{0}' in a binding pattern.\"),An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:n(1231,e.DiagnosticCategory.Error,\"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.\"),An_import_declaration_can_only_be_used_in_a_namespace_or_module:n(1232,e.DiagnosticCategory.Error,\"An_import_declaration_can_only_be_used_in_a_namespace_or_module_1232\",\"An import declaration can only be used in a namespace or module.\"),An_export_declaration_can_only_be_used_in_a_module:n(1233,e.DiagnosticCategory.Error,\"An_export_declaration_can_only_be_used_in_a_module_1233\",\"An export declaration can only be used in a module.\"),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:n(1234,e.DiagnosticCategory.Error,\"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.\"),A_namespace_declaration_is_only_allowed_in_a_namespace_or_module:n(1235,e.DiagnosticCategory.Error,\"A_namespace_declaration_is_only_allowed_in_a_namespace_or_module_1235\",\"A namespace declaration is only allowed in a namespace or module.\"),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:n(1236,e.DiagnosticCategory.Error,\"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'.\"),The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:n(1237,e.DiagnosticCategory.Error,\"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'.\"),Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:n(1238,e.DiagnosticCategory.Error,\"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.\"),Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:n(1239,e.DiagnosticCategory.Error,\"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.\"),Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:n(1240,e.DiagnosticCategory.Error,\"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.\"),Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:n(1241,e.DiagnosticCategory.Error,\"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.\"),abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:n(1242,e.DiagnosticCategory.Error,\"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.\"),_0_modifier_cannot_be_used_with_1_modifier:n(1243,e.DiagnosticCategory.Error,\"_0_modifier_cannot_be_used_with_1_modifier_1243\",\"'{0}' modifier cannot be used with '{1}' modifier.\"),Abstract_methods_can_only_appear_within_an_abstract_class:n(1244,e.DiagnosticCategory.Error,\"Abstract_methods_can_only_appear_within_an_abstract_class_1244\",\"Abstract methods can only appear within an abstract class.\"),Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:n(1245,e.DiagnosticCategory.Error,\"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245\",\"Method '{0}' cannot have an implementation because it is marked abstract.\"),An_interface_property_cannot_have_an_initializer:n(1246,e.DiagnosticCategory.Error,\"An_interface_property_cannot_have_an_initializer_1246\",\"An interface property cannot have an initializer.\"),A_type_literal_property_cannot_have_an_initializer:n(1247,e.DiagnosticCategory.Error,\"A_type_literal_property_cannot_have_an_initializer_1247\",\"A type literal property cannot have an initializer.\"),A_class_member_cannot_have_the_0_keyword:n(1248,e.DiagnosticCategory.Error,\"A_class_member_cannot_have_the_0_keyword_1248\",\"A class member cannot have the '{0}' keyword.\"),A_decorator_can_only_decorate_a_method_implementation_not_an_overload:n(1249,e.DiagnosticCategory.Error,\"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249\",\"A decorator can only decorate a method implementation, not an overload.\"),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5:n(1250,e.DiagnosticCategory.Error,\"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'.\"),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:n(1251,e.DiagnosticCategory.Error,\"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.\"),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:n(1252,e.DiagnosticCategory.Error,\"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.\"),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:n(1254,e.DiagnosticCategory.Error,\"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.\"),A_definite_assignment_assertion_is_not_permitted_in_this_context:n(1255,e.DiagnosticCategory.Error,\"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255\",\"A definite assignment assertion '!' is not permitted in this context.\"),A_required_element_cannot_follow_an_optional_element:n(1257,e.DiagnosticCategory.Error,\"A_required_element_cannot_follow_an_optional_element_1257\",\"A required element cannot follow an optional element.\"),A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration:n(1258,e.DiagnosticCategory.Error,\"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.\"),Module_0_can_only_be_default_imported_using_the_1_flag:n(1259,e.DiagnosticCategory.Error,\"Module_0_can_only_be_default_imported_using_the_1_flag_1259\",\"Module '{0}' can only be default-imported using the '{1}' flag\"),Keywords_cannot_contain_escape_characters:n(1260,e.DiagnosticCategory.Error,\"Keywords_cannot_contain_escape_characters_1260\",\"Keywords cannot contain escape characters.\"),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:n(1261,e.DiagnosticCategory.Error,\"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.\"),Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module:n(1262,e.DiagnosticCategory.Error,\"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.\"),Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:n(1263,e.DiagnosticCategory.Error,\"Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263\",\"Declarations with initializers cannot also have definite assignment assertions.\"),Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:n(1264,e.DiagnosticCategory.Error,\"Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264\",\"Declarations with definite assignment assertions must also have type annotations.\"),A_rest_element_cannot_follow_another_rest_element:n(1265,e.DiagnosticCategory.Error,\"A_rest_element_cannot_follow_another_rest_element_1265\",\"A rest element cannot follow another rest element.\"),An_optional_element_cannot_follow_a_rest_element:n(1266,e.DiagnosticCategory.Error,\"An_optional_element_cannot_follow_a_rest_element_1266\",\"An optional element cannot follow a rest element.\"),Property_0_cannot_have_an_initializer_because_it_is_marked_abstract:n(1267,e.DiagnosticCategory.Error,\"Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267\",\"Property '{0}' cannot have an initializer because it is marked abstract.\"),An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type:n(1268,e.DiagnosticCategory.Error,\"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.\"),with_statements_are_not_allowed_in_an_async_function_block:n(1300,e.DiagnosticCategory.Error,\"with_statements_are_not_allowed_in_an_async_function_block_1300\",\"'with' statements are not allowed in an async function block.\"),await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:n(1308,e.DiagnosticCategory.Error,\"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.\"),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(1312,e.DiagnosticCategory.Error,\"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.\"),The_body_of_an_if_statement_cannot_be_the_empty_statement:n(1313,e.DiagnosticCategory.Error,\"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313\",\"The body of an 'if' statement cannot be the empty statement.\"),Global_module_exports_may_only_appear_in_module_files:n(1314,e.DiagnosticCategory.Error,\"Global_module_exports_may_only_appear_in_module_files_1314\",\"Global module exports may only appear in module files.\"),Global_module_exports_may_only_appear_in_declaration_files:n(1315,e.DiagnosticCategory.Error,\"Global_module_exports_may_only_appear_in_declaration_files_1315\",\"Global module exports may only appear in declaration files.\"),Global_module_exports_may_only_appear_at_top_level:n(1316,e.DiagnosticCategory.Error,\"Global_module_exports_may_only_appear_at_top_level_1316\",\"Global module exports may only appear at top level.\"),A_parameter_property_cannot_be_declared_using_a_rest_parameter:n(1317,e.DiagnosticCategory.Error,\"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317\",\"A parameter property cannot be declared using a rest parameter.\"),An_abstract_accessor_cannot_have_an_implementation:n(1318,e.DiagnosticCategory.Error,\"An_abstract_accessor_cannot_have_an_implementation_1318\",\"An abstract accessor cannot have an implementation.\"),A_default_export_can_only_be_used_in_an_ECMAScript_style_module:n(1319,e.DiagnosticCategory.Error,\"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.\"),Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:n(1320,e.DiagnosticCategory.Error,\"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.\"),Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:n(1321,e.DiagnosticCategory.Error,\"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.\"),Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:n(1322,e.DiagnosticCategory.Error,\"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.\"),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node12_or_nodenext:n(1323,e.DiagnosticCategory.Error,\"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', 'node12', or 'nodenext'.\"),Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext:n(1324,e.DiagnosticCategory.Error,\"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_1324\",\"Dynamic imports only support a second argument when the '--module' option is set to 'esnext'.\"),Argument_of_dynamic_import_cannot_be_spread_element:n(1325,e.DiagnosticCategory.Error,\"Argument_of_dynamic_import_cannot_be_spread_element_1325\",\"Argument of dynamic import cannot be spread element.\"),Dynamic_import_cannot_have_type_arguments:n(1326,e.DiagnosticCategory.Error,\"Dynamic_import_cannot_have_type_arguments_1326\",\"Dynamic import cannot have type arguments.\"),String_literal_with_double_quotes_expected:n(1327,e.DiagnosticCategory.Error,\"String_literal_with_double_quotes_expected_1327\",\"String literal with double quotes expected.\"),Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal:n(1328,e.DiagnosticCategory.Error,\"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.\"),_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0:n(1329,e.DiagnosticCategory.Error,\"_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}()'?\"),A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly:n(1330,e.DiagnosticCategory.Error,\"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'.\"),A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly:n(1331,e.DiagnosticCategory.Error,\"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'.\"),A_variable_whose_type_is_a_unique_symbol_type_must_be_const:n(1332,e.DiagnosticCategory.Error,\"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'.\"),unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name:n(1333,e.DiagnosticCategory.Error,\"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.\"),unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement:n(1334,e.DiagnosticCategory.Error,\"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.\"),unique_symbol_types_are_not_allowed_here:n(1335,e.DiagnosticCategory.Error,\"unique_symbol_types_are_not_allowed_here_1335\",\"'unique symbol' types are not allowed here.\"),An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead:n(1337,e.DiagnosticCategory.Error,\"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.\"),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:n(1338,e.DiagnosticCategory.Error,\"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.\"),Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:n(1339,e.DiagnosticCategory.Error,\"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.\"),Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0:n(1340,e.DiagnosticCategory.Error,\"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}')'?\"),Type_arguments_cannot_be_used_here:n(1342,e.DiagnosticCategory.Error,\"Type_arguments_cannot_be_used_here_1342\",\"Type arguments cannot be used here.\"),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node12_or_nodenext:n(1343,e.DiagnosticCategory.Error,\"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', 'node12', or 'nodenext'.\"),A_label_is_not_allowed_here:n(1344,e.DiagnosticCategory.Error,\"A_label_is_not_allowed_here_1344\",\"'A label is not allowed here.\"),An_expression_of_type_void_cannot_be_tested_for_truthiness:n(1345,e.DiagnosticCategory.Error,\"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345\",\"An expression of type 'void' cannot be tested for truthiness.\"),This_parameter_is_not_allowed_with_use_strict_directive:n(1346,e.DiagnosticCategory.Error,\"This_parameter_is_not_allowed_with_use_strict_directive_1346\",\"This parameter is not allowed with 'use strict' directive.\"),use_strict_directive_cannot_be_used_with_non_simple_parameter_list:n(1347,e.DiagnosticCategory.Error,\"use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347\",\"'use strict' directive cannot be used with non-simple parameter list.\"),Non_simple_parameter_declared_here:n(1348,e.DiagnosticCategory.Error,\"Non_simple_parameter_declared_here_1348\",\"Non-simple parameter declared here.\"),use_strict_directive_used_here:n(1349,e.DiagnosticCategory.Error,\"use_strict_directive_used_here_1349\",\"'use strict' directive used here.\"),Print_the_final_configuration_instead_of_building:n(1350,e.DiagnosticCategory.Message,\"Print_the_final_configuration_instead_of_building_1350\",\"Print the final configuration instead of building.\"),An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal:n(1351,e.DiagnosticCategory.Error,\"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351\",\"An identifier or keyword cannot immediately follow a numeric literal.\"),A_bigint_literal_cannot_use_exponential_notation:n(1352,e.DiagnosticCategory.Error,\"A_bigint_literal_cannot_use_exponential_notation_1352\",\"A bigint literal cannot use exponential notation.\"),A_bigint_literal_must_be_an_integer:n(1353,e.DiagnosticCategory.Error,\"A_bigint_literal_must_be_an_integer_1353\",\"A bigint literal must be an integer.\"),readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types:n(1354,e.DiagnosticCategory.Error,\"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.\"),A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals:n(1355,e.DiagnosticCategory.Error,\"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.\"),Did_you_mean_to_mark_this_function_as_async:n(1356,e.DiagnosticCategory.Error,\"Did_you_mean_to_mark_this_function_as_async_1356\",\"Did you mean to mark this function as 'async'?\"),An_enum_member_name_must_be_followed_by_a_or:n(1357,e.DiagnosticCategory.Error,\"An_enum_member_name_must_be_followed_by_a_or_1357\",\"An enum member name must be followed by a ',', '=', or '}'.\"),Tagged_template_expressions_are_not_permitted_in_an_optional_chain:n(1358,e.DiagnosticCategory.Error,\"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358\",\"Tagged template expressions are not permitted in an optional chain.\"),Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:n(1359,e.DiagnosticCategory.Error,\"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.\"),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:n(1361,e.DiagnosticCategory.Error,\"_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'.\"),_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:n(1362,e.DiagnosticCategory.Error,\"_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'.\"),A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both:n(1363,e.DiagnosticCategory.Error,\"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.\"),Convert_to_type_only_export:n(1364,e.DiagnosticCategory.Message,\"Convert_to_type_only_export_1364\",\"Convert to type-only export\"),Convert_all_re_exported_types_to_type_only_exports:n(1365,e.DiagnosticCategory.Message,\"Convert_all_re_exported_types_to_type_only_exports_1365\",\"Convert all re-exported types to type-only exports\"),Split_into_two_separate_import_declarations:n(1366,e.DiagnosticCategory.Message,\"Split_into_two_separate_import_declarations_1366\",\"Split into two separate import declarations\"),Split_all_invalid_type_only_imports:n(1367,e.DiagnosticCategory.Message,\"Split_all_invalid_type_only_imports_1367\",\"Split all invalid type-only imports\"),Did_you_mean_0:n(1369,e.DiagnosticCategory.Message,\"Did_you_mean_0_1369\",\"Did you mean '{0}'?\"),This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error:n(1371,e.DiagnosticCategory.Error,\"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'.\"),Convert_to_type_only_import:n(1373,e.DiagnosticCategory.Message,\"Convert_to_type_only_import_1373\",\"Convert to type-only import\"),Convert_all_imports_not_used_as_a_value_to_type_only_imports:n(1374,e.DiagnosticCategory.Message,\"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\"),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(1375,e.DiagnosticCategory.Error,\"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.\"),_0_was_imported_here:n(1376,e.DiagnosticCategory.Message,\"_0_was_imported_here_1376\",\"'{0}' was imported here.\"),_0_was_exported_here:n(1377,e.DiagnosticCategory.Message,\"_0_was_exported_here_1377\",\"'{0}' was exported here.\"),Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:n(1378,e.DiagnosticCategory.Error,\"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_o_1378\",\"Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', or 'nodenext', and the 'target' option is set to 'es2017' or higher.\"),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:n(1379,e.DiagnosticCategory.Error,\"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'.\"),An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type:n(1380,e.DiagnosticCategory.Error,\"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'.\"),Unexpected_token_Did_you_mean_or_rbrace:n(1381,e.DiagnosticCategory.Error,\"Unexpected_token_Did_you_mean_or_rbrace_1381\",\"Unexpected token. Did you mean `{'}'}` or `&rbrace;`?\"),Unexpected_token_Did_you_mean_or_gt:n(1382,e.DiagnosticCategory.Error,\"Unexpected_token_Did_you_mean_or_gt_1382\",\"Unexpected token. Did you mean `{'>'}` or `&gt;`?\"),Only_named_exports_may_use_export_type:n(1383,e.DiagnosticCategory.Error,\"Only_named_exports_may_use_export_type_1383\",\"Only named exports may use 'export type'.\"),A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list:n(1384,e.DiagnosticCategory.Error,\"A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list_1384\",\"A 'new' expression with type arguments must always be followed by a parenthesized argument list.\"),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:n(1385,e.DiagnosticCategory.Error,\"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.\"),Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:n(1386,e.DiagnosticCategory.Error,\"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.\"),Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:n(1387,e.DiagnosticCategory.Error,\"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.\"),Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:n(1388,e.DiagnosticCategory.Error,\"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.\"),_0_is_not_allowed_as_a_variable_declaration_name:n(1389,e.DiagnosticCategory.Error,\"_0_is_not_allowed_as_a_variable_declaration_name_1389\",\"'{0}' is not allowed as a variable declaration name.\"),_0_is_not_allowed_as_a_parameter_name:n(1390,e.DiagnosticCategory.Error,\"_0_is_not_allowed_as_a_parameter_name_1390\",\"'{0}' is not allowed as a parameter name.\"),An_import_alias_cannot_use_import_type:n(1392,e.DiagnosticCategory.Error,\"An_import_alias_cannot_use_import_type_1392\",\"An import alias cannot use 'import type'\"),Imported_via_0_from_file_1:n(1393,e.DiagnosticCategory.Message,\"Imported_via_0_from_file_1_1393\",\"Imported via {0} from file '{1}'\"),Imported_via_0_from_file_1_with_packageId_2:n(1394,e.DiagnosticCategory.Message,\"Imported_via_0_from_file_1_with_packageId_2_1394\",\"Imported via {0} from file '{1}' with packageId '{2}'\"),Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:n(1395,e.DiagnosticCategory.Message,\"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\"),Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:n(1396,e.DiagnosticCategory.Message,\"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\"),Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions:n(1397,e.DiagnosticCategory.Message,\"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\"),Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:n(1398,e.DiagnosticCategory.Message,\"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\"),File_is_included_via_import_here:n(1399,e.DiagnosticCategory.Message,\"File_is_included_via_import_here_1399\",\"File is included via import here.\"),Referenced_via_0_from_file_1:n(1400,e.DiagnosticCategory.Message,\"Referenced_via_0_from_file_1_1400\",\"Referenced via '{0}' from file '{1}'\"),File_is_included_via_reference_here:n(1401,e.DiagnosticCategory.Message,\"File_is_included_via_reference_here_1401\",\"File is included via reference here.\"),Type_library_referenced_via_0_from_file_1:n(1402,e.DiagnosticCategory.Message,\"Type_library_referenced_via_0_from_file_1_1402\",\"Type library referenced via '{0}' from file '{1}'\"),Type_library_referenced_via_0_from_file_1_with_packageId_2:n(1403,e.DiagnosticCategory.Message,\"Type_library_referenced_via_0_from_file_1_with_packageId_2_1403\",\"Type library referenced via '{0}' from file '{1}' with packageId '{2}'\"),File_is_included_via_type_library_reference_here:n(1404,e.DiagnosticCategory.Message,\"File_is_included_via_type_library_reference_here_1404\",\"File is included via type library reference here.\"),Library_referenced_via_0_from_file_1:n(1405,e.DiagnosticCategory.Message,\"Library_referenced_via_0_from_file_1_1405\",\"Library referenced via '{0}' from file '{1}'\"),File_is_included_via_library_reference_here:n(1406,e.DiagnosticCategory.Message,\"File_is_included_via_library_reference_here_1406\",\"File is included via library reference here.\"),Matched_by_include_pattern_0_in_1:n(1407,e.DiagnosticCategory.Message,\"Matched_by_include_pattern_0_in_1_1407\",\"Matched by include pattern '{0}' in '{1}'\"),File_is_matched_by_include_pattern_specified_here:n(1408,e.DiagnosticCategory.Message,\"File_is_matched_by_include_pattern_specified_here_1408\",\"File is matched by include pattern specified here.\"),Part_of_files_list_in_tsconfig_json:n(1409,e.DiagnosticCategory.Message,\"Part_of_files_list_in_tsconfig_json_1409\",\"Part of 'files' list in tsconfig.json\"),File_is_matched_by_files_list_specified_here:n(1410,e.DiagnosticCategory.Message,\"File_is_matched_by_files_list_specified_here_1410\",\"File is matched by 'files' list specified here.\"),Output_from_referenced_project_0_included_because_1_specified:n(1411,e.DiagnosticCategory.Message,\"Output_from_referenced_project_0_included_because_1_specified_1411\",\"Output from referenced project '{0}' included because '{1}' specified\"),Output_from_referenced_project_0_included_because_module_is_specified_as_none:n(1412,e.DiagnosticCategory.Message,\"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'\"),File_is_output_from_referenced_project_specified_here:n(1413,e.DiagnosticCategory.Message,\"File_is_output_from_referenced_project_specified_here_1413\",\"File is output from referenced project specified here.\"),Source_from_referenced_project_0_included_because_1_specified:n(1414,e.DiagnosticCategory.Message,\"Source_from_referenced_project_0_included_because_1_specified_1414\",\"Source from referenced project '{0}' included because '{1}' specified\"),Source_from_referenced_project_0_included_because_module_is_specified_as_none:n(1415,e.DiagnosticCategory.Message,\"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'\"),File_is_source_from_referenced_project_specified_here:n(1416,e.DiagnosticCategory.Message,\"File_is_source_from_referenced_project_specified_here_1416\",\"File is source from referenced project specified here.\"),Entry_point_of_type_library_0_specified_in_compilerOptions:n(1417,e.DiagnosticCategory.Message,\"Entry_point_of_type_library_0_specified_in_compilerOptions_1417\",\"Entry point of type library '{0}' specified in compilerOptions\"),Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1:n(1418,e.DiagnosticCategory.Message,\"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}'\"),File_is_entry_point_of_type_library_specified_here:n(1419,e.DiagnosticCategory.Message,\"File_is_entry_point_of_type_library_specified_here_1419\",\"File is entry point of type library specified here.\"),Entry_point_for_implicit_type_library_0:n(1420,e.DiagnosticCategory.Message,\"Entry_point_for_implicit_type_library_0_1420\",\"Entry point for implicit type library '{0}'\"),Entry_point_for_implicit_type_library_0_with_packageId_1:n(1421,e.DiagnosticCategory.Message,\"Entry_point_for_implicit_type_library_0_with_packageId_1_1421\",\"Entry point for implicit type library '{0}' with packageId '{1}'\"),Library_0_specified_in_compilerOptions:n(1422,e.DiagnosticCategory.Message,\"Library_0_specified_in_compilerOptions_1422\",\"Library '{0}' specified in compilerOptions\"),File_is_library_specified_here:n(1423,e.DiagnosticCategory.Message,\"File_is_library_specified_here_1423\",\"File is library specified here.\"),Default_library:n(1424,e.DiagnosticCategory.Message,\"Default_library_1424\",\"Default library\"),Default_library_for_target_0:n(1425,e.DiagnosticCategory.Message,\"Default_library_for_target_0_1425\",\"Default library for target '{0}'\"),File_is_default_library_for_target_specified_here:n(1426,e.DiagnosticCategory.Message,\"File_is_default_library_for_target_specified_here_1426\",\"File is default library for target specified here.\"),Root_file_specified_for_compilation:n(1427,e.DiagnosticCategory.Message,\"Root_file_specified_for_compilation_1427\",\"Root file specified for compilation\"),File_is_output_of_project_reference_source_0:n(1428,e.DiagnosticCategory.Message,\"File_is_output_of_project_reference_source_0_1428\",\"File is output of project reference source '{0}'\"),File_redirects_to_file_0:n(1429,e.DiagnosticCategory.Message,\"File_redirects_to_file_0_1429\",\"File redirects to file '{0}'\"),The_file_is_in_the_program_because_Colon:n(1430,e.DiagnosticCategory.Message,\"The_file_is_in_the_program_because_Colon_1430\",\"The file is in the program because:\"),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(1431,e.DiagnosticCategory.Error,\"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.\"),Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:n(1432,e.DiagnosticCategory.Error,\"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_or__1432\",\"Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', or 'nodenext', and the 'target' option is set to 'es2017' or higher.\"),Decorators_may_not_be_applied_to_this_parameters:n(1433,e.DiagnosticCategory.Error,\"Decorators_may_not_be_applied_to_this_parameters_1433\",\"Decorators may not be applied to 'this' parameters.\"),Unexpected_keyword_or_identifier:n(1434,e.DiagnosticCategory.Error,\"Unexpected_keyword_or_identifier_1434\",\"Unexpected keyword or identifier.\"),Unknown_keyword_or_identifier_Did_you_mean_0:n(1435,e.DiagnosticCategory.Error,\"Unknown_keyword_or_identifier_Did_you_mean_0_1435\",\"Unknown keyword or identifier. Did you mean '{0}'?\"),Decorators_must_precede_the_name_and_all_keywords_of_property_declarations:n(1436,e.DiagnosticCategory.Error,\"Decorators_must_precede_the_name_and_all_keywords_of_property_declarations_1436\",\"Decorators must precede the name and all keywords of property declarations.\"),Namespace_must_be_given_a_name:n(1437,e.DiagnosticCategory.Error,\"Namespace_must_be_given_a_name_1437\",\"Namespace must be given a name.\"),Interface_must_be_given_a_name:n(1438,e.DiagnosticCategory.Error,\"Interface_must_be_given_a_name_1438\",\"Interface must be given a name.\"),Type_alias_must_be_given_a_name:n(1439,e.DiagnosticCategory.Error,\"Type_alias_must_be_given_a_name_1439\",\"Type alias must be given a name.\"),Variable_declaration_not_allowed_at_this_location:n(1440,e.DiagnosticCategory.Error,\"Variable_declaration_not_allowed_at_this_location_1440\",\"Variable declaration not allowed at this location.\"),Cannot_start_a_function_call_in_a_type_annotation:n(1441,e.DiagnosticCategory.Error,\"Cannot_start_a_function_call_in_a_type_annotation_1441\",\"Cannot start a function call in a type annotation.\"),Expected_for_property_initializer:n(1442,e.DiagnosticCategory.Error,\"Expected_for_property_initializer_1442\",\"Expected '=' for property initializer.\"),Module_declaration_names_may_only_use_or_quoted_strings:n(1443,e.DiagnosticCategory.Error,\"Module_declaration_names_may_only_use_or_quoted_strings_1443\",`Module declaration names may only use ' or \" quoted strings.`),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:n(1444,e.DiagnosticCategory.Error,\"_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.\"),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:n(1446,e.DiagnosticCategory.Error,\"_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.\"),_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_isolatedModules_is_enabled:n(1448,e.DiagnosticCategory.Error,\"_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_isol_1448\",\"'{0}' resolves to a type-only declaration and must be re-exported using a type-only re-export when 'isolatedModules' is enabled.\"),Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed:n(1449,e.DiagnosticCategory.Message,\"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.\"),Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments:n(1450,e.DiagnosticCategory.Message,\"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\"),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(1451,e.DiagnosticCategory.Error,\"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\"),The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output:n(1470,e.DiagnosticCategory.Error,\"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.\"),Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_synchronously_Use_dynamic_import_instead:n(1471,e.DiagnosticCategory.Error,\"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 synchronously. Use dynamic import instead.\"),The_types_of_0_are_incompatible_between_these_types:n(2200,e.DiagnosticCategory.Error,\"The_types_of_0_are_incompatible_between_these_types_2200\",\"The types of '{0}' are incompatible between these types.\"),The_types_returned_by_0_are_incompatible_between_these_types:n(2201,e.DiagnosticCategory.Error,\"The_types_returned_by_0_are_incompatible_between_these_types_2201\",\"The types returned by '{0}' are incompatible between these types.\"),Call_signature_return_types_0_and_1_are_incompatible:n(2202,e.DiagnosticCategory.Error,\"Call_signature_return_types_0_and_1_are_incompatible_2202\",\"Call signature return types '{0}' and '{1}' are incompatible.\",void 0,!0),Construct_signature_return_types_0_and_1_are_incompatible:n(2203,e.DiagnosticCategory.Error,\"Construct_signature_return_types_0_and_1_are_incompatible_2203\",\"Construct signature return types '{0}' and '{1}' are incompatible.\",void 0,!0),Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:n(2204,e.DiagnosticCategory.Error,\"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204\",\"Call signatures with no arguments have incompatible return types '{0}' and '{1}'.\",void 0,!0),Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:n(2205,e.DiagnosticCategory.Error,\"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205\",\"Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.\",void 0,!0),The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:n(2206,e.DiagnosticCategory.Error,\"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.\"),The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement:n(2207,e.DiagnosticCategory.Error,\"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.\"),Duplicate_identifier_0:n(2300,e.DiagnosticCategory.Error,\"Duplicate_identifier_0_2300\",\"Duplicate identifier '{0}'.\"),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:n(2301,e.DiagnosticCategory.Error,\"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.\"),Static_members_cannot_reference_class_type_parameters:n(2302,e.DiagnosticCategory.Error,\"Static_members_cannot_reference_class_type_parameters_2302\",\"Static members cannot reference class type parameters.\"),Circular_definition_of_import_alias_0:n(2303,e.DiagnosticCategory.Error,\"Circular_definition_of_import_alias_0_2303\",\"Circular definition of import alias '{0}'.\"),Cannot_find_name_0:n(2304,e.DiagnosticCategory.Error,\"Cannot_find_name_0_2304\",\"Cannot find name '{0}'.\"),Module_0_has_no_exported_member_1:n(2305,e.DiagnosticCategory.Error,\"Module_0_has_no_exported_member_1_2305\",\"Module '{0}' has no exported member '{1}'.\"),File_0_is_not_a_module:n(2306,e.DiagnosticCategory.Error,\"File_0_is_not_a_module_2306\",\"File '{0}' is not a module.\"),Cannot_find_module_0_or_its_corresponding_type_declarations:n(2307,e.DiagnosticCategory.Error,\"Cannot_find_module_0_or_its_corresponding_type_declarations_2307\",\"Cannot find module '{0}' or its corresponding type declarations.\"),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:n(2308,e.DiagnosticCategory.Error,\"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.\"),An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:n(2309,e.DiagnosticCategory.Error,\"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.\"),Type_0_recursively_references_itself_as_a_base_type:n(2310,e.DiagnosticCategory.Error,\"Type_0_recursively_references_itself_as_a_base_type_2310\",\"Type '{0}' recursively references itself as a base type.\"),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:n(2312,e.DiagnosticCategory.Error,\"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.\"),Type_parameter_0_has_a_circular_constraint:n(2313,e.DiagnosticCategory.Error,\"Type_parameter_0_has_a_circular_constraint_2313\",\"Type parameter '{0}' has a circular constraint.\"),Generic_type_0_requires_1_type_argument_s:n(2314,e.DiagnosticCategory.Error,\"Generic_type_0_requires_1_type_argument_s_2314\",\"Generic type '{0}' requires {1} type argument(s).\"),Type_0_is_not_generic:n(2315,e.DiagnosticCategory.Error,\"Type_0_is_not_generic_2315\",\"Type '{0}' is not generic.\"),Global_type_0_must_be_a_class_or_interface_type:n(2316,e.DiagnosticCategory.Error,\"Global_type_0_must_be_a_class_or_interface_type_2316\",\"Global type '{0}' must be a class or interface type.\"),Global_type_0_must_have_1_type_parameter_s:n(2317,e.DiagnosticCategory.Error,\"Global_type_0_must_have_1_type_parameter_s_2317\",\"Global type '{0}' must have {1} type parameter(s).\"),Cannot_find_global_type_0:n(2318,e.DiagnosticCategory.Error,\"Cannot_find_global_type_0_2318\",\"Cannot find global type '{0}'.\"),Named_property_0_of_types_1_and_2_are_not_identical:n(2319,e.DiagnosticCategory.Error,\"Named_property_0_of_types_1_and_2_are_not_identical_2319\",\"Named property '{0}' of types '{1}' and '{2}' are not identical.\"),Interface_0_cannot_simultaneously_extend_types_1_and_2:n(2320,e.DiagnosticCategory.Error,\"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320\",\"Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'.\"),Excessive_stack_depth_comparing_types_0_and_1:n(2321,e.DiagnosticCategory.Error,\"Excessive_stack_depth_comparing_types_0_and_1_2321\",\"Excessive stack depth comparing types '{0}' and '{1}'.\"),Type_0_is_not_assignable_to_type_1:n(2322,e.DiagnosticCategory.Error,\"Type_0_is_not_assignable_to_type_1_2322\",\"Type '{0}' is not assignable to type '{1}'.\"),Cannot_redeclare_exported_variable_0:n(2323,e.DiagnosticCategory.Error,\"Cannot_redeclare_exported_variable_0_2323\",\"Cannot redeclare exported variable '{0}'.\"),Property_0_is_missing_in_type_1:n(2324,e.DiagnosticCategory.Error,\"Property_0_is_missing_in_type_1_2324\",\"Property '{0}' is missing in type '{1}'.\"),Property_0_is_private_in_type_1_but_not_in_type_2:n(2325,e.DiagnosticCategory.Error,\"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}'.\"),Types_of_property_0_are_incompatible:n(2326,e.DiagnosticCategory.Error,\"Types_of_property_0_are_incompatible_2326\",\"Types of property '{0}' are incompatible.\"),Property_0_is_optional_in_type_1_but_required_in_type_2:n(2327,e.DiagnosticCategory.Error,\"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}'.\"),Types_of_parameters_0_and_1_are_incompatible:n(2328,e.DiagnosticCategory.Error,\"Types_of_parameters_0_and_1_are_incompatible_2328\",\"Types of parameters '{0}' and '{1}' are incompatible.\"),Index_signature_for_type_0_is_missing_in_type_1:n(2329,e.DiagnosticCategory.Error,\"Index_signature_for_type_0_is_missing_in_type_1_2329\",\"Index signature for type '{0}' is missing in type '{1}'.\"),_0_and_1_index_signatures_are_incompatible:n(2330,e.DiagnosticCategory.Error,\"_0_and_1_index_signatures_are_incompatible_2330\",\"'{0}' and '{1}' index signatures are incompatible.\"),this_cannot_be_referenced_in_a_module_or_namespace_body:n(2331,e.DiagnosticCategory.Error,\"this_cannot_be_referenced_in_a_module_or_namespace_body_2331\",\"'this' cannot be referenced in a module or namespace body.\"),this_cannot_be_referenced_in_current_location:n(2332,e.DiagnosticCategory.Error,\"this_cannot_be_referenced_in_current_location_2332\",\"'this' cannot be referenced in current location.\"),this_cannot_be_referenced_in_constructor_arguments:n(2333,e.DiagnosticCategory.Error,\"this_cannot_be_referenced_in_constructor_arguments_2333\",\"'this' cannot be referenced in constructor arguments.\"),this_cannot_be_referenced_in_a_static_property_initializer:n(2334,e.DiagnosticCategory.Error,\"this_cannot_be_referenced_in_a_static_property_initializer_2334\",\"'this' cannot be referenced in a static property initializer.\"),super_can_only_be_referenced_in_a_derived_class:n(2335,e.DiagnosticCategory.Error,\"super_can_only_be_referenced_in_a_derived_class_2335\",\"'super' can only be referenced in a derived class.\"),super_cannot_be_referenced_in_constructor_arguments:n(2336,e.DiagnosticCategory.Error,\"super_cannot_be_referenced_in_constructor_arguments_2336\",\"'super' cannot be referenced in constructor arguments.\"),Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:n(2337,e.DiagnosticCategory.Error,\"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.\"),super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:n(2338,e.DiagnosticCategory.Error,\"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.\"),Property_0_does_not_exist_on_type_1:n(2339,e.DiagnosticCategory.Error,\"Property_0_does_not_exist_on_type_1_2339\",\"Property '{0}' does not exist on type '{1}'.\"),Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:n(2340,e.DiagnosticCategory.Error,\"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.\"),Property_0_is_private_and_only_accessible_within_class_1:n(2341,e.DiagnosticCategory.Error,\"Property_0_is_private_and_only_accessible_within_class_1_2341\",\"Property '{0}' is private and only accessible within class '{1}'.\"),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:n(2343,e.DiagnosticCategory.Error,\"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}'.\"),Type_0_does_not_satisfy_the_constraint_1:n(2344,e.DiagnosticCategory.Error,\"Type_0_does_not_satisfy_the_constraint_1_2344\",\"Type '{0}' does not satisfy the constraint '{1}'.\"),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:n(2345,e.DiagnosticCategory.Error,\"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}'.\"),Call_target_does_not_contain_any_signatures:n(2346,e.DiagnosticCategory.Error,\"Call_target_does_not_contain_any_signatures_2346\",\"Call target does not contain any signatures.\"),Untyped_function_calls_may_not_accept_type_arguments:n(2347,e.DiagnosticCategory.Error,\"Untyped_function_calls_may_not_accept_type_arguments_2347\",\"Untyped function calls may not accept type arguments.\"),Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:n(2348,e.DiagnosticCategory.Error,\"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'?\"),This_expression_is_not_callable:n(2349,e.DiagnosticCategory.Error,\"This_expression_is_not_callable_2349\",\"This expression is not callable.\"),Only_a_void_function_can_be_called_with_the_new_keyword:n(2350,e.DiagnosticCategory.Error,\"Only_a_void_function_can_be_called_with_the_new_keyword_2350\",\"Only a void function can be called with the 'new' keyword.\"),This_expression_is_not_constructable:n(2351,e.DiagnosticCategory.Error,\"This_expression_is_not_constructable_2351\",\"This expression is not constructable.\"),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(2352,e.DiagnosticCategory.Error,\"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.\"),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:n(2353,e.DiagnosticCategory.Error,\"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}'.\"),This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:n(2354,e.DiagnosticCategory.Error,\"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.\"),A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value:n(2355,e.DiagnosticCategory.Error,\"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.\"),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:n(2356,e.DiagnosticCategory.Error,\"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.\"),The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:n(2357,e.DiagnosticCategory.Error,\"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.\"),The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:n(2358,e.DiagnosticCategory.Error,\"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.\"),The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type:n(2359,e.DiagnosticCategory.Error,\"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.\"),The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or_symbol:n(2360,e.DiagnosticCategory.Error,\"The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or__2360\",\"The left-hand side of an 'in' expression must be a private identifier or of type 'any', 'string', 'number', or 'symbol'.\"),The_right_hand_side_of_an_in_expression_must_not_be_a_primitive:n(2361,e.DiagnosticCategory.Error,\"The_right_hand_side_of_an_in_expression_must_not_be_a_primitive_2361\",\"The right-hand side of an 'in' expression must not be a primitive.\"),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:n(2362,e.DiagnosticCategory.Error,\"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.\"),The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:n(2363,e.DiagnosticCategory.Error,\"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.\"),The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:n(2364,e.DiagnosticCategory.Error,\"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.\"),Operator_0_cannot_be_applied_to_types_1_and_2:n(2365,e.DiagnosticCategory.Error,\"Operator_0_cannot_be_applied_to_types_1_and_2_2365\",\"Operator '{0}' cannot be applied to types '{1}' and '{2}'.\"),Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:n(2366,e.DiagnosticCategory.Error,\"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'.\"),This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap:n(2367,e.DiagnosticCategory.Error,\"This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap_2367\",\"This condition will always return '{0}' since the types '{1}' and '{2}' have no overlap.\"),Type_parameter_name_cannot_be_0:n(2368,e.DiagnosticCategory.Error,\"Type_parameter_name_cannot_be_0_2368\",\"Type parameter name cannot be '{0}'.\"),A_parameter_property_is_only_allowed_in_a_constructor_implementation:n(2369,e.DiagnosticCategory.Error,\"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369\",\"A parameter property is only allowed in a constructor implementation.\"),A_rest_parameter_must_be_of_an_array_type:n(2370,e.DiagnosticCategory.Error,\"A_rest_parameter_must_be_of_an_array_type_2370\",\"A rest parameter must be of an array type.\"),A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:n(2371,e.DiagnosticCategory.Error,\"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.\"),Parameter_0_cannot_reference_itself:n(2372,e.DiagnosticCategory.Error,\"Parameter_0_cannot_reference_itself_2372\",\"Parameter '{0}' cannot reference itself.\"),Parameter_0_cannot_reference_identifier_1_declared_after_it:n(2373,e.DiagnosticCategory.Error,\"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373\",\"Parameter '{0}' cannot reference identifier '{1}' declared after it.\"),Duplicate_index_signature_for_type_0:n(2374,e.DiagnosticCategory.Error,\"Duplicate_index_signature_for_type_0_2374\",\"Duplicate index signature for type '{0}'.\"),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:n(2375,e.DiagnosticCategory.Error,\"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.\"),A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_parameter_properties_or_private_identifiers:n(2376,e.DiagnosticCategory.Error,\"A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_proper_2376\",\"A 'super' call must be the first statement in the constructor when a class contains initialized properties, parameter properties, or private identifiers.\"),Constructors_for_derived_classes_must_contain_a_super_call:n(2377,e.DiagnosticCategory.Error,\"Constructors_for_derived_classes_must_contain_a_super_call_2377\",\"Constructors for derived classes must contain a 'super' call.\"),A_get_accessor_must_return_a_value:n(2378,e.DiagnosticCategory.Error,\"A_get_accessor_must_return_a_value_2378\",\"A 'get' accessor must return a value.\"),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(2379,e.DiagnosticCategory.Error,\"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.\"),The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type:n(2380,e.DiagnosticCategory.Error,\"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\"),Overload_signatures_must_all_be_exported_or_non_exported:n(2383,e.DiagnosticCategory.Error,\"Overload_signatures_must_all_be_exported_or_non_exported_2383\",\"Overload signatures must all be exported or non-exported.\"),Overload_signatures_must_all_be_ambient_or_non_ambient:n(2384,e.DiagnosticCategory.Error,\"Overload_signatures_must_all_be_ambient_or_non_ambient_2384\",\"Overload signatures must all be ambient or non-ambient.\"),Overload_signatures_must_all_be_public_private_or_protected:n(2385,e.DiagnosticCategory.Error,\"Overload_signatures_must_all_be_public_private_or_protected_2385\",\"Overload signatures must all be public, private or protected.\"),Overload_signatures_must_all_be_optional_or_required:n(2386,e.DiagnosticCategory.Error,\"Overload_signatures_must_all_be_optional_or_required_2386\",\"Overload signatures must all be optional or required.\"),Function_overload_must_be_static:n(2387,e.DiagnosticCategory.Error,\"Function_overload_must_be_static_2387\",\"Function overload must be static.\"),Function_overload_must_not_be_static:n(2388,e.DiagnosticCategory.Error,\"Function_overload_must_not_be_static_2388\",\"Function overload must not be static.\"),Function_implementation_name_must_be_0:n(2389,e.DiagnosticCategory.Error,\"Function_implementation_name_must_be_0_2389\",\"Function implementation name must be '{0}'.\"),Constructor_implementation_is_missing:n(2390,e.DiagnosticCategory.Error,\"Constructor_implementation_is_missing_2390\",\"Constructor implementation is missing.\"),Function_implementation_is_missing_or_not_immediately_following_the_declaration:n(2391,e.DiagnosticCategory.Error,\"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391\",\"Function implementation is missing or not immediately following the declaration.\"),Multiple_constructor_implementations_are_not_allowed:n(2392,e.DiagnosticCategory.Error,\"Multiple_constructor_implementations_are_not_allowed_2392\",\"Multiple constructor implementations are not allowed.\"),Duplicate_function_implementation:n(2393,e.DiagnosticCategory.Error,\"Duplicate_function_implementation_2393\",\"Duplicate function implementation.\"),This_overload_signature_is_not_compatible_with_its_implementation_signature:n(2394,e.DiagnosticCategory.Error,\"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394\",\"This overload signature is not compatible with its implementation signature.\"),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:n(2395,e.DiagnosticCategory.Error,\"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.\"),Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:n(2396,e.DiagnosticCategory.Error,\"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396\",\"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.\"),Declaration_name_conflicts_with_built_in_global_identifier_0:n(2397,e.DiagnosticCategory.Error,\"Declaration_name_conflicts_with_built_in_global_identifier_0_2397\",\"Declaration name conflicts with built-in global identifier '{0}'.\"),constructor_cannot_be_used_as_a_parameter_property_name:n(2398,e.DiagnosticCategory.Error,\"constructor_cannot_be_used_as_a_parameter_property_name_2398\",\"'constructor' cannot be used as a parameter property name.\"),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:n(2399,e.DiagnosticCategory.Error,\"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.\"),Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:n(2400,e.DiagnosticCategory.Error,\"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.\"),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:n(2402,e.DiagnosticCategory.Error,\"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.\"),Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:n(2403,e.DiagnosticCategory.Error,\"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}'.\"),The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:n(2404,e.DiagnosticCategory.Error,\"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.\"),The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:n(2405,e.DiagnosticCategory.Error,\"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'.\"),The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:n(2406,e.DiagnosticCategory.Error,\"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.\"),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(2407,e.DiagnosticCategory.Error,\"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}'.\"),Setters_cannot_return_a_value:n(2408,e.DiagnosticCategory.Error,\"Setters_cannot_return_a_value_2408\",\"Setters cannot return a value.\"),Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:n(2409,e.DiagnosticCategory.Error,\"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.\"),The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:n(2410,e.DiagnosticCategory.Error,\"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'.\"),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target:n(2412,e.DiagnosticCategory.Error,\"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.\"),Property_0_of_type_1_is_not_assignable_to_2_index_type_3:n(2411,e.DiagnosticCategory.Error,\"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}'.\"),_0_index_type_1_is_not_assignable_to_2_index_type_3:n(2413,e.DiagnosticCategory.Error,\"_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}'.\"),Class_name_cannot_be_0:n(2414,e.DiagnosticCategory.Error,\"Class_name_cannot_be_0_2414\",\"Class name cannot be '{0}'.\"),Class_0_incorrectly_extends_base_class_1:n(2415,e.DiagnosticCategory.Error,\"Class_0_incorrectly_extends_base_class_1_2415\",\"Class '{0}' incorrectly extends base class '{1}'.\"),Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2:n(2416,e.DiagnosticCategory.Error,\"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}'.\"),Class_static_side_0_incorrectly_extends_base_class_static_side_1:n(2417,e.DiagnosticCategory.Error,\"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417\",\"Class static side '{0}' incorrectly extends base class static side '{1}'.\"),Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:n(2418,e.DiagnosticCategory.Error,\"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}'.\"),Types_of_construct_signatures_are_incompatible:n(2419,e.DiagnosticCategory.Error,\"Types_of_construct_signatures_are_incompatible_2419\",\"Types of construct signatures are incompatible.\"),Class_0_incorrectly_implements_interface_1:n(2420,e.DiagnosticCategory.Error,\"Class_0_incorrectly_implements_interface_1_2420\",\"Class '{0}' incorrectly implements interface '{1}'.\"),A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members:n(2422,e.DiagnosticCategory.Error,\"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.\"),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:n(2423,e.DiagnosticCategory.Error,\"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.\"),Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:n(2425,e.DiagnosticCategory.Error,\"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.\"),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:n(2426,e.DiagnosticCategory.Error,\"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.\"),Interface_name_cannot_be_0:n(2427,e.DiagnosticCategory.Error,\"Interface_name_cannot_be_0_2427\",\"Interface name cannot be '{0}'.\"),All_declarations_of_0_must_have_identical_type_parameters:n(2428,e.DiagnosticCategory.Error,\"All_declarations_of_0_must_have_identical_type_parameters_2428\",\"All declarations of '{0}' must have identical type parameters.\"),Interface_0_incorrectly_extends_interface_1:n(2430,e.DiagnosticCategory.Error,\"Interface_0_incorrectly_extends_interface_1_2430\",\"Interface '{0}' incorrectly extends interface '{1}'.\"),Enum_name_cannot_be_0:n(2431,e.DiagnosticCategory.Error,\"Enum_name_cannot_be_0_2431\",\"Enum name cannot be '{0}'.\"),In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:n(2432,e.DiagnosticCategory.Error,\"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.\"),A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:n(2433,e.DiagnosticCategory.Error,\"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.\"),A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:n(2434,e.DiagnosticCategory.Error,\"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.\"),Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:n(2435,e.DiagnosticCategory.Error,\"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435\",\"Ambient modules cannot be nested in other modules or namespaces.\"),Ambient_module_declaration_cannot_specify_relative_module_name:n(2436,e.DiagnosticCategory.Error,\"Ambient_module_declaration_cannot_specify_relative_module_name_2436\",\"Ambient module declaration cannot specify relative module name.\"),Module_0_is_hidden_by_a_local_declaration_with_the_same_name:n(2437,e.DiagnosticCategory.Error,\"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.\"),Import_name_cannot_be_0:n(2438,e.DiagnosticCategory.Error,\"Import_name_cannot_be_0_2438\",\"Import name cannot be '{0}'.\"),Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:n(2439,e.DiagnosticCategory.Error,\"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.\"),Import_declaration_conflicts_with_local_declaration_of_0:n(2440,e.DiagnosticCategory.Error,\"Import_declaration_conflicts_with_local_declaration_of_0_2440\",\"Import declaration conflicts with local declaration of '{0}'.\"),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:n(2441,e.DiagnosticCategory.Error,\"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.\"),Types_have_separate_declarations_of_a_private_property_0:n(2442,e.DiagnosticCategory.Error,\"Types_have_separate_declarations_of_a_private_property_0_2442\",\"Types have separate declarations of a private property '{0}'.\"),Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:n(2443,e.DiagnosticCategory.Error,\"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}'.\"),Property_0_is_protected_in_type_1_but_public_in_type_2:n(2444,e.DiagnosticCategory.Error,\"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}'.\"),Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:n(2445,e.DiagnosticCategory.Error,\"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.\"),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2:n(2446,e.DiagnosticCategory.Error,\"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}'.\"),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:n(2447,e.DiagnosticCategory.Error,\"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.\"),Block_scoped_variable_0_used_before_its_declaration:n(2448,e.DiagnosticCategory.Error,\"Block_scoped_variable_0_used_before_its_declaration_2448\",\"Block-scoped variable '{0}' used before its declaration.\"),Class_0_used_before_its_declaration:n(2449,e.DiagnosticCategory.Error,\"Class_0_used_before_its_declaration_2449\",\"Class '{0}' used before its declaration.\"),Enum_0_used_before_its_declaration:n(2450,e.DiagnosticCategory.Error,\"Enum_0_used_before_its_declaration_2450\",\"Enum '{0}' used before its declaration.\"),Cannot_redeclare_block_scoped_variable_0:n(2451,e.DiagnosticCategory.Error,\"Cannot_redeclare_block_scoped_variable_0_2451\",\"Cannot redeclare block-scoped variable '{0}'.\"),An_enum_member_cannot_have_a_numeric_name:n(2452,e.DiagnosticCategory.Error,\"An_enum_member_cannot_have_a_numeric_name_2452\",\"An enum member cannot have a numeric name.\"),Variable_0_is_used_before_being_assigned:n(2454,e.DiagnosticCategory.Error,\"Variable_0_is_used_before_being_assigned_2454\",\"Variable '{0}' is used before being assigned.\"),Type_alias_0_circularly_references_itself:n(2456,e.DiagnosticCategory.Error,\"Type_alias_0_circularly_references_itself_2456\",\"Type alias '{0}' circularly references itself.\"),Type_alias_name_cannot_be_0:n(2457,e.DiagnosticCategory.Error,\"Type_alias_name_cannot_be_0_2457\",\"Type alias name cannot be '{0}'.\"),An_AMD_module_cannot_have_multiple_name_assignments:n(2458,e.DiagnosticCategory.Error,\"An_AMD_module_cannot_have_multiple_name_assignments_2458\",\"An AMD module cannot have multiple name assignments.\"),Module_0_declares_1_locally_but_it_is_not_exported:n(2459,e.DiagnosticCategory.Error,\"Module_0_declares_1_locally_but_it_is_not_exported_2459\",\"Module '{0}' declares '{1}' locally, but it is not exported.\"),Module_0_declares_1_locally_but_it_is_exported_as_2:n(2460,e.DiagnosticCategory.Error,\"Module_0_declares_1_locally_but_it_is_exported_as_2_2460\",\"Module '{0}' declares '{1}' locally, but it is exported as '{2}'.\"),Type_0_is_not_an_array_type:n(2461,e.DiagnosticCategory.Error,\"Type_0_is_not_an_array_type_2461\",\"Type '{0}' is not an array type.\"),A_rest_element_must_be_last_in_a_destructuring_pattern:n(2462,e.DiagnosticCategory.Error,\"A_rest_element_must_be_last_in_a_destructuring_pattern_2462\",\"A rest element must be last in a destructuring pattern.\"),A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:n(2463,e.DiagnosticCategory.Error,\"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463\",\"A binding pattern parameter cannot be optional in an implementation signature.\"),A_computed_property_name_must_be_of_type_string_number_symbol_or_any:n(2464,e.DiagnosticCategory.Error,\"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'.\"),this_cannot_be_referenced_in_a_computed_property_name:n(2465,e.DiagnosticCategory.Error,\"this_cannot_be_referenced_in_a_computed_property_name_2465\",\"'this' cannot be referenced in a computed property name.\"),super_cannot_be_referenced_in_a_computed_property_name:n(2466,e.DiagnosticCategory.Error,\"super_cannot_be_referenced_in_a_computed_property_name_2466\",\"'super' cannot be referenced in a computed property name.\"),A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:n(2467,e.DiagnosticCategory.Error,\"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.\"),Cannot_find_global_value_0:n(2468,e.DiagnosticCategory.Error,\"Cannot_find_global_value_0_2468\",\"Cannot find global value '{0}'.\"),The_0_operator_cannot_be_applied_to_type_symbol:n(2469,e.DiagnosticCategory.Error,\"The_0_operator_cannot_be_applied_to_type_symbol_2469\",\"The '{0}' operator cannot be applied to type 'symbol'.\"),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:n(2472,e.DiagnosticCategory.Error,\"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.\"),Enum_declarations_must_all_be_const_or_non_const:n(2473,e.DiagnosticCategory.Error,\"Enum_declarations_must_all_be_const_or_non_const_2473\",\"Enum declarations must all be const or non-const.\"),const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values:n(2474,e.DiagnosticCategory.Error,\"const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values_2474\",\"const enum member initializers can only contain literal values and other computed enum values.\"),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(2475,e.DiagnosticCategory.Error,\"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.\"),A_const_enum_member_can_only_be_accessed_using_a_string_literal:n(2476,e.DiagnosticCategory.Error,\"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.\"),const_enum_member_initializer_was_evaluated_to_a_non_finite_value:n(2477,e.DiagnosticCategory.Error,\"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477\",\"'const' enum member initializer was evaluated to a non-finite value.\"),const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:n(2478,e.DiagnosticCategory.Error,\"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478\",\"'const' enum member initializer was evaluated to disallowed value 'NaN'.\"),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:n(2480,e.DiagnosticCategory.Error,\"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.\"),Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:n(2481,e.DiagnosticCategory.Error,\"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}'.\"),The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:n(2483,e.DiagnosticCategory.Error,\"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.\"),Export_declaration_conflicts_with_exported_declaration_of_0:n(2484,e.DiagnosticCategory.Error,\"Export_declaration_conflicts_with_exported_declaration_of_0_2484\",\"Export declaration conflicts with exported declaration of '{0}'.\"),The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access:n(2487,e.DiagnosticCategory.Error,\"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.\"),Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator:n(2488,e.DiagnosticCategory.Error,\"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.\"),An_iterator_must_have_a_next_method:n(2489,e.DiagnosticCategory.Error,\"An_iterator_must_have_a_next_method_2489\",\"An iterator must have a 'next()' method.\"),The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property:n(2490,e.DiagnosticCategory.Error,\"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.\"),The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:n(2491,e.DiagnosticCategory.Error,\"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.\"),Cannot_redeclare_identifier_0_in_catch_clause:n(2492,e.DiagnosticCategory.Error,\"Cannot_redeclare_identifier_0_in_catch_clause_2492\",\"Cannot redeclare identifier '{0}' in catch clause.\"),Tuple_type_0_of_length_1_has_no_element_at_index_2:n(2493,e.DiagnosticCategory.Error,\"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}'.\"),Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:n(2494,e.DiagnosticCategory.Error,\"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.\"),Type_0_is_not_an_array_type_or_a_string_type:n(2495,e.DiagnosticCategory.Error,\"Type_0_is_not_an_array_type_or_a_string_type_2495\",\"Type '{0}' is not an array type or a string type.\"),The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression:n(2496,e.DiagnosticCategory.Error,\"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.\"),This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export:n(2497,e.DiagnosticCategory.Error,\"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.\"),Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:n(2498,e.DiagnosticCategory.Error,\"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498\",\"Module '{0}' uses 'export =' and cannot be used with 'export *'.\"),An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:n(2499,e.DiagnosticCategory.Error,\"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.\"),A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:n(2500,e.DiagnosticCategory.Error,\"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.\"),A_rest_element_cannot_contain_a_binding_pattern:n(2501,e.DiagnosticCategory.Error,\"A_rest_element_cannot_contain_a_binding_pattern_2501\",\"A rest element cannot contain a binding pattern.\"),_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:n(2502,e.DiagnosticCategory.Error,\"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502\",\"'{0}' is referenced directly or indirectly in its own type annotation.\"),Cannot_find_namespace_0:n(2503,e.DiagnosticCategory.Error,\"Cannot_find_namespace_0_2503\",\"Cannot find namespace '{0}'.\"),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:n(2504,e.DiagnosticCategory.Error,\"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.\"),A_generator_cannot_have_a_void_type_annotation:n(2505,e.DiagnosticCategory.Error,\"A_generator_cannot_have_a_void_type_annotation_2505\",\"A generator cannot have a 'void' type annotation.\"),_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:n(2506,e.DiagnosticCategory.Error,\"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506\",\"'{0}' is referenced directly or indirectly in its own base expression.\"),Type_0_is_not_a_constructor_function_type:n(2507,e.DiagnosticCategory.Error,\"Type_0_is_not_a_constructor_function_type_2507\",\"Type '{0}' is not a constructor function type.\"),No_base_constructor_has_the_specified_number_of_type_arguments:n(2508,e.DiagnosticCategory.Error,\"No_base_constructor_has_the_specified_number_of_type_arguments_2508\",\"No base constructor has the specified number of type arguments.\"),Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members:n(2509,e.DiagnosticCategory.Error,\"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.\"),Base_constructors_must_all_have_the_same_return_type:n(2510,e.DiagnosticCategory.Error,\"Base_constructors_must_all_have_the_same_return_type_2510\",\"Base constructors must all have the same return type.\"),Cannot_create_an_instance_of_an_abstract_class:n(2511,e.DiagnosticCategory.Error,\"Cannot_create_an_instance_of_an_abstract_class_2511\",\"Cannot create an instance of an abstract class.\"),Overload_signatures_must_all_be_abstract_or_non_abstract:n(2512,e.DiagnosticCategory.Error,\"Overload_signatures_must_all_be_abstract_or_non_abstract_2512\",\"Overload signatures must all be abstract or non-abstract.\"),Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:n(2513,e.DiagnosticCategory.Error,\"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.\"),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:n(2515,e.DiagnosticCategory.Error,\"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}'.\"),All_declarations_of_an_abstract_method_must_be_consecutive:n(2516,e.DiagnosticCategory.Error,\"All_declarations_of_an_abstract_method_must_be_consecutive_2516\",\"All declarations of an abstract method must be consecutive.\"),Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:n(2517,e.DiagnosticCategory.Error,\"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.\"),A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:n(2518,e.DiagnosticCategory.Error,\"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.\"),An_async_iterator_must_have_a_next_method:n(2519,e.DiagnosticCategory.Error,\"An_async_iterator_must_have_a_next_method_2519\",\"An async iterator must have a 'next()' method.\"),Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:n(2520,e.DiagnosticCategory.Error,\"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520\",\"Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions.\"),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:n(2522,e.DiagnosticCategory.Error,\"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.\"),yield_expressions_cannot_be_used_in_a_parameter_initializer:n(2523,e.DiagnosticCategory.Error,\"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523\",\"'yield' expressions cannot be used in a parameter initializer.\"),await_expressions_cannot_be_used_in_a_parameter_initializer:n(2524,e.DiagnosticCategory.Error,\"await_expressions_cannot_be_used_in_a_parameter_initializer_2524\",\"'await' expressions cannot be used in a parameter initializer.\"),Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value:n(2525,e.DiagnosticCategory.Error,\"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.\"),A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:n(2526,e.DiagnosticCategory.Error,\"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.\"),The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary:n(2527,e.DiagnosticCategory.Error,\"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.\"),A_module_cannot_have_multiple_default_exports:n(2528,e.DiagnosticCategory.Error,\"A_module_cannot_have_multiple_default_exports_2528\",\"A module cannot have multiple default exports.\"),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:n(2529,e.DiagnosticCategory.Error,\"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.\"),Property_0_is_incompatible_with_index_signature:n(2530,e.DiagnosticCategory.Error,\"Property_0_is_incompatible_with_index_signature_2530\",\"Property '{0}' is incompatible with index signature.\"),Object_is_possibly_null:n(2531,e.DiagnosticCategory.Error,\"Object_is_possibly_null_2531\",\"Object is possibly 'null'.\"),Object_is_possibly_undefined:n(2532,e.DiagnosticCategory.Error,\"Object_is_possibly_undefined_2532\",\"Object is possibly 'undefined'.\"),Object_is_possibly_null_or_undefined:n(2533,e.DiagnosticCategory.Error,\"Object_is_possibly_null_or_undefined_2533\",\"Object is possibly 'null' or 'undefined'.\"),A_function_returning_never_cannot_have_a_reachable_end_point:n(2534,e.DiagnosticCategory.Error,\"A_function_returning_never_cannot_have_a_reachable_end_point_2534\",\"A function returning 'never' cannot have a reachable end point.\"),Enum_type_0_has_members_with_initializers_that_are_not_literals:n(2535,e.DiagnosticCategory.Error,\"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535\",\"Enum type '{0}' has members with initializers that are not literals.\"),Type_0_cannot_be_used_to_index_type_1:n(2536,e.DiagnosticCategory.Error,\"Type_0_cannot_be_used_to_index_type_1_2536\",\"Type '{0}' cannot be used to index type '{1}'.\"),Type_0_has_no_matching_index_signature_for_type_1:n(2537,e.DiagnosticCategory.Error,\"Type_0_has_no_matching_index_signature_for_type_1_2537\",\"Type '{0}' has no matching index signature for type '{1}'.\"),Type_0_cannot_be_used_as_an_index_type:n(2538,e.DiagnosticCategory.Error,\"Type_0_cannot_be_used_as_an_index_type_2538\",\"Type '{0}' cannot be used as an index type.\"),Cannot_assign_to_0_because_it_is_not_a_variable:n(2539,e.DiagnosticCategory.Error,\"Cannot_assign_to_0_because_it_is_not_a_variable_2539\",\"Cannot assign to '{0}' because it is not a variable.\"),Cannot_assign_to_0_because_it_is_a_read_only_property:n(2540,e.DiagnosticCategory.Error,\"Cannot_assign_to_0_because_it_is_a_read_only_property_2540\",\"Cannot assign to '{0}' because it is a read-only property.\"),Index_signature_in_type_0_only_permits_reading:n(2542,e.DiagnosticCategory.Error,\"Index_signature_in_type_0_only_permits_reading_2542\",\"Index signature in type '{0}' only permits reading.\"),Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:n(2543,e.DiagnosticCategory.Error,\"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.\"),Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:n(2544,e.DiagnosticCategory.Error,\"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.\"),A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:n(2545,e.DiagnosticCategory.Error,\"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[]'.\"),The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:n(2547,e.DiagnosticCategory.Error,\"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.\"),Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:n(2548,e.DiagnosticCategory.Error,\"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.\"),Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:n(2549,e.DiagnosticCategory.Error,\"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.\"),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(2550,e.DiagnosticCategory.Error,\"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.\"),Property_0_does_not_exist_on_type_1_Did_you_mean_2:n(2551,e.DiagnosticCategory.Error,\"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}'?\"),Cannot_find_name_0_Did_you_mean_1:n(2552,e.DiagnosticCategory.Error,\"Cannot_find_name_0_Did_you_mean_1_2552\",\"Cannot find name '{0}'. Did you mean '{1}'?\"),Computed_values_are_not_permitted_in_an_enum_with_string_valued_members:n(2553,e.DiagnosticCategory.Error,\"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.\"),Expected_0_arguments_but_got_1:n(2554,e.DiagnosticCategory.Error,\"Expected_0_arguments_but_got_1_2554\",\"Expected {0} arguments, but got {1}.\"),Expected_at_least_0_arguments_but_got_1:n(2555,e.DiagnosticCategory.Error,\"Expected_at_least_0_arguments_but_got_1_2555\",\"Expected at least {0} arguments, but got {1}.\"),A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter:n(2556,e.DiagnosticCategory.Error,\"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.\"),Expected_0_type_arguments_but_got_1:n(2558,e.DiagnosticCategory.Error,\"Expected_0_type_arguments_but_got_1_2558\",\"Expected {0} type arguments, but got {1}.\"),Type_0_has_no_properties_in_common_with_type_1:n(2559,e.DiagnosticCategory.Error,\"Type_0_has_no_properties_in_common_with_type_1_2559\",\"Type '{0}' has no properties in common with type '{1}'.\"),Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it:n(2560,e.DiagnosticCategory.Error,\"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?\"),Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2:n(2561,e.DiagnosticCategory.Error,\"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}'?\"),Base_class_expressions_cannot_reference_class_type_parameters:n(2562,e.DiagnosticCategory.Error,\"Base_class_expressions_cannot_reference_class_type_parameters_2562\",\"Base class expressions cannot reference class type parameters.\"),The_containing_function_or_module_body_is_too_large_for_control_flow_analysis:n(2563,e.DiagnosticCategory.Error,\"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.\"),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor:n(2564,e.DiagnosticCategory.Error,\"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.\"),Property_0_is_used_before_being_assigned:n(2565,e.DiagnosticCategory.Error,\"Property_0_is_used_before_being_assigned_2565\",\"Property '{0}' is used before being assigned.\"),A_rest_element_cannot_have_a_property_name:n(2566,e.DiagnosticCategory.Error,\"A_rest_element_cannot_have_a_property_name_2566\",\"A rest element cannot have a property name.\"),Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:n(2567,e.DiagnosticCategory.Error,\"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567\",\"Enum declarations can only merge with namespace or other enum declarations.\"),Property_0_may_not_exist_on_type_1_Did_you_mean_2:n(2568,e.DiagnosticCategory.Error,\"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}'?\"),Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators:n(2569,e.DiagnosticCategory.Error,\"Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterati_2569\",\"Type '{0}' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators.\"),Could_not_find_name_0_Did_you_mean_1:n(2570,e.DiagnosticCategory.Error,\"Could_not_find_name_0_Did_you_mean_1_2570\",\"Could not find name '{0}'. Did you mean '{1}'?\"),Object_is_of_type_unknown:n(2571,e.DiagnosticCategory.Error,\"Object_is_of_type_unknown_2571\",\"Object is of type 'unknown'.\"),A_rest_element_type_must_be_an_array_type:n(2574,e.DiagnosticCategory.Error,\"A_rest_element_type_must_be_an_array_type_2574\",\"A rest element type must be an array type.\"),No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments:n(2575,e.DiagnosticCategory.Error,\"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.\"),Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead:n(2576,e.DiagnosticCategory.Error,\"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?\"),Return_type_annotation_circularly_references_itself:n(2577,e.DiagnosticCategory.Error,\"Return_type_annotation_circularly_references_itself_2577\",\"Return type annotation circularly references itself.\"),Unused_ts_expect_error_directive:n(2578,e.DiagnosticCategory.Error,\"Unused_ts_expect_error_directive_2578\",\"Unused '@ts-expect-error' directive.\"),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode:n(2580,e.DiagnosticCategory.Error,\"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`.\"),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery:n(2581,e.DiagnosticCategory.Error,\"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`.\"),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(2582,e.DiagnosticCategory.Error,\"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`.\"),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later:n(2583,e.DiagnosticCategory.Error,\"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.\"),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom:n(2584,e.DiagnosticCategory.Error,\"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'.\"),_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(2585,e.DiagnosticCategory.Error,\"_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.\"),Cannot_assign_to_0_because_it_is_a_constant:n(2588,e.DiagnosticCategory.Error,\"Cannot_assign_to_0_because_it_is_a_constant_2588\",\"Cannot assign to '{0}' because it is a constant.\"),Type_instantiation_is_excessively_deep_and_possibly_infinite:n(2589,e.DiagnosticCategory.Error,\"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589\",\"Type instantiation is excessively deep and possibly infinite.\"),Expression_produces_a_union_type_that_is_too_complex_to_represent:n(2590,e.DiagnosticCategory.Error,\"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590\",\"Expression produces a union type that is too complex to represent.\"),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:n(2591,e.DiagnosticCategory.Error,\"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.\"),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:n(2592,e.DiagnosticCategory.Error,\"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.\"),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:n(2593,e.DiagnosticCategory.Error,\"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.\"),This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:n(2594,e.DiagnosticCategory.Error,\"This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the__2594\",\"This module is declared with using 'export =', and can only be used with a default import when using the '{0}' flag.\"),_0_can_only_be_imported_by_using_a_default_import:n(2595,e.DiagnosticCategory.Error,\"_0_can_only_be_imported_by_using_a_default_import_2595\",\"'{0}' can only be imported by using a default import.\"),_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:n(2596,e.DiagnosticCategory.Error,\"_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.\"),_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:n(2597,e.DiagnosticCategory.Error,\"_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.\"),_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:n(2598,e.DiagnosticCategory.Error,\"_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.\"),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:n(2602,e.DiagnosticCategory.Error,\"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.\"),Property_0_in_type_1_is_not_assignable_to_type_2:n(2603,e.DiagnosticCategory.Error,\"Property_0_in_type_1_is_not_assignable_to_type_2_2603\",\"Property '{0}' in type '{1}' is not assignable to type '{2}'.\"),JSX_element_type_0_does_not_have_any_construct_or_call_signatures:n(2604,e.DiagnosticCategory.Error,\"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.\"),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:n(2606,e.DiagnosticCategory.Error,\"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.\"),JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:n(2607,e.DiagnosticCategory.Error,\"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.\"),The_global_type_JSX_0_may_not_have_more_than_one_property:n(2608,e.DiagnosticCategory.Error,\"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.\"),JSX_spread_child_must_be_an_array_type:n(2609,e.DiagnosticCategory.Error,\"JSX_spread_child_must_be_an_array_type_2609\",\"JSX spread child must be an array type.\"),_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:n(2610,e.DiagnosticCategory.Error,\"_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.\"),_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor:n(2611,e.DiagnosticCategory.Error,\"_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.\"),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(2612,e.DiagnosticCategory.Error,\"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.\"),Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead:n(2613,e.DiagnosticCategory.Error,\"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?\"),Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead:n(2614,e.DiagnosticCategory.Error,\"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?\"),Type_of_property_0_circularly_references_itself_in_mapped_type_1:n(2615,e.DiagnosticCategory.Error,\"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615\",\"Type of property '{0}' circularly references itself in mapped type '{1}'.\"),_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:n(2616,e.DiagnosticCategory.Error,\"_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.\"),_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:n(2617,e.DiagnosticCategory.Error,\"_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.\"),Source_has_0_element_s_but_target_requires_1:n(2618,e.DiagnosticCategory.Error,\"Source_has_0_element_s_but_target_requires_1_2618\",\"Source has {0} element(s) but target requires {1}.\"),Source_has_0_element_s_but_target_allows_only_1:n(2619,e.DiagnosticCategory.Error,\"Source_has_0_element_s_but_target_allows_only_1_2619\",\"Source has {0} element(s) but target allows only {1}.\"),Target_requires_0_element_s_but_source_may_have_fewer:n(2620,e.DiagnosticCategory.Error,\"Target_requires_0_element_s_but_source_may_have_fewer_2620\",\"Target requires {0} element(s) but source may have fewer.\"),Target_allows_only_0_element_s_but_source_may_have_more:n(2621,e.DiagnosticCategory.Error,\"Target_allows_only_0_element_s_but_source_may_have_more_2621\",\"Target allows only {0} element(s) but source may have more.\"),Source_provides_no_match_for_required_element_at_position_0_in_target:n(2623,e.DiagnosticCategory.Error,\"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.\"),Source_provides_no_match_for_variadic_element_at_position_0_in_target:n(2624,e.DiagnosticCategory.Error,\"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.\"),Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target:n(2625,e.DiagnosticCategory.Error,\"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.\"),Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target:n(2626,e.DiagnosticCategory.Error,\"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.\"),Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target:n(2627,e.DiagnosticCategory.Error,\"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.\"),Cannot_assign_to_0_because_it_is_an_enum:n(2628,e.DiagnosticCategory.Error,\"Cannot_assign_to_0_because_it_is_an_enum_2628\",\"Cannot assign to '{0}' because it is an enum.\"),Cannot_assign_to_0_because_it_is_a_class:n(2629,e.DiagnosticCategory.Error,\"Cannot_assign_to_0_because_it_is_a_class_2629\",\"Cannot assign to '{0}' because it is a class.\"),Cannot_assign_to_0_because_it_is_a_function:n(2630,e.DiagnosticCategory.Error,\"Cannot_assign_to_0_because_it_is_a_function_2630\",\"Cannot assign to '{0}' because it is a function.\"),Cannot_assign_to_0_because_it_is_a_namespace:n(2631,e.DiagnosticCategory.Error,\"Cannot_assign_to_0_because_it_is_a_namespace_2631\",\"Cannot assign to '{0}' because it is a namespace.\"),Cannot_assign_to_0_because_it_is_an_import:n(2632,e.DiagnosticCategory.Error,\"Cannot_assign_to_0_because_it_is_an_import_2632\",\"Cannot assign to '{0}' because it is an import.\"),JSX_property_access_expressions_cannot_include_JSX_namespace_names:n(2633,e.DiagnosticCategory.Error,\"JSX_property_access_expressions_cannot_include_JSX_namespace_names_2633\",\"JSX property access expressions cannot include JSX namespace names\"),_0_index_signatures_are_incompatible:n(2634,e.DiagnosticCategory.Error,\"_0_index_signatures_are_incompatible_2634\",\"'{0}' index signatures are incompatible.\"),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:n(2649,e.DiagnosticCategory.Error,\"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.\"),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:n(2651,e.DiagnosticCategory.Error,\"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.\"),Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:n(2652,e.DiagnosticCategory.Error,\"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.\"),Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:n(2653,e.DiagnosticCategory.Error,\"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}'.\"),JSX_expressions_must_have_one_parent_element:n(2657,e.DiagnosticCategory.Error,\"JSX_expressions_must_have_one_parent_element_2657\",\"JSX expressions must have one parent element.\"),Type_0_provides_no_match_for_the_signature_1:n(2658,e.DiagnosticCategory.Error,\"Type_0_provides_no_match_for_the_signature_1_2658\",\"Type '{0}' provides no match for the signature '{1}'.\"),super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher:n(2659,e.DiagnosticCategory.Error,\"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.\"),super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:n(2660,e.DiagnosticCategory.Error,\"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.\"),Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:n(2661,e.DiagnosticCategory.Error,\"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.\"),Cannot_find_name_0_Did_you_mean_the_static_member_1_0:n(2662,e.DiagnosticCategory.Error,\"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}'?\"),Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:n(2663,e.DiagnosticCategory.Error,\"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}'?\"),Invalid_module_name_in_augmentation_module_0_cannot_be_found:n(2664,e.DiagnosticCategory.Error,\"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664\",\"Invalid module name in augmentation, module '{0}' cannot be found.\"),Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented:n(2665,e.DiagnosticCategory.Error,\"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.\"),Exports_and_export_assignments_are_not_permitted_in_module_augmentations:n(2666,e.DiagnosticCategory.Error,\"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666\",\"Exports and export assignments are not permitted in module augmentations.\"),Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module:n(2667,e.DiagnosticCategory.Error,\"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.\"),export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:n(2668,e.DiagnosticCategory.Error,\"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.\"),Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:n(2669,e.DiagnosticCategory.Error,\"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.\"),Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:n(2670,e.DiagnosticCategory.Error,\"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.\"),Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:n(2671,e.DiagnosticCategory.Error,\"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.\"),Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:n(2672,e.DiagnosticCategory.Error,\"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672\",\"Cannot assign a '{0}' constructor type to a '{1}' constructor type.\"),Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:n(2673,e.DiagnosticCategory.Error,\"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.\"),Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:n(2674,e.DiagnosticCategory.Error,\"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.\"),Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:n(2675,e.DiagnosticCategory.Error,\"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675\",\"Cannot extend a class '{0}'. Class constructor is marked as private.\"),Accessors_must_both_be_abstract_or_non_abstract:n(2676,e.DiagnosticCategory.Error,\"Accessors_must_both_be_abstract_or_non_abstract_2676\",\"Accessors must both be abstract or non-abstract.\"),A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:n(2677,e.DiagnosticCategory.Error,\"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.\"),Type_0_is_not_comparable_to_type_1:n(2678,e.DiagnosticCategory.Error,\"Type_0_is_not_comparable_to_type_1_2678\",\"Type '{0}' is not comparable to type '{1}'.\"),A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void:n(2679,e.DiagnosticCategory.Error,\"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'.\"),A_0_parameter_must_be_the_first_parameter:n(2680,e.DiagnosticCategory.Error,\"A_0_parameter_must_be_the_first_parameter_2680\",\"A '{0}' parameter must be the first parameter.\"),A_constructor_cannot_have_a_this_parameter:n(2681,e.DiagnosticCategory.Error,\"A_constructor_cannot_have_a_this_parameter_2681\",\"A constructor cannot have a 'this' parameter.\"),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:n(2683,e.DiagnosticCategory.Error,\"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.\"),The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:n(2684,e.DiagnosticCategory.Error,\"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}'.\"),The_this_types_of_each_signature_are_incompatible:n(2685,e.DiagnosticCategory.Error,\"The_this_types_of_each_signature_are_incompatible_2685\",\"The 'this' types of each signature are incompatible.\"),_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead:n(2686,e.DiagnosticCategory.Error,\"_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.\"),All_declarations_of_0_must_have_identical_modifiers:n(2687,e.DiagnosticCategory.Error,\"All_declarations_of_0_must_have_identical_modifiers_2687\",\"All declarations of '{0}' must have identical modifiers.\"),Cannot_find_type_definition_file_for_0:n(2688,e.DiagnosticCategory.Error,\"Cannot_find_type_definition_file_for_0_2688\",\"Cannot find type definition file for '{0}'.\"),Cannot_extend_an_interface_0_Did_you_mean_implements:n(2689,e.DiagnosticCategory.Error,\"Cannot_extend_an_interface_0_Did_you_mean_implements_2689\",\"Cannot extend an interface '{0}'. Did you mean 'implements'?\"),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0:n(2690,e.DiagnosticCategory.Error,\"_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}'?\"),An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead:n(2691,e.DiagnosticCategory.Error,\"An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead_2691\",\"An import path cannot end with a '{0}' extension. Consider importing '{1}' instead.\"),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:n(2692,e.DiagnosticCategory.Error,\"_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.\"),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:n(2693,e.DiagnosticCategory.Error,\"_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.\"),Namespace_0_has_no_exported_member_1:n(2694,e.DiagnosticCategory.Error,\"Namespace_0_has_no_exported_member_1_2694\",\"Namespace '{0}' has no exported member '{1}'.\"),Left_side_of_comma_operator_is_unused_and_has_no_side_effects:n(2695,e.DiagnosticCategory.Error,\"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695\",\"Left side of comma operator is unused and has no side effects.\",!0),The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:n(2696,e.DiagnosticCategory.Error,\"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?\"),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(2697,e.DiagnosticCategory.Error,\"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.\"),Spread_types_may_only_be_created_from_object_types:n(2698,e.DiagnosticCategory.Error,\"Spread_types_may_only_be_created_from_object_types_2698\",\"Spread types may only be created from object types.\"),Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:n(2699,e.DiagnosticCategory.Error,\"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}'.\"),Rest_types_may_only_be_created_from_object_types:n(2700,e.DiagnosticCategory.Error,\"Rest_types_may_only_be_created_from_object_types_2700\",\"Rest types may only be created from object types.\"),The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:n(2701,e.DiagnosticCategory.Error,\"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.\"),_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:n(2702,e.DiagnosticCategory.Error,\"_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.\"),The_operand_of_a_delete_operator_must_be_a_property_reference:n(2703,e.DiagnosticCategory.Error,\"The_operand_of_a_delete_operator_must_be_a_property_reference_2703\",\"The operand of a 'delete' operator must be a property reference.\"),The_operand_of_a_delete_operator_cannot_be_a_read_only_property:n(2704,e.DiagnosticCategory.Error,\"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.\"),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(2705,e.DiagnosticCategory.Error,\"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.\"),Required_type_parameters_may_not_follow_optional_type_parameters:n(2706,e.DiagnosticCategory.Error,\"Required_type_parameters_may_not_follow_optional_type_parameters_2706\",\"Required type parameters may not follow optional type parameters.\"),Generic_type_0_requires_between_1_and_2_type_arguments:n(2707,e.DiagnosticCategory.Error,\"Generic_type_0_requires_between_1_and_2_type_arguments_2707\",\"Generic type '{0}' requires between {1} and {2} type arguments.\"),Cannot_use_namespace_0_as_a_value:n(2708,e.DiagnosticCategory.Error,\"Cannot_use_namespace_0_as_a_value_2708\",\"Cannot use namespace '{0}' as a value.\"),Cannot_use_namespace_0_as_a_type:n(2709,e.DiagnosticCategory.Error,\"Cannot_use_namespace_0_as_a_type_2709\",\"Cannot use namespace '{0}' as a type.\"),_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:n(2710,e.DiagnosticCategory.Error,\"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710\",\"'{0}' are specified twice. The attribute named '{0}' will be overwritten.\"),A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:n(2711,e.DiagnosticCategory.Error,\"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.\"),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:n(2712,e.DiagnosticCategory.Error,\"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.\"),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(2713,e.DiagnosticCategory.Error,\"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}\"]'?`),The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context:n(2714,e.DiagnosticCategory.Error,\"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.\"),Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor:n(2715,e.DiagnosticCategory.Error,\"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.\"),Type_parameter_0_has_a_circular_default:n(2716,e.DiagnosticCategory.Error,\"Type_parameter_0_has_a_circular_default_2716\",\"Type parameter '{0}' has a circular default.\"),Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:n(2717,e.DiagnosticCategory.Error,\"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}'.\"),Duplicate_property_0:n(2718,e.DiagnosticCategory.Error,\"Duplicate_property_0_2718\",\"Duplicate property '{0}'.\"),Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:n(2719,e.DiagnosticCategory.Error,\"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.\"),Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:n(2720,e.DiagnosticCategory.Error,\"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?\"),Cannot_invoke_an_object_which_is_possibly_null:n(2721,e.DiagnosticCategory.Error,\"Cannot_invoke_an_object_which_is_possibly_null_2721\",\"Cannot invoke an object which is possibly 'null'.\"),Cannot_invoke_an_object_which_is_possibly_undefined:n(2722,e.DiagnosticCategory.Error,\"Cannot_invoke_an_object_which_is_possibly_undefined_2722\",\"Cannot invoke an object which is possibly 'undefined'.\"),Cannot_invoke_an_object_which_is_possibly_null_or_undefined:n(2723,e.DiagnosticCategory.Error,\"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723\",\"Cannot invoke an object which is possibly 'null' or 'undefined'.\"),_0_has_no_exported_member_named_1_Did_you_mean_2:n(2724,e.DiagnosticCategory.Error,\"_0_has_no_exported_member_named_1_Did_you_mean_2_2724\",\"'{0}' has no exported member named '{1}'. Did you mean '{2}'?\"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:n(2725,e.DiagnosticCategory.Error,\"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725\",\"Class name cannot be 'Object' when targeting ES5 with module {0}.\"),Cannot_find_lib_definition_for_0:n(2726,e.DiagnosticCategory.Error,\"Cannot_find_lib_definition_for_0_2726\",\"Cannot find lib definition for '{0}'.\"),Cannot_find_lib_definition_for_0_Did_you_mean_1:n(2727,e.DiagnosticCategory.Error,\"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727\",\"Cannot find lib definition for '{0}'. Did you mean '{1}'?\"),_0_is_declared_here:n(2728,e.DiagnosticCategory.Message,\"_0_is_declared_here_2728\",\"'{0}' is declared here.\"),Property_0_is_used_before_its_initialization:n(2729,e.DiagnosticCategory.Error,\"Property_0_is_used_before_its_initialization_2729\",\"Property '{0}' is used before its initialization.\"),An_arrow_function_cannot_have_a_this_parameter:n(2730,e.DiagnosticCategory.Error,\"An_arrow_function_cannot_have_a_this_parameter_2730\",\"An arrow function cannot have a 'this' parameter.\"),Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String:n(2731,e.DiagnosticCategory.Error,\"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(...)'.\"),Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension:n(2732,e.DiagnosticCategory.Error,\"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.\"),Property_0_was_also_declared_here:n(2733,e.DiagnosticCategory.Error,\"Property_0_was_also_declared_here_2733\",\"Property '{0}' was also declared here.\"),Are_you_missing_a_semicolon:n(2734,e.DiagnosticCategory.Error,\"Are_you_missing_a_semicolon_2734\",\"Are you missing a semicolon?\"),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:n(2735,e.DiagnosticCategory.Error,\"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}'?\"),Operator_0_cannot_be_applied_to_type_1:n(2736,e.DiagnosticCategory.Error,\"Operator_0_cannot_be_applied_to_type_1_2736\",\"Operator '{0}' cannot be applied to type '{1}'.\"),BigInt_literals_are_not_available_when_targeting_lower_than_ES2020:n(2737,e.DiagnosticCategory.Error,\"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737\",\"BigInt literals are not available when targeting lower than ES2020.\"),An_outer_value_of_this_is_shadowed_by_this_container:n(2738,e.DiagnosticCategory.Message,\"An_outer_value_of_this_is_shadowed_by_this_container_2738\",\"An outer value of 'this' is shadowed by this container.\"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2:n(2739,e.DiagnosticCategory.Error,\"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739\",\"Type '{0}' is missing the following properties from type '{1}': {2}\"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more:n(2740,e.DiagnosticCategory.Error,\"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.\"),Property_0_is_missing_in_type_1_but_required_in_type_2:n(2741,e.DiagnosticCategory.Error,\"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}'.\"),The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary:n(2742,e.DiagnosticCategory.Error,\"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.\"),No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments:n(2743,e.DiagnosticCategory.Error,\"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.\"),Type_parameter_defaults_can_only_reference_previously_declared_type_parameters:n(2744,e.DiagnosticCategory.Error,\"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744\",\"Type parameter defaults can only reference previously declared type parameters.\"),This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided:n(2745,e.DiagnosticCategory.Error,\"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.\"),This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided:n(2746,e.DiagnosticCategory.Error,\"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.\"),_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(2747,e.DiagnosticCategory.Error,\"_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}'.\"),Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided:n(2748,e.DiagnosticCategory.Error,\"Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided_2748\",\"Cannot access ambient const enums when the '--isolatedModules' flag is provided.\"),_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0:n(2749,e.DiagnosticCategory.Error,\"_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}'?\"),The_implementation_signature_is_declared_here:n(2750,e.DiagnosticCategory.Error,\"The_implementation_signature_is_declared_here_2750\",\"The implementation signature is declared here.\"),Circularity_originates_in_type_at_this_location:n(2751,e.DiagnosticCategory.Error,\"Circularity_originates_in_type_at_this_location_2751\",\"Circularity originates in type at this location.\"),The_first_export_default_is_here:n(2752,e.DiagnosticCategory.Error,\"The_first_export_default_is_here_2752\",\"The first export default is here.\"),Another_export_default_is_here:n(2753,e.DiagnosticCategory.Error,\"Another_export_default_is_here_2753\",\"Another export default is here.\"),super_may_not_use_type_arguments:n(2754,e.DiagnosticCategory.Error,\"super_may_not_use_type_arguments_2754\",\"'super' may not use type arguments.\"),No_constituent_of_type_0_is_callable:n(2755,e.DiagnosticCategory.Error,\"No_constituent_of_type_0_is_callable_2755\",\"No constituent of type '{0}' is callable.\"),Not_all_constituents_of_type_0_are_callable:n(2756,e.DiagnosticCategory.Error,\"Not_all_constituents_of_type_0_are_callable_2756\",\"Not all constituents of type '{0}' are callable.\"),Type_0_has_no_call_signatures:n(2757,e.DiagnosticCategory.Error,\"Type_0_has_no_call_signatures_2757\",\"Type '{0}' has no call signatures.\"),Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:n(2758,e.DiagnosticCategory.Error,\"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.\"),No_constituent_of_type_0_is_constructable:n(2759,e.DiagnosticCategory.Error,\"No_constituent_of_type_0_is_constructable_2759\",\"No constituent of type '{0}' is constructable.\"),Not_all_constituents_of_type_0_are_constructable:n(2760,e.DiagnosticCategory.Error,\"Not_all_constituents_of_type_0_are_constructable_2760\",\"Not all constituents of type '{0}' are constructable.\"),Type_0_has_no_construct_signatures:n(2761,e.DiagnosticCategory.Error,\"Type_0_has_no_construct_signatures_2761\",\"Type '{0}' has no construct signatures.\"),Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other:n(2762,e.DiagnosticCategory.Error,\"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.\"),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:n(2763,e.DiagnosticCategory.Error,\"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}'.\"),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:n(2764,e.DiagnosticCategory.Error,\"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}'.\"),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:n(2765,e.DiagnosticCategory.Error,\"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}'.\"),Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:n(2766,e.DiagnosticCategory.Error,\"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}'.\"),The_0_property_of_an_iterator_must_be_a_method:n(2767,e.DiagnosticCategory.Error,\"The_0_property_of_an_iterator_must_be_a_method_2767\",\"The '{0}' property of an iterator must be a method.\"),The_0_property_of_an_async_iterator_must_be_a_method:n(2768,e.DiagnosticCategory.Error,\"The_0_property_of_an_async_iterator_must_be_a_method_2768\",\"The '{0}' property of an async iterator must be a method.\"),No_overload_matches_this_call:n(2769,e.DiagnosticCategory.Error,\"No_overload_matches_this_call_2769\",\"No overload matches this call.\"),The_last_overload_gave_the_following_error:n(2770,e.DiagnosticCategory.Error,\"The_last_overload_gave_the_following_error_2770\",\"The last overload gave the following error.\"),The_last_overload_is_declared_here:n(2771,e.DiagnosticCategory.Error,\"The_last_overload_is_declared_here_2771\",\"The last overload is declared here.\"),Overload_0_of_1_2_gave_the_following_error:n(2772,e.DiagnosticCategory.Error,\"Overload_0_of_1_2_gave_the_following_error_2772\",\"Overload {0} of {1}, '{2}', gave the following error.\"),Did_you_forget_to_use_await:n(2773,e.DiagnosticCategory.Error,\"Did_you_forget_to_use_await_2773\",\"Did you forget to use 'await'?\"),This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead:n(2774,e.DiagnosticCategory.Error,\"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?\"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:n(2775,e.DiagnosticCategory.Error,\"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.\"),Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name:n(2776,e.DiagnosticCategory.Error,\"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.\"),The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access:n(2777,e.DiagnosticCategory.Error,\"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.\"),The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:n(2778,e.DiagnosticCategory.Error,\"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.\"),The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access:n(2779,e.DiagnosticCategory.Error,\"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.\"),The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access:n(2780,e.DiagnosticCategory.Error,\"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.\"),The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access:n(2781,e.DiagnosticCategory.Error,\"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.\"),_0_needs_an_explicit_type_annotation:n(2782,e.DiagnosticCategory.Message,\"_0_needs_an_explicit_type_annotation_2782\",\"'{0}' needs an explicit type annotation.\"),_0_is_specified_more_than_once_so_this_usage_will_be_overwritten:n(2783,e.DiagnosticCategory.Error,\"_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.\"),get_and_set_accessors_cannot_declare_this_parameters:n(2784,e.DiagnosticCategory.Error,\"get_and_set_accessors_cannot_declare_this_parameters_2784\",\"'get' and 'set' accessors cannot declare 'this' parameters.\"),This_spread_always_overwrites_this_property:n(2785,e.DiagnosticCategory.Error,\"This_spread_always_overwrites_this_property_2785\",\"This spread always overwrites this property.\"),_0_cannot_be_used_as_a_JSX_component:n(2786,e.DiagnosticCategory.Error,\"_0_cannot_be_used_as_a_JSX_component_2786\",\"'{0}' cannot be used as a JSX component.\"),Its_return_type_0_is_not_a_valid_JSX_element:n(2787,e.DiagnosticCategory.Error,\"Its_return_type_0_is_not_a_valid_JSX_element_2787\",\"Its return type '{0}' is not a valid JSX element.\"),Its_instance_type_0_is_not_a_valid_JSX_element:n(2788,e.DiagnosticCategory.Error,\"Its_instance_type_0_is_not_a_valid_JSX_element_2788\",\"Its instance type '{0}' is not a valid JSX element.\"),Its_element_type_0_is_not_a_valid_JSX_element:n(2789,e.DiagnosticCategory.Error,\"Its_element_type_0_is_not_a_valid_JSX_element_2789\",\"Its element type '{0}' is not a valid JSX element.\"),The_operand_of_a_delete_operator_must_be_optional:n(2790,e.DiagnosticCategory.Error,\"The_operand_of_a_delete_operator_must_be_optional_2790\",\"The operand of a 'delete' operator must be optional.\"),Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later:n(2791,e.DiagnosticCategory.Error,\"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.\"),Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:n(2792,e.DiagnosticCategory.Error,\"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_th_2792\",\"Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?\"),The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible:n(2793,e.DiagnosticCategory.Error,\"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.\"),Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:n(2794,e.DiagnosticCategory.Error,\"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'?\"),The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types:n(2795,e.DiagnosticCategory.Error,\"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.\"),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(2796,e.DiagnosticCategory.Error,\"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.\"),A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract:n(2797,e.DiagnosticCategory.Error,\"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'.\"),The_declaration_was_marked_as_deprecated_here:n(2798,e.DiagnosticCategory.Error,\"The_declaration_was_marked_as_deprecated_here_2798\",\"The declaration was marked as deprecated here.\"),Type_produces_a_tuple_type_that_is_too_large_to_represent:n(2799,e.DiagnosticCategory.Error,\"Type_produces_a_tuple_type_that_is_too_large_to_represent_2799\",\"Type produces a tuple type that is too large to represent.\"),Expression_produces_a_tuple_type_that_is_too_large_to_represent:n(2800,e.DiagnosticCategory.Error,\"Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800\",\"Expression produces a tuple type that is too large to represent.\"),This_condition_will_always_return_true_since_this_0_is_always_defined:n(2801,e.DiagnosticCategory.Error,\"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.\"),Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher:n(2802,e.DiagnosticCategory.Error,\"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.\"),Cannot_assign_to_private_method_0_Private_methods_are_not_writable:n(2803,e.DiagnosticCategory.Error,\"Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803\",\"Cannot assign to private method '{0}'. Private methods are not writable.\"),Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name:n(2804,e.DiagnosticCategory.Error,\"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.\"),Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_not_specified_with_a_target_of_esnext_Consider_adding_the_useDefineForClassFields_flag:n(2805,e.DiagnosticCategory.Error,\"Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_no_2805\",\"Static fields with private names can't have initializers when the '--useDefineForClassFields' flag is not specified with a '--target' of 'esnext'. Consider adding the '--useDefineForClassFields' flag.\"),Private_accessor_was_defined_without_a_getter:n(2806,e.DiagnosticCategory.Error,\"Private_accessor_was_defined_without_a_getter_2806\",\"Private accessor was defined without a getter.\"),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(2807,e.DiagnosticCategory.Error,\"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}'.\"),A_get_accessor_must_be_at_least_as_accessible_as_the_setter:n(2808,e.DiagnosticCategory.Error,\"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\"),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_the_whole_assignment_in_parentheses:n(2809,e.DiagnosticCategory.Error,\"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 the whole assignment in parentheses.\"),Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnext_and_useDefineForClassFields_is_false:n(2810,e.DiagnosticCategory.Error,\"Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnex_2810\",\"Property '{0}' may not be used in a static property's initializer in the same class when 'target' is 'esnext' and 'useDefineForClassFields' is 'false'.\"),Initializer_for_property_0:n(2811,e.DiagnosticCategory.Error,\"Initializer_for_property_0_2811\",\"Initializer for property '{0}'\"),Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:n(2812,e.DiagnosticCategory.Error,\"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'.\"),Class_declaration_cannot_implement_overload_list_for_0:n(2813,e.DiagnosticCategory.Error,\"Class_declaration_cannot_implement_overload_list_for_0_2813\",\"Class declaration cannot implement overload list for '{0}'.\"),Function_with_bodies_can_only_merge_with_classes_that_are_ambient:n(2814,e.DiagnosticCategory.Error,\"Function_with_bodies_can_only_merge_with_classes_that_are_ambient_2814\",\"Function with bodies can only merge with classes that are ambient.\"),arguments_cannot_be_referenced_in_property_initializers:n(2815,e.DiagnosticCategory.Error,\"arguments_cannot_be_referenced_in_property_initializers_2815\",\"'arguments' cannot be referenced in property initializers.\"),Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class:n(2816,e.DiagnosticCategory.Error,\"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.\"),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block:n(2817,e.DiagnosticCategory.Error,\"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.\"),Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers:n(2818,e.DiagnosticCategory.Error,\"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.\"),Namespace_name_cannot_be_0:n(2819,e.DiagnosticCategory.Error,\"Namespace_name_cannot_be_0_2819\",\"Namespace name cannot be '{0}'.\"),Type_0_is_not_assignable_to_type_1_Did_you_mean_2:n(2820,e.DiagnosticCategory.Error,\"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}'?\"),Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext:n(2821,e.DiagnosticCategory.Error,\"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_2821\",\"Import assertions are only supported when the '--module' option is set to 'esnext'.\"),Import_assertions_cannot_be_used_with_type_only_imports_or_exports:n(2822,e.DiagnosticCategory.Error,\"Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822\",\"Import assertions cannot be used with type-only imports or exports.\"),Cannot_find_namespace_0_Did_you_mean_1:n(2833,e.DiagnosticCategory.Error,\"Cannot_find_namespace_0_Did_you_mean_1_2833\",\"Cannot find namespace '{0}'. Did you mean '{1}'?\"),Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node12_or_nodenext_Consider_adding_an_extension_to_the_import_path:n(2834,e.DiagnosticCategory.Error,\"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 'node12' or 'nodenext'. Consider adding an extension to the import path.\"),Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node12_or_nodenext_Did_you_mean_0:n(2835,e.DiagnosticCategory.Error,\"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 'node12' or 'nodenext'. Did you mean '{0}'?\"),Import_declaration_0_is_using_private_name_1:n(4e3,e.DiagnosticCategory.Error,\"Import_declaration_0_is_using_private_name_1_4000\",\"Import declaration '{0}' is using private name '{1}'.\"),Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:n(4002,e.DiagnosticCategory.Error,\"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}'.\"),Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:n(4004,e.DiagnosticCategory.Error,\"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}'.\"),Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:n(4006,e.DiagnosticCategory.Error,\"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}'.\"),Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:n(4008,e.DiagnosticCategory.Error,\"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}'.\"),Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:n(4010,e.DiagnosticCategory.Error,\"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}'.\"),Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:n(4012,e.DiagnosticCategory.Error,\"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}'.\"),Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:n(4014,e.DiagnosticCategory.Error,\"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}'.\"),Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:n(4016,e.DiagnosticCategory.Error,\"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}'.\"),Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:n(4019,e.DiagnosticCategory.Error,\"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}'.\"),extends_clause_of_exported_class_0_has_or_is_using_private_name_1:n(4020,e.DiagnosticCategory.Error,\"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}'.\"),extends_clause_of_exported_class_has_or_is_using_private_name_0:n(4021,e.DiagnosticCategory.Error,\"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}'.\"),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:n(4022,e.DiagnosticCategory.Error,\"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}'.\"),Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4023,e.DiagnosticCategory.Error,\"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.\"),Exported_variable_0_has_or_is_using_name_1_from_private_module_2:n(4024,e.DiagnosticCategory.Error,\"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}'.\"),Exported_variable_0_has_or_is_using_private_name_1:n(4025,e.DiagnosticCategory.Error,\"Exported_variable_0_has_or_is_using_private_name_1_4025\",\"Exported variable '{0}' has or is using private name '{1}'.\"),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4026,e.DiagnosticCategory.Error,\"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.\"),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4027,e.DiagnosticCategory.Error,\"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}'.\"),Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:n(4028,e.DiagnosticCategory.Error,\"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}'.\"),Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4029,e.DiagnosticCategory.Error,\"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.\"),Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4030,e.DiagnosticCategory.Error,\"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}'.\"),Public_property_0_of_exported_class_has_or_is_using_private_name_1:n(4031,e.DiagnosticCategory.Error,\"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}'.\"),Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4032,e.DiagnosticCategory.Error,\"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}'.\"),Property_0_of_exported_interface_has_or_is_using_private_name_1:n(4033,e.DiagnosticCategory.Error,\"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}'.\"),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4034,e.DiagnosticCategory.Error,\"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}'.\"),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:n(4035,e.DiagnosticCategory.Error,\"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}'.\"),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4036,e.DiagnosticCategory.Error,\"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}'.\"),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:n(4037,e.DiagnosticCategory.Error,\"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}'.\"),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(4038,e.DiagnosticCategory.Error,\"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.\"),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4039,e.DiagnosticCategory.Error,\"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}'.\"),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:n(4040,e.DiagnosticCategory.Error,\"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}'.\"),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4041,e.DiagnosticCategory.Error,\"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.\"),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4042,e.DiagnosticCategory.Error,\"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}'.\"),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1:n(4043,e.DiagnosticCategory.Error,\"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}'.\"),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4044,e.DiagnosticCategory.Error,\"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}'.\"),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:n(4045,e.DiagnosticCategory.Error,\"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}'.\"),Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4046,e.DiagnosticCategory.Error,\"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}'.\"),Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:n(4047,e.DiagnosticCategory.Error,\"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}'.\"),Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4048,e.DiagnosticCategory.Error,\"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}'.\"),Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:n(4049,e.DiagnosticCategory.Error,\"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}'.\"),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:n(4050,e.DiagnosticCategory.Error,\"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.\"),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:n(4051,e.DiagnosticCategory.Error,\"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}'.\"),Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:n(4052,e.DiagnosticCategory.Error,\"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}'.\"),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:n(4053,e.DiagnosticCategory.Error,\"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.\"),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:n(4054,e.DiagnosticCategory.Error,\"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}'.\"),Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:n(4055,e.DiagnosticCategory.Error,\"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}'.\"),Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(4056,e.DiagnosticCategory.Error,\"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}'.\"),Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:n(4057,e.DiagnosticCategory.Error,\"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}'.\"),Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:n(4058,e.DiagnosticCategory.Error,\"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.\"),Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:n(4059,e.DiagnosticCategory.Error,\"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}'.\"),Return_type_of_exported_function_has_or_is_using_private_name_0:n(4060,e.DiagnosticCategory.Error,\"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}'.\"),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4061,e.DiagnosticCategory.Error,\"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.\"),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4062,e.DiagnosticCategory.Error,\"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}'.\"),Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:n(4063,e.DiagnosticCategory.Error,\"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}'.\"),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4064,e.DiagnosticCategory.Error,\"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}'.\"),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:n(4065,e.DiagnosticCategory.Error,\"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}'.\"),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4066,e.DiagnosticCategory.Error,\"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}'.\"),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:n(4067,e.DiagnosticCategory.Error,\"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}'.\"),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4068,e.DiagnosticCategory.Error,\"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.\"),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4069,e.DiagnosticCategory.Error,\"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}'.\"),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:n(4070,e.DiagnosticCategory.Error,\"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}'.\"),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4071,e.DiagnosticCategory.Error,\"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.\"),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4072,e.DiagnosticCategory.Error,\"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}'.\"),Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:n(4073,e.DiagnosticCategory.Error,\"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}'.\"),Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4074,e.DiagnosticCategory.Error,\"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}'.\"),Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:n(4075,e.DiagnosticCategory.Error,\"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}'.\"),Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4076,e.DiagnosticCategory.Error,\"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.\"),Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:n(4077,e.DiagnosticCategory.Error,\"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}'.\"),Parameter_0_of_exported_function_has_or_is_using_private_name_1:n(4078,e.DiagnosticCategory.Error,\"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}'.\"),Exported_type_alias_0_has_or_is_using_private_name_1:n(4081,e.DiagnosticCategory.Error,\"Exported_type_alias_0_has_or_is_using_private_name_1_4081\",\"Exported type alias '{0}' has or is using private name '{1}'.\"),Default_export_of_the_module_has_or_is_using_private_name_0:n(4082,e.DiagnosticCategory.Error,\"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}'.\"),Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:n(4083,e.DiagnosticCategory.Error,\"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}'.\"),Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:n(4084,e.DiagnosticCategory.Error,\"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}.\"),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:n(4090,e.DiagnosticCategory.Error,\"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.\"),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4091,e.DiagnosticCategory.Error,\"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}'.\"),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:n(4092,e.DiagnosticCategory.Error,\"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}'.\"),Property_0_of_exported_class_expression_may_not_be_private_or_protected:n(4094,e.DiagnosticCategory.Error,\"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.\"),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4095,e.DiagnosticCategory.Error,\"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.\"),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4096,e.DiagnosticCategory.Error,\"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}'.\"),Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:n(4097,e.DiagnosticCategory.Error,\"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}'.\"),Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4098,e.DiagnosticCategory.Error,\"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.\"),Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4099,e.DiagnosticCategory.Error,\"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}'.\"),Public_method_0_of_exported_class_has_or_is_using_private_name_1:n(4100,e.DiagnosticCategory.Error,\"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}'.\"),Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4101,e.DiagnosticCategory.Error,\"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}'.\"),Method_0_of_exported_interface_has_or_is_using_private_name_1:n(4102,e.DiagnosticCategory.Error,\"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}'.\"),Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1:n(4103,e.DiagnosticCategory.Error,\"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}'.\"),The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1:n(4104,e.DiagnosticCategory.Error,\"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}'.\"),Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter:n(4105,e.DiagnosticCategory.Error,\"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.\"),Parameter_0_of_accessor_has_or_is_using_private_name_1:n(4106,e.DiagnosticCategory.Error,\"Parameter_0_of_accessor_has_or_is_using_private_name_1_4106\",\"Parameter '{0}' of accessor has or is using private name '{1}'.\"),Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:n(4107,e.DiagnosticCategory.Error,\"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}'.\"),Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4108,e.DiagnosticCategory.Error,\"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.\"),Type_arguments_for_0_circularly_reference_themselves:n(4109,e.DiagnosticCategory.Error,\"Type_arguments_for_0_circularly_reference_themselves_4109\",\"Type arguments for '{0}' circularly reference themselves.\"),Tuple_type_arguments_circularly_reference_themselves:n(4110,e.DiagnosticCategory.Error,\"Tuple_type_arguments_circularly_reference_themselves_4110\",\"Tuple type arguments circularly reference themselves.\"),Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0:n(4111,e.DiagnosticCategory.Error,\"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}'].\"),This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class:n(4112,e.DiagnosticCategory.Error,\"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.\"),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0:n(4113,e.DiagnosticCategory.Error,\"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}'.\"),This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0:n(4114,e.DiagnosticCategory.Error,\"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}'.\"),This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:n(4115,e.DiagnosticCategory.Error,\"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}'.\"),This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0:n(4116,e.DiagnosticCategory.Error,\"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}'.\"),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:n(4117,e.DiagnosticCategory.Error,\"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}'?\"),The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized:n(4118,e.DiagnosticCategory.Error,\"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.\"),This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:n(4119,e.DiagnosticCategory.Error,\"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}'.\"),This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:n(4120,e.DiagnosticCategory.Error,\"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}'.\"),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:n(4121,e.DiagnosticCategory.Error,\"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.\"),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:n(4122,e.DiagnosticCategory.Error,\"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}'.\"),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(4123,e.DiagnosticCategory.Error,\"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}'?\"),Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:n(4124,e.DiagnosticCategory.Error,\"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'.\"),The_current_host_does_not_support_the_0_option:n(5001,e.DiagnosticCategory.Error,\"The_current_host_does_not_support_the_0_option_5001\",\"The current host does not support the '{0}' option.\"),Cannot_find_the_common_subdirectory_path_for_the_input_files:n(5009,e.DiagnosticCategory.Error,\"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009\",\"Cannot find the common subdirectory path for the input files.\"),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:n(5010,e.DiagnosticCategory.Error,\"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010\",\"File specification cannot end in a recursive directory wildcard ('**'): '{0}'.\"),Cannot_read_file_0_Colon_1:n(5012,e.DiagnosticCategory.Error,\"Cannot_read_file_0_Colon_1_5012\",\"Cannot read file '{0}': {1}.\"),Failed_to_parse_file_0_Colon_1:n(5014,e.DiagnosticCategory.Error,\"Failed_to_parse_file_0_Colon_1_5014\",\"Failed to parse file '{0}': {1}.\"),Unknown_compiler_option_0:n(5023,e.DiagnosticCategory.Error,\"Unknown_compiler_option_0_5023\",\"Unknown compiler option '{0}'.\"),Compiler_option_0_requires_a_value_of_type_1:n(5024,e.DiagnosticCategory.Error,\"Compiler_option_0_requires_a_value_of_type_1_5024\",\"Compiler option '{0}' requires a value of type {1}.\"),Unknown_compiler_option_0_Did_you_mean_1:n(5025,e.DiagnosticCategory.Error,\"Unknown_compiler_option_0_Did_you_mean_1_5025\",\"Unknown compiler option '{0}'. Did you mean '{1}'?\"),Could_not_write_file_0_Colon_1:n(5033,e.DiagnosticCategory.Error,\"Could_not_write_file_0_Colon_1_5033\",\"Could not write file '{0}': {1}.\"),Option_project_cannot_be_mixed_with_source_files_on_a_command_line:n(5042,e.DiagnosticCategory.Error,\"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.\"),Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:n(5047,e.DiagnosticCategory.Error,\"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.\"),Option_0_cannot_be_specified_when_option_target_is_ES3:n(5048,e.DiagnosticCategory.Error,\"Option_0_cannot_be_specified_when_option_target_is_ES3_5048\",\"Option '{0}' cannot be specified when option 'target' is 'ES3'.\"),Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:n(5051,e.DiagnosticCategory.Error,\"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.\"),Option_0_cannot_be_specified_without_specifying_option_1:n(5052,e.DiagnosticCategory.Error,\"Option_0_cannot_be_specified_without_specifying_option_1_5052\",\"Option '{0}' cannot be specified without specifying option '{1}'.\"),Option_0_cannot_be_specified_with_option_1:n(5053,e.DiagnosticCategory.Error,\"Option_0_cannot_be_specified_with_option_1_5053\",\"Option '{0}' cannot be specified with option '{1}'.\"),A_tsconfig_json_file_is_already_defined_at_Colon_0:n(5054,e.DiagnosticCategory.Error,\"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054\",\"A 'tsconfig.json' file is already defined at: '{0}'.\"),Cannot_write_file_0_because_it_would_overwrite_input_file:n(5055,e.DiagnosticCategory.Error,\"Cannot_write_file_0_because_it_would_overwrite_input_file_5055\",\"Cannot write file '{0}' because it would overwrite input file.\"),Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:n(5056,e.DiagnosticCategory.Error,\"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.\"),Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:n(5057,e.DiagnosticCategory.Error,\"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057\",\"Cannot find a tsconfig.json file at the specified directory: '{0}'.\"),The_specified_path_does_not_exist_Colon_0:n(5058,e.DiagnosticCategory.Error,\"The_specified_path_does_not_exist_Colon_0_5058\",\"The specified path does not exist: '{0}'.\"),Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:n(5059,e.DiagnosticCategory.Error,\"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059\",\"Invalid value for '--reactNamespace'. '{0}' is not a valid identifier.\"),Pattern_0_can_have_at_most_one_Asterisk_character:n(5061,e.DiagnosticCategory.Error,\"Pattern_0_can_have_at_most_one_Asterisk_character_5061\",\"Pattern '{0}' can have at most one '*' character.\"),Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character:n(5062,e.DiagnosticCategory.Error,\"Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character_5062\",\"Substitution '{0}' in pattern '{1}' can have at most one '*' character.\"),Substitutions_for_pattern_0_should_be_an_array:n(5063,e.DiagnosticCategory.Error,\"Substitutions_for_pattern_0_should_be_an_array_5063\",\"Substitutions for pattern '{0}' should be an array.\"),Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:n(5064,e.DiagnosticCategory.Error,\"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}'.\"),File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:n(5065,e.DiagnosticCategory.Error,\"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}'.\"),Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:n(5066,e.DiagnosticCategory.Error,\"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066\",\"Substitutions for pattern '{0}' shouldn't be an empty array.\"),Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:n(5067,e.DiagnosticCategory.Error,\"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.\"),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(5068,e.DiagnosticCategory.Error,\"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.\"),Option_0_cannot_be_specified_without_specifying_option_1_or_option_2:n(5069,e.DiagnosticCategory.Error,\"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}'.\"),Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy:n(5070,e.DiagnosticCategory.Error,\"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070\",\"Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy.\"),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:n(5071,e.DiagnosticCategory.Error,\"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'.\"),Unknown_build_option_0:n(5072,e.DiagnosticCategory.Error,\"Unknown_build_option_0_5072\",\"Unknown build option '{0}'.\"),Build_option_0_requires_a_value_of_type_1:n(5073,e.DiagnosticCategory.Error,\"Build_option_0_requires_a_value_of_type_1_5073\",\"Build option '{0}' requires a value of type {1}.\"),Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified:n(5074,e.DiagnosticCategory.Error,\"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.\"),_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2:n(5075,e.DiagnosticCategory.Error,\"_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}'.\"),_0_and_1_operations_cannot_be_mixed_without_parentheses:n(5076,e.DiagnosticCategory.Error,\"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076\",\"'{0}' and '{1}' operations cannot be mixed without parentheses.\"),Unknown_build_option_0_Did_you_mean_1:n(5077,e.DiagnosticCategory.Error,\"Unknown_build_option_0_Did_you_mean_1_5077\",\"Unknown build option '{0}'. Did you mean '{1}'?\"),Unknown_watch_option_0:n(5078,e.DiagnosticCategory.Error,\"Unknown_watch_option_0_5078\",\"Unknown watch option '{0}'.\"),Unknown_watch_option_0_Did_you_mean_1:n(5079,e.DiagnosticCategory.Error,\"Unknown_watch_option_0_Did_you_mean_1_5079\",\"Unknown watch option '{0}'. Did you mean '{1}'?\"),Watch_option_0_requires_a_value_of_type_1:n(5080,e.DiagnosticCategory.Error,\"Watch_option_0_requires_a_value_of_type_1_5080\",\"Watch option '{0}' requires a value of type {1}.\"),Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0:n(5081,e.DiagnosticCategory.Error,\"Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081\",\"Cannot find a tsconfig.json file at the current directory: {0}.\"),_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1:n(5082,e.DiagnosticCategory.Error,\"_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}'.\"),Cannot_read_file_0:n(5083,e.DiagnosticCategory.Error,\"Cannot_read_file_0_5083\",\"Cannot read file '{0}'.\"),Tuple_members_must_all_have_names_or_all_not_have_names:n(5084,e.DiagnosticCategory.Error,\"Tuple_members_must_all_have_names_or_all_not_have_names_5084\",\"Tuple members must all have names or all not have names.\"),A_tuple_member_cannot_be_both_optional_and_rest:n(5085,e.DiagnosticCategory.Error,\"A_tuple_member_cannot_be_both_optional_and_rest_5085\",\"A tuple member cannot be both optional and rest.\"),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(5086,e.DiagnosticCategory.Error,\"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.\"),A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type:n(5087,e.DiagnosticCategory.Error,\"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.\"),The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary:n(5088,e.DiagnosticCategory.Error,\"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.\"),Option_0_cannot_be_specified_when_option_jsx_is_1:n(5089,e.DiagnosticCategory.Error,\"Option_0_cannot_be_specified_when_option_jsx_is_1_5089\",\"Option '{0}' cannot be specified when option 'jsx' is '{1}'.\"),Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash:n(5090,e.DiagnosticCategory.Error,\"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 './'?\"),Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled:n(5091,e.DiagnosticCategory.Error,\"Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled_5091\",\"Option 'preserveConstEnums' cannot be disabled when 'isolatedModules' is enabled.\"),The_root_value_of_a_0_file_must_be_an_object:n(5092,e.DiagnosticCategory.Error,\"The_root_value_of_a_0_file_must_be_an_object_5092\",\"The root value of a '{0}' file must be an object.\"),Compiler_option_0_may_only_be_used_with_build:n(5093,e.DiagnosticCategory.Error,\"Compiler_option_0_may_only_be_used_with_build_5093\",\"Compiler option '--{0}' may only be used with '--build'.\"),Compiler_option_0_may_not_be_used_with_build:n(5094,e.DiagnosticCategory.Error,\"Compiler_option_0_may_not_be_used_with_build_5094\",\"Compiler option '--{0}' may not be used with '--build'.\"),Option_preserveValueImports_can_only_be_used_when_module_is_set_to_es2015_or_later:n(5095,e.DiagnosticCategory.Error,\"Option_preserveValueImports_can_only_be_used_when_module_is_set_to_es2015_or_later_5095\",\"Option 'preserveValueImports' can only be used when 'module' is set to 'es2015' or later.\"),Generates_a_sourcemap_for_each_corresponding_d_ts_file:n(6e3,e.DiagnosticCategory.Message,\"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000\",\"Generates a sourcemap for each corresponding '.d.ts' file.\"),Concatenate_and_emit_output_to_single_file:n(6001,e.DiagnosticCategory.Message,\"Concatenate_and_emit_output_to_single_file_6001\",\"Concatenate and emit output to single file.\"),Generates_corresponding_d_ts_file:n(6002,e.DiagnosticCategory.Message,\"Generates_corresponding_d_ts_file_6002\",\"Generates corresponding '.d.ts' file.\"),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:n(6004,e.DiagnosticCategory.Message,\"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.\"),Watch_input_files:n(6005,e.DiagnosticCategory.Message,\"Watch_input_files_6005\",\"Watch input files.\"),Redirect_output_structure_to_the_directory:n(6006,e.DiagnosticCategory.Message,\"Redirect_output_structure_to_the_directory_6006\",\"Redirect output structure to the directory.\"),Do_not_erase_const_enum_declarations_in_generated_code:n(6007,e.DiagnosticCategory.Message,\"Do_not_erase_const_enum_declarations_in_generated_code_6007\",\"Do not erase const enum declarations in generated code.\"),Do_not_emit_outputs_if_any_errors_were_reported:n(6008,e.DiagnosticCategory.Message,\"Do_not_emit_outputs_if_any_errors_were_reported_6008\",\"Do not emit outputs if any errors were reported.\"),Do_not_emit_comments_to_output:n(6009,e.DiagnosticCategory.Message,\"Do_not_emit_comments_to_output_6009\",\"Do not emit comments to output.\"),Do_not_emit_outputs:n(6010,e.DiagnosticCategory.Message,\"Do_not_emit_outputs_6010\",\"Do not emit outputs.\"),Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:n(6011,e.DiagnosticCategory.Message,\"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.\"),Skip_type_checking_of_declaration_files:n(6012,e.DiagnosticCategory.Message,\"Skip_type_checking_of_declaration_files_6012\",\"Skip type checking of declaration files.\"),Do_not_resolve_the_real_path_of_symlinks:n(6013,e.DiagnosticCategory.Message,\"Do_not_resolve_the_real_path_of_symlinks_6013\",\"Do not resolve the real path of symlinks.\"),Only_emit_d_ts_declaration_files:n(6014,e.DiagnosticCategory.Message,\"Only_emit_d_ts_declaration_files_6014\",\"Only emit '.d.ts' declaration files.\"),Specify_ECMAScript_target_version:n(6015,e.DiagnosticCategory.Message,\"Specify_ECMAScript_target_version_6015\",\"Specify ECMAScript target version.\"),Specify_module_code_generation:n(6016,e.DiagnosticCategory.Message,\"Specify_module_code_generation_6016\",\"Specify module code generation.\"),Print_this_message:n(6017,e.DiagnosticCategory.Message,\"Print_this_message_6017\",\"Print this message.\"),Print_the_compiler_s_version:n(6019,e.DiagnosticCategory.Message,\"Print_the_compiler_s_version_6019\",\"Print the compiler's version.\"),Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json:n(6020,e.DiagnosticCategory.Message,\"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'.\"),Syntax_Colon_0:n(6023,e.DiagnosticCategory.Message,\"Syntax_Colon_0_6023\",\"Syntax: {0}\"),options:n(6024,e.DiagnosticCategory.Message,\"options_6024\",\"options\"),file:n(6025,e.DiagnosticCategory.Message,\"file_6025\",\"file\"),Examples_Colon_0:n(6026,e.DiagnosticCategory.Message,\"Examples_Colon_0_6026\",\"Examples: {0}\"),Options_Colon:n(6027,e.DiagnosticCategory.Message,\"Options_Colon_6027\",\"Options:\"),Version_0:n(6029,e.DiagnosticCategory.Message,\"Version_0_6029\",\"Version {0}\"),Insert_command_line_options_and_files_from_a_file:n(6030,e.DiagnosticCategory.Message,\"Insert_command_line_options_and_files_from_a_file_6030\",\"Insert command line options and files from a file.\"),Starting_compilation_in_watch_mode:n(6031,e.DiagnosticCategory.Message,\"Starting_compilation_in_watch_mode_6031\",\"Starting compilation in watch mode...\"),File_change_detected_Starting_incremental_compilation:n(6032,e.DiagnosticCategory.Message,\"File_change_detected_Starting_incremental_compilation_6032\",\"File change detected. Starting incremental compilation...\"),KIND:n(6034,e.DiagnosticCategory.Message,\"KIND_6034\",\"KIND\"),FILE:n(6035,e.DiagnosticCategory.Message,\"FILE_6035\",\"FILE\"),VERSION:n(6036,e.DiagnosticCategory.Message,\"VERSION_6036\",\"VERSION\"),LOCATION:n(6037,e.DiagnosticCategory.Message,\"LOCATION_6037\",\"LOCATION\"),DIRECTORY:n(6038,e.DiagnosticCategory.Message,\"DIRECTORY_6038\",\"DIRECTORY\"),STRATEGY:n(6039,e.DiagnosticCategory.Message,\"STRATEGY_6039\",\"STRATEGY\"),FILE_OR_DIRECTORY:n(6040,e.DiagnosticCategory.Message,\"FILE_OR_DIRECTORY_6040\",\"FILE OR DIRECTORY\"),Generates_corresponding_map_file:n(6043,e.DiagnosticCategory.Message,\"Generates_corresponding_map_file_6043\",\"Generates corresponding '.map' file.\"),Compiler_option_0_expects_an_argument:n(6044,e.DiagnosticCategory.Error,\"Compiler_option_0_expects_an_argument_6044\",\"Compiler option '{0}' expects an argument.\"),Unterminated_quoted_string_in_response_file_0:n(6045,e.DiagnosticCategory.Error,\"Unterminated_quoted_string_in_response_file_0_6045\",\"Unterminated quoted string in response file '{0}'.\"),Argument_for_0_option_must_be_Colon_1:n(6046,e.DiagnosticCategory.Error,\"Argument_for_0_option_must_be_Colon_1_6046\",\"Argument for '{0}' option must be: {1}.\"),Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:n(6048,e.DiagnosticCategory.Error,\"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}'.\"),Unable_to_open_file_0:n(6050,e.DiagnosticCategory.Error,\"Unable_to_open_file_0_6050\",\"Unable to open file '{0}'.\"),Corrupted_locale_file_0:n(6051,e.DiagnosticCategory.Error,\"Corrupted_locale_file_0_6051\",\"Corrupted locale file {0}.\"),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:n(6052,e.DiagnosticCategory.Message,\"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052\",\"Raise error on expressions and declarations with an implied 'any' type.\"),File_0_not_found:n(6053,e.DiagnosticCategory.Error,\"File_0_not_found_6053\",\"File '{0}' not found.\"),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:n(6054,e.DiagnosticCategory.Error,\"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}.\"),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:n(6055,e.DiagnosticCategory.Message,\"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055\",\"Suppress noImplicitAny errors for indexing objects lacking index signatures.\"),Do_not_emit_declarations_for_code_that_has_an_internal_annotation:n(6056,e.DiagnosticCategory.Message,\"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056\",\"Do not emit declarations for code that has an '@internal' annotation.\"),Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir:n(6058,e.DiagnosticCategory.Message,\"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.\"),File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:n(6059,e.DiagnosticCategory.Error,\"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.\"),Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:n(6060,e.DiagnosticCategory.Message,\"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).\"),NEWLINE:n(6061,e.DiagnosticCategory.Message,\"NEWLINE_6061\",\"NEWLINE\"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:n(6064,e.DiagnosticCategory.Error,\"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.\"),Enables_experimental_support_for_ES7_decorators:n(6065,e.DiagnosticCategory.Message,\"Enables_experimental_support_for_ES7_decorators_6065\",\"Enables experimental support for ES7 decorators.\"),Enables_experimental_support_for_emitting_type_metadata_for_decorators:n(6066,e.DiagnosticCategory.Message,\"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066\",\"Enables experimental support for emitting type metadata for decorators.\"),Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6:n(6069,e.DiagnosticCategory.Message,\"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069\",\"Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6).\"),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:n(6070,e.DiagnosticCategory.Message,\"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070\",\"Initializes a TypeScript project and creates a tsconfig.json file.\"),Successfully_created_a_tsconfig_json_file:n(6071,e.DiagnosticCategory.Message,\"Successfully_created_a_tsconfig_json_file_6071\",\"Successfully created a tsconfig.json file.\"),Suppress_excess_property_checks_for_object_literals:n(6072,e.DiagnosticCategory.Message,\"Suppress_excess_property_checks_for_object_literals_6072\",\"Suppress excess property checks for object literals.\"),Stylize_errors_and_messages_using_color_and_context_experimental:n(6073,e.DiagnosticCategory.Message,\"Stylize_errors_and_messages_using_color_and_context_experimental_6073\",\"Stylize errors and messages using color and context (experimental).\"),Do_not_report_errors_on_unused_labels:n(6074,e.DiagnosticCategory.Message,\"Do_not_report_errors_on_unused_labels_6074\",\"Do not report errors on unused labels.\"),Report_error_when_not_all_code_paths_in_function_return_a_value:n(6075,e.DiagnosticCategory.Message,\"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.\"),Report_errors_for_fallthrough_cases_in_switch_statement:n(6076,e.DiagnosticCategory.Message,\"Report_errors_for_fallthrough_cases_in_switch_statement_6076\",\"Report errors for fallthrough cases in switch statement.\"),Do_not_report_errors_on_unreachable_code:n(6077,e.DiagnosticCategory.Message,\"Do_not_report_errors_on_unreachable_code_6077\",\"Do not report errors on unreachable code.\"),Disallow_inconsistently_cased_references_to_the_same_file:n(6078,e.DiagnosticCategory.Message,\"Disallow_inconsistently_cased_references_to_the_same_file_6078\",\"Disallow inconsistently-cased references to the same file.\"),Specify_library_files_to_be_included_in_the_compilation:n(6079,e.DiagnosticCategory.Message,\"Specify_library_files_to_be_included_in_the_compilation_6079\",\"Specify library files to be included in the compilation.\"),Specify_JSX_code_generation:n(6080,e.DiagnosticCategory.Message,\"Specify_JSX_code_generation_6080\",\"Specify JSX code generation.\"),File_0_has_an_unsupported_extension_so_skipping_it:n(6081,e.DiagnosticCategory.Message,\"File_0_has_an_unsupported_extension_so_skipping_it_6081\",\"File '{0}' has an unsupported extension, so skipping it.\"),Only_amd_and_system_modules_are_supported_alongside_0:n(6082,e.DiagnosticCategory.Error,\"Only_amd_and_system_modules_are_supported_alongside_0_6082\",\"Only 'amd' and 'system' modules are supported alongside --{0}.\"),Base_directory_to_resolve_non_absolute_module_names:n(6083,e.DiagnosticCategory.Message,\"Base_directory_to_resolve_non_absolute_module_names_6083\",\"Base directory to resolve non-absolute module names.\"),Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:n(6084,e.DiagnosticCategory.Message,\"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\"),Enable_tracing_of_the_name_resolution_process:n(6085,e.DiagnosticCategory.Message,\"Enable_tracing_of_the_name_resolution_process_6085\",\"Enable tracing of the name resolution process.\"),Resolving_module_0_from_1:n(6086,e.DiagnosticCategory.Message,\"Resolving_module_0_from_1_6086\",\"======== Resolving module '{0}' from '{1}'. ========\"),Explicitly_specified_module_resolution_kind_Colon_0:n(6087,e.DiagnosticCategory.Message,\"Explicitly_specified_module_resolution_kind_Colon_0_6087\",\"Explicitly specified module resolution kind: '{0}'.\"),Module_resolution_kind_is_not_specified_using_0:n(6088,e.DiagnosticCategory.Message,\"Module_resolution_kind_is_not_specified_using_0_6088\",\"Module resolution kind is not specified, using '{0}'.\"),Module_name_0_was_successfully_resolved_to_1:n(6089,e.DiagnosticCategory.Message,\"Module_name_0_was_successfully_resolved_to_1_6089\",\"======== Module name '{0}' was successfully resolved to '{1}'. ========\"),Module_name_0_was_not_resolved:n(6090,e.DiagnosticCategory.Message,\"Module_name_0_was_not_resolved_6090\",\"======== Module name '{0}' was not resolved. ========\"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:n(6091,e.DiagnosticCategory.Message,\"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}'.\"),Module_name_0_matched_pattern_1:n(6092,e.DiagnosticCategory.Message,\"Module_name_0_matched_pattern_1_6092\",\"Module name '{0}', matched pattern '{1}'.\"),Trying_substitution_0_candidate_module_location_Colon_1:n(6093,e.DiagnosticCategory.Message,\"Trying_substitution_0_candidate_module_location_Colon_1_6093\",\"Trying substitution '{0}', candidate module location: '{1}'.\"),Resolving_module_name_0_relative_to_base_url_1_2:n(6094,e.DiagnosticCategory.Message,\"Resolving_module_name_0_relative_to_base_url_1_2_6094\",\"Resolving module name '{0}' relative to base url '{1}' - '{2}'.\"),Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1:n(6095,e.DiagnosticCategory.Message,\"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1_6095\",\"Loading module as file / folder, candidate module location '{0}', target file type '{1}'.\"),File_0_does_not_exist:n(6096,e.DiagnosticCategory.Message,\"File_0_does_not_exist_6096\",\"File '{0}' does not exist.\"),File_0_exist_use_it_as_a_name_resolution_result:n(6097,e.DiagnosticCategory.Message,\"File_0_exist_use_it_as_a_name_resolution_result_6097\",\"File '{0}' exist - use it as a name resolution result.\"),Loading_module_0_from_node_modules_folder_target_file_type_1:n(6098,e.DiagnosticCategory.Message,\"Loading_module_0_from_node_modules_folder_target_file_type_1_6098\",\"Loading module '{0}' from 'node_modules' folder, target file type '{1}'.\"),Found_package_json_at_0:n(6099,e.DiagnosticCategory.Message,\"Found_package_json_at_0_6099\",\"Found 'package.json' at '{0}'.\"),package_json_does_not_have_a_0_field:n(6100,e.DiagnosticCategory.Message,\"package_json_does_not_have_a_0_field_6100\",\"'package.json' does not have a '{0}' field.\"),package_json_has_0_field_1_that_references_2:n(6101,e.DiagnosticCategory.Message,\"package_json_has_0_field_1_that_references_2_6101\",\"'package.json' has '{0}' field '{1}' that references '{2}'.\"),Allow_javascript_files_to_be_compiled:n(6102,e.DiagnosticCategory.Message,\"Allow_javascript_files_to_be_compiled_6102\",\"Allow javascript files to be compiled.\"),Checking_if_0_is_the_longest_matching_prefix_for_1_2:n(6104,e.DiagnosticCategory.Message,\"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104\",\"Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'.\"),Expected_type_of_0_field_in_package_json_to_be_1_got_2:n(6105,e.DiagnosticCategory.Message,\"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}'.\"),baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:n(6106,e.DiagnosticCategory.Message,\"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}'.\"),rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0:n(6107,e.DiagnosticCategory.Message,\"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}'.\"),Longest_matching_prefix_for_0_is_1:n(6108,e.DiagnosticCategory.Message,\"Longest_matching_prefix_for_0_is_1_6108\",\"Longest matching prefix for '{0}' is '{1}'.\"),Loading_0_from_the_root_dir_1_candidate_location_2:n(6109,e.DiagnosticCategory.Message,\"Loading_0_from_the_root_dir_1_candidate_location_2_6109\",\"Loading '{0}' from the root dir '{1}', candidate location '{2}'.\"),Trying_other_entries_in_rootDirs:n(6110,e.DiagnosticCategory.Message,\"Trying_other_entries_in_rootDirs_6110\",\"Trying other entries in 'rootDirs'.\"),Module_resolution_using_rootDirs_has_failed:n(6111,e.DiagnosticCategory.Message,\"Module_resolution_using_rootDirs_has_failed_6111\",\"Module resolution using 'rootDirs' has failed.\"),Do_not_emit_use_strict_directives_in_module_output:n(6112,e.DiagnosticCategory.Message,\"Do_not_emit_use_strict_directives_in_module_output_6112\",\"Do not emit 'use strict' directives in module output.\"),Enable_strict_null_checks:n(6113,e.DiagnosticCategory.Message,\"Enable_strict_null_checks_6113\",\"Enable strict null checks.\"),Unknown_option_excludes_Did_you_mean_exclude:n(6114,e.DiagnosticCategory.Error,\"Unknown_option_excludes_Did_you_mean_exclude_6114\",\"Unknown option 'excludes'. Did you mean 'exclude'?\"),Raise_error_on_this_expressions_with_an_implied_any_type:n(6115,e.DiagnosticCategory.Message,\"Raise_error_on_this_expressions_with_an_implied_any_type_6115\",\"Raise error on 'this' expressions with an implied 'any' type.\"),Resolving_type_reference_directive_0_containing_file_1_root_directory_2:n(6116,e.DiagnosticCategory.Message,\"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116\",\"======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========\"),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:n(6119,e.DiagnosticCategory.Message,\"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119\",\"======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========\"),Type_reference_directive_0_was_not_resolved:n(6120,e.DiagnosticCategory.Message,\"Type_reference_directive_0_was_not_resolved_6120\",\"======== Type reference directive '{0}' was not resolved. ========\"),Resolving_with_primary_search_path_0:n(6121,e.DiagnosticCategory.Message,\"Resolving_with_primary_search_path_0_6121\",\"Resolving with primary search path '{0}'.\"),Root_directory_cannot_be_determined_skipping_primary_search_paths:n(6122,e.DiagnosticCategory.Message,\"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122\",\"Root directory cannot be determined, skipping primary search paths.\"),Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:n(6123,e.DiagnosticCategory.Message,\"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. ========\"),Type_declaration_files_to_be_included_in_compilation:n(6124,e.DiagnosticCategory.Message,\"Type_declaration_files_to_be_included_in_compilation_6124\",\"Type declaration files to be included in compilation.\"),Looking_up_in_node_modules_folder_initial_location_0:n(6125,e.DiagnosticCategory.Message,\"Looking_up_in_node_modules_folder_initial_location_0_6125\",\"Looking up in 'node_modules' folder, initial location '{0}'.\"),Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder:n(6126,e.DiagnosticCategory.Message,\"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.\"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:n(6127,e.DiagnosticCategory.Message,\"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}'. ========\"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:n(6128,e.DiagnosticCategory.Message,\"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. ========\"),Resolving_real_path_for_0_result_1:n(6130,e.DiagnosticCategory.Message,\"Resolving_real_path_for_0_result_1_6130\",\"Resolving real path for '{0}', result '{1}'.\"),Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:n(6131,e.DiagnosticCategory.Error,\"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'.\"),File_name_0_has_a_1_extension_stripping_it:n(6132,e.DiagnosticCategory.Message,\"File_name_0_has_a_1_extension_stripping_it_6132\",\"File name '{0}' has a '{1}' extension - stripping it.\"),_0_is_declared_but_its_value_is_never_read:n(6133,e.DiagnosticCategory.Error,\"_0_is_declared_but_its_value_is_never_read_6133\",\"'{0}' is declared but its value is never read.\",!0),Report_errors_on_unused_locals:n(6134,e.DiagnosticCategory.Message,\"Report_errors_on_unused_locals_6134\",\"Report errors on unused locals.\"),Report_errors_on_unused_parameters:n(6135,e.DiagnosticCategory.Message,\"Report_errors_on_unused_parameters_6135\",\"Report errors on unused parameters.\"),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:n(6136,e.DiagnosticCategory.Message,\"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.\"),Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1:n(6137,e.DiagnosticCategory.Error,\"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137\",\"Cannot import type declaration files. Consider importing '{0}' instead of '{1}'.\"),Property_0_is_declared_but_its_value_is_never_read:n(6138,e.DiagnosticCategory.Error,\"Property_0_is_declared_but_its_value_is_never_read_6138\",\"Property '{0}' is declared but its value is never read.\",!0),Import_emit_helpers_from_tslib:n(6139,e.DiagnosticCategory.Message,\"Import_emit_helpers_from_tslib_6139\",\"Import emit helpers from 'tslib'.\"),Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2:n(6140,e.DiagnosticCategory.Error,\"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}'.\"),Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:n(6141,e.DiagnosticCategory.Message,\"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.'),Module_0_was_resolved_to_1_but_jsx_is_not_set:n(6142,e.DiagnosticCategory.Error,\"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142\",\"Module '{0}' was resolved to '{1}', but '--jsx' is not set.\"),Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:n(6144,e.DiagnosticCategory.Message,\"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}'.\"),Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified:n(6145,e.DiagnosticCategory.Message,\"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.\"),Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:n(6146,e.DiagnosticCategory.Message,\"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'.\"),Resolution_for_module_0_was_found_in_cache_from_location_1:n(6147,e.DiagnosticCategory.Message,\"Resolution_for_module_0_was_found_in_cache_from_location_1_6147\",\"Resolution for module '{0}' was found in cache from location '{1}'.\"),Directory_0_does_not_exist_skipping_all_lookups_in_it:n(6148,e.DiagnosticCategory.Message,\"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148\",\"Directory '{0}' does not exist, skipping all lookups in it.\"),Show_diagnostic_information:n(6149,e.DiagnosticCategory.Message,\"Show_diagnostic_information_6149\",\"Show diagnostic information.\"),Show_verbose_diagnostic_information:n(6150,e.DiagnosticCategory.Message,\"Show_verbose_diagnostic_information_6150\",\"Show verbose diagnostic information.\"),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:n(6151,e.DiagnosticCategory.Message,\"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.\"),Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set:n(6152,e.DiagnosticCategory.Message,\"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.\"),Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:n(6153,e.DiagnosticCategory.Message,\"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153\",\"Transpile each file as a separate module (similar to 'ts.transpileModule').\"),Print_names_of_generated_files_part_of_the_compilation:n(6154,e.DiagnosticCategory.Message,\"Print_names_of_generated_files_part_of_the_compilation_6154\",\"Print names of generated files part of the compilation.\"),Print_names_of_files_part_of_the_compilation:n(6155,e.DiagnosticCategory.Message,\"Print_names_of_files_part_of_the_compilation_6155\",\"Print names of files part of the compilation.\"),The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:n(6156,e.DiagnosticCategory.Message,\"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')\"),Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:n(6157,e.DiagnosticCategory.Message,\"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157\",\"Do not generate custom helper functions like '__extends' in compiled output.\"),Do_not_include_the_default_library_file_lib_d_ts:n(6158,e.DiagnosticCategory.Message,\"Do_not_include_the_default_library_file_lib_d_ts_6158\",\"Do not include the default library file (lib.d.ts).\"),Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files:n(6159,e.DiagnosticCategory.Message,\"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.\"),Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:n(6160,e.DiagnosticCategory.Message,\"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.\"),List_of_folders_to_include_type_definitions_from:n(6161,e.DiagnosticCategory.Message,\"List_of_folders_to_include_type_definitions_from_6161\",\"List of folders to include type definitions from.\"),Disable_size_limitations_on_JavaScript_projects:n(6162,e.DiagnosticCategory.Message,\"Disable_size_limitations_on_JavaScript_projects_6162\",\"Disable size limitations on JavaScript projects.\"),The_character_set_of_the_input_files:n(6163,e.DiagnosticCategory.Message,\"The_character_set_of_the_input_files_6163\",\"The character set of the input files.\"),Do_not_truncate_error_messages:n(6165,e.DiagnosticCategory.Message,\"Do_not_truncate_error_messages_6165\",\"Do not truncate error messages.\"),Output_directory_for_generated_declaration_files:n(6166,e.DiagnosticCategory.Message,\"Output_directory_for_generated_declaration_files_6166\",\"Output directory for generated declaration files.\"),A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:n(6167,e.DiagnosticCategory.Message,\"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'.\"),List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:n(6168,e.DiagnosticCategory.Message,\"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.\"),Show_all_compiler_options:n(6169,e.DiagnosticCategory.Message,\"Show_all_compiler_options_6169\",\"Show all compiler options.\"),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:n(6170,e.DiagnosticCategory.Message,\"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170\",\"[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file\"),Command_line_Options:n(6171,e.DiagnosticCategory.Message,\"Command_line_Options_6171\",\"Command-line Options\"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:n(6179,e.DiagnosticCategory.Message,\"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'.\"),Enable_all_strict_type_checking_options:n(6180,e.DiagnosticCategory.Message,\"Enable_all_strict_type_checking_options_6180\",\"Enable all strict type-checking options.\"),List_of_language_service_plugins:n(6181,e.DiagnosticCategory.Message,\"List_of_language_service_plugins_6181\",\"List of language service plugins.\"),Scoped_package_detected_looking_in_0:n(6182,e.DiagnosticCategory.Message,\"Scoped_package_detected_looking_in_0_6182\",\"Scoped package detected, looking in '{0}'\"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:n(6183,e.DiagnosticCategory.Message,\"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}'.\"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:n(6184,e.DiagnosticCategory.Message,\"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}'.\"),Enable_strict_checking_of_function_types:n(6186,e.DiagnosticCategory.Message,\"Enable_strict_checking_of_function_types_6186\",\"Enable strict checking of function types.\"),Enable_strict_checking_of_property_initialization_in_classes:n(6187,e.DiagnosticCategory.Message,\"Enable_strict_checking_of_property_initialization_in_classes_6187\",\"Enable strict checking of property initialization in classes.\"),Numeric_separators_are_not_allowed_here:n(6188,e.DiagnosticCategory.Error,\"Numeric_separators_are_not_allowed_here_6188\",\"Numeric separators are not allowed here.\"),Multiple_consecutive_numeric_separators_are_not_permitted:n(6189,e.DiagnosticCategory.Error,\"Multiple_consecutive_numeric_separators_are_not_permitted_6189\",\"Multiple consecutive numeric separators are not permitted.\"),Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen:n(6191,e.DiagnosticCategory.Message,\"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.\"),All_imports_in_import_declaration_are_unused:n(6192,e.DiagnosticCategory.Error,\"All_imports_in_import_declaration_are_unused_6192\",\"All imports in import declaration are unused.\",!0),Found_1_error_Watching_for_file_changes:n(6193,e.DiagnosticCategory.Message,\"Found_1_error_Watching_for_file_changes_6193\",\"Found 1 error. Watching for file changes.\"),Found_0_errors_Watching_for_file_changes:n(6194,e.DiagnosticCategory.Message,\"Found_0_errors_Watching_for_file_changes_6194\",\"Found {0} errors. Watching for file changes.\"),Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols:n(6195,e.DiagnosticCategory.Message,\"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).\"),_0_is_declared_but_never_used:n(6196,e.DiagnosticCategory.Error,\"_0_is_declared_but_never_used_6196\",\"'{0}' is declared but never used.\",!0),Include_modules_imported_with_json_extension:n(6197,e.DiagnosticCategory.Message,\"Include_modules_imported_with_json_extension_6197\",\"Include modules imported with '.json' extension\"),All_destructured_elements_are_unused:n(6198,e.DiagnosticCategory.Error,\"All_destructured_elements_are_unused_6198\",\"All destructured elements are unused.\",!0),All_variables_are_unused:n(6199,e.DiagnosticCategory.Error,\"All_variables_are_unused_6199\",\"All variables are unused.\",!0),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:n(6200,e.DiagnosticCategory.Error,\"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}\"),Conflicts_are_in_this_file:n(6201,e.DiagnosticCategory.Message,\"Conflicts_are_in_this_file_6201\",\"Conflicts are in this file.\"),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:n(6202,e.DiagnosticCategory.Error,\"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202\",\"Project references may not form a circular graph. Cycle detected: {0}\"),_0_was_also_declared_here:n(6203,e.DiagnosticCategory.Message,\"_0_was_also_declared_here_6203\",\"'{0}' was also declared here.\"),and_here:n(6204,e.DiagnosticCategory.Message,\"and_here_6204\",\"and here.\"),All_type_parameters_are_unused:n(6205,e.DiagnosticCategory.Error,\"All_type_parameters_are_unused_6205\",\"All type parameters are unused.\"),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:n(6206,e.DiagnosticCategory.Message,\"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206\",\"'package.json' has a 'typesVersions' field with version-specific path mappings.\"),package_json_does_not_have_a_typesVersions_entry_that_matches_version_0:n(6207,e.DiagnosticCategory.Message,\"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}'.\"),package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2:n(6208,e.DiagnosticCategory.Message,\"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}'.\"),package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range:n(6209,e.DiagnosticCategory.Message,\"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.\"),An_argument_for_0_was_not_provided:n(6210,e.DiagnosticCategory.Message,\"An_argument_for_0_was_not_provided_6210\",\"An argument for '{0}' was not provided.\"),An_argument_matching_this_binding_pattern_was_not_provided:n(6211,e.DiagnosticCategory.Message,\"An_argument_matching_this_binding_pattern_was_not_provided_6211\",\"An argument matching this binding pattern was not provided.\"),Did_you_mean_to_call_this_expression:n(6212,e.DiagnosticCategory.Message,\"Did_you_mean_to_call_this_expression_6212\",\"Did you mean to call this expression?\"),Did_you_mean_to_use_new_with_this_expression:n(6213,e.DiagnosticCategory.Message,\"Did_you_mean_to_use_new_with_this_expression_6213\",\"Did you mean to use 'new' with this expression?\"),Enable_strict_bind_call_and_apply_methods_on_functions:n(6214,e.DiagnosticCategory.Message,\"Enable_strict_bind_call_and_apply_methods_on_functions_6214\",\"Enable strict 'bind', 'call', and 'apply' methods on functions.\"),Using_compiler_options_of_project_reference_redirect_0:n(6215,e.DiagnosticCategory.Message,\"Using_compiler_options_of_project_reference_redirect_0_6215\",\"Using compiler options of project reference redirect '{0}'.\"),Found_1_error:n(6216,e.DiagnosticCategory.Message,\"Found_1_error_6216\",\"Found 1 error.\"),Found_0_errors:n(6217,e.DiagnosticCategory.Message,\"Found_0_errors_6217\",\"Found {0} errors.\"),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:n(6218,e.DiagnosticCategory.Message,\"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}'. ========\"),Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3:n(6219,e.DiagnosticCategory.Message,\"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}. ========\"),package_json_had_a_falsy_0_field:n(6220,e.DiagnosticCategory.Message,\"package_json_had_a_falsy_0_field_6220\",\"'package.json' had a falsy '{0}' field.\"),Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects:n(6221,e.DiagnosticCategory.Message,\"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.\"),Emit_class_fields_with_Define_instead_of_Set:n(6222,e.DiagnosticCategory.Message,\"Emit_class_fields_with_Define_instead_of_Set_6222\",\"Emit class fields with Define instead of Set.\"),Generates_a_CPU_profile:n(6223,e.DiagnosticCategory.Message,\"Generates_a_CPU_profile_6223\",\"Generates a CPU profile.\"),Disable_solution_searching_for_this_project:n(6224,e.DiagnosticCategory.Message,\"Disable_solution_searching_for_this_project_6224\",\"Disable solution searching for this project.\"),Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling_UseFsEvents_UseFsEventsOnParentDirectory:n(6225,e.DiagnosticCategory.Message,\"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225\",\"Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'.\"),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling:n(6226,e.DiagnosticCategory.Message,\"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'.\"),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority_FixedChunkSize:n(6227,e.DiagnosticCategory.Message,\"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'.\"),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:n(6229,e.DiagnosticCategory.Error,\"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}'.\"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line:n(6230,e.DiagnosticCategory.Error,\"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.\"),Could_not_resolve_the_path_0_with_the_extensions_Colon_1:n(6231,e.DiagnosticCategory.Error,\"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231\",\"Could not resolve the path '{0}' with the extensions: {1}.\"),Declaration_augments_declaration_in_another_file_This_cannot_be_serialized:n(6232,e.DiagnosticCategory.Error,\"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232\",\"Declaration augments declaration in another file. This cannot be serialized.\"),This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file:n(6233,e.DiagnosticCategory.Error,\"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.\"),This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without:n(6234,e.DiagnosticCategory.Error,\"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 '()'?\"),Disable_loading_referenced_projects:n(6235,e.DiagnosticCategory.Message,\"Disable_loading_referenced_projects_6235\",\"Disable loading referenced projects.\"),Arguments_for_the_rest_parameter_0_were_not_provided:n(6236,e.DiagnosticCategory.Error,\"Arguments_for_the_rest_parameter_0_were_not_provided_6236\",\"Arguments for the rest parameter '{0}' were not provided.\"),Generates_an_event_trace_and_a_list_of_types:n(6237,e.DiagnosticCategory.Message,\"Generates_an_event_trace_and_a_list_of_types_6237\",\"Generates an event trace and a list of types.\"),Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react:n(6238,e.DiagnosticCategory.Error,\"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\"),File_0_exists_according_to_earlier_cached_lookups:n(6239,e.DiagnosticCategory.Message,\"File_0_exists_according_to_earlier_cached_lookups_6239\",\"File '{0}' exists according to earlier cached lookups.\"),File_0_does_not_exist_according_to_earlier_cached_lookups:n(6240,e.DiagnosticCategory.Message,\"File_0_does_not_exist_according_to_earlier_cached_lookups_6240\",\"File '{0}' does not exist according to earlier cached lookups.\"),Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1:n(6241,e.DiagnosticCategory.Message,\"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}'.\"),Resolving_type_reference_directive_0_containing_file_1:n(6242,e.DiagnosticCategory.Message,\"Resolving_type_reference_directive_0_containing_file_1_6242\",\"======== Resolving type reference directive '{0}', containing file '{1}'. ========\"),Interpret_optional_property_types_as_written_rather_than_adding_undefined:n(6243,e.DiagnosticCategory.Message,\"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243\",\"Interpret optional property types as written, rather than adding 'undefined'.\"),Modules:n(6244,e.DiagnosticCategory.Message,\"Modules_6244\",\"Modules\"),File_Management:n(6245,e.DiagnosticCategory.Message,\"File_Management_6245\",\"File Management\"),Emit:n(6246,e.DiagnosticCategory.Message,\"Emit_6246\",\"Emit\"),JavaScript_Support:n(6247,e.DiagnosticCategory.Message,\"JavaScript_Support_6247\",\"JavaScript Support\"),Type_Checking:n(6248,e.DiagnosticCategory.Message,\"Type_Checking_6248\",\"Type Checking\"),Editor_Support:n(6249,e.DiagnosticCategory.Message,\"Editor_Support_6249\",\"Editor Support\"),Watch_and_Build_Modes:n(6250,e.DiagnosticCategory.Message,\"Watch_and_Build_Modes_6250\",\"Watch and Build Modes\"),Compiler_Diagnostics:n(6251,e.DiagnosticCategory.Message,\"Compiler_Diagnostics_6251\",\"Compiler Diagnostics\"),Interop_Constraints:n(6252,e.DiagnosticCategory.Message,\"Interop_Constraints_6252\",\"Interop Constraints\"),Backwards_Compatibility:n(6253,e.DiagnosticCategory.Message,\"Backwards_Compatibility_6253\",\"Backwards Compatibility\"),Language_and_Environment:n(6254,e.DiagnosticCategory.Message,\"Language_and_Environment_6254\",\"Language and Environment\"),Projects:n(6255,e.DiagnosticCategory.Message,\"Projects_6255\",\"Projects\"),Output_Formatting:n(6256,e.DiagnosticCategory.Message,\"Output_Formatting_6256\",\"Output Formatting\"),Completeness:n(6257,e.DiagnosticCategory.Message,\"Completeness_6257\",\"Completeness\"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:n(6258,e.DiagnosticCategory.Error,\"_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\"),Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve:n(6270,e.DiagnosticCategory.Message,\"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.\"),Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1:n(6271,e.DiagnosticCategory.Message,\"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}'.\"),Invalid_import_specifier_0_has_no_possible_resolutions:n(6272,e.DiagnosticCategory.Message,\"Invalid_import_specifier_0_has_no_possible_resolutions_6272\",\"Invalid import specifier '{0}' has no possible resolutions.\"),package_json_scope_0_has_no_imports_defined:n(6273,e.DiagnosticCategory.Message,\"package_json_scope_0_has_no_imports_defined_6273\",\"package.json scope '{0}' has no imports defined.\"),package_json_scope_0_explicitly_maps_specifier_1_to_null:n(6274,e.DiagnosticCategory.Message,\"package_json_scope_0_explicitly_maps_specifier_1_to_null_6274\",\"package.json scope '{0}' explicitly maps specifier '{1}' to null.\"),package_json_scope_0_has_invalid_type_for_target_of_specifier_1:n(6275,e.DiagnosticCategory.Message,\"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}'\"),Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1:n(6276,e.DiagnosticCategory.Message,\"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}'.\"),Enable_project_compilation:n(6302,e.DiagnosticCategory.Message,\"Enable_project_compilation_6302\",\"Enable project compilation\"),Composite_projects_may_not_disable_declaration_emit:n(6304,e.DiagnosticCategory.Error,\"Composite_projects_may_not_disable_declaration_emit_6304\",\"Composite projects may not disable declaration emit.\"),Output_file_0_has_not_been_built_from_source_file_1:n(6305,e.DiagnosticCategory.Error,\"Output_file_0_has_not_been_built_from_source_file_1_6305\",\"Output file '{0}' has not been built from source file '{1}'.\"),Referenced_project_0_must_have_setting_composite_Colon_true:n(6306,e.DiagnosticCategory.Error,\"Referenced_project_0_must_have_setting_composite_Colon_true_6306\",`Referenced project '{0}' must have setting \"composite\": true.`),File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern:n(6307,e.DiagnosticCategory.Error,\"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.\"),Cannot_prepend_project_0_because_it_does_not_have_outFile_set:n(6308,e.DiagnosticCategory.Error,\"Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308\",\"Cannot prepend project '{0}' because it does not have 'outFile' set\"),Output_file_0_from_project_1_does_not_exist:n(6309,e.DiagnosticCategory.Error,\"Output_file_0_from_project_1_does_not_exist_6309\",\"Output file '{0}' from project '{1}' does not exist\"),Referenced_project_0_may_not_disable_emit:n(6310,e.DiagnosticCategory.Error,\"Referenced_project_0_may_not_disable_emit_6310\",\"Referenced project '{0}' may not disable emit.\"),Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2:n(6350,e.DiagnosticCategory.Message,\"Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2_6350\",\"Project '{0}' is out of date because oldest output '{1}' is older than newest input '{2}'\"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2:n(6351,e.DiagnosticCategory.Message,\"Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2_6351\",\"Project '{0}' is up to date because newest input '{1}' is older than oldest output '{2}'\"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:n(6352,e.DiagnosticCategory.Message,\"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\"),Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date:n(6353,e.DiagnosticCategory.Message,\"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\"),Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies:n(6354,e.DiagnosticCategory.Message,\"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\"),Projects_in_this_build_Colon_0:n(6355,e.DiagnosticCategory.Message,\"Projects_in_this_build_Colon_0_6355\",\"Projects in this build: {0}\"),A_non_dry_build_would_delete_the_following_files_Colon_0:n(6356,e.DiagnosticCategory.Message,\"A_non_dry_build_would_delete_the_following_files_Colon_0_6356\",\"A non-dry build would delete the following files: {0}\"),A_non_dry_build_would_build_project_0:n(6357,e.DiagnosticCategory.Message,\"A_non_dry_build_would_build_project_0_6357\",\"A non-dry build would build project '{0}'\"),Building_project_0:n(6358,e.DiagnosticCategory.Message,\"Building_project_0_6358\",\"Building project '{0}'...\"),Updating_output_timestamps_of_project_0:n(6359,e.DiagnosticCategory.Message,\"Updating_output_timestamps_of_project_0_6359\",\"Updating output timestamps of project '{0}'...\"),Project_0_is_up_to_date:n(6361,e.DiagnosticCategory.Message,\"Project_0_is_up_to_date_6361\",\"Project '{0}' is up to date\"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:n(6362,e.DiagnosticCategory.Message,\"Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362\",\"Skipping build of project '{0}' because its dependency '{1}' has errors\"),Project_0_can_t_be_built_because_its_dependency_1_has_errors:n(6363,e.DiagnosticCategory.Message,\"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\"),Build_one_or_more_projects_and_their_dependencies_if_out_of_date:n(6364,e.DiagnosticCategory.Message,\"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\"),Delete_the_outputs_of_all_projects:n(6365,e.DiagnosticCategory.Message,\"Delete_the_outputs_of_all_projects_6365\",\"Delete the outputs of all projects\"),Show_what_would_be_built_or_deleted_if_specified_with_clean:n(6367,e.DiagnosticCategory.Message,\"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367\",\"Show what would be built (or deleted, if specified with '--clean')\"),Option_build_must_be_the_first_command_line_argument:n(6369,e.DiagnosticCategory.Error,\"Option_build_must_be_the_first_command_line_argument_6369\",\"Option '--build' must be the first command line argument.\"),Options_0_and_1_cannot_be_combined:n(6370,e.DiagnosticCategory.Error,\"Options_0_and_1_cannot_be_combined_6370\",\"Options '{0}' and '{1}' cannot be combined.\"),Updating_unchanged_output_timestamps_of_project_0:n(6371,e.DiagnosticCategory.Message,\"Updating_unchanged_output_timestamps_of_project_0_6371\",\"Updating unchanged output timestamps of project '{0}'...\"),Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed:n(6372,e.DiagnosticCategory.Message,\"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\"),Updating_output_of_project_0:n(6373,e.DiagnosticCategory.Message,\"Updating_output_of_project_0_6373\",\"Updating output of project '{0}'...\"),A_non_dry_build_would_update_timestamps_for_output_of_project_0:n(6374,e.DiagnosticCategory.Message,\"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}'\"),A_non_dry_build_would_update_output_of_project_0:n(6375,e.DiagnosticCategory.Message,\"A_non_dry_build_would_update_output_of_project_0_6375\",\"A non-dry build would update output of project '{0}'\"),Cannot_update_output_of_project_0_because_there_was_error_reading_file_1:n(6376,e.DiagnosticCategory.Message,\"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}'\"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:n(6377,e.DiagnosticCategory.Error,\"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}'\"),Enable_incremental_compilation:n(6378,e.DiagnosticCategory.Message,\"Enable_incremental_compilation_6378\",\"Enable incremental compilation\"),Composite_projects_may_not_disable_incremental_compilation:n(6379,e.DiagnosticCategory.Error,\"Composite_projects_may_not_disable_incremental_compilation_6379\",\"Composite projects may not disable incremental compilation.\"),Specify_file_to_store_incremental_compilation_information:n(6380,e.DiagnosticCategory.Message,\"Specify_file_to_store_incremental_compilation_information_6380\",\"Specify file to store incremental compilation information\"),Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2:n(6381,e.DiagnosticCategory.Message,\"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}'\"),Skipping_build_of_project_0_because_its_dependency_1_was_not_built:n(6382,e.DiagnosticCategory.Message,\"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\"),Project_0_can_t_be_built_because_its_dependency_1_was_not_built:n(6383,e.DiagnosticCategory.Message,\"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\"),Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:n(6384,e.DiagnosticCategory.Message,\"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.\"),_0_is_deprecated:n(6385,e.DiagnosticCategory.Suggestion,\"_0_is_deprecated_6385\",\"'{0}' is deprecated.\",void 0,void 0,!0),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(6386,e.DiagnosticCategory.Message,\"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.\"),The_signature_0_of_1_is_deprecated:n(6387,e.DiagnosticCategory.Suggestion,\"The_signature_0_of_1_is_deprecated_6387\",\"The signature '{0}' of '{1}' is deprecated.\",void 0,void 0,!0),Project_0_is_being_forcibly_rebuilt:n(6388,e.DiagnosticCategory.Message,\"Project_0_is_being_forcibly_rebuilt_6388\",\"Project '{0}' is being forcibly rebuilt\"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:n(6389,e.DiagnosticCategory.Message,\"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.\"),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:n(6390,e.DiagnosticCategory.Message,\"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}'.\"),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:n(6391,e.DiagnosticCategory.Message,\"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}'.\"),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved:n(6392,e.DiagnosticCategory.Message,\"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.\"),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:n(6393,e.DiagnosticCategory.Message,\"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}'.\"),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:n(6394,e.DiagnosticCategory.Message,\"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}'.\"),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:n(6395,e.DiagnosticCategory.Message,\"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.\"),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:n(6396,e.DiagnosticCategory.Message,\"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}'.\"),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(6397,e.DiagnosticCategory.Message,\"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}'.\"),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:n(6398,e.DiagnosticCategory.Message,\"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.\"),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:n(6500,e.DiagnosticCategory.Message,\"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}'\"),The_expected_type_comes_from_this_index_signature:n(6501,e.DiagnosticCategory.Message,\"The_expected_type_comes_from_this_index_signature_6501\",\"The expected type comes from this index signature.\"),The_expected_type_comes_from_the_return_type_of_this_signature:n(6502,e.DiagnosticCategory.Message,\"The_expected_type_comes_from_the_return_type_of_this_signature_6502\",\"The expected type comes from the return type of this signature.\"),Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing:n(6503,e.DiagnosticCategory.Message,\"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.\"),File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option:n(6504,e.DiagnosticCategory.Error,\"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?\"),Print_names_of_files_and_the_reason_they_are_part_of_the_compilation:n(6505,e.DiagnosticCategory.Message,\"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.\"),Consider_adding_a_declare_modifier_to_this_class:n(6506,e.DiagnosticCategory.Message,\"Consider_adding_a_declare_modifier_to_this_class_6506\",\"Consider adding a 'declare' modifier to this class.\"),Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files:n(6600,e.DiagnosticCategory.Message,\"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.\"),Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export:n(6601,e.DiagnosticCategory.Message,\"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.\"),Allow_accessing_UMD_globals_from_modules:n(6602,e.DiagnosticCategory.Message,\"Allow_accessing_UMD_globals_from_modules_6602\",\"Allow accessing UMD globals from modules.\"),Disable_error_reporting_for_unreachable_code:n(6603,e.DiagnosticCategory.Message,\"Disable_error_reporting_for_unreachable_code_6603\",\"Disable error reporting for unreachable code.\"),Disable_error_reporting_for_unused_labels:n(6604,e.DiagnosticCategory.Message,\"Disable_error_reporting_for_unused_labels_6604\",\"Disable error reporting for unused labels.\"),Ensure_use_strict_is_always_emitted:n(6605,e.DiagnosticCategory.Message,\"Ensure_use_strict_is_always_emitted_6605\",\"Ensure 'use strict' is always emitted.\"),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(6606,e.DiagnosticCategory.Message,\"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.\"),Specify_the_base_directory_to_resolve_non_relative_module_names:n(6607,e.DiagnosticCategory.Message,\"Specify_the_base_directory_to_resolve_non_relative_module_names_6607\",\"Specify the base directory to resolve non-relative module names.\"),No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files:n(6608,e.DiagnosticCategory.Message,\"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.\"),Enable_error_reporting_in_type_checked_JavaScript_files:n(6609,e.DiagnosticCategory.Message,\"Enable_error_reporting_in_type_checked_JavaScript_files_6609\",\"Enable error reporting in type-checked JavaScript files.\"),Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references:n(6611,e.DiagnosticCategory.Message,\"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.\"),Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project:n(6612,e.DiagnosticCategory.Message,\"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.\"),Specify_the_output_directory_for_generated_declaration_files:n(6613,e.DiagnosticCategory.Message,\"Specify_the_output_directory_for_generated_declaration_files_6613\",\"Specify the output directory for generated declaration files.\"),Create_sourcemaps_for_d_ts_files:n(6614,e.DiagnosticCategory.Message,\"Create_sourcemaps_for_d_ts_files_6614\",\"Create sourcemaps for d.ts files.\"),Output_compiler_performance_information_after_building:n(6615,e.DiagnosticCategory.Message,\"Output_compiler_performance_information_after_building_6615\",\"Output compiler performance information after building.\"),Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project:n(6616,e.DiagnosticCategory.Message,\"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.\"),Reduce_the_number_of_projects_loaded_automatically_by_TypeScript:n(6617,e.DiagnosticCategory.Message,\"Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617\",\"Reduce the number of projects loaded automatically by TypeScript.\"),Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server:n(6618,e.DiagnosticCategory.Message,\"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.\"),Opt_a_project_out_of_multi_project_reference_checking_when_editing:n(6619,e.DiagnosticCategory.Message,\"Opt_a_project_out_of_multi_project_reference_checking_when_editing_6619\",\"Opt a project out of multi-project reference checking when editing.\"),Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects:n(6620,e.DiagnosticCategory.Message,\"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\"),Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration:n(6621,e.DiagnosticCategory.Message,\"Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621\",\"Emit more compliant, but verbose and less performant JavaScript for iteration.\"),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:n(6622,e.DiagnosticCategory.Message,\"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.\"),Only_output_d_ts_files_and_not_JavaScript_files:n(6623,e.DiagnosticCategory.Message,\"Only_output_d_ts_files_and_not_JavaScript_files_6623\",\"Only output d.ts files and not JavaScript files.\"),Emit_design_type_metadata_for_decorated_declarations_in_source_files:n(6624,e.DiagnosticCategory.Message,\"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624\",\"Emit design-type metadata for decorated declarations in source files.\"),Disable_the_type_acquisition_for_JavaScript_projects:n(6625,e.DiagnosticCategory.Message,\"Disable_the_type_acquisition_for_JavaScript_projects_6625\",\"Disable the type acquisition for JavaScript projects\"),Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility:n(6626,e.DiagnosticCategory.Message,\"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.\"),Filters_results_from_the_include_option:n(6627,e.DiagnosticCategory.Message,\"Filters_results_from_the_include_option_6627\",\"Filters results from the `include` option.\"),Remove_a_list_of_directories_from_the_watch_process:n(6628,e.DiagnosticCategory.Message,\"Remove_a_list_of_directories_from_the_watch_process_6628\",\"Remove a list of directories from the watch process.\"),Remove_a_list_of_files_from_the_watch_mode_s_processing:n(6629,e.DiagnosticCategory.Message,\"Remove_a_list_of_files_from_the_watch_mode_s_processing_6629\",\"Remove a list of files from the watch mode's processing.\"),Enable_experimental_support_for_TC39_stage_2_draft_decorators:n(6630,e.DiagnosticCategory.Message,\"Enable_experimental_support_for_TC39_stage_2_draft_decorators_6630\",\"Enable experimental support for TC39 stage 2 draft decorators.\"),Print_files_read_during_the_compilation_including_why_it_was_included:n(6631,e.DiagnosticCategory.Message,\"Print_files_read_during_the_compilation_including_why_it_was_included_6631\",\"Print files read during the compilation including why it was included.\"),Output_more_detailed_compiler_performance_information_after_building:n(6632,e.DiagnosticCategory.Message,\"Output_more_detailed_compiler_performance_information_after_building_6632\",\"Output more detailed compiler performance information after building.\"),Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_are_inherited:n(6633,e.DiagnosticCategory.Message,\"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.\"),Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers:n(6634,e.DiagnosticCategory.Message,\"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.\"),Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include:n(6635,e.DiagnosticCategory.Message,\"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`.\"),Build_all_projects_including_those_that_appear_to_be_up_to_date:n(6636,e.DiagnosticCategory.Message,\"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\"),Ensure_that_casing_is_correct_in_imports:n(6637,e.DiagnosticCategory.Message,\"Ensure_that_casing_is_correct_in_imports_6637\",\"Ensure that casing is correct in imports.\"),Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging:n(6638,e.DiagnosticCategory.Message,\"Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638\",\"Emit a v8 CPU profile of the compiler run for debugging.\"),Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file:n(6639,e.DiagnosticCategory.Message,\"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.\"),Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation:n(6641,e.DiagnosticCategory.Message,\"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.\"),Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects:n(6642,e.DiagnosticCategory.Message,\"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642\",\"Save .tsbuildinfo files to allow for incremental compilation of projects.\"),Include_sourcemap_files_inside_the_emitted_JavaScript:n(6643,e.DiagnosticCategory.Message,\"Include_sourcemap_files_inside_the_emitted_JavaScript_6643\",\"Include sourcemap files inside the emitted JavaScript.\"),Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript:n(6644,e.DiagnosticCategory.Message,\"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644\",\"Include source code in the sourcemaps inside the emitted JavaScript.\"),Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports:n(6645,e.DiagnosticCategory.Message,\"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.\"),Specify_what_JSX_code_is_generated:n(6646,e.DiagnosticCategory.Message,\"Specify_what_JSX_code_is_generated_6646\",\"Specify what JSX code is generated.\"),Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h:n(6647,e.DiagnosticCategory.Message,\"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'\"),Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment:n(6648,e.DiagnosticCategory.Message,\"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'.\"),Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk:n(6649,e.DiagnosticCategory.Message,\"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*`.`\"),Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option:n(6650,e.DiagnosticCategory.Message,\"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.\"),Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment:n(6651,e.DiagnosticCategory.Message,\"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.\"),Print_the_names_of_emitted_files_after_a_compilation:n(6652,e.DiagnosticCategory.Message,\"Print_the_names_of_emitted_files_after_a_compilation_6652\",\"Print the names of emitted files after a compilation.\"),Print_all_of_the_files_read_during_the_compilation:n(6653,e.DiagnosticCategory.Message,\"Print_all_of_the_files_read_during_the_compilation_6653\",\"Print all of the files read during the compilation.\"),Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit:n(6654,e.DiagnosticCategory.Message,\"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.\"),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:n(6655,e.DiagnosticCategory.Message,\"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.\"),Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs:n(6656,e.DiagnosticCategory.Message,\"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`.\"),Specify_what_module_code_is_generated:n(6657,e.DiagnosticCategory.Message,\"Specify_what_module_code_is_generated_6657\",\"Specify what module code is generated.\"),Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier:n(6658,e.DiagnosticCategory.Message,\"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.\"),Set_the_newline_character_for_emitting_files:n(6659,e.DiagnosticCategory.Message,\"Set_the_newline_character_for_emitting_files_6659\",\"Set the newline character for emitting files.\"),Disable_emitting_files_from_a_compilation:n(6660,e.DiagnosticCategory.Message,\"Disable_emitting_files_from_a_compilation_6660\",\"Disable emitting files from a compilation.\"),Disable_generating_custom_helper_functions_like_extends_in_compiled_output:n(6661,e.DiagnosticCategory.Message,\"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661\",\"Disable generating custom helper functions like `__extends` in compiled output.\"),Disable_emitting_files_if_any_type_checking_errors_are_reported:n(6662,e.DiagnosticCategory.Message,\"Disable_emitting_files_if_any_type_checking_errors_are_reported_6662\",\"Disable emitting files if any type checking errors are reported.\"),Disable_truncating_types_in_error_messages:n(6663,e.DiagnosticCategory.Message,\"Disable_truncating_types_in_error_messages_6663\",\"Disable truncating types in error messages.\"),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:n(6664,e.DiagnosticCategory.Message,\"Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664\",\"Enable error reporting for fallthrough cases in switch statements.\"),Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type:n(6665,e.DiagnosticCategory.Message,\"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..\"),Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier:n(6666,e.DiagnosticCategory.Message,\"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.\"),Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function:n(6667,e.DiagnosticCategory.Message,\"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.\"),Enable_error_reporting_when_this_is_given_the_type_any:n(6668,e.DiagnosticCategory.Message,\"Enable_error_reporting_when_this_is_given_the_type_any_6668\",\"Enable error reporting when `this` is given the type `any`.\"),Disable_adding_use_strict_directives_in_emitted_JavaScript_files:n(6669,e.DiagnosticCategory.Message,\"Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669\",\"Disable adding 'use strict' directives in emitted JavaScript files.\"),Disable_including_any_library_files_including_the_default_lib_d_ts:n(6670,e.DiagnosticCategory.Message,\"Disable_including_any_library_files_including_the_default_lib_d_ts_6670\",\"Disable including any library files, including the default lib.d.ts.\"),Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type:n(6671,e.DiagnosticCategory.Message,\"Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type_6671\",\"Enforces using indexed accessors for keys declared using an indexed type\"),Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project:n(6672,e.DiagnosticCategory.Message,\"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.\"),Disable_strict_checking_of_generic_signatures_in_function_types:n(6673,e.DiagnosticCategory.Message,\"Disable_strict_checking_of_generic_signatures_in_function_types_6673\",\"Disable strict checking of generic signatures in function types.\"),Add_undefined_to_a_type_when_accessed_using_an_index:n(6674,e.DiagnosticCategory.Message,\"Add_undefined_to_a_type_when_accessed_using_an_index_6674\",\"Add `undefined` to a type when accessed using an index.\"),Enable_error_reporting_when_a_local_variables_aren_t_read:n(6675,e.DiagnosticCategory.Message,\"Enable_error_reporting_when_a_local_variables_aren_t_read_6675\",\"Enable error reporting when a local variables aren't read.\"),Raise_an_error_when_a_function_parameter_isn_t_read:n(6676,e.DiagnosticCategory.Message,\"Raise_an_error_when_a_function_parameter_isn_t_read_6676\",\"Raise an error when a function parameter isn't read\"),Deprecated_setting_Use_outFile_instead:n(6677,e.DiagnosticCategory.Message,\"Deprecated_setting_Use_outFile_instead_6677\",\"Deprecated setting. Use `outFile` instead.\"),Specify_an_output_folder_for_all_emitted_files:n(6678,e.DiagnosticCategory.Message,\"Specify_an_output_folder_for_all_emitted_files_6678\",\"Specify an output folder for all emitted files.\"),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(6679,e.DiagnosticCategory.Message,\"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.\"),Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations:n(6680,e.DiagnosticCategory.Message,\"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.\"),Specify_a_list_of_language_service_plugins_to_include:n(6681,e.DiagnosticCategory.Message,\"Specify_a_list_of_language_service_plugins_to_include_6681\",\"Specify a list of language service plugins to include.\"),Disable_erasing_const_enum_declarations_in_generated_code:n(6682,e.DiagnosticCategory.Message,\"Disable_erasing_const_enum_declarations_in_generated_code_6682\",\"Disable erasing `const enum` declarations in generated code.\"),Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node:n(6683,e.DiagnosticCategory.Message,\"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.\"),Disable_wiping_the_console_in_watch_mode:n(6684,e.DiagnosticCategory.Message,\"Disable_wiping_the_console_in_watch_mode_6684\",\"Disable wiping the console in watch mode\"),Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read:n(6685,e.DiagnosticCategory.Message,\"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\"),Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit:n(6686,e.DiagnosticCategory.Message,\"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.\"),Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references:n(6687,e.DiagnosticCategory.Message,\"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.\"),Disable_emitting_comments:n(6688,e.DiagnosticCategory.Message,\"Disable_emitting_comments_6688\",\"Disable emitting comments.\"),Enable_importing_json_files:n(6689,e.DiagnosticCategory.Message,\"Enable_importing_json_files_6689\",\"Enable importing .json files\"),Specify_the_root_folder_within_your_source_files:n(6690,e.DiagnosticCategory.Message,\"Specify_the_root_folder_within_your_source_files_6690\",\"Specify the root folder within your source files.\"),Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules:n(6691,e.DiagnosticCategory.Message,\"Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules_6691\",\"Allow multiple folders to be treated as one when resolving modules.\"),Skip_type_checking_d_ts_files_that_are_included_with_TypeScript:n(6692,e.DiagnosticCategory.Message,\"Skip_type_checking_d_ts_files_that_are_included_with_TypeScript_6692\",\"Skip type checking .d.ts files that are included with TypeScript.\"),Skip_type_checking_all_d_ts_files:n(6693,e.DiagnosticCategory.Message,\"Skip_type_checking_all_d_ts_files_6693\",\"Skip type checking all .d.ts files.\"),Create_source_map_files_for_emitted_JavaScript_files:n(6694,e.DiagnosticCategory.Message,\"Create_source_map_files_for_emitted_JavaScript_files_6694\",\"Create source map files for emitted JavaScript files.\"),Specify_the_root_path_for_debuggers_to_find_the_reference_source_code:n(6695,e.DiagnosticCategory.Message,\"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.\"),Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function:n(6697,e.DiagnosticCategory.Message,\"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.\"),When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible:n(6698,e.DiagnosticCategory.Message,\"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.\"),When_type_checking_take_into_account_null_and_undefined:n(6699,e.DiagnosticCategory.Message,\"When_type_checking_take_into_account_null_and_undefined_6699\",\"When type checking, take into account `null` and `undefined`.\"),Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor:n(6700,e.DiagnosticCategory.Message,\"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.\"),Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments:n(6701,e.DiagnosticCategory.Message,\"Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701\",\"Disable emitting declarations that have `@internal` in their JSDoc comments.\"),Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals:n(6702,e.DiagnosticCategory.Message,\"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.\"),Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures:n(6703,e.DiagnosticCategory.Message,\"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703\",\"Suppress `noImplicitAny` errors when indexing objects that lack index signatures.\"),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:n(6704,e.DiagnosticCategory.Message,\"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.\"),Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations:n(6705,e.DiagnosticCategory.Message,\"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.\"),Log_paths_used_during_the_moduleResolution_process:n(6706,e.DiagnosticCategory.Message,\"Log_paths_used_during_the_moduleResolution_process_6706\",\"Log paths used during the `moduleResolution` process.\"),Specify_the_folder_for_tsbuildinfo_incremental_compilation_files:n(6707,e.DiagnosticCategory.Message,\"Specify_the_folder_for_tsbuildinfo_incremental_compilation_files_6707\",\"Specify the folder for .tsbuildinfo incremental compilation files.\"),Specify_options_for_automatic_acquisition_of_declaration_files:n(6709,e.DiagnosticCategory.Message,\"Specify_options_for_automatic_acquisition_of_declaration_files_6709\",\"Specify options for automatic acquisition of declaration files.\"),Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types:n(6710,e.DiagnosticCategory.Message,\"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710\",\"Specify multiple folders that act like `./node_modules/@types`.\"),Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file:n(6711,e.DiagnosticCategory.Message,\"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.\"),Emit_ECMAScript_standard_compliant_class_fields:n(6712,e.DiagnosticCategory.Message,\"Emit_ECMAScript_standard_compliant_class_fields_6712\",\"Emit ECMAScript-standard-compliant class fields.\"),Enable_verbose_logging:n(6713,e.DiagnosticCategory.Message,\"Enable_verbose_logging_6713\",\"Enable verbose logging\"),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:n(6714,e.DiagnosticCategory.Message,\"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.\"),Specify_how_the_TypeScript_watch_mode_works:n(6715,e.DiagnosticCategory.Message,\"Specify_how_the_TypeScript_watch_mode_works_6715\",\"Specify how the TypeScript watch mode works.\"),Include_undefined_in_index_signature_results:n(6716,e.DiagnosticCategory.Message,\"Include_undefined_in_index_signature_results_6716\",\"Include 'undefined' in index signature results\"),Require_undeclared_properties_from_index_signatures_to_use_element_accesses:n(6717,e.DiagnosticCategory.Message,\"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717\",\"Require undeclared properties from index signatures to use element accesses.\"),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:n(6718,e.DiagnosticCategory.Message,\"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\"),Type_catch_clause_variables_as_unknown_instead_of_any:n(6803,e.DiagnosticCategory.Message,\"Type_catch_clause_variables_as_unknown_instead_of_any_6803\",\"Type catch clause variables as 'unknown' instead of 'any'.\"),one_of_Colon:n(6900,e.DiagnosticCategory.Message,\"one_of_Colon_6900\",\"one of:\"),one_or_more_Colon:n(6901,e.DiagnosticCategory.Message,\"one_or_more_Colon_6901\",\"one or more:\"),type_Colon:n(6902,e.DiagnosticCategory.Message,\"type_Colon_6902\",\"type:\"),default_Colon:n(6903,e.DiagnosticCategory.Message,\"default_Colon_6903\",\"default:\"),module_system_or_esModuleInterop:n(6904,e.DiagnosticCategory.Message,\"module_system_or_esModuleInterop_6904\",'module === \"system\" or esModuleInterop'),false_unless_strict_is_set:n(6905,e.DiagnosticCategory.Message,\"false_unless_strict_is_set_6905\",\"`false`, unless `strict` is set\"),false_unless_composite_is_set:n(6906,e.DiagnosticCategory.Message,\"false_unless_composite_is_set_6906\",\"`false`, unless `composite` is set\"),node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified:n(6907,e.DiagnosticCategory.Message,\"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.'),if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk:n(6908,e.DiagnosticCategory.Message,\"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908\",'`[]` if `files` is specified, otherwise `[\"**/*\"]`'),true_if_composite_false_otherwise:n(6909,e.DiagnosticCategory.Message,\"true_if_composite_false_otherwise_6909\",\"`true` if `composite`, `false` otherwise\"),module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node:n(69010,e.DiagnosticCategory.Message,\"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`\"),Computed_from_the_list_of_input_files:n(6911,e.DiagnosticCategory.Message,\"Computed_from_the_list_of_input_files_6911\",\"Computed from the list of input files\"),Platform_specific:n(6912,e.DiagnosticCategory.Message,\"Platform_specific_6912\",\"Platform specific\"),You_can_learn_about_all_of_the_compiler_options_at_0:n(6913,e.DiagnosticCategory.Message,\"You_can_learn_about_all_of_the_compiler_options_at_0_6913\",\"You can learn about all of the compiler options at {0}\"),Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon:n(6914,e.DiagnosticCategory.Message,\"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:\"),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(6915,e.DiagnosticCategory.Message,\"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}\"),COMMON_COMMANDS:n(6916,e.DiagnosticCategory.Message,\"COMMON_COMMANDS_6916\",\"COMMON COMMANDS\"),ALL_COMPILER_OPTIONS:n(6917,e.DiagnosticCategory.Message,\"ALL_COMPILER_OPTIONS_6917\",\"ALL COMPILER OPTIONS\"),WATCH_OPTIONS:n(6918,e.DiagnosticCategory.Message,\"WATCH_OPTIONS_6918\",\"WATCH OPTIONS\"),BUILD_OPTIONS:n(6919,e.DiagnosticCategory.Message,\"BUILD_OPTIONS_6919\",\"BUILD OPTIONS\"),COMMON_COMPILER_OPTIONS:n(6920,e.DiagnosticCategory.Message,\"COMMON_COMPILER_OPTIONS_6920\",\"COMMON COMPILER OPTIONS\"),COMMAND_LINE_FLAGS:n(6921,e.DiagnosticCategory.Message,\"COMMAND_LINE_FLAGS_6921\",\"COMMAND LINE FLAGS\"),tsc_Colon_The_TypeScript_Compiler:n(6922,e.DiagnosticCategory.Message,\"tsc_Colon_The_TypeScript_Compiler_6922\",\"tsc: The TypeScript Compiler\"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:n(6923,e.DiagnosticCategory.Message,\"Compiles_the_current_project_tsconfig_json_in_the_working_directory_6923\",\"Compiles the current project (tsconfig.json in the working directory.)\"),Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options:n(6924,e.DiagnosticCategory.Message,\"Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924\",\"Ignoring tsconfig.json, compiles the specified files with default compiler options.\"),Build_a_composite_project_in_the_working_directory:n(6925,e.DiagnosticCategory.Message,\"Build_a_composite_project_in_the_working_directory_6925\",\"Build a composite project in the working directory.\"),Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory:n(6926,e.DiagnosticCategory.Message,\"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.\"),Compiles_the_TypeScript_project_located_at_the_specified_path:n(6927,e.DiagnosticCategory.Message,\"Compiles_the_TypeScript_project_located_at_the_specified_path_6927\",\"Compiles the TypeScript project located at the specified path.\"),An_expanded_version_of_this_information_showing_all_possible_compiler_options:n(6928,e.DiagnosticCategory.Message,\"An_expanded_version_of_this_information_showing_all_possible_compiler_options_6928\",\"An expanded version of this information, showing all possible compiler options\"),Compiles_the_current_project_with_additional_settings:n(6929,e.DiagnosticCategory.Message,\"Compiles_the_current_project_with_additional_settings_6929\",\"Compiles the current project, with additional settings.\"),true_for_ES2022_and_above_including_ESNext:n(6930,e.DiagnosticCategory.Message,\"true_for_ES2022_and_above_including_ESNext_6930\",\"`true` for ES2022 and above, including ESNext.\"),Variable_0_implicitly_has_an_1_type:n(7005,e.DiagnosticCategory.Error,\"Variable_0_implicitly_has_an_1_type_7005\",\"Variable '{0}' implicitly has an '{1}' type.\"),Parameter_0_implicitly_has_an_1_type:n(7006,e.DiagnosticCategory.Error,\"Parameter_0_implicitly_has_an_1_type_7006\",\"Parameter '{0}' implicitly has an '{1}' type.\"),Member_0_implicitly_has_an_1_type:n(7008,e.DiagnosticCategory.Error,\"Member_0_implicitly_has_an_1_type_7008\",\"Member '{0}' implicitly has an '{1}' type.\"),new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:n(7009,e.DiagnosticCategory.Error,\"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.\"),_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:n(7010,e.DiagnosticCategory.Error,\"_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.\"),Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:n(7011,e.DiagnosticCategory.Error,\"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.\"),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:n(7013,e.DiagnosticCategory.Error,\"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.\"),Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:n(7014,e.DiagnosticCategory.Error,\"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.\"),Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:n(7015,e.DiagnosticCategory.Error,\"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'.\"),Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:n(7016,e.DiagnosticCategory.Error,\"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.\"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:n(7017,e.DiagnosticCategory.Error,\"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.\"),Object_literal_s_property_0_implicitly_has_an_1_type:n(7018,e.DiagnosticCategory.Error,\"Object_literal_s_property_0_implicitly_has_an_1_type_7018\",\"Object literal's property '{0}' implicitly has an '{1}' type.\"),Rest_parameter_0_implicitly_has_an_any_type:n(7019,e.DiagnosticCategory.Error,\"Rest_parameter_0_implicitly_has_an_any_type_7019\",\"Rest parameter '{0}' implicitly has an 'any[]' type.\"),Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:n(7020,e.DiagnosticCategory.Error,\"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.\"),_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:n(7022,e.DiagnosticCategory.Error,\"_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.\"),_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(7023,e.DiagnosticCategory.Error,\"_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.\"),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(7024,e.DiagnosticCategory.Error,\"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.\"),Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:n(7025,e.DiagnosticCategory.Error,\"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.\"),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:n(7026,e.DiagnosticCategory.Error,\"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.\"),Unreachable_code_detected:n(7027,e.DiagnosticCategory.Error,\"Unreachable_code_detected_7027\",\"Unreachable code detected.\",!0),Unused_label:n(7028,e.DiagnosticCategory.Error,\"Unused_label_7028\",\"Unused label.\",!0),Fallthrough_case_in_switch:n(7029,e.DiagnosticCategory.Error,\"Fallthrough_case_in_switch_7029\",\"Fallthrough case in switch.\"),Not_all_code_paths_return_a_value:n(7030,e.DiagnosticCategory.Error,\"Not_all_code_paths_return_a_value_7030\",\"Not all code paths return a value.\"),Binding_element_0_implicitly_has_an_1_type:n(7031,e.DiagnosticCategory.Error,\"Binding_element_0_implicitly_has_an_1_type_7031\",\"Binding element '{0}' implicitly has an '{1}' type.\"),Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:n(7032,e.DiagnosticCategory.Error,\"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.\"),Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:n(7033,e.DiagnosticCategory.Error,\"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.\"),Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:n(7034,e.DiagnosticCategory.Error,\"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.\"),Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:n(7035,e.DiagnosticCategory.Error,\"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}';`\"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0:n(7036,e.DiagnosticCategory.Error,\"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}'.\"),Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports:n(7037,e.DiagnosticCategory.Message,\"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'.\"),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(7038,e.DiagnosticCategory.Message,\"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.\"),Mapped_object_type_implicitly_has_an_any_template_type:n(7039,e.DiagnosticCategory.Error,\"Mapped_object_type_implicitly_has_an_any_template_type_7039\",\"Mapped object type implicitly has an 'any' template type.\"),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(7040,e.DiagnosticCategory.Error,\"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}'\"),The_containing_arrow_function_captures_the_global_value_of_this:n(7041,e.DiagnosticCategory.Error,\"The_containing_arrow_function_captures_the_global_value_of_this_7041\",\"The containing arrow function captures the global value of 'this'.\"),Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used:n(7042,e.DiagnosticCategory.Error,\"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042\",\"Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used.\"),Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:n(7043,e.DiagnosticCategory.Suggestion,\"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.\"),Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:n(7044,e.DiagnosticCategory.Suggestion,\"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.\"),Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:n(7045,e.DiagnosticCategory.Suggestion,\"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.\"),Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage:n(7046,e.DiagnosticCategory.Suggestion,\"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.\"),Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:n(7047,e.DiagnosticCategory.Suggestion,\"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.\"),Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage:n(7048,e.DiagnosticCategory.Suggestion,\"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.\"),Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage:n(7049,e.DiagnosticCategory.Suggestion,\"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.\"),_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:n(7050,e.DiagnosticCategory.Suggestion,\"_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.\"),Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1:n(7051,e.DiagnosticCategory.Error,\"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}'?\"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1:n(7052,e.DiagnosticCategory.Error,\"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}'?\"),Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1:n(7053,e.DiagnosticCategory.Error,\"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}'.\"),No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1:n(7054,e.DiagnosticCategory.Error,\"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}'.\"),_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:n(7055,e.DiagnosticCategory.Error,\"_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.\"),The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed:n(7056,e.DiagnosticCategory.Error,\"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.\"),yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation:n(7057,e.DiagnosticCategory.Error,\"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.\"),If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1:n(7058,e.DiagnosticCategory.Error,\"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}';`\"),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead:n(7059,e.DiagnosticCategory.Error,\"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.\"),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint:n(7060,e.DiagnosticCategory.Error,\"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.\"),A_mapped_type_may_not_declare_properties_or_methods:n(7061,e.DiagnosticCategory.Error,\"A_mapped_type_may_not_declare_properties_or_methods_7061\",\"A mapped type may not declare properties or methods.\"),JSON_imports_are_experimental_in_ES_module_mode_imports:n(7062,e.DiagnosticCategory.Error,\"JSON_imports_are_experimental_in_ES_module_mode_imports_7062\",\"JSON imports are experimental in ES module mode imports.\"),You_cannot_rename_this_element:n(8e3,e.DiagnosticCategory.Error,\"You_cannot_rename_this_element_8000\",\"You cannot rename this element.\"),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:n(8001,e.DiagnosticCategory.Error,\"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.\"),import_can_only_be_used_in_TypeScript_files:n(8002,e.DiagnosticCategory.Error,\"import_can_only_be_used_in_TypeScript_files_8002\",\"'import ... =' can only be used in TypeScript files.\"),export_can_only_be_used_in_TypeScript_files:n(8003,e.DiagnosticCategory.Error,\"export_can_only_be_used_in_TypeScript_files_8003\",\"'export =' can only be used in TypeScript files.\"),Type_parameter_declarations_can_only_be_used_in_TypeScript_files:n(8004,e.DiagnosticCategory.Error,\"Type_parameter_declarations_can_only_be_used_in_TypeScript_files_8004\",\"Type parameter declarations can only be used in TypeScript files.\"),implements_clauses_can_only_be_used_in_TypeScript_files:n(8005,e.DiagnosticCategory.Error,\"implements_clauses_can_only_be_used_in_TypeScript_files_8005\",\"'implements' clauses can only be used in TypeScript files.\"),_0_declarations_can_only_be_used_in_TypeScript_files:n(8006,e.DiagnosticCategory.Error,\"_0_declarations_can_only_be_used_in_TypeScript_files_8006\",\"'{0}' declarations can only be used in TypeScript files.\"),Type_aliases_can_only_be_used_in_TypeScript_files:n(8008,e.DiagnosticCategory.Error,\"Type_aliases_can_only_be_used_in_TypeScript_files_8008\",\"Type aliases can only be used in TypeScript files.\"),The_0_modifier_can_only_be_used_in_TypeScript_files:n(8009,e.DiagnosticCategory.Error,\"The_0_modifier_can_only_be_used_in_TypeScript_files_8009\",\"The '{0}' modifier can only be used in TypeScript files.\"),Type_annotations_can_only_be_used_in_TypeScript_files:n(8010,e.DiagnosticCategory.Error,\"Type_annotations_can_only_be_used_in_TypeScript_files_8010\",\"Type annotations can only be used in TypeScript files.\"),Type_arguments_can_only_be_used_in_TypeScript_files:n(8011,e.DiagnosticCategory.Error,\"Type_arguments_can_only_be_used_in_TypeScript_files_8011\",\"Type arguments can only be used in TypeScript files.\"),Parameter_modifiers_can_only_be_used_in_TypeScript_files:n(8012,e.DiagnosticCategory.Error,\"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012\",\"Parameter modifiers can only be used in TypeScript files.\"),Non_null_assertions_can_only_be_used_in_TypeScript_files:n(8013,e.DiagnosticCategory.Error,\"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013\",\"Non-null assertions can only be used in TypeScript files.\"),Type_assertion_expressions_can_only_be_used_in_TypeScript_files:n(8016,e.DiagnosticCategory.Error,\"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016\",\"Type assertion expressions can only be used in TypeScript files.\"),Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:n(8017,e.DiagnosticCategory.Error,\"Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017\",\"Octal literal types must use ES2015 syntax. Use the syntax '{0}'.\"),Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0:n(8018,e.DiagnosticCategory.Error,\"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}'.\"),Report_errors_in_js_files:n(8019,e.DiagnosticCategory.Message,\"Report_errors_in_js_files_8019\",\"Report errors in .js files.\"),JSDoc_types_can_only_be_used_inside_documentation_comments:n(8020,e.DiagnosticCategory.Error,\"JSDoc_types_can_only_be_used_inside_documentation_comments_8020\",\"JSDoc types can only be used inside documentation comments.\"),JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags:n(8021,e.DiagnosticCategory.Error,\"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.\"),JSDoc_0_is_not_attached_to_a_class:n(8022,e.DiagnosticCategory.Error,\"JSDoc_0_is_not_attached_to_a_class_8022\",\"JSDoc '@{0}' is not attached to a class.\"),JSDoc_0_1_does_not_match_the_extends_2_clause:n(8023,e.DiagnosticCategory.Error,\"JSDoc_0_1_does_not_match_the_extends_2_clause_8023\",\"JSDoc '@{0} {1}' does not match the 'extends {2}' clause.\"),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name:n(8024,e.DiagnosticCategory.Error,\"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.\"),Class_declarations_cannot_have_more_than_one_augments_or_extends_tag:n(8025,e.DiagnosticCategory.Error,\"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025\",\"Class declarations cannot have more than one '@augments' or '@extends' tag.\"),Expected_0_type_arguments_provide_these_with_an_extends_tag:n(8026,e.DiagnosticCategory.Error,\"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026\",\"Expected {0} type arguments; provide these with an '@extends' tag.\"),Expected_0_1_type_arguments_provide_these_with_an_extends_tag:n(8027,e.DiagnosticCategory.Error,\"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027\",\"Expected {0}-{1} type arguments; provide these with an '@extends' tag.\"),JSDoc_may_only_appear_in_the_last_parameter_of_a_signature:n(8028,e.DiagnosticCategory.Error,\"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028\",\"JSDoc '...' may only appear in the last parameter of a signature.\"),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(8029,e.DiagnosticCategory.Error,\"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.\"),The_type_of_a_function_declaration_must_match_the_function_s_signature:n(8030,e.DiagnosticCategory.Error,\"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.\"),You_cannot_rename_a_module_via_a_global_import:n(8031,e.DiagnosticCategory.Error,\"You_cannot_rename_a_module_via_a_global_import_8031\",\"You cannot rename a module via a global import.\"),Qualified_name_0_is_not_allowed_without_a_leading_param_object_1:n(8032,e.DiagnosticCategory.Error,\"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}'.\"),A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags:n(8033,e.DiagnosticCategory.Error,\"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033\",\"A JSDoc '@typedef' comment may not contain multiple '@type' tags.\"),The_tag_was_first_specified_here:n(8034,e.DiagnosticCategory.Error,\"The_tag_was_first_specified_here_8034\",\"The tag was first specified here.\"),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:n(9005,e.DiagnosticCategory.Error,\"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.\"),Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:n(9006,e.DiagnosticCategory.Error,\"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.\"),JSX_attributes_must_only_be_assigned_a_non_empty_expression:n(17e3,e.DiagnosticCategory.Error,\"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000\",\"JSX attributes must only be assigned a non-empty 'expression'.\"),JSX_elements_cannot_have_multiple_attributes_with_the_same_name:n(17001,e.DiagnosticCategory.Error,\"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001\",\"JSX elements cannot have multiple attributes with the same name.\"),Expected_corresponding_JSX_closing_tag_for_0:n(17002,e.DiagnosticCategory.Error,\"Expected_corresponding_JSX_closing_tag_for_0_17002\",\"Expected corresponding JSX closing tag for '{0}'.\"),Cannot_use_JSX_unless_the_jsx_flag_is_provided:n(17004,e.DiagnosticCategory.Error,\"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004\",\"Cannot use JSX unless the '--jsx' flag is provided.\"),A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:n(17005,e.DiagnosticCategory.Error,\"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'.\"),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(17006,e.DiagnosticCategory.Error,\"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.\"),A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:n(17007,e.DiagnosticCategory.Error,\"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.\"),JSX_element_0_has_no_corresponding_closing_tag:n(17008,e.DiagnosticCategory.Error,\"JSX_element_0_has_no_corresponding_closing_tag_17008\",\"JSX element '{0}' has no corresponding closing tag.\"),super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:n(17009,e.DiagnosticCategory.Error,\"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.\"),Unknown_type_acquisition_option_0:n(17010,e.DiagnosticCategory.Error,\"Unknown_type_acquisition_option_0_17010\",\"Unknown type acquisition option '{0}'.\"),super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:n(17011,e.DiagnosticCategory.Error,\"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.\"),_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:n(17012,e.DiagnosticCategory.Error,\"_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}'?\"),Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:n(17013,e.DiagnosticCategory.Error,\"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.\"),JSX_fragment_has_no_corresponding_closing_tag:n(17014,e.DiagnosticCategory.Error,\"JSX_fragment_has_no_corresponding_closing_tag_17014\",\"JSX fragment has no corresponding closing tag.\"),Expected_corresponding_closing_tag_for_JSX_fragment:n(17015,e.DiagnosticCategory.Error,\"Expected_corresponding_closing_tag_for_JSX_fragment_17015\",\"Expected corresponding closing tag for JSX fragment.\"),The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:n(17016,e.DiagnosticCategory.Error,\"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.\"),An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments:n(17017,e.DiagnosticCategory.Error,\"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.\"),Unknown_type_acquisition_option_0_Did_you_mean_1:n(17018,e.DiagnosticCategory.Error,\"Unknown_type_acquisition_option_0_Did_you_mean_1_17018\",\"Unknown type acquisition option '{0}'. Did you mean '{1}'?\"),Circularity_detected_while_resolving_configuration_Colon_0:n(18e3,e.DiagnosticCategory.Error,\"Circularity_detected_while_resolving_configuration_Colon_0_18000\",\"Circularity detected while resolving configuration: {0}\"),The_files_list_in_config_file_0_is_empty:n(18002,e.DiagnosticCategory.Error,\"The_files_list_in_config_file_0_is_empty_18002\",\"The 'files' list in config file '{0}' is empty.\"),No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2:n(18003,e.DiagnosticCategory.Error,\"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}'.\"),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module:n(80001,e.DiagnosticCategory.Suggestion,\"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.\"),This_constructor_function_may_be_converted_to_a_class_declaration:n(80002,e.DiagnosticCategory.Suggestion,\"This_constructor_function_may_be_converted_to_a_class_declaration_80002\",\"This constructor function may be converted to a class declaration.\"),Import_may_be_converted_to_a_default_import:n(80003,e.DiagnosticCategory.Suggestion,\"Import_may_be_converted_to_a_default_import_80003\",\"Import may be converted to a default import.\"),JSDoc_types_may_be_moved_to_TypeScript_types:n(80004,e.DiagnosticCategory.Suggestion,\"JSDoc_types_may_be_moved_to_TypeScript_types_80004\",\"JSDoc types may be moved to TypeScript types.\"),require_call_may_be_converted_to_an_import:n(80005,e.DiagnosticCategory.Suggestion,\"require_call_may_be_converted_to_an_import_80005\",\"'require' call may be converted to an import.\"),This_may_be_converted_to_an_async_function:n(80006,e.DiagnosticCategory.Suggestion,\"This_may_be_converted_to_an_async_function_80006\",\"This may be converted to an async function.\"),await_has_no_effect_on_the_type_of_this_expression:n(80007,e.DiagnosticCategory.Suggestion,\"await_has_no_effect_on_the_type_of_this_expression_80007\",\"'await' has no effect on the type of this expression.\"),Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers:n(80008,e.DiagnosticCategory.Suggestion,\"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.\"),Add_missing_super_call:n(90001,e.DiagnosticCategory.Message,\"Add_missing_super_call_90001\",\"Add missing 'super()' call\"),Make_super_call_the_first_statement_in_the_constructor:n(90002,e.DiagnosticCategory.Message,\"Make_super_call_the_first_statement_in_the_constructor_90002\",\"Make 'super()' call the first statement in the constructor\"),Change_extends_to_implements:n(90003,e.DiagnosticCategory.Message,\"Change_extends_to_implements_90003\",\"Change 'extends' to 'implements'\"),Remove_unused_declaration_for_Colon_0:n(90004,e.DiagnosticCategory.Message,\"Remove_unused_declaration_for_Colon_0_90004\",\"Remove unused declaration for: '{0}'\"),Remove_import_from_0:n(90005,e.DiagnosticCategory.Message,\"Remove_import_from_0_90005\",\"Remove import from '{0}'\"),Implement_interface_0:n(90006,e.DiagnosticCategory.Message,\"Implement_interface_0_90006\",\"Implement interface '{0}'\"),Implement_inherited_abstract_class:n(90007,e.DiagnosticCategory.Message,\"Implement_inherited_abstract_class_90007\",\"Implement inherited abstract class\"),Add_0_to_unresolved_variable:n(90008,e.DiagnosticCategory.Message,\"Add_0_to_unresolved_variable_90008\",\"Add '{0}.' to unresolved variable\"),Remove_variable_statement:n(90010,e.DiagnosticCategory.Message,\"Remove_variable_statement_90010\",\"Remove variable statement\"),Remove_template_tag:n(90011,e.DiagnosticCategory.Message,\"Remove_template_tag_90011\",\"Remove template tag\"),Remove_type_parameters:n(90012,e.DiagnosticCategory.Message,\"Remove_type_parameters_90012\",\"Remove type parameters\"),Import_0_from_module_1:n(90013,e.DiagnosticCategory.Message,\"Import_0_from_module_1_90013\",`Import '{0}' from module \"{1}\"`),Change_0_to_1:n(90014,e.DiagnosticCategory.Message,\"Change_0_to_1_90014\",\"Change '{0}' to '{1}'\"),Add_0_to_existing_import_declaration_from_1:n(90015,e.DiagnosticCategory.Message,\"Add_0_to_existing_import_declaration_from_1_90015\",`Add '{0}' to existing import declaration from \"{1}\"`),Declare_property_0:n(90016,e.DiagnosticCategory.Message,\"Declare_property_0_90016\",\"Declare property '{0}'\"),Add_index_signature_for_property_0:n(90017,e.DiagnosticCategory.Message,\"Add_index_signature_for_property_0_90017\",\"Add index signature for property '{0}'\"),Disable_checking_for_this_file:n(90018,e.DiagnosticCategory.Message,\"Disable_checking_for_this_file_90018\",\"Disable checking for this file\"),Ignore_this_error_message:n(90019,e.DiagnosticCategory.Message,\"Ignore_this_error_message_90019\",\"Ignore this error message\"),Initialize_property_0_in_the_constructor:n(90020,e.DiagnosticCategory.Message,\"Initialize_property_0_in_the_constructor_90020\",\"Initialize property '{0}' in the constructor\"),Initialize_static_property_0:n(90021,e.DiagnosticCategory.Message,\"Initialize_static_property_0_90021\",\"Initialize static property '{0}'\"),Change_spelling_to_0:n(90022,e.DiagnosticCategory.Message,\"Change_spelling_to_0_90022\",\"Change spelling to '{0}'\"),Declare_method_0:n(90023,e.DiagnosticCategory.Message,\"Declare_method_0_90023\",\"Declare method '{0}'\"),Declare_static_method_0:n(90024,e.DiagnosticCategory.Message,\"Declare_static_method_0_90024\",\"Declare static method '{0}'\"),Prefix_0_with_an_underscore:n(90025,e.DiagnosticCategory.Message,\"Prefix_0_with_an_underscore_90025\",\"Prefix '{0}' with an underscore\"),Rewrite_as_the_indexed_access_type_0:n(90026,e.DiagnosticCategory.Message,\"Rewrite_as_the_indexed_access_type_0_90026\",\"Rewrite as the indexed access type '{0}'\"),Declare_static_property_0:n(90027,e.DiagnosticCategory.Message,\"Declare_static_property_0_90027\",\"Declare static property '{0}'\"),Call_decorator_expression:n(90028,e.DiagnosticCategory.Message,\"Call_decorator_expression_90028\",\"Call decorator expression\"),Add_async_modifier_to_containing_function:n(90029,e.DiagnosticCategory.Message,\"Add_async_modifier_to_containing_function_90029\",\"Add async modifier to containing function\"),Replace_infer_0_with_unknown:n(90030,e.DiagnosticCategory.Message,\"Replace_infer_0_with_unknown_90030\",\"Replace 'infer {0}' with 'unknown'\"),Replace_all_unused_infer_with_unknown:n(90031,e.DiagnosticCategory.Message,\"Replace_all_unused_infer_with_unknown_90031\",\"Replace all unused 'infer' with 'unknown'\"),Import_default_0_from_module_1:n(90032,e.DiagnosticCategory.Message,\"Import_default_0_from_module_1_90032\",`Import default '{0}' from module \"{1}\"`),Add_default_import_0_to_existing_import_declaration_from_1:n(90033,e.DiagnosticCategory.Message,\"Add_default_import_0_to_existing_import_declaration_from_1_90033\",`Add default import '{0}' to existing import declaration from \"{1}\"`),Add_parameter_name:n(90034,e.DiagnosticCategory.Message,\"Add_parameter_name_90034\",\"Add parameter name\"),Declare_private_property_0:n(90035,e.DiagnosticCategory.Message,\"Declare_private_property_0_90035\",\"Declare private property '{0}'\"),Replace_0_with_Promise_1:n(90036,e.DiagnosticCategory.Message,\"Replace_0_with_Promise_1_90036\",\"Replace '{0}' with 'Promise<{1}>'\"),Fix_all_incorrect_return_type_of_an_async_functions:n(90037,e.DiagnosticCategory.Message,\"Fix_all_incorrect_return_type_of_an_async_functions_90037\",\"Fix all incorrect return type of an async functions\"),Declare_private_method_0:n(90038,e.DiagnosticCategory.Message,\"Declare_private_method_0_90038\",\"Declare private method '{0}'\"),Remove_unused_destructuring_declaration:n(90039,e.DiagnosticCategory.Message,\"Remove_unused_destructuring_declaration_90039\",\"Remove unused destructuring declaration\"),Remove_unused_declarations_for_Colon_0:n(90041,e.DiagnosticCategory.Message,\"Remove_unused_declarations_for_Colon_0_90041\",\"Remove unused declarations for: '{0}'\"),Declare_a_private_field_named_0:n(90053,e.DiagnosticCategory.Message,\"Declare_a_private_field_named_0_90053\",\"Declare a private field named '{0}'.\"),Includes_imports_of_types_referenced_by_0:n(90054,e.DiagnosticCategory.Message,\"Includes_imports_of_types_referenced_by_0_90054\",\"Includes imports of types referenced by '{0}'\"),Convert_function_to_an_ES2015_class:n(95001,e.DiagnosticCategory.Message,\"Convert_function_to_an_ES2015_class_95001\",\"Convert function to an ES2015 class\"),Convert_0_to_1_in_0:n(95003,e.DiagnosticCategory.Message,\"Convert_0_to_1_in_0_95003\",\"Convert '{0}' to '{1} in {0}'\"),Extract_to_0_in_1:n(95004,e.DiagnosticCategory.Message,\"Extract_to_0_in_1_95004\",\"Extract to {0} in {1}\"),Extract_function:n(95005,e.DiagnosticCategory.Message,\"Extract_function_95005\",\"Extract function\"),Extract_constant:n(95006,e.DiagnosticCategory.Message,\"Extract_constant_95006\",\"Extract constant\"),Extract_to_0_in_enclosing_scope:n(95007,e.DiagnosticCategory.Message,\"Extract_to_0_in_enclosing_scope_95007\",\"Extract to {0} in enclosing scope\"),Extract_to_0_in_1_scope:n(95008,e.DiagnosticCategory.Message,\"Extract_to_0_in_1_scope_95008\",\"Extract to {0} in {1} scope\"),Annotate_with_type_from_JSDoc:n(95009,e.DiagnosticCategory.Message,\"Annotate_with_type_from_JSDoc_95009\",\"Annotate with type from JSDoc\"),Infer_type_of_0_from_usage:n(95011,e.DiagnosticCategory.Message,\"Infer_type_of_0_from_usage_95011\",\"Infer type of '{0}' from usage\"),Infer_parameter_types_from_usage:n(95012,e.DiagnosticCategory.Message,\"Infer_parameter_types_from_usage_95012\",\"Infer parameter types from usage\"),Convert_to_default_import:n(95013,e.DiagnosticCategory.Message,\"Convert_to_default_import_95013\",\"Convert to default import\"),Install_0:n(95014,e.DiagnosticCategory.Message,\"Install_0_95014\",\"Install '{0}'\"),Replace_import_with_0:n(95015,e.DiagnosticCategory.Message,\"Replace_import_with_0_95015\",\"Replace import with '{0}'.\"),Use_synthetic_default_member:n(95016,e.DiagnosticCategory.Message,\"Use_synthetic_default_member_95016\",\"Use synthetic 'default' member.\"),Convert_to_ES_module:n(95017,e.DiagnosticCategory.Message,\"Convert_to_ES_module_95017\",\"Convert to ES module\"),Add_undefined_type_to_property_0:n(95018,e.DiagnosticCategory.Message,\"Add_undefined_type_to_property_0_95018\",\"Add 'undefined' type to property '{0}'\"),Add_initializer_to_property_0:n(95019,e.DiagnosticCategory.Message,\"Add_initializer_to_property_0_95019\",\"Add initializer to property '{0}'\"),Add_definite_assignment_assertion_to_property_0:n(95020,e.DiagnosticCategory.Message,\"Add_definite_assignment_assertion_to_property_0_95020\",\"Add definite assignment assertion to property '{0}'\"),Convert_all_type_literals_to_mapped_type:n(95021,e.DiagnosticCategory.Message,\"Convert_all_type_literals_to_mapped_type_95021\",\"Convert all type literals to mapped type\"),Add_all_missing_members:n(95022,e.DiagnosticCategory.Message,\"Add_all_missing_members_95022\",\"Add all missing members\"),Infer_all_types_from_usage:n(95023,e.DiagnosticCategory.Message,\"Infer_all_types_from_usage_95023\",\"Infer all types from usage\"),Delete_all_unused_declarations:n(95024,e.DiagnosticCategory.Message,\"Delete_all_unused_declarations_95024\",\"Delete all unused declarations\"),Prefix_all_unused_declarations_with_where_possible:n(95025,e.DiagnosticCategory.Message,\"Prefix_all_unused_declarations_with_where_possible_95025\",\"Prefix all unused declarations with '_' where possible\"),Fix_all_detected_spelling_errors:n(95026,e.DiagnosticCategory.Message,\"Fix_all_detected_spelling_errors_95026\",\"Fix all detected spelling errors\"),Add_initializers_to_all_uninitialized_properties:n(95027,e.DiagnosticCategory.Message,\"Add_initializers_to_all_uninitialized_properties_95027\",\"Add initializers to all uninitialized properties\"),Add_definite_assignment_assertions_to_all_uninitialized_properties:n(95028,e.DiagnosticCategory.Message,\"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028\",\"Add definite assignment assertions to all uninitialized properties\"),Add_undefined_type_to_all_uninitialized_properties:n(95029,e.DiagnosticCategory.Message,\"Add_undefined_type_to_all_uninitialized_properties_95029\",\"Add undefined type to all uninitialized properties\"),Change_all_jsdoc_style_types_to_TypeScript:n(95030,e.DiagnosticCategory.Message,\"Change_all_jsdoc_style_types_to_TypeScript_95030\",\"Change all jsdoc-style types to TypeScript\"),Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types:n(95031,e.DiagnosticCategory.Message,\"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)\"),Implement_all_unimplemented_interfaces:n(95032,e.DiagnosticCategory.Message,\"Implement_all_unimplemented_interfaces_95032\",\"Implement all unimplemented interfaces\"),Install_all_missing_types_packages:n(95033,e.DiagnosticCategory.Message,\"Install_all_missing_types_packages_95033\",\"Install all missing types packages\"),Rewrite_all_as_indexed_access_types:n(95034,e.DiagnosticCategory.Message,\"Rewrite_all_as_indexed_access_types_95034\",\"Rewrite all as indexed access types\"),Convert_all_to_default_imports:n(95035,e.DiagnosticCategory.Message,\"Convert_all_to_default_imports_95035\",\"Convert all to default imports\"),Make_all_super_calls_the_first_statement_in_their_constructor:n(95036,e.DiagnosticCategory.Message,\"Make_all_super_calls_the_first_statement_in_their_constructor_95036\",\"Make all 'super()' calls the first statement in their constructor\"),Add_qualifier_to_all_unresolved_variables_matching_a_member_name:n(95037,e.DiagnosticCategory.Message,\"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037\",\"Add qualifier to all unresolved variables matching a member name\"),Change_all_extended_interfaces_to_implements:n(95038,e.DiagnosticCategory.Message,\"Change_all_extended_interfaces_to_implements_95038\",\"Change all extended interfaces to 'implements'\"),Add_all_missing_super_calls:n(95039,e.DiagnosticCategory.Message,\"Add_all_missing_super_calls_95039\",\"Add all missing super calls\"),Implement_all_inherited_abstract_classes:n(95040,e.DiagnosticCategory.Message,\"Implement_all_inherited_abstract_classes_95040\",\"Implement all inherited abstract classes\"),Add_all_missing_async_modifiers:n(95041,e.DiagnosticCategory.Message,\"Add_all_missing_async_modifiers_95041\",\"Add all missing 'async' modifiers\"),Add_ts_ignore_to_all_error_messages:n(95042,e.DiagnosticCategory.Message,\"Add_ts_ignore_to_all_error_messages_95042\",\"Add '@ts-ignore' to all error messages\"),Annotate_everything_with_types_from_JSDoc:n(95043,e.DiagnosticCategory.Message,\"Annotate_everything_with_types_from_JSDoc_95043\",\"Annotate everything with types from JSDoc\"),Add_to_all_uncalled_decorators:n(95044,e.DiagnosticCategory.Message,\"Add_to_all_uncalled_decorators_95044\",\"Add '()' to all uncalled decorators\"),Convert_all_constructor_functions_to_classes:n(95045,e.DiagnosticCategory.Message,\"Convert_all_constructor_functions_to_classes_95045\",\"Convert all constructor functions to classes\"),Generate_get_and_set_accessors:n(95046,e.DiagnosticCategory.Message,\"Generate_get_and_set_accessors_95046\",\"Generate 'get' and 'set' accessors\"),Convert_require_to_import:n(95047,e.DiagnosticCategory.Message,\"Convert_require_to_import_95047\",\"Convert 'require' to 'import'\"),Convert_all_require_to_import:n(95048,e.DiagnosticCategory.Message,\"Convert_all_require_to_import_95048\",\"Convert all 'require' to 'import'\"),Move_to_a_new_file:n(95049,e.DiagnosticCategory.Message,\"Move_to_a_new_file_95049\",\"Move to a new file\"),Remove_unreachable_code:n(95050,e.DiagnosticCategory.Message,\"Remove_unreachable_code_95050\",\"Remove unreachable code\"),Remove_all_unreachable_code:n(95051,e.DiagnosticCategory.Message,\"Remove_all_unreachable_code_95051\",\"Remove all unreachable code\"),Add_missing_typeof:n(95052,e.DiagnosticCategory.Message,\"Add_missing_typeof_95052\",\"Add missing 'typeof'\"),Remove_unused_label:n(95053,e.DiagnosticCategory.Message,\"Remove_unused_label_95053\",\"Remove unused label\"),Remove_all_unused_labels:n(95054,e.DiagnosticCategory.Message,\"Remove_all_unused_labels_95054\",\"Remove all unused labels\"),Convert_0_to_mapped_object_type:n(95055,e.DiagnosticCategory.Message,\"Convert_0_to_mapped_object_type_95055\",\"Convert '{0}' to mapped object type\"),Convert_namespace_import_to_named_imports:n(95056,e.DiagnosticCategory.Message,\"Convert_namespace_import_to_named_imports_95056\",\"Convert namespace import to named imports\"),Convert_named_imports_to_namespace_import:n(95057,e.DiagnosticCategory.Message,\"Convert_named_imports_to_namespace_import_95057\",\"Convert named imports to namespace import\"),Add_or_remove_braces_in_an_arrow_function:n(95058,e.DiagnosticCategory.Message,\"Add_or_remove_braces_in_an_arrow_function_95058\",\"Add or remove braces in an arrow function\"),Add_braces_to_arrow_function:n(95059,e.DiagnosticCategory.Message,\"Add_braces_to_arrow_function_95059\",\"Add braces to arrow function\"),Remove_braces_from_arrow_function:n(95060,e.DiagnosticCategory.Message,\"Remove_braces_from_arrow_function_95060\",\"Remove braces from arrow function\"),Convert_default_export_to_named_export:n(95061,e.DiagnosticCategory.Message,\"Convert_default_export_to_named_export_95061\",\"Convert default export to named export\"),Convert_named_export_to_default_export:n(95062,e.DiagnosticCategory.Message,\"Convert_named_export_to_default_export_95062\",\"Convert named export to default export\"),Add_missing_enum_member_0:n(95063,e.DiagnosticCategory.Message,\"Add_missing_enum_member_0_95063\",\"Add missing enum member '{0}'\"),Add_all_missing_imports:n(95064,e.DiagnosticCategory.Message,\"Add_all_missing_imports_95064\",\"Add all missing imports\"),Convert_to_async_function:n(95065,e.DiagnosticCategory.Message,\"Convert_to_async_function_95065\",\"Convert to async function\"),Convert_all_to_async_functions:n(95066,e.DiagnosticCategory.Message,\"Convert_all_to_async_functions_95066\",\"Convert all to async functions\"),Add_missing_call_parentheses:n(95067,e.DiagnosticCategory.Message,\"Add_missing_call_parentheses_95067\",\"Add missing call parentheses\"),Add_all_missing_call_parentheses:n(95068,e.DiagnosticCategory.Message,\"Add_all_missing_call_parentheses_95068\",\"Add all missing call parentheses\"),Add_unknown_conversion_for_non_overlapping_types:n(95069,e.DiagnosticCategory.Message,\"Add_unknown_conversion_for_non_overlapping_types_95069\",\"Add 'unknown' conversion for non-overlapping types\"),Add_unknown_to_all_conversions_of_non_overlapping_types:n(95070,e.DiagnosticCategory.Message,\"Add_unknown_to_all_conversions_of_non_overlapping_types_95070\",\"Add 'unknown' to all conversions of non-overlapping types\"),Add_missing_new_operator_to_call:n(95071,e.DiagnosticCategory.Message,\"Add_missing_new_operator_to_call_95071\",\"Add missing 'new' operator to call\"),Add_missing_new_operator_to_all_calls:n(95072,e.DiagnosticCategory.Message,\"Add_missing_new_operator_to_all_calls_95072\",\"Add missing 'new' operator to all calls\"),Add_names_to_all_parameters_without_names:n(95073,e.DiagnosticCategory.Message,\"Add_names_to_all_parameters_without_names_95073\",\"Add names to all parameters without names\"),Enable_the_experimentalDecorators_option_in_your_configuration_file:n(95074,e.DiagnosticCategory.Message,\"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074\",\"Enable the 'experimentalDecorators' option in your configuration file\"),Convert_parameters_to_destructured_object:n(95075,e.DiagnosticCategory.Message,\"Convert_parameters_to_destructured_object_95075\",\"Convert parameters to destructured object\"),Extract_type:n(95077,e.DiagnosticCategory.Message,\"Extract_type_95077\",\"Extract type\"),Extract_to_type_alias:n(95078,e.DiagnosticCategory.Message,\"Extract_to_type_alias_95078\",\"Extract to type alias\"),Extract_to_typedef:n(95079,e.DiagnosticCategory.Message,\"Extract_to_typedef_95079\",\"Extract to typedef\"),Infer_this_type_of_0_from_usage:n(95080,e.DiagnosticCategory.Message,\"Infer_this_type_of_0_from_usage_95080\",\"Infer 'this' type of '{0}' from usage\"),Add_const_to_unresolved_variable:n(95081,e.DiagnosticCategory.Message,\"Add_const_to_unresolved_variable_95081\",\"Add 'const' to unresolved variable\"),Add_const_to_all_unresolved_variables:n(95082,e.DiagnosticCategory.Message,\"Add_const_to_all_unresolved_variables_95082\",\"Add 'const' to all unresolved variables\"),Add_await:n(95083,e.DiagnosticCategory.Message,\"Add_await_95083\",\"Add 'await'\"),Add_await_to_initializer_for_0:n(95084,e.DiagnosticCategory.Message,\"Add_await_to_initializer_for_0_95084\",\"Add 'await' to initializer for '{0}'\"),Fix_all_expressions_possibly_missing_await:n(95085,e.DiagnosticCategory.Message,\"Fix_all_expressions_possibly_missing_await_95085\",\"Fix all expressions possibly missing 'await'\"),Remove_unnecessary_await:n(95086,e.DiagnosticCategory.Message,\"Remove_unnecessary_await_95086\",\"Remove unnecessary 'await'\"),Remove_all_unnecessary_uses_of_await:n(95087,e.DiagnosticCategory.Message,\"Remove_all_unnecessary_uses_of_await_95087\",\"Remove all unnecessary uses of 'await'\"),Enable_the_jsx_flag_in_your_configuration_file:n(95088,e.DiagnosticCategory.Message,\"Enable_the_jsx_flag_in_your_configuration_file_95088\",\"Enable the '--jsx' flag in your configuration file\"),Add_await_to_initializers:n(95089,e.DiagnosticCategory.Message,\"Add_await_to_initializers_95089\",\"Add 'await' to initializers\"),Extract_to_interface:n(95090,e.DiagnosticCategory.Message,\"Extract_to_interface_95090\",\"Extract to interface\"),Convert_to_a_bigint_numeric_literal:n(95091,e.DiagnosticCategory.Message,\"Convert_to_a_bigint_numeric_literal_95091\",\"Convert to a bigint numeric literal\"),Convert_all_to_bigint_numeric_literals:n(95092,e.DiagnosticCategory.Message,\"Convert_all_to_bigint_numeric_literals_95092\",\"Convert all to bigint numeric literals\"),Convert_const_to_let:n(95093,e.DiagnosticCategory.Message,\"Convert_const_to_let_95093\",\"Convert 'const' to 'let'\"),Prefix_with_declare:n(95094,e.DiagnosticCategory.Message,\"Prefix_with_declare_95094\",\"Prefix with 'declare'\"),Prefix_all_incorrect_property_declarations_with_declare:n(95095,e.DiagnosticCategory.Message,\"Prefix_all_incorrect_property_declarations_with_declare_95095\",\"Prefix all incorrect property declarations with 'declare'\"),Convert_to_template_string:n(95096,e.DiagnosticCategory.Message,\"Convert_to_template_string_95096\",\"Convert to template string\"),Add_export_to_make_this_file_into_a_module:n(95097,e.DiagnosticCategory.Message,\"Add_export_to_make_this_file_into_a_module_95097\",\"Add 'export {}' to make this file into a module\"),Set_the_target_option_in_your_configuration_file_to_0:n(95098,e.DiagnosticCategory.Message,\"Set_the_target_option_in_your_configuration_file_to_0_95098\",\"Set the 'target' option in your configuration file to '{0}'\"),Set_the_module_option_in_your_configuration_file_to_0:n(95099,e.DiagnosticCategory.Message,\"Set_the_module_option_in_your_configuration_file_to_0_95099\",\"Set the 'module' option in your configuration file to '{0}'\"),Convert_invalid_character_to_its_html_entity_code:n(95100,e.DiagnosticCategory.Message,\"Convert_invalid_character_to_its_html_entity_code_95100\",\"Convert invalid character to its html entity code\"),Convert_all_invalid_characters_to_HTML_entity_code:n(95101,e.DiagnosticCategory.Message,\"Convert_all_invalid_characters_to_HTML_entity_code_95101\",\"Convert all invalid characters to HTML entity code\"),Convert_function_expression_0_to_arrow_function:n(95105,e.DiagnosticCategory.Message,\"Convert_function_expression_0_to_arrow_function_95105\",\"Convert function expression '{0}' to arrow function\"),Convert_function_declaration_0_to_arrow_function:n(95106,e.DiagnosticCategory.Message,\"Convert_function_declaration_0_to_arrow_function_95106\",\"Convert function declaration '{0}' to arrow function\"),Fix_all_implicit_this_errors:n(95107,e.DiagnosticCategory.Message,\"Fix_all_implicit_this_errors_95107\",\"Fix all implicit-'this' errors\"),Wrap_invalid_character_in_an_expression_container:n(95108,e.DiagnosticCategory.Message,\"Wrap_invalid_character_in_an_expression_container_95108\",\"Wrap invalid character in an expression container\"),Wrap_all_invalid_characters_in_an_expression_container:n(95109,e.DiagnosticCategory.Message,\"Wrap_all_invalid_characters_in_an_expression_container_95109\",\"Wrap all invalid characters in an expression container\"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file:n(95110,e.DiagnosticCategory.Message,\"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file_95110\",\"Visit https://aka.ms/tsconfig.json to read more about this file\"),Add_a_return_statement:n(95111,e.DiagnosticCategory.Message,\"Add_a_return_statement_95111\",\"Add a return statement\"),Remove_braces_from_arrow_function_body:n(95112,e.DiagnosticCategory.Message,\"Remove_braces_from_arrow_function_body_95112\",\"Remove braces from arrow function body\"),Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal:n(95113,e.DiagnosticCategory.Message,\"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\"),Add_all_missing_return_statement:n(95114,e.DiagnosticCategory.Message,\"Add_all_missing_return_statement_95114\",\"Add all missing return statement\"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:n(95115,e.DiagnosticCategory.Message,\"Remove_braces_from_all_arrow_function_bodies_with_relevant_issues_95115\",\"Remove braces from all arrow function bodies with relevant issues\"),Wrap_all_object_literal_with_parentheses:n(95116,e.DiagnosticCategory.Message,\"Wrap_all_object_literal_with_parentheses_95116\",\"Wrap all object literal with parentheses\"),Move_labeled_tuple_element_modifiers_to_labels:n(95117,e.DiagnosticCategory.Message,\"Move_labeled_tuple_element_modifiers_to_labels_95117\",\"Move labeled tuple element modifiers to labels\"),Convert_overload_list_to_single_signature:n(95118,e.DiagnosticCategory.Message,\"Convert_overload_list_to_single_signature_95118\",\"Convert overload list to single signature\"),Generate_get_and_set_accessors_for_all_overriding_properties:n(95119,e.DiagnosticCategory.Message,\"Generate_get_and_set_accessors_for_all_overriding_properties_95119\",\"Generate 'get' and 'set' accessors for all overriding properties\"),Wrap_in_JSX_fragment:n(95120,e.DiagnosticCategory.Message,\"Wrap_in_JSX_fragment_95120\",\"Wrap in JSX fragment\"),Wrap_all_unparented_JSX_in_JSX_fragment:n(95121,e.DiagnosticCategory.Message,\"Wrap_all_unparented_JSX_in_JSX_fragment_95121\",\"Wrap all unparented JSX in JSX fragment\"),Convert_arrow_function_or_function_expression:n(95122,e.DiagnosticCategory.Message,\"Convert_arrow_function_or_function_expression_95122\",\"Convert arrow function or function expression\"),Convert_to_anonymous_function:n(95123,e.DiagnosticCategory.Message,\"Convert_to_anonymous_function_95123\",\"Convert to anonymous function\"),Convert_to_named_function:n(95124,e.DiagnosticCategory.Message,\"Convert_to_named_function_95124\",\"Convert to named function\"),Convert_to_arrow_function:n(95125,e.DiagnosticCategory.Message,\"Convert_to_arrow_function_95125\",\"Convert to arrow function\"),Remove_parentheses:n(95126,e.DiagnosticCategory.Message,\"Remove_parentheses_95126\",\"Remove parentheses\"),Could_not_find_a_containing_arrow_function:n(95127,e.DiagnosticCategory.Message,\"Could_not_find_a_containing_arrow_function_95127\",\"Could not find a containing arrow function\"),Containing_function_is_not_an_arrow_function:n(95128,e.DiagnosticCategory.Message,\"Containing_function_is_not_an_arrow_function_95128\",\"Containing function is not an arrow function\"),Could_not_find_export_statement:n(95129,e.DiagnosticCategory.Message,\"Could_not_find_export_statement_95129\",\"Could not find export statement\"),This_file_already_has_a_default_export:n(95130,e.DiagnosticCategory.Message,\"This_file_already_has_a_default_export_95130\",\"This file already has a default export\"),Could_not_find_import_clause:n(95131,e.DiagnosticCategory.Message,\"Could_not_find_import_clause_95131\",\"Could not find import clause\"),Could_not_find_namespace_import_or_named_imports:n(95132,e.DiagnosticCategory.Message,\"Could_not_find_namespace_import_or_named_imports_95132\",\"Could not find namespace import or named imports\"),Selection_is_not_a_valid_type_node:n(95133,e.DiagnosticCategory.Message,\"Selection_is_not_a_valid_type_node_95133\",\"Selection is not a valid type node\"),No_type_could_be_extracted_from_this_type_node:n(95134,e.DiagnosticCategory.Message,\"No_type_could_be_extracted_from_this_type_node_95134\",\"No type could be extracted from this type node\"),Could_not_find_property_for_which_to_generate_accessor:n(95135,e.DiagnosticCategory.Message,\"Could_not_find_property_for_which_to_generate_accessor_95135\",\"Could not find property for which to generate accessor\"),Name_is_not_valid:n(95136,e.DiagnosticCategory.Message,\"Name_is_not_valid_95136\",\"Name is not valid\"),Can_only_convert_property_with_modifier:n(95137,e.DiagnosticCategory.Message,\"Can_only_convert_property_with_modifier_95137\",\"Can only convert property with modifier\"),Switch_each_misused_0_to_1:n(95138,e.DiagnosticCategory.Message,\"Switch_each_misused_0_to_1_95138\",\"Switch each misused '{0}' to '{1}'\"),Convert_to_optional_chain_expression:n(95139,e.DiagnosticCategory.Message,\"Convert_to_optional_chain_expression_95139\",\"Convert to optional chain expression\"),Could_not_find_convertible_access_expression:n(95140,e.DiagnosticCategory.Message,\"Could_not_find_convertible_access_expression_95140\",\"Could not find convertible access expression\"),Could_not_find_matching_access_expressions:n(95141,e.DiagnosticCategory.Message,\"Could_not_find_matching_access_expressions_95141\",\"Could not find matching access expressions\"),Can_only_convert_logical_AND_access_chains:n(95142,e.DiagnosticCategory.Message,\"Can_only_convert_logical_AND_access_chains_95142\",\"Can only convert logical AND access chains\"),Add_void_to_Promise_resolved_without_a_value:n(95143,e.DiagnosticCategory.Message,\"Add_void_to_Promise_resolved_without_a_value_95143\",\"Add 'void' to Promise resolved without a value\"),Add_void_to_all_Promises_resolved_without_a_value:n(95144,e.DiagnosticCategory.Message,\"Add_void_to_all_Promises_resolved_without_a_value_95144\",\"Add 'void' to all Promises resolved without a value\"),Use_element_access_for_0:n(95145,e.DiagnosticCategory.Message,\"Use_element_access_for_0_95145\",\"Use element access for '{0}'\"),Use_element_access_for_all_undeclared_properties:n(95146,e.DiagnosticCategory.Message,\"Use_element_access_for_all_undeclared_properties_95146\",\"Use element access for all undeclared properties.\"),Delete_all_unused_imports:n(95147,e.DiagnosticCategory.Message,\"Delete_all_unused_imports_95147\",\"Delete all unused imports\"),Infer_function_return_type:n(95148,e.DiagnosticCategory.Message,\"Infer_function_return_type_95148\",\"Infer function return type\"),Return_type_must_be_inferred_from_a_function:n(95149,e.DiagnosticCategory.Message,\"Return_type_must_be_inferred_from_a_function_95149\",\"Return type must be inferred from a function\"),Could_not_determine_function_return_type:n(95150,e.DiagnosticCategory.Message,\"Could_not_determine_function_return_type_95150\",\"Could not determine function return type\"),Could_not_convert_to_arrow_function:n(95151,e.DiagnosticCategory.Message,\"Could_not_convert_to_arrow_function_95151\",\"Could not convert to arrow function\"),Could_not_convert_to_named_function:n(95152,e.DiagnosticCategory.Message,\"Could_not_convert_to_named_function_95152\",\"Could not convert to named function\"),Could_not_convert_to_anonymous_function:n(95153,e.DiagnosticCategory.Message,\"Could_not_convert_to_anonymous_function_95153\",\"Could not convert to anonymous function\"),Can_only_convert_string_concatenation:n(95154,e.DiagnosticCategory.Message,\"Can_only_convert_string_concatenation_95154\",\"Can only convert string concatenation\"),Selection_is_not_a_valid_statement_or_statements:n(95155,e.DiagnosticCategory.Message,\"Selection_is_not_a_valid_statement_or_statements_95155\",\"Selection is not a valid statement or statements\"),Add_missing_function_declaration_0:n(95156,e.DiagnosticCategory.Message,\"Add_missing_function_declaration_0_95156\",\"Add missing function declaration '{0}'\"),Add_all_missing_function_declarations:n(95157,e.DiagnosticCategory.Message,\"Add_all_missing_function_declarations_95157\",\"Add all missing function declarations\"),Method_not_implemented:n(95158,e.DiagnosticCategory.Message,\"Method_not_implemented_95158\",\"Method not implemented.\"),Function_not_implemented:n(95159,e.DiagnosticCategory.Message,\"Function_not_implemented_95159\",\"Function not implemented.\"),Add_override_modifier:n(95160,e.DiagnosticCategory.Message,\"Add_override_modifier_95160\",\"Add 'override' modifier\"),Remove_override_modifier:n(95161,e.DiagnosticCategory.Message,\"Remove_override_modifier_95161\",\"Remove 'override' modifier\"),Add_all_missing_override_modifiers:n(95162,e.DiagnosticCategory.Message,\"Add_all_missing_override_modifiers_95162\",\"Add all missing 'override' modifiers\"),Remove_all_unnecessary_override_modifiers:n(95163,e.DiagnosticCategory.Message,\"Remove_all_unnecessary_override_modifiers_95163\",\"Remove all unnecessary 'override' modifiers\"),Can_only_convert_named_export:n(95164,e.DiagnosticCategory.Message,\"Can_only_convert_named_export_95164\",\"Can only convert named export\"),Add_missing_properties:n(95165,e.DiagnosticCategory.Message,\"Add_missing_properties_95165\",\"Add missing properties\"),Add_all_missing_properties:n(95166,e.DiagnosticCategory.Message,\"Add_all_missing_properties_95166\",\"Add all missing properties\"),Add_missing_attributes:n(95167,e.DiagnosticCategory.Message,\"Add_missing_attributes_95167\",\"Add missing attributes\"),Add_all_missing_attributes:n(95168,e.DiagnosticCategory.Message,\"Add_all_missing_attributes_95168\",\"Add all missing attributes\"),Add_undefined_to_optional_property_type:n(95169,e.DiagnosticCategory.Message,\"Add_undefined_to_optional_property_type_95169\",\"Add 'undefined' to optional property type\"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:n(18004,e.DiagnosticCategory.Error,\"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.\"),Classes_may_not_have_a_field_named_constructor:n(18006,e.DiagnosticCategory.Error,\"Classes_may_not_have_a_field_named_constructor_18006\",\"Classes may not have a field named 'constructor'.\"),JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array:n(18007,e.DiagnosticCategory.Error,\"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?\"),Private_identifiers_cannot_be_used_as_parameters:n(18009,e.DiagnosticCategory.Error,\"Private_identifiers_cannot_be_used_as_parameters_18009\",\"Private identifiers cannot be used as parameters.\"),An_accessibility_modifier_cannot_be_used_with_a_private_identifier:n(18010,e.DiagnosticCategory.Error,\"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010\",\"An accessibility modifier cannot be used with a private identifier.\"),The_operand_of_a_delete_operator_cannot_be_a_private_identifier:n(18011,e.DiagnosticCategory.Error,\"The_operand_of_a_delete_operator_cannot_be_a_private_identifier_18011\",\"The operand of a 'delete' operator cannot be a private identifier.\"),constructor_is_a_reserved_word:n(18012,e.DiagnosticCategory.Error,\"constructor_is_a_reserved_word_18012\",\"'#constructor' is a reserved word.\"),Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier:n(18013,e.DiagnosticCategory.Error,\"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.\"),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(18014,e.DiagnosticCategory.Error,\"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.\"),Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2:n(18015,e.DiagnosticCategory.Error,\"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}'.\"),Private_identifiers_are_not_allowed_outside_class_bodies:n(18016,e.DiagnosticCategory.Error,\"Private_identifiers_are_not_allowed_outside_class_bodies_18016\",\"Private identifiers are not allowed outside class bodies.\"),The_shadowing_declaration_of_0_is_defined_here:n(18017,e.DiagnosticCategory.Error,\"The_shadowing_declaration_of_0_is_defined_here_18017\",\"The shadowing declaration of '{0}' is defined here\"),The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here:n(18018,e.DiagnosticCategory.Error,\"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\"),_0_modifier_cannot_be_used_with_a_private_identifier:n(18019,e.DiagnosticCategory.Error,\"_0_modifier_cannot_be_used_with_a_private_identifier_18019\",\"'{0}' modifier cannot be used with a private identifier.\"),An_enum_member_cannot_be_named_with_a_private_identifier:n(18024,e.DiagnosticCategory.Error,\"An_enum_member_cannot_be_named_with_a_private_identifier_18024\",\"An enum member cannot be named with a private identifier.\"),can_only_be_used_at_the_start_of_a_file:n(18026,e.DiagnosticCategory.Error,\"can_only_be_used_at_the_start_of_a_file_18026\",\"'#!' can only be used at the start of a file.\"),Compiler_reserves_name_0_when_emitting_private_identifier_downlevel:n(18027,e.DiagnosticCategory.Error,\"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027\",\"Compiler reserves name '{0}' when emitting private identifier downlevel.\"),Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher:n(18028,e.DiagnosticCategory.Error,\"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028\",\"Private identifiers are only available when targeting ECMAScript 2015 and higher.\"),Private_identifiers_are_not_allowed_in_variable_declarations:n(18029,e.DiagnosticCategory.Error,\"Private_identifiers_are_not_allowed_in_variable_declarations_18029\",\"Private identifiers are not allowed in variable declarations.\"),An_optional_chain_cannot_contain_private_identifiers:n(18030,e.DiagnosticCategory.Error,\"An_optional_chain_cannot_contain_private_identifiers_18030\",\"An optional chain cannot contain private identifiers.\"),The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents:n(18031,e.DiagnosticCategory.Error,\"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.\"),The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some:n(18032,e.DiagnosticCategory.Error,\"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.\"),Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhaustiveness_checks_consider_using_an_object_literal_instead:n(18033,e.DiagnosticCategory.Error,\"Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhau_18033\",\"Only numeric enums can have computed members, but this expression has type '{0}'. If you do not need exhaustiveness checks, consider using an object literal instead.\"),Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment:n(18034,e.DiagnosticCategory.Message,\"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'.\"),Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name:n(18035,e.DiagnosticCategory.Error,\"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.\"),Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator:n(18036,e.DiagnosticCategory.Error,\"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.\"),Await_expression_cannot_be_used_inside_a_class_static_block:n(18037,e.DiagnosticCategory.Error,\"Await_expression_cannot_be_used_inside_a_class_static_block_18037\",\"Await expression cannot be used inside a class static block.\"),For_await_loops_cannot_be_used_inside_a_class_static_block:n(18038,e.DiagnosticCategory.Error,\"For_await_loops_cannot_be_used_inside_a_class_static_block_18038\",\"'For await' loops cannot be used inside a class static block.\"),Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block:n(18039,e.DiagnosticCategory.Error,\"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.\"),A_return_statement_cannot_be_used_inside_a_class_static_block:n(18041,e.DiagnosticCategory.Error,\"A_return_statement_cannot_be_used_inside_a_class_static_block_18041\",\"A 'return' statement cannot be used inside a class static block.\")}}(jr||(jr={})),function(e){var n;function f(Ae){return Ae>=79}e.tokenIsIdentifierOrKeyword=f;function p(Ae){return Ae===31||f(Ae)}e.tokenIsIdentifierOrKeywordOrGreaterThan=p,e.textToKeywordObj=(n={abstract:126,any:130,as:127,asserts:128,assert:129,bigint:157,boolean:133,break:81,case:82,catch:83,class:84,continue:86,const:85},n.constructor=134,n.debugger=87,n.declare=135,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=155,n.function=98,n.get=136,n.if=99,n.implements=117,n.import=100,n.in=101,n.infer=137,n.instanceof=102,n.interface=118,n.intrinsic=138,n.is=139,n.keyof=140,n.let=119,n.module=141,n.namespace=142,n.never=143,n.new=103,n.null=104,n.number=146,n.object=147,n.package=120,n.private=121,n.protected=122,n.public=123,n.override=158,n.readonly=144,n.require=145,n.global=156,n.return=105,n.set=148,n.static=124,n.string=149,n.super=106,n.switch=107,n.symbol=150,n.this=108,n.throw=109,n.true=110,n.try=111,n.type=151,n.typeof=112,n.undefined=152,n.unique=153,n.unknown=154,n.var=113,n.void=114,n.while=115,n.with=116,n.yield=125,n.async=131,n.await=132,n.of=159,n);var a=new e.Map(e.getEntries(e.textToKeywordObj)),d=new e.Map(e.getEntries(Rn(Rn({},e.textToKeywordObj),{\"{\":18,\"}\":19,\"(\":20,\")\":21,\"[\":22,\"]\":23,\".\":24,\"...\":25,\";\":26,\",\":27,\"<\":29,\">\":31,\"<=\":32,\">=\":33,\"==\":34,\"!=\":35,\"===\":36,\"!==\":37,\"=>\":38,\"+\":39,\"-\":40,\"**\":42,\"*\":41,\"/\":43,\"%\":44,\"++\":45,\"--\":46,\"<<\":47,\"</\":30,\">>\":48,\">>>\":49,\"&\":50,\"|\":51,\"^\":52,\"!\":53,\"~\":54,\"&&\":55,\"||\":56,\"?\":57,\"??\":60,\"?.\":28,\":\":58,\"=\":63,\"+=\":64,\"-=\":65,\"*=\":66,\"**=\":67,\"/=\":68,\"%=\":69,\"<<=\":70,\">>=\":71,\">>>=\":72,\"&=\":73,\"|=\":74,\"^=\":78,\"||=\":75,\"&&=\":76,\"??=\":77,\"@\":59,\"#\":62,\"`\":61}))),k=[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],J=[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],h=[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],v=[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],A=[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],z=[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],ie=/^\\/\\/\\/?\\s*@(ts-expect-error|ts-ignore)/,b=/^(?:\\/|\\*)*\\s*@(ts-expect-error|ts-ignore)/;function M(Ae,Ye){if(Ae<Ye[0])return!1;for(var Dr=0,br=Ye.length,lr;Dr+1<br;){if(lr=Dr+(br-Dr)/2,lr-=lr%2,Ye[lr]<=Ae&&Ae<=Ye[lr+1])return!0;Ae<Ye[lr]?br=lr:Dr=lr+2}return!1}function S(Ae,Ye){return Ye>=2?M(Ae,A):Ye===1?M(Ae,h):M(Ae,k)}e.isUnicodeIdentifierStart=S;function B(Ae,Ye){return Ye>=2?M(Ae,z):Ye===1?M(Ae,v):M(Ae,J)}function H(Ae){var Ye=[];return Ae.forEach(function(Dr,br){Ye[Dr]=br}),Ye}var I=H(d);function w(Ae){return I[Ae]}e.tokenToString=w;function x(Ae){return d.get(Ae)}e.stringToToken=x;function O(Ae){for(var Ye=new Array,Dr=0,br=0;Dr<Ae.length;){var lr=Ae.charCodeAt(Dr);switch(Dr++,lr){case 13:Ae.charCodeAt(Dr)===10&&Dr++;case 10:Ye.push(br),br=Dr;break;default:lr>127&&y(lr)&&(Ye.push(br),br=Dr);break}}return Ye.push(br),Ye}e.computeLineStarts=O;function q(Ae,Ye,Dr,br){return Ae.getPositionOfLineAndCharacter?Ae.getPositionOfLineAndCharacter(Ye,Dr,br):Z(ne(Ae),Ye,Dr,Ae.text,br)}e.getPositionOfLineAndCharacter=q;function Z(Ae,Ye,Dr,br,lr){(Ye<0||Ye>=Ae.length)&&(lr?Ye=Ye<0?0:Ye>=Ae.length?Ae.length-1:Ye:e.Debug.fail(\"Bad line number. Line: \".concat(Ye,\", lineStarts.length: \").concat(Ae.length,\" , line map is correct? \").concat(br!==void 0?e.arraysEqual(Ae,O(br)):\"unknown\")));var Ar=Ae[Ye]+Dr;return lr?Ar>Ae[Ye+1]?Ae[Ye+1]:typeof br==\"string\"&&Ar>br.length?br.length:Ar:(Ye<Ae.length-1?e.Debug.assert(Ar<Ae[Ye+1]):br!==void 0&&e.Debug.assert(Ar<=br.length),Ar)}e.computePositionOfLineAndCharacter=Z;function ne(Ae){return Ae.lineMap||(Ae.lineMap=O(Ae.text))}e.getLineStarts=ne;function F(Ae,Ye){var Dr=Q(Ae,Ye);return{line:Dr,character:Ye-Ae[Dr]}}e.computeLineAndCharacterOfPosition=F;function Q(Ae,Ye,Dr){var br=e.binarySearch(Ae,Ye,e.identity,e.compareValues,Dr);return br<0&&(br=~br-1,e.Debug.assert(br!==-1,\"position cannot precede the beginning of the file\")),br}e.computeLineOfPosition=Q;function V(Ae,Ye,Dr){if(Ye===Dr)return 0;var br=ne(Ae),lr=Math.min(Ye,Dr),Ar=lr===Dr,kr=Ar?Ye:Dr,Ke=Q(br,lr),Me=Q(br,kr,Ke);return Ar?Ke-Me:Me-Ke}e.getLinesBetweenPositions=V;function re(Ae,Ye){return F(ne(Ae),Ye)}e.getLineAndCharacterOfPosition=re;function T(Ae){return N(Ae)||y(Ae)}e.isWhiteSpaceLike=T;function N(Ae){return Ae===32||Ae===9||Ae===11||Ae===12||Ae===160||Ae===133||Ae===5760||Ae>=8192&&Ae<=8203||Ae===8239||Ae===8287||Ae===12288||Ae===65279}e.isWhiteSpaceSingleLine=N;function y(Ae){return Ae===10||Ae===13||Ae===8232||Ae===8233}e.isLineBreak=y;function D(Ae){return Ae>=48&&Ae<=57}function C(Ae){return D(Ae)||Ae>=65&&Ae<=70||Ae>=97&&Ae<=102}function m(Ae){return Ae<=1114111}function u(Ae){return Ae>=48&&Ae<=55}e.isOctalDigit=u;function g(Ae,Ye){var Dr=Ae.charCodeAt(Ye);switch(Dr){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 124:case 61:case 62:return!0;case 35:return Ye===0;default:return Dr>127}}e.couldStartTrivia=g;function P(Ae,Ye,Dr,br,lr){if(e.positionIsSynthesized(Ye))return Ye;for(var Ar=!1;;){var kr=Ae.charCodeAt(Ye);switch(kr){case 13:Ae.charCodeAt(Ye+1)===10&&Ye++;case 10:if(Ye++,Dr)return Ye;Ar=!!lr;continue;case 9:case 11:case 12:case 32:Ye++;continue;case 47:if(br)break;if(Ae.charCodeAt(Ye+1)===47){for(Ye+=2;Ye<Ae.length&&!y(Ae.charCodeAt(Ye));)Ye++;Ar=!1;continue}if(Ae.charCodeAt(Ye+1)===42){for(Ye+=2;Ye<Ae.length;){if(Ae.charCodeAt(Ye)===42&&Ae.charCodeAt(Ye+1)===47){Ye+=2;break}Ye++}Ar=!1;continue}break;case 60:case 124:case 61:case 62:if(ue(Ae,Ye)){Ye=X(Ae,Ye),Ar=!1;continue}break;case 35:if(Ye===0&&Se(Ae,Ye)){Ye=Ce(Ae,Ye),Ar=!1;continue}break;case 42:if(Ar){Ye++,Ar=!1;continue}break;default:if(kr>127&&T(kr)){Ye++;continue}break}return Ye}}e.skipTrivia=P;var te=7;function ue(Ae,Ye){if(e.Debug.assert(Ye>=0),Ye===0||y(Ae.charCodeAt(Ye-1))){var Dr=Ae.charCodeAt(Ye);if(Ye+te<Ae.length){for(var br=0;br<te;br++)if(Ae.charCodeAt(Ye+br)!==Dr)return!1;return Dr===61||Ae.charCodeAt(Ye+te)===32}}return!1}function X(Ae,Ye,Dr){Dr&&Dr(e.Diagnostics.Merge_conflict_marker_encountered,Ye,te);var br=Ae.charCodeAt(Ye),lr=Ae.length;if(br===60||br===62)for(;Ye<lr&&!y(Ae.charCodeAt(Ye));)Ye++;else for(e.Debug.assert(br===124||br===61);Ye<lr;){var Ar=Ae.charCodeAt(Ye);if((Ar===61||Ar===62)&&Ar!==br&&ue(Ae,Ye))break;Ye++}return Ye}var j=/^#!.*/;function Se(Ae,Ye){return e.Debug.assert(Ye===0),j.test(Ae)}e.isShebangTrivia=Se;function Ce(Ae,Ye){var Dr=j.exec(Ae)[0];return Ye=Ye+Dr.length,Ye}e.scanShebangTrivia=Ce;function R(Ae,Ye,Dr,br,lr,Ar,kr){var Ke,Me,Hr,ur,gr=!1,de=br,Fe=kr;if(Dr===0){de=!0;var $e=Ie(Ye);$e&&(Dr=$e.length)}e:for(;Dr>=0&&Dr<Ye.length;){var Sr=Ye.charCodeAt(Dr);switch(Sr){case 13:Ye.charCodeAt(Dr+1)===10&&Dr++;case 10:if(Dr++,br)break e;de=!0,gr&&(ur=!0);continue;case 9:case 11:case 12:case 32:Dr++;continue;case 47:var Pr=Ye.charCodeAt(Dr+1),He=!1;if(Pr===47||Pr===42){var pr=Pr===47?2:3,Jr=Dr;if(Dr+=2,Pr===47)for(;Dr<Ye.length;){if(y(Ye.charCodeAt(Dr))){He=!0;break}Dr++}else for(;Dr<Ye.length;){if(Ye.charCodeAt(Dr)===42&&Ye.charCodeAt(Dr+1)===47){Dr+=2;break}Dr++}if(de){if(gr&&(Fe=lr(Ke,Me,Hr,ur,Ar,Fe),!Ae&&Fe))return Fe;Ke=Jr,Me=Dr,Hr=pr,ur=He,gr=!0}continue}break e;default:if(Sr>127&&T(Sr)){gr&&y(Sr)&&(ur=!0),Dr++;continue}break e}}return gr&&(Fe=lr(Ke,Me,Hr,ur,Ar,Fe)),Fe}function Y(Ae,Ye,Dr,br){return R(!1,Ae,Ye,!1,Dr,br)}e.forEachLeadingCommentRange=Y;function U(Ae,Ye,Dr,br){return R(!1,Ae,Ye,!0,Dr,br)}e.forEachTrailingCommentRange=U;function K(Ae,Ye,Dr,br,lr){return R(!0,Ae,Ye,!1,Dr,br,lr)}e.reduceEachLeadingCommentRange=K;function Te(Ae,Ye,Dr,br,lr){return R(!0,Ae,Ye,!0,Dr,br,lr)}e.reduceEachTrailingCommentRange=Te;function ge(Ae,Ye,Dr,br,lr,Ar){return Ar||(Ar=[]),Ar.push({kind:Dr,pos:Ae,end:Ye,hasTrailingNewLine:br}),Ar}function ke(Ae,Ye){return K(Ae,Ye,ge,void 0,void 0)}e.getLeadingCommentRanges=ke;function Pe(Ae,Ye){return Te(Ae,Ye,ge,void 0,void 0)}e.getTrailingCommentRanges=Pe;function Ie(Ae){var Ye=j.exec(Ae);if(Ye)return Ye[0]}e.getShebang=Ie;function Ge(Ae,Ye){return Ae>=65&&Ae<=90||Ae>=97&&Ae<=122||Ae===36||Ae===95||Ae>127&&S(Ae,Ye)}e.isIdentifierStart=Ge;function he(Ae,Ye,Dr){return Ae>=65&&Ae<=90||Ae>=97&&Ae<=122||Ae>=48&&Ae<=57||Ae===36||Ae===95||(Dr===1?Ae===45||Ae===58:!1)||Ae>127&&B(Ae,Ye)}e.isIdentifierPart=he;function ve(Ae,Ye,Dr){var br=_e(Ae,0);if(!Ge(br,Ye))return!1;for(var lr=Le(br);lr<Ae.length;lr+=Le(br))if(!he(br=_e(Ae,lr),Ye,Dr))return!1;return!0}e.isIdentifierText=ve;function Ve(Ae,Ye,Dr,br,lr,Ar,kr){Dr===void 0&&(Dr=0);var Ke=br,Me,Hr,ur,gr,de,Fe,$e,Sr,Pr=0;sa(Ke,Ar,kr);var He={getStartPos:function(){return ur},getTextPos:function(){return Me},getToken:function(){return de},getTokenPos:function(){return gr},getTokenText:function(){return Ke.substring(gr,Me)},getTokenValue:function(){return Fe},hasUnicodeEscape:function(){return($e&1024)!==0},hasExtendedUnicodeEscape:function(){return($e&8)!==0},hasPrecedingLineBreak:function(){return($e&1)!==0},hasPrecedingJSDocComment:function(){return($e&2)!==0},isIdentifier:function(){return de===79||de>116},isReservedWord:function(){return de>=81&&de<=116},isUnterminated:function(){return($e&4)!==0},getCommentDirectives:function(){return Sr},getNumericLiteralFlags:function(){return $e&1008},getTokenFlags:function(){return $e},reScanGreaterToken:Ne,reScanAsteriskEqualsToken:me,reScanSlashToken:Ze,reScanTemplateToken:dr,reScanTemplateHeadOrNoSubstitutionTemplate:et,scanJsxIdentifier:zr,scanJsxAttributeValue:gt,reScanJsxAttributeValue:vt,reScanJsxToken:yt,reScanLessThanToken:Vr,reScanHashToken:tr,reScanQuestionToken:xr,reScanInvalidIdentifier:We,scanJsxToken:Nr,scanJsDocToken:ut,scan:Ee,getText:mt,clearCommentDirectives:rn,setText:sa,setScriptTarget:Jn,setLanguageVariant:na,setOnError:ba,setTextPos:Wn,setInJSDocType:en,tryScan:Qt,lookAhead:wt,scanRange:xt};return e.Debug.isDebugging&&Object.defineProperty(He,\"__debugShowCurrentPositionInText\",{get:function(){var St=He.getText();return St.slice(0,He.getStartPos())+\"\\u2551\"+St.slice(He.getStartPos())}}),He;function pr(St,Ut,qt){if(Ut===void 0&&(Ut=Me),lr){var Mn=Me;Me=Ut,lr(St,qt||0),Me=Mn}}function Jr(){for(var St=Me,Ut=!1,qt=!1,Mn=\"\";;){var dn=Ke.charCodeAt(Me);if(dn===95){$e|=512,Ut?(Ut=!1,qt=!0,Mn+=Ke.substring(St,Me)):pr(qt?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,Me,1),Me++,St=Me;continue}if(D(dn)){Ut=!0,qt=!1,Me++;continue}break}return Ke.charCodeAt(Me-1)===95&&pr(e.Diagnostics.Numeric_separators_are_not_allowed_here,Me-1,1),Mn+Ke.substring(St,Me)}function ze(){var St=Me,Ut=Jr(),qt,Mn;Ke.charCodeAt(Me)===46&&(Me++,qt=Jr());var dn=Me;if(Ke.charCodeAt(Me)===69||Ke.charCodeAt(Me)===101){Me++,$e|=16,(Ke.charCodeAt(Me)===43||Ke.charCodeAt(Me)===45)&&Me++;var oa=Me,pt=Jr();pt?(Mn=Ke.substring(dn,oa)+pt,dn=Me):pr(e.Diagnostics.Digit_expected)}var _t;if($e&512?(_t=Ut,qt&&(_t+=\".\"+qt),Mn&&(_t+=Mn)):_t=Ke.substring(St,dn),qt!==void 0||$e&16)return Lr(St,qt===void 0&&!!($e&16)),{type:8,value:\"\"+ +_t};Fe=_t;var Mt=je();return Lr(St),{type:Mt,value:Fe}}function Lr(St,Ut){if(!!Ge(_e(Ke,Me),Ae)){var qt=Me,Mn=ye().length;Mn===1&&Ke[qt]===\"n\"?pr(Ut?e.Diagnostics.A_bigint_literal_cannot_use_exponential_notation:e.Diagnostics.A_bigint_literal_must_be_an_integer,St,qt-St+1):(pr(e.Diagnostics.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,qt,Mn),Me=qt)}}function Yr(){for(var St=Me;u(Ke.charCodeAt(Me));)Me++;return+Ke.substring(St,Me)}function lt(St,Ut){var qt=Rt(St,!1,Ut);return qt?parseInt(qt,16):-1}function tt(St,Ut){return Rt(St,!0,Ut)}function Rt(St,Ut,qt){for(var Mn=[],dn=!1,oa=!1;Mn.length<St||Ut;){var pt=Ke.charCodeAt(Me);if(qt&&pt===95){$e|=512,dn?(dn=!1,oa=!0):pr(oa?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,Me,1),Me++;continue}if(dn=qt,pt>=65&&pt<=70)pt+=97-65;else if(!(pt>=48&&pt<=57||pt>=97&&pt<=102))break;Mn.push(pt),Me++,oa=!1}return Mn.length<St&&(Mn=[]),Ke.charCodeAt(Me-1)===95&&pr(e.Diagnostics.Numeric_separators_are_not_allowed_here,Me-1,1),String.fromCharCode.apply(String,Mn)}function cn(St){St===void 0&&(St=!1);var Ut=Ke.charCodeAt(Me);Me++;for(var qt=\"\",Mn=Me;;){if(Me>=Hr){qt+=Ke.substring(Mn,Me),$e|=4,pr(e.Diagnostics.Unterminated_string_literal);break}var dn=Ke.charCodeAt(Me);if(dn===Ut){qt+=Ke.substring(Mn,Me),Me++;break}if(dn===92&&!St){qt+=Ke.substring(Mn,Me),qt+=In(),Mn=Me;continue}if(y(dn)&&!St){qt+=Ke.substring(Mn,Me),$e|=4,pr(e.Diagnostics.Unterminated_string_literal);break}Me++}return qt}function bn(St){var Ut=Ke.charCodeAt(Me)===96;Me++;for(var qt=Me,Mn=\"\",dn;;){if(Me>=Hr){Mn+=Ke.substring(qt,Me),$e|=4,pr(e.Diagnostics.Unterminated_template_literal),dn=Ut?14:17;break}var oa=Ke.charCodeAt(Me);if(oa===96){Mn+=Ke.substring(qt,Me),Me++,dn=Ut?14:17;break}if(oa===36&&Me+1<Hr&&Ke.charCodeAt(Me+1)===123){Mn+=Ke.substring(qt,Me),Me+=2,dn=Ut?15:16;break}if(oa===92){Mn+=Ke.substring(qt,Me),Mn+=In(St),qt=Me;continue}if(oa===13){Mn+=Ke.substring(qt,Me),Me++,Me<Hr&&Ke.charCodeAt(Me)===10&&Me++,Mn+=`\n`,qt=Me;continue}Me++}return e.Debug.assert(dn!==void 0),Fe=Mn,dn}function In(St){var Ut=Me;if(Me++,Me>=Hr)return pr(e.Diagnostics.Unexpected_end_of_text),\"\";var qt=Ke.charCodeAt(Me);switch(Me++,qt){case 48:return St&&Me<Hr&&D(Ke.charCodeAt(Me))?(Me++,$e|=2048,Ke.substring(Ut,Me)):\"\\0\";case 98:return\"\\b\";case 116:return\"\t\";case 110:return`\n`;case 118:return\"\\v\";case 102:return\"\\f\";case 114:return\"\\r\";case 39:return\"'\";case 34:return'\"';case 117:if(St){for(var Mn=Me;Mn<Me+4;Mn++)if(Mn<Hr&&!C(Ke.charCodeAt(Mn))&&Ke.charCodeAt(Mn)!==123)return Me=Mn,$e|=2048,Ke.substring(Ut,Me)}if(Me<Hr&&Ke.charCodeAt(Me)===123){if(Me++,St&&!C(Ke.charCodeAt(Me)))return $e|=2048,Ke.substring(Ut,Me);if(St){var dn=Me,oa=tt(1,!1),pt=oa?parseInt(oa,16):-1;if(!m(pt)||Ke.charCodeAt(Me)!==125)return $e|=2048,Ke.substring(Ut,Me);Me=dn}return $e|=8,ir()}return $e|=1024,zn(4);case 120:if(St)if(C(Ke.charCodeAt(Me))){if(!C(Ke.charCodeAt(Me+1)))return Me++,$e|=2048,Ke.substring(Ut,Me)}else return $e|=2048,Ke.substring(Ut,Me);return zn(2);case 13:Me<Hr&&Ke.charCodeAt(Me)===10&&Me++;case 10:case 8232:case 8233:return\"\";default:return String.fromCharCode(qt)}}function zn(St){var Ut=lt(St,!1);return Ut>=0?String.fromCharCode(Ut):(pr(e.Diagnostics.Hexadecimal_digit_expected),\"\")}function ir(){var St=tt(1,!1),Ut=St?parseInt(St,16):-1,qt=!1;return Ut<0?(pr(e.Diagnostics.Hexadecimal_digit_expected),qt=!0):Ut>1114111&&(pr(e.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),qt=!0),Me>=Hr?(pr(e.Diagnostics.Unexpected_end_of_text),qt=!0):Ke.charCodeAt(Me)===125?Me++:(pr(e.Diagnostics.Unterminated_Unicode_escape_sequence),qt=!0),qt?\"\":De(Ut)}function Or(){if(Me+5<Hr&&Ke.charCodeAt(Me+1)===117){var St=Me;Me+=2;var Ut=lt(4,!1);return Me=St,Ut}return-1}function sr(){if(Ae>=2&&_e(Ke,Me+1)===117&&_e(Ke,Me+2)===123){var St=Me;Me+=3;var Ut=tt(1,!1),qt=Ut?parseInt(Ut,16):-1;return Me=St,qt}return-1}function ye(){for(var St=\"\",Ut=Me;Me<Hr;){var qt=_e(Ke,Me);if(he(qt,Ae))Me+=Le(qt);else if(qt===92){if(qt=sr(),qt>=0&&he(qt,Ae)){Me+=3,$e|=8,St+=ir(),Ut=Me;continue}if(qt=Or(),!(qt>=0&&he(qt,Ae)))break;$e|=1024,St+=Ke.substring(Ut,Me),St+=De(qt),Me+=6,Ut=Me}else break}return St+=Ke.substring(Ut,Me),St}function or(){var St=Fe.length;if(St>=2&&St<=12){var Ut=Fe.charCodeAt(0);if(Ut>=97&&Ut<=122){var qt=a.get(Fe);if(qt!==void 0)return de=qt}}return de=79}function fe(St){for(var Ut=\"\",qt=!1,Mn=!1;;){var dn=Ke.charCodeAt(Me);if(dn===95){$e|=512,qt?(qt=!1,Mn=!0):pr(Mn?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,Me,1),Me++;continue}if(qt=!0,!D(dn)||dn-48>=St)break;Ut+=Ke[Me],Me++,Mn=!1}return Ke.charCodeAt(Me-1)===95&&pr(e.Diagnostics.Numeric_separators_are_not_allowed_here,Me-1,1),Ut}function je(){if(Ke.charCodeAt(Me)===110)return Fe+=\"n\",$e&384&&(Fe=e.parsePseudoBigInt(Fe)+\"n\"),Me++,9;var St=$e&128?parseInt(Fe.slice(2),2):$e&256?parseInt(Fe.slice(2),8):+Fe;return Fe=\"\"+St,8}function Ee(){var St;ur=Me,$e=0;for(var Ut=!1;;){if(gr=Me,Me>=Hr)return de=1;var qt=_e(Ke,Me);if(qt===35&&Me===0&&Se(Ke,Me)){if(Me=Ce(Ke,Me),Ye)continue;return de=6}switch(qt){case 10:case 13:if($e|=1,Ye){Me++;continue}else return qt===13&&Me+1<Hr&&Ke.charCodeAt(Me+1)===10?Me+=2:Me++,de=4;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 8203:case 8239:case 8287:case 12288:case 65279:if(Ye){Me++;continue}else{for(;Me<Hr&&N(Ke.charCodeAt(Me));)Me++;return de=5}case 33:return Ke.charCodeAt(Me+1)===61?Ke.charCodeAt(Me+2)===61?(Me+=3,de=37):(Me+=2,de=35):(Me++,de=53);case 34:case 39:return Fe=cn(),de=10;case 96:return de=bn(!1);case 37:return Ke.charCodeAt(Me+1)===61?(Me+=2,de=69):(Me++,de=44);case 38:return Ke.charCodeAt(Me+1)===38?Ke.charCodeAt(Me+2)===61?(Me+=3,de=76):(Me+=2,de=55):Ke.charCodeAt(Me+1)===61?(Me+=2,de=73):(Me++,de=50);case 40:return Me++,de=20;case 41:return Me++,de=21;case 42:if(Ke.charCodeAt(Me+1)===61)return Me+=2,de=66;if(Ke.charCodeAt(Me+1)===42)return Ke.charCodeAt(Me+2)===61?(Me+=3,de=67):(Me+=2,de=42);if(Me++,Pr&&!Ut&&$e&1){Ut=!0;continue}return de=41;case 43:return Ke.charCodeAt(Me+1)===43?(Me+=2,de=45):Ke.charCodeAt(Me+1)===61?(Me+=2,de=64):(Me++,de=39);case 44:return Me++,de=27;case 45:return Ke.charCodeAt(Me+1)===45?(Me+=2,de=46):Ke.charCodeAt(Me+1)===61?(Me+=2,de=65):(Me++,de=40);case 46:return D(Ke.charCodeAt(Me+1))?(Fe=ze().value,de=8):Ke.charCodeAt(Me+1)===46&&Ke.charCodeAt(Me+2)===46?(Me+=3,de=25):(Me++,de=24);case 47:if(Ke.charCodeAt(Me+1)===47){for(Me+=2;Me<Hr&&!y(Ke.charCodeAt(Me));)Me++;if(Sr=Cr(Sr,Ke.slice(gr,Me),ie,gr),Ye)continue;return de=2}if(Ke.charCodeAt(Me+1)===42){Me+=2,Ke.charCodeAt(Me)===42&&Ke.charCodeAt(Me+1)!==47&&($e|=2);for(var Mn=!1,dn=gr;Me<Hr;){var oa=Ke.charCodeAt(Me);if(oa===42&&Ke.charCodeAt(Me+1)===47){Me+=2,Mn=!0;break}Me++,y(oa)&&(dn=Me,$e|=1)}if(Sr=Cr(Sr,Ke.slice(dn,Me),b,dn),Mn||pr(e.Diagnostics.Asterisk_Slash_expected),Ye)continue;return Mn||($e|=4),de=3}return Ke.charCodeAt(Me+1)===61?(Me+=2,de=68):(Me++,de=43);case 48:if(Me+2<Hr&&(Ke.charCodeAt(Me+1)===88||Ke.charCodeAt(Me+1)===120))return Me+=2,Fe=tt(1,!0),Fe||(pr(e.Diagnostics.Hexadecimal_digit_expected),Fe=\"0\"),Fe=\"0x\"+Fe,$e|=64,de=je();if(Me+2<Hr&&(Ke.charCodeAt(Me+1)===66||Ke.charCodeAt(Me+1)===98))return Me+=2,Fe=fe(2),Fe||(pr(e.Diagnostics.Binary_digit_expected),Fe=\"0\"),Fe=\"0b\"+Fe,$e|=128,de=je();if(Me+2<Hr&&(Ke.charCodeAt(Me+1)===79||Ke.charCodeAt(Me+1)===111))return Me+=2,Fe=fe(8),Fe||(pr(e.Diagnostics.Octal_digit_expected),Fe=\"0\"),Fe=\"0o\"+Fe,$e|=256,de=je();if(Me+1<Hr&&u(Ke.charCodeAt(Me+1)))return Fe=\"\"+Yr(),$e|=32,de=8;case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return St=ze(),de=St.type,Fe=St.value,de;case 58:return Me++,de=58;case 59:return Me++,de=26;case 60:if(ue(Ke,Me)){if(Me=X(Ke,Me,pr),Ye)continue;return de=7}return Ke.charCodeAt(Me+1)===60?Ke.charCodeAt(Me+2)===61?(Me+=3,de=70):(Me+=2,de=47):Ke.charCodeAt(Me+1)===61?(Me+=2,de=32):Dr===1&&Ke.charCodeAt(Me+1)===47&&Ke.charCodeAt(Me+2)!==42?(Me+=2,de=30):(Me++,de=29);case 61:if(ue(Ke,Me)){if(Me=X(Ke,Me,pr),Ye)continue;return de=7}return Ke.charCodeAt(Me+1)===61?Ke.charCodeAt(Me+2)===61?(Me+=3,de=36):(Me+=2,de=34):Ke.charCodeAt(Me+1)===62?(Me+=2,de=38):(Me++,de=63);case 62:if(ue(Ke,Me)){if(Me=X(Ke,Me,pr),Ye)continue;return de=7}return Me++,de=31;case 63:return Ke.charCodeAt(Me+1)===46&&!D(Ke.charCodeAt(Me+2))?(Me+=2,de=28):Ke.charCodeAt(Me+1)===63?Ke.charCodeAt(Me+2)===61?(Me+=3,de=77):(Me+=2,de=60):(Me++,de=57);case 91:return Me++,de=22;case 93:return Me++,de=23;case 94:return Ke.charCodeAt(Me+1)===61?(Me+=2,de=78):(Me++,de=52);case 123:return Me++,de=18;case 124:if(ue(Ke,Me)){if(Me=X(Ke,Me,pr),Ye)continue;return de=7}return Ke.charCodeAt(Me+1)===124?Ke.charCodeAt(Me+2)===61?(Me+=3,de=75):(Me+=2,de=56):Ke.charCodeAt(Me+1)===61?(Me+=2,de=74):(Me++,de=51);case 125:return Me++,de=19;case 126:return Me++,de=54;case 64:return Me++,de=59;case 92:var pt=sr();if(pt>=0&&Ge(pt,Ae))return Me+=3,$e|=8,Fe=ir()+ye(),de=or();var _t=Or();return _t>=0&&Ge(_t,Ae)?(Me+=6,$e|=1024,Fe=String.fromCharCode(_t)+ye(),de=or()):(pr(e.Diagnostics.Invalid_character),Me++,de=0);case 35:return Me!==0&&Ke[Me+1]===\"!\"?(pr(e.Diagnostics.can_only_be_used_at_the_start_of_a_file),Me++,de=0):(Ge(_e(Ke,Me+1),Ae)?(Me++,$(_e(Ke,Me),Ae)):(Fe=String.fromCharCode(_e(Ke,Me)),pr(e.Diagnostics.Invalid_character,Me++,Le(qt))),de=80);default:var Mt=$(qt,Ae);if(Mt)return de=Mt;if(N(qt)){Me+=Le(qt);continue}else if(y(qt)){$e|=1,Me+=Le(qt);continue}var It=Le(qt);return pr(e.Diagnostics.Invalid_character,Me,It),Me+=It,de=0}}}function We(){e.Debug.assert(de===0,\"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'.\"),Me=gr=ur,$e=0;var St=_e(Ke,Me),Ut=$(St,99);return Ut?de=Ut:(Me+=Le(St),de)}function $(St,Ut){var qt=St;if(Ge(qt,Ut)){for(Me+=Le(qt);Me<Hr&&he(qt=_e(Ke,Me),Ut);)Me+=Le(qt);return Fe=Ke.substring(gr,Me),qt===92&&(Fe+=ye()),or()}}function Ne(){if(de===31){if(Ke.charCodeAt(Me)===62)return Ke.charCodeAt(Me+1)===62?Ke.charCodeAt(Me+2)===61?(Me+=3,de=72):(Me+=2,de=49):Ke.charCodeAt(Me+1)===61?(Me+=2,de=71):(Me++,de=48);if(Ke.charCodeAt(Me)===61)return Me++,de=33}return de}function me(){return e.Debug.assert(de===66,\"'reScanAsteriskEqualsToken' should only be called on a '*='\"),Me=gr+1,de=63}function Ze(){if(de===43||de===68){for(var St=gr+1,Ut=!1,qt=!1;;){if(St>=Hr){$e|=4,pr(e.Diagnostics.Unterminated_regular_expression_literal);break}var Mn=Ke.charCodeAt(St);if(y(Mn)){$e|=4,pr(e.Diagnostics.Unterminated_regular_expression_literal);break}if(Ut)Ut=!1;else if(Mn===47&&!qt){St++;break}else Mn===91?qt=!0:Mn===92?Ut=!0:Mn===93&&(qt=!1);St++}for(;St<Hr&&he(Ke.charCodeAt(St),Ae);)St++;Me=St,Fe=Ke.substring(gr,Me),de=13}return de}function Cr(St,Ut,qt,Mn){var dn=fr(e.trimStringStart(Ut),qt);return dn===void 0?St:e.append(St,{range:{pos:Mn,end:Me},type:dn})}function fr(St,Ut){var qt=Ut.exec(St);if(!!qt)switch(qt[1]){case\"ts-expect-error\":return 0;case\"ts-ignore\":return 1}}function dr(St){return e.Debug.assert(de===19,\"'reScanTemplateToken' should only be called on a '}'\"),Me=gr,de=bn(St)}function et(){return Me=gr,de=bn(!0)}function yt(St){return St===void 0&&(St=!0),Me=gr=ur,de=Nr(St)}function Vr(){return de===47?(Me=gr+1,de=29):de}function tr(){return de===80?(Me=gr+1,de=62):de}function xr(){return e.Debug.assert(de===60,\"'reScanQuestionToken' should only be called on a '??'\"),Me=gr+1,de=57}function Nr(St){if(St===void 0&&(St=!0),ur=gr=Me,Me>=Hr)return de=1;var Ut=Ke.charCodeAt(Me);if(Ut===60)return Ke.charCodeAt(Me+1)===47?(Me+=2,de=30):(Me++,de=29);if(Ut===123)return Me++,de=18;for(var qt=0;Me<Hr&&(Ut=Ke.charCodeAt(Me),Ut!==123);){if(Ut===60){if(ue(Ke,Me))return Me=X(Ke,Me,pr),de=7;break}if(Ut===62&&pr(e.Diagnostics.Unexpected_token_Did_you_mean_or_gt,Me,1),Ut===125&&pr(e.Diagnostics.Unexpected_token_Did_you_mean_or_rbrace,Me,1),y(Ut)&&qt===0)qt=-1;else{if(!St&&y(Ut)&&qt>0)break;T(Ut)||(qt=Me)}Me++}return Fe=Ke.substring(ur,Me),qt===-1?12:11}function zr(){if(f(de)){for(var St=!1;Me<Hr;){var Ut=Ke.charCodeAt(Me);if(Ut===45){Fe+=\"-\",Me++;continue}else if(Ut===58&&!St){Fe+=\":\",Me++,St=!0,de=79;continue}var qt=Me;if(Fe+=ye(),Me===qt)break}Fe.slice(-1)===\":\"&&(Fe=Fe.slice(0,-1),Me--)}return de}function gt(){switch(ur=Me,Ke.charCodeAt(Me)){case 34:case 39:return Fe=cn(!0),de=10;default:return Ee()}}function vt(){return Me=gr=ur,gt()}function ut(){if(ur=gr=Me,$e=0,Me>=Hr)return de=1;var St=_e(Ke,Me);switch(Me+=Le(St),St){case 9:case 11:case 12:case 32:for(;Me<Hr&&N(Ke.charCodeAt(Me));)Me++;return de=5;case 64:return de=59;case 13:Ke.charCodeAt(Me)===10&&Me++;case 10:return $e|=1,de=4;case 42:return de=41;case 123:return de=18;case 125:return de=19;case 91:return de=22;case 93:return de=23;case 60:return de=29;case 62:return de=31;case 61:return de=63;case 44:return de=27;case 46:return de=24;case 96:return de=61;case 35:return de=62;case 92:Me--;var Ut=sr();if(Ut>=0&&Ge(Ut,Ae))return Me+=3,$e|=8,Fe=ir()+ye(),de=or();var qt=Or();return qt>=0&&Ge(qt,Ae)?(Me+=6,$e|=1024,Fe=String.fromCharCode(qt)+ye(),de=or()):(Me++,de=0)}if(Ge(St,Ae)){for(var Mn=St;Me<Hr&&he(Mn=_e(Ke,Me),Ae)||Ke.charCodeAt(Me)===45;)Me+=Le(Mn);return Fe=Ke.substring(gr,Me),Mn===92&&(Fe+=ye()),de=or()}else return de=0}function ht(St,Ut){var qt=Me,Mn=ur,dn=gr,oa=de,pt=Fe,_t=$e,Mt=St();return(!Mt||Ut)&&(Me=qt,ur=Mn,gr=dn,de=oa,Fe=pt,$e=_t),Mt}function xt(St,Ut,qt){var Mn=Hr,dn=Me,oa=ur,pt=gr,_t=de,Mt=Fe,It=$e,rt=Sr;sa(Ke,St,Ut);var Cn=qt();return Hr=Mn,Me=dn,ur=oa,gr=pt,de=_t,Fe=Mt,$e=It,Sr=rt,Cn}function wt(St){return ht(St,!0)}function Qt(St){return ht(St,!1)}function mt(){return Ke}function rn(){Sr=void 0}function sa(St,Ut,qt){Ke=St||\"\",Hr=qt===void 0?Ke.length:Ut+qt,Wn(Ut||0)}function ba(St){lr=St}function Jn(St){Ae=St}function na(St){Dr=St}function Wn(St){e.Debug.assert(St>=0),Me=St,ur=St,gr=St,de=0,Fe=void 0,$e=0}function en(St){Pr+=St?1:-1}}e.createScanner=Ve;var _e=String.prototype.codePointAt?function(Ae,Ye){return Ae.codePointAt(Ye)}:function(Ye,Dr){var br=Ye.length;if(!(Dr<0||Dr>=br)){var lr=Ye.charCodeAt(Dr);if(lr>=55296&&lr<=56319&&br>Dr+1){var Ar=Ye.charCodeAt(Dr+1);if(Ar>=56320&&Ar<=57343)return(lr-55296)*1024+Ar-56320+65536}return lr}};function Le(Ae){return Ae>=65536?2:1}function qe(Ae){if(e.Debug.assert(0<=Ae&&Ae<=1114111),Ae<=65535)return String.fromCharCode(Ae);var Ye=Math.floor((Ae-65536)/1024)+55296,Dr=(Ae-65536)%1024+56320;return String.fromCharCode(Ye,Dr)}var Xe=String.fromCodePoint?function(Ae){return String.fromCodePoint(Ae)}:qe;function De(Ae){return Xe(Ae)}e.utf16EncodeAsString=De}(jr||(jr={})),function(e){function n(Re){return e.pathIsRelative(Re)||e.isRootedDiskPath(Re)}e.isExternalModuleNameRelative=n;function f(Re){return e.sortAndDeduplicate(Re,e.compareDiagnostics)}e.sortAndDeduplicateDiagnostics=f;function p(Re){switch(e.getEmitScriptTarget(Re)){case 99:return\"lib.esnext.full.d.ts\";case 8:return\"lib.es2021.full.d.ts\";case 7:return\"lib.es2020.full.d.ts\";case 6:return\"lib.es2019.full.d.ts\";case 5:return\"lib.es2018.full.d.ts\";case 4:return\"lib.es2017.full.d.ts\";case 3:return\"lib.es2016.full.d.ts\";case 2:return\"lib.es6.d.ts\";default:return\"lib.d.ts\"}}e.getDefaultLibFileName=p;function a(Re){return Re.start+Re.length}e.textSpanEnd=a;function d(Re){return Re.length===0}e.textSpanIsEmpty=d;function k(Re,Qr){return Qr>=Re.start&&Qr<a(Re)}e.textSpanContainsPosition=k;function J(Re,Qr){return Qr>=Re.pos&&Qr<=Re.end}e.textRangeContainsPositionInclusive=J;function h(Re,Qr){return Qr.start>=Re.start&&a(Qr)<=a(Re)}e.textSpanContainsTextSpan=h;function v(Re,Qr){return A(Re,Qr)!==void 0}e.textSpanOverlapsWith=v;function A(Re,Qr){var vn=S(Re,Qr);return vn&&vn.length===0?void 0:vn}e.textSpanOverlap=A;function z(Re,Qr){return b(Re.start,Re.length,Qr.start,Qr.length)}e.textSpanIntersectsWithTextSpan=z;function ie(Re,Qr,vn){return b(Re.start,Re.length,Qr,vn)}e.textSpanIntersectsWith=ie;function b(Re,Qr,vn,Xn){var gi=Re+Qr,Ia=vn+Xn;return vn<=gi&&Ia>=Re}e.decodedTextSpanIntersectsWith=b;function M(Re,Qr){return Qr<=a(Re)&&Qr>=Re.start}e.textSpanIntersectsWithPosition=M;function S(Re,Qr){var vn=Math.max(Re.start,Qr.start),Xn=Math.min(a(Re),a(Qr));return vn<=Xn?H(vn,Xn):void 0}e.textSpanIntersection=S;function B(Re,Qr){if(Re<0)throw new Error(\"start < 0\");if(Qr<0)throw new Error(\"length < 0\");return{start:Re,length:Qr}}e.createTextSpan=B;function H(Re,Qr){return B(Re,Qr-Re)}e.createTextSpanFromBounds=H;function I(Re){return B(Re.span.start,Re.newLength)}e.textChangeRangeNewSpan=I;function w(Re){return d(Re.span)&&Re.newLength===0}e.textChangeRangeIsUnchanged=w;function x(Re,Qr){if(Qr<0)throw new Error(\"newLength < 0\");return{span:Re,newLength:Qr}}e.createTextChangeRange=x,e.unchangedTextChangeRange=x(B(0,0),0);function O(Re){if(Re.length===0)return e.unchangedTextChangeRange;if(Re.length===1)return Re[0];for(var Qr=Re[0],vn=Qr.span.start,Xn=a(Qr.span),gi=vn+Qr.newLength,Ia=1;Ia<Re.length;Ia++){var oo=Re[Ia],Wo=vn,Ir=Xn,Us=gi,il=oo.span.start,Ml=a(oo.span),Co=il+oo.newLength;vn=Math.min(Wo,il),Xn=Math.max(Ir,Ir+(Ml-Us)),gi=Math.max(Co,Co+(Us-Ml))}return x(H(vn,Xn),gi-vn)}e.collapseTextChangeRangesAcrossMultipleVersions=O;function q(Re){if(Re&&Re.kind===162){for(var Qr=Re;Qr;Qr=Qr.parent)if(na(Qr)||oa(Qr)||Qr.kind===257)return Qr}}e.getTypeParameterOwner=q;function Z(Re,Qr){return e.hasSyntacticModifier(Re,16476)&&Qr.kind===170}e.isParameterPropertyDeclaration=Z;function ne(Re){return Ra(Re)?e.every(Re.elements,F):!1}e.isEmptyBindingPattern=ne;function F(Re){return e.isOmittedExpression(Re)?!0:ne(Re.name)}e.isEmptyBindingElement=F;function Q(Re){for(var Qr=Re.parent;e.isBindingElement(Qr.parent);)Qr=Qr.parent.parent;return Qr.parent}e.walkUpBindingElementsAndPatterns=Q;function V(Re,Qr){e.isBindingElement(Re)&&(Re=Q(Re));var vn=Qr(Re);return Re.kind===253&&(Re=Re.parent),Re&&Re.kind===254&&(vn|=Qr(Re),Re=Re.parent),Re&&Re.kind===236&&(vn|=Qr(Re)),vn}function re(Re){return V(Re,e.getEffectiveModifierFlags)}e.getCombinedModifierFlags=re;function T(Re){return V(Re,e.getEffectiveModifierFlagsAlwaysIncludeJSDoc)}e.getCombinedNodeFlagsAlwaysIncludeJSDoc=T;function N(Re){return V(Re,function(Qr){return Qr.flags})}e.getCombinedNodeFlags=N,e.supportedLocaleDirectories=[\"cs\",\"de\",\"es\",\"fr\",\"it\",\"ja\",\"ko\",\"pl\",\"pt-br\",\"ru\",\"tr\",\"zh-cn\",\"zh-tw\"];function y(Re,Qr,vn){var Xn=Re.toLowerCase(),gi=/^([a-z]+)([_\\-]([a-z]+))?$/.exec(Xn);if(!gi){vn&&vn.push(e.createCompilerDiagnostic(e.Diagnostics.Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1,\"en\",\"ja-jp\"));return}var Ia=gi[1],oo=gi[3];e.contains(e.supportedLocaleDirectories,Xn)&&!Wo(Ia,oo,vn)&&Wo(Ia,void 0,vn),e.setUILocale(Re);function Wo(Ir,Us,il){var Ml=e.normalizePath(Qr.getExecutingFilePath()),Co=e.getDirectoryPath(Ml),Vs=e.combinePaths(Co,Ir);if(Us&&(Vs=Vs+\"-\"+Us),Vs=Qr.resolvePath(e.combinePaths(Vs,\"diagnosticMessages.generated.json\")),!Qr.fileExists(Vs))return!1;var Ql=\"\";try{Ql=Qr.readFile(Vs)}catch{return il&&il.push(e.createCompilerDiagnostic(e.Diagnostics.Unable_to_open_file_0,Vs)),!1}try{e.setLocalizedDiagnosticMessages(JSON.parse(Ql))}catch{return il&&il.push(e.createCompilerDiagnostic(e.Diagnostics.Corrupted_locale_file_0,Vs)),!1}return!0}}e.validateLocaleAndSetLanguage=y;function D(Re,Qr){if(Re)for(;Re.original!==void 0;)Re=Re.original;return!Qr||Qr(Re)?Re:void 0}e.getOriginalNode=D;function C(Re,Qr){for(;Re;){var vn=Qr(Re);if(vn===\"quit\")return;if(vn)return Re;Re=Re.parent}}e.findAncestor=C;function m(Re){return(Re.flags&8)===0}e.isParseTreeNode=m;function u(Re,Qr){if(Re===void 0||m(Re))return Re;for(Re=Re.original;Re;){if(m(Re))return!Qr||Qr(Re)?Re:void 0;Re=Re.original}}e.getParseTreeNode=u;function g(Re){return Re.length>=2&&Re.charCodeAt(0)===95&&Re.charCodeAt(1)===95?\"_\"+Re:Re}e.escapeLeadingUnderscores=g;function P(Re){var Qr=Re;return Qr.length>=3&&Qr.charCodeAt(0)===95&&Qr.charCodeAt(1)===95&&Qr.charCodeAt(2)===95?Qr.substr(1):Qr}e.unescapeLeadingUnderscores=P;function te(Re){return P(Re.escapedText)}e.idText=te;function ue(Re){return Re.valueDeclaration&&ht(Re.valueDeclaration)?te(Re.valueDeclaration.name):P(Re.escapedName)}e.symbolName=ue;function X(Re){var Qr=Re.parent.parent;if(!!Qr){if(Dt(Qr))return j(Qr);switch(Qr.kind){case 236:if(Qr.declarationList&&Qr.declarationList.declarations[0])return j(Qr.declarationList.declarations[0]);break;case 237:var vn=Qr.expression;switch(vn.kind===220&&vn.operatorToken.kind===63&&(vn=vn.left),vn.kind){case 205:return vn.name;case 206:var Xn=vn.argumentExpression;if(e.isIdentifier(Xn))return Xn}break;case 211:return j(Qr.expression);case 249:{if(Dt(Qr.statement)||za(Qr.statement))return j(Qr.statement);break}}}}function j(Re){var Qr=U(Re);return Qr&&e.isIdentifier(Qr)?Qr:void 0}function Se(Re,Qr){return!!(R(Re)&&e.isIdentifier(Re.name)&&te(Re.name)===te(Qr)||e.isVariableStatement(Re)&&e.some(Re.declarationList.declarations,function(vn){return Se(vn,Qr)}))}e.nodeHasName=Se;function Ce(Re){return Re.name||X(Re)}e.getNameOfJSDocTypedef=Ce;function R(Re){return!!Re.name}e.isNamedDeclaration=R;function Y(Re){switch(Re.kind){case 79:return Re;case 345:case 338:{var Qr=Re.name;if(Qr.kind===160)return Qr.right;break}case 207:case 220:{var vn=Re;switch(e.getAssignmentDeclarationKind(vn)){case 1:case 4:case 5:case 3:return e.getElementOrPropertyAccessArgumentExpressionOrName(vn.left);case 7:case 8:case 9:return vn.arguments[1];default:return}}case 343:return Ce(Re);case 337:return X(Re);case 270:{var Xn=Re.expression;return e.isIdentifier(Xn)?Xn:void 0}case 206:var gi=Re;if(e.isBindableStaticElementAccessExpression(gi))return gi.argumentExpression}return Re.name}e.getNonAssignedNameOfDeclaration=Y;function U(Re){if(Re!==void 0)return Y(Re)||(e.isFunctionExpression(Re)||e.isArrowFunction(Re)||e.isClassExpression(Re)?K(Re):void 0)}e.getNameOfDeclaration=U;function K(Re){if(Re.parent){if(e.isPropertyAssignment(Re.parent)||e.isBindingElement(Re.parent))return Re.parent.name;if(e.isBinaryExpression(Re.parent)&&Re===Re.parent.right){if(e.isIdentifier(Re.parent.left))return Re.parent.left;if(e.isAccessExpression(Re.parent.left))return e.getElementOrPropertyAccessArgumentExpressionOrName(Re.parent.left)}else if(e.isVariableDeclaration(Re.parent)&&e.isIdentifier(Re.parent.name))return Re.parent.name}else return}e.getAssignedName=K;function Te(Re,Qr){if(Re.name)if(e.isIdentifier(Re.name)){var vn=Re.name.escapedText;return $e(Re.parent,Qr).filter(function(Ia){return e.isJSDocParameterTag(Ia)&&e.isIdentifier(Ia.name)&&Ia.name.escapedText===vn})}else{var Xn=Re.parent.parameters.indexOf(Re);e.Debug.assert(Xn>-1,\"Parameters should always be in their parents' parameter list\");var gi=$e(Re.parent,Qr).filter(e.isJSDocParameterTag);if(Xn<gi.length)return[gi[Xn]]}return e.emptyArray}function ge(Re){return Te(Re,!1)}e.getJSDocParameterTags=ge;function ke(Re){return Te(Re,!0)}e.getJSDocParameterTagsNoCache=ke;function Pe(Re,Qr){var vn=Re.name.escapedText;return $e(Re.parent,Qr).filter(function(Xn){return e.isJSDocTemplateTag(Xn)&&Xn.typeParameters.some(function(gi){return gi.name.escapedText===vn})})}function Ie(Re){return Pe(Re,!1)}e.getJSDocTypeParameterTags=Ie;function Ge(Re){return Pe(Re,!0)}e.getJSDocTypeParameterTagsNoCache=Ge;function he(Re){return!!He(Re,e.isJSDocParameterTag)}e.hasJSDocParameterTags=he;function ve(Re){return He(Re,e.isJSDocAugmentsTag)}e.getJSDocAugmentsTag=ve;function Ve(Re){return pr(Re,e.isJSDocImplementsTag)}e.getJSDocImplementsTags=Ve;function _e(Re){return He(Re,e.isJSDocClassTag)}e.getJSDocClassTag=_e;function Le(Re){return He(Re,e.isJSDocPublicTag)}e.getJSDocPublicTag=Le;function qe(Re){return He(Re,e.isJSDocPublicTag,!0)}e.getJSDocPublicTagNoCache=qe;function Xe(Re){return He(Re,e.isJSDocPrivateTag)}e.getJSDocPrivateTag=Xe;function De(Re){return He(Re,e.isJSDocPrivateTag,!0)}e.getJSDocPrivateTagNoCache=De;function Ae(Re){return He(Re,e.isJSDocProtectedTag)}e.getJSDocProtectedTag=Ae;function Ye(Re){return He(Re,e.isJSDocProtectedTag,!0)}e.getJSDocProtectedTagNoCache=Ye;function Dr(Re){return He(Re,e.isJSDocReadonlyTag)}e.getJSDocReadonlyTag=Dr;function br(Re){return He(Re,e.isJSDocReadonlyTag,!0)}e.getJSDocReadonlyTagNoCache=br;function lr(Re){return He(Re,e.isJSDocOverrideTag,!0)}e.getJSDocOverrideTagNoCache=lr;function Ar(Re){return He(Re,e.isJSDocDeprecatedTag)}e.getJSDocDeprecatedTag=Ar;function kr(Re){return He(Re,e.isJSDocDeprecatedTag,!0)}e.getJSDocDeprecatedTagNoCache=kr;function Ke(Re){return He(Re,e.isJSDocEnumTag)}e.getJSDocEnumTag=Ke;function Me(Re){return He(Re,e.isJSDocThisTag)}e.getJSDocThisTag=Me;function Hr(Re){return He(Re,e.isJSDocReturnTag)}e.getJSDocReturnTag=Hr;function ur(Re){return He(Re,e.isJSDocTemplateTag)}e.getJSDocTemplateTag=ur;function gr(Re){var Qr=He(Re,e.isJSDocTypeTag);if(Qr&&Qr.typeExpression&&Qr.typeExpression.type)return Qr}e.getJSDocTypeTag=gr;function de(Re){var Qr=He(Re,e.isJSDocTypeTag);return!Qr&&e.isParameter(Re)&&(Qr=e.find(ge(Re),function(vn){return!!vn.typeExpression})),Qr&&Qr.typeExpression&&Qr.typeExpression.type}e.getJSDocType=de;function Fe(Re){var Qr=Hr(Re);if(Qr&&Qr.typeExpression)return Qr.typeExpression.type;var vn=gr(Re);if(vn&&vn.typeExpression){var Xn=vn.typeExpression.type;if(e.isTypeLiteralNode(Xn)){var gi=e.find(Xn.members,e.isCallSignatureDeclaration);return gi&&gi.type}if(e.isFunctionTypeNode(Xn)||e.isJSDocFunctionType(Xn))return Xn.type}}e.getJSDocReturnType=Fe;function $e(Re,Qr){var vn=Re.jsDocCache;if(vn===void 0||Qr){var Xn=e.getJSDocCommentsAndTags(Re,Qr);e.Debug.assert(Xn.length<2||Xn[0]!==Xn[1]),vn=e.flatMap(Xn,function(gi){return e.isJSDoc(gi)?gi.tags:gi}),Qr||(Re.jsDocCache=vn)}return vn}function Sr(Re){return $e(Re,!1)}e.getJSDocTags=Sr;function Pr(Re){return $e(Re,!0)}e.getJSDocTagsNoCache=Pr;function He(Re,Qr,vn){return e.find($e(Re,vn),Qr)}function pr(Re,Qr){return Sr(Re).filter(Qr)}e.getAllJSDocTags=pr;function Jr(Re,Qr){return Sr(Re).filter(function(vn){return vn.kind===Qr})}e.getAllJSDocTagsOfKind=Jr;function ze(Re){return typeof Re==\"string\"?Re:Re==null?void 0:Re.map(function(Qr){return Qr.kind===319?Qr.text:\"{@link \".concat(Qr.name?e.entityNameToString(Qr.name)+\" \":\"\").concat(Qr.text,\"}\")}).join(\"\")}e.getTextOfJSDocComment=ze;function Lr(Re){if(e.isJSDocSignature(Re))return e.emptyArray;if(e.isJSDocTypeAlias(Re))return e.Debug.assert(Re.parent.kind===318),e.flatMap(Re.parent.tags,function(Xn){return e.isJSDocTemplateTag(Xn)?Xn.typeParameters:void 0});if(Re.typeParameters)return Re.typeParameters;if(e.isInJSFile(Re)){var Qr=e.getJSDocTypeParameterDeclarations(Re);if(Qr.length)return Qr;var vn=de(Re);if(vn&&e.isFunctionTypeNode(vn)&&vn.typeParameters)return vn.typeParameters}return e.emptyArray}e.getEffectiveTypeParameterDeclarations=Lr;function Yr(Re){return Re.constraint?Re.constraint:e.isJSDocTemplateTag(Re.parent)&&Re===Re.parent.typeParameters[0]?Re.parent.constraint:void 0}e.getEffectiveConstraintOfTypeParameter=Yr;function lt(Re){return Re.kind===79||Re.kind===80}e.isMemberName=lt;function tt(Re){return Re.kind===172||Re.kind===171}e.isGetOrSetAccessorDeclaration=tt;function Rt(Re){return e.isPropertyAccessExpression(Re)&&!!(Re.flags&32)}e.isPropertyAccessChain=Rt;function cn(Re){return e.isElementAccessExpression(Re)&&!!(Re.flags&32)}e.isElementAccessChain=cn;function bn(Re){return e.isCallExpression(Re)&&!!(Re.flags&32)}e.isCallChain=bn;function In(Re){var Qr=Re.kind;return!!(Re.flags&32)&&(Qr===205||Qr===206||Qr===207||Qr===229)}e.isOptionalChain=In;function zn(Re){return In(Re)&&!e.isNonNullExpression(Re)&&!!Re.questionDotToken}e.isOptionalChainRoot=zn;function ir(Re){return zn(Re.parent)&&Re.parent.expression===Re}e.isExpressionOfOptionalChainRoot=ir;function Or(Re){return!In(Re.parent)||zn(Re.parent)||Re!==Re.parent.expression}e.isOutermostOptionalChain=Or;function sr(Re){return Re.kind===220&&Re.operatorToken.kind===60}e.isNullishCoalesce=sr;function ye(Re){return e.isTypeReferenceNode(Re)&&e.isIdentifier(Re.typeName)&&Re.typeName.escapedText===\"const\"&&!Re.typeArguments}e.isConstTypeReference=ye;function or(Re){return e.skipOuterExpressions(Re,8)}e.skipPartiallyEmittedExpressions=or;function fe(Re){return e.isNonNullExpression(Re)&&!!(Re.flags&32)}e.isNonNullChain=fe;function je(Re){return Re.kind===245||Re.kind===244}e.isBreakOrContinueStatement=je;function Ee(Re){return Re.kind===273||Re.kind===272}e.isNamedExportBindings=Ee;function We(Re){switch(Re.kind){case 300:case 301:return!0;default:return!1}}e.isUnparsedTextLike=We;function $(Re){return We(Re)||Re.kind===298||Re.kind===302}e.isUnparsedNode=$;function Ne(Re){return Re.kind===345||Re.kind===338}e.isJSDocPropertyLikeTag=Ne;function me(Re){return Ze(Re.kind)}e.isNode=me;function Ze(Re){return Re>=160}e.isNodeKind=Ze;function Cr(Re){return Re>=0&&Re<=159}e.isTokenKind=Cr;function fr(Re){return Cr(Re.kind)}e.isToken=fr;function dr(Re){return Re.hasOwnProperty(\"pos\")&&Re.hasOwnProperty(\"end\")}e.isNodeArray=dr;function et(Re){return 8<=Re&&Re<=14}e.isLiteralKind=et;function yt(Re){return et(Re.kind)}e.isLiteralExpression=yt;function Vr(Re){return 14<=Re&&Re<=17}e.isTemplateLiteralKind=Vr;function tr(Re){return Vr(Re.kind)}e.isTemplateLiteralToken=tr;function xr(Re){var Qr=Re.kind;return Qr===16||Qr===17}e.isTemplateMiddleOrTemplateTail=xr;function Nr(Re){return e.isImportSpecifier(Re)||e.isExportSpecifier(Re)}e.isImportOrExportSpecifier=Nr;function zr(Re){switch(Re.kind){case 269:case 274:return Re.isTypeOnly||Re.parent.parent.isTypeOnly;case 267:return Re.parent.isTypeOnly;case 266:case 264:return Re.isTypeOnly;default:return!1}}e.isTypeOnlyImportOrExportDeclaration=zr;function gt(Re){return e.isStringLiteral(Re)||e.isIdentifier(Re)}e.isAssertionKey=gt;function vt(Re){return Re.kind===10||Vr(Re.kind)}e.isStringTextContainingNode=vt;function ut(Re){return e.isIdentifier(Re)&&(Re.autoGenerateFlags&7)>0}e.isGeneratedIdentifier=ut;function ht(Re){return(e.isPropertyDeclaration(Re)||_t(Re))&&e.isPrivateIdentifier(Re.name)}e.isPrivateIdentifierClassElementDeclaration=ht;function xt(Re){return e.isPropertyAccessExpression(Re)&&e.isPrivateIdentifier(Re.name)}e.isPrivateIdentifierPropertyAccessExpression=xt;function wt(Re){switch(Re){case 126:case 131:case 85:case 135:case 88:case 93:case 123:case 121:case 122:case 144:case 124:case 158:return!0}return!1}e.isModifierKind=wt;function Qt(Re){return!!(e.modifierToFlag(Re)&16476)}e.isParameterPropertyModifier=Qt;function mt(Re){return Qt(Re)||Re===124||Re===158}e.isClassMemberModifier=mt;function rn(Re){return wt(Re.kind)}e.isModifier=rn;function sa(Re){var Qr=Re.kind;return Qr===160||Qr===79}e.isEntityName=sa;function ba(Re){var Qr=Re.kind;return Qr===79||Qr===80||Qr===10||Qr===8||Qr===161}e.isPropertyName=ba;function Jn(Re){var Qr=Re.kind;return Qr===79||Qr===200||Qr===201}e.isBindingName=Jn;function na(Re){return!!Re&&qt(Re.kind)}e.isFunctionLike=na;function Wn(Re){return!!Re&&(qt(Re.kind)||e.isClassStaticBlockDeclaration(Re))}e.isFunctionLikeOrClassStaticBlockDeclaration=Wn;function en(Re){return Re&&Ut(Re.kind)}e.isFunctionLikeDeclaration=en;function St(Re){return Re.kind===110||Re.kind===95}e.isBooleanLiteral=St;function Ut(Re){switch(Re){case 255:case 168:case 170:case 171:case 172:case 212:case 213:return!0;default:return!1}}function qt(Re){switch(Re){case 167:case 173:case 321:case 174:case 175:case 178:case 315:case 179:return!0;default:return Ut(Re)}}e.isFunctionLikeKind=qt;function Mn(Re){return e.isSourceFile(Re)||e.isModuleBlock(Re)||e.isBlock(Re)&&na(Re.parent)}e.isFunctionOrModuleBlock=Mn;function dn(Re){var Qr=Re.kind;return Qr===170||Qr===166||Qr===168||Qr===171||Qr===172||Qr===175||Qr===169||Qr===233}e.isClassElement=dn;function oa(Re){return Re&&(Re.kind===256||Re.kind===225)}e.isClassLike=oa;function pt(Re){return Re&&(Re.kind===171||Re.kind===172)}e.isAccessor=pt;function _t(Re){switch(Re.kind){case 168:case 171:case 172:return!0;default:return!1}}e.isMethodOrAccessor=_t;function Mt(Re){var Qr=Re.kind;return Qr===174||Qr===173||Qr===165||Qr===167||Qr===175}e.isTypeElement=Mt;function It(Re){return Mt(Re)||dn(Re)}e.isClassOrTypeElement=It;function rt(Re){var Qr=Re.kind;return Qr===294||Qr===295||Qr===296||Qr===168||Qr===171||Qr===172}e.isObjectLiteralElementLike=rt;function Cn(Re){return e.isTypeNodeKind(Re.kind)}e.isTypeNode=Cn;function Qn(Re){switch(Re.kind){case 178:case 179:return!0}return!1}e.isFunctionOrConstructorTypeNode=Qn;function Ra(Re){if(Re){var Qr=Re.kind;return Qr===201||Qr===200}return!1}e.isBindingPattern=Ra;function Ci(Re){var Qr=Re.kind;return Qr===203||Qr===204}e.isAssignmentPattern=Ci;function _i(Re){var Qr=Re.kind;return Qr===202||Qr===226}e.isArrayBindingElement=_i;function va(Re){switch(Re.kind){case 253:case 163:case 202:return!0}return!1}e.isDeclarationBindingElement=va;function yi(Re){return ro(Re)||Mi(Re)}e.isBindingOrAssignmentPattern=yi;function ro(Re){switch(Re.kind){case 200:case 204:return!0}return!1}e.isObjectBindingOrAssignmentPattern=ro;function Ka(Re){switch(Re.kind){case 202:case 294:case 295:case 296:return!0}return!1}e.isObjectBindingOrAssignmentElement=Ka;function Mi(Re){switch(Re.kind){case 201:case 203:return!0}return!1}e.isArrayBindingOrAssignmentPattern=Mi;function io(Re){var Qr=Re.kind;return Qr===205||Qr===160||Qr===199}e.isPropertyAccessOrQualifiedNameOrImportTypeNode=io;function ji(Re){var Qr=Re.kind;return Qr===205||Qr===160}e.isPropertyAccessOrQualifiedName=ji;function Hi(Re){switch(Re.kind){case 279:case 278:case 207:case 208:case 209:case 164:return!0;default:return!1}}e.isCallLikeExpression=Hi;function to(Re){return Re.kind===207||Re.kind===208}e.isCallOrNewExpression=to;function No(Re){var Qr=Re.kind;return Qr===222||Qr===14}e.isTemplateLiteral=No;function lo(Re){return Lo(or(Re).kind)}e.isLeftHandSideExpression=lo;function Lo(Re){switch(Re){case 205:case 206:case 208:case 207:case 277:case 278:case 281:case 209:case 203:case 211:case 204:case 225:case 212:case 79:case 80:case 13:case 8:case 9:case 10:case 14:case 222:case 95:case 104:case 108:case 110:case 106:case 229:case 230:case 100:return!0;default:return!1}}function Ha(Re){return Yo(or(Re).kind)}e.isUnaryExpression=Ha;function Yo(Re){switch(Re){case 218:case 219:case 214:case 215:case 216:case 217:case 210:return!0;default:return Lo(Re)}}function co(Re){switch(Re.kind){case 219:return!0;case 218:return Re.operator===45||Re.operator===46;default:return!1}}e.isUnaryExpressionWithWrite=co;function za(Re){return hi(or(Re).kind)}e.isExpression=za;function hi(Re){switch(Re){case 221:case 223:case 213:case 220:case 224:case 228:case 226:case 349:case 348:return!0;default:return Yo(Re)}}function Zi(Re){var Qr=Re.kind;return Qr===210||Qr===228}e.isAssertionExpression=Zi;function Mo(Re){return e.isNotEmittedStatement(Re)||e.isPartiallyEmittedExpression(Re)}e.isNotEmittedOrPartiallyEmittedNode=Mo;function Po(Re,Qr){switch(Re.kind){case 241:case 242:case 243:case 239:case 240:return!0;case 249:return Qr&&Po(Re.statement,Qr)}return!1}e.isIterationStatement=Po;function Fo(Re){return e.isExportAssignment(Re)||e.isExportDeclaration(Re)}e.isScopeMarker=Fo;function zo(Re){return e.some(Re,Fo)}e.hasScopeMarker=zo;function Es(Re){return!e.isAnyImportOrReExport(Re)&&!e.isExportAssignment(Re)&&!e.hasSyntacticModifier(Re,1)&&!e.isAmbientModule(Re)}e.needsScopeMarker=Es;function Cs(Re){return e.isAnyImportOrReExport(Re)||e.isExportAssignment(Re)||e.hasSyntacticModifier(Re,1)}e.isExternalModuleIndicator=Cs;function hr(Re){return Re.kind===242||Re.kind===243}e.isForInOrOfStatement=hr;function dt(Re){return e.isBlock(Re)||za(Re)}e.isConciseBody=dt;function tn(Re){return e.isBlock(Re)}e.isFunctionBody=tn;function Un(Re){return e.isVariableDeclarationList(Re)||za(Re)}e.isForInitializer=Un;function Oe(Re){var Qr=Re.kind;return Qr===261||Qr===260||Qr===79}e.isModuleBody=Oe;function oe(Re){var Qr=Re.kind;return Qr===261||Qr===260}e.isNamespaceBody=oe;function mr(Re){var Qr=Re.kind;return Qr===79||Qr===260}e.isJSDocNamespaceBody=mr;function se(Re){var Qr=Re.kind;return Qr===268||Qr===267}e.isNamedImportBindings=se;function Be(Re){return Re.kind===260||Re.kind===259}e.isModuleOrEnumDeclaration=Be;function er(Re){return Re===213||Re===202||Re===256||Re===225||Re===169||Re===170||Re===259||Re===297||Re===274||Re===255||Re===212||Re===171||Re===266||Re===264||Re===269||Re===257||Re===284||Re===168||Re===167||Re===260||Re===263||Re===267||Re===273||Re===163||Re===294||Re===166||Re===165||Re===172||Re===295||Re===258||Re===162||Re===253||Re===343||Re===336||Re===345}function vr(Re){return Re===255||Re===275||Re===256||Re===257||Re===258||Re===259||Re===260||Re===265||Re===264||Re===271||Re===270||Re===263}function qr(Re){return Re===245||Re===244||Re===252||Re===239||Re===237||Re===235||Re===242||Re===243||Re===241||Re===238||Re===249||Re===246||Re===248||Re===250||Re===251||Re===236||Re===240||Re===247||Re===347||Re===351||Re===350}function Dt(Re){return Re.kind===162?Re.parent&&Re.parent.kind!==342||e.isInJSFile(Re):er(Re.kind)}e.isDeclaration=Dt;function Jt(Re){return vr(Re.kind)}e.isDeclarationStatement=Jt;function Sn(Re){return qr(Re.kind)}e.isStatementButNotDeclaration=Sn;function ta(Re){var Qr=Re.kind;return qr(Qr)||vr(Qr)||xa(Re)}e.isStatement=ta;function xa(Re){return Re.kind!==234||Re.parent!==void 0&&(Re.parent.kind===251||Re.parent.kind===291)?!1:!e.isFunctionBlock(Re)}function Di(Re){var Qr=Re.kind;return qr(Qr)||vr(Qr)||Qr===234}e.isStatementOrBlock=Di;function $a(Re){var Qr=Re.kind;return Qr===276||Qr===160||Qr===79}e.isModuleReference=$a;function Ji(Re){var Qr=Re.kind;return Qr===108||Qr===79||Qr===205}e.isJsxTagNameExpression=Ji;function So(Re){var Qr=Re.kind;return Qr===277||Qr===287||Qr===278||Qr===11||Qr===281}e.isJsxChild=So;function cs(Re){var Qr=Re.kind;return Qr===284||Qr===286}e.isJsxAttributeLike=cs;function bt(Re){var Qr=Re.kind;return Qr===10||Qr===287}e.isStringLiteralOrJsxExpression=bt;function Pn(Re){var Qr=Re.kind;return Qr===279||Qr===278}e.isJsxOpeningLikeElement=Pn;function da(Re){var Qr=Re.kind;return Qr===288||Qr===289}e.isCaseOrDefaultClause=da;function ei(Re){return Re.kind>=307&&Re.kind<=345}e.isJSDocNode=ei;function bi(Re){return Re.kind===318||Re.kind===317||Re.kind===319||Zt(Re)||xi(Re)||e.isJSDocTypeLiteral(Re)||e.isJSDocSignature(Re)}e.isJSDocCommentContainingNode=bi;function xi(Re){return Re.kind>=325&&Re.kind<=345}e.isJSDocTag=xi;function ka(Re){return Re.kind===172}e.isSetAccessor=ka;function mi(Re){return Re.kind===171}e.isGetAccessor=mi;function Xi(Re){var Qr=Re.jsDoc;return!!Qr&&Qr.length>0}e.hasJSDocNodes=Xi;function Gi(Re){return!!Re.type}e.hasType=Gi;function Ro(Re){return!!Re.initializer}e.hasInitializer=Ro;function ko(Re){switch(Re.kind){case 253:case 163:case 202:case 165:case 166:case 294:case 297:return!0;default:return!1}}e.hasOnlyExpressionInitializer=ko;function es(Re){return Re.kind===284||Re.kind===286||rt(Re)}e.isObjectLiteralElement=es;function as(Re){return Re.kind===177||Re.kind===227}e.isTypeReferenceType=as;var pe=1073741823;function Rr(Re){for(var Qr=pe,vn=0,Xn=Re;vn<Xn.length;vn++){var gi=Xn[vn];if(!!gi.length){for(var Ia=0;Ia<gi.length&&Ia<Qr&&e.isWhiteSpaceLike(gi.charCodeAt(Ia));Ia++);if(Ia<Qr&&(Qr=Ia),Qr===0)return 0}}return Qr===pe?void 0:Qr}e.guessIndentation=Rr;function ft(Re){return Re.kind===10||Re.kind===14}e.isStringLiteralLike=ft;function Zt(Re){return Re.kind===322||Re.kind===323||Re.kind===324}e.isJSDocLinkLike=Zt}(jr||(jr={})),function(e){e.resolvingEmptyArray=[],e.externalHelpersModuleNameText=\"tslib\",e.defaultMaximumTruncationLength=160,e.noTruncationMaximumTruncationLength=1e6;function n(l,ee){var cr=l.declarations;if(cr)for(var Ur=0,Nt=cr;Ur<Nt.length;Ur++){var xn=Nt[Ur];if(xn.kind===ee)return xn}}e.getDeclarationOfKind=n;function f(){return new e.Map}e.createUnderscoreEscapedMap=f;function p(l){return!!l&&!!l.size}e.hasEntries=p;function a(l){var ee=new e.Map;if(l)for(var cr=0,Ur=l;cr<Ur.length;cr++){var Nt=Ur[cr];ee.set(Nt.escapedName,Nt)}return ee}e.createSymbolTable=a;function d(l){return(l.flags&33554432)!==0}e.isTransientSymbol=d;var k=J();function J(){var l=\"\",ee=function(cr){return l+=cr};return{getText:function(){return l},write:ee,rawWrite:ee,writeKeyword:ee,writeOperator:ee,writePunctuation:ee,writeSpace:ee,writeStringLiteral:ee,writeLiteral:ee,writeParameter:ee,writeProperty:ee,writeSymbol:function(cr,Ur){return ee(cr)},writeTrailingSemicolon:ee,writeComment:ee,getTextPos:function(){return l.length},getLine:function(){return 0},getColumn:function(){return 0},getIndent:function(){return 0},isAtStartOfLine:function(){return!1},hasTrailingComment:function(){return!1},hasTrailingWhitespace:function(){return!!l.length&&e.isWhiteSpaceLike(l.charCodeAt(l.length-1))},writeLine:function(){return l+=\" \"},increaseIndent:e.noop,decreaseIndent:e.noop,clear:function(){return l=\"\"},trackSymbol:function(){return!1},reportInaccessibleThisError:e.noop,reportInaccessibleUniqueSymbolError:e.noop,reportPrivateInBaseOfClassExpression:e.noop}}function h(l,ee){return l.configFilePath!==ee.configFilePath||v(l,ee)}e.changesAffectModuleResolution=h;function v(l,ee){return z(l,ee,e.moduleResolutionOptionDeclarations)}e.optionsHaveModuleResolutionChanges=v;function A(l,ee){return z(l,ee,e.optionsAffectingProgramStructure)}e.changesAffectingProgramStructure=A;function z(l,ee,cr){return l!==ee&&cr.some(function(Ur){return!of(Bo(l,Ur),Bo(ee,Ur))})}e.optionsHaveChanges=z;function ie(l,ee){for(;;){var cr=ee(l);if(cr===\"quit\")return;if(cr!==void 0)return cr;if(e.isSourceFile(l))return;l=l.parent}}e.forEachAncestor=ie;function b(l,ee){for(var cr=l.entries(),Ur=cr.next();!Ur.done;Ur=cr.next()){var Nt=Ur.value,xn=Nt[0],Bn=Nt[1],ga=ee(Bn,xn);if(ga)return ga}}e.forEachEntry=b;function M(l,ee){for(var cr=l.keys(),Ur=cr.next();!Ur.done;Ur=cr.next()){var Nt=ee(Ur.value);if(Nt)return Nt}}e.forEachKey=M;function S(l,ee){l.forEach(function(cr,Ur){ee.set(Ur,cr)})}e.copyEntries=S;function B(l){var ee=k.getText();try{return l(k),k.getText()}finally{k.clear(),k.writeKeyword(ee)}}e.usingSingleLineStringWriter=B;function H(l){return l.end-l.pos}e.getFullWidth=H;function I(l,ee,cr){return l&&l.resolvedModules&&l.resolvedModules.get(ee,cr)}e.getResolvedModule=I;function w(l,ee,cr,Ur){l.resolvedModules||(l.resolvedModules=e.createModeAwareCache()),l.resolvedModules.set(ee,Ur,cr)}e.setResolvedModule=w;function x(l,ee,cr){l.resolvedTypeReferenceDirectiveNames||(l.resolvedTypeReferenceDirectiveNames=e.createModeAwareCache()),l.resolvedTypeReferenceDirectiveNames.set(ee,void 0,cr)}e.setResolvedTypeReferenceDirective=x;function O(l,ee){return l.path===ee.path&&!l.prepend==!ee.prepend&&!l.circular==!ee.circular}e.projectReferenceIsEqualTo=O;function q(l,ee){return l.isExternalLibraryImport===ee.isExternalLibraryImport&&l.extension===ee.extension&&l.resolvedFileName===ee.resolvedFileName&&l.originalPath===ee.originalPath&&Z(l.packageId,ee.packageId)}e.moduleResolutionIsEqualTo=q;function Z(l,ee){return l===ee||!!l&&!!ee&&l.name===ee.name&&l.subModuleName===ee.subModuleName&&l.version===ee.version}function ne(l){var ee=l.name,cr=l.subModuleName,Ur=l.version,Nt=cr?\"\".concat(ee,\"/\").concat(cr):ee;return\"\".concat(Nt,\"@\").concat(Ur)}e.packageIdToString=ne;function F(l,ee){return l.resolvedFileName===ee.resolvedFileName&&l.primary===ee.primary&&l.originalPath===ee.originalPath}e.typeDirectiveIsEqualTo=F;function Q(l,ee,cr,Ur,Nt){e.Debug.assert(l.length===ee.length);for(var xn=0;xn<l.length;xn++){var Bn=ee[xn],ga=cr&&cr.get(l[xn],Ur&&e.getModeForResolutionAtIndex(Ur,xn)),Ei=ga?!Bn||!Nt(ga,Bn):Bn;if(Ei)return!0}return!1}e.hasChangesInResolutions=Q;function V(l){return re(l),(l.flags&262144)!==0}e.containsParseError=V;function re(l){if(!(l.flags&524288)){var ee=(l.flags&65536)!==0||e.forEachChild(l,V);ee&&(l.flags|=262144),l.flags|=524288}}function T(l){for(;l&&l.kind!==303;)l=l.parent;return l}e.getSourceFileOfNode=T;function N(l){return T(l.valueDeclaration||Fe(l))}e.getSourceFileOfModule=N;function y(l){switch(l.kind){case 234:case 262:case 241:case 242:case 243:return!0}return!1}e.isStatementWithLocals=y;function D(l,ee){return e.Debug.assert(l>=0),e.getLineStarts(ee)[l]}e.getStartPositionOfLine=D;function C(l){var ee=T(l),cr=e.getLineAndCharacterOfPosition(ee,l.pos);return\"\".concat(ee.fileName,\"(\").concat(cr.line+1,\",\").concat(cr.character+1,\")\")}e.nodePosToString=C;function m(l,ee){e.Debug.assert(l>=0);var cr=e.getLineStarts(ee),Ur=l,Nt=ee.text;if(Ur+1===cr.length)return Nt.length-1;var xn=cr[Ur],Bn=cr[Ur+1]-1;for(e.Debug.assert(e.isLineBreak(Nt.charCodeAt(Bn)));xn<=Bn&&e.isLineBreak(Nt.charCodeAt(Bn));)Bn--;return Bn}e.getEndLinePosition=m;function u(l,ee,cr){return!(cr&&cr(ee))&&!l.identifiers.has(ee)}e.isFileLevelUniqueName=u;function g(l){return l===void 0?!0:l.pos===l.end&&l.pos>=0&&l.kind!==1}e.nodeIsMissing=g;function P(l){return!g(l)}e.nodeIsPresent=P;function te(l,ee,cr){if(ee===void 0||ee.length===0)return l;for(var Ur=0;Ur<l.length&&cr(l[Ur]);++Ur);return l.splice.apply(l,Gt([Ur,0],ee,!1)),l}function ue(l,ee,cr){if(ee===void 0)return l;for(var Ur=0;Ur<l.length&&cr(l[Ur]);++Ur);return l.splice(Ur,0,ee),l}function X(l){return zr(l)||!!(_e(l)&1048576)}function j(l,ee){return te(l,ee,zr)}e.insertStatementsAfterStandardPrologue=j;function Se(l,ee){return te(l,ee,X)}e.insertStatementsAfterCustomPrologue=Se;function Ce(l,ee){return ue(l,ee,zr)}e.insertStatementAfterStandardPrologue=Ce;function R(l,ee){return ue(l,ee,X)}e.insertStatementAfterCustomPrologue=R;function Y(l,ee,cr){if(l.charCodeAt(ee+1)===47&&ee+2<cr&&l.charCodeAt(ee+2)===47){var Ur=l.substring(ee,cr);return!!(e.fullTripleSlashReferencePathRegEx.test(Ur)||e.fullTripleSlashAMDReferencePathRegEx.test(Ur)||Qt.test(Ur)||mt.test(Ur))}return!1}e.isRecognizedTripleSlashComment=Y;function U(l,ee){return l.charCodeAt(ee+1)===42&&l.charCodeAt(ee+2)===33}e.isPinnedComment=U;function K(l,ee){var cr=new e.Map(ee.map(function(Bn){return[\"\".concat(e.getLineAndCharacterOfPosition(l,Bn.range.end).line),Bn]})),Ur=new e.Map;return{getUnusedExpectations:Nt,markUsed:xn};function Nt(){return e.arrayFrom(cr.entries()).filter(function(Bn){var ga=Bn[0],Ei=Bn[1];return Ei.type===0&&!Ur.get(ga)}).map(function(Bn){Bn[0];var ga=Bn[1];return ga})}function xn(Bn){return cr.has(\"\".concat(Bn))?(Ur.set(\"\".concat(Bn),!0),!0):!1}}e.createCommentDirectivesMap=K;function Te(l,ee,cr){return g(l)?l.pos:e.isJSDocNode(l)||l.kind===11?e.skipTrivia((ee||T(l)).text,l.pos,!1,!0):cr&&e.hasJSDocNodes(l)?Te(l.jsDoc[0],ee):l.kind===346&&l._children.length>0?Te(l._children[0],ee,cr):e.skipTrivia((ee||T(l)).text,l.pos,!1,!1,qr(l))}e.getTokenPosOfNode=Te;function ge(l,ee){return g(l)||!l.decorators?Te(l,ee):e.skipTrivia((ee||T(l)).text,l.decorators.end)}e.getNonDecoratorTokenPosOfNode=ge;function ke(l,ee,cr){return cr===void 0&&(cr=!1),Ge(l.text,ee,cr)}e.getSourceTextOfNodeFromSourceFile=ke;function Pe(l){return!!e.findAncestor(l,e.isJSDocTypeExpression)}function Ie(l){return!!(e.isExportDeclaration(l)&&l.exportClause&&e.isNamespaceExport(l.exportClause)&&l.exportClause.name.escapedText===\"default\")}e.isExportNamespaceAsDefaultDeclaration=Ie;function Ge(l,ee,cr){if(cr===void 0&&(cr=!1),g(ee))return\"\";var Ur=l.substring(cr?ee.pos:e.skipTrivia(l,ee.pos),ee.end);return Pe(ee)&&(Ur=Ur.split(/\\r\\n|\\n|\\r/).map(function(Nt){return e.trimStringStart(Nt.replace(/^\\s*\\*/,\"\"))}).join(`\n`)),Ur}e.getTextOfNodeFromSourceText=Ge;function he(l,ee){return ee===void 0&&(ee=!1),ke(T(l),l,ee)}e.getTextOfNode=he;function ve(l){return l.pos}function Ve(l,ee){return e.binarySearch(l,ee,ve,e.compareValues)}e.indexOfNode=Ve;function _e(l){var ee=l.emitNode;return ee&&ee.flags||0}e.getEmitFlags=_e;function Le(){return{es2015:{Array:[\"find\",\"findIndex\",\"fill\",\"copyWithin\",\"entries\",\"keys\",\"values\"],RegExp:[\"flags\",\"sticky\",\"unicode\"],Reflect:[\"apply\",\"construct\",\"defineProperty\",\"deleteProperty\",\"get\",\" getOwnPropertyDescriptor\",\"getPrototypeOf\",\"has\",\"isExtensible\",\"ownKeys\",\"preventExtensions\",\"set\",\"setPrototypeOf\"],ArrayConstructor:[\"from\",\"of\"],ObjectConstructor:[\"assign\",\"getOwnPropertySymbols\",\"keys\",\"is\",\"setPrototypeOf\"],NumberConstructor:[\"isFinite\",\"isInteger\",\"isNaN\",\"isSafeInteger\",\"parseFloat\",\"parseInt\"],Math:[\"clz32\",\"imul\",\"sign\",\"log10\",\"log2\",\"log1p\",\"expm1\",\"cosh\",\"sinh\",\"tanh\",\"acosh\",\"asinh\",\"atanh\",\"hypot\",\"trunc\",\"fround\",\"cbrt\"],Map:[\"entries\",\"keys\",\"values\"],Set:[\"entries\",\"keys\",\"values\"],Promise:e.emptyArray,PromiseConstructor:[\"all\",\"race\",\"reject\",\"resolve\"],Symbol:[\"for\",\"keyFor\"],WeakMap:[\"entries\",\"keys\",\"values\"],WeakSet:[\"entries\",\"keys\",\"values\"],Iterator:e.emptyArray,AsyncIterator:e.emptyArray,String:[\"codePointAt\",\"includes\",\"endsWith\",\"normalize\",\"repeat\",\"startsWith\",\"anchor\",\"big\",\"blink\",\"bold\",\"fixed\",\"fontcolor\",\"fontsize\",\"italics\",\"link\",\"small\",\"strike\",\"sub\",\"sup\"],StringConstructor:[\"fromCodePoint\",\"raw\"]},es2016:{Array:[\"includes\"]},es2017:{Atomics:e.emptyArray,SharedArrayBuffer:e.emptyArray,String:[\"padStart\",\"padEnd\"],ObjectConstructor:[\"values\",\"entries\",\"getOwnPropertyDescriptors\"],DateTimeFormat:[\"formatToParts\"]},es2018:{Promise:[\"finally\"],RegExpMatchArray:[\"groups\"],RegExpExecArray:[\"groups\"],RegExp:[\"dotAll\"],Intl:[\"PluralRules\"],AsyncIterable:e.emptyArray,AsyncIterableIterator:e.emptyArray,AsyncGenerator:e.emptyArray,AsyncGeneratorFunction:e.emptyArray},es2019:{Array:[\"flat\",\"flatMap\"],ObjectConstructor:[\"fromEntries\"],String:[\"trimStart\",\"trimEnd\",\"trimLeft\",\"trimRight\"],Symbol:[\"description\"]},es2020:{BigInt:e.emptyArray,BigInt64Array:e.emptyArray,BigUint64Array:e.emptyArray,PromiseConstructor:[\"allSettled\"],SymbolConstructor:[\"matchAll\"],String:[\"matchAll\"],DataView:[\"setBigInt64\",\"setBigUint64\",\"getBigInt64\",\"getBigUint64\"],RelativeTimeFormat:[\"format\",\"formatToParts\",\"resolvedOptions\"]},es2021:{PromiseConstructor:[\"any\"],String:[\"replaceAll\"]},esnext:{NumberFormat:[\"formatToParts\"]}}}e.getScriptTargetFeatures=Le,function(l){l[l.None=0]=\"None\",l[l.NeverAsciiEscape=1]=\"NeverAsciiEscape\",l[l.JsxAttributeEscape=2]=\"JsxAttributeEscape\",l[l.TerminateUnterminatedLiterals=4]=\"TerminateUnterminatedLiterals\",l[l.AllowNumericSeparator=8]=\"AllowNumericSeparator\"}(e.GetLiteralTextFlags||(e.GetLiteralTextFlags={}));function qe(l,ee,cr){var Ur;if(Xe(l,cr))return ke(ee,l);switch(l.kind){case 10:{var Nt=cr&2?Pu:cr&1||_e(l)&16777216?Ru:Mu;return l.singleQuote?\"'\"+Nt(l.text,39)+\"'\":'\"'+Nt(l.text,34)+'\"'}case 14:case 15:case 16:case 17:{var Nt=cr&1||_e(l)&16777216?Ru:Mu,xn=(Ur=l.rawText)!==null&&Ur!==void 0?Ur:bf(Nt(l.text,96));switch(l.kind){case 14:return\"`\"+xn+\"`\";case 15:return\"`\"+xn+\"${\";case 16:return\"}\"+xn+\"${\";case 17:return\"}\"+xn+\"`\"}break}case 8:case 9:return l.text;case 13:return cr&4&&l.isUnterminated?l.text+(l.text.charCodeAt(l.text.length-1)===92?\" /\":\"/\"):l.text}return e.Debug.fail(\"Literal kind '\".concat(l.kind,\"' not accounted for.\"))}e.getLiteralText=qe;function Xe(l,ee){return Fd(l)||!l.parent||ee&4&&l.isUnterminated?!1:e.isNumericLiteral(l)&&l.numericLiteralFlags&512?!!(ee&8):!e.isBigIntLiteral(l)}function De(l){return e.isString(l)?'\"'+Mu(l)+'\"':\"\"+l}e.getTextOfConstantValue=De;function Ae(l){return e.getBaseFileName(l).replace(/^(\\d)/,\"_$1\").replace(/\\W/g,\"_\")}e.makeIdentifierFromModuleName=Ae;function Ye(l){return(e.getCombinedNodeFlags(l)&3)!==0||Dr(l)}e.isBlockOrCatchScoped=Ye;function Dr(l){var ee=Md(l);return ee.kind===253&&ee.parent.kind===291}e.isCatchClauseVariableDeclarationOrBindingElement=Dr;function br(l){return e.isModuleDeclaration(l)&&(l.name.kind===10||ur(l))}e.isAmbientModule=br;function lr(l){return e.isModuleDeclaration(l)&&l.name.kind===10}e.isModuleWithStringLiteralName=lr;function Ar(l){return e.isModuleDeclaration(l)&&e.isStringLiteral(l.name)}e.isNonGlobalAmbientModule=Ar;function kr(l){return e.isModuleDeclaration(l)||e.isIdentifier(l)}e.isEffectiveModuleDeclaration=kr;function Ke(l){return Me(l.valueDeclaration)}e.isShorthandAmbientModuleSymbol=Ke;function Me(l){return!!l&&l.kind===260&&!l.body}function Hr(l){return l.kind===303||l.kind===260||e.isFunctionLikeOrClassStaticBlockDeclaration(l)}e.isBlockScopedContainerTopLevel=Hr;function ur(l){return!!(l.flags&1024)}e.isGlobalScopeAugmentation=ur;function gr(l){return br(l)&&de(l)}e.isExternalModuleAugmentation=gr;function de(l){switch(l.parent.kind){case 303:return e.isExternalModule(l.parent);case 261:return br(l.parent.parent)&&e.isSourceFile(l.parent.parent.parent)&&!e.isExternalModule(l.parent.parent.parent)}return!1}e.isModuleAugmentationExternal=de;function Fe(l){var ee;return(ee=l.declarations)===null||ee===void 0?void 0:ee.find(function(cr){return!gr(cr)&&!(e.isModuleDeclaration(cr)&&ur(cr))})}e.getNonAugmentationDeclaration=Fe;function $e(l){return l===e.ModuleKind.CommonJS||l===e.ModuleKind.Node12||l===e.ModuleKind.NodeNext}function Sr(l,ee){return e.isExternalModule(l)||ee.isolatedModules||$e(vd(ee))&&!!l.commonJsModuleIndicator}e.isEffectiveExternalModule=Sr;function Pr(l,ee){switch(l.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return l.isDeclarationFile?!1:pa(ee,\"alwaysStrict\")||e.startsWithUseStrict(l.statements)?!0:e.isExternalModule(l)||ee.isolatedModules?vd(ee)>=e.ModuleKind.ES2015?!0:!ee.noImplicitUseStrict:!1}e.isEffectiveStrictModeSourceFile=Pr;function He(l,ee){switch(l.kind){case 303:case 262:case 291:case 260:case 241:case 242:case 243:case 170:case 168:case 171:case 172:case 255:case 212:case 213:case 166:case 169:return!0;case 234:return!e.isFunctionLikeOrClassStaticBlockDeclaration(ee)}return!1}e.isBlockScope=He;function pr(l){switch(l.kind){case 336:case 343:case 321:return!0;default:return e.assertType(l),Jr(l)}}e.isDeclarationWithTypeParameters=pr;function Jr(l){switch(l.kind){case 173:case 174:case 167:case 175:case 178:case 179:case 315:case 256:case 225:case 257:case 258:case 342:case 255:case 168:case 170:case 171:case 172:case 212:case 213:return!0;default:return e.assertType(l),!1}}e.isDeclarationWithTypeParameterChildren=Jr;function ze(l){switch(l.kind){case 265:case 264:return!0;default:return!1}}e.isAnyImportSyntax=ze;function Lr(l){switch(l.kind){case 265:case 264:case 236:case 256:case 255:case 260:case 258:case 257:case 259:return!0;default:return!1}}e.isLateVisibilityPaintedStatement=Lr;function Yr(l){return lt(l)||e.isModuleDeclaration(l)||e.isImportTypeNode(l)||tr(l)}e.hasPossibleExternalModuleReference=Yr;function lt(l){return ze(l)||e.isExportDeclaration(l)}e.isAnyImportOrReExport=lt;function tt(l){return e.findAncestor(l.parent,function(ee){return He(ee,ee.parent)})}e.getEnclosingBlockScopeContainer=tt;function Rt(l,ee){for(var cr=tt(l);cr;)ee(cr),cr=tt(cr)}e.forEachEnclosingBlockScopeContainer=Rt;function cn(l){return!l||H(l)===0?\"(Missing)\":he(l)}e.declarationNameToString=cn;function bn(l){return l.declaration?cn(l.declaration.parameters[0].name):void 0}e.getNameFromIndexInfo=bn;function In(l){return l.kind===161&&!ks(l.expression)}e.isComputedNonLiteralName=In;function zn(l){switch(l.kind){case 79:case 80:return l.escapedText;case 10:case 8:case 14:return e.escapeLeadingUnderscores(l.text);case 161:return ks(l.expression)?e.escapeLeadingUnderscores(l.expression.text):e.Debug.fail(\"Text of property name cannot be read from non-literal-valued ComputedPropertyNames\");default:return e.Debug.assertNever(l)}}e.getTextOfPropertyName=zn;function ir(l){switch(l.kind){case 108:return\"this\";case 80:case 79:return H(l)===0?e.idText(l):he(l);case 160:return ir(l.left)+\".\"+ir(l.right);case 205:return e.isIdentifier(l.name)||e.isPrivateIdentifier(l.name)?ir(l.expression)+\".\"+ir(l.name):e.Debug.assertNever(l.name);case 309:return ir(l.left)+ir(l.right);default:return e.Debug.assertNever(l)}}e.entityNameToString=ir;function Or(l,ee,cr,Ur,Nt,xn){var Bn=T(l);return ye(Bn,l,ee,cr,Ur,Nt,xn)}e.createDiagnosticForNode=Or;function sr(l,ee,cr,Ur,Nt,xn,Bn){var ga=e.skipTrivia(l.text,ee.pos);return An(l,ga,ee.end-ga,cr,Ur,Nt,xn,Bn)}e.createDiagnosticForNodeArray=sr;function ye(l,ee,cr,Ur,Nt,xn,Bn){var ga=me(l,ee);return An(l,ga.start,ga.length,cr,Ur,Nt,xn,Bn)}e.createDiagnosticForNodeInSourceFile=ye;function or(l,ee,cr){var Ur=T(l),Nt=me(Ur,l);return je(Ur,Nt.start,Nt.length,ee,cr)}e.createDiagnosticForNodeFromMessageChain=or;function fe(l,ee,cr){e.Debug.assertGreaterThanOrEqual(ee,0),e.Debug.assertGreaterThanOrEqual(cr,0),l&&(e.Debug.assertLessThanOrEqual(ee,l.text.length),e.Debug.assertLessThanOrEqual(ee+cr,l.text.length))}function je(l,ee,cr,Ur,Nt){return fe(l,ee,cr),{file:l,start:ee,length:cr,code:Ur.code,category:Ur.category,messageText:Ur.next?Ur:Ur.messageText,relatedInformation:Nt}}e.createFileDiagnosticFromMessageChain=je;function Ee(l,ee,cr){return{file:l,start:0,length:0,code:ee.code,category:ee.category,messageText:ee.next?ee:ee.messageText,relatedInformation:cr}}e.createDiagnosticForFileFromMessageChain=Ee;function We(l,ee,cr){return{file:l,start:ee.pos,length:ee.end-ee.pos,code:cr.code,category:cr.category,messageText:cr.message}}e.createDiagnosticForRange=We;function $(l,ee){var cr=e.createScanner(l.languageVersion,!0,l.languageVariant,l.text,void 0,ee);cr.scan();var Ur=cr.getTokenPos();return e.createTextSpanFromBounds(Ur,cr.getTextPos())}e.getSpanOfTokenAtPosition=$;function Ne(l,ee){var cr=e.skipTrivia(l.text,ee.pos);if(ee.body&&ee.body.kind===234){var Ur=e.getLineAndCharacterOfPosition(l,ee.body.pos).line,Nt=e.getLineAndCharacterOfPosition(l,ee.body.end).line;if(Ur<Nt)return e.createTextSpan(cr,m(Ur,l)-cr+1)}return e.createTextSpanFromBounds(cr,ee.end)}function me(l,ee){var cr=ee;switch(ee.kind){case 303:var Ur=e.skipTrivia(l.text,0,!1);return Ur===l.text.length?e.createTextSpan(0,0):$(l,Ur);case 253:case 202:case 256:case 225:case 257:case 260:case 259:case 297:case 255:case 212:case 168:case 171:case 172:case 258:case 166:case 165:case 267:cr=ee.name;break;case 213:return Ne(l,ee);case 288:case 289:var Nt=e.skipTrivia(l.text,ee.pos),xn=ee.statements.length>0?ee.statements[0].pos:ee.end;return e.createTextSpanFromBounds(Nt,xn)}if(cr===void 0)return $(l,ee.pos);e.Debug.assert(!e.isJSDoc(cr));var Bn=g(cr),ga=Bn||e.isJsxText(ee)?cr.pos:e.skipTrivia(l.text,cr.pos);return Bn?(e.Debug.assert(ga===cr.pos,\"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809\"),e.Debug.assert(ga===cr.end,\"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809\")):(e.Debug.assert(ga>=cr.pos,\"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809\"),e.Debug.assert(ga<=cr.end,\"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809\")),e.createTextSpanFromBounds(ga,cr.end)}e.getErrorSpanForNode=me;function Ze(l){return(l.externalModuleIndicator||l.commonJsModuleIndicator)!==void 0}e.isExternalOrCommonJsModule=Ze;function Cr(l){return l.scriptKind===6}e.isJsonSourceFile=Cr;function fr(l){return!!(e.getCombinedModifierFlags(l)&2048)}e.isEnumConst=fr;function dr(l){return!!(e.getCombinedModifierFlags(l)&64&&!e.isParameterPropertyDeclaration(l,l.parent))}e.isDeclarationReadonly=dr;function et(l){return!!(e.getCombinedNodeFlags(l)&2)}e.isVarConst=et;function yt(l){return!!(e.getCombinedNodeFlags(l)&1)}e.isLet=yt;function Vr(l){return l.kind===207&&l.expression.kind===106}e.isSuperCall=Vr;function tr(l){return l.kind===207&&l.expression.kind===100}e.isImportCall=tr;function xr(l){return e.isMetaProperty(l)&&l.keywordToken===100&&l.name.escapedText===\"meta\"}e.isImportMeta=xr;function Nr(l){return e.isImportTypeNode(l)&&e.isLiteralTypeNode(l.argument)&&e.isStringLiteral(l.argument.literal)}e.isLiteralImportTypeNode=Nr;function zr(l){return l.kind===237&&l.expression.kind===10}e.isPrologueDirective=zr;function gt(l){return!!(_e(l)&1048576)}e.isCustomPrologue=gt;function vt(l){return gt(l)&&e.isFunctionDeclaration(l)}e.isHoistedFunction=vt;function ut(l){return e.isIdentifier(l.name)&&!l.initializer}function ht(l){return gt(l)&&e.isVariableStatement(l)&&e.every(l.declarationList.declarations,ut)}e.isHoistedVariableStatement=ht;function xt(l,ee){return l.kind!==11?e.getLeadingCommentRanges(ee.text,l.pos):void 0}e.getLeadingCommentRangesOfNode=xt;function wt(l,ee){var cr=l.kind===163||l.kind===162||l.kind===212||l.kind===213||l.kind===211||l.kind===253?e.concatenate(e.getTrailingCommentRanges(ee,l.pos),e.getLeadingCommentRanges(ee,l.pos)):e.getLeadingCommentRanges(ee,l.pos);return e.filter(cr,function(Ur){return ee.charCodeAt(Ur.pos+1)===42&&ee.charCodeAt(Ur.pos+2)===42&&ee.charCodeAt(Ur.pos+3)!==47})}e.getJSDocCommentRanges=wt,e.fullTripleSlashReferencePathRegEx=/^(\\/\\/\\/\\s*<reference\\s+path\\s*=\\s*)(('[^']*')|(\"[^\"]*\")).*?\\/>/;var Qt=/^(\\/\\/\\/\\s*<reference\\s+types\\s*=\\s*)(('[^']*')|(\"[^\"]*\")).*?\\/>/;e.fullTripleSlashAMDReferencePathRegEx=/^(\\/\\/\\/\\s*<amd-dependency\\s+path\\s*=\\s*)(('[^']*')|(\"[^\"]*\")).*?\\/>/;var mt=/^(\\/\\/\\/\\s*<reference\\s+no-default-lib\\s*=\\s*)(('[^']*')|(\"[^\"]*\"))\\s*\\/>/;function rn(l){if(176<=l.kind&&l.kind<=199)return!0;switch(l.kind){case 130:case 154:case 146:case 157:case 149:case 133:case 150:case 147:case 152:case 143:return!0;case 114:return l.parent.kind!==216;case 227:return!bc(l);case 162:return l.parent.kind===194||l.parent.kind===189;case 79:(l.parent.kind===160&&l.parent.right===l||l.parent.kind===205&&l.parent.name===l)&&(l=l.parent),e.Debug.assert(l.kind===79||l.kind===160||l.kind===205,\"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.\");case 160:case 205:case 108:{var ee=l.parent;if(ee.kind===180)return!1;if(ee.kind===199)return!ee.isTypeOf;if(176<=ee.kind&&ee.kind<=199)return!0;switch(ee.kind){case 227:return!bc(ee);case 162:return l===ee.constraint;case 342:return l===ee.constraint;case 166:case 165:case 163:case 253:return l===ee.type;case 255:case 212:case 213:case 170:case 168:case 167:case 171:case 172:return l===ee.type;case 173:case 174:case 175:return l===ee.type;case 210:return l===ee.type;case 207:case 208:return e.contains(ee.typeArguments,l);case 209:return!1}}}return!1}e.isPartOfTypeNode=rn;function sa(l,ee){for(;l;){if(l.kind===ee)return!0;l=l.parent}return!1}e.isChildOfNodeWithKind=sa;function ba(l,ee){return cr(l);function cr(Ur){switch(Ur.kind){case 246:return ee(Ur);case 262:case 234:case 238:case 239:case 240:case 241:case 242:case 243:case 247:case 248:case 288:case 289:case 249:case 251:case 291:return e.forEachChild(Ur,cr)}}}e.forEachReturnStatement=ba;function Jn(l,ee){return cr(l);function cr(Ur){switch(Ur.kind){case 223:ee(Ur);var Nt=Ur.expression;Nt&&cr(Nt);return;case 259:case 257:case 260:case 258:return;default:if(e.isFunctionLike(Ur)){if(Ur.name&&Ur.name.kind===161){cr(Ur.name.expression);return}}else rn(Ur)||e.forEachChild(Ur,cr)}}}e.forEachYieldExpression=Jn;function na(l){return l&&l.kind===182?l.elementType:l&&l.kind===177?e.singleOrUndefined(l.typeArguments):void 0}e.getRestParameterElementType=na;function Wn(l){switch(l.kind){case 257:case 256:case 225:case 181:return l.members;case 204:return l.properties}}e.getMembersOfDeclaration=Wn;function en(l){if(l)switch(l.kind){case 202:case 297:case 163:case 294:case 166:case 165:case 295:case 253:return!0}return!1}e.isVariableLike=en;function St(l){return en(l)||e.isAccessor(l)}e.isVariableLikeOrAccessor=St;function Ut(l){return l.parent.kind===254&&l.parent.parent.kind===236}e.isVariableDeclarationInVariableStatement=Ut;function qt(l){return e.isVariableDeclaration(l)?et(l)&&e.isIdentifier(l.name)&&Ut(l):e.isPropertyDeclaration(l)?If(l)&&zc(l):e.isPropertySignature(l)&&If(l)}e.isValidESSymbolDeclaration=qt;function Mn(l){switch(l.kind){case 168:case 167:case 170:case 171:case 172:case 255:case 212:return!0}return!1}e.introducesArgumentsExoticObject=Mn;function dn(l,ee){for(;;){if(ee&&ee(l),l.statement.kind!==249)return l.statement;l=l.statement}}e.unwrapInnermostStatementOfLabel=dn;function oa(l){return l&&l.kind===234&&e.isFunctionLike(l.parent)}e.isFunctionBlock=oa;function pt(l){return l&&l.kind===168&&l.parent.kind===204}e.isObjectLiteralMethod=pt;function _t(l){return(l.kind===168||l.kind===171||l.kind===172)&&(l.parent.kind===204||l.parent.kind===225)}e.isObjectLiteralOrClassExpressionMethodOrAccessor=_t;function Mt(l){return l&&l.kind===1}e.isIdentifierTypePredicate=Mt;function It(l){return l&&l.kind===0}e.isThisTypePredicate=It;function rt(l,ee,cr){return l.properties.filter(function(Ur){if(Ur.kind===294){var Nt=zn(Ur.name);return ee===Nt||!!cr&&cr===Nt}return!1})}e.getPropertyAssignment=rt;function Cn(l,ee,cr){return e.firstDefined(rt(l,ee),function(Ur){return e.isArrayLiteralExpression(Ur.initializer)?e.find(Ur.initializer.elements,function(Nt){return e.isStringLiteral(Nt)&&Nt.text===cr}):void 0})}e.getPropertyArrayElementValue=Cn;function Qn(l){if(l&&l.statements.length){var ee=l.statements[0].expression;return e.tryCast(ee,e.isObjectLiteralExpression)}}e.getTsConfigObjectLiteralExpression=Qn;function Ra(l,ee,cr){return e.firstDefined(Ci(l,ee),function(Ur){return e.isArrayLiteralExpression(Ur.initializer)?e.find(Ur.initializer.elements,function(Nt){return e.isStringLiteral(Nt)&&Nt.text===cr}):void 0})}e.getTsConfigPropArrayElementValue=Ra;function Ci(l,ee){var cr=Qn(l);return cr?rt(cr,ee):e.emptyArray}e.getTsConfigPropArray=Ci;function _i(l){return e.findAncestor(l.parent,e.isFunctionLike)}e.getContainingFunction=_i;function va(l){return e.findAncestor(l.parent,e.isFunctionLikeDeclaration)}e.getContainingFunctionDeclaration=va;function yi(l){return e.findAncestor(l.parent,e.isClassLike)}e.getContainingClass=yi;function ro(l){return e.findAncestor(l.parent,function(ee){return e.isClassLike(ee)||e.isFunctionLike(ee)?\"quit\":e.isClassStaticBlockDeclaration(ee)})}e.getContainingClassStaticBlock=ro;function Ka(l){return e.findAncestor(l.parent,e.isFunctionLikeOrClassStaticBlockDeclaration)}e.getContainingFunctionOrClassStaticBlock=Ka;function Mi(l,ee){for(e.Debug.assert(l.kind!==303);;){if(l=l.parent,!l)return e.Debug.fail();switch(l.kind){case 161:if(e.isClassLike(l.parent.parent))return l;l=l.parent;break;case 164:l.parent.kind===163&&e.isClassElement(l.parent.parent)?l=l.parent.parent:e.isClassElement(l.parent)&&(l=l.parent);break;case 213:if(!ee)continue;case 255:case 212:case 260:case 169:case 166:case 165:case 168:case 167:case 170:case 171:case 172:case 173:case 174:case 175:case 259:case 303:return l}}}e.getThisContainer=Mi;function io(l){e.isIdentifier(l)&&(e.isClassDeclaration(l.parent)||e.isFunctionDeclaration(l.parent))&&l.parent.name===l&&(l=l.parent);var ee=Mi(l,!0);return e.isSourceFile(ee)}e.isInTopLevelContext=io;function ji(l){var ee=Mi(l,!1);if(ee)switch(ee.kind){case 170:case 255:case 212:return ee}}e.getNewTargetContainer=ji;function Hi(l,ee){for(;;){if(l=l.parent,!l)return l;switch(l.kind){case 161:l=l.parent;break;case 255:case 212:case 213:if(!ee)continue;case 166:case 165:case 168:case 167:case 170:case 171:case 172:case 169:return l;case 164:l.parent.kind===163&&e.isClassElement(l.parent.parent)?l=l.parent.parent:e.isClassElement(l.parent)&&(l=l.parent);break}}}e.getSuperContainer=Hi;function to(l){if(l.kind===212||l.kind===213){for(var ee=l,cr=l.parent;cr.kind===211;)ee=cr,cr=cr.parent;if(cr.kind===207&&cr.expression===ee)return cr}}e.getImmediatelyInvokedFunctionExpression=to;function No(l){return l.kind===106||lo(l)}e.isSuperOrSuperProperty=No;function lo(l){var ee=l.kind;return(ee===205||ee===206)&&l.expression.kind===106}e.isSuperProperty=lo;function Lo(l){var ee=l.kind;return(ee===205||ee===206)&&l.expression.kind===108}e.isThisProperty=Lo;function Ha(l){var ee;return!!l&&e.isVariableDeclaration(l)&&((ee=l.initializer)===null||ee===void 0?void 0:ee.kind)===108}e.isThisInitializedDeclaration=Ha;function Yo(l){return!!l&&(e.isShorthandPropertyAssignment(l)||e.isPropertyAssignment(l))&&e.isBinaryExpression(l.parent.parent)&&l.parent.parent.operatorToken.kind===63&&l.parent.parent.right.kind===108}e.isThisInitializedObjectBindingExpression=Yo;function co(l){switch(l.kind){case 177:return l.typeName;case 227:return qc(l.expression)?l.expression:void 0;case 79:case 160:return l}}e.getEntityNameFromTypeNode=co;function za(l){switch(l.kind){case 209:return l.tag;case 279:case 278:return l.tagName;default:return l.expression}}e.getInvokedExpression=za;function hi(l,ee,cr){if(e.isNamedDeclaration(l)&&e.isPrivateIdentifier(l.name))return!1;switch(l.kind){case 256:return!0;case 166:return ee.kind===256;case 171:case 172:case 168:return l.body!==void 0&&ee.kind===256;case 163:return ee.body!==void 0&&(ee.kind===170||ee.kind===168||ee.kind===172)&&cr.kind===256}return!1}e.nodeCanBeDecorated=hi;function Zi(l,ee,cr){return l.decorators!==void 0&&hi(l,ee,cr)}e.nodeIsDecorated=Zi;function Mo(l,ee,cr){return Zi(l,ee,cr)||Po(l,ee)}e.nodeOrChildIsDecorated=Mo;function Po(l,ee){switch(l.kind){case 256:return e.some(l.members,function(cr){return Mo(cr,l,ee)});case 168:case 172:case 170:return e.some(l.parameters,function(cr){return Zi(cr,l,ee)});default:return!1}}e.childIsDecorated=Po;function Fo(l){if(Zi(l))return!0;var ee=Sf(l);return!!ee&&Po(ee,l)}e.classOrConstructorParameterIsDecorated=Fo;function zo(l){var ee=l.parent;return ee.kind===279||ee.kind===278||ee.kind===280?ee.tagName===l:!1}e.isJSXTagName=zo;function Es(l){switch(l.kind){case 106:case 104:case 110:case 95:case 13:case 203:case 204:case 205:case 206:case 207:case 208:case 209:case 228:case 210:case 229:case 211:case 212:case 225:case 213:case 216:case 214:case 215:case 218:case 219:case 220:case 221:case 224:case 222:case 226:case 277:case 278:case 281:case 223:case 217:case 230:return!0;case 160:for(;l.parent.kind===160;)l=l.parent;return l.parent.kind===180||e.isJSDocLinkLike(l.parent)||e.isJSDocNameReference(l.parent)||e.isJSDocMemberName(l.parent)||zo(l);case 309:for(;e.isJSDocMemberName(l.parent);)l=l.parent;return l.parent.kind===180||e.isJSDocLinkLike(l.parent)||e.isJSDocNameReference(l.parent)||e.isJSDocMemberName(l.parent)||zo(l);case 80:return e.isBinaryExpression(l.parent)&&l.parent.left===l&&l.parent.operatorToken.kind===101;case 79:if(l.parent.kind===180||e.isJSDocLinkLike(l.parent)||e.isJSDocNameReference(l.parent)||e.isJSDocMemberName(l.parent)||zo(l))return!0;case 8:case 9:case 10:case 14:case 108:return Cs(l);default:return!1}}e.isExpressionNode=Es;function Cs(l){var ee=l.parent;switch(ee.kind){case 253:case 163:case 166:case 165:case 297:case 294:case 202:return ee.initializer===l;case 237:case 238:case 239:case 240:case 246:case 247:case 248:case 288:case 250:return ee.expression===l;case 241:var cr=ee;return cr.initializer===l&&cr.initializer.kind!==254||cr.condition===l||cr.incrementor===l;case 242:case 243:var Ur=ee;return Ur.initializer===l&&Ur.initializer.kind!==254||Ur.expression===l;case 210:case 228:return l===ee.expression;case 232:return l===ee.expression;case 161:return l===ee.expression;case 164:case 287:case 286:case 296:return!0;case 227:return ee.expression===l&&bc(ee);case 295:return ee.objectAssignmentInitializer===l;default:return Es(ee)}}e.isInExpressionContext=Cs;function hr(l){for(;l.kind===160||l.kind===79;)l=l.parent;return l.kind===180}e.isPartOfTypeQuery=hr;function dt(l){return e.isNamespaceExport(l)&&!!l.parent.moduleSpecifier}e.isNamespaceReexportDeclaration=dt;function tn(l){return l.kind===264&&l.moduleReference.kind===276}e.isExternalModuleImportEqualsDeclaration=tn;function Un(l){return e.Debug.assert(tn(l)),l.moduleReference.expression}e.getExternalModuleImportEqualsDeclarationExpression=Un;function Oe(l){return ta(l)&&ml(l.initializer).arguments[0]}e.getExternalModuleRequireArgument=Oe;function oe(l){return l.kind===264&&l.moduleReference.kind!==276}e.isInternalModuleImportEqualsDeclaration=oe;function mr(l){return Be(l)}e.isSourceFileJS=mr;function se(l){return!Be(l)}e.isSourceFileNotJS=se;function Be(l){return!!l&&!!(l.flags&131072)}e.isInJSFile=Be;function er(l){return!!l&&!!(l.flags&33554432)}e.isInJsonFile=er;function vr(l){return!Cr(l)}e.isSourceFileNotJson=vr;function qr(l){return!!l&&!!(l.flags&4194304)}e.isInJSDoc=qr;function Dt(l){return e.isTypeReferenceNode(l)&&e.isIdentifier(l.typeName)&&l.typeName.escapedText===\"Object\"&&l.typeArguments&&l.typeArguments.length===2&&(l.typeArguments[0].kind===149||l.typeArguments[0].kind===146)}e.isJSDocIndexSignature=Dt;function Jt(l,ee){if(l.kind!==207)return!1;var cr=l,Ur=cr.expression,Nt=cr.arguments;if(Ur.kind!==79||Ur.escapedText!==\"require\"||Nt.length!==1)return!1;var xn=Nt[0];return!ee||e.isStringLiteralLike(xn)}e.isRequireCall=Jt;function Sn(l){return xa(l,!1)}e.isVariableDeclarationInitializedToRequire=Sn;function ta(l){return xa(l,!0)}e.isVariableDeclarationInitializedToBareOrAccessedRequire=ta;function xa(l,ee){return l.kind===202&&(l=l.parent.parent),e.isVariableDeclaration(l)&&!!l.initializer&&Jt(ee?ml(l.initializer):l.initializer,!0)}function Di(l){return e.isVariableStatement(l)&&l.declarationList.declarations.length>0&&e.every(l.declarationList.declarations,function(ee){return Sn(ee)})}e.isRequireVariableStatement=Di;function $a(l){return l===39||l===34}e.isSingleOrDoubleQuote=$a;function Ji(l,ee){return ke(ee,l).charCodeAt(0)===34}e.isStringDoubleQuoted=Ji;function So(l){return e.isBinaryExpression(l)||ul(l)||e.isIdentifier(l)||e.isCallExpression(l)}e.isAssignmentDeclaration=So;function cs(l){return Be(l)&&l.initializer&&e.isBinaryExpression(l.initializer)&&(l.initializer.operatorToken.kind===56||l.initializer.operatorToken.kind===60)&&l.name&&qc(l.name)&&mi(l.name,l.initializer.left)?l.initializer.right:l.initializer}e.getEffectiveInitializer=cs;function bt(l){var ee=cs(l);return ee&&ei(ee,Ec(l.name))}e.getDeclaredExpandoInitializer=bt;function Pn(l,ee){return e.forEach(l.properties,function(cr){return e.isPropertyAssignment(cr)&&e.isIdentifier(cr.name)&&cr.name.escapedText===\"value\"&&cr.initializer&&ei(cr.initializer,ee)})}function da(l){if(l&&l.parent&&e.isBinaryExpression(l.parent)&&l.parent.operatorToken.kind===63){var ee=Ec(l.parent.left);return ei(l.parent.right,ee)||bi(l.parent.left,l.parent.right,ee)}if(l&&e.isCallExpression(l)&&as(l)){var cr=Pn(l.arguments[2],l.arguments[1].text===\"prototype\");if(cr)return cr}}e.getAssignedExpandoInitializer=da;function ei(l,ee){if(e.isCallExpression(l)){var cr=Si(l.expression);return cr.kind===212||cr.kind===213?l:void 0}if(l.kind===212||l.kind===225||l.kind===213||e.isObjectLiteralExpression(l)&&(l.properties.length===0||ee))return l}e.getExpandoInitializer=ei;function bi(l,ee,cr){var Ur=e.isBinaryExpression(ee)&&(ee.operatorToken.kind===56||ee.operatorToken.kind===60)&&ei(ee.right,cr);if(Ur&&mi(l,ee.left))return Ur}function xi(l){var ee=e.isVariableDeclaration(l.parent)?l.parent.name:e.isBinaryExpression(l.parent)&&l.parent.operatorToken.kind===63?l.parent.left:void 0;return ee&&ei(l.right,Ec(ee))&&qc(ee)&&mi(ee,l.left)}e.isDefaultedExpandoInitializer=xi;function ka(l){if(e.isBinaryExpression(l.parent)){var ee=(l.parent.operatorToken.kind===56||l.parent.operatorToken.kind===60)&&e.isBinaryExpression(l.parent.parent)?l.parent.parent:l.parent;if(ee.operatorToken.kind===63&&e.isIdentifier(ee.left))return ee.left}else if(e.isVariableDeclaration(l.parent))return l.parent.name}e.getNameOfExpando=ka;function mi(l,ee){if($f(l)&&$f(ee))return Od(l)===Od(ee);if(e.isIdentifier(l)&&pe(ee)&&(ee.expression.kind===108||e.isIdentifier(ee.expression)&&(ee.expression.escapedText===\"window\"||ee.expression.escapedText===\"self\"||ee.expression.escapedText===\"global\"))){var cr=Qr(ee);return e.isPrivateIdentifier(cr)&&e.Debug.fail(\"Unexpected PrivateIdentifier in name expression with literal-like access.\"),mi(l,cr)}return pe(l)&&pe(ee)?Ia(l)===Ia(ee)&&mi(l.expression,ee.expression):!1}e.isSameEntityName=mi;function Xi(l){for(;Xd(l,!0);)l=l.right;return l}e.getRightMostAssignedExpression=Xi;function Gi(l){return e.isIdentifier(l)&&l.escapedText===\"exports\"}e.isExportsIdentifier=Gi;function Ro(l){return e.isIdentifier(l)&&l.escapedText===\"module\"}e.isModuleIdentifier=Ro;function ko(l){return(e.isPropertyAccessExpression(l)||Rr(l))&&Ro(l.expression)&&Ia(l)===\"exports\"}e.isModuleExportsAccessExpression=ko;function es(l){var ee=vn(l);return ee===5||Be(l)?ee:0}e.getAssignmentDeclarationKind=es;function as(l){return e.length(l.arguments)===3&&e.isPropertyAccessExpression(l.expression)&&e.isIdentifier(l.expression.expression)&&e.idText(l.expression.expression)===\"Object\"&&e.idText(l.expression.name)===\"defineProperty\"&&ks(l.arguments[1])&&Re(l.arguments[0],!0)}e.isBindableObjectDefinePropertyCall=as;function pe(l){return e.isPropertyAccessExpression(l)||Rr(l)}e.isLiteralLikeAccess=pe;function Rr(l){return e.isElementAccessExpression(l)&&ks(l.argumentExpression)}e.isLiteralLikeElementAccess=Rr;function ft(l,ee){return e.isPropertyAccessExpression(l)&&(!ee&&l.expression.kind===108||e.isIdentifier(l.name)&&Re(l.expression,!0))||Zt(l,ee)}e.isBindableStaticAccessExpression=ft;function Zt(l,ee){return Rr(l)&&(!ee&&l.expression.kind===108||qc(l.expression)||ft(l.expression,!0))}e.isBindableStaticElementAccessExpression=Zt;function Re(l,ee){return qc(l)||ft(l,ee)}e.isBindableStaticNameExpression=Re;function Qr(l){return e.isPropertyAccessExpression(l)?l.name:l.argumentExpression}e.getNameOrArgument=Qr;function vn(l){if(e.isCallExpression(l)){if(!as(l))return 0;var ee=l.arguments[0];return Gi(ee)||ko(ee)?8:ft(ee)&&Ia(ee)===\"prototype\"?9:7}return l.operatorToken.kind!==63||!ul(l.left)||Xn(Xi(l))?0:Re(l.left.expression,!0)&&Ia(l.left)===\"prototype\"&&e.isObjectLiteralExpression(Wo(l))?6:oo(l.left)}function Xn(l){return e.isVoidExpression(l)&&e.isNumericLiteral(l.expression)&&l.expression.text===\"0\"}function gi(l){if(e.isPropertyAccessExpression(l))return l.name;var ee=Si(l.argumentExpression);return e.isNumericLiteral(ee)||e.isStringLiteralLike(ee)?ee:l}e.getElementOrPropertyAccessArgumentExpressionOrName=gi;function Ia(l){var ee=gi(l);if(ee){if(e.isIdentifier(ee))return ee.escapedText;if(e.isStringLiteralLike(ee)||e.isNumericLiteral(ee))return e.escapeLeadingUnderscores(ee.text)}}e.getElementOrPropertyAccessName=Ia;function oo(l){if(l.expression.kind===108)return 4;if(ko(l))return 2;if(Re(l.expression,!0)){if(Ec(l.expression))return 3;for(var ee=l;!e.isIdentifier(ee.expression);)ee=ee.expression;var cr=ee.expression;if((cr.escapedText===\"exports\"||cr.escapedText===\"module\"&&Ia(ee)===\"exports\")&&ft(l))return 1;if(Re(l,!0)||e.isElementAccessExpression(l)&&kd(l))return 5}return 0}e.getAssignmentDeclarationPropertyAccessKind=oo;function Wo(l){for(;e.isBinaryExpression(l.right);)l=l.right;return l.right}e.getInitializerOfBinaryExpression=Wo;function Ir(l){return e.isBinaryExpression(l)&&es(l)===3}e.isPrototypePropertyAssignment=Ir;function Us(l){return Be(l)&&l.parent&&l.parent.kind===237&&(!e.isElementAccessExpression(l)||Rr(l))&&!!e.getJSDocTypeTag(l.parent)}e.isSpecialPropertyDeclaration=Us;function il(l,ee){var cr=l.valueDeclaration;(!cr||!(ee.flags&8388608&&!(cr.flags&8388608))&&So(cr)&&!So(ee)||cr.kind!==ee.kind&&kr(cr))&&(l.valueDeclaration=ee)}e.setValueDeclaration=il;function Ml(l){if(!l||!l.valueDeclaration)return!1;var ee=l.valueDeclaration;return ee.kind===255||e.isVariableDeclaration(ee)&&ee.initializer&&e.isFunctionLike(ee.initializer)}e.isFunctionSymbol=Ml;function Co(l){var ee,cr,Ur;switch(l.kind){case 253:return l.initializer.arguments[0].text;case 265:return(ee=e.tryCast(l.moduleSpecifier,e.isStringLiteralLike))===null||ee===void 0?void 0:ee.text;case 264:return(Ur=e.tryCast((cr=e.tryCast(l.moduleReference,e.isExternalModuleReference))===null||cr===void 0?void 0:cr.expression,e.isStringLiteralLike))===null||Ur===void 0?void 0:Ur.text;default:e.Debug.assertNever(l)}}e.tryGetModuleSpecifierFromDeclaration=Co;function Vs(l){return Ql(l)||e.Debug.failBadSyntaxKind(l.parent)}e.importFromModuleSpecifier=Vs;function Ql(l){switch(l.parent.kind){case 265:case 271:return l.parent;case 276:return l.parent.parent;case 207:return tr(l.parent)||Jt(l.parent,!1)?l.parent:void 0;case 195:return e.Debug.assert(e.isStringLiteral(l)),e.tryCast(l.parent.parent,e.isImportTypeNode);default:return}}e.tryGetImportFromModuleSpecifier=Ql;function zl(l){switch(l.kind){case 265:case 271:return l.moduleSpecifier;case 264:return l.moduleReference.kind===276?l.moduleReference.expression:void 0;case 199:return Nr(l)?l.argument.literal:void 0;case 207:return l.arguments[0];case 260:return l.name.kind===10?l.name:void 0;default:return e.Debug.assertNever(l)}}e.getExternalModuleName=zl;function uc(l){switch(l.kind){case 265:return l.importClause&&e.tryCast(l.importClause.namedBindings,e.isNamespaceImport);case 264:return l;case 271:return l.exportClause&&e.tryCast(l.exportClause,e.isNamespaceExport);default:return e.Debug.assertNever(l)}}e.getNamespaceDeclarationNode=uc;function cu(l){return l.kind===265&&!!l.importClause&&!!l.importClause.name}e.isDefaultImport=cu;function no(l,ee){if(l.name){var cr=ee(l);if(cr)return cr}if(l.namedBindings){var cr=e.isNamespaceImport(l.namedBindings)?ee(l.namedBindings):e.forEach(l.namedBindings.elements,ee);if(cr)return cr}}e.forEachImportClauseDeclaration=no;function ql(l){if(l)switch(l.kind){case 163:case 168:case 167:case 295:case 294:case 166:case 165:return l.questionToken!==void 0}return!1}e.hasQuestionToken=ql;function fc(l){var ee=e.isJSDocFunctionType(l)?e.firstOrUndefined(l.parameters):void 0,cr=e.tryCast(ee&&ee.name,e.isIdentifier);return!!cr&&cr.escapedText===\"new\"}e.isJSDocConstructSignature=fc;function Ws(l){return l.kind===343||l.kind===336||l.kind===337}e.isJSDocTypeAlias=Ws;function xc(l){return Ws(l)||e.isTypeAliasDeclaration(l)}e.isTypeAlias=xc;function Ic(l){return e.isExpressionStatement(l)&&e.isBinaryExpression(l.expression)&&l.expression.operatorToken.kind===63?Xi(l.expression):void 0}function La(l){return e.isExpressionStatement(l)&&e.isBinaryExpression(l.expression)&&es(l.expression)!==0&&e.isBinaryExpression(l.expression.right)&&(l.expression.right.operatorToken.kind===56||l.expression.right.operatorToken.kind===60)?l.expression.right.right:void 0}function uu(l){switch(l.kind){case 236:var ee=dc(l);return ee&&ee.initializer;case 166:return l.initializer;case 294:return l.initializer}}e.getSingleInitializerOfVariableStatementOrPropertyDeclaration=uu;function dc(l){return e.isVariableStatement(l)?e.firstOrUndefined(l.declarationList.declarations):void 0}e.getSingleVariableOfVariableStatement=dc;function Nc(l){return e.isModuleDeclaration(l)&&l.body&&l.body.kind===260?l.body:void 0}function wr(l,ee){var cr;en(l)&&e.hasInitializer(l)&&e.hasJSDocNodes(l.initializer)&&(cr=e.addRange(cr,$r(l,e.last(l.initializer.jsDoc))));for(var Ur=l;Ur&&Ur.parent;){if(e.hasJSDocNodes(Ur)&&(cr=e.addRange(cr,$r(l,e.last(Ur.jsDoc)))),Ur.kind===163){cr=e.addRange(cr,(ee?e.getJSDocParameterTagsNoCache:e.getJSDocParameterTags)(Ur));break}if(Ur.kind===162){cr=e.addRange(cr,(ee?e.getJSDocTypeParameterTagsNoCache:e.getJSDocTypeParameterTags)(Ur));break}Ur=Kt(Ur)}return cr||e.emptyArray}e.getJSDocCommentsAndTags=wr;function $r(l,ee){if(e.isJSDoc(ee)){var cr=e.filter(ee.tags,function(Ur){return Lt(l,Ur)});return ee.tags===cr?[ee]:cr}return Lt(l,ee)?[ee]:void 0}function Lt(l,ee){return!e.isJSDocTypeTag(ee)||!ee.parent||!e.isJSDoc(ee.parent)||!e.isParenthesizedExpression(ee.parent.parent)||ee.parent.parent===l}function Kt(l){var ee=l.parent;if(ee.kind===294||ee.kind===270||ee.kind===166||ee.kind===237&&l.kind===205||ee.kind===246||Nc(ee)||e.isBinaryExpression(l)&&l.operatorToken.kind===63)return ee;if(ee.parent&&(dc(ee.parent)===l||e.isBinaryExpression(ee)&&ee.operatorToken.kind===63))return ee.parent;if(ee.parent&&ee.parent.parent&&(dc(ee.parent.parent)||uu(ee.parent.parent)===l||La(ee.parent.parent)))return ee.parent.parent}e.getNextJSDocCommentLocation=Kt;function pn(l){if(l.symbol)return l.symbol;if(!!e.isIdentifier(l.name)){var ee=l.name.escapedText,cr=kn(l);if(!!cr){var Ur=e.find(cr.parameters,function(Nt){return Nt.name.kind===79&&Nt.name.escapedText===ee});return Ur&&Ur.symbol}}}e.getParameterSymbolFromJSDoc=pn;function fn(l){if(e.isJSDoc(l.parent)&&l.parent.tags){var ee=e.find(l.parent.tags,Ws);if(ee)return ee}return kn(l)}e.getEffectiveContainerForJSDocTemplateTag=fn;function kn(l){var ee=Kn(l);return ee&&e.isFunctionLike(ee)?ee:void 0}e.getHostSignatureFromJSDoc=kn;function Kn(l){var ee=Fa(l);if(ee)return La(ee)||Ic(ee)||uu(ee)||dc(ee)||Nc(ee)||ee}e.getEffectiveJSDocHost=Kn;function Fa(l){var ee=ua(l);if(!!ee){var cr=ee.parent;if(cr&&cr.jsDoc&&ee===e.lastOrUndefined(cr.jsDoc))return cr}}e.getJSDocHost=Fa;function ua(l){return e.findAncestor(l.parent,e.isJSDoc)}e.getJSDocRoot=ua;function le(l){var ee=l.name.escapedText,cr=l.parent.parent.parent.typeParameters;return cr&&e.find(cr,function(Ur){return Ur.name.escapedText===ee})}e.getTypeParameterFromJsDoc=le;function rr(l){var ee=e.lastOrUndefined(l.parameters);return!!ee&&yr(ee)}e.hasRestParameter=rr;function yr(l){var ee=e.isJSDocParameterTag(l)?l.typeExpression&&l.typeExpression.type:l.type;return l.dotDotDotToken!==void 0||!!ee&&ee.kind===316}e.isRestParameter=yr;function ct(l){return!!l.typeArguments}e.hasTypeArguments=ct,function(l){l[l.None=0]=\"None\",l[l.Definite=1]=\"Definite\",l[l.Compound=2]=\"Compound\"}(e.AssignmentKind||(e.AssignmentKind={}));function jt(l){for(var ee=l.parent;;){switch(ee.kind){case 220:var cr=ee.operatorToken.kind;return ac(cr)&&ee.left===l?cr===63||du(cr)?1:2:0;case 218:case 219:var Ur=ee.operator;return Ur===45||Ur===46?2:0;case 242:case 243:return ee.initializer===l?1:0;case 211:case 203:case 224:case 229:l=ee;break;case 296:l=ee.parent;break;case 295:if(ee.name!==l)return 0;l=ee.parent;break;case 294:if(ee.name===l)return 0;l=ee.parent;break;default:return 0}ee=l.parent}}e.getAssignmentTargetKind=jt;function yn(l){return jt(l)!==0}e.isAssignmentTarget=yn;function ha(l){switch(l.kind){case 234:case 236:case 247:case 238:case 248:case 262:case 288:case 289:case 249:case 241:case 242:case 243:case 239:case 240:case 251:case 291:return!0}return!1}e.isNodeWithPossibleHoistedDeclaration=ha;function ri(l){return e.isFunctionExpression(l)||e.isArrowFunction(l)||e.isMethodOrAccessor(l)||e.isFunctionDeclaration(l)||e.isConstructorDeclaration(l)}e.isValueSignatureDeclaration=ri;function Ta(l,ee){for(;l&&l.kind===ee;)l=l.parent;return l}function Ya(l){return Ta(l,190)}e.walkUpParenthesizedTypes=Ya;function fi(l){return Ta(l,211)}e.walkUpParenthesizedExpressions=fi;function ci(l){for(var ee;l&&l.kind===190;)ee=l,l=l.parent;return[ee,l]}e.walkUpParenthesizedTypesAndGetParentAndChild=ci;function Si(l,ee){var cr=ee?17:1;return e.skipOuterExpressions(l,cr)}e.skipParentheses=Si;function Do(l){return l.kind!==205&&l.kind!==206?!1:(l=fi(l.parent),l&&l.kind===214)}e.isDeleteTarget=Do;function bo(l,ee){for(;l;){if(l===ee)return!0;l=l.parent}return!1}e.isNodeDescendantOf=bo;function Ns(l){return!e.isSourceFile(l)&&!e.isBindingPattern(l)&&e.isDeclaration(l.parent)&&l.parent.name===l}e.isDeclarationName=Ns;function Ys(l){var ee=l.parent;switch(l.kind){case 10:case 14:case 8:if(e.isComputedPropertyName(ee))return ee.parent;case 79:if(e.isDeclaration(ee))return ee.name===l?ee:void 0;if(e.isQualifiedName(ee)){var cr=ee.parent;return e.isJSDocParameterTag(cr)&&cr.name===ee?cr:void 0}else{var Ur=ee.parent;return e.isBinaryExpression(Ur)&&es(Ur)!==0&&(Ur.left.symbol||Ur.symbol)&&e.getNameOfDeclaration(Ur)===l?Ur:void 0}case 80:return e.isDeclaration(ee)&&ee.name===l?ee:void 0;default:return}}e.getDeclarationFromName=Ys;function Nu(l){return ks(l)&&l.parent.kind===161&&e.isDeclaration(l.parent.parent)}e.isLiteralComputedPropertyDeclarationName=Nu;function gf(l){var ee=l.parent;switch(ee.kind){case 166:case 165:case 168:case 167:case 171:case 172:case 297:case 294:case 205:return ee.name===l;case 160:return ee.right===l;case 202:case 269:return ee.propertyName===l;case 274:case 284:return!0}return!1}e.isIdentifierName=gf;function Zl(l){return l.kind===264||l.kind===263||l.kind===266&&!!l.name||l.kind===267||l.kind===273||l.kind===269||l.kind===274||l.kind===270&&$l(l)||e.isBinaryExpression(l)&&es(l)===2&&$l(l)||e.isPropertyAccessExpression(l)&&e.isBinaryExpression(l.parent)&&l.parent.left===l&&l.parent.operatorToken.kind===63&&Mr(l.parent.right)||l.kind===295||l.kind===294&&Mr(l.initializer)}e.isAliasSymbolDeclaration=Zl;function jc(l){switch(l.parent.kind){case 266:case 269:case 267:case 274:case 270:case 264:return l.parent;case 160:do l=l.parent;while(l.parent.kind===160);return jc(l)}}e.getAliasDeclarationFromName=jc;function Mr(l){return qc(l)||e.isClassExpression(l)}e.isAliasableExpression=Mr;function $l(l){var ee=pc(l);return Mr(ee)}e.exportAssignmentIsAlias=$l;function pc(l){return e.isExportAssignment(l)?l.expression:l.right}e.getExportAssignmentExpression=pc;function ku(l){return l.kind===295?l.name:l.kind===294?l.initializer:l.parent.right}e.getPropertyAssignmentAliasLikeExpression=ku;function ol(l){var ee=kc(l);if(ee&&Be(l)){var cr=e.getJSDocAugmentsTag(l);if(cr)return cr.class}return ee}e.getEffectiveBaseTypeNode=ol;function kc(l){var ee=hf(l.heritageClauses,94);return ee&&ee.types.length>0?ee.types[0]:void 0}e.getClassExtendsHeritageElement=kc;function vf(l){if(Be(l))return e.getJSDocImplementsTags(l).map(function(cr){return cr.class});var ee=hf(l.heritageClauses,117);return ee==null?void 0:ee.types}e.getEffectiveImplementsTypeNodes=vf;function fo(l){return e.isInterfaceDeclaration(l)?Zf(l)||e.emptyArray:e.isClassLike(l)&&e.concatenate(e.singleElementArray(ol(l)),vf(l))||e.emptyArray}e.getAllSuperTypeNodes=fo;function Zf(l){var ee=hf(l.heritageClauses,94);return ee?ee.types:void 0}e.getInterfaceBaseTypeNodes=Zf;function hf(l,ee){if(l)for(var cr=0,Ur=l;cr<Ur.length;cr++){var Nt=Ur[cr];if(Nt.token===ee)return Nt}}e.getHeritageClause=hf;function Nd(l,ee){for(;l;){if(l.kind===ee)return l;l=l.parent}}e.getAncestor=Nd;function _s(l){return 81<=l&&l<=159}e.isKeyword=_s;function Hc(l){return 126<=l&&l<=159}e.isContextualKeyword=Hc;function Jc(l){return _s(l)&&!Hc(l)}e.isNonContextualKeyword=Jc;function zp(l){return 117<=l&&l<=125}e.isFutureReservedKeyword=zp;function dl(l){var ee=e.stringToToken(l);return ee!==void 0&&Jc(ee)}e.isStringANonContextualKeyword=dl;function qp(l){var ee=e.stringToToken(l);return ee!==void 0&&_s(ee)}e.isStringAKeyword=qp;function Rs(l){var ee=l.originalKeywordKind;return!!ee&&!Hc(ee)}e.isIdentifierANonContextualKeyword=Rs;function Ja(l){return 2<=l&&l<=7}e.isTrivia=Ja,function(l){l[l.Normal=0]=\"Normal\",l[l.Generator=1]=\"Generator\",l[l.Async=2]=\"Async\",l[l.Invalid=4]=\"Invalid\",l[l.AsyncGenerator=3]=\"AsyncGenerator\"}(e.FunctionFlags||(e.FunctionFlags={}));function Zn(l){if(!l)return 4;var ee=0;switch(l.kind){case 255:case 212:case 168:l.asteriskToken&&(ee|=1);case 213:rc(l,256)&&(ee|=2);break}return l.body||(ee|=4),ee}e.getFunctionFlags=Zn;function Oc(l){switch(l.kind){case 255:case 212:case 213:case 168:return l.body!==void 0&&l.asteriskToken===void 0&&rc(l,256)}return!1}e.isAsyncFunction=Oc;function ks(l){return e.isStringLiteralLike(l)||e.isNumericLiteral(l)}e.isStringOrNumericLiteralLike=ks;function yf(l){return e.isPrefixUnaryExpression(l)&&(l.operator===39||l.operator===40)&&e.isNumericLiteral(l.operand)}e.isSignedNumericLiteral=yf;function Ou(l){var ee=e.getNameOfDeclaration(l);return!!ee&&kd(ee)}e.hasDynamicName=Ou;function kd(l){if(!(l.kind===161||l.kind===206))return!1;var ee=e.isElementAccessExpression(l)?Si(l.argumentExpression):l.expression;return!ks(ee)&&!yf(ee)}e.isDynamicName=kd;function Uo(l){switch(l.kind){case 79:case 80:return l.escapedText;case 10:case 8:return e.escapeLeadingUnderscores(l.text);case 161:var ee=l.expression;return ks(ee)?e.escapeLeadingUnderscores(ee.text):yf(ee)?ee.operator===40?e.tokenToString(ee.operator)+ee.operand.text:ee.operand.text:void 0;default:return e.Debug.assertNever(l)}}e.getPropertyNameForPropertyNameNode=Uo;function $f(l){switch(l.kind){case 79:case 10:case 14:case 8:return!0;default:return!1}}e.isPropertyNameLiteral=$f;function Od(l){return e.isMemberName(l)?e.idText(l):l.text}e.getTextOfIdentifierOrLiteral=Od;function Rd(l){return e.isMemberName(l)?l.escapedText:e.escapeLeadingUnderscores(l.text)}e.getEscapedTextOfIdentifierOrLiteral=Rd;function Xp(l){return\"__@\".concat(e.getSymbolId(l),\"@\").concat(l.escapedName)}e.getPropertyNameForUniqueESSymbol=Xp;function yp(l,ee){return\"__#\".concat(e.getSymbolId(l),\"@\").concat(ee)}e.getSymbolNameForPrivateIdentifier=yp;function Xl(l){return e.startsWith(l.escapedName,\"__@\")}e.isKnownSymbol=Xl;function C_(l){return e.startsWith(l.escapedName,\"__#\")}e.isPrivateIdentifierSymbol=C_;function ed(l){return l.kind===79&&l.escapedText===\"Symbol\"}e.isESSymbolIdentifier=ed;function bp(l){return l.escapedText===\"push\"||l.escapedText===\"unshift\"}e.isPushOrUnshiftIdentifier=bp;function wd(l){var ee=Md(l);return ee.kind===163}e.isParameterDeclaration=wd;function Md(l){for(;l.kind===202;)l=l.parent.parent;return l}e.getRootDeclaration=Md;function Pd(l){var ee=l.kind;return ee===170||ee===212||ee===255||ee===213||ee===168||ee===171||ee===172||ee===260||ee===303}e.nodeStartsNewLexicalEnvironment=Pd;function Fd(l){return Wg(l.pos)||Wg(l.end)}e.nodeIsSynthesized=Fd;function Ep(l){return e.getParseTreeNode(l,e.isSourceFile)||l}e.getOriginalSourceFile=Ep,function(l){l[l.Left=0]=\"Left\",l[l.Right=1]=\"Right\"}(e.Associativity||(e.Associativity={}));function Yp(l){var ee=Bd(l),cr=l.kind===208&&l.arguments!==void 0;return Gd(l.kind,ee,cr)}e.getExpressionAssociativity=Yp;function Gd(l,ee,cr){switch(l){case 208:return cr?0:1;case 218:case 215:case 216:case 214:case 217:case 221:case 223:return 1;case 220:switch(ee){case 42:case 63:case 64:case 65:case 67:case 66:case 68:case 69:case 70:case 71:case 72:case 73:case 78:case 74:case 75:case 76:case 77:return 1}}return 0}e.getOperatorAssociativity=Gd;function Qp(l){var ee=Bd(l),cr=l.kind===208&&l.arguments!==void 0;return fu(l.kind,ee,cr)}e.getExpressionPrecedence=Qp;function Bd(l){return l.kind===220?l.operatorToken.kind:l.kind===218||l.kind===219?l.operator:l.kind}e.getOperator=Bd,function(l){l[l.Comma=0]=\"Comma\",l[l.Spread=1]=\"Spread\",l[l.Yield=2]=\"Yield\",l[l.Assignment=3]=\"Assignment\",l[l.Conditional=4]=\"Conditional\",l[l.Coalesce=4]=\"Coalesce\",l[l.LogicalOR=5]=\"LogicalOR\",l[l.LogicalAND=6]=\"LogicalAND\",l[l.BitwiseOR=7]=\"BitwiseOR\",l[l.BitwiseXOR=8]=\"BitwiseXOR\",l[l.BitwiseAND=9]=\"BitwiseAND\",l[l.Equality=10]=\"Equality\",l[l.Relational=11]=\"Relational\",l[l.Shift=12]=\"Shift\",l[l.Additive=13]=\"Additive\",l[l.Multiplicative=14]=\"Multiplicative\",l[l.Exponentiation=15]=\"Exponentiation\",l[l.Unary=16]=\"Unary\",l[l.Update=17]=\"Update\",l[l.LeftHandSide=18]=\"LeftHandSide\",l[l.Member=19]=\"Member\",l[l.Primary=20]=\"Primary\",l[l.Highest=20]=\"Highest\",l[l.Lowest=0]=\"Lowest\",l[l.Invalid=-1]=\"Invalid\"}(e.OperatorPrecedence||(e.OperatorPrecedence={}));function fu(l,ee,cr){switch(l){case 349:return 0;case 224:return 1;case 223:return 2;case 221:return 4;case 220:switch(ee){case 27:return 0;case 63:case 64:case 65:case 67:case 66:case 68:case 69:case 70:case 71:case 72:case 73:case 78:case 74:case 75:case 76:case 77:return 3;default:return _c(ee)}case 210:case 229:case 218:case 215:case 216:case 214:case 217:return 16;case 219:return 17;case 207:return 18;case 208:return cr?19:18;case 209:case 205:case 206:case 230:return 19;case 228:return 11;case 108:case 106:case 79:case 80:case 104:case 110:case 95:case 8:case 9:case 10:case 203:case 204:case 212:case 213:case 225:case 13:case 14:case 222:case 211:case 226:case 277:case 278:case 281:return 20;default:return-1}}e.getOperatorPrecedence=fu;function _c(l){switch(l){case 60:return 4;case 56:return 5;case 55:return 6;case 51:return 7;case 52:return 8;case 50:return 9;case 34:case 35:case 36:case 37:return 10;case 29:case 31:case 32:case 33:case 102:case 101:case 127:return 11;case 47:case 48:case 49:return 12;case 39:case 40:return 13;case 41:case 43:case 44:return 14;case 42:return 15}return-1}e.getBinaryOperatorPrecedence=_c;function mc(l){return e.filter(l,function(ee){switch(ee.kind){case 287:return!!ee.expression;case 11:return!ee.containsOnlyTriviaWhiteSpaces;default:return!0}})}e.getSemanticJsxChildren=mc;function ec(){var l=[],ee=[],cr=new e.Map,Ur=!1;return{add:xn,lookup:Nt,getGlobalDiagnostics:Bn,getDiagnostics:ga};function Nt(Ei){var li;if(Ei.file?li=cr.get(Ei.file.fileName):li=l,!!li){var go=e.binarySearch(li,Ei,e.identity,mu);if(go>=0)return li[go]}}function xn(Ei){var li;Ei.file?(li=cr.get(Ei.file.fileName),li||(li=[],cr.set(Ei.file.fileName,li),e.insertSorted(ee,Ei.file.fileName,e.compareStringsCaseSensitive))):(Ur&&(Ur=!1,l=l.slice()),li=l),e.insertSorted(li,Ei,rm)}function Bn(){return Ur=!0,l}function ga(Ei){if(Ei)return cr.get(Ei)||[];var li=e.flatMapToMutable(ee,function(go){return cr.get(go)});return l.length&&li.unshift.apply(li,l),li}}e.createDiagnosticCollection=ec;var Ud=/\\$\\{/g;function bf(l){return l.replace(Ud,\"\\\\${\")}function Tp(l){return l&&!!(e.isNoSubstitutionTemplateLiteral(l)?l.templateFlags:l.head.templateFlags||e.some(l.templateSpans,function(ee){return!!ee.literal.templateFlags}))}e.hasInvalidEscape=Tp;var Sp=/[\\\\\\\"\\u0000-\\u001f\\t\\v\\f\\b\\r\\n\\u2028\\u2029\\u0085]/g,Ef=/[\\\\\\'\\u0000-\\u001f\\t\\v\\f\\b\\r\\n\\u2028\\u2029\\u0085]/g,Zp=/\\r\\n|[\\\\\\`\\u0000-\\u001f\\t\\v\\f\\b\\r\\u2028\\u2029\\u0085]/g,Vd=new e.Map(e.getEntries({\"\t\":\"\\\\t\",\"\\v\":\"\\\\v\",\"\\f\":\"\\\\f\",\"\\b\":\"\\\\b\",\"\\r\":\"\\\\r\",\"\\n\":\"\\\\n\",\"\\\\\":\"\\\\\\\\\",'\"':'\\\\\"',\"'\":\"\\\\'\",\"`\":\"\\\\`\",\"\\u2028\":\"\\\\u2028\",\"\\u2029\":\"\\\\u2029\",\"\\x85\":\"\\\\u0085\",\"\\r\\n\":\"\\\\r\\\\n\"}));function rd(l){var ee=l.toString(16).toUpperCase(),cr=(\"0000\"+ee).slice(-4);return\"\\\\u\"+cr}function td(l,ee,cr){if(l.charCodeAt(0)===0){var Ur=cr.charCodeAt(ee+l.length);return Ur>=48&&Ur<=57?\"\\\\x00\":\"\\\\0\"}return Vd.get(l)||rd(l.charCodeAt(0))}function Ru(l,ee){var cr=ee===96?Zp:ee===39?Ef:Sp;return l.replace(cr,td)}e.escapeString=Ru;var wu=/[^\\u0000-\\u007F]/g;function Mu(l,ee){return l=Ru(l,ee),wu.test(l)?l.replace(wu,function(cr){return rd(cr.charCodeAt(0))}):l}e.escapeNonAsciiString=Mu;var js=/[\\\"\\u0000-\\u001f\\u2028\\u2029\\u0085]/g,gc=/[\\'\\u0000-\\u001f\\u2028\\u2029\\u0085]/g,nd=new e.Map(e.getEntries({'\"':\"&quot;\",\"'\":\"&apos;\"}));function x_(l){var ee=l.toString(16).toUpperCase();return\"&#x\"+ee+\";\"}function ad(l){return l.charCodeAt(0)===0?\"&#0;\":nd.get(l)||x_(l.charCodeAt(0))}function Pu(l,ee){var cr=ee===39?gc:js;return l.replace(cr,ad)}e.escapeJsxAttributeString=Pu;function I_(l){var ee=l.length;return ee>=2&&l.charCodeAt(0)===l.charCodeAt(ee-1)&&vc(l.charCodeAt(0))?l.substring(1,ee-1):l}e.stripQuotes=I_;function vc(l){return l===39||l===34||l===96}function Pl(l){var ee=l.charCodeAt(0);return ee>=97&&ee<=122||e.stringContains(l,\"-\")||e.stringContains(l,\":\")}e.isIntrinsicJsxName=Pl;var Sl=[\"\",\"    \"];function Fl(l){for(var ee=Sl[1],cr=Sl.length;cr<=l;cr++)Sl.push(Sl[cr-1]+ee);return Sl[l]}e.getIndentString=Fl;function pl(){return Sl[1].length}e.getIndentSize=pl;function Dp(l){var ee,cr,Ur,Nt,xn,Bn=!1;function ga(Eo){var zu=e.computeLineStarts(Eo);zu.length>1?(Nt=Nt+zu.length-1,xn=ee.length-Eo.length+e.last(zu),Ur=xn-ee.length===0):Ur=!1}function Ei(Eo){Eo&&Eo.length&&(Ur&&(Eo=Fl(cr)+Eo,Ur=!1),ee+=Eo,ga(Eo))}function li(Eo){Eo&&(Bn=!1),Ei(Eo)}function go(Eo){Eo&&(Bn=!0),Ei(Eo)}function wi(){ee=\"\",cr=0,Ur=!0,Nt=0,xn=0,Bn=!1}function Is(Eo){Eo!==void 0&&(ee+=Eo,ga(Eo),Bn=!1)}function Ks(Eo){Eo&&Eo.length&&li(Eo)}function hs(Eo){(!Ur||Eo)&&(ee+=l,Nt++,xn=ee.length,Ur=!0,Bn=!1)}function ic(){return Ur?ee.length:ee.length+l.length}return wi(),{write:li,rawWrite:Is,writeLiteral:Ks,writeLine:hs,increaseIndent:function(){cr++},decreaseIndent:function(){cr--},getIndent:function(){return cr},getTextPos:function(){return ee.length},getLine:function(){return Nt},getColumn:function(){return Ur?cr*pl():ee.length-xn},getText:function(){return ee},isAtStartOfLine:function(){return Ur},hasTrailingComment:function(){return Bn},hasTrailingWhitespace:function(){return!!ee.length&&e.isWhiteSpaceLike(ee.charCodeAt(ee.length-1))},clear:wi,reportInaccessibleThisError:e.noop,reportPrivateInBaseOfClassExpression:e.noop,reportInaccessibleUniqueSymbolError:e.noop,trackSymbol:function(){return!1},writeKeyword:li,writeOperator:li,writeParameter:li,writeProperty:li,writePunctuation:li,writeSpace:li,writeStringLiteral:li,writeSymbol:function(Eo,zu){return li(Eo)},writeTrailingSemicolon:li,writeComment:go,getTextPosWithWriteLine:ic}}e.createTextWriter=Dp;function Tf(l){var ee=!1;function cr(){ee&&(l.writeTrailingSemicolon(\";\"),ee=!1)}return Rn(Rn({},l),{writeTrailingSemicolon:function(){ee=!0},writeLiteral:function(Ur){cr(),l.writeLiteral(Ur)},writeStringLiteral:function(Ur){cr(),l.writeStringLiteral(Ur)},writeSymbol:function(Ur,Nt){cr(),l.writeSymbol(Ur,Nt)},writePunctuation:function(Ur){cr(),l.writePunctuation(Ur)},writeKeyword:function(Ur){cr(),l.writeKeyword(Ur)},writeOperator:function(Ur){cr(),l.writeOperator(Ur)},writeParameter:function(Ur){cr(),l.writeParameter(Ur)},writeSpace:function(Ur){cr(),l.writeSpace(Ur)},writeProperty:function(Ur){cr(),l.writeProperty(Ur)},writeComment:function(Ur){cr(),l.writeComment(Ur)},writeLine:function(){cr(),l.writeLine()},increaseIndent:function(){cr(),l.increaseIndent()},decreaseIndent:function(){cr(),l.decreaseIndent()}})}e.getTrailingSemicolonDeferringWriter=Tf;function Wd(l){return l.useCaseSensitiveFileNames?l.useCaseSensitiveFileNames():!1}e.hostUsesCaseSensitiveFileNames=Wd;function id(l){return e.createGetCanonicalFileName(Wd(l))}e.hostGetCanonicalFileName=id;function mo(l,ee,cr){return ee.moduleName||ms(l,ee.fileName,cr&&cr.fileName)}e.getResolvedExternalModuleName=mo;function Dl(l,ee){return l.getCanonicalFileName(e.getNormalizedAbsolutePath(ee,l.getCurrentDirectory()))}function wo(l,ee,cr){var Ur=ee.getExternalModuleFileFromDeclaration(cr);if(!(!Ur||Ur.isDeclarationFile)){var Nt=zl(cr);if(!(Nt&&e.isStringLiteralLike(Nt)&&!e.pathIsRelative(Nt.text)&&Dl(l,Ur.path).indexOf(Dl(l,e.ensureTrailingDirectorySeparator(l.getCommonSourceDirectory())))===-1))return mo(l,Ur)}}e.getExternalModuleNameFromDeclaration=wo;function ms(l,ee,cr){var Ur=function(Ei){return l.getCanonicalFileName(Ei)},Nt=e.toPath(cr?e.getDirectoryPath(cr):l.getCommonSourceDirectory(),l.getCurrentDirectory(),Ur),xn=e.getNormalizedAbsolutePath(ee,l.getCurrentDirectory()),Bn=e.getRelativePathToDirectoryOrUrl(Nt,xn,Nt,Ur,!1),ga=Um(Bn);return cr?e.ensurePathIsNonModuleName(ga):ga}e.getExternalModuleNameFromPath=ms;function $p(l,ee,cr){var Ur=ee.getCompilerOptions(),Nt;return Ur.outDir?Nt=Um(sl(l,ee,Ur.outDir)):Nt=Um(l),Nt+cr}e.getOwnEmitOutputFilePath=$p;function Yl(l,ee){return od(l,ee.getCompilerOptions(),ee.getCurrentDirectory(),ee.getCommonSourceDirectory(),function(cr){return ee.getCanonicalFileName(cr)})}e.getDeclarationEmitOutputFilePath=Yl;function od(l,ee,cr,Ur,Nt){var xn=ee.declarationDir||ee.outDir,Bn=xn?Dn(l,xn,cr,Ur,Nt):l,ga=Ln(Bn);return Um(Bn)+ga}e.getDeclarationEmitOutputFilePathWorker=od;function Ln(l){return e.fileExtensionIsOneOf(l,[\".mjs\",\".mts\"])?\".d.mts\":e.fileExtensionIsOneOf(l,[\".cjs\",\".cts\"])?\".d.cts\":e.fileExtensionIsOneOf(l,[\".json\"])?\".json.d.ts\":\".d.ts\"}e.getDeclarationEmitExtensionForPath=Ln;function us(l){return l.outFile||l.out}e.outFile=us;function ii(l,ee){var cr,Ur;if(!!l.paths)return(cr=l.baseUrl)!==null&&cr!==void 0?cr:e.Debug.checkDefined(l.pathsBasePath||((Ur=ee.getCurrentDirectory)===null||Ur===void 0?void 0:Ur.call(ee)),\"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.\")}e.getPathsBasePath=ii;function Rc(l,ee,cr){var Ur=l.getCompilerOptions();if(us(Ur)){var Nt=vd(Ur),xn=Ur.emitDeclarationOnly||Nt===e.ModuleKind.AMD||Nt===e.ModuleKind.System;return e.filter(l.getSourceFiles(),function(ga){return(xn||!e.isExternalModule(ga))&&sd(ga,l,cr)})}else{var Bn=ee===void 0?l.getSourceFiles():[ee];return e.filter(Bn,function(ga){return sd(ga,l,cr)})}}e.getSourceFilesToEmit=Rc;function sd(l,ee,cr){var Ur=ee.getCompilerOptions();return!(Ur.noEmitForJsFiles&&mr(l))&&!l.isDeclarationFile&&!ee.isSourceFileFromExternalLibrary(l)&&(cr||!(Cr(l)&&ee.getResolvedProjectReferenceToRedirect(l.fileName))&&!ee.isSourceOfProjectReferenceRedirect(l.fileName))}e.sourceFileMayBeEmitted=sd;function sl(l,ee,cr){return Dn(l,cr,ee.getCurrentDirectory(),ee.getCommonSourceDirectory(),function(Ur){return ee.getCanonicalFileName(Ur)})}e.getSourceFilePathInNewDir=sl;function Dn(l,ee,cr,Ur,Nt){var xn=e.getNormalizedAbsolutePath(l,cr),Bn=Nt(xn).indexOf(Nt(Ur))===0;return xn=Bn?xn.substring(Ur.length):xn,e.combinePaths(ee,xn)}e.getSourceFilePathInNewDirWorker=Dn;function N_(l,ee,cr,Ur,Nt,xn){l.writeFile(cr,Ur,Nt,function(Bn){ee.add(nf(e.Diagnostics.Could_not_write_file_0_Colon_1,cr,Bn))},xn)}e.writeFile=N_;function rs(l,ee,cr){if(l.length>e.getRootLength(l)&&!cr(l)){var Ur=e.getDirectoryPath(l);rs(Ur,ee,cr),ee(l)}}function fs(l,ee,cr,Ur,Nt,xn){try{Ur(l,ee,cr)}catch{rs(e.getDirectoryPath(e.normalizePath(l)),Nt,xn),Ur(l,ee,cr)}}e.writeFileEnsuringDirectories=fs;function wc(l,ee){var cr=e.getLineStarts(l);return e.computeLineOfPosition(cr,ee)}e.getLineOfLocalPosition=wc;function Hs(l,ee){return e.computeLineOfPosition(l,ee)}e.getLineOfLocalPositionFromLineMap=Hs;function Sf(l){return e.find(l.members,function(ee){return e.isConstructorDeclaration(ee)&&P(ee.body)})}e.getFirstConstructorWithBody=Sf;function ws(l){if(l&&l.parameters.length>0){var ee=l.parameters.length===2&&Df(l.parameters[0]);return l.parameters[ee?1:0]}}e.getSetAccessorValueParameter=ws;function Mc(l){var ee=ws(l);return ee&&ee.type}e.getSetAccessorTypeAnnotationNode=Mc;function Qu(l){if(l.parameters.length&&!e.isJSDocSignature(l)){var ee=l.parameters[0];if(Df(ee))return ee}}e.getThisParameter=Qu;function Df(l){return hc(l.name)}e.parameterIsThisKeyword=Df;function hc(l){return!!l&&l.kind===79&&ll(l)}e.isThisIdentifier=hc;function Lf(l){if(!hc(l))return!1;for(;e.isQualifiedName(l.parent)&&l.parent.left===l;)l=l.parent;return l.parent.kind===180}e.isThisInTypeQuery=Lf;function ll(l){return l.originalKeywordKind===108}e.identifierIsThisKeyword=ll;function e_(l,ee){var cr,Ur,Nt,xn;return Ou(ee)?(cr=ee,ee.kind===171?Nt=ee:ee.kind===172?xn=ee:e.Debug.fail(\"Accessor has wrong kind\")):e.forEach(l,function(Bn){if(e.isAccessor(Bn)&&Zu(Bn)===Zu(ee)){var ga=Uo(Bn.name),Ei=Uo(ee.name);ga===Ei&&(cr?Ur||(Ur=Bn):cr=Bn,Bn.kind===171&&!Nt&&(Nt=Bn),Bn.kind===172&&!xn&&(xn=Bn))}}),{firstAccessor:cr,secondAccessor:Ur,getAccessor:Nt,setAccessor:xn}}e.getAllAccessorDeclarations=e_;function Fu(l){if(!(!Be(l)&&e.isFunctionDeclaration(l))){var ee=l.type;return ee||!Be(l)?ee:e.isJSDocPropertyLikeTag(l)?l.typeExpression&&l.typeExpression.type:e.getJSDocType(l)}}e.getEffectiveTypeAnnotationNode=Fu;function Af(l){return l.type}e.getTypeAnnotationNode=Af;function ld(l){return e.isJSDocSignature(l)?l.type&&l.type.typeExpression&&l.type.typeExpression.type:l.type||(Be(l)?e.getJSDocReturnType(l):void 0)}e.getEffectiveReturnTypeNode=ld;function cd(l){return e.flatMap(e.getJSDocTags(l),function(ee){return Cf(ee)?ee.typeParameters:void 0})}e.getJSDocTypeParameterDeclarations=cd;function Cf(l){return e.isJSDocTemplateTag(l)&&!(l.parent.kind===318&&l.parent.tags.some(Ws))}function yc(l){var ee=ws(l);return ee&&Fu(ee)}e.getEffectiveSetAccessorTypeAnnotationNode=yc;function ud(l,ee,cr,Ur){xf(l,ee,cr.pos,Ur)}e.emitNewLineBeforeLeadingComments=ud;function xf(l,ee,cr,Ur){Ur&&Ur.length&&cr!==Ur[0].pos&&Hs(l,cr)!==Hs(l,Ur[0].pos)&&ee.writeLine()}e.emitNewLineBeforeLeadingCommentsOfPosition=xf;function Gu(l,ee,cr,Ur){cr!==Ur&&Hs(l,cr)!==Hs(l,Ur)&&ee.writeLine()}e.emitNewLineBeforeLeadingCommentOfPosition=Gu;function Js(l,ee,cr,Ur,Nt,xn,Bn,ga){if(Ur&&Ur.length>0){Nt&&cr.writeSpace(\" \");for(var Ei=!1,li=0,go=Ur;li<go.length;li++){var wi=go[li];Ei&&(cr.writeSpace(\" \"),Ei=!1),ga(l,ee,cr,wi.pos,wi.end,Bn),wi.hasTrailingNewLine?cr.writeLine():Ei=!0}Ei&&xn&&cr.writeSpace(\" \")}}e.emitComments=Js;function Gl(l,ee,cr,Ur,Nt,xn,Bn){var ga,Ei;if(Bn?Nt.pos===0&&(ga=e.filter(e.getLeadingCommentRanges(l,Nt.pos),zu)):ga=e.getLeadingCommentRanges(l,Nt.pos),ga){for(var li=[],go=void 0,wi=0,Is=ga;wi<Is.length;wi++){var Ks=Is[wi];if(go){var hs=Hs(ee,go.end),ic=Hs(ee,Ks.pos);if(ic>=hs+2)break}li.push(Ks),go=Ks}if(li.length){var hs=Hs(ee,e.last(li).end),Eo=Hs(ee,e.skipTrivia(l,Nt.pos));Eo>=hs+2&&(ud(ee,cr,Nt,ga),Js(l,ee,cr,li,!1,!0,xn,Ur),Ei={nodePos:Nt.pos,detachedCommentEndPos:e.last(li).end})}}return Ei;function zu(c_){return U(l,c_.pos)}}e.emitDetachedComments=Gl;function Kc(l,ee,cr,Ur,Nt,xn){if(l.charCodeAt(Ur+1)===42)for(var Bn=e.computeLineAndCharacterOfPosition(ee,Ur),ga=ee.length,Ei=void 0,li=Ur,go=Bn.line;li<Nt;go++){var wi=go+1===ga?l.length+1:ee[go+1];if(li!==Ur){Ei===void 0&&(Ei=Ga(l,ee[Bn.line],Ur));var Is=cr.getIndent()*pl(),Ks=Is-Ei+Ga(l,li,wi);if(Ks>0){var hs=Ks%pl(),ic=Fl((Ks-hs)/pl());for(cr.rawWrite(ic);hs;)cr.rawWrite(\" \"),hs--}else cr.rawWrite(\"\")}fd(l,Nt,cr,xn,li,wi),li=wi}else cr.writeComment(l.substring(Ur,Nt))}e.writeCommentRange=Kc;function fd(l,ee,cr,Ur,Nt,xn){var Bn=Math.min(ee,xn-1),ga=e.trimString(l.substring(Nt,Bn));ga?(cr.writeComment(ga),Bn!==ee&&cr.writeLine()):cr.rawWrite(Ur)}function Ga(l,ee,cr){for(var Ur=0;ee<cr&&e.isWhiteSpaceSingleLine(l.charCodeAt(ee));ee++)l.charCodeAt(ee)===9?Ur+=pl()-Ur%pl():Ur++;return Ur}function wn(l){return jo(l)!==0}e.hasEffectiveModifiers=wn;function Ts(l){return Kd(l)!==0}e.hasSyntacticModifiers=Ts;function jd(l,ee){return!!$u(l,ee)}e.hasEffectiveModifier=jd;function rc(l,ee){return!!Qs(l,ee)}e.hasSyntacticModifier=rc;function Zu(l){return e.isClassElement(l)&&zc(l)||e.isClassStaticBlockDeclaration(l)}e.isStatic=Zu;function zc(l){return rc(l,32)}e.hasStaticModifier=zc;function Hd(l){return jd(l,16384)}e.hasOverrideModifier=Hd;function Ll(l){return rc(l,128)}e.hasAbstractModifier=Ll;function tc(l){return rc(l,2)}e.hasAmbientModifier=tc;function If(l){return jd(l,64)}e.hasEffectiveReadonlyModifier=If;function $u(l,ee){return jo(l)&ee}e.getSelectedEffectiveModifierFlags=$u;function Qs(l,ee){return Kd(l)&ee}e.getSelectedSyntacticModifierFlags=Qs;function Jd(l,ee,cr){return l.kind>=0&&l.kind<=159?0:(l.modifierFlagsCache&536870912||(l.modifierFlagsCache=Bu(l)|536870912),ee&&!(l.modifierFlagsCache&4096)&&(cr||Be(l))&&l.parent&&(l.modifierFlagsCache|=nc(l)|4096),l.modifierFlagsCache&-536875009)}function jo(l){return Jd(l,!0)}e.getEffectiveModifierFlags=jo;function Bl(l){return Jd(l,!0,!0)}e.getEffectiveModifierFlagsAlwaysIncludeJSDoc=Bl;function Kd(l){return Jd(l,!1)}e.getSyntacticModifierFlags=Kd;function nc(l){var ee=0;return!!l.parent&&!e.isParameter(l)&&(Be(l)&&(e.getJSDocPublicTagNoCache(l)&&(ee|=4),e.getJSDocPrivateTagNoCache(l)&&(ee|=8),e.getJSDocProtectedTagNoCache(l)&&(ee|=16),e.getJSDocReadonlyTagNoCache(l)&&(ee|=64),e.getJSDocOverrideTagNoCache(l)&&(ee|=16384)),e.getJSDocDeprecatedTagNoCache(l)&&(ee|=8192)),ee}function Nf(l){return Bu(l)|nc(l)}e.getEffectiveModifierFlagsNoCache=Nf;function Bu(l){var ee=dd(l.modifiers);return(l.flags&4||l.kind===79&&l.isInJSDocNamespace)&&(ee|=1),ee}e.getSyntacticModifierFlagsNoCache=Bu;function dd(l){var ee=0;if(l)for(var cr=0,Ur=l;cr<Ur.length;cr++){var Nt=Ur[cr];ee|=zd(Nt.kind)}return ee}e.modifiersToFlags=dd;function zd(l){switch(l){case 124:return 32;case 123:return 4;case 122:return 16;case 121:return 8;case 126:return 128;case 93:return 1;case 135:return 2;case 85:return 2048;case 88:return 512;case 131:return 256;case 144:return 64;case 158:return 16384}return 0}e.modifierToFlag=zd;function Al(l){return l?e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(l)):void 0}e.createModifiers=Al;function ts(l){return l===56||l===55||l===53}e.isLogicalOperator=ts;function du(l){return l===75||l===76||l===77}e.isLogicalOrCoalescingAssignmentOperator=du;function qd(l){return du(l.operatorToken.kind)}e.isLogicalOrCoalescingAssignmentExpression=qd;function ac(l){return l>=63&&l<=78}e.isAssignmentOperator=ac;function kf(l){var ee=Uu(l);return ee&&!ee.isImplements?ee.class:void 0}e.tryGetClassExtendingExpressionWithTypeArguments=kf;function Uu(l){return e.isExpressionWithTypeArguments(l)&&e.isHeritageClause(l.parent)&&e.isClassLike(l.parent.parent)?{class:l.parent.parent,isImplements:l.parent.token===117}:void 0}e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments=Uu;function Xd(l,ee){return e.isBinaryExpression(l)&&(ee?l.operatorToken.kind===63:ac(l.operatorToken.kind))&&e.isLeftHandSideExpression(l.left)}e.isAssignmentExpression=Xd;function ef(l){return Xd(l.parent)&&l.parent.left===l}e.isLeftHandSideOfAssignment=ef;function Of(l){if(Xd(l,!0)){var ee=l.left.kind;return ee===204||ee===203}return!1}e.isDestructuringAssignment=Of;function bc(l){return kf(l)!==void 0}e.isExpressionWithTypeArgumentsInClassExtendsClause=bc;function qc(l){return l.kind===79||Xc(l)}e.isEntityNameExpression=qc;function rf(l){switch(l.kind){case 79:return l;case 160:do l=l.left;while(l.kind!==79);return l;case 205:do l=l.expression;while(l.kind!==79);return l}}e.getFirstIdentifier=rf;function Vu(l){return l.kind===79||l.kind===108||l.kind===106||l.kind===230||l.kind===205&&Vu(l.expression)||l.kind===211&&Vu(l.expression)}e.isDottedName=Vu;function Xc(l){return e.isPropertyAccessExpression(l)&&e.isIdentifier(l.name)&&qc(l.expression)}e.isPropertyAccessEntityNameExpression=Xc;function Yd(l){if(e.isPropertyAccessExpression(l)){var ee=Yd(l.expression);if(ee!==void 0)return ee+\".\"+ir(l.name)}else if(e.isElementAccessExpression(l)){var ee=Yd(l.expression);if(ee!==void 0&&e.isPropertyName(l.argumentExpression))return ee+\".\"+Uo(l.argumentExpression)}else if(e.isIdentifier(l))return e.unescapeLeadingUnderscores(l.escapedText)}e.tryGetPropertyAccessOrIdentifierToString=Yd;function Ec(l){return ft(l)&&Ia(l)===\"prototype\"}e.isPrototypeAccess=Ec;function Wu(l){return l.parent.kind===160&&l.parent.right===l||l.parent.kind===205&&l.parent.name===l}e.isRightSideOfQualifiedNameOrPropertyAccess=Wu;function r_(l){return e.isQualifiedName(l.parent)&&l.parent.right===l||e.isPropertyAccessExpression(l.parent)&&l.parent.name===l||e.isJSDocMemberName(l.parent)&&l.parent.right===l}e.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName=r_;function Wa(l){return l.kind===204&&l.properties.length===0}e.isEmptyObjectLiteral=Wa;function pu(l){return l.kind===203&&l.elements.length===0}e.isEmptyArrayLiteral=pu;function gn(l){if(!(!Rf(l)||!l.declarations))for(var ee=0,cr=l.declarations;ee<cr.length;ee++){var Ur=cr[ee];if(Ur.localSymbol)return Ur.localSymbol}}e.getLocalSymbolForExportDefault=gn;function Rf(l){return l&&e.length(l.declarations)>0&&rc(l.declarations[0],512)}function Qd(l){return e.find(hu,function(ee){return e.fileExtensionIs(l,ee)})}e.tryExtractTSExtension=Qd;function Zd(l){for(var ee=[],cr=l.length,Ur=0;Ur<cr;Ur++){var Nt=l.charCodeAt(Ur);Nt<128?ee.push(Nt):Nt<2048?(ee.push(Nt>>6|192),ee.push(Nt&63|128)):Nt<65536?(ee.push(Nt>>12|224),ee.push(Nt>>6&63|128),ee.push(Nt&63|128)):Nt<131072?(ee.push(Nt>>18|240),ee.push(Nt>>12&63|128),ee.push(Nt>>6&63|128),ee.push(Nt&63|128)):e.Debug.assert(!1,\"Unexpected code point\")}return ee}var Pc=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";function $d(l){for(var ee=\"\",cr=Zd(l),Ur=0,Nt=cr.length,xn,Bn,ga,Ei;Ur<Nt;)xn=cr[Ur]>>2,Bn=(cr[Ur]&3)<<4|cr[Ur+1]>>4,ga=(cr[Ur+1]&15)<<2|cr[Ur+2]>>6,Ei=cr[Ur+2]&63,Ur+1>=Nt?ga=Ei=64:Ur+2>=Nt&&(Ei=64),ee+=Pc.charAt(xn)+Pc.charAt(Bn)+Pc.charAt(ga)+Pc.charAt(Ei),Ur+=3;return ee}e.convertToBase64=$d;function k_(l){for(var ee=\"\",cr=0,Ur=l.length;cr<Ur;){var Nt=l[cr];if(Nt<128)ee+=String.fromCharCode(Nt),cr++;else if((Nt&192)===192){var xn=Nt&63;cr++;for(var Bn=l[cr];(Bn&192)===128;)xn=xn<<6|Bn&63,cr++,Bn=l[cr];ee+=String.fromCharCode(xn)}else ee+=String.fromCharCode(Nt),cr++}return ee}function Yc(l,ee){return l&&l.base64encode?l.base64encode(ee):$d(ee)}e.base64encode=Yc;function Lp(l,ee){if(l&&l.base64decode)return l.base64decode(ee);for(var cr=ee.length,Ur=[],Nt=0;Nt<cr&&ee.charCodeAt(Nt)!==Pc.charCodeAt(64);){var xn=Pc.indexOf(ee[Nt]),Bn=Pc.indexOf(ee[Nt+1]),ga=Pc.indexOf(ee[Nt+2]),Ei=Pc.indexOf(ee[Nt+3]),li=(xn&63)<<2|Bn>>4&3,go=(Bn&15)<<4|ga>>2&15,wi=(ga&3)<<6|Ei&63;go===0&&ga!==0?Ur.push(li):wi===0&&Ei!==0?Ur.push(li,go):Ur.push(li,go,wi),Nt+=4}return k_(Ur)}e.base64decode=Lp;function pd(l,ee){try{var cr=ee.readFile(l);if(!cr)return{};var Ur=e.parseConfigFileTextToJson(l,cr);return Ur.error?{}:Ur.config}catch{return{}}}e.readJson=pd;function Ap(l,ee){return!ee.directoryExists||ee.directoryExists(l)}e.directoryProbablyExists=Ap;var Ul=`\\r\n`,wf=`\n`;function _d(l,ee){switch(l.newLine){case 0:return Ul;case 1:return wf}return ee?ee():e.sys?e.sys.newLine:Ul}e.getNewLineCharacter=_d;function Fc(l,ee){return ee===void 0&&(ee=l),e.Debug.assert(ee>=l||ee===-1),{pos:l,end:ee}}e.createRange=Fc;function Qc(l,ee){return Fc(l.pos,ee)}e.moveRangeEnd=Qc;function Mf(l,ee){return Fc(ee,l.end)}e.moveRangePos=Mf;function E(l){return l.decorators&&l.decorators.length>0?Mf(l,l.decorators.end):l}e.moveRangePastDecorators=E;function Qe(l){return l.modifiers&&l.modifiers.length>0?Mf(l,l.modifiers.end):E(l)}e.moveRangePastModifiers=Qe;function nt(l){return l.pos===l.end}e.isCollapsedRange=nt;function Ot(l,ee){return Fc(l,l+e.tokenToString(ee).length)}e.createTokenRange=Ot;function fa(l,ee){return ti(l,l,ee)}e.rangeIsOnSingleLine=fa;function Oa(l,ee,cr){return os(is(l,cr,!1),is(ee,cr,!1),cr)}e.rangeStartPositionsAreOnSameLine=Oa;function ia(l,ee,cr){return os(l.end,ee.end,cr)}e.rangeEndPositionsAreOnSameLine=ia;function ti(l,ee,cr){return os(is(l,cr,!1),ee.end,cr)}e.rangeStartIsOnSameLineAsRangeEnd=ti;function Na(l,ee,cr){return os(l.end,is(ee,cr,!1),cr)}e.rangeEndIsOnSameLineAsRangeStart=Na;function Ua(l,ee,cr,Ur){var Nt=is(ee,cr,Ur);return e.getLinesBetweenPositions(cr,l.end,Nt)}e.getLinesBetweenRangeEndAndRangeStart=Ua;function Go(l,ee,cr){return e.getLinesBetweenPositions(cr,l.end,ee.end)}e.getLinesBetweenRangeEndPositions=Go;function cl(l,ee){return!os(l.pos,l.end,ee)}e.isNodeArrayMultiLine=cl;function os(l,ee,cr){return e.getLinesBetweenPositions(cr,l,ee)===0}e.positionsAreOnSameLine=os;function is(l,ee,cr){return Wg(l.pos)?-1:e.skipTrivia(ee.text,l.pos,!1,cr)}e.getStartPositionOfRange=is;function Vl(l,ee,cr,Ur){var Nt=e.skipTrivia(cr.text,l,!1,Ur),xn=$c(Nt,ee,cr);return e.getLinesBetweenPositions(cr,xn!=null?xn:ee,Nt)}e.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter=Vl;function Zc(l,ee,cr,Ur){var Nt=e.skipTrivia(cr.text,l,!1,Ur);return e.getLinesBetweenPositions(cr,l,Math.min(ee,Nt))}e.getLinesBetweenPositionAndNextNonWhitespaceCharacter=Zc;function $c(l,ee,cr){for(ee===void 0&&(ee=0);l-- >ee;)if(!e.isWhiteSpaceLike(cr.text.charCodeAt(l)))return l}function md(l){var ee=e.getParseTreeNode(l);if(ee)switch(ee.parent.kind){case 259:case 260:return ee===ee.parent.name}return!1}e.isDeclarationNameOfEnumOrNamespace=md;function t_(l){return e.filter(l.declarations,tf)}e.getInitializedVariables=t_;function tf(l){return l.initializer!==void 0}function Pf(l){return l.watch&&l.hasOwnProperty(\"watch\")}e.isWatchSet=Pf;function n_(l){l.close()}e.closeFileWatcher=n_;function gd(l){return l.flags&33554432?l.checkFlags:0}e.getCheckFlags=gd;function Wl(l,ee){if(ee===void 0&&(ee=!1),l.valueDeclaration){var cr=ee&&l.declarations&&e.find(l.declarations,function(ga){return ga.kind===172})||l.valueDeclaration,Ur=e.getCombinedModifierFlags(cr);return l.parent&&l.parent.flags&32?Ur:Ur&-29}if(gd(l)&6){var Nt=l.checkFlags,xn=Nt&1024?8:Nt&256?4:16,Bn=Nt&2048?32:0;return xn|Bn}return l.flags&4194304?36:0}e.getDeclarationModifierFlagsFromSymbol=Wl;function ep(l,ee){return l.flags&2097152?ee.getAliasedSymbol(l):l}e.skipAlias=ep;function a_(l){return l.exportSymbol?l.exportSymbol.flags|l.flags:l.flags}e.getCombinedLocalAndExportSymbolFlags=a_;function xe(l){return at(l)===1}e.isWriteOnlyAccess=xe;function Er(l){return at(l)!==0}e.isWriteAccess=Er;var Fr;(function(l){l[l.Read=0]=\"Read\",l[l.Write=1]=\"Write\",l[l.ReadWrite=2]=\"ReadWrite\"})(Fr||(Fr={}));function at(l){var ee=l.parent;if(!ee)return 0;switch(ee.kind){case 211:return at(ee);case 219:case 218:var cr=ee.operator;return cr===45||cr===46?ga():0;case 220:var Ur=ee,Nt=Ur.left,xn=Ur.operatorToken;return Nt===l&&ac(xn.kind)?xn.kind===63?1:ga():0;case 205:return ee.name!==l?0:at(ee);case 294:{var Bn=at(ee.parent);return l===ee.name?Ct(Bn):Bn}case 295:return l===ee.objectAssignmentInitializer?0:at(ee.parent);case 203:return at(ee);default:return 0}function ga(){return ee.parent&&fi(ee.parent).kind===237?1:2}}function Ct(l){switch(l){case 0:return 1;case 1:return 0;case 2:return 2;default:return e.Debug.assertNever(l)}}function Xt(l,ee){if(!l||!ee||Object.keys(l).length!==Object.keys(ee).length)return!1;for(var cr in l)if(typeof l[cr]==\"object\"){if(!Xt(l[cr],ee[cr]))return!1}else if(typeof l[cr]!=\"function\"&&l[cr]!==ee[cr])return!1;return!0}e.compareDataObjects=Xt;function On(l,ee){l.forEach(ee),l.clear()}e.clearMap=On;function $n(l,ee,cr){var Ur=cr.onDeleteValue,Nt=cr.onExistingValue;l.forEach(function(xn,Bn){var ga=ee.get(Bn);ga===void 0?(l.delete(Bn),Ur(xn,Bn)):Nt&&Nt(xn,ga,Bn)})}e.mutateMapSkippingNewValues=$n;function wa(l,ee,cr){$n(l,ee,cr);var Ur=cr.createNewValue;ee.forEach(function(Nt,xn){l.has(xn)||l.set(xn,Ur(xn,Nt))})}e.mutateMap=wa;function Ea(l){if(l.flags&32){var ee=Ki(l);return!!ee&&rc(ee,128)}return!1}e.isAbstractConstructorSymbol=Ea;function Ki(l){var ee;return(ee=l.declarations)===null||ee===void 0?void 0:ee.find(e.isClassLike)}e.getClassLikeDeclarationOfSymbol=Ki;function Qo(l){return l.flags&3899393?l.objectFlags:0}e.getObjectFlags=Qo;function $i(l,ee){return ee.getSignaturesOfType(l,0).length!==0||ee.getSignaturesOfType(l,1).length!==0}e.typeHasCallOrConstructSignatures=$i;function Ho(l,ee){return!!e.forEachAncestorDirectory(l,function(cr){return ee(cr)?!0:void 0})}e.forSomeAncestorDirectory=Ho;function gs(l){return!!l&&!!l.declarations&&!!l.declarations[0]&&e.isNamespaceExportDeclaration(l.declarations[0])}e.isUMDExportSymbol=gs;function _l(l){var ee=l.moduleSpecifier;return e.isStringLiteral(ee)?ee.text:he(ee)}e.showModuleSpecifier=_l;function xs(l){var ee;return e.forEachChild(l,function(cr){P(cr)&&(ee=cr)},function(cr){for(var Ur=cr.length-1;Ur>=0;Ur--)if(P(cr[Ur])){ee=cr[Ur];break}}),ee}e.getLastChild=xs;function Cl(l,ee,cr){return cr===void 0&&(cr=!0),l.has(ee)?!1:(l.set(ee,cr),!0)}e.addToSeen=Cl;function bl(l){return e.isClassLike(l)||e.isInterfaceDeclaration(l)||e.isTypeLiteralNode(l)}e.isObjectTypeDeclaration=bl;function ju(l){return l>=176&&l<=199||l===130||l===154||l===146||l===157||l===147||l===133||l===149||l===150||l===114||l===152||l===143||l===227||l===310||l===311||l===312||l===313||l===314||l===315||l===316}e.isTypeNodeKind=ju;function ul(l){return l.kind===205||l.kind===206}e.isAccessExpression=ul;function Ms(l){return l.kind===205?l.name:(e.Debug.assert(l.kind===206),l.argumentExpression)}e.getNameOfAccessExpression=Ms;function Ff(l){switch(l.kind){case\"text\":case\"internal\":return!0;default:return!1}}e.isBundleFileTextLike=Ff;function _u(l){return l.kind===268||l.kind===272}e.isNamedImportsOrExports=_u;function ml(l){for(;ul(l);)l=l.expression;return l}e.getLeftmostAccessExpression=ml;function _(l,ee){for(;;){switch(l.kind){case 219:l=l.operand;continue;case 220:l=l.left;continue;case 221:l=l.condition;continue;case 209:l=l.tag;continue;case 207:if(ee)return l;case 228:case 206:case 205:case 229:case 348:l=l.expression;continue}return l}}e.getLeftmostExpression=_;function W(l,ee){this.flags=l,this.escapedName=ee,this.declarations=void 0,this.valueDeclaration=void 0,this.id=void 0,this.mergeId=void 0,this.parent=void 0}function be(l,ee){this.flags=ee,(e.Debug.isDebugging||e.tracing)&&(this.checker=l)}function nr(l,ee){this.flags=ee,e.Debug.isDebugging&&(this.checker=l)}function Br(l,ee,cr){this.pos=ee,this.end=cr,this.kind=l,this.id=0,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0}function Ht(l,ee,cr){this.pos=ee,this.end=cr,this.kind=l,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0}function an(l,ee,cr){this.pos=ee,this.end=cr,this.kind=l,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.flowNode=void 0}function si(l,ee,cr){this.fileName=l,this.text=ee,this.skipTrivia=cr||function(Ur){return Ur}}e.objectAllocator={getNodeConstructor:function(){return Br},getTokenConstructor:function(){return Ht},getIdentifierConstructor:function(){return an},getPrivateIdentifierConstructor:function(){return Br},getSourceFileConstructor:function(){return Br},getSymbolConstructor:function(){return W},getTypeConstructor:function(){return be},getSignatureConstructor:function(){return nr},getSourceMapSourceConstructor:function(){return si}};function Io(l){e.objectAllocator=l}e.setObjectAllocator=Io;function vs(l,ee,cr){return cr===void 0&&(cr=0),l.replace(/{(\\d+)}/g,function(Ur,Nt){return\"\"+e.Debug.checkDefined(ee[+Nt+cr])})}e.formatStringFromArgs=vs;function rp(l){e.localizedDiagnosticMessages=l}e.setLocalizedDiagnosticMessages=rp;function Gc(l){return e.localizedDiagnosticMessages&&e.localizedDiagnosticMessages[l.key]||l.message}e.getLocaleSpecificMessage=Gc;function Pm(l,ee,cr,Ur){fe(void 0,ee,cr);var Nt=Gc(Ur);return arguments.length>4&&(Nt=vs(Nt,arguments,4)),{file:void 0,start:ee,length:cr,messageText:Nt,category:Ur.category,code:Ur.code,reportsUnnecessary:Ur.reportsUnnecessary,fileName:l}}e.createDetachedDiagnostic=Pm;function tp(l){return l.file===void 0&&l.start!==void 0&&l.length!==void 0&&typeof l.fileName==\"string\"}function Fm(l,ee){var cr=ee.fileName||\"\",Ur=ee.text.length;e.Debug.assertEqual(l.fileName,cr),e.Debug.assertLessThanOrEqual(l.start,Ur),e.Debug.assertLessThanOrEqual(l.start+l.length,Ur);var Nt={file:ee,start:l.start,length:l.length,messageText:l.messageText,category:l.category,code:l.code,reportsUnnecessary:l.reportsUnnecessary};if(l.relatedInformation){Nt.relatedInformation=[];for(var xn=0,Bn=l.relatedInformation;xn<Bn.length;xn++){var ga=Bn[xn];tp(ga)&&ga.fileName===cr?(e.Debug.assertLessThanOrEqual(ga.start,Ur),e.Debug.assertLessThanOrEqual(ga.start+ga.length,Ur),Nt.relatedInformation.push(Fm(ga,ee))):Nt.relatedInformation.push(ga)}}return Nt}function Mv(l,ee){for(var cr=[],Ur=0,Nt=l;Ur<Nt.length;Ur++){var xn=Nt[Ur];cr.push(Fm(xn,ee))}return cr}e.attachFileToDiagnostics=Mv;function An(l,ee,cr,Ur){fe(l,ee,cr);var Nt=Gc(Ur);return arguments.length>4&&(Nt=vs(Nt,arguments,4)),{file:l,start:ee,length:cr,messageText:Nt,category:Ur.category,code:Ur.code,reportsUnnecessary:Ur.reportsUnnecessary,reportsDeprecated:Ur.reportsDeprecated}}e.createFileDiagnostic=An;function Gf(l,ee){var cr=Gc(ee);return arguments.length>2&&(cr=vs(cr,arguments,2)),cr}e.formatMessage=Gf;function nf(l){var ee=Gc(l);return arguments.length>1&&(ee=vs(ee,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:ee,category:l.category,code:l.code,reportsUnnecessary:l.reportsUnnecessary,reportsDeprecated:l.reportsDeprecated}}e.createCompilerDiagnostic=nf;function O_(l,ee){return{file:void 0,start:void 0,length:void 0,code:l.code,category:l.category,messageText:l.next?l:l.messageText,relatedInformation:ee}}e.createCompilerDiagnosticFromMessageChain=O_;function Cp(l,ee){var cr=Gc(ee);return arguments.length>2&&(cr=vs(cr,arguments,2)),{messageText:cr,category:ee.category,code:ee.code,next:l===void 0||Array.isArray(l)?l:[l]}}e.chainDiagnosticMessages=Cp;function Gm(l,ee){for(var cr=l;cr.next;)cr=cr.next[0];cr.next=[ee]}e.concatenateDiagnosticMessageChains=Gm;function Hu(l){return l.file?l.file.path:void 0}function rm(l,ee){return mu(l,ee)||Pv(l,ee)||0}e.compareDiagnostics=rm;function mu(l,ee){return e.compareStringsCaseSensitive(Hu(l),Hu(ee))||e.compareValues(l.start,ee.start)||e.compareValues(l.length,ee.length)||e.compareValues(l.code,ee.code)||i_(l.messageText,ee.messageText)||0}e.compareDiagnosticsSkipRelatedInformation=mu;function Pv(l,ee){return!l.relatedInformation&&!ee.relatedInformation?0:l.relatedInformation&&ee.relatedInformation?e.compareValues(l.relatedInformation.length,ee.relatedInformation.length)||e.forEach(l.relatedInformation,function(cr,Ur){var Nt=ee.relatedInformation[Ur];return rm(cr,Nt)})||0:l.relatedInformation?-1:1}function i_(l,ee){if(typeof l==\"string\"&&typeof ee==\"string\")return e.compareStringsCaseSensitive(l,ee);if(typeof l==\"string\")return-1;if(typeof ee==\"string\")return 1;var cr=e.compareStringsCaseSensitive(l.messageText,ee.messageText);if(cr)return cr;if(!l.next&&!ee.next)return 0;if(!l.next)return-1;if(!ee.next)return 1;for(var Ur=Math.min(l.next.length,ee.next.length),Nt=0;Nt<Ur;Nt++)if(cr=i_(l.next[Nt],ee.next[Nt]),cr)return cr;return l.next.length<ee.next.length?-1:l.next.length>ee.next.length?1:0}function tm(l){return l===4||l===2||l===1||l===6?1:0}e.getLanguageVariant=tm;function o_(l){return l.target||l.module===e.ModuleKind.Node12&&7||l.module===e.ModuleKind.NodeNext&&99||0}e.getEmitScriptTarget=o_;function vd(l){return typeof l.module==\"number\"?l.module:o_(l)>=2?e.ModuleKind.ES2015:e.ModuleKind.CommonJS}e.getEmitModuleKind=vd;function Bm(l){var ee=l.moduleResolution;if(ee===void 0)switch(vd(l)){case e.ModuleKind.CommonJS:ee=e.ModuleResolutionKind.NodeJs;break;case e.ModuleKind.Node12:ee=e.ModuleResolutionKind.Node12;break;case e.ModuleKind.NodeNext:ee=e.ModuleResolutionKind.NodeNext;break;default:ee=e.ModuleResolutionKind.Classic;break}return ee}e.getEmitModuleResolutionKind=Bm;function Ju(l){switch(vd(l)){case e.ModuleKind.CommonJS:case e.ModuleKind.AMD:case e.ModuleKind.ES2015:case e.ModuleKind.ES2020:case e.ModuleKind.ES2022:case e.ModuleKind.ESNext:case e.ModuleKind.Node12:case e.ModuleKind.NodeNext:return!0;default:return!1}}e.hasJsonModuleEmitEnabled=Ju;function Fv(l){return l.allowUnreachableCode===!1}e.unreachableCodeIsError=Fv;function wg(l){return l.allowUnusedLabels===!1}e.unusedLabelIsError=wg;function xl(l){return!!(Pg(l)&&l.declarationMap)}e.getAreDeclarationMapsEnabled=xl;function Mg(l){if(l.esModuleInterop!==void 0)return l.esModuleInterop;switch(vd(l)){case e.ModuleKind.Node12:case e.ModuleKind.NodeNext:return!0}}e.getESModuleInterop=Mg;function xp(l){var ee=vd(l);return l.allowSyntheticDefaultImports!==void 0?l.allowSyntheticDefaultImports:Mg(l)||ee===e.ModuleKind.System}e.getAllowSyntheticDefaultImports=xp;function Pg(l){return!!(l.declaration||l.composite)}e.getEmitDeclarations=Pg;function Ku(l){return!!(l.preserveConstEnums||l.isolatedModules)}e.shouldPreserveConstEnums=Ku;function un(l){return!!(l.incremental||l.composite)}e.isIncrementalCompilation=un;function pa(l,ee){return l[ee]===void 0?!!l.strict:!!l[ee]}e.getStrictOptionValue=pa;function Hn(l){return l.allowJs===void 0?!!l.checkJs:l.allowJs}e.getAllowJSCompilerOption=Hn;function Sa(l){return l.useDefineForClassFields===void 0?o_(l)===99:l.useDefineForClassFields}e.getUseDefineForClassFields=Sa;function Za(l,ee){return z(ee,l,e.semanticDiagnosticsOptionDeclarations)}e.compilerOptionsAffectSemanticDiagnostics=Za;function zi(l,ee){return z(ee,l,e.affectsEmitOptionDeclarations)}e.compilerOptionsAffectEmit=zi;function Bo(l,ee){return ee.strictFlag?pa(l,ee.name):l[ee.name]}e.getCompilerOptionValue=Bo;function Zs(l){var ee=l.jsx;return ee===2||ee===4||ee===5}e.getJSXTransformEnabled=Zs;function gl(l,ee){var cr=ee==null?void 0:ee.pragmas.get(\"jsximportsource\"),Ur=e.isArray(cr)?cr[cr.length-1]:cr;return l.jsx===4||l.jsx===5||l.jsxImportSource||Ur?(Ur==null?void 0:Ur.arguments.factory)||l.jsxImportSource||\"react\":void 0}e.getJSXImplicitImportBase=gl;function jl(l,ee){return l?\"\".concat(l,\"/\").concat(ee.jsx===5?\"jsx-dev-runtime\":\"jsx-runtime\"):void 0}e.getJSXRuntimeImport=jl;function vl(l){for(var ee=!1,cr=0;cr<l.length;cr++)if(l.charCodeAt(cr)===42)if(!ee)ee=!0;else return!1;return!0}e.hasZeroOrOneAsteriskCharacter=vl;function Bf(l,ee){var cr,Ur,Nt,xn=!1;return{getSymlinkedFiles:function(){return Nt},getSymlinkedDirectories:function(){return cr},getSymlinkedDirectoriesByRealpath:function(){return Ur},setSymlinkedFile:function(ga,Ei){return(Nt||(Nt=new e.Map)).set(ga,Ei)},setSymlinkedDirectory:function(ga,Ei){var li=e.toPath(ga,l,ee);hy(li)||(li=e.ensureTrailingDirectorySeparator(li),Ei!==!1&&!(cr!=null&&cr.has(li))&&(Ur||(Ur=e.createMultiMap())).add(e.ensureTrailingDirectorySeparator(Ei.realPath),ga),(cr||(cr=new e.Map)).set(li,Ei))},setSymlinkedDirectoryFromSymlinkedFile:function(ga,Ei){this.setSymlinkedFile(e.toPath(ga,l,ee),Ei);var li=po(Ei,ga,l,ee)||e.emptyArray,go=li[0],wi=li[1];go&&wi&&this.setSymlinkedDirectory(wi,{real:go,realPath:e.toPath(go,l,ee)})},setSymlinksFromResolutions:function(ga,Ei){var li=this,go;e.Debug.assert(!xn),xn=!0;for(var wi=0,Is=ga;wi<Is.length;wi++){var Ks=Is[wi];(go=Ks.resolvedModules)===null||go===void 0||go.forEach(function(hs){return Bn(li,hs)})}Ei==null||Ei.forEach(function(hs){return Bn(li,hs)})},hasProcessedResolutions:function(){return xn}};function Bn(ga,Ei){if(!(!Ei||!Ei.originalPath||!Ei.resolvedFileName)){var li=Ei.resolvedFileName,go=Ei.originalPath;ga.setSymlinkedFile(e.toPath(go,l,ee),li);var wi=po(li,go,l,ee)||e.emptyArray,Is=wi[0],Ks=wi[1];Is&&Ks&&ga.setSymlinkedDirectory(Ks,{real:Is,realPath:e.toPath(Is,l,ee)})}}}e.createSymlinkCache=Bf;function po(l,ee,cr,Ur){for(var Nt=e.getPathComponents(e.getNormalizedAbsolutePath(l,cr)),xn=e.getPathComponents(e.getNormalizedAbsolutePath(ee,cr)),Bn=!1;Nt.length>=2&&xn.length>=2&&!s_(Nt[Nt.length-2],Ur)&&!s_(xn[xn.length-2],Ur)&&Ur(Nt[Nt.length-1])===Ur(xn[xn.length-1]);)Nt.pop(),xn.pop(),Bn=!0;return Bn?[e.getPathFromPathComponents(Nt),e.getPathFromPathComponents(xn)]:void 0}function s_(l,ee){return l!==void 0&&(ee(l)===\"node_modules\"||e.startsWith(l,\"@\"))}function np(l){return e.isAnyDirectorySeparator(l.charCodeAt(0))?l.slice(1):void 0}function nm(l,ee,cr){var Ur=e.tryRemovePrefix(l,ee,cr);return Ur===void 0?void 0:np(Ur)}e.tryRemoveDirectoryPrefix=nm;var am=/[^\\w\\s\\/]/g;function CE(l){return l.replace(am,xE)}e.regExpEscape=CE;function xE(l){return\"\\\\\"+l}var ny=[42,63];e.commonPackageFolders=[\"node_modules\",\"bower_components\",\"jspm_packages\"];var Fg=\"(?!(\".concat(e.commonPackageFolders.join(\"|\"),\")(/|$))\"),Gv={singleAsteriskRegexFragment:\"([^./]|(\\\\.(?!min\\\\.js$))?)*\",doubleAsteriskRegexFragment:\"(/\".concat(Fg,\"[^/.][^/]*)*?\"),replaceWildcardCharacter:function(l){return Bv(l,Gv.singleAsteriskRegexFragment)}},Gg={singleAsteriskRegexFragment:\"[^/]*\",doubleAsteriskRegexFragment:\"(/\".concat(Fg,\"[^/.][^/]*)*?\"),replaceWildcardCharacter:function(l){return Bv(l,Gg.singleAsteriskRegexFragment)}},gu={singleAsteriskRegexFragment:\"[^/]*\",doubleAsteriskRegexFragment:\"(/.+?)?\",replaceWildcardCharacter:function(l){return Bv(l,gu.singleAsteriskRegexFragment)}},Bg={files:Gv,directories:Gg,exclude:gu};function Ip(l,ee,cr){var Ur=R_(l,ee,cr);if(!(!Ur||!Ur.length)){var Nt=Ur.map(function(Bn){return\"(\".concat(Bn,\")\")}).join(\"|\"),xn=cr===\"exclude\"?\"($|/)\":\"$\";return\"^(\".concat(Nt,\")\").concat(xn)}}e.getRegularExpressionForWildcard=Ip;function R_(l,ee,cr){if(!(l===void 0||l.length===0))return e.flatMap(l,function(Ur){return Ur&&vu(Ur,ee,cr,Bg[cr])})}e.getRegularExpressionsForWildcards=R_;function l_(l){return!/[.*?]/.test(l)}e.isImplicitGlob=l_;function IE(l,ee,cr){var Ur=l&&vu(l,ee,cr,Bg[cr]);return Ur&&\"^(\".concat(Ur,\")\").concat(cr===\"exclude\"?\"($|/)\":\"$\")}e.getPatternFromSpec=IE;function vu(l,ee,cr,Ur){var Nt=Ur.singleAsteriskRegexFragment,xn=Ur.doubleAsteriskRegexFragment,Bn=Ur.replaceWildcardCharacter,ga=\"\",Ei=!1,li=e.getNormalizedPathComponents(l,ee),go=e.last(li);if(!(cr!==\"exclude\"&&go===\"**\")){li[0]=e.removeTrailingDirectorySeparator(li[0]),l_(go)&&li.push(\"**\",\"*\");for(var wi=0,Is=0,Ks=li;Is<Ks.length;Is++){var hs=Ks[Is];if(hs===\"**\")ga+=xn;else if(cr===\"directories\"&&(ga+=\"(\",wi++),Ei&&(ga+=e.directorySeparator),cr!==\"exclude\"){var ic=\"\";hs.charCodeAt(0)===42?(ic+=\"([^./]\"+Nt+\")?\",hs=hs.substr(1)):hs.charCodeAt(0)===63&&(ic+=\"[^./]\",hs=hs.substr(1)),ic+=hs.replace(am,Bn),ic!==hs&&(ga+=Fg),ga+=ic}else ga+=hs.replace(am,Bn);Ei=!0}for(;wi>0;)ga+=\")?\",wi--;return ga}}function Bv(l,ee){return l===\"*\"?ee:l===\"?\"?\"[^/]\":\"\\\\\"+l}function Uv(l,ee,cr,Ur,Nt){l=e.normalizePath(l),Nt=e.normalizePath(Nt);var xn=e.combinePaths(Nt,l);return{includeFilePatterns:e.map(R_(cr,xn,\"files\"),function(Bn){return\"^\".concat(Bn,\"$\")}),includeFilePattern:Ip(cr,xn,\"files\"),includeDirectoryPattern:Ip(cr,xn,\"directories\"),excludePattern:Ip(ee,xn,\"exclude\"),basePaths:Ug(l,cr,Ur)}}e.getFileMatcherPatterns=Uv;function im(l,ee){return new RegExp(l,ee?\"\":\"i\")}e.getRegexFromPattern=im;function af(l,ee,cr,Ur,Nt,xn,Bn,ga,Ei){l=e.normalizePath(l),xn=e.normalizePath(xn);for(var li=Uv(l,cr,Ur,Nt,xn),go=li.includeFilePatterns&&li.includeFilePatterns.map(function(ap){return im(ap,Nt)}),wi=li.includeDirectoryPattern&&im(li.includeDirectoryPattern,Nt),Is=li.excludePattern&&im(li.excludePattern,Nt),Ks=go?go.map(function(){return[]}):[[]],hs=new e.Map,ic=e.createGetCanonicalFileName(Nt),Eo=0,zu=li.basePaths;Eo<zu.length;Eo++){var c_=zu[Eo];sm(c_,e.combinePaths(xn,c_),Bn)}return e.flatten(Ks);function sm(ap,Jm,Ii){var jg=ic(Ei(Jm));if(!hs.has(jg)){hs.set(jg,!0);for(var Ni=ga(ap),Qv=Ni.files,Zv=Ni.directories,u_=function(eh){var qm=e.combinePaths(ap,eh),Xm=e.combinePaths(Jm,eh);if(ee&&!e.fileExtensionIsOneOf(qm,ee)||Is&&Is.test(Xm))return\"continue\";if(!go)Ks[0].push(qm);else{var Hg=e.findIndex(go,function(w_){return w_.test(Xm)});Hg!==-1&&Ks[Hg].push(qm)}},Km=0,Ps=e.sort(Qv,e.compareStringsCaseSensitive);Km<Ps.length;Km++){var oc=Ps[Km];u_(oc)}if(!(Ii!==void 0&&(Ii--,Ii===0)))for(var tu=0,$v=e.sort(Zv,e.compareStringsCaseSensitive);tu<$v.length;tu++){var oc=$v[tu],zm=e.combinePaths(ap,oc),ip=e.combinePaths(Jm,oc);(!wi||wi.test(ip))&&(!Is||!Is.test(ip))&&sm(zm,ip,Ii)}}}}e.matchFiles=af;function Ug(l,ee,cr){var Ur=[l];if(ee){for(var Nt=[],xn=0,Bn=ee;xn<Bn.length;xn++){var ga=Bn[xn],Ei=e.isRootedDiskPath(ga)?ga:e.normalizePath(e.combinePaths(l,ga));Nt.push(Il(Ei))}Nt.sort(e.getStringComparer(!cr));for(var li=function(Ks){e.every(Ur,function(hs){return!e.containsPath(hs,Ks,l,!cr)})&&Ur.push(Ks)},go=0,wi=Nt;go<wi.length;go++){var Is=wi[go];li(Is)}}return Ur}function Il(l){var ee=e.indexOfAnyCharCode(l,ny);return ee<0?e.hasExtension(l)?e.removeTrailingDirectorySeparator(e.getDirectoryPath(l)):l:l.substring(0,l.lastIndexOf(e.directorySeparator,ee))}function ay(l,ee){return ee||iy(l)||3}e.ensureScriptKind=ay;function iy(l){var ee=l.substr(l.lastIndexOf(\".\"));switch(ee.toLowerCase()){case\".js\":case\".cjs\":case\".mjs\":return 1;case\".jsx\":return 2;case\".ts\":case\".cts\":case\".mts\":return 3;case\".tsx\":return 4;case\".json\":return 6;default:return 0}}e.getScriptKindFromFileName=iy,e.supportedTSExtensions=[[\".ts\",\".tsx\",\".d.ts\"],[\".cts\",\".d.cts\"],[\".mts\",\".d.mts\"]],e.supportedTSExtensionsFlat=e.flatten(e.supportedTSExtensions);var NE=Gt(Gt([],e.supportedTSExtensions,!0),[[\".json\"]],!1),hu=[\".d.ts\",\".d.cts\",\".d.mts\",\".cts\",\".mts\",\".ts\",\".tsx\",\".cts\",\".mts\"];e.supportedJSExtensions=[[\".js\",\".jsx\"],[\".mjs\"],[\".cjs\"]],e.supportedJSExtensionsFlat=e.flatten(e.supportedJSExtensions);var Np=[[\".ts\",\".tsx\",\".d.ts\",\".js\",\".jsx\"],[\".cts\",\".d.cts\",\".cjs\"],[\".mts\",\".d.mts\",\".mjs\"]],oy=Gt(Gt([],Np,!0),[[\".json\"]],!1);function sy(l,ee){var cr=l&&Hn(l);if(!ee||ee.length===0)return cr?Np:e.supportedTSExtensions;var Ur=cr?Np:e.supportedTSExtensions,Nt=e.flatten(Ur),xn=Gt(Gt([],Ur,!0),e.mapDefined(ee,function(Bn){return Bn.scriptKind===7||cr&&cy(Bn.scriptKind)&&Nt.indexOf(Bn.extension)===-1?[Bn.extension]:void 0}),!0);return xn}e.getSupportedExtensions=sy;function ly(l,ee){return!l||!l.resolveJsonModule?ee:ee===Np?oy:ee===e.supportedTSExtensions?NE:Gt(Gt([],ee,!0),[[\".json\"]],!1)}e.getSupportedExtensionsWithJsonIfResolveJsonModule=ly;function cy(l){return l===1||l===2}function kE(l){return e.some(e.supportedJSExtensionsFlat,function(ee){return e.fileExtensionIs(l,ee)})}e.hasJSFileExtension=kE;function Vv(l){return e.some(e.supportedTSExtensionsFlat,function(ee){return e.fileExtensionIs(l,ee)})}e.hasTSFileExtension=Vv;function OE(l,ee,cr){if(!l)return!1;for(var Ur=sy(ee,cr),Nt=0,xn=e.flatten(ly(ee,Ur));Nt<xn.length;Nt++){var Bn=xn[Nt];if(e.fileExtensionIs(l,Bn))return!0}return!1}e.isSupportedSourceFileName=OE;function Vg(l){var ee=l.match(/\\//g);return ee?ee.length:0}function uy(l,ee){return e.compareValues(Vg(l),Vg(ee))}e.compareNumberOfDirectorySeparators=uy;var Wv=[\".d.ts\",\".d.mts\",\".d.cts\",\".mjs\",\".mts\",\".cjs\",\".cts\",\".ts\",\".js\",\".tsx\",\".jsx\",\".json\"];function Um(l){for(var ee=0,cr=Wv;ee<cr.length;ee++){var Ur=cr[ee],Nt=fy(l,Ur);if(Nt!==void 0)return Nt}return l}e.removeFileExtension=Um;function fy(l,ee){return e.fileExtensionIs(l,ee)?jv(l,ee):void 0}e.tryRemoveExtension=fy;function jv(l,ee){return l.substring(0,l.length-ee.length)}e.removeExtension=jv;function RE(l,ee){return e.changeAnyExtension(l,ee,Wv,!1)}e.changeExtension=RE;function om(l){var ee=l.indexOf(\"*\");return ee===-1?l:l.indexOf(\"*\",ee+1)!==-1?void 0:{prefix:l.substr(0,ee),suffix:l.substr(ee+1)}}e.tryParsePattern=om;function dy(l){return e.mapDefined(e.getOwnKeys(l),function(ee){return om(ee)})}e.tryParsePatterns=dy;function Wg(l){return!(l>=0)}e.positionIsSynthesized=Wg;function py(l){return l===\".ts\"||l===\".tsx\"||l===\".d.ts\"||l===\".cts\"||l===\".mts\"||l===\".d.mts\"||l===\".d.cts\"}e.extensionIsTS=py;function _y(l){return py(l)||l===\".json\"}e.resolutionExtensionIsTSOrJson=_y;function my(l){var ee=Hv(l);return ee!==void 0?ee:e.Debug.fail(\"File \".concat(l,\" has unknown extension.\"))}e.extensionFromPath=my;function wE(l){return Hv(l)!==void 0}e.isAnySupportedFileExtension=wE;function Hv(l){return e.find(Wv,function(ee){return e.fileExtensionIs(l,ee)})}e.tryGetExtensionFromPath=Hv;function ME(l,ee){return l.checkJsDirective?l.checkJsDirective.enabled:ee.checkJs}e.isCheckJsEnabledForFile=ME,e.emptyFileSystemEntries={files:e.emptyArray,directories:e.emptyArray};function Vm(l,ee){for(var cr=[],Ur=0,Nt=l;Ur<Nt.length;Ur++){var xn=Nt[Ur];if(xn===ee)return ee;e.isString(xn)||cr.push(xn)}return e.findBestPatternMatch(cr,function(Bn){return Bn},ee)}e.matchPatternOrExact=Vm;function Jv(l,ee){var cr=l.indexOf(ee);return e.Debug.assert(cr!==-1),l.slice(cr)}e.sliceAfter=Jv;function Kv(l){for(var ee,cr=[],Ur=1;Ur<arguments.length;Ur++)cr[Ur-1]=arguments[Ur];return cr.length&&(l.relatedInformation||(l.relatedInformation=[]),e.Debug.assert(l.relatedInformation!==e.emptyArray,\"Diagnostic had empty array singleton for related info, but is still being constructed!\"),(ee=l.relatedInformation).push.apply(ee,cr)),l}e.addRelatedInfo=Kv;function PE(l,ee){e.Debug.assert(l.length!==0);for(var cr=ee(l[0]),Ur=cr,Nt=1;Nt<l.length;Nt++){var xn=ee(l[Nt]);xn<cr?cr=xn:xn>Ur&&(Ur=xn)}return{min:cr,max:Ur}}e.minAndMax=PE;function FE(l){return{pos:Te(l),end:l.end}}e.rangeOfNode=FE;function eu(l,ee){var cr=ee.pos-1,Ur=e.skipTrivia(l.text,ee.end)+1;return{pos:cr,end:Ur}}e.rangeOfTypeParameters=eu;function Tc(l,ee,cr){return ee.skipLibCheck&&l.isDeclarationFile||ee.skipDefaultLibCheck&&l.hasNoDefaultLib||cr.isSourceOfProjectReferenceRedirect(l.fileName)}e.skipTypeChecking=Tc;function of(l,ee){return l===ee||typeof l==\"object\"&&l!==null&&typeof ee==\"object\"&&ee!==null&&e.equalOwnProperties(l,ee,of)}e.isJsonEqual=of;function yu(l){var ee;switch(l.charCodeAt(1)){case 98:case 66:ee=1;break;case 111:case 79:ee=3;break;case 120:case 88:ee=4;break;default:for(var cr=l.length-1,Ur=0;l.charCodeAt(Ur)===48;)Ur++;return l.slice(Ur,cr)||\"0\"}for(var Nt=2,xn=l.length-1,Bn=(xn-Nt)*ee,ga=new Uint16Array((Bn>>>4)+(Bn&15?1:0)),Ei=xn-1,li=0;Ei>=Nt;Ei--,li+=ee){var go=li>>>4,wi=l.charCodeAt(Ei),Is=wi<=57?wi-48:10+wi-(wi<=70?65:97),Ks=Is<<(li&15);ga[go]|=Ks;var hs=Ks>>>16;hs&&(ga[go+1]|=hs)}for(var ic=\"\",Eo=ga.length-1,zu=!0;zu;){var c_=0;zu=!1;for(var go=Eo;go>=0;go--){var sm=c_<<16|ga[go],ap=sm/10|0;ga[go]=ap,c_=sm-ap*10,ap&&!zu&&(Eo=go,zu=!0)}ic=c_+ic}return ic}e.parsePseudoBigInt=yu;function gy(l){var ee=l.negative,cr=l.base10Value;return(ee&&cr!==\"0\"?\"-\":\"\")+cr}e.pseudoBigIntToString=gy;function Wm(l){return!!(l.flags&8388608)||hr(l)||vy(l)||ru(l)||!(Es(l)||jm(l))}e.isValidTypeOnlyAliasUseSite=Wm;function jm(l){return e.isIdentifier(l)&&e.isShorthandPropertyAssignment(l.parent)&&l.parent.name===l}function ru(l){for(;l.kind===79||l.kind===205;)l=l.parent;if(l.kind!==161)return!1;if(rc(l.parent,128))return!0;var ee=l.parent.parent.kind;return ee===257||ee===181}function vy(l){if(l.kind!==79)return!1;var ee=e.findAncestor(l.parent,function(cr){switch(cr.kind){case 290:return!0;case 205:case 227:return!1;default:return\"quit\"}});return(ee==null?void 0:ee.token)===117||(ee==null?void 0:ee.parent.kind)===257}function zv(l){return e.isTypeReferenceNode(l)&&e.isIdentifier(l.typeName)}e.isIdentifierTypeReference=zv;function GE(l,ee){if(ee===void 0&&(ee=e.equateValues),l.length<2)return!0;for(var cr=l[0],Ur=1,Nt=l.length;Ur<Nt;Ur++){var xn=l[Ur];if(!ee(cr,xn))return!1}return!0}e.arrayIsHomogeneous=GE;function El(l,ee){return l.pos=ee,l}e.setTextRangePos=El;function Sc(l,ee){return l.end=ee,l}e.setTextRangeEnd=Sc;function sf(l,ee,cr){return Sc(El(l,ee),cr)}e.setTextRangePosEnd=sf;function hd(l,ee,cr){return sf(l,ee,ee+cr)}e.setTextRangePosWidth=hd;function Hm(l,ee){return l&&(l.flags=ee),l}e.setNodeFlags=Hm;function Yi(l,ee){return l&&ee&&(l.parent=ee),l}e.setParent=Yi;function BE(l,ee){if(l)for(var cr=0,Ur=l;cr<Ur.length;cr++){var Nt=Ur[cr];Yi(Nt,ee)}return l}e.setEachParent=BE;function UE(l,ee){if(!l)return l;return e.forEachChildRecursively(l,e.isJSDocNode(l)?cr:Nt),l;function cr(xn,Bn){if(ee&&xn.parent===Bn)return\"skip\";Yi(xn,Bn)}function Ur(xn){if(e.hasJSDocNodes(xn))for(var Bn=0,ga=xn.jsDoc;Bn<ga.length;Bn++){var Ei=ga[Bn];cr(Ei,xn),e.forEachChildRecursively(Ei,cr)}}function Nt(xn,Bn){return cr(xn,Bn)||Ur(xn)}}e.setParentRecursive=UE;function VE(l){return!e.isOmittedExpression(l)}function kp(l){return e.isArrayLiteralExpression(l)&&e.every(l.elements,VE)}e.isPackedArrayLiteral=kp;function Nl(l){for(e.Debug.assertIsDefined(l.parent);;){var ee=l.parent;if(e.isParenthesizedExpression(ee)){l=ee;continue}if(e.isExpressionStatement(ee)||e.isVoidExpression(ee)||e.isForStatement(ee)&&(ee.initializer===l||ee.incrementor===l))return!0;if(e.isCommaListExpression(ee)){if(l!==e.last(ee.elements))return!0;l=ee;continue}if(e.isBinaryExpression(ee)&&ee.operatorToken.kind===27){if(l===ee.left)return!0;l=ee;continue}return!1}}e.expressionResultIsUnused=Nl;function hy(l){return e.some(e.ignoredPaths,function(ee){return e.stringContains(l,ee)})}e.containsIgnoredPath=hy;function qv(l){if(!!l.parent){switch(l.kind){case 162:var ee=l.parent;return ee.kind===189?void 0:ee.typeParameters;case 163:return l.parent.parameters;case 198:return l.parent.templateSpans;case 232:return l.parent.templateSpans;case 164:return l.parent.decorators;case 290:return l.parent.heritageClauses}var cr=l.parent;if(e.isJSDocTag(l))return e.isJSDocTypeLiteral(l.parent)?void 0:l.parent.tags;switch(cr.kind){case 181:case 257:return e.isTypeElement(l)?cr.members:void 0;case 186:case 187:return cr.types;case 183:case 203:case 349:case 268:case 272:return cr.elements;case 204:case 285:return cr.properties;case 207:case 208:return e.isTypeNode(l)?cr.typeArguments:cr.expression===l?void 0:cr.arguments;case 277:case 281:return e.isJsxChild(l)?cr.children:void 0;case 279:case 278:return e.isTypeNode(l)?cr.typeArguments:void 0;case 234:case 288:case 289:case 261:return cr.statements;case 262:return cr.clauses;case 256:case 225:return e.isClassElement(l)?cr.members:void 0;case 259:return e.isEnumMember(l)?cr.members:void 0;case 303:return cr.statements}}}e.getContainingNodeArray=qv;function WE(l){if(!l.typeParameters){if(e.some(l.parameters,function(cr){return!Fu(cr)}))return!0;if(l.kind!==213){var ee=e.firstOrUndefined(l.parameters);if(!(ee&&Df(ee)))return!0}}return!1}e.hasContextSensitiveParameters=WE;function Xv(l){return l===\"Infinity\"||l===\"-Infinity\"||l===\"NaN\"}e.isInfinityOrNaNString=Xv;function Yv(l){return l.kind===253&&l.parent.kind===291}e.isCatchClauseVariableDeclaration=Yv;function yy(l){var ee=l.valueDeclaration&&Md(l.valueDeclaration);return!!ee&&(e.isParameter(ee)||Yv(ee))}e.isParameterOrCatchClauseVariable=yy;function jE(l){return l.kind===212||l.kind===213}e.isFunctionExpressionOrArrowFunction=jE;function HE(l){return l.replace(/\\$/gm,\"\\\\$\")}e.escapeSnippetText=HE}(jr||(jr={})),function(e){function n(){var f,p,a,d,k;return{createBaseSourceFileNode:J,createBaseIdentifierNode:h,createBasePrivateIdentifierNode:v,createBaseTokenNode:A,createBaseNode:z};function J(ie){return new(k||(k=e.objectAllocator.getSourceFileConstructor()))(ie,-1,-1)}function h(ie){return new(a||(a=e.objectAllocator.getIdentifierConstructor()))(ie,-1,-1)}function v(ie){return new(d||(d=e.objectAllocator.getPrivateIdentifierConstructor()))(ie,-1,-1)}function A(ie){return new(p||(p=e.objectAllocator.getTokenConstructor()))(ie,-1,-1)}function z(ie){return new(f||(f=e.objectAllocator.getNodeConstructor()))(ie,-1,-1)}}e.createBaseNodeFactory=n}(jr||(jr={})),function(e){function n(f){var p,a;return{getParenthesizeLeftSideOfBinaryForOperator:d,getParenthesizeRightSideOfBinaryForOperator:k,parenthesizeLeftSideOfBinary:z,parenthesizeRightSideOfBinary:ie,parenthesizeExpressionOfComputedPropertyName:b,parenthesizeConditionOfConditionalExpression:M,parenthesizeBranchOfConditionalExpression:S,parenthesizeExpressionOfExportDefault:B,parenthesizeExpressionOfNew:H,parenthesizeLeftSideOfAccess:I,parenthesizeOperandOfPostfixUnary:w,parenthesizeOperandOfPrefixUnary:x,parenthesizeExpressionsOfCommaDelimitedList:O,parenthesizeExpressionForDisallowedComma:q,parenthesizeExpressionOfExpressionStatement:Z,parenthesizeConciseBodyOfArrowFunction:ne,parenthesizeMemberOfConditionalType:F,parenthesizeMemberOfElementType:Q,parenthesizeElementTypeOfArrayType:V,parenthesizeConstituentTypesOfUnionOrIntersectionType:re,parenthesizeTypeArguments:N};function d(y){p||(p=new e.Map);var D=p.get(y);return D||(D=function(C){return z(y,C)},p.set(y,D)),D}function k(y){a||(a=new e.Map);var D=a.get(y);return D||(D=function(C){return ie(y,void 0,C)},a.set(y,D)),D}function J(y,D,C,m){var u=e.getOperatorPrecedence(220,y),g=e.getOperatorAssociativity(220,y),P=e.skipPartiallyEmittedExpressions(D);if(!C&&D.kind===213&&u>3)return!0;var te=e.getExpressionPrecedence(P);switch(e.compareValues(te,u)){case-1:return!(!C&&g===1&&D.kind===223);case 1:return!1;case 0:if(C)return g===1;if(e.isBinaryExpression(P)&&P.operatorToken.kind===y){if(h(y))return!1;if(y===39){var ue=m?v(m):0;if(e.isLiteralKind(ue)&&ue===v(P))return!1}}var X=e.getExpressionAssociativity(P);return X===0}}function h(y){return y===41||y===51||y===50||y===52}function v(y){if(y=e.skipPartiallyEmittedExpressions(y),e.isLiteralKind(y.kind))return y.kind;if(y.kind===220&&y.operatorToken.kind===39){if(y.cachedLiteralKind!==void 0)return y.cachedLiteralKind;var D=v(y.left),C=e.isLiteralKind(D)&&D===v(y.right)?D:0;return y.cachedLiteralKind=C,C}return 0}function A(y,D,C,m){var u=e.skipPartiallyEmittedExpressions(D);return u.kind===211?D:J(y,D,C,m)?f.createParenthesizedExpression(D):D}function z(y,D){return A(y,D,!0)}function ie(y,D,C){return A(y,C,!1,D)}function b(y){return e.isCommaSequence(y)?f.createParenthesizedExpression(y):y}function M(y){var D=e.getOperatorPrecedence(221,57),C=e.skipPartiallyEmittedExpressions(y),m=e.getExpressionPrecedence(C);return e.compareValues(m,D)!==1?f.createParenthesizedExpression(y):y}function S(y){var D=e.skipPartiallyEmittedExpressions(y);return e.isCommaSequence(D)?f.createParenthesizedExpression(y):y}function B(y){var D=e.skipPartiallyEmittedExpressions(y),C=e.isCommaSequence(D);if(!C)switch(e.getLeftmostExpression(D,!1).kind){case 225:case 212:C=!0}return C?f.createParenthesizedExpression(y):y}function H(y){var D=e.getLeftmostExpression(y,!0);switch(D.kind){case 207:return f.createParenthesizedExpression(y);case 208:return D.arguments?y:f.createParenthesizedExpression(y)}return I(y)}function I(y){var D=e.skipPartiallyEmittedExpressions(y);return e.isLeftHandSideExpression(D)&&(D.kind!==208||D.arguments)?y:e.setTextRange(f.createParenthesizedExpression(y),y)}function w(y){return e.isLeftHandSideExpression(y)?y:e.setTextRange(f.createParenthesizedExpression(y),y)}function x(y){return e.isUnaryExpression(y)?y:e.setTextRange(f.createParenthesizedExpression(y),y)}function O(y){var D=e.sameMap(y,q);return e.setTextRange(f.createNodeArray(D,y.hasTrailingComma),y)}function q(y){var D=e.skipPartiallyEmittedExpressions(y),C=e.getExpressionPrecedence(D),m=e.getOperatorPrecedence(220,27);return C>m?y:e.setTextRange(f.createParenthesizedExpression(y),y)}function Z(y){var D=e.skipPartiallyEmittedExpressions(y);if(e.isCallExpression(D)){var C=D.expression,m=e.skipPartiallyEmittedExpressions(C).kind;if(m===212||m===213){var u=f.updateCallExpression(D,e.setTextRange(f.createParenthesizedExpression(C),C),D.typeArguments,D.arguments);return f.restoreOuterExpressions(y,u,8)}}var g=e.getLeftmostExpression(D,!1).kind;return g===204||g===212?e.setTextRange(f.createParenthesizedExpression(y),y):y}function ne(y){return!e.isBlock(y)&&(e.isCommaSequence(y)||e.getLeftmostExpression(y,!1).kind===204)?e.setTextRange(f.createParenthesizedExpression(y),y):y}function F(y){return y.kind===188?f.createParenthesizedType(y):y}function Q(y){switch(y.kind){case 186:case 187:case 178:case 179:return f.createParenthesizedType(y)}return F(y)}function V(y){switch(y.kind){case 180:case 192:case 189:return f.createParenthesizedType(y)}return Q(y)}function re(y){return f.createNodeArray(e.sameMap(y,Q))}function T(y,D){return D===0&&e.isFunctionOrConstructorTypeNode(y)&&y.typeParameters?f.createParenthesizedType(y):y}function N(y){if(e.some(y))return f.createNodeArray(e.sameMap(y,T))}}e.createParenthesizerRules=n,e.nullParenthesizerRules={getParenthesizeLeftSideOfBinaryForOperator:function(f){return e.identity},getParenthesizeRightSideOfBinaryForOperator:function(f){return e.identity},parenthesizeLeftSideOfBinary:function(f,p){return p},parenthesizeRightSideOfBinary:function(f,p,a){return a},parenthesizeExpressionOfComputedPropertyName:e.identity,parenthesizeConditionOfConditionalExpression:e.identity,parenthesizeBranchOfConditionalExpression:e.identity,parenthesizeExpressionOfExportDefault:e.identity,parenthesizeExpressionOfNew:function(f){return e.cast(f,e.isLeftHandSideExpression)},parenthesizeLeftSideOfAccess:function(f){return e.cast(f,e.isLeftHandSideExpression)},parenthesizeOperandOfPostfixUnary:function(f){return e.cast(f,e.isLeftHandSideExpression)},parenthesizeOperandOfPrefixUnary:function(f){return e.cast(f,e.isUnaryExpression)},parenthesizeExpressionsOfCommaDelimitedList:function(f){return e.cast(f,e.isNodeArray)},parenthesizeExpressionForDisallowedComma:e.identity,parenthesizeExpressionOfExpressionStatement:e.identity,parenthesizeConciseBodyOfArrowFunction:e.identity,parenthesizeMemberOfConditionalType:e.identity,parenthesizeMemberOfElementType:e.identity,parenthesizeElementTypeOfArrayType:e.identity,parenthesizeConstituentTypesOfUnionOrIntersectionType:function(f){return e.cast(f,e.isNodeArray)},parenthesizeTypeArguments:function(f){return f&&e.cast(f,e.isNodeArray)}}}(jr||(jr={})),function(e){function n(f){return{convertToFunctionBlock:p,convertToFunctionExpression:a,convertToArrayAssignmentElement:d,convertToObjectAssignmentElement:k,convertToAssignmentPattern:J,convertToObjectAssignmentPattern:h,convertToArrayAssignmentPattern:v,convertToAssignmentElementTarget:A};function p(z,ie){if(e.isBlock(z))return z;var b=f.createReturnStatement(z);e.setTextRange(b,z);var M=f.createBlock([b],ie);return e.setTextRange(M,z),M}function a(z){if(!z.body)return e.Debug.fail(\"Cannot convert a FunctionDeclaration without a body\");var ie=f.createFunctionExpression(z.modifiers,z.asteriskToken,z.name,z.typeParameters,z.parameters,z.type,z.body);return e.setOriginalNode(ie,z),e.setTextRange(ie,z),e.getStartsOnNewLine(z)&&e.setStartsOnNewLine(ie,!0),ie}function d(z){if(e.isBindingElement(z)){if(z.dotDotDotToken)return e.Debug.assertNode(z.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(f.createSpreadElement(z.name),z),z);var ie=A(z.name);return z.initializer?e.setOriginalNode(e.setTextRange(f.createAssignment(ie,z.initializer),z),z):ie}return e.cast(z,e.isExpression)}function k(z){if(e.isBindingElement(z)){if(z.dotDotDotToken)return e.Debug.assertNode(z.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(f.createSpreadAssignment(z.name),z),z);if(z.propertyName){var ie=A(z.name);return e.setOriginalNode(e.setTextRange(f.createPropertyAssignment(z.propertyName,z.initializer?f.createAssignment(ie,z.initializer):ie),z),z)}return e.Debug.assertNode(z.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(f.createShorthandPropertyAssignment(z.name,z.initializer),z),z)}return e.cast(z,e.isObjectLiteralElementLike)}function J(z){switch(z.kind){case 201:case 203:return v(z);case 200:case 204:return h(z)}}function h(z){return e.isObjectBindingPattern(z)?e.setOriginalNode(e.setTextRange(f.createObjectLiteralExpression(e.map(z.elements,k)),z),z):e.cast(z,e.isObjectLiteralExpression)}function v(z){return e.isArrayBindingPattern(z)?e.setOriginalNode(e.setTextRange(f.createArrayLiteralExpression(e.map(z.elements,d)),z),z):e.cast(z,e.isArrayLiteralExpression)}function A(z){return e.isBindingPattern(z)?J(z):e.cast(z,e.isExpression)}}e.createNodeConverters=n,e.nullNodeConverters={convertToFunctionBlock:e.notImplemented,convertToFunctionExpression:e.notImplemented,convertToArrayAssignmentElement:e.notImplemented,convertToObjectAssignmentElement:e.notImplemented,convertToAssignmentPattern:e.notImplemented,convertToObjectAssignmentPattern:e.notImplemented,convertToArrayAssignmentPattern:e.notImplemented,convertToAssignmentElementTarget:e.notImplemented}}(jr||(jr={})),function(e){var n=0;(function(V){V[V.None=0]=\"None\",V[V.NoParenthesizerRules=1]=\"NoParenthesizerRules\",V[V.NoNodeConverters=2]=\"NoNodeConverters\",V[V.NoIndentationOnFreshPropertyAccess=4]=\"NoIndentationOnFreshPropertyAccess\",V[V.NoOriginalNode=8]=\"NoOriginalNode\"})(e.NodeFactoryFlags||(e.NodeFactoryFlags={}));function f(V,re){var T=V&8?p:a,N=e.memoize(function(){return V&1?e.nullParenthesizerRules:e.createParenthesizerRules(Se)}),y=e.memoize(function(){return V&2?e.nullNodeConverters:e.createNodeConverters(Se)}),D=e.memoizeOne(function(_){return function(W,be){return Ia(W,_,be)}}),C=e.memoizeOne(function(_){return function(W){return Qr(_,W)}}),m=e.memoizeOne(function(_){return function(W){return Xn(W,_)}}),u=e.memoizeOne(function(_){return function(){return I_(_)}}),g=e.memoizeOne(function(_){return function(W){return vc(_,W)}}),P=e.memoizeOne(function(_){return function(W,be){return Pl(_,W,be)}}),te=e.memoizeOne(function(_){return function(W,be){return Af(_,W,be)}}),ue=e.memoizeOne(function(_){return function(W,be,nr){return ld(_,W,be,nr)}}),X=e.memoizeOne(function(_){return function(W,be,nr){return cd(_,W,be,nr)}}),j=e.memoizeOne(function(_){return function(W,be,nr,Br){return Cf(_,W,be,nr,Br)}}),Se={get parenthesizer(){return N()},get converters(){return y()},createNodeArray:Ce,createNumericLiteral:_e,createBigIntLiteral:Le,createStringLiteral:Xe,createStringLiteralFromNode:De,createRegularExpressionLiteral:Ae,createLiteralLikeNode:Ye,createIdentifier:lr,updateIdentifier:Ar,createTempVariable:kr,createLoopVariable:Ke,createUniqueName:Me,getGeneratedNameForNode:Hr,createPrivateIdentifier:ur,createToken:de,createSuper:Fe,createThis:$e,createNull:Sr,createTrue:Pr,createFalse:He,createModifier:pr,createModifiersFromModifierFlags:Jr,createQualifiedName:ze,updateQualifiedName:Lr,createComputedPropertyName:Yr,updateComputedPropertyName:lt,createTypeParameterDeclaration:tt,updateTypeParameterDeclaration:Rt,createParameterDeclaration:cn,updateParameterDeclaration:bn,createDecorator:In,updateDecorator:zn,createPropertySignature:ir,updatePropertySignature:Or,createPropertyDeclaration:sr,updatePropertyDeclaration:ye,createMethodSignature:or,updateMethodSignature:fe,createMethodDeclaration:je,updateMethodDeclaration:Ee,createConstructorDeclaration:Ne,updateConstructorDeclaration:me,createGetAccessorDeclaration:Ze,updateGetAccessorDeclaration:Cr,createSetAccessorDeclaration:fr,updateSetAccessorDeclaration:dr,createCallSignature:et,updateCallSignature:yt,createConstructSignature:Vr,updateConstructSignature:tr,createIndexSignature:xr,updateIndexSignature:Nr,createClassStaticBlockDeclaration:We,updateClassStaticBlockDeclaration:$,createTemplateLiteralTypeSpan:zr,updateTemplateLiteralTypeSpan:gt,createKeywordTypeNode:vt,createTypePredicateNode:ut,updateTypePredicateNode:ht,createTypeReferenceNode:xt,updateTypeReferenceNode:wt,createFunctionTypeNode:Qt,updateFunctionTypeNode:mt,createConstructorTypeNode:rn,updateConstructorTypeNode:Jn,createTypeQueryNode:en,updateTypeQueryNode:St,createTypeLiteralNode:Ut,updateTypeLiteralNode:qt,createArrayTypeNode:Mn,updateArrayTypeNode:dn,createTupleTypeNode:oa,updateTupleTypeNode:pt,createNamedTupleMember:_t,updateNamedTupleMember:Mt,createOptionalTypeNode:It,updateOptionalTypeNode:rt,createRestTypeNode:Cn,updateRestTypeNode:Qn,createUnionTypeNode:_i,updateUnionTypeNode:va,createIntersectionTypeNode:yi,updateIntersectionTypeNode:ro,createConditionalTypeNode:Ka,updateConditionalTypeNode:Mi,createInferTypeNode:io,updateInferTypeNode:ji,createImportTypeNode:No,updateImportTypeNode:lo,createParenthesizedType:Lo,updateParenthesizedType:Ha,createThisTypeNode:Yo,createTypeOperatorNode:co,updateTypeOperatorNode:za,createIndexedAccessTypeNode:hi,updateIndexedAccessTypeNode:Zi,createMappedTypeNode:Mo,updateMappedTypeNode:Po,createLiteralTypeNode:Fo,updateLiteralTypeNode:zo,createTemplateLiteralType:Hi,updateTemplateLiteralType:to,createObjectBindingPattern:Es,updateObjectBindingPattern:Cs,createArrayBindingPattern:hr,updateArrayBindingPattern:dt,createBindingElement:tn,updateBindingElement:Un,createArrayLiteralExpression:oe,updateArrayLiteralExpression:mr,createObjectLiteralExpression:se,updateObjectLiteralExpression:Be,createPropertyAccessExpression:V&4?function(_,W){return e.setEmitFlags(er(_,W),131072)}:er,updatePropertyAccessExpression:vr,createPropertyAccessChain:V&4?function(_,W,be){return e.setEmitFlags(qr(_,W,be),131072)}:qr,updatePropertyAccessChain:Dt,createElementAccessExpression:Jt,updateElementAccessExpression:Sn,createElementAccessChain:ta,updateElementAccessChain:xa,createCallExpression:Di,updateCallExpression:$a,createCallChain:Ji,updateCallChain:So,createNewExpression:cs,updateNewExpression:bt,createTaggedTemplateExpression:Pn,updateTaggedTemplateExpression:da,createTypeAssertion:ei,updateTypeAssertion:bi,createParenthesizedExpression:xi,updateParenthesizedExpression:ka,createFunctionExpression:mi,updateFunctionExpression:Xi,createArrowFunction:Gi,updateArrowFunction:Ro,createDeleteExpression:ko,updateDeleteExpression:es,createTypeOfExpression:as,updateTypeOfExpression:pe,createVoidExpression:Rr,updateVoidExpression:ft,createAwaitExpression:Zt,updateAwaitExpression:Re,createPrefixUnaryExpression:Qr,updatePrefixUnaryExpression:vn,createPostfixUnaryExpression:Xn,updatePostfixUnaryExpression:gi,createBinaryExpression:Ia,updateBinaryExpression:Wo,createConditionalExpression:Ir,updateConditionalExpression:Us,createTemplateExpression:il,updateTemplateExpression:Ml,createTemplateHead:Ql,createTemplateMiddle:zl,createTemplateTail:uc,createNoSubstitutionTemplateLiteral:cu,createTemplateLiteralLikeNode:Vs,createYieldExpression:no,updateYieldExpression:ql,createSpreadElement:fc,updateSpreadElement:Ws,createClassExpression:xc,updateClassExpression:Ic,createOmittedExpression:La,createExpressionWithTypeArguments:uu,updateExpressionWithTypeArguments:dc,createAsExpression:Nc,updateAsExpression:wr,createNonNullExpression:$r,updateNonNullExpression:Lt,createNonNullChain:Kt,updateNonNullChain:pn,createMetaProperty:fn,updateMetaProperty:kn,createTemplateSpan:Kn,updateTemplateSpan:Fa,createSemicolonClassElement:ua,createBlock:le,updateBlock:rr,createVariableStatement:yr,updateVariableStatement:ct,createEmptyStatement:jt,createExpressionStatement:yn,updateExpressionStatement:ha,createIfStatement:ri,updateIfStatement:Ta,createDoStatement:Ya,updateDoStatement:fi,createWhileStatement:ci,updateWhileStatement:Si,createForStatement:Do,updateForStatement:bo,createForInStatement:Ns,updateForInStatement:Ys,createForOfStatement:Nu,updateForOfStatement:gf,createContinueStatement:Zl,updateContinueStatement:jc,createBreakStatement:Mr,updateBreakStatement:$l,createReturnStatement:pc,updateReturnStatement:ku,createWithStatement:ol,updateWithStatement:kc,createSwitchStatement:vf,updateSwitchStatement:fo,createLabeledStatement:Zf,updateLabeledStatement:hf,createThrowStatement:Nd,updateThrowStatement:_s,createTryStatement:Hc,updateTryStatement:Jc,createDebuggerStatement:zp,createVariableDeclaration:dl,updateVariableDeclaration:qp,createVariableDeclarationList:Rs,updateVariableDeclarationList:Ja,createFunctionDeclaration:Zn,updateFunctionDeclaration:Oc,createClassDeclaration:ks,updateClassDeclaration:yf,createInterfaceDeclaration:Ou,updateInterfaceDeclaration:kd,createTypeAliasDeclaration:Uo,updateTypeAliasDeclaration:$f,createEnumDeclaration:Od,updateEnumDeclaration:Rd,createModuleDeclaration:Xp,updateModuleDeclaration:yp,createModuleBlock:Xl,updateModuleBlock:C_,createCaseBlock:ed,updateCaseBlock:bp,createNamespaceExportDeclaration:wd,updateNamespaceExportDeclaration:Md,createImportEqualsDeclaration:Pd,updateImportEqualsDeclaration:Fd,createImportDeclaration:Ep,updateImportDeclaration:Yp,createImportClause:Gd,updateImportClause:Qp,createAssertClause:Bd,updateAssertClause:fu,createAssertEntry:_c,updateAssertEntry:mc,createNamespaceImport:ec,updateNamespaceImport:Ud,createNamespaceExport:bf,updateNamespaceExport:Tp,createNamedImports:Sp,updateNamedImports:Ef,createImportSpecifier:Zp,updateImportSpecifier:Vd,createExportAssignment:rd,updateExportAssignment:td,createExportDeclaration:Ru,updateExportDeclaration:wu,createNamedExports:Mu,updateNamedExports:js,createExportSpecifier:gc,updateExportSpecifier:nd,createMissingDeclaration:x_,createExternalModuleReference:ad,updateExternalModuleReference:Pu,get createJSDocAllType(){return u(310)},get createJSDocUnknownType(){return u(311)},get createJSDocNonNullableType(){return g(313)},get updateJSDocNonNullableType(){return P(313)},get createJSDocNullableType(){return g(312)},get updateJSDocNullableType(){return P(312)},get createJSDocOptionalType(){return g(314)},get updateJSDocOptionalType(){return P(314)},get createJSDocVariadicType(){return g(316)},get updateJSDocVariadicType(){return P(316)},get createJSDocNamepathType(){return g(317)},get updateJSDocNamepathType(){return P(317)},createJSDocFunctionType:Sl,updateJSDocFunctionType:Fl,createJSDocTypeLiteral:pl,updateJSDocTypeLiteral:Dp,createJSDocTypeExpression:Tf,updateJSDocTypeExpression:Wd,createJSDocSignature:id,updateJSDocSignature:mo,createJSDocTemplateTag:ms,updateJSDocTemplateTag:$p,createJSDocTypedefTag:Yl,updateJSDocTypedefTag:od,createJSDocParameterTag:Ln,updateJSDocParameterTag:us,createJSDocPropertyTag:ii,updateJSDocPropertyTag:Rc,createJSDocCallbackTag:sd,updateJSDocCallbackTag:sl,createJSDocAugmentsTag:Dn,updateJSDocAugmentsTag:N_,createJSDocImplementsTag:rs,updateJSDocImplementsTag:Fu,createJSDocSeeTag:fs,updateJSDocSeeTag:wc,createJSDocNameReference:Hs,updateJSDocNameReference:Sf,createJSDocMemberName:ws,updateJSDocMemberName:Mc,createJSDocLink:Qu,updateJSDocLink:Df,createJSDocLinkCode:hc,updateJSDocLinkCode:Lf,createJSDocLinkPlain:ll,updateJSDocLinkPlain:e_,get createJSDocTypeTag(){return X(341)},get updateJSDocTypeTag(){return j(341)},get createJSDocReturnTag(){return X(339)},get updateJSDocReturnTag(){return j(339)},get createJSDocThisTag(){return X(340)},get updateJSDocThisTag(){return j(340)},get createJSDocEnumTag(){return X(337)},get updateJSDocEnumTag(){return j(337)},get createJSDocAuthorTag(){return te(328)},get updateJSDocAuthorTag(){return ue(328)},get createJSDocClassTag(){return te(330)},get updateJSDocClassTag(){return ue(330)},get createJSDocPublicTag(){return te(331)},get updateJSDocPublicTag(){return ue(331)},get createJSDocPrivateTag(){return te(332)},get updateJSDocPrivateTag(){return ue(332)},get createJSDocProtectedTag(){return te(333)},get updateJSDocProtectedTag(){return ue(333)},get createJSDocReadonlyTag(){return te(334)},get updateJSDocReadonlyTag(){return ue(334)},get createJSDocOverrideTag(){return te(335)},get updateJSDocOverrideTag(){return ue(335)},get createJSDocDeprecatedTag(){return te(329)},get updateJSDocDeprecatedTag(){return ue(329)},createJSDocUnknownTag:yc,updateJSDocUnknownTag:ud,createJSDocText:xf,updateJSDocText:Gu,createJSDocComment:Js,updateJSDocComment:Gl,createJsxElement:Kc,updateJsxElement:fd,createJsxSelfClosingElement:Ga,updateJsxSelfClosingElement:wn,createJsxOpeningElement:Ts,updateJsxOpeningElement:jd,createJsxClosingElement:rc,updateJsxClosingElement:Zu,createJsxFragment:zc,createJsxText:Ll,updateJsxText:tc,createJsxOpeningFragment:If,createJsxJsxClosingFragment:$u,updateJsxFragment:Hd,createJsxAttribute:Qs,updateJsxAttribute:Jd,createJsxAttributes:jo,updateJsxAttributes:Bl,createJsxSpreadAttribute:Kd,updateJsxSpreadAttribute:nc,createJsxExpression:Nf,updateJsxExpression:Bu,createCaseClause:dd,updateCaseClause:zd,createDefaultClause:Al,updateDefaultClause:ts,createHeritageClause:du,updateHeritageClause:qd,createCatchClause:ac,updateCatchClause:kf,createPropertyAssignment:Uu,updatePropertyAssignment:ef,createShorthandPropertyAssignment:Of,updateShorthandPropertyAssignment:qc,createSpreadAssignment:rf,updateSpreadAssignment:Vu,createEnumMember:Xc,updateEnumMember:Yd,createSourceFile:Ec,updateSourceFile:r_,createBundle:Wa,updateBundle:pu,createUnparsedSource:gn,createUnparsedPrologue:Qd,createUnparsedPrepend:Zd,createUnparsedTextLike:Pc,createUnparsedSyntheticReference:$d,createInputFiles:k_,createSyntheticExpression:Yc,createSyntaxList:Lp,createNotEmittedStatement:pd,createPartiallyEmittedExpression:Ap,updatePartiallyEmittedExpression:Ul,createCommaListExpression:_d,updateCommaListExpression:Fc,createEndOfDeclarationMarker:Qc,createMergeDeclarationMarker:Mf,createSyntheticReferenceExpression:E,updateSyntheticReferenceExpression:Qe,cloneNode:nt,get createComma(){return D(27)},get createAssignment(){return D(63)},get createLogicalOr(){return D(56)},get createLogicalAnd(){return D(55)},get createBitwiseOr(){return D(51)},get createBitwiseXor(){return D(52)},get createBitwiseAnd(){return D(50)},get createStrictEquality(){return D(36)},get createStrictInequality(){return D(37)},get createEquality(){return D(34)},get createInequality(){return D(35)},get createLessThan(){return D(29)},get createLessThanEquals(){return D(32)},get createGreaterThan(){return D(31)},get createGreaterThanEquals(){return D(33)},get createLeftShift(){return D(47)},get createRightShift(){return D(48)},get createUnsignedRightShift(){return D(49)},get createAdd(){return D(39)},get createSubtract(){return D(40)},get createMultiply(){return D(41)},get createDivide(){return D(43)},get createModulo(){return D(44)},get createExponent(){return D(42)},get createPrefixPlus(){return C(39)},get createPrefixMinus(){return C(40)},get createPrefixIncrement(){return C(45)},get createPrefixDecrement(){return C(46)},get createBitwiseNot(){return C(54)},get createLogicalNot(){return C(53)},get createPostfixIncrement(){return m(45)},get createPostfixDecrement(){return m(46)},createImmediatelyInvokedFunctionExpression:Ot,createImmediatelyInvokedArrowFunction:fa,createVoidZero:Oa,createExportDefault:ia,createExternalModuleExport:ti,createTypeCheck:Na,createMethodCall:Ua,createGlobalMethodCall:is,createFunctionBindCall:Go,createFunctionCallCall:cl,createFunctionApplyCall:os,createArraySliceCall:Vl,createArrayConcatCall:Zc,createObjectDefinePropertyCall:$c,createReflectGetCall:md,createReflectSetCall:t_,createPropertyDescriptor:Pf,createCallBinding:xe,createAssignmentTargetWrapper:Er,inlineExpressions:Fr,getInternalName:Ct,getLocalName:Xt,getExportName:On,getDeclarationName:$n,getNamespaceMemberName:wa,getExternalModuleOrNamespaceExportName:Ea,restoreOuterExpressions:Wl,restoreEnclosingLabel:ep,createUseStrictPrologue:$i,copyPrologue:Ki,copyStandardPrologue:Ho,copyCustomPrologue:gs,ensureUseStrict:_l,liftToBlock:xs,mergeLexicalEnvironment:bl,updateModifiers:ju};return Se;function Ce(_,W){if(_===void 0||_===e.emptyArray)_=[];else if(e.isNodeArray(_)){if(W===void 0||_.hasTrailingComma===W)return _.transformFlags===void 0&&b(_),e.Debug.attachNodeArrayDebugInfo(_),_;var be=_.slice();return be.pos=_.pos,be.end=_.end,be.hasTrailingComma=W,be.transformFlags=_.transformFlags,e.Debug.attachNodeArrayDebugInfo(be),be}var nr=_.length,Br=nr>=1&&nr<=4?_.slice():_;return e.setTextRangePosEnd(Br,-1,-1),Br.hasTrailingComma=!!W,b(Br),e.Debug.attachNodeArrayDebugInfo(Br),Br}function R(_){return re.createBaseNode(_)}function Y(_,W,be){var nr=R(_);return nr.decorators=ul(W),nr.modifiers=ul(be),nr.transformFlags|=ie(nr.decorators)|ie(nr.modifiers),nr.symbol=void 0,nr.localSymbol=void 0,nr.locals=void 0,nr.nextContainer=void 0,nr}function U(_,W,be,nr){var Br=Y(_,W,be);if(nr=Ms(nr),Br.name=nr,nr)switch(Br.kind){case 168:case 171:case 172:case 166:case 294:if(e.isIdentifier(nr)){Br.transformFlags|=v(nr);break}default:Br.transformFlags|=z(nr);break}return Br}function K(_,W,be,nr,Br){var Ht=U(_,W,be,nr);return Ht.typeParameters=ul(Br),Ht.transformFlags|=ie(Ht.typeParameters),Br&&(Ht.transformFlags|=1),Ht}function Te(_,W,be,nr,Br,Ht,an){var si=K(_,W,be,nr,Br);return si.parameters=Ce(Ht),si.type=an,si.transformFlags|=ie(si.parameters)|z(si.type),an&&(si.transformFlags|=1),si}function ge(_,W){return W.typeArguments&&(_.typeArguments=W.typeArguments),T(_,W)}function ke(_,W,be,nr,Br,Ht,an,si){var Io=Te(_,W,be,nr,Br,Ht,an);return Io.body=si,Io.transformFlags|=z(Io.body)&-16777217,si||(Io.transformFlags|=1),Io}function Pe(_,W){return W.exclamationToken&&(_.exclamationToken=W.exclamationToken),W.typeArguments&&(_.typeArguments=W.typeArguments),ge(_,W)}function Ie(_,W,be,nr,Br,Ht){var an=K(_,W,be,nr,Br);return an.heritageClauses=ul(Ht),an.transformFlags|=ie(an.heritageClauses),an}function Ge(_,W,be,nr,Br,Ht,an){var si=Ie(_,W,be,nr,Br,Ht);return si.members=Ce(an),si.transformFlags|=ie(si.members),si}function he(_,W,be,nr,Br){var Ht=U(_,W,be,nr);return Ht.initializer=Br,Ht.transformFlags|=z(Ht.initializer),Ht}function ve(_,W,be,nr,Br,Ht){var an=he(_,W,be,nr,Ht);return an.type=Br,an.transformFlags|=z(Br),Br&&(an.transformFlags|=1),an}function Ve(_,W){var be=gr(_);return be.text=W,be}function _e(_,W){W===void 0&&(W=0);var be=Ve(8,typeof _==\"number\"?_+\"\":_);return be.numericLiteralFlags=W,W&384&&(be.transformFlags|=512),be}function Le(_){var W=Ve(9,typeof _==\"string\"?_:e.pseudoBigIntToString(_)+\"n\");return W.transformFlags|=4,W}function qe(_,W){var be=Ve(10,_);return be.singleQuote=W,be}function Xe(_,W,be){var nr=qe(_,W);return nr.hasExtendedUnicodeEscape=be,be&&(nr.transformFlags|=512),nr}function De(_){var W=qe(e.getTextOfIdentifierOrLiteral(_),void 0);return W.textSourceNode=_,W}function Ae(_){var W=Ve(13,_);return W}function Ye(_,W){switch(_){case 8:return _e(W,0);case 9:return Le(W);case 10:return Xe(W,void 0);case 11:return Ll(W,!1);case 12:return Ll(W,!0);case 13:return Ae(W);case 14:return Vs(_,W,void 0,0)}}function Dr(_,W){W===void 0&&_&&(W=e.stringToToken(_)),W===79&&(W=void 0);var be=re.createBaseIdentifierNode(79);return be.originalKeywordKind=W,be.escapedText=e.escapeLeadingUnderscores(_),be}function br(_,W){var be=Dr(_,void 0);return be.autoGenerateFlags=W,be.autoGenerateId=n,n++,be}function lr(_,W,be){var nr=Dr(_,be);return W&&(nr.typeArguments=Ce(W)),nr.originalKeywordKind===132&&(nr.transformFlags|=16777216),nr}function Ar(_,W){return _.typeArguments!==W?T(lr(e.idText(_),W),_):_}function kr(_,W){var be=1;W&&(be|=8);var nr=br(\"\",be);return _&&_(nr),nr}function Ke(_){var W=2;return _&&(W|=8),br(\"\",W)}function Me(_,W){return W===void 0&&(W=0),e.Debug.assert(!(W&7),\"Argument out of range: flags\"),e.Debug.assert((W&48)!==32,\"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic\"),br(_,3|W)}function Hr(_,W){W===void 0&&(W=0),e.Debug.assert(!(W&7),\"Argument out of range: flags\");var be=br(_&&e.isIdentifier(_)?e.idText(_):\"\",4|W);return be.original=_,be}function ur(_){e.startsWith(_,\"#\")||e.Debug.fail(\"First character of private identifier must be #: \"+_);var W=re.createBasePrivateIdentifierNode(80);return W.escapedText=e.escapeLeadingUnderscores(_),W.transformFlags|=8388608,W}function gr(_){return re.createBaseTokenNode(_)}function de(_){e.Debug.assert(_>=0&&_<=159,\"Invalid token\"),e.Debug.assert(_<=14||_>=17,\"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals.\"),e.Debug.assert(_<=8||_>=14,\"Invalid token. Use 'createLiteralLikeNode' to create literals.\"),e.Debug.assert(_!==79,\"Invalid token. Use 'createIdentifier' to create identifiers\");var W=gr(_),be=0;switch(_){case 131:be=192;break;case 123:case 121:case 122:case 144:case 126:case 135:case 85:case 130:case 146:case 157:case 143:case 147:case 158:case 149:case 133:case 150:case 114:case 154:case 152:be=1;break;case 106:be=33554944;break;case 124:be=512;break;case 108:be=8192;break}return be&&(W.transformFlags|=be),W}function Fe(){return de(106)}function $e(){return de(108)}function Sr(){return de(104)}function Pr(){return de(110)}function He(){return de(95)}function pr(_){return de(_)}function Jr(_){var W=[];return _&1&&W.push(pr(93)),_&2&&W.push(pr(135)),_&512&&W.push(pr(88)),_&2048&&W.push(pr(85)),_&4&&W.push(pr(123)),_&8&&W.push(pr(121)),_&16&&W.push(pr(122)),_&128&&W.push(pr(126)),_&32&&W.push(pr(124)),_&16384&&W.push(pr(158)),_&64&&W.push(pr(144)),_&256&&W.push(pr(131)),W}function ze(_,W){var be=R(160);return be.left=_,be.right=Ms(W),be.transformFlags|=z(be.left)|v(be.right),be}function Lr(_,W,be){return _.left!==W||_.right!==be?T(ze(W,be),_):_}function Yr(_){var W=R(161);return W.expression=N().parenthesizeExpressionOfComputedPropertyName(_),W.transformFlags|=z(W.expression)|512|65536,W}function lt(_,W){return _.expression!==W?T(Yr(W),_):_}function tt(_,W,be){var nr=U(162,void 0,void 0,_);return nr.constraint=W,nr.default=be,nr.transformFlags=1,nr}function Rt(_,W,be,nr){return _.name!==W||_.constraint!==be||_.default!==nr?T(tt(W,be,nr),_):_}function cn(_,W,be,nr,Br,Ht,an){var si=ve(163,_,W,nr,Ht,an&&N().parenthesizeExpressionForDisallowedComma(an));return si.dotDotDotToken=be,si.questionToken=Br,e.isThisIdentifier(si.name)?si.transformFlags=1:(si.transformFlags|=z(si.dotDotDotToken)|z(si.questionToken),Br&&(si.transformFlags|=1),e.modifiersToFlags(si.modifiers)&16476&&(si.transformFlags|=4096),(an||be)&&(si.transformFlags|=512)),si}function bn(_,W,be,nr,Br,Ht,an,si){return _.decorators!==W||_.modifiers!==be||_.dotDotDotToken!==nr||_.name!==Br||_.questionToken!==Ht||_.type!==an||_.initializer!==si?T(cn(W,be,nr,Br,Ht,an,si),_):_}function In(_){var W=R(164);return W.expression=N().parenthesizeLeftSideOfAccess(_),W.transformFlags|=z(W.expression)|1|4096,W}function zn(_,W){return _.expression!==W?T(In(W),_):_}function ir(_,W,be,nr){var Br=U(165,void 0,_,W);return Br.type=nr,Br.questionToken=be,Br.transformFlags=1,Br}function Or(_,W,be,nr,Br){return _.modifiers!==W||_.name!==be||_.questionToken!==nr||_.type!==Br?T(ir(W,be,nr,Br),_):_}function sr(_,W,be,nr,Br,Ht){var an=ve(166,_,W,be,Br,Ht);return an.questionToken=nr&&e.isQuestionToken(nr)?nr:void 0,an.exclamationToken=nr&&e.isExclamationToken(nr)?nr:void 0,an.transformFlags|=z(an.questionToken)|z(an.exclamationToken)|8388608,(e.isComputedPropertyName(an.name)||e.hasStaticModifier(an)&&an.initializer)&&(an.transformFlags|=4096),(nr||e.modifiersToFlags(an.modifiers)&2)&&(an.transformFlags|=1),an}function ye(_,W,be,nr,Br,Ht,an){return _.decorators!==W||_.modifiers!==be||_.name!==nr||_.questionToken!==(Br!==void 0&&e.isQuestionToken(Br)?Br:void 0)||_.exclamationToken!==(Br!==void 0&&e.isExclamationToken(Br)?Br:void 0)||_.type!==Ht||_.initializer!==an?T(sr(W,be,nr,Br,Ht,an),_):_}function or(_,W,be,nr,Br,Ht){var an=Te(167,void 0,_,W,nr,Br,Ht);return an.questionToken=be,an.transformFlags=1,an}function fe(_,W,be,nr,Br,Ht,an){return _.modifiers!==W||_.name!==be||_.questionToken!==nr||_.typeParameters!==Br||_.parameters!==Ht||_.type!==an?ge(or(W,be,nr,Br,Ht,an),_):_}function je(_,W,be,nr,Br,Ht,an,si,Io){var vs=ke(168,_,W,nr,Ht,an,si,Io);return vs.asteriskToken=be,vs.questionToken=Br,vs.transformFlags|=z(vs.asteriskToken)|z(vs.questionToken)|512,Br&&(vs.transformFlags|=1),e.modifiersToFlags(vs.modifiers)&256?be?vs.transformFlags|=64:vs.transformFlags|=128:be&&(vs.transformFlags|=1024),vs}function Ee(_,W,be,nr,Br,Ht,an,si,Io,vs){return _.decorators!==W||_.modifiers!==be||_.asteriskToken!==nr||_.name!==Br||_.questionToken!==Ht||_.typeParameters!==an||_.parameters!==si||_.type!==Io||_.body!==vs?Pe(je(W,be,nr,Br,Ht,an,si,Io,vs),_):_}function We(_,W,be){var nr=K(169,_,W,void 0,void 0);return nr.body=be,nr.transformFlags=z(be)|8388608,nr}function $(_,W,be,nr){return _.decorators!==W||_.modifier!==be||_.body!==nr?T(We(W,be,nr),_):_}function Ne(_,W,be,nr){var Br=ke(170,_,W,void 0,void 0,be,void 0,nr);return Br.transformFlags|=512,Br}function me(_,W,be,nr,Br){return _.decorators!==W||_.modifiers!==be||_.parameters!==nr||_.body!==Br?Pe(Ne(W,be,nr,Br),_):_}function Ze(_,W,be,nr,Br,Ht){return ke(171,_,W,be,void 0,nr,Br,Ht)}function Cr(_,W,be,nr,Br,Ht,an){return _.decorators!==W||_.modifiers!==be||_.name!==nr||_.parameters!==Br||_.type!==Ht||_.body!==an?Pe(Ze(W,be,nr,Br,Ht,an),_):_}function fr(_,W,be,nr,Br){return ke(172,_,W,be,void 0,nr,void 0,Br)}function dr(_,W,be,nr,Br,Ht){return _.decorators!==W||_.modifiers!==be||_.name!==nr||_.parameters!==Br||_.body!==Ht?Pe(fr(W,be,nr,Br,Ht),_):_}function et(_,W,be){var nr=Te(173,void 0,void 0,void 0,_,W,be);return nr.transformFlags=1,nr}function yt(_,W,be,nr){return _.typeParameters!==W||_.parameters!==be||_.type!==nr?ge(et(W,be,nr),_):_}function Vr(_,W,be){var nr=Te(174,void 0,void 0,void 0,_,W,be);return nr.transformFlags=1,nr}function tr(_,W,be,nr){return _.typeParameters!==W||_.parameters!==be||_.type!==nr?ge(Vr(W,be,nr),_):_}function xr(_,W,be,nr){var Br=Te(175,_,W,void 0,void 0,be,nr);return Br.transformFlags=1,Br}function Nr(_,W,be,nr,Br){return _.parameters!==nr||_.type!==Br||_.decorators!==W||_.modifiers!==be?ge(xr(W,be,nr,Br),_):_}function zr(_,W){var be=R(198);return be.type=_,be.literal=W,be.transformFlags=1,be}function gt(_,W,be){return _.type!==W||_.literal!==be?T(zr(W,be),_):_}function vt(_){return de(_)}function ut(_,W,be){var nr=R(176);return nr.assertsModifier=_,nr.parameterName=Ms(W),nr.type=be,nr.transformFlags=1,nr}function ht(_,W,be,nr){return _.assertsModifier!==W||_.parameterName!==be||_.type!==nr?T(ut(W,be,nr),_):_}function xt(_,W){var be=R(177);return be.typeName=Ms(_),be.typeArguments=W&&N().parenthesizeTypeArguments(Ce(W)),be.transformFlags=1,be}function wt(_,W,be){return _.typeName!==W||_.typeArguments!==be?T(xt(W,be),_):_}function Qt(_,W,be){var nr=Te(178,void 0,void 0,void 0,_,W,be);return nr.transformFlags=1,nr}function mt(_,W,be,nr){return _.typeParameters!==W||_.parameters!==be||_.type!==nr?ge(Qt(W,be,nr),_):_}function rn(){for(var _=[],W=0;W<arguments.length;W++)_[W]=arguments[W];return _.length===4?sa.apply(void 0,_):_.length===3?ba.apply(void 0,_):e.Debug.fail(\"Incorrect number of arguments specified.\")}function sa(_,W,be,nr){var Br=Te(179,void 0,_,void 0,W,be,nr);return Br.transformFlags=1,Br}function ba(_,W,be){return sa(void 0,_,W,be)}function Jn(){for(var _=[],W=0;W<arguments.length;W++)_[W]=arguments[W];return _.length===5?na.apply(void 0,_):_.length===4?Wn.apply(void 0,_):e.Debug.fail(\"Incorrect number of arguments specified.\")}function na(_,W,be,nr,Br){return _.modifiers!==W||_.typeParameters!==be||_.parameters!==nr||_.type!==Br?ge(rn(W,be,nr,Br),_):_}function Wn(_,W,be,nr){return na(_,_.modifiers,W,be,nr)}function en(_){var W=R(180);return W.exprName=_,W.transformFlags=1,W}function St(_,W){return _.exprName!==W?T(en(W),_):_}function Ut(_){var W=R(181);return W.members=Ce(_),W.transformFlags=1,W}function qt(_,W){return _.members!==W?T(Ut(W),_):_}function Mn(_){var W=R(182);return W.elementType=N().parenthesizeElementTypeOfArrayType(_),W.transformFlags=1,W}function dn(_,W){return _.elementType!==W?T(Mn(W),_):_}function oa(_){var W=R(183);return W.elements=Ce(_),W.transformFlags=1,W}function pt(_,W){return _.elements!==W?T(oa(W),_):_}function _t(_,W,be,nr){var Br=R(196);return Br.dotDotDotToken=_,Br.name=W,Br.questionToken=be,Br.type=nr,Br.transformFlags=1,Br}function Mt(_,W,be,nr,Br){return _.dotDotDotToken!==W||_.name!==be||_.questionToken!==nr||_.type!==Br?T(_t(W,be,nr,Br),_):_}function It(_){var W=R(184);return W.type=N().parenthesizeElementTypeOfArrayType(_),W.transformFlags=1,W}function rt(_,W){return _.type!==W?T(It(W),_):_}function Cn(_){var W=R(185);return W.type=_,W.transformFlags=1,W}function Qn(_,W){return _.type!==W?T(Cn(W),_):_}function Ra(_,W){var be=R(_);return be.types=N().parenthesizeConstituentTypesOfUnionOrIntersectionType(W),be.transformFlags=1,be}function Ci(_,W){return _.types!==W?T(Ra(_.kind,W),_):_}function _i(_){return Ra(186,_)}function va(_,W){return Ci(_,W)}function yi(_){return Ra(187,_)}function ro(_,W){return Ci(_,W)}function Ka(_,W,be,nr){var Br=R(188);return Br.checkType=N().parenthesizeMemberOfConditionalType(_),Br.extendsType=N().parenthesizeMemberOfConditionalType(W),Br.trueType=be,Br.falseType=nr,Br.transformFlags=1,Br}function Mi(_,W,be,nr,Br){return _.checkType!==W||_.extendsType!==be||_.trueType!==nr||_.falseType!==Br?T(Ka(W,be,nr,Br),_):_}function io(_){var W=R(189);return W.typeParameter=_,W.transformFlags=1,W}function ji(_,W){return _.typeParameter!==W?T(io(W),_):_}function Hi(_,W){var be=R(197);return be.head=_,be.templateSpans=Ce(W),be.transformFlags=1,be}function to(_,W,be){return _.head!==W||_.templateSpans!==be?T(Hi(W,be),_):_}function No(_,W,be,nr){nr===void 0&&(nr=!1);var Br=R(199);return Br.argument=_,Br.qualifier=W,Br.typeArguments=be&&N().parenthesizeTypeArguments(be),Br.isTypeOf=nr,Br.transformFlags=1,Br}function lo(_,W,be,nr,Br){return Br===void 0&&(Br=_.isTypeOf),_.argument!==W||_.qualifier!==be||_.typeArguments!==nr||_.isTypeOf!==Br?T(No(W,be,nr,Br),_):_}function Lo(_){var W=R(190);return W.type=_,W.transformFlags=1,W}function Ha(_,W){return _.type!==W?T(Lo(W),_):_}function Yo(){var _=R(191);return _.transformFlags=1,_}function co(_,W){var be=R(192);return be.operator=_,be.type=N().parenthesizeMemberOfElementType(W),be.transformFlags=1,be}function za(_,W){return _.type!==W?T(co(_.operator,W),_):_}function hi(_,W){var be=R(193);return be.objectType=N().parenthesizeMemberOfElementType(_),be.indexType=W,be.transformFlags=1,be}function Zi(_,W,be){return _.objectType!==W||_.indexType!==be?T(hi(W,be),_):_}function Mo(_,W,be,nr,Br,Ht){var an=R(194);return an.readonlyToken=_,an.typeParameter=W,an.nameType=be,an.questionToken=nr,an.type=Br,an.members=Ht&&Ce(Ht),an.transformFlags=1,an}function Po(_,W,be,nr,Br,Ht,an){return _.readonlyToken!==W||_.typeParameter!==be||_.nameType!==nr||_.questionToken!==Br||_.type!==Ht||_.members!==an?T(Mo(W,be,nr,Br,Ht,an),_):_}function Fo(_){var W=R(195);return W.literal=_,W.transformFlags=1,W}function zo(_,W){return _.literal!==W?T(Fo(W),_):_}function Es(_){var W=R(200);return W.elements=Ce(_),W.transformFlags|=ie(W.elements)|512|262144,W.transformFlags&16384&&(W.transformFlags|=32832),W}function Cs(_,W){return _.elements!==W?T(Es(W),_):_}function hr(_){var W=R(201);return W.elements=Ce(_),W.transformFlags|=ie(W.elements)|512|262144,W}function dt(_,W){return _.elements!==W?T(hr(W),_):_}function tn(_,W,be,nr){var Br=he(202,void 0,void 0,be,nr&&N().parenthesizeExpressionForDisallowedComma(nr));return Br.propertyName=Ms(W),Br.dotDotDotToken=_,Br.transformFlags|=z(Br.dotDotDotToken)|512,Br.propertyName&&(Br.transformFlags|=e.isIdentifier(Br.propertyName)?v(Br.propertyName):z(Br.propertyName)),_&&(Br.transformFlags|=16384),Br}function Un(_,W,be,nr,Br){return _.propertyName!==be||_.dotDotDotToken!==W||_.name!==nr||_.initializer!==Br?T(tn(W,be,nr,Br),_):_}function Oe(_){var W=R(_);return W}function oe(_,W){var be=Oe(203),nr=_&&e.lastOrUndefined(_),Br=Ce(_,nr&&e.isOmittedExpression(nr)?!0:void 0);return be.elements=N().parenthesizeExpressionsOfCommaDelimitedList(Br),be.multiLine=W,be.transformFlags|=ie(be.elements),be}function mr(_,W){return _.elements!==W?T(oe(W,_.multiLine),_):_}function se(_,W){var be=Oe(204);return be.properties=Ce(_),be.multiLine=W,be.transformFlags|=ie(be.properties),be}function Be(_,W){return _.properties!==W?T(se(W,_.multiLine),_):_}function er(_,W){var be=Oe(205);return be.expression=N().parenthesizeLeftSideOfAccess(_),be.name=Ms(W),be.transformFlags=z(be.expression)|(e.isIdentifier(be.name)?v(be.name):z(be.name)),e.isSuperKeyword(_)&&(be.transformFlags|=192),be}function vr(_,W,be){return e.isPropertyAccessChain(_)?Dt(_,W,_.questionDotToken,e.cast(be,e.isIdentifier)):_.expression!==W||_.name!==be?T(er(W,be),_):_}function qr(_,W,be){var nr=Oe(205);return nr.flags|=32,nr.expression=N().parenthesizeLeftSideOfAccess(_),nr.questionDotToken=W,nr.name=Ms(be),nr.transformFlags|=16|z(nr.expression)|z(nr.questionDotToken)|(e.isIdentifier(nr.name)?v(nr.name):z(nr.name)),nr}function Dt(_,W,be,nr){return e.Debug.assert(!!(_.flags&32),\"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead.\"),_.expression!==W||_.questionDotToken!==be||_.name!==nr?T(qr(W,be,nr),_):_}function Jt(_,W){var be=Oe(206);return be.expression=N().parenthesizeLeftSideOfAccess(_),be.argumentExpression=Ff(W),be.transformFlags|=z(be.expression)|z(be.argumentExpression),e.isSuperKeyword(_)&&(be.transformFlags|=192),be}function Sn(_,W,be){return e.isElementAccessChain(_)?xa(_,W,_.questionDotToken,be):_.expression!==W||_.argumentExpression!==be?T(Jt(W,be),_):_}function ta(_,W,be){var nr=Oe(206);return nr.flags|=32,nr.expression=N().parenthesizeLeftSideOfAccess(_),nr.questionDotToken=W,nr.argumentExpression=Ff(be),nr.transformFlags|=z(nr.expression)|z(nr.questionDotToken)|z(nr.argumentExpression)|16,nr}function xa(_,W,be,nr){return e.Debug.assert(!!(_.flags&32),\"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead.\"),_.expression!==W||_.questionDotToken!==be||_.argumentExpression!==nr?T(ta(W,be,nr),_):_}function Di(_,W,be){var nr=Oe(207);return nr.expression=N().parenthesizeLeftSideOfAccess(_),nr.typeArguments=ul(W),nr.arguments=N().parenthesizeExpressionsOfCommaDelimitedList(Ce(be)),nr.transformFlags|=z(nr.expression)|ie(nr.typeArguments)|ie(nr.arguments),nr.typeArguments&&(nr.transformFlags|=1),e.isImportKeyword(nr.expression)?nr.transformFlags|=4194304:e.isSuperProperty(nr.expression)&&(nr.transformFlags|=8192),nr}function $a(_,W,be,nr){return e.isCallChain(_)?So(_,W,_.questionDotToken,be,nr):_.expression!==W||_.typeArguments!==be||_.arguments!==nr?T(Di(W,be,nr),_):_}function Ji(_,W,be,nr){var Br=Oe(207);return Br.flags|=32,Br.expression=N().parenthesizeLeftSideOfAccess(_),Br.questionDotToken=W,Br.typeArguments=ul(be),Br.arguments=N().parenthesizeExpressionsOfCommaDelimitedList(Ce(nr)),Br.transformFlags|=z(Br.expression)|z(Br.questionDotToken)|ie(Br.typeArguments)|ie(Br.arguments)|16,Br.typeArguments&&(Br.transformFlags|=1),e.isSuperProperty(Br.expression)&&(Br.transformFlags|=8192),Br}function So(_,W,be,nr,Br){return e.Debug.assert(!!(_.flags&32),\"Cannot update a CallExpression using updateCallChain. Use updateCall instead.\"),_.expression!==W||_.questionDotToken!==be||_.typeArguments!==nr||_.arguments!==Br?T(Ji(W,be,nr,Br),_):_}function cs(_,W,be){var nr=Oe(208);return nr.expression=N().parenthesizeExpressionOfNew(_),nr.typeArguments=ul(W),nr.arguments=be?N().parenthesizeExpressionsOfCommaDelimitedList(be):void 0,nr.transformFlags|=z(nr.expression)|ie(nr.typeArguments)|ie(nr.arguments)|16,nr.typeArguments&&(nr.transformFlags|=1),nr}function bt(_,W,be,nr){return _.expression!==W||_.typeArguments!==be||_.arguments!==nr?T(cs(W,be,nr),_):_}function Pn(_,W,be){var nr=Oe(209);return nr.tag=N().parenthesizeLeftSideOfAccess(_),nr.typeArguments=ul(W),nr.template=be,nr.transformFlags|=z(nr.tag)|ie(nr.typeArguments)|z(nr.template)|512,nr.typeArguments&&(nr.transformFlags|=1),e.hasInvalidEscape(nr.template)&&(nr.transformFlags|=64),nr}function da(_,W,be,nr){return _.tag!==W||_.typeArguments!==be||_.template!==nr?T(Pn(W,be,nr),_):_}function ei(_,W){var be=Oe(210);return be.expression=N().parenthesizeOperandOfPrefixUnary(W),be.type=_,be.transformFlags|=z(be.expression)|z(be.type)|1,be}function bi(_,W,be){return _.type!==W||_.expression!==be?T(ei(W,be),_):_}function xi(_){var W=Oe(211);return W.expression=_,W.transformFlags=z(W.expression),W}function ka(_,W){return _.expression!==W?T(xi(W),_):_}function mi(_,W,be,nr,Br,Ht,an){var si=ke(212,void 0,_,be,nr,Br,Ht,an);return si.asteriskToken=W,si.transformFlags|=z(si.asteriskToken),si.typeParameters&&(si.transformFlags|=1),e.modifiersToFlags(si.modifiers)&256?si.asteriskToken?si.transformFlags|=64:si.transformFlags|=128:si.asteriskToken&&(si.transformFlags|=1024),si}function Xi(_,W,be,nr,Br,Ht,an,si){return _.name!==nr||_.modifiers!==W||_.asteriskToken!==be||_.typeParameters!==Br||_.parameters!==Ht||_.type!==an||_.body!==si?Pe(mi(W,be,nr,Br,Ht,an,si),_):_}function Gi(_,W,be,nr,Br,Ht){var an=ke(213,void 0,_,void 0,W,be,nr,N().parenthesizeConciseBodyOfArrowFunction(Ht));return an.equalsGreaterThanToken=Br!=null?Br:de(38),an.transformFlags|=z(an.equalsGreaterThanToken)|512,e.modifiersToFlags(an.modifiers)&256&&(an.transformFlags|=8320),an}function Ro(_,W,be,nr,Br,Ht,an){return _.modifiers!==W||_.typeParameters!==be||_.parameters!==nr||_.type!==Br||_.equalsGreaterThanToken!==Ht||_.body!==an?Pe(Gi(W,be,nr,Br,Ht,an),_):_}function ko(_){var W=Oe(214);return W.expression=N().parenthesizeOperandOfPrefixUnary(_),W.transformFlags|=z(W.expression),W}function es(_,W){return _.expression!==W?T(ko(W),_):_}function as(_){var W=Oe(215);return W.expression=N().parenthesizeOperandOfPrefixUnary(_),W.transformFlags|=z(W.expression),W}function pe(_,W){return _.expression!==W?T(as(W),_):_}function Rr(_){var W=Oe(216);return W.expression=N().parenthesizeOperandOfPrefixUnary(_),W.transformFlags|=z(W.expression),W}function ft(_,W){return _.expression!==W?T(Rr(W),_):_}function Zt(_){var W=Oe(217);return W.expression=N().parenthesizeOperandOfPrefixUnary(_),W.transformFlags|=z(W.expression)|128|64|1048576,W}function Re(_,W){return _.expression!==W?T(Zt(W),_):_}function Qr(_,W){var be=Oe(218);return be.operator=_,be.operand=N().parenthesizeOperandOfPrefixUnary(W),be.transformFlags|=z(be.operand),(_===45||_===46)&&e.isIdentifier(be.operand)&&!e.isGeneratedIdentifier(be.operand)&&!e.isLocalName(be.operand)&&(be.transformFlags|=67108864),be}function vn(_,W){return _.operand!==W?T(Qr(_.operator,W),_):_}function Xn(_,W){var be=Oe(219);return be.operator=W,be.operand=N().parenthesizeOperandOfPostfixUnary(_),be.transformFlags|=z(be.operand),e.isIdentifier(be.operand)&&!e.isGeneratedIdentifier(be.operand)&&!e.isLocalName(be.operand)&&(be.transformFlags|=67108864),be}function gi(_,W){return _.operand!==W?T(Xn(W,_.operator),_):_}function Ia(_,W,be){var nr=Oe(220),Br=_u(W),Ht=Br.kind;return nr.left=N().parenthesizeLeftSideOfBinary(Ht,_),nr.operatorToken=Br,nr.right=N().parenthesizeRightSideOfBinary(Ht,nr.left,be),nr.transformFlags|=z(nr.left)|z(nr.operatorToken)|z(nr.right),Ht===60?nr.transformFlags|=16:Ht===63?e.isObjectLiteralExpression(nr.left)?nr.transformFlags|=2624|oo(nr.left):e.isArrayLiteralExpression(nr.left)&&(nr.transformFlags|=2560|oo(nr.left)):Ht===42||Ht===67?nr.transformFlags|=256:e.isLogicalOrCoalescingAssignmentOperator(Ht)&&(nr.transformFlags|=8),nr}function oo(_){if(_.transformFlags&32768)return 32768;if(_.transformFlags&64)for(var W=0,be=e.getElementsOfBindingOrAssignmentPattern(_);W<be.length;W++){var nr=be[W],Br=e.getTargetOfBindingOrAssignmentElement(nr);if(Br&&e.isAssignmentPattern(Br)){if(Br.transformFlags&32768)return 32768;if(Br.transformFlags&64){var Ht=oo(Br);if(Ht)return Ht}}}return 0}function Wo(_,W,be,nr){return _.left!==W||_.operatorToken!==be||_.right!==nr?T(Ia(W,be,nr),_):_}function Ir(_,W,be,nr,Br){var Ht=Oe(221);return Ht.condition=N().parenthesizeConditionOfConditionalExpression(_),Ht.questionToken=W!=null?W:de(57),Ht.whenTrue=N().parenthesizeBranchOfConditionalExpression(be),Ht.colonToken=nr!=null?nr:de(58),Ht.whenFalse=N().parenthesizeBranchOfConditionalExpression(Br),Ht.transformFlags|=z(Ht.condition)|z(Ht.questionToken)|z(Ht.whenTrue)|z(Ht.colonToken)|z(Ht.whenFalse),Ht}function Us(_,W,be,nr,Br,Ht){return _.condition!==W||_.questionToken!==be||_.whenTrue!==nr||_.colonToken!==Br||_.whenFalse!==Ht?T(Ir(W,be,nr,Br,Ht),_):_}function il(_,W){var be=Oe(222);return be.head=_,be.templateSpans=Ce(W),be.transformFlags|=z(be.head)|ie(be.templateSpans)|512,be}function Ml(_,W,be){return _.head!==W||_.templateSpans!==be?T(il(W,be),_):_}function Co(_,W,be,nr){nr===void 0&&(nr=0),e.Debug.assert(!(nr&-2049),\"Unsupported template flags.\");var Br=void 0;if(be!==void 0&&be!==W&&(Br=h(_,be),typeof Br==\"object\"))return e.Debug.fail(\"Invalid raw text\");if(W===void 0){if(Br===void 0)return e.Debug.fail(\"Arguments 'text' and 'rawText' may not both be undefined.\");W=Br}else Br!==void 0&&e.Debug.assert(W===Br,\"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.\");return Vs(_,W,be,nr)}function Vs(_,W,be,nr){var Br=gr(_);return Br.text=W,Br.rawText=be,Br.templateFlags=nr&2048,Br.transformFlags|=512,Br.templateFlags&&(Br.transformFlags|=64),Br}function Ql(_,W,be){return Co(15,_,W,be)}function zl(_,W,be){return Co(16,_,W,be)}function uc(_,W,be){return Co(17,_,W,be)}function cu(_,W,be){return Co(14,_,W,be)}function no(_,W){e.Debug.assert(!_||!!W,\"A `YieldExpression` with an asteriskToken must have an expression.\");var be=Oe(223);return be.expression=W&&N().parenthesizeExpressionForDisallowedComma(W),be.asteriskToken=_,be.transformFlags|=z(be.expression)|z(be.asteriskToken)|512|64|524288,be}function ql(_,W,be){return _.expression!==be||_.asteriskToken!==W?T(no(W,be),_):_}function fc(_){var W=Oe(224);return W.expression=N().parenthesizeExpressionForDisallowedComma(_),W.transformFlags|=z(W.expression)|512|16384,W}function Ws(_,W){return _.expression!==W?T(fc(W),_):_}function xc(_,W,be,nr,Br,Ht){var an=Ge(225,_,W,be,nr,Br,Ht);return an.transformFlags|=512,an}function Ic(_,W,be,nr,Br,Ht,an){return _.decorators!==W||_.modifiers!==be||_.name!==nr||_.typeParameters!==Br||_.heritageClauses!==Ht||_.members!==an?T(xc(W,be,nr,Br,Ht,an),_):_}function La(){return Oe(226)}function uu(_,W){var be=R(227);return be.expression=N().parenthesizeLeftSideOfAccess(_),be.typeArguments=W&&N().parenthesizeTypeArguments(W),be.transformFlags|=z(be.expression)|ie(be.typeArguments)|512,be}function dc(_,W,be){return _.expression!==W||_.typeArguments!==be?T(uu(W,be),_):_}function Nc(_,W){var be=Oe(228);return be.expression=_,be.type=W,be.transformFlags|=z(be.expression)|z(be.type)|1,be}function wr(_,W,be){return _.expression!==W||_.type!==be?T(Nc(W,be),_):_}function $r(_){var W=Oe(229);return W.expression=N().parenthesizeLeftSideOfAccess(_),W.transformFlags|=z(W.expression)|1,W}function Lt(_,W){return e.isNonNullChain(_)?pn(_,W):_.expression!==W?T($r(W),_):_}function Kt(_){var W=Oe(229);return W.flags|=32,W.expression=N().parenthesizeLeftSideOfAccess(_),W.transformFlags|=z(W.expression)|1,W}function pn(_,W){return e.Debug.assert(!!(_.flags&32),\"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead.\"),_.expression!==W?T(Kt(W),_):_}function fn(_,W){var be=Oe(230);switch(be.keywordToken=_,be.name=W,be.transformFlags|=z(be.name),_){case 103:be.transformFlags|=512;break;case 100:be.transformFlags|=4;break;default:return e.Debug.assertNever(_)}return be}function kn(_,W){return _.name!==W?T(fn(_.keywordToken,W),_):_}function Kn(_,W){var be=R(232);return be.expression=_,be.literal=W,be.transformFlags|=z(be.expression)|z(be.literal)|512,be}function Fa(_,W,be){return _.expression!==W||_.literal!==be?T(Kn(W,be),_):_}function ua(){var _=R(233);return _.transformFlags|=512,_}function le(_,W){var be=R(234);return be.statements=Ce(_),be.multiLine=W,be.transformFlags|=ie(be.statements),be}function rr(_,W){return _.statements!==W?T(le(W,_.multiLine),_):_}function yr(_,W){var be=Y(236,void 0,_);return be.declarationList=e.isArray(W)?Rs(W):W,be.transformFlags|=z(be.declarationList),e.modifiersToFlags(be.modifiers)&2&&(be.transformFlags=1),be}function ct(_,W,be){return _.modifiers!==W||_.declarationList!==be?T(yr(W,be),_):_}function jt(){return R(235)}function yn(_){var W=R(237);return W.expression=N().parenthesizeExpressionOfExpressionStatement(_),W.transformFlags|=z(W.expression),W}function ha(_,W){return _.expression!==W?T(yn(W),_):_}function ri(_,W,be){var nr=R(238);return nr.expression=_,nr.thenStatement=ml(W),nr.elseStatement=ml(be),nr.transformFlags|=z(nr.expression)|z(nr.thenStatement)|z(nr.elseStatement),nr}function Ta(_,W,be,nr){return _.expression!==W||_.thenStatement!==be||_.elseStatement!==nr?T(ri(W,be,nr),_):_}function Ya(_,W){var be=R(239);return be.statement=ml(_),be.expression=W,be.transformFlags|=z(be.statement)|z(be.expression),be}function fi(_,W,be){return _.statement!==W||_.expression!==be?T(Ya(W,be),_):_}function ci(_,W){var be=R(240);return be.expression=_,be.statement=ml(W),be.transformFlags|=z(be.expression)|z(be.statement),be}function Si(_,W,be){return _.expression!==W||_.statement!==be?T(ci(W,be),_):_}function Do(_,W,be,nr){var Br=R(241);return Br.initializer=_,Br.condition=W,Br.incrementor=be,Br.statement=ml(nr),Br.transformFlags|=z(Br.initializer)|z(Br.condition)|z(Br.incrementor)|z(Br.statement),Br}function bo(_,W,be,nr,Br){return _.initializer!==W||_.condition!==be||_.incrementor!==nr||_.statement!==Br?T(Do(W,be,nr,Br),_):_}function Ns(_,W,be){var nr=R(242);return nr.initializer=_,nr.expression=W,nr.statement=ml(be),nr.transformFlags|=z(nr.initializer)|z(nr.expression)|z(nr.statement),nr}function Ys(_,W,be,nr){return _.initializer!==W||_.expression!==be||_.statement!==nr?T(Ns(W,be,nr),_):_}function Nu(_,W,be,nr){var Br=R(243);return Br.awaitModifier=_,Br.initializer=W,Br.expression=N().parenthesizeExpressionForDisallowedComma(be),Br.statement=ml(nr),Br.transformFlags|=z(Br.awaitModifier)|z(Br.initializer)|z(Br.expression)|z(Br.statement)|512,_&&(Br.transformFlags|=64),Br}function gf(_,W,be,nr,Br){return _.awaitModifier!==W||_.initializer!==be||_.expression!==nr||_.statement!==Br?T(Nu(W,be,nr,Br),_):_}function Zl(_){var W=R(244);return W.label=Ms(_),W.transformFlags|=z(W.label)|2097152,W}function jc(_,W){return _.label!==W?T(Zl(W),_):_}function Mr(_){var W=R(245);return W.label=Ms(_),W.transformFlags|=z(W.label)|2097152,W}function $l(_,W){return _.label!==W?T(Mr(W),_):_}function pc(_){var W=R(246);return W.expression=_,W.transformFlags|=z(W.expression)|64|2097152,W}function ku(_,W){return _.expression!==W?T(pc(W),_):_}function ol(_,W){var be=R(247);return be.expression=_,be.statement=ml(W),be.transformFlags|=z(be.expression)|z(be.statement),be}function kc(_,W,be){return _.expression!==W||_.statement!==be?T(ol(W,be),_):_}function vf(_,W){var be=R(248);return be.expression=N().parenthesizeExpressionForDisallowedComma(_),be.caseBlock=W,be.transformFlags|=z(be.expression)|z(be.caseBlock),be}function fo(_,W,be){return _.expression!==W||_.caseBlock!==be?T(vf(W,be),_):_}function Zf(_,W){var be=R(249);return be.label=Ms(_),be.statement=ml(W),be.transformFlags|=z(be.label)|z(be.statement),be}function hf(_,W,be){return _.label!==W||_.statement!==be?T(Zf(W,be),_):_}function Nd(_){var W=R(250);return W.expression=_,W.transformFlags|=z(W.expression),W}function _s(_,W){return _.expression!==W?T(Nd(W),_):_}function Hc(_,W,be){var nr=R(251);return nr.tryBlock=_,nr.catchClause=W,nr.finallyBlock=be,nr.transformFlags|=z(nr.tryBlock)|z(nr.catchClause)|z(nr.finallyBlock),nr}function Jc(_,W,be,nr){return _.tryBlock!==W||_.catchClause!==be||_.finallyBlock!==nr?T(Hc(W,be,nr),_):_}function zp(){return R(252)}function dl(_,W,be,nr){var Br=ve(253,void 0,void 0,_,be,nr&&N().parenthesizeExpressionForDisallowedComma(nr));return Br.exclamationToken=W,Br.transformFlags|=z(Br.exclamationToken),W&&(Br.transformFlags|=1),Br}function qp(_,W,be,nr,Br){return _.name!==W||_.type!==nr||_.exclamationToken!==be||_.initializer!==Br?T(dl(W,be,nr,Br),_):_}function Rs(_,W){W===void 0&&(W=0);var be=R(254);return be.flags|=W&3,be.declarations=Ce(_),be.transformFlags|=ie(be.declarations)|2097152,W&3&&(be.transformFlags|=131584),be}function Ja(_,W){return _.declarations!==W?T(Rs(W,_.flags),_):_}function Zn(_,W,be,nr,Br,Ht,an,si){var Io=ke(255,_,W,nr,Br,Ht,an,si);return Io.asteriskToken=be,!Io.body||e.modifiersToFlags(Io.modifiers)&2?Io.transformFlags=1:(Io.transformFlags|=z(Io.asteriskToken)|2097152,e.modifiersToFlags(Io.modifiers)&256?Io.asteriskToken?Io.transformFlags|=64:Io.transformFlags|=128:Io.asteriskToken&&(Io.transformFlags|=1024)),Io}function Oc(_,W,be,nr,Br,Ht,an,si,Io){return _.decorators!==W||_.modifiers!==be||_.asteriskToken!==nr||_.name!==Br||_.typeParameters!==Ht||_.parameters!==an||_.type!==si||_.body!==Io?Pe(Zn(W,be,nr,Br,Ht,an,si,Io),_):_}function ks(_,W,be,nr,Br,Ht){var an=Ge(256,_,W,be,nr,Br,Ht);return e.modifiersToFlags(an.modifiers)&2?an.transformFlags=1:(an.transformFlags|=512,an.transformFlags&4096&&(an.transformFlags|=1)),an}function yf(_,W,be,nr,Br,Ht,an){return _.decorators!==W||_.modifiers!==be||_.name!==nr||_.typeParameters!==Br||_.heritageClauses!==Ht||_.members!==an?T(ks(W,be,nr,Br,Ht,an),_):_}function Ou(_,W,be,nr,Br,Ht){var an=Ie(257,_,W,be,nr,Br);return an.members=Ce(Ht),an.transformFlags=1,an}function kd(_,W,be,nr,Br,Ht,an){return _.decorators!==W||_.modifiers!==be||_.name!==nr||_.typeParameters!==Br||_.heritageClauses!==Ht||_.members!==an?T(Ou(W,be,nr,Br,Ht,an),_):_}function Uo(_,W,be,nr,Br){var Ht=K(258,_,W,be,nr);return Ht.type=Br,Ht.transformFlags=1,Ht}function $f(_,W,be,nr,Br,Ht){return _.decorators!==W||_.modifiers!==be||_.name!==nr||_.typeParameters!==Br||_.type!==Ht?T(Uo(W,be,nr,Br,Ht),_):_}function Od(_,W,be,nr){var Br=U(259,_,W,be);return Br.members=Ce(nr),Br.transformFlags|=ie(Br.members)|1,Br.transformFlags&=-16777217,Br}function Rd(_,W,be,nr,Br){return _.decorators!==W||_.modifiers!==be||_.name!==nr||_.members!==Br?T(Od(W,be,nr,Br),_):_}function Xp(_,W,be,nr,Br){Br===void 0&&(Br=0);var Ht=Y(260,_,W);return Ht.flags|=Br&1044,Ht.name=be,Ht.body=nr,e.modifiersToFlags(Ht.modifiers)&2?Ht.transformFlags=1:Ht.transformFlags|=z(Ht.name)|z(Ht.body)|1,Ht.transformFlags&=-16777217,Ht}function yp(_,W,be,nr,Br){return _.decorators!==W||_.modifiers!==be||_.name!==nr||_.body!==Br?T(Xp(W,be,nr,Br,_.flags),_):_}function Xl(_){var W=R(261);return W.statements=Ce(_),W.transformFlags|=ie(W.statements),W}function C_(_,W){return _.statements!==W?T(Xl(W),_):_}function ed(_){var W=R(262);return W.clauses=Ce(_),W.transformFlags|=ie(W.clauses),W}function bp(_,W){return _.clauses!==W?T(ed(W),_):_}function wd(_){var W=U(263,void 0,void 0,_);return W.transformFlags=1,W}function Md(_,W){return _.name!==W?T(wd(W),_):_}function Pd(_,W,be,nr,Br){var Ht=U(264,_,W,nr);return Ht.isTypeOnly=be,Ht.moduleReference=Br,Ht.transformFlags|=z(Ht.moduleReference),e.isExternalModuleReference(Ht.moduleReference)||(Ht.transformFlags|=1),Ht.transformFlags&=-16777217,Ht}function Fd(_,W,be,nr,Br,Ht){return _.decorators!==W||_.modifiers!==be||_.isTypeOnly!==nr||_.name!==Br||_.moduleReference!==Ht?T(Pd(W,be,nr,Br,Ht),_):_}function Ep(_,W,be,nr,Br){var Ht=Y(265,_,W);return Ht.importClause=be,Ht.moduleSpecifier=nr,Ht.assertClause=Br,Ht.transformFlags|=z(Ht.importClause)|z(Ht.moduleSpecifier),Ht.transformFlags&=-16777217,Ht}function Yp(_,W,be,nr,Br,Ht){return _.decorators!==W||_.modifiers!==be||_.importClause!==nr||_.moduleSpecifier!==Br||_.assertClause!==Ht?T(Ep(W,be,nr,Br,Ht),_):_}function Gd(_,W,be){var nr=R(266);return nr.isTypeOnly=_,nr.name=W,nr.namedBindings=be,nr.transformFlags|=z(nr.name)|z(nr.namedBindings),_&&(nr.transformFlags|=1),nr.transformFlags&=-16777217,nr}function Qp(_,W,be,nr){return _.isTypeOnly!==W||_.name!==be||_.namedBindings!==nr?T(Gd(W,be,nr),_):_}function Bd(_,W){var be=R(292);return be.elements=_,be.multiLine=W,be.transformFlags|=4,be}function fu(_,W,be){return _.elements!==W||_.multiLine!==be?T(Bd(W,be),_):_}function _c(_,W){var be=R(293);return be.name=_,be.value=W,be.transformFlags|=4,be}function mc(_,W,be){return _.name!==W||_.value!==be?T(_c(W,be),_):_}function ec(_){var W=R(267);return W.name=_,W.transformFlags|=z(W.name),W.transformFlags&=-16777217,W}function Ud(_,W){return _.name!==W?T(ec(W),_):_}function bf(_){var W=R(273);return W.name=_,W.transformFlags|=z(W.name)|4,W.transformFlags&=-16777217,W}function Tp(_,W){return _.name!==W?T(bf(W),_):_}function Sp(_){var W=R(268);return W.elements=Ce(_),W.transformFlags|=ie(W.elements),W.transformFlags&=-16777217,W}function Ef(_,W){return _.elements!==W?T(Sp(W),_):_}function Zp(_,W,be){var nr=R(269);return nr.isTypeOnly=_,nr.propertyName=W,nr.name=be,nr.transformFlags|=z(nr.propertyName)|z(nr.name),nr.transformFlags&=-16777217,nr}function Vd(_,W,be,nr){return _.isTypeOnly!==W||_.propertyName!==be||_.name!==nr?T(Zp(W,be,nr),_):_}function rd(_,W,be,nr){var Br=Y(270,_,W);return Br.isExportEquals=be,Br.expression=be?N().parenthesizeRightSideOfBinary(63,void 0,nr):N().parenthesizeExpressionOfExportDefault(nr),Br.transformFlags|=z(Br.expression),Br.transformFlags&=-16777217,Br}function td(_,W,be,nr){return _.decorators!==W||_.modifiers!==be||_.expression!==nr?T(rd(W,be,_.isExportEquals,nr),_):_}function Ru(_,W,be,nr,Br,Ht){var an=Y(271,_,W);return an.isTypeOnly=be,an.exportClause=nr,an.moduleSpecifier=Br,an.assertClause=Ht,an.transformFlags|=z(an.exportClause)|z(an.moduleSpecifier),an.transformFlags&=-16777217,an}function wu(_,W,be,nr,Br,Ht,an){return _.decorators!==W||_.modifiers!==be||_.isTypeOnly!==nr||_.exportClause!==Br||_.moduleSpecifier!==Ht||_.assertClause!==an?T(Ru(W,be,nr,Br,Ht,an),_):_}function Mu(_){var W=R(272);return W.elements=Ce(_),W.transformFlags|=ie(W.elements),W.transformFlags&=-16777217,W}function js(_,W){return _.elements!==W?T(Mu(W),_):_}function gc(_,W,be){var nr=R(274);return nr.isTypeOnly=_,nr.propertyName=Ms(W),nr.name=Ms(be),nr.transformFlags|=z(nr.propertyName)|z(nr.name),nr.transformFlags&=-16777217,nr}function nd(_,W,be,nr){return _.isTypeOnly!==W||_.propertyName!==be||_.name!==nr?T(gc(W,be,nr),_):_}function x_(){var _=Y(275,void 0,void 0);return _}function ad(_){var W=R(276);return W.expression=_,W.transformFlags|=z(W.expression),W.transformFlags&=-16777217,W}function Pu(_,W){return _.expression!==W?T(ad(W),_):_}function I_(_){return R(_)}function vc(_,W){var be=R(_);return be.type=W,be}function Pl(_,W,be){return W.type!==be?T(vc(_,be),W):W}function Sl(_,W){var be=Te(315,void 0,void 0,void 0,void 0,_,W);return be}function Fl(_,W,be){return _.parameters!==W||_.type!==be?T(Sl(W,be),_):_}function pl(_,W){W===void 0&&(W=!1);var be=R(320);return be.jsDocPropertyTags=ul(_),be.isArrayType=W,be}function Dp(_,W,be){return _.jsDocPropertyTags!==W||_.isArrayType!==be?T(pl(W,be),_):_}function Tf(_){var W=R(307);return W.type=_,W}function Wd(_,W){return _.type!==W?T(Tf(W),_):_}function id(_,W,be){var nr=R(321);return nr.typeParameters=ul(_),nr.parameters=Ce(W),nr.type=be,nr}function mo(_,W,be,nr){return _.typeParameters!==W||_.parameters!==be||_.type!==nr?T(id(W,be,nr),_):_}function Dl(_){var W=d(_.kind);return _.tagName.escapedText===e.escapeLeadingUnderscores(W)?_.tagName:lr(W)}function wo(_,W,be){var nr=R(_);return nr.tagName=W,nr.comment=be,nr}function ms(_,W,be,nr){var Br=wo(342,_!=null?_:lr(\"template\"),nr);return Br.constraint=W,Br.typeParameters=Ce(be),Br}function $p(_,W,be,nr,Br){return W===void 0&&(W=Dl(_)),_.tagName!==W||_.constraint!==be||_.typeParameters!==nr||_.comment!==Br?T(ms(W,be,nr,Br),_):_}function Yl(_,W,be,nr){var Br=wo(343,_!=null?_:lr(\"typedef\"),nr);return Br.typeExpression=W,Br.fullName=be,Br.name=e.getJSDocTypeAliasName(be),Br}function od(_,W,be,nr,Br){return W===void 0&&(W=Dl(_)),_.tagName!==W||_.typeExpression!==be||_.fullName!==nr||_.comment!==Br?T(Yl(W,be,nr,Br),_):_}function Ln(_,W,be,nr,Br,Ht){var an=wo(338,_!=null?_:lr(\"param\"),Ht);return an.typeExpression=nr,an.name=W,an.isNameFirst=!!Br,an.isBracketed=be,an}function us(_,W,be,nr,Br,Ht,an){return W===void 0&&(W=Dl(_)),_.tagName!==W||_.name!==be||_.isBracketed!==nr||_.typeExpression!==Br||_.isNameFirst!==Ht||_.comment!==an?T(Ln(W,be,nr,Br,Ht,an),_):_}function ii(_,W,be,nr,Br,Ht){var an=wo(345,_!=null?_:lr(\"prop\"),Ht);return an.typeExpression=nr,an.name=W,an.isNameFirst=!!Br,an.isBracketed=be,an}function Rc(_,W,be,nr,Br,Ht,an){return W===void 0&&(W=Dl(_)),_.tagName!==W||_.name!==be||_.isBracketed!==nr||_.typeExpression!==Br||_.isNameFirst!==Ht||_.comment!==an?T(ii(W,be,nr,Br,Ht,an),_):_}function sd(_,W,be,nr){var Br=wo(336,_!=null?_:lr(\"callback\"),nr);return Br.typeExpression=W,Br.fullName=be,Br.name=e.getJSDocTypeAliasName(be),Br}function sl(_,W,be,nr,Br){return W===void 0&&(W=Dl(_)),_.tagName!==W||_.typeExpression!==be||_.fullName!==nr||_.comment!==Br?T(sd(W,be,nr,Br),_):_}function Dn(_,W,be){var nr=wo(326,_!=null?_:lr(\"augments\"),be);return nr.class=W,nr}function N_(_,W,be,nr){return W===void 0&&(W=Dl(_)),_.tagName!==W||_.class!==be||_.comment!==nr?T(Dn(W,be,nr),_):_}function rs(_,W,be){var nr=wo(327,_!=null?_:lr(\"implements\"),be);return nr.class=W,nr}function fs(_,W,be){var nr=wo(344,_!=null?_:lr(\"see\"),be);return nr.name=W,nr}function wc(_,W,be,nr){return _.tagName!==W||_.name!==be||_.comment!==nr?T(fs(W,be,nr),_):_}function Hs(_){var W=R(308);return W.name=_,W}function Sf(_,W){return _.name!==W?T(Hs(W),_):_}function ws(_,W){var be=R(309);return be.left=_,be.right=W,be.transformFlags|=z(be.left)|z(be.right),be}function Mc(_,W,be){return _.left!==W||_.right!==be?T(ws(W,be),_):_}function Qu(_,W){var be=R(322);return be.name=_,be.text=W,be}function Df(_,W,be){return _.name!==W?T(Qu(W,be),_):_}function hc(_,W){var be=R(323);return be.name=_,be.text=W,be}function Lf(_,W,be){return _.name!==W?T(hc(W,be),_):_}function ll(_,W){var be=R(324);return be.name=_,be.text=W,be}function e_(_,W,be){return _.name!==W?T(ll(W,be),_):_}function Fu(_,W,be,nr){return W===void 0&&(W=Dl(_)),_.tagName!==W||_.class!==be||_.comment!==nr?T(rs(W,be,nr),_):_}function Af(_,W,be){var nr=wo(_,W!=null?W:lr(d(_)),be);return nr}function ld(_,W,be,nr){return be===void 0&&(be=Dl(W)),W.tagName!==be||W.comment!==nr?T(Af(_,be,nr),W):W}function cd(_,W,be,nr){var Br=wo(_,W!=null?W:lr(d(_)),nr);return Br.typeExpression=be,Br}function Cf(_,W,be,nr,Br){return be===void 0&&(be=Dl(W)),W.tagName!==be||W.typeExpression!==nr||W.comment!==Br?T(cd(_,be,nr,Br),W):W}function yc(_,W){var be=wo(325,_,W);return be}function ud(_,W,be){return _.tagName!==W||_.comment!==be?T(yc(W,be),_):_}function xf(_){var W=R(319);return W.text=_,W}function Gu(_,W){return _.text!==W?T(xf(W),_):_}function Js(_,W){var be=R(318);return be.comment=_,be.tags=ul(W),be}function Gl(_,W,be){return _.comment!==W||_.tags!==be?T(Js(W,be),_):_}function Kc(_,W,be){var nr=R(277);return nr.openingElement=_,nr.children=Ce(W),nr.closingElement=be,nr.transformFlags|=z(nr.openingElement)|ie(nr.children)|z(nr.closingElement)|2,nr}function fd(_,W,be,nr){return _.openingElement!==W||_.children!==be||_.closingElement!==nr?T(Kc(W,be,nr),_):_}function Ga(_,W,be){var nr=R(278);return nr.tagName=_,nr.typeArguments=ul(W),nr.attributes=be,nr.transformFlags|=z(nr.tagName)|ie(nr.typeArguments)|z(nr.attributes)|2,nr.typeArguments&&(nr.transformFlags|=1),nr}function wn(_,W,be,nr){return _.tagName!==W||_.typeArguments!==be||_.attributes!==nr?T(Ga(W,be,nr),_):_}function Ts(_,W,be){var nr=R(279);return nr.tagName=_,nr.typeArguments=ul(W),nr.attributes=be,nr.transformFlags|=z(nr.tagName)|ie(nr.typeArguments)|z(nr.attributes)|2,W&&(nr.transformFlags|=1),nr}function jd(_,W,be,nr){return _.tagName!==W||_.typeArguments!==be||_.attributes!==nr?T(Ts(W,be,nr),_):_}function rc(_){var W=R(280);return W.tagName=_,W.transformFlags|=z(W.tagName)|2,W}function Zu(_,W){return _.tagName!==W?T(rc(W),_):_}function zc(_,W,be){var nr=R(281);return nr.openingFragment=_,nr.children=Ce(W),nr.closingFragment=be,nr.transformFlags|=z(nr.openingFragment)|ie(nr.children)|z(nr.closingFragment)|2,nr}function Hd(_,W,be,nr){return _.openingFragment!==W||_.children!==be||_.closingFragment!==nr?T(zc(W,be,nr),_):_}function Ll(_,W){var be=R(11);return be.text=_,be.containsOnlyTriviaWhiteSpaces=!!W,be.transformFlags|=2,be}function tc(_,W,be){return _.text!==W||_.containsOnlyTriviaWhiteSpaces!==be?T(Ll(W,be),_):_}function If(){var _=R(282);return _.transformFlags|=2,_}function $u(){var _=R(283);return _.transformFlags|=2,_}function Qs(_,W){var be=R(284);return be.name=_,be.initializer=W,be.transformFlags|=z(be.name)|z(be.initializer)|2,be}function Jd(_,W,be){return _.name!==W||_.initializer!==be?T(Qs(W,be),_):_}function jo(_){var W=R(285);return W.properties=Ce(_),W.transformFlags|=ie(W.properties)|2,W}function Bl(_,W){return _.properties!==W?T(jo(W),_):_}function Kd(_){var W=R(286);return W.expression=_,W.transformFlags|=z(W.expression)|2,W}function nc(_,W){return _.expression!==W?T(Kd(W),_):_}function Nf(_,W){var be=R(287);return be.dotDotDotToken=_,be.expression=W,be.transformFlags|=z(be.dotDotDotToken)|z(be.expression)|2,be}function Bu(_,W){return _.expression!==W?T(Nf(_.dotDotDotToken,W),_):_}function dd(_,W){var be=R(288);return be.expression=N().parenthesizeExpressionForDisallowedComma(_),be.statements=Ce(W),be.transformFlags|=z(be.expression)|ie(be.statements),be}function zd(_,W,be){return _.expression!==W||_.statements!==be?T(dd(W,be),_):_}function Al(_){var W=R(289);return W.statements=Ce(_),W.transformFlags=ie(W.statements),W}function ts(_,W){return _.statements!==W?T(Al(W),_):_}function du(_,W){var be=R(290);switch(be.token=_,be.types=Ce(W),be.transformFlags|=ie(be.types),_){case 94:be.transformFlags|=512;break;case 117:be.transformFlags|=1;break;default:return e.Debug.assertNever(_)}return be}function qd(_,W){return _.types!==W?T(du(_.token,W),_):_}function ac(_,W){var be=R(291);return(typeof _==\"string\"||_&&!e.isVariableDeclaration(_))&&(_=dl(_,void 0,void 0,void 0)),be.variableDeclaration=_,be.block=W,be.transformFlags|=z(be.variableDeclaration)|z(be.block),_||(be.transformFlags|=32),be}function kf(_,W,be){return _.variableDeclaration!==W||_.block!==be?T(ac(W,be),_):_}function Uu(_,W){var be=U(294,void 0,void 0,_);return be.initializer=N().parenthesizeExpressionForDisallowedComma(W),be.transformFlags|=z(be.name)|z(be.initializer),be}function Xd(_,W){return W.decorators&&(_.decorators=W.decorators),W.modifiers&&(_.modifiers=W.modifiers),W.questionToken&&(_.questionToken=W.questionToken),W.exclamationToken&&(_.exclamationToken=W.exclamationToken),T(_,W)}function ef(_,W,be){return _.name!==W||_.initializer!==be?Xd(Uu(W,be),_):_}function Of(_,W){var be=U(295,void 0,void 0,_);return be.objectAssignmentInitializer=W&&N().parenthesizeExpressionForDisallowedComma(W),be.transformFlags|=z(be.objectAssignmentInitializer)|512,be}function bc(_,W){return W.decorators&&(_.decorators=W.decorators),W.modifiers&&(_.modifiers=W.modifiers),W.equalsToken&&(_.equalsToken=W.equalsToken),W.questionToken&&(_.questionToken=W.questionToken),W.exclamationToken&&(_.exclamationToken=W.exclamationToken),T(_,W)}function qc(_,W,be){return _.name!==W||_.objectAssignmentInitializer!==be?bc(Of(W,be),_):_}function rf(_){var W=R(296);return W.expression=N().parenthesizeExpressionForDisallowedComma(_),W.transformFlags|=z(W.expression)|64|32768,W}function Vu(_,W){return _.expression!==W?T(rf(W),_):_}function Xc(_,W){var be=R(297);return be.name=Ms(_),be.initializer=W&&N().parenthesizeExpressionForDisallowedComma(W),be.transformFlags|=z(be.name)|z(be.initializer)|1,be}function Yd(_,W,be){return _.name!==W||_.initializer!==be?T(Xc(W,be),_):_}function Ec(_,W,be){var nr=re.createBaseSourceFileNode(303);return nr.statements=Ce(_),nr.endOfFileToken=W,nr.flags|=be,nr.fileName=\"\",nr.text=\"\",nr.languageVersion=0,nr.languageVariant=0,nr.scriptKind=0,nr.isDeclarationFile=!1,nr.hasNoDefaultLib=!1,nr.transformFlags|=ie(nr.statements)|z(nr.endOfFileToken),nr}function Wu(_,W,be,nr,Br,Ht,an){var si=re.createBaseSourceFileNode(303);for(var Io in _)Io===\"emitNode\"||e.hasProperty(si,Io)||!e.hasProperty(_,Io)||(si[Io]=_[Io]);return si.flags|=_.flags,si.statements=Ce(W),si.endOfFileToken=_.endOfFileToken,si.isDeclarationFile=be,si.referencedFiles=nr,si.typeReferenceDirectives=Br,si.hasNoDefaultLib=Ht,si.libReferenceDirectives=an,si.transformFlags=ie(si.statements)|z(si.endOfFileToken),si.impliedNodeFormat=_.impliedNodeFormat,si}function r_(_,W,be,nr,Br,Ht,an){return be===void 0&&(be=_.isDeclarationFile),nr===void 0&&(nr=_.referencedFiles),Br===void 0&&(Br=_.typeReferenceDirectives),Ht===void 0&&(Ht=_.hasNoDefaultLib),an===void 0&&(an=_.libReferenceDirectives),_.statements!==W||_.isDeclarationFile!==be||_.referencedFiles!==nr||_.typeReferenceDirectives!==Br||_.hasNoDefaultLib!==Ht||_.libReferenceDirectives!==an?T(Wu(_,W,be,nr,Br,Ht,an),_):_}function Wa(_,W){W===void 0&&(W=e.emptyArray);var be=R(304);return be.prepends=W,be.sourceFiles=_,be}function pu(_,W,be){return be===void 0&&(be=e.emptyArray),_.sourceFiles!==W||_.prepends!==be?T(Wa(W,be),_):_}function gn(_,W,be){var nr=R(305);return nr.prologues=_,nr.syntheticReferences=W,nr.texts=be,nr.fileName=\"\",nr.text=\"\",nr.referencedFiles=e.emptyArray,nr.libReferenceDirectives=e.emptyArray,nr.getLineAndCharacterOfPosition=function(Br){return e.getLineAndCharacterOfPosition(nr,Br)},nr}function Rf(_,W){var be=R(_);return be.data=W,be}function Qd(_){return Rf(298,_)}function Zd(_,W){var be=Rf(299,_);return be.texts=W,be}function Pc(_,W){return Rf(W?301:300,_)}function $d(_){var W=R(302);return W.data=_.data,W.section=_,W}function k_(){var _=R(306);return _.javascriptText=\"\",_.declarationText=\"\",_}function Yc(_,W,be){W===void 0&&(W=!1);var nr=R(231);return nr.type=_,nr.isSpread=W,nr.tupleNameSource=be,nr}function Lp(_){var W=R(346);return W._children=_,W}function pd(_){var W=R(347);return W.original=_,e.setTextRange(W,_),W}function Ap(_,W){var be=R(348);return be.expression=_,be.original=W,be.transformFlags|=z(be.expression)|1,e.setTextRange(be,W),be}function Ul(_,W){return _.expression!==W?T(Ap(W,_.original),_):_}function wf(_){if(e.nodeIsSynthesized(_)&&!e.isParseTreeNode(_)&&!_.original&&!_.emitNode&&!_.id){if(e.isCommaListExpression(_))return _.elements;if(e.isBinaryExpression(_)&&e.isCommaToken(_.operatorToken))return[_.left,_.right]}return _}function _d(_){var W=R(349);return W.elements=Ce(e.sameFlatMap(_,wf)),W.transformFlags|=ie(W.elements),W}function Fc(_,W){return _.elements!==W?T(_d(W),_):_}function Qc(_){var W=R(351);return W.emitNode={},W.original=_,W}function Mf(_){var W=R(350);return W.emitNode={},W.original=_,W}function E(_,W){var be=R(352);return be.expression=_,be.thisArg=W,be.transformFlags|=z(be.expression)|z(be.thisArg),be}function Qe(_,W,be){return _.expression!==W||_.thisArg!==be?T(E(W,be),_):_}function nt(_){if(_===void 0)return _;var W=e.isSourceFile(_)?re.createBaseSourceFileNode(303):e.isIdentifier(_)?re.createBaseIdentifierNode(79):e.isPrivateIdentifier(_)?re.createBasePrivateIdentifierNode(80):e.isNodeKind(_.kind)?re.createBaseNode(_.kind):re.createBaseTokenNode(_.kind);W.flags|=_.flags&-9,W.transformFlags=_.transformFlags,ne(W,_);for(var be in _)W.hasOwnProperty(be)||!_.hasOwnProperty(be)||(W[be]=_[be]);return W}function Ot(_,W,be){return Di(mi(void 0,void 0,void 0,void 0,W?[W]:[],void 0,le(_,!0)),void 0,be?[be]:[])}function fa(_,W,be){return Di(Gi(void 0,void 0,W?[W]:[],void 0,void 0,le(_,!0)),void 0,be?[be]:[])}function Oa(){return Rr(_e(\"0\"))}function ia(_){return rd(void 0,void 0,!1,_)}function ti(_){return Ru(void 0,void 0,!1,Mu([gc(!1,void 0,_)]))}function Na(_,W){return W===\"undefined\"?Se.createStrictEquality(_,Oa()):Se.createStrictEquality(as(_),Xe(W))}function Ua(_,W,be){return e.isCallChain(_)?Ji(qr(_,void 0,W),void 0,void 0,be):Di(er(_,W),void 0,be)}function Go(_,W,be){return Ua(_,\"bind\",Gt([W],be,!0))}function cl(_,W,be){return Ua(_,\"call\",Gt([W],be,!0))}function os(_,W,be){return Ua(_,\"apply\",[W,be])}function is(_,W,be){return Ua(lr(_),W,be)}function Vl(_,W){return Ua(_,\"slice\",W===void 0?[]:[Ff(W)])}function Zc(_,W){return Ua(_,\"concat\",W)}function $c(_,W,be){return is(\"Object\",\"defineProperty\",[_,Ff(W),be])}function md(_,W,be){return is(\"Reflect\",\"get\",be?[_,W,be]:[_,W])}function t_(_,W,be,nr){return is(\"Reflect\",\"set\",nr?[_,W,be,nr]:[_,W,be])}function tf(_,W,be){return be?(_.push(Uu(W,be)),!0):!1}function Pf(_,W){var be=[];tf(be,\"enumerable\",Ff(_.enumerable)),tf(be,\"configurable\",Ff(_.configurable));var nr=tf(be,\"writable\",Ff(_.writable));nr=tf(be,\"value\",_.value)||nr;var Br=tf(be,\"get\",_.get);return Br=tf(be,\"set\",_.set)||Br,e.Debug.assert(!(nr&&Br),\"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor.\"),se(be,!W)}function n_(_,W){switch(_.kind){case 211:return ka(_,W);case 210:return bi(_,_.type,W);case 228:return wr(_,W,_.type);case 229:return Lt(_,W);case 348:return Ul(_,W)}}function gd(_){return e.isParenthesizedExpression(_)&&e.nodeIsSynthesized(_)&&e.nodeIsSynthesized(e.getSourceMapRange(_))&&e.nodeIsSynthesized(e.getCommentRange(_))&&!e.some(e.getSyntheticLeadingComments(_))&&!e.some(e.getSyntheticTrailingComments(_))}function Wl(_,W,be){return be===void 0&&(be=15),_&&e.isOuterExpression(_,be)&&!gd(_)?n_(_,Wl(_.expression,W)):W}function ep(_,W,be){if(!W)return _;var nr=hf(W,W.label,e.isLabeledStatement(W.statement)?ep(_,W.statement):_);return be&&be(W),nr}function a_(_,W){var be=e.skipParentheses(_);switch(be.kind){case 79:return W;case 108:case 8:case 9:case 10:return!1;case 203:var nr=be.elements;return nr.length!==0;case 204:return be.properties.length>0;default:return!0}}function xe(_,W,be,nr){nr===void 0&&(nr=!1);var Br=e.skipOuterExpressions(_,15),Ht,an;return e.isSuperProperty(Br)?(Ht=$e(),an=Br):e.isSuperKeyword(Br)?(Ht=$e(),an=be!==void 0&&be<2?e.setTextRange(lr(\"_super\"),Br):Br):e.getEmitFlags(Br)&4096?(Ht=Oa(),an=N().parenthesizeLeftSideOfAccess(Br)):e.isPropertyAccessExpression(Br)?a_(Br.expression,nr)?(Ht=kr(W),an=er(e.setTextRange(Se.createAssignment(Ht,Br.expression),Br.expression),Br.name),e.setTextRange(an,Br)):(Ht=Br.expression,an=Br):e.isElementAccessExpression(Br)?a_(Br.expression,nr)?(Ht=kr(W),an=Jt(e.setTextRange(Se.createAssignment(Ht,Br.expression),Br.expression),Br.argumentExpression),e.setTextRange(an,Br)):(Ht=Br.expression,an=Br):(Ht=Oa(),an=N().parenthesizeLeftSideOfAccess(_)),{target:an,thisArg:Ht}}function Er(_,W){return er(xi(se([fr(void 0,void 0,\"value\",[cn(void 0,void 0,void 0,_,void 0,void 0,void 0)],le([yn(W)]))])),\"value\")}function Fr(_){return _.length>10?_d(_):e.reduceLeft(_,Se.createComma)}function at(_,W,be,nr){nr===void 0&&(nr=0);var Br=e.getNameOfDeclaration(_);if(Br&&e.isIdentifier(Br)&&!e.isGeneratedIdentifier(Br)){var Ht=e.setParent(e.setTextRange(nt(Br),Br),Br.parent);return nr|=e.getEmitFlags(Br),be||(nr|=48),W||(nr|=1536),nr&&e.setEmitFlags(Ht,nr),Ht}return Hr(_)}function Ct(_,W,be){return at(_,W,be,49152)}function Xt(_,W,be){return at(_,W,be,16384)}function On(_,W,be){return at(_,W,be,8192)}function $n(_,W,be){return at(_,W,be)}function wa(_,W,be,nr){var Br=er(_,e.nodeIsSynthesized(W)?W:nt(W));e.setTextRange(Br,W);var Ht=0;return nr||(Ht|=48),be||(Ht|=1536),Ht&&e.setEmitFlags(Br,Ht),Br}function Ea(_,W,be,nr){return _&&e.hasSyntacticModifier(W,1)?wa(_,at(W),be,nr):On(W,be,nr)}function Ki(_,W,be,nr){var Br=Ho(_,W,be);return gs(_,W,Br,nr)}function Qo(_){return e.isStringLiteral(_.expression)&&_.expression.text===\"use strict\"}function $i(){return e.startOnNewLine(yn(Xe(\"use strict\")))}function Ho(_,W,be){e.Debug.assert(W.length===0,\"Prologue directives should be at the first statement in the target statements array\");for(var nr=!1,Br=0,Ht=_.length;Br<Ht;){var an=_[Br];if(e.isPrologueDirective(an))Qo(an)&&(nr=!0),W.push(an);else break;Br++}return be&&!nr&&W.push($i()),Br}function gs(_,W,be,nr,Br){Br===void 0&&(Br=e.returnTrue);for(var Ht=_.length;be!==void 0&&be<Ht;){var an=_[be];if(e.getEmitFlags(an)&1048576&&Br(an))e.append(W,nr?e.visitNode(an,nr,e.isStatement):an);else break;be++}return be}function _l(_){var W=e.findUseStrictPrologue(_);return W?_:e.setTextRange(Ce(Gt([$i()],_,!0)),_)}function xs(_){return e.Debug.assert(e.every(_,e.isStatementOrBlock),\"Cannot lift nodes to a Block.\"),e.singleOrUndefined(_)||le(_)}function Cl(_,W,be){for(var nr=be;nr<_.length&&W(_[nr]);)nr++;return nr}function bl(_,W){if(!e.some(W))return _;var be=Cl(_,e.isPrologueDirective,0),nr=Cl(_,e.isHoistedFunction,be),Br=Cl(_,e.isHoistedVariableStatement,nr),Ht=Cl(W,e.isPrologueDirective,0),an=Cl(W,e.isHoistedFunction,Ht),si=Cl(W,e.isHoistedVariableStatement,an),Io=Cl(W,e.isCustomPrologue,si);e.Debug.assert(Io===W.length,\"Expected declarations to be valid standard or custom prologues\");var vs=e.isNodeArray(_)?_.slice():_;if(Io>si&&vs.splice.apply(vs,Gt([Br,0],W.slice(si,Io),!1)),si>an&&vs.splice.apply(vs,Gt([nr,0],W.slice(an,si),!1)),an>Ht&&vs.splice.apply(vs,Gt([be,0],W.slice(Ht,an),!1)),Ht>0)if(be===0)vs.splice.apply(vs,Gt([0,0],W.slice(0,Ht),!1));else{for(var rp=new e.Map,Gc=0;Gc<be;Gc++){var Pm=_[Gc];rp.set(Pm.expression.text,!0)}for(var Gc=Ht-1;Gc>=0;Gc--){var tp=W[Gc];rp.has(tp.expression.text)||vs.unshift(tp)}}return e.isNodeArray(_)?e.setTextRange(Ce(vs,_.hasTrailingComma),_):_}function ju(_,W){var be;return typeof W==\"number\"&&(W=Jr(W)),e.isParameter(_)?bn(_,_.decorators,W,_.dotDotDotToken,_.name,_.questionToken,_.type,_.initializer):e.isPropertySignature(_)?Or(_,W,_.name,_.questionToken,_.type):e.isPropertyDeclaration(_)?ye(_,_.decorators,W,_.name,(be=_.questionToken)!==null&&be!==void 0?be:_.exclamationToken,_.type,_.initializer):e.isMethodSignature(_)?fe(_,W,_.name,_.questionToken,_.typeParameters,_.parameters,_.type):e.isMethodDeclaration(_)?Ee(_,_.decorators,W,_.asteriskToken,_.name,_.questionToken,_.typeParameters,_.parameters,_.type,_.body):e.isConstructorDeclaration(_)?me(_,_.decorators,W,_.parameters,_.body):e.isGetAccessorDeclaration(_)?Cr(_,_.decorators,W,_.name,_.parameters,_.type,_.body):e.isSetAccessorDeclaration(_)?dr(_,_.decorators,W,_.name,_.parameters,_.body):e.isIndexSignatureDeclaration(_)?Nr(_,_.decorators,W,_.parameters,_.type):e.isFunctionExpression(_)?Xi(_,W,_.asteriskToken,_.name,_.typeParameters,_.parameters,_.type,_.body):e.isArrowFunction(_)?Ro(_,W,_.typeParameters,_.parameters,_.type,_.equalsGreaterThanToken,_.body):e.isClassExpression(_)?Ic(_,_.decorators,W,_.name,_.typeParameters,_.heritageClauses,_.members):e.isVariableStatement(_)?ct(_,W,_.declarationList):e.isFunctionDeclaration(_)?Oc(_,_.decorators,W,_.asteriskToken,_.name,_.typeParameters,_.parameters,_.type,_.body):e.isClassDeclaration(_)?yf(_,_.decorators,W,_.name,_.typeParameters,_.heritageClauses,_.members):e.isInterfaceDeclaration(_)?kd(_,_.decorators,W,_.name,_.typeParameters,_.heritageClauses,_.members):e.isTypeAliasDeclaration(_)?$f(_,_.decorators,W,_.name,_.typeParameters,_.type):e.isEnumDeclaration(_)?Rd(_,_.decorators,W,_.name,_.members):e.isModuleDeclaration(_)?yp(_,_.decorators,W,_.name,_.body):e.isImportEqualsDeclaration(_)?Fd(_,_.decorators,W,_.isTypeOnly,_.name,_.moduleReference):e.isImportDeclaration(_)?Yp(_,_.decorators,W,_.importClause,_.moduleSpecifier,_.assertClause):e.isExportAssignment(_)?td(_,_.decorators,W,_.expression):e.isExportDeclaration(_)?wu(_,_.decorators,W,_.isTypeOnly,_.exportClause,_.moduleSpecifier,_.assertClause):e.Debug.assertNever(_)}function ul(_){return _?Ce(_):void 0}function Ms(_){return typeof _==\"string\"?lr(_):_}function Ff(_){return typeof _==\"string\"?Xe(_):typeof _==\"number\"?_e(_):typeof _==\"boolean\"?_?Pr():He():_}function _u(_){return typeof _==\"number\"?de(_):_}function ml(_){return _&&e.isNotEmittedStatement(_)?e.setTextRange(ne(jt(),_),_):_}}e.createNodeFactory=f;function p(V,re){return V!==re&&e.setTextRange(V,re),V}function a(V,re){return V!==re&&(ne(V,re),e.setTextRange(V,re)),V}function d(V){switch(V){case 341:return\"type\";case 339:return\"returns\";case 340:return\"this\";case 337:return\"enum\";case 328:return\"author\";case 330:return\"class\";case 331:return\"public\";case 332:return\"private\";case 333:return\"protected\";case 334:return\"readonly\";case 335:return\"override\";case 342:return\"template\";case 343:return\"typedef\";case 338:return\"param\";case 345:return\"prop\";case 336:return\"callback\";case 326:return\"augments\";case 327:return\"implements\";default:return e.Debug.fail(\"Unsupported kind: \".concat(e.Debug.formatSyntaxKind(V)))}}var k,J={};function h(V,re){switch(k||(k=e.createScanner(99,!1,0)),V){case 14:k.setText(\"`\"+re+\"`\");break;case 15:k.setText(\"`\"+re+\"${\");break;case 16:k.setText(\"}\"+re+\"${\");break;case 17:k.setText(\"}\"+re+\"`\");break}var T=k.scan();if(T===19&&(T=k.reScanTemplateToken(!1)),k.isUnterminated())return k.setText(void 0),J;var N;switch(T){case 14:case 15:case 16:case 17:N=k.getTokenValue();break}return N===void 0||k.scan()!==1?(k.setText(void 0),J):(k.setText(void 0),N)}function v(V){return z(V)&-16777217}function A(V,re){return re|V.transformFlags&33562624}function z(V){if(!V)return 0;var re=V.transformFlags&~M(V.kind);return e.isNamedDeclaration(V)&&e.isPropertyName(V.name)?A(V.name,re):re}function ie(V){return V?V.transformFlags:0}function b(V){for(var re=0,T=0,N=V;T<N.length;T++){var y=N[T];re|=z(y)}V.transformFlags=re}function M(V){if(V>=176&&V<=199)return-2;switch(V){case 207:case 208:case 203:return 536887296;case 260:return 589443072;case 163:return 536870912;case 213:return 557748224;case 212:case 255:return 591310848;case 254:return 537165824;case 256:case 225:return 536940544;case 170:return 591306752;case 166:return 570433536;case 168:case 171:case 172:return 574529536;case 130:case 146:case 157:case 143:case 149:case 147:case 133:case 150:case 114:case 162:case 165:case 167:case 173:case 174:case 175:case 257:case 258:return-2;case 204:return 536973312;case 291:return 536903680;case 200:case 201:return 536887296;case 210:case 228:case 348:case 211:case 106:return 536870912;case 205:case 206:return 536870912;default:return 536870912}}e.getTransformFlagsSubtreeExclusions=M;var S=e.createBaseNodeFactory();function B(V){return V.flags|=8,V}var H={createBaseSourceFileNode:function(V){return B(S.createBaseSourceFileNode(V))},createBaseIdentifierNode:function(V){return B(S.createBaseIdentifierNode(V))},createBasePrivateIdentifierNode:function(V){return B(S.createBasePrivateIdentifierNode(V))},createBaseTokenNode:function(V){return B(S.createBaseTokenNode(V))},createBaseNode:function(V){return B(S.createBaseNode(V))}};e.factory=f(4,H);function I(V,re,T){var N,y,D,C,m,u,g,P,te,ue;e.isString(V)?(D=\"\",C=V,m=V.length,u=re,g=T):(e.Debug.assert(re===\"js\"||re===\"dts\"),D=(re===\"js\"?V.javascriptPath:V.declarationPath)||\"\",u=re===\"js\"?V.javascriptMapPath:V.declarationMapPath,P=function(){return re===\"js\"?V.javascriptText:V.declarationText},te=function(){return re===\"js\"?V.javascriptMapText:V.declarationMapText},m=function(){return P().length},V.buildInfo&&V.buildInfo.bundle&&(e.Debug.assert(T===void 0||typeof T==\"boolean\"),N=T,y=re===\"js\"?V.buildInfo.bundle.js:V.buildInfo.bundle.dts,ue=V.oldFileOfCurrentEmit));var X=ue?x(e.Debug.assertDefined(y)):w(y,N,m);return X.fileName=D,X.sourceMapPath=u,X.oldFileOfCurrentEmit=ue,P&&te?(Object.defineProperty(X,\"text\",{get:P}),Object.defineProperty(X,\"sourceMapText\",{get:te})):(e.Debug.assert(!ue),X.text=C!=null?C:\"\",X.sourceMapText=g),X}e.createUnparsedSourceFile=I;function w(V,re,T){for(var N,y,D,C,m,u,g,P,te=0,ue=V?V.sections:e.emptyArray;te<ue.length;te++){var X=ue[te];switch(X.kind){case\"prologue\":N=e.append(N,e.setTextRange(e.factory.createUnparsedPrologue(X.data),X));break;case\"emitHelpers\":y=e.append(y,e.getAllUnscopedEmitHelpers().get(X.data));break;case\"no-default-lib\":P=!0;break;case\"reference\":D=e.append(D,{pos:-1,end:-1,fileName:X.data});break;case\"type\":C=e.append(C,X.data);break;case\"lib\":m=e.append(m,{pos:-1,end:-1,fileName:X.data});break;case\"prepend\":for(var j=void 0,Se=0,Ce=X.texts;Se<Ce.length;Se++){var R=Ce[Se];(!re||R.kind!==\"internal\")&&(j=e.append(j,e.setTextRange(e.factory.createUnparsedTextLike(R.data,R.kind===\"internal\"),R)))}u=e.addRange(u,j),g=e.append(g,e.factory.createUnparsedPrepend(X.data,j!=null?j:e.emptyArray));break;case\"internal\":if(re){g||(g=[]);break}case\"text\":g=e.append(g,e.setTextRange(e.factory.createUnparsedTextLike(X.data,X.kind===\"internal\"),X));break;default:e.Debug.assertNever(X)}}if(!g){var Y=e.factory.createUnparsedTextLike(void 0,!1);e.setTextRangePosWidth(Y,0,typeof T==\"function\"?T():T),g=[Y]}var U=e.parseNodeFactory.createUnparsedSource(N!=null?N:e.emptyArray,void 0,g);return e.setEachParent(N,U),e.setEachParent(g,U),e.setEachParent(u,U),U.hasNoDefaultLib=P,U.helpers=y,U.referencedFiles=D||e.emptyArray,U.typeReferenceDirectives=C,U.libReferenceDirectives=m||e.emptyArray,U}function x(V){for(var re,T,N=0,y=V.sections;N<y.length;N++){var D=y[N];switch(D.kind){case\"internal\":case\"text\":re=e.append(re,e.setTextRange(e.factory.createUnparsedTextLike(D.data,D.kind===\"internal\"),D));break;case\"no-default-lib\":case\"reference\":case\"type\":case\"lib\":T=e.append(T,e.setTextRange(e.factory.createUnparsedSyntheticReference(D),D));break;case\"prologue\":case\"emitHelpers\":case\"prepend\":break;default:e.Debug.assertNever(D)}}var C=e.factory.createUnparsedSource(e.emptyArray,T,re!=null?re:e.emptyArray);return e.setEachParent(T,C),e.setEachParent(re,C),C.helpers=e.map(V.sources&&V.sources.helpers,function(m){return e.getAllUnscopedEmitHelpers().get(m)}),C}function O(V,re,T,N,y,D,C,m,u,g,P){var te=e.parseNodeFactory.createInputFiles();if(e.isString(V))te.javascriptText=V,te.javascriptMapPath=T,te.javascriptMapText=N,te.declarationText=re,te.declarationMapPath=y,te.declarationMapText=D,te.javascriptPath=C,te.declarationPath=m,te.buildInfoPath=u,te.buildInfo=g,te.oldFileOfCurrentEmit=P;else{var ue=new e.Map,X=function(R){if(R!==void 0){var Y=ue.get(R);return Y===void 0&&(Y=V(R),ue.set(R,Y!==void 0?Y:!1)),Y!==!1?Y:void 0}},j=function(R){var Y=X(R);return Y!==void 0?Y:\"/* Input file \".concat(R,` was missing */\\r\n`)},Se,Ce=function(R){if(Se===void 0){var Y=R();Se=Y!==void 0?e.getBuildInfo(Y):!1}return Se||void 0};te.javascriptPath=re,te.javascriptMapPath=T,te.declarationPath=e.Debug.assertDefined(N),te.declarationMapPath=y,te.buildInfoPath=D,Object.defineProperties(te,{javascriptText:{get:function(){return j(re)}},javascriptMapText:{get:function(){return X(T)}},declarationText:{get:function(){return j(e.Debug.assertDefined(N))}},declarationMapText:{get:function(){return X(y)}},buildInfo:{get:function(){return Ce(function(){return X(D)})}}})}return te}e.createInputFiles=O;var q;function Z(V,re,T){return new(q||(q=e.objectAllocator.getSourceMapSourceConstructor()))(V,re,T)}e.createSourceMapSource=Z;function ne(V,re){if(V.original=re,re){var T=re.emitNode;T&&(V.emitNode=F(T,V.emitNode))}return V}e.setOriginalNode=ne;function F(V,re){var T=V.flags,N=V.leadingComments,y=V.trailingComments,D=V.commentRange,C=V.sourceMapRange,m=V.tokenSourceMapRanges,u=V.constantValue,g=V.helpers,P=V.startsOnNewLine;if(re||(re={}),N&&(re.leadingComments=e.addRange(N.slice(),re.leadingComments)),y&&(re.trailingComments=e.addRange(y.slice(),re.trailingComments)),T&&(re.flags=T&-268435457),D&&(re.commentRange=D),C&&(re.sourceMapRange=C),m&&(re.tokenSourceMapRanges=Q(m,re.tokenSourceMapRanges)),u!==void 0&&(re.constantValue=u),g)for(var te=0,ue=g;te<ue.length;te++){var X=ue[te];re.helpers=e.appendIfUnique(re.helpers,X)}return P!==void 0&&(re.startsOnNewLine=P),re}function Q(V,re){re||(re=[]);for(var T in V)re[T]=V[T];return re}}(jr||(jr={})),function(e){function n(y){var D;if(y.emitNode)e.Debug.assert(!(y.emitNode.flags&268435456),\"Invalid attempt to mutate an immutable node.\");else{if(e.isParseTreeNode(y)){if(y.kind===303)return y.emitNode={annotatedNodes:[y]};var C=(D=e.getSourceFileOfNode(e.getParseTreeNode(e.getSourceFileOfNode(y))))!==null&&D!==void 0?D:e.Debug.fail(\"Could not determine parsed source file.\");n(C).annotatedNodes.push(y)}y.emitNode={}}return y.emitNode}e.getOrCreateEmitNode=n;function f(y){var D,C,m=(C=(D=e.getSourceFileOfNode(e.getParseTreeNode(y)))===null||D===void 0?void 0:D.emitNode)===null||C===void 0?void 0:C.annotatedNodes;if(m)for(var u=0,g=m;u<g.length;u++){var P=g[u];P.emitNode=void 0}}e.disposeEmitNodes=f;function p(y){var D=n(y);return D.flags|=1536,D.leadingComments=void 0,D.trailingComments=void 0,y}e.removeAllComments=p;function a(y,D){return n(y).flags=D,y}e.setEmitFlags=a;function d(y,D){var C=n(y);return C.flags=C.flags|D,y}e.addEmitFlags=d;function k(y){var D,C;return(C=(D=y.emitNode)===null||D===void 0?void 0:D.sourceMapRange)!==null&&C!==void 0?C:y}e.getSourceMapRange=k;function J(y,D){return n(y).sourceMapRange=D,y}e.setSourceMapRange=J;function h(y,D){var C,m;return(m=(C=y.emitNode)===null||C===void 0?void 0:C.tokenSourceMapRanges)===null||m===void 0?void 0:m[D]}e.getTokenSourceMapRange=h;function v(y,D,C){var m,u=n(y),g=(m=u.tokenSourceMapRanges)!==null&&m!==void 0?m:u.tokenSourceMapRanges=[];return g[D]=C,y}e.setTokenSourceMapRange=v;function A(y){var D;return(D=y.emitNode)===null||D===void 0?void 0:D.startsOnNewLine}e.getStartsOnNewLine=A;function z(y,D){return n(y).startsOnNewLine=D,y}e.setStartsOnNewLine=z;function ie(y){var D,C;return(C=(D=y.emitNode)===null||D===void 0?void 0:D.commentRange)!==null&&C!==void 0?C:y}e.getCommentRange=ie;function b(y,D){return n(y).commentRange=D,y}e.setCommentRange=b;function M(y){var D;return(D=y.emitNode)===null||D===void 0?void 0:D.leadingComments}e.getSyntheticLeadingComments=M;function S(y,D){return n(y).leadingComments=D,y}e.setSyntheticLeadingComments=S;function B(y,D,C,m){return S(y,e.append(M(y),{kind:D,pos:-1,end:-1,hasTrailingNewLine:m,text:C}))}e.addSyntheticLeadingComment=B;function H(y){var D;return(D=y.emitNode)===null||D===void 0?void 0:D.trailingComments}e.getSyntheticTrailingComments=H;function I(y,D){return n(y).trailingComments=D,y}e.setSyntheticTrailingComments=I;function w(y,D,C,m){return I(y,e.append(H(y),{kind:D,pos:-1,end:-1,hasTrailingNewLine:m,text:C}))}e.addSyntheticTrailingComment=w;function x(y,D){S(y,M(D)),I(y,H(D));var C=n(D);return C.leadingComments=void 0,C.trailingComments=void 0,y}e.moveSyntheticComments=x;function O(y){var D;return(D=y.emitNode)===null||D===void 0?void 0:D.constantValue}e.getConstantValue=O;function q(y,D){var C=n(y);return C.constantValue=D,y}e.setConstantValue=q;function Z(y,D){var C=n(y);return C.helpers=e.append(C.helpers,D),y}e.addEmitHelper=Z;function ne(y,D){if(e.some(D))for(var C=n(y),m=0,u=D;m<u.length;m++){var g=u[m];C.helpers=e.appendIfUnique(C.helpers,g)}return y}e.addEmitHelpers=ne;function F(y,D){var C,m=(C=y.emitNode)===null||C===void 0?void 0:C.helpers;return m?e.orderedRemoveItem(m,D):!1}e.removeEmitHelper=F;function Q(y){var D;return(D=y.emitNode)===null||D===void 0?void 0:D.helpers}e.getEmitHelpers=Q;function V(y,D,C){var m=y.emitNode,u=m&&m.helpers;if(!!e.some(u)){for(var g=n(D),P=0,te=0;te<u.length;te++){var ue=u[te];C(ue)?(P++,g.helpers=e.appendIfUnique(g.helpers,ue)):P>0&&(u[te-P]=ue)}P>0&&(u.length-=P)}}e.moveEmitHelpers=V;function re(y){var D;return(D=y.emitNode)===null||D===void 0?void 0:D.snippetElement}e.getSnippetElement=re;function T(y,D){var C=n(y);return C.snippetElement=D,y}e.setSnippetElement=T;function N(y){return n(y).flags|=134217728,y}e.ignoreSourceNewlines=N}(jr||(jr={})),function(e){function n(J){var h=J.factory,v=e.memoize(function(){return e.setEmitFlags(h.createTrue(),268435456)}),A=e.memoize(function(){return e.setEmitFlags(h.createFalse(),268435456)});return{getUnscopedHelperName:z,createDecorateHelper:ie,createMetadataHelper:b,createParamHelper:M,createAssignHelper:S,createAwaitHelper:B,createAsyncGeneratorHelper:H,createAsyncDelegatorHelper:I,createAsyncValuesHelper:w,createRestHelper:x,createAwaiterHelper:O,createExtendsHelper:q,createTemplateObjectHelper:Z,createSpreadArrayHelper:ne,createValuesHelper:F,createReadHelper:Q,createGeneratorHelper:V,createCreateBindingHelper:re,createImportStarHelper:T,createImportStarCallbackHelper:N,createImportDefaultHelper:y,createExportStarHelper:D,createClassPrivateFieldGetHelper:C,createClassPrivateFieldSetHelper:m,createClassPrivateFieldInHelper:u};function z(g){return e.setEmitFlags(h.createIdentifier(g),4098)}function ie(g,P,te,ue){J.requestEmitHelper(e.decorateHelper);var X=[];return X.push(h.createArrayLiteralExpression(g,!0)),X.push(P),te&&(X.push(te),ue&&X.push(ue)),h.createCallExpression(z(\"__decorate\"),void 0,X)}function b(g,P){return J.requestEmitHelper(e.metadataHelper),h.createCallExpression(z(\"__metadata\"),void 0,[h.createStringLiteral(g),P])}function M(g,P,te){return J.requestEmitHelper(e.paramHelper),e.setTextRange(h.createCallExpression(z(\"__param\"),void 0,[h.createNumericLiteral(P+\"\"),g]),te)}function S(g){return e.getEmitScriptTarget(J.getCompilerOptions())>=2?h.createCallExpression(h.createPropertyAccessExpression(h.createIdentifier(\"Object\"),\"assign\"),void 0,g):(J.requestEmitHelper(e.assignHelper),h.createCallExpression(z(\"__assign\"),void 0,g))}function B(g){return J.requestEmitHelper(e.awaitHelper),h.createCallExpression(z(\"__await\"),void 0,[g])}function H(g,P){return J.requestEmitHelper(e.awaitHelper),J.requestEmitHelper(e.asyncGeneratorHelper),(g.emitNode||(g.emitNode={})).flags|=786432,h.createCallExpression(z(\"__asyncGenerator\"),void 0,[P?h.createThis():h.createVoidZero(),h.createIdentifier(\"arguments\"),g])}function I(g){return J.requestEmitHelper(e.awaitHelper),J.requestEmitHelper(e.asyncDelegator),h.createCallExpression(z(\"__asyncDelegator\"),void 0,[g])}function w(g){return J.requestEmitHelper(e.asyncValues),h.createCallExpression(z(\"__asyncValues\"),void 0,[g])}function x(g,P,te,ue){J.requestEmitHelper(e.restHelper);for(var X=[],j=0,Se=0;Se<P.length-1;Se++){var Ce=e.getPropertyNameOfBindingOrAssignmentElement(P[Se]);if(Ce)if(e.isComputedPropertyName(Ce)){e.Debug.assertIsDefined(te,\"Encountered computed property name but 'computedTempVariables' argument was not provided.\");var R=te[j];j++,X.push(h.createConditionalExpression(h.createTypeCheck(R,\"symbol\"),void 0,R,void 0,h.createAdd(R,h.createStringLiteral(\"\"))))}else X.push(h.createStringLiteralFromNode(Ce))}return h.createCallExpression(z(\"__rest\"),void 0,[g,e.setTextRange(h.createArrayLiteralExpression(X),ue)])}function O(g,P,te,ue){J.requestEmitHelper(e.awaiterHelper);var X=h.createFunctionExpression(void 0,h.createToken(41),void 0,void 0,[],void 0,ue);return(X.emitNode||(X.emitNode={})).flags|=786432,h.createCallExpression(z(\"__awaiter\"),void 0,[g?h.createThis():h.createVoidZero(),P?h.createIdentifier(\"arguments\"):h.createVoidZero(),te?e.createExpressionFromEntityName(h,te):h.createVoidZero(),X])}function q(g){return J.requestEmitHelper(e.extendsHelper),h.createCallExpression(z(\"__extends\"),void 0,[g,h.createUniqueName(\"_super\",48)])}function Z(g,P){return J.requestEmitHelper(e.templateObjectHelper),h.createCallExpression(z(\"__makeTemplateObject\"),void 0,[g,P])}function ne(g,P,te){return J.requestEmitHelper(e.spreadArrayHelper),h.createCallExpression(z(\"__spreadArray\"),void 0,[g,P,te?v():A()])}function F(g){return J.requestEmitHelper(e.valuesHelper),h.createCallExpression(z(\"__values\"),void 0,[g])}function Q(g,P){return J.requestEmitHelper(e.readHelper),h.createCallExpression(z(\"__read\"),void 0,P!==void 0?[g,h.createNumericLiteral(P+\"\")]:[g])}function V(g){return J.requestEmitHelper(e.generatorHelper),h.createCallExpression(z(\"__generator\"),void 0,[h.createThis(),g])}function re(g,P,te){return J.requestEmitHelper(e.createBindingHelper),h.createCallExpression(z(\"__createBinding\"),void 0,Gt([h.createIdentifier(\"exports\"),g,P],te?[te]:[],!0))}function T(g){return J.requestEmitHelper(e.importStarHelper),h.createCallExpression(z(\"__importStar\"),void 0,[g])}function N(){return J.requestEmitHelper(e.importStarHelper),z(\"__importStar\")}function y(g){return J.requestEmitHelper(e.importDefaultHelper),h.createCallExpression(z(\"__importDefault\"),void 0,[g])}function D(g,P){return P===void 0&&(P=h.createIdentifier(\"exports\")),J.requestEmitHelper(e.exportStarHelper),J.requestEmitHelper(e.createBindingHelper),h.createCallExpression(z(\"__exportStar\"),void 0,[g,P])}function C(g,P,te,ue){J.requestEmitHelper(e.classPrivateFieldGetHelper);var X;return ue?X=[g,P,h.createStringLiteral(te),ue]:X=[g,P,h.createStringLiteral(te)],h.createCallExpression(z(\"__classPrivateFieldGet\"),void 0,X)}function m(g,P,te,ue,X){J.requestEmitHelper(e.classPrivateFieldSetHelper);var j;return X?j=[g,P,te,h.createStringLiteral(ue),X]:j=[g,P,te,h.createStringLiteral(ue)],h.createCallExpression(z(\"__classPrivateFieldSet\"),void 0,j)}function u(g,P){return J.requestEmitHelper(e.classPrivateFieldInHelper),h.createCallExpression(z(\"__classPrivateFieldIn\"),void 0,[g,P])}}e.createEmitHelperFactory=n;function f(J,h){return J===h||J.priority===h.priority?0:J.priority===void 0?1:h.priority===void 0?-1:e.compareValues(J.priority,h.priority)}e.compareEmitHelpers=f;function p(J){for(var h=[],v=1;v<arguments.length;v++)h[v-1]=arguments[v];return function(A){for(var z=\"\",ie=0;ie<h.length;ie++)z+=J[ie],z+=A(h[ie]);return z+=J[J.length-1],z}}e.helperString=p,e.decorateHelper={name:\"typescript:decorate\",importName:\"__decorate\",scoped:!1,priority:2,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            };`},e.metadataHelper={name:\"typescript:metadata\",importName:\"__metadata\",scoped:!1,priority:3,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            };`},e.paramHelper={name:\"typescript:param\",importName:\"__param\",scoped:!1,priority:4,text:`\n            var __param = (this && this.__param) || function (paramIndex, decorator) {\n                return function (target, key) { decorator(target, key, paramIndex); }\n            };`},e.assignHelper={name:\"typescript:assign\",importName:\"__assign\",scoped:!1,priority:1,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            };`},e.awaitHelper={name:\"typescript:await\",importName:\"__await\",scoped:!1,text:`\n            var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }`},e.asyncGeneratorHelper={name:\"typescript:asyncGenerator\",importName:\"__asyncGenerator\",scoped:!1,dependencies:[e.awaitHelper],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            };`},e.asyncDelegator={name:\"typescript:asyncDelegator\",importName:\"__asyncDelegator\",scoped:!1,dependencies:[e.awaitHelper],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: n === \"return\" } : f ? f(v) : v; } : f; }\n            };`},e.asyncValues={name:\"typescript:asyncValues\",importName:\"__asyncValues\",scoped:!1,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            };`},e.restHelper={name:\"typescript:rest\",importName:\"__rest\",scoped:!1,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            };`},e.awaiterHelper={name:\"typescript:awaiter\",importName:\"__awaiter\",scoped:!1,priority:5,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            };`},e.extendsHelper={name:\"typescript:extends\",importName:\"__extends\",scoped:!1,priority:0,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            })();`},e.templateObjectHelper={name:\"typescript:makeTemplateObject\",importName:\"__makeTemplateObject\",scoped:!1,priority:0,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            };`},e.readHelper={name:\"typescript:read\",importName:\"__read\",scoped:!1,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            };`},e.spreadArrayHelper={name:\"typescript:spreadArray\",importName:\"__spreadArray\",scoped:!1,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            };`},e.valuesHelper={name:\"typescript:values\",importName:\"__values\",scoped:!1,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            };`},e.generatorHelper={name:\"typescript:generator\",importName:\"__generator\",scoped:!1,priority:6,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 (_) 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            };`},e.createBindingHelper={name:\"typescript:commonjscreatebinding\",importName:\"__createBinding\",scoped:!1,priority:1,text:`\n            var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n                if (k2 === undefined) k2 = k;\n                Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n            }) : (function(o, m, k, k2) {\n                if (k2 === undefined) k2 = k;\n                o[k2] = m[k];\n            }));`},e.setModuleDefaultHelper={name:\"typescript:commonjscreatevalue\",importName:\"__setModuleDefault\",scoped:!1,priority:1,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            });`},e.importStarHelper={name:\"typescript:commonjsimportstar\",importName:\"__importStar\",scoped:!1,dependencies:[e.createBindingHelper,e.setModuleDefaultHelper],priority:2,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            };`},e.importDefaultHelper={name:\"typescript:commonjsimportdefault\",importName:\"__importDefault\",scoped:!1,text:`\n            var __importDefault = (this && this.__importDefault) || function (mod) {\n                return (mod && mod.__esModule) ? mod : { \"default\": mod };\n            };`},e.exportStarHelper={name:\"typescript:export-star\",importName:\"__exportStar\",scoped:!1,dependencies:[e.createBindingHelper],priority:2,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            };`},e.classPrivateFieldGetHelper={name:\"typescript:classPrivateFieldGet\",importName:\"__classPrivateFieldGet\",scoped:!1,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            };`},e.classPrivateFieldSetHelper={name:\"typescript:classPrivateFieldSet\",importName:\"__classPrivateFieldSet\",scoped:!1,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            };`},e.classPrivateFieldInHelper={name:\"typescript:classPrivateFieldIn\",importName:\"__classPrivateFieldIn\",scoped:!1,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            };`};var a;function d(){return a||(a=e.arrayToMap([e.decorateHelper,e.metadataHelper,e.paramHelper,e.assignHelper,e.awaitHelper,e.asyncGeneratorHelper,e.asyncDelegator,e.asyncValues,e.restHelper,e.awaiterHelper,e.extendsHelper,e.templateObjectHelper,e.spreadArrayHelper,e.valuesHelper,e.readHelper,e.generatorHelper,e.importStarHelper,e.importDefaultHelper,e.exportStarHelper,e.classPrivateFieldGetHelper,e.classPrivateFieldSetHelper,e.classPrivateFieldInHelper,e.createBindingHelper,e.setModuleDefaultHelper],function(J){return J.name}))}e.getAllUnscopedEmitHelpers=d,e.asyncSuperHelper={name:\"typescript:async-super\",scoped:!0,text:p(iD([`\n            const `,\" = name => super[name];\"],[`\n            const `,\" = name => super[name];\"]),\"_superIndex\")},e.advancedAsyncSuperHelper={name:\"typescript:advanced-async-super\",scoped:!0,text:p(iD([`\n            const `,` = (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            const `,` = (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);`]),\"_superIndex\")};function k(J,h){return e.isCallExpression(J)&&e.isIdentifier(J.expression)&&(e.getEmitFlags(J.expression)&4096)!==0&&J.expression.escapedText===h}e.isCallToHelper=k}(jr||(jr={})),function(e){function n(Ir){return Ir.kind===8}e.isNumericLiteral=n;function f(Ir){return Ir.kind===9}e.isBigIntLiteral=f;function p(Ir){return Ir.kind===10}e.isStringLiteral=p;function a(Ir){return Ir.kind===11}e.isJsxText=a;function d(Ir){return Ir.kind===13}e.isRegularExpressionLiteral=d;function k(Ir){return Ir.kind===14}e.isNoSubstitutionTemplateLiteral=k;function J(Ir){return Ir.kind===15}e.isTemplateHead=J;function h(Ir){return Ir.kind===16}e.isTemplateMiddle=h;function v(Ir){return Ir.kind===17}e.isTemplateTail=v;function A(Ir){return Ir.kind===25}e.isDotDotDotToken=A;function z(Ir){return Ir.kind===27}e.isCommaToken=z;function ie(Ir){return Ir.kind===39}e.isPlusToken=ie;function b(Ir){return Ir.kind===40}e.isMinusToken=b;function M(Ir){return Ir.kind===41}e.isAsteriskToken=M;function S(Ir){return Ir.kind===53}e.isExclamationToken=S;function B(Ir){return Ir.kind===57}e.isQuestionToken=B;function H(Ir){return Ir.kind===58}e.isColonToken=H;function I(Ir){return Ir.kind===28}e.isQuestionDotToken=I;function w(Ir){return Ir.kind===38}e.isEqualsGreaterThanToken=w;function x(Ir){return Ir.kind===79}e.isIdentifier=x;function O(Ir){return Ir.kind===80}e.isPrivateIdentifier=O;function q(Ir){return Ir.kind===93}e.isExportModifier=q;function Z(Ir){return Ir.kind===131}e.isAsyncModifier=Z;function ne(Ir){return Ir.kind===128}e.isAssertsKeyword=ne;function F(Ir){return Ir.kind===132}e.isAwaitKeyword=F;function Q(Ir){return Ir.kind===144}e.isReadonlyKeyword=Q;function V(Ir){return Ir.kind===124}e.isStaticModifier=V;function re(Ir){return Ir.kind===126}e.isAbstractModifier=re;function T(Ir){return Ir.kind===106}e.isSuperKeyword=T;function N(Ir){return Ir.kind===100}e.isImportKeyword=N;function y(Ir){return Ir.kind===160}e.isQualifiedName=y;function D(Ir){return Ir.kind===161}e.isComputedPropertyName=D;function C(Ir){return Ir.kind===162}e.isTypeParameterDeclaration=C;function m(Ir){return Ir.kind===163}e.isParameter=m;function u(Ir){return Ir.kind===164}e.isDecorator=u;function g(Ir){return Ir.kind===165}e.isPropertySignature=g;function P(Ir){return Ir.kind===166}e.isPropertyDeclaration=P;function te(Ir){return Ir.kind===167}e.isMethodSignature=te;function ue(Ir){return Ir.kind===168}e.isMethodDeclaration=ue;function X(Ir){return Ir.kind===169}e.isClassStaticBlockDeclaration=X;function j(Ir){return Ir.kind===170}e.isConstructorDeclaration=j;function Se(Ir){return Ir.kind===171}e.isGetAccessorDeclaration=Se;function Ce(Ir){return Ir.kind===172}e.isSetAccessorDeclaration=Ce;function R(Ir){return Ir.kind===173}e.isCallSignatureDeclaration=R;function Y(Ir){return Ir.kind===174}e.isConstructSignatureDeclaration=Y;function U(Ir){return Ir.kind===175}e.isIndexSignatureDeclaration=U;function K(Ir){return Ir.kind===176}e.isTypePredicateNode=K;function Te(Ir){return Ir.kind===177}e.isTypeReferenceNode=Te;function ge(Ir){return Ir.kind===178}e.isFunctionTypeNode=ge;function ke(Ir){return Ir.kind===179}e.isConstructorTypeNode=ke;function Pe(Ir){return Ir.kind===180}e.isTypeQueryNode=Pe;function Ie(Ir){return Ir.kind===181}e.isTypeLiteralNode=Ie;function Ge(Ir){return Ir.kind===182}e.isArrayTypeNode=Ge;function he(Ir){return Ir.kind===183}e.isTupleTypeNode=he;function ve(Ir){return Ir.kind===196}e.isNamedTupleMember=ve;function Ve(Ir){return Ir.kind===184}e.isOptionalTypeNode=Ve;function _e(Ir){return Ir.kind===185}e.isRestTypeNode=_e;function Le(Ir){return Ir.kind===186}e.isUnionTypeNode=Le;function qe(Ir){return Ir.kind===187}e.isIntersectionTypeNode=qe;function Xe(Ir){return Ir.kind===188}e.isConditionalTypeNode=Xe;function De(Ir){return Ir.kind===189}e.isInferTypeNode=De;function Ae(Ir){return Ir.kind===190}e.isParenthesizedTypeNode=Ae;function Ye(Ir){return Ir.kind===191}e.isThisTypeNode=Ye;function Dr(Ir){return Ir.kind===192}e.isTypeOperatorNode=Dr;function br(Ir){return Ir.kind===193}e.isIndexedAccessTypeNode=br;function lr(Ir){return Ir.kind===194}e.isMappedTypeNode=lr;function Ar(Ir){return Ir.kind===195}e.isLiteralTypeNode=Ar;function kr(Ir){return Ir.kind===199}e.isImportTypeNode=kr;function Ke(Ir){return Ir.kind===198}e.isTemplateLiteralTypeSpan=Ke;function Me(Ir){return Ir.kind===197}e.isTemplateLiteralTypeNode=Me;function Hr(Ir){return Ir.kind===200}e.isObjectBindingPattern=Hr;function ur(Ir){return Ir.kind===201}e.isArrayBindingPattern=ur;function gr(Ir){return Ir.kind===202}e.isBindingElement=gr;function de(Ir){return Ir.kind===203}e.isArrayLiteralExpression=de;function Fe(Ir){return Ir.kind===204}e.isObjectLiteralExpression=Fe;function $e(Ir){return Ir.kind===205}e.isPropertyAccessExpression=$e;function Sr(Ir){return Ir.kind===206}e.isElementAccessExpression=Sr;function Pr(Ir){return Ir.kind===207}e.isCallExpression=Pr;function He(Ir){return Ir.kind===208}e.isNewExpression=He;function pr(Ir){return Ir.kind===209}e.isTaggedTemplateExpression=pr;function Jr(Ir){return Ir.kind===210}e.isTypeAssertionExpression=Jr;function ze(Ir){return Ir.kind===211}e.isParenthesizedExpression=ze;function Lr(Ir){return Ir.kind===212}e.isFunctionExpression=Lr;function Yr(Ir){return Ir.kind===213}e.isArrowFunction=Yr;function lt(Ir){return Ir.kind===214}e.isDeleteExpression=lt;function tt(Ir){return Ir.kind===215}e.isTypeOfExpression=tt;function Rt(Ir){return Ir.kind===216}e.isVoidExpression=Rt;function cn(Ir){return Ir.kind===217}e.isAwaitExpression=cn;function bn(Ir){return Ir.kind===218}e.isPrefixUnaryExpression=bn;function In(Ir){return Ir.kind===219}e.isPostfixUnaryExpression=In;function zn(Ir){return Ir.kind===220}e.isBinaryExpression=zn;function ir(Ir){return Ir.kind===221}e.isConditionalExpression=ir;function Or(Ir){return Ir.kind===222}e.isTemplateExpression=Or;function sr(Ir){return Ir.kind===223}e.isYieldExpression=sr;function ye(Ir){return Ir.kind===224}e.isSpreadElement=ye;function or(Ir){return Ir.kind===225}e.isClassExpression=or;function fe(Ir){return Ir.kind===226}e.isOmittedExpression=fe;function je(Ir){return Ir.kind===227}e.isExpressionWithTypeArguments=je;function Ee(Ir){return Ir.kind===228}e.isAsExpression=Ee;function We(Ir){return Ir.kind===229}e.isNonNullExpression=We;function $(Ir){return Ir.kind===230}e.isMetaProperty=$;function Ne(Ir){return Ir.kind===231}e.isSyntheticExpression=Ne;function me(Ir){return Ir.kind===348}e.isPartiallyEmittedExpression=me;function Ze(Ir){return Ir.kind===349}e.isCommaListExpression=Ze;function Cr(Ir){return Ir.kind===232}e.isTemplateSpan=Cr;function fr(Ir){return Ir.kind===233}e.isSemicolonClassElement=fr;function dr(Ir){return Ir.kind===234}e.isBlock=dr;function et(Ir){return Ir.kind===236}e.isVariableStatement=et;function yt(Ir){return Ir.kind===235}e.isEmptyStatement=yt;function Vr(Ir){return Ir.kind===237}e.isExpressionStatement=Vr;function tr(Ir){return Ir.kind===238}e.isIfStatement=tr;function xr(Ir){return Ir.kind===239}e.isDoStatement=xr;function Nr(Ir){return Ir.kind===240}e.isWhileStatement=Nr;function zr(Ir){return Ir.kind===241}e.isForStatement=zr;function gt(Ir){return Ir.kind===242}e.isForInStatement=gt;function vt(Ir){return Ir.kind===243}e.isForOfStatement=vt;function ut(Ir){return Ir.kind===244}e.isContinueStatement=ut;function ht(Ir){return Ir.kind===245}e.isBreakStatement=ht;function xt(Ir){return Ir.kind===246}e.isReturnStatement=xt;function wt(Ir){return Ir.kind===247}e.isWithStatement=wt;function Qt(Ir){return Ir.kind===248}e.isSwitchStatement=Qt;function mt(Ir){return Ir.kind===249}e.isLabeledStatement=mt;function rn(Ir){return Ir.kind===250}e.isThrowStatement=rn;function sa(Ir){return Ir.kind===251}e.isTryStatement=sa;function ba(Ir){return Ir.kind===252}e.isDebuggerStatement=ba;function Jn(Ir){return Ir.kind===253}e.isVariableDeclaration=Jn;function na(Ir){return Ir.kind===254}e.isVariableDeclarationList=na;function Wn(Ir){return Ir.kind===255}e.isFunctionDeclaration=Wn;function en(Ir){return Ir.kind===256}e.isClassDeclaration=en;function St(Ir){return Ir.kind===257}e.isInterfaceDeclaration=St;function Ut(Ir){return Ir.kind===258}e.isTypeAliasDeclaration=Ut;function qt(Ir){return Ir.kind===259}e.isEnumDeclaration=qt;function Mn(Ir){return Ir.kind===260}e.isModuleDeclaration=Mn;function dn(Ir){return Ir.kind===261}e.isModuleBlock=dn;function oa(Ir){return Ir.kind===262}e.isCaseBlock=oa;function pt(Ir){return Ir.kind===263}e.isNamespaceExportDeclaration=pt;function _t(Ir){return Ir.kind===264}e.isImportEqualsDeclaration=_t;function Mt(Ir){return Ir.kind===265}e.isImportDeclaration=Mt;function It(Ir){return Ir.kind===266}e.isImportClause=It;function rt(Ir){return Ir.kind===292}e.isAssertClause=rt;function Cn(Ir){return Ir.kind===293}e.isAssertEntry=Cn;function Qn(Ir){return Ir.kind===267}e.isNamespaceImport=Qn;function Ra(Ir){return Ir.kind===273}e.isNamespaceExport=Ra;function Ci(Ir){return Ir.kind===268}e.isNamedImports=Ci;function _i(Ir){return Ir.kind===269}e.isImportSpecifier=_i;function va(Ir){return Ir.kind===270}e.isExportAssignment=va;function yi(Ir){return Ir.kind===271}e.isExportDeclaration=yi;function ro(Ir){return Ir.kind===272}e.isNamedExports=ro;function Ka(Ir){return Ir.kind===274}e.isExportSpecifier=Ka;function Mi(Ir){return Ir.kind===275}e.isMissingDeclaration=Mi;function io(Ir){return Ir.kind===347}e.isNotEmittedStatement=io;function ji(Ir){return Ir.kind===352}e.isSyntheticReference=ji;function Hi(Ir){return Ir.kind===350}e.isMergeDeclarationMarker=Hi;function to(Ir){return Ir.kind===351}e.isEndOfDeclarationMarker=to;function No(Ir){return Ir.kind===276}e.isExternalModuleReference=No;function lo(Ir){return Ir.kind===277}e.isJsxElement=lo;function Lo(Ir){return Ir.kind===278}e.isJsxSelfClosingElement=Lo;function Ha(Ir){return Ir.kind===279}e.isJsxOpeningElement=Ha;function Yo(Ir){return Ir.kind===280}e.isJsxClosingElement=Yo;function co(Ir){return Ir.kind===281}e.isJsxFragment=co;function za(Ir){return Ir.kind===282}e.isJsxOpeningFragment=za;function hi(Ir){return Ir.kind===283}e.isJsxClosingFragment=hi;function Zi(Ir){return Ir.kind===284}e.isJsxAttribute=Zi;function Mo(Ir){return Ir.kind===285}e.isJsxAttributes=Mo;function Po(Ir){return Ir.kind===286}e.isJsxSpreadAttribute=Po;function Fo(Ir){return Ir.kind===287}e.isJsxExpression=Fo;function zo(Ir){return Ir.kind===288}e.isCaseClause=zo;function Es(Ir){return Ir.kind===289}e.isDefaultClause=Es;function Cs(Ir){return Ir.kind===290}e.isHeritageClause=Cs;function hr(Ir){return Ir.kind===291}e.isCatchClause=hr;function dt(Ir){return Ir.kind===294}e.isPropertyAssignment=dt;function tn(Ir){return Ir.kind===295}e.isShorthandPropertyAssignment=tn;function Un(Ir){return Ir.kind===296}e.isSpreadAssignment=Un;function Oe(Ir){return Ir.kind===297}e.isEnumMember=Oe;function oe(Ir){return Ir.kind===299}e.isUnparsedPrepend=oe;function mr(Ir){return Ir.kind===303}e.isSourceFile=mr;function se(Ir){return Ir.kind===304}e.isBundle=se;function Be(Ir){return Ir.kind===305}e.isUnparsedSource=Be;function er(Ir){return Ir.kind===307}e.isJSDocTypeExpression=er;function vr(Ir){return Ir.kind===308}e.isJSDocNameReference=vr;function qr(Ir){return Ir.kind===309}e.isJSDocMemberName=qr;function Dt(Ir){return Ir.kind===322}e.isJSDocLink=Dt;function Jt(Ir){return Ir.kind===323}e.isJSDocLinkCode=Jt;function Sn(Ir){return Ir.kind===324}e.isJSDocLinkPlain=Sn;function ta(Ir){return Ir.kind===310}e.isJSDocAllType=ta;function xa(Ir){return Ir.kind===311}e.isJSDocUnknownType=xa;function Di(Ir){return Ir.kind===312}e.isJSDocNullableType=Di;function $a(Ir){return Ir.kind===313}e.isJSDocNonNullableType=$a;function Ji(Ir){return Ir.kind===314}e.isJSDocOptionalType=Ji;function So(Ir){return Ir.kind===315}e.isJSDocFunctionType=So;function cs(Ir){return Ir.kind===316}e.isJSDocVariadicType=cs;function bt(Ir){return Ir.kind===317}e.isJSDocNamepathType=bt;function Pn(Ir){return Ir.kind===318}e.isJSDoc=Pn;function da(Ir){return Ir.kind===320}e.isJSDocTypeLiteral=da;function ei(Ir){return Ir.kind===321}e.isJSDocSignature=ei;function bi(Ir){return Ir.kind===326}e.isJSDocAugmentsTag=bi;function xi(Ir){return Ir.kind===328}e.isJSDocAuthorTag=xi;function ka(Ir){return Ir.kind===330}e.isJSDocClassTag=ka;function mi(Ir){return Ir.kind===336}e.isJSDocCallbackTag=mi;function Xi(Ir){return Ir.kind===331}e.isJSDocPublicTag=Xi;function Gi(Ir){return Ir.kind===332}e.isJSDocPrivateTag=Gi;function Ro(Ir){return Ir.kind===333}e.isJSDocProtectedTag=Ro;function ko(Ir){return Ir.kind===334}e.isJSDocReadonlyTag=ko;function es(Ir){return Ir.kind===335}e.isJSDocOverrideTag=es;function as(Ir){return Ir.kind===329}e.isJSDocDeprecatedTag=as;function pe(Ir){return Ir.kind===344}e.isJSDocSeeTag=pe;function Rr(Ir){return Ir.kind===337}e.isJSDocEnumTag=Rr;function ft(Ir){return Ir.kind===338}e.isJSDocParameterTag=ft;function Zt(Ir){return Ir.kind===339}e.isJSDocReturnTag=Zt;function Re(Ir){return Ir.kind===340}e.isJSDocThisTag=Re;function Qr(Ir){return Ir.kind===341}e.isJSDocTypeTag=Qr;function vn(Ir){return Ir.kind===342}e.isJSDocTemplateTag=vn;function Xn(Ir){return Ir.kind===343}e.isJSDocTypedefTag=Xn;function gi(Ir){return Ir.kind===325}e.isJSDocUnknownTag=gi;function Ia(Ir){return Ir.kind===345}e.isJSDocPropertyTag=Ia;function oo(Ir){return Ir.kind===327}e.isJSDocImplementsTag=oo;function Wo(Ir){return Ir.kind===346}e.isSyntaxList=Wo}(jr||(jr={})),function(e){function n(ur){return ur.createExportDeclaration(void 0,void 0,!1,ur.createNamedExports([]),void 0)}e.createEmptyExports=n;function f(ur,gr,de,Fe){if(e.isComputedPropertyName(de))return e.setTextRange(ur.createElementAccessExpression(gr,de.expression),Fe);var $e=e.setTextRange(e.isMemberName(de)?ur.createPropertyAccessExpression(gr,de):ur.createElementAccessExpression(gr,de),de);return e.getOrCreateEmitNode($e).flags|=64,$e}e.createMemberAccessForPropertyName=f;function p(ur,gr){var de=e.parseNodeFactory.createIdentifier(ur||\"React\");return e.setParent(de,e.getParseTreeNode(gr)),de}function a(ur,gr,de){if(e.isQualifiedName(gr)){var Fe=a(ur,gr.left,de),$e=ur.createIdentifier(e.idText(gr.right));return $e.escapedText=gr.right.escapedText,ur.createPropertyAccessExpression(Fe,$e)}else return p(e.idText(gr),de)}function d(ur,gr,de,Fe){return gr?a(ur,gr,Fe):ur.createPropertyAccessExpression(p(de,Fe),\"createElement\")}e.createJsxFactoryExpression=d;function k(ur,gr,de,Fe){return gr?a(ur,gr,Fe):ur.createPropertyAccessExpression(p(de,Fe),\"Fragment\")}function J(ur,gr,de,Fe,$e,Sr){var Pr=[de];if(Fe&&Pr.push(Fe),$e&&$e.length>0)if(Fe||Pr.push(ur.createNull()),$e.length>1)for(var He=0,pr=$e;He<pr.length;He++){var Jr=pr[He];y(Jr),Pr.push(Jr)}else Pr.push($e[0]);return e.setTextRange(ur.createCallExpression(gr,void 0,Pr),Sr)}e.createExpressionForJsxElement=J;function h(ur,gr,de,Fe,$e,Sr,Pr){var He=k(ur,de,Fe,Sr),pr=[He,ur.createNull()];if($e&&$e.length>0)if($e.length>1)for(var Jr=0,ze=$e;Jr<ze.length;Jr++){var Lr=ze[Jr];y(Lr),pr.push(Lr)}else pr.push($e[0]);return e.setTextRange(ur.createCallExpression(d(ur,gr,Fe,Sr),void 0,pr),Pr)}e.createExpressionForJsxFragment=h;function v(ur,gr,de){if(e.isVariableDeclarationList(gr)){var Fe=e.first(gr.declarations),$e=ur.updateVariableDeclaration(Fe,Fe.name,void 0,void 0,de);return e.setTextRange(ur.createVariableStatement(void 0,ur.updateVariableDeclarationList(gr,[$e])),gr)}else{var Sr=e.setTextRange(ur.createAssignment(gr,de),gr);return e.setTextRange(ur.createExpressionStatement(Sr),gr)}}e.createForOfBindingStatement=v;function A(ur,gr,de){return e.isBlock(gr)?ur.updateBlock(gr,e.setTextRange(ur.createNodeArray(Gt([de],gr.statements,!0)),gr.statements)):ur.createBlock(ur.createNodeArray([gr,de]),!0)}e.insertLeadingStatement=A;function z(ur,gr){if(e.isQualifiedName(gr)){var de=z(ur,gr.left),Fe=e.setParent(e.setTextRange(ur.cloneNode(gr.right),gr.right),gr.right.parent);return e.setTextRange(ur.createPropertyAccessExpression(de,Fe),gr)}else return e.setParent(e.setTextRange(ur.cloneNode(gr),gr),gr.parent)}e.createExpressionFromEntityName=z;function ie(ur,gr){return e.isIdentifier(gr)?ur.createStringLiteralFromNode(gr):e.isComputedPropertyName(gr)?e.setParent(e.setTextRange(ur.cloneNode(gr.expression),gr.expression),gr.expression.parent):e.setParent(e.setTextRange(ur.cloneNode(gr),gr),gr.parent)}e.createExpressionForPropertyName=ie;function b(ur,gr,de,Fe,$e){var Sr=e.getAllAccessorDeclarations(gr,de),Pr=Sr.firstAccessor,He=Sr.getAccessor,pr=Sr.setAccessor;if(de===Pr)return e.setTextRange(ur.createObjectDefinePropertyCall(Fe,ie(ur,de.name),ur.createPropertyDescriptor({enumerable:ur.createFalse(),configurable:!0,get:He&&e.setTextRange(e.setOriginalNode(ur.createFunctionExpression(He.modifiers,void 0,void 0,void 0,He.parameters,void 0,He.body),He),He),set:pr&&e.setTextRange(e.setOriginalNode(ur.createFunctionExpression(pr.modifiers,void 0,void 0,void 0,pr.parameters,void 0,pr.body),pr),pr)},!$e)),Pr)}function M(ur,gr,de){return e.setOriginalNode(e.setTextRange(ur.createAssignment(f(ur,de,gr.name,gr.name),gr.initializer),gr),gr)}function S(ur,gr,de){return e.setOriginalNode(e.setTextRange(ur.createAssignment(f(ur,de,gr.name,gr.name),ur.cloneNode(gr.name)),gr),gr)}function B(ur,gr,de){return e.setOriginalNode(e.setTextRange(ur.createAssignment(f(ur,de,gr.name,gr.name),e.setOriginalNode(e.setTextRange(ur.createFunctionExpression(gr.modifiers,gr.asteriskToken,void 0,void 0,gr.parameters,void 0,gr.body),gr),gr)),gr),gr)}function H(ur,gr,de,Fe){switch(de.name&&e.isPrivateIdentifier(de.name)&&e.Debug.failBadSyntaxKind(de.name,\"Private identifiers are not allowed in object literals.\"),de.kind){case 171:case 172:return b(ur,gr.properties,de,Fe,!!gr.multiLine);case 294:return M(ur,de,Fe);case 295:return S(ur,de,Fe);case 168:return B(ur,de,Fe)}}e.createExpressionForObjectLiteralElementLike=H;function I(ur,gr,de,Fe,$e){var Sr=gr.operator;e.Debug.assert(Sr===45||Sr===46,\"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression\");var Pr=ur.createTempVariable(Fe);de=ur.createAssignment(Pr,de),e.setTextRange(de,gr.operand);var He=e.isPrefixUnaryExpression(gr)?ur.createPrefixUnaryExpression(Sr,Pr):ur.createPostfixUnaryExpression(Pr,Sr);return e.setTextRange(He,gr),$e&&(He=ur.createAssignment($e,He),e.setTextRange(He,gr)),de=ur.createComma(de,He),e.setTextRange(de,gr),e.isPostfixUnaryExpression(gr)&&(de=ur.createComma(de,Pr),e.setTextRange(de,gr)),de}e.expandPreOrPostfixIncrementOrDecrementExpression=I;function w(ur){return(e.getEmitFlags(ur)&32768)!==0}e.isInternalName=w;function x(ur){return(e.getEmitFlags(ur)&16384)!==0}e.isLocalName=x;function O(ur){return(e.getEmitFlags(ur)&8192)!==0}e.isExportName=O;function q(ur){return e.isStringLiteral(ur.expression)&&ur.expression.text===\"use strict\"}function Z(ur){for(var gr=0,de=ur;gr<de.length;gr++){var Fe=de[gr];if(e.isPrologueDirective(Fe)){if(q(Fe))return Fe}else break}}e.findUseStrictPrologue=Z;function ne(ur){var gr=e.firstOrUndefined(ur);return gr!==void 0&&e.isPrologueDirective(gr)&&q(gr)}e.startsWithUseStrict=ne;function F(ur){return ur.kind===220&&ur.operatorToken.kind===27||ur.kind===349}e.isCommaSequence=F;function Q(ur){return e.isParenthesizedExpression(ur)&&e.isInJSFile(ur)&&!!e.getJSDocTypeTag(ur)}e.isJSDocTypeAssertion=Q;function V(ur){var gr=e.getJSDocType(ur);return e.Debug.assertIsDefined(gr),gr}e.getJSDocTypeAssertionType=V;function re(ur,gr){switch(gr===void 0&&(gr=15),ur.kind){case 211:return gr&16&&Q(ur)?!1:(gr&1)!==0;case 210:case 228:return(gr&2)!==0;case 229:return(gr&4)!==0;case 348:return(gr&8)!==0}return!1}e.isOuterExpression=re;function T(ur,gr){for(gr===void 0&&(gr=15);re(ur,gr);)ur=ur.expression;return ur}e.skipOuterExpressions=T;function N(ur){return T(ur,6)}e.skipAssertions=N;function y(ur){return e.setStartsOnNewLine(ur,!0)}e.startOnNewLine=y;function D(ur){var gr=e.getOriginalNode(ur,e.isSourceFile),de=gr&&gr.emitNode;return de&&de.externalHelpersModuleName}e.getExternalHelpersModuleName=D;function C(ur){var gr=e.getOriginalNode(ur,e.isSourceFile),de=gr&&gr.emitNode;return!!de&&(!!de.externalHelpersModuleName||!!de.externalHelpers)}e.hasRecordedExternalHelpers=C;function m(ur,gr,de,Fe,$e,Sr,Pr){if(Fe.importHelpers&&e.isEffectiveExternalModule(de,Fe)){var He=void 0,pr=e.getEmitModuleKind(Fe);if(pr>=e.ModuleKind.ES2015&&pr<=e.ModuleKind.ESNext||de.impliedNodeFormat===e.ModuleKind.ESNext){var Jr=e.getEmitHelpers(de);if(Jr){for(var ze=[],Lr=0,Yr=Jr;Lr<Yr.length;Lr++){var lt=Yr[Lr];if(!lt.scoped){var tt=lt.importName;tt&&e.pushIfUnique(ze,tt)}}if(e.some(ze)){ze.sort(e.compareStringsCaseSensitive),He=ur.createNamedImports(e.map(ze,function(zn){return e.isFileLevelUniqueName(de,zn)?ur.createImportSpecifier(!1,void 0,ur.createIdentifier(zn)):ur.createImportSpecifier(!1,ur.createIdentifier(zn),gr.getUnscopedHelperName(zn))}));var Rt=e.getOriginalNode(de,e.isSourceFile),cn=e.getOrCreateEmitNode(Rt);cn.externalHelpers=!0}}}else{var bn=u(ur,de,Fe,$e,Sr||Pr);bn&&(He=ur.createNamespaceImport(bn))}if(He){var In=ur.createImportDeclaration(void 0,void 0,ur.createImportClause(!1,void 0,He),ur.createStringLiteral(e.externalHelpersModuleNameText),void 0);return e.addEmitFlags(In,67108864),In}}}e.createExternalHelpersImportDeclarationIfNeeded=m;function u(ur,gr,de,Fe,$e){if(de.importHelpers&&e.isEffectiveExternalModule(gr,de)){var Sr=D(gr);if(Sr)return Sr;var Pr=e.getEmitModuleKind(de),He=(Fe||e.getESModuleInterop(de)&&$e)&&Pr!==e.ModuleKind.System&&(Pr<e.ModuleKind.ES2015||gr.impliedNodeFormat===e.ModuleKind.CommonJS);if(!He){var pr=e.getEmitHelpers(gr);if(pr)for(var Jr=0,ze=pr;Jr<ze.length;Jr++){var Lr=ze[Jr];if(!Lr.scoped){He=!0;break}}}if(He){var Yr=e.getOriginalNode(gr,e.isSourceFile),lt=e.getOrCreateEmitNode(Yr);return lt.externalHelpersModuleName||(lt.externalHelpersModuleName=ur.createUniqueName(e.externalHelpersModuleNameText))}}}e.getOrCreateExternalHelpersModuleNameIfNeeded=u;function g(ur,gr,de){var Fe=e.getNamespaceDeclarationNode(gr);if(Fe&&!e.isDefaultImport(gr)&&!e.isExportNamespaceAsDefaultDeclaration(gr)){var $e=Fe.name;return e.isGeneratedIdentifier($e)?$e:ur.createIdentifier(e.getSourceTextOfNodeFromSourceFile(de,$e)||e.idText($e))}if(gr.kind===265&&gr.importClause||gr.kind===271&&gr.moduleSpecifier)return ur.getGeneratedNameForNode(gr)}e.getLocalNameForExternalImport=g;function P(ur,gr,de,Fe,$e,Sr){var Pr=e.getExternalModuleName(gr);if(Pr&&e.isStringLiteral(Pr))return X(gr,Fe,ur,$e,Sr)||te(ur,Pr,de)||ur.cloneNode(Pr)}e.getExternalModuleNameLiteral=P;function te(ur,gr,de){var Fe=de.renamedDependencies&&de.renamedDependencies.get(gr.text);return Fe?ur.createStringLiteral(Fe):void 0}function ue(ur,gr,de,Fe){if(!!gr){if(gr.moduleName)return ur.createStringLiteral(gr.moduleName);if(!gr.isDeclarationFile&&e.outFile(Fe))return ur.createStringLiteral(e.getExternalModuleNameFromPath(de,gr.fileName))}}e.tryGetModuleNameFromFile=ue;function X(ur,gr,de,Fe,$e){return ue(de,Fe.getExternalModuleFileFromDeclaration(ur),gr,$e)}function j(ur){if(e.isDeclarationBindingElement(ur))return ur.initializer;if(e.isPropertyAssignment(ur)){var gr=ur.initializer;return e.isAssignmentExpression(gr,!0)?gr.right:void 0}if(e.isShorthandPropertyAssignment(ur))return ur.objectAssignmentInitializer;if(e.isAssignmentExpression(ur,!0))return ur.right;if(e.isSpreadElement(ur))return j(ur.expression)}e.getInitializerOfBindingOrAssignmentElement=j;function Se(ur){if(e.isDeclarationBindingElement(ur))return ur.name;if(e.isObjectLiteralElementLike(ur)){switch(ur.kind){case 294:return Se(ur.initializer);case 295:return ur.name;case 296:return Se(ur.expression)}return}return e.isAssignmentExpression(ur,!0)?Se(ur.left):e.isSpreadElement(ur)?Se(ur.expression):ur}e.getTargetOfBindingOrAssignmentElement=Se;function Ce(ur){switch(ur.kind){case 163:case 202:return ur.dotDotDotToken;case 224:case 296:return ur}}e.getRestIndicatorOfBindingOrAssignmentElement=Ce;function R(ur){var gr=Y(ur);return e.Debug.assert(!!gr||e.isSpreadAssignment(ur),\"Invalid property name for binding element.\"),gr}e.getPropertyNameOfBindingOrAssignmentElement=R;function Y(ur){switch(ur.kind){case 202:if(ur.propertyName){var gr=ur.propertyName;return e.isPrivateIdentifier(gr)?e.Debug.failBadSyntaxKind(gr):e.isComputedPropertyName(gr)&&U(gr.expression)?gr.expression:gr}break;case 294:if(ur.name){var gr=ur.name;return e.isPrivateIdentifier(gr)?e.Debug.failBadSyntaxKind(gr):e.isComputedPropertyName(gr)&&U(gr.expression)?gr.expression:gr}break;case 296:return ur.name&&e.isPrivateIdentifier(ur.name)?e.Debug.failBadSyntaxKind(ur.name):ur.name}var de=Se(ur);if(de&&e.isPropertyName(de))return de}e.tryGetPropertyNameOfBindingOrAssignmentElement=Y;function U(ur){var gr=ur.kind;return gr===10||gr===8}function K(ur){switch(ur.kind){case 200:case 201:case 203:return ur.elements;case 204:return ur.properties}}e.getElementsOfBindingOrAssignmentPattern=K;function Te(ur){if(ur)for(var gr=ur;;){if(e.isIdentifier(gr)||!gr.body)return e.isIdentifier(gr)?gr:gr.name;gr=gr.body}}e.getJSDocTypeAliasName=Te;function ge(ur){var gr=ur.kind;return gr===163||gr===165||gr===166||gr===167||gr===168||gr===170||gr===171||gr===172||gr===175||gr===212||gr===213||gr===225||gr===236||gr===255||gr===256||gr===257||gr===258||gr===259||gr===260||gr===264||gr===265||gr===270||gr===271}e.canHaveModifiers=ge,e.isTypeNodeOrTypeParameterDeclaration=e.or(e.isTypeNode,e.isTypeParameterDeclaration),e.isQuestionOrExclamationToken=e.or(e.isQuestionToken,e.isExclamationToken),e.isIdentifierOrThisTypeNode=e.or(e.isIdentifier,e.isThisTypeNode),e.isReadonlyKeywordOrPlusOrMinusToken=e.or(e.isReadonlyKeyword,e.isPlusToken,e.isMinusToken),e.isQuestionOrPlusOrMinusToken=e.or(e.isQuestionToken,e.isPlusToken,e.isMinusToken),e.isModuleName=e.or(e.isIdentifier,e.isStringLiteral);function ke(ur){var gr=ur.kind;return gr===104||gr===110||gr===95||e.isLiteralExpression(ur)||e.isPrefixUnaryExpression(ur)}e.isLiteralTypeLikeExpression=ke;function Pe(ur){return ur===42}function Ie(ur){return ur===41||ur===43||ur===44}function Ge(ur){return Pe(ur)||Ie(ur)}function he(ur){return ur===39||ur===40}function ve(ur){return he(ur)||Ge(ur)}function Ve(ur){return ur===47||ur===48||ur===49}function _e(ur){return Ve(ur)||ve(ur)}function Le(ur){return ur===29||ur===32||ur===31||ur===33||ur===102||ur===101}function qe(ur){return Le(ur)||_e(ur)}function Xe(ur){return ur===34||ur===36||ur===35||ur===37}function De(ur){return Xe(ur)||qe(ur)}function Ae(ur){return ur===50||ur===51||ur===52}function Ye(ur){return Ae(ur)||De(ur)}function Dr(ur){return ur===55||ur===56}function br(ur){return Dr(ur)||Ye(ur)}function lr(ur){return ur===60||br(ur)||e.isAssignmentOperator(ur)}function Ar(ur){return lr(ur)||ur===27}function kr(ur){return Ar(ur.kind)}e.isBinaryOperatorToken=kr;var Ke;(function(ur){function gr(ze,Lr,Yr,lt,tt,Rt,cn){var bn=Lr>0?tt[Lr-1]:void 0;return e.Debug.assertEqual(Yr[Lr],gr),tt[Lr]=ze.onEnter(lt[Lr],bn,cn),Yr[Lr]=He(ze,gr),Lr}ur.enter=gr;function de(ze,Lr,Yr,lt,tt,Rt,cn){e.Debug.assertEqual(Yr[Lr],de),e.Debug.assertIsDefined(ze.onLeft),Yr[Lr]=He(ze,de);var bn=ze.onLeft(lt[Lr].left,tt[Lr],lt[Lr]);return bn?(Jr(Lr,lt,bn),pr(Lr,Yr,lt,tt,bn)):Lr}ur.left=de;function Fe(ze,Lr,Yr,lt,tt,Rt,cn){return e.Debug.assertEqual(Yr[Lr],Fe),e.Debug.assertIsDefined(ze.onOperator),Yr[Lr]=He(ze,Fe),ze.onOperator(lt[Lr].operatorToken,tt[Lr],lt[Lr]),Lr}ur.operator=Fe;function $e(ze,Lr,Yr,lt,tt,Rt,cn){e.Debug.assertEqual(Yr[Lr],$e),e.Debug.assertIsDefined(ze.onRight),Yr[Lr]=He(ze,$e);var bn=ze.onRight(lt[Lr].right,tt[Lr],lt[Lr]);return bn?(Jr(Lr,lt,bn),pr(Lr,Yr,lt,tt,bn)):Lr}ur.right=$e;function Sr(ze,Lr,Yr,lt,tt,Rt,cn){e.Debug.assertEqual(Yr[Lr],Sr),Yr[Lr]=He(ze,Sr);var bn=ze.onExit(lt[Lr],tt[Lr]);if(Lr>0){if(Lr--,ze.foldState){var In=Yr[Lr]===Sr?\"right\":\"left\";tt[Lr]=ze.foldState(tt[Lr],bn,In)}}else Rt.value=bn;return Lr}ur.exit=Sr;function Pr(ze,Lr,Yr,lt,tt,Rt,cn){return e.Debug.assertEqual(Yr[Lr],Pr),Lr}ur.done=Pr;function He(ze,Lr){switch(Lr){case gr:if(ze.onLeft)return de;case de:if(ze.onOperator)return Fe;case Fe:if(ze.onRight)return $e;case $e:return Sr;case Sr:return Pr;case Pr:return Pr;default:e.Debug.fail(\"Invalid state\")}}ur.nextState=He;function pr(ze,Lr,Yr,lt,tt){return ze++,Lr[ze]=gr,Yr[ze]=tt,lt[ze]=void 0,ze}function Jr(ze,Lr,Yr){if(e.Debug.shouldAssert(2))for(;ze>=0;)e.Debug.assert(Lr[ze]!==Yr,\"Circular traversal detected.\"),ze--}})(Ke||(Ke={}));var Me=function(){function ur(gr,de,Fe,$e,Sr,Pr){this.onEnter=gr,this.onLeft=de,this.onOperator=Fe,this.onRight=$e,this.onExit=Sr,this.foldState=Pr}return ur}();function Hr(ur,gr,de,Fe,$e,Sr){var Pr=new Me(ur,gr,de,Fe,$e,Sr);return He;function He(pr,Jr){for(var ze={value:void 0},Lr=[Ke.enter],Yr=[pr],lt=[void 0],tt=0;Lr[tt]!==Ke.done;)tt=Lr[tt](Pr,tt,Lr,Yr,lt,ze,Jr);return e.Debug.assertEqual(tt,0),ze.value}}e.createBinaryExpressionTrampoline=Hr}(jr||(jr={})),function(e){function n(f,p){return p?e.setTextRangePosEnd(f,p.pos,p.end):f}e.setTextRange=n}(jr||(jr={})),function(e){var n;(function(m){m[m.None=0]=\"None\",m[m.Yield=1]=\"Yield\",m[m.Await=2]=\"Await\",m[m.Type=4]=\"Type\",m[m.IgnoreMissingOpenBrace=16]=\"IgnoreMissingOpenBrace\",m[m.JSDoc=32]=\"JSDoc\"})(n||(n={}));var f;(function(m){m[m.TryParse=0]=\"TryParse\",m[m.Lookahead=1]=\"Lookahead\",m[m.Reparse=2]=\"Reparse\"})(f||(f={}));var p,a,d,k,J;e.parseBaseNodeFactory={createBaseSourceFileNode:function(m){return new(J||(J=e.objectAllocator.getSourceFileConstructor()))(m,-1,-1)},createBaseIdentifierNode:function(m){return new(d||(d=e.objectAllocator.getIdentifierConstructor()))(m,-1,-1)},createBasePrivateIdentifierNode:function(m){return new(k||(k=e.objectAllocator.getPrivateIdentifierConstructor()))(m,-1,-1)},createBaseTokenNode:function(m){return new(a||(a=e.objectAllocator.getTokenConstructor()))(m,-1,-1)},createBaseNode:function(m){return new(p||(p=e.objectAllocator.getNodeConstructor()))(m,-1,-1)}},e.parseNodeFactory=e.createNodeFactory(1,e.parseBaseNodeFactory);function h(m,u){return u&&m(u)}function v(m,u,g){if(g){if(u)return u(g);for(var P=0,te=g;P<te.length;P++){var ue=te[P],X=m(ue);if(X)return X}}}function A(m,u){return m.charCodeAt(u+1)===42&&m.charCodeAt(u+2)===42&&m.charCodeAt(u+3)!==47}e.isJSDocLikeText=A;function z(m,u,g){if(!(!m||m.kind<=159))switch(m.kind){case 160:return h(u,m.left)||h(u,m.right);case 162:return h(u,m.name)||h(u,m.constraint)||h(u,m.default)||h(u,m.expression);case 295:return v(u,g,m.decorators)||v(u,g,m.modifiers)||h(u,m.name)||h(u,m.questionToken)||h(u,m.exclamationToken)||h(u,m.equalsToken)||h(u,m.objectAssignmentInitializer);case 296:return h(u,m.expression);case 163:return v(u,g,m.decorators)||v(u,g,m.modifiers)||h(u,m.dotDotDotToken)||h(u,m.name)||h(u,m.questionToken)||h(u,m.type)||h(u,m.initializer);case 166:return v(u,g,m.decorators)||v(u,g,m.modifiers)||h(u,m.name)||h(u,m.questionToken)||h(u,m.exclamationToken)||h(u,m.type)||h(u,m.initializer);case 165:return v(u,g,m.decorators)||v(u,g,m.modifiers)||h(u,m.name)||h(u,m.questionToken)||h(u,m.type)||h(u,m.initializer);case 294:return v(u,g,m.decorators)||v(u,g,m.modifiers)||h(u,m.name)||h(u,m.questionToken)||h(u,m.initializer);case 253:return v(u,g,m.decorators)||v(u,g,m.modifiers)||h(u,m.name)||h(u,m.exclamationToken)||h(u,m.type)||h(u,m.initializer);case 202:return v(u,g,m.decorators)||v(u,g,m.modifiers)||h(u,m.dotDotDotToken)||h(u,m.propertyName)||h(u,m.name)||h(u,m.initializer);case 178:case 179:case 173:case 174:case 175:return v(u,g,m.decorators)||v(u,g,m.modifiers)||v(u,g,m.typeParameters)||v(u,g,m.parameters)||h(u,m.type);case 168:case 167:case 170:case 171:case 172:case 212:case 255:case 213:return v(u,g,m.decorators)||v(u,g,m.modifiers)||h(u,m.asteriskToken)||h(u,m.name)||h(u,m.questionToken)||h(u,m.exclamationToken)||v(u,g,m.typeParameters)||v(u,g,m.parameters)||h(u,m.type)||h(u,m.equalsGreaterThanToken)||h(u,m.body);case 169:return v(u,g,m.decorators)||v(u,g,m.modifiers)||h(u,m.body);case 177:return h(u,m.typeName)||v(u,g,m.typeArguments);case 176:return h(u,m.assertsModifier)||h(u,m.parameterName)||h(u,m.type);case 180:return h(u,m.exprName);case 181:return v(u,g,m.members);case 182:return h(u,m.elementType);case 183:return v(u,g,m.elements);case 186:case 187:return v(u,g,m.types);case 188:return h(u,m.checkType)||h(u,m.extendsType)||h(u,m.trueType)||h(u,m.falseType);case 189:return h(u,m.typeParameter);case 199:return h(u,m.argument)||h(u,m.qualifier)||v(u,g,m.typeArguments);case 190:case 192:return h(u,m.type);case 193:return h(u,m.objectType)||h(u,m.indexType);case 194:return h(u,m.readonlyToken)||h(u,m.typeParameter)||h(u,m.nameType)||h(u,m.questionToken)||h(u,m.type)||v(u,g,m.members);case 195:return h(u,m.literal);case 196:return h(u,m.dotDotDotToken)||h(u,m.name)||h(u,m.questionToken)||h(u,m.type);case 200:case 201:return v(u,g,m.elements);case 203:return v(u,g,m.elements);case 204:return v(u,g,m.properties);case 205:return h(u,m.expression)||h(u,m.questionDotToken)||h(u,m.name);case 206:return h(u,m.expression)||h(u,m.questionDotToken)||h(u,m.argumentExpression);case 207:case 208:return h(u,m.expression)||h(u,m.questionDotToken)||v(u,g,m.typeArguments)||v(u,g,m.arguments);case 209:return h(u,m.tag)||h(u,m.questionDotToken)||v(u,g,m.typeArguments)||h(u,m.template);case 210:return h(u,m.type)||h(u,m.expression);case 211:return h(u,m.expression);case 214:return h(u,m.expression);case 215:return h(u,m.expression);case 216:return h(u,m.expression);case 218:return h(u,m.operand);case 223:return h(u,m.asteriskToken)||h(u,m.expression);case 217:return h(u,m.expression);case 219:return h(u,m.operand);case 220:return h(u,m.left)||h(u,m.operatorToken)||h(u,m.right);case 228:return h(u,m.expression)||h(u,m.type);case 229:return h(u,m.expression);case 230:return h(u,m.name);case 221:return h(u,m.condition)||h(u,m.questionToken)||h(u,m.whenTrue)||h(u,m.colonToken)||h(u,m.whenFalse);case 224:return h(u,m.expression);case 234:case 261:return v(u,g,m.statements);case 303:return v(u,g,m.statements)||h(u,m.endOfFileToken);case 236:return v(u,g,m.decorators)||v(u,g,m.modifiers)||h(u,m.declarationList);case 254:return v(u,g,m.declarations);case 237:return h(u,m.expression);case 238:return h(u,m.expression)||h(u,m.thenStatement)||h(u,m.elseStatement);case 239:return h(u,m.statement)||h(u,m.expression);case 240:return h(u,m.expression)||h(u,m.statement);case 241:return h(u,m.initializer)||h(u,m.condition)||h(u,m.incrementor)||h(u,m.statement);case 242:return h(u,m.initializer)||h(u,m.expression)||h(u,m.statement);case 243:return h(u,m.awaitModifier)||h(u,m.initializer)||h(u,m.expression)||h(u,m.statement);case 244:case 245:return h(u,m.label);case 246:return h(u,m.expression);case 247:return h(u,m.expression)||h(u,m.statement);case 248:return h(u,m.expression)||h(u,m.caseBlock);case 262:return v(u,g,m.clauses);case 288:return h(u,m.expression)||v(u,g,m.statements);case 289:return v(u,g,m.statements);case 249:return h(u,m.label)||h(u,m.statement);case 250:return h(u,m.expression);case 251:return h(u,m.tryBlock)||h(u,m.catchClause)||h(u,m.finallyBlock);case 291:return h(u,m.variableDeclaration)||h(u,m.block);case 164:return h(u,m.expression);case 256:case 225:return v(u,g,m.decorators)||v(u,g,m.modifiers)||h(u,m.name)||v(u,g,m.typeParameters)||v(u,g,m.heritageClauses)||v(u,g,m.members);case 257:return v(u,g,m.decorators)||v(u,g,m.modifiers)||h(u,m.name)||v(u,g,m.typeParameters)||v(u,g,m.heritageClauses)||v(u,g,m.members);case 258:return v(u,g,m.decorators)||v(u,g,m.modifiers)||h(u,m.name)||v(u,g,m.typeParameters)||h(u,m.type);case 259:return v(u,g,m.decorators)||v(u,g,m.modifiers)||h(u,m.name)||v(u,g,m.members);case 297:return h(u,m.name)||h(u,m.initializer);case 260:return v(u,g,m.decorators)||v(u,g,m.modifiers)||h(u,m.name)||h(u,m.body);case 264:return v(u,g,m.decorators)||v(u,g,m.modifiers)||h(u,m.name)||h(u,m.moduleReference);case 265:return v(u,g,m.decorators)||v(u,g,m.modifiers)||h(u,m.importClause)||h(u,m.moduleSpecifier)||h(u,m.assertClause);case 266:return h(u,m.name)||h(u,m.namedBindings);case 292:return v(u,g,m.elements);case 293:return h(u,m.name)||h(u,m.value);case 263:return h(u,m.name);case 267:return h(u,m.name);case 273:return h(u,m.name);case 268:case 272:return v(u,g,m.elements);case 271:return v(u,g,m.decorators)||v(u,g,m.modifiers)||h(u,m.exportClause)||h(u,m.moduleSpecifier)||h(u,m.assertClause);case 269:case 274:return h(u,m.propertyName)||h(u,m.name);case 270:return v(u,g,m.decorators)||v(u,g,m.modifiers)||h(u,m.expression);case 222:return h(u,m.head)||v(u,g,m.templateSpans);case 232:return h(u,m.expression)||h(u,m.literal);case 197:return h(u,m.head)||v(u,g,m.templateSpans);case 198:return h(u,m.type)||h(u,m.literal);case 161:return h(u,m.expression);case 290:return v(u,g,m.types);case 227:return h(u,m.expression)||v(u,g,m.typeArguments);case 276:return h(u,m.expression);case 275:return v(u,g,m.decorators);case 349:return v(u,g,m.elements);case 277:return h(u,m.openingElement)||v(u,g,m.children)||h(u,m.closingElement);case 281:return h(u,m.openingFragment)||v(u,g,m.children)||h(u,m.closingFragment);case 278:case 279:return h(u,m.tagName)||v(u,g,m.typeArguments)||h(u,m.attributes);case 285:return v(u,g,m.properties);case 284:return h(u,m.name)||h(u,m.initializer);case 286:return h(u,m.expression);case 287:return h(u,m.dotDotDotToken)||h(u,m.expression);case 280:return h(u,m.tagName);case 184:case 185:case 307:case 313:case 312:case 314:case 316:return h(u,m.type);case 315:return v(u,g,m.parameters)||h(u,m.type);case 318:return(typeof m.comment==\"string\"?void 0:v(u,g,m.comment))||v(u,g,m.tags);case 344:return h(u,m.tagName)||h(u,m.name)||(typeof m.comment==\"string\"?void 0:v(u,g,m.comment));case 308:return h(u,m.name);case 309:return h(u,m.left)||h(u,m.right);case 338:case 345:return h(u,m.tagName)||(m.isNameFirst?h(u,m.name)||h(u,m.typeExpression)||(typeof m.comment==\"string\"?void 0:v(u,g,m.comment)):h(u,m.typeExpression)||h(u,m.name)||(typeof m.comment==\"string\"?void 0:v(u,g,m.comment)));case 328:return h(u,m.tagName)||(typeof m.comment==\"string\"?void 0:v(u,g,m.comment));case 327:return h(u,m.tagName)||h(u,m.class)||(typeof m.comment==\"string\"?void 0:v(u,g,m.comment));case 326:return h(u,m.tagName)||h(u,m.class)||(typeof m.comment==\"string\"?void 0:v(u,g,m.comment));case 342:return h(u,m.tagName)||h(u,m.constraint)||v(u,g,m.typeParameters)||(typeof m.comment==\"string\"?void 0:v(u,g,m.comment));case 343:return h(u,m.tagName)||(m.typeExpression&&m.typeExpression.kind===307?h(u,m.typeExpression)||h(u,m.fullName)||(typeof m.comment==\"string\"?void 0:v(u,g,m.comment)):h(u,m.fullName)||h(u,m.typeExpression)||(typeof m.comment==\"string\"?void 0:v(u,g,m.comment)));case 336:return h(u,m.tagName)||h(u,m.fullName)||h(u,m.typeExpression)||(typeof m.comment==\"string\"?void 0:v(u,g,m.comment));case 339:case 341:case 340:case 337:return h(u,m.tagName)||h(u,m.typeExpression)||(typeof m.comment==\"string\"?void 0:v(u,g,m.comment));case 321:return e.forEach(m.typeParameters,u)||e.forEach(m.parameters,u)||h(u,m.type);case 322:case 323:case 324:return h(u,m.name);case 320:return e.forEach(m.jsDocPropertyTags,u);case 325:case 330:case 331:case 332:case 333:case 334:case 329:return h(u,m.tagName)||(typeof m.comment==\"string\"?void 0:v(u,g,m.comment));case 348:return h(u,m.expression)}}e.forEachChild=z;function ie(m,u,g){for(var P=b(m),te=[];te.length<P.length;)te.push(m);for(;P.length!==0;){var ue=P.pop(),X=te.pop();if(e.isArray(ue)){if(g){var j=g(ue,X);if(j){if(j===\"skip\")continue;return j}}for(var Se=ue.length-1;Se>=0;--Se)P.push(ue[Se]),te.push(X)}else{var j=u(ue,X);if(j){if(j===\"skip\")continue;return j}if(ue.kind>=160)for(var Ce=0,R=b(ue);Ce<R.length;Ce++){var Y=R[Ce];P.push(Y),te.push(ue)}}}}e.forEachChildRecursively=ie;function b(m){var u=[];return z(m,g,g),u;function g(P){u.unshift(P)}}function M(m,u,g,P,te){P===void 0&&(P=!1),e.tracing===null||e.tracing===void 0||e.tracing.push(\"parse\",\"createSourceFile\",{path:m},!0),e.performance.mark(\"beforeParse\");var ue;return e.perfLogger.logStartParseSourceFile(m),g===100?ue=O.parseSourceFile(m,u,g,void 0,P,6):ue=O.parseSourceFile(m,u,g,void 0,P,te),e.perfLogger.logStopParseSourceFile(),e.performance.mark(\"afterParse\"),e.performance.measure(\"Parse\",\"beforeParse\",\"afterParse\"),e.tracing===null||e.tracing===void 0||e.tracing.pop(),ue}e.createSourceFile=M;function S(m,u){return O.parseIsolatedEntityName(m,u)}e.parseIsolatedEntityName=S;function B(m,u){return O.parseJsonText(m,u)}e.parseJsonText=B;function H(m){return m.externalModuleIndicator!==void 0}e.isExternalModule=H;function I(m,u,g,P){P===void 0&&(P=!1);var te=q.updateSourceFile(m,u,g,P);return te.flags|=m.flags&3145728,te}e.updateSourceFile=I;function w(m,u,g){var P=O.JSDocParser.parseIsolatedJSDocComment(m,u,g);return P&&P.jsDoc&&O.fixupParentReferences(P.jsDoc),P}e.parseIsolatedJSDocComment=w;function x(m,u,g){return O.JSDocParser.parseJSDocTypeExpressionForTests(m,u,g)}e.parseJSDocTypeExpressionForTests=x;var O;(function(m){var u=e.createScanner(99,!0),g=20480,P,te,ue,X,j;function Se(xe){return ve++,xe}var Ce={createBaseSourceFileNode:function(xe){return Se(new j(xe,0,0))},createBaseIdentifierNode:function(xe){return Se(new ue(xe,0,0))},createBasePrivateIdentifierNode:function(xe){return Se(new X(xe,0,0))},createBaseTokenNode:function(xe){return Se(new te(xe,0,0))},createBaseNode:function(xe){return Se(new P(xe,0,0))}},R=e.createNodeFactory(11,Ce),Y,U,K,Te,ge,ke,Pe,Ie,Ge,he,ve,Ve,_e,Le,qe,Xe,De,Ae=!0,Ye=!1;function Dr(xe,Er,Fr,at,Ct,Xt){var On;if(Ct===void 0&&(Ct=!1),Xt=e.ensureScriptKind(xe,Xt),Xt===6){var $n=lr(xe,Er,Fr,at,Ct);return e.convertToObjectWorker($n,(On=$n.statements[0])===null||On===void 0?void 0:On.expression,$n.parseDiagnostics,!1,void 0,void 0),$n.referencedFiles=e.emptyArray,$n.typeReferenceDirectives=e.emptyArray,$n.libReferenceDirectives=e.emptyArray,$n.amdDependencies=e.emptyArray,$n.hasNoDefaultLib=!1,$n.pragmas=e.emptyMap,$n}Ar(xe,Er,Fr,at,Xt);var wa=Ke(Fr,Ct,Xt);return kr(),wa}m.parseSourceFile=Dr;function br(xe,Er){Ar(\"\",xe,Er,void 0,1),fr();var Fr=Pn(!0),at=me()===1&&!Pe.length;return kr(),at?Fr:void 0}m.parseIsolatedEntityName=br;function lr(xe,Er,Fr,at,Ct){Fr===void 0&&(Fr=2),Ct===void 0&&(Ct=!1),Ar(xe,Er,Fr,at,6),U=De,fr();var Xt=$(),On,$n;if(me()===1)On=It([],Xt,Xt),$n=dn();else{for(var wa=void 0;me()!==1;){var Ea=void 0;switch(me()){case 22:Ea=od();break;case 110:case 95:case 104:Ea=dn();break;case 40:ht(function(){return fr()===8&&fr()!==58})?Ea=Ep():Ea=us();break;case 8:case 10:if(ht(function(){return fr()!==58})){Ea=ko();break}default:Ea=us();break}wa&&e.isArray(wa)?wa.push(Ea):wa?wa=[wa,Ea]:(wa=Ea,me()!==1&&or(e.Diagnostics.Unexpected_token))}var Ki=e.isArray(wa)?rt(R.createArrayLiteralExpression(wa),Xt):e.Debug.checkDefined(wa),Qo=R.createExpressionStatement(Ki);rt(Qo,Xt),On=It([Qo],Xt),$n=qt(1,e.Diagnostics.Unexpected_token)}var $i=Fe(xe,2,6,!1,On,$n,U);Ct&&de($i),$i.nodeCount=ve,$i.identifierCount=Le,$i.identifiers=Ve,$i.parseDiagnostics=e.attachFileToDiagnostics(Pe,$i),Ie&&($i.jsDocDiagnostics=e.attachFileToDiagnostics(Ie,$i));var Ho=$i;return kr(),Ho}m.parseJsonText=lr;function Ar(xe,Er,Fr,at,Ct){switch(P=e.objectAllocator.getNodeConstructor(),te=e.objectAllocator.getTokenConstructor(),ue=e.objectAllocator.getIdentifierConstructor(),X=e.objectAllocator.getPrivateIdentifierConstructor(),j=e.objectAllocator.getSourceFileConstructor(),Y=e.normalizePath(xe),K=Er,Te=Fr,Ge=at,ge=Ct,ke=e.getLanguageVariant(Ct),Pe=[],qe=0,Ve=new e.Map,_e=new e.Map,Le=0,ve=0,U=0,Ae=!0,ge){case 1:case 2:De=131072;break;case 6:De=33685504;break;default:De=0;break}Ye=!1,u.setText(K),u.setOnError(We),u.setScriptTarget(Te),u.setLanguageVariant(ke)}function kr(){u.clearCommentDirectives(),u.setText(\"\"),u.setOnError(void 0),K=void 0,Te=void 0,Ge=void 0,ge=void 0,ke=void 0,U=0,Pe=void 0,Ie=void 0,qe=0,Ve=void 0,Xe=void 0,Ae=!0}function Ke(xe,Er,Fr){var at=Z(Y);at&&(De|=8388608),U=De,fr();var Ct=Un(0,Ga);e.Debug.assert(me()===1);var Xt=ur(dn()),On=Fe(Y,xe,Fr,at,Ct,Xt,U);return ne(On,K),F(On,$n),On.commentDirectives=u.getCommentDirectives(),On.nodeCount=ve,On.identifierCount=Le,On.identifiers=Ve,On.parseDiagnostics=e.attachFileToDiagnostics(Pe,On),Ie&&(On.jsDocDiagnostics=e.attachFileToDiagnostics(Ie,On)),Er&&de(On),On;function $n(wa,Ea,Ki){Pe.push(e.createDetachedDiagnostic(Y,wa,Ea,Ki))}}function Me(xe,Er){return Er?ur(xe):xe}var Hr=!1;function ur(xe){e.Debug.assert(!xe.jsDoc);var Er=e.mapDefined(e.getJSDocCommentRanges(xe,K),function(Fr){return a_.parseJSDocComment(xe,Fr.pos,Fr.end-Fr.pos)});return Er.length&&(xe.jsDoc=Er),Hr&&(Hr=!1,xe.flags|=134217728),xe}function gr(xe){var Er=Ge,Fr=q.createSyntaxCursor(xe);Ge={currentNode:Ho};var at=[],Ct=Pe;Pe=[];for(var Xt=0,On=Qo(xe.statements,0),$n=function(){var gs=xe.statements[Xt],_l=xe.statements[On];e.addRange(at,xe.statements,Xt,On),Xt=$i(xe.statements,On);var xs=e.findIndex(Ct,function(bl){return bl.start>=gs.pos}),Cl=xs>=0?e.findIndex(Ct,function(bl){return bl.start>=_l.pos},xs):-1;xs>=0&&e.addRange(Pe,Ct,xs,Cl>=0?Cl:void 0),ut(function(){var bl=De;for(De|=32768,u.setTextPos(_l.pos),fr();me()!==1;){var ju=u.getStartPos(),ul=Oe(0,Ga);if(at.push(ul),ju===u.getStartPos()&&fr(),Xt>=0){var Ms=xe.statements[Xt];if(ul.end===Ms.pos)break;ul.end>Ms.pos&&(Xt=$i(xe.statements,Xt+1))}}De=bl},2),On=Xt>=0?Qo(xe.statements,Xt):-1};On!==-1;)$n();if(Xt>=0){var wa=xe.statements[Xt];e.addRange(at,xe.statements,Xt);var Ea=e.findIndex(Ct,function(gs){return gs.start>=wa.pos});Ea>=0&&e.addRange(Pe,Ct,Ea)}return Ge=Er,R.updateSourceFile(xe,e.setTextRange(R.createNodeArray(at),xe.statements));function Ki(gs){return!(gs.flags&32768)&&!!(gs.transformFlags&16777216)}function Qo(gs,_l){for(var xs=_l;xs<gs.length;xs++)if(Ki(gs[xs]))return xs;return-1}function $i(gs,_l){for(var xs=_l;xs<gs.length;xs++)if(!Ki(gs[xs]))return xs;return-1}function Ho(gs){var _l=Fr.currentNode(gs);return Ae&&_l&&Ki(_l)&&(_l.intersectsChange=!0),_l}}function de(xe){e.setParentRecursive(xe,!0)}m.fixupParentReferences=de;function Fe(xe,Er,Fr,at,Ct,Xt,On){var $n=R.createSourceFile(Ct,Xt,On);return e.setTextRangePosWidth($n,0,K.length),md($n),!at&&H($n)&&$n.transformFlags&16777216&&($n=gr($n)),$n.text=K,$n.bindDiagnostics=[],$n.bindSuggestionDiagnostics=void 0,$n.languageVersion=Er,$n.fileName=xe,$n.languageVariant=e.getLanguageVariant(Fr),$n.isDeclarationFile=at,$n.scriptKind=Fr,$n}function $e(xe,Er){xe?De|=Er:De&=~Er}function Sr(xe){$e(xe,4096)}function Pr(xe){$e(xe,8192)}function He(xe){$e(xe,16384)}function pr(xe){$e(xe,32768)}function Jr(xe,Er){var Fr=xe&De;if(Fr){$e(!1,Fr);var at=Er();return $e(!0,Fr),at}return Er()}function ze(xe,Er){var Fr=xe&~De;if(Fr){$e(!0,Fr);var at=Er();return $e(!1,Fr),at}return Er()}function Lr(xe){return Jr(4096,xe)}function Yr(xe){return ze(4096,xe)}function lt(xe){return ze(8192,xe)}function tt(xe){return ze(16384,xe)}function Rt(xe){return ze(32768,xe)}function cn(xe){return Jr(32768,xe)}function bn(xe){return ze(40960,xe)}function In(xe){return Jr(40960,xe)}function zn(xe){return(De&xe)!==0}function ir(){return zn(8192)}function Or(){return zn(4096)}function sr(){return zn(16384)}function ye(){return zn(32768)}function or(xe,Er){je(u.getTokenPos(),u.getTextPos(),xe,Er)}function fe(xe,Er,Fr,at){var Ct=e.lastOrUndefined(Pe);(!Ct||xe!==Ct.start)&&Pe.push(e.createDetachedDiagnostic(Y,xe,Er,Fr,at)),Ye=!0}function je(xe,Er,Fr,at){fe(xe,Er-xe,Fr,at)}function Ee(xe,Er,Fr){je(xe.pos,xe.end,Er,Fr)}function We(xe,Er){fe(u.getTextPos(),Er,xe)}function $(){return u.getStartPos()}function Ne(){return u.hasPrecedingJSDocComment()}function me(){return he}function Ze(){return he=u.scan()}function Cr(xe){return fr(),xe()}function fr(){return e.isKeyword(he)&&(u.hasUnicodeEscape()||u.hasExtendedUnicodeEscape())&&je(u.getTokenPos(),u.getTextPos(),e.Diagnostics.Keywords_cannot_contain_escape_characters),Ze()}function dr(){return he=u.scanJsDocToken()}function et(){return he=u.reScanGreaterToken()}function yt(){return he=u.reScanSlashToken()}function Vr(xe){return he=u.reScanTemplateToken(xe)}function tr(){return he=u.reScanTemplateHeadOrNoSubstitutionTemplate()}function xr(){return he=u.reScanLessThanToken()}function Nr(){return he=u.reScanHashToken()}function zr(){return he=u.scanJsxIdentifier()}function gt(){return he=u.scanJsxToken()}function vt(){return he=u.scanJsxAttributeValue()}function ut(xe,Er){var Fr=he,at=Pe.length,Ct=Ye,Xt=De,On=Er!==0?u.lookAhead(xe):u.tryScan(xe);return e.Debug.assert(Xt===De),(!On||Er!==0)&&(he=Fr,Er!==2&&(Pe.length=at),Ye=Ct),On}function ht(xe){return ut(xe,1)}function xt(xe){return ut(xe,0)}function wt(){return me()===79?!0:me()>116}function Qt(){return me()===79?!0:me()===125&&ir()||me()===132&&ye()?!1:me()>116}function mt(xe,Er,Fr){return Fr===void 0&&(Fr=!0),me()===xe?(Fr&&fr(),!0):(Er?or(Er):or(e.Diagnostics._0_expected,e.tokenToString(xe)),!1)}var rn=Object.keys(e.textToKeywordObj).filter(function(xe){return xe.length>2});function sa(xe){var Er;if(e.isTaggedTemplateExpression(xe)){je(e.skipTrivia(K,xe.template.pos),xe.template.end,e.Diagnostics.Module_declaration_names_may_only_use_or_quoted_strings);return}var Fr=e.isIdentifier(xe)?e.idText(xe):void 0;if(!Fr||!e.isIdentifierText(Fr,Te)){or(e.Diagnostics._0_expected,e.tokenToString(26));return}var at=e.skipTrivia(K,xe.pos);switch(Fr){case\"const\":case\"let\":case\"var\":je(at,xe.end,e.Diagnostics.Variable_declaration_not_allowed_at_this_location);return;case\"declare\":return;case\"interface\":ba(e.Diagnostics.Interface_name_cannot_be_0,e.Diagnostics.Interface_must_be_given_a_name,18);return;case\"is\":je(at,u.getTextPos(),e.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case\"module\":case\"namespace\":ba(e.Diagnostics.Namespace_name_cannot_be_0,e.Diagnostics.Namespace_must_be_given_a_name,18);return;case\"type\":ba(e.Diagnostics.Type_alias_name_cannot_be_0,e.Diagnostics.Type_alias_must_be_given_a_name,63);return}var Ct=(Er=e.getSpellingSuggestion(Fr,rn,function(Xt){return Xt}))!==null&&Er!==void 0?Er:Jn(Fr);if(Ct){je(at,xe.end,e.Diagnostics.Unknown_keyword_or_identifier_Did_you_mean_0,Ct);return}me()!==0&&je(at,xe.end,e.Diagnostics.Unexpected_keyword_or_identifier)}function ba(xe,Er,Fr){me()===Fr?or(Er):or(xe,u.getTokenValue())}function Jn(xe){for(var Er=0,Fr=rn;Er<Fr.length;Er++){var at=Fr[Er];if(xe.length>at.length+2&&e.startsWith(xe,at))return\"\".concat(at,\" \").concat(xe.slice(at.length))}}function na(xe,Er,Fr){if(me()===59&&!u.hasPrecedingLineBreak()){or(e.Diagnostics.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(me()===20){or(e.Diagnostics.Cannot_start_a_function_call_in_a_type_annotation),fr();return}if(Er&&!pt()){Fr?or(e.Diagnostics._0_expected,e.tokenToString(26)):or(e.Diagnostics.Expected_for_property_initializer);return}if(!_t()){if(Fr){me()===18&&or(e.Diagnostics._0_expected,e.tokenToString(26));return}sa(xe)}}function Wn(xe){return me()===xe?(dr(),!0):(or(e.Diagnostics._0_expected,e.tokenToString(xe)),!1)}function en(xe){return me()===xe?(fr(),!0):!1}function St(xe){if(me()===xe)return dn()}function Ut(xe){if(me()===xe)return oa()}function qt(xe,Er,Fr){return St(xe)||Cn(xe,!1,Er||e.Diagnostics._0_expected,Fr||e.tokenToString(xe))}function Mn(xe){return Ut(xe)||Cn(xe,!1,e.Diagnostics._0_expected,e.tokenToString(xe))}function dn(){var xe=$(),Er=me();return fr(),rt(R.createToken(Er),xe)}function oa(){var xe=$(),Er=me();return dr(),rt(R.createToken(Er),xe)}function pt(){return me()===26?!0:me()===19||me()===1||u.hasPrecedingLineBreak()}function _t(){return pt()?(me()===26&&fr(),!0):!1}function Mt(){return _t()||mt(26)}function It(xe,Er,Fr,at){var Ct=R.createNodeArray(xe,at);return e.setTextRangePosEnd(Ct,Er,Fr!=null?Fr:u.getStartPos()),Ct}function rt(xe,Er,Fr){return e.setTextRangePosEnd(xe,Er,Fr!=null?Fr:u.getStartPos()),De&&(xe.flags|=De),Ye&&(Ye=!1,xe.flags|=65536),xe}function Cn(xe,Er,Fr,at){Er?fe(u.getStartPos(),0,Fr,at):Fr&&or(Fr,at);var Ct=$(),Xt=xe===79?R.createIdentifier(\"\",void 0,void 0):e.isTemplateLiteralKind(xe)?R.createTemplateLiteralLikeNode(xe,\"\",\"\",void 0):xe===8?R.createNumericLiteral(\"\",void 0):xe===10?R.createStringLiteral(\"\",void 0):xe===275?R.createMissingDeclaration():R.createToken(xe);return rt(Xt,Ct)}function Qn(xe){var Er=Ve.get(xe);return Er===void 0&&Ve.set(xe,Er=xe),Er}function Ra(xe,Er,Fr){if(xe){Le++;var at=$(),Ct=me(),Xt=Qn(u.getTokenValue());return Ze(),rt(R.createIdentifier(Xt,void 0,Ct),at)}if(me()===80)return or(Fr||e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),Ra(!0);if(me()===0&&u.tryScan(function(){return u.reScanInvalidIdentifier()===79}))return Ra(!0);Le++;var On=me()===1,$n=u.isReservedWord(),wa=u.getTokenText(),Ea=$n?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:e.Diagnostics.Identifier_expected;return Cn(79,On,Er||Ea,wa)}function Ci(xe){return Ra(wt(),void 0,xe)}function _i(xe,Er){return Ra(Qt(),xe,Er)}function va(xe){return Ra(e.tokenIsIdentifierOrKeyword(me()),xe)}function yi(){return e.tokenIsIdentifierOrKeyword(me())||me()===10||me()===8}function ro(){return e.tokenIsIdentifierOrKeyword(me())||me()===10}function Ka(xe){if(me()===10||me()===8){var Er=ko();return Er.text=Qn(Er.text),Er}return xe&&me()===22?io():me()===80?Hi():va()}function Mi(){return Ka(!0)}function io(){var xe=$();mt(22);var Er=Lr(Rs);return mt(23),rt(R.createComputedPropertyName(Er),xe)}function ji(xe){var Er=_e.get(xe);return Er===void 0&&_e.set(xe,Er=xe),Er}function Hi(){var xe=$(),Er=R.createPrivateIdentifier(ji(u.getTokenText()));return fr(),rt(Er,xe)}function to(xe){return me()===xe&&xt(lo)}function No(){return fr(),u.hasPrecedingLineBreak()?!1:co()}function lo(){switch(me()){case 85:return fr()===92;case 93:return fr(),me()===88?ht(za):me()===151?ht(Ha):Lo();case 88:return za();case 124:case 136:case 148:return fr(),co();default:return No()}}function Lo(){return me()!==41&&me()!==127&&me()!==18&&co()}function Ha(){return fr(),Lo()}function Yo(){return e.isModifierKind(me())&&xt(lo)}function co(){return me()===22||me()===18||me()===41||me()===25||yi()}function za(){return fr(),me()===84||me()===98||me()===118||me()===126&&ht(yc)||me()===131&&ht(ud)}function hi(xe,Er){var Fr=oe(xe);if(Fr)return!0;switch(xe){case 0:case 1:case 3:return!(me()===26&&Er)&&Gl();case 2:return me()===82||me()===88;case 4:return ht(wr);case 5:return ht(qd)||me()===26&&!Er;case 6:return me()===22||yi();case 12:switch(me()){case 22:case 41:case 25:case 24:return!0;default:return yi()}case 18:return yi();case 9:return me()===22||me()===25||yi();case 24:return ro();case 7:return me()===18?ht(Zi):Er?Qt()&&!zo():zp()&&!zo();case 8:return $u();case 10:return me()===27||me()===25||$u();case 19:return Qt();case 15:switch(me()){case 27:case 24:return!0}case 11:return me()===25||dl();case 16:return Vs(!1);case 17:return Vs(!0);case 20:case 21:return me()===27||bo();case 22:return Rf();case 23:return e.tokenIsIdentifierOrKeyword(me());case 13:return e.tokenIsIdentifierOrKeyword(me())||me()===18;case 14:return!0}return e.Debug.fail(\"Non-exhaustive case in 'isListElement'.\")}function Zi(){if(e.Debug.assert(me()===18),fr()===19){var xe=fr();return xe===27||xe===18||xe===94||xe===117}return!0}function Mo(){return fr(),Qt()}function Po(){return fr(),e.tokenIsIdentifierOrKeyword(me())}function Fo(){return fr(),e.tokenIsIdentifierOrKeywordOrGreaterThan(me())}function zo(){return me()===117||me()===94?ht(Es):!1}function Es(){return fr(),dl()}function Cs(){return fr(),bo()}function hr(xe){if(me()===1)return!0;switch(xe){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return me()===19;case 3:return me()===19||me()===82||me()===88;case 7:return me()===18||me()===94||me()===117;case 8:return dt();case 19:return me()===31||me()===20||me()===18||me()===94||me()===117;case 11:return me()===21||me()===26;case 15:case 21:case 10:return me()===23;case 17:case 16:case 18:return me()===21||me()===23;case 20:return me()!==27;case 22:return me()===18||me()===19;case 13:return me()===31||me()===43;case 14:return me()===29&&ht(Fc);default:return!1}}function dt(){return!!(pt()||bp(me())||me()===38)}function tn(){for(var xe=0;xe<25;xe++)if(qe&1<<xe&&(hi(xe,!0)||hr(xe)))return!0;return!1}function Un(xe,Er){var Fr=qe;qe|=1<<xe;for(var at=[],Ct=$();!hr(xe);){if(hi(xe,!1)){at.push(Oe(xe,Er));continue}if(xa(xe))break}return qe=Fr,It(at,Ct)}function Oe(xe,Er){var Fr=oe(xe);return Fr?mr(Fr):Er()}function oe(xe){if(!(!Ge||!se(xe)||Ye)){var Er=Ge.currentNode(u.getStartPos());if(!(e.nodeIsMissing(Er)||Er.intersectsChange||e.containsParseError(Er))){var Fr=Er.flags&25358336;if(Fr===De&&!!Be(Er,xe))return Er.jsDocCache&&(Er.jsDocCache=void 0),Er}}}function mr(xe){return u.setTextPos(xe.end),fr(),xe}function se(xe){switch(xe){case 5:case 2:case 0:case 1:case 3:case 6:case 4:case 8:case 17:case 16:return!0}return!1}function Be(xe,Er){switch(Er){case 5:return er(xe);case 2:return vr(xe);case 0:case 1:case 3:return qr(xe);case 6:return Dt(xe);case 4:return Jt(xe);case 8:return Sn(xe);case 17:case 16:return ta(xe)}return!1}function er(xe){if(xe)switch(xe.kind){case 170:case 175:case 171:case 172:case 166:case 233:return!0;case 168:var Er=xe,Fr=Er.name.kind===79&&Er.name.originalKeywordKind===134;return!Fr}return!1}function vr(xe){if(xe)switch(xe.kind){case 288:case 289:return!0}return!1}function qr(xe){if(xe)switch(xe.kind){case 255:case 236:case 234:case 238:case 237:case 250:case 246:case 248:case 245:case 244:case 242:case 243:case 241:case 240:case 247:case 235:case 251:case 249:case 239:case 252:case 265:case 264:case 271:case 270:case 260:case 256:case 257:case 259:case 258:return!0}return!1}function Dt(xe){return xe.kind===297}function Jt(xe){if(xe)switch(xe.kind){case 174:case 167:case 175:case 165:case 173:return!0}return!1}function Sn(xe){if(xe.kind!==253)return!1;var Er=xe;return Er.initializer===void 0}function ta(xe){if(xe.kind!==163)return!1;var Er=xe;return Er.initializer===void 0}function xa(xe){return Di(xe),tn()?!0:(fr(),!1)}function Di(xe){switch(xe){case 0:return me()===88?or(e.Diagnostics._0_expected,e.tokenToString(93)):or(e.Diagnostics.Declaration_or_statement_expected);case 1:return or(e.Diagnostics.Declaration_or_statement_expected);case 2:return or(e.Diagnostics.case_or_default_expected);case 3:return or(e.Diagnostics.Statement_expected);case 18:case 4:return or(e.Diagnostics.Property_or_signature_expected);case 5:return or(e.Diagnostics.Unexpected_token_A_constructor_method_accessor_or_property_was_expected);case 6:return or(e.Diagnostics.Enum_member_expected);case 7:return or(e.Diagnostics.Expression_expected);case 8:return e.isKeyword(me())?or(e.Diagnostics._0_is_not_allowed_as_a_variable_declaration_name,e.tokenToString(me())):or(e.Diagnostics.Variable_declaration_expected);case 9:return or(e.Diagnostics.Property_destructuring_pattern_expected);case 10:return or(e.Diagnostics.Array_element_destructuring_pattern_expected);case 11:return or(e.Diagnostics.Argument_expression_expected);case 12:return or(e.Diagnostics.Property_assignment_expected);case 15:return or(e.Diagnostics.Expression_or_comma_expected);case 17:return or(e.Diagnostics.Parameter_declaration_expected);case 16:return e.isKeyword(me())?or(e.Diagnostics._0_is_not_allowed_as_a_parameter_name,e.tokenToString(me())):or(e.Diagnostics.Parameter_declaration_expected);case 19:return or(e.Diagnostics.Type_parameter_declaration_expected);case 20:return or(e.Diagnostics.Type_argument_expected);case 21:return or(e.Diagnostics.Type_expected);case 22:return or(e.Diagnostics.Unexpected_token_expected);case 23:return or(e.Diagnostics.Identifier_expected);case 13:return or(e.Diagnostics.Identifier_expected);case 14:return or(e.Diagnostics.Identifier_expected);default:return[void 0]}}function $a(xe,Er,Fr){var at=qe;qe|=1<<xe;for(var Ct=[],Xt=$(),On=-1;;){if(hi(xe,!1)){var $n=u.getStartPos();if(Ct.push(Oe(xe,Er)),On=u.getTokenPos(),en(27))continue;if(On=-1,hr(xe))break;mt(27,Ji(xe)),Fr&&me()===26&&!u.hasPrecedingLineBreak()&&fr(),$n===u.getStartPos()&&fr();continue}if(hr(xe)||xa(xe))break}return qe=at,It(Ct,Xt,void 0,On>=0)}function Ji(xe){return xe===6?e.Diagnostics.An_enum_member_name_must_be_followed_by_a_or:void 0}function So(){var xe=It([],$());return xe.isMissingList=!0,xe}function cs(xe){return!!xe.isMissingList}function bt(xe,Er,Fr,at){if(mt(Fr)){var Ct=$a(xe,Er);return mt(at),Ct}return So()}function Pn(xe,Er){for(var Fr=$(),at=xe?va(Er):_i(Er),Ct=$();en(24);){if(me()===29){at.jsdocDotPos=Ct;break}Ct=$(),at=rt(R.createQualifiedName(at,ei(xe,!1)),Fr)}return at}function da(xe,Er){return rt(R.createQualifiedName(xe,Er),xe.pos)}function ei(xe,Er){if(u.hasPrecedingLineBreak()&&e.tokenIsIdentifierOrKeyword(me())){var Fr=ht(Cf);if(Fr)return Cn(79,!0,e.Diagnostics.Identifier_expected)}if(me()===80){var at=Hi();return Er?at:Cn(79,!0,e.Diagnostics.Identifier_expected)}return xe?va():_i()}function bi(xe){var Er=$(),Fr=[],at;do at=Ro(xe),Fr.push(at);while(at.literal.kind===16);return It(Fr,Er)}function xi(xe){var Er=$();return rt(R.createTemplateExpression(es(xe),bi(xe)),Er)}function ka(){var xe=$();return rt(R.createTemplateLiteralType(es(!1),mi()),xe)}function mi(){var xe=$(),Er=[],Fr;do Fr=Xi(),Er.push(Fr);while(Fr.literal.kind===16);return It(Er,xe)}function Xi(){var xe=$();return rt(R.createTemplateLiteralTypeSpan(_s(),Gi(!1)),xe)}function Gi(xe){return me()===19?(Vr(xe),as()):qt(17,e.Diagnostics._0_expected,e.tokenToString(19))}function Ro(xe){var Er=$();return rt(R.createTemplateSpan(Lr(Rs),Gi(xe)),Er)}function ko(){return Rr(me())}function es(xe){xe&&tr();var Er=Rr(me());return e.Debug.assert(Er.kind===15,\"Template head has wrong token kind\"),Er}function as(){var xe=Rr(me());return e.Debug.assert(xe.kind===16||xe.kind===17,\"Template fragment has wrong token kind\"),xe}function pe(xe){var Er=xe===14||xe===17,Fr=u.getTokenText();return Fr.substring(1,Fr.length-(u.isUnterminated()?0:Er?1:2))}function Rr(xe){var Er=$(),Fr=e.isTemplateLiteralKind(xe)?R.createTemplateLiteralLikeNode(xe,u.getTokenValue(),pe(xe),u.getTokenFlags()&2048):xe===8?R.createNumericLiteral(u.getTokenValue(),u.getNumericLiteralFlags()):xe===10?R.createStringLiteral(u.getTokenValue(),void 0,u.hasExtendedUnicodeEscape()):e.isLiteralKind(xe)?R.createLiteralLikeNode(xe,u.getTokenValue()):e.Debug.fail();return u.hasExtendedUnicodeEscape()&&(Fr.hasExtendedUnicodeEscape=!0),u.isUnterminated()&&(Fr.isUnterminated=!0),fr(),rt(Fr,Er)}function ft(){return Pn(!0,e.Diagnostics.Type_expected)}function Zt(){if(!u.hasPrecedingLineBreak()&&xr()===29)return bt(20,_s,29,31)}function Re(){var xe=$();return rt(R.createTypeReferenceNode(ft(),Zt()),xe)}function Qr(xe){switch(xe.kind){case 177:return e.nodeIsMissing(xe.typeName);case 178:case 179:{var Er=xe,Fr=Er.parameters,at=Er.type;return cs(Fr)||Qr(at)}case 190:return Qr(xe.type);default:return!1}}function vn(xe){return fr(),rt(R.createTypePredicateNode(void 0,xe,_s()),xe.pos)}function Xn(){var xe=$();return fr(),rt(R.createThisTypeNode(),xe)}function gi(){var xe=$();return fr(),rt(R.createJSDocAllType(),xe)}function Ia(){var xe=$();return fr(),rt(R.createJSDocNonNullableType(Do()),xe)}function oo(){var xe=$();return fr(),me()===27||me()===19||me()===21||me()===31||me()===63||me()===51?rt(R.createJSDocUnknownType(),xe):rt(R.createJSDocNullableType(_s()),xe)}function Wo(){var xe=$(),Er=Ne();if(ht(wf)){fr();var Fr=Ws(36),at=no(58,!1);return Me(rt(R.createJSDocFunctionType(Fr,at),xe),Er)}return rt(R.createTypeReferenceNode(va(),void 0),xe)}function Ir(){var xe=$(),Er;return(me()===108||me()===103)&&(Er=va(),mt(58)),rt(R.createParameterDeclaration(void 0,void 0,void 0,Er,void 0,Us(),void 0),xe)}function Us(){u.setInJSDocType(!0);var xe=$();if(en(141)){var Er=R.createJSDocNamepathType(void 0);e:for(;;)switch(me()){case 19:case 1:case 27:case 5:break e;default:dr()}return u.setInJSDocType(!1),rt(Er,xe)}var Fr=en(25),at=Zf();return u.setInJSDocType(!1),Fr&&(at=rt(R.createJSDocVariadicType(at),xe)),me()===63?(fr(),rt(R.createJSDocOptionalType(at),xe)):at}function il(){var xe=$();return mt(112),rt(R.createTypeQueryNode(Pn(!0)),xe)}function Ml(){var xe=$(),Er=_i(),Fr,at;en(94)&&(bo()||!dl()?Fr=_s():at=_c());var Ct=en(63)?_s():void 0,Xt=R.createTypeParameterDeclaration(Er,Fr,Ct);return Xt.expression=at,rt(Xt,xe)}function Co(){if(me()===29)return bt(19,Ml,29,31)}function Vs(xe){return me()===25||$u()||e.isModifierKind(me())||me()===59||bo(!xe)}function Ql(xe){var Er=Qs(e.Diagnostics.Private_identifiers_cannot_be_used_as_parameters);return e.getFullWidth(Er)===0&&!e.some(xe)&&e.isModifierKind(me())&&fr(),Er}function zl(){return cu(!0)}function uc(){return cu(!1)}function cu(xe){var Er=$(),Fr=Ne(),at=xe?Rt(ef):ef();if(me()===108){var Ct=R.createParameterDeclaration(at,void 0,void 0,Ra(!0),void 0,Jc(),void 0);return at&&Ee(at[0],e.Diagnostics.Decorators_may_not_be_applied_to_this_parameters),Me(rt(Ct,Er),Fr)}var Xt=Ae;Ae=!1;var On=bc(),$n=Me(rt(R.createParameterDeclaration(at,On,St(25),Ql(On),St(57),Jc(),Ja()),Er),Fr);return Ae=Xt,$n}function no(xe,Er){if(ql(xe,Er))return Zf()}function ql(xe,Er){return xe===38?(mt(xe),!0):en(58)?!0:Er&&me()===38?(or(e.Diagnostics._0_expected,e.tokenToString(58)),fr(),!0):!1}function fc(xe){var Er=ir(),Fr=ye();Pr(!!(xe&1)),pr(!!(xe&2));var at=xe&32?$a(17,Ir):$a(16,Fr?zl:uc);return Pr(Er),pr(Fr),at}function Ws(xe){if(!mt(20))return So();var Er=fc(xe);return mt(21),Er}function xc(){en(27)||Mt()}function Ic(xe){var Er=$(),Fr=Ne();xe===174&&mt(103);var at=Co(),Ct=Ws(4),Xt=no(58,!0);xc();var On=xe===173?R.createCallSignature(at,Ct,Xt):R.createConstructSignature(at,Ct,Xt);return Me(rt(On,Er),Fr)}function La(){return me()===22&&ht(uu)}function uu(){if(fr(),me()===25||me()===23)return!0;if(e.isModifierKind(me())){if(fr(),Qt())return!0}else if(Qt())fr();else return!1;return me()===58||me()===27?!0:me()!==57?!1:(fr(),me()===58||me()===27||me()===23)}function dc(xe,Er,Fr,at){var Ct=bt(16,uc,22,23),Xt=Jc();xc();var On=R.createIndexSignature(Fr,at,Ct,Xt);return Me(rt(On,xe),Er)}function Nc(xe,Er,Fr){var at=Mi(),Ct=St(57),Xt;if(me()===20||me()===29){var On=Co(),$n=Ws(4),wa=no(58,!0);Xt=R.createMethodSignature(Fr,at,Ct,On,$n,wa)}else{var wa=Jc();Xt=R.createPropertySignature(Fr,at,Ct,wa),me()===63&&(Xt.initializer=Ja())}return xc(),Me(rt(Xt,xe),Er)}function wr(){if(me()===20||me()===29||me()===136||me()===148)return!0;for(var xe=!1;e.isModifierKind(me());)xe=!0,fr();return me()===22?!0:(yi()&&(xe=!0,fr()),xe?me()===20||me()===29||me()===57||me()===58||me()===27||pt():!1)}function $r(){if(me()===20||me()===29)return Ic(173);if(me()===103&&ht(Lt))return Ic(174);var xe=$(),Er=Ne(),Fr=bc();return to(136)?du(xe,Er,void 0,Fr,171):to(148)?du(xe,Er,void 0,Fr,172):La()?dc(xe,Er,void 0,Fr):Nc(xe,Er,Fr)}function Lt(){return fr(),me()===20||me()===29}function Kt(){return fr()===24}function pn(){switch(fr()){case 20:case 29:case 24:return!0}return!1}function fn(){var xe=$();return rt(R.createTypeLiteralNode(kn()),xe)}function kn(){var xe;return mt(18)?(xe=Un(4,$r),mt(19)):xe=So(),xe}function Kn(){return fr(),me()===39||me()===40?fr()===144:(me()===144&&fr(),me()===22&&Mo()&&fr()===101)}function Fa(){var xe=$(),Er=va();mt(101);var Fr=_s();return rt(R.createTypeParameterDeclaration(Er,Fr,void 0),xe)}function ua(){var xe=$();mt(18);var Er;(me()===144||me()===39||me()===40)&&(Er=dn(),Er.kind!==144&&mt(144)),mt(22);var Fr=Fa(),at=en(127)?_s():void 0;mt(23);var Ct;(me()===57||me()===39||me()===40)&&(Ct=dn(),Ct.kind!==57&&mt(57));var Xt=Jc();Mt();var On=Un(4,$r);return mt(19),rt(R.createMappedTypeNode(Er,Fr,at,Ct,Xt,On),xe)}function le(){var xe=$();if(en(25))return rt(R.createRestTypeNode(_s()),xe);var Er=_s();if(e.isJSDocNullableType(Er)&&Er.pos===Er.type.pos){var Fr=R.createOptionalTypeNode(Er.type);return e.setTextRange(Fr,Er),Fr.flags=Er.flags,Fr}return Er}function rr(){return fr()===58||me()===57&&fr()===58}function yr(){return me()===25?e.tokenIsIdentifierOrKeyword(fr())&&rr():e.tokenIsIdentifierOrKeyword(me())&&rr()}function ct(){if(ht(yr)){var xe=$(),Er=Ne(),Fr=St(25),at=va(),Ct=St(57);mt(58);var Xt=le(),On=R.createNamedTupleMember(Fr,at,Ct,Xt);return Me(rt(On,xe),Er)}return le()}function jt(){var xe=$();return rt(R.createTupleTypeNode(bt(21,ct,22,23)),xe)}function yn(){var xe=$();mt(20);var Er=_s();return mt(21),rt(R.createParenthesizedType(Er),xe)}function ha(){var xe;if(me()===126){var Er=$();fr();var Fr=rt(R.createToken(126),Er);xe=It([Fr],Er)}return xe}function ri(){var xe=$(),Er=Ne(),Fr=ha(),at=en(103),Ct=Co(),Xt=Ws(4),On=no(38,!1),$n=at?R.createConstructorTypeNode(Fr,Ct,Xt,On):R.createFunctionTypeNode(Ct,Xt,On);return at||($n.modifiers=Fr),Me(rt($n,xe),Er)}function Ta(){var xe=dn();return me()===24?void 0:xe}function Ya(xe){var Er=$();xe&&fr();var Fr=me()===110||me()===95||me()===104?dn():Rr(me());return xe&&(Fr=rt(R.createPrefixUnaryExpression(40,Fr),Er)),rt(R.createLiteralTypeNode(Fr),Er)}function fi(){return fr(),me()===100}function ci(){U|=1048576;var xe=$(),Er=en(112);mt(100),mt(20);var Fr=_s();mt(21);var at=en(24)?ft():void 0,Ct=Zt();return rt(R.createImportTypeNode(Fr,at,Ct,Er),xe)}function Si(){return fr(),me()===8||me()===9}function Do(){switch(me()){case 130:case 154:case 149:case 146:case 157:case 150:case 133:case 152:case 143:case 147:return xt(Ta)||Re();case 66:u.reScanAsteriskEqualsToken();case 41:return gi();case 60:u.reScanQuestionToken();case 57:return oo();case 98:return Wo();case 53:return Ia();case 14:case 10:case 8:case 9:case 110:case 95:case 104:return Ya();case 40:return ht(Si)?Ya(!0):Re();case 114:return dn();case 108:{var xe=Xn();return me()===139&&!u.hasPrecedingLineBreak()?vn(xe):xe}case 112:return ht(fi)?ci():il();case 18:return ht(Kn)?ua():fn();case 22:return jt();case 20:return yn();case 100:return ci();case 128:return ht(Cf)?Nd():Re();case 15:return ka();default:return Re()}}function bo(xe){switch(me()){case 130:case 154:case 149:case 146:case 157:case 133:case 144:case 150:case 153:case 114:case 152:case 104:case 108:case 112:case 143:case 18:case 22:case 29:case 51:case 50:case 103:case 10:case 8:case 9:case 110:case 95:case 147:case 41:case 57:case 53:case 25:case 137:case 100:case 128:case 14:case 15:return!0;case 98:return!xe;case 40:return!xe&&ht(Si);case 20:return!xe&&ht(Ns);default:return Qt()}}function Ns(){return fr(),me()===21||Vs(!1)||bo()}function Ys(){for(var xe=$(),Er=Do();!u.hasPrecedingLineBreak();)switch(me()){case 53:fr(),Er=rt(R.createJSDocNonNullableType(Er),xe);break;case 57:if(ht(Cs))return Er;fr(),Er=rt(R.createJSDocNullableType(Er),xe);break;case 22:if(mt(22),bo()){var Fr=_s();mt(23),Er=rt(R.createIndexedAccessTypeNode(Er,Fr),xe)}else mt(23),Er=rt(R.createArrayTypeNode(Er),xe);break;default:return Er}return Er}function Nu(xe){var Er=$();return mt(xe),rt(R.createTypeOperatorNode(xe,jc()),Er)}function gf(){var xe=$();return rt(R.createTypeParameterDeclaration(_i(),void 0,void 0),xe)}function Zl(){var xe=$();return mt(137),rt(R.createInferTypeNode(gf()),xe)}function jc(){var xe=me();switch(xe){case 140:case 153:case 144:return Nu(xe);case 137:return Zl()}return Ys()}function Mr(xe){if(kc()){var Er=ri(),Fr=void 0;return e.isFunctionTypeNode(Er)?Fr=xe?e.Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:e.Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:Fr=xe?e.Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:e.Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type,Ee(Er,Fr),Er}}function $l(xe,Er,Fr){var at=$(),Ct=xe===51,Xt=en(xe),On=Xt&&Mr(Ct)||Er();if(me()===xe||Xt){for(var $n=[On];en(xe);)$n.push(Mr(Ct)||Er());On=rt(Fr(It($n,at)),at)}return On}function pc(){return $l(50,jc,R.createIntersectionTypeNode)}function ku(){return $l(51,pc,R.createUnionTypeNode)}function ol(){return fr(),me()===103}function kc(){return me()===29||me()===20&&ht(fo)?!0:me()===103||me()===126&&ht(ol)}function vf(){if(e.isModifierKind(me())&&bc(),Qt()||me()===108)return fr(),!0;if(me()===22||me()===18){var xe=Pe.length;return Qs(),xe===Pe.length}return!1}function fo(){return fr(),!!(me()===21||me()===25||vf()&&(me()===58||me()===27||me()===57||me()===63||me()===21&&(fr(),me()===38)))}function Zf(){var xe=$(),Er=Qt()&&xt(hf),Fr=_s();return Er?rt(R.createTypePredicateNode(void 0,Er,Fr),xe):Fr}function hf(){var xe=_i();if(me()===139&&!u.hasPrecedingLineBreak())return fr(),xe}function Nd(){var xe=$(),Er=qt(128),Fr=me()===108?Xn():_i(),at=en(139)?_s():void 0;return rt(R.createTypePredicateNode(Er,Fr,at),xe)}function _s(){return Jr(40960,Hc)}function Hc(xe){if(kc())return ri();var Er=$(),Fr=ku();if(!xe&&!u.hasPrecedingLineBreak()&&en(94)){var at=Hc(!0);mt(57);var Ct=Hc();mt(58);var Xt=Hc();return rt(R.createConditionalTypeNode(Fr,at,Ct,Xt),Er)}return Fr}function Jc(){return en(58)?_s():void 0}function zp(){switch(me()){case 108:case 106:case 104:case 110:case 95:case 8:case 9:case 10:case 14:case 15:case 20:case 22:case 18:case 98:case 84:case 103:case 43:case 68:case 79:return!0;case 100:return ht(pn);default:return Qt()}}function dl(){if(zp())return!0;switch(me()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 45:case 46:case 29:case 132:case 125:case 80:return!0;default:return Md()?!0:Qt()}}function qp(){return me()!==18&&me()!==98&&me()!==84&&me()!==59&&dl()}function Rs(){var xe=sr();xe&&He(!1);for(var Er=$(),Fr=Zn(),at;at=St(27);)Fr=Pd(Fr,at,Zn(),Er);return xe&&He(!0),Fr}function Ja(){return en(63)?Zn():void 0}function Zn(){if(Oc())return yf();var xe=kd()||Rd();if(xe)return xe;var Er=$(),Fr=ed(0);return Fr.kind===79&&me()===38?Ou(Er,Fr,void 0):e.isLeftHandSideExpression(Fr)&&e.isAssignmentOperator(et())?Pd(Fr,dn(),Zn(),Er):C_(Fr,Er)}function Oc(){return me()===125?ir()?!0:ht(xf):!1}function ks(){return fr(),!u.hasPrecedingLineBreak()&&Qt()}function yf(){var xe=$();return fr(),!u.hasPrecedingLineBreak()&&(me()===41||dl())?rt(R.createYieldExpression(St(41),Zn()),xe):rt(R.createYieldExpression(void 0,void 0),xe)}function Ou(xe,Er,Fr){e.Debug.assert(me()===38,\"parseSimpleArrowFunctionExpression should only have been called if we had a =>\");var at=R.createParameterDeclaration(void 0,void 0,void 0,Er,void 0,void 0,void 0);rt(at,Er.pos);var Ct=It([at],at.pos,at.end),Xt=qt(38),On=Xl(!!Fr),$n=R.createArrowFunction(Fr,void 0,Ct,void 0,Xt,On);return ur(rt($n,xe))}function kd(){var xe=Uo();if(xe!==0)return xe===1?yp(!0):xt(Od)}function Uo(){return me()===20||me()===29||me()===131?ht($f):me()===38?1:0}function $f(){if(me()===131&&(fr(),u.hasPrecedingLineBreak()||me()!==20&&me()!==29))return 0;var xe=me(),Er=fr();if(xe===20){if(Er===21){var Fr=fr();switch(Fr){case 38:case 58:case 18:return 1;default:return 0}}if(Er===22||Er===18)return 2;if(Er===25||e.isModifierKind(Er)&&Er!==131&&ht(Mo))return 1;if(!Qt()&&Er!==108)return 0;switch(fr()){case 58:return 1;case 57:return fr(),me()===58||me()===27||me()===63||me()===21?1:0;case 27:case 63:case 21:return 2}return 0}else{if(e.Debug.assert(xe===29),!Qt())return 0;if(ke===1){var at=ht(function(){var Ct=fr();if(Ct===94){var Xt=fr();switch(Xt){case 63:case 31:return!1;default:return!0}}else if(Ct===27)return!0;return!1});return at?1:0}return 2}}function Od(){var xe=u.getTokenPos();if(!(Xe!=null&&Xe.has(xe))){var Er=yp(!1);return Er||(Xe||(Xe=new e.Set)).add(xe),Er}}function Rd(){if(me()===131&&ht(Xp)===1){var xe=$(),Er=qc(),Fr=ed(0);return Ou(xe,Fr,Er)}}function Xp(){if(me()===131){if(fr(),u.hasPrecedingLineBreak()||me()===38)return 0;var xe=ed(0);if(!u.hasPrecedingLineBreak()&&xe.kind===79&&me()===38)return 1}return 0}function yp(xe){var Er=$(),Fr=Ne(),at=qc(),Ct=e.some(at,e.isAsyncModifier)?2:0,Xt=Co(),On;if(mt(20)){if(On=fc(Ct),!mt(21)&&!xe)return}else{if(!xe)return;On=So()}var $n=no(58,!1);if(!($n&&!xe&&Qr($n))){var wa=$n&&e.isJSDocFunctionType($n);if(!(!xe&&me()!==38&&(wa||me()!==18))){var Ea=me(),Ki=qt(38),Qo=Ea===38||Ea===18?Xl(e.some(at,e.isAsyncModifier)):_i(),$i=R.createArrowFunction(at,Xt,On,$n,Ki,Qo);return Me(rt($i,Er),Fr)}}}function Xl(xe){if(me()===18)return Dn(xe?2:0);if(me()!==26&&me()!==98&&me()!==84&&Gl()&&!qp())return Dn(16|(xe?2:0));var Er=Ae;Ae=!1;var Fr=xe?Rt(Zn):cn(Zn);return Ae=Er,Fr}function C_(xe,Er){var Fr=St(57);if(!Fr)return xe;var at;return rt(R.createConditionalExpression(xe,Fr,Jr(g,Zn),at=qt(58),e.nodeIsPresent(at)?Zn():Cn(79,!1,e.Diagnostics._0_expected,e.tokenToString(58))),Er)}function ed(xe){var Er=$(),Fr=_c();return wd(xe,Fr,Er)}function bp(xe){return xe===101||xe===159}function wd(xe,Er,Fr){for(;;){et();var at=e.getBinaryOperatorPrecedence(me()),Ct=me()===42?at>=xe:at>xe;if(!Ct||me()===101&&Or())break;if(me()===127){if(u.hasPrecedingLineBreak())break;fr(),Er=Fd(Er,_s())}else Er=Pd(Er,dn(),ed(at),Fr)}return Er}function Md(){return Or()&&me()===101?!1:e.getBinaryOperatorPrecedence(me())>0}function Pd(xe,Er,Fr,at){return rt(R.createBinaryExpression(xe,Er,Fr),at)}function Fd(xe,Er){return rt(R.createAsExpression(xe,Er),xe.pos)}function Ep(){var xe=$();return rt(R.createPrefixUnaryExpression(me(),Cr(mc)),xe)}function Yp(){var xe=$();return rt(R.createDeleteExpression(Cr(mc)),xe)}function Gd(){var xe=$();return rt(R.createTypeOfExpression(Cr(mc)),xe)}function Qp(){var xe=$();return rt(R.createVoidExpression(Cr(mc)),xe)}function Bd(){return me()===132?ye()?!0:ht(xf):!1}function fu(){var xe=$();return rt(R.createAwaitExpression(Cr(mc)),xe)}function _c(){if(ec()){var xe=$(),Er=Ud();return me()===42?wd(e.getBinaryOperatorPrecedence(me()),Er,xe):Er}var Fr=me(),at=mc();if(me()===42){var xe=e.skipTrivia(K,at.pos),Ct=at.end;at.kind===210?je(xe,Ct,e.Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):je(xe,Ct,e.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,e.tokenToString(Fr))}return at}function mc(){switch(me()){case 39:case 40:case 54:case 53:return Ep();case 89:return Yp();case 112:return Gd();case 114:return Qp();case 29:return ad();case 132:if(Bd())return fu();default:return Ud()}}function ec(){switch(me()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 132:return!1;case 29:if(ke!==1)return!1;default:return!0}}function Ud(){if(me()===45||me()===46){var xe=$();return rt(R.createPrefixUnaryExpression(me(),Cr(bf)),xe)}else if(ke===1&&me()===29&&ht(Fo))return Ef(!0);var Er=bf();if(e.Debug.assert(e.isLeftHandSideExpression(Er)),(me()===45||me()===46)&&!u.hasPrecedingLineBreak()){var Fr=me();return fr(),rt(R.createPostfixUnaryExpression(Er,Fr),Er.pos)}return Er}function bf(){var xe=$(),Er;return me()===100?ht(Lt)?(U|=1048576,Er=dn()):ht(Kt)?(fr(),fr(),Er=rt(R.createMetaProperty(100,va()),xe),U|=2097152):Er=Tp():Er=me()===106?Sp():Tp(),Tf(xe,Er)}function Tp(){var xe=$(),Er=Dl();return Fl(xe,Er,!0)}function Sp(){var xe=$(),Er=dn();if(me()===29){var Fr=$(),at=xt(id);at!==void 0&&je(Fr,$(),e.Diagnostics.super_may_not_use_type_arguments)}return me()===20||me()===24||me()===22?Er:(qt(24,e.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access),rt(R.createPropertyAccessExpression(Er,ei(!0,!0)),xe))}function Ef(xe,Er,Fr){var at=$(),Ct=Ru(xe),Xt;if(Ct.kind===279){var On=rd(Ct),$n=void 0,wa=On[On.length-1];if((wa==null?void 0:wa.kind)===277&&!C(wa.openingElement.tagName,wa.closingElement.tagName)&&C(Ct.tagName,wa.closingElement.tagName)){var Ea=wa.children.end,Ki=rt(R.createJsxElement(wa.openingElement,wa.children,rt(R.createJsxClosingElement(rt(R.createIdentifier(\"\"),Ea,Ea)),Ea,Ea)),wa.openingElement.pos,Ea);On=It(Gt(Gt([],On.slice(0,On.length-1),!0),[Ki],!1),On.pos,Ea),$n=wa.closingElement}else $n=nd(Ct,xe),C(Ct.tagName,$n.tagName)||(Fr&&e.isJsxOpeningElement(Fr)&&C($n.tagName,Fr.tagName)?Ee(Ct.tagName,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(K,Ct.tagName)):Ee($n.tagName,e.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,e.getTextOfNodeFromSourceText(K,Ct.tagName)));Xt=rt(R.createJsxElement(Ct,On,$n),at)}else Ct.kind===282?Xt=rt(R.createJsxFragment(Ct,rd(Ct),x_(xe)),at):(e.Debug.assert(Ct.kind===278),Xt=Ct);if(xe&&me()===29){var Qo=typeof Er==\"undefined\"?Xt.pos:Er,$i=xt(function(){return Ef(!0,Qo)});if($i){var Ho=Cn(27,!1);return e.setTextRangePosWidth(Ho,$i.pos,0),je(e.skipTrivia(K,Qo),$i.end,e.Diagnostics.JSX_expressions_must_have_one_parent_element),rt(R.createBinaryExpression(Xt,Ho,$i),at)}}return Xt}function Zp(){var xe=$(),Er=R.createJsxText(u.getTokenValue(),he===12);return he=u.scanJsxToken(),rt(Er,xe)}function Vd(xe,Er){switch(Er){case 1:if(e.isJsxOpeningFragment(xe))Ee(xe,e.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag);else{var Fr=xe.tagName,at=e.skipTrivia(K,Fr.pos);je(at,Fr.end,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(K,xe.tagName))}return;case 30:case 7:return;case 11:case 12:return Zp();case 18:return Mu(!1);case 29:return Ef(!1,void 0,xe);default:return e.Debug.assertNever(Er)}}function rd(xe){var Er=[],Fr=$(),at=qe;for(qe|=1<<14;;){var Ct=Vd(xe,he=u.reScanJsxToken());if(!Ct||(Er.push(Ct),e.isJsxOpeningElement(xe)&&(Ct==null?void 0:Ct.kind)===277&&!C(Ct.openingElement.tagName,Ct.closingElement.tagName)&&C(xe.tagName,Ct.closingElement.tagName)))break}return qe=at,It(Er,Fr)}function td(){var xe=$();return rt(R.createJsxAttributes(Un(13,js)),xe)}function Ru(xe){var Er=$();if(mt(29),me()===31)return gt(),rt(R.createJsxOpeningFragment(),Er);var Fr=wu(),at=(De&131072)===0?gn():void 0,Ct=td(),Xt;return me()===31?(gt(),Xt=R.createJsxOpeningElement(Fr,at,Ct)):(mt(43),mt(31,void 0,!1)&&(xe?fr():gt()),Xt=R.createJsxSelfClosingElement(Fr,at,Ct)),rt(Xt,Er)}function wu(){var xe=$();zr();for(var Er=me()===108?dn():va();en(24);)Er=rt(R.createPropertyAccessExpression(Er,ei(!0,!1)),xe);return Er}function Mu(xe){var Er=$();if(!!mt(18)){var Fr,at;return me()!==19&&(Fr=St(25),at=Rs()),xe?mt(19):mt(19,void 0,!1)&&gt(),rt(R.createJsxExpression(Fr,at),Er)}}function js(){if(me()===18)return gc();zr();var xe=$();return rt(R.createJsxAttribute(va(),me()!==63?void 0:vt()===10?ko():Mu(!0)),xe)}function gc(){var xe=$();mt(18),mt(25);var Er=Rs();return mt(19),rt(R.createJsxSpreadAttribute(Er),xe)}function nd(xe,Er){var Fr=$();mt(30);var at=wu();return mt(31,void 0,!1)&&(Er||!C(xe.tagName,at)?fr():gt()),rt(R.createJsxClosingElement(at),Fr)}function x_(xe){var Er=$();return mt(30),e.tokenIsIdentifierOrKeyword(me())&&Ee(wu(),e.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment),mt(31,void 0,!1)&&(xe?fr():gt()),rt(R.createJsxJsxClosingFragment(),Er)}function ad(){var xe=$();mt(29);var Er=_s();mt(31);var Fr=mc();return rt(R.createTypeAssertion(Er,Fr),xe)}function Pu(){return fr(),e.tokenIsIdentifierOrKeyword(me())||me()===22||pl()}function I_(){return me()===28&&ht(Pu)}function vc(xe){if(xe.flags&32)return!0;if(e.isNonNullExpression(xe)){for(var Er=xe.expression;e.isNonNullExpression(Er)&&!(Er.flags&32);)Er=Er.expression;if(Er.flags&32){for(;e.isNonNullExpression(xe);)xe.flags|=32,xe=xe.expression;return!0}}return!1}function Pl(xe,Er,Fr){var at=ei(!0,!0),Ct=Fr||vc(Er),Xt=Ct?R.createPropertyAccessChain(Er,Fr,at):R.createPropertyAccessExpression(Er,at);return Ct&&e.isPrivateIdentifier(Xt.name)&&Ee(Xt.name,e.Diagnostics.An_optional_chain_cannot_contain_private_identifiers),rt(Xt,xe)}function Sl(xe,Er,Fr){var at;if(me()===23)at=Cn(79,!0,e.Diagnostics.An_element_access_expression_should_take_an_argument);else{var Ct=Lr(Rs);e.isStringOrNumericLiteralLike(Ct)&&(Ct.text=Qn(Ct.text)),at=Ct}mt(23);var Xt=Fr||vc(Er)?R.createElementAccessChain(Er,Fr,at):R.createElementAccessExpression(Er,at);return rt(Xt,xe)}function Fl(xe,Er,Fr){for(;;){var at=void 0,Ct=!1;if(Fr&&I_()?(at=qt(28),Ct=e.tokenIsIdentifierOrKeyword(me())):Ct=en(24),Ct){Er=Pl(xe,Er,at);continue}if(!at&&me()===53&&!u.hasPrecedingLineBreak()){fr(),Er=rt(R.createNonNullExpression(Er),xe);continue}if((at||!sr())&&en(22)){Er=Sl(xe,Er,at);continue}if(pl()){Er=Dp(xe,Er,at,void 0);continue}return Er}}function pl(){return me()===14||me()===15}function Dp(xe,Er,Fr,at){var Ct=R.createTaggedTemplateExpression(Er,at,me()===14?(tr(),ko()):xi(!0));return(Fr||Er.flags&32)&&(Ct.flags|=32),Ct.questionDotToken=Fr,rt(Ct,xe)}function Tf(xe,Er){for(;;){Er=Fl(xe,Er,!0);var Fr=St(28);if((De&131072)===0&&(me()===29||me()===47)){var at=xt(id);if(at){if(pl()){Er=Dp(xe,Er,Fr,at);continue}var Ct=Wd(),Xt=Fr||vc(Er)?R.createCallChain(Er,Fr,at,Ct):R.createCallExpression(Er,at,Ct);Er=rt(Xt,xe);continue}}else if(me()===20){var Ct=Wd(),Xt=Fr||vc(Er)?R.createCallChain(Er,Fr,void 0,Ct):R.createCallExpression(Er,void 0,Ct);Er=rt(Xt,xe);continue}if(Fr){var On=Cn(79,!1,e.Diagnostics.Identifier_expected);Er=rt(R.createPropertyAccessChain(Er,Fr,On),xe)}break}return Er}function Wd(){mt(20);var xe=$a(11,Yl);return mt(21),xe}function id(){if((De&131072)===0&&xr()===29){fr();var xe=$a(20,_s);if(!!mt(31))return xe&&mo()?xe:void 0}}function mo(){switch(me()){case 20:case 14:case 15:case 24:case 21:case 23:case 58:case 26:case 57:case 34:case 36:case 35:case 37:case 55:case 56:case 60:case 52:case 50:case 51:case 19:case 1:return!0;case 27:case 18:default:return!1}}function Dl(){switch(me()){case 8:case 9:case 10:case 14:return ko();case 108:case 106:case 104:case 110:case 95:return dn();case 20:return wo();case 22:return od();case 18:return us();case 131:if(!ht(ud))break;return ii();case 84:return Vu();case 98:return ii();case 103:return sd();case 43:case 68:if(yt()===13)return ko();break;case 15:return xi(!1);case 80:return Hi()}return _i(e.Diagnostics.Expression_expected)}function wo(){var xe=$(),Er=Ne();mt(20);var Fr=Lr(Rs);return mt(21),Me(rt(R.createParenthesizedExpression(Fr),xe),Er)}function ms(){var xe=$();mt(25);var Er=Zn();return rt(R.createSpreadElement(Er),xe)}function $p(){return me()===25?ms():me()===27?rt(R.createOmittedExpression(),$()):Zn()}function Yl(){return Jr(g,$p)}function od(){var xe=$();mt(22);var Er=u.hasPrecedingLineBreak(),Fr=$a(15,$p);return mt(23),rt(R.createArrayLiteralExpression(Fr,Er),xe)}function Ln(){var xe=$(),Er=Ne();if(St(25)){var Fr=Zn();return Me(rt(R.createSpreadAssignment(Fr),xe),Er)}var at=ef(),Ct=bc();if(to(136))return du(xe,Er,at,Ct,171);if(to(148))return du(xe,Er,at,Ct,172);var Xt=St(41),On=Qt(),$n=Mi(),wa=St(57),Ea=St(53);if(Xt||me()===20||me()===29)return zd(xe,Er,at,Ct,Xt,$n,wa,Ea);var Ki,Qo=On&&me()!==58;if(Qo){var $i=St(63),Ho=$i?Lr(Zn):void 0;Ki=R.createShorthandPropertyAssignment($n,Ho),Ki.equalsToken=$i}else{mt(58);var gs=Lr(Zn);Ki=R.createPropertyAssignment($n,gs)}return Ki.decorators=at,Ki.modifiers=Ct,Ki.questionToken=wa,Ki.exclamationToken=Ea,Me(rt(Ki,xe),Er)}function us(){var xe=$(),Er=u.getTokenPos();mt(18);var Fr=u.hasPrecedingLineBreak(),at=$a(12,Ln,!0);if(!mt(19)){var Ct=e.lastOrUndefined(Pe);Ct&&Ct.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo(Ct,e.createDetachedDiagnostic(Y,Er,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}return rt(R.createObjectLiteralExpression(at,Fr),xe)}function ii(){var xe=sr();He(!1);var Er=$(),Fr=Ne(),at=bc();mt(98);var Ct=St(41),Xt=Ct?1:0,On=e.some(at,e.isAsyncModifier)?2:0,$n=Xt&&On?bn(Rc):Xt?lt(Rc):On?Rt(Rc):Rc(),wa=Co(),Ea=Ws(Xt|On),Ki=no(58,!1),Qo=Dn(Xt|On);He(xe);var $i=R.createFunctionExpression(at,Ct,$n,wa,Ea,Ki,Qo);return Me(rt($i,Er),Fr)}function Rc(){return wt()?Ci():void 0}function sd(){var xe=$();if(mt(103),en(24)){var Er=va();return rt(R.createMetaProperty(103,Er),xe)}for(var Fr=$(),at=Dl(),Ct;;){at=Fl(Fr,at,!1),Ct=xt(id),pl()&&(e.Debug.assert(!!Ct,\"Expected a type argument list; all plain tagged template starts should be consumed in 'parseMemberExpressionRest'\"),at=Dp(Fr,at,void 0,Ct),Ct=void 0);break}var Xt;return me()===20?Xt=Wd():Ct&&je(xe,u.getStartPos(),e.Diagnostics.A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list),rt(R.createNewExpression(at,Ct,Xt),xe)}function sl(xe,Er){var Fr=$(),at=Ne(),Ct=u.getTokenPos();if(mt(18,Er)||xe){var Xt=u.hasPrecedingLineBreak(),On=Un(1,Ga);if(!mt(19)){var $n=e.lastOrUndefined(Pe);$n&&$n.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo($n,e.createDetachedDiagnostic(Y,Ct,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}var wa=Me(rt(R.createBlock(On,Xt),Fr),at);return me()===63&&(or(e.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_the_whole_assignment_in_parentheses),fr()),wa}else{var On=So();return Me(rt(R.createBlock(On,void 0),Fr),at)}}function Dn(xe,Er){var Fr=ir();Pr(!!(xe&1));var at=ye();pr(!!(xe&2));var Ct=Ae;Ae=!1;var Xt=sr();Xt&&He(!1);var On=sl(!!(xe&16),Er);return Xt&&He(!0),Ae=Ct,Pr(Fr),pr(at),On}function N_(){var xe=$(),Er=Ne();return mt(26),Me(rt(R.createEmptyStatement(),xe),Er)}function rs(){var xe=$(),Er=Ne();mt(99),mt(20);var Fr=Lr(Rs);mt(21);var at=Ga(),Ct=en(91)?Ga():void 0;return Me(rt(R.createIfStatement(Fr,at,Ct),xe),Er)}function fs(){var xe=$(),Er=Ne();mt(90);var Fr=Ga();mt(115),mt(20);var at=Lr(Rs);return mt(21),en(26),Me(rt(R.createDoStatement(Fr,at),xe),Er)}function wc(){var xe=$(),Er=Ne();mt(115),mt(20);var Fr=Lr(Rs);mt(21);var at=Ga();return Me(rt(R.createWhileStatement(Fr,at),xe),Er)}function Hs(){var xe=$(),Er=Ne();mt(97);var Fr=St(132);mt(20);var at;me()!==26&&(me()===113||me()===119||me()===85?at=Bl(!0):at=Yr(Rs));var Ct;if(Fr?mt(159):en(159)){var Xt=Lr(Zn);mt(21),Ct=R.createForOfStatement(Fr,at,Xt,Ga())}else if(en(101)){var Xt=Lr(Rs);mt(21),Ct=R.createForInStatement(at,Xt,Ga())}else{mt(26);var On=me()!==26&&me()!==21?Lr(Rs):void 0;mt(26);var $n=me()!==21?Lr(Rs):void 0;mt(21),Ct=R.createForStatement(at,On,$n,Ga())}return Me(rt(Ct,xe),Er)}function Sf(xe){var Er=$(),Fr=Ne();mt(xe===245?81:86);var at=pt()?void 0:_i();Mt();var Ct=xe===245?R.createBreakStatement(at):R.createContinueStatement(at);return Me(rt(Ct,Er),Fr)}function ws(){var xe=$(),Er=Ne();mt(105);var Fr=pt()?void 0:Lr(Rs);return Mt(),Me(rt(R.createReturnStatement(Fr),xe),Er)}function Mc(){var xe=$(),Er=Ne();mt(116),mt(20);var Fr=Lr(Rs);mt(21);var at=ze(16777216,Ga);return Me(rt(R.createWithStatement(Fr,at),xe),Er)}function Qu(){var xe=$();mt(82);var Er=Lr(Rs);mt(58);var Fr=Un(3,Ga);return rt(R.createCaseClause(Er,Fr),xe)}function Df(){var xe=$();mt(88),mt(58);var Er=Un(3,Ga);return rt(R.createDefaultClause(Er),xe)}function hc(){return me()===82?Qu():Df()}function Lf(){var xe=$();mt(18);var Er=Un(2,hc);return mt(19),rt(R.createCaseBlock(Er),xe)}function ll(){var xe=$(),Er=Ne();mt(107),mt(20);var Fr=Lr(Rs);mt(21);var at=Lf();return Me(rt(R.createSwitchStatement(Fr,at),xe),Er)}function e_(){var xe=$(),Er=Ne();mt(109);var Fr=u.hasPrecedingLineBreak()?void 0:Lr(Rs);return Fr===void 0&&(Le++,Fr=rt(R.createIdentifier(\"\"),$())),_t()||sa(Fr),Me(rt(R.createThrowStatement(Fr),xe),Er)}function Fu(){var xe=$(),Er=Ne();mt(111);var Fr=sl(!1),at=me()===83?Af():void 0,Ct;return(!at||me()===96)&&(mt(96),Ct=sl(!1)),Me(rt(R.createTryStatement(Fr,at,Ct),xe),Er)}function Af(){var xe=$();mt(83);var Er;en(20)?(Er=jo(),mt(21)):Er=void 0;var Fr=sl(!1);return rt(R.createCatchClause(Er,Fr),xe)}function ld(){var xe=$(),Er=Ne();return mt(87),Mt(),Me(rt(R.createDebuggerStatement(),xe),Er)}function cd(){var xe=$(),Er=Ne(),Fr,at=me()===20,Ct=Lr(Rs);return e.isIdentifier(Ct)&&en(58)?Fr=R.createLabeledStatement(Ct,Ga()):(_t()||sa(Ct),Fr=R.createExpressionStatement(Ct),at&&(Er=!1)),Me(rt(Fr,xe),Er)}function Cf(){return fr(),e.tokenIsIdentifierOrKeyword(me())&&!u.hasPrecedingLineBreak()}function yc(){return fr(),me()===84&&!u.hasPrecedingLineBreak()}function ud(){return fr(),me()===98&&!u.hasPrecedingLineBreak()}function xf(){return fr(),(e.tokenIsIdentifierOrKeyword(me())||me()===8||me()===9||me()===10)&&!u.hasPrecedingLineBreak()}function Gu(){for(;;)switch(me()){case 113:case 119:case 85:case 98:case 84:case 92:return!0;case 118:case 151:return ks();case 141:case 142:return Zu();case 126:case 131:case 135:case 121:case 122:case 123:case 144:if(fr(),u.hasPrecedingLineBreak())return!1;continue;case 156:return fr(),me()===18||me()===79||me()===93;case 100:return fr(),me()===10||me()===41||me()===18||e.tokenIsIdentifierOrKeyword(me());case 93:var xe=fr();if(xe===151&&(xe=ht(fr)),xe===63||xe===41||xe===18||xe===88||xe===127)return!0;continue;case 124:fr();continue;default:return!1}}function Js(){return ht(Gu)}function Gl(){switch(me()){case 59:case 26:case 18:case 113:case 119:case 98:case 84:case 92:case 99:case 90:case 115:case 97:case 86:case 81:case 105:case 116:case 107:case 109:case 111:case 87:case 83:case 96:return!0;case 100:return Js()||ht(pn);case 85:case 93:return Js();case 131:case 135:case 118:case 141:case 142:case 151:case 156:return!0;case 123:case 121:case 122:case 124:case 144:return Js()||!ht(Cf);default:return dl()}}function Kc(){return fr(),wt()||me()===18||me()===22}function fd(){return ht(Kc)}function Ga(){switch(me()){case 26:return N_();case 18:return sl(!1);case 113:return nc($(),Ne(),void 0,void 0);case 119:if(fd())return nc($(),Ne(),void 0,void 0);break;case 98:return Nf($(),Ne(),void 0,void 0);case 84:return Xc($(),Ne(),void 0,void 0);case 99:return rs();case 90:return fs();case 115:return wc();case 97:return Hs();case 86:return Sf(244);case 81:return Sf(245);case 105:return ws();case 116:return Mc();case 107:return ll();case 109:return e_();case 111:case 83:case 96:return Fu();case 87:return ld();case 59:return Ts();case 131:case 118:case 151:case 141:case 142:case 135:case 85:case 92:case 93:case 100:case 121:case 122:case 123:case 126:case 124:case 144:case 156:if(Js())return Ts();break}return cd()}function wn(xe){return xe.kind===135}function Ts(){var xe=e.some(ht(function(){return ef(),bc()}),wn);if(xe){var Er=jd();if(Er)return Er}var Fr=$(),at=Ne(),Ct=ef(),Xt=bc();if(xe){for(var On=0,$n=Xt;On<$n.length;On++){var wa=$n[On];wa.flags|=8388608}return ze(8388608,function(){return rc(Fr,at,Ct,Xt)})}else return rc(Fr,at,Ct,Xt)}function jd(){return ze(8388608,function(){var xe=oe(qe);if(xe)return mr(xe)})}function rc(xe,Er,Fr,at){switch(me()){case 113:case 119:case 85:return nc(xe,Er,Fr,at);case 98:return Nf(xe,Er,Fr,at);case 84:return Xc(xe,Er,Fr,at);case 118:return Zd(xe,Er,Fr,at);case 151:return Pc(xe,Er,Fr,at);case 92:return k_(xe,Er,Fr,at);case 156:case 141:case 142:return Ap(xe,Er,Fr,at);case 100:return Mf(xe,Er,Fr,at);case 93:switch(fr(),me()){case 88:case 63:return $c(xe,Er,Fr,at);case 127:return Qc(xe,Er,Fr,at);default:return Zc(xe,Er,Fr,at)}default:if(Fr||at){var Ct=Cn(275,!0,e.Diagnostics.Declaration_expected);return e.setTextRangePos(Ct,xe),Ct.decorators=Fr,Ct.modifiers=at,Ct}return}}function Zu(){return fr(),!u.hasPrecedingLineBreak()&&(Qt()||me()===10)}function zc(xe,Er){if(me()!==18&&pt()){Mt();return}return Dn(xe,Er)}function Hd(){var xe=$();if(me()===27)return rt(R.createOmittedExpression(),xe);var Er=St(25),Fr=Qs(),at=Ja();return rt(R.createBindingElement(Er,void 0,Fr,at),xe)}function Ll(){var xe=$(),Er=St(25),Fr=wt(),at=Mi(),Ct;Fr&&me()!==58?(Ct=at,at=void 0):(mt(58),Ct=Qs());var Xt=Ja();return rt(R.createBindingElement(Er,at,Ct,Xt),xe)}function tc(){var xe=$();mt(18);var Er=$a(9,Ll);return mt(19),rt(R.createObjectBindingPattern(Er),xe)}function If(){var xe=$();mt(22);var Er=$a(10,Hd);return mt(23),rt(R.createArrayBindingPattern(Er),xe)}function $u(){return me()===18||me()===22||me()===80||wt()}function Qs(xe){return me()===22?If():me()===18?tc():Ci(xe)}function Jd(){return jo(!0)}function jo(xe){var Er=$(),Fr=Ne(),at=Qs(e.Diagnostics.Private_identifiers_are_not_allowed_in_variable_declarations),Ct;xe&&at.kind===79&&me()===53&&!u.hasPrecedingLineBreak()&&(Ct=dn());var Xt=Jc(),On=bp(me())?void 0:Ja(),$n=R.createVariableDeclaration(at,Ct,Xt,On);return Me(rt($n,Er),Fr)}function Bl(xe){var Er=$(),Fr=0;switch(me()){case 113:break;case 119:Fr|=1;break;case 85:Fr|=2;break;default:e.Debug.fail()}fr();var at;if(me()===159&&ht(Kd))at=So();else{var Ct=Or();Sr(xe),at=$a(8,xe?jo:Jd),Sr(Ct)}return rt(R.createVariableDeclarationList(at,Fr),Er)}function Kd(){return Mo()&&fr()===21}function nc(xe,Er,Fr,at){var Ct=Bl(!1);Mt();var Xt=R.createVariableStatement(at,Ct);return Xt.decorators=Fr,Me(rt(Xt,xe),Er)}function Nf(xe,Er,Fr,at){var Ct=ye(),Xt=e.modifiersToFlags(at);mt(98);var On=St(41),$n=Xt&512?Rc():Ci(),wa=On?1:0,Ea=Xt&256?2:0,Ki=Co();Xt&1&&pr(!0);var Qo=Ws(wa|Ea),$i=no(58,!1),Ho=zc(wa|Ea,e.Diagnostics.or_expected);pr(Ct);var gs=R.createFunctionDeclaration(Fr,at,On,$n,Ki,Qo,$i,Ho);return Me(rt(gs,xe),Er)}function Bu(){if(me()===134)return mt(134);if(me()===10&&ht(fr)===20)return xt(function(){var xe=ko();return xe.text===\"constructor\"?xe:void 0})}function dd(xe,Er,Fr,at){return xt(function(){if(Bu()){var Ct=Co(),Xt=Ws(0),On=no(58,!1),$n=zc(0,e.Diagnostics.or_expected),wa=R.createConstructorDeclaration(Fr,at,Xt,$n);return wa.typeParameters=Ct,wa.type=On,Me(rt(wa,xe),Er)}})}function zd(xe,Er,Fr,at,Ct,Xt,On,$n,wa){var Ea=Ct?1:0,Ki=e.some(at,e.isAsyncModifier)?2:0,Qo=Co(),$i=Ws(Ea|Ki),Ho=no(58,!1),gs=zc(Ea|Ki,wa),_l=R.createMethodDeclaration(Fr,at,Ct,Xt,On,Qo,$i,Ho,gs);return _l.exclamationToken=$n,Me(rt(_l,xe),Er)}function Al(xe,Er,Fr,at,Ct,Xt){var On=!Xt&&!u.hasPrecedingLineBreak()?St(53):void 0,$n=Jc(),wa=Jr(45056,Ja);na(Ct,$n,wa);var Ea=R.createPropertyDeclaration(Fr,at,Ct,Xt||On,$n,wa);return Me(rt(Ea,xe),Er)}function ts(xe,Er,Fr,at){var Ct=St(41),Xt=Mi(),On=St(57);return Ct||me()===20||me()===29?zd(xe,Er,Fr,at,Ct,Xt,On,void 0,e.Diagnostics.or_expected):Al(xe,Er,Fr,at,Xt,On)}function du(xe,Er,Fr,at,Ct){var Xt=Mi(),On=Co(),$n=Ws(0),wa=no(58,!1),Ea=zc(0),Ki=Ct===171?R.createGetAccessorDeclaration(Fr,at,Xt,$n,wa,Ea):R.createSetAccessorDeclaration(Fr,at,Xt,$n,Ea);return Ki.typeParameters=On,wa&&Ki.kind===172&&(Ki.type=wa),Me(rt(Ki,xe),Er)}function qd(){var xe;if(me()===59)return!0;for(;e.isModifierKind(me());){if(xe=me(),e.isClassMemberModifier(xe))return!0;fr()}if(me()===41||(yi()&&(xe=me(),fr()),me()===22))return!0;if(xe!==void 0){if(!e.isKeyword(xe)||xe===148||xe===136)return!0;switch(me()){case 20:case 29:case 53:case 58:case 63:case 57:return!0;default:return pt()}}return!1}function ac(xe,Er,Fr,at){qt(124);var Ct=kf();return Me(rt(R.createClassStaticBlockDeclaration(Fr,at,Ct),xe),Er)}function kf(){var xe=ir(),Er=ye();Pr(!1),pr(!0);var Fr=sl(!1);return Pr(xe),pr(Er),Fr}function Uu(){if(ye()&&me()===132){var xe=$(),Er=_i(e.Diagnostics.Expression_expected);fr();var Fr=Fl(xe,Er,!0);return Tf(xe,Fr)}return bf()}function Xd(){var xe=$();if(!!en(59)){var Er=tt(Uu);return rt(R.createDecorator(Er),xe)}}function ef(){for(var xe=$(),Er,Fr;Fr=Xd();)Er=e.append(Er,Fr);return Er&&It(Er,xe)}function Of(xe,Er,Fr){var at=$(),Ct=me();if(me()===85&&xe){if(!xt(No))return}else{if(Er&&me()===124&&ht(_d))return;if(Fr&&me()===124)return;if(!Yo())return}return rt(R.createToken(Ct),at)}function bc(xe,Er){for(var Fr=$(),at,Ct,Xt=!1;Ct=Of(xe,Er,Xt);)Ct.kind===124&&(Xt=!0),at=e.append(at,Ct);return at&&It(at,Fr)}function qc(){var xe;if(me()===131){var Er=$();fr();var Fr=rt(R.createToken(131),Er);xe=It([Fr],Er)}return xe}function rf(){var xe=$();if(me()===26)return fr(),rt(R.createSemicolonClassElement(),xe);var Er=Ne(),Fr=ef(),at=bc(!0,!0);if(me()===124&&ht(_d))return ac(xe,Er,Fr,at);if(to(136))return du(xe,Er,Fr,at,171);if(to(148))return du(xe,Er,Fr,at,172);if(me()===134||me()===10){var Ct=dd(xe,Er,Fr,at);if(Ct)return Ct}if(La())return dc(xe,Er,Fr,at);if(e.tokenIsIdentifierOrKeyword(me())||me()===10||me()===8||me()===41||me()===22){var Xt=e.some(at,wn);if(Xt){for(var On=0,$n=at;On<$n.length;On++){var wa=$n[On];wa.flags|=8388608}return ze(8388608,function(){return ts(xe,Er,Fr,at)})}else return ts(xe,Er,Fr,at)}if(Fr||at){var Ea=Cn(79,!0,e.Diagnostics.Declaration_expected);return Al(xe,Er,Fr,at,Ea,void 0)}return e.Debug.fail(\"Should not have attempted to parse class member declaration.\")}function Vu(){return Yd($(),Ne(),void 0,void 0,225)}function Xc(xe,Er,Fr,at){return Yd(xe,Er,Fr,at,256)}function Yd(xe,Er,Fr,at,Ct){var Xt=ye();mt(84);var On=Ec(),$n=Co();e.some(at,e.isExportModifier)&&pr(!0);var wa=r_(),Ea;mt(18)?(Ea=Qd(),mt(19)):Ea=So(),pr(Xt);var Ki=Ct===256?R.createClassDeclaration(Fr,at,On,$n,wa,Ea):R.createClassExpression(Fr,at,On,$n,wa,Ea);return Me(rt(Ki,xe),Er)}function Ec(){return wt()&&!Wu()?Ra(wt()):void 0}function Wu(){return me()===117&&ht(Po)}function r_(){if(Rf())return Un(22,Wa)}function Wa(){var xe=$(),Er=me();e.Debug.assert(Er===94||Er===117),fr();var Fr=$a(7,pu);return rt(R.createHeritageClause(Er,Fr),xe)}function pu(){var xe=$(),Er=bf(),Fr=gn();return rt(R.createExpressionWithTypeArguments(Er,Fr),xe)}function gn(){return me()===29?bt(20,_s,29,31):void 0}function Rf(){return me()===94||me()===117}function Qd(){return Un(5,rf)}function Zd(xe,Er,Fr,at){mt(118);var Ct=_i(),Xt=Co(),On=r_(),$n=kn(),wa=R.createInterfaceDeclaration(Fr,at,Ct,Xt,On,$n);return Me(rt(wa,xe),Er)}function Pc(xe,Er,Fr,at){mt(151);var Ct=_i(),Xt=Co();mt(63);var On=me()===138&&xt(Ta)||_s();Mt();var $n=R.createTypeAliasDeclaration(Fr,at,Ct,Xt,On);return Me(rt($n,xe),Er)}function $d(){var xe=$(),Er=Ne(),Fr=Mi(),at=Lr(Ja);return Me(rt(R.createEnumMember(Fr,at),xe),Er)}function k_(xe,Er,Fr,at){mt(92);var Ct=_i(),Xt;mt(18)?(Xt=In(function(){return $a(6,$d)}),mt(19)):Xt=So();var On=R.createEnumDeclaration(Fr,at,Ct,Xt);return Me(rt(On,xe),Er)}function Yc(){var xe=$(),Er;return mt(18)?(Er=Un(1,Ga),mt(19)):Er=So(),rt(R.createModuleBlock(Er),xe)}function Lp(xe,Er,Fr,at,Ct){var Xt=Ct&16,On=_i(),$n=en(24)?Lp($(),!1,void 0,void 0,4|Xt):Yc(),wa=R.createModuleDeclaration(Fr,at,On,$n,Ct);return Me(rt(wa,xe),Er)}function pd(xe,Er,Fr,at){var Ct=0,Xt;me()===156?(Xt=_i(),Ct|=1024):(Xt=ko(),Xt.text=Qn(Xt.text));var On;me()===18?On=Yc():Mt();var $n=R.createModuleDeclaration(Fr,at,Xt,On,Ct);return Me(rt($n,xe),Er)}function Ap(xe,Er,Fr,at){var Ct=0;if(me()===156)return pd(xe,Er,Fr,at);if(en(142))Ct|=16;else if(mt(141),me()===10)return pd(xe,Er,Fr,at);return Lp(xe,Er,Fr,at,Ct)}function Ul(){return me()===145&&ht(wf)}function wf(){return fr()===20}function _d(){return fr()===18}function Fc(){return fr()===43}function Qc(xe,Er,Fr,at){mt(127),mt(142);var Ct=_i();Mt();var Xt=R.createNamespaceExportDeclaration(Ct);return Xt.decorators=Fr,Xt.modifiers=at,Me(rt(Xt,xe),Er)}function Mf(xe,Er,Fr,at){mt(100);var Ct=u.getStartPos(),Xt;Qt()&&(Xt=_i());var On=!1;if(me()!==155&&(Xt==null?void 0:Xt.escapedText)===\"type\"&&(Qt()||nt())&&(On=!0,Xt=Qt()?_i():void 0),Xt&&!Ot())return fa(xe,Er,Fr,at,Xt,On);var $n;(Xt||me()===41||me()===18)&&($n=Oa(Xt,Ct,On),mt(155));var wa=Na(),Ea;me()===129&&!u.hasPrecedingLineBreak()&&(Ea=Qe()),Mt();var Ki=R.createImportDeclaration(Fr,at,$n,wa,Ea);return Me(rt(Ki,xe),Er)}function E(){var xe=$(),Er=e.tokenIsIdentifierOrKeyword(me())?va():Rr(10);mt(58);var Fr=Rr(10);return rt(R.createAssertEntry(Er,Fr),xe)}function Qe(){var xe=$();mt(129);var Er=u.getTokenPos();if(mt(18)){var Fr=u.hasPrecedingLineBreak(),at=$a(24,E,!0);if(!mt(19)){var Ct=e.lastOrUndefined(Pe);Ct&&Ct.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo(Ct,e.createDetachedDiagnostic(Y,Er,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}return rt(R.createAssertClause(at,Fr),xe)}else{var at=It([],$(),void 0,!1);return rt(R.createAssertClause(at,!1),xe)}}function nt(){return me()===41||me()===18}function Ot(){return me()===27||me()===155}function fa(xe,Er,Fr,at,Ct,Xt){mt(63);var On=ia();Mt();var $n=R.createImportEqualsDeclaration(Fr,at,Xt,Ct,On),wa=Me(rt($n,xe),Er);return wa}function Oa(xe,Er,Fr){var at;return(!xe||en(27))&&(at=me()===41?Ua():Go(268)),rt(R.createImportClause(Fr,xe,at),Er)}function ia(){return Ul()?ti():Pn(!1)}function ti(){var xe=$();mt(145),mt(20);var Er=Na();return mt(21),rt(R.createExternalModuleReference(Er),xe)}function Na(){if(me()===10){var xe=ko();return xe.text=Qn(xe.text),xe}else return Rs()}function Ua(){var xe=$();mt(41),mt(127);var Er=_i();return rt(R.createNamespaceImport(Er),xe)}function Go(xe){var Er=$(),Fr=xe===268?R.createNamedImports(bt(23,os,18,19)):R.createNamedExports(bt(23,cl,18,19));return rt(Fr,Er)}function cl(){return is(274)}function os(){return is(269)}function is(xe){var Er=$(),Fr=e.isKeyword(me())&&!Qt(),at=u.getTokenPos(),Ct=u.getTextPos(),Xt=!1,On,$n=!0,wa=va();if(wa.escapedText===\"type\")if(me()===127){var Ea=va();if(me()===127){var Ki=va();e.tokenIsIdentifierOrKeyword(me())?(Xt=!0,On=Ea,wa=$i(),$n=!1):(On=wa,wa=Ki,$n=!1)}else e.tokenIsIdentifierOrKeyword(me())?(On=wa,$n=!1,wa=$i()):(Xt=!0,wa=Ea)}else e.tokenIsIdentifierOrKeyword(me())&&(Xt=!0,wa=$i());$n&&me()===127&&(On=wa,mt(127),wa=$i()),xe===269&&Fr&&je(at,Ct,e.Diagnostics.Identifier_expected);var Qo=xe===269?R.createImportSpecifier(Xt,On,wa):R.createExportSpecifier(Xt,On,wa);return rt(Qo,Er);function $i(){return Fr=e.isKeyword(me())&&!Qt(),at=u.getTokenPos(),Ct=u.getTextPos(),va()}}function Vl(xe){return rt(R.createNamespaceExport(va()),xe)}function Zc(xe,Er,Fr,at){var Ct=ye();pr(!0);var Xt,On,$n,wa=en(151),Ea=$();en(41)?(en(127)&&(Xt=Vl(Ea)),mt(155),On=Na()):(Xt=Go(272),(me()===155||me()===10&&!u.hasPrecedingLineBreak())&&(mt(155),On=Na())),On&&me()===129&&!u.hasPrecedingLineBreak()&&($n=Qe()),Mt(),pr(Ct);var Ki=R.createExportDeclaration(Fr,at,wa,Xt,On,$n);return Me(rt(Ki,xe),Er)}function $c(xe,Er,Fr,at){var Ct=ye();pr(!0);var Xt;en(63)?Xt=!0:mt(88);var On=Zn();Mt(),pr(Ct);var $n=R.createExportAssignment(Fr,at,Xt,On);return Me(rt($n,xe),Er)}function md(xe){xe.externalModuleIndicator=e.forEach(xe.statements,t_)||tf(xe)}function t_(xe){return n_(xe,93)||e.isImportEqualsDeclaration(xe)&&e.isExternalModuleReference(xe.moduleReference)||e.isImportDeclaration(xe)||e.isExportAssignment(xe)||e.isExportDeclaration(xe)?xe:void 0}function tf(xe){return xe.flags&2097152?Pf(xe):void 0}function Pf(xe){return gd(xe)?xe:z(xe,Pf)}function n_(xe,Er){return e.some(xe.modifiers,function(Fr){return Fr.kind===Er})}function gd(xe){return e.isMetaProperty(xe)&&xe.keywordToken===100&&xe.name.escapedText===\"meta\"}var Wl;(function(xe){xe[xe.SourceElements=0]=\"SourceElements\",xe[xe.BlockStatements=1]=\"BlockStatements\",xe[xe.SwitchClauses=2]=\"SwitchClauses\",xe[xe.SwitchClauseStatements=3]=\"SwitchClauseStatements\",xe[xe.TypeMembers=4]=\"TypeMembers\",xe[xe.ClassMembers=5]=\"ClassMembers\",xe[xe.EnumMembers=6]=\"EnumMembers\",xe[xe.HeritageClauseElement=7]=\"HeritageClauseElement\",xe[xe.VariableDeclarations=8]=\"VariableDeclarations\",xe[xe.ObjectBindingElements=9]=\"ObjectBindingElements\",xe[xe.ArrayBindingElements=10]=\"ArrayBindingElements\",xe[xe.ArgumentExpressions=11]=\"ArgumentExpressions\",xe[xe.ObjectLiteralMembers=12]=\"ObjectLiteralMembers\",xe[xe.JsxAttributes=13]=\"JsxAttributes\",xe[xe.JsxChildren=14]=\"JsxChildren\",xe[xe.ArrayLiteralMembers=15]=\"ArrayLiteralMembers\",xe[xe.Parameters=16]=\"Parameters\",xe[xe.JSDocParameters=17]=\"JSDocParameters\",xe[xe.RestProperties=18]=\"RestProperties\",xe[xe.TypeParameters=19]=\"TypeParameters\",xe[xe.TypeArguments=20]=\"TypeArguments\",xe[xe.TupleElementTypes=21]=\"TupleElementTypes\",xe[xe.HeritageClauses=22]=\"HeritageClauses\",xe[xe.ImportOrExportSpecifiers=23]=\"ImportOrExportSpecifiers\",xe[xe.AssertEntries=24]=\"AssertEntries\",xe[xe.Count=25]=\"Count\"})(Wl||(Wl={}));var ep;(function(xe){xe[xe.False=0]=\"False\",xe[xe.True=1]=\"True\",xe[xe.Unknown=2]=\"Unknown\"})(ep||(ep={}));var a_;(function(xe){function Er(Ea,Ki,Qo){Ar(\"file.js\",Ea,99,void 0,1),u.setText(Ea,Ki,Qo),he=u.scan();var $i=Fr(),Ho=Fe(\"file.js\",99,1,!1,[],R.createToken(1),0),gs=e.attachFileToDiagnostics(Pe,Ho);return Ie&&(Ho.jsDocDiagnostics=e.attachFileToDiagnostics(Ie,Ho)),kr(),$i?{jsDocTypeExpression:$i,diagnostics:gs}:void 0}xe.parseJSDocTypeExpressionForTests=Er;function Fr(Ea){var Ki=$(),Qo=(Ea?en:mt)(18),$i=ze(4194304,Us);(!Ea||Qo)&&Wn(19);var Ho=R.createJSDocTypeExpression($i);return de(Ho),rt(Ho,Ki)}xe.parseJSDocTypeExpression=Fr;function at(){for(var Ea=$(),Ki=en(18),Qo=$(),$i=Pn(!1);me()===80;)Nr(),dr(),$i=rt(R.createJSDocMemberName($i,_i()),Qo);Ki&&Wn(19);var Ho=R.createJSDocNameReference($i);return de(Ho),rt(Ho,Ea)}xe.parseJSDocNameReference=at;function Ct(Ea,Ki,Qo){Ar(\"\",Ea,99,void 0,1);var $i=ze(4194304,function(){return wa(Ki,Qo)}),Ho={languageVariant:0,text:Ea},gs=e.attachFileToDiagnostics(Pe,Ho);return kr(),$i?{jsDoc:$i,diagnostics:gs}:void 0}xe.parseIsolatedJSDocComment=Ct;function Xt(Ea,Ki,Qo){var $i=he,Ho=Pe.length,gs=Ye,_l=ze(4194304,function(){return wa(Ki,Qo)});return e.setParent(_l,Ea),De&131072&&(Ie||(Ie=[]),Ie.push.apply(Ie,Pe)),he=$i,Pe.length=Ho,Ye=gs,_l}xe.parseJSDocComment=Xt;var On;(function(Ea){Ea[Ea.BeginningOfLine=0]=\"BeginningOfLine\",Ea[Ea.SawAsterisk=1]=\"SawAsterisk\",Ea[Ea.SavingComments=2]=\"SavingComments\",Ea[Ea.SavingBackticks=3]=\"SavingBackticks\"})(On||(On={}));var $n;(function(Ea){Ea[Ea.Property=1]=\"Property\",Ea[Ea.Parameter=2]=\"Parameter\",Ea[Ea.CallbackParameter=4]=\"CallbackParameter\"})($n||($n={}));function wa(Ea,Ki){Ea===void 0&&(Ea=0);var Qo=K,$i=Ki===void 0?Qo.length:Ea+Ki;if(Ki=$i-Ea,e.Debug.assert(Ea>=0),e.Debug.assert(Ea<=$i),e.Debug.assert($i<=Qo.length),!A(Qo,Ea))return;var Ho,gs,_l,xs,Cl,bl=[],ju=[];return u.scanRange(Ea+3,Ki-5,function(){var un=1,pa,Hn=Ea-(Qo.lastIndexOf(`\n`,Ea)+1)+4;function Sa(vl){pa||(pa=Hn),bl.push(vl),Hn+=vl.length}for(dr();xp(5););xp(4)&&(un=0,Hn=0);e:for(;;){switch(me()){case 59:un===0||un===1?(Ms(bl),Cl||(Cl=$()),si(_(Hn)),un=0,pa=void 0):Sa(u.getTokenText());break;case 4:bl.push(u.getTokenText()),un=0,Hn=0;break;case 41:var Za=u.getTokenText();un===1||un===2?(un=2,Sa(Za)):(un=1,Hn+=Za.length);break;case 5:var zi=u.getTokenText();un===2?bl.push(zi):pa!==void 0&&Hn+zi.length>pa&&bl.push(zi.slice(pa-Hn)),Hn+=zi.length;break;case 1:break e;case 18:un=2;var Bo=u.getStartPos(),Zs=u.getTextPos()-1,gl=Br(Zs);if(gl){xs||ul(bl),ju.push(rt(R.createJSDocText(bl.join(\"\")),xs!=null?xs:Ea,Bo)),ju.push(gl),bl=[],xs=u.getTextPos();break}default:un=2,Sa(u.getTokenText());break}dr()}Ms(bl),ju.length&&bl.length&&ju.push(rt(R.createJSDocText(bl.join(\"\")),xs!=null?xs:Ea,Cl)),ju.length&&Ho&&e.Debug.assertIsDefined(Cl,\"having parsed tags implies that the end of the comment span should be set\");var jl=Ho&&It(Ho,gs,_l);return rt(R.createJSDocComment(ju.length?It(ju,Ea,Cl):bl.length?bl.join(\"\"):void 0,jl),Ea,$i)});function ul(un){for(;un.length&&(un[0]===`\n`||un[0]===\"\\r\");)un.shift()}function Ms(un){for(;un.length&&un[un.length-1].trim()===\"\";)un.pop()}function Ff(){for(;;){if(dr(),me()===1)return!0;if(!(me()===5||me()===4))return!1}}function _u(){if(!((me()===5||me()===4)&&ht(Ff)))for(;me()===5||me()===4;)dr()}function ml(){if((me()===5||me()===4)&&ht(Ff))return\"\";for(var un=u.hasPrecedingLineBreak(),pa=!1,Hn=\"\";un&&me()===41||me()===5||me()===4;)Hn+=u.getTokenText(),me()===4?(un=!0,pa=!0,Hn=\"\"):me()===41&&(un=!1),dr();return pa?Hn:\"\"}function _(un){e.Debug.assert(me()===59);var pa=u.getTokenPos();dr();var Hn=Ku(void 0),Sa=ml(),Za;switch(Hn.escapedText){case\"author\":Za=An(pa,Hn,un,Sa);break;case\"implements\":Za=nf(pa,Hn,un,Sa);break;case\"augments\":case\"extends\":Za=O_(pa,Hn,un,Sa);break;case\"class\":case\"constructor\":Za=Hu(pa,R.createJSDocClassTag,Hn,un,Sa);break;case\"public\":Za=Hu(pa,R.createJSDocPublicTag,Hn,un,Sa);break;case\"private\":Za=Hu(pa,R.createJSDocPrivateTag,Hn,un,Sa);break;case\"protected\":Za=Hu(pa,R.createJSDocProtectedTag,Hn,un,Sa);break;case\"readonly\":Za=Hu(pa,R.createJSDocReadonlyTag,Hn,un,Sa);break;case\"override\":Za=Hu(pa,R.createJSDocOverrideTag,Hn,un,Sa);break;case\"deprecated\":Hr=!0,Za=Hu(pa,R.createJSDocDeprecatedTag,Hn,un,Sa);break;case\"this\":Za=rm(pa,Hn,un,Sa);break;case\"enum\":Za=mu(pa,Hn,un,Sa);break;case\"arg\":case\"argument\":case\"param\":return Gc(pa,Hn,2,un);case\"return\":case\"returns\":Za=tp(pa,Hn,un,Sa);break;case\"template\":Za=Mg(pa,Hn,un,Sa);break;case\"type\":Za=Fm(pa,Hn,un,Sa);break;case\"typedef\":Za=Pv(pa,Hn,un,Sa);break;case\"callback\":Za=o_(pa,Hn,un,Sa);break;case\"see\":Za=Mv(pa,Hn,un,Sa);break;default:Za=an(pa,Hn,un,Sa);break}return Za}function W(un,pa,Hn,Sa){return Sa||(Hn+=pa-un),be(Hn,Sa.slice(Hn))}function be(un,pa){var Hn=$(),Sa=[],Za=[],zi,Bo=0,Zs=!0,gl;function jl(nm){gl||(gl=un),Sa.push(nm),un+=nm.length}pa!==void 0&&(pa!==\"\"&&jl(pa),Bo=1);var vl=me();e:for(;;){switch(vl){case 4:Bo=0,Sa.push(u.getTokenText()),un=0;break;case 59:if(Bo===3||Bo===2&&(!Zs||ht(nr))){Sa.push(u.getTokenText());break}u.setTextPos(u.getTextPos()-1);case 1:break e;case 5:if(Bo===2||Bo===3)jl(u.getTokenText());else{var Bf=u.getTokenText();gl!==void 0&&un+Bf.length>gl&&Sa.push(Bf.slice(gl-un)),un+=Bf.length}break;case 18:Bo=2;var po=u.getStartPos(),s_=u.getTextPos()-1,np=Br(s_);np?(Za.push(rt(R.createJSDocText(Sa.join(\"\")),zi!=null?zi:Hn,po)),Za.push(np),Sa=[],zi=u.getTextPos()):jl(u.getTokenText());break;case 61:Bo===3?Bo=2:Bo=3,jl(u.getTokenText());break;case 41:if(Bo===0){Bo=1,un+=1;break}default:Bo!==3&&(Bo=2),jl(u.getTokenText());break}Zs=me()===5,vl=dr()}if(ul(Sa),Ms(Sa),Za.length)return Sa.length&&Za.push(rt(R.createJSDocText(Sa.join(\"\")),zi!=null?zi:Hn)),It(Za,Hn,u.getTextPos());if(Sa.length)return Sa.join(\"\")}function nr(){var un=dr();return un===5||un===4}function Br(un){var pa=xt(Ht);if(!!pa){dr(),_u();var Hn=$(),Sa=e.tokenIsIdentifierOrKeyword(me())?Pn(!0):void 0;if(Sa)for(;me()===80;)Nr(),dr(),Sa=rt(R.createJSDocMemberName(Sa,_i()),Hn);for(var Za=[];me()!==19&&me()!==4&&me()!==1;)Za.push(u.getTokenText()),dr();var zi=pa===\"link\"?R.createJSDocLink:pa===\"linkcode\"?R.createJSDocLinkCode:R.createJSDocLinkPlain;return rt(zi(Sa,Za.join(\"\")),un,u.getTextPos())}}function Ht(){if(ml(),me()===18&&dr()===59&&e.tokenIsIdentifierOrKeyword(dr())){var un=u.getTokenValue();if(un===\"link\"||un===\"linkcode\"||un===\"linkplain\")return un}}function an(un,pa,Hn,Sa){return rt(R.createJSDocUnknownTag(pa,W(un,$(),Hn,Sa)),un)}function si(un){!un||(Ho?Ho.push(un):(Ho=[un],gs=un.pos),_l=un.end)}function Io(){return ml(),me()===18?Fr():void 0}function vs(){var un=xp(22);un&&_u();var pa=xp(61),Hn=Pg();return pa&&Mn(61),un&&(_u(),St(63)&&Rs(),mt(23)),{name:Hn,isBracketed:un}}function rp(un){switch(un.kind){case 147:return!0;case 182:return rp(un.elementType);default:return e.isTypeReferenceNode(un)&&e.isIdentifier(un.typeName)&&un.typeName.escapedText===\"Object\"&&!un.typeArguments}}function Gc(un,pa,Hn,Sa){var Za=Io(),zi=!Za;ml();var Bo=vs(),Zs=Bo.name,gl=Bo.isBracketed,jl=ml();zi&&!ht(Ht)&&(Za=Io());var vl=W(un,$(),Sa,jl),Bf=Hn!==4&&Pm(Za,Zs,Hn,Sa);Bf&&(Za=Bf,zi=!0);var po=Hn===1?R.createJSDocPropertyTag(pa,Zs,gl,Za,zi,vl):R.createJSDocParameterTag(pa,Zs,gl,Za,zi,vl);return rt(po,un)}function Pm(un,pa,Hn,Sa){if(un&&rp(un.type)){for(var Za=$(),zi=void 0,Bo=void 0;zi=xt(function(){return Ju(Hn,Sa,pa)});)(zi.kind===338||zi.kind===345)&&(Bo=e.append(Bo,zi));if(Bo){var Zs=rt(R.createJSDocTypeLiteral(Bo,un.type.kind===182),Za);return rt(R.createJSDocTypeExpression(Zs),Za)}}}function tp(un,pa,Hn,Sa){e.some(Ho,e.isJSDocReturnTag)&&je(pa.pos,u.getTokenPos(),e.Diagnostics._0_tag_already_specified,pa.escapedText);var Za=Io();return rt(R.createJSDocReturnTag(pa,Za,W(un,$(),Hn,Sa)),un)}function Fm(un,pa,Hn,Sa){e.some(Ho,e.isJSDocTypeTag)&&je(pa.pos,u.getTokenPos(),e.Diagnostics._0_tag_already_specified,pa.escapedText);var Za=Fr(!0),zi=Hn!==void 0&&Sa!==void 0?W(un,$(),Hn,Sa):void 0;return rt(R.createJSDocTypeTag(pa,Za,zi),un)}function Mv(un,pa,Hn,Sa){var Za=me()===22||ht(function(){return dr()===59&&e.tokenIsIdentifierOrKeyword(dr())&&u.getTokenValue()===\"link\"}),zi=Za?void 0:at(),Bo=Hn!==void 0&&Sa!==void 0?W(un,$(),Hn,Sa):void 0;return rt(R.createJSDocSeeTag(pa,zi,Bo),un)}function An(un,pa,Hn,Sa){var Za=$(),zi=Gf(),Bo=u.getStartPos(),Zs=W(un,Bo,Hn,Sa);Zs||(Bo=u.getStartPos());var gl=typeof Zs!=\"string\"?It(e.concatenate([rt(zi,Za,Bo)],Zs),Za):zi.text+Zs;return rt(R.createJSDocAuthorTag(pa,gl),un)}function Gf(){for(var un=[],pa=!1,Hn=u.getToken();Hn!==1&&Hn!==4;){if(Hn===29)pa=!0;else{if(Hn===59&&!pa)break;if(Hn===31&&pa){un.push(u.getTokenText()),u.setTextPos(u.getTokenPos()+1);break}}un.push(u.getTokenText()),Hn=dr()}return R.createJSDocText(un.join(\"\"))}function nf(un,pa,Hn,Sa){var Za=Cp();return rt(R.createJSDocImplementsTag(pa,Za,W(un,$(),Hn,Sa)),un)}function O_(un,pa,Hn,Sa){var Za=Cp();return rt(R.createJSDocAugmentsTag(pa,Za,W(un,$(),Hn,Sa)),un)}function Cp(){var un=en(18),pa=$(),Hn=Gm(),Sa=gn(),Za=R.createExpressionWithTypeArguments(Hn,Sa),zi=rt(Za,pa);return un&&mt(19),zi}function Gm(){for(var un=$(),pa=Ku();en(24);){var Hn=Ku();pa=rt(R.createPropertyAccessExpression(pa,Hn),un)}return pa}function Hu(un,pa,Hn,Sa,Za){return rt(pa(Hn,W(un,$(),Sa,Za)),un)}function rm(un,pa,Hn,Sa){var Za=Fr(!0);return _u(),rt(R.createJSDocThisTag(pa,Za,W(un,$(),Hn,Sa)),un)}function mu(un,pa,Hn,Sa){var Za=Fr(!0);return _u(),rt(R.createJSDocEnumTag(pa,Za,W(un,$(),Hn,Sa)),un)}function Pv(un,pa,Hn,Sa){var Za,zi=Io();ml();var Bo=i_();_u();var Zs=be(Hn),gl;if(!zi||rp(zi.type)){for(var jl=void 0,vl=void 0,Bf=void 0,po=!1;jl=xt(function(){return Bm(Hn)});)if(po=!0,jl.kind===341)if(vl){or(e.Diagnostics.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);var s_=e.lastOrUndefined(Pe);s_&&e.addRelatedInfo(s_,e.createDetachedDiagnostic(Y,0,0,e.Diagnostics.The_tag_was_first_specified_here));break}else vl=jl;else Bf=e.append(Bf,jl);if(po){var np=zi&&zi.type.kind===182,nm=R.createJSDocTypeLiteral(Bf,np);zi=vl&&vl.typeExpression&&!rp(vl.typeExpression.type)?vl.typeExpression:rt(nm,un),gl=zi.end}}gl=gl||Zs!==void 0?$():((Za=Bo!=null?Bo:zi)!==null&&Za!==void 0?Za:pa).end,Zs||(Zs=W(un,gl,Hn,Sa));var am=R.createJSDocTypedefTag(pa,zi,Bo,Zs);return rt(am,un,gl)}function i_(un){var pa=u.getTokenPos();if(!!e.tokenIsIdentifierOrKeyword(me())){var Hn=Ku();if(en(24)){var Sa=i_(!0),Za=R.createModuleDeclaration(void 0,void 0,Hn,Sa,un?4:void 0);return rt(Za,pa)}return un&&(Hn.isInJSDocNamespace=!0),Hn}}function tm(un){for(var pa=$(),Hn,Sa;Hn=xt(function(){return Ju(4,un)});)Sa=e.append(Sa,Hn);return It(Sa||[],pa)}function o_(un,pa,Hn,Sa){var Za=i_();_u();var zi=be(Hn),Bo=tm(Hn),Zs=xt(function(){if(xp(59)){var jl=_(Hn);if(jl&&jl.kind===339)return jl}}),gl=rt(R.createJSDocSignature(void 0,Bo,Zs),un);return zi||(zi=W(un,$(),Hn,Sa)),rt(R.createJSDocCallbackTag(pa,gl,Za,zi),un)}function vd(un,pa){for(;!e.isIdentifier(un)||!e.isIdentifier(pa);)if(!e.isIdentifier(un)&&!e.isIdentifier(pa)&&un.right.escapedText===pa.right.escapedText)un=un.left,pa=pa.left;else return!1;return un.escapedText===pa.escapedText}function Bm(un){return Ju(1,un)}function Ju(un,pa,Hn){for(var Sa=!0,Za=!1;;)switch(dr()){case 59:if(Sa){var zi=Fv(un,pa);return zi&&(zi.kind===338||zi.kind===345)&&un!==4&&Hn&&(e.isIdentifier(zi.name)||!vd(Hn,zi.name.left))?!1:zi}Za=!1;break;case 4:Sa=!0,Za=!1;break;case 41:Za&&(Sa=!1),Za=!0;break;case 79:Sa=!1;break;case 1:return!1}}function Fv(un,pa){e.Debug.assert(me()===59);var Hn=u.getStartPos();dr();var Sa=Ku();_u();var Za;switch(Sa.escapedText){case\"type\":return un===1&&Fm(Hn,Sa);case\"prop\":case\"property\":Za=1;break;case\"arg\":case\"argument\":case\"param\":Za=6;break;default:return!1}return un&Za?Gc(Hn,Sa,un,pa):!1}function wg(){var un=$(),pa=xp(22);pa&&_u();var Hn=Ku(e.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces),Sa;if(pa&&(_u(),mt(63),Sa=ze(4194304,Us),mt(23)),!e.nodeIsMissing(Hn))return rt(R.createTypeParameterDeclaration(Hn,void 0,Sa),un)}function xl(){var un=$(),pa=[];do{_u();var Hn=wg();Hn!==void 0&&pa.push(Hn),ml()}while(xp(27));return It(pa,un)}function Mg(un,pa,Hn,Sa){var Za=me()===18?Fr():void 0,zi=xl();return rt(R.createJSDocTemplateTag(pa,Za,zi,W(un,$(),Hn,Sa)),un)}function xp(un){return me()===un?(dr(),!0):!1}function Pg(){var un=Ku();for(en(22)&&mt(23);en(24);){var pa=Ku();en(22)&&mt(23),un=da(un,pa)}return un}function Ku(un){if(!e.tokenIsIdentifierOrKeyword(me()))return Cn(79,!un,un||e.Diagnostics.Identifier_expected);Le++;var pa=u.getTokenPos(),Hn=u.getTextPos(),Sa=me(),Za=Qn(u.getTokenValue()),zi=rt(R.createIdentifier(Za,void 0,Sa),pa,Hn);return dr(),zi}}})(a_=m.JSDocParser||(m.JSDocParser={}))})(O||(O={}));var q;(function(m){function u(K,Te,ge,ke){if(ke=ke||e.Debug.shouldAssert(2),R(K,Te,ge,ke),e.textChangeRangeIsUnchanged(ge))return K;if(K.statements.length===0)return O.parseSourceFile(K.fileName,Te,K.languageVersion,void 0,!0,K.scriptKind);var Pe=K;e.Debug.assert(!Pe.hasBeenIncrementallyParsed),Pe.hasBeenIncrementallyParsed=!0,O.fixupParentReferences(Pe);var Ie=K.text,Ge=Y(K),he=Se(K,ge);R(K,Te,he,ke),e.Debug.assert(he.span.start<=ge.span.start),e.Debug.assert(e.textSpanEnd(he.span)===e.textSpanEnd(ge.span)),e.Debug.assert(e.textSpanEnd(e.textChangeRangeNewSpan(he))===e.textSpanEnd(e.textChangeRangeNewSpan(ge)));var ve=e.textChangeRangeNewSpan(he).length-he.span.length;j(Pe,he.span.start,e.textSpanEnd(he.span),e.textSpanEnd(e.textChangeRangeNewSpan(he)),ve,Ie,Te,ke);var Ve=O.parseSourceFile(K.fileName,Te,K.languageVersion,Ge,!0,K.scriptKind);return Ve.commentDirectives=g(K.commentDirectives,Ve.commentDirectives,he.span.start,e.textSpanEnd(he.span),ve,Ie,Te,ke),Ve.impliedNodeFormat=K.impliedNodeFormat,Ve}m.updateSourceFile=u;function g(K,Te,ge,ke,Pe,Ie,Ge,he){if(!K)return Te;for(var ve,Ve=!1,_e=0,Le=K;_e<Le.length;_e++){var qe=Le[_e],Xe=qe.range,De=qe.type;if(Xe.end<ge)ve=e.append(ve,qe);else if(Xe.pos>ke){Ye();var Ae={range:{pos:Xe.pos+Pe,end:Xe.end+Pe},type:De};ve=e.append(ve,Ae),he&&e.Debug.assert(Ie.substring(Xe.pos,Xe.end)===Ge.substring(Ae.range.pos,Ae.range.end))}}return Ye(),ve;function Ye(){Ve||(Ve=!0,ve?Te&&ve.push.apply(ve,Te):ve=Te)}}function P(K,Te,ge,ke,Pe,Ie){Te?he(K):Ge(K);return;function Ge(ve){var Ve=\"\";if(Ie&&te(ve)&&(Ve=ke.substring(ve.pos,ve.end)),ve._children&&(ve._children=void 0),e.setTextRangePosEnd(ve,ve.pos+ge,ve.end+ge),Ie&&te(ve)&&e.Debug.assert(Ve===Pe.substring(ve.pos,ve.end)),z(ve,Ge,he),e.hasJSDocNodes(ve))for(var _e=0,Le=ve.jsDoc;_e<Le.length;_e++){var qe=Le[_e];Ge(qe)}X(ve,Ie)}function he(ve){ve._children=void 0,e.setTextRangePosEnd(ve,ve.pos+ge,ve.end+ge);for(var Ve=0,_e=ve;Ve<_e.length;Ve++){var Le=_e[Ve];Ge(Le)}}}function te(K){switch(K.kind){case 10:case 8:case 79:return!0}return!1}function ue(K,Te,ge,ke,Pe){e.Debug.assert(K.end>=Te,\"Adjusting an element that was entirely before the change range\"),e.Debug.assert(K.pos<=ge,\"Adjusting an element that was entirely after the change range\"),e.Debug.assert(K.pos<=K.end);var Ie=Math.min(K.pos,ke),Ge=K.end>=ge?K.end+Pe:Math.min(K.end,ke);e.Debug.assert(Ie<=Ge),K.parent&&(e.Debug.assertGreaterThanOrEqual(Ie,K.parent.pos),e.Debug.assertLessThanOrEqual(Ge,K.parent.end)),e.setTextRangePosEnd(K,Ie,Ge)}function X(K,Te){if(Te){var ge=K.pos,ke=function(he){e.Debug.assert(he.pos>=ge),ge=he.end};if(e.hasJSDocNodes(K))for(var Pe=0,Ie=K.jsDoc;Pe<Ie.length;Pe++){var Ge=Ie[Pe];ke(Ge)}z(K,ke),e.Debug.assert(ge<=K.end)}}function j(K,Te,ge,ke,Pe,Ie,Ge,he){ve(K);return;function ve(_e){if(e.Debug.assert(_e.pos<=_e.end),_e.pos>ge){P(_e,!1,Pe,Ie,Ge,he);return}var Le=_e.end;if(Le>=Te){if(_e.intersectsChange=!0,_e._children=void 0,ue(_e,Te,ge,ke,Pe),z(_e,ve,Ve),e.hasJSDocNodes(_e))for(var qe=0,Xe=_e.jsDoc;qe<Xe.length;qe++){var De=Xe[qe];ve(De)}X(_e,he);return}e.Debug.assert(Le<Te)}function Ve(_e){if(e.Debug.assert(_e.pos<=_e.end),_e.pos>ge){P(_e,!0,Pe,Ie,Ge,he);return}var Le=_e.end;if(Le>=Te){_e.intersectsChange=!0,_e._children=void 0,ue(_e,Te,ge,ke,Pe);for(var qe=0,Xe=_e;qe<Xe.length;qe++){var De=Xe[qe];ve(De)}return}e.Debug.assert(Le<Te)}}function Se(K,Te){for(var ge=1,ke=Te.span.start,Pe=0;ke>0&&Pe<=ge;Pe++){var Ie=Ce(K,ke);e.Debug.assert(Ie.pos<=ke);var Ge=Ie.pos;ke=Math.max(0,Ge-1)}var he=e.createTextSpanFromBounds(ke,e.textSpanEnd(Te.span)),ve=Te.newLength+(Te.span.start-ke);return e.createTextChangeRange(he,ve)}function Ce(K,Te){var ge=K,ke;if(z(K,Ge),ke){var Pe=Ie(ke);Pe.pos>ge.pos&&(ge=Pe)}return ge;function Ie(he){for(;;){var ve=e.getLastChild(he);if(ve)he=ve;else return he}}function Ge(he){if(!e.nodeIsMissing(he))if(he.pos<=Te){if(he.pos>=ge.pos&&(ge=he),Te<he.end)return z(he,Ge),!0;e.Debug.assert(he.end<=Te),ke=he}else return e.Debug.assert(he.pos>Te),!0}}function R(K,Te,ge,ke){var Pe=K.text;if(ge&&(e.Debug.assert(Pe.length-ge.span.length+ge.newLength===Te.length),ke||e.Debug.shouldAssert(3))){var Ie=Pe.substr(0,ge.span.start),Ge=Te.substr(0,ge.span.start);e.Debug.assert(Ie===Ge);var he=Pe.substring(e.textSpanEnd(ge.span),Pe.length),ve=Te.substring(e.textSpanEnd(e.textChangeRangeNewSpan(ge)),Te.length);e.Debug.assert(he===ve)}}function Y(K){var Te=K.statements,ge=0;e.Debug.assert(ge<Te.length);var ke=Te[ge],Pe=-1;return{currentNode:function(Ge){return Ge!==Pe&&(ke&&ke.end===Ge&&ge<Te.length-1&&(ge++,ke=Te[ge]),(!ke||ke.pos!==Ge)&&Ie(Ge)),Pe=Ge,e.Debug.assert(!ke||ke.pos===Ge),ke}};function Ie(Ge){Te=void 0,ge=-1,ke=void 0,z(K,he,ve);return;function he(Ve){return Ge>=Ve.pos&&Ge<Ve.end?(z(Ve,he,ve),!0):!1}function ve(Ve){if(Ge>=Ve.pos&&Ge<Ve.end)for(var _e=0;_e<Ve.length;_e++){var Le=Ve[_e];if(Le){if(Le.pos===Ge)return Te=Ve,ge=_e,ke=Le,!0;if(Le.pos<Ge&&Ge<Le.end)return z(Le,he,ve),!0}}return!1}}}m.createSyntaxCursor=Y;var U;(function(K){K[K.Value=-1]=\"Value\"})(U||(U={}))})(q||(q={}));function Z(m){return e.fileExtensionIsOneOf(m,[\".d.ts\",\".d.mts\",\".d.cts\"])}e.isDeclarationFileName=Z;function ne(m,u){for(var g=[],P=0,te=e.getLeadingCommentRanges(u,0)||e.emptyArray;P<te.length;P++){var ue=te[P],X=u.substring(ue.pos,ue.end);N(g,ue,X)}m.pragmas=new e.Map;for(var j=0,Se=g;j<Se.length;j++){var Ce=Se[j];if(m.pragmas.has(Ce.name)){var R=m.pragmas.get(Ce.name);R instanceof Array?R.push(Ce.args):m.pragmas.set(Ce.name,[R,Ce.args]);continue}m.pragmas.set(Ce.name,Ce.args)}}e.processCommentPragmas=ne;function F(m,u){m.checkJsDirective=void 0,m.referencedFiles=[],m.typeReferenceDirectives=[],m.libReferenceDirectives=[],m.amdDependencies=[],m.hasNoDefaultLib=!1,m.pragmas.forEach(function(g,P){switch(P){case\"reference\":{var te=m.referencedFiles,ue=m.typeReferenceDirectives,X=m.libReferenceDirectives;e.forEach(e.toArray(g),function(R){var Y=R.arguments,U=Y.types,K=Y.lib,Te=Y.path;R.arguments[\"no-default-lib\"]?m.hasNoDefaultLib=!0:U?ue.push({pos:U.pos,end:U.end,fileName:U.value}):K?X.push({pos:K.pos,end:K.end,fileName:K.value}):Te?te.push({pos:Te.pos,end:Te.end,fileName:Te.value}):u(R.range.pos,R.range.end-R.range.pos,e.Diagnostics.Invalid_reference_directive_syntax)});break}case\"amd-dependency\":{m.amdDependencies=e.map(e.toArray(g),function(R){return{name:R.arguments.name,path:R.arguments.path}});break}case\"amd-module\":{if(g instanceof Array)for(var j=0,Se=g;j<Se.length;j++){var Ce=Se[j];m.moduleName&&u(Ce.range.pos,Ce.range.end-Ce.range.pos,e.Diagnostics.An_AMD_module_cannot_have_multiple_name_assignments),m.moduleName=Ce.arguments.name}else m.moduleName=g.arguments.name;break}case\"ts-nocheck\":case\"ts-check\":{e.forEach(e.toArray(g),function(R){(!m.checkJsDirective||R.range.pos>m.checkJsDirective.pos)&&(m.checkJsDirective={enabled:P===\"ts-check\",end:R.range.end,pos:R.range.pos})});break}case\"jsx\":case\"jsxfrag\":case\"jsximportsource\":case\"jsxruntime\":return;default:e.Debug.fail(\"Unhandled pragma kind\")}})}e.processPragmasIntoFields=F;var Q=new e.Map;function V(m){if(Q.has(m))return Q.get(m);var u=new RegExp(\"(\\\\s\".concat(m,`\\\\s*=\\\\s*)(?:(?:'([^']*)')|(?:\"([^\"]*)\"))`),\"im\");return Q.set(m,u),u}var re=/^\\/\\/\\/\\s*<(\\S+)\\s.*?\\/>/im,T=/^\\/\\/\\/?\\s*@(\\S+)\\s*(.*)\\s*$/im;function N(m,u,g){var P=u.kind===2&&re.exec(g);if(P){var te=P[1].toLowerCase(),ue=e.commentPragmas[te];if(!ue||!(ue.kind&1))return;if(ue.args){for(var X={},j=0,Se=ue.args;j<Se.length;j++){var Ce=Se[j],R=V(Ce.name),Y=R.exec(g);if(!Y&&!Ce.optional)return;if(Y){var U=Y[2]||Y[3];if(Ce.captureSpan){var K=u.pos+Y.index+Y[1].length+1;X[Ce.name]={value:U,pos:K,end:K+U.length}}else X[Ce.name]=U}}m.push({name:te,args:{arguments:X,range:u}})}else m.push({name:te,args:{arguments:{},range:u}});return}var Te=u.kind===2&&T.exec(g);if(Te)return y(m,u,2,Te);if(u.kind===3)for(var ge=/@(\\S+)(\\s+.*)?$/gim,ke=void 0;ke=ge.exec(g);)y(m,u,4,ke)}function y(m,u,g,P){if(!!P){var te=P[1].toLowerCase(),ue=e.commentPragmas[te];if(!(!ue||!(ue.kind&g))){var X=P[2],j=D(ue,X);j!==\"fail\"&&m.push({name:te,args:{arguments:j,range:u}})}}}function D(m,u){if(!u)return{};if(!m.args)return{};for(var g=e.trimString(u).split(/\\s+/),P={},te=0;te<m.args.length;te++){var ue=m.args[te];if(!g[te]&&!ue.optional)return\"fail\";if(ue.captureSpan)return e.Debug.fail(\"Capture spans not yet implemented for non-xml pragmas\");P[ue.name]=g[te]}return P}function C(m,u){return m.kind!==u.kind?!1:m.kind===79?m.escapedText===u.escapedText:m.kind===108?!0:m.name.escapedText===u.name.escapedText&&C(m.expression,u.expression)}e.tagNamesAreEquivalent=C}(jr||(jr={})),function(e){e.compileOnSaveCommandLineOption={name:\"compileOnSave\",type:\"boolean\",defaultValueDescription:\"false\"};var n=new e.Map(e.getEntries({preserve:1,\"react-native\":3,react:2,\"react-jsx\":4,\"react-jsxdev\":5}));e.inverseJsxOptionMap=new e.Map(e.arrayFrom(e.mapIterator(n.entries(),function(tr){var xr=tr[0],Nr=tr[1];return[\"\"+Nr,xr]})));var f=[[\"es5\",\"lib.es5.d.ts\"],[\"es6\",\"lib.es2015.d.ts\"],[\"es2015\",\"lib.es2015.d.ts\"],[\"es7\",\"lib.es2016.d.ts\"],[\"es2016\",\"lib.es2016.d.ts\"],[\"es2017\",\"lib.es2017.d.ts\"],[\"es2018\",\"lib.es2018.d.ts\"],[\"es2019\",\"lib.es2019.d.ts\"],[\"es2020\",\"lib.es2020.d.ts\"],[\"es2021\",\"lib.es2021.d.ts\"],[\"esnext\",\"lib.esnext.d.ts\"],[\"dom\",\"lib.dom.d.ts\"],[\"dom.iterable\",\"lib.dom.iterable.d.ts\"],[\"webworker\",\"lib.webworker.d.ts\"],[\"webworker.importscripts\",\"lib.webworker.importscripts.d.ts\"],[\"webworker.iterable\",\"lib.webworker.iterable.d.ts\"],[\"scripthost\",\"lib.scripthost.d.ts\"],[\"es2015.core\",\"lib.es2015.core.d.ts\"],[\"es2015.collection\",\"lib.es2015.collection.d.ts\"],[\"es2015.generator\",\"lib.es2015.generator.d.ts\"],[\"es2015.iterable\",\"lib.es2015.iterable.d.ts\"],[\"es2015.promise\",\"lib.es2015.promise.d.ts\"],[\"es2015.proxy\",\"lib.es2015.proxy.d.ts\"],[\"es2015.reflect\",\"lib.es2015.reflect.d.ts\"],[\"es2015.symbol\",\"lib.es2015.symbol.d.ts\"],[\"es2015.symbol.wellknown\",\"lib.es2015.symbol.wellknown.d.ts\"],[\"es2016.array.include\",\"lib.es2016.array.include.d.ts\"],[\"es2017.object\",\"lib.es2017.object.d.ts\"],[\"es2017.sharedmemory\",\"lib.es2017.sharedmemory.d.ts\"],[\"es2017.string\",\"lib.es2017.string.d.ts\"],[\"es2017.intl\",\"lib.es2017.intl.d.ts\"],[\"es2017.typedarrays\",\"lib.es2017.typedarrays.d.ts\"],[\"es2018.asyncgenerator\",\"lib.es2018.asyncgenerator.d.ts\"],[\"es2018.asynciterable\",\"lib.es2018.asynciterable.d.ts\"],[\"es2018.intl\",\"lib.es2018.intl.d.ts\"],[\"es2018.promise\",\"lib.es2018.promise.d.ts\"],[\"es2018.regexp\",\"lib.es2018.regexp.d.ts\"],[\"es2019.array\",\"lib.es2019.array.d.ts\"],[\"es2019.object\",\"lib.es2019.object.d.ts\"],[\"es2019.string\",\"lib.es2019.string.d.ts\"],[\"es2019.symbol\",\"lib.es2019.symbol.d.ts\"],[\"es2020.bigint\",\"lib.es2020.bigint.d.ts\"],[\"es2020.promise\",\"lib.es2020.promise.d.ts\"],[\"es2020.sharedmemory\",\"lib.es2020.sharedmemory.d.ts\"],[\"es2020.string\",\"lib.es2020.string.d.ts\"],[\"es2020.symbol.wellknown\",\"lib.es2020.symbol.wellknown.d.ts\"],[\"es2020.intl\",\"lib.es2020.intl.d.ts\"],[\"es2021.promise\",\"lib.es2021.promise.d.ts\"],[\"es2021.string\",\"lib.es2021.string.d.ts\"],[\"es2021.weakref\",\"lib.es2021.weakref.d.ts\"],[\"es2021.intl\",\"lib.es2021.intl.d.ts\"],[\"esnext.array\",\"lib.es2019.array.d.ts\"],[\"esnext.symbol\",\"lib.es2019.symbol.d.ts\"],[\"esnext.asynciterable\",\"lib.es2018.asynciterable.d.ts\"],[\"esnext.intl\",\"lib.esnext.intl.d.ts\"],[\"esnext.bigint\",\"lib.es2020.bigint.d.ts\"],[\"esnext.string\",\"lib.es2021.string.d.ts\"],[\"esnext.promise\",\"lib.es2021.promise.d.ts\"],[\"esnext.weakref\",\"lib.es2021.weakref.d.ts\"]];e.libs=f.map(function(tr){return tr[0]}),e.libMap=new e.Map(f),e.optionsForWatch=[{name:\"watchFile\",type:new e.Map(e.getEntries({fixedpollinginterval:e.WatchFileKind.FixedPollingInterval,prioritypollinginterval:e.WatchFileKind.PriorityPollingInterval,dynamicprioritypolling:e.WatchFileKind.DynamicPriorityPolling,fixedchunksizepolling:e.WatchFileKind.FixedChunkSizePolling,usefsevents:e.WatchFileKind.UseFsEvents,usefseventsonparentdirectory:e.WatchFileKind.UseFsEventsOnParentDirectory})),category:e.Diagnostics.Watch_and_Build_Modes,description:e.Diagnostics.Specify_how_the_TypeScript_watch_mode_works},{name:\"watchDirectory\",type:new e.Map(e.getEntries({usefsevents:e.WatchDirectoryKind.UseFsEvents,fixedpollinginterval:e.WatchDirectoryKind.FixedPollingInterval,dynamicprioritypolling:e.WatchDirectoryKind.DynamicPriorityPolling,fixedchunksizepolling:e.WatchDirectoryKind.FixedChunkSizePolling})),category:e.Diagnostics.Watch_and_Build_Modes,description:e.Diagnostics.Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality},{name:\"fallbackPolling\",type:new e.Map(e.getEntries({fixedinterval:e.PollingWatchKind.FixedInterval,priorityinterval:e.PollingWatchKind.PriorityInterval,dynamicpriority:e.PollingWatchKind.DynamicPriority,fixedchunksize:e.PollingWatchKind.FixedChunkSize})),category:e.Diagnostics.Watch_and_Build_Modes,description:e.Diagnostics.Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers},{name:\"synchronousWatchDirectory\",type:\"boolean\",category:e.Diagnostics.Watch_and_Build_Modes,description:e.Diagnostics.Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively,defaultValueDescription:\"false\"},{name:\"excludeDirectories\",type:\"list\",element:{name:\"excludeDirectory\",type:\"string\",isFilePath:!0,extraValidation:me},category:e.Diagnostics.Watch_and_Build_Modes,description:e.Diagnostics.Remove_a_list_of_directories_from_the_watch_process},{name:\"excludeFiles\",type:\"list\",element:{name:\"excludeFile\",type:\"string\",isFilePath:!0,extraValidation:me},category:e.Diagnostics.Watch_and_Build_Modes,description:e.Diagnostics.Remove_a_list_of_files_from_the_watch_mode_s_processing}],e.commonOptionsWithBuild=[{name:\"help\",shortName:\"h\",type:\"boolean\",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Print_this_message,defaultValueDescription:\"false\"},{name:\"help\",shortName:\"?\",type:\"boolean\",defaultValueDescription:\"false\"},{name:\"watch\",shortName:\"w\",type:\"boolean\",showInSimplifiedHelpView:!0,isCommandLineOnly:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Watch_input_files,defaultValueDescription:\"false\"},{name:\"preserveWatchOutput\",type:\"boolean\",showInSimplifiedHelpView:!1,category:e.Diagnostics.Output_Formatting,description:e.Diagnostics.Disable_wiping_the_console_in_watch_mode,defaultValueDescription:\"false\"},{name:\"listFiles\",type:\"boolean\",category:e.Diagnostics.Compiler_Diagnostics,description:e.Diagnostics.Print_all_of_the_files_read_during_the_compilation,defaultValueDescription:\"false\"},{name:\"explainFiles\",type:\"boolean\",category:e.Diagnostics.Compiler_Diagnostics,description:e.Diagnostics.Print_files_read_during_the_compilation_including_why_it_was_included,defaultValueDescription:\"false\"},{name:\"listEmittedFiles\",type:\"boolean\",category:e.Diagnostics.Compiler_Diagnostics,description:e.Diagnostics.Print_the_names_of_emitted_files_after_a_compilation,defaultValueDescription:\"false\"},{name:\"pretty\",type:\"boolean\",showInSimplifiedHelpView:!0,category:e.Diagnostics.Output_Formatting,description:e.Diagnostics.Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read,defaultValueDescription:\"true\"},{name:\"traceResolution\",type:\"boolean\",category:e.Diagnostics.Compiler_Diagnostics,description:e.Diagnostics.Log_paths_used_during_the_moduleResolution_process,defaultValueDescription:\"false\"},{name:\"diagnostics\",type:\"boolean\",category:e.Diagnostics.Compiler_Diagnostics,description:e.Diagnostics.Output_compiler_performance_information_after_building,defaultValueDescription:\"false\"},{name:\"extendedDiagnostics\",type:\"boolean\",category:e.Diagnostics.Compiler_Diagnostics,description:e.Diagnostics.Output_more_detailed_compiler_performance_information_after_building,defaultValueDescription:\"false\"},{name:\"generateCpuProfile\",type:\"string\",isFilePath:!0,paramType:e.Diagnostics.FILE_OR_DIRECTORY,category:e.Diagnostics.Compiler_Diagnostics,description:e.Diagnostics.Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging,defaultValueDescription:\"profile.cpuprofile\"},{name:\"generateTrace\",type:\"string\",isFilePath:!0,isCommandLineOnly:!0,paramType:e.Diagnostics.DIRECTORY,category:e.Diagnostics.Compiler_Diagnostics,description:e.Diagnostics.Generates_an_event_trace_and_a_list_of_types},{name:\"incremental\",shortName:\"i\",type:\"boolean\",category:e.Diagnostics.Projects,description:e.Diagnostics.Enable_incremental_compilation,transpileOptionValue:void 0,defaultValueDescription:e.Diagnostics.false_unless_composite_is_set},{name:\"assumeChangesOnlyAffectDirectDependencies\",type:\"boolean\",affectsSemanticDiagnostics:!0,affectsEmit:!0,category:e.Diagnostics.Watch_and_Build_Modes,description:e.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,defaultValueDescription:\"false\"},{name:\"locale\",type:\"string\",category:e.Diagnostics.Command_line_Options,isCommandLineOnly:!0,description:e.Diagnostics.Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit,defaultValueDescription:e.Diagnostics.Platform_specific}],e.targetOptionDeclaration={name:\"target\",shortName:\"t\",type:new e.Map(e.getEntries({es3:0,es5:1,es6:2,es2015:2,es2016:3,es2017:4,es2018:5,es2019:6,es2020:7,es2021:8,esnext:99})),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,paramType:e.Diagnostics.VERSION,showInSimplifiedHelpView:!0,category:e.Diagnostics.Language_and_Environment,description:e.Diagnostics.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations,defaultValueDescription:\"ES3\"};var p=[{name:\"all\",type:\"boolean\",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Show_all_compiler_options,defaultValueDescription:\"false\"},{name:\"version\",shortName:\"v\",type:\"boolean\",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Print_the_compiler_s_version,defaultValueDescription:\"false\"},{name:\"init\",type:\"boolean\",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file,defaultValueDescription:\"false\"},{name:\"project\",shortName:\"p\",type:\"string\",isFilePath:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,paramType:e.Diagnostics.FILE_OR_DIRECTORY,description:e.Diagnostics.Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json},{name:\"build\",type:\"boolean\",shortName:\"b\",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Build_one_or_more_projects_and_their_dependencies_if_out_of_date,defaultValueDescription:\"false\"},{name:\"showConfig\",type:\"boolean\",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,isCommandLineOnly:!0,description:e.Diagnostics.Print_the_final_configuration_instead_of_building,defaultValueDescription:\"false\"},{name:\"listFilesOnly\",type:\"boolean\",category:e.Diagnostics.Command_line_Options,affectsSemanticDiagnostics:!0,affectsEmit:!0,isCommandLineOnly:!0,description:e.Diagnostics.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing,defaultValueDescription:\"false\"},e.targetOptionDeclaration,{name:\"module\",shortName:\"m\",type:new e.Map(e.getEntries({none:e.ModuleKind.None,commonjs:e.ModuleKind.CommonJS,amd:e.ModuleKind.AMD,system:e.ModuleKind.System,umd:e.ModuleKind.UMD,es6:e.ModuleKind.ES2015,es2015:e.ModuleKind.ES2015,es2020:e.ModuleKind.ES2020,es2022:e.ModuleKind.ES2022,esnext:e.ModuleKind.ESNext,node12:e.ModuleKind.Node12,nodenext:e.ModuleKind.NodeNext})),affectsModuleResolution:!0,affectsEmit:!0,paramType:e.Diagnostics.KIND,showInSimplifiedHelpView:!0,category:e.Diagnostics.Modules,description:e.Diagnostics.Specify_what_module_code_is_generated},{name:\"lib\",type:\"list\",element:{name:\"lib\",type:e.libMap},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Language_and_Environment,description:e.Diagnostics.Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment,transpileOptionValue:void 0},{name:\"allowJs\",type:\"boolean\",affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.JavaScript_Support,description:e.Diagnostics.Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files,defaultValueDescription:\"false\"},{name:\"checkJs\",type:\"boolean\",showInSimplifiedHelpView:!0,category:e.Diagnostics.JavaScript_Support,description:e.Diagnostics.Enable_error_reporting_in_type_checked_JavaScript_files,defaultValueDescription:\"false\"},{name:\"jsx\",type:n,affectsSourceFile:!0,affectsEmit:!0,affectsModuleResolution:!0,paramType:e.Diagnostics.KIND,showInSimplifiedHelpView:!0,category:e.Diagnostics.Language_and_Environment,description:e.Diagnostics.Specify_what_JSX_code_is_generated,defaultValueDescription:\"undefined\"},{name:\"declaration\",shortName:\"d\",type:\"boolean\",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Emit,transpileOptionValue:void 0,description:e.Diagnostics.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project,defaultValueDescription:e.Diagnostics.false_unless_composite_is_set},{name:\"declarationMap\",type:\"boolean\",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Emit,transpileOptionValue:void 0,defaultValueDescription:\"false\",description:e.Diagnostics.Create_sourcemaps_for_d_ts_files},{name:\"emitDeclarationOnly\",type:\"boolean\",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Only_output_d_ts_files_and_not_JavaScript_files,transpileOptionValue:void 0,defaultValueDescription:\"false\"},{name:\"sourceMap\",type:\"boolean\",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Emit,defaultValueDescription:\"false\",description:e.Diagnostics.Create_source_map_files_for_emitted_JavaScript_files},{name:\"outFile\",type:\"string\",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.FILE,showInSimplifiedHelpView:!0,category:e.Diagnostics.Emit,description:e.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,transpileOptionValue:void 0},{name:\"outDir\",type:\"string\",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.DIRECTORY,showInSimplifiedHelpView:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Specify_an_output_folder_for_all_emitted_files},{name:\"rootDir\",type:\"string\",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Modules,description:e.Diagnostics.Specify_the_root_folder_within_your_source_files,defaultValueDescription:e.Diagnostics.Computed_from_the_list_of_input_files},{name:\"composite\",type:\"boolean\",affectsEmit:!0,isTSConfigOnly:!0,category:e.Diagnostics.Projects,transpileOptionValue:void 0,defaultValueDescription:\"false\",description:e.Diagnostics.Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references},{name:\"tsBuildInfoFile\",type:\"string\",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.FILE,category:e.Diagnostics.Projects,transpileOptionValue:void 0,defaultValueDescription:\".tsbuildinfo\",description:e.Diagnostics.Specify_the_folder_for_tsbuildinfo_incremental_compilation_files},{name:\"removeComments\",type:\"boolean\",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Emit,defaultValueDescription:\"false\",description:e.Diagnostics.Disable_emitting_comments},{name:\"noEmit\",type:\"boolean\",showInSimplifiedHelpView:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Disable_emitting_files_from_a_compilation,transpileOptionValue:void 0,defaultValueDescription:\"false\"},{name:\"importHelpers\",type:\"boolean\",affectsEmit:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file,defaultValueDescription:\"false\"},{name:\"importsNotUsedAsValues\",type:new e.Map(e.getEntries({remove:0,preserve:1,error:2})),affectsEmit:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types},{name:\"downlevelIteration\",type:\"boolean\",affectsEmit:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration,defaultValueDescription:\"false\"},{name:\"isolatedModules\",type:\"boolean\",category:e.Diagnostics.Interop_Constraints,description:e.Diagnostics.Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports,transpileOptionValue:!0,defaultValueDescription:\"false\"},{name:\"strict\",type:\"boolean\",showInSimplifiedHelpView:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Enable_all_strict_type_checking_options,defaultValueDescription:\"false\"},{name:\"noImplicitAny\",type:\"boolean\",affectsSemanticDiagnostics:!0,strictFlag:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type,defaultValueDescription:e.Diagnostics.false_unless_strict_is_set},{name:\"strictNullChecks\",type:\"boolean\",affectsSemanticDiagnostics:!0,strictFlag:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.When_type_checking_take_into_account_null_and_undefined,defaultValueDescription:e.Diagnostics.false_unless_strict_is_set},{name:\"strictFunctionTypes\",type:\"boolean\",strictFlag:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible,defaultValueDescription:e.Diagnostics.false_unless_strict_is_set},{name:\"strictBindCallApply\",type:\"boolean\",strictFlag:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function,defaultValueDescription:e.Diagnostics.false_unless_strict_is_set},{name:\"strictPropertyInitialization\",type:\"boolean\",affectsSemanticDiagnostics:!0,strictFlag:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor,defaultValueDescription:e.Diagnostics.false_unless_strict_is_set},{name:\"noImplicitThis\",type:\"boolean\",affectsSemanticDiagnostics:!0,strictFlag:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Enable_error_reporting_when_this_is_given_the_type_any,defaultValueDescription:e.Diagnostics.false_unless_strict_is_set},{name:\"useUnknownInCatchVariables\",type:\"boolean\",affectsSemanticDiagnostics:!0,strictFlag:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Type_catch_clause_variables_as_unknown_instead_of_any,defaultValueDescription:\"false\"},{name:\"alwaysStrict\",type:\"boolean\",affectsSourceFile:!0,strictFlag:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Ensure_use_strict_is_always_emitted,defaultValueDescription:e.Diagnostics.false_unless_strict_is_set},{name:\"noUnusedLocals\",type:\"boolean\",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Enable_error_reporting_when_a_local_variables_aren_t_read,defaultValueDescription:\"false\"},{name:\"noUnusedParameters\",type:\"boolean\",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Raise_an_error_when_a_function_parameter_isn_t_read,defaultValueDescription:\"false\"},{name:\"exactOptionalPropertyTypes\",type:\"boolean\",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Interpret_optional_property_types_as_written_rather_than_adding_undefined,defaultValueDescription:\"false\"},{name:\"noImplicitReturns\",type:\"boolean\",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function,defaultValueDescription:\"false\"},{name:\"noFallthroughCasesInSwitch\",type:\"boolean\",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Enable_error_reporting_for_fallthrough_cases_in_switch_statements,defaultValueDescription:\"false\"},{name:\"noUncheckedIndexedAccess\",type:\"boolean\",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Include_undefined_in_index_signature_results,defaultValueDescription:\"false\"},{name:\"noImplicitOverride\",type:\"boolean\",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier,defaultValueDescription:\"false\"},{name:\"noPropertyAccessFromIndexSignature\",type:\"boolean\",showInSimplifiedHelpView:!1,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type,defaultValueDescription:\"false\"},{name:\"moduleResolution\",type:new e.Map(e.getEntries({node:e.ModuleResolutionKind.NodeJs,classic:e.ModuleResolutionKind.Classic,node12:e.ModuleResolutionKind.Node12,nodenext:e.ModuleResolutionKind.NodeNext})),affectsModuleResolution:!0,paramType:e.Diagnostics.STRATEGY,category:e.Diagnostics.Modules,description:e.Diagnostics.Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier,defaultValueDescription:e.Diagnostics.module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node},{name:\"baseUrl\",type:\"string\",affectsModuleResolution:!0,isFilePath:!0,category:e.Diagnostics.Modules,description:e.Diagnostics.Specify_the_base_directory_to_resolve_non_relative_module_names},{name:\"paths\",type:\"object\",affectsModuleResolution:!0,isTSConfigOnly:!0,category:e.Diagnostics.Modules,description:e.Diagnostics.Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations,transpileOptionValue:void 0},{name:\"rootDirs\",type:\"list\",isTSConfigOnly:!0,element:{name:\"rootDirs\",type:\"string\",isFilePath:!0},affectsModuleResolution:!0,category:e.Diagnostics.Modules,description:e.Diagnostics.Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules,transpileOptionValue:void 0,defaultValueDescription:e.Diagnostics.Computed_from_the_list_of_input_files},{name:\"typeRoots\",type:\"list\",element:{name:\"typeRoots\",type:\"string\",isFilePath:!0},affectsModuleResolution:!0,category:e.Diagnostics.Modules,description:e.Diagnostics.Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types},{name:\"types\",type:\"list\",element:{name:\"types\",type:\"string\"},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Modules,description:e.Diagnostics.Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file,transpileOptionValue:void 0},{name:\"allowSyntheticDefaultImports\",type:\"boolean\",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Interop_Constraints,description:e.Diagnostics.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export,defaultValueDescription:e.Diagnostics.module_system_or_esModuleInterop},{name:\"esModuleInterop\",type:\"boolean\",affectsSemanticDiagnostics:!0,affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Interop_Constraints,description:e.Diagnostics.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility,defaultValueDescription:\"false\"},{name:\"preserveSymlinks\",type:\"boolean\",category:e.Diagnostics.Interop_Constraints,description:e.Diagnostics.Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node,defaultValueDescription:\"false\"},{name:\"allowUmdGlobalAccess\",type:\"boolean\",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Modules,description:e.Diagnostics.Allow_accessing_UMD_globals_from_modules,defaultValueDescription:\"false\"},{name:\"sourceRoot\",type:\"string\",affectsEmit:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Emit,description:e.Diagnostics.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code},{name:\"mapRoot\",type:\"string\",affectsEmit:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Emit,description:e.Diagnostics.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations},{name:\"inlineSourceMap\",type:\"boolean\",affectsEmit:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Include_sourcemap_files_inside_the_emitted_JavaScript,defaultValueDescription:\"false\"},{name:\"inlineSources\",type:\"boolean\",affectsEmit:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript,defaultValueDescription:\"false\"},{name:\"experimentalDecorators\",type:\"boolean\",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Language_and_Environment,description:e.Diagnostics.Enable_experimental_support_for_TC39_stage_2_draft_decorators,defaultValueDescription:\"false\"},{name:\"emitDecoratorMetadata\",type:\"boolean\",affectsSemanticDiagnostics:!0,affectsEmit:!0,category:e.Diagnostics.Language_and_Environment,description:e.Diagnostics.Emit_design_type_metadata_for_decorated_declarations_in_source_files,defaultValueDescription:\"false\"},{name:\"jsxFactory\",type:\"string\",category:e.Diagnostics.Language_and_Environment,description:e.Diagnostics.Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h,defaultValueDescription:\"`React.createElement`\"},{name:\"jsxFragmentFactory\",type:\"string\",category:e.Diagnostics.Language_and_Environment,description:e.Diagnostics.Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment},{name:\"jsxImportSource\",type:\"string\",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsModuleResolution:!0,category:e.Diagnostics.Language_and_Environment,description:e.Diagnostics.Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk,defaultValueDescription:\"react\"},{name:\"resolveJsonModule\",type:\"boolean\",affectsModuleResolution:!0,category:e.Diagnostics.Modules,description:e.Diagnostics.Enable_importing_json_files,defaultValueDescription:\"false\"},{name:\"out\",type:\"string\",affectsEmit:!0,isFilePath:!1,category:e.Diagnostics.Backwards_Compatibility,paramType:e.Diagnostics.FILE,transpileOptionValue:void 0,description:e.Diagnostics.Deprecated_setting_Use_outFile_instead},{name:\"reactNamespace\",type:\"string\",affectsEmit:!0,category:e.Diagnostics.Language_and_Environment,description:e.Diagnostics.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit,defaultValueDescription:\"`React`\"},{name:\"skipDefaultLibCheck\",type:\"boolean\",category:e.Diagnostics.Completeness,description:e.Diagnostics.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript,defaultValueDescription:\"false\"},{name:\"charset\",type:\"string\",category:e.Diagnostics.Backwards_Compatibility,description:e.Diagnostics.No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files,defaultValueDescription:\"utf8\"},{name:\"emitBOM\",type:\"boolean\",affectsEmit:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files,defaultValueDescription:\"false\"},{name:\"newLine\",type:new e.Map(e.getEntries({crlf:0,lf:1})),affectsEmit:!0,paramType:e.Diagnostics.NEWLINE,category:e.Diagnostics.Emit,description:e.Diagnostics.Set_the_newline_character_for_emitting_files,defaultValueDescription:e.Diagnostics.Platform_specific},{name:\"noErrorTruncation\",type:\"boolean\",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Output_Formatting,description:e.Diagnostics.Disable_truncating_types_in_error_messages,defaultValueDescription:\"false\"},{name:\"noLib\",type:\"boolean\",category:e.Diagnostics.Language_and_Environment,affectsProgramStructure:!0,description:e.Diagnostics.Disable_including_any_library_files_including_the_default_lib_d_ts,transpileOptionValue:!0,defaultValueDescription:\"false\"},{name:\"noResolve\",type:\"boolean\",affectsModuleResolution:!0,category:e.Diagnostics.Modules,description:e.Diagnostics.Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project,transpileOptionValue:!0,defaultValueDescription:\"false\"},{name:\"stripInternal\",type:\"boolean\",affectsEmit:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments,defaultValueDescription:\"false\"},{name:\"disableSizeLimit\",type:\"boolean\",affectsProgramStructure:!0,category:e.Diagnostics.Editor_Support,description:e.Diagnostics.Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server,defaultValueDescription:\"false\"},{name:\"disableSourceOfProjectReferenceRedirect\",type:\"boolean\",isTSConfigOnly:!0,category:e.Diagnostics.Projects,description:e.Diagnostics.Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects,defaultValueDescription:\"false\"},{name:\"disableSolutionSearching\",type:\"boolean\",isTSConfigOnly:!0,category:e.Diagnostics.Projects,description:e.Diagnostics.Opt_a_project_out_of_multi_project_reference_checking_when_editing,defaultValueDescription:\"false\"},{name:\"disableReferencedProjectLoad\",type:\"boolean\",isTSConfigOnly:!0,category:e.Diagnostics.Projects,description:e.Diagnostics.Reduce_the_number_of_projects_loaded_automatically_by_TypeScript,defaultValueDescription:\"false\"},{name:\"noImplicitUseStrict\",type:\"boolean\",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Backwards_Compatibility,description:e.Diagnostics.Disable_adding_use_strict_directives_in_emitted_JavaScript_files,defaultValueDescription:\"false\"},{name:\"noEmitHelpers\",type:\"boolean\",affectsEmit:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Disable_generating_custom_helper_functions_like_extends_in_compiled_output,defaultValueDescription:\"false\"},{name:\"noEmitOnError\",type:\"boolean\",affectsEmit:!0,category:e.Diagnostics.Emit,transpileOptionValue:void 0,description:e.Diagnostics.Disable_emitting_files_if_any_type_checking_errors_are_reported,defaultValueDescription:\"false\"},{name:\"preserveConstEnums\",type:\"boolean\",affectsEmit:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Disable_erasing_const_enum_declarations_in_generated_code,defaultValueDescription:\"false\"},{name:\"declarationDir\",type:\"string\",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.DIRECTORY,category:e.Diagnostics.Emit,transpileOptionValue:void 0,description:e.Diagnostics.Specify_the_output_directory_for_generated_declaration_files},{name:\"skipLibCheck\",type:\"boolean\",category:e.Diagnostics.Completeness,description:e.Diagnostics.Skip_type_checking_all_d_ts_files,defaultValueDescription:\"false\"},{name:\"allowUnusedLabels\",type:\"boolean\",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Disable_error_reporting_for_unused_labels,defaultValueDescription:\"undefined\"},{name:\"allowUnreachableCode\",type:\"boolean\",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Type_Checking,description:e.Diagnostics.Disable_error_reporting_for_unreachable_code,defaultValueDescription:\"undefined\"},{name:\"suppressExcessPropertyErrors\",type:\"boolean\",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Backwards_Compatibility,description:e.Diagnostics.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals,defaultValueDescription:\"false\"},{name:\"suppressImplicitAnyIndexErrors\",type:\"boolean\",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Backwards_Compatibility,description:e.Diagnostics.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures,defaultValueDescription:\"false\"},{name:\"forceConsistentCasingInFileNames\",type:\"boolean\",affectsModuleResolution:!0,category:e.Diagnostics.Interop_Constraints,description:e.Diagnostics.Ensure_that_casing_is_correct_in_imports,defaultValueDescription:\"false\"},{name:\"maxNodeModuleJsDepth\",type:\"number\",affectsModuleResolution:!0,category:e.Diagnostics.JavaScript_Support,description:e.Diagnostics.Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs,defaultValueDescription:\"0\"},{name:\"noStrictGenericChecks\",type:\"boolean\",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Backwards_Compatibility,description:e.Diagnostics.Disable_strict_checking_of_generic_signatures_in_function_types,defaultValueDescription:\"false\"},{name:\"useDefineForClassFields\",type:\"boolean\",affectsSemanticDiagnostics:!0,affectsEmit:!0,category:e.Diagnostics.Language_and_Environment,description:e.Diagnostics.Emit_ECMAScript_standard_compliant_class_fields,defaultValueDescription:e.Diagnostics.true_for_ES2022_and_above_including_ESNext},{name:\"preserveValueImports\",type:\"boolean\",affectsEmit:!0,category:e.Diagnostics.Emit,description:e.Diagnostics.Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed,defaultValueDescription:\"false\"},{name:\"keyofStringsOnly\",type:\"boolean\",category:e.Diagnostics.Backwards_Compatibility,description:e.Diagnostics.Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option,defaultValueDescription:\"false\"},{name:\"plugins\",type:\"list\",isTSConfigOnly:!0,element:{name:\"plugin\",type:\"object\"},description:e.Diagnostics.List_of_language_service_plugins,category:e.Diagnostics.Editor_Support}];e.optionDeclarations=Gt(Gt([],e.commonOptionsWithBuild,!0),p,!0),e.semanticDiagnosticsOptionDeclarations=e.optionDeclarations.filter(function(tr){return!!tr.affectsSemanticDiagnostics}),e.affectsEmitOptionDeclarations=e.optionDeclarations.filter(function(tr){return!!tr.affectsEmit}),e.moduleResolutionOptionDeclarations=e.optionDeclarations.filter(function(tr){return!!tr.affectsModuleResolution}),e.sourceFileAffectingCompilerOptions=e.optionDeclarations.filter(function(tr){return!!tr.affectsSourceFile||!!tr.affectsModuleResolution||!!tr.affectsBindDiagnostics}),e.optionsAffectingProgramStructure=e.optionDeclarations.filter(function(tr){return!!tr.affectsProgramStructure}),e.transpileOptionValueCompilerOptions=e.optionDeclarations.filter(function(tr){return e.hasProperty(tr,\"transpileOptionValue\")}),e.optionsForBuild=[{name:\"verbose\",shortName:\"v\",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Enable_verbose_logging,type:\"boolean\",defaultValueDescription:\"false\"},{name:\"dry\",shortName:\"d\",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Show_what_would_be_built_or_deleted_if_specified_with_clean,type:\"boolean\",defaultValueDescription:\"false\"},{name:\"force\",shortName:\"f\",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Build_all_projects_including_those_that_appear_to_be_up_to_date,type:\"boolean\",defaultValueDescription:\"false\"},{name:\"clean\",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Delete_the_outputs_of_all_projects,type:\"boolean\",defaultValueDescription:\"false\"}],e.buildOpts=Gt(Gt([],e.commonOptionsWithBuild,!0),e.optionsForBuild,!0),e.typeAcquisitionDeclarations=[{name:\"enableAutoDiscovery\",type:\"boolean\",defaultValueDescription:\"false\"},{name:\"enable\",type:\"boolean\",defaultValueDescription:\"false\"},{name:\"include\",type:\"list\",element:{name:\"include\",type:\"string\"}},{name:\"exclude\",type:\"list\",element:{name:\"exclude\",type:\"string\"}},{name:\"disableFilenameBasedTypeAcquisition\",type:\"boolean\",defaultValueDescription:\"false\"}];function a(tr){var xr=new e.Map,Nr=new e.Map;return e.forEach(tr,function(zr){xr.set(zr.name.toLowerCase(),zr),zr.shortName&&Nr.set(zr.shortName,zr.name)}),{optionsNameMap:xr,shortOptionNames:Nr}}e.createOptionNameMap=a;var d;function k(){return d||(d=a(e.optionDeclarations))}e.getOptionsNameMap=k;var J={diagnostic:e.Diagnostics.Compiler_option_0_may_only_be_used_with_build,getOptionsNameMap:O};e.defaultInitCompilerOptions={module:e.ModuleKind.CommonJS,target:3,strict:!0,esModuleInterop:!0,forceConsistentCasingInFileNames:!0,skipLibCheck:!0};function h(tr){return tr&&tr.enableAutoDiscovery!==void 0&&tr.enable===void 0?{enable:tr.enableAutoDiscovery,include:tr.include||[],exclude:tr.exclude||[]}:tr}e.convertEnableAutoDiscoveryToEnable=h;function v(tr){return A(tr,e.createCompilerDiagnostic)}e.createCompilerDiagnosticForInvalidCustomType=v;function A(tr,xr){var Nr=e.arrayFrom(tr.type.keys()).map(function(zr){return\"'\".concat(zr,\"'\")}).join(\", \");return xr(e.Diagnostics.Argument_for_0_option_must_be_Colon_1,\"--\".concat(tr.name),Nr)}function z(tr,xr,Nr){return Or(tr,e.trimString(xr||\"\"),Nr)}e.parseCustomTypeOption=z;function ie(tr,xr,Nr){if(xr===void 0&&(xr=\"\"),xr=e.trimString(xr),!e.startsWith(xr,\"-\")){if(xr===\"\")return[];var zr=xr.split(\",\");switch(tr.element.type){case\"number\":return e.mapDefined(zr,function(gt){return ir(tr.element,parseInt(gt),Nr)});case\"string\":return e.mapDefined(zr,function(gt){return ir(tr.element,gt||\"\",Nr)});default:return e.mapDefined(zr,function(gt){return z(tr.element,gt,Nr)})}}}e.parseListTypeOption=ie;function b(tr){return tr.name}function M(tr,xr,Nr,zr){var gt;if(!((gt=xr.alternateMode)===null||gt===void 0)&&gt.getOptionsNameMap().optionsNameMap.has(tr.toLowerCase()))return Nr(xr.alternateMode.diagnostic,tr);var vt=e.getSpellingSuggestion(tr,xr.optionDeclarations,b);return vt?Nr(xr.unknownDidYouMeanDiagnostic,zr||tr,vt.name):Nr(xr.unknownOptionDiagnostic,zr||tr)}function S(tr,xr,Nr){var zr={},gt,vt=[],ut=[];return ht(xr),{options:zr,watchOptions:gt,fileNames:vt,errors:ut};function ht(wt){for(var Qt=0;Qt<wt.length;){var mt=wt[Qt];if(Qt++,mt.charCodeAt(0)===64)xt(mt.slice(1));else if(mt.charCodeAt(0)===45){var rn=mt.slice(mt.charCodeAt(1)===45?2:1),sa=w(tr.getOptionsNameMap,rn,!0);if(sa)Qt=B(wt,Qt,tr,sa,zr,ut);else{var ba=w(u.getOptionsNameMap,rn,!0);ba?Qt=B(wt,Qt,u,ba,gt||(gt={}),ut):ut.push(M(rn,tr,e.createCompilerDiagnostic,mt))}}else vt.push(mt)}}function xt(wt){var Qt=N(wt,Nr||function(ba){return e.sys.readFile(ba)});if(!e.isString(Qt)){ut.push(Qt);return}for(var mt=[],rn=0;;){for(;rn<Qt.length&&Qt.charCodeAt(rn)<=32;)rn++;if(rn>=Qt.length)break;var sa=rn;if(Qt.charCodeAt(sa)===34){for(rn++;rn<Qt.length&&Qt.charCodeAt(rn)!==34;)rn++;rn<Qt.length?(mt.push(Qt.substring(sa+1,rn)),rn++):ut.push(e.createCompilerDiagnostic(e.Diagnostics.Unterminated_quoted_string_in_response_file_0,wt))}else{for(;Qt.charCodeAt(rn)>32;)rn++;mt.push(Qt.substring(sa,rn))}}ht(mt)}}e.parseCommandLineWorker=S;function B(tr,xr,Nr,zr,gt,vt){if(zr.isTSConfigOnly){var ut=tr[xr];ut===\"null\"?(gt[zr.name]=void 0,xr++):zr.type===\"boolean\"?ut===\"false\"?(gt[zr.name]=ir(zr,!1,vt),xr++):(ut===\"true\"&&xr++,vt.push(e.createCompilerDiagnostic(e.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,zr.name))):(vt.push(e.createCompilerDiagnostic(e.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,zr.name)),ut&&!e.startsWith(ut,\"-\")&&xr++)}else if(!tr[xr]&&zr.type!==\"boolean\"&&vt.push(e.createCompilerDiagnostic(Nr.optionTypeMismatchDiagnostic,zr.name,K(zr))),tr[xr]!==\"null\")switch(zr.type){case\"number\":gt[zr.name]=ir(zr,parseInt(tr[xr]),vt),xr++;break;case\"boolean\":var ut=tr[xr];gt[zr.name]=ir(zr,ut!==\"false\",vt),(ut===\"false\"||ut===\"true\")&&xr++;break;case\"string\":gt[zr.name]=ir(zr,tr[xr]||\"\",vt),xr++;break;case\"list\":var ht=ie(zr,tr[xr],vt);gt[zr.name]=ht||[],ht&&xr++;break;default:gt[zr.name]=z(zr,tr[xr],vt),xr++;break}else gt[zr.name]=void 0,xr++;return xr}e.compilerOptionsDidYouMeanDiagnostics={alternateMode:J,getOptionsNameMap:k,optionDeclarations:e.optionDeclarations,unknownOptionDiagnostic:e.Diagnostics.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:e.Diagnostics.Compiler_option_0_expects_an_argument};function H(tr,xr){return S(e.compilerOptionsDidYouMeanDiagnostics,tr,xr)}e.parseCommandLine=H;function I(tr,xr){return w(k,tr,xr)}e.getOptionFromName=I;function w(tr,xr,Nr){Nr===void 0&&(Nr=!1),xr=xr.toLowerCase();var zr=tr(),gt=zr.optionsNameMap,vt=zr.shortOptionNames;if(Nr){var ut=vt.get(xr);ut!==void 0&&(xr=ut)}return gt.get(xr)}var x;function O(){return x||(x=a(e.buildOpts))}var q={diagnostic:e.Diagnostics.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:k},Z={alternateMode:q,getOptionsNameMap:O,optionDeclarations:e.buildOpts,unknownOptionDiagnostic:e.Diagnostics.Unknown_build_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_build_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:e.Diagnostics.Build_option_0_requires_a_value_of_type_1};function ne(tr){var xr=S(Z,tr),Nr=xr.options,zr=xr.watchOptions,gt=xr.fileNames,vt=xr.errors,ut=Nr;return gt.length===0&&gt.push(\".\"),ut.clean&&ut.force&&vt.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,\"clean\",\"force\")),ut.clean&&ut.verbose&&vt.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,\"clean\",\"verbose\")),ut.clean&&ut.watch&&vt.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,\"clean\",\"watch\")),ut.watch&&ut.dry&&vt.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,\"watch\",\"dry\")),{buildOptions:ut,watchOptions:zr,projects:gt,errors:vt}}e.parseBuildCommand=ne;function F(tr){var xr=e.createCompilerDiagnostic.apply(void 0,arguments);return xr.messageText}e.getDiagnosticText=F;function Q(tr,xr,Nr,zr,gt,vt){var ut=N(tr,function(wt){return Nr.readFile(wt)});if(!e.isString(ut)){Nr.onUnRecoverableConfigFileDiagnostic(ut);return}var ht=e.parseJsonText(tr,ut),xt=Nr.getCurrentDirectory();return ht.path=e.toPath(tr,xt,e.createGetCanonicalFileName(Nr.useCaseSensitiveFileNames)),ht.resolvedPath=ht.path,ht.originalFileName=ht.fileName,Dr(ht,Nr,e.getNormalizedAbsolutePath(e.getDirectoryPath(tr),xt),xr,e.getNormalizedAbsolutePath(tr,xt),void 0,vt,zr,gt)}e.getParsedCommandLineOfConfigFile=Q;function V(tr,xr){var Nr=N(tr,xr);return e.isString(Nr)?re(tr,Nr):{config:{},error:Nr}}e.readConfigFile=V;function re(tr,xr){var Nr=e.parseJsonText(tr,xr);return{config:R(Nr,Nr.parseDiagnostics,!1,void 0),error:Nr.parseDiagnostics.length?Nr.parseDiagnostics[0]:void 0}}e.parseConfigFileTextToJson=re;function T(tr,xr){var Nr=N(tr,xr);return e.isString(Nr)?e.parseJsonText(tr,Nr):{fileName:tr,parseDiagnostics:[Nr]}}e.readJsonConfigFile=T;function N(tr,xr){var Nr;try{Nr=xr(tr)}catch(zr){return e.createCompilerDiagnostic(e.Diagnostics.Cannot_read_file_0_Colon_1,tr,zr.message)}return Nr===void 0?e.createCompilerDiagnostic(e.Diagnostics.Cannot_read_file_0,tr):Nr}e.tryReadFile=N;function y(tr){return e.arrayToMap(tr,b)}var D={optionDeclarations:e.typeAcquisitionDeclarations,unknownOptionDiagnostic:e.Diagnostics.Unknown_type_acquisition_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_type_acquisition_option_0_Did_you_mean_1},C;function m(){return C||(C=a(e.optionsForWatch))}var u={getOptionsNameMap:m,optionDeclarations:e.optionsForWatch,unknownOptionDiagnostic:e.Diagnostics.Unknown_watch_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_watch_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:e.Diagnostics.Watch_option_0_requires_a_value_of_type_1},g;function P(){return g||(g=y(e.optionDeclarations))}var te;function ue(){return te||(te=y(e.optionsForWatch))}var X;function j(){return X||(X=y(e.typeAcquisitionDeclarations))}var Se;function Ce(){return Se===void 0&&(Se={name:void 0,type:\"object\",elementOptions:y([{name:\"compilerOptions\",type:\"object\",elementOptions:P(),extraKeyDiagnostics:e.compilerOptionsDidYouMeanDiagnostics},{name:\"watchOptions\",type:\"object\",elementOptions:ue(),extraKeyDiagnostics:u},{name:\"typingOptions\",type:\"object\",elementOptions:j(),extraKeyDiagnostics:D},{name:\"typeAcquisition\",type:\"object\",elementOptions:j(),extraKeyDiagnostics:D},{name:\"extends\",type:\"string\",category:e.Diagnostics.File_Management},{name:\"references\",type:\"list\",element:{name:\"references\",type:\"object\"},category:e.Diagnostics.Projects},{name:\"files\",type:\"list\",element:{name:\"files\",type:\"string\"},category:e.Diagnostics.File_Management},{name:\"include\",type:\"list\",element:{name:\"include\",type:\"string\"},category:e.Diagnostics.File_Management,defaultValueDescription:e.Diagnostics.if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk},{name:\"exclude\",type:\"list\",element:{name:\"exclude\",type:\"string\"},category:e.Diagnostics.File_Management,defaultValueDescription:e.Diagnostics.node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified},e.compileOnSaveCommandLineOption])}),Se}function R(tr,xr,Nr,zr){var gt,vt=(gt=tr.statements[0])===null||gt===void 0?void 0:gt.expression,ut=Nr?Ce():void 0;if(vt&&vt.kind!==204){if(xr.push(e.createDiagnosticForNodeInSourceFile(tr,vt,e.Diagnostics.The_root_value_of_a_0_file_must_be_an_object,e.getBaseFileName(tr.fileName)===\"jsconfig.json\"?\"jsconfig.json\":\"tsconfig.json\")),e.isArrayLiteralExpression(vt)){var ht=e.find(vt.elements,e.isObjectLiteralExpression);if(ht)return U(tr,ht,xr,!0,ut,zr)}return{}}return U(tr,vt,xr,!0,ut,zr)}function Y(tr,xr){var Nr;return U(tr,(Nr=tr.statements[0])===null||Nr===void 0?void 0:Nr.expression,xr,!0,void 0,void 0)}e.convertToObject=Y;function U(tr,xr,Nr,zr,gt,vt){if(!xr)return zr?{}:void 0;return wt(xr,gt);function ut(mt){return gt&&gt.elementOptions===mt}function ht(mt,rn,sa,ba){for(var Jn=zr?{}:void 0,na=function(Ut){if(Ut.kind!==294)return Nr.push(e.createDiagnosticForNodeInSourceFile(tr,Ut,e.Diagnostics.Property_assignment_expected)),\"continue\";Ut.questionToken&&Nr.push(e.createDiagnosticForNodeInSourceFile(tr,Ut.questionToken,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,\"?\")),Qt(Ut.name)||Nr.push(e.createDiagnosticForNodeInSourceFile(tr,Ut.name,e.Diagnostics.String_literal_with_double_quotes_expected));var qt=e.isComputedNonLiteralName(Ut.name)?void 0:e.getTextOfPropertyName(Ut.name),Mn=qt&&e.unescapeLeadingUnderscores(qt),dn=Mn&&rn?rn.get(Mn):void 0;Mn&&sa&&!dn&&(rn?Nr.push(M(Mn,sa,function(_t,Mt,It){return e.createDiagnosticForNodeInSourceFile(tr,Ut.name,_t,Mt,It)})):Nr.push(e.createDiagnosticForNodeInSourceFile(tr,Ut.name,sa.unknownOptionDiagnostic,Mn)));var oa=wt(Ut.initializer,dn);if(typeof Mn!=\"undefined\"&&(zr&&(Jn[Mn]=oa),vt&&(ba||ut(rn)))){var pt=Te(dn,oa);ba?pt&&vt.onSetValidOptionKeyValueInParent(ba,dn,oa):ut(rn)&&(pt?vt.onSetValidOptionKeyValueInRoot(Mn,Ut.name,oa,Ut.initializer):dn||vt.onSetUnknownOptionKeyValueInRoot(Mn,Ut.name,oa,Ut.initializer))}},Wn=0,en=mt.properties;Wn<en.length;Wn++){var St=en[Wn];na(St)}return Jn}function xt(mt,rn){if(!zr){mt.forEach(function(sa){return wt(sa,rn)});return}return e.filter(mt.map(function(sa){return wt(sa,rn)}),function(sa){return sa!==void 0})}function wt(mt,rn){var sa;switch(mt.kind){case 110:return Mn(rn&&rn.type!==\"boolean\"),qt(!0);case 95:return Mn(rn&&rn.type!==\"boolean\"),qt(!1);case 104:return Mn(rn&&rn.name===\"extends\"),qt(null);case 10:Qt(mt)||Nr.push(e.createDiagnosticForNodeInSourceFile(tr,mt,e.Diagnostics.String_literal_with_double_quotes_expected)),Mn(rn&&e.isString(rn.type)&&rn.type!==\"string\");var ba=mt.text;if(rn&&!e.isString(rn.type)){var Jn=rn;Jn.type.has(ba.toLowerCase())||(Nr.push(A(Jn,function(dn,oa,pt){return e.createDiagnosticForNodeInSourceFile(tr,mt,dn,oa,pt)})),sa=!0)}return qt(ba);case 8:return Mn(rn&&rn.type!==\"number\"),qt(Number(mt.text));case 218:if(mt.operator!==40||mt.operand.kind!==8)break;return Mn(rn&&rn.type!==\"number\"),qt(-Number(mt.operand.text));case 204:Mn(rn&&rn.type!==\"object\");var na=mt;if(rn){var Wn=rn,en=Wn.elementOptions,St=Wn.extraKeyDiagnostics,Ut=Wn.name;return qt(ht(na,en,St,Ut))}else return qt(ht(na,void 0,void 0,void 0));case 203:return Mn(rn&&rn.type!==\"list\"),qt(xt(mt.elements,rn&&rn.element))}rn?Mn(!0):Nr.push(e.createDiagnosticForNodeInSourceFile(tr,mt,e.Diagnostics.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal));return;function qt(dn){var oa;if(!sa){var pt=(oa=rn==null?void 0:rn.extraValidation)===null||oa===void 0?void 0:oa.call(rn,dn);if(pt){Nr.push(e.createDiagnosticForNodeInSourceFile.apply(void 0,Gt([tr,mt],pt,!1)));return}}return dn}function Mn(dn){dn&&(Nr.push(e.createDiagnosticForNodeInSourceFile(tr,mt,e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,rn.name,K(rn))),sa=!0)}}function Qt(mt){return e.isStringLiteral(mt)&&e.isStringDoubleQuoted(mt,tr)}}e.convertToObjectWorker=U;function K(tr){return tr.type===\"list\"?\"Array\":e.isString(tr.type)?tr.type:\"string\"}function Te(tr,xr){if(tr){if(lr(xr))return!0;if(tr.type===\"list\")return e.isArray(xr);var Nr=e.isString(tr.type)?tr.type:\"string\";return typeof xr===Nr}return!1}function ge(tr,xr,Nr){var zr,gt,vt,ut=e.createGetCanonicalFileName(Nr.useCaseSensitiveFileNames),ht=e.map(e.filter(tr.fileNames,!((gt=(zr=tr.options.configFile)===null||zr===void 0?void 0:zr.configFileSpecs)===null||gt===void 0)&&gt.validatedIncludeSpecs?Ie(xr,tr.options.configFile.configFileSpecs.validatedIncludeSpecs,tr.options.configFile.configFileSpecs.validatedExcludeSpecs,Nr):e.returnTrue),function(mt){return e.getRelativePathFromFile(e.getNormalizedAbsolutePath(xr,Nr.getCurrentDirectory()),e.getNormalizedAbsolutePath(mt,Nr.getCurrentDirectory()),ut)}),xt=ve(tr.options,{configFilePath:e.getNormalizedAbsolutePath(xr,Nr.getCurrentDirectory()),useCaseSensitiveFileNames:Nr.useCaseSensitiveFileNames}),wt=tr.watchOptions&&Ve(tr.watchOptions),Qt=Rn(Rn({compilerOptions:Rn(Rn({},ke(xt)),{showConfig:void 0,configFile:void 0,configFilePath:void 0,help:void 0,init:void 0,listFiles:void 0,listEmittedFiles:void 0,project:void 0,build:void 0,version:void 0}),watchOptions:wt&&ke(wt),references:e.map(tr.projectReferences,function(mt){return Rn(Rn({},mt),{path:mt.originalPath?mt.originalPath:\"\",originalPath:void 0})}),files:e.length(ht)?ht:void 0},!((vt=tr.options.configFile)===null||vt===void 0)&&vt.configFileSpecs?{include:Pe(tr.options.configFile.configFileSpecs.validatedIncludeSpecs),exclude:tr.options.configFile.configFileSpecs.validatedExcludeSpecs}:{}),{compileOnSave:tr.compileOnSave?!0:void 0});return Qt}e.convertToTSConfig=ge;function ke(tr){return Rn({},e.arrayFrom(tr.entries()).reduce(function(xr,Nr){var zr;return Rn(Rn({},xr),(zr={},zr[Nr[0]]=Nr[1],zr))},{}))}function Pe(tr){if(!!e.length(tr)){if(e.length(tr)!==1)return tr;if(tr[0]!==\"**/*\")return tr}}function Ie(tr,xr,Nr,zr){if(!xr)return e.returnTrue;var gt=e.getFileMatcherPatterns(tr,Nr,xr,zr.useCaseSensitiveFileNames,zr.getCurrentDirectory()),vt=gt.excludePattern&&e.getRegexFromPattern(gt.excludePattern,zr.useCaseSensitiveFileNames),ut=gt.includeFilePattern&&e.getRegexFromPattern(gt.includeFilePattern,zr.useCaseSensitiveFileNames);return ut?vt?function(ht){return!(ut.test(ht)&&!vt.test(ht))}:function(ht){return!ut.test(ht)}:vt?function(ht){return vt.test(ht)}:e.returnTrue}function Ge(tr){if(!(tr.type===\"string\"||tr.type===\"number\"||tr.type===\"boolean\"||tr.type===\"object\"))return tr.type===\"list\"?Ge(tr.element):tr.type}function he(tr,xr){return e.forEachEntry(xr,function(Nr,zr){if(Nr===tr)return zr})}function ve(tr,xr){return _e(tr,k(),xr)}function Ve(tr){return _e(tr,m())}function _e(tr,xr,Nr){var zr=xr.optionsNameMap,gt=new e.Map,vt=Nr&&e.createGetCanonicalFileName(Nr.useCaseSensitiveFileNames),ut=function(xt){if(e.hasProperty(tr,xt)){if(zr.has(xt)&&(zr.get(xt).category===e.Diagnostics.Command_line_Options||zr.get(xt).category===e.Diagnostics.Output_Formatting))return\"continue\";var wt=tr[xt],Qt=zr.get(xt.toLowerCase());if(Qt){var mt=Ge(Qt);mt?Qt.type===\"list\"?gt.set(xt,wt.map(function(rn){return he(rn,mt)})):gt.set(xt,he(wt,mt)):Nr&&Qt.isFilePath?gt.set(xt,e.getRelativePathFromFile(Nr.configFilePath,e.getNormalizedAbsolutePath(wt,e.getDirectoryPath(Nr.configFilePath)),vt)):gt.set(xt,wt)}}};for(var ht in tr)ut(ht);return gt}function Le(tr,xr){var Nr=qe(tr);return gt();function zr(vt){return Array(vt+1).join(\" \")}function gt(){var vt=[],ut=zr(2);return p.forEach(function(ht){if(!!Nr.has(ht.name)){var xt=Nr.get(ht.name),wt=Vr(ht);xt!==wt?vt.push(\"\".concat(ut).concat(ht.name,\": \").concat(xt)):e.hasProperty(e.defaultInitCompilerOptions,ht.name)&&vt.push(\"\".concat(ut).concat(ht.name,\": \").concat(wt))}}),vt.join(xr)+xr}}e.getCompilerOptionsDiffValue=Le;function qe(tr){var xr=e.extend(tr,e.defaultInitCompilerOptions);return ve(xr)}function Xe(tr,xr,Nr){var zr=qe(tr);return ut();function gt(ht){return Array(ht+1).join(\" \")}function vt(ht){var xt=ht.category,wt=ht.name,Qt=ht.isCommandLineOnly,mt=[e.Diagnostics.Command_line_Options,e.Diagnostics.Editor_Support,e.Diagnostics.Compiler_Diagnostics,e.Diagnostics.Backwards_Compatibility,e.Diagnostics.Watch_and_Build_Modes,e.Diagnostics.Output_Formatting];return!Qt&&xt!==void 0&&(!mt.includes(xt)||zr.has(wt))}function ut(){for(var ht=e.createMultiMap(),xt=0,wt=e.optionDeclarations;xt<wt.length;xt++){var Qt=wt[xt],mt=Qt.category;vt(Qt)&&ht.add(e.getLocaleSpecificMessage(mt),Qt)}var rn=0,sa=0,ba=[];ht.forEach(function(oa,pt){ba.length!==0&&ba.push({value:\"\"}),ba.push({value:\"/* \".concat(pt,\" */\")});for(var _t=0,Mt=oa;_t<Mt.length;_t++){var It=Mt[_t],rt=void 0;zr.has(It.name)?rt='\"'.concat(It.name,'\": ').concat(JSON.stringify(zr.get(It.name))).concat((sa+=1)===zr.size?\"\":\",\"):rt='// \"'.concat(It.name,'\": ').concat(JSON.stringify(Vr(It)),\",\"),ba.push({value:rt,description:\"/* \".concat(It.description&&e.getLocaleSpecificMessage(It.description)||It.name,\" */\")}),rn=Math.max(rt.length,rn)}});var Jn=gt(2),na=[];na.push(\"{\"),na.push(\"\".concat(Jn,'\"compilerOptions\": {')),na.push(\"\".concat(Jn).concat(Jn,\"/* \").concat(e.getLocaleSpecificMessage(e.Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file),\" */\")),na.push(\"\");for(var Wn=0,en=ba;Wn<en.length;Wn++){var St=en[Wn],Ut=St.value,qt=St.description,Mn=qt===void 0?\"\":qt;na.push(Ut&&\"\".concat(Jn).concat(Jn).concat(Ut).concat(Mn&&gt(rn-Ut.length+2)+Mn))}if(xr.length){na.push(\"\".concat(Jn,\"},\")),na.push(\"\".concat(Jn,'\"files\": ['));for(var dn=0;dn<xr.length;dn++)na.push(\"\".concat(Jn).concat(Jn).concat(JSON.stringify(xr[dn])).concat(dn===xr.length-1?\"\":\",\"));na.push(\"\".concat(Jn,\"]\"))}else na.push(\"\".concat(Jn,\"}\"));return na.push(\"}\"),na.join(Nr)+Nr}}e.generateTSConfig=Xe;function De(tr,xr){var Nr={},zr=k().optionsNameMap;for(var gt in tr)e.hasProperty(tr,gt)&&(Nr[gt]=Ae(zr.get(gt.toLowerCase()),tr[gt],xr));return Nr.configFilePath&&(Nr.configFilePath=xr(Nr.configFilePath)),Nr}e.convertToOptionsWithAbsolutePaths=De;function Ae(tr,xr,Nr){if(tr&&!lr(xr)){if(tr.type===\"list\"){var zr=xr;if(tr.element.isFilePath&&zr.length)return zr.map(Nr)}else if(tr.isFilePath)return Nr(xr)}return xr}function Ye(tr,xr,Nr,zr,gt,vt,ut,ht,xt){return kr(tr,void 0,xr,Nr,zr,xt,gt,vt,ut,ht)}e.parseJsonConfigFileContent=Ye;function Dr(tr,xr,Nr,zr,gt,vt,ut,ht,xt){return kr(void 0,tr,xr,Nr,zr,xt,gt,vt,ut,ht)}e.parseJsonSourceFileConfigFileContent=Dr;function br(tr,xr){xr&&Object.defineProperty(tr,\"configFile\",{enumerable:!1,writable:!1,value:xr})}e.setConfigFileInOptions=br;function lr(tr){return tr==null}function Ar(tr,xr){return e.getDirectoryPath(e.getNormalizedAbsolutePath(tr,xr))}function kr(tr,xr,Nr,zr,gt,vt,ut,ht,xt,wt){gt===void 0&&(gt={}),ht===void 0&&(ht=[]),xt===void 0&&(xt=[]),e.Debug.assert(tr===void 0&&xr!==void 0||tr!==void 0&&xr===void 0);var Qt=[],mt=Fe(tr,xr,Nr,zr,ut,ht,Qt,wt),rn=mt.raw,sa=e.extend(gt,mt.options||{}),ba=vt&&mt.watchOptions?e.extend(vt,mt.watchOptions):mt.watchOptions||vt;sa.configFilePath=ut&&e.normalizeSlashes(ut);var Jn=Wn();xr&&(xr.configFileSpecs=Jn),br(sa,xr);var na=e.normalizePath(ut?Ar(ut,zr):zr);return{options:sa,watchOptions:ba,fileNames:en(na),projectReferences:St(na),typeAcquisition:mt.typeAcquisition||lt(),raw:rn,errors:Qt,wildcardDirectories:Ze(Jn,na,Nr.useCaseSensitiveFileNames),compileOnSave:!!rn.compileOnSave};function Wn(){var oa=Mn(\"references\",function(Mi){return typeof Mi==\"object\"},\"object\"),pt=Ut(qt(\"files\"));if(pt){var _t=oa===\"no-prop\"||e.isArray(oa)&&oa.length===0,Mt=e.hasProperty(rn,\"extends\");if(pt.length===0&&_t&&!Mt)if(xr){var It=ut||\"tsconfig.json\",rt=e.Diagnostics.The_files_list_in_config_file_0_is_empty,Cn=e.firstDefined(e.getTsConfigPropArray(xr,\"files\"),function(Mi){return Mi.initializer}),Qn=Cn?e.createDiagnosticForNodeInSourceFile(xr,Cn,rt,It):e.createCompilerDiagnostic(rt,It);Qt.push(Qn)}else dn(e.Diagnostics.The_files_list_in_config_file_0_is_empty,ut||\"tsconfig.json\")}var Ra=Ut(qt(\"include\")),Ci=qt(\"exclude\"),_i=Ut(Ci);if(Ci===\"no-prop\"&&rn.compilerOptions){var va=rn.compilerOptions.outDir,yi=rn.compilerOptions.declarationDir;(va||yi)&&(_i=[va,yi].filter(function(Mi){return!!Mi}))}pt===void 0&&Ra===void 0&&(Ra=[\"**/*\"]);var ro,Ka;return Ra&&(ro=Ne(Ra,Qt,!0,xr,\"include\")),_i&&(Ka=Ne(_i,Qt,!1,xr,\"exclude\")),{filesSpecs:pt,includeSpecs:Ra,excludeSpecs:_i,validatedFilesSpec:e.filter(pt,e.isString),validatedIncludeSpecs:ro,validatedExcludeSpecs:Ka,pathPatterns:void 0}}function en(oa){var pt=fe(Jn,oa,sa,Nr,xt);return Hr(pt,ur(rn),ht)&&Qt.push(Me(Jn,ut)),pt}function St(oa){var pt,_t=Mn(\"references\",function(Cn){return typeof Cn==\"object\"},\"object\");if(e.isArray(_t))for(var Mt=0,It=_t;Mt<It.length;Mt++){var rt=It[Mt];typeof rt.path!=\"string\"?dn(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,\"reference.path\",\"string\"):(pt||(pt=[])).push({path:e.getNormalizedAbsolutePath(rt.path,oa),originalPath:rt.path,prepend:rt.prepend,circular:rt.circular})}return pt}function Ut(oa){return e.isArray(oa)?oa:void 0}function qt(oa){return Mn(oa,e.isString,\"string\")}function Mn(oa,pt,_t){if(e.hasProperty(rn,oa)&&!lr(rn[oa]))if(e.isArray(rn[oa])){var Mt=rn[oa];return!xr&&!e.every(Mt,pt)&&Qt.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,oa,_t)),Mt}else return dn(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,oa,\"Array\"),\"not-array\";return\"no-prop\"}function dn(oa,pt,_t){xr||Qt.push(e.createCompilerDiagnostic(oa,pt,_t))}}function Ke(tr){return tr.code===e.Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2.code}function Me(tr,xr){var Nr=tr.includeSpecs,zr=tr.excludeSpecs;return e.createCompilerDiagnostic(e.Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2,xr||\"tsconfig.json\",JSON.stringify(Nr||[]),JSON.stringify(zr||[]))}function Hr(tr,xr,Nr){return tr.length===0&&xr&&(!Nr||Nr.length===0)}function ur(tr){return!e.hasProperty(tr,\"files\")&&!e.hasProperty(tr,\"references\")}e.canJsonReportNoInputFiles=ur;function gr(tr,xr,Nr,zr,gt){var vt=zr.length;return Hr(tr,gt)?zr.push(Me(Nr,xr)):e.filterMutate(zr,function(ut){return!Ke(ut)}),vt!==zr.length}e.updateErrorForNoInputFiles=gr;function de(tr){return!!tr.options}function Fe(tr,xr,Nr,zr,gt,vt,ut,ht){var xt;zr=e.normalizeSlashes(zr);var wt=e.getNormalizedAbsolutePath(gt||\"\",zr);if(vt.indexOf(wt)>=0)return ut.push(e.createCompilerDiagnostic(e.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,Gt(Gt([],vt,!0),[wt],!1).join(\" -> \"))),{raw:tr||Y(xr,ut)};var Qt=tr?$e(tr,Nr,zr,gt,ut):Sr(xr,Nr,zr,gt,ut);if(!((xt=Qt.options)===null||xt===void 0)&&xt.paths&&(Qt.options.pathsBasePath=zr),Qt.extendedConfigPath){vt=vt.concat([wt]);var mt=He(xr,Qt.extendedConfigPath,Nr,vt,ut,ht);if(mt&&de(mt)){var rn=mt.raw,sa=Qt.raw,ba,Jn=function(na){!sa[na]&&rn[na]&&(sa[na]=e.map(rn[na],function(Wn){return e.isRootedDiskPath(Wn)?Wn:e.combinePaths(ba||(ba=e.convertToRelativePath(e.getDirectoryPath(Qt.extendedConfigPath),zr,e.createGetCanonicalFileName(Nr.useCaseSensitiveFileNames))),Wn)}))};Jn(\"include\"),Jn(\"exclude\"),Jn(\"files\"),sa.compileOnSave===void 0&&(sa.compileOnSave=rn.compileOnSave),Qt.options=e.assign({},mt.options,Qt.options),Qt.watchOptions=Qt.watchOptions&&mt.watchOptions?e.assign({},mt.watchOptions,Qt.watchOptions):Qt.watchOptions||mt.watchOptions}}return Qt}function $e(tr,xr,Nr,zr,gt){e.hasProperty(tr,\"excludes\")&&gt.push(e.createCompilerDiagnostic(e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));var vt=Yr(tr.compilerOptions,Nr,gt,zr),ut=tt(tr.typeAcquisition||tr.typingOptions,Nr,gt,zr),ht=Rt(tr.watchOptions,Nr,gt);tr.compileOnSave=pr(tr,Nr,gt);var xt;if(tr.extends)if(!e.isString(tr.extends))gt.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,\"extends\",\"string\"));else{var wt=zr?Ar(zr,Nr):Nr;xt=Pr(tr.extends,xr,wt,gt,e.createCompilerDiagnostic)}return{raw:tr,options:vt,watchOptions:ht,typeAcquisition:ut,extendedConfigPath:xt}}function Sr(tr,xr,Nr,zr,gt){var vt=Lr(zr),ut,ht,xt,wt,Qt,mt={onSetValidOptionKeyValueInParent:function(sa,ba,Jn){var na;switch(sa){case\"compilerOptions\":na=vt;break;case\"watchOptions\":na=xt||(xt={});break;case\"typeAcquisition\":na=ut||(ut=lt(zr));break;case\"typingOptions\":na=ht||(ht=lt(zr));break;default:e.Debug.fail(\"Unknown option\")}na[ba.name]=In(ba,Nr,Jn)},onSetValidOptionKeyValueInRoot:function(sa,ba,Jn,na){switch(sa){case\"extends\":var Wn=zr?Ar(zr,Nr):Nr;wt=Pr(Jn,xr,Wn,gt,function(en,St){return e.createDiagnosticForNodeInSourceFile(tr,na,en,St)});return}},onSetUnknownOptionKeyValueInRoot:function(sa,ba,Jn,na){sa===\"excludes\"&&gt.push(e.createDiagnosticForNodeInSourceFile(tr,ba,e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude)),e.find(p,function(Wn){return Wn.name===sa})&&(Qt=e.append(Qt,ba))}},rn=R(tr,gt,!0,mt);return ut||(ht?ut=ht.enableAutoDiscovery!==void 0?{enable:ht.enableAutoDiscovery,include:ht.include,exclude:ht.exclude}:ht:ut=lt(zr)),Qt&&rn&&rn.compilerOptions===void 0&&gt.push(e.createDiagnosticForNodeInSourceFile(tr,Qt[0],e.Diagnostics._0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file,e.getTextOfPropertyName(Qt[0]))),{raw:rn,options:vt,watchOptions:xt,typeAcquisition:ut,extendedConfigPath:wt}}function Pr(tr,xr,Nr,zr,gt){if(tr=e.normalizeSlashes(tr),e.isRootedDiskPath(tr)||e.startsWith(tr,\"./\")||e.startsWith(tr,\"../\")){var vt=e.getNormalizedAbsolutePath(tr,Nr);if(!xr.fileExists(vt)&&!e.endsWith(vt,\".json\")&&(vt=\"\".concat(vt,\".json\"),!xr.fileExists(vt))){zr.push(gt(e.Diagnostics.File_0_not_found,tr));return}return vt}var ut=e.nodeModuleNameResolver(tr,e.combinePaths(Nr,\"tsconfig.json\"),{moduleResolution:e.ModuleResolutionKind.NodeJs},xr,void 0,void 0,!0);if(ut.resolvedModule)return ut.resolvedModule.resolvedFileName;zr.push(gt(e.Diagnostics.File_0_not_found,tr))}function He(tr,xr,Nr,zr,gt,vt){var ut,ht=Nr.useCaseSensitiveFileNames?xr:e.toFileNameLowerCase(xr),xt,wt,Qt;if(vt&&(xt=vt.get(ht))?(wt=xt.extendedResult,Qt=xt.extendedConfig):(wt=T(xr,function(mt){return Nr.readFile(mt)}),wt.parseDiagnostics.length||(Qt=Fe(void 0,wt,Nr,e.getDirectoryPath(xr),e.getBaseFileName(xr),zr,gt,vt)),vt&&vt.set(ht,{extendedResult:wt,extendedConfig:Qt})),tr&&(tr.extendedSourceFiles=[wt.fileName],wt.extendedSourceFiles&&(ut=tr.extendedSourceFiles).push.apply(ut,wt.extendedSourceFiles)),wt.parseDiagnostics.length){gt.push.apply(gt,wt.parseDiagnostics);return}return Qt}function pr(tr,xr,Nr){if(!e.hasProperty(tr,e.compileOnSaveCommandLineOption.name))return!1;var zr=bn(e.compileOnSaveCommandLineOption,tr.compileOnSave,xr,Nr);return typeof zr==\"boolean\"&&zr}function Jr(tr,xr,Nr){var zr=[],gt=Yr(tr,xr,zr,Nr);return{options:gt,errors:zr}}e.convertCompilerOptionsFromJson=Jr;function ze(tr,xr,Nr){var zr=[],gt=tt(tr,xr,zr,Nr);return{options:gt,errors:zr}}e.convertTypeAcquisitionFromJson=ze;function Lr(tr){var xr=tr&&e.getBaseFileName(tr)===\"jsconfig.json\"?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{};return xr}function Yr(tr,xr,Nr,zr){var gt=Lr(zr);return cn(P(),tr,xr,gt,e.compilerOptionsDidYouMeanDiagnostics,Nr),zr&&(gt.configFilePath=e.normalizeSlashes(zr)),gt}function lt(tr){return{enable:!!tr&&e.getBaseFileName(tr)===\"jsconfig.json\",include:[],exclude:[]}}function tt(tr,xr,Nr,zr){var gt=lt(zr),vt=h(tr);return cn(j(),vt,xr,gt,D,Nr),gt}function Rt(tr,xr,Nr){return cn(ue(),tr,xr,void 0,u,Nr)}function cn(tr,xr,Nr,zr,gt,vt){if(!!xr){for(var ut in xr){var ht=tr.get(ut);ht?(zr||(zr={}))[ht.name]=bn(ht,xr[ut],Nr,vt):vt.push(M(ut,gt,e.createCompilerDiagnostic))}return zr}}function bn(tr,xr,Nr,zr){if(Te(tr,xr)){var gt=tr.type;if(gt===\"list\"&&e.isArray(xr))return sr(tr,xr,Nr,zr);if(!e.isString(gt))return Or(tr,xr,zr);var vt=ir(tr,xr,zr);return lr(vt)?vt:zn(tr,Nr,vt)}else zr.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,tr.name,K(tr)))}e.convertJsonOption=bn;function In(tr,xr,Nr){if(!lr(Nr)){if(tr.type===\"list\"){var zr=tr;return zr.element.isFilePath||!e.isString(zr.element.type)?e.filter(e.map(Nr,function(gt){return In(zr.element,xr,gt)}),function(gt){return!!gt}):Nr}else if(!e.isString(tr.type))return tr.type.get(e.isString(Nr)?Nr.toLowerCase():Nr);return zn(tr,xr,Nr)}}function zn(tr,xr,Nr){return tr.isFilePath&&(Nr=e.getNormalizedAbsolutePath(Nr,xr),Nr===\"\"&&(Nr=\".\")),Nr}function ir(tr,xr,Nr){var zr;if(!lr(xr)){var gt=(zr=tr.extraValidation)===null||zr===void 0?void 0:zr.call(tr,xr);if(!gt)return xr;Nr.push(e.createCompilerDiagnostic.apply(void 0,gt))}}function Or(tr,xr,Nr){if(!lr(xr)){var zr=xr.toLowerCase(),gt=tr.type.get(zr);if(gt!==void 0)return ir(tr,gt,Nr);Nr.push(v(tr))}}function sr(tr,xr,Nr,zr){return e.filter(e.map(xr,function(gt){return bn(tr.element,gt,Nr,zr)}),function(gt){return!!gt})}var ye=/(^|\\/)\\*\\*\\/?$/,or=/^[^*?]*(?=\\/[^/]*[*?])/;function fe(tr,xr,Nr,zr,gt){gt===void 0&&(gt=e.emptyArray),xr=e.normalizePath(xr);var vt=e.createGetCanonicalFileName(zr.useCaseSensitiveFileNames),ut=new e.Map,ht=new e.Map,xt=new e.Map,wt=tr.validatedFilesSpec,Qt=tr.validatedIncludeSpecs,mt=tr.validatedExcludeSpecs,rn=e.getSupportedExtensions(Nr,gt),sa=e.getSupportedExtensionsWithJsonIfResolveJsonModule(Nr,rn);if(wt)for(var ba=0,Jn=wt;ba<Jn.length;ba++){var na=Jn[ba],Wn=e.getNormalizedAbsolutePath(na,xr);ut.set(vt(Wn),Wn)}var en;if(Qt&&Qt.length>0)for(var St=function(oa){if(e.fileExtensionIs(oa,\".json\")){if(!en){var pt=Qt.filter(function(Cn){return e.endsWith(Cn,\".json\")}),_t=e.map(e.getRegularExpressionsForWildcards(pt,xr,\"files\"),function(Cn){return\"^\".concat(Cn,\"$\")});en=_t?_t.map(function(Cn){return e.getRegexFromPattern(Cn,zr.useCaseSensitiveFileNames)}):e.emptyArray}var Mt=e.findIndex(en,function(Cn){return Cn.test(oa)});if(Mt!==-1){var It=vt(oa);!ut.has(It)&&!xt.has(It)&&xt.set(It,oa)}return\"continue\"}if(fr(oa,ut,ht,rn,vt))return\"continue\";dr(oa,ht,rn,vt);var rt=vt(oa);!ut.has(rt)&&!ht.has(rt)&&ht.set(rt,oa)},Ut=0,qt=zr.readDirectory(xr,e.flatten(sa),mt,Qt,void 0);Ut<qt.length;Ut++){var Wn=qt[Ut];St(Wn)}var Mn=e.arrayFrom(ut.values()),dn=e.arrayFrom(ht.values());return Mn.concat(dn,e.arrayFrom(xt.values()))}e.getFileNamesFromConfigSpecs=fe;function je(tr,xr,Nr,zr,gt){var vt=xr.validatedFilesSpec,ut=xr.validatedIncludeSpecs,ht=xr.validatedExcludeSpecs;if(!e.length(ut)||!e.length(ht))return!1;Nr=e.normalizePath(Nr);var xt=e.createGetCanonicalFileName(zr);if(vt)for(var wt=0,Qt=vt;wt<Qt.length;wt++){var mt=Qt[wt];if(xt(e.getNormalizedAbsolutePath(mt,Nr))===tr)return!1}return $(tr,ht,zr,gt,Nr)}e.isExcludedFile=je;function Ee(tr){var xr=e.startsWith(tr,\"**/\")?0:tr.indexOf(\"/**/\");if(xr===-1)return!1;var Nr=e.endsWith(tr,\"/..\")?tr.length:tr.lastIndexOf(\"/../\");return Nr>xr}function We(tr,xr,Nr,zr){return $(tr,e.filter(xr,function(gt){return!Ee(gt)}),Nr,zr)}e.matchesExclude=We;function $(tr,xr,Nr,zr,gt){var vt=e.getRegularExpressionForWildcard(xr,e.combinePaths(e.normalizePath(zr),gt),\"exclude\"),ut=vt&&e.getRegexFromPattern(vt,Nr);return ut?ut.test(tr)?!0:!e.hasExtension(tr)&&ut.test(e.ensureTrailingDirectorySeparator(tr)):!1}function Ne(tr,xr,Nr,zr,gt){return tr.filter(function(ut){if(!e.isString(ut))return!1;var ht=me(ut,Nr);return ht!==void 0&&xr.push(vt.apply(void 0,ht)),ht===void 0});function vt(ut,ht){var xt=e.getTsConfigPropArrayElementValue(zr,gt,ht);return xt?e.createDiagnosticForNodeInSourceFile(zr,xt,ut,ht):e.createCompilerDiagnostic(ut,ht)}}function me(tr,xr){if(xr&&ye.test(tr))return[e.Diagnostics.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,tr];if(Ee(tr))return[e.Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,tr]}function Ze(tr,xr,Nr){var zr=tr.validatedIncludeSpecs,gt=tr.validatedExcludeSpecs,vt=e.getRegularExpressionForWildcard(gt,xr,\"exclude\"),ut=vt&&new RegExp(vt,Nr?\"\":\"i\"),ht={};if(zr!==void 0){for(var xt=[],wt=0,Qt=zr;wt<Qt.length;wt++){var mt=Qt[wt],rn=e.normalizePath(e.combinePaths(xr,mt));if(!(ut&&ut.test(rn))){var sa=Cr(rn,Nr);if(sa){var ba=sa.key,Jn=sa.flags,na=ht[ba];(na===void 0||na<Jn)&&(ht[ba]=Jn,Jn===1&&xt.push(ba))}}}for(var ba in ht)if(e.hasProperty(ht,ba))for(var Wn=0,en=xt;Wn<en.length;Wn++){var St=en[Wn];ba!==St&&e.containsPath(St,ba,xr,!Nr)&&delete ht[ba]}}return ht}function Cr(tr,xr){var Nr=or.exec(tr);if(Nr){var zr=tr.indexOf(\"?\"),gt=tr.indexOf(\"*\"),vt=tr.lastIndexOf(e.directorySeparator);return{key:xr?Nr[0]:e.toFileNameLowerCase(Nr[0]),flags:zr!==-1&&zr<vt||gt!==-1&&gt<vt?1:0}}if(e.isImplicitGlob(tr))return{key:xr?tr:e.toFileNameLowerCase(tr),flags:1}}function fr(tr,xr,Nr,zr,gt){var vt=e.forEach(zr,function(Qt){return e.fileExtensionIsOneOf(tr,Qt)?Qt:void 0});if(!vt)return!1;for(var ut=0,ht=vt;ut<ht.length;ut++){var xt=ht[ut];if(e.fileExtensionIs(tr,xt))return!1;var wt=gt(e.changeExtension(tr,xt));if(xr.has(wt)||Nr.has(wt)){if(xt===\".d.ts\"&&(e.fileExtensionIs(tr,\".js\")||e.fileExtensionIs(tr,\".jsx\")))continue;return!0}}return!1}function dr(tr,xr,Nr,zr){var gt=e.forEach(Nr,function(xt){return e.fileExtensionIsOneOf(tr,xt)?xt:void 0});if(!!gt)for(var vt=gt.length-1;vt>=0;vt--){var ut=gt[vt];if(e.fileExtensionIs(tr,ut))return;var ht=zr(e.changeExtension(tr,ut));xr.delete(ht)}}function et(tr){var xr={};for(var Nr in tr)if(tr.hasOwnProperty(Nr)){var zr=I(Nr);zr!==void 0&&(xr[Nr]=yt(tr[Nr],zr))}return xr}e.convertCompilerOptionsForTelemetry=et;function yt(tr,xr){switch(xr.type){case\"object\":return\"\";case\"string\":return\"\";case\"number\":return typeof tr==\"number\"?tr:\"\";case\"boolean\":return typeof tr==\"boolean\"?tr:\"\";case\"list\":var Nr=xr.element;return e.isArray(tr)?tr.map(function(zr){return yt(zr,Nr)}):\"\";default:return e.forEachEntry(xr.type,function(zr,gt){if(zr===tr)return gt})}}function Vr(tr){switch(tr.type){case\"number\":return 1;case\"boolean\":return!0;case\"string\":return tr.isFilePath?\"./\":\"\";case\"list\":return[];case\"object\":return{};default:var xr=tr.type.keys().next();return xr.done?e.Debug.fail(\"Expected 'option.type' to have entries.\"):xr.value}}}(jr||(jr={})),function(e){function n(sr){sr.trace(e.formatMessage.apply(void 0,arguments))}e.trace=n;function f(sr,ye){return!!sr.traceResolution&&ye.trace!==void 0}e.isTraceEnabled=f;function p(sr,ye){var or;if(ye&&sr){var fe=sr.packageJsonContent;typeof fe.name==\"string\"&&typeof fe.version==\"string\"&&(or={name:fe.name,subModuleName:ye.path.slice(sr.packageDirectory.length+e.directorySeparator.length),version:fe.version})}return ye&&{path:ye.path,extension:ye.ext,packageId:or}}function a(sr){return p(void 0,sr)}function d(sr){if(sr)return e.Debug.assert(sr.packageId===void 0),{path:sr.path,ext:sr.extension}}var k;(function(sr){sr[sr.TypeScript=0]=\"TypeScript\",sr[sr.JavaScript=1]=\"JavaScript\",sr[sr.Json=2]=\"Json\",sr[sr.TSConfig=3]=\"TSConfig\",sr[sr.DtsOnly=4]=\"DtsOnly\"})(k||(k={}));function J(sr){if(!!sr)return e.Debug.assert(e.extensionIsTS(sr.extension)),{fileName:sr.path,packageId:sr.packageId}}function h(sr,ye,or,fe){var je;return fe?((je=fe.failedLookupLocations).push.apply(je,or),fe):{resolvedModule:sr&&{resolvedFileName:sr.path,originalPath:sr.originalPath===!0?void 0:sr.originalPath,extension:sr.extension,isExternalLibraryImport:ye,packageId:sr.packageId},failedLookupLocations:or}}function v(sr,ye,or,fe){if(!e.hasProperty(sr,ye)){fe.traceEnabled&&n(fe.host,e.Diagnostics.package_json_does_not_have_a_0_field,ye);return}var je=sr[ye];if(typeof je!==or||je===null){fe.traceEnabled&&n(fe.host,e.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2,ye,or,je===null?\"null\":typeof je);return}return je}function A(sr,ye,or,fe){var je=v(sr,ye,\"string\",fe);if(je!==void 0){if(!je){fe.traceEnabled&&n(fe.host,e.Diagnostics.package_json_had_a_falsy_0_field,ye);return}var Ee=e.normalizePath(e.combinePaths(or,je));return fe.traceEnabled&&n(fe.host,e.Diagnostics.package_json_has_0_field_1_that_references_2,ye,je,Ee),Ee}}function z(sr,ye,or){return A(sr,\"typings\",ye,or)||A(sr,\"types\",ye,or)}function ie(sr,ye,or){return A(sr,\"tsconfig\",ye,or)}function b(sr,ye,or){return A(sr,\"main\",ye,or)}function M(sr,ye){var or=v(sr,\"typesVersions\",\"object\",ye);if(or!==void 0)return ye.traceEnabled&&n(ye.host,e.Diagnostics.package_json_has_a_typesVersions_field_with_version_specific_path_mappings),or}function S(sr,ye){var or=M(sr,ye);if(or!==void 0){if(ye.traceEnabled)for(var fe in or)e.hasProperty(or,fe)&&!e.VersionRange.tryParse(fe)&&n(ye.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range,fe);var je=H(or);if(!je){ye.traceEnabled&&n(ye.host,e.Diagnostics.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,e.versionMajorMinor);return}var Ee=je.version,We=je.paths;if(typeof We!=\"object\"){ye.traceEnabled&&n(ye.host,e.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2,\"typesVersions['\".concat(Ee,\"']\"),\"object\",typeof We);return}return je}}var B;function H(sr){B||(B=new e.Version(e.version));for(var ye in sr)if(!!e.hasProperty(sr,ye)){var or=e.VersionRange.tryParse(ye);if(or!==void 0&&or.test(B))return{version:ye,paths:sr[ye]}}}e.getPackageJsonTypesVersionsPaths=H;function I(sr,ye){if(sr.typeRoots)return sr.typeRoots;var or;if(sr.configFilePath?or=e.getDirectoryPath(sr.configFilePath):ye.getCurrentDirectory&&(or=ye.getCurrentDirectory()),or!==void 0)return w(or,ye)}e.getEffectiveTypeRoots=I;function w(sr,ye){if(!ye.directoryExists)return[e.combinePaths(sr,x)];var or;return e.forEachAncestorDirectory(e.normalizePath(sr),function(fe){var je=e.combinePaths(fe,x);ye.directoryExists(je)&&(or||(or=[])).push(je)}),or}var x=e.combinePaths(\"node_modules\",\"@types\");function O(sr,ye,or){var fe=typeof or.useCaseSensitiveFileNames==\"function\"?or.useCaseSensitiveFileNames():or.useCaseSensitiveFileNames;return e.comparePaths(sr,ye,!fe)===0}function q(sr,ye,or,fe,je,Ee){var We=f(or,fe);je&&(or=je.commandLine.options);var $=ye?e.getDirectoryPath(ye):void 0,Ne=$?Ee&&Ee.getOrCreateCacheForDirectory($,je):void 0,me=Ne&&Ne.get(sr,void 0);if(me)return We&&(n(fe,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1,sr,ye),je&&n(fe,e.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,je.sourceFile.fileName),n(fe,e.Diagnostics.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1,sr,$),zr(me)),me;var Ze=I(or,fe);We&&(ye===void 0?Ze===void 0?n(fe,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,sr):n(fe,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,sr,Ze):Ze===void 0?n(fe,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,sr,ye):n(fe,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,sr,ye,Ze),je&&n(fe,e.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,je.sourceFile.fileName));var Cr=[],fr=e.getEmitModuleResolutionKind(or)===e.ModuleResolutionKind.Node12?j.Node12Default:e.getEmitModuleResolutionKind(or)===e.ModuleResolutionKind.NodeNext?j.NodeNextDefault:j.None,dr={compilerOptions:or,host:fe,traceEnabled:We,failedLookupLocations:Cr,packageJsonInfoCache:Ee,features:fr,conditions:[\"node\",\"require\",\"types\"]},et=gt(),yt=!0;et||(et=vt(),yt=!1);var Vr;if(et){var tr=et.fileName,xr=et.packageId,Nr=or.preserveSymlinks?tr:Ie(tr,fe,We);Vr={primary:yt,resolvedFileName:Nr,originalPath:O(tr,Nr,fe)?void 0:tr,packageId:xr,isExternalLibraryImport:he(tr)}}return me={resolvedTypeReferenceDirective:Vr,failedLookupLocations:Cr},Ne==null||Ne.set(sr,void 0,me),We&&zr(me),me;function zr(ut){var ht;!((ht=ut.resolvedTypeReferenceDirective)===null||ht===void 0)&&ht.resolvedFileName?ut.resolvedTypeReferenceDirective.packageId?n(fe,e.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3,sr,ut.resolvedTypeReferenceDirective.resolvedFileName,e.packageIdToString(ut.resolvedTypeReferenceDirective.packageId),ut.resolvedTypeReferenceDirective.primary):n(fe,e.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,sr,ut.resolvedTypeReferenceDirective.resolvedFileName,ut.resolvedTypeReferenceDirective.primary):n(fe,e.Diagnostics.Type_reference_directive_0_was_not_resolved,sr)}function gt(){if(Ze&&Ze.length)return We&&n(fe,e.Diagnostics.Resolving_with_primary_search_path_0,Ze.join(\", \")),e.firstDefined(Ze,function(ut){var ht=e.combinePaths(ut,sr),xt=e.getDirectoryPath(ht),wt=e.directoryProbablyExists(xt,fe);return!wt&&We&&n(fe,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,xt),J(Ye(k.DtsOnly,ht,!wt,dr))});We&&n(fe,e.Diagnostics.Root_directory_cannot_be_determined_skipping_primary_search_paths)}function vt(){var ut=ye&&e.getDirectoryPath(ye);if(ut!==void 0){We&&n(fe,e.Diagnostics.Looking_up_in_node_modules_folder_initial_location_0,ut);var ht;if(e.isExternalModuleNameRelative(sr)){var wt=e.normalizePathAndParts(e.combinePaths(ut,sr)).path;ht=Ge(k.DtsOnly,wt,!1,dr,!0)}else{var xt=Pr(k.DtsOnly,sr,ut,dr,void 0,void 0);ht=xt&&xt.value}return J(ht)}else We&&n(fe,e.Diagnostics.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder)}}e.resolveTypeReferenceDirective=q;function Z(sr,ye){if(sr.types)return sr.types;var or=[];if(ye.directoryExists&&ye.getDirectories){var fe=I(sr,ye);if(fe)for(var je=0,Ee=fe;je<Ee.length;je++){var We=Ee[je];if(ye.directoryExists(We))for(var $=0,Ne=ye.getDirectories(We);$<Ne.length;$++){var me=Ne[$],Ze=e.normalizePath(me),Cr=e.combinePaths(We,Ze,\"package.json\"),fr=ye.fileExists(Cr)&&e.readJson(Cr,ye).typings===null;if(!fr){var dr=e.getBaseFileName(Ze);dr.charCodeAt(0)!==46&&or.push(dr)}}}}return or}e.getAutomaticTypeDirectiveNames=Z;function ne(sr){var ye=new e.Map,or=new e.Map;return{getOwnMap:fe,redirectsMap:or,getOrCreateMapOfCacheRedirects:We,clear:$,setOwnOptions:je,setOwnMap:Ee};function fe(){return ye}function je(Ne){sr=Ne}function Ee(Ne){ye=Ne}function We(Ne){if(!Ne)return ye;var me=Ne.sourceFile.path,Ze=or.get(me);return Ze||(Ze=!sr||e.optionsHaveModuleResolutionChanges(sr,Ne.commandLine.options)?new e.Map:ye,or.set(me,Ze)),Ze}function $(){ye.clear(),or.clear()}}e.createCacheWithRedirects=ne;function F(sr,ye){var or;return{getPackageJsonInfo:fe,setPackageJsonInfo:je,clear:Ee,entries:We};function fe($){return or==null?void 0:or.get(e.toPath($,sr,ye))}function je($,Ne){(or||(or=new e.Map)).set(e.toPath($,sr,ye),Ne)}function Ee(){or=void 0}function We(){var $=or==null?void 0:or.entries();return $?e.arrayFrom($):[]}}function Q(sr,ye,or,fe){var je=sr.getOrCreateMapOfCacheRedirects(ye),Ee=je.get(or);return Ee||(Ee=fe(),je.set(or,Ee)),Ee}function V(sr,ye,or){if(!!sr.configFile){if(ye.redirectsMap.size===0)e.Debug.assert(!or||or.redirectsMap.size===0),e.Debug.assert(ye.getOwnMap().size===0),e.Debug.assert(!or||or.getOwnMap().size===0),ye.redirectsMap.set(sr.configFile.path,ye.getOwnMap()),or==null||or.redirectsMap.set(sr.configFile.path,or.getOwnMap());else{e.Debug.assert(!or||or.redirectsMap.size>0);var fe={sourceFile:sr.configFile,commandLine:{options:sr}};ye.setOwnMap(ye.getOrCreateMapOfCacheRedirects(fe)),or==null||or.setOwnMap(or.getOrCreateMapOfCacheRedirects(fe))}ye.setOwnOptions(sr),or==null||or.setOwnOptions(sr)}}function re(sr,ye,or){return{getOrCreateCacheForDirectory:Ee,clear:fe,update:je};function fe(){or.clear()}function je(We){V(We,or)}function Ee(We,$){var Ne=e.toPath(We,sr,ye);return Q(or,$,Ne,function(){return T()})}}function T(){var sr=new e.Map,ye=new e.Map,or={get:function(je,Ee){return sr.get(fe(je,Ee))},set:function(je,Ee,We){return sr.set(fe(je,Ee),We),or},delete:function(je,Ee){return sr.delete(fe(je,Ee)),or},has:function(je,Ee){return sr.has(fe(je,Ee))},forEach:function(je){return sr.forEach(function(Ee,We){var $=ye.get(We),Ne=$[0],me=$[1];return je(Ee,Ne,me)})},size:function(){return sr.size}};return or;function fe(je,Ee){var We=Ee===void 0?je:\"\".concat(Ee,\"|\").concat(je);return ye.set(We,[je,Ee]),We}}e.createModeAwareCache=T;function N(sr,ye,or){e.Debug.assert(ye.length===or.length);for(var fe=T(),je=0;je<ye.length;++je)fe.set(ye[je],e.getModeForResolutionAtIndex(sr,je),or[je]);return fe}e.zipToModeAwareCache=N;function y(sr,ye,or,fe,je){var Ee=re(sr,ye,fe||(fe=ne(or)));je||(je=ne(or));var We=F(sr,ye);return Rn(Rn(Rn({},We),Ee),{getOrCreateCacheForModuleName:me,clear:$,update:Ne,getPackageJsonInfoCache:function(){return We}});function $(){Ee.clear(),je.clear(),We.clear()}function Ne(Cr){V(Cr,fe,je)}function me(Cr,fr,dr){return e.Debug.assert(!e.isExternalModuleNameRelative(Cr)),Q(je,dr,fr===void 0?Cr:\"\".concat(fr,\"|\").concat(Cr),Ze)}function Ze(){var Cr=new e.Map;return{get:fr,set:dr};function fr(yt){return Cr.get(e.toPath(yt,sr,ye))}function dr(yt,Vr){var tr=e.toPath(yt,sr,ye);if(!Cr.has(tr)){Cr.set(tr,Vr);for(var xr=Vr.resolvedModule&&(Vr.resolvedModule.originalPath||Vr.resolvedModule.resolvedFileName),Nr=xr&&et(tr,xr),zr=tr;zr!==Nr;){var gt=e.getDirectoryPath(zr);if(gt===zr||Cr.has(gt))break;Cr.set(gt,Vr),zr=gt}}}function et(yt,Vr){for(var tr=e.toPath(e.getDirectoryPath(Vr),sr,ye),xr=0,Nr=Math.min(yt.length,tr.length);xr<Nr&&yt.charCodeAt(xr)===tr.charCodeAt(xr);)xr++;if(xr===yt.length&&(tr.length===xr||tr[xr]===e.directorySeparator))return yt;var zr=e.getRootLength(yt);if(!(xr<zr)){var gt=yt.lastIndexOf(e.directorySeparator,xr-1);if(gt!==-1)return yt.substr(0,Math.max(gt,zr))}}}}e.createModuleResolutionCache=y;function D(sr,ye,or,fe,je){var Ee=re(sr,ye,je||(je=ne(or)));return fe||(fe=F(sr,ye)),Rn(Rn(Rn({},fe),Ee),{clear:We});function We(){Ee.clear(),fe.clear()}}e.createTypeReferenceDirectiveResolutionCache=D;function C(sr,ye,or,fe){var je=e.getDirectoryPath(ye),Ee=or&&or.getOrCreateCacheForDirectory(je);if(!!Ee)return Ee.get(sr,fe)}e.resolveModuleNameFromCache=C;function m(sr,ye,or,fe,je,Ee,We){var $=f(or,fe);Ee&&(or=Ee.commandLine.options),$&&(n(fe,e.Diagnostics.Resolving_module_0_from_1,sr,ye),Ee&&n(fe,e.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,Ee.sourceFile.fileName));var Ne=e.getDirectoryPath(ye),me=je&&je.getOrCreateCacheForDirectory(Ne,Ee),Ze=me&&me.get(sr,We);if(Ze)$&&n(fe,e.Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1,sr,Ne);else{var Cr=or.moduleResolution;if(Cr===void 0){switch(e.getEmitModuleKind(or)){case e.ModuleKind.CommonJS:Cr=e.ModuleResolutionKind.NodeJs;break;case e.ModuleKind.Node12:Cr=e.ModuleResolutionKind.Node12;break;case e.ModuleKind.NodeNext:Cr=e.ModuleResolutionKind.NodeNext;break;default:Cr=e.ModuleResolutionKind.Classic;break}$&&n(fe,e.Diagnostics.Module_resolution_kind_is_not_specified_using_0,e.ModuleResolutionKind[Cr])}else $&&n(fe,e.Diagnostics.Explicitly_specified_module_resolution_kind_Colon_0,e.ModuleResolutionKind[Cr]);switch(e.perfLogger.logStartResolveModule(sr),Cr){case e.ModuleResolutionKind.Node12:Ze=Se(sr,ye,or,fe,je,Ee,We);break;case e.ModuleResolutionKind.NodeNext:Ze=Ce(sr,ye,or,fe,je,Ee,We);break;case e.ModuleResolutionKind.NodeJs:Ze=ke(sr,ye,or,fe,je,Ee);break;case e.ModuleResolutionKind.Classic:Ze=zn(sr,ye,or,fe,je,Ee);break;default:return e.Debug.fail(\"Unexpected moduleResolution: \".concat(Cr))}Ze&&Ze.resolvedModule&&e.perfLogger.logInfoEvent('Module \"'.concat(sr,'\" resolved to \"').concat(Ze.resolvedModule.resolvedFileName,'\"')),e.perfLogger.logStopResolveModule(Ze&&Ze.resolvedModule?\"\"+Ze.resolvedModule.resolvedFileName:\"null\"),me&&(me.set(sr,We,Ze),e.isExternalModuleNameRelative(sr)||je.getOrCreateCacheForModuleName(sr,We,Ee).set(Ne,Ze))}return $&&(Ze.resolvedModule?Ze.resolvedModule.packageId?n(fe,e.Diagnostics.Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2,sr,Ze.resolvedModule.resolvedFileName,e.packageIdToString(Ze.resolvedModule.packageId)):n(fe,e.Diagnostics.Module_name_0_was_successfully_resolved_to_1,sr,Ze.resolvedModule.resolvedFileName):n(fe,e.Diagnostics.Module_name_0_was_not_resolved,sr)),Ze}e.resolveModuleName=m;function u(sr,ye,or,fe,je){var Ee=g(sr,ye,fe,je);return Ee?Ee.value:e.isExternalModuleNameRelative(ye)?P(sr,ye,or,fe,je):te(sr,ye,fe,je)}function g(sr,ye,or,fe){var je,Ee=fe.compilerOptions,We=Ee.baseUrl,$=Ee.paths,Ne=Ee.configFile;if($&&!e.pathIsRelative(ye)){fe.traceEnabled&&(We&&n(fe.host,e.Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,We,ye),n(fe.host,e.Diagnostics.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0,ye));var me=e.getPathsBasePath(fe.compilerOptions,fe.host),Ze=Ne!=null&&Ne.configFileSpecs?(je=Ne.configFileSpecs).pathPatterns||(je.pathPatterns=e.tryParsePatterns($)):void 0;return Lr(sr,ye,me,$,Ze,or,!1,fe)}}function P(sr,ye,or,fe,je){if(!!je.compilerOptions.rootDirs){je.traceEnabled&&n(je.host,e.Diagnostics.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0,ye);for(var Ee=e.normalizePath(e.combinePaths(or,ye)),We,$,Ne=0,me=je.compilerOptions.rootDirs;Ne<me.length;Ne++){var Ze=me[Ne],Cr=e.normalizePath(Ze);e.endsWith(Cr,e.directorySeparator)||(Cr+=e.directorySeparator);var fr=e.startsWith(Ee,Cr)&&($===void 0||$.length<Cr.length);je.traceEnabled&&n(je.host,e.Diagnostics.Checking_if_0_is_the_longest_matching_prefix_for_1_2,Cr,Ee,fr),fr&&($=Cr,We=Ze)}if($){je.traceEnabled&&n(je.host,e.Diagnostics.Longest_matching_prefix_for_0_is_1,Ee,$);var dr=Ee.substr($.length);je.traceEnabled&&n(je.host,e.Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2,dr,$,Ee);var et=fe(sr,Ee,!e.directoryProbablyExists(or,je.host),je);if(et)return et;je.traceEnabled&&n(je.host,e.Diagnostics.Trying_other_entries_in_rootDirs);for(var yt=0,Vr=je.compilerOptions.rootDirs;yt<Vr.length;yt++){var Ze=Vr[yt];if(Ze!==We){var tr=e.combinePaths(e.normalizePath(Ze),dr);je.traceEnabled&&n(je.host,e.Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2,dr,Ze,tr);var xr=e.getDirectoryPath(tr),Nr=fe(sr,tr,!e.directoryProbablyExists(xr,je.host),je);if(Nr)return Nr}}je.traceEnabled&&n(je.host,e.Diagnostics.Module_resolution_using_rootDirs_has_failed)}}}function te(sr,ye,or,fe){var je=fe.compilerOptions.baseUrl;if(!!je){fe.traceEnabled&&n(fe.host,e.Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,je,ye);var Ee=e.normalizePath(e.combinePaths(je,ye));return fe.traceEnabled&&n(fe.host,e.Diagnostics.Resolving_module_name_0_relative_to_base_url_1_2,ye,je,Ee),or(sr,Ee,!e.directoryProbablyExists(e.getDirectoryPath(Ee),fe.host),fe)}}function ue(sr,ye,or){var fe=ge(sr,ye,or),je=fe.resolvedModule,Ee=fe.failedLookupLocations;if(!je)throw new Error(\"Could not resolve JS module '\".concat(sr,\"' starting at '\").concat(ye,\"'. Looked in: \").concat(Ee.join(\", \")));return je.resolvedFileName}e.resolveJSModule=ue;function X(sr,ye,or){return ge(sr,ye,or).resolvedModule}e.tryResolveJSModule=X;var j;(function(sr){sr[sr.None=0]=\"None\",sr[sr.Imports=2]=\"Imports\",sr[sr.SelfName=4]=\"SelfName\",sr[sr.Exports=8]=\"Exports\",sr[sr.ExportsPatternTrailers=16]=\"ExportsPatternTrailers\",sr[sr.AllFeatures=30]=\"AllFeatures\",sr[sr.Node12Default=14]=\"Node12Default\",sr[sr.NodeNextDefault=30]=\"NodeNextDefault\",sr[sr.EsmMode=32]=\"EsmMode\"})(j||(j={}));function Se(sr,ye,or,fe,je,Ee,We){return R(j.Node12Default,sr,ye,or,fe,je,Ee,We)}function Ce(sr,ye,or,fe,je,Ee,We){return R(j.NodeNextDefault,sr,ye,or,fe,je,Ee,We)}function R(sr,ye,or,fe,je,Ee,We,$){var Ne=e.getDirectoryPath(or),me=$===e.ModuleKind.ESNext?j.EsmMode:0;return Pe(sr|me,ye,Ne,fe,je,Ee,fe.resolveJsonModule?K:U,We)}var Y=[k.JavaScript],U=[k.TypeScript,k.JavaScript],K=Gt(Gt([],U,!0),[k.Json],!1),Te=[k.TSConfig];function ge(sr,ye,or){return Pe(j.None,sr,ye,{moduleResolution:e.ModuleResolutionKind.NodeJs,allowJs:!0},or,void 0,Y,void 0)}function ke(sr,ye,or,fe,je,Ee,We){return Pe(j.None,sr,e.getDirectoryPath(ye),or,fe,je,We?Te:or.resolveJsonModule?K:U,Ee)}e.nodeModuleNameResolver=ke;function Pe(sr,ye,or,fe,je,Ee,We,$){var Ne,me,Ze=f(fe,je),Cr=[],fr={compilerOptions:fe,host:je,traceEnabled:Ze,failedLookupLocations:Cr,packageJsonInfoCache:Ee,features:sr,conditions:sr&j.EsmMode?[\"node\",\"import\",\"types\"]:[\"node\",\"require\",\"types\"]},dr=e.forEach(We,function(yt){return et(yt)});return h((Ne=dr==null?void 0:dr.value)===null||Ne===void 0?void 0:Ne.resolved,(me=dr==null?void 0:dr.value)===null||me===void 0?void 0:me.isExternalLibraryImport,Cr,fr.resultFromCache);function et(yt){var Vr=function(wt,Qt,mt,rn){return Ge(wt,Qt,mt,rn,!0)},tr=u(yt,ye,or,Vr,fr);if(tr)return Or({resolved:tr,isExternalLibraryImport:he(tr.path)});if(e.isExternalModuleNameRelative(ye)){var vt=e.normalizePathAndParts(e.combinePaths(or,ye)),ut=vt.path,ht=vt.parts,xt=Ge(yt,ut,!1,fr,!0);return xt&&Or({resolved:xt,isExternalLibraryImport:e.contains(ht,\"node_modules\")})}else{var xr;if(sr&j.Imports&&e.startsWith(ye,\"#\")&&(xr=de(yt,ye,or,fr,Ee,$)),!xr&&sr&j.SelfName&&(xr=ur(yt,ye,or,fr,Ee,$)),xr||(Ze&&n(je,e.Diagnostics.Loading_module_0_from_node_modules_folder_target_file_type_1,ye,k[yt]),xr=Pr(yt,ye,or,fr,Ee,$)),!xr)return;var Nr=xr.value;if(!fe.preserveSymlinks&&Nr&&!Nr.originalPath){var zr=Ie(Nr.path,je,Ze),gt=O(zr,Nr.path,je)?void 0:Nr.path;Nr=Rn(Rn({},Nr),{path:zr,originalPath:gt})}return{value:Nr&&{resolved:Nr,isExternalLibraryImport:!0}}}}}function Ie(sr,ye,or){if(!ye.realpath)return sr;var fe=e.normalizePath(ye.realpath(sr));return or&&n(ye,e.Diagnostics.Resolving_real_path_for_0_result_1,sr,fe),e.Debug.assert(ye.fileExists(fe),\"\".concat(sr,\" linked to nonexistent file \").concat(fe)),fe}function Ge(sr,ye,or,fe,je){if(fe.traceEnabled&&n(fe.host,e.Diagnostics.Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1,ye,k[sr]),!e.hasTrailingDirectorySeparator(ye)){if(!or){var Ee=e.getDirectoryPath(ye);e.directoryProbablyExists(Ee,fe.host)||(fe.traceEnabled&&n(fe.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,Ee),or=!0)}var We=Le(sr,ye,or,fe);if(We){var $=je?ve(We.path):void 0,Ne=$?br($,!1,fe):void 0;return p(Ne,We)}}if(!or){var me=e.directoryProbablyExists(ye,fe.host);me||(fe.traceEnabled&&n(fe.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,ye),or=!0)}return Ye(sr,ye,or,fe,je)}e.nodeModulesPathPart=\"/node_modules/\";function he(sr){return e.stringContains(sr,e.nodeModulesPathPart)}e.pathContainsNodeModules=he;function ve(sr){var ye=e.normalizePath(sr),or=ye.lastIndexOf(e.nodeModulesPathPart);if(or!==-1){var fe=or+e.nodeModulesPathPart.length,je=Ve(ye,fe);return ye.charCodeAt(fe)===64&&(je=Ve(ye,je)),ye.slice(0,je)}}e.parseNodeModuleFromPath=ve;function Ve(sr,ye){var or=sr.indexOf(e.directorySeparator,ye+1);return or===-1?ye:or}function _e(sr,ye,or,fe){return a(Le(sr,ye,or,fe))}function Le(sr,ye,or,fe){if(sr===k.Json||sr===k.TSConfig){var je=e.tryRemoveExtension(ye,\".json\"),Ee=je?ye.substring(je.length):\"\";return je===void 0&&sr===k.Json?void 0:De(je||ye,sr,Ee,or,fe)}if(!(fe.features&j.EsmMode)){var We=De(ye,sr,\"\",or,fe);if(We)return We}return qe(sr,ye,or,fe)}function qe(sr,ye,or,fe){if(e.hasJSFileExtension(ye)||e.fileExtensionIs(ye,\".json\")&&fe.compilerOptions.resolveJsonModule){var je=e.removeFileExtension(ye),Ee=ye.substring(je.length);return fe.traceEnabled&&n(fe.host,e.Diagnostics.File_name_0_has_a_1_extension_stripping_it,ye,Ee),De(je,sr,Ee,or,fe)}}function Xe(sr,ye,or,fe){if((sr===k.TypeScript||sr===k.DtsOnly)&&e.fileExtensionIsOneOf(ye,[\".d.ts\",\".d.cts\",\".d.mts\"])){var je=Ae(ye,or,fe);return je!==void 0?{path:ye,ext:e.forEach([\".d.ts\",\".d.cts\",\".d.mts\"],function(Ee){return e.fileExtensionIs(ye,Ee)?Ee:void 0})}:void 0}return qe(sr,ye,or,fe)}function De(sr,ye,or,fe,je){if(!fe){var Ee=e.getDirectoryPath(sr);Ee&&(fe=!e.directoryProbablyExists(Ee,je.host))}switch(ye){case k.DtsOnly:switch(or){case\".mjs\":case\".mts\":case\".d.mts\":return We(\".d.mts\");case\".cjs\":case\".cts\":case\".d.cts\":return We(\".d.cts\");case\".json\":return sr+=\".json\",We(\".d.ts\");default:return We(\".d.ts\")}case k.TypeScript:switch(or){case\".mjs\":case\".mts\":case\".d.mts\":return We(\".mts\")||We(\".d.mts\");case\".cjs\":case\".cts\":case\".d.cts\":return We(\".cts\")||We(\".d.cts\");case\".json\":return sr+=\".json\",We(\".d.ts\");default:return We(\".ts\")||We(\".tsx\")||We(\".d.ts\")}case k.JavaScript:switch(or){case\".mjs\":case\".mts\":case\".d.mts\":return We(\".mjs\");case\".cjs\":case\".cts\":case\".d.cts\":return We(\".cjs\");case\".json\":return We(\".json\");default:return We(\".js\")||We(\".jsx\")}case k.TSConfig:case k.Json:return We(\".json\")}function We($){var Ne=Ae(sr+$,fe,je);return Ne===void 0?void 0:{path:Ne,ext:$}}}function Ae(sr,ye,or){if(!ye){if(or.host.fileExists(sr))return or.traceEnabled&&n(or.host,e.Diagnostics.File_0_exist_use_it_as_a_name_resolution_result,sr),sr;or.traceEnabled&&n(or.host,e.Diagnostics.File_0_does_not_exist,sr)}or.failedLookupLocations.push(sr)}function Ye(sr,ye,or,fe,je){je===void 0&&(je=!0);var Ee=je?br(ye,or,fe):void 0,We=Ee&&Ee.packageJsonContent,$=Ee&&Ee.versionPaths;return p(Ee,lr(sr,ye,or,fe,We,$))}function Dr(sr,ye,or,fe){var je={host:or,compilerOptions:fe,traceEnabled:f(fe,or),failedLookupLocations:[],packageJsonInfoCache:ye,features:0,conditions:[]},Ee=e.getPathComponents(sr);for(Ee.pop();Ee.length>0;){var We=br(e.getPathFromPathComponents(Ee),!1,je);if(We)return We;Ee.pop()}}e.getPackageScopeForPath=Dr;function br(sr,ye,or){var fe,je,Ee,We=or.host,$=or.traceEnabled,Ne=e.combinePaths(sr,\"package.json\");if(ye){or.failedLookupLocations.push(Ne);return}var me=(fe=or.packageJsonInfoCache)===null||fe===void 0?void 0:fe.getPackageJsonInfo(Ne);if(me!==void 0){if(typeof me!=\"boolean\")return $&&n(We,e.Diagnostics.File_0_exists_according_to_earlier_cached_lookups,Ne),me;me&&$&&n(We,e.Diagnostics.File_0_does_not_exist_according_to_earlier_cached_lookups,Ne),or.failedLookupLocations.push(Ne);return}var Ze=e.directoryProbablyExists(sr,We);if(Ze&&We.fileExists(Ne)){var Cr=e.readJson(Ne,We);$&&n(We,e.Diagnostics.Found_package_json_at_0,Ne);var fr=S(Cr,or),dr={packageDirectory:sr,packageJsonContent:Cr,versionPaths:fr};return(je=or.packageJsonInfoCache)===null||je===void 0||je.setPackageJsonInfo(Ne,dr),dr}else Ze&&$&&n(We,e.Diagnostics.File_0_does_not_exist,Ne),(Ee=or.packageJsonInfoCache)===null||Ee===void 0||Ee.setPackageJsonInfo(Ne,Ze),or.failedLookupLocations.push(Ne)}e.getPackageJsonInfo=br;function lr(sr,ye,or,fe,je,Ee){var We;if(je)switch(sr){case k.JavaScript:case k.Json:We=b(je,ye,fe);break;case k.TypeScript:We=z(je,ye,fe)||b(je,ye,fe);break;case k.DtsOnly:We=z(je,ye,fe);break;case k.TSConfig:We=ie(je,ye,fe);break;default:return e.Debug.assertNever(sr)}var $=function(et,yt,Vr,tr){var xr=Ae(yt,Vr,tr);if(xr){var Nr=Ar(et,xr);if(Nr)return a(Nr);tr.traceEnabled&&n(tr.host,e.Diagnostics.File_0_has_an_unsupported_extension_so_skipping_it,xr)}var zr=et===k.DtsOnly?k.TypeScript:et;return Ge(zr,yt,Vr,tr,!1)},Ne=We?!e.directoryProbablyExists(e.getDirectoryPath(We),fe.host):void 0,me=or||!e.directoryProbablyExists(ye,fe.host),Ze=e.combinePaths(ye,sr===k.TSConfig?\"tsconfig\":\"index\");if(Ee&&(!We||e.containsPath(ye,We))){var Cr=e.getRelativePathFromDirectory(ye,We||Ze,!1);fe.traceEnabled&&n(fe.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,Ee.version,e.version,Cr);var fr=Lr(sr,Cr,ye,Ee.paths,void 0,$,Ne||me,fe);if(fr)return d(fr.value)}var dr=We&&d($(sr,We,Ne,fe));if(dr)return dr;if(!(fe.features&j.EsmMode))return Le(sr,Ze,me,fe)}function Ar(sr,ye){var or=e.tryGetExtensionFromPath(ye);return or!==void 0&&kr(sr,or)?{path:ye,ext:or}:void 0}function kr(sr,ye){switch(sr){case k.JavaScript:return ye===\".js\"||ye===\".jsx\";case k.TSConfig:case k.Json:return ye===\".json\";case k.TypeScript:return ye===\".ts\"||ye===\".tsx\"||ye===\".d.ts\";case k.DtsOnly:return ye===\".d.ts\"}}function Ke(sr){var ye=sr.indexOf(e.directorySeparator);return sr[0]===\"@\"&&(ye=sr.indexOf(e.directorySeparator,ye+1)),ye===-1?{packageName:sr,rest:\"\"}:{packageName:sr.slice(0,ye),rest:sr.slice(ye+1)}}e.parsePackageName=Ke;function Me(sr){return e.every(e.getOwnKeys(sr),function(ye){return e.startsWith(ye,\".\")})}e.allKeysStartWithDot=Me;function Hr(sr){return!e.some(e.getOwnKeys(sr),function(ye){return e.startsWith(ye,\".\")})}function ur(sr,ye,or,fe,je,Ee){var We,$,Ne=typeof fe.host.useCaseSensitiveFileNames==\"function\"?fe.host.useCaseSensitiveFileNames():fe.host.useCaseSensitiveFileNames,me=e.toPath(e.combinePaths(or,\"dummy\"),($=(We=fe.host).getCurrentDirectory)===null||$===void 0?void 0:$.call(We),e.createGetCanonicalFileName(Ne===void 0?!0:Ne)),Ze=Dr(me,fe.packageJsonInfoCache,fe.host,fe.compilerOptions);if(!(!Ze||!Ze.packageJsonContent.exports)&&typeof Ze.packageJsonContent.name==\"string\"){var Cr=e.getPathComponents(ye),fr=e.getPathComponents(Ze.packageJsonContent.name);if(!!e.every(fr,function(et,yt){return Cr[yt]===et})){var dr=Cr.slice(fr.length);return gr(Ze,sr,e.length(dr)?\".\".concat(e.directorySeparator).concat(dr.join(e.directorySeparator)):\".\",fe,je,Ee)}}}function gr(sr,ye,or,fe,je,Ee){if(!!sr.packageJsonContent.exports){if(or===\".\"){var We=void 0;if(typeof sr.packageJsonContent.exports==\"string\"||Array.isArray(sr.packageJsonContent.exports)||typeof sr.packageJsonContent.exports==\"object\"&&Hr(sr.packageJsonContent.exports)?We=sr.packageJsonContent.exports:e.hasProperty(sr.packageJsonContent.exports,\".\")&&(We=sr.packageJsonContent.exports[\".\"]),We){var $=$e(ye,fe,je,Ee,or,sr,!1);return $(We,\"\",!1)}}else if(Me(sr.packageJsonContent.exports)){if(typeof sr.packageJsonContent.exports!=\"object\")return fe.traceEnabled&&n(fe.host,e.Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,or,sr.packageDirectory),Or(void 0);var Ne=Fe(ye,fe,je,Ee,or,sr.packageJsonContent.exports,sr,!1);if(Ne)return Ne}return fe.traceEnabled&&n(fe.host,e.Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,or,sr.packageDirectory),Or(void 0)}}function de(sr,ye,or,fe,je,Ee){var We,$;if(ye===\"#\"||e.startsWith(ye,\"#/\"))return fe.traceEnabled&&n(fe.host,e.Diagnostics.Invalid_import_specifier_0_has_no_possible_resolutions,ye),Or(void 0);var Ne=typeof fe.host.useCaseSensitiveFileNames==\"function\"?fe.host.useCaseSensitiveFileNames():fe.host.useCaseSensitiveFileNames,me=e.toPath(e.combinePaths(or,\"dummy\"),($=(We=fe.host).getCurrentDirectory)===null||$===void 0?void 0:$.call(We),e.createGetCanonicalFileName(Ne===void 0?!0:Ne)),Ze=Dr(me,fe.packageJsonInfoCache,fe.host,fe.compilerOptions);if(!Ze)return fe.traceEnabled&&n(fe.host,e.Diagnostics.Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve,me),Or(void 0);if(!Ze.packageJsonContent.imports)return fe.traceEnabled&&n(fe.host,e.Diagnostics.package_json_scope_0_has_no_imports_defined,Ze.packageDirectory),Or(void 0);var Cr=Fe(sr,fe,je,Ee,ye,Ze.packageJsonContent.imports,Ze,!0);return Cr||(fe.traceEnabled&&n(fe.host,e.Diagnostics.Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1,ye,Ze.packageDirectory),Or(void 0))}function Fe(sr,ye,or,fe,je,Ee,We,$){var Ne=$e(sr,ye,or,fe,je,We,$);if(!e.endsWith(je,e.directorySeparator)&&je.indexOf(\"*\")===-1&&e.hasProperty(Ee,je)){var me=Ee[je];return Ne(me,\"\",!1)}for(var Ze=e.sort(e.filter(e.getOwnKeys(Ee),function(tr){return tr.indexOf(\"*\")!==-1||e.endsWith(tr,\"/\")}),function(tr,xr){return tr.length-xr.length}),Cr=0,fr=Ze;Cr<fr.length;Cr++){var dr=fr[Cr];if(ye.features&j.ExportsPatternTrailers&&Vr(dr,je)){var me=Ee[dr],et=dr.indexOf(\"*\"),yt=je.substring(dr.substring(0,et).length,je.length-(dr.length-1-et));return Ne(me,yt,!0)}else if(e.endsWith(dr,\"*\")&&e.startsWith(je,dr.substring(0,dr.length-1))){var me=Ee[dr],yt=je.substring(dr.length-1);return Ne(me,yt,!0)}else if(e.startsWith(je,dr)){var me=Ee[dr],yt=je.substring(dr.length);return Ne(me,yt,!1)}}function Vr(tr,xr){if(e.endsWith(tr,\"*\"))return!1;var Nr=tr.indexOf(\"*\");return Nr===-1?!1:e.startsWith(xr,tr.substring(0,Nr))&&e.endsWith(xr,tr.substring(Nr+1))}}function $e(sr,ye,or,fe,je,Ee,We){return $;function $(Ne,me,Ze){var Cr,fr;if(typeof Ne==\"string\"){if(!Ze&&me.length>0&&!e.endsWith(Ne,\"/\"))return ye.traceEnabled&&n(ye.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,Ee.packageDirectory,je),Or(void 0);if(!e.startsWith(Ne,\"./\")){if(We&&!e.startsWith(Ne,\"../\")&&!e.startsWith(Ne,\"/\")&&!e.isRootedDiskPath(Ne)){var dr=Ze?Ne.replace(/\\*/g,me):Ne+me,et=Pe(ye.features,dr,Ee.packageDirectory+\"/\",ye.compilerOptions,ye.host,or,[sr],fe);return Or(et.resolvedModule?{path:et.resolvedModule.resolvedFileName,extension:et.resolvedModule.extension,packageId:et.resolvedModule.packageId,originalPath:et.resolvedModule.originalPath}:void 0)}return ye.traceEnabled&&n(ye.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,Ee.packageDirectory,je),Or(void 0)}var yt=e.pathIsRelative(Ne)?e.getPathComponents(Ne).slice(1):e.getPathComponents(Ne),Vr=yt.slice(1);if(Vr.indexOf(\"..\")>=0||Vr.indexOf(\".\")>=0||Vr.indexOf(\"node_modules\")>=0)return ye.traceEnabled&&n(ye.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,Ee.packageDirectory,je),Or(void 0);var tr=e.combinePaths(Ee.packageDirectory,Ne),xr=e.getPathComponents(me);if(xr.indexOf(\"..\")>=0||xr.indexOf(\".\")>=0||xr.indexOf(\"node_modules\")>=0)return ye.traceEnabled&&n(ye.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,Ee.packageDirectory,je),Or(void 0);var Nr=e.getNormalizedAbsolutePath(Ze?tr.replace(/\\*/g,me):tr+me,(fr=(Cr=ye.host).getCurrentDirectory)===null||fr===void 0?void 0:fr.call(Cr));return Or(p(Ee,Xe(sr,Nr,!1,ye)))}else if(typeof Ne==\"object\"&&Ne!==null)if(Array.isArray(Ne)){if(!e.length(Ne))return ye.traceEnabled&&n(ye.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,Ee.packageDirectory,je),Or(void 0);for(var ht=0,xt=Ne;ht<xt.length;ht++){var wt=xt[ht],et=$(wt,me,Ze);if(et)return et}}else{for(var zr=0,gt=e.getOwnKeys(Ne);zr<gt.length;zr++){var vt=gt[zr];if(vt===\"default\"||ye.conditions.indexOf(vt)>=0||Sr(ye.conditions,vt)){var ut=Ne[vt],et=$(ut,me,Ze);if(et)return et}}return}else if(Ne===null)return ye.traceEnabled&&n(ye.host,e.Diagnostics.package_json_scope_0_explicitly_maps_specifier_1_to_null,Ee.packageDirectory,je),Or(void 0);return ye.traceEnabled&&n(ye.host,e.Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,Ee.packageDirectory,je),Or(void 0)}}function Sr(sr,ye){if(sr.indexOf(\"types\")===-1||!e.startsWith(ye,\"types@\"))return!1;var or=e.VersionRange.tryParse(ye.substring(6));return or?or.test(e.version):!1}e.isApplicableVersionedTypesKey=Sr;function Pr(sr,ye,or,fe,je,Ee){return pr(sr,ye,or,fe,!1,je,Ee)}function He(sr,ye,or){return pr(k.DtsOnly,sr,ye,or,!0,void 0,void 0)}function pr(sr,ye,or,fe,je,Ee,We){var $=Ee&&Ee.getOrCreateCacheForModuleName(ye,fe.features===0?void 0:fe.features&j.EsmMode?e.ModuleKind.ESNext:e.ModuleKind.CommonJS,We);return e.forEachAncestorDirectory(e.normalizeSlashes(or),function(Ne){if(e.getBaseFileName(Ne)!==\"node_modules\"){var me=In($,ye,Ne,fe);return me||Or(Jr(sr,ye,Ne,fe,je,Ee,We))}})}function Jr(sr,ye,or,fe,je,Ee,We){var $=e.combinePaths(or,\"node_modules\"),Ne=e.directoryProbablyExists($,fe.host);!Ne&&fe.traceEnabled&&n(fe.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,$);var me=je?void 0:ze(sr,ye,$,Ne,fe,Ee,We);if(me)return me;if(sr===k.TypeScript||sr===k.DtsOnly){var Ze=e.combinePaths($,\"@types\"),Cr=Ne;return Ne&&!e.directoryProbablyExists(Ze,fe.host)&&(fe.traceEnabled&&n(fe.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,Ze),Cr=!1),ze(k.DtsOnly,lt(ye,fe),Ze,Cr,fe,Ee,We)}}function ze(sr,ye,or,fe,je,Ee,We){var $=e.normalizePath(e.combinePaths(or,ye)),Ne=br($,!fe,je);if(!(je.features&j.Exports)&&Ne){var me=Le(sr,$,!fe,je);if(me)return a(me);var Ze=lr(sr,$,!fe,je,Ne.packageJsonContent,Ne.versionPaths);return p(Ne,Ze)}var Cr=Ke(ye),fr=Cr.packageName,dr=Cr.rest,et=function(xr,Nr,zr,gt){var vt;if(Ne&&Ne.packageJsonContent.exports&&gt.features&j.Exports)return(vt=gr(Ne,xr,e.combinePaths(\".\",dr),gt,Ee,We))===null||vt===void 0?void 0:vt.value;var ut=Le(xr,Nr,zr,gt)||lr(xr,Nr,zr,gt,Ne&&Ne.packageJsonContent,Ne&&Ne.versionPaths);return p(Ne,ut)};if(dr!==\"\"){var yt=e.combinePaths(or,fr);if(Ne=br(yt,!fe,je),Ne&&Ne.versionPaths){je.traceEnabled&&n(je.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,Ne.versionPaths.version,e.version,dr);var Vr=fe&&e.directoryProbablyExists(yt,je.host),tr=Lr(sr,dr,yt,Ne.versionPaths.paths,void 0,et,!Vr,je);if(tr)return tr.value}}return et(sr,$,!fe,je)}function Lr(sr,ye,or,fe,je,Ee,We,$){je||(je=e.tryParsePatterns(fe));var Ne=e.matchPatternOrExact(je,ye);if(Ne){var me=e.isString(Ne)?void 0:e.matchedText(Ne,ye),Ze=e.isString(Ne)?Ne:e.patternText(Ne);$.traceEnabled&&n($.host,e.Diagnostics.Module_name_0_matched_pattern_1,ye,Ze);var Cr=e.forEach(fe[Ze],function(fr){var dr=me?fr.replace(\"*\",me):fr,et=e.normalizePath(e.combinePaths(or,dr));$.traceEnabled&&n($.host,e.Diagnostics.Trying_substitution_0_candidate_module_location_Colon_1,fr,dr);var yt=e.tryGetExtensionFromPath(fr);if(yt!==void 0){var Vr=Ae(et,We,$);if(Vr!==void 0)return a({path:Vr,ext:yt})}return Ee(sr,et,We||!e.directoryProbablyExists(e.getDirectoryPath(et),$.host),$)});return{value:Cr}}}var Yr=\"__\";function lt(sr,ye){var or=Rt(sr);return ye.traceEnabled&&or!==sr&&n(ye.host,e.Diagnostics.Scoped_package_detected_looking_in_0,or),or}function tt(sr){return\"@types/\".concat(Rt(sr))}e.getTypesPackageName=tt;function Rt(sr){if(e.startsWith(sr,\"@\")){var ye=sr.replace(e.directorySeparator,Yr);if(ye!==sr)return ye.slice(1)}return sr}e.mangleScopedPackageName=Rt;function cn(sr){var ye=e.removePrefix(sr,\"@types/\");return ye!==sr?bn(ye):sr}e.getPackageNameFromTypesPackageName=cn;function bn(sr){return e.stringContains(sr,Yr)?\"@\"+sr.replace(Yr,e.directorySeparator):sr}e.unmangleScopedPackageName=bn;function In(sr,ye,or,fe){var je=sr&&sr.get(or);if(je)return fe.traceEnabled&&n(fe.host,e.Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1,ye,or),fe.resultFromCache=je,{value:je.resolvedModule&&{path:je.resolvedModule.resolvedFileName,originalPath:je.resolvedModule.originalPath||!0,extension:je.resolvedModule.extension,packageId:je.resolvedModule.packageId}}}function zn(sr,ye,or,fe,je,Ee){var We=f(or,fe),$=[],Ne={compilerOptions:or,host:fe,traceEnabled:We,failedLookupLocations:$,packageJsonInfoCache:je,features:j.None,conditions:[]},me=e.getDirectoryPath(ye),Ze=Cr(k.TypeScript)||Cr(k.JavaScript);return h(Ze&&Ze.value,!1,$,Ne.resultFromCache);function Cr(fr){var dr=u(fr,sr,me,_e,Ne);if(dr)return{value:dr};if(e.isExternalModuleNameRelative(sr)){var Vr=e.normalizePath(e.combinePaths(me,sr));return Or(_e(fr,Vr,!1,Ne))}else{var et=je&&je.getOrCreateCacheForModuleName(sr,void 0,Ee),yt=e.forEachAncestorDirectory(me,function(tr){var xr=In(et,sr,tr,Ne);if(xr)return xr;var Nr=e.normalizePath(e.combinePaths(tr,sr));return Or(_e(fr,Nr,!1,Ne))});if(yt)return yt;if(fr===k.TypeScript)return He(sr,me,Ne)}}}e.classicNameResolver=zn;function ir(sr,ye,or,fe,je,Ee){var We=f(or,fe);We&&n(fe,e.Diagnostics.Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2,ye,sr,je);var $=[],Ne={compilerOptions:or,host:fe,traceEnabled:We,failedLookupLocations:$,packageJsonInfoCache:Ee,features:j.None,conditions:[]},me=Jr(k.DtsOnly,sr,je,Ne,!1,void 0,void 0);return h(me,!0,$,Ne.resultFromCache)}e.loadModuleFromGlobalCache=ir;function Or(sr){return sr!==void 0?{value:sr}:void 0}}(jr||(jr={})),function(e){(function(S){S[S.NonInstantiated=0]=\"NonInstantiated\",S[S.Instantiated=1]=\"Instantiated\",S[S.ConstEnumOnly=2]=\"ConstEnumOnly\"})(e.ModuleInstanceState||(e.ModuleInstanceState={}));function n(S,B){return S.body&&!S.body.parent&&(e.setParent(S.body,S),e.setParentRecursive(S.body,!1)),S.body?f(S.body,B):1}e.getModuleInstanceState=n;function f(S,B){B===void 0&&(B=new e.Map);var H=e.getNodeId(S);if(B.has(H))return B.get(H)||0;B.set(H,void 0);var I=p(S,B);return B.set(H,I),I}function p(S,B){switch(S.kind){case 257:case 258:return 0;case 259:if(e.isEnumConst(S))return 2;break;case 265:case 264:if(!e.hasSyntacticModifier(S,1))return 0;break;case 271:var H=S;if(!H.moduleSpecifier&&H.exportClause&&H.exportClause.kind===272){for(var I=0,w=0,x=H.exportClause.elements;w<x.length;w++){var O=x[w],q=a(O,B);if(q>I&&(I=q),I===1)return I}return I}break;case 261:{var Z=0;return e.forEachChild(S,function(ne){var F=f(ne,B);switch(F){case 0:return;case 2:Z=2;return;case 1:return Z=1,!0;default:e.Debug.assertNever(F)}}),Z}case 260:return n(S,B);case 79:if(S.isInJSDocNamespace)return 0}return 1}function a(S,B){for(var H=S.propertyName||S.name,I=S.parent;I;){if(e.isBlock(I)||e.isModuleBlock(I)||e.isSourceFile(I)){for(var w=I.statements,x=void 0,O=0,q=w;O<q.length;O++){var Z=q[O];if(e.nodeHasName(Z,H)){Z.parent||(e.setParent(Z,I),e.setParentRecursive(Z,!1));var ne=f(Z,B);if((x===void 0||ne>x)&&(x=ne),x===1)return x}}if(x!==void 0)return x}I=I.parent}return 1}var d;(function(S){S[S.None=0]=\"None\",S[S.IsContainer=1]=\"IsContainer\",S[S.IsBlockScopedContainer=2]=\"IsBlockScopedContainer\",S[S.IsControlFlowContainer=4]=\"IsControlFlowContainer\",S[S.IsFunctionLike=8]=\"IsFunctionLike\",S[S.IsFunctionExpression=16]=\"IsFunctionExpression\",S[S.HasLocals=32]=\"HasLocals\",S[S.IsInterface=64]=\"IsInterface\",S[S.IsObjectLiteralOrClassExpressionMethodOrAccessor=128]=\"IsObjectLiteralOrClassExpressionMethodOrAccessor\"})(d||(d={}));function k(S){return e.Debug.attachFlowNodeDebugInfo(S),S}var J=v();function h(S,B){e.tracing===null||e.tracing===void 0||e.tracing.push(\"bind\",\"bindSourceFile\",{path:S.path},!0),e.performance.mark(\"beforeBind\"),e.perfLogger.logStartBindFile(\"\"+S.fileName),J(S,B),e.perfLogger.logStopBindFile(),e.performance.mark(\"afterBind\"),e.performance.measure(\"Bind\",\"beforeBind\",\"afterBind\"),e.tracing===null||e.tracing===void 0||e.tracing.pop()}e.bindSourceFile=h;function v(){var S,B,H,I,w,x,O,q,Z,ne,F,Q,V,re,T,N,y,D,C,m,u,g,P=!1,te=0,ue,X,j={flags:1},Se={flags:1},Ce=fr();function R(pe,Rr,ft,Zt,Re){return e.createDiagnosticForNodeInSourceFile(e.getSourceFileOfNode(pe)||S,pe,Rr,ft,Zt,Re)}function Y(pe,Rr){S=pe,B=Rr,H=e.getEmitScriptTarget(B),g=U(S,Rr),X=new e.Set,te=0,ue=e.objectAllocator.getSymbolConstructor(),e.Debug.attachFlowNodeDebugInfo(j),e.Debug.attachFlowNodeDebugInfo(Se),S.locals||(Ha(S),S.symbolCount=te,S.classifiableNames=X,pt()),S=void 0,B=void 0,H=void 0,I=void 0,w=void 0,x=void 0,O=void 0,q=void 0,Z=void 0,ne=!1,F=void 0,Q=void 0,V=void 0,re=void 0,T=void 0,N=void 0,y=void 0,C=void 0,m=!1,P=!1,u=0}return Y;function U(pe,Rr){return e.getStrictOptionValue(Rr,\"alwaysStrict\")&&!pe.isDeclarationFile?!0:!!pe.externalModuleIndicator}function K(pe,Rr){return te++,new ue(pe,Rr)}function Te(pe,Rr,ft){pe.flags|=ft,Rr.symbol=pe,pe.declarations=e.appendIfUnique(pe.declarations,Rr),ft&1955&&!pe.exports&&(pe.exports=e.createSymbolTable()),ft&6240&&!pe.members&&(pe.members=e.createSymbolTable()),pe.constEnumOnlyModule&&pe.flags&304&&(pe.constEnumOnlyModule=!1),ft&111551&&e.setValueDeclaration(pe,Rr)}function ge(pe){if(pe.kind===270)return pe.isExportEquals?\"export=\":\"default\";var Rr=e.getNameOfDeclaration(pe);if(Rr){if(e.isAmbientModule(pe)){var ft=e.getTextOfIdentifierOrLiteral(Rr);return e.isGlobalScopeAugmentation(pe)?\"__global\":'\"'.concat(ft,'\"')}if(Rr.kind===161){var Zt=Rr.expression;if(e.isStringOrNumericLiteralLike(Zt))return e.escapeLeadingUnderscores(Zt.text);if(e.isSignedNumericLiteral(Zt))return e.tokenToString(Zt.operator)+Zt.operand.text;e.Debug.fail(\"Only computed properties with literal names have declaration names\")}if(e.isPrivateIdentifier(Rr)){var Re=e.getContainingClass(pe);if(!Re)return;var Qr=Re.symbol;return e.getSymbolNameForPrivateIdentifier(Qr,Rr.escapedText)}return e.isPropertyNameLiteral(Rr)?e.getEscapedTextOfIdentifierOrLiteral(Rr):void 0}switch(pe.kind){case 170:return\"__constructor\";case 178:case 173:case 321:return\"__call\";case 179:case 174:return\"__new\";case 175:return\"__index\";case 271:return\"__export\";case 303:return\"export=\";case 220:if(e.getAssignmentDeclarationKind(pe)===2)return\"export=\";e.Debug.fail(\"Unknown binary declaration kind\");break;case 315:return e.isJSDocConstructSignature(pe)?\"__new\":\"__call\";case 163:e.Debug.assert(pe.parent.kind===315,\"Impossible parameter parent kind\",function(){return\"parent is: \".concat(e.SyntaxKind?e.SyntaxKind[pe.parent.kind]:pe.parent.kind,\", expected JSDocFunctionType\")});var vn=pe.parent,Xn=vn.parameters.indexOf(pe);return\"arg\"+Xn}}function ke(pe){return e.isNamedDeclaration(pe)?e.declarationNameToString(pe.name):e.unescapeLeadingUnderscores(e.Debug.checkDefined(ge(pe)))}function Pe(pe,Rr,ft,Zt,Re,Qr,vn){e.Debug.assert(vn||!e.hasDynamicName(ft));var Xn=e.hasSyntacticModifier(ft,512)||e.isExportSpecifier(ft)&&ft.name.escapedText===\"default\",gi=vn?\"__computed\":Xn&&Rr?\"default\":ge(ft),Ia;if(gi===void 0)Ia=K(0,\"__missing\");else if(Ia=pe.get(gi),Zt&2885600&&X.add(gi),!Ia)pe.set(gi,Ia=K(0,gi)),Qr&&(Ia.isReplaceableByMethod=!0);else{if(Qr&&!Ia.isReplaceableByMethod)return Ia;if(Ia.flags&Re){if(Ia.isReplaceableByMethod)pe.set(gi,Ia=K(0,gi));else if(!(Zt&3&&Ia.flags&67108864)){e.isNamedDeclaration(ft)&&e.setParent(ft.name,ft);var oo=Ia.flags&2?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,Wo=!0;(Ia.flags&384||Zt&384)&&(oo=e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,Wo=!1);var Ir=!1;e.length(Ia.declarations)&&(Xn||Ia.declarations&&Ia.declarations.length&&ft.kind===270&&!ft.isExportEquals)&&(oo=e.Diagnostics.A_module_cannot_have_multiple_default_exports,Wo=!1,Ir=!0);var Us=[];e.isTypeAliasDeclaration(ft)&&e.nodeIsMissing(ft.type)&&e.hasSyntacticModifier(ft,1)&&Ia.flags&2887656&&Us.push(R(ft,e.Diagnostics.Did_you_mean_0,\"export type { \".concat(e.unescapeLeadingUnderscores(ft.name.escapedText),\" }\")));var il=e.getNameOfDeclaration(ft)||ft;e.forEach(Ia.declarations,function(Co,Vs){var Ql=e.getNameOfDeclaration(Co)||Co,zl=R(Ql,oo,Wo?ke(Co):void 0);S.bindDiagnostics.push(Ir?e.addRelatedInfo(zl,R(il,Vs===0?e.Diagnostics.Another_export_default_is_here:e.Diagnostics.and_here)):zl),Ir&&Us.push(R(Ql,e.Diagnostics.The_first_export_default_is_here))});var Ml=R(il,oo,Wo?ke(ft):void 0);S.bindDiagnostics.push(e.addRelatedInfo.apply(void 0,Gt([Ml],Us,!1))),Ia=K(0,gi)}}}return Te(Ia,ft,Zt),Ia.parent?e.Debug.assert(Ia.parent===Rr,\"Existing symbol parent should match new one\"):Ia.parent=Rr,Ia}function Ie(pe,Rr,ft){var Zt=!!(e.getCombinedModifierFlags(pe)&1)||Ge(pe);if(Rr&2097152)return pe.kind===274||pe.kind===264&&Zt?Pe(w.symbol.exports,w.symbol,pe,Rr,ft):Pe(w.locals,void 0,pe,Rr,ft);if(e.isJSDocTypeAlias(pe)&&e.Debug.assert(e.isInJSFile(pe)),!e.isAmbientModule(pe)&&(Zt||w.flags&64)){if(!w.locals||e.hasSyntacticModifier(pe,512)&&!ge(pe))return Pe(w.symbol.exports,w.symbol,pe,Rr,ft);var Re=Rr&111551?1048576:0,Qr=Pe(w.locals,void 0,pe,Re,ft);return Qr.exportSymbol=Pe(w.symbol.exports,w.symbol,pe,Rr,ft),pe.localSymbol=Qr,Qr}else return Pe(w.locals,void 0,pe,Rr,ft)}function Ge(pe){if(pe.parent&&e.isModuleDeclaration(pe)&&(pe=pe.parent),!e.isJSDocTypeAlias(pe))return!1;if(!e.isJSDocEnumTag(pe)&&!!pe.fullName)return!0;var Rr=e.getNameOfDeclaration(pe);return Rr?!!(e.isPropertyAccessEntityNameExpression(Rr.parent)&&$a(Rr.parent)||e.isDeclaration(Rr.parent)&&e.getCombinedModifierFlags(Rr.parent)&1):!1}function he(pe,Rr){var ft=w,Zt=x,Re=O;if(Rr&1?(pe.kind!==213&&(x=w),w=O=pe,Rr&32&&(w.locals=e.createSymbolTable()),mt(w)):Rr&2&&(O=pe,O.locals=void 0),Rr&4){var Qr=F,vn=Q,Xn=V,gi=re,Ia=y,oo=C,Wo=m,Ir=Rr&16&&!e.hasSyntacticModifier(pe,256)&&!pe.asteriskToken&&!!e.getImmediatelyInvokedFunctionExpression(pe);Ir||(F=k({flags:2}),Rr&144&&(F.node=pe)),re=Ir||pe.kind===170||pe.kind===169||e.isInJSFile(pe)&&(pe.kind===255||pe.kind===212)?lr():void 0,y=void 0,Q=void 0,V=void 0,C=void 0,m=!1,Le(pe),pe.flags&=-2817,!(F.flags&1)&&Rr&8&&e.nodeIsPresent(pe.body)&&(pe.flags|=256,m&&(pe.flags|=512),pe.endFlowNode=F),pe.kind===303&&(pe.flags|=u,pe.endFlowNode=F),re&&(Me(re,F),F=Fe(re),(pe.kind===170||pe.kind===169||e.isInJSFile(pe)&&(pe.kind===255||pe.kind===212))&&(pe.returnFlowNode=F)),Ir||(F=Qr),Q=vn,V=Xn,re=gi,y=Ia,C=oo,m=Wo}else Rr&64?(ne=!1,Le(pe),pe.flags=ne?pe.flags|128:pe.flags&-129):Le(pe);w=ft,x=Zt,O=Re}function ve(pe){Ve(pe,function(Rr){return Rr.kind===255?Ha(Rr):void 0}),Ve(pe,function(Rr){return Rr.kind!==255?Ha(Rr):void 0})}function Ve(pe,Rr){Rr===void 0&&(Rr=Ha),pe!==void 0&&e.forEach(pe,Rr)}function _e(pe){e.forEachChild(pe,Ha,Ve)}function Le(pe){var Rr=P;if(P=!1,as(pe)){_e(pe),Yo(pe),P=Rr;return}switch(pe.kind>=236&&pe.kind<=252&&!B.allowUnreachableCode&&(pe.flowNode=F),pe.kind){case 240:Yr(pe);break;case 239:lt(pe);break;case 241:tt(pe);break;case 242:case 243:Rt(pe);break;case 238:cn(pe);break;case 246:case 250:bn(pe);break;case 245:case 244:ir(pe);break;case 251:Or(pe);break;case 248:sr(pe);break;case 262:ye(pe);break;case 288:or(pe);break;case 237:fe(pe);break;case 249:Ee(pe);break;case 218:me(pe);break;case 219:Ze(pe);break;case 220:if(e.isDestructuringAssignment(pe)){P=Rr,Cr(pe);return}Ce(pe);break;case 214:dr(pe);break;case 221:et(pe);break;case 253:Vr(pe);break;case 205:case 206:xt(pe);break;case 207:wt(pe);break;case 229:ht(pe);break;case 343:case 336:case 337:xr(pe);break;case 303:{ve(pe.statements),Ha(pe.endOfFileToken);break}case 234:case 261:ve(pe.statements);break;case 202:tr(pe);break;case 204:case 203:case 294:case 224:P=Rr;default:_e(pe);break}Yo(pe),P=Rr}function qe(pe){switch(pe.kind){case 79:case 80:case 108:case 205:case 206:return De(pe);case 207:return Ae(pe);case 211:case 229:return qe(pe.expression);case 220:return Dr(pe);case 218:return pe.operator===53&&qe(pe.operand);case 215:return qe(pe.expression)}return!1}function Xe(pe){return e.isDottedName(pe)||(e.isPropertyAccessExpression(pe)||e.isNonNullExpression(pe)||e.isParenthesizedExpression(pe))&&Xe(pe.expression)||e.isBinaryExpression(pe)&&pe.operatorToken.kind===27&&Xe(pe.right)||e.isElementAccessExpression(pe)&&e.isStringOrNumericLiteralLike(pe.argumentExpression)&&Xe(pe.expression)||e.isAssignmentExpression(pe)&&Xe(pe.left)}function De(pe){return Xe(pe)||e.isOptionalChain(pe)&&De(pe.expression)}function Ae(pe){if(pe.arguments)for(var Rr=0,ft=pe.arguments;Rr<ft.length;Rr++){var Zt=ft[Rr];if(De(Zt))return!0}return!!(pe.expression.kind===205&&De(pe.expression.expression))}function Ye(pe,Rr){return e.isTypeOfExpression(pe)&&br(pe.expression)&&e.isStringLiteralLike(Rr)}function Dr(pe){switch(pe.operatorToken.kind){case 63:case 75:case 76:case 77:return De(pe.left);case 34:case 35:case 36:case 37:return br(pe.left)||br(pe.right)||Ye(pe.right,pe.left)||Ye(pe.left,pe.right);case 102:return br(pe.left);case 101:return qe(pe.right);case 27:return qe(pe.right)}return!1}function br(pe){switch(pe.kind){case 211:return br(pe.expression);case 220:switch(pe.operatorToken.kind){case 63:return br(pe.left);case 27:return br(pe.right)}}return De(pe)}function lr(){return k({flags:4,antecedents:void 0})}function Ar(){return k({flags:8,antecedents:void 0})}function kr(pe,Rr,ft){return k({flags:1024,target:pe,antecedents:Rr,antecedent:ft})}function Ke(pe){pe.flags|=pe.flags&2048?4096:2048}function Me(pe,Rr){!(Rr.flags&1)&&!e.contains(pe.antecedents,Rr)&&((pe.antecedents||(pe.antecedents=[])).push(Rr),Ke(Rr))}function Hr(pe,Rr,ft){return Rr.flags&1?Rr:ft?(ft.kind===110&&pe&64||ft.kind===95&&pe&32)&&!e.isExpressionOfOptionalChainRoot(ft)&&!e.isNullishCoalesce(ft.parent)?j:qe(ft)?(Ke(Rr),k({flags:pe,antecedent:Rr,node:ft})):Rr:pe&32?Rr:j}function ur(pe,Rr,ft,Zt){return Ke(pe),k({flags:128,antecedent:pe,switchStatement:Rr,clauseStart:ft,clauseEnd:Zt})}function gr(pe,Rr,ft){Ke(Rr);var Zt=k({flags:pe,antecedent:Rr,node:ft});return y&&Me(y,Zt),Zt}function de(pe,Rr){return Ke(pe),k({flags:512,antecedent:pe,node:Rr})}function Fe(pe){var Rr=pe.antecedents;return Rr?Rr.length===1?Rr[0]:pe:j}function $e(pe){var Rr=pe.parent;switch(Rr.kind){case 238:case 240:case 239:return Rr.expression===pe;case 241:case 221:return Rr.condition===pe}return!1}function Sr(pe){for(;;)if(pe.kind===211)pe=pe.expression;else if(pe.kind===218&&pe.operator===53)pe=pe.operand;else return pe.kind===220&&(pe.operatorToken.kind===55||pe.operatorToken.kind===56||pe.operatorToken.kind===60)}function Pr(pe){return pe=e.skipParentheses(pe),e.isBinaryExpression(pe)&&e.isLogicalOrCoalescingAssignmentOperator(pe.operatorToken.kind)}function He(pe){for(;e.isParenthesizedExpression(pe.parent)||e.isPrefixUnaryExpression(pe.parent)&&pe.parent.operator===53;)pe=pe.parent;return!$e(pe)&&!Pr(pe.parent)&&!Sr(pe.parent)&&!(e.isOptionalChain(pe.parent)&&pe.parent.expression===pe)}function pr(pe,Rr,ft,Zt){var Re=T,Qr=N;T=ft,N=Zt,pe(Rr),T=Re,N=Qr}function Jr(pe,Rr,ft){pr(Ha,pe,Rr,ft),(!pe||!Pr(pe)&&!Sr(pe)&&!(e.isOptionalChain(pe)&&e.isOutermostOptionalChain(pe)))&&(Me(Rr,Hr(32,F,pe)),Me(ft,Hr(64,F,pe)))}function ze(pe,Rr,ft){var Zt=Q,Re=V;Q=Rr,V=ft,Ha(pe),Q=Zt,V=Re}function Lr(pe,Rr){for(var ft=C;ft&&pe.parent.kind===249;)ft.continueTarget=Rr,ft=ft.next,pe=pe.parent;return Rr}function Yr(pe){var Rr=Lr(pe,Ar()),ft=lr(),Zt=lr();Me(Rr,F),F=Rr,Jr(pe.expression,ft,Zt),F=Fe(ft),ze(pe.statement,Zt,Rr),Me(Rr,F),F=Fe(Zt)}function lt(pe){var Rr=Ar(),ft=Lr(pe,lr()),Zt=lr();Me(Rr,F),F=Rr,ze(pe.statement,Zt,ft),Me(ft,F),F=Fe(ft),Jr(pe.expression,Rr,Zt),F=Fe(Zt)}function tt(pe){var Rr=Lr(pe,Ar()),ft=lr(),Zt=lr();Ha(pe.initializer),Me(Rr,F),F=Rr,Jr(pe.condition,ft,Zt),F=Fe(ft),ze(pe.statement,Zt,Rr),Ha(pe.incrementor),Me(Rr,F),F=Fe(Zt)}function Rt(pe){var Rr=Lr(pe,Ar()),ft=lr();Ha(pe.expression),Me(Rr,F),F=Rr,pe.kind===243&&Ha(pe.awaitModifier),Me(ft,F),Ha(pe.initializer),pe.initializer.kind!==254&&$(pe.initializer),ze(pe.statement,ft,Rr),Me(Rr,F),F=Fe(ft)}function cn(pe){var Rr=lr(),ft=lr(),Zt=lr();Jr(pe.expression,Rr,ft),F=Fe(Rr),Ha(pe.thenStatement),Me(Zt,F),F=Fe(ft),Ha(pe.elseStatement),Me(Zt,F),F=Fe(Zt)}function bn(pe){Ha(pe.expression),pe.kind===246&&(m=!0,re&&Me(re,F)),F=j}function In(pe){for(var Rr=C;Rr;Rr=Rr.next)if(Rr.name===pe)return Rr}function zn(pe,Rr,ft){var Zt=pe.kind===245?Rr:ft;Zt&&(Me(Zt,F),F=j)}function ir(pe){if(Ha(pe.label),pe.label){var Rr=In(pe.label.escapedText);Rr&&(Rr.referenced=!0,zn(pe,Rr.breakTarget,Rr.continueTarget))}else zn(pe,Q,V)}function Or(pe){var Rr=re,ft=y,Zt=lr(),Re=lr(),Qr=lr();if(pe.finallyBlock&&(re=Re),Me(Qr,F),y=Qr,Ha(pe.tryBlock),Me(Zt,F),pe.catchClause&&(F=Fe(Qr),Qr=lr(),Me(Qr,F),y=Qr,Ha(pe.catchClause),Me(Zt,F)),re=Rr,y=ft,pe.finallyBlock){var vn=lr();vn.antecedents=e.concatenate(e.concatenate(Zt.antecedents,Qr.antecedents),Re.antecedents),F=vn,Ha(pe.finallyBlock),F.flags&1?F=j:(re&&Re.antecedents&&Me(re,kr(vn,Re.antecedents,F)),y&&Qr.antecedents&&Me(y,kr(vn,Qr.antecedents,F)),F=Zt.antecedents?kr(vn,Zt.antecedents,F):j)}else F=Fe(Zt)}function sr(pe){var Rr=lr();Ha(pe.expression);var ft=Q,Zt=D;Q=Rr,D=F,Ha(pe.caseBlock),Me(Rr,F);var Re=e.forEach(pe.caseBlock.clauses,function(Qr){return Qr.kind===289});pe.possiblyExhaustive=!Re&&!Rr.antecedents,Re||Me(Rr,ur(D,pe,0,0)),Q=ft,D=Zt,F=Fe(Rr)}function ye(pe){for(var Rr=pe.clauses,ft=qe(pe.parent.expression),Zt=j,Re=0;Re<Rr.length;Re++){for(var Qr=Re;!Rr[Re].statements.length&&Re+1<Rr.length;)Ha(Rr[Re]),Re++;var vn=lr();Me(vn,ft?ur(D,pe.parent,Qr,Re+1):D),Me(vn,Zt),F=Fe(vn);var Xn=Rr[Re];Ha(Xn),Zt=F,!(F.flags&1)&&Re!==Rr.length-1&&B.noFallthroughCasesInSwitch&&(Xn.fallthroughFlowNode=F)}}function or(pe){var Rr=F;F=D,Ha(pe.expression),F=Rr,Ve(pe.statements)}function fe(pe){Ha(pe.expression),je(pe.expression)}function je(pe){if(pe.kind===207){var Rr=pe;Rr.expression.kind!==106&&e.isDottedName(Rr.expression)&&(F=de(F,Rr))}}function Ee(pe){var Rr=lr();C={next:C,name:pe.label.escapedText,breakTarget:Rr,continueTarget:void 0,referenced:!1},Ha(pe.label),Ha(pe.statement),!C.referenced&&!B.allowUnusedLabels&&No(e.unusedLabelIsError(B),pe.label,e.Diagnostics.Unused_label),C=C.next,Me(Rr,F),F=Fe(Rr)}function We(pe){pe.kind===220&&pe.operatorToken.kind===63?$(pe.left):$(pe)}function $(pe){if(Xe(pe))F=gr(16,F,pe);else if(pe.kind===203)for(var Rr=0,ft=pe.elements;Rr<ft.length;Rr++){var Zt=ft[Rr];Zt.kind===224?$(Zt.expression):We(Zt)}else if(pe.kind===204)for(var Re=0,Qr=pe.properties;Re<Qr.length;Re++){var vn=Qr[Re];vn.kind===294?We(vn.initializer):vn.kind===295?$(vn.name):vn.kind===296&&$(vn.expression)}}function Ne(pe,Rr,ft){var Zt=lr();pe.operatorToken.kind===55||pe.operatorToken.kind===76?Jr(pe.left,Zt,ft):Jr(pe.left,Rr,Zt),F=Fe(Zt),Ha(pe.operatorToken),e.isLogicalOrCoalescingAssignmentOperator(pe.operatorToken.kind)?(pr(Ha,pe.right,Rr,ft),$(pe.left),Me(Rr,Hr(32,F,pe)),Me(ft,Hr(64,F,pe))):Jr(pe.right,Rr,ft)}function me(pe){if(pe.operator===53){var Rr=T;T=N,N=Rr,_e(pe),N=T,T=Rr}else _e(pe),(pe.operator===45||pe.operator===46)&&$(pe.operand)}function Ze(pe){_e(pe),(pe.operator===45||pe.operator===46)&&$(pe.operand)}function Cr(pe){P?(P=!1,Ha(pe.operatorToken),Ha(pe.right),P=!0,Ha(pe.left)):(P=!0,Ha(pe.left),P=!1,Ha(pe.operatorToken),Ha(pe.right)),$(pe.left)}function fr(){return e.createBinaryExpressionTrampoline(pe,Rr,ft,Zt,Re,void 0);function pe(vn,Xn){if(Xn){Xn.stackIndex++,e.setParent(vn,I);var gi=g;hi(vn);var Ia=I;I=vn,Xn.skip=!1,Xn.inStrictModeStack[Xn.stackIndex]=gi,Xn.parentStack[Xn.stackIndex]=Ia}else Xn={stackIndex:0,skip:!1,inStrictModeStack:[void 0],parentStack:[void 0]};var oo=vn.operatorToken.kind;if(oo===55||oo===56||oo===60||e.isLogicalOrCoalescingAssignmentOperator(oo)){if(He(vn)){var Wo=lr();Ne(vn,Wo,Wo),F=Fe(Wo)}else Ne(vn,T,N);Xn.skip=!0}return Xn}function Rr(vn,Xn,gi){if(!Xn.skip)return Qr(vn)}function ft(vn,Xn,gi){Xn.skip||(vn.kind===27&&je(gi.left),Ha(vn))}function Zt(vn,Xn,gi){if(!Xn.skip)return Qr(vn)}function Re(vn,Xn){if(!Xn.skip){var gi=vn.operatorToken.kind;if(e.isAssignmentOperator(gi)&&!e.isAssignmentTarget(vn)&&($(vn.left),gi===63&&vn.left.kind===206)){var Ia=vn.left;br(Ia.expression)&&(F=gr(256,F,vn))}}var oo=Xn.inStrictModeStack[Xn.stackIndex],Wo=Xn.parentStack[Xn.stackIndex];oo!==void 0&&(g=oo),Wo!==void 0&&(I=Wo),Xn.skip=!1,Xn.stackIndex--}function Qr(vn){if(vn&&e.isBinaryExpression(vn)&&!e.isDestructuringAssignment(vn))return vn;Ha(vn)}}function dr(pe){_e(pe),pe.expression.kind===205&&$(pe.expression)}function et(pe){var Rr=lr(),ft=lr(),Zt=lr();Jr(pe.condition,Rr,ft),F=Fe(Rr),Ha(pe.questionToken),Ha(pe.whenTrue),Me(Zt,F),F=Fe(ft),Ha(pe.colonToken),Ha(pe.whenFalse),Me(Zt,F),F=Fe(Zt)}function yt(pe){var Rr=e.isOmittedExpression(pe)?void 0:pe.name;if(e.isBindingPattern(Rr))for(var ft=0,Zt=Rr.elements;ft<Zt.length;ft++){var Re=Zt[ft];yt(Re)}else F=gr(16,F,pe)}function Vr(pe){_e(pe),(pe.initializer||e.isForInOrOfStatement(pe.parent.parent))&&yt(pe)}function tr(pe){e.isBindingPattern(pe.name)?(Ve(pe.decorators),Ve(pe.modifiers),Ha(pe.dotDotDotToken),Ha(pe.propertyName),Ha(pe.initializer),Ha(pe.name)):_e(pe)}function xr(pe){Ha(pe.tagName),pe.kind!==337&&pe.fullName&&(e.setParent(pe.fullName,pe),e.setParentRecursive(pe.fullName,!1)),typeof pe.comment!=\"string\"&&Ve(pe.comment)}function Nr(pe){_e(pe);var Rr=e.getHostSignatureFromJSDoc(pe);Rr&&Rr.kind!==168&&Te(Rr.symbol,Rr,32)}function zr(pe,Rr,ft){pr(Ha,pe,Rr,ft),(!e.isOptionalChain(pe)||e.isOutermostOptionalChain(pe))&&(Me(Rr,Hr(32,F,pe)),Me(ft,Hr(64,F,pe)))}function gt(pe){switch(pe.kind){case 205:Ha(pe.questionDotToken),Ha(pe.name);break;case 206:Ha(pe.questionDotToken),Ha(pe.argumentExpression);break;case 207:Ha(pe.questionDotToken),Ve(pe.typeArguments),Ve(pe.arguments);break}}function vt(pe,Rr,ft){var Zt=e.isOptionalChainRoot(pe)?lr():void 0;zr(pe.expression,Zt||Rr,ft),Zt&&(F=Fe(Zt)),pr(gt,pe,Rr,ft),e.isOutermostOptionalChain(pe)&&(Me(Rr,Hr(32,F,pe)),Me(ft,Hr(64,F,pe)))}function ut(pe){if(He(pe)){var Rr=lr();vt(pe,Rr,Rr),F=Fe(Rr)}else vt(pe,T,N)}function ht(pe){e.isOptionalChain(pe)?ut(pe):_e(pe)}function xt(pe){e.isOptionalChain(pe)?ut(pe):_e(pe)}function wt(pe){if(e.isOptionalChain(pe))ut(pe);else{var Rr=e.skipParentheses(pe.expression);Rr.kind===212||Rr.kind===213?(Ve(pe.typeArguments),Ve(pe.arguments),Ha(pe.expression)):(_e(pe),pe.expression.kind===106&&(F=de(F,pe)))}if(pe.expression.kind===205){var ft=pe.expression;e.isIdentifier(ft.name)&&br(ft.expression)&&e.isPushOrUnshiftIdentifier(ft.name)&&(F=gr(256,F,pe))}}function Qt(pe){switch(pe.kind){case 225:case 256:case 259:case 204:case 181:case 320:case 285:return 1;case 257:return 65;case 260:case 258:case 194:return 33;case 303:return 37;case 171:case 172:case 168:if(e.isObjectLiteralOrClassExpressionMethodOrAccessor(pe))return 173;case 170:case 255:case 167:case 173:case 321:case 315:case 178:case 174:case 175:case 179:case 169:return 45;case 212:case 213:return 61;case 261:return 4;case 166:return pe.initializer?4:0;case 291:case 241:case 242:case 243:case 262:return 2;case 234:return e.isFunctionLike(pe.parent)||e.isClassStaticBlockDeclaration(pe.parent)?0:2}return 0}function mt(pe){q&&(q.nextContainer=pe),q=pe}function rn(pe,Rr,ft){switch(w.kind){case 260:return Ie(pe,Rr,ft);case 303:return ba(pe,Rr,ft);case 225:case 256:return sa(pe,Rr,ft);case 259:return Pe(w.symbol.exports,w.symbol,pe,Rr,ft);case 181:case 320:case 204:case 257:case 285:return Pe(w.symbol.members,w.symbol,pe,Rr,ft);case 178:case 179:case 173:case 174:case 321:case 175:case 168:case 167:case 170:case 171:case 172:case 255:case 212:case 213:case 315:case 343:case 336:case 169:case 258:case 194:return Pe(w.locals,void 0,pe,Rr,ft)}}function sa(pe,Rr,ft){return e.isStatic(pe)?Pe(w.symbol.exports,w.symbol,pe,Rr,ft):Pe(w.symbol.members,w.symbol,pe,Rr,ft)}function ba(pe,Rr,ft){return e.isExternalModule(S)?Ie(pe,Rr,ft):Pe(S.locals,void 0,pe,Rr,ft)}function Jn(pe){var Rr=e.isSourceFile(pe)?pe:e.tryCast(pe.body,e.isModuleBlock);return!!Rr&&Rr.statements.some(function(ft){return e.isExportDeclaration(ft)||e.isExportAssignment(ft)})}function na(pe){pe.flags&8388608&&!Jn(pe)?pe.flags|=64:pe.flags&=-65}function Wn(pe){if(na(pe),e.isAmbientModule(pe))if(e.hasSyntacticModifier(pe,1)&&to(pe,e.Diagnostics.export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible),e.isModuleAugmentationExternal(pe))en(pe);else{var Rr=void 0;if(pe.name.kind===10){var ft=pe.name.text;Rr=e.tryParsePattern(ft),Rr===void 0&&to(pe.name,e.Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character,ft)}var Zt=rn(pe,512,110735);S.patternAmbientModules=e.append(S.patternAmbientModules,Rr&&!e.isString(Rr)?{pattern:Rr,symbol:Zt}:void 0)}else{var Re=en(pe);if(Re!==0){var Zt=pe.symbol;Zt.constEnumOnlyModule=!(Zt.flags&304)&&Re===2&&Zt.constEnumOnlyModule!==!1}}}function en(pe){var Rr=n(pe),ft=Rr!==0;return rn(pe,ft?512:1024,ft?110735:0),Rr}function St(pe){var Rr=K(131072,ge(pe));Te(Rr,pe,131072);var ft=K(2048,\"__type\");Te(ft,pe,2048),ft.members=e.createSymbolTable(),ft.members.set(Rr.escapedName,Rr)}function Ut(pe){var Rr;if(function(oo){oo[oo.Property=1]=\"Property\",oo[oo.Accessor=2]=\"Accessor\"}(Rr||(Rr={})),g&&!e.isAssignmentTarget(pe))for(var ft=new e.Map,Zt=0,Re=pe.properties;Zt<Re.length;Zt++){var Qr=Re[Zt];if(!(Qr.kind===296||Qr.name.kind!==79)){var vn=Qr.name,Xn=Qr.kind===294||Qr.kind===295||Qr.kind===168?1:2,gi=ft.get(vn.escapedText);if(!gi){ft.set(vn.escapedText,Xn);continue}if(Xn===1&&gi===1){var Ia=e.getErrorSpanForNode(S,vn);S.bindDiagnostics.push(e.createFileDiagnostic(S,Ia.start,Ia.length,e.Diagnostics.An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode))}}}return dn(pe,4096,\"__object\")}function qt(pe){return dn(pe,4096,\"__jsxAttributes\")}function Mn(pe,Rr,ft){return rn(pe,Rr,ft)}function dn(pe,Rr,ft){var Zt=K(Rr,ft);return Rr&106508&&(Zt.parent=w.symbol),Te(Zt,pe,Rr),Zt}function oa(pe,Rr,ft){switch(O.kind){case 260:Ie(pe,Rr,ft);break;case 303:if(e.isExternalOrCommonJsModule(w)){Ie(pe,Rr,ft);break}default:O.locals||(O.locals=e.createSymbolTable(),mt(O)),Pe(O.locals,void 0,pe,Rr,ft)}}function pt(){if(!!Z){for(var pe=w,Rr=q,ft=O,Zt=I,Re=F,Qr=0,vn=Z;Qr<vn.length;Qr++){var Xn=vn[Qr],gi=Xn.parent.parent;w=e.findAncestor(gi.parent,function(Ir){return!!(Qt(Ir)&1)})||S,O=e.getEnclosingBlockScopeContainer(gi)||S,F=k({flags:2}),I=Xn,Ha(Xn.typeExpression);var Ia=e.getNameOfDeclaration(Xn);if((e.isJSDocEnumTag(Xn)||!Xn.fullName)&&Ia&&e.isPropertyAccessEntityNameExpression(Ia.parent)){var oo=$a(Ia.parent);if(oo){xa(S.symbol,Ia.parent,oo,!!e.findAncestor(Ia,function(Ir){return e.isPropertyAccessExpression(Ir)&&Ir.name.escapedText===\"prototype\"}),!1);var Wo=w;switch(e.getAssignmentDeclarationPropertyAccessKind(Ia.parent)){case 1:case 2:e.isExternalOrCommonJsModule(S)?w=S:w=void 0;break;case 4:w=Ia.parent.expression;break;case 3:w=Ia.parent.expression.name;break;case 5:w=b(S,Ia.parent.expression)?S:e.isPropertyAccessExpression(Ia.parent.expression)?Ia.parent.expression.name:Ia.parent.expression;break;case 0:return e.Debug.fail(\"Shouldn't have detected typedef or enum on non-assignment declaration\")}w&&Ie(Xn,524288,788968),w=Wo}}else e.isJSDocEnumTag(Xn)||!Xn.fullName||Xn.fullName.kind===79?(I=Xn.parent,oa(Xn,524288,788968)):Ha(Xn.fullName)}w=pe,q=Rr,O=ft,I=Zt,F=Re}}function _t(pe){!S.parseDiagnostics.length&&!(pe.flags&8388608)&&!(pe.flags&4194304)&&!e.isIdentifierName(pe)&&(g&&pe.originalKeywordKind>=117&&pe.originalKeywordKind<=125?S.bindDiagnostics.push(R(pe,Mt(pe),e.declarationNameToString(pe))):pe.originalKeywordKind===132?e.isExternalModule(S)&&e.isInTopLevelContext(pe)?S.bindDiagnostics.push(R(pe,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,e.declarationNameToString(pe))):pe.flags&32768&&S.bindDiagnostics.push(R(pe,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,e.declarationNameToString(pe))):pe.originalKeywordKind===125&&pe.flags&8192&&S.bindDiagnostics.push(R(pe,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,e.declarationNameToString(pe))))}function Mt(pe){return e.getContainingClass(pe)?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:S.externalModuleIndicator?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode}function It(pe){pe.escapedText===\"#constructor\"&&(S.parseDiagnostics.length||S.bindDiagnostics.push(R(pe,e.Diagnostics.constructor_is_a_reserved_word,e.declarationNameToString(pe))))}function rt(pe){g&&e.isLeftHandSideExpression(pe.left)&&e.isAssignmentOperator(pe.operatorToken.kind)&&Ci(pe,pe.left)}function Cn(pe){g&&pe.variableDeclaration&&Ci(pe,pe.variableDeclaration.name)}function Qn(pe){if(g&&pe.expression.kind===79){var Rr=e.getErrorSpanForNode(S,pe.expression);S.bindDiagnostics.push(e.createFileDiagnostic(S,Rr.start,Rr.length,e.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}function Ra(pe){return e.isIdentifier(pe)&&(pe.escapedText===\"eval\"||pe.escapedText===\"arguments\")}function Ci(pe,Rr){if(Rr&&Rr.kind===79){var ft=Rr;if(Ra(ft)){var Zt=e.getErrorSpanForNode(S,Rr);S.bindDiagnostics.push(e.createFileDiagnostic(S,Zt.start,Zt.length,_i(pe),e.idText(ft)))}}}function _i(pe){return e.getContainingClass(pe)?e.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:S.externalModuleIndicator?e.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode:e.Diagnostics.Invalid_use_of_0_in_strict_mode}function va(pe){g&&Ci(pe,pe.name)}function yi(pe){return e.getContainingClass(pe)?e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:S.externalModuleIndicator?e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5}function ro(pe){if(H<2&&O.kind!==303&&O.kind!==260&&!e.isFunctionLikeOrClassStaticBlockDeclaration(O)){var Rr=e.getErrorSpanForNode(S,pe);S.bindDiagnostics.push(e.createFileDiagnostic(S,Rr.start,Rr.length,yi(pe)))}}function Ka(pe){g&&pe.numericLiteralFlags&32&&S.bindDiagnostics.push(R(pe,e.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode))}function Mi(pe){g&&Ci(pe,pe.operand)}function io(pe){g&&(pe.operator===45||pe.operator===46)&&Ci(pe,pe.operand)}function ji(pe){g&&to(pe,e.Diagnostics.with_statements_are_not_allowed_in_strict_mode)}function Hi(pe){g&&e.getEmitScriptTarget(B)>=2&&(e.isDeclarationStatement(pe.statement)||e.isVariableStatement(pe.statement))&&to(pe.label,e.Diagnostics.A_label_is_not_allowed_here)}function to(pe,Rr,ft,Zt,Re){var Qr=e.getSpanOfTokenAtPosition(S,pe.pos);S.bindDiagnostics.push(e.createFileDiagnostic(S,Qr.start,Qr.length,Rr,ft,Zt,Re))}function No(pe,Rr,ft){lo(pe,Rr,Rr,ft)}function lo(pe,Rr,ft,Zt){Lo(pe,{pos:e.getTokenPosOfNode(Rr,S),end:ft.end},Zt)}function Lo(pe,Rr,ft){var Zt=e.createFileDiagnostic(S,Rr.pos,Rr.end-Rr.pos,ft);pe?S.bindDiagnostics.push(Zt):S.bindSuggestionDiagnostics=e.append(S.bindSuggestionDiagnostics,Rn(Rn({},Zt),{category:e.DiagnosticCategory.Suggestion}))}function Ha(pe){if(!!pe){e.setParent(pe,I);var Rr=g;if(hi(pe),pe.kind>159){var ft=I;I=pe;var Zt=Qt(pe);Zt===0?Le(pe):he(pe,Zt),I=ft}else{var ft=I;pe.kind===1&&(I=pe),Yo(pe),I=ft}g=Rr}}function Yo(pe){if(e.hasJSDocNodes(pe))if(e.isInJSFile(pe))for(var Rr=0,ft=pe.jsDoc;Rr<ft.length;Rr++){var Zt=ft[Rr];Ha(Zt)}else for(var Re=0,Qr=pe.jsDoc;Re<Qr.length;Re++){var Zt=Qr[Re];e.setParent(Zt,pe),e.setParentRecursive(Zt,!1)}}function co(pe){if(!g)for(var Rr=0,ft=pe;Rr<ft.length;Rr++){var Zt=ft[Rr];if(!e.isPrologueDirective(Zt))return;if(za(Zt)){g=!0;return}}}function za(pe){var Rr=e.getSourceTextOfNodeFromSourceFile(S,pe.expression);return Rr==='\"use strict\"'||Rr===\"'use strict'\"}function hi(pe){switch(pe.kind){case 79:if(pe.isInJSDocNamespace){for(var Rr=pe.parent;Rr&&!e.isJSDocTypeAlias(Rr);)Rr=Rr.parent;oa(Rr,524288,788968);break}case 108:return F&&(e.isExpression(pe)||I.kind===295)&&(pe.flowNode=F),_t(pe);case 160:F&&e.isPartOfTypeQuery(pe)&&(pe.flowNode=F);break;case 230:case 106:pe.flowNode=F;break;case 80:return It(pe);case 205:case 206:var ft=pe;F&&Xe(ft)&&(ft.flowNode=F),e.isSpecialPropertyDeclaration(ft)&&er(ft),e.isInJSFile(ft)&&S.commonJsModuleIndicator&&e.isModuleExportsAccessExpression(ft)&&!M(O,\"module\")&&Pe(S.locals,void 0,ft.expression,134217729,111550);break;case 220:var Zt=e.getAssignmentDeclarationKind(pe);switch(Zt){case 1:Un(pe);break;case 2:Oe(pe);break;case 3:Dt(pe.left,pe);break;case 6:vr(pe);break;case 4:mr(pe);break;case 5:var Re=pe.left.expression;if(e.isInJSFile(pe)&&e.isIdentifier(Re)){var Qr=M(O,Re.escapedText);if(e.isThisInitializedDeclaration(Qr==null?void 0:Qr.valueDeclaration)){mr(pe);break}}Sn(pe);break;case 0:break;default:e.Debug.fail(\"Unknown binary expression special property assignment kind\")}return rt(pe);case 291:return Cn(pe);case 214:return Qn(pe);case 8:return Ka(pe);case 219:return Mi(pe);case 218:return io(pe);case 247:return ji(pe);case 249:return Hi(pe);case 191:ne=!0;return;case 176:break;case 162:return ko(pe);case 163:return ka(pe);case 253:return xi(pe);case 202:return pe.flowNode=F,xi(pe);case 166:case 165:return Zi(pe);case 294:case 295:return Gi(pe,4,0);case 297:return Gi(pe,8,900095);case 173:case 174:case 175:return rn(pe,131072,0);case 168:case 167:return Gi(pe,8192|(pe.questionToken?16777216:0),e.isObjectLiteralMethod(pe)?0:103359);case 255:return mi(pe);case 170:return rn(pe,16384,0);case 171:return Gi(pe,32768,46015);case 172:return Gi(pe,65536,78783);case 178:case 315:case 321:case 179:return St(pe);case 181:case 320:case 194:return Mo(pe);case 330:return Nr(pe);case 204:return Ut(pe);case 212:case 213:return Xi(pe);case 207:var vn=e.getAssignmentDeclarationKind(pe);switch(vn){case 7:return Jt(pe);case 8:return tn(pe);case 9:return qr(pe);case 0:break;default:return e.Debug.fail(\"Unknown call expression assignment declaration kind\")}e.isInJSFile(pe)&&da(pe);break;case 225:case 256:return g=!0,ei(pe);case 257:return oa(pe,64,788872);case 258:return oa(pe,524288,788968);case 259:return bi(pe);case 260:return Wn(pe);case 285:return qt(pe);case 284:return Mn(pe,4,0);case 264:case 267:case 269:case 274:return rn(pe,2097152,2097152);case 263:return Es(pe);case 266:return hr(pe);case 271:return Cs(pe);case 270:return zo(pe);case 303:return co(pe.statements),Po();case 234:if(!e.isFunctionLikeOrClassStaticBlockDeclaration(pe.parent))return;case 261:return co(pe.statements);case 338:if(pe.parent.kind===321)return ka(pe);if(pe.parent.kind!==320)break;case 345:var Xn=pe,gi=Xn.isBracketed||Xn.typeExpression&&Xn.typeExpression.type.kind===314?16777220:4;return rn(Xn,gi,0);case 343:case 336:case 337:return(Z||(Z=[])).push(pe)}}function Zi(pe){return Gi(pe,4|(pe.questionToken?16777216:0),0)}function Mo(pe){return dn(pe,2048,\"__type\")}function Po(){if(na(S),e.isExternalModule(S))Fo();else if(e.isJsonSourceFile(S)){Fo();var pe=S.symbol;Pe(S.symbol.exports,S.symbol,S,4,67108863),S.symbol=pe}}function Fo(){dn(S,512,'\"'.concat(e.removeFileExtension(S.fileName),'\"'))}function zo(pe){if(!w.symbol||!w.symbol.exports)dn(pe,111551,ge(pe));else{var Rr=e.exportAssignmentIsAlias(pe)?2097152:4,ft=Pe(w.symbol.exports,w.symbol,pe,Rr,67108863);pe.isExportEquals&&e.setValueDeclaration(ft,pe)}}function Es(pe){pe.modifiers&&pe.modifiers.length&&S.bindDiagnostics.push(R(pe,e.Diagnostics.Modifiers_cannot_appear_here));var Rr=e.isSourceFile(pe.parent)?e.isExternalModule(pe.parent)?pe.parent.isDeclarationFile?void 0:e.Diagnostics.Global_module_exports_may_only_appear_in_declaration_files:e.Diagnostics.Global_module_exports_may_only_appear_in_module_files:e.Diagnostics.Global_module_exports_may_only_appear_at_top_level;Rr?S.bindDiagnostics.push(R(pe,Rr)):(S.symbol.globalExports=S.symbol.globalExports||e.createSymbolTable(),Pe(S.symbol.globalExports,S.symbol,pe,2097152,2097152))}function Cs(pe){!w.symbol||!w.symbol.exports?dn(pe,8388608,ge(pe)):pe.exportClause?e.isNamespaceExport(pe.exportClause)&&(e.setParent(pe.exportClause,pe),Pe(w.symbol.exports,w.symbol,pe.exportClause,2097152,2097152)):Pe(w.symbol.exports,w.symbol,pe,8388608,0)}function hr(pe){pe.name&&rn(pe,2097152,2097152)}function dt(pe){return S.externalModuleIndicator?!1:(S.commonJsModuleIndicator||(S.commonJsModuleIndicator=pe,Fo()),!0)}function tn(pe){if(!!dt(pe)){var Rr=Pn(pe.arguments[0],void 0,function(Zt,Re){return Re&&Te(Re,Zt,67110400),Re});if(Rr){var ft=1048580;Pe(Rr.exports,Rr,pe,ft,0)}}}function Un(pe){if(!!dt(pe)){var Rr=Pn(pe.left.expression,void 0,function(Re,Qr){return Qr&&Te(Qr,Re,67110400),Qr});if(Rr){var ft=e.isAliasableExpression(pe.right)&&(e.isExportsIdentifier(pe.left.expression)||e.isModuleExportsAccessExpression(pe.left.expression)),Zt=ft?2097152:1048580;e.setParent(pe.left,pe),Pe(Rr.exports,Rr,pe.left,Zt,0)}}}function Oe(pe){if(!!dt(pe)){var Rr=e.getRightMostAssignedExpression(pe.right);if(!(e.isEmptyObjectLiteral(Rr)||w===S&&b(S,Rr))){if(e.isObjectLiteralExpression(Rr)&&e.every(Rr.properties,e.isShorthandPropertyAssignment)){e.forEach(Rr.properties,oe);return}var ft=e.exportAssignmentIsAlias(pe)?2097152:1049092,Zt=Pe(S.symbol.exports,S.symbol,pe,ft|67108864,0);e.setValueDeclaration(Zt,pe)}}}function oe(pe){Pe(S.symbol.exports,S.symbol,pe,69206016,0)}function mr(pe){e.Debug.assert(e.isInJSFile(pe));var Rr=e.isBinaryExpression(pe)&&e.isPropertyAccessExpression(pe.left)&&e.isPrivateIdentifier(pe.left.name)||e.isPropertyAccessExpression(pe)&&e.isPrivateIdentifier(pe.name);if(!Rr){var ft=e.getThisContainer(pe,!1);switch(ft.kind){case 255:case 212:var Zt=ft.symbol;if(e.isBinaryExpression(ft.parent)&&ft.parent.operatorToken.kind===63){var Re=ft.parent.left;e.isBindableStaticAccessExpression(Re)&&e.isPrototypeAccess(Re.expression)&&(Zt=bt(Re.expression.expression,x))}Zt&&Zt.valueDeclaration&&(Zt.members=Zt.members||e.createSymbolTable(),e.hasDynamicName(pe)?se(pe,Zt,Zt.members):Pe(Zt.members,Zt,pe,67108868,0),Te(Zt,Zt.valueDeclaration,32));break;case 170:case 166:case 168:case 171:case 172:case 169:var Qr=ft.parent,vn=e.isStatic(ft)?Qr.symbol.exports:Qr.symbol.members;e.hasDynamicName(pe)?se(pe,Qr.symbol,vn):Pe(vn,Qr.symbol,pe,67108868,0,!0);break;case 303:if(e.hasDynamicName(pe))break;ft.commonJsModuleIndicator?Pe(ft.symbol.exports,ft.symbol,pe,1048580,0):rn(pe,1,111550);break;default:e.Debug.failBadSyntaxKind(ft)}}}function se(pe,Rr,ft){Pe(ft,Rr,pe,4,0,!0,!0),Be(pe,Rr)}function Be(pe,Rr){Rr&&(Rr.assignmentDeclarationMembers||(Rr.assignmentDeclarationMembers=new e.Map)).set(e.getNodeId(pe),pe)}function er(pe){pe.expression.kind===108?mr(pe):e.isBindableStaticAccessExpression(pe)&&pe.parent.parent.kind===303&&(e.isPrototypeAccess(pe.expression)?Dt(pe,pe.parent):ta(pe))}function vr(pe){e.setParent(pe.left,pe),e.setParent(pe.right,pe),Ji(pe.left.expression,pe.left,!1,!0)}function qr(pe){var Rr=bt(pe.arguments[0].expression);Rr&&Rr.valueDeclaration&&Te(Rr,Rr.valueDeclaration,32),Di(pe,Rr,!0)}function Dt(pe,Rr){var ft=pe.expression,Zt=ft.expression;e.setParent(Zt,ft),e.setParent(ft,pe),e.setParent(pe,Rr),Ji(Zt,pe,!0,!0)}function Jt(pe){var Rr=bt(pe.arguments[0]),ft=pe.parent.parent.kind===303;Rr=xa(Rr,pe.arguments[0],ft,!1,!1),Di(pe,Rr,!1)}function Sn(pe){var Rr,ft=bt(pe.left.expression,w)||bt(pe.left.expression,O);if(!(!e.isInJSFile(pe)&&!e.isFunctionSymbol(ft))){var Zt=e.getLeftmostAccessExpression(pe.left);if(!(e.isIdentifier(Zt)&&((Rr=M(w,Zt.escapedText))===null||Rr===void 0?void 0:Rr.flags)&2097152))if(e.setParent(pe.left,pe),e.setParent(pe.right,pe),e.isIdentifier(pe.left.expression)&&w===S&&b(S,pe.left.expression))Un(pe);else if(e.hasDynamicName(pe)){dn(pe,67108868,\"__computed\");var Re=xa(ft,pe.left.expression,$a(pe.left),!1,!1);Be(pe,Re)}else ta(e.cast(pe.left,e.isBindableStaticNameExpression))}}function ta(pe){e.Debug.assert(!e.isIdentifier(pe)),e.setParent(pe.expression,pe),Ji(pe.expression,pe,!1,!1)}function xa(pe,Rr,ft,Zt,Re){if((pe==null?void 0:pe.flags)&2097152)return pe;if(ft&&!Zt){var Qr=67110400,vn=110735;pe=Pn(Rr,pe,function(Xn,gi,Ia){if(gi)return Te(gi,Xn,Qr),gi;var oo=Ia?Ia.exports:S.jsGlobalAugmentations||(S.jsGlobalAugmentations=e.createSymbolTable());return Pe(oo,Ia,Xn,Qr,vn)})}return Re&&pe&&pe.valueDeclaration&&Te(pe,pe.valueDeclaration,32),pe}function Di(pe,Rr,ft){if(!(!Rr||!So(Rr))){var Zt=ft?Rr.members||(Rr.members=e.createSymbolTable()):Rr.exports||(Rr.exports=e.createSymbolTable()),Re=0,Qr=0;e.isFunctionLikeDeclaration(e.getAssignedExpandoInitializer(pe))?(Re=8192,Qr=103359):e.isCallExpression(pe)&&e.isBindableObjectDefinePropertyCall(pe)&&(e.some(pe.arguments[2].properties,function(vn){var Xn=e.getNameOfDeclaration(vn);return!!Xn&&e.isIdentifier(Xn)&&e.idText(Xn)===\"set\"})&&(Re|=65540,Qr|=78783),e.some(pe.arguments[2].properties,function(vn){var Xn=e.getNameOfDeclaration(vn);return!!Xn&&e.isIdentifier(Xn)&&e.idText(Xn)===\"get\"})&&(Re|=32772,Qr|=46015)),Re===0&&(Re=4,Qr=0),Pe(Zt,Rr,pe,Re|67108864,Qr&-67108865)}}function $a(pe){return e.isBinaryExpression(pe.parent)?cs(pe.parent).parent.kind===303:pe.parent.parent.kind===303}function Ji(pe,Rr,ft,Zt){var Re=bt(pe,w)||bt(pe,O),Qr=$a(Rr);Re=xa(Re,Rr.expression,Qr,ft,Zt),Di(Rr,Re,ft)}function So(pe){if(pe.flags&1072)return!0;var Rr=pe.valueDeclaration;if(Rr&&e.isCallExpression(Rr))return!!e.getAssignedExpandoInitializer(Rr);var ft=Rr?e.isVariableDeclaration(Rr)?Rr.initializer:e.isBinaryExpression(Rr)?Rr.right:e.isPropertyAccessExpression(Rr)&&e.isBinaryExpression(Rr.parent)?Rr.parent.right:void 0:void 0;if(ft=ft&&e.getRightMostAssignedExpression(ft),ft){var Zt=e.isPrototypeAccess(e.isVariableDeclaration(Rr)?Rr.name:e.isBinaryExpression(Rr)?Rr.left:Rr);return!!e.getExpandoInitializer(e.isBinaryExpression(ft)&&(ft.operatorToken.kind===56||ft.operatorToken.kind===60)?ft.right:ft,Zt)}return!1}function cs(pe){for(;e.isBinaryExpression(pe.parent);)pe=pe.parent;return pe.parent}function bt(pe,Rr){if(Rr===void 0&&(Rr=w),e.isIdentifier(pe))return M(Rr,pe.escapedText);var ft=bt(pe.expression);return ft&&ft.exports&&ft.exports.get(e.getElementOrPropertyAccessName(pe))}function Pn(pe,Rr,ft){if(b(S,pe))return S.symbol;if(e.isIdentifier(pe))return ft(pe,bt(pe),Rr);var Zt=Pn(pe.expression,Rr,ft),Re=e.getNameOrArgument(pe);return e.isPrivateIdentifier(Re)&&e.Debug.fail(\"unexpected PrivateIdentifier\"),ft(Re,Zt&&Zt.exports&&Zt.exports.get(e.getElementOrPropertyAccessName(pe)),Zt)}function da(pe){!S.commonJsModuleIndicator&&e.isRequireCall(pe,!1)&&dt(pe)}function ei(pe){if(pe.kind===256)oa(pe,32,899503);else{var Rr=pe.name?pe.name.escapedText:\"__class\";dn(pe,32,Rr),pe.name&&X.add(pe.name.escapedText)}var ft=pe.symbol,Zt=K(4194308,\"prototype\"),Re=ft.exports.get(Zt.escapedName);Re&&(pe.name&&e.setParent(pe.name,pe),S.bindDiagnostics.push(R(Re.declarations[0],e.Diagnostics.Duplicate_identifier_0,e.symbolName(Zt)))),ft.exports.set(Zt.escapedName,Zt),Zt.parent=ft}function bi(pe){return e.isEnumConst(pe)?oa(pe,128,899967):oa(pe,256,899327)}function xi(pe){g&&Ci(pe,pe.name),e.isBindingPattern(pe.name)||(e.isInJSFile(pe)&&e.isVariableDeclarationInitializedToBareOrAccessedRequire(pe)&&!e.getJSDocTypeTag(pe)?rn(pe,2097152,2097152):e.isBlockOrCatchScoped(pe)?oa(pe,2,111551):e.isParameterDeclaration(pe)?rn(pe,1,111551):rn(pe,1,111550))}function ka(pe){if(!(pe.kind===338&&w.kind!==321)&&(g&&!(pe.flags&8388608)&&Ci(pe,pe.name),e.isBindingPattern(pe.name)?dn(pe,1,\"__\"+pe.parent.parameters.indexOf(pe)):rn(pe,1,111551),e.isParameterPropertyDeclaration(pe,pe.parent))){var Rr=pe.parent.parent;Pe(Rr.symbol.members,Rr.symbol,pe,4|(pe.questionToken?16777216:0),0)}}function mi(pe){!S.isDeclarationFile&&!(pe.flags&8388608)&&e.isAsyncFunction(pe)&&(u|=2048),va(pe),g?(ro(pe),oa(pe,16,110991)):rn(pe,16,110991)}function Xi(pe){!S.isDeclarationFile&&!(pe.flags&8388608)&&e.isAsyncFunction(pe)&&(u|=2048),F&&(pe.flowNode=F),va(pe);var Rr=pe.name?pe.name.escapedText:\"__function\";return dn(pe,16,Rr)}function Gi(pe,Rr,ft){return!S.isDeclarationFile&&!(pe.flags&8388608)&&e.isAsyncFunction(pe)&&(u|=2048),F&&e.isObjectLiteralOrClassExpressionMethodOrAccessor(pe)&&(pe.flowNode=F),e.hasDynamicName(pe)?dn(pe,Rr,\"__computed\"):rn(pe,Rr,ft)}function Ro(pe){var Rr=e.findAncestor(pe,function(ft){return ft.parent&&e.isConditionalTypeNode(ft.parent)&&ft.parent.extendsType===ft});return Rr&&Rr.parent}function ko(pe){if(e.isJSDocTemplateTag(pe.parent)){var Rr=e.getEffectiveContainerForJSDocTemplateTag(pe.parent);Rr?(Rr.locals||(Rr.locals=e.createSymbolTable()),Pe(Rr.locals,void 0,pe,262144,526824)):rn(pe,262144,526824)}else if(pe.parent.kind===189){var ft=Ro(pe.parent);ft?(ft.locals||(ft.locals=e.createSymbolTable()),Pe(ft.locals,void 0,pe,262144,526824)):dn(pe,262144,ge(pe))}else rn(pe,262144,526824)}function es(pe){var Rr=n(pe);return Rr===1||Rr===2&&e.shouldPreserveConstEnums(B)}function as(pe){if(!(F.flags&1))return!1;if(F===j){var Rr=e.isStatementButNotDeclaration(pe)&&pe.kind!==235||pe.kind===256||pe.kind===260&&es(pe);if(Rr&&(F=Se,!B.allowUnreachableCode)){var ft=e.unreachableCodeIsError(B)&&!(pe.flags&8388608)&&(!e.isVariableStatement(pe)||!!(e.getCombinedNodeFlags(pe.declarationList)&3)||pe.declarationList.declarations.some(function(Zt){return!!Zt.initializer}));A(pe,function(Zt,Re){return lo(ft,Zt,Re,e.Diagnostics.Unreachable_code_detected)})}}return!0}}function A(S,B){if(e.isStatement(S)&&z(S)&&e.isBlock(S.parent)){var H=S.parent.statements,I=e.sliceAfter(H,S);e.getRangesWhere(I,z,function(w,x){return B(I[w],I[x-1])})}else B(S,S)}function z(S){return!e.isFunctionDeclaration(S)&&!ie(S)&&!e.isEnumDeclaration(S)&&!(e.isVariableStatement(S)&&!(e.getCombinedNodeFlags(S)&3)&&S.declarationList.declarations.some(function(B){return!B.initializer}))}function ie(S){switch(S.kind){case 257:case 258:return!0;case 260:return n(S)!==1;case 259:return e.hasSyntacticModifier(S,2048);default:return!1}}function b(S,B){for(var H=0,I=[B];I.length&&H<100;){if(H++,B=I.shift(),e.isExportsIdentifier(B)||e.isModuleExportsAccessExpression(B))return!0;if(e.isIdentifier(B)){var w=M(S,B.escapedText);if(!!w&&!!w.valueDeclaration&&e.isVariableDeclaration(w.valueDeclaration)&&!!w.valueDeclaration.initializer){var x=w.valueDeclaration.initializer;I.push(x),e.isAssignmentExpression(x,!0)&&(I.push(x.left),I.push(x.right))}}}return!1}e.isExportsOrModuleExportsOrAlias=b;function M(S,B){var H=S.locals&&S.locals.get(B);return H?H.exportSymbol||H:e.isSourceFile(S)&&S.jsGlobalAugmentations&&S.jsGlobalAugmentations.has(B)?S.jsGlobalAugmentations.get(B):S.symbol&&S.symbol.exports&&S.symbol.exports.get(B)}}(jr||(jr={})),function(e){function n(f,p,a,d,k,J,h,v,A,z){return ie;function ie(b){b===void 0&&(b=function(){return!0});var M=[],S=[];return{walkType:function(V){try{return B(V),{visitedTypes:e.getOwnValues(M),visitedSymbols:e.getOwnValues(S)}}finally{e.clear(M),e.clear(S)}},walkSymbol:function(V){try{return Q(V),{visitedTypes:e.getOwnValues(M),visitedSymbols:e.getOwnValues(S)}}finally{e.clear(M),e.clear(S)}}};function B(V){if(!!V&&!M[V.id]){M[V.id]=V;var re=Q(V.symbol);if(!re){if(V.flags&524288){var T=V,N=T.objectFlags;N&4&&H(V),N&32&&q(V),N&3&&ne(V),N&24&&F(T)}V.flags&262144&&I(V),V.flags&3145728&&w(V),V.flags&4194304&&x(V),V.flags&8388608&&O(V)}}}function H(V){B(V.target),e.forEach(z(V),B)}function I(V){B(v(V))}function w(V){e.forEach(V.types,B)}function x(V){B(V.type)}function O(V){B(V.objectType),B(V.indexType),B(V.constraint)}function q(V){B(V.typeParameter),B(V.constraintType),B(V.templateType),B(V.modifiersType)}function Z(V){var re=p(V);re&&B(re.type),e.forEach(V.typeParameters,B);for(var T=0,N=V.parameters;T<N.length;T++){var y=N[T];Q(y)}B(f(V)),B(a(V))}function ne(V){F(V),e.forEach(V.typeParameters,B),e.forEach(d(V),B),B(V.thisType)}function F(V){for(var re=k(V),T=0,N=re.indexInfos;T<N.length;T++){var y=N[T];B(y.keyType),B(y.type)}for(var D=0,C=re.callSignatures;D<C.length;D++){var m=C[D];Z(m)}for(var u=0,g=re.constructSignatures;u<g.length;u++){var m=g[u];Z(m)}for(var P=0,te=re.properties;P<te.length;P++){var ue=te[P];Q(ue)}}function Q(V){if(!V)return!1;var re=e.getSymbolId(V);if(S[re])return!1;if(S[re]=V,!b(V))return!0;var T=J(V);return B(T),V.exports&&V.exports.forEach(Q),e.forEach(V.declarations,function(N){if(N.type&&N.type.kind===180){var y=N.type,D=h(A(y.exprName));Q(D)}}),!1}}}e.createGetSymbolWalker=n}(jr||(jr={})),function(e){var n=/^\".+\"$/,f=\"(anonymous)\",p=1,a=1,d=1,k=1,J;(function(j){j[j.AllowsSyncIterablesFlag=1]=\"AllowsSyncIterablesFlag\",j[j.AllowsAsyncIterablesFlag=2]=\"AllowsAsyncIterablesFlag\",j[j.AllowsStringInputFlag=4]=\"AllowsStringInputFlag\",j[j.ForOfFlag=8]=\"ForOfFlag\",j[j.YieldStarFlag=16]=\"YieldStarFlag\",j[j.SpreadFlag=32]=\"SpreadFlag\",j[j.DestructuringFlag=64]=\"DestructuringFlag\",j[j.PossiblyOutOfBounds=128]=\"PossiblyOutOfBounds\",j[j.Element=1]=\"Element\",j[j.Spread=33]=\"Spread\",j[j.Destructuring=65]=\"Destructuring\",j[j.ForOf=13]=\"ForOf\",j[j.ForAwaitOf=15]=\"ForAwaitOf\",j[j.YieldStar=17]=\"YieldStar\",j[j.AsyncYieldStar=19]=\"AsyncYieldStar\",j[j.GeneratorReturnType=1]=\"GeneratorReturnType\",j[j.AsyncGeneratorReturnType=2]=\"AsyncGeneratorReturnType\"})(J||(J={}));var h;(function(j){j[j.Yield=0]=\"Yield\",j[j.Return=1]=\"Return\",j[j.Next=2]=\"Next\"})(h||(h={}));var v;(function(j){j[j.Normal=0]=\"Normal\",j[j.FunctionReturn=1]=\"FunctionReturn\",j[j.GeneratorNext=2]=\"GeneratorNext\",j[j.GeneratorYield=3]=\"GeneratorYield\"})(v||(v={}));var A;(function(j){j[j.None=0]=\"None\",j[j.TypeofEQString=1]=\"TypeofEQString\",j[j.TypeofEQNumber=2]=\"TypeofEQNumber\",j[j.TypeofEQBigInt=4]=\"TypeofEQBigInt\",j[j.TypeofEQBoolean=8]=\"TypeofEQBoolean\",j[j.TypeofEQSymbol=16]=\"TypeofEQSymbol\",j[j.TypeofEQObject=32]=\"TypeofEQObject\",j[j.TypeofEQFunction=64]=\"TypeofEQFunction\",j[j.TypeofEQHostObject=128]=\"TypeofEQHostObject\",j[j.TypeofNEString=256]=\"TypeofNEString\",j[j.TypeofNENumber=512]=\"TypeofNENumber\",j[j.TypeofNEBigInt=1024]=\"TypeofNEBigInt\",j[j.TypeofNEBoolean=2048]=\"TypeofNEBoolean\",j[j.TypeofNESymbol=4096]=\"TypeofNESymbol\",j[j.TypeofNEObject=8192]=\"TypeofNEObject\",j[j.TypeofNEFunction=16384]=\"TypeofNEFunction\",j[j.TypeofNEHostObject=32768]=\"TypeofNEHostObject\",j[j.EQUndefined=65536]=\"EQUndefined\",j[j.EQNull=131072]=\"EQNull\",j[j.EQUndefinedOrNull=262144]=\"EQUndefinedOrNull\",j[j.NEUndefined=524288]=\"NEUndefined\",j[j.NENull=1048576]=\"NENull\",j[j.NEUndefinedOrNull=2097152]=\"NEUndefinedOrNull\",j[j.Truthy=4194304]=\"Truthy\",j[j.Falsy=8388608]=\"Falsy\",j[j.All=16777215]=\"All\",j[j.BaseStringStrictFacts=3735041]=\"BaseStringStrictFacts\",j[j.BaseStringFacts=12582401]=\"BaseStringFacts\",j[j.StringStrictFacts=16317953]=\"StringStrictFacts\",j[j.StringFacts=16776705]=\"StringFacts\",j[j.EmptyStringStrictFacts=12123649]=\"EmptyStringStrictFacts\",j[j.EmptyStringFacts=12582401]=\"EmptyStringFacts\",j[j.NonEmptyStringStrictFacts=7929345]=\"NonEmptyStringStrictFacts\",j[j.NonEmptyStringFacts=16776705]=\"NonEmptyStringFacts\",j[j.BaseNumberStrictFacts=3734786]=\"BaseNumberStrictFacts\",j[j.BaseNumberFacts=12582146]=\"BaseNumberFacts\",j[j.NumberStrictFacts=16317698]=\"NumberStrictFacts\",j[j.NumberFacts=16776450]=\"NumberFacts\",j[j.ZeroNumberStrictFacts=12123394]=\"ZeroNumberStrictFacts\",j[j.ZeroNumberFacts=12582146]=\"ZeroNumberFacts\",j[j.NonZeroNumberStrictFacts=7929090]=\"NonZeroNumberStrictFacts\",j[j.NonZeroNumberFacts=16776450]=\"NonZeroNumberFacts\",j[j.BaseBigIntStrictFacts=3734276]=\"BaseBigIntStrictFacts\",j[j.BaseBigIntFacts=12581636]=\"BaseBigIntFacts\",j[j.BigIntStrictFacts=16317188]=\"BigIntStrictFacts\",j[j.BigIntFacts=16775940]=\"BigIntFacts\",j[j.ZeroBigIntStrictFacts=12122884]=\"ZeroBigIntStrictFacts\",j[j.ZeroBigIntFacts=12581636]=\"ZeroBigIntFacts\",j[j.NonZeroBigIntStrictFacts=7928580]=\"NonZeroBigIntStrictFacts\",j[j.NonZeroBigIntFacts=16775940]=\"NonZeroBigIntFacts\",j[j.BaseBooleanStrictFacts=3733256]=\"BaseBooleanStrictFacts\",j[j.BaseBooleanFacts=12580616]=\"BaseBooleanFacts\",j[j.BooleanStrictFacts=16316168]=\"BooleanStrictFacts\",j[j.BooleanFacts=16774920]=\"BooleanFacts\",j[j.FalseStrictFacts=12121864]=\"FalseStrictFacts\",j[j.FalseFacts=12580616]=\"FalseFacts\",j[j.TrueStrictFacts=7927560]=\"TrueStrictFacts\",j[j.TrueFacts=16774920]=\"TrueFacts\",j[j.SymbolStrictFacts=7925520]=\"SymbolStrictFacts\",j[j.SymbolFacts=16772880]=\"SymbolFacts\",j[j.ObjectStrictFacts=7888800]=\"ObjectStrictFacts\",j[j.ObjectFacts=16736160]=\"ObjectFacts\",j[j.FunctionStrictFacts=7880640]=\"FunctionStrictFacts\",j[j.FunctionFacts=16728e3]=\"FunctionFacts\",j[j.UndefinedFacts=9830144]=\"UndefinedFacts\",j[j.NullFacts=9363232]=\"NullFacts\",j[j.EmptyObjectStrictFacts=16318463]=\"EmptyObjectStrictFacts\",j[j.AllTypeofNE=556800]=\"AllTypeofNE\",j[j.EmptyObjectFacts=16777215]=\"EmptyObjectFacts\"})(A||(A={}));var z=new e.Map(e.getEntries({string:1,number:2,bigint:4,boolean:8,symbol:16,undefined:65536,object:32,function:64})),ie=new e.Map(e.getEntries({string:256,number:512,bigint:1024,boolean:2048,symbol:4096,undefined:524288,object:8192,function:16384})),b;(function(j){j[j.Type=0]=\"Type\",j[j.ResolvedBaseConstructorType=1]=\"ResolvedBaseConstructorType\",j[j.DeclaredType=2]=\"DeclaredType\",j[j.ResolvedReturnType=3]=\"ResolvedReturnType\",j[j.ImmediateBaseConstraint=4]=\"ImmediateBaseConstraint\",j[j.EnumTagType=5]=\"EnumTagType\",j[j.ResolvedTypeArguments=6]=\"ResolvedTypeArguments\",j[j.ResolvedBaseTypes=7]=\"ResolvedBaseTypes\"})(b||(b={}));var M;(function(j){j[j.Normal=0]=\"Normal\",j[j.Contextual=1]=\"Contextual\",j[j.Inferential=2]=\"Inferential\",j[j.SkipContextSensitive=4]=\"SkipContextSensitive\",j[j.SkipGenericFunctions=8]=\"SkipGenericFunctions\",j[j.IsForSignatureHelp=16]=\"IsForSignatureHelp\"})(M||(M={}));var S;(function(j){j[j.BivariantCallback=1]=\"BivariantCallback\",j[j.StrictCallback=2]=\"StrictCallback\",j[j.IgnoreReturnTypes=4]=\"IgnoreReturnTypes\",j[j.StrictArity=8]=\"StrictArity\",j[j.Callback=3]=\"Callback\"})(S||(S={}));var B;(function(j){j[j.None=0]=\"None\",j[j.Source=1]=\"Source\",j[j.Target=2]=\"Target\",j[j.PropertyCheck=4]=\"PropertyCheck\",j[j.UnionIntersectionCheck=8]=\"UnionIntersectionCheck\",j[j.InPropertyCheck=16]=\"InPropertyCheck\"})(B||(B={}));var H;(function(j){j[j.None=0]=\"None\",j[j.Source=1]=\"Source\",j[j.Target=2]=\"Target\",j[j.Both=3]=\"Both\"})(H||(H={}));var I;(function(j){j[j.IncludeReadonly=1]=\"IncludeReadonly\",j[j.ExcludeReadonly=2]=\"ExcludeReadonly\",j[j.IncludeOptional=4]=\"IncludeOptional\",j[j.ExcludeOptional=8]=\"ExcludeOptional\"})(I||(I={}));var w;(function(j){j[j.None=0]=\"None\",j[j.Source=1]=\"Source\",j[j.Target=2]=\"Target\",j[j.Both=3]=\"Both\"})(w||(w={}));var x;(function(j){j.resolvedExports=\"resolvedExports\",j.resolvedMembers=\"resolvedMembers\"})(x||(x={}));var O;(function(j){j[j.Local=0]=\"Local\",j[j.Parameter=1]=\"Parameter\"})(O||(O={}));var q=e.and(u,m),Z;(function(j){j[j.GetAccessor=1]=\"GetAccessor\",j[j.SetAccessor=2]=\"SetAccessor\",j[j.PropertyAssignment=4]=\"PropertyAssignment\",j[j.Method=8]=\"Method\",j[j.PrivateStatic=16]=\"PrivateStatic\",j[j.GetOrSetAccessor=3]=\"GetOrSetAccessor\",j[j.PropertyAssignmentOrMethod=12]=\"PropertyAssignmentOrMethod\"})(Z||(Z={}));var ne;(function(j){j[j.None=0]=\"None\",j[j.ExportValue=1]=\"ExportValue\",j[j.ExportType=2]=\"ExportType\",j[j.ExportNamespace=4]=\"ExportNamespace\"})(ne||(ne={}));var F;(function(j){j[j.None=0]=\"None\",j[j.StrongArityForUntypedJS=1]=\"StrongArityForUntypedJS\",j[j.VoidIsNonOptional=2]=\"VoidIsNonOptional\"})(F||(F={}));var Q;(function(j){j[j.Uppercase=0]=\"Uppercase\",j[j.Lowercase=1]=\"Lowercase\",j[j.Capitalize=2]=\"Capitalize\",j[j.Uncapitalize=3]=\"Uncapitalize\"})(Q||(Q={}));var V=new e.Map(e.getEntries({Uppercase:0,Lowercase:1,Capitalize:2,Uncapitalize:3}));function re(){}function T(){this.flags=0}function N(j){return j.id||(j.id=a,a++),j.id}e.getNodeId=N;function y(j){return j.id||(j.id=p,p++),j.id}e.getSymbolId=y;function D(j,Se){var Ce=e.getModuleInstanceState(j);return Ce===1||Se&&Ce===2}e.isInstantiatedModule=D;function C(j,Se){var Ce=e.memoize(function(){var r=new e.Map;return j.getSourceFiles().forEach(function(t){!t.resolvedModules||t.resolvedModules.forEach(function(i){i&&i.packageId&&r.set(i.packageId.name,i.extension===\".d.ts\"||!!r.get(i.packageId.name))})}),r}),R,Y,U,K=e.objectAllocator.getSymbolConstructor(),Te=e.objectAllocator.getTypeConstructor(),ge=e.objectAllocator.getSignatureConstructor(),ke=0,Pe=0,Ie=0,Ge=0,he=0,ve=0,Ve=0,_e,Le=e.createSymbolTable(),qe=[1],Xe=j.getCompilerOptions(),De=e.getEmitScriptTarget(Xe),Ae=e.getEmitModuleKind(Xe),Ye=e.getUseDefineForClassFields(Xe),Dr=e.getAllowSyntheticDefaultImports(Xe),br=e.getStrictOptionValue(Xe,\"strictNullChecks\"),lr=e.getStrictOptionValue(Xe,\"strictFunctionTypes\"),Ar=e.getStrictOptionValue(Xe,\"strictBindCallApply\"),kr=e.getStrictOptionValue(Xe,\"strictPropertyInitialization\"),Ke=e.getStrictOptionValue(Xe,\"noImplicitAny\"),Me=e.getStrictOptionValue(Xe,\"noImplicitThis\"),Hr=e.getStrictOptionValue(Xe,\"useUnknownInCatchVariables\"),ur=!!Xe.keyofStringsOnly,gr=Xe.suppressExcessPropertyErrors?0:16384,de=Xe.exactOptionalPropertyTypes,Fe=y6(),$e=M8(),Sr=k_(),Pr=e.createSymbolTable(),He=fo(4,\"undefined\");He.declarations=[];var pr=fo(1536,\"globalThis\",8);pr.exports=Pr,pr.declarations=[],Pr.set(pr.escapedName,pr);var Jr=fo(4,\"arguments\"),ze=fo(4,\"require\"),Lr,Yr={getNodeCount:function(){return e.sum(j.getSourceFiles(),\"nodeCount\")},getIdentifierCount:function(){return e.sum(j.getSourceFiles(),\"identifierCount\")},getSymbolCount:function(){return e.sum(j.getSourceFiles(),\"symbolCount\")+Pe},getTypeCount:function(){return ke},getInstantiationCount:function(){return Ge},getRelationCacheSizes:function(){return{assignable:Ta.size,identity:fi.size,subtype:ha.size,strictSubtype:ri.size}},isUndefinedSymbol:function(r){return r===He},isArgumentsSymbol:function(r){return r===Jr},isUnknownSymbol:function(r){return r===We},getMergedSymbol:Ga,getDiagnostics:nI,getGlobalDiagnostics:Q3,getRecursionIdentity:ph,getUnmatchedProperties:e1,getTypeOfSymbolAtLocation:function(r,t){var i=e.getParseTreeNode(t);return i?Fw(r,i):dr},getSymbolsOfParameterPropertyDeclaration:function(r,t){var i=e.getParseTreeNode(r,e.isParameter);return i===void 0?e.Debug.fail(\"Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node.\"):yf(i,e.escapeLeadingUnderscores(t))},getDeclaredTypeOfSymbol:po,getPropertiesOfType:Yi,getPropertyOfType:function(r,t){return Ii(r,e.escapeLeadingUnderscores(t))},getPrivateIdentifierPropertyOfType:function(r,t,i){var o=e.getParseTreeNode(i);if(!!o){var s=e.escapeLeadingUnderscores(t),c=pb(s,o);return c?O1(r,c):void 0}},getTypeOfPropertyOfType:function(r,t){return ia(r,e.escapeLeadingUnderscores(t))},getIndexInfoOfType:function(r,t){return oc(r,t===0?xt:wt)},getIndexInfosOfType:Ps,getSignaturesOfType:Ni,getIndexTypeOfType:function(r,t){return tu(r,t===0?xt:wt)},getBaseTypes:xl,getBaseTypeOfLiteralType:Du,getWidenedType:wl,getTypeFromTypeNode:function(r){var t=e.getParseTreeNode(r,e.isTypeNode);return t?Da(t):dr},getParameterType:Uc,getParameterIdentifierNameAtPosition:YP,getPromisedTypeOfPromise:hv,getAwaitedType:function(r){return J_(r)},getReturnTypeOfSignature:_o,isNullableType:db,getNullableType:Uy,getNonNullableType:Td,getNonOptionalType:H0,getTypeArguments:vo,typeToTypeNode:Sr.typeToTypeNode,indexInfoToIndexSignatureDeclaration:Sr.indexInfoToIndexSignatureDeclaration,signatureToSignatureDeclaration:Sr.signatureToSignatureDeclaration,symbolToEntityName:Sr.symbolToEntityName,symbolToExpression:Sr.symbolToExpression,symbolToTypeParameterDeclarations:Sr.symbolToTypeParameterDeclarations,symbolToParameterDeclaration:Sr.symbolToParameterDeclaration,typeParameterToDeclaration:Sr.typeParameterToDeclaration,getSymbolsInScope:function(r,t){var i=e.getParseTreeNode(r);return i?Z3(i,t):[]},getSymbolAtLocation:function(r){var t=e.getParseTreeNode(r);return t?Vc(t,!0):void 0},getIndexInfosAtLocation:function(r){var t=e.getParseTreeNode(r);return t?i8(t):void 0},getShorthandAssignmentValueSymbol:function(r){var t=e.getParseTreeNode(r);return t?o8(t):void 0},getExportSpecifierLocalTargetSymbol:function(r){var t=e.getParseTreeNode(r,e.isExportSpecifier);return t?s8(t):void 0},getExportSymbolOfSymbol:function(r){return Ga(r.exportSymbol||r)},getTypeAtLocation:function(r){var t=e.getParseTreeNode(r);return t?jp(t):dr},getTypeOfAssignmentPattern:function(r){var t=e.getParseTreeNode(r,e.isAssignmentPattern);return t&&jb(t)||dr},getPropertySymbolOfDestructuringAssignment:function(r){var t=e.getParseTreeNode(r,e.isIdentifier);return t?l8(t):void 0},signatureToString:function(r,t,i,o){return pu(r,e.getParseTreeNode(t),i,o)},typeToString:function(r,t,i){return gn(r,e.getParseTreeNode(t),i)},symbolToString:function(r,t,i,o){return Wa(r,e.getParseTreeNode(t),i,o)},typePredicateToString:function(r,t,i){return Yc(r,e.getParseTreeNode(t),i)},writeSignature:function(r,t,i,o,s){return pu(r,e.getParseTreeNode(t),i,o,s)},writeType:function(r,t,i,o){return gn(r,e.getParseTreeNode(t),i,o)},writeSymbol:function(r,t,i,o,s){return Wa(r,e.getParseTreeNode(t),i,o,s)},writeTypePredicate:function(r,t,i,o){return Yc(r,e.getParseTreeNode(t),i,o)},getAugmentedPropertiesOfType:DT,getRootSymbols:cI,getSymbolOfExpando:Tb,getContextualType:function(r,t){var i=e.getParseTreeNode(r,e.isExpression);if(!!i){var o=e.findAncestor(i,e.isCallLikeExpression),s=o&&Zn(o).resolvedSignature;if(t&4&&o){var c=i;do Zn(c).skipDirectInference=!0,c=c.parent;while(c&&c!==o);Zn(o).resolvedSignature=void 0}var L=Ac(i,t);if(t&4&&o){var c=i;do Zn(c).skipDirectInference=void 0,c=c.parent;while(c&&c!==o);Zn(o).resolvedSignature=s}return L}},getContextualTypeForObjectLiteralElement:function(r){var t=e.getParseTreeNode(r,e.isObjectLiteralElementLike);return t?y1(t):void 0},getContextualTypeForArgumentAtIndex:function(r,t){var i=e.getParseTreeNode(r,e.isCallLikeExpression);return i&&h1(i,t)},getContextualTypeForJsxAttribute:function(r){var t=e.getParseTreeNode(r,e.isJsxAttributeLike);return t&&GA(t)},isContextSensitive:nu,getTypeOfPropertyOfContextualType:b_,getFullyQualifiedName:sl,getResolvedSignature:function(r,t,i){return lt(r,t,i,0)},getResolvedSignatureForSignatureHelp:function(r,t,i){return lt(r,t,i,16)},getExpandedParameters:cy,hasEffectiveRestParameter:xu,containsArgumentsReference:zE,getConstantValue:function(r){var t=e.getParseTreeNode(r,_I);return t?AT(t):void 0},isValidPropertyAccess:function(r,t){var i=e.getParseTreeNode(r,e.isPropertyAccessOrQualifiedNameOrImportTypeNode);return!!i&&fP(i,e.escapeLeadingUnderscores(t))},isValidPropertyAccessForCompletions:function(r,t,i){var o=e.getParseTreeNode(r,e.isPropertyAccessExpression);return!!o&&pC(o,t,i)},getSignatureFromDeclaration:function(r){var t=e.getParseTreeNode(r,e.isFunctionLike);return t?bu(t):void 0},isImplementationOfOverload:function(r){var t=e.getParseTreeNode(r,e.isFunctionLike);return t?dI(t):void 0},getImmediateAliasedSymbol:jA,getAliasedSymbol:ms,getEmitResolver:Nu,getExportsOfModule:cd,getExportsAndPropertiesOfModule:Cf,forEachExportAndPropertyOfModule:yc,getSymbolWalker:e.createGetSymbolWalker(Ek,Dc,_o,xl,Sc,An,Lu,Nl,e.getFirstIdentifier,vo),getAmbientModules:CF,getJsxIntrinsicTagNamesAt:JM,isOptionalParameter:function(r){var t=e.getParseTreeNode(r,e.isParameter);return t?w_(t):!1},tryGetMemberInModuleExports:function(r,t){return ud(e.escapeLeadingUnderscores(r),t)},tryGetMemberInModuleExportsAndProperties:function(r,t){return xf(e.escapeLeadingUnderscores(r),t)},tryFindAmbientModule:function(r){return Hg(r,!0)},tryFindAmbientModuleWithoutAugmentations:function(r){return Hg(r,!1)},getApparentType:wi,getUnionType:ma,isTypeAssignableTo:Qi,createAnonymousType:ts,createSignature:hu,createSymbol:fo,createIndexInfo:Eu,getAnyType:function(){return Ze},getStringType:function(){return xt},getNumberType:function(){return wt},createPromiseType:Nh,createArrayType:zs,getElementTypeOfArrayType:G0,getBooleanType:function(){return Jn},getFalseType:function(r){return r?mt:rn},getTrueType:function(r){return r?sa:ba},getVoidType:function(){return Wn},getUndefinedType:function(){return Nr},getNullType:function(){return ut},getESSymbolType:function(){return na},getNeverType:function(){return en},getOptionalType:function(){return gt},getPromiseType:function(){return ah(!1)},getPromiseLikeType:function(){return wD(!1)},isSymbolAccessible:rf,isArrayType:el,isTupleType:ki,isArrayLikeType:_p,isTypeInvalidDueToUnionDiscriminant:UE,getExactOptionalProperties:hR,getAllPossiblePropertiesOfTypes:VE,getSuggestedSymbolForNonexistentProperty:M1,getSuggestionForNonexistentProperty:P1,getSuggestedSymbolForNonexistentJSXAttribute:fC,getSuggestedSymbolForNonexistentSymbol:function(r,t,i){return F1(r,e.escapeLeadingUnderscores(t),i)},getSuggestionForNonexistentSymbol:function(r,t,i){return sP(r,e.escapeLeadingUnderscores(t),i)},getSuggestedSymbolForNonexistentModule:mb,getSuggestionForNonexistentExport:lP,getSuggestedSymbolForNonexistentClassMember:uC,getBaseConstraintOfType:l,getDefaultFromTypeParameter:function(r){return r&&r.flags&262144?Bn(r):void 0},resolveName:function(r,t,i,o){return Uo(t,e.escapeLeadingUnderscores(r),i,void 0,void 0,!1,o)},getJsxNamespace:function(r){return e.unescapeLeadingUnderscores(bo(r))},getJsxFragmentFactory:function(r){var t=xT(r);return t&&e.unescapeLeadingUnderscores(e.getFirstIdentifier(t).escapedText)},getAccessibleSymbolChain:kf,getTypePredicateOfSignature:Dc,resolveExternalModuleName:function(r){var t=e.getParseTreeNode(r,e.isExpression);return t&&ws(t,t,!0)},resolveExternalModuleSymbol:ll,tryGetThisTypeAt:function(r,t){var i=e.getParseTreeNode(r);return i&&p1(i,t)},getTypeArgumentConstraint:function(r){var t=e.getParseTreeNode(r,e.isTypeNode);return t&&K6(t)},getSuggestionDiagnostics:function(r,t){var i=e.getParseTreeNode(r,e.isSourceFile)||e.Debug.fail(\"Could not determine parsed source file.\");if(e.skipTypeChecking(i,Xe,j))return e.emptyArray;var o;try{return R=t,TT(i),e.Debug.assert(!!(Zn(i).flags&1)),o=e.addRange(o,le.getDiagnostics(i.fileName)),Sx(tI(i),function(s,c,L){!e.containsParseError(s)&&!rI(c,!!(s.flags&8388608))&&(o||(o=[])).push(Rn(Rn({},L),{category:e.DiagnosticCategory.Suggestion}))}),o||e.emptyArray}finally{R=void 0}},runWithCancellationToken:function(r,t){try{return R=r,t(Yr)}finally{R=void 0}},getLocalTypeParametersOfClassOrInterfaceOrTypeAlias:mu,isDeclarationVisible:Qc,isPropertyAccessible:B1,getTypeOnlyAliasDeclaration:Ln,getMemberOverrideModifierStatus:m3};function lt(r,t,i,o){var s=e.getParseTreeNode(r,e.isCallLikeExpression);Lr=i;var c=s?_g(s,t,o):void 0;return Lr=void 0,c}var tt=new e.Map,Rt=new e.Map,cn=new e.Map,bn=new e.Map,In=new e.Map,zn=new e.Map,ir=new e.Map,Or=new e.Map,sr=new e.Map,ye=new e.Map,or=new e.Map,fe=new e.Map,je=[],Ee=new e.Map,We=fo(4,\"unknown\"),$=fo(0,\"__resolving__\"),Ne=new e.Map,me=new e.Map,Ze=jo(1,\"any\"),Cr=jo(1,\"any\"),fr=jo(1,\"any\"),dr=jo(1,\"error\"),et=jo(1,\"unresolved\"),yt=jo(1,\"any\",131072),Vr=jo(1,\"intrinsic\"),tr=jo(2,\"unknown\"),xr=jo(2,\"unknown\"),Nr=jo(32768,\"undefined\"),zr=br?Nr:jo(32768,\"undefined\",131072),gt=jo(32768,\"undefined\"),vt=de?jo(32768,\"undefined\"):Nr,ut=jo(65536,\"null\"),ht=br?ut:jo(65536,\"null\",131072),xt=jo(4,\"string\"),wt=jo(8,\"number\"),Qt=jo(64,\"bigint\"),mt=jo(512,\"false\"),rn=jo(512,\"false\"),sa=jo(512,\"true\"),ba=jo(512,\"true\");sa.regularType=ba,sa.freshType=sa,ba.regularType=ba,ba.freshType=sa,mt.regularType=rn,mt.freshType=mt,rn.regularType=rn,rn.freshType=mt;var Jn=ma([rn,ba]),na=jo(4096,\"symbol\"),Wn=jo(16384,\"void\"),en=jo(131072,\"never\"),St=jo(131072,\"never\"),Ut=jo(131072,\"never\",524288),qt=jo(131072,\"never\"),Mn=jo(131072,\"never\"),dn=jo(67108864,\"object\"),oa=ma([xt,wt]),pt=ma([xt,wt,na]),_t=ur?xt:pt,Mt=ma([wt,Qt]),It=ma([xt,wt,Jn,Qt,ut,Nr]),rt=p_(function(r){return r.flags&262144?KO(r):r}),Cn=p_(function(r){return r.flags&262144?fr:r}),Qn=ts(void 0,Le,e.emptyArray,e.emptyArray,e.emptyArray),Ra=ts(void 0,Le,e.emptyArray,e.emptyArray,e.emptyArray);Ra.objectFlags|=2048;var Ci=fo(2048,\"__type\");Ci.members=e.createSymbolTable();var _i=ts(Ci,Le,e.emptyArray,e.emptyArray,e.emptyArray),va=ts(void 0,Le,e.emptyArray,e.emptyArray,e.emptyArray);va.instantiations=new e.Map;var yi=ts(void 0,Le,e.emptyArray,e.emptyArray,e.emptyArray);yi.objectFlags|=524288;var ro=ts(void 0,Le,e.emptyArray,e.emptyArray,e.emptyArray),Ka=ts(void 0,Le,e.emptyArray,e.emptyArray,e.emptyArray),Mi=ts(void 0,Le,e.emptyArray,e.emptyArray,e.emptyArray),io=nc(),ji=nc();ji.constraint=io;var Hi=nc(),to=rh(1,\"<<unresolved>>\",0,Ze),No=hu(void 0,void 0,void 0,e.emptyArray,Ze,void 0,0,0),lo=hu(void 0,void 0,void 0,e.emptyArray,dr,void 0,0,0),Lo=hu(void 0,void 0,void 0,e.emptyArray,Ze,void 0,0,0),Ha=hu(void 0,void 0,void 0,e.emptyArray,St,void 0,0,0),Yo=Eu(wt,xt,!0),co=new e.Map,za={get yieldType(){return e.Debug.fail(\"Not supported\")},get returnType(){return e.Debug.fail(\"Not supported\")},get nextType(){return e.Debug.fail(\"Not supported\")}},hi=Xf(Ze,Ze,Ze),Zi=Xf(Ze,Ze,tr),Mo=Xf(en,Ze,Nr),Po={iterableCacheKey:\"iterationTypesOfAsyncIterable\",iteratorCacheKey:\"iterationTypesOfAsyncIterator\",iteratorSymbolName:\"asyncIterator\",getGlobalIteratorType:Gk,getGlobalIterableType:Fk,getGlobalIterableIteratorType:Bk,getGlobalGeneratorType:Uk,resolveIterationType:J_,mustHaveANextMethodDiagnostic:e.Diagnostics.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:e.Diagnostics.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:e.Diagnostics.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property},Fo={iterableCacheKey:\"iterationTypesOfIterable\",iteratorCacheKey:\"iterationTypesOfIterator\",iteratorSymbolName:\"iterator\",getGlobalIteratorType:Vk,getGlobalIterableType:MD,getGlobalIterableIteratorType:Wk,getGlobalGeneratorType:jk,resolveIterationType:function(r,t){return r},mustHaveANextMethodDiagnostic:e.Diagnostics.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:e.Diagnostics.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:e.Diagnostics.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property},zo,Es=new e.Map,Cs=!1,hr,dt,tn,Un,Oe,oe,mr,se,Be,er,vr,qr,Dt,Jt,Sn,ta,xa,Di,$a,Ji,So,cs,bt,Pn,da,ei,bi,xi,ka,mi,Xi,Gi,Ro,ko,es,as,pe,Rr,ft,Zt,Re,Qr,vn,Xn,gi=new e.Map,Ia=0,oo=0,Wo=0,Ir=!1,Us=0,il,Ml,Co,Vs=Lc(\"\"),Ql=Wf(0),zl=y0({negative:!1,base10Value:\"0\"}),uc=[],cu=[],no=[],ql=0,fc=10,Ws=[],xc=[],Ic=[],La=[],uu=[],dc=[],Nc=[],wr=[],$r=[],Lt=[],Kt=[],pn=[],fn=[],kn=[],Kn=[],Fa=[],ua=e.createDiagnosticCollection(),le=e.createDiagnosticCollection(),rr=new e.Map(e.getEntries({string:xt,number:wt,bigint:Qt,boolean:Jn,symbol:na,undefined:Nr})),yr=Kd(),ct,jt,yn,ha=new e.Map,ri=new e.Map,Ta=new e.Map,Ya=new e.Map,fi=new e.Map,ci=new e.Map,Si=e.createSymbolTable();Si.set(He.escapedName,He);var Do=[[\".mts\",\".mjs\"],[\".ts\",\".js\"],[\".cts\",\".cjs\"],[\".mjs\",\".mjs\"],[\".js\",\".js\"],[\".cjs\",\".cjs\"],[\".tsx\",Xe.jsx===1?\".jsx\":\".js\"],[\".jsx\",\".jsx\"],[\".json\",\".json\"]];return P8(),Yr;function bo(r){if(r){var t=e.getSourceFileOfNode(r);if(t)if(e.isJsxOpeningFragment(r)){if(t.localJsxFragmentNamespace)return t.localJsxFragmentNamespace;var i=t.pragmas.get(\"jsxfrag\");if(i){var o=e.isArray(i)?i[0]:i;if(t.localJsxFragmentFactory=e.parseIsolatedEntityName(o.arguments.factory,De),e.visitNode(t.localJsxFragmentFactory,Ys),t.localJsxFragmentFactory)return t.localJsxFragmentNamespace=e.getFirstIdentifier(t.localJsxFragmentFactory).escapedText}var s=xT(r);if(s)return t.localJsxFragmentFactory=s,t.localJsxFragmentNamespace=e.getFirstIdentifier(s).escapedText}else{var c=Ns(t);if(c)return t.localJsxNamespace=c}}return ct||(ct=\"React\",Xe.jsxFactory?(jt=e.parseIsolatedEntityName(Xe.jsxFactory,De),e.visitNode(jt,Ys),jt&&(ct=e.getFirstIdentifier(jt).escapedText)):Xe.reactNamespace&&(ct=e.escapeLeadingUnderscores(Xe.reactNamespace))),jt||(jt=e.factory.createQualifiedName(e.factory.createIdentifier(e.unescapeLeadingUnderscores(ct)),\"createElement\")),ct}function Ns(r){if(r.localJsxNamespace)return r.localJsxNamespace;var t=r.pragmas.get(\"jsx\");if(t){var i=e.isArray(t)?t[0]:t;if(r.localJsxFactory=e.parseIsolatedEntityName(i.arguments.factory,De),e.visitNode(r.localJsxFactory,Ys),r.localJsxFactory)return r.localJsxNamespace=e.getFirstIdentifier(r.localJsxFactory).escapedText}}function Ys(r){return e.setTextRangePosEnd(r,-1,-1),e.visitEachChild(r,Ys,e.nullTransformationContext)}function Nu(r,t){return nI(r,t),$e}function gf(r,t,i,o,s,c){var L=r?e.createDiagnosticForNode(r,t,i,o,s,c):e.createCompilerDiagnostic(t,i,o,s,c),G=ua.lookup(L);return G||(ua.add(L),L)}function Zl(r,t,i,o,s,c,L){var G=Mr(t,i,o,s,c,L);return G.skippedOn=r,G}function jc(r,t,i,o,s,c){return r?e.createDiagnosticForNode(r,t,i,o,s,c):e.createCompilerDiagnostic(t,i,o,s,c)}function Mr(r,t,i,o,s,c){var L=jc(r,t,i,o,s,c);return ua.add(L),L}function $l(r,t){r?ua.add(t):le.add(Rn(Rn({},t),{category:e.DiagnosticCategory.Suggestion}))}function pc(r,t,i,o,s,c,L){if(t.pos<0||t.end<0){if(!r)return;var G=e.getSourceFileOfNode(t);$l(r,\"message\"in i?e.createFileDiagnostic(G,0,0,i,o,s,c,L):e.createDiagnosticForFileFromMessageChain(G,i));return}$l(r,\"message\"in i?e.createDiagnosticForNode(t,i,o,s,c,L):e.createDiagnosticForNodeFromMessageChain(t,i))}function ku(r,t,i,o,s,c,L){var G=Mr(r,i,o,s,c,L);if(t){var ce=e.createDiagnosticForNode(r,e.Diagnostics.Did_you_forget_to_use_await);e.addRelatedInfo(G,ce)}return G}function ol(r,t){var i=Array.isArray(r)?e.forEach(r,e.getJSDocDeprecatedTag):e.getJSDocDeprecatedTag(r);return i&&e.addRelatedInfo(t,e.createDiagnosticForNode(i,e.Diagnostics.The_declaration_was_marked_as_deprecated_here)),le.add(t),t}function kc(r,t,i){var o=e.createDiagnosticForNode(r,e.Diagnostics._0_is_deprecated,i);return ol(t,o)}function vf(r,t,i,o){var s=i?e.createDiagnosticForNode(r,e.Diagnostics.The_signature_0_of_1_is_deprecated,o,i):e.createDiagnosticForNode(r,e.Diagnostics._0_is_deprecated,o);return ol(t,s)}function fo(r,t,i){Pe++;var o=new K(r|33554432,t);return o.checkFlags=i||0,o}function Zf(r){var t=0;return r&2&&(t|=111551),r&1&&(t|=111550),r&4&&(t|=0),r&8&&(t|=900095),r&16&&(t|=110991),r&32&&(t|=899503),r&64&&(t|=788872),r&256&&(t|=899327),r&128&&(t|=899967),r&512&&(t|=110735),r&8192&&(t|=103359),r&32768&&(t|=46015),r&65536&&(t|=78783),r&262144&&(t|=526824),r&524288&&(t|=788968),r&2097152&&(t|=2097152),t}function hf(r,t){t.mergeId||(t.mergeId=d,d++),Ws[t.mergeId]=r}function Nd(r){var t=fo(r.flags,r.escapedName);return t.declarations=r.declarations?r.declarations.slice():[],t.parent=r.parent,r.valueDeclaration&&(t.valueDeclaration=r.valueDeclaration),r.constEnumOnlyModule&&(t.constEnumOnlyModule=!0),r.members&&(t.members=new e.Map(r.members)),r.exports&&(t.exports=new e.Map(r.exports)),hf(t,r),t}function _s(r,t,i){if(i===void 0&&(i=!1),!(r.flags&Zf(t.flags))||(t.flags|r.flags)&67108864){if(t===r)return r;if(!(r.flags&33554432)){var o=wo(r);if(o===We)return t;r=Nd(o)}t.flags&512&&r.flags&512&&r.constEnumOnlyModule&&!t.constEnumOnlyModule&&(r.constEnumOnlyModule=!1),r.flags|=t.flags,t.valueDeclaration&&e.setValueDeclaration(r,t.valueDeclaration),e.addRange(r.declarations,t.declarations),t.members&&(r.members||(r.members=e.createSymbolTable()),dl(r.members,t.members,i)),t.exports&&(r.exports||(r.exports=e.createSymbolTable()),dl(r.exports,t.exports,i)),i||hf(r,t)}else if(r.flags&1024)r!==pr&&Mr(t.declarations&&e.getNameOfDeclaration(t.declarations[0]),e.Diagnostics.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,Wa(r));else{var s=!!(r.flags&384||t.flags&384),c=!!(r.flags&2||t.flags&2),L=s?e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:c?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,G=t.declarations&&e.getSourceFileOfNode(t.declarations[0]),ce=r.declarations&&e.getSourceFileOfNode(r.declarations[0]),we=Wa(t);if(G&&ce&&zo&&!s&&G!==ce){var Ue=e.comparePaths(G.path,ce.path)===-1?G:ce,Je=Ue===G?ce:G,ar=e.getOrUpdate(zo,\"\".concat(Ue.path,\"|\").concat(Je.path),function(){return{firstFile:Ue,secondFile:Je,conflictingSymbols:new e.Map}}),_r=e.getOrUpdate(ar.conflictingSymbols,we,function(){return{isBlockScoped:c,firstFileLocations:[],secondFileLocations:[]}});Gr(_r.firstFileLocations,t),Gr(_r.secondFileLocations,r)}else Hc(t,L,we,r),Hc(r,L,we,t)}return r;function Gr(Zr,Et){if(Et.declarations)for(var Tt=0,At=Et.declarations;Tt<At.length;Tt++){var Vt=At[Tt];e.pushIfUnique(Zr,Vt)}}}function Hc(r,t,i,o){e.forEach(r.declarations,function(s){Jc(s,t,i,o.declarations)})}function Jc(r,t,i,o){for(var s=(e.getExpandoInitializer(r,!1)?e.getNameOfExpando(r):e.getNameOfDeclaration(r))||r,c=gf(s,t,i),L=function(Ue){var Je=(e.getExpandoInitializer(Ue,!1)?e.getNameOfExpando(Ue):e.getNameOfDeclaration(Ue))||Ue;if(Je===s)return\"continue\";c.relatedInformation=c.relatedInformation||[];var ar=e.createDiagnosticForNode(Je,e.Diagnostics._0_was_also_declared_here,i),_r=e.createDiagnosticForNode(Je,e.Diagnostics.and_here);if(e.length(c.relatedInformation)>=5||e.some(c.relatedInformation,function(Gr){return e.compareDiagnostics(Gr,_r)===0||e.compareDiagnostics(Gr,ar)===0}))return\"continue\";e.addRelatedInfo(c,e.length(c.relatedInformation)?_r:ar)},G=0,ce=o||e.emptyArray;G<ce.length;G++){var we=ce[G];L(we)}}function zp(r,t){if(!(r!=null&&r.size))return t;if(!(t!=null&&t.size))return r;var i=e.createSymbolTable();return dl(i,r),dl(i,t),i}function dl(r,t,i){i===void 0&&(i=!1),t.forEach(function(o,s){var c=r.get(s);r.set(s,c?_s(c,o,i):o)})}function qp(r){var t,i,o,s=r.parent;if(((t=s.symbol.declarations)===null||t===void 0?void 0:t[0])!==s){e.Debug.assert(s.symbol.declarations.length>1);return}if(e.isGlobalScopeAugmentation(s))dl(Pr,s.symbol.exports);else{var c=r.parent.parent.flags&8388608?void 0:e.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found,L=Mc(r,r,c,!0);if(!L)return;if(L=ll(L),L.flags&1920)if(e.some(dt,function(Gr){return L===Gr.symbol})){var G=_s(s.symbol,L,!0);tn||(tn=new e.Map),tn.set(r.text,G)}else{if(((i=L.exports)===null||i===void 0?void 0:i.get(\"__export\"))&&((o=s.symbol.exports)===null||o===void 0?void 0:o.size))for(var ce=im(L,\"resolvedExports\"),we=0,Ue=e.arrayFrom(s.symbol.exports.entries());we<Ue.length;we++){var Je=Ue[we],ar=Je[0],_r=Je[1];ce.has(ar)&&!L.exports.has(ar)&&_s(ce.get(ar),_r)}_s(L,s.symbol)}else Mr(r,e.Diagnostics.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,r.text)}}function Rs(r,t,i){t.forEach(function(s,c){var L=r.get(c);L?e.forEach(L.declarations,o(e.unescapeLeadingUnderscores(c),i)):r.set(c,s)});function o(s,c){return function(L){return ua.add(e.createDiagnosticForNode(L,c,s))}}}function Ja(r){if(r.flags&33554432)return r;var t=y(r);return xc[t]||(xc[t]=new re)}function Zn(r){var t=N(r);return Ic[t]||(Ic[t]=new T)}function Oc(r){return r.kind===303&&!e.isExternalOrCommonJsModule(r)}function ks(r,t,i){if(i){var o=Ga(r.get(t));if(o){if(e.Debug.assert((e.getCheckFlags(o)&1)===0,\"Should never get an instantiated symbol here.\"),o.flags&i)return o;if(o.flags&2097152){var s=ms(o);if(s===We||s.flags&i)return o}}}}function yf(r,t){var i=r.parent,o=r.parent.parent,s=ks(i.locals,t,111551),c=ks(af(o.symbol),t,111551);return s&&c?[s,c]:e.Debug.fail(\"There should exist two symbols, one as property declaration and one as parameter declaration\")}function Ou(r,t){var i=e.getSourceFileOfNode(r),o=e.getSourceFileOfNode(t),s=e.getEnclosingBlockScopeContainer(r);if(i!==o){if(Ae&&(i.externalModuleIndicator||o.externalModuleIndicator)||!e.outFile(Xe)||lg(t)||r.flags&8388608||we(t,r))return!0;var c=j.getSourceFiles();return c.indexOf(i)<=c.indexOf(o)}if(r.pos<=t.pos&&!(e.isPropertyDeclaration(r)&&e.isThisProperty(t.parent)&&!r.initializer&&!r.exclamationToken)){if(r.kind===202){var L=e.getAncestor(t,202);return L?e.findAncestor(L,e.isBindingElement)!==e.findAncestor(r,e.isBindingElement)||r.pos<L.pos:Ou(e.getAncestor(r,253),t)}else{if(r.kind===253)return!ce(r,t);if(e.isClassDeclaration(r))return!e.findAncestor(t,function(Je){return e.isComputedPropertyName(Je)&&Je.parent.parent===r});if(e.isPropertyDeclaration(r))return!Ue(r,t,!1);if(e.isParameterPropertyDeclaration(r,r.parent))return!(e.getEmitScriptTarget(Xe)===99&&Ye&&e.getContainingClass(r)===e.getContainingClass(t)&&we(t,r))}return!0}if(t.parent.kind===274||t.parent.kind===270&&t.parent.isExportEquals||t.kind===270&&t.isExportEquals||!!(t.flags&4194304)||lg(t)||G())return!0;if(we(t,r))return e.getEmitScriptTarget(Xe)===99&&Ye&&e.getContainingClass(r)&&(e.isPropertyDeclaration(r)||e.isParameterPropertyDeclaration(r,r.parent))?!Ue(r,t,!0):!0;return!1;function G(){return!!e.findAncestor(t,function(Je){return e.isInterfaceDeclaration(Je)||e.isTypeAliasDeclaration(Je)})}function ce(Je,ar){switch(Je.parent.parent.kind){case 236:case 241:case 243:if(_c(ar,Je,s))return!0;break}var _r=Je.parent.parent;return e.isForInOrOfStatement(_r)&&_c(ar,_r.expression,s)}function we(Je,ar){return!!e.findAncestor(Je,function(_r){if(_r===s)return\"quit\";if(e.isFunctionLike(_r))return!0;if(e.isClassStaticBlockDeclaration(_r))return ar.pos<Je.pos;var Gr=e.tryCast(_r.parent,e.isPropertyDeclaration);if(Gr){var Zr=Gr.initializer===_r;if(Zr)if(e.isStatic(_r.parent)){if(ar.kind===168)return!0;if(e.isPropertyDeclaration(ar)&&e.getContainingClass(Je)===e.getContainingClass(ar)){var Et=ar.name;if(e.isIdentifier(Et)||e.isPrivateIdentifier(Et)){var Tt=An(wn(ar)),At=e.filter(ar.parent.members,e.isClassStaticBlockDeclaration);if(E3(Et,Tt,At,ar.parent.pos,_r.pos))return!0}}}else{var Vt=ar.kind===166&&!e.isStatic(ar);if(!Vt||e.getContainingClass(Je)!==e.getContainingClass(ar))return!0}}return!1})}function Ue(Je,ar,_r){if(ar.end>Je.end)return!1;var Gr=e.findAncestor(ar,function(Zr){if(Zr===Je)return\"quit\";switch(Zr.kind){case 213:return!0;case 166:return _r&&(e.isPropertyDeclaration(Je)&&Zr.parent===Je.parent||e.isParameterPropertyDeclaration(Je,Je.parent)&&Zr.parent===Je.parent.parent)?\"quit\":!0;case 234:switch(Zr.parent.kind){case 171:case 168:case 172:return!0;default:return!1}default:return!1}});return Gr===void 0}}function kd(r,t,i){var o=e.getEmitScriptTarget(Xe),s=t;if(e.isParameter(i)&&s.body&&r.valueDeclaration&&r.valueDeclaration.pos>=s.body.pos&&r.valueDeclaration.end<=s.body.end&&o>=2){var c=Zn(s);return c.declarationRequiresScopeChange===void 0&&(c.declarationRequiresScopeChange=e.forEach(s.parameters,L)||!1),!c.declarationRequiresScopeChange}return!1;function L(ce){return G(ce.name)||!!ce.initializer&&G(ce.initializer)}function G(ce){switch(ce.kind){case 213:case 212:case 255:case 170:return!1;case 168:case 171:case 172:case 294:return G(ce.name);case 166:return e.hasStaticModifier(ce)?o<99||!Ye:G(ce.name);default:return e.isNullishCoalesce(ce)||e.isOptionalChain(ce)?o<7:e.isBindingElement(ce)&&ce.dotDotDotToken&&e.isObjectBindingPattern(ce.parent)?o<4:e.isTypeNode(ce)?!1:e.forEachChild(ce,G)||!1}}}function Uo(r,t,i,o,s,c,L,G){return L===void 0&&(L=!1),G===void 0&&(G=!0),$f(r,t,i,o,s,c,L,G,ks)}function $f(r,t,i,o,s,c,L,G,ce){var we,Ue,Je,ar=r,_r,Gr,Zr,Et,Tt,At=!1,Vt=r,Nn,on=!1;e:for(;r;){if(r.locals&&!Oc(r)&&(_r=ce(r.locals,t,i))){var ca=!0;if(e.isFunctionLike(r)&&Gr&&Gr!==r.body?(i&_r.flags&788968&&Gr.kind!==318&&(ca=_r.flags&262144?Gr===r.type||Gr.kind===163||Gr.kind===162:!1),i&_r.flags&3&&(kd(_r,r,Gr)?ca=!1:_r.flags&1&&(ca=Gr.kind===163||Gr===r.type&&!!e.findAncestor(_r.valueDeclaration,e.isParameter)))):r.kind===188&&(ca=Gr===r.trueType),ca)break e;_r=void 0}switch(At=At||Xp(r,Gr),r.kind){case 303:if(!e.isExternalOrCommonJsModule(r))break;on=!0;case 260:var la=((we=wn(r))===null||we===void 0?void 0:we.exports)||Le;if(r.kind===303||e.isModuleDeclaration(r)&&r.flags&8388608&&!e.isGlobalScopeAugmentation(r)){if(_r=la.get(\"default\")){var di=e.getLocalSymbolForExportDefault(_r);if(di&&_r.flags&i&&di.escapedName===t)break e;_r=void 0}var Aa=la.get(t);if(Aa&&Aa.flags===2097152&&(e.getDeclarationOfKind(Aa,274)||e.getDeclarationOfKind(Aa,273)))break}if(t!==\"default\"&&(_r=ce(la,t,i&2623475)))if(e.isSourceFile(r)&&r.commonJsModuleIndicator&&!(!((Ue=_r.declarations)===null||Ue===void 0)&&Ue.some(e.isJSDocTypeAlias)))_r=void 0;else break e;break;case 259:if(_r=ce(((Je=wn(r))===null||Je===void 0?void 0:Je.exports)||Le,t,i&8))break e;break;case 166:if(!e.isStatic(r)){var Li=$u(r.parent);Li&&Li.locals&&ce(Li.locals,t,i&111551)&&(Et=r)}break;case 256:case 225:case 257:if(_r=ce(wn(r).members||Le,t,i&788968)){if(!C_(_r,r)){_r=void 0;break}if(Gr&&e.isStatic(Gr)){Mr(Vt,e.Diagnostics.Static_members_cannot_reference_class_type_parameters);return}break e}if(r.kind===225&&i&32){var Bi=r.name;if(Bi&&t===Bi.escapedText){_r=r.symbol;break e}}break;case 227:if(Gr===r.expression&&r.parent.token===94){var Ai=r.parent.parent;if(e.isClassLike(Ai)&&(_r=ce(wn(Ai).members,t,i&788968))){o&&Mr(Vt,e.Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters);return}}break;case 161:if(Nn=r.parent.parent,(e.isClassLike(Nn)||Nn.kind===257)&&(_r=ce(wn(Nn).members,t,i&788968))){Mr(Vt,e.Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);return}break;case 213:if(e.getEmitScriptTarget(Xe)>=2)break;case 168:case 170:case 171:case 172:case 255:if(i&3&&t===\"arguments\"){_r=Jr;break e}break;case 212:if(i&3&&t===\"arguments\"){_r=Jr;break e}if(i&16){var xo=r.name;if(xo&&t===xo.escapedText){_r=r.symbol;break e}}break;case 164:r.parent&&r.parent.kind===163&&(r=r.parent),r.parent&&(e.isClassElement(r.parent)||r.parent.kind===256)&&(r=r.parent);break;case 343:case 336:case 337:var Wt=e.getJSDocRoot(r);Wt&&(r=Wt.parent);break;case 163:Gr&&(Gr===r.initializer||Gr===r.name&&e.isBindingPattern(Gr))&&(Tt||(Tt=r));break;case 202:Gr&&(Gr===r.initializer||Gr===r.name&&e.isBindingPattern(Gr))&&e.isParameterDeclaration(r)&&!Tt&&(Tt=r);break;case 189:if(i&262144){var Ft=r.typeParameter.name;if(Ft&&t===Ft.escapedText){_r=r.typeParameter.symbol;break e}}break}yp(r)&&(Zr=r),Gr=r,r=e.isJSDocTemplateTag(r)&&e.getEffectiveContainerForJSDocTemplateTag(r)||r.parent}if(c&&_r&&(!Zr||_r!==Zr.symbol)&&(_r.isReferenced|=i),!_r){if(Gr&&(e.Debug.assert(Gr.kind===303),Gr.commonJsModuleIndicator&&t===\"exports\"&&i&Gr.symbol.flags))return Gr.symbol;L||(_r=ce(Pr,t,i))}if(!_r&&ar&&e.isInJSFile(ar)&&ar.parent&&e.isRequireCall(ar.parent,!1))return ze;if(!_r){if(o&&Se&&(!Vt||!ed(Vt,t,s)&&!bp(Vt)&&!Md(Vt,t,i)&&!Ep(Vt,t)&&!Yp(Vt,t,i)&&!Bd(Vt,t,i)&&!Pd(Vt,t,i))){var _n=void 0;if(G&&ql<fc){_n=F1(ar,t,i);var Ca=(_n==null?void 0:_n.valueDeclaration)&&e.isAmbientModule(_n.valueDeclaration)&&e.isGlobalScopeAugmentation(_n.valueDeclaration);if(Ca&&(_n=void 0),_n){var Yn=Wa(_n),Ba=w1(ar,_n,!1),Ti=i===1920||s&&typeof s!=\"string\"&&e.nodeIsSynthesized(s)?e.Diagnostics.Cannot_find_namespace_0_Did_you_mean_1:Ba?e.Diagnostics.Could_not_find_name_0_Did_you_mean_1:e.Diagnostics.Cannot_find_name_0_Did_you_mean_1,Pi=jc(Vt,Ti,Xl(s),Yn);$l(!Ba,Pi),_n.valueDeclaration&&e.addRelatedInfo(Pi,e.createDiagnosticForNode(_n.valueDeclaration,e.Diagnostics._0_is_declared_here,Yn))}}if(!_n&&s){var jn=iP(s);jn?Mr(Vt,o,Xl(s),jn):Mr(Vt,o,Xl(s))}ql++}return}if(o&&Se){if(Et&&!(e.getEmitScriptTarget(Xe)===99&&Ye)){var Fi=Et.name;Mr(Vt,e.Diagnostics.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,e.declarationNameToString(Fi),Xl(s));return}if(Vt&&(i&2||(i&32||i&384)&&(i&111551)===111551)){var Wr=tc(_r);(Wr.flags&2||Wr.flags&32||Wr.flags&384)&&fu(Wr,Vt)}if(_r&&on&&(i&111551)===111551&&!(ar.flags&4194304)){var Tr=Ga(_r);e.length(Tr.declarations)&&e.every(Tr.declarations,function(nn){return e.isNamespaceExportDeclaration(nn)||e.isSourceFile(nn)&&!!nn.symbol.globalExports})&&pc(!Xe.allowUmdGlobalAccess,Vt,e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,e.unescapeLeadingUnderscores(t))}if(_r&&Tt&&!At&&(i&111551)===111551){var hn=Ga(Ug(_r)),Wt=e.getRootDeclaration(Tt);hn===wn(Tt)?Mr(Vt,e.Diagnostics.Parameter_0_cannot_reference_itself,e.declarationNameToString(Tt.name)):hn.valueDeclaration&&hn.valueDeclaration.pos>Tt.pos&&Wt.parent.locals&&ce(Wt.parent.locals,hn.escapedName,i)===hn&&Mr(Vt,e.Diagnostics.Parameter_0_cannot_reference_identifier_1_declared_after_it,e.declarationNameToString(Tt.name),e.declarationNameToString(Vt))}_r&&Vt&&i&111551&&_r.flags&2097152&&Od(_r,t,Vt)}return _r}function Od(r,t,i){if(!e.isValidTypeOnlyAliasUseSite(i)){var o=Ln(r);if(o){var s=o.kind===274?e.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:e.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type,c=e.unescapeLeadingUnderscores(t);Rd(Mr(i,s,c),o,c)}}}function Rd(r,t,i){return t?e.addRelatedInfo(r,e.createDiagnosticForNode(t,t.kind===274?e.Diagnostics._0_was_exported_here:e.Diagnostics._0_was_imported_here,i)):r}function Xp(r,t){return r.kind!==213&&r.kind!==212?e.isTypeQueryNode(r)||(e.isFunctionLikeDeclaration(r)||r.kind===166&&!e.isStatic(r))&&(!t||t!==r.name):t&&t===r.name?!1:r.asteriskToken||e.hasSyntacticModifier(r,256)?!0:!e.getImmediatelyInvokedFunctionExpression(r)}function yp(r){switch(r.kind){case 255:case 256:case 257:case 259:case 258:case 260:return!0;default:return!1}}function Xl(r){return e.isString(r)?e.unescapeLeadingUnderscores(r):e.declarationNameToString(r)}function C_(r,t){if(r.declarations)for(var i=0,o=r.declarations;i<o.length;i++){var s=o[i];if(s.kind===162){var c=e.isJSDocTemplateTag(s.parent)?e.getJSDocHost(s.parent):s.parent;if(c===t)return!(e.isJSDocTemplateTag(s.parent)&&e.find(s.parent.parent.tags,e.isJSDocTypeAlias))}}return!1}function ed(r,t,i){if(!e.isIdentifier(r)||r.escapedText!==t||iI(r)||lg(r))return!1;for(var o=e.getThisContainer(r,!1),s=o;s;){if(e.isClassLike(s.parent)){var c=wn(s.parent);if(!c)break;var L=An(c);if(Ii(L,t))return Mr(r,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,Xl(i),Wa(c)),!0;if(s===o&&!e.isStatic(s)){var G=po(c).thisType;if(Ii(G,t))return Mr(r,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,Xl(i)),!0}}s=s.parent}return!1}function bp(r){var t=wd(r);return t&&rs(t,64,!0)?(Mr(r,e.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements,e.getTextOfNode(t)),!0):!1}function wd(r){switch(r.kind){case 79:case 205:return r.parent?wd(r.parent):void 0;case 227:if(e.isEntityNameExpression(r.expression))return r.expression;default:return}}function Md(r,t,i){var o=1920|(e.isInJSFile(r)?111551:0);if(i===o){var s=wo(Uo(r,t,788968&~o,void 0,void 0,!1)),c=r.parent;if(s){if(e.isQualifiedName(c)){e.Debug.assert(c.left===r,\"Should only be resolving left side of qualified name as a namespace\");var L=c.right.escapedText,G=Ii(po(s),L);if(G)return Mr(c,e.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,e.unescapeLeadingUnderscores(t),e.unescapeLeadingUnderscores(L)),!0}return Mr(r,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,e.unescapeLeadingUnderscores(t)),!0}}return!1}function Pd(r,t,i){if(i&788584){var o=wo(Uo(r,t,111127,void 0,void 0,!1));if(o&&!(o.flags&1920))return Mr(r,e.Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,e.unescapeLeadingUnderscores(t)),!0}return!1}function Fd(r){return r===\"any\"||r===\"string\"||r===\"number\"||r===\"boolean\"||r===\"never\"||r===\"unknown\"}function Ep(r,t){return Fd(t)&&r.parent.kind===274?(Mr(r,e.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,t),!0):!1}function Yp(r,t,i){if(i&111551){if(Fd(t))return Mr(r,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,e.unescapeLeadingUnderscores(t)),!0;var o=wo(Uo(r,t,788544,void 0,void 0,!1));if(o&&!(o.flags&1024)){var s=e.unescapeLeadingUnderscores(t);return Qp(t)?Mr(r,e.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,s):Gd(r,o)?Mr(r,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0,s,s===\"K\"?\"P\":\"K\"):Mr(r,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,s),!0}}return!1}function Gd(r,t){var i=e.findAncestor(r.parent,function(s){return e.isComputedPropertyName(s)||e.isPropertySignature(s)?!1:e.isTypeLiteralNode(s)||\"quit\"});if(i&&i.members.length===1){var o=po(t);return!!(o.flags&1048576)&&Sm(o,384,!0)}return!1}function Qp(r){switch(r){case\"Promise\":case\"Symbol\":case\"Map\":case\"WeakMap\":case\"Set\":case\"WeakSet\":return!0}return!1}function Bd(r,t,i){if(i&111127){var o=wo(Uo(r,t,1024,void 0,void 0,!1));if(o)return Mr(r,e.Diagnostics.Cannot_use_namespace_0_as_a_value,e.unescapeLeadingUnderscores(t)),!0}else if(i&788544){var o=wo(Uo(r,t,1536,void 0,void 0,!1));if(o)return Mr(r,e.Diagnostics.Cannot_use_namespace_0_as_a_type,e.unescapeLeadingUnderscores(t)),!0}return!1}function fu(r,t){var i;if(e.Debug.assert(!!(r.flags&2||r.flags&32||r.flags&384)),!(r.flags&67108881&&r.flags&32)){var o=(i=r.declarations)===null||i===void 0?void 0:i.find(function(L){return e.isBlockOrCatchScoped(L)||e.isClassLike(L)||L.kind===259});if(o===void 0)return e.Debug.fail(\"checkResolvedBlockScopedVariable could not find block-scoped declaration\");if(!(o.flags&8388608)&&!Ou(o,t)){var s=void 0,c=e.declarationNameToString(e.getNameOfDeclaration(o));r.flags&2?s=Mr(t,e.Diagnostics.Block_scoped_variable_0_used_before_its_declaration,c):r.flags&32?s=Mr(t,e.Diagnostics.Class_0_used_before_its_declaration,c):r.flags&256?s=Mr(t,e.Diagnostics.Enum_0_used_before_its_declaration,c):(e.Debug.assert(!!(r.flags&128)),e.shouldPreserveConstEnums(Xe)&&(s=Mr(t,e.Diagnostics.Enum_0_used_before_its_declaration,c))),s&&e.addRelatedInfo(s,e.createDiagnosticForNode(o,e.Diagnostics._0_is_declared_here,c))}}}function _c(r,t,i){return!!t&&!!e.findAncestor(r,function(o){return o===i||e.isFunctionLike(o)?\"quit\":o===t})}function mc(r){switch(r.kind){case 264:return r;case 266:return r.parent;case 267:return r.parent.parent;case 269:return r.parent.parent.parent;default:return}}function ec(r){return r.declarations&&e.findLast(r.declarations,Ud)}function Ud(r){return r.kind===264||r.kind===263||r.kind===266&&!!r.name||r.kind===267||r.kind===273||r.kind===269||r.kind===274||r.kind===270&&e.exportAssignmentIsAlias(r)||e.isBinaryExpression(r)&&e.getAssignmentDeclarationKind(r)===2&&e.exportAssignmentIsAlias(r)||e.isAccessExpression(r)&&e.isBinaryExpression(r.parent)&&r.parent.left===r&&r.parent.operatorToken.kind===63&&bf(r.parent.right)||r.kind===295||r.kind===294&&bf(r.initializer)||e.isVariableDeclarationInitializedToBareOrAccessedRequire(r)}function bf(r){return e.isAliasableExpression(r)||e.isFunctionExpression(r)&&ou(r)}function Tp(r,t){var i=Sl(r);if(i){var o=e.getLeftmostAccessExpression(i.expression).arguments[0];return e.isIdentifier(i.name)?wo(Ii(cD(o),i.name.escapedText)):void 0}if(e.isVariableDeclaration(r)||r.moduleReference.kind===276){var s=ws(r,e.getExternalModuleRequireArgument(r)||e.getExternalModuleImportEqualsDeclarationExpression(r)),c=ll(s);return Yl(r,s,c,!1),c}var L=sd(r.moduleReference,t);return Sp(r,L),L}function Sp(r,t){if(Yl(r,void 0,t,!1)&&!r.isTypeOnly){var i=Ln(wn(r)),o=i.kind===274,s=o?e.Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:e.Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type,c=o?e.Diagnostics._0_was_exported_here:e.Diagnostics._0_was_imported_here,L=e.unescapeLeadingUnderscores(i.name.escapedText);e.addRelatedInfo(Mr(r.moduleReference,s),e.createDiagnosticForNode(i,c,L))}}function Ef(r,t,i,o){var s=r.exports.get(\"export=\"),c=s?Ii(An(s),t):r.exports.get(t),L=wo(c,o);return Yl(i,c,L,!1),L}function Zp(r){return e.isExportAssignment(r)&&!r.isExportEquals||e.hasSyntacticModifier(r,512)||e.isExportSpecifier(r)}function Vd(r){return e.isStringLiteralLike(r)?e.getModeForUsageLocation(e.getSourceFileOfNode(r),r):void 0}function rd(r,t){return r===e.ModuleKind.ESNext&&t===e.ModuleKind.CommonJS}function td(r){var t=Vd(r);return t===e.ModuleKind.ESNext&&e.endsWith(r.text,\".json\")}function Ru(r,t,i,o){var s=r&&Vd(o);if(r&&s!==void 0){var c=rd(s,r.impliedNodeFormat);if(s===e.ModuleKind.ESNext||c)return c}if(!Dr)return!1;if(!r||r.isDeclarationFile){var L=Ef(t,\"default\",void 0,!0);return!(L&&e.some(L.declarations,Zp)||Ef(t,e.escapeLeadingUnderscores(\"__esModule\"),void 0,i))}return e.isSourceFileJS(r)?!r.externalModuleIndicator&&!Ef(t,e.escapeLeadingUnderscores(\"__esModule\"),void 0,i):ld(t)}function wu(r,t){var i,o=ws(r,r.parent.moduleSpecifier);if(o){var s=void 0;e.isShorthandAmbientModuleSymbol(o)?s=o:s=Ef(o,\"default\",r,t);var c=(i=o.declarations)===null||i===void 0?void 0:i.find(e.isSourceFile),L=td(r.parent.moduleSpecifier),G=Ru(c,o,t,r.parent.moduleSpecifier);if(!s&&!G&&!L)if(ld(o)){var ce=Ae>=e.ModuleKind.ES2015?\"allowSyntheticDefaultImports\":\"esModuleInterop\",we=o.exports.get(\"export=\"),Ue=we.valueDeclaration,Je=Mr(r.name,e.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag,Wa(o),ce);Ue&&e.addRelatedInfo(Je,e.createDiagnosticForNode(Ue,e.Diagnostics.This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,ce))}else Mu(o,r);else if(G||L){var ar=ll(o,t)||wo(o,t);return Yl(r,o,ar,!1),ar}return Yl(r,s,void 0,!1),s}}function Mu(r,t){var i,o,s;if(!((i=r.exports)===null||i===void 0)&&i.has(t.symbol.escapedName))Mr(t.name,e.Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,Wa(r),Wa(t.symbol));else{var c=Mr(t.name,e.Diagnostics.Module_0_has_no_default_export,Wa(r)),L=(o=r.exports)===null||o===void 0?void 0:o.get(\"__export\");if(L){var G=(s=L.declarations)===null||s===void 0?void 0:s.find(function(ce){var we,Ue;return!!(e.isExportDeclaration(ce)&&ce.moduleSpecifier&&((Ue=(we=ws(ce,ce.moduleSpecifier))===null||we===void 0?void 0:we.exports)===null||Ue===void 0?void 0:Ue.has(\"default\")))});G&&e.addRelatedInfo(c,e.createDiagnosticForNode(G,e.Diagnostics.export_Asterisk_does_not_re_export_a_default))}}}function js(r,t){var i=r.parent.parent.moduleSpecifier,o=ws(r,i),s=Fu(o,i,t,!1);return Yl(r,o,s,!1),s}function gc(r,t){var i=r.parent.moduleSpecifier,o=i&&ws(r,i),s=i&&Fu(o,i,t,!1);return Yl(r,o,s,!1),s}function nd(r,t){if(r===We&&t===We)return We;if(r.flags&790504)return r;var i=fo(r.flags|t.flags,r.escapedName);return i.declarations=e.deduplicate(e.concatenate(r.declarations,t.declarations),e.equateValues),i.parent=r.parent||t.parent,r.valueDeclaration&&(i.valueDeclaration=r.valueDeclaration),t.members&&(i.members=new e.Map(t.members)),r.exports&&(i.exports=new e.Map(r.exports)),i}function x_(r,t,i,o){if(r.flags&1536){var s=Js(r).get(t.escapedText),c=wo(s,o);return Yl(i,s,c,!1),c}}function ad(r,t){if(r.flags&3){var i=r.valueDeclaration.type;if(i)return wo(Ii(Da(i),t))}}function Pu(r,t,i){var o,s;i===void 0&&(i=!1);var c=e.getExternalModuleRequireArgument(r)||r.moduleSpecifier,L=ws(r,c),G=!e.isPropertyAccessExpression(t)&&t.propertyName||t.name;if(!!e.isIdentifier(G)){var ce=G.escapedText===\"default\"&&!!(Xe.allowSyntheticDefaultImports||e.getESModuleInterop(Xe)),we=Fu(L,c,!1,ce);if(we&&G.escapedText){if(e.isShorthandAmbientModuleSymbol(L))return L;var Ue=void 0;L&&L.exports&&L.exports.get(\"export=\")?Ue=Ii(An(we),G.escapedText,!0):Ue=ad(we,G.escapedText),Ue=wo(Ue,i);var Je=x_(we,G,t,i);if(Je===void 0&&G.escapedText===\"default\"){var ar=(o=L.declarations)===null||o===void 0?void 0:o.find(e.isSourceFile);(td(c)||Ru(ar,L,i,c))&&(Je=ll(L,i)||wo(L,i))}var _r=Je&&Ue&&Je!==Ue?nd(Ue,Je):Je||Ue;if(!_r){var Gr=sl(L,r),Zr=e.declarationNameToString(G),Et=mb(G,we);if(Et!==void 0){var Tt=Wa(Et),At=Mr(G,e.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,Gr,Zr,Tt);Et.valueDeclaration&&e.addRelatedInfo(At,e.createDiagnosticForNode(Et.valueDeclaration,e.Diagnostics._0_is_declared_here,Tt))}else!((s=L.exports)===null||s===void 0)&&s.has(\"default\")?Mr(G,e.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,Gr,Zr):I_(r,G,Zr,L,Gr)}return _r}}}function I_(r,t,i,o,s){var c,L,G=(L=(c=o.valueDeclaration)===null||c===void 0?void 0:c.locals)===null||L===void 0?void 0:L.get(t.escapedText),ce=o.exports;if(G){var we=ce==null?void 0:ce.get(\"export=\");if(we)Ll(we,G)?vc(r,t,i,s):Mr(t,e.Diagnostics.Module_0_has_no_exported_member_1,s,i);else{var Ue=ce?e.find(qm(ce),function(ar){return!!Ll(ar,G)}):void 0,Je=Ue?Mr(t,e.Diagnostics.Module_0_declares_1_locally_but_it_is_exported_as_2,s,i,Wa(Ue)):Mr(t,e.Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported,s,i);G.declarations&&e.addRelatedInfo.apply(void 0,Gt([Je],e.map(G.declarations,function(ar,_r){return e.createDiagnosticForNode(ar,_r===0?e.Diagnostics._0_is_declared_here:e.Diagnostics.and_here,i)}),!1))}}else Mr(t,e.Diagnostics.Module_0_has_no_exported_member_1,s,i)}function vc(r,t,i,o){if(Ae>=e.ModuleKind.ES2015){var s=e.getESModuleInterop(Xe)?e.Diagnostics._0_can_only_be_imported_by_using_a_default_import:e.Diagnostics._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;Mr(t,s,i)}else if(e.isInJSFile(r)){var s=e.getESModuleInterop(Xe)?e.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:e.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;Mr(t,s,i)}else{var s=e.getESModuleInterop(Xe)?e.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:e.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;Mr(t,s,i,i,o)}}function Pl(r,t){var i=e.isBindingElement(r)?e.getRootDeclaration(r):r.parent.parent.parent,o=Sl(i),s=Pu(i,o||r,t),c=r.propertyName||r.name;return o&&s&&e.isIdentifier(c)?wo(Ii(An(s),c.escapedText),t):(Yl(r,void 0,s,!1),s)}function Sl(r){if(e.isVariableDeclaration(r)&&r.initializer&&e.isPropertyAccessExpression(r.initializer))return r.initializer}function Fl(r,t){var i=ll(r.parent.symbol,t);return Yl(r,void 0,i,!1),i}function pl(r,t,i){var o=r.parent.parent.moduleSpecifier?Pu(r.parent.parent,r,i):rs(r.propertyName||r.name,t,!1,i);return Yl(r,void 0,o,!1),o}function Dp(r,t){var i=e.isExportAssignment(r)?r.expression:r.right,o=Tf(i,t);return Yl(r,void 0,o,!1),o}function Tf(r,t){if(e.isClassExpression(r))return Ss(r).symbol;if(!(!e.isEntityName(r)&&!e.isEntityNameExpression(r))){var i=rs(r,901119,!0,t);return i||(Ss(r),Zn(r).resolvedSymbol)}}function Wd(r,t){var i=r.initializer;return Tf(i,t)}function id(r,t){if(!!(e.isBinaryExpression(r.parent)&&r.parent.left===r&&r.parent.operatorToken.kind===63))return Tf(r.parent.right,t)}function mo(r,t){switch(t===void 0&&(t=!1),r.kind){case 264:case 253:return Tp(r,t);case 266:return wu(r,t);case 267:return js(r,t);case 273:return gc(r,t);case 269:case 202:return Pl(r,t);case 274:return pl(r,901119,t);case 270:case 220:return Dp(r,t);case 263:return Fl(r,t);case 295:return rs(r.name,901119,!0,t);case 294:return Wd(r,t);case 206:case 205:return id(r,t);default:return e.Debug.fail()}}function Dl(r,t){return t===void 0&&(t=901119),r?(r.flags&(2097152|t))===2097152||!!(r.flags&2097152&&r.flags&67108864):!1}function wo(r,t){return!t&&Dl(r)?ms(r):r}function ms(r){e.Debug.assert((r.flags&2097152)!==0,\"Should only get Alias here.\");var t=Ja(r);if(t.target)t.target===$&&(t.target=We);else{t.target=$;var i=ec(r);if(!i)return e.Debug.fail();var o=mo(i);t.target===$?t.target=o||We:Mr(i,e.Diagnostics.Circular_definition_of_import_alias_0,Wa(r))}return t.target}function $p(r){var t=Ja(r);if(t.target!==$)return ms(r)}function Yl(r,t,i,o){if(!r||e.isPropertyAccessExpression(r))return!1;var s=wn(r);if(e.isTypeOnlyImportOrExportDeclaration(r)){var c=Ja(s);return c.typeOnlyDeclaration=r,!0}var L=Ja(s);return od(L,t,o)||od(L,i,o)}function od(r,t,i){var o,s,c;if(t&&(r.typeOnlyDeclaration===void 0||i&&r.typeOnlyDeclaration===!1)){var L=(s=(o=t.exports)===null||o===void 0?void 0:o.get(\"export=\"))!==null&&s!==void 0?s:t,G=L.declarations&&e.find(L.declarations,e.isTypeOnlyImportOrExportDeclaration);r.typeOnlyDeclaration=(c=G!=null?G:Ja(L).typeOnlyDeclaration)!==null&&c!==void 0?c:!1}return!!r.typeOnlyDeclaration}function Ln(r){if(!!(r.flags&2097152)){var t=Ja(r);return t.typeOnlyDeclaration||void 0}}function us(r){var t=wn(r),i=ms(t);if(i){var o=i===We||i.flags&111551&&!Dv(i)&&!Ln(t);o&&ii(t)}}function ii(r){var t=Ja(r);if(!t.referenced){t.referenced=!0;var i=ec(r);if(!i)return e.Debug.fail();if(e.isInternalModuleImportEqualsDeclaration(i)){var o=wo(r);(o===We||o.flags&111551)&&Ss(i.moduleReference)}}}function Rc(r){var t=Ja(r);t.constEnumReferenced||(t.constEnumReferenced=!0)}function sd(r,t){return r.kind===79&&e.isRightSideOfQualifiedNameOrPropertyAccess(r)&&(r=r.parent),r.kind===79||r.parent.kind===160?rs(r,1920,!1,t):(e.Debug.assert(r.parent.kind===264),rs(r,901119,!1,t))}function sl(r,t){return r.parent?sl(r.parent,t)+\".\"+Wa(r):Wa(r,t,void 0,20)}function Dn(r){for(;e.isQualifiedName(r.parent);)r=r.parent;return r}function N_(r){var t=e.getFirstIdentifier(r),i=Uo(t,t.escapedText,111551,void 0,t,!0);if(!!i){for(;e.isQualifiedName(t.parent);){var o=An(i);if(i=Ii(o,t.parent.right.escapedText),!i)return;t=t.parent}return i}}function rs(r,t,i,o,s){if(!e.nodeIsMissing(r)){var c=1920|(e.isInJSFile(r)?t&111551:0),L;if(r.kind===79){var G=t===c||e.nodeIsSynthesized(r)?e.Diagnostics.Cannot_find_namespace_0:aA(e.getFirstIdentifier(r)),ce=e.isInJSFile(r)&&!e.nodeIsSynthesized(r)?fs(r,t):void 0;if(L=Ga(Uo(s||r,r.escapedText,t,i||ce?void 0:G,r,!0,!1)),!L)return Ga(ce)}else if(r.kind===160||r.kind===205){var we=r.kind===160?r.left:r.expression,Ue=r.kind===160?r.right:r.name,Je=rs(we,c,i,!1,s);if(!Je||e.nodeIsMissing(Ue))return;if(Je===We)return Je;if(Je.valueDeclaration&&e.isInJSFile(Je.valueDeclaration)&&e.isVariableDeclaration(Je.valueDeclaration)&&Je.valueDeclaration.initializer&&FC(Je.valueDeclaration.initializer)){var ar=Je.valueDeclaration.initializer.arguments[0],_r=ws(ar,ar);if(_r){var Gr=ll(_r);Gr&&(Je=Gr)}}if(L=Ga(ks(Js(Je),Ue.escapedText,t)),!L){if(!i){var Zr=sl(Je),Et=e.declarationNameToString(Ue),Tt=mb(Ue,Je);if(Tt){Mr(Ue,e.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,Zr,Et,Wa(Tt));return}var At=e.isQualifiedName(r)&&Dn(r),Vt=Un&&t&788968&&At&&!e.isTypeOfExpression(At.parent)&&N_(At);if(Vt){Mr(At,e.Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,e.entityNameToString(At));return}if(t&1920&&e.isQualifiedName(r.parent)){var Nn=Ga(ks(Js(Je),Ue.escapedText,788968));if(Nn){Mr(r.parent.right,e.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,Wa(Nn),e.unescapeLeadingUnderscores(r.parent.right.escapedText));return}}Mr(Ue,e.Diagnostics.Namespace_0_has_no_exported_member_1,Zr,Et)}return}}else throw e.Debug.assertNever(r,\"Unknown entity name kind.\");return e.Debug.assert((e.getCheckFlags(L)&1)===0,\"Should never get an instantiated symbol here.\"),!e.nodeIsSynthesized(r)&&e.isEntityName(r)&&(L.flags&2097152||r.parent.kind===270)&&Yl(e.getAliasDeclarationFromName(r),L,void 0,!0),L.flags&t||o?L:ms(L)}}function fs(r,t){if(Dy(r.parent)){var i=wc(r.parent);if(i)return Uo(i,r.escapedText,t,void 0,r,!0)}}function wc(r){var t=e.findAncestor(r,function(c){return e.isJSDocNode(c)||c.flags&4194304?e.isJSDocTypeAlias(c):\"quit\"});if(!t){var i=e.getJSDocHost(r);if(i&&e.isExpressionStatement(i)&&e.isBinaryExpression(i.expression)&&e.getAssignmentDeclarationKind(i.expression)===3){var o=wn(i.expression.left);if(o)return Hs(o)}if(i&&(e.isObjectLiteralMethod(i)||e.isPropertyAssignment(i))&&e.isBinaryExpression(i.parent.parent)&&e.getAssignmentDeclarationKind(i.parent.parent)===6){var o=wn(i.parent.parent.left);if(o)return Hs(o)}var s=e.getEffectiveJSDocHost(r);if(s&&e.isFunctionLike(s)){var o=wn(s);return o&&o.valueDeclaration}}}function Hs(r){var t=r.parent.valueDeclaration;if(!!t){var i=e.isAssignmentDeclaration(t)?e.getAssignedExpandoInitializer(t):e.hasOnlyExpressionInitializer(t)?e.getDeclaredExpandoInitializer(t):void 0;return i||t}}function Sf(r){var t=r.valueDeclaration;if(!(!t||!e.isInJSFile(t)||r.flags&524288||e.getExpandoInitializer(t,!1))){var i=e.isVariableDeclaration(t)?e.getDeclaredExpandoInitializer(t):e.getAssignedExpandoInitializer(t);if(i){var o=wn(i);if(o)return J1(o,r)}}}function ws(r,t,i){var o=e.getEmitModuleResolutionKind(Xe)===e.ModuleResolutionKind.Classic,s=o?e.Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:e.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations;return Mc(r,t,i?void 0:s)}function Mc(r,t,i,o){return o===void 0&&(o=!1),e.isStringLiteralLike(t)?Qu(r,t.text,i,t,o):void 0}function Qu(r,t,i,o,s){var c,L,G,ce,we,Ue,Je;if(s===void 0&&(s=!1),e.startsWith(t,\"@types/\")){var ar=e.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,_r=e.removePrefix(t,\"@types/\");Mr(o,ar,_r,t)}var Gr=Hg(t,!0);if(Gr)return Gr;var Zr=e.getSourceFileOfNode(r),Et=e.isStringLiteralLike(r)?r:((c=e.findAncestor(r,e.isImportCall))===null||c===void 0?void 0:c.arguments[0])||((L=e.findAncestor(r,e.isImportDeclaration))===null||L===void 0?void 0:L.moduleSpecifier)||((G=e.findAncestor(r,e.isExternalModuleImportEqualsDeclaration))===null||G===void 0?void 0:G.moduleReference.expression)||((ce=e.findAncestor(r,e.isExportDeclaration))===null||ce===void 0?void 0:ce.moduleSpecifier)||((we=e.isModuleDeclaration(r)?r:r.parent&&e.isModuleDeclaration(r.parent)&&r.parent.name===r?r.parent:void 0)===null||we===void 0?void 0:we.name)||((Ue=e.isLiteralImportTypeNode(r)?r:void 0)===null||Ue===void 0?void 0:Ue.argument.literal),Tt=Et&&e.isStringLiteralLike(Et)?e.getModeForUsageLocation(Zr,Et):Zr.impliedNodeFormat,At=e.getResolvedModule(Zr,t,Tt),Vt=At&&e.getResolutionDiagnostic(Xe,At),Nn=At&&!Vt&&j.getSourceFile(At.resolvedFileName);if(Nn){if(Nn.symbol){if(At.isExternalLibraryImport&&!e.resolutionExtensionIsTSOrJson(At.extension)&&Df(!1,o,At,t),e.getEmitModuleResolutionKind(Xe)===e.ModuleResolutionKind.Node12||e.getEmitModuleResolutionKind(Xe)===e.ModuleResolutionKind.NodeNext){var on=Zr.impliedNodeFormat===e.ModuleKind.CommonJS&&!e.findAncestor(r,e.isImportCall)||!!e.findAncestor(r,e.isImportEqualsDeclaration);on&&Nn.impliedNodeFormat===e.ModuleKind.ESNext&&Mr(o,e.Diagnostics.Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_synchronously_Use_dynamic_import_instead,t),Tt===e.ModuleKind.ESNext&&Xe.resolveJsonModule&&At.extension===\".json\"&&Mr(o,e.Diagnostics.JSON_imports_are_experimental_in_ES_module_mode_imports)}return Ga(Nn.symbol)}i&&Mr(o,e.Diagnostics.File_0_is_not_a_module,Nn.fileName);return}if(dt){var ca=e.findBestPatternMatch(dt,function(Ca){return Ca.pattern},t);if(ca){var la=tn&&tn.get(t);return Ga(la||ca.symbol)}}if(At&&!e.resolutionExtensionIsTSOrJson(At.extension)&&Vt===void 0||Vt===e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type){if(s){var ar=e.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented;Mr(o,ar,t,At.resolvedFileName)}else Df(Ke&&!!i,o,At,t);return}if(i){if(At){var di=j.getProjectReferenceRedirect(At.resolvedFileName);if(di){Mr(o,e.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,di,At.resolvedFileName);return}}if(Vt)Mr(o,Vt,t,At.resolvedFileName);else{var Aa=e.tryExtractTSExtension(t),Li=e.pathIsRelative(t)&&!e.hasExtension(t),Bi=e.getEmitModuleResolutionKind(Xe),Ai=Bi===e.ModuleResolutionKind.Node12||Bi===e.ModuleResolutionKind.NodeNext;if(Aa){var ar=e.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead,xo=e.removeExtension(t,Aa),Wt=xo;Ae>=e.ModuleKind.ES2015&&(Wt+=Aa===\".mts\"?\".mjs\":Aa===\".cts\"?\".cjs\":\".js\"),Mr(o,ar,Aa,Wt)}else if(!Xe.resolveJsonModule&&e.fileExtensionIs(t,\".json\")&&e.getEmitModuleResolutionKind(Xe)!==e.ModuleResolutionKind.Classic&&e.hasJsonModuleEmitEnabled(Xe))Mr(o,e.Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,t);else if(Tt===e.ModuleKind.ESNext&&Ai&&Li){var Ft=e.getNormalizedAbsolutePath(t,e.getDirectoryPath(Zr.path)),_n=(Je=Do.find(function(Ca){var Yn=Ca[0];return Ca[1],j.fileExists(Ft+Yn)}))===null||Je===void 0?void 0:Je[1];_n?Mr(o,e.Diagnostics.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node12_or_nodenext_Did_you_mean_0,t+_n):Mr(o,e.Diagnostics.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node12_or_nodenext_Consider_adding_an_extension_to_the_import_path)}else Mr(o,i,t)}}}function Df(r,t,i,o){var s=i.packageId,c=i.resolvedFileName,L=!e.isExternalModuleNameRelative(o)&&s?hc(s.name)?e.chainDiagnosticMessages(void 0,e.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,s.name,e.mangleScopedPackageName(s.name)):Lf(s.name)?e.chainDiagnosticMessages(void 0,e.Diagnostics.If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1,s.name,o):e.chainDiagnosticMessages(void 0,e.Diagnostics.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,o,e.mangleScopedPackageName(s.name)):void 0;pc(r,t,e.chainDiagnosticMessages(L,e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,o,c))}function hc(r){return Ce().has(e.getTypesPackageName(r))}function Lf(r){return!!Ce().get(r)}function ll(r,t){if(r!=null&&r.exports){var i=wo(r.exports.get(\"export=\"),t),o=e_(Ga(i),Ga(r));return Ga(o)||r}}function e_(r,t){if(!r||r===We||r===t||t.exports.size===1||r.flags&2097152)return r;var i=Ja(r);if(i.cjsExportMerged)return i.cjsExportMerged;var o=r.flags&33554432?r:Nd(r);return o.flags=o.flags|512,o.exports===void 0&&(o.exports=e.createSymbolTable()),t.exports.forEach(function(s,c){c!==\"export=\"&&o.exports.set(c,o.exports.has(c)?_s(o.exports.get(c),s):s)}),Ja(o).cjsExportMerged=o,i.cjsExportMerged=o}function Fu(r,t,i,o){var s=ll(r,i);if(!i&&s){if(!o&&!(s.flags&1539)&&!e.getDeclarationOfKind(s,303)){var c=Ae>=e.ModuleKind.ES2015?\"allowSyntheticDefaultImports\":\"esModuleInterop\";return Mr(t,e.Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,c),s}var L=t.parent;if(e.isImportDeclaration(L)&&e.getNamespaceDeclarationNode(L)||e.isImportCall(L)){var G=e.isImportCall(L)?L.arguments[0]:L.moduleSpecifier,ce=An(s),we=MC(ce,s,r,G);if(we)return Af(s,we,L);if(e.getESModuleInterop(Xe)){var Ue=jg(ce,0);if((!Ue||!Ue.length)&&(Ue=jg(ce,1)),Ue&&Ue.length||Ii(ce,\"default\",!0)){var Je=PC(ce,s,r,G);return Af(s,Je,L)}}}}return s}function Af(r,t,i){var o=fo(r.flags,r.escapedName);o.declarations=r.declarations?r.declarations.slice():[],o.parent=r.parent,o.target=r,o.originatingImport=i,r.valueDeclaration&&(o.valueDeclaration=r.valueDeclaration),r.constEnumOnlyModule&&(o.constEnumOnlyModule=!0),r.members&&(o.members=new e.Map(r.members)),r.exports&&(o.exports=new e.Map(r.exports));var s=Sc(t);return o.type=ts(o,s.members,e.emptyArray,e.emptyArray,s.indexInfos),o}function ld(r){return r.exports.get(\"export=\")!==void 0}function cd(r){return qm(Gl(r))}function Cf(r){var t=cd(r),i=ll(r);if(i!==r){var o=An(i);Gu(o)&&e.addRange(t,Yi(o))}return t}function yc(r,t){var i=Gl(r);i.forEach(function(c,L){Nf(L)||t(c,L)});var o=ll(r);if(o!==r){var s=An(o);Gu(s)&&BE(s,function(c,L){t(c,L)})}}function ud(r,t){var i=Gl(t);if(i)return i.get(r)}function xf(r,t){var i=ud(r,t);if(i)return i;var o=ll(t);if(o!==t){var s=An(o);return Gu(s)?Ii(s,r):void 0}}function Gu(r){return!(r.flags&131068||e.getObjectFlags(r)&1||el(r)||ki(r))}function Js(r){return r.flags&6256?im(r,\"resolvedExports\"):r.flags&1536?Gl(r):r.exports||Le}function Gl(r){var t=Ja(r);return t.resolvedExports||(t.resolvedExports=fd(r))}function Kc(r,t,i,o){!t||t.forEach(function(s,c){if(c!==\"default\"){var L=r.get(c);if(!L)r.set(c,s),i&&o&&i.set(c,{specifierText:e.getTextOfNode(o.moduleSpecifier)});else if(i&&o&&L&&wo(L)!==wo(s)){var G=i.get(c);G.exportsWithDuplicate?G.exportsWithDuplicate.push(o):G.exportsWithDuplicate=[o]}}})}function fd(r){var t=[];return r=ll(r),i(r)||Le;function i(o){if(!!(o&&o.exports&&e.pushIfUnique(t,o))){var s=new e.Map(o.exports),c=o.exports.get(\"__export\");if(c){var L=e.createSymbolTable(),G=new e.Map;if(c.declarations)for(var ce=0,we=c.declarations;ce<we.length;ce++){var Ue=we[ce],Je=ws(Ue,Ue.moduleSpecifier),ar=i(Je);Kc(L,ar,G,Ue)}G.forEach(function(_r,Gr){var Zr=_r.exportsWithDuplicate;if(!(Gr===\"export=\"||!(Zr&&Zr.length)||s.has(Gr)))for(var Et=0,Tt=Zr;Et<Tt.length;Et++){var At=Tt[Et];ua.add(e.createDiagnosticForNode(At,e.Diagnostics.Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity,G.get(Gr).specifierText,e.unescapeLeadingUnderscores(Gr)))}}),Kc(s,L)}return s}}}function Ga(r){var t;return r&&r.mergeId&&(t=Ws[r.mergeId])?t:r}function wn(r){return Ga(r.symbol&&Ug(r.symbol))}function Ts(r){return Ga(r.parent&&Ug(r.parent))}function jd(r,t){var i=e.getSourceFileOfNode(t),o=N(i),s=Ja(r),c;if(s.extendedContainersByFile&&(c=s.extendedContainersByFile.get(o)))return c;if(i&&i.imports){for(var L=0,G=i.imports;L<G.length;L++){var ce=G[L];if(!e.nodeIsSynthesized(ce)){var we=ws(t,ce,!0);if(!!we){var Ue=Hd(we,r);!Ue||(c=e.append(c,we))}}}if(e.length(c))return(s.extendedContainersByFile||(s.extendedContainersByFile=new e.Map)).set(o,c),c}if(s.extendedContainers)return s.extendedContainers;for(var Je=j.getSourceFiles(),ar=0,_r=Je;ar<_r.length;ar++){var Gr=_r[ar];if(!!e.isExternalModule(Gr)){var Zr=wn(Gr),Ue=Hd(Zr,r);!Ue||(c=e.append(c,Zr))}}return s.extendedContainers=c||e.emptyArray}function rc(r,t,i){var o=Ts(r);if(o&&!(r.flags&262144)){var s=e.mapDefined(o.declarations,Ue),c=t&&jd(r,t),L=Zu(o,i);if(t&&o.flags&ac(i)&&kf(o,t,1920,!1))return e.append(e.concatenate(e.concatenate([o],s),c),L);var G=!(o.flags&ac(i))&&o.flags&788968&&po(o).flags&524288&&i===111551?qd(t,function(Je){return e.forEachEntry(Je,function(ar){if(ar.flags&ac(i)&&An(ar)===po(o))return ar})}):void 0,ce=G?Gt(Gt([G],s,!0),[o],!1):Gt(Gt([],s,!0),[o],!1);return ce=e.append(ce,L),ce=e.addRange(ce,c),ce}var we=e.mapDefined(r.declarations,function(Je){if(!e.isAmbientModule(Je)&&Je.parent&&Ec(Je.parent))return wn(Je.parent);if(e.isClassExpression(Je)&&e.isBinaryExpression(Je.parent)&&Je.parent.operatorToken.kind===63&&e.isAccessExpression(Je.parent.left)&&e.isEntityNameExpression(Je.parent.left.expression))return e.isModuleExportsAccessExpression(Je.parent.left)||e.isExportsIdentifier(Je.parent.left.expression)?wn(e.getSourceFileOfNode(Je)):(Ss(Je.parent.left.expression),Zn(Je.parent.left.expression).resolvedSymbol)});if(!e.length(we))return;return e.mapDefined(we,function(Je){return Hd(Je,r)?Je:void 0});function Ue(Je){return o&&zc(Je,o)}}function Zu(r,t){var i=!!e.length(r.declarations)&&e.first(r.declarations);if(t&111551&&i&&i.parent&&e.isVariableDeclaration(i.parent)&&(e.isObjectLiteralExpression(i)&&i===i.parent.initializer||e.isTypeLiteralNode(i)&&i===i.parent.type))return wn(i.parent)}function zc(r,t){var i=Xc(r),o=i&&i.exports&&i.exports.get(\"export=\");return o&&Ll(o,t)?i:void 0}function Hd(r,t){if(r===Ts(t))return t;var i=r.exports&&r.exports.get(\"export=\");if(i&&Ll(i,t))return r;var o=Js(r),s=o.get(t.escapedName);return s&&Ll(s,t)?s:e.forEachEntry(o,function(c){if(Ll(c,t))return c})}function Ll(r,t){if(Ga(wo(Ga(r)))===Ga(wo(Ga(t))))return r}function tc(r){return Ga(r&&(r.flags&1048576)!==0?r.exportSymbol:r)}function If(r){return!!(r.flags&111551||r.flags&2097152&&ms(r).flags&111551&&!Ln(r))}function $u(r){for(var t=r.members,i=0,o=t;i<o.length;i++){var s=o[i];if(s.kind===170&&e.nodeIsPresent(s.body))return s}}function Qs(r){var t=new Te(Yr,r);return ke++,t.id=ke,Se&&(e.tracing===null||e.tracing===void 0||e.tracing.recordType(t)),t}function Jd(r){return new Te(Yr,r)}function jo(r,t,i){i===void 0&&(i=0);var o=Qs(r);return o.intrinsicName=t,o.objectFlags=i,o}function Bl(r,t){var i=Qs(524288);return i.objectFlags=r,i.symbol=t,i.members=void 0,i.properties=void 0,i.callSignatures=void 0,i.constructSignatures=void 0,i.indexInfos=void 0,i}function Kd(){return ma(e.arrayFrom(z.keys(),Lc))}function nc(r){var t=Qs(262144);return r&&(t.symbol=r),t}function Nf(r){return r.charCodeAt(0)===95&&r.charCodeAt(1)===95&&r.charCodeAt(2)!==95&&r.charCodeAt(2)!==64&&r.charCodeAt(2)!==35}function Bu(r){var t;return r.forEach(function(i,o){dd(i,o)&&(t||(t=[])).push(i)}),t||e.emptyArray}function dd(r,t){return!Nf(t)&&If(r)}function zd(r){var t=Bu(r),i=YE(r);return i?e.concatenate(t,[i]):t}function Al(r,t,i,o,s){var c=r;return c.members=t,c.properties=e.emptyArray,c.callSignatures=i,c.constructSignatures=o,c.indexInfos=s,t!==Le&&(c.properties=Bu(t)),c}function ts(r,t,i,o,s){return Al(Bl(16,r),t,i,o,s)}function du(r){if(r.constructSignatures.length===0)return r;if(r.objectTypeWithoutAbstractConstructSignatures)return r.objectTypeWithoutAbstractConstructSignatures;var t=e.filter(r.constructSignatures,function(o){return!(o.flags&4)});if(r.constructSignatures===t)return r;var i=ts(r.symbol,r.members,r.callSignatures,e.some(t)?t:e.emptyArray,r.indexInfos);return r.objectTypeWithoutAbstractConstructSignatures=i,i.objectTypeWithoutAbstractConstructSignatures=i,i}function qd(r,t){for(var i,o=function(L){if(L.locals&&!Oc(L)&&(i=t(L.locals,void 0,!0,L)))return{value:i};switch(L.kind){case 303:if(!e.isExternalOrCommonJsModule(L))break;case 260:var G=wn(L);if(i=t((G==null?void 0:G.exports)||Le,void 0,!0,L))return{value:i};break;case 256:case 225:case 257:var ce;if((wn(L).members||Le).forEach(function(we,Ue){we.flags&788968&&(ce||(ce=e.createSymbolTable())).set(Ue,we)}),ce&&(i=t(ce,void 0,!1,L)))return{value:i};break}},s=r;s;s=s.parent){var c=o(s);if(typeof c==\"object\")return c.value}return t(Pr,void 0,!0)}function ac(r){return r===111551?111551:1920}function kf(r,t,i,o,s){if(s===void 0&&(s=new e.Map),!(r&&!Xd(r)))return;var c=Ja(r),L=c.accessibleChainCache||(c.accessibleChainCache=new e.Map),G=qd(t,function(Tt,At,Vt,Nn){return Nn}),ce=\"\".concat(o?0:1,\"|\").concat(G&&N(G),\"|\").concat(i);if(L.has(ce))return L.get(ce);var we=y(r),Ue=s.get(we);Ue||s.set(we,Ue=[]);var Je=qd(t,ar);return L.set(ce,Je),Je;function ar(Tt,At,Vt){if(!!e.pushIfUnique(Ue,Tt)){var Nn=Zr(Tt,At,Vt);return Ue.pop(),Nn}}function _r(Tt,At){return!Uu(Tt,t,At)||!!kf(Tt.parent,t,ac(At),o,s)}function Gr(Tt,At,Vt){return(r===(At||Tt)||Ga(r)===Ga(At||Tt))&&!e.some(Tt.declarations,Ec)&&(Vt||_r(Ga(Tt),i))}function Zr(Tt,At,Vt){if(Gr(Tt.get(r.escapedName),void 0,At))return[r];var Nn=e.forEachEntry(Tt,function(on){if(on.flags&2097152&&on.escapedName!==\"export=\"&&on.escapedName!==\"default\"&&!(e.isUMDExportSymbol(on)&&t&&e.isExternalModule(e.getSourceFileOfNode(t)))&&(!o||e.some(on.declarations,e.isExternalModuleImportEqualsDeclaration))&&(Vt?!e.some(on.declarations,e.isNamespaceReexportDeclaration):!0)&&(At||!e.getDeclarationOfKind(on,274))){var ca=ms(on),la=Et(on,ca,At);if(la)return la}if(on.escapedName===r.escapedName&&on.exportSymbol&&Gr(Ga(on.exportSymbol),void 0,At))return[r]});return Nn||(Tt===Pr?Et(pr,pr,At):void 0)}function Et(Tt,At,Vt){if(Gr(Tt,At,Vt))return[Tt];var Nn=Js(At),on=Nn&&ar(Nn,!0);if(on&&_r(Tt,ac(i)))return[Tt].concat(on)}}function Uu(r,t,i){var o=!1;return qd(t,function(s){var c=Ga(s.get(r.escapedName));return c?c===r?!0:(c=c.flags&2097152&&!e.getDeclarationOfKind(c,274)?ms(c):c,c.flags&i?(o=!0,!0):!1):!1}),o}function Xd(r){if(r.declarations&&r.declarations.length){for(var t=0,i=r.declarations;t<i.length;t++){var o=i[t];switch(o.kind){case 166:case 168:case 171:case 172:continue;default:return!1}}return!0}return!1}function ef(r,t){var i=Vu(r,t,788968,!1,!0);return i.accessibility===0}function Of(r,t){var i=Vu(r,t,111551,!1,!0);return i.accessibility===0}function bc(r,t,i){var o=Vu(r,t,i,!1,!1);return o.accessibility===0}function qc(r,t,i,o,s,c){if(!!e.length(r)){for(var L,G=!1,ce=0,we=r;ce<we.length;ce++){var Ue=we[ce],Je=kf(Ue,t,o,!1);if(Je){L=Ue;var ar=Wu(Je[0],s);if(ar)return ar}if(c&&e.some(Ue.declarations,Ec)){if(s){G=!0;continue}return{accessibility:0}}var _r=rc(Ue,t,o),Gr=qc(_r,t,i,i===Ue?ac(o):o,s,c);if(Gr)return Gr}if(G)return{accessibility:0};if(L)return{accessibility:1,errorSymbolName:Wa(i,t,o),errorModuleName:L!==i?Wa(L,t,1920):void 0}}}function rf(r,t,i,o){return Vu(r,t,i,o,!0)}function Vu(r,t,i,o,s){if(r&&t){var c=qc([r],t,r,i,o,s);if(c)return c;var L=e.forEach(r.declarations,Xc);if(L){var G=Xc(t);if(L!==G)return{accessibility:2,errorSymbolName:Wa(r,t,i),errorModuleName:Wa(L),errorNode:e.isInJSFile(t)?t:void 0}}return{accessibility:1,errorSymbolName:Wa(r,t,i)}}return{accessibility:0}}function Xc(r){var t=e.findAncestor(r,Yd);return t&&wn(t)}function Yd(r){return e.isAmbientModule(r)||r.kind===303&&e.isExternalOrCommonJsModule(r)}function Ec(r){return e.isModuleWithStringLiteralName(r)||r.kind===303&&e.isExternalOrCommonJsModule(r)}function Wu(r,t){var i;if(!e.every(e.filter(r.declarations,function(c){return c.kind!==79}),o))return;return{accessibility:0,aliasesToMakeVisible:i};function o(c){var L,G;if(!Qc(c)){var ce=mc(c);return ce&&!e.hasSyntacticModifier(ce,1)&&Qc(ce.parent)?s(c,ce):e.isVariableDeclaration(c)&&e.isVariableStatement(c.parent.parent)&&!e.hasSyntacticModifier(c.parent.parent,1)&&Qc(c.parent.parent.parent)?s(c,c.parent.parent):e.isLateVisibilityPaintedStatement(c)&&!e.hasSyntacticModifier(c,1)&&Qc(c.parent)?s(c,c):r.flags&2097152&&e.isBindingElement(c)&&e.isInJSFile(c)&&((L=c.parent)===null||L===void 0?void 0:L.parent)&&e.isVariableDeclaration(c.parent.parent)&&((G=c.parent.parent.parent)===null||G===void 0?void 0:G.parent)&&e.isVariableStatement(c.parent.parent.parent.parent)&&!e.hasSyntacticModifier(c.parent.parent.parent.parent,1)&&c.parent.parent.parent.parent.parent&&Qc(c.parent.parent.parent.parent.parent)?s(c,c.parent.parent.parent.parent):!1}return!0}function s(c,L){return t&&(Zn(c).isVisible=!0,i=e.appendIfUnique(i,L)),!0}}function r_(r,t){var i;r.parent.kind===180||e.isExpressionWithTypeArgumentsInClassExtendsClause(r.parent)||r.parent.kind===161?i=1160127:r.kind===160||r.kind===205||r.parent.kind===264?i=1920:i=788968;var o=e.getFirstIdentifier(r),s=Uo(t,o.escapedText,i,void 0,void 0,!1);return s&&s.flags&262144&&i&788968?{accessibility:0}:s&&Wu(s,!0)||{accessibility:1,errorSymbolName:e.getTextOfNode(o),errorNode:o}}function Wa(r,t,i,o,s){o===void 0&&(o=4);var c=70221824;o&2&&(c|=128),o&1&&(c|=512),o&8&&(c|=16384),o&16&&(c|=134217728);var L=o&4?Sr.symbolToExpression:Sr.symbolToEntityName;return s?G(s).getText():e.usingSingleLineStringWriter(G);function G(ce){var we=L(r,i,t,c),Ue=(t==null?void 0:t.kind)===303?e.createPrinter({removeComments:!0,neverAsciiEscape:!0}):e.createPrinter({removeComments:!0}),Je=t&&e.getSourceFileOfNode(t);return Ue.writeNode(4,we,Je,ce),ce}}function pu(r,t,i,o,s){return i===void 0&&(i=0),s?c(s).getText():e.usingSingleLineStringWriter(c);function c(L){var G;i&262144?G=o===1?179:178:G=o===1?174:173;var ce=Sr.signatureToSignatureDeclaration(r,G,t,Pc(i)|70221824|512),we=e.createPrinter({removeComments:!0,omitTrailingSemicolon:!0}),Ue=t&&e.getSourceFileOfNode(t);return we.writeNode(4,ce,Ue,e.getTrailingSemicolonDeferringWriter(L)),L}}function gn(r,t,i,o){i===void 0&&(i=1064960),o===void 0&&(o=e.createTextWriter(\"\"));var s=Xe.noErrorTruncation||i&1,c=Sr.typeToTypeNode(r,t,Pc(i)|70221824|(s?1:0),o);if(c===void 0)return e.Debug.fail(\"should always get typenode\");var L={removeComments:r!==et},G=e.createPrinter(L),ce=t&&e.getSourceFileOfNode(t);G.writeNode(4,c,ce,o);var we=o.getText(),Ue=s?e.noTruncationMaximumTruncationLength*2:e.defaultMaximumTruncationLength*2;return Ue&&we&&we.length>=Ue?we.substr(0,Ue-3)+\"...\":we}function Rf(r,t){var i=Zd(r.symbol)?gn(r,r.symbol.valueDeclaration):gn(r),o=Zd(t.symbol)?gn(t,t.symbol.valueDeclaration):gn(t);return i===o&&(i=Qd(r),o=Qd(t)),[i,o]}function Qd(r){return gn(r,void 0,64)}function Zd(r){return r&&!!r.valueDeclaration&&e.isExpression(r.valueDeclaration)&&!nu(r.valueDeclaration)}function Pc(r){return r===void 0&&(r=0),r&814775659}function $d(r){return!!r.symbol&&!!(r.symbol.flags&32)&&(r===Hn(r.symbol)||!!(r.flags&524288)&&!!(e.getObjectFlags(r)&16777216))}function k_(){return{typeToTypeNode:function(Wr,Tr,hn,nn){return r(Tr,hn,nn,function(Vn){return o(Wr,Vn)})},indexInfoToIndexSignatureDeclaration:function(Wr,Tr,hn,nn){return r(Tr,hn,nn,function(Vn){return we(Wr,Vn,void 0)})},signatureToSignatureDeclaration:function(Wr,Tr,hn,nn,Vn){return r(hn,nn,Vn,function(En){return Ue(Wr,Tr,En)})},symbolToEntityName:function(Wr,Tr,hn,nn,Vn){return r(hn,nn,Vn,function(En){return Aa(Wr,En,Tr,!1)})},symbolToExpression:function(Wr,Tr,hn,nn,Vn){return r(hn,nn,Vn,function(En){return Li(Wr,En,Tr)})},symbolToTypeParameterDeclarations:function(Wr,Tr,hn,nn){return r(Tr,hn,nn,function(Vn){return Tt(Wr,Vn)})},symbolToParameterDeclaration:function(Wr,Tr,hn,nn){return r(Tr,hn,nn,function(Vn){return _r(Wr,Vn)})},typeParameterToDeclaration:function(Wr,Tr,hn,nn){return r(Tr,hn,nn,function(Vn){return ar(Wr,Vn)})},symbolTableToDeclarationStatements:function(Wr,Tr,hn,nn,Vn){return r(Tr,hn,nn,function(En){return Fi(Wr,En,Vn)})}};function r(Wr,Tr,hn,nn){var Vn,En;e.Debug.assert(Wr===void 0||(Wr.flags&8)===0);var Fn={enclosingDeclaration:Wr,flags:Tr||0,tracker:hn&&hn.trackSymbol?hn:{trackSymbol:function(){return!1},moduleResolverHost:Tr&134217728?{getCommonSourceDirectory:j.getCommonSourceDirectory?function(){return j.getCommonSourceDirectory()}:function(){return\"\"},getCurrentDirectory:function(){return j.getCurrentDirectory()},getSymlinkCache:e.maybeBind(j,j.getSymlinkCache),useCaseSensitiveFileNames:e.maybeBind(j,j.useCaseSensitiveFileNames),redirectTargetsMap:j.redirectTargetsMap,getProjectReferenceRedirect:function(it){return j.getProjectReferenceRedirect(it)},isSourceOfProjectReferenceRedirect:function(it){return j.isSourceOfProjectReferenceRedirect(it)},fileExists:function(it){return j.fileExists(it)},getFileIncludeReasons:function(){return j.getFileIncludeReasons()},readFile:j.readFile?function(it){return j.readFile(it)}:void 0}:void 0},encounteredError:!1,reportedDiagnostic:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0};Fn.tracker=t(Fn,Fn.tracker);var Xr=nn(Fn);return Fn.truncating&&Fn.flags&1&&((En=(Vn=Fn.tracker)===null||Vn===void 0?void 0:Vn.reportTruncationError)===null||En===void 0||En.call(Vn)),Fn.encounteredError?void 0:Xr}function t(Wr,Tr){var hn=Tr.trackSymbol;return Rn(Rn({},Tr),{reportCyclicStructureError:nn(Tr.reportCyclicStructureError),reportInaccessibleThisError:nn(Tr.reportInaccessibleThisError),reportInaccessibleUniqueSymbolError:nn(Tr.reportInaccessibleUniqueSymbolError),reportLikelyUnsafeImportRequiredError:nn(Tr.reportLikelyUnsafeImportRequiredError),reportNonlocalAugmentation:nn(Tr.reportNonlocalAugmentation),reportPrivateInBaseOfClassExpression:nn(Tr.reportPrivateInBaseOfClassExpression),reportNonSerializableProperty:nn(Tr.reportNonSerializableProperty),trackSymbol:hn&&function(){for(var Vn=[],En=0;En<arguments.length;En++)Vn[En]=arguments[En];var Fn=hn.apply(void 0,Vn);return Fn&&(Wr.reportedDiagnostic=!0),Fn}});function nn(Vn){return Vn&&function(){for(var En=[],Fn=0;Fn<arguments.length;Fn++)En[Fn]=arguments[Fn];return Wr.reportedDiagnostic=!0,Vn.apply(void 0,En)}}}function i(Wr){return Wr.truncating?Wr.truncating:Wr.truncating=Wr.approximateLength>(Wr.flags&1?e.noTruncationMaximumTruncationLength:e.defaultMaximumTruncationLength)}function o(Wr,Tr){R&&R.throwIfCancellationRequested&&R.throwIfCancellationRequested();var hn=Tr.flags&8388608;if(Tr.flags&=-8388609,!Wr){if(!(Tr.flags&262144)){Tr.encounteredError=!0;return}return Tr.approximateLength+=3,e.factory.createKeywordTypeNode(130)}if(Tr.flags&536870912||(Wr=Eo(Wr)),Wr.flags&1)return Wr.aliasSymbol?e.factory.createTypeReferenceNode(on(Wr.aliasSymbol),G(Wr.aliasTypeArguments,Tr)):Wr===et?e.addSyntheticLeadingComment(e.factory.createKeywordTypeNode(130),3,\"unresolved\"):(Tr.approximateLength+=3,e.factory.createKeywordTypeNode(Wr===Vr?138:130));if(Wr.flags&2)return e.factory.createKeywordTypeNode(154);if(Wr.flags&4)return Tr.approximateLength+=6,e.factory.createKeywordTypeNode(149);if(Wr.flags&8)return Tr.approximateLength+=6,e.factory.createKeywordTypeNode(146);if(Wr.flags&64)return Tr.approximateLength+=6,e.factory.createKeywordTypeNode(157);if(Wr.flags&16&&!Wr.aliasSymbol)return Tr.approximateLength+=7,e.factory.createKeywordTypeNode(133);if(Wr.flags&1024&&!(Wr.flags&1048576)){var nn=Ts(Wr.symbol),Vn=ca(nn,Tr,788968);if(po(nn)===Wr)return Vn;var En=e.symbolName(Wr.symbol);return e.isIdentifierText(En,0)?Ad(Vn,e.factory.createTypeReferenceNode(En,void 0)):e.isImportTypeNode(Vn)?(Vn.isTypeOf=!0,e.factory.createIndexedAccessTypeNode(Vn,e.factory.createLiteralTypeNode(e.factory.createStringLiteral(En)))):e.isTypeReferenceNode(Vn)?e.factory.createIndexedAccessTypeNode(e.factory.createTypeQueryNode(Vn.typeName),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(En))):e.Debug.fail(\"Unhandled type node kind returned from `symbolToTypeNode`.\")}if(Wr.flags&1056)return ca(Wr.symbol,Tr,788968);if(Wr.flags&128)return Tr.approximateLength+=Wr.value.length+2,e.factory.createLiteralTypeNode(e.setEmitFlags(e.factory.createStringLiteral(Wr.value,!!(Tr.flags&268435456)),16777216));if(Wr.flags&256){var Fn=Wr.value;return Tr.approximateLength+=(\"\"+Fn).length,e.factory.createLiteralTypeNode(Fn<0?e.factory.createPrefixUnaryExpression(40,e.factory.createNumericLiteral(-Fn)):e.factory.createNumericLiteral(Fn))}if(Wr.flags&2048)return Tr.approximateLength+=e.pseudoBigIntToString(Wr.value).length+1,e.factory.createLiteralTypeNode(e.factory.createBigIntLiteral(Wr.value));if(Wr.flags&512)return Tr.approximateLength+=Wr.intrinsicName.length,e.factory.createLiteralTypeNode(Wr.intrinsicName===\"true\"?e.factory.createTrue():e.factory.createFalse());if(Wr.flags&8192){if(!(Tr.flags&1048576)){if(Of(Wr.symbol,Tr.enclosingDeclaration))return Tr.approximateLength+=6,ca(Wr.symbol,Tr,111551);Tr.tracker.reportInaccessibleUniqueSymbolError&&Tr.tracker.reportInaccessibleUniqueSymbolError()}return Tr.approximateLength+=13,e.factory.createTypeOperatorNode(153,e.factory.createKeywordTypeNode(150))}if(Wr.flags&16384)return Tr.approximateLength+=4,e.factory.createKeywordTypeNode(114);if(Wr.flags&32768)return Tr.approximateLength+=9,e.factory.createKeywordTypeNode(152);if(Wr.flags&65536)return Tr.approximateLength+=4,e.factory.createLiteralTypeNode(e.factory.createNull());if(Wr.flags&131072)return Tr.approximateLength+=5,e.factory.createKeywordTypeNode(143);if(Wr.flags&4096)return Tr.approximateLength+=6,e.factory.createKeywordTypeNode(150);if(Wr.flags&67108864)return Tr.approximateLength+=6,e.factory.createKeywordTypeNode(147);if(oh(Wr))return Tr.flags&4194304&&(!Tr.encounteredError&&!(Tr.flags&32768)&&(Tr.encounteredError=!0),Tr.tracker.reportInaccessibleThisError&&Tr.tracker.reportInaccessibleThisError()),Tr.approximateLength+=4,e.factory.createThisTypeNode();if(!hn&&Wr.aliasSymbol&&(Tr.flags&16384||ef(Wr.aliasSymbol,Tr.enclosingDeclaration))){var Xr=G(Wr.aliasTypeArguments,Tr);return Nf(Wr.aliasSymbol.escapedName)&&!(Wr.aliasSymbol.flags&32)?e.factory.createTypeReferenceNode(e.factory.createIdentifier(\"\"),Xr):ca(Wr.aliasSymbol,Tr,788968,Xr)}var it=e.getObjectFlags(Wr);if(it&4)return e.Debug.assert(!!(Wr.flags&524288)),Wr.node?bs(Wr,Ls):Ls(Wr);if(Wr.flags&262144||it&3){if(Wr.flags&262144&&e.contains(Tr.inferTypeParameters,Wr))return Tr.approximateLength+=e.symbolName(Wr.symbol).length+6,e.factory.createInferTypeNode(Je(Wr,Tr,void 0));if(Tr.flags&4&&Wr.flags&262144&&!ef(Wr.symbol,Tr.enclosingDeclaration)){var Pt=di(Wr,Tr);return Tr.approximateLength+=e.idText(Pt).length,e.factory.createTypeReferenceNode(e.factory.createIdentifier(e.idText(Pt)),void 0)}return Wr.symbol?ca(Wr.symbol,Tr,788968):e.factory.createTypeReferenceNode(e.factory.createIdentifier(\"?\"),void 0)}if(Wr.flags&1048576&&Wr.origin&&(Wr=Wr.origin),Wr.flags&3145728){var Bt=Wr.flags&1048576?Lp(Wr.types):Wr.types;if(e.length(Bt)===1)return o(Bt[0],Tr);var Yt=G(Bt,Tr,!0);if(Yt&&Yt.length>0)return Wr.flags&1048576?e.factory.createUnionTypeNode(Yt):e.factory.createIntersectionTypeNode(Yt);!Tr.encounteredError&&!(Tr.flags&262144)&&(Tr.encounteredError=!0);return}if(it&48)return e.Debug.assert(!!(Wr.flags&524288)),Xs(Wr);if(Wr.flags&4194304){var mn=Wr.type;Tr.approximateLength+=6;var ya=o(mn,Tr);return e.factory.createTypeOperatorNode(140,ya)}if(Wr.flags&134217728){var _a=Wr.texts,qa=Wr.types,Vi=e.factory.createTemplateHead(_a[0]),Qa=e.factory.createNodeArray(e.map(qa,function(Pa,Ri){return e.factory.createTemplateLiteralTypeSpan(o(Pa,Tr),(Ri<qa.length-1?e.factory.createTemplateMiddle:e.factory.createTemplateTail)(_a[Ri+1]))}));return Tr.approximateLength+=2,e.factory.createTemplateLiteralType(Vi,Qa)}if(Wr.flags&268435456){var ho=o(Wr.type,Tr);return ca(Wr.symbol,Tr,788968,[ho])}if(Wr.flags&8388608){var Vo=o(Wr.objectType,Tr),ya=o(Wr.indexType,Tr);return Tr.approximateLength+=2,e.factory.createIndexedAccessTypeNode(Vo,ya)}if(Wr.flags&16777216)return bs(Wr,function(Pa){return ao(Pa)});if(Wr.flags&33554432)return o(Wr.baseType,Tr);return e.Debug.fail(\"Should be unreachable.\");function ao(Pa){var Ri=o(Pa.checkType,Tr),qo=Tr.inferTypeParameters;Tr.inferTypeParameters=Pa.root.inferTypeParameters;var uo=o(Pa.extendsType,Tr);Tr.inferTypeParameters=qo;var Bs=Ds(up(Pa)),Kr=Ds(fp(Pa));return Tr.approximateLength+=15,e.factory.createConditionalTypeNode(Ri,uo,Bs,Kr)}function Ds(Pa){var Ri,qo,uo;return Pa.flags&1048576?!((Ri=Tr.visitedTypes)===null||Ri===void 0)&&Ri.has(Bc(Pa))?(Tr.flags&131072||(Tr.encounteredError=!0,(uo=(qo=Tr.tracker)===null||qo===void 0?void 0:qo.reportCyclicStructureError)===null||uo===void 0||uo.call(qo)),s(Tr)):bs(Pa,function(Bs){return o(Bs,Tr)}):o(Pa,Tr)}function ss(Pa){e.Debug.assert(!!(Pa.flags&524288));var Ri=Pa.declaration.readonlyToken?e.factory.createToken(Pa.declaration.readonlyToken.kind):void 0,qo=Pa.declaration.questionToken?e.factory.createToken(Pa.declaration.questionToken.kind):void 0,uo;Wm(Pa)?uo=e.factory.createTypeOperatorNode(140,o(jm(Pa),Tr)):uo=o(Tc(Pa),Tr);var Bs=Je(eu(Pa),Tr,uo),Kr=Pa.declaration.nameType?o(of(Pa),Tr):void 0,st=o(gm(yu(Pa),!!(ru(Pa)&4)),Tr),kt=e.factory.createMappedTypeNode(Ri,Bs,Kr,qo,st,void 0);return Tr.approximateLength+=10,e.setEmitFlags(kt,1)}function Xs(Pa){var Ri,qo=Pa.id,uo=Pa.symbol;if(uo){var Bs=$d(Pa)?788968:111551;if(ou(uo.valueDeclaration))return ca(uo,Tr,Bs);if(uo.flags&32&&!si(uo)&&!(uo.valueDeclaration&&uo.valueDeclaration.kind===225&&Tr.flags&2048)||uo.flags&896||st())return ca(uo,Tr,Bs);if(!((Ri=Tr.visitedTypes)===null||Ri===void 0)&&Ri.has(qo)){var Kr=Ap(Pa);return Kr?ca(Kr,Tr,788968):s(Tr)}else return bs(Pa,Yf)}else return Yf(Pa);function st(){var kt,$t=!!(uo.flags&8192)&&e.some(uo.declarations,function(Gn){return e.isStatic(Gn)}),ea=!!(uo.flags&16)&&(uo.parent||e.forEach(uo.declarations,function(Gn){return Gn.parent.kind===303||Gn.parent.kind===261}));if($t||ea)return(!!(Tr.flags&4096)||((kt=Tr.visitedTypes)===null||kt===void 0?void 0:kt.has(qo)))&&(!(Tr.flags&8)||Of(uo,Tr.enclosingDeclaration))}}function bs(Pa,Ri){var qo,uo,Bs=Pa.id,Kr=e.getObjectFlags(Pa)&16&&Pa.symbol&&Pa.symbol.flags&32,st=e.getObjectFlags(Pa)&4&&Pa.node?\"N\"+N(Pa.node):Pa.flags&16777216?\"N\"+N(Pa.root.node):Pa.symbol?(Kr?\"+\":\"\")+y(Pa.symbol):void 0;Tr.visitedTypes||(Tr.visitedTypes=new e.Set),st&&!Tr.symbolDepth&&(Tr.symbolDepth=new e.Map);var kt=Tr.enclosingDeclaration&&Zn(Tr.enclosingDeclaration),$t=\"\".concat(Bc(Pa),\"|\").concat(Tr.flags);kt&&(kt.serializedTypes||(kt.serializedTypes=new e.Map));var ea=(qo=kt==null?void 0:kt.serializedTypes)===null||qo===void 0?void 0:qo.get($t);if(ea)return ea.truncating&&(Tr.truncating=!0),Tr.approximateLength+=ea.addedLength,vi(ea);var Gn;if(st){if(Gn=Tr.symbolDepth.get(st)||0,Gn>10)return s(Tr);Tr.symbolDepth.set(st,Gn+1)}Tr.visitedTypes.add(Bs);var Tn=Tr.approximateLength,zt=Ri(Pa),ni=Tr.approximateLength-Tn;return!Tr.reportedDiagnostic&&!Tr.encounteredError&&(Tr.truncating&&(zt.truncating=!0),zt.addedLength=ni,(uo=kt==null?void 0:kt.serializedTypes)===null||uo===void 0||uo.set($t,zt)),Tr.visitedTypes.delete(Bs),st&&Tr.symbolDepth.set(st,Gn),zt;function vi(ai){return!e.nodeIsSynthesized(ai)&&e.getParseTreeNode(ai)===ai?ai:e.setTextRange(e.factory.cloneNode(e.visitEachChild(ai,vi,e.nullTransformationContext)),ai)}}function Yf(Pa){if(El(Pa)||Pa.containsError)return ss(Pa);var Ri=Sc(Pa);if(!Ri.properties.length&&!Ri.indexInfos.length){if(!Ri.callSignatures.length&&!Ri.constructSignatures.length)return Tr.approximateLength+=2,e.setEmitFlags(e.factory.createTypeLiteralNode(void 0),1);if(Ri.callSignatures.length===1&&!Ri.constructSignatures.length){var qo=Ri.callSignatures[0],uo=Ue(qo,178,Tr);return uo}if(Ri.constructSignatures.length===1&&!Ri.callSignatures.length){var qo=Ri.constructSignatures[0],uo=Ue(qo,179,Tr);return uo}}var Bs=e.filter(Ri.constructSignatures,function(Gn){return!!(Gn.flags&4)});if(e.some(Bs)){var Kr=e.map(Bs,Ym),st=Ri.callSignatures.length+(Ri.constructSignatures.length-Bs.length)+Ri.indexInfos.length+(Tr.flags&2048?e.countWhere(Ri.properties,function(Gn){return!(Gn.flags&4194304)}):e.length(Ri.properties));return st&&Kr.push(du(Ri)),o(To(Kr),Tr)}var kt=Tr.flags;Tr.flags|=4194304;var $t=Cv(Ri);Tr.flags=kt;var ea=e.factory.createTypeLiteralNode($t);return Tr.approximateLength+=2,e.setEmitFlags(ea,Tr.flags&1024?0:1),ea}function Ls(Pa){var Ri=vo(Pa);if(Pa.target===se||Pa.target===Be){if(Tr.flags&2){var qo=o(Ri[0],Tr);return e.factory.createTypeReferenceNode(Pa.target===se?\"Array\":\"ReadonlyArray\",[qo])}var uo=o(Ri[0],Tr),Bs=e.factory.createArrayTypeNode(uo);return Pa.target===se?Bs:e.factory.createTypeOperatorNode(144,Bs)}else if(Pa.target.objectFlags&8){if(Ri=e.sameMap(Ri,function(eo,Ko){return gm(eo,!!(Pa.target.elementFlags[Ko]&2))}),Ri.length>0){var Kr=op(Pa),st=G(Ri.slice(0,Kr),Tr);if(st){if(Pa.target.labeledElementDeclarations)for(var kt=0;kt<st.length;kt++){var $t=Pa.target.elementFlags[kt];st[kt]=e.factory.createNamedTupleMember($t&12?e.factory.createToken(25):void 0,e.factory.createIdentifier(e.unescapeLeadingUnderscores(Db(Pa.target.labeledElementDeclarations[kt]))),$t&2?e.factory.createToken(57):void 0,$t&4?e.factory.createArrayTypeNode(st[kt]):st[kt])}else for(var kt=0;kt<Math.min(Kr,st.length);kt++){var $t=Pa.target.elementFlags[kt];st[kt]=$t&12?e.factory.createRestTypeNode($t&4?e.factory.createArrayTypeNode(st[kt]):st[kt]):$t&2?e.factory.createOptionalTypeNode(st[kt]):st[kt]}var ea=e.setEmitFlags(e.factory.createTupleTypeNode(st),1);return Pa.target.readonly?e.factory.createTypeOperatorNode(144,ea):ea}}if(Tr.encounteredError||Tr.flags&524288){var ea=e.setEmitFlags(e.factory.createTupleTypeNode([]),1);return Pa.target.readonly?e.factory.createTypeOperatorNode(144,ea):ea}Tr.encounteredError=!0;return}else{if(Tr.flags&2048&&Pa.symbol.valueDeclaration&&e.isClassLike(Pa.symbol.valueDeclaration)&&!Of(Pa.symbol,Tr.enclosingDeclaration))return Xs(Pa);var Gn=Pa.target.outerTypeParameters,kt=0,Tn=void 0;if(Gn)for(var zt=Gn.length;kt<zt;){var ni=kt,vi=gD(Gn[kt]);do kt++;while(kt<zt&&gD(Gn[kt])===vi);if(!e.rangeEquals(Gn,Ri,ni,kt)){var ai=G(Ri.slice(ni,kt),Tr),so=Tr.flags;Tr.flags|=16;var Ui=ca(vi,Tr,788968,ai);Tr.flags=so,Tn=Tn?Ad(Tn,Ui):Ui}}var ps=void 0;if(Ri.length>0){var ls=(Pa.target.typeParameters||e.emptyArray).length;ps=G(Ri.slice(kt,ls),Tr)}var $t=Tr.flags;Tr.flags|=16;var Xo=ca(Pa.symbol,Tr,788968,ps);return Tr.flags=$t,Tn?Ad(Tn,Xo):Xo}}function Ad(Pa,Ri){if(e.isImportTypeNode(Pa)){var qo=Pa.typeArguments,uo=Pa.qualifier;uo&&(e.isIdentifier(uo)?uo=e.factory.updateIdentifier(uo,qo):uo=e.factory.updateQualifiedName(uo,uo.left,e.factory.updateIdentifier(uo.right,qo))),qo=Ri.typeArguments;for(var Bs=Av(Ri),Kr=0,st=Bs;Kr<st.length;Kr++){var kt=st[Kr];uo=uo?e.factory.createQualifiedName(uo,kt):kt}return e.factory.updateImportTypeNode(Pa,Pa.argument,uo,qo,Pa.isTypeOf)}else{var qo=Pa.typeArguments,$t=Pa.typeName;e.isIdentifier($t)?$t=e.factory.updateIdentifier($t,qo):$t=e.factory.updateQualifiedName($t,$t.left,e.factory.updateIdentifier($t.right,qo)),qo=Ri.typeArguments;for(var Bs=Av(Ri),ea=0,Gn=Bs;ea<Gn.length;ea++){var kt=Gn[ea];$t=e.factory.createQualifiedName($t,kt)}return e.factory.updateTypeReferenceNode(Pa,$t,qo)}}function Av(Pa){for(var Ri=Pa.typeName,qo=[];!e.isIdentifier(Ri);)qo.unshift(Ri.right),Ri=Ri.left;return qo.unshift(Ri),qo}function Cv(Pa){if(i(Tr))return[e.factory.createPropertySignature(void 0,\"...\",void 0,void 0)];for(var Ri=[],qo=0,uo=Pa.callSignatures;qo<uo.length;qo++){var Bs=uo[qo];Ri.push(Ue(Bs,173,Tr))}for(var Kr=0,st=Pa.constructSignatures;Kr<st.length;Kr++){var Bs=st[Kr];Bs.flags&4||Ri.push(Ue(Bs,174,Tr))}for(var kt=0,$t=Pa.indexInfos;kt<$t.length;kt++){var ea=$t[kt];Ri.push(we(ea,Tr,Pa.objectFlags&1024?s(Tr):void 0))}var Gn=Pa.properties;if(!Gn)return Ri;for(var Tn=0,zt=0,ni=Gn;zt<ni.length;zt++){var vi=ni[zt];if(Tn++,Tr.flags&2048){if(vi.flags&4194304)continue;e.getDeclarationModifierFlagsFromSymbol(vi)&24&&Tr.tracker.reportPrivateInBaseOfClassExpression&&Tr.tracker.reportPrivateInBaseOfClassExpression(e.unescapeLeadingUnderscores(vi.escapedName))}if(i(Tr)&&Tn+2<Gn.length-1){Ri.push(e.factory.createPropertySignature(void 0,\"... \".concat(Gn.length-Tn,\" more ...\"),void 0,void 0)),L(Gn[Gn.length-1],Tr,Ri);break}L(vi,Tr,Ri)}return Ri.length?Ri:void 0}}function s(Wr){return Wr.approximateLength+=3,Wr.flags&1?e.factory.createKeywordTypeNode(130):e.factory.createTypeReferenceNode(e.factory.createIdentifier(\"...\"),void 0)}function c(Wr,Tr){var hn;return!!(e.getCheckFlags(Wr)&8192)&&(e.contains(Tr.reverseMappedStack,Wr)||((hn=Tr.reverseMappedStack)===null||hn===void 0?void 0:hn[0])&&!(e.getObjectFlags(e.last(Tr.reverseMappedStack).propertyType)&16))}function L(Wr,Tr,hn){var nn,Vn,En=!!(e.getCheckFlags(Wr)&8192),Fn=c(Wr,Tr)?Ze:Gf(Wr),Xr=Tr.enclosingDeclaration;if(Tr.enclosingDeclaration=void 0,Tr.tracker.trackSymbol&&e.getCheckFlags(Wr)&4096&&Ip(Wr.escapedName))if(Wr.declarations){var it=e.first(Wr.declarations);if(R_(it))if(e.isBinaryExpression(it)){var Pt=e.getNameOfDeclaration(it);Pt&&e.isElementAccessExpression(Pt)&&e.isPropertyAccessEntityNameExpression(Pt.argumentExpression)&&Gr(Pt.argumentExpression,Xr,Tr)}else Gr(it.name.expression,Xr,Tr)}else!((nn=Tr.tracker)===null||nn===void 0)&&nn.reportNonSerializableProperty&&Tr.tracker.reportNonSerializableProperty(Wa(Wr));Tr.enclosingDeclaration=Wr.valueDeclaration||((Vn=Wr.declarations)===null||Vn===void 0?void 0:Vn[0])||Xr;var Bt=xo(Wr,Tr);Tr.enclosingDeclaration=Xr,Tr.approximateLength+=e.symbolName(Wr).length+1;var Yt=Wr.flags&16777216?e.factory.createToken(57):void 0;if(Wr.flags&8208&&!sf(Fn).length&&!Iu(Wr))for(var mn=Ni(rl(Fn,function(Ds){return!(Ds.flags&32768)}),0),ya=0,_a=mn;ya<_a.length;ya++){var qa=_a[ya],Vi=Ue(qa,167,Tr,{name:Bt,questionToken:Yt});hn.push(ao(Vi))}else{var Qa=void 0;c(Wr,Tr)?Qa=s(Tr):(En&&(Tr.reverseMappedStack||(Tr.reverseMappedStack=[]),Tr.reverseMappedStack.push(Wr)),Qa=Fn?Ba(Tr,Fn,Wr,Xr):e.factory.createKeywordTypeNode(130),En&&Tr.reverseMappedStack.pop());var ho=Iu(Wr)?[e.factory.createToken(144)]:void 0;ho&&(Tr.approximateLength+=9);var Vo=e.factory.createPropertySignature(ho,Bt,Yt,Qa);hn.push(ao(Vo))}function ao(Ds){var ss;if(e.some(Wr.declarations,function(Yf){return Yf.kind===345})){var Xs=(ss=Wr.declarations)===null||ss===void 0?void 0:ss.find(function(Yf){return Yf.kind===345}),bs=e.getTextOfJSDocComment(Xs.comment);bs&&e.setSyntheticLeadingComments(Ds,[{kind:3,text:`*\n * `+bs.replace(/\\n/g,`\n * `)+`\n `,pos:-1,end:-1,hasTrailingNewLine:!0}])}else Wr.valueDeclaration&&e.setCommentRange(Ds,Wr.valueDeclaration);return Ds}}function G(Wr,Tr,hn){if(e.some(Wr)){if(i(Tr))if(hn){if(Wr.length>2)return[o(Wr[0],Tr),e.factory.createTypeReferenceNode(\"... \".concat(Wr.length-2,\" more ...\"),void 0),o(Wr[Wr.length-1],Tr)]}else return[e.factory.createTypeReferenceNode(\"...\",void 0)];for(var nn=!(Tr.flags&64),Vn=nn?e.createUnderscoreEscapedMultiMap():void 0,En=[],Fn=0,Xr=0,it=Wr;Xr<it.length;Xr++){var Pt=it[Xr];if(Fn++,i(Tr)&&Fn+2<Wr.length-1){En.push(e.factory.createTypeReferenceNode(\"... \".concat(Wr.length-Fn,\" more ...\"),void 0));var Bt=o(Wr[Wr.length-1],Tr);Bt&&En.push(Bt);break}Tr.approximateLength+=2;var Yt=o(Pt,Tr);Yt&&(En.push(Yt),Vn&&e.isIdentifierTypeReference(Yt)&&Vn.add(Yt.typeName.escapedText,[Pt,En.length-1]))}if(Vn){var mn=Tr.flags;Tr.flags|=64,Vn.forEach(function(ya){if(!e.arrayIsHomogeneous(ya,function(Vo,ao){var Ds=Vo[0],ss=ao[0];return ce(Ds,ss)}))for(var _a=0,qa=ya;_a<qa.length;_a++){var Vi=qa[_a],Qa=Vi[0],ho=Vi[1];En[ho]=o(Qa,Tr)}}),Tr.flags=mn}return En}}function ce(Wr,Tr){return Wr===Tr||!!Wr.symbol&&Wr.symbol===Tr.symbol||!!Wr.aliasSymbol&&Wr.aliasSymbol===Tr.aliasSymbol}function we(Wr,Tr,hn){var nn=e.getNameFromIndexInfo(Wr)||\"x\",Vn=o(Wr.keyType,Tr),En=e.factory.createParameterDeclaration(void 0,void 0,void 0,nn,void 0,Vn,void 0);return hn||(hn=o(Wr.type||Ze,Tr)),!Wr.type&&!(Tr.flags&2097152)&&(Tr.encounteredError=!0),Tr.approximateLength+=nn.length+4,e.factory.createIndexSignature(void 0,Wr.isReadonly?[e.factory.createToken(144)]:void 0,[En],hn)}function Ue(Wr,Tr,hn,nn){var Vn,En,Fn,Xr,it=hn.flags&256;it&&(hn.flags&=-257),hn.approximateLength+=3;var Pt,Bt;hn.flags&32&&Wr.target&&Wr.mapper&&Wr.target.typeParameters?Bt=Wr.target.typeParameters.map(function(Xs){return o(oi(Xs,Wr.mapper),hn)}):Pt=Wr.typeParameters&&Wr.typeParameters.map(function(Xs){return ar(Xs,hn)});var Yt=cy(Wr,!0)[0],mn=(e.some(Yt,function(Xs){return Xs!==Yt[Yt.length-1]&&!!(e.getCheckFlags(Xs)&32768)})?Wr.parameters:Yt).map(function(Xs){return _r(Xs,hn,Tr===170,nn==null?void 0:nn.privateSymbolVisitor,nn==null?void 0:nn.bundledImports)});if(Wr.thisParameter){var ya=_r(Wr.thisParameter,hn);mn.unshift(ya)}var _a,qa=Dc(Wr);if(qa){var Vi=qa.kind===2||qa.kind===3?e.factory.createToken(128):void 0,Qa=qa.kind===1||qa.kind===3?e.setEmitFlags(e.factory.createIdentifier(qa.parameterName),16777216):e.factory.createThisTypeNode(),ho=qa.type&&o(qa.type,hn);_a=e.factory.createTypePredicateNode(Vi,Qa,ho)}else{var Vo=_o(Wr);Vo&&!(it&&Na(Vo))?_a=Ti(hn,Vo,Wr,nn==null?void 0:nn.privateSymbolVisitor,nn==null?void 0:nn.bundledImports):it||(_a=e.factory.createKeywordTypeNode(130))}var ao=nn==null?void 0:nn.modifiers;if(Tr===179&&Wr.flags&4){var Ds=e.modifiersToFlags(ao);ao=e.factory.createModifiersFromModifierFlags(Ds|128)}var ss=Tr===173?e.factory.createCallSignature(Pt,mn,_a):Tr===174?e.factory.createConstructSignature(Pt,mn,_a):Tr===167?e.factory.createMethodSignature(ao,(Vn=nn==null?void 0:nn.name)!==null&&Vn!==void 0?Vn:e.factory.createIdentifier(\"\"),nn==null?void 0:nn.questionToken,Pt,mn,_a):Tr===168?e.factory.createMethodDeclaration(void 0,ao,void 0,(En=nn==null?void 0:nn.name)!==null&&En!==void 0?En:e.factory.createIdentifier(\"\"),void 0,Pt,mn,_a,void 0):Tr===170?e.factory.createConstructorDeclaration(void 0,ao,mn,void 0):Tr===171?e.factory.createGetAccessorDeclaration(void 0,ao,(Fn=nn==null?void 0:nn.name)!==null&&Fn!==void 0?Fn:e.factory.createIdentifier(\"\"),mn,_a,void 0):Tr===172?e.factory.createSetAccessorDeclaration(void 0,ao,(Xr=nn==null?void 0:nn.name)!==null&&Xr!==void 0?Xr:e.factory.createIdentifier(\"\"),mn,void 0):Tr===175?e.factory.createIndexSignature(void 0,ao,mn,_a):Tr===315?e.factory.createJSDocFunctionType(mn,_a):Tr===178?e.factory.createFunctionTypeNode(Pt,mn,_a!=null?_a:e.factory.createTypeReferenceNode(e.factory.createIdentifier(\"\"))):Tr===179?e.factory.createConstructorTypeNode(ao,Pt,mn,_a!=null?_a:e.factory.createTypeReferenceNode(e.factory.createIdentifier(\"\"))):Tr===255?e.factory.createFunctionDeclaration(void 0,ao,void 0,nn!=null&&nn.name?e.cast(nn.name,e.isIdentifier):e.factory.createIdentifier(\"\"),Pt,mn,_a,void 0):Tr===212?e.factory.createFunctionExpression(ao,void 0,nn!=null&&nn.name?e.cast(nn.name,e.isIdentifier):e.factory.createIdentifier(\"\"),Pt,mn,_a,e.factory.createBlock([])):Tr===213?e.factory.createArrowFunction(ao,Pt,mn,_a,void 0,e.factory.createBlock([])):e.Debug.assertNever(Tr);return Bt&&(ss.typeArguments=e.factory.createNodeArray(Bt)),ss}function Je(Wr,Tr,hn){var nn=Tr.flags;Tr.flags&=-513;var Vn=di(Wr,Tr),En=Bn(Wr),Fn=En&&o(En,Tr);return Tr.flags=nn,e.factory.createTypeParameterDeclaration(Vn,hn,Fn)}function ar(Wr,Tr,hn){hn===void 0&&(hn=Nl(Wr));var nn=hn&&o(hn,Tr);return Je(Wr,Tr,nn)}function _r(Wr,Tr,hn,nn,Vn){var En=e.getDeclarationOfKind(Wr,163);!En&&!e.isTransientSymbol(Wr)&&(En=e.getDeclarationOfKind(Wr,338));var Fn=An(Wr);En&&pI(En)&&(Fn=Jf(Fn)),Tr.flags&1073741824&&En&&!e.isJSDocParameterTag(En)&&S8(En)&&(Fn=Fs(Fn,524288));var Xr=Ba(Tr,Fn,Wr,Tr.enclosingDeclaration,nn,Vn),it=!(Tr.flags&8192)&&hn&&En&&En.modifiers?En.modifiers.map(e.factory.cloneNode):void 0,Pt=En&&e.isRestParameter(En)||e.getCheckFlags(Wr)&32768,Bt=Pt?e.factory.createToken(25):void 0,Yt=En&&En.name?En.name.kind===79?e.setEmitFlags(e.factory.cloneNode(En.name),16777216):En.name.kind===160?e.setEmitFlags(e.factory.cloneNode(En.name.right),16777216):qa(En.name):e.symbolName(Wr),mn=En&&w_(En)||e.getCheckFlags(Wr)&16384,ya=mn?e.factory.createToken(57):void 0,_a=e.factory.createParameterDeclaration(void 0,it,Bt,Yt,ya,Xr,void 0);return Tr.approximateLength+=e.symbolName(Wr).length+3,_a;function qa(Vi){return Qa(Vi);function Qa(ho){Tr.tracker.trackSymbol&&e.isComputedPropertyName(ho)&&Bg(ho)&&Gr(ho.expression,Tr.enclosingDeclaration,Tr);var Vo=e.visitEachChild(ho,Qa,e.nullTransformationContext,void 0,Qa);return e.isBindingElement(Vo)&&(Vo=e.factory.updateBindingElement(Vo,Vo.dotDotDotToken,Vo.propertyName,Vo.name,void 0)),e.nodeIsSynthesized(Vo)||(Vo=e.factory.cloneNode(Vo)),e.setEmitFlags(Vo,16777217)}}}function Gr(Wr,Tr,hn){if(!!hn.tracker.trackSymbol){var nn=e.getFirstIdentifier(Wr),Vn=Uo(nn,nn.escapedText,1160127,void 0,void 0,!0);Vn&&hn.tracker.trackSymbol(Vn,Tr,111551)}}function Zr(Wr,Tr,hn,nn){return Tr.tracker.trackSymbol(Wr,Tr.enclosingDeclaration,hn),Et(Wr,Tr,hn,nn)}function Et(Wr,Tr,hn,nn){var Vn,En=Wr.flags&262144;return!En&&(Tr.enclosingDeclaration||Tr.flags&64)&&!(Tr.flags&134217728)?(Vn=e.Debug.checkDefined(Fn(Wr,hn,!0)),e.Debug.assert(Vn&&Vn.length>0)):Vn=[Wr],Vn;function Fn(Xr,it,Pt){var Bt=kf(Xr,Tr.enclosingDeclaration,it,!!(Tr.flags&128)),Yt;if(!Bt||Uu(Bt[0],Tr.enclosingDeclaration,Bt.length===1?it:ac(it))){var mn=rc(Bt?Bt[0]:Xr,Tr.enclosingDeclaration,it);if(e.length(mn)){Yt=mn.map(function(ao){return e.some(ao.declarations,Ec)?Nn(ao,Tr):void 0});var ya=mn.map(function(ao,Ds){return Ds});ya.sort(Vo);for(var _a=ya.map(function(ao){return mn[ao]}),qa=0,Vi=_a;qa<Vi.length;qa++){var Qa=Vi[qa],ho=Fn(Qa,ac(it),!1);if(ho){if(Qa.exports&&Qa.exports.get(\"export=\")&&Ll(Qa.exports.get(\"export=\"),Xr)){Bt=ho;break}Bt=ho.concat(Bt||[Hd(Qa,Xr)||Xr]);break}}}}if(Bt)return Bt;if(Pt||!(Xr.flags&6144))return!Pt&&!nn&&!!e.forEach(Xr.declarations,Ec)?void 0:[Xr];function Vo(ao,Ds){var ss=Yt[ao],Xs=Yt[Ds];if(ss&&Xs){var bs=e.pathIsRelative(Xs);return e.pathIsRelative(ss)===bs?e.moduleSpecifiers.countPathComponents(ss)-e.moduleSpecifiers.countPathComponents(Xs):bs?-1:1}return 0}}}function Tt(Wr,Tr){var hn,nn=Am(Wr);return nn.flags&524384&&(hn=e.factory.createNodeArray(e.map(mu(Wr),function(Vn){return ar(Vn,Tr)}))),hn}function At(Wr,Tr,hn){var nn;e.Debug.assert(Wr&&0<=Tr&&Tr<Wr.length);var Vn=Wr[Tr],En=y(Vn);if(!(!((nn=hn.typeParameterSymbolList)===null||nn===void 0)&&nn.has(En))){(hn.typeParameterSymbolList||(hn.typeParameterSymbolList=new e.Set)).add(En);var Fn;if(hn.flags&512&&Tr<Wr.length-1){var Xr=Vn,it=Wr[Tr+1];if(e.getCheckFlags(it)&1){var Pt=Pv(Xr.flags&2097152?ms(Xr):Xr);Fn=G(e.map(Pt,function(Bt){return dp(Bt,it.mapper)}),hn)}else Fn=Tt(Vn,hn)}return Fn}}function Vt(Wr){return e.isIndexedAccessTypeNode(Wr.objectType)?Vt(Wr.objectType):Wr}function Nn(Wr,Tr){var hn,nn=e.getDeclarationOfKind(Wr,303);if(!nn){var Vn=e.firstDefined(Wr.declarations,function(qa){return zc(qa,Wr)});Vn&&(nn=e.getDeclarationOfKind(Vn,303))}if(nn&&nn.moduleName!==void 0)return nn.moduleName;if(!nn){if(Tr.tracker.trackReferencedAmbientModule){var En=e.filter(Wr.declarations,e.isAmbientModule);if(e.length(En))for(var Fn=0,Xr=En;Fn<Xr.length;Fn++){var it=Xr[Fn];Tr.tracker.trackReferencedAmbientModule(it,Wr)}}if(n.test(Wr.escapedName))return Wr.escapedName.substring(1,Wr.escapedName.length-1)}if(!Tr.enclosingDeclaration||!Tr.tracker.moduleResolverHost)return n.test(Wr.escapedName)?Wr.escapedName.substring(1,Wr.escapedName.length-1):e.getSourceFileOfNode(e.getNonAugmentationDeclaration(Wr)).fileName;var Pt=e.getSourceFileOfNode(e.getOriginalNode(Tr.enclosingDeclaration)),Bt=Ja(Wr),Yt=Bt.specifierCache&&Bt.specifierCache.get(Pt.path);if(!Yt){var mn=!!e.outFile(Xe),ya=Tr.tracker.moduleResolverHost,_a=mn?Rn(Rn({},Xe),{baseUrl:ya.getCommonSourceDirectory()}):Xe;Yt=e.first(e.moduleSpecifiers.getModuleSpecifiers(Wr,Yr,_a,Pt,ya,{importModuleSpecifierPreference:mn?\"non-relative\":\"project-relative\",importModuleSpecifierEnding:mn?\"minimal\":void 0})),(hn=Bt.specifierCache)!==null&&hn!==void 0||(Bt.specifierCache=new e.Map),Bt.specifierCache.set(Pt.path,Yt)}return Yt}function on(Wr){var Tr=e.factory.createIdentifier(e.unescapeLeadingUnderscores(Wr.escapedName));return Wr.parent?e.factory.createQualifiedName(on(Wr.parent),Tr):Tr}function ca(Wr,Tr,hn,nn){var Vn=Zr(Wr,Tr,hn,!(Tr.flags&16384)),En=hn===111551;if(e.some(Vn[0].declarations,Ec)){var Fn=Vn.length>1?qa(Vn,Vn.length-1,1):void 0,Xr=nn||At(Vn,0,Tr),it=Nn(Vn[0],Tr);!(Tr.flags&67108864)&&e.getEmitModuleResolutionKind(Xe)!==e.ModuleResolutionKind.Classic&&it.indexOf(\"/node_modules/\")>=0&&(Tr.encounteredError=!0,Tr.tracker.reportLikelyUnsafeImportRequiredError&&Tr.tracker.reportLikelyUnsafeImportRequiredError(it));var Pt=e.factory.createLiteralTypeNode(e.factory.createStringLiteral(it));if(Tr.tracker.trackExternalModuleSymbolOfImportTypeNode&&Tr.tracker.trackExternalModuleSymbolOfImportTypeNode(Vn[0]),Tr.approximateLength+=it.length+10,!Fn||e.isEntityName(Fn)){if(Fn){var Bt=e.isIdentifier(Fn)?Fn:Fn.right;Bt.typeArguments=void 0}return e.factory.createImportTypeNode(Pt,Fn,Xr,En)}else{var Yt=Vt(Fn),mn=Yt.objectType.typeName;return e.factory.createIndexedAccessTypeNode(e.factory.createImportTypeNode(Pt,mn,Xr,En),Yt.indexType)}}var ya=qa(Vn,Vn.length-1,0);if(e.isIndexedAccessTypeNode(ya))return ya;if(En)return e.factory.createTypeQueryNode(ya);var Bt=e.isIdentifier(ya)?ya:ya.right,_a=Bt.typeArguments;return Bt.typeArguments=void 0,e.factory.createTypeReferenceNode(ya,_a);function qa(Vi,Qa,ho){var Vo=Qa===Vi.length-1?nn:At(Vi,Qa,Tr),ao=Vi[Qa],Ds=Vi[Qa-1],ss;if(Qa===0)Tr.flags|=16777216,ss=Fc(ao,Tr),Tr.approximateLength+=(ss?ss.length:0)+1,Tr.flags^=16777216;else if(Ds&&Js(Ds)){var Xs=Js(Ds);e.forEachEntry(Xs,function(Ls,Ad){if(Ll(Ls,ao)&&!Ip(Ad)&&Ad!==\"export=\")return ss=e.unescapeLeadingUnderscores(Ad),!0})}if(ss||(ss=Fc(ao,Tr)),Tr.approximateLength+=ss.length+1,!(Tr.flags&16)&&Ds&&af(Ds)&&af(Ds).get(ao.escapedName)&&Ll(af(Ds).get(ao.escapedName),ao)){var bs=qa(Vi,Qa-1,ho);return e.isIndexedAccessTypeNode(bs)?e.factory.createIndexedAccessTypeNode(bs,e.factory.createLiteralTypeNode(e.factory.createStringLiteral(ss))):e.factory.createIndexedAccessTypeNode(e.factory.createTypeReferenceNode(bs,Vo),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(ss)))}var Yf=e.setEmitFlags(e.factory.createIdentifier(ss,Vo),16777216);if(Yf.symbol=ao,Qa>ho){var bs=qa(Vi,Qa-1,ho);return e.isEntityName(bs)?e.factory.createQualifiedName(bs,Yf):e.Debug.fail(\"Impossible construct - an export of an indexed access cannot be reachable\")}return Yf}}function la(Wr,Tr,hn){var nn=Uo(Tr.enclosingDeclaration,Wr,788968,void 0,Wr,!1);return nn?!(nn.flags&262144&&nn===hn.symbol):!1}function di(Wr,Tr){var hn,nn;if(Tr.flags&4&&Tr.typeParameterNames){var Vn=Tr.typeParameterNames.get(Bc(Wr));if(Vn)return Vn}var En=Aa(Wr.symbol,Tr,788968,!0);if(!(En.kind&79))return e.factory.createIdentifier(\"(Missing type parameter)\");if(Tr.flags&4){for(var Fn=En.escapedText,Xr=((hn=Tr.typeParameterNamesByTextNextNameCount)===null||hn===void 0?void 0:hn.get(Fn))||0,it=Fn;((nn=Tr.typeParameterNamesByText)===null||nn===void 0?void 0:nn.has(it))||la(it,Tr,Wr);)Xr++,it=\"\".concat(Fn,\"_\").concat(Xr);it!==Fn&&(En=e.factory.createIdentifier(it,En.typeArguments)),(Tr.typeParameterNamesByTextNextNameCount||(Tr.typeParameterNamesByTextNextNameCount=new e.Map)).set(Fn,Xr),(Tr.typeParameterNames||(Tr.typeParameterNames=new e.Map)).set(Bc(Wr),En),(Tr.typeParameterNamesByText||(Tr.typeParameterNamesByText=new e.Set)).add(Fn)}return En}function Aa(Wr,Tr,hn,nn){var Vn=Zr(Wr,Tr,hn);return nn&&Vn.length!==1&&!Tr.encounteredError&&!(Tr.flags&65536)&&(Tr.encounteredError=!0),En(Vn,Vn.length-1);function En(Fn,Xr){var it=At(Fn,Xr,Tr),Pt=Fn[Xr];Xr===0&&(Tr.flags|=16777216);var Bt=Fc(Pt,Tr);Xr===0&&(Tr.flags^=16777216);var Yt=e.setEmitFlags(e.factory.createIdentifier(Bt,it),16777216);return Yt.symbol=Pt,Xr>0?e.factory.createQualifiedName(En(Fn,Xr-1),Yt):Yt}}function Li(Wr,Tr,hn){var nn=Zr(Wr,Tr,hn);return Vn(nn,nn.length-1);function Vn(En,Fn){var Xr=At(En,Fn,Tr),it=En[Fn];Fn===0&&(Tr.flags|=16777216);var Pt=Fc(it,Tr);Fn===0&&(Tr.flags^=16777216);var Bt=Pt.charCodeAt(0);if(e.isSingleOrDoubleQuote(Bt)&&e.some(it.declarations,Ec))return e.factory.createStringLiteral(Nn(it,Tr));var Yt=Bt===35?Pt.length>1&&e.isIdentifierStart(Pt.charCodeAt(1),De):e.isIdentifierStart(Bt,De);if(Fn===0||Yt){var mn=e.setEmitFlags(e.factory.createIdentifier(Pt,Xr),16777216);return mn.symbol=it,Fn>0?e.factory.createPropertyAccessExpression(Vn(En,Fn-1),mn):mn}else{Bt===91&&(Pt=Pt.substring(1,Pt.length-1),Bt=Pt.charCodeAt(0));var ya=void 0;return e.isSingleOrDoubleQuote(Bt)?ya=e.factory.createStringLiteral(Pt.substring(1,Pt.length-1).replace(/\\\\./g,function(_a){return _a.substring(1)}),Bt===39):\"\"+ +Pt===Pt&&(ya=e.factory.createNumericLiteral(+Pt)),ya||(ya=e.setEmitFlags(e.factory.createIdentifier(Pt,Xr),16777216),ya.symbol=it),e.factory.createElementAccessExpression(Vn(En,Fn-1),ya)}}}function Bi(Wr){var Tr=e.getNameOfDeclaration(Wr);return!!Tr&&e.isStringLiteral(Tr)}function Ai(Wr){var Tr=e.getNameOfDeclaration(Wr);return!!(Tr&&e.isStringLiteral(Tr)&&(Tr.singleQuote||!e.nodeIsSynthesized(Tr)&&e.startsWith(e.getTextOfNode(Tr,!1),\"'\")))}function xo(Wr,Tr){var hn=!!e.length(Wr.declarations)&&e.every(Wr.declarations,Ai),nn=Wt(Wr,Tr,hn);if(nn)return nn;var Vn=e.unescapeLeadingUnderscores(Wr.escapedName),En=!!e.length(Wr.declarations)&&e.every(Wr.declarations,Bi);return Ft(Vn,En,hn)}function Wt(Wr,Tr,hn){var nn=Ja(Wr).nameType;if(nn){if(nn.flags&384){var Vn=\"\"+nn.value;return!e.isIdentifierText(Vn,e.getEmitScriptTarget(Xe))&&!zf(Vn)?e.factory.createStringLiteral(Vn,!!hn):zf(Vn)&&e.startsWith(Vn,\"-\")?e.factory.createComputedPropertyName(e.factory.createNumericLiteral(+Vn)):Ft(Vn)}if(nn.flags&8192)return e.factory.createComputedPropertyName(Li(nn.symbol,Tr,111551))}}function Ft(Wr,Tr,hn){return e.isIdentifierText(Wr,e.getEmitScriptTarget(Xe))?e.factory.createIdentifier(Wr):!Tr&&zf(Wr)&&+Wr>=0?e.factory.createNumericLiteral(+Wr):e.factory.createStringLiteral(Wr,!!hn)}function _n(Wr){var Tr=Rn({},Wr);return Tr.typeParameterNames&&(Tr.typeParameterNames=new e.Map(Tr.typeParameterNames)),Tr.typeParameterNamesByText&&(Tr.typeParameterNamesByText=new e.Set(Tr.typeParameterNamesByText)),Tr.typeParameterSymbolList&&(Tr.typeParameterSymbolList=new e.Set(Tr.typeParameterSymbolList)),Tr.tracker=t(Tr,Tr.tracker),Tr}function Ca(Wr,Tr){return Wr.declarations&&e.find(Wr.declarations,function(hn){return!!e.getEffectiveTypeAnnotationNode(hn)&&(!Tr||!!e.findAncestor(hn,function(nn){return nn===Tr}))})}function Yn(Wr,Tr){return!(e.getObjectFlags(Tr)&4)||!e.isTypeReferenceNode(Wr)||e.length(Wr.typeArguments)>=lf(Tr.target.typeParameters)}function Ba(Wr,Tr,hn,nn,Vn,En){if(!Ua(Tr)&&nn){var Fn=Ca(hn,nn);if(Fn&&!e.isFunctionLikeDeclaration(Fn)&&!e.isGetAccessorDeclaration(Fn)){var Xr=e.getEffectiveTypeAnnotationNode(Fn);if(Da(Xr)===Tr&&Yn(Xr,Tr)){var it=jn(Wr,Xr,Vn,En);if(it)return it}}}var Pt=Wr.flags;Tr.flags&8192&&Tr.symbol===hn&&(!Wr.enclosingDeclaration||e.some(hn.declarations,function(Yt){return e.getSourceFileOfNode(Yt)===e.getSourceFileOfNode(Wr.enclosingDeclaration)}))&&(Wr.flags|=1048576);var Bt=o(Tr,Wr);return Wr.flags=Pt,Bt}function Ti(Wr,Tr,hn,nn,Vn){if(!Ua(Tr)&&Wr.enclosingDeclaration){var En=hn.declaration&&e.getEffectiveReturnTypeNode(hn.declaration);if(!!e.findAncestor(En,function(Pt){return Pt===Wr.enclosingDeclaration})&&En){var Fn=Da(En),Xr=Fn.flags&262144&&Fn.isThisType?oi(Fn,hn.mapper):Fn;if(Xr===Tr&&Yn(En,Tr)){var it=jn(Wr,En,nn,Vn);if(it)return it}}}return o(Tr,Wr)}function Pi(Wr,Tr,hn){var nn,Vn,En=!1,Fn=e.getFirstIdentifier(Wr);if(e.isInJSFile(Wr)&&(e.isExportsIdentifier(Fn)||e.isModuleExportsAccessExpression(Fn.parent)||e.isQualifiedName(Fn.parent)&&e.isModuleIdentifier(Fn.parent.left)&&e.isExportsIdentifier(Fn.parent.right)))return En=!0,{introducesError:En,node:Wr};var Xr=rs(Fn,67108863,!0,!0);if(Xr&&(rf(Xr,Tr.enclosingDeclaration,67108863,!1).accessibility!==0?En=!0:((Vn=(nn=Tr.tracker)===null||nn===void 0?void 0:nn.trackSymbol)===null||Vn===void 0||Vn.call(nn,Xr,Tr.enclosingDeclaration,67108863),hn==null||hn(Xr)),e.isIdentifier(Wr))){var it=Xr.flags&262144?di(po(Xr),Tr):e.factory.cloneNode(Wr);return it.symbol=Xr,{introducesError:En,node:e.setEmitFlags(e.setOriginalNode(it,Wr),16777216)}}return{introducesError:En,node:Wr}}function jn(Wr,Tr,hn,nn){R&&R.throwIfCancellationRequested&&R.throwIfCancellationRequested();var Vn=!1,En=e.getSourceFileOfNode(Tr),Fn=e.visitNode(Tr,Xr);if(Vn)return;return Fn===Tr?e.setTextRange(e.factory.cloneNode(Tr),Tr):Fn;function Xr(it){if(e.isJSDocAllType(it)||it.kind===317)return e.factory.createKeywordTypeNode(130);if(e.isJSDocUnknownType(it))return e.factory.createKeywordTypeNode(154);if(e.isJSDocNullableType(it))return e.factory.createUnionTypeNode([e.visitNode(it.type,Xr),e.factory.createLiteralTypeNode(e.factory.createNull())]);if(e.isJSDocOptionalType(it))return e.factory.createUnionTypeNode([e.visitNode(it.type,Xr),e.factory.createKeywordTypeNode(152)]);if(e.isJSDocNonNullableType(it))return e.visitNode(it.type,Xr);if(e.isJSDocVariadicType(it))return e.factory.createArrayTypeNode(e.visitNode(it.type,Xr));if(e.isJSDocTypeLiteral(it))return e.factory.createTypeLiteralNode(e.map(it.jsDocPropertyTags,function(Qa){var ho=e.isIdentifier(Qa.name)?Qa.name:Qa.name.right,Vo=ia(Da(it),ho.escapedText),ao=Vo&&Qa.typeExpression&&Da(Qa.typeExpression.type)!==Vo?o(Vo,Wr):void 0;return e.factory.createPropertySignature(void 0,ho,Qa.isBracketed||Qa.typeExpression&&e.isJSDocOptionalType(Qa.typeExpression.type)?e.factory.createToken(57):void 0,ao||Qa.typeExpression&&e.visitNode(Qa.typeExpression.type,Xr)||e.factory.createKeywordTypeNode(130))}));if(e.isTypeReferenceNode(it)&&e.isIdentifier(it.typeName)&&it.typeName.escapedText===\"\")return e.setOriginalNode(e.factory.createKeywordTypeNode(130),it);if((e.isExpressionWithTypeArguments(it)||e.isTypeReferenceNode(it))&&e.isJSDocIndexSignature(it))return e.factory.createTypeLiteralNode([e.factory.createIndexSignature(void 0,void 0,[e.factory.createParameterDeclaration(void 0,void 0,void 0,\"x\",void 0,e.visitNode(it.typeArguments[0],Xr))],e.visitNode(it.typeArguments[1],Xr))]);if(e.isJSDocFunctionType(it))if(e.isJSDocConstructSignature(it)){var Pt;return e.factory.createConstructorTypeNode(it.modifiers,e.visitNodes(it.typeParameters,Xr),e.mapDefined(it.parameters,function(Qa,ho){return Qa.name&&e.isIdentifier(Qa.name)&&Qa.name.escapedText===\"new\"?(Pt=Qa.type,void 0):e.factory.createParameterDeclaration(void 0,void 0,_a(Qa),qa(Qa,ho),Qa.questionToken,e.visitNode(Qa.type,Xr),void 0)}),e.visitNode(Pt||it.type,Xr)||e.factory.createKeywordTypeNode(130))}else return e.factory.createFunctionTypeNode(e.visitNodes(it.typeParameters,Xr),e.map(it.parameters,function(Qa,ho){return e.factory.createParameterDeclaration(void 0,void 0,_a(Qa),qa(Qa,ho),Qa.questionToken,e.visitNode(Qa.type,Xr),void 0)}),e.visitNode(it.type,Xr)||e.factory.createKeywordTypeNode(130));if(e.isTypeReferenceNode(it)&&e.isInJSDoc(it)&&(!Yn(it,Da(it))||LD(it)||We===$m(it,788968,!0)))return e.setOriginalNode(o(Da(it),Wr),it);if(e.isLiteralImportTypeNode(it)){var Bt=Zn(it).resolvedSymbol;return e.isInJSDoc(it)&&Bt&&(!it.isTypeOf&&!(Bt.flags&788968)||!(e.length(it.typeArguments)>=lf(mu(Bt))))?e.setOriginalNode(o(Da(it),Wr),it):e.factory.updateImportTypeNode(it,e.factory.updateLiteralTypeNode(it.argument,Vi(it,it.argument.literal)),it.qualifier,e.visitNodes(it.typeArguments,Xr,e.isTypeNode),it.isTypeOf)}if(e.isEntityName(it)||e.isEntityNameExpression(it)){var Yt=Pi(it,Wr,hn),mn=Yt.introducesError,ya=Yt.node;if(Vn=Vn||mn,ya!==it)return ya}return En&&e.isTupleTypeNode(it)&&e.getLineAndCharacterOfPosition(En,it.pos).line===e.getLineAndCharacterOfPosition(En,it.end).line&&e.setEmitFlags(it,1),e.visitEachChild(it,Xr,e.nullTransformationContext);function _a(Qa){return Qa.dotDotDotToken||(Qa.type&&e.isJSDocVariadicType(Qa.type)?e.factory.createToken(25):void 0)}function qa(Qa,ho){return Qa.name&&e.isIdentifier(Qa.name)&&Qa.name.escapedText===\"this\"?\"this\":_a(Qa)?\"args\":\"arg\".concat(ho)}function Vi(Qa,ho){if(nn){if(Wr.tracker&&Wr.tracker.moduleResolverHost){var Vo=IT(Qa);if(Vo){var ao=e.createGetCanonicalFileName(!!j.useCaseSensitiveFileNames),Ds={getCanonicalFileName:ao,getCurrentDirectory:function(){return Wr.tracker.moduleResolverHost.getCurrentDirectory()},getCommonSourceDirectory:function(){return Wr.tracker.moduleResolverHost.getCommonSourceDirectory()}},ss=e.getResolvedExternalModuleName(Ds,Vo);return e.factory.createStringLiteral(ss)}}}else if(Wr.tracker&&Wr.tracker.trackExternalModuleSymbolOfImportTypeNode){var Xs=Mc(ho,ho,void 0);Xs&&Wr.tracker.trackExternalModuleSymbolOfImportTypeNode(Xs)}return ho}}}function Fi(Wr,Tr,hn){var nn=vi(e.factory.createPropertyDeclaration,168,!0),Vn=vi(function(ot,ln,aa,qn,ra){return e.factory.createPropertySignature(ln,aa,qn,ra)},167,!1),En=Tr.enclosingDeclaration,Fn=[],Xr=new e.Set,it=[],Pt=Tr;Tr=Rn(Rn({},Pt),{usedSymbolNames:new e.Set(Pt.usedSymbolNames),remappedSymbolNames:new e.Map,tracker:Rn(Rn({},Pt.tracker),{trackSymbol:function(ot,ln,aa){var qn=rf(ot,ln,aa,!1);if(qn.accessibility===0){var ra=Et(ot,Tr,aa);ot.flags&4||bs(ra[0])}else if(Pt.tracker&&Pt.tracker.trackSymbol)return Pt.tracker.trackSymbol(ot,ln,aa);return!1}})}),Tr.tracker=t(Tr,Tr.tracker),e.forEachEntry(Wr,function(ot,ln){var aa=e.unescapeLeadingUnderscores(ln);$o(ot,aa)});var Bt=!hn,Yt=Wr.get(\"export=\");return Yt&&Wr.size>1&&Yt.flags&2097152&&(Wr=e.createSymbolTable(),Wr.set(\"export=\",Yt)),Ds(Wr),Qa(Fn);function mn(ot){return!!ot&&ot.kind===79}function ya(ot){return e.isVariableStatement(ot)?e.filter(e.map(ot.declarationList.declarations,e.getNameOfDeclaration),mn):e.filter([e.getNameOfDeclaration(ot)],mn)}function _a(ot){var ln=e.find(ot,e.isExportAssignment),aa=e.findIndex(ot,e.isModuleDeclaration),qn=aa!==-1?ot[aa]:void 0;if(qn&&ln&&ln.isExportEquals&&e.isIdentifier(ln.expression)&&e.isIdentifier(qn.name)&&e.idText(qn.name)===e.idText(ln.expression)&&qn.body&&e.isModuleBlock(qn.body)){var ra=e.filter(ot,function(Va){return!!(e.getEffectiveModifierFlags(Va)&1)}),Xa=qn.name,ja=qn.body;if(e.length(ra)&&(qn=e.factory.updateModuleDeclaration(qn,qn.decorators,qn.modifiers,qn.name,ja=e.factory.updateModuleBlock(ja,e.factory.createNodeArray(Gt(Gt([],qn.body.statements,!0),[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.map(e.flatMap(ra,function(Va){return ya(Va)}),function(Va){return e.factory.createExportSpecifier(!1,void 0,Va)})),void 0)],!1)))),ot=Gt(Gt(Gt([],ot.slice(0,aa),!0),[qn],!1),ot.slice(aa+1),!0)),!e.find(ot,function(Va){return Va!==qn&&e.nodeHasName(Va,Xa)})){Fn=[];var pi=!e.some(ja.statements,function(Va){return e.hasSyntacticModifier(Va,1)||e.isExportAssignment(Va)||e.isExportDeclaration(Va)});e.forEach(ja.statements,function(Va){Ls(Va,pi?1:0)}),ot=Gt(Gt([],e.filter(ot,function(Va){return Va!==qn&&Va!==ln}),!0),Fn,!0)}}return ot}function qa(ot){var ln=e.filter(ot,function(Ma){return e.isExportDeclaration(Ma)&&!Ma.moduleSpecifier&&!!Ma.exportClause&&e.isNamedExports(Ma.exportClause)});if(e.length(ln)>1){var aa=e.filter(ot,function(Ma){return!e.isExportDeclaration(Ma)||!!Ma.moduleSpecifier||!Ma.exportClause});ot=Gt(Gt([],aa,!0),[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.flatMap(ln,function(Ma){return e.cast(Ma.exportClause,e.isNamedExports).elements})),void 0)],!1)}var qn=e.filter(ot,function(Ma){return e.isExportDeclaration(Ma)&&!!Ma.moduleSpecifier&&!!Ma.exportClause&&e.isNamedExports(Ma.exportClause)});if(e.length(qn)>1){var ra=e.group(qn,function(Ma){return e.isStringLiteral(Ma.moduleSpecifier)?\">\"+Ma.moduleSpecifier.text:\">\"});if(ra.length!==qn.length)for(var Xa=function(Ma){Ma.length>1&&(ot=Gt(Gt([],e.filter(ot,function(qi){return Ma.indexOf(qi)===-1}),!0),[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.flatMap(Ma,function(qi){return e.cast(qi.exportClause,e.isNamedExports).elements})),Ma[0].moduleSpecifier)],!1))},ja=0,pi=ra;ja<pi.length;ja++){var Va=pi[ja];Xa(Va)}}return ot}function Vi(ot){var ln=e.findIndex(ot,function(ra){return e.isExportDeclaration(ra)&&!ra.moduleSpecifier&&!ra.assertClause&&!!ra.exportClause&&e.isNamedExports(ra.exportClause)});if(ln>=0){var aa=ot[ln],qn=e.mapDefined(aa.exportClause.elements,function(ra){if(!ra.propertyName){var Xa=e.indicesOf(ot),ja=e.filter(Xa,function(qi){return e.nodeHasName(ot[qi],ra.name)});if(e.length(ja)&&e.every(ja,function(qi){return ho(ot[qi])})){for(var pi=0,Va=ja;pi<Va.length;pi++){var Ma=Va[pi];ot[Ma]=Vo(ot[Ma])}return}}return ra});e.length(qn)?ot[ln]=e.factory.updateExportDeclaration(aa,aa.decorators,aa.modifiers,aa.isTypeOnly,e.factory.updateNamedExports(aa.exportClause,qn),aa.moduleSpecifier,aa.assertClause):e.orderedRemoveItemAt(ot,ln)}return ot}function Qa(ot){return ot=_a(ot),ot=qa(ot),ot=Vi(ot),En&&(e.isSourceFile(En)&&e.isExternalOrCommonJsModule(En)||e.isModuleDeclaration(En))&&(!e.some(ot,e.isExternalModuleIndicator)||!e.hasScopeMarker(ot)&&e.some(ot,e.needsScopeMarker))&&ot.push(e.createEmptyExports(e.factory)),ot}function ho(ot){return e.isEnumDeclaration(ot)||e.isVariableStatement(ot)||e.isFunctionDeclaration(ot)||e.isClassDeclaration(ot)||e.isModuleDeclaration(ot)&&!e.isExternalModuleAugmentation(ot)&&!e.isGlobalScopeAugmentation(ot)||e.isInterfaceDeclaration(ot)||jh(ot)}function Vo(ot){var ln=(e.getEffectiveModifierFlags(ot)|1)&-3;return e.factory.updateModifiers(ot,ln)}function ao(ot){var ln=e.getEffectiveModifierFlags(ot)&-2;return e.factory.updateModifiers(ot,ln)}function Ds(ot,ln,aa){ln||it.push(new e.Map),ot.forEach(function(qn){ss(qn,!1,!!aa)}),ln||(it[it.length-1].forEach(function(qn){ss(qn,!0,!!aa)}),it.pop())}function ss(ot,ln,aa){var qn=Ga(ot);if(!Xr.has(y(qn))){Xr.add(y(qn));var ra=!ln;if(ra||!!e.length(ot.declarations)&&e.some(ot.declarations,function(pi){return!!e.findAncestor(pi,function(Va){return Va===En})})){var Xa=Tr;Tr=_n(Tr);var ja=Xs(ot,ln,aa);return Tr.reportedDiagnostic&&(Pt.reportedDiagnostic=Tr.reportedDiagnostic),Tr=Xa,ja}}}function Xs(ot,ln,aa){var qn,ra,Xa=e.unescapeLeadingUnderscores(ot.escapedName),ja=ot.escapedName===\"default\";if(ln&&!(Tr.flags&131072)&&e.isStringANonContextualKeyword(Xa)&&!ja){Tr.encounteredError=!0;return}var pi=ja&&!!(ot.flags&-113||ot.flags&16&&e.length(Yi(An(ot))))&&!(ot.flags&2097152),Va=!pi&&!ln&&e.isStringANonContextualKeyword(Xa)&&!ja;(pi||Va)&&(ln=!0);var Ma=(ln?0:1)|(ja&&!pi?512:0),qi=ot.flags&1536&&ot.flags&7&&ot.escapedName!==\"export=\",yo=qi&&ni(An(ot),ot);if((ot.flags&8208||yo)&&uo(An(ot),ot,$o(ot,Xa),Ma),ot.flags&524288&&Ad(ot,Xa,Ma),ot.flags&7&&ot.escapedName!==\"export=\"&&!(ot.flags&4194304)&&!(ot.flags&32)&&!yo)if(aa){var ns=zt(ot);ns&&(Va=!1,pi=!1)}else{var Oo=An(ot),Ao=$o(ot,Xa);if(!(ot.flags&16)&&ni(Oo,ot))uo(Oo,ot,Ao,Ma);else{var Os=ot.flags&2?bh(ot)?2:1:void 0,hl=pi||!(ot.flags&4)?Ao:eo(Ao,ot),As=ot.declarations&&e.find(ot.declarations,function(xm){return e.isVariableDeclaration(xm)});As&&e.isVariableDeclarationList(As.parent)&&As.parent.declarations.length===1&&(As=As.parent.parent);var Cc=(qn=ot.declarations)===null||qn===void 0?void 0:qn.find(e.isPropertyAccessExpression);if(Cc&&e.isBinaryExpression(Cc.parent)&&e.isIdentifier(Cc.parent.right)&&((ra=Oo.symbol)===null||ra===void 0?void 0:ra.valueDeclaration)&&e.isSourceFile(Oo.symbol.valueDeclaration)){var z_=Ao===Cc.parent.right.escapedText?void 0:Cc.parent.right;Ls(e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([e.factory.createExportSpecifier(!1,z_,Ao)])),0),Tr.tracker.trackSymbol(Oo.symbol,Tr.enclosingDeclaration,111551)}else{var D_=e.setTextRange(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(hl,void 0,Ba(Tr,Oo,ot,En,bs,hn))],Os)),As);Ls(D_,hl!==Ao?Ma&-2:Ma),hl!==Ao&&!ln&&(Ls(e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([e.factory.createExportSpecifier(!1,hl,Ao)])),0),Va=!1,pi=!1)}}}if(ot.flags&384&&qo(ot,Xa,Ma),ot.flags&32&&(ot.flags&4&&ot.valueDeclaration&&e.isBinaryExpression(ot.valueDeclaration.parent)&&e.isClassExpression(ot.valueDeclaration.parent.right)?Gn(ot,$o(ot,Xa),Ma):$t(ot,$o(ot,Xa),Ma)),(ot.flags&1536&&(!qi||Pa(ot))||yo)&&Ri(ot,Xa,Ma),ot.flags&64&&!(ot.flags&32)&&Av(ot,Xa,Ma),ot.flags&2097152&&Gn(ot,$o(ot,Xa),Ma),ot.flags&4&&ot.escapedName===\"export=\"&&zt(ot),ot.flags&8388608&&ot.declarations)for(var Cd=0,Hp=ot.declarations;Cd<Hp.length;Cd++){var Jp=Hp[Cd],xd=ws(Jp,Jp.moduleSpecifier);!xd||Ls(e.factory.createExportDeclaration(void 0,void 0,!1,void 0,e.factory.createStringLiteral(Nn(xd,Tr))),0)}pi?Ls(e.factory.createExportAssignment(void 0,void 0,!1,e.factory.createIdentifier($o(ot,Xa))),0):Va&&Ls(e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([e.factory.createExportSpecifier(!1,$o(ot,Xa),Xa)])),0)}function bs(ot){if(!e.some(ot.declarations,e.isParameterDeclaration)){e.Debug.assertIsDefined(it[it.length-1]),eo(e.unescapeLeadingUnderscores(ot.escapedName),ot);var ln=!!(ot.flags&2097152)&&!e.some(ot.declarations,function(aa){return!!e.findAncestor(aa,e.isExportDeclaration)||e.isNamespaceExport(aa)||e.isImportEqualsDeclaration(aa)&&!e.isExternalModuleReference(aa.moduleReference)});it[ln?0:it.length-1].set(y(ot),ot)}}function Yf(ot){return e.isSourceFile(ot)&&(e.isExternalOrCommonJsModule(ot)||e.isJsonSourceFile(ot))||e.isAmbientModule(ot)&&!e.isGlobalScopeAugmentation(ot)}function Ls(ot,ln){if(e.canHaveModifiers(ot)){var aa=0,qn=Tr.enclosingDeclaration&&(e.isJSDocTypeAlias(Tr.enclosingDeclaration)?e.getSourceFileOfNode(Tr.enclosingDeclaration):Tr.enclosingDeclaration);ln&1&&qn&&(Yf(qn)||e.isModuleDeclaration(qn))&&ho(ot)&&(aa|=1),Bt&&!(aa&1)&&(!qn||!(qn.flags&8388608))&&(e.isEnumDeclaration(ot)||e.isVariableStatement(ot)||e.isFunctionDeclaration(ot)||e.isClassDeclaration(ot)||e.isModuleDeclaration(ot))&&(aa|=2),ln&512&&(e.isClassDeclaration(ot)||e.isInterfaceDeclaration(ot)||e.isFunctionDeclaration(ot))&&(aa|=512),aa&&(ot=e.factory.updateModifiers(ot,aa|e.getEffectiveModifierFlags(ot)))}Fn.push(ot)}function Ad(ot,ln,aa){var qn,ra=Sa(ot),Xa=Ja(ot).typeParameters,ja=e.map(Xa,function(ns){return ar(ns,Tr)}),pi=(qn=ot.declarations)===null||qn===void 0?void 0:qn.find(e.isJSDocTypeAlias),Va=e.getTextOfJSDocComment(pi?pi.comment||pi.parent.comment:void 0),Ma=Tr.flags;Tr.flags|=8388608;var qi=Tr.enclosingDeclaration;Tr.enclosingDeclaration=pi;var yo=pi&&pi.typeExpression&&e.isJSDocTypeExpression(pi.typeExpression)&&jn(Tr,pi.typeExpression.type,bs,hn)||o(ra,Tr);Ls(e.setSyntheticLeadingComments(e.factory.createTypeAliasDeclaration(void 0,void 0,$o(ot,ln),ja,yo),Va?[{kind:3,text:`*\n * `+Va.replace(/\\n/g,`\n * `)+`\n `,pos:-1,end:-1,hasTrailingNewLine:!0}]:[]),aa),Tr.flags=Ma,Tr.enclosingDeclaration=qi}function Av(ot,ln,aa){var qn=Hn(ot),ra=mu(ot),Xa=e.map(ra,function(Oo){return ar(Oo,Tr)}),ja=xl(qn),pi=e.length(ja)?To(ja):void 0,Va=e.flatMap(Yi(qn),function(Oo){return ai(Oo,pi)}),Ma=so(0,qn,pi,173),qi=so(1,qn,pi,174),yo=Ui(qn,pi),ns=e.length(ja)?[e.factory.createHeritageClause(94,e.mapDefined(ja,function(Oo){return ls(Oo,111551)}))]:void 0;Ls(e.factory.createInterfaceDeclaration(void 0,void 0,$o(ot,ln),Xa,ns,Gt(Gt(Gt(Gt([],yo,!0),qi,!0),Ma,!0),Va,!0)),aa)}function Cv(ot){return ot.exports?e.filter(e.arrayFrom(ot.exports.values()),st):[]}function Pa(ot){return e.every(Cv(ot),function(ln){return!(wo(ln).flags&111551)})}function Ri(ot,ln,aa){var qn=Cv(ot),ra=e.arrayToMultiMap(qn,function(qi){return qi.parent&&qi.parent===ot?\"real\":\"merged\"}),Xa=ra.get(\"real\")||e.emptyArray,ja=ra.get(\"merged\")||e.emptyArray;if(e.length(Xa)){var pi=$o(ot,ln);Kr(Xa,pi,aa,!!(ot.flags&67108880))}if(e.length(ja)){var Va=e.getSourceFileOfNode(Tr.enclosingDeclaration),pi=$o(ot,ln),Ma=e.factory.createModuleBlock([e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.mapDefined(e.filter(ja,function(yo){return yo.escapedName!==\"export=\"}),function(yo){var ns,Oo,Ao=e.unescapeLeadingUnderscores(yo.escapedName),Os=$o(yo,Ao),hl=yo.declarations&&ec(yo);if(Va&&(hl?Va!==e.getSourceFileOfNode(hl):!e.some(yo.declarations,function(z_){return e.getSourceFileOfNode(z_)===Va}))){(Oo=(ns=Tr.tracker)===null||ns===void 0?void 0:ns.reportNonlocalAugmentation)===null||Oo===void 0||Oo.call(ns,Va,ot,yo);return}var As=hl&&mo(hl,!0);bs(As||yo);var Cc=As?$o(As,e.unescapeLeadingUnderscores(As.escapedName)):Os;return e.factory.createExportSpecifier(!1,Ao===Cc?void 0:Cc,Ao)})))]);Ls(e.factory.createModuleDeclaration(void 0,void 0,e.factory.createIdentifier(pi),Ma,16),0)}}function qo(ot,ln,aa){Ls(e.factory.createEnumDeclaration(void 0,e.factory.createModifiersFromModifierFlags($1(ot)?2048:0),$o(ot,ln),e.map(e.filter(Yi(An(ot)),function(qn){return!!(qn.flags&8)}),function(qn){var ra=qn.declarations&&qn.declarations[0]&&e.isEnumMember(qn.declarations[0])?AT(qn.declarations[0]):void 0;return e.factory.createEnumMember(e.unescapeLeadingUnderscores(qn.escapedName),ra===void 0?void 0:typeof ra==\"string\"?e.factory.createStringLiteral(ra):e.factory.createNumericLiteral(ra))})),aa)}function uo(ot,ln,aa,qn){for(var ra=Ni(ot,0),Xa=0,ja=ra;Xa<ja.length;Xa++){var pi=ja[Xa],Va=Ue(pi,255,Tr,{name:e.factory.createIdentifier(aa),privateSymbolVisitor:bs,bundledImports:hn});Ls(e.setTextRange(Va,Bs(pi)),qn)}if(!(ln.flags&1536&&!!ln.exports&&!!ln.exports.size)){var Ma=e.filter(Yi(ot),st);Kr(Ma,aa,qn,!0)}}function Bs(ot){if(ot.declaration&&ot.declaration.parent){if(e.isBinaryExpression(ot.declaration.parent)&&e.getAssignmentDeclarationKind(ot.declaration.parent)===5)return ot.declaration.parent;if(e.isVariableDeclaration(ot.declaration.parent)&&ot.declaration.parent.parent)return ot.declaration.parent.parent}return ot.declaration}function Kr(ot,ln,aa,qn){if(e.length(ot)){var ra=e.arrayToMultiMap(ot,function(Ao){return!e.length(Ao.declarations)||e.some(Ao.declarations,function(Os){return e.getSourceFileOfNode(Os)===e.getSourceFileOfNode(Tr.enclosingDeclaration)})?\"local\":\"remote\"}),Xa=ra.get(\"local\")||e.emptyArray,ja=e.parseNodeFactory.createModuleDeclaration(void 0,void 0,e.factory.createIdentifier(ln),e.factory.createModuleBlock([]),16);e.setParent(ja,En),ja.locals=e.createSymbolTable(ot),ja.symbol=ot[0].parent;var pi=Fn;Fn=[];var Va=Bt;Bt=!1;var Ma=Rn(Rn({},Tr),{enclosingDeclaration:ja}),qi=Tr;Tr=Ma,Ds(e.createSymbolTable(Xa),qn,!0),Tr=qi,Bt=Va;var yo=Fn;Fn=pi;var ns=e.map(yo,function(Ao){return e.isExportAssignment(Ao)&&!Ao.isExportEquals&&e.isIdentifier(Ao.expression)?e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([e.factory.createExportSpecifier(!1,Ao.expression,e.factory.createIdentifier(\"default\"))])):Ao}),Oo=e.every(ns,function(Ao){return e.hasSyntacticModifier(Ao,1)})?e.map(ns,ao):ns;ja=e.factory.updateModuleDeclaration(ja,ja.decorators,ja.modifiers,ja.name,e.factory.createModuleBlock(Oo)),Ls(ja,aa)}}function st(ot){return!!(ot.flags&2887656)||!(ot.flags&4194304||ot.escapedName===\"prototype\"||ot.valueDeclaration&&e.isStatic(ot.valueDeclaration)&&e.isClassLike(ot.valueDeclaration.parent))}function kt(ot){var ln=e.mapDefined(ot,function(aa){var qn,ra=Tr.enclosingDeclaration;Tr.enclosingDeclaration=aa;var Xa=aa.expression;if(e.isEntityNameExpression(Xa)){if(e.isIdentifier(Xa)&&e.idText(Xa)===\"\")return pi(void 0);var ja=void 0;if(qn=Pi(Xa,Tr,bs),ja=qn.introducesError,Xa=qn.node,ja)return pi(void 0)}return pi(e.factory.createExpressionWithTypeArguments(Xa,e.map(aa.typeArguments,function(Va){return jn(Tr,Va,bs,hn)||o(Da(Va),Tr)})));function pi(Va){return Tr.enclosingDeclaration=ra,Va}});if(ln.length===ot.length)return ln}function $t(ot,ln,aa){var qn,ra,Xa=(qn=ot.declarations)===null||qn===void 0?void 0:qn.find(e.isClassLike),ja=Tr.enclosingDeclaration;Tr.enclosingDeclaration=Xa||ja;var pi=mu(ot),Va=e.map(pi,function(Jl){return ar(Jl,Tr)}),Ma=Hn(ot),qi=xl(Ma),yo=Xa&&e.getEffectiveImplementsTypeNodes(Xa),ns=yo&&kt(yo)||e.mapDefined(Fv(Ma),Xo),Oo=An(ot),Ao=!!(!((ra=Oo.symbol)===null||ra===void 0)&&ra.valueDeclaration)&&e.isClassLike(Oo.symbol.valueDeclaration),Os=Ao?Ju(Oo):Ze,hl=Gt(Gt([],e.length(qi)?[e.factory.createHeritageClause(94,e.map(qi,function(Jl){return ps(Jl,Os,ln)}))]:[],!0),e.length(ns)?[e.factory.createHeritageClause(117,ns)]:[],!0),As=h3(Ma,qi,Yi(Ma)),Cc=e.filter(As,function(Jl){var vp=Jl.valueDeclaration;return!!vp&&!(e.isNamedDeclaration(vp)&&e.isPrivateIdentifier(vp.name))}),z_=e.some(As,function(Jl){var vp=Jl.valueDeclaration;return!!vp&&e.isNamedDeclaration(vp)&&e.isPrivateIdentifier(vp.name)}),D_=z_?[e.factory.createPropertyDeclaration(void 0,void 0,e.factory.createPrivateIdentifier(\"#private\"),void 0,void 0,void 0)]:e.emptyArray,Cd=e.flatMap(Cc,function(Jl){return nn(Jl,!1,qi[0])}),Hp=e.flatMap(e.filter(Yi(Oo),function(Jl){return!(Jl.flags&4194304)&&Jl.escapedName!==\"prototype\"&&!st(Jl)}),function(Jl){return nn(Jl,!0,Os)}),Jp=!Ao&&!!ot.valueDeclaration&&e.isInJSFile(ot.valueDeclaration)&&!e.some(Ni(Oo,1)),xd=Jp?[e.factory.createConstructorDeclaration(void 0,e.factory.createModifiersFromModifierFlags(8),[],void 0)]:so(1,Oo,Os,170),xm=Ui(Ma,qi[0]);Tr.enclosingDeclaration=ja,Ls(e.setTextRange(e.factory.createClassDeclaration(void 0,void 0,ln,Va,hl,Gt(Gt(Gt(Gt(Gt([],xm,!0),Hp,!0),xd,!0),Cd,!0),D_,!0)),ot.declarations&&e.filter(ot.declarations,function(Jl){return e.isClassDeclaration(Jl)||e.isClassExpression(Jl)})[0]),aa)}function ea(ot){return e.firstDefined(ot,function(ln){if(e.isImportSpecifier(ln)||e.isExportSpecifier(ln))return e.idText(ln.propertyName||ln.name);if(e.isBinaryExpression(ln)||e.isExportAssignment(ln)){var aa=e.isExportAssignment(ln)?ln.expression:ln.right;if(e.isPropertyAccessExpression(aa))return e.idText(aa.name)}if(Ud(ln)){var qn=e.getNameOfDeclaration(ln);if(qn&&e.isIdentifier(qn))return e.idText(qn)}})}function Gn(ot,ln,aa){var qn,ra,Xa,ja,pi,Va=ec(ot);if(!Va)return e.Debug.fail();var Ma=Ga(mo(Va,!0));if(!!Ma){var qi=e.isShorthandAmbientModuleSymbol(Ma)&&ea(ot.declarations)||e.unescapeLeadingUnderscores(Ma.escapedName);qi===\"export=\"&&(e.getESModuleInterop(Xe)||Xe.allowSyntheticDefaultImports)&&(qi=\"default\");var yo=$o(Ma,qi);switch(bs(Ma),Va.kind){case 202:if(((ra=(qn=Va.parent)===null||qn===void 0?void 0:qn.parent)===null||ra===void 0?void 0:ra.kind)===253){var ns=Nn(Ma.parent||Ma,Tr),Oo=Va.propertyName;Ls(e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,void 0,e.factory.createNamedImports([e.factory.createImportSpecifier(!1,Oo&&e.isIdentifier(Oo)?e.factory.createIdentifier(e.idText(Oo)):void 0,e.factory.createIdentifier(ln))])),e.factory.createStringLiteral(ns),void 0),0);break}e.Debug.failBadSyntaxKind(((Xa=Va.parent)===null||Xa===void 0?void 0:Xa.parent)||Va,\"Unhandled binding element grandparent kind in declaration serialization\");break;case 295:((pi=(ja=Va.parent)===null||ja===void 0?void 0:ja.parent)===null||pi===void 0?void 0:pi.kind)===220&&Tn(e.unescapeLeadingUnderscores(ot.escapedName),yo);break;case 253:if(e.isPropertyAccessExpression(Va.initializer)){var Ao=Va.initializer,Os=e.factory.createUniqueName(ln),hl=Nn(Ma.parent||Ma,Tr);Ls(e.factory.createImportEqualsDeclaration(void 0,void 0,!1,Os,e.factory.createExternalModuleReference(e.factory.createStringLiteral(hl))),0),Ls(e.factory.createImportEqualsDeclaration(void 0,void 0,!1,e.factory.createIdentifier(ln),e.factory.createQualifiedName(Os,Ao.name)),aa);break}case 264:if(Ma.escapedName===\"export=\"&&e.some(Ma.declarations,e.isJsonSourceFile)){zt(ot);break}var As=!(Ma.flags&512)&&!e.isVariableDeclaration(Va);Ls(e.factory.createImportEqualsDeclaration(void 0,void 0,!1,e.factory.createIdentifier(ln),As?Aa(Ma,Tr,67108863,!1):e.factory.createExternalModuleReference(e.factory.createStringLiteral(Nn(Ma,Tr)))),As?aa:0);break;case 263:Ls(e.factory.createNamespaceExportDeclaration(e.idText(Va.name)),0);break;case 266:Ls(e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,e.factory.createIdentifier(ln),void 0),e.factory.createStringLiteral(Nn(Ma.parent||Ma,Tr)),void 0),0);break;case 267:Ls(e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,void 0,e.factory.createNamespaceImport(e.factory.createIdentifier(ln))),e.factory.createStringLiteral(Nn(Ma,Tr)),void 0),0);break;case 273:Ls(e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamespaceExport(e.factory.createIdentifier(ln)),e.factory.createStringLiteral(Nn(Ma,Tr))),0);break;case 269:Ls(e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,void 0,e.factory.createNamedImports([e.factory.createImportSpecifier(!1,ln!==qi?e.factory.createIdentifier(qi):void 0,e.factory.createIdentifier(ln))])),e.factory.createStringLiteral(Nn(Ma.parent||Ma,Tr)),void 0),0);break;case 274:var Cc=Va.parent.parent.moduleSpecifier;Tn(e.unescapeLeadingUnderscores(ot.escapedName),Cc?qi:yo,Cc&&e.isStringLiteralLike(Cc)?e.factory.createStringLiteral(Cc.text):void 0);break;case 270:zt(ot);break;case 220:case 205:case 206:ot.escapedName===\"default\"||ot.escapedName===\"export=\"?zt(ot):Tn(ln,yo);break;default:return e.Debug.failBadSyntaxKind(Va,\"Unhandled alias declaration kind in symbol serializer!\")}}}function Tn(ot,ln,aa){Ls(e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([e.factory.createExportSpecifier(!1,ot!==ln?ln:void 0,ot)]),aa),0)}function zt(ot){if(ot.flags&4194304)return!1;var ln=e.unescapeLeadingUnderscores(ot.escapedName),aa=ln===\"export=\",qn=ln===\"default\",ra=aa||qn,Xa=ot.declarations&&ec(ot),ja=Xa&&mo(Xa,!0);if(ja&&e.length(ja.declarations)&&e.some(ja.declarations,function(Ao){return e.getSourceFileOfNode(Ao)===e.getSourceFileOfNode(En)})){var pi=Xa&&(e.isExportAssignment(Xa)||e.isBinaryExpression(Xa)?e.getExportAssignmentExpression(Xa):e.getPropertyAssignmentAliasLikeExpression(Xa)),Va=pi&&e.isEntityNameExpression(pi)?k3(pi):void 0,Ma=Va&&rs(Va,67108863,!0,!0,En);(Ma||ja)&&bs(Ma||ja);var qi=Tr.tracker.trackSymbol;if(Tr.tracker.trackSymbol=function(){return!1},ra)Fn.push(e.factory.createExportAssignment(void 0,void 0,aa,Li(ja,Tr,67108863)));else if(Va===pi&&Va)Tn(ln,e.idText(Va));else if(pi&&e.isClassExpression(pi))Tn(ln,$o(ja,e.symbolName(ja)));else{var yo=eo(ln,ot);Ls(e.factory.createImportEqualsDeclaration(void 0,void 0,!1,e.factory.createIdentifier(yo),Aa(ja,Tr,67108863,!1)),0),Tn(ln,yo)}return Tr.tracker.trackSymbol=qi,!0}else{var yo=eo(ln,ot),ns=wl(An(Ga(ot)));if(ni(ns,ot))uo(ns,ot,yo,ra?0:1);else{var Oo=e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(yo,void 0,Ba(Tr,ns,ot,En,bs,hn))],2));Ls(Oo,ja&&ja.flags&4&&ja.escapedName===\"export=\"?2:ln===yo?1:0)}return ra?(Fn.push(e.factory.createExportAssignment(void 0,void 0,aa,e.factory.createIdentifier(yo))),!0):ln!==yo?(Tn(ln,yo),!0):!1}}function ni(ot,ln){var aa=e.getSourceFileOfNode(Tr.enclosingDeclaration);return e.getObjectFlags(ot)&48&&!e.length(Ps(ot))&&!$d(ot)&&!!(e.length(e.filter(Yi(ot),st))||e.length(Ni(ot,0)))&&!e.length(Ni(ot,1))&&!Ca(ln,En)&&!(ot.symbol&&e.some(ot.symbol.declarations,function(qn){return e.getSourceFileOfNode(qn)!==aa}))&&!e.some(Yi(ot),function(qn){return Ip(qn.escapedName)})&&!e.some(Yi(ot),function(qn){return e.some(qn.declarations,function(ra){return e.getSourceFileOfNode(ra)!==aa})})&&e.every(Yi(ot),function(qn){return e.isIdentifierText(e.symbolName(qn),De)})}function vi(ot,ln,aa){return function(ra,Xa,ja){var pi,Va,Ma,qi,yo,ns=e.getDeclarationModifierFlagsFromSymbol(ra),Oo=!!(ns&8);if(Xa&&ra.flags&2887656)return[];if(ra.flags&4194304||ja&&Ii(ja,ra.escapedName)&&Iu(Ii(ja,ra.escapedName))===Iu(ra)&&(ra.flags&16777216)===(Ii(ja,ra.escapedName).flags&16777216)&&jf(An(ra),ia(ja,ra.escapedName)))return[];var Ao=ns&-257|(Xa?32:0),Os=xo(ra,Tr),hl=(pi=ra.declarations)===null||pi===void 0?void 0:pi.find(e.or(e.isPropertyDeclaration,e.isAccessor,e.isVariableDeclaration,e.isPropertySignature,e.isBinaryExpression,e.isPropertyAccessExpression));if(ra.flags&98304&&aa){var As=[];if(ra.flags&65536&&As.push(e.setTextRange(e.factory.createSetAccessorDeclaration(void 0,e.factory.createModifiersFromModifierFlags(Ao),Os,[e.factory.createParameterDeclaration(void 0,void 0,void 0,\"arg\",void 0,Oo?void 0:Ba(Tr,An(ra),ra,En,bs,hn))],void 0),((Va=ra.declarations)===null||Va===void 0?void 0:Va.find(e.isSetAccessor))||hl)),ra.flags&32768){var Cc=ns&8;As.push(e.setTextRange(e.factory.createGetAccessorDeclaration(void 0,e.factory.createModifiersFromModifierFlags(Ao),Os,[],Cc?void 0:Ba(Tr,An(ra),ra,En,bs,hn),void 0),((Ma=ra.declarations)===null||Ma===void 0?void 0:Ma.find(e.isGetAccessor))||hl))}return As}else if(ra.flags&98311)return e.setTextRange(ot(void 0,e.factory.createModifiersFromModifierFlags((Iu(ra)?64:0)|Ao),Os,ra.flags&16777216?e.factory.createToken(57):void 0,Oo?void 0:Ba(Tr,An(ra),ra,En,bs,hn),void 0),((qi=ra.declarations)===null||qi===void 0?void 0:qi.find(e.or(e.isPropertyDeclaration,e.isVariableDeclaration)))||hl);if(ra.flags&8208){var z_=An(ra),D_=Ni(z_,0);if(Ao&8)return e.setTextRange(ot(void 0,e.factory.createModifiersFromModifierFlags((Iu(ra)?64:0)|Ao),Os,ra.flags&16777216?e.factory.createToken(57):void 0,void 0,void 0),((yo=ra.declarations)===null||yo===void 0?void 0:yo.find(e.isFunctionLikeDeclaration))||D_[0]&&D_[0].declaration||ra.declarations&&ra.declarations[0]);for(var Cd=[],Hp=0,Jp=D_;Hp<Jp.length;Hp++){var xd=Jp[Hp],xm=Ue(xd,ln,Tr,{name:Os,questionToken:ra.flags&16777216?e.factory.createToken(57):void 0,modifiers:Ao?e.factory.createModifiersFromModifierFlags(Ao):void 0}),Jl=xd.declaration&&e.isPrototypePropertyAssignment(xd.declaration.parent)?xd.declaration.parent:xd.declaration;Cd.push(e.setTextRange(xm,Jl))}return Cd}return e.Debug.fail(\"Unhandled class member kind! \".concat(ra.__debugFlags||ra.flags))}}function ai(ot,ln){return Vn(ot,!1,ln)}function so(ot,ln,aa,qn){var ra=Ni(ln,ot);if(ot===1){if(!aa&&e.every(ra,function(As){return e.length(As.parameters)===0}))return[];if(aa){var Xa=Ni(aa,1);if(!e.length(Xa)&&e.every(ra,function(As){return e.length(As.parameters)===0}))return[];if(Xa.length===ra.length){for(var ja=!1,pi=0;pi<Xa.length;pi++)if(!_h(ra[pi],Xa[pi],!1,!1,!0,$g)){ja=!0;break}if(!ja)return[]}}for(var Va=0,Ma=0,qi=ra;Ma<qi.length;Ma++){var yo=qi[Ma];yo.declaration&&(Va|=e.getSelectedEffectiveModifierFlags(yo.declaration,24))}if(Va)return[e.setTextRange(e.factory.createConstructorDeclaration(void 0,e.factory.createModifiersFromModifierFlags(Va),[],void 0),ra[0].declaration)]}for(var ns=[],Oo=0,Ao=ra;Oo<Ao.length;Oo++){var Os=Ao[Oo],hl=Ue(Os,qn,Tr);ns.push(e.setTextRange(hl,Os.declaration))}return ns}function Ui(ot,ln){for(var aa=[],qn=0,ra=Ps(ot);qn<ra.length;qn++){var Xa=ra[qn];if(ln){var ja=oc(ln,Xa.keyType);if(ja&&jf(Xa.type,ja.type))continue}aa.push(we(Xa,Tr,void 0))}return aa}function ps(ot,ln,aa){var qn=ls(ot,111551);if(qn)return qn;var ra=eo(\"\".concat(aa,\"_base\")),Xa=e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(ra,void 0,o(ln,Tr))],2));return Ls(Xa,0),e.factory.createExpressionWithTypeArguments(e.factory.createIdentifier(ra),void 0)}function ls(ot,ln){var aa,qn;if(ot.target&&bc(ot.target.symbol,En,ln)?(aa=e.map(vo(ot),function(ra){return o(ra,Tr)}),qn=Li(ot.target.symbol,Tr,788968)):ot.symbol&&bc(ot.symbol,En,ln)&&(qn=Li(ot.symbol,Tr,788968)),qn)return e.factory.createExpressionWithTypeArguments(qn,aa)}function Xo(ot){var ln=ls(ot,788968);if(ln)return ln;if(ot.symbol)return e.factory.createExpressionWithTypeArguments(Li(ot.symbol,Tr,788968),void 0)}function eo(ot,ln){var aa,qn,ra=ln?y(ln):void 0;if(ra&&Tr.remappedSymbolNames.has(ra))return Tr.remappedSymbolNames.get(ra);ln&&(ot=Ko(ln,ot));for(var Xa=0,ja=ot;!((aa=Tr.usedSymbolNames)===null||aa===void 0)&&aa.has(ot);)Xa++,ot=\"\".concat(ja,\"_\").concat(Xa);return(qn=Tr.usedSymbolNames)===null||qn===void 0||qn.add(ot),ra&&Tr.remappedSymbolNames.set(ra,ot),ot}function Ko(ot,ln){if(ln===\"default\"||ln===\"__class\"||ln===\"__function\"){var aa=Tr.flags;Tr.flags|=16777216;var qn=Fc(ot,Tr);Tr.flags=aa,ln=qn.length>0&&e.isSingleOrDoubleQuote(qn.charCodeAt(0))?e.stripQuotes(qn):qn}return ln===\"default\"?ln=\"_default\":ln===\"export=\"&&(ln=\"_exports\"),ln=e.isIdentifierText(ln,De)&&!e.isStringANonContextualKeyword(ln)?ln:\"_\"+ln.replace(/[^a-zA-Z0-9]/g,\"_\"),ln}function $o(ot,ln){var aa=y(ot);return Tr.remappedSymbolNames.has(aa)?Tr.remappedSymbolNames.get(aa):(ln=Ko(ot,ln),Tr.remappedSymbolNames.set(aa,ln),ln)}}}function Yc(r,t,i,o){return i===void 0&&(i=16384),o?s(o).getText():e.usingSingleLineStringWriter(s);function s(c){var L=e.factory.createTypePredicateNode(r.kind===2||r.kind===3?e.factory.createToken(128):void 0,r.kind===1||r.kind===3?e.factory.createIdentifier(r.parameterName):e.factory.createThisTypeNode(),r.type&&Sr.typeToTypeNode(r.type,t,Pc(i)|70221824|512)),G=e.createPrinter({removeComments:!0}),ce=t&&e.getSourceFileOfNode(t);return G.writeNode(4,L,ce,c),c}}function Lp(r){for(var t=[],i=0,o=0;o<r.length;o++){var s=r[o];if(i|=s.flags,!(s.flags&98304)){if(s.flags&1536){var c=s.flags&512?Jn:Zs(s);if(c.flags&1048576){var L=c.types.length;if(o+L<=r.length&&kl(r[o+L-1])===kl(c.types[L-1])){t.push(c),o+=L-1;continue}}}t.push(s)}}return i&65536&&t.push(ut),i&32768&&t.push(Nr),t||r}function pd(r){return r===8?\"private\":r===16?\"protected\":\"public\"}function Ap(r){if(r.symbol&&r.symbol.flags&2048&&r.symbol.declarations){var t=e.walkUpParenthesizedTypes(r.symbol.declarations[0].parent);if(t.kind===258)return wn(t)}}function Ul(r){return r&&r.parent&&r.parent.kind===261&&e.isExternalModuleAugmentation(r.parent.parent)}function wf(r){return r.kind===303||e.isAmbientModule(r)}function _d(r,t){var i=Ja(r).nameType;if(i){if(i.flags&384){var o=\"\"+i.value;return!e.isIdentifierText(o,e.getEmitScriptTarget(Xe))&&!zf(o)?'\"'.concat(e.escapeString(o,34),'\"'):zf(o)&&e.startsWith(o,\"-\")?\"[\".concat(o,\"]\"):o}if(i.flags&8192)return\"[\".concat(Fc(i.symbol,t),\"]\")}}function Fc(r,t){if(t&&r.escapedName===\"default\"&&!(t.flags&16384)&&(!(t.flags&16777216)||!r.declarations||t.enclosingDeclaration&&e.findAncestor(r.declarations[0],wf)!==e.findAncestor(t.enclosingDeclaration,wf)))return\"default\";if(r.declarations&&r.declarations.length){var i=e.firstDefined(r.declarations,function(G){return e.getNameOfDeclaration(G)?G:void 0}),o=i&&e.getNameOfDeclaration(i);if(i&&o){if(e.isCallExpression(i)&&e.isBindableObjectDefinePropertyCall(i))return e.symbolName(r);if(e.isComputedPropertyName(o)&&!(e.getCheckFlags(r)&4096)){var s=Ja(r).nameType;if(s&&s.flags&384){var c=_d(r,t);if(c!==void 0)return c}}return e.declarationNameToString(o)}if(i||(i=r.declarations[0]),i.parent&&i.parent.kind===253)return e.declarationNameToString(i.parent.name);switch(i.kind){case 225:case 212:case 213:return t&&!t.encounteredError&&!(t.flags&131072)&&(t.encounteredError=!0),i.kind===225?\"(Anonymous class)\":\"(Anonymous function)\"}}var L=_d(r,t);return L!==void 0?L:e.symbolName(r)}function Qc(r){if(r){var t=Zn(r);return t.isVisible===void 0&&(t.isVisible=!!i()),t.isVisible}return!1;function i(){switch(r.kind){case 336:case 343:case 337:return!!(r.parent&&r.parent.parent&&r.parent.parent.parent&&e.isSourceFile(r.parent.parent.parent));case 202:return Qc(r.parent.parent);case 253:if(e.isBindingPattern(r.name)&&!r.name.elements.length)return!1;case 260:case 256:case 257:case 258:case 255:case 259:case 264:if(e.isExternalModuleAugmentation(r))return!0;var o=fa(r);return!(e.getCombinedModifierFlags(r)&1)&&!(r.kind!==264&&o.kind!==303&&o.flags&8388608)?Oc(o):Qc(o);case 166:case 165:case 171:case 172:case 168:case 167:if(e.hasEffectiveModifier(r,24))return!1;case 170:case 174:case 173:case 175:case 163:case 261:case 178:case 179:case 181:case 177:case 182:case 183:case 186:case 187:case 190:case 196:return Qc(r.parent);case 266:case 267:case 269:return!1;case 162:case 303:case 263:return!0;case 270:return!1;default:return!1}}}function Mf(r,t){var i;r.parent&&r.parent.kind===270?i=Uo(r,r.escapedText,2998271,void 0,r,!1):r.parent.kind===274&&(i=pl(r.parent,2998271));var o,s;return i&&(s=new e.Set,s.add(y(i)),c(i.declarations)),o;function c(L){e.forEach(L,function(G){var ce=mc(G)||G;if(t?Zn(G).isVisible=!0:(o=o||[],e.pushIfUnique(o,ce)),e.isInternalModuleImportEqualsDeclaration(G)){var we=G.moduleReference,Ue=e.getFirstIdentifier(we),Je=Uo(G,Ue.escapedText,901119,void 0,void 0,!1);Je&&s&&e.tryAddToSet(s,y(Je))&&c(Je.declarations)}})}}function E(r,t){var i=Qe(r,t);if(i>=0){for(var o=uc.length,s=i;s<o;s++)cu[s]=!1;return!1}return uc.push(r),cu.push(!0),no.push(t),!0}function Qe(r,t){for(var i=uc.length-1;i>=0;i--){if(nt(uc[i],no[i]))return-1;if(uc[i]===r&&no[i]===t)return i}return-1}function nt(r,t){switch(t){case 0:return!!Ja(r).type;case 5:return!!Zn(r).resolvedEnumType;case 2:return!!Ja(r).declaredType;case 1:return!!r.resolvedBaseConstructorType;case 3:return!!r.resolvedReturnType;case 4:return!!r.immediateBaseConstraint;case 6:return!!r.resolvedTypeArguments;case 7:return!!r.baseTypesResolved}return e.Debug.assertNever(t)}function Ot(){return uc.pop(),no.pop(),cu.pop()}function fa(r){return e.findAncestor(e.getRootDeclaration(r),function(t){switch(t.kind){case 253:case 254:case 269:case 268:case 267:case 266:return!1;default:return!0}}).parent}function Oa(r){var t=po(Ts(r));return t.typeParameters?Uf(t,e.map(t.typeParameters,function(i){return Ze})):t}function ia(r,t){var i=Ii(r,t);return i?An(i):void 0}function ti(r,t){var i;return ia(r,t)||((i=ip(r,t))===null||i===void 0?void 0:i.type)||tr}function Na(r){return r&&(r.flags&1)!==0}function Ua(r){return r===dr||!!(r.flags&1&&r.aliasSymbol)}function Go(r){var t=wn(r);return t&&Ja(t).type||ep(r,!1)}function cl(r,t,i){if(r=rl(r,function(Ue){return!(Ue.flags&98304)}),r.flags&131072)return Qn;if(r.flags&1048576)return ds(r,function(Ue){return cl(Ue,t,i)});var o=ma(e.map(t,lp));if(P_(r)||F_(o)){if(o.flags&131072)return r;var s=zk();return s?Zm(s,[r,o]):dr}for(var c=e.createSymbolTable(),L=0,G=Yi(r);L<G.length;L++){var ce=G[L];!Qi(eg(ce,8576),o)&&!(e.getDeclarationModifierFlagsFromSymbol(ce)&24)&&xy(ce)&&c.set(ce.escapedName,h0(ce,!1))}var we=ts(i,c,e.emptyArray,e.emptyArray,Ps(r));return we.objectFlags|=8388608,we}function os(r){return!!(r.flags&465829888)&&Jo(l(r)||tr,32768)}function is(r){var t=hm(r,os)?ds(r,function(i){return i.flags&465829888?ee(i):i}):r;return Fs(t,524288)}function Vl(r,t){var i=Zc(r);return i?y_(i,t):t}function Zc(r){var t=$c(r);if(t&&t.flowNode){var i=md(r);if(i){var o=e.setTextRange(e.parseNodeFactory.createStringLiteral(i),r),s=e.isLeftHandSideExpression(t)?t:e.parseNodeFactory.createParenthesizedExpression(t),c=e.setTextRange(e.parseNodeFactory.createElementAccessExpression(s,o),r);return e.setParent(o,c),e.setParent(c,r),s!==t&&e.setParent(s,c),c.flowNode=t.flowNode,c}}}function $c(r){var t=r.parent.parent;switch(t.kind){case 202:case 294:return Zc(t);case 203:return Zc(r.parent);case 253:return t.initializer;case 220:return t.right}}function md(r){var t=r.parent;return r.kind===202&&t.kind===200?t_(r.propertyName||r.name):r.kind===294||r.kind===295?t_(r.name):\"\"+t.elements.indexOf(r)}function t_(r){var t=lp(r);return t.flags&384?\"\"+t.value:void 0}function tf(r){var t=r.parent,i=Go(t.parent);if(!i||Na(i))return i;br&&r.flags&8388608&&e.isParameterDeclaration(r)?i=Td(i):br&&t.parent.initializer&&!(mp(_A(t.parent.initializer))&65536)&&(i=Fs(i,524288));var o;if(t.kind===200)if(r.dotDotDotToken){if(i=Eo(i),i.flags&2||!ug(i))return Mr(r,e.Diagnostics.Rest_types_may_only_be_created_from_object_types),dr;for(var s=[],c=0,L=t.elements;c<L.length;c++){var G=L[c];G.dotDotDotToken||s.push(G.propertyName||G.name)}o=cl(i,s,r.symbol)}else{var ce=r.propertyName||r.name,we=lp(ce),Ue=Hl(i,we,32,ce);o=Vl(r,Ue)}else{var Je=Ld(65|(r.dotDotDotToken?0:128),i,Nr,t),ar=t.elements.indexOf(r);if(r.dotDotDotToken)o=Kf(i,ki)?ds(i,function(Gr){return qg(Gr,ar)}):zs(Je);else if(_p(i)){var we=Wf(ar),_r=32|(cg(r)?16:0),Ue=cp(i,we,_r,r.name)||dr;o=Vl(r,Ue)}else o=Je}return r.initializer?e.getEffectiveTypeAnnotationNode(e.walkUpBindingElementsAndPatterns(r))?br&&!(lc(Rh(r))&32768)?is(o):o:rT(r,ma([is(o),Rh(r)],2)):o}function Pf(r){var t=e.getJSDocType(r);if(t)return Da(t)}function n_(r){var t=e.skipParentheses(r,!0);return t.kind===104||t.kind===79&&Lu(t)===He}function gd(r){var t=e.skipParentheses(r,!0);return t.kind===203&&t.elements.length===0}function Wl(r,t,i){return t===void 0&&(t=!1),i===void 0&&(i=!0),br&&i?Jf(r,t):r}function ep(r,t){if(e.isVariableDeclaration(r)&&r.parent.parent.kind===242){var i=qu(k1(ui(r.parent.parent.expression)));return i.flags&4456448?$D(i):xt}if(e.isVariableDeclaration(r)&&r.parent.parent.kind===243){var o=r.parent.parent;return Bh(o)||Ze}if(e.isBindingPattern(r.parent))return tf(r);var s=e.isPropertyDeclaration(r)||e.isPropertySignature(r),c=t&&(s&&!!r.questionToken||e.isParameter(r)&&(!!r.questionToken||Xm(r))||JE(r)),L=Ms(r);if(L)return Wl(L,s,c);if((Ke||e.isInJSFile(r))&&e.isVariableDeclaration(r)&&!e.isBindingPattern(r.name)&&!(e.getCombinedModifierFlags(r)&1)&&!(r.flags&8388608)){if(!(e.getCombinedNodeFlags(r)&2)&&(!r.initializer||n_(r.initializer)))return Cr;if(r.initializer&&gd(r.initializer))return ta}if(e.isParameter(r)){var G=r.parent;if(G.kind===172&&l_(G)){var ce=e.getDeclarationOfKind(wn(r.parent),171);if(ce){var we=bu(ce),Ue=OT(G);return Ue&&r===Ue?(e.Debug.assert(!Ue.type),An(we.thisParameter)):_o(we)}}if(e.isInJSFile(r)){var Je=e.getJSDocType(G);if(Je&&e.isFunctionTypeNode(Je)){var ar=bu(Je),_r=G.parameters.indexOf(r);return r.dotDotDotToken?gg(ar,_r):Uc(ar,_r)}}var Gr=r.symbol.escapedName===\"this\"?RA(G):wA(r);if(Gr)return Wl(Gr,!1,c)}if(e.hasOnlyExpressionInitializer(r)&&!!r.initializer){if(e.isInJSFile(r)&&!e.isParameter(r)){var Zr=$n(r,wn(r),e.getDeclaredExpandoInitializer(r));if(Zr)return Zr}var Gr=rT(r,Rh(r));return Wl(Gr,s,c)}if(e.isPropertyDeclaration(r)&&(Ke||e.isInJSFile(r)))if(e.hasStaticModifier(r)){var Tt=e.filter(r.parent.members,e.isClassStaticBlockDeclaration),Gr=Tt.length?at(r.symbol,Tt):e.getEffectiveModifierFlags(r)&2?Fy(r.symbol):void 0;return Gr&&Wl(Gr,!0,c)}else{var Et=$u(r.parent),Gr=Et?Ct(r.symbol,Et):e.getEffectiveModifierFlags(r)&2?Fy(r.symbol):void 0;return Gr&&Wl(Gr,!0,c)}if(e.isJsxAttribute(r))return sa;if(e.isBindingPattern(r.name))return xs(r.name,!1,!0)}function a_(r){if(r.valueDeclaration&&e.isBinaryExpression(r.valueDeclaration)){var t=Ja(r);return t.isConstructorDeclaredProperty===void 0&&(t.isConstructorDeclaredProperty=!1,t.isConstructorDeclaredProperty=!!Er(r)&&e.every(r.declarations,function(i){return e.isBinaryExpression(i)&&ob(i)&&(i.left.kind!==206||e.isStringOrNumericLiteralLike(i.left.argumentExpression))&&!wa(void 0,i,r,i)})),t.isConstructorDeclaredProperty}return!1}function xe(r){var t=r.valueDeclaration;return t&&e.isPropertyDeclaration(t)&&!e.getEffectiveTypeAnnotationNode(t)&&!t.initializer&&(Ke||e.isInJSFile(t))}function Er(r){if(!!r.declarations)for(var t=0,i=r.declarations;t<i.length;t++){var o=i[t],s=e.getThisContainer(o,!1);if(s&&(s.kind===170||ou(s)))return s}}function Fr(r){var t=e.getSourceFileOfNode(r.declarations[0]),i=e.unescapeLeadingUnderscores(r.escapedName),o=r.declarations.every(function(c){return e.isInJSFile(c)&&e.isAccessExpression(c)&&e.isModuleExportsAccessExpression(c.expression)}),s=o?e.factory.createPropertyAccessExpression(e.factory.createPropertyAccessExpression(e.factory.createIdentifier(\"module\"),e.factory.createIdentifier(\"exports\")),i):e.factory.createPropertyAccessExpression(e.factory.createIdentifier(\"exports\"),i);return o&&e.setParent(s.expression.expression,s.expression),e.setParent(s.expression,s),e.setParent(s,t),s.flowNode=t.endFlowNode,y_(s,Cr,Nr)}function at(r,t){for(var i=e.startsWith(r.escapedName,\"__#\")?e.factory.createPrivateIdentifier(r.escapedName.split(\"@\")[1]):e.unescapeLeadingUnderscores(r.escapedName),o=0,s=t;o<s.length;o++){var c=s[o],L=e.factory.createPropertyAccessExpression(e.factory.createThis(),i);e.setParent(L.expression,L),e.setParent(L,c),L.flowNode=c.returnFlowNode;var G=Xt(L,r);if(Ke&&(G===Cr||G===ta)&&Mr(r.valueDeclaration,e.Diagnostics.Member_0_implicitly_has_an_1_type,Wa(r),gn(G)),!Kf(G,db))return Tv(G)}}function Ct(r,t){var i=e.startsWith(r.escapedName,\"__#\")?e.factory.createPrivateIdentifier(r.escapedName.split(\"@\")[1]):e.unescapeLeadingUnderscores(r.escapedName),o=e.factory.createPropertyAccessExpression(e.factory.createThis(),i);e.setParent(o.expression,o),e.setParent(o,t),o.flowNode=t.returnFlowNode;var s=Xt(o,r);return Ke&&(s===Cr||s===ta)&&Mr(r.valueDeclaration,e.Diagnostics.Member_0_implicitly_has_an_1_type,Wa(r),gn(s)),Kf(s,db)?void 0:Tv(s)}function Xt(r,t){var i=(t==null?void 0:t.valueDeclaration)&&(!xe(t)||e.getEffectiveModifierFlags(t.valueDeclaration)&2)&&Fy(t)||Nr;return y_(r,Cr,i)}function On(r,t){var i=e.getAssignedExpandoInitializer(r.valueDeclaration);if(i){var o=e.getJSDocTypeTag(i);if(o&&o.typeExpression)return Da(o.typeExpression);var s=r.valueDeclaration&&$n(r.valueDeclaration,r,i);return s||Pp(Ss(i))}var c,L=!1,G=!1;if(a_(r)&&(c=Ct(r,Er(r))),!c){var ce=void 0;if(r.declarations){for(var we=void 0,Ue=0,Je=r.declarations;Ue<Je.length;Ue++){var ar=Je[Ue],_r=e.isBinaryExpression(ar)||e.isCallExpression(ar)?ar:e.isAccessExpression(ar)?e.isBinaryExpression(ar.parent)?ar.parent:ar:void 0;if(!!_r){var Gr=e.isAccessExpression(_r)?e.getAssignmentDeclarationPropertyAccessKind(_r):e.getAssignmentDeclarationKind(_r);(Gr===4||e.isBinaryExpression(_r)&&ob(_r,Gr))&&(Qo(_r)?L=!0:G=!0),e.isCallExpression(_r)||(we=wa(we,_r,r,ar)),we||(ce||(ce=[])).push(e.isBinaryExpression(_r)||e.isCallExpression(_r)?Ea(r,t,_r,Gr):en)}}c=we}if(!c){if(!e.length(ce))return dr;var Zr=L&&r.declarations?$i(ce,r.declarations):void 0;if(G){var Et=Fy(r);Et&&((Zr||(Zr=[])).push(Et),L=!0)}var Tt=e.some(Zr,function(Vt){return!!(Vt.flags&-98305)})?Zr:ce;c=ma(Tt,2)}}var At=wl(Wl(c,!1,G&&!L));return r.valueDeclaration&&rl(At,function(Vt){return!!(Vt.flags&-98305)})===en?(Fp(r.valueDeclaration,Ze),Ze):At}function $n(r,t,i){var o,s;if(!(!e.isInJSFile(r)||!i||!e.isObjectLiteralExpression(i)||i.properties.length)){for(var c=e.createSymbolTable();e.isBinaryExpression(r)||e.isPropertyAccessExpression(r);){var L=wn(r);!((o=L==null?void 0:L.exports)===null||o===void 0)&&o.size&&dl(c,L.exports),r=e.isBinaryExpression(r)?r.parent:r.parent.parent}var G=wn(r);!((s=G==null?void 0:G.exports)===null||s===void 0)&&s.size&&dl(c,G.exports);var ce=ts(t,c,e.emptyArray,e.emptyArray,e.emptyArray);return ce.objectFlags|=8192,ce}}function wa(r,t,i,o){var s,c=e.getEffectiveTypeAnnotationNode(t.parent);if(c){var L=wl(Da(c));if(r)!Ua(r)&&!Ua(L)&&!jf(r,L)&&xx(void 0,r,o,L);else return L}if(!((s=i.parent)===null||s===void 0)&&s.valueDeclaration){var G=e.getEffectiveTypeAnnotationNode(i.parent.valueDeclaration);if(G){var ce=Ii(Da(G),i.escapedName);if(ce)return Gf(ce)}}return r}function Ea(r,t,i,o){if(e.isCallExpression(i)){if(t)return An(t);var s=Ss(i.arguments[2]),c=ia(s,\"value\");if(c)return c;var L=ia(s,\"get\");if(L){var G=j_(L);if(G)return _o(G)}var ce=ia(s,\"set\");if(ce){var we=j_(ce);if(we)return z1(we)}return Ze}if(Ki(i.left,i.right))return Ze;var Ue=t?An(t):Pp(Ss(i.right));if(Ue.flags&524288&&o===2&&r.escapedName===\"export=\"){var Je=Sc(Ue),ar=e.createSymbolTable();e.copyEntries(Je.members,ar);var _r=ar.size;t&&!t.exports&&(t.exports=e.createSymbolTable()),(t||r).exports.forEach(function(Zr,Et){var Tt,At=ar.get(Et);if(At&&At!==Zr)if(Zr.flags&111551&&At.flags&111551){if(Zr.valueDeclaration&&At.valueDeclaration&&e.getSourceFileOfNode(Zr.valueDeclaration)!==e.getSourceFileOfNode(At.valueDeclaration)){var Vt=e.unescapeLeadingUnderscores(Zr.escapedName),Nn=((Tt=e.tryCast(At.valueDeclaration,e.isNamedDeclaration))===null||Tt===void 0?void 0:Tt.name)||At.valueDeclaration;e.addRelatedInfo(Mr(Zr.valueDeclaration,e.Diagnostics.Duplicate_identifier_0,Vt),e.createDiagnosticForNode(Nn,e.Diagnostics._0_was_also_declared_here,Vt)),e.addRelatedInfo(Mr(Nn,e.Diagnostics.Duplicate_identifier_0,Vt),e.createDiagnosticForNode(Zr.valueDeclaration,e.Diagnostics._0_was_also_declared_here,Vt))}var on=fo(Zr.flags|At.flags,Et);on.type=ma([An(Zr),An(At)]),on.valueDeclaration=At.valueDeclaration,on.declarations=e.concatenate(At.declarations,Zr.declarations),ar.set(Et,on)}else ar.set(Et,_s(Zr,At));else ar.set(Et,Zr)});var Gr=ts(_r!==ar.size?void 0:Je.symbol,ar,Je.callSignatures,Je.constructSignatures,Je.indexInfos);return Gr.objectFlags|=e.getObjectFlags(Ue)&8192,Gr.symbol&&Gr.symbol.flags&32&&Ue===Hn(Gr.symbol)&&(Gr.objectFlags|=16777216),Gr}return U0(Ue)?(Fp(i,Sn),Sn):Ue}function Ki(r,t){return e.isPropertyAccessExpression(r)&&r.expression.kind===108&&e.forEachChildRecursively(t,function(i){return qs(r,i)})}function Qo(r){var t=e.getThisContainer(r,!1);return t.kind===170||t.kind===255||t.kind===212&&!e.isPrototypePropertyAssignment(t.parent)}function $i(r,t){return e.Debug.assert(r.length===t.length),r.filter(function(i,o){var s=t[o],c=e.isBinaryExpression(s)?s:e.isBinaryExpression(s.parent)?s.parent:void 0;return c&&Qo(c)})}function Ho(r,t,i){if(r.initializer){var o=e.isBindingPattern(r.name)?xs(r.name,!0,!1):tr;return Wl(rT(r,Rh(r,o)))}return e.isBindingPattern(r.name)?xs(r.name,t,i):(i&&!ul(r)&&Fp(r,Ze),t?yt:Ze)}function gs(r,t,i){var o=e.createSymbolTable(),s,c=262272;e.forEach(r.elements,function(G){var ce=G.propertyName||G.name;if(G.dotDotDotToken){s=Eu(xt,Ze,!1);return}var we=lp(ce);if(!gu(we)){c|=512;return}var Ue=vu(we),Je=4|(G.initializer?16777216:0),ar=fo(Je,Ue);ar.type=Ho(G,t,i),ar.bindingElement=G,o.set(ar.escapedName,ar)});var L=ts(void 0,o,e.emptyArray,e.emptyArray,s?[s]:e.emptyArray);return L.objectFlags|=c,t&&(L.pattern=r,L.objectFlags|=262144),L}function _l(r,t,i){var o=r.elements,s=e.lastOrUndefined(o),c=s&&s.kind===202&&s.dotDotDotToken?s:void 0;if(o.length===0||o.length===1&&c)return De>=2?Xk(Ze):Sn;var L=e.map(o,function(Ue){return e.isOmittedExpression(Ue)?Ze:Ho(Ue,t,i)}),G=e.findLastIndex(o,function(Ue){return!(Ue===c||e.isOmittedExpression(Ue)||cg(Ue))},o.length-1)+1,ce=e.map(o,function(Ue,Je){return Ue===c?4:Je>=G?2:1}),we=Tu(L,ce);return t&&(we=vD(we),we.pattern=r,we.objectFlags|=262144),we}function xs(r,t,i){return t===void 0&&(t=!1),i===void 0&&(i=!1),r.kind===200?gs(r,t,i):_l(r,t,i)}function Cl(r,t){return ju(ep(r,!0),r,t)}function bl(r){var t=wn(r),i=Mk(!1);return i&&t&&t===i}function ju(r,t,i){return r?(r.flags&4096&&bl(t.parent)&&(r=b0(t)),i&&Jy(t,r),r.flags&8192&&(e.isBindingElement(t)||!t.type)&&r.symbol!==wn(t)&&(r=na),wl(r)):(r=e.isParameter(t)&&t.dotDotDotToken?Sn:Ze,i&&(ul(t)||Fp(t,r)),r)}function ul(r){var t=e.getRootDeclaration(r),i=t.kind===163?t.parent:t;return Ib(i)}function Ms(r){var t=e.getEffectiveTypeAnnotationNode(r);if(t)return Da(t)}function Ff(r){var t=Ja(r);if(!t.type){var i=_u(r);t.type||(t.type=i)}return t.type}function _u(r){if(r.flags&4194304)return Oa(r);if(r===ze)return Ze;if(r.flags&134217728&&r.valueDeclaration){var t=wn(e.getSourceFileOfNode(r.valueDeclaration)),i=fo(t.flags,\"exports\");i.declarations=t.declarations?t.declarations.slice():[],i.parent=r,i.target=t,t.valueDeclaration&&(i.valueDeclaration=t.valueDeclaration),t.members&&(i.members=new e.Map(t.members)),t.exports&&(i.exports=new e.Map(t.exports));var o=e.createSymbolTable();return o.set(\"exports\",i),ts(r,o,e.emptyArray,e.emptyArray,e.emptyArray)}e.Debug.assertIsDefined(r.valueDeclaration);var s=r.valueDeclaration;if(e.isCatchClauseVariableDeclarationOrBindingElement(s)){var c=e.getEffectiveTypeAnnotationNode(s);if(c===void 0)return Hr?tr:Ze;var L=jp(c);return Na(L)||L===tr?L:dr}if(e.isSourceFile(s)&&e.isJsonSourceFile(s))return s.statements.length?wl(Pp(ui(s.statements[0].expression))):Qn;if(!E(r,0))return r.flags&512&&!(r.flags&67108864)?Io(r):tp(r);var G;if(s.kind===270)G=ju(Ms(s)||Ss(s.expression),s);else if(e.isBinaryExpression(s)||e.isInJSFile(s)&&(e.isCallExpression(s)||(e.isPropertyAccessExpression(s)||e.isBindableStaticElementAccessExpression(s))&&e.isBinaryExpression(s.parent)))G=On(r);else if(e.isPropertyAccessExpression(s)||e.isElementAccessExpression(s)||e.isIdentifier(s)||e.isStringLiteralLike(s)||e.isNumericLiteral(s)||e.isClassDeclaration(s)||e.isFunctionDeclaration(s)||e.isMethodDeclaration(s)&&!e.isObjectLiteralMethod(s)||e.isMethodSignature(s)||e.isSourceFile(s)){if(r.flags&9136)return Io(r);G=e.isBinaryExpression(s.parent)?On(r):Ms(s)||Ze}else if(e.isPropertyAssignment(s))G=Ms(s)||ax(s);else if(e.isJsxAttribute(s))G=Ms(s)||HA(s);else if(e.isShorthandPropertyAssignment(s))G=Ms(s)||hg(s.name,0);else if(e.isObjectLiteralMethod(s))G=Ms(s)||ix(s,0);else if(e.isParameter(s)||e.isPropertyDeclaration(s)||e.isPropertySignature(s)||e.isVariableDeclaration(s)||e.isBindingElement(s)||e.isJSDocPropertyLikeTag(s))G=Cl(s,!0);else if(e.isEnumDeclaration(s))G=Io(r);else if(e.isEnumMember(s))G=rp(r);else if(e.isAccessor(s))G=an(r)||e.Debug.fail(\"Non-write accessor resolution must always produce a type\");else return e.Debug.fail(\"Unhandled declaration kind! \"+e.Debug.formatSyntaxKind(s.kind)+\" for \"+e.Debug.formatSymbol(r));return Ot()?G:r.flags&512&&!(r.flags&67108864)?Io(r):tp(r)}function ml(r){if(r)if(r.kind===171){var t=e.getEffectiveReturnTypeNode(r);return t}else{var i=e.getEffectiveSetAccessorTypeAnnotationNode(r);return i}}function _(r){var t=ml(r);return t&&Da(t)}function W(r){var t=OT(r);return t&&t.symbol}function be(r){return f_(bu(r))}function nr(r){var t=Ja(r);return t.type||(t.type=Ht(r)||e.Debug.fail(\"Read type of accessor must always produce a type\"))}function Br(r){var t=Ja(r);return t.writeType||(t.writeType=Ht(r,!0))}function Ht(r,t){if(t===void 0&&(t=!1),!E(r,0))return dr;var i=an(r,t);if(!Ot()&&(i=Ze,Ke)){var o=e.getDeclarationOfKind(r,171);Mr(o,e.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,Wa(r))}return i}function an(r,t){t===void 0&&(t=!1);var i=e.getDeclarationOfKind(r,171),o=e.getDeclarationOfKind(r,172),s=_(o);if(t&&s)return ce(s,r);if(i&&e.isInJSFile(i)){var c=Pf(i);if(c)return ce(c,r)}var L=_(i);if(L)return ce(L,r);if(s)return s;if(i&&i.body){var G=Lb(i);return ce(G,r)}if(o)return Ib(o)||pc(Ke,o,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,Wa(r)),Ze;if(i)return e.Debug.assert(!!i,\"there must exist a getter as we are current checking either setter or getter in this function\"),Ib(i)||pc(Ke,i,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,Wa(r)),Ze;return;function ce(we,Ue){if(e.getCheckFlags(Ue)&1){var Je=Ja(Ue);return oi(we,Je.mapper)}return we}}function si(r){var t=Ju(Hn(r));return t.flags&8650752?t:t.flags&2097152?e.find(t.types,function(i){return!!(i.flags&8650752)}):void 0}function Io(r){var t=Ja(r),i=t;if(!t.type){var o=r.valueDeclaration&&Tb(r.valueDeclaration,!1);if(o){var s=J1(r,o);s&&(r=t=s)}i.type=t.type=vs(r)}return t.type}function vs(r){var t=r.valueDeclaration;if(r.flags&1536&&e.isShorthandAmbientModuleSymbol(r))return Ze;if(t&&(t.kind===220||e.isAccessExpression(t)&&t.parent.kind===220))return On(r);if(r.flags&512&&t&&e.isSourceFile(t)&&t.commonJsModuleIndicator){var i=ll(r);if(i!==r){if(!E(r,0))return dr;var o=Ga(r.exports.get(\"export=\")),s=On(o,o===i?void 0:i);return Ot()?s:tp(r)}}var c=Bl(16,r);if(r.flags&32){var L=si(r);return L?To([c,L]):c}else return br&&r.flags&16777216?Jf(c):c}function rp(r){var t=Ja(r);return t.type||(t.type=jl(r))}function Gc(r){var t=Ja(r);if(!t.type){var i=ms(r),o=r.declarations&&mo(ec(r),!0),s=e.firstDefined(o==null?void 0:o.declarations,function(c){return e.isExportAssignment(c)?Ms(c):void 0});t.type=(o==null?void 0:o.declarations)&&Ub(o.declarations)&&r.declarations.length?Fr(o):Ub(r.declarations)?Cr:s||(i.flags&111551?An(i):dr)}return t.type}function Pm(r){var t=Ja(r);if(!t.type){if(!E(r,0))return t.type=dr;var i=oi(An(t.target),t.mapper);Ot()||(i=tp(r)),t.type=i}return t.type}function tp(r){var t=r.valueDeclaration;return e.getEffectiveTypeAnnotationNode(t)?(Mr(r.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Wa(r)),dr):(Ke&&(t.kind!==163||t.initializer)&&Mr(r.valueDeclaration,e.Diagnostics._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,Wa(r)),Ze)}function Fm(r){var t=Ja(r);return t.type||(e.Debug.assertIsDefined(t.deferralParent),e.Debug.assertIsDefined(t.deferralConstituents),t.type=t.deferralParent.flags&1048576?ma(t.deferralConstituents):To(t.deferralConstituents)),t.type}function Mv(r){if(r.flags&98304){var t=Br(r);if(t)return t}return An(r)}function An(r){var t=e.getCheckFlags(r);return t&65536?Fm(r):t&1?Pm(r):t&262144?FE(r):t&8192?ZR(r):r.flags&7?Ff(r):r.flags&9136?Io(r):r.flags&8?rp(r):r.flags&98304?nr(r):r.flags&2097152?Gc(r):dr}function Gf(r){return gm(An(r),!!(r.flags&16777216))}function nf(r,t){return r!==void 0&&t!==void 0&&(e.getObjectFlags(r)&4)!==0&&r.target===t}function O_(r){return e.getObjectFlags(r)&4?r.target:r}function Cp(r,t){return i(r);function i(o){if(e.getObjectFlags(o)&7){var s=O_(o);return s===t||e.some(xl(s),i)}else if(o.flags&2097152)return e.some(o.types,i);return!1}}function Gm(r,t){for(var i=0,o=t;i<o.length;i++){var s=o[i];r=e.appendIfUnique(r,vl(wn(s)))}return r}function Hu(r,t){for(;;){if(r=r.parent,r&&e.isBinaryExpression(r)){var i=e.getAssignmentDeclarationKind(r);if(i===6||i===3){var o=wn(r.left);o&&o.parent&&!e.findAncestor(o.parent.valueDeclaration,function(ce){return r===ce})&&(r=o.parent.valueDeclaration)}}if(!r)return;switch(r.kind){case 256:case 225:case 257:case 173:case 174:case 167:case 178:case 179:case 315:case 255:case 168:case 212:case 213:case 258:case 342:case 343:case 337:case 336:case 194:case 188:{var s=Hu(r,t);if(r.kind===194)return e.append(s,vl(wn(r.typeParameter)));if(r.kind===188)return e.concatenate(s,cL(r));var c=Gm(s,e.getEffectiveTypeParameterDeclarations(r)),L=t&&(r.kind===256||r.kind===225||r.kind===257||ou(r))&&Hn(wn(r)).thisType;return L?e.append(c,L):c}case 338:var G=e.getParameterSymbolFromJSDoc(r);G&&(r=G.valueDeclaration);break;case 318:{var s=Hu(r,t);return r.tags?Gm(s,e.flatMap(r.tags,function(we){return e.isJSDocTemplateTag(we)?we.typeParameters:void 0})):s}}}}function rm(r){var t=r.flags&32?r.valueDeclaration:e.getDeclarationOfKind(r,257);return e.Debug.assert(!!t,\"Class was missing valueDeclaration -OR- non-class had no interface declarations\"),Hu(t)}function mu(r){if(!!r.declarations){for(var t,i=0,o=r.declarations;i<o.length;i++){var s=o[i];if(s.kind===257||s.kind===256||s.kind===225||ou(s)||e.isTypeAlias(s)){var c=s;t=Gm(t,e.getEffectiveTypeParameterDeclarations(c))}}return t}}function Pv(r){return e.concatenate(rm(r),mu(r))}function i_(r){var t=Ni(r,1);if(t.length===1){var i=t[0];if(!i.typeParameters&&i.parameters.length===1&&ue(i)){var o=fv(i.parameters[0]);return Na(o)||G0(o)===Ze}}return!1}function tm(r){if(Ni(r,1).length>0)return!0;if(r.flags&8650752){var t=l(r);return!!t&&i_(t)}return!1}function o_(r){return e.getEffectiveBaseTypeNode(r.symbol.valueDeclaration)}function vd(r,t,i){var o=e.length(t),s=e.isInJSFile(i);return e.filter(Ni(r,1),function(c){return(s||o>=lf(c.typeParameters))&&o<=e.length(c.typeParameters)})}function Bm(r,t,i){var o=vd(r,t,i),s=e.map(t,Da);return e.sameMap(o,function(c){return e.some(c.typeParameters)?th(c,s,e.isInJSFile(i)):c})}function Ju(r){if(!r.resolvedBaseConstructorType){var t=r.symbol.valueDeclaration,i=e.getEffectiveBaseTypeNode(t),o=o_(r);if(!o)return r.resolvedBaseConstructorType=Nr;if(!E(r,1))return dr;var s=ui(o.expression);if(i&&o!==i&&(e.Debug.assert(!i.typeArguments),ui(i.expression)),s.flags&2621440&&Sc(s),!Ot())return Mr(r.symbol.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,Wa(r.symbol)),r.resolvedBaseConstructorType=dr;if(!(s.flags&1)&&s!==ht&&!tm(s)){var c=Mr(o.expression,e.Diagnostics.Type_0_is_not_a_constructor_function_type,gn(s));if(s.flags&262144){var L=Qm(s),G=tr;if(L){var ce=Ni(L,1);ce[0]&&(G=_o(ce[0]))}s.symbol.declarations&&e.addRelatedInfo(c,e.createDiagnosticForNode(s.symbol.declarations[0],e.Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,Wa(s.symbol),gn(G)))}return r.resolvedBaseConstructorType=dr}r.resolvedBaseConstructorType=s}return r.resolvedBaseConstructorType}function Fv(r){var t=e.emptyArray;if(r.symbol.declarations)for(var i=0,o=r.symbol.declarations;i<o.length;i++){var s=o[i],c=e.getEffectiveImplementsTypeNodes(s);if(!!c)for(var L=0,G=c;L<G.length;L++){var ce=G[L],we=Da(ce);Ua(we)||(t===e.emptyArray?t=[we]:t.push(we))}}return t}function wg(r,t){Mr(r,e.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,gn(t,void 0,2))}function xl(r){if(!r.baseTypesResolved){if(E(r,7)&&(r.objectFlags&8?r.resolvedBaseTypes=[Mg(r)]:r.symbol.flags&96?(r.symbol.flags&32&&xp(r),r.symbol.flags&64&&un(r)):e.Debug.fail(\"type must be class or interface\"),!Ot()&&r.symbol.declarations))for(var t=0,i=r.symbol.declarations;t<i.length;t++){var o=i[t];(o.kind===256||o.kind===257)&&wg(o,r)}r.baseTypesResolved=!0}return r.resolvedBaseTypes}function Mg(r){var t=e.sameMap(r.typeParameters,function(i,o){return r.elementFlags[o]&8?Hl(i,wt):i});return zs(ma(t||e.emptyArray),r.readonly)}function xp(r){r.resolvedBaseTypes=e.resolvingEmptyArray;var t=wi(Ju(r));if(!(t.flags&2621441))return r.resolvedBaseTypes=e.emptyArray;var i=o_(r),o,s=t.symbol?po(t.symbol):void 0;if(t.symbol&&t.symbol.flags&32&&Pg(s))o=hD(i,t.symbol);else if(t.flags&1)o=t;else{var c=Bm(t,i.typeArguments,i);if(!c.length)return Mr(i.expression,e.Diagnostics.No_base_constructor_has_the_specified_number_of_type_arguments),r.resolvedBaseTypes=e.emptyArray;o=_o(c[0])}if(Ua(o))return r.resolvedBaseTypes=e.emptyArray;var L=Eo(o);if(!Ku(L)){var G=Jm(void 0,o),ce=e.chainDiagnosticMessages(G,e.Diagnostics.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,gn(L));return ua.add(e.createDiagnosticForNodeFromMessageChain(i.expression,ce)),r.resolvedBaseTypes=e.emptyArray}return r===L||Cp(L,r)?(Mr(r.symbol.valueDeclaration,e.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,gn(r,void 0,2)),r.resolvedBaseTypes=e.emptyArray):(r.resolvedBaseTypes===e.resolvingEmptyArray&&(r.members=void 0),r.resolvedBaseTypes=[L])}function Pg(r){var t=r.outerTypeParameters;if(t){var i=t.length-1,o=vo(r);return t[i].symbol!==o[i].symbol}return!0}function Ku(r){if(r.flags&262144){var t=l(r);if(t)return Ku(t)}return!!(r.flags&67633153&&!El(r)||r.flags&2097152&&e.every(r.types,Ku))}function un(r){if(r.resolvedBaseTypes=r.resolvedBaseTypes||e.emptyArray,r.symbol.declarations)for(var t=0,i=r.symbol.declarations;t<i.length;t++){var o=i[t];if(o.kind===257&&e.getInterfaceBaseTypeNodes(o))for(var s=0,c=e.getInterfaceBaseTypeNodes(o);s<c.length;s++){var L=c[s],G=Eo(Da(L));Ua(G)||(Ku(G)?r!==G&&!Cp(G,r)?r.resolvedBaseTypes===e.emptyArray?r.resolvedBaseTypes=[G]:r.resolvedBaseTypes.push(G):wg(o,r):Mr(L,e.Diagnostics.An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members))}}}function pa(r){if(!r.declarations)return!0;for(var t=0,i=r.declarations;t<i.length;t++){var o=i[t];if(o.kind===257){if(o.flags&128)return!1;var s=e.getInterfaceBaseTypeNodes(o);if(s)for(var c=0,L=s;c<L.length;c++){var G=L[c];if(e.isEntityNameExpression(G.expression)){var ce=rs(G.expression,788968,!0);if(!ce||!(ce.flags&64)||Hn(ce).thisType)return!1}}}}return!0}function Hn(r){var t=Ja(r),i=t;if(!t.declaredType){var o=r.flags&32?1:2,s=J1(r,r.valueDeclaration&&UP(r.valueDeclaration));s&&(r=t=s);var c=i.declaredType=t.declaredType=Bl(o,r),L=rm(r),G=mu(r);(L||G||o===1||!pa(r))&&(c.objectFlags|=4,c.typeParameters=e.concatenate(L,G),c.outerTypeParameters=L,c.localTypeParameters=G,c.instantiations=new e.Map,c.instantiations.set(sc(c.typeParameters),c),c.target=c,c.resolvedTypeArguments=c.typeParameters,c.thisType=nc(r),c.thisType.isThisType=!0,c.thisType.constraint=c)}return t.declaredType}function Sa(r){var t,i=Ja(r);if(!i.declaredType){if(!E(r,2))return dr;var o=e.Debug.checkDefined((t=r.declarations)===null||t===void 0?void 0:t.find(e.isTypeAlias),\"Type alias symbol with no valid declaration found\"),s=e.isJSDocTypeAlias(o)?o.typeExpression:o.type,c=s?Da(s):dr;if(Ot()){var L=mu(r);L&&(i.typeParameters=L,i.instantiations=new e.Map,i.instantiations.set(sc(L),c))}else c=dr,o.kind===337?Mr(o.typeExpression.type,e.Diagnostics.Type_alias_0_circularly_references_itself,Wa(r)):Mr(e.isNamedDeclaration(o)?o.name:o||o,e.Diagnostics.Type_alias_0_circularly_references_itself,Wa(r));i.declaredType=c}return i.declaredType}function Za(r){return e.isStringLiteralLike(r)?!0:r.kind===220?Za(r.left)&&Za(r.right):!1}function zi(r){var t=r.initializer;if(!t)return!(r.flags&8388608);switch(t.kind){case 10:case 8:case 14:return!0;case 218:return t.operator===40&&t.operand.kind===8;case 79:return e.nodeIsMissing(t)||!!wn(r.parent).exports.get(t.escapedText);case 220:return Za(t);default:return!1}}function Bo(r){var t=Ja(r);if(t.enumKind!==void 0)return t.enumKind;var i=!1;if(r.declarations)for(var o=0,s=r.declarations;o<s.length;o++){var c=s[o];if(c.kind===259)for(var L=0,G=c.members;L<G.length;L++){var ce=G[L];if(ce.initializer&&e.isStringLiteralLike(ce.initializer))return t.enumKind=1;zi(ce)||(i=!0)}}return t.enumKind=i?0:1}function Zs(r){return r.flags&1024&&!(r.flags&1048576)?po(Ts(r.symbol)):r}function gl(r){var t=Ja(r);if(t.declaredType)return t.declaredType;if(Bo(r)===1){Ie++;var i=[];if(r.declarations)for(var o=0,s=r.declarations;o<s.length;o++){var c=s[o];if(c.kind===259)for(var L=0,G=c.members;L<G.length;L++){var ce=G[L],we=Kb(ce),Ue=fm(GO(we!==void 0?we:0,Ie,wn(ce)));Ja(wn(ce)).declaredType=Ue,i.push(kl(Ue))}}if(i.length){var Je=ma(i,1,r,void 0);return Je.flags&1048576&&(Je.flags|=1024,Je.symbol=r),t.declaredType=Je}}var ar=Qs(32);return ar.symbol=r,t.declaredType=ar}function jl(r){var t=Ja(r);if(!t.declaredType){var i=gl(Ts(r));t.declaredType||(t.declaredType=i)}return t.declaredType}function vl(r){var t=Ja(r);return t.declaredType||(t.declaredType=nc(r))}function Bf(r){var t=Ja(r);return t.declaredType||(t.declaredType=po(ms(r)))}function po(r){return s_(r)||dr}function s_(r){if(r.flags&96)return Hn(r);if(r.flags&524288)return Sa(r);if(r.flags&262144)return vl(r);if(r.flags&384)return gl(r);if(r.flags&8)return jl(r);if(r.flags&2097152)return Bf(r)}function np(r){switch(r.kind){case 130:case 154:case 149:case 146:case 157:case 133:case 150:case 147:case 114:case 152:case 143:case 195:return!0;case 182:return np(r.elementType);case 177:return!r.typeArguments||r.typeArguments.every(np)}return!1}function nm(r){var t=e.getEffectiveConstraintOfTypeParameter(r);return!t||np(t)}function am(r){var t=e.getEffectiveTypeAnnotationNode(r);return t?np(t):!e.hasInitializer(r)}function CE(r){var t=e.getEffectiveReturnTypeNode(r),i=e.getEffectiveTypeParameterDeclarations(r);return(r.kind===170||!!t&&np(t))&&r.parameters.every(am)&&i.every(nm)}function xE(r){if(r.declarations&&r.declarations.length===1){var t=r.declarations[0];if(t)switch(t.kind){case 166:case 165:return am(t);case 168:case 167:case 170:case 171:case 172:return CE(t)}}return!1}function ny(r,t,i){for(var o=e.createSymbolTable(),s=0,c=r;s<c.length;s++){var L=c[s];o.set(L.escapedName,i&&xE(L)?L:E0(L,t))}return o}function Fg(r,t){for(var i=0,o=t;i<o.length;i++){var s=o[i];!r.has(s.escapedName)&&!Gv(s)&&r.set(s.escapedName,s)}}function Gv(r){return!!r.valueDeclaration&&e.isPrivateIdentifierClassElementDeclaration(r.valueDeclaration)&&e.isStatic(r.valueDeclaration)}function Gg(r){if(!r.declaredProperties){var t=r.symbol,i=af(t);r.declaredProperties=Bu(i),r.declaredCallSignatures=e.emptyArray,r.declaredConstructSignatures=e.emptyArray,r.declaredIndexInfos=e.emptyArray,r.declaredCallSignatures=Op(i.get(\"__call\")),r.declaredConstructSignatures=Op(i.get(\"__new\")),r.declaredIndexInfos=pD(t)}return r}function gu(r){return!!(r.flags&8576)}function Bg(r){if(!e.isComputedPropertyName(r)&&!e.isElementAccessExpression(r))return!1;var t=e.isComputedPropertyName(r)?r.expression:r.argumentExpression;return e.isEntityNameExpression(t)&&gu(e.isComputedPropertyName(r)?qf(r):Ss(t))}function Ip(r){return r.charCodeAt(0)===95&&r.charCodeAt(1)===95&&r.charCodeAt(2)===64}function R_(r){var t=e.getNameOfDeclaration(r);return!!t&&Bg(t)}function l_(r){return!e.hasDynamicName(r)||R_(r)}function IE(r){return e.isDynamicName(r)&&!Bg(r)}function vu(r){return r.flags&8192?r.escapedName:r.flags&384?e.escapeLeadingUnderscores(\"\"+r.value):e.Debug.fail()}function Bv(r,t,i){e.Debug.assert(!!(e.getCheckFlags(r)&4096),\"Expected a late-bound symbol.\"),r.flags|=i,Ja(t.symbol).lateSymbol=r,r.declarations?t.symbol.isReplaceableByMethod||r.declarations.push(t):r.declarations=[t],i&111551&&(!r.valueDeclaration||r.valueDeclaration.kind!==t.kind)&&(r.valueDeclaration=t)}function Uv(r,t,i,o){e.Debug.assert(!!o.symbol,\"The member is expected to have a symbol.\");var s=Zn(o);if(!s.resolvedSymbol){s.resolvedSymbol=o.symbol;var c=e.isBinaryExpression(o)?o.left:o.name,L=e.isElementAccessExpression(c)?Ss(c.argumentExpression):qf(c);if(gu(L)){var G=vu(L),ce=o.symbol.flags,we=i.get(G);we||i.set(G,we=fo(0,G,4096));var Ue=t&&t.get(G);if(we.flags&Zf(ce)||Ue){var Je=Ue?e.concatenate(Ue.declarations,we.declarations):we.declarations,ar=!(L.flags&8192)&&e.unescapeLeadingUnderscores(G)||e.declarationNameToString(c);e.forEach(Je,function(_r){return Mr(e.getNameOfDeclaration(_r)||_r,e.Diagnostics.Property_0_was_also_declared_here,ar)}),Mr(c||o,e.Diagnostics.Duplicate_property_0,ar),we=fo(0,G,4096)}return we.nameType=L,Bv(we,o,ce),we.parent?e.Debug.assert(we.parent===r,\"Existing symbol parent should match new one\"):we.parent=r,s.resolvedSymbol=we}}return s.resolvedSymbol}function im(r,t){var i=Ja(r);if(!i[t]){var o=t===\"resolvedExports\",s=o?r.flags&1536?fd(r):r.exports:r.members;i[t]=s||Le;for(var c=e.createSymbolTable(),L=0,G=r.declarations||e.emptyArray;L<G.length;L++){var ce=G[L],we=e.getMembersOfDeclaration(ce);if(we)for(var Ue=0,Je=we;Ue<Je.length;Ue++){var ar=Je[Ue];o===e.hasStaticModifier(ar)&&R_(ar)&&Uv(r,s,c,ar)}}var _r=r.assignmentDeclarationMembers;if(_r)for(var Gr=e.arrayFrom(_r.values()),Zr=0,Et=Gr;Zr<Et.length;Zr++){var ar=Et[Zr],Tt=e.getAssignmentDeclarationKind(ar),At=Tt===3||e.isBinaryExpression(ar)&&ob(ar,Tt)||Tt===9||Tt===6;o===!At&&R_(ar)&&Uv(r,s,c,ar)}i[t]=zp(s,c)||Le}return i[t]}function af(r){return r.flags&6256?im(r,\"resolvedMembers\"):r.members||Le}function Ug(r){if(r.flags&106500&&r.escapedName===\"__computed\"){var t=Ja(r);if(!t.lateSymbol&&e.some(r.declarations,R_)){var i=Ga(r.parent);e.some(r.declarations,e.hasStaticModifier)?Js(i):af(i)}return t.lateSymbol||(t.lateSymbol=r)}return r}function Il(r,t,i){if(e.getObjectFlags(r)&4){var o=r.target,s=vo(r);if(e.length(o.typeParameters)===e.length(s)){var c=Uf(o,e.concatenate(s,[t||o.thisType]));return i?wi(c):c}}else if(r.flags&2097152){var L=e.sameMap(r.types,function(G){return Il(G,t,i)});return L!==r.types?To(L):r}return i?wi(r):r}function ay(r,t,i,o){var s,c,L,G,ce;e.rangeEquals(i,o,0,i.length)?(c=t.symbol?af(t.symbol):e.createSymbolTable(t.declaredProperties),L=t.declaredCallSignatures,G=t.declaredConstructSignatures,ce=t.declaredIndexInfos):(s=Ol(i,o),c=ny(t.declaredProperties,s,i.length===1),L=ky(t.declaredCallSignatures,s),G=ky(t.declaredConstructSignatures,s),ce=mL(t.declaredIndexInfos,s));var we=xl(t);if(we.length){t.symbol&&c===af(t.symbol)&&(c=e.createSymbolTable(t.declaredProperties)),Al(r,c,L,G,ce);for(var Ue=e.lastOrUndefined(o),Je=0,ar=we;Je<ar.length;Je++){var _r=ar[Je],Gr=Ue?Il(oi(_r,s),Ue):_r;Fg(c,Yi(Gr)),L=e.concatenate(L,Ni(Gr,0)),G=e.concatenate(G,Ni(Gr,1));var Zr=Gr!==Ze?Ps(Gr):[Eu(xt,Ze,!1)];ce=e.concatenate(ce,e.filter(Zr,function(Et){return!Qv(ce,Et.keyType)}))}}Al(r,c,L,G,ce)}function iy(r){ay(r,Gg(r),e.emptyArray,e.emptyArray)}function NE(r){var t=Gg(r.target),i=e.concatenate(t.typeParameters,[t.thisType]),o=vo(r),s=o.length===i.length?o:e.concatenate(o,[r]);ay(r,t,i,s)}function hu(r,t,i,o,s,c,L,G){var ce=new ge(Yr,G);return ce.declaration=r,ce.typeParameters=t,ce.parameters=o,ce.thisParameter=i,ce.resolvedReturnType=s,ce.resolvedTypePredicate=c,ce.minArgumentCount=L,ce.resolvedMinArgumentCount=void 0,ce.target=void 0,ce.mapper=void 0,ce.compositeSignatures=void 0,ce.compositeKind=void 0,ce}function Np(r){var t=hu(r.declaration,r.typeParameters,r.thisParameter,r.parameters,void 0,void 0,r.minArgumentCount,r.flags&39);return t.target=r.target,t.mapper=r.mapper,t.compositeSignatures=r.compositeSignatures,t.compositeKind=r.compositeKind,t}function oy(r,t){var i=Np(r);return i.compositeSignatures=t,i.compositeKind=1048576,i.target=void 0,i.mapper=void 0,i}function sy(r,t){if((r.flags&24)===t)return r;r.optionalCallSignatureCache||(r.optionalCallSignatureCache={});var i=t===8?\"inner\":\"outer\";return r.optionalCallSignatureCache[i]||(r.optionalCallSignatureCache[i]=ly(r,t))}function ly(r,t){e.Debug.assert(t===8||t===16,\"An optional call signature can either be for an inner call chain or an outer call chain, but not both.\");var i=Np(r);return i.flags|=t,i}function cy(r,t){if(ue(r)){var i=r.parameters.length-1,o=An(r.parameters[i]);if(ki(o))return[s(o,i)];if(!t&&o.flags&1048576&&e.every(o.types,ki))return e.map(o.types,function(c){return s(c,i)})}return[r.parameters];function s(c,L){var G=vo(c),ce=c.target.labeledElementDeclarations,we=e.map(G,function(Ue,Je){var ar=!!ce&&Db(ce[Je]),_r=ar||mg(r,L+Je,c),Gr=c.target.elementFlags[Je],Zr=Gr&12?32768:Gr&2?16384:0,Et=fo(1,_r,Zr);return Et.type=Gr&4?zs(Ue):Ue,Et});return e.concatenate(r.parameters.slice(0,L),we)}}function kE(r){var t=Ju(r),i=Ni(t,1),o=e.getClassLikeDeclarationOfSymbol(r.symbol),s=!!o&&e.hasSyntacticModifier(o,128);if(i.length===0)return[hu(void 0,r.localTypeParameters,void 0,e.emptyArray,r,void 0,0,s?4:0)];for(var c=o_(r),L=e.isInJSFile(c),G=Ly(c),ce=e.length(G),we=[],Ue=0,Je=i;Ue<Je.length;Ue++){var ar=Je[Ue],_r=lf(ar.typeParameters),Gr=e.length(ar.typeParameters);if(L||ce>=_r&&ce<=Gr){var Zr=Gr?by(ar,M_(G,ar.typeParameters,_r,L)):Np(ar);Zr.typeParameters=r.localTypeParameters,Zr.resolvedReturnType=r,Zr.flags=s?Zr.flags|4:Zr.flags&-5,we.push(Zr)}}return we}function Vv(r,t,i,o,s){for(var c=0,L=r;c<L.length;c++){var G=L[c];if(_h(G,t,i,o,s,i?nR:$g))return G}}function OE(r,t,i){if(t.typeParameters){if(i>0)return;for(var o=1;o<r.length;o++)if(!Vv(r[o],t,!1,!1,!1))return;return[t]}for(var s,o=0;o<r.length;o++){var c=o===i?t:Vv(r[o],t,!0,!1,!0);if(!c)return;s=e.appendIfUnique(s,c)}return s}function Vg(r){for(var t,i,o=0;o<r.length;o++){if(r[o].length===0)return e.emptyArray;r[o].length>1&&(i=i===void 0?o:-1);for(var s=0,c=r[o];s<c.length;s++){var L=c[s];if(!t||!Vv(t,L,!1,!1,!0)){var G=OE(r,L,o);if(G){var ce=L;if(G.length>1){var we=L.thisParameter,Ue=e.forEach(G,function(Vt){return Vt.thisParameter});if(Ue){var Je=To(e.mapDefined(G,function(Vt){return Vt.thisParameter&&An(Vt.thisParameter)}));we=V_(Ue,Je)}ce=oy(L,G),ce.thisParameter=we}(t||(t=[])).push(ce)}}}}if(!e.length(t)&&i!==-1){for(var ar=r[i!==void 0?i:0],_r=ar.slice(),Gr=function(Vt){if(Vt!==ar){var Nn=Vt[0];if(e.Debug.assert(!!Nn,\"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass\"),_r=!!Nn.typeParameters&&e.some(_r,function(on){return!!on.typeParameters&&!uy(Nn.typeParameters,on.typeParameters)})?void 0:e.map(_r,function(on){return fy(on,Nn)}),!_r)return\"break\"}},Zr=0,Et=r;Zr<Et.length;Zr++){var Tt=Et[Zr],At=Gr(Tt);if(At===\"break\")break}t=_r}return t||e.emptyArray}function uy(r,t){if(e.length(r)!==e.length(t))return!1;if(!r||!t)return!0;for(var i=Ol(t,r),o=0;o<r.length;o++){var s=r[o],c=t[o];if(s!==c&&!jf(Qm(s)||tr,oi(Qm(c)||tr,i)))return!1}return!0}function Wv(r,t,i){if(!r||!t)return r||t;var o=To([An(r),oi(An(t),i)]);return V_(r,o)}function Um(r,t,i){for(var o=Tl(r),s=Tl(t),c=o>=s?r:t,L=c===r?t:r,G=c===r?o:s,ce=xu(r)||xu(t),we=ce&&!xu(c),Ue=new Array(G+(we?1:0)),Je=0;Je<G;Je++){var ar=E_(c,Je);c===t&&(ar=oi(ar,i));var _r=E_(L,Je)||tr;L===t&&(_r=oi(_r,i));var Gr=To([ar,_r]),Zr=ce&&!we&&Je===G-1,Et=Je>=Cu(c)&&Je>=Cu(L),Tt=Je>=o?void 0:mg(r,Je),At=Je>=s?void 0:mg(t,Je),Vt=Tt===At?Tt:Tt?At?void 0:Tt:At,Nn=fo(1|(Et&&!Zr?16777216:0),Vt||\"arg\".concat(Je));Nn.type=Zr?zs(Gr):Gr,Ue[Je]=Nn}if(we){var on=fo(1,\"args\");on.type=zs(Uc(L,G)),L===t&&(on.type=oi(on.type,i)),Ue[G]=on}return Ue}function fy(r,t){var i=r.typeParameters||t.typeParameters,o;r.typeParameters&&t.typeParameters&&(o=Ol(t.typeParameters,r.typeParameters));var s=r.declaration,c=Um(r,t,o),L=Wv(r.thisParameter,t.thisParameter,o),G=Math.max(r.minArgumentCount,t.minArgumentCount),ce=hu(s,i,L,c,void 0,void 0,G,(r.flags|t.flags)&39);return ce.compositeKind=1048576,ce.compositeSignatures=e.concatenate(r.compositeKind!==2097152&&r.compositeSignatures||[r],[t]),o&&(ce.mapper=r.compositeKind!==2097152&&r.mapper&&r.compositeSignatures?__(r.mapper,o):o),ce}function jv(r){var t=Ps(r[0]);if(t){for(var i=[],o=function(G){var ce=G.keyType;e.every(r,function(we){return!!oc(we,ce)})&&i.push(Eu(ce,ma(e.map(r,function(we){return tu(we,ce)})),e.some(r,function(we){return oc(we,ce).isReadonly})))},s=0,c=t;s<c.length;s++){var L=c[s];o(L)}return i}return e.emptyArray}function RE(r){var t=Vg(e.map(r.types,function(s){return s===Oe?[lo]:Ni(s,0)})),i=Vg(e.map(r.types,function(s){return Ni(s,1)})),o=jv(r.types);Al(r,Le,t,i,o)}function om(r,t){return r?t?To([r,t]):r:t}function dy(r){var t=e.countWhere(r,function(s){return Ni(s,1).length>0}),i=e.map(r,i_);if(t>0&&t===e.countWhere(i,function(s){return s})){var o=i.indexOf(!0);i[o]=!1}return i}function Wg(r,t,i,o){for(var s=[],c=0;c<t.length;c++)c===o?s.push(r):i[c]&&s.push(_o(Ni(t[c],1)[0]));return To(s)}function py(r){for(var t,i,o,s=r.types,c=dy(s),L=e.countWhere(c,function(we){return we}),G=function(we){var Ue=r.types[we];if(!c[we]){var Je=Ni(Ue,1);Je.length&&L>0&&(Je=e.map(Je,function(ar){var _r=Np(ar);return _r.resolvedReturnType=Wg(_o(ar),s,c,we),_r})),i=_y(i,Je)}t=_y(t,Ni(Ue,0)),o=e.reduceLeft(Ps(Ue),function(ar,_r){return my(ar,_r,!1)},o)},ce=0;ce<s.length;ce++)G(ce);Al(r,Le,t||e.emptyArray,i||e.emptyArray,o||e.emptyArray)}function _y(r,t){for(var i=function(L){(!r||e.every(r,function(G){return!_h(G,L,!1,!1,!1,$g)}))&&(r=e.append(r,L))},o=0,s=t;o<s.length;o++){var c=s[o];i(c)}return r}function my(r,t,i){if(r)for(var o=0;o<r.length;o++){var s=r[o];if(s.keyType===t.keyType)return r[o]=Eu(s.keyType,i?ma([s.type,t.type]):To([s.type,t.type]),i?s.isReadonly||t.isReadonly:s.isReadonly&&t.isReadonly),r}return e.append(r,t)}function wE(r){var t=Ga(r.symbol);if(r.target){Al(r,Le,e.emptyArray,e.emptyArray,e.emptyArray);var i=ny(sf(r.target),r.mapper,!1),o=ky(Ni(r.target,0),r.mapper),s=ky(Ni(r.target,1),r.mapper),c=mL(Ps(r.target),r.mapper);Al(r,i,o,s,c)}else if(t.flags&2048){Al(r,Le,e.emptyArray,e.emptyArray,e.emptyArray);var i=af(t),o=Op(i.get(\"__call\")),s=Op(i.get(\"__new\")),c=pD(t);Al(r,i,o,s,c)}else{var i=Le,c=void 0;if(t.exports&&(i=Js(t),t===pr)){var L=new e.Map;i.forEach(function(Gr){Gr.flags&418||L.set(Gr.escapedName,Gr)}),i=L}var G=void 0;if(Al(r,i,e.emptyArray,e.emptyArray,e.emptyArray),t.flags&32){var ce=Hn(t),we=Ju(ce);we.flags&11272192?(i=e.createSymbolTable(zd(i)),Fg(i,Yi(we))):we===Ze&&(G=Eu(xt,Ze,!1))}var Ue=YE(i);if(Ue?c=_D(Ue):(G&&(c=e.append(c,G)),t.flags&384&&(po(t).flags&32||e.some(r.properties,function(Gr){return!!(An(Gr).flags&296)}))&&(c=e.append(c,Yo))),Al(r,i,e.emptyArray,e.emptyArray,c||e.emptyArray),t.flags&8208&&(r.callSignatures=Op(t)),t.flags&32){var Je=Hn(t),s=t.members?Op(t.members.get(\"__constructor\")):e.emptyArray;t.flags&16&&(s=e.addRange(s.slice(),e.mapDefined(r.callSignatures,function(Zr){return ou(Zr.declaration)?hu(Zr.declaration,Zr.typeParameters,Zr.thisParameter,Zr.parameters,Je,void 0,Zr.minArgumentCount,Zr.flags&39):void 0}))),s.length||(s=kE(Je)),r.constructSignatures=s}}}function Hv(r,t,i){return oi(r,Ol([t.indexType,t.objectType],[Wf(0),Tu([i])]))}function ME(r){for(var t=oc(r.source,xt),i=ru(r.mappedType),o=!(i&1),s=i&4?0:16777216,c=t?[Eu(xt,zy(t.type,r.mappedType,r.constraintType),o&&t.isReadonly)]:e.emptyArray,L=e.createSymbolTable(),G=0,ce=Yi(r.source);G<ce.length;G++){var we=ce[G],Ue=8192|(o&&Iu(we)?8:0),Je=fo(4|we.flags&s,we.escapedName,Ue);if(Je.declarations=we.declarations,Je.nameType=Ja(we).nameType,Je.propertyType=An(we),r.constraintType.type.flags&8388608&&r.constraintType.type.objectType.flags&262144&&r.constraintType.type.indexType.flags&262144){var ar=r.constraintType.type.objectType,_r=Hv(r.mappedType,r.constraintType.type,ar);Je.mappedType=_r,Je.constraintType=qu(ar)}else Je.mappedType=r.mappedType,Je.constraintType=r.constraintType;L.set(we.escapedName,Je)}Al(r,L,e.emptyArray,e.emptyArray,c)}function Vm(r){if(r.flags&4194304){var t=wi(r.type);return og(t)?WD(t):qu(t)}if(r.flags&16777216){if(r.root.isDistributive){var i=r.checkType,o=Vm(i);if(o!==i)return L0(r,dm(r.root.checkType,o,r.mapper))}return r}return r.flags&1048576?ds(r,Vm):r.flags&2097152?To(e.sameMap(r.types,Vm)):r}function Jv(r){return e.getCheckFlags(r)&4096}function Kv(r,t,i,o){for(var s=0,c=Yi(r);s<c.length;s++){var L=c[s];o(eg(L,t))}if(r.flags&1)o(xt);else for(var G=0,ce=Ps(r);G<ce.length;G++){var we=ce[G];(!i||we.keyType.flags&134217732)&&o(we.keyType)}}function PE(r){var t=e.createSymbolTable(),i;Al(r,Le,e.emptyArray,e.emptyArray,e.emptyArray);var o=eu(r),s=Tc(r),c=of(r.target||r),L=yu(r.target||r),G=wi(jm(r)),ce=ru(r),we=ur?128:8576;Wm(r)?Kv(G,we,ur,Ue):v_(Vm(s),Ue),Al(r,t,e.emptyArray,e.emptyArray,i||e.emptyArray);function Ue(ar){var _r=c?oi(c,Zg(r.mapper,o,ar)):ar;v_(_r,function(Gr){return Je(ar,Gr)})}function Je(ar,_r){if(gu(_r)){var Gr=vu(_r),Zr=t.get(Gr);if(Zr)Zr.nameType=ma([Zr.nameType,_r]),Zr.keyType=ma([Zr.keyType,ar]);else{var Et=gu(ar)?Ii(G,vu(ar)):void 0,Tt=!!(ce&4||!(ce&8)&&Et&&Et.flags&16777216),At=!!(ce&1||!(ce&2)&&Et&&Iu(Et)),Vt=br&&!Tt&&Et&&Et.flags&16777216,Nn=Et?Jv(Et):0,on=fo(4|(Tt?16777216:0),Gr,Nn|262144|(At?8:0)|(Vt?524288:0));on.mappedType=r,on.nameType=_r,on.keyType=ar,Et&&(on.syntheticOrigin=Et,on.declarations=c?void 0:Et.declarations),t.set(Gr,on)}}else if(Ey(_r)||_r.flags&33){var ca=_r.flags&5?xt:_r.flags&40?wt:_r,la=oi(L,Zg(r.mapper,o,ar)),di=Eu(ca,la,!!(ce&1));i=my(i,di,!0)}}}function FE(r){if(!r.type){var t=r.mappedType;if(!E(r,0))return t.containsError=!0,dr;var i=yu(t.target||t),o=Zg(t.mapper,eu(t),r.keyType),s=oi(i,o),c=br&&r.flags&16777216&&!Jo(s,49152)?Jf(s,!0):r.checkFlags&524288?J0(s):s;Ot()||(Mr(_e,e.Diagnostics.Type_of_property_0_circularly_references_itself_in_mapped_type_1,Wa(r),gn(t)),c=dr),r.type=c}return r.type}function eu(r){return r.typeParameter||(r.typeParameter=vl(wn(r.declaration.typeParameter)))}function Tc(r){return r.constraintType||(r.constraintType=Nl(eu(r))||dr)}function of(r){return r.declaration.nameType?r.nameType||(r.nameType=oi(Da(r.declaration.nameType),r.mapper)):void 0}function yu(r){return r.templateType||(r.templateType=r.declaration.type?oi(Wl(Da(r.declaration.type),!0,!!(ru(r)&4)),r.mapper):dr)}function gy(r){return e.getEffectiveConstraintOfTypeParameter(r.declaration.typeParameter)}function Wm(r){var t=gy(r);return t.kind===192&&t.operator===140}function jm(r){if(!r.modifiersType)if(Wm(r))r.modifiersType=oi(Da(gy(r).type),r.mapper);else{var t=d0(r.declaration),i=Tc(t),o=i&&i.flags&262144?Nl(i):i;r.modifiersType=o&&o.flags&4194304?oi(o.type,r.mapper):tr}return r.modifiersType}function ru(r){var t=r.declaration;return(t.readonlyToken?t.readonlyToken.kind===40?2:1:0)|(t.questionToken?t.questionToken.kind===40?8:4:0)}function vy(r){var t=ru(r);return t&8?-1:t&4?1:0}function zv(r){var t=vy(r),i=jm(r);return t||(El(i)?vy(i):0)}function GE(r){return!!(e.getObjectFlags(r)&32&&ru(r)&4)}function El(r){return!!(e.getObjectFlags(r)&32)&&F_(Tc(r))}function Sc(r){return r.members||(r.flags&524288?r.objectFlags&4?NE(r):r.objectFlags&3?iy(r):r.objectFlags&1024?ME(r):r.objectFlags&16?wE(r):r.objectFlags&32&&PE(r):r.flags&1048576?RE(r):r.flags&2097152&&py(r)),r}function sf(r){return r.flags&524288?Sc(r).properties:e.emptyArray}function hd(r,t){if(r.flags&524288){var i=Sc(r),o=i.members.get(t);if(o&&If(o))return o}}function Hm(r){if(!r.resolvedProperties){for(var t=e.createSymbolTable(),i=0,o=r.types;i<o.length;i++){for(var s=o[i],c=0,L=Yi(s);c<L.length;c++){var G=L[c];if(!t.has(G.escapedName)){var ce=ic(r,G.escapedName);ce&&t.set(G.escapedName,ce)}}if(r.flags&1048576&&Ps(s).length===0)break}r.resolvedProperties=Bu(t)}return r.resolvedProperties}function Yi(r){return r=Is(r),r.flags&3145728?Hm(r):sf(r)}function BE(r,t){r=Is(r),r.flags&3670016&&Sc(r).members.forEach(function(i,o){dd(i,o)&&t(i,o)})}function UE(r,t){var i=t.properties;return i.some(function(o){var s=o.name&&lp(o.name),c=s&&gu(s)?vu(s):void 0,L=c===void 0?void 0:ia(r,c);return!!L&&mm(L)&&!Qi(jp(o),L)})}function VE(r){var t=ma(r);if(!(t.flags&1048576))return DT(t);for(var i=e.createSymbolTable(),o=0,s=r;o<s.length;o++)for(var c=s[o],L=0,G=DT(c);L<G.length;L++){var ce=G[L].escapedName;if(!i.has(ce)){var we=Ks(t,ce);we&&i.set(ce,we)}}return e.arrayFrom(i.values())}function kp(r){return r.flags&262144?Nl(r):r.flags&8388608?hy(r):r.flags&16777216?jE(r):l(r)}function Nl(r){return cr(r)?Qm(r):void 0}function hy(r){return cr(r)?WE(r):void 0}function qv(r){var t=Vf(r,!1);return t!==r?t:kp(r)}function WE(r){var t=qv(r.indexType);if(t&&t!==r.indexType){var i=cp(r.objectType,t,r.accessFlags);if(i)return i}var o=qv(r.objectType);if(o&&o!==r.objectType)return cp(o,r.indexType,r.accessFlags)}function Xv(r){if(!r.resolvedDefaultConstraint){var t=OO(r),i=fp(r);r.resolvedDefaultConstraint=Na(t)?i:Na(i)?t:ma([t,i])}return r.resolvedDefaultConstraint}function Yv(r){if(r.root.isDistributive&&r.restrictiveInstantiation!==r){var t=Vf(r.checkType,!1),i=t===r.checkType?kp(t):t;if(i&&i!==r.checkType){var o=L0(r,dm(r.root.checkType,i,r.mapper));if(!(o.flags&131072))return o}}}function yy(r){return Yv(r)||Xv(r)}function jE(r){return cr(r)?yy(r):void 0}function HE(r,t){for(var i,o=!1,s=0,c=r;s<c.length;s++){var L=c[s];if(L.flags&465829888){for(var G=kp(L);G&&G.flags&21233664;)G=kp(G);G&&(i=e.append(i,G),t&&(i=e.append(i,L)))}else L.flags&469892092&&(o=!0)}if(i&&(t||o)){if(o)for(var ce=0,we=r;ce<we.length;ce++){var L=we[ce];L.flags&469892092&&(i=e.append(i,L))}return To(i)}}function l(r){if(r.flags&464781312){var t=Ur(r);return t!==ro&&t!==Ka?t:void 0}return r.flags&4194304?_t:void 0}function ee(r){return l(r)||r}function cr(r){return Ur(r)!==Ka}function Ur(r){if(r.resolvedBaseConstraint)return r.resolvedBaseConstraint;var t=[];return r.resolvedBaseConstraint=Il(i(r),r);function i(c){if(!c.immediateBaseConstraint){if(!E(c,4))return Ka;var L=void 0;if((t.length<10||t.length<50&&!dh(c,t,t.length))&&(t.push(c),L=s(Vf(c,!1)),t.pop()),!Ot()){if(c.flags&262144){var G=mD(c);if(G){var ce=Mr(G,e.Diagnostics.Type_parameter_0_has_a_circular_constraint,gn(c));_e&&!e.isNodeDescendantOf(G,_e)&&!e.isNodeDescendantOf(_e,G)&&e.addRelatedInfo(ce,e.createDiagnosticForNode(_e,e.Diagnostics.Circularity_originates_in_type_at_this_location))}}L=Ka}c.immediateBaseConstraint=L||ro}return c.immediateBaseConstraint}function o(c){var L=i(c);return L!==ro&&L!==Ka?L:void 0}function s(c){if(c.flags&262144){var L=Qm(c);return c.isThisType||!L?L:o(L)}if(c.flags&3145728){for(var G=c.types,ce=[],we=!1,Ue=0,Je=G;Ue<Je.length;Ue++){var ar=Je[Ue],_r=o(ar);_r?(_r!==ar&&(we=!0),ce.push(_r)):we=!0}return we?c.flags&1048576&&ce.length===G.length?ma(ce):c.flags&2097152&&ce.length?To(ce):void 0:c}if(c.flags&4194304)return _t;if(c.flags&134217728){var G=c.types,Gr=e.mapDefined(G,o);return Gr.length===G.length?rg(c.texts,Gr):xt}if(c.flags&268435456){var L=o(c.type);return L?Cy(c.symbol,L):xt}if(c.flags&8388608){var Zr=o(c.objectType),Et=o(c.indexType),Tt=Zr&&Et&&cp(Zr,Et,c.accessFlags);return Tt&&o(Tt)}if(c.flags&16777216){var L=yy(c);return L&&o(L)}return c.flags&33554432?o(c.substitute):c}}function Nt(r){return r.resolvedApparentType||(r.resolvedApparentType=Il(r,r,!0))}function xn(r){if(r.default)r.default===Mi&&(r.default=Ka);else if(r.target){var t=xn(r.target);r.default=t?oi(t,r.mapper):ro}else{r.default=Mi;var i=r.symbol&&e.forEach(r.symbol.declarations,function(s){return e.isTypeParameterDeclaration(s)&&s.default}),o=i?Da(i):ro;r.default===Mi&&(r.default=o)}return r.default}function Bn(r){var t=xn(r);return t!==ro&&t!==Ka?t:void 0}function ga(r){return xn(r)!==Ka}function Ei(r){return!!(r.symbol&&e.forEach(r.symbol.declarations,function(t){return e.isTypeParameterDeclaration(t)&&t.default}))}function li(r){return r.resolvedApparentType||(r.resolvedApparentType=go(r))}function go(r){var t=T0(r);if(t&&!r.declaration.nameType){var i=Nl(t);if(i&&(el(i)||ki(i)))return oi(r,dm(t,i,r.mapper))}return r}function wi(r){var t=r.flags&465829888?l(r)||tr:r;return e.getObjectFlags(t)&32?li(t):t.flags&2097152?Nt(t):t.flags&402653316?er:t.flags&296?vr:t.flags&2112?qk(De>=7):t.flags&528?qr:t.flags&12288?RD(De>=2):t.flags&67108864?Qn:t.flags&4194304?_t:t.flags&2&&!br?Qn:t}function Is(r){return Eo(wi(Eo(r)))}function Ks(r,t,i){for(var o,s,c,L,G,ce=r.flags&1048576,we=ce?0:16777216,Ue=4,Je=ce?0:8,ar=!1,_r=0,Gr=r.types;_r<Gr.length;_r++){var Zr=Gr[_r],Et=wi(Zr);if(!(Ua(Et)||Et.flags&131072)){var Tt=Ii(Et,t,i),At=Tt?e.getDeclarationModifierFlagsFromSymbol(Tt):0;if(Tt){if(ce?we|=Tt.flags&16777216:we&=Tt.flags,!c)c=Tt;else if(Tt!==c){var Vt=(Am(Tt)||Tt)===(Am(c)||c);if(Vt&&F0(c,Tt,function(Ca,Yn){return Ca===Yn?-1:0})===-1)ar=!!c.parent&&!!e.length(mu(c.parent));else{L||(L=new e.Map,L.set(y(c),c));var Nn=y(Tt);L.has(Nn)||L.set(Nn,Tt)}}ce&&Iu(Tt)?Je|=8:!ce&&!Iu(Tt)&&(Je&=-9),Je|=(At&24?0:256)|(At&16?512:0)|(At&8?1024:0)|(At&32?2048:0),I1(Tt)||(Ue=2)}else if(ce){var on=!Ip(t)&&ip(Et,t);on?(Je|=32|(on.isReadonly?8:0),G=e.append(G,ki(Et)?rv(Et)||Nr:on.type)):Gp(Et)&&!(e.getObjectFlags(Et)&4194304)?(Je|=32,G=e.append(G,Nr)):Je|=16}}}if(!(!c||ce&&(L||Je&48)&&Je&1536)){if(!L&&!(Je&16)&&!G)if(ar){var ca=V_(c,c.type);return ca.parent=(s=(o=c.valueDeclaration)===null||o===void 0?void 0:o.symbol)===null||s===void 0?void 0:s.parent,ca.containingType=r,ca.mapper=c.mapper,ca}else return c;for(var la=L?e.arrayFrom(L.values()):[c],di,Aa,Li,Bi=[],Ai,xo=!1,Wt=0,Ft=la;Wt<Ft.length;Wt++){var Tt=Ft[Wt];Ai?Tt.valueDeclaration&&Tt.valueDeclaration!==Ai&&(xo=!0):Ai=Tt.valueDeclaration,di=e.addRange(di,Tt.declarations);var Et=An(Tt);Aa?Et!==Aa&&(Je|=64):(Aa=Et,Li=Ja(Tt).nameType),(mm(Et)||tg(Et))&&(Je|=128),Et.flags&131072&&(Je|=131072),Bi.push(Et)}e.addRange(Bi,G);var _n=fo(4|we,t,Ue|Je);return _n.containingType=r,!xo&&Ai&&(_n.valueDeclaration=Ai,Ai.symbol.parent&&(_n.parent=Ai.symbol.parent)),_n.declarations=di,_n.nameType=Li,Bi.length>2?(_n.checkFlags|=65536,_n.deferralParent=r,_n.deferralConstituents=Bi):_n.type=ce?ma(Bi):To(Bi),_n}}function hs(r,t,i){var o,s,c=((o=r.propertyCacheWithoutObjectFunctionPropertyAugment)===null||o===void 0?void 0:o.get(t))||!i?(s=r.propertyCache)===null||s===void 0?void 0:s.get(t):void 0;if(!c&&(c=Ks(r,t,i),c)){var L=i?r.propertyCacheWithoutObjectFunctionPropertyAugment||(r.propertyCacheWithoutObjectFunctionPropertyAugment=e.createSymbolTable()):r.propertyCache||(r.propertyCache=e.createSymbolTable());L.set(t,c)}return c}function ic(r,t,i){var o=hs(r,t,i);return o&&!(e.getCheckFlags(o)&16)?o:void 0}function Eo(r){return r.flags&1048576&&r.objectFlags&33554432?r.resolvedReducedType||(r.resolvedReducedType=zu(r)):r.flags&2097152?(r.objectFlags&33554432||(r.objectFlags|=33554432|(e.some(Hm(r),c_)?67108864:0)),r.objectFlags&67108864?en:r):r}function zu(r){var t=e.sameMap(r.types,Eo);if(t===r.types)return r;var i=ma(t);return i.flags&1048576&&(i.resolvedReducedType=i),i}function c_(r){return sm(r)||ap(r)}function sm(r){return!(r.flags&16777216)&&(e.getCheckFlags(r)&131264)===192&&!!(An(r).flags&131072)}function ap(r){return!r.valueDeclaration&&!!(e.getCheckFlags(r)&1024)}function Jm(r,t){if(t.flags&2097152&&e.getObjectFlags(t)&67108864){var i=e.find(Hm(t),sm);if(i)return e.chainDiagnosticMessages(r,e.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,gn(t,void 0,536870912),Wa(i));var o=e.find(Hm(t),ap);if(o)return e.chainDiagnosticMessages(r,e.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,gn(t,void 0,536870912),Wa(o))}return r}function Ii(r,t,i){if(r=Is(r),r.flags&524288){var o=Sc(r),s=o.members.get(t);if(s&&If(s))return s;if(i)return;var c=o===yi?Oe:o.callSignatures.length?oe:o.constructSignatures.length?mr:void 0;if(c){var L=hd(c,t);if(L)return L}return hd(Un,t)}if(r.flags&3145728)return ic(r,t,i)}function jg(r,t){if(r.flags&3670016){var i=Sc(r);return t===0?i.callSignatures:i.constructSignatures}return e.emptyArray}function Ni(r,t){return jg(Is(r),t)}function Qv(r,t){return e.find(r,function(i){return i.keyType===t})}function Zv(r,t){for(var i,o,s,c=0,L=r;c<L.length;c++){var G=L[c];G.keyType===xt?i=G:u_(t,G.keyType)&&(o?(s||(s=[o])).push(G):o=G)}return s?Eu(tr,To(e.map(s,function(ce){return ce.type})),e.reduceLeft(s,function(ce,we){return ce&&we.isReadonly},!0)):o||(i&&u_(t,xt)?i:void 0)}function u_(r,t){return Qi(r,t)||t===xt&&Qi(r,wt)||t===wt&&!!(r.flags&128)&&zf(r.value)}function Km(r){if(r.flags&3670016){var t=Sc(r);return t.indexInfos}return e.emptyArray}function Ps(r){return Km(Is(r))}function oc(r,t){return Qv(Ps(r),t)}function tu(r,t){var i;return(i=oc(r,t))===null||i===void 0?void 0:i.type}function $v(r,t){return Ps(r).filter(function(i){return u_(t,i.keyType)})}function zm(r,t){return Zv(Ps(r),t)}function ip(r,t){return zm(r,Ip(t)?na:Lc(e.unescapeLeadingUnderscores(t)))}function eh(r){for(var t,i=0,o=e.getEffectiveTypeParameterDeclarations(r);i<o.length;i++){var s=o[i];t=e.appendIfUnique(t,vl(s.symbol))}return t}function qm(r){var t=[];return r.forEach(function(i,o){Nf(o)||t.push(i)}),t}function Xm(r){return e.isInJSFile(r)&&(r.type&&r.type.kind===314||e.getJSDocParameterTags(r).some(function(t){var i=t.isBracketed,o=t.typeExpression;return i||!!o&&o.type.kind===314}))}function Hg(r,t){if(!e.isExternalModuleNameRelative(r)){var i=ks(Pr,'\"'+r+'\"',512);return i&&t?Ga(i):i}}function w_(r){if(e.hasQuestionToken(r)||JE(r)||Xm(r))return!0;if(r.initializer){var t=bu(r.parent),i=r.parent.parameters.indexOf(r);return e.Debug.assert(i>=0),i>=Cu(t,3)}var o=e.getImmediatelyInvokedFunctionExpression(r.parent);return o?!r.type&&!r.dotDotDotToken&&r.parent.parameters.indexOf(r)>=o.arguments.length:!1}function vk(r){return e.isPropertyDeclaration(r)&&r.questionToken}function JE(r){if(!e.isJSDocPropertyLikeTag(r))return!1;var t=r.isBracketed,i=r.typeExpression;return t||!!i&&i.type.kind===314}function rh(r,t,i,o){return{kind:r,parameterName:t,parameterIndex:i,type:o}}function lf(r){var t=0;if(r)for(var i=0;i<r.length;i++)Ei(r[i])||(t=i+1);return t}function M_(r,t,i,o){var s=e.length(t);if(!s)return[];var c=e.length(r);if(o||c>=i&&c<=s){for(var L=r?r.slice():[],G=c;G<s;G++)L[G]=dr;for(var ce=n1(o),G=c;G<s;G++){var we=Bn(t[G]);o&&we&&(jf(we,tr)||jf(we,Qn))&&(we=Ze),L[G]=we?oi(we,Ol(t,L)):ce}return L.length=t.length,L}return r&&r.slice()}function bu(r){var t=Zn(r);if(!t.resolvedSignature){var i=[],o=0,s=0,c=void 0,L=!1,G=e.getImmediatelyInvokedFunctionExpression(r),ce=e.isJSDocConstructSignature(r),we=!G&&e.isInJSFile(r)&&e.isValueSignatureDeclaration(r)&&!e.hasJSDocParameterTags(r)&&!e.getJSDocType(r);we&&(o|=32);for(var Ue=ce?1:0;Ue<r.parameters.length;Ue++){var Je=r.parameters[Ue],ar=Je.symbol,_r=e.isJSDocParameterTag(Je)?Je.typeExpression&&Je.typeExpression.type:Je.type;if(ar&&!!(ar.flags&4)&&!e.isBindingPattern(Je.name)){var Gr=Uo(Je,ar.escapedName,111551,void 0,void 0,!1);ar=Gr}Ue===0&&ar.escapedName===\"this\"?(L=!0,c=Je.symbol):i.push(ar),_r&&_r.kind===195&&(o|=2);var Zr=JE(Je)||Je.initializer||Je.questionToken||e.isRestParameter(Je)||G&&i.length>G.arguments.length&&!_r||Xm(Je);Zr||(s=i.length)}if((r.kind===171||r.kind===172)&&l_(r)&&(!L||!c)){var Et=r.kind===171?172:171,Tt=e.getDeclarationOfKind(wn(r),Et);Tt&&(c=W(Tt))}var At=r.kind===170?Hn(Ga(r.parent.symbol)):void 0,Vt=At?At.localTypeParameters:eh(r);(e.hasRestParameter(r)||e.isInJSFile(r)&&hk(r,i))&&(o|=1),(e.isConstructorTypeNode(r)&&e.hasSyntacticModifier(r,128)||e.isConstructorDeclaration(r)&&e.hasSyntacticModifier(r.parent,128))&&(o|=4),t.resolvedSignature=hu(r,Vt,c,i,void 0,void 0,s,o)}return t.resolvedSignature}function hk(r,t){if(e.isJSDocSignature(r)||!zE(r))return!1;var i=e.lastOrUndefined(r.parameters),o=i?e.getJSDocParameterTags(i):e.getJSDocTags(r).filter(e.isJSDocParameterTag),s=e.firstDefined(o,function(L){return L.typeExpression&&e.isJSDocVariadicType(L.typeExpression.type)?L.typeExpression.type:void 0}),c=fo(3,\"args\",32768);return c.type=s?zs(Da(s.type)):Sn,s&&t.pop(),t.push(c),!0}function KE(r){if(!!(e.isInJSFile(r)&&e.isFunctionLikeDeclaration(r))){var t=e.getJSDocTypeTag(r);return(t==null?void 0:t.typeExpression)&&j_(Da(t.typeExpression))}}function yk(r){var t=KE(r);return t&&_o(t)}function zE(r){var t=Zn(r);return t.containsArgumentsReference===void 0&&(t.flags&8192?t.containsArgumentsReference=!0:t.containsArgumentsReference=i(r.body)),t.containsArgumentsReference;function i(o){if(!o)return!1;switch(o.kind){case 79:return o.escapedText===Jr.escapedName&&Lv(o)===Jr;case 166:case 168:case 171:case 172:return o.name.kind===161&&i(o.name);case 205:case 206:return i(o.expression);default:return!e.nodeStartsNewLexicalEnvironment(o)&&!e.isPartOfTypeNode(o)&&!!e.forEachChild(o,i)}}}function Op(r){if(!r||!r.declarations)return e.emptyArray;for(var t=[],i=0;i<r.declarations.length;i++){var o=r.declarations[i];if(!!e.isFunctionLike(o)){if(i>0&&o.body){var s=r.declarations[i-1];if(o.parent===s.parent&&o.kind===s.kind&&o.pos===s.end)continue}t.push(bu(o))}}return t}function cD(r){var t=ws(r,r);if(t){var i=ll(t);if(i)return An(i)}return Ze}function f_(r){if(r.thisParameter)return An(r.thisParameter)}function Dc(r){if(!r.resolvedTypePredicate){if(r.target){var t=Dc(r.target);r.resolvedTypePredicate=t?zO(t,r.mapper):to}else if(r.compositeSignatures)r.resolvedTypePredicate=oO(r.compositeSignatures,r.compositeKind)||to;else{var i=r.declaration&&e.getEffectiveReturnTypeNode(r.declaration),o=void 0;if(!i&&e.isInJSFile(r.declaration)){var s=KE(r.declaration);s&&r!==s&&(o=Dc(s))}r.resolvedTypePredicate=i&&e.isTypePredicateNode(i)?bk(i,r):o||to}e.Debug.assert(!!r.resolvedTypePredicate)}return r.resolvedTypePredicate===to?void 0:r.resolvedTypePredicate}function bk(r,t){var i=r.parameterName,o=r.type&&Da(r.type);return i.kind===191?rh(r.assertsModifier?2:0,void 0,void 0,o):rh(r.assertsModifier?3:1,i.escapedText,e.findIndex(t.parameters,function(s){return s.escapedName===i.escapedText}),o)}function uD(r,t,i){return t!==2097152?ma(r,i):To(r)}function _o(r){if(!r.resolvedReturnType){if(!E(r,3))return dr;var t=r.target?oi(_o(r.target),r.mapper):r.compositeSignatures?oi(uD(e.map(r.compositeSignatures,_o),r.compositeKind,2),r.mapper):lm(r.declaration)||(e.nodeIsMissing(r.declaration.body)?Ze:Lb(r.declaration));if(r.flags&8?t=JL(t):r.flags&16&&(t=Jf(t)),!Ot()){if(r.declaration){var i=e.getEffectiveReturnTypeNode(r.declaration);if(i)Mr(i,e.Diagnostics.Return_type_annotation_circularly_references_itself);else if(Ke){var o=r.declaration,s=e.getNameOfDeclaration(o);s?Mr(s,e.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,e.declarationNameToString(s)):Mr(o,e.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)}}t=Ze}r.resolvedReturnType=t}return r.resolvedReturnType}function lm(r){if(r.kind===170)return Hn(Ga(r.parent.symbol));if(e.isJSDocConstructSignature(r))return Da(r.parameters[0].type);var t=e.getEffectiveReturnTypeNode(r);if(t)return Da(t);if(r.kind===171&&l_(r)){var i=e.isInJSFile(r)&&Pf(r);if(i)return i;var o=e.getDeclarationOfKind(wn(r),172),s=_(o);if(s)return s}return yk(r)}function qE(r){return!r.resolvedReturnType&&Qe(r,3)>=0}function Ek(r){return fD(r)||Ze}function fD(r){if(ue(r)){var t=An(r.parameters[r.parameters.length-1]),i=ki(t)?rv(t):t;return i&&tu(i,wt)}}function th(r,t,i,o){var s=XE(r,M_(t,r.typeParameters,lf(r.typeParameters),i));if(o){var c=hC(_o(s));if(c){var L=Np(c);L.typeParameters=o;var G=Np(s);return G.resolvedReturnType=Ym(L),G}}return s}function XE(r,t){var i=r.instantiations||(r.instantiations=new e.Map),o=sc(t),s=i.get(o);return s||i.set(o,s=by(r,t)),s}function by(r,t){return pm(r,Tk(r,t),!0)}function Tk(r,t){return Ol(r.typeParameters,t)}function Jg(r){return r.typeParameters?r.erasedSignatureCache||(r.erasedSignatureCache=Sk(r)):r}function Sk(r){return pm(r,gL(r.typeParameters),!0)}function Dk(r){return r.typeParameters?r.canonicalSignatureCache||(r.canonicalSignatureCache=Lk(r)):r}function Lk(r){return th(r,e.map(r.typeParameters,function(t){return t.target&&!Nl(t.target)?t.target:t}),e.isInJSFile(r.declaration))}function Ak(r){var t=r.typeParameters;if(t){if(r.baseSignatureCache)return r.baseSignatureCache;for(var i=gL(t),o=Ol(t,e.map(t,function(L){return Nl(L)||tr})),s=e.map(t,function(L){return oi(L,o)||tr}),c=0;c<t.length-1;c++)s=bd(s,o);return s=bd(s,i),r.baseSignatureCache=pm(r,Ol(t,s),!0)}return r}function Ym(r){if(!r.isolatedSignatureType){var t=r.declaration?r.declaration.kind:0,i=t===170||t===174||t===179,o=Bl(16);o.members=Le,o.properties=e.emptyArray,o.callSignatures=i?e.emptyArray:[r],o.constructSignatures=i?[r]:e.emptyArray,o.indexInfos=e.emptyArray,r.isolatedSignatureType=o}return r.isolatedSignatureType}function dD(r){return r.members?YE(r.members):void 0}function YE(r){return r.get(\"__index\")}function Eu(r,t,i,o){return{keyType:r,type:t,isReadonly:i,declaration:o}}function pD(r){var t=dD(r);return t?_D(t):e.emptyArray}function _D(r){if(r.declarations){for(var t=[],i=function(L){if(L.parameters.length===1){var G=L.parameters[0];G.type&&v_(Da(G.type),function(ce){Ey(ce)&&!Qv(t,ce)&&t.push(Eu(ce,L.type?Da(L.type):Ze,e.hasEffectiveModifier(L,64),L))})}},o=0,s=r.declarations;o<s.length;o++){var c=s[o];i(c)}return t}return e.emptyArray}function Ey(r){return!!(r.flags&4108)||tg(r)||!!(r.flags&2097152)&&!Yg(r)&&e.some(r.types,Ey)}function mD(r){return e.mapDefined(e.filter(r.symbol&&r.symbol.declarations,e.isTypeParameterDeclaration),e.getEffectiveConstraintOfTypeParameter)[0]}function Ck(r){var t,i;if(!((t=r.symbol)===null||t===void 0)&&t.declarations)for(var o=0,s=r.symbol.declarations;o<s.length;o++){var c=s[o];if(c.parent.kind===189){var L=e.walkUpParenthesizedTypesAndGetParentAndChild(c.parent.parent),G=L[0],ce=G===void 0?c.parent:G,we=L[1];if(we.kind===177){var Ue=we,Je=iT(Ue);if(Je){var ar=Ue.typeArguments.indexOf(ce);if(ar<Je.length){var _r=Nl(Je[ar]);if(_r){var Gr=Ol(Je,xb(Ue,Je)),Zr=oi(_r,Gr);Zr!==r&&(i=e.append(i,Zr))}}}}else if(we.kind===163&&we.dotDotDotToken||we.kind===185||we.kind===196&&we.dotDotDotToken)i=e.append(i,zs(tr));else if(we.kind===198)i=e.append(i,xt);else if(we.kind===162&&we.parent.kind===194)i=e.append(i,_t);else if(we.kind===194&&we.type&&e.skipParentheses(we.type)===c.parent&&we.parent.kind===188&&we.parent.extendsType===we&&we.parent.checkType.kind===194&&we.parent.checkType.type){var Et=we.parent.checkType,Tt=Da(Et.type);i=e.append(i,oi(Tt,B_(vl(wn(Et.typeParameter)),Et.typeParameter.constraint?Da(Et.typeParameter.constraint):_t)))}}}return i&&To(i)}function Qm(r){if(!r.constraint)if(r.target){var t=Nl(r.target);r.constraint=t?oi(t,r.mapper):ro}else{var i=mD(r);if(!i)r.constraint=Ck(r)||ro;else{var o=Da(i);o.flags&1&&!Ua(o)&&(o=i.parent.parent.kind===194?_t:tr),r.constraint=o}}return r.constraint===ro?void 0:r.constraint}function gD(r){var t=e.getDeclarationOfKind(r.symbol,162),i=e.isJSDocTemplateTag(t.parent)?e.getEffectiveContainerForJSDocTemplateTag(t.parent):t.parent;return i&&wn(i)}function sc(r){var t=\"\";if(r)for(var i=r.length,o=0;o<i;){for(var s=r[o].id,c=1;o+c<i&&r[o+c].id===s+c;)c++;t.length&&(t+=\",\"),t+=s,c>1&&(t+=\":\"+c),o+=c}return t}function cm(r,t){return r?\"@\".concat(y(r))+(t?\":\".concat(sc(t)):\"\"):\"\"}function QE(r,t){for(var i=0,o=0,s=r;o<s.length;o++){var c=s[o];c.flags&t||(i|=e.getObjectFlags(c))}return i&917504}function Uf(r,t){var i=sc(t),o=r.instantiations.get(i);return o||(o=Bl(4,r.symbol),r.instantiations.set(i,o),o.objectFlags|=t?QE(t,0):0,o.target=r,o.resolvedTypeArguments=t),o}function vD(r){var t=Qs(r.flags);return t.symbol=r.symbol,t.objectFlags=r.objectFlags,t.target=r.target,t.resolvedTypeArguments=r.resolvedTypeArguments,t}function ZE(r,t,i,o,s){if(!o){o=G_(t);var c=um(o);s=i?bd(c,i):c}var L=Bl(4,r.symbol);return L.target=r,L.node=t,L.mapper=i,L.aliasSymbol=o,L.aliasTypeArguments=s,L}function vo(r){var t,i;if(!r.resolvedTypeArguments){if(!E(r,6))return((t=r.target.localTypeParameters)===null||t===void 0?void 0:t.map(function(){return dr}))||e.emptyArray;var o=r.node,s=o?o.kind===177?e.concatenate(r.target.outerTypeParameters,xb(o,r.target.localTypeParameters)):o.kind===182?[Da(o.elementType)]:e.map(o.elements,Da):e.emptyArray;Ot()?r.resolvedTypeArguments=r.mapper?bd(s,r.mapper):s:(r.resolvedTypeArguments=((i=r.target.localTypeParameters)===null||i===void 0?void 0:i.map(function(){return dr}))||e.emptyArray,Mr(r.node||_e,r.target.symbol?e.Diagnostics.Type_arguments_for_0_circularly_reference_themselves:e.Diagnostics.Tuple_type_arguments_circularly_reference_themselves,r.target.symbol&&Wa(r.target.symbol)))}return r.resolvedTypeArguments}function op(r){return e.length(r.target.typeParameters)}function hD(r,t){var i=po(Ga(t)),o=i.localTypeParameters;if(o){var s=e.length(r.typeArguments),c=lf(o),L=e.isInJSFile(r),G=!Ke&&L;if(!G&&(s<c||s>o.length)){var ce=L&&e.isExpressionWithTypeArguments(r)&&!e.isJSDocAugmentsTag(r.parent),we=c===o.length?ce?e.Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_1_type_argument_s:ce?e.Diagnostics.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,Ue=gn(i,void 0,2);if(Mr(r,we,Ue,c,o.length),!L)return dr}if(r.kind===177&&BD(r,e.length(r.typeArguments)!==o.length))return ZE(i,r,void 0);var Je=e.concatenate(i.outerTypeParameters,M_(Ly(r),o,c,L));return Uf(i,Je)}return Rp(r,t)?i:dr}function Zm(r,t,i,o){var s=po(r);if(s===Vr&&V.has(r.escapedName)&&t&&t.length===1)return Cy(r,t[0]);var c=Ja(r),L=c.typeParameters,G=sc(t)+cm(i,o),ce=c.instantiations.get(G);return ce||c.instantiations.set(G,ce=bL(s,Ol(L,M_(t,L,lf(L),e.isInJSFile(r.valueDeclaration))),i,o)),ce}function xk(r,t){if(e.getCheckFlags(t)&1048576){var i=Ly(r),o=cm(t,i),s=me.get(o);return s||(s=jo(1,\"error\"),s.aliasSymbol=t,s.aliasTypeArguments=i,me.set(o,s)),s}var c=po(t),L=Ja(t).typeParameters;if(L){var G=e.length(r.typeArguments),ce=lf(L);if(G<ce||G>L.length)return Mr(r,ce===L.length?e.Diagnostics.Generic_type_0_requires_1_type_argument_s:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,Wa(t),ce,L.length),dr;var we=G_(r),Ue=we&&(yD(t)||!yD(we))?we:void 0;return Zm(t,Ly(r),Ue,um(Ue))}return Rp(r,t)?c:dr}function yD(r){var t,i=(t=r.declarations)===null||t===void 0?void 0:t.find(e.isTypeAlias);return!!(i&&e.getContainingFunction(i))}function Ik(r){switch(r.kind){case 177:return r.typeName;case 227:var t=r.expression;if(e.isEntityNameExpression(t))return t}}function bD(r){return r.parent?\"\".concat(bD(r.parent),\".\").concat(r.escapedName):r.escapedName}function Ty(r){var t=r.kind===160?r.right:r.kind===205?r.name:r,i=t.escapedText;if(i){var o=r.kind===160?Ty(r.left):r.kind===205?Ty(r.expression):void 0,s=o?\"\".concat(bD(o),\".\").concat(i):i,c=Ne.get(s);return c||(Ne.set(s,c=fo(524288,i,1048576)),c.parent=o,c.declaredType=et),c}return We}function $m(r,t,i){var o=Ik(r);if(!o)return We;var s=rs(o,t,i);return s&&s!==We?s:i?We:Ty(o)}function Sy(r,t){if(t===We)return dr;if(t=Sf(t)||t,t.flags&96)return hD(r,t);if(t.flags&524288)return xk(r,t);var i=s_(t);if(i)return Rp(r,t)?kl(i):dr;if(t.flags&111551&&Dy(r)){var o=Nk(r,t);return o||($m(r,788968),An(t))}return dr}function Nk(r,t){var i=Zn(r);if(!i.resolvedJSDocType){var o=An(t),s=o;if(t.valueDeclaration){var c=r.kind===199&&r.qualifier;o.symbol&&o.symbol!==t&&c&&(s=Sy(r,o.symbol))}i.resolvedJSDocType=s}return i.resolvedJSDocType}function ED(r,t){if(t.flags&3||t===r)return r;var i=\"\".concat(Bc(r),\">\").concat(Bc(t)),o=or.get(i);if(o)return o;var s=Qs(33554432);return s.baseType=r,s.substitute=t,or.set(i,s),s}function TD(r){return r.kind===183&&r.elements.length===1}function SD(r,t,i){return TD(t)&&TD(i)?SD(r,t.elements[0],i.elements[0]):d_(Da(t))===r?Da(i):void 0}function DD(r,t){for(var i,o=!0;t&&!e.isStatement(t)&&t.kind!==318;){var s=t.parent;if(s.kind===163&&(o=!o),(o||r.flags&8650752)&&s.kind===188&&t===s.trueType){var c=SD(r,s.checkType,s.extendsType);c&&(i=e.append(i,c))}t=s}return i?ED(r,To(e.append(i,r))):r}function Dy(r){return!!(r.flags&4194304)&&(r.kind===177||r.kind===199)}function Rp(r,t){return r.typeArguments?(Mr(r,e.Diagnostics.Type_0_is_not_generic,t?Wa(t):r.typeName?e.declarationNameToString(r.typeName):f),!1):!0}function LD(r){if(e.isIdentifier(r.typeName)){var t=r.typeArguments;switch(r.typeName.escapedText){case\"String\":return Rp(r),xt;case\"Number\":return Rp(r),wt;case\"Boolean\":return Rp(r),Jn;case\"Void\":return Rp(r),Wn;case\"Undefined\":return Rp(r),Nr;case\"Null\":return Rp(r),ut;case\"Function\":case\"function\":return Rp(r),Oe;case\"array\":return(!t||!t.length)&&!Ke?Sn:void 0;case\"promise\":return(!t||!t.length)&&!Ke?Nh(Ze):void 0;case\"Object\":if(t&&t.length===2){if(e.isJSDocIndexSignature(r)){var i=Da(t[0]),o=Da(t[1]),s=i===xt||i===wt?[Eu(i,o,!1)]:e.emptyArray;return ts(void 0,Le,e.emptyArray,e.emptyArray,s)}return Ze}return Rp(r),Ke?void 0:Ze}}}function kk(r){var t=Da(r.type);return br?Uy(t,65536):t}function nh(r){var t=Zn(r);if(!t.resolvedType){if(e.isConstTypeReference(r)&&e.isAssertionExpression(r.parent))return t.resolvedSymbol=We,t.resolvedType=Ss(r.parent.expression);var i=void 0,o=void 0,s=788968;Dy(r)&&(o=LD(r),o||(i=$m(r,s,!0),i===We?i=$m(r,s|111551):$m(r,s),o=Sy(r,i))),o||(i=$m(r,s),o=Sy(r,i)),t.resolvedSymbol=i,t.resolvedType=o}return t.resolvedType}function Ly(r){return e.map(r.typeArguments,Da)}function AD(r){var t=Zn(r);if(!t.resolvedType){var i=e.isThisIdentifier(r.exprName)?ib(r.exprName):ui(r.exprName);t.resolvedType=kl(wl(i))}return t.resolvedType}function CD(r,t){function i(s){var c=s.declarations;if(c)for(var L=0,G=c;L<G.length;L++){var ce=G[L];switch(ce.kind){case 256:case 257:case 259:return ce}}}if(!r)return t?va:Qn;var o=po(r);return o.flags&524288?e.length(o.typeParameters)!==t?(Mr(i(r),e.Diagnostics.Global_type_0_must_have_1_type_parameter_s,e.symbolName(r),t),t?va:Qn):o:(Mr(i(r),e.Diagnostics.Global_type_0_must_be_a_class_or_interface_type,e.symbolName(r)),t?va:Qn)}function xD(r,t){return Kg(r,111551,t?e.Diagnostics.Cannot_find_global_value_0:void 0)}function ID(r,t){return Kg(r,788968,t?e.Diagnostics.Cannot_find_global_type_0:void 0)}function $E(r,t,i){var o=Kg(r,788968,i?e.Diagnostics.Cannot_find_global_type_0:void 0);if(o&&(po(o),e.length(Ja(o).typeParameters)!==t)){var s=o.declarations&&e.find(o.declarations,e.isTypeAliasDeclaration);Mr(s,e.Diagnostics.Global_type_0_must_have_1_type_parameter_s,e.symbolName(o),t);return}return o}function Kg(r,t,i){return Uo(void 0,r,t,i,r,!1,!1,!1)}function $s(r,t,i){var o=ID(r,i);return o||i?CD(o,t):void 0}function Ok(){return cs||(cs=$s(\"TypedPropertyDescriptor\",1,!0)||va)}function Rk(){return pe||(pe=$s(\"TemplateStringsArray\",0,!0)||Qn)}function ND(){return Rr||(Rr=$s(\"ImportMeta\",0,!0)||Qn)}function wk(){if(!ft){var r=fo(0,\"ImportMetaExpression\"),t=ND(),i=fo(4,\"meta\",8);i.parent=r,i.type=t;var o=e.createSymbolTable([i]);r.members=o,ft=ts(r,o,e.emptyArray,e.emptyArray,e.emptyArray)}return ft}function kD(r){return Zt||(Zt=$s(\"ImportCallOptions\",0,r))||Qn}function OD(r){return $a||($a=xD(\"Symbol\",r))}function Mk(r){return Ji||(Ji=ID(\"SymbolConstructor\",r))}function RD(r){return So||(So=$s(\"Symbol\",0,r))||Qn}function ah(r){return bt||(bt=$s(\"Promise\",1,r))||va}function wD(r){return Pn||(Pn=$s(\"PromiseLike\",1,r))||va}function e0(r){return da||(da=xD(\"Promise\",r))}function Pk(r){return ei||(ei=$s(\"PromiseConstructorLike\",0,r))||Qn}function Fk(r){return Ro||(Ro=$s(\"AsyncIterable\",1,r))||va}function Gk(r){return ko||(ko=$s(\"AsyncIterator\",3,r))||va}function Bk(r){return es||(es=$s(\"AsyncIterableIterator\",1,r))||va}function Uk(r){return as||(as=$s(\"AsyncGenerator\",3,r))||va}function MD(r){return bi||(bi=$s(\"Iterable\",1,r))||va}function Vk(r){return xi||(xi=$s(\"Iterator\",3,r))||va}function Wk(r){return ka||(ka=$s(\"IterableIterator\",1,r))||va}function jk(r){return mi||(mi=$s(\"Generator\",3,r))||va}function Hk(r){return Xi||(Xi=$s(\"IteratorYieldResult\",1,r))||va}function Jk(r){return Gi||(Gi=$s(\"IteratorReturnResult\",1,r))||va}function PD(r,t){t===void 0&&(t=0);var i=Kg(r,788968,void 0);return i&&CD(i,t)}function Kk(){return Re||(Re=$E(\"Extract\",2,!0)||We),Re===We?void 0:Re}function zk(){return Qr||(Qr=$E(\"Omit\",2,!0)||We),Qr===We?void 0:Qr}function r0(r){return vn||(vn=$E(\"Awaited\",1,r)||(r?We:void 0)),vn===We?void 0:vn}function qk(r){return Xn||(Xn=$s(\"BigInt\",0,r))||Qn}function zg(r,t){return r!==va?Uf(r,t):Qn}function FD(r){return zg(Ok(),[r])}function Xk(r){return zg(MD(!0),[r])}function zs(r,t){return zg(t?Be:se,[r])}function t0(r){switch(r.kind){case 184:return 2;case 185:return GD(r);case 196:return r.questionToken?2:r.dotDotDotToken?GD(r):1;default:return 1}}function GD(r){return lh(r.type)?4:8}function Yk(r){var t=Zk(r.parent),i=lh(r);if(i)return t?Be:se;var o=e.map(r.elements,t0),s=e.some(r.elements,function(c){return c.kind!==196});return n0(o,t,s?void 0:r.elements)}function BD(r,t){return!!G_(r)||UD(r)&&(r.kind===182?yd(r.elementType):r.kind===183?e.some(r.elements,yd):t||e.some(r.typeArguments,yd))}function UD(r){var t=r.parent;switch(t.kind){case 190:case 196:case 177:case 186:case 187:case 193:case 188:case 192:case 182:case 183:return UD(t);case 258:return!0}return!1}function yd(r){switch(r.kind){case 177:return Dy(r)||!!($m(r,788968).flags&524288);case 180:return!0;case 192:return r.operator!==153&&yd(r.type);case 190:case 184:case 196:case 314:case 312:case 313:case 307:return yd(r.type);case 185:return r.type.kind!==182||yd(r.type.elementType);case 186:case 187:return e.some(r.types,yd);case 193:return yd(r.objectType)||yd(r.indexType);case 188:return yd(r.checkType)||yd(r.extendsType)||yd(r.trueType)||yd(r.falseType)}return!1}function Qk(r){var t=Zn(r);if(!t.resolvedType){var i=Yk(r);if(i===va)t.resolvedType=Qn;else if(!(r.kind===183&&e.some(r.elements,function(s){return!!(t0(s)&8)}))&&BD(r))t.resolvedType=r.kind===183&&r.elements.length===0?i:ZE(i,r,void 0);else{var o=r.kind===182?[Da(r.elementType)]:e.map(r.elements,Da);t.resolvedType=a0(i,o)}}return t.resolvedType}function Zk(r){return e.isTypeOperatorNode(r)&&r.operator===144}function Tu(r,t,i,o){i===void 0&&(i=!1);var s=n0(t||e.map(r,function(c){return 1}),i,o);return s===va?Qn:r.length?a0(s,r):s}function n0(r,t,i){if(r.length===1&&r[0]&4)return t?Be:se;var o=e.map(r,function(c){return c&1?\"#\":c&2?\"?\":c&4?\".\":\"*\"}).join()+(t?\"R\":\"\")+(i&&i.length?\",\"+e.map(i,N).join(\",\"):\"\"),s=tt.get(o);return s||tt.set(o,s=$k(r,t,i)),s}function $k(r,t,i){var o=r.length,s=e.countWhere(r,function(Et){return!!(Et&9)}),c,L=[],G=0;if(o){c=new Array(o);for(var ce=0;ce<o;ce++){var we=c[ce]=nc(),Ue=r[ce];if(G|=Ue,!(G&12)){var Je=fo(4|(Ue&2?16777216:0),\"\"+ce,t?8:0);Je.tupleLabelDeclaration=i==null?void 0:i[ce],Je.type=we,L.push(Je)}}}var ar=L.length,_r=fo(4,\"length\");if(G&12)_r.type=wt;else{for(var Gr=[],ce=s;ce<=o;ce++)Gr.push(Wf(ce));_r.type=ma(Gr)}L.push(_r);var Zr=Bl(12);return Zr.typeParameters=c,Zr.outerTypeParameters=void 0,Zr.localTypeParameters=c,Zr.instantiations=new e.Map,Zr.instantiations.set(sc(Zr.typeParameters),Zr),Zr.target=Zr,Zr.resolvedTypeArguments=Zr.typeParameters,Zr.thisType=nc(),Zr.thisType.isThisType=!0,Zr.thisType.constraint=Zr,Zr.declaredProperties=L,Zr.declaredCallSignatures=e.emptyArray,Zr.declaredConstructSignatures=e.emptyArray,Zr.declaredIndexInfos=e.emptyArray,Zr.elementFlags=r,Zr.minLength=s,Zr.fixedLength=ar,Zr.hasRestElement=!!(G&12),Zr.combinedFlags=G,Zr.readonly=t,Zr.labeledElementDeclarations=i,Zr}function a0(r,t){return r.objectFlags&8?VD(r,t):Uf(r,t)}function VD(r,t){var i,o,s;if(!(r.combinedFlags&14))return Uf(r,t);if(r.combinedFlags&8){var c=e.findIndex(t,function(Tt,At){return!!(r.elementFlags[At]&8&&Tt.flags&1179648)});if(c>=0)return ih(e.map(t,function(Tt,At){return r.elementFlags[At]&8?Tt:tr}))?ds(t[c],function(Tt){return VD(r,e.replaceElement(t,c,Tt))}):dr}for(var L=[],G=[],ce=[],we=-1,Ue=-1,Je=-1,ar=function(Tt){var At=t[Tt],Vt=r.elementFlags[Tt];if(Vt&8)if(At.flags&58982400||El(At))Et(At,8,(i=r.labeledElementDeclarations)===null||i===void 0?void 0:i[Tt]);else if(ki(At)){var Nn=vo(At);if(Nn.length+L.length>=1e4)return Mr(_e,e.isPartOfTypeNode(_e)?e.Diagnostics.Type_produces_a_tuple_type_that_is_too_large_to_represent:e.Diagnostics.Expression_produces_a_tuple_type_that_is_too_large_to_represent),{value:dr};e.forEach(Nn,function(on,ca){var la;return Et(on,At.target.elementFlags[ca],(la=At.target.labeledElementDeclarations)===null||la===void 0?void 0:la[ca])})}else Et(_p(At)&&tu(At,wt)||dr,4,(o=r.labeledElementDeclarations)===null||o===void 0?void 0:o[Tt]);else Et(At,Vt,(s=r.labeledElementDeclarations)===null||s===void 0?void 0:s[Tt])},_r=0;_r<t.length;_r++){var Gr=ar(_r);if(typeof Gr==\"object\")return Gr.value}for(var _r=0;_r<we;_r++)G[_r]&2&&(G[_r]=1);Ue>=0&&Ue<Je&&(L[Ue]=ma(e.sameMap(L.slice(Ue,Je+1),function(Tt,At){return G[Ue+At]&8?Hl(Tt,wt):Tt})),L.splice(Ue+1,Je-Ue),G.splice(Ue+1,Je-Ue),ce==null||ce.splice(Ue+1,Je-Ue));var Zr=n0(G,r.readonly,ce);return Zr===va?Qn:G.length?Uf(Zr,L):Zr;function Et(Tt,At,Vt){At&1&&(we=G.length),At&4&&Ue<0&&(Ue=G.length),At&6&&(Je=G.length),L.push(Tt),G.push(At),ce&&Vt?ce.push(Vt):ce=void 0}}function qg(r,t,i){i===void 0&&(i=0);var o=r.target,s=op(r)-i;return t>o.fixedLength?FR(r)||Tu(e.emptyArray):Tu(vo(r).slice(t,s),o.elementFlags.slice(t,s),!1,o.labeledElementDeclarations&&o.labeledElementDeclarations.slice(t,s))}function WD(r){return ma(e.append(e.arrayOf(r.target.fixedLength,function(t){return Lc(\"\"+t)}),qu(r.target.readonly?Be:se)))}function jD(r,t){var i=e.findIndex(r.elementFlags,function(o){return!(o&t)});return i>=0?i:r.elementFlags.length}function Ay(r,t){return r.elementFlags.length-e.findLastIndex(r.elementFlags,function(i){return!(i&t)})-1}function eO(r){return Wl(Da(r.type),!0)}function Bc(r){return r.id}function sp(r,t){return e.binarySearch(r,t,Bc,e.compareValues)>=0}function i0(r,t){var i=e.binarySearch(r,t,Bc,e.compareValues);return i<0?(r.splice(~i,0,t),!0):!1}function rO(r,t,i){var o=i.flags;if(o&1048576)return HD(r,t|(iO(i)?1048576:0),i.types);if(!(o&131072))if(t|=o&205258751,o&465829888&&(t|=33554432),i===fr&&(t|=8388608),!br&&o&98304)e.getObjectFlags(i)&131072||(t|=4194304);else{var s=r.length,c=s&&i.id>r[s-1].id?~s:e.binarySearch(r,i,Bc,e.compareValues);c<0&&r.splice(~c,0,i)}return t}function HD(r,t,i){for(var o=0,s=i;o<s.length;o++){var c=s[o];t=rO(r,t,c)}return t}function tO(r,t){var i=sc(r),o=fe.get(i);if(o)return o;for(var s=t&&e.some(r,function(Et){return!!(Et.flags&524288)&&!El(Et)&&I0(Sc(Et))}),c=r.length,L=c,G=0;L>0;){L--;var ce=r[L];if(s||ce.flags&469499904)for(var we=ce.flags&61603840?e.find(Yi(ce),function(Et){return Su(An(Et))}):void 0,Ue=we&&kl(An(we)),Je=0,ar=r;Je<ar.length;Je++){var _r=ar[Je];if(ce!==_r){if(G===1e5){var Gr=G/(c-L)*c;if(Gr>1e6){e.tracing===null||e.tracing===void 0||e.tracing.instant(\"checkTypes\",\"removeSubtypes_DepthLimit\",{typeIds:r.map(function(Et){return Et.id})}),Mr(_e,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);return}}if(G++,we&&_r.flags&61603840){var Zr=ia(_r,we.escapedName);if(Zr&&Su(Zr)&&kl(Zr)!==Ue)continue}if(Hf(ce,_r,ri)&&(!(e.getObjectFlags(O_(ce))&1)||!(e.getObjectFlags(O_(_r))&1)||_m(ce,_r))){e.orderedRemoveItemAt(r,L);break}}}}return fe.set(i,r),r}function nO(r,t,i){for(var o=r.length;o>0;){o--;var s=r[o],c=s.flags,L=c&402653312&&t&4||c&256&&t&8||c&2048&&t&64||c&8192&&t&4096||i&&c&32768&&t&16384||Mp(s)&&sp(r,s.regularType);L&&e.orderedRemoveItemAt(r,o)}}function aO(r){var t=e.filter(r,tg);if(t.length)for(var i=r.length,o=function(){i--;var s=r[i];s.flags&128&&e.some(t,function(c){return rA(s,c)})&&e.orderedRemoveItemAt(r,i)};i>0;)o()}function iO(r){return!!(r.flags&1048576&&(r.aliasSymbol||r.origin))}function JD(r,t){for(var i=0,o=t;i<o.length;i++){var s=o[i];if(s.flags&1048576){var c=s.origin;s.aliasSymbol||c&&!(c.flags&1048576)?e.pushIfUnique(r,s):c&&c.flags&1048576&&JD(r,c.types)}}}function o0(r,t){var i=Jd(r);return i.types=t,i}function ma(r,t,i,o,s){if(t===void 0&&(t=1),r.length===0)return en;if(r.length===1)return r[0];var c=[],L=HD(c,0,r);if(t!==0){if(L&3)return L&1?L&8388608?fr:Ze:L&65536||sp(c,tr)?tr:xr;if(de&&L&32768){var G=e.binarySearch(c,vt,Bc,e.compareValues);G>=0&&sp(c,Nr)&&e.orderedRemoveItemAt(c,G)}if((L&402664320||L&16384&&L&32768)&&nO(c,L,!!(t&2)),L&128&&L&134217728&&aO(c),t===2&&(c=tO(c,!!(L&524288)),!c))return dr;if(c.length===0)return L&65536?L&4194304?ut:ht:L&32768?L&4194304?Nr:zr:en}if(!s&&L&1048576){var ce=[];JD(ce,r);for(var we=[],Ue=function(At){e.some(ce,function(Vt){return sp(Vt.types,At)})||we.push(At)},Je=0,ar=c;Je<ar.length;Je++){var _r=ar[Je];Ue(_r)}if(!i&&ce.length===1&&we.length===0)return ce[0];var Gr=e.reduceLeft(ce,function(At,Vt){return At+Vt.types.length},0);if(Gr+we.length===c.length){for(var Zr=0,Et=ce;Zr<Et.length;Zr++){var _r=Et[Zr];i0(we,_r)}s=o0(1048576,we)}}var Tt=(L&36323363?0:65536)|(L&2097152?33554432:0);return l0(c,Tt,i,o,s)}function oO(r,t){for(var i,o=[],s=0,c=r;s<c.length;s++){var L=c[s],G=Dc(L);if(!G||G.kind===2||G.kind===3){if(t!==2097152)continue;return}if(i){if(!s0(i,G))return}else i=G;o.push(G.type)}if(!!i){var ce=uD(o,t);return rh(i.kind,i.parameterName,i.parameterIndex,ce)}}function s0(r,t){return r.kind===t.kind&&r.parameterIndex===t.parameterIndex}function l0(r,t,i,o,s){if(r.length===0)return en;if(r.length===1)return r[0];var c=s?s.flags&1048576?\"|\".concat(sc(s.types)):s.flags&2097152?\"&\".concat(sc(s.types)):\"#\".concat(s.type.id,\"|\").concat(sc(r)):sc(r),L=c+cm(i,o),G=Rt.get(L);return G||(G=Qs(1048576),G.objectFlags=t|QE(r,98304),G.types=r,G.origin=s,G.aliasSymbol=i,G.aliasTypeArguments=o,r.length===2&&r[0].flags&512&&r[1].flags&512&&(G.flags|=16,G.intrinsicName=\"boolean\"),Rt.set(L,G)),G}function sO(r){var t=Zn(r);if(!t.resolvedType){var i=G_(r);t.resolvedType=ma(e.map(r.types,Da),1,i,um(i))}return t.resolvedType}function lO(r,t,i){var o=i.flags;return o&2097152?KD(r,t,i.types):(xL(i)?t&16777216||(t|=16777216,r.set(i.id.toString(),i)):(o&3?i===fr&&(t|=8388608):(br||!(o&98304))&&(de&&i===vt&&(t|=262144,i=Nr),r.has(i.id.toString())||(i.flags&109440&&t&109440&&(t|=67108864),r.set(i.id.toString(),i))),t|=o&205258751),t)}function KD(r,t,i){for(var o=0,s=i;o<s.length;o++){var c=s[o];t=lO(r,t,kl(c))}return t}function cO(r,t){for(var i=r.length;i>0;){i--;var o=r[i],s=o.flags&4&&t&128||o.flags&8&&t&256||o.flags&64&&t&2048||o.flags&4096&&t&8192;s&&e.orderedRemoveItemAt(r,i)}}function uO(r,t){for(var i=0,o=r;i<o.length;i++){var s=o[i];if(!sp(s.types,t)){var c=t.flags&128?xt:t.flags&256?wt:t.flags&2048?Qt:t.flags&8192?na:void 0;if(!c||!sp(s.types,c))return!1}}return!0}function fO(r){for(var t=r.length,i=e.filter(r,function(G){return!!(G.flags&128)});t>0;){t--;var o=r[t];if(!!(o.flags&134217728))for(var s=0,c=i;s<c.length;s++){var L=c[s];if(Ed(L,o)){e.orderedRemoveItemAt(r,t);break}else if(tg(o))return!0}}return!1}function zD(r,t){return e.every(r,function(i){return!!(i.flags&1048576)&&e.some(i.types,function(o){return!!(o.flags&t)})})}function qD(r,t){for(var i=0;i<r.length;i++)r[i]=rl(r[i],function(o){return!(o.flags&t)})}function dO(r){var t,i=e.findIndex(r,function(ar){return!!(e.getObjectFlags(ar)&65536)});if(i<0)return!1;for(var o=i+1;o<r.length;){var s=r[o];e.getObjectFlags(s)&65536?((t||(t=[r[i]])).push(s),e.orderedRemoveItemAt(r,o)):o++}if(!t)return!1;for(var c=[],L=[],G=0,ce=t;G<ce.length;G++)for(var we=ce[G],Ue=0,Je=we.types;Ue<Je.length;Ue++){var s=Je[Ue];i0(c,s)&&uO(t,s)&&i0(L,s)}return r[i]=l0(L,65536),!0}function pO(r,t,i){var o=Qs(2097152);return o.objectFlags=QE(r,98304),o.types=r,o.aliasSymbol=t,o.aliasTypeArguments=i,o}function To(r,t,i){var o=new e.Map,s=KD(o,0,r),c=e.arrayFrom(o.values());if(s&131072)return e.contains(c,St)?St:en;if(br&&s&98304&&s&84410368||s&67108864&&s&402783228||s&402653316&&s&67238776||s&296&&s&469891796||s&2112&&s&469889980||s&12288&&s&469879804||s&49152&&s&469842940||s&134217728&&s&128&&fO(c))return en;if(s&1)return s&8388608?fr:Ze;if(!br&&s&98304)return s&32768?Nr:ut;if((s&4&&s&128||s&8&&s&256||s&64&&s&2048||s&4096&&s&8192)&&cO(c,s),s&16777216&&s&524288&&e.orderedRemoveItemAt(c,e.findIndex(c,xL)),s&262144&&(c[c.indexOf(Nr)]=vt),c.length===0)return tr;if(c.length===1)return c[0];var L=sc(c)+cm(t,i),G=cn.get(L);if(!G){if(s&1048576)if(dO(c))G=To(c,t,i);else if(zD(c,32768)){var ce=de&&e.some(c,function(Je){return sp(Je.types,vt)})?vt:Nr;qD(c,32768),G=ma([To(c),ce],1,t,i)}else if(zD(c,65536))qD(c,65536),G=ma([To(c),ut],1,t,i);else{if(!ih(c))return dr;var we=_O(c),Ue=e.some(we,function(Je){return!!(Je.flags&2097152)})?o0(2097152,c):void 0;G=ma(we,1,t,i,Ue)}else G=pO(c,t,i);cn.set(L,G)}return G}function XD(r){return e.reduceLeft(r,function(t,i){return i.flags&1048576?t*i.types.length:i.flags&131072?0:t},1)}function ih(r){var t=XD(r);return t>=1e5?(e.tracing===null||e.tracing===void 0||e.tracing.instant(\"checkTypes\",\"checkCrossProductUnion_DepthLimit\",{typeIds:r.map(function(i){return i.id}),size:t}),Mr(_e,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent),!1):!0}function _O(r){for(var t=XD(r),i=[],o=0;o<t;o++){for(var s=r.slice(),c=o,L=r.length-1;L>=0;L--)if(r[L].flags&1048576){var G=r[L].types,ce=G.length;s[L]=G[c%ce],c=Math.floor(c/ce)}var we=To(s);we.flags&131072||i.push(we)}return i}function mO(r){var t=Zn(r);if(!t.resolvedType){var i=G_(r);t.resolvedType=To(e.map(r.types,Da),i,um(i))}return t.resolvedType}function YD(r,t){var i=Qs(4194304);return i.type=r,i.stringsOnly=t,i}function gO(r){var t=Jd(4194304);return t.type=r,t}function QD(r,t){return t?r.resolvedStringIndexType||(r.resolvedStringIndexType=YD(r,!0)):r.resolvedIndexType||(r.resolvedIndexType=YD(r,!1))}function vO(r,t,i){var o=eu(r),s=Tc(r),c=of(r.target||r);if(!c&&!i)return s;var L=[];if(Wm(r)){if(F_(s))return QD(r,t);var G=wi(jm(r));Kv(G,8576,t,we)}else v_(Vm(s),we);F_(s)&&v_(s,we);var ce=i?rl(ma(L),function(Ue){return!(Ue.flags&5)}):ma(L);if(ce.flags&1048576&&s.flags&1048576&&sc(ce.types)===sc(s.types))return s;return ce;function we(Ue){var Je=c?oi(c,Zg(r.mapper,o,Ue)):Ue;L.push(Je===xt?oa:Je)}}function hO(r){var t=eu(r);return i(of(r)||t);function i(o){return o.flags&68157439?!0:o.flags&16777216?o.root.isDistributive&&o.checkType===t:o.flags&137363456?e.every(o.types,i):o.flags&8388608?i(o.objectType)&&i(o.indexType):o.flags&33554432?i(o.substitute):o.flags&268435456?i(o.type):!1}}function lp(r){return e.isPrivateIdentifier(r)?en:e.isIdentifier(r)?Lc(e.unescapeLeadingUnderscores(r.escapedText)):kl(e.isComputedPropertyName(r)?qf(r):ui(r))}function eg(r,t,i){if(i||!(e.getDeclarationModifierFlagsFromSymbol(r)&24)){var o=Ja(Ug(r)).nameType;if(!o){var s=e.getNameOfDeclaration(r.valueDeclaration);o=r.escapedName===\"default\"?Lc(\"default\"):s&&lp(s)||(e.isKnownSymbol(r)?void 0:Lc(e.symbolName(r)))}if(o&&o.flags&t)return o}return en}function ZD(r,t){return!!(r.flags&t||r.flags&2097152&&e.some(r.types,function(i){return ZD(i,t)}))}function yO(r,t,i){var o=i&&(e.getObjectFlags(r)&7||r.aliasSymbol)?gO(r):void 0,s=e.map(Yi(r),function(L){return eg(L,t)}),c=e.map(Ps(r),function(L){return L!==Yo&&ZD(L.keyType,t)?L.keyType===xt&&t&8?oa:L.keyType:en});return ma(e.concatenate(s,c),1,void 0,void 0,o)}function qu(r,t,i){return t===void 0&&(t=ur),r=Eo(r),r.flags&1048576?To(e.map(r.types,function(o){return qu(o,t,i)})):r.flags&2097152?ma(e.map(r.types,function(o){return qu(o,t,i)})):r.flags&58982400||og(r)||El(r)&&!hO(r)?QD(r,t):e.getObjectFlags(r)&32?vO(r,t,i):r===fr?fr:r.flags&2?en:r.flags&131073?_t:yO(r,(i?128:402653316)|(t?0:12584),t===ur&&!i)}function $D(r){if(ur)return r;var t=Kk();return t?Zm(t,[r,xt]):xt}function bO(r){var t=$D(qu(r));return t.flags&131072?xt:t}function EO(r){var t=Zn(r);if(!t.resolvedType)switch(r.operator){case 140:t.resolvedType=qu(Da(r.type));break;case 153:t.resolvedType=r.type.kind===150?b0(e.walkUpParenthesizedTypes(r.parent)):dr;break;case 144:t.resolvedType=Da(r.type);break;default:throw e.Debug.assertNever(r.operator)}return t.resolvedType}function TO(r){var t=Zn(r);return t.resolvedType||(t.resolvedType=rg(Gt([r.head.text],e.map(r.templateSpans,function(i){return i.literal.text}),!0),e.map(r.templateSpans,function(i){return Da(i.type)}))),t.resolvedType}function rg(r,t){var i=e.findIndex(t,function(we){return!!(we.flags&1179648)});if(i>=0)return ih(t)?ds(t[i],function(we){return rg(r,e.replaceElement(t,i,we))}):dr;if(e.contains(t,fr))return fr;var o=[],s=[],c=r[0];if(!ce(r,t))return xt;if(o.length===0)return Lc(c);if(s.push(c),e.every(s,function(we){return we===\"\"})&&e.every(o,function(we){return!!(we.flags&4)}))return xt;var L=\"\".concat(sc(o),\"|\").concat(e.map(s,function(we){return we.length}).join(\",\"),\"|\").concat(s.join(\"\")),G=sr.get(L);return G||sr.set(L,G=DO(s,o)),G;function ce(we,Ue){for(var Je=0;Je<Ue.length;Je++){var ar=Ue[Je];if(ar.flags&101248)c+=SO(ar)||\"\",c+=we[Je+1];else if(ar.flags&134217728){if(c+=ar.texts[0],!ce(ar.texts,ar.types))return!1;c+=we[Je+1]}else if(F_(ar)||rL(ar))o.push(ar),s.push(c),c=we[Je+1];else return!1}return!0}}function SO(r){return r.flags&128?r.value:r.flags&256?\"\"+r.value:r.flags&2048?e.pseudoBigIntToString(r.value):r.flags&98816?r.intrinsicName:void 0}function DO(r,t){var i=Qs(134217728);return i.texts=r,i.types=t,i}function Cy(r,t){return t.flags&1179648?ds(t,function(i){return Cy(r,i)}):F_(t)?AO(r,t):t.flags&128?Lc(LO(r,t.value)):t}function LO(r,t){switch(V.get(r.escapedName)){case 0:return t.toUpperCase();case 1:return t.toLowerCase();case 2:return t.charAt(0).toUpperCase()+t.slice(1);case 3:return t.charAt(0).toLowerCase()+t.slice(1)}return t}function AO(r,t){var i=\"\".concat(y(r),\",\").concat(Bc(t)),o=ye.get(i);return o||ye.set(i,o=CO(r,t)),o}function CO(r,t){var i=Qs(268435456);return i.symbol=r,i.type=t,i}function xO(r,t,i,o,s){var c=Qs(8388608);return c.objectType=r,c.indexType=t,c.accessFlags=i,c.aliasSymbol=o,c.aliasTypeArguments=s,c}function Xg(r){if(Ke)return!1;if(e.getObjectFlags(r)&8192)return!0;if(r.flags&1048576)return e.every(r.types,Xg);if(r.flags&2097152)return e.some(r.types,Xg);if(r.flags&465829888){var t=Ur(r);return t!==r&&Xg(t)}return!1}function c0(r,t){return gu(r)?vu(r):t&&e.isPropertyName(t)?e.getPropertyNameForPropertyNameNode(t):void 0}function u0(r,t){if(t.flags&8208){var i=e.findAncestor(r.parent,function(o){return!e.isAccessExpression(o)})||r.parent;return e.isCallLikeExpression(i)?e.isCallOrNewExpression(i)&&e.isIdentifier(r)&&cA(i,r):e.every(t.declarations,function(o){return!e.isFunctionLike(o)||!!(e.getCombinedNodeFlags(o)&134217728)})}return!0}function eL(r,t,i,o,s,c){var L,G=s&&s.kind===206?s:void 0,ce=s&&e.isPrivateIdentifier(s)?void 0:c0(i,s);if(ce!==void 0){if(c&256)return b_(t,ce)||Ze;var we=Ii(t,ce);if(we){if(c&64&&s&&we.declarations&&cv(we)&134217728&&u0(s,we)){var Ue=(L=G==null?void 0:G.argumentExpression)!==null&&L!==void 0?L:e.isIndexedAccessTypeNode(s)?s.indexType:s;kc(Ue,we.declarations,ce)}if(G){if(Ah(we,G,dC(G.expression,t.symbol)),ZC(G,we,e.getAssignmentTargetKind(G))){Mr(G.argumentExpression,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,Wa(we));return}if(c&8&&(Zn(s).resolvedSymbol=we),iC(G,we))return Cr}var Je=An(we);return G&&e.getAssignmentTargetKind(G)!==1?y_(G,Je):Je}if(Kf(t,ki)&&zf(ce)&&+ce>=0){if(s&&Kf(t,function(on){return!on.target.hasRestElement})&&!(c&16)){var ar=f0(s);ki(t)?Mr(ar,e.Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,gn(t),op(t),e.unescapeLeadingUnderscores(ce)):Mr(ar,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(ce),gn(t))}return Nn(oc(t,wt)),ds(t,function(on){var ca=rv(on)||Nr;return c&1?ma([ca,Nr]):ca})}}if(!(i.flags&98304)&&ys(i,402665900)){if(t.flags&131073)return t;var _r=zm(t,i)||oc(t,xt);if(_r){if(c&2&&_r.keyType!==wt){G&&Mr(G,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,gn(i),gn(r));return}if(s&&_r.keyType===xt&&!ys(i,12)){var ar=f0(s);return Mr(ar,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,gn(i)),c&1?ma([_r.type,Nr]):_r.type}return Nn(_r),c&1?ma([_r.type,Nr]):_r.type}if(i.flags&131072)return en;if(Xg(t))return Ze;if(G&&!Z1(t)){if(Gp(t)){if(Ke&&i.flags&384)return ua.add(e.createDiagnosticForNode(G,e.Diagnostics.Property_0_does_not_exist_on_type_1,i.value,gn(t))),Nr;if(i.flags&12){var Gr=e.map(t.properties,function(on){return An(on)});return ma(e.append(Gr,Nr))}}if(t.symbol===pr&&ce!==void 0&&pr.exports.has(ce)&&pr.exports.get(ce).flags&418)Mr(G,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(ce),gn(t));else if(Ke&&!Xe.suppressImplicitAnyIndexErrors&&!(c&128))if(ce!==void 0&&cC(ce,t)){var Zr=gn(t);Mr(G,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,ce,Zr,Zr+\"[\"+e.getTextOfNode(G.argumentExpression)+\"]\")}else if(tu(t,wt))Mr(G.argumentExpression,e.Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);else{var Et=void 0;if(ce!==void 0&&(Et=P1(ce,t)))Et!==void 0&&Mr(G.argumentExpression,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,ce,gn(t),Et);else{var Tt=cP(t,G,i);if(Tt!==void 0)Mr(G,e.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,gn(t),Tt);else{var At=void 0;if(i.flags&1024)At=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,\"[\"+gn(i)+\"]\",gn(t));else if(i.flags&8192){var Vt=sl(i.symbol,G);At=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,\"[\"+Vt+\"]\",gn(t))}else i.flags&128||i.flags&256?At=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,i.value,gn(t)):i.flags&12&&(At=e.chainDiagnosticMessages(void 0,e.Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,gn(i),gn(t)));At=e.chainDiagnosticMessages(At,e.Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,gn(o),gn(t)),ua.add(e.createDiagnosticForNodeFromMessageChain(G,At))}}}return}}if(Xg(t))return Ze;if(s){var ar=f0(s);i.flags&384?Mr(ar,e.Diagnostics.Property_0_does_not_exist_on_type_1,\"\"+i.value,gn(t)):i.flags&12?Mr(ar,e.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,gn(t),gn(i)):Mr(ar,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,gn(i))}if(Na(i))return i;return;function Nn(on){on&&on.isReadonly&&G&&(e.isAssignmentTarget(G)||e.isDeleteTarget(G))&&Mr(G,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,gn(t))}}function f0(r){return r.kind===206?r.argumentExpression:r.kind===193?r.indexType:r.kind===161?r.expression:r}function rL(r){return!!(r.flags&77)}function tg(r){return!!(r.flags&134217728)&&e.every(r.types,rL)}function Yg(r){return!!Qg(r)}function P_(r){return!!(Qg(r)&8388608)}function F_(r){return!!(Qg(r)&16777216)}function Qg(r){return r.flags&3145728?(r.objectFlags&4194304||(r.objectFlags|=4194304|e.reduceLeft(r.types,function(t,i){return t|Qg(i)},0)),r.objectFlags&25165824):r.flags&33554432?(r.objectFlags&4194304||(r.objectFlags|=4194304|Qg(r.substitute)|Qg(r.baseType)),r.objectFlags&25165824):(r.flags&58982400||El(r)||og(r)?8388608:0)|(r.flags&465829888&&!tg(r)?16777216:0)}function oh(r){return!!(r.flags&262144&&r.isThisType)}function Vf(r,t){return r.flags&8388608?NO(r,t):r.flags&16777216?kO(r,t):r}function tL(r,t,i){if(r.flags&3145728){var o=e.map(r.types,function(s){return Vf(Hl(s,t),i)});return r.flags&2097152||i?To(o):ma(o)}}function IO(r,t,i){if(t.flags&1048576){var o=e.map(t.types,function(s){return Vf(Hl(r,s),i)});return i?To(o):ma(o)}}function NO(r,t){var i=t?\"simplifiedForWriting\":\"simplifiedForReading\";if(r[i])return r[i]===Ka?r:r[i];r[i]=Ka;var o=Vf(r.objectType,t),s=Vf(r.indexType,t),c=IO(o,s,t);if(c)return r[i]=c;if(!(s.flags&465829888)){var L=tL(o,s,t);if(L)return r[i]=L}if(og(o)&&s.flags&296){var G=By(o,s.flags&8?0:o.target.fixedLength,0,t);if(G)return r[i]=G}return El(o)?r[i]=ds(aL(o,r.indexType),function(ce){return Vf(ce,t)}):r[i]=r}function kO(r,t){var i=r.checkType,o=r.extendsType,s=up(r),c=fp(r);if(c.flags&131072&&d_(s)===d_(i)){if(i.flags&1||Qi(m_(i),m_(o)))return Vf(s,t);if(nL(i,o))return en}else if(s.flags&131072&&d_(c)===d_(i)){if(!(i.flags&1)&&Qi(m_(i),m_(o)))return en;if(i.flags&1||nL(i,o))return Vf(c,t)}return r}function nL(r,t){return!!(ma([om(r,t),en]).flags&131072)}function aL(r,t){var i=Ol([eu(r)],[t]),o=__(r.mapper,i);return oi(yu(r),o)}function Hl(r,t,i,o,s,c){return i===void 0&&(i=0),cp(r,t,i,o,s,c)||(o?dr:tr)}function iL(r,t){return Kf(r,function(i){if(i.flags&384){var o=vu(i);if(zf(o)){var s=+o;return s>=0&&s<t}}return!1})}function cp(r,t,i,o,s,c){if(i===void 0&&(i=0),r===fr||t===fr)return fr;if(IL(r)&&!(t.flags&98304)&&ys(t,12)&&(t=xt),Xe.noUncheckedIndexedAccess&&i&32&&(i|=1),F_(t)||(o&&o.kind!==193?og(r)&&!iL(t,r.target.fixedLength):P_(r)&&!(ki(r)&&iL(t,r.target.fixedLength)))){if(r.flags&3)return r;var L=i&1,G=r.id+\",\"+t.id+\",\"+L+cm(s,c),ce=Or.get(G);return ce||Or.set(G,ce=xO(r,t,L,s,c)),ce}var we=Is(r);if(t.flags&1048576&&!(t.flags&16)){for(var Ue=[],Je=!1,ar=0,_r=t.types;ar<_r.length;ar++){var Gr=_r[ar],Zr=eL(r,we,Gr,t,o,i|(Je?128:0));if(Zr)Ue.push(Zr);else if(o)Je=!0;else return}return Je?void 0:i&4?To(Ue,s,c):ma(Ue,1,s,c)}return eL(r,we,t,t,o,i|8|64)}function oL(r){var t=Zn(r);if(!t.resolvedType){var i=Da(r.objectType),o=Da(r.indexType),s=G_(r),c=Hl(i,o,0,r,s,um(s));t.resolvedType=c.flags&8388608&&c.objectType===i&&c.indexType===o?DD(c,r):c}return t.resolvedType}function d0(r){var t=Zn(r);if(!t.resolvedType){var i=Bl(32,r.symbol);i.declaration=r,i.aliasSymbol=G_(r),i.aliasTypeArguments=um(i.aliasSymbol),t.resolvedType=i,Tc(i)}return t.resolvedType}function d_(r){return r.flags&33554432?r.baseType:r.flags&8388608&&(r.objectType.flags&33554432||r.indexType.flags&33554432)?Hl(d_(r.objectType),d_(r.indexType)):r}function sL(r){return!r.isDistributive&&lL(r.node.checkType)&&lL(r.node.extendsType)}function lL(r){return e.isTupleTypeNode(r)&&e.length(r.elements)===1&&!e.isOptionalTypeNode(r.elements[0])&&!e.isRestTypeNode(r.elements[0])}function p0(r,t){return sL(r)&&ki(t)?vo(t)[0]:t}function _0(r,t,i,o){for(var s,c,L=0;;){if(L===1e3){Mr(_e,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),s=dr;break}var G=sL(r),ce=oi(p0(r,d_(r.checkType)),t),we=Yg(ce),Ue=oi(p0(r,r.extendsType),t);if(ce===fr||Ue===fr)return fr;var Je=void 0;if(r.inferTypeParameters){var ar=nv(r.inferTypeParameters,void 0,0);we||uf(ar.inferences,ce,Ue,1536),Je=t?__(ar.mapper,t):ar.mapper}var _r=Je?oi(p0(r,r.extendsType),Je):Ue;if(!we&&!Yg(_r)){if(!(_r.flags&3)&&(ce.flags&1&&!G||!Qi(wy(ce),wy(_r)))){ce.flags&1&&!G&&(c||(c=[])).push(oi(Da(r.node.trueType),Je||t));var Gr=Da(r.node.falseType);if(Gr.flags&16777216){var Zr=Gr.root;if(Zr.node.parent===r.node&&(!Zr.isDistributive||Zr.checkType===r.checkType)){r=Zr;continue}if(At(Gr,t))continue}s=oi(Gr,t);break}if(_r.flags&3||Qi(m_(ce),m_(_r))){var Et=Da(r.node.trueType),Tt=Je||t;if(At(Et,Tt))continue;s=oi(Et,Tt);break}}s=Qs(16777216),s.root=r,s.checkType=oi(r.checkType,t),s.extendsType=oi(r.extendsType,t),s.mapper=t,s.combinedMapper=Je,s.aliasSymbol=i||r.aliasSymbol,s.aliasTypeArguments=i?o:bd(r.aliasTypeArguments,t);break}return c?ma(e.append(c,s)):s;function At(Vt,Nn){if(Vt.flags&16777216&&Nn){var on=Vt.root;if(on.outerTypeParameters){var ca=__(Vt.mapper,Nn),la=e.map(on.outerTypeParameters,function(Li){return dp(Li,ca)}),di=Ol(on.outerTypeParameters,la),Aa=on.isDistributive?dp(on.checkType,di):void 0;if(!Aa||Aa===on.checkType||!(Aa.flags&1179648))return r=on,t=di,i=void 0,o=void 0,on.aliasSymbol&&L++,!0}}return!1}}function up(r){return r.resolvedTrueType||(r.resolvedTrueType=oi(Da(r.root.node.trueType),r.mapper))}function fp(r){return r.resolvedFalseType||(r.resolvedFalseType=oi(Da(r.root.node.falseType),r.mapper))}function OO(r){return r.resolvedInferredTrueType||(r.resolvedInferredTrueType=r.combinedMapper?oi(Da(r.root.node.trueType),r.combinedMapper):up(r))}function cL(r){var t;return r.locals&&r.locals.forEach(function(i){i.flags&262144&&(t=e.append(t,po(i)))}),t}function RO(r){return r.isDistributive&&(Ry(r.checkType,r.node.trueType)||Ry(r.checkType,r.node.falseType))}function wO(r){var t=Zn(r);if(!t.resolvedType){var i=Da(r.checkType),o=G_(r),s=um(o),c=Hu(r,!0),L=s?c:e.filter(c,function(ce){return Ry(ce,r)}),G={node:r,checkType:i,extendsType:Da(r.extendsType),isDistributive:!!(i.flags&262144),inferTypeParameters:cL(r),outerTypeParameters:L,instantiations:void 0,aliasSymbol:o,aliasTypeArguments:s};t.resolvedType=_0(G,void 0),L&&(G.instantiations=new e.Map,G.instantiations.set(sc(L),t.resolvedType))}return t.resolvedType}function MO(r){var t=Zn(r);return t.resolvedType||(t.resolvedType=vl(wn(r.typeParameter))),t.resolvedType}function uL(r){return e.isIdentifier(r)?[r]:e.append(uL(r.left),r.right)}function PO(r){var t=Zn(r);if(!t.resolvedType){if(r.isTypeOf&&r.typeArguments)return Mr(r,e.Diagnostics.Type_arguments_cannot_be_used_here),t.resolvedSymbol=We,t.resolvedType=dr;if(!e.isLiteralImportTypeNode(r))return Mr(r.argument,e.Diagnostics.String_literal_expected),t.resolvedSymbol=We,t.resolvedType=dr;var i=r.isTypeOf?111551:r.flags&4194304?900095:788968,o=ws(r,r.argument.literal);if(!o)return t.resolvedSymbol=We,t.resolvedType=dr;var s=ll(o,!1);if(e.nodeIsMissing(r.qualifier))if(s.flags&i)t.resolvedType=fL(r,t,s,i);else{var Je=i===111551?e.Diagnostics.Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:e.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0;Mr(r,Je,r.argument.literal.text),t.resolvedSymbol=We,t.resolvedType=dr}else{for(var c=uL(r.qualifier),L=s,G=void 0;G=c.shift();){var ce=c.length?1920:i,we=Ga(wo(L)),Ue=r.isTypeOf?Ii(An(we),G.escapedText):ks(Js(we),G.escapedText,ce);if(!Ue)return Mr(G,e.Diagnostics.Namespace_0_has_no_exported_member_1,sl(L),e.declarationNameToString(G)),t.resolvedType=dr;Zn(G).resolvedSymbol=Ue,Zn(G.parent).resolvedSymbol=Ue,L=Ue}t.resolvedType=fL(r,t,L,i)}}return t.resolvedType}function fL(r,t,i,o){var s=wo(i);return t.resolvedSymbol=s,o===111551?An(i):Sy(r,s)}function dL(r){var t=Zn(r);if(!t.resolvedType){var i=G_(r);if(af(r.symbol).size===0&&!i)t.resolvedType=_i;else{var o=Bl(16,r.symbol);o.aliasSymbol=i,o.aliasTypeArguments=um(i),e.isJSDocTypeLiteral(r)&&r.isArrayType&&(o=zs(o)),t.resolvedType=o}}return t.resolvedType}function G_(r){for(var t=r.parent;e.isParenthesizedTypeNode(t)||e.isJSDocTypeExpression(t)||e.isTypeOperatorNode(t)&&t.operator===144;)t=t.parent;return e.isTypeAlias(t)?wn(t):void 0}function um(r){return r?mu(r):void 0}function m0(r){return!!(r.flags&524288)&&!El(r)}function g0(r){return cf(r)||!!(r.flags&474058748)}function v0(r,t){if(!(r.flags&1048576))return r;if(e.every(r.types,g0))return e.find(r.types,cf)||Qn;var i=e.find(r.types,function(c){return!g0(c)});if(!i)return r;var o=e.find(r.types,function(c){return c!==i&&!g0(c)});if(o)return r;return s(i);function s(c){for(var L=e.createSymbolTable(),G=0,ce=Yi(c);G<ce.length;G++){var we=ce[G];if(!(e.getDeclarationModifierFlagsFromSymbol(we)&24)){if(xy(we)){var Ue=we.flags&65536&&!(we.flags&32768),Je=16777220,ar=fo(Je,we.escapedName,Jv(we)|(t?8:0));ar.type=Ue?Nr:Wl(An(we),!0),ar.declarations=we.declarations,ar.nameType=Ja(we).nameType,ar.syntheticOrigin=we,L.set(we.escapedName,ar)}}}var _r=ts(c.symbol,L,e.emptyArray,e.emptyArray,Ps(c));return _r.objectFlags|=262272,_r}}function wp(r,t,i,o,s){if(r.flags&1||t.flags&1)return Ze;if(r.flags&2||t.flags&2)return tr;if(r.flags&131072)return t;if(t.flags&131072)return r;if(r=v0(r,s),r.flags&1048576)return ih([r,t])?ds(r,function(on){return wp(on,t,i,o,s)}):dr;if(t=v0(t,s),t.flags&1048576)return ih([r,t])?ds(t,function(on){return wp(r,on,i,o,s)}):dr;if(t.flags&473960444)return r;if(P_(r)||P_(t)){if(cf(r))return t;if(r.flags&2097152){var c=r.types,L=c[c.length-1];if(m0(L)&&m0(t))return To(e.concatenate(c.slice(0,c.length-1),[wp(L,t,i,o,s)]))}return To([r,t])}for(var G=e.createSymbolTable(),ce=new e.Set,we=r===Qn?Ps(t):jv([r,t]),Ue=0,Je=Yi(t);Ue<Je.length;Ue++){var ar=Je[Ue];e.getDeclarationModifierFlagsFromSymbol(ar)&24?ce.add(ar.escapedName):xy(ar)&&G.set(ar.escapedName,h0(ar,s))}for(var _r=0,Gr=Yi(r);_r<Gr.length;_r++){var Zr=Gr[_r];if(!(ce.has(Zr.escapedName)||!xy(Zr)))if(G.has(Zr.escapedName)){var ar=G.get(Zr.escapedName),Et=An(ar);if(ar.flags&16777216){var Tt=e.concatenate(Zr.declarations,ar.declarations),At=4|Zr.flags&16777216,Vt=fo(At,Zr.escapedName);Vt.type=ma([An(Zr),J0(Et)]),Vt.leftSpread=Zr,Vt.rightSpread=ar,Vt.declarations=Tt,Vt.nameType=Ja(Zr).nameType,G.set(Zr.escapedName,Vt)}}else G.set(Zr.escapedName,h0(Zr,s))}var Nn=ts(i,G,e.emptyArray,e.emptyArray,e.sameMap(we,function(on){return FO(on,s)}));return Nn.objectFlags|=4456576|o,Nn}function xy(r){var t;return!e.some(r.declarations,e.isPrivateIdentifierClassElementDeclaration)&&(!(r.flags&106496)||!(!((t=r.declarations)===null||t===void 0)&&t.some(function(i){return e.isClassLike(i.parent)})))}function h0(r,t){var i=r.flags&65536&&!(r.flags&32768);if(!i&&t===Iu(r))return r;var o=4|r.flags&16777216,s=fo(o,r.escapedName,Jv(r)|(t?8:0));return s.type=i?Nr:An(r),s.declarations=r.declarations,s.nameType=Ja(r).nameType,s.syntheticOrigin=r,s}function FO(r,t){return r.isReadonly!==t?Eu(r.keyType,r.type,t,r.declaration):r}function sh(r,t,i,o){var s=Qs(r);return s.symbol=i,s.value=t,s.regularType=o||s,s}function fm(r){if(r.flags&2944){if(!r.freshType){var t=sh(r.flags,r.value,r.symbol,r);t.freshType=t,r.freshType=t}return r.freshType}return r}function kl(r){return r.flags&2944?r.regularType:r.flags&1048576?r.regularType||(r.regularType=ds(r,kl)):r}function Mp(r){return!!(r.flags&2944)&&r.freshType===r}function Lc(r){var t;return bn.get(r)||(bn.set(r,t=sh(128,r)),t)}function Wf(r){var t;return In.get(r)||(In.set(r,t=sh(256,r)),t)}function y0(r){var t,i=e.pseudoBigIntToString(r);return zn.get(i)||(zn.set(i,t=sh(2048,r)),t)}function GO(r,t,i){var o,s=typeof r==\"string\"?\"@\":\"#\",c=t+s+r,L=1024|(typeof r==\"string\"?128:256);return ir.get(c)||(ir.set(c,o=sh(L,r,i)),o)}function BO(r){if(r.literal.kind===104)return ut;var t=Zn(r);return t.resolvedType||(t.resolvedType=kl(ui(r.literal))),t.resolvedType}function UO(r){var t=Qs(8192);return t.symbol=r,t.escapedName=\"__@\".concat(t.symbol.escapedName,\"@\").concat(y(t.symbol)),t}function b0(r){if(e.isValidESSymbolDeclaration(r)){var t=wn(r),i=Ja(t);return i.uniqueESSymbolType||(i.uniqueESSymbolType=UO(t))}return na}function VO(r){var t=e.getThisContainer(r,!1),i=t&&t.parent;if(i&&(e.isClassLike(i)||i.kind===257)&&!e.isStatic(t)&&(!e.isConstructorDeclaration(t)||e.isNodeDescendantOf(r,t.body)))return Hn(wn(i)).thisType;if(i&&e.isObjectLiteralExpression(i)&&e.isBinaryExpression(i.parent)&&e.getAssignmentDeclarationKind(i.parent)===6)return Hn(wn(i.parent.left).parent).thisType;var o=r.flags&4194304?e.getHostSignatureFromJSDoc(r):void 0;return o&&e.isFunctionExpression(o)&&e.isBinaryExpression(o.parent)&&e.getAssignmentDeclarationKind(o.parent)===3?Hn(wn(o.parent.left).parent).thisType:ou(t)&&e.isNodeDescendantOf(r,t.body)?Hn(wn(t)).thisType:(Mr(r,e.Diagnostics.A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface),dr)}function Iy(r){var t=Zn(r);return t.resolvedType||(t.resolvedType=VO(r)),t.resolvedType}function pL(r){return Da(lh(r.type)||r.type)}function lh(r){switch(r.kind){case 190:return lh(r.type);case 183:if(r.elements.length===1&&(r=r.elements[0],r.kind===185||r.kind===196&&r.dotDotDotToken))return lh(r.type);break;case 182:return r.elementType}}function WO(r){var t=Zn(r);return t.resolvedType||(t.resolvedType=r.dotDotDotToken?pL(r):Wl(Da(r.type),!0,!!r.questionToken))}function Da(r){return DD(_L(r),r)}function _L(r){switch(r.kind){case 130:case 310:case 311:return Ze;case 154:return tr;case 149:return xt;case 146:return wt;case 157:return Qt;case 133:return Jn;case 150:return na;case 114:return Wn;case 152:return Nr;case 104:return ut;case 143:return en;case 147:return r.flags&131072&&!Ke?Ze:dn;case 138:return Vr;case 191:case 108:return Iy(r);case 195:return BO(r);case 177:return nh(r);case 176:return r.assertsModifier?Wn:Jn;case 227:return nh(r);case 180:return AD(r);case 182:case 183:return Qk(r);case 184:return eO(r);case 186:return sO(r);case 187:return mO(r);case 312:return kk(r);case 314:return Wl(Da(r.type));case 196:return WO(r);case 190:case 313:case 307:return Da(r.type);case 185:return pL(r);case 316:return K3(r);case 178:case 179:case 181:case 320:case 315:case 321:return dL(r);case 192:return EO(r);case 193:return oL(r);case 194:return d0(r);case 188:return wO(r);case 189:return MO(r);case 197:return TO(r);case 199:return PO(r);case 79:case 160:case 205:var t=Vc(r);return t?po(t):dr;default:return dr}}function Ny(r,t,i){if(r&&r.length)for(var o=0;o<r.length;o++){var s=r[o],c=i(s,t);if(s!==c){var L=o===0?[]:r.slice(0,o);for(L.push(c),o++;o<r.length;o++)L.push(i(r[o],t));return L}}return r}function bd(r,t){return Ny(r,t,oi)}function ky(r,t){return Ny(r,t,pm)}function mL(r,t){return Ny(r,t,rR)}function Ol(r,t){return r.length===1?B_(r[0],t?t[0]:Ze):jO(r,t)}function dp(r,t){switch(t.kind){case 0:return r===t.source?t.target:r;case 1:for(var i=t.sources,o=t.targets,s=0;s<i.length;s++)if(r===i[s])return o?o[s]:Ze;return r;case 2:return t.func(r);case 3:case 4:var c=dp(r,t.mapper1);return c!==r&&t.kind===3?oi(c,t.mapper2):dp(c,t.mapper2)}}function B_(r,t){return{kind:0,source:r,target:t}}function jO(r,t){return{kind:1,sources:r,targets:t}}function p_(r){return{kind:2,func:r}}function Oy(r,t,i){return{kind:r,mapper1:t,mapper2:i}}function gL(r){return Ol(r,void 0)}function HO(r,t){return p_(function(i){return e.findIndex(r.inferences,function(o){return o.typeParameter===i})>=t?tr:i})}function __(r,t){return r?Oy(3,r,t):t}function JO(r,t){return r?Oy(4,r,t):t}function dm(r,t,i){return i?Oy(4,B_(r,t),i):B_(r,t)}function Zg(r,t,i){return r?Oy(4,r,B_(t,i)):B_(t,i)}function KO(r){return r.constraint===tr?r:r.restrictiveInstantiation||(r.restrictiveInstantiation=nc(r.symbol),r.restrictiveInstantiation.constraint=tr,r.restrictiveInstantiation)}function vL(r){var t=nc(r.symbol);return t.target=r,t}function zO(r,t){return rh(r.kind,r.parameterName,r.parameterIndex,oi(r.type,t))}function pm(r,t,i){var o;if(r.typeParameters&&!i){o=e.map(r.typeParameters,vL),t=__(Ol(r.typeParameters,o),t);for(var s=0,c=o;s<c.length;s++){var L=c[s];L.mapper=t}}var G=hu(r.declaration,o,r.thisParameter&&E0(r.thisParameter,t),Ny(r.parameters,t,E0),void 0,void 0,r.minArgumentCount,r.flags&39);return G.target=r,G.mapper=t,G}function E0(r,t){var i=Ja(r);if(i.type&&!av(i.type))return r;e.getCheckFlags(r)&1&&(r=i.target,t=__(i.mapper,t));var o=fo(r.flags,r.escapedName,1|e.getCheckFlags(r)&53256);return o.declarations=r.declarations,o.parent=r.parent,o.target=r,o.mapper=t,r.valueDeclaration&&(o.valueDeclaration=r.valueDeclaration),i.nameType&&(o.nameType=i.nameType),o}function qO(r,t,i,o){var s=r.objectFlags&4?r.node:r.symbol.declarations[0],c=Zn(s),L=r.objectFlags&4?c.resolvedType:r.objectFlags&64?r.target:r,G=c.outerTypeParameters;if(!G){var ce=Hu(s,!0);if(ou(s)){var we=eh(s);ce=e.addRange(ce,we)}G=ce||e.emptyArray;var Ue=r.objectFlags&4?[s]:r.symbol.declarations;G=(L.objectFlags&4||L.symbol.flags&8192||L.symbol.flags&2048)&&!L.aliasTypeArguments?e.filter(G,function(At){return e.some(Ue,function(Vt){return Ry(At,Vt)})}):G,c.outerTypeParameters=G}if(G.length){var Je=__(r.mapper,t),ar=e.map(G,function(At){return dp(At,Je)}),_r=i||r.aliasSymbol,Gr=i?o:bd(r.aliasTypeArguments,t),Zr=sc(ar)+cm(_r,Gr);L.instantiations||(L.instantiations=new e.Map,L.instantiations.set(sc(G)+cm(L.aliasSymbol,L.aliasTypeArguments),L));var Et=L.instantiations.get(Zr);if(!Et){var Tt=Ol(G,ar);Et=L.objectFlags&4?ZE(r.target,r.node,Tt,_r,Gr):L.objectFlags&32?hL(L,Tt,_r,Gr):D0(L,Tt,_r,Gr),L.instantiations.set(Zr,Et)}return Et}return r}function XO(r){return!(r.parent.kind===177&&r.parent.typeArguments&&r===r.parent.typeName||r.parent.kind===199&&r.parent.typeArguments&&r===r.parent.qualifier)}function Ry(r,t){if(r.symbol&&r.symbol.declarations&&r.symbol.declarations.length===1){for(var i=r.symbol.declarations[0].parent,o=t;o!==i;o=o.parent)if(!o||o.kind===234||o.kind===188&&e.forEachChild(o.extendsType,s))return!0;return s(t)}return!0;function s(c){switch(c.kind){case 191:return!!r.isThisType;case 79:return!r.isThisType&&e.isPartOfTypeNode(c)&&XO(c)&&_L(c)===r;case 180:return!0;case 168:case 167:return!c.type&&!!c.body||e.some(c.typeParameters,s)||e.some(c.parameters,s)||!!c.type&&s(c.type)}return!!e.forEachChild(c,s)}}function T0(r){var t=Tc(r);if(t.flags&4194304){var i=d_(t.type);if(i.flags&262144)return i}}function hL(r,t,i,o){var s=T0(r);if(s){var c=oi(s,t);if(s!==c)return hA(Eo(c),function(L){if(L.flags&61603843&&L!==fr&&!Ua(L)){if(!r.declaration.nameType){var G=void 0;if(el(L)||L.flags&1&&Qe(s,4)<0&&(G=Nl(s))&&Kf(G,e.or(el,ki)))return QO(L,r,dm(s,L,t));if(og(L))return YO(L,r,s,t);if(ki(L))return ZO(L,r,dm(s,L,t))}return D0(r,dm(s,L,t))}return L},i,o)}return oi(Tc(r),t)===fr?fr:D0(r,t,i,o)}function S0(r,t){return t&1?!0:t&2?!1:r}function YO(r,t,i,o){var s=r.target.elementFlags,c=e.map(vo(r),function(G,ce){var we=s[ce]&8?G:s[ce]&4?zs(G):Tu([G],[s[ce]]);return hL(t,dm(i,we,o))}),L=S0(r.target.readonly,ru(t));return Tu(c,e.map(c,function(G){return 8}),L)}function QO(r,t,i){var o=yL(t,wt,!0,i);return Ua(o)?dr:zs(o,S0(ag(r),ru(t)))}function ZO(r,t,i){var o=r.target.elementFlags,s=e.map(vo(r),function(ce,we){return yL(t,Lc(\"\"+we),!!(o[we]&2),i)}),c=ru(t),L=c&4?e.map(o,function(ce){return ce&1?2:ce}):c&8?e.map(o,function(ce){return ce&2?1:ce}):o,G=S0(r.target.readonly,c);return e.contains(s,dr)?dr:Tu(s,L,G,r.target.labeledElementDeclarations)}function yL(r,t,i,o){var s=Zg(o,eu(r),t),c=oi(yu(r.target||r),s),L=ru(r);return br&&L&4&&!Jo(c,49152)?Jf(c,!0):br&&L&8&&i?Fs(c,524288):c}function D0(r,t,i,o){var s=Bl(r.objectFlags|64,r.symbol);if(r.objectFlags&32){s.declaration=r.declaration;var c=eu(r),L=vL(c);s.typeParameter=L,t=__(B_(c,L),t),L.mapper=t}return s.target=r,s.mapper=t,s.aliasSymbol=i||r.aliasSymbol,s.aliasTypeArguments=i?o:bd(r.aliasTypeArguments,t),s}function L0(r,t,i,o){var s=r.root;if(s.outerTypeParameters){var c=e.map(s.outerTypeParameters,function(Je){return dp(Je,t)}),L=sc(c)+cm(i,o),G=s.instantiations.get(L);if(!G){var ce=Ol(s.outerTypeParameters,c),we=s.checkType,Ue=s.isDistributive?dp(we,ce):void 0;G=Ue&&we!==Ue&&Ue.flags&1179648?hA(Ue,function(Je){return _0(s,dm(we,Je,ce))},i,o):_0(s,ce,i,o),s.instantiations.set(L,G)}return G}return r}function oi(r,t){return r&&t?bL(r,t,void 0,void 0):r}function bL(r,t,i,o){if(!av(r))return r;if(ve===100||he>=5e6)return e.tracing===null||e.tracing===void 0||e.tracing.instant(\"checkTypes\",\"instantiateType_DepthLimit\",{typeId:r.id,instantiationDepth:ve,instantiationCount:he}),Mr(_e,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),dr;Ge++,he++,ve++;var s=$O(r,t,i,o);return ve--,s}function $O(r,t,i,o){var s=r.flags;if(s&262144)return dp(r,t);if(s&524288){var c=r.objectFlags;if(c&52){if(c&4&&!r.node){var L=r.resolvedTypeArguments,G=bd(L,t);return G!==L?a0(r.target,G):r}return c&1024?eR(r,t):qO(r,t,i,o)}return r}if(s&3145728){var ce=r.flags&1048576?r.origin:void 0,we=ce&&ce.flags&3145728?ce.types:r.types,Ue=bd(we,t);if(Ue===we&&i===r.aliasSymbol)return r;var Je=i||r.aliasSymbol,ar=i?o:bd(r.aliasTypeArguments,t);return s&2097152||ce&&ce.flags&2097152?To(Ue,Je,ar):ma(Ue,1,Je,ar)}if(s&4194304)return qu(oi(r.type,t));if(s&134217728)return rg(r.texts,bd(r.types,t));if(s&268435456)return Cy(r.symbol,oi(r.type,t));if(s&8388608){var Je=i||r.aliasSymbol,ar=i?o:bd(r.aliasTypeArguments,t);return Hl(oi(r.objectType,t),oi(r.indexType,t),r.accessFlags,void 0,Je,ar)}if(s&16777216)return L0(r,__(r.mapper,t),i,o);if(s&33554432){var _r=oi(r.baseType,t);if(_r.flags&8650752)return ED(_r,oi(r.substitute,t));var Gr=oi(r.substitute,t);return Gr.flags&3||Qi(m_(_r),m_(Gr))?_r:Gr}return r}function eR(r,t){var i=oi(r.mappedType,t);if(!(e.getObjectFlags(i)&32))return r;var o=oi(r.constraintType,t);if(!(o.flags&4194304))return r;var s=QL(oi(r.source,t),i,o);return s||r}function wy(r){return r.flags&262143?r:r.permissiveInstantiation||(r.permissiveInstantiation=oi(r,Cn))}function m_(r){return r.flags&262143?r:(r.restrictiveInstantiation||(r.restrictiveInstantiation=oi(r,rt),r.restrictiveInstantiation.restrictiveInstantiation=r.restrictiveInstantiation),r.restrictiveInstantiation)}function rR(r,t){return Eu(r.keyType,oi(r.type,t),r.isReadonly,r.declaration)}function nu(r){switch(e.Debug.assert(r.kind!==168||e.isObjectLiteralMethod(r)),r.kind){case 212:case 213:case 168:case 255:return EL(r);case 204:return e.some(r.properties,nu);case 203:return e.some(r.elements,nu);case 221:return nu(r.whenTrue)||nu(r.whenFalse);case 220:return(r.operatorToken.kind===56||r.operatorToken.kind===60)&&(nu(r.left)||nu(r.right));case 294:return nu(r.initializer);case 211:return nu(r.expression);case 285:return e.some(r.properties,nu)||e.isJsxOpeningElement(r.parent)&&e.some(r.parent.parent.children,nu);case 284:{var t=r.initializer;return!!t&&nu(t)}case 287:{var i=r.expression;return!!i&&nu(i)}}return!1}function EL(r){return(!e.isFunctionDeclaration(r)||e.isInJSFile(r)&&!!Pf(r))&&(e.hasContextSensitiveParameters(r)||tR(r))}function tR(r){return!r.typeParameters&&!e.getEffectiveReturnTypeNode(r)&&!!r.body&&r.body.kind!==234&&nu(r.body)}function TL(r){return(e.isInJSFile(r)&&e.isFunctionDeclaration(r)||e.isFunctionExpressionOrArrowFunction(r)||e.isObjectLiteralMethod(r))&&EL(r)}function SL(r){if(r.flags&524288){var t=Sc(r);if(t.constructSignatures.length||t.callSignatures.length){var i=Bl(16,r.symbol);return i.members=t.members,i.properties=t.properties,i.callSignatures=e.emptyArray,i.constructSignatures=e.emptyArray,i.indexInfos=e.emptyArray,i}}else if(r.flags&2097152)return To(e.map(r.types,SL));return r}function jf(r,t){return Hf(r,t,fi)}function $g(r,t){return Hf(r,t,fi)?-1:0}function A0(r,t){return Hf(r,t,Ta)?-1:0}function nR(r,t){return Hf(r,t,ha)?-1:0}function Ed(r,t){return Hf(r,t,ha)}function Qi(r,t){return Hf(r,t,Ta)}function _m(r,t){return r.flags&1048576?e.every(r.types,function(i){return _m(i,t)}):t.flags&1048576?e.some(t.types,function(i){return _m(r,i)}):r.flags&58982400?_m(l(r)||tr,t):t===Un?!!(r.flags&67633152):t===Oe?!!(r.flags&524288)&&o1(r):Cp(r,O_(t))||el(t)&&!ag(t)&&_m(r,Be)}function ng(r,t){return Hf(r,t,Ya)}function My(r,t){return ng(r,t)||ng(t,r)}function Rl(r,t,i,o,s,c){return au(r,t,Ta,i,o,s,c)}function pp(r,t,i,o,s,c){return C0(r,t,Ta,i,o,s,c,void 0)}function C0(r,t,i,o,s,c,L,G){return Hf(r,t,i)?!0:!o||!ch(s,r,t,i,c,L,G)?au(r,t,i,o,c,L,G):!1}function DL(r){return!!(r.flags&16777216||r.flags&2097152&&e.some(r.types,DL))}function ch(r,t,i,o,s,c,L){if(!r||DL(i))return!1;if(!au(t,i,o,void 0)&&aR(r,t,i,o,s,c,L))return!0;switch(r.kind){case 287:case 211:return ch(r.expression,t,i,o,s,c,L);case 220:switch(r.operatorToken.kind){case 63:case 27:return ch(r.right,t,i,o,s,c,L)}break;case 204:return pR(r,t,i,o,c,L);case 203:return fR(r,t,i,o,c,L);case 285:return uR(r,t,i,o,c,L);case 213:return iR(r,t,i,o,c,L)}return!1}function aR(r,t,i,o,s,c,L){for(var G=Ni(t,0),ce=Ni(t,1),we=0,Ue=[ce,G];we<Ue.length;we++){var Je=Ue[we];if(e.some(Je,function(Gr){var Zr=_o(Gr);return!(Zr.flags&131073)&&au(Zr,i,o,void 0)})){var ar=L||{};Rl(t,i,r,s,c,ar);var _r=ar.errors[ar.errors.length-1];return e.addRelatedInfo(_r,e.createDiagnosticForNode(r,Je===ce?e.Diagnostics.Did_you_mean_to_use_new_with_this_expression:e.Diagnostics.Did_you_mean_to_call_this_expression)),!0}}return!1}function iR(r,t,i,o,s,c){if(e.isBlock(r.body)||e.some(r.parameters,e.hasType))return!1;var L=j_(t);if(!L)return!1;var G=Ni(i,0);if(!e.length(G))return!1;var ce=r.body,we=_o(L),Ue=ma(e.map(G,_o));if(!au(we,Ue,o,void 0)){var Je=ce&&ch(ce,we,Ue,o,void 0,s,c);if(Je)return Je;var ar=c||{};if(au(we,Ue,o,ce,void 0,s,ar),ar.errors)return i.symbol&&e.length(i.symbol.declarations)&&e.addRelatedInfo(ar.errors[ar.errors.length-1],e.createDiagnosticForNode(i.symbol.declarations[0],e.Diagnostics.The_expected_type_comes_from_the_return_type_of_this_signature)),(e.getFunctionFlags(r)&2)===0&&!ia(we,\"then\")&&au(Nh(we),Ue,o,void 0)&&e.addRelatedInfo(ar.errors[ar.errors.length-1],e.createDiagnosticForNode(r,e.Diagnostics.Did_you_mean_to_mark_this_function_as_async)),!0}return!1}function oR(r,t,i){var o=cp(t,i);if(o)return o;if(t.flags&1048576){var s=OL(r,t);if(s)return cp(s,i)}}function sR(r,t){r.contextualType=t;try{return hg(r,1,t)}finally{r.contextualType=void 0}}function ev(r,t,i,o,s,c){for(var L=!1,G=r.next();!G.done;G=r.next()){var ce=G.value,we=ce.errorNode,Ue=ce.innerExpression,Je=ce.nameType,ar=ce.errorMessage,_r=oR(t,i,Je);if(!(!_r||_r.flags&8388608)){var Gr=cp(t,Je);if(!!Gr){var Zr=c0(Je,void 0);if(!au(Gr,_r,o,void 0)){var Et=Ue&&ch(Ue,Gr,_r,o,void 0,s,c);if(L=!0,!Et){var Tt=c||{},At=Ue?sR(Ue,Gr):Gr;if(de&&R0(At,_r)){var Vt=e.createDiagnosticForNode(we,e.Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target,gn(At),gn(_r));ua.add(Vt),Tt.errors=[Vt]}else{var Nn=!!(Zr&&(Ii(i,Zr)||We).flags&16777216),on=!!(Zr&&(Ii(t,Zr)||We).flags&16777216);_r=gm(_r,Nn),Gr=gm(Gr,Nn&&on);var ca=au(At,_r,o,we,ar,s,Tt);ca&&At!==Gr&&au(Gr,_r,o,we,ar,s,Tt)}if(Tt.errors){var la=Tt.errors[Tt.errors.length-1],di=gu(Je)?vu(Je):void 0,Aa=di!==void 0?Ii(i,di):void 0,Li=!1;if(!Aa){var Bi=zm(i,Je);Bi&&Bi.declaration&&!e.getSourceFileOfNode(Bi.declaration).hasNoDefaultLib&&(Li=!0,e.addRelatedInfo(la,e.createDiagnosticForNode(Bi.declaration,e.Diagnostics.The_expected_type_comes_from_this_index_signature)))}if(!Li&&(Aa&&e.length(Aa.declarations)||i.symbol&&e.length(i.symbol.declarations))){var Ai=Aa&&e.length(Aa.declarations)?Aa.declarations[0]:i.symbol.declarations[0];e.getSourceFileOfNode(Ai).hasNoDefaultLib||e.addRelatedInfo(la,e.createDiagnosticForNode(Ai,e.Diagnostics.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1,di&&!(Je.flags&8192)?e.unescapeLeadingUnderscores(di):gn(Je),gn(i)))}}}}}}}return L}function lR(r){var t,i,o;return Og(this,function(s){switch(s.label){case 0:if(!e.length(r.properties))return[2];t=0,i=r.properties,s.label=1;case 1:return t<i.length?(o=i[t],e.isJsxSpreadAttribute(o)||D1(e.idText(o.name))?[3,3]:[4,{errorNode:o.name,innerExpression:o.initializer,nameType:Lc(e.idText(o.name))}]):[3,4];case 2:s.sent(),s.label=3;case 3:return t++,[3,1];case 4:return[2]}})}function cR(r,t){var i,o,s,c,L;return Og(this,function(G){switch(G.label){case 0:if(!e.length(r.children))return[2];i=0,o=0,G.label=1;case 1:return o<r.children.length?(s=r.children[o],c=Wf(o-i),L=LL(s,c,t),L?[4,L]:[3,3]):[3,5];case 2:return G.sent(),[3,4];case 3:i++,G.label=4;case 4:return o++,[3,1];case 5:return[2]}})}function LL(r,t,i){switch(r.kind){case 287:return{errorNode:r,innerExpression:r.expression,nameType:t};case 11:if(r.containsOnlyTriviaWhiteSpaces)break;return{errorNode:r,innerExpression:void 0,nameType:t,errorMessage:i()};case 277:case 278:case 281:return{errorNode:r,innerExpression:r,nameType:t};default:return e.Debug.assertNever(r,\"Found invalid jsx child\")}}function uR(r,t,i,o,s,c){var L=ev(lR(r),t,i,o,s,c),G;if(e.isJsxOpeningElement(r.parent)&&e.isJsxElement(r.parent.parent)){var ce=r.parent.parent,we=fb(Em(r)),Ue=we===void 0?\"children\":e.unescapeLeadingUnderscores(we),Je=Lc(Ue),ar=Hl(i,Je),_r=e.getSemanticJsxChildren(ce.children);if(!e.length(_r))return L;var Gr=e.length(_r)>1,Zr=rl(ar,BL),Et=rl(ar,function(la){return!BL(la)});if(Gr){if(Zr!==en){var Tt=Tu(ub(ce,0)),At=cR(ce,ca);L=ev(At,Tt,Zr,o,s,c)||L}else if(!Hf(Hl(t,Je),ar,o)){L=!0;var Vt=Mr(ce.openingElement.tagName,e.Diagnostics.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,Ue,gn(ar));c&&c.skipLogging&&(c.errors||(c.errors=[])).push(Vt)}}else if(Et!==en){var Nn=_r[0],on=LL(Nn,Je,ca);on&&(L=ev(function(){return Og(this,function(la){switch(la.label){case 0:return[4,on];case 1:return la.sent(),[2]}})}(),t,i,o,s,c)||L)}else if(!Hf(Hl(t,Je),ar,o)){L=!0;var Vt=Mr(ce.openingElement.tagName,e.Diagnostics.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,Ue,gn(ar));c&&c.skipLogging&&(c.errors||(c.errors=[])).push(Vt)}}return L;function ca(){if(!G){var la=e.getTextOfNode(r.parent.tagName),di=fb(Em(r)),Aa=di===void 0?\"children\":e.unescapeLeadingUnderscores(di),Li=Hl(i,Lc(Aa)),Bi=e.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;G=Rn(Rn({},Bi),{key:\"!!ALREADY FORMATTED!!\",message:e.formatMessage(void 0,Bi,la,Aa,gn(Li))})}return G}}function AL(r,t){var i,o,s,c;return Og(this,function(L){switch(L.label){case 0:if(i=e.length(r.elements),!i)return[2];o=0,L.label=1;case 1:return o<i?ig(t)&&!Ii(t,\"\"+o)?[3,3]:(s=r.elements[o],e.isOmittedExpression(s)?[3,3]:(c=Wf(o),[4,{errorNode:s,innerExpression:s,nameType:c}])):[3,4];case 2:L.sent(),L.label=3;case 3:return o++,[3,1];case 4:return[2]}})}function fR(r,t,i,o,s,c){if(i.flags&131068)return!1;if(ig(t))return ev(AL(r,i),t,i,o,s,c);var L=r.contextualType;r.contextualType=i;try{var G=UA(r,1,!0);return r.contextualType=L,ig(G)?ev(AL(r,i),G,i,o,s,c):!1}finally{r.contextualType=L}}function dR(r){var t,i,o,s,c;return Og(this,function(L){switch(L.label){case 0:if(!e.length(r.properties))return[2];t=0,i=r.properties,L.label=1;case 1:if(!(t<i.length))return[3,8];if(o=i[t],e.isSpreadAssignment(o))return[3,7];if(s=eg(wn(o),8576),!s||s.flags&131072)return[3,7];switch(c=o.kind,c){case 172:return[3,2];case 171:return[3,2];case 168:return[3,2];case 295:return[3,2];case 294:return[3,4]}return[3,6];case 2:return[4,{errorNode:o.name,innerExpression:void 0,nameType:s}];case 3:return L.sent(),[3,7];case 4:return[4,{errorNode:o.name,innerExpression:o.initializer,nameType:s,errorMessage:e.isComputedNonLiteralName(o.name)?e.Diagnostics.Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:void 0}];case 5:return L.sent(),[3,7];case 6:e.Debug.assertNever(o),L.label=7;case 7:return t++,[3,1];case 8:return[2]}})}function pR(r,t,i,o,s,c){return i.flags&131068?!1:ev(dR(r),t,i,o,s,c)}function CL(r,t,i,o,s){return au(r,t,Ya,i,o,s)}function _R(r,t,i){return x0(r,t,i?4:0,!1,void 0,void 0,A0,void 0)!==0}function mR(r){return!r.typeParameters&&(!r.thisParameter||Na(fv(r.thisParameter)))&&r.parameters.length===1&&ue(r)&&(fv(r.parameters[0])===Sn||Na(fv(r.parameters[0])))&&Na(_o(r))}function x0(r,t,i,o,s,c,L,G){if(r===t||mR(t))return-1;var ce=Tl(t),we=!xu(t)&&(i&8?xu(r)||Tl(r)>ce:Cu(r)>ce);if(we)return 0;r.typeParameters&&r.typeParameters!==t.typeParameters&&(t=Dk(t),r=yC(r,t,void 0,L));var Ue=Tl(r),Je=pv(r),ar=pv(t);if((Je||ar)&&oi(Je||ar,G),Je&&ar&&Ue!==ce)return 0;var _r=t.declaration?t.declaration.kind:0,Gr=!(i&3)&&lr&&_r!==168&&_r!==167&&_r!==170,Zr=-1,Et=f_(r);if(Et&&Et!==Wn){var Tt=f_(t);if(Tt){var At=!Gr&&L(Et,Tt,!1)||L(Tt,Et,o);if(!At)return o&&s(e.Diagnostics.The_this_types_of_each_signature_are_incompatible),0;Zr&=At}}for(var Vt=Je||ar?Math.min(Ue,ce):Math.max(Ue,ce),Nn=Je||ar?Vt-1:-1,on=0;on<Vt;on++){var ca=on===Nn?gg(r,on):E_(r,on),la=on===Nn?gg(t,on):E_(t,on);if(ca&&la){var di=i&3?void 0:j_(Td(ca)),Aa=i&3?void 0:j_(Td(la)),Li=di&&Aa&&!Dc(di)&&!Dc(Aa)&&(lc(ca)&98304)===(lc(la)&98304),At=Li?x0(Aa,di,i&8|(Gr?2:1),o,s,c,L,G):!(i&3)&&!Gr&&L(ca,la,!1)||L(la,ca,o);if(At&&i&8&&on>=Cu(r)&&on<Cu(t)&&L(ca,la,!1)&&(At=0),!At)return o&&s(e.Diagnostics.Types_of_parameters_0_and_1_are_incompatible,e.unescapeLeadingUnderscores(mg(r,on)),e.unescapeLeadingUnderscores(mg(t,on))),0;Zr&=At}}if(!(i&4)){var Bi=qE(t)?Ze:t.declaration&&ou(t.declaration)?Hn(Ga(t.declaration.symbol)):_o(t);if(Bi===Wn)return Zr;var Ai=qE(r)?Ze:r.declaration&&ou(r.declaration)?Hn(Ga(r.declaration.symbol)):_o(r),xo=Dc(t);if(xo){var Wt=Dc(r);if(Wt)Zr&=gR(Wt,xo,o,s,L);else if(e.isIdentifierTypePredicate(xo))return o&&s(e.Diagnostics.Signature_0_must_be_a_type_predicate,pu(r)),0}else Zr&=i&1&&L(Bi,Ai,!1)||L(Ai,Bi,o),!Zr&&o&&c&&c(Ai,Bi)}return Zr}function gR(r,t,i,o,s){if(r.kind!==t.kind)return i&&(o(e.Diagnostics.A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard),o(e.Diagnostics.Type_predicate_0_is_not_assignable_to_1,Yc(r),Yc(t))),0;if((r.kind===1||r.kind===3)&&r.parameterIndex!==t.parameterIndex)return i&&(o(e.Diagnostics.Parameter_0_is_not_in_the_same_position_as_parameter_1,r.parameterName,t.parameterName),o(e.Diagnostics.Type_predicate_0_is_not_assignable_to_1,Yc(r),Yc(t))),0;var c=r.type===t.type?-1:r.type&&t.type?s(r.type,t.type,i):0;return c===0&&i&&o(e.Diagnostics.Type_predicate_0_is_not_assignable_to_1,Yc(r),Yc(t)),c}function vR(r,t){var i=Jg(r),o=Jg(t),s=_o(i),c=_o(o);return c===Wn||Hf(c,s,Ta)||Hf(s,c,Ta)?_R(i,o,!0):!1}function I0(r){return r!==yi&&r.properties.length===0&&r.callSignatures.length===0&&r.constructSignatures.length===0&&r.indexInfos.length===0}function cf(r){return r.flags&524288?!El(r)&&I0(Sc(r)):r.flags&67108864?!0:r.flags&1048576?e.some(r.types,cf):r.flags&2097152?e.every(r.types,cf):!1}function xL(r){return!!(e.getObjectFlags(r)&16&&(r.members&&I0(r)||r.symbol&&r.symbol.flags&2048&&af(r.symbol).size===0))}function IL(r){return r.flags&524288&&!El(r)&&Yi(r).length===0&&Ps(r).length===1&&!!oc(r,xt)||r.flags&3145728&&e.every(r.types,IL)||!1}function N0(r,t,i){if(r===t)return!0;var o=y(r)+\",\"+y(t),s=ci.get(o);if(s!==void 0&&!(!(s&4)&&s&2&&i))return!!(s&1);if(r.escapedName!==t.escapedName||!(r.flags&256)||!(t.flags&256))return ci.set(o,6),!1;for(var c=An(t),L=0,G=Yi(An(r));L<G.length;L++){var ce=G[L];if(ce.flags&8){var we=Ii(c,ce.escapedName);if(!we||!(we.flags&8))return i?(i(e.Diagnostics.Property_0_is_missing_in_type_1,e.symbolName(ce),gn(po(t),void 0,64)),ci.set(o,6)):ci.set(o,2),!1}}return ci.set(o,1),!0}function uh(r,t,i,o){var s=r.flags,c=t.flags;return c&3||s&131072||r===fr?!0:c&131072?!1:!!(s&402653316&&c&4||s&128&&s&1024&&c&128&&!(c&1024)&&r.value===t.value||s&296&&c&8||s&256&&s&1024&&c&256&&!(c&1024)&&r.value===t.value||s&2112&&c&64||s&528&&c&16||s&12288&&c&4096||s&32&&c&32&&N0(r.symbol,t.symbol,o)||s&1024&&c&1024&&(s&1048576&&c&1048576&&N0(r.symbol,t.symbol,o)||s&2944&&c&2944&&r.value===t.value&&N0(Ts(r.symbol),Ts(t.symbol),o))||s&32768&&(!br||c&49152)||s&65536&&(!br||c&65536)||s&524288&&c&67108864||(i===Ta||i===Ya)&&(s&1||s&264&&!(s&1024)&&(c&32||i===Ta&&c&256&&c&1024)))}function Hf(r,t,i){if(Mp(r)&&(r=r.regularType),Mp(t)&&(t=t.regularType),r===t)return!0;if(i!==fi){if(i===Ya&&!(t.flags&131072)&&uh(t,r,i)||uh(r,t,i))return!0}else{if(r.flags!==t.flags)return!1;if(r.flags&67358815)return!0}if(r.flags&524288&&t.flags&524288){var o=i.get(P0(r,t,0,i,!1));if(o!==void 0)return!!(o&1)}return r.flags&469499904||t.flags&469499904?au(r,t,i,void 0):!1}function NL(r,t){return e.getObjectFlags(r)&2048&&D1(t.escapedName)}function k0(r,t){for(;;){var i=Mp(r)?r.regularType:e.getObjectFlags(r)&4&&r.node?Uf(r.target,vo(r)):r.flags&3145728?Eo(r):r.flags&33554432?t?r.baseType:r.substitute:r.flags&25165824?Vf(r,t):r;if(i=B0(i)||i,i===r)break;r=i}return r}function au(r,t,i,o,s,c,L){var G,ce,we,Ue,Je,ar=0,_r=0,Gr=0,Zr=0,Et=!1,Tt=0,At,Vt=[],Nn=!1;e.Debug.assert(i!==fi||!o,\"no error reporting in identity checking\");var on=jn(r,t,3,!!o,s);if(Vt.length&&Ft(),Et){e.tracing===null||e.tracing===void 0||e.tracing.instant(\"checkTypes\",\"checkTypeRelatedTo_DepthLimit\",{sourceId:r.id,targetId:t.id,depth:_r,targetDepth:Gr});var ca=Mr(o||_e,e.Diagnostics.Excessive_stack_depth_comparing_types_0_and_1,gn(r),gn(t));L&&(L.errors||(L.errors=[])).push(ca)}else if(G){if(c){var la=c();la&&(e.concatenateDiagnosticMessageChains(la,G),G=la)}var di=void 0;if(s&&o&&!on&&r.symbol){var Aa=Ja(r.symbol);if(Aa.originatingImport&&!e.isImportCall(Aa.originatingImport)){var Li=au(An(Aa.target),t,i,void 0);if(Li){var Bi=e.createDiagnosticForNode(Aa.originatingImport,e.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);di=e.append(di,Bi)}}}var ca=e.createDiagnosticForNodeFromMessageChain(o,G,di);ce&&e.addRelatedInfo.apply(void 0,Gt([ca],ce,!1)),L&&(L.errors||(L.errors=[])).push(ca),(!L||!L.skipLogging)&&ua.add(ca)}return o&&L&&L.skipLogging&&on===0&&e.Debug.assert(!!L.errors,\"missed opportunity to interact with error.\"),on!==0;function Ai(Kr){G=Kr.errorInfo,At=Kr.lastSkippedInfo,Vt=Kr.incompatibleStack,Tt=Kr.overrideNextErrorInfo,ce=Kr.relatedInfo}function xo(){return{errorInfo:G,lastSkippedInfo:At,incompatibleStack:Vt.slice(),overrideNextErrorInfo:Tt,relatedInfo:ce?ce.slice():void 0}}function Wt(Kr,st,kt,$t,ea){Tt++,At=void 0,Vt.push([Kr,st,kt,$t,ea])}function Ft(){var Kr=Vt;Vt=[];var st=At;if(At=void 0,Kr.length===1){_n.apply(void 0,Kr[0]),st&&Yn.apply(void 0,Gt([void 0],st,!1));return}for(var kt=\"\",$t=[];Kr.length;){var ea=Kr.pop(),Gn=ea[0],Tn=ea.slice(1);switch(Gn.code){case e.Diagnostics.Types_of_property_0_are_incompatible.code:{kt.indexOf(\"new \")===0&&(kt=\"(\".concat(kt,\")\"));var zt=\"\"+Tn[0];kt.length===0?kt=\"\".concat(zt):e.isIdentifierText(zt,e.getEmitScriptTarget(Xe))?kt=\"\".concat(kt,\".\").concat(zt):zt[0]===\"[\"&&zt[zt.length-1]===\"]\"?kt=\"\".concat(kt).concat(zt):kt=\"\".concat(kt,\"[\").concat(zt,\"]\");break}case e.Diagnostics.Call_signature_return_types_0_and_1_are_incompatible.code:case e.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible.code:case e.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:case e.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:{if(kt.length===0){var ni=Gn;Gn.code===e.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?ni=e.Diagnostics.Call_signature_return_types_0_and_1_are_incompatible:Gn.code===e.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code&&(ni=e.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible),$t.unshift([ni,Tn[0],Tn[1]])}else{var vi=Gn.code===e.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible.code||Gn.code===e.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?\"new \":\"\",ai=Gn.code===e.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code||Gn.code===e.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?\"\":\"...\";kt=\"\".concat(vi).concat(kt,\"(\").concat(ai,\")\")}break}case e.Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target.code:{$t.unshift([e.Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,Tn[0],Tn[1]]);break}case e.Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target.code:{$t.unshift([e.Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,Tn[0],Tn[1],Tn[2]]);break}default:return e.Debug.fail(\"Unhandled Diagnostic: \".concat(Gn.code))}}kt?_n(kt[kt.length-1]===\")\"?e.Diagnostics.The_types_returned_by_0_are_incompatible_between_these_types:e.Diagnostics.The_types_of_0_are_incompatible_between_these_types,kt):$t.shift();for(var so=0,Ui=$t;so<Ui.length;so++){var ps=Ui[so],Gn=ps[0],Tn=ps.slice(1),ls=Gn.elidedInCompatabilityPyramid;Gn.elidedInCompatabilityPyramid=!1,_n.apply(void 0,Gt([Gn],Tn,!1)),Gn.elidedInCompatabilityPyramid=ls}st&&Yn.apply(void 0,Gt([void 0],st,!1))}function _n(Kr,st,kt,$t,ea){e.Debug.assert(!!o),Vt.length&&Ft(),!Kr.elidedInCompatabilityPyramid&&(G=e.chainDiagnosticMessages(G,Kr,st,kt,$t,ea))}function Ca(Kr){e.Debug.assert(!!G),ce?ce.push(Kr):ce=[Kr]}function Yn(Kr,st,kt){Vt.length&&Ft();var $t=Rf(st,kt),ea=$t[0],Gn=$t[1],Tn=st,zt=ea;if(mm(st)&&!O0(kt)&&(Tn=Du(st),e.Debug.assert(!Qi(Tn,kt),\"generalized source shouldn't be assignable\"),zt=Qd(Tn)),kt.flags&262144){var ni=l(kt),vi=void 0;ni&&(Qi(Tn,ni)||(vi=Qi(st,ni)))?_n(e.Diagnostics._0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2,vi?ea:zt,Gn,gn(ni)):(G=void 0,_n(e.Diagnostics._0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1,Gn,zt))}if(Kr)Kr===e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1&&de&&kL(st,kt).length&&(Kr=e.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);else if(i===Ya)Kr=e.Diagnostics.Type_0_is_not_comparable_to_type_1;else if(ea===Gn)Kr=e.Diagnostics.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated;else if(de&&kL(st,kt).length)Kr=e.Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties;else{if(st.flags&128&&kt.flags&1048576){var ai=uP(st,kt);if(ai){_n(e.Diagnostics.Type_0_is_not_assignable_to_type_1_Did_you_mean_2,zt,Gn,gn(ai));return}}Kr=e.Diagnostics.Type_0_is_not_assignable_to_type_1}_n(Kr,zt,Gn)}function Ba(Kr,st){var kt=Zd(Kr.symbol)?gn(Kr,Kr.symbol.valueDeclaration):gn(Kr),$t=Zd(st.symbol)?gn(st,st.symbol.valueDeclaration):gn(st);(er===Kr&&xt===st||vr===Kr&&wt===st||qr===Kr&&Jn===st||RD(!1)===Kr&&na===st)&&_n(e.Diagnostics._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible,$t,kt)}function Ti(Kr,st,kt){return ki(Kr)?Kr.target.readonly&&Gy(st)?(kt&&_n(e.Diagnostics.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,gn(Kr),gn(st)),!1):ki(st)||el(st):ag(Kr)&&Gy(st)?(kt&&_n(e.Diagnostics.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,gn(Kr),gn(st)),!1):ki(st)?el(Kr):!0}function Pi(Kr,st,kt){return jn(Kr,st,3,kt)}function jn(Kr,st,kt,$t,ea,Gn){if(kt===void 0&&(kt=3),$t===void 0&&($t=!1),Gn===void 0&&(Gn=0),Kr.flags&524288&&st.flags&131068)return uh(Kr,st,i,$t?_n:void 0)?-1:(ot(Kr,st,0,!!(e.getObjectFlags(Kr)&2048)),0);var Tn=k0(Kr,!1),zt=k0(st,!0);if(Tn===zt)return-1;if(i===fi)return Wr(Tn,zt,kt);if(Tn.flags&262144&&kp(Tn)===zt)return-1;if(zt.flags&1048576&&Tn.flags&524288&&zt.types.length<=3&&Jo(zt,98304)){var ni=W_(zt,-98305);if(ni.flags&1179648||(zt=k0(ni,!0)),Tn===ni)return-1}if(i===Ya&&!(zt.flags&131072)&&uh(zt,Tn,i)||uh(Tn,zt,i,$t?_n:void 0))return-1;var vi=!!(e.getObjectFlags(Tn)&2048),ai=!(Gn&2)&&Gp(Tn)&&e.getObjectFlags(Tn)&16384;if(ai&&hn(Tn,zt,$t))return $t&&Yn(ea,Tn,st.aliasSymbol?st:zt),0;var so=i!==Ya&&!(Gn&2)&&Tn.flags&2752508&&Tn!==Un&&zt.flags&2621440&&RL(zt)&&(Yi(Tn).length>0||LT(Tn));if(so&&!yR(Tn,zt,vi)){if($t){var Ui=gn(Kr.aliasSymbol?Kr:Tn),ps=gn(st.aliasSymbol?st:zt),ls=Ni(Tn,0),Xo=Ni(Tn,1);ls.length>0&&jn(_o(ls[0]),zt,1,!1)||Xo.length>0&&jn(_o(Xo[0]),zt,1,!1)?_n(e.Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,Ui,ps):_n(e.Diagnostics.Type_0_has_no_properties_in_common_with_type_1,Ui,ps)}return 0}Fi(Tn,zt);var eo=0,Ko=xo();if((Tn.flags&1048576||zt.flags&1048576)&&yA(Tn)*yA(zt)<4?eo=mn(Tn,zt,$t,Gn|8):(Tn.flags&3145728||zt.flags&3145728)&&(eo=Yt(Tn,zt,$t,Gn|8,kt)),!eo&&!(Tn.flags&1048576)&&(Tn.flags&469499904||zt.flags&469499904)&&(eo=Yt(Tn,zt,$t,Gn,kt))&&Ai(Ko),!eo&&Tn.flags&2359296){var $o=HE(Tn.flags&2097152?Tn.types:[Tn],!!(zt.flags&1048576));$o&&(Tn.flags&2097152||zt.flags&1048576)&&Kf($o,function(ln){return ln!==Tn})&&(eo=jn($o,zt,1,!1,void 0,Gn))&&Ai(Ko)}return eo&&!Nn&&(zt.flags&2097152&&(ai||so)||m0(zt)&&!el(zt)&&!ki(zt)&&Tn.flags&2097152&&wi(Tn).flags&3670016&&!e.some(Tn.types,function(ln){return!!(e.getObjectFlags(ln)&524288)}))&&(Nn=!0,eo&=Yt(Tn,zt,$t,4,kt),Nn=!1),ot(Tn,zt,eo,vi),eo;function ot(ln,aa,qn,ra){if(!qn&&$t){var Xa=!!B0(Kr),ja=!!B0(st);ln=Kr.aliasSymbol||Xa?Kr:ln,aa=st.aliasSymbol||ja?st:aa;var pi=Tt>0;if(pi&&Tt--,ln.flags&524288&&aa.flags&524288){var Va=G;Ti(ln,aa,$t),G!==Va&&(pi=!!G)}if(ln.flags&524288&&aa.flags&131068)Ba(ln,aa);else if(ln.symbol&&ln.flags&524288&&Un===ln)_n(e.Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);else if(ra&&aa.flags&2097152){var Ma=aa.types,qi=Vp(P.IntrinsicAttributes,o),yo=Vp(P.IntrinsicClassAttributes,o);if(!Ua(qi)&&!Ua(yo)&&(e.contains(Ma,qi)||e.contains(Ma,yo)))return qn}else G=Jm(G,st);if(!ea&&pi)return At=[ln,aa],qn;Yn(ea,ln,aa)}}}function Fi(Kr,st){if(!!e.tracing&&Kr.flags&3145728&&st.flags&3145728){var kt=Kr,$t=st;if(kt.objectFlags&$t.objectFlags&65536)return;var ea=kt.types.length,Gn=$t.types.length;ea*Gn>1e6&&e.tracing.instant(\"checkTypes\",\"traceUnionsOrIntersectionsTooLarge_DepthLimit\",{sourceId:Kr.id,sourceSize:ea,targetId:st.id,targetSize:Gn,pos:o==null?void 0:o.pos,end:o==null?void 0:o.end})}}function Wr(Kr,st,kt){if(Kr.flags!==st.flags)return 0;if(Kr.flags&67358815)return-1;if(Fi(Kr,st),Kr.flags&3145728){var $t=Vn(Kr,st);return $t&&($t&=Vn(st,Kr)),$t}return Yt(Kr,st,!1,0,kt)}function Tr(Kr,st){var kt=function($t,ea){var Gn;ea=wi(ea);var Tn=ea.flags&3145728?ic(ea,st):hd(ea,st),zt=Tn&&An(Tn)||((Gn=ip(ea,st))===null||Gn===void 0?void 0:Gn.type)||Nr;return e.append($t,zt)};return ma(e.reduceLeft(Kr,kt,void 0)||e.emptyArray)}function hn(Kr,st,kt){var $t;if(!Dh(st)||!Ke&&e.getObjectFlags(st)&8192)return!1;var ea=!!(e.getObjectFlags(Kr)&2048);if((i===Ta||i===Ya)&&(gh(Un,st)||!ea&&cf(st)))return!1;var Gn=st,Tn;st.flags&1048576&&(Gn=II(Kr,st,jn)||wF(st),Tn=Gn.flags&1048576?Gn.types:[Gn]);for(var zt=function(Ui){if(nn(Ui,Kr.symbol)&&!NL(Kr,Ui)){if(!x1(Gn,Ui.escapedName,ea)){if(kt){var ps=rl(Gn,Dh);if(!o)return{value:e.Debug.fail()};if(e.isJsxAttributes(o)||e.isJsxOpeningLikeElement(o)||e.isJsxOpeningLikeElement(o.parent)){Ui.valueDeclaration&&e.isJsxAttribute(Ui.valueDeclaration)&&e.getSourceFileOfNode(o)===e.getSourceFileOfNode(Ui.valueDeclaration.name)&&(o=Ui.valueDeclaration.name);var ls=Wa(Ui),Xo=fC(ls,ps),eo=Xo?Wa(Xo):void 0;eo?_n(e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,ls,gn(ps),eo):_n(e.Diagnostics.Property_0_does_not_exist_on_type_1,ls,gn(ps))}else{var Ko=(($t=Kr.symbol)===null||$t===void 0?void 0:$t.declarations)&&e.firstOrUndefined(Kr.symbol.declarations),eo=void 0;if(Ui.valueDeclaration&&e.findAncestor(Ui.valueDeclaration,function(aa){return aa===Ko})&&e.getSourceFileOfNode(Ko)===e.getSourceFileOfNode(o)){var $o=Ui.valueDeclaration;e.Debug.assertNode($o,e.isObjectLiteralElementLike),o=$o;var ot=$o.name;e.isIdentifier(ot)&&(eo=P1(ot,ps))}eo!==void 0?_n(e.Diagnostics.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,Wa(Ui),gn(ps),eo):_n(e.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Wa(Ui),gn(ps))}}return{value:!0}}if(Tn&&!jn(An(Ui),Tr(Tn,Ui.escapedName),3,kt))return kt&&Wt(e.Diagnostics.Types_of_property_0_are_incompatible,Wa(Ui)),{value:!0}}},ni=0,vi=Yi(Kr);ni<vi.length;ni++){var ai=vi[ni],so=zt(ai);if(typeof so==\"object\")return so.value}return!1}function nn(Kr,st){return Kr.valueDeclaration&&st.valueDeclaration&&Kr.valueDeclaration.parent===st.valueDeclaration}function Vn(Kr,st){for(var kt=-1,$t=Kr.types,ea=0,Gn=$t;ea<Gn.length;ea++){var Tn=Gn[ea],zt=En(Tn,st,!1);if(!zt)return 0;kt&=zt}return kt}function En(Kr,st,kt){var $t=st.types;if(st.flags&1048576){if(sp($t,Kr))return-1;var ea=sA(st,Kr);if(ea){var Gn=jn(Kr,ea,2,!1);if(Gn)return Gn}}for(var Tn=0,zt=$t;Tn<zt.length;Tn++){var ni=zt[Tn],Gn=jn(Kr,ni,2,!1);if(Gn)return Gn}if(kt){var vi=OL(Kr,st,jn);jn(Kr,vi||$t[$t.length-1],2,!0)}return 0}function Fn(Kr,st,kt,$t){for(var ea=-1,Gn=st.types,Tn=0,zt=Gn;Tn<zt.length;Tn++){var ni=zt[Tn],vi=jn(Kr,ni,2,kt,void 0,$t);if(!vi)return 0;ea&=vi}return ea}function Xr(Kr,st,kt,$t){var ea=Kr.types;if(Kr.flags&1048576&&sp(ea,st))return-1;for(var Gn=ea.length,Tn=0;Tn<Gn;Tn++){var zt=jn(ea[Tn],st,1,kt&&Tn===Gn-1,void 0,$t);if(zt)return zt}return 0}function it(Kr,st){return Kr.flags&1048576&&st.flags&1048576&&!(Kr.types[0].flags&32768)&&st.types[0].flags&32768?W_(st,-32769):st}function Pt(Kr,st,kt,$t){for(var ea=-1,Gn=Kr.types,Tn=it(Kr,st),zt=0;zt<Gn.length;zt++){var ni=Gn[zt];if(Tn.flags&1048576&&Gn.length>=Tn.types.length&&Gn.length%Tn.types.length===0){var vi=jn(ni,Tn.types[zt%Tn.types.length],3,!1,void 0,$t);if(vi){ea&=vi;continue}}var ai=jn(ni,st,1,kt,void 0,$t);if(!ai)return 0;ea&=ai}return ea}function Bt(Kr,st,kt,$t,ea){if(Kr===void 0&&(Kr=e.emptyArray),st===void 0&&(st=e.emptyArray),kt===void 0&&(kt=e.emptyArray),Kr.length!==st.length&&i===fi)return 0;for(var Gn=Kr.length<=st.length?Kr.length:st.length,Tn=-1,zt=0;zt<Gn;zt++){var ni=zt<kt.length?kt[zt]:1,vi=ni&7;if(vi!==4){var ai=Kr[zt],so=st[zt],Ui=-1;if(ni&8?Ui=i===fi?jn(ai,so,3,!1):$g(ai,so):vi===1?Ui=jn(ai,so,3,$t,void 0,ea):vi===2?Ui=jn(so,ai,3,$t,void 0,ea):vi===3?(Ui=jn(so,ai,3,!1),Ui||(Ui=jn(ai,so,3,$t,void 0,ea))):(Ui=jn(ai,so,3,$t,void 0,ea),Ui&&(Ui&=jn(so,ai,3,$t,void 0,ea))),!Ui)return 0;Tn&=Ui}}return Tn}function Yt(Kr,st,kt,$t,ea){if(Et)return 0;var Gn=$t|(Nn?16:0),Tn=P0(Kr,st,Gn,i,!1),zt=i.get(Tn);if(zt!==void 0&&!(kt&&zt&2&&!(zt&4))){if(yn){var ni=zt&24;ni&8&&oi(Kr,p_(_a)),ni&16&&oi(Kr,p_(qa))}return zt&1?-1:0}if(!we)we=[],Ue=[],Je=[];else{for(var vi=Tn.startsWith(\"*\")?P0(Kr,st,Gn,i,!0):void 0,ai=0;ai<ar;ai++)if(Tn===we[ai]||vi&&vi===we[ai])return 3;if(_r===100||Gr===100)return Et=!0,0}var so=ar;we[ar]=Tn,ar++;var Ui=Zr;ea&1&&(Ue[_r]=Kr,_r++,!(Zr&1)&&dh(Kr,Ue,_r)&&(Zr|=1)),ea&2&&(Je[Gr]=st,Gr++,!(Zr&2)&&dh(st,Je,Gr)&&(Zr|=2));var ps,ls=0;yn&&(ps=yn,yn=function(eo){return ls|=eo?16:8,ps(eo)}),Zr===3&&(e.tracing===null||e.tracing===void 0||e.tracing.instant(\"checkTypes\",\"recursiveTypeRelatedTo_DepthLimit\",{sourceId:Kr.id,sourceIdStack:Ue.map(function(eo){return eo.id}),targetId:st.id,targetIdStack:Je.map(function(eo){return eo.id}),depth:_r,targetDepth:Gr}));var Xo=Zr!==3?mn(Kr,st,kt,$t):3;if(yn&&(yn=ps),ea&1&&_r--,ea&2&&Gr--,Zr=Ui,Xo){if(Xo===-1||_r===0&&Gr===0){if(Xo===-1||Xo===3)for(var ai=so;ai<ar;ai++)i.set(we[ai],1|ls);ar=so}}else i.set(Tn,(kt?4:0)|2|ls),ar=so;return Xo}function mn(Kr,st,kt,$t){e.tracing===null||e.tracing===void 0||e.tracing.push(\"checkTypes\",\"structuredTypeRelatedTo\",{sourceId:Kr.id,targetId:st.id});var ea=ya(Kr,st,kt,$t);return e.tracing===null||e.tracing===void 0||e.tracing.pop(),ea}function ya(Kr,st,kt,$t){if($t&4)return ss(Kr,st,kt,void 0,0);if($t&8){if(Kr.flags&1048576)return i===Ya?Xr(Kr,st,kt&&!(Kr.flags&131068),$t&-9):Pt(Kr,st,kt&&!(Kr.flags&131068),$t&-9);if(st.flags&1048576)return En(sg(Kr),st,kt&&!(Kr.flags&131068)&&!(st.flags&131068));if(st.flags&2097152)return Fn(sg(Kr),st,kt,2);if(i===Ya&&st.flags&131068){var ea=e.sameMap(Kr.types,ee);if(ea!==Kr.types&&(Kr=To(ea),!(Kr.flags&2097152)))return jn(Kr,st,1,!1)}return Xr(Kr,st,!1,1)}var Gn=Kr.flags&st.flags;if(i===fi&&!(Gn&524288)){if(Gn&4194304)return jn(Kr.type,st.type,3,!1);var Tn=0;return Gn&8388608&&(Tn=jn(Kr.objectType,st.objectType,3,!1))&&(Tn&=jn(Kr.indexType,st.indexType,3,!1))||Gn&16777216&&Kr.root.isDistributive===st.root.isDistributive&&(Tn=jn(Kr.checkType,st.checkType,3,!1))&&(Tn&=jn(Kr.extendsType,st.extendsType,3,!1))&&(Tn&=jn(up(Kr),up(st),3,!1))&&(Tn&=jn(fp(Kr),fp(st),3,!1))?Tn:Gn&33554432?jn(Kr.substitute,st.substitute,3,!1):0}var zt,ni,vi=!1,ai=xo();if(Kr.flags&17301504&&Kr.aliasSymbol&&Kr.aliasTypeArguments&&Kr.aliasSymbol===st.aliasSymbol&&!(Kr.aliasTypeArgumentsContainsMarker||st.aliasTypeArgumentsContainsMarker)){var so=wL(Kr.aliasSymbol);if(so===e.emptyArray)return 1;var Ui=OI(Kr.aliasTypeArguments,st.aliasTypeArguments,so,$t);if(Ui!==void 0)return Ui}if(WL(Kr)&&!Kr.target.readonly&&(zt=jn(vo(Kr)[0],st,1))||WL(st)&&(st.target.readonly||Gy(l(Kr)||Kr))&&(zt=jn(Kr,vo(st)[0],2)))return zt;if(st.flags&262144){if(e.getObjectFlags(Kr)&32&&!Kr.declaration.nameType&&jn(qu(st),Tc(Kr),3)&&!(ru(Kr)&4)){var ps=yu(Kr),ls=Hl(st,eu(Kr));if(zt=jn(ps,ls,3,kt))return zt}}else if(st.flags&4194304){var Xo=st.type;if(Kr.flags&4194304&&(zt=jn(Xo,Kr.type,3,!1)))return zt;if(ki(Xo)){if(zt=jn(Kr,WD(Xo),2,kt))return zt}else{var eo=qv(Xo);if(eo){if(jn(Kr,qu(eo,st.stringsOnly),2,kt)===-1)return-1}else if(El(Xo)){var Ko=of(Xo),$o=Tc(Xo),ot=void 0;if(Ko&&Wm(Xo)){var ln=wi(jm(Xo)),aa=[];Kv(ln,8576,!1,function(xv){return void aa.push(oi(Ko,Zg(Xo.mapper,eu(Xo),xv)))}),ot=ma(Gt(Gt([],aa,!0),[Ko],!1))}else ot=Ko||$o;if(jn(Kr,ot,2,kt)===-1)return-1}}}else if(st.flags&8388608){if(Kr.flags&8388608){if((zt=jn(Kr.objectType,st.objectType,3,kt))&&(zt&=jn(Kr.indexType,st.indexType,3,kt)),zt)return Ai(ai),zt;kt&&(ni=G)}if(i===Ta||i===Ya){var qn=st.objectType,ra=st.indexType,Xa=l(qn)||qn,ja=l(ra)||ra;if(!P_(Xa)&&!F_(ja)){var pi=4|(Xa!==qn?2:0),eo=cp(Xa,ja,pi);if(eo){if(kt&&ni&&Ai(ai),zt=jn(Kr,eo,2,kt))return zt;kt&&ni&&G&&(G=MT([ni])<=MT([G])?ni:G)}}}kt&&(ni=void 0)}else if(El(st)&&i!==fi){var Va=!!st.declaration.nameType,ps=yu(st),Ma=ru(st);if(!(Ma&8)){if(!Va&&ps.flags&8388608&&ps.objectType===Kr&&ps.indexType===eu(st))return-1;if(!El(Kr)){var ot=Va?of(st):Tc(st),qi=qu(Kr,void 0,!0),yo=Ma&4,ns=yo?om(ot,qi):void 0;if(yo?!(ns.flags&131072):jn(ot,qi,3)){var Oo=yu(st),Ao=eu(st),Os=W_(Oo,-98305);if(!Va&&Os.flags&8388608&&Os.indexType===Ao){if(zt=jn(Kr,Os.objectType,2,kt))return zt}else{var hl=Va?ns||ot:ns?To([ns,Ao]):Ao,ls=Hl(Kr,hl);if(zt=jn(ls,Oo,3,kt))return zt}}ni=G,Ai(ai)}}}else if(st.flags&16777216){if(dh(st,Je,Gr,10))return Ai(ai),3;var As=st;if(!As.root.inferTypeParameters&&!RO(As.root)){var Cc=!Qi(wy(As.checkType),wy(As.extendsType)),z_=!Cc&&Qi(m_(As.checkType),m_(As.extendsType));if((zt=Cc?-1:jn(Kr,up(As),2,!1))&&(zt&=z_?-1:jn(Kr,fp(As),2,!1),zt))return Ai(ai),zt}}else if(st.flags&134217728){if(Kr.flags&134217728){if(i===Ya)return tw(Kr,st)?0:-1;oi(Kr,p_(qa))}if(rA(Kr,st))return-1}if(Kr.flags&8650752){if(!(Kr.flags&8388608&&st.flags&8388608)){var eo=kp(Kr);if(!eo||Kr.flags&262144&&eo.flags&1){if(zt=jn(Qn,W_(st,-67108865),3))return Ai(ai),zt}else{if(zt=jn(eo,st,1,!1,void 0,$t))return Ai(ai),zt;if(zt=jn(Il(eo,Kr),st,1,kt&&!(st.flags&Kr.flags&262144),void 0,$t))return Ai(ai),zt}}}else if(Kr.flags&4194304){if(zt=jn(_t,st,1,kt))return Ai(ai),zt}else if(Kr.flags&134217728&&!(st.flags&524288)){if(!(st.flags&134217728)){var eo=l(Kr);if(eo&&eo!==Kr&&(zt=jn(eo,st,1,kt)))return Ai(ai),zt}}else if(Kr.flags&268435456)if(st.flags&268435456&&Kr.symbol===st.symbol){if(zt=jn(Kr.type,st.type,3,kt))return Ai(ai),zt}else{var eo=l(Kr);if(eo&&(zt=jn(eo,st,1,kt)))return Ai(ai),zt}else if(Kr.flags&16777216){if(dh(Kr,Ue,_r,10))return Ai(ai),3;if(st.flags&16777216){var D_=Kr.root.inferTypeParameters,Cd=Kr.extendsType,Hp=void 0;if(D_){var Jp=nv(D_,void 0,0,Pi);uf(Jp.inferences,st.extendsType,Cd,1536),Cd=oi(Cd,Jp.mapper),Hp=Jp.mapper}if(jf(Cd,st.extendsType)&&(jn(Kr.checkType,st.checkType,3)||jn(st.checkType,Kr.checkType,3))&&((zt=jn(oi(up(Kr),Hp),up(st),3,kt))&&(zt&=jn(fp(Kr),fp(st),3,kt)),zt))return Ai(ai),zt}else{var xd=Yv(Kr);if(xd&&(zt=jn(xd,st,1,kt)))return Ai(ai),zt}var xm=Xv(Kr);if(xm&&(zt=jn(xm,st,1,kt)))return Ai(ai),zt}else{if(i!==ha&&i!==ri&&GE(st)&&cf(Kr))return-1;if(El(st))return El(Kr)&&(zt=Vi(Kr,st,kt))?(Ai(ai),zt):0;var Jl=!!(Kr.flags&131068);if(i!==fi)Kr=wi(Kr);else if(El(Kr))return 0;if(e.getObjectFlags(Kr)&4&&e.getObjectFlags(st)&4&&Kr.target===st.target&&!ki(Kr)&&!(e.getObjectFlags(Kr)&4096||e.getObjectFlags(st)&4096)){var so=M0(Kr.target);if(so===e.emptyArray)return 1;var Ui=OI(vo(Kr),vo(st),so,$t);if(Ui!==void 0)return Ui}else{if(ag(st)?el(Kr)||ki(Kr):el(st)&&ki(Kr)&&!Kr.target.readonly)return i!==fi?jn(tu(Kr,wt)||Ze,tu(st,wt)||Ze,3,kt):0;if((i===ha||i===ri)&&cf(st)&&e.getObjectFlags(st)&16384&&!cf(Kr))return 0}if(Kr.flags&2621440&&st.flags&524288){var vp=kt&&G===ai.errorInfo&&!Jl;if(zt=ss(Kr,st,vp,void 0,$t),zt&&(zt&=bs(Kr,st,0,vp),zt&&(zt&=bs(Kr,st,1,vp),zt&&(zt&=Ri(Kr,st,Jl,vp,$t)))),vi&&zt)G=ni||G||ai.errorInfo;else if(zt)return zt}if(Kr.flags&2621440&&st.flags&1048576){var NI=W_(st,36175872);if(NI.flags&1048576){var kI=Qa(Kr,NI);if(kI)return kI}}}return 0;function MT(xv){return xv?e.reduceLeft(xv,function(Jh,Dg){return Jh+1+MT(Dg.next)},0):0}function OI(xv,Jh,Dg,MF){if(zt=Bt(xv,Jh,Dg,kt,MF))return zt;if(e.some(Dg,function(PT){return!!(PT&24)})){ni=void 0,Ai(ai);return}var RI=Jh&&ER(Jh,Dg);if(vi=!RI,Dg!==e.emptyArray&&!RI){if(vi&&!(kt&&e.some(Dg,function(PT){return(PT&7)===0})))return 0;ni=G,Ai(ai)}}}function _a(Kr){return yn&&(Kr===io||Kr===ji||Kr===Hi)&&yn(!1),Kr}function qa(Kr){return yn&&(Kr===io||Kr===ji||Kr===Hi)&&yn(!0),Kr}function Vi(Kr,st,kt){var $t=i===Ya||(i===fi?ru(Kr)===ru(st):zv(Kr)<=zv(st));if($t){var ea,Gn=Tc(st),Tn=oi(Tc(Kr),p_(zv(Kr)<0?_a:qa));if(ea=jn(Gn,Tn,3,kt)){var zt=Ol([eu(Kr)],[eu(st)]);if(oi(of(Kr),zt)===oi(of(st),zt))return ea&jn(oi(yu(Kr),zt),yu(st),3,kt)}}return 0}function Qa(Kr,st){var kt=Yi(Kr),$t=oA(kt,st);if(!$t)return 0;for(var ea=1,Gn=0,Tn=$t;Gn<Tn.length;Gn++){var zt=Tn[Gn];if(ea*=xw(Gf(zt)),ea>25)return e.tracing===null||e.tracing===void 0||e.tracing.instant(\"checkTypes\",\"typeRelatedToDiscriminatedType_DepthLimit\",{sourceId:Kr.id,targetId:st.id,numCombinations:ea}),0}for(var ni=new Array($t.length),vi=new e.Set,ai=0;ai<$t.length;ai++){var zt=$t[ai],so=Gf(zt);ni[ai]=so.flags&1048576?so.types:[so],vi.add(zt.escapedName)}for(var Ui=e.cartesianProduct(ni),ps=[],ls=function(ra){var Xa=!1;e:for(var ja=0,pi=st.types;ja<pi.length;ja++){for(var Va=pi[ja],Ma=function(ns){var Oo=$t[ns],Ao=Ii(Va,Oo.escapedName);if(!Ao)return\"continue-outer\";if(Oo===Ao)return\"continue\";var Os=ao(Kr,st,Oo,Ao,function(hl){return ra[ns]},!1,0,br||i===Ya);if(!Os)return\"continue-outer\"},qi=0;qi<$t.length;qi++){var yo=Ma(qi);switch(yo){case\"continue-outer\":continue e}}e.pushIfUnique(ps,Va,e.equateValues),Xa=!0}if(!Xa)return{value:0}},Xo=0,eo=Ui;Xo<eo.length;Xo++){var Ko=eo[Xo],$o=ls(Ko);if(typeof $o==\"object\")return $o.value}for(var ot=-1,ln=0,aa=ps;ln<aa.length;ln++){var qn=aa[ln];if(ot&=ss(Kr,qn,!1,vi,0),ot&&(ot&=bs(Kr,qn,0,!1),ot&&(ot&=bs(Kr,qn,1,!1),ot&&!(ki(Kr)&&ki(qn))&&(ot&=Ri(Kr,qn,!1,!1,0)))),!ot)return ot}return ot}function ho(Kr,st){if(!st||Kr.length===0)return Kr;for(var kt,$t=0;$t<Kr.length;$t++)st.has(Kr[$t].escapedName)?kt||(kt=Kr.slice(0,$t)):kt&&kt.push(Kr[$t]);return kt||Kr}function Vo(Kr,st,kt,$t,ea){var Gn=br&&!!(e.getCheckFlags(st)&48),Tn=Wl(Gf(st),!1,Gn),zt=kt(Kr);return jn(zt,Tn,3,$t,void 0,ea)}function ao(Kr,st,kt,$t,ea,Gn,Tn,zt){var ni=e.getDeclarationModifierFlagsFromSymbol(kt),vi=e.getDeclarationModifierFlagsFromSymbol($t);if(ni&8||vi&8){if(kt.valueDeclaration!==$t.valueDeclaration)return Gn&&(ni&8&&vi&8?_n(e.Diagnostics.Types_have_separate_declarations_of_a_private_property_0,Wa($t)):_n(e.Diagnostics.Property_0_is_private_in_type_1_but_not_in_type_2,Wa($t),gn(ni&8?Kr:st),gn(ni&8?st:Kr))),0}else if(vi&16){if(!AR(kt,$t))return Gn&&_n(e.Diagnostics.Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2,Wa($t),gn(U_(kt)||Kr),gn(U_($t)||st)),0}else if(ni&16)return Gn&&_n(e.Diagnostics.Property_0_is_protected_in_type_1_but_public_in_type_2,Wa($t),gn(Kr),gn(st)),0;var ai=Vo(kt,$t,ea,Gn,Tn);return ai?!zt&&kt.flags&16777216&&!($t.flags&16777216)?(Gn&&_n(e.Diagnostics.Property_0_is_optional_in_type_1_but_required_in_type_2,Wa($t),gn(Kr),gn(st)),0):ai:(Gn&&Wt(e.Diagnostics.Types_of_property_0_are_incompatible,Wa($t)),0)}function Ds(Kr,st,kt,$t){var ea=!1;if(kt.valueDeclaration&&e.isNamedDeclaration(kt.valueDeclaration)&&e.isPrivateIdentifier(kt.valueDeclaration.name)&&Kr.symbol&&Kr.symbol.flags&32){var Gn=kt.valueDeclaration.name.escapedText,Tn=e.getSymbolNameForPrivateIdentifier(Kr.symbol,Gn);if(Tn&&Ii(Kr,Tn)){var zt=e.factory.getDeclarationName(Kr.symbol.valueDeclaration),ni=e.factory.getDeclarationName(st.symbol.valueDeclaration);_n(e.Diagnostics.Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2,Xl(Gn),Xl(zt.escapedText===\"\"?f:zt),Xl(ni.escapedText===\"\"?f:ni));return}}var vi=e.arrayFrom(e1(Kr,st,$t,!1));if((!s||s.code!==e.Diagnostics.Class_0_incorrectly_implements_interface_1.code&&s.code!==e.Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code)&&(ea=!0),vi.length===1){var ai=Wa(kt);_n.apply(void 0,Gt([e.Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2,ai],Rf(Kr,st),!1)),e.length(kt.declarations)&&Ca(e.createDiagnosticForNode(kt.declarations[0],e.Diagnostics._0_is_declared_here,ai)),ea&&G&&Tt++}else Ti(Kr,st,!1)&&(vi.length>5?_n(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,gn(Kr),gn(st),e.map(vi.slice(0,4),function(so){return Wa(so)}).join(\", \"),vi.length-4):_n(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,gn(Kr),gn(st),e.map(vi,function(so){return Wa(so)}).join(\", \")),ea&&G&&Tt++)}function ss(Kr,st,kt,$t,ea){if(i===fi)return Xs(Kr,st,$t);var Gn=-1;if(ki(st)){if(el(Kr)||ki(Kr)){if(!st.target.readonly&&(ag(Kr)||ki(Kr)&&Kr.target.readonly))return 0;var Tn=op(Kr),zt=op(st),ni=ki(Kr)?Kr.target.combinedFlags&4:4,vi=st.target.combinedFlags&4,ai=ki(Kr)?Kr.target.minLength:0,so=st.target.minLength;if(!ni&&Tn<so)return kt&&_n(e.Diagnostics.Source_has_0_element_s_but_target_requires_1,Tn,so),0;if(!vi&&zt<ai)return kt&&_n(e.Diagnostics.Source_has_0_element_s_but_target_allows_only_1,ai,zt),0;if(!vi&&(ni||zt<Tn))return kt&&(ai<so?_n(e.Diagnostics.Target_requires_0_element_s_but_source_may_have_fewer,so):_n(e.Diagnostics.Target_allows_only_0_element_s_but_source_may_have_more,zt)),0;for(var Ui=vo(Kr),ps=vo(st),ls=Math.min(ki(Kr)?jD(Kr.target,11):0,jD(st.target,11)),Xo=Math.min(ki(Kr)?Ay(Kr.target,11):0,vi?Ay(st.target,11):0),eo=!!$t,Ko=0;Ko<zt;Ko++){var $o=Ko<zt-Xo?Ko:Ko+Tn-zt,ot=ki(Kr)&&(Ko<ls||Ko>=zt-Xo)?Kr.target.elementFlags[$o]:4,ln=st.target.elementFlags[Ko];if(ln&8&&!(ot&8))return kt&&_n(e.Diagnostics.Source_provides_no_match_for_variadic_element_at_position_0_in_target,Ko),0;if(ot&8&&!(ln&12))return kt&&_n(e.Diagnostics.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,$o,Ko),0;if(ln&1&&!(ot&1))return kt&&_n(e.Diagnostics.Source_provides_no_match_for_required_element_at_position_0_in_target,Ko),0;if(!(eo&&((ot&12||ln&12)&&(eo=!1),eo&&($t==null?void 0:$t.has(\"\"+Ko))))){var aa=ki(Kr)?Ko<ls||Ko>=zt-Xo?gm(Ui[$o],!!(ot&ln&2)):By(Kr,ls,Xo)||en:Ui[0],qn=ps[Ko],ra=ot&8&&ln&4?zs(qn):gm(qn,!!(ln&2)),Xa=jn(aa,ra,3,kt,void 0,ea);if(!Xa)return kt&&(zt>1||Tn>1)&&(Ko<ls||Ko>=zt-Xo||Tn-ls-Xo===1?Wt(e.Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,$o,Ko):Wt(e.Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,ls,Tn-Xo-1,Ko)),0;Gn&=Xa}}return Gn}if(st.target.combinedFlags&12)return 0}var ja=(i===ha||i===ri)&&!Gp(Kr)&&!U0(Kr)&&!ki(Kr),pi=r1(Kr,st,ja,!1);if(pi)return kt&&Ds(Kr,st,pi,ja),0;if(Gp(st))for(var Va=0,Ma=ho(Yi(Kr),$t);Va<Ma.length;Va++){var qi=Ma[Va];if(!hd(st,qi.escapedName)){var aa=An(qi);if(!(aa.flags&32768))return kt&&_n(e.Diagnostics.Property_0_does_not_exist_on_type_1,Wa(qi),gn(st)),0}}for(var yo=Yi(st),ns=ki(Kr)&&ki(st),Oo=0,Ao=ho(yo,$t);Oo<Ao.length;Oo++){var Os=Ao[Oo],hl=Os.escapedName;if(!(Os.flags&4194304)&&(!ns||zf(hl)||hl===\"length\")){var qi=Ii(Kr,hl);if(qi&&qi!==Os){var Xa=ao(Kr,st,qi,Os,Gf,kt,ea,i===Ya);if(!Xa)return 0;Gn&=Xa}}}return Gn}function Xs(Kr,st,kt){if(!(Kr.flags&524288&&st.flags&524288))return 0;var $t=ho(sf(Kr),kt),ea=ho(sf(st),kt);if($t.length!==ea.length)return 0;for(var Gn=-1,Tn=0,zt=$t;Tn<zt.length;Tn++){var ni=zt[Tn],vi=hd(st,ni.escapedName);if(!vi)return 0;var ai=F0(ni,vi,jn);if(!ai)return 0;Gn&=ai}return Gn}function bs(Kr,st,kt,$t){var ea,Gn;if(i===fi)return Av(Kr,st,kt);if(st===yi||Kr===yi)return-1;var Tn=Kr.symbol&&ou(Kr.symbol.valueDeclaration),zt=st.symbol&&ou(st.symbol.valueDeclaration),ni=Ni(Kr,Tn&&kt===1?0:kt),vi=Ni(st,zt&&kt===1?0:kt);if(kt===1&&ni.length&&vi.length){var ai=!!(ni[0].flags&4),so=!!(vi[0].flags&4);if(ai&&!so)return $t&&_n(e.Diagnostics.Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type),0;if(!Bs(ni[0],vi[0],$t))return 0}var Ui=-1,ps=xo(),ls=kt===1?Ls:Yf,Xo=e.getObjectFlags(Kr),eo=e.getObjectFlags(st);if(Xo&64&&eo&64&&Kr.symbol===st.symbol)for(var Ko=0;Ko<vi.length;Ko++){var $o=Ad(ni[Ko],vi[Ko],!0,$t,ls(ni[Ko],vi[Ko]));if(!$o)return 0;Ui&=$o}else if(ni.length===1&&vi.length===1){var ot=i===Ya||!!Xe.noStrictGenericChecks,ln=e.first(ni),aa=e.first(vi);if(Ui=Ad(ln,aa,ot,$t,ls(ln,aa)),!Ui&&$t&&kt===1&&Xo&eo&&(((ea=aa.declaration)===null||ea===void 0?void 0:ea.kind)===170||((Gn=ln.declaration)===null||Gn===void 0?void 0:Gn.kind)===170)){var qn=function(yo){return pu(yo,void 0,262144,kt)};return _n(e.Diagnostics.Type_0_is_not_assignable_to_type_1,qn(ln),qn(aa)),_n(e.Diagnostics.Types_of_construct_signatures_are_incompatible),Ui}}else{e:for(var ra=0,Xa=vi;ra<Xa.length;ra++){for(var ja=Xa[ra],pi=$t,Va=0,Ma=ni;Va<Ma.length;Va++){var qi=Ma[Va],$o=Ad(qi,ja,!0,pi,ls(qi,ja));if($o){Ui&=$o,Ai(ps);continue e}pi=!1}return pi&&_n(e.Diagnostics.Type_0_provides_no_match_for_the_signature_1,gn(Kr),pu(ja,void 0,void 0,kt)),0}}return Ui}function Yf(Kr,st){return Kr.parameters.length===0&&st.parameters.length===0?function(kt,$t){return Wt(e.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,gn(kt),gn($t))}:function(kt,$t){return Wt(e.Diagnostics.Call_signature_return_types_0_and_1_are_incompatible,gn(kt),gn($t))}}function Ls(Kr,st){return Kr.parameters.length===0&&st.parameters.length===0?function(kt,$t){return Wt(e.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,gn(kt),gn($t))}:function(kt,$t){return Wt(e.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible,gn(kt),gn($t))}}function Ad(Kr,st,kt,$t,ea){return x0(kt?Jg(Kr):Kr,kt?Jg(st):st,i===ri?8:0,$t,_n,ea,Pi,p_(qa))}function Av(Kr,st,kt){var $t=Ni(Kr,kt),ea=Ni(st,kt);if($t.length!==ea.length)return 0;for(var Gn=-1,Tn=0;Tn<$t.length;Tn++){var zt=_h($t[Tn],ea[Tn],!1,!1,!1,jn);if(!zt)return 0;Gn&=zt}return Gn}function Cv(Kr,st,kt){for(var $t=-1,ea=st.keyType,Gn=Kr.flags&2097152?Hm(Kr):sf(Kr),Tn=0,zt=Gn;Tn<zt.length;Tn++){var ni=zt[Tn];if(!NL(Kr,ni)&&u_(eg(ni,8576),ea)){var vi=Gf(ni),ai=de||vi.flags&32768||ea===wt||!(ni.flags&16777216)?vi:Fs(vi,524288),so=jn(ai,st.type,3,kt);if(!so)return kt&&_n(e.Diagnostics.Property_0_is_incompatible_with_index_signature,Wa(ni)),0;$t&=so}}for(var Ui=0,ps=Ps(Kr);Ui<ps.length;Ui++){var ls=ps[Ui];if(u_(ls.keyType,ea)){var so=Pa(ls,st,kt);if(!so)return 0;$t&=so}}return $t}function Pa(Kr,st,kt){var $t=jn(Kr.type,st.type,3,kt);return!$t&&kt&&(Kr.keyType===st.keyType?_n(e.Diagnostics._0_index_signatures_are_incompatible,gn(Kr.keyType)):_n(e.Diagnostics._0_and_1_index_signatures_are_incompatible,gn(Kr.keyType),gn(st.keyType))),$t}function Ri(Kr,st,kt,$t,ea){if(i===fi)return uo(Kr,st);for(var Gn=Ps(st),Tn=e.some(Gn,function(Ui){return Ui.keyType===xt}),zt=-1,ni=0,vi=Gn;ni<vi.length;ni++){var ai=vi[ni],so=!kt&&Tn&&ai.type.flags&1?-1:El(Kr)&&Tn?jn(yu(Kr),ai.type,3,$t):qo(Kr,ai,$t,ea);if(!so)return 0;zt&=so}return zt}function qo(Kr,st,kt,$t){var ea=zm(Kr,st.keyType);return ea?Pa(ea,st,kt):!($t&1)&&jy(Kr)?Cv(Kr,st,kt):(kt&&_n(e.Diagnostics.Index_signature_for_type_0_is_missing_in_type_1,gn(st.keyType),gn(Kr)),0)}function uo(Kr,st){var kt=Ps(Kr),$t=Ps(st);if(kt.length!==$t.length)return 0;for(var ea=0,Gn=$t;ea<Gn.length;ea++){var Tn=Gn[ea],zt=oc(Kr,Tn.keyType);if(!(zt&&jn(zt.type,Tn.type,3)&&zt.isReadonly===Tn.isReadonly))return 0}return-1}function Bs(Kr,st,kt){if(!Kr.declaration||!st.declaration)return!0;var $t=e.getSelectedEffectiveModifierFlags(Kr.declaration,24),ea=e.getSelectedEffectiveModifierFlags(st.declaration,24);return ea===8||ea===16&&$t!==8||ea!==16&&!$t?!0:(kt&&_n(e.Diagnostics.Cannot_assign_a_0_constructor_type_to_a_1_constructor_type,pd($t),pd(ea)),!1)}}function O0(r){if(r.flags&16)return!1;if(r.flags&3145728)return!!e.forEach(r.types,O0);if(r.flags&465829888){var t=kp(r);if(t&&t!==r)return O0(t)}return Su(r)||!!(r.flags&134217728)}function kL(r,t){return ki(r)&&ki(t)?e.emptyArray:Yi(t).filter(function(i){return R0(ia(r,i.escapedName),An(i))})}function R0(r,t){return!!r&&!!t&&Jo(r,32768)&&!!Wy(t)}function hR(r){return Yi(r).filter(function(t){return Wy(An(t))})}function OL(r,t,i){return i===void 0&&(i=A0),II(r,t,i,!0)||NF(r,t)||kF(r,t)||OF(r,t)||RF(r,t)}function w0(r,t,i,o,s){for(var c=r.types.map(function(Vt){}),L=0,G=t;L<G.length;L++){var ce=G[L],we=ce[0],Ue=ce[1],Je=hs(r,Ue);if(!(s&&Je&&e.getCheckFlags(Je)&16))for(var ar=0,_r=0,Gr=r.types;_r<Gr.length;_r++){var Zr=Gr[_r],Et=ia(Zr,Ue);Et&&i(we(),Et)?c[ar]=c[ar]===void 0?!0:c[ar]:c[ar]=!1,ar++}}var Tt=c.indexOf(!0);if(Tt===-1)return o;for(var At=c.indexOf(!0,Tt+1);At!==-1;){if(!jf(r.types[Tt],r.types[At]))return o;At=c.indexOf(!0,At+1)}return r.types[Tt]}function RL(r){if(r.flags&524288){var t=Sc(r);return t.callSignatures.length===0&&t.constructSignatures.length===0&&t.indexInfos.length===0&&t.properties.length>0&&e.every(t.properties,function(i){return!!(i.flags&16777216)})}return r.flags&2097152?e.every(r.types,RL):!1}function yR(r,t,i){for(var o=0,s=Yi(r);o<s.length;o++){var c=s[o];if(x1(t,c.escapedName,i))return!0}return!1}function bR(r,t,i){var o=Uf(r,e.map(r.typeParameters,function(s){return s===t?i:s}));return o.objectFlags|=4096,o}function wL(r){var t=Ja(r);return ML(t.typeParameters,t,function(i,o,s){var c=Zm(r,bd(t.typeParameters,B_(o,s)));return c.aliasTypeArgumentsContainsMarker=!0,c})}function ML(r,t,i){var o,s,c;r===void 0&&(r=e.emptyArray);var L=t.variances;if(!L){e.tracing===null||e.tracing===void 0||e.tracing.push(\"checkTypes\",\"getVariancesWorker\",{arity:r.length,id:(c=(o=t.id)!==null&&o!==void 0?o:(s=t.declaredType)===null||s===void 0?void 0:s.id)!==null&&c!==void 0?c:-1}),t.variances=e.emptyArray,L=[];for(var G=function(Je){var ar=!1,_r=!1,Gr=yn;yn=function(At){return At?_r=!0:ar=!0};var Zr=i(t,Je,io),Et=i(t,Je,ji),Tt=(Qi(Et,Zr)?1:0)|(Qi(Zr,Et)?2:0);Tt===3&&Qi(i(t,Je,Hi),Zr)&&(Tt=4),yn=Gr,(ar||_r)&&(ar&&(Tt|=8),_r&&(Tt|=16)),L.push(Tt)},ce=0,we=r;ce<we.length;ce++){var Ue=we[ce];G(Ue)}t.variances=L,e.tracing===null||e.tracing===void 0||e.tracing.pop()}return L}function M0(r){return r===se||r===Be||r.objectFlags&8?qe:ML(r.typeParameters,r,bR)}function ER(r,t){for(var i=0;i<t.length;i++)if((t[i]&7)===1&&r[i].flags&16384)return!0;return!1}function TR(r){return r.flags&262144&&!Nl(r)}function SR(r){return!!(e.getObjectFlags(r)&4)&&!r.node}function Py(r){return SR(r)&&e.some(vo(r),function(t){return!!(t.flags&262144)||Py(t)})}function DR(r,t,i,o){var s=[],c=\"\",L=ce(r,0),G=ce(t,0);return\"\".concat(c).concat(L,\",\").concat(G).concat(i);function ce(we,Ue){Ue===void 0&&(Ue=0);for(var Je=\"\"+we.target.id,ar=0,_r=vo(we);ar<_r.length;ar++){var Gr=_r[ar];if(Gr.flags&262144){if(o||TR(Gr)){var Zr=s.indexOf(Gr);Zr<0&&(Zr=s.length,s.push(Gr)),Je+=\"=\"+Zr;continue}c=\"*\"}else if(Ue<4&&Py(Gr)){Je+=\"<\"+ce(Gr,Ue+1)+\">\";continue}Je+=\"-\"+Gr.id}return Je}}function P0(r,t,i,o,s){if(o===fi&&r.id>t.id){var c=r;r=t,t=c}var L=i?\":\"+i:\"\";return Py(r)&&Py(t)?DR(r,t,L,s):\"\".concat(r.id,\",\").concat(t.id).concat(L)}function fh(r,t){if(e.getCheckFlags(r)&6){for(var i=0,o=r.containingType.types;i<o.length;i++){var s=o[i],c=Ii(s,r.escapedName),L=c&&fh(c,t);if(L)return L}return}return t(r)}function U_(r){return r.parent&&r.parent.flags&32?po(Ts(r)):void 0}function Fy(r){var t=U_(r),i=t&&xl(t)[0];return i&&ia(i,r.escapedName)}function LR(r,t){return fh(r,function(i){var o=U_(i);return o?Cp(o,t):!1})}function AR(r,t){return!fh(t,function(i){return e.getDeclarationModifierFlagsFromSymbol(i)&16?!LR(r,U_(i)):!1})}function CR(r,t,i){return fh(t,function(o){return e.getDeclarationModifierFlagsFromSymbol(o,i)&16?!Cp(r,U_(o)):!1})?void 0:r}function dh(r,t,i,o){if(o===void 0&&(o=3),i>=o)for(var s=ph(r),c=0,L=0,G=0;G<i;G++){var ce=t[G];if(ph(ce)===s){if(ce.id>=L&&(c++,c>=o))return!0;L=ce.id}}return!1}function ph(r){if(r.flags&524288&&!t1(r)){if(e.getObjectFlags(r)&&4&&r.node)return r.node;if(r.symbol&&!(e.getObjectFlags(r)&16&&r.symbol.flags&32))return r.symbol;if(ki(r))return r.target}if(r.flags&262144)return r.symbol;if(r.flags&8388608){do r=r.objectType;while(r.flags&8388608);return r}return r.flags&16777216?r.root:r}function PL(r,t){return F0(r,t,$g)!==0}function F0(r,t,i){if(r===t)return-1;var o=e.getDeclarationModifierFlagsFromSymbol(r)&24,s=e.getDeclarationModifierFlagsFromSymbol(t)&24;if(o!==s)return 0;if(o){if(Am(r)!==Am(t))return 0}else if((r.flags&16777216)!==(t.flags&16777216))return 0;return Iu(r)!==Iu(t)?0:i(An(r),An(t))}function xR(r,t,i){var o=Tl(r),s=Tl(t),c=Cu(r),L=Cu(t),G=xu(r),ce=xu(t);return!!(o===s&&c===L&&G===ce||i&&c<=L)}function _h(r,t,i,o,s,c){if(r===t)return-1;if(!xR(r,t,i)||e.length(r.typeParameters)!==e.length(t.typeParameters))return 0;if(t.typeParameters){for(var L=Ol(r.typeParameters,t.typeParameters),G=0;G<t.typeParameters.length;G++){var ce=r.typeParameters[G],we=t.typeParameters[G];if(!(ce===we||c(oi(Qm(ce),L)||tr,Qm(we)||tr)&&c(oi(Bn(ce),L)||tr,Bn(we)||tr)))return 0}r=pm(r,L,!0)}var Ue=-1;if(!o){var Je=f_(r);if(Je){var ar=f_(t);if(ar){var _r=c(Je,ar);if(!_r)return 0;Ue&=_r}}}for(var Gr=Tl(t),G=0;G<Gr;G++){var ce=Uc(r,G),we=Uc(t,G),_r=c(we,ce);if(!_r)return 0;Ue&=_r}if(!s){var Zr=Dc(r),Et=Dc(t);Ue&=Zr||Et?IR(Zr,Et,c):c(_o(r),_o(t))}return Ue}function IR(r,t,i){return r&&t&&s0(r,t)?r.type===t.type?-1:r.type&&t.type?i(r.type,t.type):0:0}function NR(r){for(var t,i=0,o=r;i<o.length;i++){var s=o[i],c=Du(s);if(t||(t=c),c===s||c!==t)return!1}return!0}function FL(r){return r.length===1?r[0]:NR(r)?ma(r):e.reduceLeft(r,function(t,i){return Ed(t,i)?i:t})}function kR(r){if(!br)return FL(r);var t=e.filter(r,function(i){return!(i.flags&98304)});return t.length?Uy(FL(t),jL(r)&98304):ma(r,2)}function OR(r){return e.reduceLeft(r,function(t,i){return Ed(i,t)?i:t})}function el(r){return!!(e.getObjectFlags(r)&4)&&(r.target===se||r.target===Be)}function ag(r){return!!(e.getObjectFlags(r)&4)&&r.target===Be}function Gy(r){return el(r)&&!ag(r)||ki(r)&&!r.target.readonly}function G0(r){return el(r)?vo(r)[0]:void 0}function _p(r){return el(r)||!(r.flags&98304)&&Qi(r,xa)}function B0(r){if(!(!(e.getObjectFlags(r)&4)||!(e.getObjectFlags(r.target)&3))){if(e.getObjectFlags(r)&33554432)return e.getObjectFlags(r)&67108864?r.cachedEquivalentBaseType:void 0;r.objectFlags|=33554432;var t=r.target;if(e.getObjectFlags(t)&1){var i=o_(t);if(i&&i.expression.kind!==79&&i.expression.kind!==205)return}var o=xl(t);if(o.length===1&&!af(r.symbol).size){var s=e.length(t.typeParameters)?oi(o[0],Ol(t.typeParameters,vo(r).slice(0,t.typeParameters.length))):o[0];return e.length(vo(r))>e.length(t.typeParameters)&&(s=Il(s,e.last(vo(r)))),r.objectFlags|=67108864,r.cachedEquivalentBaseType=s}}}function GL(r){return br?r===qt:r===zr}function U0(r){var t=G0(r);return!!t&&GL(t)}function ig(r){return ki(r)||!!Ii(r,\"0\")}function BL(r){return _p(r)||ig(r)}function RR(r,t){var i=ia(r,\"\"+t);if(i)return i;if(Kf(r,ki))return ds(r,function(o){return rv(o)||Nr})}function wR(r){return!(r.flags&240512)}function Su(r){return!!(r.flags&109440)}function UL(r){return r.flags&2097152?e.some(r.types,Su):!!(r.flags&109440)}function MR(r){return r.flags&2097152&&e.find(r.types,Su)||r}function mm(r){return r.flags&16?!0:r.flags&1048576?r.flags&1024?!0:e.every(r.types,Su):Su(r)}function Du(r){return r.flags&1024?Zs(r):r.flags&128?xt:r.flags&256?wt:r.flags&2048?Qt:r.flags&512?Jn:r.flags&1048576?ds(r,Du):r}function Pp(r){return r.flags&1024&&Mp(r)?Zs(r):r.flags&128&&Mp(r)?xt:r.flags&256&&Mp(r)?wt:r.flags&2048&&Mp(r)?Qt:r.flags&512&&Mp(r)?Jn:r.flags&1048576?ds(r,Pp):r}function VL(r){return r.flags&8192?na:r.flags&1048576?ds(r,VL):r}function V0(r,t){return Cb(r,t)||(r=VL(Pp(r))),r}function PR(r,t,i){if(r&&Su(r)){var o=t?i?hv(t):t:void 0;r=V0(r,o)}return r}function W0(r,t,i,o){if(r&&Su(r)){var s=t?Lm(i,t,o):void 0;r=V0(r,s)}return r}function ki(r){return!!(e.getObjectFlags(r)&4&&r.target.objectFlags&8)}function og(r){return ki(r)&&!!(r.target.combinedFlags&8)}function WL(r){return og(r)&&r.target.elementFlags.length===1}function rv(r){return By(r,r.target.fixedLength)}function FR(r){var t=rv(r);return t&&zs(t)}function By(r,t,i,o){i===void 0&&(i=0),o===void 0&&(o=!1);var s=op(r)-i;if(t<s){for(var c=vo(r),L=[],G=t;G<s;G++){var ce=c[G];L.push(r.target.elementFlags[G]&8?Hl(ce,wt):ce)}return o?To(L):ma(L)}}function GR(r,t){return op(r)===op(t)&&e.every(r.target.elementFlags,function(i,o){return(i&12)===(t.target.elementFlags[o]&12)})}function j0(r){var t=r.value;return t.base10Value===\"0\"}function jL(r){for(var t=0,i=0,o=r;i<o.length;i++){var s=o[i];t|=lc(s)}return t}function lc(r){return r.flags&1048576?jL(r.types):r.flags&128?r.value===\"\"?128:0:r.flags&256?r.value===0?256:0:r.flags&2048?j0(r)?2048:0:r.flags&512?r===mt||r===rn?512:0:r.flags&117724}function HL(r){return lc(r)&117632?rl(r,function(t){return!(lc(t)&117632)}):r}function BR(r){return ds(r,UR)}function UR(r){return r.flags&4?Vs:r.flags&8?Ql:r.flags&64?zl:r===rn||r===mt||r.flags&114691||r.flags&128&&r.value===\"\"||r.flags&256&&r.value===0||r.flags&2048&&j0(r)?r:en}function Uy(r,t){var i=t&~r.flags&98304;return i===0?r:ma(i===32768?[r,Nr]:i===65536?[r,ut]:[r,Nr,ut])}function Jf(r,t){return t===void 0&&(t=!1),e.Debug.assert(br),r.flags&32768?r:ma([r,t?vt:Nr])}function VR(r){var t=Fs(r,2097152);return Di||(Di=Kg(\"NonNullable\",524288,void 0)||We),Di!==We?Zm(Di,[t]):t}function Td(r){return br?VR(r):r}function JL(r){return br?ma([r,gt]):r}function H0(r){return br?Zy(r,gt):r}function Vy(r,t,i){return i?e.isOutermostOptionalChain(t)?Jf(r):JL(r):r}function tv(r,t){return e.isExpressionOfOptionalChainRoot(t)?Td(r):e.isOptionalChain(t)?H0(r):r}function gm(r,t){return de&&t?Zy(r,vt):r}function Wy(r){return de&&(r===vt||r.flags&1048576&&sp(r.types,vt))}function J0(r){return de?Zy(r,vt):Fs(r,524288)}function WR(r,t){return(r.flags&524)!==0&&(t.flags&28)!==0}function jy(r){return r.flags&2097152?e.every(r.types,jy):!!(r.symbol&&(r.symbol.flags&7040)!==0&&!LT(r))||!!(e.getObjectFlags(r)&1024&&jy(r.source))}function V_(r,t){var i=fo(r.flags,r.escapedName,e.getCheckFlags(r)&8);i.declarations=r.declarations,i.parent=r.parent,i.type=t,i.target=r,r.valueDeclaration&&(i.valueDeclaration=r.valueDeclaration);var o=Ja(r).nameType;return o&&(i.nameType=o),i}function jR(r,t){for(var i=e.createSymbolTable(),o=0,s=sf(r);o<s.length;o++){var c=s[o],L=An(c),G=t(L);i.set(c.escapedName,G===L?c:V_(c,G))}return i}function sg(r){if(!(Gp(r)&&e.getObjectFlags(r)&16384))return r;var t=r.regularType;if(t)return t;var i=r,o=jR(r,sg),s=ts(i.symbol,o,i.callSignatures,i.constructSignatures,i.indexInfos);return s.flags=i.flags,s.objectFlags|=i.objectFlags&-16385,r.regularType=s,s}function KL(r,t,i){return{parent:r,propertyName:t,siblings:i,resolvedProperties:void 0}}function zL(r){if(!r.siblings){for(var t=[],i=0,o=zL(r.parent);i<o.length;i++){var s=o[i];if(Gp(s)){var c=hd(s,r.propertyName);c&&v_(An(c),function(L){t.push(L)})}}r.siblings=t}return r.siblings}function HR(r){if(!r.resolvedProperties){for(var t=new e.Map,i=0,o=zL(r);i<o.length;i++){var s=o[i];if(Gp(s)&&!(e.getObjectFlags(s)&4194304))for(var c=0,L=Yi(s);c<L.length;c++){var G=L[c];t.set(G.escapedName,G)}}r.resolvedProperties=e.arrayFrom(t.values())}return r.resolvedProperties}function JR(r,t){if(!(r.flags&4))return r;var i=An(r),o=t&&KL(t,r.escapedName,void 0),s=K0(i,o);return s===i?r:V_(r,s)}function KR(r){var t=Ee.get(r.escapedName);if(t)return t;var i=V_(r,vt);return i.flags|=16777216,Ee.set(r.escapedName,i),i}function zR(r,t){for(var i=e.createSymbolTable(),o=0,s=sf(r);o<s.length;o++){var c=s[o];i.set(c.escapedName,JR(c,t))}if(t)for(var L=0,G=HR(t);L<G.length;L++){var c=G[L];i.has(c.escapedName)||i.set(c.escapedName,KR(c))}var ce=ts(r.symbol,i,e.emptyArray,e.emptyArray,e.sameMap(Ps(r),function(we){return Eu(we.keyType,wl(we.type),we.isReadonly)}));return ce.objectFlags|=e.getObjectFlags(r)&532480,ce}function wl(r){return K0(r,void 0)}function K0(r,t){if(e.getObjectFlags(r)&393216){if(t===void 0&&r.widened)return r.widened;var i=void 0;if(r.flags&98305)i=Ze;else if(Gp(r))i=zR(r,t);else if(r.flags&1048576){var o=t||KL(void 0,void 0,r.types),s=e.sameMap(r.types,function(c){return c.flags&98304?c:K0(c,o)});i=ma(s,e.some(s,cf)?2:1)}else r.flags&2097152?i=To(e.sameMap(r.types,wl)):(el(r)||ki(r))&&(i=Uf(r.target,e.sameMap(vo(r),wl)));return i&&t===void 0&&(r.widened=i),i||r}return r}function Hy(r){var t=!1;if(e.getObjectFlags(r)&131072){if(r.flags&1048576)if(e.some(r.types,cf))t=!0;else for(var i=0,o=r.types;i<o.length;i++){var s=o[i];Hy(s)&&(t=!0)}if(el(r)||ki(r))for(var c=0,L=vo(r);c<L.length;c++){var s=L[c];Hy(s)&&(t=!0)}if(Gp(r))for(var G=0,ce=sf(r);G<ce.length;G++){var we=ce[G],s=An(we);e.getObjectFlags(s)&131072&&(Hy(s)||Mr(we.valueDeclaration,e.Diagnostics.Object_literal_s_property_0_implicitly_has_an_1_type,Wa(we),gn(wl(s))),t=!0)}}return t}function Fp(r,t,i){var o=gn(wl(t));if(!(e.isInJSFile(r)&&!e.isCheckJsEnabledForFile(e.getSourceFileOfNode(r),Xe))){var s;switch(r.kind){case 220:case 166:case 165:s=Ke?e.Diagnostics.Member_0_implicitly_has_an_1_type:e.Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 163:var c=r;if(e.isIdentifier(c.name)&&(e.isCallSignatureDeclaration(c.parent)||e.isMethodSignature(c.parent)||e.isFunctionTypeNode(c.parent))&&c.parent.parameters.indexOf(c)>-1&&(Uo(c,c.name.escapedText,788968,void 0,c.name.escapedText,!0)||c.name.originalKeywordKind&&e.isTypeNodeKind(c.name.originalKeywordKind))){var L=\"arg\"+c.parent.parameters.indexOf(c),G=e.declarationNameToString(c.name)+(c.dotDotDotToken?\"[]\":\"\");pc(Ke,r,e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,L,G);return}s=r.dotDotDotToken?Ke?e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type:e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:Ke?e.Diagnostics.Parameter_0_implicitly_has_an_1_type:e.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 202:if(s=e.Diagnostics.Binding_element_0_implicitly_has_an_1_type,!Ke)return;break;case 315:Mr(r,e.Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,o);return;case 255:case 168:case 167:case 171:case 172:case 212:case 213:if(Ke&&!r.name){i===3?Mr(r,e.Diagnostics.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation,o):Mr(r,e.Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,o);return}s=Ke?i===3?e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:e.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage;break;case 194:Ke&&Mr(r,e.Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type);return;default:s=Ke?e.Diagnostics.Variable_0_implicitly_has_an_1_type:e.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}pc(Ke,r,s,e.declarationNameToString(e.getNameOfDeclaration(r)),o)}}function Jy(r,t,i){Se&&Ke&&e.getObjectFlags(t)&131072&&(!i||!T1(r))&&(Hy(t)||Fp(r,t,i))}function z0(r,t,i){var o=Tl(r),s=Tl(t),c=dv(r),L=dv(t),G=L?s-1:s,ce=c?G:Math.min(o,G),we=f_(r);if(we){var Ue=f_(t);Ue&&i(we,Ue)}for(var Je=0;Je<ce;Je++)i(Uc(r,Je),Uc(t,Je));L&&i(gg(r,ce),L)}function q0(r,t,i){var o=Dc(r),s=Dc(t);o&&s&&s0(o,s)&&o.type&&s.type?i(o.type,s.type):i(_o(r),_o(t))}function nv(r,t,i,o){return X0(r.map(Y0),t,i,o||A0)}function qR(r,t){return t===void 0&&(t=0),r&&X0(e.map(r.inferences,XL),r.signature,r.flags|t,r.compareTypes)}function X0(r,t,i,o){var s={inferences:r,signature:t,flags:i,compareTypes:o,mapper:p_(function(c){return qL(s,c,!0)}),nonFixingMapper:p_(function(c){return qL(s,c,!1)})};return s}function qL(r,t,i){for(var o=r.inferences,s=0;s<o.length;s++){var c=o[s];if(t===c.typeParameter)return i&&!c.isFixed&&(Ky(o),c.isFixed=!0),nA(r,s)}return t}function Ky(r){for(var t=0,i=r;t<i.length;t++){var o=i[t];o.isFixed||(o.inferredType=void 0)}}function Y0(r){return{typeParameter:r,candidates:void 0,contraCandidates:void 0,inferredType:void 0,priority:void 0,topLevel:!0,isFixed:!1,impliedArity:void 0}}function XL(r){return{typeParameter:r.typeParameter,candidates:r.candidates&&r.candidates.slice(),contraCandidates:r.contraCandidates&&r.contraCandidates.slice(),inferredType:r.inferredType,priority:r.priority,topLevel:r.topLevel,isFixed:r.isFixed,impliedArity:r.impliedArity}}function XR(r){var t=e.filter(r.inferences,H_);return t.length?X0(e.map(t,XL),r.signature,r.flags,r.compareTypes):void 0}function Q0(r){return r&&r.mapper}function av(r){var t=e.getObjectFlags(r);if(t&1048576)return!!(t&2097152);var i=!!(r.flags&465829888||r.flags&524288&&!YL(r)&&(t&4&&(r.node||e.forEach(vo(r),av))||t&16&&r.symbol&&r.symbol.flags&14384&&r.symbol.declarations||t&8389664)||r.flags&3145728&&!(r.flags&1024)&&!YL(r)&&e.some(r.types,av));return r.flags&3899393&&(r.objectFlags|=1048576|(i?2097152:0)),i}function YL(r){if(r.aliasSymbol&&!r.aliasTypeArguments){var t=e.getDeclarationOfKind(r.aliasSymbol,258);return!!(t&&e.findAncestor(t.parent,function(i){return i.kind===303?!0:i.kind===260?!1:\"quit\"}))}return!1}function Z0(r,t){return!!(r===t||r.flags&3145728&&e.some(r.types,function(i){return Z0(i,t)})||r.flags&16777216&&(up(r)===t||fp(r)===t))}function YR(r){var t=e.createSymbolTable();v_(r,function(o){if(!!(o.flags&128)){var s=e.escapeLeadingUnderscores(o.value),c=fo(4,s);c.type=Ze,o.symbol&&(c.declarations=o.symbol.declarations,c.valueDeclaration=o.symbol.valueDeclaration),t.set(s,c)}});var i=r.flags&4?[Eu(xt,Qn,!1)]:e.emptyArray;return ts(void 0,t,e.emptyArray,e.emptyArray,i)}function QL(r,t,i){if(!Cs){var o=r.id+\",\"+t.id+\",\"+i.id;if(Es.has(o))return Es.get(o);Cs=!0;var s=QR(r,t,i);return Cs=!1,Es.set(o,s),s}}function $0(r){return!(e.getObjectFlags(r)&524288)||Gp(r)&&e.some(Yi(r),function(t){return $0(An(t))})||ki(r)&&e.some(vo(r),$0)}function QR(r,t,i){if(!!(oc(r,xt)||Yi(r).length!==0&&$0(r))){if(el(r))return zs(zy(vo(r)[0],t,i),ag(r));if(ki(r)){var o=e.map(vo(r),function(L){return zy(L,t,i)}),s=ru(t)&4?e.sameMap(r.target.elementFlags,function(L){return L&2?1:L}):r.target.elementFlags;return Tu(o,s,r.target.readonly,r.target.labeledElementDeclarations)}var c=Bl(1040,void 0);return c.source=r,c.mappedType=t,c.constraintType=i,c}}function ZR(r){var t=Ja(r);return t.type||(t.type=zy(r.propertyType,r.mappedType,r.constraintType)),t.type}function zy(r,t,i){var o=Hl(i.type,eu(t)),s=yu(t),c=Y0(o);return uf([c],r,s),ZL(c)||tr}function e1(r,t,i,o){var s,c,L,G,ce,we,Ue;return Og(this,function(Je){switch(Je.label){case 0:s=Yi(t),c=0,L=s,Je.label=1;case 1:return c<L.length?(G=L[c],Gv(G)?[3,5]:i||!(G.flags&16777216||e.getCheckFlags(G)&48)?(ce=Ii(r,G.escapedName),ce?[3,3]:[4,G]):[3,5]):[3,6];case 2:return Je.sent(),[3,5];case 3:return o?(we=An(G),we.flags&109440?(Ue=An(ce),Ue.flags&1||kl(Ue)===kl(we)?[3,5]:[4,G]):[3,5]):[3,5];case 4:Je.sent(),Je.label=5;case 5:return c++,[3,1];case 6:return[2]}})}function r1(r,t,i,o){var s=e1(r,t,i,o).next();if(!s.done)return s.value}function $R(r,t){return!(t.target.combinedFlags&8)&&t.target.minLength>r.target.minLength||!t.target.hasRestElement&&(r.target.hasRestElement||t.target.fixedLength<r.target.fixedLength)}function ew(r,t){return ki(r)&&ki(t)?$R(r,t):!!r1(r,t,!1,!0)&&!!r1(t,r,!1,!1)}function ZL(r){return r.candidates?ma(r.candidates,2):r.contraCandidates?To(r.contraCandidates):void 0}function rw(r){return!!Zn(r).skipDirectInference}function $L(r){return!!(r.symbol&&e.some(r.symbol.declarations,rw))}function tw(r,t){var i=r.texts[0],o=t.texts[0],s=r.texts[r.texts.length-1],c=t.texts[t.texts.length-1],L=Math.min(i.length,o.length),G=Math.min(s.length,c.length);return i.slice(0,L)!==o.slice(0,L)||s.slice(s.length-G)!==c.slice(c.length-G)}function nw(r){var t=e.createScanner(99,!1),i=!0;t.setOnError(function(){return i=!1}),t.setText(r+\"n\");var o=t.scan();o===40&&(o=t.scan());var s=t.getTokenFlags();return i&&o===9&&t.getTextPos()===r.length+1&&!(s&512)}function aw(r,t){if(r===t||t.flags&5)return!0;if(r.flags&128){var i=r.value;return!!(t.flags&8&&i!==\"\"&&isFinite(+i)||t.flags&64&&i!==\"\"&&nw(i)||t.flags&98816&&i===t.intrinsicName)}if(r.flags&134217728){var o=r.texts;return o.length===2&&o[0]===\"\"&&o[1]===\"\"&&Qi(r.types[0],t)}return Qi(r,t)}function eA(r,t){return r.flags&128?tA([r.value],e.emptyArray,t):r.flags&134217728?e.arraysEqual(r.texts,t.texts)?e.map(r.types,iw):tA(r.texts,r.types,t):void 0}function rA(r,t){var i=eA(r,t);return!!i&&e.every(i,function(o,s){return aw(o,t.types[s])})}function iw(r){return r.flags&402653317?r:rg([\"\",\"\"],[r])}function tA(r,t,i){var o=r.length-1,s=r[0],c=r[o],L=i.texts,G=L.length-1,ce=L[0],we=L[G];if(o===0&&s.length<ce.length+we.length||!s.startsWith(ce)||!c.endsWith(we))return;for(var Ue=c.slice(0,c.length-we.length),Je=[],ar=0,_r=ce.length,Gr=1;Gr<G;Gr++){var Zr=L[Gr];if(Zr.length>0){for(var Et=ar,Tt=_r;Tt=At(Et).indexOf(Zr,Tt),!(Tt>=0);){if(Et++,Et===r.length)return;Tt=0}Vt(Et,Tt),_r+=Zr.length}else if(_r<At(ar).length)Vt(ar,_r+1);else if(ar<o)Vt(ar+1,0);else return}return Vt(o,At(o).length),Je;function At(Nn){return Nn<o?r[Nn]:Ue}function Vt(Nn,on){var ca=Nn===ar?Lc(At(Nn).slice(_r,on)):rg(Gt(Gt([r[ar].slice(_r)],r.slice(ar+1,Nn),!0),[At(Nn).slice(0,on)],!1),t.slice(ar,Nn));Je.push(ca),ar=Nn,_r=on}}function uf(r,t,i,o,s){o===void 0&&(o=0),s===void 0&&(s=!1);var c=!1,L,G=2048,ce=!0,we,Ue,Je,ar=0;_r(t,i);function _r(Wt,Ft){if(!!av(Ft)){if(Wt===fr){var _n=L;L=Wt,_r(Ft,Ft),L=_n;return}if(Wt.aliasSymbol&&Wt.aliasTypeArguments&&Wt.aliasSymbol===Ft.aliasSymbol){Tt(Wt.aliasTypeArguments,Ft.aliasTypeArguments,wL(Wt.aliasSymbol));return}if(Wt===Ft&&Wt.flags&3145728){for(var Ca=0,Yn=Wt.types;Ca<Yn.length;Ca++){var Ba=Yn[Ca];_r(Ba,Ba)}return}if(Ft.flags&1048576){var Ti=Et(Wt.flags&1048576?Wt.types:[Wt],Ft.types,ow),Pi=Ti[0],jn=Ti[1],Fi=Et(Pi,jn,sw),Wr=Fi[0],Tr=Fi[1];if(Tr.length===0)return;if(Ft=ma(Tr),Wr.length===0){Gr(Wt,Ft,1);return}Wt=ma(Wr)}else if(Ft.flags&2097152&&e.some(Ft.types,function(qa){return!!Vt(qa)||El(qa)&&!!Vt(T0(qa)||en)})){if(!(Wt.flags&1048576)){var hn=Et(Wt.flags&2097152?Wt.types:[Wt],Ft.types,jf),Wr=hn[0],Tr=hn[1];if(Wr.length===0||Tr.length===0)return;Wt=To(Wr),Ft=To(Tr)}}else Ft.flags&41943040&&(Ft=d_(Ft));if(Ft.flags&8650752){if(e.getObjectFlags(Wt)&524288||Wt===yt||Wt===St||o&128&&(Wt===Cr||Wt===ta)||$L(Wt))return;var nn=Vt(Ft);if(nn){if(!nn.isFixed){if((nn.priority===void 0||o<nn.priority)&&(nn.candidates=void 0,nn.contraCandidates=void 0,nn.topLevel=!0,nn.priority=o),o===nn.priority){var Vn=L||Wt;s&&!c?e.contains(nn.contraCandidates,Vn)||(nn.contraCandidates=e.append(nn.contraCandidates,Vn),Ky(r)):e.contains(nn.candidates,Vn)||(nn.candidates=e.append(nn.candidates,Vn),Ky(r))}!(o&128)&&Ft.flags&262144&&nn.topLevel&&!Z0(i,Ft)&&(nn.topLevel=!1,Ky(r))}G=Math.min(G,o);return}else{var En=Vf(Ft,!1);if(En!==Ft)Zr(Wt,En,_r);else if(Ft.flags&8388608){var Fn=Vf(Ft.indexType,!1);if(Fn.flags&465829888){var Xr=tL(Vf(Ft.objectType,!1),Fn,!1);Xr&&Xr!==Ft&&Zr(Wt,Xr,_r)}}}}if(e.getObjectFlags(Wt)&4&&e.getObjectFlags(Ft)&4&&(Wt.target===Ft.target||el(Wt)&&el(Ft))&&!(Wt.node&&Ft.node))Tt(vo(Wt),vo(Ft),M0(Wt.target));else if(Wt.flags&4194304&&Ft.flags&4194304)s=!s,_r(Wt.type,Ft.type),s=!s;else if((mm(Wt)||Wt.flags&4)&&Ft.flags&4194304){var it=YR(Wt);s=!s,Gr(it,Ft.type,256),s=!s}else if(Wt.flags&8388608&&Ft.flags&8388608)_r(Wt.objectType,Ft.objectType),_r(Wt.indexType,Ft.indexType);else if(Wt.flags&268435456&&Ft.flags&268435456)Wt.symbol===Ft.symbol&&_r(Wt.type,Ft.type);else if(Wt.flags&33554432){_r(Wt.baseType,Ft);var Pt=o;o|=4,_r(Wt.substitute,Ft),o=Pt}else if(Ft.flags&16777216)Zr(Wt,Ft,la);else if(Ft.flags&3145728)on(Wt,Ft.types,Ft.flags);else if(Wt.flags&1048576)for(var Bt=Wt.types,Yt=0,mn=Bt;Yt<mn.length;Yt++){var ya=mn[Yt];_r(ya,Ft)}else if(Ft.flags&134217728)di(Wt,Ft);else{if(Wt=Eo(Wt),!(o&512&&Wt.flags&467927040)){var _a=wi(Wt);if(_a!==Wt&&ce&&!(_a.flags&2621440))return ce=!1,_r(_a,Ft);Wt=_a}Wt.flags&2621440&&Zr(Wt,Ft,Aa)}}}function Gr(Wt,Ft,_n){var Ca=o;o|=_n,_r(Wt,Ft),o=Ca}function Zr(Wt,Ft,_n){var Ca=Wt.id+\",\"+Ft.id,Yn=we&&we.get(Ca);if(Yn!==void 0){G=Math.min(G,Yn);return}(we||(we=new e.Map)).set(Ca,-1);var Ba=G;G=2048;var Ti=ar,Pi=ph(Wt),jn=ph(Ft);e.contains(Ue,Pi)&&(ar|=1),e.contains(Je,jn)&&(ar|=2),ar!==3?((Ue||(Ue=[])).push(Pi),(Je||(Je=[])).push(jn),_n(Wt,Ft),Je.pop(),Ue.pop()):G=-1,ar=Ti,we.set(Ca,G),G=Math.min(G,Ba)}function Et(Wt,Ft,_n){for(var Ca,Yn,Ba=0,Ti=Ft;Ba<Ti.length;Ba++)for(var Pi=Ti[Ba],jn=0,Fi=Wt;jn<Fi.length;jn++){var Wr=Fi[jn];_n(Wr,Pi)&&(_r(Wr,Pi),Ca=e.appendIfUnique(Ca,Wr),Yn=e.appendIfUnique(Yn,Pi))}return[Ca?e.filter(Wt,function(Tr){return!e.contains(Ca,Tr)}):Wt,Yn?e.filter(Ft,function(Tr){return!e.contains(Yn,Tr)}):Ft]}function Tt(Wt,Ft,_n){for(var Ca=Wt.length<Ft.length?Wt.length:Ft.length,Yn=0;Yn<Ca;Yn++)Yn<_n.length&&(_n[Yn]&7)===2?At(Wt[Yn],Ft[Yn]):_r(Wt[Yn],Ft[Yn])}function At(Wt,Ft){lr||o&1024?(s=!s,_r(Wt,Ft),s=!s):_r(Wt,Ft)}function Vt(Wt){if(Wt.flags&8650752)for(var Ft=0,_n=r;Ft<_n.length;Ft++){var Ca=_n[Ft];if(Wt===Ca.typeParameter)return Ca}}function Nn(Wt){for(var Ft,_n=0,Ca=Wt;_n<Ca.length;_n++){var Yn=Ca[_n],Ba=Yn.flags&2097152&&e.find(Yn.types,function(Ti){return!!Vt(Ti)});if(!Ba||Ft&&Ba!==Ft)return;Ft=Ba}return Ft}function on(Wt,Ft,_n){var Ca=0;if(_n&1048576){for(var Yn=void 0,Ba=Wt.flags&1048576?Wt.types:[Wt],Ti=new Array(Ba.length),Pi=!1,jn=0,Fi=Ft;jn<Fi.length;jn++){var Wr=Fi[jn];if(Vt(Wr))Yn=Wr,Ca++;else for(var Tr=0;Tr<Ba.length;Tr++){var hn=G;G=2048,_r(Ba[Tr],Wr),G===o&&(Ti[Tr]=!0),Pi=Pi||G===-1,G=Math.min(G,hn)}}if(Ca===0){var nn=Nn(Ft);nn&&Gr(Wt,nn,1);return}if(Ca===1&&!Pi){var Vn=e.flatMap(Ba,function(Pt,Bt){return Ti[Bt]?void 0:Pt});if(Vn.length){_r(ma(Vn),Yn);return}}}else for(var En=0,Fn=Ft;En<Fn.length;En++){var Wr=Fn[En];Vt(Wr)?Ca++:_r(Wt,Wr)}if(_n&2097152?Ca===1:Ca>0)for(var Xr=0,it=Ft;Xr<it.length;Xr++){var Wr=it[Xr];Vt(Wr)&&Gr(Wt,Wr,1)}}function ca(Wt,Ft,_n){if(_n.flags&1048576){for(var Ca=!1,Yn=0,Ba=_n.types;Yn<Ba.length;Yn++){var Ti=Ba[Yn];Ca=ca(Wt,Ft,Ti)||Ca}return Ca}if(_n.flags&4194304){var Pi=Vt(_n.type);if(Pi&&!Pi.isFixed&&!$L(Wt)){var jn=QL(Wt,Ft,_n);jn&&Gr(jn,Pi.typeParameter,e.getObjectFlags(Wt)&524288?16:8)}return!0}if(_n.flags&262144){Gr(qu(Wt),_n,32);var Fi=kp(_n);if(Fi&&ca(Wt,Ft,Fi))return!0;var Wr=e.map(Yi(Wt),An),Tr=e.map(Ps(Wt),function(hn){return hn!==Yo?hn.type:en});return _r(ma(e.concatenate(Wr,Tr)),yu(Ft)),!0}return!1}function la(Wt,Ft){if(Wt.flags&16777216)_r(Wt.checkType,Ft.checkType),_r(Wt.extendsType,Ft.extendsType),_r(up(Wt),up(Ft)),_r(fp(Wt),fp(Ft));else{var _n=o;o|=s?64:0;var Ca=[up(Ft),fp(Ft)];on(Wt,Ca,Ft.flags),o=_n}}function di(Wt,Ft){var _n=eA(Wt,Ft),Ca=Ft.types;if(_n||e.every(Ft.texts,function(Ba){return Ba.length===0}))for(var Yn=0;Yn<Ca.length;Yn++)_r(_n?_n[Yn]:en,Ca[Yn])}function Aa(Wt,Ft){if(e.getObjectFlags(Wt)&4&&e.getObjectFlags(Ft)&4&&(Wt.target===Ft.target||el(Wt)&&el(Ft))){Tt(vo(Wt),vo(Ft),M0(Wt.target));return}if(El(Wt)&&El(Ft)){_r(Tc(Wt),Tc(Ft)),_r(yu(Wt),yu(Ft));var _n=of(Wt),Ca=of(Ft);_n&&Ca&&_r(_n,Ca)}if(e.getObjectFlags(Ft)&32&&!Ft.declaration.nameType){var Yn=Tc(Ft);if(ca(Wt,Ft,Yn))return}if(!ew(Wt,Ft)){if(el(Wt)||ki(Wt)){if(ki(Ft)){var Ba=op(Wt),Ti=op(Ft),Pi=vo(Ft),jn=Ft.target.elementFlags;if(ki(Wt)&&GR(Wt,Ft)){for(var Fi=0;Fi<Ti;Fi++)_r(vo(Wt)[Fi],Pi[Fi]);return}for(var Wr=ki(Wt)?Math.min(Wt.target.fixedLength,Ft.target.fixedLength):0,Tr=Math.min(ki(Wt)?Ay(Wt.target,3):0,Ft.target.hasRestElement?Ay(Ft.target,3):0),Fi=0;Fi<Wr;Fi++)_r(vo(Wt)[Fi],Pi[Fi]);if(!ki(Wt)||Ba-Wr-Tr===1&&Wt.target.elementFlags[Wr]&4)for(var hn=vo(Wt)[Wr],Fi=Wr;Fi<Ti-Tr;Fi++)_r(jn[Fi]&8?zs(hn):hn,Pi[Fi]);else{var nn=Ti-Wr-Tr;if(nn===2&&jn[Wr]&jn[Wr+1]&8&&ki(Wt)){var Vn=Vt(Pi[Wr]);Vn&&Vn.impliedArity!==void 0&&(_r(qg(Wt,Wr,Tr+Ba-Vn.impliedArity),Pi[Wr]),_r(qg(Wt,Wr+Vn.impliedArity,Tr),Pi[Wr+1]))}else if(nn===1&&jn[Wr]&8){var En=Ft.target.elementFlags[Ti-1]&2,Fn=ki(Wt)?qg(Wt,Wr,Tr):zs(vo(Wt)[0]);Gr(Fn,Pi[Wr],En?2:0)}else if(nn===1&&jn[Wr]&4){var hn=ki(Wt)?By(Wt,Wr,Tr):vo(Wt)[0];hn&&_r(hn,Pi[Wr])}}for(var Fi=0;Fi<Tr;Fi++)_r(vo(Wt)[Ba-Fi-1],Pi[Ti-Fi-1]);return}if(el(Ft)){xo(Wt,Ft);return}}Li(Wt,Ft),Bi(Wt,Ft,0),Bi(Wt,Ft,1),xo(Wt,Ft)}}function Li(Wt,Ft){for(var _n=sf(Ft),Ca=0,Yn=_n;Ca<Yn.length;Ca++){var Ba=Yn[Ca],Ti=Ii(Wt,Ba.escapedName);Ti&&_r(An(Ti),An(Ba))}}function Bi(Wt,Ft,_n){for(var Ca=Ni(Wt,_n),Yn=Ni(Ft,_n),Ba=Ca.length,Ti=Yn.length,Pi=Ba<Ti?Ba:Ti,jn=!!(e.getObjectFlags(Wt)&524288),Fi=0;Fi<Pi;Fi++)Ai(Ak(Ca[Ba-Pi+Fi]),Jg(Yn[Ti-Pi+Fi]),jn)}function Ai(Wt,Ft,_n){if(!_n){var Ca=c,Yn=Ft.declaration?Ft.declaration.kind:0;c=c||Yn===168||Yn===167||Yn===170,z0(Wt,Ft,At),c=Ca}q0(Wt,Ft,_r)}function xo(Wt,Ft){var _n=e.getObjectFlags(Wt)&e.getObjectFlags(Ft)&32?8:0,Ca=Ps(Ft);if(jy(Wt))for(var Yn=0,Ba=Ca;Yn<Ba.length;Yn++){for(var Ti=Ba[Yn],Pi=[],jn=0,Fi=Yi(Wt);jn<Fi.length;jn++){var Wr=Fi[jn];if(u_(eg(Wr,8576),Ti.keyType)){var Tr=An(Wr);Pi.push(Wr.flags&16777216?J0(Tr):Tr)}}for(var hn=0,nn=Ps(Wt);hn<nn.length;hn++){var Vn=nn[hn];u_(Vn.keyType,Ti.keyType)&&Pi.push(Vn.type)}Pi.length&&Gr(ma(Pi),Ti.type,_n)}for(var En=0,Fn=Ca;En<Fn.length;En++){var Ti=Fn[En],Xr=zm(Wt,Ti.keyType);Xr&&Gr(Xr.type,Ti.type,_n)}}}function ow(r,t){return de&&t===vt?r===t:jf(r,t)||!!(t.flags&4&&r.flags&128||t.flags&8&&r.flags&256)}function sw(r,t){return!!(r.flags&524288&&t.flags&524288&&r.symbol&&r.symbol===t.symbol||r.aliasSymbol&&r.aliasTypeArguments&&r.aliasSymbol===t.aliasSymbol)}function lw(r){var t=Nl(r);return!!t&&Jo(t.flags&16777216?Xv(t):t,406978556)}function Gp(r){return!!(e.getObjectFlags(r)&128)}function t1(r){return!!(e.getObjectFlags(r)&32896)}function cw(r){if(r.length>1){var t=e.filter(r,t1);if(t.length){var i=ma(t,2);return e.concatenate(e.filter(r,function(o){return!t1(o)}),[i])}}return r}function uw(r){return r.priority&416?To(r.contraCandidates):OR(r.contraCandidates)}function fw(r,t){var i=cw(r.candidates),o=lw(r.typeParameter),s=!o&&r.topLevel&&(r.isFixed||!Z0(_o(t),r.typeParameter)),c=o?e.sameMap(i,kl):s?e.sameMap(i,Pp):i,L=r.priority&416?ma(c,2):kR(c);return wl(L)}function nA(r,t){var i=r.inferences[t];if(!i.inferredType){var o=void 0,s=r.signature;if(s){var c=i.candidates?fw(i,s):void 0;if(i.contraCandidates)o=c&&!(c.flags&131072)&&e.some(i.contraCandidates,function(we){return Ed(c,we)})?c:uw(i);else if(c)o=c;else if(r.flags&1)o=St;else{var L=Bn(i.typeParameter);L&&(o=oi(L,JO(HO(r,t),r.nonFixingMapper)))}}else o=ZL(i);i.inferredType=o||n1(!!(r.flags&2));var G=Nl(i.typeParameter);if(G){var ce=oi(G,r.nonFixingMapper);(!o||!r.compareTypes(o,Il(ce,o)))&&(i.inferredType=o=ce)}}return i.inferredType}function n1(r){return r?Ze:tr}function a1(r){for(var t=[],i=0;i<r.inferences.length;i++)t.push(nA(r,i));return t}function aA(r){switch(r.escapedText){case\"document\":case\"console\":return e.Diagnostics.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom;case\"$\":return Xe.types?e.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:e.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery;case\"describe\":case\"suite\":case\"it\":case\"test\":return Xe.types?e.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:e.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;case\"process\":case\"require\":case\"Buffer\":case\"module\":return Xe.types?e.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:e.Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode;case\"Map\":case\"Set\":case\"Promise\":case\"Symbol\":case\"WeakMap\":case\"WeakSet\":case\"Iterator\":case\"AsyncIterator\":case\"SharedArrayBuffer\":case\"Atomics\":case\"AsyncIterable\":case\"AsyncIterableIterator\":case\"AsyncGenerator\":case\"AsyncGeneratorFunction\":case\"BigInt\":case\"Reflect\":case\"BigInt64Array\":case\"BigUint64Array\":return e.Diagnostics.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later;default:return r.parent.kind===295?e.Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:e.Diagnostics.Cannot_find_name_0}}function Lu(r){var t=Zn(r);return t.resolvedSymbol||(t.resolvedSymbol=!e.nodeIsMissing(r)&&Uo(r,r.escapedText,1160127,aA(r),r,!e.isWriteOnlyAccess(r),!1)||We),t.resolvedSymbol}function lg(r){return!!e.findAncestor(r,function(t){return t.kind===180?!0:t.kind===79||t.kind===160?!1:\"quit\"})}function qy(r,t,i,o){switch(r.kind){case 79:if(!e.isThisInTypeQuery(r)){var s=Lu(r);return s!==We?\"\".concat(o?N(o):\"-1\",\"|\").concat(Bc(t),\"|\").concat(Bc(i),\"|\").concat(y(s)):void 0}case 108:return\"0|\".concat(o?N(o):\"-1\",\"|\").concat(Bc(t),\"|\").concat(Bc(i));case 229:case 211:return qy(r.expression,t,i,o);case 160:var c=qy(r.left,t,i,o);return c&&c+\".\"+r.right.escapedText;case 205:case 206:var L=g_(r);if(L!==void 0){var G=qy(r.expression,t,i,o);return G&&G+\".\"+L}}}function qs(r,t){switch(t.kind){case 211:case 229:return qs(r,t.expression);case 220:return e.isAssignmentExpression(t)&&qs(r,t.left)||e.isBinaryExpression(t)&&t.operatorToken.kind===27&&qs(r,t.right)}switch(r.kind){case 230:return t.kind===230&&r.keywordToken===t.keywordToken&&r.name.escapedText===t.name.escapedText;case 79:case 80:return e.isThisInTypeQuery(r)?t.kind===108:t.kind===79&&Lu(r)===Lu(t)||(t.kind===253||t.kind===202)&&tc(Lu(r))===wn(t);case 108:return t.kind===108;case 106:return t.kind===106;case 229:case 211:return qs(r.expression,t);case 205:case 206:return e.isAccessExpression(t)&&g_(r)===g_(t)&&qs(r.expression,t.expression);case 160:return e.isAccessExpression(t)&&r.right.escapedText===g_(t)&&qs(r.left,t.expression);case 220:return e.isBinaryExpression(r)&&r.operatorToken.kind===27&&qs(r.right,t)}return!1}function dw(r){if(e.isAccessExpression(r))return r;if(e.isIdentifier(r)){var t=Lu(r);if(bh(t)){var i=t.valueDeclaration;if(e.isVariableDeclaration(i)&&!i.type&&i.initializer&&e.isAccessExpression(i.initializer))return i.initializer;if(e.isBindingElement(i)&&!i.initializer){var o=i.parent.parent;if(e.isVariableDeclaration(o)&&!o.type&&o.initializer&&(e.isIdentifier(o.initializer)||e.isAccessExpression(o.initializer)))return i}}}}function g_(r){var t;return r.kind===205?r.name.escapedText:r.kind===206&&e.isStringOrNumericLiteralLike(r.argumentExpression)?e.escapeLeadingUnderscores(r.argumentExpression.text):r.kind===202&&(t=md(r))?e.escapeLeadingUnderscores(t):void 0}function iA(r,t){for(;e.isAccessExpression(r);)if(r=r.expression,qs(r,t))return!0;return!1}function vm(r,t){for(;e.isOptionalChain(r);)if(r=r.expression,qs(r,t))return!0;return!1}function iv(r,t){if(r&&r.flags&1048576){var i=hs(r,t);if(i&&e.getCheckFlags(i)&2)return i.isDiscriminantProperty===void 0&&(i.isDiscriminantProperty=(i.checkFlags&192)===192&&!Yg(An(i))),!!i.isDiscriminantProperty}return!1}function oA(r,t){for(var i,o=0,s=r;o<s.length;o++){var c=s[o];if(iv(t,c.escapedName)){if(i){i.push(c);continue}i=[c]}}return i}function pw(r,t){for(var i=new e.Map,o=0,s=function(we){if(we.flags&61603840){var Ue=ia(we,t);if(Ue){if(!mm(Ue))return{value:void 0};var Je=!1;v_(Ue,function(ar){var _r=Bc(kl(ar)),Gr=i.get(_r);Gr?Gr!==tr&&(i.set(_r,tr),Je=!0):i.set(_r,we)}),Je||o++}}},c=0,L=r;c<L.length;c++){var G=L[c],ce=s(G);if(typeof ce==\"object\")return ce.value}return o>=10&&o*2>=r.length?i:void 0}function Xy(r){var t=r.types;if(!(t.length<10||e.getObjectFlags(r)&65536||e.countWhere(t,function(s){return!!(s.flags&59506688)})<10)){if(r.keyPropertyName===void 0){var i=e.forEach(t,function(s){return s.flags&59506688?e.forEach(Yi(s),function(c){return Su(An(c))?c.escapedName:void 0}):void 0}),o=i&&pw(t,i);r.keyPropertyName=o?i:\"\",r.constituentMap=o}return r.keyPropertyName.length?r.keyPropertyName:void 0}}function Yy(r,t){var i,o=(i=r.constituentMap)===null||i===void 0?void 0:i.get(Bc(kl(t)));return o!==tr?o:void 0}function sA(r,t){var i=Xy(r),o=i&&ia(t,i);return o&&Yy(r,o)}function _w(r,t){var i=Xy(r),o=i&&e.find(t.properties,function(c){return c.symbol&&c.kind===294&&c.symbol.escapedName===i&&Eh(c.initializer)}),s=o&&wh(o.initializer);return s&&Yy(r,s)}function lA(r,t){return qs(r,t)||iA(r,t)}function cA(r,t){if(r.arguments)for(var i=0,o=r.arguments;i<o.length;i++){var s=o[i];if(lA(t,s))return!0}return!!(r.expression.kind===205&&lA(t,r.expression.expression))}function i1(r){return(!r.id||r.id<0)&&(r.id=k,k++),r.id}function mw(r,t){if(!(r.flags&1048576))return Qi(r,t);for(var i=0,o=r.types;i<o.length;i++){var s=o[i];if(Qi(s,t))return!0}return!1}function gw(r,t){if(r!==t){if(t.flags&131072)return t;var i=rl(r,function(o){return mw(t,o)});if(t.flags&512&&Mp(t)&&(i=ds(i,fm)),Qi(t,i))return i}return r}function o1(r){var t=Sc(r);return!!(t.callSignatures.length||t.constructSignatures.length||t.members.get(\"bind\")&&Ed(r,Oe))}function mp(r,t){t===void 0&&(t=!1);var i=r.flags;if(i&4)return br?16317953:16776705;if(i&128){var o=r.value===\"\";return br?o?12123649:7929345:o?12582401:16776705}if(i&40)return br?16317698:16776450;if(i&256){var s=r.value===0;return br?s?12123394:7929090:s?12582146:16776450}if(i&64)return br?16317188:16775940;if(i&2048){var s=j0(r);return br?s?12122884:7928580:s?12581636:16775940}return i&16?br?16316168:16774920:i&528?br?r===mt||r===rn?12121864:7927560:r===mt||r===rn?12580616:16774920:i&524288&&!t?e.getObjectFlags(r)&16&&cf(r)?br?16318463:16777215:o1(r)?br?7880640:16728e3:br?7888800:16736160:i&49152?9830144:i&65536?9363232:i&12288?br?7925520:16772880:i&67108864?br?7888800:16736160:i&131072?0:i&465829888?tg(r)?br?7929345:16776705:mp(l(r)||tr,t):i&1048576?e.reduceLeft(r.types,function(c,L){return c|mp(L,t)},0):i&2097152?(t||(t=Jo(r,131068)),e.reduceLeft(r.types,function(c,L){return c&mp(L,t)},16777215)):16777215}function Fs(r,t){return rl(r,function(i){return(mp(i)&t)!==0})}function s1(r,t){return t?ma([is(r),tl(t)]):r}function uA(r,t){var i,o=lp(t);if(!gu(o))return dr;var s=vu(o);return ia(r,s)||ov((i=ip(r,s))===null||i===void 0?void 0:i.type)||dr}function fA(r,t){return Kf(r,ig)&&RR(r,t)||ov(Ld(65,r,Nr,void 0))||dr}function ov(r){return r&&(Xe.noUncheckedIndexedAccess?ma([r,Nr]):r)}function dA(r){return zs(Ld(65,r,Nr,void 0)||dr)}function vw(r){var t=r.parent.kind===203&&l1(r.parent)||r.parent.kind===294&&l1(r.parent.parent);return t?s1(mh(r),r.right):tl(r.right)}function l1(r){return r.parent.kind===220&&r.parent.left===r||r.parent.kind===243&&r.parent.initializer===r}function hw(r,t){return fA(mh(r),r.elements.indexOf(t))}function yw(r){return dA(mh(r.parent))}function pA(r){return uA(mh(r.parent),r.name)}function bw(r){return s1(pA(r),r.objectAssignmentInitializer)}function mh(r){var t=r.parent;switch(t.kind){case 242:return xt;case 243:return Bh(t)||dr;case 220:return vw(t);case 214:return Nr;case 203:return hw(t,r);case 224:return yw(t);case 294:return pA(t);case 295:return bw(t)}return dr}function Ew(r){var t=r.parent,i=mA(t.parent),o=t.kind===200?uA(i,r.propertyName||r.name):r.dotDotDotToken?dA(i):fA(i,t.elements.indexOf(r));return s1(o,r.initializer)}function _A(r){var t=Zn(r);return t.resolvedType||tl(r)}function Tw(r){return r.initializer?_A(r.initializer):r.parent.parent.kind===242?xt:r.parent.parent.kind===243&&Bh(r.parent.parent)||dr}function mA(r){return r.kind===253?Tw(r):Ew(r)}function Sw(r){return r.kind===253&&r.initializer&&gd(r.initializer)||r.kind!==202&&r.parent.kind===220&&gd(r.parent.right)}function Bp(r){switch(r.kind){case 211:return Bp(r.expression);case 220:switch(r.operatorToken.kind){case 63:case 75:case 76:case 77:return Bp(r.left);case 27:return Bp(r.right)}}return r}function gA(r){var t=r.parent;return t.kind===211||t.kind===220&&t.operatorToken.kind===63&&t.left===r||t.kind===220&&t.operatorToken.kind===27&&t.right===r?gA(t):r}function Dw(r){return r.kind===288?kl(tl(r.expression)):en}function Qy(r){var t=Zn(r);if(!t.switchTypes){t.switchTypes=[];for(var i=0,o=r.caseBlock.clauses;i<o.length;i++){var s=o[i];t.switchTypes.push(Dw(s))}}return t.switchTypes}function vA(r,t){for(var i=[],o=0,s=r.caseBlock.clauses;o<s.length;o++){var c=s[o];if(c.kind===288){if(e.isStringLiteralLike(c.expression)){i.push(c.expression.text);continue}return e.emptyArray}t&&i.push(void 0)}return i}function Lw(r,t){return r.flags&1048576?!e.forEach(r.types,function(i){return!e.contains(t,i)}):e.contains(t,r)}function gh(r,t){return r===t||t.flags&1048576&&Aw(r,t)}function Aw(r,t){if(r.flags&1048576){for(var i=0,o=r.types;i<o.length;i++){var s=o[i];if(!sp(t.types,s))return!1}return!0}return r.flags&1024&&Zs(r)===t?!0:sp(t.types,r)}function v_(r,t){return r.flags&1048576?e.forEach(r.types,t):t(r)}function hm(r,t){return r.flags&1048576?e.some(r.types,t):t(r)}function Kf(r,t){return r.flags&1048576?e.every(r.types,t):t(r)}function Cw(r,t){return r.flags&3145728?e.every(r.types,t):t(r)}function rl(r,t){if(r.flags&1048576){var i=r.types,o=e.filter(i,t);if(o===i)return r;var s=r.origin,c=void 0;if(s&&s.flags&1048576){var L=s.types,G=e.filter(L,function(ce){return!!(ce.flags&1048576)||t(ce)});if(L.length-G.length===i.length-o.length){if(G.length===1)return G[0];c=o0(1048576,G)}}return l0(o,r.objectFlags,void 0,void 0,c)}return r.flags&131072||t(r)?r:en}function Zy(r,t){return rl(r,function(i){return i!==t})}function xw(r){return r.flags&1048576?r.types.length:1}function ds(r,t,i){if(r.flags&131072)return r;if(!(r.flags&1048576))return t(r);for(var o=r.origin,s=o&&o.flags&1048576?o.types:r.types,c,L=!1,G=0,ce=s;G<ce.length;G++){var we=ce[G],Ue=we.flags&1048576?ds(we,t,i):t(we);L||(L=we!==Ue),Ue&&(c?c.push(Ue):c=[Ue])}return L?c&&ma(c,i?0:1):r}function hA(r,t,i,o){return r.flags&1048576&&i?ma(e.map(r.types,t),1,i,o):ds(r,t)}function yA(r){return r.flags&1048576?r.types.length:1}function W_(r,t){return rl(r,function(i){return(i.flags&t)!==0})}function bA(r,t){return Jo(r,134217804)&&Jo(t,402655616)?ds(r,function(i){return i.flags&4?W_(t,402653316):tg(i)&&!Jo(t,402653188)?W_(t,128):i.flags&8?W_(t,264):i.flags&64?W_(t,2112):i}):r}function ym(r){return r.flags===0}function h_(r){return r.flags===0?r.type:r}function bm(r,t){return t?{flags:0,type:r.flags&131072?St:r}:r}function Iw(r){var t=Bl(256);return t.elementType=r,t}function c1(r){return je[r.id]||(je[r.id]=Iw(r))}function EA(r,t){var i=sg(Du(wh(t)));return gh(i,r.elementType)?r:c1(ma([r.elementType,i]))}function Nw(r){return r.flags&131072?ta:zs(r.flags&1048576?ma(r.types,2):r)}function kw(r){return r.finalArrayType||(r.finalArrayType=Nw(r.elementType))}function $y(r){return e.getObjectFlags(r)&256?kw(r):r}function Ow(r){return e.getObjectFlags(r)&256?r.elementType:en}function Rw(r){for(var t=!1,i=0,o=r;i<o.length;i++){var s=o[i];if(!(s.flags&131072)){if(!(e.getObjectFlags(s)&256))return!1;t=!0}}return t}function TA(r){var t=gA(r),i=t.parent,o=e.isPropertyAccessExpression(i)&&(i.name.escapedText===\"length\"||i.parent.kind===207&&e.isIdentifier(i.name)&&e.isPushOrUnshiftIdentifier(i.name)),s=i.kind===206&&i.expression===t&&i.parent.kind===220&&i.parent.operatorToken.kind===63&&i.parent.left===i&&!e.isAssignmentTarget(i.parent)&&ys(tl(i.argumentExpression),296);return o||s}function ww(r){return(e.isVariableDeclaration(r)||e.isPropertyDeclaration(r)||e.isPropertySignature(r)||e.isParameter(r))&&!!(e.getEffectiveTypeAnnotationNode(r)||e.isInJSFile(r)&&e.hasInitializer(r)&&r.initializer&&e.isFunctionExpressionOrArrowFunction(r.initializer)&&e.getEffectiveReturnTypeNode(r.initializer))}function eb(r,t){if(r.flags&8752)return An(r);if(r.flags&7){if(e.getCheckFlags(r)&262144){var i=r.syntheticOrigin;if(i&&eb(i))return An(r)}var o=r.valueDeclaration;if(o){if(ww(o))return An(r);if(e.isVariableDeclaration(o)&&o.parent.parent.kind===243){var s=o.parent.parent,c=vh(s.expression,void 0);if(c){var L=s.awaitModifier?15:13;return Ld(L,c,Nr,void 0)}}t&&e.addRelatedInfo(t,e.createDiagnosticForNode(o,e.Diagnostics._0_needs_an_explicit_type_annotation,Wa(r)))}}}function vh(r,t){if(!(r.flags&16777216))switch(r.kind){case 79:var i=tc(Lu(r));return eb(i.flags&2097152?ms(i):i,t);case 108:return Qw(r);case 106:return _1(r);case 205:{var o=vh(r.expression,t);if(o){var s=r.name,c=void 0;if(e.isPrivateIdentifier(s)){if(!o.symbol)return;c=Ii(o,e.getSymbolNameForPrivateIdentifier(o.symbol,s.escapedText))}else c=Ii(o,s.escapedText);return c&&eb(c,t)}return}case 211:return vh(r.expression,t)}}function rb(r){var t=Zn(r),i=t.effectsSignature;if(i===void 0){var o=void 0;r.parent.kind===237?o=vh(r.expression,void 0):r.expression.kind!==106&&(e.isOptionalChain(r)?o=iu(tv(ui(r.expression),r.expression),r.expression):o=dg(r.expression));var s=Ni(o&&wi(o)||tr,0),c=s.length===1&&!s[0].typeParameters?s[0]:e.some(s,SA)?_g(r):void 0;i=t.effectsSignature=c&&SA(c)?c:lo}return i===lo?void 0:i}function SA(r){return!!(Dc(r)||r.declaration&&(lm(r.declaration)||tr).flags&131072)}function Mw(r,t){if(r.kind===1||r.kind===3)return t.arguments[r.parameterIndex];var i=e.skipParentheses(t.expression);return e.isAccessExpression(i)?e.skipParentheses(i.expression):void 0}function Pw(r){var t=e.findAncestor(r,e.isFunctionOrModuleBlock),i=e.getSourceFileOfNode(r),o=e.getSpanOfTokenAtPosition(i,t.statements.pos);ua.add(e.createFileDiagnostic(i,o.start,o.length,e.Diagnostics.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis))}function hh(r){var t=tb(r,!1);return il=r,Ml=t,t}function yh(r){var t=e.skipParentheses(r,!0);return t.kind===95||t.kind===220&&(t.operatorToken.kind===55&&(yh(t.left)||yh(t.right))||t.operatorToken.kind===56&&yh(t.left)&&yh(t.right))}function tb(r,t){for(;;){if(r===il)return Ml;var i=r.flags;if(i&4096){if(!t){var o=i1(r),s=Lt[o];return s!==void 0?s:Lt[o]=tb(r,!0)}t=!1}if(i&368)r=r.antecedent;else if(i&512){var c=rb(r.node);if(c){var L=Dc(c);if(L&&L.kind===3&&!L.type){var G=r.node.arguments[L.parameterIndex];if(G&&yh(G))return!1}if(_o(c).flags&131072)return!1}r=r.antecedent}else{if(i&4)return e.some(r.antecedents,function(ar){return tb(ar,!1)});if(i&8){var ce=r.antecedents;if(ce===void 0||ce.length===0)return!1;r=ce[0]}else if(i&128){if(r.clauseStart===r.clauseEnd&&qC(r.switchStatement))return!1;r=r.antecedent}else if(i&1024){il=void 0;var we=r.target,Ue=we.antecedents;we.antecedents=r.antecedents;var Je=tb(r.antecedent,!1);return we.antecedents=Ue,Je}else return!(i&1)}}}function nb(r,t){for(;;){var i=r.flags;if(i&4096){if(!t){var o=i1(r),s=Kt[o];return s!==void 0?s:Kt[o]=nb(r,!0)}t=!1}if(i&496)r=r.antecedent;else if(i&512){if(r.node.expression.kind===106)return!0;r=r.antecedent}else{if(i&4)return e.every(r.antecedents,function(ce){return nb(ce,!1)});if(i&8)r=r.antecedents[0];else if(i&1024){var c=r.target,L=c.antecedents;c.antecedents=r.antecedents;var G=nb(r.antecedent,!1);return c.antecedents=L,G}else return!!(i&1)}}}function DA(r){switch(r.kind){case 79:{var t=Lu(r);return bh(t)||e.isParameterOrCatchClauseVariable(t)&&!LA(t)}case 205:case 206:return DA(r.expression)&&Iu(Zn(r).resolvedSymbol||We)}return!1}function y_(r,t,i,o){i===void 0&&(i=t);var s,c=!1,L=0;if(Ir)return dr;if(!r.flowNode)return t;Us++;var G=Wo,ce=h_(Je(r.flowNode));Wo=G;var we=e.getObjectFlags(ce)&256&&TA(r)?ta:$y(ce);if(we===Mn||r.parent&&r.parent.kind===229&&!(we.flags&131072)&&Fs(we,2097152).flags&131072)return t;return we===xr?tr:we;function Ue(){return c?s:(c=!0,s=qy(r,t,i,o))}function Je(Xr){if(L===2e3)return e.tracing===null||e.tracing===void 0||e.tracing.instant(\"checkTypes\",\"getTypeAtFlowNode_DepthLimit\",{flowId:Xr.id}),Ir=!0,Pw(r),dr;L++;for(var it;;){var Pt=Xr.flags;if(Pt&4096){for(var Bt=G;Bt<Wo;Bt++)if(wr[Bt]===Xr)return L--,$r[Bt];it=Xr}var Yt=void 0;if(Pt&16){if(Yt=_r(Xr),!Yt){Xr=Xr.antecedent;continue}}else if(Pt&512){if(Yt=Zr(Xr),!Yt){Xr=Xr.antecedent;continue}}else if(Pt&96)Yt=Tt(Xr);else if(Pt&128)Yt=At(Xr);else if(Pt&12){if(Xr.antecedents.length===1){Xr=Xr.antecedents[0];continue}Yt=Pt&4?Vt(Xr):Nn(Xr)}else if(Pt&256){if(Yt=Et(Xr),!Yt){Xr=Xr.antecedent;continue}}else if(Pt&1024){var mn=Xr.target,ya=mn.antecedents;mn.antecedents=Xr.antecedents,Yt=Je(Xr.antecedent),mn.antecedents=ya}else if(Pt&2){var _a=Xr.node;if(_a&&_a!==o&&r.kind!==205&&r.kind!==206&&r.kind!==108){Xr=_a.flowNode;continue}Yt=i}else Yt=Tv(t);return it&&(wr[Wo]=it,$r[Wo]=Yt,Wo++),L--,Yt}}function ar(Xr){var it=Xr.node;return u1(it.kind===253||it.kind===202?mA(it):mh(it),r)}function _r(Xr){var it=Xr.node;if(qs(r,it)){if(!hh(Xr))return Mn;if(e.getAssignmentTargetKind(it)===2){var Pt=Je(Xr.antecedent);return bm(Du(h_(Pt)),ym(Pt))}if(t===Cr||t===ta){if(Sw(it))return c1(en);var Bt=Pp(ar(Xr));return Qi(Bt,t)?Bt:Sn}return t.flags&1048576?gw(t,ar(Xr)):t}if(iA(r,it)){if(!hh(Xr))return Mn;if(e.isVariableDeclaration(it)&&(e.isInJSFile(it)||e.isVarConst(it))){var Yt=e.getDeclaredExpandoInitializer(it);if(Yt&&(Yt.kind===212||Yt.kind===213))return Je(Xr.antecedent)}return t}if(e.isVariableDeclaration(it)&&it.parent.parent.kind===242&&qs(r,it.parent.parent.expression))return k1(h_(Je(Xr.antecedent)))}function Gr(Xr,it){var Pt=e.skipParentheses(it,!0);if(Pt.kind===95)return Mn;if(Pt.kind===220){if(Pt.operatorToken.kind===55)return Gr(Gr(Xr,Pt.left),Pt.right);if(Pt.operatorToken.kind===56)return ma([Gr(Xr,Pt.left),Gr(Xr,Pt.right)])}return En(Xr,Pt,!0)}function Zr(Xr){var it=rb(Xr.node);if(it){var Pt=Dc(it);if(Pt&&(Pt.kind===2||Pt.kind===3)){var Bt=Je(Xr.antecedent),Yt=$y(h_(Bt)),mn=Pt.type?Vn(Yt,Pt,Xr.node,!0):Pt.kind===3&&Pt.parameterIndex>=0&&Pt.parameterIndex<Xr.node.arguments.length?Gr(Yt,Xr.node.arguments[Pt.parameterIndex]):Yt;return mn===Yt?Bt:bm(mn,ym(Bt))}if(_o(it).flags&131072)return Mn}}function Et(Xr){if(t===Cr||t===ta){var it=Xr.node,Pt=it.kind===207?it.expression.expression:it.left.expression;if(qs(r,Bp(Pt))){var Bt=Je(Xr.antecedent),Yt=h_(Bt);if(e.getObjectFlags(Yt)&256){var mn=Yt;if(it.kind===207)for(var ya=0,_a=it.arguments;ya<_a.length;ya++){var qa=_a[ya];mn=EA(mn,qa)}else{var Vi=wh(it.left.argumentExpression);ys(Vi,296)&&(mn=EA(mn,it.right))}return mn===Yt?Bt:bm(mn,ym(Bt))}return Bt}}}function Tt(Xr){var it=Je(Xr.antecedent),Pt=h_(it);if(Pt.flags&131072)return it;var Bt=(Xr.flags&32)!==0,Yt=$y(Pt),mn=En(Yt,Xr.node,Bt);return mn===Yt?it:bm(mn,ym(it))}function At(Xr){var it=Xr.switchStatement.expression,Pt=Je(Xr.antecedent),Bt=h_(Pt);if(qs(r,it))Bt=Ba(Bt,Xr.switchStatement,Xr.clauseStart,Xr.clauseEnd);else if(it.kind===215&&qs(r,it.expression))Bt=jn(Bt,Xr.switchStatement,Xr.clauseStart,Xr.clauseEnd);else{br&&(vm(it,r)?Bt=Yn(Bt,Xr.switchStatement,Xr.clauseStart,Xr.clauseEnd,function(mn){return!(mn.flags&163840)}):it.kind===215&&vm(it.expression,r)&&(Bt=Yn(Bt,Xr.switchStatement,Xr.clauseStart,Xr.clauseEnd,function(mn){return!(mn.flags&131072||mn.flags&128&&mn.value===\"undefined\")})));var Yt=ca(it,Bt);Yt&&(Bt=Aa(Bt,Yt,Xr.switchStatement,Xr.clauseStart,Xr.clauseEnd))}return bm(Bt,ym(Pt))}function Vt(Xr){for(var it=[],Pt=!1,Bt=!1,Yt,mn=0,ya=Xr.antecedents;mn<ya.length;mn++){var _a=ya[mn];if(!Yt&&_a.flags&128&&_a.clauseStart===_a.clauseEnd){Yt=_a;continue}var qa=Je(_a),Vi=h_(qa);if(Vi===t&&t===i)return Vi;e.pushIfUnique(it,Vi),gh(Vi,t)||(Pt=!0),ym(qa)&&(Bt=!0)}if(Yt){var qa=Je(Yt),Vi=h_(qa);if(!e.contains(it,Vi)&&!qC(Yt.switchStatement)){if(Vi===t&&t===i)return Vi;it.push(Vi),gh(Vi,t)||(Pt=!0),ym(qa)&&(Bt=!0)}}return bm(on(it,Pt?2:1),Bt)}function Nn(Xr){var it=i1(Xr),Pt=La[it]||(La[it]=new e.Map),Bt=Ue();if(!Bt)return t;var Yt=Pt.get(Bt);if(Yt)return Yt;for(var mn=Ia;mn<oo;mn++)if(uu[mn]===Xr&&dc[mn]===Bt&&Nc[mn].length)return bm(on(Nc[mn],1),!0);for(var ya=[],_a=!1,qa,Vi=0,Qa=Xr.antecedents;Vi<Qa.length;Vi++){var ho=Qa[Vi],Vo=void 0;if(!qa)Vo=qa=Je(ho);else{uu[oo]=Xr,dc[oo]=Bt,Nc[oo]=ya,oo++;var ao=Co;Co=void 0,Vo=Je(ho),Co=ao,oo--;var Ds=Pt.get(Bt);if(Ds)return Ds}var ss=h_(Vo);if(e.pushIfUnique(ya,ss),gh(ss,t)||(_a=!0),ss===t)break}var Xs=on(ya,_a?2:1);return ym(qa)?bm(Xs,!0):(Pt.set(Bt,Xs),Xs)}function on(Xr,it){if(Rw(Xr))return c1(ma(e.map(Xr,Ow)));var Pt=ma(e.sameMap(Xr,$y),it);return Pt!==t&&Pt.flags&t.flags&1048576&&e.arraysEqual(Pt.types,t.types)?t:Pt}function ca(Xr,it){var Pt,Bt,Yt=t.flags&1048576?t:it;return Yt.flags&1048576&&(Pt=dw(Xr))&&(Bt=g_(Pt))&&qs(r,e.isAccessExpression(Pt)?Pt.expression:Pt.parent.parent.initializer)&&iv(Yt,Bt)?Pt:void 0}function la(Xr,it,Pt){var Bt=g_(it);if(Bt===void 0)return Xr;var Yt=br&&e.isOptionalChain(it)&&Jo(Xr,98304),mn=ia(Yt?Fs(Xr,2097152):Xr,Bt);if(!mn)return Xr;mn=Yt?Jf(mn):mn;var ya=Pt(mn);return rl(Xr,function(_a){var qa=ti(_a,Bt);return!(ya.flags&131072)&&ng(ya,qa)})}function di(Xr,it,Pt,Bt,Yt){if((Pt===36||Pt===37)&&Xr.flags&1048576){var mn=Xy(Xr);if(mn&&mn===g_(it)){var ya=Yy(Xr,tl(Bt));if(ya)return Pt===(Yt?36:37)?ya:Su(ia(ya,mn)||tr)?Zy(Xr,ya):Xr}}return la(Xr,it,function(_a){return _n(_a,Pt,Bt,Yt)})}function Aa(Xr,it,Pt,Bt,Yt){if(Bt<Yt&&Xr.flags&1048576&&Xy(Xr)===g_(it)){var mn=Qy(Pt).slice(Bt,Yt),ya=ma(e.map(mn,function(_a){return Yy(Xr,_a)||tr}));if(ya!==tr)return ya}return la(Xr,it,function(_a){return Ba(_a,Pt,Bt,Yt)})}function Li(Xr,it,Pt){if(qs(r,it))return Xr.flags&2&&Pt?xr:Fs(Xr,Pt?4194304:8388608);br&&Pt&&vm(it,r)&&(Xr=Fs(Xr,2097152));var Bt=ca(it,Xr);return Bt?la(Xr,Bt,function(Yt){return Fs(Yt,Pt?4194304:8388608)}):Xr}function Bi(Xr,it,Pt){var Bt=Ii(Xr,it);return Bt?Bt.flags&16777216?!0:Pt:ip(Xr,it)?!0:!Pt}function Ai(Xr,it,Pt){return Xr.flags&1048576||Xr.flags&524288&&t!==Xr||oh(Xr)||Xr.flags&2097152&&e.every(Xr.types,function(Bt){return Bt.symbol!==pr})?rl(Xr,function(Bt){return Bi(Bt,it,Pt)}):Xr}function xo(Xr,it,Pt){switch(it.operatorToken.kind){case 63:case 75:case 76:case 77:return Li(En(Xr,it.right,Pt),it.left,Pt);case 34:case 35:case 36:case 37:var Bt=it.operatorToken.kind,Yt=Bp(it.left),mn=Bp(it.right);if(Yt.kind===215&&e.isStringLiteralLike(mn))return Ca(Xr,Yt,Bt,mn,Pt);if(mn.kind===215&&e.isStringLiteralLike(Yt))return Ca(Xr,mn,Bt,Yt,Pt);if(qs(r,Yt))return _n(Xr,Bt,mn,Pt);if(qs(r,mn))return _n(Xr,Bt,Yt,Pt);br&&(vm(Yt,r)?Xr=Ft(Xr,Bt,mn,Pt):vm(mn,r)&&(Xr=Ft(Xr,Bt,Yt,Pt)));var ya=ca(Yt,Xr);if(ya)return di(Xr,ya,Bt,mn,Pt);var _a=ca(mn,Xr);if(_a)return di(Xr,_a,Bt,Yt,Pt);if(Fi(Yt))return Wr(Xr,Bt,mn,Pt);if(Fi(mn))return Wr(Xr,Bt,Yt,Pt);break;case 102:return Tr(Xr,it,Pt);case 101:if(e.isPrivateIdentifier(it.left))return Wt(Xr,it,Pt);var qa=Bp(it.right),Vi=jp(it.left);if(Vi.flags&128){var Qa=e.escapeLeadingUnderscores(Vi.value);if(Wy(Xr)&&e.isAccessExpression(r)&&qs(r.expression,qa)&&g_(r)===Qa)return Fs(Xr,Pt?524288:65536);if(qs(r,qa))return Ai(Xr,Qa,Pt)}break;case 27:return En(Xr,it.right,Pt);case 55:return Pt?En(En(Xr,it.left,!0),it.right,!0):ma([En(Xr,it.left,!1),En(Xr,it.right,!1)]);case 56:return Pt?ma([En(Xr,it.left,!0),En(Xr,it.right,!0)]):En(En(Xr,it.left,!1),it.right,!1)}return Xr}function Wt(Xr,it,Pt){var Bt=Bp(it.right);if(!qs(r,Bt))return Xr;e.Debug.assertNode(it.left,e.isPrivateIdentifier);var Yt=_b(it.left);if(Yt===void 0)return Xr;var mn=Yt.parent,ya=e.hasStaticModifier(e.Debug.checkDefined(Yt.valueDeclaration,\"should always have a declaration\"))?An(mn):po(mn);return hn(Xr,ya,Pt,_m)}function Ft(Xr,it,Pt,Bt){var Yt=it===34||it===36,mn=it===34||it===35?98304:32768,ya=tl(Pt),_a=Yt!==Bt&&Kf(ya,function(qa){return!!(qa.flags&mn)})||Yt===Bt&&Kf(ya,function(qa){return!(qa.flags&(3|mn))});return _a?Fs(Xr,2097152):Xr}function _n(Xr,it,Pt,Bt){if(Xr.flags&1)return Xr;(it===35||it===37)&&(Bt=!Bt);var Yt=tl(Pt);if(Bt&&Xr.flags&2&&(it===34||it===35)&&Yt.flags&65536)return ma([ut,Nr]);if(Xr.flags&2&&Bt&&(it===36||it===37))return Yt.flags&67239932?Yt:Yt.flags&524288?dn:Xr;if(Yt.flags&98304){if(!br)return Xr;var mn=it===34||it===35,ya=mn?Bt?262144:2097152:Yt.flags&65536?Bt?131072:1048576:Bt?65536:524288;return Xr.flags&2&&ya&3145728?xr:Fs(Xr,ya)}if(Bt){var _a=it===34?function(qa){return My(qa,Yt)||WR(qa,Yt)}:function(qa){return My(qa,Yt)};return bA(rl(Xr,_a),Yt)}return Su(Yt)?rl(Xr,function(qa){return!(UL(qa)&&My(qa,Yt))}):Xr}function Ca(Xr,it,Pt,Bt,Yt){(Pt===35||Pt===37)&&(Yt=!Yt);var mn=Bp(it.expression);if(!qs(r,mn))return br&&vm(mn,r)&&Yt===(Bt.text!==\"undefined\")?Fs(Xr,2097152):Xr;if(Xr.flags&1&&Bt.text===\"function\")return Xr;if(Yt&&Xr.flags&2&&Bt.text===\"object\")return Xr===xr?dn:ma([dn,ut]);var ya=Yt?z.get(Bt.text)||128:ie.get(Bt.text)||32768,_a=Ti(Xr,Bt.text);return Fs(Yt&&_a?ds(Xr,Pi(_a)):Xr,ya)}function Yn(Xr,it,Pt,Bt,Yt){var mn=Pt!==Bt&&e.every(Qy(it).slice(Pt,Bt),Yt);return mn?Fs(Xr,2097152):Xr}function Ba(Xr,it,Pt,Bt){var Yt=Qy(it);if(!Yt.length)return Xr;var mn=Yt.slice(Pt,Bt),ya=Pt===Bt||e.contains(mn,en);if(Xr.flags&2&&!ya){for(var _a=void 0,qa=0;qa<mn.length;qa+=1){var Vi=mn[qa];if(Vi.flags&67239932)_a!==void 0&&_a.push(Vi);else if(Vi.flags&524288)_a===void 0&&(_a=mn.slice(0,qa)),_a.push(dn);else return Xr}return ma(_a===void 0?mn:_a)}var Qa=ma(mn),ho=Qa.flags&131072?en:bA(rl(Xr,function(ao){return My(Qa,ao)}),Qa);if(!ya)return ho;var Vo=rl(Xr,function(ao){return!(UL(ao)&&e.contains(Yt,kl(MR(ao))))});return ho.flags&131072?Vo:ma([ho,Vo])}function Ti(Xr,it){switch(it){case\"function\":return Xr.flags&1?Xr:Oe;case\"object\":return Xr.flags&2?ma([dn,ut]):Xr;default:return rr.get(it)}}function Pi(Xr){return function(it){if(Ed(it,Xr))return it;if(Ed(Xr,it))return Xr;if(it.flags&465829888){var Pt=l(it)||Ze;if(Ed(Xr,Pt))return To([it,Xr])}return it}}function jn(Xr,it,Pt,Bt){var Yt=vA(it,!0);if(!Yt.length)return Xr;var mn=e.findIndex(Yt,function(ao){return ao===void 0}),ya=Pt===Bt||mn>=Pt&&mn<Bt,_a,qa;if(mn>-1){var Vi=Yt.filter(function(ao){return ao!==void 0}),Qa=mn<Pt?Pt-1:Pt,ho=mn<Bt?Bt-1:Bt;_a=Vi.slice(Qa,ho),qa=X1(Qa,ho,Vi,ya)}else _a=Yt.slice(Pt,Bt),qa=X1(Pt,Bt,Yt,ya);if(ya)return rl(Xr,function(ao){return(mp(ao)&qa)===qa});var Vo=Fs(ma(_a.map(function(ao){return Ti(Xr,ao)||Xr})),qa);return Fs(ds(Xr,Pi(Vo)),qa)}function Fi(Xr){return(e.isPropertyAccessExpression(Xr)&&e.idText(Xr.name)===\"constructor\"||e.isElementAccessExpression(Xr)&&e.isStringLiteralLike(Xr.argumentExpression)&&Xr.argumentExpression.text===\"constructor\")&&qs(r,Xr.expression)}function Wr(Xr,it,Pt,Bt){if(Bt?it!==34&&it!==36:it!==35&&it!==37)return Xr;var Yt=tl(Pt);if(!CT(Yt)&&!tm(Yt))return Xr;var mn=Ii(Yt,\"prototype\");if(!mn)return Xr;var ya=An(mn),_a=Na(ya)?void 0:ya;if(!_a||_a===Un||_a===Oe)return Xr;if(Na(Xr))return _a;return rl(Xr,function(Vi){return qa(Vi,_a)});function qa(Vi,Qa){return Vi.flags&524288&&e.getObjectFlags(Vi)&1||Qa.flags&524288&&e.getObjectFlags(Qa)&1?Vi.symbol===Qa.symbol:Ed(Vi,Qa)}}function Tr(Xr,it,Pt){var Bt=Bp(it.left);if(!qs(r,Bt))return Pt&&br&&vm(Bt,r)?Fs(Xr,2097152):Xr;var Yt=tl(it.right);if(!_m(Yt,Oe))return Xr;var mn,ya=Ii(Yt,\"prototype\");if(ya){var _a=An(ya);Na(_a)||(mn=_a)}if(Na(Xr)&&(mn===Un||mn===Oe))return Xr;if(!mn){var qa=Ni(Yt,1);mn=qa.length?ma(e.map(qa,function(Qa){return _o(Jg(Qa))})):Qn}if(!Pt&&Yt.flags&1048576){var Vi=e.find(Yt.types,function(Qa){return!tm(Qa)});if(!Vi)return Xr}return hn(Xr,mn,Pt,_m)}function hn(Xr,it,Pt,Bt){if(!Pt)return rl(Xr,function(mn){return!Bt(mn,it)});if(Xr.flags&1048576){var Yt=rl(Xr,function(mn){return Bt(mn,it)});if(!(Yt.flags&131072))return Yt}return Ed(it,Xr)?it:Qi(Xr,it)?Xr:Qi(it,Xr)?it:To([Xr,it])}function nn(Xr,it,Pt){if(cA(it,r)){var Bt=Pt||!e.isCallChain(it)?rb(it):void 0,Yt=Bt&&Dc(Bt);if(Yt&&(Yt.kind===0||Yt.kind===1))return Vn(Xr,Yt,it,Pt)}if(Wy(Xr)&&e.isAccessExpression(r)&&e.isPropertyAccessExpression(it.expression)){var mn=it.expression;if(qs(r.expression,Bp(mn.expression))&&e.isIdentifier(mn.name)&&mn.name.escapedText===\"hasOwnProperty\"&&it.arguments.length===1){var ya=it.arguments[0];if(e.isStringLiteralLike(ya)&&g_(r)===e.escapeLeadingUnderscores(ya.text))return Fs(Xr,Pt?524288:65536)}}return Xr}function Vn(Xr,it,Pt,Bt){if(it.type&&!(Na(Xr)&&(it.type===Un||it.type===Oe))){var Yt=Mw(it,Pt);if(Yt){if(qs(r,Yt))return hn(Xr,it.type,Bt,Ed);br&&Bt&&vm(Yt,r)&&!(mp(it.type)&65536)&&(Xr=Fs(Xr,2097152));var mn=ca(Yt,Xr);if(mn)return la(Xr,mn,function(ya){return hn(ya,it.type,Bt,Ed)})}}return Xr}function En(Xr,it,Pt){if(e.isExpressionOfOptionalChainRoot(it)||e.isBinaryExpression(it.parent)&&it.parent.operatorToken.kind===60&&it.parent.left===it)return Fn(Xr,it,Pt);switch(it.kind){case 79:if(!qs(r,it)&&Ve<5){var Bt=Lu(it);if(bh(Bt)){var Yt=Bt.valueDeclaration;if(Yt&&e.isVariableDeclaration(Yt)&&!Yt.type&&Yt.initializer&&DA(r)){Ve++;var mn=En(Xr,Yt.initializer,Pt);return Ve--,mn}}}case 108:case 106:case 205:case 206:return Li(Xr,it,Pt);case 207:return nn(Xr,it,Pt);case 211:case 229:return En(Xr,it.expression,Pt);case 220:return xo(Xr,it,Pt);case 218:if(it.operator===53)return En(Xr,it.operand,!Pt);break}return Xr}function Fn(Xr,it,Pt){if(qs(r,it))return Fs(Xr,Pt?2097152:262144);var Bt=ca(it,Xr);return Bt?la(Xr,Bt,function(Yt){return Fs(Yt,Pt?2097152:262144)}):Xr}}function Fw(r,t){if(r=r.exportSymbol||r,(t.kind===79||t.kind===80)&&(e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),e.isExpressionNode(t)&&(!e.isAssignmentTarget(t)||e.isWriteAccess(t)))){var i=tl(t);if(tc(Zn(t).resolvedSymbol)===r)return i}return e.isDeclarationName(t)&&e.isSetAccessor(t.parent)&&ml(t.parent)?an(t.parent.symbol,!0):Gf(r)}function sv(r){return e.findAncestor(r.parent,function(t){return e.isFunctionLike(t)&&!e.getImmediatelyInvokedFunctionExpression(t)||t.kind===261||t.kind===303||t.kind===166})}function LA(r){if(!r.valueDeclaration)return!1;var t=e.getRootDeclaration(r.valueDeclaration).parent,i=Zn(t);return i.flags&8388608||(i.flags|=8388608,Gw(t)||AA(t)),r.isAssigned||!1}function Gw(r){return!!e.findAncestor(r.parent,function(t){return(e.isFunctionLike(t)||e.isCatchClause(t))&&!!(Zn(t).flags&8388608)})}function AA(r){if(r.kind===79){if(e.isAssignmentTarget(r)){var t=Lu(r);e.isParameterOrCatchClauseVariable(t)&&(t.isAssigned=!0)}}else e.forEachChild(r,AA)}function bh(r){return r.flags&3&&(cv(r)&2)!==0}function Bw(r,t){if(E(t.symbol,2)){var i=br&&t.kind===163&&t.initializer&&lc(r)&32768&&!(lc(ui(t.initializer))&32768);return Ot(),i?Fs(r,524288):r}else return tp(t.symbol),r}function Uw(r,t){var i=t.parent;return i.kind===205||i.kind===207&&i.expression===t||i.kind===206&&i.expression===t&&!(hm(r,Ww)&&F_(tl(i.argumentExpression)))}function Vw(r){return!!(r.flags&465829888&&ee(r).flags&1146880)}function Ww(r){return!!(r.flags&465829888&&!Jo(ee(r),98304))}function jw(r){var t=(e.isIdentifier(r)||e.isPropertyAccessExpression(r)||e.isElementAccessExpression(r))&&!((e.isJsxOpeningElement(r.parent)||e.isJsxSelfClosingElement(r.parent))&&r.parent.tagName===r)&&Ac(r,8);return t&&!Yg(t)}function u1(r,t,i){var o=!(i&&i&2)&&hm(r,Vw)&&(Uw(r,t)||jw(t));return o?ds(r,function(s){return s.flags&465829888?ee(s):s}):r}function CA(r){return!!e.findAncestor(r,function(t){var i=t.parent;return i===void 0?\"quit\":e.isExportAssignment(i)?i.expression===t&&e.isEntityNameExpression(t):e.isExportSpecifier(i)?i.name===t||i.propertyName===t:!1})}function ab(r,t){if(Dl(r,111551)&&!lg(t)&&!Ln(r)){var i=ms(r);i.flags&111551&&(Xe.isolatedModules||e.shouldPreserveConstEnums(Xe)&&CA(t)||!Dv(i)?ii(r):Rc(r))}}function Hw(r,t){var i=Lu(r);if(i===We)return dr;if(i===Jr){if(sC(r))return Mr(r,e.Diagnostics.arguments_cannot_be_referenced_in_property_initializers),dr;var o=e.getContainingFunction(r);return De<2&&(o.kind===213?Mr(r,e.Diagnostics.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression):e.hasSyntacticModifier(o,256)&&Mr(r,e.Diagnostics.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method)),Zn(o).flags|=8192,An(i)}r.parent&&e.isPropertyAccessExpression(r.parent)&&r.parent.expression===r||ab(i,r);var s=tc(i),c=s.flags&2097152?ms(s):s;c.declarations&&cv(c)&134217728&&u0(r,c)&&kc(r,c.declarations,r.escapedText);var L=s.valueDeclaration;if(L&&s.flags&32){if(L.kind===256&&e.nodeIsDecorated(L))for(var o=e.getContainingClass(r);o!==void 0;){if(o===L&&o.name!==r){Zn(L).flags|=16777216,Zn(r).flags|=33554432;break}o=e.getContainingClass(o)}else if(L.kind===225)for(var o=e.getThisContainer(r,!1);o.kind!==303;){if(o.parent===L){(e.isPropertyDeclaration(o)&&e.isStatic(o)||e.isClassStaticBlockDeclaration(o))&&(Zn(L).flags|=16777216,Zn(r).flags|=33554432);break}o=e.getThisContainer(o,!1)}}zw(r,i);var G=An(s),ce=e.getAssignmentTargetKind(r);if(ce){if(!(s.flags&3)&&!(e.isInJSFile(r)&&s.flags&512)){var we=s.flags&384?e.Diagnostics.Cannot_assign_to_0_because_it_is_an_enum:s.flags&32?e.Diagnostics.Cannot_assign_to_0_because_it_is_a_class:s.flags&1536?e.Diagnostics.Cannot_assign_to_0_because_it_is_a_namespace:s.flags&16?e.Diagnostics.Cannot_assign_to_0_because_it_is_a_function:s.flags&2097152?e.Diagnostics.Cannot_assign_to_0_because_it_is_an_import:e.Diagnostics.Cannot_assign_to_0_because_it_is_not_a_variable;return Mr(r,we,Wa(i)),dr}if(Iu(s))return s.flags&3?Mr(r,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant,Wa(i)):Mr(r,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,Wa(i)),dr}var Ue=s.flags&2097152;if(s.flags&3){if(ce===1)return G}else if(Ue)L=ec(i);else return G;if(!L)return G;G=u1(G,r,t);for(var Je=e.getRootDeclaration(L).kind===163,ar=sv(L),_r=sv(r),Gr=_r!==ar,Zr=r.parent&&r.parent.parent&&e.isSpreadAssignment(r.parent)&&l1(r.parent.parent),Et=i.flags&134217728;_r!==ar&&(_r.kind===212||_r.kind===213||e.isObjectLiteralOrClassExpressionMethodOrAccessor(_r))&&(bh(s)&&G!==ta||Je&&!LA(s));)_r=sv(_r);var Tt=Je||Ue||Gr||Zr||Et||e.isBindingElement(L)||G!==Cr&&G!==ta&&(!br||(G.flags&16387)!==0||lg(r)||r.parent.kind===274)||r.parent.kind===229||L.kind===253&&L.exclamationToken||L.flags&8388608,At=Tt?Je?Bw(G,L):G:G===Cr||G===ta?Nr:Jf(G),Vt=y_(r,G,At,_r);if(!TA(r)&&(G===Cr||G===ta)){if(Vt===Cr||Vt===ta)return Ke&&(Mr(e.getNameOfDeclaration(L),e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,Wa(i),gn(Vt)),Mr(r,e.Diagnostics.Variable_0_implicitly_has_an_1_type,Wa(i),gn(Vt))),Tv(Vt)}else if(!Tt&&!(lc(G)&32768)&&lc(Vt)&32768)return Mr(r,e.Diagnostics.Variable_0_is_used_before_being_assigned,Wa(i)),G;return ce?Du(Vt):Vt}function Jw(r,t){return!!e.findAncestor(r,function(i){return i===t?\"quit\":e.isFunctionLike(i)||i.parent&&e.isPropertyDeclaration(i.parent)&&!e.hasStaticModifier(i.parent)&&i.parent.initializer===i})}function Kw(r,t){return e.findAncestor(r,function(i){return i===t?\"quit\":i===t.initializer||i===t.condition||i===t.incrementor||i===t.statement})}function f1(r){return e.findAncestor(r,function(t){return!t||e.nodeStartsNewLexicalEnvironment(t)?\"quit\":e.isIterationStatement(t,!1)})}function zw(r,t){if(!(De>=2||(t.flags&34)===0||!t.valueDeclaration||e.isSourceFile(t.valueDeclaration)||t.valueDeclaration.parent.kind===291)){var i=e.getEnclosingBlockScopeContainer(t.valueDeclaration),o=Jw(r,i),s=f1(i);if(s){if(o){var c=!0;if(e.isForStatement(i)){var L=e.getAncestor(t.valueDeclaration,254);if(L&&L.parent===i){var G=Kw(r.parent,i);if(G){var ce=Zn(G);ce.flags|=131072;var we=ce.capturedBlockScopeBindings||(ce.capturedBlockScopeBindings=[]);e.pushIfUnique(we,t),G===i.initializer&&(c=!1)}}}c&&(Zn(s).flags|=65536)}if(e.isForStatement(i)){var L=e.getAncestor(t.valueDeclaration,254);L&&L.parent===i&&Xw(r,i)&&(Zn(t.valueDeclaration).flags|=4194304)}Zn(t.valueDeclaration).flags|=524288}o&&(Zn(t.valueDeclaration).flags|=262144)}}function qw(r,t){var i=Zn(r);return!!i&&e.contains(i.capturedBlockScopeBindings,wn(t))}function Xw(r,t){for(var i=r;i.parent.kind===211;)i=i.parent;var o=!1;if(e.isAssignmentTarget(i))o=!0;else if(i.parent.kind===218||i.parent.kind===219){var s=i.parent;o=s.operator===45||s.operator===46}return o?!!e.findAncestor(i,function(c){return c===t?\"quit\":c===t.statement}):!1}function d1(r,t){if(Zn(r).flags|=2,t.kind===166||t.kind===170){var i=t.parent;Zn(i).flags|=4}else Zn(t).flags|=4}function xA(r){return e.isSuperCall(r)?r:e.isFunctionLike(r)?void 0:e.forEachChild(r,xA)}function IA(r){var t=wn(r),i=po(t),o=Ju(i);return o===ht}function NA(r,t,i){var o=t.parent,s=e.getClassExtendsHeritageElement(o);s&&!IA(o)&&r.flowNode&&!nb(r.flowNode,!1)&&Mr(r,i)}function Yw(r,t){e.isPropertyDeclaration(t)&&e.hasStaticModifier(t)&&t.initializer&&e.textRangeContainsPositionInclusive(t.initializer,r.pos)&&e.length(t.parent.decorators)&&Mr(r,e.Diagnostics.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class)}function ib(r){var t=lg(r),i=e.getThisContainer(r,!0),o=!1;switch(i.kind===170&&NA(r,i,e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class),i.kind===213&&(i=e.getThisContainer(i,!1),o=!0),Yw(r,i),i.kind){case 260:Mr(r,e.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 259:Mr(r,e.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 170:kA(r,i)&&Mr(r,e.Diagnostics.this_cannot_be_referenced_in_constructor_arguments);break;case 161:Mr(r,e.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name);break}!t&&o&&De<2&&d1(r,i);var s=p1(r,!0,i);if(Me){var c=An(pr);if(s===c&&o)Mr(r,e.Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this);else if(!s){var L=Mr(r,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!e.isSourceFile(i)){var G=p1(i);G&&G!==c&&e.addRelatedInfo(L,e.createDiagnosticForNode(i,e.Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container))}}}return s||Ze}function p1(r,t,i){t===void 0&&(t=!0),i===void 0&&(i=e.getThisContainer(r,!1));var o=e.isInJSFile(r);if(e.isFunctionLike(i)&&(!g1(r)||e.getThisParameter(i))){var s=be(i)||o&&$w(i);if(!s){var c=Zw(i);if(o&&c){var L=ui(c).symbol;L&&L.members&&L.flags&16&&(s=po(L).thisType)}else ou(i)&&(s=po(Ga(i.symbol)).thisType);s||(s=RA(i))}if(s)return y_(r,s)}if(e.isClassLike(i.parent)){var G=wn(i.parent),ce=e.isStatic(i)?An(G):po(G).thisType;return y_(r,ce)}if(e.isSourceFile(i))if(i.commonJsModuleIndicator){var we=wn(i);return we&&An(we)}else{if(i.externalModuleIndicator)return Nr;if(t)return An(pr)}}function Qw(r){var t=e.getThisContainer(r,!1);if(e.isFunctionLike(t)){var i=bu(t);if(i.thisParameter)return eb(i.thisParameter)}if(e.isClassLike(t.parent)){var o=wn(t.parent);return e.isStatic(t)?An(o):po(o).thisType}}function Zw(r){if(r.kind===212&&e.isBinaryExpression(r.parent)&&e.getAssignmentDeclarationKind(r.parent)===3)return r.parent.left.expression.expression;if(r.kind===168&&r.parent.kind===204&&e.isBinaryExpression(r.parent.parent)&&e.getAssignmentDeclarationKind(r.parent.parent)===6)return r.parent.parent.left.expression;if(r.kind===212&&r.parent.kind===294&&r.parent.parent.kind===204&&e.isBinaryExpression(r.parent.parent.parent)&&e.getAssignmentDeclarationKind(r.parent.parent.parent)===6)return r.parent.parent.parent.left.expression;if(r.kind===212&&e.isPropertyAssignment(r.parent)&&e.isIdentifier(r.parent.name)&&(r.parent.name.escapedText===\"value\"||r.parent.name.escapedText===\"get\"||r.parent.name.escapedText===\"set\")&&e.isObjectLiteralExpression(r.parent.parent)&&e.isCallExpression(r.parent.parent.parent)&&r.parent.parent.parent.arguments[2]===r.parent.parent&&e.getAssignmentDeclarationKind(r.parent.parent.parent)===9)return r.parent.parent.parent.arguments[0].expression;if(e.isMethodDeclaration(r)&&e.isIdentifier(r.name)&&(r.name.escapedText===\"value\"||r.name.escapedText===\"get\"||r.name.escapedText===\"set\")&&e.isObjectLiteralExpression(r.parent)&&e.isCallExpression(r.parent.parent)&&r.parent.parent.arguments[2]===r.parent&&e.getAssignmentDeclarationKind(r.parent.parent)===9)return r.parent.parent.arguments[0].expression}function $w(r){var t=e.getJSDocType(r);if(t&&t.kind===315){var i=t;if(i.parameters.length>0&&i.parameters[0].name&&i.parameters[0].name.escapedText===\"this\")return Da(i.parameters[0].type)}var o=e.getJSDocThisTag(r);if(o&&o.typeExpression)return Da(o.typeExpression)}function kA(r,t){return!!e.findAncestor(r,function(i){return e.isFunctionLikeDeclaration(i)?\"quit\":i.kind===163&&i.parent===t})}function _1(r){var t=r.parent.kind===207&&r.parent.expression===r,i=e.getSuperContainer(r,!0),o=i,s=!1;if(!t)for(;o&&o.kind===213;)o=e.getSuperContainer(o,!0),s=De<2;var c=Je(o),L=0;if(!c){var G=e.findAncestor(r,function(ar){return ar===o?\"quit\":ar.kind===161});return G&&G.kind===161?Mr(r,e.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name):t?Mr(r,e.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):!o||!o.parent||!(e.isClassLike(o.parent)||o.parent.kind===204)?Mr(r,e.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions):Mr(r,e.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class),dr}if(!t&&i.kind===170&&NA(r,o,e.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),e.isStatic(o)||t?(L=512,!t&&De>=2&&De<=8&&(e.isPropertyDeclaration(o)||e.isClassStaticBlockDeclaration(o))&&e.forEachEnclosingBlockScopeContainer(r.parent,function(ar){(!e.isSourceFile(ar)||e.isExternalOrCommonJsModule(ar))&&(Zn(ar).flags|=134217728)})):L=256,Zn(r).flags|=L,o.kind===168&&e.hasSyntacticModifier(o,256)&&(e.isSuperProperty(r.parent)&&e.isAssignmentTarget(r.parent)?Zn(o).flags|=4096:Zn(o).flags|=2048),s&&d1(r.parent,o),o.parent.kind===204)return De<2?(Mr(r,e.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),dr):Ze;var ce=o.parent;if(!e.getClassExtendsHeritageElement(ce))return Mr(r,e.Diagnostics.super_can_only_be_referenced_in_a_derived_class),dr;var we=po(wn(ce)),Ue=we&&xl(we)[0];if(!Ue)return dr;if(o.kind===170&&kA(r,o))return Mr(r,e.Diagnostics.super_cannot_be_referenced_in_constructor_arguments),dr;return L===512?Ju(we):Il(Ue,we.thisType);function Je(ar){return ar?t?ar.kind===170:e.isClassLike(ar.parent)||ar.parent.kind===204?e.isStatic(ar)?ar.kind===168||ar.kind===167||ar.kind===171||ar.kind===172||ar.kind===166||ar.kind===169:ar.kind===168||ar.kind===167||ar.kind===171||ar.kind===172||ar.kind===166||ar.kind===165||ar.kind===170:!1:!1}}function eM(r){return(r.kind===168||r.kind===171||r.kind===172)&&r.parent.kind===204?r.parent:r.kind===212&&r.parent.kind===294?r.parent.parent:void 0}function OA(r){return e.getObjectFlags(r)&4&&r.target===Jt?vo(r)[0]:void 0}function rM(r){return ds(r,function(t){return t.flags&2097152?e.forEach(t.types,OA):OA(t)})}function RA(r){if(r.kind!==213){if(TL(r)){var t=Th(r);if(t){var i=t.thisParameter;if(i)return An(i)}}var o=e.isInJSFile(r);if(Me||o){var s=eM(r);if(s){for(var c=Up(s),L=s,G=c;G;){var ce=rM(G);if(ce)return oi(ce,Q0(lv(s)));if(L.parent.kind!==294)break;L=L.parent.parent,G=Up(L)}return wl(c?Td(c):Ss(s))}var we=e.walkUpParenthesizedExpressions(r.parent);if(we.kind===220&&we.operatorToken.kind===63){var Ue=we.left;if(e.isAccessExpression(Ue)){var Je=Ue.expression;if(o&&e.isIdentifier(Je)){var ar=e.getSourceFileOfNode(we);if(ar.commonJsModuleIndicator&&Lu(Je)===ar.symbol)return}return wl(Ss(Je))}}}}}function wA(r){var t=r.parent;if(!!TL(t)){var i=e.getImmediatelyInvokedFunctionExpression(t);if(i&&i.arguments){var o=W1(i),s=t.parameters.indexOf(r);if(r.dotDotDotToken)return V1(o,s,o.length,Ze,void 0,0);var c=Zn(i),L=c.resolvedSignature;c.resolvedSignature=No;var G=s<o.length?Pp(ui(o[s])):r.initializer?void 0:zr;return c.resolvedSignature=L,G}var ce=Th(t);if(ce){var we=t.parameters.indexOf(r)-(e.getThisParameter(t)?1:0);return r.dotDotDotToken&&e.lastOrUndefined(t.parameters)===r?gg(ce,we):E_(ce,we)}}}function m1(r){var t=e.getEffectiveTypeAnnotationNode(r);if(t)return Da(t);switch(r.kind){case 163:return wA(r);case 202:return tM(r);case 166:if(e.isStatic(r))return nM(r)}}function tM(r){var t=r.parent.parent,i=r.propertyName||r.name,o=m1(t)||t.kind!==202&&t.initializer&&Rh(t);if(!(!o||e.isBindingPattern(i)||e.isComputedNonLiteralName(i))){if(t.name.kind===201){var s=e.indexOfNode(r.parent.elements,r);return s<0?void 0:b1(o,s)}var c=lp(i);if(gu(c)){var L=vu(c);return ia(o,L)}}}function nM(r){var t=e.isExpression(r.parent)&&Ac(r.parent);if(!!t)return b_(t,wn(r).escapedName)}function aM(r,t){var i=r.parent;if(e.hasInitializer(i)&&r===i.initializer){var o=m1(i);if(o)return o;if(!(t&8)&&e.isBindingPattern(i.name))return xs(i.name,!0,!1)}}function iM(r){var t=e.getContainingFunction(r);if(t){var i=v1(t);if(i){var o=e.getFunctionFlags(t);if(o&1){var s=o&2?2:1,c=Uh(i,s,void 0);if(!c)return;i=c.returnType}if(o&2){var L=ds(i,Sd);return L&&ma([L,JC(L)])}return i}}}function oM(r,t){var i=Ac(r,t);if(i){var o=Sd(i);return o&&ma([o,JC(o)])}}function sM(r){var t=e.getContainingFunction(r);if(t){var i=e.getFunctionFlags(t),o=v1(t);if(o)return r.asteriskToken?o:Lm(0,o,(i&2)!==0)}}function g1(r){for(var t=!1;r.parent&&!e.isFunctionLike(r.parent);){if(e.isParameter(r.parent)&&(t||r.parent.initializer===r))return!0;e.isBindingElement(r.parent)&&r.parent.initializer===r&&(t=!0),r=r.parent}return!1}function MA(r,t){var i=!!(e.getFunctionFlags(t)&2),o=v1(t);if(o)return Lm(r,o,i)||void 0}function v1(r){var t=lm(r);if(t)return t;var i=T1(r);if(i&&!qE(i))return _o(i);var o=e.getImmediatelyInvokedFunctionExpression(r);if(o)return Ac(o)}function PA(r,t){var i=W1(r),o=i.indexOf(t);return o===-1?void 0:h1(r,o)}function h1(r,t){if(e.isImportCall(r))return t===0?xt:t===1?kD(!1):Ze;var i=Zn(r).resolvedSignature===Lo?Lo:_g(r);if(e.isJsxOpeningLikeElement(r)&&t===0)return cb(i,r);var o=i.parameters.length-1;return ue(i)&&t>=o?Hl(An(i.parameters[o]),Wf(t-o),256):Uc(i,t)}function lM(r,t){if(r.parent.kind===209)return PA(r.parent,t)}function cM(r,t){var i=r.parent,o=i.left,s=i.operatorToken,c=i.right;switch(s.kind){case 63:case 76:case 75:case 77:return r===c?fM(i):void 0;case 56:case 60:var L=Ac(i,t);return r===c&&(L&&L.pattern||!L&&!e.isDefaultedExpandoInitializer(i))?tl(o):L;case 55:case 27:return r===c?Ac(i,t):void 0;default:return}}function uM(r){if(r.symbol)return r.symbol;if(e.isIdentifier(r))return Lu(r);if(e.isPropertyAccessExpression(r)){var t=tl(r.expression);return e.isPrivateIdentifier(r.name)?i(t,r.name):Ii(t,r.name.escapedText)}return;function i(o,s){var c=pb(s.escapedText,s);return c&&O1(o,c)}}function fM(r){var t,i,o=e.getAssignmentDeclarationKind(r);switch(o){case 0:case 4:var s=uM(r.left),c=s&&s.valueDeclaration;if(c&&(e.isPropertyDeclaration(c)||e.isPropertySignature(c))){var L=e.getEffectiveTypeAnnotationNode(c);return L&&oi(Da(L),Ja(s).mapper)||c.initializer&&tl(r.left)}return o===0?tl(r.left):FA(r);case 5:if(ob(r,o))return FA(r);if(r.left.symbol){var G=r.left.symbol.valueDeclaration;if(!G)return;var ce=e.cast(r.left,e.isAccessExpression),L=e.getEffectiveTypeAnnotationNode(G);if(L)return Da(L);if(e.isIdentifier(ce.expression)){var we=ce.expression,Ue=Uo(we,we.escapedText,111551,void 0,we.escapedText,!0);if(Ue){var Je=Ue.valueDeclaration&&e.getEffectiveTypeAnnotationNode(Ue.valueDeclaration);if(Je){var ar=e.getElementOrPropertyAccessName(ce);if(ar!==void 0)return b_(Da(Je),ar)}return}}return e.isInJSFile(G)?void 0:tl(r.left)}else return tl(r.left);case 1:case 6:case 3:var _r=(t=r.left.symbol)===null||t===void 0?void 0:t.valueDeclaration;case 2:_r||(_r=(i=r.symbol)===null||i===void 0?void 0:i.valueDeclaration);var Gr=_r&&e.getEffectiveTypeAnnotationNode(_r);return Gr?Da(Gr):void 0;case 7:case 8:case 9:return e.Debug.fail(\"Does not apply\");default:return e.Debug.assertNever(o)}}function ob(r,t){if(t===void 0&&(t=e.getAssignmentDeclarationKind(r)),t===4)return!0;if(!e.isInJSFile(r)||t!==5||!e.isIdentifier(r.left.expression))return!1;var i=r.left.expression.escapedText,o=Uo(r.left,i,111551,void 0,void 0,!0,!0);return e.isThisInitializedDeclaration(o==null?void 0:o.valueDeclaration)}function FA(r){if(!r.symbol)return tl(r.left);if(r.symbol.valueDeclaration){var t=e.getEffectiveTypeAnnotationNode(r.symbol.valueDeclaration);if(t){var i=Da(t);if(i)return i}}var o=e.cast(r.left,e.isAccessExpression);if(!!e.isObjectLiteralMethod(e.getThisContainer(o.expression,!1))){var s=ib(o.expression),c=e.getElementOrPropertyAccessName(o);return c!==void 0&&b_(s,c)||void 0}}function dM(r){return!!(e.getCheckFlags(r)&262144&&!r.type&&Qe(r,0)>=0)}function b_(r,t){return ds(r,function(i){var o;if(El(i)){var s=Tc(i),c=l(s)||s,L=Lc(e.unescapeLeadingUnderscores(t));if(Qi(L,c))return aL(i,L)}else if(i.flags&3670016){var G=Ii(i,t);if(G)return dM(G)?void 0:An(G);if(ki(i)){var ce=rv(i);if(ce&&zf(t)&&+t>=0)return ce}return(o=Zv(Km(i),Lc(e.unescapeLeadingUnderscores(t))))===null||o===void 0?void 0:o.type}},!0)}function pM(r,t){if(e.Debug.assert(e.isObjectLiteralMethod(r)),!(r.flags&16777216))return y1(r,t)}function y1(r,t){var i=r.parent,o=e.isPropertyAssignment(r)&&m1(r);if(o)return o;var s=Up(i,t);if(s){if(l_(r))return b_(s,wn(r).escapedName);if(r.name){var c=lp(r.name);return ds(s,function(L){var G;return(G=Zv(Km(L),c))===null||G===void 0?void 0:G.type},!0)}}}function b1(r,t){return r&&(b_(r,\"\"+t)||ds(r,function(i){return pT(1,i,Nr,void 0,!1)},!0))}function _M(r,t){var i=r.parent;return r===i.whenTrue||r===i.whenFalse?Ac(i,t):void 0}function mM(r,t){var i=Up(r.openingElement.tagName),o=fb(Em(r));if(!!(i&&!Na(i)&&o&&o!==\"\")){var s=e.getSemanticJsxChildren(r.children),c=s.indexOf(t),L=b_(i,o);return L&&(s.length===1?L:ds(L,function(G){return _p(G)?Hl(G,Wf(c)):G},!0))}}function gM(r){var t=r.parent;return e.isJsxAttributeLike(t)?Ac(r):e.isJsxElement(t)?mM(t,r):void 0}function GA(r){if(e.isJsxAttribute(r)){var t=Up(r.parent);return!t||Na(t)?void 0:b_(t,r.name.escapedText)}else return Ac(r.parent)}function Eh(r){switch(r.kind){case 10:case 8:case 9:case 14:case 110:case 95:case 104:case 79:case 152:return!0;case 205:case 211:return Eh(r.expression);case 287:return!r.expression||Eh(r.expression)}return!1}function vM(r,t){return _w(t,r)||w0(t,e.concatenate(e.map(e.filter(r.properties,function(i){return!!i.symbol&&i.kind===294&&Eh(i.initializer)&&iv(t,i.symbol.escapedName)}),function(i){return[function(){return wh(i.initializer)},i.symbol.escapedName]}),e.map(e.filter(Yi(t),function(i){var o;return!!(i.flags&16777216)&&!!(!((o=r==null?void 0:r.symbol)===null||o===void 0)&&o.members)&&!r.symbol.members.has(i.escapedName)&&iv(t,i.escapedName)}),function(i){return[function(){return Nr},i.escapedName]})),Qi,t)}function hM(r,t){return w0(t,e.concatenate(e.map(e.filter(r.properties,function(i){return!!i.symbol&&i.kind===284&&iv(t,i.symbol.escapedName)&&(!i.initializer||Eh(i.initializer))}),function(i){return[i.initializer?function(){return wh(i.initializer)}:function(){return sa},i.symbol.escapedName]}),e.map(e.filter(Yi(t),function(i){var o;return!!(i.flags&16777216)&&!!(!((o=r==null?void 0:r.symbol)===null||o===void 0)&&o.members)&&!r.symbol.members.has(i.escapedName)&&iv(t,i.escapedName)}),function(i){return[function(){return Nr},i.escapedName]})),Qi,t)}function Up(r,t){var i=e.isObjectLiteralMethod(r)?pM(r,t):Ac(r,t),o=sb(i,r,t);if(o&&!(t&&t&2&&o.flags&8650752)){var s=ds(o,wi,!0);return s.flags&1048576&&e.isObjectLiteralExpression(r)?vM(r,s):s.flags&1048576&&e.isJsxAttributes(r)?hM(r,s):s}}function sb(r,t,i){if(r&&Jo(r,465829888)){var o=lv(t);if(o&&e.some(o.inferences,H_)){if(i&&i&1)return lb(r,o.nonFixingMapper);if(o.returnMapper)return lb(r,o.returnMapper)}}return r}function lb(r,t){return r.flags&465829888?oi(r,t):r.flags&1048576?ma(e.map(r.types,function(i){return lb(i,t)}),0):r.flags&2097152?To(e.map(r.types,function(i){return lb(i,t)})):r}function Ac(r,t){if(r.flags&16777216)return;if(r.contextualType)return r.contextualType;var i=r.parent;switch(i.kind){case 253:case 163:case 166:case 165:case 202:return aM(r,t);case 213:case 246:return iM(r);case 223:return sM(i);case 217:return oM(i,t);case 207:case 208:return PA(i,r);case 210:case 228:return e.isConstTypeReference(i.type)?L(i):Da(i.type);case 220:return cM(r,t);case 294:case 295:return y1(i,t);case 296:return Ac(i.parent,t);case 203:{var o=i,s=Up(o,t);return b1(s,e.indexOfNode(o.elements,r))}case 221:return _M(r,t);case 232:return e.Debug.assert(i.parent.kind===222),lM(i.parent,r);case 211:{var c=e.isInJSFile(i)?e.getJSDocTypeTag(i):void 0;return c?e.isJSDocTypeTag(c)&&e.isConstTypeReference(c.typeExpression.type)?L(i):Da(c.typeExpression.type):Ac(i,t)}case 229:return Ac(i,t);case 287:return gM(i);case 284:case 286:return GA(i);case 279:case 278:return yM(i,t)}return;function L(G){return Ac(G)}}function lv(r){var t=e.findAncestor(r,function(i){return!!i.inferenceContext});return t&&t.inferenceContext}function yM(r,t){return e.isJsxOpeningElement(r)&&r.parent.contextualType&&t!==4?r.parent.contextualType:h1(r,0)}function cb(r,t){return SC(t)!==0?bM(r,t):SM(r,t)}function bM(r,t){var i=q1(r,tr);i=BA(t,Em(t),i);var o=Vp(P.IntrinsicAttributes,t);return Ua(o)||(i=om(o,i)),i}function EM(r,t){if(r.compositeSignatures){for(var i=[],o=0,s=r.compositeSignatures;o<s.length;o++){var c=s[o],L=_o(c);if(Na(L))return L;var G=ia(L,t);if(!G)return;i.push(G)}return To(i)}var ce=_o(r);return Na(ce)?ce:ia(ce,t)}function TM(r){if(fg(r.tagName)){var t=XA(r),i=Eb(r,t);return Ym(i)}var o=Ss(r.tagName);if(o.flags&128){var t=qA(o,r);if(!t)return dr;var i=Eb(r,t);return Ym(i)}return o}function BA(r,t,i){var o=WM(t);if(o){var s=po(o),c=TM(r);if(o.flags&524288){var L=Ja(o).typeParameters;if(e.length(L)>=2){var G=M_([c,i],L,2,e.isInJSFile(r));return Zm(o,G)}}if(e.length(s.typeParameters)>=2){var G=M_([c,i],s.typeParameters,2,e.isInJSFile(r));return Uf(s,G)}}return i}function SM(r,t){var i=Em(t),o=jM(i),s=o===void 0?q1(r,tr):o===\"\"?_o(r):EM(r,o);if(!s)return!!o&&!!e.length(t.attributes.properties)&&Mr(t,e.Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,e.unescapeLeadingUnderscores(o)),tr;if(s=BA(t,i,s),Na(s))return s;var c=s,L=Vp(P.IntrinsicClassAttributes,t);if(!Ua(L)){var G=mu(L.symbol),ce=_o(r);c=om(G?Uf(L,M_([ce],G,lf(G),e.isInJSFile(t))):L,c)}var we=Vp(P.IntrinsicAttributes,t);return Ua(we)||(c=om(we,c)),c}function DM(r){return e.getStrictOptionValue(Xe,\"noImplicitAny\")?e.reduceLeft(r,function(t,i){return t===i||!t?t:uy(t.typeParameters,i.typeParameters)?CM(t,i):void 0}):void 0}function LM(r,t,i){if(!r||!t)return r||t;var o=ma([An(r),oi(An(t),i)]);return V_(r,o)}function AM(r,t,i){for(var o=Tl(r),s=Tl(t),c=o>=s?r:t,L=c===r?t:r,G=c===r?o:s,ce=xu(r)||xu(t),we=ce&&!xu(c),Ue=new Array(G+(we?1:0)),Je=0;Je<G;Je++){var ar=E_(c,Je);c===t&&(ar=oi(ar,i));var _r=E_(L,Je)||tr;L===t&&(_r=oi(_r,i));var Gr=ma([ar,_r]),Zr=ce&&!we&&Je===G-1,Et=Je>=Cu(c)&&Je>=Cu(L),Tt=Je>=o?void 0:mg(r,Je),At=Je>=s?void 0:mg(t,Je),Vt=Tt===At?Tt:Tt?At?void 0:Tt:At,Nn=fo(1|(Et&&!Zr?16777216:0),Vt||\"arg\".concat(Je));Nn.type=Zr?zs(Gr):Gr,Ue[Je]=Nn}if(we){var on=fo(1,\"args\");on.type=zs(Uc(L,G)),L===t&&(on.type=oi(on.type,i)),Ue[G]=on}return Ue}function CM(r,t){var i=r.typeParameters||t.typeParameters,o;r.typeParameters&&t.typeParameters&&(o=Ol(t.typeParameters,r.typeParameters));var s=r.declaration,c=AM(r,t,o),L=LM(r.thisParameter,t.thisParameter,o),G=Math.max(r.minArgumentCount,t.minArgumentCount),ce=hu(s,i,L,c,void 0,void 0,G,(r.flags|t.flags)&39);return ce.compositeKind=2097152,ce.compositeSignatures=e.concatenate(r.compositeKind===2097152&&r.compositeSignatures||[r],[t]),o&&(ce.mapper=r.compositeKind===2097152&&r.mapper&&r.compositeSignatures?__(r.mapper,o):o),ce}function E1(r,t){var i=Ni(r,0),o=e.filter(i,function(s){return!xM(s,t)});return o.length===1?o[0]:DM(o)}function xM(r,t){for(var i=0;i<t.parameters.length;i++){var o=t.parameters[i];if(o.initializer||o.questionToken||o.dotDotDotToken||Xm(o))break}return t.parameters.length&&e.parameterIsThisKeyword(t.parameters[0])&&i--,!xu(r)&&Tl(r)<i}function T1(r){return e.isFunctionExpressionOrArrowFunction(r)||e.isObjectLiteralMethod(r)?Th(r):void 0}function Th(r){e.Debug.assert(r.kind!==168||e.isObjectLiteralMethod(r));var t=KE(r);if(t)return t;var i=Up(r,1);if(!!i){if(!(i.flags&1048576))return E1(i,r);for(var o,s=i.types,c=0,L=s;c<L.length;c++){var G=L[c],ce=E1(G,r);if(ce)if(!o)o=[ce];else if(_h(o[0],ce,!1,!0,!0,$g))o.push(ce);else return}if(o)return o.length===1?o[0]:oy(o[0],o)}}function IM(r,t){De<2&&nl(r,Xe.downlevelIteration?1536:1024);var i=ui(r.expression,t);return Ld(33,i,Nr,r.expression)}function NM(r){return r.isSpread?Hl(r.type,wt):r.type}function cg(r){return r.kind===202&&!!r.initializer||r.kind===220&&r.operatorToken.kind===63}function UA(r,t,i){for(var o=r.elements,s=o.length,c=[],L=[],G=Up(r),ce=e.isAssignmentTarget(r),we=vg(r),Ue=!1,Je=0;Je<s;Je++){var ar=o[Je];if(ar.kind===224){De<2&&nl(ar,Xe.downlevelIteration?1536:1024);var _r=ui(ar.expression,t,i);if(_p(_r))c.push(_r),L.push(8);else if(ce){var Gr=tu(_r,wt)||pT(65,_r,Nr,void 0,!1)||tr;c.push(Gr),L.push(4)}else c.push(Ld(33,_r,Nr,ar.expression)),L.push(4)}else if(de&&ar.kind===226)Ue=!0,c.push(vt),L.push(2);else{var Zr=b1(G,c.length),Et=hg(ar,t,Zr,i);c.push(Wl(Et,!0,Ue)),L.push(Ue?2:1)}}return ce?Tu(c,L):i||we||G&&hm(G,ig)?VA(Tu(c,L,we)):VA(zs(c.length?ma(e.sameMap(c,function(Tt,At){return L[At]&8?cp(Tt,wt)||Ze:Tt}),2):br?qt:zr,we))}function VA(r){if(!(e.getObjectFlags(r)&4))return r;var t=r.literalType;return t||(t=r.literalType=vD(r),t.objectFlags|=294912),t}function kM(r){switch(r.kind){case 161:return OM(r);case 79:return zf(r.escapedText);case 8:case 10:return zf(r.text);default:return!1}}function OM(r){return ys(qf(r),296)}function zf(r){return(+r).toString()===r}function qf(r){var t=Zn(r.expression);if(!t.resolvedType){if((e.isTypeLiteralNode(r.parent.parent)||e.isClassLike(r.parent.parent)||e.isInterfaceDeclaration(r.parent.parent))&&e.isBinaryExpression(r.expression)&&r.expression.operatorToken.kind===101)return t.resolvedType=dr;if(t.resolvedType=ui(r.expression),e.isPropertyDeclaration(r.parent)&&!e.hasStaticModifier(r.parent)&&e.isClassExpression(r.parent.parent)){var i=e.getEnclosingBlockScopeContainer(r.parent.parent),o=f1(i);o&&(Zn(o).flags|=65536,Zn(r).flags|=524288,Zn(r.parent.parent).flags|=524288)}(t.resolvedType.flags&98304||!ys(t.resolvedType,402665900)&&!Qi(t.resolvedType,pt))&&Mr(r,e.Diagnostics.A_computed_property_name_must_be_of_type_string_number_symbol_or_any)}return t.resolvedType}function RM(r){var t,i=(t=r.declarations)===null||t===void 0?void 0:t[0];return zf(r.escapedName)||i&&e.isNamedDeclaration(i)&&kM(i.name)}function WA(r){var t,i=(t=r.declarations)===null||t===void 0?void 0:t[0];return e.isKnownSymbol(r)||i&&e.isNamedDeclaration(i)&&e.isComputedPropertyName(i.name)&&ys(qf(i.name),4096)}function S1(r,t,i,o){for(var s=[],c=t;c<i.length;c++){var L=i[c];(o===xt&&!WA(L)||o===wt&&RM(L)||o===na&&WA(L))&&s.push(An(i[c]))}var G=s.length?ma(s,2):Nr;return Eu(o,G,vg(r))}function jA(r){e.Debug.assert((r.flags&2097152)!==0,\"Should only get Alias here.\");var t=Ja(r);if(!t.immediateTarget){var i=ec(r);if(!i)return e.Debug.fail();t.immediateTarget=mo(i,!0)}return t.immediateTarget}function wM(r,t){var i=e.isAssignmentTarget(r);nF(r,i);for(var o=br?e.createSymbolTable():void 0,s=e.createSymbolTable(),c=[],L=Qn,G=Up(r),ce=G&&G.pattern&&(G.pattern.kind===200||G.pattern.kind===204),we=vg(r),Ue=we?8:0,Je=e.isInJSFile(r)&&!e.isInJsonFile(r),ar=e.getJSDocEnumTag(r),_r=!G&&Je&&!ar,Gr=gr,Zr=!1,Et=!1,Tt=!1,At=!1,Vt=0,Nn=r.properties;Vt<Nn.length;Vt++){var on=Nn[Vt];on.name&&e.isComputedPropertyName(on.name)&&qf(on.name)}for(var ca=0,la=0,di=r.properties;la<di.length;la++){var Aa=di[la],Li=wn(Aa),Bi=Aa.name&&Aa.name.kind===161?qf(Aa.name):void 0;if(Aa.kind===294||Aa.kind===295||e.isObjectLiteralMethod(Aa)){var Ai=Aa.kind===294?ax(Aa,t):Aa.kind===295?hg(!i&&Aa.objectAssignmentInitializer?Aa.objectAssignmentInitializer:Aa.name,t):ix(Aa,t);if(Je){var xo=Pf(Aa);xo?(Rl(Ai,xo,Aa),Ai=xo):ar&&ar.typeExpression&&Rl(Ai,Da(ar.typeExpression),Aa)}Gr|=e.getObjectFlags(Ai)&917504;var Wt=Bi&&gu(Bi)?Bi:void 0,Ft=Wt?fo(4|Li.flags,vu(Wt),Ue|4096):fo(4|Li.flags,Li.escapedName,Ue);if(Wt&&(Ft.nameType=Wt),i){var _n=Aa.kind===294&&cg(Aa.initializer)||Aa.kind===295&&Aa.objectAssignmentInitializer;_n&&(Ft.flags|=16777216)}else if(ce&&!(e.getObjectFlags(G)&512)){var Ca=Ii(G,Li.escapedName);Ca?Ft.flags|=Ca.flags&16777216:!Xe.suppressExcessPropertyErrors&&!oc(G,xt)&&Mr(Aa.name,e.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Wa(Li),gn(G))}Ft.declarations=Li.declarations,Ft.parent=Li.parent,Li.valueDeclaration&&(Ft.valueDeclaration=Li.valueDeclaration),Ft.type=Ai,Ft.target=Li,Li=Ft,o==null||o.set(Ft.escapedName,Ft)}else if(Aa.kind===296){De<2&&nl(Aa,2),c.length>0&&(L=wp(L,Pi(),r.symbol,Gr,we),c=[],s=e.createSymbolTable(),Et=!1,Tt=!1,At=!1);var Ai=Eo(ui(Aa.expression));if(ug(Ai)){var Yn=v0(Ai,we);if(o&&JA(Yn,o,Aa),ca=c.length,Ua(L))continue;L=wp(L,Yn,r.symbol,Gr,we)}else Mr(Aa,e.Diagnostics.Spread_types_may_only_be_created_from_object_types),L=dr;continue}else e.Debug.assert(Aa.kind===171||Aa.kind===172),Sv(Aa);Bi&&!(Bi.flags&8576)?Qi(Bi,pt)&&(Qi(Bi,wt)?Tt=!0:Qi(Bi,na)?At=!0:Et=!0,i&&(Zr=!0)):s.set(Li.escapedName,Li),c.push(Li)}if(ce&&r.parent.kind!==296)for(var Ba=0,Ti=Yi(G);Ba<Ti.length;Ba++){var Ft=Ti[Ba];!s.get(Ft.escapedName)&&!Ii(L,Ft.escapedName)&&(Ft.flags&16777216||Mr(Ft.valueDeclaration||Ft.bindingElement,e.Diagnostics.Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value),s.set(Ft.escapedName,Ft),c.push(Ft))}if(Ua(L))return dr;if(L!==Qn)return c.length>0&&(L=wp(L,Pi(),r.symbol,Gr,we),c=[],s=e.createSymbolTable(),Et=!1,Tt=!1),ds(L,function(jn){return jn===Qn?Pi():jn});return Pi();function Pi(){var jn=[];Et&&jn.push(S1(r,ca,c,xt)),Tt&&jn.push(S1(r,ca,c,wt)),At&&jn.push(S1(r,ca,c,na));var Fi=ts(r.symbol,s,e.emptyArray,e.emptyArray,jn);return Fi.objectFlags|=Gr|128|262144,_r&&(Fi.objectFlags|=8192),Zr&&(Fi.objectFlags|=512),i&&(Fi.pattern=r),Fi}}function ug(r){if(r.flags&465829888){var t=l(r);if(t!==void 0)return ug(t)}return!!(r.flags&126615553||lc(r)&117632&&ug(HL(r))||r.flags&3145728&&e.every(r.types,ug))}function MM(r){C1(r)}function PM(r,t){return Sv(r),Sh(r)||Ze}function FM(r){C1(r.openingElement),fg(r.closingElement.tagName)?L1(r.closingElement):ui(r.closingElement.tagName),ub(r)}function GM(r,t){return Sv(r),Sh(r)||Ze}function BM(r){C1(r.openingFragment);var t=e.getSourceFileOfNode(r);return e.getJSXTransformEnabled(Xe)&&(Xe.jsxFactory||t.pragmas.has(\"jsx\"))&&!Xe.jsxFragmentFactory&&!t.pragmas.has(\"jsxfrag\")&&Mr(r,Xe.jsxFactory?e.Diagnostics.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:e.Diagnostics.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments),ub(r),Sh(r)||Ze}function D1(r){return e.stringContains(r,\"-\")}function fg(r){return r.kind===79&&e.isIntrinsicJsxName(r.escapedText)}function HA(r,t){return r.initializer?hg(r.initializer,t):sa}function UM(r,t){for(var i=r.attributes,o=br?e.createSymbolTable():void 0,s=e.createSymbolTable(),c=Ra,L=!1,G,ce=!1,we=2048,Ue=fb(Em(r)),Je=0,ar=i.properties;Je<ar.length;Je++){var _r=ar[Je],Gr=_r.symbol;if(e.isJsxAttribute(_r)){var Zr=HA(_r,t);we|=e.getObjectFlags(Zr)&917504;var Et=fo(4|Gr.flags,Gr.escapedName);Et.declarations=Gr.declarations,Et.parent=Gr.parent,Gr.valueDeclaration&&(Et.valueDeclaration=Gr.valueDeclaration),Et.type=Zr,Et.target=Gr,s.set(Et.escapedName,Et),o==null||o.set(Et.escapedName,Et),_r.name.escapedText===Ue&&(ce=!0)}else{e.Debug.assert(_r.kind===286),s.size>0&&(c=wp(c,la(),i.symbol,we,!1),s=e.createSymbolTable());var Zr=Eo(Ss(_r.expression,t));Na(Zr)&&(L=!0),ug(Zr)?(c=wp(c,Zr,i.symbol,we,!1),o&&JA(Zr,o,_r)):G=G?To([G,Zr]):Zr}}L||s.size>0&&(c=wp(c,la(),i.symbol,we,!1));var Tt=r.parent.kind===277?r.parent:void 0;if(Tt&&Tt.openingElement===r&&Tt.children.length>0){var At=ub(Tt,t);if(!L&&Ue&&Ue!==\"\"){ce&&Mr(i,e.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,e.unescapeLeadingUnderscores(Ue));var Vt=Up(r.attributes),Nn=Vt&&b_(Vt,Ue),on=fo(4,Ue);on.type=At.length===1?At[0]:Nn&&hm(Nn,ig)?Tu(At):zs(ma(At)),on.valueDeclaration=e.factory.createPropertySignature(void 0,e.unescapeLeadingUnderscores(Ue),void 0,void 0),e.setParent(on.valueDeclaration,i),on.valueDeclaration.symbol=on;var ca=e.createSymbolTable();ca.set(Ue,on),c=wp(c,ts(i.symbol,ca,e.emptyArray,e.emptyArray,e.emptyArray),i.symbol,we,!1)}}if(L)return Ze;if(G&&c!==Ra)return To([G,c]);return G||(c===Ra?la():c);function la(){we|=gr;var di=ts(i.symbol,s,e.emptyArray,e.emptyArray,e.emptyArray);return di.objectFlags|=we|128|262144,di}}function ub(r,t){for(var i=[],o=0,s=r.children;o<s.length;o++){var c=s[o];if(c.kind===11)c.containsOnlyTriviaWhiteSpaces||i.push(xt);else{if(c.kind===287&&!c.expression)continue;i.push(hg(c,t))}}return i}function JA(r,t,i){for(var o=0,s=Yi(r);o<s.length;o++){var c=s[o];if(!(c.flags&16777216)){var L=t.get(c.escapedName);if(L){var G=Mr(L.valueDeclaration,e.Diagnostics._0_is_specified_more_than_once_so_this_usage_will_be_overwritten,e.unescapeLeadingUnderscores(L.escapedName));e.addRelatedInfo(G,e.createDiagnosticForNode(i,e.Diagnostics.This_spread_always_overwrites_this_property))}}}}function VM(r,t){return UM(r.parent,t)}function Vp(r,t){var i=Em(t),o=i&&Js(i),s=o&&ks(o,r,788968);return s?po(s):dr}function L1(r){var t=Zn(r);if(!t.resolvedSymbol){var i=Vp(P.IntrinsicElements,r);if(Ua(i))return Ke&&Mr(r,e.Diagnostics.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists,e.unescapeLeadingUnderscores(P.IntrinsicElements)),t.resolvedSymbol=We;if(!e.isIdentifier(r.tagName))return e.Debug.fail();var o=Ii(i,r.tagName.escapedText);if(o)return t.jsxFlags|=1,t.resolvedSymbol=o;var s=tu(i,xt);return s?(t.jsxFlags|=2,t.resolvedSymbol=i.symbol):(Mr(r,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.idText(r.tagName),\"JSX.\"+P.IntrinsicElements),t.resolvedSymbol=We)}return t.resolvedSymbol}function A1(r){var t=r&&e.getSourceFileOfNode(r),i=t&&Zn(t);if(!(i&&i.jsxImplicitImportContainer===!1)){if(i&&i.jsxImplicitImportContainer)return i.jsxImplicitImportContainer;var o=e.getJSXRuntimeImport(e.getJSXImplicitImportBase(Xe,t),Xe);if(!!o){var s=e.getEmitModuleResolutionKind(Xe)===e.ModuleResolutionKind.Classic,c=s?e.Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:e.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations,L=Qu(r,o,c,r),G=L&&L!==We?Ga(wo(L)):void 0;return i&&(i.jsxImplicitImportContainer=G||!1),G}}}function Em(r){var t=r&&Zn(r);if(t&&t.jsxNamespace)return t.jsxNamespace;if(!t||t.jsxNamespace!==!1){var i=A1(r);if(!i||i===We){var o=bo(r);i=Uo(r,o,1920,void 0,o,!1)}if(i){var s=wo(ks(Js(wo(i)),P.JSX,1920));if(s&&s!==We)return t&&(t.jsxNamespace=s),s}t&&(t.jsxNamespace=!1)}var c=wo(Kg(P.JSX,1920,void 0));if(c!==We)return c}function KA(r,t){var i=t&&ks(t.exports,r,788968),o=i&&po(i),s=o&&Yi(o);if(s){if(s.length===0)return\"\";if(s.length===1)return s[0].escapedName;s.length>1&&i.declarations&&Mr(i.declarations[0],e.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,e.unescapeLeadingUnderscores(r))}}function WM(r){return r&&ks(r.exports,P.LibraryManagedAttributes,788968)}function jM(r){return KA(P.ElementAttributesPropertyNameContainer,r)}function fb(r){return KA(P.ElementChildrenAttributeNameContainer,r)}function zA(r,t){if(r.flags&4)return[No];if(r.flags&128){var i=qA(r,t);if(i){var o=Eb(t,i);return[o]}else return Mr(t,e.Diagnostics.Property_0_does_not_exist_on_type_1,r.value,\"JSX.\"+P.IntrinsicElements),e.emptyArray}var s=wi(r),c=Ni(s,1);return c.length===0&&(c=Ni(s,0)),c.length===0&&s.flags&1048576&&(c=Vg(e.map(s.types,function(L){return zA(L,t)}))),c}function qA(r,t){var i=Vp(P.IntrinsicElements,t);if(!Ua(i)){var o=r.value,s=Ii(i,e.escapeLeadingUnderscores(o));if(s)return An(s);var c=tu(i,xt);return c||void 0}return Ze}function HM(r,t,i){if(r===1){var o=QA(i);o&&au(t,o,Ta,i.tagName,e.Diagnostics.Its_return_type_0_is_not_a_valid_JSX_element,L)}else if(r===0){var s=YA(i);s&&au(t,s,Ta,i.tagName,e.Diagnostics.Its_instance_type_0_is_not_a_valid_JSX_element,L)}else{var o=QA(i),s=YA(i);if(!o||!s)return;var c=ma([o,s]);au(t,c,Ta,i.tagName,e.Diagnostics.Its_element_type_0_is_not_a_valid_JSX_element,L)}function L(){var G=e.getTextOfNode(i.tagName);return e.chainDiagnosticMessages(void 0,e.Diagnostics._0_cannot_be_used_as_a_JSX_component,G)}}function XA(r){e.Debug.assert(fg(r.tagName));var t=Zn(r);if(!t.resolvedJsxElementAttributesType){var i=L1(r);return t.jsxFlags&1?t.resolvedJsxElementAttributesType=An(i)||dr:t.jsxFlags&2?t.resolvedJsxElementAttributesType=tu(Vp(P.IntrinsicElements,r),xt)||dr:t.resolvedJsxElementAttributesType=dr}return t.resolvedJsxElementAttributesType}function YA(r){var t=Vp(P.ElementClass,r);if(!Ua(t))return t}function Sh(r){return Vp(P.Element,r)}function QA(r){var t=Sh(r);if(t)return ma([t,ut])}function JM(r){var t=Vp(P.IntrinsicElements,r);return t?Yi(t):e.emptyArray}function KM(r){(Xe.jsx||0)===0&&Mr(r,e.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided),Sh(r)===void 0&&Ke&&Mr(r,e.Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist)}function C1(r){var t=e.isJsxOpeningLikeElement(r);if(t&&aF(r),KM(r),!A1(r)){var i=ua&&Xe.jsx===2?e.Diagnostics.Cannot_find_name_0:void 0,o=bo(r),s=t?r.tagName:r,c=void 0;if(e.isJsxOpeningFragment(r)&&o===\"null\"||(c=Uo(s,o,111551,i,o,!0)),c&&(c.isReferenced=67108863,c.flags&2097152&&!Ln(c)&&ii(c)),e.isJsxOpeningFragment(r)){var L=e.getSourceFileOfNode(r),G=Ns(L);G&&Uo(s,G,111551,i,G,!0)}}if(t){var ce=r,we=_g(ce);Sb(we,r),HM(SC(ce),_o(we),ce)}}function x1(r,t,i){if(r.flags&524288){if(hd(r,t)||ip(r,t)||Ip(t)&&oc(r,xt)||i&&D1(t))return!0}else if(r.flags&3145728&&Dh(r))for(var o=0,s=r.types;o<s.length;o++){var c=s[o];if(x1(c,t,i))return!0}return!1}function Dh(r){return!!(r.flags&524288&&!(e.getObjectFlags(r)&512)||r.flags&67108864||r.flags&1048576&&e.some(r.types,Dh)||r.flags&2097152&&e.every(r.types,Dh))}function zM(r,t){if(oF(r),r.expression){var i=ui(r.expression,t);return r.dotDotDotToken&&i!==Ze&&!el(i)&&Mr(r,e.Diagnostics.JSX_spread_child_must_be_an_array_type),i}else return dr}function cv(r){return r.valueDeclaration?e.getCombinedNodeFlags(r.valueDeclaration):0}function I1(r){if(r.flags&8192||e.getCheckFlags(r)&4)return!0;if(e.isInJSFile(r.valueDeclaration)){var t=r.valueDeclaration.parent;return t&&e.isBinaryExpression(t)&&e.getAssignmentDeclarationKind(t)===3}}function N1(r,t,i,o,s,c){c===void 0&&(c=!0);var L=c?r.kind===160?r.right:r.kind===199?r:r.kind===202&&r.propertyName?r.propertyName:r.name:void 0;return ZA(r,t,i,o,s,L)}function ZA(r,t,i,o,s,c){var L=e.getDeclarationModifierFlagsFromSymbol(s,i);if(t){if(De<2&&$A(s))return c&&Mr(c,e.Diagnostics.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword),!1;if(L&128)return c&&Mr(c,e.Diagnostics.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,Wa(s),gn(U_(s))),!1}if(L&128&&$A(s)&&(e.isThisProperty(r)||e.isThisInitializedObjectBindingExpression(r)||e.isObjectBindingPattern(r.parent)&&e.isThisInitializedDeclaration(r.parent.parent))){var G=e.getClassLikeDeclarationOfSymbol(Ts(s));if(G&&r8(r))return c&&Mr(c,e.Diagnostics.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,Wa(s),e.getTextOfIdentifierOrLiteral(G.name)),!1}if(!(L&24))return!0;if(L&8){var G=e.getClassLikeDeclarationOfSymbol(Ts(s));return ST(r,G)?!0:(c&&Mr(c,e.Diagnostics.Property_0_is_private_and_only_accessible_within_class_1,Wa(s),gn(U_(s))),!1)}if(t)return!0;var ce=oI(r,function(Je){var ar=po(wn(Je));return CR(ar,s,i)?ar:void 0});if(!ce){var we=void 0;if(L&32||!(we=qM(r))||!we.type)return c&&Mr(c,e.Diagnostics.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,Wa(s),gn(U_(s)||o)),!1;var Ue=Da(we.type);ce=(Ue.flags&262144?Nl(Ue):Ue).target}return L&32?!0:(o.flags&262144&&(o=o.isThisType?Nl(o):l(o)),!o||!Cp(o,ce)?(c&&Mr(c,e.Diagnostics.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2,Wa(s),gn(ce),gn(o)),!1):!0)}function qM(r){var t=e.getThisContainer(r,!1);return t&&e.isFunctionLike(t)?e.getThisParameter(t):void 0}function $A(r){return!!fh(r,function(t){return!(t.flags&8192)})}function dg(r){return iu(ui(r),r)}function db(r){return!!((br?lc(r):r.flags)&98304)}function k1(r){return db(r)?Td(r):r}function XM(r,t){Mr(r,t&32768?t&65536?e.Diagnostics.Object_is_possibly_null_or_undefined:e.Diagnostics.Object_is_possibly_undefined:e.Diagnostics.Object_is_possibly_null)}function YM(r,t){Mr(r,t&32768?t&65536?e.Diagnostics.Cannot_invoke_an_object_which_is_possibly_null_or_undefined:e.Diagnostics.Cannot_invoke_an_object_which_is_possibly_undefined:e.Diagnostics.Cannot_invoke_an_object_which_is_possibly_null)}function eC(r,t,i){if(br&&r.flags&2)return Mr(t,e.Diagnostics.Object_is_of_type_unknown),dr;var o=(br?lc(r):r.flags)&98304;if(o){i(t,o);var s=Td(r);return s.flags&229376?dr:s}return r}function iu(r,t){return eC(r,t,XM)}function rC(r,t){var i=iu(r,t);return i.flags&16384&&Mr(t,e.Diagnostics.Object_is_possibly_undefined),i}function tC(r,t){return r.flags&32?QM(r,t):R1(r,r.expression,dg(r.expression),r.name,t)}function QM(r,t){var i=ui(r.expression),o=tv(i,r.expression);return Vy(R1(r,r.expression,iu(o,r.expression),r.name,t),r,o!==i)}function nC(r,t){var i=e.isPartOfTypeQuery(r)&&e.isThisIdentifier(r.left)?iu(ib(r.left),r.left):dg(r.left);return R1(r,r.left,i,r.right,t)}function aC(r){for(;r.parent.kind===211;)r=r.parent;return e.isCallOrNewExpression(r.parent)&&r.parent.expression===r}function pb(r,t){for(var i=e.getContainingClass(t);i;i=e.getContainingClass(i)){var o=i.symbol,s=e.getSymbolNameForPrivateIdentifier(o,r),c=o.members&&o.members.get(s)||o.exports&&o.exports.get(s);if(c)return c}}function ZM(r){return e.getContainingClass(r)?e.isExpressionNode(r)?_b(r)?!1:sn(r,e.Diagnostics.Cannot_find_name_0,e.idText(r)):sn(r,e.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):sn(r,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies)}function $M(r){ZM(r);var t=_b(r);return t&&Ah(t,void 0,!1),Ze}function _b(r){if(!!e.isExpressionNode(r)){var t=Zn(r);return t.resolvedSymbol===void 0&&(t.resolvedSymbol=pb(r.escapedText,r)),t.resolvedSymbol}}function O1(r,t){return Ii(r,t.escapedName)}function eP(r,t,i){var o,s=Yi(r);s&&e.forEach(s,function(Je){var ar=Je.valueDeclaration;if(ar&&e.isNamedDeclaration(ar)&&e.isPrivateIdentifier(ar.name)&&ar.name.escapedText===t.escapedText)return o=Je,!0});var c=Xl(t);if(o){var L=e.Debug.checkDefined(o.valueDeclaration),G=e.Debug.checkDefined(e.getContainingClass(L));if(i!=null&&i.valueDeclaration){var ce=i.valueDeclaration,we=e.getContainingClass(ce);if(e.Debug.assert(!!we),e.findAncestor(we,function(Je){return G===Je})){var Ue=Mr(t,e.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,c,gn(r));return e.addRelatedInfo(Ue,e.createDiagnosticForNode(ce,e.Diagnostics.The_shadowing_declaration_of_0_is_defined_here,c),e.createDiagnosticForNode(L,e.Diagnostics.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here,c)),!0}}return Mr(t,e.Diagnostics.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier,c,Xl(G.name||f)),!0}return!1}function iC(r,t){return(a_(t)||e.isThisProperty(r)&&xe(t))&&e.getThisContainer(r,!0)===Er(t)}function R1(r,t,i,o,s){var c=Zn(t).resolvedSymbol,L=e.getAssignmentTargetKind(r),G=wi(L!==0||aC(r)?wl(i):i),ce=Na(G)||G===St,we;if(e.isPrivateIdentifier(o)){De<99&&(L!==0&&nl(r,1048576),L!==1&&nl(r,524288));var Ue=pb(o.escapedText,o);if(L&&Ue&&Ue.valueDeclaration&&e.isMethodDeclaration(Ue.valueDeclaration)&&sn(o,e.Diagnostics.Cannot_assign_to_private_method_0_Private_methods_are_not_writable,e.idText(o)),(Ue==null?void 0:Ue.valueDeclaration)&&e.getEmitScriptTarget(Xe)===99&&!Ye){var Je=e.getContainingClass(Ue.valueDeclaration),ar=e.findAncestor(r,function(Nn){return Nn===Je?\"quit\":!!(e.isPropertyDeclaration(Nn.parent)&&e.hasStaticModifier(Nn.parent)&&Nn.parent.initializer===Nn&&Nn.parent.parent===Je)});if(ar){var _r=wn(ar.parent);e.Debug.assert(_r,\"Initializer without declaration symbol\");var Gr=Mr(r,e.Diagnostics.Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnext_and_useDefineForClassFields_is_false,e.symbolName(Ue));e.addRelatedInfo(Gr,e.createDiagnosticForNode(ar.parent,e.Diagnostics.Initializer_for_property_0,e.symbolName(_r)))}}if(ce){if(Ue)return Ua(G)?dr:G;if(!e.getContainingClass(o))return sn(o,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),Ze}if(we=Ue?O1(i,Ue):void 0,!we&&eP(i,o,Ue))return dr;var Zr=we&&we.flags&65536&&!(we.flags&32768);Zr&&L!==1&&Mr(r,e.Diagnostics.Private_accessor_was_defined_without_a_getter)}else{if(ce)return e.isIdentifier(t)&&c&&ab(c,r),Ua(G)?dr:G;we=Ii(G,o.escapedText)}e.isIdentifier(t)&&c&&(Xe.isolatedModules||!(we&&Dv(we))||e.shouldPreserveConstEnums(Xe)&&CA(r))&&ab(c,r);var Et;if(we){we.declarations&&cv(we)&134217728&&u0(r,we)&&kc(o,we.declarations,o.escapedText),rP(we,r,o),Ah(we,r,dC(t,c)),Zn(r).resolvedSymbol=we;var Vt=e.isWriteAccess(r);if(N1(r,t.kind===106,Vt,G,we),ZC(r,we,L))return Mr(o,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,e.idText(o)),dr;Et=iC(r,we)?Cr:Vt?Mv(we):An(we)}else{var Tt=!e.isPrivateIdentifier(o)&&(L===0||!P_(i)||oh(i))?ip(G,o.escapedText):void 0;if(!(Tt&&Tt.type)){var At=w1(r,i.symbol,!0);return!At&&Xg(i)?Ze:i.symbol===pr?(pr.exports.has(o.escapedText)&&pr.exports.get(o.escapedText).flags&418?Mr(o,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(o.escapedText),gn(i)):Ke&&Mr(o,e.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature,gn(i)),Ze):(o.escapedText&&!bp(r)&&lC(o,oh(i)?G:i,At),dr)}Tt.isReadonly&&(e.isAssignmentTarget(r)||e.isDeleteTarget(r))&&Mr(r,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,gn(G)),Et=Xe.noUncheckedIndexedAccess&&!e.isAssignmentTarget(r)?ma([Tt.type,Nr]):Tt.type,Xe.noPropertyAccessFromIndexSignature&&e.isPropertyAccessExpression(r)&&Mr(o,e.Diagnostics.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0,e.unescapeLeadingUnderscores(o.escapedText))}return oC(r,we,Et,o,s)}function w1(r,t,i){var o=e.getSourceFileOfNode(r);if(o&&Xe.checkJs===void 0&&o.checkJsDirective===void 0&&(o.scriptKind===1||o.scriptKind===2)){var s=e.forEach(t==null?void 0:t.declarations,e.getSourceFileOfNode);return!(o!==s&&!!s&&Oc(s))&&!(i&&t&&t.flags&32)&&!(!!r&&i&&e.isPropertyAccessExpression(r)&&r.expression.kind===108)}return!1}function oC(r,t,i,o,s){var c=e.getAssignmentTargetKind(r);if(c===1)return gm(i,!!(t&&t.flags&16777216));if(t&&!(t.flags&98311)&&!(t.flags&8192&&i.flags&1048576)&&!Ub(t.declarations))return i;if(i===Cr)return Xt(r,t);i=u1(i,r,s);var L=!1;if(br&&kr&&e.isAccessExpression(r)&&r.expression.kind===108){var G=t&&t.valueDeclaration;if(G&&Xx(G)&&!e.isStatic(G)){var ce=sv(r);ce.kind===170&&ce.parent===G.parent&&!(G.flags&8388608)&&(L=!0)}}else br&&t&&t.valueDeclaration&&e.isPropertyAccessExpression(t.valueDeclaration)&&e.getAssignmentDeclarationPropertyAccessKind(t.valueDeclaration)&&sv(r)===sv(t.valueDeclaration)&&(L=!0);var we=y_(r,i,L?Jf(i):i);return L&&!(lc(i)&32768)&&lc(we)&32768?(Mr(o,e.Diagnostics.Property_0_is_used_before_being_assigned,Wa(t)),i):c?Du(we):we}function rP(r,t,i){var o=r.valueDeclaration;if(!(!o||e.getSourceFileOfNode(t).isDeclarationFile)){var s,c=e.idText(i);sC(t)&&!vk(o)&&!(e.isAccessExpression(t)&&e.isAccessExpression(t.expression))&&!Ou(o,i)&&(Xe.useDefineForClassFields||!tP(r))?s=Mr(i,e.Diagnostics.Property_0_is_used_before_its_initialization,c):o.kind===256&&t.parent.kind!==177&&!(o.flags&8388608)&&!Ou(o,i)&&(s=Mr(i,e.Diagnostics.Class_0_used_before_its_declaration,c)),s&&e.addRelatedInfo(s,e.createDiagnosticForNode(o,e.Diagnostics._0_is_declared_here,c))}}function sC(r){return!!e.findAncestor(r,function(t){switch(t.kind){case 166:return!0;case 294:case 168:case 171:case 172:case 296:case 161:case 232:case 287:case 284:case 285:case 286:case 279:case 227:case 290:return!1;case 213:case 237:return e.isBlock(t.parent)&&e.isClassStaticBlockDeclaration(t.parent.parent)?!0:\"quit\";default:return e.isExpressionNode(t)?!1:\"quit\"}})}function tP(r){if(!(r.parent.flags&32))return!1;for(var t=An(r.parent);;){if(t=t.symbol&&nP(t),!t)return!1;var i=Ii(t,r.escapedName);if(i&&i.valueDeclaration)return!0}}function nP(r){var t=xl(r);if(t.length!==0)return To(t)}function lC(r,t,i){var o,s;if(!e.isPrivateIdentifier(r)&&t.flags&1048576&&!(t.flags&131068))for(var c=0,L=t.types;c<L.length;c++){var G=L[c];if(!Ii(G,r.escapedText)&&!ip(G,r.escapedText)){o=e.chainDiagnosticMessages(o,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.declarationNameToString(r),gn(G));break}}if(cC(r.escapedText,t)){var ce=e.declarationNameToString(r),we=gn(t);o=e.chainDiagnosticMessages(o,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,ce,we,we+\".\"+ce)}else{var Ue=hv(t);if(Ue&&Ii(Ue,r.escapedText))o=e.chainDiagnosticMessages(o,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.declarationNameToString(r),gn(t)),s=e.createDiagnosticForNode(r,e.Diagnostics.Did_you_forget_to_use_await);else{var Je=e.declarationNameToString(r),ar=gn(t),_r=oP(Je,t);if(_r!==void 0)o=e.chainDiagnosticMessages(o,e.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,Je,ar,_r);else{var Gr=M1(r,t);if(Gr!==void 0){var Zr=e.symbolName(Gr),Et=i?e.Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2:e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2;o=e.chainDiagnosticMessages(o,Et,Je,ar,Zr),s=Gr.valueDeclaration&&e.createDiagnosticForNode(Gr.valueDeclaration,e.Diagnostics._0_is_declared_here,Zr)}else{var Tt=aP(t)?e.Diagnostics.Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:e.Diagnostics.Property_0_does_not_exist_on_type_1;o=e.chainDiagnosticMessages(Jm(o,t),Tt,Je,ar)}}}}var At=e.createDiagnosticForNodeFromMessageChain(r,o);s&&e.addRelatedInfo(At,s),$l(!i||o.code!==e.Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,At)}function aP(r){return Xe.lib&&!Xe.lib.includes(\"dom\")&&Cw(r,function(t){return t.symbol&&/^(EventTarget|Node|((HTML[a-zA-Z]*)?Element))$/.test(e.unescapeLeadingUnderscores(t.symbol.escapedName))})&&cf(r)}function cC(r,t){var i=t.symbol&&Ii(An(t.symbol),r);return i!==void 0&&!!i.valueDeclaration&&e.isStatic(i.valueDeclaration)}function iP(r){for(var t=Xl(r),i=e.getScriptTargetFeatures(),o=e.getOwnKeys(i),s=0,c=o;s<c.length;s++){var L=c[s],G=e.getOwnKeys(i[L]);if(G!==void 0&&e.contains(G,t))return L}}function oP(r,t){var i=wi(t).symbol;if(!!i)for(var o=e.getScriptTargetFeatures(),s=e.getOwnKeys(o),c=0,L=s;c<L.length;c++){var G=L[c],ce=o[G],we=ce[e.symbolName(i)];if(we!==void 0&&e.contains(we,r))return G}}function uC(r,t){return Lh(r,Yi(t),106500)}function M1(r,t){var i=Yi(t);if(typeof r!=\"string\"){var o=r.parent;e.isPropertyAccessExpression(o)&&(i=e.filter(i,function(s){return pC(o,t,s)})),r=e.idText(r)}return Lh(r,i,111551)}function fC(r,t){var i=e.isString(r)?r:e.idText(r),o=Yi(t),s=i===\"for\"?e.find(o,function(c){return e.symbolName(c)===\"htmlFor\"}):i===\"class\"?e.find(o,function(c){return e.symbolName(c)===\"className\"}):void 0;return s!=null?s:Lh(i,o,111551)}function P1(r,t){var i=M1(r,t);return i&&e.symbolName(i)}function F1(r,t,i){e.Debug.assert(t!==void 0,\"outername should always be defined\");var o=$f(r,t,i,void 0,t,!1,!1,!0,function(s,c,L){e.Debug.assertEqual(t,c,\"name should equal outerName\");var G=ks(s,c,L);if(G)return G;var ce;if(s===Pr){var we=e.mapDefined([\"string\",\"number\",\"boolean\",\"object\",\"bigint\",\"symbol\"],function(Ue){return s.has(Ue.charAt(0).toUpperCase()+Ue.slice(1))?fo(524288,Ue):void 0});ce=we.concat(e.arrayFrom(s.values()))}else ce=e.arrayFrom(s.values());return Lh(e.unescapeLeadingUnderscores(c),ce,L)});return o}function sP(r,t,i){var o=F1(r,t,i);return o&&e.symbolName(o)}function mb(r,t){return t.exports&&Lh(e.idText(r),cd(t),2623475)}function lP(r,t){var i=mb(r,t);return i&&e.symbolName(i)}function cP(r,t,i){function o(L){var G=hd(r,L);if(G){var ce=j_(An(G));return!!ce&&Cu(ce)>=1&&Qi(i,Uc(ce,0))}return!1}var s=e.isAssignmentTarget(t)?\"set\":\"get\";if(!!o(s)){var c=e.tryGetPropertyAccessOrIdentifierToString(t.expression);return c===void 0?c=s:c+=\".\"+s,c}}function uP(r,t){var i=t.types.filter(function(o){return!!(o.flags&128)});return e.getSpellingSuggestion(r.value,i,function(o){return o.value})}function Lh(r,t,i){return e.getSpellingSuggestion(r,t,o);function o(s){var c=e.symbolName(s);if(!e.startsWith(c,'\"')){if(s.flags&i)return c;if(s.flags&2097152){var L=$p(s);if(L&&L.flags&i)return c}}}}function Ah(r,t,i){var o=r&&r.flags&106500&&r.valueDeclaration;if(!!o){var s=e.hasEffectiveModifier(o,8),c=r.valueDeclaration&&e.isNamedDeclaration(r.valueDeclaration)&&e.isPrivateIdentifier(r.valueDeclaration.name);if(!(!s&&!c)&&!(t&&e.isWriteOnlyAccess(t)&&!(r.flags&65536))){if(i){var L=e.findAncestor(t,e.isFunctionLikeDeclaration);if(L&&L.symbol===r)return}(e.getCheckFlags(r)&1?Ja(r).target:r).isReferenced=67108863}}}function dC(r,t){return r.kind===108||!!t&&e.isEntityNameExpression(r)&&t===Lu(e.getFirstIdentifier(r))}function fP(r,t){switch(r.kind){case 205:return G1(r,r.expression.kind===106,t,wl(ui(r.expression)));case 160:return G1(r,!1,t,wl(ui(r.left)));case 199:return G1(r,!1,t,Da(r))}}function pC(r,t,i){return B1(r,r.kind===205&&r.expression.kind===106,!1,t,i)}function G1(r,t,i,o){if(Na(o))return!0;var s=Ii(o,i);return!!s&&B1(r,t,!1,o,s)}function B1(r,t,i,o,s){if(Na(o))return!0;if(s.valueDeclaration&&e.isPrivateIdentifierClassElementDeclaration(s.valueDeclaration)){var c=e.getContainingClass(s.valueDeclaration);return!e.isOptionalChain(r)&&!!e.findAncestor(r,function(L){return L===c})}return ZA(r,t,i,o,s)}function dP(r){var t=r.initializer;if(t.kind===254){var i=t.declarations[0];if(i&&!e.isBindingPattern(i.name))return wn(i)}else if(t.kind===79)return Lu(t)}function pP(r){return Ps(r).length===1&&!!oc(r,wt)}function _P(r){var t=e.skipParentheses(r);if(t.kind===79){var i=Lu(t);if(i.flags&3)for(var o=r,s=r.parent;s;){if(s.kind===242&&o===s.statement&&dP(s)===i&&pP(tl(s.expression)))return!0;o=s,s=s.parent}}return!1}function mP(r,t){return r.flags&32?gP(r,t):_C(r,dg(r.expression),t)}function gP(r,t){var i=ui(r.expression),o=tv(i,r.expression);return Vy(_C(r,iu(o,r.expression),t),r,o!==i)}function _C(r,t,i){var o=e.getAssignmentTargetKind(r)!==0||aC(r)?wl(t):t,s=r.argumentExpression,c=ui(s);if(Ua(o)||o===St)return o;if(Z1(o)&&!e.isStringLiteralLike(s))return Mr(s,e.Diagnostics.A_const_enum_member_can_only_be_accessed_using_a_string_literal),dr;var L=_P(s)?wt:c,G=e.isAssignmentTarget(r)?4|(P_(o)&&!oh(o)?2:0):32,ce=cp(o,L,G,r)||dr;return vx(oC(r,Zn(r).resolvedSymbol,ce,s,i),r)}function mC(r){return e.isCallOrNewExpression(r)||e.isTaggedTemplateExpression(r)||e.isJsxOpeningLikeElement(r)}function Tm(r){return mC(r)&&e.forEach(r.typeArguments,Wi),r.kind===209?ui(r.template):e.isJsxOpeningLikeElement(r)?ui(r.attributes):r.kind!==164&&e.forEach(r.arguments,function(t){ui(t)}),No}function Au(r){return Tm(r),lo}function vP(r,t,i){var o,s,c=0,L,G=-1,ce;e.Debug.assert(!t.length);for(var we=0,Ue=r;we<Ue.length;we++){var Je=Ue[we],ar=Je.declaration&&wn(Je.declaration),_r=Je.declaration&&Je.declaration.parent;!s||ar===s?o&&_r===o?L=L+1:(o=_r,L=c):(L=c=t.length,o=_r),s=ar,X(Je)?(G++,ce=G,c++):ce=L,t.splice(ce,0,i?sy(Je,i):Je)}}function gb(r){return!!r&&(r.kind===224||r.kind===231&&r.isSpread)}function vb(r){return e.findIndex(r,gb)}function gC(r){return!!(r.flags&16384)}function hP(r){return!!(r.flags&49155)}function hb(r,t,i,o){o===void 0&&(o=!1);var s,c=!1,L=Tl(i),G=Cu(i);if(r.kind===209)if(s=t.length,r.template.kind===222){var ce=e.last(r.template.templateSpans);c=e.nodeIsMissing(ce.literal)||!!ce.literal.isUnterminated}else{var we=r.template;e.Debug.assert(we.kind===14),c=!!we.isUnterminated}else if(r.kind===164)s=LC(r,i);else if(e.isJsxOpeningLikeElement(r)){if(c=r.attributes.end===r.end,c)return!0;s=G===0?t.length:1,L=t.length===0?L:1,G=Math.min(G,1)}else if(r.arguments){s=o?t.length+1:t.length,c=r.arguments.end===r.end;var Ue=vb(t);if(Ue>=0)return Ue>=Cu(i)&&(xu(i)||Ue<Tl(i))}else return e.Debug.assert(r.kind===208),Cu(i)===0;if(!xu(i)&&s>L)return!1;if(c||s>=G)return!0;for(var Je=s;Je<G;Je++){var ar=Uc(i,Je);if(rl(ar,e.isInJSFile(r)&&!br?hP:gC).flags&131072)return!1}return!0}function vC(r,t){var i=e.length(r.typeParameters),o=lf(r.typeParameters);return!e.some(t)||t.length>=o&&t.length<=i}function j_(r){return uv(r,0,!1)}function hC(r){return uv(r,0,!1)||uv(r,1,!1)}function uv(r,t,i){if(r.flags&524288){var o=Sc(r);if(i||o.properties.length===0&&o.indexInfos.length===0){if(t===0&&o.callSignatures.length===1&&o.constructSignatures.length===0)return o.callSignatures[0];if(t===1&&o.constructSignatures.length===1&&o.callSignatures.length===0)return o.constructSignatures[0]}}}function yC(r,t,i,o){var s=nv(r.typeParameters,r,0,o),c=dv(t),L=i&&(c&&c.flags&262144?i.nonFixingMapper:i.mapper),G=L?pm(t,L):t;return z0(G,r,function(ce,we){uf(s.inferences,ce,we)}),i||q0(t,r,function(ce,we){uf(s.inferences,ce,we,128)}),th(r,a1(s),e.isInJSFile(t.declaration))}function yP(r,t,i,o){var s=cb(t,r),c=Dm(r.attributes,s,o,i);return uf(o.inferences,c,s),a1(o)}function bC(r){if(!r)return Wn;var t=ui(r);return e.isOptionalChainRoot(r.parent)?Td(t):e.isOptionalChain(r.parent)?H0(t):t}function U1(r,t,i,o,s){if(e.isJsxOpeningLikeElement(r))return yP(r,t,o,s);if(r.kind!==164){var c=Ac(r,e.every(t.typeParameters,function(di){return!!Bn(di)})?8:0);if(c){var L=lv(r),G=Q0(qR(L,1)),ce=oi(c,G),we=j_(ce),Ue=we&&we.typeParameters?Ym(XE(we,we.typeParameters)):ce,Je=_o(t);uf(s.inferences,Ue,Je,128);var ar=nv(t.typeParameters,t,s.flags),_r=oi(c,L&&L.returnMapper);uf(ar.inferences,_r,Je),s.returnMapper=e.some(ar.inferences,H_)?Q0(XR(ar)):void 0}}var Gr=pv(t),Zr=Gr?Math.min(Tl(t)-1,i.length):i.length;if(Gr&&Gr.flags&262144){var Et=e.find(s.inferences,function(di){return di.typeParameter===Gr});Et&&(Et.impliedArity=e.findIndex(i,gb,Zr)<0?i.length-Zr:void 0)}var Tt=f_(t);if(Tt){var At=DC(r);uf(s.inferences,bC(At),Tt)}for(var Vt=0;Vt<Zr;Vt++){var Nn=i[Vt];if(Nn.kind!==226){var on=Uc(t,Vt),ca=Dm(Nn,on,s,o);uf(s.inferences,ca,on)}}if(Gr){var la=V1(i,Zr,i.length,Gr,s,o);uf(s.inferences,la,Gr)}return a1(s)}function EC(r){return r.flags&1048576?ds(r,EC):r.flags&1||Gy(l(r)||r)?r:ki(r)?Tu(vo(r),r.target.elementFlags,!1,r.target.labeledElementDeclarations):Tu([r],[8])}function V1(r,t,i,o,s,c){if(t>=i-1){var L=r[i-1];if(gb(L))return EC(L.kind===231?L.type:Dm(L.expression,o,s,c))}for(var G=[],ce=[],we=[],Ue=t;Ue<i;Ue++){var L=r[Ue];if(gb(L)){var Je=L.kind===231?L.type:ui(L.expression);_p(Je)?(G.push(Je),ce.push(8)):(G.push(Ld(33,Je,Nr,L.kind===224?L.expression:L)),ce.push(4))}else{var ar=Hl(o,Wf(Ue-t),256),_r=Dm(L,ar,s,c),Gr=Jo(ar,406978556);G.push(Gr?kl(_r):Pp(_r)),ce.push(1)}L.kind===231&&L.tupleNameSource&&we.push(L.tupleNameSource)}return Tu(G,ce,!1,e.length(we)===e.length(G)?we:void 0)}function TC(r,t,i,o){for(var s=e.isInJSFile(r.declaration),c=r.typeParameters,L=M_(e.map(t,Da),c,lf(c),s),G,ce=0;ce<t.length;ce++){e.Debug.assert(c[ce]!==void 0,\"Should not call checkTypeArguments with too many type arguments\");var we=Nl(c[ce]);if(we){var Ue=i&&o?function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1)}:void 0,Je=o||e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1;G||(G=Ol(c,L));var ar=L[ce];if(!Rl(ar,Il(oi(we,G),ar),i?t[ce]:void 0,Je,Ue))return}}return L}function SC(r){if(fg(r.tagName))return 2;var t=wi(ui(r.tagName));return e.length(Ni(t,1))?0:e.length(Ni(t,0))?1:2}function bP(r,t,i,o,s,c,L){var G=cb(t,r),ce=Dm(r.attributes,G,void 0,o);return we()&&C0(ce,G,i,s?r.tagName:void 0,r.attributes,void 0,c,L);function we(){var Ue;if(A1(r))return!0;var Je=e.isJsxOpeningElement(r)||e.isJsxSelfClosingElement(r)&&!fg(r.tagName)?ui(r.tagName):void 0;if(!Je)return!0;var ar=Ni(Je,0);if(!e.length(ar))return!0;var _r=mI(r);if(!_r)return!0;var Gr=rs(_r,111551,!0,!1,r);if(!Gr)return!0;var Zr=An(Gr),Et=Ni(Zr,0);if(!e.length(Et))return!0;for(var Tt=!1,At=0,Vt=0,Nn=Et;Vt<Nn.length;Vt++){var on=Nn[Vt],ca=Uc(on,0),la=Ni(ca,0);if(!!e.length(la))for(var di=0,Aa=la;di<Aa.length;di++){var Li=Aa[di];if(Tt=!0,xu(Li))return!0;var Bi=Tl(Li);Bi>At&&(At=Bi)}}if(!Tt)return!0;for(var Ai=1/0,xo=0,Wt=ar;xo<Wt.length;xo++){var Ft=Wt[xo],_n=Cu(Ft);_n<Ai&&(Ai=_n)}if(Ai<=At)return!0;if(s){var Ca=e.createDiagnosticForNode(r.tagName,e.Diagnostics.Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3,e.entityNameToString(r.tagName),Ai,e.entityNameToString(_r),At),Yn=(Ue=Vc(r.tagName))===null||Ue===void 0?void 0:Ue.valueDeclaration;Yn&&e.addRelatedInfo(Ca,e.createDiagnosticForNode(Yn,e.Diagnostics._0_is_declared_here,e.entityNameToString(r.tagName))),L&&L.skipLogging&&(L.errors||(L.errors=[])).push(Ca),L.skipLogging||ua.add(Ca)}return!1}}function Ch(r,t,i,o,s,c,L){var G={errors:void 0,skipLogging:!0};if(e.isJsxOpeningLikeElement(r))return bP(r,i,o,s,c,L,G)?void 0:(e.Debug.assert(!c||!!G.errors,\"jsx should have errors when reporting errors\"),G.errors||e.emptyArray);var ce=f_(i);if(ce&&ce!==Wn&&r.kind!==208){var we=DC(r),Ue=bC(we),Je=c?we||r:void 0,ar=e.Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1;if(!au(Ue,ce,o,Je,ar,L,G))return e.Debug.assert(!c||!!G.errors,\"this parameter should have errors when reporting errors\"),G.errors||e.emptyArray}for(var _r=e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1,Gr=pv(i),Zr=Gr?Math.min(Tl(i)-1,t.length):t.length,Et=0;Et<Zr;Et++){var Tt=t[Et];if(Tt.kind!==226){var At=Uc(i,Et),Vt=Dm(Tt,At,void 0,s),Nn=s&4?sg(Vt):Vt;if(!C0(Nn,At,o,c?Tt:void 0,Tt,_r,L,G))return e.Debug.assert(!c||!!G.errors,\"parameter should have errors when reporting errors\"),la(Tt,Nn,At),G.errors||e.emptyArray}}if(Gr){var on=V1(t,Zr,t.length,Gr,void 0,s),ca=t.length-Zr,Je=c?ca===0?r:ca===1?t[Zr]:e.setTextRangePosEnd(Wp(r,on),t[Zr].pos,t[t.length-1].end):void 0;if(!au(on,Gr,o,Je,_r,void 0,G))return e.Debug.assert(!c||!!G.errors,\"rest parameter should have errors when reporting errors\"),la(Je,on,Gr),G.errors||e.emptyArray}return;function la(di,Aa,Li){if(di&&c&&G.errors&&G.errors.length){if(vv(Li))return;var Bi=vv(Aa);Bi&&Hf(Bi,Li,o)&&e.addRelatedInfo(G.errors[0],e.createDiagnosticForNode(di,e.Diagnostics.Did_you_forget_to_use_await))}}}function DC(r){var t=r.kind===207?r.expression:r.kind===209?r.tag:void 0;if(t){var i=e.skipOuterExpressions(t);if(e.isAccessExpression(i))return i.expression}}function Wp(r,t,i,o){var s=e.parseNodeFactory.createSyntheticExpression(t,i,o);return e.setTextRange(s,r),e.setParent(s,r),s}function W1(r){if(r.kind===209){var t=r.template,i=[Wp(t,Rk())];return t.kind===222&&e.forEach(t.templateSpans,function(ce){i.push(ce.expression)}),i}if(r.kind===164)return EP(r);if(e.isJsxOpeningLikeElement(r))return r.attributes.properties.length>0||e.isJsxOpeningElement(r)&&r.parent.children.length>0?[r.attributes]:e.emptyArray;var o=r.arguments||e.emptyArray,s=vb(o);if(s>=0){for(var c=o.slice(0,s),L=function(ce){var we=o[ce],Ue=we.kind===224&&(oo?ui(we.expression):Ss(we.expression));Ue&&ki(Ue)?e.forEach(vo(Ue),function(Je,ar){var _r,Gr=Ue.target.elementFlags[ar],Zr=Wp(we,Gr&4?zs(Je):Je,!!(Gr&12),(_r=Ue.target.labeledElementDeclarations)===null||_r===void 0?void 0:_r[ar]);c.push(Zr)}):c.push(we)},G=s;G<o.length;G++)L(G);return c}return o}function EP(r){var t=r.parent,i=r.expression;switch(t.kind){case 256:case 225:return[Wp(i,An(wn(t)))];case 163:var o=t.parent;return[Wp(i,t.parent.kind===170?An(wn(o)):dr),Wp(i,Ze),Wp(i,wt)];case 166:case 168:case 171:case 172:var s=t.kind!==166&&De!==0;return[Wp(i,c8(t)),Wp(i,u8(t)),Wp(i,s?FD(jp(t)):Ze)]}return e.Debug.fail()}function LC(r,t){switch(r.parent.kind){case 256:case 225:return 1;case 166:return 2;case 168:case 171:case 172:return De===0||t.parameters.length<=2?2:3;case 163:return 3;default:return e.Debug.fail()}}function AC(r,t){var i,o,s=e.getSourceFileOfNode(r);if(e.isPropertyAccessExpression(r.expression)){var c=e.getErrorSpanForNode(s,r.expression.name);i=c.start,o=t?c.length:r.end-i}else{var L=e.getErrorSpanForNode(s,r.expression);i=L.start,o=t?L.length:r.end-i}return{start:i,length:o,sourceFile:s}}function yb(r,t,i,o,s,c){if(e.isCallExpression(r)){var L=AC(r),G=L.sourceFile,ce=L.start,we=L.length;return e.createFileDiagnostic(G,ce,we,t,i,o,s,c)}else return e.createDiagnosticForNode(r,t,i,o,s,c)}function TP(r){if(!e.isCallExpression(r)||!e.isIdentifier(r.expression))return!1;var t=Uo(r.expression,r.expression.escapedText,111551,void 0,void 0,!1),i=t==null?void 0:t.valueDeclaration;if(!i||!e.isParameter(i)||!e.isFunctionExpressionOrArrowFunction(i.parent)||!e.isNewExpression(i.parent.parent)||!e.isIdentifier(i.parent.parent.expression))return!1;var o=e0(!1);if(!o)return!1;var s=Vc(i.parent.parent.expression,!0);return s===o}function CC(r,t,i){var o,s=vb(i);if(s>-1)return e.createDiagnosticForNode(i[s],e.Diagnostics.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter);for(var c=Number.POSITIVE_INFINITY,L=Number.NEGATIVE_INFINITY,G=Number.NEGATIVE_INFINITY,ce=Number.POSITIVE_INFINITY,we,Ue=0,Je=t;Ue<Je.length;Ue++){var ar=Je[Ue],_r=Cu(ar),Gr=Tl(ar);_r<c&&(c=_r,we=ar),L=Math.max(L,Gr),_r<i.length&&_r>G&&(G=_r),i.length<Gr&&Gr<ce&&(ce=Gr)}var Zr=e.some(t,xu),Et=Zr?c:c<L?c+\"-\"+L:c,Tt=Zr?e.Diagnostics.Expected_at_least_0_arguments_but_got_1:Et===1&&i.length===0&&TP(r)?e.Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:e.Diagnostics.Expected_0_arguments_but_got_1;if(c<i.length&&i.length<L)return yb(r,e.Diagnostics.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments,i.length,G,ce);if(i.length<c){var At=yb(r,Tt,Et,i.length),Vt=(o=we==null?void 0:we.declaration)===null||o===void 0?void 0:o.parameters[we.thisParameter?i.length+1:i.length];if(Vt){var Nn=e.createDiagnosticForNode(Vt,e.isBindingPattern(Vt.name)?e.Diagnostics.An_argument_matching_this_binding_pattern_was_not_provided:e.isRestParameter(Vt)?e.Diagnostics.Arguments_for_the_rest_parameter_0_were_not_provided:e.Diagnostics.An_argument_for_0_was_not_provided,Vt.name?e.isBindingPattern(Vt.name)?void 0:e.idText(e.getFirstIdentifier(Vt.name)):i.length);return e.addRelatedInfo(At,Nn)}return At}else{var on=e.factory.createNodeArray(i.slice(L)),ca=e.first(on).pos,la=e.last(on).end;return la===ca&&la++,e.setTextRangePosEnd(on,ca,la),e.createDiagnosticForNodeArray(e.getSourceFileOfNode(r),on,Tt,Et,i.length)}}function SP(r,t,i){var o=i.length;if(t.length===1){var s=t[0],c=lf(s.typeParameters),L=e.length(s.typeParameters);return e.createDiagnosticForNodeArray(e.getSourceFileOfNode(r),i,e.Diagnostics.Expected_0_type_arguments_but_got_1,c<L?c+\"-\"+L:c,o)}for(var G=-1/0,ce=1/0,we=0,Ue=t;we<Ue.length;we++){var s=Ue[we],Je=lf(s.typeParameters),L=e.length(s.typeParameters);Je>o?ce=Math.min(ce,Je):L<o&&(G=Math.max(G,L))}return G!==-1/0&&ce!==1/0?e.createDiagnosticForNodeArray(e.getSourceFileOfNode(r),i,e.Diagnostics.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments,o,G,ce):e.createDiagnosticForNodeArray(e.getSourceFileOfNode(r),i,e.Diagnostics.Expected_0_type_arguments_but_got_1,G===-1/0?ce:G,o)}function pg(r,t,i,o,s,c){var L=r.kind===209,G=r.kind===164,ce=e.isJsxOpeningLikeElement(r),we=!i&&Se,Ue;G||(Ue=r.typeArguments,(L||ce||r.expression.kind!==106)&&e.forEach(Ue,Wi));var Je=i||[];if(vP(t,Je,s),!Je.length)return we&&ua.add(yb(r,e.Diagnostics.Call_target_does_not_contain_any_signatures)),Au(r);var ar=W1(r),_r=Je.length===1&&!Je[0].typeParameters,Gr=!G&&!_r&&e.some(ar,nu)?4:0,Zr,Et,Tt,At,Vt=!!(o&16)&&r.kind===207&&r.arguments.hasTrailingComma;if(Je.length>1&&(At=En(Je,ha,_r,Vt)),At||(At=En(Je,Ta,_r,Vt)),At)return At;if(we)if(Zr)if(Zr.length===1||Zr.length>3){var Nn=Zr[Zr.length-1],on;Zr.length>3&&(on=e.chainDiagnosticMessages(on,e.Diagnostics.The_last_overload_gave_the_following_error),on=e.chainDiagnosticMessages(on,e.Diagnostics.No_overload_matches_this_call));var ca=Ch(r,ar,Nn,Ta,0,!0,function(){return on});if(ca)for(var la=0,di=ca;la<di.length;la++){var Aa=di[la];Nn.declaration&&Zr.length>3&&e.addRelatedInfo(Aa,e.createDiagnosticForNode(Nn.declaration,e.Diagnostics.The_last_overload_is_declared_here)),Vn(Nn,Aa),ua.add(Aa)}else e.Debug.fail(\"No error for last overload signature\")}else{for(var Li=[],Bi=0,Ai=Number.MAX_VALUE,xo=0,Wt=0,Ft=function(Fn){var Xr=function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Overload_0_of_1_2_gave_the_following_error,Wt+1,Je.length,pu(Fn))},it=Ch(r,ar,Fn,Ta,0,!0,Xr);it?(it.length<=Ai&&(Ai=it.length,xo=Wt),Bi=Math.max(Bi,it.length),Li.push(it)):e.Debug.fail(\"No error for 3 or fewer overload signatures\"),Wt++},_n=0,Ca=Zr;_n<Ca.length;_n++){var Yn=Ca[_n];Ft(Yn)}var Ba=Bi>1?Li[xo]:e.flatten(Li);e.Debug.assert(Ba.length>0,\"No errors reported for 3 or fewer overload signatures\");var Ti=e.chainDiagnosticMessages(e.map(Ba,function(Fn){return typeof Fn.messageText==\"string\"?Fn:Fn.messageText}),e.Diagnostics.No_overload_matches_this_call),Pi=Gt([],e.flatMap(Ba,function(Fn){return Fn.relatedInformation}),!0),jn=void 0;if(e.every(Ba,function(Fn){return Fn.start===Ba[0].start&&Fn.length===Ba[0].length&&Fn.file===Ba[0].file})){var Fi=Ba[0],Wr=Fi.file,Tr=Fi.start,hn=Fi.length;jn={file:Wr,start:Tr,length:hn,code:Ti.code,category:Ti.category,messageText:Ti,relatedInformation:Pi}}else jn=e.createDiagnosticForNodeFromMessageChain(r,Ti,Pi);Vn(Zr[0],jn),ua.add(jn)}else if(Et)ua.add(CC(r,[Et],ar));else if(Tt)TC(Tt,r.typeArguments,!0,c);else{var nn=e.filter(t,function(Fn){return vC(Fn,Ue)});nn.length===0?ua.add(SP(r,t,Ue)):G?c&&ua.add(yb(r,c)):ua.add(CC(r,nn,ar))}return DP(r,Je,ar,!!i);function Vn(Fn,Xr){var it,Pt,Bt=Zr,Yt=Et,mn=Tt,ya=((Pt=(it=Fn.declaration)===null||it===void 0?void 0:it.symbol)===null||Pt===void 0?void 0:Pt.declarations)||e.emptyArray,_a=ya.length>1,qa=_a?e.find(ya,function(ho){return e.isFunctionLikeDeclaration(ho)&&e.nodeIsPresent(ho.body)}):void 0;if(qa){var Vi=bu(qa),Qa=!Vi.typeParameters;En([Vi],Ta,Qa)&&e.addRelatedInfo(Xr,e.createDiagnosticForNode(qa,e.Diagnostics.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible))}Zr=Bt,Et=Yt,Tt=mn}function En(Fn,Xr,it,Pt){if(Pt===void 0&&(Pt=!1),Zr=void 0,Et=void 0,Tt=void 0,it){var Bt=Fn[0];if(e.some(Ue)||!hb(r,ar,Bt,Pt))return;if(Ch(r,ar,Bt,Xr,0,!1,void 0)){Zr=[Bt];return}return Bt}for(var Yt=0;Yt<Fn.length;Yt++){var Bt=Fn[Yt];if(!(!vC(Bt,Ue)||!hb(r,ar,Bt,Pt))){var mn=void 0,ya=void 0;if(Bt.typeParameters){var _a=void 0;if(e.some(Ue)){if(_a=TC(Bt,Ue,!1),!_a){Tt=Bt;continue}}else ya=nv(Bt.typeParameters,Bt,e.isInJSFile(r)?2:0),_a=U1(r,Bt,ar,Gr|8,ya),Gr|=ya.flags&4?8:0;if(mn=th(Bt,_a,e.isInJSFile(Bt.declaration),ya&&ya.inferredTypeParameters),pv(Bt)&&!hb(r,ar,mn,Pt)){Et=mn;continue}}else mn=Bt;if(Ch(r,ar,mn,Xr,Gr,!1,void 0)){(Zr||(Zr=[])).push(mn);continue}if(Gr){if(Gr=0,ya){var _a=U1(r,Bt,ar,Gr,ya);if(mn=th(Bt,_a,e.isInJSFile(Bt.declaration),ya&&ya.inferredTypeParameters),pv(Bt)&&!hb(r,ar,mn,Pt)){Et=mn;continue}}if(Ch(r,ar,mn,Xr,Gr,!1,void 0)){(Zr||(Zr=[])).push(mn);continue}}return Fn[Yt]=mn,mn}}}}function DP(r,t,i,o){return e.Debug.assert(t.length>0),Sv(r),o||t.length===1||t.some(function(s){return!!s.typeParameters})?CP(r,t,i):LP(t)}function LP(r){var t=e.mapDefined(r,function(ar){return ar.thisParameter}),i;t.length&&(i=xC(t,t.map(fv)));for(var o=e.minAndMax(r,AP),s=o.min,c=o.max,L=[],G=function(ar){var _r=e.mapDefined(r,function(Gr){return ue(Gr)?ar<Gr.parameters.length-1?Gr.parameters[ar]:e.last(Gr.parameters):ar<Gr.parameters.length?Gr.parameters[ar]:void 0});e.Debug.assert(_r.length!==0),L.push(xC(_r,e.mapDefined(r,function(Gr){return E_(Gr,ar)})))},ce=0;ce<c;ce++)G(ce);var we=e.mapDefined(r,function(ar){return ue(ar)?e.last(ar.parameters):void 0}),Ue=0;if(we.length!==0){var Je=zs(ma(e.mapDefined(r,fD),2));L.push(IC(we,Je)),Ue|=1}return r.some(X)&&(Ue|=2),hu(r[0].declaration,void 0,i,L,To(r.map(_o)),void 0,s,Ue)}function AP(r){var t=r.parameters.length;return ue(r)?t-1:t}function xC(r,t){return IC(r,ma(t,2))}function IC(r,t){return V_(e.first(r),t)}function CP(r,t,i){var o=NP(t,Lr===void 0?i.length:Lr),s=t[o],c=s.typeParameters;if(!c)return s;var L=mC(r)?r.typeArguments:void 0,G=L?by(s,xP(L,c,e.isInJSFile(r))):IP(r,c,s,i);return t[o]=G,G}function xP(r,t,i){for(var o=r.map(jp);o.length>t.length;)o.pop();for(;o.length<t.length;)o.push(Nl(t[o.length])||n1(i));return o}function IP(r,t,i,o){var s=nv(t,i,e.isInJSFile(r)?2:0),c=U1(r,i,o,12,s);return by(i,c)}function NP(r,t){for(var i=-1,o=-1,s=0;s<r.length;s++){var c=r[s],L=Tl(c);if(xu(c)||L>=t)return s;L>o&&(o=L,i=s)}return i}function kP(r,t,i){if(r.expression.kind===106){var o=_1(r.expression);if(Na(o)){for(var s=0,c=r.arguments;s<c.length;s++){var L=c[s];ui(L)}return No}if(!Ua(o)){var G=e.getEffectiveBaseTypeNode(e.getContainingClass(r));if(G){var ce=Bm(o,G.typeArguments,G);return pg(r,ce,t,i,0)}}return Tm(r)}var we,Ue=ui(r.expression);if(e.isCallChain(r)){var Je=tv(Ue,r.expression);we=Je===Ue?0:e.isOutermostOptionalChain(r)?16:8,Ue=Je}else we=0;if(Ue=eC(Ue,r.expression,YM),Ue===St)return Ha;var ar=wi(Ue);if(Ua(ar))return Au(r);var _r=Ni(ar,0),Gr=Ni(ar,1).length;if(bb(Ue,ar,_r.length,Gr))return!Ua(Ue)&&r.typeArguments&&Mr(r,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),Tm(r);if(!_r.length){if(Gr)Mr(r,e.Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,gn(Ue));else{var Zr=void 0;if(r.arguments.length===1){var Et=e.getSourceFileOfNode(r).text;e.isLineBreak(Et.charCodeAt(e.skipTrivia(Et,r.expression.end,!0)-1))&&(Zr=e.createDiagnosticForNode(r.expression,e.Diagnostics.Are_you_missing_a_semicolon))}H1(r.expression,ar,0,Zr)}return Au(r)}return i&8&&!r.typeArguments&&_r.some(OP)?(sx(r,i),Lo):_r.some(function(Tt){return e.isInJSFile(Tt.declaration)&&!!e.getJSDocClassTag(Tt.declaration)})?(Mr(r,e.Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,gn(Ue)),Au(r)):pg(r,_r,t,i,we)}function OP(r){return!!(r.typeParameters&&CT(_o(r)))}function bb(r,t,i,o){return Na(r)||Na(t)&&!!(r.flags&262144)||!i&&!o&&!(t.flags&1048576)&&!(Eo(t).flags&131072)&&Qi(r,Oe)}function RP(r,t,i){if(r.arguments&&De<1){var o=vb(r.arguments);o>=0&&Mr(r.arguments[o],e.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}var s=dg(r.expression);if(s===St)return Ha;if(s=wi(s),Ua(s))return Au(r);if(Na(s))return r.typeArguments&&Mr(r,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),Tm(r);var c=Ni(s,1);if(c.length){if(!wP(r,c[0]))return Au(r);if(c.some(function(we){return we.flags&4}))return Mr(r,e.Diagnostics.Cannot_create_an_instance_of_an_abstract_class),Au(r);var L=s.symbol&&e.getClassLikeDeclarationOfSymbol(s.symbol);return L&&e.hasSyntacticModifier(L,128)?(Mr(r,e.Diagnostics.Cannot_create_an_instance_of_an_abstract_class),Au(r)):pg(r,c,t,i,0)}var G=Ni(s,0);if(G.length){var ce=pg(r,G,t,i,0);return Ke||(ce.declaration&&!ou(ce.declaration)&&_o(ce)!==Wn&&Mr(r,e.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword),f_(ce)===Wn&&Mr(r,e.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)),ce}return H1(r.expression,s,1),Au(r)}function j1(r,t){var i=xl(t);if(!e.length(i))return!1;var o=i[0];if(o.flags&2097152){for(var s=o.types,c=dy(s),L=0,G=0,ce=o.types;G<ce.length;G++){var we=ce[G];if(!c[L]&&e.getObjectFlags(we)&3&&(we.symbol===r||j1(r,we)))return!0;L++}return!1}return o.symbol===r?!0:j1(r,o)}function wP(r,t){if(!t||!t.declaration)return!0;var i=t.declaration,o=e.getSelectedEffectiveModifierFlags(i,24);if(!o||i.kind!==170)return!0;var s=e.getClassLikeDeclarationOfSymbol(i.parent.symbol),c=po(i.parent.symbol);if(!ST(r,s)){var L=e.getContainingClass(r);if(L&&o&16){var G=jp(L);if(j1(i.parent.symbol,G))return!0}return o&8&&Mr(r,e.Diagnostics.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,gn(c)),o&16&&Mr(r,e.Diagnostics.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,gn(c)),!1}return!0}function NC(r,t,i){var o,s=i===0,c=J_(t),L=c&&Ni(c,i).length>0;if(t.flags&1048576){for(var G=t.types,ce=!1,we=0,Ue=G;we<Ue.length;we++){var Je=Ue[we],ar=Ni(Je,i);if(ar.length!==0){if(ce=!0,o)break}else if(o||(o=e.chainDiagnosticMessages(o,s?e.Diagnostics.Type_0_has_no_call_signatures:e.Diagnostics.Type_0_has_no_construct_signatures,gn(Je)),o=e.chainDiagnosticMessages(o,s?e.Diagnostics.Not_all_constituents_of_type_0_are_callable:e.Diagnostics.Not_all_constituents_of_type_0_are_constructable,gn(t))),ce)break}ce||(o=e.chainDiagnosticMessages(void 0,s?e.Diagnostics.No_constituent_of_type_0_is_callable:e.Diagnostics.No_constituent_of_type_0_is_constructable,gn(t))),o||(o=e.chainDiagnosticMessages(o,s?e.Diagnostics.Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:e.Diagnostics.Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other,gn(t)))}else o=e.chainDiagnosticMessages(o,s?e.Diagnostics.Type_0_has_no_call_signatures:e.Diagnostics.Type_0_has_no_construct_signatures,gn(t));var _r=s?e.Diagnostics.This_expression_is_not_callable:e.Diagnostics.This_expression_is_not_constructable;if(e.isCallExpression(r.parent)&&r.parent.arguments.length===0){var Gr=Zn(r).resolvedSymbol;Gr&&Gr.flags&32768&&(_r=e.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without)}return{messageChain:e.chainDiagnosticMessages(o,_r),relatedMessage:L?e.Diagnostics.Did_you_forget_to_use_await:void 0}}function H1(r,t,i,o){var s=NC(r,t,i),c=s.messageChain,L=s.relatedMessage,G=e.createDiagnosticForNodeFromMessageChain(r,c);if(L&&e.addRelatedInfo(G,e.createDiagnosticForNode(r,L)),e.isCallExpression(r.parent)){var ce=AC(r.parent,!0),we=ce.start,Ue=ce.length;G.start=we,G.length=Ue}ua.add(G),kC(t,i,o?e.addRelatedInfo(G,o):G)}function kC(r,t,i){if(!!r.symbol){var o=Ja(r.symbol).originatingImport;if(o&&!e.isImportCall(o)){var s=Ni(An(Ja(r.symbol).target),t);if(!s||!s.length)return;e.addRelatedInfo(i,e.createDiagnosticForNode(o,e.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))}}}function MP(r,t,i){var o=ui(r.tag),s=wi(o);if(Ua(s))return Au(r);var c=Ni(s,0),L=Ni(s,1).length;if(bb(o,s,c.length,L))return Tm(r);if(!c.length){if(e.isArrayLiteralExpression(r.parent)){var G=e.createDiagnosticForNode(r.tag,e.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);return ua.add(G),Au(r)}return H1(r.tag,s,0),Au(r)}return pg(r,c,t,i,0)}function OC(r){switch(r.parent.kind){case 256:case 225:return e.Diagnostics.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;case 163:return e.Diagnostics.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;case 166:return e.Diagnostics.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;case 168:case 171:case 172:return e.Diagnostics.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression;default:return e.Debug.fail()}}function PP(r,t,i){var o=ui(r.expression),s=wi(o);if(Ua(s))return Au(r);var c=Ni(s,0),L=Ni(s,1).length;if(bb(o,s,c.length,L))return Tm(r);if(GP(r,c)){var G=e.getTextOfNode(r.expression,!1);return Mr(r,e.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0,G),Au(r)}var ce=OC(r);if(!c.length){var we=NC(r.expression,s,0),Ue=e.chainDiagnosticMessages(we.messageChain,ce),Je=e.createDiagnosticForNodeFromMessageChain(r.expression,Ue);return we.relatedMessage&&e.addRelatedInfo(Je,e.createDiagnosticForNode(r.expression,we.relatedMessage)),ua.add(Je),kC(s,0,Je),Au(r)}return pg(r,c,t,i,0,ce)}function Eb(r,t){var i=Em(r),o=i&&Js(i),s=o&&ks(o,P.Element,788968),c=s&&Sr.symbolToEntityName(s,788968,r),L=e.factory.createFunctionTypeNode(void 0,[e.factory.createParameterDeclaration(void 0,void 0,void 0,\"props\",void 0,Sr.typeToTypeNode(t,r))],c?e.factory.createTypeReferenceNode(c,void 0):e.factory.createKeywordTypeNode(130)),G=fo(1,\"props\");return G.type=t,hu(L,void 0,void 0,[G],s?po(s):dr,void 0,1,0)}function FP(r,t,i){if(fg(r.tagName)){var o=XA(r),s=Eb(r,o);return pp(Dm(r.attributes,cb(s,r),void 0,0),o,r.tagName,r.attributes),e.length(r.typeArguments)&&(e.forEach(r.typeArguments,Wi),ua.add(e.createDiagnosticForNodeArray(e.getSourceFileOfNode(r),r.typeArguments,e.Diagnostics.Expected_0_type_arguments_but_got_1,0,e.length(r.typeArguments)))),s}var c=ui(r.tagName),L=wi(c);if(Ua(L))return Au(r);var G=zA(c,r);return bb(c,L,G.length,0)?Tm(r):G.length===0?(Mr(r.tagName,e.Diagnostics.JSX_element_type_0_does_not_have_any_construct_or_call_signatures,e.getTextOfNode(r.tagName)),Au(r)):pg(r,G,t,i,0)}function GP(r,t){return t.length&&e.every(t,function(i){return i.minArgumentCount===0&&!ue(i)&&i.parameters.length<LC(r,i)})}function BP(r,t,i){switch(r.kind){case 207:return kP(r,t,i);case 208:return RP(r,t,i);case 209:return MP(r,t,i);case 164:return PP(r,t,i);case 279:case 278:return FP(r,t,i)}throw e.Debug.assertNever(r,\"Branch in 'resolveSignature' should be unreachable.\")}function _g(r,t,i){var o=Zn(r),s=o.resolvedSignature;if(s&&s!==Lo&&!t)return s;o.resolvedSignature=Lo;var c=BP(r,t,i||0);return c!==Lo&&(o.resolvedSignature=Ia===oo?c:s),c}function ou(r){var t;if(!r||!e.isInJSFile(r))return!1;var i=e.isFunctionDeclaration(r)||e.isFunctionExpression(r)?r:e.isVariableDeclaration(r)&&r.initializer&&e.isFunctionExpression(r.initializer)?r.initializer:void 0;if(i){if(e.getJSDocClassTag(r))return!0;var o=wn(i);return!!(!((t=o==null?void 0:o.members)===null||t===void 0)&&t.size)}return!1}function J1(r,t){var i,o;if(t){var s=Ja(t);if(!s.inferredClassSymbol||!s.inferredClassSymbol.has(y(r))){var c=e.isTransientSymbol(r)?r:Nd(r);return c.exports=c.exports||e.createSymbolTable(),c.members=c.members||e.createSymbolTable(),c.flags|=t.flags&32,!((i=t.exports)===null||i===void 0)&&i.size&&dl(c.exports,t.exports),!((o=t.members)===null||o===void 0)&&o.size&&dl(c.members,t.members),(s.inferredClassSymbol||(s.inferredClassSymbol=new e.Map)).set(y(c),c),c}return s.inferredClassSymbol.get(y(r))}}function UP(r){var t,i=r&&Tb(r,!0),o=(t=i==null?void 0:i.exports)===null||t===void 0?void 0:t.get(\"prototype\"),s=(o==null?void 0:o.valueDeclaration)&&VP(o.valueDeclaration);return s?wn(s):void 0}function Tb(r,t){if(!!r.parent){var i,o;if(e.isVariableDeclaration(r.parent)&&r.parent.initializer===r){if(!e.isInJSFile(r)&&!(e.isVarConst(r.parent)&&e.isFunctionLikeDeclaration(r)))return;i=r.parent.name,o=r.parent}else if(e.isBinaryExpression(r.parent)){var s=r.parent,c=r.parent.operatorToken.kind;if(c===63&&(t||s.right===r))i=s.left,o=i;else if((c===56||c===60)&&(e.isVariableDeclaration(s.parent)&&s.parent.initializer===s?(i=s.parent.name,o=s.parent):e.isBinaryExpression(s.parent)&&s.parent.operatorToken.kind===63&&(t||s.parent.right===s)&&(i=s.parent.left,o=i),!i||!e.isBindableStaticNameExpression(i)||!e.isSameEntityName(i,s.left)))return}else t&&e.isFunctionDeclaration(r)&&(i=r.name,o=r);if(!(!o||!i||!t&&!e.getExpandoInitializer(r,e.isPrototypeAccess(i))))return wn(o)}}function VP(r){if(!r.parent)return!1;for(var t=r.parent;t&&t.kind===205;)t=t.parent;if(t&&e.isBinaryExpression(t)&&e.isPrototypeAccess(t.left)&&t.operatorToken.kind===63){var i=e.getInitializerOfBinaryExpression(t);return e.isObjectLiteralExpression(i)&&i}}function WP(r,t){var i;Hh(r,r.typeArguments)||vI(r.arguments);var o=_g(r,void 0,t);if(o===Lo)return Ut;if(Sb(o,r),r.expression.kind===106)return Wn;if(r.kind===208){var s=o.declaration;if(s&&s.kind!==170&&s.kind!==174&&s.kind!==179&&!e.isJSDocConstructSignature(s)&&!ou(s))return Ke&&Mr(r,e.Diagnostics.new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type),Ze}if(e.isInJSFile(r)&&FC(r))return cD(r.arguments[0]);var c=_o(o);if(c.flags&12288&&RC(r))return b0(e.walkUpParenthesizedExpressions(r.parent));if(r.kind===207&&!r.questionDotToken&&r.parent.kind===237&&c.flags&16384&&Dc(o)){if(!e.isDottedName(r.expression))Mr(r.expression,e.Diagnostics.Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name);else if(!rb(r)){var L=Mr(r.expression,e.Diagnostics.Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation);vh(r.expression,L)}}if(e.isInJSFile(r)){var G=Tb(r,!1);if(!((i=G==null?void 0:G.exports)===null||i===void 0)&&i.size){var ce=ts(G,G.exports,e.emptyArray,e.emptyArray,e.emptyArray);return ce.objectFlags|=8192,To([c,ce])}}return c}function Sb(r,t){if(r.declaration&&r.declaration.flags&134217728){var i=xh(t),o=e.tryGetPropertyAccessOrIdentifierToString(e.getInvokedExpression(t));vf(i,r.declaration,o,pu(r))}}function xh(r){switch(r=e.skipParentheses(r),r.kind){case 207:case 164:case 208:return xh(r.expression);case 209:return xh(r.tag);case 279:case 278:return xh(r.tagName);case 206:return r.argumentExpression;case 205:return r.name;case 177:var t=r;return e.isQualifiedName(t.typeName)?t.typeName.right:t;default:return r}}function RC(r){if(!e.isCallExpression(r))return!1;var t=r.expression;if(e.isPropertyAccessExpression(t)&&t.name.escapedText===\"for\"&&(t=t.expression),!e.isIdentifier(t)||t.escapedText!==\"Symbol\")return!1;var i=OD(!1);return i?i===Uo(t,\"Symbol\",111551,void 0,void 0,!1):!1}function jP(r){if(vI(r.arguments)||IF(r),r.arguments.length===0)return kh(r,Ze);for(var t=r.arguments[0],i=Ss(t),o=r.arguments.length>1?Ss(r.arguments[1]):void 0,s=2;s<r.arguments.length;++s)Ss(r.arguments[s]);if((i.flags&32768||i.flags&65536||!Qi(i,xt))&&Mr(t,e.Diagnostics.Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0,gn(i)),o){var c=kD(!0);c!==Qn&&Rl(o,Uy(c,32768),r.arguments[1])}var L=ws(r,t);if(L){var G=Fu(L,t,!0,!1);if(G)return kh(r,MC(An(G),G,L,t)||PC(An(G),G,L,t))}return kh(r,Ze)}function wC(r,t,i){var o=e.createSymbolTable(),s=fo(2097152,\"default\");return s.parent=t,s.nameType=Lc(\"default\"),s.target=wo(r),o.set(\"default\",s),ts(i,o,e.emptyArray,e.emptyArray,e.emptyArray)}function MC(r,t,i,o){var s=td(o);if(s&&r&&!Ua(r)){var c=r;if(!c.defaultOnlyType){var L=wC(t,i);c.defaultOnlyType=L}return c.defaultOnlyType}}function PC(r,t,i,o){var s;if(Dr&&r&&!Ua(r)){var c=r;if(!c.syntheticType){var L=(s=i.declarations)===null||s===void 0?void 0:s.find(e.isSourceFile),G=Ru(L,i,!1,o);if(G){var ce=fo(2048,\"__type\"),we=wC(t,i,ce);ce.type=we,c.syntheticType=ug(r)?wp(r,we,ce,0,!1):we}else c.syntheticType=r}return c.syntheticType}return r}function FC(r){if(!e.isRequireCall(r,!0))return!1;if(!e.isIdentifier(r.expression))return e.Debug.fail();var t=Uo(r.expression,r.expression.escapedText,111551,void 0,void 0,!0);if(t===ze)return!0;if(t.flags&2097152)return!1;var i=t.flags&16?255:t.flags&3?253:0;if(i!==0){var o=e.getDeclarationOfKind(t,i);return!!o&&!!(o.flags&8388608)}return!1}function HP(r){Z8(r)||Hh(r,r.typeArguments),De<2&&nl(r,262144);var t=_g(r);return Sb(t,r),_o(t)}function JP(r){if(r.kind===210){var t=e.getSourceFileOfNode(r);t&&e.fileExtensionIsOneOf(t.fileName,[\".cts\",\".mts\"])&&sn(r,e.Diagnostics.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead)}return BC(r,r.type,r.expression)}function GC(r){switch(r.kind){case 10:case 14:case 8:case 9:case 110:case 95:case 203:case 204:case 222:return!0;case 211:return GC(r.expression);case 218:var t=r.operator,i=r.operand;return t===40&&(i.kind===8||i.kind===9)||t===39&&i.kind===8;case 205:case 206:var o=r.expression,s=jp(o).symbol;return s&&s.flags&2097152&&(s=ms(s)),!!(s&&s.flags&384&&Bo(s)===1)}return!1}function BC(r,t,i,o){var s=ui(i,o);if(e.isConstTypeReference(t))return GC(i)||Mr(i,e.Diagnostics.A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals),kl(s);Wi(t),s=sg(Du(s));var c=Da(t);if(Se&&!Ua(c)){var L=wl(s);ng(c,L)||CL(s,c,r,e.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)}return c}function KP(r){var t=ui(r.expression),i=tv(t,r.expression);return Vy(Td(i),r,i!==t)}function zP(r){return r.flags&32?KP(r):Td(ui(r.expression))}function qP(r){return gF(r),r.keywordToken===103?K1(r):r.keywordToken===100?XP(r):e.Debug.assertNever(r.keywordToken)}function UC(r){switch(r.keywordToken){case 100:return wk();case 103:var t=K1(r);return Ua(t)?dr:e6(t);default:e.Debug.assertNever(r.keywordToken)}}function K1(r){var t=e.getNewTargetContainer(r);if(t)if(t.kind===170){var i=wn(t.parent);return An(i)}else{var i=wn(t);return An(i)}else return Mr(r,e.Diagnostics.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor,\"new.target\"),dr}function XP(r){Ae===e.ModuleKind.Node12||Ae===e.ModuleKind.NodeNext?e.getSourceFileOfNode(r).impliedNodeFormat!==e.ModuleKind.ESNext&&Mr(r,e.Diagnostics.The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output):Ae<e.ModuleKind.ES2020&&Ae!==e.ModuleKind.System&&Mr(r,e.Diagnostics.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node12_or_nodenext);var t=e.getSourceFileOfNode(r);return e.Debug.assert(!!(t.flags&2097152),\"Containing file is missing import meta node flag.\"),r.name.escapedText===\"meta\"?ND():dr}function fv(r){var t=An(r);if(br){var i=r.valueDeclaration;if(i&&e.hasInitializer(i))return Jf(t)}return t}function Db(r){return e.Debug.assert(e.isIdentifier(r.name)),r.name.escapedText}function mg(r,t,i){var o=r.parameters.length-(ue(r)?1:0);if(t<o)return r.parameters[t].escapedName;var s=r.parameters[o]||We,c=i||An(s);if(ki(c)){var L=c.target.labeledElementDeclarations,G=t-o;return L&&Db(L[G])||s.escapedName+\"_\"+G}return s.escapedName}function YP(r,t){var i=r.parameters.length-(ue(r)?1:0);if(t<i){var o=r.parameters[t];return VC(o)?[o.escapedName,!1]:void 0}var s=r.parameters[i]||We;if(!!VC(s)){var c=An(s);if(ki(c)){var L=c.target.labeledElementDeclarations,G=t-i,ce=L==null?void 0:L[G],we=!!(ce!=null&&ce.dotDotDotToken);return ce?[Db(ce),we]:void 0}if(t===i)return[s.escapedName,!0]}}function VC(r){return r.valueDeclaration&&e.isParameter(r.valueDeclaration)&&e.isIdentifier(r.valueDeclaration.name)}function WC(r){return r.kind===196||e.isParameter(r)&&r.name&&e.isIdentifier(r.name)}function QP(r,t){var i=r.parameters.length-(ue(r)?1:0);if(t<i){var o=r.parameters[t].valueDeclaration;return o&&WC(o)?o:void 0}var s=r.parameters[i]||We,c=An(s);if(ki(c)){var L=c.target.labeledElementDeclarations,G=t-i;return L&&L[G]}return s.valueDeclaration&&WC(s.valueDeclaration)?s.valueDeclaration:void 0}function Uc(r,t){return E_(r,t)||Ze}function E_(r,t){var i=r.parameters.length-(ue(r)?1:0);if(t<i)return fv(r.parameters[t]);if(ue(r)){var o=An(r.parameters[i]),s=t-i;if(!ki(o)||o.target.hasRestElement||s<o.target.fixedLength)return Hl(o,Wf(s))}}function gg(r,t){var i=Tl(r),o=Cu(r),s=dv(r);if(s&&t>=i-1)return t===i-1?s:zs(Hl(s,wt));for(var c=[],L=[],G=[],ce=t;ce<i;ce++){!s||ce<i-1?(c.push(Uc(r,ce)),L.push(ce<o?1:2)):(c.push(s),L.push(8));var we=QP(r,ce);we&&G.push(we)}return Tu(c,L,!1,e.length(G)===e.length(c)?G:void 0)}function Tl(r){var t=r.parameters.length;if(ue(r)){var i=An(r.parameters[t-1]);if(ki(i))return t+i.target.fixedLength-(i.target.hasRestElement?0:1)}return t}function Cu(r,t){var i=t&1,o=t&2;if(o||r.resolvedMinArgumentCount===void 0){var s=void 0;if(ue(r)){var c=An(r.parameters[r.parameters.length-1]);if(ki(c)){var L=e.findIndex(c.target.elementFlags,function(Ue){return!(Ue&1)}),G=L<0?c.target.fixedLength:L;G>0&&(s=r.parameters.length-1+G)}}if(s===void 0){if(!i&&r.flags&32)return 0;s=r.minArgumentCount}if(o)return s;for(var ce=s-1;ce>=0;ce--){var we=Uc(r,ce);if(rl(we,gC).flags&131072)break;s=ce}r.resolvedMinArgumentCount=s}return r.resolvedMinArgumentCount}function xu(r){if(ue(r)){var t=An(r.parameters[r.parameters.length-1]);return!ki(t)||t.target.hasRestElement}return!1}function dv(r){if(ue(r)){var t=An(r.parameters[r.parameters.length-1]);if(!ki(t))return t;if(t.target.hasRestElement)return qg(t,t.target.fixedLength)}}function pv(r){var t=dv(r);return t&&!el(t)&&!Na(t)&&(Eo(t).flags&131072)===0?t:void 0}function z1(r){return q1(r,en)}function q1(r,t){return r.parameters.length>0?Uc(r,0):t}function ZP(r,t,i){for(var o=r.parameters.length-(ue(r)?1:0),s=0;s<o;s++){var c=r.parameters[s].valueDeclaration;if(c.type){var L=e.getEffectiveTypeAnnotationNode(c);L&&uf(i.inferences,Da(L),Uc(t,s))}}var G=dv(t);if(G&&G.flags&262144){var ce=pm(t,i.nonFixingMapper);jC(r,ce);var we=Tl(t)-1;uf(i.inferences,gg(r,we),G)}}function jC(r,t){if(t.typeParameters)if(!r.typeParameters)r.typeParameters=t.typeParameters;else return;if(t.thisParameter){var i=r.thisParameter;(!i||i.valueDeclaration&&!i.valueDeclaration.type)&&(i||(r.thisParameter=V_(t.thisParameter,void 0)),Ih(r.thisParameter,An(t.thisParameter)))}for(var o=r.parameters.length-(ue(r)?1:0),s=0;s<o;s++){var i=r.parameters[s];if(!e.getEffectiveTypeAnnotationNode(i.valueDeclaration)){var c=E_(t,s);Ih(i,c)}}if(ue(r)){var i=e.last(r.parameters);if(e.isTransientSymbol(i)||!e.getEffectiveTypeAnnotationNode(i.valueDeclaration)){var c=gg(t,o);Ih(i,c)}}}function $P(r){r.thisParameter&&Ih(r.thisParameter);for(var t=0,i=r.parameters;t<i.length;t++){var o=i[t];Ih(o)}}function Ih(r,t){var i=Ja(r);if(!i.type){var o=r.valueDeclaration;i.type=t||Cl(o,!0),o.name.kind!==79&&(i.type===tr&&(i.type=xs(o.name)),HC(o.name))}}function HC(r){for(var t=0,i=r.elements;t<i.length;t++){var o=i[t];e.isOmittedExpression(o)||(o.name.kind===79?Ja(wn(o)).type=tf(o):HC(o.name))}}function Nh(r){var t=ah(!0);return t!==va?(r=Sd(bv(r))||tr,Uf(t,[r])):tr}function JC(r){var t=wD(!0);return t!==va?(r=Sd(bv(r))||tr,Uf(t,[r])):tr}function kh(r,t){var i=Nh(t);return i===tr?(Mr(r,e.isImportCall(r)?e.Diagnostics.A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:e.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),dr):(e0(!0)||Mr(r,e.isImportCall(r)?e.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:e.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),i)}function e6(r){var t=fo(0,\"NewTargetExpression\"),i=fo(4,\"target\",8);i.parent=t,i.type=r;var o=e.createSymbolTable([i]);return t.members=o,ts(t,o,e.emptyArray,e.emptyArray,e.emptyArray)}function Lb(r,t){if(!r.body)return dr;var i=e.getFunctionFlags(r),o=(i&2)!==0,s=(i&1)!==0,c,L,G,ce=Wn;if(r.body.kind!==234)c=Ss(r.body,t&&t&-9),o&&(c=bv(yv(c,!1,r,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)));else if(s){var we=YC(r,t);we?we.length>0&&(c=ma(we,2)):ce=en;var Ue=r6(r,t),Je=Ue.yieldTypes,ar=Ue.nextTypes;L=e.some(Je)?ma(Je,2):void 0,G=e.some(ar)?To(ar):void 0}else{var _r=YC(r,t);if(!_r)return i&2?kh(r,en):en;if(_r.length===0)return i&2?kh(r,Wn):Wn;c=ma(_r,2)}if(c||L||G){if(L&&Jy(r,L,3),c&&Jy(r,c,1),G&&Jy(r,G,2),c&&Su(c)||L&&Su(L)||G&&Su(G)){var Gr=T1(r),Zr=Gr?Gr===bu(r)?s?void 0:c:sb(_o(Gr),r):void 0;s?(L=W0(L,Zr,0,o),c=W0(c,Zr,1,o),G=W0(G,Zr,2,o)):c=PR(c,Zr,o)}L&&(L=wl(L)),c&&(c=wl(c)),G&&(G=wl(G))}return s?KC(L||en,c||ce,G||MA(2,r)||tr,o):o?Nh(c||ce):c||ce}function KC(r,t,i,o){var s=o?Po:Fo,c=s.getGlobalGeneratorType(!1);if(r=s.resolveIterationType(r,void 0)||tr,t=s.resolveIterationType(t,void 0)||tr,i=s.resolveIterationType(i,void 0)||tr,c===va){var L=s.getGlobalIterableIteratorType(!1),G=L!==va?Mx(L,s):void 0,ce=G?G.returnType:Ze,we=G?G.nextType:Nr;return Qi(t,ce)&&Qi(we,i)?L!==va?zg(L,[r]):(s.getGlobalIterableIteratorType(!0),Qn):(s.getGlobalGeneratorType(!0),Qn)}return zg(c,[r,t,i])}function r6(r,t){var i=[],o=[],s=(e.getFunctionFlags(r)&2)!==0;return e.forEachYieldExpression(r.body,function(c){var L=c.expression?ui(c.expression,t):zr;e.pushIfUnique(i,zC(c,L,Ze,s));var G;if(c.asteriskToken){var ce=Uh(L,s?19:17,c.expression);G=ce&&ce.nextType}else G=Ac(c);G&&e.pushIfUnique(o,G)}),{yieldTypes:i,nextTypes:o}}function zC(r,t,i,o){var s=r.expression||r,c=r.asteriskToken?Ld(o?19:17,t,i,s):t;return o?J_(c,s,r.asteriskToken?e.Diagnostics.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:e.Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):c}function X1(r,t,i,o){var s=0;if(o){for(var c=t;c<i.length;c++)s|=ie.get(i[c])||32768;for(var c=r;c<t;c++)s&=~(ie.get(i[c])||0);for(var c=0;c<r;c++)s|=ie.get(i[c])||32768}else{for(var c=r;c<t;c++)s|=z.get(i[c])||128;for(var c=0;c<r;c++)s&=~(z.get(i[c])||0)}return s}function qC(r){var t=Zn(r);return t.isExhaustive!==void 0?t.isExhaustive:t.isExhaustive=t6(r)}function t6(r){if(r.expression.kind===215){var t=tl(r.expression.expression),i=vA(r,!1),o=X1(0,0,i,!0),s=l(t)||t;return s.flags&3?(556800&o)===556800:!!(rl(s,function(G){return(mp(G)&o)===o}).flags&131072)}var c=tl(r.expression);if(!mm(c))return!1;var L=Qy(r);return!L.length||e.some(L,wR)?!1:Lw(ds(c,kl),L)}function XC(r){return r.endFlowNode&&hh(r.endFlowNode)}function YC(r,t){var i=e.getFunctionFlags(r),o=[],s=XC(r),c=!1;if(e.forEachReturnStatement(r.body,function(L){var G=L.expression;if(G){var ce=Ss(G,t&&t&-9);i&2&&(ce=bv(yv(ce,!1,r,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member))),ce.flags&131072&&(c=!0),e.pushIfUnique(o,ce)}else s=!0}),!(o.length===0&&!s&&(c||n6(r))))return br&&o.length&&s&&!(ou(r)&&o.some(function(L){return L.symbol===r.symbol}))&&e.pushIfUnique(o,Nr),o}function n6(r){switch(r.kind){case 212:case 213:return!0;case 168:return r.parent.kind===204;default:return!1}}function Y1(r,t){if(!!Se){var i=e.getFunctionFlags(r),o=t&&Pb(t,i);if(!(o&&Jo(o,16385))&&!(r.kind===167||e.nodeIsMissing(r.body)||r.body.kind!==234||!XC(r))){var s=r.flags&512,c=e.getEffectiveReturnTypeNode(r)||r;if(o&&o.flags&131072)Mr(c,e.Diagnostics.A_function_returning_never_cannot_have_a_reachable_end_point);else if(o&&!s)Mr(c,e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value);else if(o&&br&&!Qi(Nr,o))Mr(c,e.Diagnostics.Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined);else if(Xe.noImplicitReturns){if(!o){if(!s)return;var L=_o(bu(r));if(Wx(r,L))return}Mr(c,e.Diagnostics.Not_all_code_paths_return_a_value)}}}}function QC(r,t){if(e.Debug.assert(r.kind!==168||e.isObjectLiteralMethod(r)),Sv(r),e.isFunctionExpression(r)&&bg(r,r.name),t&&t&4&&nu(r)){if(!e.getEffectiveReturnTypeNode(r)&&!e.hasContextSensitiveParameters(r)){var i=Th(r);if(i&&av(_o(i))){var o=Zn(r);if(o.contextFreeType)return o.contextFreeType;var s=Lb(r,t),c=hu(void 0,void 0,void 0,e.emptyArray,s,void 0,0,0),L=ts(r.symbol,Le,[c],e.emptyArray,e.emptyArray);return L.objectFlags|=524288,o.contextFreeType=L}}return yi}var G=zb(r);return!G&&r.kind===212&&kT(r),a6(r,t),An(wn(r))}function a6(r,t){var i=Zn(r);if(!(i.flags&1024)){var o=Th(r);if(!(i.flags&1024)){i.flags|=1024;var s=e.firstOrUndefined(Ni(An(wn(r)),0));if(!s)return;if(nu(r))if(o){var c=lv(r);t&&t&2&&ZP(s,o,c);var L=c?pm(o,c.mapper):o;jC(s,L)}else $P(s);if(o&&!lm(r)&&!s.resolvedReturnType){var G=Lb(r,t);s.resolvedReturnType||(s.resolvedReturnType=G)}mv(r)}}}function i6(r){e.Debug.assert(r.kind!==168||e.isObjectLiteralMethod(r));var t=e.getFunctionFlags(r),i=lm(r);if(Y1(r,i),r.body)if(e.getEffectiveReturnTypeNode(r)||_o(bu(r)),r.body.kind===234)Wi(r.body);else{var o=ui(r.body),s=i&&Pb(i,t);if(s)if((t&3)===2){var c=yv(o,!1,r.body,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);pp(c,s,r.body,r.body)}else pp(o,s,r.body,r.body)}}function Ab(r,t,i,o){if(o===void 0&&(o=!1),!Qi(t,Mt)){var s=o&&vv(t);return ku(r,!!s&&Qi(s,Mt),i),!1}return!0}function o6(r){if(!e.isCallExpression(r)||!e.isBindableObjectDefinePropertyCall(r))return!1;var t=Ss(r.arguments[2]),i=ia(t,\"value\");if(i){var o=Ii(t,\"writable\"),s=o&&An(o);if(!s||s===mt||s===rn)return!0;if(o&&o.valueDeclaration&&e.isPropertyAssignment(o.valueDeclaration)){var c=o.valueDeclaration.initializer,L=ui(c);if(L===mt||L===rn)return!0}return!1}var G=Ii(t,\"set\");return!G}function Iu(r){return!!(e.getCheckFlags(r)&8||r.flags&4&&e.getDeclarationModifierFlagsFromSymbol(r)&64||r.flags&3&&cv(r)&2||r.flags&98304&&!(r.flags&65536)||r.flags&8||e.some(r.declarations,o6))}function ZC(r,t,i){var o,s;if(i===0)return!1;if(Iu(t)){if(t.flags&4&&e.isAccessExpression(r)&&r.expression.kind===108){var c=e.getContainingFunction(r);if(!(c&&(c.kind===170||ou(c))))return!0;if(t.valueDeclaration){var L=e.isBinaryExpression(t.valueDeclaration),G=c.parent===t.valueDeclaration.parent,ce=c===t.valueDeclaration.parent,we=L&&((o=t.parent)===null||o===void 0?void 0:o.valueDeclaration)===c.parent,Ue=L&&((s=t.parent)===null||s===void 0?void 0:s.valueDeclaration)===c,Je=G||ce||we||Ue;return!Je}}return!0}if(e.isAccessExpression(r)){var ar=e.skipParentheses(r.expression);if(ar.kind===79){var _r=Zn(ar).resolvedSymbol;if(_r.flags&2097152){var Gr=ec(_r);return!!Gr&&Gr.kind===267}}}return!1}function _v(r,t,i){var o=e.skipOuterExpressions(r,7);return o.kind!==79&&!e.isAccessExpression(o)?(Mr(r,t),!1):o.flags&32?(Mr(r,i),!1):!0}function s6(r){ui(r.expression);var t=e.skipParentheses(r.expression);if(!e.isAccessExpression(t))return Mr(t,e.Diagnostics.The_operand_of_a_delete_operator_must_be_a_property_reference),Jn;e.isPropertyAccessExpression(t)&&e.isPrivateIdentifier(t.name)&&Mr(t,e.Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_private_identifier);var i=Zn(t),o=tc(i.resolvedSymbol);return o&&(Iu(o)&&Mr(t,e.Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_read_only_property),l6(t,o)),Jn}function l6(r,t){var i=An(t);br&&!(i.flags&131075)&&!(de?t.flags&16777216:lc(i)&32768)&&Mr(r,e.Diagnostics.The_operand_of_a_delete_operator_must_be_optional)}function c6(r){return ui(r.expression),yr}function u6(r){return ui(r.expression),zr}function f6(r){if(Se){var t=e.getContainingFunctionOrClassStaticBlock(r);if(t&&e.isClassStaticBlockDeclaration(t))Mr(r,e.Diagnostics.Await_expression_cannot_be_used_inside_a_class_static_block);else if(!(r.flags&32768))if(e.isInTopLevelContext(r)){var i=e.getSourceFileOfNode(r);if(!S_(i)){var o=void 0;if(!e.isEffectiveExternalModule(i,Xe)){o||(o=e.getSpanOfTokenAtPosition(i,r.pos));var s=e.createFileDiagnostic(i,o.start,o.length,e.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);ua.add(s)}if(Ae!==e.ModuleKind.ES2022&&Ae!==e.ModuleKind.ESNext&&Ae!==e.ModuleKind.System&&!(Ae===e.ModuleKind.NodeNext&&e.getSourceFileOfNode(r).impliedNodeFormat===e.ModuleKind.ESNext)||De<4){o=e.getSpanOfTokenAtPosition(i,r.pos);var s=e.createFileDiagnostic(i,o.start,o.length,e.Diagnostics.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher);ua.add(s)}}}else{var i=e.getSourceFileOfNode(r);if(!S_(i)){var o=e.getSpanOfTokenAtPosition(i,r.pos),s=e.createFileDiagnostic(i,o.start,o.length,e.Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules);if(t&&t.kind!==170&&(e.getFunctionFlags(t)&2)===0){var c=e.createDiagnosticForNode(t,e.Diagnostics.Did_you_mean_to_mark_this_function_as_async);e.addRelatedInfo(s,c)}ua.add(s)}}g1(r)&&Mr(r,e.Diagnostics.await_expressions_cannot_be_used_in_a_parameter_initializer)}var L=ui(r.expression),G=yv(L,!0,r,e.Diagnostics.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);return G===L&&!Ua(G)&&!(L.flags&3)&&$l(!1,e.createDiagnosticForNode(r,e.Diagnostics.await_has_no_effect_on_the_type_of_this_expression)),G}function d6(r){var t=ui(r.operand);if(t===St)return St;switch(r.operand.kind){case 8:switch(r.operator){case 40:return fm(Wf(-r.operand.text));case 39:return fm(Wf(+r.operand.text))}break;case 9:if(r.operator===40)return fm(y0({negative:!0,base10Value:e.parsePseudoBigInt(r.operand.text)}))}switch(r.operator){case 39:case 40:case 54:return iu(t,r.operand),Jo(t,12288)&&Mr(r.operand,e.Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol,e.tokenToString(r.operator)),r.operator===39?(Jo(t,2112)&&Mr(r.operand,e.Diagnostics.Operator_0_cannot_be_applied_to_type_1,e.tokenToString(r.operator),gn(Du(t))),wt):Q1(t);case 53:Eg(r.operand);var i=mp(t)&12582912;return i===4194304?mt:i===8388608?sa:Jn;case 45:case 46:var o=Ab(r.operand,iu(t,r.operand),e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type);return o&&_v(r.operand,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),Q1(t)}return dr}function p6(r){var t=ui(r.operand);if(t===St)return St;var i=Ab(r.operand,iu(t,r.operand),e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type);return i&&_v(r.operand,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),Q1(t)}function Q1(r){return Jo(r,2112)?ys(r,3)||Jo(r,296)?Mt:Qt:wt}function Jo(r,t){if(r.flags&t)return!0;if(r.flags&3145728)for(var i=r.types,o=0,s=i;o<s.length;o++){var c=s[o];if(Jo(c,t))return!0}return!1}function ys(r,t,i){return r.flags&t?!0:i&&r.flags&114691?!1:!!(t&296)&&Qi(r,wt)||!!(t&2112)&&Qi(r,Qt)||!!(t&402653316)&&Qi(r,xt)||!!(t&528)&&Qi(r,Jn)||!!(t&16384)&&Qi(r,Wn)||!!(t&131072)&&Qi(r,en)||!!(t&65536)&&Qi(r,ut)||!!(t&32768)&&Qi(r,Nr)||!!(t&4096)&&Qi(r,na)||!!(t&67108864)&&Qi(r,dn)}function Sm(r,t,i){return r.flags&1048576?e.every(r.types,function(o){return Sm(o,t,i)}):ys(r,t,i)}function Z1(r){return!!(e.getObjectFlags(r)&16)&&!!r.symbol&&$1(r.symbol)}function $1(r){return(r.flags&128)!==0}function _6(r,t,i,o){return i===St||o===St?St:(!Na(i)&&Sm(i,131068)&&Mr(r,e.Diagnostics.The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter),Na(o)||LT(o)||Ed(o,Oe)||Mr(t,e.Diagnostics.The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type),Jn)}function m6(r,t,i,o){if(i===St||o===St)return St;if(e.isPrivateIdentifier(r)){if(De<99&&nl(r,2097152),!Zn(r).resolvedSymbol&&e.getContainingClass(r)){var s=w1(r,o.symbol,!0);lC(r,o,s)}}else i=iu(i,r),Sm(i,402665900)||ys(i,407109632)||Mr(r,e.Diagnostics.The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or_symbol);o=iu(o,t);var c=kp(o);return(!Sm(o,126091264)||c&&(ys(o,3145728)&&!Sm(c,126091264)||!Jo(c,126615552)))&&Mr(t,e.Diagnostics.The_right_hand_side_of_an_in_expression_must_not_be_a_primitive),Jn}function g6(r,t,i){var o=r.properties;if(br&&o.length===0)return iu(t,r);for(var s=0;s<o.length;s++)$C(r,t,s,o,i);return t}function $C(r,t,i,o,s){s===void 0&&(s=!1);var c=r.properties,L=c[i];if(L.kind===294||L.kind===295){var G=L.name,ce=lp(G);if(gu(ce)){var we=vu(ce),Ue=Ii(t,we);Ue&&(Ah(Ue,L,s),N1(L,!1,!0,t,Ue))}var Je=Hl(t,ce,32,G),ar=Vl(L,Je);return T_(L.kind===295?L:L.initializer,ar)}else if(L.kind===296)if(i<c.length-1)Mr(L,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);else{De<99&&nl(L,4);var _r=[];if(o)for(var Gr=0,Zr=o;Gr<Zr.length;Gr++){var Et=Zr[Gr];e.isSpreadAssignment(Et)||_r.push(Et.name)}var ar=cl(t,_r,t.symbol);return K_(o,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),T_(L.expression,ar)}else Mr(L,e.Diagnostics.Property_assignment_expected)}function v6(r,t,i){var o=r.elements;De<2&&Xe.downlevelIteration&&nl(r,512);for(var s=Ld(193,t,Nr,r)||dr,c=Xe.noUncheckedIndexedAccess?void 0:s,L=0;L<o.length;L++){var G=s;r.elements[L].kind===224&&(G=c=c!=null?c:Ld(65,t,Nr,r)||dr),ex(r,t,L,G,i)}return t}function ex(r,t,i,o,s){var c=r.elements,L=c[i];if(L.kind!==226){if(L.kind!==224){var G=Wf(i);if(_p(t)){var ce=32|(cg(L)?16:0),we=cp(t,G,ce,Wp(L,G))||dr,Ue=cg(L)?Fs(we,524288):we,Je=Vl(L,Ue);return T_(L,Je,s)}return T_(L,o,s)}if(i<c.length-1)Mr(L,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);else{var ar=L.expression;if(ar.kind===220&&ar.operatorToken.kind===63)Mr(ar.operatorToken,e.Diagnostics.A_rest_element_cannot_have_an_initializer);else{K_(r.elements,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma);var Je=Kf(t,ki)?ds(t,function(Gr){return qg(Gr,i)}):zs(o);return T_(ar,Je,s)}}}}function T_(r,t,i,o){var s;if(r.kind===295){var c=r;c.objectAssignmentInitializer&&(br&&!(lc(ui(c.objectAssignmentInitializer))&32768)&&(t=Fs(t,524288)),E6(c.name,c.equalsToken,c.objectAssignmentInitializer,i)),s=r.name}else s=r;return s.kind===220&&s.operatorToken.kind===63&&(Fe(s,i),s=s.left),s.kind===204?g6(s,t,o):s.kind===203?v6(s,t,i):h6(s,t,i)}function h6(r,t,i){var o=ui(r,i),s=r.parent.kind===296?e.Diagnostics.The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:e.Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,c=r.parent.kind===296?e.Diagnostics.The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:e.Diagnostics.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access;return _v(r,s,c)&&pp(t,o,r,r),e.isPrivateIdentifierPropertyAccessExpression(r)&&nl(r.parent,1048576),t}function Oh(r){switch(r=e.skipParentheses(r),r.kind){case 79:case 10:case 13:case 209:case 222:case 14:case 8:case 9:case 110:case 95:case 104:case 152:case 212:case 225:case 213:case 203:case 204:case 215:case 229:case 278:case 277:return!0;case 221:return Oh(r.whenTrue)&&Oh(r.whenFalse);case 220:return e.isAssignmentOperator(r.operatorToken.kind)?!1:Oh(r.left)&&Oh(r.right);case 218:case 219:switch(r.operator){case 53:case 39:case 40:case 54:return!0}return!1;case 216:case 210:case 228:default:return!1}}function eT(r,t){return(t.flags&98304)!==0||ng(r,t)}function y6(){var r=e.createBinaryExpressionTrampoline(t,i,o,s,c,L);return function(ar,_r){var Gr=r(ar,_r);return e.Debug.assertIsDefined(Gr),Gr};function t(ar,_r,Gr){if(_r?(_r.stackIndex++,_r.skip=!1,we(_r,void 0),Je(_r,void 0)):_r={checkMode:Gr,skip:!1,stackIndex:0,typeStack:[void 0,void 0]},e.isInJSFile(ar)&&e.getAssignedExpandoInitializer(ar))return _r.skip=!0,Je(_r,ui(ar.right,Gr)),_r;b6(ar);var Zr=ar.operatorToken.kind;return Zr===63&&(ar.left.kind===204||ar.left.kind===203)&&(_r.skip=!0,Je(_r,T_(ar.left,ui(ar.right,Gr),Gr,ar.right.kind===108))),_r}function i(ar,_r,Gr){if(!_r.skip)return G(_r,ar)}function o(ar,_r,Gr){if(!_r.skip){var Zr=Ue(_r);e.Debug.assertIsDefined(Zr),we(_r,Zr),Je(_r,void 0);var Et=ar.kind;if(Et===55||Et===56||Et===60){if(Et===55){var Tt=e.walkUpParenthesizedExpressions(Gr.parent);dT(Gr.left,Zr,e.isIfStatement(Tt)?Tt.thenStatement:void 0)}Nx(Zr,Gr.left)}}}function s(ar,_r,Gr){if(!_r.skip)return G(_r,ar)}function c(ar,_r){var Gr;if(_r.skip)Gr=Ue(_r);else{var Zr=ce(_r);e.Debug.assertIsDefined(Zr);var Et=Ue(_r);e.Debug.assertIsDefined(Et),Gr=rx(ar.left,ar.operatorToken,ar.right,Zr,Et,ar)}return _r.skip=!1,we(_r,void 0),Je(_r,void 0),_r.stackIndex--,Gr}function L(ar,_r,Gr){return Je(ar,_r),ar}function G(ar,_r){if(e.isBinaryExpression(_r))return _r;Je(ar,ui(_r,ar.checkMode))}function ce(ar){return ar.typeStack[ar.stackIndex]}function we(ar,_r){ar.typeStack[ar.stackIndex]=_r}function Ue(ar){return ar.typeStack[ar.stackIndex+1]}function Je(ar,_r){ar.typeStack[ar.stackIndex+1]=_r}}function b6(r){var t=r.left,i=r.operatorToken,o=r.right;i.kind===60&&(e.isBinaryExpression(t)&&(t.operatorToken.kind===56||t.operatorToken.kind===55)&&sn(t,e.Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses,e.tokenToString(t.operatorToken.kind),e.tokenToString(i.kind)),e.isBinaryExpression(o)&&(o.operatorToken.kind===56||o.operatorToken.kind===55)&&sn(o,e.Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses,e.tokenToString(o.operatorToken.kind),e.tokenToString(i.kind)))}function E6(r,t,i,o,s){var c=t.kind;if(c===63&&(r.kind===204||r.kind===203))return T_(r,ui(i,o),o,i.kind===108);var L;c===55||c===56||c===60?L=Eg(r,o):L=ui(r,o);var G=ui(i,o);return rx(r,t,i,L,G,s)}function rx(r,t,i,o,s,c){var L=t.kind;switch(L){case 41:case 42:case 66:case 67:case 43:case 68:case 44:case 69:case 40:case 65:case 47:case 70:case 48:case 71:case 49:case 72:case 51:case 74:case 52:case 78:case 50:case 73:if(o===St||s===St)return St;o=iu(o,r),s=iu(s,i);var G=void 0;if(o.flags&528&&s.flags&528&&(G=Aa(t.kind))!==void 0)return Mr(c||t,e.Diagnostics.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead,e.tokenToString(t.kind),e.tokenToString(G)),wt;var ce=Ab(r,o,e.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0),we=Ab(i,s,e.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0),Ue;if(ys(o,3)&&ys(s,3)||!(Jo(o,2112)||Jo(s,2112)))Ue=wt;else if(on(o,s)){switch(L){case 49:case 72:xo();break;case 42:case 67:De<3&&Mr(c,e.Diagnostics.Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later)}Ue=Qt}else xo(on),Ue=dr;return ce&&we&&Li(Ue),Ue;case 39:case 64:if(o===St||s===St)return St;!ys(o,402653316)&&!ys(s,402653316)&&(o=iu(o,r),s=iu(s,i));var Je=void 0;if(ys(o,296,!0)&&ys(s,296,!0)?Je=wt:ys(o,2112,!0)&&ys(s,2112,!0)?Je=Qt:ys(o,402653316,!0)||ys(s,402653316,!0)?Je=xt:(Na(o)||Na(s))&&(Je=Ua(o)||Ua(s)?dr:Ze),Je&&!di(L))return Je;if(!Je){var ar=402655727;return xo(function(Ft,_n){return ys(Ft,ar)&&ys(_n,ar)}),Ze}return L===64&&Li(Je),Je;case 29:case 31:case 32:case 33:return di(L)&&(o=Du(iu(o,r)),s=Du(iu(s,i)),Ai(function(Ft,_n){return ng(Ft,_n)||ng(_n,Ft)||Qi(Ft,Mt)&&Qi(_n,Mt)})),Jn;case 34:case 35:case 36:case 37:return Ai(function(Ft,_n){return eT(Ft,_n)||eT(_n,Ft)}),Jn;case 102:return _6(r,i,o,s);case 101:return m6(r,i,o,s);case 55:case 76:{var _r=mp(o)&4194304?ma([BR(br?o:Du(s)),s]):o;return L===76&&Li(s),_r}case 56:case 75:{var Gr=mp(o)&8388608?ma([HL(o),s],2):o;return L===75&&Li(s),Gr}case 60:case 77:{var Zr=mp(o)&262144?ma([Td(o),s],2):o;return L===77&&Li(s),Zr}case 63:var Et=e.isBinaryExpression(r.parent)?e.getAssignmentDeclarationKind(r.parent):0;return ca(Et,s),Bi(Et)?((!(s.flags&524288)||Et!==2&&Et!==6&&!cf(s)&&!o1(s)&&!(e.getObjectFlags(s)&1))&&Li(s),o):(Li(s),sg(s));case 27:if(!Xe.allowUnreachableCode&&Oh(r)&&!la(i)){var Tt=e.getSourceFileOfNode(r),At=Tt.text,Vt=e.skipTrivia(At,r.pos),Nn=Tt.parseDiagnostics.some(function(Ft){return Ft.code!==e.Diagnostics.JSX_expressions_must_have_one_parent_element.code?!1:e.textSpanContainsPosition(Ft,Vt)});Nn||Mr(r,e.Diagnostics.Left_side_of_comma_operator_is_unused_and_has_no_side_effects)}return s;default:return e.Debug.fail()}function on(Ft,_n){return ys(Ft,2112)&&ys(_n,2112)}function ca(Ft,_n){if(Ft===2)for(var Ca=0,Yn=sf(_n);Ca<Yn.length;Ca++){var Ba=Yn[Ca],Ti=An(Ba);if(Ti.symbol&&Ti.symbol.flags&32){var Pi=Ba.escapedName,jn=Uo(Ba.valueDeclaration,Pi,788968,void 0,Pi,!1);(jn==null?void 0:jn.declarations)&&jn.declarations.some(e.isJSDocTypedefTag)&&(Hc(jn,e.Diagnostics.Duplicate_identifier_0,e.unescapeLeadingUnderscores(Pi),Ba),Hc(Ba,e.Diagnostics.Duplicate_identifier_0,e.unescapeLeadingUnderscores(Pi),jn))}}}function la(Ft){return Ft.kind===79&&Ft.escapedText===\"eval\"}function di(Ft){var _n=Jo(o,12288)?r:Jo(s,12288)?i:void 0;return _n?(Mr(_n,e.Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol,e.tokenToString(Ft)),!1):!0}function Aa(Ft){switch(Ft){case 51:case 74:return 56;case 52:case 78:return 37;case 50:case 73:return 55;default:return}}function Li(Ft){if(Se&&e.isAssignmentOperator(L)&&_v(r,e.Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,e.Diagnostics.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access)&&(!e.isIdentifier(r)||e.unescapeLeadingUnderscores(r.escapedText)!==\"exports\")){var _n=void 0;if(de&&e.isPropertyAccessExpression(r)&&Jo(Ft,32768)){var Ca=ia(tl(r.expression),r.name.escapedText);R0(Ft,Ca)&&(_n=e.Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target)}pp(Ft,o,r,i,_n)}}function Bi(Ft){var _n;switch(Ft){case 2:return!0;case 1:case 5:case 6:case 3:case 4:var Ca=wn(r),Yn=e.getAssignedExpandoInitializer(i);return!!Yn&&e.isObjectLiteralExpression(Yn)&&!!(!((_n=Ca==null?void 0:Ca.exports)===null||_n===void 0)&&_n.size);default:return!1}}function Ai(Ft){return Ft(o,s)?!1:(xo(Ft),!0)}function xo(Ft){var _n,Ca=!1,Yn=c||t;if(Ft){var Ba=Sd(o),Ti=Sd(s);Ca=!(Ba===o&&Ti===s)&&!!(Ba&&Ti)&&Ft(Ba,Ti)}var Pi=o,jn=s;!Ca&&Ft&&(_n=T6(o,s,Ft),Pi=_n[0],jn=_n[1]);var Fi=Rf(Pi,jn),Wr=Fi[0],Tr=Fi[1];Wt(Yn,Ca,Wr,Tr)||ku(Yn,Ca,e.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2,e.tokenToString(t.kind),Wr,Tr)}function Wt(Ft,_n,Ca,Yn){var Ba;switch(t.kind){case 36:case 34:Ba=\"false\";break;case 37:case 35:Ba=\"true\"}if(Ba)return ku(Ft,_n,e.Diagnostics.This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap,Ba,Ca,Yn)}}function T6(r,t,i){var o=r,s=t,c=Du(r),L=Du(t);return i(c,L)||(o=c,s=L),[o,s]}function S6(r){Se&&(r.flags&8192||Gs(r,e.Diagnostics.A_yield_expression_is_only_allowed_in_a_generator_body),g1(r)&&Mr(r,e.Diagnostics.yield_expressions_cannot_be_used_in_a_parameter_initializer));var t=e.getContainingFunction(r);if(!t)return Ze;var i=e.getFunctionFlags(t);if(!(i&1))return Ze;var o=(i&2)!==0;r.asteriskToken&&(o&&De<99&&nl(r,26624),!o&&De<2&&Xe.downlevelIteration&&nl(r,256));var s=lm(t),c=s&&Vx(s,o),L=c&&c.yieldType||Ze,G=c&&c.nextType||Ze,ce=o?J_(G)||Ze:G,we=r.expression?ui(r.expression):zr,Ue=zC(r,we,ce,o);if(s&&Ue&&pp(Ue,L,r.expression||r,r.expression),r.asteriskToken){var Je=o?19:17;return Ox(Je,1,we,r.expression)||Ze}else if(s)return Lm(2,s,o)||Ze;var ar=MA(2,t);if(!ar&&(ar=Ze,Se&&Ke&&!e.expressionResultIsUnused(r))){var _r=Ac(r);(!_r||Na(_r))&&Mr(r,e.Diagnostics.yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation)}return ar}function D6(r,t){var i=Eg(r.condition);dT(r.condition,i,r.whenTrue);var o=ui(r.whenTrue,t),s=ui(r.whenFalse,t);return ma([o,s],2)}function tx(r){var t=r.parent;return e.isParenthesizedExpression(t)&&tx(t)||e.isElementAccessExpression(t)&&t.argumentExpression===r}function L6(r){for(var t=[r.head.text],i=[],o=0,s=r.templateSpans;o<s.length;o++){var c=s[o],L=ui(c.expression);Jo(L,12288)&&Mr(c.expression,e.Diagnostics.Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String),t.push(c.literal.text),i.push(Qi(L,It)?L:xt)}return vg(r)||tx(r)||hm(Ac(r)||tr,A6)?rg(t,i):xt}function A6(r){return!!(r.flags&134217856||r.flags&58982400&&Jo(l(r)||tr,402653316))}function C6(r){return r.kind===285&&!e.isJsxSelfClosingElement(r.parent)?r.parent.parent:r}function Dm(r,t,i,o){var s=C6(r),c=s.contextualType,L=s.inferenceContext;try{s.contextualType=t,s.inferenceContext=i;var G=ui(r,o|1|(i?2:0)),ce=Jo(G,2944)&&Cb(G,sb(t,r))?kl(G):G;return ce}finally{s.contextualType=c,s.inferenceContext=L}}function Ss(r,t){var i=Zn(r);if(!i.resolvedType){if(t&&t!==0)return ui(r,t);var o=Ia,s=Co;Ia=oo,Co=void 0,i.resolvedType=ui(r,t),Co=s,Ia=o}return i.resolvedType}function nx(r){return r=e.skipParentheses(r,!0),r.kind===210||r.kind===228||e.isJSDocTypeAssertion(r)}function Rh(r,t){var i=e.getEffectiveInitializer(r),o=cx(i)||(t?Dm(i,t,void 0,0):Ss(i));return e.isParameter(r)&&r.name.kind===201&&ki(o)&&!o.target.hasRestElement&&op(o)<r.name.elements.length?x6(o,r.name):o}function x6(r,t){for(var i=t.elements,o=vo(r).slice(),s=r.target.elementFlags.slice(),c=op(r);c<i.length;c++){var L=i[c];(c<i.length-1||!(L.kind===202&&L.dotDotDotToken))&&(o.push(!e.isOmittedExpression(L)&&cg(L)?Ho(L,!1,!1):Ze),s.push(2),!e.isOmittedExpression(L)&&!cg(L)&&Fp(L,Ze))}return Tu(o,s,r.target.readonly)}function rT(r,t){var i=e.getCombinedNodeFlags(r)&2||e.isDeclarationReadonly(r)?t:Pp(t);if(e.isInJSFile(r)){if(GL(i))return Fp(r,Ze),Ze;if(U0(i))return Fp(r,Sn),Sn}return i}function Cb(r,t){if(t){if(t.flags&3145728){var i=t.types;return e.some(i,function(s){return Cb(r,s)})}if(t.flags&58982400){var o=l(t)||tr;return Jo(o,4)&&Jo(r,128)||Jo(o,8)&&Jo(r,256)||Jo(o,64)&&Jo(r,2048)||Jo(o,4096)&&Jo(r,8192)||Cb(r,o)}return!!(t.flags&406847616&&Jo(r,128)||t.flags&256&&Jo(r,256)||t.flags&2048&&Jo(r,2048)||t.flags&512&&Jo(r,512)||t.flags&8192&&Jo(r,8192))}return!1}function vg(r){var t=r.parent;return e.isAssertionExpression(t)&&e.isConstTypeReference(t.type)||e.isJSDocTypeAssertion(t)&&e.isConstTypeReference(e.getJSDocTypeAssertionType(t))||(e.isParenthesizedExpression(t)||e.isArrayLiteralExpression(t)||e.isSpreadElement(t))&&vg(t)||(e.isPropertyAssignment(t)||e.isShorthandPropertyAssignment(t)||e.isTemplateSpan(t))&&vg(t.parent)}function hg(r,t,i,o){var s=ui(r,t,o);return vg(r)?kl(s):nx(r)?s:V0(s,sb(arguments.length===2?Ac(r):i,r))}function ax(r,t){return r.name.kind===161&&qf(r.name),hg(r.initializer,t)}function ix(r,t){TI(r),r.name.kind===161&&qf(r.name);var i=QC(r,t);return ox(r,i,t)}function ox(r,t,i){if(i&&i&10){var o=uv(t,0,!0),s=uv(t,1,!0),c=o||s;if(c&&c.typeParameters){var L=Up(r,2);if(L){var G=uv(Td(L),o?0:1,!1);if(G&&!G.typeParameters){if(i&8)return sx(r,i),yi;var ce=lv(r),we=ce.signature&&_o(ce.signature),Ue=we&&hC(we);if(Ue&&!Ue.typeParameters&&!e.every(ce.inferences,H_)){var Je=k6(ce,c.typeParameters),ar=XE(c,Je),_r=e.map(ce.inferences,function(Gr){return Y0(Gr.typeParameter)});if(z0(ar,G,function(Gr,Zr){uf(_r,Gr,Zr,0,!0)}),e.some(_r,H_)&&(q0(ar,G,function(Gr,Zr){uf(_r,Gr,Zr)}),!I6(ce.inferences,_r)))return N6(ce.inferences,_r),ce.inferredTypeParameters=e.concatenate(ce.inferredTypeParameters,Je),Ym(ar)}return Ym(yC(c,G,ce))}}}}return t}function sx(r,t){if(t&2){var i=lv(r);i.flags|=4}}function H_(r){return!!(r.candidates||r.contraCandidates)}function I6(r,t){for(var i=0;i<r.length;i++)if(H_(r[i])&&H_(t[i]))return!0;return!1}function N6(r,t){for(var i=0;i<r.length;i++)!H_(r[i])&&H_(t[i])&&(r[i]=t[i])}function k6(r,t){for(var i=[],o,s,c=0,L=t;c<L.length;c++){var G=L[c],ce=G.symbol.escapedName;if(tT(r.inferredTypeParameters,ce)||tT(i,ce)){var we=O6(e.concatenate(r.inferredTypeParameters,i),ce),Ue=fo(262144,we),Je=nc(Ue);Je.target=G,o=e.append(o,G),s=e.append(s,Je),i.push(Je)}else i.push(G)}if(s)for(var ar=Ol(o,s),_r=0,Gr=s;_r<Gr.length;_r++){var G=Gr[_r];G.mapper=ar}return i}function tT(r,t){return e.some(r,function(i){return i.symbol.escapedName===t})}function O6(r,t){for(var i=t.length;i>1&&t.charCodeAt(i-1)>=48&&t.charCodeAt(i-1)<=57;)i--;for(var o=t.slice(0,i),s=1;;s++){var c=o+s;if(!tT(r,c))return c}}function lx(r){var t=j_(r);if(t&&!t.typeParameters)return _o(t)}function R6(r){var t=ui(r.expression),i=tv(t,r.expression),o=lx(t);return o&&Vy(o,r,i!==t)}function tl(r){var t=cx(r);if(t)return t;if(r.flags&67108864&&Co){var i=Co[N(r)];if(i)return i}var o=Us,s=ui(r);if(Us!==o){var c=Co||(Co=[]);c[N(r)]=s,e.setNodeFlags(r,r.flags|67108864)}return s}function cx(r){var t=e.skipParentheses(r,!0);if(e.isJSDocTypeAssertion(t)){var i=e.getJSDocTypeAssertionType(t);if(!e.isConstTypeReference(i))return Da(i)}if(t=e.skipParentheses(r),e.isCallExpression(t)&&t.expression.kind!==106&&!e.isRequireCall(t,!0)&&!RC(t)){var i=e.isCallChain(t)?R6(t):lx(dg(t.expression));if(i)return i}else{if(e.isAssertionExpression(t)&&!e.isConstTypeReference(t.type))return Da(t.type);if(r.kind===8||r.kind===10||r.kind===110||r.kind===95)return ui(r)}}function wh(r){var t=Zn(r);if(t.contextFreeType)return t.contextFreeType;var i=r.contextualType;r.contextualType=Ze;try{var o=t.contextFreeType=ui(r,4);return o}finally{r.contextualType=i}}function ui(r,t,i){e.tracing===null||e.tracing===void 0||e.tracing.push(\"check\",\"checkExpression\",{kind:r.kind,pos:r.pos,end:r.end});var o=_e;_e=r,he=0;var s=P6(r,t,i),c=ox(r,s,t);return Z1(c)&&w6(r,c),_e=o,e.tracing===null||e.tracing===void 0||e.tracing.pop(),c}function w6(r,t){var i=r.parent.kind===205&&r.parent.expression===r||r.parent.kind===206&&r.parent.expression===r||(r.kind===79||r.kind===160)&&Vb(r)||r.parent.kind===180&&r.parent.exprName===r||r.parent.kind===274;if(i||Mr(r,e.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),Xe.isolatedModules){e.Debug.assert(!!(t.symbol.flags&128));var o=t.symbol.valueDeclaration;o.flags&8388608&&Mr(r,e.Diagnostics.Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided)}}function M6(r,t){if(e.hasJSDocNodes(r)&&e.isJSDocTypeAssertion(r)){var i=e.getJSDocTypeAssertionType(r);return BC(i,i,r.expression,t)}return ui(r.expression,t)}function P6(r,t,i){var o=r.kind;if(R)switch(o){case 225:case 212:case 213:R.throwIfCancellationRequested()}switch(o){case 79:return Hw(r,t);case 80:return $M(r);case 108:return ib(r);case 106:return _1(r);case 104:return ht;case 14:case 10:return fm(Lc(r.text));case 8:return wT(r),fm(Wf(+r.text));case 9:return LF(r),fm(y0({negative:!1,base10Value:e.parsePseudoBigInt(r.text)}));case 110:return sa;case 95:return mt;case 222:return L6(r);case 13:return Dt;case 203:return UA(r,t,i);case 204:return wM(r,t);case 205:return tC(r,t);case 160:return nC(r,t);case 206:return mP(r,t);case 207:if(r.expression.kind===100)return jP(r);case 208:return WP(r,t);case 209:return HP(r);case 211:return M6(r,t);case 225:return u3(r);case 212:case 213:return QC(r,t);case 215:return c6(r);case 210:case 228:return JP(r);case 229:return zP(r);case 230:return qP(r);case 214:return s6(r);case 216:return u6(r);case 217:return f6(r);case 218:return d6(r);case 219:return p6(r);case 220:return Fe(r,t);case 221:return D6(r,t);case 224:return IM(r,t);case 226:return zr;case 223:return S6(r);case 231:return NM(r);case 287:return zM(r,t);case 277:return GM(r);case 278:return PM(r);case 281:return BM(r);case 285:return VM(r,t);case 279:e.Debug.fail(\"Shouldn't ever directly check a JsxOpeningElement\")}return dr}function ux(r){r.expression&&Gs(r.expression,e.Diagnostics.Type_expected),Wi(r.constraint),Wi(r.default);var t=vl(wn(r));l(t),ga(t)||Mr(r.default,e.Diagnostics.Type_parameter_0_has_a_circular_default,gn(t));var i=Nl(t),o=Bn(t);i&&o&&Rl(o,Il(oi(i,B_(t,o)),o),r.default,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1),Se&&Tg(r.name,e.Diagnostics.Type_parameter_name_cannot_be_0)}function fx(r){ff(r),wb(r);var t=e.getContainingFunction(r);e.hasSyntacticModifier(r,16476)&&(t.kind===170&&e.nodeIsPresent(t.body)||Mr(r,e.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation),t.kind===170&&e.isIdentifier(r.name)&&r.name.escapedText===\"constructor\"&&Mr(r.name,e.Diagnostics.constructor_cannot_be_used_as_a_parameter_property_name)),r.questionToken&&e.isBindingPattern(r.name)&&t.body&&Mr(r,e.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),r.name&&e.isIdentifier(r.name)&&(r.name.escapedText===\"this\"||r.name.escapedText===\"new\")&&(t.parameters.indexOf(r)!==0&&Mr(r,e.Diagnostics.A_0_parameter_must_be_the_first_parameter,r.name.escapedText),(t.kind===170||t.kind===174||t.kind===179)&&Mr(r,e.Diagnostics.A_constructor_cannot_have_a_this_parameter),t.kind===213&&Mr(r,e.Diagnostics.An_arrow_function_cannot_have_a_this_parameter),(t.kind===171||t.kind===172)&&Mr(r,e.Diagnostics.get_and_set_accessors_cannot_declare_this_parameters)),r.dotDotDotToken&&!e.isBindingPattern(r.name)&&!Qi(Eo(An(r.symbol)),xa)&&Mr(r,e.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}function F6(r){var t=G6(r);if(!t){Mr(r,e.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return}var i=bu(t),o=Dc(i);if(!!o){Wi(r.type);var s=r.parameterName;if(o.kind===0||o.kind===2)Iy(s);else if(o.parameterIndex>=0){if(ue(i)&&o.parameterIndex===i.parameters.length-1)Mr(s,e.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter);else if(o.type){var c=function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type)};Rl(o.type,An(i.parameters[o.parameterIndex]),r.type,void 0,c)}}else if(s){for(var L=!1,G=0,ce=t.parameters;G<ce.length;G++){var we=ce[G].name;if(e.isBindingPattern(we)&&dx(we,s,o.parameterName)){L=!0;break}}L||Mr(r.parameterName,e.Diagnostics.Cannot_find_parameter_0,o.parameterName)}}}function G6(r){switch(r.parent.kind){case 213:case 173:case 255:case 212:case 178:case 168:case 167:var t=r.parent;if(r===t.type)return t}}function dx(r,t,i){for(var o=0,s=r.elements;o<s.length;o++){var c=s[o];if(!e.isOmittedExpression(c)){var L=c.name;if(L.kind===79&&L.escapedText===i)return Mr(t,e.Diagnostics.A_type_predicate_cannot_reference_element_0_in_a_binding_pattern,i),!0;if((L.kind===201||L.kind===200)&&dx(L,t,i))return!0}}}function mv(r){r.kind===175?Y8(r):(r.kind===178||r.kind===255||r.kind===179||r.kind===173||r.kind===170||r.kind===174)&&zb(r);var t=e.getFunctionFlags(r);if(t&4||((t&3)===3&&De<99&&nl(r,6144),(t&3)===2&&De<4&&nl(r,64),(t&3)!==0&&De<2&&nl(r,128)),Vh(e.getEffectiveTypeParameterDeclarations(r)),e.forEach(r.parameters,fx),r.type&&Wi(r.type),Se){A4(r);var i=e.getEffectiveReturnTypeNode(r);if(Ke&&!i)switch(r.kind){case 174:Mr(r,e.Diagnostics.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break;case 173:Mr(r,e.Diagnostics.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break}if(i){var o=e.getFunctionFlags(r);if((o&5)===1){var s=Da(i);if(s===Wn)Mr(i,e.Diagnostics.A_generator_cannot_have_a_void_type_annotation);else{var c=Lm(0,s,(o&2)!==0)||Ze,L=Lm(1,s,(o&2)!==0)||c,G=Lm(2,s,(o&2)!==0)||tr,ce=KC(c,L,G,!!(o&2));Rl(ce,s,i)}}else(o&3)===2&&c4(r,i)}r.kind!==175&&r.kind!==315&&Dd(r)}}function B6(r){for(var t=new e.Map,i=new e.Map,o=new e.Map,s=0,c=r.members;s<c.length;s++){var L=c[s];if(L.kind===170)for(var G=0,ce=L.parameters;G<ce.length;G++){var we=ce[G];e.isParameterPropertyDeclaration(we,L)&&!e.isBindingPattern(we.name)&&Et(t,we.name,we.name.escapedText,3)}else{var Ue=e.isStatic(L),Je=L.name;if(!Je)continue;var ar=e.isPrivateIdentifier(Je),_r=ar&&Ue?16:0,Gr=ar?o:Ue?i:t,Zr=Je&&e.getPropertyNameForPropertyNameNode(Je);if(Zr)switch(L.kind){case 171:Et(Gr,Je,Zr,1|_r);break;case 172:Et(Gr,Je,Zr,2|_r);break;case 166:Et(Gr,Je,Zr,3|_r);break;case 168:Et(Gr,Je,Zr,8|_r);break}}}function Et(Tt,At,Vt,Nn){var on=Tt.get(Vt);if(on)if((on&16)!==(Nn&16))Mr(At,e.Diagnostics.Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name,e.getTextOfNode(At));else{var ca=!!(on&8),la=!!(Nn&8);ca||la?ca!==la&&Mr(At,e.Diagnostics.Duplicate_identifier_0,e.getTextOfNode(At)):on&Nn&-17?Mr(At,e.Diagnostics.Duplicate_identifier_0,e.getTextOfNode(At)):Tt.set(Vt,on|Nn)}else Tt.set(Vt,Nn)}}function U6(r){for(var t=0,i=r.members;t<i.length;t++){var o=i[t],s=o.name,c=e.isStatic(o);if(c&&s){var L=e.getPropertyNameForPropertyNameNode(s);switch(L){case\"name\":case\"length\":case\"caller\":case\"arguments\":case\"prototype\":var G=e.Diagnostics.Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1,ce=Fc(wn(r));Mr(s,G,L,ce);break}}}}function px(r){for(var t=new e.Map,i=0,o=r.members;i<o.length;i++){var s=o[i];if(s.kind===165){var c=void 0,L=s.name;switch(L.kind){case 10:case 8:c=L.text;break;case 79:c=e.idText(L);break;default:continue}t.get(c)?(Mr(e.getNameOfDeclaration(s.symbol.valueDeclaration),e.Diagnostics.Duplicate_identifier_0,c),Mr(s.name,e.Diagnostics.Duplicate_identifier_0,c)):t.set(c,!0)}}}function nT(r){if(r.kind===257){var t=wn(r);if(t.declarations&&t.declarations.length>0&&t.declarations[0]!==r)return}var i=dD(wn(r));if(i!=null&&i.declarations){for(var o=new e.Map,s=function(ce){ce.parameters.length===1&&ce.parameters[0].type&&v_(Da(ce.parameters[0].type),function(we){var Ue=o.get(Bc(we));Ue?Ue.declarations.push(ce):o.set(Bc(we),{type:we,declarations:[ce]})})},c=0,L=i.declarations;c<L.length;c++){var G=L[c];s(G)}o.forEach(function(ce){if(ce.declarations.length>1)for(var we=0,Ue=ce.declarations;we<Ue.length;we++){var Je=Ue[we];Mr(Je,e.Diagnostics.Duplicate_index_signature_for_type_0,gn(ce.type))}})}}function _x(r){!ff(r)&&!bF(r)&&qb(r.name),wb(r),aT(r),e.isPrivateIdentifier(r.name)&&e.hasStaticModifier(r)&&r.initializer&&De===99&&!Xe.useDefineForClassFields&&Mr(r.initializer,e.Diagnostics.Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_not_specified_with_a_target_of_esnext_Consider_adding_the_useDefineForClassFields_flag),e.hasSyntacticModifier(r,128)&&r.kind===166&&r.initializer&&Mr(r,e.Diagnostics.Property_0_cannot_have_an_initializer_because_it_is_marked_abstract,e.declarationNameToString(r.name))}function V6(r){return e.isPrivateIdentifier(r.name)&&Mr(r,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),_x(r)}function W6(r){TI(r)||qb(r.name),Tx(r),e.hasSyntacticModifier(r,128)&&r.kind===168&&r.body&&Mr(r,e.Diagnostics.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract,e.declarationNameToString(r.name)),e.isPrivateIdentifier(r.name)&&!e.getContainingClass(r)&&Mr(r,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),aT(r)}function aT(r){if(e.isPrivateIdentifier(r.name)&&De<99){for(var t=e.getEnclosingBlockScopeContainer(r);t;t=e.getEnclosingBlockScopeContainer(t))Zn(t).flags|=67108864;if(e.isClassExpression(r.parent)){var i=f1(r.parent);i&&(Zn(r.name).flags|=524288,Zn(i).flags|=65536)}}}function j6(r){ff(r),e.forEachChild(r,Wi)}function H6(r){mv(r),hF(r)||yF(r),Wi(r.body);var t=wn(r),i=e.getDeclarationOfKind(t,r.kind);if(r===i&&kb(t),e.nodeIsMissing(r.body)||!Se)return;function o(_r){return e.isPrivateIdentifierClassElementDeclaration(_r)?!0:_r.kind===166&&!e.isStatic(_r)&&!!_r.initializer}var s=r.parent;if(e.getClassExtendsHeritageElement(s)){d1(r.parent,s);var c=IA(s),L=xA(r.body);if(L){c&&Mr(L,e.Diagnostics.A_constructor_cannot_contain_a_super_call_when_its_class_extends_null);var G=(e.getEmitScriptTarget(Xe)!==99||!Ye)&&(e.some(r.parent.members,o)||e.some(r.parameters,function(_r){return e.hasSyntacticModifier(_r,16476)}));if(G){for(var ce=r.body.statements,we=void 0,Ue=0,Je=ce;Ue<Je.length;Ue++){var ar=Je[Ue];if(ar.kind===237&&e.isSuperCall(ar.expression)){we=ar;break}if(!e.isPrologueDirective(ar))break}we||Mr(r,e.Diagnostics.A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_parameter_properties_or_private_identifiers)}}else c||Mr(r,e.Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call)}}function mx(r){if(Se){if(!zb(r)&&!sF(r)&&qb(r.name),Mh(r),mv(r),r.kind===171&&!(r.flags&8388608)&&e.nodeIsPresent(r.body)&&r.flags&256&&(r.flags&512||Mr(r.name,e.Diagnostics.A_get_accessor_must_return_a_value)),r.name.kind===161&&qf(r.name),l_(r)){var t=wn(r),i=e.getDeclarationOfKind(t,171),o=e.getDeclarationOfKind(t,172);if(i&&o&&!(Cm(i)&1)){Zn(i).flags|=1;var s=e.getEffectiveModifierFlags(i),c=e.getEffectiveModifierFlags(o);(s&128)!==(c&128)&&(Mr(i.name,e.Diagnostics.Accessors_must_both_be_abstract_or_non_abstract),Mr(o.name,e.Diagnostics.Accessors_must_both_be_abstract_or_non_abstract)),(s&16&&!(c&24)||s&8&&!(c&8))&&(Mr(i.name,e.Diagnostics.A_get_accessor_must_be_at_least_as_accessible_as_the_setter),Mr(o.name,e.Diagnostics.A_get_accessor_must_be_at_least_as_accessible_as_the_setter));var L=_(i),G=_(o);L&&G&&Rl(L,G,i,e.Diagnostics.The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type)}}var ce=nr(wn(r));r.kind===171&&Y1(r,ce)}Wi(r.body),aT(r)}function J6(r){Mh(r)}function xb(r,t){return M_(e.map(r.typeArguments,Da),t,lf(t),e.isInJSFile(r))}function gx(r,t){for(var i,o,s=!0,c=0;c<t.length;c++){var L=Nl(t[c]);L&&(i||(i=xb(r,t),o=Ol(t,i)),s=s&&Rl(i[c],oi(L,o),r.typeArguments[c],e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1))}return s}function iT(r){var t=nh(r);if(!Ua(t)){var i=Zn(r).resolvedSymbol;if(i)return i.flags&524288&&Ja(i).typeParameters||(e.getObjectFlags(t)&4?t.target.localTypeParameters:void 0)}}function oT(r){Hh(r,r.typeArguments),r.kind===177&&r.typeName.jsdocDotPos!==void 0&&!e.isInJSFile(r)&&!e.isInJSDoc(r)&&gp(r,r.typeName.jsdocDotPos,1,e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments),e.forEach(r.typeArguments,Wi);var t=nh(r);if(!Ua(t)){if(r.typeArguments&&Se){var i=iT(r);i&&gx(r,i)}var o=Zn(r).resolvedSymbol;o&&(e.some(o.declarations,function(s){return jh(s)&&!!(s.flags&134217728)})&&kc(xh(r),o.declarations,o.escapedName),t.flags&32&&o.flags&8&&Mr(r,e.Diagnostics.Enum_type_0_has_members_with_initializers_that_are_not_literals,gn(t)))}}function K6(r){var t=e.tryCast(r.parent,e.isTypeReferenceType);if(!!t){var i=iT(t);if(!!i){var o=Nl(i[t.typeArguments.indexOf(r)]);return o&&oi(o,Ol(i,xb(t,i)))}}}function z6(r){AD(r)}function q6(r){if(e.forEach(r.members,Wi),Se){var t=dL(r);Fb(t,t.symbol),nT(r),px(r)}}function X6(r){Wi(r.elementType)}function Y6(r){for(var t=r.elements,i=!1,o=!1,s=e.some(t,e.isNamedTupleMember),c=0,L=t;c<L.length;c++){var G=L[c];if(G.kind!==196&&s){sn(G,e.Diagnostics.Tuple_members_must_all_have_names_or_all_not_have_names);break}var ce=t0(G);if(ce&8){var we=Da(G.type);if(!_p(we)){Mr(G,e.Diagnostics.A_rest_element_type_must_be_an_array_type);break}(el(we)||ki(we)&&we.target.combinedFlags&4)&&(o=!0)}else if(ce&4){if(o){sn(G,e.Diagnostics.A_rest_element_cannot_follow_another_rest_element);break}o=!0}else if(ce&2){if(o){sn(G,e.Diagnostics.An_optional_element_cannot_follow_a_rest_element);break}i=!0}else if(i){sn(G,e.Diagnostics.A_required_element_cannot_follow_an_optional_element);break}}e.forEach(r.elements,Wi),Da(r)}function Q6(r){e.forEach(r.types,Wi),Da(r)}function vx(r,t){if(!(r.flags&8388608))return r;var i=r.objectType,o=r.indexType;if(Qi(o,qu(i,!1)))return t.kind===206&&e.isAssignmentTarget(t)&&e.getObjectFlags(i)&32&&ru(i)&1&&Mr(t,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,gn(i)),r;var s=wi(i);if(oc(s,wt)&&ys(o,296))return r;if(P_(i)){var c=c0(o,t);if(c){var L=v_(s,function(G){return Ii(G,c)});if(L&&e.getDeclarationModifierFlagsFromSymbol(L)&24)return Mr(t,e.Diagnostics.Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter,e.unescapeLeadingUnderscores(c)),dr}}return Mr(t,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,gn(o),gn(i)),dr}function Z6(r){Wi(r.objectType),Wi(r.indexType),vx(oL(r),r)}function $6(r){e4(r),Wi(r.typeParameter),Wi(r.nameType),Wi(r.type),r.type||Fp(r,Ze);var t=d0(r),i=of(t);if(i)Rl(i,_t,r.nameType);else{var o=Tc(t);Rl(o,_t,e.getEffectiveConstraintOfTypeParameter(r.typeParameter))}}function e4(r){var t;if(!((t=r.members)===null||t===void 0)&&t.length)return sn(r.members[0],e.Diagnostics.A_mapped_type_may_not_declare_properties_or_methods)}function r4(r){Iy(r)}function t4(r){cF(r),Wi(r.type)}function n4(r){e.forEachChild(r,Wi)}function a4(r){e.findAncestor(r,function(t){return t.parent&&t.parent.kind===188&&t.parent.extendsType===t})||sn(r,e.Diagnostics.infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type),Wi(r.typeParameter),Dd(r)}function i4(r){for(var t=0,i=r.templateSpans;t<i.length;t++){var o=i[t];Wi(o.type);var s=Da(o.type);Rl(s,It,o.type)}Da(r)}function o4(r){Wi(r.argument),Da(r)}function s4(r){r.dotDotDotToken&&r.questionToken&&sn(r,e.Diagnostics.A_tuple_member_cannot_be_both_optional_and_rest),r.type.kind===184&&sn(r.type,e.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),r.type.kind===185&&sn(r.type,e.Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type),Wi(r.type),Da(r)}function Ib(r){return(e.hasEffectiveModifier(r,8)||e.isPrivateIdentifierClassElementDeclaration(r))&&!!(r.flags&8388608)}function Nb(r,t){var i=e.getCombinedModifierFlags(r);return r.parent.kind!==257&&r.parent.kind!==256&&r.parent.kind!==225&&r.flags&8388608&&(!(i&2)&&!(e.isModuleBlock(r.parent)&&e.isModuleDeclaration(r.parent.parent)&&e.isGlobalScopeAugmentation(r.parent.parent))&&(i|=1),i|=2),i&t}function kb(r){if(!Se)return;function t(Yn,Ba){var Ti=Ba!==void 0&&Ba.parent===Yn[0].parent;return Ti?Ba:Yn[0]}function i(Yn,Ba,Ti,Pi,jn){var Fi=Pi^jn;if(Fi!==0){var Wr=Nb(t(Yn,Ba),Ti);e.forEach(Yn,function(Tr){var hn=Nb(Tr,Ti)^Wr;hn&1?Mr(e.getNameOfDeclaration(Tr),e.Diagnostics.Overload_signatures_must_all_be_exported_or_non_exported):hn&2?Mr(e.getNameOfDeclaration(Tr),e.Diagnostics.Overload_signatures_must_all_be_ambient_or_non_ambient):hn&24?Mr(e.getNameOfDeclaration(Tr)||Tr,e.Diagnostics.Overload_signatures_must_all_be_public_private_or_protected):hn&128&&Mr(e.getNameOfDeclaration(Tr),e.Diagnostics.Overload_signatures_must_all_be_abstract_or_non_abstract)})}}function o(Yn,Ba,Ti,Pi){if(Ti!==Pi){var jn=e.hasQuestionToken(t(Yn,Ba));e.forEach(Yn,function(Fi){var Wr=e.hasQuestionToken(Fi)!==jn;Wr&&Mr(e.getNameOfDeclaration(Fi),e.Diagnostics.Overload_signatures_must_all_be_optional_or_required)})}}var s=155,c=0,L=s,G=!1,ce=!0,we=!1,Ue,Je,ar,_r=r.declarations,Gr=(r.flags&16384)!==0;function Zr(Yn){if(!(Yn.name&&e.nodeIsMissing(Yn.name))){var Ba=!1,Ti=e.forEachChild(Yn.parent,function(hn){if(Ba)return hn;Ba=hn===Yn});if(Ti&&Ti.pos===Yn.end&&Ti.kind===Yn.kind){var Pi=Ti.name||Ti,jn=Ti.name;if(Yn.name&&jn&&(e.isPrivateIdentifier(Yn.name)&&e.isPrivateIdentifier(jn)&&Yn.name.escapedText===jn.escapedText||e.isComputedPropertyName(Yn.name)&&e.isComputedPropertyName(jn)||e.isPropertyNameLiteral(Yn.name)&&e.isPropertyNameLiteral(jn)&&e.getEscapedTextOfIdentifierOrLiteral(Yn.name)===e.getEscapedTextOfIdentifierOrLiteral(jn))){var Fi=(Yn.kind===168||Yn.kind===167)&&e.isStatic(Yn)!==e.isStatic(Ti);if(Fi){var Wr=e.isStatic(Yn)?e.Diagnostics.Function_overload_must_be_static:e.Diagnostics.Function_overload_must_not_be_static;Mr(Pi,Wr)}return}if(e.nodeIsPresent(Ti.body)){Mr(Pi,e.Diagnostics.Function_implementation_name_must_be_0,e.declarationNameToString(Yn.name));return}}var Tr=Yn.name||Yn;Gr?Mr(Tr,e.Diagnostics.Constructor_implementation_is_missing):e.hasSyntacticModifier(Yn,128)?Mr(Tr,e.Diagnostics.All_declarations_of_an_abstract_method_must_be_consecutive):Mr(Tr,e.Diagnostics.Function_implementation_is_missing_or_not_immediately_following_the_declaration)}}var Et=!1,Tt=!1,At=!1,Vt=[];if(_r)for(var Nn=0,on=_r;Nn<on.length;Nn++){var ca=on[Nn],la=ca,di=la.flags&8388608,Aa=la.parent&&(la.parent.kind===257||la.parent.kind===181)||di;if(Aa&&(ar=void 0),(la.kind===256||la.kind===225)&&!di&&(At=!0),la.kind===255||la.kind===168||la.kind===167||la.kind===170){Vt.push(la);var Li=Nb(la,s);c|=Li,L&=Li,G=G||e.hasQuestionToken(la),ce=ce&&e.hasQuestionToken(la);var Bi=e.nodeIsPresent(la.body);Bi&&Ue?Gr?Tt=!0:Et=!0:(ar==null?void 0:ar.parent)===la.parent&&ar.end!==la.pos&&Zr(ar),Bi?Ue||(Ue=la):we=!0,ar=la,Aa||(Je=la)}}if(Tt&&e.forEach(Vt,function(Yn){Mr(Yn,e.Diagnostics.Multiple_constructor_implementations_are_not_allowed)}),Et&&e.forEach(Vt,function(Yn){Mr(e.getNameOfDeclaration(Yn)||Yn,e.Diagnostics.Duplicate_function_implementation)}),At&&!Gr&&r.flags&16&&_r){var Ai=e.filter(_r,function(Yn){return Yn.kind===256}).map(function(Yn){return e.createDiagnosticForNode(Yn,e.Diagnostics.Consider_adding_a_declare_modifier_to_this_class)});e.forEach(_r,function(Yn){var Ba=Yn.kind===256?e.Diagnostics.Class_declaration_cannot_implement_overload_list_for_0:Yn.kind===255?e.Diagnostics.Function_with_bodies_can_only_merge_with_classes_that_are_ambient:void 0;Ba&&e.addRelatedInfo.apply(void 0,Gt([Mr(e.getNameOfDeclaration(Yn)||Yn,Ba,e.symbolName(r))],Ai,!1))})}if(Je&&!Je.body&&!e.hasSyntacticModifier(Je,128)&&!Je.questionToken&&Zr(Je),we&&(_r&&(i(_r,Ue,s,c,L),o(_r,Ue,G,ce)),Ue))for(var xo=Op(r),Wt=bu(Ue),Ft=0,_n=xo;Ft<_n.length;Ft++){var Ca=_n[Ft];if(!vR(Wt,Ca)){e.addRelatedInfo(Mr(Ca.declaration,e.Diagnostics.This_overload_signature_is_not_compatible_with_its_implementation_signature),e.createDiagnosticForNode(Ue,e.Diagnostics.The_implementation_signature_is_declared_here));break}}}function gv(r){if(!Se)return;var t=r.localSymbol;if(!t&&(t=wn(r),!t.exportSymbol)||e.getDeclarationOfKind(t,r.kind)!==r)return;for(var i=0,o=0,s=0,c=0,L=t.declarations;c<L.length;c++){var G=L[c],ce=Et(G),we=Nb(G,513);we&1?we&512?s|=ce:i|=ce:o|=ce}var Ue=i|o,Je=i&o,ar=s&Ue;if(Je||ar)for(var _r=0,Gr=t.declarations;_r<Gr.length;_r++){var G=Gr[_r],ce=Et(G),Zr=e.getNameOfDeclaration(G);ce&ar?Mr(Zr,e.Diagnostics.Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead,e.declarationNameToString(Zr)):ce&Je&&Mr(Zr,e.Diagnostics.Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local,e.declarationNameToString(Zr))}function Et(Tt){var At=Tt;switch(At.kind){case 257:case 258:case 343:case 336:case 337:return 2;case 260:return e.isAmbientModule(At)||e.getModuleInstanceState(At)!==0?5:4;case 256:case 259:case 297:return 3;case 303:return 7;case 270:case 220:var Vt=At,Nn=e.isExportAssignment(Vt)?Vt.expression:Vt.right;if(!e.isEntityNameExpression(Nn))return 1;At=Nn;case 264:case 267:case 266:var on=0,ca=ms(wn(At));return e.forEach(ca.declarations,function(la){on|=Et(la)}),on;case 253:case 202:case 255:case 269:case 79:return 1;default:return e.Debug.failBadSyntaxKind(At)}}}function vv(r,t,i,o){var s=hv(r,t);return s&&J_(s,t,i,o)}function hv(r,t){if(!Na(r)){var i=r;if(i.promisedTypeOfPromise)return i.promisedTypeOfPromise;if(nf(r,ah(!1)))return i.promisedTypeOfPromise=vo(r)[0];if(!Sm(r,262140)){var o=ia(r,\"then\");if(!Na(o)){var s=o?Ni(o,0):e.emptyArray;if(s.length===0){t&&Mr(t,e.Diagnostics.A_promise_must_have_a_then_method);return}var c=Fs(ma(e.map(s,z1)),2097152);if(!Na(c)){var L=Ni(c,0);if(L.length===0){t&&Mr(t,e.Diagnostics.The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback);return}return i.promisedTypeOfPromise=ma(e.map(L,z1),2)}}}}}function yv(r,t,i,o,s){var c=t?J_(r,i,o,s):Sd(r,i,o,s);return c||dr}function hx(r){if(Sm(r,262140))return!1;var t=ia(r,\"then\");return!!t&&Ni(Fs(t,2097152),0).length>0}function sT(r){var t;if(r.flags&16777216){var i=r0(!1);return!!i&&r.aliasSymbol===i&&((t=r.aliasTypeArguments)===null||t===void 0?void 0:t.length)===1}return!1}function bv(r){return r.flags&1048576?ds(r,bv):sT(r)?r.aliasTypeArguments[0]:r}function l4(r){if(Na(r)||sT(r))return r;if(P_(r)){var t=l(r);if(!t||t.flags&3||cf(t)||hx(t)){var i=r0(!0);if(i)return Zm(i,[bv(r)])}}return e.Debug.assert(hv(r)===void 0,\"type provided should not be a non-generic 'promise'-like.\"),r}function J_(r,t,i,o){var s=Sd(r,t,i,o);return s&&l4(s)}function Sd(r,t,i,o){if(Na(r)||sT(r))return r;var s=r;if(s.awaitedTypeOfType)return s.awaitedTypeOfType;if(r.flags&1048576){var c=t?function(ce){return Sd(ce,t,i,o)}:Sd;return s.awaitedTypeOfType=ds(r,c)}var L=hv(r);if(L){if(r.id===L.id||Fa.lastIndexOf(L.id)>=0){t&&Mr(t,e.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);return}Fa.push(r.id);var G=Sd(L,t,i,o);return Fa.pop(),G?s.awaitedTypeOfType=G:void 0}if(hx(r)){t&&(e.Debug.assertIsDefined(i),Mr(t,i,o));return}return s.awaitedTypeOfType=r}function c4(r,t){var i=Da(t);if(De>=2){if(Ua(i))return;var o=ah(!0);if(o!==va&&!nf(i,o)){Mr(t,e.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0,gn(Sd(i)||Wn));return}}else{if(f4(t),Ua(i))return;var s=e.getEntityNameFromTypeNode(t);if(s===void 0){Mr(t,e.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,gn(i));return}var c=rs(s,111551,!0),L=c?An(c):dr;if(Ua(L)){s.kind===79&&s.escapedText===\"Promise\"&&O_(i)===ah(!1)?Mr(t,e.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):Mr(t,e.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,e.entityNameToString(s));return}var G=Pk(!0);if(G===Qn){Mr(t,e.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,e.entityNameToString(s));return}if(!Rl(L,G,t,e.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))return;var ce=s&&e.getFirstIdentifier(s),we=ks(r.locals,ce.escapedText,111551);if(we){Mr(we.valueDeclaration,e.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,e.idText(ce),e.entityNameToString(s));return}}yv(i,!1,r,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}function u4(r){var t=_g(r);Sb(t,r);var i=_o(t);if(!(i.flags&1)){var o,s=OC(r),c;switch(r.parent.kind){case 256:var L=wn(r.parent),G=An(L);o=ma([G,Wn]);break;case 163:o=Wn,c=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any);break;case 166:o=Wn,c=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_return_type_of_a_property_decorator_function_must_be_either_void_or_any);break;case 168:case 171:case 172:var ce=jp(r.parent),we=FD(ce);o=ma([we,Wn]);break;default:return e.Debug.fail()}Rl(i,o,r,s,function(){return c})}}function f4(r){yx(r&&e.getEntityNameFromTypeNode(r))}function yx(r){if(!!r){var t=e.getFirstIdentifier(r),i=(r.kind===79?788968:1920)|2097152,o=Uo(t,t.escapedText,i,void 0,void 0,!0);o&&o.flags&2097152&&If(o)&&!Dv(ms(o))&&!Ln(o)&&ii(o)}}function yg(r){var t=lT(r);t&&e.isEntityName(t)&&yx(t)}function lT(r){if(r)switch(r.kind){case 187:case 186:return bx(r.types);case 188:return bx([r.trueType,r.falseType]);case 190:case 196:return lT(r.type);case 177:return r.typeName}}function bx(r){for(var t,i=0,o=r;i<o.length;i++){for(var s=o[i];s.kind===190||s.kind===196;)s=s.type;if(s.kind!==143&&!(!br&&(s.kind===195&&s.literal.kind===104||s.kind===152))){var c=lT(s);if(!c)return;if(t){if(!e.isIdentifier(t)||!e.isIdentifier(c)||t.escapedText!==c.escapedText)return}else t=c}}return t}function Ob(r){var t=e.getEffectiveTypeAnnotationNode(r);return e.isRestParameter(r)?e.getRestParameterElementType(t):t}function Mh(r){if(!!r.decorators&&!!e.nodeCanBeDecorated(r,r.parent,r.parent.parent)){Xe.experimentalDecorators||Mr(r,e.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning);var t=r.decorators[0];if(nl(t,8),r.kind===163&&nl(t,32),Xe.emitDecoratorMetadata)switch(nl(t,16),r.kind){case 256:var i=e.getFirstConstructorWithBody(r);if(i)for(var o=0,s=i.parameters;o<s.length;o++){var c=s[o];yg(Ob(c))}break;case 171:case 172:var L=r.kind===171?172:171,G=e.getDeclarationOfKind(wn(r),L);yg(ml(r)||G&&ml(G));break;case 168:for(var ce=0,we=r.parameters;ce<we.length;ce++){var c=we[ce];yg(Ob(c))}yg(e.getEffectiveReturnTypeNode(r));break;case 166:yg(e.getEffectiveTypeAnnotationNode(r));break;case 163:yg(Ob(r));for(var Ue=r.parent,Je=0,ar=Ue.parameters;Je<ar.length;Je++){var c=ar[Je];yg(Ob(c))}break}e.forEach(r.decorators,u4)}}function d4(r){Se&&(Tx(r),kT(r),bg(r,r.name))}function p4(r){r.typeExpression||Mr(r.name,e.Diagnostics.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags),r.name&&Tg(r.name,e.Diagnostics.Type_alias_name_cannot_be_0),Wi(r.typeExpression),Vh(e.getEffectiveTypeParameterDeclarations(r))}function _4(r){Wi(r.constraint);for(var t=0,i=r.typeParameters;t<i.length;t++){var o=i[t];Wi(o)}}function m4(r){Wi(r.typeExpression)}function g4(r){if(Wi(r.typeExpression),!e.getParameterSymbolFromJSDoc(r)){var t=e.getHostSignatureFromJSDoc(r);if(t){var i=e.getJSDocTags(t).filter(e.isJSDocParameterTag).indexOf(r);if(i>-1&&i<t.parameters.length&&e.isBindingPattern(t.parameters[i].name))return;zE(t)?e.findLast(e.getJSDocTags(t),e.isJSDocParameterTag)===r&&r.typeExpression&&r.typeExpression.type&&!el(Da(r.typeExpression.type))&&Mr(r.name,e.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,e.idText(r.name.kind===160?r.name.right:r.name)):e.isQualifiedName(r.name)?Mr(r.name,e.Diagnostics.Qualified_name_0_is_not_allowed_without_a_leading_param_object_1,e.entityNameToString(r.name),e.entityNameToString(r.name.left)):Mr(r.name,e.Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name,e.idText(r.name))}}}function v4(r){Wi(r.typeExpression)}function h4(r){Se&&!r.type&&!e.isJSDocConstructSignature(r)&&Fp(r,Ze),mv(r)}function y4(r){var t=e.getEffectiveJSDocHost(r);(!t||!e.isClassDeclaration(t)&&!e.isClassExpression(t))&&Mr(t,e.Diagnostics.JSDoc_0_is_not_attached_to_a_class,e.idText(r.tagName))}function b4(r){var t=e.getEffectiveJSDocHost(r);if(!t||!e.isClassDeclaration(t)&&!e.isClassExpression(t)){Mr(t,e.Diagnostics.JSDoc_0_is_not_attached_to_a_class,e.idText(r.tagName));return}var i=e.getJSDocTags(t).filter(e.isJSDocAugmentsTag);e.Debug.assert(i.length>0),i.length>1&&Mr(i[1],e.Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);var o=Ex(r.class.expression),s=e.getClassExtendsHeritageElement(t);if(s){var c=Ex(s.expression);c&&o.escapedText!==c.escapedText&&Mr(o,e.Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause,e.idText(r.tagName),e.idText(o),e.idText(c))}}function E4(r){var t=e.getJSDocHost(r);t&&e.isPrivateIdentifierClassElementDeclaration(t)&&Mr(r,e.Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier)}function Ex(r){switch(r.kind){case 79:return r;case 205:return r.name;default:return}}function Tx(r){var t;Mh(r),mv(r);var i=e.getFunctionFlags(r);if(r.name&&r.name.kind===161&&qf(r.name),l_(r)){var o=wn(r),s=r.localSymbol||o,c=(t=s.declarations)===null||t===void 0?void 0:t.find(function(ce){return ce.kind===r.kind&&!(ce.flags&131072)});r===c&&kb(s),o.parent&&kb(o)}var L=r.kind===167?void 0:r.body;if(Wi(L),Y1(r,lm(r)),Se&&!e.getEffectiveReturnTypeNode(r)&&(e.nodeIsMissing(L)&&!Ib(r)&&Fp(r,Ze),i&1&&e.nodeIsPresent(L)&&_o(bu(r))),e.isInJSFile(r)){var G=e.getJSDocTypeTag(r);G&&G.typeExpression&&!E1(Da(G.typeExpression),r)&&Mr(G.typeExpression.type,e.Diagnostics.The_type_of_a_function_declaration_must_match_the_function_s_signature)}}function Dd(r){if(Se){var t=e.getSourceFileOfNode(r),i=gi.get(t.path);i||(i=[],gi.set(t.path,i)),i.push(r)}}function Sx(r,t){for(var i=0,o=r;i<o.length;i++){var s=o[i];switch(s.kind){case 256:case 225:T4(s,t),cT(s,t);break;case 303:case 260:case 234:case 262:case 241:case 242:case 243:Ax(s,t);break;case 170:case 212:case 255:case 213:case 168:case 171:case 172:s.body&&Ax(s,t),cT(s,t);break;case 167:case 173:case 174:case 178:case 179:case 258:case 257:cT(s,t);break;case 189:S4(s,t);break;default:e.Debug.assertNever(s,\"Node should not have been registered for unused identifiers check\")}}}function Dx(r,t,i){var o=e.getNameOfDeclaration(r)||r,s=jh(r)?e.Diagnostics._0_is_declared_but_never_used:e.Diagnostics._0_is_declared_but_its_value_is_never_read;i(r,0,e.createDiagnosticForNode(o,s,t))}function Ph(r){return e.isIdentifier(r)&&e.idText(r).charCodeAt(0)===95}function T4(r,t){for(var i=0,o=r.members;i<o.length;i++){var s=o[i];switch(s.kind){case 168:case 166:case 171:case 172:if(s.kind===172&&s.symbol.flags&32768)break;var c=wn(s);!c.isReferenced&&(e.hasEffectiveModifier(s,8)||e.isNamedDeclaration(s)&&e.isPrivateIdentifier(s.name))&&!(s.flags&8388608)&&t(s,0,e.createDiagnosticForNode(s.name,e.Diagnostics._0_is_declared_but_its_value_is_never_read,Wa(c)));break;case 170:for(var L=0,G=s.parameters;L<G.length;L++){var ce=G[L];!ce.symbol.isReferenced&&e.hasSyntacticModifier(ce,8)&&t(ce,0,e.createDiagnosticForNode(ce.name,e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read,e.symbolName(ce.symbol)))}break;case 175:case 233:case 169:break;default:e.Debug.fail(\"Unexpected class member\")}}}function S4(r,t){var i=r.typeParameter;uT(i)&&t(r,1,e.createDiagnosticForNode(r,e.Diagnostics._0_is_declared_but_its_value_is_never_read,e.idText(i.name)))}function cT(r,t){var i=wn(r).declarations;if(!(!i||e.last(i)!==r))for(var o=e.getEffectiveTypeParameterDeclarations(r),s=new e.Set,c=0,L=o;c<L.length;c++){var G=L[c];if(!!uT(G)){var ce=e.idText(G.name),we=G.parent;if(we.kind!==189&&we.typeParameters.every(uT)){if(e.tryAddToSet(s,we)){var Ue=e.getSourceFileOfNode(we),Je=e.isJSDocTemplateTag(we)?e.rangeOfNode(we):e.rangeOfTypeParameters(Ue,we.typeParameters),ar=we.typeParameters.length===1,_r=ar?e.Diagnostics._0_is_declared_but_its_value_is_never_read:e.Diagnostics.All_type_parameters_are_unused,Gr=ar?ce:void 0;t(G,1,e.createFileDiagnostic(Ue,Je.pos,Je.end-Je.pos,_r,Gr))}}else t(G,1,e.createDiagnosticForNode(G,e.Diagnostics._0_is_declared_but_its_value_is_never_read,ce))}}}function uT(r){return!(Ga(r.symbol).isReferenced&262144)&&!Ph(r.name)}function Fh(r,t,i,o){var s=String(o(t)),c=r.get(s);c?c[1].push(i):r.set(s,[t,[i]])}function Lx(r){return e.tryCast(e.getRootDeclaration(r),e.isParameter)}function D4(r){return e.isBindingElement(r)?e.isObjectBindingPattern(r.parent)?!!(r.propertyName&&Ph(r.name)):Ph(r.name):e.isAmbientModule(r)||(e.isVariableDeclaration(r)&&e.isForInOrOfStatement(r.parent.parent)||Cx(r))&&Ph(r.name)}function Ax(r,t){var i=new e.Map,o=new e.Map,s=new e.Map;r.locals.forEach(function(c){if(!(c.flags&262144?!(c.flags&3&&!(c.isReferenced&3)):c.isReferenced||c.exportSymbol)&&c.declarations)for(var L=0,G=c.declarations;L<G.length;L++){var ce=G[L];if(!D4(ce))if(Cx(ce))Fh(i,L4(ce),ce,N);else if(e.isBindingElement(ce)&&e.isObjectBindingPattern(ce.parent)){var we=e.last(ce.parent.elements);(ce===we||!e.last(ce.parent.elements).dotDotDotToken)&&Fh(o,ce.parent,ce,N)}else if(e.isVariableDeclaration(ce))Fh(s,ce.parent,ce,N);else{var Ue=c.valueDeclaration&&Lx(c.valueDeclaration),Je=c.valueDeclaration&&e.getNameOfDeclaration(c.valueDeclaration);Ue&&Je?!e.isParameterPropertyDeclaration(Ue,Ue.parent)&&!e.parameterIsThisKeyword(Ue)&&!Ph(Je)&&(e.isBindingElement(ce)&&e.isArrayBindingPattern(ce.parent)?Fh(o,ce.parent,ce,N):t(Ue,1,e.createDiagnosticForNode(Je,e.Diagnostics._0_is_declared_but_its_value_is_never_read,e.symbolName(c)))):Dx(ce,e.symbolName(c),t)}}}),i.forEach(function(c){var L=c[0],G=c[1],ce=L.parent,we=(L.name?1:0)+(L.namedBindings?L.namedBindings.kind===267?1:L.namedBindings.elements.length:0);if(we===G.length)t(ce,0,G.length===1?e.createDiagnosticForNode(ce,e.Diagnostics._0_is_declared_but_its_value_is_never_read,e.idText(e.first(G).name)):e.createDiagnosticForNode(ce,e.Diagnostics.All_imports_in_import_declaration_are_unused));else for(var Ue=0,Je=G;Ue<Je.length;Ue++){var ar=Je[Ue];Dx(ar,e.idText(ar.name),t)}}),o.forEach(function(c){var L=c[0],G=c[1],ce=Lx(L.parent)?1:0;if(L.elements.length===G.length)G.length===1&&L.parent.kind===253&&L.parent.parent.kind===254?Fh(s,L.parent.parent,L.parent,N):t(L,ce,G.length===1?e.createDiagnosticForNode(L,e.Diagnostics._0_is_declared_but_its_value_is_never_read,Gh(e.first(G).name)):e.createDiagnosticForNode(L,e.Diagnostics.All_destructured_elements_are_unused));else for(var we=0,Ue=G;we<Ue.length;we++){var Je=Ue[we];t(Je,ce,e.createDiagnosticForNode(Je,e.Diagnostics._0_is_declared_but_its_value_is_never_read,Gh(Je.name)))}}),s.forEach(function(c){var L=c[0],G=c[1];if(L.declarations.length===G.length)t(L,0,G.length===1?e.createDiagnosticForNode(e.first(G).name,e.Diagnostics._0_is_declared_but_its_value_is_never_read,Gh(e.first(G).name)):e.createDiagnosticForNode(L.parent.kind===236?L.parent:L,e.Diagnostics.All_variables_are_unused));else for(var ce=0,we=G;ce<we.length;ce++){var Ue=we[ce];t(Ue,0,e.createDiagnosticForNode(Ue,e.Diagnostics._0_is_declared_but_its_value_is_never_read,Gh(Ue.name)))}})}function Gh(r){switch(r.kind){case 79:return e.idText(r);case 201:case 200:return Gh(e.cast(e.first(r.elements),e.isBindingElement).name);default:return e.Debug.assertNever(r)}}function Cx(r){return r.kind===266||r.kind===269||r.kind===267}function L4(r){return r.kind===266?r:r.kind===267?r.parent:r.parent.parent}function Rb(r){if(r.kind===234&&df(r),e.isFunctionOrModuleBlock(r)){var t=Ir;e.forEach(r.statements,Wi),Ir=t}else e.forEach(r.statements,Wi);r.locals&&Dd(r)}function A4(r){De>=2||!e.hasRestParameter(r)||r.flags&8388608||e.nodeIsMissing(r.body)||e.forEach(r.parameters,function(t){t.name&&!e.isBindingPattern(t.name)&&t.name.escapedText===Jr.escapedName&&Zl(\"noEmit\",t,e.Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)})}function Ev(r,t,i){if((t==null?void 0:t.escapedText)!==i||r.kind===166||r.kind===165||r.kind===168||r.kind===167||r.kind===171||r.kind===172||r.kind===294||r.flags&8388608||(e.isImportClause(r)||e.isImportEqualsDeclaration(r)||e.isImportSpecifier(r))&&e.isTypeOnlyImportOrExportDeclaration(r))return!1;var o=e.getRootDeclaration(r);return!(e.isParameter(o)&&e.nodeIsMissing(o.parent.body))}function C4(r){e.findAncestor(r,function(t){if(Cm(t)&4){var i=r.kind!==79;return i?Mr(e.getNameOfDeclaration(r),e.Diagnostics.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference):Mr(r,e.Diagnostics.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference),!0}return!1})}function x4(r){e.findAncestor(r,function(t){if(Cm(t)&8){var i=r.kind!==79;return i?Mr(e.getNameOfDeclaration(r),e.Diagnostics.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference):Mr(r,e.Diagnostics.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference),!0}return!1})}function I4(r,t){if(!(Ae>=e.ModuleKind.ES2015&&!(Ae>=e.ModuleKind.Node12&&e.getSourceFileOfNode(r).impliedNodeFormat===e.ModuleKind.CommonJS))&&!(!t||!Ev(r,t,\"require\")&&!Ev(r,t,\"exports\"))&&!(e.isModuleDeclaration(r)&&e.getModuleInstanceState(r)!==1)){var i=fa(r);i.kind===303&&e.isExternalOrCommonJsModule(i)&&Zl(\"noEmit\",t,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,e.declarationNameToString(t),e.declarationNameToString(t))}}function N4(r,t){if(!(!t||De>=4||!Ev(r,t,\"Promise\"))&&!(e.isModuleDeclaration(r)&&e.getModuleInstanceState(r)!==1)){var i=fa(r);i.kind===303&&e.isExternalOrCommonJsModule(i)&&i.flags&2048&&Zl(\"noEmit\",t,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,e.declarationNameToString(t),e.declarationNameToString(t))}}function k4(r,t){De<=8&&(Ev(r,t,\"WeakMap\")||Ev(r,t,\"WeakSet\"))&&kn.push(r)}function O4(r){var t=e.getEnclosingBlockScopeContainer(r);Cm(t)&67108864&&(e.Debug.assert(e.isNamedDeclaration(r)&&e.isIdentifier(r.name)&&typeof r.name.escapedText==\"string\",\"The target of a WeakMap/WeakSet collision check should be an identifier\"),Zl(\"noEmit\",r,e.Diagnostics.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,r.name.escapedText))}function R4(r,t){t&&De>=2&&De<=8&&Ev(r,t,\"Reflect\")&&Kn.push(r)}function w4(r){var t=!1;if(e.isClassExpression(r))for(var i=0,o=r.members;i<o.length;i++){var s=o[i];if(Cm(s)&134217728){t=!0;break}}else if(e.isFunctionExpression(r))Cm(r)&134217728&&(t=!0);else{var c=e.getEnclosingBlockScopeContainer(r);c&&Cm(c)&134217728&&(t=!0)}t&&(e.Debug.assert(e.isNamedDeclaration(r)&&e.isIdentifier(r.name),\"The target of a Reflect collision check should be an identifier\"),Zl(\"noEmit\",r,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers,e.declarationNameToString(r.name),\"Reflect\"))}function bg(r,t){!t||(I4(r,t),N4(r,t),k4(r,t),R4(r,t),e.isClassLike(r)?(Tg(t,e.Diagnostics.Class_name_cannot_be_0),r.flags&8388608||s3(t)):e.isEnumDeclaration(r)&&Tg(t,e.Diagnostics.Enum_name_cannot_be_0))}function M4(r){if(!((e.getCombinedNodeFlags(r)&3)!==0||e.isParameterDeclaration(r))&&!(r.kind===253&&!r.initializer)){var t=wn(r);if(t.flags&1){if(!e.isIdentifier(r.name))return e.Debug.fail();var i=Uo(r,r.name.escapedText,3,void 0,void 0,!1);if(i&&i!==t&&i.flags&2&&cv(i)&3){var o=e.getAncestor(i.valueDeclaration,254),s=o.parent.kind===236&&o.parent.parent?o.parent.parent:void 0,c=s&&(s.kind===234&&e.isFunctionLike(s.parent)||s.kind===261||s.kind===260||s.kind===303);if(!c){var L=Wa(i);Mr(r,e.Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,L,L)}}}}}function Tv(r){return r===Cr?Ze:r===ta?Sn:r}function wb(r){var t;if(Mh(r),e.isBindingElement(r)||Wi(r.type),!!r.name){if(r.name.kind===161&&(qf(r.name),r.initializer&&Ss(r.initializer)),e.isBindingElement(r)){e.isObjectBindingPattern(r.parent)&&r.dotDotDotToken&&De<5&&nl(r,4),r.propertyName&&r.propertyName.kind===161&&qf(r.propertyName);var i=r.parent.parent,o=Go(i),s=r.propertyName||r.name;if(o&&!e.isBindingPattern(s)){var c=lp(s);if(gu(c)){var L=vu(c),G=Ii(o,L);G&&(Ah(G,void 0,!1),N1(r,!!i.initializer&&i.initializer.kind===106,!1,o,G))}}}if(e.isBindingPattern(r.name)&&(r.name.kind===201&&De<2&&Xe.downlevelIteration&&nl(r,512),e.forEach(r.name.elements,Wi)),r.initializer&&e.isParameterDeclaration(r)&&e.nodeIsMissing(e.getContainingFunction(r).body)){Mr(r,e.Diagnostics.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);return}if(e.isBindingPattern(r.name)){var ce=r.initializer&&r.parent.parent.kind!==242,we=r.name.elements.length===0;if(ce||we){var Ue=Cl(r);if(ce){var Je=Ss(r.initializer);br&&we?rC(Je,r):pp(Je,Cl(r),r,r.initializer)}we&&(e.isArrayBindingPattern(r.name)?Ld(65,Ue,Nr,r):br&&rC(Ue,r))}return}var ar=wn(r);if(ar.flags&2097152&&e.isVariableDeclarationInitializedToBareOrAccessedRequire(r)){Gb(r);return}var _r=Tv(An(ar));if(r===ar.valueDeclaration){var Gr=e.getEffectiveInitializer(r);if(Gr){var Zr=e.isInJSFile(r)&&e.isObjectLiteralExpression(Gr)&&(Gr.properties.length===0||e.isPrototypeAccess(r.name))&&!!(!((t=ar.exports)===null||t===void 0)&&t.size);!Zr&&r.parent.parent.kind!==242&&pp(Ss(Gr),_r,r,Gr,void 0)}ar.declarations&&ar.declarations.length>1&&e.some(ar.declarations,function(Tt){return Tt!==r&&e.isVariableLike(Tt)&&!Ix(Tt,r)})&&Mr(r.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(r.name))}else{var Et=Tv(Cl(r));!Ua(_r)&&!Ua(Et)&&!jf(_r,Et)&&!(ar.flags&67108864)&&xx(ar.valueDeclaration,_r,r,Et),r.initializer&&pp(Ss(r.initializer),Et,r,r.initializer,void 0),ar.valueDeclaration&&!Ix(r,ar.valueDeclaration)&&Mr(r.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(r.name))}r.kind!==166&&r.kind!==165&&(gv(r),(r.kind===253||r.kind===202)&&M4(r),bg(r,r.name))}}function xx(r,t,i,o){var s=e.getNameOfDeclaration(i),c=i.kind===166||i.kind===165?e.Diagnostics.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:e.Diagnostics.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2,L=e.declarationNameToString(s),G=Mr(s,c,L,gn(t),gn(o));r&&e.addRelatedInfo(G,e.createDiagnosticForNode(r,e.Diagnostics._0_was_also_declared_here,L))}function Ix(r,t){if(r.kind===163&&t.kind===253||r.kind===253&&t.kind===163)return!0;if(e.hasQuestionToken(r)!==e.hasQuestionToken(t))return!1;var i=504;return e.getSelectedEffectiveModifierFlags(r,i)===e.getSelectedEffectiveModifierFlags(t,i)}function fT(r){e.tracing===null||e.tracing===void 0||e.tracing.push(\"check\",\"checkVariableDeclaration\",{kind:r.kind,pos:r.pos,end:r.end}),_F(r),wb(r),e.tracing===null||e.tracing===void 0||e.tracing.pop()}function P4(r){return fF(r),wb(r)}function F4(r){!ff(r)&&!RT(r.declarationList)&&mF(r),e.forEach(r.declarationList.declarations,Wi)}function G4(r){df(r),ui(r.expression)}function B4(r){df(r);var t=Eg(r.expression);dT(r.expression,t,r.thenStatement),Wi(r.thenStatement),r.thenStatement.kind===235&&Mr(r.thenStatement,e.Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement),Wi(r.elseStatement)}function dT(r,t,i){if(!!br&&!lc(t)){var o=e.isBinaryExpression(r)?r.right:r;if(!(e.isPropertyAccessExpression(o)&&nx(o.expression))){var s=e.isIdentifier(o)?o:e.isPropertyAccessExpression(o)?o.name:e.isBinaryExpression(o)&&e.isIdentifier(o.right)?o.right:void 0,c=Ni(t,0),L=!!vv(t);if(!(c.length===0&&!L)){var G=s&&Vc(s);if(!(!G&&!L)){var ce=G&&e.isBinaryExpression(r.parent)&&V4(r.parent,G)||G&&i&&U4(r,i,s,G);ce||(L?ku(o,!0,e.Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined,Qd(t)):Mr(o,e.Diagnostics.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead))}}}}}function U4(r,t,i,o){return!!e.forEachChild(t,function s(c){if(e.isIdentifier(c)){var L=Vc(c);if(L&&L===o){if(e.isIdentifier(r))return!0;for(var G=i.parent,ce=c.parent;G&&ce;){if(e.isIdentifier(G)&&e.isIdentifier(ce)||G.kind===108&&ce.kind===108)return Vc(G)===Vc(ce);if(e.isPropertyAccessExpression(G)&&e.isPropertyAccessExpression(ce)){if(Vc(G.name)!==Vc(ce.name))return!1;ce=ce.expression,G=G.expression}else if(e.isCallExpression(G)&&e.isCallExpression(ce))ce=ce.expression,G=G.expression;else return!1}}}return e.forEachChild(c,s)})}function V4(r,t){for(;e.isBinaryExpression(r)&&r.operatorToken.kind===55;){var i=e.forEachChild(r.right,function o(s){if(e.isIdentifier(s)){var c=Vc(s);if(c&&c===t)return!0}return e.forEachChild(s,o)});if(i)return!0;r=r.parent}return!1}function W4(r){df(r),Wi(r.statement),Eg(r.expression)}function j4(r){df(r),Eg(r.expression),Wi(r.statement)}function Nx(r,t){return r.flags&16384&&Mr(t,e.Diagnostics.An_expression_of_type_void_cannot_be_tested_for_truthiness),r}function Eg(r,t){return Nx(ui(r,t),r)}function H4(r){df(r)||r.initializer&&r.initializer.kind===254&&RT(r.initializer),r.initializer&&(r.initializer.kind===254?e.forEach(r.initializer.declarations,fT):ui(r.initializer)),r.condition&&Eg(r.condition),r.incrementor&&ui(r.incrementor),Wi(r.statement),r.locals&&Dd(r)}function J4(r){EI(r);var t=e.getContainingFunctionOrClassStaticBlock(r);if(r.awaitModifier)if(t&&e.isClassStaticBlockDeclaration(t))sn(r.awaitModifier,e.Diagnostics.For_await_loops_cannot_be_used_inside_a_class_static_block);else{var i=e.getFunctionFlags(t);(i&6)===2&&De<99&&nl(r,16384)}else Xe.downlevelIteration&&De<2&&nl(r,256);if(r.initializer.kind===254)kx(r);else{var o=r.initializer,s=Bh(r);if(o.kind===203||o.kind===204)T_(o,s||dr);else{var c=ui(o);_v(o,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access),s&&pp(s,c,o,r.expression)}}Wi(r.statement),r.locals&&Dd(r)}function K4(r){EI(r);var t=k1(ui(r.expression));if(r.initializer.kind===254){var i=r.initializer.declarations[0];i&&e.isBindingPattern(i.name)&&Mr(i.name,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),kx(r)}else{var o=r.initializer,s=ui(o);o.kind===203||o.kind===204?Mr(o,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):Qi(bO(t),s)?_v(o,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access):Mr(o,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}(t===en||!ys(t,126091264))&&Mr(r.expression,e.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,gn(t)),Wi(r.statement),r.locals&&Dd(r)}function kx(r){var t=r.initializer;if(t.declarations.length>=1){var i=t.declarations[0];fT(i)}}function Bh(r){var t=r.awaitModifier?15:13;return Ld(t,dg(r.expression),Nr,r.expression)}function Ld(r,t,i,o){return Na(t)?t:pT(r,t,i,o,!0)||Ze}function pT(r,t,i,o,s){var c=(r&2)!==0;if(t===en){vT(o,t,c);return}var L=De>=2,G=!L&&Xe.downlevelIteration,ce=Xe.noUncheckedIndexedAccess&&!!(r&128);if(L||G||c){var we=Uh(t,r,L?o:void 0);if(s&&we){var Ue=r&8?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:r&32?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:r&64?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:r&16?e.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;Ue&&Rl(i,we.nextType,o,Ue)}if(we||L)return ce?ov(we&&we.yieldType):we&&we.yieldType}var Je=t,ar=!1,_r=!1;if(r&4){if(Je.flags&1048576){var Gr=t.types,Zr=e.filter(Gr,function(ca){return!(ca.flags&402653316)});Zr!==Gr&&(Je=ma(Zr,2))}else Je.flags&402653316&&(Je=en);if(_r=Je!==t,_r&&(De<1&&o&&(Mr(o,e.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),ar=!0),Je.flags&131072))return ce?ov(xt):xt}if(!_p(Je)){if(o&&!ar){var Et=!!(r&4)&&!_r,Tt=on(Et,G),At=Tt[0],Vt=Tt[1];ku(o,Vt&&!!vv(Je),At,gn(Je))}return _r?ce?ov(xt):xt:void 0}var Nn=tu(Je,wt);if(_r&&Nn)return Nn.flags&402653316&&!Xe.noUncheckedIndexedAccess?xt:ma(ce?[Nn,xt,Nr]:[Nn,xt],2);return r&128?ov(Nn):Nn;function on(ca,la){var di;if(la)return ca?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:[e.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0];var Aa=Ox(r,0,t,void 0);return Aa?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,!1]:z4((di=t.symbol)===null||di===void 0?void 0:di.escapedName)?[e.Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!0]:ca?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type,!0]:[e.Diagnostics.Type_0_is_not_an_array_type,!0]}}function z4(r){switch(r){case\"Float32Array\":case\"Float64Array\":case\"Int16Array\":case\"Int32Array\":case\"Int8Array\":case\"NodeList\":case\"Uint16Array\":case\"Uint32Array\":case\"Uint8Array\":case\"Uint8ClampedArray\":return!0}return!1}function Ox(r,t,i,o){if(!Na(i)){var s=Uh(i,r,o);return s&&s[te(t)]}}function Xf(r,t,i){if(r===void 0&&(r=en),t===void 0&&(t=en),i===void 0&&(i=tr),r.flags&67359327&&t.flags&180227&&i.flags&180227){var o=sc([r,t,i]),s=co.get(o);return s||(s={yieldType:r,returnType:t,nextType:i},co.set(o,s)),s}return{yieldType:r,returnType:t,nextType:i}}function Rx(r){for(var t,i,o,s=0,c=r;s<c.length;s++){var L=c[s];if(!(L===void 0||L===za)){if(L===hi)return hi;t=e.append(t,L.yieldType),i=e.append(i,L.returnType),o=e.append(o,L.nextType)}}return t||i||o?Xf(t&&ma(t),i&&ma(i),o&&To(o)):za}function Mb(r,t){return r[t]}function Xu(r,t,i){return r[t]=i}function Uh(r,t,i){if(Na(r))return hi;if(!(r.flags&1048576)){var o=wx(r,t,i);if(o===za){i&&vT(i,r,!!(t&2));return}return o}var s=t&2?\"iterationTypesOfAsyncIterable\":\"iterationTypesOfIterable\",c=Mb(r,s);if(c)return c===za?void 0:c;for(var L,G=0,ce=r.types;G<ce.length;G++){var we=ce[G],Ue=wx(we,t,i);if(Ue===za){i&&vT(i,r,!!(t&2)),Xu(r,s,za);return}else L=e.append(L,Ue)}var Je=L?Rx(L):za;return Xu(r,s,Je),Je===za?void 0:Je}function _T(r,t){if(r===za)return za;if(r===hi)return hi;var i=r.yieldType,o=r.returnType,s=r.nextType;return t&&r0(!0),Xf(J_(i,t)||Ze,J_(o,t)||Ze,s)}function wx(r,t,i){if(Na(r))return hi;if(t&2){var o=mT(r,Po)||Px(r,Po);if(o)return t&8?_T(o,i):o}if(t&1){var o=mT(r,Fo)||Px(r,Fo);if(o)if(t&2){if(o!==za)return Xu(r,\"iterationTypesOfAsyncIterable\",_T(o,i))}else return o}if(t&2){var o=gT(r,Po,i);if(o!==za)return o}if(t&1){var o=gT(r,Fo,i);if(o!==za)return t&2?Xu(r,\"iterationTypesOfAsyncIterable\",o?_T(o,i):za):o}return za}function mT(r,t){return Mb(r,t.iterableCacheKey)}function Mx(r,t){var i=mT(r,t)||gT(r,t,void 0);return i===za?Mo:i}function Px(r,t){var i;if(nf(r,i=t.getGlobalIterableType(!1))||nf(r,i=t.getGlobalIterableIteratorType(!1))){var o=vo(r)[0],s=Mx(i,t),c=s.returnType,L=s.nextType;return Xu(r,t.iterableCacheKey,Xf(t.resolveIterationType(o,void 0)||o,t.resolveIterationType(c,void 0)||c,L))}if(nf(r,t.getGlobalGeneratorType(!1))){var G=vo(r),o=G[0],c=G[1],L=G[2];return Xu(r,t.iterableCacheKey,Xf(t.resolveIterationType(o,void 0)||o,t.resolveIterationType(c,void 0)||c,L))}}function q4(r){var t=OD(!1),i=t&&ia(An(t),e.escapeLeadingUnderscores(r));return i&&gu(i)?vu(i):\"__@\".concat(r)}function gT(r,t,i){var o,s=Ii(r,q4(t.iteratorSymbolName)),c=s&&!(s.flags&16777216)?An(s):void 0;if(Na(c))return Xu(r,t.iterableCacheKey,hi);var L=c?Ni(c,0):void 0;if(!e.some(L))return Xu(r,t.iterableCacheKey,za);var G=To(e.map(L,_o)),ce=(o=Fx(G,t,i))!==null&&o!==void 0?o:za;return Xu(r,t.iterableCacheKey,ce)}function vT(r,t,i){var o=i?e.Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:e.Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator;ku(r,!!vv(t),o,gn(t))}function Fx(r,t,i){if(Na(r))return hi;var o=Gx(r,t)||X4(r,t)||Ux(r,t,i);return o===za?void 0:o}function Gx(r,t){return Mb(r,t.iteratorCacheKey)}function X4(r,t){var i=t.getGlobalIterableIteratorType(!1);if(nf(r,i)){var o=vo(r)[0],s=Gx(i,t)||Ux(i,t,void 0),c=s===za?Mo:s,L=c.returnType,G=c.nextType;return Xu(r,t.iteratorCacheKey,Xf(o,L,G))}if(nf(r,t.getGlobalIteratorType(!1))||nf(r,t.getGlobalGeneratorType(!1))){var ce=vo(r),o=ce[0],L=ce[1],G=ce[2];return Xu(r,t.iteratorCacheKey,Xf(o,L,G))}}function Bx(r,t){var i=ia(r,\"done\")||mt;return Qi(t===0?mt:sa,i)}function Y4(r){return Bx(r,0)}function Q4(r){return Bx(r,1)}function Z4(r){if(Na(r))return hi;var t=Mb(r,\"iterationTypesOfIteratorResult\");if(t)return t;if(nf(r,Hk(!1))){var i=vo(r)[0];return Xu(r,\"iterationTypesOfIteratorResult\",Xf(i,void 0,void 0))}if(nf(r,Jk(!1))){var o=vo(r)[0];return Xu(r,\"iterationTypesOfIteratorResult\",Xf(void 0,o,void 0))}var s=rl(r,Y4),c=s!==en?ia(s,\"value\"):void 0,L=rl(r,Q4),G=L!==en?ia(L,\"value\"):void 0;return!c&&!G?Xu(r,\"iterationTypesOfIteratorResult\",za):Xu(r,\"iterationTypesOfIteratorResult\",Xf(c,G||Wn,void 0))}function hT(r,t,i,o){var s,c,L,G,ce=Ii(r,i);if(!(!ce&&i!==\"next\")){var we=ce&&!(i===\"next\"&&ce.flags&16777216)?i===\"next\"?An(ce):Fs(An(ce),2097152):void 0;if(Na(we))return i===\"next\"?hi:Zi;var Ue=we?Ni(we,0):e.emptyArray;if(Ue.length===0){if(o){var Je=i===\"next\"?t.mustHaveANextMethodDiagnostic:t.mustBeAMethodDiagnostic;Mr(o,Je,i)}return i===\"next\"?hi:void 0}if((we==null?void 0:we.symbol)&&Ue.length===1){var ar=t.getGlobalGeneratorType(!1),_r=t.getGlobalIteratorType(!1),Gr=((c=(s=ar.symbol)===null||s===void 0?void 0:s.members)===null||c===void 0?void 0:c.get(i))===we.symbol,Zr=!Gr&&((G=(L=_r.symbol)===null||L===void 0?void 0:L.members)===null||G===void 0?void 0:G.get(i))===we.symbol;if(Gr||Zr){var Et=Gr?ar:_r,Tt=we.mapper;return Xf(dp(Et.typeParameters[0],Tt),dp(Et.typeParameters[1],Tt),i===\"next\"?dp(Et.typeParameters[2],Tt):void 0)}}for(var At,Vt,Nn=0,on=Ue;Nn<on.length;Nn++){var ca=on[Nn];i!==\"throw\"&&e.some(ca.parameters)&&(At=e.append(At,Uc(ca,0))),Vt=e.append(Vt,_o(ca))}var la,di;if(i!==\"throw\"){var Aa=At?ma(At):tr;if(i===\"next\")di=Aa;else if(i===\"return\"){var Li=t.resolveIterationType(Aa,o)||Ze;la=e.append(la,Li)}}var Bi,Ai=Vt?To(Vt):en,xo=t.resolveIterationType(Ai,o)||Ze,Wt=Z4(xo);return Wt===za?(o&&Mr(o,t.mustHaveAValueDiagnostic,i),Bi=Ze,la=e.append(la,Ze)):(Bi=Wt.yieldType,la=e.append(la,Wt.returnType)),Xf(Bi,ma(la),di)}}function Ux(r,t,i){var o=Rx([hT(r,t,\"next\",i),hT(r,t,\"return\",i),hT(r,t,\"throw\",i)]);return Xu(r,t.iteratorCacheKey,o)}function Lm(r,t,i){if(!Na(t)){var o=Vx(t,i);return o&&o[te(r)]}}function Vx(r,t){if(Na(r))return hi;var i=t?2:1,o=t?Po:Fo;return Uh(r,i,void 0)||Fx(r,o,void 0)}function $4(r){df(r)||uF(r)}function Pb(r,t){var i=!!(t&1),o=!!(t&2);return i?Lm(1,r,o)||dr:o?Sd(r)||dr:r}function Wx(r,t){var i=Pb(t,e.getFunctionFlags(r));return!!i&&Jo(i,16387)}function e3(r){var t;if(!df(r)){var i=e.getContainingFunctionOrClassStaticBlock(r);if(i&&e.isClassStaticBlockDeclaration(i)){Gs(r,e.Diagnostics.A_return_statement_cannot_be_used_inside_a_class_static_block);return}if(!i){Gs(r,e.Diagnostics.A_return_statement_can_only_be_used_within_a_function_body);return}var o=bu(i),s=_o(o),c=e.getFunctionFlags(i);if(br||r.expression||s.flags&131072){var L=r.expression?Ss(r.expression):Nr;if(i.kind===172)r.expression&&Mr(r,e.Diagnostics.Setters_cannot_return_a_value);else if(i.kind===170)r.expression&&!pp(L,s,r,r.expression)&&Mr(r,e.Diagnostics.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class);else if(lm(i)){var G=(t=Pb(s,c))!==null&&t!==void 0?t:s,ce=c&2?yv(L,!1,r,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):L;G&&pp(ce,G,r,r.expression)}}else i.kind!==170&&Xe.noImplicitReturns&&!Wx(i,s)&&Mr(r,e.Diagnostics.Not_all_code_paths_return_a_value)}}function r3(r){df(r)||r.flags&32768&&Gs(r,e.Diagnostics.with_statements_are_not_allowed_in_an_async_function_block),ui(r.expression);var t=e.getSourceFileOfNode(r);if(!S_(t)){var i=e.getSpanOfTokenAtPosition(t,r.pos).start,o=r.statement.pos;gp(t,i,o-i,e.Diagnostics.The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any)}}function t3(r){df(r);var t,i=!1,o=ui(r.expression),s=mm(o);e.forEach(r.caseBlock.clauses,function(c){if(c.kind===289&&!i&&(t===void 0?t=c:(sn(c,e.Diagnostics.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement),i=!0)),Se&&c.kind===288){var L=ui(c.expression),G=mm(L),ce=o;(!G||!s)&&(L=G?Du(L):L,ce=Du(o)),eT(ce,L)||CL(L,ce,c.expression,void 0)}e.forEach(c.statements,Wi),Xe.noFallthroughCasesInSwitch&&c.fallthroughFlowNode&&hh(c.fallthroughFlowNode)&&Mr(c,e.Diagnostics.Fallthrough_case_in_switch)}),r.caseBlock.locals&&Dd(r.caseBlock)}function n3(r){df(r)||e.findAncestor(r.parent,function(t){return e.isFunctionLike(t)?\"quit\":t.kind===249&&t.label.escapedText===r.label.escapedText?(sn(r.label,e.Diagnostics.Duplicate_label_0,e.getTextOfNode(r.label)),!0):!1}),Wi(r.statement)}function a3(r){df(r)||e.isIdentifier(r.expression)&&!r.expression.escapedText&&AF(r,e.Diagnostics.Line_break_not_permitted_here),r.expression&&ui(r.expression)}function i3(r){df(r),Rb(r.tryBlock);var t=r.catchClause;if(t){if(t.variableDeclaration){var i=t.variableDeclaration,o=e.getEffectiveTypeAnnotationNode(e.getRootDeclaration(i));if(o){var s=ep(i,!1);s&&!(s.flags&3)&&Gs(o,e.Diagnostics.Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified)}else if(i.initializer)Gs(i.initializer,e.Diagnostics.Catch_clause_variable_cannot_have_an_initializer);else{var c=t.block.locals;c&&e.forEachKey(t.locals,function(L){var G=c.get(L);(G==null?void 0:G.valueDeclaration)&&(G.flags&2)!==0&&sn(G.valueDeclaration,e.Diagnostics.Cannot_redeclare_identifier_0_in_catch_clause,L)})}}Rb(t.block)}r.finallyBlock&&Rb(r.finallyBlock)}function Fb(r,t,i){var o=Ps(r);if(o.length!==0){for(var s=0,c=sf(r);s<c.length;s++){var L=c[s];i&&L.flags&4194304||jx(r,L,eg(L,8576,!0),Gf(L))}var G=t.valueDeclaration;if(G&&e.isClassLike(G))for(var ce=0,we=G.members;ce<we.length;ce++){var Ue=we[ce];if(!e.isStatic(Ue)&&!l_(Ue)){var Je=wn(Ue);jx(r,Je,tl(Ue.name.expression),Gf(Je))}}if(o.length>1)for(var ar=0,_r=o;ar<_r.length;ar++){var Gr=_r[ar];o3(r,Gr)}}}function jx(r,t,i,o){var s=t.valueDeclaration,c=e.getNameOfDeclaration(s);if(!(c&&e.isPrivateIdentifier(c)))for(var L=$v(r,i),G=e.getObjectFlags(r)&2?e.getDeclarationOfKind(r.symbol,257):void 0,ce=s&&s.kind===220||c&&c.kind===161||Ts(t)===r.symbol?s:void 0,we=function(_r){var Gr=_r.declaration&&Ts(wn(_r.declaration))===r.symbol?_r.declaration:void 0,Zr=ce||Gr||(G&&!e.some(xl(r),function(Et){return!!hd(Et,t.escapedName)&&!!tu(Et,_r.keyType)})?G:void 0);Zr&&!Qi(o,_r.type)&&Mr(Zr,e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_2_index_type_3,Wa(t),gn(o),gn(_r.keyType),gn(_r.type))},Ue=0,Je=L;Ue<Je.length;Ue++){var ar=Je[Ue];we(ar)}}function o3(r,t){for(var i=t.declaration,o=$v(r,t.keyType),s=e.getObjectFlags(r)&2?e.getDeclarationOfKind(r.symbol,257):void 0,c=i&&Ts(wn(i))===r.symbol?i:void 0,L=function(Ue){if(Ue===t)return\"continue\";var Je=Ue.declaration&&Ts(wn(Ue.declaration))===r.symbol?Ue.declaration:void 0,ar=c||Je||(s&&!e.some(xl(r),function(_r){return!!oc(_r,t.keyType)&&!!tu(_r,Ue.keyType)})?s:void 0);ar&&!Qi(t.type,Ue.type)&&Mr(ar,e.Diagnostics._0_index_type_1_is_not_assignable_to_2_index_type_3,gn(t.keyType),gn(t.type),gn(Ue.keyType),gn(Ue.type))},G=0,ce=o;G<ce.length;G++){var we=ce[G];L(we)}}function Tg(r,t){switch(r.escapedText){case\"any\":case\"unknown\":case\"never\":case\"number\":case\"bigint\":case\"boolean\":case\"string\":case\"symbol\":case\"void\":case\"object\":Mr(r,t,r.escapedText)}}function s3(r){De>=1&&r.escapedText===\"Object\"&&(Ae<e.ModuleKind.ES2015||e.getSourceFileOfNode(r).impliedNodeFormat===e.ModuleKind.CommonJS)&&Mr(r,e.Diagnostics.Class_name_cannot_be_Object_when_targeting_ES5_with_module_0,e.ModuleKind[Ae])}function Vh(r){if(r)for(var t=!1,i=0;i<r.length;i++){var o=r[i];if(ux(o),Se){o.default?(t=!0,l3(o.default,r,i)):t&&Mr(o,e.Diagnostics.Required_type_parameters_may_not_follow_optional_type_parameters);for(var s=0;s<i;s++)r[s].symbol===o.symbol&&Mr(o.name,e.Diagnostics.Duplicate_identifier_0,e.declarationNameToString(o.name))}}}function l3(r,t,i){o(r);function o(s){if(s.kind===177){var c=nh(s);if(c.flags&262144)for(var L=i;L<t.length;L++)c.symbol===wn(t[L])&&Mr(s,e.Diagnostics.Type_parameter_defaults_can_only_reference_previously_declared_type_parameters)}e.forEachChild(s,o)}}function Hx(r){if(!(r.declarations&&r.declarations.length===1)){var t=Ja(r);if(!t.typeParametersChecked){t.typeParametersChecked=!0;var i=g3(r);if(!i||i.length<=1)return;var o=po(r);if(!c3(i,o.localTypeParameters))for(var s=Wa(r),c=0,L=i;c<L.length;c++){var G=L[c];Mr(G.name,e.Diagnostics.All_declarations_of_0_must_have_identical_type_parameters,s)}}}}function c3(r,t){for(var i=e.length(t),o=lf(t),s=0,c=r;s<c.length;s++){var L=c[s],G=e.getEffectiveTypeParameterDeclarations(L),ce=G.length;if(ce<o||ce>i)return!1;for(var we=0;we<ce;we++){var Ue=G[we],Je=t[we];if(Ue.name.escapedText!==Je.symbol.escapedName)return!1;var ar=e.getEffectiveConstraintOfTypeParameter(Ue),_r=ar&&Da(ar),Gr=Nl(Je);if(_r&&Gr&&!jf(_r,Gr))return!1;var Zr=Ue.default&&Da(Ue.default),Et=Bn(Je);if(Zr&&Et&&!jf(Zr,Et))return!1}}return!0}function u3(r){return Jx(r),Sv(r),An(wn(r))}function f3(r){e.forEach(r.members,Wi),Dd(r)}function d3(r){e.some(r.decorators)&&e.some(r.members,function(t){return e.hasStaticModifier(t)&&e.isPrivateIdentifierClassElementDeclaration(t)})&&sn(r.decorators[0],e.Diagnostics.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator),!r.name&&!e.hasSyntacticModifier(r,512)&&Gs(r,e.Diagnostics.A_class_declaration_without_the_default_modifier_must_have_a_name),Jx(r),e.forEach(r.members,Wi),Dd(r)}function Jx(r){z8(r),Mh(r),bg(r,r.name),Vh(e.getEffectiveTypeParameterDeclarations(r)),gv(r);var t=wn(r),i=po(t),o=Il(i),s=An(t);Hx(t),kb(t),B6(r);var c=!!(r.flags&8388608);c||U6(r);var L=e.getEffectiveBaseTypeNode(r);if(L){e.forEach(L.typeArguments,Wi),De<2&&nl(L.parent,1);var G=e.getClassExtendsHeritageElement(r);G&&G!==L&&ui(G.expression);var ce=xl(i);if(ce.length&&Se){var we=ce[0],Ue=Ju(i),Je=wi(Ue);if(_3(Je,L),Wi(L.expression),e.some(L.typeArguments)){e.forEach(L.typeArguments,Wi);for(var ar=0,_r=vd(Je,L.typeArguments,L);ar<_r.length;ar++){var Gr=_r[ar];if(!gx(L,Gr.typeParameters))break}}var Zr=Il(we,i.thisType);if(Rl(o,Zr,void 0)?Rl(s,SL(Je),r.name||r,e.Diagnostics.Class_static_side_0_incorrectly_extends_base_class_static_side_1):qx(r,o,Zr,e.Diagnostics.Class_0_incorrectly_extends_base_class_1),Ue.flags&8650752)if(!i_(s))Mr(r.name||r,e.Diagnostics.A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any);else{var Et=Ni(Ue,1);Et.some(function(di){return di.flags&4})&&!e.hasSyntacticModifier(r,128)&&Mr(r.name||r,e.Diagnostics.A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract)}if(!(Je.symbol&&Je.symbol.flags&32)&&!(Ue.flags&8650752)){var Tt=Bm(Je,L.typeArguments,L);e.forEach(Tt,function(di){return!ou(di.declaration)&&!jf(_o(di),we)})&&Mr(L.expression,e.Diagnostics.Base_constructors_must_all_have_the_same_return_type)}v3(i,we)}}p3(r,i,o,s);var At=e.getEffectiveImplementsTypeNodes(r);if(At)for(var Vt=0,Nn=At;Vt<Nn.length;Vt++){var on=Nn[Vt];if((!e.isEntityNameExpression(on.expression)||e.isOptionalChain(on.expression))&&Mr(on.expression,e.Diagnostics.A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments),oT(on),Se){var ca=Eo(Da(on));if(!Ua(ca))if(Ku(ca)){var la=ca.symbol&&ca.symbol.flags&32?e.Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:e.Diagnostics.Class_0_incorrectly_implements_interface_1,Zr=Il(ca,i.thisType);Rl(o,Zr,void 0)||qx(r,o,Zr,la)}else Mr(on,e.Diagnostics.A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members)}}Se&&(Fb(i,t),Fb(s,t,!0),nT(r),b3(r))}function p3(r,t,i,o){for(var s=e.getEffectiveBaseTypeNode(r),c=s&&xl(t),L=c!=null&&c.length?Il(e.first(c),t.thisType):void 0,G=Ju(t),ce=function(ar){if(e.hasAmbientModifier(ar))return\"continue\";e.isConstructorDeclaration(ar)&&e.forEach(ar.parameters,function(_r){e.isParameterPropertyDeclaration(_r,ar)&&Kx(r,o,G,L,t,i,_r,!0)}),Kx(r,o,G,L,t,i,ar,!1)},we=0,Ue=r.members;we<Ue.length;we++){var Je=Ue[we];ce(Je)}}function Kx(r,t,i,o,s,c,L,G,ce){ce===void 0&&(ce=!0);var we=L.name&&Vc(L.name)||Vc(L);return we?zx(r,t,i,o,s,c,e.hasOverrideModifier(L),e.hasAbstractModifier(L),e.isStatic(L),G,e.symbolName(we),ce?L:void 0):0}function zx(r,t,i,o,s,c,L,G,ce,we,Ue,Je){var ar=e.isInJSFile(r),_r=!!(r.flags&8388608);if(o&&(L||Xe.noImplicitOverride)){var Gr=e.escapeLeadingUnderscores(Ue),Zr=ce?t:c,Et=ce?i:o,Tt=Ii(Zr,Gr),At=Ii(Et,Gr),Vt=gn(o);if(Tt&&!At&&L){if(Je){var Nn=uC(Ue,Et);Nn?Mr(Je,ar?e.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:e.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1,Vt,Wa(Nn)):Mr(Je,ar?e.Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:e.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0,Vt)}return 2}else if(Tt&&(At==null?void 0:At.declarations)&&Xe.noImplicitOverride&&!_r){var on=e.some(At.declarations,e.hasAbstractModifier);if(L)return 0;if(on){if(G&&on)return Je&&Mr(Je,e.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0,Vt),1}else{if(Je){var ca=we?ar?e.Diagnostics.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:e.Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:ar?e.Diagnostics.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:e.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0;Mr(Je,ca,Vt)}return 1}}}else if(L){if(Je){var la=gn(s);Mr(Je,ar?e.Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:e.Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class,la)}return 2}return 0}function qx(r,t,i,o){for(var s=!1,c=function(we){if(e.isStatic(we))return\"continue\";var Ue=we.name&&Vc(we.name)||Vc(we);if(Ue){var Je=Ii(t,Ue.escapedName),ar=Ii(i,Ue.escapedName);if(Je&&ar){var _r=function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2,Wa(Ue),gn(t),gn(i))};Rl(An(Je),An(ar),we.name||we,void 0,_r)||(s=!0)}}},L=0,G=r.members;L<G.length;L++){var ce=G[L];c(ce)}s||Rl(t,i,r.name||r,o)}function _3(r,t){var i=Ni(r,1);if(i.length){var o=i[0].declaration;if(o&&e.hasEffectiveModifier(o,8)){var s=e.getClassLikeDeclarationOfSymbol(r.symbol);ST(t,s)||Mr(t,e.Diagnostics.Cannot_extend_a_class_0_Class_constructor_is_marked_as_private,sl(r.symbol))}}}function m3(r,t){if(!t.name)return 0;var i=wn(r),o=po(i),s=Il(o),c=An(i),L=e.getEffectiveBaseTypeNode(r),G=L&&xl(o),ce=G!=null&&G.length?Il(e.first(G),o.thisType):void 0,we=Ju(o),Ue=t.parent?e.hasOverrideModifier(t):e.hasSyntacticModifier(t,16384),Je=e.unescapeLeadingUnderscores(e.getTextOfPropertyName(t.name));return zx(r,c,we,ce,o,s,Ue,e.hasAbstractModifier(t),e.isStatic(t),!1,Je)}function Am(r){return e.getCheckFlags(r)&1?r.target:r}function g3(r){return e.filter(r.declarations,function(t){return t.kind===256||t.kind===257})}function v3(r,t){var i,o,s=Yi(t);e:for(var c=0,L=s;c<L.length;c++){var G=L[c],ce=Am(G);if(!(ce.flags&4194304)){var we=hd(r,ce.escapedName);if(!!we){var Ue=Am(we),Je=e.getDeclarationModifierFlagsFromSymbol(ce);if(e.Debug.assert(!!Ue,\"derived should point to something, even if it is the base class' declaration.\"),Ue===ce){var ar=e.getClassLikeDeclarationOfSymbol(r.symbol);if(Je&128&&(!ar||!e.hasSyntacticModifier(ar,128))){for(var _r=0,Gr=xl(r);_r<Gr.length;_r++){var Zr=Gr[_r];if(Zr!==t){var Et=hd(Zr,ce.escapedName),Tt=Et&&Am(Et);if(Tt&&Tt!==ce)continue e}}ar.kind===225?Mr(ar,e.Diagnostics.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1,Wa(G),gn(t)):Mr(ar,e.Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2,gn(r),Wa(G),gn(t))}}else{var At=e.getDeclarationModifierFlagsFromSymbol(Ue);if(Je&8||At&8)continue;var Vt=void 0,Nn=ce.flags&98308,on=Ue.flags&98308;if(Nn&&on){if(Je&128&&!(ce.valueDeclaration&&e.isPropertyDeclaration(ce.valueDeclaration)&&ce.valueDeclaration.initializer)||ce.valueDeclaration&&ce.valueDeclaration.parent.kind===257||Ue.valueDeclaration&&e.isBinaryExpression(Ue.valueDeclaration))continue;var ca=Nn!==4&&on===4,la=Nn===4&&on!==4;if(ca||la){var di=ca?e.Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:e.Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor;Mr(e.getNameOfDeclaration(Ue.valueDeclaration)||Ue.valueDeclaration,di,Wa(ce),gn(t),gn(r))}else if(Ye){var Aa=(i=Ue.declarations)===null||i===void 0?void 0:i.find(function(xo){return xo.kind===166&&!xo.initializer});if(Aa&&!(Ue.flags&33554432)&&!(Je&128)&&!(At&128)&&!(!((o=Ue.declarations)===null||o===void 0)&&o.some(function(xo){return!!(xo.flags&8388608)}))){var Li=$u(e.getClassLikeDeclarationOfSymbol(r.symbol)),Bi=Aa.name;if(Aa.exclamationToken||!Li||!e.isIdentifier(Bi)||!br||!Yx(Bi,r,Li)){var Ai=e.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;Mr(e.getNameOfDeclaration(Ue.valueDeclaration)||Ue.valueDeclaration,Ai,Wa(ce),gn(t))}}}continue}else if(I1(ce)){if(I1(Ue)||Ue.flags&4)continue;e.Debug.assert(!!(Ue.flags&98304)),Vt=e.Diagnostics.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor}else ce.flags&98304?Vt=e.Diagnostics.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:Vt=e.Diagnostics.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function;Mr(e.getNameOfDeclaration(Ue.valueDeclaration)||Ue.valueDeclaration,Vt,gn(t),Wa(ce),gn(r))}}}}}function h3(r,t,i){if(!e.length(t))return i;var o=new e.Map;e.forEach(i,function(ar){o.set(ar.escapedName,ar)});for(var s=0,c=t;s<c.length;s++)for(var L=c[s],G=Yi(Il(L,r.thisType)),ce=0,we=G;ce<we.length;ce++){var Ue=we[ce],Je=o.get(Ue.escapedName);Je&&!PL(Je,Ue)&&o.delete(Ue.escapedName)}return e.arrayFrom(o.values())}function y3(r,t){var i=xl(r);if(i.length<2)return!0;var o=new e.Map;e.forEach(Gg(r).declaredProperties,function(Tt){o.set(Tt.escapedName,{prop:Tt,containingType:r})});for(var s=!0,c=0,L=i;c<L.length;c++)for(var G=L[c],ce=Yi(Il(G,r.thisType)),we=0,Ue=ce;we<Ue.length;we++){var Je=Ue[we],ar=o.get(Je.escapedName);if(!ar)o.set(Je.escapedName,{prop:Je,containingType:G});else{var _r=ar.containingType!==r;if(_r&&!PL(ar.prop,Je)){s=!1;var Gr=gn(ar.containingType),Zr=gn(G),Et=e.chainDiagnosticMessages(void 0,e.Diagnostics.Named_property_0_of_types_1_and_2_are_not_identical,Wa(Je),Gr,Zr);Et=e.chainDiagnosticMessages(Et,e.Diagnostics.Interface_0_cannot_simultaneously_extend_types_1_and_2,gn(r),Gr,Zr),ua.add(e.createDiagnosticForNodeFromMessageChain(t,Et))}}}return s}function b3(r){if(!(!br||!kr||r.flags&8388608))for(var t=$u(r),i=0,o=r.members;i<o.length;i++){var s=o[i];if(!(e.getEffectiveModifierFlags(s)&2)&&!e.isStatic(s)&&Xx(s)){var c=s.name;if(e.isIdentifier(c)||e.isPrivateIdentifier(c)){var L=An(wn(s));L.flags&3||lc(L)&32768||(!t||!Yx(c,L,t))&&Mr(s.name,e.Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor,e.declarationNameToString(c))}}}}function Xx(r){return r.kind===166&&!e.hasAbstractModifier(r)&&!r.exclamationToken&&!r.initializer}function E3(r,t,i,o,s){for(var c=0,L=i;c<L.length;c++){var G=L[c];if(G.pos>=o&&G.pos<=s){var ce=e.factory.createPropertyAccessExpression(e.factory.createThis(),r);e.setParent(ce.expression,ce),e.setParent(ce,G),ce.flowNode=G.returnFlowNode;var we=y_(ce,t,Jf(t));if(!(lc(we)&32768))return!0}}return!1}function Yx(r,t,i){var o=e.factory.createPropertyAccessExpression(e.factory.createThis(),r);e.setParent(o.expression,o),e.setParent(o,i),o.flowNode=i.returnFlowNode;var s=y_(o,t,Jf(t));return!(lc(s)&32768)}function T3(r){if(ff(r)||tF(r),Vh(r.typeParameters),Se){Tg(r.name,e.Diagnostics.Interface_name_cannot_be_0),gv(r);var t=wn(r);Hx(t);var i=e.getDeclarationOfKind(t,257);if(r===i){var o=po(t),s=Il(o);if(y3(o,r.name)){for(var c=0,L=xl(o);c<L.length;c++){var G=L[c];Rl(s,Il(G,o.thisType),r.name,e.Diagnostics.Interface_0_incorrectly_extends_interface_1)}Fb(o,t)}}px(r)}e.forEach(e.getInterfaceBaseTypeNodes(r),function(ce){(!e.isEntityNameExpression(ce.expression)||e.isOptionalChain(ce.expression))&&Mr(ce.expression,e.Diagnostics.An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments),oT(ce)}),e.forEach(r.members,Wi),Se&&(nT(r),Dd(r))}function S3(r){ff(r),Tg(r.name,e.Diagnostics.Type_alias_name_cannot_be_0),gv(r),Vh(r.typeParameters),r.type.kind===138?(!V.has(r.name.escapedText)||e.length(r.typeParameters)!==1)&&Mr(r.type,e.Diagnostics.The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types):(Wi(r.type),Dd(r))}function Qx(r){var t=Zn(r);if(!(t.flags&16384)){t.flags|=16384;for(var i=0,o=0,s=r.members;o<s.length;o++){var c=s[o],L=D3(c,i);Zn(c).enumMemberValue=L,i=typeof L==\"number\"?L+1:void 0}}}function D3(r,t){if(e.isComputedNonLiteralName(r.name))Mr(r.name,e.Diagnostics.Computed_property_names_are_not_allowed_in_enums);else{var i=e.getTextOfPropertyName(r.name);zf(i)&&!e.isInfinityOrNaNString(i)&&Mr(r.name,e.Diagnostics.An_enum_member_cannot_have_a_numeric_name)}if(r.initializer)return L3(r);if(!(r.parent.flags&8388608&&!e.isEnumConst(r.parent)&&Bo(wn(r.parent))===0)){if(t!==void 0)return t;Mr(r.name,e.Diagnostics.Enum_member_must_have_initializer)}}function L3(r){var t=Bo(wn(r.parent)),i=e.isEnumConst(r.parent),o=r.initializer,s=t===1&&!zi(r)?void 0:L(o);if(s!==void 0)i&&typeof s==\"number\"&&!isFinite(s)&&Mr(o,isNaN(s)?e.Diagnostics.const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:e.Diagnostics.const_enum_member_initializer_was_evaluated_to_a_non_finite_value);else{if(t===1)return Mr(o,e.Diagnostics.Computed_values_are_not_permitted_in_an_enum_with_string_valued_members),0;if(i)Mr(o,e.Diagnostics.const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values);else if(r.parent.flags&8388608)Mr(o,e.Diagnostics.In_ambient_enum_declarations_member_initializer_must_be_constant_expression);else{var c=ui(o);ys(c,296)?Rl(c,po(wn(r.parent)),o,void 0):Mr(o,e.Diagnostics.Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhaustiveness_checks_consider_using_an_object_literal_instead,gn(c))}}return s;function L(ce){switch(ce.kind){case 218:var we=L(ce.operand);if(typeof we==\"number\")switch(ce.operator){case 39:return we;case 40:return-we;case 54:return~we}break;case 220:var Ue=L(ce.left),Je=L(ce.right);if(typeof Ue==\"number\"&&typeof Je==\"number\")switch(ce.operatorToken.kind){case 51:return Ue|Je;case 50:return Ue&Je;case 48:return Ue>>Je;case 49:return Ue>>>Je;case 47:return Ue<<Je;case 52:return Ue^Je;case 41:return Ue*Je;case 43:return Ue/Je;case 39:return Ue+Je;case 40:return Ue-Je;case 44:return Ue%Je;case 42:return Math.pow(Ue,Je)}else if(typeof Ue==\"string\"&&typeof Je==\"string\"&&ce.operatorToken.kind===39)return Ue+Je;break;case 10:case 14:return ce.text;case 8:return wT(ce),+ce.text;case 211:return L(ce.expression);case 79:var ar=ce;return e.isInfinityOrNaNString(ar.escapedText)?+ar.escapedText:e.nodeIsMissing(ce)?0:G(ce,wn(r.parent),ar.escapedText);case 206:case 205:var _r=ce;if(yT(_r)){var Gr=tl(_r.expression);if(Gr.symbol&&Gr.symbol.flags&384){var Zr=void 0;return _r.kind===205?Zr=_r.name.escapedText:Zr=e.escapeLeadingUnderscores(e.cast(_r.argumentExpression,e.isLiteralExpression).text),G(ce,Gr.symbol,Zr)}}break}}function G(ce,we,Ue){var Je=we.exports.get(Ue);if(Je){var ar=Je.valueDeclaration;if(ar!==r)return ar&&Ou(ar,r)?Kb(ar):(Mr(ce,e.Diagnostics.A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums),0);Mr(ce,e.Diagnostics.Property_0_is_used_before_being_assigned,Wa(Je))}}}function yT(r){return r.kind===79||r.kind===205&&yT(r.expression)||r.kind===206&&yT(r.expression)&&e.isStringLiteralLike(r.argumentExpression)}function A3(r){if(!!Se){ff(r),bg(r,r.name),gv(r),r.members.forEach(C3),Qx(r);var t=wn(r),i=e.getDeclarationOfKind(t,r.kind);if(r===i){if(t.declarations&&t.declarations.length>1){var o=e.isEnumConst(r);e.forEach(t.declarations,function(c){e.isEnumDeclaration(c)&&e.isEnumConst(c)!==o&&Mr(e.getNameOfDeclaration(c),e.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)})}var s=!1;e.forEach(t.declarations,function(c){if(c.kind!==259)return!1;var L=c;if(!L.members.length)return!1;var G=L.members[0];G.initializer||(s?Mr(G.name,e.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):s=!0)})}}}function C3(r){e.isPrivateIdentifier(r.name)&&Mr(r,e.Diagnostics.An_enum_member_cannot_be_named_with_a_private_identifier)}function x3(r){var t=r.declarations;if(t)for(var i=0,o=t;i<o.length;i++){var s=o[i];if((s.kind===256||s.kind===255&&e.nodeIsPresent(s.body))&&!(s.flags&8388608))return s}}function I3(r,t){var i=e.getEnclosingBlockScopeContainer(r),o=e.getEnclosingBlockScopeContainer(t);return Oc(i)?Oc(o):Oc(o)?!1:i===o}function N3(r){if(Se){var t=e.isGlobalScopeAugmentation(r),i=r.flags&8388608;t&&!i&&Mr(r.name,e.Diagnostics.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context);var o=e.isAmbientModule(r),s=o?e.Diagnostics.An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:e.Diagnostics.A_namespace_declaration_is_only_allowed_in_a_namespace_or_module;if(Wh(r,s))return;ff(r)||!i&&r.name.kind===10&&sn(r.name,e.Diagnostics.Only_ambient_modules_can_use_quoted_names),e.isIdentifier(r.name)&&bg(r,r.name),gv(r);var c=wn(r);if(c.flags&512&&!i&&c.declarations&&c.declarations.length>1&&D(r,e.shouldPreserveConstEnums(Xe))){var L=x3(c);L&&(e.getSourceFileOfNode(r)!==e.getSourceFileOfNode(L)?Mr(r.name,e.Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged):r.pos<L.pos&&Mr(r.name,e.Diagnostics.A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged));var G=e.getDeclarationOfKind(c,256);G&&I3(r,G)&&(Zn(r).flags|=32768)}if(o)if(e.isExternalModuleAugmentation(r)){var ce=t||wn(r).flags&33554432;if(ce&&r.body)for(var we=0,Ue=r.body.statements;we<Ue.length;we++){var Je=Ue[we];bT(Je,t)}}else Oc(r.parent)?t?Mr(r.name,e.Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):e.isExternalModuleNameRelative(e.getTextOfIdentifierOrLiteral(r.name))&&Mr(r.name,e.Diagnostics.Ambient_module_declaration_cannot_specify_relative_module_name):t?Mr(r.name,e.Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):Mr(r.name,e.Diagnostics.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces)}r.body&&(Wi(r.body),e.isGlobalScopeAugmentation(r)||Dd(r))}function bT(r,t){var i;switch(r.kind){case 236:for(var o=0,s=r.declarationList.declarations;o<s.length;o++){var c=s[o];bT(c,t)}break;case 270:case 271:Gs(r,e.Diagnostics.Exports_and_export_assignments_are_not_permitted_in_module_augmentations);break;case 264:case 265:Gs(r,e.Diagnostics.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module);break;case 202:case 253:var L=r.name;if(e.isBindingPattern(L)){for(var G=0,ce=L.elements;G<ce.length;G++){var we=ce[G];bT(we,t)}break}case 256:case 259:case 255:case 257:case 260:case 258:if(t)return;var Ue=wn(r);if(Ue){var Je=!(Ue.flags&33554432);Je||(Je=!!(!((i=Ue.parent)===null||i===void 0)&&i.declarations)&&e.isExternalModuleAugmentation(Ue.parent.declarations[0]))}break}}function k3(r){switch(r.kind){case 79:return r;case 160:do r=r.left;while(r.kind!==79);return r;case 205:do{if(e.isModuleExportsAccessExpression(r.expression)&&!e.isPrivateIdentifier(r.name))return r.name;r=r.expression}while(r.kind!==79);return r}}function ET(r){var t=e.getExternalModuleName(r);if(!t||e.nodeIsMissing(t))return!1;if(!e.isStringLiteral(t))return Mr(t,e.Diagnostics.String_literal_expected),!1;var i=r.parent.kind===261&&e.isAmbientModule(r.parent.parent);return r.parent.kind!==303&&!i?(Mr(t,r.kind===271?e.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace:e.Diagnostics.Import_declarations_in_a_namespace_cannot_reference_a_module),!1):i&&e.isExternalModuleNameRelative(t.text)&&!Ul(r)?(Mr(r,e.Diagnostics.Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name),!1):!0}function Gb(r){var t,i=wn(r),o=ms(i);if(o!==We){i=Ga(i.exportSymbol||i);var s=(i.flags&1160127?111551:0)|(i.flags&788968?788968:0)|(i.flags&1920?1920:0);if(o.flags&s){var c=r.kind===274?e.Diagnostics.Export_declaration_conflicts_with_exported_declaration_of_0:e.Diagnostics.Import_declaration_conflicts_with_local_declaration_of_0;Mr(r,c,Wa(i))}if(Xe.isolatedModules&&!e.isTypeOnlyImportOrExportDeclaration(r)&&!(r.flags&8388608)){var L=Ln(i),G=!(o.flags&111551);if(G||L)switch(r.kind){case 266:case 269:case 264:{if(Xe.preserveValueImports){e.Debug.assertIsDefined(r.name,\"An ImportClause with a symbol should have a name\");var c=G?e.Diagnostics._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:e.Diagnostics._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled,ce=e.idText(r.kind===269&&r.propertyName||r.name);Rd(Mr(r,c,ce),G?void 0:L,ce)}break}case 274:if(e.getSourceFileOfNode(L)!==e.getSourceFileOfNode(r)){var c=G?e.Diagnostics.Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type:e.Diagnostics._0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_isolatedModules_is_enabled,ce=e.idText(r.propertyName||r.name);Rd(Mr(r,c,ce),G?void 0:L,ce);return}}}e.isImportSpecifier(r)&&((t=o.declarations)===null||t===void 0?void 0:t.every(function(we){return!!(e.getCombinedNodeFlags(we)&134217728)}))&&kc(r.name,o.declarations,i.escapedName)}}function Bb(r){bg(r,r.name),Gb(r),r.kind===269&&e.idText(r.propertyName||r.name)===\"default\"&&e.getESModuleInterop(Xe)&&Ae!==e.ModuleKind.System&&(Ae<e.ModuleKind.ES2015||e.getSourceFileOfNode(r).impliedNodeFormat===e.ModuleKind.CommonJS)&&nl(r,131072)}function Zx(r){var t;if(r.assertClause){if(Ae!==e.ModuleKind.ESNext)return sn(r.assertClause,e.Diagnostics.Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext);if(e.isImportDeclaration(r)?(t=r.importClause)===null||t===void 0?void 0:t.isTypeOnly:r.isTypeOnly)return sn(r.assertClause,e.Diagnostics.Import_assertions_cannot_be_used_with_type_only_imports_or_exports)}}function O3(r){if(!Wh(r,e.Diagnostics.An_import_declaration_can_only_be_used_in_a_namespace_or_module)){if(!ff(r)&&e.hasEffectiveModifiers(r)&&Gs(r,e.Diagnostics.An_import_declaration_cannot_have_modifiers),ET(r)){var t=r.importClause;if(t&&!xF(t)&&(t.name&&Bb(t),t.namedBindings))if(t.namedBindings.kind===267)Bb(t.namedBindings),Ae!==e.ModuleKind.System&&(Ae<e.ModuleKind.ES2015||e.getSourceFileOfNode(r).impliedNodeFormat===e.ModuleKind.CommonJS)&&e.getESModuleInterop(Xe)&&nl(r,65536);else{var i=ws(r,r.moduleSpecifier);i&&e.forEach(t.namedBindings.elements,Bb)}}Zx(r)}}function R3(r){if(!Wh(r,e.Diagnostics.An_import_declaration_can_only_be_used_in_a_namespace_or_module)&&(ff(r),e.isInternalModuleImportEqualsDeclaration(r)||ET(r)))if(Bb(r),e.hasSyntacticModifier(r,1)&&us(r),r.moduleReference.kind!==276){var t=ms(wn(r));if(t!==We){if(t.flags&111551){var i=e.getFirstIdentifier(r.moduleReference);rs(i,112575).flags&1920||Mr(i,e.Diagnostics.Module_0_is_hidden_by_a_local_declaration_with_the_same_name,e.declarationNameToString(i))}t.flags&788968&&Tg(r.name,e.Diagnostics.Import_name_cannot_be_0)}r.isTypeOnly&&sn(r,e.Diagnostics.An_import_alias_cannot_use_import_type)}else Ae>=e.ModuleKind.ES2015&&e.getSourceFileOfNode(r).impliedNodeFormat===void 0&&!r.isTypeOnly&&!(r.flags&8388608)&&sn(r,e.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)}function w3(r){if(!Wh(r,e.Diagnostics.An_export_declaration_can_only_be_used_in_a_module)){if(!ff(r)&&e.hasEffectiveModifiers(r)&&Gs(r,e.Diagnostics.An_export_declaration_cannot_have_modifiers),r.moduleSpecifier&&r.exportClause&&e.isNamedExports(r.exportClause)&&e.length(r.exportClause.elements)&&De===0&&nl(r,4194304),M3(r),!r.moduleSpecifier||ET(r))if(r.exportClause&&!e.isNamespaceExport(r.exportClause)){e.forEach(r.exportClause.elements,V3);var t=r.parent.kind===261&&e.isAmbientModule(r.parent.parent),i=!t&&r.parent.kind===261&&!r.moduleSpecifier&&r.flags&8388608;r.parent.kind!==303&&!t&&!i&&Mr(r,e.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace)}else{var o=ws(r,r.moduleSpecifier);o&&ld(o)?Mr(r.moduleSpecifier,e.Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,Wa(o)):r.exportClause&&Gb(r.exportClause),Ae!==e.ModuleKind.System&&(Ae<e.ModuleKind.ES2015||e.getSourceFileOfNode(r).impliedNodeFormat===e.ModuleKind.CommonJS)&&(r.exportClause?e.getESModuleInterop(Xe)&&nl(r,65536):nl(r,32768))}Zx(r)}}function M3(r){var t;return r.isTypeOnly?((t=r.exportClause)===null||t===void 0?void 0:t.kind)===272?xI(r.exportClause):sn(r,e.Diagnostics.Only_named_exports_may_use_export_type):!1}function Wh(r,t){var i=r.parent.kind===303||r.parent.kind===261||r.parent.kind===260;return i||Gs(r,t),!i}function P3(r){return e.forEachImportClauseDeclaration(r,function(t){return!!wn(t).isReferenced})}function F3(r){return e.forEachImportClauseDeclaration(r,function(t){return!!Ja(wn(t)).constEnumReferenced})}function G3(r){return e.isImportDeclaration(r)&&r.importClause&&!r.importClause.isTypeOnly&&P3(r.importClause)&&!Jb(r.importClause,!0)&&!F3(r.importClause)}function B3(r){return e.isImportEqualsDeclaration(r)&&e.isExternalModuleReference(r.moduleReference)&&!r.isTypeOnly&&wn(r).isReferenced&&!Jb(r,!1)&&!Ja(wn(r)).constEnumReferenced}function U3(r){for(var t=0,i=r.statements;t<i.length;t++){var o=i[t];(G3(o)||B3(o))&&Mr(o,e.Diagnostics.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error)}}function V3(r){if(Gb(r),e.getEmitDeclarations(Xe)&&Mf(r.propertyName||r.name,!0),r.parent.parent.moduleSpecifier)e.getESModuleInterop(Xe)&&Ae!==e.ModuleKind.System&&(Ae<e.ModuleKind.ES2015||e.getSourceFileOfNode(r).impliedNodeFormat===e.ModuleKind.CommonJS)&&e.idText(r.propertyName||r.name)===\"default\"&&nl(r,131072);else{var t=r.propertyName||r.name,i=Uo(t,t.escapedText,2998271,void 0,void 0,!0);if(i&&(i===He||i===pr||i.declarations&&Oc(fa(i.declarations[0]))))Mr(t,e.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,e.idText(t));else{us(r);var o=i&&(i.flags&2097152?ms(i):i);(!o||o===We||o.flags&111551)&&Ss(r.propertyName||r.name)}}}function W3(r){var t=r.isExportEquals?e.Diagnostics.An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:e.Diagnostics.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration;if(!Wh(r,t)){var i=r.parent.kind===303?r.parent:r.parent.parent;if(i.kind===260&&!e.isAmbientModule(i)){r.isExportEquals?Mr(r,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_namespace):Mr(r,e.Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);return}!ff(r)&&e.hasEffectiveModifiers(r)&&Gs(r,e.Diagnostics.An_export_assignment_cannot_have_modifiers);var o=e.getEffectiveTypeAnnotationNode(r);if(o&&Rl(Ss(r.expression),Da(o),r.expression),r.expression.kind===79){var s=r.expression,c=rs(s,67108863,!0,!0,r);if(c){ab(c,s);var L=c.flags&2097152?ms(c):c;(L===We||L.flags&111551)&&Ss(r.expression)}else Ss(r.expression);e.getEmitDeclarations(Xe)&&Mf(r.expression,!0)}else Ss(r.expression);$x(i),r.flags&8388608&&!e.isEntityNameExpression(r.expression)&&sn(r.expression,e.Diagnostics.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context),r.isExportEquals&&!(r.flags&8388608)&&(Ae>=e.ModuleKind.ES2015&&e.getSourceFileOfNode(r).impliedNodeFormat!==e.ModuleKind.CommonJS?sn(r,e.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):Ae===e.ModuleKind.System&&sn(r,e.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system))}}function j3(r){return e.forEachEntry(r.exports,function(t,i){return i!==\"export=\"})}function $x(r){var t=wn(r),i=Ja(t);if(!i.exportsChecked){var o=t.exports.get(\"export=\");if(o&&j3(t)){var s=ec(o)||o.valueDeclaration;s&&!Ul(s)&&!e.isInJSFile(s)&&Mr(s,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}var c=Gl(t);c&&c.forEach(function(L,G){var ce=L.declarations,we=L.flags;if(G!==\"__export\"&&!(we&1984)){var Ue=e.countWhere(ce,q);if(!(we&524288&&Ue<=2)&&Ue>1&&!Ub(ce))for(var Je=0,ar=ce;Je<ar.length;Je++){var _r=ar[Je];u(_r)&&ua.add(e.createDiagnosticForNode(_r,e.Diagnostics.Cannot_redeclare_exported_variable_0,e.unescapeLeadingUnderscores(G)))}}}),i.exportsChecked=!0}}function Ub(r){return r&&r.length>1&&r.every(function(t){return e.isInJSFile(t)&&e.isAccessExpression(t)&&(e.isExportsIdentifier(t.expression)||e.isModuleExportsAccessExpression(t.expression))})}function Wi(r){if(r){var t=_e;_e=r,he=0,H3(r),_e=t}}function H3(r){e.isInJSFile(r)&&e.forEach(r.jsDoc,function(i){var o=i.tags;return e.forEach(o,Wi)});var t=r.kind;if(R)switch(t){case 260:case 256:case 257:case 255:R.throwIfCancellationRequested()}switch(t>=236&&t<=252&&r.flowNode&&!hh(r.flowNode)&&pc(Xe.allowUnreachableCode===!1,r,e.Diagnostics.Unreachable_code_detected),t){case 162:return ux(r);case 163:return fx(r);case 166:return _x(r);case 165:return V6(r);case 179:case 178:case 173:case 174:case 175:return mv(r);case 168:case 167:return W6(r);case 169:return j6(r);case 170:return H6(r);case 171:case 172:return mx(r);case 177:return oT(r);case 176:return F6(r);case 180:return z6(r);case 181:return q6(r);case 182:return X6(r);case 183:return Y6(r);case 186:case 187:return Q6(r);case 190:case 184:case 185:return Wi(r.type);case 191:return r4(r);case 192:return t4(r);case 188:return n4(r);case 189:return a4(r);case 197:return i4(r);case 199:return o4(r);case 196:return s4(r);case 326:return b4(r);case 327:return y4(r);case 343:case 336:case 337:return p4(r);case 342:return _4(r);case 341:return m4(r);case 338:return g4(r);case 345:return v4(r);case 315:h4(r);case 313:case 312:case 310:case 311:case 320:eI(r),e.forEachChild(r,Wi);return;case 316:J3(r);return;case 307:return Wi(r.type);case 331:case 333:case 332:return E4(r);case 193:return Z6(r);case 194:return $6(r);case 255:return d4(r);case 234:case 261:return Rb(r);case 236:return F4(r);case 237:return G4(r);case 238:return B4(r);case 239:return W4(r);case 240:return j4(r);case 241:return H4(r);case 242:return K4(r);case 243:return J4(r);case 244:case 245:return $4(r);case 246:return e3(r);case 247:return r3(r);case 248:return t3(r);case 249:return n3(r);case 250:return a3(r);case 251:return i3(r);case 253:return fT(r);case 202:return P4(r);case 256:return d3(r);case 257:return T3(r);case 258:return S3(r);case 259:return A3(r);case 260:return N3(r);case 265:return O3(r);case 264:return R3(r);case 271:return w3(r);case 270:return W3(r);case 235:case 252:df(r);return;case 275:return J6(r)}}function eI(r){e.isInJSFile(r)||sn(r,e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}function J3(r){eI(r),Wi(r.type);var t=r.parent;if(e.isParameter(t)&&e.isJSDocFunctionType(t.parent)){e.last(t.parent.parameters)!==t&&Mr(r,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list);return}e.isJSDocTypeExpression(t)||Mr(r,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);var i=r.parent.parent;if(!e.isJSDocParameterTag(i)){Mr(r,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);return}var o=e.getParameterSymbolFromJSDoc(i);if(!!o){var s=e.getHostSignatureFromJSDoc(i);(!s||e.last(s.parameters).symbol!==o)&&Mr(r,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}}function K3(r){var t=Da(r.type),i=r.parent,o=r.parent.parent;if(e.isJSDocTypeExpression(r.parent)&&e.isJSDocParameterTag(o)){var s=e.getHostSignatureFromJSDoc(o),c=e.isJSDocCallbackTag(o.parent.parent);if(s||c){var L=c?e.lastOrUndefined(o.parent.parent.typeExpression.parameters):e.lastOrUndefined(s.parameters),G=e.getParameterSymbolFromJSDoc(o);if(!L||G&&L.symbol===G&&e.isRestParameter(L))return zs(t)}}return e.isParameter(i)&&e.isJSDocFunctionType(i.parent)?zs(t):Wl(t)}function Sv(r){var t=e.getSourceFileOfNode(r),i=Zn(t);if(!(i.flags&1)){i.deferredNodes=i.deferredNodes||new e.Map;var o=N(r);i.deferredNodes.set(o,r)}}function z3(r){var t=Zn(r);t.deferredNodes&&t.deferredNodes.forEach(q3)}function q3(r){e.tracing===null||e.tracing===void 0||e.tracing.push(\"check\",\"checkDeferredNode\",{kind:r.kind,pos:r.pos,end:r.end});var t=_e;switch(_e=r,he=0,r.kind){case 207:case 208:case 209:case 164:case 279:Tm(r);break;case 212:case 213:case 168:case 167:i6(r);break;case 171:case 172:mx(r);break;case 225:f3(r);break;case 278:MM(r);break;case 277:FM(r);break}_e=t,e.tracing===null||e.tracing===void 0||e.tracing.pop()}function TT(r){e.tracing===null||e.tracing===void 0||e.tracing.push(\"check\",\"checkSourceFile\",{path:r.path},!0),e.performance.mark(\"beforeCheck\"),X3(r),e.performance.mark(\"afterCheck\"),e.performance.measure(\"Check\",\"beforeCheck\",\"afterCheck\"),e.tracing===null||e.tracing===void 0||e.tracing.pop()}function rI(r,t){if(t)return!1;switch(r){case 0:return!!Xe.noUnusedLocals;case 1:return!!Xe.noUnusedParameters;default:return e.Debug.assertNever(r)}}function tI(r){return gi.get(r.path)||e.emptyArray}function X3(r){var t=Zn(r);if(!(t.flags&1)){if(e.skipTypeChecking(r,Xe,j))return;SF(r),e.clear(pn),e.clear(fn),e.clear(kn),e.clear(Kn),e.forEach(r.statements,Wi),Wi(r.endOfFileToken),z3(r),e.isExternalOrCommonJsModule(r)&&Dd(r),!r.isDeclarationFile&&(Xe.noUnusedLocals||Xe.noUnusedParameters)&&Sx(tI(r),function(i,o,s){!e.containsParseError(i)&&rI(o,!!(i.flags&8388608))&&ua.add(s)}),Xe.importsNotUsedAsValues===2&&!r.isDeclarationFile&&e.isExternalModule(r)&&U3(r),e.isExternalOrCommonJsModule(r)&&$x(r),pn.length&&(e.forEach(pn,C4),e.clear(pn)),fn.length&&(e.forEach(fn,x4),e.clear(fn)),kn.length&&(e.forEach(kn,O4),e.clear(kn)),Kn.length&&(e.forEach(Kn,w4),e.clear(Kn)),t.flags|=1}}function nI(r,t){try{return R=t,Y3(r)}finally{R=void 0}}function Y3(r){if(aI(),r){var t=ua.getGlobalDiagnostics(),i=t.length;TT(r);var o=ua.getDiagnostics(r.fileName),s=ua.getGlobalDiagnostics();if(s!==t){var c=e.relativeComplement(t,s,e.compareDiagnostics);return e.concatenate(c,o)}else if(i===0&&s.length>0)return e.concatenate(s,o);return o}return e.forEach(j.getSourceFiles(),TT),ua.getDiagnostics()}function Q3(){return aI(),ua.getGlobalDiagnostics()}function aI(){if(!Se)throw new Error(\"Trying to get diagnostics from a type checker that does not produce them.\")}function Z3(r,t){if(r.flags&16777216)return[];var i=e.createSymbolTable(),o=!1;return s(),i.delete(\"this\"),qm(i);function s(){for(;r;){switch(r.locals&&!Oc(r)&&L(r.locals,t),r.kind){case 303:if(!e.isExternalModule(r))break;case 260:G(wn(r).exports,t&2623475);break;case 259:L(wn(r).exports,t&8);break;case 225:var ce=r.name;ce&&c(r.symbol,t);case 256:case 257:o||L(af(wn(r)),t&788968);break;case 212:var we=r.name;we&&c(r.symbol,t);break}e.introducesArgumentsExoticObject(r)&&c(Jr,t),o=e.isStatic(r),r=r.parent}L(Pr,t)}function c(ce,we){if(e.getCombinedLocalAndExportSymbolFlags(ce)&we){var Ue=ce.escapedName;i.has(Ue)||i.set(Ue,ce)}}function L(ce,we){we&&ce.forEach(function(Ue){c(Ue,we)})}function G(ce,we){we&&ce.forEach(function(Ue){!e.getDeclarationOfKind(Ue,274)&&!e.getDeclarationOfKind(Ue,273)&&c(Ue,we)})}}function $3(r){return r.kind===79&&jh(r.parent)&&e.getNameOfDeclaration(r.parent)===r}function jh(r){switch(r.kind){case 162:case 256:case 257:case 258:case 259:case 343:case 336:case 337:return!0;case 266:return r.isTypeOnly;case 269:case 274:return r.parent.parent.isTypeOnly;default:return!1}}function iI(r){for(;r.parent.kind===160;)r=r.parent;return r.parent.kind===177}function e8(r){for(;r.parent.kind===205;)r=r.parent;return r.parent.kind===227}function oI(r,t){for(var i;r=e.getContainingClass(r),!(!r||(i=t(r))););return i}function r8(r){return!!e.findAncestor(r,function(t){return e.isConstructorDeclaration(t)&&e.nodeIsPresent(t.body)||e.isPropertyDeclaration(t)?!0:e.isClassLike(t)||e.isFunctionLikeDeclaration(t)?\"quit\":!1})}function ST(r,t){return!!oI(r,function(i){return i===t})}function t8(r){for(;r.parent.kind===160;)r=r.parent;if(r.parent.kind===264)return r.parent.moduleReference===r?r.parent:void 0;if(r.parent.kind===270)return r.parent.expression===r?r.parent:void 0}function Vb(r){return t8(r)!==void 0}function n8(r){var t=e.getAssignmentDeclarationKind(r.parent.parent);switch(t){case 1:case 3:return wn(r.parent);case 4:case 2:case 5:return wn(r.parent.parent)}}function a8(r){for(var t=r.parent;e.isQualifiedName(t);)r=t,t=t.parent;if(t&&t.kind===199&&t.qualifier===r)return t}function sI(r){if(e.isDeclarationName(r))return wn(r.parent);if(e.isInJSFile(r)&&r.parent.kind===205&&r.parent===r.parent.parent.left&&!e.isPrivateIdentifier(r)&&!e.isJSDocMemberName(r)){var t=n8(r);if(t)return t}if(r.parent.kind===270&&e.isEntityNameExpression(r)){var i=rs(r,2998271,!0);if(i&&i!==We)return i}else if(e.isEntityName(r)&&Vb(r)){var o=e.getAncestor(r,264);return e.Debug.assert(o!==void 0),sd(r,!0)}if(e.isEntityName(r)){var s=a8(r);if(s){Da(s);var c=Zn(r).resolvedSymbol;return c===We?void 0:c}}for(;e.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(r);)r=r.parent;if(e8(r)){var L=0;r.parent.kind===227?(L=788968,e.isExpressionWithTypeArgumentsInClassExtendsClause(r.parent)&&(L|=111551)):L=1920,L|=2097152;var G=e.isEntityNameExpression(r)?rs(r,L):void 0;if(G)return G}if(r.parent.kind===338)return e.getParameterSymbolFromJSDoc(r.parent);if(r.parent.kind===162&&r.parent.parent.kind===342){e.Debug.assert(!e.isInJSFile(r));var ce=e.getTypeParameterFromJsDoc(r.parent);return ce&&ce.symbol}if(e.isExpressionNode(r)){if(e.nodeIsMissing(r))return;var we=e.findAncestor(r,e.or(e.isJSDocLinkLike,e.isJSDocNameReference,e.isJSDocMemberName)),L=we?901119:111551;if(r.kind===79){if(e.isJSXTagName(r)&&fg(r)){var Ue=L1(r.parent);return Ue===We?void 0:Ue}var Je=rs(r,L,!1,!we,e.getHostSignatureFromJSDoc(r));if(!Je&&we){var ar=e.findAncestor(r,e.or(e.isClassLike,e.isInterfaceDeclaration));if(ar)return Wb(r,wn(ar))}return Je}else{if(e.isPrivateIdentifier(r))return _b(r);if(r.kind===205||r.kind===160){var _r=Zn(r);return _r.resolvedSymbol?_r.resolvedSymbol:(r.kind===205?tC(r,0):nC(r,0),!_r.resolvedSymbol&&we&&e.isQualifiedName(r)?Wb(r):_r.resolvedSymbol)}else if(e.isJSDocMemberName(r))return Wb(r)}}else if(iI(r)){var L=r.parent.kind===177?788968:1920,Ue=rs(r,L,!1,!0);return Ue&&Ue!==We?Ue:Ty(r)}if(r.parent.kind===176)return rs(r,1)}function Wb(r,t){if(e.isEntityName(r)){var i=901119,o=rs(r,i,!1,!0,e.getHostSignatureFromJSDoc(r));if(!o&&e.isIdentifier(r)&&t&&(o=Ga(ks(Js(t),r.escapedText,i))),o)return o}var s=e.isIdentifier(r)?t:Wb(r.left),c=e.isIdentifier(r)?r.escapedText:r.right.escapedText;if(s){var L=s.flags&111551&&Ii(An(s),\"prototype\"),G=L?An(L):po(s);return Ii(G,c)}}function Vc(r,t){if(r.kind===303)return e.isExternalModule(r)?Ga(r.symbol):void 0;var i=r.parent,o=i.parent;if(!(r.flags&16777216)){if(g(r)){var s=wn(i);return e.isImportOrExportSpecifier(r.parent)&&r.parent.propertyName===r?jA(s):s}else if(e.isLiteralComputedPropertyDeclarationName(r))return wn(i.parent);if(r.kind===79){if(Vb(r))return sI(r);if(i.kind===202&&o.kind===200&&r===i.propertyName){var c=jp(o),L=Ii(c,r.escapedText);if(L)return L}else if(e.isMetaProperty(i)){var G=jp(i),L=Ii(G,r.escapedText);if(L)return L;if(i.keywordToken===103)return K1(i).symbol}}switch(r.kind){case 79:case 80:case 205:case 160:return sI(r);case 108:var ce=e.getThisContainer(r,!1);if(e.isFunctionLike(ce)){var we=bu(ce);if(we.thisParameter)return we.thisParameter}if(e.isInExpressionContext(r))return ui(r).symbol;case 191:return Iy(r).symbol;case 106:return ui(r).symbol;case 134:var Ue=r.parent;return Ue&&Ue.kind===170?Ue.parent.symbol:void 0;case 10:case 14:if(e.isExternalModuleImportEqualsDeclaration(r.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(r.parent.parent)===r||(r.parent.kind===265||r.parent.kind===271)&&r.parent.moduleSpecifier===r||e.isInJSFile(r)&&e.isRequireCall(r.parent,!1)||e.isImportCall(r.parent)||e.isLiteralTypeNode(r.parent)&&e.isLiteralImportTypeNode(r.parent.parent)&&r.parent.parent.argument===r.parent)return ws(r,r,t);if(e.isCallExpression(i)&&e.isBindableObjectDefinePropertyCall(i)&&i.arguments[1]===r)return wn(i);case 8:var Je=e.isElementAccessExpression(i)?i.argumentExpression===r?tl(i.expression):void 0:e.isLiteralTypeNode(i)&&e.isIndexedAccessTypeNode(o)?Da(o.objectType):void 0;return Je&&Ii(Je,e.escapeLeadingUnderscores(r.text));case 88:case 98:case 38:case 84:return wn(r.parent);case 199:return e.isLiteralImportTypeNode(r)?Vc(r.argument.literal,t):void 0;case 93:return e.isExportAssignment(r.parent)?e.Debug.checkDefined(r.parent.symbol):void 0;case 100:case 103:return e.isMetaProperty(r.parent)?UC(r.parent).symbol:void 0;case 230:return ui(r).symbol;default:return}}}function i8(r){if(e.isIdentifier(r)&&e.isPropertyAccessExpression(r.parent)&&r.parent.name===r){var t=lp(r),i=tl(r.parent.expression),o=i.flags&1048576?i.types:[i];return e.flatMap(o,function(s){return e.filter(Ps(s),function(c){return u_(t,c.keyType)})})}}function o8(r){if(r&&r.kind===295)return rs(r.name,2208703)}function s8(r){return e.isExportSpecifier(r)?r.parent.parent.moduleSpecifier?Pu(r.parent.parent,r):rs(r.propertyName||r.name,2998271):rs(r,2998271)}function jp(r){if(e.isSourceFile(r)&&!e.isExternalModule(r)||r.flags&16777216)return dr;var t=e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments(r),i=t&&Hn(wn(t.class));if(e.isPartOfTypeNode(r)){var o=Da(r);return i?Il(o,i.thisType):o}if(e.isExpressionNode(r))return lI(r);if(i&&!t.isImplements){var s=e.firstOrUndefined(xl(i));return s?Il(s,i.thisType):dr}if(jh(r)){var c=wn(r);return po(c)}if($3(r)){var c=Vc(r);return c?po(c):dr}if(e.isDeclaration(r)){var c=wn(r);return An(c)}if(g(r)){var c=Vc(r);return c?An(c):dr}if(e.isBindingPattern(r))return ep(r.parent,!0)||dr;if(Vb(r)){var c=Vc(r);if(c){var L=po(c);return Ua(L)?An(c):L}}return e.isMetaProperty(r.parent)&&r.parent.keywordToken===r.kind?UC(r.parent):dr}function jb(r){if(e.Debug.assert(r.kind===204||r.kind===203),r.parent.kind===243){var t=Bh(r.parent);return T_(r,t||dr)}if(r.parent.kind===220){var t=tl(r.parent.right);return T_(r,t||dr)}if(r.parent.kind===294){var i=e.cast(r.parent.parent,e.isObjectLiteralExpression),o=jb(i)||dr,s=e.indexOfNode(i.properties,r.parent);return $C(i,o,s)}var c=e.cast(r.parent,e.isArrayLiteralExpression),L=jb(c)||dr,G=Ld(65,L,Nr,r.parent)||dr;return ex(c,L,c.elements.indexOf(r),G)}function l8(r){var t=jb(e.cast(r.parent.parent,e.isAssignmentPattern));return t&&Ii(t,r.escapedText)}function lI(r){return e.isRightSideOfQualifiedNameOrPropertyAccess(r)&&(r=r.parent),kl(tl(r))}function c8(r){var t=wn(r.parent);return e.isStatic(r)?An(t):po(t)}function u8(r){var t=r.name;switch(t.kind){case 79:return Lc(e.idText(t));case 8:case 10:return Lc(t.text);case 161:var i=qf(t);return ys(i,12288)?i:xt;default:return e.Debug.fail(\"Unsupported property name.\")}}function DT(r){r=wi(r);var t=e.createSymbolTable(Yi(r)),i=Ni(r,0).length?oe:Ni(r,1).length?mr:void 0;return i&&e.forEach(Yi(i),function(o){t.has(o.escapedName)||t.set(o.escapedName,o)}),Bu(t)}function LT(r){return e.typeHasCallOrConstructSignatures(r,Yr)}function cI(r){var t=f8(r);return t?e.flatMap(t,cI):[r]}function f8(r){if(e.getCheckFlags(r)&6)return e.mapDefined(Ja(r).containingType.types,function(c){return Ii(c,r.escapedName)});if(r.flags&33554432){var t=r,i=t.leftSpread,o=t.rightSpread,s=t.syntheticOrigin;return i?[i,o]:s?[s]:e.singleElementArray(d8(r))}}function d8(r){for(var t,i=r;i=Ja(i).target;)t=i;return t}function p8(r){if(e.isGeneratedIdentifier(r))return!1;var t=e.getParseTreeNode(r,e.isIdentifier);if(!t)return!1;var i=t.parent;if(!i)return!1;var o=(e.isPropertyAccessExpression(i)||e.isPropertyAssignment(i))&&i.name===t;return!o&&Lv(t)===Jr}function _8(r){var t=ws(r.parent,r);if(!t||e.isShorthandAmbientModuleSymbol(t))return!0;var i=ld(t);t=ll(t);var o=Ja(t);return o.exportsSomeValue===void 0&&(o.exportsSomeValue=i?!!(t.flags&111551):e.forEachEntry(Gl(t),s)),o.exportsSomeValue;function s(c){return c=wo(c),c&&!!(c.flags&111551)}}function m8(r){return e.isModuleOrEnumDeclaration(r.parent)&&r===r.parent.name}function g8(r,t){var i,o=e.getParseTreeNode(r,e.isIdentifier);if(o){var s=Lv(o,m8(o));if(s){if(s.flags&1048576){var c=Ga(s.exportSymbol);if(!t&&c.flags&944&&!(c.flags&3))return;s=c}var L=Ts(s);if(L){if(L.flags&512&&((i=L.valueDeclaration)===null||i===void 0?void 0:i.kind)===303){var G=L.valueDeclaration,ce=e.getSourceFileOfNode(o),we=G!==ce;return we?void 0:G}return e.findAncestor(o.parent,function(Ue){return e.isModuleOrEnumDeclaration(Ue)&&wn(Ue)===L})}}}}function v8(r){if(r.generatedImportReference)return r.generatedImportReference;var t=e.getParseTreeNode(r,e.isIdentifier);if(t){var i=Lv(t);if(Dl(i,111551)&&!Ln(i))return ec(i)}}function h8(r){return r.valueDeclaration&&e.isBindingElement(r.valueDeclaration)&&e.walkUpBindingElementsAndPatterns(r.valueDeclaration).parent.kind===291}function uI(r){if(r.flags&418&&r.valueDeclaration&&!e.isSourceFile(r.valueDeclaration)){var t=Ja(r);if(t.isDeclarationWithCollidingName===void 0){var i=e.getEnclosingBlockScopeContainer(r.valueDeclaration);if(e.isStatementWithLocals(i)||h8(r)){var o=Zn(r.valueDeclaration);if(Uo(i.parent,r.escapedName,111551,void 0,void 0,!1))t.isDeclarationWithCollidingName=!0;else if(o.flags&262144){var s=o.flags&524288,c=e.isIterationStatement(i,!1),L=i.kind===234&&e.isIterationStatement(i.parent,!1);t.isDeclarationWithCollidingName=!e.isBlockScopedContainerTopLevel(i)&&(!s||!c&&!L)}else t.isDeclarationWithCollidingName=!1}}return t.isDeclarationWithCollidingName}return!1}function y8(r){if(!e.isGeneratedIdentifier(r)){var t=e.getParseTreeNode(r,e.isIdentifier);if(t){var i=Lv(t);if(i&&uI(i))return i.valueDeclaration}}}function b8(r){var t=e.getParseTreeNode(r,e.isDeclaration);if(t){var i=wn(t);if(i)return uI(i)}return!1}function fI(r){switch(r.kind){case 264:return Hb(wn(r));case 266:case 267:case 269:case 274:var t=wn(r);return!!t&&Hb(t)&&!Ln(t);case 271:var i=r.exportClause;return!!i&&(e.isNamespaceExport(i)||e.some(i.elements,fI));case 270:return r.expression&&r.expression.kind===79?Hb(wn(r)):!0}return!1}function E8(r){var t=e.getParseTreeNode(r,e.isImportEqualsDeclaration);if(t===void 0||t.parent.kind!==303||!e.isInternalModuleImportEqualsDeclaration(t))return!1;var i=Hb(wn(t));return i&&t.moduleReference&&!e.nodeIsMissing(t.moduleReference)}function Hb(r){if(!r)return!1;var t=ms(r);return t===We?!0:!!(t.flags&111551)&&(e.shouldPreserveConstEnums(Xe)||!Dv(t))}function Dv(r){return $1(r)||!!r.constEnumOnlyModule}function Jb(r,t){if(Ud(r)){var i=wn(r),o=i&&Ja(i);if(o!=null&&o.referenced)return!0;var s=Ja(i).target;if(s&&e.getEffectiveModifierFlags(r)&1&&s.flags&111551&&(e.shouldPreserveConstEnums(Xe)||!Dv(s)))return!0}return t?!!e.forEachChild(r,function(c){return Jb(c,t)}):!1}function dI(r){if(e.nodeIsPresent(r.body)){if(e.isGetAccessor(r)||e.isSetAccessor(r))return!1;var t=wn(r),i=Op(t);return i.length>1||i.length===1&&i[0].declaration!==r}return!1}function pI(r){return!!br&&!w_(r)&&!e.isJSDocParameterTag(r)&&!!r.initializer&&!e.hasSyntacticModifier(r,16476)}function T8(r){return br&&w_(r)&&!r.initializer&&e.hasSyntacticModifier(r,16476)}function S8(r){return!!br&&w_(r)&&!r.initializer}function D8(r){var t=e.getParseTreeNode(r,e.isFunctionDeclaration);if(!t)return!1;var i=wn(t);return!i||!(i.flags&16)?!1:!!e.forEachEntry(Js(i),function(o){return o.flags&111551&&o.valueDeclaration&&e.isPropertyAccessExpression(o.valueDeclaration)})}function L8(r){var t=e.getParseTreeNode(r,e.isFunctionDeclaration);if(!t)return e.emptyArray;var i=wn(t);return i&&Yi(An(i))||e.emptyArray}function Cm(r){var t,i=r.id||0;return i<0||i>=Ic.length?0:((t=Ic[i])===null||t===void 0?void 0:t.flags)||0}function Kb(r){return Qx(r.parent),Zn(r).enumMemberValue}function _I(r){switch(r.kind){case 297:case 205:case 206:return!0}return!1}function AT(r){if(r.kind===297)return Kb(r);var t=Zn(r).resolvedSymbol;if(t&&t.flags&8){var i=t.valueDeclaration;if(e.isEnumConst(i.parent))return Kb(i)}}function CT(r){return!!(r.flags&524288)&&Ni(r,0).length>0}function A8(r,t){var i,o,s=e.getParseTreeNode(r,e.isEntityName);if(!s||t&&(t=e.getParseTreeNode(t),!t))return e.TypeReferenceSerializationKind.Unknown;var c=!1;if(e.isQualifiedName(s)){var L=rs(e.getFirstIdentifier(s),111551,!0,!0,t);c=!!(!((i=L==null?void 0:L.declarations)===null||i===void 0)&&i.every(e.isTypeOnlyImportOrExportDeclaration))}var G=rs(s,111551,!0,!0,t),ce=G&&G.flags&2097152?ms(G):G;c||(c=!!(!((o=G==null?void 0:G.declarations)===null||o===void 0)&&o.every(e.isTypeOnlyImportOrExportDeclaration)));var we=rs(s,788968,!0,!1,t);if(ce&&ce===we){var Ue=e0(!1);if(Ue&&ce===Ue)return e.TypeReferenceSerializationKind.Promise;var Je=An(ce);if(Je&&tm(Je))return c?e.TypeReferenceSerializationKind.TypeWithCallSignature:e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}if(!we)return c?e.TypeReferenceSerializationKind.ObjectType:e.TypeReferenceSerializationKind.Unknown;var ar=po(we);return Ua(ar)?c?e.TypeReferenceSerializationKind.ObjectType:e.TypeReferenceSerializationKind.Unknown:ar.flags&3?e.TypeReferenceSerializationKind.ObjectType:ys(ar,245760)?e.TypeReferenceSerializationKind.VoidNullableOrNeverType:ys(ar,528)?e.TypeReferenceSerializationKind.BooleanType:ys(ar,296)?e.TypeReferenceSerializationKind.NumberLikeType:ys(ar,2112)?e.TypeReferenceSerializationKind.BigIntLikeType:ys(ar,402653316)?e.TypeReferenceSerializationKind.StringLikeType:ki(ar)?e.TypeReferenceSerializationKind.ArrayLikeType:ys(ar,12288)?e.TypeReferenceSerializationKind.ESSymbolType:CT(ar)?e.TypeReferenceSerializationKind.TypeWithCallSignature:el(ar)?e.TypeReferenceSerializationKind.ArrayLikeType:e.TypeReferenceSerializationKind.ObjectType}function C8(r,t,i,o,s){var c=e.getParseTreeNode(r,e.isVariableLikeOrAccessor);if(!c)return e.factory.createToken(130);var L=wn(c),G=L&&!(L.flags&133120)?Pp(An(L)):dr;return G.flags&8192&&G.symbol===L&&(i|=1048576),s&&(G=Jf(G)),Sr.typeToTypeNode(G,t,i|1024,o)}function x8(r,t,i,o){var s=e.getParseTreeNode(r,e.isFunctionLike);if(!s)return e.factory.createToken(130);var c=bu(s);return Sr.typeToTypeNode(_o(c),t,i|1024,o)}function I8(r,t,i,o){var s=e.getParseTreeNode(r,e.isExpression);if(!s)return e.factory.createToken(130);var c=wl(lI(s));return Sr.typeToTypeNode(c,t,i|1024,o)}function N8(r){return Pr.has(e.escapeLeadingUnderscores(r))}function Lv(r,t){var i=Zn(r).resolvedSymbol;if(i)return i;var o=r;if(t){var s=r.parent;e.isDeclaration(s)&&r===s.name&&(o=fa(s))}return Uo(o,r.escapedText,3257279,void 0,void 0,!0)}function k8(r){if(!e.isGeneratedIdentifier(r)){var t=e.getParseTreeNode(r,e.isIdentifier);if(t){var i=Lv(t);if(i)return tc(i).valueDeclaration}}}function O8(r){return e.isDeclarationReadonly(r)||e.isVariableDeclaration(r)&&e.isVarConst(r)?Mp(An(wn(r))):!1}function R8(r,t,i){var o=r.flags&1024?Sr.symbolToExpression(r.symbol,111551,t,void 0,i):r===sa?e.factory.createTrue():r===mt&&e.factory.createFalse();if(o)return o;var s=r.value;return typeof s==\"object\"?e.factory.createBigIntLiteral(s):typeof s==\"number\"?e.factory.createNumericLiteral(s):e.factory.createStringLiteral(s)}function w8(r,t){var i=An(wn(r));return R8(i,r,t)}function mI(r){return r?(bo(r),e.getSourceFileOfNode(r).localJsxFactory||jt):jt}function xT(r){if(r){var t=e.getSourceFileOfNode(r);if(t){if(t.localJsxFragmentFactory)return t.localJsxFragmentFactory;var i=t.pragmas.get(\"jsxfrag\"),o=e.isArray(i)?i[0]:i;if(o)return t.localJsxFragmentFactory=e.parseIsolatedEntityName(o.arguments.factory,De),t.localJsxFragmentFactory}}if(Xe.jsxFragmentFactory)return e.parseIsolatedEntityName(Xe.jsxFragmentFactory,De)}function M8(){var r=j.getResolvedTypeReferenceDirectives(),t;return r&&(t=new e.Map,r.forEach(function(ce,we){if(!(!ce||!ce.resolvedFileName)){var Ue=j.getSourceFile(ce.resolvedFileName);Ue&&G(Ue,we)}})),{getReferencedExportContainer:g8,getReferencedImportDeclaration:v8,getReferencedDeclarationWithCollidingName:y8,isDeclarationWithCollidingName:b8,isValueAliasDeclaration:function(ce){var we=e.getParseTreeNode(ce);return we?fI(we):!0},hasGlobalName:N8,isReferencedAliasDeclaration:function(ce,we){var Ue=e.getParseTreeNode(ce);return Ue?Jb(Ue,we):!0},getNodeCheckFlags:function(ce){var we=e.getParseTreeNode(ce);return we?Cm(we):0},isTopLevelValueImportEqualsWithEntityName:E8,isDeclarationVisible:Qc,isImplementationOfOverload:dI,isRequiredInitializedParameter:pI,isOptionalUninitializedParameterProperty:T8,isExpandoFunctionDeclaration:D8,getPropertiesOfContainerFunction:L8,createTypeOfDeclaration:C8,createReturnTypeOfSignatureDeclaration:x8,createTypeOfExpression:I8,createLiteralConstValue:w8,isSymbolAccessible:rf,isEntityNameVisible:r_,getConstantValue:function(ce){var we=e.getParseTreeNode(ce,_I);return we?AT(we):void 0},collectLinkedAliases:Mf,getReferencedValueDeclaration:k8,getTypeReferenceSerializationKind:A8,isOptionalParameter:w_,moduleExportsSomeValue:_8,isArgumentsLocalBinding:p8,getExternalModuleFileFromDeclaration:function(ce){var we=e.getParseTreeNode(ce,e.hasPossibleExternalModuleReference);return we&&IT(we)},getTypeReferenceDirectivesForEntityName:s,getTypeReferenceDirectivesForSymbol:c,isLiteralConstDeclaration:O8,isLateBound:function(ce){var we=e.getParseTreeNode(ce,e.isDeclaration),Ue=we&&wn(we);return!!(Ue&&e.getCheckFlags(Ue)&4096)},getJsxFactoryEntity:mI,getJsxFragmentFactoryEntity:xT,getAllAccessorDeclarations:function(ce){ce=e.getParseTreeNode(ce,e.isGetOrSetAccessorDeclaration);var we=ce.kind===172?171:172,Ue=e.getDeclarationOfKind(wn(ce),we),Je=Ue&&Ue.pos<ce.pos?Ue:ce,ar=Ue&&Ue.pos<ce.pos?ce:Ue,_r=ce.kind===172?ce:Ue,Gr=ce.kind===171?ce:Ue;return{firstAccessor:Je,secondAccessor:ar,setAccessor:_r,getAccessor:Gr}},getSymbolOfExternalModuleSpecifier:function(ce){return Mc(ce,ce,void 0)},isBindingCapturedByNode:function(ce,we){var Ue=e.getParseTreeNode(ce),Je=e.getParseTreeNode(we);return!!Ue&&!!Je&&(e.isVariableDeclaration(Je)||e.isBindingElement(Je))&&qw(Ue,Je)},getDeclarationStatementsForSourceFile:function(ce,we,Ue,Je){var ar=e.getParseTreeNode(ce);e.Debug.assert(ar&&ar.kind===303,\"Non-sourcefile node passed into getDeclarationsForSourceFile\");var _r=wn(ce);return _r?_r.exports?Sr.symbolTableToDeclarationStatements(_r.exports,ce,we,Ue,Je):[]:ce.locals?Sr.symbolTableToDeclarationStatements(ce.locals,ce,we,Ue,Je):[]},isImportRequiredByAugmentation:i};function i(ce){var we=e.getSourceFileOfNode(ce);if(!we.symbol)return!1;var Ue=IT(ce);if(!Ue||Ue===we)return!1;for(var Je=Gl(we.symbol),ar=0,_r=e.arrayFrom(Je.values());ar<_r.length;ar++){var Gr=_r[ar];if(Gr.mergeId){var Zr=Ga(Gr);if(Zr.declarations)for(var Et=0,Tt=Zr.declarations;Et<Tt.length;Et++){var At=Tt[Et],Vt=e.getSourceFileOfNode(At);if(Vt===Ue)return!0}}}return!1}function o(ce){return ce.parent&&ce.parent.kind===227&&ce.parent.parent&&ce.parent.parent.kind===290}function s(ce){if(!!t){var we=790504;(ce.kind===79&&lg(ce)||ce.kind===205&&!o(ce))&&(we=1160127);var Ue=rs(ce,we,!0);return Ue&&Ue!==We?c(Ue,we):void 0}}function c(ce,we){if(!(!t||!L(ce))){for(var Ue,Je=0,ar=ce.declarations;Je<ar.length;Je++){var _r=ar[Je];if(_r.symbol&&_r.symbol.flags&we){var Gr=e.getSourceFileOfNode(_r),Zr=t.get(Gr.path);if(Zr)(Ue||(Ue=[])).push(Zr);else return}}return Ue}}function L(ce){if(!ce.declarations)return!1;for(var we=ce;;){var Ue=Ts(we);if(Ue)we=Ue;else break}if(we.valueDeclaration&&we.valueDeclaration.kind===303&&we.flags&512)return!1;for(var Je=0,ar=ce.declarations;Je<ar.length;Je++){var _r=ar[Je],Gr=e.getSourceFileOfNode(_r);if(t.has(Gr.path))return!0}return!1}function G(ce,we){if(!t.has(ce.path)){t.set(ce.path,we);for(var Ue=0,Je=ce.referencedFiles;Ue<Je.length;Ue++){var ar=Je[Ue].fileName,_r=e.resolveTripleslashReference(ar,ce.fileName),Gr=j.getSourceFile(_r);Gr&&G(Gr,we)}}}}function IT(r){var t=r.kind===260?e.tryCast(r.name,e.isStringLiteral):e.getExternalModuleName(r),i=Mc(t,t,void 0);if(!!i)return e.getDeclarationOfKind(i,303)}function P8(){for(var r=0,t=j.getSourceFiles();r<t.length;r++){var i=t[r];e.bindSourceFile(i,Xe)}zo=new e.Map;for(var o,s=0,c=j.getSourceFiles();s<c.length;s++){var i=c[s];if(!i.redirectInfo){if(!e.isExternalOrCommonJsModule(i)){var L=i.locals.get(\"globalThis\");if(L!=null&&L.declarations)for(var G=0,ce=L.declarations;G<ce.length;G++){var we=ce[G];ua.add(e.createDiagnosticForNode(we,e.Diagnostics.Declaration_name_conflicts_with_built_in_global_identifier_0,\"globalThis\"))}dl(Pr,i.locals)}if(i.jsGlobalAugmentations&&dl(Pr,i.jsGlobalAugmentations),i.patternAmbientModules&&i.patternAmbientModules.length&&(dt=e.concatenate(dt,i.patternAmbientModules)),i.moduleAugmentations.length&&(o||(o=[])).push(i.moduleAugmentations),i.symbol&&i.symbol.globalExports){var Ue=i.symbol.globalExports;Ue.forEach(function(ca,la){Pr.has(la)||Pr.set(la,ca)})}}}if(o)for(var Je=0,ar=o;Je<ar.length;Je++)for(var _r=ar[Je],Gr=0,Zr=_r;Gr<Zr.length;Gr++){var Et=Zr[Gr];!e.isGlobalScopeAugmentation(Et.parent)||qp(Et)}if(Rs(Pr,Si,e.Diagnostics.Declaration_name_conflicts_with_built_in_global_identifier_0),Ja(He).type=zr,Ja(Jr).type=$s(\"IArguments\",0,!0),Ja(We).type=dr,Ja(pr).type=Bl(16,pr),se=$s(\"Array\",1,!0),Un=$s(\"Object\",0,!0),Oe=$s(\"Function\",0,!0),oe=Ar&&$s(\"CallableFunction\",0,!0)||Oe,mr=Ar&&$s(\"NewableFunction\",0,!0)||Oe,er=$s(\"String\",0,!0),vr=$s(\"Number\",0,!0),qr=$s(\"Boolean\",0,!0),Dt=$s(\"RegExp\",0,!0),Sn=zs(Ze),ta=zs(Cr),ta===Qn&&(ta=ts(void 0,Le,e.emptyArray,e.emptyArray,e.emptyArray)),Be=PD(\"ReadonlyArray\",1)||se,xa=Be?zg(Be,[Ze]):Sn,Jt=PD(\"ThisType\",1),o)for(var Tt=0,At=o;Tt<At.length;Tt++)for(var _r=At[Tt],Vt=0,Nn=_r;Vt<Nn.length;Vt++){var Et=Nn[Vt];e.isGlobalScopeAugmentation(Et.parent)||qp(Et)}zo.forEach(function(on){var ca=on.firstFile,la=on.secondFile,di=on.conflictingSymbols;if(di.size<8)di.forEach(function(Li,Bi){for(var Ai=Li.isBlockScoped,xo=Li.firstFileLocations,Wt=Li.secondFileLocations,Ft=Ai?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,_n=0,Ca=xo;_n<Ca.length;_n++){var Yn=Ca[_n];Jc(Yn,Ft,Bi,Wt)}for(var Ba=0,Ti=Wt;Ba<Ti.length;Ba++){var Yn=Ti[Ba];Jc(Yn,Ft,Bi,xo)}});else{var Aa=e.arrayFrom(di.keys()).join(\", \");ua.add(e.addRelatedInfo(e.createDiagnosticForNode(ca,e.Diagnostics.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,Aa),e.createDiagnosticForNode(la,e.Diagnostics.Conflicts_are_in_this_file))),ua.add(e.addRelatedInfo(e.createDiagnosticForNode(la,e.Diagnostics.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,Aa),e.createDiagnosticForNode(ca,e.Diagnostics.Conflicts_are_in_this_file)))}}),zo=void 0}function nl(r,t){if((Y&t)!==t&&Xe.importHelpers){var i=e.getSourceFileOfNode(r);if(e.isEffectiveExternalModule(i,Xe)&&!(r.flags&8388608)){var o=G8(i,r);if(o!==We){for(var s=t&~Y,c=1;c<=4194304;c<<=1)if(s&c){var L=F8(c),G=ks(o.exports,e.escapeLeadingUnderscores(L),111551);G?c&524288?e.some(Op(G),function(ce){return Tl(ce)>3})||Mr(r,e.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,e.externalHelpersModuleNameText,L,4):c&1048576?e.some(Op(G),function(ce){return Tl(ce)>4})||Mr(r,e.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,e.externalHelpersModuleNameText,L,5):c&1024&&(e.some(Op(G),function(ce){return Tl(ce)>2})||Mr(r,e.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,e.externalHelpersModuleNameText,L,3)):Mr(r,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0,e.externalHelpersModuleNameText,L)}}Y|=t}}}function F8(r){switch(r){case 1:return\"__extends\";case 2:return\"__assign\";case 4:return\"__rest\";case 8:return\"__decorate\";case 16:return\"__metadata\";case 32:return\"__param\";case 64:return\"__awaiter\";case 128:return\"__generator\";case 256:return\"__values\";case 512:return\"__read\";case 1024:return\"__spreadArray\";case 2048:return\"__await\";case 4096:return\"__asyncGenerator\";case 8192:return\"__asyncDelegator\";case 16384:return\"__asyncValues\";case 32768:return\"__exportStar\";case 65536:return\"__importStar\";case 131072:return\"__importDefault\";case 262144:return\"__makeTemplateObject\";case 524288:return\"__classPrivateFieldGet\";case 1048576:return\"__classPrivateFieldSet\";case 2097152:return\"__classPrivateFieldIn\";case 4194304:return\"__createBinding\";default:return e.Debug.fail(\"Unrecognized helper\")}}function G8(r,t){return U||(U=Qu(r,e.externalHelpersModuleNameText,e.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,t)||We),U}function ff(r){return B8(r)||U8(r)}function B8(r){if(!r.decorators)return!1;if(e.nodeCanBeDecorated(r,r.parent,r.parent.parent)){if(r.kind===171||r.kind===172){var t=e.getAllAccessorDeclarations(r.parent.members,r);if(t.firstAccessor.decorators&&r===t.secondAccessor)return Gs(r,e.Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}}else return r.kind===168&&!e.nodeIsPresent(r.body)?Gs(r,e.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload):Gs(r,e.Diagnostics.Decorators_are_not_valid_here);return!1}function U8(r){var t=V8(r);if(t!==void 0)return t;for(var i,o,s,c,L,G=0,ce=0,we=r.modifiers;ce<we.length;ce++){var Ue=we[ce];if(Ue.kind!==144){if(r.kind===165||r.kind===167)return sn(Ue,e.Diagnostics._0_modifier_cannot_appear_on_a_type_member,e.tokenToString(Ue.kind));if(r.kind===175&&(Ue.kind!==124||!e.isClassLike(r.parent)))return sn(Ue,e.Diagnostics._0_modifier_cannot_appear_on_an_index_signature,e.tokenToString(Ue.kind))}switch(Ue.kind){case 85:if(r.kind!==259)return sn(r,e.Diagnostics.A_class_member_cannot_have_the_0_keyword,e.tokenToString(85));break;case 158:if(G&16384)return sn(Ue,e.Diagnostics._0_modifier_already_seen,\"override\");if(G&2)return sn(Ue,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,\"override\",\"declare\");if(G&64)return sn(Ue,e.Diagnostics._0_modifier_must_precede_1_modifier,\"override\",\"readonly\");if(G&256)return sn(Ue,e.Diagnostics._0_modifier_must_precede_1_modifier,\"override\",\"async\");G|=16384,L=Ue;break;case 123:case 122:case 121:var Je=pd(e.modifierToFlag(Ue.kind));if(G&28)return sn(Ue,e.Diagnostics.Accessibility_modifier_already_seen);if(G&16384)return sn(Ue,e.Diagnostics._0_modifier_must_precede_1_modifier,Je,\"override\");if(G&32)return sn(Ue,e.Diagnostics._0_modifier_must_precede_1_modifier,Je,\"static\");if(G&64)return sn(Ue,e.Diagnostics._0_modifier_must_precede_1_modifier,Je,\"readonly\");if(G&256)return sn(Ue,e.Diagnostics._0_modifier_must_precede_1_modifier,Je,\"async\");if(r.parent.kind===261||r.parent.kind===303)return sn(Ue,e.Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element,Je);if(G&128)return Ue.kind===121?sn(Ue,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,Je,\"abstract\"):sn(Ue,e.Diagnostics._0_modifier_must_precede_1_modifier,Je,\"abstract\");if(e.isPrivateIdentifierClassElementDeclaration(r))return sn(Ue,e.Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier);G|=e.modifierToFlag(Ue.kind);break;case 124:if(G&32)return sn(Ue,e.Diagnostics._0_modifier_already_seen,\"static\");if(G&64)return sn(Ue,e.Diagnostics._0_modifier_must_precede_1_modifier,\"static\",\"readonly\");if(G&256)return sn(Ue,e.Diagnostics._0_modifier_must_precede_1_modifier,\"static\",\"async\");if(r.parent.kind===261||r.parent.kind===303)return sn(Ue,e.Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element,\"static\");if(r.kind===163)return sn(Ue,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,\"static\");if(G&128)return sn(Ue,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,\"static\",\"abstract\");if(G&16384)return sn(Ue,e.Diagnostics._0_modifier_must_precede_1_modifier,\"static\",\"override\");G|=32,i=Ue;break;case 144:if(G&64)return sn(Ue,e.Diagnostics._0_modifier_already_seen,\"readonly\");if(r.kind!==166&&r.kind!==165&&r.kind!==175&&r.kind!==163)return sn(Ue,e.Diagnostics.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature);G|=64,c=Ue;break;case 93:if(G&1)return sn(Ue,e.Diagnostics._0_modifier_already_seen,\"export\");if(G&2)return sn(Ue,e.Diagnostics._0_modifier_must_precede_1_modifier,\"export\",\"declare\");if(G&128)return sn(Ue,e.Diagnostics._0_modifier_must_precede_1_modifier,\"export\",\"abstract\");if(G&256)return sn(Ue,e.Diagnostics._0_modifier_must_precede_1_modifier,\"export\",\"async\");if(e.isClassLike(r.parent))return sn(Ue,e.Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind,\"export\");if(r.kind===163)return sn(Ue,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,\"export\");G|=1;break;case 88:var ar=r.parent.kind===303?r.parent:r.parent.parent;if(ar.kind===260&&!e.isAmbientModule(ar))return sn(Ue,e.Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);if(!(G&1))return sn(Ue,e.Diagnostics._0_modifier_must_precede_1_modifier,\"export\",\"default\");G|=512;break;case 135:if(G&2)return sn(Ue,e.Diagnostics._0_modifier_already_seen,\"declare\");if(G&256)return sn(Ue,e.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,\"async\");if(G&16384)return sn(Ue,e.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,\"override\");if(e.isClassLike(r.parent)&&!e.isPropertyDeclaration(r))return sn(Ue,e.Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind,\"declare\");if(r.kind===163)return sn(Ue,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,\"declare\");if(r.parent.flags&8388608&&r.parent.kind===261)return sn(Ue,e.Diagnostics.A_declare_modifier_cannot_be_used_in_an_already_ambient_context);if(e.isPrivateIdentifierClassElementDeclaration(r))return sn(Ue,e.Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier,\"declare\");G|=2,o=Ue;break;case 126:if(G&128)return sn(Ue,e.Diagnostics._0_modifier_already_seen,\"abstract\");if(r.kind!==256&&r.kind!==179){if(r.kind!==168&&r.kind!==166&&r.kind!==171&&r.kind!==172)return sn(Ue,e.Diagnostics.abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration);if(!(r.parent.kind===256&&e.hasSyntacticModifier(r.parent,128)))return sn(Ue,e.Diagnostics.Abstract_methods_can_only_appear_within_an_abstract_class);if(G&32)return sn(Ue,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,\"static\",\"abstract\");if(G&8)return sn(Ue,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,\"private\",\"abstract\");if(G&256&&s)return sn(s,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,\"async\",\"abstract\");if(G&16384)return sn(Ue,e.Diagnostics._0_modifier_must_precede_1_modifier,\"abstract\",\"override\")}if(e.isNamedDeclaration(r)&&r.name.kind===80)return sn(Ue,e.Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier,\"abstract\");G|=128;break;case 131:if(G&256)return sn(Ue,e.Diagnostics._0_modifier_already_seen,\"async\");if(G&2||r.parent.flags&8388608)return sn(Ue,e.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,\"async\");if(r.kind===163)return sn(Ue,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,\"async\");if(G&128)return sn(Ue,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,\"async\",\"abstract\");G|=256,s=Ue;break}}return r.kind===170?G&32?sn(i,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,\"static\"):G&128?sn(i,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,\"abstract\"):G&16384?sn(L,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,\"override\"):G&256?sn(s,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,\"async\"):G&64?sn(c,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,\"readonly\"):!1:(r.kind===265||r.kind===264)&&G&2?sn(o,e.Diagnostics.A_0_modifier_cannot_be_used_with_an_import_declaration,\"declare\"):r.kind===163&&G&16476&&e.isBindingPattern(r.name)?sn(r,e.Diagnostics.A_parameter_property_may_not_be_declared_using_a_binding_pattern):r.kind===163&&G&16476&&r.dotDotDotToken?sn(r,e.Diagnostics.A_parameter_property_cannot_be_declared_using_a_rest_parameter):G&256?j8(r,s):!1}function V8(r){return r.modifiers?W8(r)?Gs(r,e.Diagnostics.Modifiers_cannot_appear_here):void 0:!1}function W8(r){switch(r.kind){case 171:case 172:case 170:case 166:case 165:case 168:case 167:case 175:case 260:case 265:case 264:case 271:case 270:case 212:case 213:case 163:return!1;default:if(r.parent.kind===261||r.parent.kind===303)return!1;switch(r.kind){case 255:return NT(r,131);case 256:case 179:return NT(r,126);case 257:case 236:case 258:case 169:return!0;case 259:return NT(r,85);default:e.Debug.fail()}}}function NT(r,t){return r.modifiers.length>1||r.modifiers[0].kind!==t}function j8(r,t){switch(r.kind){case 168:case 255:case 212:case 213:return!1}return sn(t,e.Diagnostics._0_modifier_cannot_be_used_here,\"async\")}function K_(r,t){return t===void 0&&(t=e.Diagnostics.Trailing_comma_not_allowed),r&&r.hasTrailingComma?gp(r[0],r.end-1,1,t):!1}function gI(r,t){if(r&&r.length===0){var i=r.pos-1,o=e.skipTrivia(t.text,r.end)+1;return gp(t,i,o-i,e.Diagnostics.Type_parameter_list_cannot_be_empty)}return!1}function H8(r){for(var t=!1,i=r.length,o=0;o<i;o++){var s=r[o];if(s.dotDotDotToken){if(o!==i-1)return sn(s.dotDotDotToken,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list);if(s.flags&8388608||K_(r,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),s.questionToken)return sn(s.questionToken,e.Diagnostics.A_rest_parameter_cannot_be_optional);if(s.initializer)return sn(s.name,e.Diagnostics.A_rest_parameter_cannot_have_an_initializer)}else if(w_(s)){if(t=!0,s.questionToken&&s.initializer)return sn(s.name,e.Diagnostics.Parameter_cannot_have_question_mark_and_initializer)}else if(t&&!s.initializer)return sn(s.name,e.Diagnostics.A_required_parameter_cannot_follow_an_optional_parameter)}}function J8(r){return e.filter(r,function(t){return!!t.initializer||e.isBindingPattern(t.name)||e.isRestParameter(t)})}function K8(r){if(De>=3){var t=r.body&&e.isBlock(r.body)&&e.findUseStrictPrologue(r.body.statements);if(t){var i=J8(r.parameters);if(e.length(i)){e.forEach(i,function(s){e.addRelatedInfo(Mr(s,e.Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),e.createDiagnosticForNode(t,e.Diagnostics.use_strict_directive_used_here))});var o=i.map(function(s,c){return c===0?e.createDiagnosticForNode(s,e.Diagnostics.Non_simple_parameter_declared_here):e.createDiagnosticForNode(s,e.Diagnostics.and_here)});return e.addRelatedInfo.apply(void 0,Gt([Mr(t,e.Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],o,!1)),!0}}}return!1}function zb(r){var t=e.getSourceFileOfNode(r);return ff(r)||gI(r.typeParameters,t)||H8(r.parameters)||q8(r,t)||e.isFunctionLikeDeclaration(r)&&K8(r)}function z8(r){var t=e.getSourceFileOfNode(r);return rF(r)||gI(r.typeParameters,t)}function q8(r,t){if(!e.isArrowFunction(r))return!1;r.typeParameters&&!(e.length(r.typeParameters)>1||r.typeParameters.hasTrailingComma||r.typeParameters[0].constraint)&&t&&e.fileExtensionIsOneOf(t.fileName,[\".mts\",\".cts\"])&&sn(r.typeParameters[0],e.Diagnostics.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint);var i=r.equalsGreaterThanToken,o=e.getLineAndCharacterOfPosition(t,i.pos).line,s=e.getLineAndCharacterOfPosition(t,i.end).line;return o!==s&&sn(i,e.Diagnostics.Line_terminator_not_permitted_before_arrow)}function X8(r){var t=r.parameters[0];if(r.parameters.length!==1)return sn(t?t.name:r,e.Diagnostics.An_index_signature_must_have_exactly_one_parameter);if(K_(r.parameters,e.Diagnostics.An_index_signature_cannot_have_a_trailing_comma),t.dotDotDotToken)return sn(t.dotDotDotToken,e.Diagnostics.An_index_signature_cannot_have_a_rest_parameter);if(e.hasEffectiveModifiers(t))return sn(t.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier);if(t.questionToken)return sn(t.questionToken,e.Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark);if(t.initializer)return sn(t.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_initializer);if(!t.type)return sn(t.name,e.Diagnostics.An_index_signature_parameter_must_have_a_type_annotation);var i=Da(t.type);return hm(i,function(o){return!!(o.flags&8576)})||Yg(i)?sn(t.name,e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead):Kf(i,Ey)?r.type?!1:sn(r,e.Diagnostics.An_index_signature_must_have_a_type_annotation):sn(t.name,e.Diagnostics.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type)}function Y8(r){return ff(r)||X8(r)}function Q8(r,t){if(t&&t.length===0){var i=e.getSourceFileOfNode(r),o=t.pos-1,s=e.skipTrivia(i.text,t.end)+1;return gp(i,o,s-o,e.Diagnostics.Type_argument_list_cannot_be_empty)}return!1}function Hh(r,t){return K_(t)||Q8(r,t)}function Z8(r){return r.questionDotToken||r.flags&32?sn(r.template,e.Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain):!1}function $8(r){if(r)for(var t=0,i=r;t<i.length;t++){var o=i[t];if(o.kind===226)return gp(o,o.pos,0,e.Diagnostics.Argument_expression_expected)}return!1}function vI(r){return $8(r)}function hI(r){var t=r.types;if(K_(t))return!0;if(t&&t.length===0){var i=e.tokenToString(r.token);return gp(r,t.pos,0,e.Diagnostics._0_list_cannot_be_empty,i)}return e.some(t,eF)}function eF(r){return Hh(r,r.typeArguments)}function rF(r){var t=!1,i=!1;if(!ff(r)&&r.heritageClauses)for(var o=0,s=r.heritageClauses;o<s.length;o++){var c=s[o];if(c.token===94){if(t)return Gs(c,e.Diagnostics.extends_clause_already_seen);if(i)return Gs(c,e.Diagnostics.extends_clause_must_precede_implements_clause);if(c.types.length>1)return Gs(c.types[1],e.Diagnostics.Classes_can_only_extend_a_single_class);t=!0}else{if(e.Debug.assert(c.token===117),i)return Gs(c,e.Diagnostics.implements_clause_already_seen);i=!0}hI(c)}}function tF(r){var t=!1;if(r.heritageClauses)for(var i=0,o=r.heritageClauses;i<o.length;i++){var s=o[i];if(s.token===94){if(t)return Gs(s,e.Diagnostics.extends_clause_already_seen);t=!0}else return e.Debug.assert(s.token===117),Gs(s,e.Diagnostics.Interface_declaration_cannot_have_implements_clause);hI(s)}return!1}function qb(r){if(r.kind!==161)return!1;var t=r;return t.expression.kind===220&&t.expression.operatorToken.kind===27?sn(t.expression,e.Diagnostics.A_comma_expression_is_not_allowed_in_a_computed_property_name):!1}function kT(r){if(r.asteriskToken){if(e.Debug.assert(r.kind===255||r.kind===212||r.kind===168),r.flags&8388608)return sn(r.asteriskToken,e.Diagnostics.Generators_are_not_allowed_in_an_ambient_context);if(!r.body)return sn(r.asteriskToken,e.Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator)}}function yI(r,t){return!!r&&sn(r,t)}function bI(r,t){return!!r&&sn(r,t)}function nF(r,t){for(var i=new e.Map,o=0,s=r.properties;o<s.length;o++){var c=s[o];if(c.kind===296){if(t){var L=e.skipParentheses(c.expression);if(e.isArrayLiteralExpression(L)||e.isObjectLiteralExpression(L))return sn(c.expression,e.Diagnostics.A_rest_element_cannot_contain_a_binding_pattern)}continue}var G=c.name;if(G.kind===161&&qb(G),c.kind===295&&!t&&c.objectAssignmentInitializer)return sn(c.equalsToken,e.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);if(G.kind===80&&sn(G,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),c.modifiers)for(var ce=0,we=c.modifiers;ce<we.length;ce++){var Ue=we[ce];(Ue.kind!==131||c.kind!==168)&&sn(Ue,e.Diagnostics._0_modifier_cannot_be_used_here,e.getTextOfNode(Ue))}var Je=void 0;switch(c.kind){case 295:bI(c.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context);case 294:yI(c.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional),G.kind===8&&wT(G),Je=4;break;case 168:Je=8;break;case 171:Je=1;break;case 172:Je=2;break;default:throw e.Debug.assertNever(c,\"Unexpected syntax kind:\"+c.kind)}if(!t){var ar=e.getPropertyNameForPropertyNameNode(G);if(ar===void 0)continue;var _r=i.get(ar);if(!_r)i.set(ar,Je);else if(Je&12&&_r&12)sn(G,e.Diagnostics.Duplicate_identifier_0,e.getTextOfNode(G));else if(Je&3&&_r&3)if(_r!==3&&Je!==_r)i.set(ar,Je|_r);else return sn(G,e.Diagnostics.An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name);else return sn(G,e.Diagnostics.An_object_literal_cannot_have_property_and_accessor_with_the_same_name)}}}function aF(r){iF(r.tagName),Hh(r,r.typeArguments);for(var t=new e.Map,i=0,o=r.attributes.properties;i<o.length;i++){var s=o[i];if(s.kind!==286){var c=s.name,L=s.initializer;if(!t.get(c.escapedText))t.set(c.escapedText,!0);else return sn(c,e.Diagnostics.JSX_elements_cannot_have_multiple_attributes_with_the_same_name);if(L&&L.kind===287&&!L.expression)return sn(L,e.Diagnostics.JSX_attributes_must_only_be_assigned_a_non_empty_expression)}}}function iF(r){if(e.isPropertyAccessExpression(r)){var t=r;do{var i=s(t.name);if(i)return i;t=t.expression}while(e.isPropertyAccessExpression(t));var o=s(t);if(o)return o}function s(c){if(e.isIdentifier(c)&&e.idText(c).indexOf(\":\")!==-1)return sn(c,e.Diagnostics.JSX_property_access_expressions_cannot_include_JSX_namespace_names)}}function oF(r){if(r.expression&&e.isCommaSequence(r.expression))return sn(r.expression,e.Diagnostics.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array)}function EI(r){if(df(r))return!0;if(r.kind===243&&r.awaitModifier&&!(r.flags&32768)){var t=e.getSourceFileOfNode(r);if(e.isInTopLevelContext(r))S_(t)||(e.isEffectiveExternalModule(t,Xe)||ua.add(e.createDiagnosticForNode(r.awaitModifier,e.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)),(Ae!==e.ModuleKind.ES2022&&Ae!==e.ModuleKind.ESNext&&Ae!==e.ModuleKind.System&&!(Ae===e.ModuleKind.NodeNext&&e.getSourceFileOfNode(r).impliedNodeFormat===e.ModuleKind.ESNext)||De<4)&&ua.add(e.createDiagnosticForNode(r.awaitModifier,e.Diagnostics.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher)));else if(!S_(t)){var i=e.createDiagnosticForNode(r.awaitModifier,e.Diagnostics.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules),o=e.getContainingFunction(r);if(o&&o.kind!==170){e.Debug.assert((e.getFunctionFlags(o)&2)===0,\"Enclosing function should never be an async function.\");var s=e.createDiagnosticForNode(o,e.Diagnostics.Did_you_mean_to_mark_this_function_as_async);e.addRelatedInfo(i,s)}return ua.add(i),!0}return!1}if(e.isForOfStatement(r)&&!(r.flags&32768)&&e.isIdentifier(r.initializer)&&r.initializer.escapedText===\"async\")return sn(r.initializer,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_async),!1;if(r.initializer.kind===254){var c=r.initializer;if(!RT(c)){var L=c.declarations;if(!L.length)return!1;if(L.length>1){var i=r.kind===242?e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return Gs(c.declarations[1],i)}var G=L[0];if(G.initializer){var i=r.kind===242?e.Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:e.Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return sn(G.name,i)}if(G.type){var i=r.kind===242?e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:e.Diagnostics.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation;return sn(G,i)}}}return!1}function sF(r){if(!(r.flags&8388608)&&r.parent.kind!==181&&r.parent.kind!==257){if(De<1)return sn(r.name,e.Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(De<2&&e.isPrivateIdentifier(r.name))return sn(r.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(r.body===void 0&&!e.hasSyntacticModifier(r,128))return gp(r,r.end-1,1,e.Diagnostics._0_expected,\"{\")}if(r.body){if(e.hasSyntacticModifier(r,128))return sn(r,e.Diagnostics.An_abstract_accessor_cannot_have_an_implementation);if(r.parent.kind===181||r.parent.kind===257)return sn(r.body,e.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts)}if(r.typeParameters)return sn(r.name,e.Diagnostics.An_accessor_cannot_have_type_parameters);if(!lF(r))return sn(r.name,r.kind===171?e.Diagnostics.A_get_accessor_cannot_have_parameters:e.Diagnostics.A_set_accessor_must_have_exactly_one_parameter);if(r.kind===172){if(r.type)return sn(r.name,e.Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation);var t=e.Debug.checkDefined(e.getSetAccessorValueParameter(r),\"Return value does not match parameter count assertion.\");if(t.dotDotDotToken)return sn(t.dotDotDotToken,e.Diagnostics.A_set_accessor_cannot_have_rest_parameter);if(t.questionToken)return sn(t.questionToken,e.Diagnostics.A_set_accessor_cannot_have_an_optional_parameter);if(t.initializer)return sn(r.name,e.Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer)}return!1}function lF(r){return OT(r)||r.parameters.length===(r.kind===171?0:1)}function OT(r){if(r.parameters.length===(r.kind===171?1:2))return e.getThisParameter(r)}function cF(r){if(r.operator===153){if(r.type.kind!==150)return sn(r.type,e.Diagnostics._0_expected,e.tokenToString(150));var t=e.walkUpParenthesizedTypes(r.parent);switch(e.isInJSFile(t)&&e.isJSDocTypeExpression(t)&&(t=t.parent,e.isJSDocTypeTag(t)&&(t=t.parent.parent)),t.kind){case 253:var i=t;if(i.name.kind!==79)return sn(r,e.Diagnostics.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);if(!e.isVariableDeclarationInVariableStatement(i))return sn(r,e.Diagnostics.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);if(!(i.parent.flags&2))return sn(t.name,e.Diagnostics.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);break;case 166:if(!e.isStatic(t)||!e.hasEffectiveReadonlyModifier(t))return sn(t.name,e.Diagnostics.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);break;case 165:if(!e.hasSyntacticModifier(t,64))return sn(t.name,e.Diagnostics.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly);break;default:return sn(r,e.Diagnostics.unique_symbol_types_are_not_allowed_here)}}else if(r.operator===144&&r.type.kind!==182&&r.type.kind!==183)return Gs(r,e.Diagnostics.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,e.tokenToString(150))}function Sg(r,t){if(IE(r))return sn(r,t)}function TI(r){if(zb(r))return!0;if(r.kind===168){if(r.parent.kind===204){if(r.modifiers&&!(r.modifiers.length===1&&e.first(r.modifiers).kind===131))return Gs(r,e.Diagnostics.Modifiers_cannot_appear_here);if(yI(r.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional))return!0;if(bI(r.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context))return!0;if(r.body===void 0)return gp(r,r.end-1,1,e.Diagnostics._0_expected,\"{\")}if(kT(r))return!0}if(e.isClassLike(r.parent)){if(De<2&&e.isPrivateIdentifier(r.name))return sn(r.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(r.flags&8388608)return Sg(r.name,e.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);if(r.kind===168&&!r.body)return Sg(r.name,e.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)}else{if(r.parent.kind===257)return Sg(r.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(r.parent.kind===181)return Sg(r.name,e.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)}}function uF(r){for(var t=r;t;){if(e.isFunctionLikeOrClassStaticBlockDeclaration(t))return sn(r,e.Diagnostics.Jump_target_cannot_cross_function_boundary);switch(t.kind){case 249:if(r.label&&t.label.escapedText===r.label.escapedText){var i=r.kind===244&&!e.isIterationStatement(t.statement,!0);return i?sn(r,e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement):!1}break;case 248:if(r.kind===245&&!r.label)return!1;break;default:if(e.isIterationStatement(t,!1)&&!r.label)return!1;break}t=t.parent}if(r.label){var o=r.kind===245?e.Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement;return sn(r,o)}else{var o=r.kind===245?e.Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:e.Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement;return sn(r,o)}}function fF(r){if(r.dotDotDotToken){var t=r.parent.elements;if(r!==e.last(t))return sn(r,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);if(K_(t,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),r.propertyName)return sn(r.name,e.Diagnostics.A_rest_element_cannot_have_a_property_name)}if(r.dotDotDotToken&&r.initializer)return gp(r,r.initializer.pos-1,1,e.Diagnostics.A_rest_element_cannot_have_an_initializer)}function SI(r){return e.isStringOrNumericLiteralLike(r)||r.kind===218&&r.operator===40&&r.operand.kind===8}function dF(r){return r.kind===9||r.kind===218&&r.operator===40&&r.operand.kind===9}function pF(r){if((e.isPropertyAccessExpression(r)||e.isElementAccessExpression(r)&&SI(r.argumentExpression))&&e.isEntityNameExpression(r.expression))return!!(Ss(r).flags&1024)}function DI(r){var t=r.initializer;if(t){var i=!(SI(t)||pF(t)||t.kind===110||t.kind===95||dF(t)),o=e.isDeclarationReadonly(r)||e.isVariableDeclaration(r)&&e.isVarConst(r);if(o&&!r.type){if(i)return sn(t,e.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference)}else return sn(t,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts);if(!o||i)return sn(t,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}function _F(r){if(r.parent.parent.kind!==242&&r.parent.parent.kind!==243){if(r.flags&8388608)DI(r);else if(!r.initializer){if(e.isBindingPattern(r.name)&&!e.isBindingPattern(r.parent))return sn(r,e.Diagnostics.A_destructuring_declaration_must_have_an_initializer);if(e.isVarConst(r))return sn(r,e.Diagnostics.const_declarations_must_be_initialized)}}if(r.exclamationToken&&(r.parent.parent.kind!==236||!r.type||r.initializer||r.flags&8388608)){var t=r.initializer?e.Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:r.type?e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context:e.Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return sn(r.exclamationToken,t)}(Ae<e.ModuleKind.ES2015||e.getSourceFileOfNode(r).impliedNodeFormat===e.ModuleKind.CommonJS)&&Ae!==e.ModuleKind.System&&!(r.parent.parent.flags&8388608)&&e.hasSyntacticModifier(r.parent.parent,1)&&LI(r.name);var i=e.isLet(r)||e.isVarConst(r);return i&&AI(r.name)}function LI(r){if(r.kind===79){if(e.idText(r)===\"__esModule\")return vF(\"noEmit\",r,e.Diagnostics.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules)}else for(var t=r.elements,i=0,o=t;i<o.length;i++){var s=o[i];if(!e.isOmittedExpression(s))return LI(s.name)}return!1}function AI(r){if(r.kind===79){if(r.originalKeywordKind===119)return sn(r,e.Diagnostics.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations)}else for(var t=r.elements,i=0,o=t;i<o.length;i++){var s=o[i];e.isOmittedExpression(s)||AI(s.name)}return!1}function RT(r){var t=r.declarations;return K_(r.declarations)?!0:r.declarations.length?!1:gp(r,t.pos,t.end-t.pos,e.Diagnostics.Variable_declaration_list_cannot_be_empty)}function CI(r){switch(r.kind){case 238:case 239:case 240:case 247:case 241:case 242:case 243:return!1;case 249:return CI(r.parent)}return!0}function mF(r){if(!CI(r.parent)){if(e.isLet(r.declarationList))return sn(r,e.Diagnostics.let_declarations_can_only_be_declared_inside_a_block);if(e.isVarConst(r.declarationList))return sn(r,e.Diagnostics.const_declarations_can_only_be_declared_inside_a_block)}}function gF(r){var t=r.name.escapedText;switch(r.keywordToken){case 103:if(t!==\"target\")return sn(r.name,e.Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,r.name.escapedText,e.tokenToString(r.keywordToken),\"target\");break;case 100:if(t!==\"meta\")return sn(r.name,e.Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,r.name.escapedText,e.tokenToString(r.keywordToken),\"meta\");break}}function S_(r){return r.parseDiagnostics.length>0}function Gs(r,t,i,o,s){var c=e.getSourceFileOfNode(r);if(!S_(c)){var L=e.getSpanOfTokenAtPosition(c,r.pos);return ua.add(e.createFileDiagnostic(c,L.start,L.length,t,i,o,s)),!0}return!1}function gp(r,t,i,o,s,c,L){var G=e.getSourceFileOfNode(r);return S_(G)?!1:(ua.add(e.createFileDiagnostic(G,t,i,o,s,c,L)),!0)}function vF(r,t,i,o,s,c){var L=e.getSourceFileOfNode(t);return S_(L)?!1:(Zl(r,t,i,o,s,c),!0)}function sn(r,t,i,o,s){var c=e.getSourceFileOfNode(r);return S_(c)?!1:(ua.add(e.createDiagnosticForNode(r,t,i,o,s)),!0)}function hF(r){var t=e.isInJSFile(r)?e.getJSDocTypeParameterDeclarations(r):void 0,i=r.typeParameters||t&&e.firstOrUndefined(t);if(i){var o=i.pos===i.end?i.pos:e.skipTrivia(e.getSourceFileOfNode(r).text,i.pos);return gp(r,o,i.end-o,e.Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration)}}function yF(r){var t=e.getEffectiveReturnTypeNode(r);if(t)return sn(t,e.Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration)}function bF(r){if(e.isComputedPropertyName(r.name)&&e.isBinaryExpression(r.name.expression)&&r.name.expression.operatorToken.kind===101)return sn(r.parent.members[0],e.Diagnostics.A_mapped_type_may_not_declare_properties_or_methods);if(e.isClassLike(r.parent)){if(e.isStringLiteral(r.name)&&r.name.text===\"constructor\")return sn(r.name,e.Diagnostics.Classes_may_not_have_a_field_named_constructor);if(Sg(r.name,e.Diagnostics.A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type))return!0;if(De<2&&e.isPrivateIdentifier(r.name))return sn(r.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}else if(r.parent.kind===257){if(Sg(r.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(r.initializer)return sn(r.initializer,e.Diagnostics.An_interface_property_cannot_have_an_initializer)}else if(e.isTypeLiteralNode(r.parent)){if(Sg(r.name,e.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))return!0;if(r.initializer)return sn(r.initializer,e.Diagnostics.A_type_literal_property_cannot_have_an_initializer)}if(r.flags&8388608&&DI(r),e.isPropertyDeclaration(r)&&r.exclamationToken&&(!e.isClassLike(r.parent)||!r.type||r.initializer||r.flags&8388608||e.isStatic(r)||e.hasAbstractModifier(r))){var t=r.initializer?e.Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:r.type?e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context:e.Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return sn(r.exclamationToken,t)}}function EF(r){return r.kind===257||r.kind===258||r.kind===265||r.kind===264||r.kind===271||r.kind===270||r.kind===263||e.hasSyntacticModifier(r,515)?!1:Gs(r,e.Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function TF(r){for(var t=0,i=r.statements;t<i.length;t++){var o=i[t];if((e.isDeclaration(o)||o.kind===236)&&EF(o))return!0}return!1}function SF(r){return!!(r.flags&8388608)&&TF(r)}function df(r){if(r.flags&8388608){var t=Zn(r);if(!t.hasReportedStatementInAmbientContext&&(e.isFunctionLike(r.parent)||e.isAccessor(r.parent)))return Zn(r).hasReportedStatementInAmbientContext=Gs(r,e.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts);if(r.parent.kind===234||r.parent.kind===261||r.parent.kind===303){var i=Zn(r.parent);if(!i.hasReportedStatementInAmbientContext)return i.hasReportedStatementInAmbientContext=Gs(r,e.Diagnostics.Statements_are_not_allowed_in_ambient_contexts)}}return!1}function wT(r){if(r.numericLiteralFlags&32){var t=void 0;if(De>=1?t=e.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:e.isChildOfNodeWithKind(r,195)?t=e.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:e.isChildOfNodeWithKind(r,297)&&(t=e.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0),t){var i=e.isPrefixUnaryExpression(r.parent)&&r.parent.operator===40,o=(i?\"-\":\"\")+\"0o\"+r.text;return sn(i?r.parent:r,t,o)}}return DF(r),!1}function DF(r){if(!(r.numericLiteralFlags&16||r.text.length<=15||r.text.indexOf(\".\")!==-1)){var t=+e.getTextOfNode(r);t<=Math.pow(2,53)-1&&t+1>t||$l(!1,e.createDiagnosticForNode(r,e.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}}function LF(r){var t=e.isLiteralTypeNode(r.parent)||e.isPrefixUnaryExpression(r.parent)&&e.isLiteralTypeNode(r.parent.parent);return!!(!t&&De<7&&sn(r,e.Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020))}function AF(r,t,i,o,s){var c=e.getSourceFileOfNode(r);if(!S_(c)){var L=e.getSpanOfTokenAtPosition(c,r.pos);return ua.add(e.createFileDiagnostic(c,e.textSpanEnd(L),0,t,i,o,s)),!0}return!1}function CF(){return hr||(hr=[],Pr.forEach(function(r,t){n.test(t)&&hr.push(r)})),hr}function xF(r){var t;return r.isTypeOnly&&r.name&&r.namedBindings?sn(r,e.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both):r.isTypeOnly&&((t=r.namedBindings)===null||t===void 0?void 0:t.kind)===268?xI(r.namedBindings):!1}function xI(r){return!!e.forEach(r.elements,function(t){if(t.isTypeOnly)return Gs(t,t.kind===269?e.Diagnostics.The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:e.Diagnostics.The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement)})}function IF(r){if(Ae===e.ModuleKind.ES2015)return sn(r,e.Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node12_or_nodenext);if(r.typeArguments)return sn(r,e.Diagnostics.Dynamic_import_cannot_have_type_arguments);var t=r.arguments;if(Ae!==e.ModuleKind.ESNext&&(K_(t),t.length>1)){var i=t[1];return sn(i,e.Diagnostics.Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext)}if(t.length===0||t.length>2)return sn(r,e.Diagnostics.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments);var o=e.find(t,e.isSpreadElement);return o?sn(o,e.Diagnostics.Argument_of_dynamic_import_cannot_be_spread_element):!1}function NF(r,t){var i=e.getObjectFlags(r);if(i&20&&t.flags&1048576)return e.find(t.types,function(o){if(o.flags&524288){var s=i&e.getObjectFlags(o);if(s&4)return r.target===o.target;if(s&16)return!!r.aliasSymbol&&r.aliasSymbol===o.aliasSymbol}return!1})}function kF(r,t){if(e.getObjectFlags(r)&128&&hm(t,_p))return e.find(t.types,function(i){return!_p(i)})}function OF(r,t){var i=0,o=Ni(r,i).length>0||(i=1,Ni(r,i).length>0);if(o)return e.find(t.types,function(s){return Ni(s,i).length>0})}function RF(r,t){for(var i,o=0,s=0,c=t.types;s<c.length;s++){var L=c[s],G=To([qu(r),qu(L)]);if(G.flags&4194304)i=L,o=1/0;else if(G.flags&1048576){var ce=e.length(e.filter(G.types,Su));ce>=o&&(i=L,o=ce)}else Su(G)&&1>=o&&(i=L,o=1)}return i}function wF(r){if(Jo(r,67108864)){var t=rl(r,function(i){return!(i.flags&131068)});if(!(t.flags&131072))return t}return r}function II(r,t,i,o){if(t.flags&1048576&&r.flags&2621440){var s=sA(t,r);if(s)return s;var c=Yi(r);if(c){var L=oA(c,t);if(L)return w0(t,e.map(L,function(G){return[function(){return An(G)},G.escapedName]}),i,void 0,o)}}}}e.createTypeChecker=C;function m(j){return!e.isAccessor(j)}function u(j){return j.kind!==255&&j.kind!==168||!!j.body}function g(j){switch(j.parent.kind){case 269:case 274:return e.isIdentifier(j);default:return e.isDeclarationName(j)}}var P;(function(j){j.JSX=\"JSX\",j.IntrinsicElements=\"IntrinsicElements\",j.ElementClass=\"ElementClass\",j.ElementAttributesPropertyNameContainer=\"ElementAttributesProperty\",j.ElementChildrenAttributeNameContainer=\"ElementChildrenAttribute\",j.Element=\"Element\",j.IntrinsicAttributes=\"IntrinsicAttributes\",j.IntrinsicClassAttributes=\"IntrinsicClassAttributes\",j.LibraryManagedAttributes=\"LibraryManagedAttributes\"})(P||(P={}));function te(j){switch(j){case 0:return\"yieldType\";case 1:return\"returnType\";case 2:return\"nextType\"}}function ue(j){return!!(j.flags&1)}e.signatureHasRestParameter=ue;function X(j){return!!(j.flags&2)}e.signatureHasLiteralTypes=X}(jr||(jr={})),function(e){function n(b,M,S,B){if(b===void 0||M===void 0)return b;var H=M(b);if(H===b)return b;var I;if(H!==void 0)return e.isArray(H)?I=(B||ie)(H):I=H,e.Debug.assertNode(I,S),I}e.visitNode=n;function f(b,M,S,B,H){if(b===void 0||M===void 0)return b;var I,w=b.length;(B===void 0||B<0)&&(B=0),(H===void 0||H>w-B)&&(H=w-B);var x,O=-1,q=-1;(B>0||H<w)&&(I=[],x=b.hasTrailingComma&&B+H===w);for(var Z=0;Z<H;Z++){var ne=b[Z+B],F=ne!==void 0?M(ne):void 0;if((I!==void 0||F===void 0||F!==ne)&&(I===void 0&&(I=b.slice(0,Z),x=b.hasTrailingComma,O=b.pos,q=b.end),F))if(e.isArray(F))for(var Q=0,V=F;Q<V.length;Q++){var re=V[Q];e.Debug.assertNode(re,S),I.push(re)}else e.Debug.assertNode(F,S),I.push(F)}if(I){var T=e.factory.createNodeArray(I,x);return e.setTextRangePosEnd(T,O,q),T}return b}e.visitNodes=f;function p(b,M,S,B,H,I){return I===void 0&&(I=f),S.startLexicalEnvironment(),b=I(b,M,e.isStatement,B),H&&(b=S.factory.ensureUseStrict(b)),e.factory.mergeLexicalEnvironment(b,S.endLexicalEnvironment())}e.visitLexicalEnvironment=p;function a(b,M,S,B){B===void 0&&(B=f);var H;return S.startLexicalEnvironment(),b&&(S.setLexicalEnvironmentFlags(1,!0),H=B(b,M,e.isParameterDeclaration),S.getLexicalEnvironmentFlags()&2&&e.getEmitScriptTarget(S.getCompilerOptions())>=2&&(H=d(H,S)),S.setLexicalEnvironmentFlags(1,!1)),S.suspendLexicalEnvironment(),H}e.visitParameterList=a;function d(b,M){for(var S,B=0;B<b.length;B++){var H=b[B],I=k(H,M);(S||I!==H)&&(S||(S=b.slice(0,B)),S[B]=I)}return S?e.setTextRange(M.factory.createNodeArray(S,b.hasTrailingComma),b):b}function k(b,M){return b.dotDotDotToken?b:e.isBindingPattern(b.name)?J(b,M):b.initializer?h(b,b.name,b.initializer,M):b}function J(b,M){var S=M.factory;return M.addInitializationStatement(S.createVariableStatement(void 0,S.createVariableDeclarationList([S.createVariableDeclaration(b.name,void 0,b.type,b.initializer?S.createConditionalExpression(S.createStrictEquality(S.getGeneratedNameForNode(b),S.createVoidZero()),void 0,b.initializer,void 0,S.getGeneratedNameForNode(b)):S.getGeneratedNameForNode(b))]))),S.updateParameterDeclaration(b,b.decorators,b.modifiers,b.dotDotDotToken,S.getGeneratedNameForNode(b),b.questionToken,b.type,void 0)}function h(b,M,S,B){var H=B.factory;return B.addInitializationStatement(H.createIfStatement(H.createTypeCheck(H.cloneNode(M),\"undefined\"),e.setEmitFlags(e.setTextRange(H.createBlock([H.createExpressionStatement(e.setEmitFlags(e.setTextRange(H.createAssignment(e.setEmitFlags(H.cloneNode(M),48),e.setEmitFlags(S,48|e.getEmitFlags(S)|1536)),b),1536))]),b),1953))),H.updateParameterDeclaration(b,b.decorators,b.modifiers,b.dotDotDotToken,b.name,b.questionToken,b.type,void 0)}function v(b,M,S,B){B===void 0&&(B=n),S.resumeLexicalEnvironment();var H=B(b,M,e.isConciseBody),I=S.endLexicalEnvironment();if(e.some(I)){if(!H)return S.factory.createBlock(I);var w=S.factory.converters.convertToFunctionBlock(H),x=e.factory.mergeLexicalEnvironment(w.statements,I);return S.factory.updateBlock(w,x)}return H}e.visitFunctionBody=v;function A(b,M,S){S.startBlockScope();var B=n(b,M,e.isStatement,S.factory.liftToBlock),H=S.endBlockScope();return e.some(H)?e.isBlock(B)?(H.push.apply(H,B.statements),S.factory.updateBlock(B,H)):(H.push(B),S.factory.createBlock(H)):B}e.visitIterationBody=A;function z(b,M,S,B,H,I){if(B===void 0&&(B=f),I===void 0&&(I=n),b!==void 0){var w=b.kind;if(w>0&&w<=159||w===191)return b;var x=S.factory;switch(w){case 79:return e.Debug.type(b),x.updateIdentifier(b,B(b.typeArguments,M,e.isTypeNodeOrTypeParameterDeclaration));case 160:return e.Debug.type(b),x.updateQualifiedName(b,I(b.left,M,e.isEntityName),I(b.right,M,e.isIdentifier));case 161:return e.Debug.type(b),x.updateComputedPropertyName(b,I(b.expression,M,e.isExpression));case 162:return e.Debug.type(b),x.updateTypeParameterDeclaration(b,I(b.name,M,e.isIdentifier),I(b.constraint,M,e.isTypeNode),I(b.default,M,e.isTypeNode));case 163:return e.Debug.type(b),x.updateParameterDeclaration(b,B(b.decorators,M,e.isDecorator),B(b.modifiers,M,e.isModifier),I(b.dotDotDotToken,H,e.isDotDotDotToken),I(b.name,M,e.isBindingName),I(b.questionToken,H,e.isQuestionToken),I(b.type,M,e.isTypeNode),I(b.initializer,M,e.isExpression));case 164:return e.Debug.type(b),x.updateDecorator(b,I(b.expression,M,e.isExpression));case 165:return e.Debug.type(b),x.updatePropertySignature(b,B(b.modifiers,M,e.isModifier),I(b.name,M,e.isPropertyName),I(b.questionToken,H,e.isToken),I(b.type,M,e.isTypeNode));case 166:return e.Debug.type(b),x.updatePropertyDeclaration(b,B(b.decorators,M,e.isDecorator),B(b.modifiers,M,e.isModifier),I(b.name,M,e.isPropertyName),I(b.questionToken||b.exclamationToken,H,e.isQuestionOrExclamationToken),I(b.type,M,e.isTypeNode),I(b.initializer,M,e.isExpression));case 167:return e.Debug.type(b),x.updateMethodSignature(b,B(b.modifiers,M,e.isModifier),I(b.name,M,e.isPropertyName),I(b.questionToken,H,e.isQuestionToken),B(b.typeParameters,M,e.isTypeParameterDeclaration),B(b.parameters,M,e.isParameterDeclaration),I(b.type,M,e.isTypeNode));case 168:return e.Debug.type(b),x.updateMethodDeclaration(b,B(b.decorators,M,e.isDecorator),B(b.modifiers,M,e.isModifier),I(b.asteriskToken,H,e.isAsteriskToken),I(b.name,M,e.isPropertyName),I(b.questionToken,H,e.isQuestionToken),B(b.typeParameters,M,e.isTypeParameterDeclaration),a(b.parameters,M,S,B),I(b.type,M,e.isTypeNode),v(b.body,M,S,I));case 170:return e.Debug.type(b),x.updateConstructorDeclaration(b,B(b.decorators,M,e.isDecorator),B(b.modifiers,M,e.isModifier),a(b.parameters,M,S,B),v(b.body,M,S,I));case 171:return e.Debug.type(b),x.updateGetAccessorDeclaration(b,B(b.decorators,M,e.isDecorator),B(b.modifiers,M,e.isModifier),I(b.name,M,e.isPropertyName),a(b.parameters,M,S,B),I(b.type,M,e.isTypeNode),v(b.body,M,S,I));case 172:return e.Debug.type(b),x.updateSetAccessorDeclaration(b,B(b.decorators,M,e.isDecorator),B(b.modifiers,M,e.isModifier),I(b.name,M,e.isPropertyName),a(b.parameters,M,S,B),v(b.body,M,S,I));case 169:return e.Debug.type(b),S.startLexicalEnvironment(),S.suspendLexicalEnvironment(),x.updateClassStaticBlockDeclaration(b,B(b.decorators,M,e.isDecorator),B(b.modifiers,M,e.isModifier),v(b.body,M,S,I));case 173:return e.Debug.type(b),x.updateCallSignature(b,B(b.typeParameters,M,e.isTypeParameterDeclaration),B(b.parameters,M,e.isParameterDeclaration),I(b.type,M,e.isTypeNode));case 174:return e.Debug.type(b),x.updateConstructSignature(b,B(b.typeParameters,M,e.isTypeParameterDeclaration),B(b.parameters,M,e.isParameterDeclaration),I(b.type,M,e.isTypeNode));case 175:return e.Debug.type(b),x.updateIndexSignature(b,B(b.decorators,M,e.isDecorator),B(b.modifiers,M,e.isModifier),B(b.parameters,M,e.isParameterDeclaration),I(b.type,M,e.isTypeNode));case 176:return e.Debug.type(b),x.updateTypePredicateNode(b,I(b.assertsModifier,M,e.isAssertsKeyword),I(b.parameterName,M,e.isIdentifierOrThisTypeNode),I(b.type,M,e.isTypeNode));case 177:return e.Debug.type(b),x.updateTypeReferenceNode(b,I(b.typeName,M,e.isEntityName),B(b.typeArguments,M,e.isTypeNode));case 178:return e.Debug.type(b),x.updateFunctionTypeNode(b,B(b.typeParameters,M,e.isTypeParameterDeclaration),B(b.parameters,M,e.isParameterDeclaration),I(b.type,M,e.isTypeNode));case 179:return e.Debug.type(b),x.updateConstructorTypeNode(b,B(b.modifiers,M,e.isModifier),B(b.typeParameters,M,e.isTypeParameterDeclaration),B(b.parameters,M,e.isParameterDeclaration),I(b.type,M,e.isTypeNode));case 180:return e.Debug.type(b),x.updateTypeQueryNode(b,I(b.exprName,M,e.isEntityName));case 181:return e.Debug.type(b),x.updateTypeLiteralNode(b,B(b.members,M,e.isTypeElement));case 182:return e.Debug.type(b),x.updateArrayTypeNode(b,I(b.elementType,M,e.isTypeNode));case 183:return e.Debug.type(b),x.updateTupleTypeNode(b,B(b.elements,M,e.isTypeNode));case 184:return e.Debug.type(b),x.updateOptionalTypeNode(b,I(b.type,M,e.isTypeNode));case 185:return e.Debug.type(b),x.updateRestTypeNode(b,I(b.type,M,e.isTypeNode));case 186:return e.Debug.type(b),x.updateUnionTypeNode(b,B(b.types,M,e.isTypeNode));case 187:return e.Debug.type(b),x.updateIntersectionTypeNode(b,B(b.types,M,e.isTypeNode));case 188:return e.Debug.type(b),x.updateConditionalTypeNode(b,I(b.checkType,M,e.isTypeNode),I(b.extendsType,M,e.isTypeNode),I(b.trueType,M,e.isTypeNode),I(b.falseType,M,e.isTypeNode));case 189:return e.Debug.type(b),x.updateInferTypeNode(b,I(b.typeParameter,M,e.isTypeParameterDeclaration));case 199:return e.Debug.type(b),x.updateImportTypeNode(b,I(b.argument,M,e.isTypeNode),I(b.qualifier,M,e.isEntityName),f(b.typeArguments,M,e.isTypeNode),b.isTypeOf);case 196:return e.Debug.type(b),x.updateNamedTupleMember(b,n(b.dotDotDotToken,M,e.isDotDotDotToken),n(b.name,M,e.isIdentifier),n(b.questionToken,M,e.isQuestionToken),n(b.type,M,e.isTypeNode));case 190:return e.Debug.type(b),x.updateParenthesizedType(b,I(b.type,M,e.isTypeNode));case 192:return e.Debug.type(b),x.updateTypeOperatorNode(b,I(b.type,M,e.isTypeNode));case 193:return e.Debug.type(b),x.updateIndexedAccessTypeNode(b,I(b.objectType,M,e.isTypeNode),I(b.indexType,M,e.isTypeNode));case 194:return e.Debug.type(b),x.updateMappedTypeNode(b,I(b.readonlyToken,H,e.isReadonlyKeywordOrPlusOrMinusToken),I(b.typeParameter,M,e.isTypeParameterDeclaration),I(b.nameType,M,e.isTypeNode),I(b.questionToken,H,e.isQuestionOrPlusOrMinusToken),I(b.type,M,e.isTypeNode),B(b.members,M,e.isTypeElement));case 195:return e.Debug.type(b),x.updateLiteralTypeNode(b,I(b.literal,M,e.isExpression));case 197:return e.Debug.type(b),x.updateTemplateLiteralType(b,I(b.head,M,e.isTemplateHead),B(b.templateSpans,M,e.isTemplateLiteralTypeSpan));case 198:return e.Debug.type(b),x.updateTemplateLiteralTypeSpan(b,I(b.type,M,e.isTypeNode),I(b.literal,M,e.isTemplateMiddleOrTemplateTail));case 200:return e.Debug.type(b),x.updateObjectBindingPattern(b,B(b.elements,M,e.isBindingElement));case 201:return e.Debug.type(b),x.updateArrayBindingPattern(b,B(b.elements,M,e.isArrayBindingElement));case 202:return e.Debug.type(b),x.updateBindingElement(b,I(b.dotDotDotToken,H,e.isDotDotDotToken),I(b.propertyName,M,e.isPropertyName),I(b.name,M,e.isBindingName),I(b.initializer,M,e.isExpression));case 203:return e.Debug.type(b),x.updateArrayLiteralExpression(b,B(b.elements,M,e.isExpression));case 204:return e.Debug.type(b),x.updateObjectLiteralExpression(b,B(b.properties,M,e.isObjectLiteralElementLike));case 205:return b.flags&32?(e.Debug.type(b),x.updatePropertyAccessChain(b,I(b.expression,M,e.isExpression),I(b.questionDotToken,H,e.isQuestionDotToken),I(b.name,M,e.isMemberName))):(e.Debug.type(b),x.updatePropertyAccessExpression(b,I(b.expression,M,e.isExpression),I(b.name,M,e.isMemberName)));case 206:return b.flags&32?(e.Debug.type(b),x.updateElementAccessChain(b,I(b.expression,M,e.isExpression),I(b.questionDotToken,H,e.isQuestionDotToken),I(b.argumentExpression,M,e.isExpression))):(e.Debug.type(b),x.updateElementAccessExpression(b,I(b.expression,M,e.isExpression),I(b.argumentExpression,M,e.isExpression)));case 207:return b.flags&32?(e.Debug.type(b),x.updateCallChain(b,I(b.expression,M,e.isExpression),I(b.questionDotToken,H,e.isQuestionDotToken),B(b.typeArguments,M,e.isTypeNode),B(b.arguments,M,e.isExpression))):(e.Debug.type(b),x.updateCallExpression(b,I(b.expression,M,e.isExpression),B(b.typeArguments,M,e.isTypeNode),B(b.arguments,M,e.isExpression)));case 208:return e.Debug.type(b),x.updateNewExpression(b,I(b.expression,M,e.isExpression),B(b.typeArguments,M,e.isTypeNode),B(b.arguments,M,e.isExpression));case 209:return e.Debug.type(b),x.updateTaggedTemplateExpression(b,I(b.tag,M,e.isExpression),f(b.typeArguments,M,e.isTypeNode),I(b.template,M,e.isTemplateLiteral));case 210:return e.Debug.type(b),x.updateTypeAssertion(b,I(b.type,M,e.isTypeNode),I(b.expression,M,e.isExpression));case 211:return e.Debug.type(b),x.updateParenthesizedExpression(b,I(b.expression,M,e.isExpression));case 212:return e.Debug.type(b),x.updateFunctionExpression(b,B(b.modifiers,M,e.isModifier),I(b.asteriskToken,H,e.isAsteriskToken),I(b.name,M,e.isIdentifier),B(b.typeParameters,M,e.isTypeParameterDeclaration),a(b.parameters,M,S,B),I(b.type,M,e.isTypeNode),v(b.body,M,S,I));case 213:return e.Debug.type(b),x.updateArrowFunction(b,B(b.modifiers,M,e.isModifier),B(b.typeParameters,M,e.isTypeParameterDeclaration),a(b.parameters,M,S,B),I(b.type,M,e.isTypeNode),I(b.equalsGreaterThanToken,H,e.isEqualsGreaterThanToken),v(b.body,M,S,I));case 214:return e.Debug.type(b),x.updateDeleteExpression(b,I(b.expression,M,e.isExpression));case 215:return e.Debug.type(b),x.updateTypeOfExpression(b,I(b.expression,M,e.isExpression));case 216:return e.Debug.type(b),x.updateVoidExpression(b,I(b.expression,M,e.isExpression));case 217:return e.Debug.type(b),x.updateAwaitExpression(b,I(b.expression,M,e.isExpression));case 218:return e.Debug.type(b),x.updatePrefixUnaryExpression(b,I(b.operand,M,e.isExpression));case 219:return e.Debug.type(b),x.updatePostfixUnaryExpression(b,I(b.operand,M,e.isExpression));case 220:return e.Debug.type(b),x.updateBinaryExpression(b,I(b.left,M,e.isExpression),I(b.operatorToken,H,e.isBinaryOperatorToken),I(b.right,M,e.isExpression));case 221:return e.Debug.type(b),x.updateConditionalExpression(b,I(b.condition,M,e.isExpression),I(b.questionToken,H,e.isQuestionToken),I(b.whenTrue,M,e.isExpression),I(b.colonToken,H,e.isColonToken),I(b.whenFalse,M,e.isExpression));case 222:return e.Debug.type(b),x.updateTemplateExpression(b,I(b.head,M,e.isTemplateHead),B(b.templateSpans,M,e.isTemplateSpan));case 223:return e.Debug.type(b),x.updateYieldExpression(b,I(b.asteriskToken,H,e.isAsteriskToken),I(b.expression,M,e.isExpression));case 224:return e.Debug.type(b),x.updateSpreadElement(b,I(b.expression,M,e.isExpression));case 225:return e.Debug.type(b),x.updateClassExpression(b,B(b.decorators,M,e.isDecorator),B(b.modifiers,M,e.isModifier),I(b.name,M,e.isIdentifier),B(b.typeParameters,M,e.isTypeParameterDeclaration),B(b.heritageClauses,M,e.isHeritageClause),B(b.members,M,e.isClassElement));case 227:return e.Debug.type(b),x.updateExpressionWithTypeArguments(b,I(b.expression,M,e.isExpression),B(b.typeArguments,M,e.isTypeNode));case 228:return e.Debug.type(b),x.updateAsExpression(b,I(b.expression,M,e.isExpression),I(b.type,M,e.isTypeNode));case 229:return b.flags&32?(e.Debug.type(b),x.updateNonNullChain(b,I(b.expression,M,e.isExpression))):(e.Debug.type(b),x.updateNonNullExpression(b,I(b.expression,M,e.isExpression)));case 230:return e.Debug.type(b),x.updateMetaProperty(b,I(b.name,M,e.isIdentifier));case 232:return e.Debug.type(b),x.updateTemplateSpan(b,I(b.expression,M,e.isExpression),I(b.literal,M,e.isTemplateMiddleOrTemplateTail));case 234:return e.Debug.type(b),x.updateBlock(b,B(b.statements,M,e.isStatement));case 236:return e.Debug.type(b),x.updateVariableStatement(b,B(b.modifiers,M,e.isModifier),I(b.declarationList,M,e.isVariableDeclarationList));case 237:return e.Debug.type(b),x.updateExpressionStatement(b,I(b.expression,M,e.isExpression));case 238:return e.Debug.type(b),x.updateIfStatement(b,I(b.expression,M,e.isExpression),I(b.thenStatement,M,e.isStatement,x.liftToBlock),I(b.elseStatement,M,e.isStatement,x.liftToBlock));case 239:return e.Debug.type(b),x.updateDoStatement(b,A(b.statement,M,S),I(b.expression,M,e.isExpression));case 240:return e.Debug.type(b),x.updateWhileStatement(b,I(b.expression,M,e.isExpression),A(b.statement,M,S));case 241:return e.Debug.type(b),x.updateForStatement(b,I(b.initializer,M,e.isForInitializer),I(b.condition,M,e.isExpression),I(b.incrementor,M,e.isExpression),A(b.statement,M,S));case 242:return e.Debug.type(b),x.updateForInStatement(b,I(b.initializer,M,e.isForInitializer),I(b.expression,M,e.isExpression),A(b.statement,M,S));case 243:return e.Debug.type(b),x.updateForOfStatement(b,I(b.awaitModifier,H,e.isAwaitKeyword),I(b.initializer,M,e.isForInitializer),I(b.expression,M,e.isExpression),A(b.statement,M,S));case 244:return e.Debug.type(b),x.updateContinueStatement(b,I(b.label,M,e.isIdentifier));case 245:return e.Debug.type(b),x.updateBreakStatement(b,I(b.label,M,e.isIdentifier));case 246:return e.Debug.type(b),x.updateReturnStatement(b,I(b.expression,M,e.isExpression));case 247:return e.Debug.type(b),x.updateWithStatement(b,I(b.expression,M,e.isExpression),I(b.statement,M,e.isStatement,x.liftToBlock));case 248:return e.Debug.type(b),x.updateSwitchStatement(b,I(b.expression,M,e.isExpression),I(b.caseBlock,M,e.isCaseBlock));case 249:return e.Debug.type(b),x.updateLabeledStatement(b,I(b.label,M,e.isIdentifier),I(b.statement,M,e.isStatement,x.liftToBlock));case 250:return e.Debug.type(b),x.updateThrowStatement(b,I(b.expression,M,e.isExpression));case 251:return e.Debug.type(b),x.updateTryStatement(b,I(b.tryBlock,M,e.isBlock),I(b.catchClause,M,e.isCatchClause),I(b.finallyBlock,M,e.isBlock));case 253:return e.Debug.type(b),x.updateVariableDeclaration(b,I(b.name,M,e.isBindingName),I(b.exclamationToken,H,e.isExclamationToken),I(b.type,M,e.isTypeNode),I(b.initializer,M,e.isExpression));case 254:return e.Debug.type(b),x.updateVariableDeclarationList(b,B(b.declarations,M,e.isVariableDeclaration));case 255:return e.Debug.type(b),x.updateFunctionDeclaration(b,B(b.decorators,M,e.isDecorator),B(b.modifiers,M,e.isModifier),I(b.asteriskToken,H,e.isAsteriskToken),I(b.name,M,e.isIdentifier),B(b.typeParameters,M,e.isTypeParameterDeclaration),a(b.parameters,M,S,B),I(b.type,M,e.isTypeNode),v(b.body,M,S,I));case 256:return e.Debug.type(b),x.updateClassDeclaration(b,B(b.decorators,M,e.isDecorator),B(b.modifiers,M,e.isModifier),I(b.name,M,e.isIdentifier),B(b.typeParameters,M,e.isTypeParameterDeclaration),B(b.heritageClauses,M,e.isHeritageClause),B(b.members,M,e.isClassElement));case 257:return e.Debug.type(b),x.updateInterfaceDeclaration(b,B(b.decorators,M,e.isDecorator),B(b.modifiers,M,e.isModifier),I(b.name,M,e.isIdentifier),B(b.typeParameters,M,e.isTypeParameterDeclaration),B(b.heritageClauses,M,e.isHeritageClause),B(b.members,M,e.isTypeElement));case 258:return e.Debug.type(b),x.updateTypeAliasDeclaration(b,B(b.decorators,M,e.isDecorator),B(b.modifiers,M,e.isModifier),I(b.name,M,e.isIdentifier),B(b.typeParameters,M,e.isTypeParameterDeclaration),I(b.type,M,e.isTypeNode));case 259:return e.Debug.type(b),x.updateEnumDeclaration(b,B(b.decorators,M,e.isDecorator),B(b.modifiers,M,e.isModifier),I(b.name,M,e.isIdentifier),B(b.members,M,e.isEnumMember));case 260:return e.Debug.type(b),x.updateModuleDeclaration(b,B(b.decorators,M,e.isDecorator),B(b.modifiers,M,e.isModifier),I(b.name,M,e.isModuleName),I(b.body,M,e.isModuleBody));case 261:return e.Debug.type(b),x.updateModuleBlock(b,B(b.statements,M,e.isStatement));case 262:return e.Debug.type(b),x.updateCaseBlock(b,B(b.clauses,M,e.isCaseOrDefaultClause));case 263:return e.Debug.type(b),x.updateNamespaceExportDeclaration(b,I(b.name,M,e.isIdentifier));case 264:return e.Debug.type(b),x.updateImportEqualsDeclaration(b,B(b.decorators,M,e.isDecorator),B(b.modifiers,M,e.isModifier),b.isTypeOnly,I(b.name,M,e.isIdentifier),I(b.moduleReference,M,e.isModuleReference));case 265:return e.Debug.type(b),x.updateImportDeclaration(b,B(b.decorators,M,e.isDecorator),B(b.modifiers,M,e.isModifier),I(b.importClause,M,e.isImportClause),I(b.moduleSpecifier,M,e.isExpression),I(b.assertClause,M,e.isAssertClause));case 292:return e.Debug.type(b),x.updateAssertClause(b,B(b.elements,M,e.isAssertEntry),b.multiLine);case 293:return e.Debug.type(b),x.updateAssertEntry(b,I(b.name,M,e.isAssertionKey),I(b.value,M,e.isStringLiteral));case 266:return e.Debug.type(b),x.updateImportClause(b,b.isTypeOnly,I(b.name,M,e.isIdentifier),I(b.namedBindings,M,e.isNamedImportBindings));case 267:return e.Debug.type(b),x.updateNamespaceImport(b,I(b.name,M,e.isIdentifier));case 273:return e.Debug.type(b),x.updateNamespaceExport(b,I(b.name,M,e.isIdentifier));case 268:return e.Debug.type(b),x.updateNamedImports(b,B(b.elements,M,e.isImportSpecifier));case 269:return e.Debug.type(b),x.updateImportSpecifier(b,b.isTypeOnly,I(b.propertyName,M,e.isIdentifier),I(b.name,M,e.isIdentifier));case 270:return e.Debug.type(b),x.updateExportAssignment(b,B(b.decorators,M,e.isDecorator),B(b.modifiers,M,e.isModifier),I(b.expression,M,e.isExpression));case 271:return e.Debug.type(b),x.updateExportDeclaration(b,B(b.decorators,M,e.isDecorator),B(b.modifiers,M,e.isModifier),b.isTypeOnly,I(b.exportClause,M,e.isNamedExportBindings),I(b.moduleSpecifier,M,e.isExpression),I(b.assertClause,M,e.isAssertClause));case 272:return e.Debug.type(b),x.updateNamedExports(b,B(b.elements,M,e.isExportSpecifier));case 274:return e.Debug.type(b),x.updateExportSpecifier(b,b.isTypeOnly,I(b.propertyName,M,e.isIdentifier),I(b.name,M,e.isIdentifier));case 276:return e.Debug.type(b),x.updateExternalModuleReference(b,I(b.expression,M,e.isExpression));case 277:return e.Debug.type(b),x.updateJsxElement(b,I(b.openingElement,M,e.isJsxOpeningElement),B(b.children,M,e.isJsxChild),I(b.closingElement,M,e.isJsxClosingElement));case 278:return e.Debug.type(b),x.updateJsxSelfClosingElement(b,I(b.tagName,M,e.isJsxTagNameExpression),B(b.typeArguments,M,e.isTypeNode),I(b.attributes,M,e.isJsxAttributes));case 279:return e.Debug.type(b),x.updateJsxOpeningElement(b,I(b.tagName,M,e.isJsxTagNameExpression),B(b.typeArguments,M,e.isTypeNode),I(b.attributes,M,e.isJsxAttributes));case 280:return e.Debug.type(b),x.updateJsxClosingElement(b,I(b.tagName,M,e.isJsxTagNameExpression));case 281:return e.Debug.type(b),x.updateJsxFragment(b,I(b.openingFragment,M,e.isJsxOpeningFragment),B(b.children,M,e.isJsxChild),I(b.closingFragment,M,e.isJsxClosingFragment));case 284:return e.Debug.type(b),x.updateJsxAttribute(b,I(b.name,M,e.isIdentifier),I(b.initializer,M,e.isStringLiteralOrJsxExpression));case 285:return e.Debug.type(b),x.updateJsxAttributes(b,B(b.properties,M,e.isJsxAttributeLike));case 286:return e.Debug.type(b),x.updateJsxSpreadAttribute(b,I(b.expression,M,e.isExpression));case 287:return e.Debug.type(b),x.updateJsxExpression(b,I(b.expression,M,e.isExpression));case 288:return e.Debug.type(b),x.updateCaseClause(b,I(b.expression,M,e.isExpression),B(b.statements,M,e.isStatement));case 289:return e.Debug.type(b),x.updateDefaultClause(b,B(b.statements,M,e.isStatement));case 290:return e.Debug.type(b),x.updateHeritageClause(b,B(b.types,M,e.isExpressionWithTypeArguments));case 291:return e.Debug.type(b),x.updateCatchClause(b,I(b.variableDeclaration,M,e.isVariableDeclaration),I(b.block,M,e.isBlock));case 294:return e.Debug.type(b),x.updatePropertyAssignment(b,I(b.name,M,e.isPropertyName),I(b.initializer,M,e.isExpression));case 295:return e.Debug.type(b),x.updateShorthandPropertyAssignment(b,I(b.name,M,e.isIdentifier),I(b.objectAssignmentInitializer,M,e.isExpression));case 296:return e.Debug.type(b),x.updateSpreadAssignment(b,I(b.expression,M,e.isExpression));case 297:return e.Debug.type(b),x.updateEnumMember(b,I(b.name,M,e.isPropertyName),I(b.initializer,M,e.isExpression));case 303:return e.Debug.type(b),x.updateSourceFile(b,p(b.statements,M,S));case 348:return e.Debug.type(b),x.updatePartiallyEmittedExpression(b,I(b.expression,M,e.isExpression));case 349:return e.Debug.type(b),x.updateCommaListExpression(b,B(b.elements,M,e.isExpression));default:return b}}}e.visitEachChild=z;function ie(b){return e.Debug.assert(b.length<=1,\"Too many nodes written to output.\"),e.singleOrUndefined(b)}}(jr||(jr={})),function(e){function n(O,q,Z,ne,F){var Q=F.extendedDiagnostics?e.performance.createTimer(\"Source Map\",\"beforeSourcemap\",\"afterSourcemap\"):e.performance.nullTimer,V=Q.enter,re=Q.exit,T=[],N=[],y=new e.Map,D,C=[],m,u=[],g=\"\",P=0,te=0,ue=0,X=0,j=0,Se=0,Ce=!1,R=0,Y=0,U=0,K=0,Te=0,ge=0,ke=!1,Pe=!1,Ie=!1;return{getSources:function(){return T},addSource:Ge,setSourceContent:he,addName:ve,addMapping:Le,appendSourceMap:qe,toJSON:Dr,toString:function(){return JSON.stringify(Dr())}};function Ge(lr){V();var Ar=e.getRelativePathToDirectoryOrUrl(ne,lr,O.getCurrentDirectory(),O.getCanonicalFileName,!0),kr=y.get(Ar);return kr===void 0&&(kr=N.length,N.push(Ar),T.push(lr),y.set(Ar,kr)),re(),kr}function he(lr,Ar){if(V(),Ar!==null){for(D||(D=[]);D.length<lr;)D.push(null);D[lr]=Ar}re()}function ve(lr){V(),m||(m=new e.Map);var Ar=m.get(lr);return Ar===void 0&&(Ar=C.length,C.push(lr),m.set(lr,Ar)),re(),Ar}function Ve(lr,Ar){return!ke||R!==lr||Y!==Ar}function _e(lr,Ar,kr){return lr!==void 0&&Ar!==void 0&&kr!==void 0&&U===lr&&(K>Ar||K===Ar&&Te>kr)}function Le(lr,Ar,kr,Ke,Me,Hr){e.Debug.assert(lr>=R,\"generatedLine cannot backtrack\"),e.Debug.assert(Ar>=0,\"generatedCharacter cannot be negative\"),e.Debug.assert(kr===void 0||kr>=0,\"sourceIndex cannot be negative\"),e.Debug.assert(Ke===void 0||Ke>=0,\"sourceLine cannot be negative\"),e.Debug.assert(Me===void 0||Me>=0,\"sourceCharacter cannot be negative\"),V(),(Ve(lr,Ar)||_e(kr,Ke,Me))&&(Ae(),R=lr,Y=Ar,Pe=!1,Ie=!1,ke=!0),kr!==void 0&&Ke!==void 0&&Me!==void 0&&(U=kr,K=Ke,Te=Me,Pe=!0,Hr!==void 0&&(ge=Hr,Ie=!0)),re()}function qe(lr,Ar,kr,Ke,Me,Hr){e.Debug.assert(lr>=R,\"generatedLine cannot backtrack\"),e.Debug.assert(Ar>=0,\"generatedCharacter cannot be negative\"),V();for(var ur=[],gr,de=v(kr.mappings),Fe=de.next();!Fe.done;Fe=de.next()){var $e=Fe.value;if(Hr&&($e.generatedLine>Hr.line||$e.generatedLine===Hr.line&&$e.generatedCharacter>Hr.character))break;if(!(Me&&($e.generatedLine<Me.line||Me.line===$e.generatedLine&&$e.generatedCharacter<Me.character))){var Sr=void 0,Pr=void 0,He=void 0,pr=void 0;if($e.sourceIndex!==void 0){if(Sr=ur[$e.sourceIndex],Sr===void 0){var Jr=kr.sources[$e.sourceIndex],ze=kr.sourceRoot?e.combinePaths(kr.sourceRoot,Jr):Jr,Lr=e.combinePaths(e.getDirectoryPath(Ke),ze);ur[$e.sourceIndex]=Sr=Ge(Lr),kr.sourcesContent&&typeof kr.sourcesContent[$e.sourceIndex]==\"string\"&&he(Sr,kr.sourcesContent[$e.sourceIndex])}Pr=$e.sourceLine,He=$e.sourceCharacter,kr.names&&$e.nameIndex!==void 0&&(gr||(gr=[]),pr=gr[$e.nameIndex],pr===void 0&&(gr[$e.nameIndex]=pr=ve(kr.names[$e.nameIndex])))}var Yr=$e.generatedLine-(Me?Me.line:0),lt=Yr+lr,tt=Me&&Me.line===$e.generatedLine?$e.generatedCharacter-Me.character:$e.generatedCharacter,Rt=Yr===0?tt+Ar:tt;Le(lt,Rt,Sr,Pr,He,pr)}}re()}function Xe(){return!Ce||P!==R||te!==Y||ue!==U||X!==K||j!==Te||Se!==ge}function De(lr){u.push(lr),u.length>=1024&&Ye()}function Ae(){if(!(!ke||!Xe())){if(V(),P<R){do De(59),P++;while(P<R);te=0}else e.Debug.assertEqual(P,R,\"generatedLine cannot backtrack\"),Ce&&De(44);br(Y-te),te=Y,Pe&&(br(U-ue),ue=U,br(K-X),X=K,br(Te-j),j=Te,Ie&&(br(ge-Se),Se=ge)),Ce=!0,re()}}function Ye(){u.length>0&&(g+=String.fromCharCode.apply(void 0,u),u.length=0)}function Dr(){return Ae(),Ye(),{version:3,file:q,sourceRoot:Z,sources:N,names:C,mappings:g,sourcesContent:D}}function br(lr){lr<0?lr=(-lr<<1)+1:lr=lr<<1;do{var Ar=lr&31;lr=lr>>5,lr>0&&(Ar=Ar|32),De(ie(Ar))}while(lr>0)}}e.createSourceMapGenerator=n;var f=/^\\/\\/[@#] source[M]appingURL=(.+)\\r?\\n?$/,p=/^\\s*(\\/\\/[@#] .*)?$/;function a(O,q){return{getLineCount:function(){return q.length},getLineText:function(Z){return O.substring(q[Z],q[Z+1])}}}e.getLineInfo=a;function d(O){for(var q=O.getLineCount()-1;q>=0;q--){var Z=O.getLineText(q),ne=f.exec(Z);if(ne)return e.trimStringEnd(ne[1]);if(!Z.match(p))break}}e.tryGetSourceMappingURL=d;function k(O){return typeof O==\"string\"||O===null}function J(O){return O!==null&&typeof O==\"object\"&&O.version===3&&typeof O.file==\"string\"&&typeof O.mappings==\"string\"&&e.isArray(O.sources)&&e.every(O.sources,e.isString)&&(O.sourceRoot===void 0||O.sourceRoot===null||typeof O.sourceRoot==\"string\")&&(O.sourcesContent===void 0||O.sourcesContent===null||e.isArray(O.sourcesContent)&&e.every(O.sourcesContent,k))&&(O.names===void 0||O.names===null||e.isArray(O.names)&&e.every(O.names,e.isString))}e.isRawSourceMap=J;function h(O){try{var q=JSON.parse(O);if(J(q))return q}catch{}}e.tryParseRawSourceMap=h;function v(O){var q=!1,Z=0,ne=0,F=0,Q=0,V=0,re=0,T=0,N;return{get pos(){return Z},get error(){return N},get state(){return y(!0,!0)},next:function(){for(;!q&&Z<O.length;){var te=O.charCodeAt(Z);if(te===59){ne++,F=0,Z++;continue}if(te===44){Z++;continue}var ue=!1,X=!1;if(F+=P(),u())return D();if(F<0)return m(\"Invalid generatedCharacter found\");if(!g()){if(ue=!0,Q+=P(),u())return D();if(Q<0)return m(\"Invalid sourceIndex found\");if(g())return m(\"Unsupported Format: No entries after sourceIndex\");if(V+=P(),u())return D();if(V<0)return m(\"Invalid sourceLine found\");if(g())return m(\"Unsupported Format: No entries after sourceLine\");if(re+=P(),u())return D();if(re<0)return m(\"Invalid sourceCharacter found\");if(!g()){if(X=!0,T+=P(),u())return D();if(T<0)return m(\"Invalid nameIndex found\");if(!g())return m(\"Unsupported Error Format: Entries after nameIndex\")}}return{value:y(ue,X),done:q}}return D()}};function y(te,ue){return{generatedLine:ne,generatedCharacter:F,sourceIndex:te?Q:void 0,sourceLine:te?V:void 0,sourceCharacter:te?re:void 0,nameIndex:ue?T:void 0}}function D(){return q=!0,{value:void 0,done:!0}}function C(te){N===void 0&&(N=te)}function m(te){return C(te),D()}function u(){return N!==void 0}function g(){return Z===O.length||O.charCodeAt(Z)===44||O.charCodeAt(Z)===59}function P(){for(var te=!0,ue=0,X=0;te;Z++){if(Z>=O.length)return C(\"Error in decoding base64VLQFormatDecode, past the mapping string\"),-1;var j=b(O.charCodeAt(Z));if(j===-1)return C(\"Invalid character in VLQ\"),-1;te=(j&32)!==0,X=X|(j&31)<<ue,ue+=5}return(X&1)===0?X=X>>1:(X=X>>1,X=-X),X}}e.decodeMappings=v;function A(O,q){return O===q||O.generatedLine===q.generatedLine&&O.generatedCharacter===q.generatedCharacter&&O.sourceIndex===q.sourceIndex&&O.sourceLine===q.sourceLine&&O.sourceCharacter===q.sourceCharacter&&O.nameIndex===q.nameIndex}e.sameMapping=A;function z(O){return O.sourceIndex!==void 0&&O.sourceLine!==void 0&&O.sourceCharacter!==void 0}e.isSourceMapping=z;function ie(O){return O>=0&&O<26?65+O:O>=26&&O<52?97+O-26:O>=52&&O<62?48+O-52:O===62?43:O===63?47:e.Debug.fail(\"\".concat(O,\": not a base64 value\"))}function b(O){return O>=65&&O<=90?O-65:O>=97&&O<=122?O-97+26:O>=48&&O<=57?O-48+52:O===43?62:O===47?63:-1}function M(O){return O.sourceIndex!==void 0&&O.sourcePosition!==void 0}function S(O,q){return O.generatedPosition===q.generatedPosition&&O.sourceIndex===q.sourceIndex&&O.sourcePosition===q.sourcePosition}function B(O,q){return e.Debug.assert(O.sourceIndex===q.sourceIndex),e.compareValues(O.sourcePosition,q.sourcePosition)}function H(O,q){return e.compareValues(O.generatedPosition,q.generatedPosition)}function I(O){return O.sourcePosition}function w(O){return O.generatedPosition}function x(O,q,Z){var ne=e.getDirectoryPath(Z),F=q.sourceRoot?e.getNormalizedAbsolutePath(q.sourceRoot,ne):ne,Q=e.getNormalizedAbsolutePath(q.file,ne),V=O.getSourceFileLike(Q),re=q.sources.map(function(ue){return e.getNormalizedAbsolutePath(ue,F)}),T=new e.Map(re.map(function(ue,X){return[O.getCanonicalFileName(ue),X]})),N,y,D;return{getSourcePosition:te,getGeneratedPosition:P};function C(ue){var X=V!==void 0?e.getPositionOfLineAndCharacter(V,ue.generatedLine,ue.generatedCharacter,!0):-1,j,Se;if(z(ue)){var Ce=O.getSourceFileLike(re[ue.sourceIndex]);j=q.sources[ue.sourceIndex],Se=Ce!==void 0?e.getPositionOfLineAndCharacter(Ce,ue.sourceLine,ue.sourceCharacter,!0):-1}return{generatedPosition:X,source:j,sourceIndex:ue.sourceIndex,sourcePosition:Se,nameIndex:ue.nameIndex}}function m(){if(N===void 0){var ue=v(q.mappings),X=e.arrayFrom(ue,C);ue.error!==void 0?(O.log&&O.log(\"Encountered error while decoding sourcemap: \".concat(ue.error)),N=e.emptyArray):N=X}return N}function u(ue){if(D===void 0){for(var X=[],j=0,Se=m();j<Se.length;j++){var Ce=Se[j];if(!!M(Ce)){var R=X[Ce.sourceIndex];R||(X[Ce.sourceIndex]=R=[]),R.push(Ce)}}D=X.map(function(Y){return e.sortAndDeduplicate(Y,B,S)})}return D[ue]}function g(){if(y===void 0){for(var ue=[],X=0,j=m();X<j.length;X++){var Se=j[X];ue.push(Se)}y=e.sortAndDeduplicate(ue,H,S)}return y}function P(ue){var X=T.get(O.getCanonicalFileName(ue.fileName));if(X===void 0)return ue;var j=u(X);if(!e.some(j))return ue;var Se=e.binarySearchKey(j,ue.pos,I,e.compareValues);Se<0&&(Se=~Se);var Ce=j[Se];return Ce===void 0||Ce.sourceIndex!==X?ue:{fileName:Q,pos:Ce.generatedPosition}}function te(ue){var X=g();if(!e.some(X))return ue;var j=e.binarySearchKey(X,ue.pos,w,e.compareValues);j<0&&(j=~j);var Se=X[j];return Se===void 0||!M(Se)?ue:{fileName:re[Se.sourceIndex],pos:Se.sourcePosition}}}e.createDocumentPositionMapper=x,e.identitySourceMapConsumer={getSourcePosition:e.identity,getGeneratedPosition:e.identity}}(jr||(jr={})),function(e){function n(Z){return Z=e.getOriginalNode(Z),Z?e.getNodeId(Z):0}e.getOriginalNodeId=n;function f(Z){return!Z||!e.isNamedImports(Z)?!1:e.some(Z.elements,p)}function p(Z){return Z.propertyName!==void 0&&Z.propertyName.escapedText===\"default\"}function a(Z,ne){return F;function F(V){return V.kind===303?ne(V):Q(V)}function Q(V){return Z.factory.createBundle(e.map(V.sourceFiles,ne),V.prepends)}}e.chainBundle=a;function d(Z){return!!e.getNamespaceDeclarationNode(Z)}e.getExportNeedsImportStarHelper=d;function k(Z){if(e.getNamespaceDeclarationNode(Z))return!0;var ne=Z.importClause&&Z.importClause.namedBindings;if(!ne||!e.isNamedImports(ne))return!1;for(var F=0,Q=0,V=ne.elements;Q<V.length;Q++){var re=V[Q];p(re)&&F++}return F>0&&F!==ne.elements.length||!!(ne.elements.length-F)&&e.isDefaultImport(Z)}e.getImportNeedsImportStarHelper=k;function J(Z){return!k(Z)&&(e.isDefaultImport(Z)||!!Z.importClause&&e.isNamedImports(Z.importClause.namedBindings)&&f(Z.importClause.namedBindings))}e.getImportNeedsImportDefaultHelper=J;function h(Z,ne,F,Q){for(var V=[],re=e.createMultiMap(),T=[],N=new e.Map,y,D=!1,C,m=!1,u=!1,g=!1,P=0,te=ne.statements;P<te.length;P++){var ue=te[P];switch(ue.kind){case 265:V.push(ue),!u&&k(ue)&&(u=!0),!g&&J(ue)&&(g=!0);break;case 264:ue.moduleReference.kind===276&&V.push(ue);break;case 271:if(ue.moduleSpecifier)if(!ue.exportClause)V.push(ue),m=!0;else if(V.push(ue),e.isNamedExports(ue.exportClause))Y(ue);else{var X=ue.exportClause.name;N.get(e.idText(X))||(A(T,n(ue),X),N.set(e.idText(X),!0),y=e.append(y,X)),u=!0}else Y(ue);break;case 270:ue.isExportEquals&&!C&&(C=ue);break;case 236:if(e.hasSyntacticModifier(ue,1))for(var j=0,Se=ue.declarationList.declarations;j<Se.length;j++){var Ce=Se[j];y=v(Ce,N,y)}break;case 255:if(e.hasSyntacticModifier(ue,1))if(e.hasSyntacticModifier(ue,512))D||(A(T,n(ue),Z.factory.getDeclarationName(ue)),D=!0);else{var X=ue.name;N.get(e.idText(X))||(A(T,n(ue),X),N.set(e.idText(X),!0),y=e.append(y,X))}break;case 256:if(e.hasSyntacticModifier(ue,1))if(e.hasSyntacticModifier(ue,512))D||(A(T,n(ue),Z.factory.getDeclarationName(ue)),D=!0);else{var X=ue.name;X&&!N.get(e.idText(X))&&(A(T,n(ue),X),N.set(e.idText(X),!0),y=e.append(y,X))}break}}var R=e.createExternalHelpersImportDeclarationIfNeeded(Z.factory,Z.getEmitHelperFactory(),ne,Q,m,u,g);return R&&V.unshift(R),{externalImports:V,exportSpecifiers:re,exportEquals:C,hasExportStarsToExportValues:m,exportedBindings:T,exportedNames:y,externalHelpersImportDeclaration:R};function Y(U){for(var K=0,Te=e.cast(U.exportClause,e.isNamedExports).elements;K<Te.length;K++){var ge=Te[K];if(!N.get(e.idText(ge.name))){var ke=ge.propertyName||ge.name;U.moduleSpecifier||re.add(e.idText(ke),ge);var Pe=F.getReferencedImportDeclaration(ke)||F.getReferencedValueDeclaration(ke);Pe&&A(T,n(Pe),ge.name),N.set(e.idText(ge.name),!0),y=e.append(y,ge.name)}}}}e.collectExternalModuleInfo=h;function v(Z,ne,F){if(e.isBindingPattern(Z.name))for(var Q=0,V=Z.name.elements;Q<V.length;Q++){var re=V[Q];e.isOmittedExpression(re)||(F=v(re,ne,F))}else if(!e.isGeneratedIdentifier(Z.name)){var T=e.idText(Z.name);ne.get(T)||(ne.set(T,!0),F=e.append(F,Z.name))}return F}function A(Z,ne,F){var Q=Z[ne];return Q?Q.push(F):Z[ne]=Q=[F],Q}function z(Z){return e.isStringLiteralLike(Z)||Z.kind===8||e.isKeyword(Z.kind)||e.isIdentifier(Z)}e.isSimpleCopiableExpression=z;function ie(Z){return!e.isIdentifier(Z)&&z(Z)}e.isSimpleInlineableExpression=ie;function b(Z){return Z>=64&&Z<=78}e.isCompoundAssignment=b;function M(Z){switch(Z){case 64:return 39;case 65:return 40;case 66:return 41;case 67:return 42;case 68:return 43;case 69:return 44;case 70:return 47;case 71:return 48;case 72:return 49;case 73:return 50;case 74:return 51;case 78:return 52;case 75:return 56;case 76:return 55;case 77:return 60}}e.getNonAssignmentOperatorForCompoundAssignment=M;function S(Z,ne,F,Q){if(ne.body){var V=ne.body.statements,re=Z.copyPrologue(V,F,!1,Q);if(re===V.length)return re;var T=e.findIndex(V,function(y){return e.isExpressionStatement(y)&&e.isSuperCall(y.expression)},re);if(T>-1){for(var N=re;N<=T;N++)F.push(e.visitNode(V[N],Q,e.isStatement));return T+1}return re}return 0}e.addPrologueDirectivesAndInitialSuperCall=S;function B(Z,ne,F){return e.filter(Z.members,function(Q){return w(Q,ne,F)})}e.getProperties=B;function H(Z){return x(Z)||e.isClassStaticBlockDeclaration(Z)}function I(Z){return e.filter(Z.members,H)}e.getStaticPropertiesAndClassStaticBlock=I;function w(Z,ne,F){return e.isPropertyDeclaration(Z)&&(!!Z.initializer||!ne)&&e.hasStaticModifier(Z)===F}function x(Z){return e.isPropertyDeclaration(Z)&&e.hasStaticModifier(Z)}function O(Z){return Z.kind===166&&Z.initializer!==void 0}e.isInitializedProperty=O;function q(Z){return!e.isStatic(Z)&&e.isMethodOrAccessor(Z)&&e.isPrivateIdentifier(Z.name)}e.isNonStaticMethodOrAccessorWithPrivateName=q}(jr||(jr={})),function(e){(function(x){x[x.All=0]=\"All\",x[x.ObjectRest=1]=\"ObjectRest\"})(e.FlattenLevel||(e.FlattenLevel={}));function n(x,O,q,Z,ne,F){var Q=x,V;if(e.isDestructuringAssignment(x))for(V=x.right;e.isEmptyArrayLiteral(x.left)||e.isEmptyObjectLiteral(x.left);)if(e.isDestructuringAssignment(V))Q=x=V,V=x.right;else return e.visitNode(V,O,e.isExpression);var re,T={context:q,level:Z,downlevelIteration:!!q.getCompilerOptions().downlevelIteration,hoistTempVariables:!0,emitExpression:N,emitBindingOrAssignment:y,createArrayBindingOrAssignmentPattern:function(D){return S(q.factory,D)},createObjectBindingOrAssignmentPattern:function(D){return H(q.factory,D)},createArrayBindingOrAssignmentElement:w,visitor:O};if(V&&(V=e.visitNode(V,O,e.isExpression),e.isIdentifier(V)&&f(x,V.escapedText)||a(x)?V=b(T,V,!1,Q):ne?V=b(T,V,!0,Q):e.nodeIsSynthesized(x)&&(Q=V)),J(T,x,V,Q,e.isDestructuringAssignment(x)),V&&ne){if(!e.some(re))return V;re.push(V)}return q.factory.inlineExpressions(re)||q.factory.createOmittedExpression();function N(D){re=e.append(re,D)}function y(D,C,m,u){e.Debug.assertNode(D,F?e.isIdentifier:e.isExpression);var g=F?F(D,C,m):e.setTextRange(q.factory.createAssignment(e.visitNode(D,O,e.isExpression),C),m);g.original=u,N(g)}}e.flattenDestructuringAssignment=n;function f(x,O){var q=e.getTargetOfBindingOrAssignmentElement(x);return e.isBindingOrAssignmentPattern(q)?p(q,O):e.isIdentifier(q)?q.escapedText===O:!1}function p(x,O){for(var q=e.getElementsOfBindingOrAssignmentPattern(x),Z=0,ne=q;Z<ne.length;Z++){var F=ne[Z];if(f(F,O))return!0}return!1}function a(x){var O=e.tryGetPropertyNameOfBindingOrAssignmentElement(x);if(O&&e.isComputedPropertyName(O)&&!e.isLiteralExpression(O.expression))return!0;var q=e.getTargetOfBindingOrAssignmentElement(x);return!!q&&e.isBindingOrAssignmentPattern(q)&&d(q)}function d(x){return!!e.forEach(e.getElementsOfBindingOrAssignmentPattern(x),a)}function k(x,O,q,Z,ne,F,Q){F===void 0&&(F=!1);var V,re=[],T=[],N={context:q,level:Z,downlevelIteration:!!q.getCompilerOptions().downlevelIteration,hoistTempVariables:F,emitExpression:Ce,emitBindingOrAssignment:R,createArrayBindingOrAssignmentPattern:function(Y){return M(q.factory,Y)},createObjectBindingOrAssignmentPattern:function(Y){return B(q.factory,Y)},createArrayBindingOrAssignmentElement:function(Y){return I(q.factory,Y)},visitor:O};if(e.isVariableDeclaration(x)){var y=e.getInitializerOfBindingOrAssignmentElement(x);y&&(e.isIdentifier(y)&&f(x,y.escapedText)||a(x))&&(y=b(N,e.visitNode(y,N.visitor),!1,y),x=q.factory.updateVariableDeclaration(x,x.name,void 0,void 0,y))}if(J(N,x,ne,x,Q),V){var D=q.factory.createTempVariable(void 0);if(F){var C=q.factory.inlineExpressions(V);V=void 0,R(D,C,void 0,void 0)}else{q.hoistVariableDeclaration(D);var m=e.last(re);m.pendingExpressions=e.append(m.pendingExpressions,q.factory.createAssignment(D,m.value)),e.addRange(m.pendingExpressions,V),m.value=D}}for(var u=0,g=re;u<g.length;u++){var P=g[u],te=P.pendingExpressions,ue=P.name,C=P.value,X=P.location,j=P.original,Se=q.factory.createVariableDeclaration(ue,void 0,void 0,te?q.factory.inlineExpressions(e.append(te,C)):C);Se.original=j,e.setTextRange(Se,X),T.push(Se)}return T;function Ce(Y){V=e.append(V,Y)}function R(Y,U,K,Te){e.Debug.assertNode(Y,e.isBindingName),V&&(U=q.factory.inlineExpressions(e.append(V,U)),V=void 0),re.push({pendingExpressions:V,name:Y,value:U,location:K,original:Te})}}e.flattenDestructuringBinding=k;function J(x,O,q,Z,ne){var F=e.getTargetOfBindingOrAssignmentElement(O);if(!ne){var Q=e.visitNode(e.getInitializerOfBindingOrAssignmentElement(O),x.visitor,e.isExpression);Q?q?(q=z(x,q,Q,Z),!e.isSimpleInlineableExpression(Q)&&e.isBindingOrAssignmentPattern(F)&&(q=b(x,q,!0,Z))):q=Q:q||(q=x.context.factory.createVoidZero())}e.isObjectBindingOrAssignmentPattern(F)?h(x,O,F,q,Z):e.isArrayBindingOrAssignmentPattern(F)?v(x,O,F,q,Z):x.emitBindingOrAssignment(F,q,Z,O)}function h(x,O,q,Z,ne){var F=e.getElementsOfBindingOrAssignmentPattern(q),Q=F.length;if(Q!==1){var V=!e.isDeclarationBindingElement(O)||Q!==0;Z=b(x,Z,V,ne)}for(var re,T,N=0;N<Q;N++){var y=F[N];if(e.getRestIndicatorOfBindingOrAssignmentElement(y)){if(N===Q-1){re&&(x.emitBindingOrAssignment(x.createObjectBindingOrAssignmentPattern(re),Z,ne,q),re=void 0);var C=x.context.getEmitHelperFactory().createRestHelper(Z,F,T,q);J(x,y,C,y)}}else{var D=e.getPropertyNameOfBindingOrAssignmentElement(y);if(x.level>=1&&!(y.transformFlags&49152)&&!(e.getTargetOfBindingOrAssignmentElement(y).transformFlags&49152)&&!e.isComputedPropertyName(D))re=e.append(re,e.visitNode(y,x.visitor));else{re&&(x.emitBindingOrAssignment(x.createObjectBindingOrAssignmentPattern(re),Z,ne,q),re=void 0);var C=ie(x,Z,D);e.isComputedPropertyName(D)&&(T=e.append(T,C.argumentExpression)),J(x,y,C,y)}}}re&&x.emitBindingOrAssignment(x.createObjectBindingOrAssignmentPattern(re),Z,ne,q)}function v(x,O,q,Z,ne){var F=e.getElementsOfBindingOrAssignmentPattern(q),Q=F.length;if(x.level<1&&x.downlevelIteration)Z=b(x,e.setTextRange(x.context.getEmitHelperFactory().createReadHelper(Z,Q>0&&e.getRestIndicatorOfBindingOrAssignmentElement(F[Q-1])?void 0:Q),ne),!1,ne);else if(Q!==1&&(x.level<1||Q===0)||e.every(F,e.isOmittedExpression)){var V=!e.isDeclarationBindingElement(O)||Q!==0;Z=b(x,Z,V,ne)}for(var re,T,N=0;N<Q;N++){var y=F[N];if(x.level>=1)if(y.transformFlags&32768||x.hasTransformedPriorElement&&!A(y)){x.hasTransformedPriorElement=!0;var D=x.context.factory.createTempVariable(void 0);x.hoistTempVariables&&x.context.hoistVariableDeclaration(D),T=e.append(T,[D,y]),re=e.append(re,x.createArrayBindingOrAssignmentElement(D))}else re=e.append(re,y);else{if(e.isOmittedExpression(y))continue;if(e.getRestIndicatorOfBindingOrAssignmentElement(y)){if(N===Q-1){var C=x.context.factory.createArraySliceCall(Z,N);J(x,y,C,y)}}else{var C=x.context.factory.createElementAccessExpression(Z,N);J(x,y,C,y)}}}if(re&&x.emitBindingOrAssignment(x.createArrayBindingOrAssignmentPattern(re),Z,ne,q),T)for(var m=0,u=T;m<u.length;m++){var g=u[m],P=g[0],y=g[1];J(x,y,P,y)}}function A(x){var O=e.getTargetOfBindingOrAssignmentElement(x);if(!O||e.isOmittedExpression(O))return!0;var q=e.tryGetPropertyNameOfBindingOrAssignmentElement(x);if(q&&!e.isPropertyNameLiteral(q))return!1;var Z=e.getInitializerOfBindingOrAssignmentElement(x);return Z&&!e.isSimpleInlineableExpression(Z)?!1:e.isBindingOrAssignmentPattern(O)?e.every(e.getElementsOfBindingOrAssignmentPattern(O),A):e.isIdentifier(O)}function z(x,O,q,Z){return O=b(x,O,!0,Z),x.context.factory.createConditionalExpression(x.context.factory.createTypeCheck(O,\"undefined\"),void 0,q,void 0,O)}function ie(x,O,q){if(e.isComputedPropertyName(q)){var Z=b(x,e.visitNode(q.expression,x.visitor),!1,q);return x.context.factory.createElementAccessExpression(O,Z)}else if(e.isStringOrNumericLiteralLike(q)){var Z=e.factory.cloneNode(q);return x.context.factory.createElementAccessExpression(O,Z)}else{var ne=x.context.factory.createIdentifier(e.idText(q));return x.context.factory.createPropertyAccessExpression(O,ne)}}function b(x,O,q,Z){if(e.isIdentifier(O)&&q)return O;var ne=x.context.factory.createTempVariable(void 0);return x.hoistTempVariables?(x.context.hoistVariableDeclaration(ne),x.emitExpression(e.setTextRange(x.context.factory.createAssignment(ne,O),Z))):x.emitBindingOrAssignment(ne,O,Z,void 0),ne}function M(x,O){return e.Debug.assertEachNode(O,e.isArrayBindingElement),x.createArrayBindingPattern(O)}function S(x,O){return x.createArrayLiteralExpression(e.map(O,x.converters.convertToArrayAssignmentElement))}function B(x,O){return e.Debug.assertEachNode(O,e.isBindingElement),x.createObjectBindingPattern(O)}function H(x,O){return x.createObjectLiteralExpression(e.map(O,x.converters.convertToObjectAssignmentElement))}function I(x,O){return x.createBindingElement(void 0,void 0,O)}function w(x){return x}}(jr||(jr={})),function(e){var n;(function(d){d[d.LiftRestriction=0]=\"LiftRestriction\",d[d.All=1]=\"All\"})(n=e.ProcessLevel||(e.ProcessLevel={}));function f(d,k,J,h,v,A){var z=e.visitNode(k.tag,J,e.isExpression),ie=[void 0],b=[],M=[],S=k.template;if(A===n.LiftRestriction&&!e.hasInvalidEscape(S))return e.visitEachChild(k,J,d);if(e.isNoSubstitutionTemplateLiteral(S))b.push(p(S)),M.push(a(S,h));else{b.push(p(S.head)),M.push(a(S.head,h));for(var B=0,H=S.templateSpans;B<H.length;B++){var I=H[B];b.push(p(I.literal)),M.push(a(I.literal,h)),ie.push(e.visitNode(I.expression,J,e.isExpression))}}var w=d.getEmitHelperFactory().createTemplateObjectHelper(e.factory.createArrayLiteralExpression(b),e.factory.createArrayLiteralExpression(M));if(e.isExternalModule(h)){var x=e.factory.createUniqueName(\"templateObject\");v(x),ie[0]=e.factory.createLogicalOr(x,e.factory.createAssignment(x,w))}else ie[0]=w;return e.factory.createCallExpression(z,void 0,ie)}e.processTaggedTemplateExpression=f;function p(d){return d.templateFlags?e.factory.createVoidZero():e.factory.createStringLiteral(d.text)}function a(d,k){var J=d.rawText;if(J===void 0){e.Debug.assertIsDefined(k,\"Template literal node is missing 'rawText' and does not have a source file. Possibly bad transform.\"),J=e.getSourceTextOfNodeFromSourceFile(k,d);var h=d.kind===14||d.kind===17;J=J.substring(1,J.length-(h?1:2))}return J=J.replace(/\\r\\n?/g,`\n`),e.setTextRange(e.factory.createStringLiteral(J),d)}}(jr||(jr={})),function(e){var n;(function(a){a[a.ClassAliases=1]=\"ClassAliases\",a[a.NamespaceExports=2]=\"NamespaceExports\",a[a.NonQualifiedEnumMembers=8]=\"NonQualifiedEnumMembers\"})(n||(n={}));var f;(function(a){a[a.None=0]=\"None\",a[a.HasStaticInitializedProperties=1]=\"HasStaticInitializedProperties\",a[a.HasConstructorDecorators=2]=\"HasConstructorDecorators\",a[a.HasMemberDecorators=4]=\"HasMemberDecorators\",a[a.IsExportOfNamespace=8]=\"IsExportOfNamespace\",a[a.IsNamedExternalExport=16]=\"IsNamedExternalExport\",a[a.IsDefaultExternalExport=32]=\"IsDefaultExternalExport\",a[a.IsDerivedClass=64]=\"IsDerivedClass\",a[a.UseImmediatelyInvokedFunctionExpression=128]=\"UseImmediatelyInvokedFunctionExpression\",a[a.HasAnyDecorators=6]=\"HasAnyDecorators\",a[a.NeedsName=5]=\"NeedsName\",a[a.MayNeedImmediatelyInvokedFunctionExpression=7]=\"MayNeedImmediatelyInvokedFunctionExpression\",a[a.IsExported=56]=\"IsExported\"})(f||(f={}));function p(a){var d=a.factory,k=a.getEmitHelperFactory,J=a.startLexicalEnvironment,h=a.resumeLexicalEnvironment,v=a.endLexicalEnvironment,A=a.hoistVariableDeclaration,z=a.getEmitResolver(),ie=a.getCompilerOptions(),b=e.getStrictOptionValue(ie,\"strictNullChecks\"),M=e.getEmitScriptTarget(ie),S=e.getEmitModuleKind(ie),B=a.onEmitNode,H=a.onSubstituteNode;a.onEmitNode=Zi,a.onSubstituteNode=Mo,a.enableSubstitution(205),a.enableSubstitution(206);var I,w,x,O,q,Z,ne,F,Q,V;return re;function re(oe){return oe.kind===304?T(oe):N(oe)}function T(oe){return d.createBundle(oe.sourceFiles.map(N),e.mapDefined(oe.prepends,function(mr){return mr.kind===306?e.createUnparsedSourceFile(mr,\"js\"):mr}))}function N(oe){if(oe.isDeclarationFile)return oe;I=oe;var mr=y(oe,R);return e.addEmitHelpers(mr,a.readEmitHelpers()),I=void 0,mr}function y(oe,mr){var se=O,Be=q,er=Z,vr=ne;D(oe);var qr=mr(oe);return O!==se&&(Z=er),O=se,q=Be,ne=vr,qr}function D(oe){switch(oe.kind){case 303:case 262:case 261:case 234:O=oe,q=void 0,Z=void 0;break;case 256:case 255:if(e.hasSyntacticModifier(oe,2))break;oe.name?ba(oe):e.Debug.assert(oe.kind===256||e.hasSyntacticModifier(oe,512)),e.isClassDeclaration(oe)&&(q=oe);break}}function C(oe){return y(oe,m)}function m(oe){return oe.transformFlags&1?Ce(oe):oe}function u(oe){return y(oe,g)}function g(oe){switch(oe.kind){case 265:case 264:case 270:case 271:return P(oe);default:return m(oe)}}function P(oe){var mr=e.getParseTreeNode(oe);if(mr!==oe)return oe.transformFlags&1?e.visitEachChild(oe,C,a):oe;switch(oe.kind){case 265:return qt(oe);case 264:return Ra(oe);case 270:return pt(oe);case 271:return _t(oe);default:e.Debug.fail(\"Unhandled ellided statement\")}}function te(oe){return y(oe,ue)}function ue(oe){if(!(oe.kind===271||oe.kind===265||oe.kind===266||oe.kind===264&&oe.moduleReference.kind===276))return oe.transformFlags&1||e.hasSyntacticModifier(oe,1)?Ce(oe):oe}function X(oe){return y(oe,j)}function j(oe){switch(oe.kind){case 170:return or(oe);case 166:return ye(oe);case 175:case 171:case 172:case 168:case 169:return m(oe);case 233:return oe;default:return e.Debug.failBadSyntaxKind(oe)}}function Se(oe){if(!(e.modifierToFlag(oe.kind)&18654)&&!(w&&oe.kind===93))return oe}function Ce(oe){if(e.isStatement(oe)&&e.hasSyntacticModifier(oe,2))return d.createNotEmittedStatement(oe);switch(oe.kind){case 93:case 88:return w?void 0:oe;case 123:case 121:case 122:case 126:case 158:case 85:case 135:case 144:case 182:case 183:case 184:case 185:case 181:case 176:case 162:case 130:case 154:case 133:case 149:case 146:case 143:case 114:case 150:case 179:case 178:case 180:case 177:case 186:case 187:case 188:case 190:case 191:case 192:case 193:case 194:case 195:case 175:case 164:return;case 258:return d.createNotEmittedStatement(oe);case 166:return ye(oe);case 263:return;case 170:return or(oe);case 257:return d.createNotEmittedStatement(oe);case 256:return Te(oe);case 225:return Pe(oe);case 290:return ir(oe);case 227:return Or(oe);case 168:return Ee(oe);case 171:return $(oe);case 172:return Ne(oe);case 255:return me(oe);case 212:return Ze(oe);case 213:return Cr(oe);case 163:return fr(oe);case 211:return Vr(oe);case 210:case 228:return tr(oe);case 207:return Nr(oe);case 208:return zr(oe);case 209:return gt(oe);case 229:return xr(oe);case 259:return xt(oe);case 236:return dr(oe);case 253:return yt(oe);case 260:return en(oe);case 264:return Ra(oe);case 278:return vt(oe);case 279:return ut(oe);default:return e.visitEachChild(oe,C,a)}}function R(oe){var mr=e.getStrictOptionValue(ie,\"alwaysStrict\")&&!(e.isExternalModule(oe)&&S>=e.ModuleKind.ES2015)&&!e.isJsonSourceFile(oe);return d.updateSourceFile(oe,e.visitLexicalEnvironment(oe.statements,u,a,0,mr))}function Y(oe,mr){var se=0;e.some(mr)&&(se|=1);var Be=e.getEffectiveBaseTypeNode(oe);return Be&&e.skipOuterExpressions(Be.expression).kind!==104&&(se|=64),e.classOrConstructorParameterIsDecorated(oe)&&(se|=2),e.childIsDecorated(oe)&&(se|=4),Ci(oe)?se|=8:yi(oe)?se|=32:va(oe)&&(se|=16),M<=1&&se&7&&(se|=128),se}function U(oe){return!!(oe.transformFlags&4096)}function K(oe){return e.some(oe.decorators)||e.some(oe.typeParameters)||e.some(oe.heritageClauses,U)||e.some(oe.members,U)}function Te(oe){if(!K(oe)&&!(w&&e.hasSyntacticModifier(oe,1)))return e.visitEachChild(oe,C,a);var mr=e.getProperties(oe,!0,!0),se=Y(oe,mr);se&128&&a.startLexicalEnvironment();var Be=oe.name||(se&5?d.getGeneratedNameForNode(oe):void 0),er=se&2?ke(oe,Be):ge(oe,Be,se),vr=[er];if(Dr(vr,oe,!1),Dr(vr,oe,!0),Ar(vr,oe),se&128){var qr=e.createTokenRange(e.skipTrivia(I.text,oe.members.end),19),Dt=d.getInternalName(oe),Jt=d.createPartiallyEmittedExpression(Dt);e.setTextRangeEnd(Jt,qr.end),e.setEmitFlags(Jt,1536);var Sn=d.createReturnStatement(Jt);e.setTextRangePos(Sn,qr.pos),e.setEmitFlags(Sn,1920),vr.push(Sn),e.insertStatementsAfterStandardPrologue(vr,a.endLexicalEnvironment());var ta=d.createImmediatelyInvokedArrowFunction(vr);e.setEmitFlags(ta,33554432);var xa=d.createVariableStatement(void 0,d.createVariableDeclarationList([d.createVariableDeclaration(d.getLocalName(oe,!1,!1),void 0,void 0,ta)]));e.setOriginalNode(xa,oe),e.setCommentRange(xa,oe),e.setSourceMapRange(xa,e.moveRangePastDecorators(oe)),e.startOnNewLine(xa),vr=[xa]}return se&8?Ka(vr,oe):(se&128||se&2)&&(se&32?vr.push(d.createExportDefault(d.getLocalName(oe,!1,!0))):se&16&&vr.push(d.createExternalModuleExport(d.getLocalName(oe,!1,!0)))),vr.length>1&&(vr.push(d.createEndOfDeclarationMarker(oe)),e.setEmitFlags(er,e.getEmitFlags(er)|4194304)),e.singleOrMany(vr)}function ge(oe,mr,se){var Be=se&128?void 0:e.visitNodes(oe.modifiers,Se,e.isModifier),er=d.createClassDeclaration(void 0,Be,mr,void 0,e.visitNodes(oe.heritageClauses,C,e.isHeritageClause),Ie(oe)),vr=e.getEmitFlags(oe);return se&1&&(vr|=32),e.setTextRange(er,oe),e.setOriginalNode(er,oe),e.setEmitFlags(er,vr),er}function ke(oe,mr){var se=e.moveRangePastDecorators(oe),Be=No(oe),er=M<=2?d.getInternalName(oe,!1,!0):d.getLocalName(oe,!1,!0),vr=e.visitNodes(oe.heritageClauses,C,e.isHeritageClause),qr=Ie(oe),Dt=d.createClassExpression(void 0,void 0,mr,void 0,vr,qr);e.setOriginalNode(Dt,oe),e.setTextRange(Dt,se);var Jt=d.createVariableStatement(void 0,d.createVariableDeclarationList([d.createVariableDeclaration(er,void 0,void 0,Be?d.createAssignment(Be,Dt):Dt)],1));return e.setOriginalNode(Jt,oe),e.setTextRange(Jt,se),e.setCommentRange(Jt,oe),Jt}function Pe(oe){if(!K(oe))return e.visitEachChild(oe,C,a);var mr=d.createClassExpression(void 0,void 0,oe.name,void 0,e.visitNodes(oe.heritageClauses,C,e.isHeritageClause),Ie(oe));return e.setOriginalNode(mr,oe),e.setTextRange(mr,oe),mr}function Ie(oe){var mr=[],se=e.getFirstConstructorWithBody(oe),Be=se&&e.filter(se.parameters,function(Dt){return e.isParameterPropertyDeclaration(Dt,se)});if(Be)for(var er=0,vr=Be;er<vr.length;er++){var qr=vr[er];e.isIdentifier(qr.name)&&mr.push(e.setOriginalNode(d.createPropertyDeclaration(void 0,void 0,qr.name,void 0,void 0,void 0),qr))}return e.addRange(mr,e.visitNodes(oe.members,X,e.isClassElement)),e.setTextRange(d.createNodeArray(mr),oe.members)}function Ge(oe,mr){return e.filter(oe.members,mr?function(se){return he(se,oe)}:function(se){return ve(se,oe)})}function he(oe,mr){return Ve(oe,!0,mr)}function ve(oe,mr){return Ve(oe,!1,mr)}function Ve(oe,mr,se){return e.nodeOrChildIsDecorated(oe,se)&&mr===e.isStatic(oe)}function _e(oe){var mr;if(oe)for(var se=oe.parameters,Be=se.length>0&&e.parameterIsThisKeyword(se[0]),er=Be?1:0,vr=Be?se.length-1:se.length,qr=0;qr<vr;qr++){var Dt=se[qr+er];(mr||Dt.decorators)&&(mr||(mr=new Array(vr)),mr[qr]=Dt.decorators)}return mr}function Le(oe){var mr=oe.decorators,se=_e(e.getFirstConstructorWithBody(oe));if(!(!mr&&!se))return{decorators:mr,parameters:se}}function qe(oe,mr){switch(mr.kind){case 171:case 172:return Xe(oe,mr);case 168:return De(mr);case 166:return Ae(mr);default:return}}function Xe(oe,mr){if(!!mr.body){var se=e.getAllAccessorDeclarations(oe.members,mr),Be=se.firstAccessor,er=se.secondAccessor,vr=se.setAccessor,qr=Be.decorators?Be:er&&er.decorators?er:void 0;if(!(!qr||mr!==qr)){var Dt=qr.decorators,Jt=_e(vr);if(!(!Dt&&!Jt))return{decorators:Dt,parameters:Jt}}}}function De(oe){if(!!oe.body){var mr=oe.decorators,se=_e(oe);if(!(!mr&&!se))return{decorators:mr,parameters:se}}}function Ae(oe){var mr=oe.decorators;if(!!mr)return{decorators:mr}}function Ye(oe,mr,se){if(!!se){var Be=[];return e.addRange(Be,e.map(se.decorators,Ke)),e.addRange(Be,e.flatMap(se.parameters,Me)),Hr(oe,mr,Be),Be}}function Dr(oe,mr,se){e.addRange(oe,e.map(br(mr,se),ro))}function br(oe,mr){for(var se=Ge(oe,mr),Be,er=0,vr=se;er<vr.length;er++){var qr=vr[er],Dt=lr(oe,qr);Dt&&(Be?Be.push(Dt):Be=[Dt])}return Be}function lr(oe,mr){var se=qe(oe,mr),Be=Ye(mr,oe,se);if(!!Be){var er=Lo(oe,mr),vr=In(mr,!0),qr=M>0?mr.kind===166?d.createVoidZero():d.createNull():void 0,Dt=k().createDecorateHelper(Be,er,vr,qr);return e.setTextRange(Dt,e.moveRangePastDecorators(mr)),e.setEmitFlags(Dt,1536),Dt}}function Ar(oe,mr){var se=kr(mr);se&&oe.push(e.setOriginalNode(d.createExpressionStatement(se),mr))}function kr(oe){var mr=Le(oe),se=Ye(oe,oe,mr);if(!!se){var Be=Q&&Q[e.getOriginalNodeId(oe)],er=M<=2?d.getInternalName(oe,!1,!0):d.getLocalName(oe,!1,!0),vr=k().createDecorateHelper(se,er),qr=d.createAssignment(er,Be?d.createAssignment(Be,vr):vr);return e.setEmitFlags(qr,1536),e.setSourceMapRange(qr,e.moveRangePastDecorators(oe)),qr}}function Ke(oe){return e.visitNode(oe.expression,C,e.isExpression)}function Me(oe,mr){var se;if(oe){se=[];for(var Be=0,er=oe;Be<er.length;Be++){var vr=er[Be],qr=k().createParamHelper(Ke(vr),mr);e.setTextRange(qr,vr.expression),e.setEmitFlags(qr,1536),se.push(qr)}}return se}function Hr(oe,mr,se){ur(oe,mr,se)}function ur(oe,mr,se){ie.emitDecoratorMetadata&&(gr(oe)&&se.push(k().createMetadataHelper(\"design:type\",Sr(oe))),Fe(oe)&&se.push(k().createMetadataHelper(\"design:paramtypes\",Pr(oe,mr))),de(oe)&&se.push(k().createMetadataHelper(\"design:returntype\",pr(oe))))}function gr(oe){var mr=oe.kind;return mr===168||mr===171||mr===172||mr===166}function de(oe){return oe.kind===168}function Fe(oe){switch(oe.kind){case 256:case 225:return e.getFirstConstructorWithBody(oe)!==void 0;case 168:case 171:case 172:return!0}return!1}function $e(oe){var mr=z.getAllAccessorDeclarations(oe);return mr.setAccessor&&e.getSetAccessorTypeAnnotationNode(mr.setAccessor)||mr.getAccessor&&e.getEffectiveReturnTypeNode(mr.getAccessor)}function Sr(oe){switch(oe.kind){case 166:case 163:return Jr(oe.type);case 172:case 171:return Jr($e(oe));case 256:case 225:case 168:return d.createIdentifier(\"Function\");default:return d.createVoidZero()}}function Pr(oe,mr){var se=e.isClassLike(oe)?e.getFirstConstructorWithBody(oe):e.isFunctionLike(oe)&&e.nodeIsPresent(oe.body)?oe:void 0,Be=[];if(se)for(var er=He(se,mr),vr=er.length,qr=0;qr<vr;qr++){var Dt=er[qr];qr===0&&e.isIdentifier(Dt.name)&&Dt.name.escapedText===\"this\"||(Dt.dotDotDotToken?Be.push(Jr(e.getRestParameterElementType(Dt.type))):Be.push(Sr(Dt)))}return d.createArrayLiteralExpression(Be)}function He(oe,mr){if(mr&&oe.kind===171){var se=e.getAllAccessorDeclarations(mr.members,oe).setAccessor;if(se)return se.parameters}return oe.parameters}function pr(oe){return e.isFunctionLike(oe)&&oe.type?Jr(oe.type):e.isAsyncFunction(oe)?d.createIdentifier(\"Promise\"):d.createVoidZero()}function Jr(oe){if(oe===void 0)return d.createIdentifier(\"Object\");switch(oe.kind){case 114:case 152:case 143:return d.createVoidZero();case 190:return Jr(oe.type);case 178:case 179:return d.createIdentifier(\"Function\");case 182:case 183:return d.createIdentifier(\"Array\");case 176:case 133:return d.createIdentifier(\"Boolean\");case 149:return d.createIdentifier(\"String\");case 147:return d.createIdentifier(\"Object\");case 195:switch(oe.literal.kind){case 10:case 14:return d.createIdentifier(\"String\");case 218:case 8:return d.createIdentifier(\"Number\");case 9:return bn();case 110:case 95:return d.createIdentifier(\"Boolean\");case 104:return d.createVoidZero();default:return e.Debug.failBadSyntaxKind(oe.literal)}case 146:return d.createIdentifier(\"Number\");case 157:return bn();case 150:return M<2?cn():d.createIdentifier(\"Symbol\");case 177:return Lr(oe);case 187:case 186:return ze(oe.types);case 188:return ze([oe.trueType,oe.falseType]);case 192:if(oe.operator===144)return Jr(oe.type);break;case 180:case 193:case 194:case 181:case 130:case 154:case 191:case 199:break;case 310:case 311:case 315:case 316:case 317:break;case 312:case 313:case 314:return Jr(oe.type);default:return e.Debug.failBadSyntaxKind(oe)}return d.createIdentifier(\"Object\")}function ze(oe){for(var mr,se=0,Be=oe;se<Be.length;se++){for(var er=Be[se];er.kind===190;)er=er.type;if(er.kind!==143&&!(!b&&(er.kind===195&&er.literal.kind===104||er.kind===152))){var vr=Jr(er);if(e.isIdentifier(vr)&&vr.escapedText===\"Object\")return vr;if(mr){if(!e.isIdentifier(mr)||!e.isIdentifier(vr)||mr.escapedText!==vr.escapedText)return d.createIdentifier(\"Object\")}else mr=vr}}return mr||d.createVoidZero()}function Lr(oe){var mr=z.getTypeReferenceSerializationKind(oe.typeName,q||O);switch(mr){case e.TypeReferenceSerializationKind.Unknown:if(e.findAncestor(oe,function(er){return er.parent&&e.isConditionalTypeNode(er.parent)&&(er.parent.trueType===er||er.parent.falseType===er)}))return d.createIdentifier(\"Object\");var se=lt(oe.typeName),Be=d.createTempVariable(A);return d.createConditionalExpression(d.createTypeCheck(d.createAssignment(Be,se),\"function\"),void 0,Be,void 0,d.createIdentifier(\"Object\"));case e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue:return tt(oe.typeName);case e.TypeReferenceSerializationKind.VoidNullableOrNeverType:return d.createVoidZero();case e.TypeReferenceSerializationKind.BigIntLikeType:return bn();case e.TypeReferenceSerializationKind.BooleanType:return d.createIdentifier(\"Boolean\");case e.TypeReferenceSerializationKind.NumberLikeType:return d.createIdentifier(\"Number\");case e.TypeReferenceSerializationKind.StringLikeType:return d.createIdentifier(\"String\");case e.TypeReferenceSerializationKind.ArrayLikeType:return d.createIdentifier(\"Array\");case e.TypeReferenceSerializationKind.ESSymbolType:return M<2?cn():d.createIdentifier(\"Symbol\");case e.TypeReferenceSerializationKind.TypeWithCallSignature:return d.createIdentifier(\"Function\");case e.TypeReferenceSerializationKind.Promise:return d.createIdentifier(\"Promise\");case e.TypeReferenceSerializationKind.ObjectType:return d.createIdentifier(\"Object\");default:return e.Debug.assertNever(mr)}}function Yr(oe,mr){return d.createLogicalAnd(d.createStrictInequality(d.createTypeOfExpression(oe),d.createStringLiteral(\"undefined\")),mr)}function lt(oe){if(oe.kind===79){var mr=tt(oe);return Yr(mr,mr)}if(oe.left.kind===79)return Yr(tt(oe.left),tt(oe));var se=lt(oe.left),Be=d.createTempVariable(A);return d.createLogicalAnd(d.createLogicalAnd(se.left,d.createStrictInequality(d.createAssignment(Be,se.right),d.createVoidZero())),d.createPropertyAccessExpression(Be,oe.right))}function tt(oe){switch(oe.kind){case 79:var mr=e.setParent(e.setTextRange(e.parseNodeFactory.cloneNode(oe),oe),oe.parent);return mr.original=void 0,e.setParent(mr,e.getParseTreeNode(O)),mr;case 160:return Rt(oe)}}function Rt(oe){return d.createPropertyAccessExpression(tt(oe.left),oe.right)}function cn(){return d.createConditionalExpression(d.createTypeCheck(d.createIdentifier(\"Symbol\"),\"function\"),void 0,d.createIdentifier(\"Symbol\"),void 0,d.createIdentifier(\"Object\"))}function bn(){return M<99?d.createConditionalExpression(d.createTypeCheck(d.createIdentifier(\"BigInt\"),\"function\"),void 0,d.createIdentifier(\"BigInt\"),void 0,d.createIdentifier(\"Object\")):d.createIdentifier(\"BigInt\")}function In(oe,mr){var se=oe.name;return e.isPrivateIdentifier(se)?d.createIdentifier(\"\"):e.isComputedPropertyName(se)?mr&&!e.isSimpleInlineableExpression(se.expression)?d.getGeneratedNameForNode(se):se.expression:e.isIdentifier(se)?d.createStringLiteral(e.idText(se)):d.cloneNode(se)}function zn(oe){var mr=oe.name;if(e.isComputedPropertyName(mr)&&(!e.hasStaticModifier(oe)&&ne||e.some(oe.decorators))){var se=e.visitNode(mr.expression,C,e.isExpression),Be=e.skipPartiallyEmittedExpressions(se);if(!e.isSimpleInlineableExpression(Be)){var er=d.getGeneratedNameForNode(mr);return A(er),d.updateComputedPropertyName(mr,d.createAssignment(er,se))}}return e.visitNode(mr,C,e.isPropertyName)}function ir(oe){if(oe.token!==117)return e.visitEachChild(oe,C,a)}function Or(oe){return d.updateExpressionWithTypeArguments(oe,e.visitNode(oe.expression,C,e.isLeftHandSideExpression),void 0)}function sr(oe){return!e.nodeIsMissing(oe.body)}function ye(oe){if(!(oe.flags&8388608||e.hasSyntacticModifier(oe,128))){var mr=d.updatePropertyDeclaration(oe,void 0,e.visitNodes(oe.modifiers,C,e.isModifier),zn(oe),void 0,void 0,e.visitNode(oe.initializer,C));return mr!==oe&&(e.setCommentRange(mr,oe),e.setSourceMapRange(mr,e.moveRangePastDecorators(oe))),mr}}function or(oe){if(!!sr(oe))return d.updateConstructorDeclaration(oe,void 0,void 0,e.visitParameterList(oe.parameters,C,a),fe(oe.body,oe))}function fe(oe,mr){var se=mr&&e.filter(mr.parameters,function(qr){return e.isParameterPropertyDeclaration(qr,mr)});if(!e.some(se))return e.visitFunctionBody(oe,C,a);var Be=[],er=0;h(),er=e.addPrologueDirectivesAndInitialSuperCall(d,mr,Be,C),e.addRange(Be,e.map(se,je)),e.addRange(Be,e.visitNodes(oe.statements,C,e.isStatement,er)),Be=d.mergeLexicalEnvironment(Be,v());var vr=d.createBlock(e.setTextRange(d.createNodeArray(Be),oe.statements),!0);return e.setTextRange(vr,oe),e.setOriginalNode(vr,oe),vr}function je(oe){var mr=oe.name;if(!!e.isIdentifier(mr)){var se=e.setParent(e.setTextRange(d.cloneNode(mr),mr),mr.parent);e.setEmitFlags(se,1584);var Be=e.setParent(e.setTextRange(d.cloneNode(mr),mr),mr.parent);return e.setEmitFlags(Be,1536),e.startOnNewLine(e.removeAllComments(e.setTextRange(e.setOriginalNode(d.createExpressionStatement(d.createAssignment(e.setTextRange(d.createPropertyAccessExpression(d.createThis(),se),oe.name),Be)),oe),e.moveRangePos(oe,-1))))}}function Ee(oe){if(!!sr(oe)){var mr=d.updateMethodDeclaration(oe,void 0,e.visitNodes(oe.modifiers,Se,e.isModifier),oe.asteriskToken,zn(oe),void 0,void 0,e.visitParameterList(oe.parameters,C,a),void 0,e.visitFunctionBody(oe.body,C,a));return mr!==oe&&(e.setCommentRange(mr,oe),e.setSourceMapRange(mr,e.moveRangePastDecorators(oe))),mr}}function We(oe){return!(e.nodeIsMissing(oe.body)&&e.hasSyntacticModifier(oe,128))}function $(oe){if(!!We(oe)){var mr=d.updateGetAccessorDeclaration(oe,void 0,e.visitNodes(oe.modifiers,Se,e.isModifier),zn(oe),e.visitParameterList(oe.parameters,C,a),void 0,e.visitFunctionBody(oe.body,C,a)||d.createBlock([]));return mr!==oe&&(e.setCommentRange(mr,oe),e.setSourceMapRange(mr,e.moveRangePastDecorators(oe))),mr}}function Ne(oe){if(!!We(oe)){var mr=d.updateSetAccessorDeclaration(oe,void 0,e.visitNodes(oe.modifiers,Se,e.isModifier),zn(oe),e.visitParameterList(oe.parameters,C,a),e.visitFunctionBody(oe.body,C,a)||d.createBlock([]));return mr!==oe&&(e.setCommentRange(mr,oe),e.setSourceMapRange(mr,e.moveRangePastDecorators(oe))),mr}}function me(oe){if(!sr(oe))return d.createNotEmittedStatement(oe);var mr=d.updateFunctionDeclaration(oe,void 0,e.visitNodes(oe.modifiers,Se,e.isModifier),oe.asteriskToken,oe.name,void 0,e.visitParameterList(oe.parameters,C,a),void 0,e.visitFunctionBody(oe.body,C,a)||d.createBlock([]));if(Ci(oe)){var se=[mr];return Ka(se,oe),se}return mr}function Ze(oe){if(!sr(oe))return d.createOmittedExpression();var mr=d.updateFunctionExpression(oe,e.visitNodes(oe.modifiers,Se,e.isModifier),oe.asteriskToken,oe.name,void 0,e.visitParameterList(oe.parameters,C,a),void 0,e.visitFunctionBody(oe.body,C,a)||d.createBlock([]));return mr}function Cr(oe){var mr=d.updateArrowFunction(oe,e.visitNodes(oe.modifiers,Se,e.isModifier),void 0,e.visitParameterList(oe.parameters,C,a),void 0,oe.equalsGreaterThanToken,e.visitFunctionBody(oe.body,C,a));return mr}function fr(oe){if(!e.parameterIsThisKeyword(oe)){var mr=d.updateParameterDeclaration(oe,void 0,void 0,oe.dotDotDotToken,e.visitNode(oe.name,C,e.isBindingName),void 0,void 0,e.visitNode(oe.initializer,C,e.isExpression));return mr!==oe&&(e.setCommentRange(mr,oe),e.setTextRange(mr,e.moveRangePastModifiers(oe)),e.setSourceMapRange(mr,e.moveRangePastModifiers(oe)),e.setEmitFlags(mr.name,32)),mr}}function dr(oe){if(Ci(oe)){var mr=e.getInitializedVariables(oe.declarationList);return mr.length===0?void 0:e.setTextRange(d.createExpressionStatement(d.inlineExpressions(e.map(mr,et))),oe)}else return e.visitEachChild(oe,C,a)}function et(oe){var mr=oe.name;return e.isBindingPattern(mr)?e.flattenDestructuringAssignment(oe,C,a,0,!1,io):e.setTextRange(d.createAssignment(ji(mr),e.visitNode(oe.initializer,C,e.isExpression)),oe)}function yt(oe){return d.updateVariableDeclaration(oe,e.visitNode(oe.name,C,e.isBindingName),void 0,void 0,e.visitNode(oe.initializer,C,e.isExpression))}function Vr(oe){var mr=e.skipOuterExpressions(oe.expression,-7);if(e.isAssertionExpression(mr)){var se=e.visitNode(oe.expression,C,e.isExpression);return e.length(e.getLeadingCommentRangesOfNode(se,I))?d.updateParenthesizedExpression(oe,se):d.createPartiallyEmittedExpression(se,oe)}return e.visitEachChild(oe,C,a)}function tr(oe){var mr=e.visitNode(oe.expression,C,e.isExpression);return d.createPartiallyEmittedExpression(mr,oe)}function xr(oe){var mr=e.visitNode(oe.expression,C,e.isLeftHandSideExpression);return d.createPartiallyEmittedExpression(mr,oe)}function Nr(oe){return d.updateCallExpression(oe,e.visitNode(oe.expression,C,e.isExpression),void 0,e.visitNodes(oe.arguments,C,e.isExpression))}function zr(oe){return d.updateNewExpression(oe,e.visitNode(oe.expression,C,e.isExpression),void 0,e.visitNodes(oe.arguments,C,e.isExpression))}function gt(oe){return d.updateTaggedTemplateExpression(oe,e.visitNode(oe.tag,C,e.isExpression),void 0,e.visitNode(oe.template,C,e.isExpression))}function vt(oe){return d.updateJsxSelfClosingElement(oe,e.visitNode(oe.tagName,C,e.isJsxTagNameExpression),void 0,e.visitNode(oe.attributes,C,e.isJsxAttributes))}function ut(oe){return d.updateJsxOpeningElement(oe,e.visitNode(oe.tagName,C,e.isJsxTagNameExpression),void 0,e.visitNode(oe.attributes,C,e.isJsxAttributes))}function ht(oe){return!e.isEnumConst(oe)||e.shouldPreserveConstEnums(ie)}function xt(oe){if(!ht(oe))return d.createNotEmittedStatement(oe);var mr=[],se=2,Be=Wn(mr,oe);Be&&(S!==e.ModuleKind.System||O!==I)&&(se|=512);var er=Hi(oe),vr=to(oe),qr=e.hasSyntacticModifier(oe,1)?d.getExternalModuleOrNamespaceExportName(x,oe,!1,!0):d.getLocalName(oe,!1,!0),Dt=d.createLogicalOr(qr,d.createAssignment(qr,d.createObjectLiteralExpression()));if(sa(oe)){var Jt=d.getLocalName(oe,!1,!0);Dt=d.createAssignment(Jt,Dt)}var Sn=d.createExpressionStatement(d.createCallExpression(d.createFunctionExpression(void 0,void 0,void 0,void 0,[d.createParameterDeclaration(void 0,void 0,void 0,er)],void 0,wt(oe,vr)),void 0,[Dt]));return e.setOriginalNode(Sn,oe),Be&&(e.setSyntheticLeadingComments(Sn,void 0),e.setSyntheticTrailingComments(Sn,void 0)),e.setTextRange(Sn,oe),e.addEmitFlags(Sn,se),mr.push(Sn),mr.push(d.createEndOfDeclarationMarker(oe)),mr}function wt(oe,mr){var se=x;x=mr;var Be=[];J();var er=e.map(oe.members,Qt);return e.insertStatementsAfterStandardPrologue(Be,v()),e.addRange(Be,er),x=se,d.createBlock(e.setTextRange(d.createNodeArray(Be),oe.members),!0)}function Qt(oe){var mr=In(oe,!1),se=mt(oe),Be=d.createAssignment(d.createElementAccessExpression(x,mr),se),er=se.kind===10?Be:d.createAssignment(d.createElementAccessExpression(x,Be),mr);return e.setTextRange(d.createExpressionStatement(e.setTextRange(er,oe)),oe)}function mt(oe){var mr=z.getConstantValue(oe);return mr!==void 0?typeof mr==\"string\"?d.createStringLiteral(mr):d.createNumericLiteral(mr):(Ha(),oe.initializer?e.visitNode(oe.initializer,C,e.isExpression):d.createVoidZero())}function rn(oe){var mr=e.getParseTreeNode(oe,e.isModuleDeclaration);return mr?e.isInstantiatedModule(mr,e.shouldPreserveConstEnums(ie)):!0}function sa(oe){return Ci(oe)||_i(oe)&&S!==e.ModuleKind.ES2015&&S!==e.ModuleKind.ES2020&&S!==e.ModuleKind.ES2022&&S!==e.ModuleKind.ESNext&&S!==e.ModuleKind.System}function ba(oe){Z||(Z=new e.Map);var mr=na(oe);Z.has(mr)||Z.set(mr,oe)}function Jn(oe){if(Z){var mr=na(oe);return Z.get(mr)===oe}return!0}function na(oe){return e.Debug.assertNode(oe.name,e.isIdentifier),oe.name.escapedText}function Wn(oe,mr){var se=d.createVariableStatement(e.visitNodes(mr.modifiers,Se,e.isModifier),d.createVariableDeclarationList([d.createVariableDeclaration(d.getLocalName(mr,!1,!0))],O.kind===303?0:1));if(e.setOriginalNode(se,mr),ba(mr),Jn(mr))return mr.kind===259?e.setSourceMapRange(se.declarationList,mr):e.setSourceMapRange(se,mr),e.setCommentRange(se,mr),e.addEmitFlags(se,4195328),oe.push(se),!0;var Be=d.createMergeDeclarationMarker(se);return e.setEmitFlags(Be,4195840),oe.push(Be),!1}function en(oe){if(!rn(oe))return d.createNotEmittedStatement(oe);e.Debug.assertNode(oe.name,e.isIdentifier,\"A TypeScript namespace should have an Identifier name.\"),co();var mr=[],se=2,Be=Wn(mr,oe);Be&&(S!==e.ModuleKind.System||O!==I)&&(se|=512);var er=Hi(oe),vr=to(oe),qr=e.hasSyntacticModifier(oe,1)?d.getExternalModuleOrNamespaceExportName(x,oe,!1,!0):d.getLocalName(oe,!1,!0),Dt=d.createLogicalOr(qr,d.createAssignment(qr,d.createObjectLiteralExpression()));if(sa(oe)){var Jt=d.getLocalName(oe,!1,!0);Dt=d.createAssignment(Jt,Dt)}var Sn=d.createExpressionStatement(d.createCallExpression(d.createFunctionExpression(void 0,void 0,void 0,void 0,[d.createParameterDeclaration(void 0,void 0,void 0,er)],void 0,St(oe,vr)),void 0,[Dt]));return e.setOriginalNode(Sn,oe),Be&&(e.setSyntheticLeadingComments(Sn,void 0),e.setSyntheticTrailingComments(Sn,void 0)),e.setTextRange(Sn,oe),e.addEmitFlags(Sn,se),mr.push(Sn),mr.push(d.createEndOfDeclarationMarker(oe)),mr}function St(oe,mr){var se=x,Be=w,er=Z;x=mr,w=oe,Z=void 0;var vr=[];J();var qr,Dt;if(oe.body)if(oe.body.kind===261)y(oe.body,function(xa){return e.addRange(vr,e.visitNodes(xa.statements,te,e.isStatement))}),qr=oe.body.statements,Dt=oe.body;else{var Jt=en(oe.body);Jt&&(e.isArray(Jt)?e.addRange(vr,Jt):vr.push(Jt));var Sn=Ut(oe).body;qr=e.moveRangePos(Sn.statements,-1)}e.insertStatementsAfterStandardPrologue(vr,v()),x=se,w=Be,Z=er;var ta=d.createBlock(e.setTextRange(d.createNodeArray(vr),qr),!0);return e.setTextRange(ta,Dt),(!oe.body||oe.body.kind!==261)&&e.setEmitFlags(ta,e.getEmitFlags(ta)|1536),ta}function Ut(oe){if(oe.body.kind===260){var mr=Ut(oe.body);return mr||oe.body}}function qt(oe){if(!oe.importClause)return oe;if(!oe.importClause.isTypeOnly){var mr=e.visitNode(oe.importClause,Mn,e.isImportClause);return mr||ie.importsNotUsedAsValues===1||ie.importsNotUsedAsValues===2?d.updateImportDeclaration(oe,void 0,void 0,mr,oe.moduleSpecifier,oe.assertClause):void 0}}function Mn(oe){e.Debug.assert(!oe.isTypeOnly);var mr=Oe(oe)?oe.name:void 0,se=e.visitNode(oe.namedBindings,dn,e.isNamedImportBindings);return mr||se?d.updateImportClause(oe,!1,mr,se):void 0}function dn(oe){if(oe.kind===267)return Oe(oe)?oe:void 0;var mr=ie.preserveValueImports&&(ie.importsNotUsedAsValues===1||ie.importsNotUsedAsValues===2),se=e.visitNodes(oe.elements,oa,e.isImportSpecifier);return mr||e.some(se)?d.updateNamedImports(oe,se):void 0}function oa(oe){return!oe.isTypeOnly&&Oe(oe)?oe:void 0}function pt(oe){return z.isValueAliasDeclaration(oe)?e.visitEachChild(oe,C,a):void 0}function _t(oe){if(!oe.isTypeOnly){if(!oe.exportClause||e.isNamespaceExport(oe.exportClause))return oe;var mr=!!oe.moduleSpecifier&&(ie.importsNotUsedAsValues===1||ie.importsNotUsedAsValues===2),se=e.visitNode(oe.exportClause,function(Be){return rt(Be,mr)},e.isNamedExportBindings);return se?d.updateExportDeclaration(oe,void 0,void 0,oe.isTypeOnly,se,oe.moduleSpecifier,oe.assertClause):void 0}}function Mt(oe,mr){var se=e.visitNodes(oe.elements,Cn,e.isExportSpecifier);return mr||e.some(se)?d.updateNamedExports(oe,se):void 0}function It(oe){return d.updateNamespaceExport(oe,e.visitNode(oe.name,C,e.isIdentifier))}function rt(oe,mr){return e.isNamespaceExport(oe)?It(oe):Mt(oe,mr)}function Cn(oe){return!oe.isTypeOnly&&z.isValueAliasDeclaration(oe)?oe:void 0}function Qn(oe){return Oe(oe)||!e.isExternalModule(I)&&z.isTopLevelValueImportEqualsWithEntityName(oe)}function Ra(oe){if(!oe.isTypeOnly){if(e.isExternalModuleImportEqualsDeclaration(oe)){var mr=Oe(oe);return!mr&&ie.importsNotUsedAsValues===1?e.setOriginalNode(e.setTextRange(d.createImportDeclaration(void 0,void 0,void 0,oe.moduleReference.expression,void 0),oe),oe):mr?e.visitEachChild(oe,C,a):void 0}if(!!Qn(oe)){var se=e.createExpressionFromEntityName(d,oe.moduleReference);return e.setEmitFlags(se,3584),va(oe)||!Ci(oe)?e.setOriginalNode(e.setTextRange(d.createVariableStatement(e.visitNodes(oe.modifiers,Se,e.isModifier),d.createVariableDeclarationList([e.setOriginalNode(d.createVariableDeclaration(oe.name,void 0,void 0,se),oe)])),oe),oe):e.setOriginalNode(Mi(oe.name,se,oe),oe)}}}function Ci(oe){return w!==void 0&&e.hasSyntacticModifier(oe,1)}function _i(oe){return w===void 0&&e.hasSyntacticModifier(oe,1)}function va(oe){return _i(oe)&&!e.hasSyntacticModifier(oe,512)}function yi(oe){return _i(oe)&&e.hasSyntacticModifier(oe,512)}function ro(oe){return d.createExpressionStatement(oe)}function Ka(oe,mr){var se=d.createAssignment(d.getExternalModuleOrNamespaceExportName(x,mr,!1,!0),d.getLocalName(mr));e.setSourceMapRange(se,e.createRange(mr.name?mr.name.pos:mr.pos,mr.end));var Be=d.createExpressionStatement(se);e.setSourceMapRange(Be,e.createRange(-1,mr.end)),oe.push(Be)}function Mi(oe,mr,se){return e.setTextRange(d.createExpressionStatement(d.createAssignment(d.getNamespaceMemberName(x,oe,!1,!0),mr)),se)}function io(oe,mr,se){return e.setTextRange(d.createAssignment(ji(oe),mr),se)}function ji(oe){return d.getNamespaceMemberName(x,oe,!1,!0)}function Hi(oe){var mr=d.getGeneratedNameForNode(oe);return e.setSourceMapRange(mr,oe.name),mr}function to(oe){return d.getGeneratedNameForNode(oe)}function No(oe){if(z.getNodeCheckFlags(oe)&16777216){Yo();var mr=d.createUniqueName(oe.name&&!e.isGeneratedIdentifier(oe.name)?e.idText(oe.name):\"default\");return Q[e.getOriginalNodeId(oe)]=mr,A(mr),mr}}function lo(oe){return d.createPropertyAccessExpression(d.getDeclarationName(oe),\"prototype\")}function Lo(oe,mr){return e.isStatic(mr)?d.getDeclarationName(oe):lo(oe)}function Ha(){(F&8)===0&&(F|=8,a.enableSubstitution(79))}function Yo(){(F&1)===0&&(F|=1,a.enableSubstitution(79),Q=[])}function co(){(F&2)===0&&(F|=2,a.enableSubstitution(79),a.enableSubstitution(295),a.enableEmitNotification(260))}function za(oe){return e.getOriginalNode(oe).kind===260}function hi(oe){return e.getOriginalNode(oe).kind===259}function Zi(oe,mr,se){var Be=V,er=I;e.isSourceFile(mr)&&(I=mr),F&2&&za(mr)&&(V|=2),F&8&&hi(mr)&&(V|=8),B(oe,mr,se),V=Be,I=er}function Mo(oe,mr){return mr=H(oe,mr),oe===1?Fo(mr):e.isShorthandPropertyAssignment(mr)?Po(mr):mr}function Po(oe){if(F&2){var mr=oe.name,se=Cs(mr);if(se){if(oe.objectAssignmentInitializer){var Be=d.createAssignment(se,oe.objectAssignmentInitializer);return e.setTextRange(d.createPropertyAssignment(mr,Be),oe)}return e.setTextRange(d.createPropertyAssignment(mr,se),oe)}}return oe}function Fo(oe){switch(oe.kind){case 79:return zo(oe);case 205:return hr(oe);case 206:return dt(oe)}return oe}function zo(oe){return Es(oe)||Cs(oe)||oe}function Es(oe){if(F&1&&z.getNodeCheckFlags(oe)&33554432){var mr=z.getReferencedValueDeclaration(oe);if(mr){var se=Q[mr.id];if(se){var Be=d.cloneNode(se);return e.setSourceMapRange(Be,oe),e.setCommentRange(Be,oe),Be}}}}function Cs(oe){if(F&V&&!e.isGeneratedIdentifier(oe)&&!e.isLocalName(oe)){var mr=z.getReferencedExportContainer(oe,!1);if(mr&&mr.kind!==303){var se=V&2&&mr.kind===260||V&8&&mr.kind===259;if(se)return e.setTextRange(d.createPropertyAccessExpression(d.getGeneratedNameForNode(mr),oe),oe)}}}function hr(oe){return tn(oe)}function dt(oe){return tn(oe)}function tn(oe){var mr=Un(oe);if(mr!==void 0){e.setConstantValue(oe,mr);var se=typeof mr==\"string\"?d.createStringLiteral(mr):d.createNumericLiteral(mr);if(!ie.removeComments){var Be=e.getOriginalNode(oe,e.isAccessExpression),er=e.isPropertyAccessExpression(Be)?e.declarationNameToString(Be.name):e.getTextOfNode(Be.argumentExpression);e.addSyntheticTrailingComment(se,3,\" \".concat(er,\" \"))}return se}return oe}function Un(oe){if(!ie.isolatedModules)return e.isPropertyAccessExpression(oe)||e.isElementAccessExpression(oe)?z.getConstantValue(oe):void 0}function Oe(oe){return ie.preserveValueImports?z.isValueAliasDeclaration(oe):z.isReferencedAliasDeclaration(oe)}}e.transformTypeScript=p}(jr||(jr={})),function(e){var n;(function(h){h[h.ClassAliases=1]=\"ClassAliases\",h[h.ClassStaticThisOrSuperReference=2]=\"ClassStaticThisOrSuperReference\"})(n||(n={})),function(h){h.Field=\"f\",h.Method=\"m\",h.Accessor=\"a\"}(e.PrivateIdentifierKind||(e.PrivateIdentifierKind={}));var f;(function(h){h[h.None=0]=\"None\",h[h.ClassWasDecorated=1]=\"ClassWasDecorated\",h[h.NeedsClassConstructorReference=2]=\"NeedsClassConstructorReference\",h[h.NeedsClassSuperReference=4]=\"NeedsClassSuperReference\",h[h.NeedsSubstitutionForThisInClassStaticField=8]=\"NeedsSubstitutionForThisInClassStaticField\"})(f||(f={}));function p(h){var v=h.factory,A=h.hoistVariableDeclaration,z=h.endLexicalEnvironment,ie=h.startLexicalEnvironment,b=h.resumeLexicalEnvironment,M=h.addBlockScopedVariable,S=h.getEmitResolver(),B=h.getCompilerOptions(),H=e.getEmitScriptTarget(B),I=e.getUseDefineForClassFields(B),w=H<99,x=(H<=8||!I)&&H>=2,O=H<=8||!I,q=h.onSubstituteNode;h.onSubstituteNode=ze;var Z=h.onEmitNode;h.onEmitNode=Jr;var ne,F,Q,V,re=[],T=new e.Map,N,y,D;return e.chainBundle(h,C);function C($){var Ne=h.getCompilerOptions();if($.isDeclarationFile||I&&e.getEmitScriptTarget(Ne)===99)return $;var me=e.visitEachChild($,g,h);return e.addEmitHelpers(me,h.readEmitHelpers()),me}function m($,Ne){if($.transformFlags&8388608)switch($.kind){case 225:case 256:return Xe($);case 166:return U($);case 236:return Se($);case 80:return ue($);case 169:return Ar($)}if($.transformFlags&8388608||$.transformFlags&33554432&&x&&D&&N)switch($.kind){case 218:case 219:return Pe($,Ne);case 220:return Le($,Ne);case 207:return ve($);case 209:return Ve($);case 205:return ge($);case 206:return ke($);case 237:return Ge($);case 241:return Ie($);case 255:case 212:case 170:case 168:case 171:case 172:{var me=D;D=void 0;var Ze=e.visitEachChild($,g,h);return D=me,Ze}}return e.visitEachChild($,g,h)}function u($){return m($,!0)}function g($){return m($,!1)}function P($){switch($.kind){case 290:return e.visitEachChild($,P,h);case 227:return Dr($)}return g($)}function te($){switch($.kind){case 204:case 203:return We($);default:return g($)}}function ue($){return!w||e.isStatement($.parent)?$:e.setOriginalNode(v.createIdentifier(\"\"),$)}function X($){if(!w)return $;var Ne=$.left;e.Debug.assertNode(Ne,e.isPrivateIdentifier),e.Debug.assert($.operatorToken.kind===101);var me=or(Ne);if(me){var Ze=e.visitNode($.right,g,e.isExpression);return e.setOriginalNode(h.getEmitHelperFactory().createClassPrivateFieldInHelper(me.brandCheckIdentifier,Ze),$)}return e.visitEachChild($,g,h)}function j($){switch($.kind){case 170:return;case 171:case 172:case 168:return R($);case 166:return U($);case 161:return Ce($);case 233:return $;default:return g($)}}function Se($){var Ne=V;V=[];var me=e.visitEachChild($,g,h),Ze=e.some(V)?Gt([me],V,!0):me;return V=Ne,Ze}function Ce($){var Ne=e.visitEachChild($,g,h);if(e.some(Q)){var me=Q;me.push(Ne.expression),Q=[],Ne=v.updateComputedPropertyName(Ne,v.inlineExpressions(me))}return Ne}function R($){if(e.Debug.assert(!e.some($.decorators)),!w||!e.isPrivateIdentifier($.name))return e.visitEachChild($,j,h);var Ne=or($.name);if(e.Debug.assert(Ne,\"Undeclared private name for property declaration.\"),!Ne.isValid)return $;var me=Y($);me&&ir().push(v.createAssignment(me,v.createFunctionExpression(e.filter($.modifiers,function(Ze){return!e.isStaticModifier(Ze)}),$.asteriskToken,me,void 0,e.visitParameterList($.parameters,j,h),void 0,e.visitFunctionBody($.body,j,h))))}function Y($){e.Debug.assert(e.isPrivateIdentifier($.name));var Ne=or($.name);if(e.Debug.assert(Ne,\"Undeclared private name for property declaration.\"),Ne.kind===\"m\")return Ne.methodName;if(Ne.kind===\"a\"){if(e.isGetAccessor($))return Ne.getterName;if(e.isSetAccessor($))return Ne.setterName}}function U($){if(e.Debug.assert(!e.some($.decorators)),e.isPrivateIdentifier($.name)){if(!w)return v.updatePropertyDeclaration($,void 0,e.visitNodes($.modifiers,g,e.isModifier),$.name,void 0,void 0,void 0);var Ne=or($.name);if(e.Debug.assert(Ne,\"Undeclared private name for property declaration.\"),!Ne.isValid)return $}var me=Rt($.name,!!$.initializer||I);me&&!e.isSimpleInlineableExpression(me)&&ir().push(me)}function K($,Ne){return Te($,e.visitNode(Ne,g,e.isExpression))}function Te($,Ne){switch(e.setCommentRange(Ne,e.moveRangePos(Ne,-1)),$.kind){case\"a\":return h.getEmitHelperFactory().createClassPrivateFieldGetHelper(Ne,$.brandCheckIdentifier,$.kind,$.getterName);case\"m\":return h.getEmitHelperFactory().createClassPrivateFieldGetHelper(Ne,$.brandCheckIdentifier,$.kind,$.methodName);case\"f\":return h.getEmitHelperFactory().createClassPrivateFieldGetHelper(Ne,$.brandCheckIdentifier,$.kind,$.variableName);default:e.Debug.assertNever($,\"Unknown private element type\")}}function ge($){if(w&&e.isPrivateIdentifier($.name)){var Ne=or($.name);if(Ne)return e.setTextRange(e.setOriginalNode(K(Ne,$.expression),$),$)}if(x&&e.isSuperProperty($)&&e.isIdentifier($.name)&&D&&N){var me=N.classConstructor,Ze=N.superClassReference,Cr=N.facts;if(Cr&1)return pr($);if(me&&Ze){var fr=v.createReflectGetCall(Ze,v.createStringLiteralFromNode($.name),me);return e.setOriginalNode(fr,$.expression),e.setTextRange(fr,$.expression),fr}}return e.visitEachChild($,g,h)}function ke($){if(x&&e.isSuperProperty($)&&D&&N){var Ne=N.classConstructor,me=N.superClassReference,Ze=N.facts;if(Ze&1)return pr($);if(Ne&&me){var Cr=v.createReflectGetCall(me,e.visitNode($.argumentExpression,g,e.isExpression),Ne);return e.setOriginalNode(Cr,$.expression),e.setTextRange(Cr,$.expression),Cr}}return e.visitEachChild($,g,h)}function Pe($,Ne){if($.operator===45||$.operator===46){if(w&&e.isPrivateIdentifierPropertyAccessExpression($.operand)){var me=void 0;if(me=or($.operand.name)){var Ze=e.visitNode($.operand.expression,g,e.isExpression),Cr=he(Ze),fr=Cr.readExpression,dr=Cr.initializeExpression,et=K(me,fr),yt=e.isPrefixUnaryExpression($)||Ne?void 0:v.createTempVariable(A);return et=e.expandPreOrPostfixIncrementOrDecrementExpression(v,$,et,A,yt),et=qe(me,dr||fr,et,63),e.setOriginalNode(et,$),e.setTextRange(et,$),yt&&(et=v.createComma(et,yt),e.setTextRange(et,$)),et}}else if(x&&e.isSuperProperty($.operand)&&D&&N){var Vr=N.classConstructor,tr=N.superClassReference,xr=N.facts;if(xr&1){var Nr=pr($.operand);return e.isPrefixUnaryExpression($)?v.updatePrefixUnaryExpression($,Nr):v.updatePostfixUnaryExpression($,Nr)}if(Vr&&tr){var zr=void 0,gt=void 0;if(e.isPropertyAccessExpression($.operand)?e.isIdentifier($.operand.name)&&(gt=zr=v.createStringLiteralFromNode($.operand.name)):e.isSimpleInlineableExpression($.operand.argumentExpression)?gt=zr=$.operand.argumentExpression:(gt=v.createTempVariable(A),zr=v.createAssignment(gt,e.visitNode($.operand.argumentExpression,g,e.isExpression))),zr&&gt){var et=v.createReflectGetCall(tr,gt,Vr);e.setTextRange(et,$.operand);var yt=Ne?void 0:v.createTempVariable(A);return et=e.expandPreOrPostfixIncrementOrDecrementExpression(v,$,et,A,yt),et=v.createReflectSetCall(tr,zr,et,Vr),e.setOriginalNode(et,$),e.setTextRange(et,$),yt&&(et=v.createComma(et,yt),e.setTextRange(et,$)),et}}}}return e.visitEachChild($,g,h)}function Ie($){return v.updateForStatement($,e.visitNode($.initializer,u,e.isForInitializer),e.visitNode($.condition,g,e.isExpression),e.visitNode($.incrementor,u,e.isExpression),e.visitIterationBody($.statement,g,h))}function Ge($){return v.updateExpressionStatement($,e.visitNode($.expression,u,e.isExpression))}function he($){var Ne=e.nodeIsSynthesized($)?$:v.cloneNode($);if(e.isSimpleInlineableExpression($))return{readExpression:Ne,initializeExpression:void 0};var me=v.createTempVariable(A),Ze=v.createAssignment(me,Ne);return{readExpression:me,initializeExpression:Ze}}function ve($){if(w&&e.isPrivateIdentifierPropertyAccessExpression($.expression)){var Ne=v.createCallBinding($.expression,A,H),me=Ne.thisArg,Ze=Ne.target;return e.isCallChain($)?v.updateCallChain($,v.createPropertyAccessChain(e.visitNode(Ze,g),$.questionDotToken,\"call\"),void 0,void 0,Gt([e.visitNode(me,g,e.isExpression)],e.visitNodes($.arguments,g,e.isExpression),!0)):v.updateCallExpression($,v.createPropertyAccessExpression(e.visitNode(Ze,g),\"call\"),void 0,Gt([e.visitNode(me,g,e.isExpression)],e.visitNodes($.arguments,g,e.isExpression),!0))}if(x&&e.isSuperProperty($.expression)&&D&&(N==null?void 0:N.classConstructor)){var Cr=v.createFunctionCallCall(e.visitNode($.expression,g,e.isExpression),N.classConstructor,e.visitNodes($.arguments,g,e.isExpression));return e.setOriginalNode(Cr,$),e.setTextRange(Cr,$),Cr}return e.visitEachChild($,g,h)}function Ve($){if(w&&e.isPrivateIdentifierPropertyAccessExpression($.tag)){var Ne=v.createCallBinding($.tag,A,H),me=Ne.thisArg,Ze=Ne.target;return v.updateTaggedTemplateExpression($,v.createCallExpression(v.createPropertyAccessExpression(e.visitNode(Ze,g),\"bind\"),void 0,[e.visitNode(me,g,e.isExpression)]),void 0,e.visitNode($.template,g,e.isTemplateLiteral))}if(x&&e.isSuperProperty($.tag)&&D&&(N==null?void 0:N.classConstructor)){var Cr=v.createFunctionBindCall(e.visitNode($.tag,g,e.isExpression),N.classConstructor,[]);return e.setOriginalNode(Cr,$),e.setTextRange(Cr,$),v.updateTaggedTemplateExpression($,Cr,void 0,e.visitNode($.template,g,e.isTemplateLiteral))}return e.visitEachChild($,g,h)}function _e($){if(w){N&&T.set(e.getOriginalNodeId($),N),ie();var Ne=D;D=$;var me=e.visitNodes($.body.statements,g,e.isStatement);me=v.mergeLexicalEnvironment(me,z()),D=Ne;var Ze=v.createImmediatelyInvokedArrowFunction(me);return e.setOriginalNode(Ze,$),e.setTextRange(Ze,$),e.addEmitFlags(Ze,2),Ze}}function Le($,Ne){if(e.isDestructuringAssignment($)){var me=Q;Q=void 0,$=v.updateBinaryExpression($,e.visitNode($.left,te),$.operatorToken,e.visitNode($.right,g));var Ze=e.some(Q)?v.inlineExpressions(e.compact(Gt(Gt([],Q,!0),[$],!1))):$;return Q=me,Ze}if(e.isAssignmentExpression($)){if(w&&e.isPrivateIdentifierPropertyAccessExpression($.left)){var Cr=or($.left.name);if(Cr)return e.setTextRange(e.setOriginalNode(qe(Cr,$.left.expression,$.right,$.operatorToken.kind),$),$)}else if(x&&e.isSuperProperty($.left)&&D&&N){var fr=N.classConstructor,dr=N.superClassReference,et=N.facts;if(et&1)return v.updateBinaryExpression($,pr($.left),$.operatorToken,e.visitNode($.right,g,e.isExpression));if(fr&&dr){var yt=e.isElementAccessExpression($.left)?e.visitNode($.left.argumentExpression,g,e.isExpression):e.isIdentifier($.left.name)?v.createStringLiteralFromNode($.left.name):void 0;if(yt){var Vr=e.visitNode($.right,g,e.isExpression);if(e.isCompoundAssignment($.operatorToken.kind)){var tr=yt;e.isSimpleInlineableExpression(yt)||(tr=v.createTempVariable(A),yt=v.createAssignment(tr,yt));var xr=v.createReflectGetCall(dr,tr,fr);e.setOriginalNode(xr,$.left),e.setTextRange(xr,$.left),Vr=v.createBinaryExpression(xr,e.getNonAssignmentOperatorForCompoundAssignment($.operatorToken.kind),Vr),e.setTextRange(Vr,$)}var Nr=Ne?void 0:v.createTempVariable(A);return Nr&&(Vr=v.createAssignment(Nr,Vr),e.setTextRange(Nr,$)),Vr=v.createReflectSetCall(dr,yt,Vr,fr),e.setOriginalNode(Vr,$),e.setTextRange(Vr,$),Nr&&(Vr=v.createComma(Vr,Nr),e.setTextRange(Vr,$)),Vr}}}}return $.operatorToken.kind===101&&e.isPrivateIdentifier($.left)?X($):e.visitEachChild($,g,h)}function qe($,Ne,me,Ze){if(Ne=e.visitNode(Ne,g,e.isExpression),me=e.visitNode(me,g,e.isExpression),e.isCompoundAssignment(Ze)){var Cr=he(Ne),fr=Cr.readExpression,dr=Cr.initializeExpression;Ne=dr||fr,me=v.createBinaryExpression(Te($,fr),e.getNonAssignmentOperatorForCompoundAssignment(Ze),me)}switch(e.setCommentRange(Ne,e.moveRangePos(Ne,-1)),$.kind){case\"a\":return h.getEmitHelperFactory().createClassPrivateFieldSetHelper(Ne,$.brandCheckIdentifier,me,$.kind,$.setterName);case\"m\":return h.getEmitHelperFactory().createClassPrivateFieldSetHelper(Ne,$.brandCheckIdentifier,me,$.kind,void 0);case\"f\":return h.getEmitHelperFactory().createClassPrivateFieldSetHelper(Ne,$.brandCheckIdentifier,me,$.kind,$.variableName);default:e.Debug.assertNever($,\"Unknown private element type\")}}function Xe($){if(!e.forEach($.members,De))return e.visitEachChild($,g,h);var Ne=Q;if(Q=void 0,cn(),w){var me=e.getNameOfDeclaration($);me&&e.isIdentifier(me)&&(zn().className=e.idText(me));var Ze=Ae($);e.some(Ze)&&(zn().weakSetName=sr(\"instances\",Ze[0].name))}var Cr=e.isClassDeclaration($)?br($):lr($);return bn(),Q=Ne,Cr}function De($){return e.isPropertyDeclaration($)||e.isClassStaticBlockDeclaration($)||w&&$.name&&e.isPrivateIdentifier($.name)}function Ae($){return e.filter($.members,e.isNonStaticMethodOrAccessorWithPrivateName)}function Ye($){var Ne=0,me=e.getOriginalNode($);e.isClassDeclaration(me)&&e.classOrConstructorParameterIsDecorated(me)&&(Ne|=1);for(var Ze=0,Cr=$.members;Ze<Cr.length;Ze++){var fr=Cr[Ze];!e.isStatic(fr)||(fr.name&&e.isPrivateIdentifier(fr.name)&&w&&(Ne|=2),(e.isPropertyDeclaration(fr)||e.isClassStaticBlockDeclaration(fr))&&(O&&fr.transformFlags&8192&&(Ne|=8,Ne&1||(Ne|=2)),x&&fr.transformFlags&33554432&&(Ne&1||(Ne|=6))))}return Ne}function Dr($){var Ne=(N==null?void 0:N.facts)||0;if(Ne&4){var me=v.createTempVariable(A,!0);return In().superClassReference=me,v.updateExpressionWithTypeArguments($,v.createAssignment(me,e.visitNode($.expression,g,e.isExpression)),void 0)}return e.visitEachChild($,g,h)}function br($){var Ne=Ye($);Ne&&(In().facts=Ne),Ne&8&&Pr();var me=e.getStaticPropertiesAndClassStaticBlock($),Ze;if(Ne&2){var Cr=v.createTempVariable(A,!0);In().classConstructor=v.cloneNode(Cr),Ze=v.createAssignment(Cr,v.getInternalName($))}var fr=e.getEffectiveBaseTypeNode($),dr=!!(fr&&e.skipOuterExpressions(fr.expression).kind!==104),et=[v.updateClassDeclaration($,void 0,$.modifiers,$.name,void 0,e.visitNodes($.heritageClauses,P,e.isHeritageClause),kr($,dr))];return Ze&&ir().unshift(Ze),e.some(Q)&&et.push(v.createExpressionStatement(v.inlineExpressions(Q))),e.some(me)&&gr(et,me,v.getInternalName($)),et}function lr($){var Ne=Ye($);Ne&&(In().facts=Ne),Ne&8&&Pr();var me=!!(Ne&1),Ze=e.getStaticPropertiesAndClassStaticBlock($),Cr=e.getEffectiveBaseTypeNode($),fr=!!(Cr&&e.skipOuterExpressions(Cr.expression).kind!==104),dr=S.getNodeCheckFlags($)&16777216,et;function yt(){var zr=S.getNodeCheckFlags($),gt=zr&16777216,vt=zr&524288;return v.createTempVariable(vt?M:A,!!gt)}Ne&2&&(et=yt(),In().classConstructor=v.cloneNode(et));var Vr=v.updateClassExpression($,e.visitNodes($.decorators,g,e.isDecorator),$.modifiers,$.name,void 0,e.visitNodes($.heritageClauses,P,e.isHeritageClause),kr($,fr)),tr=e.some(Ze,function(zr){return e.isClassStaticBlockDeclaration(zr)||!!zr.initializer||w&&e.isPrivateIdentifier(zr.name)});if(tr||e.some(Q)){if(me)return e.Debug.assertIsDefined(V,\"Decorated classes transformed by TypeScript are expected to be within a variable declaration.\"),V&&Q&&e.some(Q)&&V.push(v.createExpressionStatement(v.inlineExpressions(Q))),V&&e.some(Ze)&&gr(V,Ze,v.getInternalName($)),et?v.inlineExpressions([v.createAssignment(et,Vr),et]):Vr;var xr=[];if(et||(et=yt()),dr){Sr();var Nr=v.cloneNode(et);Nr.autoGenerateFlags&=-9,F[e.getOriginalNodeId($)]=Nr}return e.setEmitFlags(Vr,65536|e.getEmitFlags(Vr)),xr.push(e.startOnNewLine(v.createAssignment(et,Vr))),e.addRange(xr,e.map(Q,e.startOnNewLine)),e.addRange(xr,de(Ze,et)),xr.push(e.startOnNewLine(et)),v.inlineExpressions(xr)}return Vr}function Ar($){if(!w)return e.visitEachChild($,j,h)}function kr($,Ne){if(w){for(var me=0,Ze=$.members;me<Ze.length;me++){var Cr=Ze[me];e.isPrivateIdentifierClassElementDeclaration(Cr)&&Or(Cr)}e.some(Ae($))&&Ke()}var fr=[],dr=Hr($,Ne);return dr&&fr.push(dr),e.addRange(fr,e.visitNodes($.members,j,e.isClassElement)),e.setTextRange(v.createNodeArray(fr),$.members)}function Ke(){var $=zn().weakSetName;e.Debug.assert($,\"weakSetName should be set in private identifier environment\"),ir().push(v.createAssignment($,v.createNewExpression(v.createIdentifier(\"WeakSet\"),void 0,[])))}function Me($){return e.isStatic($)||e.hasSyntacticModifier(e.getOriginalNode($),128)?!1:I?H<99:e.isInitializedProperty($)||w&&e.isPrivateIdentifierClassElementDeclaration($)}function Hr($,Ne){var me=e.visitNode(e.getFirstConstructorWithBody($),g,e.isConstructorDeclaration),Ze=$.members.filter(Me);if(!e.some(Ze))return me;var Cr=e.visitParameterList(me?me.parameters:void 0,g,h),fr=ur($,me,Ne);if(!!fr)return e.startOnNewLine(e.setOriginalNode(e.setTextRange(v.createConstructorDeclaration(void 0,void 0,Cr!=null?Cr:[],fr),me||$),me))}function ur($,Ne,me){var Ze=e.getProperties($,!1,!1);I||(Ze=e.filter(Ze,function(tr){return!!tr.initializer||e.isPrivateIdentifier(tr.name)}));var Cr=Ae($),fr=e.some(Ze)||e.some(Cr);if(!Ne&&!fr)return e.visitFunctionBody(void 0,g,h);b();var dr=0,et=[];if(!Ne&&me&&et.push(v.createExpressionStatement(v.createCallExpression(v.createSuper(),void 0,[v.createSpreadElement(v.createIdentifier(\"arguments\"))]))),Ne&&(dr=e.addPrologueDirectivesAndInitialSuperCall(v,Ne,et,g)),Ne!=null&&Ne.body){var yt=e.findIndex(Ne.body.statements,function(tr){return!e.isParameterPropertyDeclaration(e.getOriginalNode(tr),Ne)},dr);yt===-1&&(yt=Ne.body.statements.length),yt>dr&&(I||e.addRange(et,e.visitNodes(Ne.body.statements,g,e.isStatement,dr,yt-dr)),dr=yt)}var Vr=v.createThis();return He(et,Cr,Vr),gr(et,Ze,Vr),Ne&&e.addRange(et,e.visitNodes(Ne.body.statements,g,e.isStatement,dr)),et=v.mergeLexicalEnvironment(et,z()),e.setTextRange(v.createBlock(e.setTextRange(v.createNodeArray(et),Ne?Ne.body.statements:$.members),!0),Ne?Ne.body:void 0)}function gr($,Ne,me){for(var Ze=0,Cr=Ne;Ze<Cr.length;Ze++){var fr=Cr[Ze],dr=e.isClassStaticBlockDeclaration(fr)?_e(fr):Fe(fr,me);if(!!dr){var et=v.createExpressionStatement(dr);e.setSourceMapRange(et,e.moveRangePastModifiers(fr)),e.setCommentRange(et,fr),e.setOriginalNode(et,fr),$.push(et)}}}function de($,Ne){for(var me=[],Ze=0,Cr=$;Ze<Cr.length;Ze++){var fr=Cr[Ze],dr=e.isClassStaticBlockDeclaration(fr)?_e(fr):Fe(fr,Ne);!dr||(e.startOnNewLine(dr),e.setSourceMapRange(dr,e.moveRangePastModifiers(fr)),e.setCommentRange(dr,fr),e.setOriginalNode(dr,fr),me.push(dr))}return me}function Fe($,Ne){var me=D,Ze=$e($,Ne);return Ze&&e.hasStaticModifier($)&&(N==null?void 0:N.facts)&&(e.setOriginalNode(Ze,$),e.addEmitFlags(Ze,2),T.set(e.getOriginalNodeId(Ze),N)),D=me,Ze}function $e($,Ne){var me,Ze=!I,Cr=e.isComputedPropertyName($.name)&&!e.isSimpleInlineableExpression($.name.expression)?v.updateComputedPropertyName($.name,v.getGeneratedNameForNode($.name)):$.name;if(e.hasStaticModifier($)&&(D=$),w&&e.isPrivateIdentifier(Cr)){var fr=or(Cr);if(fr)return fr.kind===\"f\"?fr.isStatic?a(fr.variableName,e.visitNode($.initializer,g,e.isExpression)):d(Ne,e.visitNode($.initializer,g,e.isExpression),fr.brandCheckIdentifier):void 0;e.Debug.fail(\"Undeclared private name for property declaration.\")}if(!((e.isPrivateIdentifier(Cr)||e.hasStaticModifier($))&&!$.initializer)){var dr=e.getOriginalNode($);if(!e.hasSyntacticModifier(dr,128)){var et=$.initializer||Ze?(me=e.visitNode($.initializer,g,e.isExpression))!==null&&me!==void 0?me:v.createVoidZero():e.isParameterPropertyDeclaration(dr,dr.parent)&&e.isIdentifier(Cr)?Cr:v.createVoidZero();if(Ze||e.isPrivateIdentifier(Cr)){var yt=e.createMemberAccessForPropertyName(v,Ne,Cr,Cr);return v.createAssignment(yt,et)}else{var Vr=e.isComputedPropertyName(Cr)?Cr.expression:e.isIdentifier(Cr)?v.createStringLiteral(e.unescapeLeadingUnderscores(Cr.escapedText)):Cr,tr=v.createPropertyDescriptor({value:et,configurable:!0,writable:!0,enumerable:!0});return v.createObjectDefinePropertyCall(Ne,Vr,tr)}}}}function Sr(){(ne&1)===0&&(ne|=1,h.enableSubstitution(79),F=[])}function Pr(){(ne&2)===0&&(ne|=2,h.enableSubstitution(108),h.enableEmitNotification(255),h.enableEmitNotification(212),h.enableEmitNotification(170),h.enableEmitNotification(171),h.enableEmitNotification(172),h.enableEmitNotification(168),h.enableEmitNotification(166),h.enableEmitNotification(161))}function He($,Ne,me){if(!(!w||!e.some(Ne))){var Ze=zn().weakSetName;e.Debug.assert(Ze,\"weakSetName should be set in private identifier environment\"),$.push(v.createExpressionStatement(k(me,Ze)))}}function pr($){return e.isPropertyAccessExpression($)?v.updatePropertyAccessExpression($,v.createVoidZero(),$.name):v.updateElementAccessExpression($,v.createVoidZero(),e.visitNode($.argumentExpression,g,e.isExpression))}function Jr($,Ne,me){var Ze=e.getOriginalNode(Ne);if(Ze.id){var Cr=T.get(Ze.id);if(Cr){var fr=N,dr=y;N=Cr,y=Cr,Z($,Ne,me),N=fr,y=dr;return}}switch(Ne.kind){case 212:if(e.isArrowFunction(Ze)||e.getEmitFlags(Ne)&262144)break;case 255:case 170:{var fr=N,dr=y;N=void 0,y=void 0,Z($,Ne,me),N=fr,y=dr;return}case 171:case 172:case 168:case 166:{var fr=N,dr=y;y=N,N=void 0,Z($,Ne,me),N=fr,y=dr;return}case 161:{var fr=N,dr=y;N=y,y=void 0,Z($,Ne,me),N=fr,y=dr;return}}Z($,Ne,me)}function ze($,Ne){return Ne=q($,Ne),$===1?Lr(Ne):Ne}function Lr($){switch($.kind){case 79:return lt($);case 108:return Yr($)}return $}function Yr($){if(ne&2&&N){var Ne=N.facts,me=N.classConstructor;if(Ne&1)return v.createParenthesizedExpression(v.createVoidZero());if(me)return e.setTextRange(e.setOriginalNode(v.cloneNode(me),$),$)}return $}function lt($){return tt($)||$}function tt($){if(ne&1&&S.getNodeCheckFlags($)&33554432){var Ne=S.getReferencedValueDeclaration($);if(Ne){var me=F[Ne.id];if(me){var Ze=v.cloneNode(me);return e.setSourceMapRange(Ze,$),e.setCommentRange(Ze,$),Ze}}}}function Rt($,Ne){if(e.isComputedPropertyName($)){var me=e.visitNode($.expression,g,e.isExpression),Ze=e.skipPartiallyEmittedExpressions(me),Cr=e.isSimpleInlineableExpression(Ze),fr=e.isAssignmentExpression(Ze)&&e.isGeneratedIdentifier(Ze.left);if(!fr&&!Cr&&Ne){var dr=v.getGeneratedNameForNode($);return S.getNodeCheckFlags($)&524288?M(dr):A(dr),v.createAssignment(dr,me)}return Cr||e.isIdentifier(Ze)?void 0:me}}function cn(){re.push(N),N=void 0}function bn(){N=re.pop()}function In(){return N||(N={facts:0,classConstructor:void 0,superClassReference:void 0,privateIdentifierEnvironment:void 0})}function zn(){var $=In();return $.privateIdentifierEnvironment||($.privateIdentifierEnvironment={className:\"\",identifiers:new e.Map}),$.privateIdentifierEnvironment}function ir(){return Q||(Q=[])}function Or($){var Ne,me=e.getTextOfPropertyName($.name),Ze=In(),Cr=Ze.classConstructor,fr=zn(),dr=fr.weakSetName,et=[],yt=$.name.escapedText,Vr=fr.identifiers.get(yt),tr=!J($.name)&&Vr===void 0;if(e.hasStaticModifier($))if(e.Debug.assert(Cr,\"weakSetName should be set in private identifier environment\"),e.isPropertyDeclaration($)){var xr=ye(me,$);fr.identifiers.set(yt,{kind:\"f\",variableName:xr,brandCheckIdentifier:Cr,isStatic:!0,isValid:tr})}else if(e.isMethodDeclaration($)){var Nr=ye(me,$);fr.identifiers.set(yt,{kind:\"m\",methodName:Nr,brandCheckIdentifier:Cr,isStatic:!0,isValid:tr})}else if(e.isGetAccessorDeclaration($)){var zr=ye(me+\"_get\",$);(Vr==null?void 0:Vr.kind)===\"a\"&&Vr.isStatic&&!Vr.getterName?Vr.getterName=zr:fr.identifiers.set(yt,{kind:\"a\",getterName:zr,setterName:void 0,brandCheckIdentifier:Cr,isStatic:!0,isValid:tr})}else if(e.isSetAccessorDeclaration($)){var gt=ye(me+\"_set\",$);(Vr==null?void 0:Vr.kind)===\"a\"&&Vr.isStatic&&!Vr.setterName?Vr.setterName=gt:fr.identifiers.set(yt,{kind:\"a\",getterName:void 0,setterName:gt,brandCheckIdentifier:Cr,isStatic:!0,isValid:tr})}else e.Debug.assertNever($,\"Unknown class element type.\");else if(e.isPropertyDeclaration($)){var vt=ye(me,$);fr.identifiers.set(yt,{kind:\"f\",brandCheckIdentifier:vt,isStatic:!1,variableName:void 0,isValid:tr}),et.push(v.createAssignment(vt,v.createNewExpression(v.createIdentifier(\"WeakMap\"),void 0,[])))}else if(e.isMethodDeclaration($))e.Debug.assert(dr,\"weakSetName should be set in private identifier environment\"),fr.identifiers.set(yt,{kind:\"m\",methodName:ye(me,$),brandCheckIdentifier:dr,isStatic:!1,isValid:tr});else if(e.isAccessor($))if(e.Debug.assert(dr,\"weakSetName should be set in private identifier environment\"),e.isGetAccessor($)){var zr=ye(me+\"_get\",$);(Vr==null?void 0:Vr.kind)===\"a\"&&!Vr.isStatic&&!Vr.getterName?Vr.getterName=zr:fr.identifiers.set(yt,{kind:\"a\",getterName:zr,setterName:void 0,brandCheckIdentifier:dr,isStatic:!1,isValid:tr})}else{var gt=ye(me+\"_set\",$);(Vr==null?void 0:Vr.kind)===\"a\"&&!Vr.isStatic&&!Vr.setterName?Vr.setterName=gt:fr.identifiers.set(yt,{kind:\"a\",getterName:void 0,setterName:gt,brandCheckIdentifier:dr,isStatic:!1,isValid:tr})}else e.Debug.assertNever($,\"Unknown class element type.\");(Ne=ir()).push.apply(Ne,et)}function sr($,Ne){var me=zn().className,Ze=me?\"_\".concat(me):\"\",Cr=v.createUniqueName(\"\".concat(Ze,\"_\").concat($),16);return S.getNodeCheckFlags(Ne)&524288?M(Cr):A(Cr),Cr}function ye($,Ne){return sr($.substring(1),Ne.name)}function or($){var Ne;if(N!=null&&N.privateIdentifierEnvironment){var me=N.privateIdentifierEnvironment.identifiers.get($.escapedText);if(me)return me}for(var Ze=re.length-1;Ze>=0;--Ze){var Cr=re[Ze];if(!!Cr){var me=(Ne=Cr.privateIdentifierEnvironment)===null||Ne===void 0?void 0:Ne.identifiers.get($.escapedText);if(me)return me}}}function fe($){var Ne=v.getGeneratedNameForNode($),me=or($.name);if(!me)return e.visitEachChild($,g,h);var Ze=$.expression;return(e.isThisProperty($)||e.isSuperProperty($)||!e.isSimpleCopiableExpression($.expression))&&(Ze=v.createTempVariable(A,!0),ir().push(v.createBinaryExpression(Ze,63,e.visitNode($.expression,g,e.isExpression)))),v.createAssignmentTargetWrapper(Ne,qe(me,Ze,Ne,63))}function je($){var Ne=e.getTargetOfBindingOrAssignmentElement($);if(Ne){var me=void 0;if(e.isPrivateIdentifierPropertyAccessExpression(Ne))me=fe(Ne);else if(x&&e.isSuperProperty(Ne)&&D&&N){var Ze=N.classConstructor,Cr=N.superClassReference,fr=N.facts;if(fr&1)me=pr(Ne);else if(Ze&&Cr){var dr=e.isElementAccessExpression(Ne)?e.visitNode(Ne.argumentExpression,g,e.isExpression):e.isIdentifier(Ne.name)?v.createStringLiteralFromNode(Ne.name):void 0;if(dr){var et=v.createTempVariable(void 0);me=v.createAssignmentTargetWrapper(et,v.createReflectSetCall(Cr,dr,et,Ze))}}}if(me)return e.isAssignmentExpression($)?v.updateBinaryExpression($,me,$.operatorToken,e.visitNode($.right,g,e.isExpression)):e.isSpreadElement($)?v.updateSpreadElement($,me):me}return e.visitNode($,te)}function Ee($){if(e.isObjectBindingOrAssignmentElement($)&&!e.isShorthandPropertyAssignment($)){var Ne=e.getTargetOfBindingOrAssignmentElement($),me=void 0;if(Ne){if(e.isPrivateIdentifierPropertyAccessExpression(Ne))me=fe(Ne);else if(x&&e.isSuperProperty(Ne)&&D&&N){var Ze=N.classConstructor,Cr=N.superClassReference,fr=N.facts;if(fr&1)me=pr(Ne);else if(Ze&&Cr){var dr=e.isElementAccessExpression(Ne)?e.visitNode(Ne.argumentExpression,g,e.isExpression):e.isIdentifier(Ne.name)?v.createStringLiteralFromNode(Ne.name):void 0;if(dr){var et=v.createTempVariable(void 0);me=v.createAssignmentTargetWrapper(et,v.createReflectSetCall(Cr,dr,et,Ze))}}}}if(e.isPropertyAssignment($)){var yt=e.getInitializerOfBindingOrAssignmentElement($);return v.updatePropertyAssignment($,e.visitNode($.name,g,e.isPropertyName),me?yt?v.createAssignment(me,e.visitNode(yt,g)):me:e.visitNode($.initializer,te,e.isExpression))}if(e.isSpreadAssignment($))return v.updateSpreadAssignment($,me||e.visitNode($.expression,te,e.isExpression));e.Debug.assert(me===void 0,\"Should not have generated a wrapped target\")}return e.visitNode($,g)}function We($){return e.isArrayLiteralExpression($)?v.updateArrayLiteralExpression($,e.visitNodes($.elements,je,e.isExpression)):v.updateObjectLiteralExpression($,e.visitNodes($.properties,Ee,e.isObjectLiteralElementLike))}}e.transformClassFields=p;function a(h,v){return e.factory.createAssignment(h,e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment(\"value\",v||e.factory.createVoidZero())]))}function d(h,v,A){return e.factory.createCallExpression(e.factory.createPropertyAccessExpression(A,\"set\"),void 0,[h,v||e.factory.createVoidZero()])}function k(h,v){return e.factory.createCallExpression(e.factory.createPropertyAccessExpression(v,\"add\"),void 0,[h])}function J(h){return h.escapedText===\"#constructor\"}}(jr||(jr={})),function(e){var n;(function(d){d[d.AsyncMethodsWithSuper=1]=\"AsyncMethodsWithSuper\"})(n||(n={}));var f;(function(d){d[d.NonTopLevel=1]=\"NonTopLevel\",d[d.HasLexicalThis=2]=\"HasLexicalThis\"})(f||(f={}));function p(d){var k=d.factory,J=d.getEmitHelperFactory,h=d.resumeLexicalEnvironment,v=d.endLexicalEnvironment,A=d.hoistVariableDeclaration,z=d.getEmitResolver(),ie=d.getCompilerOptions(),b=e.getEmitScriptTarget(ie),M,S=0,B,H,I,w=[],x=0,O=d.onEmitNode,q=d.onSubstituteNode;return d.onEmitNode=Ge,d.onSubstituteNode=he,e.chainBundle(d,Z);function Z(De){if(De.isDeclarationFile)return De;ne(1,!1),ne(2,!e.isEffectiveStrictModeSourceFile(De,ie));var Ae=e.visitEachChild(De,N,d);return e.addEmitHelpers(Ae,d.readEmitHelpers()),Ae}function ne(De,Ae){x=Ae?x|De:x&~De}function F(De){return(x&De)!==0}function Q(){return!F(1)}function V(){return F(2)}function re(De,Ae,Ye){var Dr=De&~x;if(Dr){ne(Dr,!0);var br=Ae(Ye);return ne(Dr,!1),br}return Ae(Ye)}function T(De){return e.visitEachChild(De,N,d)}function N(De){if((De.transformFlags&128)===0)return De;switch(De.kind){case 131:return;case 217:return P(De);case 168:return re(3,te,De);case 255:return re(3,ue,De);case 212:return re(3,X,De);case 213:return re(1,j,De);case 205:return H&&e.isPropertyAccessExpression(De)&&De.expression.kind===106&&H.add(De.name.escapedText),e.visitEachChild(De,N,d);case 206:return H&&De.expression.kind===106&&(I=!0),e.visitEachChild(De,N,d);case 171:case 172:case 170:case 256:case 225:return re(3,T,De);default:return e.visitEachChild(De,N,d)}}function y(De){if(e.isNodeWithPossibleHoistedDeclaration(De))switch(De.kind){case 236:return C(De);case 241:return g(De);case 242:return m(De);case 243:return u(De);case 291:return D(De);case 234:case 248:case 262:case 288:case 289:case 251:case 239:case 240:case 238:case 247:case 249:return e.visitEachChild(De,y,d);default:return e.Debug.assertNever(De,\"Unhandled node.\")}return N(De)}function D(De){var Ae=new e.Set;Se(De.variableDeclaration,Ae);var Ye;if(Ae.forEach(function(lr,Ar){B.has(Ar)&&(Ye||(Ye=new e.Set(B)),Ye.delete(Ar))}),Ye){var Dr=B;B=Ye;var br=e.visitEachChild(De,y,d);return B=Dr,br}else return e.visitEachChild(De,y,d)}function C(De){if(Ce(De.declarationList)){var Ae=R(De.declarationList,!1);return Ae?k.createExpressionStatement(Ae):void 0}return e.visitEachChild(De,N,d)}function m(De){return k.updateForInStatement(De,Ce(De.initializer)?R(De.initializer,!0):e.visitNode(De.initializer,N,e.isForInitializer),e.visitNode(De.expression,N,e.isExpression),e.visitIterationBody(De.statement,y,d))}function u(De){return k.updateForOfStatement(De,e.visitNode(De.awaitModifier,N,e.isToken),Ce(De.initializer)?R(De.initializer,!0):e.visitNode(De.initializer,N,e.isForInitializer),e.visitNode(De.expression,N,e.isExpression),e.visitIterationBody(De.statement,y,d))}function g(De){var Ae=De.initializer;return k.updateForStatement(De,Ce(Ae)?R(Ae,!1):e.visitNode(De.initializer,N,e.isForInitializer),e.visitNode(De.condition,N,e.isExpression),e.visitNode(De.incrementor,N,e.isExpression),e.visitIterationBody(De.statement,y,d))}function P(De){return Q()?e.visitEachChild(De,N,d):e.setOriginalNode(e.setTextRange(k.createYieldExpression(void 0,e.visitNode(De.expression,N,e.isExpression)),De),De)}function te(De){return k.updateMethodDeclaration(De,void 0,e.visitNodes(De.modifiers,N,e.isModifier),De.asteriskToken,De.name,void 0,void 0,e.visitParameterList(De.parameters,N,d),void 0,e.getFunctionFlags(De)&2?ge(De):e.visitFunctionBody(De.body,N,d))}function ue(De){return k.updateFunctionDeclaration(De,void 0,e.visitNodes(De.modifiers,N,e.isModifier),De.asteriskToken,De.name,void 0,e.visitParameterList(De.parameters,N,d),void 0,e.getFunctionFlags(De)&2?ge(De):e.visitFunctionBody(De.body,N,d))}function X(De){return k.updateFunctionExpression(De,e.visitNodes(De.modifiers,N,e.isModifier),De.asteriskToken,De.name,void 0,e.visitParameterList(De.parameters,N,d),void 0,e.getFunctionFlags(De)&2?ge(De):e.visitFunctionBody(De.body,N,d))}function j(De){return k.updateArrowFunction(De,e.visitNodes(De.modifiers,N,e.isModifier),void 0,e.visitParameterList(De.parameters,N,d),void 0,De.equalsGreaterThanToken,e.getFunctionFlags(De)&2?ge(De):e.visitFunctionBody(De.body,N,d))}function Se(De,Ae){var Ye=De.name;if(e.isIdentifier(Ye))Ae.add(Ye.escapedText);else for(var Dr=0,br=Ye.elements;Dr<br.length;Dr++){var lr=br[Dr];e.isOmittedExpression(lr)||Se(lr,Ae)}}function Ce(De){return!!De&&e.isVariableDeclarationList(De)&&!(De.flags&3)&&De.declarations.some(Te)}function R(De,Ae){Y(De);var Ye=e.getInitializedVariables(De);return Ye.length===0?Ae?e.visitNode(k.converters.convertToAssignmentElementTarget(De.declarations[0].name),N,e.isExpression):void 0:k.inlineExpressions(e.map(Ye,K))}function Y(De){e.forEach(De.declarations,U)}function U(De){var Ae=De.name;if(e.isIdentifier(Ae))A(Ae);else for(var Ye=0,Dr=Ae.elements;Ye<Dr.length;Ye++){var br=Dr[Ye];e.isOmittedExpression(br)||U(br)}}function K(De){var Ae=e.setSourceMapRange(k.createAssignment(k.converters.convertToAssignmentElementTarget(De.name),De.initializer),De);return e.visitNode(Ae,N,e.isExpression)}function Te(De){var Ae=De.name;if(e.isIdentifier(Ae))return B.has(Ae.escapedText);for(var Ye=0,Dr=Ae.elements;Ye<Dr.length;Ye++){var br=Dr[Ye];if(!e.isOmittedExpression(br)&&Te(br))return!0}return!1}function ge(De){h();var Ae=e.getOriginalNode(De,e.isFunctionLike),Ye=Ae.type,Dr=b<2?Pe(Ye):void 0,br=De.kind===213,lr=(z.getNodeCheckFlags(De)&8192)!==0,Ar=B;B=new e.Set;for(var kr=0,Ke=De.parameters;kr<Ke.length;kr++){var Me=Ke[kr];Se(Me,B)}var Hr=H,ur=I;br||(H=new e.Set,I=!1);var gr;if(br){var He=J().createAwaiterHelper(V(),lr,Dr,ke(De.body)),pr=v();if(e.some(pr)){var Pr=k.converters.convertToFunctionBlock(He);gr=k.updateBlock(Pr,e.setTextRange(k.createNodeArray(e.concatenate(pr,Pr.statements)),Pr.statements))}else gr=He}else{var de=[],Fe=k.copyPrologue(De.body.statements,de,!1,N);de.push(k.createReturnStatement(J().createAwaiterHelper(V(),lr,Dr,ke(De.body,Fe)))),e.insertStatementsAfterStandardPrologue(de,v());var $e=b>=2&&z.getNodeCheckFlags(De)&6144;if($e&&(Ie(),H.size)){var Sr=a(k,z,De,H);w[e.getNodeId(Sr)]=!0,e.insertStatementsAfterStandardPrologue(de,[Sr])}var Pr=k.createBlock(de,!0);e.setTextRange(Pr,De.body),$e&&I&&(z.getNodeCheckFlags(De)&4096?e.addEmitHelper(Pr,e.advancedAsyncSuperHelper):z.getNodeCheckFlags(De)&2048&&e.addEmitHelper(Pr,e.asyncSuperHelper)),gr=Pr}return B=Ar,br||(H=Hr,I=ur),gr}function ke(De,Ae){return e.isBlock(De)?k.updateBlock(De,e.visitNodes(De.statements,y,e.isStatement,Ae)):k.converters.convertToFunctionBlock(e.visitNode(De,y,e.isConciseBody))}function Pe(De){var Ae=De&&e.getEntityNameFromTypeNode(De);if(Ae&&e.isEntityName(Ae)){var Ye=z.getTypeReferenceSerializationKind(Ae);if(Ye===e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue||Ye===e.TypeReferenceSerializationKind.Unknown)return Ae}}function Ie(){(M&1)===0&&(M|=1,d.enableSubstitution(207),d.enableSubstitution(205),d.enableSubstitution(206),d.enableEmitNotification(256),d.enableEmitNotification(168),d.enableEmitNotification(171),d.enableEmitNotification(172),d.enableEmitNotification(170),d.enableEmitNotification(236))}function Ge(De,Ae,Ye){if(M&1&&qe(Ae)){var Dr=z.getNodeCheckFlags(Ae)&6144;if(Dr!==S){var br=S;S=Dr,O(De,Ae,Ye),S=br;return}}else if(M&&w[e.getNodeId(Ae)]){var br=S;S=0,O(De,Ae,Ye),S=br;return}O(De,Ae,Ye)}function he(De,Ae){return Ae=q(De,Ae),De===1&&S?ve(Ae):Ae}function ve(De){switch(De.kind){case 205:return Ve(De);case 206:return _e(De);case 207:return Le(De)}return De}function Ve(De){return De.expression.kind===106?e.setTextRange(k.createPropertyAccessExpression(k.createUniqueName(\"_super\",48),De.name),De):De}function _e(De){return De.expression.kind===106?Xe(De.argumentExpression,De):De}function Le(De){var Ae=De.expression;if(e.isSuperProperty(Ae)){var Ye=e.isPropertyAccessExpression(Ae)?Ve(Ae):_e(Ae);return k.createCallExpression(k.createPropertyAccessExpression(Ye,\"call\"),void 0,Gt([k.createThis()],De.arguments,!0))}return De}function qe(De){var Ae=De.kind;return Ae===256||Ae===170||Ae===168||Ae===171||Ae===172}function Xe(De,Ae){return S&4096?e.setTextRange(k.createPropertyAccessExpression(k.createCallExpression(k.createUniqueName(\"_superIndex\",48),void 0,[De]),\"value\"),Ae):e.setTextRange(k.createCallExpression(k.createUniqueName(\"_superIndex\",48),void 0,[De]),Ae)}}e.transformES2017=p;function a(d,k,J,h){var v=(k.getNodeCheckFlags(J)&4096)!==0,A=[];return h.forEach(function(z,ie){var b=e.unescapeLeadingUnderscores(ie),M=[];M.push(d.createPropertyAssignment(\"get\",d.createArrowFunction(void 0,void 0,[],void 0,void 0,e.setEmitFlags(d.createPropertyAccessExpression(e.setEmitFlags(d.createSuper(),4),b),4)))),v&&M.push(d.createPropertyAssignment(\"set\",d.createArrowFunction(void 0,void 0,[d.createParameterDeclaration(void 0,void 0,void 0,\"v\",void 0,void 0,void 0)],void 0,void 0,d.createAssignment(e.setEmitFlags(d.createPropertyAccessExpression(e.setEmitFlags(d.createSuper(),4),b),4),d.createIdentifier(\"v\"))))),A.push(d.createPropertyAssignment(b,d.createObjectLiteralExpression(M)))}),d.createVariableStatement(void 0,d.createVariableDeclarationList([d.createVariableDeclaration(d.createUniqueName(\"_super\",48),void 0,void 0,d.createCallExpression(d.createPropertyAccessExpression(d.createIdentifier(\"Object\"),\"create\"),void 0,[d.createNull(),d.createObjectLiteralExpression(A,!0)]))],2))}e.createSuperAccessVariableStatement=a}(jr||(jr={})),function(e){var n;(function(a){a[a.AsyncMethodsWithSuper=1]=\"AsyncMethodsWithSuper\"})(n||(n={}));var f;(function(a){a[a.None=0]=\"None\",a[a.HasLexicalThis=1]=\"HasLexicalThis\",a[a.IterationContainer=2]=\"IterationContainer\",a[a.AncestorFactsMask=3]=\"AncestorFactsMask\",a[a.SourceFileIncludes=1]=\"SourceFileIncludes\",a[a.SourceFileExcludes=2]=\"SourceFileExcludes\",a[a.StrictModeSourceFileIncludes=0]=\"StrictModeSourceFileIncludes\",a[a.ClassOrFunctionIncludes=1]=\"ClassOrFunctionIncludes\",a[a.ClassOrFunctionExcludes=2]=\"ClassOrFunctionExcludes\",a[a.ArrowFunctionIncludes=0]=\"ArrowFunctionIncludes\",a[a.ArrowFunctionExcludes=2]=\"ArrowFunctionExcludes\",a[a.IterationStatementIncludes=2]=\"IterationStatementIncludes\",a[a.IterationStatementExcludes=0]=\"IterationStatementExcludes\"})(f||(f={}));function p(a){var d=a.factory,k=a.getEmitHelperFactory,J=a.resumeLexicalEnvironment,h=a.endLexicalEnvironment,v=a.hoistVariableDeclaration,A=a.getEmitResolver(),z=a.getCompilerOptions(),ie=e.getEmitScriptTarget(z),b=a.onEmitNode;a.onEmitNode=Hr;var M=a.onSubstituteNode;a.onSubstituteNode=ur;var S=!1,B,H,I=0,w=0,x,O,q,Z,ne=[];return e.chainBundle(a,T);function F(He,pr){return w!==(w&~He|pr)}function Q(He,pr){var Jr=w;return w=(w&~He|pr)&3,Jr}function V(He){w=He}function re(He){O=e.append(O,d.createVariableDeclaration(He))}function T(He){if(He.isDeclarationFile)return He;x=He;var pr=R(He);return e.addEmitHelpers(pr,a.readEmitHelpers()),x=void 0,O=void 0,pr}function N(He){return u(He,!1)}function y(He){return u(He,!0)}function D(He){if(He.kind!==131)return He}function C(He,pr,Jr,ze){if(F(Jr,ze)){var Lr=Q(Jr,ze),Yr=He(pr);return V(Lr),Yr}return He(pr)}function m(He){return e.visitEachChild(He,N,a)}function u(He,pr){if((He.transformFlags&64)===0)return He;switch(He.kind){case 217:return g(He);case 223:return P(He);case 246:return te(He);case 249:return ue(He);case 204:return j(He);case 220:return U(He,pr);case 349:return K(He,pr);case 291:return Te(He);case 236:return ge(He);case 253:return ke(He);case 239:case 240:case 242:return C(m,He,0,2);case 243:return he(He,void 0);case 241:return C(Ie,He,0,2);case 216:return Ge(He);case 170:return C(Xe,He,2,1);case 168:return C(Ye,He,2,1);case 171:return C(De,He,2,1);case 172:return C(Ae,He,2,1);case 255:return C(Dr,He,2,1);case 212:return C(lr,He,2,1);case 213:return C(br,He,2,0);case 163:return qe(He);case 237:return Se(He);case 211:return Ce(He,pr);case 209:return Y(He);case 205:return q&&e.isPropertyAccessExpression(He)&&He.expression.kind===106&&q.add(He.name.escapedText),e.visitEachChild(He,N,a);case 206:return q&&He.expression.kind===106&&(Z=!0),e.visitEachChild(He,N,a);case 256:case 225:return C(m,He,2,1);default:return e.visitEachChild(He,N,a)}}function g(He){return H&2&&H&1?e.setOriginalNode(e.setTextRange(d.createYieldExpression(void 0,k().createAwaitHelper(e.visitNode(He.expression,N,e.isExpression))),He),He):e.visitEachChild(He,N,a)}function P(He){if(H&2&&H&1){if(He.asteriskToken){var pr=e.visitNode(e.Debug.assertDefined(He.expression),N,e.isExpression);return e.setOriginalNode(e.setTextRange(d.createYieldExpression(void 0,k().createAwaitHelper(d.updateYieldExpression(He,He.asteriskToken,e.setTextRange(k().createAsyncDelegatorHelper(e.setTextRange(k().createAsyncValuesHelper(pr),pr)),pr)))),He),He)}return e.setOriginalNode(e.setTextRange(d.createYieldExpression(void 0,_e(He.expression?e.visitNode(He.expression,N,e.isExpression):d.createVoidZero())),He),He)}return e.visitEachChild(He,N,a)}function te(He){return H&2&&H&1?d.updateReturnStatement(He,_e(He.expression?e.visitNode(He.expression,N,e.isExpression):d.createVoidZero())):e.visitEachChild(He,N,a)}function ue(He){if(H&2){var pr=e.unwrapInnermostStatementOfLabel(He);return pr.kind===243&&pr.awaitModifier?he(pr,He):d.restoreEnclosingLabel(e.visitNode(pr,N,e.isStatement,d.liftToBlock),He)}return e.visitEachChild(He,N,a)}function X(He){for(var pr,Jr=[],ze=0,Lr=He;ze<Lr.length;ze++){var Yr=Lr[ze];if(Yr.kind===296){pr&&(Jr.push(d.createObjectLiteralExpression(pr)),pr=void 0);var lt=Yr.expression;Jr.push(e.visitNode(lt,N,e.isExpression))}else pr=e.append(pr,Yr.kind===294?d.createPropertyAssignment(Yr.name,e.visitNode(Yr.initializer,N,e.isExpression)):e.visitNode(Yr,N,e.isObjectLiteralElementLike))}return pr&&Jr.push(d.createObjectLiteralExpression(pr)),Jr}function j(He){if(He.transformFlags&32768){var pr=X(He.properties);pr.length&&pr[0].kind!==204&&pr.unshift(d.createObjectLiteralExpression());var Jr=pr[0];if(pr.length>1){for(var ze=1;ze<pr.length;ze++)Jr=k().createAssignHelper([Jr,pr[ze]]);return Jr}else return k().createAssignHelper(pr)}return e.visitEachChild(He,N,a)}function Se(He){return e.visitEachChild(He,y,a)}function Ce(He,pr){return e.visitEachChild(He,pr?y:N,a)}function R(He){var pr=Q(2,e.isEffectiveStrictModeSourceFile(He,z)?0:1);S=!1;var Jr=e.visitEachChild(He,N,a),ze=e.concatenate(Jr.statements,O&&[d.createVariableStatement(void 0,d.createVariableDeclarationList(O))]),Lr=d.updateSourceFile(Jr,e.setTextRange(d.createNodeArray(ze),He.statements));return V(pr),Lr}function Y(He){return e.processTaggedTemplateExpression(a,He,N,x,re,e.ProcessLevel.LiftRestriction)}function U(He,pr){return e.isDestructuringAssignment(He)&&He.left.transformFlags&32768?e.flattenDestructuringAssignment(He,N,a,1,!pr):He.operatorToken.kind===27?d.updateBinaryExpression(He,e.visitNode(He.left,y,e.isExpression),He.operatorToken,e.visitNode(He.right,pr?y:N,e.isExpression)):e.visitEachChild(He,N,a)}function K(He,pr){if(pr)return e.visitEachChild(He,y,a);for(var Jr,ze=0;ze<He.elements.length;ze++){var Lr=He.elements[ze],Yr=e.visitNode(Lr,ze<He.elements.length-1?y:N,e.isExpression);(Jr||Yr!==Lr)&&(Jr||(Jr=He.elements.slice(0,ze)),Jr.push(Yr))}var lt=Jr?e.setTextRange(d.createNodeArray(Jr),He.elements):He.elements;return d.updateCommaListExpression(He,lt)}function Te(He){if(He.variableDeclaration&&e.isBindingPattern(He.variableDeclaration.name)&&He.variableDeclaration.name.transformFlags&32768){var pr=d.getGeneratedNameForNode(He.variableDeclaration.name),Jr=d.updateVariableDeclaration(He.variableDeclaration,He.variableDeclaration.name,void 0,void 0,pr),ze=e.flattenDestructuringBinding(Jr,N,a,1),Lr=e.visitNode(He.block,N,e.isBlock);return e.some(ze)&&(Lr=d.updateBlock(Lr,Gt([d.createVariableStatement(void 0,ze)],Lr.statements,!0))),d.updateCatchClause(He,d.updateVariableDeclaration(He.variableDeclaration,pr,void 0,void 0,void 0),Lr)}return e.visitEachChild(He,N,a)}function ge(He){if(e.hasSyntacticModifier(He,1)){var pr=S;S=!0;var Jr=e.visitEachChild(He,N,a);return S=pr,Jr}return e.visitEachChild(He,N,a)}function ke(He){if(S){var pr=S;S=!1;var Jr=Pe(He,!0);return S=pr,Jr}return Pe(He,!1)}function Pe(He,pr){return e.isBindingPattern(He.name)&&He.name.transformFlags&32768?e.flattenDestructuringBinding(He,N,a,1,void 0,pr):e.visitEachChild(He,N,a)}function Ie(He){return d.updateForStatement(He,e.visitNode(He.initializer,y,e.isForInitializer),e.visitNode(He.condition,N,e.isExpression),e.visitNode(He.incrementor,y,e.isExpression),e.visitIterationBody(He.statement,N,a))}function Ge(He){return e.visitEachChild(He,y,a)}function he(He,pr){var Jr=Q(0,2);He.initializer.transformFlags&32768&&(He=ve(He));var ze=He.awaitModifier?Le(He,pr,Jr):d.restoreEnclosingLabel(e.visitEachChild(He,N,a),pr);return V(Jr),ze}function ve(He){var pr=e.skipParentheses(He.initializer);if(e.isVariableDeclarationList(pr)||e.isAssignmentPattern(pr)){var Jr=void 0,ze=void 0,Lr=d.createTempVariable(void 0),Yr=[e.createForOfBindingStatement(d,pr,Lr)];return e.isBlock(He.statement)?(e.addRange(Yr,He.statement.statements),Jr=He.statement,ze=He.statement.statements):He.statement&&(e.append(Yr,He.statement),Jr=He.statement,ze=He.statement),d.updateForOfStatement(He,He.awaitModifier,e.setTextRange(d.createVariableDeclarationList([e.setTextRange(d.createVariableDeclaration(Lr),He.initializer)],1),He.initializer),He.expression,e.setTextRange(d.createBlock(e.setTextRange(d.createNodeArray(Yr),ze),!0),Jr))}return He}function Ve(He,pr){var Jr=e.createForOfBindingStatement(d,He.initializer,pr),ze,Lr,Yr=[e.visitNode(Jr,N,e.isStatement)],lt=e.visitIterationBody(He.statement,N,a);return e.isBlock(lt)?(e.addRange(Yr,lt.statements),ze=lt,Lr=lt.statements):Yr.push(lt),e.setEmitFlags(e.setTextRange(d.createBlock(e.setTextRange(d.createNodeArray(Yr),Lr),!0),ze),432)}function _e(He){return H&1?d.createYieldExpression(void 0,k().createAwaitHelper(He)):d.createAwaitExpression(He)}function Le(He,pr,Jr){var ze=e.visitNode(He.expression,N,e.isExpression),Lr=e.isIdentifier(ze)?d.getGeneratedNameForNode(ze):d.createTempVariable(void 0),Yr=e.isIdentifier(ze)?d.getGeneratedNameForNode(Lr):d.createTempVariable(void 0),lt=d.createUniqueName(\"e\"),tt=d.getGeneratedNameForNode(lt),Rt=d.createTempVariable(void 0),cn=e.setTextRange(k().createAsyncValuesHelper(ze),He.expression),bn=d.createCallExpression(d.createPropertyAccessExpression(Lr,\"next\"),void 0,[]),In=d.createPropertyAccessExpression(Yr,\"done\"),zn=d.createPropertyAccessExpression(Yr,\"value\"),ir=d.createFunctionCallCall(Rt,Lr,[]);v(lt),v(Rt);var Or=Jr&2?d.inlineExpressions([d.createAssignment(lt,d.createVoidZero()),cn]):cn,sr=e.setEmitFlags(e.setTextRange(d.createForStatement(e.setEmitFlags(e.setTextRange(d.createVariableDeclarationList([e.setTextRange(d.createVariableDeclaration(Lr,void 0,void 0,Or),He.expression),d.createVariableDeclaration(Yr)]),He.expression),2097152),d.createComma(d.createAssignment(Yr,_e(bn)),d.createLogicalNot(In)),void 0,Ve(He,zn)),He),256);return d.createTryStatement(d.createBlock([d.restoreEnclosingLabel(sr,pr)]),d.createCatchClause(d.createVariableDeclaration(tt),e.setEmitFlags(d.createBlock([d.createExpressionStatement(d.createAssignment(lt,d.createObjectLiteralExpression([d.createPropertyAssignment(\"error\",tt)])))]),1)),d.createBlock([d.createTryStatement(d.createBlock([e.setEmitFlags(d.createIfStatement(d.createLogicalAnd(d.createLogicalAnd(Yr,d.createLogicalNot(In)),d.createAssignment(Rt,d.createPropertyAccessExpression(Lr,\"return\"))),d.createExpressionStatement(_e(ir))),1)]),void 0,e.setEmitFlags(d.createBlock([e.setEmitFlags(d.createIfStatement(lt,d.createThrowStatement(d.createPropertyAccessExpression(lt,\"error\"))),1)]),1))]))}function qe(He){return He.transformFlags&32768?d.updateParameterDeclaration(He,void 0,void 0,He.dotDotDotToken,d.getGeneratedNameForNode(He),void 0,void 0,e.visitNode(He.initializer,N,e.isExpression)):e.visitEachChild(He,N,a)}function Xe(He){var pr=H;H=0;var Jr=d.updateConstructorDeclaration(He,void 0,He.modifiers,e.visitParameterList(He.parameters,N,a),kr(He));return H=pr,Jr}function De(He){var pr=H;H=0;var Jr=d.updateGetAccessorDeclaration(He,void 0,He.modifiers,e.visitNode(He.name,N,e.isPropertyName),e.visitParameterList(He.parameters,N,a),void 0,kr(He));return H=pr,Jr}function Ae(He){var pr=H;H=0;var Jr=d.updateSetAccessorDeclaration(He,void 0,He.modifiers,e.visitNode(He.name,N,e.isPropertyName),e.visitParameterList(He.parameters,N,a),kr(He));return H=pr,Jr}function Ye(He){var pr=H;H=e.getFunctionFlags(He);var Jr=d.updateMethodDeclaration(He,void 0,H&1?e.visitNodes(He.modifiers,D,e.isModifier):He.modifiers,H&2?void 0:He.asteriskToken,e.visitNode(He.name,N,e.isPropertyName),e.visitNode(void 0,N,e.isToken),void 0,e.visitParameterList(He.parameters,N,a),void 0,H&2&&H&1?Ar(He):kr(He));return H=pr,Jr}function Dr(He){var pr=H;H=e.getFunctionFlags(He);var Jr=d.updateFunctionDeclaration(He,void 0,H&1?e.visitNodes(He.modifiers,D,e.isModifier):He.modifiers,H&2?void 0:He.asteriskToken,He.name,void 0,e.visitParameterList(He.parameters,N,a),void 0,H&2&&H&1?Ar(He):kr(He));return H=pr,Jr}function br(He){var pr=H;H=e.getFunctionFlags(He);var Jr=d.updateArrowFunction(He,He.modifiers,void 0,e.visitParameterList(He.parameters,N,a),void 0,He.equalsGreaterThanToken,kr(He));return H=pr,Jr}function lr(He){var pr=H;H=e.getFunctionFlags(He);var Jr=d.updateFunctionExpression(He,H&1?e.visitNodes(He.modifiers,D,e.isModifier):He.modifiers,H&2?void 0:He.asteriskToken,He.name,void 0,e.visitParameterList(He.parameters,N,a),void 0,H&2&&H&1?Ar(He):kr(He));return H=pr,Jr}function Ar(He){J();var pr=[],Jr=d.copyPrologue(He.body.statements,pr,!1,N);Ke(pr,He);var ze=q,Lr=Z;q=new e.Set,Z=!1;var Yr=d.createReturnStatement(k().createAsyncGeneratorHelper(d.createFunctionExpression(void 0,d.createToken(41),He.name&&d.getGeneratedNameForNode(He.name),void 0,[],void 0,d.updateBlock(He.body,e.visitLexicalEnvironment(He.body.statements,N,a,Jr))),!!(w&1))),lt=ie>=2&&A.getNodeCheckFlags(He)&6144;if(lt){Me();var tt=e.createSuperAccessVariableStatement(d,A,He,q);ne[e.getNodeId(tt)]=!0,e.insertStatementsAfterStandardPrologue(pr,[tt])}pr.push(Yr),e.insertStatementsAfterStandardPrologue(pr,h());var Rt=d.updateBlock(He.body,pr);return lt&&Z&&(A.getNodeCheckFlags(He)&4096?e.addEmitHelper(Rt,e.advancedAsyncSuperHelper):A.getNodeCheckFlags(He)&2048&&e.addEmitHelper(Rt,e.asyncSuperHelper)),q=ze,Z=Lr,Rt}function kr(He){var pr;J();var Jr=0,ze=[],Lr=(pr=e.visitNode(He.body,N,e.isConciseBody))!==null&&pr!==void 0?pr:d.createBlock([]);e.isBlock(Lr)&&(Jr=d.copyPrologue(Lr.statements,ze,!1,N)),e.addRange(ze,Ke(void 0,He));var Yr=h();if(Jr>0||e.some(ze)||e.some(Yr)){var lt=d.converters.convertToFunctionBlock(Lr,!0);return e.insertStatementsAfterStandardPrologue(ze,Yr),e.addRange(ze,lt.statements.slice(Jr)),d.updateBlock(lt,e.setTextRange(d.createNodeArray(ze),lt.statements))}return Lr}function Ke(He,pr){for(var Jr=0,ze=pr.parameters;Jr<ze.length;Jr++){var Lr=ze[Jr];if(Lr.transformFlags&32768){var Yr=d.getGeneratedNameForNode(Lr),lt=e.flattenDestructuringBinding(Lr,N,a,1,Yr,!1,!0);if(e.some(lt)){var tt=d.createVariableStatement(void 0,d.createVariableDeclarationList(lt));e.setEmitFlags(tt,1048576),He=e.append(He,tt)}}}return He}function Me(){(B&1)===0&&(B|=1,a.enableSubstitution(207),a.enableSubstitution(205),a.enableSubstitution(206),a.enableEmitNotification(256),a.enableEmitNotification(168),a.enableEmitNotification(171),a.enableEmitNotification(172),a.enableEmitNotification(170),a.enableEmitNotification(236))}function Hr(He,pr,Jr){if(B&1&&Sr(pr)){var ze=A.getNodeCheckFlags(pr)&6144;if(ze!==I){var Lr=I;I=ze,b(He,pr,Jr),I=Lr;return}}else if(B&&ne[e.getNodeId(pr)]){var Lr=I;I=0,b(He,pr,Jr),I=Lr;return}b(He,pr,Jr)}function ur(He,pr){return pr=M(He,pr),He===1&&I?gr(pr):pr}function gr(He){switch(He.kind){case 205:return de(He);case 206:return Fe(He);case 207:return $e(He)}return He}function de(He){return He.expression.kind===106?e.setTextRange(d.createPropertyAccessExpression(d.createUniqueName(\"_super\",48),He.name),He):He}function Fe(He){return He.expression.kind===106?Pr(He.argumentExpression,He):He}function $e(He){var pr=He.expression;if(e.isSuperProperty(pr)){var Jr=e.isPropertyAccessExpression(pr)?de(pr):Fe(pr);return d.createCallExpression(d.createPropertyAccessExpression(Jr,\"call\"),void 0,Gt([d.createThis()],He.arguments,!0))}return He}function Sr(He){var pr=He.kind;return pr===256||pr===170||pr===168||pr===171||pr===172}function Pr(He,pr){return I&4096?e.setTextRange(d.createPropertyAccessExpression(d.createCallExpression(d.createIdentifier(\"_superIndex\"),void 0,[He]),\"value\"),pr):e.setTextRange(d.createCallExpression(d.createIdentifier(\"_superIndex\"),void 0,[He]),pr)}}e.transformES2018=p}(jr||(jr={})),function(e){function n(f){var p=f.factory;return e.chainBundle(f,a);function a(J){return J.isDeclarationFile?J:e.visitEachChild(J,d,f)}function d(J){if((J.transformFlags&32)===0)return J;switch(J.kind){case 291:return k(J);default:return e.visitEachChild(J,d,f)}}function k(J){return J.variableDeclaration?e.visitEachChild(J,d,f):p.updateCatchClause(J,p.createVariableDeclaration(p.createTempVariable(void 0)),e.visitNode(J.block,d,e.isBlock))}}e.transformES2019=n}(jr||(jr={})),function(e){function n(f){var p=f.factory,a=f.hoistVariableDeclaration;return e.chainBundle(f,d);function d(B){return B.isDeclarationFile?B:e.visitEachChild(B,k,f)}function k(B){if((B.transformFlags&16)===0)return B;switch(B.kind){case 207:{var H=A(B,!1);return e.Debug.assertNotNode(H,e.isSyntheticReference),H}case 205:case 206:if(e.isOptionalChain(B)){var H=ie(B,!1,!1);return e.Debug.assertNotNode(H,e.isSyntheticReference),H}return e.visitEachChild(B,k,f);case 220:return B.operatorToken.kind===60?M(B):e.visitEachChild(B,k,f);case 214:return S(B);default:return e.visitEachChild(B,k,f)}}function J(B){e.Debug.assertNotNode(B,e.isNonNullChain);for(var H=[B];!B.questionDotToken&&!e.isTaggedTemplateExpression(B);)B=e.cast(e.skipPartiallyEmittedExpressions(B.expression),e.isOptionalChain),e.Debug.assertNotNode(B,e.isNonNullChain),H.unshift(B);return{expression:B.expression,chain:H}}function h(B,H,I){var w=z(B.expression,H,I);return e.isSyntheticReference(w)?p.createSyntheticReferenceExpression(p.updateParenthesizedExpression(B,w.expression),w.thisArg):p.updateParenthesizedExpression(B,w)}function v(B,H,I){if(e.isOptionalChain(B))return ie(B,H,I);var w=e.visitNode(B.expression,k,e.isExpression);e.Debug.assertNotNode(w,e.isSyntheticReference);var x;return H&&(e.isSimpleCopiableExpression(w)?x=w:(x=p.createTempVariable(a),w=p.createAssignment(x,w))),w=B.kind===205?p.updatePropertyAccessExpression(B,w,e.visitNode(B.name,k,e.isIdentifier)):p.updateElementAccessExpression(B,w,e.visitNode(B.argumentExpression,k,e.isExpression)),x?p.createSyntheticReferenceExpression(w,x):w}function A(B,H){if(e.isOptionalChain(B))return ie(B,H,!1);if(e.isParenthesizedExpression(B.expression)&&e.isOptionalChain(e.skipParentheses(B.expression))){var I=h(B.expression,!0,!1),w=e.visitNodes(B.arguments,k,e.isExpression);return e.isSyntheticReference(I)?e.setTextRange(p.createFunctionCallCall(I.expression,I.thisArg,w),B):p.updateCallExpression(B,I,void 0,w)}return e.visitEachChild(B,k,f)}function z(B,H,I){switch(B.kind){case 211:return h(B,H,I);case 205:case 206:return v(B,H,I);case 207:return A(B,H);default:return e.visitNode(B,k,e.isExpression)}}function ie(B,H,I){var w=J(B),x=w.expression,O=w.chain,q=z(x,e.isCallChain(O[0]),!1),Z=e.isSyntheticReference(q)?q.thisArg:void 0,ne=e.isSyntheticReference(q)?q.expression:q,F=ne;e.isSimpleCopiableExpression(ne)||(F=p.createTempVariable(a),ne=p.createAssignment(F,ne));for(var Q=F,V,re=0;re<O.length;re++){var T=O[re];switch(T.kind){case 205:case 206:re===O.length-1&&H&&(e.isSimpleCopiableExpression(Q)?V=Q:(V=p.createTempVariable(a),Q=p.createAssignment(V,Q))),Q=T.kind===205?p.createPropertyAccessExpression(Q,e.visitNode(T.name,k,e.isIdentifier)):p.createElementAccessExpression(Q,e.visitNode(T.argumentExpression,k,e.isExpression));break;case 207:re===0&&Z?Q=p.createFunctionCallCall(Q,Z.kind===106?p.createThis():Z,e.visitNodes(T.arguments,k,e.isExpression)):Q=p.createCallExpression(Q,void 0,e.visitNodes(T.arguments,k,e.isExpression));break}e.setOriginalNode(Q,T)}var N=I?p.createConditionalExpression(b(ne,F,!0),void 0,p.createTrue(),void 0,p.createDeleteExpression(Q)):p.createConditionalExpression(b(ne,F,!0),void 0,p.createVoidZero(),void 0,Q);return e.setTextRange(N,B),V?p.createSyntheticReferenceExpression(N,V):N}function b(B,H,I){return p.createBinaryExpression(p.createBinaryExpression(B,p.createToken(I?36:37),p.createNull()),p.createToken(I?56:55),p.createBinaryExpression(H,p.createToken(I?36:37),p.createVoidZero()))}function M(B){var H=e.visitNode(B.left,k,e.isExpression),I=H;return e.isSimpleCopiableExpression(H)||(I=p.createTempVariable(a),H=p.createAssignment(I,H)),e.setTextRange(p.createConditionalExpression(b(H,I),void 0,I,void 0,e.visitNode(B.right,k,e.isExpression)),B)}function S(B){return e.isOptionalChain(e.skipParentheses(B.expression))?e.setOriginalNode(z(B.expression,!1,!0),B):p.updateDeleteExpression(B,e.visitNode(B.expression,k,e.isExpression))}}e.transformES2020=n}(jr||(jr={})),function(e){function n(f){var p=f.hoistVariableDeclaration,a=f.factory;return e.chainBundle(f,d);function d(h){return h.isDeclarationFile?h:e.visitEachChild(h,k,f)}function k(h){if((h.transformFlags&8)===0)return h;switch(h.kind){case 220:var v=h;if(e.isLogicalOrCoalescingAssignmentExpression(v))return J(v);default:return e.visitEachChild(h,k,f)}}function J(h){var v=h.operatorToken,A=e.getNonAssignmentOperatorForCompoundAssignment(v.kind),z=e.skipParentheses(e.visitNode(h.left,k,e.isLeftHandSideExpression)),ie=z,b=e.skipParentheses(e.visitNode(h.right,k,e.isExpression));if(e.isAccessExpression(z)){var M=e.isSimpleCopiableExpression(z.expression),S=M?z.expression:a.createTempVariable(p),B=M?z.expression:a.createAssignment(S,z.expression);if(e.isPropertyAccessExpression(z))ie=a.createPropertyAccessExpression(S,z.name),z=a.createPropertyAccessExpression(B,z.name);else{var H=e.isSimpleCopiableExpression(z.argumentExpression),I=H?z.argumentExpression:a.createTempVariable(p);ie=a.createElementAccessExpression(S,I),z=a.createElementAccessExpression(B,H?z.argumentExpression:a.createAssignment(I,z.argumentExpression))}}return a.createBinaryExpression(z,A,a.createParenthesizedExpression(a.createAssignment(ie,b)))}}e.transformES2021=n}(jr||(jr={})),function(e){function n(f){return e.chainBundle(f,p);function p(d){return d.isDeclarationFile?d:e.visitEachChild(d,a,f)}function a(d){if((d.transformFlags&4)===0)return d;switch(d.kind){default:return e.visitEachChild(d,a,f)}}}e.transformESNext=n}(jr||(jr={})),function(e){function n(p){var a=p.factory,d=p.getEmitHelperFactory,k=p.getCompilerOptions(),J,h;return e.chainBundle(p,M);function v(){if(h.filenameDeclaration)return h.filenameDeclaration.name;var Y=a.createVariableDeclaration(a.createUniqueName(\"_jsxFileName\",48),void 0,void 0,a.createStringLiteral(J.fileName));return h.filenameDeclaration=Y,h.filenameDeclaration.name}function A(Y){return k.jsx===5?\"jsxDEV\":Y?\"jsxs\":\"jsx\"}function z(Y){var U=A(Y);return b(U)}function ie(){return b(\"Fragment\")}function b(Y){var U,K,Te=Y===\"createElement\"?h.importSpecifier:e.getJSXRuntimeImport(h.importSpecifier,k),ge=(K=(U=h.utilizedImplicitRuntimeImports)===null||U===void 0?void 0:U.get(Te))===null||K===void 0?void 0:K.get(Y);if(ge)return ge.name;h.utilizedImplicitRuntimeImports||(h.utilizedImplicitRuntimeImports=e.createMap());var ke=h.utilizedImplicitRuntimeImports.get(Te);ke||(ke=e.createMap(),h.utilizedImplicitRuntimeImports.set(Te,ke));var Pe=a.createUniqueName(\"_\".concat(Y),112),Ie=a.createImportSpecifier(!1,a.createIdentifier(Y),Pe);return Pe.generatedImportReference=Ie,ke.set(Y,Ie),Pe}function M(Y){if(Y.isDeclarationFile)return Y;J=Y,h={},h.importSpecifier=e.getJSXImplicitImportBase(k,Y);var U=e.visitEachChild(Y,S,p);e.addEmitHelpers(U,p.readEmitHelpers());var K=U.statements;if(h.filenameDeclaration&&(K=e.insertStatementAfterCustomPrologue(K.slice(),a.createVariableStatement(void 0,a.createVariableDeclarationList([h.filenameDeclaration],2)))),h.utilizedImplicitRuntimeImports)for(var Te=0,ge=e.arrayFrom(h.utilizedImplicitRuntimeImports.entries());Te<ge.length;Te++){var ke=ge[Te],Pe=ke[0],Ie=ke[1];if(e.isExternalModule(Y)){var Ge=a.createImportDeclaration(void 0,void 0,a.createImportClause(!1,void 0,a.createNamedImports(e.arrayFrom(Ie.values()))),a.createStringLiteral(Pe),void 0);e.setParentRecursive(Ge,!1),K=e.insertStatementAfterCustomPrologue(K.slice(),Ge)}else if(e.isExternalOrCommonJsModule(Y)){var he=a.createVariableStatement(void 0,a.createVariableDeclarationList([a.createVariableDeclaration(a.createObjectBindingPattern(e.map(e.arrayFrom(Ie.values()),function(ve){return a.createBindingElement(void 0,ve.propertyName,ve.name)})),void 0,void 0,a.createCallExpression(a.createIdentifier(\"require\"),void 0,[a.createStringLiteral(Pe)]))],2));e.setParentRecursive(he,!1),K=e.insertStatementAfterCustomPrologue(K.slice(),he)}}return K!==U.statements&&(U=a.updateSourceFile(U,K)),h=void 0,U}function S(Y){return Y.transformFlags&2?B(Y):Y}function B(Y){switch(Y.kind){case 277:return x(Y,!1);case 278:return O(Y,!1);case 281:return q(Y,!1);case 287:return R(Y);default:return e.visitEachChild(Y,S,p)}}function H(Y){switch(Y.kind){case 11:return P(Y);case 287:return R(Y);case 277:return x(Y,!0);case 278:return O(Y,!0);case 281:return q(Y,!0);default:return e.Debug.failBadSyntaxKind(Y)}}function I(Y){for(var U=!1,K=0,Te=Y.attributes.properties;K<Te.length;K++){var ge=Te[K];if(e.isJsxSpreadAttribute(ge))U=!0;else if(U&&e.isJsxAttribute(ge)&&ge.name.escapedText===\"key\")return!0}return!1}function w(Y){return h.importSpecifier===void 0||I(Y)}function x(Y,U){var K=w(Y.openingElement)?V:F;return K(Y.openingElement,Y.children,U,Y)}function O(Y,U){var K=w(Y)?V:F;return K(Y,void 0,U,Y)}function q(Y,U){var K=h.importSpecifier===void 0?T:re;return K(Y.openingFragment,Y.children,U,Y)}function Z(Y){var U=ne(Y);return U&&a.createObjectLiteralExpression([U])}function ne(Y){var U=e.getSemanticJsxChildren(Y);if(e.length(U)===1&&!U[0].dotDotDotToken){var K=H(U[0]);return K&&a.createPropertyAssignment(\"children\",K)}var Te=e.mapDefined(Y,H);return e.length(Te)?a.createPropertyAssignment(\"children\",a.createArrayLiteralExpression(Te)):void 0}function F(Y,U,K,Te){var ge=Se(Y),ke=U&&U.length?ne(U):void 0,Pe=e.find(Y.attributes.properties,function(he){return!!he.name&&e.isIdentifier(he.name)&&he.name.escapedText===\"key\"}),Ie=Pe?e.filter(Y.attributes.properties,function(he){return he!==Pe}):Y.attributes.properties,Ge=e.length(Ie)?y(Ie,ke):a.createObjectLiteralExpression(ke?[ke]:e.emptyArray);return Q(ge,Ge,Pe,U||e.emptyArray,K,Te)}function Q(Y,U,K,Te,ge,ke){var Pe,Ie=e.getSemanticJsxChildren(Te),Ge=e.length(Ie)>1||!!(!((Pe=Ie[0])===null||Pe===void 0)&&Pe.dotDotDotToken),he=[Y,U,K?g(K.initializer):a.createVoidZero()];if(k.jsx===5){var ve=e.getOriginalNode(J);if(ve&&e.isSourceFile(ve)){he.push(Ge?a.createTrue():a.createFalse());var Ve=e.getLineAndCharacterOfPosition(ve,ke.pos);he.push(a.createObjectLiteralExpression([a.createPropertyAssignment(\"fileName\",v()),a.createPropertyAssignment(\"lineNumber\",a.createNumericLiteral(Ve.line+1)),a.createPropertyAssignment(\"columnNumber\",a.createNumericLiteral(Ve.character+1))])),he.push(a.createThis())}}var _e=e.setTextRange(a.createCallExpression(z(Ge),void 0,he),ke);return ge&&e.startOnNewLine(_e),_e}function V(Y,U,K,Te){var ge=Se(Y),ke=Y.attributes.properties,Pe=e.length(ke)?y(ke):a.createNull(),Ie=h.importSpecifier===void 0?e.createJsxFactoryExpression(a,p.getEmitResolver().getJsxFactoryEntity(J),k.reactNamespace,Y):b(\"createElement\"),Ge=e.createExpressionForJsxElement(a,Ie,ge,Pe,e.mapDefined(U,H),Te);return K&&e.startOnNewLine(Ge),Ge}function re(Y,U,K,Te){var ge;if(U&&U.length){var ke=Z(U);ke&&(ge=ke)}return Q(ie(),ge||a.createObjectLiteralExpression([]),void 0,U,K,Te)}function T(Y,U,K,Te){var ge=e.createExpressionForJsxFragment(a,p.getEmitResolver().getJsxFactoryEntity(J),p.getEmitResolver().getJsxFragmentFactoryEntity(J),k.reactNamespace,e.mapDefined(U,H),Y,Te);return K&&e.startOnNewLine(ge),ge}function N(Y){return a.createSpreadAssignment(e.visitNode(Y.expression,S,e.isExpression))}function y(Y,U){var K=e.getEmitScriptTarget(k);return K&&K>=5?a.createObjectLiteralExpression(D(Y,U)):C(Y,U)}function D(Y,U){var K=e.flatten(e.spanMap(Y,e.isJsxSpreadAttribute,function(Te,ge){return e.map(Te,function(ke){return ge?N(ke):u(ke)})}));return U&&K.push(U),K}function C(Y,U){var K=e.flatten(e.spanMap(Y,e.isJsxSpreadAttribute,function(Te,ge){return ge?e.map(Te,m):a.createObjectLiteralExpression(e.map(Te,u))}));return e.isJsxSpreadAttribute(Y[0])&&K.unshift(a.createObjectLiteralExpression()),U&&K.push(a.createObjectLiteralExpression([U])),e.singleOrUndefined(K)||d().createAssignHelper(K)}function m(Y){return e.visitNode(Y.expression,S,e.isExpression)}function u(Y){var U=Ce(Y),K=g(Y.initializer);return a.createPropertyAssignment(U,K)}function g(Y){if(Y===void 0)return a.createTrue();if(Y.kind===10){var U=Y.singleQuote!==void 0?Y.singleQuote:!e.isStringDoubleQuoted(Y,J),K=a.createStringLiteral(j(Y.text)||Y.text,U);return e.setTextRange(K,Y)}else return Y.kind===287?Y.expression===void 0?a.createTrue():e.visitNode(Y.expression,S,e.isExpression):e.Debug.failBadSyntaxKind(Y)}function P(Y){var U=te(Y.text);return U===void 0?void 0:a.createStringLiteral(U)}function te(Y){for(var U,K=0,Te=-1,ge=0;ge<Y.length;ge++){var ke=Y.charCodeAt(ge);e.isLineBreak(ke)?(K!==-1&&Te!==-1&&(U=ue(U,Y.substr(K,Te-K+1))),K=-1):e.isWhiteSpaceSingleLine(ke)||(Te=ge,K===-1&&(K=ge))}return K!==-1?ue(U,Y.substr(K)):U}function ue(Y,U){var K=X(U);return Y===void 0?K:Y+\" \"+K}function X(Y){return Y.replace(/&((#((\\d+)|x([\\da-fA-F]+)))|(\\w+));/g,function(U,K,Te,ge,ke,Pe,Ie){if(ke)return e.utf16EncodeAsString(parseInt(ke,10));if(Pe)return e.utf16EncodeAsString(parseInt(Pe,16));var Ge=f.get(Ie);return Ge?e.utf16EncodeAsString(Ge):U})}function j(Y){var U=X(Y);return U===Y?void 0:U}function Se(Y){if(Y.kind===277)return Se(Y.openingElement);var U=Y.tagName;return e.isIdentifier(U)&&e.isIntrinsicJsxName(U.escapedText)?a.createStringLiteral(e.idText(U)):e.createExpressionFromEntityName(a,U)}function Ce(Y){var U=Y.name,K=e.idText(U);return/^[A-Za-z_]\\w*$/.test(K)?U:a.createStringLiteral(K)}function R(Y){var U=e.visitNode(Y.expression,S,e.isExpression);return Y.dotDotDotToken?a.createSpreadElement(U):U}}e.transformJsx=n;var f=new e.Map(e.getEntries({quot:34,amp:38,apos:39,lt:60,gt:62,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,copy:169,ordf:170,laquo:171,not:172,shy:173,reg:174,macr:175,deg:176,plusmn:177,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,sup1:185,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,Agrave:192,Aacute:193,Acirc:194,Atilde:195,Auml:196,Aring:197,AElig:198,Ccedil:199,Egrave:200,Eacute:201,Ecirc:202,Euml:203,Igrave:204,Iacute:205,Icirc:206,Iuml:207,ETH:208,Ntilde:209,Ograve:210,Oacute:211,Ocirc:212,Otilde:213,Ouml:214,times:215,Oslash:216,Ugrave:217,Uacute:218,Ucirc:219,Uuml:220,Yacute:221,THORN:222,szlig:223,agrave:224,aacute:225,acirc:226,atilde:227,auml:228,aring:229,aelig:230,ccedil:231,egrave:232,eacute:233,ecirc:234,euml:235,igrave:236,iacute:237,icirc:238,iuml:239,eth:240,ntilde:241,ograve:242,oacute:243,ocirc:244,otilde:245,ouml:246,divide:247,oslash:248,ugrave:249,uacute:250,ucirc:251,uuml:252,yacute:253,thorn:254,yuml:255,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830}))}(jr||(jr={})),function(e){function n(f){var p=f.factory,a=f.hoistVariableDeclaration;return e.chainBundle(f,d);function d(A){return A.isDeclarationFile?A:e.visitEachChild(A,k,f)}function k(A){if((A.transformFlags&256)===0)return A;switch(A.kind){case 220:return J(A);default:return e.visitEachChild(A,k,f)}}function J(A){switch(A.operatorToken.kind){case 67:return h(A);case 42:return v(A);default:return e.visitEachChild(A,k,f)}}function h(A){var z,ie,b=e.visitNode(A.left,k,e.isExpression),M=e.visitNode(A.right,k,e.isExpression);if(e.isElementAccessExpression(b)){var S=p.createTempVariable(a),B=p.createTempVariable(a);z=e.setTextRange(p.createElementAccessExpression(e.setTextRange(p.createAssignment(S,b.expression),b.expression),e.setTextRange(p.createAssignment(B,b.argumentExpression),b.argumentExpression)),b),ie=e.setTextRange(p.createElementAccessExpression(S,B),b)}else if(e.isPropertyAccessExpression(b)){var S=p.createTempVariable(a);z=e.setTextRange(p.createPropertyAccessExpression(e.setTextRange(p.createAssignment(S,b.expression),b.expression),b.name),b),ie=e.setTextRange(p.createPropertyAccessExpression(S,b.name),b)}else z=b,ie=b;return e.setTextRange(p.createAssignment(z,e.setTextRange(p.createGlobalMethodCall(\"Math\",\"pow\",[ie,M]),A)),A)}function v(A){var z=e.visitNode(A.left,k,e.isExpression),ie=e.visitNode(A.right,k,e.isExpression);return e.setTextRange(p.createGlobalMethodCall(\"Math\",\"pow\",[z,ie]),A)}}e.transformES2016=n}(jr||(jr={})),function(e){var n;(function(v){v[v.CapturedThis=1]=\"CapturedThis\",v[v.BlockScopedBindings=2]=\"BlockScopedBindings\"})(n||(n={}));var f;(function(v){v[v.Body=1]=\"Body\",v[v.Initializer=2]=\"Initializer\"})(f||(f={}));var p;(function(v){v[v.ToOriginal=0]=\"ToOriginal\",v[v.ToOutParameter=1]=\"ToOutParameter\"})(p||(p={}));var a;(function(v){v[v.Break=2]=\"Break\",v[v.Continue=4]=\"Continue\",v[v.Return=8]=\"Return\"})(a||(a={}));var d;(function(v){v[v.None=0]=\"None\",v[v.Function=1]=\"Function\",v[v.ArrowFunction=2]=\"ArrowFunction\",v[v.AsyncFunctionBody=4]=\"AsyncFunctionBody\",v[v.NonStaticClassElement=8]=\"NonStaticClassElement\",v[v.CapturesThis=16]=\"CapturesThis\",v[v.ExportedVariableStatement=32]=\"ExportedVariableStatement\",v[v.TopLevel=64]=\"TopLevel\",v[v.Block=128]=\"Block\",v[v.IterationStatement=256]=\"IterationStatement\",v[v.IterationStatementBlock=512]=\"IterationStatementBlock\",v[v.IterationContainer=1024]=\"IterationContainer\",v[v.ForStatement=2048]=\"ForStatement\",v[v.ForInOrForOfStatement=4096]=\"ForInOrForOfStatement\",v[v.ConstructorWithCapturedSuper=8192]=\"ConstructorWithCapturedSuper\",v[v.StaticInitializer=16384]=\"StaticInitializer\",v[v.AncestorFactsMask=32767]=\"AncestorFactsMask\",v[v.BlockScopeIncludes=0]=\"BlockScopeIncludes\",v[v.BlockScopeExcludes=7104]=\"BlockScopeExcludes\",v[v.SourceFileIncludes=64]=\"SourceFileIncludes\",v[v.SourceFileExcludes=8064]=\"SourceFileExcludes\",v[v.FunctionIncludes=65]=\"FunctionIncludes\",v[v.FunctionExcludes=32670]=\"FunctionExcludes\",v[v.AsyncFunctionBodyIncludes=69]=\"AsyncFunctionBodyIncludes\",v[v.AsyncFunctionBodyExcludes=32662]=\"AsyncFunctionBodyExcludes\",v[v.ArrowFunctionIncludes=66]=\"ArrowFunctionIncludes\",v[v.ArrowFunctionExcludes=15232]=\"ArrowFunctionExcludes\",v[v.ConstructorIncludes=73]=\"ConstructorIncludes\",v[v.ConstructorExcludes=32662]=\"ConstructorExcludes\",v[v.DoOrWhileStatementIncludes=1280]=\"DoOrWhileStatementIncludes\",v[v.DoOrWhileStatementExcludes=0]=\"DoOrWhileStatementExcludes\",v[v.ForStatementIncludes=3328]=\"ForStatementIncludes\",v[v.ForStatementExcludes=5056]=\"ForStatementExcludes\",v[v.ForInOrForOfStatementIncludes=5376]=\"ForInOrForOfStatementIncludes\",v[v.ForInOrForOfStatementExcludes=3008]=\"ForInOrForOfStatementExcludes\",v[v.BlockIncludes=128]=\"BlockIncludes\",v[v.BlockExcludes=6976]=\"BlockExcludes\",v[v.IterationStatementBlockIncludes=512]=\"IterationStatementBlockIncludes\",v[v.IterationStatementBlockExcludes=7104]=\"IterationStatementBlockExcludes\",v[v.StaticInitializerIncludes=16449]=\"StaticInitializerIncludes\",v[v.StaticInitializerExcludes=32670]=\"StaticInitializerExcludes\",v[v.NewTarget=32768]=\"NewTarget\",v[v.CapturedLexicalThis=65536]=\"CapturedLexicalThis\",v[v.SubtreeFactsMask=-32768]=\"SubtreeFactsMask\",v[v.ArrowFunctionSubtreeExcludes=0]=\"ArrowFunctionSubtreeExcludes\",v[v.FunctionSubtreeExcludes=98304]=\"FunctionSubtreeExcludes\"})(d||(d={}));var k;(function(v){v[v.None=0]=\"None\",v[v.UnpackedSpread=1]=\"UnpackedSpread\",v[v.PackedSpread=2]=\"PackedSpread\"})(k||(k={}));function J(v,A){return{kind:v,expression:A}}function h(v){var A=v.factory,z=v.getEmitHelperFactory,ie=v.startLexicalEnvironment,b=v.resumeLexicalEnvironment,M=v.endLexicalEnvironment,S=v.hoistVariableDeclaration,B=v.getCompilerOptions(),H=v.getEmitResolver(),I=v.onSubstituteNode,w=v.onEmitNode;v.onEmitNode=hi,v.onSubstituteNode=Po;var x,O,q,Z;function ne(Oe){Z=e.append(Z,A.createVariableDeclaration(Oe))}var F,Q;return e.chainBundle(v,V);function V(Oe){if(Oe.isDeclarationFile)return Oe;x=Oe,O=Oe.text;var oe=te(Oe);return e.addEmitHelpers(oe,v.readEmitHelpers()),x=void 0,O=void 0,Z=void 0,q=0,oe}function re(Oe,oe){var mr=q;return q=(q&~Oe|oe)&32767,mr}function T(Oe,oe,mr){q=(q&~oe|mr)&-32768|Oe}function N(Oe){return(q&8192)!==0&&Oe.kind===246&&!Oe.expression}function y(Oe){return Oe.transformFlags&2097152&&(e.isReturnStatement(Oe)||e.isIfStatement(Oe)||e.isWithStatement(Oe)||e.isSwitchStatement(Oe)||e.isCaseBlock(Oe)||e.isCaseClause(Oe)||e.isDefaultClause(Oe)||e.isTryStatement(Oe)||e.isCatchClause(Oe)||e.isLabeledStatement(Oe)||e.isIterationStatement(Oe,!1)||e.isBlock(Oe))}function D(Oe){return(Oe.transformFlags&512)!==0||F!==void 0||q&8192&&y(Oe)||e.isIterationStatement(Oe,!1)&&Vr(Oe)||(e.getEmitFlags(Oe)&33554432)!==0}function C(Oe){return D(Oe)?P(Oe,!1):Oe}function m(Oe){return D(Oe)?P(Oe,!0):Oe}function u(Oe){if(D(Oe)){var oe=e.getOriginalNode(Oe);if(e.isPropertyDeclaration(oe)&&e.hasStaticModifier(oe)){var mr=re(32670,16449),se=P(Oe,!1);return T(mr,98304,0),se}return P(Oe,!1)}return Oe}function g(Oe){return Oe.kind===106?co(!0):C(Oe)}function P(Oe,oe){switch(Oe.kind){case 124:return;case 256:return K(Oe);case 225:return Te(Oe);case 163:return qe(Oe);case 255:return $e(Oe);case 213:return de(Oe);case 212:return Fe(Oe);case 253:return In(Oe);case 79:return Y(Oe);case 254:return tt(Oe);case 248:return ue(Oe);case 262:return X(Oe);case 234:return He(Oe,!1);case 245:case 244:return U(Oe);case 249:return Or(Oe);case 239:case 240:return or(Oe,void 0);case 241:return fe(Oe,void 0);case 242:return Ee(Oe,void 0);case 243:return We(Oe,void 0);case 237:return pr(Oe);case 204:return Cr(Oe);case 291:return pt(Oe);case 295:return rt(Oe);case 161:return Cn(Oe);case 203:return Ra(Oe);case 207:return Ci(Oe);case 208:return ro(Oe);case 211:return Jr(Oe,oe);case 220:return ze(Oe,oe);case 349:return Lr(Oe,oe);case 14:case 15:case 16:case 17:return No(Oe);case 10:return lo(Oe);case 8:return Lo(Oe);case 209:return Ha(Oe);case 222:return Yo(Oe);case 223:return Qn(Oe);case 224:return to(Oe);case 106:return co(!1);case 108:return Ce(Oe);case 230:return za(Oe);case 168:return Mt(Oe);case 171:case 172:return It(Oe);case 236:return lt(Oe);case 246:return Se(Oe);case 216:return R(Oe);default:return e.visitEachChild(Oe,C,v)}}function te(Oe){var oe=re(8064,64),mr=[],se=[];ie();var Be=A.copyPrologue(Oe.statements,mr,!1,C);return e.addRange(se,e.visitNodes(Oe.statements,C,e.isStatement,Be)),Z&&se.push(A.createVariableStatement(void 0,A.createVariableDeclarationList(Z))),A.mergeLexicalEnvironment(mr,M()),lr(mr,Oe),T(oe,0,0),A.updateSourceFile(Oe,e.setTextRange(A.createNodeArray(e.concatenate(mr,se)),Oe.statements))}function ue(Oe){if(F!==void 0){var oe=F.allowedNonLabeledJumps;F.allowedNonLabeledJumps|=2;var mr=e.visitEachChild(Oe,C,v);return F.allowedNonLabeledJumps=oe,mr}return e.visitEachChild(Oe,C,v)}function X(Oe){var oe=re(7104,0),mr=e.visitEachChild(Oe,C,v);return T(oe,0,0),mr}function j(Oe){return e.setOriginalNode(A.createReturnStatement(A.createUniqueName(\"_this\",48)),Oe)}function Se(Oe){return F?(F.nonLocalJumps|=8,N(Oe)&&(Oe=j(Oe)),A.createReturnStatement(A.createObjectLiteralExpression([A.createPropertyAssignment(A.createIdentifier(\"value\"),Oe.expression?e.visitNode(Oe.expression,C,e.isExpression):A.createVoidZero())]))):N(Oe)?j(Oe):e.visitEachChild(Oe,C,v)}function Ce(Oe){return q&2&&!(q&16384)&&(q|=65536),F?q&2?(F.containsLexicalThis=!0,Oe):F.thisName||(F.thisName=A.createUniqueName(\"this\")):Oe}function R(Oe){return e.visitEachChild(Oe,m,v)}function Y(Oe){return F&&H.isArgumentsLocalBinding(Oe)?F.argumentsName||(F.argumentsName=A.createUniqueName(\"arguments\")):Oe}function U(Oe){if(F){var oe=Oe.kind===245?2:4,mr=Oe.label&&F.labels&&F.labels.get(e.idText(Oe.label))||!Oe.label&&F.allowedNonLabeledJumps&oe;if(!mr){var se=void 0,Be=Oe.label;Be?Oe.kind===245?(se=\"break-\".concat(Be.escapedText),en(F,!0,e.idText(Be),se)):(se=\"continue-\".concat(Be.escapedText),en(F,!1,e.idText(Be),se)):Oe.kind===245?(F.nonLocalJumps|=2,se=\"break\"):(F.nonLocalJumps|=4,se=\"continue\");var er=A.createStringLiteral(se);if(F.loopOutParameters.length){for(var vr=F.loopOutParameters,qr=void 0,Dt=0;Dt<vr.length;Dt++){var Jt=ba(vr[Dt],1);Dt===0?qr=Jt:qr=A.createBinaryExpression(qr,27,Jt)}er=A.createBinaryExpression(qr,27,er)}return A.createReturnStatement(er)}}return e.visitEachChild(Oe,C,v)}function K(Oe){var oe=A.createVariableDeclaration(A.getLocalName(Oe,!0),void 0,void 0,ge(Oe));e.setOriginalNode(oe,Oe);var mr=[],se=A.createVariableStatement(void 0,A.createVariableDeclarationList([oe]));if(e.setOriginalNode(se,Oe),e.setTextRange(se,Oe),e.startOnNewLine(se),mr.push(se),e.hasSyntacticModifier(Oe,1)){var Be=e.hasSyntacticModifier(Oe,512)?A.createExportDefault(A.getLocalName(Oe)):A.createExternalModuleExport(A.getLocalName(Oe));e.setOriginalNode(Be,se),mr.push(Be)}var er=e.getEmitFlags(Oe);return(er&4194304)===0&&(mr.push(A.createEndOfDeclarationMarker(Oe)),e.setEmitFlags(se,er|4194304)),e.singleOrMany(mr)}function Te(Oe){return ge(Oe)}function ge(Oe){Oe.name&&Zi();var oe=e.getClassExtendsHeritageElement(Oe),mr=A.createFunctionExpression(void 0,void 0,void 0,void 0,oe?[A.createParameterDeclaration(void 0,void 0,void 0,A.createUniqueName(\"_super\",48))]:[],void 0,ke(Oe,oe));e.setEmitFlags(mr,e.getEmitFlags(Oe)&65536|524288);var se=A.createPartiallyEmittedExpression(mr);e.setTextRangeEnd(se,Oe.end),e.setEmitFlags(se,1536);var Be=A.createPartiallyEmittedExpression(se);e.setTextRangeEnd(Be,e.skipTrivia(O,Oe.pos)),e.setEmitFlags(Be,1536);var er=A.createParenthesizedExpression(A.createCallExpression(Be,void 0,oe?[e.visitNode(oe.expression,C,e.isExpression)]:[]));return e.addSyntheticLeadingComment(er,3,\"* @class \"),er}function ke(Oe,oe){var mr=[],se=A.getInternalName(Oe),Be=e.isIdentifierANonContextualKeyword(se)?A.getGeneratedNameForNode(se):se;ie(),Pe(mr,Oe,oe),Ie(mr,Oe,Be,oe),Ke(mr,Oe);var er=e.createTokenRange(e.skipTrivia(O,Oe.members.end),19),vr=A.createPartiallyEmittedExpression(Be);e.setTextRangeEnd(vr,er.end),e.setEmitFlags(vr,1536);var qr=A.createReturnStatement(vr);e.setTextRangePos(qr,er.pos),e.setEmitFlags(qr,1920),mr.push(qr),e.insertStatementsAfterStandardPrologue(mr,M());var Dt=A.createBlock(e.setTextRange(A.createNodeArray(mr),Oe.members),!0);return e.setEmitFlags(Dt,1536),Dt}function Pe(Oe,oe,mr){mr&&Oe.push(e.setTextRange(A.createExpressionStatement(z().createExtendsHelper(A.getInternalName(oe))),mr))}function Ie(Oe,oe,mr,se){var Be=F;F=void 0;var er=re(32662,73),vr=e.getFirstConstructorWithBody(oe),qr=Un(vr,se!==void 0),Dt=A.createFunctionDeclaration(void 0,void 0,void 0,mr,void 0,Ge(vr,qr),void 0,ve(vr,oe,se,qr));e.setTextRange(Dt,vr||oe),se&&e.setEmitFlags(Dt,8),Oe.push(Dt),T(er,98304,0),F=Be}function Ge(Oe,oe){return e.visitParameterList(Oe&&!oe?Oe.parameters:void 0,C,v)||[]}function he(Oe,oe){var mr=[];b(),A.mergeLexicalEnvironment(mr,M()),oe&&mr.push(A.createReturnStatement(Le()));var se=A.createNodeArray(mr);e.setTextRange(se,Oe.members);var Be=A.createBlock(se,!0);return e.setTextRange(Be,Oe),e.setEmitFlags(Be,1536),Be}function ve(Oe,oe,mr,se){var Be=!!mr&&e.skipOuterExpressions(mr.expression).kind!==104;if(!Oe)return he(oe,Be);var er=[],vr=[];b();var qr=0;se||(qr=A.copyStandardPrologue(Oe.body.statements,er,!1)),De(vr,Oe),br(vr,Oe,se),se||(qr=A.copyCustomPrologue(Oe.body.statements,vr,qr,C));var Dt;if(se)Dt=Le();else if(Be&&qr<Oe.body.statements.length){var Jt=Oe.body.statements[qr];e.isExpressionStatement(Jt)&&e.isSuperCall(Jt.expression)&&(Dt=va(Jt.expression))}if(Dt&&(q|=8192,qr++),e.addRange(vr,e.visitNodes(Oe.body.statements,C,e.isStatement,qr)),A.mergeLexicalEnvironment(er,M()),kr(er,Oe,!1),Be)if(Dt&&qr===Oe.body.statements.length&&!(Oe.body.transformFlags&8192)){var Sn=e.cast(e.cast(Dt,e.isBinaryExpression).left,e.isCallExpression),ta=A.createReturnStatement(Dt);e.setCommentRange(ta,e.getCommentRange(Sn)),e.setEmitFlags(Sn,1536),vr.push(ta)}else Ar(vr,Oe,Dt||_e()),Ve(Oe.body)||vr.push(A.createReturnStatement(A.createUniqueName(\"_this\",48)));else lr(er,Oe);var xa=A.createBlock(e.setTextRange(A.createNodeArray(e.concatenate(er,vr)),Oe.body.statements),!0);return e.setTextRange(xa,Oe.body),xa}function Ve(Oe){if(Oe.kind===246)return!0;if(Oe.kind===238){var oe=Oe;if(oe.elseStatement)return Ve(oe.thenStatement)&&Ve(oe.elseStatement)}else if(Oe.kind===234){var mr=e.lastOrUndefined(Oe.statements);if(mr&&Ve(mr))return!0}return!1}function _e(){return e.setEmitFlags(A.createThis(),4)}function Le(){return A.createLogicalOr(A.createLogicalAnd(A.createStrictInequality(A.createUniqueName(\"_super\",48),A.createNull()),A.createFunctionApplyCall(A.createUniqueName(\"_super\",48),_e(),A.createIdentifier(\"arguments\"))),_e())}function qe(Oe){if(!Oe.dotDotDotToken)return e.isBindingPattern(Oe.name)?e.setOriginalNode(e.setTextRange(A.createParameterDeclaration(void 0,void 0,void 0,A.getGeneratedNameForNode(Oe),void 0,void 0,void 0),Oe),Oe):Oe.initializer?e.setOriginalNode(e.setTextRange(A.createParameterDeclaration(void 0,void 0,void 0,Oe.name,void 0,void 0,void 0),Oe),Oe):Oe}function Xe(Oe){return Oe.initializer!==void 0||e.isBindingPattern(Oe.name)}function De(Oe,oe){if(!e.some(oe.parameters,Xe))return!1;for(var mr=!1,se=0,Be=oe.parameters;se<Be.length;se++){var er=Be[se],vr=er.name,qr=er.initializer,Dt=er.dotDotDotToken;Dt||(e.isBindingPattern(vr)?mr=Ae(Oe,er,vr,qr)||mr:qr&&(Ye(Oe,er,vr,qr),mr=!0))}return mr}function Ae(Oe,oe,mr,se){return mr.elements.length>0?(e.insertStatementAfterCustomPrologue(Oe,e.setEmitFlags(A.createVariableStatement(void 0,A.createVariableDeclarationList(e.flattenDestructuringBinding(oe,C,v,0,A.getGeneratedNameForNode(oe)))),1048576)),!0):se?(e.insertStatementAfterCustomPrologue(Oe,e.setEmitFlags(A.createExpressionStatement(A.createAssignment(A.getGeneratedNameForNode(oe),e.visitNode(se,C,e.isExpression))),1048576)),!0):!1}function Ye(Oe,oe,mr,se){se=e.visitNode(se,C,e.isExpression);var Be=A.createIfStatement(A.createTypeCheck(A.cloneNode(mr),\"undefined\"),e.setEmitFlags(e.setTextRange(A.createBlock([A.createExpressionStatement(e.setEmitFlags(e.setTextRange(A.createAssignment(e.setEmitFlags(e.setParent(e.setTextRange(A.cloneNode(mr),mr),mr.parent),48),e.setEmitFlags(se,48|e.getEmitFlags(se)|1536)),oe),1536))]),oe),1953));e.startOnNewLine(Be),e.setTextRange(Be,oe),e.setEmitFlags(Be,1050528),e.insertStatementAfterCustomPrologue(Oe,Be)}function Dr(Oe,oe){return!!(Oe&&Oe.dotDotDotToken&&!oe)}function br(Oe,oe,mr){var se=[],Be=e.lastOrUndefined(oe.parameters);if(!Dr(Be,mr))return!1;var er=Be.name.kind===79?e.setParent(e.setTextRange(A.cloneNode(Be.name),Be.name),Be.name.parent):A.createTempVariable(void 0);e.setEmitFlags(er,48);var vr=Be.name.kind===79?A.cloneNode(Be.name):er,qr=oe.parameters.length-1,Dt=A.createLoopVariable();se.push(e.setEmitFlags(e.setTextRange(A.createVariableStatement(void 0,A.createVariableDeclarationList([A.createVariableDeclaration(er,void 0,void 0,A.createArrayLiteralExpression([]))])),Be),1048576));var Jt=A.createForStatement(e.setTextRange(A.createVariableDeclarationList([A.createVariableDeclaration(Dt,void 0,void 0,A.createNumericLiteral(qr))]),Be),e.setTextRange(A.createLessThan(Dt,A.createPropertyAccessExpression(A.createIdentifier(\"arguments\"),\"length\")),Be),e.setTextRange(A.createPostfixIncrement(Dt),Be),A.createBlock([e.startOnNewLine(e.setTextRange(A.createExpressionStatement(A.createAssignment(A.createElementAccessExpression(vr,qr===0?Dt:A.createSubtract(Dt,A.createNumericLiteral(qr))),A.createElementAccessExpression(A.createIdentifier(\"arguments\"),Dt))),Be))]));return e.setEmitFlags(Jt,1048576),e.startOnNewLine(Jt),se.push(Jt),Be.name.kind!==79&&se.push(e.setEmitFlags(e.setTextRange(A.createVariableStatement(void 0,A.createVariableDeclarationList(e.flattenDestructuringBinding(Be,C,v,0,vr))),Be),1048576)),e.insertStatementsAfterCustomPrologue(Oe,se),!0}function lr(Oe,oe){return q&65536&&oe.kind!==213?(Ar(Oe,oe,A.createThis()),!0):!1}function Ar(Oe,oe,mr){Mo();var se=A.createVariableStatement(void 0,A.createVariableDeclarationList([A.createVariableDeclaration(A.createUniqueName(\"_this\",48),void 0,void 0,mr)]));e.setEmitFlags(se,1050112),e.setSourceMapRange(se,oe),e.insertStatementAfterCustomPrologue(Oe,se)}function kr(Oe,oe,mr){if(q&32768){var se=void 0;switch(oe.kind){case 213:return Oe;case 168:case 171:case 172:se=A.createVoidZero();break;case 170:se=A.createPropertyAccessExpression(e.setEmitFlags(A.createThis(),4),\"constructor\");break;case 255:case 212:se=A.createConditionalExpression(A.createLogicalAnd(e.setEmitFlags(A.createThis(),4),A.createBinaryExpression(e.setEmitFlags(A.createThis(),4),102,A.getLocalName(oe))),void 0,A.createPropertyAccessExpression(e.setEmitFlags(A.createThis(),4),\"constructor\"),void 0,A.createVoidZero());break;default:return e.Debug.failBadSyntaxKind(oe)}var Be=A.createVariableStatement(void 0,A.createVariableDeclarationList([A.createVariableDeclaration(A.createUniqueName(\"_newTarget\",48),void 0,void 0,se)]));e.setEmitFlags(Be,1050112),mr&&(Oe=Oe.slice()),e.insertStatementAfterCustomPrologue(Oe,Be)}return Oe}function Ke(Oe,oe){for(var mr=0,se=oe.members;mr<se.length;mr++){var Be=se[mr];switch(Be.kind){case 233:Oe.push(Me(Be));break;case 168:Oe.push(Hr(tn(oe,Be),Be,oe));break;case 171:case 172:var er=e.getAllAccessorDeclarations(oe.members,Be);Be===er.firstAccessor&&Oe.push(ur(tn(oe,Be),er,oe));break;case 170:case 169:break;default:e.Debug.failBadSyntaxKind(Be,x&&x.fileName);break}}}function Me(Oe){return e.setTextRange(A.createEmptyStatement(),Oe)}function Hr(Oe,oe,mr){var se=e.getCommentRange(oe),Be=e.getSourceMapRange(oe),er=Sr(oe,oe,void 0,mr),vr=e.visitNode(oe.name,C,e.isPropertyName),qr;if(!e.isPrivateIdentifier(vr)&&e.getUseDefineForClassFields(v.getCompilerOptions())){var Dt=e.isComputedPropertyName(vr)?vr.expression:e.isIdentifier(vr)?A.createStringLiteral(e.unescapeLeadingUnderscores(vr.escapedText)):vr;qr=A.createObjectDefinePropertyCall(Oe,Dt,A.createPropertyDescriptor({value:er,enumerable:!1,writable:!0,configurable:!0}))}else{var Jt=e.createMemberAccessForPropertyName(A,Oe,vr,oe.name);qr=A.createAssignment(Jt,er)}e.setEmitFlags(er,1536),e.setSourceMapRange(er,Be);var Sn=e.setTextRange(A.createExpressionStatement(qr),oe);return e.setOriginalNode(Sn,oe),e.setCommentRange(Sn,se),e.setEmitFlags(Sn,48),Sn}function ur(Oe,oe,mr){var se=A.createExpressionStatement(gr(Oe,oe,mr,!1));return e.setEmitFlags(se,1536),e.setSourceMapRange(se,e.getSourceMapRange(oe.firstAccessor)),se}function gr(Oe,oe,mr,se){var Be=oe.firstAccessor,er=oe.getAccessor,vr=oe.setAccessor,qr=e.setParent(e.setTextRange(A.cloneNode(Oe),Oe),Oe.parent);e.setEmitFlags(qr,1568),e.setSourceMapRange(qr,Be.name);var Dt=e.visitNode(Be.name,C,e.isPropertyName);if(e.isPrivateIdentifier(Dt))return e.Debug.failBadSyntaxKind(Dt,\"Encountered unhandled private identifier while transforming ES2015.\");var Jt=e.createExpressionForPropertyName(A,Dt);e.setEmitFlags(Jt,1552),e.setSourceMapRange(Jt,Be.name);var Sn=[];if(er){var ta=Sr(er,void 0,void 0,mr);e.setSourceMapRange(ta,e.getSourceMapRange(er)),e.setEmitFlags(ta,512);var xa=A.createPropertyAssignment(\"get\",ta);e.setCommentRange(xa,e.getCommentRange(er)),Sn.push(xa)}if(vr){var Di=Sr(vr,void 0,void 0,mr);e.setSourceMapRange(Di,e.getSourceMapRange(vr)),e.setEmitFlags(Di,512);var $a=A.createPropertyAssignment(\"set\",Di);e.setCommentRange($a,e.getCommentRange(vr)),Sn.push($a)}Sn.push(A.createPropertyAssignment(\"enumerable\",er||vr?A.createFalse():A.createTrue()),A.createPropertyAssignment(\"configurable\",A.createTrue()));var Ji=A.createCallExpression(A.createPropertyAccessExpression(A.createIdentifier(\"Object\"),\"defineProperty\"),void 0,[qr,Jt,A.createObjectLiteralExpression(Sn,!0)]);return se&&e.startOnNewLine(Ji),Ji}function de(Oe){Oe.transformFlags&8192&&!(q&16384)&&(q|=65536);var oe=F;F=void 0;var mr=re(15232,66),se=A.createFunctionExpression(void 0,void 0,void 0,void 0,e.visitParameterList(Oe.parameters,C,v),void 0,Pr(Oe));return e.setTextRange(se,Oe),e.setOriginalNode(se,Oe),e.setEmitFlags(se,8),T(mr,0,0),F=oe,se}function Fe(Oe){var oe=e.getEmitFlags(Oe)&262144?re(32662,69):re(32670,65),mr=F;F=void 0;var se=e.visitParameterList(Oe.parameters,C,v),Be=Pr(Oe),er=q&32768?A.getLocalName(Oe):Oe.name;return T(oe,98304,0),F=mr,A.updateFunctionExpression(Oe,void 0,Oe.asteriskToken,er,void 0,se,void 0,Be)}function $e(Oe){var oe=F;F=void 0;var mr=re(32670,65),se=e.visitParameterList(Oe.parameters,C,v),Be=Pr(Oe),er=q&32768?A.getLocalName(Oe):Oe.name;return T(mr,98304,0),F=oe,A.updateFunctionDeclaration(Oe,void 0,e.visitNodes(Oe.modifiers,C,e.isModifier),Oe.asteriskToken,er,void 0,se,void 0,Be)}function Sr(Oe,oe,mr,se){var Be=F;F=void 0;var er=se&&e.isClassLike(se)&&!e.isStatic(Oe)?re(32670,73):re(32670,65),vr=e.visitParameterList(Oe.parameters,C,v),qr=Pr(Oe);return q&32768&&!mr&&(Oe.kind===255||Oe.kind===212)&&(mr=A.getGeneratedNameForNode(Oe)),T(er,98304,0),F=Be,e.setOriginalNode(e.setTextRange(A.createFunctionExpression(void 0,Oe.asteriskToken,mr,void 0,vr,void 0,qr),oe),Oe)}function Pr(Oe){var oe=!1,mr=!1,se,Be,er=[],vr=[],qr=Oe.body,Dt;if(b(),e.isBlock(qr)&&(Dt=A.copyStandardPrologue(qr.statements,er,!1),Dt=A.copyCustomPrologue(qr.statements,vr,Dt,C,e.isHoistedFunction),Dt=A.copyCustomPrologue(qr.statements,vr,Dt,C,e.isHoistedVariableStatement)),oe=De(vr,Oe)||oe,oe=br(vr,Oe,!1)||oe,e.isBlock(qr))Dt=A.copyCustomPrologue(qr.statements,vr,Dt,C),se=qr.statements,e.addRange(vr,e.visitNodes(qr.statements,C,e.isStatement,Dt)),!oe&&qr.multiLine&&(oe=!0);else{e.Debug.assert(Oe.kind===213),se=e.moveRangeEnd(qr,-1);var Jt=Oe.equalsGreaterThanToken;!e.nodeIsSynthesized(Jt)&&!e.nodeIsSynthesized(qr)&&(e.rangeEndIsOnSameLineAsRangeStart(Jt,qr,x)?mr=!0:oe=!0);var Sn=e.visitNode(qr,C,e.isExpression),ta=A.createReturnStatement(Sn);e.setTextRange(ta,qr),e.moveSyntheticComments(ta,qr),e.setEmitFlags(ta,1440),vr.push(ta),Be=qr}if(A.mergeLexicalEnvironment(er,M()),kr(er,Oe,!1),lr(er,Oe),e.some(er)&&(oe=!0),vr.unshift.apply(vr,er),e.isBlock(qr)&&e.arrayIsEqualTo(vr,qr.statements))return qr;var xa=A.createBlock(e.setTextRange(A.createNodeArray(vr),se),oe);return e.setTextRange(xa,Oe.body),!oe&&mr&&e.setEmitFlags(xa,1),Be&&e.setTokenSourceMapRange(xa,19,Be),e.setOriginalNode(xa,Oe.body),xa}function He(Oe,oe){if(oe)return e.visitEachChild(Oe,C,v);var mr=q&256?re(7104,512):re(6976,128),se=e.visitEachChild(Oe,C,v);return T(mr,0,0),se}function pr(Oe){return e.visitEachChild(Oe,m,v)}function Jr(Oe,oe){return e.visitEachChild(Oe,oe?m:C,v)}function ze(Oe,oe){return e.isDestructuringAssignment(Oe)?e.flattenDestructuringAssignment(Oe,C,v,0,!oe):Oe.operatorToken.kind===27?A.updateBinaryExpression(Oe,e.visitNode(Oe.left,m,e.isExpression),Oe.operatorToken,e.visitNode(Oe.right,oe?m:C,e.isExpression)):e.visitEachChild(Oe,C,v)}function Lr(Oe,oe){if(oe)return e.visitEachChild(Oe,m,v);for(var mr,se=0;se<Oe.elements.length;se++){var Be=Oe.elements[se],er=e.visitNode(Be,se<Oe.elements.length-1?m:C,e.isExpression);(mr||er!==Be)&&(mr||(mr=Oe.elements.slice(0,se)),mr.push(er))}var vr=mr?e.setTextRange(A.createNodeArray(mr),Oe.elements):Oe.elements;return A.updateCommaListExpression(Oe,vr)}function Yr(Oe){return Oe.declarationList.declarations.length===1&&!!Oe.declarationList.declarations[0].initializer&&!!(e.getEmitFlags(Oe.declarationList.declarations[0].initializer)&33554432)}function lt(Oe){var oe=re(0,e.hasSyntacticModifier(Oe,1)?32:0),mr;if(F&&(Oe.declarationList.flags&3)===0&&!Yr(Oe)){for(var se=void 0,Be=0,er=Oe.declarationList.declarations;Be<er.length;Be++){var vr=er[Be];if(xr(F,vr),vr.initializer){var qr=void 0;e.isBindingPattern(vr.name)?qr=e.flattenDestructuringAssignment(vr,C,v,0):(qr=A.createBinaryExpression(vr.name,63,e.visitNode(vr.initializer,C,e.isExpression)),e.setTextRange(qr,vr)),se=e.append(se,qr)}}se?mr=e.setTextRange(A.createExpressionStatement(A.inlineExpressions(se)),Oe):mr=void 0}else mr=e.visitEachChild(Oe,C,v);return T(oe,0,0),mr}function tt(Oe){if(Oe.flags&3||Oe.transformFlags&262144){Oe.flags&3&&Zi();var oe=e.flatMap(Oe.declarations,Oe.flags&1?bn:In),mr=A.createVariableDeclarationList(oe);return e.setOriginalNode(mr,Oe),e.setTextRange(mr,Oe),e.setCommentRange(mr,Oe),Oe.transformFlags&262144&&(e.isBindingPattern(Oe.declarations[0].name)||e.isBindingPattern(e.last(Oe.declarations).name))&&e.setSourceMapRange(mr,Rt(oe)),mr}return e.visitEachChild(Oe,C,v)}function Rt(Oe){for(var oe=-1,mr=-1,se=0,Be=Oe;se<Be.length;se++){var er=Be[se];oe=oe===-1?er.pos:er.pos===-1?oe:Math.min(oe,er.pos),mr=Math.max(mr,er.end)}return e.createRange(oe,mr)}function cn(Oe){var oe=H.getNodeCheckFlags(Oe),mr=oe&262144,se=oe&524288,Be=(q&64)!==0||mr&&se&&(q&512)!==0,er=!Be&&(q&4096)===0&&(!H.isDeclarationWithCollidingName(Oe)||se&&!mr&&(q&6144)===0);return er}function bn(Oe){var oe=Oe.name;return e.isBindingPattern(oe)?In(Oe):!Oe.initializer&&cn(Oe)?A.updateVariableDeclaration(Oe,Oe.name,void 0,void 0,A.createVoidZero()):e.visitEachChild(Oe,C,v)}function In(Oe){var oe=re(32,0),mr;return e.isBindingPattern(Oe.name)?mr=e.flattenDestructuringBinding(Oe,C,v,0,void 0,(oe&32)!==0):mr=e.visitEachChild(Oe,C,v),T(oe,0,0),mr}function zn(Oe){F.labels.set(e.idText(Oe.label),!0)}function ir(Oe){F.labels.set(e.idText(Oe.label),!1)}function Or(Oe){F&&!F.labels&&(F.labels=new e.Map);var oe=e.unwrapInnermostStatementOfLabel(Oe,F&&zn);return e.isIterationStatement(oe,!1)?sr(oe,Oe):A.restoreEnclosingLabel(e.visitNode(oe,C,e.isStatement,A.liftToBlock),Oe,F&&ir)}function sr(Oe,oe){switch(Oe.kind){case 239:case 240:return or(Oe,oe);case 241:return fe(Oe,oe);case 242:return Ee(Oe,oe);case 243:return We(Oe,oe)}}function ye(Oe,oe,mr,se,Be){var er=re(Oe,oe),vr=Nr(mr,se,er,Be);return T(er,0,0),vr}function or(Oe,oe){return ye(0,1280,Oe,oe)}function fe(Oe,oe){return ye(5056,3328,Oe,oe)}function je(Oe){return A.updateForStatement(Oe,e.visitNode(Oe.initializer,m,e.isForInitializer),e.visitNode(Oe.condition,C,e.isExpression),e.visitNode(Oe.incrementor,m,e.isExpression),e.visitNode(Oe.statement,C,e.isStatement,A.liftToBlock))}function Ee(Oe,oe){return ye(3008,5376,Oe,oe)}function We(Oe,oe){return ye(3008,5376,Oe,oe,B.downlevelIteration?Ze:me)}function $(Oe,oe,mr){var se=[],Be=Oe.initializer;if(e.isVariableDeclarationList(Be)){Oe.initializer.flags&3&&Zi();var er=e.firstOrUndefined(Be.declarations);if(er&&e.isBindingPattern(er.name)){var vr=e.flattenDestructuringBinding(er,C,v,0,oe),qr=e.setTextRange(A.createVariableDeclarationList(vr),Oe.initializer);e.setOriginalNode(qr,Oe.initializer),e.setSourceMapRange(qr,e.createRange(vr[0].pos,e.last(vr).end)),se.push(A.createVariableStatement(void 0,qr))}else se.push(e.setTextRange(A.createVariableStatement(void 0,e.setOriginalNode(e.setTextRange(A.createVariableDeclarationList([A.createVariableDeclaration(er?er.name:A.createTempVariable(void 0),void 0,void 0,oe)]),e.moveRangePos(Be,-1)),Be)),e.moveRangeEnd(Be,-1)))}else{var Dt=A.createAssignment(Be,oe);e.isDestructuringAssignment(Dt)?se.push(A.createExpressionStatement(ze(Dt,!0))):(e.setTextRangeEnd(Dt,Be.end),se.push(e.setTextRange(A.createExpressionStatement(e.visitNode(Dt,C,e.isExpression)),e.moveRangeEnd(Be,-1))))}if(mr)return Ne(e.addRange(se,mr));var Jt=e.visitNode(Oe.statement,C,e.isStatement,A.liftToBlock);return e.isBlock(Jt)?A.updateBlock(Jt,e.setTextRange(A.createNodeArray(e.concatenate(se,Jt.statements)),Jt.statements)):(se.push(Jt),Ne(se))}function Ne(Oe){return e.setEmitFlags(A.createBlock(A.createNodeArray(Oe),!0),432)}function me(Oe,oe,mr){var se=e.visitNode(Oe.expression,C,e.isExpression),Be=A.createLoopVariable(),er=e.isIdentifier(se)?A.getGeneratedNameForNode(se):A.createTempVariable(void 0);e.setEmitFlags(se,48|e.getEmitFlags(se));var vr=e.setTextRange(A.createForStatement(e.setEmitFlags(e.setTextRange(A.createVariableDeclarationList([e.setTextRange(A.createVariableDeclaration(Be,void 0,void 0,A.createNumericLiteral(0)),e.moveRangePos(Oe.expression,-1)),e.setTextRange(A.createVariableDeclaration(er,void 0,void 0,se),Oe.expression)]),Oe.expression),2097152),e.setTextRange(A.createLessThan(Be,A.createPropertyAccessExpression(er,\"length\")),Oe.expression),e.setTextRange(A.createPostfixIncrement(Be),Oe.expression),$(Oe,A.createElementAccessExpression(er,Be),mr)),Oe);return e.setEmitFlags(vr,256),e.setTextRange(vr,Oe),A.restoreEnclosingLabel(vr,oe,F&&ir)}function Ze(Oe,oe,mr,se){var Be=e.visitNode(Oe.expression,C,e.isExpression),er=e.isIdentifier(Be)?A.getGeneratedNameForNode(Be):A.createTempVariable(void 0),vr=e.isIdentifier(Be)?A.getGeneratedNameForNode(er):A.createTempVariable(void 0),qr=A.createUniqueName(\"e\"),Dt=A.getGeneratedNameForNode(qr),Jt=A.createTempVariable(void 0),Sn=e.setTextRange(z().createValuesHelper(Be),Oe.expression),ta=A.createCallExpression(A.createPropertyAccessExpression(er,\"next\"),void 0,[]);S(qr),S(Jt);var xa=se&1024?A.inlineExpressions([A.createAssignment(qr,A.createVoidZero()),Sn]):Sn,Di=e.setEmitFlags(e.setTextRange(A.createForStatement(e.setEmitFlags(e.setTextRange(A.createVariableDeclarationList([e.setTextRange(A.createVariableDeclaration(er,void 0,void 0,xa),Oe.expression),A.createVariableDeclaration(vr,void 0,void 0,ta)]),Oe.expression),2097152),A.createLogicalNot(A.createPropertyAccessExpression(vr,\"done\")),A.createAssignment(vr,ta),$(Oe,A.createPropertyAccessExpression(vr,\"value\"),mr)),Oe),256);return A.createTryStatement(A.createBlock([A.restoreEnclosingLabel(Di,oe,F&&ir)]),A.createCatchClause(A.createVariableDeclaration(Dt),e.setEmitFlags(A.createBlock([A.createExpressionStatement(A.createAssignment(qr,A.createObjectLiteralExpression([A.createPropertyAssignment(\"error\",Dt)])))]),1)),A.createBlock([A.createTryStatement(A.createBlock([e.setEmitFlags(A.createIfStatement(A.createLogicalAnd(A.createLogicalAnd(vr,A.createLogicalNot(A.createPropertyAccessExpression(vr,\"done\"))),A.createAssignment(Jt,A.createPropertyAccessExpression(er,\"return\"))),A.createExpressionStatement(A.createFunctionCallCall(Jt,er,[]))),1)]),void 0,e.setEmitFlags(A.createBlock([e.setEmitFlags(A.createIfStatement(qr,A.createThrowStatement(A.createPropertyAccessExpression(qr,\"error\"))),1)]),1))]))}function Cr(Oe){for(var oe=Oe.properties,mr=-1,se=!1,Be=0;Be<oe.length;Be++){var er=oe[Be];if(er.transformFlags&524288&&q&4||(se=e.Debug.checkDefined(er.name).kind===161)){mr=Be;break}}if(mr<0)return e.visitEachChild(Oe,C,v);var vr=A.createTempVariable(S),qr=[],Dt=A.createAssignment(vr,e.setEmitFlags(A.createObjectLiteralExpression(e.visitNodes(oe,C,e.isObjectLiteralElementLike,0,mr),Oe.multiLine),se?65536:0));return Oe.multiLine&&e.startOnNewLine(Dt),qr.push(Dt),qt(qr,Oe,vr,mr),qr.push(Oe.multiLine?e.startOnNewLine(e.setParent(e.setTextRange(A.cloneNode(vr),vr),vr.parent)):vr),A.inlineExpressions(qr)}function fr(Oe){return(H.getNodeCheckFlags(Oe)&131072)!==0}function dr(Oe){return e.isForStatement(Oe)&&!!Oe.initializer&&fr(Oe.initializer)}function et(Oe){return e.isForStatement(Oe)&&!!Oe.condition&&fr(Oe.condition)}function yt(Oe){return e.isForStatement(Oe)&&!!Oe.incrementor&&fr(Oe.incrementor)}function Vr(Oe){return tr(Oe)||dr(Oe)}function tr(Oe){return(H.getNodeCheckFlags(Oe)&65536)!==0}function xr(Oe,oe){Oe.hoistedLocalVariables||(Oe.hoistedLocalVariables=[]),mr(oe.name);function mr(se){if(se.kind===79)Oe.hoistedLocalVariables.push(se);else for(var Be=0,er=se.elements;Be<er.length;Be++){var vr=er[Be];e.isOmittedExpression(vr)||mr(vr.name)}}}function Nr(Oe,oe,mr,se){if(!Vr(Oe)){var Be=void 0;F&&(Be=F.allowedNonLabeledJumps,F.allowedNonLabeledJumps=6);var er=se?se(Oe,oe,void 0,mr):A.restoreEnclosingLabel(e.isForStatement(Oe)?je(Oe):e.visitEachChild(Oe,C,v),oe,F&&ir);return F&&(F.allowedNonLabeledJumps=Be),er}var vr=wt(Oe),qr=[],Dt=F;F=vr;var Jt=dr(Oe)?rn(Oe,vr):void 0,Sn=tr(Oe)?sa(Oe,vr,Dt):void 0;F=Dt,Jt&&qr.push(Jt.functionDeclaration),Sn&&qr.push(Sn.functionDeclaration),Qt(qr,vr,Dt),Jt&&qr.push(na(Jt.functionName,Jt.containsYield));var ta;if(Sn)if(se)ta=se(Oe,oe,Sn.part,mr);else{var xa=zr(Oe,Jt,A.createBlock(Sn.part,!0));ta=A.restoreEnclosingLabel(xa,oe,F&&ir)}else{var Di=zr(Oe,Jt,e.visitNode(Oe.statement,C,e.isStatement,A.liftToBlock));ta=A.restoreEnclosingLabel(Di,oe,F&&ir)}return qr.push(ta),qr}function zr(Oe,oe,mr){switch(Oe.kind){case 241:return gt(Oe,oe,mr);case 242:return ut(Oe,mr);case 243:return vt(Oe,mr);case 239:return ht(Oe,mr);case 240:return xt(Oe,mr);default:return e.Debug.failBadSyntaxKind(Oe,\"IterationStatement expected\")}}function gt(Oe,oe,mr){var se=Oe.condition&&fr(Oe.condition),Be=se||Oe.incrementor&&fr(Oe.incrementor);return A.updateForStatement(Oe,e.visitNode(oe?oe.part:Oe.initializer,m,e.isForInitializer),e.visitNode(se?void 0:Oe.condition,C,e.isExpression),e.visitNode(Be?void 0:Oe.incrementor,m,e.isExpression),mr)}function vt(Oe,oe){return A.updateForOfStatement(Oe,void 0,e.visitNode(Oe.initializer,C,e.isForInitializer),e.visitNode(Oe.expression,C,e.isExpression),oe)}function ut(Oe,oe){return A.updateForInStatement(Oe,e.visitNode(Oe.initializer,C,e.isForInitializer),e.visitNode(Oe.expression,C,e.isExpression),oe)}function ht(Oe,oe){return A.updateDoStatement(Oe,oe,e.visitNode(Oe.expression,C,e.isExpression))}function xt(Oe,oe){return A.updateWhileStatement(Oe,e.visitNode(Oe.expression,C,e.isExpression),oe)}function wt(Oe){var oe;switch(Oe.kind){case 241:case 242:case 243:var mr=Oe.initializer;mr&&mr.kind===254&&(oe=mr);break}var se=[],Be=[];if(oe&&e.getCombinedNodeFlags(oe)&3)for(var er=dr(Oe),vr=0,qr=oe.declarations;vr<qr.length;vr++){var Dt=qr[vr];Ut(Oe,Dt,se,Be,er)}var Jt={loopParameters:se,loopOutParameters:Be};return F&&(F.argumentsName&&(Jt.argumentsName=F.argumentsName),F.thisName&&(Jt.thisName=F.thisName),F.hoistedLocalVariables&&(Jt.hoistedLocalVariables=F.hoistedLocalVariables)),Jt}function Qt(Oe,oe,mr){var se;if(oe.argumentsName&&(mr?mr.argumentsName=oe.argumentsName:(se||(se=[])).push(A.createVariableDeclaration(oe.argumentsName,void 0,void 0,A.createIdentifier(\"arguments\")))),oe.thisName&&(mr?mr.thisName=oe.thisName:(se||(se=[])).push(A.createVariableDeclaration(oe.thisName,void 0,void 0,A.createIdentifier(\"this\")))),oe.hoistedLocalVariables)if(mr)mr.hoistedLocalVariables=oe.hoistedLocalVariables;else{se||(se=[]);for(var Be=0,er=oe.hoistedLocalVariables;Be<er.length;Be++){var vr=er[Be];se.push(A.createVariableDeclaration(vr))}}if(oe.loopOutParameters.length){se||(se=[]);for(var qr=0,Dt=oe.loopOutParameters;qr<Dt.length;qr++){var Jt=Dt[qr];se.push(A.createVariableDeclaration(Jt.outParamName))}}oe.conditionVariable&&(se||(se=[]),se.push(A.createVariableDeclaration(oe.conditionVariable,void 0,void 0,A.createFalse()))),se&&Oe.push(A.createVariableStatement(void 0,A.createVariableDeclarationList(se)))}function mt(Oe){return A.createVariableDeclaration(Oe.originalName,void 0,void 0,Oe.outParamName)}function rn(Oe,oe){var mr=A.createUniqueName(\"_loop_init\"),se=(Oe.initializer.transformFlags&524288)!==0,Be=0;oe.containsLexicalThis&&(Be|=8),se&&q&4&&(Be|=262144);var er=[];er.push(A.createVariableStatement(void 0,Oe.initializer)),Jn(oe.loopOutParameters,2,1,er);var vr=A.createVariableStatement(void 0,e.setEmitFlags(A.createVariableDeclarationList([A.createVariableDeclaration(mr,void 0,void 0,e.setEmitFlags(A.createFunctionExpression(void 0,se?A.createToken(41):void 0,void 0,void 0,void 0,void 0,e.visitNode(A.createBlock(er,!0),C,e.isBlock)),Be))]),2097152)),qr=A.createVariableDeclarationList(e.map(oe.loopOutParameters,mt));return{functionName:mr,containsYield:se,functionDeclaration:vr,part:qr}}function sa(Oe,oe,mr){var se=A.createUniqueName(\"_loop\");ie();var Be=e.visitNode(Oe.statement,C,e.isStatement,A.liftToBlock),er=M(),vr=[];(et(Oe)||yt(Oe))&&(oe.conditionVariable=A.createUniqueName(\"inc\"),Oe.incrementor?vr.push(A.createIfStatement(oe.conditionVariable,A.createExpressionStatement(e.visitNode(Oe.incrementor,C,e.isExpression)),A.createExpressionStatement(A.createAssignment(oe.conditionVariable,A.createTrue())))):vr.push(A.createIfStatement(A.createLogicalNot(oe.conditionVariable),A.createExpressionStatement(A.createAssignment(oe.conditionVariable,A.createTrue())))),et(Oe)&&vr.push(A.createIfStatement(A.createPrefixUnaryExpression(53,e.visitNode(Oe.condition,C,e.isExpression)),e.visitNode(A.createBreakStatement(),C,e.isStatement)))),e.isBlock(Be)?e.addRange(vr,Be.statements):vr.push(Be),Jn(oe.loopOutParameters,1,1,vr),e.insertStatementsAfterStandardPrologue(vr,er);var qr=A.createBlock(vr,!0);e.isBlock(Be)&&e.setOriginalNode(qr,Be);var Dt=(Oe.statement.transformFlags&524288)!==0,Jt=524288;oe.containsLexicalThis&&(Jt|=8),Dt&&(q&4)!==0&&(Jt|=262144);var Sn=A.createVariableStatement(void 0,e.setEmitFlags(A.createVariableDeclarationList([A.createVariableDeclaration(se,void 0,void 0,e.setEmitFlags(A.createFunctionExpression(void 0,Dt?A.createToken(41):void 0,void 0,void 0,oe.loopParameters,void 0,qr),Jt))]),2097152)),ta=Wn(se,oe,mr,Dt);return{functionName:se,containsYield:Dt,functionDeclaration:Sn,part:ta}}function ba(Oe,oe){var mr=oe===0?Oe.outParamName:Oe.originalName,se=oe===0?Oe.originalName:Oe.outParamName;return A.createBinaryExpression(se,63,mr)}function Jn(Oe,oe,mr,se){for(var Be=0,er=Oe;Be<er.length;Be++){var vr=er[Be];vr.flags&oe&&se.push(A.createExpressionStatement(ba(vr,mr)))}}function na(Oe,oe){var mr=A.createCallExpression(Oe,void 0,[]),se=oe?A.createYieldExpression(A.createToken(41),e.setEmitFlags(mr,8388608)):mr;return A.createExpressionStatement(se)}function Wn(Oe,oe,mr,se){var Be=[],er=!(oe.nonLocalJumps&-5)&&!oe.labeledNonLocalBreaks&&!oe.labeledNonLocalContinues,vr=A.createCallExpression(Oe,void 0,e.map(oe.loopParameters,function(xa){return xa.name})),qr=se?A.createYieldExpression(A.createToken(41),e.setEmitFlags(vr,8388608)):vr;if(er)Be.push(A.createExpressionStatement(qr)),Jn(oe.loopOutParameters,1,0,Be);else{var Dt=A.createUniqueName(\"state\"),Jt=A.createVariableStatement(void 0,A.createVariableDeclarationList([A.createVariableDeclaration(Dt,void 0,void 0,qr)]));if(Be.push(Jt),Jn(oe.loopOutParameters,1,0,Be),oe.nonLocalJumps&8){var Sn=void 0;mr?(mr.nonLocalJumps|=8,Sn=A.createReturnStatement(Dt)):Sn=A.createReturnStatement(A.createPropertyAccessExpression(Dt,\"value\")),Be.push(A.createIfStatement(A.createTypeCheck(Dt,\"object\"),Sn))}if(oe.nonLocalJumps&2&&Be.push(A.createIfStatement(A.createStrictEquality(Dt,A.createStringLiteral(\"break\")),A.createBreakStatement())),oe.labeledNonLocalBreaks||oe.labeledNonLocalContinues){var ta=[];St(oe.labeledNonLocalBreaks,!0,Dt,mr,ta),St(oe.labeledNonLocalContinues,!1,Dt,mr,ta),Be.push(A.createSwitchStatement(Dt,A.createCaseBlock(ta)))}}return Be}function en(Oe,oe,mr,se){oe?(Oe.labeledNonLocalBreaks||(Oe.labeledNonLocalBreaks=new e.Map),Oe.labeledNonLocalBreaks.set(mr,se)):(Oe.labeledNonLocalContinues||(Oe.labeledNonLocalContinues=new e.Map),Oe.labeledNonLocalContinues.set(mr,se))}function St(Oe,oe,mr,se,Be){!Oe||Oe.forEach(function(er,vr){var qr=[];if(!se||se.labels&&se.labels.get(vr)){var Dt=A.createIdentifier(vr);qr.push(oe?A.createBreakStatement(Dt):A.createContinueStatement(Dt))}else en(se,oe,vr,er),qr.push(A.createReturnStatement(mr));Be.push(A.createCaseClause(A.createStringLiteral(er),qr))})}function Ut(Oe,oe,mr,se,Be){var er=oe.name;if(e.isBindingPattern(er))for(var vr=0,qr=er.elements;vr<qr.length;vr++){var Dt=qr[vr];e.isOmittedExpression(Dt)||Ut(Oe,Dt,mr,se,Be)}else{mr.push(A.createParameterDeclaration(void 0,void 0,void 0,er));var Jt=H.getNodeCheckFlags(oe);if(Jt&4194304||Be){var Sn=A.createUniqueName(\"out_\"+e.idText(er)),ta=0;Jt&4194304&&(ta|=1),e.isForStatement(Oe)&&Oe.initializer&&H.isBindingCapturedByNode(Oe.initializer,oe)&&(ta|=2),se.push({flags:ta,originalName:er,outParamName:Sn})}}}function qt(Oe,oe,mr,se){for(var Be=oe.properties,er=Be.length,vr=se;vr<er;vr++){var qr=Be[vr];switch(qr.kind){case 171:case 172:var Dt=e.getAllAccessorDeclarations(oe.properties,qr);qr===Dt.firstAccessor&&Oe.push(gr(mr,Dt,oe,!!oe.multiLine));break;case 168:Oe.push(oa(qr,mr,oe,oe.multiLine));break;case 294:Oe.push(Mn(qr,mr,oe.multiLine));break;case 295:Oe.push(dn(qr,mr,oe.multiLine));break;default:e.Debug.failBadSyntaxKind(oe);break}}}function Mn(Oe,oe,mr){var se=A.createAssignment(e.createMemberAccessForPropertyName(A,oe,e.visitNode(Oe.name,C,e.isPropertyName)),e.visitNode(Oe.initializer,C,e.isExpression));return e.setTextRange(se,Oe),mr&&e.startOnNewLine(se),se}function dn(Oe,oe,mr){var se=A.createAssignment(e.createMemberAccessForPropertyName(A,oe,e.visitNode(Oe.name,C,e.isPropertyName)),A.cloneNode(Oe.name));return e.setTextRange(se,Oe),mr&&e.startOnNewLine(se),se}function oa(Oe,oe,mr,se){var Be=A.createAssignment(e.createMemberAccessForPropertyName(A,oe,e.visitNode(Oe.name,C,e.isPropertyName)),Sr(Oe,Oe,void 0,mr));return e.setTextRange(Be,Oe),se&&e.startOnNewLine(Be),Be}function pt(Oe){var oe=re(7104,0),mr;if(e.Debug.assert(!!Oe.variableDeclaration,\"Catch clause variable should always be present when downleveling ES2015.\"),e.isBindingPattern(Oe.variableDeclaration.name)){var se=A.createTempVariable(void 0),Be=A.createVariableDeclaration(se);e.setTextRange(Be,Oe.variableDeclaration);var er=e.flattenDestructuringBinding(Oe.variableDeclaration,C,v,0,se),vr=A.createVariableDeclarationList(er);e.setTextRange(vr,Oe.variableDeclaration);var qr=A.createVariableStatement(void 0,vr);mr=A.updateCatchClause(Oe,Be,_t(Oe.block,qr))}else mr=e.visitEachChild(Oe,C,v);return T(oe,0,0),mr}function _t(Oe,oe){var mr=e.visitNodes(Oe.statements,C,e.isStatement);return A.updateBlock(Oe,Gt([oe],mr,!0))}function Mt(Oe){e.Debug.assert(!e.isComputedPropertyName(Oe.name));var oe=Sr(Oe,e.moveRangePos(Oe,-1),void 0,void 0);return e.setEmitFlags(oe,512|e.getEmitFlags(oe)),e.setTextRange(A.createPropertyAssignment(Oe.name,oe),Oe)}function It(Oe){e.Debug.assert(!e.isComputedPropertyName(Oe.name));var oe=F;F=void 0;var mr=re(32670,65),se,Be=e.visitParameterList(Oe.parameters,C,v),er=Pr(Oe);return Oe.kind===171?se=A.updateGetAccessorDeclaration(Oe,Oe.decorators,Oe.modifiers,Oe.name,Be,Oe.type,er):se=A.updateSetAccessorDeclaration(Oe,Oe.decorators,Oe.modifiers,Oe.name,Be,er),T(mr,98304,0),F=oe,se}function rt(Oe){return e.setTextRange(A.createPropertyAssignment(Oe.name,Y(A.cloneNode(Oe.name))),Oe)}function Cn(Oe){return e.visitEachChild(Oe,C,v)}function Qn(Oe){return e.visitEachChild(Oe,C,v)}function Ra(Oe){return e.some(Oe.elements,e.isSpreadElement)?Ka(Oe.elements,!1,!!Oe.multiLine,!!Oe.elements.hasTrailingComma):e.visitEachChild(Oe,C,v)}function Ci(Oe){if(e.getEmitFlags(Oe)&33554432)return _i(Oe);var oe=e.skipOuterExpressions(Oe.expression);return oe.kind===106||e.isSuperProperty(oe)||e.some(Oe.arguments,e.isSpreadElement)?yi(Oe,!0):A.updateCallExpression(Oe,e.visitNode(Oe.expression,g,e.isExpression),void 0,e.visitNodes(Oe.arguments,C,e.isExpression))}function _i(Oe){var oe=e.cast(e.cast(e.skipOuterExpressions(Oe.expression),e.isArrowFunction).body,e.isBlock),mr=function(bt){return e.isVariableStatement(bt)&&!!e.first(bt.declarationList.declarations).initializer},se=F;F=void 0;var Be=e.visitNodes(oe.statements,u,e.isStatement);F=se;var er=e.filter(Be,mr),vr=e.filter(Be,function(bt){return!mr(bt)}),qr=e.cast(e.first(er),e.isVariableStatement),Dt=qr.declarationList.declarations[0],Jt=e.skipOuterExpressions(Dt.initializer),Sn=e.tryCast(Jt,e.isAssignmentExpression);!Sn&&e.isBinaryExpression(Jt)&&Jt.operatorToken.kind===27&&(Sn=e.tryCast(Jt.left,e.isAssignmentExpression));var ta=e.cast(Sn?e.skipOuterExpressions(Sn.right):Jt,e.isCallExpression),xa=e.cast(e.skipOuterExpressions(ta.expression),e.isFunctionExpression),Di=xa.body.statements,$a=0,Ji=-1,So=[];if(Sn){var cs=e.tryCast(Di[$a],e.isExpressionStatement);cs&&(So.push(cs),$a++),So.push(Di[$a]),$a++,So.push(A.createExpressionStatement(A.createAssignment(Sn.left,e.cast(Dt.name,e.isIdentifier))))}for(;!e.isReturnStatement(e.elementAt(Di,Ji));)Ji--;return e.addRange(So,Di,$a,Ji),Ji<-1&&e.addRange(So,Di,Ji+1),e.addRange(So,vr),e.addRange(So,er,1),A.restoreOuterExpressions(Oe.expression,A.restoreOuterExpressions(Dt.initializer,A.restoreOuterExpressions(Sn&&Sn.right,A.updateCallExpression(ta,A.restoreOuterExpressions(ta.expression,A.updateFunctionExpression(xa,void 0,void 0,void 0,void 0,xa.parameters,void 0,A.updateBlock(xa.body,So))),void 0,ta.arguments))))}function va(Oe){return yi(Oe,!1)}function yi(Oe,oe){if(Oe.transformFlags&16384||Oe.expression.kind===106||e.isSuperProperty(e.skipOuterExpressions(Oe.expression))){var mr=A.createCallBinding(Oe.expression,S),se=mr.target,Be=mr.thisArg;Oe.expression.kind===106&&e.setEmitFlags(Be,4);var er=void 0;if(Oe.transformFlags&16384?er=A.createFunctionApplyCall(e.visitNode(se,g,e.isExpression),Oe.expression.kind===106?Be:e.visitNode(Be,C,e.isExpression),Ka(Oe.arguments,!0,!1,!1)):er=e.setTextRange(A.createFunctionCallCall(e.visitNode(se,g,e.isExpression),Oe.expression.kind===106?Be:e.visitNode(Be,C,e.isExpression),e.visitNodes(Oe.arguments,C,e.isExpression)),Oe),Oe.expression.kind===106){var vr=A.createLogicalOr(er,_e());er=oe?A.createAssignment(A.createUniqueName(\"_this\",48),vr):vr}return e.setOriginalNode(er,Oe)}return e.visitEachChild(Oe,C,v)}function ro(Oe){if(e.some(Oe.arguments,e.isSpreadElement)){var oe=A.createCallBinding(A.createPropertyAccessExpression(Oe.expression,\"bind\"),S),mr=oe.target,se=oe.thisArg;return A.createNewExpression(A.createFunctionApplyCall(e.visitNode(mr,C,e.isExpression),se,Ka(A.createNodeArray(Gt([A.createVoidZero()],Oe.arguments,!0)),!0,!1,!1)),void 0,[])}return e.visitEachChild(Oe,C,v)}function Ka(Oe,oe,mr,se){var Be=Oe.length,er=e.flatten(e.spanMap(Oe,Mi,function(xa,Di,$a,Ji){return Di(xa,mr,se&&Ji===Be)}));if(er.length===1){var vr=er[0];if(oe&&!B.downlevelIteration||e.isPackedArrayLiteral(vr.expression)||e.isCallToHelper(vr.expression,\"___spreadArray\"))return vr.expression}for(var qr=z(),Dt=er[0].kind!==0,Jt=Dt?A.createArrayLiteralExpression():er[0].expression,Sn=Dt?0:1;Sn<er.length;Sn++){var ta=er[Sn];Jt=qr.createSpreadArrayHelper(Jt,ta.expression,ta.kind===1&&!oe)}return Jt}function Mi(Oe){return e.isSpreadElement(Oe)?io:Hi}function io(Oe){return e.map(Oe,ji)}function ji(Oe){var oe=e.visitNode(Oe.expression,C,e.isExpression),mr=e.isCallToHelper(oe,\"___read\"),se=mr||e.isPackedArrayLiteral(oe)?2:1;return B.downlevelIteration&&se===1&&!e.isArrayLiteralExpression(oe)&&!mr&&(oe=z().createReadHelper(oe,void 0),se=2),J(se,oe)}function Hi(Oe,oe,mr){var se=A.createArrayLiteralExpression(e.visitNodes(A.createNodeArray(Oe,mr),C,e.isExpression),oe);return J(0,se)}function to(Oe){return e.visitNode(Oe.expression,C,e.isExpression)}function No(Oe){return e.setTextRange(A.createStringLiteral(Oe.text),Oe)}function lo(Oe){return Oe.hasExtendedUnicodeEscape?e.setTextRange(A.createStringLiteral(Oe.text),Oe):Oe}function Lo(Oe){return Oe.numericLiteralFlags&384?e.setTextRange(A.createNumericLiteral(Oe.text),Oe):Oe}function Ha(Oe){return e.processTaggedTemplateExpression(v,Oe,C,x,ne,e.ProcessLevel.All)}function Yo(Oe){for(var oe=A.createStringLiteral(Oe.head.text),mr=0,se=Oe.templateSpans;mr<se.length;mr++){var Be=se[mr],er=[e.visitNode(Be.expression,C,e.isExpression)];Be.literal.text.length>0&&er.push(A.createStringLiteral(Be.literal.text)),oe=A.createCallExpression(A.createPropertyAccessExpression(oe,\"concat\"),void 0,er)}return e.setTextRange(oe,Oe)}function co(Oe){return q&8&&!Oe?A.createPropertyAccessExpression(A.createUniqueName(\"_super\",48),\"prototype\"):A.createUniqueName(\"_super\",48)}function za(Oe){return Oe.keywordToken===103&&Oe.name.escapedText===\"target\"?(q|=32768,A.createUniqueName(\"_newTarget\",48)):Oe}function hi(Oe,oe,mr){if(Q&1&&e.isFunctionLike(oe)){var se=re(32670,e.getEmitFlags(oe)&8?81:65);w(Oe,oe,mr),T(se,0,0);return}w(Oe,oe,mr)}function Zi(){(Q&2)===0&&(Q|=2,v.enableSubstitution(79))}function Mo(){(Q&1)===0&&(Q|=1,v.enableSubstitution(108),v.enableEmitNotification(170),v.enableEmitNotification(168),v.enableEmitNotification(171),v.enableEmitNotification(172),v.enableEmitNotification(213),v.enableEmitNotification(212),v.enableEmitNotification(255))}function Po(Oe,oe){return oe=I(Oe,oe),Oe===1?Es(oe):e.isIdentifier(oe)?Fo(oe):oe}function Fo(Oe){if(Q&2&&!e.isInternalName(Oe)){var oe=e.getParseTreeNode(Oe,e.isIdentifier);if(oe&&zo(oe))return e.setTextRange(A.getGeneratedNameForNode(oe),Oe)}return Oe}function zo(Oe){switch(Oe.parent.kind){case 202:case 256:case 259:case 253:return Oe.parent.name===Oe&&H.isDeclarationWithCollidingName(Oe.parent)}return!1}function Es(Oe){switch(Oe.kind){case 79:return Cs(Oe);case 108:return dt(Oe)}return Oe}function Cs(Oe){if(Q&2&&!e.isInternalName(Oe)){var oe=H.getReferencedDeclarationWithCollidingName(Oe);if(oe&&!(e.isClassLike(oe)&&hr(oe,Oe)))return e.setTextRange(A.getGeneratedNameForNode(e.getNameOfDeclaration(oe)),Oe)}return Oe}function hr(Oe,oe){var mr=e.getParseTreeNode(oe);if(!mr||mr===Oe||mr.end<=Oe.pos||mr.pos>=Oe.end)return!1;for(var se=e.getEnclosingBlockScopeContainer(Oe);mr;){if(mr===se||mr===Oe)return!1;if(e.isClassElement(mr)&&mr.parent===Oe)return!0;mr=mr.parent}return!1}function dt(Oe){return Q&1&&q&16?e.setTextRange(A.createUniqueName(\"_this\",48),Oe):Oe}function tn(Oe,oe){return e.isStatic(oe)?A.getInternalName(Oe):A.createPropertyAccessExpression(A.getInternalName(Oe),\"prototype\")}function Un(Oe,oe){if(!Oe||!oe||e.some(Oe.parameters))return!1;var mr=e.firstOrUndefined(Oe.body.statements);if(!mr||!e.nodeIsSynthesized(mr)||mr.kind!==237)return!1;var se=mr.expression;if(!e.nodeIsSynthesized(se)||se.kind!==207)return!1;var Be=se.expression;if(!e.nodeIsSynthesized(Be)||Be.kind!==106)return!1;var er=e.singleOrUndefined(se.arguments);if(!er||!e.nodeIsSynthesized(er)||er.kind!==224)return!1;var vr=er.expression;return e.isIdentifier(vr)&&vr.escapedText===\"arguments\"}}e.transformES2015=h}(jr||(jr={})),function(e){function n(f){var p=f.factory,a=f.getCompilerOptions(),d,k;(a.jsx===1||a.jsx===3)&&(d=f.onEmitNode,f.onEmitNode=v,f.enableEmitNotification(279),f.enableEmitNotification(280),f.enableEmitNotification(278),k=[]);var J=f.onSubstituteNode;return f.onSubstituteNode=A,f.enableSubstitution(205),f.enableSubstitution(294),e.chainBundle(f,h);function h(M){return M}function v(M,S,B){switch(S.kind){case 279:case 280:case 278:var H=S.tagName;k[e.getOriginalNodeId(H)]=!0;break}d(M,S,B)}function A(M,S){return S.id&&k&&k[S.id]?J(M,S):(S=J(M,S),e.isPropertyAccessExpression(S)?z(S):e.isPropertyAssignment(S)?ie(S):S)}function z(M){if(e.isPrivateIdentifier(M.name))return M;var S=b(M.name);return S?e.setTextRange(p.createElementAccessExpression(M.expression,S),M):M}function ie(M){var S=e.isIdentifier(M.name)&&b(M.name);return S?p.updatePropertyAssignment(M,S,M.initializer):M}function b(M){var S=M.originalKeywordKind||(e.nodeIsSynthesized(M)?e.stringToToken(e.idText(M)):void 0);if(S!==void 0&&S>=81&&S<=116)return e.setTextRange(p.createStringLiteralFromNode(M),M)}}e.transformES5=n}(jr||(jr={})),function(e){var n;(function(h){h[h.Nop=0]=\"Nop\",h[h.Statement=1]=\"Statement\",h[h.Assign=2]=\"Assign\",h[h.Break=3]=\"Break\",h[h.BreakWhenTrue=4]=\"BreakWhenTrue\",h[h.BreakWhenFalse=5]=\"BreakWhenFalse\",h[h.Yield=6]=\"Yield\",h[h.YieldStar=7]=\"YieldStar\",h[h.Return=8]=\"Return\",h[h.Throw=9]=\"Throw\",h[h.Endfinally=10]=\"Endfinally\"})(n||(n={}));var f;(function(h){h[h.Open=0]=\"Open\",h[h.Close=1]=\"Close\"})(f||(f={}));var p;(function(h){h[h.Exception=0]=\"Exception\",h[h.With=1]=\"With\",h[h.Switch=2]=\"Switch\",h[h.Loop=3]=\"Loop\",h[h.Labeled=4]=\"Labeled\"})(p||(p={}));var a;(function(h){h[h.Try=0]=\"Try\",h[h.Catch=1]=\"Catch\",h[h.Finally=2]=\"Finally\",h[h.Done=3]=\"Done\"})(a||(a={}));var d;(function(h){h[h.Next=0]=\"Next\",h[h.Throw=1]=\"Throw\",h[h.Return=2]=\"Return\",h[h.Break=3]=\"Break\",h[h.Yield=4]=\"Yield\",h[h.YieldStar=5]=\"YieldStar\",h[h.Catch=6]=\"Catch\",h[h.Endfinally=7]=\"Endfinally\"})(d||(d={}));function k(h){switch(h){case 2:return\"return\";case 3:return\"break\";case 4:return\"yield\";case 5:return\"yield*\";case 7:return\"endfinally\";default:return}}function J(h){var v=h.factory,A=h.getEmitHelperFactory,z=h.resumeLexicalEnvironment,ie=h.endLexicalEnvironment,b=h.hoistFunctionDeclaration,M=h.hoistVariableDeclaration,S=h.getCompilerOptions(),B=e.getEmitScriptTarget(S),H=h.getEmitResolver(),I=h.onSubstituteNode;h.onSubstituteNode=$;var w,x,O,q,Z,ne,F,Q,V,re,T=1,N,y,D,C,m=0,u=0,g,P,te,ue,X,j,Se,Ce;return e.chainBundle(h,R);function R(hr){if(hr.isDeclarationFile||(hr.transformFlags&1024)===0)return hr;var dt=e.visitEachChild(hr,Y,h);return e.addEmitHelpers(dt,h.readEmitHelpers()),dt}function Y(hr){var dt=hr.transformFlags;return q?U(hr):O?K(hr):e.isFunctionLikeDeclaration(hr)&&hr.asteriskToken?ge(hr):dt&1024?e.visitEachChild(hr,Y,h):hr}function U(hr){switch(hr.kind){case 239:return He(hr);case 240:return Jr(hr);case 248:return sr(hr);case 249:return or(hr);default:return K(hr)}}function K(hr){switch(hr.kind){case 255:return ke(hr);case 212:return Pe(hr);case 171:case 172:return Ie(hr);case 236:return he(hr);case 241:return Lr(hr);case 242:return lt(hr);case 245:return bn(hr);case 244:return Rt(hr);case 246:return zn(hr);default:return hr.transformFlags&524288?Te(hr):hr.transformFlags&2098176?e.visitEachChild(hr,Y,h):hr}}function Te(hr){switch(hr.kind){case 220:return ve(hr);case 349:return qe(hr);case 221:return De(hr);case 223:return Ae(hr);case 203:return Ye(hr);case 204:return br(hr);case 206:return lr(hr);case 207:return Ar(hr);case 208:return kr(hr);default:return e.visitEachChild(hr,Y,h)}}function ge(hr){switch(hr.kind){case 255:return ke(hr);case 212:return Pe(hr);default:return e.Debug.failBadSyntaxKind(hr)}}function ke(hr){if(hr.asteriskToken)hr=e.setOriginalNode(e.setTextRange(v.createFunctionDeclaration(void 0,hr.modifiers,void 0,hr.name,void 0,e.visitParameterList(hr.parameters,Y,h),void 0,Ge(hr.body)),hr),hr);else{var dt=O,tn=q;O=!1,q=!1,hr=e.visitEachChild(hr,Y,h),O=dt,q=tn}if(O){b(hr);return}else return hr}function Pe(hr){if(hr.asteriskToken)hr=e.setOriginalNode(e.setTextRange(v.createFunctionExpression(void 0,void 0,hr.name,void 0,e.visitParameterList(hr.parameters,Y,h),void 0,Ge(hr.body)),hr),hr);else{var dt=O,tn=q;O=!1,q=!1,hr=e.visitEachChild(hr,Y,h),O=dt,q=tn}return hr}function Ie(hr){var dt=O,tn=q;return O=!1,q=!1,hr=e.visitEachChild(hr,Y,h),O=dt,q=tn,hr}function Ge(hr){var dt=[],tn=O,Un=q,Oe=Z,oe=ne,mr=F,se=Q,Be=V,er=re,vr=T,qr=N,Dt=y,Jt=D,Sn=C;O=!0,q=!1,Z=void 0,ne=void 0,F=void 0,Q=void 0,V=void 0,re=void 0,T=1,N=void 0,y=void 0,D=void 0,C=v.createTempVariable(void 0),z();var ta=v.copyPrologue(hr.statements,dt,!1,Y);Ke(hr.statements,ta);var xa=Mi();return e.insertStatementsAfterStandardPrologue(dt,ie()),dt.push(v.createReturnStatement(xa)),O=tn,q=Un,Z=Oe,ne=oe,F=mr,Q=se,V=Be,re=er,T=vr,N=qr,y=Dt,D=Jt,C=Sn,e.setTextRange(v.createBlock(dt,hr.multiLine),hr)}function he(hr){if(hr.transformFlags&524288){Fe(hr.declarationList);return}else{if(e.getEmitFlags(hr)&1048576)return hr;for(var dt=0,tn=hr.declarationList.declarations;dt<tn.length;dt++){var Un=tn[dt];M(Un.name)}var Oe=e.getInitializedVariables(hr.declarationList);return Oe.length===0?void 0:e.setSourceMapRange(v.createExpressionStatement(v.inlineExpressions(e.map(Oe,$e))),hr)}}function ve(hr){var dt=e.getExpressionAssociativity(hr);switch(dt){case 0:return _e(hr);case 1:return Ve(hr);default:return e.Debug.assertNever(dt)}}function Ve(hr){var dt=hr.left,tn=hr.right;if(Ee(tn)){var Un=void 0;switch(dt.kind){case 205:Un=v.updatePropertyAccessExpression(dt,Ze(e.visitNode(dt.expression,Y,e.isLeftHandSideExpression)),dt.name);break;case 206:Un=v.updateElementAccessExpression(dt,Ze(e.visitNode(dt.expression,Y,e.isLeftHandSideExpression)),Ze(e.visitNode(dt.argumentExpression,Y,e.isExpression)));break;default:Un=e.visitNode(dt,Y,e.isExpression);break}var Oe=hr.operatorToken.kind;return e.isCompoundAssignment(Oe)?e.setTextRange(v.createAssignment(Un,e.setTextRange(v.createBinaryExpression(Ze(Un),e.getNonAssignmentOperatorForCompoundAssignment(Oe),e.visitNode(tn,Y,e.isExpression)),hr)),hr):v.updateBinaryExpression(hr,Un,hr.operatorToken,e.visitNode(tn,Y,e.isExpression))}return e.visitEachChild(hr,Y,h)}function _e(hr){return Ee(hr.right)?e.isLogicalOperator(hr.operatorToken.kind)?Xe(hr):hr.operatorToken.kind===27?Le(hr):v.updateBinaryExpression(hr,Ze(e.visitNode(hr.left,Y,e.isExpression)),hr.operatorToken,e.visitNode(hr.right,Y,e.isExpression)):e.visitEachChild(hr,Y,h)}function Le(hr){var dt=[];return tn(hr.left),tn(hr.right),v.inlineExpressions(dt);function tn(Un){e.isBinaryExpression(Un)&&Un.operatorToken.kind===27?(tn(Un.left),tn(Un.right)):(Ee(Un)&&dt.length>0&&(Ka(1,[v.createExpressionStatement(v.inlineExpressions(dt))]),dt=[]),dt.push(e.visitNode(Un,Y,e.isExpression)))}}function qe(hr){for(var dt=[],tn=0,Un=hr.elements;tn<Un.length;tn++){var Oe=Un[tn];e.isBinaryExpression(Oe)&&Oe.operatorToken.kind===27?dt.push(Le(Oe)):(Ee(Oe)&&dt.length>0&&(Ka(1,[v.createExpressionStatement(v.inlineExpressions(dt))]),dt=[]),dt.push(e.visitNode(Oe,Y,e.isExpression)))}return v.inlineExpressions(dt)}function Xe(hr){var dt=fr(),tn=Cr();return rt(tn,e.visitNode(hr.left,Y,e.isExpression),hr.left),hr.operatorToken.kind===55?Ra(dt,tn,hr.left):Qn(dt,tn,hr.left),rt(tn,e.visitNode(hr.right,Y,e.isExpression),hr.right),dr(dt),tn}function De(hr){if(Ee(hr.whenTrue)||Ee(hr.whenFalse)){var dt=fr(),tn=fr(),Un=Cr();return Ra(dt,e.visitNode(hr.condition,Y,e.isExpression),hr.condition),rt(Un,e.visitNode(hr.whenTrue,Y,e.isExpression),hr.whenTrue),Cn(tn),dr(dt),rt(Un,e.visitNode(hr.whenFalse,Y,e.isExpression),hr.whenFalse),dr(tn),Un}return e.visitEachChild(hr,Y,h)}function Ae(hr){var dt=fr(),tn=e.visitNode(hr.expression,Y,e.isExpression);if(hr.asteriskToken){var Un=(e.getEmitFlags(hr.expression)&8388608)===0?e.setTextRange(A().createValuesHelper(tn),hr):tn;Ci(Un,hr)}else _i(tn,hr);return dr(dt),_t(hr)}function Ye(hr){return Dr(hr.elements,void 0,void 0,hr.multiLine)}function Dr(hr,dt,tn,Un){var Oe=We(hr),oe;if(Oe>0){oe=Cr();var mr=e.visitNodes(hr,Y,e.isExpression,0,Oe);rt(oe,v.createArrayLiteralExpression(dt?Gt([dt],mr,!0):mr)),dt=void 0}var se=e.reduceLeft(hr,Be,[],Oe);return oe?v.createArrayConcatCall(oe,[v.createArrayLiteralExpression(se,Un)]):e.setTextRange(v.createArrayLiteralExpression(dt?Gt([dt],se,!0):se,Un),tn);function Be(er,vr){if(Ee(vr)&&er.length>0){var qr=oe!==void 0;oe||(oe=Cr()),rt(oe,qr?v.createArrayConcatCall(oe,[v.createArrayLiteralExpression(er,Un)]):v.createArrayLiteralExpression(dt?Gt([dt],er,!0):er,Un)),dt=void 0,er=[]}return er.push(e.visitNode(vr,Y,e.isExpression)),er}}function br(hr){var dt=hr.properties,tn=hr.multiLine,Un=We(dt),Oe=Cr();rt(Oe,v.createObjectLiteralExpression(e.visitNodes(dt,Y,e.isObjectLiteralElementLike,0,Un),tn));var oe=e.reduceLeft(dt,mr,[],Un);return oe.push(tn?e.startOnNewLine(e.setParent(e.setTextRange(v.cloneNode(Oe),Oe),Oe.parent)):Oe),v.inlineExpressions(oe);function mr(se,Be){Ee(Be)&&se.length>0&&(It(v.createExpressionStatement(v.inlineExpressions(se))),se=[]);var er=e.createExpressionForObjectLiteralElementLike(v,hr,Be,Oe),vr=e.visitNode(er,Y,e.isExpression);return vr&&(tn&&e.startOnNewLine(vr),se.push(vr)),se}}function lr(hr){return Ee(hr.argumentExpression)?v.updateElementAccessExpression(hr,Ze(e.visitNode(hr.expression,Y,e.isLeftHandSideExpression)),e.visitNode(hr.argumentExpression,Y,e.isExpression)):e.visitEachChild(hr,Y,h)}function Ar(hr){if(!e.isImportCall(hr)&&e.forEach(hr.arguments,Ee)){var dt=v.createCallBinding(hr.expression,M,B,!0),tn=dt.target,Un=dt.thisArg;return e.setOriginalNode(e.setTextRange(v.createFunctionApplyCall(Ze(e.visitNode(tn,Y,e.isLeftHandSideExpression)),Un,Dr(hr.arguments)),hr),hr)}return e.visitEachChild(hr,Y,h)}function kr(hr){if(e.forEach(hr.arguments,Ee)){var dt=v.createCallBinding(v.createPropertyAccessExpression(hr.expression,\"bind\"),M),tn=dt.target,Un=dt.thisArg;return e.setOriginalNode(e.setTextRange(v.createNewExpression(v.createFunctionApplyCall(Ze(e.visitNode(tn,Y,e.isExpression)),Un,Dr(hr.arguments,v.createVoidZero())),void 0,[]),hr),hr)}return e.visitEachChild(hr,Y,h)}function Ke(hr,dt){dt===void 0&&(dt=0);for(var tn=hr.length,Un=dt;Un<tn;Un++)Hr(hr[Un])}function Me(hr){e.isBlock(hr)?Ke(hr.statements):Hr(hr)}function Hr(hr){var dt=q;q||(q=Ee(hr)),ur(hr),q=dt}function ur(hr){switch(hr.kind){case 234:return gr(hr);case 237:return de(hr);case 238:return Sr(hr);case 239:return Pr(hr);case 240:return pr(hr);case 241:return ze(hr);case 242:return Yr(hr);case 244:return tt(hr);case 245:return cn(hr);case 246:return In(hr);case 247:return ir(hr);case 248:return Or(hr);case 249:return ye(hr);case 250:return fe(hr);case 251:return je(hr);default:return It(e.visitNode(hr,Y,e.isStatement))}}function gr(hr){Ee(hr)?Ke(hr.statements):It(e.visitNode(hr,Y,e.isStatement))}function de(hr){It(e.visitNode(hr,Y,e.isStatement))}function Fe(hr){for(var dt=0,tn=hr.declarations;dt<tn.length;dt++){var Un=tn[dt],Oe=v.cloneNode(Un.name);e.setCommentRange(Oe,Un.name),M(Oe)}for(var oe=e.getInitializedVariables(hr),mr=oe.length,se=0,Be=[];se<mr;){for(var er=se;er<mr;er++){var Un=oe[er];if(Ee(Un.initializer)&&Be.length>0)break;Be.push($e(Un))}Be.length&&(It(v.createExpressionStatement(v.inlineExpressions(Be))),se+=Be.length,Be=[])}}function $e(hr){return e.setSourceMapRange(v.createAssignment(e.setSourceMapRange(v.cloneNode(hr.name),hr.name),e.visitNode(hr.initializer,Y,e.isExpression)),hr)}function Sr(hr){if(Ee(hr))if(Ee(hr.thenStatement)||Ee(hr.elseStatement)){var dt=fr(),tn=hr.elseStatement?fr():void 0;Ra(hr.elseStatement?tn:dt,e.visitNode(hr.expression,Y,e.isExpression),hr.expression),Me(hr.thenStatement),hr.elseStatement&&(Cn(dt),dr(tn),Me(hr.elseStatement)),dr(dt)}else It(e.visitNode(hr,Y,e.isStatement));else It(e.visitNode(hr,Y,e.isStatement))}function Pr(hr){if(Ee(hr)){var dt=fr(),tn=fr();xt(dt),dr(tn),Me(hr.statement),dr(dt),Qn(tn,e.visitNode(hr.expression,Y,e.isExpression)),wt()}else It(e.visitNode(hr,Y,e.isStatement))}function He(hr){return q?(ht(),hr=e.visitEachChild(hr,Y,h),wt(),hr):e.visitEachChild(hr,Y,h)}function pr(hr){if(Ee(hr)){var dt=fr(),tn=xt(dt);dr(dt),Ra(tn,e.visitNode(hr.expression,Y,e.isExpression)),Me(hr.statement),Cn(dt),wt()}else It(e.visitNode(hr,Y,e.isStatement))}function Jr(hr){return q?(ht(),hr=e.visitEachChild(hr,Y,h),wt(),hr):e.visitEachChild(hr,Y,h)}function ze(hr){if(Ee(hr)){var dt=fr(),tn=fr(),Un=xt(tn);if(hr.initializer){var Oe=hr.initializer;e.isVariableDeclarationList(Oe)?Fe(Oe):It(e.setTextRange(v.createExpressionStatement(e.visitNode(Oe,Y,e.isExpression)),Oe))}dr(dt),hr.condition&&Ra(Un,e.visitNode(hr.condition,Y,e.isExpression)),Me(hr.statement),dr(tn),hr.incrementor&&It(e.setTextRange(v.createExpressionStatement(e.visitNode(hr.incrementor,Y,e.isExpression)),hr.incrementor)),Cn(dt),wt()}else It(e.visitNode(hr,Y,e.isStatement))}function Lr(hr){q&&ht();var dt=hr.initializer;if(dt&&e.isVariableDeclarationList(dt)){for(var tn=0,Un=dt.declarations;tn<Un.length;tn++){var Oe=Un[tn];M(Oe.name)}var oe=e.getInitializedVariables(dt);hr=v.updateForStatement(hr,oe.length>0?v.inlineExpressions(e.map(oe,$e)):void 0,e.visitNode(hr.condition,Y,e.isExpression),e.visitNode(hr.incrementor,Y,e.isExpression),e.visitIterationBody(hr.statement,Y,h))}else hr=e.visitEachChild(hr,Y,h);return q&&wt(),hr}function Yr(hr){if(Ee(hr)){var dt=Cr(),tn=Cr(),Un=v.createLoopVariable(),Oe=hr.initializer;M(Un),rt(dt,v.createArrayLiteralExpression()),It(v.createForInStatement(tn,e.visitNode(hr.expression,Y,e.isExpression),v.createExpressionStatement(v.createCallExpression(v.createPropertyAccessExpression(dt,\"push\"),void 0,[tn])))),rt(Un,v.createNumericLiteral(0));var oe=fr(),mr=fr(),se=xt(mr);dr(oe),Ra(se,v.createLessThan(Un,v.createPropertyAccessExpression(dt,\"length\")));var Be=void 0;if(e.isVariableDeclarationList(Oe)){for(var er=0,vr=Oe.declarations;er<vr.length;er++){var qr=vr[er];M(qr.name)}Be=v.cloneNode(Oe.declarations[0].name)}else Be=e.visitNode(Oe,Y,e.isExpression),e.Debug.assert(e.isLeftHandSideExpression(Be));rt(Be,v.createElementAccessExpression(dt,Un)),Me(hr.statement),dr(mr),It(v.createExpressionStatement(v.createPostfixIncrement(Un))),Cn(oe),wt()}else It(e.visitNode(hr,Y,e.isStatement))}function lt(hr){q&&ht();var dt=hr.initializer;if(e.isVariableDeclarationList(dt)){for(var tn=0,Un=dt.declarations;tn<Un.length;tn++){var Oe=Un[tn];M(Oe.name)}hr=v.updateForInStatement(hr,dt.declarations[0].name,e.visitNode(hr.expression,Y,e.isExpression),e.visitNode(hr.statement,Y,e.isStatement,v.liftToBlock))}else hr=e.visitEachChild(hr,Y,h);return q&&wt(),hr}function tt(hr){var dt=qt(hr.label?e.idText(hr.label):void 0);dt>0?Cn(dt,hr):It(hr)}function Rt(hr){if(q){var dt=qt(hr.label&&e.idText(hr.label));if(dt>0)return oa(dt,hr)}return e.visitEachChild(hr,Y,h)}function cn(hr){var dt=Ut(hr.label?e.idText(hr.label):void 0);dt>0?Cn(dt,hr):It(hr)}function bn(hr){if(q){var dt=Ut(hr.label&&e.idText(hr.label));if(dt>0)return oa(dt,hr)}return e.visitEachChild(hr,Y,h)}function In(hr){va(e.visitNode(hr.expression,Y,e.isExpression),hr)}function zn(hr){return pt(e.visitNode(hr.expression,Y,e.isExpression),hr)}function ir(hr){Ee(hr)?(xr(Ze(e.visitNode(hr.expression,Y,e.isExpression))),Me(hr.statement),Nr()):It(e.visitNode(hr,Y,e.isStatement))}function Or(hr){if(Ee(hr.caseBlock)){for(var dt=hr.caseBlock,tn=dt.clauses.length,Un=mt(),Oe=Ze(e.visitNode(hr.expression,Y,e.isExpression)),oe=[],mr=-1,se=0;se<tn;se++){var Be=dt.clauses[se];oe.push(fr()),Be.kind===289&&mr===-1&&(mr=se)}for(var er=0,vr=[];er<tn;){for(var qr=0,se=er;se<tn;se++){var Be=dt.clauses[se];if(Be.kind===288){if(Ee(Be.expression)&&vr.length>0)break;vr.push(v.createCaseClause(e.visitNode(Be.expression,Y,e.isExpression),[oa(oe[se],Be.expression)]))}else qr++}vr.length&&(It(v.createSwitchStatement(Oe,v.createCaseBlock(vr))),er+=vr.length,vr=[]),qr>0&&(er+=qr,qr=0)}mr>=0?Cn(oe[mr]):Cn(Un);for(var se=0;se<tn;se++)dr(oe[se]),Ke(dt.clauses[se].statements);rn()}else It(e.visitNode(hr,Y,e.isStatement))}function sr(hr){return q&&Qt(),hr=e.visitEachChild(hr,Y,h),q&&rn(),hr}function ye(hr){Ee(hr)?(ba(e.idText(hr.label)),Me(hr.statement),Jn()):It(e.visitNode(hr,Y,e.isStatement))}function or(hr){return q&&sa(e.idText(hr.label)),hr=e.visitEachChild(hr,Y,h),q&&Jn(),hr}function fe(hr){var dt;yi(e.visitNode((dt=hr.expression)!==null&&dt!==void 0?dt:v.createVoidZero(),Y,e.isExpression),hr)}function je(hr){Ee(hr)?(zr(),Me(hr.tryBlock),hr.catchClause&&(gt(hr.catchClause.variableDeclaration),Me(hr.catchClause.block)),hr.finallyBlock&&(vt(),Me(hr.finallyBlock)),ut()):It(e.visitEachChild(hr,Y,h))}function Ee(hr){return!!hr&&(hr.transformFlags&524288)!==0}function We(hr){for(var dt=hr.length,tn=0;tn<dt;tn++)if(Ee(hr[tn]))return tn;return-1}function $(hr,dt){return dt=I(hr,dt),hr===1?Ne(dt):dt}function Ne(hr){return e.isIdentifier(hr)?me(hr):hr}function me(hr){if(!e.isGeneratedIdentifier(hr)&&w&&w.has(e.idText(hr))){var dt=e.getOriginalNode(hr);if(e.isIdentifier(dt)&&dt.parent){var tn=H.getReferencedValueDeclaration(dt);if(tn){var Un=x[e.getOriginalNodeId(tn)];if(Un){var Oe=e.setParent(e.setTextRange(v.cloneNode(Un),Un),Un.parent);return e.setSourceMapRange(Oe,hr),e.setCommentRange(Oe,hr),Oe}}}}return hr}function Ze(hr){if(e.isGeneratedIdentifier(hr)||e.getEmitFlags(hr)&4096)return hr;var dt=v.createTempVariable(M);return rt(dt,hr,hr),dt}function Cr(hr){var dt=hr?v.createUniqueName(hr):v.createTempVariable(void 0);return M(dt),dt}function fr(){V||(V=[]);var hr=T;return T++,V[hr]=-1,hr}function dr(hr){e.Debug.assert(V!==void 0,\"No labels were defined.\"),V[hr]=N?N.length:0}function et(hr){Z||(Z=[],F=[],ne=[],Q=[]);var dt=F.length;return F[dt]=0,ne[dt]=N?N.length:0,Z[dt]=hr,Q.push(hr),dt}function yt(){var hr=Vr();if(hr===void 0)return e.Debug.fail(\"beginBlock was never called.\");var dt=F.length;return F[dt]=1,ne[dt]=N?N.length:0,Z[dt]=hr,Q.pop(),hr}function Vr(){return e.lastOrUndefined(Q)}function tr(){var hr=Vr();return hr&&hr.kind}function xr(hr){var dt=fr(),tn=fr();dr(dt),et({kind:1,expression:hr,startLabel:dt,endLabel:tn})}function Nr(){e.Debug.assert(tr()===1);var hr=yt();dr(hr.endLabel)}function zr(){var hr=fr(),dt=fr();return dr(hr),et({kind:0,state:0,startLabel:hr,endLabel:dt}),Mt(),dt}function gt(hr){e.Debug.assert(tr()===0);var dt;if(e.isGeneratedIdentifier(hr.name))dt=hr.name,M(hr.name);else{var tn=e.idText(hr.name);dt=Cr(tn),w||(w=new e.Map,x=[],h.enableSubstitution(79)),w.set(tn,!0),x[e.getOriginalNodeId(hr)]=dt}var Un=Vr();e.Debug.assert(Un.state<1);var Oe=Un.endLabel;Cn(Oe);var oe=fr();dr(oe),Un.state=1,Un.catchVariable=dt,Un.catchLabel=oe,rt(dt,v.createCallExpression(v.createPropertyAccessExpression(C,\"sent\"),void 0,[])),Mt()}function vt(){e.Debug.assert(tr()===0);var hr=Vr();e.Debug.assert(hr.state<2);var dt=hr.endLabel;Cn(dt);var tn=fr();dr(tn),hr.state=2,hr.finallyLabel=tn}function ut(){e.Debug.assert(tr()===0);var hr=yt(),dt=hr.state;dt<2?Cn(hr.endLabel):ro(),dr(hr.endLabel),Mt(),hr.state=3}function ht(){et({kind:3,isScript:!0,breakLabel:-1,continueLabel:-1})}function xt(hr){var dt=fr();return et({kind:3,isScript:!1,breakLabel:dt,continueLabel:hr}),dt}function wt(){e.Debug.assert(tr()===3);var hr=yt(),dt=hr.breakLabel;hr.isScript||dr(dt)}function Qt(){et({kind:2,isScript:!0,breakLabel:-1})}function mt(){var hr=fr();return et({kind:2,isScript:!1,breakLabel:hr}),hr}function rn(){e.Debug.assert(tr()===2);var hr=yt(),dt=hr.breakLabel;hr.isScript||dr(dt)}function sa(hr){et({kind:4,isScript:!0,labelText:hr,breakLabel:-1})}function ba(hr){var dt=fr();et({kind:4,isScript:!1,labelText:hr,breakLabel:dt})}function Jn(){e.Debug.assert(tr()===4);var hr=yt();hr.isScript||dr(hr.breakLabel)}function na(hr){return hr.kind===2||hr.kind===3}function Wn(hr){return hr.kind===4}function en(hr){return hr.kind===3}function St(hr,dt){for(var tn=dt;tn>=0;tn--){var Un=Q[tn];if(Wn(Un)){if(Un.labelText===hr)return!0}else break}return!1}function Ut(hr){if(Q)if(hr)for(var dt=Q.length-1;dt>=0;dt--){var tn=Q[dt];if(Wn(tn)&&tn.labelText===hr)return tn.breakLabel;if(na(tn)&&St(hr,dt-1))return tn.breakLabel}else for(var dt=Q.length-1;dt>=0;dt--){var tn=Q[dt];if(na(tn))return tn.breakLabel}return 0}function qt(hr){if(Q)if(hr)for(var dt=Q.length-1;dt>=0;dt--){var tn=Q[dt];if(en(tn)&&St(hr,dt-1))return tn.continueLabel}else for(var dt=Q.length-1;dt>=0;dt--){var tn=Q[dt];if(en(tn))return tn.continueLabel}return 0}function Mn(hr){if(hr!==void 0&&hr>0){re===void 0&&(re=[]);var dt=v.createNumericLiteral(-1);return re[hr]===void 0?re[hr]=[dt]:re[hr].push(dt),dt}return v.createOmittedExpression()}function dn(hr){var dt=v.createNumericLiteral(hr);return e.addSyntheticTrailingComment(dt,3,k(hr)),dt}function oa(hr,dt){return e.Debug.assertLessThan(0,hr,\"Invalid label\"),e.setTextRange(v.createReturnStatement(v.createArrayLiteralExpression([dn(3),Mn(hr)])),dt)}function pt(hr,dt){return e.setTextRange(v.createReturnStatement(v.createArrayLiteralExpression(hr?[dn(2),hr]:[dn(2)])),dt)}function _t(hr){return e.setTextRange(v.createCallExpression(v.createPropertyAccessExpression(C,\"sent\"),void 0,[]),hr)}function Mt(){Ka(0)}function It(hr){hr?Ka(1,[hr]):Mt()}function rt(hr,dt,tn){Ka(2,[hr,dt],tn)}function Cn(hr,dt){Ka(3,[hr],dt)}function Qn(hr,dt,tn){Ka(4,[hr,dt],tn)}function Ra(hr,dt,tn){Ka(5,[hr,dt],tn)}function Ci(hr,dt){Ka(7,[hr],dt)}function _i(hr,dt){Ka(6,[hr],dt)}function va(hr,dt){Ka(8,[hr],dt)}function yi(hr,dt){Ka(9,[hr],dt)}function ro(){Ka(10)}function Ka(hr,dt,tn){N===void 0&&(N=[],y=[],D=[]),V===void 0&&dr(fr());var Un=N.length;N[Un]=hr,y[Un]=dt,D[Un]=tn}function Mi(){m=0,u=0,g=void 0,P=!1,te=!1,ue=void 0,X=void 0,j=void 0,Se=void 0,Ce=void 0;var hr=io();return A().createGeneratorHelper(e.setEmitFlags(v.createFunctionExpression(void 0,void 0,void 0,void 0,[v.createParameterDeclaration(void 0,void 0,void 0,C)],void 0,v.createBlock(hr,hr.length>0)),524288))}function io(){if(N){for(var hr=0;hr<N.length;hr++)Yo(hr);Hi(N.length)}else Hi(0);if(ue){var dt=v.createPropertyAccessExpression(C,\"label\"),tn=v.createSwitchStatement(dt,v.createCaseBlock(ue));return[e.startOnNewLine(tn)]}return X||[]}function ji(){!X||(No(!P),P=!1,te=!1,u++)}function Hi(hr){to(hr)&&(lo(hr),Ce=void 0,Zi(void 0,void 0)),X&&ue&&No(!1),Lo()}function to(hr){if(!te)return!0;if(!V||!re)return!1;for(var dt=0;dt<V.length;dt++)if(V[dt]===hr&&re[dt])return!0;return!1}function No(hr){if(ue||(ue=[]),X){if(Ce)for(var dt=Ce.length-1;dt>=0;dt--){var tn=Ce[dt];X=[v.createWithStatement(tn.expression,v.createBlock(X))]}if(Se){var Un=Se.startLabel,Oe=Se.catchLabel,oe=Se.finallyLabel,mr=Se.endLabel;X.unshift(v.createExpressionStatement(v.createCallExpression(v.createPropertyAccessExpression(v.createPropertyAccessExpression(C,\"trys\"),\"push\"),void 0,[v.createArrayLiteralExpression([Mn(Un),Mn(Oe),Mn(oe),Mn(mr)])]))),Se=void 0}hr&&X.push(v.createExpressionStatement(v.createAssignment(v.createPropertyAccessExpression(C,\"label\"),v.createNumericLiteral(u+1))))}ue.push(v.createCaseClause(v.createNumericLiteral(u),X||[])),X=void 0}function lo(hr){if(!!V)for(var dt=0;dt<V.length;dt++)V[dt]===hr&&(ji(),g===void 0&&(g=[]),g[u]===void 0?g[u]=[dt]:g[u].push(dt))}function Lo(){if(re!==void 0&&g!==void 0)for(var hr=0;hr<g.length;hr++){var dt=g[hr];if(dt!==void 0)for(var tn=0,Un=dt;tn<Un.length;tn++){var Oe=Un[tn],oe=re[Oe];if(oe!==void 0)for(var mr=0,se=oe;mr<se.length;mr++){var Be=se[mr];Be.text=String(hr)}}}}function Ha(hr){if(Z)for(;m<F.length&&ne[m]<=hr;m++){var dt=Z[m],tn=F[m];switch(dt.kind){case 0:tn===0?(j||(j=[]),X||(X=[]),j.push(Se),Se=dt):tn===1&&(Se=j.pop());break;case 1:tn===0?(Ce||(Ce=[]),Ce.push(dt)):tn===1&&Ce.pop();break}}}function Yo(hr){if(lo(hr),Ha(hr),!P){P=!1,te=!1;var dt=N[hr];if(dt!==0){if(dt===10)return Cs();var tn=y[hr];if(dt===1)return co(tn[0]);var Un=D[hr];switch(dt){case 2:return za(tn[0],tn[1],Un);case 3:return Mo(tn[0],Un);case 4:return Po(tn[0],tn[1],Un);case 5:return Fo(tn[0],tn[1],Un);case 6:return zo(tn[0],Un);case 7:return Es(tn[0],Un);case 8:return Zi(tn[0],Un);case 9:return hi(tn[0],Un)}}}}function co(hr){hr&&(X?X.push(hr):X=[hr])}function za(hr,dt,tn){co(e.setTextRange(v.createExpressionStatement(v.createAssignment(hr,dt)),tn))}function hi(hr,dt){P=!0,te=!0,co(e.setTextRange(v.createThrowStatement(hr),dt))}function Zi(hr,dt){P=!0,te=!0,co(e.setEmitFlags(e.setTextRange(v.createReturnStatement(v.createArrayLiteralExpression(hr?[dn(2),hr]:[dn(2)])),dt),384))}function Mo(hr,dt){P=!0,co(e.setEmitFlags(e.setTextRange(v.createReturnStatement(v.createArrayLiteralExpression([dn(3),Mn(hr)])),dt),384))}function Po(hr,dt,tn){co(e.setEmitFlags(v.createIfStatement(dt,e.setEmitFlags(e.setTextRange(v.createReturnStatement(v.createArrayLiteralExpression([dn(3),Mn(hr)])),tn),384)),1))}function Fo(hr,dt,tn){co(e.setEmitFlags(v.createIfStatement(v.createLogicalNot(dt),e.setEmitFlags(e.setTextRange(v.createReturnStatement(v.createArrayLiteralExpression([dn(3),Mn(hr)])),tn),384)),1))}function zo(hr,dt){P=!0,co(e.setEmitFlags(e.setTextRange(v.createReturnStatement(v.createArrayLiteralExpression(hr?[dn(4),hr]:[dn(4)])),dt),384))}function Es(hr,dt){P=!0,co(e.setEmitFlags(e.setTextRange(v.createReturnStatement(v.createArrayLiteralExpression([dn(5),hr])),dt),384))}function Cs(){P=!0,co(v.createReturnStatement(v.createArrayLiteralExpression([dn(7)])))}}e.transformGenerators=J}(jr||(jr={})),function(e){function n(p){function a(ze){switch(ze){case e.ModuleKind.AMD:return Q;case e.ModuleKind.UMD:return V;default:return F}}var d=p.factory,k=p.getEmitHelperFactory,J=p.startLexicalEnvironment,h=p.endLexicalEnvironment,v=p.hoistVariableDeclaration,A=p.getCompilerOptions(),z=p.getEmitResolver(),ie=p.getEmitHost(),b=e.getEmitScriptTarget(A),M=e.getEmitModuleKind(A),S=p.onSubstituteNode,B=p.onEmitNode;p.onSubstituteNode=de,p.onEmitNode=gr,p.enableSubstitution(207),p.enableSubstitution(209),p.enableSubstitution(79),p.enableSubstitution(220),p.enableSubstitution(295),p.enableEmitNotification(303);var H=[],I=[],w,x,O=[],q;return e.chainBundle(p,Z);function Z(ze){if(ze.isDeclarationFile||!(e.isEffectiveExternalModule(ze,A)||ze.transformFlags&4194304||e.isJsonSourceFile(ze)&&e.hasJsonModuleEmitEnabled(A)&&e.outFile(A)))return ze;w=ze,x=e.collectExternalModuleInfo(p,ze,z,A),H[e.getOriginalNodeId(ze)]=x;var Lr=a(M),Yr=Lr(ze);return w=void 0,x=void 0,q=!1,Yr}function ne(){return!!(!x.exportEquals&&e.isExternalModule(w))}function F(ze){J();var Lr=[],Yr=e.getStrictOptionValue(A,\"alwaysStrict\")||!A.noImplicitUseStrict&&e.isExternalModule(w),lt=d.copyPrologue(ze.statements,Lr,Yr&&!e.isJsonSourceFile(ze),D);if(ne()&&e.append(Lr,Ke()),e.length(x.exportedNames))for(var tt=50,Rt=0;Rt<x.exportedNames.length;Rt+=tt)e.append(Lr,d.createExpressionStatement(e.reduceLeft(x.exportedNames.slice(Rt,Rt+tt),function(bn,In){return d.createAssignment(d.createPropertyAccessExpression(d.createIdentifier(\"exports\"),d.createIdentifier(e.idText(In))),bn)},d.createVoidZero())));e.append(Lr,e.visitNode(x.externalHelpersImportDeclaration,D,e.isStatement)),e.addRange(Lr,e.visitNodes(ze.statements,D,e.isStatement,lt)),y(Lr,!1),e.insertStatementsAfterStandardPrologue(Lr,h());var cn=d.updateSourceFile(ze,e.setTextRange(d.createNodeArray(Lr),ze.statements));return e.addEmitHelpers(cn,p.readEmitHelpers()),cn}function Q(ze){var Lr=d.createIdentifier(\"define\"),Yr=e.tryGetModuleNameFromFile(d,ze,ie,A),lt=e.isJsonSourceFile(ze)&&ze,tt=re(ze,!0),Rt=tt.aliasedModuleNames,cn=tt.unaliasedModuleNames,bn=tt.importAliasNames,In=d.updateSourceFile(ze,e.setTextRange(d.createNodeArray([d.createExpressionStatement(d.createCallExpression(Lr,void 0,Gt(Gt([],Yr?[Yr]:[],!0),[d.createArrayLiteralExpression(lt?e.emptyArray:Gt(Gt([d.createStringLiteral(\"require\"),d.createStringLiteral(\"exports\")],Rt,!0),cn,!0)),lt?lt.statements.length?lt.statements[0].expression:d.createObjectLiteralExpression():d.createFunctionExpression(void 0,void 0,void 0,void 0,Gt([d.createParameterDeclaration(void 0,void 0,void 0,\"require\"),d.createParameterDeclaration(void 0,void 0,void 0,\"exports\")],bn,!0),void 0,N(ze))],!1)))]),ze.statements));return e.addEmitHelpers(In,p.readEmitHelpers()),In}function V(ze){var Lr=re(ze,!1),Yr=Lr.aliasedModuleNames,lt=Lr.unaliasedModuleNames,tt=Lr.importAliasNames,Rt=e.tryGetModuleNameFromFile(d,ze,ie,A),cn=d.createFunctionExpression(void 0,void 0,void 0,void 0,[d.createParameterDeclaration(void 0,void 0,void 0,\"factory\")],void 0,e.setTextRange(d.createBlock([d.createIfStatement(d.createLogicalAnd(d.createTypeCheck(d.createIdentifier(\"module\"),\"object\"),d.createTypeCheck(d.createPropertyAccessExpression(d.createIdentifier(\"module\"),\"exports\"),\"object\")),d.createBlock([d.createVariableStatement(void 0,[d.createVariableDeclaration(\"v\",void 0,void 0,d.createCallExpression(d.createIdentifier(\"factory\"),void 0,[d.createIdentifier(\"require\"),d.createIdentifier(\"exports\")]))]),e.setEmitFlags(d.createIfStatement(d.createStrictInequality(d.createIdentifier(\"v\"),d.createIdentifier(\"undefined\")),d.createExpressionStatement(d.createAssignment(d.createPropertyAccessExpression(d.createIdentifier(\"module\"),\"exports\"),d.createIdentifier(\"v\")))),1)]),d.createIfStatement(d.createLogicalAnd(d.createTypeCheck(d.createIdentifier(\"define\"),\"function\"),d.createPropertyAccessExpression(d.createIdentifier(\"define\"),\"amd\")),d.createBlock([d.createExpressionStatement(d.createCallExpression(d.createIdentifier(\"define\"),void 0,Gt(Gt([],Rt?[Rt]:[],!0),[d.createArrayLiteralExpression(Gt(Gt([d.createStringLiteral(\"require\"),d.createStringLiteral(\"exports\")],Yr,!0),lt,!0)),d.createIdentifier(\"factory\")],!1)))])))],!0),void 0)),bn=d.updateSourceFile(ze,e.setTextRange(d.createNodeArray([d.createExpressionStatement(d.createCallExpression(cn,void 0,[d.createFunctionExpression(void 0,void 0,void 0,void 0,Gt([d.createParameterDeclaration(void 0,void 0,void 0,\"require\"),d.createParameterDeclaration(void 0,void 0,void 0,\"exports\")],tt,!0),void 0,N(ze))]))]),ze.statements));return e.addEmitHelpers(bn,p.readEmitHelpers()),bn}function re(ze,Lr){for(var Yr=[],lt=[],tt=[],Rt=0,cn=ze.amdDependencies;Rt<cn.length;Rt++){var bn=cn[Rt];bn.name?(Yr.push(d.createStringLiteral(bn.path)),tt.push(d.createParameterDeclaration(void 0,void 0,void 0,bn.name))):lt.push(d.createStringLiteral(bn.path))}for(var In=0,zn=x.externalImports;In<zn.length;In++){var ir=zn[In],Or=e.getExternalModuleNameLiteral(d,ir,w,ie,z,A),sr=e.getLocalNameForExternalImport(d,ir,w);Or&&(Lr&&sr?(e.setEmitFlags(sr,4),Yr.push(Or),tt.push(d.createParameterDeclaration(void 0,void 0,void 0,sr))):lt.push(Or))}return{aliasedModuleNames:Yr,unaliasedModuleNames:lt,importAliasNames:tt}}function T(ze){if(!(e.isImportEqualsDeclaration(ze)||e.isExportDeclaration(ze)||!e.getExternalModuleNameLiteral(d,ze,w,ie,z,A))){var Lr=e.getLocalNameForExternalImport(d,ze,w),Yr=Te(ze,Lr);if(Yr!==Lr)return d.createExpressionStatement(d.createAssignment(Lr,Yr))}}function N(ze){J();var Lr=[],Yr=d.copyPrologue(ze.statements,Lr,!A.noImplicitUseStrict,D);ne()&&e.append(Lr,Ke()),e.length(x.exportedNames)&&e.append(Lr,d.createExpressionStatement(e.reduceLeft(x.exportedNames,function(tt,Rt){return d.createAssignment(d.createPropertyAccessExpression(d.createIdentifier(\"exports\"),d.createIdentifier(e.idText(Rt))),tt)},d.createVoidZero()))),e.append(Lr,e.visitNode(x.externalHelpersImportDeclaration,D,e.isStatement)),M===e.ModuleKind.AMD&&e.addRange(Lr,e.mapDefined(x.externalImports,T)),e.addRange(Lr,e.visitNodes(ze.statements,D,e.isStatement,Yr)),y(Lr,!0),e.insertStatementsAfterStandardPrologue(Lr,h());var lt=d.createBlock(Lr,!0);return q&&e.addEmitHelper(lt,f),lt}function y(ze,Lr){if(x.exportEquals){var Yr=e.visitNode(x.exportEquals.expression,m);if(Yr)if(Lr){var lt=d.createReturnStatement(Yr);e.setTextRange(lt,x.exportEquals),e.setEmitFlags(lt,1920),ze.push(lt)}else{var lt=d.createExpressionStatement(d.createAssignment(d.createPropertyAccessExpression(d.createIdentifier(\"module\"),\"exports\"),Yr));e.setTextRange(lt,x.exportEquals),e.setEmitFlags(lt,1536),ze.push(lt)}}}function D(ze){switch(ze.kind){case 265:return ge(ze);case 264:return Pe(ze);case 271:return Ie(ze);case 270:return Ge(ze);case 236:return Ve(ze);case 255:return he(ze);case 256:return ve(ze);case 350:return qe(ze);case 351:return De(ze);default:return m(ze)}}function C(ze,Lr){if(!(ze.transformFlags&71305216))return ze;switch(ze.kind){case 241:return te(ze);case 237:return ue(ze);case 211:return X(ze,Lr);case 348:return j(ze,Lr);case 207:if(e.isImportCall(ze)&&w.impliedNodeFormat===void 0)return Ce(ze);break;case 220:if(e.isDestructuringAssignment(ze))return P(ze,Lr);break;case 218:case 219:return Se(ze,Lr)}return e.visitEachChild(ze,m,p)}function m(ze){return C(ze,!1)}function u(ze){return C(ze,!0)}function g(ze){if(e.isObjectLiteralExpression(ze))for(var Lr=0,Yr=ze.properties;Lr<Yr.length;Lr++){var lt=Yr[Lr];switch(lt.kind){case 294:if(g(lt.initializer))return!0;break;case 295:if(g(lt.name))return!0;break;case 296:if(g(lt.expression))return!0;break;case 168:case 171:case 172:return!1;default:e.Debug.assertNever(lt,\"Unhandled object member kind\")}}else if(e.isArrayLiteralExpression(ze))for(var tt=0,Rt=ze.elements;tt<Rt.length;tt++){var lt=Rt[tt];if(e.isSpreadElement(lt)){if(g(lt.expression))return!0}else if(g(lt))return!0}else if(e.isIdentifier(ze))return e.length(Jr(ze))>(e.isExportName(ze)?1:0);return!1}function P(ze,Lr){return g(ze.left)?e.flattenDestructuringAssignment(ze,m,p,0,!Lr,_e):e.visitEachChild(ze,m,p)}function te(ze){return d.updateForStatement(ze,e.visitNode(ze.initializer,u,e.isForInitializer),e.visitNode(ze.condition,m,e.isExpression),e.visitNode(ze.incrementor,u,e.isExpression),e.visitIterationBody(ze.statement,m,p))}function ue(ze){return d.updateExpressionStatement(ze,e.visitNode(ze.expression,u,e.isExpression))}function X(ze,Lr){return d.updateParenthesizedExpression(ze,e.visitNode(ze.expression,Lr?u:m,e.isExpression))}function j(ze,Lr){return d.updatePartiallyEmittedExpression(ze,e.visitNode(ze.expression,Lr?u:m,e.isExpression))}function Se(ze,Lr){if((ze.operator===45||ze.operator===46)&&e.isIdentifier(ze.operand)&&!e.isGeneratedIdentifier(ze.operand)&&!e.isLocalName(ze.operand)&&!e.isDeclarationNameOfEnumOrNamespace(ze.operand)){var Yr=Jr(ze.operand);if(Yr){var lt=void 0,tt=e.visitNode(ze.operand,m,e.isExpression);e.isPrefixUnaryExpression(ze)?tt=d.updatePrefixUnaryExpression(ze,tt):(tt=d.updatePostfixUnaryExpression(ze,tt),Lr||(lt=d.createTempVariable(v),tt=d.createAssignment(lt,tt),e.setTextRange(tt,ze)),tt=d.createComma(tt,d.cloneNode(ze.operand)),e.setTextRange(tt,ze));for(var Rt=0,cn=Yr;Rt<cn.length;Rt++){var bn=cn[Rt];O[e.getNodeId(tt)]=!0,tt=Hr(bn,tt),e.setTextRange(tt,ze)}return lt&&(O[e.getNodeId(tt)]=!0,tt=d.createComma(tt,lt),e.setTextRange(tt,ze)),tt}}return e.visitEachChild(ze,m,p)}function Ce(ze){var Lr=e.getExternalModuleNameLiteral(d,ze,w,ie,z,A),Yr=e.visitNode(e.firstOrUndefined(ze.arguments),m),lt=Lr&&(!Yr||!e.isStringLiteral(Yr)||Yr.text!==Lr.text)?Lr:Yr,tt=!!(ze.transformFlags&8192);switch(A.module){case e.ModuleKind.AMD:return Y(lt,tt);case e.ModuleKind.UMD:return R(lt!=null?lt:d.createVoidZero(),tt);case e.ModuleKind.CommonJS:default:return U(lt,tt)}}function R(ze,Lr){if(q=!0,e.isSimpleCopiableExpression(ze)){var Yr=e.isGeneratedIdentifier(ze)?ze:e.isStringLiteral(ze)?d.createStringLiteralFromNode(ze):e.setEmitFlags(e.setTextRange(d.cloneNode(ze),ze),1536);return d.createConditionalExpression(d.createIdentifier(\"__syncRequire\"),void 0,U(ze,Lr),void 0,Y(Yr,Lr))}else{var lt=d.createTempVariable(v);return d.createComma(d.createAssignment(lt,ze),d.createConditionalExpression(d.createIdentifier(\"__syncRequire\"),void 0,U(lt,Lr),void 0,Y(lt,Lr)))}}function Y(ze,Lr){var Yr=d.createUniqueName(\"resolve\"),lt=d.createUniqueName(\"reject\"),tt=[d.createParameterDeclaration(void 0,void 0,void 0,Yr),d.createParameterDeclaration(void 0,void 0,void 0,lt)],Rt=d.createBlock([d.createExpressionStatement(d.createCallExpression(d.createIdentifier(\"require\"),void 0,[d.createArrayLiteralExpression([ze||d.createOmittedExpression()]),Yr,lt]))]),cn;b>=2?cn=d.createArrowFunction(void 0,void 0,tt,void 0,void 0,Rt):(cn=d.createFunctionExpression(void 0,void 0,void 0,void 0,tt,void 0,Rt),Lr&&e.setEmitFlags(cn,8));var bn=d.createNewExpression(d.createIdentifier(\"Promise\"),void 0,[cn]);return e.getESModuleInterop(A)?d.createCallExpression(d.createPropertyAccessExpression(bn,d.createIdentifier(\"then\")),void 0,[k().createImportStarCallbackHelper()]):bn}function U(ze,Lr){var Yr=d.createCallExpression(d.createPropertyAccessExpression(d.createIdentifier(\"Promise\"),\"resolve\"),void 0,[]),lt=d.createCallExpression(d.createIdentifier(\"require\"),void 0,ze?[ze]:[]);e.getESModuleInterop(A)&&(lt=k().createImportStarHelper(lt));var tt;return b>=2?tt=d.createArrowFunction(void 0,void 0,[],void 0,void 0,lt):(tt=d.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,d.createBlock([d.createReturnStatement(lt)])),Lr&&e.setEmitFlags(tt,8)),d.createCallExpression(d.createPropertyAccessExpression(Yr,\"then\"),void 0,[tt])}function K(ze,Lr){return!e.getESModuleInterop(A)||e.getEmitFlags(ze)&67108864?Lr:e.getExportNeedsImportStarHelper(ze)?k().createImportStarHelper(Lr):Lr}function Te(ze,Lr){return!e.getESModuleInterop(A)||e.getEmitFlags(ze)&67108864?Lr:e.getImportNeedsImportStarHelper(ze)?k().createImportStarHelper(Lr):e.getImportNeedsImportDefaultHelper(ze)?k().createImportDefaultHelper(Lr):Lr}function ge(ze){var Lr,Yr=e.getNamespaceDeclarationNode(ze);if(M!==e.ModuleKind.AMD)if(ze.importClause){var lt=[];Yr&&!e.isDefaultImport(ze)?lt.push(d.createVariableDeclaration(d.cloneNode(Yr.name),void 0,void 0,Te(ze,ke(ze)))):(lt.push(d.createVariableDeclaration(d.getGeneratedNameForNode(ze),void 0,void 0,Te(ze,ke(ze)))),Yr&&e.isDefaultImport(ze)&&lt.push(d.createVariableDeclaration(d.cloneNode(Yr.name),void 0,void 0,d.getGeneratedNameForNode(ze)))),Lr=e.append(Lr,e.setOriginalNode(e.setTextRange(d.createVariableStatement(void 0,d.createVariableDeclarationList(lt,b>=2?2:0)),ze),ze))}else return e.setOriginalNode(e.setTextRange(d.createExpressionStatement(ke(ze)),ze),ze);else Yr&&e.isDefaultImport(ze)&&(Lr=e.append(Lr,d.createVariableStatement(void 0,d.createVariableDeclarationList([e.setOriginalNode(e.setTextRange(d.createVariableDeclaration(d.cloneNode(Yr.name),void 0,void 0,d.getGeneratedNameForNode(ze)),ze),ze)],b>=2?2:0))));if(Xe(ze)){var tt=e.getOriginalNodeId(ze);I[tt]=Ae(I[tt],ze)}else Lr=Ae(Lr,ze);return e.singleOrMany(Lr)}function ke(ze){var Lr=e.getExternalModuleNameLiteral(d,ze,w,ie,z,A),Yr=[];return Lr&&Yr.push(Lr),d.createCallExpression(d.createIdentifier(\"require\"),void 0,Yr)}function Pe(ze){e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(ze),\"import= for internal module references should be handled in an earlier transformer.\");var Lr;if(M!==e.ModuleKind.AMD?e.hasSyntacticModifier(ze,1)?Lr=e.append(Lr,e.setOriginalNode(e.setTextRange(d.createExpressionStatement(Hr(ze.name,ke(ze))),ze),ze)):Lr=e.append(Lr,e.setOriginalNode(e.setTextRange(d.createVariableStatement(void 0,d.createVariableDeclarationList([d.createVariableDeclaration(d.cloneNode(ze.name),void 0,void 0,ke(ze))],b>=2?2:0)),ze),ze)):e.hasSyntacticModifier(ze,1)&&(Lr=e.append(Lr,e.setOriginalNode(e.setTextRange(d.createExpressionStatement(Hr(d.getExportName(ze),d.getLocalName(ze))),ze),ze))),Xe(ze)){var Yr=e.getOriginalNodeId(ze);I[Yr]=Ye(I[Yr],ze)}else Lr=Ye(Lr,ze);return e.singleOrMany(Lr)}function Ie(ze){if(!!ze.moduleSpecifier){var Lr=d.getGeneratedNameForNode(ze);if(ze.exportClause&&e.isNamedExports(ze.exportClause)){var Yr=[];M!==e.ModuleKind.AMD&&Yr.push(e.setOriginalNode(e.setTextRange(d.createVariableStatement(void 0,d.createVariableDeclarationList([d.createVariableDeclaration(Lr,void 0,void 0,ke(ze))])),ze),ze));for(var lt=0,tt=ze.exportClause.elements;lt<tt.length;lt++){var Rt=tt[lt];if(b===0)Yr.push(e.setOriginalNode(e.setTextRange(d.createExpressionStatement(k().createCreateBindingHelper(Lr,d.createStringLiteralFromNode(Rt.propertyName||Rt.name),Rt.propertyName?d.createStringLiteralFromNode(Rt.name):void 0)),Rt),Rt));else{var cn=!!e.getESModuleInterop(A)&&!(e.getEmitFlags(ze)&67108864)&&e.idText(Rt.propertyName||Rt.name)===\"default\",bn=d.createPropertyAccessExpression(cn?k().createImportDefaultHelper(Lr):Lr,Rt.propertyName||Rt.name);Yr.push(e.setOriginalNode(e.setTextRange(d.createExpressionStatement(Hr(d.getExportName(Rt),bn,void 0,!0)),Rt),Rt))}}return e.singleOrMany(Yr)}else if(ze.exportClause){var Yr=[];return Yr.push(e.setOriginalNode(e.setTextRange(d.createExpressionStatement(Hr(d.cloneNode(ze.exportClause.name),K(ze,M!==e.ModuleKind.AMD?ke(ze):e.isExportNamespaceAsDefaultDeclaration(ze)?Lr:d.createIdentifier(e.idText(ze.exportClause.name))))),ze),ze)),e.singleOrMany(Yr)}else return e.setOriginalNode(e.setTextRange(d.createExpressionStatement(k().createExportStarHelper(M!==e.ModuleKind.AMD?ke(ze):Lr)),ze),ze)}}function Ge(ze){if(!ze.isExportEquals){var Lr,Yr=ze.original;if(Yr&&Xe(Yr)){var lt=e.getOriginalNodeId(ze);I[lt]=kr(I[lt],d.createIdentifier(\"default\"),e.visitNode(ze.expression,m),ze,!0)}else Lr=kr(Lr,d.createIdentifier(\"default\"),e.visitNode(ze.expression,m),ze,!0);return e.singleOrMany(Lr)}}function he(ze){var Lr;if(e.hasSyntacticModifier(ze,1)?Lr=e.append(Lr,e.setOriginalNode(e.setTextRange(d.createFunctionDeclaration(void 0,e.visitNodes(ze.modifiers,ur,e.isModifier),ze.asteriskToken,d.getDeclarationName(ze,!0,!0),void 0,e.visitNodes(ze.parameters,m),void 0,e.visitEachChild(ze.body,m,p)),ze),ze)):Lr=e.append(Lr,e.visitEachChild(ze,m,p)),Xe(ze)){var Yr=e.getOriginalNodeId(ze);I[Yr]=lr(I[Yr],ze)}else Lr=lr(Lr,ze);return e.singleOrMany(Lr)}function ve(ze){var Lr;if(e.hasSyntacticModifier(ze,1)?Lr=e.append(Lr,e.setOriginalNode(e.setTextRange(d.createClassDeclaration(void 0,e.visitNodes(ze.modifiers,ur,e.isModifier),d.getDeclarationName(ze,!0,!0),void 0,e.visitNodes(ze.heritageClauses,m),e.visitNodes(ze.members,m)),ze),ze)):Lr=e.append(Lr,e.visitEachChild(ze,m,p)),Xe(ze)){var Yr=e.getOriginalNodeId(ze);I[Yr]=lr(I[Yr],ze)}else Lr=lr(Lr,ze);return e.singleOrMany(Lr)}function Ve(ze){var Lr,Yr,lt;if(e.hasSyntacticModifier(ze,1)){for(var tt=void 0,Rt=!1,cn=0,bn=ze.declarationList.declarations;cn<bn.length;cn++){var In=bn[cn];if(e.isIdentifier(In.name)&&e.isLocalName(In.name))tt||(tt=e.visitNodes(ze.modifiers,ur,e.isModifier)),Yr=e.append(Yr,In);else if(In.initializer)if(!e.isBindingPattern(In.name)&&(e.isArrowFunction(In.initializer)||e.isFunctionExpression(In.initializer)||e.isClassExpression(In.initializer))){var zn=d.createAssignment(e.setTextRange(d.createPropertyAccessExpression(d.createIdentifier(\"exports\"),In.name),In.name),d.createIdentifier(e.getTextOfIdentifierOrLiteral(In.name))),ir=d.createVariableDeclaration(In.name,In.exclamationToken,In.type,e.visitNode(In.initializer,m));Yr=e.append(Yr,ir),lt=e.append(lt,zn),Rt=!0}else lt=e.append(lt,Le(In))}if(Yr&&(Lr=e.append(Lr,d.updateVariableStatement(ze,tt,d.updateVariableDeclarationList(ze.declarationList,Yr)))),lt){var Or=e.setOriginalNode(e.setTextRange(d.createExpressionStatement(d.inlineExpressions(lt)),ze),ze);Rt&&e.removeAllComments(Or),Lr=e.append(Lr,Or)}}else Lr=e.append(Lr,e.visitEachChild(ze,m,p));if(Xe(ze)){var sr=e.getOriginalNodeId(ze);I[sr]=Dr(I[sr],ze)}else Lr=Dr(Lr,ze);return e.singleOrMany(Lr)}function _e(ze,Lr,Yr){var lt=Jr(ze);if(lt){for(var tt=e.isExportName(ze)?Lr:d.createAssignment(ze,Lr),Rt=0,cn=lt;Rt<cn.length;Rt++){var bn=cn[Rt];e.setEmitFlags(tt,4),tt=Hr(bn,tt,Yr)}return tt}return d.createAssignment(ze,Lr)}function Le(ze){return e.isBindingPattern(ze.name)?e.flattenDestructuringAssignment(e.visitNode(ze,m),void 0,p,0,!1,_e):d.createAssignment(e.setTextRange(d.createPropertyAccessExpression(d.createIdentifier(\"exports\"),ze.name),ze.name),ze.initializer?e.visitNode(ze.initializer,m):d.createVoidZero())}function qe(ze){if(Xe(ze)&&ze.original.kind===236){var Lr=e.getOriginalNodeId(ze);I[Lr]=Dr(I[Lr],ze.original)}return ze}function Xe(ze){return(e.getEmitFlags(ze)&4194304)!==0}function De(ze){var Lr=e.getOriginalNodeId(ze),Yr=I[Lr];return Yr?(delete I[Lr],e.append(Yr,ze)):ze}function Ae(ze,Lr){if(x.exportEquals)return ze;var Yr=Lr.importClause;if(!Yr)return ze;Yr.name&&(ze=Ar(ze,Yr));var lt=Yr.namedBindings;if(lt)switch(lt.kind){case 267:ze=Ar(ze,lt);break;case 268:for(var tt=0,Rt=lt.elements;tt<Rt.length;tt++){var cn=Rt[tt];ze=Ar(ze,cn,!0)}break}return ze}function Ye(ze,Lr){return x.exportEquals?ze:Ar(ze,Lr)}function Dr(ze,Lr){if(x.exportEquals)return ze;for(var Yr=0,lt=Lr.declarationList.declarations;Yr<lt.length;Yr++){var tt=lt[Yr];ze=br(ze,tt)}return ze}function br(ze,Lr){if(x.exportEquals)return ze;if(e.isBindingPattern(Lr.name))for(var Yr=0,lt=Lr.name.elements;Yr<lt.length;Yr++){var tt=lt[Yr];e.isOmittedExpression(tt)||(ze=br(ze,tt))}else e.isGeneratedIdentifier(Lr.name)||(ze=Ar(ze,Lr));return ze}function lr(ze,Lr){if(x.exportEquals)return ze;if(e.hasSyntacticModifier(Lr,1)){var Yr=e.hasSyntacticModifier(Lr,512)?d.createIdentifier(\"default\"):d.getDeclarationName(Lr);ze=kr(ze,Yr,d.getLocalName(Lr),Lr)}return Lr.name&&(ze=Ar(ze,Lr)),ze}function Ar(ze,Lr,Yr){var lt=d.getDeclarationName(Lr),tt=x.exportSpecifiers.get(e.idText(lt));if(tt)for(var Rt=0,cn=tt;Rt<cn.length;Rt++){var bn=cn[Rt];ze=kr(ze,bn.name,lt,bn.name,void 0,Yr)}return ze}function kr(ze,Lr,Yr,lt,tt,Rt){return ze=e.append(ze,Me(Lr,Yr,lt,tt,Rt)),ze}function Ke(){var ze;return b===0?ze=d.createExpressionStatement(Hr(d.createIdentifier(\"__esModule\"),d.createTrue())):ze=d.createExpressionStatement(d.createCallExpression(d.createPropertyAccessExpression(d.createIdentifier(\"Object\"),\"defineProperty\"),void 0,[d.createIdentifier(\"exports\"),d.createStringLiteral(\"__esModule\"),d.createObjectLiteralExpression([d.createPropertyAssignment(\"value\",d.createTrue())])])),e.setEmitFlags(ze,1048576),ze}function Me(ze,Lr,Yr,lt,tt){var Rt=e.setTextRange(d.createExpressionStatement(Hr(ze,Lr,void 0,tt)),Yr);return e.startOnNewLine(Rt),lt||e.setEmitFlags(Rt,1536),Rt}function Hr(ze,Lr,Yr,lt){return e.setTextRange(lt&&b!==0?d.createCallExpression(d.createPropertyAccessExpression(d.createIdentifier(\"Object\"),\"defineProperty\"),void 0,[d.createIdentifier(\"exports\"),d.createStringLiteralFromNode(ze),d.createObjectLiteralExpression([d.createPropertyAssignment(\"enumerable\",d.createTrue()),d.createPropertyAssignment(\"get\",d.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,d.createBlock([d.createReturnStatement(Lr)])))])]):d.createAssignment(d.createPropertyAccessExpression(d.createIdentifier(\"exports\"),d.cloneNode(ze)),Lr),Yr)}function ur(ze){switch(ze.kind){case 93:case 88:return}return ze}function gr(ze,Lr,Yr){Lr.kind===303?(w=Lr,x=H[e.getOriginalNodeId(w)],B(ze,Lr,Yr),w=void 0,x=void 0):B(ze,Lr,Yr)}function de(ze,Lr){return Lr=S(ze,Lr),Lr.id&&O[Lr.id]?Lr:ze===1?$e(Lr):e.isShorthandPropertyAssignment(Lr)?Fe(Lr):Lr}function Fe(ze){var Lr=ze.name,Yr=He(Lr);if(Yr!==Lr){if(ze.objectAssignmentInitializer){var lt=d.createAssignment(Yr,ze.objectAssignmentInitializer);return e.setTextRange(d.createPropertyAssignment(Lr,lt),ze)}return e.setTextRange(d.createPropertyAssignment(Lr,Yr),ze)}return ze}function $e(ze){switch(ze.kind){case 79:return He(ze);case 207:return Sr(ze);case 209:return Pr(ze);case 220:return pr(ze)}return ze}function Sr(ze){if(e.isIdentifier(ze.expression)){var Lr=He(ze.expression);if(O[e.getNodeId(Lr)]=!0,!e.isIdentifier(Lr))return e.addEmitFlags(d.updateCallExpression(ze,Lr,void 0,ze.arguments),536870912)}return ze}function Pr(ze){if(e.isIdentifier(ze.tag)){var Lr=He(ze.tag);if(O[e.getNodeId(Lr)]=!0,!e.isIdentifier(Lr))return e.addEmitFlags(d.updateTaggedTemplateExpression(ze,Lr,void 0,ze.template),536870912)}return ze}function He(ze){var Lr,Yr;if(e.getEmitFlags(ze)&4096){var lt=e.getExternalHelpersModuleName(w);return lt?d.createPropertyAccessExpression(lt,ze):ze}else if(!(e.isGeneratedIdentifier(ze)&&!(ze.autoGenerateFlags&64))&&!e.isLocalName(ze)){var tt=z.getReferencedExportContainer(ze,e.isExportName(ze));if(tt&&tt.kind===303)return e.setTextRange(d.createPropertyAccessExpression(d.createIdentifier(\"exports\"),d.cloneNode(ze)),ze);var Rt=z.getReferencedImportDeclaration(ze);if(Rt){if(e.isImportClause(Rt))return e.setTextRange(d.createPropertyAccessExpression(d.getGeneratedNameForNode(Rt.parent),d.createIdentifier(\"default\")),ze);if(e.isImportSpecifier(Rt)){var cn=Rt.propertyName||Rt.name;return e.setTextRange(d.createPropertyAccessExpression(d.getGeneratedNameForNode(((Yr=(Lr=Rt.parent)===null||Lr===void 0?void 0:Lr.parent)===null||Yr===void 0?void 0:Yr.parent)||Rt),d.cloneNode(cn)),ze)}}}return ze}function pr(ze){if(e.isAssignmentOperator(ze.operatorToken.kind)&&e.isIdentifier(ze.left)&&!e.isGeneratedIdentifier(ze.left)&&!e.isLocalName(ze.left)&&!e.isDeclarationNameOfEnumOrNamespace(ze.left)){var Lr=Jr(ze.left);if(Lr){for(var Yr=ze,lt=0,tt=Lr;lt<tt.length;lt++){var Rt=tt[lt];O[e.getNodeId(Yr)]=!0,Yr=Hr(Rt,Yr,ze)}return Yr}}return ze}function Jr(ze){if(!e.isGeneratedIdentifier(ze)){var Lr=z.getReferencedImportDeclaration(ze)||z.getReferencedValueDeclaration(ze);if(Lr)return x&&x.exportedBindings[e.getOriginalNodeId(Lr)]}}}e.transformModule=n;var f={name:\"typescript:dynamicimport-sync-require\",scoped:!0,text:`\n            var __syncRequire = typeof module === \"object\" && typeof module.exports === \"object\";`}}(jr||(jr={})),function(e){function n(f){var p=f.factory,a=f.startLexicalEnvironment,d=f.endLexicalEnvironment,k=f.hoistVariableDeclaration,J=f.getCompilerOptions(),h=f.getEmitResolver(),v=f.getEmitHost(),A=f.onSubstituteNode,z=f.onEmitNode;f.onSubstituteNode=lt,f.onEmitNode=Yr,f.enableSubstitution(79),f.enableSubstitution(295),f.enableSubstitution(220),f.enableSubstitution(230),f.enableEmitNotification(303);var ie=[],b=[],M=[],S=[],B=[],H,I,w,x,O,q,Z;return e.chainBundle(f,ne);function ne(ye){if(ye.isDeclarationFile||!(e.isEffectiveExternalModule(ye,J)||ye.transformFlags&4194304))return ye;var or=e.getOriginalNodeId(ye);H=ye,q=ye,I=ie[or]=e.collectExternalModuleInfo(f,ye,h,J),w=p.createUniqueName(\"exports\"),M[or]=w,x=B[or]=p.createUniqueName(\"context\");var fe=F(I.externalImports),je=Q(ye,fe),Ee=p.createFunctionExpression(void 0,void 0,void 0,void 0,[p.createParameterDeclaration(void 0,void 0,void 0,w),p.createParameterDeclaration(void 0,void 0,void 0,x)],void 0,je),We=e.tryGetModuleNameFromFile(p,ye,v,J),$=p.createArrayLiteralExpression(e.map(fe,function(me){return me.name})),Ne=e.setEmitFlags(p.updateSourceFile(ye,e.setTextRange(p.createNodeArray([p.createExpressionStatement(p.createCallExpression(p.createPropertyAccessExpression(p.createIdentifier(\"System\"),\"register\"),void 0,We?[We,$,Ee]:[$,Ee]))]),ye.statements)),1024);return e.outFile(J)||e.moveEmitHelpers(Ne,je,function(me){return!me.scoped}),Z&&(S[or]=Z,Z=void 0),H=void 0,I=void 0,w=void 0,x=void 0,O=void 0,q=void 0,Ne}function F(ye){for(var or=new e.Map,fe=[],je=0,Ee=ye;je<Ee.length;je++){var We=Ee[je],$=e.getExternalModuleNameLiteral(p,We,H,v,h,J);if($){var Ne=$.text,me=or.get(Ne);me!==void 0?fe[me].externalImports.push(We):(or.set(Ne,fe.length),fe.push({name:$,externalImports:[We]}))}}return fe}function Q(ye,or){var fe=[];a();var je=e.getStrictOptionValue(J,\"alwaysStrict\")||!J.noImplicitUseStrict&&e.isExternalModule(H),Ee=p.copyPrologue(ye.statements,fe,je,N);fe.push(p.createVariableStatement(void 0,p.createVariableDeclarationList([p.createVariableDeclaration(\"__moduleName\",void 0,void 0,p.createLogicalAnd(x,p.createPropertyAccessExpression(x,\"id\")))]))),e.visitNode(I.externalHelpersImportDeclaration,N,e.isStatement);var We=e.visitNodes(ye.statements,N,e.isStatement,Ee);e.addRange(fe,O),e.insertStatementsAfterStandardPrologue(fe,d());var $=V(fe),Ne=ye.transformFlags&1048576?p.createModifiersFromModifierFlags(256):void 0,me=p.createObjectLiteralExpression([p.createPropertyAssignment(\"setters\",T($,or)),p.createPropertyAssignment(\"execute\",p.createFunctionExpression(Ne,void 0,void 0,void 0,[],void 0,p.createBlock(We,!0)))],!0);return fe.push(p.createReturnStatement(me)),p.createBlock(fe,!0)}function V(ye){if(!!I.hasExportStarsToExportValues){if(!I.exportedNames&&I.exportSpecifiers.size===0){for(var or=!1,fe=0,je=I.externalImports;fe<je.length;fe++){var Ee=je[fe];if(Ee.kind===271&&Ee.exportClause){or=!0;break}}if(!or){var We=re(void 0);return ye.push(We),We.name}}var $=[];if(I.exportedNames)for(var Ne=0,me=I.exportedNames;Ne<me.length;Ne++){var Ze=me[Ne];Ze.escapedText!==\"default\"&&$.push(p.createPropertyAssignment(p.createStringLiteralFromNode(Ze),p.createTrue()))}var Cr=p.createUniqueName(\"exportedNames\");ye.push(p.createVariableStatement(void 0,p.createVariableDeclarationList([p.createVariableDeclaration(Cr,void 0,void 0,p.createObjectLiteralExpression($,!0))])));var fr=re(Cr);return ye.push(fr),fr.name}}function re(ye){var or=p.createUniqueName(\"exportStar\"),fe=p.createIdentifier(\"m\"),je=p.createIdentifier(\"n\"),Ee=p.createIdentifier(\"exports\"),We=p.createStrictInequality(je,p.createStringLiteral(\"default\"));return ye&&(We=p.createLogicalAnd(We,p.createLogicalNot(p.createCallExpression(p.createPropertyAccessExpression(ye,\"hasOwnProperty\"),void 0,[je])))),p.createFunctionDeclaration(void 0,void 0,void 0,or,void 0,[p.createParameterDeclaration(void 0,void 0,void 0,fe)],void 0,p.createBlock([p.createVariableStatement(void 0,p.createVariableDeclarationList([p.createVariableDeclaration(Ee,void 0,void 0,p.createObjectLiteralExpression([]))])),p.createForInStatement(p.createVariableDeclarationList([p.createVariableDeclaration(je)]),fe,p.createBlock([e.setEmitFlags(p.createIfStatement(We,p.createExpressionStatement(p.createAssignment(p.createElementAccessExpression(Ee,je),p.createElementAccessExpression(fe,je)))),1)])),p.createExpressionStatement(p.createCallExpression(w,void 0,[Ee]))],!0))}function T(ye,or){for(var fe=[],je=0,Ee=or;je<Ee.length;je++){for(var We=Ee[je],$=e.forEach(We.externalImports,function(xr){return e.getLocalNameForExternalImport(p,xr,H)}),Ne=$?p.getGeneratedNameForNode($):p.createUniqueName(\"\"),me=[],Ze=0,Cr=We.externalImports;Ze<Cr.length;Ze++){var fr=Cr[Ze],dr=e.getLocalNameForExternalImport(p,fr,H);switch(fr.kind){case 265:if(!fr.importClause)break;case 264:e.Debug.assert(dr!==void 0),me.push(p.createExpressionStatement(p.createAssignment(dr,Ne)));break;case 271:if(e.Debug.assert(dr!==void 0),fr.exportClause)if(e.isNamedExports(fr.exportClause)){for(var et=[],yt=0,Vr=fr.exportClause.elements;yt<Vr.length;yt++){var tr=Vr[yt];et.push(p.createPropertyAssignment(p.createStringLiteral(e.idText(tr.name)),p.createElementAccessExpression(Ne,p.createStringLiteral(e.idText(tr.propertyName||tr.name)))))}me.push(p.createExpressionStatement(p.createCallExpression(w,void 0,[p.createObjectLiteralExpression(et,!0)])))}else me.push(p.createExpressionStatement(p.createCallExpression(w,void 0,[p.createStringLiteral(e.idText(fr.exportClause.name)),Ne])));else me.push(p.createExpressionStatement(p.createCallExpression(ye,void 0,[Ne])));break}}fe.push(p.createFunctionExpression(void 0,void 0,void 0,void 0,[p.createParameterDeclaration(void 0,void 0,void 0,Ne)],void 0,p.createBlock(me,!0)))}return p.createArrayLiteralExpression(fe,!0)}function N(ye){switch(ye.kind){case 265:return y(ye);case 264:return C(ye);case 271:return D(ye);case 270:return m(ye);default:return Ve(ye)}}function y(ye){var or;if(ye.importClause&&k(e.getLocalNameForExternalImport(p,ye,H)),Y(ye)){var fe=e.getOriginalNodeId(ye);b[fe]=K(b[fe],ye)}else or=K(or,ye);return e.singleOrMany(or)}function D(ye){e.Debug.assertIsDefined(ye)}function C(ye){e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(ye),\"import= for internal module references should be handled in an earlier transformer.\");var or;if(k(e.getLocalNameForExternalImport(p,ye,H)),Y(ye)){var fe=e.getOriginalNodeId(ye);b[fe]=Te(b[fe],ye)}else or=Te(or,ye);return e.singleOrMany(or)}function m(ye){if(!ye.isExportEquals){var or=e.visitNode(ye.expression,de,e.isExpression),fe=ye.original;if(fe&&Y(fe)){var je=e.getOriginalNodeId(ye);b[je]=Ge(b[je],p.createIdentifier(\"default\"),or,!0)}else return he(p.createIdentifier(\"default\"),or,!0)}}function u(ye){if(e.hasSyntacticModifier(ye,1)?O=e.append(O,p.updateFunctionDeclaration(ye,ye.decorators,e.visitNodes(ye.modifiers,Lr,e.isModifier),ye.asteriskToken,p.getDeclarationName(ye,!0,!0),void 0,e.visitNodes(ye.parameters,de,e.isParameterDeclaration),void 0,e.visitNode(ye.body,de,e.isBlock))):O=e.append(O,e.visitEachChild(ye,de,f)),Y(ye)){var or=e.getOriginalNodeId(ye);b[or]=Pe(b[or],ye)}else O=Pe(O,ye)}function g(ye){var or,fe=p.getLocalName(ye);if(k(fe),or=e.append(or,e.setTextRange(p.createExpressionStatement(p.createAssignment(fe,e.setTextRange(p.createClassExpression(e.visitNodes(ye.decorators,de,e.isDecorator),void 0,ye.name,void 0,e.visitNodes(ye.heritageClauses,de,e.isHeritageClause),e.visitNodes(ye.members,de,e.isClassElement)),ye))),ye)),Y(ye)){var je=e.getOriginalNodeId(ye);b[je]=Pe(b[je],ye)}else or=Pe(or,ye);return e.singleOrMany(or)}function P(ye){if(!ue(ye.declarationList))return e.visitNode(ye,de,e.isStatement);for(var or,fe=e.hasSyntacticModifier(ye,1),je=Y(ye),Ee=0,We=ye.declarationList.declarations;Ee<We.length;Ee++){var $=We[Ee];$.initializer?or=e.append(or,X($,fe&&!je)):te($)}var Ne;if(or&&(Ne=e.append(Ne,e.setTextRange(p.createExpressionStatement(p.inlineExpressions(or)),ye))),je){var me=e.getOriginalNodeId(ye);b[me]=ge(b[me],ye,fe)}else Ne=ge(Ne,ye,!1);return e.singleOrMany(Ne)}function te(ye){if(e.isBindingPattern(ye.name))for(var or=0,fe=ye.name.elements;or<fe.length;or++){var je=fe[or];e.isOmittedExpression(je)||te(je)}else k(p.cloneNode(ye.name))}function ue(ye){return(e.getEmitFlags(ye)&2097152)===0&&(q.kind===303||(e.getOriginalNode(ye).flags&3)===0)}function X(ye,or){var fe=or?j:Se;return e.isBindingPattern(ye.name)?e.flattenDestructuringAssignment(ye,de,f,0,!1,fe):ye.initializer?fe(ye.name,e.visitNode(ye.initializer,de,e.isExpression)):ye.name}function j(ye,or,fe){return Ce(ye,or,fe,!0)}function Se(ye,or,fe){return Ce(ye,or,fe,!1)}function Ce(ye,or,fe,je){return k(p.cloneNode(ye)),je?ve(ye,Or(e.setTextRange(p.createAssignment(ye,or),fe))):Or(e.setTextRange(p.createAssignment(ye,or),fe))}function R(ye){if(Y(ye)&&ye.original.kind===236){var or=e.getOriginalNodeId(ye),fe=e.hasSyntacticModifier(ye.original,1);b[or]=ge(b[or],ye.original,fe)}return ye}function Y(ye){return(e.getEmitFlags(ye)&4194304)!==0}function U(ye){var or=e.getOriginalNodeId(ye),fe=b[or];if(fe)return delete b[or],e.append(fe,ye);var je=e.getOriginalNode(ye);return e.isModuleOrEnumDeclaration(je)?e.append(Ie(fe,je),ye):ye}function K(ye,or){if(I.exportEquals)return ye;var fe=or.importClause;if(!fe)return ye;fe.name&&(ye=Ie(ye,fe));var je=fe.namedBindings;if(je)switch(je.kind){case 267:ye=Ie(ye,je);break;case 268:for(var Ee=0,We=je.elements;Ee<We.length;Ee++){var $=We[Ee];ye=Ie(ye,$)}break}return ye}function Te(ye,or){return I.exportEquals?ye:Ie(ye,or)}function ge(ye,or,fe){if(I.exportEquals)return ye;for(var je=0,Ee=or.declarationList.declarations;je<Ee.length;je++){var We=Ee[je];(We.initializer||fe)&&(ye=ke(ye,We,fe))}return ye}function ke(ye,or,fe){if(I.exportEquals)return ye;if(e.isBindingPattern(or.name))for(var je=0,Ee=or.name.elements;je<Ee.length;je++){var We=Ee[je];e.isOmittedExpression(We)||(ye=ke(ye,We,fe))}else if(!e.isGeneratedIdentifier(or.name)){var $=void 0;fe&&(ye=Ge(ye,or.name,p.getLocalName(or)),$=e.idText(or.name)),ye=Ie(ye,or,$)}return ye}function Pe(ye,or){if(I.exportEquals)return ye;var fe;if(e.hasSyntacticModifier(or,1)){var je=e.hasSyntacticModifier(or,512)?p.createStringLiteral(\"default\"):or.name;ye=Ge(ye,je,p.getLocalName(or)),fe=e.getTextOfIdentifierOrLiteral(je)}return or.name&&(ye=Ie(ye,or,fe)),ye}function Ie(ye,or,fe){if(I.exportEquals)return ye;var je=p.getDeclarationName(or),Ee=I.exportSpecifiers.get(e.idText(je));if(Ee)for(var We=0,$=Ee;We<$.length;We++){var Ne=$[We];Ne.name.escapedText!==fe&&(ye=Ge(ye,Ne.name,je))}return ye}function Ge(ye,or,fe,je){return ye=e.append(ye,he(or,fe,je)),ye}function he(ye,or,fe){var je=p.createExpressionStatement(ve(ye,or));return e.startOnNewLine(je),fe||e.setEmitFlags(je,1536),je}function ve(ye,or){var fe=e.isIdentifier(ye)?p.createStringLiteralFromNode(ye):ye;return e.setEmitFlags(or,e.getEmitFlags(or)|1536),e.setCommentRange(p.createCallExpression(w,void 0,[fe,or]),or)}function Ve(ye){switch(ye.kind){case 236:return P(ye);case 255:return u(ye);case 256:return g(ye);case 241:return _e(ye,!0);case 242:return Le(ye);case 243:return qe(ye);case 239:return Ae(ye);case 240:return Ye(ye);case 249:return Dr(ye);case 247:return br(ye);case 248:return lr(ye);case 262:return Ar(ye);case 288:return kr(ye);case 289:return Ke(ye);case 251:return Me(ye);case 291:return Hr(ye);case 234:return ur(ye);case 350:return R(ye);case 351:return U(ye);default:return de(ye)}}function _e(ye,or){var fe=q;return q=ye,ye=p.updateForStatement(ye,e.visitNode(ye.initializer,or?De:Fe,e.isForInitializer),e.visitNode(ye.condition,de,e.isExpression),e.visitNode(ye.incrementor,Fe,e.isExpression),e.visitIterationBody(ye.statement,or?Ve:de,f)),q=fe,ye}function Le(ye){var or=q;return q=ye,ye=p.updateForInStatement(ye,De(ye.initializer),e.visitNode(ye.expression,de,e.isExpression),e.visitIterationBody(ye.statement,Ve,f)),q=or,ye}function qe(ye){var or=q;return q=ye,ye=p.updateForOfStatement(ye,ye.awaitModifier,De(ye.initializer),e.visitNode(ye.expression,de,e.isExpression),e.visitIterationBody(ye.statement,Ve,f)),q=or,ye}function Xe(ye){return e.isVariableDeclarationList(ye)&&ue(ye)}function De(ye){if(Xe(ye)){for(var or=void 0,fe=0,je=ye.declarations;fe<je.length;fe++){var Ee=je[fe];or=e.append(or,X(Ee,!1)),Ee.initializer||te(Ee)}return or?p.inlineExpressions(or):p.createOmittedExpression()}else return e.visitNode(ye,Fe,e.isExpression)}function Ae(ye){return p.updateDoStatement(ye,e.visitIterationBody(ye.statement,Ve,f),e.visitNode(ye.expression,de,e.isExpression))}function Ye(ye){return p.updateWhileStatement(ye,e.visitNode(ye.expression,de,e.isExpression),e.visitIterationBody(ye.statement,Ve,f))}function Dr(ye){return p.updateLabeledStatement(ye,ye.label,e.visitNode(ye.statement,Ve,e.isStatement,p.liftToBlock))}function br(ye){return p.updateWithStatement(ye,e.visitNode(ye.expression,de,e.isExpression),e.visitNode(ye.statement,Ve,e.isStatement,p.liftToBlock))}function lr(ye){return p.updateSwitchStatement(ye,e.visitNode(ye.expression,de,e.isExpression),e.visitNode(ye.caseBlock,Ve,e.isCaseBlock))}function Ar(ye){var or=q;return q=ye,ye=p.updateCaseBlock(ye,e.visitNodes(ye.clauses,Ve,e.isCaseOrDefaultClause)),q=or,ye}function kr(ye){return p.updateCaseClause(ye,e.visitNode(ye.expression,de,e.isExpression),e.visitNodes(ye.statements,Ve,e.isStatement))}function Ke(ye){return e.visitEachChild(ye,Ve,f)}function Me(ye){return e.visitEachChild(ye,Ve,f)}function Hr(ye){var or=q;return q=ye,ye=p.updateCatchClause(ye,ye.variableDeclaration,e.visitNode(ye.block,Ve,e.isBlock)),q=or,ye}function ur(ye){var or=q;return q=ye,ye=e.visitEachChild(ye,Ve,f),q=or,ye}function gr(ye,or){if(!(ye.transformFlags&71305216))return ye;switch(ye.kind){case 241:return _e(ye,!1);case 237:return $e(ye);case 211:return Sr(ye,or);case 348:return Pr(ye,or);case 220:if(e.isDestructuringAssignment(ye))return pr(ye,or);break;case 207:if(e.isImportCall(ye))return He(ye);break;case 218:case 219:return ze(ye,or)}return e.visitEachChild(ye,de,f)}function de(ye){return gr(ye,!1)}function Fe(ye){return gr(ye,!0)}function $e(ye){return p.updateExpressionStatement(ye,e.visitNode(ye.expression,Fe,e.isExpression))}function Sr(ye,or){return p.updateParenthesizedExpression(ye,e.visitNode(ye.expression,or?Fe:de,e.isExpression))}function Pr(ye,or){return p.updatePartiallyEmittedExpression(ye,e.visitNode(ye.expression,or?Fe:de,e.isExpression))}function He(ye){var or=e.getExternalModuleNameLiteral(p,ye,H,v,h,J),fe=e.visitNode(e.firstOrUndefined(ye.arguments),de),je=or&&(!fe||!e.isStringLiteral(fe)||fe.text!==or.text)?or:fe;return p.createCallExpression(p.createPropertyAccessExpression(x,p.createIdentifier(\"import\")),void 0,je?[je]:[])}function pr(ye,or){return Jr(ye.left)?e.flattenDestructuringAssignment(ye,de,f,0,!or):e.visitEachChild(ye,de,f)}function Jr(ye){if(e.isAssignmentExpression(ye,!0))return Jr(ye.left);if(e.isSpreadElement(ye))return Jr(ye.expression);if(e.isObjectLiteralExpression(ye))return e.some(ye.properties,Jr);if(e.isArrayLiteralExpression(ye))return e.some(ye.elements,Jr);if(e.isShorthandPropertyAssignment(ye))return Jr(ye.name);if(e.isPropertyAssignment(ye))return Jr(ye.initializer);if(e.isIdentifier(ye)){var or=h.getReferencedExportContainer(ye);return or!==void 0&&or.kind===303}else return!1}function ze(ye,or){if((ye.operator===45||ye.operator===46)&&e.isIdentifier(ye.operand)&&!e.isGeneratedIdentifier(ye.operand)&&!e.isLocalName(ye.operand)&&!e.isDeclarationNameOfEnumOrNamespace(ye.operand)){var fe=ir(ye.operand);if(fe){var je=void 0,Ee=e.visitNode(ye.operand,de,e.isExpression);e.isPrefixUnaryExpression(ye)?Ee=p.updatePrefixUnaryExpression(ye,Ee):(Ee=p.updatePostfixUnaryExpression(ye,Ee),or||(je=p.createTempVariable(k),Ee=p.createAssignment(je,Ee),e.setTextRange(Ee,ye)),Ee=p.createComma(Ee,p.cloneNode(ye.operand)),e.setTextRange(Ee,ye));for(var We=0,$=fe;We<$.length;We++){var Ne=$[We];Ee=ve(Ne,Or(Ee))}return je&&(Ee=p.createComma(Ee,je),e.setTextRange(Ee,ye)),Ee}}return e.visitEachChild(ye,de,f)}function Lr(ye){switch(ye.kind){case 93:case 88:return}return ye}function Yr(ye,or,fe){if(or.kind===303){var je=e.getOriginalNodeId(or);H=or,I=ie[je],w=M[je],Z=S[je],x=B[je],Z&&delete S[je],z(ye,or,fe),H=void 0,I=void 0,w=void 0,x=void 0,Z=void 0}else z(ye,or,fe)}function lt(ye,or){return or=A(ye,or),sr(or)?or:ye===1?cn(or):ye===4?tt(or):or}function tt(ye){switch(ye.kind){case 295:return Rt(ye)}return ye}function Rt(ye){var or,fe,je=ye.name;if(!e.isGeneratedIdentifier(je)&&!e.isLocalName(je)){var Ee=h.getReferencedImportDeclaration(je);if(Ee){if(e.isImportClause(Ee))return e.setTextRange(p.createPropertyAssignment(p.cloneNode(je),p.createPropertyAccessExpression(p.getGeneratedNameForNode(Ee.parent),p.createIdentifier(\"default\"))),ye);if(e.isImportSpecifier(Ee))return e.setTextRange(p.createPropertyAssignment(p.cloneNode(je),p.createPropertyAccessExpression(p.getGeneratedNameForNode(((fe=(or=Ee.parent)===null||or===void 0?void 0:or.parent)===null||fe===void 0?void 0:fe.parent)||Ee),p.cloneNode(Ee.propertyName||Ee.name))),ye)}}return ye}function cn(ye){switch(ye.kind){case 79:return bn(ye);case 220:return In(ye);case 230:return zn(ye)}return ye}function bn(ye){var or,fe;if(e.getEmitFlags(ye)&4096){var je=e.getExternalHelpersModuleName(H);return je?p.createPropertyAccessExpression(je,ye):ye}if(!e.isGeneratedIdentifier(ye)&&!e.isLocalName(ye)){var Ee=h.getReferencedImportDeclaration(ye);if(Ee){if(e.isImportClause(Ee))return e.setTextRange(p.createPropertyAccessExpression(p.getGeneratedNameForNode(Ee.parent),p.createIdentifier(\"default\")),ye);if(e.isImportSpecifier(Ee))return e.setTextRange(p.createPropertyAccessExpression(p.getGeneratedNameForNode(((fe=(or=Ee.parent)===null||or===void 0?void 0:or.parent)===null||fe===void 0?void 0:fe.parent)||Ee),p.cloneNode(Ee.propertyName||Ee.name)),ye)}}return ye}function In(ye){if(e.isAssignmentOperator(ye.operatorToken.kind)&&e.isIdentifier(ye.left)&&!e.isGeneratedIdentifier(ye.left)&&!e.isLocalName(ye.left)&&!e.isDeclarationNameOfEnumOrNamespace(ye.left)){var or=ir(ye.left);if(or){for(var fe=ye,je=0,Ee=or;je<Ee.length;je++){var We=Ee[je];fe=ve(We,Or(fe))}return fe}}return ye}function zn(ye){return e.isImportMeta(ye)?p.createPropertyAccessExpression(x,p.createIdentifier(\"meta\")):ye}function ir(ye){var or;if(!e.isGeneratedIdentifier(ye)){var fe=h.getReferencedImportDeclaration(ye)||h.getReferencedValueDeclaration(ye);if(fe){var je=h.getReferencedExportContainer(ye,!1);je&&je.kind===303&&(or=e.append(or,p.getDeclarationName(fe))),or=e.addRange(or,I&&I.exportedBindings[e.getOriginalNodeId(fe)])}}return or}function Or(ye){return Z===void 0&&(Z=[]),Z[e.getNodeId(ye)]=!0,ye}function sr(ye){return Z&&ye.id&&Z[ye.id]}}e.transformSystemModule=n}(jr||(jr={})),function(e){function n(f){var p=f.factory,a=f.getEmitHelperFactory,d=f.getEmitHost(),k=f.getEmitResolver(),J=f.getCompilerOptions(),h=e.getEmitScriptTarget(J),v=f.onEmitNode,A=f.onSubstituteNode;f.onEmitNode=q,f.onSubstituteNode=Z,f.enableEmitNotification(303),f.enableSubstitution(79);var z,ie,b;return e.chainBundle(f,M);function M(F){if(F.isDeclarationFile)return F;if(e.isExternalModule(F)||J.isolatedModules){ie=F,b=void 0;var Q=S(F);return ie=void 0,b&&(Q=p.updateSourceFile(Q,e.setTextRange(p.createNodeArray(e.insertStatementsAfterCustomPrologue(Q.statements.slice(),b)),Q.statements))),!e.isExternalModule(F)||e.some(Q.statements,e.isExternalModuleIndicator)?Q:p.updateSourceFile(Q,e.setTextRange(p.createNodeArray(Gt(Gt([],Q.statements,!0),[e.createEmptyExports(p)],!1)),Q.statements))}return F}function S(F){var Q=e.createExternalHelpersImportDeclarationIfNeeded(p,a(),F,J);if(Q){var V=[],re=p.copyPrologue(F.statements,V);return e.append(V,Q),e.addRange(V,e.visitNodes(F.statements,B,e.isStatement,re)),p.updateSourceFile(F,e.setTextRange(p.createNodeArray(V),F.statements))}else return e.visitEachChild(F,B,f)}function B(F){switch(F.kind){case 264:return e.getEmitScriptTarget(J)>=e.ModuleKind.ES2020?I(F):void 0;case 270:return x(F);case 271:var Q=F;return O(Q)}return F}function H(F){var Q=e.getExternalModuleNameLiteral(p,F,e.Debug.checkDefined(ie),d,k,J),V=[];if(Q&&V.push(Q),!b){var re=p.createUniqueName(\"_createRequire\",48),T=p.createImportDeclaration(void 0,void 0,p.createImportClause(!1,void 0,p.createNamedImports([p.createImportSpecifier(!1,p.createIdentifier(\"createRequire\"),re)])),p.createStringLiteral(\"module\")),N=p.createUniqueName(\"__require\",48),y=p.createVariableStatement(void 0,p.createVariableDeclarationList([p.createVariableDeclaration(N,void 0,void 0,p.createCallExpression(p.cloneNode(re),void 0,[p.createPropertyAccessExpression(p.createMetaProperty(100,p.createIdentifier(\"meta\")),p.createIdentifier(\"url\"))]))],h>=2?2:0));b=[T,y]}var D=b[1].declarationList.declarations[0].name;return e.Debug.assertNode(D,e.isIdentifier),p.createCallExpression(p.cloneNode(D),void 0,V)}function I(F){e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(F),\"import= for internal module references should be handled in an earlier transformer.\");var Q;return Q=e.append(Q,e.setOriginalNode(e.setTextRange(p.createVariableStatement(void 0,p.createVariableDeclarationList([p.createVariableDeclaration(p.cloneNode(F.name),void 0,void 0,H(F))],h>=2?2:0)),F),F)),Q=w(Q,F),e.singleOrMany(Q)}function w(F,Q){return e.hasSyntacticModifier(Q,1)&&(F=e.append(F,p.createExportDeclaration(void 0,void 0,Q.isTypeOnly,p.createNamedExports([p.createExportSpecifier(!1,void 0,e.idText(Q.name))])))),F}function x(F){return F.isExportEquals?void 0:F}function O(F){if(J.module!==void 0&&J.module>e.ModuleKind.ES2015||!F.exportClause||!e.isNamespaceExport(F.exportClause)||!F.moduleSpecifier)return F;var Q=F.exportClause.name,V=p.getGeneratedNameForNode(Q),re=p.createImportDeclaration(void 0,void 0,p.createImportClause(!1,void 0,p.createNamespaceImport(V)),F.moduleSpecifier,F.assertClause);e.setOriginalNode(re,F.exportClause);var T=e.isExportNamespaceAsDefaultDeclaration(F)?p.createExportDefault(V):p.createExportDeclaration(void 0,void 0,!1,p.createNamedExports([p.createExportSpecifier(!1,V,Q)]));return e.setOriginalNode(T,F),[re,T]}function q(F,Q,V){e.isSourceFile(Q)?((e.isExternalModule(Q)||J.isolatedModules)&&J.importHelpers&&(z=new e.Map),v(F,Q,V),z=void 0):v(F,Q,V)}function Z(F,Q){return Q=A(F,Q),z&&e.isIdentifier(Q)&&e.getEmitFlags(Q)&4096?ne(Q):Q}function ne(F){var Q=e.idText(F),V=z.get(Q);return V||z.set(Q,V=p.createUniqueName(Q,48)),V}}e.transformECMAScriptModule=n}(jr||(jr={})),function(e){function n(f){var p=f.onSubstituteNode,a=f.onEmitNode,d=e.transformECMAScriptModule(f),k=f.onSubstituteNode,J=f.onEmitNode;f.onSubstituteNode=p,f.onEmitNode=a;var h=e.transformModule(f),v=f.onSubstituteNode,A=f.onEmitNode;f.onSubstituteNode=ie,f.onEmitNode=b,f.enableSubstitution(303),f.enableEmitNotification(303);var z;return B;function ie(I,w){return e.isSourceFile(w)?(z=w,p(I,w)):z?z.impliedNodeFormat===e.ModuleKind.ESNext?k(I,w):v(I,w):p(I,w)}function b(I,w,x){return e.isSourceFile(w)&&(z=w),z?z.impliedNodeFormat===e.ModuleKind.ESNext?J(I,w,x):A(I,w,x):a(I,w,x)}function M(I){return I.impliedNodeFormat===e.ModuleKind.ESNext?d:h}function S(I){if(I.isDeclarationFile)return I;z=I;var w=M(I)(I);return z=void 0,e.Debug.assert(e.isSourceFile(w)),w}function B(I){return I.kind===303?S(I):H(I)}function H(I){return f.factory.createBundle(e.map(I.sourceFiles,S),I.prepends)}}e.transformNodeModule=n}(jr||(jr={})),function(e){function n(a){return e.isVariableDeclaration(a)||e.isPropertyDeclaration(a)||e.isPropertySignature(a)||e.isBindingElement(a)||e.isSetAccessor(a)||e.isGetAccessor(a)||e.isConstructSignatureDeclaration(a)||e.isCallSignatureDeclaration(a)||e.isMethodDeclaration(a)||e.isMethodSignature(a)||e.isFunctionDeclaration(a)||e.isParameter(a)||e.isTypeParameterDeclaration(a)||e.isExpressionWithTypeArguments(a)||e.isImportEqualsDeclaration(a)||e.isTypeAliasDeclaration(a)||e.isConstructorDeclaration(a)||e.isIndexSignatureDeclaration(a)||e.isPropertyAccessExpression(a)||e.isJSDocTypeAlias(a)}e.canProduceDiagnostics=n;function f(a){if(e.isSetAccessor(a)||e.isGetAccessor(a))return d;return e.isMethodSignature(a)||e.isMethodDeclaration(a)?J:p(a);function d(v){var A=k(v);return A!==void 0?{diagnosticMessage:A,errorNode:a,typeName:a.name}:void 0}function k(v){return e.isStatic(a)?v.errorModuleName?v.accessibility===2?e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:a.parent.kind===256?v.errorModuleName?v.accessibility===2?e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1:v.errorModuleName?e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1}function J(v){var A=h(v);return A!==void 0?{diagnosticMessage:A,errorNode:a,typeName:a.name}:void 0}function h(v){return e.isStatic(a)?v.errorModuleName?v.accessibility===2?e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:a.parent.kind===256?v.errorModuleName?v.accessibility===2?e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_private_name_1:v.errorModuleName?e.Diagnostics.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Method_0_of_exported_interface_has_or_is_using_private_name_1}}e.createGetSymbolAccessibilityDiagnosticForNodeName=f;function p(a){if(e.isVariableDeclaration(a)||e.isPropertyDeclaration(a)||e.isPropertySignature(a)||e.isPropertyAccessExpression(a)||e.isBindingElement(a)||e.isConstructorDeclaration(a))return k;return e.isSetAccessor(a)||e.isGetAccessor(a)?J:e.isConstructSignatureDeclaration(a)||e.isCallSignatureDeclaration(a)||e.isMethodDeclaration(a)||e.isMethodSignature(a)||e.isFunctionDeclaration(a)||e.isIndexSignatureDeclaration(a)?h:e.isParameter(a)?e.isParameterPropertyDeclaration(a,a.parent)&&e.hasSyntacticModifier(a.parent,8)?k:v:e.isTypeParameterDeclaration(a)?z:e.isExpressionWithTypeArguments(a)?ie:e.isImportEqualsDeclaration(a)?b:e.isTypeAliasDeclaration(a)||e.isJSDocTypeAlias(a)?M:e.Debug.assertNever(a,\"Attempted to set a declaration diagnostic context for unhandled node kind: \".concat(e.SyntaxKind[a.kind]));function d(S){if(a.kind===253||a.kind===202)return S.errorModuleName?S.accessibility===2?e.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Exported_variable_0_has_or_is_using_private_name_1;if(a.kind===166||a.kind===205||a.kind===165||a.kind===163&&e.hasSyntacticModifier(a.parent,8))return e.isStatic(a)?S.errorModuleName?S.accessibility===2?e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:a.parent.kind===256||a.kind===163?S.errorModuleName?S.accessibility===2?e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1:S.errorModuleName?e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1}function k(S){var B=d(S);return B!==void 0?{diagnosticMessage:B,errorNode:a,typeName:a.name}:void 0}function J(S){var B;return a.kind===172?e.isStatic(a)?B=S.errorModuleName?e.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:B=S.errorModuleName?e.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:e.isStatic(a)?B=S.errorModuleName?S.accessibility===2?e.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:e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:B=S.errorModuleName?S.accessibility===2?e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1,{diagnosticMessage:B,errorNode:a.name,typeName:a.name}}function h(S){var B;switch(a.kind){case 174:B=S.errorModuleName?e.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 173:B=S.errorModuleName?e.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 175:B=S.errorModuleName?e.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 168:case 167:e.isStatic(a)?B=S.errorModuleName?S.accessibility===2?e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:a.parent.kind===256?B=S.errorModuleName?S.accessibility===2?e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:B=S.errorModuleName?e.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0;break;case 255:B=S.errorModuleName?S.accessibility===2?e.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return e.Debug.fail(\"This is unknown kind for signature: \"+a.kind)}return{diagnosticMessage:B,errorNode:a.name||a}}function v(S){var B=A(S);return B!==void 0?{diagnosticMessage:B,errorNode:a,typeName:a.name}:void 0}function A(S){switch(a.parent.kind){case 170:return S.errorModuleName?S.accessibility===2?e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 174:case 179:return S.errorModuleName?e.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 173:return S.errorModuleName?e.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 175:return S.errorModuleName?e.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 168:case 167:return e.isStatic(a.parent)?S.errorModuleName?S.accessibility===2?e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:a.parent.parent.kind===256?S.errorModuleName?S.accessibility===2?e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:S.errorModuleName?e.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;case 255:case 178:return S.errorModuleName?S.accessibility===2?e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 172:case 171:return S.errorModuleName?S.accessibility===2?e.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return e.Debug.fail(\"Unknown parent for parameter: \".concat(e.SyntaxKind[a.parent.kind]))}}function z(){var S;switch(a.parent.kind){case 256:S=e.Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 257:S=e.Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 194:S=e.Diagnostics.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 179:case 174:S=e.Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 173:S=e.Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 168:case 167:e.isStatic(a.parent)?S=e.Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:a.parent.parent.kind===256?S=e.Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:S=e.Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 178:case 255:S=e.Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 258:S=e.Diagnostics.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return e.Debug.fail(\"This is unknown parent for type parameter: \"+a.parent.kind)}return{diagnosticMessage:S,errorNode:a,typeName:a.name}}function ie(){var S;return e.isClassDeclaration(a.parent.parent)?S=e.isHeritageClause(a.parent)&&a.parent.token===117?e.Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:a.parent.parent.name?e.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:e.Diagnostics.extends_clause_of_exported_class_has_or_is_using_private_name_0:S=e.Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1,{diagnosticMessage:S,errorNode:a,typeName:e.getNameOfDeclaration(a.parent.parent)}}function b(){return{diagnosticMessage:e.Diagnostics.Import_declaration_0_is_using_private_name_1,errorNode:a,typeName:a.name}}function M(S){return{diagnosticMessage:S.errorModuleName?e.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:e.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:e.isJSDocTypeAlias(a)?e.Debug.checkDefined(a.typeExpression):a.type,typeName:e.isJSDocTypeAlias(a)?e.getNameOfDeclaration(a):a.name}}}e.createGetSymbolAccessibilityDiagnosticForNode=p}(jr||(jr={})),function(e){function n(b,M,S){var B=b.getCompilerOptions(),H=e.transformNodes(M,b,e.factory,B,S?[S]:e.filter(b.getSourceFiles(),e.isSourceFileNotJson),[d],!1);return H.diagnostics}e.getDeclarationDiagnostics=n;function f(b,M){var S=M.text.substring(b.pos,b.end);return e.stringContains(S,\"@internal\")}function p(b,M){var S=e.getParseTreeNode(b);if(S&&S.kind===163){var B=S.parent.parameters.indexOf(S),H=B>0?S.parent.parameters[B-1]:void 0,I=M.text,w=H?e.concatenate(e.getTrailingCommentRanges(I,e.skipTrivia(I,H.end+1,!1,!0)),e.getLeadingCommentRanges(I,b.pos)):e.getTrailingCommentRanges(I,e.skipTrivia(I,b.pos,!1,!0));return w&&w.length&&f(e.last(w),M)}var x=S&&e.getLeadingCommentRangesOfNode(S,M);return!!e.forEach(x,function(O){return f(O,M)})}e.isInternalDeclaration=p;var a=531469;function d(b){var M=function(){return e.Debug.fail(\"Diagnostic emitted without context\")},S=M,B=!0,H=!1,I=!1,w=!1,x=!1,O,q,Z,ne,F,Q,V=b.factory,re=b.getEmitHost(),T={trackSymbol:R,reportInaccessibleThisError:ge,reportInaccessibleUniqueSymbolError:K,reportCyclicStructureError:Te,reportPrivateInBaseOfClassExpression:Y,reportLikelyUnsafeImportRequiredError:ke,reportTruncationError:Pe,moduleResolverHost:re,trackReferencedAmbientModule:j,trackExternalModuleSymbolOfImportTypeNode:Ce,reportNonlocalAugmentation:Ie,reportNonSerializableProperty:Ge},N,y,D,C,m,u,g=b.getEmitResolver(),P=b.getCompilerOptions(),te=P.noResolve,ue=P.stripInternal;return ve;function X(ir){if(!!ir){q=q||new e.Set;for(var Or=0,sr=ir;Or<sr.length;Or++){var ye=sr[Or];q.add(ye)}}}function j(ir,Or){var sr=g.getTypeReferenceDirectivesForSymbol(Or,67108863);if(e.length(sr))return X(sr);var ye=e.getSourceFileOfNode(ir);C.set(e.getOriginalNodeId(ye),ye)}function Se(ir){if(ir.accessibility===0){if(ir&&ir.aliasesToMakeVisible)if(!Z)Z=ir.aliasesToMakeVisible;else for(var Or=0,sr=ir.aliasesToMakeVisible;Or<sr.length;Or++){var ye=sr[Or];e.pushIfUnique(Z,ye)}}else{var or=S(ir);if(or)return or.typeName?b.addDiagnostic(e.createDiagnosticForNode(ir.errorNode||or.errorNode,or.diagnosticMessage,e.getTextOfNode(or.typeName),ir.errorSymbolName,ir.errorModuleName)):b.addDiagnostic(e.createDiagnosticForNode(ir.errorNode||or.errorNode,or.diagnosticMessage,ir.errorSymbolName,ir.errorModuleName)),!0}return!1}function Ce(ir){H||(Q||(Q=[])).push(ir)}function R(ir,Or,sr){if(ir.flags&262144)return!1;var ye=Se(g.isSymbolAccessible(ir,Or,sr,!0));return X(g.getTypeReferenceDirectivesForSymbol(ir,sr)),ye}function Y(ir){(N||y)&&b.addDiagnostic(e.createDiagnosticForNode(N||y,e.Diagnostics.Property_0_of_exported_class_expression_may_not_be_private_or_protected,ir))}function U(){return N?e.declarationNameToString(N):y&&e.getNameOfDeclaration(y)?e.declarationNameToString(e.getNameOfDeclaration(y)):y&&e.isExportAssignment(y)?y.isExportEquals?\"export=\":\"default\":\"(Missing)\"}function K(){(N||y)&&b.addDiagnostic(e.createDiagnosticForNode(N||y,e.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,U(),\"unique symbol\"))}function Te(){(N||y)&&b.addDiagnostic(e.createDiagnosticForNode(N||y,e.Diagnostics.The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary,U()))}function ge(){(N||y)&&b.addDiagnostic(e.createDiagnosticForNode(N||y,e.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,U(),\"this\"))}function ke(ir){(N||y)&&b.addDiagnostic(e.createDiagnosticForNode(N||y,e.Diagnostics.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary,U(),ir))}function Pe(){(N||y)&&b.addDiagnostic(e.createDiagnosticForNode(N||y,e.Diagnostics.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed))}function Ie(ir,Or,sr){var ye,or=(ye=Or.declarations)===null||ye===void 0?void 0:ye.find(function($){return e.getSourceFileOfNode($)===ir}),fe=e.filter(sr.declarations,function($){return e.getSourceFileOfNode($)!==ir});if(fe)for(var je=0,Ee=fe;je<Ee.length;je++){var We=Ee[je];b.addDiagnostic(e.addRelatedInfo(e.createDiagnosticForNode(We,e.Diagnostics.Declaration_augments_declaration_in_another_file_This_cannot_be_serialized),e.createDiagnosticForNode(or,e.Diagnostics.This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file)))}}function Ge(ir){(N||y)&&b.addDiagnostic(e.createDiagnosticForNode(N||y,e.Diagnostics.The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized,ir))}function he(ir,Or){var sr=S;S=function(or){return or.errorNode&&e.canProduceDiagnostics(or.errorNode)?e.createGetSymbolAccessibilityDiagnosticForNode(or.errorNode)(or):{diagnosticMessage:or.errorModuleName?e.Diagnostics.Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:e.Diagnostics.Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit,errorNode:or.errorNode||ir}};var ye=g.getDeclarationStatementsForSourceFile(ir,a,T,Or);return S=sr,ye}function ve(ir){if(ir.kind===303&&ir.isDeclarationFile)return ir;if(ir.kind===304){H=!0,C=new e.Map,m=new e.Map;var Or=!1,sr=V.createBundle(e.map(ir.sourceFiles,function(dr){if(!dr.isDeclarationFile){if(Or=Or||dr.hasNoDefaultLib,D=dr,O=dr,Z=void 0,F=!1,ne=new e.Map,S=M,w=!1,x=!1,Ve(dr,C),_e(dr,m),e.isExternalOrCommonJsModule(dr)||e.isJsonSourceFile(dr)){I=!1,B=!1;var et=e.isSourceFileJS(dr)?V.createNodeArray(he(dr,!0)):e.visitNodes(dr.statements,Pr),yt=V.updateSourceFile(dr,[V.createModuleDeclaration([],[V.createModifier(135)],V.createStringLiteral(e.getResolvedExternalModuleName(b.getEmitHost(),dr)),V.createModuleBlock(e.setTextRange(V.createNodeArray(Fe(et)),dr.statements)))],!0,[],[],!1,[]);return yt}B=!0;var Vr=e.isSourceFileJS(dr)?V.createNodeArray(he(dr)):e.visitNodes(dr.statements,Pr);return V.updateSourceFile(dr,Fe(Vr),!0,[],[],!1,[])}}),e.mapDefined(ir.prepends,function(dr){if(dr.kind===306){var et=e.createUnparsedSourceFile(dr,\"dts\",ue);return Or=Or||!!et.hasNoDefaultLib,Ve(et,C),X(et.typeReferenceDirectives),_e(et,m),et}return dr}));sr.syntheticFileReferences=[],sr.syntheticTypeReferences=Ze(),sr.syntheticLibReferences=me(),sr.hasNoDefaultLib=Or;var ye=e.getDirectoryPath(e.normalizeSlashes(e.getOutputPathsFor(ir,re,!0).declarationFilePath)),or=fr(sr.syntheticFileReferences,ye);return C.forEach(or),sr}B=!0,w=!1,x=!1,O=ir,D=ir,S=M,H=!1,I=!1,F=!1,Z=void 0,ne=new e.Map,q=void 0,C=Ve(D,new e.Map),m=_e(D,new e.Map);var fe=[],je=e.getDirectoryPath(e.normalizeSlashes(e.getOutputPathsFor(ir,re,!0).declarationFilePath)),Ee=fr(fe,je),We;if(e.isSourceFileJS(D))We=V.createNodeArray(he(ir)),C.forEach(Ee),u=e.filter(We,e.isAnyImportSyntax);else{var $=e.visitNodes(ir.statements,Pr);We=e.setTextRange(V.createNodeArray(Fe($)),ir.statements),C.forEach(Ee),u=e.filter(We,e.isAnyImportSyntax),e.isExternalModule(ir)&&(!I||w&&!x)&&(We=e.setTextRange(V.createNodeArray(Gt(Gt([],We,!0),[e.createEmptyExports(V)],!1)),We))}var Ne=V.updateSourceFile(ir,We,!0,fe,Ze(),ir.hasNoDefaultLib,me());return Ne.exportedModulesFromDeclarationEmit=Q,Ne;function me(){return e.map(e.arrayFrom(m.keys()),function(dr){return{fileName:dr,pos:-1,end:-1}})}function Ze(){return q?e.mapDefined(e.arrayFrom(q.keys()),Cr):[]}function Cr(dr){if(u)for(var et=0,yt=u;et<yt.length;et++){var Vr=yt[et];if(e.isImportEqualsDeclaration(Vr)&&e.isExternalModuleReference(Vr.moduleReference)){var tr=Vr.moduleReference.expression;if(e.isStringLiteralLike(tr)&&tr.text===dr)return}else if(e.isImportDeclaration(Vr)&&e.isStringLiteral(Vr.moduleSpecifier)&&Vr.moduleSpecifier.text===dr)return}return{fileName:dr,pos:-1,end:-1}}function fr(dr,et){return function(yt){var Vr;if(yt.isDeclarationFile)Vr=yt.fileName;else{if(H&&e.contains(ir.sourceFiles,yt))return;var tr=e.getOutputPathsFor(yt,re,!0);Vr=tr.declarationFilePath||tr.jsFilePath||yt.fileName}if(Vr){var xr=e.moduleSpecifiers.getModuleSpecifier(P,D,e.toPath(et,re.getCurrentDirectory(),re.getCanonicalFileName),e.toPath(Vr,re.getCurrentDirectory(),re.getCanonicalFileName),re);if(!e.pathIsRelative(xr)){X([xr]);return}var Nr=e.getRelativePathToDirectoryOrUrl(et,Vr,re.getCurrentDirectory(),re.getCanonicalFileName,!1);if(e.startsWith(Nr,\"./\")&&e.hasExtension(Nr)&&(Nr=Nr.substring(2)),e.startsWith(Nr,\"node_modules/\")||e.pathContainsNodeModules(Nr))return;dr.push({pos:-1,end:-1,fileName:Nr})}}}}function Ve(ir,Or){return te||!e.isUnparsedSource(ir)&&e.isSourceFileJS(ir)||e.forEach(ir.referencedFiles,function(sr){var ye=re.getSourceFileFromReference(ir,sr);ye&&Or.set(e.getOriginalNodeId(ye),ye)}),Or}function _e(ir,Or){return e.forEach(ir.libReferenceDirectives,function(sr){var ye=re.getLibFileFromReference(sr);ye&&Or.set(e.toFileNameLowerCase(sr.fileName),!0)}),Or}function Le(ir){if(ir.kind===79)return ir;return ir.kind===201?V.updateArrayBindingPattern(ir,e.visitNodes(ir.elements,Or)):V.updateObjectBindingPattern(ir,e.visitNodes(ir.elements,Or));function Or(sr){return sr.kind===226?sr:V.updateBindingElement(sr,sr.dotDotDotToken,sr.propertyName,Le(sr.name),Xe(sr)?sr.initializer:void 0)}}function qe(ir,Or,sr){var ye;F||(ye=S,S=e.createGetSymbolAccessibilityDiagnosticForNode(ir));var or=V.updateParameterDeclaration(ir,void 0,J(ir,Or),ir.dotDotDotToken,Le(ir.name),g.isOptionalParameter(ir)?ir.questionToken||V.createToken(57):void 0,Ae(ir,sr||ir.type,!0),De(ir));return F||(S=ye),or}function Xe(ir){return A(ir)&&g.isLiteralConstDeclaration(e.getParseTreeNode(ir))}function De(ir){if(Xe(ir))return g.createLiteralConstValue(e.getParseTreeNode(ir),T)}function Ae(ir,Or,sr){if(!sr&&e.hasEffectiveModifier(ir,8)||Xe(ir))return;var ye=ir.kind===163&&(g.isRequiredInitializedParameter(ir)||g.isOptionalUninitializedParameterProperty(ir));if(Or&&!ye)return e.visitNode(Or,$e);if(!e.getParseTreeNode(ir))return Or?e.visitNode(Or,$e):V.createKeywordTypeNode(130);if(ir.kind===172)return V.createKeywordTypeNode(130);N=ir.name;var or;if(F||(or=S,S=e.createGetSymbolAccessibilityDiagnosticForNode(ir)),ir.kind===253||ir.kind===202)return fe(g.createTypeOfDeclaration(ir,O,a,T));if(ir.kind===163||ir.kind===166||ir.kind===165)return ir.initializer?fe(g.createTypeOfDeclaration(ir,O,a,T,ye)||g.createTypeOfExpression(ir.initializer,O,a,T)):fe(g.createTypeOfDeclaration(ir,O,a,T,ye));return fe(g.createReturnTypeOfSignatureDeclaration(ir,O,a,T));function fe(je){return N=void 0,F||(S=or),je||V.createKeywordTypeNode(130)}}function Ye(ir){switch(ir=e.getParseTreeNode(ir),ir.kind){case 255:case 260:case 257:case 256:case 258:case 259:return!g.isDeclarationVisible(ir);case 253:return!br(ir);case 264:case 265:case 271:case 270:return!1;case 169:return!0}return!1}function Dr(ir){var Or;if(ir.body)return!0;var sr=(Or=ir.symbol.declarations)===null||Or===void 0?void 0:Or.filter(function(ye){return e.isFunctionDeclaration(ye)&&!ye.body});return!sr||sr.indexOf(ir)===sr.length-1}function br(ir){return e.isOmittedExpression(ir)?!1:e.isBindingPattern(ir.name)?e.some(ir.name.elements,br):g.isDeclarationVisible(ir)}function lr(ir,Or,sr){if(!e.hasEffectiveModifier(ir,8)){var ye=e.map(Or,function(or){return qe(or,sr)});if(!!ye)return V.createNodeArray(ye,Or.hasTrailingComma)}}function Ar(ir,Or){var sr;if(!Or){var ye=e.getThisParameter(ir);ye&&(sr=[qe(ye)])}if(e.isSetAccessorDeclaration(ir)){var or=void 0;if(!Or){var fe=e.getSetAccessorValueParameter(ir);if(fe){var je=In(ir,g.getAllAccessorDeclarations(ir));or=qe(fe,void 0,je)}}or||(or=V.createParameterDeclaration(void 0,void 0,void 0,\"value\")),sr=e.append(sr,or)}return V.createNodeArray(sr||e.emptyArray)}function kr(ir,Or){return e.hasEffectiveModifier(ir,8)?void 0:e.visitNodes(Or,$e)}function Ke(ir){return e.isSourceFile(ir)||e.isTypeAliasDeclaration(ir)||e.isModuleDeclaration(ir)||e.isClassDeclaration(ir)||e.isInterfaceDeclaration(ir)||e.isFunctionLike(ir)||e.isIndexSignatureDeclaration(ir)||e.isMappedTypeNode(ir)}function Me(ir,Or){var sr=g.isEntityNameVisible(ir,Or);Se(sr),X(g.getTypeReferenceDirectivesForEntityName(ir))}function Hr(ir,Or){return e.hasJSDocNodes(ir)&&e.hasJSDocNodes(Or)&&(ir.jsDoc=Or.jsDoc),e.setCommentRange(ir,e.getCommentRange(Or))}function ur(ir,Or){if(!!Or){if(I=I||ir.kind!==260&&ir.kind!==199,e.isStringLiteralLike(Or))if(H){var sr=e.getExternalModuleNameFromDeclaration(b.getEmitHost(),g,ir);if(sr)return V.createStringLiteral(sr)}else{var ye=g.getSymbolOfExternalModuleSpecifier(Or);ye&&(Q||(Q=[])).push(ye)}return Or}}function gr(ir){if(!!g.isDeclarationVisible(ir))if(ir.moduleReference.kind===276){var Or=e.getExternalModuleImportEqualsDeclarationExpression(ir);return V.updateImportEqualsDeclaration(ir,void 0,ir.modifiers,ir.isTypeOnly,ir.name,V.updateExternalModuleReference(ir.moduleReference,ur(ir,Or)))}else{var sr=S;return S=e.createGetSymbolAccessibilityDiagnosticForNode(ir),Me(ir.moduleReference,O),S=sr,ir}}function de(ir){if(!ir.importClause)return V.updateImportDeclaration(ir,void 0,ir.modifiers,ir.importClause,ur(ir,ir.moduleSpecifier),void 0);var Or=ir.importClause&&ir.importClause.name&&g.isDeclarationVisible(ir.importClause)?ir.importClause.name:void 0;if(!ir.importClause.namedBindings)return Or&&V.updateImportDeclaration(ir,void 0,ir.modifiers,V.updateImportClause(ir.importClause,ir.importClause.isTypeOnly,Or,void 0),ur(ir,ir.moduleSpecifier),void 0);if(ir.importClause.namedBindings.kind===267){var sr=g.isDeclarationVisible(ir.importClause.namedBindings)?ir.importClause.namedBindings:void 0;return Or||sr?V.updateImportDeclaration(ir,void 0,ir.modifiers,V.updateImportClause(ir.importClause,ir.importClause.isTypeOnly,Or,sr),ur(ir,ir.moduleSpecifier),void 0):void 0}var ye=e.mapDefined(ir.importClause.namedBindings.elements,function(or){return g.isDeclarationVisible(or)?or:void 0});if(ye&&ye.length||Or)return V.updateImportDeclaration(ir,void 0,ir.modifiers,V.updateImportClause(ir.importClause,ir.importClause.isTypeOnly,Or,ye&&ye.length?V.updateNamedImports(ir.importClause.namedBindings,ye):void 0),ur(ir,ir.moduleSpecifier),void 0);if(g.isImportRequiredByAugmentation(ir))return V.updateImportDeclaration(ir,void 0,ir.modifiers,void 0,ur(ir,ir.moduleSpecifier),void 0)}function Fe(ir){for(;e.length(Z);){var Or=Z.shift();if(!e.isLateVisibilityPaintedStatement(Or))return e.Debug.fail(\"Late replaced statement was found which is not handled by the declaration transformer!: \".concat(e.SyntaxKind?e.SyntaxKind[Or.kind]:Or.kind));var sr=B;B=Or.parent&&e.isSourceFile(Or.parent)&&!(e.isExternalModule(Or.parent)&&H);var ye=pr(Or);B=sr,ne.set(e.getOriginalNodeId(Or),ye)}return e.visitNodes(ir,or);function or(fe){if(e.isLateVisibilityPaintedStatement(fe)){var je=e.getOriginalNodeId(fe);if(ne.has(je)){var Ee=ne.get(je);return ne.delete(je),Ee&&((e.isArray(Ee)?e.some(Ee,e.needsScopeMarker):e.needsScopeMarker(Ee))&&(w=!0),e.isSourceFile(fe.parent)&&(e.isArray(Ee)?e.some(Ee,e.isExternalModuleIndicator):e.isExternalModuleIndicator(Ee))&&(I=!0)),Ee}}return fe}}function $e(ir){if(lt(ir)||e.isDeclaration(ir)&&(Ye(ir)||e.hasDynamicName(ir)&&!g.isLateBound(e.getParseTreeNode(ir)))||e.isFunctionLike(ir)&&g.isImplementationOfOverload(ir)||e.isSemicolonClassElement(ir))return;var Or;Ke(ir)&&(Or=O,O=ir);var sr=S,ye=e.canProduceDiagnostics(ir),or=F,fe=(ir.kind===181||ir.kind===194)&&ir.parent.kind!==258;if((e.isMethodDeclaration(ir)||e.isMethodSignature(ir))&&e.hasEffectiveModifier(ir,8))return ir.symbol&&ir.symbol.declarations&&ir.symbol.declarations[0]!==ir?void 0:dr(V.createPropertyDeclaration(void 0,cn(ir),ir.name,void 0,void 0,void 0));if(ye&&!F&&(S=e.createGetSymbolAccessibilityDiagnosticForNode(ir)),e.isTypeQueryNode(ir)&&Me(ir.exprName,O),fe&&(F=!0),ie(ir))switch(ir.kind){case 227:{(e.isEntityName(ir.expression)||e.isEntityNameExpression(ir.expression))&&Me(ir.expression,O);var je=e.visitEachChild(ir,$e,b);return dr(V.updateExpressionWithTypeArguments(je,je.expression,je.typeArguments))}case 177:{Me(ir.typeName,O);var je=e.visitEachChild(ir,$e,b);return dr(V.updateTypeReferenceNode(je,je.typeName,je.typeArguments))}case 174:return dr(V.updateConstructSignature(ir,kr(ir,ir.typeParameters),lr(ir,ir.parameters),Ae(ir,ir.type)));case 170:{var Ee=V.createConstructorDeclaration(void 0,cn(ir),lr(ir,ir.parameters,0),void 0);return dr(Ee)}case 168:{if(e.isPrivateIdentifier(ir.name))return dr(void 0);var We=V.createMethodDeclaration(void 0,cn(ir),void 0,ir.name,ir.questionToken,kr(ir,ir.typeParameters),lr(ir,ir.parameters),Ae(ir,ir.type),void 0);return dr(We)}case 171:{if(e.isPrivateIdentifier(ir.name))return dr(void 0);var $=In(ir,g.getAllAccessorDeclarations(ir));return dr(V.updateGetAccessorDeclaration(ir,void 0,cn(ir),ir.name,Ar(ir,e.hasEffectiveModifier(ir,8)),Ae(ir,$),void 0))}case 172:return e.isPrivateIdentifier(ir.name)?dr(void 0):dr(V.updateSetAccessorDeclaration(ir,void 0,cn(ir),ir.name,Ar(ir,e.hasEffectiveModifier(ir,8)),void 0));case 166:return e.isPrivateIdentifier(ir.name)?dr(void 0):dr(V.updatePropertyDeclaration(ir,void 0,cn(ir),ir.name,ir.questionToken,Ae(ir,ir.type),De(ir)));case 165:return e.isPrivateIdentifier(ir.name)?dr(void 0):dr(V.updatePropertySignature(ir,cn(ir),ir.name,ir.questionToken,Ae(ir,ir.type)));case 167:return e.isPrivateIdentifier(ir.name)?dr(void 0):dr(V.updateMethodSignature(ir,cn(ir),ir.name,ir.questionToken,kr(ir,ir.typeParameters),lr(ir,ir.parameters),Ae(ir,ir.type)));case 173:return dr(V.updateCallSignature(ir,kr(ir,ir.typeParameters),lr(ir,ir.parameters),Ae(ir,ir.type)));case 175:return dr(V.updateIndexSignature(ir,void 0,cn(ir),lr(ir,ir.parameters),e.visitNode(ir.type,$e)||V.createKeywordTypeNode(130)));case 253:return e.isBindingPattern(ir.name)?ze(ir.name):(fe=!0,F=!0,dr(V.updateVariableDeclaration(ir,ir.name,void 0,Ae(ir,ir.type),De(ir))));case 162:return Sr(ir)&&(ir.default||ir.constraint)?dr(V.updateTypeParameterDeclaration(ir,ir.name,void 0,void 0)):dr(e.visitEachChild(ir,$e,b));case 188:{var Ne=e.visitNode(ir.checkType,$e),me=e.visitNode(ir.extendsType,$e),Ze=O;O=ir.trueType;var Cr=e.visitNode(ir.trueType,$e);O=Ze;var fr=e.visitNode(ir.falseType,$e);return dr(V.updateConditionalTypeNode(ir,Ne,me,Cr,fr))}case 178:return dr(V.updateFunctionTypeNode(ir,e.visitNodes(ir.typeParameters,$e),lr(ir,ir.parameters),e.visitNode(ir.type,$e)));case 179:return dr(V.updateConstructorTypeNode(ir,cn(ir),e.visitNodes(ir.typeParameters,$e),lr(ir,ir.parameters),e.visitNode(ir.type,$e)));case 199:return e.isLiteralImportTypeNode(ir)?dr(V.updateImportTypeNode(ir,V.updateLiteralTypeNode(ir.argument,ur(ir,ir.argument.literal)),ir.qualifier,e.visitNodes(ir.typeArguments,$e,e.isTypeNode),ir.isTypeOf)):dr(ir);default:e.Debug.assertNever(ir,\"Attempted to process unhandled node kind: \".concat(e.SyntaxKind[ir.kind]))}return e.isTupleTypeNode(ir)&&e.getLineAndCharacterOfPosition(D,ir.pos).line===e.getLineAndCharacterOfPosition(D,ir.end).line&&e.setEmitFlags(ir,1),dr(e.visitEachChild(ir,$e,b));function dr(et){return et&&ye&&e.hasDynamicName(ir)&&Yr(ir),Ke(ir)&&(O=Or),ye&&!F&&(S=sr),fe&&(F=or),et===ir?et:et&&e.setOriginalNode(Hr(et,ir),ir)}}function Sr(ir){return ir.parent.kind===168&&e.hasEffectiveModifier(ir.parent,8)}function Pr(ir){if(!!z(ir)&&!lt(ir)){switch(ir.kind){case 271:return e.isSourceFile(ir.parent)&&(I=!0),x=!0,V.updateExportDeclaration(ir,void 0,ir.modifiers,ir.isTypeOnly,ir.exportClause,ur(ir,ir.moduleSpecifier),void 0);case 270:{if(e.isSourceFile(ir.parent)&&(I=!0),x=!0,ir.expression.kind===79)return ir;var Or=V.createUniqueName(\"_default\",16);S=function(){return{diagnosticMessage:e.Diagnostics.Default_export_of_the_module_has_or_is_using_private_name_0,errorNode:ir}},y=ir;var sr=V.createVariableDeclaration(Or,void 0,g.createTypeOfExpression(ir.expression,ir,a,T),void 0);y=void 0;var ye=V.createVariableStatement(B?[V.createModifier(135)]:[],V.createVariableDeclarationList([sr],2));return[ye,V.updateExportAssignment(ir,ir.decorators,ir.modifiers,Or)]}}var or=pr(ir);return ne.set(e.getOriginalNodeId(ir),or),ir}}function He(ir){if(e.isImportEqualsDeclaration(ir)||e.hasEffectiveModifier(ir,512)||!e.canHaveModifiers(ir))return ir;var Or=V.createModifiersFromModifierFlags(e.getEffectiveModifierFlags(ir)&27646);return V.updateModifiers(ir,Or)}function pr(ir){if(lt(ir))return;switch(ir.kind){case 264:return gr(ir);case 265:return de(ir)}if(e.isDeclaration(ir)&&Ye(ir)||e.isFunctionLike(ir)&&g.isImplementationOfOverload(ir))return;var Or;Ke(ir)&&(Or=O,O=ir);var sr=e.canProduceDiagnostics(ir),ye=S;sr&&(S=e.createGetSymbolAccessibilityDiagnosticForNode(ir));var or=B;switch(ir.kind){case 258:return en(V.updateTypeAliasDeclaration(ir,void 0,cn(ir),ir.name,e.visitNodes(ir.typeParameters,$e,e.isTypeParameterDeclaration),e.visitNode(ir.type,$e,e.isTypeNode)));case 257:return en(V.updateInterfaceDeclaration(ir,void 0,cn(ir),ir.name,kr(ir,ir.typeParameters),zn(ir.heritageClauses),e.visitNodes(ir.members,$e)));case 255:{var fe=en(V.updateFunctionDeclaration(ir,void 0,cn(ir),void 0,ir.name,kr(ir,ir.typeParameters),lr(ir,ir.parameters),Ae(ir,ir.type),void 0));if(fe&&g.isExpandoFunctionDeclaration(ir)&&Dr(ir)){var je=g.getPropertiesOfContainerFunction(ir),Ee=e.parseNodeFactory.createModuleDeclaration(void 0,void 0,fe.name||V.createIdentifier(\"_default\"),V.createModuleBlock([]),16);e.setParent(Ee,O),Ee.locals=e.createSymbolTable(je),Ee.symbol=je[0].parent;var We=[],$=e.mapDefined(je,function(St){if(!(!St.valueDeclaration||!e.isPropertyAccessExpression(St.valueDeclaration))){S=e.createGetSymbolAccessibilityDiagnosticForNode(St.valueDeclaration);var Ut=g.createTypeOfDeclaration(St.valueDeclaration,Ee,a,T);S=ye;var qt=e.unescapeLeadingUnderscores(St.escapedName),Mn=e.isStringANonContextualKeyword(qt),dn=Mn?V.getGeneratedNameForNode(St.valueDeclaration):V.createIdentifier(qt);Mn&&We.push([dn,qt]);var oa=V.createVariableDeclaration(dn,void 0,Ut,void 0);return V.createVariableStatement(Mn?void 0:[V.createToken(93)],V.createVariableDeclarationList([oa]))}});We.length?$.push(V.createExportDeclaration(void 0,void 0,!1,V.createNamedExports(e.map(We,function(St){var Ut=St[0],qt=St[1];return V.createExportSpecifier(!1,Ut,qt)})))):$=e.mapDefined($,function(St){return V.updateModifiers(St,0)});var Ne=V.createModuleDeclaration(void 0,cn(ir),ir.name,V.createModuleBlock($),16);if(!e.hasEffectiveModifier(fe,512))return[fe,Ne];var me=V.createModifiersFromModifierFlags(e.getEffectiveModifierFlags(fe)&-514|2),Ze=V.updateFunctionDeclaration(fe,void 0,me,void 0,fe.name,fe.typeParameters,fe.parameters,fe.type,void 0),Cr=V.updateModuleDeclaration(Ne,void 0,me,Ne.name,Ne.body),fr=V.createExportAssignment(void 0,void 0,!1,Ne.name);return e.isSourceFile(ir.parent)&&(I=!0),x=!0,[Ze,Cr,fr]}else return fe}case 260:{B=!1;var dr=ir.body;if(dr&&dr.kind===261){var et=w,yt=x;x=!1,w=!1;var Vr=e.visitNodes(dr.statements,Pr),tr=Fe(Vr);ir.flags&8388608&&(w=!1),!e.isGlobalScopeAugmentation(ir)&&!Rt(tr)&&!x&&(w?tr=V.createNodeArray(Gt(Gt([],tr,!0),[e.createEmptyExports(V)],!1)):tr=e.visitNodes(tr,He));var xr=V.updateModuleBlock(dr,tr);B=or,w=et,x=yt;var Nr=cn(ir);return en(V.updateModuleDeclaration(ir,void 0,Nr,e.isExternalModuleAugmentation(ir)?ur(ir,ir.name):ir.name,xr))}else{B=or;var Nr=cn(ir);B=!1,e.visitNode(dr,Pr);var zr=e.getOriginalNodeId(dr),xr=ne.get(zr);return ne.delete(zr),en(V.updateModuleDeclaration(ir,void 0,Nr,ir.name,xr))}}case 256:{N=ir.name,y=ir;var me=V.createNodeArray(cn(ir)),gt=kr(ir,ir.typeParameters),vt=e.getFirstConstructorWithBody(ir),ut=void 0;if(vt){var ht=S;ut=e.compact(e.flatMap(vt.parameters,function(Ut){if(!e.hasSyntacticModifier(Ut,16476)||lt(Ut))return;if(S=e.createGetSymbolAccessibilityDiagnosticForNode(Ut),Ut.name.kind===79)return Hr(V.createPropertyDeclaration(void 0,cn(Ut),Ut.name,Ut.questionToken,Ae(Ut,Ut.type),De(Ut)),Ut);return qt(Ut.name);function qt(Mn){for(var dn,oa=0,pt=Mn.elements;oa<pt.length;oa++){var _t=pt[oa];e.isOmittedExpression(_t)||(e.isBindingPattern(_t.name)&&(dn=e.concatenate(dn,qt(_t.name))),dn=dn||[],dn.push(V.createPropertyDeclaration(void 0,cn(Ut),_t.name,void 0,Ae(_t,void 0),void 0)))}return dn}})),S=ht}var xt=e.some(ir.members,function(Ut){return!!Ut.name&&e.isPrivateIdentifier(Ut.name)}),wt=xt?[V.createPropertyDeclaration(void 0,void 0,V.createPrivateIdentifier(\"#private\"),void 0,void 0,void 0)]:void 0,Qt=e.concatenate(e.concatenate(wt,ut),e.visitNodes(ir.members,$e)),mt=V.createNodeArray(Qt),rn=e.getEffectiveBaseTypeNode(ir);if(rn&&!e.isEntityNameExpression(rn.expression)&&rn.expression.kind!==104){var sa=ir.name?e.unescapeLeadingUnderscores(ir.name.escapedText):\"default\",ba=V.createUniqueName(\"\".concat(sa,\"_base\"),16);S=function(){return{diagnosticMessage:e.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,errorNode:rn,typeName:ir.name}};var Jn=V.createVariableDeclaration(ba,void 0,g.createTypeOfExpression(rn.expression,ir,a,T),void 0),na=V.createVariableStatement(B?[V.createModifier(135)]:[],V.createVariableDeclarationList([Jn],2)),Wn=V.createNodeArray(e.map(ir.heritageClauses,function(Ut){if(Ut.token===94){var qt=S;S=e.createGetSymbolAccessibilityDiagnosticForNode(Ut.types[0]);var Mn=V.updateHeritageClause(Ut,e.map(Ut.types,function(dn){return V.updateExpressionWithTypeArguments(dn,ba,e.visitNodes(dn.typeArguments,$e))}));return S=qt,Mn}return V.updateHeritageClause(Ut,e.visitNodes(V.createNodeArray(e.filter(Ut.types,function(dn){return e.isEntityNameExpression(dn.expression)||dn.expression.kind===104})),$e))}));return[na,en(V.updateClassDeclaration(ir,void 0,me,ir.name,gt,Wn,mt))]}else{var Wn=zn(ir.heritageClauses);return en(V.updateClassDeclaration(ir,void 0,me,ir.name,gt,Wn,mt))}}case 236:return en(Jr(ir));case 259:return en(V.updateEnumDeclaration(ir,void 0,V.createNodeArray(cn(ir)),ir.name,V.createNodeArray(e.mapDefined(ir.members,function(St){if(!lt(St)){var Ut=g.getConstantValue(St);return Hr(V.updateEnumMember(St,St.name,Ut!==void 0?typeof Ut==\"string\"?V.createStringLiteral(Ut):V.createNumericLiteral(Ut):void 0),St)}}))))}return e.Debug.assertNever(ir,\"Unhandled top-level node in declaration emit: \".concat(e.SyntaxKind[ir.kind]));function en(St){return Ke(ir)&&(O=Or),sr&&(S=ye),ir.kind===260&&(B=or),St===ir?St:(y=void 0,N=void 0,St&&e.setOriginalNode(Hr(St,ir),ir))}}function Jr(ir){if(!!e.forEach(ir.declarationList.declarations,br)){var Or=e.visitNodes(ir.declarationList.declarations,$e);if(!!e.length(Or))return V.updateVariableStatement(ir,V.createNodeArray(cn(ir)),V.updateVariableDeclarationList(ir.declarationList,Or))}}function ze(ir){return e.flatten(e.mapDefined(ir.elements,function(Or){return Lr(Or)}))}function Lr(ir){if(ir.kind!==226&&ir.name)return br(ir)?e.isBindingPattern(ir.name)?ze(ir.name):V.createVariableDeclaration(ir.name,void 0,Ae(ir,void 0),void 0):void 0}function Yr(ir){var Or;F||(Or=S,S=e.createGetSymbolAccessibilityDiagnosticForNodeName(ir)),N=ir.name,e.Debug.assert(g.isLateBound(e.getParseTreeNode(ir)));var sr=ir,ye=sr.name.expression;Me(ye,O),F||(S=Or),N=void 0}function lt(ir){return!!ue&&!!ir&&p(ir,D)}function tt(ir){return e.isExportAssignment(ir)||e.isExportDeclaration(ir)}function Rt(ir){return e.some(ir,tt)}function cn(ir){var Or=e.getEffectiveModifierFlags(ir),sr=bn(ir);return Or===sr?ir.modifiers:V.createModifiersFromModifierFlags(sr)}function bn(ir){var Or=11003,sr=B&&!k(ir)?2:0,ye=ir.parent.kind===303;return(!ye||H&&ye&&e.isExternalModule(ir.parent))&&(Or^=2,sr=0),h(ir,Or,sr)}function In(ir,Or){var sr=v(ir);return!sr&&ir!==Or.firstAccessor&&(sr=v(Or.firstAccessor),S=e.createGetSymbolAccessibilityDiagnosticForNode(Or.firstAccessor)),!sr&&Or.secondAccessor&&ir!==Or.secondAccessor&&(sr=v(Or.secondAccessor),S=e.createGetSymbolAccessibilityDiagnosticForNode(Or.secondAccessor)),sr}function zn(ir){return V.createNodeArray(e.filter(e.map(ir,function(Or){return V.updateHeritageClause(Or,e.visitNodes(V.createNodeArray(e.filter(Or.types,function(sr){return e.isEntityNameExpression(sr.expression)||Or.token===94&&sr.expression.kind===104})),$e))}),function(Or){return Or.types&&!!Or.types.length}))}}e.transformDeclarations=d;function k(b){return b.kind===257}function J(b,M,S){return e.factory.createModifiersFromModifierFlags(h(b,M,S))}function h(b,M,S){M===void 0&&(M=27643),S===void 0&&(S=0);var B=e.getEffectiveModifierFlags(b)&M|S;return B&512&&!(B&1)&&(B^=1),B&512&&B&2&&(B^=2),B}function v(b){if(b)return b.kind===171?b.type:b.parameters.length>0?b.parameters[0].type:void 0}function A(b){switch(b.kind){case 166:case 165:return!e.hasEffectiveModifier(b,8);case 163:case 253:return!0}return!1}function z(b){switch(b.kind){case 255:case 260:case 264:case 257:case 256:case 258:case 259:case 236:case 265:case 271:case 270:return!0}return!1}function ie(b){switch(b.kind){case 174:case 170:case 168:case 171:case 172:case 166:case 165:case 167:case 173:case 175:case 253:case 162:case 227:case 177:case 188:case 178:case 179:case 199:return!0}return!1}}(jr||(jr={})),function(e){function n(M){switch(M){case e.ModuleKind.ESNext:case e.ModuleKind.ES2022:case e.ModuleKind.ES2020:case e.ModuleKind.ES2015:return e.transformECMAScriptModule;case e.ModuleKind.System:return e.transformSystemModule;case e.ModuleKind.Node12:case e.ModuleKind.NodeNext:return e.transformNodeModule;default:return e.transformModule}}var f;(function(M){M[M.Uninitialized=0]=\"Uninitialized\",M[M.Initialized=1]=\"Initialized\",M[M.Completed=2]=\"Completed\",M[M.Disposed=3]=\"Disposed\"})(f||(f={}));var p;(function(M){M[M.Substitution=1]=\"Substitution\",M[M.EmitNotifications=2]=\"EmitNotifications\"})(p||(p={})),e.noTransformers={scriptTransformers:e.emptyArray,declarationTransformers:e.emptyArray};function a(M,S,B){return{scriptTransformers:d(M,S,B),declarationTransformers:k(S)}}e.getTransformers=a;function d(M,S,B){if(B)return e.emptyArray;var H=e.getEmitScriptTarget(M),I=e.getEmitModuleKind(M),w=[];return e.addRange(w,S&&e.map(S.before,v)),w.push(e.transformTypeScript),w.push(e.transformClassFields),e.getJSXTransformEnabled(M)&&w.push(e.transformJsx),H<99&&w.push(e.transformESNext),H<8&&w.push(e.transformES2021),H<7&&w.push(e.transformES2020),H<6&&w.push(e.transformES2019),H<5&&w.push(e.transformES2018),H<4&&w.push(e.transformES2017),H<3&&w.push(e.transformES2016),H<2&&(w.push(e.transformES2015),w.push(e.transformGenerators)),w.push(n(I)),H<1&&w.push(e.transformES5),e.addRange(w,S&&e.map(S.after,v)),w}function k(M){var S=[];return S.push(e.transformDeclarations),e.addRange(S,M&&e.map(M.afterDeclarations,A)),S}function J(M){return function(S){return e.isBundle(S)?M.transformBundle(S):M.transformSourceFile(S)}}function h(M,S){return function(B){var H=M(B);return typeof H==\"function\"?S(B,H):J(H)}}function v(M){return h(M,e.chainBundle)}function A(M){return h(M,function(S,B){return B})}function z(M,S){return S}e.noEmitSubstitution=z;function ie(M,S,B){B(M,S)}e.noEmitNotification=ie;function b(M,S,B,H,I,w,x){for(var O=new Array(353),q,Z,ne,F=0,Q=[],V=[],re=[],T=[],N=0,y=!1,D=[],C=0,m,u,g=z,P=ie,te=0,ue=[],X={factory:B,getCompilerOptions:function(){return H},getEmitResolver:function(){return M},getEmitHost:function(){return S},getEmitHelperFactory:e.memoize(function(){return e.createEmitHelperFactory(X)}),startLexicalEnvironment:qe,suspendLexicalEnvironment:Xe,resumeLexicalEnvironment:De,endLexicalEnvironment:Ae,setLexicalEnvironmentFlags:Ye,getLexicalEnvironmentFlags:Dr,hoistVariableDeclaration:Ve,hoistFunctionDeclaration:_e,addInitializationStatement:Le,startBlockScope:br,endBlockScope:lr,addBlockScopedVariable:Ar,requestEmitHelper:kr,readEmitHelpers:Ke,enableSubstitution:ke,enableEmitNotification:Ge,isSubstitutionEnabled:Pe,isEmitNotificationEnabled:he,get onSubstituteNode(){return g},set onSubstituteNode(Hr){e.Debug.assert(te<1,\"Cannot modify transformation hooks after initialization has completed.\"),e.Debug.assert(Hr!==void 0,\"Value must not be 'undefined'\"),g=Hr},get onEmitNode(){return P},set onEmitNode(Hr){e.Debug.assert(te<1,\"Cannot modify transformation hooks after initialization has completed.\"),e.Debug.assert(Hr!==void 0,\"Value must not be 'undefined'\"),P=Hr},addDiagnostic:function(Hr){ue.push(Hr)}},j=0,Se=I;j<Se.length;j++){var Ce=Se[j];e.disposeEmitNodes(e.getSourceFileOfNode(e.getParseTreeNode(Ce)))}e.performance.mark(\"beforeTransform\");var R=w.map(function(Hr){return Hr(X)}),Y=function(Hr){for(var ur=0,gr=R;ur<gr.length;ur++){var de=gr[ur];Hr=de(Hr)}return Hr};te=1;for(var U=[],K=0,Te=I;K<Te.length;K++){var Ce=Te[K];e.tracing===null||e.tracing===void 0||e.tracing.push(\"emit\",\"transformNodes\",Ce.kind===303?{path:Ce.path}:{kind:Ce.kind,pos:Ce.pos,end:Ce.end}),U.push((x?Y:ge)(Ce)),e.tracing===null||e.tracing===void 0||e.tracing.pop()}return te=2,e.performance.mark(\"afterTransform\"),e.performance.measure(\"transformTime\",\"beforeTransform\",\"afterTransform\"),{transformed:U,substituteNode:Ie,emitNodeWithNotification:ve,isEmitNotificationEnabled:he,dispose:Me,diagnostics:ue};function ge(Hr){return Hr&&(!e.isSourceFile(Hr)||!Hr.isDeclarationFile)?Y(Hr):Hr}function ke(Hr){e.Debug.assert(te<2,\"Cannot modify the transformation context after transformation has completed.\"),O[Hr]|=1}function Pe(Hr){return(O[Hr.kind]&1)!==0&&(e.getEmitFlags(Hr)&4)===0}function Ie(Hr,ur){return e.Debug.assert(te<3,\"Cannot substitute a node after the result is disposed.\"),ur&&Pe(ur)&&g(Hr,ur)||ur}function Ge(Hr){e.Debug.assert(te<2,\"Cannot modify the transformation context after transformation has completed.\"),O[Hr]|=2}function he(Hr){return(O[Hr.kind]&2)!==0||(e.getEmitFlags(Hr)&2)!==0}function ve(Hr,ur,gr){e.Debug.assert(te<3,\"Cannot invoke TransformationResult callbacks after the result is disposed.\"),ur&&(he(ur)?P(Hr,ur,gr):gr(Hr,ur))}function Ve(Hr){e.Debug.assert(te>0,\"Cannot modify the lexical environment during initialization.\"),e.Debug.assert(te<2,\"Cannot modify the lexical environment after transformation has completed.\");var ur=e.setEmitFlags(B.createVariableDeclaration(Hr),64);q?q.push(ur):q=[ur],F&1&&(F|=2)}function _e(Hr){e.Debug.assert(te>0,\"Cannot modify the lexical environment during initialization.\"),e.Debug.assert(te<2,\"Cannot modify the lexical environment after transformation has completed.\"),e.setEmitFlags(Hr,1048576),Z?Z.push(Hr):Z=[Hr]}function Le(Hr){e.Debug.assert(te>0,\"Cannot modify the lexical environment during initialization.\"),e.Debug.assert(te<2,\"Cannot modify the lexical environment after transformation has completed.\"),e.setEmitFlags(Hr,1048576),ne?ne.push(Hr):ne=[Hr]}function qe(){e.Debug.assert(te>0,\"Cannot modify the lexical environment during initialization.\"),e.Debug.assert(te<2,\"Cannot modify the lexical environment after transformation has completed.\"),e.Debug.assert(!y,\"Lexical environment is suspended.\"),Q[N]=q,V[N]=Z,re[N]=ne,T[N]=F,N++,q=void 0,Z=void 0,ne=void 0,F=0}function Xe(){e.Debug.assert(te>0,\"Cannot modify the lexical environment during initialization.\"),e.Debug.assert(te<2,\"Cannot modify the lexical environment after transformation has completed.\"),e.Debug.assert(!y,\"Lexical environment is already suspended.\"),y=!0}function De(){e.Debug.assert(te>0,\"Cannot modify the lexical environment during initialization.\"),e.Debug.assert(te<2,\"Cannot modify the lexical environment after transformation has completed.\"),e.Debug.assert(y,\"Lexical environment is not suspended.\"),y=!1}function Ae(){e.Debug.assert(te>0,\"Cannot modify the lexical environment during initialization.\"),e.Debug.assert(te<2,\"Cannot modify the lexical environment after transformation has completed.\"),e.Debug.assert(!y,\"Lexical environment is suspended.\");var Hr;if(q||Z||ne){if(Z&&(Hr=Gt([],Z,!0)),q){var ur=B.createVariableStatement(void 0,B.createVariableDeclarationList(q));e.setEmitFlags(ur,1048576),Hr?Hr.push(ur):Hr=[ur]}ne&&(Hr?Hr=Gt(Gt([],Hr,!0),ne,!0):Hr=Gt([],ne,!0))}return N--,q=Q[N],Z=V[N],ne=re[N],F=T[N],N===0&&(Q=[],V=[],re=[],T=[]),Hr}function Ye(Hr,ur){F=ur?F|Hr:F&~Hr}function Dr(){return F}function br(){e.Debug.assert(te>0,\"Cannot start a block scope during initialization.\"),e.Debug.assert(te<2,\"Cannot start a block scope after transformation has completed.\"),D[C]=m,C++,m=void 0}function lr(){e.Debug.assert(te>0,\"Cannot end a block scope during initialization.\"),e.Debug.assert(te<2,\"Cannot end a block scope after transformation has completed.\");var Hr=e.some(m)?[B.createVariableStatement(void 0,B.createVariableDeclarationList(m.map(function(ur){return B.createVariableDeclaration(ur)}),1))]:void 0;return C--,m=D[C],C===0&&(D=[]),Hr}function Ar(Hr){e.Debug.assert(C>0,\"Cannot add a block scoped variable outside of an iteration body.\"),(m||(m=[])).push(Hr)}function kr(Hr){if(e.Debug.assert(te>0,\"Cannot modify the transformation context during initialization.\"),e.Debug.assert(te<2,\"Cannot modify the transformation context after transformation has completed.\"),e.Debug.assert(!Hr.scoped,\"Cannot request a scoped emit helper.\"),Hr.dependencies)for(var ur=0,gr=Hr.dependencies;ur<gr.length;ur++){var de=gr[ur];kr(de)}u=e.append(u,Hr)}function Ke(){e.Debug.assert(te>0,\"Cannot modify the transformation context during initialization.\"),e.Debug.assert(te<2,\"Cannot modify the transformation context after transformation has completed.\");var Hr=u;return u=void 0,Hr}function Me(){if(te<3){for(var Hr=0,ur=I;Hr<ur.length;Hr++){var gr=ur[Hr];e.disposeEmitNodes(e.getSourceFileOfNode(e.getParseTreeNode(gr)))}q=void 0,Q=void 0,Z=void 0,V=void 0,g=void 0,P=void 0,u=void 0,te=3}}}e.transformNodes=b,e.nullTransformationContext={factory:e.factory,getCompilerOptions:function(){return{}},getEmitResolver:e.notImplemented,getEmitHost:e.notImplemented,getEmitHelperFactory:e.notImplemented,startLexicalEnvironment:e.noop,resumeLexicalEnvironment:e.noop,suspendLexicalEnvironment:e.noop,endLexicalEnvironment:e.returnUndefined,setLexicalEnvironmentFlags:e.noop,getLexicalEnvironmentFlags:function(){return 0},hoistVariableDeclaration:e.noop,hoistFunctionDeclaration:e.noop,addInitializationStatement:e.noop,startBlockScope:e.noop,endBlockScope:e.returnUndefined,addBlockScopedVariable:e.noop,requestEmitHelper:e.noop,readEmitHelpers:e.notImplemented,enableSubstitution:e.noop,enableEmitNotification:e.noop,isSubstitutionEnabled:e.notImplemented,isEmitNotificationEnabled:e.notImplemented,onSubstituteNode:z,onEmitNode:ie,addDiagnostic:e.noop}}(jr||(jr={})),function(e){var n=V();function f(y){return e.fileExtensionIs(y,\".tsbuildinfo\")}e.isBuildInfoFile=f;function p(y,D,C,m,u,g){m===void 0&&(m=!1);var P=e.isArray(C)?C:e.getSourceFilesToEmit(y,C,m),te=y.getCompilerOptions();if(e.outFile(te)){var ue=y.getPrependNodes();if(P.length||ue.length){var X=e.factory.createBundle(P,ue),j=D(k(X,y,m),X);if(j)return j}}else{if(!u)for(var Se=0,Ce=P;Se<Ce.length;Se++){var R=Ce[Se],j=D(k(R,y,m),R);if(j)return j}if(g){var Y=a(te);if(Y)return D({buildInfoPath:Y},void 0)}}}e.forEachEmittedFile=p;function a(y){var D=y.configFilePath;if(!!e.isIncrementalCompilation(y)){if(y.tsBuildInfoFile)return y.tsBuildInfoFile;var C=e.outFile(y),m;if(C)m=e.removeFileExtension(C);else{if(!D)return;var u=e.removeFileExtension(D);m=y.outDir?y.rootDir?e.resolvePath(y.outDir,e.getRelativePathFromDirectory(y.rootDir,u,!0)):e.combinePaths(y.outDir,e.getBaseFileName(u)):u}return m+\".tsbuildinfo\"}}e.getTsBuildInfoEmitOutputFilePath=a;function d(y,D){var C=e.outFile(y),m=y.emitDeclarationOnly?void 0:C,u=m&&J(m,y),g=D||e.getEmitDeclarations(y)?e.removeFileExtension(C)+\".d.ts\":void 0,P=g&&e.getAreDeclarationMapsEnabled(y)?g+\".map\":void 0,te=a(y);return{jsFilePath:m,sourceMapFilePath:u,declarationFilePath:g,declarationMapPath:P,buildInfoPath:te}}e.getOutputPathsForBundle=d;function k(y,D,C){var m=D.getCompilerOptions();if(y.kind===304)return d(m,C);var u=e.getOwnEmitOutputFilePath(y.fileName,D,h(y.fileName,m)),g=e.isJsonSourceFile(y),P=g&&e.comparePaths(y.fileName,u,D.getCurrentDirectory(),!D.useCaseSensitiveFileNames())===0,te=m.emitDeclarationOnly||P?void 0:u,ue=!te||e.isJsonSourceFile(y)?void 0:J(te,m),X=C||e.getEmitDeclarations(m)&&!g?e.getDeclarationEmitOutputFilePath(y.fileName,D):void 0,j=X&&e.getAreDeclarationMapsEnabled(m)?X+\".map\":void 0;return{jsFilePath:te,sourceMapFilePath:ue,declarationFilePath:X,declarationMapPath:j,buildInfoPath:void 0}}e.getOutputPathsFor=k;function J(y,D){return D.sourceMap&&!D.inlineSourceMap?y+\".map\":void 0}function h(y,D){return e.fileExtensionIs(y,\".json\")?\".json\":D.jsx===1&&e.fileExtensionIsOneOf(y,[\".jsx\",\".tsx\"])?\".jsx\":e.fileExtensionIsOneOf(y,[\".mts\",\".mjs\"])?\".mjs\":e.fileExtensionIsOneOf(y,[\".cts\",\".cjs\"])?\".cjs\":\".js\"}e.getOutputExtension=h;function v(y,D,C,m,u){return m?e.resolvePath(m,e.getRelativePathFromDirectory(u?u():B(D,C),y,C)):y}function A(y,D,C,m){return e.changeExtension(v(y,D,C,D.options.declarationDir||D.options.outDir,m),e.getDeclarationEmitExtensionForPath(y))}e.getOutputDeclarationFileName=A;function z(y,D,C,m){if(!D.options.emitDeclarationOnly){var u=e.fileExtensionIs(y,\".json\"),g=e.changeExtension(v(y,D,C,D.options.outDir,m),h(y,D.options));return!u||e.comparePaths(y,g,e.Debug.checkDefined(D.options.configFilePath),C)!==0?g:void 0}}function ie(){var y;return{addOutput:D,getOutputs:C};function D(m){m&&(y||(y=[])).push(m)}function C(){return y||e.emptyArray}}function b(y,D){var C=d(y.options,!1),m=C.jsFilePath,u=C.sourceMapFilePath,g=C.declarationFilePath,P=C.declarationMapPath,te=C.buildInfoPath;D(m),D(u),D(g),D(P),D(te)}function M(y,D,C,m,u){if(!e.fileExtensionIs(D,\".d.ts\")){var g=z(D,y,C,u);if(m(g),!e.fileExtensionIs(D,\".json\")&&(g&&y.options.sourceMap&&m(\"\".concat(g,\".map\")),e.getEmitDeclarations(y.options))){var P=A(D,y,C,u);m(P),y.options.declarationMap&&m(\"\".concat(P,\".map\"))}}}function S(y,D,C,m,u){var g;return y.rootDir?(g=e.getNormalizedAbsolutePath(y.rootDir,C),u==null||u(y.rootDir)):y.composite&&y.configFilePath?(g=e.getDirectoryPath(e.normalizeSlashes(y.configFilePath)),u==null||u(g)):g=e.computeCommonSourceDirectoryOfFilenames(D(),C,m),g&&g[g.length-1]!==e.directorySeparator&&(g+=e.directorySeparator),g}e.getCommonSourceDirectory=S;function B(y,D){var C=y.options,m=y.fileNames;return S(C,function(){return e.filter(m,function(u){return!(C.noEmitForJsFiles&&e.fileExtensionIsOneOf(u,e.supportedJSExtensionsFlat))&&!e.fileExtensionIs(u,\".d.ts\")})},e.getDirectoryPath(e.normalizeSlashes(e.Debug.checkDefined(C.configFilePath))),e.createGetCanonicalFileName(!D))}e.getCommonSourceDirectoryOfConfig=B;function H(y,D){var C=ie(),m=C.addOutput,u=C.getOutputs;if(e.outFile(y.options))b(y,m);else{for(var g=e.memoize(function(){return B(y,D)}),P=0,te=y.fileNames;P<te.length;P++){var ue=te[P];M(y,ue,D,m,g)}m(a(y.options))}return u()}e.getAllProjectOutputs=H;function I(y,D,C){D=e.normalizePath(D),e.Debug.assert(e.contains(y.fileNames,D),\"Expected fileName to be present in command line\");var m=ie(),u=m.addOutput,g=m.getOutputs;return e.outFile(y.options)?b(y,u):M(y,D,C,u),g()}e.getOutputFileNames=I;function w(y,D){if(e.outFile(y.options)){var C=d(y.options,!1).jsFilePath;return e.Debug.checkDefined(C,\"project \".concat(y.options.configFilePath,\" expected to have at least one output\"))}for(var m=e.memoize(function(){return B(y,D)}),u=0,g=y.fileNames;u<g.length;u++){var P=g[u];if(!e.fileExtensionIs(P,\".d.ts\")){var C=z(P,y,D,m);if(C)return C;if(!e.fileExtensionIs(P,\".json\")&&e.getEmitDeclarations(y.options))return A(P,y,D,m)}}var te=a(y.options);return te||e.Debug.fail(\"project \".concat(y.options.configFilePath,\" expected to have at least one output\"))}e.getFirstProjectOutput=w;function x(y,D,C,m,u,g,P){var te=m.scriptTransformers,ue=m.declarationTransformers,X=D.getCompilerOptions(),j=X.sourceMap||X.inlineSourceMap||e.getAreDeclarationMapsEnabled(X)?[]:void 0,Se=X.listEmittedFiles?[]:void 0,Ce=e.createDiagnosticCollection(),R=e.getNewLineCharacter(X,function(){return D.getNewLine()}),Y=e.createTextWriter(R),U=e.performance.createTimer(\"printTime\",\"beforePrint\",\"afterPrint\"),K=U.enter,Te=U.exit,ge,ke=!1,Pe;return K(),p(D,Ie,e.getSourceFilesToEmit(D,C,P),P,g,!C),Te(),{emitSkipped:ke,diagnostics:Ce.getDiagnostics(),emittedFiles:Se,sourceMaps:j,exportedModulesFromDeclarationEmit:Pe};function Ie(Ae,Ye){var Dr=Ae.jsFilePath,br=Ae.sourceMapFilePath,lr=Ae.declarationFilePath,Ar=Ae.declarationMapPath,kr=Ae.buildInfoPath,Ke;kr&&Ye&&e.isBundle(Ye)&&(Ke=e.getDirectoryPath(e.getNormalizedAbsolutePath(kr,D.getCurrentDirectory())),ge={commonSourceDirectory:Me(D.getCommonSourceDirectory()),sourceFiles:Ye.sourceFiles.map(function(Hr){return Me(e.getNormalizedAbsolutePath(Hr.fileName,D.getCurrentDirectory()))})}),e.tracing===null||e.tracing===void 0||e.tracing.push(\"emit\",\"emitJsFileOrBundle\",{jsFilePath:Dr}),he(Ye,Dr,br,Me),e.tracing===null||e.tracing===void 0||e.tracing.pop(),e.tracing===null||e.tracing===void 0||e.tracing.push(\"emit\",\"emitDeclarationFileOrBundle\",{declarationFilePath:lr}),ve(Ye,lr,Ar,Me),e.tracing===null||e.tracing===void 0||e.tracing.pop(),e.tracing===null||e.tracing===void 0||e.tracing.push(\"emit\",\"emitBuildInfo\",{buildInfoPath:kr}),Ge(ge,kr),e.tracing===null||e.tracing===void 0||e.tracing.pop(),!ke&&Se&&(u||(Dr&&Se.push(Dr),br&&Se.push(br),kr&&Se.push(kr)),lr&&Se.push(lr),Ar&&Se.push(Ar));function Me(Hr){return e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(Ke,Hr,D.getCanonicalFileName))}}function Ge(Ae,Ye){if(!(!Ye||C||ke)){var Dr=D.getProgramBuildInfo();if(D.isEmitBlocked(Ye)){ke=!0;return}var br=e.version;e.writeFile(D,Ce,Ye,O({bundle:Ae,program:Dr,version:br}),!1)}}function he(Ae,Ye,Dr,br){if(!(!Ae||u||!Ye)){if(Ye&&D.isEmitBlocked(Ye)||X.noEmit){ke=!0;return}var lr=e.transformNodes(y,D,e.factory,X,[Ae],te,!1),Ar={removeComments:X.removeComments,newLine:X.newLine,noEmitHelpers:X.noEmitHelpers,module:X.module,target:X.target,sourceMap:X.sourceMap,inlineSourceMap:X.inlineSourceMap,inlineSources:X.inlineSources,extendedDiagnostics:X.extendedDiagnostics,writeBundleFileInfo:!!ge,relativeToBuildInfo:br},kr=Q(Ar,{hasGlobalName:y.hasGlobalName,onEmitNode:lr.emitNodeWithNotification,isEmitNotificationEnabled:lr.isEmitNotificationEnabled,substituteNode:lr.substituteNode});e.Debug.assert(lr.transformed.length===1,\"Should only see one output from the transform\"),_e(Ye,Dr,lr.transformed[0],kr,X),lr.dispose(),ge&&(ge.js=kr.bundleFileInfo)}}function ve(Ae,Ye,Dr,br){if(!!Ae){if(!Ye){(u||X.emitDeclarationOnly)&&(ke=!0);return}var lr=e.isSourceFile(Ae)?[Ae]:Ae.sourceFiles,Ar=P?lr:e.filter(lr,e.isSourceFileNotJson),kr=e.outFile(X)?[e.factory.createBundle(Ar,e.isSourceFile(Ae)?void 0:Ae.prepends)]:Ar;u&&!e.getEmitDeclarations(X)&&Ar.forEach(Ve);var Ke=e.transformNodes(y,D,e.factory,X,kr,ue,!1);if(e.length(Ke.diagnostics))for(var Me=0,Hr=Ke.diagnostics;Me<Hr.length;Me++){var ur=Hr[Me];Ce.add(ur)}var gr={removeComments:X.removeComments,newLine:X.newLine,noEmitHelpers:!0,module:X.module,target:X.target,sourceMap:X.sourceMap,inlineSourceMap:X.inlineSourceMap,extendedDiagnostics:X.extendedDiagnostics,onlyPrintJsDocStyle:!0,writeBundleFileInfo:!!ge,recordInternalSection:!!ge,relativeToBuildInfo:br},de=Q(gr,{hasGlobalName:y.hasGlobalName,onEmitNode:Ke.emitNodeWithNotification,isEmitNotificationEnabled:Ke.isEmitNotificationEnabled,substituteNode:Ke.substituteNode}),Fe=!!Ke.diagnostics&&!!Ke.diagnostics.length||!!D.isEmitBlocked(Ye)||!!X.noEmit;if(ke=ke||Fe,(!Fe||P)&&(e.Debug.assert(Ke.transformed.length===1,\"Should only see one output from the decl transform\"),_e(Ye,Dr,Ke.transformed[0],de,{sourceMap:!P&&X.declarationMap,sourceRoot:X.sourceRoot,mapRoot:X.mapRoot,extendedDiagnostics:X.extendedDiagnostics}),P&&Ke.transformed[0].kind===303)){var $e=Ke.transformed[0];Pe=$e.exportedModulesFromDeclarationEmit}Ke.dispose(),ge&&(ge.dts=de.bundleFileInfo)}}function Ve(Ae){if(e.isExportAssignment(Ae)){Ae.expression.kind===79&&y.collectLinkedAliases(Ae.expression,!0);return}else if(e.isExportSpecifier(Ae)){y.collectLinkedAliases(Ae.propertyName||Ae.name,!0);return}e.forEachChild(Ae,Ve)}function _e(Ae,Ye,Dr,br,lr){var Ar=Dr.kind===304?Dr:void 0,kr=Dr.kind===303?Dr:void 0,Ke=Ar?Ar.sourceFiles:[kr],Me;if(Le(lr,Dr)&&(Me=e.createSourceMapGenerator(D,e.getBaseFileName(e.normalizeSlashes(Ae)),qe(lr),Xe(lr,Ae,kr),lr)),Ar?br.writeBundle(Ar,Y,Me):br.writeFile(kr,Y,Me),Me){j&&j.push({inputSourceFileNames:Me.getSources(),sourceMap:Me.toJSON()});var Hr=De(lr,Me,Ae,Ye,kr);if(Hr&&(Y.isAtStartOfLine()||Y.rawWrite(R),Y.writeComment(\"//# \".concat(\"sourceMappingURL\",\"=\").concat(Hr))),Ye){var ur=Me.toString();e.writeFile(D,Ce,Ye,ur,!1,Ke)}}else Y.writeLine();e.writeFile(D,Ce,Ae,Y.getText(),!!X.emitBOM,Ke),Y.clear()}function Le(Ae,Ye){return(Ae.sourceMap||Ae.inlineSourceMap)&&(Ye.kind!==303||!e.fileExtensionIs(Ye.fileName,\".json\"))}function qe(Ae){var Ye=e.normalizeSlashes(Ae.sourceRoot||\"\");return Ye&&e.ensureTrailingDirectorySeparator(Ye)}function Xe(Ae,Ye,Dr){if(Ae.sourceRoot)return D.getCommonSourceDirectory();if(Ae.mapRoot){var br=e.normalizeSlashes(Ae.mapRoot);return Dr&&(br=e.getDirectoryPath(e.getSourceFilePathInNewDir(Dr.fileName,D,br))),e.getRootLength(br)===0&&(br=e.combinePaths(D.getCommonSourceDirectory(),br)),br}return e.getDirectoryPath(e.normalizePath(Ye))}function De(Ae,Ye,Dr,br,lr){if(Ae.inlineSourceMap){var Ar=Ye.toString(),kr=e.base64encode(e.sys,Ar);return\"data:application/json;base64,\".concat(kr)}var Ke=e.getBaseFileName(e.normalizeSlashes(e.Debug.checkDefined(br)));if(Ae.mapRoot){var Me=e.normalizeSlashes(Ae.mapRoot);return lr&&(Me=e.getDirectoryPath(e.getSourceFilePathInNewDir(lr.fileName,D,Me))),e.getRootLength(Me)===0?(Me=e.combinePaths(D.getCommonSourceDirectory(),Me),encodeURI(e.getRelativePathToDirectoryOrUrl(e.getDirectoryPath(e.normalizePath(Dr)),e.combinePaths(Me,Ke),D.getCurrentDirectory(),D.getCanonicalFileName,!0))):encodeURI(e.combinePaths(Me,Ke))}return encodeURI(Ke)}}e.emitFiles=x;function O(y){return JSON.stringify(y)}e.getBuildInfoText=O;function q(y){return JSON.parse(y)}e.getBuildInfo=q,e.notImplementedResolver={hasGlobalName:e.notImplemented,getReferencedExportContainer:e.notImplemented,getReferencedImportDeclaration:e.notImplemented,getReferencedDeclarationWithCollidingName:e.notImplemented,isDeclarationWithCollidingName:e.notImplemented,isValueAliasDeclaration:e.notImplemented,isReferencedAliasDeclaration:e.notImplemented,isTopLevelValueImportEqualsWithEntityName:e.notImplemented,getNodeCheckFlags:e.notImplemented,isDeclarationVisible:e.notImplemented,isLateBound:function(y){return!1},collectLinkedAliases:e.notImplemented,isImplementationOfOverload:e.notImplemented,isRequiredInitializedParameter:e.notImplemented,isOptionalUninitializedParameterProperty:e.notImplemented,isExpandoFunctionDeclaration:e.notImplemented,getPropertiesOfContainerFunction:e.notImplemented,createTypeOfDeclaration:e.notImplemented,createReturnTypeOfSignatureDeclaration:e.notImplemented,createTypeOfExpression:e.notImplemented,createLiteralConstValue:e.notImplemented,isSymbolAccessible:e.notImplemented,isEntityNameVisible:e.notImplemented,getConstantValue:e.notImplemented,getReferencedValueDeclaration:e.notImplemented,getTypeReferenceSerializationKind:e.notImplemented,isOptionalParameter:e.notImplemented,moduleExportsSomeValue:e.notImplemented,isArgumentsLocalBinding:e.notImplemented,getExternalModuleFileFromDeclaration:e.notImplemented,getTypeReferenceDirectivesForEntityName:e.notImplemented,getTypeReferenceDirectivesForSymbol:e.notImplemented,isLiteralConstDeclaration:e.notImplemented,getJsxFactoryEntity:e.notImplemented,getJsxFragmentFactoryEntity:e.notImplemented,getAllAccessorDeclarations:e.notImplemented,getSymbolOfExternalModuleSpecifier:e.notImplemented,isBindingCapturedByNode:e.notImplemented,getDeclarationStatementsForSourceFile:e.notImplemented,isImportRequiredByAugmentation:e.notImplemented};function Z(y,D,C){var m,u=e.Debug.checkDefined(y.js),g=((m=u.sources)===null||m===void 0?void 0:m.prologues)&&e.arrayToMap(u.sources.prologues,function(P){return P.file});return y.sourceFiles.map(function(P,te){var ue,X,j=g==null?void 0:g.get(te),Se=j==null?void 0:j.directives.map(function(Y){var U=e.setTextRange(e.factory.createStringLiteral(Y.expression.text),Y.expression),K=e.setTextRange(e.factory.createExpressionStatement(U),Y);return e.setParent(U,K),K}),Ce=e.factory.createToken(1),R=e.factory.createSourceFile(Se!=null?Se:[],Ce,0);return R.fileName=e.getRelativePathFromDirectory(C.getCurrentDirectory(),e.getNormalizedAbsolutePath(P,D),!C.useCaseSensitiveFileNames()),R.text=(ue=j==null?void 0:j.text)!==null&&ue!==void 0?ue:\"\",e.setTextRangePosWidth(R,0,(X=j==null?void 0:j.text.length)!==null&&X!==void 0?X:0),e.setEachParent(R.statements,R),e.setTextRangePosWidth(Ce,R.end,0),e.setParent(Ce,R),R})}function ne(y,D,C,m){var u=d(y.options,!1),g=u.buildInfoPath,P=u.jsFilePath,te=u.sourceMapFilePath,ue=u.declarationFilePath,X=u.declarationMapPath,j=D.readFile(e.Debug.checkDefined(g));if(!j)return g;var Se=D.readFile(e.Debug.checkDefined(P));if(!Se)return P;var Ce=te&&D.readFile(te);if(te&&!Ce||y.options.inlineSourceMap)return te||\"inline sourcemap decoding\";var R=ue&&D.readFile(ue);if(ue&&!R)return ue;var Y=X&&D.readFile(X);if(X&&!Y||y.options.inlineSourceMap)return X||\"inline sourcemap decoding\";var U=q(j);if(!U.bundle||!U.bundle.js||R&&!U.bundle.dts)return g;var K=e.getDirectoryPath(e.getNormalizedAbsolutePath(g,D.getCurrentDirectory())),Te=e.createInputFiles(Se,R,te,Ce,X,Y,P,ue,g,U,!0),ge=[],ke=e.createPrependNodes(y.projectReferences,C,function(Ge){return D.readFile(Ge)}),Pe=Z(U.bundle,K,D),Ie={getPrependNodes:e.memoize(function(){return Gt(Gt([],ke,!0),[Te],!1)}),getCanonicalFileName:D.getCanonicalFileName,getCommonSourceDirectory:function(){return e.getNormalizedAbsolutePath(U.bundle.commonSourceDirectory,K)},getCompilerOptions:function(){return y.options},getCurrentDirectory:function(){return D.getCurrentDirectory()},getNewLine:function(){return D.getNewLine()},getSourceFile:e.returnUndefined,getSourceFileByPath:e.returnUndefined,getSourceFiles:function(){return Pe},getLibFileFromReference:e.notImplemented,isSourceFileFromExternalLibrary:e.returnFalse,getResolvedProjectReferenceToRedirect:e.returnUndefined,getProjectReferenceRedirect:e.returnUndefined,isSourceOfProjectReferenceRedirect:e.returnFalse,writeFile:function(Ge,he,ve){switch(Ge){case P:if(Se===he)return;break;case te:if(Ce===he)return;break;case g:var Ve=q(he);Ve.program=U.program;var _e=U.bundle,Le=_e.js,qe=_e.dts,Xe=_e.sourceFiles;Ve.bundle.js.sources=Le.sources,qe&&(Ve.bundle.dts.sources=qe.sources),Ve.bundle.sourceFiles=Xe,ge.push({name:Ge,text:O(Ve),writeByteOrderMark:ve});return;case ue:if(R===he)return;break;case X:if(Y===he)return;break;default:e.Debug.fail(\"Unexpected path: \".concat(Ge))}ge.push({name:Ge,text:he,writeByteOrderMark:ve})},isEmitBlocked:e.returnFalse,readFile:function(Ge){return D.readFile(Ge)},fileExists:function(Ge){return D.fileExists(Ge)},useCaseSensitiveFileNames:function(){return D.useCaseSensitiveFileNames()},getProgramBuildInfo:e.returnUndefined,getSourceFileFromReference:e.returnUndefined,redirectTargetsMap:e.createMultiMap(),getFileIncludeReasons:e.notImplemented};return x(e.notImplementedResolver,Ie,void 0,e.getTransformers(y.options,m)),ge}e.emitUsingBuildInfo=ne;var F;(function(y){y[y.Notification=0]=\"Notification\",y[y.Substitution=1]=\"Substitution\",y[y.Comments=2]=\"Comments\",y[y.SourceMaps=3]=\"SourceMaps\",y[y.Emit=4]=\"Emit\"})(F||(F={}));function Q(y,D){y===void 0&&(y={}),D===void 0&&(D={});var C=D.hasGlobalName,m=D.onEmitNode,u=m===void 0?e.noEmitNotification:m,g=D.isEmitNotificationEnabled,P=D.substituteNode,te=P===void 0?e.noEmitSubstitution:P,ue=D.onBeforeEmitNode,X=D.onAfterEmitNode,j=D.onBeforeEmitNodeArray,Se=D.onAfterEmitNodeArray,Ce=D.onBeforeEmitToken,R=D.onAfterEmitToken,Y=!!y.extendedDiagnostics,U=e.getNewLineCharacter(y),K=e.getEmitModuleKind(y),Te=new e.Map,ge,ke,Pe,Ie,Ge,he,ve,Ve,_e=y.preserveSourceNewlines,Le,qe,Xe,De=Yl,Ae,Ye=y.writeBundleFileInfo?{sections:[]}:void 0,Dr=Ye?e.Debug.checkDefined(y.relativeToBuildInfo):void 0,br=y.recordInternalSection,lr=0,Ar=\"text\",kr=!0,Ke,Me,Hr=-1,ur,gr=-1,de=-1,Fe=-1,$e=-1,Sr,Pr,He=!1,pr=!!y.removeComments,Jr,ze,Lr=e.performance.createTimerIf(Y,\"commentTime\",\"beforeComment\",\"afterComment\"),Yr=Lr.enter,lt=Lr.exit,tt=e.factory.parenthesizer,Rt=ft();return et(),{printNode:cn,printList:bn,printFile:zn,printBundle:In,writeNode:Or,writeList:sr,writeFile:Ne,writeBundle:We,bundleFileInfo:Ye};function cn(E,Qe,nt){switch(E){case 0:e.Debug.assert(e.isSourceFile(Qe),\"Expected a SourceFile node.\");break;case 2:e.Debug.assert(e.isIdentifier(Qe),\"Expected an Identifier node.\");break;case 1:e.Debug.assert(e.isExpression(Qe),\"Expected an Expression node.\");break}switch(Qe.kind){case 303:return zn(Qe);case 304:return In(Qe);case 305:return ir(Qe)}return Or(E,Qe,nt,me()),Ze()}function bn(E,Qe,nt){return sr(E,Qe,nt,me()),Ze()}function In(E){return We(E,me(),void 0),Ze()}function zn(E){return Ne(E,me(),void 0),Ze()}function ir(E){return $(E,me()),Ze()}function Or(E,Qe,nt,Ot){var fa=qe;dr(Ot,void 0),Cr(E,Qe,nt),et(),qe=fa}function sr(E,Qe,nt,Ot){var fa=qe;dr(Ot,void 0),nt&&fr(nt),mo(void 0,Qe,E),et(),qe=fa}function ye(){return qe.getTextPosWithWriteLine?qe.getTextPosWithWriteLine():qe.getTextPos()}function or(E,Qe,nt){var Ot=e.lastOrUndefined(Ye.sections);Ot&&Ot.kind===nt?Ot.end=Qe:Ye.sections.push({pos:E,end:Qe,kind:nt})}function fe(E){if(br&&Ye&&ge&&(e.isDeclaration(E)||e.isVariableStatement(E))&&e.isInternalDeclaration(E,ge)&&Ar!==\"internal\"){var Qe=Ar;return Ee(qe.getTextPos()),lr=ye(),Ar=\"internal\",Qe}}function je(E){E&&(Ee(qe.getTextPos()),lr=ye(),Ar=E)}function Ee(E){return lr<E?(or(lr,E,Ar),!0):!1}function We(E,Qe,nt){var Ot;Ae=!1;var fa=qe;dr(Qe,nt),wu(E),td(E),na(E),Ud(E);for(var Oa=0,ia=E.prepends;Oa<ia.length;Oa++){var ti=ia[Oa];fs();var Na=qe.getTextPos(),Ua=Ye&&Ye.sections;if(Ua&&(Ye.sections=[]),Cr(4,ti,void 0),Ye){var Go=Ye.sections;Ye.sections=Ua,ti.oldFileOfCurrentEmit?(Ot=Ye.sections).push.apply(Ot,Go):(Go.forEach(function(md){return e.Debug.assert(e.isBundleFileTextLike(md))}),Ye.sections.push({pos:Na,end:qe.getTextPos(),kind:\"prepend\",data:Dr(ti.fileName),texts:Go}))}}lr=ye();for(var cl=0,os=E.sourceFiles;cl<os.length;cl++){var is=os[cl];Cr(0,is,is)}if(Ye&&E.sourceFiles.length){var Vl=qe.getTextPos();if(Ee(Vl)){var Zc=Ru(E);Zc&&(Ye.sources||(Ye.sources={}),Ye.sources.prologues=Zc);var $c=Jn(E);$c&&(Ye.sources||(Ye.sources={}),Ye.sources.helpers=$c)}}et(),qe=fa}function $(E,Qe){var nt=qe;dr(Qe,void 0),Cr(4,E,void 0),et(),qe=nt}function Ne(E,Qe,nt){Ae=!0;var Ot=qe;dr(Qe,nt),wu(E),td(E),Cr(0,E,E),et(),qe=Ot}function me(){return Xe||(Xe=e.createTextWriter(U))}function Ze(){var E=Xe.getText();return Xe.clear(),E}function Cr(E,Qe,nt){nt&&fr(nt),vt(E,Qe,void 0)}function fr(E){ge=E,Sr=void 0,Pr=void 0,E&&Fc(E)}function dr(E,Qe){E&&y.omitTrailingSemicolon&&(E=e.getTrailingSemicolonDeferringWriter(E)),qe=E,Ke=Qe,kr=!qe||!Ke}function et(){ke=[],Pe=[],Ie=new e.Set,Ge=[],he=0,ve=[],ge=void 0,Sr=void 0,Pr=void 0,dr(void 0,void 0)}function yt(){return Sr||(Sr=e.getLineStarts(ge))}function Vr(E,Qe){if(E!==void 0){var nt=fe(E);vt(4,E,Qe),je(nt)}}function tr(E){E!==void 0&&vt(2,E,void 0)}function xr(E,Qe){E!==void 0&&vt(1,E,Qe)}function Nr(E){vt(e.isStringLiteral(E)?6:4,E)}function zr(E){_e&&e.getEmitFlags(E)&134217728&&(_e=!1)}function gt(E){_e=E}function vt(E,Qe,nt){ze=nt;var Ot=xt(0,E,Qe);Ot(E,Qe),ze=void 0}function ut(E){return!pr&&!e.isSourceFile(E)}function ht(E){return!kr&&!e.isSourceFile(E)&&!e.isInJsonFile(E)&&!e.isUnparsedSource(E)&&!e.isUnparsedPrepend(E)}function xt(E,Qe,nt){switch(E){case 0:if(u!==e.noEmitNotification&&(!g||g(nt)))return Qt;case 1:if(te!==e.noEmitSubstitution&&(Jr=te(Qe,nt)||nt)!==nt)return ze&&(Jr=ze(Jr)),ba;case 2:if(ut(nt))return Bu;case 3:if(ht(nt))return Yc;case 4:return mt;default:return e.Debug.assertNever(E)}}function wt(E,Qe,nt){return xt(E+1,Qe,nt)}function Qt(E,Qe){var nt=wt(0,E,Qe);u(E,Qe,nt)}function mt(E,Qe){if(ue==null||ue(Qe),_e){var nt=_e;zr(Qe),rn(E,Qe),gt(nt)}else rn(E,Qe);X==null||X(Qe),ze=void 0}function rn(E,Qe,nt){if(nt===void 0&&(nt=!0),nt){var Ot=e.getSnippetElement(Qe);if(Ot)return oa(E,Qe,Ot)}if(E===0)return ec(e.cast(Qe,e.isSourceFile));if(E===2)return Mt(e.cast(Qe,e.isIdentifier));if(E===6)return St(e.cast(Qe,e.isStringLiteral),!0);if(E===3)return sa(e.cast(Qe,e.isTypeParameterDeclaration));if(E===5)return e.Debug.assertNode(Qe,e.isEmptyStatement),Co(!0);if(E===4){switch(Qe.kind){case 15:case 16:case 17:return St(Qe,!1);case 79:return Mt(Qe);case 80:return It(Qe);case 160:return rt(Qe);case 161:return Qn(Qe);case 162:return Ra(Qe);case 163:return Ci(Qe);case 164:return _i(Qe);case 165:return va(Qe);case 166:return yi(Qe);case 167:return ro(Qe);case 168:return Ka(Qe);case 169:return Mi(Qe);case 170:return io(Qe);case 171:case 172:return ji(Qe);case 173:return Hi(Qe);case 174:return to(Qe);case 175:return No(Qe);case 176:return Ha(Qe);case 177:return Yo(Qe);case 178:return co(Qe);case 179:return Po(Qe);case 180:return Fo(Qe);case 181:return zo(Qe);case 182:return Es(Qe);case 183:return hr(Qe);case 184:return tn(Qe);case 186:return Un(Qe);case 187:return Oe(Qe);case 188:return oe(Qe);case 189:return mr(Qe);case 190:return se(Qe);case 227:return gi(Qe);case 191:return Be();case 192:return er(Qe);case 193:return vr(Qe);case 194:return qr(Qe);case 195:return Dt(Qe);case 196:return dt(Qe);case 197:return Jt(Qe);case 198:return lo(Qe);case 199:return Sn(Qe);case 200:return ta(Qe);case 201:return xa(Qe);case 202:return Di(Qe);case 232:return Ir(Qe);case 233:return Lo();case 234:return Us(Qe);case 236:return Ml(Qe);case 235:return Co(!1);case 237:return Vs(Qe);case 238:return Ql(Qe);case 239:return uc(Qe);case 240:return cu(Qe);case 241:return no(Qe);case 242:return ql(Qe);case 243:return fc(Qe);case 244:return xc(Qe);case 245:return Ic(Qe);case 246:return uu(Qe);case 247:return dc(Qe);case 248:return Nc(Qe);case 249:return wr(Qe);case 250:return $r(Qe);case 251:return Lt(Qe);case 252:return Kt(Qe);case 253:return pn(Qe);case 254:return fn(Qe);case 255:return kn(Qe);case 256:return jt(Qe);case 257:return ha(Qe);case 258:return ri(Qe);case 259:return Ta(Qe);case 260:return Ya(Qe);case 261:return fi(Qe);case 262:return ci(Qe);case 263:return pc(Qe);case 264:return Si(Qe);case 265:return bo(Qe);case 266:return Ns(Qe);case 267:return Ys(Qe);case 273:return ku(Qe);case 268:return Nu(Qe);case 269:return gf(Qe);case 270:return Zl(Qe);case 271:return jc(Qe);case 272:return ol(Qe);case 274:return kc(Qe);case 292:return Mr(Qe);case 293:return $l(Qe);case 275:return;case 276:return Zf(Qe);case 11:return Jc(Qe);case 279:case 282:return Hc(Qe);case 280:case 283:return zp(Qe);case 284:return qp(Qe);case 285:return dl(Qe);case 286:return Rs(Qe);case 287:return ks(Qe);case 288:return Ou(Qe);case 289:return kd(Qe);case 290:return $f(Qe);case 291:return Od(Qe);case 294:return Rd(Qe);case 295:return Xp(Qe);case 296:return yp(Qe);case 297:return Xl(Qe);case 298:return qt(Qe);case 305:case 299:return Ut(Qe);case 300:case 301:return Mn(Qe);case 302:return dn(Qe);case 303:return ec(Qe);case 304:return e.Debug.fail(\"Bundles should be printed using printBundle\");case 306:return e.Debug.fail(\"InputFiles should not be printed\");case 307:return mc(Qe);case 308:return wd(Qe);case 310:return Ln(\"*\");case 311:return Ln(\"?\");case 312:return hi(Qe);case 313:return Zi(Qe);case 314:return Mo(Qe);case 315:return za(Qe);case 185:case 316:return Cs(Qe);case 317:return;case 318:return C_(Qe);case 320:return Gd(Qe);case 321:return Qp(Qe);case 325:case 330:return Yp(Qe);case 326:case 327:return Md(Qe);case 328:case 329:return;case 331:case 332:case 333:case 334:case 335:return;case 336:return Ep(Qe);case 338:case 345:return Bd(Qe);case 337:case 339:case 340:case 341:return ed(Qe);case 342:return Pd(Qe);case 343:return Fd(Qe);case 344:return bp(Qe);case 347:case 351:case 350:return}if(e.isExpression(Qe)&&(E=1,te!==e.noEmitSubstitution)){var fa=te(E,Qe)||Qe;fa!==Qe&&(Qe=fa,ze&&(Qe=ze(Qe)))}}if(E===1)switch(Qe.kind){case 8:case 9:return en(Qe);case 10:case 13:case 14:return St(Qe,!1);case 79:return Mt(Qe);case 80:return It(Qe);case 203:return $a(Qe);case 204:return Ji(Qe);case 205:return So(Qe);case 206:return bt(Qe);case 207:return Pn(Qe);case 208:return da(Qe);case 209:return ei(Qe);case 210:return bi(Qe);case 211:return xi(Qe);case 212:return ka(Qe);case 213:return mi(Qe);case 214:return Gi(Qe);case 215:return Ro(Qe);case 216:return ko(Qe);case 217:return es(Qe);case 218:return as(Qe);case 219:return Rr(Qe);case 220:return Rt(Qe);case 221:return Zt(Qe);case 222:return Re(Qe);case 223:return Qr(Qe);case 224:return vn(Qe);case 225:return Xn(Qe);case 226:return;case 228:return Ia(Qe);case 229:return oo(Qe);case 230:return Wo(Qe);case 231:return e.Debug.fail(\"SyntheticExpression should never be printed.\");case 277:return hf(Qe);case 278:return Nd(Qe);case 281:return _s(Qe);case 346:return e.Debug.fail(\"SyntaxList should not be printed\");case 347:return;case 348:return Ef(Qe);case 349:return Zp(Qe);case 350:case 351:return;case 352:return e.Debug.fail(\"SyntheticReferenceExpression should not be printed\")}if(e.isKeyword(Qe.kind))return ws(Qe,ii);if(e.isTokenKind(Qe.kind))return ws(Qe,Ln);e.Debug.fail(\"Unhandled SyntaxKind: \".concat(e.Debug.formatSyntaxKind(Qe.kind),\".\"))}function sa(E){Vr(E.name),Dn(),ii(\"in\"),Dn(),Vr(E.constraint)}function ba(E,Qe){var nt=wt(1,E,Qe);e.Debug.assertIsDefined(Jr),Qe=Jr,Jr=void 0,nt(E,Qe)}function Jn(E){var Qe;if(!(K===e.ModuleKind.None||y.noEmitHelpers)){for(var nt=new e.Map,Ot=0,fa=E.sourceFiles;Ot<fa.length;Ot++){var Oa=fa[Ot],ia=e.getExternalHelpersModuleName(Oa)!==void 0,ti=Wn(Oa);if(!!ti)for(var Na=0,Ua=ti;Na<Ua.length;Na++){var Go=Ua[Na];!Go.scoped&&!ia&&!nt.get(Go.name)&&(nt.set(Go.name,!0),(Qe||(Qe=[])).push(Go.name))}}return Qe}}function na(E){var Qe=!1,nt=E.kind===304?E:void 0;if(!(nt&&K===e.ModuleKind.None)){for(var Ot=nt?nt.prepends.length:0,fa=nt?nt.sourceFiles.length+Ot:1,Oa=0;Oa<fa;Oa++){var ia=nt?Oa<Ot?nt.prepends[Oa]:nt.sourceFiles[Oa-Ot]:E,ti=e.isSourceFile(ia)?ia:e.isUnparsedSource(ia)?void 0:ge,Na=y.noEmitHelpers||!!ti&&e.hasRecordedExternalHelpers(ti),Ua=(e.isSourceFile(ia)||e.isUnparsedSource(ia))&&!Ae,Go=e.isUnparsedSource(ia)?ia.helpers:Wn(ia);if(Go)for(var cl=0,os=Go;cl<os.length;cl++){var is=os[cl];if(is.scoped){if(nt)continue}else{if(Na)continue;if(Ua){if(Te.get(is.name))continue;Te.set(is.name,!0)}}var Vl=ye();typeof is.text==\"string\"?Df(is.text):Df(is.text(If)),Ye&&Ye.sections.push({pos:Vl,end:qe.getTextPos(),kind:\"emitHelpers\",data:is.name}),Qe=!0}}return Qe}}function Wn(E){var Qe=e.getEmitHelpers(E);return Qe&&e.stableSort(Qe,e.compareEmitHelpers)}function en(E){St(E,!1)}function St(E,Qe){var nt=Js(E,y.neverAsciiEscape,Qe);(y.sourceMap||y.inlineSourceMap)&&(E.kind===10||e.isTemplateLiteralKind(E.kind))?ms(nt):$p(nt)}function Ut(E){for(var Qe=0,nt=E.texts;Qe<nt.length;Qe++){var Ot=nt[Qe];fs(),Vr(Ot)}}function qt(E){qe.rawWrite(E.parent.text.substring(E.pos,E.end))}function Mn(E){var Qe=ye();qt(E),Ye&&or(Qe,qe.getTextPos(),E.kind===300?\"text\":\"internal\")}function dn(E){var Qe=ye();if(qt(E),Ye){var nt=e.clone(E.section);nt.pos=Qe,nt.end=qe.getTextPos(),Ye.sections.push(nt)}}function oa(E,Qe,nt){switch(nt.kind){case 1:pt(E,Qe,nt);break;case 0:_t(nt);break}}function pt(E,Qe,nt){rs(\"${\".concat(nt.order,\":\")),rn(E,Qe,!1),rs(\"}\")}function _t(E){rs(\"$\".concat(E.order))}function Mt(E){var Qe=E.symbol?od:De;Qe(Gu(E,!1),E.symbol),mo(E,E.typeArguments,53776)}function It(E){var Qe=E.symbol?od:De;Qe(Gu(E,!1),E.symbol)}function rt(E){Cn(E.left),Ln(\".\"),Vr(E.right)}function Cn(E){E.kind===79?xr(E):Vr(E)}function Qn(E){Ln(\"[\"),xr(E.expression,tt.parenthesizeExpressionOfComputedPropertyName),Ln(\"]\")}function Ra(E){Vr(E.name),E.constraint&&(Dn(),ii(\"extends\"),Dn(),Vr(E.constraint)),E.default&&(Dn(),Rc(\"=\"),Dn(),Vr(E.default))}function Ci(E){Pl(E,E.decorators),js(E,E.modifiers),Vr(E.dotDotDotToken),Mu(E.name,sd),Vr(E.questionToken),E.parent&&E.parent.kind===315&&!E.name?Vr(E.type):gc(E.type),nd(E.initializer,E.type?E.type.end:E.questionToken?E.questionToken.end:E.name?E.name.end:E.modifiers?E.modifiers.end:E.decorators?E.decorators.end:E.pos,E,tt.parenthesizeExpressionForDisallowedComma)}function _i(E){Ln(\"@\"),xr(E.expression,tt.parenthesizeLeftSideOfAccess)}function va(E){Pl(E,E.decorators),js(E,E.modifiers),Mu(E.name,N_),Vr(E.questionToken),gc(E.type),us()}function yi(E){Pl(E,E.decorators),js(E,E.modifiers),Vr(E.name),Vr(E.questionToken),Vr(E.exclamationToken),gc(E.type),nd(E.initializer,E.type?E.type.end:E.questionToken?E.questionToken.end:E.name.end,E),us()}function ro(E){Gl(E),Pl(E,E.decorators),js(E,E.modifiers),Vr(E.name),Vr(E.questionToken),Fl(E,E.typeParameters),pl(E,E.parameters),gc(E.type),us(),Kc(E)}function Ka(E){Pl(E,E.decorators),js(E,E.modifiers),Vr(E.asteriskToken),Vr(E.name),Vr(E.questionToken),Fa(E,ua)}function Mi(E){Pl(E,E.decorators),js(E,E.modifiers),ii(\"static\"),rr(E.body)}function io(E){js(E,E.modifiers),ii(\"constructor\"),Fa(E,ua)}function ji(E){Pl(E,E.decorators),js(E,E.modifiers),ii(E.kind===171?\"get\":\"set\"),Dn(),Vr(E.name),Fa(E,ua)}function Hi(E){Gl(E),Pl(E,E.decorators),js(E,E.modifiers),Fl(E,E.typeParameters),pl(E,E.parameters),gc(E.type),us(),Kc(E)}function to(E){Gl(E),Pl(E,E.decorators),js(E,E.modifiers),ii(\"new\"),Dn(),Fl(E,E.typeParameters),pl(E,E.parameters),gc(E.type),us(),Kc(E)}function No(E){Pl(E,E.decorators),js(E,E.modifiers),Wd(E,E.parameters),gc(E.type),us()}function lo(E){Vr(E.type),Vr(E.literal)}function Lo(){us()}function Ha(E){E.assertsModifier&&(Vr(E.assertsModifier),Dn()),Vr(E.parameterName),E.type&&(Dn(),ii(\"is\"),Dn(),Vr(E.type))}function Yo(E){Vr(E.typeName),Sl(E,E.typeArguments)}function co(E){Gl(E),Fl(E,E.typeParameters),Tf(E,E.parameters),Dn(),Ln(\"=>\"),Dn(),Vr(E.type),Kc(E)}function za(E){ii(\"function\"),pl(E,E.parameters),Ln(\":\"),Vr(E.type)}function hi(E){Ln(\"?\"),Vr(E.type)}function Zi(E){Ln(\"!\"),Vr(E.type)}function Mo(E){Vr(E.type),Ln(\"=\")}function Po(E){Gl(E),js(E,E.modifiers),ii(\"new\"),Dn(),Fl(E,E.typeParameters),pl(E,E.parameters),Dn(),Ln(\"=>\"),Dn(),Vr(E.type),Kc(E)}function Fo(E){ii(\"typeof\"),Dn(),Vr(E.exprName)}function zo(E){Ln(\"{\");var Qe=e.getEmitFlags(E)&1?768:32897;mo(E,E.members,Qe|524288),Ln(\"}\")}function Es(E){Vr(E.elementType,tt.parenthesizeElementTypeOfArrayType),Ln(\"[\"),Ln(\"]\")}function Cs(E){Ln(\"...\"),Vr(E.type)}function hr(E){La(22,E.pos,Ln,E);var Qe=e.getEmitFlags(E)&1?528:657;mo(E,E.elements,Qe|524288),La(23,E.elements.end,Ln,E)}function dt(E){Vr(E.dotDotDotToken),Vr(E.name),Vr(E.questionToken),La(58,E.name.end,Ln,E),Dn(),Vr(E.type)}function tn(E){Vr(E.type,tt.parenthesizeElementTypeOfArrayType),Ln(\"?\")}function Un(E){mo(E,E.types,516,tt.parenthesizeMemberOfElementType)}function Oe(E){mo(E,E.types,520,tt.parenthesizeMemberOfElementType)}function oe(E){Vr(E.checkType,tt.parenthesizeMemberOfConditionalType),Dn(),ii(\"extends\"),Dn(),Vr(E.extendsType,tt.parenthesizeMemberOfConditionalType),Dn(),Ln(\"?\"),Dn(),Vr(E.trueType),Dn(),Ln(\":\"),Dn(),Vr(E.falseType)}function mr(E){ii(\"infer\"),Dn(),Vr(E.typeParameter)}function se(E){Ln(\"(\"),Vr(E.type),Ln(\")\")}function Be(){ii(\"this\")}function er(E){Mc(E.operator,ii),Dn(),Vr(E.type,tt.parenthesizeMemberOfElementType)}function vr(E){Vr(E.objectType,tt.parenthesizeMemberOfElementType),Ln(\"[\"),Vr(E.indexType),Ln(\"]\")}function qr(E){var Qe=e.getEmitFlags(E);Ln(\"{\"),Qe&1?Dn():(fs(),wc()),E.readonlyToken&&(Vr(E.readonlyToken),E.readonlyToken.kind!==144&&ii(\"readonly\"),Dn()),Ln(\"[\"),vt(3,E.typeParameter),E.nameType&&(Dn(),ii(\"as\"),Dn(),Vr(E.nameType)),Ln(\"]\"),E.questionToken&&(Vr(E.questionToken),E.questionToken.kind!==57&&Ln(\"?\")),Ln(\":\"),Dn(),Vr(E.type),us(),Qe&1?Dn():(fs(),Hs()),Ln(\"}\")}function Dt(E){xr(E.literal)}function Jt(E){Vr(E.head),mo(E,E.templateSpans,262144)}function Sn(E){E.isTypeOf&&(ii(\"typeof\"),Dn()),ii(\"import\"),Ln(\"(\"),Vr(E.argument),Ln(\")\"),E.qualifier&&(Ln(\".\"),Vr(E.qualifier)),Sl(E,E.typeArguments)}function ta(E){Ln(\"{\"),mo(E,E.elements,525136),Ln(\"}\")}function xa(E){Ln(\"[\"),mo(E,E.elements,524880),Ln(\"]\")}function Di(E){Vr(E.dotDotDotToken),E.propertyName&&(Vr(E.propertyName),Ln(\":\"),Dn()),Vr(E.name),nd(E.initializer,E.name.end,E,tt.parenthesizeExpressionForDisallowedComma)}function $a(E){var Qe=E.elements,nt=E.multiLine?65536:0;Dl(E,Qe,8914|nt,tt.parenthesizeExpressionForDisallowedComma)}function Ji(E){e.forEach(E.properties,wn);var Qe=e.getEmitFlags(E)&65536;Qe&&wc();var nt=E.multiLine?65536:0,Ot=ge.languageVersion>=1&&!e.isJsonSourceFile(ge)?64:0;mo(E,E.properties,526226|Ot|nt),Qe&&Hs()}function So(E){xr(E.expression,tt.parenthesizeLeftSideOfAccess);var Qe=E.questionDotToken||e.setTextRangePosEnd(e.factory.createToken(24),E.expression.end,E.name.pos),nt=yc(E,E.expression,Qe),Ot=yc(E,Qe,E.name);hc(nt,!1);var fa=Qe.kind!==28&&cs(E.expression)&&!qe.hasTrailingComment()&&!qe.hasTrailingWhitespace();fa&&Ln(\".\"),E.questionDotToken?Vr(Qe):La(Qe.kind,E.expression.end,Ln,E),hc(Ot,!1),Vr(E.name),Lf(nt,Ot)}function cs(E){if(E=e.skipPartiallyEmittedExpressions(E),e.isNumericLiteral(E)){var Qe=Js(E,!0,!1);return!E.numericLiteralFlags&&!e.stringContains(Qe,e.tokenToString(24))}else if(e.isAccessExpression(E)){var nt=e.getConstantValue(E);return typeof nt==\"number\"&&isFinite(nt)&&Math.floor(nt)===nt}}function bt(E){xr(E.expression,tt.parenthesizeLeftSideOfAccess),Vr(E.questionDotToken),La(22,E.expression.end,Ln,E),xr(E.argumentExpression),La(23,E.argumentExpression.end,Ln,E)}function Pn(E){var Qe=e.getEmitFlags(E)&536870912;Qe&&(Ln(\"(\"),ms(\"0\"),Ln(\",\"),Dn()),xr(E.expression,tt.parenthesizeLeftSideOfAccess),Qe&&Ln(\")\"),Vr(E.questionDotToken),Sl(E,E.typeArguments),Dl(E,E.arguments,2576,tt.parenthesizeExpressionForDisallowedComma)}function da(E){La(103,E.pos,ii,E),Dn(),xr(E.expression,tt.parenthesizeExpressionOfNew),Sl(E,E.typeArguments),Dl(E,E.arguments,18960,tt.parenthesizeExpressionForDisallowedComma)}function ei(E){var Qe=e.getEmitFlags(E)&536870912;Qe&&(Ln(\"(\"),ms(\"0\"),Ln(\",\"),Dn()),xr(E.tag,tt.parenthesizeLeftSideOfAccess),Qe&&Ln(\")\"),Sl(E,E.typeArguments),Dn(),xr(E.template)}function bi(E){Ln(\"<\"),Vr(E.type),Ln(\">\"),xr(E.expression,tt.parenthesizeOperandOfPrefixUnary)}function xi(E){var Qe=La(20,E.pos,Ln,E),nt=ld(E.expression,E);xr(E.expression,void 0),cd(E.expression,E),Lf(nt),La(21,E.expression?E.expression.end:Qe,Ln,E)}function ka(E){Ts(E.name),Kn(E)}function mi(E){Pl(E,E.decorators),js(E,E.modifiers),Fa(E,Xi)}function Xi(E){Fl(E,E.typeParameters),Tf(E,E.parameters),gc(E.type),Dn(),Vr(E.equalsGreaterThanToken)}function Gi(E){La(89,E.pos,ii,E),Dn(),xr(E.expression,tt.parenthesizeOperandOfPrefixUnary)}function Ro(E){La(112,E.pos,ii,E),Dn(),xr(E.expression,tt.parenthesizeOperandOfPrefixUnary)}function ko(E){La(114,E.pos,ii,E),Dn(),xr(E.expression,tt.parenthesizeOperandOfPrefixUnary)}function es(E){La(132,E.pos,ii,E),Dn(),xr(E.expression,tt.parenthesizeOperandOfPrefixUnary)}function as(E){Mc(E.operator,Rc),pe(E)&&Dn(),xr(E.operand,tt.parenthesizeOperandOfPrefixUnary)}function pe(E){var Qe=E.operand;return Qe.kind===218&&(E.operator===39&&(Qe.operator===39||Qe.operator===45)||E.operator===40&&(Qe.operator===40||Qe.operator===46))}function Rr(E){xr(E.operand,tt.parenthesizeOperandOfPostfixUnary),Mc(E.operator,Rc)}function ft(){return e.createBinaryExpressionTrampoline(E,Qe,nt,Ot,fa,void 0);function E(ia,ti){if(ti){ti.stackIndex++,ti.preserveSourceNewlinesStack[ti.stackIndex]=_e,ti.containerPosStack[ti.stackIndex]=de,ti.containerEndStack[ti.stackIndex]=Fe,ti.declarationListContainerEndStack[ti.stackIndex]=$e;var Na=ti.shouldEmitCommentsStack[ti.stackIndex]=ut(ia),Ua=ti.shouldEmitSourceMapsStack[ti.stackIndex]=ht(ia);ue==null||ue(ia),Na&&dd(ia),Ua&&Lp(ia),zr(ia)}else ti={stackIndex:0,preserveSourceNewlinesStack:[void 0],containerPosStack:[-1],containerEndStack:[-1],declarationListContainerEndStack:[-1],shouldEmitCommentsStack:[!1],shouldEmitSourceMapsStack:[!1]};return ti}function Qe(ia,ti,Na){return Oa(ia,Na,\"left\")}function nt(ia,ti,Na){var Ua=ia.kind!==27,Go=yc(Na,Na.left,ia),cl=yc(Na,ia,Na.right);hc(Go,Ua),Xc(ia.pos),ws(ia,ia.kind===101?ii:Rc),Wu(ia.end,!0),hc(cl,!0)}function Ot(ia,ti,Na){return Oa(ia,Na,\"right\")}function fa(ia,ti){var Na=yc(ia,ia.left,ia.operatorToken),Ua=yc(ia,ia.operatorToken,ia.right);if(Lf(Na,Ua),ti.stackIndex>0){var Go=ti.preserveSourceNewlinesStack[ti.stackIndex],cl=ti.containerPosStack[ti.stackIndex],os=ti.containerEndStack[ti.stackIndex],is=ti.declarationListContainerEndStack[ti.stackIndex],Vl=ti.shouldEmitCommentsStack[ti.stackIndex],Zc=ti.shouldEmitSourceMapsStack[ti.stackIndex];gt(Go),Zc&&pd(ia),Vl&&zd(ia,cl,os,is),X==null||X(ia),ti.stackIndex--}}function Oa(ia,ti,Na){var Ua=Na===\"left\"?tt.getParenthesizeLeftSideOfBinaryForOperator(ti.operatorToken.kind):tt.getParenthesizeRightSideOfBinaryForOperator(ti.operatorToken.kind),Go=xt(0,1,ia);if(Go===ba&&(e.Debug.assertIsDefined(Jr),ia=Ua(e.cast(Jr,e.isExpression)),Go=wt(1,1,ia),Jr=void 0),(Go===Bu||Go===Yc||Go===mt)&&e.isBinaryExpression(ia))return ia;ze=Ua,Go(1,ia)}}function Zt(E){var Qe=yc(E,E.condition,E.questionToken),nt=yc(E,E.questionToken,E.whenTrue),Ot=yc(E,E.whenTrue,E.colonToken),fa=yc(E,E.colonToken,E.whenFalse);xr(E.condition,tt.parenthesizeConditionOfConditionalExpression),hc(Qe,!0),Vr(E.questionToken),hc(nt,!0),xr(E.whenTrue,tt.parenthesizeBranchOfConditionalExpression),Lf(Qe,nt),hc(Ot,!0),Vr(E.colonToken),hc(fa,!0),xr(E.whenFalse,tt.parenthesizeBranchOfConditionalExpression),Lf(Ot,fa)}function Re(E){Vr(E.head),mo(E,E.templateSpans,262144)}function Qr(E){La(125,E.pos,ii,E),Vr(E.asteriskToken),Pu(E.expression,tt.parenthesizeExpressionForDisallowedComma)}function vn(E){La(25,E.pos,Ln,E),xr(E.expression,tt.parenthesizeExpressionForDisallowedComma)}function Xn(E){Ts(E.name),yn(E)}function gi(E){xr(E.expression,tt.parenthesizeLeftSideOfAccess),Sl(E,E.typeArguments)}function Ia(E){xr(E.expression,void 0),E.type&&(Dn(),ii(\"as\"),Dn(),Vr(E.type))}function oo(E){xr(E.expression,tt.parenthesizeLeftSideOfAccess),Rc(\"!\")}function Wo(E){Sf(E.keywordToken,E.pos,Ln),Ln(\".\"),Vr(E.name)}function Ir(E){xr(E.expression),Vr(E.literal)}function Us(E){il(E,!E.multiLine&&ud(E))}function il(E,Qe){La(18,E.pos,Ln,E);var nt=Qe||e.getEmitFlags(E)&1?768:129;mo(E,E.statements,nt),La(19,E.statements.end,Ln,E,!!(nt&1))}function Ml(E){js(E,E.modifiers),Vr(E.declarationList),us()}function Co(E){E?Ln(\";\"):us()}function Vs(E){xr(E.expression,tt.parenthesizeExpressionOfExpressionStatement),(!e.isJsonSourceFile(ge)||e.nodeIsSynthesized(E.expression))&&us()}function Ql(E){var Qe=La(99,E.pos,ii,E);Dn(),La(20,Qe,Ln,E),xr(E.expression),La(21,E.expression.end,Ln,E),vc(E,E.thenStatement),E.elseStatement&&(Qu(E,E.thenStatement,E.elseStatement),La(91,E.thenStatement.end,ii,E),E.elseStatement.kind===238?(Dn(),Vr(E.elseStatement)):vc(E,E.elseStatement))}function zl(E,Qe){var nt=La(115,Qe,ii,E);Dn(),La(20,nt,Ln,E),xr(E.expression),La(21,E.expression.end,Ln,E)}function uc(E){La(90,E.pos,ii,E),vc(E,E.statement),e.isBlock(E.statement)&&!_e?Dn():Qu(E,E.statement,E.expression),zl(E,E.statement.end),us()}function cu(E){zl(E,E.pos),vc(E,E.statement)}function no(E){var Qe=La(97,E.pos,ii,E);Dn();var nt=La(20,Qe,Ln,E);Ws(E.initializer),nt=La(26,E.initializer?E.initializer.end:nt,Ln,E),Pu(E.condition),nt=La(26,E.condition?E.condition.end:nt,Ln,E),Pu(E.incrementor),La(21,E.incrementor?E.incrementor.end:nt,Ln,E),vc(E,E.statement)}function ql(E){var Qe=La(97,E.pos,ii,E);Dn(),La(20,Qe,Ln,E),Ws(E.initializer),Dn(),La(101,E.initializer.end,ii,E),Dn(),xr(E.expression),La(21,E.expression.end,Ln,E),vc(E,E.statement)}function fc(E){var Qe=La(97,E.pos,ii,E);Dn(),I_(E.awaitModifier),La(20,Qe,Ln,E),Ws(E.initializer),Dn(),La(159,E.initializer.end,ii,E),Dn(),xr(E.expression),La(21,E.expression.end,Ln,E),vc(E,E.statement)}function Ws(E){E!==void 0&&(E.kind===254?Vr(E):xr(E))}function xc(E){La(86,E.pos,ii,E),ad(E.label),us()}function Ic(E){La(81,E.pos,ii,E),ad(E.label),us()}function La(E,Qe,nt,Ot,fa){var Oa=e.getParseTreeNode(Ot),ia=Oa&&Oa.kind===Ot.kind,ti=Qe;if(ia&&ge&&(Qe=e.skipTrivia(ge.text,Qe)),ia&&Ot.pos!==ti){var Na=fa&&ge&&!e.positionsAreOnSameLine(ti,Qe,ge);Na&&wc(),Xc(ti),Na&&Hs()}if(Qe=Mc(E,nt,Qe),ia&&Ot.end!==Qe){var Ua=Ot.kind===287;Wu(Qe,!Ua,Ua)}return Qe}function uu(E){La(105,E.pos,ii,E),Pu(E.expression),us()}function dc(E){var Qe=La(116,E.pos,ii,E);Dn(),La(20,Qe,Ln,E),xr(E.expression),La(21,E.expression.end,Ln,E),vc(E,E.statement)}function Nc(E){var Qe=La(107,E.pos,ii,E);Dn(),La(20,Qe,Ln,E),xr(E.expression),La(21,E.expression.end,Ln,E),Dn(),Vr(E.caseBlock)}function wr(E){Vr(E.label),La(58,E.label.end,Ln,E),Dn(),Vr(E.statement)}function $r(E){La(109,E.pos,ii,E),Pu(E.expression),us()}function Lt(E){La(111,E.pos,ii,E),Dn(),Vr(E.tryBlock),E.catchClause&&(Qu(E,E.tryBlock,E.catchClause),Vr(E.catchClause)),E.finallyBlock&&(Qu(E,E.catchClause||E.tryBlock,E.finallyBlock),La(96,(E.catchClause||E.tryBlock).end,ii,E),Dn(),Vr(E.finallyBlock))}function Kt(E){Sf(87,E.pos,ii),us()}function pn(E){Vr(E.name),Vr(E.exclamationToken),gc(E.type),nd(E.initializer,E.type?E.type.end:E.name.end,E,tt.parenthesizeExpressionForDisallowedComma)}function fn(E){ii(e.isLet(E)?\"let\":e.isVarConst(E)?\"const\":\"var\"),Dn(),mo(E,E.declarations,528)}function kn(E){Kn(E)}function Kn(E){Pl(E,E.decorators),js(E,E.modifiers),ii(\"function\"),Vr(E.asteriskToken),Dn(),tr(E.name),Fa(E,ua)}function Fa(E,Qe){var nt=E.body;if(nt)if(e.isBlock(nt)){var Ot=e.getEmitFlags(E)&65536;Ot&&wc(),Gl(E),e.forEach(E.parameters,Ga),Ga(E.body),Qe(E),rr(nt),Kc(E),Ot&&Hs()}else Qe(E),Dn(),xr(nt,tt.parenthesizeConciseBodyOfArrowFunction);else Qe(E),us()}function ua(E){Fl(E,E.typeParameters),pl(E,E.parameters),gc(E.type)}function le(E){if(e.getEmitFlags(E)&1)return!0;if(E.multiLine||!e.nodeIsSynthesized(E)&&!e.rangeIsOnSingleLine(E,ge)||ll(E,E.statements,2)||Fu(E,E.statements,2))return!1;for(var Qe,nt=0,Ot=E.statements;nt<Ot.length;nt++){var fa=Ot[nt];if(e_(Qe,fa,2)>0)return!1;Qe=fa}return!0}function rr(E){ue==null||ue(E),Dn(),Ln(\"{\"),wc();var Qe=le(E)?yr:ct;Uu?Uu(E,E.statements,Qe):Qe(E),Hs(),Sf(19,E.statements.end,Ln,E),X==null||X(E)}function yr(E){ct(E,!0)}function ct(E,Qe){var nt=Vd(E.statements),Ot=qe.getTextPos();na(E),nt===0&&Ot===qe.getTextPos()&&Qe?(Hs(),mo(E,E.statements,768),wc()):mo(E,E.statements,1,void 0,nt)}function jt(E){yn(E)}function yn(E){e.forEach(E.members,wn),Pl(E,E.decorators),js(E,E.modifiers),ii(\"class\"),E.name&&(Dn(),tr(E.name));var Qe=e.getEmitFlags(E)&65536;Qe&&wc(),Fl(E,E.typeParameters),mo(E,E.heritageClauses,0),Dn(),Ln(\"{\"),mo(E,E.members,129),Ln(\"}\"),Qe&&Hs()}function ha(E){Pl(E,E.decorators),js(E,E.modifiers),ii(\"interface\"),Dn(),Vr(E.name),Fl(E,E.typeParameters),mo(E,E.heritageClauses,512),Dn(),Ln(\"{\"),mo(E,E.members,129),Ln(\"}\")}function ri(E){Pl(E,E.decorators),js(E,E.modifiers),ii(\"type\"),Dn(),Vr(E.name),Fl(E,E.typeParameters),Dn(),Ln(\"=\"),Dn(),Vr(E.type),us()}function Ta(E){js(E,E.modifiers),ii(\"enum\"),Dn(),Vr(E.name),Dn(),Ln(\"{\"),mo(E,E.members,145),Ln(\"}\")}function Ya(E){js(E,E.modifiers),~E.flags&1024&&(ii(E.flags&16?\"namespace\":\"module\"),Dn()),Vr(E.name);var Qe=E.body;if(!Qe)return us();for(;Qe&&e.isModuleDeclaration(Qe);)Ln(\".\"),Vr(Qe.name),Qe=Qe.body;Dn(),Vr(Qe)}function fi(E){Gl(E),e.forEach(E.statements,Ga),il(E,ud(E)),Kc(E)}function ci(E){La(18,E.pos,Ln,E),mo(E,E.clauses,129),La(19,E.clauses.end,Ln,E,!0)}function Si(E){js(E,E.modifiers),La(100,E.modifiers?E.modifiers.end:E.pos,ii,E),Dn(),E.isTypeOnly&&(La(151,E.pos,ii,E),Dn()),Vr(E.name),Dn(),La(63,E.name.end,Ln,E),Dn(),Do(E.moduleReference),us()}function Do(E){E.kind===79?xr(E):Vr(E)}function bo(E){js(E,E.modifiers),La(100,E.modifiers?E.modifiers.end:E.pos,ii,E),Dn(),E.importClause&&(Vr(E.importClause),Dn(),La(155,E.importClause.end,ii,E),Dn()),xr(E.moduleSpecifier),E.assertClause&&ad(E.assertClause),us()}function Ns(E){E.isTypeOnly&&(La(151,E.pos,ii,E),Dn()),Vr(E.name),E.name&&E.namedBindings&&(La(27,E.name.end,Ln,E),Dn()),Vr(E.namedBindings)}function Ys(E){var Qe=La(41,E.pos,Ln,E);Dn(),La(127,Qe,ii,E),Dn(),Vr(E.name)}function Nu(E){vf(E)}function gf(E){fo(E)}function Zl(E){var Qe=La(93,E.pos,ii,E);Dn(),E.isExportEquals?La(63,Qe,Rc,E):La(88,Qe,ii,E),Dn(),xr(E.expression,E.isExportEquals?tt.getParenthesizeRightSideOfBinaryForOperator(63):tt.parenthesizeExpressionOfExportDefault),us()}function jc(E){var Qe=La(93,E.pos,ii,E);if(Dn(),E.isTypeOnly&&(Qe=La(151,Qe,ii,E),Dn()),E.exportClause?Vr(E.exportClause):Qe=La(41,Qe,Ln,E),E.moduleSpecifier){Dn();var nt=E.exportClause?E.exportClause.end:Qe;La(155,nt,ii,E),Dn(),xr(E.moduleSpecifier)}E.assertClause&&ad(E.assertClause),us()}function Mr(E){La(129,E.pos,ii,E),Dn();var Qe=E.elements;mo(E,Qe,526226)}function $l(E){Vr(E.name),Ln(\":\"),Dn();var Qe=E.value;if((e.getEmitFlags(Qe)&512)===0){var nt=e.getCommentRange(Qe);Wu(nt.pos)}Vr(Qe)}function pc(E){var Qe=La(93,E.pos,ii,E);Dn(),Qe=La(127,Qe,ii,E),Dn(),Qe=La(142,Qe,ii,E),Dn(),Vr(E.name),us()}function ku(E){var Qe=La(41,E.pos,Ln,E);Dn(),La(127,Qe,ii,E),Dn(),Vr(E.name)}function ol(E){vf(E)}function kc(E){fo(E)}function vf(E){Ln(\"{\"),mo(E,E.elements,525136),Ln(\"}\")}function fo(E){E.isTypeOnly&&(ii(\"type\"),Dn()),E.propertyName&&(Vr(E.propertyName),Dn(),La(127,E.propertyName.end,ii,E),Dn()),Vr(E.name)}function Zf(E){ii(\"require\"),Ln(\"(\"),xr(E.expression),Ln(\")\")}function hf(E){Vr(E.openingElement),mo(E,E.children,262144),Vr(E.closingElement)}function Nd(E){Ln(\"<\"),yf(E.tagName),Sl(E,E.typeArguments),Dn(),Vr(E.attributes),Ln(\"/>\")}function _s(E){Vr(E.openingFragment),mo(E,E.children,262144),Vr(E.closingFragment)}function Hc(E){if(Ln(\"<\"),e.isJsxOpeningElement(E)){var Qe=ld(E.tagName,E);yf(E.tagName),Sl(E,E.typeArguments),E.attributes.properties&&E.attributes.properties.length>0&&Dn(),Vr(E.attributes),cd(E.attributes,E),Lf(Qe)}Ln(\">\")}function Jc(E){qe.writeLiteral(E.text)}function zp(E){Ln(\"</\"),e.isJsxClosingElement(E)&&yf(E.tagName),Ln(\">\")}function dl(E){mo(E,E.properties,262656)}function qp(E){Vr(E.name),x_(\"=\",Ln,E.initializer,Nr)}function Rs(E){Ln(\"{...\"),xr(E.expression),Ln(\"}\")}function Ja(E){var Qe=!1;return e.forEachTrailingCommentRange((ge==null?void 0:ge.text)||\"\",E+1,function(){return Qe=!0}),Qe}function Zn(E){var Qe=!1;return e.forEachLeadingCommentRange((ge==null?void 0:ge.text)||\"\",E+1,function(){return Qe=!0}),Qe}function Oc(E){return Ja(E)||Zn(E)}function ks(E){var Qe;if(E.expression||!pr&&!e.nodeIsSynthesized(E)&&Oc(E.pos)){var nt=ge&&!e.nodeIsSynthesized(E)&&e.getLineAndCharacterOfPosition(ge,E.pos).line!==e.getLineAndCharacterOfPosition(ge,E.end).line;nt&&qe.increaseIndent();var Ot=La(18,E.pos,Ln,E);Vr(E.dotDotDotToken),xr(E.expression),La(19,((Qe=E.expression)===null||Qe===void 0?void 0:Qe.end)||Ot,Ln,E),nt&&qe.decreaseIndent()}}function yf(E){E.kind===79?xr(E):Vr(E)}function Ou(E){La(82,E.pos,ii,E),Dn(),xr(E.expression,tt.parenthesizeExpressionForDisallowedComma),Uo(E,E.statements,E.expression.end)}function kd(E){var Qe=La(88,E.pos,ii,E);Uo(E,E.statements,Qe)}function Uo(E,Qe,nt){var Ot=Qe.length===1&&(e.nodeIsSynthesized(E)||e.nodeIsSynthesized(Qe[0])||e.rangeStartPositionsAreOnSameLine(E,Qe[0],ge)),fa=163969;Ot?(Sf(58,nt,Ln,E),Dn(),fa&=-130):La(58,nt,Ln,E),mo(E,Qe,fa)}function $f(E){Dn(),Mc(E.token,ii),Dn(),mo(E,E.types,528)}function Od(E){var Qe=La(83,E.pos,ii,E);Dn(),E.variableDeclaration&&(La(20,Qe,Ln,E),Vr(E.variableDeclaration),La(21,E.variableDeclaration.end,Ln,E),Dn()),Vr(E.block)}function Rd(E){Vr(E.name),Ln(\":\"),Dn();var Qe=E.initializer;if((e.getEmitFlags(Qe)&512)===0){var nt=e.getCommentRange(Qe);Wu(nt.pos)}xr(Qe,tt.parenthesizeExpressionForDisallowedComma)}function Xp(E){Vr(E.name),E.objectAssignmentInitializer&&(Dn(),Ln(\"=\"),Dn(),xr(E.objectAssignmentInitializer,tt.parenthesizeExpressionForDisallowedComma))}function yp(E){E.expression&&(La(25,E.pos,Ln,E),xr(E.expression,tt.parenthesizeExpressionForDisallowedComma))}function Xl(E){Vr(E.name),nd(E.initializer,E.name.end,E,tt.parenthesizeExpressionForDisallowedComma)}function C_(E){if(De(\"/**\"),E.comment){var Qe=e.getTextOfJSDocComment(E.comment);if(Qe)for(var nt=Qe.split(/\\r\\n?|\\n/g),Ot=0,fa=nt;Ot<fa.length;Ot++){var Oa=fa[Ot];fs(),Dn(),Ln(\"*\"),Dn(),De(Oa)}}E.tags&&(E.tags.length===1&&E.tags[0].kind===341&&!E.comment?(Dn(),Vr(E.tags[0])):mo(E,E.tags,33)),Dn(),De(\"*/\")}function ed(E){fu(E.tagName),mc(E.typeExpression),_c(E.comment)}function bp(E){fu(E.tagName),Vr(E.name),_c(E.comment)}function wd(E){Dn(),Ln(\"{\"),Vr(E.name),Ln(\"}\")}function Md(E){fu(E.tagName),Dn(),Ln(\"{\"),Vr(E.class),Ln(\"}\"),_c(E.comment)}function Pd(E){fu(E.tagName),mc(E.constraint),Dn(),mo(E,E.typeParameters,528),_c(E.comment)}function Fd(E){fu(E.tagName),E.typeExpression&&(E.typeExpression.kind===307?mc(E.typeExpression):(Dn(),Ln(\"{\"),De(\"Object\"),E.typeExpression.isArrayType&&(Ln(\"[\"),Ln(\"]\")),Ln(\"}\"))),E.fullName&&(Dn(),Vr(E.fullName)),_c(E.comment),E.typeExpression&&E.typeExpression.kind===320&&Gd(E.typeExpression)}function Ep(E){fu(E.tagName),E.name&&(Dn(),Vr(E.name)),_c(E.comment),Qp(E.typeExpression)}function Yp(E){fu(E.tagName),_c(E.comment)}function Gd(E){mo(E,e.factory.createNodeArray(E.jsDocPropertyTags),33)}function Qp(E){E.typeParameters&&mo(E,e.factory.createNodeArray(E.typeParameters),33),E.parameters&&mo(E,e.factory.createNodeArray(E.parameters),33),E.type&&(fs(),Dn(),Ln(\"*\"),Dn(),Vr(E.type))}function Bd(E){fu(E.tagName),mc(E.typeExpression),Dn(),E.isBracketed&&Ln(\"[\"),Vr(E.name),E.isBracketed&&Ln(\"]\"),_c(E.comment)}function fu(E){Ln(\"@\"),Vr(E)}function _c(E){var Qe=e.getTextOfJSDocComment(E);Qe&&(Dn(),De(Qe))}function mc(E){E&&(Dn(),Ln(\"{\"),Vr(E.type),Ln(\"}\"))}function ec(E){fs();var Qe=E.statements;if(Uu){var nt=Qe.length===0||!e.isPrologueDirective(Qe[0])||e.nodeIsSynthesized(Qe[0]);if(nt){Uu(E,Qe,Sp);return}}Sp(E)}function Ud(E){Tp(!!E.hasNoDefaultLib,E.syntheticFileReferences||[],E.syntheticTypeReferences||[],E.syntheticLibReferences||[]);for(var Qe=0,nt=E.prepends;Qe<nt.length;Qe++){var Ot=nt[Qe];if(e.isUnparsedSource(Ot)&&Ot.syntheticReferences)for(var fa=0,Oa=Ot.syntheticReferences;fa<Oa.length;fa++){var ia=Oa[fa];Vr(ia),fs()}}}function bf(E){E.isDeclarationFile&&Tp(E.hasNoDefaultLib,E.referencedFiles,E.typeReferenceDirectives,E.libReferenceDirectives)}function Tp(E,Qe,nt,Ot){if(E){var fa=qe.getTextPos();sl('/// <reference no-default-lib=\"true\"/>'),Ye&&Ye.sections.push({pos:fa,end:qe.getTextPos(),kind:\"no-default-lib\"}),fs()}if(ge&&ge.moduleName&&(sl('/// <amd-module name=\"'.concat(ge.moduleName,'\" />')),fs()),ge&&ge.amdDependencies)for(var Oa=0,ia=ge.amdDependencies;Oa<ia.length;Oa++){var ti=ia[Oa];ti.name?sl('/// <amd-dependency name=\"'.concat(ti.name,'\" path=\"').concat(ti.path,'\" />')):sl('/// <amd-dependency path=\"'.concat(ti.path,'\" />')),fs()}for(var Na=0,Ua=Qe;Na<Ua.length;Na++){var Go=Ua[Na],fa=qe.getTextPos();sl('/// <reference path=\"'.concat(Go.fileName,'\" />')),Ye&&Ye.sections.push({pos:fa,end:qe.getTextPos(),kind:\"reference\",data:Go.fileName}),fs()}for(var cl=0,os=nt;cl<os.length;cl++){var Go=os[cl],fa=qe.getTextPos();sl('/// <reference types=\"'.concat(Go.fileName,'\" />')),Ye&&Ye.sections.push({pos:fa,end:qe.getTextPos(),kind:\"type\",data:Go.fileName}),fs()}for(var is=0,Vl=Ot;is<Vl.length;is++){var Go=Vl[is],fa=qe.getTextPos();sl('/// <reference lib=\"'.concat(Go.fileName,'\" />')),Ye&&Ye.sections.push({pos:fa,end:qe.getTextPos(),kind:\"lib\",data:Go.fileName}),fs()}}function Sp(E){var Qe=E.statements;Gl(E),e.forEach(E.statements,Ga),na(E);var nt=e.findIndex(Qe,function(Ot){return!e.isPrologueDirective(Ot)});bf(E),mo(E,Qe,1,void 0,nt===-1?Qe.length:nt),Kc(E)}function Ef(E){xr(E.expression)}function Zp(E){Dl(E,E.elements,528,void 0)}function Vd(E,Qe,nt,Ot){for(var fa=!!Qe,Oa=0;Oa<E.length;Oa++){var ia=E[Oa];if(e.isPrologueDirective(ia)){var ti=nt?!nt.has(ia.expression.text):!0;if(ti){fa&&(fa=!1,fr(Qe)),fs();var Na=qe.getTextPos();Vr(ia),Ot&&Ye&&Ye.sections.push({pos:Na,end:qe.getTextPos(),kind:\"prologue\",data:ia.expression.text}),nt&&nt.add(ia.expression.text)}}else return Oa}return E.length}function rd(E,Qe){for(var nt=0,Ot=E;nt<Ot.length;nt++){var fa=Ot[nt];if(!Qe.has(fa.data)){fs();var Oa=qe.getTextPos();Vr(fa),Ye&&Ye.sections.push({pos:Oa,end:qe.getTextPos(),kind:\"prologue\",data:fa.data}),Qe&&Qe.add(fa.data)}}}function td(E){if(e.isSourceFile(E))Vd(E.statements,E);else{for(var Qe=new e.Set,nt=0,Ot=E.prepends;nt<Ot.length;nt++){var fa=Ot[nt];rd(fa.prologues,Qe)}for(var Oa=0,ia=E.sourceFiles;Oa<ia.length;Oa++){var ti=ia[Oa];Vd(ti.statements,ti,Qe,!0)}fr(void 0)}}function Ru(E){for(var Qe=new e.Set,nt,Ot=0;Ot<E.sourceFiles.length;Ot++){for(var fa=E.sourceFiles[Ot],Oa=void 0,ia=0,ti=0,Na=fa.statements;ti<Na.length;ti++){var Ua=Na[ti];if(!e.isPrologueDirective(Ua))break;Qe.has(Ua.expression.text)||(Qe.add(Ua.expression.text),(Oa||(Oa=[])).push({pos:Ua.pos,end:Ua.end,expression:{pos:Ua.expression.pos,end:Ua.expression.end,text:Ua.expression.text}}),ia=ia<Ua.end?Ua.end:ia)}Oa&&(nt||(nt=[])).push({file:Ot,text:fa.text.substring(0,ia),directives:Oa})}return nt}function wu(E){if(e.isSourceFile(E)||e.isUnparsedSource(E)){var Qe=e.getShebang(E.text);if(Qe)return sl(Qe),fs(),!0}else{for(var nt=0,Ot=E.prepends;nt<Ot.length;nt++){var fa=Ot[nt];if(e.Debug.assertNode(fa,e.isUnparsedSource),wu(fa))return!0}for(var Oa=0,ia=E.sourceFiles;Oa<ia.length;Oa++){var ti=ia[Oa];if(wu(ti))return!0}}}function Mu(E,Qe){if(!!E){var nt=De;De=Qe,Vr(E),De=nt}}function js(E,Qe){Qe&&Qe.length&&(mo(E,Qe,262656),Dn())}function gc(E){E&&(Ln(\":\"),Dn(),Vr(E))}function nd(E,Qe,nt,Ot){E&&(Dn(),La(63,Qe,Rc,nt),Dn(),xr(E,Ot))}function x_(E,Qe,nt,Ot){nt&&(Qe(E),Ot(nt))}function ad(E){E&&(Dn(),Vr(E))}function Pu(E,Qe){E&&(Dn(),xr(E,Qe))}function I_(E){E&&(Vr(E),Dn())}function vc(E,Qe){e.isBlock(Qe)||e.getEmitFlags(E)&1?(Dn(),Vr(Qe)):(fs(),wc(),e.isEmptyStatement(Qe)?vt(5,Qe):Vr(Qe),Hs())}function Pl(E,Qe){mo(E,Qe,2146305)}function Sl(E,Qe){mo(E,Qe,53776,tt.parenthesizeMemberOfElementType)}function Fl(E,Qe){if(e.isFunctionLike(E)&&E.typeArguments)return Sl(E,E.typeArguments);mo(E,Qe,53776)}function pl(E,Qe){mo(E,Qe,2576)}function Dp(E,Qe){var nt=e.singleOrUndefined(Qe);return nt&&nt.pos===E.pos&&e.isArrowFunction(E)&&!E.type&&!e.some(E.decorators)&&!e.some(E.modifiers)&&!e.some(E.typeParameters)&&!e.some(nt.decorators)&&!e.some(nt.modifiers)&&!nt.dotDotDotToken&&!nt.questionToken&&!nt.type&&!nt.initializer&&e.isIdentifier(nt.name)}function Tf(E,Qe){Dp(E,Qe)?mo(E,Qe,528):pl(E,Qe)}function Wd(E,Qe){mo(E,Qe,8848)}function id(E){switch(E&60){case 0:break;case 16:Ln(\",\");break;case 4:Dn(),Ln(\"|\");break;case 32:Dn(),Ln(\"*\"),Dn();break;case 8:Dn(),Ln(\"&\");break}}function mo(E,Qe,nt,Ot,fa,Oa){wo(Vr,E,Qe,nt,Ot,fa,Oa)}function Dl(E,Qe,nt,Ot,fa,Oa){wo(xr,E,Qe,nt,Ot,fa,Oa)}function wo(E,Qe,nt,Ot,fa,Oa,ia){Oa===void 0&&(Oa=0),ia===void 0&&(ia=nt?nt.length-Oa:0);var ti=nt===void 0;if(!(ti&&Ot&16384)){var Na=nt===void 0||Oa>=nt.length||ia===0;if(Na&&Ot&32768){j&&j(nt),Se&&Se(nt);return}if(Ot&15360&&(Ln(re(Ot)),Na&&nt&&Wu(nt.pos,!0)),j&&j(nt),Na)Ot&1&&!(_e&&(!Qe||e.rangeIsOnSingleLine(Qe,ge)))?fs():Ot&256&&!(Ot&524288)&&Dn();else{e.Debug.type(nt);var Ua=(Ot&262144)===0,Go=Ua,cl=ll(Qe,nt,Ot);cl?(fs(cl),Go=!1):Ot&256&&Dn(),Ot&128&&wc();for(var os=void 0,is=void 0,Vl=!1,Zc=0;Zc<ia;Zc++){var $c=nt[Oa+Zc];if(Ot&32)fs(),id(Ot);else if(os){Ot&60&&os.end!==(Qe?Qe.end:-1)&&Xc(os.end),id(Ot),je(is);var md=e_(os,$c,Ot);md>0?((Ot&131)===0&&(wc(),Vl=!0),fs(md),Go=!1):os&&Ot&512&&Dn()}if(is=fe($c),Go){if(Wu){var t_=e.getCommentRange($c);Wu(t_.pos)}}else Go=Ua;Le=$c.pos,E.length===1?E($c):E($c,fa),Vl&&(Hs(),Vl=!1),os=$c}var tf=os?e.getEmitFlags(os):0,Pf=pr||!!(tf&1024),n_=(nt==null?void 0:nt.hasTrailingComma)&&Ot&64&&Ot&16;n_&&(os&&!Pf?La(27,os.end,Ln,os):Ln(\",\")),os&&(Qe?Qe.end:-1)!==os.end&&Ot&60&&!Pf&&Xc(n_&&(nt==null?void 0:nt.end)?nt.end:os.end),Ot&128&&Hs(),je(is);var gd=Fu(Qe,nt,Ot);gd?fs(gd):Ot&2097408&&Dn()}Se&&Se(nt),Ot&15360&&(Na&&nt&&Xc(nt.end),Ln(T(Ot)))}}function ms(E){qe.writeLiteral(E)}function $p(E){qe.writeStringLiteral(E)}function Yl(E){qe.write(E)}function od(E,Qe){qe.writeSymbol(E,Qe)}function Ln(E){qe.writePunctuation(E)}function us(){qe.writeTrailingSemicolon(\";\")}function ii(E){qe.writeKeyword(E)}function Rc(E){qe.writeOperator(E)}function sd(E){qe.writeParameter(E)}function sl(E){qe.writeComment(E)}function Dn(){qe.writeSpace(\" \")}function N_(E){qe.writeProperty(E)}function rs(E){qe.nonEscapingWrite?qe.nonEscapingWrite(E):qe.write(E)}function fs(E){E===void 0&&(E=1);for(var Qe=0;Qe<E;Qe++)qe.writeLine(Qe>0)}function wc(){qe.increaseIndent()}function Hs(){qe.decreaseIndent()}function Sf(E,Qe,nt,Ot){return kr?Mc(E,nt,Qe):_d(Ot,E,nt,Qe,Mc)}function ws(E,Qe){Ce&&Ce(E),Qe(e.tokenToString(E.kind)),R&&R(E)}function Mc(E,Qe,nt){var Ot=e.tokenToString(E);return Qe(Ot),nt<0?nt:nt+Ot.length}function Qu(E,Qe,nt){if(e.getEmitFlags(E)&1)Dn();else if(_e){var Ot=yc(E,Qe,nt);Ot?fs(Ot):Dn()}else fs()}function Df(E){for(var Qe=E.split(/\\r\\n?|\\n/g),nt=e.guessIndentation(Qe),Ot=0,fa=Qe;Ot<fa.length;Ot++){var Oa=fa[Ot],ia=nt?Oa.slice(nt):Oa;ia.length&&(fs(),De(ia))}}function hc(E,Qe){E?(wc(),fs(E)):Qe&&Dn()}function Lf(E,Qe){E&&Hs(),Qe&&Hs()}function ll(E,Qe,nt){if(nt&2||_e){if(nt&65536)return 1;var Ot=Qe[0];if(Ot===void 0)return!E||e.rangeIsOnSingleLine(E,ge)?0:1;if(Ot.pos===Le||Ot.kind===11)return 0;if(E&&!e.positionIsSynthesized(E.pos)&&!e.nodeIsSynthesized(Ot)&&(!Ot.parent||e.getOriginalNode(Ot.parent)===e.getOriginalNode(E)))return _e?Af(function(fa){return e.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter(Ot.pos,E.pos,ge,fa)}):e.rangeStartPositionsAreOnSameLine(E,Ot,ge)?0:1;if(Cf(Ot,nt))return 1}return nt&1?1:0}function e_(E,Qe,nt){if(nt&2||_e){if(E===void 0||Qe===void 0||Qe.kind===11)return 0;if(!e.nodeIsSynthesized(E)&&!e.nodeIsSynthesized(Qe))return _e&&ef(E,Qe)?Af(function(Ot){return e.getLinesBetweenRangeEndAndRangeStart(E,Qe,ge,Ot)}):!_e&&Xd(E,Qe)?e.rangeEndIsOnSameLineAsRangeStart(E,Qe,ge)?0:1:nt&65536?1:0;if(Cf(E,nt)||Cf(Qe,nt))return 1}else if(e.getStartsOnNewLine(Qe))return 1;return nt&1?1:0}function Fu(E,Qe,nt){if(nt&2||_e){if(nt&65536)return 1;var Ot=e.lastOrUndefined(Qe);if(Ot===void 0)return!E||e.rangeIsOnSingleLine(E,ge)?0:1;if(E&&!e.positionIsSynthesized(E.pos)&&!e.nodeIsSynthesized(Ot)&&(!Ot.parent||Ot.parent===E)){if(_e){var fa=e.isNodeArray(Qe)&&!e.positionIsSynthesized(Qe.end)?Qe.end:Ot.end;return Af(function(Oa){return e.getLinesBetweenPositionAndNextNonWhitespaceCharacter(fa,E.end,ge,Oa)})}return e.rangeEndPositionsAreOnSameLine(E,Ot,ge)?0:1}if(Cf(Ot,nt))return 1}return nt&1&&!(nt&131072)?1:0}function Af(E){e.Debug.assert(!!_e);var Qe=E(!0);return Qe===0?E(!1):Qe}function ld(E,Qe){var nt=_e&&ll(Qe,[E],0);return nt&&hc(nt,!1),!!nt}function cd(E,Qe){var nt=_e&&Fu(Qe,[E],0);nt&&fs(nt)}function Cf(E,Qe){if(e.nodeIsSynthesized(E)){var nt=e.getStartsOnNewLine(E);return nt===void 0?(Qe&65536)!==0:nt}return(Qe&65536)!==0}function yc(E,Qe,nt){return e.getEmitFlags(E)&131072?0:(E=xf(E),Qe=xf(Qe),nt=xf(nt),e.getStartsOnNewLine(nt)?1:!e.nodeIsSynthesized(E)&&!e.nodeIsSynthesized(Qe)&&!e.nodeIsSynthesized(nt)?_e?Af(function(Ot){return e.getLinesBetweenRangeEndAndRangeStart(Qe,nt,ge,Ot)}):e.rangeEndIsOnSameLineAsRangeStart(Qe,nt,ge)?0:1:0)}function ud(E){return E.statements.length===0&&e.rangeEndIsOnSameLineAsRangeStart(E,E,ge)}function xf(E){for(;E.kind===211&&e.nodeIsSynthesized(E);)E=E.expression;return E}function Gu(E,Qe){return e.isGeneratedIdentifier(E)?jd(E):(e.isIdentifier(E)||e.isPrivateIdentifier(E))&&(e.nodeIsSynthesized(E)||!E.parent||!ge||E.parent&&ge&&e.getSourceFileOfNode(E)!==e.getOriginalNode(ge))?e.idText(E):E.kind===10&&E.textSourceNode?Gu(E.textSourceNode,Qe):e.isLiteralExpression(E)&&(e.nodeIsSynthesized(E)||!E.parent)?E.text:e.getSourceTextOfNodeFromSourceFile(ge,E,Qe)}function Js(E,Qe,nt){if(E.kind===10&&E.textSourceNode){var Ot=E.textSourceNode;if(e.isIdentifier(Ot)||e.isNumericLiteral(Ot)){var fa=e.isNumericLiteral(Ot)?Ot.text:Gu(Ot);return nt?'\"'.concat(e.escapeJsxAttributeString(fa),'\"'):Qe||e.getEmitFlags(E)&16777216?'\"'.concat(e.escapeString(fa),'\"'):'\"'.concat(e.escapeNonAsciiString(fa),'\"')}else return Js(Ot,Qe,nt)}var Oa=(Qe?1:0)|(nt?2:0)|(y.terminateUnterminatedLiterals?4:0)|(y.target&&y.target===99?8:0);return e.getLiteralText(E,ge,Oa)}function Gl(E){E&&e.getEmitFlags(E)&524288||(Ge.push(he),he=0,ve.push(Ve))}function Kc(E){E&&e.getEmitFlags(E)&524288||(he=Ge.pop(),Ve=ve.pop())}function fd(E){(!Ve||Ve===e.lastOrUndefined(ve))&&(Ve=new e.Set),Ve.add(E)}function Ga(E){if(!!E)switch(E.kind){case 234:e.forEach(E.statements,Ga);break;case 249:case 247:case 239:case 240:Ga(E.statement);break;case 238:Ga(E.thenStatement),Ga(E.elseStatement);break;case 241:case 243:case 242:Ga(E.initializer),Ga(E.statement);break;case 248:Ga(E.caseBlock);break;case 262:e.forEach(E.clauses,Ga);break;case 288:case 289:e.forEach(E.statements,Ga);break;case 251:Ga(E.tryBlock),Ga(E.catchClause),Ga(E.finallyBlock);break;case 291:Ga(E.variableDeclaration),Ga(E.block);break;case 236:Ga(E.declarationList);break;case 254:e.forEach(E.declarations,Ga);break;case 253:case 163:case 202:case 256:Ts(E.name);break;case 255:Ts(E.name),e.getEmitFlags(E)&524288&&(e.forEach(E.parameters,Ga),Ga(E.body));break;case 200:case 201:e.forEach(E.elements,Ga);break;case 265:Ga(E.importClause);break;case 266:Ts(E.name),Ga(E.namedBindings);break;case 267:Ts(E.name);break;case 273:Ts(E.name);break;case 268:e.forEach(E.elements,Ga);break;case 269:Ts(E.propertyName||E.name);break}}function wn(E){if(!!E)switch(E.kind){case 294:case 295:case 166:case 168:case 171:case 172:Ts(E.name);break}}function Ts(E){E&&(e.isGeneratedIdentifier(E)?jd(E):e.isBindingPattern(E)&&Ga(E))}function jd(E){if((E.autoGenerateFlags&7)===4)return rc(Nf(E),E.autoGenerateFlags);var Qe=E.autoGenerateId;return Pe[Qe]||(Pe[Qe]=nc(E))}function rc(E,Qe){var nt=e.getNodeId(E);return ke[nt]||(ke[nt]=Kd(E,Qe))}function Zu(E){return zc(E)&&!Ie.has(E)&&!(Ve&&Ve.has(E))}function zc(E){return ge?e.isFileLevelUniqueName(ge,E,C):!0}function Hd(E,Qe){for(var nt=Qe;e.isNodeDescendantOf(nt,Qe);nt=nt.nextContainer)if(nt.locals){var Ot=nt.locals.get(e.escapeLeadingUnderscores(E));if(Ot&&Ot.flags&3257279)return!1}return!0}function Ll(E,Qe){if(E&&!(he&E)){var nt=E===268435456?\"_i\":\"_n\";if(Zu(nt))return he|=E,Qe&&fd(nt),nt}for(;;){var Ot=he&268435455;if(he++,Ot!==8&&Ot!==13){var nt=Ot<26?\"_\"+String.fromCharCode(97+Ot):\"_\"+(Ot-26);if(Zu(nt))return Qe&&fd(nt),nt}}}function tc(E,Qe,nt,Ot){if(Qe===void 0&&(Qe=Zu),nt&&Qe(E))return Ot?fd(E):Ie.add(E),E;E.charCodeAt(E.length-1)!==95&&(E+=\"_\");for(var fa=1;;){var Oa=E+fa;if(Qe(Oa))return Ot?fd(Oa):Ie.add(Oa),Oa;fa++}}function If(E){return tc(E,zc,!0)}function $u(E){var Qe=Gu(E.name);return Hd(Qe,E)?Qe:tc(Qe)}function Qs(E){var Qe=e.getExternalModuleName(E),nt=e.isStringLiteral(Qe)?e.makeIdentifierFromModuleName(Qe.text):\"module\";return tc(nt)}function Jd(){return tc(\"default\")}function jo(){return tc(\"class\")}function Bl(E){return e.isIdentifier(E.name)?rc(E.name):Ll(0)}function Kd(E,Qe){switch(E.kind){case 79:return tc(Gu(E),Zu,!!(Qe&16),!!(Qe&8));case 260:case 259:return $u(E);case 265:case 271:return Qs(E);case 255:case 256:case 270:return Jd();case 225:return jo();case 168:case 171:case 172:return Bl(E);case 161:return Ll(0,!0);default:return Ll(0)}}function nc(E){switch(E.autoGenerateFlags&7){case 1:return Ll(0,!!(E.autoGenerateFlags&8));case 2:return Ll(268435456,!!(E.autoGenerateFlags&8));case 3:return tc(e.idText(E),E.autoGenerateFlags&32?zc:Zu,!!(E.autoGenerateFlags&16),!!(E.autoGenerateFlags&8))}return e.Debug.fail(\"Unsupported GeneratedIdentifierKind.\")}function Nf(E){for(var Qe=E.autoGenerateId,nt=E,Ot=nt.original;Ot&&(nt=Ot,!(e.isIdentifier(nt)&&!!(nt.autoGenerateFlags&4)&&nt.autoGenerateId!==Qe));)Ot=nt.original;return nt}function Bu(E,Qe){var nt=wt(2,E,Qe),Ot=de,fa=Fe,Oa=$e;dd(Qe),nt(E,Qe),zd(Qe,Ot,fa,Oa)}function dd(E){var Qe=e.getEmitFlags(E),nt=e.getCommentRange(E);Al(E,Qe,nt.pos,nt.end),Qe&2048&&(pr=!0)}function zd(E,Qe,nt,Ot){var fa=e.getEmitFlags(E),Oa=e.getCommentRange(E);fa&2048&&(pr=!1),ts(E,fa,Oa.pos,Oa.end,Qe,nt,Ot)}function Al(E,Qe,nt,Ot){Yr(),He=!1;var fa=nt<0||(Qe&512)!==0||E.kind===11,Oa=Ot<0||(Qe&1024)!==0||E.kind===11;(nt>0||Ot>0)&&nt!==Ot&&(fa||Of(nt,E.kind!==347),(!fa||nt>=0&&(Qe&512)!==0)&&(de=nt),(!Oa||Ot>=0&&(Qe&1024)!==0)&&(Fe=Ot,E.kind===254&&($e=Ot))),e.forEach(e.getSyntheticLeadingComments(E),du),lt()}function ts(E,Qe,nt,Ot,fa,Oa,ia){Yr();var ti=Ot<0||(Qe&1024)!==0||E.kind===11;e.forEach(e.getSyntheticTrailingComments(E),qd),(nt>0||Ot>0)&&nt!==Ot&&(de=fa,Fe=Oa,$e=ia,!ti&&E.kind!==347&&Yd(Ot)),lt()}function du(E){(E.hasLeadingNewline||E.kind===2)&&qe.writeLine(),ac(E),E.hasTrailingNewLine||E.kind===2?qe.writeLine():qe.writeSpace(\" \")}function qd(E){qe.isAtStartOfLine()||qe.writeSpace(\" \"),ac(E),E.hasTrailingNewLine&&qe.writeLine()}function ac(E){var Qe=kf(E),nt=E.kind===3?e.computeLineStarts(Qe):void 0;e.writeCommentRange(Qe,nt,qe,0,Qe.length,U)}function kf(E){return E.kind===3?\"/*\".concat(E.text,\"*/\"):\"//\".concat(E.text)}function Uu(E,Qe,nt){Yr();var Ot=Qe.pos,fa=Qe.end,Oa=e.getEmitFlags(E),ia=Ot<0||(Oa&512)!==0,ti=pr||fa<0||(Oa&1024)!==0;ia||Zd(Qe),lt(),Oa&2048&&!pr?(pr=!0,nt(E),pr=!1):nt(E),Yr(),ti||(Of(Qe.end,!0),He&&!qe.isAtStartOfLine()&&qe.writeLine()),lt()}function Xd(E,Qe){return E=e.getOriginalNode(E),E.parent&&E.parent===e.getOriginalNode(Qe).parent}function ef(E,Qe){if(Qe.pos<E.end)return!1;E=e.getOriginalNode(E),Qe=e.getOriginalNode(Qe);var nt=E.parent;if(!nt||nt!==Qe.parent)return!1;var Ot=e.getContainingNodeArray(E),fa=Ot==null?void 0:Ot.indexOf(E);return fa!==void 0&&fa>-1&&Ot.indexOf(Qe)===fa+1}function Of(E,Qe){He=!1,Qe?E===0&&(ge==null?void 0:ge.isDeclarationFile)?pu(E,qc):pu(E,Vu):E===0&&pu(E,bc)}function bc(E,Qe,nt,Ot,fa){$d(E,Qe)&&Vu(E,Qe,nt,Ot,fa)}function qc(E,Qe,nt,Ot,fa){$d(E,Qe)||Vu(E,Qe,nt,Ot,fa)}function rf(E,Qe){return y.onlyPrintJsDocStyle?e.isJSDocLikeText(E,Qe)||e.isPinnedComment(E,Qe):!0}function Vu(E,Qe,nt,Ot,fa){!rf(ge.text,E)||(He||(e.emitNewLineBeforeLeadingCommentOfPosition(yt(),qe,fa,E),He=!0),Ul(E),e.writeCommentRange(ge.text,yt(),qe,E,Qe,U),Ul(Qe),Ot?qe.writeLine():nt===3&&qe.writeSpace(\" \"))}function Xc(E){pr||E===-1||Of(E,!0)}function Yd(E){gn(E,Ec)}function Ec(E,Qe,nt,Ot){!rf(ge.text,E)||(qe.isAtStartOfLine()||qe.writeSpace(\" \"),Ul(E),e.writeCommentRange(ge.text,yt(),qe,E,Qe,U),Ul(Qe),Ot&&qe.writeLine())}function Wu(E,Qe,nt){pr||(Yr(),gn(E,Qe?Ec:nt?r_:Wa),lt())}function r_(E,Qe,nt){Ul(E),e.writeCommentRange(ge.text,yt(),qe,E,Qe,U),Ul(Qe),nt===2&&qe.writeLine()}function Wa(E,Qe,nt,Ot){Ul(E),e.writeCommentRange(ge.text,yt(),qe,E,Qe,U),Ul(Qe),Ot?qe.writeLine():qe.writeSpace(\" \")}function pu(E,Qe){ge&&(de===-1||E!==de)&&(Rf(E)?Qd(Qe):e.forEachLeadingCommentRange(ge.text,E,Qe,E))}function gn(E,Qe){ge&&(Fe===-1||E!==Fe&&E!==$e)&&e.forEachTrailingCommentRange(ge.text,E,Qe)}function Rf(E){return Pr!==void 0&&e.last(Pr).nodePos===E}function Qd(E){var Qe=e.last(Pr).detachedCommentEndPos;Pr.length-1?Pr.pop():Pr=void 0,e.forEachLeadingCommentRange(ge.text,Qe,E,Qe)}function Zd(E){var Qe=e.emitDetachedComments(ge.text,yt(),qe,Pc,E,U,pr);Qe&&(Pr?Pr.push(Qe):Pr=[Qe])}function Pc(E,Qe,nt,Ot,fa,Oa){!rf(ge.text,Ot)||(Ul(Ot),e.writeCommentRange(E,Qe,nt,Ot,fa,Oa),Ul(fa))}function $d(E,Qe){return e.isRecognizedTripleSlashComment(ge.text,E,Qe)}function k_(E){return E.parsedSourceMap===void 0&&E.sourceMapText!==void 0&&(E.parsedSourceMap=e.tryParseRawSourceMap(E.sourceMapText)||!1),E.parsedSourceMap||void 0}function Yc(E,Qe){var nt=wt(3,E,Qe);Lp(Qe),nt(E,Qe),pd(Qe)}function Lp(E){var Qe=e.getEmitFlags(E),nt=e.getSourceMapRange(E);if(e.isUnparsedNode(E)){e.Debug.assertIsDefined(E.parent,\"UnparsedNodes must have parent pointers\");var Ot=k_(E.parent);Ot&&Ke&&Ke.appendSourceMap(qe.getLine(),qe.getColumn(),Ot,E.parent.sourceMapPath,E.parent.getLineAndCharacterOfPosition(E.pos),E.parent.getLineAndCharacterOfPosition(E.end))}else{var fa=nt.source||Me;E.kind!==347&&(Qe&16)===0&&nt.pos>=0&&wf(nt.source||Me,Ap(fa,nt.pos)),Qe&64&&(kr=!0)}}function pd(E){var Qe=e.getEmitFlags(E),nt=e.getSourceMapRange(E);e.isUnparsedNode(E)||(Qe&64&&(kr=!1),E.kind!==347&&(Qe&32)===0&&nt.end>=0&&wf(nt.source||Me,nt.end))}function Ap(E,Qe){return E.skipTrivia?E.skipTrivia(Qe):e.skipTrivia(E.text,Qe)}function Ul(E){if(!(kr||e.positionIsSynthesized(E)||Mf(Me))){var Qe=e.getLineAndCharacterOfPosition(Me,E),nt=Qe.line,Ot=Qe.character;Ke.addMapping(qe.getLine(),qe.getColumn(),Hr,nt,Ot,void 0)}}function wf(E,Qe){if(E!==Me){var nt=Me,Ot=Hr;Fc(E),Ul(Qe),Qc(nt,Ot)}else Ul(Qe)}function _d(E,Qe,nt,Ot,fa){if(kr||E&&e.isInJsonFile(E))return fa(Qe,nt,Ot);var Oa=E&&E.emitNode,ia=Oa&&Oa.flags||0,ti=Oa&&Oa.tokenSourceMapRanges&&Oa.tokenSourceMapRanges[Qe],Na=ti&&ti.source||Me;return Ot=Ap(Na,ti?ti.pos:Ot),(ia&128)===0&&Ot>=0&&wf(Na,Ot),Ot=fa(Qe,nt,Ot),ti&&(Ot=ti.end),(ia&256)===0&&Ot>=0&&wf(Na,Ot),Ot}function Fc(E){if(!kr){if(Me=E,E===ur){Hr=gr;return}Mf(E)||(Hr=Ke.addSource(E.fileName),y.inlineSources&&Ke.setSourceContent(Hr,E.text),ur=E,gr=Hr)}}function Qc(E,Qe){Me=E,Hr=Qe}function Mf(E){return e.fileExtensionIs(E.fileName,\".json\")}}e.createPrinter=Q;function V(){var y=[];return y[1024]=[\"{\",\"}\"],y[2048]=[\"(\",\")\"],y[4096]=[\"<\",\">\"],y[8192]=[\"[\",\"]\"],y}function re(y){return n[y&15360][0]}function T(y){return n[y&15360][1]}var N;(function(y){y[y.Auto=0]=\"Auto\",y[y.CountMask=268435455]=\"CountMask\",y[y._i=268435456]=\"_i\"})(N||(N={}))}(jr||(jr={})),function(e){function n(S,B,H){if(!S.getDirectories||!S.readDirectory)return;var I=new e.Map,w=e.createGetCanonicalFileName(H);return{useCaseSensitiveFileNames:H,fileExists:N,readFile:function(X,j){return S.readFile(X,j)},directoryExists:S.directoryExists&&y,getDirectories:C,readDirectory:m,createDirectory:S.createDirectory&&D,writeFile:S.writeFile&&T,addOrDeleteFileOrDirectory:g,addOrDeleteFile:P,clearCache:ue,realpath:S.realpath&&u};function x(X){return e.toPath(X,B,w)}function O(X){return I.get(e.ensureTrailingDirectorySeparator(X))}function q(X){return O(e.getDirectoryPath(X))}function Z(X){return e.getBaseFileName(e.normalizePath(X))}function ne(X,j){var Se;if(!S.realpath||e.ensureTrailingDirectorySeparator(x(S.realpath(X)))===j){var Ce={files:e.map(S.readDirectory(X,void 0,void 0,[\"*.*\"]),Z)||[],directories:S.getDirectories(X)||[]};return I.set(e.ensureTrailingDirectorySeparator(j),Ce),Ce}if(!((Se=S.directoryExists)===null||Se===void 0)&&Se.call(S,X))return I.set(j,!1),!1}function F(X,j){j=e.ensureTrailingDirectorySeparator(j);var Se=O(j);if(Se)return Se;try{return ne(X,j)}catch{e.Debug.assert(!I.has(e.ensureTrailingDirectorySeparator(j)));return}}function Q(X,j){return w(X)===w(j)}function V(X,j){return e.some(X,function(Se){return Q(Se,j)})}function re(X,j,Se){if(V(X,j)){if(!Se)return e.filterMutate(X,function(Ce){return!Q(Ce,j)})}else if(Se)return X.push(j)}function T(X,j,Se){var Ce=x(X),R=q(Ce);return R&&te(R,Z(X),!0),S.writeFile(X,j,Se)}function N(X){var j=x(X),Se=q(j);return Se&&V(Se.files,Z(X))||S.fileExists(X)}function y(X){var j=x(X);return I.has(e.ensureTrailingDirectorySeparator(j))||S.directoryExists(X)}function D(X){var j=x(X),Se=q(j),Ce=Z(X);Se&&re(Se.directories,Ce,!0),S.createDirectory(X)}function C(X){var j=x(X),Se=F(X,j);return Se?Se.directories.slice():S.getDirectories(X)}function m(X,j,Se,Ce,R){var Y=x(X),U=F(X,Y),K;if(U!==void 0)return e.matchFiles(X,j,Se,Ce,H,B,R,Te,u);return S.readDirectory(X,j,Se,Ce,R);function Te(ke){var Pe=x(ke);if(Pe===Y)return U||ge(ke,Pe);var Ie=F(ke,Pe);return Ie!==void 0?Ie||ge(ke,Pe):e.emptyFileSystemEntries}function ge(ke,Pe){if(K&&Pe===Y)return K;var Ie={files:e.map(S.readDirectory(ke,void 0,void 0,[\"*.*\"]),Z)||e.emptyArray,directories:S.getDirectories(ke)||e.emptyArray};return Pe===Y&&(K=Ie),Ie}}function u(X){return S.realpath?S.realpath(X):X}function g(X,j){var Se=O(j);if(Se!==void 0){ue();return}var Ce=q(j);if(!!Ce){if(!S.directoryExists){ue();return}var R=Z(X),Y={fileExists:S.fileExists(j),directoryExists:S.directoryExists(j)};return Y.directoryExists||V(Ce.directories,R)?ue():te(Ce,R,Y.fileExists),Y}}function P(X,j,Se){if(Se!==e.FileWatcherEventKind.Changed){var Ce=q(j);Ce&&te(Ce,Z(X),Se===e.FileWatcherEventKind.Created)}}function te(X,j,Se){re(X.files,j,Se)}function ue(){I.clear()}}e.createCachedDirectoryStructureHost=n,function(S){S[S.None=0]=\"None\",S[S.Partial=1]=\"Partial\",S[S.Full=2]=\"Full\"}(e.ConfigFileProgramReloadLevel||(e.ConfigFileProgramReloadLevel={}));function f(S,B,H,I,w){var x,O=e.arrayToMap(((x=B==null?void 0:B.configFile)===null||x===void 0?void 0:x.extendedSourceFiles)||e.emptyArray,w);H.forEach(function(q,Z){O.has(Z)||(q.projects.delete(S),q.close())}),O.forEach(function(q,Z){var ne=H.get(Z);ne?ne.projects.add(S):H.set(Z,{projects:new e.Set([S]),watcher:I(q,Z),close:function(){var F=H.get(Z);!F||F.projects.size!==0||(F.watcher.close(),H.delete(Z))}})})}e.updateSharedExtendedConfigFileWatcher=f;function p(S,B){B.forEach(function(H){H.projects.delete(S)&&H.close()})}e.clearSharedExtendedConfigFileWatcher=p;function a(S,B,H){!S.delete(B)||S.forEach(function(I,w){var x,O=I.extendedResult;!((x=O.extendedSourceFiles)===null||x===void 0)&&x.some(function(q){return H(q)===B})&&a(S,w,H)})}e.cleanExtendedConfigCache=a;function d(S,B,H){var I=new e.Map(S);e.mutateMap(B,I,{createNewValue:H,onDeleteValue:e.closeFileWatcher})}e.updatePackageJsonWatch=d;function k(S,B,H){var I=S.getMissingFilePaths(),w=e.arrayToMap(I,e.identity,e.returnTrue);e.mutateMap(B,w,{createNewValue:H,onDeleteValue:e.closeFileWatcher})}e.updateMissingFilePathsWatch=k;function J(S,B,H){e.mutateMap(S,B,{createNewValue:I,onDeleteValue:M,onExistingValue:w});function I(x,O){return{watcher:H(x,O),flags:O}}function w(x,O,q){x.flags!==O&&(x.watcher.close(),S.set(q,I(q,O)))}}e.updateWatchingWildcardDirectories=J;function h(S){var B=S.watchedDirPath,H=S.fileOrDirectory,I=S.fileOrDirectoryPath,w=S.configFileName,x=S.options,O=S.program,q=S.extraFileExtensions,Z=S.currentDirectory,ne=S.useCaseSensitiveFileNames,F=S.writeLog,Q=S.toPath,V=e.removeIgnoredPath(I);if(!V)return F(\"Project: \".concat(w,\" Detected ignored path: \").concat(H)),!0;if(I=V,I===B)return!1;if(e.hasExtension(I)&&!e.isSupportedSourceFileName(H,x,q))return F(\"Project: \".concat(w,\" Detected file add/remove of non supported extension: \").concat(H)),!0;if(e.isExcludedFile(H,x.configFile.configFileSpecs,e.getNormalizedAbsolutePath(e.getDirectoryPath(w),Z),ne,Z))return F(\"Project: \".concat(w,\" Detected excluded file: \").concat(H)),!0;if(!O||e.outFile(x)||x.outDir)return!1;if(e.fileExtensionIs(I,\".d.ts\")){if(x.declarationDir)return!1}else if(!e.fileExtensionIsOneOf(I,e.supportedJSExtensionsFlat))return!1;var re=e.removeFileExtension(I),T=e.isArray(O)?void 0:v(O)?O.getProgramOrUndefined():O,N=!T&&!e.isArray(O)?O:void 0;if(y(re+\".ts\")||y(re+\".tsx\"))return F(\"Project: \".concat(w,\" Detected output file: \").concat(H)),!0;return!1;function y(D){return T?!!T.getSourceFileByPath(D):N?N.getState().fileInfos.has(D):!!e.find(O,function(C){return Q(C)===D})}}e.isIgnoredFileFromWildCardWatching=h;function v(S){return!!S.getState}function A(S,B){return S?S.isEmittedFile(B):!1}e.isEmittedFileOfProgram=A;var z;(function(S){S[S.None=0]=\"None\",S[S.TriggerOnly=1]=\"TriggerOnly\",S[S.Verbose=2]=\"Verbose\"})(z=e.WatchLogLevel||(e.WatchLogLevel={}));function ie(S,B,H,I){e.setSysLog(B===z.Verbose?H:e.noop);var w={watchFile:function(N,y,D,C){return S.watchFile(N,y,D,C)},watchDirectory:function(N,y,D,C){return S.watchDirectory(N,y,(D&1)!==0,C)}},x=B!==z.None?{watchFile:re(\"watchFile\"),watchDirectory:re(\"watchDirectory\")}:void 0,O=B===z.Verbose?{watchFile:Q,watchDirectory:V}:x||w,q=B===z.Verbose?F:e.returnNoopFileWatcher;return{watchFile:Z(\"watchFile\"),watchDirectory:Z(\"watchDirectory\")};function Z(N){return function(y,D,C,m,u,g){var P;return e.matchesExclude(y,N===\"watchFile\"?m==null?void 0:m.excludeFiles:m==null?void 0:m.excludeDirectories,ne(),((P=S.getCurrentDirectory)===null||P===void 0?void 0:P.call(S))||\"\")?q(y,C,m,u,g):O[N].call(void 0,y,D,C,m,u,g)}}function ne(){return typeof S.useCaseSensitiveFileNames==\"boolean\"?S.useCaseSensitiveFileNames:S.useCaseSensitiveFileNames()}function F(N,y,D,C,m){return H(\"ExcludeWatcher:: Added:: \".concat(T(N,y,D,C,m,I))),{close:function(){return H(\"ExcludeWatcher:: Close:: \".concat(T(N,y,D,C,m,I)))}}}function Q(N,y,D,C,m,u){H(\"FileWatcher:: Added:: \".concat(T(N,D,C,m,u,I)));var g=x.watchFile(N,y,D,C,m,u);return{close:function(){H(\"FileWatcher:: Close:: \".concat(T(N,D,C,m,u,I))),g.close()}}}function V(N,y,D,C,m,u){var g=\"DirectoryWatcher:: Added:: \".concat(T(N,D,C,m,u,I));H(g);var P=e.timestamp(),te=x.watchDirectory(N,y,D,C,m,u),ue=e.timestamp()-P;return H(\"Elapsed:: \".concat(ue,\"ms \").concat(g)),{close:function(){var X=\"DirectoryWatcher:: Close:: \".concat(T(N,D,C,m,u,I));H(X);var j=e.timestamp();te.close();var Se=e.timestamp()-j;H(\"Elapsed:: \".concat(Se,\"ms \").concat(X))}}}function re(N){return function(y,D,C,m,u,g){return w[N].call(void 0,y,function(){for(var P=[],te=0;te<arguments.length;te++)P[te]=arguments[te];var ue=\"\".concat(N===\"watchFile\"?\"FileWatcher\":\"DirectoryWatcher\",\":: Triggered with \").concat(P[0],\" \").concat(P[1]!==void 0?P[1]:\"\",\":: \").concat(T(y,C,m,u,g,I));H(ue);var X=e.timestamp();D.call.apply(D,Gt([void 0],P,!1));var j=e.timestamp()-X;H(\"Elapsed:: \".concat(j,\"ms \").concat(ue))},C,m,u,g)}}function T(N,y,D,C,m,u){return\"WatchInfo: \".concat(N,\" \").concat(y,\" \").concat(JSON.stringify(D),\" \").concat(u?u(C,m):m===void 0?C:\"\".concat(C,\" \").concat(m))}}e.getWatchFactory=ie;function b(S){var B=S==null?void 0:S.fallbackPolling;return{watchFile:B!==void 0?B:e.WatchFileKind.PriorityPollingInterval}}e.getFallbackOptions=b;function M(S){S.watcher.close()}e.closeFileWatcherOf=M}(jr||(jr={})),function(e){function n(K,Te,ge){return ge===void 0&&(ge=\"tsconfig.json\"),e.forEachAncestorDirectory(K,function(ke){var Pe=e.combinePaths(ke,ge);return Te(Pe)?Pe:void 0})}e.findConfigFile=n;function f(K,Te){var ge=e.getDirectoryPath(Te),ke=e.isRootedDiskPath(K)?K:e.combinePaths(ge,K);return e.normalizePath(ke)}e.resolveTripleslashReference=f;function p(K,Te,ge){var ke,Pe=e.forEach(K,function(Ie){var Ge=e.getNormalizedPathComponents(Ie,Te);if(Ge.pop(),!ke){ke=Ge;return}for(var he=Math.min(ke.length,Ge.length),ve=0;ve<he;ve++)if(ge(ke[ve])!==ge(Ge[ve])){if(ve===0)return!0;ke.length=ve;break}Ge.length<ke.length&&(ke.length=Ge.length)});return Pe?\"\":ke?e.getPathFromPathComponents(ke):Te}e.computeCommonSourceDirectoryOfFilenames=p;function a(K,Te){return d(K,Te)}e.createCompilerHost=a;function d(K,Te,ge){ge===void 0&&(ge=e.sys);var ke=new e.Map,Pe=e.createGetCanonicalFileName(ge.useCaseSensitiveFileNames),Ie=e.maybeBind(ge,ge.createHash)||e.generateDjb2Hash;function Ge(Ae,Ye,Dr){var br;try{e.performance.mark(\"beforeIORead\"),br=De.readFile(Ae),e.performance.mark(\"afterIORead\"),e.performance.measure(\"I/O Read\",\"beforeIORead\",\"afterIORead\")}catch(lr){Dr&&Dr(lr.message),br=\"\"}return br!==void 0?e.createSourceFile(Ae,br,Ye,Te):void 0}function he(Ae){return ke.has(Ae)?!0:(De.directoryExists||ge.directoryExists)(Ae)?(ke.set(Ae,!0),!0):!1}function ve(Ae,Ye,Dr,br){try{e.performance.mark(\"beforeIOWrite\"),e.writeFileEnsuringDirectories(Ae,Ye,Dr,function(lr,Ar,kr){return _e(lr,Ar,kr)},function(lr){return(De.createDirectory||ge.createDirectory)(lr)},function(lr){return he(lr)}),e.performance.mark(\"afterIOWrite\"),e.performance.measure(\"I/O Write\",\"beforeIOWrite\",\"afterIOWrite\")}catch(lr){br&&br(lr.message)}}var Ve;function _e(Ae,Ye,Dr){if(!e.isWatchSet(K)||!ge.getModifiedTime){ge.writeFile(Ae,Ye,Dr);return}Ve||(Ve=new e.Map);var br=Ie(Ye),lr=ge.getModifiedTime(Ae);if(lr){var Ar=Ve.get(Ae);if(Ar&&Ar.byteOrderMark===Dr&&Ar.hash===br&&Ar.mtime.getTime()===lr.getTime())return}ge.writeFile(Ae,Ye,Dr);var kr=ge.getModifiedTime(Ae)||e.missingFileModifiedTime;Ve.set(Ae,{hash:br,byteOrderMark:Dr,mtime:kr})}function Le(){return e.getDirectoryPath(e.normalizePath(ge.getExecutingFilePath()))}var qe=e.getNewLineCharacter(K,function(){return ge.newLine}),Xe=ge.realpath&&function(Ae){return ge.realpath(Ae)},De={getSourceFile:Ge,getDefaultLibLocation:Le,getDefaultLibFileName:function(Ae){return e.combinePaths(Le(),e.getDefaultLibFileName(Ae))},writeFile:ve,getCurrentDirectory:e.memoize(function(){return ge.getCurrentDirectory()}),useCaseSensitiveFileNames:function(){return ge.useCaseSensitiveFileNames},getCanonicalFileName:Pe,getNewLine:function(){return qe},fileExists:function(Ae){return ge.fileExists(Ae)},readFile:function(Ae){return ge.readFile(Ae)},trace:function(Ae){return ge.write(Ae+qe)},directoryExists:function(Ae){return ge.directoryExists(Ae)},getEnvironmentVariable:function(Ae){return ge.getEnvironmentVariable?ge.getEnvironmentVariable(Ae):\"\"},getDirectories:function(Ae){return ge.getDirectories(Ae)},realpath:Xe,readDirectory:function(Ae,Ye,Dr,br,lr){return ge.readDirectory(Ae,Ye,Dr,br,lr)},createDirectory:function(Ae){return ge.createDirectory(Ae)},createHash:e.maybeBind(ge,ge.createHash)};return De}e.createCompilerHostWorker=d;function k(K,Te,ge){var ke=K.readFile,Pe=K.fileExists,Ie=K.directoryExists,Ge=K.createDirectory,he=K.writeFile,ve=new e.Map,Ve=new e.Map,_e=new e.Map,Le=new e.Map,qe=function(Ae){var Ye=Te(Ae),Dr=ve.get(Ye);return Dr!==void 0?Dr!==!1?Dr:void 0:Xe(Ye,Ae)},Xe=function(Ae,Ye){var Dr=ke.call(K,Ye);return ve.set(Ae,Dr!==void 0?Dr:!1),Dr};K.readFile=function(Ae){var Ye=Te(Ae),Dr=ve.get(Ye);return Dr!==void 0?Dr!==!1?Dr:void 0:!e.fileExtensionIs(Ae,\".json\")&&!e.isBuildInfoFile(Ae)?ke.call(K,Ae):Xe(Ye,Ae)};var De=ge?function(Ae,Ye,Dr,br){var lr=Te(Ae),Ar=Le.get(lr);if(Ar)return Ar;var kr=ge(Ae,Ye,Dr,br);return kr&&(e.isDeclarationFileName(Ae)||e.fileExtensionIs(Ae,\".json\"))&&Le.set(lr,kr),kr}:void 0;return K.fileExists=function(Ae){var Ye=Te(Ae),Dr=Ve.get(Ye);if(Dr!==void 0)return Dr;var br=Pe.call(K,Ae);return Ve.set(Ye,!!br),br},he&&(K.writeFile=function(Ae,Ye,Dr,br,lr){var Ar=Te(Ae);Ve.delete(Ar);var kr=ve.get(Ar);if(kr!==void 0&&kr!==Ye)ve.delete(Ar),Le.delete(Ar);else if(De){var Ke=Le.get(Ar);Ke&&Ke.text!==Ye&&Le.delete(Ar)}he.call(K,Ae,Ye,Dr,br,lr)}),Ie&&Ge&&(K.directoryExists=function(Ae){var Ye=Te(Ae),Dr=_e.get(Ye);if(Dr!==void 0)return Dr;var br=Ie.call(K,Ae);return _e.set(Ye,!!br),br},K.createDirectory=function(Ae){var Ye=Te(Ae);_e.delete(Ye),Ge.call(K,Ae)}),{originalReadFile:ke,originalFileExists:Pe,originalDirectoryExists:Ie,originalCreateDirectory:Ge,originalWriteFile:he,getSourceFileWithCache:De,readFileWithCache:qe}}e.changeCompilerHostLikeToUseCache=k;function J(K,Te,ge){var ke;return ke=e.addRange(ke,K.getConfigFileParsingDiagnostics()),ke=e.addRange(ke,K.getOptionsDiagnostics(ge)),ke=e.addRange(ke,K.getSyntacticDiagnostics(Te,ge)),ke=e.addRange(ke,K.getGlobalDiagnostics(ge)),ke=e.addRange(ke,K.getSemanticDiagnostics(Te,ge)),e.getEmitDeclarations(K.getCompilerOptions())&&(ke=e.addRange(ke,K.getDeclarationDiagnostics(Te,ge))),e.sortAndDeduplicateDiagnostics(ke||e.emptyArray)}e.getPreEmitDiagnostics=J;function h(K,Te){for(var ge=\"\",ke=0,Pe=K;ke<Pe.length;ke++){var Ie=Pe[ke];ge+=v(Ie,Te)}return ge}e.formatDiagnostics=h;function v(K,Te){var ge=\"\".concat(e.diagnosticCategoryName(K),\" TS\").concat(K.code,\": \").concat(q(K.messageText,Te.getNewLine())).concat(Te.getNewLine());if(K.file){var ke=e.getLineAndCharacterOfPosition(K.file,K.start),Pe=ke.line,Ie=ke.character,Ge=K.file.fileName,he=e.convertToRelativePath(Ge,Te.getCurrentDirectory(),function(ve){return Te.getCanonicalFileName(ve)});return\"\".concat(he,\"(\").concat(Pe+1,\",\").concat(Ie+1,\"): \")+ge}return ge}e.formatDiagnostic=v;var A;(function(K){K.Grey=\"\\x1B[90m\",K.Red=\"\\x1B[91m\",K.Yellow=\"\\x1B[93m\",K.Blue=\"\\x1B[94m\",K.Cyan=\"\\x1B[96m\"})(A=e.ForegroundColorEscapeSequences||(e.ForegroundColorEscapeSequences={}));var z=\"\\x1B[7m\",ie=\" \",b=\"\\x1B[0m\",M=\"...\",S=\"  \",B=\"    \";function H(K){switch(K){case e.DiagnosticCategory.Error:return A.Red;case e.DiagnosticCategory.Warning:return A.Yellow;case e.DiagnosticCategory.Suggestion:return e.Debug.fail(\"Should never get an Info diagnostic on the command line.\");case e.DiagnosticCategory.Message:return A.Blue}}function I(K,Te){return Te+K+b}e.formatColorAndReset=I;function w(K,Te,ge,ke,Pe,Ie){var Ge=e.getLineAndCharacterOfPosition(K,Te),he=Ge.line,ve=Ge.character,Ve=e.getLineAndCharacterOfPosition(K,Te+ge),_e=Ve.line,Le=Ve.character,qe=e.getLineAndCharacterOfPosition(K,K.text.length).line,Xe=_e-he>=4,De=(_e+1+\"\").length;Xe&&(De=Math.max(M.length,De));for(var Ae=\"\",Ye=he;Ye<=_e;Ye++){Ae+=Ie.getNewLine(),Xe&&he+1<Ye&&Ye<_e-1&&(Ae+=ke+I(e.padLeft(M,De),z)+ie+Ie.getNewLine(),Ye=_e-1);var Dr=e.getPositionOfLineAndCharacter(K,Ye,0),br=Ye<qe?e.getPositionOfLineAndCharacter(K,Ye+1,0):K.text.length,lr=K.text.slice(Dr,br);if(lr=e.trimStringEnd(lr),lr=lr.replace(/\\t/g,\" \"),Ae+=ke+I(e.padLeft(Ye+1+\"\",De),z)+ie,Ae+=lr+Ie.getNewLine(),Ae+=ke+I(e.padLeft(\"\",De),z)+ie,Ae+=Pe,Ye===he){var Ar=Ye===_e?Le:void 0;Ae+=lr.slice(0,ve).replace(/\\S/g,\" \"),Ae+=lr.slice(ve,Ar).replace(/./g,\"~\")}else Ye===_e?Ae+=lr.slice(0,Le).replace(/./g,\"~\"):Ae+=lr.replace(/./g,\"~\");Ae+=b}return Ae}function x(K,Te,ge,ke){ke===void 0&&(ke=I);var Pe=e.getLineAndCharacterOfPosition(K,Te),Ie=Pe.line,Ge=Pe.character,he=ge?e.convertToRelativePath(K.fileName,ge.getCurrentDirectory(),function(Ve){return ge.getCanonicalFileName(Ve)}):K.fileName,ve=\"\";return ve+=ke(he,A.Cyan),ve+=\":\",ve+=ke(\"\".concat(Ie+1),A.Yellow),ve+=\":\",ve+=ke(\"\".concat(Ge+1),A.Yellow),ve}e.formatLocation=x;function O(K,Te){for(var ge=\"\",ke=0,Pe=K;ke<Pe.length;ke++){var Ie=Pe[ke];if(Ie.file){var Ge=Ie.file,he=Ie.start;ge+=x(Ge,he,Te),ge+=\" - \"}if(ge+=I(e.diagnosticCategoryName(Ie),H(Ie.category)),ge+=I(\" TS\".concat(Ie.code,\": \"),A.Grey),ge+=q(Ie.messageText,Te.getNewLine()),Ie.file&&(ge+=Te.getNewLine(),ge+=w(Ie.file,Ie.start,Ie.length,\"\",H(Ie.category),Te)),Ie.relatedInformation){ge+=Te.getNewLine();for(var ve=0,Ve=Ie.relatedInformation;ve<Ve.length;ve++){var _e=Ve[ve],Ge=_e.file,he=_e.start,Le=_e.length,qe=_e.messageText;Ge&&(ge+=Te.getNewLine(),ge+=S+x(Ge,he,Te),ge+=w(Ge,he,Le,B,A.Cyan,Te)),ge+=Te.getNewLine(),ge+=B+q(qe,Te.getNewLine())}}ge+=Te.getNewLine()}return ge}e.formatDiagnosticsWithColorAndContext=O;function q(K,Te,ge){if(ge===void 0&&(ge=0),e.isString(K))return K;if(K===void 0)return\"\";var ke=\"\";if(ge){ke+=Te;for(var Pe=0;Pe<ge;Pe++)ke+=\"  \"}if(ke+=K.messageText,ge++,K.next)for(var Ie=0,Ge=K.next;Ie<Ge.length;Ie++){var he=Ge[Ie];ke+=q(he,Te,ge)}return ke}e.flattenDiagnosticMessageText=q;function Z(K,Te,ge,ke){if(K.length===0)return[];for(var Pe=[],Ie=new e.Map,Ge=0,he=K;Ge<he.length;Ge++){var ve=he[Ge],Ve=void 0;Ie.has(ve)?Ve=Ie.get(ve):Ie.set(ve,Ve=ke(ve,Te,ge)),Pe.push(Ve)}return Pe}e.loadWithLocalCache=Z;function ne(K,Te){if(K.impliedNodeFormat!==void 0)return F(K,U(K,Te))}e.getModeForResolutionAtIndex=ne;function F(K,Te){var ge;if(K.impliedNodeFormat!==void 0){if(K.impliedNodeFormat!==e.ModuleKind.ESNext)return e.isImportCall(e.walkUpParenthesizedExpressions(Te.parent))?e.ModuleKind.ESNext:e.ModuleKind.CommonJS;var ke=(ge=e.walkUpParenthesizedExpressions(Te.parent))===null||ge===void 0?void 0:ge.parent;return ke&&e.isImportEqualsDeclaration(ke)?e.ModuleKind.CommonJS:e.ModuleKind.ESNext}}e.getModeForUsageLocation=F;function Q(K,Te,ge,ke,Pe){if(K.length===0)return[];for(var Ie=[],Ge=new e.Map,he=0,ve=0,Ve=K;ve<Ve.length;ve++){var _e=Ve[ve],Le=void 0,qe=ne(Te,he);he++;var Xe=qe!==void 0?\"\".concat(qe,\"|\").concat(_e):_e;Ge.has(Xe)?Le=Ge.get(Xe):Ge.set(Xe,Le=Pe(_e,qe,ge,ke)),Ie.push(Le)}return Ie}e.loadWithModeAwareCache=Q;function V(K,Te){return re(void 0,K,function(ge,ke){return ge&&Te(ge,ke)})}e.forEachResolvedProjectReference=V;function re(K,Te,ge,ke){var Pe;return Ie(K,Te,void 0);function Ie(Ge,he,ve){if(ke){var Ve=ke(Ge,ve);if(Ve)return Ve}return e.forEach(he,function(_e,Le){if(!(_e&&(Pe==null?void 0:Pe.has(_e.sourceFile.path)))){var qe=ge(_e,ve,Le);return qe||!_e?qe:((Pe||(Pe=new e.Set)).add(_e.sourceFile.path),Ie(_e.commandLine.projectReferences,_e.references,_e))}})}}e.inferredTypesContainingFile=\"__inferred type names__.ts\";function T(K){switch(K==null?void 0:K.kind){case e.FileIncludeKind.Import:case e.FileIncludeKind.ReferenceFile:case e.FileIncludeKind.TypeReferenceDirective:case e.FileIncludeKind.LibReferenceDirective:return!0;default:return!1}}e.isReferencedFile=T;function N(K){return K.pos!==void 0}e.isReferenceFileLocation=N;function y(K,Te){var ge,ke,Pe,Ie,Ge,he,ve,Ve=e.Debug.checkDefined(K(Te.file)),_e=Te.kind,Le=Te.index,qe,Xe,De;switch(_e){case e.FileIncludeKind.Import:var Ae=U(Ve,Le);if(De=(Ge=(Ie=Ve.resolvedModules)===null||Ie===void 0?void 0:Ie.get(Ae.text,ne(Ve,Le)))===null||Ge===void 0?void 0:Ge.packageId,Ae.pos===-1)return{file:Ve,packageId:De,text:Ae.text};qe=e.skipTrivia(Ve.text,Ae.pos),Xe=Ae.end;break;case e.FileIncludeKind.ReferenceFile:ge=Ve.referencedFiles[Le],qe=ge.pos,Xe=ge.end;break;case e.FileIncludeKind.TypeReferenceDirective:ke=Ve.typeReferenceDirectives[Le],qe=ke.pos,Xe=ke.end,De=(ve=(he=Ve.resolvedTypeReferenceDirectiveNames)===null||he===void 0?void 0:he.get(e.toFileNameLowerCase(Ve.typeReferenceDirectives[Le].fileName),Ve.impliedNodeFormat))===null||ve===void 0?void 0:ve.packageId;break;case e.FileIncludeKind.LibReferenceDirective:Pe=Ve.libReferenceDirectives[Le],qe=Pe.pos,Xe=Pe.end;break;default:return e.Debug.assertNever(_e)}return{file:Ve,pos:qe,end:Xe,packageId:De}}e.getReferencedFileLocation=y;function D(K,Te,ge,ke,Pe,Ie,Ge,he,ve){if(!K||(Ge==null?void 0:Ge())||!e.arrayIsEqualTo(K.getRootFileNames(),Te))return!1;var Ve;if(!e.arrayIsEqualTo(K.getProjectReferences(),ve,Xe)||K.getSourceFiles().some(Le)||K.getMissingFilePaths().some(Pe))return!1;var _e=K.getCompilerOptions();if(!e.compareDataObjects(_e,ge))return!1;if(_e.configFile&&ge.configFile)return _e.configFile.text===ge.configFile.text;return!0;function Le(Ae){return!qe(Ae)||Ie(Ae.path)}function qe(Ae){return Ae.version===ke(Ae.resolvedPath,Ae.fileName)}function Xe(Ae,Ye,Dr){return e.projectReferenceIsEqualTo(Ae,Ye)&&De(K.getResolvedProjectReferences()[Dr],Ae)}function De(Ae,Ye){if(Ae){if(e.contains(Ve,Ae))return!0;var Dr=Ce(Ye),br=he(Dr);return!br||Ae.commandLine.options.configFile!==br.options.configFile||!e.arrayIsEqualTo(Ae.commandLine.fileNames,br.fileNames)?!1:((Ve||(Ve=[])).push(Ae),!e.forEach(Ae.references,function(Ar,kr){return!De(Ar,Ae.commandLine.projectReferences[kr])}))}var lr=Ce(Ye);return!he(lr)}}e.isProgramUptoDate=D;function C(K){return K.options.configFile?Gt(Gt([],K.options.configFile.parseDiagnostics,!0),K.errors,!0):K.errors}e.getConfigFileParsingDiagnostics=C;function m(K,Te,ge,ke){switch(e.getEmitModuleResolutionKind(ke)){case e.ModuleResolutionKind.Node12:case e.ModuleResolutionKind.NodeNext:return e.fileExtensionIsOneOf(K,[\".d.mts\",\".mts\",\".mjs\"])?e.ModuleKind.ESNext:e.fileExtensionIsOneOf(K,[\".d.cts\",\".cts\",\".cjs\"])?e.ModuleKind.CommonJS:e.fileExtensionIsOneOf(K,[\".d.ts\",\".ts\",\".tsx\",\".js\",\".jsx\"])?Pe():void 0;default:return}function Pe(){var Ie=e.getPackageScopeForPath(K,Te,ge,ke);return(Ie==null?void 0:Ie.packageJsonContent.type)===\"module\"?e.ModuleKind.ESNext:e.ModuleKind.CommonJS}}e.getImpliedNodeFormatForFile=m;function u(K,Te){return K?e.optionsHaveChanges(K.getCompilerOptions(),Te,e.sourceFileAffectingCompilerOptions):!1}function g(K,Te,ge,ke,Pe){return{rootNames:K,options:Te,host:ge,oldProgram:ke,configFileParsingDiagnostics:Pe}}function P(K,Te,ge,ke,Pe){var Ie,Ge,he,ve,Ve=e.isArray(K)?g(K,Te,ge,ke,Pe):K,_e=Ve.rootNames,Le=Ve.options,qe=Ve.configFileParsingDiagnostics,Xe=Ve.projectReferences,De=Ve.oldProgram,Ae,Ye,Dr,br,lr,Ar,kr,Ke,Me=new e.Map,Hr=e.createMultiMap(),ur={},gr={},de=new e.Map,Fe,$e=typeof Le.maxNodeModuleJsDepth==\"number\"?Le.maxNodeModuleJsDepth:0,Sr=0,Pr=new e.Map,He=new e.Map;e.tracing===null||e.tracing===void 0||e.tracing.push(\"program\",\"createProgram\",{configFilePath:Le.configFilePath,rootDir:Le.rootDir},!0),e.performance.mark(\"beforeProgram\");var pr=Ve.host||a(Le),Jr=j(pr),ze=Le.noLib,Lr=e.memoize(function(){return pr.getDefaultLibFileName(Le)}),Yr=pr.getDefaultLibLocation?pr.getDefaultLibLocation():e.getDirectoryPath(Lr()),lt=e.createDiagnosticCollection(),tt=pr.getCurrentDirectory(),Rt=e.getSupportedExtensions(Le),cn=e.getSupportedExtensionsWithJsonIfResolveJsonModule(Le,Rt),bn=new e.Map,In,zn,ir,Or,sr=pr.hasInvalidatedResolution||e.returnFalse;if(pr.resolveModuleNames)Or=function(wr,$r,Lt,Kt,pn){return pr.resolveModuleNames(e.Debug.checkEachDefined(wr),Lt,Kt,pn,Le,$r).map(function(fn){if(!fn||fn.extension!==void 0)return fn;var kn=e.clone(fn);return kn.extension=e.extensionFromPath(fn.resolvedFileName),kn})},zn=(Ie=pr.getModuleResolutionCache)===null||Ie===void 0?void 0:Ie.call(pr);else{zn=e.createModuleResolutionCache(tt,vn,Le);var ye=function(wr,$r,Lt,Kt){return e.resolveModuleName(wr,Lt,Le,pr,zn,Kt,$r).resolvedModule};Or=function(wr,$r,Lt,Kt,pn){return Q(e.Debug.checkEachDefined(wr),$r,Lt,pn,ye)}}var or;if(pr.resolveTypeReferenceDirectives)or=function(wr,$r,Lt){return pr.resolveTypeReferenceDirectives(e.Debug.checkEachDefined(wr),$r,Lt,Le)};else{ir=e.createTypeReferenceDirectiveResolutionCache(tt,vn,void 0,zn==null?void 0:zn.getPackageJsonInfoCache());var fe=function(wr,$r,Lt){return e.resolveTypeReferenceDirective(wr,$r,Le,pr,Lt,ir).resolvedTypeReferenceDirective};or=function(wr,$r,Lt){return Z(e.Debug.checkEachDefined(wr),$r,Lt,fe)}}var je=new e.Map,Ee=new e.Map,We=e.createMultiMap(),$=!1,Ne=new e.Map,me,Ze=pr.useCaseSensitiveFileNames()?new e.Map:void 0,Cr,fr,dr,et,yt=!!(!((Ge=pr.useSourceOfProjectReferenceRedirect)===null||Ge===void 0)&&Ge.call(pr))&&!Le.disableSourceOfProjectReferenceRedirect,Vr=te({compilerHost:pr,getSymlinkCache:Nc,useSourceOfProjectReferenceRedirect:yt,toPath:pt,getResolvedProjectReferences:Ci,getSourceOfProjectReferenceRedirect:ko,forEachResolvedProjectReference:Ro}),tr=Vr.onProgramCreateComplete,xr=Vr.fileExists,Nr=Vr.directoryExists,zr=pr.readFile.bind(pr);e.tracing===null||e.tracing===void 0||e.tracing.push(\"program\",\"shouldProgramCreateNewSourceFiles\",{hasOldProgram:!!De});var gt=u(De,Le);e.tracing===null||e.tracing===void 0||e.tracing.pop();var vt;if(e.tracing===null||e.tracing===void 0||e.tracing.push(\"program\",\"tryReuseStructureFromOldProgram\",{}),vt=Cn(),e.tracing===null||e.tracing===void 0||e.tracing.pop(),vt!==2){Ae=[],Ye=[],Xe&&(Cr||(Cr=Xe.map(Ia)),_e.length&&(Cr==null||Cr.forEach(function(wr,$r){if(!!wr){var Lt=e.outFile(wr.commandLine.options);if(yt){if(Lt||e.getEmitModuleKind(wr.commandLine.options)===e.ModuleKind.None)for(var Kt=0,pn=wr.commandLine.fileNames;Kt<pn.length;Kt++){var fn=pn[Kt];cs(fn,{kind:e.FileIncludeKind.SourceFromProjectReference,index:$r})}}else if(Lt)cs(e.changeExtension(Lt,\".d.ts\"),{kind:e.FileIncludeKind.OutputFromProjectReference,index:$r});else if(e.getEmitModuleKind(wr.commandLine.options)===e.ModuleKind.None)for(var kn=e.memoize(function(){return e.getCommonSourceDirectoryOfConfig(wr.commandLine,!pr.useCaseSensitiveFileNames())}),Kn=0,Fa=wr.commandLine.fileNames;Kn<Fa.length;Kn++){var fn=Fa[Kn];!e.fileExtensionIs(fn,\".d.ts\")&&!e.fileExtensionIs(fn,\".json\")&&cs(e.getOutputDeclarationFileName(fn,wr.commandLine,!pr.useCaseSensitiveFileNames(),kn),{kind:e.FileIncludeKind.OutputFromProjectReference,index:$r})}}}))),e.tracing===null||e.tracing===void 0||e.tracing.push(\"program\",\"processRootFiles\",{count:_e.length}),e.forEach(_e,function(wr,$r){return Dt(wr,!1,!1,{kind:e.FileIncludeKind.RootFile,index:$r})}),e.tracing===null||e.tracing===void 0||e.tracing.pop();var ut=_e.length?e.getAutomaticTypeDirectiveNames(Le,pr):e.emptyArray;if(ut.length){e.tracing===null||e.tracing===void 0||e.tracing.push(\"program\",\"processTypeReferences\",{count:ut.length});for(var ht=Le.configFilePath?e.getDirectoryPath(Le.configFilePath):pr.getCurrentDirectory(),xt=e.combinePaths(ht,e.inferredTypesContainingFile),wt=St(ut,xt),Qt=0;Qt<ut.length;Qt++)ft(ut[Qt],wt[Qt],{kind:e.FileIncludeKind.AutomaticTypeDirectiveFile,typeReference:ut[Qt],packageId:(he=wt[Qt])===null||he===void 0?void 0:he.packageId});e.tracing===null||e.tracing===void 0||e.tracing.pop()}if(_e.length&&!ze){var mt=Lr();!Le.lib&&mt?Dt(mt,!0,!1,{kind:e.FileIncludeKind.LibFile}):e.forEach(Le.lib,function(wr,$r){Dt(Re(wr),!0,!1,{kind:e.FileIncludeKind.LibFile,index:$r})})}me=e.arrayFrom(e.mapDefinedIterator(Ne.entries(),function(wr){var $r=wr[0],Lt=wr[1];return Lt===void 0?$r:void 0})),Dr=e.stableSort(Ae,Mn).concat(Ye),Ae=void 0,Ye=void 0}if(e.Debug.assert(!!me),De&&pr.onReleaseOldSourceFile){for(var rn=De.getSourceFiles(),sa=0,ba=rn;sa<ba.length;sa++){var Jn=ba[sa],na=lo(Jn.resolvedPath);(gt||!na||Jn.resolvedPath===Jn.path&&na.resolvedPath!==Jn.path)&&pr.onReleaseOldSourceFile(Jn,De.getCompilerOptions(),!!lo(Jn.path))}pr.getParsedCommandLine||De.forEachResolvedProjectReference(function(wr){as(wr.sourceFile.path)||pr.onReleaseOldSourceFile(wr.sourceFile,De.getCompilerOptions(),!1)})}De&&pr.onReleaseParsedCommandLine&&re(De.getProjectReferences(),De.getResolvedProjectReferences(),function(wr,$r,Lt){var Kt=($r==null?void 0:$r.commandLine.projectReferences[Lt])||De.getProjectReferences()[Lt],pn=Ce(Kt);fr!=null&&fr.has(pt(pn))||pr.onReleaseParsedCommandLine(pn,wr,De.getCompilerOptions())}),ir=void 0,De=void 0;var Wn={getRootFileNames:function(){return _e},getSourceFile:No,getSourceFileByPath:lo,getSourceFiles:function(){return Dr},getMissingFilePaths:function(){return me},getModuleResolutionCache:function(){return zn},getFilesByNameMap:function(){return Ne},getCompilerOptions:function(){return Le},getSyntacticDiagnostics:Ha,getOptionsDiagnostics:Be,getGlobalDiagnostics:vr,getSemanticDiagnostics:Yo,getCachedSemanticDiagnostics:co,getSuggestionDiagnostics:dt,getDeclarationDiagnostics:Zi,getBindAndCheckDiagnostics:za,getProgramDiagnostics:hi,getTypeChecker:io,getClassifiableNames:Mt,getDiagnosticsProducingTypeChecker:Ka,getCommonSourceDirectory:_t,emit:ji,getCurrentDirectory:function(){return tt},getNodeCount:function(){return Ka().getNodeCount()},getIdentifierCount:function(){return Ka().getIdentifierCount()},getSymbolCount:function(){return Ka().getSymbolCount()},getTypeCount:function(){return Ka().getTypeCount()},getInstantiationCount:function(){return Ka().getInstantiationCount()},getRelationCacheSizes:function(){return Ka().getRelationCacheSizes()},getFileProcessingDiagnostics:function(){return Fe},getResolvedTypeReferenceDirectives:function(){return de},isSourceFileFromExternalLibrary:yi,isSourceFileDefaultLibrary:ro,dropDiagnosticsProducingTypeChecker:Mi,getSourceFileFromReference:$a,getLibFileFromReference:Di,sourceFileToPackageName:Ee,redirectTargetsMap:We,usesUriStyleNodeCoreModules:$,isEmittedFile:uu,getConfigFileParsingDiagnostics:qr,getResolvedModuleWithFailedLookupLocationsFromCache:oa,getProjectReferences:_i,getResolvedProjectReferences:Ci,getProjectReferenceRedirect:ka,getResolvedProjectReferenceToRedirect:Gi,getResolvedProjectReferenceByPath:as,forEachResolvedProjectReference:Ro,isSourceOfProjectReferenceRedirect:es,emitBuildInfo:Ra,fileExists:xr,readFile:zr,directoryExists:Nr,getSymlinkCache:Nc,realpath:(ve=pr.realpath)===null||ve===void 0?void 0:ve.bind(pr),useCaseSensitiveFileNames:function(){return pr.useCaseSensitiveFileNames()},getFileIncludeReasons:function(){return Hr},structureIsReused:vt};return tr(),Fe==null||Fe.forEach(function(wr){switch(wr.kind){case 1:return lt.add(Wo(wr.file&&lo(wr.file),wr.fileProcessingReason,wr.diagnostic,wr.args||e.emptyArray));case 0:var $r=y(lo,wr.reason),Lt=$r.file,Kt=$r.pos,pn=$r.end;return lt.add(e.createFileDiagnostic.apply(void 0,Gt([Lt,e.Debug.checkDefined(Kt),e.Debug.checkDefined(pn)-Kt,wr.diagnostic],wr.args||e.emptyArray,!1)));default:e.Debug.assertNever(wr)}}),oo(),e.performance.mark(\"afterProgram\"),e.performance.measure(\"Program\",\"beforeProgram\",\"afterProgram\"),e.tracing===null||e.tracing===void 0||e.tracing.pop(),Wn;function en(wr,$r,Lt){if(!wr.length)return e.emptyArray;var Kt=e.getNormalizedAbsolutePath($r.originalFileName,tt),pn=Ut($r);e.tracing===null||e.tracing===void 0||e.tracing.push(\"program\",\"resolveModuleNamesWorker\",{containingFileName:Kt}),e.performance.mark(\"beforeResolveModule\");var fn=Or(wr,$r,Kt,Lt,pn);return e.performance.mark(\"afterResolveModule\"),e.performance.measure(\"ResolveModule\",\"beforeResolveModule\",\"afterResolveModule\"),e.tracing===null||e.tracing===void 0||e.tracing.pop(),fn}function St(wr,$r){if(!wr.length)return[];var Lt=e.isString($r)?$r:e.getNormalizedAbsolutePath($r.originalFileName,tt),Kt=e.isString($r)?void 0:Ut($r);e.tracing===null||e.tracing===void 0||e.tracing.push(\"program\",\"resolveTypeReferenceDirectiveNamesWorker\",{containingFileName:Lt}),e.performance.mark(\"beforeResolveTypeReference\");var pn=or(wr,Lt,Kt);return e.performance.mark(\"afterResolveTypeReference\"),e.performance.measure(\"ResolveTypeReference\",\"beforeResolveTypeReference\",\"afterResolveTypeReference\"),e.tracing===null||e.tracing===void 0||e.tracing.pop(),pn}function Ut(wr){var $r=Gi(wr.originalFileName);if($r||!e.fileExtensionIsOneOf(wr.originalFileName,[\".d.ts\",\".d.cts\",\".d.mts\"]))return $r;var Lt=qt(wr.path);if(Lt)return Lt;if(!(!pr.realpath||!Le.preserveSymlinks||!e.stringContains(wr.originalFileName,e.nodeModulesPathPart))){var Kt=pt(pr.realpath(wr.originalFileName));return Kt===wr.path?void 0:qt(Kt)}}function qt(wr){var $r=ko(wr);if(e.isString($r))return Gi($r);if(!!$r)return Ro(function(Lt){var Kt=e.outFile(Lt.commandLine.options);if(!!Kt)return pt(Kt)===wr?Lt:void 0})}function Mn(wr,$r){return e.compareValues(dn(wr),dn($r))}function dn(wr){if(e.containsPath(Yr,wr.fileName,!1)){var $r=e.getBaseFileName(wr.fileName);if($r===\"lib.d.ts\"||$r===\"lib.es6.d.ts\")return 0;var Lt=e.removeSuffix(e.removePrefix($r,\"lib.\"),\".d.ts\"),Kt=e.libs.indexOf(Lt);if(Kt!==-1)return Kt+1}return e.libs.length+2}function oa(wr,$r,Lt){return zn&&e.resolveModuleNameFromCache(wr,$r,zn,Lt)}function pt(wr){return e.toPath(wr,tt,vn)}function _t(){if(lr===void 0){var wr=e.filter(Dr,function($r){return e.sourceFileMayBeEmitted($r,Wn)});lr=e.getCommonSourceDirectory(Le,function(){return e.mapDefined(wr,function($r){return $r.isDeclarationFile?void 0:$r.fileName})},tt,vn,function($r){return gi(wr,$r)})}return lr}function Mt(){var wr;if(!Ke){io(),Ke=new e.Set;for(var $r=0,Lt=Dr;$r<Lt.length;$r++){var Kt=Lt[$r];(wr=Kt.classifiableNames)===null||wr===void 0||wr.forEach(function(pn){return Ke.add(pn)})}}return Ke}function It(wr,$r){if(vt===0&&!$r.ambientModuleNames.length)return en(wr,$r,void 0);var Lt=De&&De.getSourceFile($r.fileName);if(Lt!==$r&&$r.resolvedModules){for(var Kt=[],pn=0,fn=0,kn=wr;fn<kn.length;fn++){var Kn=kn[fn],Fa=$r.resolvedModules.get(Kn,ne($r,pn));pn++,Kt.push(Fa)}return Kt}for(var ua,le,rr,yr={},pn=0;pn<wr.length;pn++){var Kn=wr[pn];if($r===Lt&&!sr(Lt.path)){var ct=e.getResolvedModule(Lt,Kn,ne(Lt,pn));if(ct){e.isTraceEnabled(Le,pr)&&e.trace(pr,ct.packageId?e.Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:e.Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2,Kn,e.getNormalizedAbsolutePath($r.originalFileName,tt),ct.resolvedFileName,ct.packageId&&e.packageIdToString(ct.packageId)),(le||(le=new Array(wr.length)))[pn]=ct,(rr||(rr=[])).push(Kn);continue}}var jt=!1;e.contains($r.ambientModuleNames,Kn)?(jt=!0,e.isTraceEnabled(Le,pr)&&e.trace(pr,e.Diagnostics.Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1,Kn,e.getNormalizedAbsolutePath($r.originalFileName,tt))):jt=ri(Kn,pn),jt?(le||(le=new Array(wr.length)))[pn]=yr:(ua||(ua=[])).push(Kn)}var yn=ua&&ua.length?en(ua,$r,rr):e.emptyArray;if(!le)return e.Debug.assert(yn.length===wr.length),yn;for(var ha=0,pn=0;pn<le.length;pn++)le[pn]?le[pn]===yr&&(le[pn]=void 0):(le[pn]=yn[ha],ha++);return e.Debug.assert(ha===yn.length),le;function ri(Ta,Ya){if(Ya>=e.length(Lt==null?void 0:Lt.imports)+e.length(Lt==null?void 0:Lt.moduleAugmentations))return!1;var fi=e.getResolvedModule(Lt,Ta,Lt&&ne(Lt,Ya)),ci=fi&&De.getSourceFile(fi.resolvedFileName);if(fi&&ci)return!1;var Si=Me.get(Ta);return Si?(e.isTraceEnabled(Le,pr)&&e.trace(pr,e.Diagnostics.Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified,Ta,Si),!0):!1}}function rt(){return!re(De.getProjectReferences(),De.getResolvedProjectReferences(),function(wr,$r,Lt){var Kt=($r?$r.commandLine.projectReferences:Xe)[Lt],pn=Ia(Kt);return wr?!pn||pn.sourceFile!==wr.sourceFile||!e.arrayIsEqualTo(wr.commandLine.fileNames,pn.commandLine.fileNames):pn!==void 0},function(wr,$r){var Lt=$r?as($r.sourceFile.path).commandLine.projectReferences:Xe;return!e.arrayIsEqualTo(wr,Lt,e.projectReferenceIsEqualTo)})}function Cn(){var wr;if(!De)return 0;var $r=De.getCompilerOptions();if(e.changesAffectModuleResolution($r,Le))return 0;var Lt=De.getRootFileNames();if(!e.arrayIsEqualTo(Lt,_e)||!rt())return 0;Xe&&(Cr=Xe.map(Ia));var Kt=[],pn=[];if(vt=2,De.getMissingFilePaths().some(function(ol){return pr.fileExists(ol)}))return 0;var fn=De.getSourceFiles(),kn;(function(ol){ol[ol.Exists=0]=\"Exists\",ol[ol.Modified=1]=\"Modified\"})(kn||(kn={}));for(var Kn=new e.Map,Fa=0,ua=fn;Fa<ua.length;Fa++){var le=ua[Fa],rr=pr.getSourceFileByPath?pr.getSourceFileByPath(le.fileName,le.resolvedPath,e.getEmitScriptTarget(Le),void 0,gt):pr.getSourceFile(le.fileName,e.getEmitScriptTarget(Le),void 0,gt);if(!rr)return 0;e.Debug.assert(!rr.redirectInfo,\"Host should not return a redirect source file from `getSourceFile`\");var yr=void 0;if(le.redirectInfo){if(rr!==le.redirectInfo.unredirected)return 0;yr=!1,rr=le}else if(De.redirectTargetsMap.has(le.path)){if(rr!==le)return 0;yr=!1}else yr=rr!==le;rr.path=le.path,rr.originalFileName=le.originalFileName,rr.resolvedPath=le.resolvedPath,rr.fileName=le.fileName;var ct=De.sourceFileToPackageName.get(le.path);if(ct!==void 0){var jt=Kn.get(ct),yn=yr?1:0;if(jt!==void 0&&yn===1||jt===1)return 0;Kn.set(ct,yn)}yr?(e.arrayIsEqualTo(le.libReferenceDirectives,rr.libReferenceDirectives,Jt)||(vt=1),le.hasNoDefaultLib!==rr.hasNoDefaultLib&&(vt=1),e.arrayIsEqualTo(le.referencedFiles,rr.referencedFiles,Jt)||(vt=1),xa(rr),e.arrayIsEqualTo(le.imports,rr.imports,Sn)||(vt=1),e.arrayIsEqualTo(le.moduleAugmentations,rr.moduleAugmentations,Sn)||(vt=1),(le.flags&3145728)!==(rr.flags&3145728)&&(vt=1),e.arrayIsEqualTo(le.typeReferenceDirectives,rr.typeReferenceDirectives,Jt)||(vt=1),pn.push({oldFile:le,newFile:rr})):sr(le.path)&&(vt=1,pn.push({oldFile:le,newFile:rr})),Kt.push(rr)}if(vt!==2)return vt;for(var ha=pn.map(function(ol){return ol.oldFile}),ri=0,Ta=fn;ri<Ta.length;ri++){var Ya=Ta[ri];if(!e.contains(ha,Ya))for(var fi=0,ci=Ya.ambientModuleNames;fi<ci.length;fi++){var Si=ci[fi];Me.set(Si,Ya.fileName)}}for(var Do=0,bo=pn;Do<bo.length;Do++){var Ns=bo[Do],le=Ns.oldFile,rr=Ns.newFile,Ys=Y(rr),Nu=It(Ys,rr),gf=e.hasChangesInResolutions(Ys,Nu,le.resolvedModules,le,e.moduleResolutionIsEqualTo);gf?(vt=1,rr.resolvedModules=e.zipToModeAwareCache(rr,Ys,Nu)):rr.resolvedModules=le.resolvedModules;var Zl=e.map(rr.typeReferenceDirectives,function(vf){return e.toFileNameLowerCase(vf.fileName)}),jc=St(Zl,rr),Mr=e.hasChangesInResolutions(Zl,jc,le.resolvedTypeReferenceDirectiveNames,le,e.typeDirectiveIsEqualTo);Mr?(vt=1,rr.resolvedTypeReferenceDirectiveNames=e.zipToModeAwareCache(rr,Zl,jc)):rr.resolvedTypeReferenceDirectiveNames=le.resolvedTypeReferenceDirectiveNames}if(vt!==2)return vt;if(e.changesAffectingProgramStructure($r,Le)||((wr=pr.hasChangedAutomaticTypeDirectiveNames)===null||wr===void 0?void 0:wr.call(pr)))return 1;me=De.getMissingFilePaths(),e.Debug.assert(Kt.length===De.getSourceFiles().length);for(var $l=0,pc=Kt;$l<pc.length;$l++){var rr=pc[$l];Ne.set(rr.path,rr)}var ku=De.getFilesByNameMap();return ku.forEach(function(ol,kc){if(!ol){Ne.set(kc,ol);return}if(ol.path===kc){De.isSourceFileFromExternalLibrary(ol)&&He.set(ol.path,!0);return}Ne.set(kc,Ne.get(ol.path))}),Dr=Kt,Hr=De.getFileIncludeReasons(),Fe=De.getFileProcessingDiagnostics(),de=De.getResolvedTypeReferenceDirectives(),Ee=De.sourceFileToPackageName,We=De.redirectTargetsMap,$=De.usesUriStyleNodeCoreModules,2}function Qn(wr){return{getPrependNodes:va,getCanonicalFileName:vn,getCommonSourceDirectory:Wn.getCommonSourceDirectory,getCompilerOptions:Wn.getCompilerOptions,getCurrentDirectory:function(){return tt},getNewLine:function(){return pr.getNewLine()},getSourceFile:Wn.getSourceFile,getSourceFileByPath:Wn.getSourceFileByPath,getSourceFiles:Wn.getSourceFiles,getLibFileFromReference:Wn.getLibFileFromReference,isSourceFileFromExternalLibrary:yi,getResolvedProjectReferenceToRedirect:Gi,getProjectReferenceRedirect:ka,isSourceOfProjectReferenceRedirect:es,getSymlinkCache:Nc,writeFile:wr||function($r,Lt,Kt,pn,fn){return pr.writeFile($r,Lt,Kt,pn,fn)},isEmitBlocked:Hi,readFile:function($r){return pr.readFile($r)},fileExists:function($r){var Lt=pt($r);return lo(Lt)?!0:e.contains(me,Lt)?!1:pr.fileExists($r)},useCaseSensitiveFileNames:function(){return pr.useCaseSensitiveFileNames()},getProgramBuildInfo:function(){return Wn.getProgramBuildInfo&&Wn.getProgramBuildInfo()},getSourceFileFromReference:function($r,Lt){return Wn.getSourceFileFromReference($r,Lt)},redirectTargetsMap:We,getFileIncludeReasons:Wn.getFileIncludeReasons}}function Ra(wr){e.Debug.assert(!e.outFile(Le)),e.tracing===null||e.tracing===void 0||e.tracing.push(\"emit\",\"emitBuildInfo\",{},!0),e.performance.mark(\"beforeEmit\");var $r=e.emitFiles(e.notImplementedResolver,Qn(wr),void 0,e.noTransformers,!1,!0);return e.performance.mark(\"afterEmit\"),e.performance.measure(\"Emit\",\"beforeEmit\",\"afterEmit\"),e.tracing===null||e.tracing===void 0||e.tracing.pop(),$r}function Ci(){return Cr}function _i(){return Xe}function va(){return Se(Xe,function(wr,$r){var Lt;return(Lt=Cr[$r])===null||Lt===void 0?void 0:Lt.commandLine},function(wr){var $r=pt(wr),Lt=lo($r);return Lt?Lt.text:Ne.has($r)?void 0:pr.readFile($r)})}function yi(wr){return!!He.get(wr.path)}function ro(wr){if(wr.hasNoDefaultLib)return!0;if(!Le.noLib)return!1;var $r=pr.useCaseSensitiveFileNames()?e.equateStringsCaseSensitive:e.equateStringsCaseInsensitive;return Le.lib?e.some(Le.lib,function(Lt){return $r(wr.fileName,Re(Lt))}):$r(wr.fileName,Lr())}function Ka(){return Ar||(Ar=e.createTypeChecker(Wn,!0))}function Mi(){Ar=void 0}function io(){return kr||(kr=e.createTypeChecker(Wn,!1))}function ji(wr,$r,Lt,Kt,pn,fn){e.tracing===null||e.tracing===void 0||e.tracing.push(\"emit\",\"emit\",{path:wr==null?void 0:wr.path},!0);var kn=Po(function(){return to(Wn,wr,$r,Lt,Kt,pn,fn)});return e.tracing===null||e.tracing===void 0||e.tracing.pop(),kn}function Hi(wr){return bn.has(pt(wr))}function to(wr,$r,Lt,Kt,pn,fn,kn){if(!kn){var Kn=ue(wr,$r,Lt,Kt);if(Kn)return Kn}var Fa=Ka().getEmitResolver(e.outFile(Le)?void 0:$r,Kt);e.performance.mark(\"beforeEmit\");var ua=e.emitFiles(Fa,Qn(Lt),$r,e.getTransformers(Le,fn,pn),pn,!1,kn);return e.performance.mark(\"afterEmit\"),e.performance.measure(\"Emit\",\"beforeEmit\",\"afterEmit\"),ua}function No(wr){return lo(pt(wr))}function lo(wr){return Ne.get(wr)||void 0}function Lo(wr,$r,Lt){return wr?$r(wr,Lt):e.sortAndDeduplicateDiagnostics(e.flatMap(Wn.getSourceFiles(),function(Kt){return Lt&&Lt.throwIfCancellationRequested(),$r(Kt,Lt)}))}function Ha(wr,$r){return Lo(wr,Mo,$r)}function Yo(wr,$r){return Lo(wr,Fo,$r)}function co(wr){var $r;return wr?($r=ur.perFile)===null||$r===void 0?void 0:$r.get(wr.path):ur.allDiagnostics}function za(wr,$r){return zo(wr,$r)}function hi(wr){var $r;if(e.skipTypeChecking(wr,Le,Wn))return e.emptyArray;var Lt=lt.getDiagnostics(wr.fileName);return!(($r=wr.commentDirectives)===null||$r===void 0)&&$r.length?hr(wr,wr.commentDirectives,Lt).diagnostics:Lt}function Zi(wr,$r){var Lt=Wn.getCompilerOptions();return!wr||e.outFile(Lt)?Oe(wr,$r):Lo(wr,se,$r)}function Mo(wr){return e.isSourceFileJS(wr)?(wr.additionalSyntacticDiagnostics||(wr.additionalSyntacticDiagnostics=Un(wr)),e.concatenate(wr.additionalSyntacticDiagnostics,wr.parseDiagnostics)):wr.parseDiagnostics}function Po(wr){try{return wr()}catch($r){throw $r instanceof e.OperationCanceledException&&(kr=void 0,Ar=void 0),$r}}function Fo(wr,$r){return e.concatenate(X(zo(wr,$r),Le),hi(wr))}function zo(wr,$r){return mr(wr,$r,ur,Es)}function Es(wr,$r){return Po(function(){if(e.skipTypeChecking(wr,Le,Wn))return e.emptyArray;var Lt=Ka();e.Debug.assert(!!wr.bindDiagnostics);var Kt=e.isCheckJsEnabledForFile(wr,Le),pn=!!wr.checkJsDirective&&wr.checkJsDirective.enabled===!1,fn=!pn&&(wr.scriptKind===3||wr.scriptKind===4||wr.scriptKind===5||Kt||wr.scriptKind===7),kn=fn?wr.bindDiagnostics:e.emptyArray,Kn=fn?Lt.getDiagnostics(wr,$r):e.emptyArray;return Cs(wr,fn,kn,Kn,Kt?wr.jsDocDiagnostics:void 0)})}function Cs(wr,$r){for(var Lt,Kt=[],pn=2;pn<arguments.length;pn++)Kt[pn-2]=arguments[pn];var fn=e.flatten(Kt);if(!$r||!(!((Lt=wr.commentDirectives)===null||Lt===void 0)&&Lt.length))return fn;for(var kn=hr(wr,wr.commentDirectives,fn),Kn=kn.diagnostics,Fa=kn.directives,ua=0,le=Fa.getUnusedExpectations();ua<le.length;ua++){var rr=le[ua];Kn.push(e.createDiagnosticForRange(wr,rr.range,e.Diagnostics.Unused_ts_expect_error_directive))}return Kn}function hr(wr,$r,Lt){var Kt=e.createCommentDirectivesMap(wr,$r),pn=Lt.filter(function(fn){return tn(fn,Kt)===-1});return{diagnostics:pn,directives:Kt}}function dt(wr,$r){return Po(function(){return Ka().getSuggestionDiagnostics(wr,$r)})}function tn(wr,$r){var Lt=wr.file,Kt=wr.start;if(!Lt)return-1;for(var pn=e.getLineStarts(Lt),fn=e.computeLineAndCharacterOfPosition(pn,Kt).line-1;fn>=0;){if($r.markUsed(fn))return fn;var kn=Lt.text.slice(pn[fn],pn[fn+1]).trim();if(kn!==\"\"&&!/^(\\s*)\\/\\/(.*)$/.test(kn))return-1;fn--}return-1}function Un(wr){return Po(function(){var $r=[];return Lt(wr,wr),e.forEachChildRecursively(wr,Lt,Kt),$r;function Lt(Kn,Fa){switch(Fa.kind){case 163:case 166:case 168:if(Fa.questionToken===Kn)return $r.push(kn(Kn,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,\"?\")),\"skip\";case 167:case 170:case 171:case 172:case 212:case 255:case 213:case 253:if(Fa.type===Kn)return $r.push(kn(Kn,e.Diagnostics.Type_annotations_can_only_be_used_in_TypeScript_files)),\"skip\"}switch(Kn.kind){case 266:if(Kn.isTypeOnly)return $r.push(kn(Fa,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,\"import type\")),\"skip\";break;case 271:if(Kn.isTypeOnly)return $r.push(kn(Kn,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,\"export type\")),\"skip\";break;case 264:return $r.push(kn(Kn,e.Diagnostics.import_can_only_be_used_in_TypeScript_files)),\"skip\";case 270:if(Kn.isExportEquals)return $r.push(kn(Kn,e.Diagnostics.export_can_only_be_used_in_TypeScript_files)),\"skip\";break;case 290:var ua=Kn;if(ua.token===117)return $r.push(kn(Kn,e.Diagnostics.implements_clauses_can_only_be_used_in_TypeScript_files)),\"skip\";break;case 257:var le=e.tokenToString(118);return e.Debug.assertIsDefined(le),$r.push(kn(Kn,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,le)),\"skip\";case 260:var rr=Kn.flags&16?e.tokenToString(142):e.tokenToString(141);return e.Debug.assertIsDefined(rr),$r.push(kn(Kn,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,rr)),\"skip\";case 258:return $r.push(kn(Kn,e.Diagnostics.Type_aliases_can_only_be_used_in_TypeScript_files)),\"skip\";case 259:var yr=e.Debug.checkDefined(e.tokenToString(92));return $r.push(kn(Kn,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,yr)),\"skip\";case 229:return $r.push(kn(Kn,e.Diagnostics.Non_null_assertions_can_only_be_used_in_TypeScript_files)),\"skip\";case 228:return $r.push(kn(Kn.type,e.Diagnostics.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)),\"skip\";case 210:e.Debug.fail()}}function Kt(Kn,Fa){switch(Fa.decorators===Kn&&!Le.experimentalDecorators&&$r.push(kn(Fa,e.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning)),Fa.kind){case 256:case 225:case 168:case 170:case 171:case 172:case 212:case 255:case 213:if(Kn===Fa.typeParameters)return $r.push(fn(Kn,e.Diagnostics.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)),\"skip\";case 236:if(Kn===Fa.modifiers)return pn(Fa.modifiers,Fa.kind===236),\"skip\";break;case 166:if(Kn===Fa.modifiers){for(var ua=0,le=Kn;ua<le.length;ua++){var rr=le[ua];rr.kind!==124&&$r.push(kn(rr,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,e.tokenToString(rr.kind)))}return\"skip\"}break;case 163:if(Kn===Fa.modifiers)return $r.push(fn(Kn,e.Diagnostics.Parameter_modifiers_can_only_be_used_in_TypeScript_files)),\"skip\";break;case 207:case 208:case 227:case 278:case 279:case 209:if(Kn===Fa.typeArguments)return $r.push(fn(Kn,e.Diagnostics.Type_arguments_can_only_be_used_in_TypeScript_files)),\"skip\";break}}function pn(Kn,Fa){for(var ua=0,le=Kn;ua<le.length;ua++){var rr=le[ua];switch(rr.kind){case 85:if(Fa)continue;case 123:case 121:case 122:case 144:case 135:case 126:case 158:$r.push(kn(rr,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,e.tokenToString(rr.kind)));break;case 124:case 93:case 88:}}}function fn(Kn,Fa,ua,le,rr){var yr=Kn.pos;return e.createFileDiagnostic(wr,yr,Kn.end-yr,Fa,ua,le,rr)}function kn(Kn,Fa,ua,le,rr){return e.createDiagnosticForNodeInSourceFile(wr,Kn,Fa,ua,le,rr)}})}function Oe(wr,$r){return mr(wr,$r,gr,oe)}function oe(wr,$r){return Po(function(){var Lt=Ka().getEmitResolver(wr,$r);return e.getDeclarationDiagnostics(Qn(e.noop),Lt,wr)||e.emptyArray})}function mr(wr,$r,Lt,Kt){var pn,fn=wr?(pn=Lt.perFile)===null||pn===void 0?void 0:pn.get(wr.path):Lt.allDiagnostics;if(fn)return fn;var kn=Kt(wr,$r);return wr?(Lt.perFile||(Lt.perFile=new e.Map)).set(wr.path,kn):Lt.allDiagnostics=kn,kn}function se(wr,$r){return wr.isDeclarationFile?[]:Oe(wr,$r)}function Be(){return e.sortAndDeduplicateDiagnostics(e.concatenate(lt.getGlobalDiagnostics(),er()))}function er(){if(!Le.configFile)return e.emptyArray;var wr=lt.getDiagnostics(Le.configFile.fileName);return Ro(function($r){wr=e.concatenate(wr,lt.getDiagnostics($r.sourceFile.fileName))}),wr}function vr(){return _e.length?e.sortAndDeduplicateDiagnostics(Ka().getGlobalDiagnostics().slice()):e.emptyArray}function qr(){return qe||e.emptyArray}function Dt(wr,$r,Lt,Kt){So(e.normalizePath(wr),$r,Lt,void 0,Kt)}function Jt(wr,$r){return wr.fileName===$r.fileName}function Sn(wr,$r){return wr.kind===79?$r.kind===79&&wr.escapedText===$r.escapedText:$r.kind===10&&wr.text===$r.text}function ta(wr,$r){var Lt=e.factory.createStringLiteral(wr),Kt=e.factory.createImportDeclaration(void 0,void 0,void 0,Lt,void 0);return e.addEmitFlags(Kt,67108864),e.setParent(Lt,Kt),e.setParent(Kt,$r),Lt.flags&=-9,Kt.flags&=-9,Lt}function xa(wr){if(wr.imports)return;var $r=e.isSourceFileJS(wr),Lt=e.isExternalModule(wr),Kt,pn,fn;if((Le.isolatedModules||Lt)&&!wr.isDeclarationFile){Le.importHelpers&&(Kt=[ta(e.externalHelpersModuleNameText,wr)]);var kn=e.getJSXRuntimeImport(e.getJSXImplicitImportBase(Le,wr),Le);kn&&(Kt||(Kt=[])).push(ta(kn,wr))}for(var Kn=0,Fa=wr.statements;Kn<Fa.length;Kn++){var ua=Fa[Kn];le(ua,!1)}(wr.flags&1048576||$r)&&rr(wr),wr.imports=Kt||e.emptyArray,wr.moduleAugmentations=pn||e.emptyArray,wr.ambientModuleNames=fn||e.emptyArray;return;function le(ct,jt){if(e.isAnyImportOrReExport(ct)){var yn=e.getExternalModuleName(ct);yn&&e.isStringLiteral(yn)&&yn.text&&(!jt||!e.isExternalModuleNameRelative(yn.text))&&(e.setParentRecursive(ct,!1),Kt=e.append(Kt,yn),!$&&Sr===0&&!wr.isDeclarationFile&&($=e.startsWith(yn.text,\"node:\")))}else if(e.isModuleDeclaration(ct)&&e.isAmbientModule(ct)&&(jt||e.hasSyntacticModifier(ct,2)||wr.isDeclarationFile)){ct.name.parent=ct;var ha=e.getTextOfIdentifierOrLiteral(ct.name);if(Lt||jt&&!e.isExternalModuleNameRelative(ha))(pn||(pn=[])).push(ct.name);else if(!jt){wr.isDeclarationFile&&(fn||(fn=[])).push(ha);var ri=ct.body;if(ri)for(var Ta=0,Ya=ri.statements;Ta<Ya.length;Ta++){var fi=Ya[Ta];le(fi,!0)}}}}function rr(ct){for(var jt=/import|require/g;jt.exec(ct.text)!==null;){var yn=yr(ct,jt.lastIndex);$r&&e.isRequireCall(yn,!0)||e.isImportCall(yn)&&yn.arguments.length>=1&&e.isStringLiteralLike(yn.arguments[0])?(e.setParentRecursive(yn,!1),Kt=e.append(Kt,yn.arguments[0])):e.isLiteralImportTypeNode(yn)&&(e.setParentRecursive(yn,!1),Kt=e.append(Kt,yn.argument.literal))}}function yr(ct,jt){for(var yn=ct,ha=function(Ta){if(Ta.pos<=jt&&(jt<Ta.end||jt===Ta.end&&Ta.kind===1))return Ta};;){var ri=$r&&e.hasJSDocNodes(yn)&&e.forEach(yn.jsDoc,ha)||e.forEachChild(yn,ha);if(!ri)return yn;yn=ri}}}function Di(wr){var $r=e.toFileNameLowerCase(wr.fileName),Lt=e.libMap.get($r);if(Lt)return No(Re(Lt))}function $a(wr,$r){return Ji(f($r.fileName,wr.fileName),No)}function Ji(wr,$r,Lt,Kt){if(e.hasExtension(wr)){var pn=pr.getCanonicalFileName(wr);if(!Le.allowNonTsExtensions&&!e.forEach(e.flatten(cn),function(ua){return e.fileExtensionIs(pn,ua)})){Lt&&(e.hasJSFileExtension(pn)?Lt(e.Diagnostics.File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option,wr):Lt(e.Diagnostics.File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1,wr,\"'\"+e.flatten(Rt).join(\"', '\")+\"'\"));return}var fn=$r(wr);if(Lt)if(fn)T(Kt)&&pn===pr.getCanonicalFileName(lo(Kt.file).fileName)&&Lt(e.Diagnostics.A_file_cannot_have_a_reference_to_itself);else{var kn=ka(wr);kn?Lt(e.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,kn,wr):Lt(e.Diagnostics.File_0_not_found,wr)}return fn}else{var Kn=Le.allowNonTsExtensions&&$r(wr);if(Kn)return Kn;if(Lt&&Le.allowNonTsExtensions){Lt(e.Diagnostics.File_0_not_found,wr);return}var Fa=e.forEach(Rt[0],function(ua){return $r(wr+ua)});return Lt&&!Fa&&Lt(e.Diagnostics.Could_not_resolve_the_path_0_with_the_extensions_Colon_1,wr,\"'\"+e.flatten(Rt).join(\"', '\")+\"'\"),Fa}}function So(wr,$r,Lt,Kt,pn){Ji(wr,function(fn){return da(fn,$r,Lt,pn,Kt)},function(fn){for(var kn=[],Kn=1;Kn<arguments.length;Kn++)kn[Kn-1]=arguments[Kn];return Ir(void 0,pn,fn,kn)},pn)}function cs(wr,$r){return So(wr,!1,!1,void 0,$r)}function bt(wr,$r,Lt){var Kt=!T(Lt)&&e.some(Hr.get($r.path),T);Kt?Ir($r,Lt,e.Diagnostics.Already_included_file_name_0_differs_from_file_name_1_only_in_casing,[$r.fileName,wr]):Ir($r,Lt,e.Diagnostics.File_name_0_differs_from_already_included_file_name_1_only_in_casing,[wr,$r.fileName])}function Pn(wr,$r,Lt,Kt,pn,fn){var kn=Object.create(wr);return kn.fileName=Lt,kn.path=Kt,kn.resolvedPath=pn,kn.originalFileName=fn,kn.redirectInfo={redirectTarget:wr,unredirected:$r},He.set(Kt,Sr>0),Object.defineProperties(kn,{id:{get:function(){return this.redirectInfo.redirectTarget.id},set:function(Kn){this.redirectInfo.redirectTarget.id=Kn}},symbol:{get:function(){return this.redirectInfo.redirectTarget.symbol},set:function(Kn){this.redirectInfo.redirectTarget.symbol=Kn}}}),kn}function da(wr,$r,Lt,Kt,pn){e.tracing===null||e.tracing===void 0||e.tracing.push(\"program\",\"findSourceFile\",{fileName:wr,isDefaultLib:$r||void 0,fileIncludeKind:e.FileIncludeKind[Kt.kind]});var fn=ei(wr,$r,Lt,Kt,pn);return e.tracing===null||e.tracing===void 0||e.tracing.pop(),fn}function ei(wr,$r,Lt,Kt,pn){var fn=pt(wr);if(yt){var kn=ko(fn);if(!kn&&pr.realpath&&Le.preserveSymlinks&&e.isDeclarationFileName(wr)&&e.stringContains(wr,e.nodeModulesPathPart)){var Kn=pt(pr.realpath(wr));Kn!==fn&&(kn=ko(Kn))}if(kn){var Fa=e.isString(kn)?da(kn,$r,Lt,Kt,pn):void 0;return Fa&&xi(Fa,fn,void 0),Fa}}var ua=wr;if(Ne.has(fn)){var le=Ne.get(fn);if(bi(le||void 0,Kt),le&&Le.forceConsistentCasingInFileNames){var rr=le.fileName,yr=pt(rr)!==pt(wr);yr&&(wr=ka(wr)||wr);var ct=e.getNormalizedAbsolutePathWithoutRoot(rr,tt),jt=e.getNormalizedAbsolutePathWithoutRoot(wr,tt);ct!==jt&&bt(wr,le,Kt)}return le&&He.get(le.path)&&Sr===0?(He.set(le.path,!1),Le.noResolve||(pe(le,$r),Rr(le)),Le.noLib||Qr(le),Pr.set(le.path,!1),Xn(le)):le&&Pr.get(le.path)&&Sr<$e&&(Pr.set(le.path,!1),Xn(le)),le||void 0}var yn;if(T(Kt)&&!yt){var ha=mi(wr);if(ha){if(e.outFile(ha.commandLine.options))return;var ri=Xi(ha,wr);wr=ri,yn=pt(ri)}}var Ta=pr.getSourceFile(wr,e.getEmitScriptTarget(Le),function(bo){return Ir(void 0,Kt,e.Diagnostics.Cannot_read_file_0_Colon_1,[wr,bo])},gt);if(pn){var Ya=e.packageIdToString(pn),fi=je.get(Ya);if(fi){var ci=Pn(fi,Ta,wr,fn,pt(wr),ua);return We.add(fi.path,wr),xi(ci,fn,yn),bi(ci,Kt),Ee.set(fn,pn.name),Ye.push(ci),ci}else Ta&&(je.set(Ya,Ta),Ee.set(fn,pn.name))}if(xi(Ta,fn,yn),Ta){if(He.set(fn,Sr>0),Ta.fileName=wr,Ta.path=fn,Ta.resolvedPath=pt(wr),Ta.originalFileName=ua,Ta.impliedNodeFormat=m(Ta.resolvedPath,zn==null?void 0:zn.getPackageJsonInfoCache(),pr,Le),bi(Ta,Kt),pr.useCaseSensitiveFileNames()){var Si=e.toFileNameLowerCase(fn),Do=Ze.get(Si);Do?bt(wr,Do,Kt):Ze.set(Si,Ta)}ze=ze||Ta.hasNoDefaultLib&&!Lt,Le.noResolve||(pe(Ta,$r),Rr(Ta)),Le.noLib||Qr(Ta),Xn(Ta),$r?Ae.push(Ta):Ye.push(Ta)}return Ta}function bi(wr,$r){wr&&Hr.add(wr.path,$r)}function xi(wr,$r,Lt){Lt?(Ne.set(Lt,wr),Ne.set($r,wr||!1)):Ne.set($r,wr)}function ka(wr){var $r=mi(wr);return $r&&Xi($r,wr)}function mi(wr){if(!(!Cr||!Cr.length||e.fileExtensionIs(wr,\".d.ts\")||e.fileExtensionIs(wr,\".json\")))return Gi(wr)}function Xi(wr,$r){var Lt=e.outFile(wr.commandLine.options);return Lt?e.changeExtension(Lt,\".d.ts\"):e.getOutputDeclarationFileName($r,wr.commandLine,!pr.useCaseSensitiveFileNames())}function Gi(wr){dr===void 0&&(dr=new e.Map,Ro(function(Lt){pt(Le.configFilePath)!==Lt.sourceFile.path&&Lt.commandLine.fileNames.forEach(function(Kt){return dr.set(pt(Kt),Lt.sourceFile.path)})}));var $r=dr.get(pt(wr));return $r&&as($r)}function Ro(wr){return e.forEachResolvedProjectReference(Cr,wr)}function ko(wr){if(!!e.isDeclarationFileName(wr))return et===void 0&&(et=new e.Map,Ro(function($r){var Lt=e.outFile($r.commandLine.options);if(Lt){var Kt=e.changeExtension(Lt,\".d.ts\");et.set(pt(Kt),!0)}else{var pn=e.memoize(function(){return e.getCommonSourceDirectoryOfConfig($r.commandLine,!pr.useCaseSensitiveFileNames())});e.forEach($r.commandLine.fileNames,function(fn){if(!e.fileExtensionIs(fn,\".d.ts\")&&!e.fileExtensionIs(fn,\".json\")){var kn=e.getOutputDeclarationFileName(fn,$r.commandLine,!pr.useCaseSensitiveFileNames(),pn);et.set(pt(kn),fn)}})}})),et.get(wr)}function es(wr){return yt&&!!Gi(wr)}function as(wr){if(!!fr)return fr.get(wr)||void 0}function pe(wr,$r){e.forEach(wr.referencedFiles,function(Lt,Kt){So(f(Lt.fileName,wr.fileName),$r,!1,void 0,{kind:e.FileIncludeKind.ReferenceFile,file:wr.path,index:Kt})})}function Rr(wr){var $r=e.map(wr.typeReferenceDirectives,function(Kn){return e.toFileNameLowerCase(Kn.fileName)});if(!!$r)for(var Lt=St($r,wr),Kt=0;Kt<$r.length;Kt++){var pn=wr.typeReferenceDirectives[Kt],fn=Lt[Kt],kn=e.toFileNameLowerCase(pn.fileName);e.setResolvedTypeReferenceDirective(wr,kn,fn),ft(kn,fn,{kind:e.FileIncludeKind.TypeReferenceDirective,file:wr.path,index:Kt})}}function ft(wr,$r,Lt){e.tracing===null||e.tracing===void 0||e.tracing.push(\"program\",\"processTypeReferenceDirective\",{directive:wr,hasResolved:!!It,refKind:Lt.kind,refPath:T(Lt)?Lt.file:void 0}),Zt(wr,$r,Lt),e.tracing===null||e.tracing===void 0||e.tracing.pop()}function Zt(wr,$r,Lt){var Kt=de.get(wr);if(!(Kt&&Kt.primary)){var pn=!0;if($r){if($r.isExternalLibraryImport&&Sr++,$r.primary)So($r.resolvedFileName,!1,!1,$r.packageId,Lt);else if(Kt){if($r.resolvedFileName!==Kt.resolvedFileName){var fn=pr.readFile($r.resolvedFileName),kn=No(Kt.resolvedFileName);fn!==kn.text&&Ir(kn,Lt,e.Diagnostics.Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict,[wr,$r.resolvedFileName,Kt.resolvedFileName])}pn=!1}else So($r.resolvedFileName,!1,!1,$r.packageId,Lt);$r.isExternalLibraryImport&&Sr--}else Ir(void 0,Lt,e.Diagnostics.Cannot_find_type_definition_file_for_0,[wr]);pn&&de.set(wr,$r)}}function Re(wr){for(var $r=wr.split(\".\"),Lt=$r[1],Kt=2;$r[Kt]&&$r[Kt]!==\"d\";)Lt+=(Kt===2?\"/\":\"-\")+$r[Kt],Kt++;var pn=e.combinePaths(tt,\"__lib_node_modules_lookup_\".concat(wr,\"__.ts\")),fn=e.resolveModuleName(\"@typescript/lib-\"+Lt,pn,{moduleResolution:e.ModuleResolutionKind.NodeJs},pr,zn);return fn!=null&&fn.resolvedModule?fn.resolvedModule.resolvedFileName:e.combinePaths(Yr,wr)}function Qr(wr){e.forEach(wr.libReferenceDirectives,function($r,Lt){var Kt=e.toFileNameLowerCase($r.fileName),pn=e.libMap.get(Kt);if(pn)Dt(Re(pn),!0,!0,{kind:e.FileIncludeKind.LibReferenceDirective,file:wr.path,index:Lt});else{var fn=e.removeSuffix(e.removePrefix(Kt,\"lib.\"),\".d.ts\"),kn=e.getSpellingSuggestion(fn,e.libs,e.identity),Kn=kn?e.Diagnostics.Cannot_find_lib_definition_for_0_Did_you_mean_1:e.Diagnostics.Cannot_find_lib_definition_for_0;(Fe||(Fe=[])).push({kind:0,reason:{kind:e.FileIncludeKind.LibReferenceDirective,file:wr.path,index:Lt},diagnostic:Kn,args:[Kt,kn]})}})}function vn(wr){return pr.getCanonicalFileName(wr)}function Xn(wr){var $r;if(xa(wr),wr.imports.length||wr.moduleAugmentations.length){var Lt=Y(wr),Kt=It(Lt,wr);e.Debug.assert(Kt.length===Lt.length);for(var pn=(yt?($r=Ut(wr))===null||$r===void 0?void 0:$r.commandLine.options:void 0)||Le,fn=0;fn<Lt.length;fn++){var kn=Kt[fn];if(e.setResolvedModule(wr,Lt[fn],kn,ne(wr,fn)),!!kn){var Kn=kn.isExternalLibraryImport,Fa=!e.resolutionExtensionIsTSOrJson(kn.extension),ua=Kn&&Fa,le=kn.resolvedFileName;Kn&&Sr++;var rr=ua&&Sr>$e,yr=le&&!R(pn,kn)&&!pn.noResolve&&fn<wr.imports.length&&!rr&&!(Fa&&!e.getAllowJSCompilerOption(pn))&&(e.isInJSFile(wr.imports[fn])||!(wr.imports[fn].flags&4194304));rr?Pr.set(wr.path,!0):yr&&da(le,!1,!1,{kind:e.FileIncludeKind.Import,file:wr.path,index:fn},kn.packageId),Kn&&Sr--}}}else wr.resolvedModules=void 0}function gi(wr,$r){for(var Lt=!0,Kt=pr.getCanonicalFileName(e.getNormalizedAbsolutePath($r,tt)),pn=0,fn=wr;pn<fn.length;pn++){var kn=fn[pn];if(!kn.isDeclarationFile){var Kn=pr.getCanonicalFileName(e.getNormalizedAbsolutePath(kn.fileName,tt));Kn.indexOf(Kt)!==0&&(Us(kn,e.Diagnostics.File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files,[kn.fileName,$r]),Lt=!1)}}return Lt}function Ia(wr){fr||(fr=new e.Map);var $r=Ce(wr),Lt=pt($r),Kt=fr.get(Lt);if(Kt!==void 0)return Kt||void 0;var pn,fn;if(pr.getParsedCommandLine){if(pn=pr.getParsedCommandLine($r),!pn){xi(void 0,Lt,void 0),fr.set(Lt,!1);return}fn=e.Debug.checkDefined(pn.options.configFile),e.Debug.assert(!fn.path||fn.path===Lt),xi(fn,Lt,void 0)}else{var kn=e.getNormalizedAbsolutePath(e.getDirectoryPath($r),pr.getCurrentDirectory());if(fn=pr.getSourceFile($r,100),xi(fn,Lt,void 0),fn===void 0){fr.set(Lt,!1);return}pn=e.parseJsonSourceFileConfigFileContent(fn,Jr,kn,void 0,$r)}fn.fileName=$r,fn.path=Lt,fn.resolvedPath=Lt,fn.originalFileName=$r;var Kn={commandLine:pn,sourceFile:fn};return fr.set(Lt,Kn),pn.projectReferences&&(Kn.references=pn.projectReferences.map(Ia)),Kn}function oo(){var wr=e.stringContains(e.version,\"-dev\");wr||(e.getEmitModuleKind(Le)===e.ModuleKind.Node12?ql(\"module\",e.Diagnostics.Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next,\"module\",\"node12\"):e.getEmitModuleKind(Le)===e.ModuleKind.NodeNext?ql(\"module\",e.Diagnostics.Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next,\"module\",\"nodenext\"):e.getEmitModuleResolutionKind(Le)===e.ModuleResolutionKind.Node12?ql(\"moduleResolution\",e.Diagnostics.Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next,\"moduleResolution\",\"node12\"):e.getEmitModuleResolutionKind(Le)===e.ModuleResolutionKind.NodeNext&&ql(\"moduleResolution\",e.Diagnostics.Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next,\"moduleResolution\",\"nodenext\")),Le.strictPropertyInitialization&&!e.getStrictOptionValue(Le,\"strictNullChecks\")&&no(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,\"strictPropertyInitialization\",\"strictNullChecks\"),Le.exactOptionalPropertyTypes&&!e.getStrictOptionValue(Le,\"strictNullChecks\")&&no(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,\"exactOptionalPropertyTypes\",\"strictNullChecks\"),Le.isolatedModules&&(Le.out&&no(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,\"out\",\"isolatedModules\"),Le.outFile&&no(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,\"outFile\",\"isolatedModules\")),Le.inlineSourceMap&&(Le.sourceMap&&no(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,\"sourceMap\",\"inlineSourceMap\"),Le.mapRoot&&no(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,\"mapRoot\",\"inlineSourceMap\")),Le.composite&&(Le.declaration===!1&&no(e.Diagnostics.Composite_projects_may_not_disable_declaration_emit,\"declaration\"),Le.incremental===!1&&no(e.Diagnostics.Composite_projects_may_not_disable_incremental_compilation,\"declaration\"));var $r=e.outFile(Le);if(Le.tsBuildInfoFile?e.isIncrementalCompilation(Le)||no(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,\"tsBuildInfoFile\",\"incremental\",\"composite\"):Le.incremental&&!$r&&!Le.configFilePath&&lt.add(e.createCompilerDiagnostic(e.Diagnostics.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified)),Ml(),Le.composite)for(var Lt=new e.Set(_e.map(pt)),Kt=0,pn=Dr;Kt<pn.length;Kt++){var fn=pn[Kt];e.sourceFileMayBeEmitted(fn,Wn)&&!Lt.has(fn.path)&&Us(fn,e.Diagnostics.File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern,[fn.fileName,Le.configFilePath||\"\"])}if(Le.paths){for(var kn in Le.paths)if(!!e.hasProperty(Le.paths,kn))if(e.hasZeroOrOneAsteriskCharacter(kn)||Vs(!0,kn,e.Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character,kn),e.isArray(Le.paths[kn])){var Kn=Le.paths[kn].length;Kn===0&&Vs(!1,kn,e.Diagnostics.Substitutions_for_pattern_0_shouldn_t_be_an_empty_array,kn);for(var Fa=0;Fa<Kn;Fa++){var ua=Le.paths[kn][Fa],le=typeof ua;le===\"string\"?(e.hasZeroOrOneAsteriskCharacter(ua)||Co(kn,Fa,e.Diagnostics.Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character,ua,kn),!Le.baseUrl&&!e.pathIsRelative(ua)&&!e.pathIsAbsolute(ua)&&Co(kn,Fa,e.Diagnostics.Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash)):Co(kn,Fa,e.Diagnostics.Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2,ua,kn,le)}}else Vs(!1,kn,e.Diagnostics.Substitutions_for_pattern_0_should_be_an_array,kn)}!Le.sourceMap&&!Le.inlineSourceMap&&(Le.inlineSources&&no(e.Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,\"inlineSources\"),Le.sourceRoot&&no(e.Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,\"sourceRoot\")),Le.out&&Le.outFile&&no(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,\"out\",\"outFile\"),Le.mapRoot&&!(Le.sourceMap||Le.declarationMap)&&no(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,\"mapRoot\",\"sourceMap\",\"declarationMap\"),Le.declarationDir&&(e.getEmitDeclarations(Le)||no(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,\"declarationDir\",\"declaration\",\"composite\"),$r&&no(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,\"declarationDir\",Le.out?\"out\":\"outFile\")),Le.declarationMap&&!e.getEmitDeclarations(Le)&&no(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,\"declarationMap\",\"declaration\",\"composite\"),Le.lib&&Le.noLib&&no(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,\"lib\",\"noLib\"),Le.noImplicitUseStrict&&e.getStrictOptionValue(Le,\"alwaysStrict\")&&no(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,\"noImplicitUseStrict\",\"alwaysStrict\");var rr=e.getEmitScriptTarget(Le),yr=e.find(Dr,function(Ya){return e.isExternalModule(Ya)&&!Ya.isDeclarationFile});if(Le.isolatedModules){Le.module===e.ModuleKind.None&&rr<2&&no(e.Diagnostics.Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher,\"isolatedModules\",\"target\"),Le.preserveConstEnums===!1&&no(e.Diagnostics.Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled,\"preserveConstEnums\",\"isolatedModules\");var ct=e.find(Dr,function(Ya){return!e.isExternalModule(Ya)&&!e.isSourceFileJS(Ya)&&!Ya.isDeclarationFile&&Ya.scriptKind!==6});if(ct){var jt=e.getErrorSpanForNode(ct,ct);lt.add(e.createFileDiagnostic(ct,jt.start,jt.length,e.Diagnostics._0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_import_export_or_an_empty_export_statement_to_make_it_a_module,e.getBaseFileName(ct.fileName)))}}else if(yr&&rr<2&&Le.module===e.ModuleKind.None){var jt=e.getErrorSpanForNode(yr,yr.externalModuleIndicator);lt.add(e.createFileDiagnostic(yr,jt.start,jt.length,e.Diagnostics.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none))}if($r&&!Le.emitDeclarationOnly){if(Le.module&&!(Le.module===e.ModuleKind.AMD||Le.module===e.ModuleKind.System))no(e.Diagnostics.Only_amd_and_system_modules_are_supported_alongside_0,Le.out?\"out\":\"outFile\",\"module\");else if(Le.module===void 0&&yr){var jt=e.getErrorSpanForNode(yr,yr.externalModuleIndicator);lt.add(e.createFileDiagnostic(yr,jt.start,jt.length,e.Diagnostics.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system,Le.out?\"out\":\"outFile\"))}}if(Le.resolveJsonModule&&(e.getEmitModuleResolutionKind(Le)!==e.ModuleResolutionKind.NodeJs&&e.getEmitModuleResolutionKind(Le)!==e.ModuleResolutionKind.Node12&&e.getEmitModuleResolutionKind(Le)!==e.ModuleResolutionKind.NodeNext?no(e.Diagnostics.Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy,\"resolveJsonModule\"):e.hasJsonModuleEmitEnabled(Le)||no(e.Diagnostics.Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext,\"resolveJsonModule\",\"module\")),Le.outDir||Le.rootDir||Le.sourceRoot||Le.mapRoot){var yn=_t();Le.outDir&&yn===\"\"&&Dr.some(function(Ya){return e.getRootLength(Ya.fileName)>1})&&no(e.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,\"outDir\")}if(Le.useDefineForClassFields&&rr===0&&no(e.Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3,\"useDefineForClassFields\"),Le.checkJs&&!e.getAllowJSCompilerOption(Le)&&lt.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,\"checkJs\",\"allowJs\")),Le.emitDeclarationOnly&&(e.getEmitDeclarations(Le)||no(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,\"emitDeclarationOnly\",\"declaration\",\"composite\"),Le.noEmit&&no(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,\"emitDeclarationOnly\",\"noEmit\")),Le.emitDecoratorMetadata&&!Le.experimentalDecorators&&no(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,\"emitDecoratorMetadata\",\"experimentalDecorators\"),Le.jsxFactory?(Le.reactNamespace&&no(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,\"reactNamespace\",\"jsxFactory\"),(Le.jsx===4||Le.jsx===5)&&no(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,\"jsxFactory\",e.inverseJsxOptionMap.get(\"\"+Le.jsx)),e.parseIsolatedEntityName(Le.jsxFactory,rr)||ql(\"jsxFactory\",e.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,Le.jsxFactory)):Le.reactNamespace&&!e.isIdentifierText(Le.reactNamespace,rr)&&ql(\"reactNamespace\",e.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,Le.reactNamespace),Le.jsxFragmentFactory&&(Le.jsxFactory||no(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,\"jsxFragmentFactory\",\"jsxFactory\"),(Le.jsx===4||Le.jsx===5)&&no(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,\"jsxFragmentFactory\",e.inverseJsxOptionMap.get(\"\"+Le.jsx)),e.parseIsolatedEntityName(Le.jsxFragmentFactory,rr)||ql(\"jsxFragmentFactory\",e.Diagnostics.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,Le.jsxFragmentFactory)),Le.reactNamespace&&(Le.jsx===4||Le.jsx===5)&&no(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,\"reactNamespace\",e.inverseJsxOptionMap.get(\"\"+Le.jsx)),Le.jsxImportSource&&Le.jsx===2&&no(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,\"jsxImportSource\",e.inverseJsxOptionMap.get(\"\"+Le.jsx)),Le.preserveValueImports&&e.getEmitModuleKind(Le)<e.ModuleKind.ES2015&&ql(\"importsNotUsedAsValues\",e.Diagnostics.Option_preserveValueImports_can_only_be_used_when_module_is_set_to_es2015_or_later),!Le.noEmit&&!Le.suppressOutputPathCheck){var ha=Qn(),ri=new e.Set;e.forEachEmittedFile(ha,function(Ya){Le.emitDeclarationOnly||Ta(Ya.jsFilePath,ri),Ta(Ya.declarationFilePath,ri)})}function Ta(Ya,fi){if(Ya){var ci=pt(Ya);if(Ne.has(ci)){var Si=void 0;Le.configFilePath||(Si=e.chainDiagnosticMessages(void 0,e.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)),Si=e.chainDiagnosticMessages(Si,e.Diagnostics.Cannot_write_file_0_because_it_would_overwrite_input_file,Ya),La(Ya,e.createCompilerDiagnosticFromMessageChain(Si))}var Do=pr.useCaseSensitiveFileNames()?ci:e.toFileNameLowerCase(ci);fi.has(Do)?La(Ya,e.createCompilerDiagnostic(e.Diagnostics.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,Ya)):fi.add(Do)}}}function Wo(wr,$r,Lt,Kt){var pn,fn,kn,Kn=T($r)?$r:void 0;wr&&((pn=Hr.get(wr.path))===null||pn===void 0||pn.forEach(yr)),$r&&yr($r),Kn&&(fn==null?void 0:fn.length)===1&&(fn=void 0);var Fa=Kn&&y(lo,Kn),ua=fn&&e.chainDiagnosticMessages(fn,e.Diagnostics.The_file_is_in_the_program_because_Colon),le=wr&&e.explainIfFileIsRedirect(wr),rr=e.chainDiagnosticMessages.apply(void 0,Gt([le?ua?Gt([ua],le,!0):le:ua,Lt],Kt||e.emptyArray,!1));return Fa&&N(Fa)?e.createFileDiagnosticFromMessageChain(Fa.file,Fa.pos,Fa.end-Fa.pos,rr,kn):e.createCompilerDiagnosticFromMessageChain(rr,kn);function yr(ct){(fn||(fn=[])).push(e.fileIncludeReasonToDiagnostics(Wn,ct)),!Kn&&T(ct)?Kn=ct:Kn!==ct&&(kn=e.append(kn,il(ct))),ct===$r&&($r=void 0)}}function Ir(wr,$r,Lt,Kt){(Fe||(Fe=[])).push({kind:1,file:wr&&wr.path,fileProcessingReason:$r,diagnostic:Lt,args:Kt})}function Us(wr,$r,Lt){lt.add(Wo(wr,void 0,$r,Lt))}function il(wr){if(T(wr)){var $r=y(lo,wr),Lt;switch(wr.kind){case e.FileIncludeKind.Import:Lt=e.Diagnostics.File_is_included_via_import_here;break;case e.FileIncludeKind.ReferenceFile:Lt=e.Diagnostics.File_is_included_via_reference_here;break;case e.FileIncludeKind.TypeReferenceDirective:Lt=e.Diagnostics.File_is_included_via_type_library_reference_here;break;case e.FileIncludeKind.LibReferenceDirective:Lt=e.Diagnostics.File_is_included_via_library_reference_here;break;default:e.Debug.assertNever(wr)}return N($r)?e.createFileDiagnostic($r.file,$r.pos,$r.end-$r.pos,Lt):void 0}if(!!Le.configFile){var Kt,pn;switch(wr.kind){case e.FileIncludeKind.RootFile:if(!Le.configFile.configFileSpecs)return;var fn=e.getNormalizedAbsolutePath(_e[wr.index],tt),kn=e.getMatchedFileSpec(Wn,fn);if(kn){Kt=e.getTsConfigPropArrayElementValue(Le.configFile,\"files\",kn),pn=e.Diagnostics.File_is_matched_by_files_list_specified_here;break}var Kn=e.getMatchedIncludeSpec(Wn,fn);if(!Kn)return;Kt=e.getTsConfigPropArrayElementValue(Le.configFile,\"include\",Kn),pn=e.Diagnostics.File_is_matched_by_include_pattern_specified_here;break;case e.FileIncludeKind.SourceFromProjectReference:case e.FileIncludeKind.OutputFromProjectReference:var Fa=e.Debug.checkDefined(Cr==null?void 0:Cr[wr.index]),ua=re(Xe,Cr,function(jt,yn,ha){return jt===Fa?{sourceFile:(yn==null?void 0:yn.sourceFile)||Le.configFile,index:ha}:void 0});if(!ua)return;var le=ua.sourceFile,rr=ua.index,yr=e.firstDefined(e.getTsConfigPropArray(le,\"references\"),function(jt){return e.isArrayLiteralExpression(jt.initializer)?jt.initializer:void 0});return yr&&yr.elements.length>rr?e.createDiagnosticForNodeInSourceFile(le,yr.elements[rr],wr.kind===e.FileIncludeKind.OutputFromProjectReference?e.Diagnostics.File_is_output_from_referenced_project_specified_here:e.Diagnostics.File_is_source_from_referenced_project_specified_here):void 0;case e.FileIncludeKind.AutomaticTypeDirectiveFile:if(!Le.types)return;Kt=cu(\"types\",wr.typeReference),pn=e.Diagnostics.File_is_entry_point_of_type_library_specified_here;break;case e.FileIncludeKind.LibFile:if(wr.index!==void 0){Kt=cu(\"lib\",Le.lib[wr.index]),pn=e.Diagnostics.File_is_library_specified_here;break}var ct=e.forEachEntry(e.targetOptionDeclaration.type,function(jt,yn){return jt===e.getEmitScriptTarget(Le)?yn:void 0});Kt=ct?uc(\"target\",ct):void 0,pn=e.Diagnostics.File_is_default_library_for_target_specified_here;break;default:e.Debug.assertNever(wr)}return Kt&&e.createDiagnosticForNodeInSourceFile(Le.configFile,Kt,pn)}}function Ml(){var wr=Le.suppressOutputPathCheck?void 0:e.getTsBuildInfoEmitOutputFilePath(Le);re(Xe,Cr,function($r,Lt,Kt){var pn=(Lt?Lt.commandLine.projectReferences:Xe)[Kt],fn=Lt&&Lt.sourceFile;if(!$r){fc(fn,Kt,e.Diagnostics.File_0_not_found,pn.path);return}var kn=$r.commandLine.options;if(!kn.composite||kn.noEmit){var Kn=Lt?Lt.commandLine.fileNames:_e;Kn.length&&(kn.composite||fc(fn,Kt,e.Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true,pn.path),kn.noEmit&&fc(fn,Kt,e.Diagnostics.Referenced_project_0_may_not_disable_emit,pn.path))}if(pn.prepend){var Fa=e.outFile(kn);Fa?pr.fileExists(Fa)||fc(fn,Kt,e.Diagnostics.Output_file_0_from_project_1_does_not_exist,Fa,pn.path):fc(fn,Kt,e.Diagnostics.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,pn.path)}!Lt&&wr&&wr===e.getTsBuildInfoEmitOutputFilePath(kn)&&(fc(fn,Kt,e.Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,wr,pn.path),bn.set(pt(wr),!0))})}function Co(wr,$r,Lt,Kt,pn,fn){for(var kn=!0,Kn=zl(),Fa=0,ua=Kn;Fa<ua.length;Fa++){var le=ua[Fa];if(e.isObjectLiteralExpression(le.initializer))for(var rr=0,yr=e.getPropertyAssignment(le.initializer,wr);rr<yr.length;rr++){var ct=yr[rr],jt=ct.initializer;e.isArrayLiteralExpression(jt)&&jt.elements.length>$r&&(lt.add(e.createDiagnosticForNodeInSourceFile(Le.configFile,jt.elements[$r],Lt,Kt,pn,fn)),kn=!1)}}kn&&lt.add(e.createCompilerDiagnostic(Lt,Kt,pn,fn))}function Vs(wr,$r,Lt,Kt){for(var pn=!0,fn=zl(),kn=0,Kn=fn;kn<Kn.length;kn++){var Fa=Kn[kn];e.isObjectLiteralExpression(Fa.initializer)&&Ic(Fa.initializer,wr,$r,void 0,Lt,Kt)&&(pn=!1)}pn&&lt.add(e.createCompilerDiagnostic(Lt,Kt))}function Ql(wr){var $r=xc();return $r&&e.getPropertyAssignment($r,wr)}function zl(){return Ql(\"paths\")||e.emptyArray}function uc(wr,$r){var Lt=Ql(wr);return Lt&&e.firstDefined(Lt,function(Kt){return e.isStringLiteral(Kt.initializer)&&Kt.initializer.text===$r?Kt.initializer:void 0})}function cu(wr,$r){var Lt=xc();return Lt&&e.getPropertyArrayElementValue(Lt,wr,$r)}function no(wr,$r,Lt,Kt){Ws(!0,$r,Lt,wr,$r,Lt,Kt)}function ql(wr,$r,Lt,Kt){Ws(!1,wr,void 0,$r,Lt,Kt)}function fc(wr,$r,Lt,Kt,pn){var fn=e.firstDefined(e.getTsConfigPropArray(wr||Le.configFile,\"references\"),function(kn){return e.isArrayLiteralExpression(kn.initializer)?kn.initializer:void 0});fn&&fn.elements.length>$r?lt.add(e.createDiagnosticForNodeInSourceFile(wr||Le.configFile,fn.elements[$r],Lt,Kt,pn)):lt.add(e.createCompilerDiagnostic(Lt,Kt,pn))}function Ws(wr,$r,Lt,Kt,pn,fn,kn){var Kn=xc(),Fa=!Kn||!Ic(Kn,wr,$r,Lt,Kt,pn,fn,kn);Fa&&lt.add(e.createCompilerDiagnostic(Kt,pn,fn,kn))}function xc(){if(In===void 0){In=!1;var wr=e.getTsConfigObjectLiteralExpression(Le.configFile);if(wr)for(var $r=0,Lt=e.getPropertyAssignment(wr,\"compilerOptions\");$r<Lt.length;$r++){var Kt=Lt[$r];if(e.isObjectLiteralExpression(Kt.initializer)){In=Kt.initializer;break}}}return In||void 0}function Ic(wr,$r,Lt,Kt,pn,fn,kn,Kn){for(var Fa=e.getPropertyAssignment(wr,Lt,Kt),ua=0,le=Fa;ua<le.length;ua++){var rr=le[ua];lt.add(e.createDiagnosticForNodeInSourceFile(Le.configFile,$r?rr.name:rr.initializer,pn,fn,kn,Kn))}return!!Fa.length}function La(wr,$r){bn.set(pt(wr),!0),lt.add($r)}function uu(wr){if(Le.noEmit)return!1;var $r=pt(wr);if(lo($r))return!1;var Lt=e.outFile(Le);if(Lt)return dc($r,Lt)||dc($r,e.removeFileExtension(Lt)+\".d.ts\");if(Le.declarationDir&&e.containsPath(Le.declarationDir,$r,tt,!pr.useCaseSensitiveFileNames()))return!0;if(Le.outDir)return e.containsPath(Le.outDir,$r,tt,!pr.useCaseSensitiveFileNames());if(e.fileExtensionIsOneOf($r,e.supportedJSExtensionsFlat)||e.fileExtensionIs($r,\".d.ts\")){var Kt=e.removeFileExtension($r);return!!lo(Kt+\".ts\")||!!lo(Kt+\".tsx\")}return!1}function dc(wr,$r){return e.comparePaths(wr,$r,tt,!pr.useCaseSensitiveFileNames())===0}function Nc(){return pr.getSymlinkCache?pr.getSymlinkCache():(br||(br=e.createSymlinkCache(tt,vn)),Dr&&de&&!br.hasProcessedResolutions()&&br.setSymlinksFromResolutions(Dr,de),br)}}e.createProgram=P;function te(K){var Te,ge=K.compilerHost.fileExists,ke=K.compilerHost.directoryExists,Pe=K.compilerHost.getDirectories,Ie=K.compilerHost.realpath;if(!K.useSourceOfProjectReferenceRedirect)return{onProgramCreateComplete:e.noop,fileExists:ve};K.compilerHost.fileExists=ve;var Ge;return ke&&(Ge=K.compilerHost.directoryExists=function(Xe){return ke.call(K.compilerHost,Xe)?(Le(Xe),!0):K.getResolvedProjectReferences()?(Te||(Te=new e.Set,K.forEachResolvedProjectReference(function(De){var Ae=e.outFile(De.commandLine.options);if(Ae)Te.add(e.getDirectoryPath(K.toPath(Ae)));else{var Ye=De.commandLine.options.declarationDir||De.commandLine.options.outDir;Ye&&Te.add(K.toPath(Ye))}})),qe(Xe,!1)):!1}),Pe&&(K.compilerHost.getDirectories=function(Xe){return!K.getResolvedProjectReferences()||ke&&ke.call(K.compilerHost,Xe)?Pe.call(K.compilerHost,Xe):[]}),Ie&&(K.compilerHost.realpath=function(Xe){var De;return((De=K.getSymlinkCache().getSymlinkedFiles())===null||De===void 0?void 0:De.get(K.toPath(Xe)))||Ie.call(K.compilerHost,Xe)}),{onProgramCreateComplete:he,fileExists:ve,directoryExists:Ge};function he(){K.compilerHost.fileExists=ge,K.compilerHost.directoryExists=ke,K.compilerHost.getDirectories=Pe}function ve(Xe){return ge.call(K.compilerHost,Xe)?!0:!K.getResolvedProjectReferences()||!e.isDeclarationFileName(Xe)?!1:qe(Xe,!0)}function Ve(Xe){var De=K.getSourceOfProjectReferenceRedirect(K.toPath(Xe));return De!==void 0?e.isString(De)?ge.call(K.compilerHost,De):!0:void 0}function _e(Xe){var De=K.toPath(Xe),Ae=\"\".concat(De).concat(e.directorySeparator);return e.forEachKey(Te,function(Ye){return De===Ye||e.startsWith(Ye,Ae)||e.startsWith(De,\"\".concat(Ye,\"/\"))})}function Le(Xe){var De;if(!(!K.getResolvedProjectReferences()||e.containsIgnoredPath(Xe))&&!(!Ie||!e.stringContains(Xe,e.nodeModulesPathPart))){var Ae=K.getSymlinkCache(),Ye=e.ensureTrailingDirectorySeparator(K.toPath(Xe));if(!(!((De=Ae.getSymlinkedDirectories())===null||De===void 0)&&De.has(Ye))){var Dr=e.normalizePath(Ie.call(K.compilerHost,Xe)),br;if(Dr===Xe||(br=e.ensureTrailingDirectorySeparator(K.toPath(Dr)))===Ye){Ae.setSymlinkedDirectory(Ye,!1);return}Ae.setSymlinkedDirectory(Xe,{real:e.ensureTrailingDirectorySeparator(Dr),realPath:br})}}}function qe(Xe,De){var Ae,Ye=De?function(kr){return Ve(kr)}:function(kr){return _e(kr)},Dr=Ye(Xe);if(Dr!==void 0)return Dr;var br=K.getSymlinkCache(),lr=br.getSymlinkedDirectories();if(!lr)return!1;var Ar=K.toPath(Xe);return e.stringContains(Ar,e.nodeModulesPathPart)?De&&((Ae=br.getSymlinkedFiles())===null||Ae===void 0?void 0:Ae.has(Ar))?!0:e.firstDefinedIterator(lr.entries(),function(kr){var Ke=kr[0],Me=kr[1];if(!(!Me||!e.startsWith(Ar,Ke))){var Hr=Ye(Ar.replace(Ke,Me.realPath));if(De&&Hr){var ur=e.getNormalizedAbsolutePath(Xe,K.compilerHost.getCurrentDirectory());br.setSymlinkedFile(Ar,\"\".concat(Me.real).concat(ur.replace(new RegExp(Ke,\"i\"),\"\")))}return Hr}})||!1:!1}}e.emitSkippedWithNoDiagnostics={diagnostics:e.emptyArray,sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0};function ue(K,Te,ge,ke){var Pe=K.getCompilerOptions();if(Pe.noEmit)return K.getSemanticDiagnostics(Te,ke),Te||e.outFile(Pe)?e.emitSkippedWithNoDiagnostics:K.emitBuildInfo(ge,ke);if(!!Pe.noEmitOnError){var Ie=Gt(Gt(Gt(Gt([],K.getOptionsDiagnostics(ke),!0),K.getSyntacticDiagnostics(Te,ke),!0),K.getGlobalDiagnostics(ke),!0),K.getSemanticDiagnostics(Te,ke),!0);if(Ie.length===0&&e.getEmitDeclarations(K.getCompilerOptions())&&(Ie=K.getDeclarationDiagnostics(void 0,ke)),!!Ie.length){var Ge;if(!Te&&!e.outFile(Pe)){var he=K.emitBuildInfo(ge,ke);he.diagnostics&&(Ie=Gt(Gt([],Ie,!0),he.diagnostics,!0)),Ge=he.emittedFiles}return{diagnostics:Ie,sourceMaps:void 0,emittedFiles:Ge,emitSkipped:!0}}}}e.handleNoEmitOptions=ue;function X(K,Te){return e.filter(K,function(ge){return!ge.skippedOn||!Te[ge.skippedOn]})}e.filterSemanticDiagnostics=X;function j(K,Te){return Te===void 0&&(Te=K),{fileExists:function(ge){return Te.fileExists(ge)},readDirectory:function(ge,ke,Pe,Ie,Ge){return e.Debug.assertIsDefined(Te.readDirectory,\"'CompilerHost.readDirectory' must be implemented to correctly process 'projectReferences'\"),Te.readDirectory(ge,ke,Pe,Ie,Ge)},readFile:function(ge){return Te.readFile(ge)},useCaseSensitiveFileNames:K.useCaseSensitiveFileNames(),getCurrentDirectory:function(){return K.getCurrentDirectory()},onUnRecoverableConfigFileDiagnostic:K.onUnRecoverableConfigFileDiagnostic||e.returnUndefined,trace:K.trace?function(ge){return K.trace(ge)}:void 0}}e.parseConfigHostFromCompilerHostLike=j;function Se(K,Te,ge){if(!K)return e.emptyArray;for(var ke,Pe=0;Pe<K.length;Pe++){var Ie=K[Pe],Ge=Te(Ie,Pe);if(Ie.prepend&&Ge&&Ge.options){var he=e.outFile(Ge.options);if(!he)continue;var ve=e.getOutputPathsForBundle(Ge.options,!0),Ve=ve.jsFilePath,_e=ve.sourceMapFilePath,Le=ve.declarationFilePath,qe=ve.declarationMapPath,Xe=ve.buildInfoPath,De=e.createInputFiles(ge,Ve,_e,Le,qe,Xe);(ke||(ke=[])).push(De)}}return ke||e.emptyArray}e.createPrependNodes=Se;function Ce(K,Te){var ge=Te||K;return e.resolveConfigFileProjectName(ge.path)}e.resolveProjectReferencePath=Ce;function R(K,Te){var ge=Te.extension;switch(ge){case\".ts\":case\".d.ts\":return;case\".tsx\":return ke();case\".jsx\":return ke()||Pe();case\".js\":return Pe();case\".json\":return Ie()}function ke(){return K.jsx?void 0:e.Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set}function Pe(){return e.getAllowJSCompilerOption(K)||!e.getStrictOptionValue(K,\"noImplicitAny\")?void 0:e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type}function Ie(){return K.resolveJsonModule?void 0:e.Diagnostics.Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used}}e.getResolutionDiagnostic=R;function Y(K){for(var Te=K.imports,ge=K.moduleAugmentations,ke=Te.map(function(he){return he.text}),Pe=0,Ie=ge;Pe<Ie.length;Pe++){var Ge=Ie[Pe];Ge.kind===10&&ke.push(Ge.text)}return ke}function U(K,Te){var ge=K.imports,ke=K.moduleAugmentations;if(Te<ge.length)return ge[Te];for(var Pe=ge.length,Ie=0,Ge=ke;Ie<Ge.length;Ie++){var he=Ge[Ie];if(he.kind===10){if(Te===Pe)return he;Pe++}}e.Debug.fail(\"should never ask for module name at index higher than possible module name\")}e.getModuleNameStringLiteralAt=U}(jr||(jr={})),function(e){function n(f,p,a,d,k,J){var h=[],v=f.emit(p,b,d,a,k,J),A=v.emitSkipped,z=v.diagnostics,ie=v.exportedModulesFromDeclarationEmit;return{outputFiles:h,emitSkipped:A,diagnostics:z,exportedModulesFromDeclarationEmit:ie};function b(M,S,B){h.push({name:M,writeByteOrderMark:B,text:S})}}e.getFileEmitOutput=n,function(f){var p=0;function a(){function N(y,D,C){var m=0,u={id:p++,version:function(){return m},clone:function(){return N(new e.Map(y),new e.Map(D),C&&new e.Set(C))},forEach:function(g){return y.forEach(g)},getKeys:function(g){return D.get(g)},getValues:function(g){return y.get(g)},hasKey:function(g){return y.has(g)},keys:function(){return y.keys()},deletedKeys:function(){return C},deleteKey:function(g){(C||(C=new e.Set)).add(g);var P=y.get(g);return P?(P.forEach(function(te){return k(D,te,g)}),y.delete(g),m++,!0):!1},set:function(g,P){var te=!!(C!=null&&C.delete(g)),ue=y.get(g);return y.set(g,P),ue==null||ue.forEach(function(X){P.has(X)||(te=!0,k(D,X,g))}),P.forEach(function(X){ue!=null&&ue.has(X)||(te=!0,d(D,X,g))}),te&&m++,u}};return u}return N(new e.Map,new e.Map,void 0)}f.createManyToManyPathMap=a;function d(N,y,D){var C=N.get(y);C||(C=new e.Set,N.set(y,C)),C.add(D)}function k(N,y,D,C){C===void 0&&(C=!0);var m=N.get(y);return m!=null&&m.delete(D)?(C&&!m.size&&N.delete(y),!0):!1}function J(N){return e.mapDefined(N.declarations,function(y){var D;return(D=e.getSourceFileOfNode(y))===null||D===void 0?void 0:D.resolvedPath})}function h(N,y){var D=N.getSymbolAtLocation(y);return D&&J(D)}function v(N,y,D,C){return e.toPath(N.getProjectReferenceRedirect(y)||y,D,C)}function A(N,y,D){var C;if(y.imports&&y.imports.length>0)for(var m=N.getTypeChecker(),u=0,g=y.imports;u<g.length;u++){var P=g[u],te=h(m,P);te==null||te.forEach(Ie)}var ue=e.getDirectoryPath(y.resolvedPath);if(y.referencedFiles&&y.referencedFiles.length>0)for(var X=0,j=y.referencedFiles;X<j.length;X++){var Se=j[X],Ce=v(N,Se.fileName,ue,D);Ie(Ce)}if(y.resolvedTypeReferenceDirectiveNames&&y.resolvedTypeReferenceDirectiveNames.forEach(function(Ge){if(!!Ge){var he=Ge.resolvedFileName,ve=v(N,he,ue,D);Ie(ve)}}),y.moduleAugmentations.length)for(var m=N.getTypeChecker(),R=0,Y=y.moduleAugmentations;R<Y.length;R++){var U=Y[R];if(!!e.isStringLiteral(U)){var K=m.getSymbolAtLocation(U);!K||Pe(K)}}for(var Te=0,ge=N.getTypeChecker().getAmbientModules();Te<ge.length;Te++){var ke=ge[Te];ke.declarations&&ke.declarations.length>1&&Pe(ke)}return C;function Pe(Ge){if(!!Ge.declarations)for(var he=0,ve=Ge.declarations;he<ve.length;he++){var Ve=ve[he],_e=e.getSourceFileOfNode(Ve);_e&&_e!==y&&Ie(_e.resolvedPath)}}function Ie(Ge){(C||(C=new e.Set)).add(Ge)}}function z(N,y){return y&&!y.referencedMap==!N}f.canReuseOldState=z;function ie(N,y,D,C){var m=new e.Map,u=N.getCompilerOptions().module!==e.ModuleKind.None?a():void 0,g=u?a():void 0,P=new e.Set,te=z(u,D);N.getTypeChecker();for(var ue=0,X=N.getSourceFiles();ue<X.length;ue++){var j=X[ue],Se=e.Debug.checkDefined(j.version,\"Program intended to be used with Builder should have source files with versions set\"),Ce=te?D.fileInfos.get(j.resolvedPath):void 0;if(u){var R=A(N,j,y);if(R&&u.set(j.resolvedPath,R),te){var Y=D.exportedModulesMap.getValues(j.resolvedPath);Y&&g.set(j.resolvedPath,Y)}}m.set(j.resolvedPath,{version:Se,signature:Ce&&Ce.signature,affectsGlobalScope:Q(j)||void 0,impliedFormat:j.impliedNodeFormat})}return{fileInfos:m,referencedMap:u,exportedModulesMap:g,hasCalledUpdateShapeSignature:P,useFileVersionAsSignature:!C&&!te}}f.create=ie;function b(N){N.allFilesExcludingDefaultLibraryFile=void 0,N.allFileNames=void 0}f.releaseCache=b;function M(N){var y,D;return{fileInfos:new e.Map(N.fileInfos),referencedMap:(y=N.referencedMap)===null||y===void 0?void 0:y.clone(),exportedModulesMap:(D=N.exportedModulesMap)===null||D===void 0?void 0:D.clone(),hasCalledUpdateShapeSignature:new e.Set(N.hasCalledUpdateShapeSignature),useFileVersionAsSignature:N.useFileVersionAsSignature}}f.clone=M;function S(N,y,D,C,m,u,g){var P=u||new e.Map,te=y.getSourceFileByPath(D);if(!te)return e.emptyArray;if(!I(N,y,te,P,C,m,g))return[te];var ue=(N.referencedMap?T:re)(N,y,te,P,C,m,g);return u||B(N,P),ue}f.getFilesAffectedBy=S;function B(N,y){y.forEach(function(D,C){return H(N,D,C)})}f.updateSignaturesFromCache=B;function H(N,y,D){N.fileInfos.get(D).signature=y,N.hasCalledUpdateShapeSignature.add(D)}f.updateSignatureOfFile=H;function I(N,y,D,C,m,u,g,P){if(P===void 0&&(P=N.useFileVersionAsSignature),e.Debug.assert(!!D),e.Debug.assert(!g||!!N.exportedModulesMap,\"Compute visible to outside map only if visibleToOutsideReferencedMap present in the state\"),N.hasCalledUpdateShapeSignature.has(D.resolvedPath)||C.has(D.resolvedPath))return!1;var te=N.fileInfos.get(D.resolvedPath);if(!te)return e.Debug.fail();var ue=te.signature,X;if(!D.isDeclarationFile&&!P){var j=n(y,D,!0,m,void 0,!0),Se=e.firstOrUndefined(j.outputFiles);Se&&(e.Debug.assert(e.fileExtensionIsOneOf(Se.name,[\".d.ts\",\".d.mts\",\".d.cts\"]),\"File extension for signature expected to be dts\",function(){return\"Found: \".concat(e.getAnyExtensionFromPath(Se.name),\" for \").concat(Se.name,\":: All output files: \").concat(JSON.stringify(j.outputFiles.map(function(R){return R.name})))}),X=(u||e.generateDjb2Hash)(Se.text),g&&X!==ue&&w(D,j.exportedModulesFromDeclarationEmit,g))}if(X===void 0&&(X=D.version,g&&X!==ue)){var Ce=N.referencedMap?N.referencedMap.getValues(D.resolvedPath):void 0;Ce?g.set(D.resolvedPath,Ce):g.deleteKey(D.resolvedPath)}return C.set(D.resolvedPath,X),X!==ue}f.updateShapeSignature=I;function w(N,y,D){if(!y){D.deleteKey(N.resolvedPath);return}var C;y.forEach(function(u){return m(J(u))}),C?D.set(N.resolvedPath,C):D.deleteKey(N.resolvedPath);function m(u){u!=null&&u.length&&(C||(C=new e.Set),u.forEach(function(g){return C.add(g)}))}}function x(N,y){var D;if(y){e.Debug.assert(!!N.exportedModulesMap);var C=y.id,m=y.version();if(N.previousCache){if(N.previousCache.id===C&&N.previousCache.version===m)return;N.previousCache.id=C,N.previousCache.version=m}else N.previousCache={id:C,version:m};(D=y.deletedKeys())===null||D===void 0||D.forEach(function(u){return N.exportedModulesMap.deleteKey(u)}),y.forEach(function(u,g){return N.exportedModulesMap.set(g,u)})}}f.updateExportedFilesMapFromCache=x;function O(N,y,D){var C=y.getCompilerOptions();if(e.outFile(C)||!N.referencedMap||Q(D))return q(N,y);for(var m=new e.Set,u=[D.resolvedPath];u.length;){var g=u.pop();if(!m.has(g)){m.add(g);var P=N.referencedMap.getValues(g);if(P)for(var te=P.keys(),ue=te.next();!ue.done;ue=te.next())u.push(ue.value)}}return e.arrayFrom(e.mapDefinedIterator(m.keys(),function(X){var j,Se;return(Se=(j=y.getSourceFileByPath(X))===null||j===void 0?void 0:j.fileName)!==null&&Se!==void 0?Se:X}))}f.getAllDependencies=O;function q(N,y){if(!N.allFileNames){var D=y.getSourceFiles();N.allFileNames=D===e.emptyArray?e.emptyArray:D.map(function(C){return C.fileName})}return N.allFileNames}function Z(N,y){var D=N.referencedMap.getKeys(y);return D?e.arrayFrom(D.keys()):[]}f.getReferencedByPaths=Z;function ne(N){for(var y=0,D=N.statements;y<D.length;y++){var C=D[y];if(!e.isModuleWithStringLiteralName(C))return!1}return!0}function F(N){return e.some(N.moduleAugmentations,function(y){return e.isGlobalScopeAugmentation(y.parent)})}function Q(N){return F(N)||!e.isExternalOrCommonJsModule(N)&&!e.isJsonSourceFile(N)&&!ne(N)}function V(N,y,D){if(N.allFilesExcludingDefaultLibraryFile)return N.allFilesExcludingDefaultLibraryFile;var C;D&&P(D);for(var m=0,u=y.getSourceFiles();m<u.length;m++){var g=u[m];g!==D&&P(g)}return N.allFilesExcludingDefaultLibraryFile=C||e.emptyArray,N.allFilesExcludingDefaultLibraryFile;function P(te){y.isSourceFileDefaultLibrary(te)||(C||(C=[])).push(te)}}f.getAllFilesExcludingDefaultLibraryFile=V;function re(N,y,D){var C=y.getCompilerOptions();return C&&e.outFile(C)?[D]:V(N,y,D)}function T(N,y,D,C,m,u,g){if(Q(D))return V(N,y,D);var P=y.getCompilerOptions();if(P&&(P.isolatedModules||e.outFile(P)))return[D];var te=new e.Map;te.set(D.resolvedPath,D);for(var ue=Z(N,D.resolvedPath);ue.length>0;){var X=ue.pop();if(!te.has(X)){var j=y.getSourceFileByPath(X);te.set(X,j),j&&I(N,y,j,C,m,u,g)&&ue.push.apply(ue,Z(N,j.resolvedPath))}}return e.arrayFrom(e.mapDefinedIterator(te.values(),function(Se){return Se}))}}(e.BuilderState||(e.BuilderState={}))}(jr||(jr={})),function(e){(function(m){m[m.DtsOnly=0]=\"DtsOnly\",m[m.Full=1]=\"Full\"})(e.BuilderFileEmit||(e.BuilderFileEmit={}));function n(m,u){return m===u||m!==void 0&&u!==void 0&&m.size===u.size&&!e.forEachKey(m,function(g){return!u.has(g)})}function f(m,u,g,P){var te=e.BuilderState.create(m,u,g,P);te.program=m;var ue=m.getCompilerOptions();te.compilerOptions=ue,e.outFile(ue)||(te.semanticDiagnosticsPerFile=new e.Map),te.changedFilesSet=new e.Set;var X=e.BuilderState.canReuseOldState(te.referencedMap,g),j=X?g.compilerOptions:void 0,Se=X&&g.semanticDiagnosticsPerFile&&!!te.semanticDiagnosticsPerFile&&!e.compilerOptionsAffectSemanticDiagnostics(ue,j);if(X){if(!g.currentChangedFilePath){var Ce=g.currentAffectedFilesSignatures;e.Debug.assert(!g.affectedFiles&&(!Ce||!Ce.size),\"Cannot reuse if only few affected files of currentChangedFile were iterated\")}var R=g.changedFilesSet;Se&&e.Debug.assert(!R||!e.forEachKey(R,function(ge){return g.semanticDiagnosticsPerFile.has(ge)}),\"Semantic diagnostics shouldnt be available for changed files\"),R==null||R.forEach(function(ge){return te.changedFilesSet.add(ge)}),!e.outFile(ue)&&g.affectedFilesPendingEmit&&(te.affectedFilesPendingEmit=g.affectedFilesPendingEmit.slice(),te.affectedFilesPendingEmitKind=g.affectedFilesPendingEmitKind&&new e.Map(g.affectedFilesPendingEmitKind),te.affectedFilesPendingEmitIndex=g.affectedFilesPendingEmitIndex,te.seenAffectedFiles=new e.Set)}var Y=te.referencedMap,U=X?g.referencedMap:void 0,K=Se&&!ue.skipLibCheck==!j.skipLibCheck,Te=K&&!ue.skipDefaultLibCheck==!j.skipDefaultLibCheck;return te.fileInfos.forEach(function(ge,ke){var Pe,Ie;if(!X||!(Pe=g.fileInfos.get(ke))||Pe.version!==ge.version||!n(Ie=Y&&Y.getValues(ke),U&&U.getValues(ke))||Ie&&e.forEachKey(Ie,function(ve){return!te.fileInfos.has(ve)&&g.fileInfos.has(ve)}))te.changedFilesSet.add(ke);else if(Se){var Ge=m.getSourceFileByPath(ke);if(Ge.isDeclarationFile&&!K||Ge.hasNoDefaultLib&&!Te)return;var he=g.semanticDiagnosticsPerFile.get(ke);he&&(te.semanticDiagnosticsPerFile.set(ke,g.hasReusableDiagnostic?p(he,m,u):he),te.semanticDiagnosticsFromOldState||(te.semanticDiagnosticsFromOldState=new e.Set),te.semanticDiagnosticsFromOldState.add(ke))}}),X&&e.forEachEntry(g.fileInfos,function(ge,ke){return ge.affectsGlobalScope&&!te.fileInfos.has(ke)})?e.BuilderState.getAllFilesExcludingDefaultLibraryFile(te,m,void 0).forEach(function(ge){return te.changedFilesSet.add(ge.resolvedPath)}):j&&!e.outFile(ue)&&e.compilerOptionsAffectEmit(ue,j)&&(m.getSourceFiles().forEach(function(ge){return N(te,ge.resolvedPath,1)}),e.Debug.assert(!te.seenAffectedFiles||!te.seenAffectedFiles.size),te.seenAffectedFiles=te.seenAffectedFiles||new e.Set),X&&e.forEachEntry(g.fileInfos,function(ge,ke){te.fileInfos.has(ke)&&te.fileInfos.get(ke).impliedFormat!==ge.impliedFormat&&te.changedFilesSet.add(ke)}),te.buildInfoEmitPending=!!te.changedFilesSet.size,te}function p(m,u,g){if(!m.length)return e.emptyArray;var P=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(u.getCompilerOptions()),u.getCurrentDirectory()));return m.map(function(ue){var X=a(ue,u,te);X.reportsUnnecessary=ue.reportsUnnecessary,X.reportsDeprecated=ue.reportDeprecated,X.source=ue.source,X.skippedOn=ue.skippedOn;var j=ue.relatedInformation;return X.relatedInformation=j?j.length?j.map(function(Se){return a(Se,u,te)}):[]:void 0,X});function te(ue){return e.toPath(ue,P,g)}}function a(m,u,g){var P=m.file;return Rn(Rn({},m),{file:P?u.getSourceFileByPath(g(P)):void 0})}function d(m){e.BuilderState.releaseCache(m),m.program=void 0}function k(m){var u,g=e.BuilderState.clone(m);return g.semanticDiagnosticsPerFile=m.semanticDiagnosticsPerFile&&new e.Map(m.semanticDiagnosticsPerFile),g.changedFilesSet=new e.Set(m.changedFilesSet),g.affectedFiles=m.affectedFiles,g.affectedFilesIndex=m.affectedFilesIndex,g.currentChangedFilePath=m.currentChangedFilePath,g.currentAffectedFilesSignatures=m.currentAffectedFilesSignatures&&new e.Map(m.currentAffectedFilesSignatures),g.currentAffectedFilesExportedModulesMap=(u=m.currentAffectedFilesExportedModulesMap)===null||u===void 0?void 0:u.clone(),g.seenAffectedFiles=m.seenAffectedFiles&&new e.Set(m.seenAffectedFiles),g.cleanedDiagnosticsOfLibFiles=m.cleanedDiagnosticsOfLibFiles,g.semanticDiagnosticsFromOldState=m.semanticDiagnosticsFromOldState&&new e.Set(m.semanticDiagnosticsFromOldState),g.program=m.program,g.compilerOptions=m.compilerOptions,g.affectedFilesPendingEmit=m.affectedFilesPendingEmit&&m.affectedFilesPendingEmit.slice(),g.affectedFilesPendingEmitKind=m.affectedFilesPendingEmitKind&&new e.Map(m.affectedFilesPendingEmitKind),g.affectedFilesPendingEmitIndex=m.affectedFilesPendingEmitIndex,g.seenEmittedFiles=m.seenEmittedFiles&&new e.Map(m.seenEmittedFiles),g.programEmitComplete=m.programEmitComplete,g}function J(m,u){e.Debug.assert(!u||!m.affectedFiles||m.affectedFiles[m.affectedFilesIndex-1]!==u||!m.semanticDiagnosticsPerFile.has(u.resolvedPath))}function h(m,u,g){for(;;){var P=m.affectedFiles;if(P){for(var te=m.seenAffectedFiles,ue=m.affectedFilesIndex;ue<P.length;){var X=P[ue];if(!te.has(X.resolvedPath))return m.affectedFilesIndex=ue,A(m,X,u,g),X;ue++}m.changedFilesSet.delete(m.currentChangedFilePath),m.currentChangedFilePath=void 0,e.BuilderState.updateSignaturesFromCache(m,m.currentAffectedFilesSignatures),m.currentAffectedFilesSignatures.clear(),e.BuilderState.updateExportedFilesMapFromCache(m,m.currentAffectedFilesExportedModulesMap),m.affectedFiles=void 0}var j=m.changedFilesSet.keys().next();if(j.done)return;var Se=e.Debug.checkDefined(m.program),Ce=Se.getCompilerOptions();if(e.outFile(Ce))return e.Debug.assert(!m.semanticDiagnosticsPerFile),Se;m.currentAffectedFilesSignatures||(m.currentAffectedFilesSignatures=new e.Map),m.exportedModulesMap&&(m.currentAffectedFilesExportedModulesMap||(m.currentAffectedFilesExportedModulesMap=e.BuilderState.createManyToManyPathMap())),m.affectedFiles=e.BuilderState.getFilesAffectedBy(m,Se,j.value,u,g,m.currentAffectedFilesSignatures,m.currentAffectedFilesExportedModulesMap),m.currentChangedFilePath=j.value,m.affectedFilesIndex=0,m.seenAffectedFiles||(m.seenAffectedFiles=new e.Set)}}function v(m){var u=m.affectedFilesPendingEmit;if(u){for(var g=m.seenEmittedFiles||(m.seenEmittedFiles=new e.Map),P=m.affectedFilesPendingEmitIndex;P<u.length;P++){var te=e.Debug.checkDefined(m.program).getSourceFileByPath(u[P]);if(te){var ue=g.get(te.resolvedPath),X=e.Debug.checkDefined(e.Debug.checkDefined(m.affectedFilesPendingEmitKind).get(te.resolvedPath));if(ue===void 0||ue<X)return m.affectedFilesPendingEmitIndex=P,{affectedFile:te,emitKind:X}}}m.affectedFilesPendingEmit=void 0,m.affectedFilesPendingEmitKind=void 0,m.affectedFilesPendingEmitIndex=void 0}}function A(m,u,g,P){var te;if(ie(m,u.resolvedPath),m.allFilesExcludingDefaultLibraryFile===m.affectedFiles){if(!m.cleanedDiagnosticsOfLibFiles){m.cleanedDiagnosticsOfLibFiles=!0;var ue=e.Debug.checkDefined(m.program),X=ue.getCompilerOptions();e.forEach(ue.getSourceFiles(),function(j){return ue.isSourceFileDefaultLibrary(j)&&!e.skipTypeChecking(j,X,ue)&&ie(m,j.resolvedPath)})}e.BuilderState.updateShapeSignature(m,e.Debug.checkDefined(m.program),u,e.Debug.checkDefined(m.currentAffectedFilesSignatures),g,P,m.currentAffectedFilesExportedModulesMap);return}else e.Debug.assert(m.hasCalledUpdateShapeSignature.has(u.resolvedPath)||((te=m.currentAffectedFilesSignatures)===null||te===void 0?void 0:te.has(u.resolvedPath)),\"Signature not updated for affected file: \".concat(u.fileName));m.compilerOptions.assumeChangesOnlyAffectDirectDependencies||M(m,u,function(j,Se){return z(j,Se,g,P)})}function z(m,u,g,P){if(ie(m,u),!m.changedFilesSet.has(u)){var te=e.Debug.checkDefined(m.program),ue=te.getSourceFileByPath(u);ue&&(e.BuilderState.updateShapeSignature(m,te,ue,e.Debug.checkDefined(m.currentAffectedFilesSignatures),g,P,m.currentAffectedFilesExportedModulesMap,!0),e.getEmitDeclarations(m.compilerOptions)&&N(m,u,0))}}function ie(m,u){return m.semanticDiagnosticsFromOldState?(m.semanticDiagnosticsFromOldState.delete(u),m.semanticDiagnosticsPerFile.delete(u),!m.semanticDiagnosticsFromOldState.size):!0}function b(m,u){var g=e.Debug.checkDefined(m.currentAffectedFilesSignatures).get(u),P=e.Debug.checkDefined(m.fileInfos.get(u)).signature;return g!==P}function M(m,u,g){var P,te;if(!(!m.exportedModulesMap||!m.changedFilesSet.has(u.resolvedPath))&&!!b(m,u.resolvedPath)){if(m.compilerOptions.isolatedModules){var ue=new e.Map;ue.set(u.resolvedPath,!0);for(var X=e.BuilderState.getReferencedByPaths(m,u.resolvedPath);X.length>0;){var j=X.pop();if(!ue.has(j)&&(ue.set(j,!0),g(m,j),b(m,j))){var Se=e.Debug.checkDefined(m.program).getSourceFileByPath(j);X.push.apply(X,e.BuilderState.getReferencedByPaths(m,Se.resolvedPath))}}}e.Debug.assert(!!m.currentAffectedFilesExportedModulesMap);var Ce=new e.Set;(P=m.currentAffectedFilesExportedModulesMap.getKeys(u.resolvedPath))===null||P===void 0||P.forEach(function(R){return S(m,R,Ce,g)}),(te=m.exportedModulesMap.getKeys(u.resolvedPath))===null||te===void 0||te.forEach(function(R){var Y;return!m.currentAffectedFilesExportedModulesMap.hasKey(R)&&!(!((Y=m.currentAffectedFilesExportedModulesMap.deletedKeys())===null||Y===void 0)&&Y.has(R))&&S(m,R,Ce,g)})}}function S(m,u,g,P){var te;(te=m.referencedMap.getKeys(u))===null||te===void 0||te.forEach(function(ue){return B(m,ue,g,P)})}function B(m,u,g,P){var te,ue,X;!e.tryAddToSet(g,u)||(P(m,u),e.Debug.assert(!!m.currentAffectedFilesExportedModulesMap),(te=m.currentAffectedFilesExportedModulesMap.getKeys(u))===null||te===void 0||te.forEach(function(j){return B(m,j,g,P)}),(ue=m.exportedModulesMap.getKeys(u))===null||ue===void 0||ue.forEach(function(j){var Se;return!m.currentAffectedFilesExportedModulesMap.hasKey(j)&&!(!((Se=m.currentAffectedFilesExportedModulesMap.deletedKeys())===null||Se===void 0)&&Se.has(j))&&B(m,j,g,P)}),(X=m.referencedMap.getKeys(u))===null||X===void 0||X.forEach(function(j){return!g.has(j)&&P(m,j)}))}function H(m,u,g,P,te){te?m.buildInfoEmitPending=!1:u===m.program?(m.changedFilesSet.clear(),m.programEmitComplete=!0):(m.seenAffectedFiles.add(u.resolvedPath),g!==void 0&&(m.seenEmittedFiles||(m.seenEmittedFiles=new e.Map)).set(u.resolvedPath,g),P?(m.affectedFilesPendingEmitIndex++,m.buildInfoEmitPending=!0):m.affectedFilesIndex++)}function I(m,u,g){return H(m,g),{result:u,affected:g}}function w(m,u,g,P,te,ue){return H(m,g,P,te,ue),{result:u,affected:g}}function x(m,u,g){return e.concatenate(O(m,u,g),e.Debug.checkDefined(m.program).getProgramDiagnostics(u))}function O(m,u,g){var P=u.resolvedPath;if(m.semanticDiagnosticsPerFile){var te=m.semanticDiagnosticsPerFile.get(P);if(te)return e.filterSemanticDiagnostics(te,m.compilerOptions)}var ue=e.Debug.checkDefined(m.program).getBindAndCheckDiagnostics(u,g);return m.semanticDiagnosticsPerFile&&m.semanticDiagnosticsPerFile.set(P,ue),e.filterSemanticDiagnostics(ue,m.compilerOptions)}function q(m,u){if(e.outFile(m.compilerOptions))return;var g=e.Debug.checkDefined(m.program).getCurrentDirectory(),P=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(m.compilerOptions),g)),te=[],ue=new e.Map,X,j,Se=e.arrayFrom(m.fileInfos.entries(),function(qe){var Xe=qe[0],De=qe[1],Ae=_e(Xe);e.Debug.assert(te[Ae-1]===Ve(Xe));var Ye=m.currentAffectedFilesSignatures&&m.currentAffectedFilesSignatures.get(Xe),Dr=Ye!=null?Ye:De.signature;return De.version===Dr?De.affectsGlobalScope?{version:De.version,signature:void 0,affectsGlobalScope:!0,impliedFormat:De.impliedFormat}:De.version:Dr!==void 0?Ye===void 0?De:{version:De.version,signature:Ye,affectsGlobalScope:De.affectsGlobalScope,impliedFormat:De.impliedFormat}:{version:De.version,signature:!1,affectsGlobalScope:De.affectsGlobalScope,impliedFormat:De.impliedFormat}}),Ce;m.referencedMap&&(Ce=e.arrayFrom(m.referencedMap.keys()).sort(e.compareStringsCaseSensitive).map(function(qe){return[_e(qe),Le(m.referencedMap.getValues(qe))]}));var R;m.exportedModulesMap&&(R=e.mapDefined(e.arrayFrom(m.exportedModulesMap.keys()).sort(e.compareStringsCaseSensitive),function(qe){var Xe;if(m.currentAffectedFilesExportedModulesMap){if(!((Xe=m.currentAffectedFilesExportedModulesMap.deletedKeys())===null||Xe===void 0)&&Xe.has(qe))return;var De=m.currentAffectedFilesExportedModulesMap.getValues(qe);if(De)return[_e(qe),Le(De)]}return[_e(qe),Le(m.exportedModulesMap.getValues(qe))]}));var Y;if(m.semanticDiagnosticsPerFile)for(var U=0,K=e.arrayFrom(m.semanticDiagnosticsPerFile.keys()).sort(e.compareStringsCaseSensitive);U<K.length;U++){var Te=K[U],ge=m.semanticDiagnosticsPerFile.get(Te);(Y||(Y=[])).push(ge.length?[_e(Te),m.hasReusableDiagnostic?ge:F(ge,Ve)]:_e(Te))}var ke;if(m.affectedFilesPendingEmit)for(var Pe=new e.Set,Ie=0,Ge=m.affectedFilesPendingEmit.slice(m.affectedFilesPendingEmitIndex).sort(e.compareStringsCaseSensitive);Ie<Ge.length;Ie++){var he=Ge[Ie];e.tryAddToSet(Pe,he)&&(ke||(ke=[])).push([_e(he),m.affectedFilesPendingEmitKind.get(he)])}return{fileNames:te,fileInfos:Se,options:Z(m.compilerOptions,ve),fileIdsList:X,referencedMap:Ce,exportedModulesMap:R,semanticDiagnosticsPerFile:Y,affectedFilesPendingEmit:ke};function ve(qe){return Ve(e.getNormalizedAbsolutePath(qe,g))}function Ve(qe){return e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(P,qe,u))}function _e(qe){var Xe=ue.get(qe);return Xe===void 0&&(te.push(Ve(qe)),ue.set(qe,Xe=te.length)),Xe}function Le(qe){var Xe=e.arrayFrom(qe.keys(),_e).sort(e.compareValues),De=Xe.join(),Ae=j==null?void 0:j.get(De);return Ae===void 0&&((X||(X=[])).push(Xe),(j||(j=new e.Map)).set(De,Ae=X.length)),Ae}}function Z(m,u){for(var g,P=e.getOptionsNameMap().optionsNameMap,te=0,ue=e.getOwnKeys(m).sort(e.compareStringsCaseSensitive);te<ue.length;te++){var X=ue[te],j=X.toLowerCase(),Se=P.get(j);((Se==null?void 0:Se.affectsEmit)||(Se==null?void 0:Se.affectsSemanticDiagnostics)||j===\"strict\"||j===\"skiplibcheck\"||j===\"skipdefaultlibcheck\")&&((g||(g={}))[X]=ne(Se,m[X],u))}return g}function ne(m,u,g){if(m){if(m.type===\"list\"){var P=u;if(m.element.isFilePath&&P.length)return P.map(g)}else if(m.isFilePath)return g(u)}return u}function F(m,u){return e.Debug.assert(!!m.length),m.map(function(g){var P=Q(g,u);P.reportsUnnecessary=g.reportsUnnecessary,P.reportDeprecated=g.reportsDeprecated,P.source=g.source,P.skippedOn=g.skippedOn;var te=g.relatedInformation;return P.relatedInformation=te?te.length?te.map(function(ue){return Q(ue,u)}):[]:void 0,P})}function Q(m,u){var g=m.file;return Rn(Rn({},m),{file:g?u(g.resolvedPath):void 0})}var V;(function(m){m[m.SemanticDiagnosticsBuilderProgram=0]=\"SemanticDiagnosticsBuilderProgram\",m[m.EmitAndSemanticDiagnosticsBuilderProgram=1]=\"EmitAndSemanticDiagnosticsBuilderProgram\"})(V=e.BuilderProgramKind||(e.BuilderProgramKind={}));function re(m,u,g,P,te,ue){var X,j,Se;return m===void 0?(e.Debug.assert(u===void 0),X=g,Se=P,e.Debug.assert(!!Se),j=Se.getProgram()):e.isArray(m)?(Se=P,j=e.createProgram({rootNames:m,options:u,host:g,oldProgram:Se&&Se.getProgramOrUndefined(),configFileParsingDiagnostics:te,projectReferences:ue}),X=g):(j=m,X=u,Se=g,te=P),{host:X,newProgram:j,oldProgram:Se,configFileParsingDiagnostics:te||e.emptyArray}}e.getBuilderCreationParameters=re;function T(m,u){var g=u.newProgram,P=u.host,te=u.oldProgram,ue=u.configFileParsingDiagnostics,X=te&&te.getState();if(X&&g===X.program&&ue===g.getConfigFileParsingDiagnostics())return g=void 0,X=void 0,te;var j=e.createGetCanonicalFileName(P.useCaseSensitiveFileNames()),Se=e.maybeBind(P,P.createHash),Ce=f(g,j,X,P.disableUseFileVersionAsSignature),R;g.getProgramBuildInfo=function(){return q(Ce,j)},g=void 0,te=void 0,X=void 0;var Y=function(){return Ce},U=C(Y,ue);return U.getState=Y,U.backupState=function(){e.Debug.assert(R===void 0),R=k(Ce)},U.restoreState=function(){Ce=e.Debug.checkDefined(R),R=void 0},U.getAllDependencies=function(Ie){return e.BuilderState.getAllDependencies(Ce,e.Debug.checkDefined(Ce.program),Ie)},U.getSemanticDiagnostics=Pe,U.emit=ge,U.releaseProgram=function(){d(Ce),R=void 0},m===V.SemanticDiagnosticsBuilderProgram?U.getSemanticDiagnosticsOfNextAffectedFile=ke:m===V.EmitAndSemanticDiagnosticsBuilderProgram?(U.getSemanticDiagnosticsOfNextAffectedFile=ke,U.emitNextAffectedFile=Te,U.emitBuildInfo=K):e.notImplemented(),U;function K(Ie,Ge){if(Ce.buildInfoEmitPending){var he=e.Debug.checkDefined(Ce.program).emitBuildInfo(Ie||e.maybeBind(P,P.writeFile),Ge);return Ce.buildInfoEmitPending=!1,he}return e.emitSkippedWithNoDiagnostics}function Te(Ie,Ge,he,ve){var Ve=h(Ce,Ge,Se),_e=1,Le=!1;if(!Ve)if(e.outFile(Ce.compilerOptions)){var De=e.Debug.checkDefined(Ce.program);if(Ce.programEmitComplete)return;Ve=De}else{var qe=v(Ce);if(!qe){if(!Ce.buildInfoEmitPending)return;var Xe=e.Debug.checkDefined(Ce.program);return w(Ce,Xe.emitBuildInfo(Ie||e.maybeBind(P,P.writeFile),Ge),Xe,1,!1,!0)}Ve=qe.affectedFile,_e=qe.emitKind,Le=!0}return w(Ce,e.Debug.checkDefined(Ce.program).emit(Ve===Ce.program?void 0:Ve,Ie||e.maybeBind(P,P.writeFile),Ge,he||_e===0,ve),Ve,_e,Le)}function ge(Ie,Ge,he,ve,Ve){var _e=!1,Le,qe,Xe;m!==V.EmitAndSemanticDiagnosticsBuilderProgram&&!Ie&&!e.outFile(Ce.compilerOptions)&&!Ce.compilerOptions.noEmit&&Ce.compilerOptions.noEmitOnError&&(_e=!0,Le=Ce.affectedFilesPendingEmit&&Ce.affectedFilesPendingEmit.slice(),qe=Ce.affectedFilesPendingEmitKind&&new e.Map(Ce.affectedFilesPendingEmitKind),Xe=Ce.affectedFilesPendingEmitIndex),m===V.EmitAndSemanticDiagnosticsBuilderProgram&&J(Ce,Ie);var De=e.handleNoEmitOptions(U,Ie,Ge,he);if(De)return De;if(_e&&(Ce.affectedFilesPendingEmit=Le,Ce.affectedFilesPendingEmitKind=qe,Ce.affectedFilesPendingEmitIndex=Xe),!Ie&&m===V.EmitAndSemanticDiagnosticsBuilderProgram){for(var Ae=[],Ye=!1,Dr=void 0,br=[],lr=void 0;lr=Te(Ge,he,ve,Ve);)Ye=Ye||lr.result.emitSkipped,Dr=e.addRange(Dr,lr.result.diagnostics),br=e.addRange(br,lr.result.emittedFiles),Ae=e.addRange(Ae,lr.result.sourceMaps);return{emitSkipped:Ye,diagnostics:Dr||e.emptyArray,emittedFiles:br,sourceMaps:Ae}}return e.Debug.checkDefined(Ce.program).emit(Ie,Ge||e.maybeBind(P,P.writeFile),he,ve,Ve)}function ke(Ie,Ge){for(;;){var he=h(Ce,Ie,Se);if(he){if(he===Ce.program)return I(Ce,Ce.program.getSemanticDiagnostics(void 0,Ie),he)}else return;if((m===V.EmitAndSemanticDiagnosticsBuilderProgram||Ce.compilerOptions.noEmit||Ce.compilerOptions.noEmitOnError)&&N(Ce,he.resolvedPath,1),Ge&&Ge(he)){H(Ce,he);continue}return I(Ce,x(Ce,he,Ie),he)}}function Pe(Ie,Ge){J(Ce,Ie);var he=e.Debug.checkDefined(Ce.program).getCompilerOptions();if(e.outFile(he))return e.Debug.assert(!Ce.semanticDiagnosticsPerFile),e.Debug.checkDefined(Ce.program).getSemanticDiagnostics(Ie,Ge);if(Ie)return x(Ce,Ie,Ge);for(;ke(Ge););for(var ve,Ve=0,_e=e.Debug.checkDefined(Ce.program).getSourceFiles();Ve<_e.length;Ve++){var Le=_e[Ve];ve=e.addRange(ve,x(Ce,Le,Ge))}return ve||e.emptyArray}}e.createBuilderProgram=T;function N(m,u,g){m.affectedFilesPendingEmit||(m.affectedFilesPendingEmit=[]),m.affectedFilesPendingEmitKind||(m.affectedFilesPendingEmitKind=new e.Map);var P=m.affectedFilesPendingEmitKind.get(u);m.affectedFilesPendingEmit.push(u),m.affectedFilesPendingEmitKind.set(u,P||g),m.affectedFilesPendingEmitIndex===void 0&&(m.affectedFilesPendingEmitIndex=0)}function y(m){return e.isString(m)?{version:m,signature:m,affectsGlobalScope:void 0,impliedFormat:void 0}:e.isString(m.signature)?m:{version:m.version,signature:m.signature===!1?void 0:m.version,affectsGlobalScope:m.affectsGlobalScope,impliedFormat:m.impliedFormat}}e.toBuilderStateFileInfo=y;function D(m,u,g){var P,te=e.getDirectoryPath(e.getNormalizedAbsolutePath(u,g.getCurrentDirectory())),ue=e.createGetCanonicalFileName(g.useCaseSensitiveFileNames()),X=m.fileNames.map(R),j=(P=m.fileIdsList)===null||P===void 0?void 0:P.map(function(ge){return new e.Set(ge.map(U))}),Se=new e.Map;m.fileInfos.forEach(function(ge,ke){return Se.set(U(ke+1),y(ge))});var Ce={fileInfos:Se,compilerOptions:m.options?e.convertToOptionsWithAbsolutePaths(m.options,Y):{},referencedMap:Te(m.referencedMap),exportedModulesMap:Te(m.exportedModulesMap),semanticDiagnosticsPerFile:m.semanticDiagnosticsPerFile&&e.arrayToMap(m.semanticDiagnosticsPerFile,function(ge){return U(e.isNumber(ge)?ge:ge[0])},function(ge){return e.isNumber(ge)?e.emptyArray:ge[1]}),hasReusableDiagnostic:!0,affectedFilesPendingEmit:e.map(m.affectedFilesPendingEmit,function(ge){return U(ge[0])}),affectedFilesPendingEmitKind:m.affectedFilesPendingEmit&&e.arrayToMap(m.affectedFilesPendingEmit,function(ge){return U(ge[0])},function(ge){return ge[1]}),affectedFilesPendingEmitIndex:m.affectedFilesPendingEmit&&0};return{getState:function(){return Ce},backupState:e.noop,restoreState:e.noop,getProgram:e.notImplemented,getProgramOrUndefined:e.returnUndefined,releaseProgram:e.noop,getCompilerOptions:function(){return Ce.compilerOptions},getSourceFile:e.notImplemented,getSourceFiles:e.notImplemented,getOptionsDiagnostics:e.notImplemented,getGlobalDiagnostics:e.notImplemented,getConfigFileParsingDiagnostics:e.notImplemented,getSyntacticDiagnostics:e.notImplemented,getDeclarationDiagnostics:e.notImplemented,getSemanticDiagnostics:e.notImplemented,emit:e.notImplemented,getAllDependencies:e.notImplemented,getCurrentDirectory:e.notImplemented,emitNextAffectedFile:e.notImplemented,getSemanticDiagnosticsOfNextAffectedFile:e.notImplemented,emitBuildInfo:e.notImplemented,close:e.noop};function R(ge){return e.toPath(ge,te,ue)}function Y(ge){return e.getNormalizedAbsolutePath(ge,te)}function U(ge){return X[ge-1]}function K(ge){return j[ge-1]}function Te(ge){if(!!ge){var ke=e.BuilderState.createManyToManyPathMap();return ge.forEach(function(Pe){var Ie=Pe[0],Ge=Pe[1];return ke.set(U(Ie),K(Ge))}),ke}}}e.createBuildProgramUsingProgramBuildInfo=D;function C(m,u){return{getState:e.notImplemented,backupState:e.noop,restoreState:e.noop,getProgram:g,getProgramOrUndefined:function(){return m().program},releaseProgram:function(){return m().program=void 0},getCompilerOptions:function(){return m().compilerOptions},getSourceFile:function(P){return g().getSourceFile(P)},getSourceFiles:function(){return g().getSourceFiles()},getOptionsDiagnostics:function(P){return g().getOptionsDiagnostics(P)},getGlobalDiagnostics:function(P){return g().getGlobalDiagnostics(P)},getConfigFileParsingDiagnostics:function(){return u},getSyntacticDiagnostics:function(P,te){return g().getSyntacticDiagnostics(P,te)},getDeclarationDiagnostics:function(P,te){return g().getDeclarationDiagnostics(P,te)},getSemanticDiagnostics:function(P,te){return g().getSemanticDiagnostics(P,te)},emit:function(P,te,ue,X,j){return g().emit(P,te,ue,X,j)},emitBuildInfo:function(P,te){return g().emitBuildInfo(P,te)},getAllDependencies:e.notImplemented,getCurrentDirectory:function(){return g().getCurrentDirectory()},close:e.noop};function g(){return e.Debug.checkDefined(m().program)}}e.createRedirectedBuilderProgram=C}(jr||(jr={})),function(e){function n(a,d,k,J,h,v){return e.createBuilderProgram(e.BuilderProgramKind.SemanticDiagnosticsBuilderProgram,e.getBuilderCreationParameters(a,d,k,J,h,v))}e.createSemanticDiagnosticsBuilderProgram=n;function f(a,d,k,J,h,v){return e.createBuilderProgram(e.BuilderProgramKind.EmitAndSemanticDiagnosticsBuilderProgram,e.getBuilderCreationParameters(a,d,k,J,h,v))}e.createEmitAndSemanticDiagnosticsBuilderProgram=f;function p(a,d,k,J,h,v){var A=e.getBuilderCreationParameters(a,d,k,J,h,v),z=A.newProgram,ie=A.configFileParsingDiagnostics;return e.createRedirectedBuilderProgram(function(){return{program:z,compilerOptions:z.getCompilerOptions()}},ie)}e.createAbstractBuilder=p}(jr||(jr={})),function(e){function n(d){return e.endsWith(d,\"/node_modules/.staging\")?e.removeSuffix(d,\"/.staging\"):e.some(e.ignoredPaths,function(k){return e.stringContains(d,k)})?void 0:d}e.removeIgnoredPath=n;function f(d){var k=e.getRootLength(d);if(d.length===k)return!1;var J=d.indexOf(e.directorySeparator,k);if(J===-1)return!1;var h=d.substring(k,J+1),v=k>1||d.charCodeAt(0)!==47;if(v&&d.search(/[a-zA-Z]:/)!==0&&h.search(/[a-zA-z]\\$\\//)===0){if(J=d.indexOf(e.directorySeparator,J+1),J===-1)return!1;h=d.substring(k+h.length,J+1)}if(v&&h.search(/users\\//i)!==0)return!0;for(var A=J+1,z=2;z>0;z--)if(A=d.indexOf(e.directorySeparator,A)+1,A===0)return!1;return!0}e.canWatchDirectory=f;function p(d,k,J){var h,v,A,z=e.createMultiMap(),ie=[],b=e.createMultiMap(),M=!1,S,B,H,I=e.memoize(function(){return d.getCurrentDirectory()}),w=d.getCachedDirectoryStructureHost(),x=new e.Map,O=e.createCacheWithRedirects(),q=e.createCacheWithRedirects(),Z=e.createModuleResolutionCache(I(),d.getCanonicalFileName,void 0,O,q),ne=new e.Map,F=e.createCacheWithRedirects(),Q=e.createTypeReferenceDirectiveResolutionCache(I(),d.getCanonicalFileName,void 0,Z.getPackageJsonInfoCache(),F),V=[\".ts\",\".tsx\",\".js\",\".jsx\",\".json\"],re=new e.Map,T=new e.Map,N=k&&e.removeTrailingDirectorySeparator(e.getNormalizedAbsolutePath(k,I())),y=N&&d.toPath(N),D=y!==void 0?y.split(e.directorySeparator).length:0,C=new e.Map;return{getModuleResolutionCache:function(){return Z},startRecordingFilesWithChangedResolutions:te,finishRecordingFilesWithChangedResolutions:ue,startCachingPerDirectoryResolution:Se,finishCachingPerDirectoryResolution:Ce,resolveModuleNames:Te,getResolvedModuleWithFailedLookupLocationsFromCache:ge,resolveTypeReferenceDirectives:K,removeResolutionsFromProjectReferenceRedirects:Ae,removeResolutionsOfFile:Ye,hasChangedAutomaticTypeDirectiveNames:function(){return M},invalidateResolutionOfFile:br,invalidateResolutionsOfFailedLookupLocations:kr,setFilesWithInvalidatedNonRelativeUnresolvedImports:lr,createHasInvalidatedResolution:j,isFileWithInvalidatedNonRelativeUnresolvedImports:X,updateTypeRootsWatch:gr,closeTypeRootsWatch:Me,clear:P};function m(Fe){return Fe.resolvedModule}function u(Fe){return Fe.resolvedTypeReferenceDirective}function g(Fe,$e){return Fe===void 0||$e.length<=Fe.length?!1:e.startsWith($e,Fe)&&$e[Fe.length]===e.directorySeparator}function P(){e.clearMap(T,e.closeFileWatcherOf),re.clear(),z.clear(),Me(),x.clear(),ne.clear(),b.clear(),ie.length=0,S=void 0,B=void 0,H=void 0,Se(),M=!1}function te(){h=[]}function ue(){var Fe=h;return h=void 0,Fe}function X(Fe){if(!A)return!1;var $e=A.get(Fe);return!!$e&&!!$e.length}function j(Fe){if(kr(),Fe)return v=void 0,e.returnTrue;var $e=v;return v=void 0,function(Sr){return!!$e&&$e.has(Sr)||X(Sr)}}function Se(){Z.clear(),Q.clear(),z.forEach(Ve),z.clear()}function Ce(){A=void 0,Se(),T.forEach(function(Fe,$e){Fe.refCount===0&&(T.delete($e),Fe.watcher.close())}),M=!1}function R(Fe,$e,Sr,Pr,He){var pr,Jr=e.resolveModuleName(Fe,$e,Sr,Pr,Z,He);if(!d.getGlobalCache)return Jr;var ze=d.getGlobalCache();if(ze!==void 0&&!e.isExternalModuleNameRelative(Fe)&&!(Jr.resolvedModule&&e.extensionIsTS(Jr.resolvedModule.extension))){var Lr=e.loadModuleFromGlobalCache(e.Debug.checkDefined(d.globalCacheResolutionModuleName)(Fe),d.projectName,Sr,Pr,ze,Z),Yr=Lr.resolvedModule,lt=Lr.failedLookupLocations;if(Yr)return Jr.resolvedModule=Yr,(pr=Jr.failedLookupLocations).push.apply(pr,lt),Jr}return Jr}function Y(Fe,$e,Sr,Pr,He){return e.resolveTypeReferenceDirective(Fe,$e,Sr,Pr,He,Q)}function U(Fe){var $e,Sr,Pr,He=Fe.names,pr=Fe.containingFile,Jr=Fe.redirectedReference,ze=Fe.cache,Lr=Fe.perDirectoryCacheWithRedirects,Yr=Fe.loader,lt=Fe.getResolutionWithResolvedFileName,tt=Fe.shouldRetryResolution,Rt=Fe.reusedNames,cn=Fe.logChanges,bn=Fe.containingSourceFile,In=d.toPath(pr),zn=ze.get(In)||ze.set(In,e.createModeAwareCache()).get(In),ir=e.getDirectoryPath(In),Or=Lr.getOrCreateMapOfCacheRedirects(Jr),sr=Or.get(ir);sr||(sr=e.createModeAwareCache(),Or.set(ir,sr));for(var ye=[],or=d.getCompilationSettings(),fe=cn&&X(In),je=d.getCurrentProgram(),Ee=je&&je.getResolvedProjectReferenceToRedirect(pr),We=Ee?!Jr||Jr.sourceFile.path!==Ee.sourceFile.path:!!Jr,$=e.createModeAwareCache(),Ne=0,me=0,Ze=He;me<Ze.length;me++){var Cr=Ze[me],fr=bn?e.getModeForResolutionAtIndex(bn,Ne):void 0;Ne++;var dr=zn.get(Cr,fr);if(!$.has(Cr,fr)&&We||!dr||dr.isInvalidated||fe&&!e.isExternalModuleNameRelative(Cr)&&tt(dr)){var et=dr,yt=sr.get(Cr,fr);if(yt){dr=yt;var Vr=(($e=d.getCompilerHost)===null||$e===void 0?void 0:$e.call(d))||d;if(e.isTraceEnabled(or,Vr)){var tr=lt(dr);e.trace(Vr,Yr===R?tr!=null&&tr.resolvedFileName?tr.packagetId?e.Diagnostics.Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:e.Diagnostics.Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:e.Diagnostics.Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:tr!=null&&tr.resolvedFileName?tr.packagetId?e.Diagnostics.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:e.Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:e.Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved,Cr,pr,e.getDirectoryPath(pr),tr==null?void 0:tr.resolvedFileName,(tr==null?void 0:tr.packagetId)&&e.packageIdToString(tr.packagetId))}}else dr=Yr(Cr,pr,or,((Sr=d.getCompilerHost)===null||Sr===void 0?void 0:Sr.call(d))||d,Jr,bn),sr.set(Cr,fr,dr),d.onDiscoveredSymlink&&a(dr)&&d.onDiscoveredSymlink();zn.set(Cr,fr,dr),he(Cr,dr,In,lt),et&&Le(et,In,lt),cn&&h&&!xr(et,dr)&&(h.push(In),cn=!1)}else{var Vr=((Pr=d.getCompilerHost)===null||Pr===void 0?void 0:Pr.call(d))||d;if(e.isTraceEnabled(or,Vr)&&!$.has(Cr,fr)){var tr=lt(dr);e.trace(Vr,Yr===R?tr!=null&&tr.resolvedFileName?tr.packagetId?e.Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:e.Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:e.Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:tr!=null&&tr.resolvedFileName?tr.packagetId?e.Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:e.Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:e.Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved,Cr,pr,tr==null?void 0:tr.resolvedFileName,(tr==null?void 0:tr.packagetId)&&e.packageIdToString(tr.packagetId))}}e.Debug.assert(dr!==void 0&&!dr.isInvalidated),$.set(Cr,fr,!0),ye.push(lt(dr))}return zn.forEach(function(Nr,zr,gt){!$.has(zr,gt)&&!e.contains(Rt,zr)&&(Le(Nr,In,lt),zn.delete(zr,gt))}),ye;function xr(Nr,zr){if(Nr===zr)return!0;if(!Nr||!zr)return!1;var gt=lt(Nr),vt=lt(zr);return gt===vt?!0:!gt||!vt?!1:gt.resolvedFileName===vt.resolvedFileName}}function K(Fe,$e,Sr){return U({names:Fe,containingFile:$e,redirectedReference:Sr,cache:ne,perDirectoryCacheWithRedirects:F,loader:Y,getResolutionWithResolvedFileName:u,shouldRetryResolution:function(Pr){return Pr.resolvedTypeReferenceDirective===void 0}})}function Te(Fe,$e,Sr,Pr,He){return U({names:Fe,containingFile:$e,redirectedReference:Pr,cache:x,perDirectoryCacheWithRedirects:O,loader:R,getResolutionWithResolvedFileName:m,shouldRetryResolution:function(pr){return!pr.resolvedModule||!e.resolutionExtensionIsTSOrJson(pr.resolvedModule.extension)},reusedNames:Sr,logChanges:J,containingSourceFile:He})}function ge(Fe,$e,Sr){var Pr=x.get(d.toPath($e));if(!!Pr)return Pr.get(Fe,Sr)}function ke(Fe){return e.endsWith(Fe,\"/node_modules/@types\")}function Pe(Fe,$e){if(g(y,$e)){Fe=e.isRootedDiskPath(Fe)?e.normalizePath(Fe):e.getNormalizedAbsolutePath(Fe,I());var Sr=$e.split(e.directorySeparator),Pr=Fe.split(e.directorySeparator);return e.Debug.assert(Pr.length===Sr.length,\"FailedLookup: \".concat(Fe,\" failedLookupLocationPath: \").concat($e)),Sr.length>D+1?{dir:Pr.slice(0,D+1).join(e.directorySeparator),dirPath:Sr.slice(0,D+1).join(e.directorySeparator)}:{dir:N,dirPath:y,nonRecursive:!1}}return Ie(e.getDirectoryPath(e.getNormalizedAbsolutePath(Fe,I())),e.getDirectoryPath($e))}function Ie(Fe,$e){for(;e.pathContainsNodeModules($e);)Fe=e.getDirectoryPath(Fe),$e=e.getDirectoryPath($e);if(e.isNodeModulesDirectory($e))return f(e.getDirectoryPath($e))?{dir:Fe,dirPath:$e}:void 0;var Sr=!0,Pr,He;if(y!==void 0)for(;!g($e,y);){var pr=e.getDirectoryPath($e);if(pr===$e)break;Sr=!1,Pr=$e,He=Fe,$e=pr,Fe=e.getDirectoryPath(Fe)}return f($e)?{dir:He||Fe,dirPath:Pr||$e,nonRecursive:Sr}:void 0}function Ge(Fe){return e.fileExtensionIsOneOf(Fe,V)}function he(Fe,$e,Sr,Pr){if($e.refCount)$e.refCount++,e.Debug.assertDefined($e.files);else{$e.refCount=1,e.Debug.assert(e.length($e.files)===0),e.isExternalModuleNameRelative(Fe)?ve($e):z.add(Fe,$e);var He=Pr($e);He&&He.resolvedFileName&&b.add(d.toPath(He.resolvedFileName),$e)}($e.files||($e.files=[])).push(Sr)}function ve(Fe){e.Debug.assert(!!Fe.refCount);var $e=Fe.failedLookupLocations;if(!!$e.length){ie.push(Fe);for(var Sr=!1,Pr=0,He=$e;Pr<He.length;Pr++){var pr=He[Pr],Jr=d.toPath(pr),ze=Pe(pr,Jr);if(ze){var Lr=ze.dir,Yr=ze.dirPath,lt=ze.nonRecursive;if(!Ge(Jr)){var tt=re.get(Jr)||0;re.set(Jr,tt+1)}Yr===y?(e.Debug.assert(!lt),Sr=!0):_e(Lr,Yr,lt)}}Sr&&_e(N,y,!0)}}function Ve(Fe,$e){var Sr=d.getCurrentProgram();(!Sr||!Sr.getTypeChecker().tryFindAmbientModuleWithoutAugmentations($e))&&Fe.forEach(ve)}function _e(Fe,$e,Sr){var Pr=T.get($e);Pr?(e.Debug.assert(!!Sr==!!Pr.nonRecursive),Pr.refCount++):T.set($e,{watcher:Xe(Fe,$e,Sr),refCount:1,nonRecursive:Sr})}function Le(Fe,$e,Sr){if(e.unorderedRemoveItem(e.Debug.assertDefined(Fe.files),$e),Fe.refCount--,!Fe.refCount){var Pr=Sr(Fe);if(Pr&&Pr.resolvedFileName&&b.remove(d.toPath(Pr.resolvedFileName),Fe),!!e.unorderedRemoveItem(ie,Fe)){for(var He=Fe.failedLookupLocations,pr=!1,Jr=0,ze=He;Jr<ze.length;Jr++){var Lr=ze[Jr],Yr=d.toPath(Lr),lt=Pe(Lr,Yr);if(lt){var tt=lt.dirPath,Rt=re.get(Yr);Rt&&(Rt===1?re.delete(Yr):(e.Debug.assert(Rt>1),re.set(Yr,Rt-1))),tt===y?pr=!0:qe(tt)}}pr&&qe(y)}}}function qe(Fe){var $e=T.get(Fe);$e.refCount--}function Xe(Fe,$e,Sr){return d.watchDirectoryOfFailedLookupLocation(Fe,function(Pr){var He=d.toPath(Pr);w&&w.addOrDeleteFileOrDirectory(Pr,He),Ar(He,$e===He)},Sr?0:1)}function De(Fe,$e,Sr){var Pr=Fe.get($e);Pr&&(Pr.forEach(function(He){return Le(He,$e,Sr)}),Fe.delete($e))}function Ae(Fe){if(!!e.fileExtensionIs(Fe,\".json\")){var $e=d.getCurrentProgram();if(!!$e){var Sr=$e.getResolvedProjectReferenceByPath(Fe);!Sr||Sr.commandLine.fileNames.forEach(function(Pr){return Ye(d.toPath(Pr))})}}}function Ye(Fe){De(x,Fe,m),De(ne,Fe,u)}function Dr(Fe,$e){if(!Fe)return!1;for(var Sr=!1,Pr=0,He=Fe;Pr<He.length;Pr++){var pr=He[Pr];if(!(pr.isInvalidated||!$e(pr))){pr.isInvalidated=Sr=!0;for(var Jr=0,ze=e.Debug.assertDefined(pr.files);Jr<ze.length;Jr++){var Lr=ze[Jr];(v||(v=new e.Set)).add(Lr),M=M||e.endsWith(Lr,e.inferredTypesContainingFile)}}}return Sr}function br(Fe){Ye(Fe);var $e=M;Dr(b.get(Fe),e.returnTrue)&&M&&!$e&&d.onChangedAutomaticTypeDirectiveNames()}function lr(Fe){e.Debug.assert(A===Fe||A===void 0),A=Fe}function Ar(Fe,$e){if($e)(H||(H=[])).push(Fe);else{var Sr=n(Fe);if(!Sr||(Fe=Sr,d.fileIsOpen(Fe)))return!1;var Pr=e.getDirectoryPath(Fe);if(ke(Fe)||e.isNodeModulesDirectory(Fe)||ke(Pr)||e.isNodeModulesDirectory(Pr))(S||(S=[])).push(Fe),(B||(B=new e.Set)).add(Fe);else{if(!Ge(Fe)&&!re.has(Fe)||e.isEmittedFileOfProgram(d.getCurrentProgram(),Fe))return!1;(S||(S=[])).push(Fe);var He=e.parseNodeModuleFromPath(Fe);He&&(B||(B=new e.Set)).add(He)}}d.scheduleInvalidateResolutionsOfFailedLookupLocations()}function kr(){if(!S&&!B&&!H)return!1;var Fe=Dr(ie,Ke);return S=void 0,B=void 0,H=void 0,Fe}function Ke(Fe){return Fe.failedLookupLocations.some(function($e){var Sr=d.toPath($e);return e.contains(S,Sr)||e.firstDefinedIterator((B==null?void 0:B.keys())||e.emptyIterator,function(Pr){return e.startsWith(Sr,Pr)?!0:void 0})||(H==null?void 0:H.some(function(Pr){return g(Pr,Sr)}))})}function Me(){e.clearMap(C,e.closeFileWatcher)}function Hr(Fe,$e){if(g(y,$e))return y;var Sr=Ie(Fe,$e);return Sr&&T.has(Sr.dirPath)?Sr.dirPath:void 0}function ur(Fe,$e){return d.watchTypeRootsDirectory($e,function(Sr){var Pr=d.toPath(Sr);w&&w.addOrDeleteFileOrDirectory(Sr,Pr),M=!0,d.onChangedAutomaticTypeDirectiveNames();var He=Hr($e,Fe);He&&Ar(Pr,He===Pr)},1)}function gr(){var Fe=d.getCompilationSettings();if(Fe.types){Me();return}var $e=e.getEffectiveTypeRoots(Fe,{directoryExists:de,getCurrentDirectory:I});$e?e.mutateMap(C,e.arrayToMap($e,function(Sr){return d.toPath(Sr)}),{createNewValue:ur,onDeleteValue:e.closeFileWatcher}):Me()}function de(Fe){var $e=e.getDirectoryPath(e.getDirectoryPath(Fe)),Sr=d.toPath($e);return Sr===y||f(Sr)}}e.createResolutionCache=p;function a(d){var k,J;return!!(((k=d.resolvedModule)===null||k===void 0?void 0:k.originalPath)||((J=d.resolvedTypeReferenceDirective)===null||J===void 0?void 0:J.originalPath))}}(jr||(jr={})),function(e){(function(n){var f;(function(X){X[X.Relative=0]=\"Relative\",X[X.NonRelative=1]=\"NonRelative\",X[X.Shortest=2]=\"Shortest\",X[X.ExternalNonRelative=3]=\"ExternalNonRelative\"})(f||(f={}));var p;(function(X){X[X.Minimal=0]=\"Minimal\",X[X.Index=1]=\"Index\",X[X.JsExtension=2]=\"JsExtension\"})(p||(p={}));function a(X,j,Se,Ce){var R=j.importModuleSpecifierPreference,Y=j.importModuleSpecifierEnding;return{relativePreference:R===\"relative\"?0:R===\"non-relative\"?1:R===\"project-relative\"?3:2,ending:U()};function U(){switch(Y){case\"minimal\":return 0;case\"index\":return 1;case\"js\":return 2;default:return x(Ce)||k(Se,Ce.path,X)?2:e.getEmitModuleResolutionKind(Se)!==e.ModuleResolutionKind.NodeJs?1:0}}}function d(X,j,Se,Ce){return{relativePreference:e.isExternalModuleNameRelative(j)?0:1,ending:e.hasJSFileExtension(j)||k(X,Se,Ce)?2:e.getEmitModuleResolutionKind(X)!==e.ModuleResolutionKind.NodeJs||e.endsWith(j,\"index\")?1:0}}function k(X,j,Se){return e.getEmitModuleResolutionKind(X)!==e.ModuleResolutionKind.Node12&&e.getEmitModuleResolutionKind(X)!==e.ModuleResolutionKind.NodeNext?!1:e.getImpliedNodeFormatForFile(j,void 0,J(Se),X)!==e.ModuleKind.CommonJS}function J(X){var j;return{fileExists:X.fileExists,readFile:e.Debug.checkDefined(X.readFile),directoryExists:X.directoryExists,getCurrentDirectory:X.getCurrentDirectory,realpath:X.realpath,useCaseSensitiveFileNames:(j=X.useCaseSensitiveFileNames)===null||j===void 0?void 0:j.call(X)}}function h(X,j,Se,Ce,R){var Y=z(X,j,Se,Ce,d(X,R,j,Ce),{});if(Y!==R)return Y}n.updateModuleSpecifier=h;function v(X,j,Se,Ce,R){return z(X,Se,Ce,R,a(R,{},X,j),{})}n.getModuleSpecifier=v;function A(X,j,Se,Ce,R){var Y=H(j,Ce),U=ne(j,Se,Ce,R);return e.firstDefined(U,function(K){return y(K,Y,Ce,X,!0)})}n.getNodeModulesPackageName=A;function z(X,j,Se,Ce,R,Y){var U=H(j,Ce),K=ne(j,Se,Ce,Y);return e.firstDefined(K,function(Te){return y(Te,U,Ce,X)})||I(Se,U,X,Ce,R)}function ie(X,j,Se,Ce){return b(X,j,Se,Ce)[0]}n.tryGetModuleSpecifiersFromCache=ie;function b(X,j,Se,Ce){var R,Y=e.getSourceFileOfModule(X);if(!Y)return e.emptyArray;var U=(R=Se.getModuleSpecifierCache)===null||R===void 0?void 0:R.call(Se),K=U==null?void 0:U.get(j.path,Y.path,Ce);return[K==null?void 0:K.moduleSpecifiers,Y,K==null?void 0:K.modulePaths,U]}function M(X,j,Se,Ce,R,Y){return S(X,j,Se,Ce,R,Y).moduleSpecifiers}n.getModuleSpecifiers=M;function S(X,j,Se,Ce,R,Y){var U=!1,K=Q(X,j);if(K)return{moduleSpecifiers:[K],computedWithoutCache:U};var Te=b(X,Ce,R,Y),ge=Te[0],ke=Te[1],Pe=Te[2],Ie=Te[3];if(ge)return{moduleSpecifiers:ge,computedWithoutCache:U};if(!ke)return{moduleSpecifiers:e.emptyArray,computedWithoutCache:U};U=!0,Pe||(Pe=F(Ce.path,ke.originalFileName,R));var Ge=B(Pe,Se,Ce,R,Y);return Ie==null||Ie.set(Ce.path,ke.path,Y,Pe,Ge),{moduleSpecifiers:Ge,computedWithoutCache:U}}n.getModuleSpecifiersWithCacheInfo=S;function B(X,j,Se,Ce,R){var Y=H(Se.path,Ce),U=a(Ce,R,j,Se),K=e.forEach(X,function(Le){return e.forEach(Ce.getFileIncludeReasons().get(e.toPath(Le.path,Ce.getCurrentDirectory(),Y.getCanonicalFileName)),function(qe){if(!(qe.kind!==e.FileIncludeKind.Import||qe.file!==Se.path)){var Xe=e.getModuleNameStringLiteralAt(Se,qe.index).text;return U.relativePreference!==1||!e.pathIsRelative(Xe)?Xe:void 0}})});if(K){var Te=[K];return Te}for(var ge=e.some(X,function(Le){return Le.isInNodeModules}),ke,Pe,Ie,Ge=0,he=X;Ge<he.length;Ge++){var ve=he[Ge],Ve=y(ve,Y,Ce,j);if(ke=e.append(ke,Ve),Ve&&ve.isRedirect)return ke;if(!Ve&&!ve.isRedirect){var _e=I(ve.path,Y,j,Ce,U);e.pathIsBareSpecifier(_e)?Pe=e.append(Pe,_e):(!ge||ve.isInNodeModules)&&(Ie=e.append(Ie,_e))}}return Pe!=null&&Pe.length?Pe:ke!=null&&ke.length?ke:e.Debug.checkDefined(Ie)}function H(X,j){var Se=e.createGetCanonicalFileName(j.useCaseSensitiveFileNames?j.useCaseSensitiveFileNames():!0),Ce=e.getDirectoryPath(X);return{getCanonicalFileName:Se,importingSourceFileName:X,sourceDirectory:Ce}}function I(X,j,Se,Ce,R){var Y=R.ending,U=R.relativePreference,K=Se.baseUrl,Te=Se.paths,ge=Se.rootDirs,ke=j.sourceDirectory,Pe=j.getCanonicalFileName,Ie=ge&&N(ge,X,ke,Pe,Y,Se)||u(e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(ke,X,Pe)),Y,Se);if(!K&&!Te||U===0)return Ie;var Ge=e.getNormalizedAbsolutePath(e.getPathsBasePath(Se,Ce)||K,Ce.getCurrentDirectory()),he=te(X,Ge,Pe);if(!he)return Ie;var ve=u(he,Y,Se),Ve=Te&&V(e.removeFileExtension(he),ve,Te),_e=Ve===void 0&&K!==void 0?ve:Ve;if(!_e)return Ie;if(U===1)return _e;if(U===3){var Le=Se.configFilePath?e.toPath(e.getDirectoryPath(Se.configFilePath),Ce.getCurrentDirectory(),j.getCanonicalFileName):j.getCanonicalFileName(Ce.getCurrentDirectory()),qe=e.toPath(X,Le,Pe),Xe=e.startsWith(ke,Le),De=e.startsWith(qe,Le);if(Xe&&!De||!Xe&&De)return _e;var Ae=q(Ce,e.getDirectoryPath(qe)),Ye=q(Ce,ke);return Ye!==Ae?_e:Ie}return U!==2&&e.Debug.assertNever(U),ue(_e)||w(Ie)<w(_e)?Ie:_e}function w(X){for(var j=0,Se=e.startsWith(X,\"./\")?2:0;Se<X.length;Se++)X.charCodeAt(Se)===47&&j++;return j}n.countPathComponents=w;function x(X){var j=X.imports;return e.firstDefined(j,function(Se){var Ce=Se.text;return e.pathIsRelative(Ce)?e.hasJSFileExtension(Ce):void 0})||!1}function O(X,j){return e.compareBooleans(j.isRedirect,X.isRedirect)||e.compareNumberOfDirectorySeparators(X.path,j.path)}function q(X,j){return X.getNearestAncestorDirectoryWithPackageJson?X.getNearestAncestorDirectoryWithPackageJson(j):!!e.forEachAncestorDirectory(j,function(Se){return X.fileExists(e.combinePaths(Se,\"package.json\"))?!0:void 0})}function Z(X,j,Se,Ce,R){var Y,U=e.hostGetCanonicalFileName(Se),K=Se.getCurrentDirectory(),Te=Se.isSourceOfProjectReferenceRedirect(j)?Se.getProjectReferenceRedirect(j):void 0,ge=e.toPath(j,K,U),ke=Se.redirectTargetsMap.get(ge)||e.emptyArray,Pe=Gt(Gt(Gt([],Te?[Te]:e.emptyArray,!0),[j],!1),ke,!0),Ie=Pe.map(function(Le){return e.getNormalizedAbsolutePath(Le,K)}),Ge=!e.every(Ie,e.containsIgnoredPath);if(!Ce){var he=e.forEach(Ie,function(Le){return!(Ge&&e.containsIgnoredPath(Le))&&R(Le,Te===Le)});if(he)return he}var ve=(Y=Se.getSymlinkCache)===null||Y===void 0?void 0:Y.call(Se).getSymlinkedDirectoriesByRealpath(),Ve=e.getNormalizedAbsolutePath(j,K),_e=ve&&e.forEachAncestorDirectory(e.getDirectoryPath(Ve),function(Le){var qe=ve.get(e.ensureTrailingDirectorySeparator(e.toPath(Le,K,U)));if(!!qe)return e.startsWithDirectory(X,Le,U)?!1:e.forEach(Ie,function(Xe){if(!!e.startsWithDirectory(Xe,Le,U))for(var De=e.getRelativePathFromDirectory(Le,Xe,U),Ae=0,Ye=qe;Ae<Ye.length;Ae++){var Dr=Ye[Ae],br=e.resolvePath(Dr,De),lr=R(br,Xe===Te);if(Ge=!0,lr)return lr}})});return _e||(Ce?e.forEach(Ie,function(Le){return Ge&&e.containsIgnoredPath(Le)?void 0:R(Le,Le===Te)}):void 0)}n.forEachFileNameOfModule=Z;function ne(X,j,Se,Ce,R){var Y;R===void 0&&(R=e.toPath(j,Se.getCurrentDirectory(),e.hostGetCanonicalFileName(Se)));var U=(Y=Se.getModuleSpecifierCache)===null||Y===void 0?void 0:Y.call(Se);if(U){var K=U.get(X,R,Ce);if(K!=null&&K.modulePaths)return K.modulePaths}var Te=F(X,j,Se);return U&&U.setModulePaths(X,R,Ce,Te),Te}function F(X,j,Se){var Ce=e.hostGetCanonicalFileName(Se),R=new e.Map;Z(X,j,Se,!0,function(Pe,Ie){var Ge=e.pathContainsNodeModules(Pe);R.set(Pe,{path:Ce(Pe),isRedirect:Ie,isInNodeModules:Ge})});for(var Y=[],U=function(Pe){var Ie=e.ensureTrailingDirectorySeparator(Pe),Ge;R.forEach(function(ve,Ve){var _e=ve.path,Le=ve.isRedirect,qe=ve.isInNodeModules;e.startsWith(_e,Ie)&&((Ge||(Ge=[])).push({path:Ve,isRedirect:Le,isInNodeModules:qe}),R.delete(Ve))}),Ge&&(Ge.length>1&&Ge.sort(O),Y.push.apply(Y,Ge));var he=e.getDirectoryPath(Pe);if(he===Pe)return K=Pe,\"break\";Pe=he,K=Pe},K,Te=e.getDirectoryPath(X);R.size!==0;){var ge=U(Te);if(Te=K,ge===\"break\")break}if(R.size){var ke=e.arrayFrom(R.values());ke.length>1&&ke.sort(O),Y.push.apply(Y,ke)}return Y}function Q(X,j){var Se,Ce=(Se=X.declarations)===null||Se===void 0?void 0:Se.find(function(U){return e.isNonGlobalAmbientModule(U)&&(!e.isExternalModuleAugmentation(U)||!e.isExternalModuleNameRelative(e.getTextOfIdentifierOrLiteral(U.name)))});if(Ce)return Ce.name.text;var R=e.mapDefined(X.declarations,function(U){var K,Te,ge,ke;if(!e.isModuleDeclaration(U))return;var Pe=ve(U);if(!(((K=Pe==null?void 0:Pe.parent)===null||K===void 0?void 0:K.parent)&&e.isModuleBlock(Pe.parent)&&e.isAmbientModule(Pe.parent.parent)&&e.isSourceFile(Pe.parent.parent.parent)))return;var Ie=(ke=(ge=(Te=Pe.parent.parent.symbol.exports)===null||Te===void 0?void 0:Te.get(\"export=\"))===null||ge===void 0?void 0:ge.valueDeclaration)===null||ke===void 0?void 0:ke.expression;if(!Ie)return;var Ge=j.getSymbolAtLocation(Ie);if(!Ge)return;var he=(Ge==null?void 0:Ge.flags)&2097152?j.getAliasedSymbol(Ge):Ge;if(he===U.symbol)return Pe.parent.parent;function ve(Ve){for(;Ve.flags&4;)Ve=Ve.parent;return Ve}}),Y=R[0];if(Y)return Y.name.text}function V(X,j,Se){for(var Ce in Se)for(var R=0,Y=Se[Ce];R<Y.length;R++){var U=Y[R],K=e.removeFileExtension(e.normalizePath(U)),Te=K.indexOf(\"*\");if(Te!==-1){var ge=K.substr(0,Te),ke=K.substr(Te+1);if(j.length>=ge.length+ke.length&&e.startsWith(j,ge)&&e.endsWith(j,ke)||!ke&&j===e.removeTrailingDirectorySeparator(ge)){var Pe=j.substr(ge.length,j.length-ke.length-ge.length);return Ce.replace(\"*\",Pe)}}else if(K===j||K===X)return Ce}}var re;(function(X){X[X.Exact=0]=\"Exact\",X[X.Directory=1]=\"Directory\",X[X.Pattern=2]=\"Pattern\"})(re||(re={}));function T(X,j,Se,Ce,R,Y,U){if(U===void 0&&(U=0),typeof R==\"string\"){var K=e.getNormalizedAbsolutePath(e.combinePaths(Se,R),void 0),Te=e.hasTSFileExtension(j)?e.removeFileExtension(j)+P(j,X):void 0;switch(U){case 0:if(e.comparePaths(j,K)===0||Te&&e.comparePaths(Te,K)===0)return{moduleFileToTry:Ce};break;case 1:if(e.containsPath(K,j)){var ge=e.getRelativePathFromDirectory(K,j,!1);return{moduleFileToTry:e.getNormalizedAbsolutePath(e.combinePaths(e.combinePaths(Ce,R),ge),void 0)}}break;case 2:var ke=K.indexOf(\"*\"),Pe=K.slice(0,ke),Ie=K.slice(ke+1);if(e.startsWith(j,Pe)&&e.endsWith(j,Ie)){var Ge=j.slice(Pe.length,j.length-Ie.length);return{moduleFileToTry:Ce.replace(\"*\",Ge)}}if(Te&&e.startsWith(Te,Pe)&&e.endsWith(Te,Ie)){var Ge=Te.slice(Pe.length,Te.length-Ie.length);return{moduleFileToTry:Ce.replace(\"*\",Ge)}}break}}else{if(Array.isArray(R))return e.forEach(R,function(qe){return T(X,j,Se,Ce,qe,Y)});if(typeof R==\"object\"&&R!==null){if(e.allKeysStartWithDot(R))return e.forEach(e.getOwnKeys(R),function(qe){var Xe=e.getNormalizedAbsolutePath(e.combinePaths(Ce,qe),void 0),De=e.endsWith(qe,\"/\")?1:e.stringContains(qe,\"*\")?2:0;return T(X,j,Se,Xe,R[qe],Y,De)});for(var he=0,ve=e.getOwnKeys(R);he<ve.length;he++){var Ve=ve[he];if(Ve===\"default\"||Y.indexOf(Ve)>=0||e.isApplicableVersionedTypesKey(Y,Ve)){var _e=R[Ve],Le=T(X,j,Se,Ce,_e,Y);if(Le)return Le}}}}}function N(X,j,Se,Ce,R,Y){var U=m(j,X,Ce);if(U!==void 0){var K=m(Se,X,Ce),Te=K!==void 0?e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(K,U,Ce)):U;return e.getEmitModuleResolutionKind(Y)===e.ModuleResolutionKind.NodeJs?u(Te,R,Y):e.removeFileExtension(Te)}}function y(X,j,Se,Ce,R){var Y=X.path,U=X.isRedirect,K=j.getCanonicalFileName,Te=j.sourceDirectory;if(!Se.fileExists||!Se.readFile)return;var ge=C(Y);if(!ge)return;var ke=Y,Pe=!1;if(!R)for(var Ie=ge.packageRootIndex,Ge=void 0;;){var he=Ye(Ie),ve=he.moduleFileToTry,Ve=he.packageRootPath,_e=he.blockedByExports,Le=he.verbatimFromExports;if(e.getEmitModuleResolutionKind(Ce)!==e.ModuleResolutionKind.Classic){if(_e)return;if(Le)return ve}if(Ve){ke=Ve,Pe=!0;break}if(Ge||(Ge=ve),Ie=Y.indexOf(e.directorySeparator,Ie+1),Ie===-1){ke=Dr(Ge);break}}if(U&&!Pe)return;var qe=Se.getGlobalTypingsCacheLocation&&Se.getGlobalTypingsCacheLocation(),Xe=K(ke.substring(0,ge.topLevelNodeModulesIndex));if(!(e.startsWith(Te,Xe)||qe&&e.startsWith(K(qe),Xe)))return;var De=ke.substring(ge.topLevelPackageNameIndex+1),Ae=e.getPackageNameFromTypesPackageName(De);return e.getEmitModuleResolutionKind(Ce)===e.ModuleResolutionKind.Classic&&Ae===De?void 0:Ae;function Ye(br){var lr=Y.substring(0,br),Ar=e.combinePaths(lr,\"package.json\"),kr=Y;if(Se.fileExists(Ar)){var Ke=JSON.parse(Se.readFile(Ar));if(e.getEmitModuleResolutionKind(Ce)===e.ModuleResolutionKind.Node12||e.getEmitModuleResolutionKind(Ce)===e.ModuleResolutionKind.NodeNext){var Me=Ke.exports&&typeof Ke.name==\"string\"?T(Ce,Y,lr,Ke.name,Ke.exports,[\"node\",\"types\"]):void 0;if(Me){var Hr=e.hasTSFileExtension(Me.moduleFileToTry)?{moduleFileToTry:e.removeFileExtension(Me.moduleFileToTry)+P(Me.moduleFileToTry,Ce)}:Me;return Rn(Rn({},Hr),{verbatimFromExports:!0})}if(Ke.exports)return{moduleFileToTry:Y,blockedByExports:!0}}var ur=Ke.typesVersions?e.getPackageJsonTypesVersionsPaths(Ke.typesVersions):void 0;if(ur){var gr=Y.slice(lr.length+1),de=V(e.removeFileExtension(gr),u(gr,0,Ce),ur.paths);de!==void 0&&(kr=e.combinePaths(lr,de))}var Fe=Ke.typings||Ke.types||Ke.main;if(e.isString(Fe)){var $e=e.toPath(Fe,lr,K);if(e.removeFileExtension($e)===e.removeFileExtension(K(kr)))return{packageRootPath:lr,moduleFileToTry:kr}}}return{moduleFileToTry:kr}}function Dr(br){var lr=e.removeFileExtension(br);return K(lr.substring(ge.fileNameIndex))===\"/index\"&&!D(Se,lr.substring(0,ge.fileNameIndex))?lr.substring(0,ge.fileNameIndex):lr}}function D(X,j){if(!!X.fileExists)for(var Se=e.flatten(e.getSupportedExtensions({allowJs:!0},[{extension:\"node\",isMixedContent:!1},{extension:\"json\",isMixedContent:!1,scriptKind:6}])),Ce=0,R=Se;Ce<R.length;Ce++){var Y=R[Ce],U=j+Y;if(X.fileExists(U))return U}}function C(X){var j=0,Se=0,Ce=0,R=0,Y;(function(ge){ge[ge.BeforeNodeModules=0]=\"BeforeNodeModules\",ge[ge.NodeModules=1]=\"NodeModules\",ge[ge.Scope=2]=\"Scope\",ge[ge.PackageContent=3]=\"PackageContent\"})(Y||(Y={}));for(var U=0,K=0,Te=0;K>=0;)switch(U=K,K=X.indexOf(\"/\",U+1),Te){case 0:X.indexOf(e.nodeModulesPathPart,U)===U&&(j=U,Se=K,Te=1);break;case 1:case 2:Te===1&&X.charAt(U+1)===\"@\"?Te=2:(Ce=K,Te=3);break;case 3:X.indexOf(e.nodeModulesPathPart,U)===U?Te=1:Te=3;break}return R=U,Te>1?{topLevelNodeModulesIndex:j,topLevelPackageNameIndex:Se,packageRootIndex:Ce,fileNameIndex:R}:void 0}function m(X,j,Se){return e.firstDefined(j,function(Ce){var R=te(X,Ce,Se);return ue(R)?void 0:R})}function u(X,j,Se){if(e.fileExtensionIsOneOf(X,[\".json\",\".mjs\",\".cjs\"]))return X;var Ce=e.removeFileExtension(X);if(e.fileExtensionIsOneOf(X,[\".d.mts\",\".mts\",\".d.cts\",\".cts\"]))return Ce+g(X,Se);switch(j){case 0:return e.removeSuffix(Ce,\"/index\");case 1:return Ce;case 2:return Ce+g(X,Se);default:return e.Debug.assertNever(j)}}function g(X,j){var Se;return(Se=P(X,j))!==null&&Se!==void 0?Se:e.Debug.fail(\"Extension \".concat(e.extensionFromPath(X),\" is unsupported:: FileName:: \").concat(X))}function P(X,j){var Se=e.tryGetExtensionFromPath(X);switch(Se){case\".ts\":case\".d.ts\":return\".js\";case\".tsx\":return j.jsx===1?\".jsx\":\".js\";case\".js\":case\".jsx\":case\".json\":return Se;case\".d.mts\":case\".mts\":case\".mjs\":return\".mjs\";case\".d.cts\":case\".cts\":case\".cjs\":return\".cjs\";default:return}}n.tryGetJSExtensionForFile=P;function te(X,j,Se){var Ce=e.getRelativePathToDirectoryOrUrl(j,X,j,Se,!1);return e.isRootedDiskPath(Ce)?void 0:Ce}function ue(X){return e.startsWith(X,\"..\")}})(e.moduleSpecifiers||(e.moduleSpecifiers={}))}(jr||(jr={})),function(e){var n=e.sys?{getCurrentDirectory:function(){return e.sys.getCurrentDirectory()},getNewLine:function(){return e.sys.newLine},getCanonicalFileName:e.createGetCanonicalFileName(e.sys.useCaseSensitiveFileNames)}:void 0;function f(y,D){var C=y===e.sys&&n?n:{getCurrentDirectory:function(){return y.getCurrentDirectory()},getNewLine:function(){return y.newLine},getCanonicalFileName:e.createGetCanonicalFileName(y.useCaseSensitiveFileNames)};if(!D)return function(u){return y.write(e.formatDiagnostic(u,C))};var m=new Array(1);return function(u){m[0]=u,y.write(e.formatDiagnosticsWithColorAndContext(m,C)+C.getNewLine()),m[0]=void 0}}e.createDiagnosticReporter=f;function p(y,D,C){return y.clearScreen&&!C.preserveWatchOutput&&!C.extendedDiagnostics&&!C.diagnostics&&e.contains(e.screenStartingMessageCodes,D.code)?(y.clearScreen(),!0):!1}e.screenStartingMessageCodes=[e.Diagnostics.Starting_compilation_in_watch_mode.code,e.Diagnostics.File_change_detected_Starting_incremental_compilation.code];function a(y,D){return e.contains(e.screenStartingMessageCodes,y.code)?D+D:D}function d(y){return y.now?y.now().toLocaleTimeString(\"en-US\",{timeZone:\"UTC\"}):new Date().toLocaleTimeString()}e.getLocaleTimeString=d;function k(y,D){return D?function(C,m,u){p(y,C,u);var g=\"[\".concat(e.formatColorAndReset(d(y),e.ForegroundColorEscapeSequences.Grey),\"] \");g+=\"\".concat(e.flattenDiagnosticMessageText(C.messageText,y.newLine)).concat(m+m),y.write(g)}:function(C,m,u){var g=\"\";p(y,C,u)||(g+=m),g+=\"\".concat(d(y),\" - \"),g+=\"\".concat(e.flattenDiagnosticMessageText(C.messageText,y.newLine)).concat(a(C,m)),y.write(g)}}e.createWatchStatusReporter=k;function J(y,D,C,m,u,g){var P=u;P.onUnRecoverableConfigFileDiagnostic=function(ue){return V(u,g,ue)};var te=e.getParsedCommandLineOfConfigFile(y,D,P,C,m);return P.onUnRecoverableConfigFileDiagnostic=void 0,te}e.parseConfigFileWithSystem=J;function h(y){return e.countWhere(y,function(D){return D.category===e.DiagnosticCategory.Error})}e.getErrorCountForSummary=h;function v(y){return y===1?e.Diagnostics.Found_1_error_Watching_for_file_changes:e.Diagnostics.Found_0_errors_Watching_for_file_changes}e.getWatchErrorSummaryDiagnosticMessage=v;function A(y,D){if(y===0)return\"\";var C=e.createCompilerDiagnostic(y===1?e.Diagnostics.Found_1_error:e.Diagnostics.Found_0_errors,y);return\"\".concat(D).concat(e.flattenDiagnosticMessageText(C.messageText,D)).concat(D).concat(D)}e.getErrorSummaryText=A;function z(y){return!!y.getState}e.isBuilderProgram=z;function ie(y,D){var C=y.getCompilerOptions();C.explainFiles?b(z(y)?y.getProgram():y,D):(C.listFiles||C.listFilesOnly)&&e.forEach(y.getSourceFiles(),function(m){D(m.fileName)})}e.listFiles=ie;function b(y,D){for(var C,m,u=y.getFileIncludeReasons(),g=e.createGetCanonicalFileName(y.useCaseSensitiveFileNames()),P=function(j){return e.convertToRelativePath(j,y.getCurrentDirectory(),g)},te=0,ue=y.getSourceFiles();te<ue.length;te++){var X=ue[te];D(\"\".concat(I(X,P))),(C=u.get(X.path))===null||C===void 0||C.forEach(function(j){return D(\"  \".concat(H(y,j,P).messageText))}),(m=M(X,P))===null||m===void 0||m.forEach(function(j){return D(\"  \".concat(j.messageText))})}}e.explainFiles=b;function M(y,D){var C;return y.path!==y.resolvedPath&&(C||(C=[])).push(e.chainDiagnosticMessages(void 0,e.Diagnostics.File_is_output_of_project_reference_source_0,I(y.originalFileName,D))),y.redirectInfo&&(C||(C=[])).push(e.chainDiagnosticMessages(void 0,e.Diagnostics.File_redirects_to_file_0,I(y.redirectInfo.redirectTarget,D))),C}e.explainIfFileIsRedirect=M;function S(y,D){var C,m=y.getCompilerOptions().configFile;if(!!(!((C=m==null?void 0:m.configFileSpecs)===null||C===void 0)&&C.validatedFilesSpec)){var u=e.createGetCanonicalFileName(y.useCaseSensitiveFileNames()),g=u(D),P=e.getDirectoryPath(e.getNormalizedAbsolutePath(m.fileName,y.getCurrentDirectory()));return e.find(m.configFileSpecs.validatedFilesSpec,function(te){return u(e.getNormalizedAbsolutePath(te,P))===g})}}e.getMatchedFileSpec=S;function B(y,D){var C,m,u=y.getCompilerOptions().configFile;if(!!(!((C=u==null?void 0:u.configFileSpecs)===null||C===void 0)&&C.validatedIncludeSpecs)){var g=e.fileExtensionIs(D,\".json\"),P=e.getDirectoryPath(e.getNormalizedAbsolutePath(u.fileName,y.getCurrentDirectory())),te=y.useCaseSensitiveFileNames();return e.find((m=u==null?void 0:u.configFileSpecs)===null||m===void 0?void 0:m.validatedIncludeSpecs,function(ue){if(g&&!e.endsWith(ue,\".json\"))return!1;var X=e.getPatternFromSpec(ue,P,\"files\");return!!X&&e.getRegexFromPattern(\"(\".concat(X,\")$\"),te).test(D)})}}e.getMatchedIncludeSpec=B;function H(y,D,C){var m,u,g=y.getCompilerOptions();if(e.isReferencedFile(D)){var P=e.getReferencedFileLocation(function(U){return y.getSourceFileByPath(U)},D),te=e.isReferenceFileLocation(P)?P.file.text.substring(P.pos,P.end):'\"'.concat(P.text,'\"'),ue=void 0;switch(e.Debug.assert(e.isReferenceFileLocation(P)||D.kind===e.FileIncludeKind.Import,\"Only synthetic references are imports\"),D.kind){case e.FileIncludeKind.Import:e.isReferenceFileLocation(P)?ue=P.packageId?e.Diagnostics.Imported_via_0_from_file_1_with_packageId_2:e.Diagnostics.Imported_via_0_from_file_1:P.text===e.externalHelpersModuleNameText?ue=P.packageId?e.Diagnostics.Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:e.Diagnostics.Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:ue=P.packageId?e.Diagnostics.Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:e.Diagnostics.Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions;break;case e.FileIncludeKind.ReferenceFile:e.Debug.assert(!P.packageId),ue=e.Diagnostics.Referenced_via_0_from_file_1;break;case e.FileIncludeKind.TypeReferenceDirective:ue=P.packageId?e.Diagnostics.Type_library_referenced_via_0_from_file_1_with_packageId_2:e.Diagnostics.Type_library_referenced_via_0_from_file_1;break;case e.FileIncludeKind.LibReferenceDirective:e.Debug.assert(!P.packageId),ue=e.Diagnostics.Library_referenced_via_0_from_file_1;break;default:e.Debug.assertNever(D)}return e.chainDiagnosticMessages(void 0,ue,te,I(P.file,C),P.packageId&&e.packageIdToString(P.packageId))}switch(D.kind){case e.FileIncludeKind.RootFile:if(!(!((m=g.configFile)===null||m===void 0)&&m.configFileSpecs))return e.chainDiagnosticMessages(void 0,e.Diagnostics.Root_file_specified_for_compilation);var X=e.getNormalizedAbsolutePath(y.getRootFileNames()[D.index],y.getCurrentDirectory()),j=S(y,X);if(j)return e.chainDiagnosticMessages(void 0,e.Diagnostics.Part_of_files_list_in_tsconfig_json);var Se=B(y,X);return Se?e.chainDiagnosticMessages(void 0,e.Diagnostics.Matched_by_include_pattern_0_in_1,Se,I(g.configFile,C)):e.chainDiagnosticMessages(void 0,e.Diagnostics.Root_file_specified_for_compilation);case e.FileIncludeKind.SourceFromProjectReference:case e.FileIncludeKind.OutputFromProjectReference:var Ce=D.kind===e.FileIncludeKind.OutputFromProjectReference,R=e.Debug.checkDefined((u=y.getResolvedProjectReferences())===null||u===void 0?void 0:u[D.index]);return e.chainDiagnosticMessages(void 0,e.outFile(g)?Ce?e.Diagnostics.Output_from_referenced_project_0_included_because_1_specified:e.Diagnostics.Source_from_referenced_project_0_included_because_1_specified:Ce?e.Diagnostics.Output_from_referenced_project_0_included_because_module_is_specified_as_none:e.Diagnostics.Source_from_referenced_project_0_included_because_module_is_specified_as_none,I(R.sourceFile.fileName,C),g.outFile?\"--outFile\":\"--out\");case e.FileIncludeKind.AutomaticTypeDirectiveFile:return e.chainDiagnosticMessages(void 0,g.types?D.packageId?e.Diagnostics.Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1:e.Diagnostics.Entry_point_of_type_library_0_specified_in_compilerOptions:D.packageId?e.Diagnostics.Entry_point_for_implicit_type_library_0_with_packageId_1:e.Diagnostics.Entry_point_for_implicit_type_library_0,D.typeReference,D.packageId&&e.packageIdToString(D.packageId));case e.FileIncludeKind.LibFile:if(D.index!==void 0)return e.chainDiagnosticMessages(void 0,e.Diagnostics.Library_0_specified_in_compilerOptions,g.lib[D.index]);var Y=e.forEachEntry(e.targetOptionDeclaration.type,function(U,K){return U===e.getEmitScriptTarget(g)?K:void 0});return e.chainDiagnosticMessages(void 0,Y?e.Diagnostics.Default_library_for_target_0:e.Diagnostics.Default_library,Y);default:e.Debug.assertNever(D)}}e.fileIncludeReasonToDiagnostics=H;function I(y,D){var C=e.isString(y)?y:y.fileName;return D?D(C):C}function w(y,D,C,m,u,g,P,te){var ue=!!y.getCompilerOptions().listFilesOnly,X=y.getConfigFileParsingDiagnostics().slice(),j=X.length;e.addRange(X,y.getSyntacticDiagnostics(void 0,g)),X.length===j&&(e.addRange(X,y.getOptionsDiagnostics(g)),ue||(e.addRange(X,y.getGlobalDiagnostics(g)),X.length===j&&e.addRange(X,y.getSemanticDiagnostics(void 0,g))));var Se=ue?{emitSkipped:!0,diagnostics:e.emptyArray}:y.emit(void 0,u,g,P,te),Ce=Se.emittedFiles,R=Se.diagnostics;e.addRange(X,R);var Y=e.sortAndDeduplicateDiagnostics(X);if(Y.forEach(D),C){var U=y.getCurrentDirectory();e.forEach(Ce,function(K){var Te=e.getNormalizedAbsolutePath(K,U);C(\"TSFILE: \".concat(Te))}),ie(y,C)}return m&&m(h(Y)),{emitResult:Se,diagnostics:Y}}e.emitFilesAndReportErrors=w;function x(y,D,C,m,u,g,P,te){var ue=w(y,D,C,m,u,g,P,te),X=ue.emitResult,j=ue.diagnostics;return X.emitSkipped&&j.length>0?e.ExitStatus.DiagnosticsPresent_OutputsSkipped:j.length>0?e.ExitStatus.DiagnosticsPresent_OutputsGenerated:e.ExitStatus.Success}e.emitFilesAndReportErrorsAndGetExitStatus=x,e.noopFileWatcher={close:e.noop},e.returnNoopFileWatcher=function(){return e.noopFileWatcher};function O(y,D){y===void 0&&(y=e.sys);var C=D||k(y);return{onWatchStatusChange:C,watchFile:e.maybeBind(y,y.watchFile)||e.returnNoopFileWatcher,watchDirectory:e.maybeBind(y,y.watchDirectory)||e.returnNoopFileWatcher,setTimeout:e.maybeBind(y,y.setTimeout)||e.noop,clearTimeout:e.maybeBind(y,y.clearTimeout)||e.noop}}e.createWatchHost=O,e.WatchType={ConfigFile:\"Config file\",ExtendedConfigFile:\"Extended config file\",SourceFile:\"Source file\",MissingFile:\"Missing file\",WildcardDirectory:\"Wild card directory\",FailedLookupLocations:\"Failed Lookup Locations\",TypeRoots:\"Type roots\",ConfigFileOfReferencedProject:\"Config file of referened project\",ExtendedConfigOfReferencedProject:\"Extended config file of referenced project\",WildcardDirectoryOfReferencedProject:\"Wild card directory of referenced project\",PackageJson:\"package.json file\"};function q(y,D){var C=y.trace?D.extendedDiagnostics?e.WatchLogLevel.Verbose:D.diagnostics?e.WatchLogLevel.TriggerOnly:e.WatchLogLevel.None:e.WatchLogLevel.None,m=C!==e.WatchLogLevel.None?function(g){return y.trace(g)}:e.noop,u=e.getWatchFactory(y,C,m);return u.writeLog=m,u}e.createWatchFactory=q;function Z(y,D,C){C===void 0&&(C=y);var m=y.useCaseSensitiveFileNames(),u=e.memoize(function(){return y.getNewLine()});return{getSourceFile:function(P,te,ue){var X;try{e.performance.mark(\"beforeIORead\"),X=y.readFile(P,D().charset),e.performance.mark(\"afterIORead\"),e.performance.measure(\"I/O Read\",\"beforeIORead\",\"afterIORead\")}catch(j){ue&&ue(j.message),X=\"\"}return X!==void 0?e.createSourceFile(P,X,te):void 0},getDefaultLibLocation:e.maybeBind(y,y.getDefaultLibLocation),getDefaultLibFileName:function(P){return y.getDefaultLibFileName(P)},writeFile:g,getCurrentDirectory:e.memoize(function(){return y.getCurrentDirectory()}),useCaseSensitiveFileNames:function(){return m},getCanonicalFileName:e.createGetCanonicalFileName(m),getNewLine:function(){return e.getNewLineCharacter(D(),u)},fileExists:function(P){return y.fileExists(P)},readFile:function(P){return y.readFile(P)},trace:e.maybeBind(y,y.trace),directoryExists:e.maybeBind(C,C.directoryExists),getDirectories:e.maybeBind(C,C.getDirectories),realpath:e.maybeBind(y,y.realpath),getEnvironmentVariable:e.maybeBind(y,y.getEnvironmentVariable)||function(){return\"\"},createHash:e.maybeBind(y,y.createHash),readDirectory:e.maybeBind(y,y.readDirectory),disableUseFileVersionAsSignature:y.disableUseFileVersionAsSignature};function g(P,te,ue,X){try{e.performance.mark(\"beforeIOWrite\"),e.writeFileEnsuringDirectories(P,te,ue,function(j,Se,Ce){return y.writeFile(j,Se,Ce)},function(j){return y.createDirectory(j)},function(j){return y.directoryExists(j)}),e.performance.mark(\"afterIOWrite\"),e.performance.measure(\"I/O Write\",\"beforeIOWrite\",\"afterIOWrite\")}catch(j){X&&X(j.message)}}}e.createCompilerHostFromProgramHost=Z;function ne(y,D){var C=y.getSourceFile,m=e.maybeBind(D,D.createHash)||e.generateDjb2Hash;y.getSourceFile=function(){for(var u=[],g=0;g<arguments.length;g++)u[g]=arguments[g];var P=C.call.apply(C,Gt([y],u,!1));return P&&(P.version=m(P.text)),P}}e.setGetSourceFileAsHashVersioned=ne;function F(y,D){var C=e.memoize(function(){return e.getDirectoryPath(e.normalizePath(y.getExecutingFilePath()))});return{useCaseSensitiveFileNames:function(){return y.useCaseSensitiveFileNames},getNewLine:function(){return y.newLine},getCurrentDirectory:e.memoize(function(){return y.getCurrentDirectory()}),getDefaultLibLocation:C,getDefaultLibFileName:function(m){return e.combinePaths(C(),e.getDefaultLibFileName(m))},fileExists:function(m){return y.fileExists(m)},readFile:function(m,u){return y.readFile(m,u)},directoryExists:function(m){return y.directoryExists(m)},getDirectories:function(m){return y.getDirectories(m)},readDirectory:function(m,u,g,P,te){return y.readDirectory(m,u,g,P,te)},realpath:e.maybeBind(y,y.realpath),getEnvironmentVariable:e.maybeBind(y,y.getEnvironmentVariable),trace:function(m){return y.write(m+y.newLine)},createDirectory:function(m){return y.createDirectory(m)},writeFile:function(m,u,g){return y.writeFile(m,u,g)},createHash:e.maybeBind(y,y.createHash),createProgram:D||e.createEmitAndSemanticDiagnosticsBuilderProgram,disableUseFileVersionAsSignature:y.disableUseFileVersionAsSignature}}e.createProgramHost=F;function Q(y,D,C,m){y===void 0&&(y=e.sys);var u=function(P){return y.write(P+y.newLine)},g=F(y,D);return e.copyProperties(g,O(y,m)),g.afterProgramCreate=function(P){var te=P.getCompilerOptions(),ue=e.getNewLineCharacter(te,function(){return y.newLine});w(P,C,u,function(X){return g.onWatchStatusChange(e.createCompilerDiagnostic(v(X),X),ue,te,X)})},g}function V(y,D,C){D(C),y.exit(e.ExitStatus.DiagnosticsPresent_OutputsSkipped)}function re(y){var D=y.configFileName,C=y.optionsToExtend,m=y.watchOptionsToExtend,u=y.extraFileExtensions,g=y.system,P=y.createProgram,te=y.reportDiagnostic,ue=y.reportWatchStatus,X=te||f(g),j=Q(g,P,X,ue);return j.onUnRecoverableConfigFileDiagnostic=function(Se){return V(g,X,Se)},j.configFileName=D,j.optionsToExtend=C,j.watchOptionsToExtend=m,j.extraFileExtensions=u,j}e.createWatchCompilerHostOfConfigFile=re;function T(y){var D=y.rootFiles,C=y.options,m=y.watchOptions,u=y.projectReferences,g=y.system,P=y.createProgram,te=y.reportDiagnostic,ue=y.reportWatchStatus,X=Q(g,P,te||f(g),ue);return X.rootFiles=D,X.options=C,X.watchOptions=m,X.projectReferences=u,X}e.createWatchCompilerHostOfFilesAndCompilerOptions=T;function N(y){var D=y.system||e.sys,C=y.host||(y.host=e.createIncrementalCompilerHost(y.options,D)),m=e.createIncrementalProgram(y),u=x(m,y.reportDiagnostic||f(D),function(g){return C.trace&&C.trace(g)},y.reportErrorSummary||y.options.pretty?function(g){return D.write(A(g,D.newLine))}:void 0);return y.afterProgramEmitAndDiagnostics&&y.afterProgramEmitAndDiagnostics(m),u}e.performIncrementalCompilation=N}(jr||(jr={})),function(e){function n(k,J){if(!e.outFile(k)){var h=e.getTsBuildInfoEmitOutputFilePath(k);if(!!h){var v=J.readFile(h);if(!!v){var A=e.getBuildInfo(v);if(A.version===e.version&&!!A.program)return e.createBuildProgramUsingProgramBuildInfo(A.program,h,J)}}}}e.readBuilderProgram=n;function f(k,J){J===void 0&&(J=e.sys);var h=e.createCompilerHostWorker(k,void 0,J);return h.createHash=e.maybeBind(J,J.createHash),h.disableUseFileVersionAsSignature=J.disableUseFileVersionAsSignature,e.setGetSourceFileAsHashVersioned(h,J),e.changeCompilerHostLikeToUseCache(h,function(v){return e.toPath(v,h.getCurrentDirectory(),h.getCanonicalFileName)}),h}e.createIncrementalCompilerHost=f;function p(k){var J=k.rootNames,h=k.options,v=k.configFileParsingDiagnostics,A=k.projectReferences,z=k.host,ie=k.createProgram;z=z||f(h),ie=ie||e.createEmitAndSemanticDiagnosticsBuilderProgram;var b=n(h,z);return ie(J,h,z,b,v,A)}e.createIncrementalProgram=p;function a(k,J,h,v,A,z,ie,b){return e.isArray(k)?e.createWatchCompilerHostOfFilesAndCompilerOptions({rootFiles:k,options:J,watchOptions:b,projectReferences:ie,system:h,createProgram:v,reportDiagnostic:A,reportWatchStatus:z}):e.createWatchCompilerHostOfConfigFile({configFileName:k,optionsToExtend:J,watchOptionsToExtend:ie,extraFileExtensions:b,system:h,createProgram:v,reportDiagnostic:A,reportWatchStatus:z})}e.createWatchCompilerHost=a;function d(k){var J,h,v,A,z,ie,b,M,S,B=k.extendedConfigCache,H=!1,I=new e.Map,w,x=!1,O=k.useCaseSensitiveFileNames(),q=k.getCurrentDirectory(),Z=k.configFileName,ne=k.optionsToExtend,F=ne===void 0?{}:ne,Q=k.watchOptionsToExtend,V=k.extraFileExtensions,re=k.createProgram,T=k.rootFiles,N=k.options,y=k.watchOptions,D=k.projectReferences,C,m,u=!1,g=!1,P=Z===void 0?void 0:e.createCachedDirectoryStructureHost(k,q,O),te=P||k,ue=e.parseConfigHostFromCompilerHostLike(k,te),X=_e();Z&&k.configFileParsingResult&&(Pr(k.configFileParsingResult),X=_e()),lr(e.Diagnostics.Starting_compilation_in_watch_mode),Z&&!k.configFileParsingResult&&(X=e.getNewLineCharacter(F,function(){return k.getNewLine()}),e.Debug.assert(!T),Sr(),X=_e());var j=e.createWatchFactory(k,N),Se=j.watchFile,Ce=j.watchDirectory,R=j.writeLog,Y=e.createGetCanonicalFileName(O);R(\"Current directory: \".concat(q,\" CaseSensitiveFileNames: \").concat(O));var U;Z&&(U=Se(Z,ur,e.PollingInterval.High,y,e.WatchType.ConfigFile));var K=e.createCompilerHostFromProgramHost(k,function(){return N},te);e.setGetSourceFileAsHashVersioned(K,k);var Te=K.getSourceFile;K.getSourceFile=function(Or){for(var sr=[],ye=1;ye<arguments.length;ye++)sr[ye-1]=arguments[ye];return Ae.apply(void 0,Gt([Or,Le(Or)],sr,!1))},K.getSourceFileByPath=Ae,K.getNewLine=function(){return X},K.fileExists=De,K.onReleaseOldSourceFile=br,K.onReleaseParsedCommandLine=Jr,K.toPath=Le,K.getCompilationSettings=function(){return N},K.useSourceOfProjectReferenceRedirect=e.maybeBind(k,k.useSourceOfProjectReferenceRedirect),K.watchDirectoryOfFailedLookupLocation=function(Or,sr,ye){return Ce(Or,sr,ye,y,e.WatchType.FailedLookupLocations)},K.watchTypeRootsDirectory=function(Or,sr,ye){return Ce(Or,sr,ye,y,e.WatchType.TypeRoots)},K.getCachedDirectoryStructureHost=function(){return P},K.scheduleInvalidateResolutionsOfFailedLookupLocations=Ke,K.onInvalidatedResolution=Hr,K.onChangedAutomaticTypeDirectiveNames=Hr,K.fileIsOpen=e.returnFalse,K.getCurrentProgram=Ge,K.writeLog=R,K.getParsedCommandLine=He;var ge=e.createResolutionCache(K,Z?e.getDirectoryPath(e.getNormalizedAbsolutePath(Z,q)):q,!1);K.resolveModuleNames=k.resolveModuleNames?function(){for(var Or=[],sr=0;sr<arguments.length;sr++)Or[sr]=arguments[sr];return k.resolveModuleNames.apply(k,Or)}:function(Or,sr,ye,or,fe,je){return ge.resolveModuleNames(Or,sr,ye,or,je)},K.resolveTypeReferenceDirectives=k.resolveTypeReferenceDirectives?function(){for(var Or=[],sr=0;sr<arguments.length;sr++)Or[sr]=arguments[sr];return k.resolveTypeReferenceDirectives.apply(k,Or)}:function(Or,sr,ye){return ge.resolveTypeReferenceDirectives(Or,sr,ye)};var ke=!!k.resolveModuleNames||!!k.resolveTypeReferenceDirectives;return J=n(N,K),he(),bn(),Z&&zn(Le(Z),N,y,e.WatchType.ExtendedConfigFile),Z?{getCurrentProgram:Ie,getProgram:de,close:Pe}:{getCurrentProgram:Ie,getProgram:de,updateRootFileNames:Ve,close:Pe};function Pe(){kr(),ge.clear(),e.clearMap(I,function(Or){Or&&Or.fileWatcher&&(Or.fileWatcher.close(),Or.fileWatcher=void 0)}),U&&(U.close(),U=void 0),B==null||B.clear(),B=void 0,S&&(e.clearMap(S,e.closeFileWatcherOf),S=void 0),z&&(e.clearMap(z,e.closeFileWatcherOf),z=void 0),v&&(e.clearMap(v,e.closeFileWatcher),v=void 0),M&&(e.clearMap(M,function(Or){var sr;(sr=Or.watcher)===null||sr===void 0||sr.close(),Or.watcher=void 0,Or.watchedDirectories&&e.clearMap(Or.watchedDirectories,e.closeFileWatcherOf),Or.watchedDirectories=void 0}),M=void 0),A&&(e.clearMap(A,e.closeFileWatcher),A=void 0)}function Ie(){return J}function Ge(){return J&&J.getProgramOrUndefined()}function he(){R(\"Synchronizing program\"),kr();var Or=Ie();x&&(X=_e(),Or&&(H||e.changesAffectModuleResolution(Or.getCompilerOptions(),N))&&ge.clear());var sr=ge.createHasInvalidatedResolution(ke||H);return e.isProgramUptoDate(Ge(),T,N,Dr,De,sr,Ar,He,D)?g&&(J=re(void 0,void 0,K,J,m,D),g=!1):ve(sr),H=!1,k.afterProgramCreate&&Or!==J&&k.afterProgramCreate(J),J}function ve(Or){R(\"CreatingProgramWith::\"),R(\"  roots: \".concat(JSON.stringify(T))),R(\"  options: \".concat(JSON.stringify(N))),D&&R(\"  projectReferences: \".concat(JSON.stringify(D)));var sr=x||!Ge();x=!1,g=!1,ge.startCachingPerDirectoryResolution(),K.hasInvalidatedResolution=Or,K.hasChangedAutomaticTypeDirectiveNames=Ar,J=re(T,N,K,J,m,D);var ye=e.map(ge.getModuleResolutionCache().getPackageJsonInfoCache().entries(),function(Ee){var We=Ee[0],$=Ee[1];return[K.realpath?Le(K.realpath(We)):We,$]});if(ge.finishCachingPerDirectoryResolution(),e.updateMissingFilePathsWatch(J.getProgram(),v||(v=new e.Map),lt),e.updatePackageJsonWatch(ye,A||(A=new e.Map),tt),sr&&ge.updateTypeRootsWatch(),w){for(var or=0,fe=w;or<fe.length;or++){var je=fe[or];v.has(je)||I.delete(je)}w=void 0}}function Ve(Or){e.Debug.assert(!Z,\"Cannot update root file names with config file watch mode\"),T=Or,Hr()}function _e(){return e.getNewLineCharacter(N||F,function(){return k.getNewLine()})}function Le(Or){return e.toPath(Or,q,Y)}function qe(Or){return typeof Or==\"boolean\"}function Xe(Or){return typeof Or.version==\"boolean\"}function De(Or){var sr=Le(Or);return qe(I.get(sr))?!1:te.fileExists(Or)}function Ae(Or,sr,ye,or,fe){var je=I.get(sr);if(!qe(je)){if(je===void 0||fe||Xe(je)){var Ee=Te(Or,ye,or);if(je)Ee?(je.sourceFile=Ee,je.version=Ee.version,je.fileWatcher||(je.fileWatcher=ze(sr,Or,Lr,e.PollingInterval.Low,y,e.WatchType.SourceFile))):(je.fileWatcher&&je.fileWatcher.close(),I.set(sr,!1));else if(Ee){var We=ze(sr,Or,Lr,e.PollingInterval.Low,y,e.WatchType.SourceFile);I.set(sr,{sourceFile:Ee,version:Ee.version,fileWatcher:We})}else I.set(sr,!1);return Ee&&(Ee.impliedNodeFormat=e.getImpliedNodeFormatForFile(sr,ge.getModuleResolutionCache().getPackageJsonInfoCache(),K,K.getCompilationSettings())),Ee}return je.sourceFile}}function Ye(Or){var sr=I.get(Or);sr!==void 0&&(qe(sr)?I.set(Or,{version:!1}):sr.version=!1)}function Dr(Or){var sr=I.get(Or);return!sr||!sr.version?void 0:sr.version}function br(Or,sr,ye){var or=I.get(Or.resolvedPath);or!==void 0&&(qe(or)?(w||(w=[])).push(Or.path):or.sourceFile===Or&&(or.fileWatcher&&or.fileWatcher.close(),I.delete(Or.resolvedPath),ye||ge.removeResolutionsOfFile(Or.path)))}function lr(Or){k.onWatchStatusChange&&k.onWatchStatusChange(e.createCompilerDiagnostic(Or),X,N||F)}function Ar(){return ge.hasChangedAutomaticTypeDirectiveNames()}function kr(){return b?(k.clearTimeout(b),b=void 0,!0):!1}function Ke(){if(!k.setTimeout||!k.clearTimeout)return ge.invalidateResolutionsOfFailedLookupLocations();var Or=kr();R(\"Scheduling invalidateFailedLookup\".concat(Or?\", Cancelled earlier one\":\"\")),b=k.setTimeout(Me,250)}function Me(){b=void 0,ge.invalidateResolutionsOfFailedLookupLocations()&&Hr()}function Hr(){!k.setTimeout||!k.clearTimeout||(ie&&k.clearTimeout(ie),R(\"Scheduling update\"),ie=k.setTimeout(gr,250))}function ur(){e.Debug.assert(!!Z),h=e.ConfigFileProgramReloadLevel.Full,Hr()}function gr(){ie=void 0,lr(e.Diagnostics.File_change_detected_Starting_incremental_compilation),de()}function de(){switch(h){case e.ConfigFileProgramReloadLevel.Partial:e.perfLogger.logStartUpdateProgram(\"PartialConfigReload\"),Fe();break;case e.ConfigFileProgramReloadLevel.Full:e.perfLogger.logStartUpdateProgram(\"FullConfigReload\"),$e();break;default:e.perfLogger.logStartUpdateProgram(\"SynchronizeProgram\"),he();break}return e.perfLogger.logStopUpdateProgram(\"Done\"),Ie()}function Fe(){R(\"Reloading new file names and options\"),T=e.getFileNamesFromConfigSpecs(N.configFile.configFileSpecs,e.getNormalizedAbsolutePath(e.getDirectoryPath(Z),q),N,ue,V),e.updateErrorForNoInputFiles(T,e.getNormalizedAbsolutePath(Z,q),N.configFile.configFileSpecs,m,u)&&(g=!0),he()}function $e(){R(\"Reloading config file: \".concat(Z)),h=e.ConfigFileProgramReloadLevel.None,P&&P.clearCache(),Sr(),x=!0,he(),bn(),zn(Le(Z),N,y,e.WatchType.ExtendedConfigFile)}function Sr(){Pr(e.getParsedCommandLineOfConfigFile(Z,F,ue,B||(B=new e.Map),Q,V))}function Pr(Or){T=Or.fileNames,N=Or.options,y=Or.watchOptions,D=Or.projectReferences,C=Or.wildcardDirectories,m=e.getConfigFileParsingDiagnostics(Or).slice(),u=e.canJsonReportNoInputFiles(Or.raw),g=!0}function He(Or){var sr=Le(Or),ye=M==null?void 0:M.get(sr);if(ye){if(!ye.reloadLevel)return ye.parsedCommandLine;if(ye.parsedCommandLine&&ye.reloadLevel===e.ConfigFileProgramReloadLevel.Partial&&!k.getParsedCommandLine){R(\"Reloading new file names and options\");var or=e.getFileNamesFromConfigSpecs(ye.parsedCommandLine.options.configFile.configFileSpecs,e.getNormalizedAbsolutePath(e.getDirectoryPath(Or),q),N,ue);return ye.parsedCommandLine=Rn(Rn({},ye.parsedCommandLine),{fileNames:or}),ye.reloadLevel=void 0,ye.parsedCommandLine}}R(\"Loading config file: \".concat(Or));var fe=k.getParsedCommandLine?k.getParsedCommandLine(Or):pr(Or);return ye?(ye.parsedCommandLine=fe,ye.reloadLevel=void 0):(M||(M=new e.Map)).set(sr,ye={parsedCommandLine:fe}),ir(Or,sr,ye),fe}function pr(Or){var sr=ue.onUnRecoverableConfigFileDiagnostic;ue.onUnRecoverableConfigFileDiagnostic=e.noop;var ye=e.getParsedCommandLineOfConfigFile(Or,void 0,ue,B||(B=new e.Map),Q);return ue.onUnRecoverableConfigFileDiagnostic=sr,ye}function Jr(Or){var sr,ye=Le(Or),or=M==null?void 0:M.get(ye);!or||(M.delete(ye),or.watchedDirectories&&e.clearMap(or.watchedDirectories,e.closeFileWatcherOf),(sr=or.watcher)===null||sr===void 0||sr.close(),e.clearSharedExtendedConfigFileWatcher(ye,S))}function ze(Or,sr,ye,or,fe,je){return Se(sr,function(Ee,We){return ye(Ee,We,Or)},or,fe,je)}function Lr(Or,sr,ye){Yr(Or,ye,sr),sr===e.FileWatcherEventKind.Deleted&&I.has(ye)&&ge.invalidateResolutionOfFile(ye),Ye(ye),Hr()}function Yr(Or,sr,ye){P&&P.addOrDeleteFile(Or,sr,ye)}function lt(Or){return M!=null&&M.has(Or)?e.noopFileWatcher:ze(Or,Or,cn,e.PollingInterval.Medium,y,e.WatchType.MissingFile)}function tt(Or){return I.has(Or)?e.noopFileWatcher:ze(Or,Or,Rt,e.PollingInterval.High,y,e.WatchType.PackageJson)}function Rt(Or,sr,ye){Yr(Or,ye,sr),h=e.ConfigFileProgramReloadLevel.Full,H=!0,Hr()}function cn(Or,sr,ye){Yr(Or,ye,sr),sr===e.FileWatcherEventKind.Created&&v.has(ye)&&(v.get(ye).close(),v.delete(ye),Ye(ye),Hr())}function bn(){C?e.updateWatchingWildcardDirectories(z||(z=new e.Map),new e.Map(e.getEntries(C)),In):z&&e.clearMap(z,e.closeFileWatcherOf)}function In(Or,sr){return Ce(Or,function(ye){e.Debug.assert(!!Z);var or=Le(ye);P&&P.addOrDeleteFileOrDirectory(ye,or),Ye(or),!e.isIgnoredFileFromWildCardWatching({watchedDirPath:Le(Or),fileOrDirectory:ye,fileOrDirectoryPath:or,configFileName:Z,extraFileExtensions:V,options:N,program:Ie()||T,currentDirectory:q,useCaseSensitiveFileNames:O,writeLog:R,toPath:Le})&&h!==e.ConfigFileProgramReloadLevel.Full&&(h=e.ConfigFileProgramReloadLevel.Partial,Hr())},sr,y,e.WatchType.WildcardDirectory)}function zn(Or,sr,ye,or){e.updateSharedExtendedConfigFileWatcher(Or,sr,S||(S=new e.Map),function(fe,je){return Se(fe,function(Ee,We){var $;Yr(fe,je,We),B&&e.cleanExtendedConfigCache(B,je,Le);var Ne=($=S.get(je))===null||$===void 0?void 0:$.projects;!(Ne!=null&&Ne.size)||Ne.forEach(function(me){if(Le(Z)===me)h=e.ConfigFileProgramReloadLevel.Full;else{var Ze=M==null?void 0:M.get(me);Ze&&(Ze.reloadLevel=e.ConfigFileProgramReloadLevel.Full),ge.removeResolutionsFromProjectReferenceRedirects(me)}Hr()})},e.PollingInterval.High,ye,or)},Le)}function ir(Or,sr,ye){var or,fe,je,Ee,We;ye.watcher||(ye.watcher=Se(Or,function($,Ne){Yr(Or,sr,Ne);var me=M==null?void 0:M.get(sr);me&&(me.reloadLevel=e.ConfigFileProgramReloadLevel.Full),ge.removeResolutionsFromProjectReferenceRedirects(sr),Hr()},e.PollingInterval.High,((or=ye.parsedCommandLine)===null||or===void 0?void 0:or.watchOptions)||y,e.WatchType.ConfigFileOfReferencedProject)),!((fe=ye.parsedCommandLine)===null||fe===void 0)&&fe.wildcardDirectories?e.updateWatchingWildcardDirectories(ye.watchedDirectories||(ye.watchedDirectories=new e.Map),new e.Map(e.getEntries((je=ye.parsedCommandLine)===null||je===void 0?void 0:je.wildcardDirectories)),function($,Ne){var me;return Ce($,function(Ze){var Cr=Le(Ze);P&&P.addOrDeleteFileOrDirectory(Ze,Cr),Ye(Cr);var fr=M==null?void 0:M.get(sr);!(fr!=null&&fr.parsedCommandLine)||e.isIgnoredFileFromWildCardWatching({watchedDirPath:Le($),fileOrDirectory:Ze,fileOrDirectoryPath:Cr,configFileName:Or,options:fr.parsedCommandLine.options,program:fr.parsedCommandLine.fileNames,currentDirectory:q,useCaseSensitiveFileNames:O,writeLog:R,toPath:Le})||fr.reloadLevel!==e.ConfigFileProgramReloadLevel.Full&&(fr.reloadLevel=e.ConfigFileProgramReloadLevel.Partial,Hr())},Ne,((me=ye.parsedCommandLine)===null||me===void 0?void 0:me.watchOptions)||y,e.WatchType.WildcardDirectoryOfReferencedProject)}):ye.watchedDirectories&&(e.clearMap(ye.watchedDirectories,e.closeFileWatcherOf),ye.watchedDirectories=void 0),zn(sr,(Ee=ye.parsedCommandLine)===null||Ee===void 0?void 0:Ee.options,((We=ye.parsedCommandLine)===null||We===void 0?void 0:We.watchOptions)||y,e.WatchType.ExtendedConfigOfReferencedProject)}}e.createWatchProgram=d}(jr||(jr={})),function(e){(function(f){f[f.Unbuildable=0]=\"Unbuildable\",f[f.UpToDate=1]=\"UpToDate\",f[f.UpToDateWithUpstreamTypes=2]=\"UpToDateWithUpstreamTypes\",f[f.OutOfDateWithPrepend=3]=\"OutOfDateWithPrepend\",f[f.OutputMissing=4]=\"OutputMissing\",f[f.OutOfDateWithSelf=5]=\"OutOfDateWithSelf\",f[f.OutOfDateWithUpstream=6]=\"OutOfDateWithUpstream\",f[f.UpstreamOutOfDate=7]=\"UpstreamOutOfDate\",f[f.UpstreamBlocked=8]=\"UpstreamBlocked\",f[f.ComputingUpstream=9]=\"ComputingUpstream\",f[f.TsVersionOutputOfDate=10]=\"TsVersionOutputOfDate\",f[f.ContainerOnly=11]=\"ContainerOnly\"})(e.UpToDateStatusType||(e.UpToDateStatusType={}));function n(f){return e.fileExtensionIs(f,\".json\")?f:e.combinePaths(f,\"tsconfig.json\")}e.resolveConfigFileProjectName=n}(jr||(jr={})),function(e){var n=new Date(-864e13),f=new Date(864e13),p;(function(de){de[de.None=0]=\"None\",de[de.Success=1]=\"Success\",de[de.DeclarationOutputUnchanged=2]=\"DeclarationOutputUnchanged\",de[de.ConfigFileErrors=4]=\"ConfigFileErrors\",de[de.SyntaxErrors=8]=\"SyntaxErrors\",de[de.TypeErrors=16]=\"TypeErrors\",de[de.DeclarationEmitErrors=32]=\"DeclarationEmitErrors\",de[de.EmitErrors=64]=\"EmitErrors\",de[de.AnyErrors=124]=\"AnyErrors\"})(p||(p={}));function a(de,Fe,$e){var Sr=de.get(Fe),Pr;return Sr||(Pr=$e(),de.set(Fe,Pr)),Sr||Pr}function d(de,Fe){return a(de,Fe,function(){return new e.Map})}function k(de,Fe){return Fe>de?Fe:de}function J(de){return e.fileExtensionIs(de,\".d.ts\")}function h(de){return!!de&&!!de.buildOrder}e.isCircularBuildOrder=h;function v(de){return h(de)?de.buildOrder:de}e.getBuildOrderFromAnyBuildOrder=v;function A(de,Fe){return function($e){var Sr=Fe?\"[\".concat(e.formatColorAndReset(e.getLocaleTimeString(de),e.ForegroundColorEscapeSequences.Grey),\"] \"):\"\".concat(e.getLocaleTimeString(de),\" - \");Sr+=\"\".concat(e.flattenDiagnosticMessageText($e.messageText,de.newLine)).concat(de.newLine+de.newLine),de.write(Sr)}}e.createBuilderStatusReporter=A;function z(de,Fe,$e,Sr){var Pr=e.createProgramHost(de,Fe);return Pr.getModifiedTime=de.getModifiedTime?function(He){return de.getModifiedTime(He)}:e.returnUndefined,Pr.setModifiedTime=de.setModifiedTime?function(He,pr){return de.setModifiedTime(He,pr)}:e.noop,Pr.deleteFile=de.deleteFile?function(He){return de.deleteFile(He)}:e.noop,Pr.reportDiagnostic=$e||e.createDiagnosticReporter(de),Pr.reportSolutionBuilderStatus=Sr||A(de),Pr.now=e.maybeBind(de,de.now),Pr}function ie(de,Fe,$e,Sr,Pr){de===void 0&&(de=e.sys);var He=z(de,Fe,$e,Sr);return He.reportErrorSummary=Pr,He}e.createSolutionBuilderHost=ie;function b(de,Fe,$e,Sr,Pr){de===void 0&&(de=e.sys);var He=z(de,Fe,$e,Sr),pr=e.createWatchHost(de,Pr);return e.copyProperties(He,pr),He}e.createSolutionBuilderWithWatchHost=b;function M(de){var Fe={};return e.commonOptionsWithBuild.forEach(function($e){e.hasProperty(de,$e.name)&&(Fe[$e.name]=de[$e.name])}),Fe}function S(de,Fe,$e){return Ye(!1,de,Fe,$e)}e.createSolutionBuilder=S;function B(de,Fe,$e,Sr){return Ye(!0,de,Fe,$e,Sr)}e.createSolutionBuilderWithWatch=B;function H(de,Fe,$e,Sr,Pr){var He=Fe,pr=Fe,Jr=He.getCurrentDirectory(),ze=e.createGetCanonicalFileName(He.useCaseSensitiveFileNames()),Lr=M(Sr),Yr=e.createCompilerHostFromProgramHost(He,function(){return Or.projectCompilerOptions});e.setGetSourceFileAsHashVersioned(Yr,He),Yr.getParsedCommandLine=function(sr){return q(Or,sr,w(Or,sr))},Yr.resolveModuleNames=e.maybeBind(He,He.resolveModuleNames),Yr.resolveTypeReferenceDirectives=e.maybeBind(He,He.resolveTypeReferenceDirectives);var lt=Yr.resolveModuleNames?void 0:e.createModuleResolutionCache(Jr,ze),tt=Yr.resolveTypeReferenceDirectives?void 0:e.createTypeReferenceDirectiveResolutionCache(Jr,ze,void 0,lt==null?void 0:lt.getPackageJsonInfoCache());if(!Yr.resolveModuleNames){var Rt=function(sr,ye,or,fe){return e.resolveModuleName(sr,or,Or.projectCompilerOptions,Yr,lt,fe,ye).resolvedModule};Yr.resolveModuleNames=function(sr,ye,or,fe,je,Ee){return e.loadWithModeAwareCache(e.Debug.checkEachDefined(sr),e.Debug.checkDefined(Ee),ye,fe,Rt)},Yr.getModuleResolutionCache=function(){return lt}}if(!Yr.resolveTypeReferenceDirectives){var cn=function(sr,ye,or){return e.resolveTypeReferenceDirective(sr,ye,Or.projectCompilerOptions,Yr,or,Or.typeReferenceDirectiveResolutionCache).resolvedTypeReferenceDirective};Yr.resolveTypeReferenceDirectives=function(sr,ye,or){return e.loadWithLocalCache(e.Debug.checkEachDefined(sr),ye,or,cn)}}var bn=e.createWatchFactory(pr,Sr),In=bn.watchFile,zn=bn.watchDirectory,ir=bn.writeLog,Or={host:He,hostWithWatch:pr,currentDirectory:Jr,getCanonicalFileName:ze,parseConfigFileHost:e.parseConfigHostFromCompilerHostLike(He),write:e.maybeBind(He,He.trace),options:Sr,baseCompilerOptions:Lr,rootNames:$e,baseWatchOptions:Pr,resolvedConfigFilePaths:new e.Map,configFileCache:new e.Map,projectStatus:new e.Map,buildInfoChecked:new e.Map,extendedConfigCache:new e.Map,builderPrograms:new e.Map,diagnostics:new e.Map,projectPendingBuild:new e.Map,projectErrorsReported:new e.Map,compilerHost:Yr,moduleResolutionCache:lt,typeReferenceDirectiveResolutionCache:tt,buildOrder:void 0,readFileWithCache:function(sr){return He.readFile(sr)},projectCompilerOptions:Lr,cache:void 0,allProjectBuildPending:!0,needsSummary:!0,watchAllProjectsPending:de,currentInvalidatedProject:void 0,watch:de,allWatchedWildcardDirectories:new e.Map,allWatchedInputFiles:new e.Map,allWatchedConfigFiles:new e.Map,allWatchedExtendedConfigFiles:new e.Map,allWatchedPackageJsonFiles:new e.Map,lastCachedPackageJsonLookups:new e.Map,timerToBuildInvalidatedProject:void 0,reportFileChangeDetected:!1,watchFile:In,watchDirectory:zn,writeLog:ir};return Or}function I(de,Fe){return e.toPath(Fe,de.currentDirectory,de.getCanonicalFileName)}function w(de,Fe){var $e=de.resolvedConfigFilePaths,Sr=$e.get(Fe);if(Sr!==void 0)return Sr;var Pr=I(de,Fe);return $e.set(Fe,Pr),Pr}function x(de){return!!de.options}function O(de,Fe){var $e=de.configFileCache.get(Fe);return $e&&x($e)?$e:void 0}function q(de,Fe,$e){var Sr=de.configFileCache,Pr=Sr.get($e);if(Pr)return x(Pr)?Pr:void 0;var He,pr=de.parseConfigFileHost,Jr=de.baseCompilerOptions,ze=de.baseWatchOptions,Lr=de.extendedConfigCache,Yr=de.host,lt;return Yr.getParsedCommandLine?(lt=Yr.getParsedCommandLine(Fe),lt||(He=e.createCompilerDiagnostic(e.Diagnostics.File_0_not_found,Fe))):(pr.onUnRecoverableConfigFileDiagnostic=function(tt){return He=tt},lt=e.getParsedCommandLineOfConfigFile(Fe,Jr,pr,Lr,ze),pr.onUnRecoverableConfigFileDiagnostic=e.noop),Sr.set($e,lt||He),lt}function Z(de,Fe){return e.resolveConfigFileProjectName(e.resolvePath(de.currentDirectory,Fe))}function ne(de,Fe){for(var $e=new e.Map,Sr=new e.Map,Pr=[],He,pr,Jr=0,ze=Fe;Jr<ze.length;Jr++){var Lr=ze[Jr];Yr(Lr)}return pr?{buildOrder:He||e.emptyArray,circularDiagnostics:pr}:He||e.emptyArray;function Yr(lt,tt){var Rt=w(de,lt);if(!Sr.has(Rt)){if($e.has(Rt)){tt||(pr||(pr=[])).push(e.createCompilerDiagnostic(e.Diagnostics.Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0,Pr.join(`\\r\n`)));return}$e.set(Rt,!0),Pr.push(lt);var cn=q(de,lt,Rt);if(cn&&cn.projectReferences)for(var bn=0,In=cn.projectReferences;bn<In.length;bn++){var zn=In[bn],ir=Z(de,zn.path);Yr(ir,tt||zn.circular)}Pr.pop(),Sr.set(Rt,!0),(He||(He=[])).push(lt)}}}function F(de){return de.buildOrder||Q(de)}function Q(de){var Fe=ne(de,de.rootNames.map(function(Pr){return Z(de,Pr)}));de.resolvedConfigFilePaths.clear();var $e=new e.Map(v(Fe).map(function(Pr){return[w(de,Pr),!0]})),Sr={onDeleteValue:e.noop};return e.mutateMapSkippingNewValues(de.configFileCache,$e,Sr),e.mutateMapSkippingNewValues(de.projectStatus,$e,Sr),e.mutateMapSkippingNewValues(de.buildInfoChecked,$e,Sr),e.mutateMapSkippingNewValues(de.builderPrograms,$e,Sr),e.mutateMapSkippingNewValues(de.diagnostics,$e,Sr),e.mutateMapSkippingNewValues(de.projectPendingBuild,$e,Sr),e.mutateMapSkippingNewValues(de.projectErrorsReported,$e,Sr),de.watch&&(e.mutateMapSkippingNewValues(de.allWatchedConfigFiles,$e,{onDeleteValue:e.closeFileWatcher}),de.allWatchedExtendedConfigFiles.forEach(function(Pr){Pr.projects.forEach(function(He){$e.has(He)||Pr.projects.delete(He)}),Pr.close()}),e.mutateMapSkippingNewValues(de.allWatchedWildcardDirectories,$e,{onDeleteValue:function(Pr){return Pr.forEach(e.closeFileWatcherOf)}}),e.mutateMapSkippingNewValues(de.allWatchedInputFiles,$e,{onDeleteValue:function(Pr){return Pr.forEach(e.closeFileWatcher)}}),e.mutateMapSkippingNewValues(de.allWatchedPackageJsonFiles,$e,{onDeleteValue:function(Pr){return Pr.forEach(e.closeFileWatcher)}})),de.buildOrder=Fe}function V(de,Fe,$e){var Sr=Fe&&Z(de,Fe),Pr=F(de);if(h(Pr))return Pr;if(Sr){var He=w(de,Sr),pr=e.findIndex(Pr,function(ze){return w(de,ze)===He});if(pr===-1)return}var Jr=Sr?ne(de,[Sr]):Pr;return e.Debug.assert(!h(Jr)),e.Debug.assert(!$e||Sr!==void 0),e.Debug.assert(!$e||Jr[Jr.length-1]===Sr),$e?Jr.slice(0,Jr.length-1):Jr}function re(de){de.cache&&T(de);var Fe=de.compilerHost,$e=de.host,Sr=de.readFileWithCache,Pr=Fe.getSourceFile,He=e.changeCompilerHostLikeToUseCache($e,function(Rt){return I(de,Rt)},function(){for(var Rt=[],cn=0;cn<arguments.length;cn++)Rt[cn]=arguments[cn];return Pr.call.apply(Pr,Gt([Fe],Rt,!1))}),pr=He.originalReadFile,Jr=He.originalFileExists,ze=He.originalDirectoryExists,Lr=He.originalCreateDirectory,Yr=He.originalWriteFile,lt=He.getSourceFileWithCache,tt=He.readFileWithCache;de.readFileWithCache=tt,Fe.getSourceFile=lt,de.cache={originalReadFile:pr,originalFileExists:Jr,originalDirectoryExists:ze,originalCreateDirectory:Lr,originalWriteFile:Yr,originalReadFileWithCache:Sr,originalGetSourceFile:Pr}}function T(de){if(!!de.cache){var Fe=de.cache,$e=de.host,Sr=de.compilerHost,Pr=de.extendedConfigCache,He=de.moduleResolutionCache,pr=de.typeReferenceDirectiveResolutionCache;$e.readFile=Fe.originalReadFile,$e.fileExists=Fe.originalFileExists,$e.directoryExists=Fe.originalDirectoryExists,$e.createDirectory=Fe.originalCreateDirectory,$e.writeFile=Fe.originalWriteFile,Sr.getSourceFile=Fe.originalGetSourceFile,de.readFileWithCache=Fe.originalReadFileWithCache,Pr.clear(),He==null||He.clear(),pr==null||pr.clear(),de.cache=void 0}}function N(de,Fe){de.projectStatus.delete(Fe),de.diagnostics.delete(Fe)}function y(de,Fe,$e){var Sr=de.projectPendingBuild,Pr=Sr.get(Fe);(Pr===void 0||Pr<$e)&&Sr.set(Fe,$e)}function D(de,Fe){if(!!de.allProjectBuildPending){de.allProjectBuildPending=!1,de.options.watch&&lr(de,e.Diagnostics.Starting_compilation_in_watch_mode),re(de);var $e=v(F(de));$e.forEach(function(Sr){return de.projectPendingBuild.set(w(de,Sr),e.ConfigFileProgramReloadLevel.None)}),Fe&&Fe.throwIfCancellationRequested()}}var C;(function(de){de[de.Build=0]=\"Build\",de[de.UpdateBundle=1]=\"UpdateBundle\",de[de.UpdateOutputFileStamps=2]=\"UpdateOutputFileStamps\"})(C=e.InvalidatedProjectKind||(e.InvalidatedProjectKind={}));function m(de,Fe){return de.projectPendingBuild.delete(Fe),de.currentInvalidatedProject=void 0,de.diagnostics.has(Fe)?e.ExitStatus.DiagnosticsPresent_OutputsSkipped:e.ExitStatus.Success}function u(de,Fe,$e,Sr,Pr){var He=!0;return{kind:C.UpdateOutputFileStamps,project:Fe,projectPath:$e,buildOrder:Pr,getCompilerOptions:function(){return Sr.options},getCurrentDirectory:function(){return de.currentDirectory},updateOutputFileStatmps:function(){Te(de,Sr,$e),He=!1},done:function(){return He&&Te(de,Sr,$e),m(de,$e)}}}var g;(function(de){de[de.CreateProgram=0]=\"CreateProgram\",de[de.SyntaxDiagnostics=1]=\"SyntaxDiagnostics\",de[de.SemanticDiagnostics=2]=\"SemanticDiagnostics\",de[de.Emit=3]=\"Emit\",de[de.EmitBundle=4]=\"EmitBundle\",de[de.EmitBuildInfo=5]=\"EmitBuildInfo\",de[de.BuildInvalidatedProjectOfBundle=6]=\"BuildInvalidatedProjectOfBundle\",de[de.QueueReferencingProjects=7]=\"QueueReferencingProjects\",de[de.Done=8]=\"Done\"})(g||(g={}));function P(de,Fe,$e,Sr,Pr,He,pr){var Jr=de===C.Build?g.CreateProgram:g.EmitBundle,ze,Lr,Yr;return de===C.Build?{kind:de,project:$e,projectPath:Sr,buildOrder:pr,getCompilerOptions:function(){return He.options},getCurrentDirectory:function(){return Fe.currentDirectory},getBuilderProgram:function(){return tt(e.identity)},getProgram:function(){return tt(function(fe){return fe.getProgramOrUndefined()})},getSourceFile:function(fe){return tt(function(je){return je.getSourceFile(fe)})},getSourceFiles:function(){return Rt(function(fe){return fe.getSourceFiles()})},getOptionsDiagnostics:function(fe){return Rt(function(je){return je.getOptionsDiagnostics(fe)})},getGlobalDiagnostics:function(fe){return Rt(function(je){return je.getGlobalDiagnostics(fe)})},getConfigFileParsingDiagnostics:function(){return Rt(function(fe){return fe.getConfigFileParsingDiagnostics()})},getSyntacticDiagnostics:function(fe,je){return Rt(function(Ee){return Ee.getSyntacticDiagnostics(fe,je)})},getAllDependencies:function(fe){return Rt(function(je){return je.getAllDependencies(fe)})},getSemanticDiagnostics:function(fe,je){return Rt(function(Ee){return Ee.getSemanticDiagnostics(fe,je)})},getSemanticDiagnosticsOfNextAffectedFile:function(fe,je){return tt(function(Ee){return Ee.getSemanticDiagnosticsOfNextAffectedFile&&Ee.getSemanticDiagnosticsOfNextAffectedFile(fe,je)})},emit:function(fe,je,Ee,We,$){if(fe||We)return tt(function(Ne){var me,Ze;return Ne.emit(fe,je,Ee,We,$||((Ze=(me=Fe.host).getCustomTransformers)===null||Ze===void 0?void 0:Ze.call(me,$e)))});if(or(g.SemanticDiagnostics,Ee),Jr===g.EmitBuildInfo)return Or(je,Ee);if(Jr===g.Emit)return ir(je,Ee,$)},done:lt}:{kind:de,project:$e,projectPath:Sr,buildOrder:pr,getCompilerOptions:function(){return He.options},getCurrentDirectory:function(){return Fe.currentDirectory},emit:function(fe,je){return Jr!==g.EmitBundle?Yr:ye(fe,je)},done:lt};function lt(fe,je,Ee){return or(g.Done,fe,je,Ee),m(Fe,Sr)}function tt(fe){return or(g.CreateProgram),ze&&fe(ze)}function Rt(fe){return tt(fe)||e.emptyArray}function cn(){var fe,je;if(e.Debug.assert(ze===void 0),Fe.options.dry){br(Fe,e.Diagnostics.A_non_dry_build_would_build_project_0,$e),Lr=p.Success,Jr=g.QueueReferencingProjects;return}if(Fe.options.verbose&&br(Fe,e.Diagnostics.Building_project_0,$e),He.fileNames.length===0){kr(Fe,Sr,e.getConfigFileParsingDiagnostics(He)),Lr=p.None,Jr=g.QueueReferencingProjects;return}var Ee=Fe.host,We=Fe.compilerHost;Fe.projectCompilerOptions=He.options,(fe=Fe.moduleResolutionCache)===null||fe===void 0||fe.update(He.options),(je=Fe.typeReferenceDirectiveResolutionCache)===null||je===void 0||je.update(He.options),ze=Ee.createProgram(He.fileNames,He.options,We,j(Fe,Sr,He),e.getConfigFileParsingDiagnostics(He),He.projectReferences),Fe.watch&&(Fe.lastCachedPackageJsonLookups.set(Sr,Fe.moduleResolutionCache&&e.map(Fe.moduleResolutionCache.getPackageJsonInfoCache().entries(),function($){var Ne=$[0],me=$[1];return[Fe.host.realpath&&me?I(Fe,Fe.host.realpath(Ne)):Ne,me]})),Fe.builderPrograms.set(Sr,ze)),Jr++}function bn(fe,je,Ee){var We;fe.length?(We=Ce(Fe,Sr,ze,He,fe,je,Ee),Lr=We.buildResult,Jr=We.step):Jr++}function In(fe){e.Debug.assertIsDefined(ze),bn(Gt(Gt(Gt(Gt([],ze.getConfigFileParsingDiagnostics(),!0),ze.getOptionsDiagnostics(fe),!0),ze.getGlobalDiagnostics(fe),!0),ze.getSyntacticDiagnostics(void 0,fe),!0),p.SyntaxErrors,\"Syntactic\")}function zn(fe){bn(e.Debug.checkDefined(ze).getSemanticDiagnostics(void 0,fe),p.TypeErrors,\"Semantic\")}function ir(fe,je,Ee){var We,$,Ne;e.Debug.assertIsDefined(ze),e.Debug.assert(Jr===g.Emit),ze.backupState();var me,Ze=function(zr){return(me||(me=[])).push(zr)},Cr=[],fr=e.emitFilesAndReportErrors(ze,Ze,void 0,void 0,function(zr,gt,vt){return Cr.push({name:zr,text:gt,writeByteOrderMark:vt})},je,!1,Ee||((Ne=($=Fe.host).getCustomTransformers)===null||Ne===void 0?void 0:Ne.call($,$e))).emitResult;if(me)return ze.restoreState(),We=Ce(Fe,Sr,ze,He,me,p.DeclarationEmitErrors,\"Declaration file\"),Lr=We.buildResult,Jr=We.step,{emitSkipped:!0,diagnostics:fr.diagnostics};var dr=Fe.host,et=Fe.compilerHost,yt=p.DeclarationOutputUnchanged,Vr=n,tr=!1,xr=e.createDiagnosticCollection(),Nr=new e.Map;return Cr.forEach(function(zr){var gt=zr.name,vt=zr.text,ut=zr.writeByteOrderMark,ht;!tr&&J(gt)&&(dr.fileExists(gt)&&Fe.readFileWithCache(gt)===vt?ht=dr.getModifiedTime(gt):(yt&=~p.DeclarationOutputUnchanged,tr=!0)),Nr.set(I(Fe,gt),gt),e.writeFile(fe?{writeFile:fe}:et,xr,gt,vt,ut),ht!==void 0&&(Vr=k(ht,Vr))}),sr(xr,Nr,Vr,tr,Cr.length?Cr[0].name:e.getFirstProjectOutput(He,!dr.useCaseSensitiveFileNames()),yt),fr}function Or(fe,je){e.Debug.assertIsDefined(ze),e.Debug.assert(Jr===g.EmitBuildInfo);var Ee=ze.emitBuildInfo(fe,je);return Ee.diagnostics.length&&(Ar(Fe,Ee.diagnostics),Fe.diagnostics.set(Sr,Gt(Gt([],Fe.diagnostics.get(Sr),!0),Ee.diagnostics,!0)),Lr=p.EmitErrors&Lr),Ee.emittedFiles&&Fe.write&&Ee.emittedFiles.forEach(function(We){return X(Fe,He,We)}),Se(Fe,ze,He),Jr=g.QueueReferencingProjects,Ee}function sr(fe,je,Ee,We,$,Ne){var me,Ze=fe.getDiagnostics();if(Ze.length)return me=Ce(Fe,Sr,ze,He,Ze,p.EmitErrors,\"Emit\"),Lr=me.buildResult,Jr=me.step,Ze;Fe.write&&je.forEach(function(fr){return X(Fe,He,fr)});var Cr=K(Fe,He,Ee,e.Diagnostics.Updating_unchanged_output_timestamps_of_project_0,je);return Fe.diagnostics.delete(Sr),Fe.projectStatus.set(Sr,{type:e.UpToDateStatusType.UpToDate,newestDeclarationFileContentChangedTime:We?f:Cr,oldestOutputFileName:$}),Se(Fe,ze,He),Jr=g.QueueReferencingProjects,Lr=Ne,Ze}function ye(fe,je){var Ee,We;if(e.Debug.assert(de===C.UpdateBundle),Fe.options.dry){br(Fe,e.Diagnostics.A_non_dry_build_would_update_output_of_project_0,$e),Lr=p.Success,Jr=g.QueueReferencingProjects;return}Fe.options.verbose&&br(Fe,e.Diagnostics.Updating_output_of_project_0,$e);var $=Fe.compilerHost;Fe.projectCompilerOptions=He.options;var Ne=e.emitUsingBuildInfo(He,$,function(fr){var dr=Z(Fe,fr.path);return q(Fe,dr,w(Fe,dr))},je||((We=(Ee=Fe.host).getCustomTransformers)===null||We===void 0?void 0:We.call(Ee,$e)));if(e.isString(Ne))return br(Fe,e.Diagnostics.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1,$e,Dr(Fe,Ne)),Jr=g.BuildInvalidatedProjectOfBundle,Yr=P(C.Build,Fe,$e,Sr,Pr,He,pr);e.Debug.assert(!!Ne.length);var me=e.createDiagnosticCollection(),Ze=new e.Map;Ne.forEach(function(fr){var dr=fr.name,et=fr.text,yt=fr.writeByteOrderMark;Ze.set(I(Fe,dr),dr),e.writeFile(fe?{writeFile:fe}:$,me,dr,et,yt)});var Cr=sr(me,Ze,n,!1,Ne[0].name,p.DeclarationOutputUnchanged);return{emitSkipped:!1,diagnostics:Cr}}function or(fe,je,Ee,We){for(;Jr<=fe&&Jr<g.Done;){var $=Jr;switch(Jr){case g.CreateProgram:cn();break;case g.SyntaxDiagnostics:In(je);break;case g.SemanticDiagnostics:zn(je);break;case g.Emit:ir(Ee,je,We);break;case g.EmitBuildInfo:Or(Ee,je);break;case g.EmitBundle:ye(Ee,We);break;case g.BuildInvalidatedProjectOfBundle:e.Debug.checkDefined(Yr).done(je,Ee,We),Jr=g.Done;break;case g.QueueReferencingProjects:ge(Fe,$e,Sr,Pr,He,pr,e.Debug.checkDefined(Lr)),Jr++;break;case g.Done:default:e.assertType(Jr)}e.Debug.assert(Jr>$)}}}function te(de,Fe,$e){var Sr=de.options;return Fe.type!==e.UpToDateStatusType.OutOfDateWithPrepend||Sr.force?!0:$e.fileNames.length===0||!!e.getConfigFileParsingDiagnostics($e).length||!e.isIncrementalCompilation($e.options)}function ue(de,Fe,$e){if(!!de.projectPendingBuild.size&&!h(Fe)){if(de.currentInvalidatedProject)return e.arrayIsEqualTo(de.currentInvalidatedProject.buildOrder,Fe)?de.currentInvalidatedProject:void 0;for(var Sr=de.options,Pr=de.projectPendingBuild,He=0;He<Fe.length;He++){var pr=Fe[He],Jr=w(de,pr),ze=de.projectPendingBuild.get(Jr);if(ze!==void 0){$e&&($e=!1,Hr(de,Fe));var Lr=q(de,pr,Jr);if(!Lr){Ke(de,Jr),Pr.delete(Jr);continue}ze===e.ConfigFileProgramReloadLevel.Full?(Ve(de,pr,Jr,Lr),_e(de,Jr,Lr),Le(de,pr,Jr,Lr),qe(de,pr,Jr,Lr),Xe(de,pr,Jr,Lr)):ze===e.ConfigFileProgramReloadLevel.Partial&&(Lr.fileNames=e.getFileNamesFromConfigSpecs(Lr.options.configFile.configFileSpecs,e.getDirectoryPath(pr),Lr.options,de.parseConfigFileHost),e.updateErrorForNoInputFiles(Lr.fileNames,pr,Lr.options.configFile.configFileSpecs,Lr.errors,e.canJsonReportNoInputFiles(Lr.raw)),qe(de,pr,Jr,Lr),Xe(de,pr,Jr,Lr));var Yr=U(de,Lr,Jr);if(gr(de,pr,Yr),!Sr.force){if(Yr.type===e.UpToDateStatusType.UpToDate){kr(de,Jr,e.getConfigFileParsingDiagnostics(Lr)),Pr.delete(Jr),Sr.dry&&br(de,e.Diagnostics.Project_0_is_up_to_date,pr);continue}if(Yr.type===e.UpToDateStatusType.UpToDateWithUpstreamTypes)return kr(de,Jr,e.getConfigFileParsingDiagnostics(Lr)),u(de,pr,Jr,Lr,Fe)}if(Yr.type===e.UpToDateStatusType.UpstreamBlocked){kr(de,Jr,e.getConfigFileParsingDiagnostics(Lr)),Pr.delete(Jr),Sr.verbose&&br(de,Yr.upstreamProjectBlocked?e.Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_was_not_built:e.Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_has_errors,pr,Yr.upstreamProjectName);continue}if(Yr.type===e.UpToDateStatusType.ContainerOnly){kr(de,Jr,e.getConfigFileParsingDiagnostics(Lr)),Pr.delete(Jr);continue}return P(te(de,Yr,Lr)?C.Build:C.UpdateBundle,de,pr,Jr,He,Lr,Fe)}}}}function X(de,Fe,$e){var Sr=de.write;Sr&&Fe.options.listEmittedFiles&&Sr(\"TSFILE: \".concat($e))}function j(de,Fe,$e){var Sr=de.options,Pr=de.builderPrograms,He=de.compilerHost;if(!Sr.force){var pr=Pr.get(Fe);return pr||e.readBuilderProgram($e.options,He)}}function Se(de,Fe,$e){Fe?(Fe&&de.write&&e.listFiles(Fe,de.write),de.host.afterProgramEmitAndDiagnostics&&de.host.afterProgramEmitAndDiagnostics(Fe),Fe.releaseProgram()):de.host.afterEmitBundle&&de.host.afterEmitBundle($e),de.projectCompilerOptions=de.baseCompilerOptions}function Ce(de,Fe,$e,Sr,Pr,He,pr){var Jr=!(He&p.SyntaxErrors)&&$e&&!e.outFile($e.getCompilerOptions());return kr(de,Fe,Pr),de.projectStatus.set(Fe,{type:e.UpToDateStatusType.Unbuildable,reason:\"\".concat(pr,\" errors\")}),Jr?{buildResult:He,step:g.EmitBuildInfo}:(Se(de,$e,Sr),{buildResult:He,step:g.QueueReferencingProjects})}function R(de,Fe,$e,Sr){var Pr=e.getModifiedTime(de.host,Fe);if($e<Pr)return{type:e.UpToDateStatusType.OutOfDateWithSelf,outOfDateOutputFileName:Sr,newerInputFileName:Fe}}function Y(de,Fe,$e){for(var Sr=!!de.options.force,Pr=void 0,He=n,pr=de.host,Jr=0,ze=Fe.fileNames;Jr<ze.length;Jr++){var Lr=ze[Jr];if(!pr.fileExists(Lr))return{type:e.UpToDateStatusType.Unbuildable,reason:\"\".concat(Lr,\" does not exist\")};if(!Sr){var Yr=e.getModifiedTime(pr,Lr);Yr>He&&(Pr=Lr,He=Yr)}}if(!Fe.fileNames.length&&!e.canJsonReportNoInputFiles(Fe.raw))return{type:e.UpToDateStatusType.ContainerOnly};var lt=e.getAllProjectOutputs(Fe,!pr.useCaseSensitiveFileNames()),tt=\"(none)\",Rt=f,cn=\"(none)\",bn=n,In,zn=n,ir=!1;if(!Sr)for(var Or=0,sr=lt;Or<sr.length;Or++){var ye=sr[Or];if(!pr.fileExists(ye)){In=ye;break}var or=e.getModifiedTime(pr,ye);if(or<Rt&&(Rt=or,tt=ye),or<He){ir=!0;break}if(or>bn&&(bn=or,cn=ye),J(ye)){var fe=e.getModifiedTime(pr,ye);zn=k(zn,fe)}}var je=!1,Ee=!1,We;if(Fe.projectReferences){de.projectStatus.set($e,{type:e.UpToDateStatusType.ComputingUpstream});for(var $=0,Ne=Fe.projectReferences;$<Ne.length;$++){var me=Ne[$];Ee=Ee||!!me.prepend;var Ze=e.resolveProjectReferencePath(me),Cr=w(de,Ze),fr=U(de,q(de,Ze,Cr),Cr);if(!(fr.type===e.UpToDateStatusType.ComputingUpstream||fr.type===e.UpToDateStatusType.ContainerOnly)){if(fr.type===e.UpToDateStatusType.Unbuildable||fr.type===e.UpToDateStatusType.UpstreamBlocked)return{type:e.UpToDateStatusType.UpstreamBlocked,upstreamProjectName:me.path,upstreamProjectBlocked:fr.type===e.UpToDateStatusType.UpstreamBlocked};if(fr.type!==e.UpToDateStatusType.UpToDate)return{type:e.UpToDateStatusType.UpstreamOutOfDate,upstreamProjectName:me.path};if(!Sr&&!In){if(fr.newestInputFileTime&&fr.newestInputFileTime<=Rt)continue;if(fr.newestDeclarationFileContentChangedTime&&fr.newestDeclarationFileContentChangedTime<=Rt){je=!0,We=me.path;continue}return e.Debug.assert(tt!==void 0,\"Should have an oldest output filename here\"),{type:e.UpToDateStatusType.OutOfDateWithUpstream,outOfDateOutputFileName:tt,newerProjectName:me.path}}}}}if(In!==void 0)return{type:e.UpToDateStatusType.OutputMissing,missingOutputFileName:In};if(ir)return{type:e.UpToDateStatusType.OutOfDateWithSelf,outOfDateOutputFileName:tt,newerInputFileName:Pr};var dr=R(de,Fe.options.configFilePath,Rt,tt);if(dr)return dr;var et=e.forEach(Fe.options.configFile.extendedSourceFiles||e.emptyArray,function(Nr){return R(de,Nr,Rt,tt)});if(et)return et;var yt=e.forEach(de.lastCachedPackageJsonLookups.get($e)||e.emptyArray,function(Nr){var zr=Nr[0];return R(de,zr,Rt,tt)});if(yt)return yt;if(!Sr&&!de.buildInfoChecked.has($e)){de.buildInfoChecked.set($e,!0);var Vr=e.getTsBuildInfoEmitOutputFilePath(Fe.options);if(Vr){var tr=de.readFileWithCache(Vr),xr=tr&&e.getBuildInfo(tr);if(xr&&(xr.bundle||xr.program)&&xr.version!==e.version)return{type:e.UpToDateStatusType.TsVersionOutputOfDate,version:xr.version}}}return Ee&&je?{type:e.UpToDateStatusType.OutOfDateWithPrepend,outOfDateOutputFileName:tt,newerProjectName:We}:{type:je?e.UpToDateStatusType.UpToDateWithUpstreamTypes:e.UpToDateStatusType.UpToDate,newestDeclarationFileContentChangedTime:zn,newestInputFileTime:He,newestOutputFileTime:bn,newestInputFileName:Pr,newestOutputFileName:cn,oldestOutputFileName:tt}}function U(de,Fe,$e){if(Fe===void 0)return{type:e.UpToDateStatusType.Unbuildable,reason:\"File deleted mid-build\"};var Sr=de.projectStatus.get($e);if(Sr!==void 0)return Sr;var Pr=Y(de,Fe,$e);return de.projectStatus.set($e,Pr),Pr}function K(de,Fe,$e,Sr,Pr){if(Fe.options.noEmit)return $e;var He=de.host,pr=e.getAllProjectOutputs(Fe,!He.useCaseSensitiveFileNames());if(!Pr||pr.length!==Pr.size)for(var Jr=!!de.options.verbose,ze=He.now?He.now():new Date,Lr=0,Yr=pr;Lr<Yr.length;Lr++){var lt=Yr[Lr];Pr&&Pr.has(I(de,lt))||(Jr&&(Jr=!1,br(de,Sr,Fe.options.configFilePath)),J(lt)&&($e=k($e,e.getModifiedTime(He,lt))),He.setModifiedTime(lt,ze))}return $e}function Te(de,Fe,$e){if(de.options.dry)return br(de,e.Diagnostics.A_non_dry_build_would_update_timestamps_for_output_of_project_0,Fe.options.configFilePath);var Sr=K(de,Fe,n,e.Diagnostics.Updating_output_timestamps_of_project_0);de.projectStatus.set($e,{type:e.UpToDateStatusType.UpToDate,newestDeclarationFileContentChangedTime:Sr,oldestOutputFileName:e.getFirstProjectOutput(Fe,!de.host.useCaseSensitiveFileNames())})}function ge(de,Fe,$e,Sr,Pr,He,pr){if(!(pr&p.AnyErrors)&&!!Pr.options.composite)for(var Jr=Sr+1;Jr<He.length;Jr++){var ze=He[Jr],Lr=w(de,ze);if(!de.projectPendingBuild.has(Lr)){var Yr=q(de,ze,Lr);if(!(!Yr||!Yr.projectReferences))for(var lt=0,tt=Yr.projectReferences;lt<tt.length;lt++){var Rt=tt[lt],cn=Z(de,Rt.path);if(w(de,cn)===$e){var bn=de.projectStatus.get(Lr);if(bn)switch(bn.type){case e.UpToDateStatusType.UpToDate:if(pr&p.DeclarationOutputUnchanged){Rt.prepend?de.projectStatus.set(Lr,{type:e.UpToDateStatusType.OutOfDateWithPrepend,outOfDateOutputFileName:bn.oldestOutputFileName,newerProjectName:Fe}):bn.type=e.UpToDateStatusType.UpToDateWithUpstreamTypes;break}case e.UpToDateStatusType.UpToDateWithUpstreamTypes:case e.UpToDateStatusType.OutOfDateWithPrepend:pr&p.DeclarationOutputUnchanged||de.projectStatus.set(Lr,{type:e.UpToDateStatusType.OutOfDateWithUpstream,outOfDateOutputFileName:bn.type===e.UpToDateStatusType.OutOfDateWithPrepend?bn.outOfDateOutputFileName:bn.oldestOutputFileName,newerProjectName:Fe});break;case e.UpToDateStatusType.UpstreamBlocked:w(de,Z(de,bn.upstreamProjectName))===$e&&N(de,Lr);break}y(de,Lr,e.ConfigFileProgramReloadLevel.None);break}}}}}function ke(de,Fe,$e,Sr,Pr,He){var pr=V(de,Fe,He);if(!pr)return e.ExitStatus.InvalidProject_OutputsSkipped;D(de,$e);for(var Jr=!0,ze=0;;){var Lr=ue(de,pr,Jr);if(!Lr)break;Jr=!1,Lr.done($e,Sr,Pr==null?void 0:Pr(Lr.project)),de.diagnostics.has(Lr.projectPath)||ze++}return T(de),Me(de,pr),De(de,pr),h(pr)?e.ExitStatus.ProjectReferenceCycle_OutputsSkipped:pr.some(function(Yr){return de.diagnostics.has(w(de,Yr))})?ze?e.ExitStatus.DiagnosticsPresent_OutputsGenerated:e.ExitStatus.DiagnosticsPresent_OutputsSkipped:e.ExitStatus.Success}function Pe(de,Fe,$e){var Sr=V(de,Fe,$e);if(!Sr)return e.ExitStatus.InvalidProject_OutputsSkipped;if(h(Sr))return Ar(de,Sr.circularDiagnostics),e.ExitStatus.ProjectReferenceCycle_OutputsSkipped;for(var Pr=de.options,He=de.host,pr=Pr.dry?[]:void 0,Jr=0,ze=Sr;Jr<ze.length;Jr++){var Lr=ze[Jr],Yr=w(de,Lr),lt=q(de,Lr,Yr);if(lt===void 0){Ke(de,Yr);continue}var tt=e.getAllProjectOutputs(lt,!He.useCaseSensitiveFileNames());if(!!tt.length)for(var Rt=new e.Set(lt.fileNames.map(function(zn){return I(de,zn)})),cn=0,bn=tt;cn<bn.length;cn++){var In=bn[cn];Rt.has(I(de,In))||He.fileExists(In)&&(pr?pr.push(In):(He.deleteFile(In),Ie(de,Yr,e.ConfigFileProgramReloadLevel.None)))}}return pr&&br(de,e.Diagnostics.A_non_dry_build_would_delete_the_following_files_Colon_0,pr.map(function(zn){return`\\r\n * `.concat(zn)}).join(\"\")),e.ExitStatus.Success}function Ie(de,Fe,$e){de.host.getParsedCommandLine&&$e===e.ConfigFileProgramReloadLevel.Partial&&($e=e.ConfigFileProgramReloadLevel.Full),$e===e.ConfigFileProgramReloadLevel.Full&&(de.configFileCache.delete(Fe),de.buildOrder=void 0),de.needsSummary=!0,N(de,Fe),y(de,Fe,$e),re(de)}function Ge(de,Fe,$e){de.reportFileChangeDetected=!0,Ie(de,Fe,$e),he(de)}function he(de){var Fe=de.hostWithWatch;!Fe.setTimeout||!Fe.clearTimeout||(de.timerToBuildInvalidatedProject&&Fe.clearTimeout(de.timerToBuildInvalidatedProject),de.timerToBuildInvalidatedProject=Fe.setTimeout(ve,250,de))}function ve(de){de.timerToBuildInvalidatedProject=void 0,de.reportFileChangeDetected&&(de.reportFileChangeDetected=!1,de.projectErrorsReported.clear(),lr(de,e.Diagnostics.File_change_detected_Starting_incremental_compilation));var Fe=F(de),$e=ue(de,Fe,!1);if($e&&($e.done(),de.projectPendingBuild.size)){de.watch&&!de.timerToBuildInvalidatedProject&&he(de);return}T(de),Me(de,Fe)}function Ve(de,Fe,$e,Sr){!de.watch||de.allWatchedConfigFiles.has($e)||de.allWatchedConfigFiles.set($e,de.watchFile(Fe,function(){Ge(de,$e,e.ConfigFileProgramReloadLevel.Full)},e.PollingInterval.High,Sr==null?void 0:Sr.watchOptions,e.WatchType.ConfigFile,Fe))}function _e(de,Fe,$e){e.updateSharedExtendedConfigFileWatcher(Fe,$e==null?void 0:$e.options,de.allWatchedExtendedConfigFiles,function(Sr,Pr){return de.watchFile(Sr,function(){var He;return(He=de.allWatchedExtendedConfigFiles.get(Pr))===null||He===void 0?void 0:He.projects.forEach(function(pr){return Ge(de,pr,e.ConfigFileProgramReloadLevel.Full)})},e.PollingInterval.High,$e==null?void 0:$e.watchOptions,e.WatchType.ExtendedConfigFile)},function(Sr){return I(de,Sr)})}function Le(de,Fe,$e,Sr){!de.watch||e.updateWatchingWildcardDirectories(d(de.allWatchedWildcardDirectories,$e),new e.Map(e.getEntries(Sr.wildcardDirectories)),function(Pr,He){return de.watchDirectory(Pr,function(pr){var Jr;e.isIgnoredFileFromWildCardWatching({watchedDirPath:I(de,Pr),fileOrDirectory:pr,fileOrDirectoryPath:I(de,pr),configFileName:Fe,currentDirectory:de.currentDirectory,options:Sr.options,program:de.builderPrograms.get($e)||((Jr=O(de,$e))===null||Jr===void 0?void 0:Jr.fileNames),useCaseSensitiveFileNames:de.parseConfigFileHost.useCaseSensitiveFileNames,writeLog:function(ze){return de.writeLog(ze)},toPath:function(ze){return I(de,ze)}})||Ge(de,$e,e.ConfigFileProgramReloadLevel.Partial)},He,Sr==null?void 0:Sr.watchOptions,e.WatchType.WildcardDirectory,Fe)})}function qe(de,Fe,$e,Sr){!de.watch||e.mutateMap(d(de.allWatchedInputFiles,$e),e.arrayToMap(Sr.fileNames,function(Pr){return I(de,Pr)}),{createNewValue:function(Pr,He){return de.watchFile(He,function(){return Ge(de,$e,e.ConfigFileProgramReloadLevel.None)},e.PollingInterval.Low,Sr==null?void 0:Sr.watchOptions,e.WatchType.SourceFile,Fe)},onDeleteValue:e.closeFileWatcher})}function Xe(de,Fe,$e,Sr){!de.watch||!de.lastCachedPackageJsonLookups||e.mutateMap(d(de.allWatchedPackageJsonFiles,$e),new e.Map(de.lastCachedPackageJsonLookups.get($e)),{createNewValue:function(Pr,He){return de.watchFile(Pr,function(){return Ge(de,$e,e.ConfigFileProgramReloadLevel.Full)},e.PollingInterval.High,Sr==null?void 0:Sr.watchOptions,e.WatchType.PackageJson,Fe)},onDeleteValue:e.closeFileWatcher})}function De(de,Fe){if(!!de.watchAllProjectsPending){de.watchAllProjectsPending=!1;for(var $e=0,Sr=v(Fe);$e<Sr.length;$e++){var Pr=Sr[$e],He=w(de,Pr),pr=q(de,Pr,He);Ve(de,Pr,He,pr),_e(de,He,pr),pr&&(Le(de,Pr,He,pr),qe(de,Pr,He,pr),Xe(de,Pr,He,pr))}}}function Ae(de){e.clearMap(de.allWatchedConfigFiles,e.closeFileWatcher),e.clearMap(de.allWatchedExtendedConfigFiles,e.closeFileWatcherOf),e.clearMap(de.allWatchedWildcardDirectories,function(Fe){return e.clearMap(Fe,e.closeFileWatcherOf)}),e.clearMap(de.allWatchedInputFiles,function(Fe){return e.clearMap(Fe,e.closeFileWatcher)}),e.clearMap(de.allWatchedPackageJsonFiles,function(Fe){return e.clearMap(Fe,e.closeFileWatcher)})}function Ye(de,Fe,$e,Sr,Pr){var He=H(de,Fe,$e,Sr,Pr);return{build:function(pr,Jr,ze,Lr){return ke(He,pr,Jr,ze,Lr)},clean:function(pr){return Pe(He,pr)},buildReferences:function(pr,Jr,ze,Lr){return ke(He,pr,Jr,ze,Lr,!0)},cleanReferences:function(pr){return Pe(He,pr,!0)},getNextInvalidatedProject:function(pr){return D(He,pr),ue(He,F(He),!1)},getBuildOrder:function(){return F(He)},getUpToDateStatusOfProject:function(pr){var Jr=Z(He,pr),ze=w(He,Jr);return U(He,q(He,Jr,ze),ze)},invalidateProject:function(pr,Jr){return Ie(He,pr,Jr||e.ConfigFileProgramReloadLevel.None)},buildNextInvalidatedProject:function(){return ve(He)},getAllParsedConfigs:function(){return e.arrayFrom(e.mapDefinedIterator(He.configFileCache.values(),function(pr){return x(pr)?pr:void 0}))},close:function(){return Ae(He)}}}function Dr(de,Fe){return e.convertToRelativePath(Fe,de.currentDirectory,function($e){return de.getCanonicalFileName($e)})}function br(de,Fe){for(var $e=[],Sr=2;Sr<arguments.length;Sr++)$e[Sr-2]=arguments[Sr];de.host.reportSolutionBuilderStatus(e.createCompilerDiagnostic.apply(void 0,Gt([Fe],$e,!1)))}function lr(de,Fe){for(var $e,Sr,Pr=[],He=2;He<arguments.length;He++)Pr[He-2]=arguments[He];(Sr=($e=de.hostWithWatch).onWatchStatusChange)===null||Sr===void 0||Sr.call($e,e.createCompilerDiagnostic.apply(void 0,Gt([Fe],Pr,!1)),de.host.getNewLine(),de.baseCompilerOptions)}function Ar(de,Fe){var $e=de.host;Fe.forEach(function(Sr){return $e.reportDiagnostic(Sr)})}function kr(de,Fe,$e){Ar(de,$e),de.projectErrorsReported.set(Fe,!0),$e.length&&de.diagnostics.set(Fe,$e)}function Ke(de,Fe){kr(de,Fe,[de.configFileCache.get(Fe)])}function Me(de,Fe){if(!!de.needsSummary){de.needsSummary=!1;var $e=de.watch||!!de.host.reportErrorSummary,Sr=de.diagnostics,Pr=0;h(Fe)?(Hr(de,Fe.buildOrder),Ar(de,Fe.circularDiagnostics),$e&&(Pr+=e.getErrorCountForSummary(Fe.circularDiagnostics))):(Fe.forEach(function(He){var pr=w(de,He);de.projectErrorsReported.has(pr)||Ar(de,Sr.get(pr)||e.emptyArray)}),$e&&Sr.forEach(function(He){return Pr+=e.getErrorCountForSummary(He)})),de.watch?lr(de,e.getWatchErrorSummaryDiagnosticMessage(Pr),Pr):de.host.reportErrorSummary&&de.host.reportErrorSummary(Pr)}}function Hr(de,Fe){de.options.verbose&&br(de,e.Diagnostics.Projects_in_this_build_Colon_0,Fe.map(function($e){return`\\r\n    * `+Dr(de,$e)}).join(\"\"))}function ur(de,Fe,$e){if(de.options.force&&($e.type===e.UpToDateStatusType.UpToDate||$e.type===e.UpToDateStatusType.UpToDateWithUpstreamTypes))return br(de,e.Diagnostics.Project_0_is_being_forcibly_rebuilt,Dr(de,Fe));switch($e.type){case e.UpToDateStatusType.OutOfDateWithSelf:return br(de,e.Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2,Dr(de,Fe),Dr(de,$e.outOfDateOutputFileName),Dr(de,$e.newerInputFileName));case e.UpToDateStatusType.OutOfDateWithUpstream:return br(de,e.Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2,Dr(de,Fe),Dr(de,$e.outOfDateOutputFileName),Dr(de,$e.newerProjectName));case e.UpToDateStatusType.OutputMissing:return br(de,e.Diagnostics.Project_0_is_out_of_date_because_output_file_1_does_not_exist,Dr(de,Fe),Dr(de,$e.missingOutputFileName));case e.UpToDateStatusType.UpToDate:if($e.newestInputFileTime!==void 0)return br(de,e.Diagnostics.Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2,Dr(de,Fe),Dr(de,$e.newestInputFileName||\"\"),Dr(de,$e.oldestOutputFileName||\"\"));break;case e.UpToDateStatusType.OutOfDateWithPrepend:return br(de,e.Diagnostics.Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed,Dr(de,Fe),Dr(de,$e.newerProjectName));case e.UpToDateStatusType.UpToDateWithUpstreamTypes:return br(de,e.Diagnostics.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,Dr(de,Fe));case e.UpToDateStatusType.UpstreamOutOfDate:return br(de,e.Diagnostics.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date,Dr(de,Fe),Dr(de,$e.upstreamProjectName));case e.UpToDateStatusType.UpstreamBlocked:return br(de,$e.upstreamProjectBlocked?e.Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_was_not_built:e.Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_has_errors,Dr(de,Fe),Dr(de,$e.upstreamProjectName));case e.UpToDateStatusType.Unbuildable:return br(de,e.Diagnostics.Failed_to_parse_file_0_Colon_1,Dr(de,Fe),$e.reason);case e.UpToDateStatusType.TsVersionOutputOfDate:return br(de,e.Diagnostics.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,Dr(de,Fe),$e.version,e.version);case e.UpToDateStatusType.ContainerOnly:case e.UpToDateStatusType.ComputingUpstream:break;default:e.assertType($e)}}function gr(de,Fe,$e){de.options.verbose&&ur(de,Fe,$e)}}(jr||(jr={})),function(e){(function(n){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\",function(d){d.GlobalCacheLocation=\"--globalTypingsCacheLocation\",d.LogFile=\"--logFile\",d.EnableTelemetry=\"--enableTelemetry\",d.TypingSafeListLocation=\"--typingSafeListLocation\",d.TypesMapLocation=\"--typesMapLocation\",d.NpmLocation=\"--npmLocation\",d.ValidateDefaultNpmLocation=\"--validateDefaultNpmLocation\"}(n.Arguments||(n.Arguments={}));function f(d){return e.sys.args.indexOf(d)>=0}n.hasArgument=f;function p(d){var k=e.sys.args.indexOf(d);return k>=0&&k<e.sys.args.length-1?e.sys.args[k+1]:void 0}n.findArgument=p;function a(){var d=new Date;return\"\".concat(e.padLeft(d.getHours().toString(),2,\"0\"),\":\").concat(e.padLeft(d.getMinutes().toString(),2,\"0\"),\":\").concat(e.padLeft(d.getSeconds().toString(),2,\"0\"),\".\").concat(e.padLeft(d.getMilliseconds().toString(),3,\"0\"))}n.nowString=a})(e.server||(e.server={}))}(jr||(jr={})),function(e){(function(n){function f(b,M){var S=new e.Version(e.getProperty(M,\"ts\".concat(e.versionMajorMinor))||e.getProperty(M,\"latest\"));return S.compareTo(b.version)<=0}n.isTypingUpToDate=f;var p=[\"assert\",\"assert/strict\",\"async_hooks\",\"buffer\",\"child_process\",\"cluster\",\"console\",\"constants\",\"crypto\",\"dgram\",\"diagnostics_channel\",\"dns\",\"dns/promises\",\"domain\",\"events\",\"fs\",\"fs/promises\",\"http\",\"https\",\"http2\",\"inspector\",\"module\",\"net\",\"os\",\"path\",\"perf_hooks\",\"process\",\"punycode\",\"querystring\",\"readline\",\"repl\",\"stream\",\"stream/promises\",\"string_decoder\",\"timers\",\"timers/promises\",\"tls\",\"trace_events\",\"tty\",\"url\",\"util\",\"util/types\",\"v8\",\"vm\",\"wasi\",\"worker_threads\",\"zlib\"];n.prefixedNodeCoreModuleList=p.map(function(b){return\"node:\".concat(b)}),n.nodeCoreModuleList=Gt(Gt([],p,!0),n.prefixedNodeCoreModuleList,!0),n.nodeCoreModules=new e.Set(n.nodeCoreModuleList);function a(b){return n.nodeCoreModules.has(b)?\"node\":b}n.nonRelativeModuleNameForTypingCache=a;function d(b,M){var S=e.readConfigFile(M,function(B){return b.readFile(B)});return new e.Map(e.getEntries(S.config))}n.loadSafeList=d;function k(b,M){var S=e.readConfigFile(M,function(B){return b.readFile(B)});if(S.config)return new e.Map(e.getEntries(S.config.simpleMap))}n.loadTypesMap=k;function J(b,M,S,B,H,I,w,x,O){if(!w||!w.enable)return{cachedTypingPaths:[],newTypingNames:[],filesToWatch:[]};var q=new e.Map;S=e.mapDefined(S,function(ue){var X=e.normalizePath(ue);if(e.hasJSFileExtension(X))return X});var Z=[];w.include&&u(w.include,\"Explicitly included types\");var ne=w.exclude||[],F=new e.Set(S.map(e.getDirectoryPath));if(F.add(B),F.forEach(function(ue){var X=e.combinePaths(ue,\"package.json\");g(X,Z);var j=e.combinePaths(ue,\"bower.json\");g(j,Z);var Se=e.combinePaths(ue,\"bower_components\");te(Se,Z);var Ce=e.combinePaths(ue,\"node_modules\");te(Ce,Z)}),w.disableFilenameBasedTypeAcquisition||P(S),x){var Q=e.deduplicate(x.map(a),e.equateStringsCaseSensitive,e.compareStringsCaseSensitive);u(Q,\"Inferred typings from unresolved imports\")}I.forEach(function(ue,X){var j=O.get(X);q.has(X)&&q.get(X)===void 0&&j!==void 0&&f(ue,j)&&q.set(X,ue.typingLocation)});for(var V=0,re=ne;V<re.length;V++){var T=re[V],N=q.delete(T);N&&M&&M(\"Typing for \".concat(T,\" is in exclude list, will be ignored.\"))}var y=[],D=[];q.forEach(function(ue,X){ue!==void 0?D.push(ue):y.push(X)});var C={cachedTypingPaths:D,newTypingNames:y,filesToWatch:Z};return M&&M(\"Result: \".concat(JSON.stringify(C))),C;function m(ue){q.has(ue)||q.set(ue,void 0)}function u(ue,X){M&&M(\"\".concat(X,\": \").concat(JSON.stringify(ue))),e.forEach(ue,m)}function g(ue,X){if(!!b.fileExists(ue)){X.push(ue);var j=e.readConfigFile(ue,function(Ce){return b.readFile(Ce)}).config,Se=e.flatMap([j.dependencies,j.devDependencies,j.optionalDependencies,j.peerDependencies],e.getOwnKeys);u(Se,\"Typing names in '\".concat(ue,\"' dependencies\"))}}function P(ue){var X=e.mapDefined(ue,function(Se){if(!!e.hasJSFileExtension(Se)){var Ce=e.removeFileExtension(e.getBaseFileName(Se.toLowerCase())),R=e.removeMinAndVersionNumbers(Ce);return H.get(R)}});X.length&&u(X,\"Inferred typings from file names\");var j=e.some(ue,function(Se){return e.fileExtensionIs(Se,\".jsx\")});j&&(M&&M(\"Inferred 'react' typings due to presence of '.jsx' extension\"),m(\"react\"))}function te(ue,X){if(X.push(ue),!!b.directoryExists(ue)){var j=b.readDirectory(ue,[\".json\"],void 0,void 0,2);M&&M(\"Searching for typing names in \".concat(ue,\"; all files: \").concat(JSON.stringify(j)));for(var Se=[],Ce=0,R=j;Ce<R.length;Ce++){var Y=R[Ce],U=e.normalizePath(Y),K=e.getBaseFileName(U);if(!(K!==\"package.json\"&&K!==\"bower.json\")){var Te=e.readConfigFile(U,function(Ie){return b.readFile(Ie)}),ge=Te.config;if(!(K===\"package.json\"&&ge._requiredBy&&e.filter(ge._requiredBy,function(Ie){return Ie[0]===\"#\"||Ie===\"/\"}).length===0)&&!!ge.name){var ke=ge.types||ge.typings;if(ke){var Pe=e.getNormalizedAbsolutePath(ke,e.getDirectoryPath(U));M&&M(\"    Package '\".concat(ge.name,\"' provides its own types.\")),q.set(ge.name,Pe)}else Se.push(ge.name)}}}u(Se,\"    Found package names\")}}}n.discoverTypings=J,function(b){b[b.Ok=0]=\"Ok\",b[b.EmptyName=1]=\"EmptyName\",b[b.NameTooLong=2]=\"NameTooLong\",b[b.NameStartsWithDot=3]=\"NameStartsWithDot\",b[b.NameStartsWithUnderscore=4]=\"NameStartsWithUnderscore\",b[b.NameContainsNonURISafeCharacters=5]=\"NameContainsNonURISafeCharacters\"}(n.NameValidationResult||(n.NameValidationResult={}));var h=214;function v(b){return A(b,!0)}n.validatePackageName=v;function A(b,M){if(!b)return 1;if(b.length>h)return 2;if(b.charCodeAt(0)===46)return 3;if(b.charCodeAt(0)===95)return 4;if(M){var S=/^@([^/]+)\\/([^/]+)$/.exec(b);if(S){var B=A(S[1],!1);if(B!==0)return{name:S[1],isScopeName:!0,result:B};var H=A(S[2],!1);return H!==0?{name:S[2],isScopeName:!1,result:H}:0}}return encodeURIComponent(b)!==b?5:0}function z(b,M){return typeof b==\"object\"?ie(M,b.result,b.name,b.isScopeName):ie(M,b,M,!1)}n.renderPackageNameValidationFailure=z;function ie(b,M,S,B){var H=B?\"Scope\":\"Package\";switch(M){case 1:return\"'\".concat(b,\"':: \").concat(H,\" name '\").concat(S,\"' cannot be empty\");case 2:return\"'\".concat(b,\"':: \").concat(H,\" name '\").concat(S,\"' should be less than \").concat(h,\" characters\");case 3:return\"'\".concat(b,\"':: \").concat(H,\" name '\").concat(S,\"' cannot start with '.'\");case 4:return\"'\".concat(b,\"':: \").concat(H,\" name '\").concat(S,\"' cannot start with '_'\");case 5:return\"'\".concat(b,\"':: \").concat(H,\" name '\").concat(S,\"' contains non URI safe characters\");case 0:return e.Debug.fail();default:throw e.Debug.assertNever(M)}}})(e.JsTyping||(e.JsTyping={}))}(jr||(jr={})),function(e){(function(a){var d=function(){function J(h){this.text=h}return J.prototype.getText=function(h,v){return h===0&&v===this.text.length?this.text:this.text.substring(h,v)},J.prototype.getLength=function(){return this.text.length},J.prototype.getChangeRange=function(){},J}();function k(J){return new d(J)}a.fromString=k})(e.ScriptSnapshot||(e.ScriptSnapshot={})),function(a){a[a.Dependencies=1]=\"Dependencies\",a[a.DevDependencies=2]=\"DevDependencies\",a[a.PeerDependencies=4]=\"PeerDependencies\",a[a.OptionalDependencies=8]=\"OptionalDependencies\",a[a.All=15]=\"All\"}(e.PackageJsonDependencyGroup||(e.PackageJsonDependencyGroup={})),function(a){a[a.Off=0]=\"Off\",a[a.On=1]=\"On\",a[a.Auto=2]=\"Auto\"}(e.PackageJsonAutoImportPreference||(e.PackageJsonAutoImportPreference={})),function(a){a[a.Semantic=0]=\"Semantic\",a[a.PartialSemantic=1]=\"PartialSemantic\",a[a.Syntactic=2]=\"Syntactic\"}(e.LanguageServiceMode||(e.LanguageServiceMode={})),e.emptyOptions={},function(a){a.Original=\"original\",a.TwentyTwenty=\"2020\"}(e.SemanticClassificationFormat||(e.SemanticClassificationFormat={})),function(a){a[a.Invoked=1]=\"Invoked\",a[a.TriggerCharacter=2]=\"TriggerCharacter\",a[a.TriggerForIncompleteCompletions=3]=\"TriggerForIncompleteCompletions\"}(e.CompletionTriggerKind||(e.CompletionTriggerKind={})),function(a){a.Type=\"Type\",a.Parameter=\"Parameter\",a.Enum=\"Enum\"}(e.InlayHintKind||(e.InlayHintKind={})),function(a){a.none=\"none\",a.definition=\"definition\",a.reference=\"reference\",a.writtenReference=\"writtenReference\"}(e.HighlightSpanKind||(e.HighlightSpanKind={}));var n;(function(a){a[a.None=0]=\"None\",a[a.Block=1]=\"Block\",a[a.Smart=2]=\"Smart\"})(n=e.IndentStyle||(e.IndentStyle={}));var f;(function(a){a.Ignore=\"ignore\",a.Insert=\"insert\",a.Remove=\"remove\"})(f=e.SemicolonPreference||(e.SemicolonPreference={}));function p(a){return{indentSize:4,tabSize:4,newLineCharacter:a||`\n`,convertTabsToSpaces:!0,indentStyle:n.Smart,insertSpaceAfterConstructor:!1,insertSpaceAfterCommaDelimiter:!0,insertSpaceAfterSemicolonInForStatements:!0,insertSpaceBeforeAndAfterBinaryOperators:!0,insertSpaceAfterKeywordsInControlFlowStatements:!0,insertSpaceAfterFunctionKeywordForAnonymousFunctions:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces:!0,insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces:!1,insertSpaceBeforeFunctionParenthesis:!1,placeOpenBraceOnNewLineForFunctions:!1,placeOpenBraceOnNewLineForControlBlocks:!1,semicolons:f.Ignore,trimTrailingWhitespace:!0}}e.getDefaultFormatCodeSettings=p,e.testFormatSettings=p(`\n`),function(a){a[a.aliasName=0]=\"aliasName\",a[a.className=1]=\"className\",a[a.enumName=2]=\"enumName\",a[a.fieldName=3]=\"fieldName\",a[a.interfaceName=4]=\"interfaceName\",a[a.keyword=5]=\"keyword\",a[a.lineBreak=6]=\"lineBreak\",a[a.numericLiteral=7]=\"numericLiteral\",a[a.stringLiteral=8]=\"stringLiteral\",a[a.localName=9]=\"localName\",a[a.methodName=10]=\"methodName\",a[a.moduleName=11]=\"moduleName\",a[a.operator=12]=\"operator\",a[a.parameterName=13]=\"parameterName\",a[a.propertyName=14]=\"propertyName\",a[a.punctuation=15]=\"punctuation\",a[a.space=16]=\"space\",a[a.text=17]=\"text\",a[a.typeParameterName=18]=\"typeParameterName\",a[a.enumMemberName=19]=\"enumMemberName\",a[a.functionName=20]=\"functionName\",a[a.regularExpressionLiteral=21]=\"regularExpressionLiteral\",a[a.link=22]=\"link\",a[a.linkName=23]=\"linkName\",a[a.linkText=24]=\"linkText\"}(e.SymbolDisplayPartKind||(e.SymbolDisplayPartKind={})),function(a){a.Comment=\"comment\",a.Region=\"region\",a.Code=\"code\",a.Imports=\"imports\"}(e.OutliningSpanKind||(e.OutliningSpanKind={})),function(a){a[a.JavaScript=0]=\"JavaScript\",a[a.SourceMap=1]=\"SourceMap\",a[a.Declaration=2]=\"Declaration\"}(e.OutputFileType||(e.OutputFileType={})),function(a){a[a.None=0]=\"None\",a[a.InMultiLineCommentTrivia=1]=\"InMultiLineCommentTrivia\",a[a.InSingleQuoteStringLiteral=2]=\"InSingleQuoteStringLiteral\",a[a.InDoubleQuoteStringLiteral=3]=\"InDoubleQuoteStringLiteral\",a[a.InTemplateHeadOrNoSubstitutionTemplate=4]=\"InTemplateHeadOrNoSubstitutionTemplate\",a[a.InTemplateMiddleOrTail=5]=\"InTemplateMiddleOrTail\",a[a.InTemplateSubstitutionPosition=6]=\"InTemplateSubstitutionPosition\"}(e.EndOfLineState||(e.EndOfLineState={})),function(a){a[a.Punctuation=0]=\"Punctuation\",a[a.Keyword=1]=\"Keyword\",a[a.Operator=2]=\"Operator\",a[a.Comment=3]=\"Comment\",a[a.Whitespace=4]=\"Whitespace\",a[a.Identifier=5]=\"Identifier\",a[a.NumberLiteral=6]=\"NumberLiteral\",a[a.BigIntLiteral=7]=\"BigIntLiteral\",a[a.StringLiteral=8]=\"StringLiteral\",a[a.RegExpLiteral=9]=\"RegExpLiteral\"}(e.TokenClass||(e.TokenClass={})),function(a){a.unknown=\"\",a.warning=\"warning\",a.keyword=\"keyword\",a.scriptElement=\"script\",a.moduleElement=\"module\",a.classElement=\"class\",a.localClassElement=\"local class\",a.interfaceElement=\"interface\",a.typeElement=\"type\",a.enumElement=\"enum\",a.enumMemberElement=\"enum member\",a.variableElement=\"var\",a.localVariableElement=\"local var\",a.functionElement=\"function\",a.localFunctionElement=\"local function\",a.memberFunctionElement=\"method\",a.memberGetAccessorElement=\"getter\",a.memberSetAccessorElement=\"setter\",a.memberVariableElement=\"property\",a.constructorImplementationElement=\"constructor\",a.callSignatureElement=\"call\",a.indexSignatureElement=\"index\",a.constructSignatureElement=\"construct\",a.parameterElement=\"parameter\",a.typeParameterElement=\"type parameter\",a.primitiveType=\"primitive type\",a.label=\"label\",a.alias=\"alias\",a.constElement=\"const\",a.letElement=\"let\",a.directory=\"directory\",a.externalModuleName=\"external module name\",a.jsxAttribute=\"JSX attribute\",a.string=\"string\",a.link=\"link\",a.linkName=\"link name\",a.linkText=\"link text\"}(e.ScriptElementKind||(e.ScriptElementKind={})),function(a){a.none=\"\",a.publicMemberModifier=\"public\",a.privateMemberModifier=\"private\",a.protectedMemberModifier=\"protected\",a.exportedModifier=\"export\",a.ambientModifier=\"declare\",a.staticModifier=\"static\",a.abstractModifier=\"abstract\",a.optionalModifier=\"optional\",a.deprecatedModifier=\"deprecated\",a.dtsModifier=\".d.ts\",a.tsModifier=\".ts\",a.tsxModifier=\".tsx\",a.jsModifier=\".js\",a.jsxModifier=\".jsx\",a.jsonModifier=\".json\",a.dmtsModifier=\".d.mts\",a.mtsModifier=\".mts\",a.mjsModifier=\".mjs\",a.dctsModifier=\".d.cts\",a.ctsModifier=\".cts\",a.cjsModifier=\".cjs\"}(e.ScriptElementKindModifier||(e.ScriptElementKindModifier={})),function(a){a.comment=\"comment\",a.identifier=\"identifier\",a.keyword=\"keyword\",a.numericLiteral=\"number\",a.bigintLiteral=\"bigint\",a.operator=\"operator\",a.stringLiteral=\"string\",a.whiteSpace=\"whitespace\",a.text=\"text\",a.punctuation=\"punctuation\",a.className=\"class name\",a.enumName=\"enum name\",a.interfaceName=\"interface name\",a.moduleName=\"module name\",a.typeParameterName=\"type parameter name\",a.typeAliasName=\"type alias name\",a.parameterName=\"parameter name\",a.docCommentTagName=\"doc comment tag name\",a.jsxOpenTagName=\"jsx open tag name\",a.jsxCloseTagName=\"jsx close tag name\",a.jsxSelfClosingTagName=\"jsx self closing tag name\",a.jsxAttribute=\"jsx attribute\",a.jsxText=\"jsx text\",a.jsxAttributeStringLiteralValue=\"jsx attribute string literal value\"}(e.ClassificationTypeNames||(e.ClassificationTypeNames={})),function(a){a[a.comment=1]=\"comment\",a[a.identifier=2]=\"identifier\",a[a.keyword=3]=\"keyword\",a[a.numericLiteral=4]=\"numericLiteral\",a[a.operator=5]=\"operator\",a[a.stringLiteral=6]=\"stringLiteral\",a[a.regularExpressionLiteral=7]=\"regularExpressionLiteral\",a[a.whiteSpace=8]=\"whiteSpace\",a[a.text=9]=\"text\",a[a.punctuation=10]=\"punctuation\",a[a.className=11]=\"className\",a[a.enumName=12]=\"enumName\",a[a.interfaceName=13]=\"interfaceName\",a[a.moduleName=14]=\"moduleName\",a[a.typeParameterName=15]=\"typeParameterName\",a[a.typeAliasName=16]=\"typeAliasName\",a[a.parameterName=17]=\"parameterName\",a[a.docCommentTagName=18]=\"docCommentTagName\",a[a.jsxOpenTagName=19]=\"jsxOpenTagName\",a[a.jsxCloseTagName=20]=\"jsxCloseTagName\",a[a.jsxSelfClosingTagName=21]=\"jsxSelfClosingTagName\",a[a.jsxAttribute=22]=\"jsxAttribute\",a[a.jsxText=23]=\"jsxText\",a[a.jsxAttributeStringLiteralValue=24]=\"jsxAttributeStringLiteralValue\",a[a.bigintLiteral=25]=\"bigintLiteral\"}(e.ClassificationType||(e.ClassificationType={}))}(jr||(jr={})),function(e){e.scanner=e.createScanner(99,!0),function(le){le[le.None=0]=\"None\",le[le.Value=1]=\"Value\",le[le.Type=2]=\"Type\",le[le.Namespace=4]=\"Namespace\",le[le.All=7]=\"All\"}(e.SemanticMeaning||(e.SemanticMeaning={}));function n(le){switch(le.kind){case 253:return e.isInJSFile(le)&&e.getJSDocEnumTag(le)?7:1;case 163:case 202:case 166:case 165:case 294:case 295:case 168:case 167:case 170:case 171:case 172:case 255:case 212:case 213:case 291:case 284:return 1;case 162:case 257:case 258:case 181:return 2;case 343:return le.name===void 0?3:2;case 297:case 256:return 3;case 260:return e.isAmbientModule(le)||e.getModuleInstanceState(le)===1?5:4;case 259:case 268:case 269:case 264:case 265:case 270:case 271:return 7;case 303:return 5}return 7}e.getMeaningFromDeclaration=n;function f(le){le=Ar(le);var rr=le.parent;if(le.kind===303)return 1;if(e.isExportAssignment(rr)||e.isExportSpecifier(rr)||e.isExternalModuleReference(rr)||e.isImportSpecifier(rr)||e.isImportClause(rr)||e.isImportEqualsDeclaration(rr)&&le===rr.name){for(var yr=rr;yr;){if(e.isImportEqualsDeclaration(yr)||e.isImportClause(yr)||e.isExportDeclaration(yr))return yr.isTypeOnly?2:7;yr=yr.parent}return 7}else return a(le)?p(le):e.isDeclarationName(le)?n(rr):e.isEntityName(le)&&e.findAncestor(le,e.or(e.isJSDocNameReference,e.isJSDocLinkLike,e.isJSDocMemberName))?7:h(le)?2:d(le)?4:e.isTypeParameterDeclaration(rr)?(e.Debug.assert(e.isJSDocTemplateTag(rr.parent)),2):e.isLiteralTypeNode(rr)?3:1}e.getMeaningFromLocation=f;function p(le){var rr=le.kind===160?le:e.isQualifiedName(le.parent)&&le.parent.right===le?le.parent:void 0;return rr&&rr.parent.kind===264?7:4}function a(le){for(;le.parent.kind===160;)le=le.parent;return e.isInternalModuleImportEqualsDeclaration(le.parent)&&le.parent.moduleReference===le}e.isInRightSideOfInternalImportEqualsDeclaration=a;function d(le){return k(le)||J(le)}function k(le){var rr=le,yr=!0;if(rr.parent.kind===160){for(;rr.parent&&rr.parent.kind===160;)rr=rr.parent;yr=rr.right===le}return rr.parent.kind===177&&!yr}function J(le){var rr=le,yr=!0;if(rr.parent.kind===205){for(;rr.parent&&rr.parent.kind===205;)rr=rr.parent;yr=rr.name===le}if(!yr&&rr.parent.kind===227&&rr.parent.parent.kind===290){var ct=rr.parent.parent.parent;return ct.kind===256&&rr.parent.parent.token===117||ct.kind===257&&rr.parent.parent.token===94}return!1}function h(le){switch(e.isRightSideOfQualifiedNameOrPropertyAccess(le)&&(le=le.parent),le.kind){case 108:return!e.isExpressionNode(le);case 191:return!0}switch(le.parent.kind){case 177:return!0;case 199:return!le.parent.isTypeOf;case 227:return!e.isExpressionWithTypeArgumentsInClassExtendsClause(le.parent)}return!1}function v(le,rr,yr){return rr===void 0&&(rr=!1),yr===void 0&&(yr=!1),I(le,e.isCallExpression,S,rr,yr)}e.isCallExpressionTarget=v;function A(le,rr,yr){return rr===void 0&&(rr=!1),yr===void 0&&(yr=!1),I(le,e.isNewExpression,S,rr,yr)}e.isNewExpressionTarget=A;function z(le,rr,yr){return rr===void 0&&(rr=!1),yr===void 0&&(yr=!1),I(le,e.isCallOrNewExpression,S,rr,yr)}e.isCallOrNewExpressionTarget=z;function ie(le,rr,yr){return rr===void 0&&(rr=!1),yr===void 0&&(yr=!1),I(le,e.isTaggedTemplateExpression,B,rr,yr)}e.isTaggedTemplateTag=ie;function b(le,rr,yr){return rr===void 0&&(rr=!1),yr===void 0&&(yr=!1),I(le,e.isDecorator,S,rr,yr)}e.isDecoratorTarget=b;function M(le,rr,yr){return rr===void 0&&(rr=!1),yr===void 0&&(yr=!1),I(le,e.isJsxOpeningLikeElement,H,rr,yr)}e.isJsxOpeningLikeElementTagName=M;function S(le){return le.expression}function B(le){return le.tag}function H(le){return le.tagName}function I(le,rr,yr,ct,jt){var yn=ct?x(le):w(le);return jt&&(yn=e.skipOuterExpressions(yn)),!!yn&&!!yn.parent&&rr(yn.parent)&&yr(yn.parent)===yn}function w(le){return re(le)?le.parent:le}e.climbPastPropertyAccess=w;function x(le){return re(le)||T(le)?le.parent:le}e.climbPastPropertyOrElementAccess=x;function O(le,rr){for(;le;){if(le.kind===249&&le.label.escapedText===rr)return le.label;le=le.parent}}e.getTargetLabel=O;function q(le,rr){return e.isPropertyAccessExpression(le.expression)?le.expression.name.text===rr:!1}e.hasPropertyAccessExpressionWithName=q;function Z(le){var rr;return e.isIdentifier(le)&&((rr=e.tryCast(le.parent,e.isBreakOrContinueStatement))===null||rr===void 0?void 0:rr.label)===le}e.isJumpStatementTarget=Z;function ne(le){var rr;return e.isIdentifier(le)&&((rr=e.tryCast(le.parent,e.isLabeledStatement))===null||rr===void 0?void 0:rr.label)===le}e.isLabelOfLabeledStatement=ne;function F(le){return ne(le)||Z(le)}e.isLabelName=F;function Q(le){var rr;return((rr=e.tryCast(le.parent,e.isJSDocTag))===null||rr===void 0?void 0:rr.tagName)===le}e.isTagName=Q;function V(le){var rr;return((rr=e.tryCast(le.parent,e.isQualifiedName))===null||rr===void 0?void 0:rr.right)===le}e.isRightSideOfQualifiedName=V;function re(le){var rr;return((rr=e.tryCast(le.parent,e.isPropertyAccessExpression))===null||rr===void 0?void 0:rr.name)===le}e.isRightSideOfPropertyAccess=re;function T(le){var rr;return((rr=e.tryCast(le.parent,e.isElementAccessExpression))===null||rr===void 0?void 0:rr.argumentExpression)===le}e.isArgumentExpressionOfElementAccess=T;function N(le){var rr;return((rr=e.tryCast(le.parent,e.isModuleDeclaration))===null||rr===void 0?void 0:rr.name)===le}e.isNameOfModuleDeclaration=N;function y(le){var rr;return e.isIdentifier(le)&&((rr=e.tryCast(le.parent,e.isFunctionLike))===null||rr===void 0?void 0:rr.name)===le}e.isNameOfFunctionDeclaration=y;function D(le){switch(le.parent.kind){case 166:case 165:case 294:case 297:case 168:case 167:case 171:case 172:case 260:return e.getNameOfDeclaration(le.parent)===le;case 206:return le.parent.argumentExpression===le;case 161:return!0;case 195:return le.parent.parent.kind===193;default:return!1}}e.isLiteralNameOfPropertyDeclarationOrIndexAccess=D;function C(le){return e.isExternalModuleImportEqualsDeclaration(le.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(le.parent.parent)===le}e.isExpressionOfExternalModuleImportEqualsDeclaration=C;function m(le){for(e.isJSDocTypeAlias(le)&&(le=le.parent.parent);;){if(le=le.parent,!le)return;switch(le.kind){case 303:case 168:case 167:case 255:case 212:case 171:case 172:case 256:case 257:case 259:case 260:return le}}}e.getContainerNode=m;function u(le){switch(le.kind){case 303:return e.isExternalModule(le)?\"module\":\"script\";case 260:return\"module\";case 256:case 225:return\"class\";case 257:return\"interface\";case 258:case 336:case 343:return\"type\";case 259:return\"enum\";case 253:return ha(le);case 202:return ha(e.getRootDeclaration(le));case 213:case 255:case 212:return\"function\";case 171:return\"getter\";case 172:return\"setter\";case 168:case 167:return\"method\";case 294:var rr=le.initializer;return e.isFunctionLike(rr)?\"method\":\"property\";case 166:case 165:case 295:case 296:return\"property\";case 175:return\"index\";case 174:return\"construct\";case 173:return\"call\";case 170:case 169:return\"constructor\";case 162:return\"type parameter\";case 297:return\"enum member\";case 163:return e.hasSyntacticModifier(le,16476)?\"property\":\"parameter\";case 264:case 269:case 274:case 267:case 273:return\"alias\";case 220:var yr=e.getAssignmentDeclarationKind(le),ct=le.right;switch(yr){case 7:case 8:case 9:case 0:return\"\";case 1:case 2:var jt=u(ct);return jt===\"\"?\"const\":jt;case 3:return e.isFunctionExpression(ct)?\"method\":\"property\";case 4:return\"property\";case 5:return e.isFunctionExpression(ct)?\"method\":\"property\";case 6:return\"local class\";default:return e.assertType(yr),\"\"}case 79:return e.isImportClause(le.parent)?\"alias\":\"\";case 270:var yn=u(le.expression);return yn===\"\"?\"const\":yn;default:return\"\"}function ha(ri){return e.isVarConst(ri)?\"const\":e.isLet(ri)?\"let\":\"var\"}}e.getNodeKind=u;function g(le){switch(le.kind){case 108:return!0;case 79:return e.identifierIsThisKeyword(le)&&le.parent.kind===163;default:return!1}}e.isThis=g;var P=/^\\/\\/\\/\\s*</;function te(le,rr){var yr=e.getLineStarts(rr),ct=rr.getLineAndCharacterOfPosition(le).line;return yr[ct]}e.getLineStartPositionForPosition=te;function ue(le,rr){return Ce(le.pos,le.end,rr)}e.rangeContainsRange=ue;function X(le,rr){return Se(le,rr.pos)&&Se(le,rr.end)}e.rangeContainsRangeExclusive=X;function j(le,rr){return le.pos<=rr&&rr<=le.end}e.rangeContainsPosition=j;function Se(le,rr){return le.pos<rr&&rr<le.end}e.rangeContainsPositionExclusive=Se;function Ce(le,rr,yr){return le<=yr.pos&&rr>=yr.end}e.startEndContainsRange=Ce;function R(le,rr,yr){return le.pos<=rr&&le.end>=yr}e.rangeContainsStartEnd=R;function Y(le,rr,yr){return K(le.pos,le.end,rr,yr)}e.rangeOverlapsWithStartEnd=Y;function U(le,rr,yr,ct){return K(le.getStart(rr),le.end,yr,ct)}e.nodeOverlapsWithStartEnd=U;function K(le,rr,yr,ct){var jt=Math.max(le,yr),yn=Math.min(rr,ct);return jt<yn}e.startEndOverlapsWithStartEnd=K;function Te(le,rr,yr){return e.Debug.assert(le.pos<=rr),rr<le.end||!ge(le,yr)}e.positionBelongsToNode=Te;function ge(le,rr){if(le===void 0||e.nodeIsMissing(le))return!1;switch(le.kind){case 256:case 257:case 259:case 204:case 200:case 181:case 234:case 261:case 262:case 268:case 272:return ke(le,19,rr);case 291:return ge(le.block,rr);case 208:if(!le.arguments)return!0;case 207:case 211:case 190:return ke(le,21,rr);case 178:case 179:return ge(le.type,rr);case 170:case 171:case 172:case 255:case 212:case 168:case 167:case 174:case 173:case 213:return le.body?ge(le.body,rr):le.type?ge(le.type,rr):Ie(le,21,rr);case 260:return!!le.body&&ge(le.body,rr);case 238:return le.elseStatement?ge(le.elseStatement,rr):ge(le.thenStatement,rr);case 237:return ge(le.expression,rr)||Ie(le,26,rr);case 203:case 201:case 206:case 161:case 183:return ke(le,23,rr);case 175:return le.type?ge(le.type,rr):Ie(le,23,rr);case 288:case 289:return!1;case 241:case 242:case 243:case 240:return ge(le.statement,rr);case 239:return Ie(le,115,rr)?ke(le,21,rr):ge(le.statement,rr);case 180:return ge(le.exprName,rr);case 215:case 214:case 216:case 223:case 224:var yr=le;return ge(yr.expression,rr);case 209:return ge(le.template,rr);case 222:var ct=e.lastOrUndefined(le.templateSpans);return ge(ct,rr);case 232:return e.nodeIsPresent(le.literal);case 271:case 265:return e.nodeIsPresent(le.moduleSpecifier);case 218:return ge(le.operand,rr);case 220:return ge(le.right,rr);case 221:return ge(le.whenFalse,rr);default:return!0}}function ke(le,rr,yr){var ct=le.getChildren(yr);if(ct.length){var jt=e.last(ct);if(jt.kind===rr)return!0;if(jt.kind===26&&ct.length!==1)return ct[ct.length-2].kind===rr}return!1}function Pe(le){var rr=he(le);if(!!rr){var yr=rr.getChildren(),ct=e.indexOfNode(yr,le);return{listItemIndex:ct,list:rr}}}e.findListItemInfo=Pe;function Ie(le,rr,yr){return!!Ge(le,rr,yr)}e.hasChildOfKind=Ie;function Ge(le,rr,yr){return e.find(le.getChildren(yr),function(ct){return ct.kind===rr})}e.findChildOfKind=Ge;function he(le){var rr=e.find(le.parent.getChildren(),function(yr){return e.isSyntaxList(yr)&&ue(yr,le)});return e.Debug.assert(!rr||e.contains(rr.getChildren(),le)),rr}e.findContainingList=he;function ve(le){return le.kind===88}function Ve(le){return le.kind===84}function _e(le){return le.kind===98}function Le(le){if(e.isNamedDeclaration(le))return le.name;if(e.isClassDeclaration(le)){var rr=le.modifiers&&e.find(le.modifiers,ve);if(rr)return rr}if(e.isClassExpression(le)){var yr=e.find(le.getChildren(),Ve);if(yr)return yr}}function qe(le){if(e.isNamedDeclaration(le))return le.name;if(e.isFunctionDeclaration(le)){var rr=e.find(le.modifiers,ve);if(rr)return rr}if(e.isFunctionExpression(le)){var yr=e.find(le.getChildren(),_e);if(yr)return yr}}function Xe(le){var rr;return e.findAncestor(le,function(yr){return e.isTypeNode(yr)&&(rr=yr),!e.isQualifiedName(yr.parent)&&!e.isTypeNode(yr.parent)&&!e.isTypeElement(yr.parent)}),rr}function De(le,rr){var yr=ko(le,rr);if(yr)return yr;var ct=Xe(le);return ct&&rr.getTypeAtLocation(ct)}e.getContextualTypeFromParentOrAncestorTypeNode=De;function Ae(le,rr){if(!rr)switch(le.kind){case 256:case 225:return Le(le);case 255:case 212:return qe(le)}if(e.isNamedDeclaration(le))return le.name}function Ye(le,rr){if(le.importClause){if(le.importClause.name&&le.importClause.namedBindings)return;if(le.importClause.name)return le.importClause.name;if(le.importClause.namedBindings){if(e.isNamedImports(le.importClause.namedBindings)){var yr=e.singleOrUndefined(le.importClause.namedBindings.elements);return yr?yr.name:void 0}else if(e.isNamespaceImport(le.importClause.namedBindings))return le.importClause.namedBindings.name}}if(!rr)return le.moduleSpecifier}function Dr(le,rr){if(le.exportClause){if(e.isNamedExports(le.exportClause)){var yr=e.singleOrUndefined(le.exportClause.elements);return yr?le.exportClause.elements[0].name:void 0}else if(e.isNamespaceExport(le.exportClause))return le.exportClause.name}if(!rr)return le.moduleSpecifier}function br(le){if(le.types.length===1)return le.types[0].expression}function lr(le,rr){var yr=le.parent;if(e.isModifier(le)&&(rr||le.kind!==88)?e.contains(yr.modifiers,le):le.kind===84?e.isClassDeclaration(yr)||e.isClassExpression(le):le.kind===98?e.isFunctionDeclaration(yr)||e.isFunctionExpression(le):le.kind===118?e.isInterfaceDeclaration(yr):le.kind===92?e.isEnumDeclaration(yr):le.kind===151?e.isTypeAliasDeclaration(yr):le.kind===142||le.kind===141?e.isModuleDeclaration(yr):le.kind===100?e.isImportEqualsDeclaration(yr):le.kind===136?e.isGetAccessorDeclaration(yr):le.kind===148&&e.isSetAccessorDeclaration(yr)){var ct=Ae(yr,rr);if(ct)return ct}if((le.kind===113||le.kind===85||le.kind===119)&&e.isVariableDeclarationList(yr)&&yr.declarations.length===1){var jt=yr.declarations[0];if(e.isIdentifier(jt.name))return jt.name}if(le.kind===151){if(e.isImportClause(yr)&&yr.isTypeOnly){var ct=Ye(yr.parent,rr);if(ct)return ct}if(e.isExportDeclaration(yr)&&yr.isTypeOnly){var ct=Dr(yr,rr);if(ct)return ct}}if(le.kind===127){if(e.isImportSpecifier(yr)&&yr.propertyName||e.isExportSpecifier(yr)&&yr.propertyName||e.isNamespaceImport(yr)||e.isNamespaceExport(yr))return yr.name;if(e.isExportDeclaration(yr)&&yr.exportClause&&e.isNamespaceExport(yr.exportClause))return yr.exportClause.name}if(le.kind===100&&e.isImportDeclaration(yr)){var ct=Ye(yr,rr);if(ct)return ct}if(le.kind===93){if(e.isExportDeclaration(yr)){var ct=Dr(yr,rr);if(ct)return ct}if(e.isExportAssignment(yr))return e.skipOuterExpressions(yr.expression)}if(le.kind===145&&e.isExternalModuleReference(yr))return yr.expression;if(le.kind===155&&(e.isImportDeclaration(yr)||e.isExportDeclaration(yr))&&yr.moduleSpecifier)return yr.moduleSpecifier;if((le.kind===94||le.kind===117)&&e.isHeritageClause(yr)&&yr.token===le.kind){var ct=br(yr);if(ct)return ct}if(le.kind===94){if(e.isTypeParameterDeclaration(yr)&&yr.constraint&&e.isTypeReferenceNode(yr.constraint))return yr.constraint.typeName;if(e.isConditionalTypeNode(yr)&&e.isTypeReferenceNode(yr.extendsType))return yr.extendsType.typeName}if(le.kind===137&&e.isInferTypeNode(yr))return yr.typeParameter.name;if(le.kind===101&&e.isTypeParameterDeclaration(yr)&&e.isMappedTypeNode(yr.parent))return yr.name;if(le.kind===140&&e.isTypeOperatorNode(yr)&&yr.operator===140&&e.isTypeReferenceNode(yr.type))return yr.type.typeName;if(le.kind===144&&e.isTypeOperatorNode(yr)&&yr.operator===144&&e.isArrayTypeNode(yr.type)&&e.isTypeReferenceNode(yr.type.elementType))return yr.type.elementType.typeName;if(!rr){if((le.kind===103&&e.isNewExpression(yr)||le.kind===114&&e.isVoidExpression(yr)||le.kind===112&&e.isTypeOfExpression(yr)||le.kind===132&&e.isAwaitExpression(yr)||le.kind===125&&e.isYieldExpression(yr)||le.kind===89&&e.isDeleteExpression(yr))&&yr.expression)return e.skipOuterExpressions(yr.expression);if((le.kind===101||le.kind===102)&&e.isBinaryExpression(yr)&&yr.operatorToken===le)return e.skipOuterExpressions(yr.right);if(le.kind===127&&e.isAsExpression(yr)&&e.isTypeReferenceNode(yr.type))return yr.type.typeName;if(le.kind===101&&e.isForInStatement(yr)||le.kind===159&&e.isForOfStatement(yr))return e.skipOuterExpressions(yr.expression)}return le}function Ar(le){return lr(le,!1)}e.getAdjustedReferenceLocation=Ar;function kr(le){return lr(le,!0)}e.getAdjustedRenameLocation=kr;function Ke(le,rr){return Me(le,rr,function(yr){return e.isPropertyNameLiteral(yr)||e.isKeyword(yr.kind)||e.isPrivateIdentifier(yr)})}e.getTouchingPropertyName=Ke;function Me(le,rr,yr){return ur(le,rr,!1,yr,!1)}e.getTouchingToken=Me;function Hr(le,rr){return ur(le,rr,!0,void 0,!1)}e.getTokenAtPosition=Hr;function ur(le,rr,yr,ct,jt){var yn=le,ha,ri=function(){var fi=yn.getChildren(le),ci=e.binarySearchKey(fi,rr,function(Si,Do){return Do},function(Si,Do){var bo=yr?fi[Si].getFullStart():fi[Si].getStart(le,!0);return bo>rr?1:Ya(fi[Si])?fi[Si-1]&&Ya(fi[Si-1])?1:0:ct&&bo===rr&&fi[Si-1]&&fi[Si-1].getEnd()===rr&&Ya(fi[Si-1])?1:-1});return ha?{value:ha}:ci>=0&&fi[ci]?(yn=fi[ci],\"continue-outer\"):{value:yn}};e:for(;;){var Ta=ri();if(typeof Ta==\"object\")return Ta.value;switch(Ta){case\"continue-outer\":continue e}}function Ya(fi){var ci=yr?fi.getFullStart():fi.getStart(le,!0);if(ci>rr)return!1;var Si=fi.getEnd();if(rr<Si||rr===Si&&(fi.kind===1||jt))return!0;if(ct&&Si===rr){var Do=$e(rr,le,fi);if(Do&&ct(Do))return ha=Do,!0}return!1}}function gr(le,rr){for(var yr=Hr(le,rr);ze(yr);){var ct=Fe(yr,yr.parent,le);if(!ct)return;yr=ct}return yr}e.findFirstNonJsxWhitespaceToken=gr;function de(le,rr){var yr=Hr(le,rr);return e.isToken(yr)&&rr>yr.getStart(le)&&rr<yr.getEnd()?yr:$e(rr,le)}e.findTokenOnLeftOfPosition=de;function Fe(le,rr,yr){return ct(rr);function ct(jt){return e.isToken(jt)&&jt.pos===le.end?jt:e.firstDefined(jt.getChildren(yr),function(yn){var ha=yn.pos<=le.pos&&yn.end>le.end||yn.pos===le.end;return ha&&Or(yn,yr)?ct(yn):void 0})}}e.findNextToken=Fe;function $e(le,rr,yr,ct){var jt=yn(yr||rr);return e.Debug.assert(!(jt&&ze(jt))),jt;function yn(ha){if(Sr(ha)&&ha.kind!==1)return ha;var ri=ha.getChildren(rr),Ta=e.binarySearchKey(ri,le,function(bo,Ns){return Ns},function(bo,Ns){return le<ri[bo].end?!ri[bo-1]||le>=ri[bo-1].end?0:1:-1});if(Ta>=0&&ri[Ta]){var Ya=ri[Ta];if(le<Ya.end){var fi=Ya.getStart(rr,!ct),ci=fi>=le||!Or(Ya,rr)||ze(Ya);if(ci){var Si=He(ri,Ta,rr,ha.kind);return Si&&Pr(Si,rr)}else return yn(Ya)}}e.Debug.assert(yr!==void 0||ha.kind===303||ha.kind===1||e.isJSDocCommentContainingNode(ha));var Do=He(ri,ri.length,rr,ha.kind);return Do&&Pr(Do,rr)}}e.findPrecedingToken=$e;function Sr(le){return e.isToken(le)&&!ze(le)}function Pr(le,rr){if(Sr(le))return le;var yr=le.getChildren(rr);if(yr.length===0)return le;var ct=He(yr,yr.length,rr,le.kind);return ct&&Pr(ct,rr)}function He(le,rr,yr,ct){for(var jt=rr-1;jt>=0;jt--){var yn=le[jt];if(ze(yn))jt===0&&(ct===11||ct===278)&&e.Debug.fail(\"`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`\");else if(Or(le[jt],yr))return le[jt]}}function pr(le,rr,yr){if(yr===void 0&&(yr=$e(rr,le)),yr&&e.isStringTextContainingNode(yr)){var ct=yr.getStart(le),jt=yr.getEnd();if(ct<rr&&rr<jt)return!0;if(rr===jt)return!!yr.isUnterminated}return!1}e.isInString=pr;function Jr(le,rr){var yr=Hr(le,rr);return yr?!!(yr.kind===11||yr.kind===29&&yr.parent.kind===11||yr.kind===29&&yr.parent.kind===287||yr&&yr.kind===19&&yr.parent.kind===287||yr.kind===29&&yr.parent.kind===280):!1}e.isInsideJsxElementOrAttribute=Jr;function ze(le){return e.isJsxText(le)&&le.containsOnlyTriviaWhiteSpaces}function Lr(le,rr){var yr=Hr(le,rr);return e.isTemplateLiteralKind(yr.kind)&&rr>yr.getStart(le)}e.isInTemplateString=Lr;function Yr(le,rr){var yr=Hr(le,rr);return!!(e.isJsxText(yr)||yr.kind===18&&e.isJsxExpression(yr.parent)&&e.isJsxElement(yr.parent.parent)||yr.kind===29&&e.isJsxOpeningLikeElement(yr.parent)&&e.isJsxElement(yr.parent.parent))}e.isInJSXText=Yr;function lt(le,rr){function yr(ct){for(;ct;)if(ct.kind>=278&&ct.kind<=287||ct.kind===11||ct.kind===29||ct.kind===31||ct.kind===79||ct.kind===19||ct.kind===18||ct.kind===43)ct=ct.parent;else if(ct.kind===277){if(rr>ct.getStart(le))return!0;ct=ct.parent}else return!1;return!1}return yr(Hr(le,rr))}e.isInsideJsxElement=lt;function tt(le,rr,yr){var ct=e.tokenToString(le.kind),jt=e.tokenToString(rr),yn=le.getFullStart(),ha=yr.text.lastIndexOf(jt,yn);if(ha!==-1){if(yr.text.lastIndexOf(ct,yn-1)<ha){var ri=$e(ha+1,yr);if(ri&&ri.kind===rr)return ri}for(var Ta=le.kind,Ya=0;;){var fi=$e(le.getFullStart(),yr);if(!fi)return;if(le=fi,le.kind===rr){if(Ya===0)return le;Ya--}else le.kind===Ta&&Ya++}}}e.findPrecedingMatchingToken=tt;function Rt(le,rr,yr){return rr?le.getNonNullableType():yr?le.getNonOptionalType():le}e.removeOptionality=Rt;function cn(le,rr,yr){var ct=In(le,rr);return ct!==void 0&&(e.isPartOfTypeNode(ct.called)||bn(ct.called,ct.nTypeArguments,yr).length!==0||cn(ct.called,rr,yr))}e.isPossiblyTypeArgumentPosition=cn;function bn(le,rr,yr){var ct=yr.getTypeAtLocation(le);e.isOptionalChain(le.parent)&&(ct=Rt(ct,e.isOptionalChainRoot(le.parent),!0));var jt=e.isNewExpression(le.parent)?ct.getConstructSignatures():ct.getCallSignatures();return jt.filter(function(yn){return!!yn.typeParameters&&yn.typeParameters.length>=rr})}e.getPossibleGenericSignatures=bn;function In(le,rr){if(rr.text.lastIndexOf(\"<\",le?le.pos:rr.text.length)!==-1)for(var yr=le,ct=0,jt=0;yr;){switch(yr.kind){case 29:if(yr=$e(yr.getFullStart(),rr),yr&&yr.kind===28&&(yr=$e(yr.getFullStart(),rr)),!yr||!e.isIdentifier(yr))return;if(!ct)return e.isDeclarationName(yr)?void 0:{called:yr,nTypeArguments:jt};ct--;break;case 49:ct=3;break;case 48:ct=2;break;case 31:ct++;break;case 19:if(yr=tt(yr,18,rr),!yr)return;break;case 21:if(yr=tt(yr,20,rr),!yr)return;break;case 23:if(yr=tt(yr,22,rr),!yr)return;break;case 27:jt++;break;case 38:case 79:case 10:case 8:case 9:case 110:case 95:case 112:case 94:case 140:case 24:case 51:case 57:case 58:break;default:if(e.isTypeNode(yr))break;return}yr=$e(yr.getFullStart(),rr)}}e.getPossibleTypeArgumentsInfo=In;function zn(le,rr,yr){return e.formatting.getRangeOfEnclosingComment(le,rr,void 0,yr)}e.isInComment=zn;function ir(le,rr){var yr=Hr(le,rr);return!!e.findAncestor(yr,e.isJSDoc)}e.hasDocComment=ir;function Or(le,rr){return le.kind===1?!!le.jsDoc:le.getWidth(rr)!==0}function sr(le,rr){rr===void 0&&(rr=0);var yr=[],ct=e.isDeclaration(le)?e.getCombinedNodeFlagsAlwaysIncludeJSDoc(le)&~rr:0;return ct&8&&yr.push(\"private\"),ct&16&&yr.push(\"protected\"),ct&4&&yr.push(\"public\"),(ct&32||e.isClassStaticBlockDeclaration(le))&&yr.push(\"static\"),ct&128&&yr.push(\"abstract\"),ct&1&&yr.push(\"export\"),ct&8192&&yr.push(\"deprecated\"),le.flags&8388608&&yr.push(\"declare\"),le.kind===270&&yr.push(\"export\"),yr.length>0?yr.join(\",\"):\"\"}e.getNodeModifiers=sr;function ye(le){if(le.kind===177||le.kind===207)return le.typeArguments;if(e.isFunctionLike(le)||le.kind===256||le.kind===257)return le.typeParameters}e.getTypeArgumentOrTypeParameterList=ye;function or(le){return le===2||le===3}e.isComment=or;function fe(le){return!!(le===10||le===13||e.isTemplateLiteralKind(le))}e.isStringOrRegularExpressionOrTemplateLiteral=fe;function je(le){return 18<=le&&le<=78}e.isPunctuation=je;function Ee(le,rr,yr){return e.isTemplateLiteralKind(le.kind)&&le.getStart(yr)<rr&&rr<le.end||!!le.isUnterminated&&rr===le.end}e.isInsideTemplateLiteral=Ee;function We(le){switch(le){case 123:case 121:case 122:return!0}return!1}e.isAccessibilityModifier=We;function $(le){var rr=e.clone(le);return e.setConfigFileInOptions(rr,le&&le.configFile),rr}e.cloneCompilerOptions=$;function Ne(le){return!!((le.kind===203||le.kind===204)&&(le.parent.kind===220&&le.parent.left===le&&le.parent.operatorToken.kind===63||le.parent.kind===243&&le.parent.initializer===le||Ne(le.parent.kind===294?le.parent.parent:le.parent)))}e.isArrayLiteralOrObjectLiteralDestructuringPattern=Ne;function me(le,rr){return Cr(le,rr,!0)}e.isInReferenceComment=me;function Ze(le,rr){return Cr(le,rr,!1)}e.isInNonReferenceComment=Ze;function Cr(le,rr,yr){var ct=zn(le,rr,void 0);return!!ct&&yr===P.test(le.text.substring(ct.pos,ct.end))}function fr(le){if(!!le)switch(le.kind){case 10:case 14:return et(le);default:return dr(le)}}e.getReplacementSpanForContextToken=fr;function dr(le,rr,yr){return e.createTextSpanFromBounds(le.getStart(rr),(yr||le).getEnd())}e.createTextSpanFromNode=dr;function et(le){if(!le.isUnterminated)return e.createTextSpanFromBounds(le.getStart()+1,le.getEnd()-1)}e.createTextSpanFromStringLiteralLikeContent=et;function yt(le,rr){return e.createRange(le.getStart(rr),le.end)}e.createTextRangeFromNode=yt;function Vr(le){return e.createTextSpanFromBounds(le.pos,le.end)}e.createTextSpanFromRange=Vr;function tr(le){return e.createRange(le.start,le.start+le.length)}e.createTextRangeFromSpan=tr;function xr(le,rr,yr){return Nr(e.createTextSpan(le,rr),yr)}e.createTextChangeFromStartLength=xr;function Nr(le,rr){return{span:le,newText:rr}}e.createTextChange=Nr,e.typeKeywords=[130,128,157,133,95,137,140,143,104,146,147,144,149,150,110,114,152,153,154];function zr(le){return e.contains(e.typeKeywords,le)}e.isTypeKeyword=zr;function gt(le){return le.kind===151}e.isTypeKeywordToken=gt;function vt(le){return gt(le)||e.isIdentifier(le)&&le.text===\"type\"}e.isTypeKeywordTokenOrIdentifier=vt;function ut(le){return!!(le.flags&1536)&&le.name.charCodeAt(0)===34}e.isExternalModuleSymbol=ut;function ht(){var le=[];return function(rr){var yr=e.getNodeId(rr);return!le[yr]&&(le[yr]=!0)}}e.nodeSeenTracker=ht;function xt(le){return le.getText(0,le.getLength())}e.getSnapshotText=xt;function wt(le,rr){for(var yr=\"\",ct=0;ct<rr;ct++)yr+=le;return yr}e.repeatString=wt;function Qt(le){return le.isTypeParameter()&&le.getConstraint()||le}e.skipConstraint=Qt;function mt(le){return le.kind===161?e.isStringOrNumericLiteralLike(le.expression)?le.expression.text:void 0:e.isPrivateIdentifier(le)?e.idText(le):e.getTextOfIdentifierOrLiteral(le)}e.getNameFromPropertyName=mt;function rn(le){return le.getSourceFiles().some(function(rr){return!rr.isDeclarationFile&&!le.isSourceFileFromExternalLibrary(rr)&&!!(rr.externalModuleIndicator||rr.commonJsModuleIndicator)})}e.programContainsModules=rn;function sa(le){return le.getSourceFiles().some(function(rr){return!rr.isDeclarationFile&&!le.isSourceFileFromExternalLibrary(rr)&&!!rr.externalModuleIndicator})}e.programContainsEsModules=sa;function ba(le){return!!le.module||e.getEmitScriptTarget(le)>=2||!!le.noEmit}e.compilerOptionsIndicateEsModules=ba;function Jn(le,rr){return{fileExists:function(yr){return le.fileExists(yr)},getCurrentDirectory:function(){return rr.getCurrentDirectory()},readFile:e.maybeBind(rr,rr.readFile),useCaseSensitiveFileNames:e.maybeBind(rr,rr.useCaseSensitiveFileNames),getSymlinkCache:e.maybeBind(rr,rr.getSymlinkCache)||le.getSymlinkCache,getModuleSpecifierCache:e.maybeBind(rr,rr.getModuleSpecifierCache),getGlobalTypingsCacheLocation:e.maybeBind(rr,rr.getGlobalTypingsCacheLocation),redirectTargetsMap:le.redirectTargetsMap,getProjectReferenceRedirect:function(yr){return le.getProjectReferenceRedirect(yr)},isSourceOfProjectReferenceRedirect:function(yr){return le.isSourceOfProjectReferenceRedirect(yr)},getNearestAncestorDirectoryWithPackageJson:e.maybeBind(rr,rr.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:function(){return le.getFileIncludeReasons()}}}e.createModuleSpecifierResolutionHost=Jn;function na(le,rr){return Rn(Rn({},Jn(le,rr)),{getCommonSourceDirectory:function(){return le.getCommonSourceDirectory()}})}e.getModuleSpecifierResolverHost=na;function Wn(le,rr,yr,ct){return le||rr&&rr.length?en(le,rr,yr,ct):void 0}e.makeImportIfNecessary=Wn;function en(le,rr,yr,ct,jt){return e.factory.createImportDeclaration(void 0,void 0,le||rr?e.factory.createImportClause(!!jt,le,rr&&rr.length?e.factory.createNamedImports(rr):void 0):void 0,typeof yr==\"string\"?St(yr,ct):yr,void 0)}e.makeImport=en;function St(le,rr){return e.factory.createStringLiteral(le,rr===0)}e.makeStringLiteral=St,function(le){le[le.Single=0]=\"Single\",le[le.Double=1]=\"Double\"}(e.QuotePreference||(e.QuotePreference={}));function Ut(le,rr){return e.isStringDoubleQuoted(le,rr)?1:0}e.quotePreferenceFromString=Ut;function qt(le,rr){if(rr.quotePreference&&rr.quotePreference!==\"auto\")return rr.quotePreference===\"single\"?0:1;var yr=le.imports&&e.find(le.imports,function(ct){return e.isStringLiteral(ct)&&!e.nodeIsSynthesized(ct.parent)});return yr?Ut(yr,le):1}e.getQuotePreference=qt;function Mn(le){switch(le){case 0:return\"'\";case 1:return'\"';default:return e.Debug.assertNever(le)}}e.getQuoteFromPreference=Mn;function dn(le){var rr=oa(le);return rr===void 0?void 0:e.unescapeLeadingUnderscores(rr)}e.symbolNameNoDefault=dn;function oa(le){return le.escapedName!==\"default\"?le.escapedName:e.firstDefined(le.declarations,function(rr){var yr=e.getNameOfDeclaration(rr);return yr&&yr.kind===79?yr.escapedText:void 0})}e.symbolEscapedNameNoDefault=oa;function pt(le){return e.isStringLiteralLike(le)&&(e.isExternalModuleReference(le.parent)||e.isImportDeclaration(le.parent)||e.isRequireCall(le.parent,!1)&&le.parent.arguments[0]===le||e.isImportCall(le.parent)&&le.parent.arguments[0]===le)}e.isModuleSpecifierLike=pt;function _t(le){return e.isBindingElement(le)&&e.isObjectBindingPattern(le.parent)&&e.isIdentifier(le.name)&&!le.propertyName}e.isObjectBindingElementWithoutPropertyName=_t;function Mt(le,rr){var yr=le.getTypeAtLocation(rr.parent);return yr&&le.getPropertyOfType(yr,rr.name.text)}e.getPropertySymbolFromBindingElement=Mt;function It(le,rr,yr){if(!!le)for(;le.parent;){if(e.isSourceFile(le.parent)||!rt(yr,le.parent,rr))return le;le=le.parent}}e.getParentNodeInSpan=It;function rt(le,rr,yr){return e.textSpanContainsPosition(le,rr.getStart(yr))&&rr.getEnd()<=e.textSpanEnd(le)}function Cn(le,rr){return le.modifiers&&e.find(le.modifiers,function(yr){return yr.kind===rr})}e.findModifier=Cn;function Qn(le,rr,yr,ct){var jt=e.isArray(yr)?yr[0]:yr,yn=jt.kind===236?e.isRequireVariableStatement:e.isAnyImportSyntax,ha=e.filter(rr.statements,yn),ri=e.isArray(yr)?e.stableSort(yr,e.OrganizeImports.compareImportsOrRequireStatements):[yr];if(!ha.length)le.insertNodesAtTopOfFile(rr,ri,ct);else if(ha&&e.OrganizeImports.importsAreSorted(ha))for(var Ta=0,Ya=ri;Ta<Ya.length;Ta++){var fi=Ya[Ta],ci=e.OrganizeImports.getImportDeclarationInsertionIndex(ha,fi);if(ci===0){var Si=ha[0]===rr.statements[0]?{leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude}:{};le.insertNodeBefore(rr,ha[0],fi,!1,Si)}else{var Do=ha[ci-1];le.insertNodeAfter(rr,Do,fi)}}else{var bo=e.lastOrUndefined(ha);bo?le.insertNodesAfter(rr,bo,ri):le.insertNodesAtTopOfFile(rr,ri,ct)}}e.insertImports=Qn;function Ra(le,rr){return e.Debug.assert(le.isTypeOnly),e.cast(le.getChildAt(0,rr),gt)}e.getTypeKeywordOfTypeOnlyImport=Ra;function Ci(le,rr){return!!le&&!!rr&&le.start===rr.start&&le.length===rr.length}e.textSpansEqual=Ci;function _i(le,rr){return le.fileName===rr.fileName&&Ci(le.textSpan,rr.textSpan)}e.documentSpansEqual=_i;function va(le,rr){if(le){for(var yr=0;yr<le.length;yr++)if(le.indexOf(le[yr])===yr){var ct=rr(le[yr],yr);if(ct)return ct}}}e.forEachUnique=va;function yi(le,rr,yr){for(var ct=rr;ct<yr;ct++)if(!e.isWhiteSpaceLike(le.charCodeAt(ct)))return!1;return!0}e.isTextWhiteSpaceLike=yi;function ro(le){var rr=le.declarations?e.firstOrUndefined(le.declarations):void 0;return!!e.findAncestor(rr,function(yr){return e.isParameter(yr)?!0:e.isBindingElement(yr)||e.isObjectBindingPattern(yr)||e.isArrayBindingPattern(yr)?!1:\"quit\"})}e.isFirstDeclarationOfSymbolParameter=ro;var Ka=Mi();function Mi(){var le=e.defaultMaximumTruncationLength*10,rr,yr,ct,jt;fi();var yn=function(ci){return ri(ci,e.SymbolDisplayPartKind.text)};return{displayParts:function(){var ci=rr.length&&rr[rr.length-1].text;return jt>le&&ci&&ci!==\"...\"&&(e.isWhiteSpaceLike(ci.charCodeAt(ci.length-1))||rr.push(ji(\" \",e.SymbolDisplayPartKind.space)),rr.push(ji(\"...\",e.SymbolDisplayPartKind.punctuation))),rr},writeKeyword:function(ci){return ri(ci,e.SymbolDisplayPartKind.keyword)},writeOperator:function(ci){return ri(ci,e.SymbolDisplayPartKind.operator)},writePunctuation:function(ci){return ri(ci,e.SymbolDisplayPartKind.punctuation)},writeTrailingSemicolon:function(ci){return ri(ci,e.SymbolDisplayPartKind.punctuation)},writeSpace:function(ci){return ri(ci,e.SymbolDisplayPartKind.space)},writeStringLiteral:function(ci){return ri(ci,e.SymbolDisplayPartKind.stringLiteral)},writeParameter:function(ci){return ri(ci,e.SymbolDisplayPartKind.parameterName)},writeProperty:function(ci){return ri(ci,e.SymbolDisplayPartKind.propertyName)},writeLiteral:function(ci){return ri(ci,e.SymbolDisplayPartKind.stringLiteral)},writeSymbol:Ta,writeLine:Ya,write:yn,writeComment:yn,getText:function(){return\"\"},getTextPos:function(){return 0},getColumn:function(){return 0},getLine:function(){return 0},isAtStartOfLine:function(){return!1},hasTrailingWhitespace:function(){return!1},hasTrailingComment:function(){return!1},rawWrite:e.notImplemented,getIndent:function(){return ct},increaseIndent:function(){ct++},decreaseIndent:function(){ct--},clear:fi,trackSymbol:function(){return!1},reportInaccessibleThisError:e.noop,reportInaccessibleUniqueSymbolError:e.noop,reportPrivateInBaseOfClassExpression:e.noop};function ha(){if(!(jt>le)&&yr){var ci=e.getIndentString(ct);ci&&(jt+=ci.length,rr.push(ji(ci,e.SymbolDisplayPartKind.space))),yr=!1}}function ri(ci,Si){jt>le||(ha(),jt+=ci.length,rr.push(ji(ci,Si)))}function Ta(ci,Si){jt>le||(ha(),jt+=ci.length,rr.push(io(ci,Si)))}function Ya(){jt>le||(jt+=1,rr.push(hr()),yr=!0)}function fi(){rr=[],yr=!0,ct=0,jt=0}}function io(le,rr){return ji(le,yr(rr));function yr(ct){var jt=ct.flags;return jt&3?ro(ct)?e.SymbolDisplayPartKind.parameterName:e.SymbolDisplayPartKind.localName:jt&4||jt&32768||jt&65536?e.SymbolDisplayPartKind.propertyName:jt&8?e.SymbolDisplayPartKind.enumMemberName:jt&16?e.SymbolDisplayPartKind.functionName:jt&32?e.SymbolDisplayPartKind.className:jt&64?e.SymbolDisplayPartKind.interfaceName:jt&384?e.SymbolDisplayPartKind.enumName:jt&1536?e.SymbolDisplayPartKind.moduleName:jt&8192?e.SymbolDisplayPartKind.methodName:jt&262144?e.SymbolDisplayPartKind.typeParameterName:jt&524288||jt&2097152?e.SymbolDisplayPartKind.aliasName:e.SymbolDisplayPartKind.text}}e.symbolPart=io;function ji(le,rr){return{text:le,kind:e.SymbolDisplayPartKind[rr]}}e.displayPart=ji;function Hi(){return ji(\" \",e.SymbolDisplayPartKind.space)}e.spacePart=Hi;function to(le){return ji(e.tokenToString(le),e.SymbolDisplayPartKind.keyword)}e.keywordPart=to;function No(le){return ji(e.tokenToString(le),e.SymbolDisplayPartKind.punctuation)}e.punctuationPart=No;function lo(le){return ji(e.tokenToString(le),e.SymbolDisplayPartKind.operator)}e.operatorPart=lo;function Lo(le){return ji(le,e.SymbolDisplayPartKind.parameterName)}e.parameterNamePart=Lo;function Ha(le){return ji(le,e.SymbolDisplayPartKind.propertyName)}e.propertyNamePart=Ha;function Yo(le){var rr=e.stringToToken(le);return rr===void 0?co(le):to(rr)}e.textOrKeywordPart=Yo;function co(le){return ji(le,e.SymbolDisplayPartKind.text)}e.textPart=co;function za(le){return ji(le,e.SymbolDisplayPartKind.aliasName)}e.typeAliasNamePart=za;function hi(le){return ji(le,e.SymbolDisplayPartKind.typeParameterName)}e.typeParameterNamePart=hi;function Zi(le){return ji(le,e.SymbolDisplayPartKind.linkText)}e.linkTextPart=Zi;function Mo(le,rr){return{text:le,kind:e.SymbolDisplayPartKind[e.SymbolDisplayPartKind.linkName],target:{fileName:e.getSourceFileOfNode(rr).fileName,textSpan:dr(rr)}}}e.linkNamePart=Mo;function Po(le){return ji(le,e.SymbolDisplayPartKind.link)}e.linkPart=Po;function Fo(le,rr){var yr,ct=e.isJSDocLink(le)?\"link\":e.isJSDocLinkCode(le)?\"linkcode\":\"linkplain\",jt=[Po(\"{@\".concat(ct,\" \"))];if(!le.name)le.text&&jt.push(Zi(le.text));else{var yn=rr==null?void 0:rr.getSymbolAtLocation(le.name),ha=zo(le.text),ri=e.getTextOfNode(le.name)+le.text.slice(0,ha),Ta=le.text.slice(ha),Ya=(yn==null?void 0:yn.valueDeclaration)||((yr=yn==null?void 0:yn.declarations)===null||yr===void 0?void 0:yr[0]);Ya?(jt.push(Mo(ri,Ya)),Ta&&jt.push(Zi(Ta))):jt.push(Zi(ri+(ha?\"\":\" \")+Ta))}return jt.push(Po(\"}\")),jt}e.buildLinkParts=Fo;function zo(le){if(le.indexOf(\"()\")===0)return 2;if(le[0]!==\"<\")return 0;for(var rr=0,yr=0;yr<le.length;)if(le[yr]===\"<\"&&rr++,le[yr]===\">\"&&rr--,yr++,!rr)return yr;return 0}var Es=`\\r\n`;function Cs(le,rr){var yr;return(rr==null?void 0:rr.newLineCharacter)||((yr=le.getNewLine)===null||yr===void 0?void 0:yr.call(le))||Es}e.getNewLineOrDefaultFromHost=Cs;function hr(){return ji(`\n`,e.SymbolDisplayPartKind.lineBreak)}e.lineBreakPart=hr;function dt(le){try{return le(Ka),Ka.displayParts()}finally{Ka.clear()}}e.mapToDisplayParts=dt;function tn(le,rr,yr,ct){return ct===void 0&&(ct=0),dt(function(jt){le.writeType(rr,yr,ct|1024|16384,jt)})}e.typeToDisplayParts=tn;function Un(le,rr,yr,ct,jt){return jt===void 0&&(jt=0),dt(function(yn){le.writeSymbol(rr,yr,ct,jt|8,yn)})}e.symbolToDisplayParts=Un;function Oe(le,rr,yr,ct){return ct===void 0&&(ct=0),ct|=25632,dt(function(jt){le.writeSignature(rr,yr,ct,void 0,jt)})}e.signatureToDisplayParts=Oe;function oe(le){return!!le.parent&&e.isImportOrExportSpecifier(le.parent)&&le.parent.propertyName===le}e.isImportOrExportSpecifierName=oe;function mr(le,rr){return e.ensureScriptKind(le,rr.getScriptKind&&rr.getScriptKind(le))}e.getScriptKind=mr;function se(le,rr){for(var yr=le;er(yr)||Be(yr)&&yr.target;)Be(yr)&&yr.target?yr=yr.target:yr=e.skipAlias(yr,rr);return yr}e.getSymbolTarget=se;function Be(le){return(le.flags&33554432)!==0}function er(le){return(le.flags&2097152)!==0}function vr(le,rr){return e.getSymbolId(e.skipAlias(le,rr))}e.getUniqueSymbolId=vr;function qr(le,rr){for(;e.isWhiteSpaceLike(le.charCodeAt(rr));)rr+=1;return rr}e.getFirstNonSpaceCharacterPosition=qr;function Dt(le,rr){for(;rr>-1&&e.isWhiteSpaceSingleLine(le.charCodeAt(rr));)rr-=1;return rr+1}e.getPrecedingNonSpaceCharacterPosition=Dt;function Jt(le,rr){rr===void 0&&(rr=!0);var yr=le&&ta(le);return yr&&!rr&&$a(yr),yr}e.getSynthesizedDeepClone=Jt;function Sn(le,rr,yr){var ct=yr(le);return ct?e.setOriginalNode(ct,le):ct=ta(le,yr),ct&&!rr&&$a(ct),ct}e.getSynthesizedDeepCloneWithReplacements=Sn;function ta(le,rr){var yr=rr?function(ha){return Sn(ha,!0,rr)}:Jt,ct=rr?function(ha){return ha&&Di(ha,!0,rr)}:function(ha){return ha&&xa(ha)},jt=e.visitEachChild(le,yr,e.nullTransformationContext,ct,yr);if(jt===le){var yn=e.isStringLiteral(le)?e.setOriginalNode(e.factory.createStringLiteralFromNode(le),le):e.isNumericLiteral(le)?e.setOriginalNode(e.factory.createNumericLiteral(le.text,le.numericLiteralFlags),le):e.factory.cloneNode(le);return e.setTextRange(yn,le)}return jt.parent=void 0,jt}function xa(le,rr){return rr===void 0&&(rr=!0),le&&e.factory.createNodeArray(le.map(function(yr){return Jt(yr,rr)}),le.hasTrailingComma)}e.getSynthesizedDeepClones=xa;function Di(le,rr,yr){return e.factory.createNodeArray(le.map(function(ct){return Sn(ct,rr,yr)}),le.hasTrailingComma)}e.getSynthesizedDeepClonesWithReplacements=Di;function $a(le){Ji(le),So(le)}e.suppressLeadingAndTrailingTrivia=$a;function Ji(le){Pn(le,512,da)}e.suppressLeadingTrivia=Ji;function So(le){Pn(le,1024,e.getLastChild)}e.suppressTrailingTrivia=So;function cs(le,rr){var yr=le.getSourceFile(),ct=yr.text;bt(le,ct)?xi(le,rr,yr):mi(le,rr,yr),ka(le,rr,yr)}e.copyComments=cs;function bt(le,rr){for(var yr=le.getFullStart(),ct=le.getStart(),jt=yr;jt<ct;jt++)if(rr.charCodeAt(jt)===10)return!0;return!1}function Pn(le,rr,yr){e.addEmitFlags(le,rr);var ct=yr(le);ct&&Pn(ct,rr,yr)}function da(le){return le.forEachChild(function(rr){return rr})}function ei(le,rr){for(var yr=le,ct=1;!e.isFileLevelUniqueName(rr,yr);ct++)yr=\"\".concat(le,\"_\").concat(ct);return yr}e.getUniqueName=ei;function bi(le,rr,yr,ct){for(var jt=0,yn=-1,ha=0,ri=le;ha<ri.length;ha++){var Ta=ri[ha],Ya=Ta.fileName,fi=Ta.textChanges;e.Debug.assert(Ya===rr);for(var ci=0,Si=fi;ci<Si.length;ci++){var Do=Si[ci],bo=Do.span,Ns=Do.newText,Ys=Gi(Ns,yr);if(Ys!==-1&&(yn=bo.start+jt+Ys,!ct))return yn;jt+=Ns.length-bo.length}}return e.Debug.assert(ct),e.Debug.assert(yn>=0),yn}e.getRenameLocation=bi;function xi(le,rr,yr,ct,jt){e.forEachLeadingCommentRange(yr.text,le.pos,Xi(rr,yr,ct,jt,e.addSyntheticLeadingComment))}e.copyLeadingComments=xi;function ka(le,rr,yr,ct,jt){e.forEachTrailingCommentRange(yr.text,le.end,Xi(rr,yr,ct,jt,e.addSyntheticTrailingComment))}e.copyTrailingComments=ka;function mi(le,rr,yr,ct,jt){e.forEachTrailingCommentRange(yr.text,le.pos,Xi(rr,yr,ct,jt,e.addSyntheticLeadingComment))}e.copyTrailingAsLeadingComments=mi;function Xi(le,rr,yr,ct,jt){return function(yn,ha,ri,Ta){ri===3?(yn+=2,ha-=2):yn+=2,jt(le,yr||ri,rr.text.slice(yn,ha),ct!==void 0?ct:Ta)}}function Gi(le,rr){if(e.startsWith(le,rr))return 0;var yr=le.indexOf(\" \"+rr);return yr===-1&&(yr=le.indexOf(\".\"+rr)),yr===-1&&(yr=le.indexOf('\"'+rr)),yr===-1?-1:yr+1}function Ro(le){return e.isBinaryExpression(le)&&le.operatorToken.kind===27||e.isObjectLiteralExpression(le)||e.isAsExpression(le)&&e.isObjectLiteralExpression(le.expression)}e.needsParentheses=Ro;function ko(le,rr){var yr=le.parent;switch(yr.kind){case 208:return rr.getContextualType(yr);case 220:{var ct=yr,jt=ct.left,yn=ct.operatorToken,ha=ct.right;return as(yn.kind)?rr.getTypeAtLocation(le===ha?jt:ha):rr.getContextualType(le)}case 288:return yr.expression===le?ft(yr,rr):void 0;default:return rr.getContextualType(le)}}e.getContextualTypeFromParent=ko;function es(le,rr,yr){var ct=qt(le,rr),jt=JSON.stringify(yr);return ct===0?\"'\".concat(e.stripQuotes(jt).replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"'),\"'\"):jt}e.quote=es;function as(le){switch(le){case 36:case 34:case 37:case 35:return!0;default:return!1}}e.isEqualityOperatorKind=as;function pe(le){switch(le.kind){case 10:case 14:case 222:case 209:return!0;default:return!1}}e.isStringLiteralOrTemplate=pe;function Rr(le){return!!le.getStringIndexType()||!!le.getNumberIndexType()}e.hasIndexSignature=Rr;function ft(le,rr){return rr.getTypeAtLocation(le.parent.parent.expression)}e.getSwitchedType=ft,e.ANONYMOUS=\"anonymous function\";function Zt(le,rr,yr,ct){var jt=yr.getTypeChecker(),yn=!0,ha=function(){return yn=!1},ri=jt.typeToTypeNode(le,rr,1,{trackSymbol:function(Ta,Ya,fi){return yn=yn&&jt.isSymbolAccessible(Ta,Ya,fi,!1).accessibility===0,!yn},reportInaccessibleThisError:ha,reportPrivateInBaseOfClassExpression:ha,reportInaccessibleUniqueSymbolError:ha,moduleResolverHost:na(yr,ct)});return yn?ri:void 0}e.getTypeNodeIfAccessible=Zt;function Re(le){return le===173||le===174||le===175||le===165||le===167}e.syntaxRequiresTrailingCommaOrSemicolonOrASI=Re;function Qr(le){return le===255||le===170||le===168||le===171||le===172}e.syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI=Qr;function vn(le){return le===260}e.syntaxRequiresTrailingModuleBlockOrSemicolonOrASI=vn;function Xn(le){return le===236||le===237||le===239||le===244||le===245||le===246||le===250||le===252||le===166||le===258||le===265||le===264||le===271||le===263||le===270}e.syntaxRequiresTrailingSemicolonOrASI=Xn,e.syntaxMayBeASICandidate=e.or(Re,Qr,vn,Xn);function gi(le,rr){var yr=le.getLastToken(rr);if(yr&&yr.kind===26)return!1;if(Re(le.kind)){if(yr&&yr.kind===27)return!1}else if(vn(le.kind)){var ct=e.last(le.getChildren(rr));if(ct&&e.isModuleBlock(ct))return!1}else if(Qr(le.kind)){var ct=e.last(le.getChildren(rr));if(ct&&e.isFunctionBlock(ct))return!1}else if(!Xn(le.kind))return!1;if(le.kind===239)return!0;var jt=e.findAncestor(le,function(Ta){return!Ta.parent}),yn=Fe(le,jt,rr);if(!yn||yn.kind===19)return!0;var ha=rr.getLineAndCharacterOfPosition(le.getEnd()).line,ri=rr.getLineAndCharacterOfPosition(yn.getStart(rr)).line;return ha!==ri}function Ia(le,rr,yr){var ct=e.findAncestor(rr,function(jt){return jt.end!==le?\"quit\":e.syntaxMayBeASICandidate(jt.kind)});return!!ct&&gi(ct,yr)}e.positionIsASICandidate=Ia;function oo(le){var rr=0,yr=0,ct=5;return e.forEachChild(le,function jt(yn){if(Xn(yn.kind)){var ha=yn.getLastToken(le);ha&&ha.kind===26?rr++:yr++}return rr+yr>=ct?!0:e.forEachChild(yn,jt)}),rr===0&&yr<=1?!0:rr/yr>1/ct}e.probablyUsesSemicolons=oo;function Wo(le,rr){return Co(le,le.getDirectories,rr)||[]}e.tryGetDirectories=Wo;function Ir(le,rr,yr,ct,jt){return Co(le,le.readDirectory,rr,yr,ct,jt)||e.emptyArray}e.tryReadDirectory=Ir;function Us(le,rr){return Co(le,le.fileExists,rr)}e.tryFileExists=Us;function il(le,rr){return Ml(function(){return e.directoryProbablyExists(rr,le)})||!1}e.tryDirectoryExists=il;function Ml(le){try{return le()}catch{return}}e.tryAndIgnoreErrors=Ml;function Co(le,rr){for(var yr=[],ct=2;ct<arguments.length;ct++)yr[ct-2]=arguments[ct];return Ml(function(){return rr&&rr.apply(le,yr)})}e.tryIOAndConsumeErrors=Co;function Vs(le,rr,yr){var ct=[];return e.forEachAncestorDirectory(le,function(jt){if(jt===yr)return!0;var yn=e.combinePaths(jt,\"package.json\");Us(rr,yn)&&ct.push(yn)}),ct}e.findPackageJsons=Vs;function Ql(le,rr){var yr;return e.forEachAncestorDirectory(le,function(ct){if(ct===\"node_modules\"||(yr=e.findConfigFile(ct,function(jt){return Us(rr,jt)},\"package.json\"),yr))return!0}),yr}e.findPackageJson=Ql;function zl(le,rr){if(!rr.fileExists)return[];var yr=[];return e.forEachAncestorDirectory(e.getDirectoryPath(le),function(ct){var jt=e.combinePaths(ct,\"package.json\");if(rr.fileExists(jt)){var yn=uc(jt,rr);yn&&yr.push(yn)}}),yr}e.getPackageJsonsVisibleToFile=zl;function uc(le,rr){if(!rr.readFile)return;var yr=[\"dependencies\",\"devDependencies\",\"optionalDependencies\",\"peerDependencies\"],ct=rr.readFile(le)||\"\",jt=no(ct),yn={};if(jt)for(var ha=0,ri=yr;ha<ri.length;ha++){var Ta=ri[ha],Ya=jt[Ta];if(!!Ya){var fi=new e.Map;for(var ci in Ya)fi.set(ci,Ya[ci]);yn[Ta]=fi}}var Si=[[1,yn.dependencies],[2,yn.devDependencies],[8,yn.optionalDependencies],[4,yn.peerDependencies]];return Rn(Rn({},yn),{parseable:!!jt,fileName:le,get:Do,has:function(bo,Ns){return!!Do(bo,Ns)}});function Do(bo,Ns){Ns===void 0&&(Ns=15);for(var Ys=0,Nu=Si;Ys<Nu.length;Ys++){var gf=Nu[Ys],Zl=gf[0],jc=gf[1];if(jc&&Ns&Zl){var Mr=jc.get(bo);if(Mr!==void 0)return Mr}}}}e.createPackageJsonInfo=uc;function cu(le,rr,yr){var ct=(yr.getPackageJsonsVisibleToFile&&yr.getPackageJsonsVisibleToFile(le.fileName)||zl(le.fileName,yr)).filter(function(Si){return Si.parseable}),jt;return{allowsImportingAmbientModule:ha,allowsImportingSourceFile:ri,allowsImportingSpecifier:Ta};function yn(Si){for(var Do=ci(Si),bo=0,Ns=ct;bo<Ns.length;bo++){var Ys=Ns[bo];if(Ys.has(Do)||Ys.has(e.getTypesPackageName(Do)))return!0}return!1}function ha(Si,Do){if(!ct.length||!Si.valueDeclaration)return!0;var bo=Si.valueDeclaration.getSourceFile(),Ns=fi(bo.fileName,Do);if(typeof Ns==\"undefined\")return!0;var Ys=e.stripQuotes(Si.getName());return Ya(Ys)?!0:yn(Ns)||yn(Ys)}function ri(Si,Do){if(!ct.length)return!0;var bo=fi(Si.fileName,Do);return bo?yn(bo):!0}function Ta(Si){return!ct.length||Ya(Si)||e.pathIsRelative(Si)||e.isRootedDiskPath(Si)?!0:yn(Si)}function Ya(Si){return!!(e.isSourceFileJS(le)&&e.JsTyping.nodeCoreModules.has(Si)&&(jt===void 0&&(jt=ql(le)),jt))}function fi(Si,Do){if(!!e.stringContains(Si,\"node_modules\")){var bo=e.moduleSpecifiers.getNodeModulesPackageName(yr.getCompilationSettings(),le.path,Si,Do,rr);if(!!bo&&!e.pathIsRelative(bo)&&!e.isRootedDiskPath(bo))return ci(bo)}}function ci(Si){var Do=e.getPathComponents(e.getPackageNameFromTypesPackageName(Si)).slice(1);return e.startsWith(Do[0],\"@\")?\"\".concat(Do[0],\"/\").concat(Do[1]):Do[0]}}e.createPackageJsonImportFilter=cu;function no(le){try{return JSON.parse(le)}catch{return}}function ql(le){return e.some(le.imports,function(rr){var yr=rr.text;return e.JsTyping.nodeCoreModules.has(yr)})}e.consumesNodeCoreModules=ql;function fc(le){return e.contains(e.getPathComponents(le),\"node_modules\")}e.isInsideNodeModules=fc;function Ws(le){return le.file!==void 0&&le.start!==void 0&&le.length!==void 0}e.isDiagnosticWithLocation=Ws;function xc(le,rr){var yr=dr(le),ct=e.binarySearchKey(rr,yr,e.identity,e.compareTextSpans);if(ct>=0){var jt=rr[ct];return e.Debug.assertEqual(jt.file,le.getSourceFile(),\"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile\"),e.cast(jt,Ws)}}e.findDiagnosticForNode=xc;function Ic(le,rr){var yr,ct=e.binarySearchKey(rr,le.start,function(ri){return ri.start},e.compareValues);for(ct<0&&(ct=~ct);((yr=rr[ct-1])===null||yr===void 0?void 0:yr.start)===le.start;)ct--;for(var jt=[],yn=e.textSpanEnd(le);;){var ha=e.tryCast(rr[ct],Ws);if(!ha||ha.start>yn)break;e.textSpanContainsTextSpan(le,ha)&&jt.push(ha),ct++}return jt}e.getDiagnosticsWithinSpan=Ic;function La(le){var rr=le.startPosition,yr=le.endPosition;return e.createTextSpanFromBounds(rr,yr===void 0?rr:yr)}e.getRefactorContextSpan=La;function uu(le,rr){var yr=Hr(le,rr.start),ct=e.findAncestor(yr,function(jt){return jt.getStart(le)<rr.start||jt.getEnd()>e.textSpanEnd(rr)?\"quit\":e.isExpression(jt)&&Ci(rr,dr(jt,le))});return ct}e.getFixableErrorSpanExpression=uu;function dc(le,rr,yr){return yr===void 0&&(yr=e.identity),le?e.isArray(le)?yr(e.map(le,rr)):rr(le,0):void 0}e.mapOneOrMany=dc;function Nc(le){return e.isArray(le)?e.first(le):le}e.firstOrOnly=Nc;function wr(le,rr){return!(le.flags&33554432)&&(le.escapedName===\"export=\"||le.escapedName===\"default\")?e.firstDefined(le.declarations,function(yr){var ct;return e.isExportAssignment(yr)?(ct=e.tryCast(e.skipOuterExpressions(yr.expression),e.isIdentifier))===null||ct===void 0?void 0:ct.text:void 0})||e.codefix.moduleSymbolToValidIdentifier($r(le),rr):le.name}e.getNameForExportedSymbol=wr;function $r(le){var rr;return e.Debug.checkDefined(le.parent,\"Symbol parent was undefined. Flags: \".concat(e.Debug.formatSymbolFlags(le.flags),\". \")+\"Declarations: \".concat((rr=le.declarations)===null||rr===void 0?void 0:rr.map(function(yr){var ct=e.Debug.formatSyntaxKind(yr.kind),jt=e.isInJSFile(yr),yn=yr.expression;return(jt?\"[JS]\":\"\")+ct+(yn?\" (expression: \".concat(e.Debug.formatSyntaxKind(yn.kind),\")\"):\"\")}).join(\", \"),\".\"))}function Lt(le,rr,yr){var ct=rr.length;if(ct+yr>le.length)return!1;for(var jt=0;jt<ct;jt++)if(rr.charCodeAt(jt)!==le.charCodeAt(jt+yr))return!1;return!0}e.stringContainsAt=Lt;function Kt(le){return le.charCodeAt(0)===95}e.startsWithUnderscore=Kt;function pn(le){return!fn(le)}e.isGlobalDeclaration=pn;function fn(le){var rr=le.getSourceFile();return!rr.externalModuleIndicator&&!rr.commonJsModuleIndicator?!1:e.isInJSFile(le)||!e.findAncestor(le,e.isGlobalScopeAugmentation)}e.isNonGlobalDeclaration=fn;function kn(le){return!!(e.getCombinedNodeFlagsAlwaysIncludeJSDoc(le)&8192)}e.isDeprecatedDeclaration=kn;function Kn(le,rr){var yr=e.firstDefined(le.imports,function(ct){if(e.JsTyping.nodeCoreModules.has(ct.text))return e.startsWith(ct.text,\"node:\")});return yr!=null?yr:rr.usesUriStyleNodeCoreModules}e.shouldUseUriStyleNodeCoreModules=Kn;function Fa(le){return le===`\n`?1:0}e.getNewLineKind=Fa;function ua(le){return e.isArray(le)?e.formatStringFromArgs(e.getLocaleSpecificMessage(le[0]),le.slice(1)):e.getLocaleSpecificMessage(le)}e.diagnosticToString=ua}(jr||(jr={})),function(e){(function(ie){ie[ie.Named=0]=\"Named\",ie[ie.Default=1]=\"Default\",ie[ie.Namespace=2]=\"Namespace\",ie[ie.CommonJS=3]=\"CommonJS\"})(e.ImportKind||(e.ImportKind={})),function(ie){ie[ie.Named=0]=\"Named\",ie[ie.Default=1]=\"Default\",ie[ie.ExportEquals=2]=\"ExportEquals\",ie[ie.UMD=3]=\"UMD\"}(e.ExportKind||(e.ExportKind={}));function n(ie){var b=1,M=e.createMultiMap(),S=new e.Map,B,H={isUsableByFile:function(Z){return Z===B},isEmpty:function(){return!M.size},clear:function(){M.clear(),S.clear(),B=void 0},add:function(Z,ne,F,Q,V,re,T,N,y){Z!==B&&(H.clear(),B=Z);var D=re===1,C=D&&e.getLocalSymbolForExportDefault(ne)||ne,m=re===0||e.isExternalModuleSymbol(C)?e.unescapeLeadingUnderscores(F):e.getNameForExportedSymbol(C,N),u=e.stripQuotes(Q.name),g=b++,P=e.skipAlias(ne,y),te=ne.flags&33554432?void 0:ne,ue=Q.flags&33554432?void 0:Q;(!te||!ue)&&S.set(g,[ne,Q]),M.add(w(m,ne,e.isExternalModuleNameRelative(u)?void 0:u,y),{id:g,symbolTableKey:F,symbolName:m,moduleName:u,moduleFile:V,moduleFileName:V==null?void 0:V.fileName,exportKind:re,targetFlags:P.flags,isFromPackageJson:T,symbol:te,moduleSymbol:ue})},get:function(Z,ne){if(Z===B){var F=M.get(ne);return F==null?void 0:F.map(I)}},forEach:function(Z,ne){Z===B&&M.forEach(function(F,Q){var V=x(Q),re=V.symbolName,T=V.ambientModuleName;ne(F.map(I),re,!!T,Q)})},releaseSymbols:function(){S.clear()},onFileChanged:function(Z,ne,F){return O(Z)&&O(ne)?!1:B&&B!==ne.path||F&&e.consumesNodeCoreModules(Z)!==e.consumesNodeCoreModules(ne)||!e.arrayIsEqualTo(Z.moduleAugmentations,ne.moduleAugmentations)||!q(Z,ne)?(H.clear(),!0):(B=ne.path,!1)}};return e.Debug.isDebugging&&Object.defineProperty(H,\"__cache\",{get:function(){return M}}),H;function I(Z){if(Z.symbol&&Z.moduleSymbol)return Z;var ne=Z.id,F=Z.exportKind,Q=Z.targetFlags,V=Z.isFromPackageJson,re=Z.moduleFileName,T=S.get(ne)||e.emptyArray,N=T[0],y=T[1];if(N&&y)return{symbol:N,moduleSymbol:y,moduleFileName:re,exportKind:F,targetFlags:Q,isFromPackageJson:V};var D=(V?ie.getPackageJsonAutoImportProvider():ie.getCurrentProgram()).getTypeChecker(),C=Z.moduleSymbol||y||e.Debug.checkDefined(Z.moduleFile?D.getMergedSymbol(Z.moduleFile.symbol):D.tryFindAmbientModule(Z.moduleName)),m=Z.symbol||N||e.Debug.checkDefined(F===2?D.resolveExternalModuleSymbol(C):D.tryGetMemberInModuleExportsAndProperties(e.unescapeLeadingUnderscores(Z.symbolTableKey),C),\"Could not find symbol '\".concat(Z.symbolName,\"' by key '\").concat(Z.symbolTableKey,\"' in module \").concat(C.name));return S.set(ne,[m,C]),{symbol:m,moduleSymbol:C,moduleFileName:re,exportKind:F,targetFlags:Q,isFromPackageJson:V}}function w(Z,ne,F,Q){var V=F||\"\";return\"\".concat(Z,\"|\").concat(e.getSymbolId(e.skipAlias(ne,Q)),\"|\").concat(V)}function x(Z){var ne=Z.substring(0,Z.indexOf(\"|\")),F=Z.substring(Z.lastIndexOf(\"|\")+1),Q=F===\"\"?void 0:F;return{symbolName:ne,ambientModuleName:Q}}function O(Z){return!Z.commonJsModuleIndicator&&!Z.externalModuleIndicator&&!Z.moduleAugmentations&&!Z.ambientModuleNames}function q(Z,ne){if(!e.arrayIsEqualTo(Z.ambientModuleNames,ne.ambientModuleNames))return!1;for(var F=-1,Q=-1,V=function(D){var C=function(m){return e.isNonGlobalAmbientModule(m)&&m.name.text===D};if(F=e.findIndex(Z.statements,C,F+1),Q=e.findIndex(ne.statements,C,Q+1),Z.statements[F]!==ne.statements[Q])return{value:!1}},re=0,T=ne.ambientModuleNames;re<T.length;re++){var N=T[re],y=V(N);if(typeof y==\"object\")return y.value}return!0}}e.createCacheableExportInfoMap=n;function f(ie,b,M,S,B,H,I){var w;if(b===M)return!1;var x=I==null?void 0:I.get(b.path,M.path,S);if((x==null?void 0:x.isAutoImportable)!==void 0)return x.isAutoImportable;var O=e.hostGetCanonicalFileName(H),q=(w=H.getGlobalTypingsCacheLocation)===null||w===void 0?void 0:w.call(H),Z=!!e.moduleSpecifiers.forEachFileNameOfModule(b.fileName,M.fileName,H,!1,function(F){var Q=ie.getSourceFile(F);return(Q===M||!Q)&&p(b.fileName,F,O,q)});if(B){var ne=Z&&B.allowsImportingSourceFile(M,H);return I==null||I.setIsAutoImportable(b.path,M.path,S,ne),ne}return Z}e.isImportableFile=f;function p(ie,b,M,S){var B=e.forEachAncestorDirectory(b,function(I){return e.getBaseFileName(I)===\"node_modules\"?I:void 0}),H=B&&e.getDirectoryPath(M(B));return H===void 0||e.startsWith(M(ie),H)||!!S&&e.startsWith(M(S),H)}function a(ie,b,M,S){var B,H;d(ie.getTypeChecker(),ie.getSourceFiles(),function(x,O){return S(x,O,ie,!1)});var I=M&&((B=b.getPackageJsonAutoImportProvider)===null||B===void 0?void 0:B.call(b));if(I){var w=e.timestamp();d(I.getTypeChecker(),I.getSourceFiles(),function(x,O){return S(x,O,I,!0)}),(H=b.log)===null||H===void 0||H.call(b,\"forEachExternalModuleToImportFrom autoImportProvider: \".concat(e.timestamp()-w))}}e.forEachExternalModuleToImportFrom=a;function d(ie,b,M){for(var S=0,B=ie.getAmbientModules();S<B.length;S++){var H=B[S];e.stringContains(H.name,\"*\")||M(H,void 0)}for(var I=0,w=b;I<w.length;I++){var x=w[I];e.isExternalOrCommonJsModule(x)&&M(ie.getMergedSymbol(x.symbol),x)}}function k(ie,b,M,S){var B,H,I,w,x,O=e.timestamp();(B=b.getPackageJsonAutoImportProvider)===null||B===void 0||B.call(b);var q=((H=b.getCachedExportInfoMap)===null||H===void 0?void 0:H.call(b))||n({getCurrentProgram:function(){return M},getPackageJsonAutoImportProvider:function(){var Q;return(Q=b.getPackageJsonAutoImportProvider)===null||Q===void 0?void 0:Q.call(b)}});if(q.isUsableByFile(ie.path))return(I=b.log)===null||I===void 0||I.call(b,\"getExportInfoMap: cache hit\"),q;(w=b.log)===null||w===void 0||w.call(b,\"getExportInfoMap: cache miss or empty; calculating new results\");var Z=M.getCompilerOptions(),ne=e.getEmitScriptTarget(Z),F=0;return a(M,b,!0,function(Q,V,re,T){++F%100===0&&(S==null||S.throwIfCancellationRequested());var N=new e.Map,y=re.getTypeChecker(),D=J(Q,y,Z);D&&h(D.symbol,y)&&q.add(ie.path,D.symbol,D.exportKind===1?\"default\":\"export=\",Q,V,D.exportKind,T,ne,y),y.forEachExportAndPropertyOfModule(Q,function(C,m){C!==(D==null?void 0:D.symbol)&&h(C,y)&&e.addToSeen(N,m)&&q.add(ie.path,C,m,Q,V,0,T,ne,y)})}),(x=b.log)===null||x===void 0||x.call(b,\"getExportInfoMap: done in \".concat(e.timestamp()-O,\" ms\")),q}e.getExportInfoMap=k;function J(ie,b,M){var S=v(ie,b);if(!!S){var B=S.symbol,H=S.exportKind,I=A(B,b,M);return I&&Rn({symbol:B,exportKind:H},I)}}e.getDefaultLikeExportInfo=J;function h(ie,b){return!b.isUndefinedSymbol(ie)&&!b.isUnknownSymbol(ie)&&!e.isKnownSymbol(ie)&&!e.isPrivateIdentifierSymbol(ie)}function v(ie,b){var M=b.resolveExternalModuleSymbol(ie);if(M!==ie)return{symbol:M,exportKind:2};var S=b.tryGetMemberInModuleExports(\"default\",ie);if(S)return{symbol:S,exportKind:1}}function A(ie,b,M){var S=e.getLocalSymbolForExportDefault(ie);if(S)return{symbolForMeaning:S,name:S.name};var B=z(ie);if(B!==void 0)return{symbolForMeaning:ie,name:B};if(ie.flags&2097152){var H=b.getImmediateAliasedSymbol(ie);if(H&&H.parent)return A(H,b,M)}return ie.escapedName!==\"default\"&&ie.escapedName!==\"export=\"?{symbolForMeaning:ie,name:ie.getName()}:{symbolForMeaning:ie,name:e.getNameForExportedSymbol(ie,M.target)}}function z(ie){return ie.declarations&&e.firstDefined(ie.declarations,function(b){var M;if(e.isExportAssignment(b))return(M=e.tryCast(e.skipOuterExpressions(b.expression),e.isIdentifier))===null||M===void 0?void 0:M.text;if(e.isExportSpecifier(b))return e.Debug.assert(b.name.text===\"default\",\"Expected the specifier to be a default export\"),b.propertyName&&b.propertyName.text})}}(jr||(jr={})),function(e){function n(){var O=e.createScanner(99,!1);function q(ne,F,Q){return d(Z(ne,F,Q),ne)}function Z(ne,F,Q){var V=0,re=0,T=[],N=h(F),y=N.prefix,D=N.pushTemplate;ne=y+ne;var C=y.length;D&&T.push(15),O.setText(ne);var m=0,u=[],g=0;do{V=O.scan(),e.isTrivia(V)||(ue(),re=V);var P=O.getTextPos();if(a(O.getTokenPos(),P,C,z(V),u),P>=ne.length){var te=p(O,V,e.lastOrUndefined(T));te!==void 0&&(m=te)}}while(V!==1);function ue(){switch(V){case 43:case 68:!f[re]&&O.reScanSlashToken()===13&&(V=13);break;case 29:re===79&&g++;break;case 31:g>0&&g--;break;case 130:case 149:case 146:case 133:case 150:g>0&&!Q&&(V=79);break;case 15:T.push(V);break;case 18:T.length>0&&T.push(V);break;case 19:if(T.length>0){var X=e.lastOrUndefined(T);X===15?(V=O.reScanTemplateToken(!1),V===17?T.pop():e.Debug.assertEqual(V,16,\"Should have been a template middle.\")):(e.Debug.assertEqual(X,18,\"Should have been an open brace\"),T.pop())}break;default:if(!e.isKeyword(V))break;(re===24||e.isKeyword(re)&&e.isKeyword(V)&&!J(re,V))&&(V=79)}}return{endOfLineState:m,spans:u}}return{getClassificationsForLine:q,getEncodedLexicalClassifications:Z}}e.createClassifier=n;var f=e.arrayToNumericMap([79,10,8,9,13,108,45,46,21,23,19,110,95],function(O){return O},function(){return!0});function p(O,q,Z){switch(q){case 10:{if(!O.isUnterminated())return;for(var ne=O.getTokenText(),F=ne.length-1,Q=0;ne.charCodeAt(F-Q)===92;)Q++;return(Q&1)===0?void 0:ne.charCodeAt(0)===34?3:2}case 3:return O.isUnterminated()?1:void 0;default:if(e.isTemplateLiteralKind(q)){if(!O.isUnterminated())return;switch(q){case 17:return 5;case 14:return 4;default:return e.Debug.fail(\"Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #\"+q)}}return Z===15?6:void 0}}function a(O,q,Z,ne,F){if(ne!==8){O===0&&Z>0&&(O+=Z);var Q=q-O;Q>0&&F.push(O-Z,Q,ne)}}function d(O,q){for(var Z=[],ne=O.spans,F=0,Q=0;Q<ne.length;Q+=3){var V=ne[Q],re=ne[Q+1],T=ne[Q+2];if(F>=0){var N=V-F;N>0&&Z.push({length:N,classification:e.TokenClass.Whitespace})}Z.push({length:re,classification:k(T)}),F=V+re}var y=q.length-F;return y>0&&Z.push({length:y,classification:e.TokenClass.Whitespace}),{entries:Z,finalLexState:O.endOfLineState}}function k(O){switch(O){case 1:return e.TokenClass.Comment;case 3:return e.TokenClass.Keyword;case 4:return e.TokenClass.NumberLiteral;case 25:return e.TokenClass.BigIntLiteral;case 5:return e.TokenClass.Operator;case 6:return e.TokenClass.StringLiteral;case 8:return e.TokenClass.Whitespace;case 10:return e.TokenClass.Punctuation;case 2:case 11:case 12:case 13:case 14:case 15:case 16:case 9:case 17:return e.TokenClass.Identifier;default:return}}function J(O,q){if(!e.isAccessibilityModifier(O))return!0;switch(q){case 136:case 148:case 134:case 124:return!0;default:return!1}}function h(O){switch(O){case 3:return{prefix:`\"\\\\\n`};case 2:return{prefix:`'\\\\\n`};case 1:return{prefix:`/*\n`};case 4:return{prefix:\"`\\n\"};case 5:return{prefix:`}\n`,pushTemplate:!0};case 6:return{prefix:\"\",pushTemplate:!0};case 0:return{prefix:\"\"};default:return e.Debug.assertNever(O)}}function v(O){switch(O){case 41:case 43:case 44:case 39:case 40:case 47:case 48:case 49:case 29:case 31:case 32:case 33:case 102:case 101:case 127:case 34:case 35:case 36:case 37:case 50:case 52:case 51:case 55:case 56:case 74:case 73:case 78:case 70:case 71:case 72:case 64:case 65:case 66:case 68:case 69:case 63:case 27:case 60:case 75:case 76:case 77:return!0;default:return!1}}function A(O){switch(O){case 39:case 40:case 54:case 53:case 45:case 46:return!0;default:return!1}}function z(O){if(e.isKeyword(O))return 3;if(v(O)||A(O))return 5;if(O>=18&&O<=78)return 10;switch(O){case 8:return 4;case 9:return 25;case 10:return 6;case 13:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 79:default:return e.isTemplateLiteralKind(O)?6:2}}function ie(O,q,Z,ne,F){return I(M(O,q,Z,ne,F))}e.getSemanticClassifications=ie;function b(O,q){switch(q){case 260:case 256:case 257:case 255:case 225:case 212:case 213:O.throwIfCancellationRequested()}}function M(O,q,Z,ne,F){var Q=[];return Z.forEachChild(function re(T){if(!(!T||!e.textSpanIntersectsWith(F,T.pos,T.getFullWidth()))){if(b(q,T.kind),e.isIdentifier(T)&&!e.nodeIsMissing(T)&&ne.has(T.escapedText)){var N=O.getSymbolAtLocation(T),y=N&&S(N,e.getMeaningFromLocation(T),O);y&&V(T.getStart(Z),T.getEnd(),y)}T.forEachChild(re)}}),{spans:Q,endOfLineState:0};function V(re,T,N){var y=T-re;e.Debug.assert(y>0,\"Classification had non-positive length of \".concat(y)),Q.push(re),Q.push(y),Q.push(N)}}e.getEncodedSemanticClassifications=M;function S(O,q,Z){var ne=O.getFlags();if((ne&2885600)!==0)return ne&32?11:ne&384?12:ne&524288?16:ne&1536?q&4||q&1&&B(O)?14:void 0:ne&2097152?S(Z.getAliasedSymbol(O),q,Z):q&2?ne&64?13:ne&262144?15:void 0:void 0}function B(O){return e.some(O.declarations,function(q){return e.isModuleDeclaration(q)&&e.getModuleInstanceState(q)===1})}function H(O){switch(O){case 1:return\"comment\";case 2:return\"identifier\";case 3:return\"keyword\";case 4:return\"number\";case 25:return\"bigint\";case 5:return\"operator\";case 6:return\"string\";case 8:return\"whitespace\";case 9:return\"text\";case 10:return\"punctuation\";case 11:return\"class name\";case 12:return\"enum name\";case 13:return\"interface name\";case 14:return\"module name\";case 15:return\"type parameter name\";case 16:return\"type alias name\";case 17:return\"parameter name\";case 18:return\"doc comment tag name\";case 19:return\"jsx open tag name\";case 20:return\"jsx close tag name\";case 21:return\"jsx self closing tag name\";case 22:return\"jsx attribute\";case 23:return\"jsx text\";case 24:return\"jsx attribute string literal value\";default:return}}function I(O){e.Debug.assert(O.spans.length%3===0);for(var q=O.spans,Z=[],ne=0;ne<q.length;ne+=3)Z.push({textSpan:e.createTextSpan(q[ne],q[ne+1]),classificationType:H(q[ne+2])});return Z}function w(O,q,Z){return I(x(O,q,Z))}e.getSyntacticClassifications=w;function x(O,q,Z){var ne=Z.start,F=Z.length,Q=e.createScanner(99,!1,q.languageVariant,q.text),V=e.createScanner(99,!1,q.languageVariant,q.text),re=[];return j(q),{spans:re,endOfLineState:0};function T(Se,Ce,R){re.push(Se),re.push(Ce),re.push(R)}function N(Se){for(Q.setTextPos(Se.pos);;){var Ce=Q.getTextPos();if(!e.couldStartTrivia(q.text,Ce))return Ce;var R=Q.scan(),Y=Q.getTextPos(),U=Y-Ce;if(!e.isTrivia(R))return Ce;switch(R){case 4:case 5:continue;case 2:case 3:y(Se,R,Ce,U),Q.setTextPos(Y);continue;case 7:var K=q.text,Te=K.charCodeAt(Ce);if(Te===60||Te===62){T(Ce,U,1);continue}e.Debug.assert(Te===124||Te===61),g(K,Ce,Y);break;case 6:break;default:e.Debug.assertNever(R)}}}function y(Se,Ce,R,Y){if(Ce===3){var U=e.parseIsolatedJSDocComment(q.text,R,Y);if(U&&U.jsDoc){e.setParent(U.jsDoc,Se),C(U.jsDoc);return}}else if(Ce===2&&m(R,Y))return;D(R,Y)}function D(Se,Ce){T(Se,Ce,1)}function C(Se){var Ce,R,Y,U,K,Te,ge,ke=Se.pos;if(Se.tags)for(var Pe=0,Ie=Se.tags;Pe<Ie.length;Pe++){var Ge=Ie[Pe];Ge.pos!==ke&&D(ke,Ge.pos-ke),T(Ge.pos,1,10),T(Ge.tagName.pos,Ge.tagName.end-Ge.tagName.pos,18),ke=Ge.tagName.end;var he=Ge.tagName.end;switch(Ge.kind){case 338:var ve=Ge;Le(ve),he=ve.isNameFirst&&((Ce=ve.typeExpression)===null||Ce===void 0?void 0:Ce.end)||ve.name.end;break;case 345:var Ve=Ge;he=Ve.isNameFirst&&((R=Ve.typeExpression)===null||R===void 0?void 0:R.end)||Ve.name.end;break;case 342:u(Ge),ke=Ge.end,he=Ge.typeParameters.end;break;case 343:var _e=Ge;he=((Y=_e.typeExpression)===null||Y===void 0?void 0:Y.kind)===307&&((U=_e.fullName)===null||U===void 0?void 0:U.end)||((K=_e.typeExpression)===null||K===void 0?void 0:K.end)||he;break;case 336:he=Ge.typeExpression.end;break;case 341:j(Ge.typeExpression),ke=Ge.end,he=Ge.typeExpression.end;break;case 340:case 337:he=Ge.typeExpression.end;break;case 339:j(Ge.typeExpression),ke=Ge.end,he=((Te=Ge.typeExpression)===null||Te===void 0?void 0:Te.end)||he;break;case 344:he=((ge=Ge.name)===null||ge===void 0?void 0:ge.end)||he;break;case 326:case 327:he=Ge.class.end;break}typeof Ge.comment==\"object\"?D(Ge.comment.pos,Ge.comment.end-Ge.comment.pos):typeof Ge.comment==\"string\"&&D(he,Ge.end-he)}ke!==Se.end&&D(ke,Se.end-ke);return;function Le(qe){qe.isNameFirst&&(D(ke,qe.name.pos-ke),T(qe.name.pos,qe.name.end-qe.name.pos,17),ke=qe.name.end),qe.typeExpression&&(D(ke,qe.typeExpression.pos-ke),j(qe.typeExpression),ke=qe.typeExpression.end),qe.isNameFirst||(D(ke,qe.name.pos-ke),T(qe.name.pos,qe.name.end-qe.name.pos,17),ke=qe.name.end)}}function m(Se,Ce){var R=/^(\\/\\/\\/\\s*)(<)(?:(\\S+)((?:[^/]|\\/[^>])*)(\\/>)?)?/im,Y=/(\\s)(\\S+)(\\s*)(=)(\\s*)('[^']+'|\"[^\"]+\")/img,U=q.text.substr(Se,Ce),K=R.exec(U);if(!K||!K[3]||!(K[3]in e.commentPragmas))return!1;var Te=Se;D(Te,K[1].length),Te+=K[1].length,T(Te,K[2].length,10),Te+=K[2].length,T(Te,K[3].length,21),Te+=K[3].length;for(var ge=K[4],ke=Te;;){var Pe=Y.exec(ge);if(!Pe)break;var Ie=Te+Pe.index+Pe[1].length;Ie>ke&&(D(ke,Ie-ke),ke=Ie),T(ke,Pe[2].length,22),ke+=Pe[2].length,Pe[3].length&&(D(ke,Pe[3].length),ke+=Pe[3].length),T(ke,Pe[4].length,5),ke+=Pe[4].length,Pe[5].length&&(D(ke,Pe[5].length),ke+=Pe[5].length),T(ke,Pe[6].length,24),ke+=Pe[6].length}Te+=K[4].length,Te>ke&&D(ke,Te-ke),K[5]&&(T(Te,K[5].length,10),Te+=K[5].length);var Ge=Se+Ce;return Te<Ge&&D(Te,Ge-Te),!0}function u(Se){for(var Ce=0,R=Se.getChildren();Ce<R.length;Ce++){var Y=R[Ce];j(Y)}}function g(Se,Ce,R){var Y;for(Y=Ce;Y<R&&!e.isLineBreak(Se.charCodeAt(Y));Y++);for(T(Ce,Y-Ce,1),V.setTextPos(Y);V.getTextPos()<R;)P()}function P(){var Se=V.getTextPos(),Ce=V.scan(),R=V.getTextPos(),Y=X(Ce);Y&&T(Se,R-Se,Y)}function te(Se){if(e.isJSDoc(Se)||e.nodeIsMissing(Se))return!0;var Ce=ue(Se);if(!e.isToken(Se)&&Se.kind!==11&&Ce===void 0)return!1;var R=Se.kind===11?Se.pos:N(Se),Y=Se.end-R;if(e.Debug.assert(Y>=0),Y>0){var U=Ce||X(Se.kind,Se);U&&T(R,Y,U)}return!0}function ue(Se){switch(Se.parent&&Se.parent.kind){case 279:if(Se.parent.tagName===Se)return 19;break;case 280:if(Se.parent.tagName===Se)return 20;break;case 278:if(Se.parent.tagName===Se)return 21;break;case 284:if(Se.parent.name===Se)return 22;break}}function X(Se,Ce){if(e.isKeyword(Se))return 3;if((Se===29||Se===31)&&Ce&&e.getTypeArgumentOrTypeParameterList(Ce.parent))return 10;if(e.isPunctuation(Se)){if(Ce){var R=Ce.parent;if(Se===63&&(R.kind===253||R.kind===166||R.kind===163||R.kind===284)||R.kind===220||R.kind===218||R.kind===219||R.kind===221)return 5}return 10}else{if(Se===8)return 4;if(Se===9)return 25;if(Se===10)return Ce&&Ce.parent.kind===284?24:6;if(Se===13)return 6;if(e.isTemplateLiteralKind(Se))return 6;if(Se===11)return 23;if(Se===79){if(Ce)switch(Ce.parent.kind){case 256:return Ce.parent.name===Ce?11:void 0;case 162:return Ce.parent.name===Ce?15:void 0;case 257:return Ce.parent.name===Ce?13:void 0;case 259:return Ce.parent.name===Ce?12:void 0;case 260:return Ce.parent.name===Ce?14:void 0;case 163:return Ce.parent.name===Ce?e.isThisIdentifier(Ce)?3:17:void 0}return 2}}}function j(Se){if(!!Se&&e.decodedTextSpanIntersectsWith(ne,F,Se.pos,Se.getFullWidth())){b(O,Se.kind);for(var Ce=0,R=Se.getChildren(q);Ce<R.length;Ce++){var Y=R[Ce];te(Y)||j(Y)}}}}e.getEncodedSyntacticClassifications=x}(jr||(jr={})),function(e){(function(n){(function(f){(function(S){S[S.typeOffset=8]=\"typeOffset\",S[S.modifierMask=255]=\"modifierMask\"})(f.TokenEncodingConsts||(f.TokenEncodingConsts={})),function(S){S[S.class=0]=\"class\",S[S.enum=1]=\"enum\",S[S.interface=2]=\"interface\",S[S.namespace=3]=\"namespace\",S[S.typeParameter=4]=\"typeParameter\",S[S.type=5]=\"type\",S[S.parameter=6]=\"parameter\",S[S.variable=7]=\"variable\",S[S.enumMember=8]=\"enumMember\",S[S.property=9]=\"property\",S[S.function=10]=\"function\",S[S.member=11]=\"member\"}(f.TokenType||(f.TokenType={})),function(S){S[S.declaration=0]=\"declaration\",S[S.static=1]=\"static\",S[S.async=2]=\"async\",S[S.readonly=3]=\"readonly\",S[S.defaultLibrary=4]=\"defaultLibrary\",S[S.local=5]=\"local\"}(f.TokenModifier||(f.TokenModifier={}));function p(S,B,H,I){var w=a(S,B,H,I);e.Debug.assert(w.spans.length%3===0);for(var x=w.spans,O=[],q=0;q<x.length;q+=3)O.push({textSpan:e.createTextSpan(x[q],x[q+1]),classificationType:x[q+2]});return O}f.getSemanticClassifications=p;function a(S,B,H,I){return{spans:d(S,H,I,B),endOfLineState:0}}f.getEncodedSemanticClassifications=a;function d(S,B,H,I){var w=[],x=function(O,q,Z){w.push(O.getStart(B),O.getWidth(B),(q+1<<8)+Z)};return S&&B&&k(S,B,H,x,I),w}function k(S,B,H,I,w){var x=S.getTypeChecker(),O=!1;function q(Z){switch(Z.kind){case 260:case 256:case 257:case 255:case 225:case 212:case 213:w.throwIfCancellationRequested()}if(!(!Z||!e.textSpanIntersectsWith(H,Z.pos,Z.getFullWidth())||Z.getFullWidth()===0)){var ne=O;if((e.isJsxElement(Z)||e.isJsxSelfClosingElement(Z))&&(O=!0),e.isJsxExpression(Z)&&(O=!1),e.isIdentifier(Z)&&!O&&!z(Z)&&!e.isInfinityOrNaNString(Z.escapedText)){var F=x.getSymbolAtLocation(Z);if(F){F.flags&2097152&&(F=x.getAliasedSymbol(F));var Q=J(F,e.getMeaningFromLocation(Z));if(Q!==void 0){var V=0;if(Z.parent){var re=e.isBindingElement(Z.parent)||M.get(Z.parent.kind)===Q;re&&Z.parent.name===Z&&(V=1<<0)}Q===6&&b(Z)&&(Q=9),Q=h(x,Z,Q);var T=F.valueDeclaration;if(T){var N=e.getCombinedModifierFlags(T),y=e.getCombinedNodeFlags(T);N&32&&(V|=1<<1),N&256&&(V|=1<<2),Q!==0&&Q!==2&&(N&64||y&2||F.getFlags()&8)&&(V|=1<<3),(Q===7||Q===10)&&v(T,B)&&(V|=1<<5),S.isSourceFileDefaultLibrary(T.getSourceFile())&&(V|=1<<4)}else F.declarations&&F.declarations.some(function(D){return S.isSourceFileDefaultLibrary(D.getSourceFile())})&&(V|=1<<4);I(Z,Q,V)}}}e.forEachChild(Z,q),O=ne}}q(B)}function J(S,B){var H=S.getFlags();if(H&32)return 0;if(H&384)return 1;if(H&524288)return 5;if(H&64){if(B&2)return 2}else if(H&262144)return 4;var I=S.valueDeclaration||S.declarations&&S.declarations[0];return I&&e.isBindingElement(I)&&(I=A(I)),I&&M.get(I.kind)}function h(S,B,H){if(H===7||H===9||H===6){var I=S.getTypeAtLocation(B);if(I){var w=function(x){return x(I)||I.isUnion()&&I.types.some(x)};if(H!==6&&w(function(x){return x.getConstructSignatures().length>0}))return 0;if(w(function(x){return x.getCallSignatures().length>0})&&!w(function(x){return x.getProperties().length>0})||ie(B))return H===9?11:10}}return H}function v(S,B){return e.isBindingElement(S)&&(S=A(S)),e.isVariableDeclaration(S)?(!e.isSourceFile(S.parent.parent.parent)||e.isCatchClause(S.parent))&&S.getSourceFile()===B:e.isFunctionDeclaration(S)?!e.isSourceFile(S.parent)&&S.getSourceFile()===B:!1}function A(S){for(;;)if(e.isBindingElement(S.parent.parent))S=S.parent.parent;else return S.parent.parent}function z(S){var B=S.parent;return B&&(e.isImportClause(B)||e.isImportSpecifier(B)||e.isNamespaceImport(B))}function ie(S){for(;b(S);)S=S.parent;return e.isCallExpression(S.parent)&&S.parent.expression===S}function b(S){return e.isQualifiedName(S.parent)&&S.parent.right===S||e.isPropertyAccessExpression(S.parent)&&S.parent.name===S}var M=new e.Map([[253,7],[163,6],[166,9],[260,3],[259,1],[297,8],[256,0],[168,11],[255,10],[212,10],[167,11],[171,9],[172,9],[165,9],[257,2],[258,5],[162,4],[294,9],[295,9]])})(n.v2020||(n.v2020={}))})(e.classifier||(e.classifier={}))}(jr||(jr={})),function(e){(function(n){(function(f){function p(U,K,Te,ge,ke,Pe,Ie,Ge){if(e.isInReferenceComment(U,K)){var he=P(U,K,ge,ke);return he&&J(he)}if(e.isInString(U,K,Te)){if(!Te||!e.isStringLiteralLike(Te))return;var he=A(U,Te,K,Pe.getTypeChecker(),ge,ke,Ge);return a(he,Te,U,ke,Pe,Ie,ge,Ge)}}f.getStringLiteralCompletions=p;function a(U,K,Te,ge,ke,Pe,Ie,Ge){if(U!==void 0){var he=e.createTextSpanFromStringLiteralLikeContent(K);switch(U.kind){case 0:return J(U.paths);case 1:{var ve=[];return n.getCompletionEntriesFromSymbols(U.symbols,ve,K,K,Te,Te,ge,ke,99,Pe,4,Ge,Ie),{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:U.hasIndexSignature,optionalReplacementSpan:he,entries:ve}}case 2:{var ve=U.types.map(function(_e){return{name:_e.value,kindModifiers:\"\",kind:\"string\",sortText:n.SortText.LocationPriority,replacementSpan:e.getReplacementSpanForContextToken(K)}});return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:U.isNewIdentifier,optionalReplacementSpan:he,entries:ve}}default:return e.Debug.assertNever(U)}}}function d(U,K,Te,ge,ke,Pe,Ie,Ge,he){if(!(!ge||!e.isStringLiteralLike(ge))){var ve=A(K,ge,Te,ke,Pe,Ie,he);return ve&&k(U,ge,ve,K,ke,Ge)}}f.getStringLiteralCompletionDetails=d;function k(U,K,Te,ge,ke,Pe){switch(Te.kind){case 0:{var Ie=e.find(Te.paths,function(Ge){return Ge.name===U});return Ie&&n.createCompletionDetails(U,h(Ie.extension),Ie.kind,[e.textPart(U)])}case 1:{var Ie=e.find(Te.symbols,function(he){return he.name===U});return Ie&&n.createCompletionDetailsForSymbol(Ie,ke,ge,K,Pe)}case 2:return e.find(Te.types,function(Ge){return Ge.value===U})?n.createCompletionDetails(U,\"\",\"type\",[e.textPart(U)]):void 0;default:return e.Debug.assertNever(Te)}}function J(U){var K=!1,Te=!0,ge=U.map(function(ke){var Pe=ke.name,Ie=ke.kind,Ge=ke.span,he=ke.extension;return{name:Pe,kind:Ie,kindModifiers:h(he),sortText:n.SortText.LocationPriority,replacementSpan:Ge}});return{isGlobalCompletion:K,isMemberCompletion:!1,isNewIdentifierLocation:Te,entries:ge}}function h(U){switch(U){case\".d.ts\":return\".d.ts\";case\".js\":return\".js\";case\".json\":return\".json\";case\".jsx\":return\".jsx\";case\".ts\":return\".ts\";case\".tsx\":return\".tsx\";case\".d.mts\":return\".d.mts\";case\".mjs\":return\".mjs\";case\".mts\":return\".mts\";case\".d.cts\":return\".d.cts\";case\".cjs\":return\".cjs\";case\".cts\":return\".cts\";case\".tsbuildinfo\":return e.Debug.fail(\"Extension \".concat(\".tsbuildinfo\",\" is unsupported.\"));case void 0:return\"\";default:return e.Debug.assertNever(U)}}var v;(function(U){U[U.Paths=0]=\"Paths\",U[U.Properties=1]=\"Properties\",U[U.Types=2]=\"Types\"})(v||(v={}));function A(U,K,Te,ge,ke,Pe,Ie){var Ge=z(K.parent);switch(Ge.kind){case 195:{var he=z(Ge.parent);switch(he.kind){case 177:{var ve=he,Ve=e.findAncestor(Ge,function(Ar){return Ar.parent===ve});return Ve?{kind:2,types:B(ge.getTypeArgumentConstraint(Ve)),isNewIdentifier:!1}:void 0}case 193:var _e=he,Le=_e.indexType,qe=_e.objectType;return e.rangeContainsPosition(Le,Te)?M(ge.getTypeFromTypeNode(qe)):void 0;case 199:return{kind:0,paths:x(U,K,ke,Pe,ge,Ie)};case 186:{if(!e.isTypeReferenceNode(he.parent))return;var Xe=ie(he,Ge),De=B(ge.getTypeArgumentConstraint(he)).filter(function(Ar){return!e.contains(Xe,Ar.value)});return{kind:2,types:De,isNewIdentifier:!1}}default:return}}case 294:return e.isObjectLiteralExpression(Ge.parent)&&Ge.name===K?S(ge,Ge.parent):lr();case 206:{var Ae=Ge,Ye=Ae.expression,Dr=Ae.argumentExpression;return K===e.skipParentheses(Dr)?M(ge.getTypeAtLocation(Ye)):void 0}case 207:case 208:if(!Y(K)&&!e.isImportCall(Ge)){var br=e.SignatureHelp.getArgumentInfoForCompletions(K,Te,U);return br?b(br,ge):lr()}case 265:case 271:case 276:return{kind:0,paths:x(U,K,ke,Pe,ge,Ie)};default:return lr()}function lr(){return{kind:2,types:B(e.getContextualTypeFromParent(K,ge)),isNewIdentifier:!1}}}function z(U){switch(U.kind){case 190:return e.walkUpParenthesizedTypes(U);case 211:return e.walkUpParenthesizedExpressions(U);default:return U}}function ie(U,K){return e.mapDefined(U.types,function(Te){return Te!==K&&e.isLiteralTypeNode(Te)&&e.isStringLiteral(Te.literal)?Te.literal.text:void 0})}function b(U,K){var Te=!1,ge=new e.Map,ke=[];K.getResolvedSignature(U.invocation,ke,U.argumentCount);var Pe=e.flatMap(ke,function(Ie){if(!(!e.signatureHasRestParameter(Ie)&&U.argumentCount>Ie.parameters.length)){var Ge=K.getParameterType(Ie,U.argumentIndex);return Te=Te||!!(Ge.flags&4),B(Ge,ge)}});return{kind:2,types:Pe,isNewIdentifier:Te}}function M(U){return U&&{kind:1,symbols:e.filter(U.getApparentProperties(),function(K){return!(K.valueDeclaration&&e.isPrivateIdentifierClassElementDeclaration(K.valueDeclaration))}),hasIndexSignature:e.hasIndexSignature(U)}}function S(U,K){var Te=U.getContextualType(K);if(!!Te){var ge=U.getContextualType(K,4),ke=n.getPropertiesForObjectExpression(Te,ge,K,U);return{kind:1,symbols:ke,hasIndexSignature:e.hasIndexSignature(Te)}}}function B(U,K){return K===void 0&&(K=new e.Map),U?(U=e.skipConstraint(U),U.isUnion()?e.flatMap(U.types,function(Te){return B(Te,K)}):U.isStringLiteral()&&!(U.flags&1024)&&e.addToSeen(K,U.value)?[U]:e.emptyArray):e.emptyArray}function H(U,K,Te){return{name:U,kind:K,extension:Te}}function I(U){return H(U,\"directory\",void 0)}function w(U,K,Te){var ge=X(U,K),ke=U.length===0?void 0:e.createTextSpan(K,U.length);return Te.map(function(Pe){var Ie=Pe.name,Ge=Pe.kind,he=Pe.extension;return Math.max(Ie.indexOf(e.directorySeparator),Ie.indexOf(e.altDirectorySeparator))!==-1?{name:Ie,kind:Ge,extension:he,span:ke}:{name:Ie,kind:Ge,extension:he,span:ge}})}function x(U,K,Te,ge,ke,Pe){return w(K.text,K.getStart(U)+1,O(U,K,Te,ge,ke,Pe))}function O(U,K,Te,ge,ke,Pe){var Ie=e.normalizeSlashes(K.text),Ge=U.path,he=e.getDirectoryPath(Ge);return j(Ie)||!Te.baseUrl&&(e.isRootedDiskPath(Ie)||e.isUrl(Ie))?Z(Ie,he,Te,ge,Ge,ve()):N(Ie,he,Te,ge,ke);function ve(){var Ve=e.isStringLiteralLike(K)?e.getModeForUsageLocation(U,K):void 0;return Pe.importModuleSpecifierEnding===\"js\"||Ve===e.ModuleKind.ESNext?2:0}}function q(U,K){return K===void 0&&(K=0),{extensions:e.flatten(ne(U)),includeExtensionsOption:K}}function Z(U,K,Te,ge,ke,Pe){var Ie=q(Te,Pe);return Te.rootDirs?Q(Te.rootDirs,U,K,Ie,Te,ge,ke):re(U,K,Ie,ge,ke)}function ne(U){var K=e.getSupportedExtensions(U);return e.getEmitModuleResolutionKind(U)===e.ModuleResolutionKind.NodeJs?e.getSupportedExtensionsWithJsonIfResolveJsonModule(U,K):K}function F(U,K,Te,ge){U=U.map(function(Pe){return e.normalizePath(e.isRootedDiskPath(Pe)?Pe:e.combinePaths(K,Pe))});var ke=e.firstDefined(U,function(Pe){return e.containsPath(Pe,Te,K,ge)?Te.substr(Pe.length):void 0});return e.deduplicate(Gt(Gt([],U.map(function(Pe){return e.combinePaths(Pe,ke)}),!0),[Te],!1),e.equateStringsCaseSensitive,e.compareStringsCaseSensitive)}function Q(U,K,Te,ge,ke,Pe,Ie){var Ge=ke.project||Pe.getCurrentDirectory(),he=!(Pe.useCaseSensitiveFileNames&&Pe.useCaseSensitiveFileNames()),ve=F(U,Ge,Te,he);return e.flatMap(ve,function(Ve){return re(K,Ve,ge,Pe,Ie)})}var V;(function(U){U[U.Exclude=0]=\"Exclude\",U[U.Include=1]=\"Include\",U[U.ModuleSpecifierCompletion=2]=\"ModuleSpecifierCompletion\"})(V||(V={}));function re(U,K,Te,ge,ke,Pe){var Ie=Te.extensions,Ge=Te.includeExtensionsOption;Pe===void 0&&(Pe=[]),U===void 0&&(U=\"\"),U=e.normalizeSlashes(U),e.hasTrailingDirectorySeparator(U)||(U=e.getDirectoryPath(U)),U===\"\"&&(U=\".\"+e.directorySeparator),U=e.ensureTrailingDirectorySeparator(U);var he=e.resolvePath(K,U),ve=e.hasTrailingDirectorySeparator(he)?he:e.getDirectoryPath(he),Ve=!(ge.useCaseSensitiveFileNames&&ge.useCaseSensitiveFileNames());if(!e.tryDirectoryExists(ge,ve))return Pe;var _e=e.tryReadDirectory(ge,ve,Ie,void 0,[\"./*\"]);if(_e){for(var Le=new e.Map,qe=0,Xe=_e;qe<Xe.length;qe++){var De=Xe[qe];if(De=e.normalizePath(De),!(ke&&e.comparePaths(De,ke,K,Ve)===0)){var Ae=void 0,Ye=e.moduleSpecifiers.tryGetJSExtensionForFile(De,ge.getCompilationSettings());Ge===0&&!e.fileExtensionIsOneOf(De,[\".json\",\".mts\",\".cts\",\".d.mts\",\".d.cts\",\".mjs\",\".cjs\"])?(Ae=e.removeFileExtension(e.getBaseFileName(De)),Le.set(Ae,e.tryGetExtensionFromPath(De))):(e.fileExtensionIsOneOf(De,[\".mts\",\".cts\",\".d.mts\",\".d.cts\",\".mjs\",\".cjs\"])||Ge===2)&&Ye?(Ae=e.changeExtension(e.getBaseFileName(De),Ye),Le.set(Ae,Ye)):(Ae=e.getBaseFileName(De),Le.set(Ae,e.tryGetExtensionFromPath(De)))}}Le.forEach(function(Fe,$e){Pe.push(H($e,\"script\",Fe))})}var Dr=e.tryGetDirectories(ge,ve);if(Dr)for(var br=0,lr=Dr;br<lr.length;br++){var Ar=lr[br],kr=e.getBaseFileName(e.normalizePath(Ar));kr!==\"@types\"&&Pe.push(I(kr))}var Ke=e.findPackageJson(ve,ge);if(Ke){var Me=e.readJson(Ke,ge),Hr=Me.typesVersions;if(typeof Hr==\"object\"){var ur=e.getPackageJsonTypesVersionsPaths(Hr),gr=ur&&ur.paths,de=he.slice(e.ensureTrailingDirectorySeparator(ve).length);gr&&T(Pe,de,ve,Ie,gr,ge)}}return Pe}function T(U,K,Te,ge,ke,Pe){for(var Ie in ke)if(!!e.hasProperty(ke,Ie)){var Ge=ke[Ie];if(Ge)for(var he=function(De,Ae,Ye){U.some(function(Dr){return Dr.name===De})||U.push(H(De,Ae,Ye))},ve=0,Ve=D(Ie,Ge,K,Te,ge,Pe);ve<Ve.length;ve++){var _e=Ve[ve],Le=_e.name,qe=_e.kind,Xe=_e.extension;he(Le,qe,Xe)}}}function N(U,K,Te,ge,ke){var Pe=Te.baseUrl,Ie=Te.paths,Ge=[],he=q(Te);if(Pe){var ve=Te.project||ge.getCurrentDirectory(),Ve=e.normalizePath(e.combinePaths(ve,Pe));re(U,Ve,he,ge,void 0,Ge),Ie&&T(Ge,U,Ve,he.extensions,Ie,ge)}for(var _e=y(U),Le=0,qe=g(U,_e,ke);Le<qe.length;Le++){var Xe=qe[Le];Ge.push(H(Xe,\"external module name\",void 0))}if(te(ge,Te,K,_e,he,Ge),e.getEmitModuleResolutionKind(Te)===e.ModuleResolutionKind.NodeJs){var De=!1;if(_e===void 0)for(var Ae=function(lr){Ge.some(function(Ar){return Ar.name===lr})||(De=!0,Ge.push(H(lr,\"external module name\",void 0)))},Ye=0,Dr=ue(ge,K);Ye<Dr.length;Ye++){var br=Dr[Ye];Ae(br)}De||e.forEachAncestorDirectory(K,function(lr){var Ar=e.combinePaths(lr,\"node_modules\");e.tryDirectoryExists(ge,Ar)&&re(U,Ar,he,ge,void 0,Ge)})}return Ge}function y(U){return R(U)?e.hasTrailingDirectorySeparator(U)?U:e.getDirectoryPath(U):void 0}function D(U,K,Te,ge,ke,Pe){if(!e.endsWith(U,\"*\"))return e.stringContains(U,\"*\")?e.emptyArray:he(U);var Ie=U.slice(0,U.length-1),Ge=e.tryRemovePrefix(Te,Ie);return Ge===void 0?he(Ie):e.flatMap(K,function(ve){return C(Ge,ge,ve,ke,Pe)});function he(ve){return e.startsWith(ve,Te)?[I(ve)]:e.emptyArray}}function C(U,K,Te,ge,ke){if(!ke.readDirectory)return;var Pe=e.tryParsePattern(Te);if(Pe===void 0||e.isString(Pe))return;var Ie=e.resolvePath(Pe.prefix),Ge=e.hasTrailingDirectorySeparator(Pe.prefix)?Ie:e.getDirectoryPath(Ie),he=e.hasTrailingDirectorySeparator(Pe.prefix)?\"\":e.getBaseFileName(Ie),ve=R(U),Ve=ve?e.hasTrailingDirectorySeparator(U)?U:e.getDirectoryPath(U):void 0,_e=ve?e.combinePaths(Ge,he+Ve):Ge,Le=e.normalizePath(Pe.suffix),qe=e.normalizePath(e.combinePaths(K,_e)),Xe=ve?qe:e.ensureTrailingDirectorySeparator(qe)+he,De=Le?\"**/*\":\"./*\",Ae=e.mapDefined(e.tryReadDirectory(ke,qe,ge,void 0,[De]),function(br){var lr=e.tryGetExtensionFromPath(br),Ar=Dr(br);return Ar===void 0?void 0:H(e.removeFileExtension(Ar),\"script\",lr)}),Ye=e.mapDefined(e.tryGetDirectories(ke,qe).map(function(br){return e.combinePaths(qe,br)}),function(br){var lr=Dr(br);return lr===void 0?void 0:I(lr)});return Gt(Gt([],Ae,!0),Ye,!0);function Dr(br){var lr=m(e.normalizePath(br),Xe,Le);return lr===void 0?void 0:u(lr)}}function m(U,K,Te){return e.startsWith(U,K)&&e.endsWith(U,Te)?U.slice(K.length,U.length-Te.length):void 0}function u(U){return U[0]===e.directorySeparator?U.slice(1):U}function g(U,K,Te){var ge=Te.getAmbientModules().map(function(Ie){return e.stripQuotes(Ie.name)}),ke=ge.filter(function(Ie){return e.startsWith(Ie,U)});if(K!==void 0){var Pe=e.ensureTrailingDirectorySeparator(K);return ke.map(function(Ie){return e.removePrefix(Ie,Pe)})}return ke}function P(U,K,Te,ge){var ke=e.getTokenAtPosition(U,K),Pe=e.getLeadingCommentRanges(U.text,ke.pos),Ie=Pe&&e.find(Pe,function(Xe){return K>=Xe.pos&&K<=Xe.end});if(!!Ie){var Ge=U.text.slice(Ie.pos,K),he=Se.exec(Ge);if(!!he){var ve=he[1],Ve=he[2],_e=he[3],Le=e.getDirectoryPath(U.path),qe=Ve===\"path\"?re(_e,Le,q(Te,1),ge,U.path):Ve===\"types\"?te(ge,Te,Le,y(_e),q(Te)):e.Debug.fail();return w(_e,Ie.pos+ve.length,qe)}}}function te(U,K,Te,ge,ke,Pe){Pe===void 0&&(Pe=[]);for(var Ie=new e.Map,Ge=e.tryAndIgnoreErrors(function(){return e.getEffectiveTypeRoots(K,U)})||e.emptyArray,he=0,ve=Ge;he<ve.length;he++){var Ve=ve[he];De(Ve)}for(var _e=0,Le=e.findPackageJsons(Te,U);_e<Le.length;_e++){var qe=Le[_e],Xe=e.combinePaths(e.getDirectoryPath(qe),\"node_modules/@types\");De(Xe)}return Pe;function De(Ae){if(!!e.tryDirectoryExists(U,Ae))for(var Ye=0,Dr=e.tryGetDirectories(U,Ae);Ye<Dr.length;Ye++){var br=Dr[Ye],lr=e.unmangleScopedPackageName(br);if(!(K.types&&!e.contains(K.types,lr)))if(ge===void 0)Ie.has(lr)||(Pe.push(H(lr,\"external module name\",void 0)),Ie.set(lr,!0));else{var Ar=e.combinePaths(Ae,br),kr=e.tryRemoveDirectoryPrefix(ge,lr,e.hostGetCanonicalFileName(U));kr!==void 0&&re(kr,Ar,ke,U,void 0,Pe)}}}}function ue(U,K){if(!U.readFile||!U.fileExists)return e.emptyArray;for(var Te=[],ge=0,ke=e.findPackageJsons(K,U);ge<ke.length;ge++)for(var Pe=ke[ge],Ie=e.readJson(Pe,U),Ge=0,he=Ce;Ge<he.length;Ge++){var ve=he[Ge],Ve=Ie[ve];if(!!Ve)for(var _e in Ve)Ve.hasOwnProperty(_e)&&!e.startsWith(_e,\"@types/\")&&Te.push(_e)}return Te}function X(U,K){var Te=Math.max(U.lastIndexOf(e.directorySeparator),U.lastIndexOf(e.altDirectorySeparator)),ge=Te!==-1?Te+1:0,ke=U.length-ge;return ke===0||e.isIdentifierText(U.substr(ge,ke),99)?void 0:e.createTextSpan(K+ge,ke)}function j(U){if(U&&U.length>=2&&U.charCodeAt(0)===46){var K=U.length>=3&&U.charCodeAt(1)===46?2:1,Te=U.charCodeAt(K);return Te===47||Te===92}return!1}var Se=/^(\\/\\/\\/\\s*<reference\\s+(path|types)\\s*=\\s*(?:'|\"))([^\\3\"]*)$/,Ce=[\"dependencies\",\"devDependencies\",\"peerDependencies\",\"optionalDependencies\"];function R(U){return e.stringContains(U,e.directorySeparator)}function Y(U){return e.isCallExpression(U.parent)&&e.firstOrUndefined(U.parent.arguments)===U&&e.isIdentifier(U.parent.expression)&&U.parent.expression.escapedText===\"require\"}})(n.StringCompletions||(n.StringCompletions={}))})(e.Completions||(e.Completions={}))}(jr||(jr={})),function(e){(function(n){n.moduleSpecifierResolutionLimit=100,n.moduleSpecifierResolutionCacheAttemptLimit=1e3;var f;(function(fe){fe.LocalDeclarationPriority=\"10\",fe.LocationPriority=\"11\",fe.OptionalMember=\"12\",fe.MemberDeclaredBySpreadAssignment=\"13\",fe.SuggestedClassMembers=\"14\",fe.GlobalsOrKeywords=\"15\",fe.AutoImportSuggestions=\"16\",fe.JavascriptIdentifiers=\"17\",fe.DeprecatedLocalDeclarationPriority=\"18\",fe.DeprecatedLocationPriority=\"19\",fe.DeprecatedOptionalMember=\"20\",fe.DeprecatedMemberDeclaredBySpreadAssignment=\"21\",fe.DeprecatedSuggestedClassMembers=\"22\",fe.DeprecatedGlobalsOrKeywords=\"23\",fe.DeprecatedAutoImportSuggestions=\"24\"})(f=n.SortText||(n.SortText={}));var p;(function(fe){fe[fe.LocalDeclarationPriority=10]=\"LocalDeclarationPriority\",fe[fe.LocationPriority=11]=\"LocationPriority\",fe[fe.OptionalMember=12]=\"OptionalMember\",fe[fe.MemberDeclaredBySpreadAssignment=13]=\"MemberDeclaredBySpreadAssignment\",fe[fe.SuggestedClassMembers=14]=\"SuggestedClassMembers\",fe[fe.GlobalsOrKeywords=15]=\"GlobalsOrKeywords\",fe[fe.AutoImportSuggestions=16]=\"AutoImportSuggestions\",fe[fe._JavaScriptIdentifiers=17]=\"_JavaScriptIdentifiers\",fe[fe._DeprecatedStart=18]=\"_DeprecatedStart\",fe[fe._First=10]=\"_First\",fe[fe.DeprecatedOffset=8]=\"DeprecatedOffset\"})(p||(p={}));var a;(function(fe){fe.ThisProperty=\"ThisProperty/\",fe.ClassMemberSnippet=\"ClassMemberSnippet/\"})(a=n.CompletionSource||(n.CompletionSource={}));var d;(function(fe){fe[fe.ThisType=1]=\"ThisType\",fe[fe.SymbolMember=2]=\"SymbolMember\",fe[fe.Export=4]=\"Export\",fe[fe.Promise=8]=\"Promise\",fe[fe.Nullable=16]=\"Nullable\",fe[fe.ResolvedExport=32]=\"ResolvedExport\",fe[fe.SymbolMemberNoExport=2]=\"SymbolMemberNoExport\",fe[fe.SymbolMemberExport=6]=\"SymbolMemberExport\"})(d||(d={}));function k(fe){return!!(fe.kind&1)}function J(fe){return!!(fe.kind&2)}function h(fe){return!!(fe&&fe.kind&4)}function v(fe){return!!(fe&&fe.kind===32)}function A(fe){return h(fe)||v(fe)}function z(fe){return(h(fe)||v(fe))&&!!fe.isFromPackageJson}function ie(fe){return!!(fe.kind&8)}function b(fe){return!!(fe.kind&16)}var M;(function(fe){fe[fe.None=0]=\"None\",fe[fe.All=1]=\"All\",fe[fe.ClassElementKeywords=2]=\"ClassElementKeywords\",fe[fe.InterfaceElementKeywords=3]=\"InterfaceElementKeywords\",fe[fe.ConstructorParameterKeywords=4]=\"ConstructorParameterKeywords\",fe[fe.FunctionLikeBodyKeywords=5]=\"FunctionLikeBodyKeywords\",fe[fe.TypeAssertionKeywords=6]=\"TypeAssertionKeywords\",fe[fe.TypeKeywords=7]=\"TypeKeywords\",fe[fe.TypeKeyword=8]=\"TypeKeyword\",fe[fe.Last=7]=\"Last\"})(M||(M={}));var S;(function(fe){fe[fe.Continue=0]=\"Continue\",fe[fe.Success=1]=\"Success\",fe[fe.Fail=2]=\"Fail\"})(S||(S={}));function B(fe,je,Ee,We,$,Ne,me){var Ze,Cr,fr,dr=e.timestamp(),et=!1,yt=0,Vr=0,tr=0,xr=0,Nr=me({tryResolve:gt,resolutionLimitExceeded:function(){return et}}),zr=xr?\" (\".concat((tr/xr*100).toFixed(1),\"% hit rate)\"):\"\";return(Ze=je.log)===null||Ze===void 0||Ze.call(je,\"\".concat(fe,\": resolved \").concat(Vr,\" module specifiers, plus \").concat(yt,\" ambient and \").concat(tr,\" from cache\").concat(zr)),(Cr=je.log)===null||Cr===void 0||Cr.call(je,\"\".concat(fe,\": response is \").concat(et?\"incomplete\":\"complete\")),(fr=je.log)===null||fr===void 0||fr.call(je,\"\".concat(fe,\": \").concat(e.timestamp()-dr)),Nr;function gt(vt,ut){if(ut){var ht=e.codefix.getModuleSpecifierForBestExportInfo(vt,We,Ee,je,$);return ht&&yt++,ht}var xt=Ne||$.allowIncompleteCompletions&&Vr<n.moduleSpecifierResolutionLimit,wt=!xt&&$.allowIncompleteCompletions&&xr<n.moduleSpecifierResolutionCacheAttemptLimit,Qt=xt||wt?e.codefix.getModuleSpecifierForBestExportInfo(vt,We,Ee,je,$,wt):void 0;return(!xt&&!wt||wt&&!Qt)&&(et=!0),Vr+=(Qt==null?void 0:Qt.computedWithoutCacheCount)||0,tr+=vt.length-Vr,wt&&xr++,Qt}}function H(fe,je,Ee,We,$,Ne,me,Ze,Cr){var fr,dr=De($,We).previousToken;if(!(me&&!e.isInString(We,$,dr)&&!ze(We,me,dr,$))){if(me===\" \")return Ne.includeCompletionsForImportStatements&&Ne.includeCompletionsWithInsertText?{isGlobalCompletion:!0,isMemberCompletion:!1,isNewIdentifierLocation:!0,isIncomplete:!0,entries:[]}:void 0;var et=je.getCompilerOptions(),yt=Ne.allowIncompleteCompletions?(fr=fe.getIncompleteCompletionsCache)===null||fr===void 0?void 0:fr.call(fe):void 0;if(yt&&Ze===3&&dr&&e.isIdentifier(dr)){var Vr=w(yt,We,dr,je,fe,Ne,Cr);if(Vr)return Vr}else yt==null||yt.clear();var tr=n.StringCompletions.getStringLiteralCompletions(We,$,dr,et,fe,je,Ee,Ne);if(tr)return tr;if(dr&&e.isBreakOrContinueStatement(dr.parent)&&(dr.kind===81||dr.kind===86||dr.kind===79))return U(dr.parent);var xr=Xe(je,Ee,We,V(We,et),$,Ne,void 0,fe,Cr);if(!!xr)switch(xr.kind){case 0:var Nr=Q(We,fe,je,et,Ee,xr,Ne);return Nr!=null&&Nr.isIncomplete&&(yt==null||yt.set(Nr)),Nr;case 1:return x(e.JsDoc.getJSDocTagNameCompletions());case 2:return x(e.JsDoc.getJSDocTagCompletions());case 3:return x(e.JsDoc.getJSDocParameterNameCompletions(xr.tag));case 4:return q(xr.keywordCompletions,xr.isNewIdentifierLocation);default:return e.Debug.assertNever(xr)}}}n.getCompletionsAtPosition=H;function I(fe){return!!(fe!=null&&fe.moduleSpecifier)}function w(fe,je,Ee,We,$,Ne,me){var Ze=fe.get();if(!!Ze){var Cr=Ee.text.toLowerCase(),fr=e.getExportInfoMap(je,$,We,me),dr=B(\"continuePreviousIncompleteResponse\",$,We,je,Ne,!1,function(et){var yt=e.mapDefined(Ze.entries,function(Vr){if(!Vr.hasAction||!Vr.source||!Vr.data||I(Vr.data))return Vr;if(!!ye(Vr.name,Cr)){var tr=e.Debug.checkDefined(Ae(Vr.name,Vr.data,We,$)).origin,xr=fr.get(je.path,Vr.data.exportMapKey),Nr=xr&&et.tryResolve(xr,!e.isExternalModuleNameRelative(e.stripQuotes(tr.moduleSymbol.name)));if(!Nr)return Vr;var zr=Rn(Rn({},tr),{kind:32,moduleSpecifier:Nr.moduleSpecifier});return Vr.data=ue(zr),Vr.source=R(zr),Vr.sourceDisplay=[e.textPart(zr.moduleSpecifier)],Vr}});return et.resolutionLimitExceeded()||(Ze.isIncomplete=void 0),yt});return Ze.entries=dr,Ze}}function x(fe){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:fe}}function O(fe){return{name:e.tokenToString(fe),kind:\"keyword\",kindModifiers:\"\",sortText:f.GlobalsOrKeywords}}function q(fe,je){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:je,entries:fe.slice()}}function Z(fe,je,Ee){return{kind:4,keywordCompletions:lr(fe,je),isNewIdentifierLocation:Ee}}function ne(fe){switch(fe){case 151:return 8;default:e.Debug.fail(\"Unknown mapping from SyntaxKind to KeywordCompletionFilters\")}}function F(fe){return(fe==null?void 0:fe.kind)===79?e.createTextSpanFromNode(fe):void 0}function Q(fe,je,Ee,We,$,Ne,me){var Ze=Ne.symbols,Cr=Ne.contextToken,fr=Ne.completionKind,dr=Ne.isInSnippetScope,et=Ne.isNewIdentifierLocation,yt=Ne.location,Vr=Ne.propertyAccessToConvert,tr=Ne.keywordFilters,xr=Ne.literals,Nr=Ne.symbolToOriginInfoMap,zr=Ne.recommendedCompletion,gt=Ne.isJsxInitializer,vt=Ne.isTypeOnlyLocation,ut=Ne.isJsxIdentifierExpected,ht=Ne.isRightOfOpenTag,xt=Ne.importCompletionNode,wt=Ne.insideJsDocTagTypeExpression,Qt=Ne.symbolToSortTextIdMap,mt=Ne.hasUnresolvedAutoImports;if(e.getLanguageVariant(fe.scriptKind)===1){var rn=T(yt,fe);if(rn)return rn}var sa=[];if(V(fe,We)){var ba=Y(Ze,sa,void 0,Cr,yt,fe,je,Ee,e.getEmitScriptTarget(We),$,fr,me,We,vt,Vr,ut,gt,xt,zr,Nr,Qt,ut,ht);N(fe,yt.pos,ba,e.getEmitScriptTarget(We),sa)}else{if(!et&&(!Ze||Ze.length===0)&&tr===0)return;Y(Ze,sa,void 0,Cr,yt,fe,je,Ee,e.getEmitScriptTarget(We),$,fr,me,We,vt,Vr,ut,gt,xt,zr,Nr,Qt,ut,ht)}if(tr!==0)for(var Jn=new e.Set(sa.map(function(Mn){return Mn.name})),na=0,Wn=lr(tr,!wt&&e.isSourceFileJS(fe));na<Wn.length;na++){var en=Wn[na];Jn.has(en.name)||sa.push(en)}for(var St=0,Ut=xr;St<Ut.length;St++){var qt=Ut[St];sa.push(D(fe,me,qt))}return{isGlobalCompletion:dr,isIncomplete:me.allowIncompleteCompletions&&mt?!0:void 0,isMemberCompletion:re(fr),isNewIdentifierLocation:et,optionalReplacementSpan:F(yt),entries:sa}}function V(fe,je){return e.isSourceFileJS(fe)&&!e.isCheckJsEnabledForFile(fe,je)}function re(fe){switch(fe){case 0:case 3:case 2:return!0;default:return!1}}function T(fe,je){var Ee=e.findAncestor(fe,function(fr){switch(fr.kind){case 280:return!0;case 43:case 31:case 79:case 205:return!1;default:return\"quit\"}});if(Ee){var We=!!e.findChildOfKind(Ee,31,je),$=Ee.parent.openingElement.tagName,Ne=$.getText(je),me=Ne+(We?\"\":\">\"),Ze=e.createTextSpanFromNode(Ee.tagName),Cr={name:me,kind:\"class\",kindModifiers:void 0,sortText:f.LocationPriority};return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,optionalReplacementSpan:Ze,entries:[Cr]}}}function N(fe,je,Ee,We,$){e.getNameTable(fe).forEach(function(Ne,me){if(Ne!==je){var Ze=e.unescapeLeadingUnderscores(me);!Ee.has(Ze)&&e.isIdentifierText(Ze,We)&&(Ee.add(Ze),$.push({name:Ze,kind:\"warning\",kindModifiers:\"\",sortText:f.JavascriptIdentifiers,isFromUncheckedFile:!0}))}})}function y(fe,je,Ee){return typeof Ee==\"object\"?e.pseudoBigIntToString(Ee)+\"n\":e.isString(Ee)?e.quote(fe,je,Ee):JSON.stringify(Ee)}function D(fe,je,Ee){return{name:y(fe,je,Ee),kind:\"string\",kindModifiers:\"\",sortText:f.LocationPriority}}function C(fe,je,Ee,We,$,Ne,me,Ze,Cr,fr,dr,et,yt,Vr,tr,xr,Nr,zr,gt,vt,ut){var ht,xt,wt,Qt=e.getReplacementSpanForContextToken(Ee),mt,rn,sa=R(dr),ba,Jn,na=Ze.getTypeChecker(),Wn=dr&&b(dr),en=dr&&J(dr)||fr;if(dr&&k(dr))wt=fr?\"this\".concat(Wn?\"?.\":\"\",\"[\").concat(Se(Ne,zr,Cr),\"]\"):\"this\".concat(Wn?\"?.\":\".\").concat(Cr);else if((en||Wn)&&yt){wt=en?fr?\"[\".concat(Se(Ne,zr,Cr),\"]\"):\"[\".concat(Cr,\"]\"):Cr,(Wn||yt.questionDotToken)&&(wt=\"?.\".concat(wt));var St=e.findChildOfKind(yt,24,Ne)||e.findChildOfKind(yt,28,Ne);if(!St)return;var Ut=e.startsWith(Cr,yt.name.text)?yt.name.end:St.end;Qt=e.createTextSpanFromBounds(St.getStart(Ne),Ut)}if(Vr&&(wt===void 0&&(wt=Cr),wt=\"{\".concat(wt,\"}\"),typeof Vr!=\"boolean\"&&(Qt=e.createTextSpanFromNode(Vr,Ne))),dr&&ie(dr)&&yt){wt===void 0&&(wt=Cr);var qt=e.findPrecedingToken(yt.pos,Ne),Mn=\"\";qt&&e.positionIsASICandidate(qt.end,qt.parent,Ne)&&(Mn=\";\"),Mn+=\"(await \".concat(yt.expression.getText(),\")\"),wt=fr?\"\".concat(Mn).concat(wt):\"\".concat(Mn).concat(Wn?\"?.\":\".\").concat(wt),Qt=e.createTextSpanFromBounds(yt.getStart(Ne),yt.end)}if(v(dr)&&(ba=[e.textPart(dr.moduleSpecifier)],tr&&(ht=j(Cr,tr,We,dr,xr,Nr,zr),wt=ht.insertText,Qt=ht.replacementSpan,rn=zr.includeCompletionsWithSnippetText?!0:void 0)),zr.includeCompletionsWithClassMemberSnippets&&zr.includeCompletionsWithInsertText&&gt===3&&m(fe,$)){var dn=void 0;xt=u(me,Ze,Nr,zr,Cr,fe,$,We),wt=xt.insertText,rn=xt.isSnippet,dn=xt.importAdder,dn!=null&&dn.hasFixes()&&(Jn=!0,sa=a.ClassMemberSnippet)}if(vt&&!ut&&zr.includeCompletionsWithSnippetText&&zr.jsxAttributeCompletionStyle&&zr.jsxAttributeCompletionStyle!==\"none\"){var oa=zr.jsxAttributeCompletionStyle===\"braces\",pt=na.getTypeOfSymbolAtLocation(fe,$);zr.jsxAttributeCompletionStyle===\"auto\"&&!(pt.flags&528)&&!(pt.flags&1048576&&e.find(pt.types,function(_t){return!!(_t.flags&528)}))&&(pt.flags&402653316||pt.flags&1048576&&e.every(pt.types,function(_t){return!!(_t.flags&402686084)})?(wt=\"\".concat(e.escapeSnippetText(Cr),\"=\").concat(e.quote(Ne,zr,\"$1\")),rn=!0):oa=!0),oa&&(wt=\"\".concat(e.escapeSnippetText(Cr),\"={$1}\"),rn=!0)}if(!(wt!==void 0&&!zr.includeCompletionsWithInsertText))return(h(dr)||v(dr))&&(mt=ue(dr),Jn=!tr),{name:Cr,kind:e.SymbolDisplay.getSymbolKind(na,fe,$),kindModifiers:e.SymbolDisplay.getSymbolModifiers(na,fe),sortText:je,source:sa,hasAction:Jn?!0:void 0,isRecommended:Ce(fe,et,na)||void 0,insertText:wt,replacementSpan:Qt,sourceDisplay:ba,isSnippet:rn,isPackageJsonImport:z(dr)||void 0,isImportStatementCompletion:!!tr||void 0,data:mt}}function m(fe,je){if(e.isInJSFile(je))return!1;var Ee=106500;return!!(fe.flags&Ee)&&(e.isClassLike(je)||je.parent&&je.parent.parent&&e.isClassElement(je.parent)&&je===je.parent.name&&e.isClassLike(je.parent.parent)||je.parent&&e.isSyntaxList(je)&&e.isClassLike(je.parent))}function u(fe,je,Ee,We,$,Ne,me,Ze){var Cr=e.findAncestor(me,e.isClassLike);if(!Cr)return{insertText:$};var fr,dr=$,et=je.getTypeChecker(),yt=me.getSourceFile(),Vr=te({removeComments:!0,module:Ee.module,target:Ee.target,omitTrailingSemicolon:!1,newLine:e.getNewLineKind(e.getNewLineCharacter(Ee,e.maybeBind(fe,fe.getNewLine)))}),tr=e.codefix.createImportAdder(yt,je,We,fe),xr;if(We.includeCompletionsWithSnippetText){fr=!0;var Nr=e.factory.createExpressionStatement(e.factory.createIdentifier(\"\"));e.setSnippetElement(Nr,{kind:0,order:0}),xr=e.factory.createBlock([Nr],!0)}else xr=e.factory.createBlock([],!0);var zr=0,gt=Ze&&P(Ze)===126,vt=[];return e.codefix.addNewNodeForMemberSymbol(Ne,Cr,yt,{program:je,host:fe},We,tr,function(ut){var ht=0;gt&&(ht|=128),e.isClassElement(ut)&&et.getMemberOverrideModifierStatus(Cr,ut)===1&&(ht|=16384);var xt=0;vt.length||(Ze&&(xt=g(Ze)),zr=ut.modifierFlagsCache|ht|xt),ut=e.factory.updateModifiers(ut,zr&~xt),vt.push(ut)},xr,2,gt),vt.length&&(dr=Vr.printSnippetList(131073,e.factory.createNodeArray(vt),yt)),{insertText:dr,isSnippet:fr,importAdder:tr}}function g(fe){var je=0,Ee;return(Ee=P(fe))&&(je|=e.modifierToFlag(Ee)),e.isPropertyDeclaration(fe.parent)&&(je|=e.modifiersToFlags(fe.parent.modifiers)),je}function P(fe){if(e.isModifier(fe))return fe.kind;if(e.isIdentifier(fe)&&fe.originalKeywordKind&&e.isModifierKind(fe.originalKeywordKind))return fe.originalKeywordKind}function te(fe){var je=e.createPrinter(fe),Ee=e.createTextWriter(e.getNewLineCharacter(fe)),We=Rn(Rn({},Ee),{write:function(Ne){return Ee.write(e.escapeSnippetText(Ne))},nonEscapingWrite:Ee.write,writeLiteral:function(Ne){return Ee.writeLiteral(e.escapeSnippetText(Ne))},writeStringLiteral:function(Ne){return Ee.writeStringLiteral(e.escapeSnippetText(Ne))},writeSymbol:function(Ne,me){return Ee.writeSymbol(e.escapeSnippetText(Ne),me)},writeParameter:function(Ne){return Ee.writeParameter(e.escapeSnippetText(Ne))},writeComment:function(Ne){return Ee.writeComment(e.escapeSnippetText(Ne))},writeProperty:function(Ne){return Ee.writeProperty(e.escapeSnippetText(Ne))}});return{printSnippetList:$};function $(Ne,me,Ze){return We.clear(),je.writeList(Ne,me,Ze,We),We.getText()}}function ue(fe){var je=fe.fileName?void 0:e.stripQuotes(fe.moduleSymbol.name),Ee=fe.isFromPackageJson?!0:void 0;if(v(fe)){var We={exportName:fe.exportName,moduleSpecifier:fe.moduleSpecifier,ambientModuleName:je,fileName:fe.fileName,isPackageJsonImport:Ee};return We}var $={exportName:fe.exportName,exportMapKey:fe.exportMapKey,fileName:fe.fileName,ambientModuleName:fe.fileName?void 0:e.stripQuotes(fe.moduleSymbol.name),isPackageJsonImport:fe.isFromPackageJson?!0:void 0};return $}function X(fe,je,Ee){var We=fe.exportName===\"default\",$=!!fe.isPackageJsonImport;if(I(fe)){var Ne={kind:32,exportName:fe.exportName,moduleSpecifier:fe.moduleSpecifier,symbolName:je,fileName:fe.fileName,moduleSymbol:Ee,isDefaultExport:We,isFromPackageJson:$};return Ne}var me={kind:4,exportName:fe.exportName,exportMapKey:fe.exportMapKey,symbolName:je,fileName:fe.fileName,moduleSymbol:Ee,isDefaultExport:We,isFromPackageJson:$};return me}function j(fe,je,Ee,We,$,Ne,me){var Ze,Cr,fr,dr=je.getSourceFile(),et=e.createTextSpanFromNode(e.findAncestor(je,e.or(e.isImportDeclaration,e.isImportEqualsDeclaration))||je,dr),yt=e.quote(dr,me,We.moduleSpecifier),Vr=We.isDefaultExport?1:We.exportName===\"export=\"?2:0,tr=me.includeCompletionsWithSnippetText?\"$1\":\"\",xr=e.codefix.getImportKind(dr,Vr,Ne,!0),Nr=((Cr=(Ze=e.tryCast(je,e.isImportDeclaration))===null||Ze===void 0?void 0:Ze.importClause)===null||Cr===void 0?void 0:Cr.isTypeOnly)||((fr=e.tryCast(je,e.isImportEqualsDeclaration))===null||fr===void 0?void 0:fr.isTypeOnly),zr=cn(je,Ee),gt=Nr?\" \".concat(e.tokenToString(151),\" \"):\" \",vt=zr?\"\".concat(e.tokenToString(151),\" \"):\"\",ut=$?\";\":\"\";switch(xr){case 3:return{replacementSpan:et,insertText:\"import\".concat(gt).concat(e.escapeSnippetText(fe)).concat(tr,\" = require(\").concat(yt,\")\").concat(ut)};case 1:return{replacementSpan:et,insertText:\"import\".concat(gt).concat(e.escapeSnippetText(fe)).concat(tr,\" from \").concat(yt).concat(ut)};case 2:return{replacementSpan:et,insertText:\"import\".concat(gt,\"* as \").concat(e.escapeSnippetText(fe),\" from \").concat(yt).concat(ut)};case 0:return{replacementSpan:et,insertText:\"import\".concat(gt,\"{ \").concat(vt).concat(e.escapeSnippetText(fe)).concat(tr,\" } from \").concat(yt).concat(ut)}}}function Se(fe,je,Ee){return/^\\d+$/.test(Ee)?Ee:e.quote(fe,je,Ee)}function Ce(fe,je,Ee){return fe===je||!!(fe.flags&1048576)&&Ee.getExportSymbolOfSymbol(fe)===je}function R(fe){if(h(fe))return e.stripQuotes(fe.moduleSymbol.name);if(v(fe))return fe.moduleSpecifier;if((fe==null?void 0:fe.kind)===1)return a.ThisProperty}function Y(fe,je,Ee,We,$,Ne,me,Ze,Cr,fr,dr,et,yt,Vr,tr,xr,Nr,zr,gt,vt,ut,ht,xt){for(var wt,Qt=e.timestamp(),mt=zn($),rn=e.probablyUsesSemicolons(Ne),sa=Ze.getTypeChecker(),ba=new e.Map,Jn=0;Jn<fe.length;Jn++){var na=fe[Jn],Wn=vt==null?void 0:vt[Jn],en=Ye(na,Cr,Wn,dr,!!xr);if(!(!en||ba.get(en.name)||dr===1&&ut&&!pt(na,ut))){var St=en.name,Ut=en.needsConvertPropertyAccess,qt=(wt=ut==null?void 0:ut[e.getSymbolId(na)])!==null&&wt!==void 0?wt:11,Mn=(sr(na,sa)?8+qt:qt).toString(),dn=C(na,Mn,Ee,We,$,Ne,me,Ze,St,Ut,Wn,gt,tr,Nr,zr,rn,yt,et,dr,ht,xt);if(!!dn){var oa=!Wn&&!(na.parent===void 0&&!e.some(na.declarations,function(_t){return _t.getSourceFile()===$.getSourceFile()}));ba.set(St,oa),je.push(dn)}}}return fr(\"getCompletionsAtPosition: getCompletionEntriesFromSymbols: \"+(e.timestamp()-Qt)),{has:function(_t){return ba.has(_t)},add:function(_t){return ba.set(_t,!0)}};function pt(_t,Mt){if(!e.isSourceFile($)){if(e.isExportAssignment($.parent))return!0;if(mt&&_t.valueDeclaration===mt)return!1;var It=e.skipAlias(_t,sa);if(!!Ne.externalModuleIndicator&&!yt.allowUmdGlobalAccess&&Mt[e.getSymbolId(_t)]===15&&(Mt[e.getSymbolId(It)]===16||Mt[e.getSymbolId(It)]===11))return!1;if(_t=It,e.isInRightSideOfInternalImportEqualsDeclaration($))return!!(_t.flags&1920);if(Vr)return Or(_t,sa)}return!!(e.getCombinedLocalAndExportSymbolFlags(_t)&111551)}}n.getCompletionEntriesFromSymbols=Y;function U(fe){var je=K(fe);if(je.length)return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:je}}function K(fe){for(var je=[],Ee=new e.Map,We=fe;We&&!e.isFunctionLike(We);){if(e.isLabeledStatement(We)){var $=We.label.text;Ee.has($)||(Ee.set($,!0),je.push({name:$,kindModifiers:\"\",kind:\"label\",sortText:f.LocationPriority}))}We=We.parent}return je}function Te(fe,je,Ee,We,$,Ne,me){if($.data){var Ze=Ae($.name,$.data,fe,Ne);if(Ze){var Cr=De(We,Ee),fr=Cr.contextToken,dr=Cr.previousToken;return{type:\"symbol\",symbol:Ze.symbol,location:e.getTouchingPropertyName(Ee,We),previousToken:dr,contextToken:fr,isJsxInitializer:!1,isTypeOnlyLocation:!1,origin:Ze.origin}}}var et=fe.getCompilerOptions(),yt=Xe(fe,je,Ee,V(Ee,et),We,{includeCompletionsForModuleExports:!0,includeCompletionsWithInsertText:!0},$,Ne);if(!yt)return{type:\"none\"};if(yt.kind!==0)return{type:\"request\",request:yt};var Vr=yt.symbols,tr=yt.literals,xr=yt.location,Nr=yt.completionKind,zr=yt.symbolToOriginInfoMap,gt=yt.contextToken,vt=yt.previousToken,ut=yt.isJsxInitializer,ht=yt.isTypeOnlyLocation,xt=e.find(tr,function(wt){return y(Ee,me,wt)===$.name});return xt!==void 0?{type:\"literal\",literal:xt}:e.firstDefined(Vr,function(wt,Qt){var mt=zr[Qt],rn=Ye(wt,e.getEmitScriptTarget(et),mt,Nr,yt.isJsxIdentifierExpected);return rn&&rn.name===$.name&&($.source===a.ClassMemberSnippet&&wt.flags&106500||R(mt)===$.source)?{type:\"symbol\",symbol:wt,location:xr,origin:mt,contextToken:gt,previousToken:vt,isJsxInitializer:ut,isTypeOnlyLocation:ht}:void 0})||{type:\"none\"}}function ge(fe,je,Ee,We,$,Ne,me,Ze,Cr){var fr=fe.getTypeChecker(),dr=fe.getCompilerOptions(),et=$.name,yt=$.source,Vr=$.data,tr=e.findPrecedingToken(We,Ee);if(e.isInString(Ee,We,tr))return n.StringCompletions.getStringLiteralCompletionDetails(et,Ee,We,tr,fr,dr,Ne,Cr,Ze);var xr=Te(fe,je,Ee,We,$,Ne,Ze);switch(xr.type){case\"request\":{var Nr=xr.request;switch(Nr.kind){case 1:return e.JsDoc.getJSDocTagNameCompletionDetails(et);case 2:return e.JsDoc.getJSDocTagCompletionDetails(et);case 3:return e.JsDoc.getJSDocParameterNameCompletionDetails(et);case 4:return e.some(Nr.keywordCompletions,function(rn){return rn.name===et})?ke(et,\"keyword\",e.SymbolDisplayPartKind.keyword):void 0;default:return e.Debug.assertNever(Nr)}}case\"symbol\":{var zr=xr.symbol,gt=xr.location,vt=xr.contextToken,ut=xr.origin,ht=xr.previousToken,xt=Ge(et,gt,vt,ut,zr,fe,Ne,dr,Ee,We,ht,me,Ze,Vr,yt),wt=xt.codeActions,Qt=xt.sourceDisplay;return Pe(zr,fr,Ee,gt,Cr,wt,Qt)}case\"literal\":{var mt=xr.literal;return ke(y(Ee,Ze,mt),\"string\",typeof mt==\"string\"?e.SymbolDisplayPartKind.stringLiteral:e.SymbolDisplayPartKind.numericLiteral)}case\"none\":return br().some(function(rn){return rn.name===et})?ke(et,\"keyword\",e.SymbolDisplayPartKind.keyword):void 0;default:e.Debug.assertNever(xr)}}n.getCompletionEntryDetails=ge;function ke(fe,je,Ee){return Ie(fe,\"\",je,[e.displayPart(fe,Ee)])}function Pe(fe,je,Ee,We,$,Ne,me){var Ze=je.runWithCancellationToken($,function(yt){return e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(yt,fe,Ee,We,We,7)}),Cr=Ze.displayParts,fr=Ze.documentation,dr=Ze.symbolKind,et=Ze.tags;return Ie(fe.name,e.SymbolDisplay.getSymbolModifiers(je,fe),dr,Cr,fr,et,Ne,me)}n.createCompletionDetailsForSymbol=Pe;function Ie(fe,je,Ee,We,$,Ne,me,Ze){return{name:fe,kindModifiers:je,kind:Ee,displayParts:We,documentation:$,tags:Ne,codeActions:me,source:Ze,sourceDisplay:Ze}}n.createCompletionDetails=Ie;function Ge(fe,je,Ee,We,$,Ne,me,Ze,Cr,fr,dr,et,yt,Vr,tr){if(Vr!=null&&Vr.moduleSpecifier){var xr=De(fr,Cr),Nr=xr.contextToken,zr=xr.previousToken;if(zr&&Rt(Nr||zr).replacementNode)return{codeActions:void 0,sourceDisplay:[e.textPart(Vr.moduleSpecifier)]}}if(tr===a.ClassMemberSnippet){var gt=u(me,Ne,Ze,yt,fe,$,je,Ee).importAdder;if(gt){var vt=e.textChanges.ChangeTracker.with({host:me,formatContext:et,preferences:yt},gt.writeFixes);return{sourceDisplay:void 0,codeActions:[{changes:vt,description:e.diagnosticToString([e.Diagnostics.Includes_imports_of_types_referenced_by_0,fe])}]}}}if(!We||!(h(We)||v(We)))return{codeActions:void 0,sourceDisplay:void 0};var ut=We.isFromPackageJson?me.getPackageJsonAutoImportProvider().getTypeChecker():Ne.getTypeChecker(),ht=We.moduleSymbol,xt=ut.getMergedSymbol(e.skipAlias($.exportSymbol||$,ut)),wt=e.codefix.getImportCompletionAction(xt,ht,Cr,e.getNameForExportedSymbol($,e.getEmitScriptTarget(Ze)),me,Ne,et,dr&&e.isIdentifier(dr)?dr.getStart(Cr):fr,yt),Qt=wt.moduleSpecifier,mt=wt.codeAction;return e.Debug.assert(!(Vr!=null&&Vr.moduleSpecifier)||Qt===Vr.moduleSpecifier),{sourceDisplay:[e.textPart(Qt)],codeActions:[mt]}}function he(fe,je,Ee,We,$,Ne,me){var Ze=Te(fe,je,Ee,We,$,Ne,me);return Ze.type===\"symbol\"?Ze.symbol:void 0}n.getCompletionEntrySymbol=he;var ve;(function(fe){fe[fe.Data=0]=\"Data\",fe[fe.JsDocTagName=1]=\"JsDocTagName\",fe[fe.JsDocTag=2]=\"JsDocTag\",fe[fe.JsDocParameterName=3]=\"JsDocParameterName\",fe[fe.Keywords=4]=\"Keywords\"})(ve||(ve={})),function(fe){fe[fe.ObjectPropertyDeclaration=0]=\"ObjectPropertyDeclaration\",fe[fe.Global=1]=\"Global\",fe[fe.PropertyAccess=2]=\"PropertyAccess\",fe[fe.MemberLike=3]=\"MemberLike\",fe[fe.String=4]=\"String\",fe[fe.None=5]=\"None\"}(n.CompletionKind||(n.CompletionKind={}));function Ve(fe,je,Ee){return e.firstDefined(je&&(je.isUnion()?je.types:[je]),function(We){var $=We&&We.symbol;return $&&$.flags&424&&!e.isAbstractConstructorSymbol($)?Le($,fe,Ee):void 0})}function _e(fe,je,Ee,We){var $=fe.parent;switch(fe.kind){case 79:return e.getContextualTypeFromParent(fe,We);case 63:switch($.kind){case 253:return We.getContextualType($.initializer);case 220:return We.getTypeAtLocation($.left);case 284:return We.getContextualTypeForJsxAttribute($);default:return}case 103:return We.getContextualType($);case 82:return e.getSwitchedType(e.cast($,e.isCaseClause),We);case 18:return e.isJsxExpression($)&&!e.isJsxElement($.parent)&&!e.isJsxFragment($.parent)?We.getContextualTypeForJsxAttribute($.parent):void 0;default:var Ne=e.SignatureHelp.getArgumentInfoForCompletions(fe,je,Ee);return Ne?We.getContextualTypeForArgumentAtIndex(Ne.invocation,Ne.argumentIndex+(fe.kind===27?1:0)):e.isEqualityOperatorKind(fe.kind)&&e.isBinaryExpression($)&&e.isEqualityOperatorKind($.operatorToken.kind)?We.getTypeAtLocation($.left):We.getContextualType(fe)}}function Le(fe,je,Ee){var We=Ee.getAccessibleSymbolChain(fe,je,67108863,!1);return We?e.first(We):fe.parent&&(qe(fe.parent)?fe:Le(fe.parent,je,Ee))}function qe(fe){var je;return!!(!((je=fe.declarations)===null||je===void 0)&&je.some(function(Ee){return Ee.kind===303}))}function Xe(fe,je,Ee,We,$,Ne,me,Ze,Cr){var fr=fe.getTypeChecker(),dr=e.timestamp(),et=e.getTokenAtPosition(Ee,$);je(\"getCompletionData: Get current token: \"+(e.timestamp()-dr)),dr=e.timestamp();var yt=e.isInComment(Ee,$,et);je(\"getCompletionData: Is inside comment: \"+(e.timestamp()-dr));var Vr=!1,tr=!1;if(yt){if(e.hasDocComment(Ee,$)){if(Ee.text.charCodeAt($-1)===64)return{kind:1};var xr=e.getLineStartPositionForPosition($,Ee);if(!/[^\\*|\\s(/)]/.test(Ee.text.substring(xr,$)))return{kind:2}}var Nr=gr(et,$);if(Nr){if(Nr.tagName.pos<=$&&$<=Nr.tagName.end)return{kind:1};if(ro(Nr)&&Nr.typeExpression&&Nr.typeExpression.kind===307&&(et=e.getTokenAtPosition(Ee,$),(!et||!e.isDeclarationName(et)&&(et.parent.kind!==345||et.parent.name!==et))&&(Vr=cs(Nr.typeExpression))),!Vr&&e.isJSDocParameterTag(Nr)&&(e.nodeIsMissing(Nr.name)||Nr.name.pos<=$&&$<=Nr.name.end))return{kind:3,tag:Nr}}if(!Vr){je(\"Returning an empty list because completion was inside a regular comment or plain text part of a JsDoc comment.\");return}}dr=e.timestamp();var zr=!Vr&&e.isSourceFileJS(Ee),gt=De($,Ee),vt=gt.previousToken,ut=gt.contextToken;je(\"getCompletionData: Get previous token: \"+(e.timestamp()-dr));var ht=et,xt,wt=!1,Qt=!1,mt=!1,rn=!1,sa=!1,ba=!1,Jn,na=e.getTouchingPropertyName(Ee,$),Wn=0,en=!1;if(ut){var St=Rt(ut);if(en=St.isNewIdentifierLocation,St.keywordCompletion){if(St.isKeywordOnlyCompletion)return{kind:4,keywordCompletions:[O(St.keywordCompletion)],isNewIdentifierLocation:en};Wn=ne(St.keywordCompletion)}if(St.replacementNode&&Ne.includeCompletionsForImportStatements&&Ne.includeCompletionsWithInsertText&&(Jn=St.replacementNode),!Jn&&Fo(ut))return je(\"Returning an empty list because completion was requested in an invalid position.\"),Wn?Z(Wn,zr,Es()):void 0;var Ut=ut.parent;if(ut.kind===24||ut.kind===28)switch(wt=ut.kind===24,Qt=ut.kind===28,Ut.kind){case 205:xt=Ut,ht=xt.expression;var qt=e.getLeftmostAccessExpression(xt);if(e.nodeIsMissing(qt)||(e.isCallExpression(ht)||e.isFunctionLike(ht))&&ht.end===ut.pos&&ht.getChildCount(Ee)&&e.last(ht.getChildren(Ee)).kind!==21)return;break;case 160:ht=Ut.left;break;case 260:ht=Ut.name;break;case 199:ht=Ut;break;case 230:ht=Ut.getFirstToken(Ee),e.Debug.assert(ht.kind===100||ht.kind===103);break;default:return}else if(!Jn&&Ee.languageVariant===1){if(Ut&&Ut.kind===205&&(ut=Ut,Ut=Ut.parent),et.parent===na)switch(et.kind){case 31:(et.parent.kind===277||et.parent.kind===279)&&(na=et);break;case 43:et.parent.kind===278&&(na=et);break}switch(Ut.kind){case 280:ut.kind===43&&(rn=!0,na=ut);break;case 220:if(!Lr(Ut))break;case 278:case 277:case 279:ba=!0,ut.kind===29&&(mt=!0,na=ut);break;case 287:case 286:vt.kind===19&&et.kind===31&&(ba=!0);break;case 284:if(Ut.initializer===vt&&vt.end<$){ba=!0;break}switch(vt.kind){case 63:sa=!0;break;case 79:ba=!0,Ut!==vt.parent&&!Ut.initializer&&e.findChildOfKind(Ut,63,Ee)&&(sa=vt)}break}}}var Mn=e.timestamp(),dn=5,oa=!1,pt=!1,_t=[],Mt=[],It=[],rt=new e.Map,Cn=co(),Qn=e.memoizeOne(function(bt){return e.createModuleSpecifierResolutionHost(bt?Ze.getPackageJsonAutoImportProvider():fe,Ze)});if(wt||Qt)Ka();else if(mt)_t=fr.getJsxIntrinsicTagNamesAt(na),e.Debug.assertEachIsDefined(_t,\"getJsxIntrinsicTagNames() should all be defined\"),Hi(),dn=1,Wn=0;else if(rn){var Ra=ut.parent.parent.openingElement.tagName,Ci=fr.getSymbolAtLocation(Ra);Ci&&(_t=[Ci]),dn=1,Wn=0}else if(!Hi())return Wn?Z(Wn,zr,en):void 0;je(\"getCompletionData: Semantic work: \"+(e.timestamp()-Mn));var _i=vt&&_e(vt,$,Ee,fr),va=e.mapDefined(_i&&(_i.isUnion()?_i.types:[_i]),function(bt){return bt.isLiteral()&&!(bt.flags&1024)?bt.value:void 0}),yi=vt&&_i&&Ve(vt,_i,fr);return{kind:0,symbols:_t,completionKind:dn,isInSnippetScope:tr,propertyAccessToConvert:xt,isNewIdentifierLocation:en,location:na,keywordFilters:Wn,literals:va,symbolToOriginInfoMap:Mt,recommendedCompletion:yi,previousToken:vt,contextToken:ut,isJsxInitializer:sa,insideJsDocTagTypeExpression:Vr,symbolToSortTextIdMap:It,isTypeOnlyLocation:Cn,isJsxIdentifierExpected:ba,isRightOfOpenTag:mt,importCompletionNode:Jn,hasUnresolvedAutoImports:pt};function ro(bt){switch(bt.kind){case 338:case 345:case 339:case 341:case 343:return!0;default:return!1}}function Ka(){dn=2;var bt=e.isLiteralImportTypeNode(ht),Pn=Vr||bt&&!ht.isTypeOf||e.isPartOfTypeNode(ht.parent)||e.isPossiblyTypeArgumentPosition(ut,Ee,fr),da=e.isInRightSideOfInternalImportEqualsDeclaration(ht);if(e.isEntityName(ht)||bt||e.isPropertyAccessExpression(ht)){var ei=e.isModuleDeclaration(ht.parent);ei&&(en=!0);var bi=fr.getSymbolAtLocation(ht);if(bi&&(bi=e.skipAlias(bi,fr),bi.flags&1920)){var xi=fr.getExportsOfModule(bi);e.Debug.assertEachIsDefined(xi,\"getExportsOfModule() should all be defined\");for(var ka=function(ft){return fr.isValidPropertyAccess(bt?ht:ht.parent,ft.name)},mi=function(ft){return Or(ft,fr)},Xi=ei?function(ft){var Zt;return!!(ft.flags&1920)&&!(!((Zt=ft.declarations)===null||Zt===void 0)&&Zt.every(function(Re){return Re.parent===ht.parent}))}:da?function(ft){return mi(ft)||ka(ft)}:Pn?mi:ka,Gi=0,Ro=xi;Gi<Ro.length;Gi++){var ko=Ro[Gi];Xi(ko)&&_t.push(ko)}if(!Pn&&bi.declarations&&bi.declarations.some(function(ft){return ft.kind!==303&&ft.kind!==260&&ft.kind!==259})){var es=fr.getTypeOfSymbolAtLocation(bi,ht).getNonOptionalType(),as=!1;if(es.isNullableType()){var pe=wt&&!Qt&&Ne.includeAutomaticOptionalChainCompletions!==!1;(pe||Qt)&&(es=es.getNonNullableType(),pe&&(as=!0))}Mi(es,!!(ht.flags&32768),as)}return}}if(!Pn){var Rr=e.getThisContainer(ht,!1);!e.isSourceFile(Rr)&&Rr.parent&&fr.getTypeAtLocation(Rr);var es=fr.getTypeAtLocation(ht).getNonOptionalType(),as=!1;if(es.isNullableType()){var pe=wt&&!Qt&&Ne.includeAutomaticOptionalChainCompletions!==!1;(pe||Qt)&&(es=es.getNonNullableType(),pe&&(as=!0))}Mi(es,!!(ht.flags&32768),as)}}function Mi(bt,Pn,da){en=!!bt.getStringIndexType(),Qt&&e.some(bt.getCallSignatures())&&(en=!0);var ei=ht.kind===199?ht:ht.parent;if(We)_t.push.apply(_t,e.filter(Sr(bt,fr),function(Ro){return fr.isValidPropertyAccessForCompletions(ei,bt,Ro)}));else for(var bi=0,xi=bt.getApparentProperties();bi<xi.length;bi++){var ka=xi[bi];fr.isValidPropertyAccessForCompletions(ei,bt,ka)&&io(ka,!1,da)}if(Pn&&Ne.includeCompletionsWithInsertText){var mi=fr.getPromisedTypeOfPromise(bt);if(mi)for(var Xi=0,Gi=mi.getApparentProperties();Xi<Gi.length;Xi++){var ka=Gi[Xi];fr.isValidPropertyAccessForCompletions(ei,mi,ka)&&io(ka,!0,da)}}}function io(bt,Pn,da){var ei,bi=e.firstDefined(bt.declarations,function(ft){return e.tryCast(e.getNameOfDeclaration(ft),e.isComputedPropertyName)});if(bi){var xi=ji(bi.expression),ka=xi&&fr.getSymbolAtLocation(xi),mi=ka&&Le(ka,ut,fr);if(mi&&e.addToSeen(rt,e.getSymbolId(mi))){var Xi=_t.length;_t.push(mi);var Gi=mi.parent;if(!Gi||!e.isExternalModuleSymbol(Gi)||fr.tryGetMemberInModuleExportsAndProperties(mi.name,Gi)!==mi)Mt[Xi]={kind:Rr(2)};else{var Ro=e.isExternalModuleNameRelative(e.stripQuotes(Gi.name))?(ei=e.getSourceFileOfModule(Gi))===null||ei===void 0?void 0:ei.fileName:void 0,ko=(e.codefix.getModuleSpecifierForBestExportInfo([{exportKind:0,moduleFileName:Ro,isFromPackageJson:!1,moduleSymbol:Gi,symbol:mi,targetFlags:e.skipAlias(mi,fr).flags}],Ee,fe,Ze,Ne)||{}).moduleSpecifier;if(ko){var es={kind:Rr(6),moduleSymbol:Gi,isDefaultExport:!1,symbolName:mi.name,exportName:mi.name,fileName:Ro,moduleSpecifier:ko};Mt[Xi]=es}}}else Ne.includeCompletionsWithInsertText&&(pe(bt),as(bt),_t.push(bt))}else pe(bt),as(bt),_t.push(bt);function as(ft){lt(ft)&&(It[e.getSymbolId(ft)]=10)}function pe(ft){Ne.includeCompletionsWithInsertText&&(Pn&&e.addToSeen(rt,e.getSymbolId(ft))?Mt[_t.length]={kind:Rr(8)}:da&&(Mt[_t.length]={kind:16}))}function Rr(ft){return da?ft|16:ft}}function ji(bt){return e.isIdentifier(bt)?bt:e.isPropertyAccessExpression(bt)?ji(bt.expression):void 0}function Hi(){var bt=hr()||dt()||lo()||tn()||Un()||to()||Oe()||No()||(Lo(),1);return bt===1}function to(){return se(ut)?(dn=5,en=!0,Wn=4,1):0}function No(){var bt=er(ut),Pn=bt&&fr.getContextualType(bt.attributes);if(!Pn)return 0;var da=bt&&fr.getContextualType(bt.attributes,4);return _t=e.concatenate(_t,So(de(Pn,da,bt.attributes,fr),bt.attributes.properties)),Di(),dn=3,en=!1,1}function lo(){return Jn?(en=!0,Zi(),1):0}function Lo(){Wn=Be(ut)?5:1,dn=1,en=Es(),vt!==ut&&e.Debug.assert(!!vt,\"Expected 'contextToken' to be defined when different from 'previousToken'.\");var bt=vt!==ut?vt.getStart():$,Pn=Po(ut,bt,Ee)||Ee;tr=Yo(Pn);var da=(Cn?0:111551)|788968|1920|2097152;_t=e.concatenate(_t,fr.getSymbolsInScope(Pn,da)),e.Debug.assertEachIsDefined(_t,\"getSymbolsInScope() should all be defined\");for(var ei=0,bi=_t;ei<bi.length;ei++){var xi=bi[ei];!fr.isArgumentsSymbol(xi)&&!e.some(xi.declarations,function(Gi){return Gi.getSourceFile()===Ee})&&(It[e.getSymbolId(xi)]=15)}if(Ne.includeCompletionsWithInsertText&&Pn.kind!==303){var ka=fr.tryGetThisTypeAt(Pn,!1);if(ka&&!Yr(ka,Ee,fr))for(var mi=0,Xi=Sr(ka,fr);mi<Xi.length;mi++){var xi=Xi[mi];Mt[_t.length]={kind:1},_t.push(xi),It[e.getSymbolId(xi)]=14}}Zi(),Cn&&(Wn=ut&&e.isAssertionExpression(ut.parent)?6:7)}function Ha(){return Jn?!0:oa||!Ne.includeCompletionsForModuleExports?!1:Ee.externalModuleIndicator||Ee.commonJsModuleIndicator||e.compilerOptionsIndicateEsModules(fe.getCompilerOptions())?!0:e.programContainsModules(fe)}function Yo(bt){switch(bt.kind){case 303:case 222:case 287:case 234:return!0;default:return e.isStatement(bt)}}function co(){return Vr||!!Jn&&e.isTypeOnlyImportOrExportDeclaration(na.parent)||!za(ut)&&(e.isPossiblyTypeArgumentPosition(ut,Ee,fr)||e.isPartOfTypeNode(na)||hi(ut))}function za(bt){return bt&&(bt.kind===112&&(bt.parent.kind===180||e.isTypeOfExpression(bt.parent))||bt.kind===128&&bt.parent.kind===176)}function hi(bt){if(bt){var Pn=bt.parent.kind;switch(bt.kind){case 58:return Pn===166||Pn===165||Pn===163||Pn===253||e.isFunctionLikeKind(Pn);case 63:return Pn===258;case 127:return Pn===228;case 29:return Pn===177||Pn===210;case 94:return Pn===162}}return!1}function Zi(){var bt,Pn;if(!Ha()||(e.Debug.assert(!(me!=null&&me.data),\"Should not run 'collectAutoImports' when faster path is available via `data`\"),me&&!me.source))return;var da=vt===ut&&Jn&&cn(Jn,ut),ei=da?\"\":vt&&e.isIdentifier(vt)?vt.text.toLowerCase():\"\",bi=(bt=Ze.getModuleSpecifierCache)===null||bt===void 0?void 0:bt.call(Ze),xi=e.getExportInfoMap(Ee,Ze,fe,Cr),ka=(Pn=Ze.getPackageJsonAutoImportProvider)===null||Pn===void 0?void 0:Pn.call(Ze),mi=me?void 0:e.createPackageJsonImportFilter(Ee,Ne,Ze);B(\"collectAutoImports\",Ze,fe,Ee,Ne,!!Jn,function(Gi){xi.forEach(Ee.path,function(Ro,ko,es,as){if(!!e.isIdentifierText(ko,e.getEmitScriptTarget(Ze.getCompilationSettings()))&&!(!me&&e.isStringANonContextualKeyword(ko))&&!(!Cn&&!Jn&&!(Ro[0].targetFlags&111551))&&!(Cn&&!(Ro[0].targetFlags&790504))){var pe=me&&e.some(Ro,function(gi){return me.source===e.stripQuotes(gi.moduleSymbol.name)});if(pe||!me&&ye(ko,ei)){var Rr=e.find(Ro,Xi);if(!Rr)return;var ft=Gi.tryResolve(Ro,es)||{},Zt=ft.exportInfo,Re=Zt===void 0?Rr:Zt,Qr=ft.moduleSpecifier,vn=Re.exportKind===1,Xn=vn&&e.getLocalSymbolForExportDefault(Re.symbol)||Re.symbol;Mo(Xn,{kind:Qr?32:4,moduleSpecifier:Qr,symbolName:ko,exportMapKey:as,exportName:Re.exportKind===2?\"export=\":Re.symbol.name,fileName:Re.moduleFileName,isDefaultExport:vn,moduleSymbol:Re.moduleSymbol,isFromPackageJson:Re.isFromPackageJson})}}}),pt=Gi.resolutionLimitExceeded()});function Xi(Gi){var Ro=e.tryCast(Gi.moduleSymbol.valueDeclaration,e.isSourceFile);if(!Ro){var ko=e.stripQuotes(Gi.moduleSymbol.name);return e.JsTyping.nodeCoreModules.has(ko)&&e.startsWith(ko,\"node:\")!==e.shouldUseUriStyleNodeCoreModules(Ee,fe)?!1:mi?mi.allowsImportingAmbientModule(Gi.moduleSymbol,Qn(Gi.isFromPackageJson)):!0}return e.isImportableFile(Gi.isFromPackageJson?ka:fe,Ee,Ro,Ne,mi,Qn(Gi.isFromPackageJson),bi)}}function Mo(bt,Pn){var da=e.getSymbolId(bt);It[da]!==15&&(Mt[_t.length]=Pn,It[da]=Jn?11:16,_t.push(bt))}function Po(bt,Pn,da){for(var ei=bt;ei&&!e.positionBelongsToNode(ei,Pn,da);)ei=ei.parent;return ei}function Fo(bt){var Pn=e.timestamp(),da=Cs(bt)||vr(bt)||Jt(bt)||zo(bt)||e.isBigIntLiteral(bt);return je(\"getCompletionsAtPosition: isCompletionListBlocker: \"+(e.timestamp()-Pn)),da}function zo(bt){if(bt.kind===11)return!0;if(bt.kind===31&&bt.parent){if(bt.parent.kind===279)return na.parent.kind!==279;if(bt.parent.kind===280||bt.parent.kind===278)return!!bt.parent.parent&&bt.parent.parent.kind===277}return!1}function Es(){if(ut){var bt=ut.parent.kind,Pn=ur(ut);switch(Pn){case 27:return bt===207||bt===170||bt===208||bt===203||bt===220||bt===178||bt===204;case 20:return bt===207||bt===170||bt===208||bt===211||bt===190;case 22:return bt===203||bt===175||bt===161;case 141:case 142:case 100:return!0;case 24:return bt===260;case 18:return bt===256||bt===204;case 63:return bt===253||bt===220;case 15:return bt===222;case 16:return bt===232;case 131:return bt===168||bt===295;case 41:return bt===168}if(Me(Pn))return!0}return!1}function Cs(bt){return(e.isRegularExpressionLiteral(bt)||e.isStringTextContainingNode(bt))&&(e.rangeContainsPositionExclusive(e.createTextRangeFromSpan(e.createTextSpanFromNode(bt)),$)||$===bt.end&&(!!bt.isUnterminated||e.isRegularExpressionLiteral(bt)))}function hr(){var bt=He(ut);if(!bt)return 0;var Pn=e.isIntersectionTypeNode(bt.parent)?bt.parent:void 0,da=Pn||bt,ei=pr(da,fr);if(!ei)return 0;var bi=fr.getTypeFromTypeNode(da),xi=Sr(ei,fr),ka=Sr(bi,fr),mi=new e.Set;return ka.forEach(function(Xi){return mi.add(Xi.escapedName)}),_t=e.concatenate(_t,e.filter(xi,function(Xi){return!mi.has(Xi.escapedName)})),dn=0,en=!0,1}function dt(){var bt=oe(ut);if(!bt)return 0;dn=0;var Pn,da;if(bt.kind===204){var ei=tt(bt,fr);if(ei===void 0)return bt.flags&16777216?2:(oa=!0,0);var bi=fr.getContextualType(bt,4),xi=(bi||ei).getStringIndexType(),ka=(bi||ei).getNumberIndexType();if(en=!!xi||!!ka,Pn=de(ei,bi,bt,fr),da=bt.properties,Pn.length===0&&!ka)return oa=!0,0}else{e.Debug.assert(bt.kind===200),en=!1;var mi=e.getRootDeclaration(bt.parent);if(!e.isVariableLike(mi))return e.Debug.fail(\"Root declaration is not variable-like.\");var Xi=e.hasInitializer(mi)||e.hasType(mi)||mi.parent.parent.kind===243;if(!Xi&&mi.kind===163&&(e.isExpression(mi.parent)?Xi=!!fr.getContextualType(mi.parent):(mi.parent.kind===168||mi.parent.kind===172)&&(Xi=e.isExpression(mi.parent.parent)&&!!fr.getContextualType(mi.parent.parent))),Xi){var Gi=fr.getTypeAtLocation(bt);if(!Gi)return 2;Pn=fr.getPropertiesOfType(Gi).filter(function(Ro){return fr.isPropertyAccessible(bt,!1,!1,Gi,Ro)}),da=bt.elements}}return Pn&&Pn.length>0&&(_t=e.concatenate(_t,ta(Pn,e.Debug.checkDefined(da)))),Di(),1}function tn(){if(!ut)return 0;var bt=ut.kind===18||ut.kind===27?e.tryCast(ut.parent,e.isNamedImportsOrExports):e.isTypeKeywordTokenOrIdentifier(ut)?e.tryCast(ut.parent.parent,e.isNamedImportsOrExports):void 0;if(!bt)return 0;e.isTypeKeywordTokenOrIdentifier(ut)||(Wn=8);var Pn=(bt.kind===268?bt.parent.parent:bt.parent).moduleSpecifier;if(!Pn)return en=!0,bt.kind===268?2:0;var da=fr.getSymbolAtLocation(Pn);if(!da)return en=!0,2;dn=3,en=!1;var ei=fr.getExportsAndPropertiesOfModule(da),bi=new e.Set(bt.elements.filter(function(ka){return!cs(ka)}).map(function(ka){return(ka.propertyName||ka.name).escapedText})),xi=ei.filter(function(ka){return ka.escapedName!==\"default\"&&!bi.has(ka.escapedName)});return _t=e.concatenate(_t,xi),xi.length||(Wn=0),1}function Un(){var bt,Pn=ut&&(ut.kind===18||ut.kind===27)?e.tryCast(ut.parent,e.isNamedExports):void 0;if(!Pn)return 0;var da=e.findAncestor(Pn,e.or(e.isSourceFile,e.isModuleDeclaration));return dn=5,en=!1,(bt=da.locals)===null||bt===void 0||bt.forEach(function(ei,bi){var xi,ka;_t.push(ei),!((ka=(xi=da.symbol)===null||xi===void 0?void 0:xi.exports)===null||ka===void 0)&&ka.has(bi)&&(It[e.getSymbolId(ei)]=12)}),1}function Oe(){var bt=Pr(Ee,ut,na,$);if(!bt)return 0;if(dn=3,en=!0,Wn=ut.kind===41?0:e.isClassLike(bt)?2:3,!e.isClassLike(bt))return 1;var Pn=ut.kind===26?ut.parent.parent:ut.parent,da=e.isClassElement(Pn)?e.getEffectiveModifierFlags(Pn):0;if(ut.kind===79&&!cs(ut))switch(ut.getText()){case\"private\":da=da|8;break;case\"static\":da=da|32;break;case\"override\":da=da|16384;break}if(e.isClassStaticBlockDeclaration(Pn)&&(da|=32),!(da&8)){var ei=e.isClassLike(bt)&&da&16384?e.singleElementArray(e.getEffectiveBaseTypeNode(bt)):e.getAllSuperTypeNodes(bt),bi=e.flatMap(ei,function(xi){var ka=fr.getTypeAtLocation(xi);return da&32?(ka==null?void 0:ka.symbol)&&fr.getPropertiesOfType(fr.getTypeOfSymbolAtLocation(ka.symbol,bt)):ka&&fr.getPropertiesOfType(ka)});_t=e.concatenate(_t,Ji(bi,bt.members,da))}return 1}function oe(bt){if(bt){var Pn=bt.parent;switch(bt.kind){case 18:case 27:if(e.isObjectLiteralExpression(Pn)||e.isObjectBindingPattern(Pn))return Pn;break;case 41:return e.isMethodDeclaration(Pn)?e.tryCast(Pn.parent,e.isObjectLiteralExpression):void 0;case 79:return bt.text===\"async\"&&e.isShorthandPropertyAssignment(bt.parent)?bt.parent.parent:void 0}}}function mr(bt){return!!bt.parent&&e.isParameter(bt.parent)&&e.isConstructorDeclaration(bt.parent.parent)&&(e.isParameterPropertyModifier(bt.kind)||e.isDeclarationName(bt))}function se(bt){if(bt){var Pn=bt.parent;switch(bt.kind){case 20:case 27:return e.isConstructorDeclaration(bt.parent)?bt.parent:void 0;default:if(mr(bt))return Pn.parent}}}function Be(bt){if(bt){var Pn,da=e.findAncestor(bt.parent,function(ei){return e.isClassLike(ei)?\"quit\":e.isFunctionLikeDeclaration(ei)&&Pn===ei.body?!0:(Pn=ei,!1)});return da&&da}}function er(bt){if(bt){var Pn=bt.parent;switch(bt.kind){case 31:case 30:case 43:case 79:case 205:case 285:case 284:case 286:if(Pn&&(Pn.kind===278||Pn.kind===279)){if(bt.kind===31){var da=e.findPrecedingToken(bt.pos,Ee,void 0);if(!Pn.typeArguments||da&&da.kind===43)break}return Pn}else if(Pn.kind===284)return Pn.parent.parent;break;case 10:if(Pn&&(Pn.kind===284||Pn.kind===286))return Pn.parent.parent;break;case 19:if(Pn&&Pn.kind===287&&Pn.parent&&Pn.parent.kind===284)return Pn.parent.parent.parent;if(Pn&&Pn.kind===286)return Pn.parent.parent;break}}}function vr(bt){var Pn=bt.parent,da=Pn.kind;switch(bt.kind){case 27:return da===253||Sn(bt)||da===236||da===259||Dt(da)||da===257||da===201||da===258||e.isClassLike(Pn)&&!!Pn.typeParameters&&Pn.typeParameters.end>=bt.pos;case 24:return da===201;case 58:return da===202;case 22:return da===201;case 20:return da===291||Dt(da);case 18:return da===259;case 29:return da===256||da===225||da===257||da===258||e.isFunctionLikeKind(da);case 124:return da===166&&!e.isClassLike(Pn.parent);case 25:return da===163||!!Pn.parent&&Pn.parent.kind===201;case 123:case 121:case 122:return da===163&&!e.isConstructorDeclaration(Pn.parent);case 127:return da===269||da===274||da===267;case 136:case 148:return!Jr(bt);case 79:if(da===269&&bt===Pn.name&&bt.text===\"type\")return!1;break;case 84:case 92:case 118:case 98:case 113:case 100:case 119:case 85:case 137:return!0;case 151:return da!==269;case 41:return e.isFunctionLike(bt.parent)&&!e.isMethodDeclaration(bt.parent)}if(Me(ur(bt))&&Jr(bt)||mr(bt)&&(!e.isIdentifier(bt)||e.isParameterPropertyModifier(ur(bt))||cs(bt)))return!1;switch(ur(bt)){case 126:case 84:case 85:case 135:case 92:case 98:case 118:case 119:case 121:case 122:case 123:case 124:case 113:return!0;case 131:return e.isPropertyDeclaration(bt.parent)}var ei=e.findAncestor(bt.parent,e.isClassLike);if(ei&&bt===vt&&qr(bt,$))return!1;var bi=e.getAncestor(bt.parent,166);if(bi&&bt!==vt&&e.isClassLike(vt.parent.parent)&&$<=vt.end){if(qr(bt,vt.end))return!1;if(bt.kind!==63&&(e.isInitializedProperty(bi)||e.hasType(bi)))return!0}return e.isDeclarationName(bt)&&!e.isShorthandPropertyAssignment(bt.parent)&&!e.isJsxAttribute(bt.parent)&&!(e.isClassLike(bt.parent)&&(bt!==vt||$>vt.end))}function qr(bt,Pn){return bt.kind!==63&&(bt.kind===26||!e.positionsAreOnSameLine(bt.end,Pn,Ee))}function Dt(bt){return e.isFunctionLikeKind(bt)&&bt!==170}function Jt(bt){if(bt.kind===8){var Pn=bt.getFullText();return Pn.charAt(Pn.length-1)===\".\"}return!1}function Sn(bt){return bt.parent.kind===254&&!e.isPossiblyTypeArgumentPosition(bt,Ee,fr)}function ta(bt,Pn){if(Pn.length===0)return bt;for(var da=new e.Set,ei=new e.Set,bi=0,xi=Pn;bi<xi.length;bi++){var ka=xi[bi];if(!(ka.kind!==294&&ka.kind!==295&&ka.kind!==202&&ka.kind!==168&&ka.kind!==171&&ka.kind!==172&&ka.kind!==296)&&!cs(ka)){var mi=void 0;if(e.isSpreadAssignment(ka))xa(ka,da);else if(e.isBindingElement(ka)&&ka.propertyName)ka.propertyName.kind===79&&(mi=ka.propertyName.escapedText);else{var Xi=e.getNameOfDeclaration(ka);mi=Xi&&e.isPropertyNameLiteral(Xi)?e.getEscapedTextOfIdentifierOrLiteral(Xi):void 0}mi!==void 0&&ei.add(mi)}}var Gi=bt.filter(function(Ro){return!ei.has(Ro.escapedName)});return $a(da,Gi),Gi}function xa(bt,Pn){var da=bt.expression,ei=fr.getSymbolAtLocation(da),bi=ei&&fr.getTypeOfSymbolAtLocation(ei,da),xi=bi&&bi.properties;xi&&xi.forEach(function(ka){Pn.add(ka.name)})}function Di(){_t.forEach(function(bt){var Pn;if(bt.flags&16777216){var da=e.getSymbolId(bt);It[da]=(Pn=It[da])!==null&&Pn!==void 0?Pn:12}})}function $a(bt,Pn){if(bt.size!==0)for(var da=0,ei=Pn;da<ei.length;da++){var bi=ei[da];bt.has(bi.name)&&(It[e.getSymbolId(bi)]=13)}}function Ji(bt,Pn,da){for(var ei=new e.Set,bi=0,xi=Pn;bi<xi.length;bi++){var ka=xi[bi];if(!(ka.kind!==166&&ka.kind!==168&&ka.kind!==171&&ka.kind!==172)&&!cs(ka)&&!e.hasEffectiveModifier(ka,8)&&e.isStatic(ka)===!!(da&32)){var mi=e.getPropertyNameForPropertyNameNode(ka.name);mi&&ei.add(mi)}}return bt.filter(function(Xi){return!ei.has(Xi.escapedName)&&!!Xi.declarations&&!(e.getDeclarationModifierFlagsFromSymbol(Xi)&8)&&!(Xi.valueDeclaration&&e.isPrivateIdentifierClassElementDeclaration(Xi.valueDeclaration))})}function So(bt,Pn){for(var da=new e.Set,ei=new e.Set,bi=0,xi=Pn;bi<xi.length;bi++){var ka=xi[bi];cs(ka)||(ka.kind===284?da.add(ka.name.escapedText):e.isJsxSpreadAttribute(ka)&&xa(ka,ei))}var mi=bt.filter(function(Xi){return!da.has(Xi.escapedName)});return $a(ei,mi),mi}function cs(bt){return bt.getStart(Ee)<=$&&$<=bt.getEnd()}}function De(fe,je){var Ee=e.findPrecedingToken(fe,je);if(Ee&&fe<=Ee.end&&(e.isMemberName(Ee)||e.isKeyword(Ee.kind))){var We=e.findPrecedingToken(Ee.getFullStart(),je,void 0);return{contextToken:We,previousToken:Ee}}return{contextToken:Ee,previousToken:Ee}}function Ae(fe,je,Ee,We){var $=je.isPackageJsonImport?We.getPackageJsonAutoImportProvider():Ee,Ne=$.getTypeChecker(),me=je.ambientModuleName?Ne.tryFindAmbientModule(je.ambientModuleName):je.fileName?Ne.getMergedSymbol(e.Debug.checkDefined($.getSourceFile(je.fileName)).symbol):void 0;if(!!me){var Ze=je.exportName===\"export=\"?Ne.resolveExternalModuleSymbol(me):Ne.tryGetMemberInModuleExportsAndProperties(je.exportName,me);if(!!Ze){var Cr=je.exportName===\"default\";return Ze=Cr&&e.getLocalSymbolForExportDefault(Ze)||Ze,{symbol:Ze,origin:X(je,fe,me)}}}}function Ye(fe,je,Ee,We,$){var Ne=A(Ee)?Ee.symbolName:fe.name;if(!(Ne===void 0||fe.flags&1536&&e.isSingleOrDoubleQuote(Ne.charCodeAt(0))||e.isKnownSymbol(fe))){var me={name:Ne,needsConvertPropertyAccess:!1};if(e.isIdentifierText(Ne,je,$?1:0)||fe.valueDeclaration&&e.isPrivateIdentifierClassElementDeclaration(fe.valueDeclaration))return me;switch(We){case 3:return;case 0:return{name:JSON.stringify(Ne),needsConvertPropertyAccess:!1};case 2:case 1:return Ne.charCodeAt(0)===32?void 0:{name:Ne,needsConvertPropertyAccess:!0};case 5:case 4:return me;default:e.Debug.assertNever(We)}}}var Dr=[],br=e.memoize(function(){for(var fe=[],je=81;je<=159;je++)fe.push({name:e.tokenToString(je),kind:\"keyword\",kindModifiers:\"\",sortText:f.GlobalsOrKeywords});return fe});function lr(fe,je){if(!je)return Ar(fe);var Ee=fe+7+1;return Dr[Ee]||(Dr[Ee]=Ar(fe).filter(function(We){return!kr(e.stringToToken(We.name))}))}function Ar(fe){return Dr[fe]||(Dr[fe]=br().filter(function(je){var Ee=e.stringToToken(je.name);switch(fe){case 0:return!1;case 1:return Hr(Ee)||Ee===135||Ee===141||Ee===151||Ee===142||Ee===126||e.isTypeKeyword(Ee)&&Ee!==152;case 5:return Hr(Ee);case 2:return Me(Ee);case 3:return Ke(Ee);case 4:return e.isParameterPropertyModifier(Ee);case 6:return e.isTypeKeyword(Ee)||Ee===85;case 7:return e.isTypeKeyword(Ee);case 8:return Ee===151;default:return e.Debug.assertNever(fe)}}))}function kr(fe){switch(fe){case 126:case 130:case 157:case 133:case 135:case 92:case 156:case 117:case 137:case 118:case 139:case 140:case 141:case 142:case 143:case 146:case 147:case 158:case 121:case 122:case 123:case 144:case 149:case 150:case 151:case 153:case 154:return!0;default:return!1}}function Ke(fe){return fe===144}function Me(fe){switch(fe){case 126:case 134:case 136:case 148:case 131:case 135:case 158:return!0;default:return e.isClassMemberModifier(fe)}}function Hr(fe){return fe===131||fe===132||fe===127||!e.isContextualKeyword(fe)&&!Me(fe)}function ur(fe){return e.isIdentifier(fe)?fe.originalKeywordKind||0:fe.kind}function gr(fe,je){var Ee=e.findAncestor(fe,e.isJSDoc);return Ee&&Ee.tags&&(e.rangeContainsPosition(Ee,je)?e.findLast(Ee.tags,function(We){return We.pos<je}):void 0)}function de(fe,je,Ee,We){var $=je&&je!==fe,Ne=$&&!(je.flags&3)?We.getUnionType([fe,je]):fe,me=Fe(Ne,Ee,We);return Ne.isClass()&&$e(me)?[]:$?e.filter(me,Ze):me;function Ze(Cr){return e.some(Cr.declarations,function(fr){return fr.parent!==Ee})}}n.getPropertiesForObjectExpression=de;function Fe(fe,je,Ee){return fe.isUnion()?Ee.getAllPossiblePropertiesOfTypes(e.filter(fe.types,function(We){return!(We.flags&131068||Ee.isArrayLikeType(We)||Ee.isTypeInvalidDueToUnionDiscriminant(We,je)||e.typeHasCallOrConstructSignatures(We,Ee)||We.isClass()&&$e(We.getApparentProperties()))})):fe.getApparentProperties()}function $e(fe){return e.some(fe,function(je){return!!(e.getDeclarationModifierFlagsFromSymbol(je)&24)})}function Sr(fe,je){return fe.isUnion()?e.Debug.checkEachDefined(je.getAllPossiblePropertiesOfTypes(fe.types),\"getAllPossiblePropertiesOfTypes() should all be defined\"):e.Debug.checkEachDefined(fe.getApparentProperties(),\"getApparentProperties() should all be defined\")}function Pr(fe,je,Ee,We){switch(Ee.kind){case 346:return e.tryCast(Ee.parent,e.isObjectTypeDeclaration);case 1:var $=e.tryCast(e.lastOrUndefined(e.cast(Ee.parent,e.isSourceFile).statements),e.isObjectTypeDeclaration);if($&&!e.findChildOfKind($,19,fe))return $;break;case 79:{if(e.isPropertyDeclaration(Ee.parent)&&Ee.parent.initializer===Ee)return;if(Jr(Ee))return e.findAncestor(Ee,e.isObjectTypeDeclaration)}}if(!!je){if(Ee.kind===134||e.isIdentifier(je)&&e.isPropertyDeclaration(je.parent)&&e.isClassLike(Ee))return e.findAncestor(je,e.isClassLike);switch(je.kind){case 63:return;case 26:case 19:return Jr(Ee)&&Ee.parent.name===Ee?Ee.parent.parent:e.tryCast(Ee,e.isObjectTypeDeclaration);case 18:case 27:return e.tryCast(je.parent,e.isObjectTypeDeclaration);default:if(!Jr(je))return e.getLineAndCharacterOfPosition(fe,je.getEnd()).line!==e.getLineAndCharacterOfPosition(fe,We).line&&e.isObjectTypeDeclaration(Ee)?Ee:void 0;var Ne=e.isClassLike(je.parent.parent)?Me:Ke;return Ne(je.kind)||je.kind===41||e.isIdentifier(je)&&Ne(e.stringToToken(je.text))?je.parent.parent:void 0}}}function He(fe){if(!!fe){var je=fe.parent;switch(fe.kind){case 18:if(e.isTypeLiteralNode(je))return je;break;case 26:case 27:case 79:if(je.kind===165&&e.isTypeLiteralNode(je.parent))return je.parent;break}}}function pr(fe,je){if(!!fe){if(e.isTypeNode(fe)&&e.isTypeReferenceType(fe.parent))return je.getTypeArgumentConstraint(fe);var Ee=pr(fe.parent,je);if(!!Ee)switch(fe.kind){case 165:return je.getTypeOfPropertyOfContextualType(Ee,fe.symbol.escapedName);case 187:case 181:case 186:return Ee}}}function Jr(fe){return fe.parent&&e.isClassOrTypeElement(fe.parent)&&e.isObjectTypeDeclaration(fe.parent.parent)}function ze(fe,je,Ee,We){switch(je){case\".\":case\"@\":return!0;case'\"':case\"'\":case\"`\":return!!Ee&&e.isStringLiteralOrTemplate(Ee)&&We===Ee.getStart(fe)+1;case\"#\":return!!Ee&&e.isPrivateIdentifier(Ee)&&!!e.getContainingClass(Ee);case\"<\":return!!Ee&&Ee.kind===29&&(!e.isBinaryExpression(Ee.parent)||Lr(Ee.parent));case\"/\":return!!Ee&&(e.isStringLiteralLike(Ee)?!!e.tryGetImportFromModuleSpecifier(Ee):Ee.kind===43&&e.isJsxClosingElement(Ee.parent));case\" \":return!!Ee&&e.isImportKeyword(Ee)&&Ee.parent.kind===303;default:return e.Debug.assertNever(je)}}function Lr(fe){var je=fe.left;return e.nodeIsMissing(je)}function Yr(fe,je,Ee){var We=Ee.resolveName(\"self\",void 0,111551,!1);if(We&&Ee.getTypeOfSymbolAtLocation(We,je)===fe)return!0;var $=Ee.resolveName(\"global\",void 0,111551,!1);if($&&Ee.getTypeOfSymbolAtLocation($,je)===fe)return!0;var Ne=Ee.resolveName(\"globalThis\",void 0,111551,!1);return!!(Ne&&Ee.getTypeOfSymbolAtLocation(Ne,je)===fe)}function lt(fe){return!!(fe.valueDeclaration&&e.getEffectiveModifierFlags(fe.valueDeclaration)&32&&e.isClassLike(fe.valueDeclaration.parent))}function tt(fe,je){var Ee=je.getContextualType(fe);if(Ee)return Ee;if(e.isBinaryExpression(fe.parent)&&fe.parent.operatorToken.kind===63&&fe===fe.parent.left)return je.getTypeAtLocation(fe.parent)}function Rt(fe){var je,Ee=!1,We=$();return{isKeywordOnlyCompletion:Ee,keywordCompletion:je,isNewIdentifierLocation:!!(We||je===151),replacementNode:We&&e.rangeIsOnSingleLine(We,We.getSourceFile())?We:void 0};function $(){var Ne=fe.parent;if(e.isImportEqualsDeclaration(Ne))return je=fe.kind===151?void 0:151,In(Ne.moduleReference)?Ne:void 0;if(cn(Ne,fe)&&bn(Ne.parent))return Ne;if(e.isNamedImports(Ne)||e.isNamespaceImport(Ne)){if(!Ne.parent.isTypeOnly&&(fe.kind===18||fe.kind===100||fe.kind===27)&&(je=151),bn(Ne))if(fe.kind===19||fe.kind===79)Ee=!0,je=155;else return Ne.parent.parent;return}if(e.isImportKeyword(fe)&&e.isSourceFile(Ne))return je=151,fe;if(e.isImportKeyword(fe)&&e.isImportDeclaration(Ne))return je=151,In(Ne.moduleSpecifier)?Ne:void 0}}function cn(fe,je){return e.isImportSpecifier(fe)&&(fe.isTypeOnly||je===fe.name&&e.isTypeKeywordTokenOrIdentifier(je))}function bn(fe){return In(fe.parent.parent.moduleSpecifier)&&(e.isNamespaceImport(fe)||fe.elements.length<2)&&!fe.parent.name}function In(fe){var je;return e.nodeIsMissing(fe)?!0:!(!((je=e.tryCast(e.isExternalModuleReference(fe)?fe.expression:fe,e.isStringLiteralLike))===null||je===void 0)&&je.text)}function zn(fe){var je=e.findAncestor(fe,function(Ee){return e.isFunctionBlock(Ee)||ir(Ee)||e.isBindingPattern(Ee)?\"quit\":e.isVariableDeclaration(Ee)});return je}function ir(fe){return fe.parent&&e.isArrowFunction(fe.parent)&&fe.parent.body===fe}function Or(fe,je,Ee){Ee===void 0&&(Ee=new e.Map);var We=e.skipAlias(fe.exportSymbol||fe,je);return!!(We.flags&788968)||je.isUnknownSymbol(We)||!!(We.flags&1536)&&e.addToSeen(Ee,e.getSymbolId(We))&&je.getExportsOfModule(We).some(function($){return Or($,je,Ee)})}function sr(fe,je){var Ee=e.skipAlias(fe,je).declarations;return!!e.length(Ee)&&e.every(Ee,e.isDeprecatedDeclaration)}function ye(fe,je){if(je.length===0)return!0;for(var Ee=!1,We,$=0,Ne=fe.length,me=0;me<Ne;me++){var Ze=fe.charCodeAt(me),Cr=je.charCodeAt($);if((Ze===Cr||Ze===or(Cr))&&(Ee||(Ee=We===void 0||97<=We&&We<=122&&65<=Ze&&Ze<=90||We===95&&Ze!==95),Ee&&$++,$===je.length))return!0;We=Ze}return!1}function or(fe){return 97<=fe&&fe<=122?fe-32:fe}})(e.Completions||(e.Completions={}))}(jr||(jr={})),function(e){(function(n){function f(re,T,N,y,D){var C=e.getTouchingPropertyName(N,y);if(C.parent&&(e.isJsxOpeningElement(C.parent)&&C.parent.tagName===C||e.isJsxClosingElement(C.parent))){var m=C.parent.parent,u=m.openingElement,g=m.closingElement,P=[u,g].map(function(te){var ue=te.tagName;return p(ue,N)});return[{fileName:N.fileName,highlightSpans:P}]}return a(y,C,re,T,D)||d(C,N)}n.getDocumentHighlights=f;function p(re,T){return{fileName:T.fileName,textSpan:e.createTextSpanFromNode(re,T),kind:\"none\"}}function a(re,T,N,y,D){var C=new e.Set(D.map(function(P){return P.fileName})),m=e.FindAllReferences.getReferenceEntriesForNode(re,T,N,D,y,void 0,C);if(!!m){var u=e.arrayToMultiMap(m.map(e.FindAllReferences.toHighlightSpan),function(P){return P.fileName},function(P){return P.span}),g=e.createGetCanonicalFileName(N.useCaseSensitiveFileNames());return e.mapDefined(e.arrayFrom(u.entries()),function(P){var te=P[0],ue=P[1];if(!C.has(te)){if(!N.redirectTargetsMap.has(e.toPath(te,N.getCurrentDirectory(),g)))return;var X=N.getSourceFile(te),j=e.find(D,function(Se){return!!Se.redirectInfo&&Se.redirectInfo.redirectTarget===X});te=j.fileName,e.Debug.assert(C.has(te))}return{fileName:te,highlightSpans:ue}})}}function d(re,T){var N=k(re,T);return N&&[{fileName:T.fileName,highlightSpans:N}]}function k(re,T){switch(re.kind){case 99:case 91:return e.isIfStatement(re.parent)?F(re.parent,T):void 0;case 105:return D(re.parent,e.isReturnStatement,O);case 109:return D(re.parent,e.isThrowStatement,x);case 111:case 83:case 96:var N=re.kind===83?re.parent.parent:re.parent;return D(N,e.isTryStatement,w);case 107:return D(re.parent,e.isSwitchStatement,I);case 82:case 88:return e.isDefaultClause(re.parent)||e.isCaseClause(re.parent)?D(re.parent.parent.parent,e.isSwitchStatement,I):void 0;case 81:case 86:return D(re.parent,e.isBreakOrContinueStatement,H);case 97:case 115:case 90:return D(re.parent,function(m){return e.isIterationStatement(m,!0)},B);case 134:return y(e.isConstructorDeclaration,[134]);case 136:case 148:return y(e.isAccessor,[136,148]);case 132:return D(re.parent,e.isAwaitExpression,q);case 131:return C(q(re));case 125:return C(Z(re));default:return e.isModifierKind(re.kind)&&(e.isDeclaration(re.parent)||e.isVariableStatement(re.parent))?C(b(re.kind,re.parent)):void 0}function y(m,u){return D(re.parent,m,function(g){return e.mapDefined(g.symbol.declarations,function(P){return m(P)?e.find(P.getChildren(T),function(te){return e.contains(u,te.kind)}):void 0})})}function D(m,u,g){return u(m)?C(g(m,T)):void 0}function C(m){return m&&m.map(function(u){return p(u,T)})}}function J(re){return e.isThrowStatement(re)?[re]:e.isTryStatement(re)?e.concatenate(re.catchClause?J(re.catchClause):re.tryBlock&&J(re.tryBlock),re.finallyBlock&&J(re.finallyBlock)):e.isFunctionLike(re)?void 0:A(re,J)}function h(re){for(var T=re;T.parent;){var N=T.parent;if(e.isFunctionBlock(N)||N.kind===303)return N;if(e.isTryStatement(N)&&N.tryBlock===T&&N.catchClause)return T;T=N}}function v(re){return e.isBreakOrContinueStatement(re)?[re]:e.isFunctionLike(re)?void 0:A(re,v)}function A(re,T){var N=[];return re.forEachChild(function(y){var D=T(y);D!==void 0&&N.push.apply(N,e.toArray(D))}),N}function z(re,T){var N=ie(T);return!!N&&N===re}function ie(re){return e.findAncestor(re,function(T){switch(T.kind){case 248:if(re.kind===244)return!1;case 241:case 242:case 243:case 240:case 239:return!re.label||V(T,re.label.escapedText);default:return e.isFunctionLike(T)&&\"quit\"}})}function b(re,T){return e.mapDefined(M(T,e.modifierToFlag(re)),function(N){return e.findModifier(N,re)})}function M(re,T){var N=re.parent;switch(N.kind){case 261:case 303:case 234:case 288:case 289:return T&128&&e.isClassDeclaration(re)?Gt(Gt([],re.members,!0),[re],!1):N.statements;case 170:case 168:case 255:return Gt(Gt([],N.parameters,!0),e.isClassLike(N.parent)?N.parent.members:[],!0);case 256:case 225:case 257:case 181:var y=N.members;if(T&92){var D=e.find(N.members,e.isConstructorDeclaration);if(D)return Gt(Gt([],y,!0),D.parameters,!0)}else if(T&128)return Gt(Gt([],y,!0),[N],!1);return y;case 204:return;default:e.Debug.assertNever(N,\"Invalid container kind.\")}}function S(re,T){for(var N=[],y=2;y<arguments.length;y++)N[y-2]=arguments[y];return T&&e.contains(N,T.kind)?(re.push(T),!0):!1}function B(re){var T=[];if(S(T,re.getFirstToken(),97,115,90)&&re.kind===239)for(var N=re.getChildren(),y=N.length-1;y>=0&&!S(T,N[y],115);y--);return e.forEach(v(re.statement),function(D){z(re,D)&&S(T,D.getFirstToken(),81,86)}),T}function H(re){var T=ie(re);if(T)switch(T.kind){case 241:case 242:case 243:case 239:case 240:return B(T);case 248:return I(T)}}function I(re){var T=[];return S(T,re.getFirstToken(),107),e.forEach(re.caseBlock.clauses,function(N){S(T,N.getFirstToken(),82,88),e.forEach(v(N),function(y){z(re,y)&&S(T,y.getFirstToken(),81)})}),T}function w(re,T){var N=[];if(S(N,re.getFirstToken(),111),re.catchClause&&S(N,re.catchClause.getFirstToken(),83),re.finallyBlock){var y=e.findChildOfKind(re,96,T);S(N,y,96)}return N}function x(re,T){var N=h(re);if(!!N){var y=[];return e.forEach(J(N),function(D){y.push(e.findChildOfKind(D,109,T))}),e.isFunctionBlock(N)&&e.forEachReturnStatement(N,function(D){y.push(e.findChildOfKind(D,105,T))}),y}}function O(re,T){var N=e.getContainingFunction(re);if(!!N){var y=[];return e.forEachReturnStatement(e.cast(N.body,e.isBlock),function(D){y.push(e.findChildOfKind(D,105,T))}),e.forEach(J(N.body),function(D){y.push(e.findChildOfKind(D,109,T))}),y}}function q(re){var T=e.getContainingFunction(re);if(!!T){var N=[];return T.modifiers&&T.modifiers.forEach(function(y){S(N,y,131)}),e.forEachChild(T,function(y){ne(y,function(D){e.isAwaitExpression(D)&&S(N,D.getFirstToken(),132)})}),N}}function Z(re){var T=e.getContainingFunction(re);if(!!T){var N=[];return e.forEachChild(T,function(y){ne(y,function(D){e.isYieldExpression(D)&&S(N,D.getFirstToken(),125)})}),N}}function ne(re,T){T(re),!e.isFunctionLike(re)&&!e.isClassLike(re)&&!e.isInterfaceDeclaration(re)&&!e.isModuleDeclaration(re)&&!e.isTypeAliasDeclaration(re)&&!e.isTypeNode(re)&&e.forEachChild(re,function(N){return ne(N,T)})}function F(re,T){for(var N=Q(re,T),y=[],D=0;D<N.length;D++){if(N[D].kind===91&&D<N.length-1){for(var C=N[D],m=N[D+1],u=!0,g=m.getStart(T)-1;g>=C.end;g--)if(!e.isWhiteSpaceSingleLine(T.text.charCodeAt(g))){u=!1;break}if(u){y.push({fileName:T.fileName,textSpan:e.createTextSpanFromBounds(C.getStart(),m.end),kind:\"reference\"}),D++;continue}}y.push(p(N[D],T))}return y}function Q(re,T){for(var N=[];e.isIfStatement(re.parent)&&re.parent.elseStatement===re;)re=re.parent;for(;;){var y=re.getChildren(T);S(N,y[0],99);for(var D=y.length-1;D>=0&&!S(N,y[D],91);D--);if(!re.elseStatement||!e.isIfStatement(re.elseStatement))break;re=re.elseStatement}return N}function V(re,T){return!!e.findAncestor(re.parent,function(N){return e.isLabeledStatement(N)?N.label.escapedText===T:\"quit\"})}})(e.DocumentHighlights||(e.DocumentHighlights={}))}(jr||(jr={})),function(e){function n(d){return!!d.sourceFile}function f(d,k){return p(d,k)}e.createDocumentRegistry=f;function p(d,k,J){k===void 0&&(k=\"\");var h=new e.Map,v=e.createGetCanonicalFileName(!!d);function A(){var x=e.arrayFrom(h.keys()).filter(function(O){return O&&O.charAt(0)===\"_\"}).map(function(O){var q=h.get(O),Z=[];return q.forEach(function(ne,F){n(ne)?Z.push({name:F,scriptKind:ne.sourceFile.scriptKind,refCount:ne.languageServiceRefCount}):ne.forEach(function(Q,V){return Z.push({name:F,scriptKind:V,refCount:Q.languageServiceRefCount})})}),Z.sort(function(ne,F){return F.refCount-ne.refCount}),{bucket:O,sourceFiles:Z}});return JSON.stringify(x,void 0,2)}function z(x,O,q,Z,ne){var F=e.toPath(x,k,v),Q=a(O);return ie(x,F,O,Q,q,Z,ne)}function ie(x,O,q,Z,ne,F,Q){return B(x,O,q,Z,ne,F,!0,Q)}function b(x,O,q,Z,ne){var F=e.toPath(x,k,v),Q=a(O);return M(x,F,O,Q,q,Z,ne)}function M(x,O,q,Z,ne,F,Q){return B(x,O,q,Z,ne,F,!1,Q)}function S(x,O){var q=n(x)?x:x.get(e.Debug.checkDefined(O,\"If there are more than one scriptKind's for same document the scriptKind should be provided\"));return e.Debug.assert(O===void 0||!q||q.sourceFile.scriptKind===O,\"Script kind should match provided ScriptKind:\".concat(O,\" and sourceFile.scriptKind: \").concat(q==null?void 0:q.sourceFile.scriptKind,\", !entry: \").concat(!q)),q}function B(x,O,q,Z,ne,F,Q,V){V=e.ensureScriptKind(x,V);var re=V===6?100:e.getEmitScriptTarget(q),T=e.getOrUpdate(h,Z,function(){return new e.Map}),N=T.get(O),y=N&&S(N,V);if(!y&&J){var D=J.getDocument(Z,O);D&&(e.Debug.assert(Q),y={sourceFile:D,languageServiceRefCount:0},C())}if(y)y.sourceFile.version!==F&&(y.sourceFile=e.updateLanguageServiceSourceFile(y.sourceFile,ne,F,ne.getChangeRange(y.sourceFile.scriptSnapshot)),J&&J.setDocument(Z,O,y.sourceFile)),Q&&y.languageServiceRefCount++;else{var D=e.createLanguageServiceSourceFile(x,ne,re,F,!1,V);J&&J.setDocument(Z,O,D),y={sourceFile:D,languageServiceRefCount:1},C()}return e.Debug.assert(y.languageServiceRefCount!==0),y.sourceFile;function C(){if(!N)T.set(O,y);else if(n(N)){var m=new e.Map;m.set(N.sourceFile.scriptKind,N),m.set(V,y),T.set(O,m)}else N.set(V,y)}}function H(x,O,q){var Z=e.toPath(x,k,v),ne=a(O);return I(Z,ne,q)}function I(x,O,q){var Z=e.Debug.checkDefined(h.get(O)),ne=Z.get(x),F=S(ne,q);F.languageServiceRefCount--,e.Debug.assert(F.languageServiceRefCount>=0),F.languageServiceRefCount===0&&(n(ne)?Z.delete(x):(ne.delete(q),ne.size===1&&Z.set(x,e.firstDefinedIterator(ne.values(),e.identity))))}function w(x,O){return e.arrayFrom(h.entries(),function(q){var Z=q[0],ne=q[1],F=ne.get(x),Q=F&&S(F,O);return[Z,Q&&Q.languageServiceRefCount]})}return{acquireDocument:z,acquireDocumentWithKey:ie,updateDocument:b,updateDocumentWithKey:M,releaseDocument:H,releaseDocumentWithKey:I,getLanguageServiceRefCounts:w,reportStats:A,getKeyForCompilationSettings:a}}e.createDocumentRegistryInternal=p;function a(d){return e.sourceFileAffectingCompilerOptions.map(function(k){return e.getCompilerOptionValue(d,k)}).join(\"|\")}}(jr||(jr={})),function(e){(function(n){function f(x,O,q,Z){var ne=J(x,q,Z);return function(F,Q,V){var re=p(x,O,ne,Q,q,Z),T=re.directImports,N=re.indirectUsers;return Rn({indirectUsers:N},a(T,F,Q.exportKind,q,V))}}n.createImportTracker=f,function(x){x[x.Named=0]=\"Named\",x[x.Default=1]=\"Default\",x[x.ExportEquals=2]=\"ExportEquals\"}(n.ExportKind||(n.ExportKind={})),function(x){x[x.Import=0]=\"Import\",x[x.Export=1]=\"Export\"}(n.ImportExport||(n.ImportExport={}));function p(x,O,q,Z,ne,F){var Q=Z.exportingModuleSymbol,V=Z.exportKind,re=e.nodeSeenTracker(),T=e.nodeSeenTracker(),N=[],y=!!Q.globalExports,D=y?void 0:[];return m(Q),{directImports:N,indirectUsers:C()};function C(){if(y)return x;if(Q.declarations)for(var X=0,j=Q.declarations;X<j.length;X++){var Se=j[X];e.isExternalModuleAugmentation(Se)&&O.has(Se.getSourceFile().fileName)&&te(Se)}return D.map(e.getSourceFileOfNode)}function m(X){var j=ue(X);if(j)for(var Se=0,Ce=j;Se<Ce.length;Se++){var R=Ce[Se];if(!!re(R))switch(F&&F.throwIfCancellationRequested(),R.kind){case 207:if(e.isImportCall(R)){u(R);break}if(!y){var Y=R.parent;if(V===2&&Y.kind===253){var U=Y.name;if(U.kind===79){N.push(U);break}}}break;case 79:break;case 264:P(R,R.name,e.hasSyntacticModifier(R,1),!1);break;case 265:N.push(R);var K=R.importClause&&R.importClause.namedBindings;K&&K.kind===267?P(R,K.name,!1,!0):!y&&e.isDefaultImport(R)&&te(H(R));break;case 271:R.exportClause?R.exportClause.kind===273?te(H(R),!0):N.push(R):m(B(R,ne));break;case 199:R.isTypeOf&&!R.qualifier&&g(R)&&te(R.getSourceFile(),!0),N.push(R);break;default:e.Debug.failBadSyntaxKind(R,\"Unexpected import kind.\")}}}function u(X){var j=e.findAncestor(X,I)||X.getSourceFile();te(j,!!g(X,!0))}function g(X,j){return j===void 0&&(j=!1),e.findAncestor(X,function(Se){return j&&I(Se)?\"quit\":e.some(Se.modifiers,function(Ce){return Ce.kind===93})})}function P(X,j,Se,Ce){if(V===2)Ce||N.push(X);else if(!y){var R=H(X);e.Debug.assert(R.kind===303||R.kind===260),Se||d(R,j,ne)?te(R,!0):te(R)}}function te(X,j){j===void 0&&(j=!1),e.Debug.assert(!y);var Se=T(X);if(!!Se&&(D.push(X),!!j)){var Ce=ne.getMergedSymbol(X.symbol);if(!!Ce){e.Debug.assert(!!(Ce.flags&1536));var R=ue(Ce);if(R)for(var Y=0,U=R;Y<U.length;Y++){var K=U[Y];e.isImportTypeNode(K)||te(H(K),!0)}}}}function ue(X){return q.get(e.getSymbolId(X).toString())}}function a(x,O,q,Z,ne){var F=[],Q=[];function V(u,g){F.push([u,g])}if(x)for(var re=0,T=x;re<T.length;re++){var N=T[re];y(N)}return{importSearches:F,singleReferences:Q};function y(u){if(u.kind===264){w(u)&&D(u.name);return}if(u.kind===79){D(u);return}if(u.kind===199){if(u.qualifier){var g=e.getFirstIdentifier(u.qualifier);g.escapedText===e.symbolName(O)&&Q.push(g)}else q===2&&Q.push(u.argument.literal);return}if(u.moduleSpecifier.kind===10){if(u.kind===271){u.exportClause&&e.isNamedExports(u.exportClause)&&C(u.exportClause);return}var P=u.importClause||{name:void 0,namedBindings:void 0},te=P.name,ue=P.namedBindings;if(ue)switch(ue.kind){case 267:D(ue.name);break;case 268:(q===0||q===1)&&C(ue);break;default:e.Debug.assertNever(ue)}if(te&&(q===1||q===2)&&(!ne||te.escapedText===e.symbolEscapedNameNoDefault(O))){var X=Z.getSymbolAtLocation(te);V(te,X)}}}function D(u){q===2&&(!ne||m(u.escapedText))&&V(u,Z.getSymbolAtLocation(u))}function C(u){if(!!u)for(var g=0,P=u.elements;g<P.length;g++){var te=P[g],ue=te.name,X=te.propertyName;if(!!m((X||ue).escapedText))if(X)Q.push(X),(!ne||ue.escapedText===O.escapedName)&&V(ue,Z.getSymbolAtLocation(ue));else{var j=te.kind===274&&te.propertyName?Z.getExportSpecifierLocalTargetSymbol(te):Z.getSymbolAtLocation(ue);V(ue,j)}}}function m(u){return u===O.escapedName||q!==0&&u===\"default\"}}function d(x,O,q){var Z=q.getSymbolAtLocation(O);return!!h(x,function(ne){if(!!e.isExportDeclaration(ne)){var F=ne.exportClause,Q=ne.moduleSpecifier;return!Q&&F&&e.isNamedExports(F)&&F.elements.some(function(V){return q.getExportSpecifierLocalTargetSymbol(V)===Z})}})}function k(x,O,q){for(var Z=[],ne=x.getTypeChecker(),F=0,Q=O;F<Q.length;F++){var V=Q[F],re=q.valueDeclaration;if((re==null?void 0:re.kind)===303){for(var T=0,N=V.referencedFiles;T<N.length;T++){var y=N[T];x.getSourceFileFromReference(V,y)===re&&Z.push({kind:\"reference\",referencingFile:V,ref:y})}for(var D=0,C=V.typeReferenceDirectives;D<C.length;D++){var y=C[D],m=x.getResolvedTypeReferenceDirectives().get(y.fileName);m!==void 0&&m.resolvedFileName===re.fileName&&Z.push({kind:\"reference\",referencingFile:V,ref:y})}}v(V,function(u,g){var P=ne.getSymbolAtLocation(g);P===q&&Z.push({kind:\"import\",literal:g})})}return Z}n.findModuleReferences=k;function J(x,O,q){for(var Z=new e.Map,ne=0,F=x;ne<F.length;ne++){var Q=F[ne];q&&q.throwIfCancellationRequested(),v(Q,function(V,re){var T=O.getSymbolAtLocation(re);if(T){var N=e.getSymbolId(T).toString(),y=Z.get(N);y||Z.set(N,y=[]),y.push(V)}})}return Z}function h(x,O){return e.forEach(x.kind===303?x.statements:x.body.statements,function(q){return O(q)||I(q)&&e.forEach(q.body&&q.body.statements,O)})}function v(x,O){if(x.externalModuleIndicator||x.imports!==void 0)for(var q=0,Z=x.imports;q<Z.length;q++){var ne=Z[q];O(e.importFromModuleSpecifier(ne),ne)}else h(x,function(F){switch(F.kind){case 271:case 265:{var Q=F;Q.moduleSpecifier&&e.isStringLiteral(Q.moduleSpecifier)&&O(Q,Q.moduleSpecifier);break}case 264:{var Q=F;w(Q)&&O(Q,Q.moduleReference.expression);break}}})}function A(x,O,q,Z){return Z?ne():ne()||F();function ne(){var re,T=x.parent,N=T.parent;if(O.exportSymbol)return T.kind===205?((re=O.declarations)===null||re===void 0?void 0:re.some(function(u){return u===T}))&&e.isBinaryExpression(N)?m(N,!1):void 0:Q(O.exportSymbol,V(T));var y=ie(T,x);if(y&&e.hasSyntacticModifier(y,1))if(e.isImportEqualsDeclaration(y)&&y.moduleReference===x){if(Z)return;var D=q.getSymbolAtLocation(y.name);return{kind:0,symbol:D}}else return Q(O,V(y));else{if(e.isNamespaceExport(T))return Q(O,0);if(e.isExportAssignment(T))return C(T);if(e.isExportAssignment(N))return C(N);if(e.isBinaryExpression(T))return m(T,!0);if(e.isBinaryExpression(N))return m(N,!0);if(e.isJSDocTypedefTag(T))return Q(O,0)}function C(u){if(!!u.symbol.parent){var g=u.isExportEquals?2:1;return{kind:1,symbol:O,exportInfo:{exportingModuleSymbol:u.symbol.parent,exportKind:g}}}}function m(u,g){var P;switch(e.getAssignmentDeclarationKind(u)){case 1:P=0;break;case 2:P=2;break;default:return}var te=g?q.getSymbolAtLocation(e.getNameOfAccessExpression(e.cast(u.left,e.isAccessExpression))):O;return te&&Q(te,P)}}function F(){var re=b(x);if(!!re){var T=q.getImmediateAliasedSymbol(O);if(!!T){T=S(T,q),T.escapedName===\"export=\"&&(T=z(T,q));var N=e.symbolEscapedNameNoDefault(T);if(N===void 0||N===\"default\"||N===O.escapedName)return{kind:0,symbol:T}}}}function Q(re,T){var N=M(re,T,q);return N&&{kind:1,symbol:re,exportInfo:N}}function V(re){return e.hasSyntacticModifier(re,512)?1:0}}n.getImportOrExportSymbol=A;function z(x,O){if(x.flags&2097152)return e.Debug.checkDefined(O.getImmediateAliasedSymbol(x));var q=e.Debug.checkDefined(x.valueDeclaration);return e.isExportAssignment(q)?e.Debug.checkDefined(q.expression.symbol):e.isBinaryExpression(q)?e.Debug.checkDefined(q.right.symbol):e.isSourceFile(q)?e.Debug.checkDefined(q.symbol):e.Debug.fail()}function ie(x,O){var q=e.isVariableDeclaration(x)?x:e.isBindingElement(x)?e.walkUpBindingElementsAndPatterns(x):void 0;return q?x.name!==O||e.isCatchClause(q.parent)?void 0:e.isVariableStatement(q.parent.parent)?q.parent.parent:void 0:x}function b(x){var O=x.parent;switch(O.kind){case 264:return O.name===x&&w(O);case 269:return!O.propertyName;case 266:case 267:return e.Debug.assert(O.name===x),!0;case 202:return e.isInJSFile(x)&&e.isVariableDeclarationInitializedToBareOrAccessedRequire(O);default:return!1}}function M(x,O,q){var Z=x.parent;if(!!Z){var ne=q.getMergedSymbol(Z);return e.isExternalModuleSymbol(ne)?{exportingModuleSymbol:ne,exportKind:O}:void 0}}n.getExportInfo=M;function S(x,O){if(x.declarations)for(var q=0,Z=x.declarations;q<Z.length;q++){var ne=Z[q];if(e.isExportSpecifier(ne)&&!ne.propertyName&&!ne.parent.parent.moduleSpecifier)return O.getExportSpecifierLocalTargetSymbol(ne);if(e.isPropertyAccessExpression(ne)&&e.isModuleExportsAccessExpression(ne.expression)&&!e.isPrivateIdentifier(ne.name))return O.getSymbolAtLocation(ne);if(e.isShorthandPropertyAssignment(ne)&&e.isBinaryExpression(ne.parent.parent)&&e.getAssignmentDeclarationKind(ne.parent.parent)===2)return O.getExportSpecifierLocalTargetSymbol(ne.name)}return x}function B(x,O){return O.getMergedSymbol(H(x).symbol)}function H(x){if(x.kind===207)return x.getSourceFile();var O=x.parent;return O.kind===303?O:(e.Debug.assert(O.kind===261),e.cast(O.parent,I))}function I(x){return x.kind===260&&x.name.kind===10}function w(x){return x.moduleReference.kind===276&&x.moduleReference.expression.kind===10}})(e.FindAllReferences||(e.FindAllReferences={}))}(jr||(jr={})),function(e){(function(n){(function(T){T[T.Symbol=0]=\"Symbol\",T[T.Label=1]=\"Label\",T[T.Keyword=2]=\"Keyword\",T[T.This=3]=\"This\",T[T.String=4]=\"String\",T[T.TripleSlashReference=5]=\"TripleSlashReference\"})(n.DefinitionKind||(n.DefinitionKind={})),function(T){T[T.Span=0]=\"Span\",T[T.Node=1]=\"Node\",T[T.StringLiteral=2]=\"StringLiteral\",T[T.SearchedLocalFoundProperty=3]=\"SearchedLocalFoundProperty\",T[T.SearchedPropertyFoundLocal=4]=\"SearchedPropertyFoundLocal\"}(n.EntryKind||(n.EntryKind={}));function f(T,N){return N===void 0&&(N=1),{kind:N,node:T.name||T,context:a(T)}}n.nodeEntry=f;function p(T){return T&&T.kind===void 0}n.isContextWithStartAndEndNode=p;function a(T){if(e.isDeclaration(T))return d(T);if(!!T.parent){if(!e.isDeclaration(T.parent)&&!e.isExportAssignment(T.parent)){if(e.isInJSFile(T)){var N=e.isBinaryExpression(T.parent)?T.parent:e.isAccessExpression(T.parent)&&e.isBinaryExpression(T.parent.parent)&&T.parent.parent.left===T.parent?T.parent.parent:void 0;if(N&&e.getAssignmentDeclarationKind(N)!==0)return d(N)}if(e.isJsxOpeningElement(T.parent)||e.isJsxClosingElement(T.parent))return T.parent.parent;if(e.isJsxSelfClosingElement(T.parent)||e.isLabeledStatement(T.parent)||e.isBreakOrContinueStatement(T.parent))return T.parent;if(e.isStringLiteralLike(T)){var y=e.tryGetImportFromModuleSpecifier(T);if(y){var D=e.findAncestor(y,function(m){return e.isDeclaration(m)||e.isStatement(m)||e.isJSDocTag(m)});return e.isDeclaration(D)?d(D):D}}var C=e.findAncestor(T,e.isComputedPropertyName);return C?d(C.parent):void 0}if(T.parent.name===T||e.isConstructorDeclaration(T.parent)||e.isExportAssignment(T.parent)||(e.isImportOrExportSpecifier(T.parent)||e.isBindingElement(T.parent))&&T.parent.propertyName===T||T.kind===88&&e.hasSyntacticModifier(T.parent,513))return d(T.parent)}}function d(T){if(!!T)switch(T.kind){case 253:return!e.isVariableDeclarationList(T.parent)||T.parent.declarations.length!==1?T:e.isVariableStatement(T.parent.parent)?T.parent.parent:e.isForInOrOfStatement(T.parent.parent)?d(T.parent.parent):T.parent;case 202:return d(T.parent.parent);case 269:return T.parent.parent.parent;case 274:case 267:return T.parent.parent;case 266:case 273:return T.parent;case 220:return e.isExpressionStatement(T.parent)?T.parent:T;case 243:case 242:return{start:T.initializer,end:T.expression};case 294:case 295:return e.isArrayLiteralOrObjectLiteralDestructuringPattern(T.parent)?d(e.findAncestor(T.parent,function(N){return e.isBinaryExpression(N)||e.isForInOrOfStatement(N)})):T;default:return T}}n.getContextNode=d;function k(T,N,y){if(!!y){var D=p(y)?Z(y.start,N,y.end):Z(y,N);return D.start!==T.start||D.length!==T.length?{contextSpan:D}:void 0}}n.toContextSpan=k,function(T){T[T.Other=0]=\"Other\",T[T.References=1]=\"References\",T[T.Rename=2]=\"Rename\"}(n.FindReferencesUse||(n.FindReferencesUse={}));function J(T,N,y,D,C){var m=e.getTouchingPropertyName(D,C),u=re.getReferencedSymbolsForNode(C,m,T,y,N,{use:1}),g=T.getTypeChecker(),P=g.getSymbolAtLocation(m);return!u||!u.length?void 0:e.mapDefined(u,function(te){var ue=te.definition,X=te.references;return ue&&{definition:g.runWithCancellationToken(N,function(j){return b(ue,j,m)}),references:X.map(function(j){return H(j,P)})}})}n.findReferencedSymbols=J;function h(T,N,y,D,C){var m=e.getTouchingPropertyName(D,C),u,g=v(T,N,y,m,C);if(m.parent.kind===205||m.parent.kind===202||m.parent.kind===206||m.kind===106)u=g&&Gt([],g,!0);else for(var P=g&&Gt([],g,!0),te=new e.Map;P&&P.length;){var ue=P.shift();if(!!e.addToSeen(te,e.getNodeId(ue.node))){u=e.append(u,ue);var X=v(T,N,y,ue.node,ue.node.pos);X&&P.push.apply(P,X)}}var j=T.getTypeChecker();return e.map(u,function(Se){return x(Se,j)})}n.getImplementationsAtPosition=h;function v(T,N,y,D,C){if(D.kind!==303){var m=T.getTypeChecker();if(D.parent.kind===295){var u=[];return re.getReferenceEntriesForShorthandPropertyAssignment(D,m,function(P){return u.push(f(P))}),u}else if(D.kind===106||e.isSuperProperty(D.parent)){var g=m.getSymbolAtLocation(D);return g.valueDeclaration&&[f(g.valueDeclaration)]}else return z(C,D,T,y,N,{implementations:!0,use:1})}}function A(T,N,y,D,C,m,u){return e.map(ie(re.getReferencedSymbolsForNode(C,D,T,y,N,m)),function(g){return u(g,D,T.getTypeChecker())})}n.findReferenceOrRenameEntries=A;function z(T,N,y,D,C,m,u){return m===void 0&&(m={}),u===void 0&&(u=new e.Set(D.map(function(g){return g.fileName}))),ie(re.getReferencedSymbolsForNode(T,N,y,D,C,m,u))}n.getReferenceEntriesForNode=z;function ie(T){return T&&e.flatMap(T,function(N){return N.references})}function b(T,N,y){var D=function(){switch(T.type){case 0:{var ue=T.symbol,X=S(ue,N,y),j=X.displayParts,Se=X.kind,Ce=j.map(function(Te){return Te.text}).join(\"\"),R=ue.declarations&&e.firstOrUndefined(ue.declarations),Y=R?e.getNameOfDeclaration(R)||R:y;return Rn(Rn({},M(Y)),{name:Ce,kind:Se,displayParts:j,context:d(R)})}case 1:{var Y=T.node;return Rn(Rn({},M(Y)),{name:Y.text,kind:\"label\",displayParts:[e.displayPart(Y.text,e.SymbolDisplayPartKind.text)]})}case 2:{var Y=T.node,U=e.tokenToString(Y.kind);return Rn(Rn({},M(Y)),{name:U,kind:\"keyword\",displayParts:[{text:U,kind:\"keyword\"}]})}case 3:{var Y=T.node,ue=N.getSymbolAtLocation(Y),K=ue&&e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(N,ue,Y.getSourceFile(),e.getContainerNode(Y),Y).displayParts||[e.textPart(\"this\")];return Rn(Rn({},M(Y)),{name:\"this\",kind:\"var\",displayParts:K})}case 4:{var Y=T.node;return Rn(Rn({},M(Y)),{name:Y.text,kind:\"var\",displayParts:[e.displayPart(e.getTextOfNode(Y),e.SymbolDisplayPartKind.stringLiteral)]})}case 5:return{textSpan:e.createTextSpanFromRange(T.reference),sourceFile:T.file,name:T.reference.fileName,kind:\"string\",displayParts:[e.displayPart('\"'.concat(T.reference.fileName,'\"'),e.SymbolDisplayPartKind.stringLiteral)]};default:return e.Debug.assertNever(T)}}(),C=D.sourceFile,m=D.textSpan,u=D.name,g=D.kind,P=D.displayParts,te=D.context;return Rn({containerKind:\"\",containerName:\"\",fileName:C.fileName,kind:g,name:u,textSpan:m,displayParts:P},k(m,C,te))}function M(T){var N=T.getSourceFile();return{sourceFile:N,textSpan:Z(e.isComputedPropertyName(T)?T.expression:T,N)}}function S(T,N,y){var D=re.getIntersectingMeaningFromDeclarations(y,T),C=T.declarations&&e.firstOrUndefined(T.declarations)||y,m=e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(N,T,C.getSourceFile(),C,C,D),u=m.displayParts,g=m.symbolKind;return{displayParts:u,kind:g}}function B(T,N,y,D){return Rn(Rn({},I(T)),D&&w(T,N,y))}n.toRenameLocation=B;function H(T,N){var y=I(T);if(T.kind===0)return Rn(Rn({},y),{isWriteAccess:!1,isDefinition:!1});var D=T.kind,C=T.node;return Rn(Rn({},y),{isWriteAccess:F(C),isDefinition:Q(C,N),isInString:D===2?!0:void 0})}n.toReferenceEntry=H;function I(T){if(T.kind===0)return{textSpan:T.textSpan,fileName:T.fileName};var N=T.node.getSourceFile(),y=Z(T.node,N);return Rn({textSpan:y,fileName:N.fileName},k(y,N,T.context))}function w(T,N,y){if(T.kind!==0&&e.isIdentifier(N)){var D=T.node,C=T.kind,m=D.parent,u=N.text,g=e.isShorthandPropertyAssignment(m);if(g||e.isObjectBindingElementWithoutPropertyName(m)&&m.name===D&&m.dotDotDotToken===void 0){var P={prefixText:u+\": \"},te={suffixText:\": \"+u};if(C===3)return P;if(C===4)return te;if(g){var ue=m.parent;return e.isObjectLiteralExpression(ue)&&e.isBinaryExpression(ue.parent)&&e.isModuleExportsAccessExpression(ue.parent.left)?P:te}else return P}else if(e.isImportSpecifier(m)&&!m.propertyName){var X=e.isExportSpecifier(N.parent)?y.getExportSpecifierLocalTargetSymbol(N.parent):y.getSymbolAtLocation(N);return e.contains(X.declarations,m)?{prefixText:u+\" as \"}:e.emptyOptions}else if(e.isExportSpecifier(m)&&!m.propertyName)return N===T.node||y.getSymbolAtLocation(N)===y.getSymbolAtLocation(T.node)?{prefixText:u+\" as \"}:{suffixText:\" as \"+u}}return e.emptyOptions}function x(T,N){var y=I(T);if(T.kind!==0){var D=T.node;return Rn(Rn({},y),O(D,N))}else return Rn(Rn({},y),{kind:\"\",displayParts:[]})}function O(T,N){var y=N.getSymbolAtLocation(e.isDeclaration(T)&&T.name?T.name:T);return y?S(y,N,T):T.kind===204?{kind:\"interface\",displayParts:[e.punctuationPart(20),e.textPart(\"object literal\"),e.punctuationPart(21)]}:T.kind===225?{kind:\"local class\",displayParts:[e.punctuationPart(20),e.textPart(\"anonymous local class\"),e.punctuationPart(21)]}:{kind:e.getNodeKind(T),displayParts:[]}}function q(T){var N=I(T);if(T.kind===0)return{fileName:N.fileName,span:{textSpan:N.textSpan,kind:\"reference\"}};var y=F(T.node),D=Rn({textSpan:N.textSpan,kind:y?\"writtenReference\":\"reference\",isInString:T.kind===2?!0:void 0},N.contextSpan&&{contextSpan:N.contextSpan});return{fileName:N.fileName,span:D}}n.toHighlightSpan=q;function Z(T,N,y){var D=T.getStart(N),C=(y||T).getEnd();return e.isStringLiteralLike(T)&&(e.Debug.assert(y===void 0),D+=1,C-=1),e.createTextSpanFromBounds(D,C)}function ne(T){return T.kind===0?T.textSpan:Z(T.node,T.node.getSourceFile())}n.getTextSpanOfEntry=ne;function F(T){var N=e.getDeclarationFromName(T);return!!N&&V(N)||T.kind===88||e.isWriteAccess(T)}function Q(T,N){var y;if(!N)return!1;var D=e.getDeclarationFromName(T)||(T.kind===88?T.parent:e.isLiteralComputedPropertyDeclarationName(T)||T.kind===134&&e.isConstructorDeclaration(T.parent)?T.parent.parent:void 0),C=D&&e.isBinaryExpression(D)?D.left:void 0;return!!(D&&((y=N.declarations)===null||y===void 0?void 0:y.some(function(m){return m===D||m===C})))}function V(T){if(T.flags&8388608)return!0;switch(T.kind){case 220:case 202:case 256:case 225:case 88:case 259:case 297:case 274:case 266:case 264:case 269:case 257:case 336:case 343:case 284:case 260:case 263:case 267:case 273:case 163:case 295:case 258:case 162:return!0;case 294:return!e.isArrayLiteralOrObjectLiteralDestructuringPattern(T.parent);case 255:case 212:case 170:case 168:case 171:case 172:return!!T.body;case 253:case 166:return!!T.initializer||e.isCatchClause(T.parent);case 167:case 165:case 345:case 338:return!1;default:return e.Debug.failBadSyntaxKind(T)}}var re;(function(T){function N(Ee,We,$,Ne,me,Ze,Cr){var fr,dr;if(Ze===void 0&&(Ze={}),Cr===void 0&&(Cr=new e.Set(Ne.map(function(wt){return wt.fileName}))),Ze.use===1?We=e.getAdjustedReferenceLocation(We):Ze.use===2&&(We=e.getAdjustedRenameLocation(We)),e.isSourceFile(We)){var et=e.GoToDefinition.getReferenceAtPosition(We,Ee,$);if(!(et!=null&&et.file))return;var yt=$.getTypeChecker().getMergedSymbol(et.file.symbol);if(yt)return P($,yt,!1,Ne,Cr);var Vr=$.getFileIncludeReasons();return Vr?[{definition:{type:5,reference:et.reference,file:We},references:D(et.file,Vr,$)||e.emptyArray}]:void 0}if(!Ze.implementations){var tr=ue(We,Ne,me);if(tr)return tr}var xr=$.getTypeChecker(),Nr=xr.getSymbolAtLocation(e.isConstructorDeclaration(We)&&We.parent.name||We);if(!Nr){if(!Ze.implementations&&e.isStringLiteralLike(We)){if(e.isModuleSpecifierLike(We)){var Vr=$.getFileIncludeReasons(),zr=(dr=(fr=We.getSourceFile().resolvedModules)===null||fr===void 0?void 0:fr.get(We.text,e.getModeForUsageLocation(We.getSourceFile(),We)))===null||dr===void 0?void 0:dr.resolvedFileName,gt=zr?$.getSourceFile(zr):void 0;if(gt)return[{definition:{type:4,node:We},references:D(gt,Vr,$)||e.emptyArray}]}return tt(We,Ne,xr,me)}return}if(Nr.escapedName===\"export=\")return P($,Nr.parent,!1,Ne,Cr);var vt=m(Nr,$,Ne,me,Ze,Cr);if(vt&&!(Nr.flags&33554432))return vt;var ut=C(We,Nr,xr),ht=ut&&m(ut,$,Ne,me,Ze,Cr),xt=X(Nr,We,Ne,Cr,xr,me,Ze);return u($,vt,xt,ht)}T.getReferencedSymbolsForNode=N;function y(Ee,We,$,Ne){var me,Ze;Ne===void 0&&(Ne=new e.Set($.map(function(et){return et.fileName})));var Cr=(me=We.getSourceFile(Ee))===null||me===void 0?void 0:me.symbol;if(Cr)return((Ze=P(We,Cr,!1,$,Ne)[0])===null||Ze===void 0?void 0:Ze.references)||e.emptyArray;var fr=We.getFileIncludeReasons(),dr=We.getSourceFile(Ee);return dr&&fr&&D(dr,fr,We)||e.emptyArray}T.getReferencesForFileName=y;function D(Ee,We,$){for(var Ne,me=We.get(Ee.path)||e.emptyArray,Ze=0,Cr=me;Ze<Cr.length;Ze++){var fr=Cr[Ze];if(e.isReferencedFile(fr)){var dr=$.getSourceFileByPath(fr.file),et=e.getReferencedFileLocation($.getSourceFileByPath,fr);e.isReferenceFileLocation(et)&&(Ne=e.append(Ne,{kind:0,fileName:dr.fileName,textSpan:e.createTextSpanFromRange(et)}))}}return Ne}function C(Ee,We,$){if(Ee.parent&&e.isNamespaceExportDeclaration(Ee.parent)){var Ne=$.getAliasedSymbol(We),me=$.getMergedSymbol(Ne);if(Ne!==me)return me}}function m(Ee,We,$,Ne,me,Ze){var Cr=Ee.flags&1536&&Ee.declarations&&e.find(Ee.declarations,e.isSourceFile);if(!!Cr){var fr=Ee.exports.get(\"export=\"),dr=P(We,Ee,!!fr,$,Ze);if(!fr||!Ze.has(Cr.fileName))return dr;var et=We.getTypeChecker();return Ee=e.skipAlias(fr,et),u(We,dr,X(Ee,void 0,$,Ze,et,Ne,me))}}function u(Ee){for(var We=[],$=1;$<arguments.length;$++)We[$-1]=arguments[$];for(var Ne,me=0,Ze=We;me<Ze.length;me++){var Cr=Ze[me];if(!(!Cr||!Cr.length)){if(!Ne){Ne=Cr;continue}for(var fr=function(Vr){if(!Vr.definition||Vr.definition.type!==0)return Ne.push(Vr),\"continue\";var tr=Vr.definition.symbol,xr=e.findIndex(Ne,function(zr){return!!zr.definition&&zr.definition.type===0&&zr.definition.symbol===tr});if(xr===-1)return Ne.push(Vr),\"continue\";var Nr=Ne[xr];Ne[xr]={definition:Nr.definition,references:Nr.references.concat(Vr.references).sort(function(zr,gt){var vt=g(Ee,zr),ut=g(Ee,gt);if(vt!==ut)return e.compareValues(vt,ut);var ht=ne(zr),xt=ne(gt);return ht.start!==xt.start?e.compareValues(ht.start,xt.start):e.compareValues(ht.length,xt.length)})}},dr=0,et=Cr;dr<et.length;dr++){var yt=et[dr];fr(yt)}}}return Ne}function g(Ee,We){var $=We.kind===0?Ee.getSourceFile(We.fileName):We.node.getSourceFile();return Ee.getSourceFiles().indexOf($)}function P(Ee,We,$,Ne,me){e.Debug.assert(!!We.valueDeclaration);var Ze=e.mapDefined(n.findModuleReferences(Ee,Ne,We),function(Nr){if(Nr.kind===\"import\"){var zr=Nr.literal.parent;if(e.isLiteralTypeNode(zr)){var gt=e.cast(zr.parent,e.isImportTypeNode);if($&&!gt.qualifier)return}return f(Nr.literal)}else return{kind:0,fileName:Nr.referencingFile.fileName,textSpan:e.createTextSpanFromRange(Nr.ref)}});if(We.declarations)for(var Cr=0,fr=We.declarations;Cr<fr.length;Cr++){var dr=fr[Cr];switch(dr.kind){case 303:break;case 260:me.has(dr.getSourceFile().fileName)&&Ze.push(f(dr.name));break;default:e.Debug.assert(!!(We.flags&33554432),\"Expected a module symbol to be declared by a SourceFile or ModuleDeclaration.\")}}var et=We.exports.get(\"export=\");if(et!=null&&et.declarations)for(var yt=0,Vr=et.declarations;yt<Vr.length;yt++){var dr=Vr[yt],tr=dr.getSourceFile();if(me.has(tr.fileName)){var xr=e.isBinaryExpression(dr)&&e.isPropertyAccessExpression(dr.left)?dr.left.expression:e.isExportAssignment(dr)?e.Debug.checkDefined(e.findChildOfKind(dr,93,tr)):e.getNameOfDeclaration(dr)||dr;Ze.push(f(xr))}}return Ze.length?[{definition:{type:0,symbol:We},references:Ze}]:e.emptyArray}function te(Ee){return Ee.kind===144&&e.isTypeOperatorNode(Ee.parent)&&Ee.parent.operator===144}function ue(Ee,We,$){if(e.isTypeKeyword(Ee.kind))return Ee.kind===114&&e.isVoidExpression(Ee.parent)||Ee.kind===144&&!te(Ee)?void 0:De(We,Ee.kind,$,Ee.kind===144?te:void 0);if(e.isStaticModifier(Ee)&&e.isClassStaticBlockDeclaration(Ee.parent))return[{definition:{type:2,node:Ee},references:[f(Ee)]}];if(e.isJumpStatementTarget(Ee)){var Ne=e.getTargetLabel(Ee.parent,Ee.text);return Ne&&qe(Ne.parent,Ne)}else if(e.isLabelOfLabeledStatement(Ee))return qe(Ee.parent,Ee);if(e.isThis(Ee))return lt(Ee,We,$);if(Ee.kind===106)return Lr(Ee)}function X(Ee,We,$,Ne,me,Ze,Cr){var fr=We&&Ce(Ee,We,me,!je(Cr))||Ee,dr=We?ir(We,fr):7,et=[],yt=new U($,Ne,We?Se(We):0,me,Ze,dr,Cr,et),Vr=!je(Cr)||!fr.declarations?void 0:e.find(fr.declarations,e.isExportSpecifier);if(Vr)lr(Vr.name,fr,Vr,yt.createSearch(We,Ee,void 0),yt,!0,!0);else if(We&&We.kind===88&&fr.escapedName===\"default\"&&fr.parent)Hr(We,fr,yt),K(We,fr,{exportingModuleSymbol:fr.parent,exportKind:1},yt);else{var tr=yt.createSearch(We,fr,void 0,{allSearchSymbols:We?Rt(fr,We,me,Cr.use===2,!!Cr.providePrefixAndSuffixTextForRename,!!Cr.implementations):[fr]});j(fr,yt,tr)}return et}function j(Ee,We,$){var Ne=Ge(Ee);if(Ne)Ye(Ne,Ne.getSourceFile(),$,We,!(e.isSourceFile(Ne)&&!e.contains(We.sourceFiles,Ne)));else for(var me=0,Ze=We.sourceFiles;me<Ze.length;me++){var Cr=Ze[me];We.cancellationToken.throwIfCancellationRequested(),Pe(Cr,$,We)}}function Se(Ee){switch(Ee.kind){case 170:case 134:return 1;case 79:if(e.isClassLike(Ee.parent))return e.Debug.assert(Ee.parent.name===Ee),2;default:return 0}}function Ce(Ee,We,$,Ne){var me=We.parent;return e.isExportSpecifier(me)&&Ne?Ar(We,Ee,me,$):e.firstDefined(Ee.declarations,function(Ze){if(!Ze.parent){if(Ee.flags&33554432)return;e.Debug.fail(\"Unexpected symbol at \".concat(e.Debug.formatSyntaxKind(We.kind),\": \").concat(e.Debug.formatSymbol(Ee)))}return e.isTypeLiteralNode(Ze.parent)&&e.isUnionTypeNode(Ze.parent.parent)?$.getPropertyOfType($.getTypeFromTypeNode(Ze.parent.parent),Ee.name):void 0})}var R;(function(Ee){Ee[Ee.None=0]=\"None\",Ee[Ee.Constructor=1]=\"Constructor\",Ee[Ee.Class=2]=\"Class\"})(R||(R={}));function Y(Ee){if(!!(Ee.flags&33555968)){var We=Ee.declarations&&e.find(Ee.declarations,function($){return!e.isSourceFile($)&&!e.isModuleDeclaration($)});return We&&We.symbol}}var U=function(){function Ee(We,$,Ne,me,Ze,Cr,fr,dr){this.sourceFiles=We,this.sourceFilesSet=$,this.specialSearchKind=Ne,this.checker=me,this.cancellationToken=Ze,this.searchMeaning=Cr,this.options=fr,this.result=dr,this.inheritsFromCache=new e.Map,this.markSeenContainingTypeReference=e.nodeSeenTracker(),this.markSeenReExportRHS=e.nodeSeenTracker(),this.symbolIdToReferences=[],this.sourceFileToSeenSymbols=[]}return Ee.prototype.includesSourceFile=function(We){return this.sourceFilesSet.has(We.fileName)},Ee.prototype.getImportSearches=function(We,$){return this.importTracker||(this.importTracker=n.createImportTracker(this.sourceFiles,this.sourceFilesSet,this.checker,this.cancellationToken)),this.importTracker(We,$,this.options.use===2)},Ee.prototype.createSearch=function(We,$,Ne,me){me===void 0&&(me={});var Ze=me.text,Cr=Ze===void 0?e.stripQuotes(e.symbolName(e.getLocalSymbolForExportDefault($)||Y($)||$)):Ze,fr=me.allSearchSymbols,dr=fr===void 0?[$]:fr,et=e.escapeLeadingUnderscores(Cr),yt=this.options.implementations&&We?fe(We,$,this.checker):void 0;return{symbol:$,comingFrom:Ne,text:Cr,escapedText:et,parents:yt,allSearchSymbols:dr,includes:function(Vr){return e.contains(dr,Vr)}}},Ee.prototype.referenceAdder=function(We){var $=e.getSymbolId(We),Ne=this.symbolIdToReferences[$];return Ne||(Ne=this.symbolIdToReferences[$]=[],this.result.push({definition:{type:0,symbol:We},references:Ne})),function(me,Ze){return Ne.push(f(me,Ze))}},Ee.prototype.addStringOrCommentReference=function(We,$){this.result.push({definition:void 0,references:[{kind:0,fileName:We,textSpan:$}]})},Ee.prototype.markSearchedSymbols=function(We,$){for(var Ne=e.getNodeId(We),me=this.sourceFileToSeenSymbols[Ne]||(this.sourceFileToSeenSymbols[Ne]=new e.Set),Ze=!1,Cr=0,fr=$;Cr<fr.length;Cr++){var dr=fr[Cr];Ze=e.tryAddToSet(me,e.getSymbolId(dr))||Ze}return Ze},Ee}();function K(Ee,We,$,Ne){var me=Ne.getImportSearches(We,$),Ze=me.importSearches,Cr=me.singleReferences,fr=me.indirectUsers;if(Cr.length)for(var dr=Ne.referenceAdder(We),et=0,yt=Cr;et<yt.length;et++){var Vr=yt[et];ge(Vr,Ne)&&dr(Vr)}for(var tr=0,xr=Ze;tr<xr.length;tr++){var Nr=xr[tr],zr=Nr[0],gt=Nr[1];Ae(zr.getSourceFile(),Ne.createSearch(zr,gt,1),Ne)}if(fr.length){var vt=void 0;switch($.exportKind){case 0:vt=Ne.createSearch(Ee,We,1);break;case 1:vt=Ne.options.use===2?void 0:Ne.createSearch(Ee,We,1,{text:\"default\"});break}if(vt)for(var ut=0,ht=fr;ut<ht.length;ut++){var xt=ht[ut];Pe(xt,vt,Ne)}}}function Te(Ee,We,$,Ne,me,Ze,Cr,fr){for(var dr=n.createImportTracker(Ee,new e.Set(Ee.map(function(mt){return mt.fileName})),We,$),et=dr(Ne,{exportKind:Cr?1:0,exportingModuleSymbol:me},!1),yt=et.importSearches,Vr=et.indirectUsers,tr=0,xr=yt;tr<xr.length;tr++){var Nr=xr[tr][0];fr(Nr)}for(var zr=0,gt=Vr;zr<gt.length;zr++)for(var vt=gt[zr],ut=0,ht=_e(vt,Cr?\"default\":Ze);ut<ht.length;ut++){var xt=ht[ut],wt=We.getSymbolAtLocation(xt),Qt=e.some(wt==null?void 0:wt.declarations,function(mt){return!!e.tryCast(mt,e.isExportAssignment)});e.isIdentifier(xt)&&!e.isImportOrExportSpecifier(xt.parent)&&(wt===Ne||Qt)&&fr(xt)}}T.eachExportReference=Te;function ge(Ee,We){return Dr(Ee,We)?We.options.use!==2?!0:e.isIdentifier(Ee)?!(e.isImportOrExportSpecifier(Ee.parent)&&Ee.escapedText===\"default\"):!1:!1}function ke(Ee,We){if(!!Ee.declarations)for(var $=0,Ne=Ee.declarations;$<Ne.length;$++){var me=Ne[$],Ze=me.getSourceFile();Ae(Ze,We.createSearch(me,Ee,0),We,We.includesSourceFile(Ze))}}function Pe(Ee,We,$){e.getNameTable(Ee).get(We.escapedText)!==void 0&&Ae(Ee,We,$)}function Ie(Ee,We){return e.isArrayLiteralOrObjectLiteralDestructuringPattern(Ee.parent.parent)?We.getPropertySymbolOfDestructuringAssignment(Ee):void 0}function Ge(Ee){var We=Ee.declarations,$=Ee.flags,Ne=Ee.parent,me=Ee.valueDeclaration;if(me&&(me.kind===212||me.kind===225))return me;if(!!We){if($&8196){var Ze=e.find(We,function(xr){return e.hasEffectiveModifier(xr,8)||e.isPrivateIdentifierClassElementDeclaration(xr)});return Ze?e.getAncestor(Ze,256):void 0}if(!We.some(e.isObjectBindingElementWithoutPropertyName)){var Cr=Ne&&!(Ee.flags&262144);if(!(Cr&&!(e.isExternalModuleSymbol(Ne)&&!Ne.globalExports))){for(var fr,dr=0,et=We;dr<et.length;dr++){var yt=et[dr],Vr=e.getContainerNode(yt);if(fr&&fr!==Vr||!Vr||Vr.kind===303&&!e.isExternalOrCommonJsModule(Vr))return;if(fr=Vr,e.isFunctionExpression(fr))for(var tr=void 0;tr=e.getNextJSDocCommentLocation(fr);)fr=tr}return Cr?fr.getSourceFile():fr}}}}function he(Ee,We,$,Ne){return Ne===void 0&&(Ne=$),ve(Ee,We,$,function(){return!0},Ne)||!1}T.isSymbolReferencedInFile=he;function ve(Ee,We,$,Ne,me){me===void 0&&(me=$);var Ze=e.isParameterPropertyDeclaration(Ee.parent,Ee.parent.parent)?e.first(We.getSymbolsOfParameterPropertyDeclaration(Ee.parent,Ee.text)):We.getSymbolAtLocation(Ee);if(!!Ze)for(var Cr=0,fr=_e($,Ze.name,me);Cr<fr.length;Cr++){var dr=fr[Cr];if(!(!e.isIdentifier(dr)||dr===Ee||dr.escapedText!==Ee.escapedText)){var et=We.getSymbolAtLocation(dr);if(et===Ze||We.getShorthandAssignmentValueSymbol(dr.parent)===Ze||e.isExportSpecifier(dr.parent)&&Ar(dr,et,dr.parent,We)===Ze){var yt=Ne(dr);if(yt)return yt}}}}T.eachSymbolReferenceInFile=ve;function Ve(Ee,We,$,Ne){if(!Ee.name||!e.isIdentifier(Ee.name))return!1;for(var me=e.Debug.checkDefined($.getSymbolAtLocation(Ee.name)),Ze=0,Cr=We;Ze<Cr.length;Ze++)for(var fr=Cr[Ze],dr=0,et=_e(fr,me.name);dr<et.length;dr++){var yt=et[dr];if(!(!e.isIdentifier(yt)||yt===Ee.name||yt.escapedText!==Ee.name.escapedText)){var Vr=e.climbPastPropertyAccess(yt),tr=e.isCallExpression(Vr.parent)&&Vr.parent.expression===Vr?Vr.parent:void 0,xr=$.getSymbolAtLocation(yt);if(xr&&$.getRootSymbols(xr).some(function(Nr){return Nr===me})&&Ne(yt,tr))return!0}}return!1}T.someSignatureUsage=Ve;function _e(Ee,We,$){return $===void 0&&($=Ee),Le(Ee,We,$).map(function(Ne){return e.getTouchingPropertyName(Ee,Ne)})}function Le(Ee,We,$){$===void 0&&($=Ee);var Ne=[];if(!We||!We.length)return Ne;for(var me=Ee.text,Ze=me.length,Cr=We.length,fr=me.indexOf(We,$.pos);fr>=0&&!(fr>$.end);){var dr=fr+Cr;(fr===0||!e.isIdentifierPart(me.charCodeAt(fr-1),99))&&(dr===Ze||!e.isIdentifierPart(me.charCodeAt(dr),99))&&Ne.push(fr),fr=me.indexOf(We,fr+Cr+1)}return Ne}function qe(Ee,We){var $=Ee.getSourceFile(),Ne=We.text,me=e.mapDefined(_e($,Ne,Ee),function(Ze){return Ze===We||e.isJumpStatementTarget(Ze)&&e.getTargetLabel(Ze,Ne)===We?f(Ze):void 0});return[{definition:{type:1,node:We},references:me}]}function Xe(Ee,We){switch(Ee.kind){case 80:if(e.isJSDocMemberName(Ee.parent))return!0;case 79:return Ee.text.length===We.length;case 14:case 10:{var $=Ee;return(e.isLiteralNameOfPropertyDeclarationOrIndexAccess($)||e.isNameOfModuleDeclaration(Ee)||e.isExpressionOfExternalModuleImportEqualsDeclaration(Ee)||e.isCallExpression(Ee.parent)&&e.isBindableObjectDefinePropertyCall(Ee.parent)&&Ee.parent.arguments[1]===Ee)&&$.text.length===We.length}case 8:return e.isLiteralNameOfPropertyDeclarationOrIndexAccess(Ee)&&Ee.text.length===We.length;case 88:return We.length===7;default:return!1}}function De(Ee,We,$,Ne){var me=e.flatMap(Ee,function(Ze){return $.throwIfCancellationRequested(),e.mapDefined(_e(Ze,e.tokenToString(We),Ze),function(Cr){if(Cr.kind===We&&(!Ne||Ne(Cr)))return f(Cr)})});return me.length?[{definition:{type:2,node:me[0].node},references:me}]:void 0}function Ae(Ee,We,$,Ne){return Ne===void 0&&(Ne=!0),$.cancellationToken.throwIfCancellationRequested(),Ye(Ee,Ee,We,$,Ne)}function Ye(Ee,We,$,Ne,me){if(!!Ne.markSearchedSymbols(We,$.allSearchSymbols))for(var Ze=0,Cr=Le(We,$.text,Ee);Ze<Cr.length;Ze++){var fr=Cr[Ze];br(We,fr,$,Ne,me)}}function Dr(Ee,We){return!!(e.getMeaningFromLocation(Ee)&We.searchMeaning)}function br(Ee,We,$,Ne,me){var Ze=e.getTouchingPropertyName(Ee,We);if(!Xe(Ze,$.text)){!Ne.options.implementations&&(Ne.options.findInStrings&&e.isInString(Ee,We)||Ne.options.findInComments&&e.isInNonReferenceComment(Ee,We))&&Ne.addStringOrCommentReference(Ee.fileName,e.createTextSpan(We,$.text.length));return}if(!!Dr(Ze,Ne)){var Cr=Ne.checker.getSymbolAtLocation(Ze);if(!!Cr){var fr=Ze.parent;if(!(e.isImportSpecifier(fr)&&fr.propertyName===Ze)){if(e.isExportSpecifier(fr)){e.Debug.assert(Ze.kind===79),lr(Ze,Cr,fr,$,Ne,me);return}var dr=zn($,Cr,Ze,Ne);if(!dr){Me(Cr,$,Ne);return}switch(Ne.specialSearchKind){case 0:me&&Hr(Ze,dr,Ne);break;case 1:ur(Ze,Ee,$,Ne);break;case 2:gr(Ze,$,Ne);break;default:e.Debug.assertNever(Ne.specialSearchKind)}e.isInJSFile(Ze)&&Ze.parent.kind===202&&e.isVariableDeclarationInitializedToBareOrAccessedRequire(Ze.parent)&&(Cr=Ze.parent.symbol,!Cr)||Ke(Ze,Cr,$,Ne)}}}}function lr(Ee,We,$,Ne,me,Ze,Cr){e.Debug.assert(!Cr||!!me.options.providePrefixAndSuffixTextForRename,\"If alwaysGetReferences is true, then prefix/suffix text must be enabled\");var fr=$.parent,dr=$.propertyName,et=$.name,yt=fr.parent,Vr=Ar(Ee,We,$,me.checker);if(!Cr&&!Ne.includes(Vr))return;if(dr?Ee===dr?(yt.moduleSpecifier||vt(),Ze&&me.options.use!==2&&me.markSeenReExportRHS(et)&&Hr(et,e.Debug.checkDefined($.symbol),me)):me.markSeenReExportRHS(Ee)&&vt():me.options.use===2&&et.escapedText===\"default\"||vt(),!je(me.options)||Cr){var tr=Ee.originalKeywordKind===88||$.name.originalKeywordKind===88,xr=tr?1:0,Nr=e.Debug.checkDefined($.symbol),zr=n.getExportInfo(Nr,xr,me.checker);zr&&K(Ee,Nr,zr,me)}if(Ne.comingFrom!==1&&yt.moduleSpecifier&&!dr&&!je(me.options)){var gt=me.checker.getExportSpecifierLocalTargetSymbol($);gt&&ke(gt,me)}function vt(){Ze&&Hr(Ee,Vr,me)}}function Ar(Ee,We,$,Ne){return kr(Ee,$)&&Ne.getExportSpecifierLocalTargetSymbol($)||We}function kr(Ee,We){var $=We.parent,Ne=We.propertyName,me=We.name;return e.Debug.assert(Ne===Ee||me===Ee),Ne?Ne===Ee:!$.parent.moduleSpecifier}function Ke(Ee,We,$,Ne){var me=n.getImportOrExportSymbol(Ee,We,Ne.checker,$.comingFrom===1);if(!!me){var Ze=me.symbol;me.kind===0?je(Ne.options)||ke(Ze,Ne):K(Ee,Ze,me.exportInfo,Ne)}}function Me(Ee,We,$){var Ne=Ee.flags,me=Ee.valueDeclaration,Ze=$.checker.getShorthandAssignmentValueSymbol(me),Cr=me&&e.getNameOfDeclaration(me);!(Ne&33554432)&&Cr&&We.includes(Ze)&&Hr(Cr,Ze,$)}function Hr(Ee,We,$){var Ne=\"kind\"in We?We:{kind:void 0,symbol:We},me=Ne.kind,Ze=Ne.symbol,Cr=$.referenceAdder(Ze);$.options.implementations?He(Ee,Cr,$):Cr(Ee,me)}function ur(Ee,We,$,Ne){e.isNewExpressionTarget(Ee)&&Hr(Ee,$.symbol,Ne);var me=function(){return Ne.referenceAdder($.symbol)};if(e.isClassLike(Ee.parent))e.Debug.assert(Ee.kind===88||Ee.parent.name===Ee),de($.symbol,We,me());else{var Ze=or(Ee);Ze&&($e(Ze,me()),Pr(Ze,Ne))}}function gr(Ee,We,$){Hr(Ee,We.symbol,$);var Ne=Ee.parent;if(!($.options.use===2||!e.isClassLike(Ne))){e.Debug.assert(Ne.name===Ee);for(var me=$.referenceAdder(We.symbol),Ze=0,Cr=Ne.members;Ze<Cr.length;Ze++){var fr=Cr[Ze];!(e.isMethodOrAccessor(fr)&&e.isStatic(fr))||fr.body&&fr.body.forEachChild(function dr(et){et.kind===108?me(et):!e.isFunctionLike(et)&&!e.isClassLike(et)&&et.forEachChild(dr)})}}}function de(Ee,We,$){var Ne=Fe(Ee);if(Ne&&Ne.declarations)for(var me=0,Ze=Ne.declarations;me<Ze.length;me++){var Cr=Ze[me],fr=e.findChildOfKind(Cr,134,We);e.Debug.assert(Cr.kind===170&&!!fr),$(fr)}Ee.exports&&Ee.exports.forEach(function(dr){var et=dr.valueDeclaration;if(et&&et.kind===168){var yt=et.body;yt&&ye(yt,108,function(Vr){e.isNewExpressionTarget(Vr)&&$(Vr)})}})}function Fe(Ee){return Ee.members&&Ee.members.get(\"__constructor\")}function $e(Ee,We){var $=Fe(Ee.symbol);if(!!($&&$.declarations))for(var Ne=0,me=$.declarations;Ne<me.length;Ne++){var Ze=me[Ne];e.Debug.assert(Ze.kind===170);var Cr=Ze.body;Cr&&ye(Cr,106,function(fr){e.isCallExpressionTarget(fr)&&We(fr)})}}function Sr(Ee){return!!Fe(Ee.symbol)}function Pr(Ee,We){if(!Sr(Ee)){var $=Ee.symbol,Ne=We.createSearch(void 0,$,void 0);j($,We,Ne)}}function He(Ee,We,$){if(e.isDeclarationName(Ee)&&Or(Ee.parent)){We(Ee);return}if(Ee.kind!==79)return;Ee.parent.kind===295&&sr(Ee,$.checker,We);var Ne=pr(Ee);if(Ne){We(Ne);return}var me=e.findAncestor(Ee,function(dr){return!e.isQualifiedName(dr.parent)&&!e.isTypeNode(dr.parent)&&!e.isTypeElement(dr.parent)}),Ze=me.parent;if(e.hasType(Ze)&&Ze.type===me&&$.markSeenContainingTypeReference(Ze))if(e.hasInitializer(Ze))fr(Ze.initializer);else if(e.isFunctionLike(Ze)&&Ze.body){var Cr=Ze.body;Cr.kind===234?e.forEachReturnStatement(Cr,function(dr){dr.expression&&fr(dr.expression)}):fr(Cr)}else e.isAssertionExpression(Ze)&&fr(Ze.expression);function fr(dr){Jr(dr)&&We(dr)}}function pr(Ee){return e.isIdentifier(Ee)||e.isPropertyAccessExpression(Ee)?pr(Ee.parent):e.isExpressionWithTypeArguments(Ee)?e.tryCast(Ee.parent.parent,e.isClassLike):void 0}function Jr(Ee){switch(Ee.kind){case 211:return Jr(Ee.expression);case 213:case 212:case 204:case 225:case 203:return!0;default:return!1}}function ze(Ee,We,$,Ne){if(Ee===We)return!0;var me=e.getSymbolId(Ee)+\",\"+e.getSymbolId(We),Ze=$.get(me);if(Ze!==void 0)return Ze;$.set(me,!1);var Cr=!!Ee.declarations&&Ee.declarations.some(function(fr){return e.getAllSuperTypeNodes(fr).some(function(dr){var et=Ne.getTypeAtLocation(dr);return!!et&&!!et.symbol&&ze(et.symbol,We,$,Ne)})});return $.set(me,Cr),Cr}function Lr(Ee){var We=e.getSuperContainer(Ee,!1);if(!!We){var $=32;switch(We.kind){case 166:case 165:case 168:case 167:case 170:case 171:case 172:$&=e.getSyntacticModifierFlags(We),We=We.parent;break;default:return}var Ne=We.getSourceFile(),me=e.mapDefined(_e(Ne,\"super\",We),function(Ze){if(Ze.kind===106){var Cr=e.getSuperContainer(Ze,!1);return Cr&&e.isStatic(Cr)===!!$&&Cr.parent.symbol===We.symbol?f(Ze):void 0}});return[{definition:{type:0,symbol:We.symbol},references:me}]}}function Yr(Ee){return Ee.kind===79&&Ee.parent.kind===163&&Ee.parent.name===Ee}function lt(Ee,We,$){var Ne=e.getThisContainer(Ee,!1),me=32;switch(Ne.kind){case 168:case 167:if(e.isObjectLiteralMethod(Ne)){me&=e.getSyntacticModifierFlags(Ne),Ne=Ne.parent;break}case 166:case 165:case 170:case 171:case 172:me&=e.getSyntacticModifierFlags(Ne),Ne=Ne.parent;break;case 303:if(e.isExternalModule(Ne)||Yr(Ee))return;case 255:case 212:break;default:return}var Ze=e.flatMap(Ne.kind===303?We:[Ne.getSourceFile()],function(fr){return $.throwIfCancellationRequested(),_e(fr,\"this\",e.isSourceFile(Ne)?fr:Ne).filter(function(dr){if(!e.isThis(dr))return!1;var et=e.getThisContainer(dr,!1);switch(Ne.kind){case 212:case 255:return Ne.symbol===et.symbol;case 168:case 167:return e.isObjectLiteralMethod(Ne)&&Ne.symbol===et.symbol;case 225:case 256:case 204:return et.parent&&Ne.symbol===et.parent.symbol&&e.isStatic(et)===!!me;case 303:return et.kind===303&&!e.isExternalModule(et)&&!Yr(dr)}})}).map(function(fr){return f(fr)}),Cr=e.firstDefined(Ze,function(fr){return e.isParameter(fr.node.parent)?fr.node:void 0});return[{definition:{type:3,node:Cr||Ee},references:Ze}]}function tt(Ee,We,$,Ne){var me=e.getContextualTypeFromParentOrAncestorTypeNode(Ee,$),Ze=e.flatMap(We,function(Cr){return Ne.throwIfCancellationRequested(),e.mapDefined(_e(Cr,Ee.text),function(fr){if(e.isStringLiteralLike(fr)&&fr.text===Ee.text)if(me){var dr=e.getContextualTypeFromParentOrAncestorTypeNode(fr,$);if(me!==$.getStringType()&&me===dr)return f(fr,2)}else return f(fr,2)})});return[{definition:{type:4,node:Ee},references:Ze}]}function Rt(Ee,We,$,Ne,me,Ze){var Cr=[];return cn(Ee,We,$,Ne,!(Ne&&me),function(fr,dr,et){et&&In(Ee)!==In(et)&&(et=void 0),Cr.push(et||dr||fr)},function(){return!Ze}),Cr}function cn(Ee,We,$,Ne,me,Ze,Cr){var fr=e.getContainingObjectLiteralElement(We);if(fr){var dr=$.getShorthandAssignmentValueSymbol(We.parent);if(dr&&Ne)return Ze(dr,void 0,void 0,3);var et=$.getContextualType(fr.parent),yt=et&&e.firstDefined(e.getPropertySymbolsFromContextualType(fr,$,et,!0),function(sa){return mt(sa,4)});if(yt)return yt;var Vr=Ie(We,$),tr=Vr&&Ze(Vr,void 0,void 0,4);if(tr)return tr;var xr=dr&&Ze(dr,void 0,void 0,3);if(xr)return xr}var Nr=C(We,Ee,$);if(Nr){var zr=Ze(Nr,void 0,void 0,1);if(zr)return zr}var gt=mt(Ee);if(gt)return gt;if(Ee.valueDeclaration&&e.isParameterPropertyDeclaration(Ee.valueDeclaration,Ee.valueDeclaration.parent)){var vt=$.getSymbolsOfParameterPropertyDeclaration(e.cast(Ee.valueDeclaration,e.isParameter),Ee.name);return e.Debug.assert(vt.length===2&&!!(vt[0].flags&1)&&!!(vt[1].flags&4)),mt(Ee.flags&1?vt[1]:vt[0])}var ut=e.getDeclarationOfKind(Ee,274);if(!Ne||ut&&!ut.propertyName){var ht=ut&&$.getExportSpecifierLocalTargetSymbol(ut);if(ht){var xt=Ze(ht,void 0,void 0,1);if(xt)return xt}}if(!Ne){var wt=void 0;return me?wt=e.isObjectBindingElementWithoutPropertyName(We.parent)?e.getPropertySymbolFromBindingElement($,We.parent):void 0:wt=rn(Ee,$),wt&&mt(wt,4)}e.Debug.assert(Ne);var Qt=me;if(Qt){var wt=rn(Ee,$);return wt&&mt(wt,4)}function mt(sa,ba){return e.firstDefined($.getRootSymbols(sa),function(Jn){return Ze(sa,Jn,void 0,ba)||(Jn.parent&&Jn.parent.flags&96&&Cr(Jn)?bn(Jn.parent,Jn.name,$,function(na){return Ze(sa,Jn,na,ba)}):void 0)})}function rn(sa,ba){var Jn=e.getDeclarationOfKind(sa,202);if(Jn&&e.isObjectBindingElementWithoutPropertyName(Jn))return e.getPropertySymbolFromBindingElement(ba,Jn)}}function bn(Ee,We,$,Ne){var me=new e.Map;return Ze(Ee);function Ze(Cr){if(!(!(Cr.flags&96)||!e.addToSeen(me,e.getSymbolId(Cr))))return e.firstDefined(Cr.declarations,function(fr){return e.firstDefined(e.getAllSuperTypeNodes(fr),function(dr){var et=$.getTypeAtLocation(dr),yt=et&&et.symbol&&$.getPropertyOfType(et,We);return et&&yt&&(e.firstDefined($.getRootSymbols(yt),Ne)||Ze(et.symbol))})})}}function In(Ee){if(!Ee.valueDeclaration)return!1;var We=e.getEffectiveModifierFlags(Ee.valueDeclaration);return!!(We&32)}function zn(Ee,We,$,Ne){var me=Ne.checker;return cn(We,$,me,!1,Ne.options.use!==2||!!Ne.options.providePrefixAndSuffixTextForRename,function(Ze,Cr,fr,dr){return fr&&In(We)!==In(fr)&&(fr=void 0),Ee.includes(fr||Cr||Ze)?{symbol:Cr&&!(e.getCheckFlags(Ze)&6)?Cr:Ze,kind:dr}:void 0},function(Ze){return!(Ee.parents&&!Ee.parents.some(function(Cr){return ze(Ze.parent,Cr,Ne.inheritsFromCache,me)}))})}function ir(Ee,We){var $=e.getMeaningFromLocation(Ee),Ne=We.declarations;if(Ne){var me=void 0;do{me=$;for(var Ze=0,Cr=Ne;Ze<Cr.length;Ze++){var fr=Cr[Ze],dr=e.getMeaningFromDeclaration(fr);dr&$&&($|=dr)}}while($!==me)}return $}T.getIntersectingMeaningFromDeclarations=ir;function Or(Ee){return Ee.flags&8388608?!(e.isInterfaceDeclaration(Ee)||e.isTypeAliasDeclaration(Ee)):e.isVariableLike(Ee)?e.hasInitializer(Ee):e.isFunctionLikeDeclaration(Ee)?!!Ee.body:e.isClassLike(Ee)||e.isModuleOrEnumDeclaration(Ee)}function sr(Ee,We,$){var Ne=We.getSymbolAtLocation(Ee),me=We.getShorthandAssignmentValueSymbol(Ne.valueDeclaration);if(me)for(var Ze=0,Cr=me.getDeclarations();Ze<Cr.length;Ze++){var fr=Cr[Ze];e.getMeaningFromDeclaration(fr)&1&&$(fr)}}T.getReferenceEntriesForShorthandPropertyAssignment=sr;function ye(Ee,We,$){e.forEachChild(Ee,function(Ne){Ne.kind===We&&$(Ne),ye(Ne,We,$)})}function or(Ee){return e.tryGetClassExtendingExpressionWithTypeArguments(e.climbPastPropertyAccess(Ee).parent)}function fe(Ee,We,$){var Ne=e.isRightSideOfPropertyAccess(Ee)?Ee.parent:void 0,me=Ne&&$.getTypeAtLocation(Ne.expression),Ze=e.mapDefined(me&&(me.isUnionOrIntersection()?me.types:me.symbol===We.parent?void 0:[me]),function(Cr){return Cr.symbol&&Cr.symbol.flags&96?Cr.symbol:void 0});return Ze.length===0?void 0:Ze}function je(Ee){return Ee.use===2&&Ee.providePrefixAndSuffixTextForRename}})(re=n.Core||(n.Core={}))})(e.FindAllReferences||(e.FindAllReferences={}))}(jr||(jr={})),function(e){(function(n){function f(D){return(e.isFunctionExpression(D)||e.isClassExpression(D))&&e.isNamedDeclaration(D)}function p(D){return(e.isFunctionExpression(D)||e.isArrowFunction(D)||e.isClassExpression(D))&&e.isVariableDeclaration(D.parent)&&D===D.parent.initializer&&e.isIdentifier(D.parent.name)&&!!(e.getCombinedNodeFlags(D.parent)&2)}function a(D){return e.isSourceFile(D)||e.isModuleDeclaration(D)||e.isFunctionDeclaration(D)||e.isFunctionExpression(D)||e.isClassDeclaration(D)||e.isClassExpression(D)||e.isClassStaticBlockDeclaration(D)||e.isMethodDeclaration(D)||e.isMethodSignature(D)||e.isGetAccessorDeclaration(D)||e.isSetAccessorDeclaration(D)}function d(D){return e.isSourceFile(D)||e.isModuleDeclaration(D)&&e.isIdentifier(D.name)||e.isFunctionDeclaration(D)||e.isClassDeclaration(D)||e.isClassStaticBlockDeclaration(D)||e.isMethodDeclaration(D)||e.isMethodSignature(D)||e.isGetAccessorDeclaration(D)||e.isSetAccessorDeclaration(D)||f(D)||p(D)}function k(D){return e.isSourceFile(D)?D:e.isNamedDeclaration(D)?D.name:p(D)?D.parent.name:e.Debug.checkDefined(D.modifiers&&e.find(D.modifiers,J))}function J(D){return D.kind===88}function h(D,C){var m=k(C);return m&&D.getSymbolAtLocation(m)}function v(D,C){if(e.isSourceFile(C))return{text:C.fileName,pos:0,end:0};if((e.isFunctionDeclaration(C)||e.isClassDeclaration(C))&&!e.isNamedDeclaration(C)){var m=C.modifiers&&e.find(C.modifiers,J);if(m)return{text:\"default\",pos:m.getStart(),end:m.getEnd()}}if(e.isClassStaticBlockDeclaration(C)){var u=C.getSourceFile(),g=e.skipTrivia(u.text,e.moveRangePastModifiers(C).pos),P=g+6,te=D.getTypeChecker(),ue=te.getSymbolAtLocation(C.parent),X=ue?\"\".concat(te.symbolToString(ue,C.parent),\" \"):\"\";return{text:\"\".concat(X,\"static {}\"),pos:g,end:P}}var j=p(C)?C.parent.name:e.Debug.checkDefined(e.getNameOfDeclaration(C),\"Expected call hierarchy item to have a name\"),Se=e.isIdentifier(j)?e.idText(j):e.isStringOrNumericLiteralLike(j)?j.text:e.isComputedPropertyName(j)&&e.isStringOrNumericLiteralLike(j.expression)?j.expression.text:void 0;if(Se===void 0){var te=D.getTypeChecker(),ue=te.getSymbolAtLocation(j);ue&&(Se=te.symbolToString(ue,C))}if(Se===void 0){var Ce=e.createPrinter({removeComments:!0,omitTrailingSemicolon:!0});Se=e.usingSingleLineStringWriter(function(R){return Ce.writeNode(4,C,C.getSourceFile(),R)})}return{text:Se,pos:j.getStart(),end:j.getEnd()}}function A(D){var C,m;if(p(D))return e.isModuleBlock(D.parent.parent.parent.parent)&&e.isIdentifier(D.parent.parent.parent.parent.parent.name)?D.parent.parent.parent.parent.parent.name.getText():void 0;switch(D.kind){case 171:case 172:case 168:return D.parent.kind===204?(C=e.getAssignedName(D.parent))===null||C===void 0?void 0:C.getText():(m=e.getNameOfDeclaration(D.parent))===null||m===void 0?void 0:m.getText();case 255:case 256:case 260:if(e.isModuleBlock(D.parent)&&e.isIdentifier(D.parent.parent.name))return D.parent.parent.name.getText()}}function z(D,C){if(C.body)return C;if(e.isConstructorDeclaration(C))return e.getFirstConstructorWithBody(C.parent);if(e.isFunctionDeclaration(C)||e.isMethodDeclaration(C)){var m=h(D,C);return m&&m.valueDeclaration&&e.isFunctionLikeDeclaration(m.valueDeclaration)&&m.valueDeclaration.body?m.valueDeclaration:void 0}return C}function ie(D,C){var m=h(D,C),u;if(m&&m.declarations){var g=e.indicesOf(m.declarations),P=e.map(m.declarations,function(Ce){return{file:Ce.getSourceFile().fileName,pos:Ce.pos}});g.sort(function(Ce,R){return e.compareStringsCaseSensitive(P[Ce].file,P[R].file)||P[Ce].pos-P[R].pos});for(var te=e.map(g,function(Ce){return m.declarations[Ce]}),ue=void 0,X=0,j=te;X<j.length;X++){var Se=j[X];d(Se)&&((!ue||ue.parent!==Se.parent||ue.end!==Se.pos)&&(u=e.append(u,Se)),ue=Se)}}return u}function b(D,C){var m,u,g;return e.isClassStaticBlockDeclaration(C)?C:e.isFunctionLikeDeclaration(C)?(u=(m=z(D,C))!==null&&m!==void 0?m:ie(D,C))!==null&&u!==void 0?u:C:(g=ie(D,C))!==null&&g!==void 0?g:C}function M(D,C){for(var m=D.getTypeChecker(),u=!1;;){if(d(C))return b(m,C);if(a(C)){var g=e.findAncestor(C,d);return g&&b(m,g)}if(e.isDeclarationName(C)){if(d(C.parent))return b(m,C.parent);if(a(C.parent)){var g=e.findAncestor(C.parent,d);return g&&b(m,g)}return e.isVariableDeclaration(C.parent)&&C.parent.initializer&&p(C.parent.initializer)?C.parent.initializer:void 0}if(e.isConstructorDeclaration(C))return d(C.parent)?C.parent:void 0;if(C.kind===124&&e.isClassStaticBlockDeclaration(C.parent)){C=C.parent;continue}if(e.isVariableDeclaration(C)&&C.initializer&&p(C.initializer))return C.initializer;if(!u){var P=m.getSymbolAtLocation(C);if(P&&(P.flags&2097152&&(P=m.getAliasedSymbol(P)),P.valueDeclaration)){u=!0,C=P.valueDeclaration;continue}}return}}n.resolveCallHierarchyDeclaration=M;function S(D,C){var m=C.getSourceFile(),u=v(D,C),g=A(C),P=e.getNodeKind(C),te=e.getNodeModifiers(C),ue=e.createTextSpanFromBounds(e.skipTrivia(m.text,C.getFullStart(),!1,!0),C.getEnd()),X=e.createTextSpanFromBounds(u.pos,u.end);return{file:m.fileName,kind:P,kindModifiers:te,name:u.text,containerName:g,span:ue,selectionSpan:X}}n.createCallHierarchyItem=S;function B(D){return D!==void 0}function H(D){if(D.kind===1){var C=D.node;if(e.isCallOrNewExpressionTarget(C,!0,!0)||e.isTaggedTemplateTag(C,!0,!0)||e.isDecoratorTarget(C,!0,!0)||e.isJsxOpeningLikeElementTagName(C,!0,!0)||e.isRightSideOfPropertyAccess(C)||e.isArgumentExpressionOfElementAccess(C)){var m=C.getSourceFile(),u=e.findAncestor(C,d)||m;return{declaration:u,range:e.createTextRangeFromNode(C,m)}}}}function I(D){return e.getNodeId(D.declaration)}function w(D,C){return{from:D,fromSpans:C}}function x(D,C){return w(S(D,C[0].declaration),e.map(C,function(m){return e.createTextSpanFromRange(m.range)}))}function O(D,C,m){if(e.isSourceFile(C)||e.isModuleDeclaration(C)||e.isClassStaticBlockDeclaration(C))return[];var u=k(C),g=e.filter(e.FindAllReferences.findReferenceOrRenameEntries(D,m,D.getSourceFiles(),u,0,{use:1},H),B);return g?e.group(g,I,function(P){return x(D,P)}):[]}n.getIncomingCalls=O;function q(D,C){function m(g){var P=e.isTaggedTemplateExpression(g)?g.tag:e.isJsxOpeningLikeElement(g)?g.tagName:e.isAccessExpression(g)||e.isClassStaticBlockDeclaration(g)?g:g.expression,te=M(D,P);if(te){var ue=e.createTextRangeFromNode(P,g.getSourceFile());if(e.isArray(te))for(var X=0,j=te;X<j.length;X++){var Se=j[X];C.push({declaration:Se,range:ue})}else C.push({declaration:te,range:ue})}}function u(g){if(!!g&&!(g.flags&8388608)){if(d(g)){if(e.isClassLike(g))for(var P=0,te=g.members;P<te.length;P++){var ue=te[P];ue.name&&e.isComputedPropertyName(ue.name)&&u(ue.name.expression)}return}switch(g.kind){case 79:case 264:case 265:case 271:case 257:case 258:return;case 169:m(g);return;case 210:case 228:u(g.expression);return;case 253:case 163:u(g.name),u(g.initializer);return;case 207:m(g),u(g.expression),e.forEach(g.arguments,u);return;case 208:m(g),u(g.expression),e.forEach(g.arguments,u);return;case 209:m(g),u(g.tag),u(g.template);return;case 279:case 278:m(g),u(g.tagName),u(g.attributes);return;case 164:m(g),u(g.expression);return;case 205:case 206:m(g),e.forEachChild(g,u);break}e.isPartOfTypeNode(g)||e.forEachChild(g,u)}}return u}function Z(D,C){e.forEach(D.statements,C)}function ne(D,C){!e.hasSyntacticModifier(D,2)&&D.body&&e.isModuleBlock(D.body)&&e.forEach(D.body.statements,C)}function F(D,C,m){var u=z(D,C);u&&(e.forEach(u.parameters,m),m(u.body))}function Q(D,C){C(D.body)}function V(D,C){e.forEach(D.decorators,C);var m=e.getClassExtendsHeritageElement(D);m&&C(m.expression);for(var u=0,g=D.members;u<g.length;u++){var P=g[u];e.forEach(P.decorators,C),e.isPropertyDeclaration(P)?C(P.initializer):e.isConstructorDeclaration(P)&&P.body?(e.forEach(P.parameters,C),C(P.body)):e.isClassStaticBlockDeclaration(P)&&C(P)}}function re(D,C){var m=[],u=q(D,m);switch(C.kind){case 303:Z(C,u);break;case 260:ne(C,u);break;case 255:case 212:case 213:case 168:case 171:case 172:F(D.getTypeChecker(),C,u);break;case 256:case 225:V(C,u);break;case 169:Q(C,u);break;default:e.Debug.assertNever(C)}return m}function T(D,C){return{to:D,fromSpans:C}}function N(D,C){return T(S(D,C[0].declaration),e.map(C,function(m){return e.createTextSpanFromRange(m.range)}))}function y(D,C){return C.flags&8388608||e.isMethodSignature(C)?[]:e.group(re(D,C),I,function(m){return N(D,m)})}n.getOutgoingCalls=y})(e.CallHierarchy||(e.CallHierarchy={}))}(jr||(jr={})),function(e){function n(b,M,S,B,H,I,w){var x=e.hostUsesCaseSensitiveFileNames(B),O=e.createGetCanonicalFileName(x),q=f(M,S,O,w),Z=f(S,M,O,w);return e.textChanges.ChangeTracker.with({host:B,formatContext:H,preferences:I},function(ne){a(b,ne,q,M,S,B.getCurrentDirectory(),x),d(b,ne,q,Z,B,O)})}e.getEditsForFileRename=n;function f(b,M,S,B){var H=S(b);return function(w){var x=B&&B.tryGetSourcePosition({fileName:w,pos:0}),O=I(x?x.fileName:w);return x?O===void 0?void 0:p(x.fileName,O,w,S):O};function I(w){if(S(w)===H)return M;var x=e.tryRemoveDirectoryPrefix(w,H,S);return x===void 0?void 0:M+\"/\"+x}}e.getPathUpdater=f;function p(b,M,S,B){var H=e.getRelativePathFromFile(b,M,B);return J(e.getDirectoryPath(S),H)}function a(b,M,S,B,H,I,w){var x=b.getCompilerOptions().configFile;if(!x)return;var O=e.getDirectoryPath(x.fileName),q=e.getTsConfigObjectLiteralExpression(x);if(!q)return;ie(q,function(Q,V){switch(V){case\"files\":case\"include\":case\"exclude\":{var re=Z(Q);if(re||V!==\"include\"||!e.isArrayLiteralExpression(Q.initializer))return;var T=e.mapDefined(Q.initializer.elements,function(y){return e.isStringLiteral(y)?y.text:void 0});if(T.length===0)return;var N=e.getFileMatcherPatterns(O,[],T,w,I);e.getRegexFromPattern(e.Debug.checkDefined(N.includeFilePattern),w).test(B)&&!e.getRegexFromPattern(e.Debug.checkDefined(N.includeFilePattern),w).test(H)&&M.insertNodeAfter(x,e.last(Q.initializer.elements),e.factory.createStringLiteral(F(H)));return}case\"compilerOptions\":ie(Q.initializer,function(y,D){var C=e.getOptionFromName(D);C&&(C.isFilePath||C.type===\"list\"&&C.element.isFilePath)?Z(y):D===\"paths\"&&ie(y.initializer,function(m){if(!!e.isArrayLiteralExpression(m.initializer))for(var u=0,g=m.initializer.elements;u<g.length;u++){var P=g[u];ne(P)}})});return}});function Z(Q){for(var V=e.isArrayLiteralExpression(Q.initializer)?Q.initializer.elements:[Q.initializer],re=!1,T=0,N=V;T<N.length;T++){var y=N[T];re=ne(y)||re}return re}function ne(Q){if(!e.isStringLiteral(Q))return!1;var V=J(O,Q.text),re=S(V);return re!==void 0?(M.replaceRangeWithText(x,z(Q,x),F(re)),!0):!1}function F(Q){return e.getRelativePathFromDirectory(O,Q,!w)}}function d(b,M,S,B,H,I){for(var w=b.getSourceFiles(),x=function(ne){var F=S(ne.fileName),Q=F!=null?F:ne.fileName,V=e.getDirectoryPath(Q),re=B(ne.fileName),T=re||ne.fileName,N=e.getDirectoryPath(T),y=F!==void 0||re!==void 0;A(ne,M,function(D){if(!!e.pathIsRelative(D)){var C=J(N,D),m=S(C);return m===void 0?void 0:e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(V,m,I))}},function(D){var C=b.getTypeChecker().getSymbolAtLocation(D);if(!((C==null?void 0:C.declarations)&&C.declarations.some(function(u){return e.isAmbientModule(u)}))){var m=re!==void 0?v(D,e.resolveModuleName(D.text,T,b.getCompilerOptions(),H),S,w):h(C,D,ne,b,H,S);return m!==void 0&&(m.updated||y&&e.pathIsRelative(D.text))?e.moduleSpecifiers.updateModuleSpecifier(b.getCompilerOptions(),I(Q),m.newFileName,e.createModuleSpecifierResolutionHost(b,H),D.text):void 0}})},O=0,q=w;O<q.length;O++){var Z=q[O];x(Z)}}function k(b,M){return e.normalizePath(e.combinePaths(b,M))}function J(b,M){return e.ensurePathIsNonModuleName(k(b,M))}function h(b,M,S,B,H,I){if(b){var w=e.find(b.declarations,e.isSourceFile).fileName,x=I(w);return x===void 0?{newFileName:w,updated:!1}:{newFileName:x,updated:!0}}else{var O=e.getModeForUsageLocation(S,M),q=H.resolveModuleNames?H.getResolvedModuleWithFailedLookupLocationsFromCache&&H.getResolvedModuleWithFailedLookupLocationsFromCache(M.text,S.fileName,O):B.getResolvedModuleWithFailedLookupLocationsFromCache(M.text,S.fileName,O);return v(M,q,I,B.getSourceFiles())}}function v(b,M,S,B){if(!M)return;if(M.resolvedModule){var H=O(M.resolvedModule.resolvedFileName);if(H)return H}var I=e.forEach(M.failedLookupLocations,w)||e.pathIsRelative(b.text)&&e.forEach(M.failedLookupLocations,x);if(I)return I;return M.resolvedModule&&{newFileName:M.resolvedModule.resolvedFileName,updated:!1};function w(q){var Z=S(q);return Z&&e.find(B,function(ne){return ne.fileName===Z})?x(q):void 0}function x(q){return e.endsWith(q,\"/package.json\")?void 0:O(q)}function O(q){var Z=S(q);return Z&&{newFileName:Z,updated:!0}}}function A(b,M,S,B){for(var H=0,I=b.referencedFiles||e.emptyArray;H<I.length;H++){var w=I[H],x=S(w.fileName);x!==void 0&&x!==b.text.slice(w.pos,w.end)&&M.replaceRangeWithText(b,w,x)}for(var O=0,q=b.imports;O<q.length;O++){var Z=q[O],x=B(Z);x!==void 0&&x!==Z.text&&M.replaceRangeWithText(b,z(Z,b),x)}}function z(b,M){return e.createRange(b.getStart(M)+1,b.end-1)}function ie(b,M){if(!!e.isObjectLiteralExpression(b))for(var S=0,B=b.properties;S<B.length;S++){var H=B[S];e.isPropertyAssignment(H)&&e.isStringLiteral(H.name)&&M(H,H.name.text)}}}(jr||(jr={})),function(e){(function(n){function f(ne,F,Q){var V=k(F,Q,ne),re=V&&[x(V.reference.fileName,V.fileName,V.unverified)]||e.emptyArray;if(V!=null&&V.file)return re;var T=e.getTouchingPropertyName(F,Q);if(T!==F){var N=T.parent,y=ne.getTypeChecker();if(T.kind===158||e.isJSDocOverrideTag(T)&&e.rangeContainsPosition(T.tagName,Q))return d(y,T)||e.emptyArray;if(e.isJumpStatementTarget(T)){var D=e.getTargetLabel(T.parent,T.text);return D?[B(y,D,\"label\",T.text,void 0)]:void 0}if(e.isStaticModifier(T)&&e.isClassStaticBlockDeclaration(T.parent)){var C=T.parent.parent,m=ie(C,y),u=e.filter(C.members,e.isClassStaticBlockDeclaration),g=m?y.symbolToString(m,C):\"\",P=T.getSourceFile();return e.map(u,function(U){var K=e.moveRangePastModifiers(U).pos;return K=e.skipTrivia(P.text,K),B(y,U,\"constructor\",\"static {}\",g,{start:K,length:6})})}var te=ie(T,y);if(!te)return e.concatenate(re,z(T,y));var ue=q(y,T);if(ue&&!(e.isJsxOpeningLikeElement(T.parent)&&Z(ue))){var X=I(y,ue);if(y.getRootSymbols(te).some(function(U){return p(U,ue)}))return[X];var j=M(y,te,T,ue)||e.emptyArray;return T.kind===106?Gt([X],j,!0):Gt(Gt([],j,!0),[X],!1)}if(T.parent.kind===295){var Se=y.getShorthandAssignmentValueSymbol(te.valueDeclaration),Ce=Se!=null&&Se.declarations?Se.declarations.map(function(U){return S(U,y,Se,T)}):e.emptyArray;return e.concatenate(Ce,a(y,T)||e.emptyArray)}if(e.isPropertyName(T)&&e.isBindingElement(N)&&e.isObjectBindingPattern(N.parent)&&T===(N.propertyName||N.name)){var R=e.getNameFromPropertyName(T),Y=y.getTypeAtLocation(N.parent);return R===void 0?e.emptyArray:e.flatMap(Y.isUnion()?Y.types:[Y],function(U){var K=U.getProperty(R);return K&&M(y,K,T)})}return e.concatenate(re,a(y,T)||M(y,te,T))}}n.getDefinitionAtPosition=f;function p(ne,F){return ne===F.symbol||ne===F.symbol.parent||e.isAssignmentExpression(F.parent)||!e.isCallLikeExpression(F.parent)&&ne===F.parent.symbol}function a(ne,F){var Q=e.getContainingObjectLiteralElement(F);if(Q){var V=Q&&ne.getContextualType(Q.parent);if(V)return e.flatMap(e.getPropertySymbolsFromContextualType(Q,ne,V,!1),function(re){return M(ne,re,F)})}}function d(ne,F){var Q=e.findAncestor(F,e.isClassElement);if(!!(Q&&Q.name)){var V=e.findAncestor(Q,e.isClassLike);if(!!V){var re=e.getEffectiveBaseTypeNode(V),T=re?ne.getTypeAtLocation(re):void 0;if(!!T){var N=e.unescapeLeadingUnderscores(e.getTextOfPropertyName(Q.name)),y=e.hasStaticModifier(Q)?ne.getPropertyOfType(ne.getTypeOfSymbolAtLocation(T.symbol,V),N):ne.getPropertyOfType(T,N);if(!!y)return M(ne,y,F)}}}}function k(ne,F,Q){var V,re,T=w(ne.referencedFiles,F);if(T){var N=Q.getSourceFileFromReference(ne,T);return N&&{reference:T,fileName:N.fileName,file:N,unverified:!1}}var y=w(ne.typeReferenceDirectives,F);if(y){var D=Q.getResolvedTypeReferenceDirectives().get(y.fileName),N=D&&Q.getSourceFile(D.resolvedFileName);return N&&{reference:y,fileName:N.fileName,file:N,unverified:!1}}var C=w(ne.libReferenceDirectives,F);if(C){var N=Q.getLibFileFromReference(C);return N&&{reference:C,fileName:N.fileName,file:N,unverified:!1}}if(!((V=ne.resolvedModules)===null||V===void 0)&&V.size()){var m=e.getTokenAtPosition(ne,F);if(e.isModuleSpecifierLike(m)&&e.isExternalModuleNameRelative(m.text)&&ne.resolvedModules.has(m.text,e.getModeForUsageLocation(ne,m))){var u=(re=ne.resolvedModules.get(m.text,e.getModeForUsageLocation(ne,m)))===null||re===void 0?void 0:re.resolvedFileName,g=u||e.resolvePath(e.getDirectoryPath(ne.fileName),m.text);return{file:Q.getSourceFile(g),fileName:g,reference:{pos:m.getStart(),end:m.getEnd(),fileName:m.text},unverified:!u}}}}n.getReferenceAtPosition=k;function J(ne,F,Q){var V=e.getTouchingPropertyName(F,Q);if(V!==F){var re=ne.getSymbolAtLocation(V);if(!!re){var T=ne.getTypeOfSymbolAtLocation(re,V),N=v(re,T,ne),y=N&&h(N,ne,V);return y&&y.length!==0?y:h(T,ne,V)}}}n.getTypeDefinitionAtPosition=J;function h(ne,F,Q){return e.flatMap(ne.isUnion()&&!(ne.flags&32)?ne.types:[ne],function(V){return V.symbol&&M(F,V.symbol,Q)})}function v(ne,F,Q){if(F.symbol===ne||ne.valueDeclaration&&F.symbol&&e.isVariableDeclaration(ne.valueDeclaration)&&ne.valueDeclaration.initializer===F.symbol.valueDeclaration){var V=F.getCallSignatures();if(V.length===1)return Q.getReturnTypeOfSignature(e.first(V))}}function A(ne,F,Q){var V=f(ne,F,Q);if(!(!V||V.length===0)){var re=w(F.referencedFiles,Q)||w(F.typeReferenceDirectives,Q)||w(F.libReferenceDirectives,Q);if(re)return{definitions:V,textSpan:e.createTextSpanFromRange(re)};var T=e.getTouchingPropertyName(F,Q),N=e.createTextSpan(T.getStart(),T.getWidth());return{definitions:V,textSpan:N}}}n.getDefinitionAndBoundSpan=A;function z(ne,F){return e.mapDefined(F.getIndexInfosAtLocation(ne),function(Q){return Q.declaration&&I(F,Q.declaration)})}function ie(ne,F){var Q=F.getSymbolAtLocation(ne);if((Q==null?void 0:Q.declarations)&&Q.flags&2097152&&b(ne,Q.declarations[0])){var V=F.getAliasedSymbol(Q);if(V.declarations)return V}return Q}function b(ne,F){if(ne.kind!==79)return!1;if(ne.parent===F)return!0;switch(F.kind){case 266:case 264:return!0;case 269:return F.parent.kind===268;case 202:case 253:return e.isInJSFile(F)&&e.isVariableDeclarationInitializedToBareOrAccessedRequire(F);default:return!1}}function M(ne,F,Q,V){var re=e.filter(F.declarations,function(D){return D!==V&&(!e.isAssignmentDeclaration(D)||D===F.valueDeclaration)})||void 0;return T()||N()||e.map(re,function(D){return S(D,ne,F,Q)});function T(){if(F.flags&32&&!(F.flags&19)&&(e.isNewExpressionTarget(Q)||Q.kind===134)){var D=e.find(re,e.isClassLike)||e.Debug.fail(\"Expected declaration to have at least one class-like declaration\");return y(D.members,!0)}}function N(){return e.isCallOrNewExpressionTarget(Q)||e.isNameOfFunctionDeclaration(Q)?y(re,!1):void 0}function y(D,C){if(!!D){var m=D.filter(C?e.isConstructorDeclaration:e.isFunctionLike),u=m.filter(function(g){return!!g.body});return m.length?u.length!==0?u.map(function(g){return S(g,ne,F,Q)}):[S(e.last(m),ne,F,Q)]:void 0}}}function S(ne,F,Q,V){var re=F.symbolToString(Q),T=e.SymbolDisplay.getSymbolKind(F,Q,V),N=Q.parent?F.symbolToString(Q.parent,V):\"\";return B(F,ne,T,re,N)}function B(ne,F,Q,V,re,T){var N=F.getSourceFile();if(!T){var y=e.getNameOfDeclaration(F)||F;T=e.createTextSpanFromNode(y,N)}return Rn(Rn({fileName:N.fileName,textSpan:T,kind:Q,name:V,containerKind:void 0,containerName:re},e.FindAllReferences.toContextSpan(T,N,e.FindAllReferences.getContextNode(F))),{isLocal:!H(ne,F)})}function H(ne,F){if(ne.isDeclarationVisible(F))return!0;if(!F.parent)return!1;if(e.hasInitializer(F.parent)&&F.parent.initializer===F)return H(ne,F.parent);switch(F.kind){case 166:case 171:case 172:case 168:if(e.hasEffectiveModifier(F,8))return!1;case 170:case 294:case 295:case 204:case 225:case 213:case 212:return H(ne,F.parent);default:return!1}}function I(ne,F){return S(F,ne,F.symbol,F)}function w(ne,F){return e.find(ne,function(Q){return e.textRangeContainsPositionInclusive(Q,F)})}n.findReferenceInPosition=w;function x(ne,F,Q){return{fileName:F,textSpan:e.createTextSpanFromBounds(0,0),kind:\"script\",name:ne,containerName:void 0,containerKind:void 0,unverified:Q}}function O(ne){var F=e.findAncestor(ne,function(V){return!e.isRightSideOfPropertyAccess(V)}),Q=F==null?void 0:F.parent;return Q&&e.isCallLikeExpression(Q)&&e.getInvokedExpression(Q)===F?Q:void 0}function q(ne,F){var Q=O(F),V=Q&&ne.getResolvedSignature(Q);return e.tryCast(V&&V.declaration,function(re){return e.isFunctionLike(re)&&!e.isFunctionTypeNode(re)})}function Z(ne){switch(ne.kind){case 170:case 179:case 174:return!0;default:return!1}}})(e.GoToDefinition||(e.GoToDefinition={}))}(jr||(jr={})),function(e){(function(n){var f=[\"abstract\",\"access\",\"alias\",\"argument\",\"async\",\"augments\",\"author\",\"borrows\",\"callback\",\"class\",\"classdesc\",\"constant\",\"constructor\",\"constructs\",\"copyright\",\"default\",\"deprecated\",\"description\",\"emits\",\"enum\",\"event\",\"example\",\"exports\",\"extends\",\"external\",\"field\",\"file\",\"fileoverview\",\"fires\",\"function\",\"generator\",\"global\",\"hideconstructor\",\"host\",\"ignore\",\"implements\",\"inheritdoc\",\"inner\",\"instance\",\"interface\",\"kind\",\"lends\",\"license\",\"link\",\"listens\",\"member\",\"memberof\",\"method\",\"mixes\",\"module\",\"name\",\"namespace\",\"override\",\"package\",\"param\",\"private\",\"property\",\"protected\",\"public\",\"readonly\",\"requires\",\"returns\",\"see\",\"since\",\"static\",\"summary\",\"template\",\"this\",\"throws\",\"todo\",\"tutorial\",\"type\",\"typedef\",\"var\",\"variation\",\"version\",\"virtual\",\"yields\"],p,a;function d(F,Q){var V=[];return e.forEachUnique(F,function(re){for(var T=0,N=J(re);T<N.length;T++){var y=N[T];if(!(y.comment===void 0||e.isJSDoc(y)&&re.kind!==343&&re.kind!==336&&y.tags&&y.tags.some(function(C){return C.kind===343||C.kind===336})&&!y.tags.some(function(C){return C.kind===338||C.kind===339}))){var D=v(y.comment,Q);e.contains(V,D,k)||V.push(D)}}}),e.flatten(e.intersperse(V,[e.lineBreakPart()]))}n.getJsDocCommentsFromDeclarations=d;function k(F,Q){return e.arraysEqual(F,Q,function(V,re){return V.kind===re.kind&&V.text===re.text})}function J(F){switch(F.kind){case 338:case 345:return[F];case 336:case 343:return[F,F.parent];default:return e.getJSDocCommentsAndTags(F)}}function h(F,Q){var V=[];return e.forEachUnique(F,function(re){var T=e.getJSDocTags(re);if(!(T.some(function(C){return C.kind===343||C.kind===336})&&!T.some(function(C){return C.kind===338||C.kind===339})))for(var N=0,y=T;N<y.length;N++){var D=y[N];V.push({name:D.tagName.text,text:A(D,Q)})}}),V}n.getJsDocTagsFromDeclarations=h;function v(F,Q){return typeof F==\"string\"?[e.textPart(F)]:e.flatMap(F,function(V){return V.kind===319?[e.textPart(V.text)]:e.buildLinkParts(V,Q)})}function A(F,Q){var V=F.comment,re=F.kind,T=z(re);switch(re){case 327:return y(F.class);case 326:return y(F.class);case 342:return D(F.typeParameters.map(function(C){return C.getText()}).join(\", \"));case 341:return y(F.typeExpression);case 343:case 336:case 345:case 338:case 344:var N=F.name;return N?y(N):V===void 0?void 0:v(V,Q);default:return V===void 0?void 0:v(V,Q)}function y(C){return D(C.getText())}function D(C){return V?C.match(/^https?$/)?Gt([e.textPart(C)],v(V,Q),!0):Gt([T(C),e.spacePart()],v(V,Q),!0):[e.textPart(C)]}}function z(F){switch(F){case 338:return e.parameterNamePart;case 345:return e.propertyNamePart;case 342:return e.typeParameterNamePart;case 343:case 336:return e.typeAliasNamePart;default:return e.textPart}}function ie(){return p||(p=e.map(f,function(F){return{name:F,kind:\"keyword\",kindModifiers:\"\",sortText:e.Completions.SortText.LocationPriority}}))}n.getJSDocTagNameCompletions=ie,n.getJSDocTagNameCompletionDetails=M;function b(){return a||(a=e.map(f,function(F){return{name:\"@\".concat(F),kind:\"keyword\",kindModifiers:\"\",sortText:e.Completions.SortText.LocationPriority}}))}n.getJSDocTagCompletions=b;function M(F){return{name:F,kind:\"\",kindModifiers:\"\",displayParts:[e.textPart(F)],documentation:e.emptyArray,tags:void 0,codeActions:void 0}}n.getJSDocTagCompletionDetails=M;function S(F){if(!e.isIdentifier(F.name))return e.emptyArray;var Q=F.name.text,V=F.parent,re=V.parent;return e.isFunctionLike(re)?e.mapDefined(re.parameters,function(T){if(!!e.isIdentifier(T.name)){var N=T.name.text;if(!(V.tags.some(function(y){return y!==F&&e.isJSDocParameterTag(y)&&e.isIdentifier(y.name)&&y.name.escapedText===N})||Q!==void 0&&!e.startsWith(N,Q)))return{name:N,kind:\"parameter\",kindModifiers:\"\",sortText:e.Completions.SortText.LocationPriority}}}):[]}n.getJSDocParameterNameCompletions=S;function B(F){return{name:F,kind:\"parameter\",kindModifiers:\"\",displayParts:[e.textPart(F)],documentation:e.emptyArray,tags:void 0,codeActions:void 0}}n.getJSDocParameterNameCompletionDetails=B;function H(F,Q,V,re){var T=e.getTokenAtPosition(Q,V),N=e.findAncestor(T,e.isJSDoc);if(!(N&&(N.comment!==void 0||e.length(N.tags)))){var y=T.getStart(Q);if(!(!N&&y<V)){var D=O(T,re);if(!!D){var C=D.commentOwner,m=D.parameters,u=D.hasReturn;if(!(C.getStart(Q)<V)){var g=I(Q,V),P=e.hasJSFileExtension(Q.fileName),te=(m?w(m||[],P,g,F):\"\")+(u?x(g,F):\"\"),ue=\"/**\",X=\" */\";if(te){var j=ue+F+g+\" * \",Se=y===V?F+g:\"\",Ce=j+F+te+g+X+Se;return{newText:Ce,caretOffset:j.length}}return{newText:ue+X,caretOffset:3}}}}}}n.getDocCommentTemplateAtPosition=H;function I(F,Q){for(var V=F.text,re=e.getLineStartPositionForPosition(Q,F),T=re;T<=Q&&e.isWhiteSpaceSingleLine(V.charCodeAt(T));T++);return V.slice(re,T)}function w(F,Q,V,re){return F.map(function(T,N){var y=T.name,D=T.dotDotDotToken,C=y.kind===79?y.text:\"param\"+N,m=Q?D?\"{...any} \":\"{any} \":\"\";return\"\".concat(V,\" * @param \").concat(m).concat(C).concat(re)}).join(\"\")}function x(F,Q){return\"\".concat(F,\" * @returns\").concat(Q)}function O(F,Q){return e.forEachAncestor(F,function(V){return q(V,Q)})}function q(F,Q){switch(F.kind){case 255:case 212:case 168:case 170:case 167:case 213:var V=F;return{commentOwner:F,parameters:V.parameters,hasReturn:Z(V,Q)};case 294:return q(F.initializer,Q);case 256:case 257:case 165:case 259:case 297:case 258:return{commentOwner:F};case 236:{var re=F,T=re.declarationList.declarations,N=T.length===1&&T[0].initializer?ne(T[0].initializer):void 0;return N?{commentOwner:F,parameters:N.parameters,hasReturn:Z(N,Q)}:{commentOwner:F}}case 303:return\"quit\";case 260:return F.parent.kind===260?void 0:{commentOwner:F};case 237:return q(F.expression,Q);case 220:{var y=F;return e.getAssignmentDeclarationKind(y)===0?\"quit\":e.isFunctionLike(y.right)?{commentOwner:F,parameters:y.right.parameters,hasReturn:Z(y.right,Q)}:{commentOwner:F}}case 166:var D=F.initializer;if(D&&(e.isFunctionExpression(D)||e.isArrowFunction(D)))return{commentOwner:F,parameters:D.parameters,hasReturn:Z(D,Q)}}}function Z(F,Q){return!!(Q!=null&&Q.generateReturnInDocTemplate)&&(e.isArrowFunction(F)&&e.isExpression(F.body)||e.isFunctionLikeDeclaration(F)&&F.body&&e.isBlock(F.body)&&!!e.forEachReturnStatement(F.body,function(V){return V}))}function ne(F){for(;F.kind===211;)F=F.expression;switch(F.kind){case 212:case 213:return F;case 225:return e.find(F.members,e.isConstructorDeclaration)}}})(e.JsDoc||(e.JsDoc={}))}(jr||(jr={})),function(e){(function(n){function f(z,ie,b,M,S,B){var H=e.createPatternMatcher(M);if(!H)return e.emptyArray;for(var I=[],w=function(Z){if(b.throwIfCancellationRequested(),B&&Z.isDeclarationFile)return\"continue\";Z.getNamedDeclarations().forEach(function(ne,F){p(H,F,ne,ie,Z.fileName,I)})},x=0,O=z;x<O.length;x++){var q=O[x];w(q)}return I.sort(v),(S===void 0?I:I.slice(0,S)).map(A)}n.getNavigateToItems=f;function p(z,ie,b,M,S,B){var H=z.getMatchForLastSegmentOfPattern(ie);if(!!H)for(var I=0,w=b;I<w.length;I++){var x=w[I];if(!!a(x,M))if(z.patternContainsDots){var O=z.getFullMatch(h(x),ie);O&&B.push({name:ie,fileName:S,matchKind:O.kind,isCaseSensitive:O.isCaseSensitive,declaration:x})}else B.push({name:ie,fileName:S,matchKind:H.kind,isCaseSensitive:H.isCaseSensitive,declaration:x})}}function a(z,ie){switch(z.kind){case 266:case 269:case 264:var b=ie.getSymbolAtLocation(z.name),M=ie.getAliasedSymbol(b);return b.escapedName!==M.escapedName;default:return!0}}function d(z,ie){var b=e.getNameOfDeclaration(z);return!!b&&(J(b,ie)||b.kind===161&&k(b.expression,ie))}function k(z,ie){return J(z,ie)||e.isPropertyAccessExpression(z)&&(ie.push(z.name.text),!0)&&k(z.expression,ie)}function J(z,ie){return e.isPropertyNameLiteral(z)&&(ie.push(e.getTextOfIdentifierOrLiteral(z)),!0)}function h(z){var ie=[],b=e.getNameOfDeclaration(z);if(b&&b.kind===161&&!k(b.expression,ie))return e.emptyArray;ie.shift();for(var M=e.getContainerNode(z);M;){if(!d(M,ie))return e.emptyArray;M=e.getContainerNode(M)}return ie.reverse()}function v(z,ie){return e.compareValues(z.matchKind,ie.matchKind)||e.compareStringsCaseSensitiveUI(z.name,ie.name)}function A(z){var ie=z.declaration,b=e.getContainerNode(ie),M=b&&e.getNameOfDeclaration(b);return{name:z.name,kind:e.getNodeKind(ie),kindModifiers:e.getNodeModifiers(ie),matchKind:e.PatternMatchKind[z.matchKind],isCaseSensitive:z.isCaseSensitive,fileName:z.fileName,textSpan:e.createTextSpanFromNode(ie),containerName:M?M.text:\"\",containerKind:M?e.getNodeKind(b):\"\"}}})(e.NavigateTo||(e.NavigateTo={}))}(jr||(jr={})),function(e){(function(n){var f,p=/\\s+/g,a=150,d,k,J=[],h,v=[],A,z=[];function ie(_e,Le){d=Le,k=_e;try{return e.map(Ce(I(_e)),Y)}finally{M()}}n.getNavigationBarItems=ie;function b(_e,Le){d=Le,k=_e;try{return R(I(_e))}finally{M()}}n.getNavigationTree=b;function M(){k=void 0,d=void 0,J=[],h=void 0,z=[]}function S(_e){return Ve(_e.getText(k))}function B(_e){return _e.node.kind}function H(_e,Le){_e.children?_e.children.push(Le):_e.children=[Le]}function I(_e){e.Debug.assert(!J.length);var Le={node:_e,name:void 0,additionalNodes:void 0,parent:void 0,children:void 0,indent:0};h=Le;for(var qe=0,Xe=_e.statements;qe<Xe.length;qe++){var De=Xe[qe];T(De)}return F(),e.Debug.assert(!h&&!J.length),Le}function w(_e,Le){H(h,x(_e,Le))}function x(_e,Le){return{node:_e,name:Le||(e.isDeclaration(_e)||e.isExpression(_e)?e.getNameOfDeclaration(_e):void 0),additionalNodes:void 0,parent:h,children:void 0,indent:h.indent+1}}function O(_e){A||(A=new e.Map),A.set(_e,!0)}function q(_e){for(var Le=0;Le<_e;Le++)F()}function Z(_e,Le){for(var qe=[];!e.isPropertyNameLiteral(Le);){var Xe=e.getNameOrArgument(Le),De=e.getElementOrPropertyAccessName(Le);Le=Le.expression,!(De===\"prototype\"||e.isPrivateIdentifier(Xe))&&qe.push(Xe)}qe.push(Le);for(var Ae=qe.length-1;Ae>0;Ae--){var Xe=qe[Ae];ne(_e,Xe)}return[qe.length-1,qe[0]]}function ne(_e,Le){var qe=x(_e,Le);H(h,qe),J.push(h),v.push(A),A=void 0,h=qe}function F(){h.children&&(N(h.children,h),ue(h.children)),h=J.pop(),A=v.pop()}function Q(_e,Le,qe){ne(_e,qe),T(Le),F()}function V(_e){_e.initializer&&ve(_e.initializer)?(ne(_e),e.forEachChild(_e.initializer,T),F()):Q(_e,_e.initializer)}function re(_e){return!e.hasDynamicName(_e)||_e.kind!==220&&e.isPropertyAccessExpression(_e.name.expression)&&e.isIdentifier(_e.name.expression.expression)&&e.idText(_e.name.expression.expression)===\"Symbol\"}function T(_e){var Le;if(d.throwIfCancellationRequested(),!(!_e||e.isToken(_e)))switch(_e.kind){case 170:var qe=_e;Q(qe,qe.body);for(var Xe=0,De=qe.parameters;Xe<De.length;Xe++){var Ae=De[Xe];e.isParameterPropertyDeclaration(Ae,qe)&&w(Ae)}break;case 168:case 171:case 172:case 167:re(_e)&&Q(_e,_e.body);break;case 166:re(_e)&&V(_e);break;case 165:re(_e)&&w(_e);break;case 266:var Ye=_e;Ye.name&&w(Ye.name);var Dr=Ye.namedBindings;if(Dr)if(Dr.kind===267)w(Dr);else for(var br=0,lr=Dr.elements;br<lr.length;br++){var Ar=lr[br];w(Ar)}break;case 295:Q(_e,_e.name);break;case 296:var kr=_e.expression;e.isIdentifier(kr)?w(_e,kr):w(_e);break;case 202:case 294:case 253:{var Ke=_e;e.isBindingPattern(Ke.name)?T(Ke.name):V(Ke);break}case 255:var Me=_e.name;Me&&e.isIdentifier(Me)&&O(Me.text),Q(_e,_e.body);break;case 213:case 212:Q(_e,_e.body);break;case 259:ne(_e);for(var Hr=0,ur=_e.members;Hr<ur.length;Hr++){var gr=ur[Hr];ke(gr)||w(gr)}F();break;case 256:case 225:case 257:ne(_e);for(var de=0,Fe=_e.members;de<Fe.length;de++){var gr=Fe[de];T(gr)}F();break;case 260:Q(_e,ge(_e).body);break;case 270:{var $e=_e.expression,Ke=e.isObjectLiteralExpression($e)||e.isCallExpression($e)?$e:e.isArrowFunction($e)||e.isFunctionExpression($e)?$e.body:void 0;Ke?(ne(_e),T(Ke),F()):w(_e);break}case 274:case 264:case 175:case 173:case 174:case 258:w(_e);break;case 207:case 220:{var Sr=e.getAssignmentDeclarationKind(_e);switch(Sr){case 1:case 2:Q(_e,_e.right);return;case 6:case 3:{var Pr=_e,He=Pr.left,pr=Sr===3?He.expression:He,Jr=0,ze=void 0;e.isIdentifier(pr.expression)?(O(pr.expression.text),ze=pr.expression):(Le=Z(Pr,pr.expression),Jr=Le[0],ze=Le[1]),Sr===6?e.isObjectLiteralExpression(Pr.right)&&Pr.right.properties.length>0&&(ne(Pr,ze),e.forEachChild(Pr.right,T),F()):e.isFunctionExpression(Pr.right)||e.isArrowFunction(Pr.right)?Q(_e,Pr.right,ze):(ne(Pr,ze),Q(_e,Pr.right,He.name),F()),q(Jr);return}case 7:case 9:{var Lr=_e,ze=Sr===7?Lr.arguments[0]:Lr.arguments[0].expression,Yr=Lr.arguments[1],lt=Z(_e,ze),Jr=lt[0],tt=lt[1];ne(_e,tt),ne(_e,e.setTextRange(e.factory.createIdentifier(Yr.text),Yr)),T(_e.arguments[2]),F(),F(),q(Jr);return}case 5:{var Pr=_e,He=Pr.left,Rt=He.expression;if(e.isIdentifier(Rt)&&e.getElementOrPropertyAccessName(He)!==\"prototype\"&&A&&A.has(Rt.text)){e.isFunctionExpression(Pr.right)||e.isArrowFunction(Pr.right)?Q(_e,Pr.right,Rt):e.isBindableStaticAccessExpression(He)&&(ne(Pr,Rt),Q(Pr.left,Pr.right,e.getNameOrArgument(He)),F());return}break}case 4:case 0:case 8:break;default:e.Debug.assertNever(Sr)}}default:e.hasJSDocNodes(_e)&&e.forEach(_e.jsDoc,function(cn){e.forEach(cn.tags,function(bn){e.isJSDocTypeAlias(bn)&&w(bn)})}),e.forEachChild(_e,T)}}function N(_e,Le){var qe=new e.Map;e.filterMutate(_e,function(Xe,De){var Ae=Xe.name||e.getNameOfDeclaration(Xe.node),Ye=Ae&&S(Ae);if(!Ye)return!0;var Dr=qe.get(Ye);if(!Dr)return qe.set(Ye,Xe),!0;if(Dr instanceof Array){for(var br=0,lr=Dr;br<lr.length;br++){var Ar=lr[br];if(C(Ar,Xe,De,Le))return!1}return Dr.push(Xe),!0}else{var Ar=Dr;return C(Ar,Xe,De,Le)?!1:(qe.set(Ye,[Ar,Xe]),!0)}})}var y=(f={},f[5]=!0,f[3]=!0,f[7]=!0,f[9]=!0,f[0]=!1,f[1]=!1,f[2]=!1,f[8]=!1,f[6]=!0,f[4]=!1,f);function D(_e,Le,qe,Xe){function De(Ke){return e.isFunctionExpression(Ke)||e.isFunctionDeclaration(Ke)||e.isVariableDeclaration(Ke)}var Ae=e.isBinaryExpression(Le.node)||e.isCallExpression(Le.node)?e.getAssignmentDeclarationKind(Le.node):0,Ye=e.isBinaryExpression(_e.node)||e.isCallExpression(_e.node)?e.getAssignmentDeclarationKind(_e.node):0;if(y[Ae]&&y[Ye]||De(_e.node)&&y[Ae]||De(Le.node)&&y[Ye]||e.isClassDeclaration(_e.node)&&u(_e.node)&&y[Ae]||e.isClassDeclaration(Le.node)&&y[Ye]||e.isClassDeclaration(_e.node)&&u(_e.node)&&De(Le.node)||e.isClassDeclaration(Le.node)&&De(_e.node)&&u(_e.node)){var Dr=_e.additionalNodes&&e.lastOrUndefined(_e.additionalNodes)||_e.node;if(!e.isClassDeclaration(_e.node)&&!e.isClassDeclaration(Le.node)||De(_e.node)||De(Le.node)){var br=De(_e.node)?_e.node:De(Le.node)?Le.node:void 0;if(br!==void 0){var lr=e.setTextRange(e.factory.createConstructorDeclaration(void 0,void 0,[],void 0),br),Ar=x(lr);Ar.indent=_e.indent+1,Ar.children=_e.node===br?_e.children:Le.children,_e.children=_e.node===br?e.concatenate([Ar],Le.children||[Le]):e.concatenate(_e.children||[Rn({},_e)],[Ar])}else(_e.children||Le.children)&&(_e.children=e.concatenate(_e.children||[Rn({},_e)],Le.children||[Le]),_e.children&&(N(_e.children,_e),ue(_e.children)));Dr=_e.node=e.setTextRange(e.factory.createClassDeclaration(void 0,void 0,_e.name||e.factory.createIdentifier(\"__class__\"),void 0,void 0,[]),_e.node)}else _e.children=e.concatenate(_e.children,Le.children),_e.children&&N(_e.children,_e);var kr=Le.node;return Xe.children[qe-1].node.end===Dr.end?e.setTextRange(Dr,{pos:Dr.pos,end:kr.end}):(_e.additionalNodes||(_e.additionalNodes=[]),_e.additionalNodes.push(e.setTextRange(e.factory.createClassDeclaration(void 0,void 0,_e.name||e.factory.createIdentifier(\"__class__\"),void 0,void 0,[]),Le.node))),!0}return Ae!==0}function C(_e,Le,qe,Xe){return D(_e,Le,qe,Xe)?!0:m(_e.node,Le.node,Xe)?(te(_e,Le),!0):!1}function m(_e,Le,qe){if(_e.kind!==Le.kind||_e.parent!==Le.parent&&!(g(_e,qe)&&g(Le,qe)))return!1;switch(_e.kind){case 166:case 168:case 171:case 172:return e.isStatic(_e)===e.isStatic(Le);case 260:return P(_e,Le)&&Te(_e)===Te(Le);default:return!0}}function u(_e){return!!(_e.flags&8)}function g(_e,Le){var qe=e.isModuleBlock(_e.parent)?_e.parent.parent:_e.parent;return qe===Le.node||e.contains(Le.additionalNodes,qe)}function P(_e,Le){return!_e.body||!Le.body?_e.body===Le.body:_e.body.kind===Le.body.kind&&(_e.body.kind!==260||P(_e.body,Le.body))}function te(_e,Le){var qe;_e.additionalNodes=_e.additionalNodes||[],_e.additionalNodes.push(Le.node),Le.additionalNodes&&(qe=_e.additionalNodes).push.apply(qe,Le.additionalNodes),_e.children=e.concatenate(_e.children,Le.children),_e.children&&(N(_e.children,_e),ue(_e.children))}function ue(_e){_e.sort(X)}function X(_e,Le){return e.compareStringsCaseSensitiveUI(j(_e.node),j(Le.node))||e.compareValues(B(_e),B(Le))}function j(_e){if(_e.kind===260)return K(_e);var Le=e.getNameOfDeclaration(_e);if(Le&&e.isPropertyName(Le)){var qe=e.getPropertyNameForPropertyNameNode(Le);return qe&&e.unescapeLeadingUnderscores(qe)}switch(_e.kind){case 212:case 213:case 225:return Ge(_e);default:return}}function Se(_e,Le){if(_e.kind===260)return Ve(K(_e));if(Le){var qe=e.isIdentifier(Le)?Le.text:e.isElementAccessExpression(Le)?\"[\".concat(S(Le.argumentExpression),\"]\"):S(Le);if(qe.length>0)return Ve(qe)}switch(_e.kind){case 303:var Xe=_e;return e.isExternalModule(Xe)?'\"'.concat(e.escapeString(e.getBaseFileName(e.removeFileExtension(e.normalizePath(Xe.fileName)))),'\"'):\"<global>\";case 270:return e.isExportAssignment(_e)&&_e.isExportEquals?\"export=\":\"default\";case 213:case 255:case 212:case 256:case 225:return e.getSyntacticModifierFlags(_e)&512?\"default\":Ge(_e);case 170:return\"constructor\";case 174:return\"new()\";case 173:return\"()\";case 175:return\"[]\";default:return\"<unknown>\"}}function Ce(_e){var Le=[];function qe(De){if(Xe(De)&&(Le.push(De),De.children))for(var Ae=0,Ye=De.children;Ae<Ye.length;Ae++){var Dr=Ye[Ae];qe(Dr)}}return qe(_e),Le;function Xe(De){if(De.children)return!0;switch(B(De)){case 256:case 225:case 259:case 257:case 260:case 303:case 258:case 343:case 336:return!0;case 213:case 255:case 212:return Ae(De);default:return!1}function Ae(Ye){if(!Ye.node.body)return!1;switch(B(Ye.parent)){case 261:case 303:case 168:case 170:return!0;default:return!1}}}}function R(_e){return{text:Se(_e.node,_e.name),kind:e.getNodeKind(_e.node),kindModifiers:Ie(_e.node),spans:U(_e),nameSpan:_e.name&&Pe(_e.name),childItems:e.map(_e.children,R)}}function Y(_e){return{text:Se(_e.node,_e.name),kind:e.getNodeKind(_e.node),kindModifiers:Ie(_e.node),spans:U(_e),childItems:e.map(_e.children,Le)||z,indent:_e.indent,bolded:!1,grayed:!1};function Le(qe){return{text:Se(qe.node,qe.name),kind:e.getNodeKind(qe.node),kindModifiers:e.getNodeModifiers(qe.node),spans:U(qe),childItems:z,indent:0,bolded:!1,grayed:!1}}}function U(_e){var Le=[Pe(_e.node)];if(_e.additionalNodes)for(var qe=0,Xe=_e.additionalNodes;qe<Xe.length;qe++){var De=Xe[qe];Le.push(Pe(De))}return Le}function K(_e){return e.isAmbientModule(_e)?e.getTextOfNode(_e.name):Te(_e)}function Te(_e){for(var Le=[e.getTextOfIdentifierOrLiteral(_e.name)];_e.body&&_e.body.kind===260;)_e=_e.body,Le.push(e.getTextOfIdentifierOrLiteral(_e.name));return Le.join(\".\")}function ge(_e){return _e.body&&e.isModuleDeclaration(_e.body)?ge(_e.body):_e}function ke(_e){return!_e.name||_e.name.kind===161}function Pe(_e){return _e.kind===303?e.createTextSpanFromRange(_e):e.createTextSpanFromNode(_e,k)}function Ie(_e){return _e.parent&&_e.parent.kind===253&&(_e=_e.parent),e.getNodeModifiers(_e)}function Ge(_e){var Le=_e.parent;if(_e.name&&e.getFullWidth(_e.name)>0)return Ve(e.declarationNameToString(_e.name));if(e.isVariableDeclaration(Le))return Ve(e.declarationNameToString(Le.name));if(e.isBinaryExpression(Le)&&Le.operatorToken.kind===63)return S(Le.left).replace(p,\"\");if(e.isPropertyAssignment(Le))return S(Le.name);if(e.getSyntacticModifierFlags(_e)&512)return\"default\";if(e.isClassLike(_e))return\"<class>\";if(e.isCallExpression(Le)){var qe=he(Le.expression);if(qe!==void 0){if(qe=Ve(qe),qe.length>a)return\"\".concat(qe,\" callback\");var Xe=Ve(e.mapDefined(Le.arguments,function(De){return e.isStringLiteralLike(De)?De.getText(k):void 0}).join(\", \"));return\"\".concat(qe,\"(\").concat(Xe,\") callback\")}}return\"<function>\"}function he(_e){if(e.isIdentifier(_e))return _e.text;if(e.isPropertyAccessExpression(_e)){var Le=he(_e.expression),qe=_e.name.text;return Le===void 0?qe:\"\".concat(Le,\".\").concat(qe)}else return}function ve(_e){switch(_e.kind){case 213:case 212:case 225:return!0;default:return!1}}function Ve(_e){return _e=_e.length>a?_e.substring(0,a)+\"...\":_e,_e.replace(/\\\\?(\\r?\\n|\\r|\\u2028|\\u2029)/g,\"\")}})(e.NavigationBar||(e.NavigationBar={}))}(jr||(jr={})),function(e){(function(n){function f(q,Z,ne,F,Q,V){var re=e.textChanges.ChangeTracker.fromContext({host:ne,formatContext:Z,preferences:Q}),T=function(te){return e.stableSort(k(p(te,q,F,V)),function(ue,X){return w(ue,X)})},N=q.statements.filter(e.isImportDeclaration);P(N,T);var y=q.statements.filter(e.isExportDeclaration);P(y,h);for(var D=0,C=q.statements.filter(e.isAmbientModule);D<C.length;D++){var m=C[D];if(!!m.body){var u=m.body.statements.filter(e.isImportDeclaration);P(u,T);var g=m.body.statements.filter(e.isExportDeclaration);P(g,h)}}return re.getChanges();function P(te,ue){if(e.length(te)!==0){e.suppressLeadingTrivia(te[0]);var X=e.group(te,function(Y){return d(Y.moduleSpecifier)}),j=e.stableSort(X,function(Y,U){return ie(Y[0].moduleSpecifier,U[0].moduleSpecifier)}),Se=e.flatMap(j,function(Y){return d(Y[0].moduleSpecifier)?ue(Y):Y});if(Se.length===0)re.deleteNodes(q,te,{trailingTriviaOption:e.textChanges.TrailingTriviaOption.Include},!0);else{var Ce={leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Include,suffix:e.getNewLineOrDefaultFromHost(ne,Z.options)};re.replaceNodeWithNodes(q,te[0],Se,Ce);var R=re.nodeHasTrailingComment(q,te[0],Ce);re.deleteNodes(q,te.slice(1),{trailingTriviaOption:e.textChanges.TrailingTriviaOption.Include},R)}}}}n.organizeImports=f;function p(q,Z,ne,F){if(F)return q;for(var Q=ne.getTypeChecker(),V=Q.getJsxNamespace(Z),re=Q.getJsxFragmentFactory(Z),T=!!(Z.transformFlags&2),N=[],y=0,D=q;y<D.length;y++){var C=D[y],m=C.importClause,u=C.moduleSpecifier;if(!m){N.push(C);continue}var g=m.name,P=m.namedBindings;if(g&&!ue(g)&&(g=void 0),P)if(e.isNamespaceImport(P))ue(P.name)||(P=void 0);else{var te=P.elements.filter(function(X){return ue(X.name)});te.length<P.elements.length&&(P=te.length?e.factory.updateNamedImports(P,te):void 0)}g||P?N.push(v(C,g,P)):a(Z,u)&&(Z.isDeclarationFile?N.push(e.factory.createImportDeclaration(C.decorators,C.modifiers,void 0,u,void 0)):N.push(C))}return N;function ue(X){return T&&(X.text===V||re&&X.text===re)||e.FindAllReferences.Core.isSymbolReferencedInFile(X,Q,Z)}}function a(q,Z){var ne=e.isStringLiteral(Z)&&Z.text;return e.isString(ne)&&e.some(q.moduleAugmentations,function(F){return e.isStringLiteral(F)&&F.text===ne})}function d(q){return q!==void 0&&e.isStringLiteralLike(q)?q.text:void 0}function k(q){var Z;if(q.length===0)return q;var ne=J(q),F=ne.importWithoutClause,Q=ne.typeOnlyImports,V=ne.regularImports,re=[];F&&re.push(F);for(var T=0,N=[V,Q];T<N.length;T++){var y=N[T],D=y===Q,C=y.defaultImports,m=y.namespaceImports,u=y.namedImports;if(!D&&C.length===1&&m.length===1&&u.length===0){var g=C[0];re.push(v(g,g.importClause.name,m[0].importClause.namedBindings));continue}for(var P=e.stableSort(m,function(Te,ge){return b(Te.importClause.namedBindings.name,ge.importClause.namedBindings.name)}),te=0,ue=P;te<ue.length;te++){var X=ue[te];re.push(v(X,void 0,X.importClause.namedBindings))}if(!(C.length===0&&u.length===0)){var j=void 0,Se=[];if(C.length===1)j=C[0].importClause.name;else for(var Ce=0,R=C;Ce<R.length;Ce++){var g=R[Ce];Se.push(e.factory.createImportSpecifier(!1,e.factory.createIdentifier(\"default\"),g.importClause.name))}Se.push.apply(Se,e.flatMap(u,function(Te){return Te.importClause.namedBindings.elements}));var Y=A(Se),U=C.length>0?C[0]:u[0],K=Y.length===0?j?void 0:e.factory.createNamedImports(e.emptyArray):u.length===0?e.factory.createNamedImports(Y):e.factory.updateNamedImports(u[0].importClause.namedBindings,Y);D&&j&&K?(re.push(v(U,j,void 0)),re.push(v((Z=u[0])!==null&&Z!==void 0?Z:U,void 0,K))):re.push(v(U,j,K))}}return re}n.coalesceImports=k;function J(q){for(var Z,ne={defaultImports:[],namespaceImports:[],namedImports:[]},F={defaultImports:[],namespaceImports:[],namedImports:[]},Q=0,V=q;Q<V.length;Q++){var re=V[Q];if(re.importClause===void 0){Z=Z||re;continue}var T=re.importClause.isTypeOnly?ne:F,N=re.importClause,y=N.name,D=N.namedBindings;y&&T.defaultImports.push(re),D&&(e.isNamespaceImport(D)?T.namespaceImports.push(re):T.namedImports.push(re))}return{importWithoutClause:Z,typeOnlyImports:ne,regularImports:F}}function h(q){if(q.length===0)return q;var Z=m(q),ne=Z.exportWithoutClause,F=Z.namedExports,Q=Z.typeOnlyExports,V=[];ne&&V.push(ne);for(var re=0,T=[F,Q];re<T.length;re++){var N=T[re];if(N.length!==0){var y=[];y.push.apply(y,e.flatMap(N,function(u){return u.exportClause&&e.isNamedExports(u.exportClause)?u.exportClause.elements:e.emptyArray}));var D=A(y),C=N[0];V.push(e.factory.updateExportDeclaration(C,C.decorators,C.modifiers,C.isTypeOnly,C.exportClause&&(e.isNamedExports(C.exportClause)?e.factory.updateNamedExports(C.exportClause,D):e.factory.updateNamespaceExport(C.exportClause,C.exportClause.name)),C.moduleSpecifier,C.assertClause))}}return V;function m(u){for(var g,P=[],te=[],ue=0,X=u;ue<X.length;ue++){var j=X[ue];j.exportClause===void 0?g=g||j:j.isTypeOnly?te.push(j):P.push(j)}return{exportWithoutClause:g,namedExports:P,typeOnlyExports:te}}}n.coalesceExports=h;function v(q,Z,ne){return e.factory.updateImportDeclaration(q,q.decorators,q.modifiers,e.factory.updateImportClause(q.importClause,q.importClause.isTypeOnly,Z,ne),q.moduleSpecifier,q.assertClause)}function A(q){return e.stableSort(q,z)}function z(q,Z){return e.compareBooleans(q.isTypeOnly,Z.isTypeOnly)||b(q.propertyName||q.name,Z.propertyName||Z.name)||b(q.name,Z.name)}n.compareImportOrExportSpecifiers=z;function ie(q,Z){var ne=q===void 0?void 0:d(q),F=Z===void 0?void 0:d(Z);return e.compareBooleans(ne===void 0,F===void 0)||e.compareBooleans(e.isExternalModuleNameRelative(ne),e.isExternalModuleNameRelative(F))||e.compareStringsCaseInsensitive(ne,F)}n.compareModuleSpecifiers=ie;function b(q,Z){return e.compareStringsCaseInsensitive(q.text,Z.text)}function M(q){var Z;switch(q.kind){case 264:return(Z=e.tryCast(q.moduleReference,e.isExternalModuleReference))===null||Z===void 0?void 0:Z.expression;case 265:return q.moduleSpecifier;case 236:return q.declarationList.declarations[0].initializer.arguments[0]}}function S(q){return e.arrayIsSorted(q,w)}n.importsAreSorted=S;function B(q){return e.arrayIsSorted(q,z)}n.importSpecifiersAreSorted=B;function H(q,Z){var ne=e.binarySearch(q,Z,e.identity,w);return ne<0?~ne:ne}n.getImportDeclarationInsertionIndex=H;function I(q,Z){var ne=e.binarySearch(q,Z,e.identity,z);return ne<0?~ne:ne}n.getImportSpecifierInsertionIndex=I;function w(q,Z){return ie(M(q),M(Z))||x(q,Z)}n.compareImportsOrRequireStatements=w;function x(q,Z){return e.compareValues(O(q),O(Z))}function O(q){var Z;switch(q.kind){case 265:return q.importClause?q.importClause.isTypeOnly?1:((Z=q.importClause.namedBindings)===null||Z===void 0?void 0:Z.kind)===267?2:q.importClause.name?3:4:0;case 264:return 5;case 236:return 6}}})(e.OrganizeImports||(e.OrganizeImports={}))}(jr||(jr={})),function(e){(function(n){function f(S,B){var H=[];return p(S,B,H),a(S,H),H.sort(function(I,w){return I.textSpan.start-w.textSpan.start})}n.collectElements=f;function p(S,B,H){for(var I=40,w=0,x=Gt(Gt([],S.statements,!0),[S.endOfFileToken],!1),O=x.length;w<O;){for(;w<O&&!e.isAnyImportSyntax(x[w]);)ne(x[w]),w++;if(w===O)break;for(var q=w;w<O&&e.isAnyImportSyntax(x[w]);)h(x[w],S,B,H),w++;var Z=w-1;Z!==q&&H.push(v(e.findChildOfKind(x[q],100,S).getStart(S),x[Z].getEnd(),\"imports\"))}function ne(F){var Q;if(I!==0){B.throwIfCancellationRequested(),(e.isDeclaration(F)||e.isVariableStatement(F)||e.isReturnStatement(F)||F.kind===1)&&h(F,S,B,H),e.isFunctionLike(F)&&e.isBinaryExpression(F.parent)&&e.isPropertyAccessExpression(F.parent.left)&&h(F.parent.left,S,B,H),(e.isBlock(F)||e.isModuleBlock(F))&&J(F.statements.end,S,B,H),(e.isClassLike(F)||e.isInterfaceDeclaration(F))&&J(F.members.end,S,B,H);var V=A(F,S);V&&H.push(V),I--,e.isCallExpression(F)?(I++,ne(F.expression),I--,F.arguments.forEach(ne),(Q=F.typeArguments)===null||Q===void 0||Q.forEach(ne)):e.isIfStatement(F)&&F.elseStatement&&e.isIfStatement(F.elseStatement)?(ne(F.expression),ne(F.thenStatement),I++,ne(F.elseStatement),I--):F.forEachChild(ne),I++}}}function a(S,B){for(var H=[],I=S.getLineStarts(),w=0,x=I;w<x.length;w++){var O=x[w],q=S.getLineEndOfPosition(O),Z=S.text.substring(O,q),ne=k(Z);if(!(!ne||e.isInComment(S,O)))if(ne[1]){var Q=H.pop();Q&&(Q.textSpan.length=q-Q.textSpan.start,Q.hintSpan.length=q-Q.textSpan.start,B.push(Q))}else{var F=e.createTextSpanFromBounds(S.text.indexOf(\"//\",O),q);H.push(b(F,\"region\",F,!1,ne[2]||\"#region\"))}}}var d=/^#(end)?region(?:\\s+(.*))?(?:\\r)?$/;function k(S){return S=e.trimStringStart(S),e.startsWith(S,\"//\")?(S=e.trimString(S.slice(2)),d.exec(S)):null}function J(S,B,H,I){var w=e.getLeadingCommentRanges(B.text,S);if(!w)return;for(var x=-1,O=-1,q=0,Z=B.getFullText(),ne=0,F=w;ne<F.length;ne++){var Q=F[ne],V=Q.kind,re=Q.pos,T=Q.end;switch(H.throwIfCancellationRequested(),V){case 2:var N=Z.slice(re,T);if(k(N)){y(),q=0;break}q===0&&(x=re),O=T,q++;break;case 3:y(),I.push(v(re,T,\"comment\")),q=0;break;default:e.Debug.assertNever(V)}}y();function y(){q>1&&I.push(v(x,O,\"comment\"))}}function h(S,B,H,I){e.isJsxText(S)||J(S.pos,B,H,I)}function v(S,B,H){return b(e.createTextSpanFromBounds(S,B),H)}function A(S,B){switch(S.kind){case 234:if(e.isFunctionLike(S.parent))return z(S.parent,S,B);switch(S.parent.kind){case 239:case 242:case 243:case 241:case 238:case 240:case 247:case 291:return Q(S.parent);case 251:var H=S.parent;if(H.tryBlock===S)return Q(S.parent);if(H.finallyBlock===S){var I=e.findChildOfKind(H,96,B);if(I)return Q(I)}default:return b(e.createTextSpanFromNode(S,B),\"code\")}case 261:return Q(S.parent);case 256:case 225:case 257:case 259:case 262:case 181:case 200:return Q(S);case 183:return Q(S,!1,!e.isTupleTypeNode(S.parent),22);case 288:case 289:return V(S.statements);case 204:return F(S);case 203:return F(S,22);case 277:return O(S);case 281:return q(S);case 278:case 279:return Z(S.attributes);case 222:case 14:return ne(S);case 201:return Q(S,!1,!e.isBindingElement(S.parent),22);case 213:return x(S);case 207:return w(S)}function w(re){if(!!re.arguments.length){var T=e.findChildOfKind(re,20,B),N=e.findChildOfKind(re,21,B);if(!(!T||!N||e.positionsAreOnSameLine(T.pos,N.pos,B)))return ie(T,N,re,B,!1,!0)}}function x(re){if(!(e.isBlock(re.body)||e.positionsAreOnSameLine(re.body.getFullStart(),re.body.getEnd(),B))){var T=e.createTextSpanFromBounds(re.body.getFullStart(),re.body.getEnd());return b(T,\"code\",e.createTextSpanFromNode(re))}}function O(re){var T=e.createTextSpanFromBounds(re.openingElement.getStart(B),re.closingElement.getEnd()),N=re.openingElement.tagName.getText(B),y=\"<\"+N+\">...</\"+N+\">\";return b(T,\"code\",T,!1,y)}function q(re){var T=e.createTextSpanFromBounds(re.openingFragment.getStart(B),re.closingFragment.getEnd()),N=\"<>...</>\";return b(T,\"code\",T,!1,N)}function Z(re){if(re.properties.length!==0)return v(re.getStart(B),re.getEnd(),\"code\")}function ne(re){if(!(re.kind===14&&re.text.length===0))return v(re.getStart(B),re.getEnd(),\"code\")}function F(re,T){return T===void 0&&(T=18),Q(re,!1,!e.isArrayLiteralExpression(re.parent)&&!e.isCallExpression(re.parent),T)}function Q(re,T,N,y,D){T===void 0&&(T=!1),N===void 0&&(N=!0),y===void 0&&(y=18),D===void 0&&(D=y===18?19:23);var C=e.findChildOfKind(S,y,B),m=e.findChildOfKind(S,D,B);return C&&m&&ie(C,m,re,B,T,N)}function V(re){return re.length?b(e.createTextSpanFromRange(re),\"code\"):void 0}}function z(S,B,H){var I=M(S,B,H),w=e.findChildOfKind(B,19,H);return I&&w&&ie(I,w,S,H,S.kind!==213)}function ie(S,B,H,I,w,x){w===void 0&&(w=!1),x===void 0&&(x=!0);var O=e.createTextSpanFromBounds(x?S.getFullStart():S.getStart(I),B.getEnd());return b(O,\"code\",e.createTextSpanFromNode(H,I),w)}function b(S,B,H,I,w){return H===void 0&&(H=S),I===void 0&&(I=!1),w===void 0&&(w=\"...\"),{textSpan:S,kind:B,hintSpan:H,bannerText:w,autoCollapse:I}}function M(S,B,H){if(e.isNodeArrayMultiLine(S.parameters,H)){var I=e.findChildOfKind(S,20,H);if(I)return I}return e.findChildOfKind(B,18,H)}})(e.OutliningElementsCollector||(e.OutliningElementsCollector={}))}(jr||(jr={})),function(e){var n;(function(y){y[y.exact=0]=\"exact\",y[y.prefix=1]=\"prefix\",y[y.substring=2]=\"substring\",y[y.camelCase=3]=\"camelCase\"})(n=e.PatternMatchKind||(e.PatternMatchKind={}));function f(y,D){return{kind:y,isCaseSensitive:D}}function p(y){var D=new e.Map,C=y.trim().split(\".\").map(function(m){return b(m.trim())});if(!C.some(function(m){return!m.subWordTextChunks.length}))return{getFullMatch:function(m,u){return a(m,u,C,D)},getMatchForLastSegmentOfPattern:function(m){return J(m,e.last(C),D)},patternContainsDots:C.length>1}}e.createPatternMatcher=p;function a(y,D,C,m){var u=J(D,e.last(C),m);if(!!u&&!(C.length-1>y.length)){for(var g,P=C.length-2,te=y.length-1;P>=0;P-=1,te-=1)g=h(g,J(y[te],C[P],m));return g}}function d(y,D){var C=D.get(y);return C||D.set(y,C=Z(y)),C}function k(y,D,C){var m=B(y,D.textLowerCase);if(m===0)return f(D.text.length===y.length?n.exact:n.prefix,e.startsWith(y,D.text));if(D.isLowerCase){if(m===-1)return;for(var u=d(y,C),g=0,P=u;g<P.length;g++){var te=P[g];if(A(y,te,D.text,!0))return f(n.substring,A(y,te,D.text,!1))}if(D.text.length<y.length&&M(y.charCodeAt(m)))return f(n.substring,!1)}else{if(y.indexOf(D.text)>0)return f(n.substring,!0);if(D.characterSpans.length>0){var ue=d(y,C),X=ie(y,ue,D,!1)?!0:ie(y,ue,D,!0)?!1:void 0;if(X!==void 0)return f(n.camelCase,X)}}}function J(y,D,C){if(N(D.totalTextChunk.text,function(X){return X!==32&&X!==42})){var m=k(y,D.totalTextChunk,C);if(m)return m}for(var u=D.subWordTextChunks,g,P=0,te=u;P<te.length;P++){var ue=te[P];g=h(g,k(y,ue,C))}return g}function h(y,D){return e.min(y,D,v)}function v(y,D){return y===void 0?1:D===void 0?-1:e.compareValues(y.kind,D.kind)||e.compareBooleans(!y.isCaseSensitive,!D.isCaseSensitive)}function A(y,D,C,m,u){return u===void 0&&(u={start:0,length:C.length}),u.length<=D.length&&T(0,u.length,function(g){return z(C.charCodeAt(u.start+g),y.charCodeAt(D.start+g),m)})}function z(y,D,C){return C?H(y)===H(D):y===D}function ie(y,D,C,m){for(var u=C.characterSpans,g=0,P=0;;){if(P===u.length)return!0;if(g===D.length)return!1;for(var te=D[g],ue=!1;P<u.length;P++){var X=u[P];if(ue&&(!M(C.text.charCodeAt(u[P-1].start))||!M(C.text.charCodeAt(u[P].start)))||!A(y,te,C.text,m,X))break;ue=!0,te=e.createTextSpan(te.start+X.length,te.length-X.length)}g++}}function b(y){return{totalTextChunk:O(y),subWordTextChunks:x(y)}}function M(y){if(y>=65&&y<=90)return!0;if(y<127||!e.isUnicodeIdentifierStart(y,99))return!1;var D=String.fromCharCode(y);return D===D.toUpperCase()}function S(y){if(y>=97&&y<=122)return!0;if(y<127||!e.isUnicodeIdentifierStart(y,99))return!1;var D=String.fromCharCode(y);return D===D.toLowerCase()}function B(y,D){for(var C=y.length-D.length,m=function(P){if(N(D,function(te,ue){return H(y.charCodeAt(ue+P))===te}))return{value:P}},u=0;u<=C;u++){var g=m(u);if(typeof g==\"object\")return g.value}return-1}function H(y){return y>=65&&y<=90?97+(y-65):y<127?y:String.fromCharCode(y).toLowerCase().charCodeAt(0)}function I(y){return y>=48&&y<=57}function w(y){return M(y)||S(y)||I(y)||y===95||y===36}function x(y){for(var D=[],C=0,m=0,u=0;u<y.length;u++){var g=y.charCodeAt(u);w(g)?(m===0&&(C=u),m++):m>0&&(D.push(O(y.substr(C,m))),m=0)}return m>0&&D.push(O(y.substr(C,m))),D}function O(y){var D=y.toLowerCase();return{text:y,textLowerCase:D,isLowerCase:y===D,characterSpans:q(y)}}function q(y){return ne(y,!1)}e.breakIntoCharacterSpans=q;function Z(y){return ne(y,!0)}e.breakIntoWordSpans=Z;function ne(y,D){for(var C=[],m=0,u=1;u<y.length;u++){var g=I(y.charCodeAt(u-1)),P=I(y.charCodeAt(u)),te=re(y,D,u),ue=D&&V(y,u,m);(F(y.charCodeAt(u-1))||F(y.charCodeAt(u))||g!==P||te||ue)&&(Q(y,m,u)||C.push(e.createTextSpan(m,u-m)),m=u)}return Q(y,m,y.length)||C.push(e.createTextSpan(m,y.length-m)),C}function F(y){switch(y){case 33:case 34:case 35:case 37:case 38:case 39:case 40:case 41:case 42:case 44:case 45:case 46:case 47:case 58:case 59:case 63:case 64:case 91:case 92:case 93:case 95:case 123:case 125:return!0}return!1}function Q(y,D,C){return N(y,function(m){return F(m)&&m!==95},D,C)}function V(y,D,C){return D!==C&&D+1<y.length&&M(y.charCodeAt(D))&&S(y.charCodeAt(D+1))&&N(y,M,C,D)}function re(y,D,C){var m=M(y.charCodeAt(C-1)),u=M(y.charCodeAt(C));return u&&(!D||!m)}function T(y,D,C){for(var m=y;m<D;m++)if(!C(m))return!1;return!0}function N(y,D,C,m){return C===void 0&&(C=0),m===void 0&&(m=y.length),T(C,m,function(u){return D(y.charCodeAt(u),u)})}}(jr||(jr={})),function(e){function n(f,p,a){p===void 0&&(p=!0),a===void 0&&(a=!1);var d={languageVersion:1,pragmas:void 0,checkJsDirective:void 0,referencedFiles:[],typeReferenceDirectives:[],libReferenceDirectives:[],amdDependencies:[],hasNoDefaultLib:void 0,moduleName:void 0},k=[],J,h,v,A=0,z=!1;function ie(){return h=v,v=e.scanner.scan(),v===18?A++:v===19&&A--,v}function b(){var T=e.scanner.getTokenValue(),N=e.scanner.getTokenPos();return{fileName:T,pos:N,end:N+T.length}}function M(){J||(J=[]),J.push({ref:b(),depth:A})}function S(){k.push(b()),B()}function B(){A===0&&(z=!0)}function H(){var T=e.scanner.getToken();return T===135?(T=ie(),T===141&&(T=ie(),T===10&&M()),!0):!1}function I(){if(h===24)return!1;var T=e.scanner.getToken();if(T===100){if(T=ie(),T===20){if(T=ie(),T===10||T===14)return S(),!0}else{if(T===10)return S(),!0;if(T===151){var N=e.scanner.lookAhead(function(){var y=e.scanner.scan();return y!==155&&(y===41||y===18||y===79||e.isKeyword(y))});N&&(T=ie())}if(T===79||e.isKeyword(T))if(T=ie(),T===155){if(T=ie(),T===10)return S(),!0}else if(T===63){if(x(!0))return!0}else if(T===27)T=ie();else return!0;if(T===18){for(T=ie();T!==19&&T!==1;)T=ie();T===19&&(T=ie(),T===155&&(T=ie(),T===10&&S()))}else T===41&&(T=ie(),T===127&&(T=ie(),(T===79||e.isKeyword(T))&&(T=ie(),T===155&&(T=ie(),T===10&&S()))))}return!0}return!1}function w(){var T=e.scanner.getToken();if(T===93){if(B(),T=ie(),T===151){var N=e.scanner.lookAhead(function(){var y=e.scanner.scan();return y===41||y===18});N&&(T=ie())}if(T===18){for(T=ie();T!==19&&T!==1;)T=ie();T===19&&(T=ie(),T===155&&(T=ie(),T===10&&S()))}else if(T===41)T=ie(),T===155&&(T=ie(),T===10&&S());else if(T===100){if(T=ie(),T===151){var N=e.scanner.lookAhead(function(){var D=e.scanner.scan();return D===79||e.isKeyword(D)});N&&(T=ie())}if((T===79||e.isKeyword(T))&&(T=ie(),T===63&&x(!0)))return!0}return!0}return!1}function x(T,N){N===void 0&&(N=!1);var y=T?ie():e.scanner.getToken();return y===145?(y=ie(),y===20&&(y=ie(),(y===10||N&&y===14)&&S()),!0):!1}function O(){var T=e.scanner.getToken();if(T===79&&e.scanner.getTokenValue()===\"define\"){if(T=ie(),T!==20)return!0;if(T=ie(),T===10||T===14)if(T=ie(),T===27)T=ie();else return!0;if(T!==22)return!0;for(T=ie();T!==23&&T!==1;)(T===10||T===14)&&S(),T=ie();return!0}return!1}function q(){for(e.scanner.setText(f),ie();e.scanner.getToken()!==1;)H()||I()||w()||a&&(x(!1,!0)||O())||ie();e.scanner.setText(void 0)}if(p&&q(),e.processCommentPragmas(d,f),e.processPragmasIntoFields(d,e.noop),z){if(J)for(var Z=0,ne=J;Z<ne.length;Z++){var F=ne[Z];k.push(F.ref)}return{referencedFiles:d.referencedFiles,typeReferenceDirectives:d.typeReferenceDirectives,libReferenceDirectives:d.libReferenceDirectives,importedFiles:k,isLibFile:!!d.hasNoDefaultLib,ambientExternalModules:void 0}}else{var Q=void 0;if(J)for(var V=0,re=J;V<re.length;V++){var F=re[V];F.depth===0?(Q||(Q=[]),Q.push(F.ref.fileName)):k.push(F.ref)}return{referencedFiles:d.referencedFiles,typeReferenceDirectives:d.typeReferenceDirectives,libReferenceDirectives:d.libReferenceDirectives,importedFiles:k,isLibFile:!!d.hasNoDefaultLib,ambientExternalModules:Q}}}e.preProcessFile=n}(jr||(jr={})),function(e){(function(n){function f(A,z,ie,b){var M=e.getAdjustedRenameLocation(e.getTouchingPropertyName(z,ie));if(v(M)){var S=p(M,A.getTypeChecker(),z,A,b);if(S)return S}return J(e.Diagnostics.You_cannot_rename_this_element)}n.getRenameInfo=f;function p(A,z,ie,b,M){var S=z.getSymbolAtLocation(A);if(!S){if(e.isStringLiteralLike(A)){var B=e.getContextualTypeFromParentOrAncestorTypeNode(A,z);if(B&&(B.flags&128||B.flags&1048576&&e.every(B.types,function(Z){return!!(Z.flags&128)})))return k(A.text,A.text,\"string\",\"\",A,ie)}else if(e.isLabelName(A)){var H=e.getTextOfNode(A);return k(H,H,\"label\",\"\",A,ie)}return}var I=S.declarations;if(!(!I||I.length===0)){if(I.some(function(Z){return a(b,Z)}))return J(e.Diagnostics.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library);if(!(e.isIdentifier(A)&&A.originalKeywordKind===88&&S.parent&&S.parent.flags&1536)){if(e.isStringLiteralLike(A)&&e.tryGetImportFromModuleSpecifier(A))return M&&M.allowRenameOfImportPath?d(A,ie,S):void 0;var w=e.SymbolDisplay.getSymbolKind(z,S,A),x=e.isImportOrExportSpecifierName(A)||e.isStringOrNumericLiteralLike(A)&&A.parent.kind===161?e.stripQuotes(e.getTextOfIdentifierOrLiteral(A)):void 0,O=x||z.symbolToString(S),q=x||z.getFullyQualifiedName(S);return k(O,q,w,e.SymbolDisplay.getSymbolModifiers(z,S),A,ie)}}}function a(A,z){var ie=z.getSourceFile();return A.isSourceFileDefaultLibrary(ie)&&e.fileExtensionIs(ie.fileName,\".d.ts\")}function d(A,z,ie){if(!e.isExternalModuleNameRelative(A.text))return J(e.Diagnostics.You_cannot_rename_a_module_via_a_global_import);var b=ie.declarations&&e.find(ie.declarations,e.isSourceFile);if(!!b){var M=e.endsWith(A.text,\"/index\")||e.endsWith(A.text,\"/index.js\")?void 0:e.tryRemoveSuffix(e.removeFileExtension(b.fileName),\"/index\"),S=M===void 0?b.fileName:M,B=M===void 0?\"module\":\"directory\",H=A.text.lastIndexOf(\"/\")+1,I=e.createTextSpan(A.getStart(z)+1+H,A.text.length-H);return{canRename:!0,fileToRename:S,kind:B,displayName:S,fullDisplayName:S,kindModifiers:\"\",triggerSpan:I}}}function k(A,z,ie,b,M,S){return{canRename:!0,fileToRename:void 0,kind:ie,displayName:A,fullDisplayName:z,kindModifiers:b,triggerSpan:h(M,S)}}function J(A){return{canRename:!1,localizedErrorMessage:e.getLocaleSpecificMessage(A)}}function h(A,z){var ie=A.getStart(z),b=A.getWidth(z);return e.isStringLiteralLike(A)&&(ie+=1,b-=2),e.createTextSpan(ie,b)}function v(A){switch(A.kind){case 79:case 80:case 10:case 14:case 108:return!0;case 8:return e.isLiteralNameOfPropertyDeclarationOrIndexAccess(A);default:return!1}}n.nodeIsEligibleForRename=v})(e.Rename||(e.Rename={}))}(jr||(jr={})),function(e){(function(n){function f(ie,b){var M,S={textSpan:e.createTextSpanFromBounds(b.getFullStart(),b.getEnd())},B=b;e:for(;;){var H=d(B);if(!H.length)break;for(var I=0;I<H.length;I++){var w=H[I-1],x=H[I],O=H[I+1];if(e.getTokenPosOfNode(x,b,!0)>ie)break e;var q=e.singleOrUndefined(e.getTrailingCommentRanges(b.text,x.end));if(q&&q.kind===2&&T(q.pos,q.end),p(b,ie,x)){if(e.isBlock(x)||e.isTemplateSpan(x)||e.isTemplateHead(x)||e.isTemplateTail(x)||w&&e.isTemplateHead(w)||e.isVariableDeclarationList(x)&&e.isVariableStatement(B)||e.isSyntaxList(x)&&e.isVariableDeclarationList(B)||e.isVariableDeclaration(x)&&e.isSyntaxList(B)&&H.length===1||e.isJSDocTypeExpression(x)||e.isJSDocSignature(x)||e.isJSDocTypeLiteral(x)){B=x;break}if(e.isTemplateSpan(B)&&O&&e.isTemplateMiddleOrTemplateTail(O)){var Z=x.getFullStart()-2,ne=O.getStart()+1;re(Z,ne)}var F=e.isSyntaxList(x)&&v(w)&&A(O)&&!e.positionsAreOnSameLine(w.getStart(),O.getStart(),b),Q=F?w.getEnd():x.getStart(),V=F?O.getStart():z(b,x);e.hasJSDocNodes(x)&&((M=x.jsDoc)===null||M===void 0?void 0:M.length)&&re(e.first(x.jsDoc).getStart(),V),re(Q,V),(e.isStringLiteral(x)||e.isTemplateLiteral(x))&&re(Q+1,V-1),B=x;break}if(I===H.length-1)break e}}return S;function re(N,y){if(N!==y){var D=e.createTextSpanFromBounds(N,y);(!S||!e.textSpansEqual(D,S.textSpan)&&e.textSpanIntersectsWithPosition(D,ie))&&(S=Rn({textSpan:D},S&&{parent:S}))}}function T(N,y){re(N,y);for(var D=N;b.text.charCodeAt(D)===47;)D++;re(D,y)}}n.getSmartSelectionRange=f;function p(ie,b,M){if(e.Debug.assert(M.pos<=b),b<M.end)return!0;var S=M.getEnd();return S===b?e.getTouchingPropertyName(ie,b).pos<M.end:!1}var a=e.or(e.isImportDeclaration,e.isImportEqualsDeclaration);function d(ie){if(e.isSourceFile(ie))return k(ie.getChildAt(0).getChildren(),a);if(e.isMappedTypeNode(ie)){var b=ie.getChildren(),M=b[0],S=b.slice(1),B=e.Debug.checkDefined(S.pop());e.Debug.assertEqual(M.kind,18),e.Debug.assertEqual(B.kind,19);var H=k(S,function(O){return O===ie.readonlyToken||O.kind===144||O===ie.questionToken||O.kind===57}),I=k(H,function(O){var q=O.kind;return q===22||q===162||q===23});return[M,h(J(I,function(O){var q=O.kind;return q===58})),B]}if(e.isPropertySignature(ie)){var S=k(ie.getChildren(),function(q){return q===ie.name||e.contains(ie.modifiers,q)});return J(S,function(q){var Z=q.kind;return Z===58})}if(e.isParameter(ie)){var w=k(ie.getChildren(),function(O){return O===ie.dotDotDotToken||O===ie.name}),x=k(w,function(O){return O===w[0]||O===ie.questionToken});return J(x,function(O){var q=O.kind;return q===63})}return e.isBindingElement(ie)?J(ie.getChildren(),function(O){var q=O.kind;return q===63}):ie.getChildren()}function k(ie,b){for(var M=[],S,B=0,H=ie;B<H.length;B++){var I=H[B];b(I)?(S=S||[],S.push(I)):(S&&(M.push(h(S)),S=void 0),M.push(I))}return S&&M.push(h(S)),M}function J(ie,b,M){if(M===void 0&&(M=!0),ie.length<2)return ie;var S=e.findIndex(ie,b);if(S===-1)return ie;var B=ie.slice(0,S),H=ie[S],I=e.last(ie),w=M&&I.kind===26,x=ie.slice(S+1,w?ie.length-1:void 0),O=e.compact([B.length?h(B):void 0,H,x.length?h(x):void 0]);return w?O.concat(I):O}function h(ie){return e.Debug.assertGreaterThanOrEqual(ie.length,1),e.setTextRangePosEnd(e.parseNodeFactory.createSyntaxList(ie),ie[0].pos,e.last(ie).end)}function v(ie){var b=ie&&ie.kind;return b===18||b===22||b===20||b===279}function A(ie){var b=ie&&ie.kind;return b===19||b===23||b===21||b===280}function z(ie,b){switch(b.kind){case 338:case 336:case 345:case 343:case 340:return ie.getLineEndOfPosition(b.getStart());default:return b.getEnd()}}})(e.SmartSelectionRange||(e.SmartSelectionRange={}))}(jr||(jr={})),function(e){(function(n){var f;(function(X){X[X.Call=0]=\"Call\",X[X.TypeArgs=1]=\"TypeArgs\",X[X.Contextual=2]=\"Contextual\"})(f||(f={}));function p(X,j,Se,Ce,R){var Y=X.getTypeChecker(),U=e.findTokenOnLeftOfPosition(j,Se);if(!!U){var K=!!Ce&&Ce.kind===\"characterTyped\";if(!(K&&(e.isInString(j,Se,U)||e.isInComment(j,Se)))){var Te=!!Ce&&Ce.kind===\"invoked\",ge=F(U,Se,j,Y,Te);if(!!ge){R.throwIfCancellationRequested();var ke=d(ge,Y,j,U,K);return R.throwIfCancellationRequested(),ke?Y.runWithCancellationToken(R,function(Pe){return ke.kind===0?N(ke.candidates,ke.resolvedSignature,ge,j,Pe):y(ke.symbol,ge,j,Pe)}):e.isSourceFileJS(j)?J(ge,X,R):void 0}}}}n.getSignatureHelpItems=p;var a;(function(X){X[X.Candidate=0]=\"Candidate\",X[X.Type=1]=\"Type\"})(a||(a={}));function d(X,j,Se,Ce,R){var Y=X.invocation,U=X.argumentCount;switch(Y.kind){case 0:{if(R&&!k(Ce,Y.node,Se))return;var K=[],Te=j.getResolvedSignatureForSignatureHelp(Y.node,K,U);return K.length===0?void 0:{kind:0,candidates:K,resolvedSignature:Te}}case 1:{var ge=Y.called;if(R&&!h(Ce,Se,e.isIdentifier(ge)?ge.parent:ge))return;var K=e.getPossibleGenericSignatures(ge,U,j);if(K.length!==0)return{kind:0,candidates:K,resolvedSignature:e.first(K)};var ke=j.getSymbolAtLocation(ge);return ke&&{kind:1,symbol:ke}}case 2:return{kind:0,candidates:[Y.signature],resolvedSignature:Y.signature};default:return e.Debug.assertNever(Y)}}function k(X,j,Se){if(!e.isCallOrNewExpression(j))return!1;var Ce=j.getChildren(Se);switch(X.kind){case 20:return e.contains(Ce,X);case 27:{var R=e.findContainingList(X);return!!R&&e.contains(Ce,R)}case 29:return h(X,Se,j.expression);default:return!1}}function J(X,j,Se){if(X.invocation.kind!==2){var Ce=V(X.invocation),R=e.isPropertyAccessExpression(Ce)?Ce.name.text:void 0,Y=j.getTypeChecker();return R===void 0?void 0:e.firstDefined(j.getSourceFiles(),function(U){return e.firstDefined(U.getNamedDeclarations().get(R),function(K){var Te=K.symbol&&Y.getTypeOfSymbolAtLocation(K.symbol,K),ge=Te&&Te.getCallSignatures();if(ge&&ge.length)return Y.runWithCancellationToken(Se,function(ke){return N(ge,ge[0],X,U,ke,!0)})})})}}function h(X,j,Se){for(var Ce=X.getFullStart(),R=X.parent;R;){var Y=e.findPrecedingToken(Ce,j,R,!0);if(Y)return e.rangeContainsRange(Se,Y);R=R.parent}return e.Debug.fail(\"Could not find preceding token\")}function v(X,j,Se){var Ce=ie(X,j,Se);return!Ce||Ce.isTypeParameterList||Ce.invocation.kind!==0?void 0:{invocation:Ce.invocation.node,argumentCount:Ce.argumentCount,argumentIndex:Ce.argumentIndex}}n.getArgumentInfoForCompletions=v;function A(X,j){var Se=z(X,j);if(!!Se){var Ce=Se.list,R=Se.argumentIndex,Y=x(Ce);R!==0&&e.Debug.assertLessThan(R,Y);var U=Z(Ce,j);return{list:Ce,argumentIndex:R,argumentCount:Y,argumentsSpan:U}}}function z(X,j){if(X.kind===29||X.kind===20)return{list:Q(X.parent,X,j),argumentIndex:0};var Se=e.findContainingList(X);return Se&&{list:Se,argumentIndex:w(Se,X)}}function ie(X,j,Se){var Ce=X.parent;if(e.isCallOrNewExpression(Ce)){var R=Ce,Y=A(X,Se);if(!Y)return;var U=Y.list,K=Y.argumentIndex,Te=Y.argumentCount,ge=Y.argumentsSpan,ke=!!Ce.typeArguments&&Ce.typeArguments.pos===U.pos;return{isTypeParameterList:ke,invocation:{kind:0,node:R},argumentsSpan:ge,argumentIndex:K,argumentCount:Te}}else{if(e.isNoSubstitutionTemplateLiteral(X)&&e.isTaggedTemplateExpression(Ce))return e.isInsideTemplateLiteral(X,j,Se)?q(Ce,0,Se):void 0;if(e.isTemplateHead(X)&&Ce.parent.kind===209){var Pe=Ce,Ie=Pe.parent;e.Debug.assert(Pe.kind===222);var K=e.isInsideTemplateLiteral(X,j,Se)?0:1;return q(Ie,K,Se)}else if(e.isTemplateSpan(Ce)&&e.isTaggedTemplateExpression(Ce.parent.parent)){var Ge=Ce,Ie=Ce.parent.parent;if(e.isTemplateTail(X)&&!e.isInsideTemplateLiteral(X,j,Se))return;var he=Ge.parent.templateSpans.indexOf(Ge),K=O(he,X,j,Se);return q(Ie,K,Se)}else if(e.isJsxOpeningLikeElement(Ce)){var ve=Ce.attributes.pos,Ve=e.skipTrivia(Se.text,Ce.attributes.end,!1);return{isTypeParameterList:!1,invocation:{kind:0,node:Ce},argumentsSpan:e.createTextSpan(ve,Ve-ve),argumentIndex:0,argumentCount:1}}else{var _e=e.getPossibleTypeArgumentsInfo(X,Se);if(_e){var Le=_e.called,qe=_e.nTypeArguments,R={kind:1,called:Le},ge=e.createTextSpanFromBounds(Le.getStart(Se),X.end);return{isTypeParameterList:!0,invocation:R,argumentsSpan:ge,argumentIndex:qe,argumentCount:qe+1}}return}}}function b(X,j,Se,Ce){return B(X,j,Se,Ce)||ie(X,j,Se)}function M(X){return e.isBinaryExpression(X.parent)?M(X.parent):X}function S(X){return e.isBinaryExpression(X.left)?S(X.left)+1:2}function B(X,j,Se,Ce){var R=H(X,Se,Ce);if(!!R){var Y=R.contextualType,U=R.argumentIndex,K=R.argumentCount,Te=R.argumentsSpan,ge=Y.getNonNullableType(),ke=ge.getCallSignatures();if(ke.length===1){var Pe={kind:2,signature:e.first(ke),node:X,symbol:I(ge.symbol)};return{isTypeParameterList:!1,invocation:Pe,argumentsSpan:Te,argumentIndex:U,argumentCount:K}}}}function H(X,j,Se){if(!(X.kind!==20&&X.kind!==27)){var Ce=X.parent;switch(Ce.kind){case 211:case 168:case 212:case 213:var R=A(X,j);if(!R)return;var Y=R.argumentIndex,U=R.argumentCount,K=R.argumentsSpan,Te=e.isMethodDeclaration(Ce)?Se.getContextualTypeForObjectLiteralElement(Ce):Se.getContextualType(Ce);return Te&&{contextualType:Te,argumentIndex:Y,argumentCount:U,argumentsSpan:K};case 220:{var ge=M(Ce),ke=Se.getContextualType(ge),Pe=X.kind===20?0:S(Ce)-1,Ie=S(ge);return ke&&{contextualType:ke,argumentIndex:Pe,argumentCount:Ie,argumentsSpan:e.createTextSpanFromNode(Ce)}}default:return}}}function I(X){return X.name===\"__type\"&&e.firstDefined(X.declarations,function(j){return e.isFunctionTypeNode(j)?j.parent.symbol:void 0})||X}function w(X,j){for(var Se=0,Ce=0,R=X.getChildren();Ce<R.length;Ce++){var Y=R[Ce];if(Y===j)break;Y.kind!==27&&Se++}return Se}function x(X){var j=X.getChildren(),Se=e.countWhere(j,function(Ce){return Ce.kind!==27});return j.length>0&&e.last(j).kind===27&&Se++,Se}function O(X,j,Se,Ce){return e.Debug.assert(Se>=j.getStart(),\"Assumed 'position' could not occur before node.\"),e.isTemplateLiteralToken(j)?e.isInsideTemplateLiteral(j,Se,Ce)?0:X+2:X+1}function q(X,j,Se){var Ce=e.isNoSubstitutionTemplateLiteral(X.template)?1:X.template.templateSpans.length+1;return j!==0&&e.Debug.assertLessThan(j,Ce),{isTypeParameterList:!1,invocation:{kind:0,node:X},argumentsSpan:ne(X,Se),argumentIndex:j,argumentCount:Ce}}function Z(X,j){var Se=X.getFullStart(),Ce=e.skipTrivia(j.text,X.getEnd(),!1);return e.createTextSpan(Se,Ce-Se)}function ne(X,j){var Se=X.template,Ce=Se.getStart(),R=Se.getEnd();if(Se.kind===222){var Y=e.last(Se.templateSpans);Y.literal.getFullWidth()===0&&(R=e.skipTrivia(j.text,R,!1))}return e.createTextSpan(Ce,R-Ce)}function F(X,j,Se,Ce,R){for(var Y=function(Te){e.Debug.assert(e.rangeContainsRange(Te.parent,Te),\"Not a subspan\",function(){return\"Child: \".concat(e.Debug.formatSyntaxKind(Te.kind),\", parent: \").concat(e.Debug.formatSyntaxKind(Te.parent.kind))});var ge=b(Te,j,Se,Ce);if(ge)return{value:ge}},U=X;!e.isSourceFile(U)&&(R||!e.isBlock(U));U=U.parent){var K=Y(U);if(typeof K==\"object\")return K.value}}function Q(X,j,Se){var Ce=X.getChildren(Se),R=Ce.indexOf(j);return e.Debug.assert(R>=0&&Ce.length>R+1),Ce[R+1]}function V(X){return X.kind===0?e.getInvokedExpression(X.node):X.called}function re(X){return X.kind===0?X.node:X.kind===1?X.called:X.node}var T=70246400;function N(X,j,Se,Ce,R,Y){var U,K=Se.isTypeParameterList,Te=Se.argumentCount,ge=Se.argumentsSpan,ke=Se.invocation,Pe=Se.argumentIndex,Ie=re(ke),Ge=ke.kind===2?ke.symbol:R.getSymbolAtLocation(V(ke))||Y&&((U=j.declaration)===null||U===void 0?void 0:U.symbol),he=Ge?e.symbolToDisplayParts(R,Ge,Y?Ce:void 0,void 0):e.emptyArray,ve=e.map(X,function(Ar){return m(Ar,he,K,R,Ie,Ce)});Pe!==0&&e.Debug.assertLessThan(Pe,Te);for(var Ve=0,_e=0,Le=0;Le<ve.length;Le++){var qe=ve[Le];if(X[Le]===j&&(Ve=_e,qe.length>1))for(var Xe=0,De=0,Ae=qe;De<Ae.length;De++){var Ye=Ae[De];if(Ye.isVariadic||Ye.parameters.length>=Te){Ve=_e+Xe;break}Xe++}_e+=qe.length}e.Debug.assert(Ve!==-1);var Dr={items:e.flatMapToMutable(ve,e.identity),applicableSpan:ge,selectedItemIndex:Ve,argumentIndex:Pe,argumentCount:Te},br=Dr.items[Ve];if(br.isVariadic){var lr=e.findIndex(br.parameters,function(Ar){return!!Ar.isRest});-1<lr&&lr<br.parameters.length-1?Dr.argumentIndex=br.parameters.length:Dr.argumentIndex=Math.min(Dr.argumentIndex,br.parameters.length-1)}return Dr}function y(X,j,Se,Ce){var R=j.argumentCount,Y=j.argumentsSpan,U=j.invocation,K=j.argumentIndex,Te=Ce.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(X);if(!!Te){var ge=[D(X,Te,Ce,re(U),Se)];return{items:ge,applicableSpan:Y,selectedItemIndex:0,argumentIndex:K,argumentCount:R}}}function D(X,j,Se,Ce,R){var Y=e.symbolToDisplayParts(Se,X),U=e.createPrinter({removeComments:!0}),K=j.map(function(Pe){return ue(Pe,Se,Ce,R,U)}),Te=X.getDocumentationComment(Se),ge=X.getJsDocTags(Se),ke=Gt(Gt([],Y,!0),[e.punctuationPart(29)],!1);return{isVariadic:!1,prefixDisplayParts:ke,suffixDisplayParts:[e.punctuationPart(31)],separatorDisplayParts:C,parameters:K,documentation:Te,tags:ge}}var C=[e.punctuationPart(27),e.spacePart()];function m(X,j,Se,Ce,R,Y){var U=(Se?g:P)(X,Ce,R,Y);return e.map(U,function(K){var Te=K.isVariadic,ge=K.parameters,ke=K.prefix,Pe=K.suffix,Ie=Gt(Gt([],j,!0),ke,!0),Ge=Gt(Gt([],Pe,!0),u(X,R,Ce),!0),he=X.getDocumentationComment(Ce),ve=X.getJsDocTags();return{isVariadic:Te,prefixDisplayParts:Ie,suffixDisplayParts:Ge,separatorDisplayParts:C,parameters:ge,documentation:he,tags:ve}})}function u(X,j,Se){return e.mapToDisplayParts(function(Ce){Ce.writePunctuation(\":\"),Ce.writeSpace(\" \");var R=Se.getTypePredicateOfSignature(X);R?Se.writeTypePredicate(R,j,void 0,Ce):Se.writeType(Se.getReturnTypeOfSignature(X),j,void 0,Ce)})}function g(X,j,Se,Ce){var R=(X.target||X).typeParameters,Y=e.createPrinter({removeComments:!0}),U=(R||e.emptyArray).map(function(Te){return ue(Te,j,Se,Ce,Y)}),K=X.thisParameter?[j.symbolToParameterDeclaration(X.thisParameter,Se,T)]:[];return j.getExpandedParameters(X).map(function(Te){var ge=e.factory.createNodeArray(Gt(Gt([],K,!0),e.map(Te,function(Pe){return j.symbolToParameterDeclaration(Pe,Se,T)}),!0)),ke=e.mapToDisplayParts(function(Pe){Y.writeList(2576,ge,Ce,Pe)});return{isVariadic:!1,parameters:U,prefix:[e.punctuationPart(29)],suffix:Gt([e.punctuationPart(31)],ke,!0)}})}function P(X,j,Se,Ce){var R=e.createPrinter({removeComments:!0}),Y=e.mapToDisplayParts(function(Te){if(X.typeParameters&&X.typeParameters.length){var ge=e.factory.createNodeArray(X.typeParameters.map(function(ke){return j.typeParameterToDeclaration(ke,Se,T)}));R.writeList(53776,ge,Ce,Te)}}),U=j.getExpandedParameters(X),K=j.hasEffectiveRestParameter(X)?U.length===1?function(Te){return!0}:function(Te){return!!(Te.length&&Te[Te.length-1].checkFlags&32768)}:function(Te){return!1};return U.map(function(Te){return{isVariadic:K(Te),parameters:Te.map(function(ge){return te(ge,j,Se,Ce,R)}),prefix:Gt(Gt([],Y,!0),[e.punctuationPart(20)],!1),suffix:[e.punctuationPart(21)]}})}function te(X,j,Se,Ce,R){var Y=e.mapToDisplayParts(function(Te){var ge=j.symbolToParameterDeclaration(X,Se,T);R.writeNode(4,ge,Ce,Te)}),U=j.isOptionalParameter(X.valueDeclaration),K=!!(X.checkFlags&32768);return{name:X.name,documentation:X.getDocumentationComment(j),displayParts:Y,isOptional:U,isRest:K}}function ue(X,j,Se,Ce,R){var Y=e.mapToDisplayParts(function(U){var K=j.typeParameterToDeclaration(X,Se,T);R.writeNode(4,K,Ce,U)});return{name:X.symbol.name,documentation:X.symbol.getDocumentationComment(j),displayParts:Y,isOptional:!1,isRest:!1}}})(e.SignatureHelp||(e.SignatureHelp={}))}(jr||(jr={})),function(e){(function(n){var f=30,p=function(J){return new RegExp(\"^\\\\s?/\\\\*\\\\*?\\\\s?\".concat(J,\"\\\\s?\\\\*\\\\/\\\\s?$\"))};function a(J){return J.includeInlayParameterNameHints===\"literals\"||J.includeInlayParameterNameHints===\"all\"}function d(J){return J.includeInlayParameterNameHints===\"literals\"}function k(J){var h=J.file,v=J.program,A=J.span,z=J.cancellationToken,ie=J.preferences,b=h.text,M=v.getCompilerOptions(),S=v.getTypeChecker(),B=[];return H(h),B;function H(g){if(!(!g||g.getFullWidth()===0)){switch(g.kind){case 260:case 256:case 257:case 255:case 225:case 212:case 168:case 213:z.throwIfCancellationRequested()}if(!!e.textSpanIntersectsWith(A,g.pos,g.getFullWidth())&&!e.isTypeNode(g))return ie.includeInlayVariableTypeHints&&e.isVariableDeclaration(g)||ie.includeInlayPropertyDeclarationTypeHints&&e.isPropertyDeclaration(g)?ne(g):ie.includeInlayEnumMemberValueHints&&e.isEnumMember(g)?q(g):a(ie)&&(e.isCallExpression(g)||e.isNewExpression(g))?F(g):(ie.includeInlayFunctionParameterTypeHints&&e.isFunctionLikeDeclaration(g)&&e.hasContextSensitiveParameters(g)&&y(g),ie.includeInlayFunctionLikeReturnTypeHints&&I(g)&&T(g)),e.forEachChild(g,H)}}function I(g){return e.isArrowFunction(g)||e.isFunctionExpression(g)||e.isFunctionDeclaration(g)||e.isMethodDeclaration(g)||e.isGetAccessorDeclaration(g)}function w(g,P,te){B.push({text:\"\".concat(te?\"...\":\"\").concat(C(g,f),\":\"),position:P,kind:\"Parameter\",whitespaceAfter:!0})}function x(g,P){B.push({text:\": \".concat(C(g,f)),position:P,kind:\"Type\",whitespaceBefore:!0})}function O(g,P){B.push({text:\"= \".concat(C(g,f)),position:P,kind:\"Enum\",whitespaceBefore:!0})}function q(g){if(!g.initializer){var P=S.getConstantValue(g);P!==void 0&&O(P.toString(),g.end)}}function Z(g){return g.symbol&&g.symbol.flags&1536}function ne(g){if(!(!g.initializer||e.isBindingPattern(g.name))){var P=e.getEffectiveTypeAnnotationNode(g);if(!P){var te=S.getTypeAtLocation(g);if(!Z(te)){var ue=m(te);ue&&x(ue,g.name.end)}}}}function F(g){var P=g.arguments;if(!(!P||!P.length)){var te=[],ue=S.getResolvedSignatureForSignatureHelp(g,te);if(!(!ue||!te.length))for(var X=0;X<P.length;++X){var j=P[X],Se=e.skipParentheses(j);if(!(d(ie)&&!re(Se))){var Ce=S.getParameterIdentifierNameAtPosition(ue,X);if(Ce){var R=Ce[0],Y=Ce[1],U=ie.includeInlayParameterNameHintsWhenArgumentMatchesName||!Q(Se,R);if(!U&&!Y)continue;var K=e.unescapeLeadingUnderscores(R);if(V(Se,K))continue;w(K,j.getStart(),Y)}}}}}function Q(g,P){return e.isIdentifier(g)?g.text===P:e.isPropertyAccessExpression(g)?g.name.text===P:!1}function V(g,P){if(!e.isIdentifierText(P,M.target,e.getLanguageVariant(h.scriptKind)))return!1;var te=e.getLeadingCommentRanges(b,g.pos);if(!(te!=null&&te.length))return!1;var ue=p(P);return e.some(te,function(X){return ue.test(b.substring(X.pos,X.end))})}function re(g){switch(g.kind){case 218:{var P=g.operand;return e.isLiteralExpression(P)||e.isIdentifier(P)&&e.isInfinityOrNaNString(P.escapedText)}case 110:case 95:case 104:case 14:case 222:return!0;case 79:{var te=g.escapedText;return u(te)||e.isInfinityOrNaNString(te)}}return e.isLiteralExpression(g)}function T(g){if(!(e.isArrowFunction(g)&&!e.findChildOfKind(g,20,h))){var P=e.getEffectiveReturnTypeNode(g);if(!(P||!g.body)){var te=S.getSignatureFromDeclaration(g);if(!!te){var ue=S.getReturnTypeOfSignature(te);if(!Z(ue)){var X=m(ue);!X||x(X,N(g))}}}}}function N(g){var P=e.findChildOfKind(g,21,h);return P?P.end:g.parameters.end}function y(g){var P=S.getSignatureFromDeclaration(g);if(!!P)for(var te=0;te<g.parameters.length&&te<P.parameters.length;++te){var ue=g.parameters[te],X=e.getEffectiveTypeAnnotationNode(ue);if(!X){var j=D(P.parameters[te]);!j||x(j,ue.name.end)}}}function D(g){var P=g.valueDeclaration;if(!(!P||!e.isParameter(P))){var te=S.getTypeOfSymbolAtLocation(g,P);if(!Z(te))return m(te)}}function C(g,P){return g.length>P?g.substr(0,P-3)+\"...\":g}function m(g){var P=71286784,te={removeComments:!0},ue=e.createPrinter(te);return e.usingSingleLineStringWriter(function(X){var j=S.typeToTypeNode(g,void 0,P,X);e.Debug.assertIsDefined(j,\"should always get typenode\"),ue.writeNode(4,j,h,X)})}function u(g){return g===\"undefined\"}}n.provideInlayHints=k})(e.InlayHints||(e.InlayHints={}))}(jr||(jr={})),function(e){var n=/^data:(?:application\\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\\/=]+)$)?/;function f(k){var J=e.createGetCanonicalFileName(k.useCaseSensitiveFileNames()),h=k.getCurrentDirectory(),v=new e.Map,A=new e.Map;return{tryGetSourcePosition:b,tryGetGeneratedPosition:M,toLineColumnOffset:I,clearCache:w};function z(x){return e.toPath(x,h,J)}function ie(x,O){var q=z(x),Z=A.get(q);if(Z)return Z;var ne;if(k.getDocumentPositionMapper)ne=k.getDocumentPositionMapper(x,O);else if(k.readFile){var F=H(x);ne=F&&e.getDocumentPositionMapper({getSourceFileLike:H,getCanonicalFileName:J,log:function(Q){return k.log(Q)}},x,e.getLineInfo(F.text,e.getLineStarts(F)),function(Q){return!k.fileExists||k.fileExists(Q)?k.readFile(Q):void 0})}return A.set(q,ne||e.identitySourceMapConsumer),ne||e.identitySourceMapConsumer}function b(x){if(!!e.isDeclarationFileName(x.fileName)){var O=S(x.fileName);if(!!O){var q=ie(x.fileName).getSourcePosition(x);return!q||q===x?void 0:b(q)||q}}}function M(x){if(!e.isDeclarationFileName(x.fileName)){var O=S(x.fileName);if(!!O){var q=k.getProgram();if(!q.isSourceOfProjectReferenceRedirect(O.fileName)){var Z=q.getCompilerOptions(),ne=e.outFile(Z),F=ne?e.removeFileExtension(ne)+\".d.ts\":e.getDeclarationEmitOutputFilePathWorker(x.fileName,q.getCompilerOptions(),h,q.getCommonSourceDirectory(),J);if(F!==void 0){var Q=ie(F,x.fileName).getGeneratedPosition(x);return Q===x?void 0:Q}}}}}function S(x){var O=k.getProgram();if(!!O){var q=z(x),Z=O.getSourceFileByPath(q);return Z&&Z.resolvedPath===q?Z:void 0}}function B(x){var O=z(x),q=v.get(O);if(q!==void 0)return q||void 0;if(!k.readFile||k.fileExists&&!k.fileExists(O)){v.set(O,!1);return}var Z=k.readFile(O),ne=Z?d(Z):!1;return v.set(O,ne),ne||void 0}function H(x){return k.getSourceFileLike?k.getSourceFileLike(x):S(x)||B(x)}function I(x,O){var q=H(x);return q.getLineAndCharacterOfPosition(O)}function w(){v.clear(),A.clear()}}e.getSourceMapper=f;function p(k,J,h,v){var A=e.tryGetSourceMappingURL(h);if(A){var z=n.exec(A);if(z){if(z[1]){var ie=z[1];return a(k,e.base64decode(e.sys,ie),J)}A=void 0}}var b=[];A&&b.push(A),b.push(J+\".map\");for(var M=A&&e.getNormalizedAbsolutePath(A,e.getDirectoryPath(J)),S=0,B=b;S<B.length;S++){var H=B[S],I=e.getNormalizedAbsolutePath(H,e.getDirectoryPath(J)),w=v(I,M);if(e.isString(w))return a(k,w,I);if(w!==void 0)return w||void 0}}e.getDocumentPositionMapper=p;function a(k,J,h){var v=e.tryParseRawSourceMap(J);if(!(!v||!v.sources||!v.file||!v.mappings)&&!(v.sourcesContent&&v.sourcesContent.some(e.isString)))return e.createDocumentPositionMapper(k,v,h)}function d(k,J){return{text:k,lineMap:J,getLineAndCharacterOfPosition:function(h){return e.computeLineAndCharacterOfPosition(e.getLineStarts(this),h)}}}}(jr||(jr={})),function(e){var n=new e.Map;function f(w,x,O){x.getSemanticDiagnostics(w,O);var q=[],Z=x.getTypeChecker(),ne=w.impliedNodeFormat===e.ModuleKind.CommonJS||e.fileExtensionIsOneOf(w.fileName,[\".cts\",\".cjs\"]);!ne&&w.commonJsModuleIndicator&&(e.programContainsEsModules(x)||e.compilerOptionsIndicateEsModules(x.getCompilerOptions()))&&p(w)&&q.push(e.createDiagnosticForNode(v(w.commonJsModuleIndicator),e.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module));var F=e.isSourceFileJS(w);if(n.clear(),C(w),e.getAllowSyntheticDefaultImports(x.getCompilerOptions()))for(var Q=0,V=w.imports;Q<V.length;Q++){var re=V[Q],T=e.importFromModuleSpecifier(re),N=d(T);if(!!N){var y=e.getResolvedModule(w,re.text,e.getModeForUsageLocation(w,re)),D=y&&x.getSourceFile(y.resolvedFileName);D&&D.externalModuleIndicator&&e.isExportAssignment(D.externalModuleIndicator)&&D.externalModuleIndicator.isExportEquals&&q.push(e.createDiagnosticForNode(N,e.Diagnostics.Import_may_be_converted_to_a_default_import))}}return e.addRange(q,w.bindSuggestionDiagnostics),e.addRange(q,x.getSuggestionDiagnostics(w,O)),q.sort(function(m,u){return m.start-u.start});function C(m){if(F)H(m,Z)&&q.push(e.createDiagnosticForNode(e.isVariableDeclaration(m.parent)?m.parent.name:m,e.Diagnostics.This_constructor_function_may_be_converted_to_a_class_declaration));else{if(e.isVariableStatement(m)&&m.parent===w&&m.declarationList.flags&2&&m.declarationList.declarations.length===1){var u=m.declarationList.declarations[0].initializer;u&&e.isRequireCall(u,!0)&&q.push(e.createDiagnosticForNode(u,e.Diagnostics.require_call_may_be_converted_to_an_import))}e.codefix.parameterShouldGetTypeFromJSDoc(m)&&q.push(e.createDiagnosticForNode(m.name||m,e.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types))}I(m)&&k(m,Z,q),m.forEachChild(C)}}e.computeSuggestionDiagnostics=f;function p(w){return w.statements.some(function(x){switch(x.kind){case 236:return x.declarationList.declarations.some(function(Z){return!!Z.initializer&&e.isRequireCall(a(Z.initializer),!0)});case 237:{var O=x.expression;if(!e.isBinaryExpression(O))return e.isRequireCall(O,!0);var q=e.getAssignmentDeclarationKind(O);return q===1||q===2}default:return!1}})}function a(w){return e.isPropertyAccessExpression(w)?a(w.expression):w}function d(w){switch(w.kind){case 265:var x=w.importClause,O=w.moduleSpecifier;return x&&!x.name&&x.namedBindings&&x.namedBindings.kind===267&&e.isStringLiteral(O)?x.namedBindings.name:void 0;case 264:return w.name;default:return}}function k(w,x,O){J(w,x)&&!n.has(B(w))&&O.push(e.createDiagnosticForNode(!w.name&&e.isVariableDeclaration(w.parent)&&e.isIdentifier(w.parent.name)?w.parent.name:w,e.Diagnostics.This_may_be_converted_to_an_async_function))}function J(w,x){return!e.isAsyncFunction(w)&&w.body&&e.isBlock(w.body)&&A(w.body,x)&&h(w,x)}function h(w,x){var O=x.getSignatureFromDeclaration(w),q=O?x.getReturnTypeOfSignature(O):void 0;return!!q&&!!x.getPromisedTypeOfPromise(q)}e.returnsPromise=h;function v(w){return e.isBinaryExpression(w)?w.left:w}function A(w,x){return!!e.forEachReturnStatement(w,function(O){return z(O,x)})}function z(w,x){return e.isReturnStatement(w)&&!!w.expression&&ie(w.expression,x)}e.isReturnStatementWithFixablePromiseHandler=z;function ie(w,x){if(!b(w)||!M(w)||!w.arguments.every(function(q){return S(q,x)}))return!1;for(var O=w.expression.expression;b(O)||e.isPropertyAccessExpression(O);)if(e.isCallExpression(O)){if(!M(O)||!O.arguments.every(function(q){return S(q,x)}))return!1;O=O.expression.expression}else O=O.expression;return!0}e.isFixablePromiseHandler=ie;function b(w){return e.isCallExpression(w)&&(e.hasPropertyAccessExpressionWithName(w,\"then\")||e.hasPropertyAccessExpressionWithName(w,\"catch\")||e.hasPropertyAccessExpressionWithName(w,\"finally\"))}function M(w){var x=w.expression.name.text,O=x===\"then\"?2:x===\"catch\"||x===\"finally\"?1:0;return w.arguments.length>O?!1:w.arguments.length<O?!0:O===1||e.some(w.arguments,function(q){return q.kind===104||e.isIdentifier(q)&&q.text===\"undefined\"})}function S(w,x){switch(w.kind){case 255:case 212:var O=e.getFunctionFlags(w);if(O&1)return!1;case 213:n.set(B(w),!0);case 104:return!0;case 79:case 205:{var q=x.getSymbolAtLocation(w);return q?x.isUndefinedSymbol(q)||e.some(e.skipAlias(q,x).declarations,function(Z){return e.isFunctionLike(Z)||e.hasInitializer(Z)&&!!Z.initializer&&e.isFunctionLike(Z.initializer)}):!1}default:return!1}}function B(w){return\"\".concat(w.pos.toString(),\":\").concat(w.end.toString())}function H(w,x){var O,q,Z,ne;if(w.kind===212){if(e.isVariableDeclaration(w.parent)&&((O=w.symbol.members)===null||O===void 0?void 0:O.size))return!0;var F=x.getSymbolOfExpando(w,!1);return!!(F&&(((q=F.exports)===null||q===void 0?void 0:q.size)||((Z=F.members)===null||Z===void 0?void 0:Z.size)))}return w.kind===255?!!(!((ne=w.symbol.members)===null||ne===void 0)&&ne.size):!1}function I(w){switch(w.kind){case 255:case 168:case 212:case 213:return!0;default:return!1}}e.canBeConvertedToAsync=I}(jr||(jr={})),function(e){(function(n){var f=70246400;function p(v,A,z){var ie=a(v,A,z);if(ie!==\"\")return ie;var b=e.getCombinedLocalAndExportSymbolFlags(A);return b&32?e.getDeclarationOfKind(A,225)?\"local class\":\"class\":b&384?\"enum\":b&524288?\"type\":b&64?\"interface\":b&262144?\"type parameter\":b&8?\"enum member\":b&2097152?\"alias\":b&1536?\"module\":ie}n.getSymbolKind=p;function a(v,A,z){var ie=v.getRootSymbols(A);if(ie.length===1&&e.first(ie).flags&8192&&v.getTypeOfSymbolAtLocation(A,z).getNonNullableType().getCallSignatures().length!==0)return\"method\";if(v.isUndefinedSymbol(A))return\"var\";if(v.isArgumentsSymbol(A))return\"local var\";if(z.kind===108&&e.isExpression(z))return\"parameter\";var b=e.getCombinedLocalAndExportSymbolFlags(A);if(b&3)return e.isFirstDeclarationOfSymbolParameter(A)?\"parameter\":A.valueDeclaration&&e.isVarConst(A.valueDeclaration)?\"const\":e.forEach(A.declarations,e.isLet)?\"let\":h(A)?\"local var\":\"var\";if(b&16)return h(A)?\"local function\":\"function\";if(b&32768)return\"getter\";if(b&65536)return\"setter\";if(b&8192)return\"method\";if(b&16384)return\"constructor\";if(b&4){if(b&33554432&&A.checkFlags&6){var M=e.forEach(v.getRootSymbols(A),function(B){var H=B.getFlags();if(H&98311)return\"property\"});if(!M){var S=v.getTypeOfSymbolAtLocation(A,z);return S.getCallSignatures().length?\"method\":\"property\"}return M}switch(z.parent&&z.parent.kind){case 279:case 277:case 278:return z.kind===79?\"property\":\"JSX attribute\";case 284:return\"JSX attribute\";default:return\"property\"}}return\"\"}function d(v){if(v.declarations&&v.declarations.length){var A=v.declarations,z=A[0],ie=A.slice(1),b=e.length(ie)&&e.isDeprecatedDeclaration(z)&&e.some(ie,function(S){return!e.isDeprecatedDeclaration(S)})?8192:0,M=e.getNodeModifiers(z,b);if(M)return M.split(\",\")}return[]}function k(v,A){if(!A)return\"\";var z=new e.Set(d(A));if(A.flags&2097152){var ie=v.getAliasedSymbol(A);ie!==A&&e.forEach(d(ie),function(b){z.add(b)})}return A.flags&16777216&&z.add(\"optional\"),z.size>0?e.arrayFrom(z.values()).join(\",\"):\"\"}n.getSymbolModifiers=k;function J(v,A,z,ie,b,M,S){var B;M===void 0&&(M=e.getMeaningFromLocation(b));var H=[],I=[],w=[],x=e.getCombinedLocalAndExportSymbolFlags(A),O=M&1?a(v,A,b):\"\",q=!1,Z=b.kind===108&&e.isInExpressionContext(b),ne,F,Q,V,re=!1;if(b.kind===108&&!Z)return{displayParts:[e.keywordPart(108)],documentation:[],symbolKind:\"primitive type\",tags:void 0};if(O!==\"\"||x&32||x&2097152){(O===\"getter\"||O===\"setter\")&&(O=\"property\");var T=void 0;if(ne=Z?v.getTypeAtLocation(b):v.getTypeOfSymbolAtLocation(A,b),b.parent&&b.parent.kind===205){var N=b.parent.name;(N===b||N&&N.getFullWidth()===0)&&(b=b.parent)}var y=void 0;if(e.isCallOrNewExpression(b)?y=b:(e.isCallExpressionTarget(b)||e.isNewExpressionTarget(b)||b.parent&&(e.isJsxOpeningLikeElement(b.parent)||e.isTaggedTemplateExpression(b.parent))&&e.isFunctionLike(A.valueDeclaration))&&(y=b.parent),y){T=v.getResolvedSignature(y);var D=y.kind===208||e.isCallExpression(y)&&y.expression.kind===106,C=D?ne.getConstructSignatures():ne.getCallSignatures();if(T&&!e.contains(C,T.target)&&!e.contains(C,T)&&(T=C.length?C[0]:void 0),T){switch(D&&x&32?(O=\"constructor\",Ve(ne.symbol,O)):x&2097152?(O=\"alias\",_e(O),H.push(e.spacePart()),D&&(T.flags&4&&(H.push(e.keywordPart(126)),H.push(e.spacePart())),H.push(e.keywordPart(103)),H.push(e.spacePart())),ve(A)):Ve(A,O),O){case\"JSX attribute\":case\"property\":case\"var\":case\"const\":case\"let\":case\"parameter\":case\"local var\":H.push(e.punctuationPart(58)),H.push(e.spacePart()),!(e.getObjectFlags(ne)&16)&&ne.symbol&&(e.addRange(H,e.symbolToDisplayParts(v,ne.symbol,ie,void 0,5)),H.push(e.lineBreakPart())),D&&(T.flags&4&&(H.push(e.keywordPart(126)),H.push(e.spacePart())),H.push(e.keywordPart(103)),H.push(e.spacePart())),Le(T,C,262144);break;default:Le(T,C)}q=!0,re=C.length>1}}else if(e.isNameOfFunctionDeclaration(b)&&!(x&98304)||b.kind===134&&b.parent.kind===170){var m=b.parent,u=A.declarations&&e.find(A.declarations,function(Xe){return Xe===(b.kind===134?m.parent:m)});if(u){var C=m.kind===170?ne.getNonNullableType().getConstructSignatures():ne.getNonNullableType().getCallSignatures();v.isImplementationOfOverload(m)?T=C[0]:T=v.getSignatureFromDeclaration(m),m.kind===170?(O=\"constructor\",Ve(ne.symbol,O)):Ve(m.kind===173&&!(ne.symbol.flags&2048||ne.symbol.flags&4096)?ne.symbol:A,O),T&&Le(T,C),q=!0,re=C.length>1}}}if(x&32&&!q&&!Z&&(Ge(),e.getDeclarationOfKind(A,225)?_e(\"local class\"):H.push(e.keywordPart(84)),H.push(e.spacePart()),ve(A),qe(A,z)),x&64&&M&2&&(Ie(),H.push(e.keywordPart(118)),H.push(e.spacePart()),ve(A),qe(A,z)),x&524288&&M&2&&(Ie(),H.push(e.keywordPart(151)),H.push(e.spacePart()),ve(A),qe(A,z),H.push(e.spacePart()),H.push(e.operatorPart(63)),H.push(e.spacePart()),e.addRange(H,e.typeToDisplayParts(v,v.getDeclaredTypeOfSymbol(A),ie,8388608))),x&384&&(Ie(),e.some(A.declarations,function(Xe){return e.isEnumDeclaration(Xe)&&e.isEnumConst(Xe)})&&(H.push(e.keywordPart(85)),H.push(e.spacePart())),H.push(e.keywordPart(92)),H.push(e.spacePart()),ve(A)),x&1536&&!Z){Ie();var g=e.getDeclarationOfKind(A,260),P=g&&g.name&&g.name.kind===79;H.push(e.keywordPart(P?142:141)),H.push(e.spacePart()),ve(A)}if(x&262144&&M&2)if(Ie(),H.push(e.punctuationPart(20)),H.push(e.textPart(\"type parameter\")),H.push(e.punctuationPart(21)),H.push(e.spacePart()),ve(A),A.parent)he(),ve(A.parent,ie),qe(A.parent,ie);else{var te=e.getDeclarationOfKind(A,162);if(te===void 0)return e.Debug.fail();var g=te.parent;if(g)if(e.isFunctionLikeKind(g.kind)){he();var T=v.getSignatureFromDeclaration(g);g.kind===174?(H.push(e.keywordPart(103)),H.push(e.spacePart())):g.kind!==173&&g.name&&ve(g.symbol),e.addRange(H,e.signatureToDisplayParts(v,T,z,32))}else g.kind===258&&(he(),H.push(e.keywordPart(151)),H.push(e.spacePart()),ve(g.symbol),qe(g.symbol,z))}if(x&8){O=\"enum member\",Ve(A,\"enum member\");var g=(B=A.declarations)===null||B===void 0?void 0:B[0];if((g==null?void 0:g.kind)===297){var ue=v.getConstantValue(g);ue!==void 0&&(H.push(e.spacePart()),H.push(e.operatorPart(63)),H.push(e.spacePart()),H.push(e.displayPart(e.getTextOfConstantValue(ue),typeof ue==\"number\"?e.SymbolDisplayPartKind.numericLiteral:e.SymbolDisplayPartKind.stringLiteral)))}}if(A.flags&2097152){if(Ie(),!q){var X=v.getAliasedSymbol(A);if(X!==A&&X.declarations&&X.declarations.length>0){var j=X.declarations[0],Se=e.getNameOfDeclaration(j);if(Se){var Ce=e.isModuleWithStringLiteralName(j)&&e.hasSyntacticModifier(j,2),R=A.name!==\"default\"&&!Ce,Y=J(v,X,e.getSourceFileOfNode(j),j,Se,M,R?A:X);H.push.apply(H,Y.displayParts),H.push(e.lineBreakPart()),Q=Y.documentation,V=Y.tags}else Q=X.getContextualDocumentationComment(j,v),V=X.getJsDocTags(v)}}if(A.declarations)switch(A.declarations[0].kind){case 263:H.push(e.keywordPart(93)),H.push(e.spacePart()),H.push(e.keywordPart(142));break;case 270:H.push(e.keywordPart(93)),H.push(e.spacePart()),H.push(e.keywordPart(A.declarations[0].isExportEquals?63:88));break;case 274:H.push(e.keywordPart(93));break;default:H.push(e.keywordPart(100))}H.push(e.spacePart()),ve(A),e.forEach(A.declarations,function(Xe){if(Xe.kind===264){var De=Xe;if(e.isExternalModuleImportEqualsDeclaration(De))H.push(e.spacePart()),H.push(e.operatorPart(63)),H.push(e.spacePart()),H.push(e.keywordPart(145)),H.push(e.punctuationPart(20)),H.push(e.displayPart(e.getTextOfNode(e.getExternalModuleImportEqualsDeclarationExpression(De)),e.SymbolDisplayPartKind.stringLiteral)),H.push(e.punctuationPart(21));else{var Ae=v.getSymbolAtLocation(De.moduleReference);Ae&&(H.push(e.spacePart()),H.push(e.operatorPart(63)),H.push(e.spacePart()),ve(Ae,ie))}return!0}})}if(!q)if(O!==\"\"){if(ne){if(Z?(Ie(),H.push(e.keywordPart(108))):Ve(A,O),O===\"property\"||O===\"JSX attribute\"||x&3||O===\"local var\"||Z){if(H.push(e.punctuationPart(58)),H.push(e.spacePart()),ne.symbol&&ne.symbol.flags&262144){var U=e.mapToDisplayParts(function(Xe){var De=v.typeParameterToDeclaration(ne,ie,f);Pe().writeNode(4,De,e.getSourceFileOfNode(e.getParseTreeNode(ie)),Xe)});e.addRange(H,U)}else e.addRange(H,e.typeToDisplayParts(v,ne,ie));if(A.target&&A.target.tupleLabelDeclaration){var K=A.target.tupleLabelDeclaration;e.Debug.assertNode(K.name,e.isIdentifier),H.push(e.spacePart()),H.push(e.punctuationPart(20)),H.push(e.textPart(e.idText(K.name))),H.push(e.punctuationPart(21))}}else if(x&16||x&8192||x&16384||x&131072||x&98304||O===\"method\"){var C=ne.getNonNullableType().getCallSignatures();C.length&&(Le(C[0],C),re=C.length>1)}}}else O=p(v,A,b);if(I.length===0&&!re&&(I=A.getContextualDocumentationComment(ie,v)),I.length===0&&x&4&&A.parent&&A.declarations&&e.forEach(A.parent.declarations,function(Xe){return Xe.kind===303}))for(var Te=0,ge=A.declarations;Te<ge.length;Te++){var g=ge[Te];if(!(!g.parent||g.parent.kind!==220)){var ke=v.getSymbolAtLocation(g.parent.right);if(!!ke&&(I=ke.getDocumentationComment(v),w=ke.getJsDocTags(v),I.length>0))break}}return w.length===0&&!re&&(w=A.getJsDocTags(v)),I.length===0&&Q&&(I=Q),w.length===0&&V&&(w=V),{displayParts:H,documentation:I,symbolKind:O,tags:w.length===0?void 0:w};function Pe(){return F||(F=e.createPrinter({removeComments:!0})),F}function Ie(){H.length&&H.push(e.lineBreakPart()),Ge()}function Ge(){S&&(_e(\"alias\"),H.push(e.spacePart()))}function he(){H.push(e.spacePart()),H.push(e.keywordPart(101)),H.push(e.spacePart())}function ve(Xe,De){S&&Xe===A&&(Xe=S);var Ae=e.symbolToDisplayParts(v,Xe,De||z,void 0,7);e.addRange(H,Ae),A.flags&16777216&&H.push(e.punctuationPart(57))}function Ve(Xe,De){Ie(),De&&(_e(De),Xe&&!e.some(Xe.declarations,function(Ae){return e.isArrowFunction(Ae)||(e.isFunctionExpression(Ae)||e.isClassExpression(Ae))&&!Ae.name})&&(H.push(e.spacePart()),ve(Xe)))}function _e(Xe){switch(Xe){case\"var\":case\"function\":case\"let\":case\"const\":case\"constructor\":H.push(e.textOrKeywordPart(Xe));return;default:H.push(e.punctuationPart(20)),H.push(e.textOrKeywordPart(Xe)),H.push(e.punctuationPart(21));return}}function Le(Xe,De,Ae){Ae===void 0&&(Ae=0),e.addRange(H,e.signatureToDisplayParts(v,Xe,ie,Ae|32)),De.length>1&&(H.push(e.spacePart()),H.push(e.punctuationPart(20)),H.push(e.operatorPart(39)),H.push(e.displayPart((De.length-1).toString(),e.SymbolDisplayPartKind.numericLiteral)),H.push(e.spacePart()),H.push(e.textPart(De.length===2?\"overload\":\"overloads\")),H.push(e.punctuationPart(21))),I=Xe.getDocumentationComment(v),w=Xe.getJsDocTags(),De.length>1&&I.length===0&&w.length===0&&(I=De[0].getDocumentationComment(v),w=De[0].getJsDocTags())}function qe(Xe,De){var Ae=e.mapToDisplayParts(function(Ye){var Dr=v.symbolToTypeParameterDeclarations(Xe,De,f);Pe().writeList(53776,Dr,e.getSourceFileOfNode(e.getParseTreeNode(De)),Ye)});e.addRange(H,Ae)}}n.getSymbolDisplayPartsDocumentationAndSymbolKind=J;function h(v){return v.parent?!1:e.forEach(v.declarations,function(A){if(A.kind===212)return!0;if(A.kind!==253&&A.kind!==255)return!1;for(var z=A.parent;!e.isFunctionBlock(z);z=z.parent)if(z.kind===303||z.kind===261)return!1;return!0})}})(e.SymbolDisplay||(e.SymbolDisplay={}))}(jr||(jr={})),function(e){function n(d,k){var J=[],h=k.compilerOptions?a(k.compilerOptions,J):{},v=e.getDefaultCompilerOptions();for(var A in v)e.hasProperty(v,A)&&h[A]===void 0&&(h[A]=v[A]);for(var z=0,ie=e.transpileOptionValueCompilerOptions;z<ie.length;z++){var b=ie[z];h[b.name]=b.transpileOptionValue}h.suppressOutputPathCheck=!0,h.allowNonTsExtensions=!0;var M=k.fileName||(k.compilerOptions&&k.compilerOptions.jsx?\"module.tsx\":\"module.ts\"),S=e.createSourceFile(M,d,e.getEmitScriptTarget(h));k.moduleName&&(S.moduleName=k.moduleName),k.renamedDependencies&&(S.renamedDependencies=new e.Map(e.getEntries(k.renamedDependencies)));var B=e.getNewLineCharacter(h),H,I,w={getSourceFile:function(O){return O===e.normalizePath(M)?S:void 0},writeFile:function(O,q){e.fileExtensionIs(O,\".map\")?(e.Debug.assertEqual(I,void 0,\"Unexpected multiple source map outputs, file:\",O),I=q):(e.Debug.assertEqual(H,void 0,\"Unexpected multiple outputs, file:\",O),H=q)},getDefaultLibFileName:function(){return\"lib.d.ts\"},useCaseSensitiveFileNames:function(){return!1},getCanonicalFileName:function(O){return O},getCurrentDirectory:function(){return\"\"},getNewLine:function(){return B},fileExists:function(O){return O===M},readFile:function(){return\"\"},directoryExists:function(){return!0},getDirectories:function(){return[]}},x=e.createProgram([M],h,w);return k.reportDiagnostics&&(e.addRange(J,x.getSyntacticDiagnostics(S)),e.addRange(J,x.getOptionsDiagnostics())),x.emit(void 0,void 0,void 0,void 0,k.transformers),H===void 0?e.Debug.fail(\"Output generation failed\"):{outputText:H,diagnostics:J,sourceMapText:I}}e.transpileModule=n;function f(d,k,J,h,v){var A=n(d,{compilerOptions:k,fileName:J,reportDiagnostics:!!h,moduleName:v});return e.addRange(h,A.diagnostics),A.outputText}e.transpile=f;var p;function a(d,k){p=p||e.filter(e.optionDeclarations,function(z){return typeof z.type==\"object\"&&!e.forEachEntry(z.type,function(ie){return typeof ie!=\"number\"})}),d=e.cloneCompilerOptions(d);for(var J=function(z){if(!e.hasProperty(d,z.name))return\"continue\";var ie=d[z.name];e.isString(ie)?d[z.name]=e.parseCustomTypeOption(z,ie,k):e.forEachEntry(z.type,function(b){return b===ie})||k.push(e.createCompilerDiagnosticForInvalidCustomType(z))},h=0,v=p;h<v.length;h++){var A=v[h];J(A)}return d}e.fixupCompilerOptions=a}(jr||(jr={})),function(e){(function(n){(function(p){p[p.FormatDocument=0]=\"FormatDocument\",p[p.FormatSelection=1]=\"FormatSelection\",p[p.FormatOnEnter=2]=\"FormatOnEnter\",p[p.FormatOnSemicolon=3]=\"FormatOnSemicolon\",p[p.FormatOnOpeningCurlyBrace=4]=\"FormatOnOpeningCurlyBrace\",p[p.FormatOnClosingCurlyBrace=5]=\"FormatOnClosingCurlyBrace\"})(n.FormattingRequestKind||(n.FormattingRequestKind={}));var f=function(){function p(a,d,k){this.sourceFile=a,this.formattingRequestKind=d,this.options=k}return p.prototype.updateContext=function(a,d,k,J,h){this.currentTokenSpan=e.Debug.checkDefined(a),this.currentTokenParent=e.Debug.checkDefined(d),this.nextTokenSpan=e.Debug.checkDefined(k),this.nextTokenParent=e.Debug.checkDefined(J),this.contextNode=e.Debug.checkDefined(h),this.contextNodeAllOnSameLine=void 0,this.nextNodeAllOnSameLine=void 0,this.tokensAreOnSameLine=void 0,this.contextNodeBlockIsOnOneLine=void 0,this.nextNodeBlockIsOnOneLine=void 0},p.prototype.ContextNodeAllOnSameLine=function(){return this.contextNodeAllOnSameLine===void 0&&(this.contextNodeAllOnSameLine=this.NodeIsOnOneLine(this.contextNode)),this.contextNodeAllOnSameLine},p.prototype.NextNodeAllOnSameLine=function(){return this.nextNodeAllOnSameLine===void 0&&(this.nextNodeAllOnSameLine=this.NodeIsOnOneLine(this.nextTokenParent)),this.nextNodeAllOnSameLine},p.prototype.TokensAreOnSameLine=function(){if(this.tokensAreOnSameLine===void 0){var a=this.sourceFile.getLineAndCharacterOfPosition(this.currentTokenSpan.pos).line,d=this.sourceFile.getLineAndCharacterOfPosition(this.nextTokenSpan.pos).line;this.tokensAreOnSameLine=a===d}return this.tokensAreOnSameLine},p.prototype.ContextNodeBlockIsOnOneLine=function(){return this.contextNodeBlockIsOnOneLine===void 0&&(this.contextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.contextNode)),this.contextNodeBlockIsOnOneLine},p.prototype.NextNodeBlockIsOnOneLine=function(){return this.nextNodeBlockIsOnOneLine===void 0&&(this.nextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.nextTokenParent)),this.nextNodeBlockIsOnOneLine},p.prototype.NodeIsOnOneLine=function(a){var d=this.sourceFile.getLineAndCharacterOfPosition(a.getStart(this.sourceFile)).line,k=this.sourceFile.getLineAndCharacterOfPosition(a.getEnd()).line;return d===k},p.prototype.BlockIsOnOneLine=function(a){var d=e.findChildOfKind(a,18,this.sourceFile),k=e.findChildOfKind(a,19,this.sourceFile);if(d&&k){var J=this.sourceFile.getLineAndCharacterOfPosition(d.getEnd()).line,h=this.sourceFile.getLineAndCharacterOfPosition(k.getStart(this.sourceFile)).line;return J===h}return!1},p}();n.FormattingContext=f})(e.formatting||(e.formatting={}))}(jr||(jr={})),function(e){(function(n){var f=e.createScanner(99,!1,0),p=e.createScanner(99,!1,1),a;(function(k){k[k.Scan=0]=\"Scan\",k[k.RescanGreaterThanToken=1]=\"RescanGreaterThanToken\",k[k.RescanSlashToken=2]=\"RescanSlashToken\",k[k.RescanTemplateToken=3]=\"RescanTemplateToken\",k[k.RescanJsxIdentifier=4]=\"RescanJsxIdentifier\",k[k.RescanJsxText=5]=\"RescanJsxText\",k[k.RescanJsxAttributeValue=6]=\"RescanJsxAttributeValue\"})(a||(a={}));function d(k,J,h,v,A){var z=J===1?p:f;z.setText(k),z.setTextPos(h);var ie=!0,b,M,S,B,H,I=A({advance:w,readTokenInfo:V,readEOFTokenRange:T,isOnToken:N,isOnEOF:y,getCurrentLeadingTrivia:function(){return b},lastTrailingTriviaWasNewLine:function(){return ie},skipToEndOf:C,skipToStartOf:m});return H=void 0,z.setText(void 0),I;function w(){H=void 0;var u=z.getStartPos()!==h;u?ie=!!M&&e.last(M).kind===4:z.scan(),b=void 0,M=void 0;for(var g=z.getStartPos();g<v;){var P=z.getToken();if(!e.isTrivia(P))break;z.scan();var te={pos:g,end:z.getStartPos(),kind:P};g=z.getStartPos(),b=e.append(b,te)}S=z.getStartPos()}function x(u){switch(u.kind){case 33:case 71:case 72:case 49:case 48:return!0}return!1}function O(u){if(u.parent)switch(u.parent.kind){case 284:case 279:case 280:case 278:return e.isKeyword(u.kind)||u.kind===79}return!1}function q(u){return e.isJsxText(u)}function Z(u){return u.kind===13}function ne(u){return u.kind===16||u.kind===17}function F(u){return u.parent&&e.isJsxAttribute(u.parent)&&u.parent.initializer===u}function Q(u){return u===43||u===68}function V(u){e.Debug.assert(N());var g=x(u)?1:Z(u)?2:ne(u)?3:O(u)?4:q(u)?5:F(u)?6:0;if(H&&g===B)return D(H,u);z.getStartPos()!==S&&(e.Debug.assert(H!==void 0),z.setTextPos(S),z.scan());var P=re(u,g),te=n.createTextRangeWithKind(z.getStartPos(),z.getTextPos(),P);for(M&&(M=void 0);z.getStartPos()<v&&(P=z.scan(),!!e.isTrivia(P));){var ue=n.createTextRangeWithKind(z.getStartPos(),z.getTextPos(),P);if(M||(M=[]),M.push(ue),P===4){z.scan();break}}return H={leadingTrivia:b,trailingTrivia:M,token:te},D(H,u)}function re(u,g){var P=z.getToken();switch(B=0,g){case 1:if(P===31){B=1;var te=z.reScanGreaterToken();return e.Debug.assert(u.kind===te),te}break;case 2:if(Q(P)){B=2;var te=z.reScanSlashToken();return e.Debug.assert(u.kind===te),te}break;case 3:if(P===19)return B=3,z.reScanTemplateToken(!1);break;case 4:return B=4,z.scanJsxIdentifier();case 5:return B=5,z.reScanJsxToken(!1);case 6:return B=6,z.reScanJsxAttributeValue();case 0:break;default:e.Debug.assertNever(g)}return P}function T(){return e.Debug.assert(y()),n.createTextRangeWithKind(z.getStartPos(),z.getTextPos(),1)}function N(){var u=H?H.token.kind:z.getToken(),g=H?H.token.pos:z.getStartPos();return g<v&&u!==1&&!e.isTrivia(u)}function y(){var u=H?H.token.kind:z.getToken();return u===1}function D(u,g){return e.isToken(g)&&u.token.kind!==g.kind&&(u.token.kind=g.kind),u}function C(u){z.setTextPos(u.end),S=z.getStartPos(),B=void 0,H=void 0,ie=!1,b=void 0,M=void 0}function m(u){z.setTextPos(u.pos),S=z.getStartPos(),B=void 0,H=void 0,ie=!1,b=void 0,M=void 0}}n.getFormattingScanner=d})(e.formatting||(e.formatting={}))}(jr||(jr={})),function(e){(function(n){n.anyContext=e.emptyArray,function(f){f[f.StopProcessingSpaceActions=1]=\"StopProcessingSpaceActions\",f[f.StopProcessingTokenActions=2]=\"StopProcessingTokenActions\",f[f.InsertSpace=4]=\"InsertSpace\",f[f.InsertNewLine=8]=\"InsertNewLine\",f[f.DeleteSpace=16]=\"DeleteSpace\",f[f.DeleteToken=32]=\"DeleteToken\",f[f.InsertTrailingSemicolon=64]=\"InsertTrailingSemicolon\",f[f.StopAction=3]=\"StopAction\",f[f.ModifySpaceAction=28]=\"ModifySpaceAction\",f[f.ModifyTokenAction=96]=\"ModifyTokenAction\"}(n.RuleAction||(n.RuleAction={})),function(f){f[f.None=0]=\"None\",f[f.CanDeleteNewLines=1]=\"CanDeleteNewLines\"}(n.RuleFlags||(n.RuleFlags={}))})(e.formatting||(e.formatting={}))}(jr||(jr={})),function(e){(function(n){function f(){for(var Ke=[],Me=0;Me<=159;Me++)Me!==1&&Ke.push(Me);function Hr(){for(var ir=[],Or=0;Or<arguments.length;Or++)ir[Or]=arguments[Or];return{tokens:Ke.filter(function(sr){return!ir.some(function(ye){return ye===sr})}),isSpecific:!1}}var ur={tokens:Ke,isSpecific:!1},gr=a(Gt(Gt([],Ke,!0),[3],!1)),de=a(Gt(Gt([],Ke,!0),[1],!1)),Fe=k(81,159),$e=k(29,78),Sr=[101,102,159,127,139],Pr=[45,46,54,53],He=[8,9,79,20,22,18,108,103],pr=[79,20,108,103],Jr=[79,21,23,103],ze=[79,20,108,103],Lr=[79,21,23,103],Yr=[2,3],lt=Gt([79],e.typeKeywords,!0),tt=gr,Rt=a([79,3,84,93,100]),cn=a([21,3,90,111,96,91]),bn=[p(\"IgnoreBeforeComment\",ur,Yr,n.anyContext,1),p(\"IgnoreAfterLineComment\",2,ur,n.anyContext,1),p(\"NotSpaceBeforeColon\",ur,58,[R,B,H],16),p(\"SpaceAfterColon\",58,ur,[R,B],4),p(\"NoSpaceBeforeQuestionMark\",ur,57,[R,B,H],16),p(\"SpaceAfterQuestionMarkInConditionalOperator\",57,ur,[R,w],4),p(\"NoSpaceAfterQuestionMark\",57,ur,[R],16),p(\"NoSpaceBeforeDot\",ur,[24,28],[R],16),p(\"NoSpaceAfterDot\",[24,28],ur,[R],16),p(\"NoSpaceBetweenImportParenInImportType\",100,20,[R,Ce],16),p(\"NoSpaceAfterUnaryPrefixOperator\",Pr,He,[R,B],16),p(\"NoSpaceAfterUnaryPreincrementOperator\",45,pr,[R],16),p(\"NoSpaceAfterUnaryPredecrementOperator\",46,ze,[R],16),p(\"NoSpaceBeforeUnaryPostincrementOperator\",Jr,45,[R,br],16),p(\"NoSpaceBeforeUnaryPostdecrementOperator\",Lr,46,[R,br],16),p(\"SpaceAfterPostincrementWhenFollowedByAdd\",45,39,[R,S],4),p(\"SpaceAfterAddWhenFollowedByUnaryPlus\",39,39,[R,S],4),p(\"SpaceAfterAddWhenFollowedByPreincrement\",39,45,[R,S],4),p(\"SpaceAfterPostdecrementWhenFollowedBySubtract\",46,40,[R,S],4),p(\"SpaceAfterSubtractWhenFollowedByUnaryMinus\",40,40,[R,S],4),p(\"SpaceAfterSubtractWhenFollowedByPredecrement\",40,46,[R,S],4),p(\"NoSpaceAfterCloseBrace\",19,[27,26],[R],16),p(\"NewLineBeforeCloseBraceInBlockContext\",gr,19,[Z],8),p(\"SpaceAfterCloseBrace\",19,Hr(21),[R,C],4),p(\"SpaceBetweenCloseBraceAndElse\",19,91,[R],4),p(\"SpaceBetweenCloseBraceAndWhile\",19,115,[R],4),p(\"NoSpaceBetweenEmptyBraceBrackets\",18,19,[R,u],16),p(\"SpaceAfterConditionalClosingParen\",21,22,[m],4),p(\"NoSpaceBetweenFunctionKeywordAndStar\",98,41,[N],16),p(\"SpaceAfterStarInGeneratorDeclaration\",41,79,[N],4),p(\"SpaceAfterFunctionInFuncDecl\",98,ur,[re],4),p(\"NewLineAfterOpenBraceInBlockContext\",18,ur,[Z],8),p(\"SpaceAfterGetSetInMember\",[136,148],79,[re],4),p(\"NoSpaceBetweenYieldKeywordAndStar\",125,41,[R,Ye],16),p(\"SpaceBetweenYieldOrYieldStarAndOperand\",[125,41],ur,[R,Ye],4),p(\"NoSpaceBetweenReturnAndSemicolon\",105,26,[R],16),p(\"SpaceAfterCertainKeywords\",[113,109,103,89,105,112,132],ur,[R],4),p(\"SpaceAfterLetConstInVariableDeclaration\",[119,85],ur,[R,he],4),p(\"NoSpaceBeforeOpenParenInFuncCall\",ur,20,[R,te,ue],16),p(\"SpaceBeforeBinaryKeywordOperator\",ur,Sr,[R,S],4),p(\"SpaceAfterBinaryKeywordOperator\",Sr,ur,[R,S],4),p(\"SpaceAfterVoidOperator\",114,ur,[R,Ae],4),p(\"SpaceBetweenAsyncAndOpenParen\",131,20,[Se,R],4),p(\"SpaceBetweenAsyncAndFunctionKeyword\",131,[98,79],[R],4),p(\"NoSpaceBetweenTagAndTemplateString\",[79,21],[14,15],[R],16),p(\"SpaceBeforeJsxAttribute\",ur,79,[Te,R],4),p(\"SpaceBeforeSlashInJsxOpeningElement\",ur,43,[ke,R],4),p(\"NoSpaceBeforeGreaterThanTokenInJsxOpeningElement\",43,31,[ke,R],16),p(\"NoSpaceBeforeEqualInJsxAttribute\",ur,63,[ge,R],16),p(\"NoSpaceAfterEqualInJsxAttribute\",63,ur,[ge,R],16),p(\"NoSpaceAfterModuleImport\",[141,145],20,[R],16),p(\"SpaceAfterCertainTypeScriptKeywords\",[126,84,135,88,92,93,94,136,117,100,118,141,142,121,123,122,144,148,124,151,155,140,137],ur,[R],4),p(\"SpaceBeforeCertainTypeScriptKeywords\",ur,[94,117,155],[R],4),p(\"SpaceAfterModuleName\",10,18,[Ve],4),p(\"SpaceBeforeArrow\",ur,38,[R],4),p(\"SpaceAfterArrow\",38,ur,[R],4),p(\"NoSpaceAfterEllipsis\",25,79,[R],16),p(\"NoSpaceAfterOptionalParameters\",57,[21,27],[R,B],16),p(\"NoSpaceBetweenEmptyInterfaceBraceBrackets\",18,19,[R,_e],16),p(\"NoSpaceBeforeOpenAngularBracket\",lt,29,[R,Xe],16),p(\"NoSpaceBetweenCloseParenAndAngularBracket\",21,29,[R,Xe],16),p(\"NoSpaceAfterOpenAngularBracket\",29,ur,[R,Xe],16),p(\"NoSpaceBeforeCloseAngularBracket\",ur,31,[R,Xe],16),p(\"NoSpaceAfterCloseAngularBracket\",31,[20,22,31,27],[R,Xe,T],16),p(\"SpaceBeforeAt\",[21,79],59,[R],4),p(\"NoSpaceAfterAt\",59,ur,[R],16),p(\"SpaceAfterDecorator\",ur,[126,79,93,88,84,124,123,121,122,136,148,22,41],[Ie],4),p(\"NoSpaceBeforeNonNullAssertionOperator\",ur,53,[R,Dr],16),p(\"NoSpaceAfterNewKeywordOnConstructorSignature\",103,20,[R,Le],16),p(\"SpaceLessThanAndNonJSXTypeAnnotation\",29,29,[R],4)],In=[p(\"SpaceAfterConstructor\",134,20,[h(\"insertSpaceAfterConstructor\"),R],4),p(\"NoSpaceAfterConstructor\",134,20,[A(\"insertSpaceAfterConstructor\"),R],16),p(\"SpaceAfterComma\",27,ur,[h(\"insertSpaceAfterCommaDelimiter\"),R,U,X,j],4),p(\"NoSpaceAfterComma\",27,ur,[A(\"insertSpaceAfterCommaDelimiter\"),R,U],16),p(\"SpaceAfterAnonymousFunctionKeyword\",[98,41],20,[h(\"insertSpaceAfterFunctionKeywordForAnonymousFunctions\"),re],4),p(\"NoSpaceAfterAnonymousFunctionKeyword\",[98,41],20,[A(\"insertSpaceAfterFunctionKeywordForAnonymousFunctions\"),re],16),p(\"SpaceAfterKeywordInControl\",Fe,20,[h(\"insertSpaceAfterKeywordsInControlFlowStatements\"),m],4),p(\"NoSpaceAfterKeywordInControl\",Fe,20,[A(\"insertSpaceAfterKeywordsInControlFlowStatements\"),m],16),p(\"SpaceAfterOpenParen\",20,ur,[h(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis\"),R],4),p(\"SpaceBeforeCloseParen\",ur,21,[h(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis\"),R],4),p(\"SpaceBetweenOpenParens\",20,20,[h(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis\"),R],4),p(\"NoSpaceBetweenParens\",20,21,[R],16),p(\"NoSpaceAfterOpenParen\",20,ur,[A(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis\"),R],16),p(\"NoSpaceBeforeCloseParen\",ur,21,[A(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis\"),R],16),p(\"SpaceAfterOpenBracket\",22,ur,[h(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets\"),R],4),p(\"SpaceBeforeCloseBracket\",ur,23,[h(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets\"),R],4),p(\"NoSpaceBetweenBrackets\",22,23,[R],16),p(\"NoSpaceAfterOpenBracket\",22,ur,[A(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets\"),R],16),p(\"NoSpaceBeforeCloseBracket\",ur,23,[A(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets\"),R],16),p(\"SpaceAfterOpenBrace\",18,ur,[ie(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces\"),O],4),p(\"SpaceBeforeCloseBrace\",ur,19,[ie(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces\"),O],4),p(\"NoSpaceBetweenEmptyBraceBrackets\",18,19,[R,u],16),p(\"NoSpaceAfterOpenBrace\",18,ur,[v(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces\"),R],16),p(\"NoSpaceBeforeCloseBrace\",ur,19,[v(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces\"),R],16),p(\"SpaceBetweenEmptyBraceBrackets\",18,19,[h(\"insertSpaceAfterOpeningAndBeforeClosingEmptyBraces\")],4),p(\"NoSpaceBetweenEmptyBraceBrackets\",18,19,[v(\"insertSpaceAfterOpeningAndBeforeClosingEmptyBraces\"),R],16),p(\"SpaceAfterTemplateHeadAndMiddle\",[15,16],ur,[h(\"insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces\"),Y],4,1),p(\"SpaceBeforeTemplateMiddleAndTail\",ur,[16,17],[h(\"insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces\"),R],4),p(\"NoSpaceAfterTemplateHeadAndMiddle\",[15,16],ur,[A(\"insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces\"),Y],16,1),p(\"NoSpaceBeforeTemplateMiddleAndTail\",ur,[16,17],[A(\"insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces\"),R],16),p(\"SpaceAfterOpenBraceInJsxExpression\",18,ur,[h(\"insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces\"),R,K],4),p(\"SpaceBeforeCloseBraceInJsxExpression\",ur,19,[h(\"insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces\"),R,K],4),p(\"NoSpaceAfterOpenBraceInJsxExpression\",18,ur,[A(\"insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces\"),R,K],16),p(\"NoSpaceBeforeCloseBraceInJsxExpression\",ur,19,[A(\"insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces\"),R,K],16),p(\"SpaceAfterSemicolonInFor\",26,ur,[h(\"insertSpaceAfterSemicolonInForStatements\"),R,b],4),p(\"NoSpaceAfterSemicolonInFor\",26,ur,[A(\"insertSpaceAfterSemicolonInForStatements\"),R,b],16),p(\"SpaceBeforeBinaryOperator\",ur,$e,[h(\"insertSpaceBeforeAndAfterBinaryOperators\"),R,S],4),p(\"SpaceAfterBinaryOperator\",$e,ur,[h(\"insertSpaceBeforeAndAfterBinaryOperators\"),R,S],4),p(\"NoSpaceBeforeBinaryOperator\",ur,$e,[A(\"insertSpaceBeforeAndAfterBinaryOperators\"),R,S],16),p(\"NoSpaceAfterBinaryOperator\",$e,ur,[A(\"insertSpaceBeforeAndAfterBinaryOperators\"),R,S],16),p(\"SpaceBeforeOpenParenInFuncDecl\",ur,20,[h(\"insertSpaceBeforeFunctionParenthesis\"),R,re],4),p(\"NoSpaceBeforeOpenParenInFuncDecl\",ur,20,[A(\"insertSpaceBeforeFunctionParenthesis\"),R,re],16),p(\"NewLineBeforeOpenBraceInControl\",cn,18,[h(\"placeOpenBraceOnNewLineForControlBlocks\"),m,q],8,1),p(\"NewLineBeforeOpenBraceInFunction\",tt,18,[h(\"placeOpenBraceOnNewLineForFunctions\"),re,q],8,1),p(\"NewLineBeforeOpenBraceInTypeScriptDeclWithBlock\",Rt,18,[h(\"placeOpenBraceOnNewLineForFunctions\"),y,q],8,1),p(\"SpaceAfterTypeAssertion\",31,ur,[h(\"insertSpaceAfterTypeAssertion\"),R,De],4),p(\"NoSpaceAfterTypeAssertion\",31,ur,[A(\"insertSpaceAfterTypeAssertion\"),R,De],16),p(\"SpaceBeforeTypeAnnotation\",ur,[57,58],[h(\"insertSpaceBeforeTypeAnnotation\"),R,I],4),p(\"NoSpaceBeforeTypeAnnotation\",ur,[57,58],[A(\"insertSpaceBeforeTypeAnnotation\"),R,I],16),p(\"NoOptionalSemicolon\",26,de,[J(\"semicolons\",e.SemicolonPreference.Remove),Ar],32),p(\"OptionalSemicolon\",ur,de,[J(\"semicolons\",e.SemicolonPreference.Insert),kr],64)],zn=[p(\"NoSpaceBeforeSemicolon\",ur,26,[R],16),p(\"SpaceBeforeOpenBraceInControl\",cn,18,[z(\"placeOpenBraceOnNewLineForControlBlocks\"),m,ve,x],4,1),p(\"SpaceBeforeOpenBraceInFunction\",tt,18,[z(\"placeOpenBraceOnNewLineForFunctions\"),re,Q,ve,x],4,1),p(\"SpaceBeforeOpenBraceInTypeScriptDeclWithBlock\",Rt,18,[z(\"placeOpenBraceOnNewLineForFunctions\"),y,ve,x],4,1),p(\"NoSpaceBeforeComma\",ur,27,[R],16),p(\"NoSpaceBeforeOpenBracket\",Hr(131,82),22,[R],16),p(\"NoSpaceAfterCloseBracket\",23,ur,[R,Pe],16),p(\"SpaceAfterSemicolon\",26,ur,[R],4),p(\"SpaceBetweenForAndAwaitKeyword\",97,132,[R],4),p(\"SpaceBetweenStatements\",[21,90,91,82],ur,[R,U,M],4),p(\"SpaceAfterTryCatchFinally\",[111,83,96],18,[R],4)];return Gt(Gt(Gt([],bn,!0),In,!0),zn,!0)}n.getAllRules=f;function p(Ke,Me,Hr,ur,gr,de){return de===void 0&&(de=0),{leftTokenRange:d(Me),rightTokenRange:d(Hr),rule:{debugName:Ke,context:ur,action:gr,flags:de}}}function a(Ke){return{tokens:Ke,isSpecific:!0}}function d(Ke){return typeof Ke==\"number\"?a([Ke]):e.isArray(Ke)?a(Ke):Ke}function k(Ke,Me,Hr){Hr===void 0&&(Hr=[]);for(var ur=[],gr=Ke;gr<=Me;gr++)e.contains(Hr,gr)||ur.push(gr);return a(ur)}function J(Ke,Me){return function(Hr){return Hr.options&&Hr.options[Ke]===Me}}function h(Ke){return function(Me){return Me.options&&Me.options.hasOwnProperty(Ke)&&!!Me.options[Ke]}}function v(Ke){return function(Me){return Me.options&&Me.options.hasOwnProperty(Ke)&&!Me.options[Ke]}}function A(Ke){return function(Me){return!Me.options||!Me.options.hasOwnProperty(Ke)||!Me.options[Ke]}}function z(Ke){return function(Me){return!Me.options||!Me.options.hasOwnProperty(Ke)||!Me.options[Ke]||Me.TokensAreOnSameLine()}}function ie(Ke){return function(Me){return!Me.options||!Me.options.hasOwnProperty(Ke)||!!Me.options[Ke]}}function b(Ke){return Ke.contextNode.kind===241}function M(Ke){return!b(Ke)}function S(Ke){switch(Ke.contextNode.kind){case 220:return Ke.contextNode.operatorToken.kind!==27;case 221:case 188:case 228:case 274:case 269:case 176:case 186:case 187:return!0;case 202:case 258:case 264:case 270:case 253:case 163:case 297:case 166:case 165:return Ke.currentTokenSpan.kind===63||Ke.nextTokenSpan.kind===63;case 242:case 162:return Ke.currentTokenSpan.kind===101||Ke.nextTokenSpan.kind===101||Ke.currentTokenSpan.kind===63||Ke.nextTokenSpan.kind===63;case 243:return Ke.currentTokenSpan.kind===159||Ke.nextTokenSpan.kind===159}return!1}function B(Ke){return!S(Ke)}function H(Ke){return!I(Ke)}function I(Ke){var Me=Ke.contextNode.kind;return Me===166||Me===165||Me===163||Me===253||e.isFunctionLikeKind(Me)}function w(Ke){return Ke.contextNode.kind===221||Ke.contextNode.kind===188}function x(Ke){return Ke.TokensAreOnSameLine()||Q(Ke)}function O(Ke){return Ke.contextNode.kind===200||Ke.contextNode.kind===194||ne(Ke)}function q(Ke){return Q(Ke)&&!(Ke.NextNodeAllOnSameLine()||Ke.NextNodeBlockIsOnOneLine())}function Z(Ke){return F(Ke)&&!(Ke.ContextNodeAllOnSameLine()||Ke.ContextNodeBlockIsOnOneLine())}function ne(Ke){return F(Ke)&&(Ke.ContextNodeAllOnSameLine()||Ke.ContextNodeBlockIsOnOneLine())}function F(Ke){return V(Ke.contextNode)}function Q(Ke){return V(Ke.nextTokenParent)}function V(Ke){if(D(Ke))return!0;switch(Ke.kind){case 234:case 262:case 204:case 261:return!0}return!1}function re(Ke){switch(Ke.contextNode.kind){case 255:case 168:case 167:case 171:case 172:case 173:case 212:case 170:case 213:case 257:return!0}return!1}function T(Ke){return!re(Ke)}function N(Ke){return Ke.contextNode.kind===255||Ke.contextNode.kind===212}function y(Ke){return D(Ke.contextNode)}function D(Ke){switch(Ke.kind){case 256:case 225:case 257:case 259:case 181:case 260:case 271:case 272:case 265:case 268:return!0}return!1}function C(Ke){switch(Ke.currentTokenParent.kind){case 256:case 260:case 259:case 291:case 261:case 248:return!0;case 234:{var Me=Ke.currentTokenParent.parent;if(!Me||Me.kind!==213&&Me.kind!==212)return!0}}return!1}function m(Ke){switch(Ke.contextNode.kind){case 238:case 248:case 241:case 242:case 243:case 240:case 251:case 239:case 247:case 291:return!0;default:return!1}}function u(Ke){return Ke.contextNode.kind===204}function g(Ke){return Ke.contextNode.kind===207}function P(Ke){return Ke.contextNode.kind===208}function te(Ke){return g(Ke)||P(Ke)}function ue(Ke){return Ke.currentTokenSpan.kind!==27}function X(Ke){return Ke.nextTokenSpan.kind!==23}function j(Ke){return Ke.nextTokenSpan.kind!==21}function Se(Ke){return Ke.contextNode.kind===213}function Ce(Ke){return Ke.contextNode.kind===199}function R(Ke){return Ke.TokensAreOnSameLine()&&Ke.contextNode.kind!==11}function Y(Ke){return Ke.contextNode.kind!==11}function U(Ke){return Ke.contextNode.kind!==277&&Ke.contextNode.kind!==281}function K(Ke){return Ke.contextNode.kind===287||Ke.contextNode.kind===286}function Te(Ke){return Ke.nextTokenParent.kind===284}function ge(Ke){return Ke.contextNode.kind===284}function ke(Ke){return Ke.contextNode.kind===278}function Pe(Ke){return!re(Ke)&&!Q(Ke)}function Ie(Ke){return Ke.TokensAreOnSameLine()&&!!Ke.contextNode.decorators&&Ge(Ke.currentTokenParent)&&!Ge(Ke.nextTokenParent)}function Ge(Ke){for(;e.isExpressionNode(Ke);)Ke=Ke.parent;return Ke.kind===164}function he(Ke){return Ke.currentTokenParent.kind===254&&Ke.currentTokenParent.getStart(Ke.sourceFile)===Ke.currentTokenSpan.pos}function ve(Ke){return Ke.formattingRequestKind!==2}function Ve(Ke){return Ke.contextNode.kind===260}function _e(Ke){return Ke.contextNode.kind===181}function Le(Ke){return Ke.contextNode.kind===174}function qe(Ke,Me){if(Ke.kind!==29&&Ke.kind!==31)return!1;switch(Me.kind){case 177:case 210:case 258:case 256:case 225:case 257:case 255:case 212:case 213:case 168:case 167:case 173:case 174:case 207:case 208:case 227:return!0;default:return!1}}function Xe(Ke){return qe(Ke.currentTokenSpan,Ke.currentTokenParent)||qe(Ke.nextTokenSpan,Ke.nextTokenParent)}function De(Ke){return Ke.contextNode.kind===210}function Ae(Ke){return Ke.currentTokenSpan.kind===114&&Ke.currentTokenParent.kind===216}function Ye(Ke){return Ke.contextNode.kind===223&&Ke.contextNode.expression!==void 0}function Dr(Ke){return Ke.contextNode.kind===229}function br(Ke){return!lr(Ke)}function lr(Ke){switch(Ke.contextNode.kind){case 238:case 241:case 242:case 243:case 239:case 240:return!0;default:return!1}}function Ar(Ke){var Me=Ke.nextTokenSpan.kind,Hr=Ke.nextTokenSpan.pos;if(e.isTrivia(Me)){var ur=Ke.nextTokenParent===Ke.currentTokenParent?e.findNextToken(Ke.currentTokenParent,e.findAncestor(Ke.currentTokenParent,function(Fe){return!Fe.parent}),Ke.sourceFile):Ke.nextTokenParent.getFirstToken(Ke.sourceFile);if(!ur)return!0;Me=ur.kind,Hr=ur.getStart(Ke.sourceFile)}var gr=Ke.sourceFile.getLineAndCharacterOfPosition(Ke.currentTokenSpan.pos).line,de=Ke.sourceFile.getLineAndCharacterOfPosition(Hr).line;return gr===de?Me===19||Me===1:Me===233||Me===26?!1:Ke.contextNode.kind===257||Ke.contextNode.kind===258?!e.isPropertySignature(Ke.currentTokenParent)||!!Ke.currentTokenParent.type||Me!==20:e.isPropertyDeclaration(Ke.currentTokenParent)?!Ke.currentTokenParent.initializer:Ke.currentTokenParent.kind!==241&&Ke.currentTokenParent.kind!==235&&Ke.currentTokenParent.kind!==233&&Me!==22&&Me!==20&&Me!==39&&Me!==40&&Me!==43&&Me!==13&&Me!==27&&Me!==222&&Me!==15&&Me!==14&&Me!==24}function kr(Ke){return e.positionIsASICandidate(Ke.currentTokenSpan.end,Ke.currentTokenParent,Ke.sourceFile)}})(e.formatting||(e.formatting={}))}(jr||(jr={})),function(e){(function(n){function f(B,H){return{options:B,getRules:a(),host:H}}n.getFormatContext=f;var p;function a(){return p===void 0&&(p=k(n.getAllRules())),p}function d(B){var H=0;return B&1&&(H|=28),B&2&&(H|=96),B&28&&(H|=28),B&96&&(H|=96),H}function k(B){var H=J(B);return function(I){var w=H[h(I.currentTokenSpan.kind,I.nextTokenSpan.kind)];if(w){for(var x=[],O=0,q=0,Z=w;q<Z.length;q++){var ne=Z[q],F=~d(O);ne.action&F&&e.every(ne.context,function(Q){return Q(I)})&&(x.push(ne),O|=ne.action)}if(x.length)return x}}}function J(B){for(var H=new Array(z*z),I=new Array(H.length),w=0,x=B;w<x.length;w++)for(var O=x[w],q=O.leftTokenRange.isSpecific&&O.rightTokenRange.isSpecific,Z=0,ne=O.leftTokenRange.tokens;Z<ne.length;Z++)for(var F=ne[Z],Q=0,V=O.rightTokenRange.tokens;Q<V.length;Q++){var re=V[Q],T=h(F,re),N=H[T];N===void 0&&(N=H[T]=[]),b(N,O.rule,q,I,T)}return H}function h(B,H){return e.Debug.assert(B<=159&&H<=159,\"Must compute formatting context from tokens\"),B*z+H}var v=5,A=31,z=159+1,ie;(function(B){B[B.StopRulesSpecific=0]=\"StopRulesSpecific\",B[B.StopRulesAny=v*1]=\"StopRulesAny\",B[B.ContextRulesSpecific=v*2]=\"ContextRulesSpecific\",B[B.ContextRulesAny=v*3]=\"ContextRulesAny\",B[B.NoContextRulesSpecific=v*4]=\"NoContextRulesSpecific\",B[B.NoContextRulesAny=v*5]=\"NoContextRulesAny\"})(ie||(ie={}));function b(B,H,I,w,x){var O=H.action&3?I?ie.StopRulesSpecific:ie.StopRulesAny:H.context!==n.anyContext?I?ie.ContextRulesSpecific:ie.ContextRulesAny:I?ie.NoContextRulesSpecific:ie.NoContextRulesAny,q=w[x]||0;B.splice(M(q,O),0,H),w[x]=S(q,O)}function M(B,H){for(var I=0,w=0;w<=H;w+=v)I+=B&A,B>>=v;return I}function S(B,H){var I=(B>>H&A)+1;return e.Debug.assert((I&A)===I,\"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules.\"),B&~(A<<H)|I<<H}})(e.formatting||(e.formatting={}))}(jr||(jr={})),function(e){(function(n){function f(T,N,y){var D={pos:T,end:N,kind:y};return e.Debug.isDebugging&&Object.defineProperty(D,\"__debugKind\",{get:function(){return e.Debug.formatSyntaxKind(y)}}),D}n.createTextRangeWithKind=f;var p;(function(T){T[T.Unknown=-1]=\"Unknown\"})(p||(p={}));function a(T,N,y){var D=N.getLineAndCharacterOfPosition(T).line;if(D===0)return[];for(var C=e.getEndLinePosition(D,N);e.isWhiteSpaceSingleLine(N.text.charCodeAt(C));)C--;e.isLineBreak(N.text.charCodeAt(C))&&C--;var m={pos:e.getStartPositionOfLine(D-1,N),end:C+1};return w(m,N,y,2)}n.formatOnEnter=a;function d(T,N,y){var D=A(T,26,N);return I(z(D),N,y,3)}n.formatOnSemicolon=d;function k(T,N,y){var D=A(T,18,N);if(!D)return[];var C=D.parent,m=z(C),u={pos:e.getLineStartPositionForPosition(m.getStart(N),N),end:T};return w(u,N,y,4)}n.formatOnOpeningCurly=k;function J(T,N,y){var D=A(T,19,N);return I(z(D),N,y,5)}n.formatOnClosingCurly=J;function h(T,N){var y={pos:0,end:T.text.length};return w(y,T,N,0)}n.formatDocument=h;function v(T,N,y,D){var C={pos:e.getLineStartPositionForPosition(T,y),end:N};return w(C,y,D,1)}n.formatSelection=v;function A(T,N,y){var D=e.findPrecedingToken(T,y);return D&&D.kind===N&&T===D.getEnd()?D:void 0}function z(T){for(var N=T;N&&N.parent&&N.parent.end===T.end&&!ie(N.parent,N);)N=N.parent;return N}function ie(T,N){switch(T.kind){case 256:case 257:return e.rangeContainsRange(T.members,N);case 260:var y=T.body;return!!y&&y.kind===261&&e.rangeContainsRange(y.statements,N);case 303:case 234:case 261:return e.rangeContainsRange(T.statements,N);case 291:return e.rangeContainsRange(T.block.statements,N)}return!1}function b(T,N){return y(N);function y(D){var C=e.forEachChild(D,function(u){return e.startEndContainsRange(u.getStart(N),u.end,T)&&u});if(C){var m=y(C);if(m)return m}return D}}function M(T,N){if(!T.length)return C;var y=T.filter(function(m){return e.rangeOverlapsWithStartEnd(N,m.start,m.start+m.length)}).sort(function(m,u){return m.start-u.start});if(!y.length)return C;var D=0;return function(m){for(;;){if(D>=y.length)return!1;var u=y[D];if(m.end<=u.start)return!1;if(e.startEndOverlapsWithStartEnd(m.pos,m.end,u.start,u.start+u.length))return!0;D++}};function C(){return!1}}function S(T,N,y){var D=T.getStart(y);if(D===N.pos&&T.end===N.end)return D;var C=e.findPrecedingToken(N.pos,y);return!C||C.end>=N.pos?T.pos:C.end}function B(T,N,y){for(var D=-1,C;T;){var m=y.getLineAndCharacterOfPosition(T.getStart(y)).line;if(D!==-1&&m!==D)break;if(n.SmartIndenter.shouldIndentChildNode(N,T,C,y))return N.indentSize;D=m,C=T,T=T.parent}return 0}function H(T,N,y,D,C,m){var u={pos:0,end:N.text.length};return n.getFormattingScanner(N.text,y,u.pos,u.end,function(g){return x(u,T,D,C,g,m,1,function(P){return!1},N)})}n.formatNodeGivenIndentation=H;function I(T,N,y,D){if(!T)return[];var C={pos:e.getLineStartPositionForPosition(T.getStart(N),N),end:T.end};return w(C,N,y,D)}function w(T,N,y,D){var C=b(T,N);return n.getFormattingScanner(N.text,N.languageVariant,S(C,T,N),T.end,function(m){return x(T,C,n.SmartIndenter.getIndentationForNode(C,T,N,y.options),B(C,y.options,N),m,y,D,M(N.parseDiagnostics,T),N)})}function x(T,N,y,D,C,m,u,g,P){var te=m.options,ue=m.getRules,X=m.host,j=new n.FormattingContext(P,u,te),Se,Ce,R,Y,U=-1,K=[];if(C.advance(),C.isOnToken()){var Te=P.getLineAndCharacterOfPosition(N.getStart(P)).line,ge=Te;N.decorators&&(ge=P.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(N,P)).line),Ve(N,N,Te,ge,y,D)}if(!C.isOnToken()){var ke=n.SmartIndenter.nodeWillIndentChild(te,N,void 0,P,!1)?y+te.indentSize:y,Pe=C.getCurrentLeadingTrivia();Pe&&(_e(Pe,ke,!1,function(gr){return qe(gr,P.getLineAndCharacterOfPosition(gr.pos),N,N,void 0)}),te.trimTrailingWhitespace!==!1&&Ar(Pe))}return K;function Ie(gr,de,Fe,$e,Sr){if(e.rangeOverlapsWithStartEnd($e,gr,de)||e.rangeContainsStartEnd($e,gr,de)){if(Sr!==-1)return Sr}else{var Pr=P.getLineAndCharacterOfPosition(gr).line,He=e.getLineStartPositionForPosition(gr,P),pr=n.SmartIndenter.findFirstNonWhitespaceColumn(He,gr,P,te);if(Pr!==Fe||gr===pr){var Jr=n.SmartIndenter.getBaseIndentation(te);return Jr>pr?Jr:pr}}return-1}function Ge(gr,de,Fe,$e,Sr,Pr){var He=n.SmartIndenter.shouldIndentChildNode(te,gr)?te.indentSize:0;return Pr===de?{indentation:de===Y?U:Sr.getIndentation(),delta:Math.min(te.indentSize,Sr.getDelta(gr)+He)}:Fe===-1?gr.kind===20&&de===Y?{indentation:U,delta:Sr.getDelta(gr)}:n.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement($e,gr,de,P)||n.SmartIndenter.childIsUnindentedBranchOfConditionalExpression($e,gr,de,P)||n.SmartIndenter.argumentStartsOnSameLineAsPreviousArgument($e,gr,de,P)?{indentation:Sr.getIndentation(),delta:He}:{indentation:Sr.getIndentation()+Sr.getDelta(gr),delta:He}:{indentation:Fe,delta:He}}function he(gr){if(gr.modifiers&&gr.modifiers.length)return gr.modifiers[0].kind;switch(gr.kind){case 256:return 84;case 257:return 118;case 255:return 98;case 259:return 259;case 171:return 136;case 172:return 148;case 168:if(gr.asteriskToken)return 41;case 166:case 163:var de=e.getNameOfDeclaration(gr);if(de)return de.kind}}function ve(gr,de,Fe,$e){return{getIndentationForComment:function(He,pr,Jr){switch(He){case 19:case 23:case 21:return Fe+Pr(Jr)}return pr!==-1?pr:Fe},getIndentationForToken:function(He,pr,Jr,ze){return!ze&&Sr(He,pr,Jr)?Fe+Pr(Jr):Fe},getIndentation:function(){return Fe},getDelta:Pr,recomputeIndentation:function(He,pr){n.SmartIndenter.shouldIndentChildNode(te,pr,gr,P)&&(Fe+=He?te.indentSize:-te.indentSize,$e=n.SmartIndenter.shouldIndentChildNode(te,gr)?te.indentSize:0)}};function Sr(He,pr,Jr){switch(pr){case 18:case 19:case 21:case 91:case 115:case 59:return!1;case 43:case 31:switch(Jr.kind){case 279:case 280:case 278:case 227:return!1}break;case 22:case 23:if(Jr.kind!==194)return!1;break}return de!==He&&!(gr.decorators&&pr===he(gr))}function Pr(He){return n.SmartIndenter.nodeWillIndentChild(te,gr,He,P,!0)?$e:0}}function Ve(gr,de,Fe,$e,Sr,Pr){if(!e.rangeOverlapsWithStartEnd(T,gr.getStart(P),gr.getEnd()))return;var He=ve(gr,Fe,Sr,Pr),pr=de;for(e.forEachChild(gr,function(tt){Lr(tt,-1,gr,He,Fe,$e,!1)},function(tt){Yr(tt,gr,Fe,He)});C.isOnToken();){var Jr=C.readTokenInfo(gr);if(Jr.token.end>gr.end)break;lt(Jr,gr,He,gr)}if(!gr.parent&&C.isOnEOF()){var ze=C.readEOFTokenRange();ze.end<=gr.end&&Se&&Xe(ze,P.getLineAndCharacterOfPosition(ze.pos).line,gr,Se,R,Ce,de,He)}function Lr(tt,Rt,cn,bn,In,zn,ir,Or){var sr=tt.getStart(P),ye=P.getLineAndCharacterOfPosition(sr).line,or=ye;tt.decorators&&(or=P.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(tt,P)).line);var fe=-1;if(ir&&e.rangeContainsRange(T,cn)&&(fe=Ie(sr,tt.end,In,T,Rt),fe!==-1&&(Rt=fe)),!e.rangeOverlapsWithStartEnd(T,tt.pos,tt.end))return tt.end<T.pos&&C.skipToEndOf(tt),Rt;if(tt.getFullWidth()===0)return Rt;for(;C.isOnToken();){var je=C.readTokenInfo(gr);if(je.token.end>sr){je.token.pos>sr&&C.skipToStartOf(tt);break}lt(je,gr,bn,gr)}if(!C.isOnToken())return Rt;if(e.isToken(tt)){var je=C.readTokenInfo(tt);if(tt.kind!==11)return e.Debug.assert(je.token.end===tt.end,\"Token end is child end\"),lt(je,gr,bn,tt),Rt}var Ee=tt.kind===164?ye:zn,We=Ge(tt,ye,fe,gr,bn,Ee);return Ve(tt,pr,ye,or,We.indentation,We.delta),pr=gr,Or&&cn.kind===203&&Rt===-1&&(Rt=We.indentation),Rt}function Yr(tt,Rt,cn,bn){e.Debug.assert(e.isNodeArray(tt));var In=Z(Rt,tt),zn=bn,ir=cn;if(In!==0)for(;C.isOnToken();){var Or=C.readTokenInfo(Rt);if(Or.token.end>tt.pos)break;if(Or.token.kind===In){ir=P.getLineAndCharacterOfPosition(Or.token.pos).line,lt(Or,Rt,bn,Rt);var sr=void 0;if(U!==-1)sr=U;else{var ye=e.getLineStartPositionForPosition(Or.token.pos,P);sr=n.SmartIndenter.findFirstNonWhitespaceColumn(ye,Or.token.pos,P,te)}zn=ve(Rt,cn,sr,te.indentSize)}else lt(Or,Rt,bn,Rt)}for(var or=-1,fe=0;fe<tt.length;fe++){var je=tt[fe];or=Lr(je,or,gr,zn,ir,ir,!0,fe===0)}var Ee=ne(In);if(Ee!==0&&C.isOnToken()){var Or=C.readTokenInfo(Rt);if(Or.token.kind===27&&e.isCallLikeExpression(Rt)){var We=P.getLineAndCharacterOfPosition(Or.token.pos).line;ir!==We&&(C.advance(),Or=C.isOnToken()?C.readTokenInfo(Rt):void 0)}Or&&Or.token.kind===Ee&&e.rangeContainsRange(Rt,Or.token)&&lt(Or,Rt,zn,Rt,!0)}}function lt(tt,Rt,cn,bn,In){e.Debug.assert(e.rangeContainsRange(Rt,tt.token));var zn=C.lastTrailingTriviaWasNewLine(),ir=!1;tt.leadingTrivia&&Le(tt.leadingTrivia,Rt,pr,cn);var Or=0,sr=e.rangeContainsRange(T,tt.token),ye=P.getLineAndCharacterOfPosition(tt.token.pos);if(sr){var or=g(tt.token),fe=Se;if(Or=qe(tt.token,ye,Rt,pr,cn),!or)if(Or===0){var je=fe&&P.getLineAndCharacterOfPosition(fe.end).line;ir=zn&&ye.line!==je}else ir=Or===1}if(tt.trailingTrivia&&Le(tt.trailingTrivia,Rt,pr,cn),ir){var Ee=sr&&!g(tt.token)?cn.getIndentationForToken(ye.line,tt.token.kind,bn,!!In):-1,We=!0;if(tt.leadingTrivia){var $=cn.getIndentationForComment(tt.token.kind,Ee,bn);We=_e(tt.leadingTrivia,$,We,function(Ne){return De(Ne.pos,$,!1)})}Ee!==-1&&We&&(De(tt.token.pos,Ee,Or===1),Y=ye.line,U=Ee)}C.advance(),pr=Rt}}function _e(gr,de,Fe,$e){for(var Sr=0,Pr=gr;Sr<Pr.length;Sr++){var He=Pr[Sr],pr=e.rangeContainsRange(T,He);switch(He.kind){case 3:pr&&Dr(He,de,!Fe),Fe=!1;break;case 2:Fe&&pr&&$e(He),Fe=!1;break;case 4:Fe=!0;break}}return Fe}function Le(gr,de,Fe,$e){for(var Sr=0,Pr=gr;Sr<Pr.length;Sr++){var He=Pr[Sr];if(e.isComment(He.kind)&&e.rangeContainsRange(T,He)){var pr=P.getLineAndCharacterOfPosition(He.pos);qe(He,pr,de,Fe,$e)}}}function qe(gr,de,Fe,$e,Sr){var Pr=g(gr),He=0;if(!Pr)if(Se)He=Xe(gr,de.line,Fe,Se,R,Ce,$e,Sr);else{var pr=P.getLineAndCharacterOfPosition(T.pos);br(pr.line,de.line)}return Se=gr,Ce=Fe,R=de.line,He}function Xe(gr,de,Fe,$e,Sr,Pr,He,pr){j.updateContext($e,Pr,gr,Fe,He);var Jr=ue(j),ze=j.options.trimTrailingWhitespace!==!1,Lr=0;return Jr?e.forEachRight(Jr,function(Yr){switch(Lr=ur(Yr,$e,Sr,gr,de),Lr){case 2:Fe.getStart(P)===gr.pos&&pr.recomputeIndentation(!1,He);break;case 1:Fe.getStart(P)===gr.pos&&pr.recomputeIndentation(!0,He);break;default:e.Debug.assert(Lr===0)}ze=ze&&!(Yr.action&16)&&Yr.flags!==1}):ze=ze&&gr.kind!==1,de!==Sr&&ze&&br(Sr,de,$e),Lr}function De(gr,de,Fe){var $e=re(de,te);if(Fe)Me(gr,0,$e);else{var Sr=P.getLineAndCharacterOfPosition(gr),Pr=e.getStartPositionOfLine(Sr.line,P);(de!==Ae(Pr,Sr.character)||Ye($e,Pr))&&Me(Pr,Sr.character,$e)}}function Ae(gr,de){for(var Fe=0,$e=0;$e<de;$e++)P.text.charCodeAt(gr+$e)===9?Fe+=te.tabSize-Fe%te.tabSize:Fe++;return Fe}function Ye(gr,de){return gr!==P.text.substr(de,gr.length)}function Dr(gr,de,Fe,$e){$e===void 0&&($e=!0);var Sr=P.getLineAndCharacterOfPosition(gr.pos).line,Pr=P.getLineAndCharacterOfPosition(gr.end).line;if(Sr===Pr){Fe||De(gr.pos,de,!1);return}for(var He=[],pr=gr.pos,Jr=Sr;Jr<Pr;Jr++){var ze=e.getEndLinePosition(Jr,P);He.push({pos:pr,end:ze}),pr=e.getStartPositionOfLine(Jr+1,P)}if($e&&He.push({pos:pr,end:gr.end}),He.length!==0){var Lr=e.getStartPositionOfLine(Sr,P),Yr=n.SmartIndenter.findFirstNonWhitespaceCharacterAndColumn(Lr,He[0].pos,P,te),lt=0;Fe&&(lt=1,Sr++);for(var tt=de-Yr.column,Rt=lt;Rt<He.length;Rt++,Sr++){var cn=e.getStartPositionOfLine(Sr,P),bn=Rt===0?Yr:n.SmartIndenter.findFirstNonWhitespaceCharacterAndColumn(He[Rt].pos,He[Rt].end,P,te),In=bn.column+tt;if(In>0){var zn=re(In,te);Me(cn,bn.character,zn)}else Ke(cn,bn.character)}}}function br(gr,de,Fe){for(var $e=gr;$e<de;$e++){var Sr=e.getStartPositionOfLine($e,P),Pr=e.getEndLinePosition($e,P);if(!(Fe&&(e.isComment(Fe.kind)||e.isStringOrRegularExpressionOrTemplateLiteral(Fe.kind))&&Fe.pos<=Pr&&Fe.end>Pr)){var He=lr(Sr,Pr);He!==-1&&(e.Debug.assert(He===Sr||!e.isWhiteSpaceSingleLine(P.text.charCodeAt(He-1))),Ke(He,Pr+1-He))}}}function lr(gr,de){for(var Fe=de;Fe>=gr&&e.isWhiteSpaceSingleLine(P.text.charCodeAt(Fe));)Fe--;return Fe!==de?Fe+1:-1}function Ar(gr){for(var de=Se?Se.end:T.pos,Fe=0,$e=gr;Fe<$e.length;Fe++){var Sr=$e[Fe];e.isComment(Sr.kind)&&(de<Sr.pos&&kr(de,Sr.pos-1,Se),de=Sr.end+1)}de<T.end&&kr(de,T.end,Se)}function kr(gr,de,Fe){var $e=P.getLineAndCharacterOfPosition(gr).line,Sr=P.getLineAndCharacterOfPosition(de).line;br($e,Sr+1,Fe)}function Ke(gr,de){de&&K.push(e.createTextChangeFromStartLength(gr,de,\"\"))}function Me(gr,de,Fe){(de||Fe)&&K.push(e.createTextChangeFromStartLength(gr,de,Fe))}function Hr(gr,de){de&&K.push(e.createTextChangeFromStartLength(gr,0,de))}function ur(gr,de,Fe,$e,Sr){var Pr=Sr!==Fe;switch(gr.action){case 1:return 0;case 16:if(de.end!==$e.pos)return Ke(de.end,$e.pos-de.end),Pr?2:0;break;case 32:Ke(de.pos,de.end-de.pos);break;case 8:if(gr.flags!==1&&Fe!==Sr)return 0;var He=Sr-Fe;if(He!==1)return Me(de.end,$e.pos-de.end,e.getNewLineOrDefaultFromHost(X,te)),Pr?0:1;break;case 4:if(gr.flags!==1&&Fe!==Sr)return 0;var pr=$e.pos-de.end;if(pr!==1||P.text.charCodeAt(de.end)!==32)return Me(de.end,$e.pos-de.end,\" \"),Pr?2:0;break;case 64:Hr(de.end,\";\")}return 0}}var O;(function(T){T[T.None=0]=\"None\",T[T.LineAdded=1]=\"LineAdded\",T[T.LineRemoved=2]=\"LineRemoved\"})(O||(O={}));function q(T,N,y,D){D===void 0&&(D=e.getTokenAtPosition(T,N));var C=e.findAncestor(D,e.isJSDoc);C&&(D=C.parent);var m=D.getStart(T);if(!(m<=N&&N<D.getEnd())){y=y===null?void 0:y===void 0?e.findPrecedingToken(N,T):y;var u=y&&e.getTrailingCommentRanges(T.text,y.end),g=e.getLeadingCommentRangesOfNode(D,T),P=e.concatenate(u,g);return P&&e.find(P,function(te){return e.rangeContainsPositionExclusive(te,N)||N===te.end&&(te.kind===2||N===T.getFullWidth())})}}n.getRangeOfEnclosingComment=q;function Z(T,N){switch(T.kind){case 170:case 255:case 212:case 168:case 167:case 213:if(T.typeParameters===N)return 29;if(T.parameters===N)return 20;break;case 207:case 208:if(T.typeArguments===N)return 29;if(T.arguments===N)return 20;break;case 177:if(T.typeArguments===N)return 29;break;case 181:return 18}return 0}function ne(T){switch(T){case 20:return 21;case 29:return 31;case 18:return 19}return 0}var F,Q,V;function re(T,N){var y=!F||F.tabSize!==N.tabSize||F.indentSize!==N.indentSize;if(y&&(F={tabSize:N.tabSize,indentSize:N.indentSize},Q=V=void 0),N.convertTabsToSpaces){var u=void 0,g=Math.floor(T/N.indentSize),P=T%N.indentSize;return V||(V=[]),V[g]===void 0?(u=e.repeatString(\" \",N.indentSize*g),V[g]=u):u=V[g],P?u+e.repeatString(\" \",P):u}else{var D=Math.floor(T/N.tabSize),C=T-D*N.tabSize,m=void 0;return Q||(Q=[]),Q[D]===void 0?Q[D]=m=e.repeatString(\"\t\",D):m=Q[D],C?m+e.repeatString(\" \",C):m}}n.getIndentationString=re})(e.formatting||(e.formatting={}))}(jr||(jr={})),function(e){(function(n){(function(f){var p;(function(u){u[u.Unknown=-1]=\"Unknown\"})(p||(p={}));function a(u,g,P,te){if(te===void 0&&(te=!1),u>g.text.length)return v(P);if(P.indentStyle===e.IndentStyle.None)return 0;var ue=e.findPrecedingToken(u,g,void 0,!0),X=n.getRangeOfEnclosingComment(g,u,ue||null);if(X&&X.kind===3)return d(g,u,P,X);if(!ue)return v(P);var j=e.isStringOrRegularExpressionOrTemplateLiteral(ue.kind);if(j&&ue.getStart(g)<=u&&u<ue.end)return 0;var Se=g.getLineAndCharacterOfPosition(u).line;if(P.indentStyle===e.IndentStyle.Block)return k(g,u,P);if(ue.kind===27&&ue.parent.kind!==220){var Ce=ie(ue,g,P);if(Ce!==-1)return Ce}var R=q(u,ue.parent,g);return R&&!e.rangeContainsRange(R,ue)?F(R,g,P)+P.indentSize:J(g,u,ue,Se,te,P)}f.getIndentation=a;function d(u,g,P,te){var ue=e.getLineAndCharacterOfPosition(u,g).line-1,X=e.getLineAndCharacterOfPosition(u,te.pos).line;if(e.Debug.assert(X>=0),ue<=X)return N(e.getStartPositionOfLine(X,u),g,u,P);var j=e.getStartPositionOfLine(ue,u),Se=T(j,g,u,P),Ce=Se.column,R=Se.character;if(Ce===0)return Ce;var Y=u.text.charCodeAt(j+R);return Y===42?Ce-1:Ce}function k(u,g,P){for(var te=g;te>0;){var ue=u.text.charCodeAt(te);if(!e.isWhiteSpaceLike(ue))break;te--}var X=e.getLineStartPositionForPosition(te,u);return N(X,te,u,P)}function J(u,g,P,te,ue,X){for(var j,Se=P;Se;){if(e.positionBelongsToNode(Se,g,u)&&C(X,Se,j,u,!0)){var Ce=B(Se,u),R=S(P,Se,te,u),Y=R!==0?ue&&R===2?X.indentSize:0:te!==Ce.line?X.indentSize:0;return A(Se,Ce,void 0,Y,u,!0,X)}var U=Q(Se,u,X,!0);if(U!==-1)return U;j=Se,Se=Se.parent}return v(X)}function h(u,g,P,te){var ue=P.getLineAndCharacterOfPosition(u.getStart(P));return A(u,ue,g,0,P,!1,te)}f.getIndentationForNode=h;function v(u){return u.baseIndentSize||0}f.getBaseIndentation=v;function A(u,g,P,te,ue,X,j){for(var Se,Ce=u.parent;Ce;){var R=!0;if(P){var Y=u.getStart(ue);R=Y<P.pos||Y>P.end}var U=z(Ce,u,ue),K=U.line===g.line||I(Ce,u,g.line,ue);if(R){var Te=(Se=O(u,ue))===null||Se===void 0?void 0:Se[0],ge=!!Te&&B(Te,ue).line>U.line,ke=Q(u,ue,j,ge);if(ke!==-1||(ke=b(u,Ce,g,K,ue,j),ke!==-1))return ke+te}C(j,Ce,u,ue,X)&&!K&&(te+=j.indentSize);var Pe=H(Ce,u,g.line,ue);u=Ce,Ce=u.parent,g=Pe?ue.getLineAndCharacterOfPosition(u.getStart(ue)):U}return te+v(j)}function z(u,g,P){var te=O(g,P),ue=te?te.pos:u.getStart(P);return P.getLineAndCharacterOfPosition(ue)}function ie(u,g,P){var te=e.findListItemInfo(u);return te&&te.listItemIndex>0?V(te.list.getChildren(),te.listItemIndex-1,g,P):-1}function b(u,g,P,te,ue,X){var j=(e.isDeclaration(u)||e.isStatementButNotDeclaration(u))&&(g.kind===303||!te);return j?re(P,ue,X):-1}var M;(function(u){u[u.Unknown=0]=\"Unknown\",u[u.OpenBrace=1]=\"OpenBrace\",u[u.CloseBrace=2]=\"CloseBrace\"})(M||(M={}));function S(u,g,P,te){var ue=e.findNextToken(u,g,te);if(!ue)return 0;if(ue.kind===18)return 1;if(ue.kind===19){var X=B(ue,te).line;return P===X?2:0}return 0}function B(u,g){return g.getLineAndCharacterOfPosition(u.getStart(g))}function H(u,g,P,te){if(!(e.isCallExpression(u)&&e.contains(u.arguments,g)))return!1;var ue=u.expression.getEnd(),X=e.getLineAndCharacterOfPosition(te,ue).line;return X===P}f.isArgumentAndStartLineOverlapsExpressionBeingCalled=H;function I(u,g,P,te){if(u.kind===238&&u.elseStatement===g){var ue=e.findChildOfKind(u,91,te);e.Debug.assert(ue!==void 0);var X=B(ue,te).line;return X===P}return!1}f.childStartsOnTheSameLineWithElseInIfStatement=I;function w(u,g,P,te){if(e.isConditionalExpression(u)&&(g===u.whenTrue||g===u.whenFalse)){var ue=e.getLineAndCharacterOfPosition(te,u.condition.end).line;if(g===u.whenTrue)return P===ue;var X=B(u.whenTrue,te).line,j=e.getLineAndCharacterOfPosition(te,u.whenTrue.end).line;return ue===X&&j===P}return!1}f.childIsUnindentedBranchOfConditionalExpression=w;function x(u,g,P,te){if(e.isCallOrNewExpression(u)){if(!u.arguments)return!1;var ue=e.find(u.arguments,function(Ce){return Ce.pos===g.pos});if(!ue)return!1;var X=u.arguments.indexOf(ue);if(X===0)return!1;var j=u.arguments[X-1],Se=e.getLineAndCharacterOfPosition(te,j.getEnd()).line;if(P===Se)return!0}return!1}f.argumentStartsOnSameLineAsPreviousArgument=x;function O(u,g){return u.parent&&Z(u.getStart(g),u.getEnd(),u.parent,g)}f.getContainingList=O;function q(u,g,P){return g&&Z(u,u,g,P)}function Z(u,g,P,te){switch(P.kind){case 177:return ue(P.typeArguments);case 204:return ue(P.properties);case 203:return ue(P.elements);case 181:return ue(P.members);case 255:case 212:case 213:case 168:case 167:case 173:case 170:case 179:case 174:return ue(P.typeParameters)||ue(P.parameters);case 256:case 225:case 257:case 258:case 342:return ue(P.typeParameters);case 208:case 207:return ue(P.typeArguments)||ue(P.arguments);case 254:return ue(P.declarations);case 268:case 272:return ue(P.elements);case 200:case 201:return ue(P.elements)}function ue(X){return X&&e.rangeContainsStartEnd(ne(P,X,te),u,g)?X:void 0}}function ne(u,g,P){for(var te=u.getChildren(P),ue=1;ue<te.length-1;ue++)if(te[ue].pos===g.pos&&te[ue].end===g.end)return{pos:te[ue-1].end,end:te[ue+1].getStart(P)};return g}function F(u,g,P){return u?re(g.getLineAndCharacterOfPosition(u.pos),g,P):-1}function Q(u,g,P,te){if(u.parent&&u.parent.kind===254)return-1;var ue=O(u,g);if(ue){var X=ue.indexOf(u);if(X!==-1){var j=V(ue,X,g,P);if(j!==-1)return j}return F(ue,g,P)+(te?P.indentSize:0)}return-1}function V(u,g,P,te){e.Debug.assert(g>=0&&g<u.length);for(var ue=u[g],X=B(ue,P),j=g-1;j>=0;j--)if(u[j].kind!==27){var Se=P.getLineAndCharacterOfPosition(u[j].end).line;if(Se!==X.line)return re(X,P,te);X=B(u[j],P)}return-1}function re(u,g,P){var te=g.getPositionOfLineAndCharacter(u.line,0);return N(te,te+u.character,g,P)}function T(u,g,P,te){for(var ue=0,X=0,j=u;j<g;j++){var Se=P.text.charCodeAt(j);if(!e.isWhiteSpaceSingleLine(Se))break;Se===9?X+=te.tabSize+X%te.tabSize:X++,ue++}return{column:X,character:ue}}f.findFirstNonWhitespaceCharacterAndColumn=T;function N(u,g,P,te){return T(u,g,P,te).column}f.findFirstNonWhitespaceColumn=N;function y(u,g,P,te,ue){var X=P?P.kind:0;switch(g.kind){case 237:case 256:case 225:case 257:case 259:case 258:case 203:case 234:case 261:case 204:case 181:case 194:case 183:case 262:case 289:case 288:case 211:case 205:case 207:case 208:case 236:case 270:case 246:case 221:case 201:case 200:case 279:case 282:case 278:case 287:case 167:case 173:case 174:case 163:case 178:case 179:case 190:case 209:case 217:case 272:case 268:case 274:case 269:case 166:return!0;case 253:case 294:case 220:if(!u.indentMultiLineObjectLiteralBeginningOnBlankLine&&te&&X===204)return m(te,P);if(g.kind===220&&te&&P&&X===277){var j=te.getLineAndCharacterOfPosition(e.skipTrivia(te.text,g.pos)).line,Se=te.getLineAndCharacterOfPosition(e.skipTrivia(te.text,P.pos)).line;return j!==Se}if(g.kind!==220)return!0;break;case 239:case 240:case 242:case 243:case 241:case 238:case 255:case 212:case 168:case 170:case 171:case 172:return X!==234;case 213:return te&&X===211?m(te,P):X!==234;case 271:return X!==272;case 265:return X!==266||!!P.namedBindings&&P.namedBindings.kind!==268;case 277:return X!==280;case 281:return X!==283;case 187:case 186:if(X===181||X===183)return!1;break}return ue}f.nodeWillIndentChild=y;function D(u,g){switch(u){case 246:case 250:case 244:case 245:return g.kind!==234;default:return!1}}function C(u,g,P,te,ue){return ue===void 0&&(ue=!1),y(u,g,P,te,!1)&&!(ue&&P&&D(P.kind,g))}f.shouldIndentChildNode=C;function m(u,g){var P=e.skipTrivia(u.text,g.pos),te=u.getLineAndCharacterOfPosition(P).line,ue=u.getLineAndCharacterOfPosition(g.end).line;return te===ue}})(n.SmartIndenter||(n.SmartIndenter={}))})(e.formatting||(e.formatting={}))}(jr||(jr={})),function(e){(function(n){function f(u){var g=u.__pos;return e.Debug.assert(typeof g==\"number\"),g}function p(u,g){e.Debug.assert(typeof g==\"number\"),u.__pos=g}function a(u){var g=u.__end;return e.Debug.assert(typeof g==\"number\"),g}function d(u,g){e.Debug.assert(typeof g==\"number\"),u.__end=g}var k;(function(u){u[u.Exclude=0]=\"Exclude\",u[u.IncludeAll=1]=\"IncludeAll\",u[u.JSDoc=2]=\"JSDoc\",u[u.StartLine=3]=\"StartLine\"})(k=n.LeadingTriviaOption||(n.LeadingTriviaOption={}));var J;(function(u){u[u.Exclude=0]=\"Exclude\",u[u.ExcludeWhitespace=1]=\"ExcludeWhitespace\",u[u.Include=2]=\"Include\"})(J=n.TrailingTriviaOption||(n.TrailingTriviaOption={}));function h(u,g){return e.skipTrivia(u,g,!1,!0)}function v(u,g){for(var P=g;P<u.length;){var te=u.charCodeAt(P);if(e.isWhiteSpaceSingleLine(te)){P++;continue}return te===47}return!1}var A={leadingTriviaOption:k.Exclude,trailingTriviaOption:J.Exclude},z;(function(u){u[u.Remove=0]=\"Remove\",u[u.ReplaceWithSingleNode=1]=\"ReplaceWithSingleNode\",u[u.ReplaceWithMultipleNodes=2]=\"ReplaceWithMultipleNodes\",u[u.Text=3]=\"Text\"})(z||(z={}));function ie(u,g,P,te){return{pos:b(u,g,te),end:S(u,P,te)}}function b(u,g,P,te){var ue,X;te===void 0&&(te=!1);var j=P.leadingTriviaOption;if(j===k.Exclude)return g.getStart(u);if(j===k.StartLine){var Se=g.getStart(u),Ce=e.getLineStartPositionForPosition(Se,u);return e.rangeContainsPosition(g,Ce)?Ce:Se}if(j===k.JSDoc){var R=e.getJSDocCommentRanges(g,u.text);if(R!=null&&R.length)return e.getLineStartPositionForPosition(R[0].pos,u)}var Y=g.getFullStart(),U=g.getStart(u);if(Y===U)return U;var K=e.getLineStartPositionForPosition(Y,u),Te=e.getLineStartPositionForPosition(U,u);if(Te===K)return j===k.IncludeAll?Y:U;if(te){var ge=((ue=e.getLeadingCommentRanges(u.text,Y))===null||ue===void 0?void 0:ue[0])||((X=e.getTrailingCommentRanges(u.text,Y))===null||X===void 0?void 0:X[0]);if(ge)return e.skipTrivia(u.text,ge.end,!0,!0)}var ke=Y>0?1:0,Pe=e.getStartPositionOfLine(e.getLineOfLocalPosition(u,K)+ke,u);return Pe=h(u.text,Pe),e.getStartPositionOfLine(e.getLineOfLocalPosition(u,Pe),u)}function M(u,g,P){var te=g.end,ue=P.trailingTriviaOption;if(ue===J.Include){var X=e.getTrailingCommentRanges(u.text,te);if(X)for(var j=e.getLineOfLocalPosition(u,g.end),Se=0,Ce=X;Se<Ce.length;Se++){var R=Ce[Se];if(R.kind===2||e.getLineOfLocalPosition(u,R.pos)>j)break;var Y=e.getLineOfLocalPosition(u,R.end);if(Y>j)return e.skipTrivia(u.text,R.end,!0,!0)}}}function S(u,g,P){var te,ue=g.end,X=P.trailingTriviaOption;if(X===J.Exclude)return ue;if(X===J.ExcludeWhitespace){var j=e.concatenate(e.getTrailingCommentRanges(u.text,ue),e.getLeadingCommentRanges(u.text,ue)),Se=(te=j==null?void 0:j[j.length-1])===null||te===void 0?void 0:te.end;return Se||ue}var Ce=M(u,g,P);if(Ce)return Ce;var R=e.skipTrivia(u.text,ue,!0);return R!==ue&&(X===J.Include||e.isLineBreak(u.text.charCodeAt(R-1)))?R:ue}function B(u,g){return!!g&&!!u.parent&&(g.kind===27||g.kind===26&&u.parent.kind===204)}function H(u){return e.isFunctionExpression(u)||e.isFunctionDeclaration(u)}n.isThisTypeAnnotatable=H;var I=function(){function u(g,P){this.newLineCharacter=g,this.formatContext=P,this.changes=[],this.newFiles=[],this.classesWithNodesInsertedAtStart=new e.Map,this.deletedNodes=[]}return u.fromContext=function(g){return new u(e.getNewLineOrDefaultFromHost(g.host,g.formatContext.options),g.formatContext)},u.with=function(g,P){var te=u.fromContext(g);return P(te),te.getChanges()},u.prototype.pushRaw=function(g,P){e.Debug.assertEqual(g.fileName,P.fileName);for(var te=0,ue=P.textChanges;te<ue.length;te++){var X=ue[te];this.changes.push({kind:z.Text,sourceFile:g,text:X.newText,range:e.createTextRangeFromSpan(X.span)})}},u.prototype.deleteRange=function(g,P){this.changes.push({kind:z.Remove,sourceFile:g,range:P})},u.prototype.delete=function(g,P){this.deletedNodes.push({sourceFile:g,node:P})},u.prototype.deleteNode=function(g,P,te){te===void 0&&(te={leadingTriviaOption:k.IncludeAll}),this.deleteRange(g,ie(g,P,P,te))},u.prototype.deleteNodes=function(g,P,te,ue){te===void 0&&(te={leadingTriviaOption:k.IncludeAll});for(var X=0,j=P;X<j.length;X++){var Se=j[X],Ce=b(g,Se,te,ue),R=S(g,Se,te);this.deleteRange(g,{pos:Ce,end:R}),ue=!!M(g,Se,te)}},u.prototype.deleteModifier=function(g,P){this.deleteRange(g,{pos:P.getStart(g),end:e.skipTrivia(g.text,P.end,!0)})},u.prototype.deleteNodeRange=function(g,P,te,ue){ue===void 0&&(ue={leadingTriviaOption:k.IncludeAll});var X=b(g,P,ue),j=S(g,te,ue);this.deleteRange(g,{pos:X,end:j})},u.prototype.deleteNodeRangeExcludingEnd=function(g,P,te,ue){ue===void 0&&(ue={leadingTriviaOption:k.IncludeAll});var X=b(g,P,ue),j=te===void 0?g.text.length:b(g,te,ue);this.deleteRange(g,{pos:X,end:j})},u.prototype.replaceRange=function(g,P,te,ue){ue===void 0&&(ue={}),this.changes.push({kind:z.ReplaceWithSingleNode,sourceFile:g,range:P,options:ue,node:te})},u.prototype.replaceNode=function(g,P,te,ue){ue===void 0&&(ue=A),this.replaceRange(g,ie(g,P,P,ue),te,ue)},u.prototype.replaceNodeRange=function(g,P,te,ue,X){X===void 0&&(X=A),this.replaceRange(g,ie(g,P,te,X),ue,X)},u.prototype.replaceRangeWithNodes=function(g,P,te,ue){ue===void 0&&(ue={}),this.changes.push({kind:z.ReplaceWithMultipleNodes,sourceFile:g,range:P,options:ue,nodes:te})},u.prototype.replaceNodeWithNodes=function(g,P,te,ue){ue===void 0&&(ue=A),this.replaceRangeWithNodes(g,ie(g,P,P,ue),te,ue)},u.prototype.replaceNodeWithText=function(g,P,te){this.replaceRangeWithText(g,ie(g,P,P,A),te)},u.prototype.replaceNodeRangeWithNodes=function(g,P,te,ue,X){X===void 0&&(X=A),this.replaceRangeWithNodes(g,ie(g,P,te,X),ue,X)},u.prototype.nodeHasTrailingComment=function(g,P,te){return te===void 0&&(te=A),!!M(g,P,te)},u.prototype.nextCommaToken=function(g,P){var te=e.findNextToken(P,P.parent,g);return te&&te.kind===27?te:void 0},u.prototype.replacePropertyAssignment=function(g,P,te){var ue=this.nextCommaToken(g,P)?\"\":\",\"+this.newLineCharacter;this.replaceNode(g,P,te,{suffix:ue})},u.prototype.insertNodeAt=function(g,P,te,ue){ue===void 0&&(ue={}),this.replaceRange(g,e.createRange(P),te,ue)},u.prototype.insertNodesAt=function(g,P,te,ue){ue===void 0&&(ue={}),this.replaceRangeWithNodes(g,e.createRange(P),te,ue)},u.prototype.insertNodeAtTopOfFile=function(g,P,te){this.insertAtTopOfFile(g,P,te)},u.prototype.insertNodesAtTopOfFile=function(g,P,te){this.insertAtTopOfFile(g,P,te)},u.prototype.insertAtTopOfFile=function(g,P,te){var ue=T(g),X={prefix:ue===0?void 0:this.newLineCharacter,suffix:(e.isLineBreak(g.text.charCodeAt(ue))?\"\":this.newLineCharacter)+(te?this.newLineCharacter:\"\")};e.isArray(P)?this.insertNodesAt(g,ue,P,X):this.insertNodeAt(g,ue,P,X)},u.prototype.insertFirstParameter=function(g,P,te){var ue=e.firstOrUndefined(P);ue?this.insertNodeBefore(g,ue,te):this.insertNodeAt(g,P.pos,te)},u.prototype.insertNodeBefore=function(g,P,te,ue,X){ue===void 0&&(ue=!1),X===void 0&&(X={}),this.insertNodeAt(g,b(g,P,X),te,this.getOptionsForInsertNodeBefore(P,te,ue))},u.prototype.insertModifierAt=function(g,P,te,ue){ue===void 0&&(ue={}),this.insertNodeAt(g,P,e.factory.createToken(te),ue)},u.prototype.insertModifierBefore=function(g,P,te){return this.insertModifierAt(g,te.getStart(g),P,{suffix:\" \"})},u.prototype.insertCommentBeforeLine=function(g,P,te,ue){var X=e.getStartPositionOfLine(P,g),j=e.getFirstNonSpaceCharacterPosition(g.text,X),Se=N(g,j),Ce=e.getTouchingToken(g,Se?j:te),R=g.text.slice(X,j),Y=\"\".concat(Se?\"\":this.newLineCharacter,\"//\").concat(ue).concat(this.newLineCharacter).concat(R);this.insertText(g,Ce.getStart(g),Y)},u.prototype.insertJsdocCommentBefore=function(g,P,te){var ue=P.getStart(g);if(P.jsDoc)for(var X=0,j=P.jsDoc;X<j.length;X++){var Se=j[X];this.deleteRange(g,{pos:e.getLineStartPositionForPosition(Se.getStart(g),g),end:S(g,Se,{})})}var Ce=e.getPrecedingNonSpaceCharacterPosition(g.text,ue-1),R=g.text.slice(Ce,ue);this.insertNodeAt(g,ue,te,{preserveLeadingWhitespace:!1,suffix:this.newLineCharacter+R})},u.prototype.replaceRangeWithText=function(g,P,te){this.changes.push({kind:z.Text,sourceFile:g,range:P,text:te})},u.prototype.insertText=function(g,P,te){this.replaceRangeWithText(g,e.createRange(P),te)},u.prototype.tryInsertTypeAnnotation=function(g,P,te){var ue,X;if(e.isFunctionLike(P)){if(X=e.findChildOfKind(P,21,g),!X){if(!e.isArrowFunction(P))return!1;X=e.first(P.parameters)}}else X=(ue=P.kind===253?P.exclamationToken:P.questionToken)!==null&&ue!==void 0?ue:P.name;return this.insertNodeAt(g,X.end,te,{prefix:\": \"}),!0},u.prototype.tryInsertThisTypeAnnotation=function(g,P,te){var ue=e.findChildOfKind(P,20,g).getStart(g)+1,X=P.parameters.length?\", \":\"\";this.insertNodeAt(g,ue,te,{prefix:\"this: \",suffix:X})},u.prototype.insertTypeParameters=function(g,P,te){var ue=(e.findChildOfKind(P,20,g)||e.first(P.parameters)).getStart(g);this.insertNodesAt(g,ue,te,{prefix:\"<\",suffix:\">\",joiner:\", \"})},u.prototype.getOptionsForInsertNodeBefore=function(g,P,te){return e.isStatement(g)||e.isClassElement(g)?{suffix:te?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:e.isVariableDeclaration(g)?{suffix:\", \"}:e.isParameter(g)?e.isParameter(P)?{suffix:\", \"}:{}:e.isStringLiteral(g)&&e.isImportDeclaration(g.parent)||e.isNamedImports(g)?{suffix:\", \"}:e.isImportSpecifier(g)?{suffix:\",\"+(te?this.newLineCharacter:\" \")}:e.Debug.failBadSyntaxKind(g)},u.prototype.insertNodeAtConstructorStart=function(g,P,te){var ue=e.firstOrUndefined(P.body.statements);!ue||!P.body.multiLine?this.replaceConstructorBody(g,P,Gt([te],P.body.statements,!0)):this.insertNodeBefore(g,ue,te)},u.prototype.insertNodeAtConstructorStartAfterSuperCall=function(g,P,te){var ue=e.find(P.body.statements,function(X){return e.isExpressionStatement(X)&&e.isSuperCall(X.expression)});!ue||!P.body.multiLine?this.replaceConstructorBody(g,P,Gt(Gt([],P.body.statements,!0),[te],!1)):this.insertNodeAfter(g,ue,te)},u.prototype.insertNodeAtConstructorEnd=function(g,P,te){var ue=e.lastOrUndefined(P.body.statements);!ue||!P.body.multiLine?this.replaceConstructorBody(g,P,Gt(Gt([],P.body.statements,!0),[te],!1)):this.insertNodeAfter(g,ue,te)},u.prototype.replaceConstructorBody=function(g,P,te){this.replaceNode(g,P.body,e.factory.createBlock(te,!0))},u.prototype.insertNodeAtEndOfScope=function(g,P,te){var ue=b(g,P.getLastToken(),{});this.insertNodeAt(g,ue,te,{prefix:e.isLineBreak(g.text.charCodeAt(P.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})},u.prototype.insertNodeAtClassStart=function(g,P,te){this.insertNodeAtStartWorker(g,P,te)},u.prototype.insertNodeAtObjectStart=function(g,P,te){this.insertNodeAtStartWorker(g,P,te)},u.prototype.insertNodeAtStartWorker=function(g,P,te){var ue,X=(ue=this.guessIndentationFromExistingMembers(g,P))!==null&&ue!==void 0?ue:this.computeIndentationForNewMember(g,P);this.insertNodeAt(g,O(P).pos,te,this.getInsertNodeAtStartInsertOptions(g,P,X))},u.prototype.guessIndentationFromExistingMembers=function(g,P){for(var te,ue=P,X=0,j=O(P);X<j.length;X++){var Se=j[X];if(e.rangeStartPositionsAreOnSameLine(ue,Se,g))return;var Ce=Se.getStart(g),R=e.formatting.SmartIndenter.findFirstNonWhitespaceColumn(e.getLineStartPositionForPosition(Ce,g),Ce,g,this.formatContext.options);if(te===void 0)te=R;else if(R!==te)return;ue=Se}return te},u.prototype.computeIndentationForNewMember=function(g,P){var te,ue=P.getStart(g);return e.formatting.SmartIndenter.findFirstNonWhitespaceColumn(e.getLineStartPositionForPosition(ue,g),ue,g,this.formatContext.options)+((te=this.formatContext.options.indentSize)!==null&&te!==void 0?te:4)},u.prototype.getInsertNodeAtStartInsertOptions=function(g,P,te){var ue=O(P),X=ue.length===0,j=e.addToSeen(this.classesWithNodesInsertedAtStart,e.getNodeId(P),{node:P,sourceFile:g}),Se=e.isObjectLiteralExpression(P)&&(!e.isJsonSourceFile(g)||!X),Ce=e.isObjectLiteralExpression(P)&&e.isJsonSourceFile(g)&&X&&!j;return{indentation:te,prefix:(Ce?\",\":\"\")+this.newLineCharacter,suffix:Se?\",\":\"\"}},u.prototype.insertNodeAfterComma=function(g,P,te){var ue=this.insertNodeAfterWorker(g,this.nextCommaToken(g,P)||P,te);this.insertNodeAt(g,ue,te,this.getInsertNodeAfterOptions(g,P))},u.prototype.insertNodeAfter=function(g,P,te){var ue=this.insertNodeAfterWorker(g,P,te);this.insertNodeAt(g,ue,te,this.getInsertNodeAfterOptions(g,P))},u.prototype.insertNodeAtEndOfList=function(g,P,te){this.insertNodeAt(g,P.end,te,{prefix:\", \"})},u.prototype.insertNodesAfter=function(g,P,te){var ue=this.insertNodeAfterWorker(g,P,e.first(te));this.insertNodesAt(g,ue,te,this.getInsertNodeAfterOptions(g,P))},u.prototype.insertNodeAfterWorker=function(g,P,te){y(P,te)&&g.text.charCodeAt(P.end-1)!==59&&this.replaceRange(g,e.createRange(P.end),e.factory.createToken(26));var ue=S(g,P,{});return ue},u.prototype.getInsertNodeAfterOptions=function(g,P){var te=this.getInsertNodeAfterOptionsWorker(P);return Rn(Rn({},te),{prefix:P.end===g.end&&e.isStatement(P)?te.prefix?`\n`.concat(te.prefix):`\n`:te.prefix})},u.prototype.getInsertNodeAfterOptionsWorker=function(g){switch(g.kind){case 256:case 260:return{prefix:this.newLineCharacter,suffix:this.newLineCharacter};case 253:case 10:case 79:return{prefix:\", \"};case 294:return{suffix:\",\"+this.newLineCharacter};case 93:return{prefix:\" \"};case 163:return{};default:return e.Debug.assert(e.isStatement(g)||e.isClassOrTypeElement(g)),{suffix:this.newLineCharacter}}},u.prototype.insertName=function(g,P,te){if(e.Debug.assert(!P.name),P.kind===213){var ue=e.findChildOfKind(P,38,g),X=e.findChildOfKind(P,20,g);X?(this.insertNodesAt(g,X.getStart(g),[e.factory.createToken(98),e.factory.createIdentifier(te)],{joiner:\" \"}),C(this,g,ue)):(this.insertText(g,e.first(P.parameters).getStart(g),\"function \".concat(te,\"(\")),this.replaceRange(g,ue,e.factory.createToken(21))),P.body.kind!==234&&(this.insertNodesAt(g,P.body.getStart(g),[e.factory.createToken(18),e.factory.createToken(105)],{joiner:\" \",suffix:\" \"}),this.insertNodesAt(g,P.body.end,[e.factory.createToken(26),e.factory.createToken(19)],{joiner:\" \"}))}else{var j=e.findChildOfKind(P,P.kind===212?98:84,g).end;this.insertNodeAt(g,j,e.factory.createIdentifier(te),{prefix:\" \"})}},u.prototype.insertExportModifier=function(g,P){this.insertText(g,P.getStart(g),\"export \")},u.prototype.insertNodeInListAfter=function(g,P,te,ue){if(ue===void 0&&(ue=e.formatting.SmartIndenter.getContainingList(P,g)),!ue){e.Debug.fail(\"node is not a list element\");return}var X=e.indexOfNode(ue,P);if(!(X<0)){var j=P.getEnd();if(X!==ue.length-1){var Se=e.getTokenAtPosition(g,P.end);if(Se&&B(P,Se)){var Ce=ue[X+1],R=h(g.text,Ce.getFullStart()),Y=\"\".concat(e.tokenToString(Se.kind)).concat(g.text.substring(Se.end,R));this.insertNodesAt(g,R,[te],{suffix:Y})}}else{var U=P.getStart(g),K=e.getLineStartPositionForPosition(U,g),Te=void 0,ge=!1;if(ue.length===1)Te=27;else{var ke=e.findPrecedingToken(P.pos,g);Te=B(P,ke)?ke.kind:27;var Pe=e.getLineStartPositionForPosition(ue[X-1].getStart(g),g);ge=Pe!==K}if(v(g.text,P.end)&&(ge=!0),ge){this.replaceRange(g,e.createRange(j),e.factory.createToken(Te));for(var Ie=e.formatting.SmartIndenter.findFirstNonWhitespaceColumn(K,U,g,this.formatContext.options),Ge=e.skipTrivia(g.text,j,!0,!1);Ge!==j&&e.isLineBreak(g.text.charCodeAt(Ge-1));)Ge--;this.replaceRange(g,e.createRange(Ge),te,{indentation:Ie,prefix:this.newLineCharacter})}else this.replaceRange(g,e.createRange(j),te,{prefix:\"\".concat(e.tokenToString(Te),\" \")})}}},u.prototype.parenthesizeExpression=function(g,P){this.replaceRange(g,e.rangeOfNode(P),e.factory.createParenthesizedExpression(P))},u.prototype.finishClassesWithNodesInsertedAtStart=function(){var g=this;this.classesWithNodesInsertedAtStart.forEach(function(P){var te=P.node,ue=P.sourceFile,X=x(te,ue),j=X[0],Se=X[1];if(j!==void 0&&Se!==void 0){var Ce=O(te).length===0,R=e.positionsAreOnSameLine(j,Se,ue);Ce&&R&&j!==Se-1&&g.deleteRange(ue,e.createRange(j,Se-1)),R&&g.insertText(ue,Se-1,g.newLineCharacter)}})},u.prototype.finishDeleteDeclarations=function(){for(var g=this,P=new e.Set,te=function(Y,U){ue.deletedNodes.some(function(K){return K.sourceFile===Y&&e.rangeContainsRangeExclusive(K.node,U)})||(e.isArray(U)?ue.deleteRange(Y,e.rangeOfTypeParameters(Y,U)):D.deleteDeclaration(ue,P,Y,U))},ue=this,X=0,j=this.deletedNodes;X<j.length;X++){var Se=j[X],Ce=Se.sourceFile,R=Se.node;te(Ce,R)}P.forEach(function(Y){var U=Y.getSourceFile(),K=e.formatting.SmartIndenter.getContainingList(Y,U);if(Y===e.last(K)){var Te=e.findLastIndex(K,function(ge){return!P.has(ge)},K.length-2);Te!==-1&&g.deleteRange(U,{pos:K[Te].end,end:w(U,K[Te+1])})}})},u.prototype.getChanges=function(g){this.finishDeleteDeclarations(),this.finishClassesWithNodesInsertedAtStart();for(var P=Z.getTextChangesFromChanges(this.changes,this.newLineCharacter,this.formatContext,g),te=0,ue=this.newFiles;te<ue.length;te++){var X=ue[te],j=X.oldFile,Se=X.fileName,Ce=X.statements;P.push(Z.newFileChanges(j,Se,Ce,this.newLineCharacter,this.formatContext))}return P},u.prototype.createNewFile=function(g,P,te){this.newFiles.push({oldFile:g,fileName:P,statements:te})},u}();n.ChangeTracker=I;function w(u,g){return e.skipTrivia(u.text,b(u,g,{leadingTriviaOption:k.IncludeAll}),!1,!0)}function x(u,g){var P=e.findChildOfKind(u,18,g),te=e.findChildOfKind(u,19,g);return[P==null?void 0:P.end,te==null?void 0:te.end]}function O(u){return e.isObjectLiteralExpression(u)?u.properties:u.members}function q(u,g,P,te){return Z.newFileChangesWorker(void 0,g,u,P,te)}n.getNewFileText=q;var Z;(function(u){function g(Ce,R,Y,U){return e.mapDefined(e.group(Ce,function(K){return K.sourceFile.path}),function(K){for(var Te=K[0].sourceFile,ge=e.stableSort(K,function(Ge,he){return Ge.range.pos-he.range.pos||Ge.range.end-he.range.end}),ke=function(Ge){e.Debug.assert(ge[Ge].range.end<=ge[Ge+1].range.pos,\"Changes overlap\",function(){return\"\".concat(JSON.stringify(ge[Ge].range),\" and \").concat(JSON.stringify(ge[Ge+1].range))})},Pe=0;Pe<ge.length-1;Pe++)ke(Pe);var Ie=e.mapDefined(ge,function(Ge){var he=e.createTextSpanFromRange(Ge.range),ve=ue(Ge,Te,R,Y,U);if(!(he.length===ve.length&&e.stringContainsAt(Te.text,ve,he.start)))return e.createTextChange(he,ve)});return Ie.length>0?{fileName:Te.fileName,textChanges:Ie}:void 0})}u.getTextChangesFromChanges=g;function P(Ce,R,Y,U,K){var Te=te(Ce,e.getScriptKindFromFileName(R),Y,U,K);return{fileName:R,textChanges:[e.createTextChange(e.createTextSpan(0,0),Te)],isNewFile:!0}}u.newFileChanges=P;function te(Ce,R,Y,U,K){var Te=Y.map(function(Pe){return Pe===4?\"\":Se(Pe,Ce,U).text}).join(U),ge=e.createSourceFile(\"any file name\",Te,99,!0,R),ke=e.formatting.formatDocument(ge,K);return ne(Te,ke)+U}u.newFileChangesWorker=te;function ue(Ce,R,Y,U,K){var Te;if(Ce.kind===z.Remove)return\"\";if(Ce.kind===z.Text)return Ce.text;var ge=Ce.options,ke=ge===void 0?{}:ge,Pe=Ce.range.pos,Ie=function(ve){return j(ve,R,Pe,ke,Y,U,K)},Ge=Ce.kind===z.ReplaceWithMultipleNodes?Ce.nodes.map(function(ve){return e.removeSuffix(Ie(ve),Y)}).join(((Te=Ce.options)===null||Te===void 0?void 0:Te.joiner)||Y):Ie(Ce.node),he=ke.preserveLeadingWhitespace||ke.indentation!==void 0||e.getLineStartPositionForPosition(Pe,R)===Pe?Ge:Ge.replace(/^\\s+/,\"\");return(ke.prefix||\"\")+he+(!ke.suffix||e.endsWith(he,ke.suffix)?\"\":ke.suffix)}function X(Ce,R){var Y=Ce.options,U=!Y.semicolons||Y.semicolons===e.SemicolonPreference.Ignore,K=Y.semicolons===e.SemicolonPreference.Remove||U&&!e.probablyUsesSemicolons(R);return Rn(Rn({},Y),{semicolons:K?e.SemicolonPreference.Remove:e.SemicolonPreference.Ignore})}function j(Ce,R,Y,U,K,Te,ge){var ke=U.indentation,Pe=U.prefix,Ie=U.delta,Ge=Se(Ce,R,K),he=Ge.node,ve=Ge.text;ge&&ge(he,ve);var Ve=X(Te,R),_e=ke!==void 0?ke:e.formatting.SmartIndenter.getIndentation(Y,R,Ve,Pe===K||e.getLineStartPositionForPosition(Y,R)===Y);Ie===void 0&&(Ie=e.formatting.SmartIndenter.shouldIndentChildNode(Ve,Ce)&&Ve.indentSize||0);var Le={text:ve,getLineAndCharacterOfPosition:function(Xe){return e.getLineAndCharacterOfPosition(this,Xe)}},qe=e.formatting.formatNodeGivenIndentation(he,Le,R.languageVariant,_e,Ie,Rn(Rn({},Te),{options:Ve}));return ne(ve,qe)}function Se(Ce,R,Y){var U=re(Y),K=e.getNewLineKind(Y);return e.createPrinter({newLine:K,neverAsciiEscape:!0,preserveSourceNewlines:!0,terminateUnterminatedLiterals:!0},U).writeNode(4,Ce,R,U),{text:U.getText(),node:Q(Ce)}}u.getNonformattedText=Se})(Z||(Z={}));function ne(u,g){for(var P=g.length-1;P>=0;P--){var te=g[P],ue=te.span,X=te.newText;u=\"\".concat(u.substring(0,ue.start)).concat(X).concat(u.substring(e.textSpanEnd(ue)))}return u}n.applyChanges=ne;function F(u){return e.skipTrivia(u,0)===u.length}function Q(u){var g=e.visitEachChild(u,Q,e.nullTransformationContext,V,Q),P=e.nodeIsSynthesized(g)?g:Object.create(g);return e.setTextRangePosEnd(P,f(u),a(u)),P}function V(u,g,P,te,ue){var X=e.visitNodes(u,g,P,te,ue);if(!X)return X;var j=X===u?e.factory.createNodeArray(X.slice(0)):X;return e.setTextRangePosEnd(j,f(u),a(u)),j}function re(u){var g=0,P=e.createTextWriter(u),te=function(kr){kr&&p(kr,g)},ue=function(kr){kr&&d(kr,g)},X=function(kr){kr&&p(kr,g)},j=function(kr){kr&&d(kr,g)},Se=function(kr){kr&&p(kr,g)},Ce=function(kr){kr&&d(kr,g)};function R(kr,Ke){if(Ke||!F(kr)){g=P.getTextPos();for(var Me=0;e.isWhiteSpaceLike(kr.charCodeAt(kr.length-Me-1));)Me++;g-=Me}}function Y(kr){P.write(kr),R(kr,!1)}function U(kr){P.writeComment(kr)}function K(kr){P.writeKeyword(kr),R(kr,!1)}function Te(kr){P.writeOperator(kr),R(kr,!1)}function ge(kr){P.writePunctuation(kr),R(kr,!1)}function ke(kr){P.writeTrailingSemicolon(kr),R(kr,!1)}function Pe(kr){P.writeParameter(kr),R(kr,!1)}function Ie(kr){P.writeProperty(kr),R(kr,!1)}function Ge(kr){P.writeSpace(kr),R(kr,!1)}function he(kr){P.writeStringLiteral(kr),R(kr,!1)}function ve(kr,Ke){P.writeSymbol(kr,Ke),R(kr,!1)}function Ve(kr){P.writeLine(kr)}function _e(){P.increaseIndent()}function Le(){P.decreaseIndent()}function qe(){return P.getText()}function Xe(kr){P.rawWrite(kr),R(kr,!1)}function De(kr){P.writeLiteral(kr),R(kr,!0)}function Ae(){return P.getTextPos()}function Ye(){return P.getLine()}function Dr(){return P.getColumn()}function br(){return P.getIndent()}function lr(){return P.isAtStartOfLine()}function Ar(){P.clear(),g=0}return{onBeforeEmitNode:te,onAfterEmitNode:ue,onBeforeEmitNodeArray:X,onAfterEmitNodeArray:j,onBeforeEmitToken:Se,onAfterEmitToken:Ce,write:Y,writeComment:U,writeKeyword:K,writeOperator:Te,writePunctuation:ge,writeTrailingSemicolon:ke,writeParameter:Pe,writeProperty:Ie,writeSpace:Ge,writeStringLiteral:he,writeSymbol:ve,writeLine:Ve,increaseIndent:_e,decreaseIndent:Le,getText:qe,rawWrite:Xe,writeLiteral:De,getTextPos:Ae,getLine:Ye,getColumn:Dr,getIndent:br,isAtStartOfLine:lr,hasTrailingComment:function(){return P.hasTrailingComment()},hasTrailingWhitespace:function(){return P.hasTrailingWhitespace()},clear:Ar}}function T(u){for(var g,P=0,te=u.statements;P<te.length;P++){var ue=te[P];if(e.isPrologueDirective(ue))g=ue;else break}var X=0,j=u.text;if(g)return X=g.end,Ie(),X;var Se=e.getShebang(j);Se!==void 0&&(X=Se.length,Ie());var Ce=e.getLeadingCommentRanges(j,X);if(!Ce)return X;for(var R,Y,U=0,K=Ce;U<K.length;U++){var Te=K[U];if(Te.kind===3){if(e.isPinnedComment(j,Te.pos)){R={range:Te,pinnedOrTripleSlash:!0};continue}}else if(e.isRecognizedTripleSlashComment(j,Te.pos,Te.end)){R={range:Te,pinnedOrTripleSlash:!0};continue}if(R){if(R.pinnedOrTripleSlash)break;var ge=u.getLineAndCharacterOfPosition(Te.pos).line,ke=u.getLineAndCharacterOfPosition(R.range.end).line;if(ge>=ke+2)break}if(u.statements.length){Y===void 0&&(Y=u.getLineAndCharacterOfPosition(u.statements[0].getStart()).line);var Pe=u.getLineAndCharacterOfPosition(Te.end).line;if(Y<Pe+2)break}R={range:Te,pinnedOrTripleSlash:!1}}return R&&(X=R.range.end,Ie()),X;function Ie(){if(X<j.length){var Ge=j.charCodeAt(X);e.isLineBreak(Ge)&&(X++,X<j.length&&Ge===13&&j.charCodeAt(X)===10&&X++)}}}function N(u,g){return!e.isInComment(u,g)&&!e.isInString(u,g)&&!e.isInTemplateString(u,g)&&!e.isInJSXText(u,g)}n.isValidLocationToAddComment=N;function y(u,g){return(e.isPropertySignature(u)||e.isPropertyDeclaration(u))&&e.isClassOrTypeElement(g)&&g.name.kind===161||e.isStatementButNotDeclaration(u)&&e.isStatementButNotDeclaration(g)}var D;(function(u){function g(X,j,Se,Ce){switch(Ce.kind){case 163:{var R=Ce.parent;e.isArrowFunction(R)&&R.parameters.length===1&&!e.findChildOfKind(R,20,Se)?X.replaceNodeWithText(Se,Ce,\"()\"):m(X,j,Se,Ce);break}case 265:case 264:var Y=Se.imports.length&&Ce===e.first(Se.imports).parent||Ce===e.find(Se.statements,e.isAnyImportSyntax);C(X,Se,Ce,{leadingTriviaOption:Y?k.Exclude:e.hasJSDocNodes(Ce)?k.JSDoc:k.StartLine});break;case 202:var U=Ce.parent,K=U.kind===201&&Ce!==e.last(U.elements);K?C(X,Se,Ce):m(X,j,Se,Ce);break;case 253:ue(X,j,Se,Ce);break;case 162:m(X,j,Se,Ce);break;case 269:var Te=Ce.parent;Te.elements.length===1?te(X,Se,Te):m(X,j,Se,Ce);break;case 267:te(X,Se,Ce);break;case 26:C(X,Se,Ce,{trailingTriviaOption:J.Exclude});break;case 98:C(X,Se,Ce,{leadingTriviaOption:k.Exclude});break;case 256:case 255:C(X,Se,Ce,{leadingTriviaOption:e.hasJSDocNodes(Ce)?k.JSDoc:k.StartLine});break;default:Ce.parent?e.isImportClause(Ce.parent)&&Ce.parent.name===Ce?P(X,Se,Ce.parent):e.isCallExpression(Ce.parent)&&e.contains(Ce.parent.arguments,Ce)?m(X,j,Se,Ce):C(X,Se,Ce):C(X,Se,Ce)}}u.deleteDeclaration=g;function P(X,j,Se){if(!Se.namedBindings)C(X,j,Se.parent);else{var Ce=Se.name.getStart(j),R=e.getTokenAtPosition(j,Se.name.end);if(R&&R.kind===27){var Y=e.skipTrivia(j.text,R.end,!1,!0);X.deleteRange(j,{pos:Ce,end:Y})}else C(X,j,Se.name)}}function te(X,j,Se){if(Se.parent.name){var Ce=e.Debug.checkDefined(e.getTokenAtPosition(j,Se.pos-1));X.deleteRange(j,{pos:Ce.getStart(j),end:Se.end})}else{var R=e.getAncestor(Se,265);C(X,j,R)}}function ue(X,j,Se,Ce){var R=Ce.parent;if(R.kind===291){X.deleteNodeRange(Se,e.findChildOfKind(R,20,Se),e.findChildOfKind(R,21,Se));return}if(R.declarations.length!==1){m(X,j,Se,Ce);return}var Y=R.parent;switch(Y.kind){case 243:case 242:X.replaceNode(Se,Ce,e.factory.createObjectLiteralExpression());break;case 241:C(X,Se,R);break;case 236:C(X,Se,Y,{leadingTriviaOption:e.hasJSDocNodes(Y)?k.JSDoc:k.StartLine});break;default:e.Debug.assertNever(Y)}}})(D||(D={}));function C(u,g,P,te){te===void 0&&(te={leadingTriviaOption:k.IncludeAll});var ue=b(g,P,te),X=S(g,P,te);u.deleteRange(g,{pos:ue,end:X})}n.deleteNode=C;function m(u,g,P,te){var ue=e.Debug.checkDefined(e.formatting.SmartIndenter.getContainingList(te,P)),X=e.indexOfNode(ue,te);if(e.Debug.assert(X!==-1),ue.length===1){C(u,P,te);return}e.Debug.assert(!g.has(te),\"Deleting a node twice\"),g.add(te),u.deleteRange(P,{pos:w(P,te),end:X===ue.length-1?S(P,te,{}):w(P,ue[X+1])})}})(e.textChanges||(e.textChanges={}))}(jr||(jr={})),function(e){(function(n){var f=e.createMultiMap(),p=new e.Map;function a(I,w,x){return J(I,e.diagnosticToString(x),w,void 0,void 0)}n.createCodeFixActionWithoutFixAll=a;function d(I,w,x,O,q,Z){return J(I,e.diagnosticToString(x),w,O,e.diagnosticToString(q),Z)}n.createCodeFixAction=d;function k(I,w,x,O,q,Z){return J(I,e.diagnosticToString(x),w,O,q&&e.diagnosticToString(q),Z)}n.createCodeFixActionMaybeFixAll=k;function J(I,w,x,O,q,Z){return{fixName:I,description:w,changes:x,fixId:O,fixAllDescription:q,commands:Z?[Z]:void 0}}function h(I){for(var w=0,x=I.errorCodes;w<x.length;w++){var O=x[w];f.add(String(O),I)}if(I.fixIds)for(var q=0,Z=I.fixIds;q<Z.length;q++){var ne=Z[q];e.Debug.assert(!p.has(ne)),p.set(ne,I)}}n.registerCodeFix=h;function v(){return e.arrayFrom(f.keys())}n.getSupportedErrorCodes=v;function A(I,w){for(var x=I.errorCodes,O=0,q=0,Z=w;q<Z.length;q++){var ne=Z[q];if(e.contains(x,ne.code)&&O++,O>1)break}var F=O<2;return function(Q){var V=Q.fixId,re=Q.fixAllDescription,T=oD(Q,[\"fixId\",\"fixAllDescription\"]);return F?T:Rn(Rn({},T),{fixId:V,fixAllDescription:re})}}function z(I){var w=H(I),x=f.get(String(I.errorCode));return e.flatMap(x,function(O){return e.map(O.getCodeActions(I),A(O,w))})}n.getFixes=z;function ie(I){return p.get(e.cast(I.fixId,e.isString)).getAllCodeActions(I)}n.getAllFixes=ie;function b(I,w){return{changes:I,commands:w}}n.createCombinedCodeActions=b;function M(I,w){return{fileName:I,textChanges:w}}n.createFileTextChanges=M;function S(I,w,x){var O=[],q=e.textChanges.ChangeTracker.with(I,function(Z){return B(I,w,function(ne){return x(Z,ne,O)})});return b(q,O.length===0?void 0:O)}n.codeFixAll=S;function B(I,w,x){for(var O=0,q=H(I);O<q.length;O++){var Z=q[O];e.contains(w,Z.code)&&x(Z)}}n.eachDiagnostic=B;function H(I){var w=I.program,x=I.sourceFile,O=I.cancellationToken;return Gt(Gt(Gt([],w.getSemanticDiagnostics(x,O),!0),w.getSyntacticDiagnostics(x,O),!0),e.computeSuggestionDiagnostics(x,w,O),!0)}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=new e.Map;function p(k,J){f.set(k,J)}n.registerRefactor=p;function a(k){return e.arrayFrom(e.flatMapIterator(f.values(),function(J){var h;return k.cancellationToken&&k.cancellationToken.isCancellationRequested()||!(!((h=J.kinds)===null||h===void 0)&&h.some(function(v){return n.refactorKindBeginsWith(v,k.kind)}))?void 0:J.getAvailableActions(k)}))}n.getApplicableRefactors=a;function d(k,J,h){var v=f.get(J);return v&&v.getEditsForAction(k,h)}n.getEditsForRefactor=d})(e.refactor||(e.refactor={}))}(jr||(jr={})),function(e){(function(n){var f=\"addConvertToUnknownForNonOverlappingTypes\",p=[e.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({errorCodes:p,getCodeActions:function(d){var k=e.textChanges.ChangeTracker.with(d,function(J){return a(J,d.sourceFile,d.span.start)});return[n.createCodeFixAction(f,k,e.Diagnostics.Add_unknown_conversion_for_non_overlapping_types,f,e.Diagnostics.Add_unknown_to_all_conversions_of_non_overlapping_types)]},fixIds:[f],getAllCodeActions:function(d){return n.codeFixAll(d,p,function(k,J){return a(k,J.file,J.start)})}});function a(d,k,J){var h=e.getTokenAtPosition(k,J),v=e.Debug.checkDefined(e.findAncestor(h,function(z){return e.isAsExpression(z)||e.isTypeAssertionExpression(z)}),\"Expected to find an assertion expression\"),A=e.isAsExpression(v)?e.factory.createAsExpression(v.expression,e.factory.createKeywordTypeNode(154)):e.factory.createTypeAssertion(e.factory.createKeywordTypeNode(154),v.expression);d.replaceNode(k,v.expression,A)}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){n.registerCodeFix({errorCodes:[e.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,e.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],getCodeActions:function(f){var p=f.sourceFile,a=e.textChanges.ChangeTracker.with(f,function(d){var k=e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([]),void 0);d.insertNodeAtEndOfScope(p,p,k)});return[n.createCodeFixActionWithoutFixAll(\"addEmptyExportDeclaration\",a,e.Diagnostics.Add_export_to_make_this_file_into_a_module)]}})})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"addMissingAsync\",p=[e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1.code,e.Diagnostics.Type_0_is_not_comparable_to_type_1.code];n.registerCodeFix({fixIds:[f],errorCodes:p,getCodeActions:function(h){var v=h.sourceFile,A=h.errorCode,z=h.cancellationToken,ie=h.program,b=h.span,M=e.find(ie.getDiagnosticsProducingTypeChecker().getDiagnostics(v,z),J(b,A)),S=M&&M.relatedInformation&&e.find(M.relatedInformation,function(I){return I.code===e.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code}),B=k(v,S);if(!!B){var H=function(I){return e.textChanges.ChangeTracker.with(h,I)};return[a(h,B,H)]}},getAllCodeActions:function(h){var v=h.sourceFile,A=new e.Set;return n.codeFixAll(h,p,function(z,ie){var b=ie.relatedInformation&&e.find(ie.relatedInformation,function(B){return B.code===e.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code}),M=k(v,b);if(!!M){var S=function(B){return B(z),[]};return a(h,M,S,A)}})}});function a(h,v,A,z){var ie=A(function(b){return d(b,h.sourceFile,v,z)});return n.createCodeFixAction(f,ie,e.Diagnostics.Add_async_modifier_to_containing_function,f,e.Diagnostics.Add_all_missing_async_modifiers)}function d(h,v,A,z){if(!(z&&z.has(e.getNodeId(A)))){z==null||z.add(e.getNodeId(A));var ie=e.factory.updateModifiers(e.getSynthesizedDeepClone(A,!0),e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(e.getSyntacticModifierFlags(A)|256)));h.replaceNode(v,A,ie)}}function k(h,v){if(!!v){var A=e.getTokenAtPosition(h,v.start),z=e.findAncestor(A,function(ie){return ie.getStart(h)<v.start||ie.getEnd()>e.textSpanEnd(v)?\"quit\":(e.isArrowFunction(ie)||e.isMethodDeclaration(ie)||e.isFunctionExpression(ie)||e.isFunctionDeclaration(ie))&&e.textSpansEqual(v,e.createTextSpanFromNode(ie,h))});return z}}function J(h,v){return function(A){var z=A.start,ie=A.length,b=A.relatedInformation,M=A.code;return e.isNumber(z)&&e.isNumber(ie)&&e.textSpansEqual({start:z,length:ie},h)&&M===v&&!!b&&e.some(b,function(S){return S.code===e.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code})}}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"addMissingAwait\",p=e.Diagnostics.Property_0_does_not_exist_on_type_1.code,a=[e.Diagnostics.This_expression_is_not_callable.code,e.Diagnostics.This_expression_is_not_constructable.code],d=Gt([e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,e.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,e.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,e.Diagnostics.Operator_0_cannot_be_applied_to_type_1.code,e.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2.code,e.Diagnostics.This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap.code,e.Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined.code,e.Diagnostics.Type_0_is_not_an_array_type.code,e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type.code,e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators.code,e.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,e.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,e.Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,e.Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,p],a,!0);n.registerCodeFix({fixIds:[f],errorCodes:d,getCodeActions:function(B){var H=B.sourceFile,I=B.errorCode,w=B.span,x=B.cancellationToken,O=B.program,q=k(H,I,w,x,O);if(!!q){var Z=B.program.getTypeChecker(),ne=function(F){return e.textChanges.ChangeTracker.with(B,F)};return e.compact([J(B,q,I,Z,ne),h(B,q,I,Z,ne)])}},getAllCodeActions:function(B){var H=B.sourceFile,I=B.program,w=B.cancellationToken,x=B.program.getTypeChecker(),O=new e.Set;return n.codeFixAll(B,d,function(q,Z){var ne=k(H,Z.code,Z,w,I);if(!!ne){var F=function(Q){return Q(q),[]};return J(B,ne,Z.code,x,F,O)||h(B,ne,Z.code,x,F,O)}})}});function k(B,H,I,w,x){var O=e.getFixableErrorSpanExpression(B,I);return O&&v(B,H,I,w,x)&&b(O)?O:void 0}function J(B,H,I,w,x,O){var q=B.sourceFile,Z=B.program,ne=B.cancellationToken,F=A(H,q,ne,Z,w);if(F){var Q=x(function(V){e.forEach(F.initializers,function(re){var T=re.expression;return M(V,I,q,w,T,O)}),O&&F.needsSecondPassForFixAll&&M(V,I,q,w,H,O)});return n.createCodeFixActionWithoutFixAll(\"addMissingAwaitToInitializer\",Q,F.initializers.length===1?[e.Diagnostics.Add_await_to_initializer_for_0,F.initializers[0].declarationSymbol.name]:e.Diagnostics.Add_await_to_initializers)}}function h(B,H,I,w,x,O){var q=x(function(Z){return M(Z,I,B.sourceFile,w,H,O)});return n.createCodeFixAction(f,q,e.Diagnostics.Add_await,f,e.Diagnostics.Fix_all_expressions_possibly_missing_await)}function v(B,H,I,w,x){var O=x.getDiagnosticsProducingTypeChecker(),q=O.getDiagnostics(B,w);return e.some(q,function(Z){var ne=Z.start,F=Z.length,Q=Z.relatedInformation,V=Z.code;return e.isNumber(ne)&&e.isNumber(F)&&e.textSpansEqual({start:ne,length:F},I)&&V===H&&!!Q&&e.some(Q,function(re){return re.code===e.Diagnostics.Did_you_forget_to_use_await.code})})}function A(B,H,I,w,x){var O=z(B,x);if(!!O){for(var q=O.isCompleteFix,Z,ne=function(re){var T=x.getSymbolAtLocation(re);if(!T)return\"continue\";var N=e.tryCast(T.valueDeclaration,e.isVariableDeclaration),y=N&&e.tryCast(N.name,e.isIdentifier),D=e.getAncestor(N,236);if(!N||!D||N.type||!N.initializer||D.getSourceFile()!==H||e.hasSyntacticModifier(D,1)||!y||!b(N.initializer))return q=!1,\"continue\";var C=w.getSemanticDiagnostics(H,I),m=e.FindAllReferences.Core.eachSymbolReferenceInFile(y,x,H,function(u){return re!==u&&!ie(u,C,H,x)});if(m)return q=!1,\"continue\";(Z||(Z=[])).push({expression:N.initializer,declarationSymbol:T})},F=0,Q=O.identifiers;F<Q.length;F++){var V=Q[F];ne(V)}return Z&&{initializers:Z,needsSecondPassForFixAll:!q}}}function z(B,H){if(e.isPropertyAccessExpression(B.parent)&&e.isIdentifier(B.parent.expression))return{identifiers:[B.parent.expression],isCompleteFix:!0};if(e.isIdentifier(B))return{identifiers:[B],isCompleteFix:!0};if(e.isBinaryExpression(B)){for(var I=void 0,w=!0,x=0,O=[B.left,B.right];x<O.length;x++){var q=O[x],Z=H.getTypeAtLocation(q);if(H.getPromisedTypeOfPromise(Z)){if(!e.isIdentifier(q)){w=!1;continue}(I||(I=[])).push(q)}}return I&&{identifiers:I,isCompleteFix:w}}}function ie(B,H,I,w){var x=e.isPropertyAccessExpression(B.parent)?B.parent.name:e.isBinaryExpression(B.parent)?B.parent:B,O=e.find(H,function(q){return q.start===x.getStart(I)&&q.start+q.length===x.getEnd()});return O&&e.contains(d,O.code)||w.getTypeAtLocation(x).flags&1}function b(B){return B.kind&32768||!!e.findAncestor(B,function(H){return H.parent&&e.isArrowFunction(H.parent)&&H.parent.body===H||e.isBlock(H)&&(H.parent.kind===255||H.parent.kind===212||H.parent.kind===213||H.parent.kind===168)})}function M(B,H,I,w,x,O){if(e.isBinaryExpression(x))for(var q=0,Z=[x.left,x.right];q<Z.length;q++){var ne=Z[q];if(O&&e.isIdentifier(ne)){var F=w.getSymbolAtLocation(ne);if(F&&O.has(e.getSymbolId(F)))continue}var Q=w.getTypeAtLocation(ne),V=w.getPromisedTypeOfPromise(Q)?e.factory.createAwaitExpression(ne):ne;B.replaceNode(I,ne,V)}else if(H===p&&e.isPropertyAccessExpression(x.parent)){if(O&&e.isIdentifier(x.parent.expression)){var F=w.getSymbolAtLocation(x.parent.expression);if(F&&O.has(e.getSymbolId(F)))return}B.replaceNode(I,x.parent.expression,e.factory.createParenthesizedExpression(e.factory.createAwaitExpression(x.parent.expression))),S(B,x.parent.expression,I)}else if(e.contains(a,H)&&e.isCallOrNewExpression(x.parent)){if(O&&e.isIdentifier(x)){var F=w.getSymbolAtLocation(x);if(F&&O.has(e.getSymbolId(F)))return}B.replaceNode(I,x,e.factory.createParenthesizedExpression(e.factory.createAwaitExpression(x))),S(B,x,I)}else{if(O&&e.isVariableDeclaration(x.parent)&&e.isIdentifier(x.parent.name)){var F=w.getSymbolAtLocation(x.parent.name);if(F&&!e.tryAddToSet(O,e.getSymbolId(F)))return}B.replaceNode(I,x,e.factory.createAwaitExpression(x))}}function S(B,H,I){var w=e.findPrecedingToken(H.pos,I);w&&e.positionIsASICandidate(w.end,w.parent,I)&&B.insertText(I,H.getStart(I),\";\")}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"addMissingConst\",p=[e.Diagnostics.Cannot_find_name_0.code,e.Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(A){var z=e.textChanges.ChangeTracker.with(A,function(ie){return a(ie,A.sourceFile,A.span.start,A.program)});if(z.length>0)return[n.createCodeFixAction(f,z,e.Diagnostics.Add_const_to_unresolved_variable,f,e.Diagnostics.Add_const_to_all_unresolved_variables)]},fixIds:[f],getAllCodeActions:function(A){var z=new e.Set;return n.codeFixAll(A,p,function(ie,b){return a(ie,b.file,b.start,A.program,z)})}});function a(A,z,ie,b,M){var S=e.getTokenAtPosition(z,ie),B=e.findAncestor(S,function(O){return e.isForInOrOfStatement(O.parent)?O.parent.initializer===O:k(O)?!1:\"quit\"});if(B)return d(A,B,z,M);var H=S.parent;if(e.isBinaryExpression(H)&&H.operatorToken.kind===63&&e.isExpressionStatement(H.parent))return d(A,S,z,M);if(e.isArrayLiteralExpression(H)){var I=b.getTypeChecker();return e.every(H.elements,function(O){return J(O,I)})?d(A,H,z,M):void 0}var w=e.findAncestor(S,function(O){return e.isExpressionStatement(O.parent)?!0:h(O)?!1:\"quit\"});if(w){var x=b.getTypeChecker();return v(w,x)?d(A,w,z,M):void 0}}function d(A,z,ie,b){(!b||e.tryAddToSet(b,z))&&A.insertModifierBefore(ie,85,z)}function k(A){switch(A.kind){case 79:case 203:case 204:case 294:case 295:return!0;default:return!1}}function J(A,z){var ie=e.isIdentifier(A)?A:e.isAssignmentExpression(A,!0)&&e.isIdentifier(A.left)?A.left:void 0;return!!ie&&!z.getSymbolAtLocation(ie)}function h(A){switch(A.kind){case 79:case 220:case 27:return!0;default:return!1}}function v(A,z){return e.isBinaryExpression(A)?A.operatorToken.kind===27?e.every([A.left,A.right],function(ie){return v(ie,z)}):A.operatorToken.kind===63&&e.isIdentifier(A.left)&&!z.getSymbolAtLocation(A.left):!1}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"addMissingDeclareProperty\",p=[e.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.registerCodeFix({errorCodes:p,getCodeActions:function(d){var k=e.textChanges.ChangeTracker.with(d,function(J){return a(J,d.sourceFile,d.span.start)});if(k.length>0)return[n.createCodeFixAction(f,k,e.Diagnostics.Prefix_with_declare,f,e.Diagnostics.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[f],getAllCodeActions:function(d){var k=new e.Set;return n.codeFixAll(d,p,function(J,h){return a(J,h.file,h.start,k)})}});function a(d,k,J,h){var v=e.getTokenAtPosition(k,J);if(!!e.isIdentifier(v)){var A=v.parent;A.kind===166&&(!h||e.tryAddToSet(h,A))&&d.insertModifierBefore(k,135,A)}}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"addMissingInvocationForDecorator\",p=[e.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({errorCodes:p,getCodeActions:function(d){var k=e.textChanges.ChangeTracker.with(d,function(J){return a(J,d.sourceFile,d.span.start)});return[n.createCodeFixAction(f,k,e.Diagnostics.Call_decorator_expression,f,e.Diagnostics.Add_to_all_uncalled_decorators)]},fixIds:[f],getAllCodeActions:function(d){return n.codeFixAll(d,p,function(k,J){return a(k,J.file,J.start)})}});function a(d,k,J){var h=e.getTokenAtPosition(k,J),v=e.findAncestor(h,e.isDecorator);e.Debug.assert(!!v,\"Expected position to be owned by a decorator.\");var A=e.factory.createCallExpression(v.expression,void 0,void 0);d.replaceNode(k,v.expression,A)}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"addNameToNamelessParameter\",p=[e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(d){var k=e.textChanges.ChangeTracker.with(d,function(J){return a(J,d.sourceFile,d.span.start)});return[n.createCodeFixAction(f,k,e.Diagnostics.Add_parameter_name,f,e.Diagnostics.Add_names_to_all_parameters_without_names)]},fixIds:[f],getAllCodeActions:function(d){return n.codeFixAll(d,p,function(k,J){return a(k,J.file,J.start)})}});function a(d,k,J){var h=e.getTokenAtPosition(k,J),v=h.parent;if(!e.isParameter(v))return e.Debug.fail(\"Tried to add a parameter name to a non-parameter: \"+e.Debug.formatSyntaxKind(h.kind));var A=v.parent.parameters.indexOf(v);e.Debug.assert(!v.type,\"Tried to add a parameter name to a parameter that already had one.\"),e.Debug.assert(A>-1,\"Parameter not found in parent parameter list.\");var z=e.factory.createTypeReferenceNode(v.name,void 0),ie=e.factory.createParameterDeclaration(void 0,v.modifiers,v.dotDotDotToken,\"arg\"+A,v.questionToken,v.dotDotDotToken?e.factory.createArrayTypeNode(z):z,v.initializer);d.replaceNode(k,v,ie)}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"addOptionalPropertyUndefined\",p=[e.Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target.code,e.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,e.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.registerCodeFix({errorCodes:p,getCodeActions:function(h){var v=h.program.getTypeChecker(),A=a(h.sourceFile,h.span,v);if(!!A.length){var z=e.textChanges.ChangeTracker.with(h,function(ie){return J(ie,A)});return[n.createCodeFixActionWithoutFixAll(f,z,e.Diagnostics.Add_undefined_to_optional_property_type)]}},fixIds:[f]});function a(h,v,A){var z,ie,b=k(e.getFixableErrorSpanExpression(h,v),A);if(!b)return e.emptyArray;var M=b.source,S=b.target,B=d(M,S,A)?A.getTypeAtLocation(S.expression):A.getTypeAtLocation(S);return!((ie=(z=B.symbol)===null||z===void 0?void 0:z.declarations)===null||ie===void 0)&&ie.some(function(H){return e.getSourceFileOfNode(H).fileName.match(/\\.d\\.ts$/)})?e.emptyArray:A.getExactOptionalProperties(B)}function d(h,v,A){return e.isPropertyAccessExpression(v)&&!!A.getExactOptionalProperties(A.getTypeAtLocation(v.expression)).length&&A.getTypeAtLocation(h)===A.getUndefinedType()}function k(h,v){var A;if(h){if(e.isBinaryExpression(h.parent)&&h.parent.operatorToken.kind===63)return{source:h.parent.right,target:h.parent.left};if(e.isVariableDeclaration(h.parent)&&h.parent.initializer)return{source:h.parent.initializer,target:h.parent.name};if(e.isCallExpression(h.parent)){var z=v.getSymbolAtLocation(h.parent.expression);if(!(z!=null&&z.valueDeclaration)||!e.isFunctionLikeKind(z.valueDeclaration.kind)||!e.isExpression(h))return;var ie=h.parent.arguments.indexOf(h);if(ie===-1)return;var b=z.valueDeclaration.parameters[ie].name;if(e.isIdentifier(b))return{source:h,target:b}}else if(e.isPropertyAssignment(h.parent)&&e.isIdentifier(h.parent.name)||e.isShorthandPropertyAssignment(h.parent)){var M=k(h.parent.parent,v);if(!M)return;var S=v.getPropertyOfType(v.getTypeAtLocation(M.target),h.parent.name.text),B=(A=S==null?void 0:S.declarations)===null||A===void 0?void 0:A[0];return B?{source:e.isPropertyAssignment(h.parent)?h.parent.initializer:h.parent.name,target:B}:void 0}}else return}function J(h,v){for(var A=0,z=v;A<z.length;A++){var ie=z[A],b=ie.valueDeclaration;if(b&&(e.isPropertySignature(b)||e.isPropertyDeclaration(b))&&b.type){var M=e.factory.createUnionTypeNode(Gt(Gt([],b.type.kind===186?b.type.types:[b.type],!0),[e.factory.createTypeReferenceNode(\"undefined\")],!1));h.replaceNode(b.getSourceFile(),b.type,M)}}}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"annotateWithTypeFromJSDoc\",p=[e.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(H){var I=a(H.sourceFile,H.span.start);if(!!I){var w=e.textChanges.ChangeTracker.with(H,function(x){return J(x,H.sourceFile,I)});return[n.createCodeFixAction(f,w,e.Diagnostics.Annotate_with_type_from_JSDoc,f,e.Diagnostics.Annotate_everything_with_types_from_JSDoc)]}},fixIds:[f],getAllCodeActions:function(H){return n.codeFixAll(H,p,function(I,w){var x=a(w.file,w.start);x&&J(I,w.file,x)})}});function a(H,I){var w=e.getTokenAtPosition(H,I);return e.tryCast(e.isParameter(w.parent)?w.parent.parent:w.parent,d)}function d(H){return h(H)&&k(H)}n.parameterShouldGetTypeFromJSDoc=d;function k(H){return e.isFunctionLikeDeclaration(H)?H.parameters.some(k)||!H.type&&!!e.getJSDocReturnType(H):!H.type&&!!e.getJSDocType(H)}function J(H,I,w){if(e.isFunctionLikeDeclaration(w)&&(e.getJSDocReturnType(w)||w.parameters.some(function(re){return!!e.getJSDocType(re)}))){if(!w.typeParameters){var x=e.getJSDocTypeParameterDeclarations(w);x.length&&H.insertTypeParameters(I,w,x)}var O=e.isArrowFunction(w)&&!e.findChildOfKind(w,20,I);O&&H.insertNodeBefore(I,e.first(w.parameters),e.factory.createToken(20));for(var q=0,Z=w.parameters;q<Z.length;q++){var ne=Z[q];if(!ne.type){var F=e.getJSDocType(ne);F&&H.tryInsertTypeAnnotation(I,ne,v(F))}}if(O&&H.insertNodeAfter(I,e.last(w.parameters),e.factory.createToken(21)),!w.type){var Q=e.getJSDocReturnType(w);Q&&H.tryInsertTypeAnnotation(I,w,v(Q))}}else{var V=e.Debug.checkDefined(e.getJSDocType(w),\"A JSDocType for this declaration should exist\");e.Debug.assert(!w.type,\"The JSDocType decl should have a type\"),H.tryInsertTypeAnnotation(I,w,v(V))}}function h(H){return e.isFunctionLikeDeclaration(H)||H.kind===253||H.kind===165||H.kind===166}function v(H){switch(H.kind){case 310:case 311:return e.factory.createTypeReferenceNode(\"any\",e.emptyArray);case 314:return A(H);case 313:return v(H.type);case 312:return z(H);case 316:return ie(H);case 315:return b(H);case 177:return S(H);default:var I=e.visitEachChild(H,v,e.nullTransformationContext);return e.setEmitFlags(I,1),I}}function A(H){return e.factory.createUnionTypeNode([e.visitNode(H.type,v),e.factory.createTypeReferenceNode(\"undefined\",e.emptyArray)])}function z(H){return e.factory.createUnionTypeNode([e.visitNode(H.type,v),e.factory.createTypeReferenceNode(\"null\",e.emptyArray)])}function ie(H){return e.factory.createArrayTypeNode(e.visitNode(H.type,v))}function b(H){var I;return e.factory.createFunctionTypeNode(e.emptyArray,H.parameters.map(M),(I=H.type)!==null&&I!==void 0?I:e.factory.createKeywordTypeNode(130))}function M(H){var I=H.parent.parameters.indexOf(H),w=H.type.kind===316&&I===H.parent.parameters.length-1,x=H.name||(w?\"rest\":\"arg\"+I),O=w?e.factory.createToken(25):H.dotDotDotToken;return e.factory.createParameterDeclaration(H.decorators,H.modifiers,O,x,H.questionToken,e.visitNode(H.type,v),H.initializer)}function S(H){var I=H.typeName,w=H.typeArguments;if(e.isIdentifier(H.typeName)){if(e.isJSDocIndexSignature(H))return B(H);var x=H.typeName.text;switch(H.typeName.text){case\"String\":case\"Boolean\":case\"Object\":case\"Number\":x=x.toLowerCase();break;case\"array\":case\"date\":case\"promise\":x=x[0].toUpperCase()+x.slice(1);break}I=e.factory.createIdentifier(x),(x===\"Array\"||x===\"Promise\")&&!H.typeArguments?w=e.factory.createNodeArray([e.factory.createTypeReferenceNode(\"any\",e.emptyArray)]):w=e.visitNodes(H.typeArguments,v)}return e.factory.createTypeReferenceNode(I,w)}function B(H){var I=e.factory.createParameterDeclaration(void 0,void 0,void 0,H.typeArguments[0].kind===146?\"n\":\"s\",void 0,e.factory.createTypeReferenceNode(H.typeArguments[0].kind===146?\"number\":\"string\",[]),void 0),w=e.factory.createTypeLiteralNode([e.factory.createIndexSignature(void 0,void 0,[I],H.typeArguments[1])]);return e.setEmitFlags(w,1),w}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"convertFunctionToEs6Class\",p=[e.Diagnostics.This_constructor_function_may_be_converted_to_a_class_declaration.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(h){var v=e.textChanges.ChangeTracker.with(h,function(A){return a(A,h.sourceFile,h.span.start,h.program.getTypeChecker(),h.preferences,h.program.getCompilerOptions())});return[n.createCodeFixAction(f,v,e.Diagnostics.Convert_function_to_an_ES2015_class,f,e.Diagnostics.Convert_all_constructor_functions_to_classes)]},fixIds:[f],getAllCodeActions:function(h){return n.codeFixAll(h,p,function(v,A){return a(v,A.file,A.start,h.program.getTypeChecker(),h.preferences,h.program.getCompilerOptions())})}});function a(h,v,A,z,ie,b){var M=z.getSymbolAtLocation(e.getTokenAtPosition(v,A));if(!M||!M.valueDeclaration||!(M.flags&19))return;var S=M.valueDeclaration;if(e.isFunctionDeclaration(S))h.replaceNode(v,S,x(S));else if(e.isVariableDeclaration(S)){var B=w(S);if(!B)return;var H=S.parent.parent;e.isVariableDeclarationList(S.parent)&&S.parent.declarations.length>1?(h.delete(v,S),h.insertNodeAfter(v,H,B)):h.replaceNode(v,H,B)}function I(O){var q=[];return O.members&&O.members.forEach(function(F,Q){if(Q===\"constructor\"&&F.valueDeclaration){h.delete(v,F.valueDeclaration.parent);return}var V=ne(F,void 0);V&&q.push.apply(q,V)}),O.exports&&O.exports.forEach(function(F){if(F.name===\"prototype\"&&F.declarations){var Q=F.declarations[0];if(F.declarations.length===1&&e.isPropertyAccessExpression(Q)&&e.isBinaryExpression(Q.parent)&&Q.parent.operatorToken.kind===63&&e.isObjectLiteralExpression(Q.parent.right)){var V=Q.parent.right,re=ne(V.symbol,void 0);re&&q.push.apply(q,re)}}else{var re=ne(F,[e.factory.createToken(124)]);re&&q.push.apply(q,re)}}),q;function Z(F,Q){return e.isAccessExpression(F)?e.isPropertyAccessExpression(F)&&k(F)?!0:e.isFunctionLike(Q):e.every(F.properties,function(V){return!!(e.isMethodDeclaration(V)||e.isGetOrSetAccessorDeclaration(V)||e.isPropertyAssignment(V)&&e.isFunctionExpression(V.initializer)&&!!V.name||k(V))})}function ne(F,Q){var V=[];if(!(F.flags&8192)&&!(F.flags&4096))return V;var re=F.valueDeclaration,T=re.parent,N=T.right;if(!Z(re,N))return V;var y=T.parent&&T.parent.kind===237?T.parent:T;if(h.delete(v,y),!N)return V.push(e.factory.createPropertyDeclaration([],Q,F.name,void 0,void 0,void 0)),V;if(e.isAccessExpression(re)&&(e.isFunctionExpression(N)||e.isArrowFunction(N))){var D=e.getQuotePreference(v,ie),C=J(re,b,D);return C?u(V,N,C):V}else{if(e.isObjectLiteralExpression(N))return e.flatMap(N.properties,function(te){return e.isMethodDeclaration(te)||e.isGetOrSetAccessorDeclaration(te)?V.concat(te):e.isPropertyAssignment(te)&&e.isFunctionExpression(te.initializer)?u(V,te.initializer,te.name):k(te)?V:[]});if(e.isSourceFileJS(v)||!e.isPropertyAccessExpression(re))return V;var m=e.factory.createPropertyDeclaration(void 0,Q,re.name,void 0,void 0,N);return e.copyLeadingComments(T.parent,m,v),V.push(m),V}function u(te,ue,X){return e.isFunctionExpression(ue)?g(te,ue,X):P(te,ue,X)}function g(te,ue,X){var j=e.concatenate(Q,d(ue,131)),Se=e.factory.createMethodDeclaration(void 0,j,void 0,X,void 0,void 0,ue.parameters,void 0,ue.body);return e.copyLeadingComments(T,Se,v),te.concat(Se)}function P(te,ue,X){var j=ue.body,Se;j.kind===234?Se=j:Se=e.factory.createBlock([e.factory.createReturnStatement(j)]);var Ce=e.concatenate(Q,d(ue,131)),R=e.factory.createMethodDeclaration(void 0,Ce,void 0,X,void 0,void 0,ue.parameters,void 0,Se);return e.copyLeadingComments(T,R,v),te.concat(R)}}}function w(O){var q=O.initializer;if(!(!q||!e.isFunctionExpression(q)||!e.isIdentifier(O.name))){var Z=I(O.symbol);q.body&&Z.unshift(e.factory.createConstructorDeclaration(void 0,void 0,q.parameters,q.body));var ne=d(O.parent.parent,93),F=e.factory.createClassDeclaration(void 0,ne,O.name,void 0,void 0,Z);return F}}function x(O){var q=I(M);O.body&&q.unshift(e.factory.createConstructorDeclaration(void 0,void 0,O.parameters,O.body));var Z=d(O,93),ne=e.factory.createClassDeclaration(void 0,Z,O.name,void 0,void 0,q);return ne}}function d(h,v){return e.filter(h.modifiers,function(A){return A.kind===v})}function k(h){return h.name?!!(e.isIdentifier(h.name)&&h.name.text===\"constructor\"):!1}function J(h,v,A){if(e.isPropertyAccessExpression(h))return h.name;var z=h.argumentExpression;if(e.isNumericLiteral(z))return z;if(e.isStringLiteralLike(z))return e.isIdentifierText(z.text,e.getEmitScriptTarget(v))?e.factory.createIdentifier(z.text):e.isNoSubstitutionTemplateLiteral(z)?e.factory.createStringLiteral(z.text,A===0):z}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"convertToAsyncFunction\",p=[e.Diagnostics.This_may_be_converted_to_an_async_function.code],a=!0;n.registerCodeFix({errorCodes:p,getCodeActions:function(R){a=!0;var Y=e.textChanges.ChangeTracker.with(R,function(U){return k(U,R.sourceFile,R.span.start,R.program.getTypeChecker())});return a?[n.createCodeFixAction(f,Y,e.Diagnostics.Convert_to_async_function,f,e.Diagnostics.Convert_all_to_async_functions)]:[]},fixIds:[f],getAllCodeActions:function(R){return n.codeFixAll(R,p,function(Y,U){return k(Y,U.file,U.start,R.program.getTypeChecker())})}});var d;(function(R){R[R.Identifier=0]=\"Identifier\",R[R.BindingPattern=1]=\"BindingPattern\"})(d||(d={}));function k(R,Y,U,K){var Te=e.getTokenAtPosition(Y,U),ge;if(e.isIdentifier(Te)&&e.isVariableDeclaration(Te.parent)&&Te.parent.initializer&&e.isFunctionLikeDeclaration(Te.parent.initializer)?ge=Te.parent.initializer:ge=e.tryCast(e.getContainingFunction(e.getTokenAtPosition(Y,U)),e.canBeConvertedToAsync),!!ge){var ke=new e.Map,Pe=e.isInJSFile(ge),Ie=h(ge,K),Ge=b(ge,K,ke);if(!!e.returnsPromise(Ge,K)){var he=Ge.body&&e.isBlock(Ge.body)?J(Ge.body,K):e.emptyArray,ve={checker:K,synthNamesMap:ke,setOfExpressionsToReturn:Ie,isInJSFile:Pe};if(!!he.length){var Ve=ge.modifiers?ge.modifiers.end:ge.decorators?e.skipTrivia(Y.text,ge.decorators.end):ge.getStart(Y),_e=ge.modifiers?{prefix:\" \"}:{suffix:\" \"};R.insertModifierAt(Y,Ve,131,_e);for(var Le=function(Ye){if(e.forEachChild(Ye,function Dr(br){if(e.isCallExpression(br)){var lr=H(br,br,ve,!1);if(S())return!0;R.replaceNodeWithNodes(Y,Ye,lr)}else if(!e.isFunctionLike(br)&&(e.forEachChild(br,Dr),S()))return!0}),S())return{value:void 0}},qe=0,Xe=he;qe<Xe.length;qe++){var De=Xe[qe],Ae=Le(De);if(typeof Ae==\"object\")return Ae.value}}}}}function J(R,Y){var U=[];return e.forEachReturnStatement(R,function(K){e.isReturnStatementWithFixablePromiseHandler(K,Y)&&U.push(K)}),U}function h(R,Y){if(!R.body)return new e.Set;var U=new e.Set;return e.forEachChild(R.body,function K(Te){v(Te,Y,\"then\")?(U.add(e.getNodeId(Te)),e.forEach(Te.arguments,K)):v(Te,Y,\"catch\")||v(Te,Y,\"finally\")?(U.add(e.getNodeId(Te)),e.forEachChild(Te,K)):ie(Te,Y)?U.add(e.getNodeId(Te)):e.forEachChild(Te,K)}),U}function v(R,Y,U){if(!e.isCallExpression(R))return!1;var K=e.hasPropertyAccessExpressionWithName(R,U),Te=K&&Y.getTypeAtLocation(R);return!!(Te&&Y.getPromisedTypeOfPromise(Te))}function A(R,Y){return(e.getObjectFlags(R)&4)!==0&&R.target===Y}function z(R,Y,U){if(R.expression.name.escapedText!==\"finally\"){var K=U.getTypeAtLocation(R.expression.expression);if(A(K,U.getPromiseType())||A(K,U.getPromiseLikeType()))if(R.expression.name.escapedText===\"then\"){if(Y===e.elementAt(R.arguments,0))return e.elementAt(R.typeArguments,0);if(Y===e.elementAt(R.arguments,1))return e.elementAt(R.typeArguments,1)}else return e.elementAt(R.typeArguments,0)}}function ie(R,Y){return e.isExpression(R)?!!Y.getPromisedTypeOfPromise(Y.getTypeAtLocation(R)):!1}function b(R,Y,U){var K=new e.Map,Te=e.createMultiMap();return e.forEachChild(R,function ge(ke){if(!e.isIdentifier(ke)){e.forEachChild(ke,ge);return}var Pe=Y.getSymbolAtLocation(ke);if(Pe){var Ie=Y.getTypeAtLocation(ke),Ge=N(Ie,Y),he=e.getSymbolId(Pe).toString();if(Ge&&!e.isParameter(ke.parent)&&!e.isFunctionLikeDeclaration(ke.parent)&&!U.has(he)){var ve=e.firstOrUndefined(Ge.parameters),Ve=(ve==null?void 0:ve.valueDeclaration)&&e.isParameter(ve.valueDeclaration)&&e.tryCast(ve.valueDeclaration.name,e.isIdentifier)||e.factory.createUniqueName(\"result\",16),_e=M(Ve,Te);U.set(he,_e),Te.add(Ve.text,Pe)}else if(ke.parent&&(e.isParameter(ke.parent)||e.isVariableDeclaration(ke.parent)||e.isBindingElement(ke.parent))){var Le=ke.text,qe=Te.get(Le);if(qe&&qe.some(function(Ae){return Ae!==Pe})){var Xe=M(ke,Te);K.set(he,Xe.identifier),U.set(he,Xe),Te.add(Le,Pe)}else{var De=e.getSynthesizedDeepClone(ke);U.set(he,u(De)),Te.add(Le,Pe)}}}}),e.getSynthesizedDeepCloneWithReplacements(R,!0,function(ge){if(e.isBindingElement(ge)&&e.isIdentifier(ge.name)&&e.isObjectBindingPattern(ge.parent)){var ke=Y.getSymbolAtLocation(ge.name),Pe=ke&&K.get(String(e.getSymbolId(ke)));if(Pe&&Pe.text!==(ge.name||ge.propertyName).getText())return e.factory.createBindingElement(ge.dotDotDotToken,ge.propertyName||ge.name,Pe,ge.initializer)}else if(e.isIdentifier(ge)){var ke=Y.getSymbolAtLocation(ge),Pe=ke&&K.get(String(e.getSymbolId(ke)));if(Pe)return e.factory.createIdentifier(Pe.text)}})}function M(R,Y){var U=(Y.get(R.text)||e.emptyArray).length,K=U===0?R:e.factory.createIdentifier(R.text+\"_\"+U);return u(K)}function S(){return!a}function B(){return a=!1,e.emptyArray}function H(R,Y,U,K,Te){if(v(Y,U.checker,\"then\"))return ne(Y,e.elementAt(Y.arguments,0),e.elementAt(Y.arguments,1),U,K,Te);if(v(Y,U.checker,\"catch\"))return Z(Y,e.elementAt(Y.arguments,0),U,K,Te);if(v(Y,U.checker,\"finally\"))return q(Y,e.elementAt(Y.arguments,0),U,K,Te);if(e.isPropertyAccessExpression(Y))return H(R,Y.expression,U,K,Te);var ge=U.checker.getTypeAtLocation(Y);return ge&&U.checker.getPromisedTypeOfPromise(ge)?(e.Debug.assertNode(e.getOriginalNode(Y).parent,e.isPropertyAccessExpression),F(R,Y,U,K,Te)):B()}function I(R,Y){var U=R.checker;if(Y.kind===104)return!0;if(e.isIdentifier(Y)&&!e.isGeneratedIdentifier(Y)&&e.idText(Y)===\"undefined\"){var K=U.getSymbolAtLocation(Y);return!K||U.isUndefinedSymbol(K)}return!1}function w(R){var Y=e.factory.createUniqueName(R.identifier.text,16);return u(Y)}function x(R,Y,U){var K;return U&&!Ce(R,Y)&&(j(U)?(K=U,Y.synthNamesMap.forEach(function(Te,ge){if(Te.identifier.text===U.identifier.text){var ke=w(U);Y.synthNamesMap.set(ge,ke)}})):K=u(e.factory.createUniqueName(\"result\",16),U.types),X(K)),K}function O(R,Y,U,K,Te){var ge=[],ke;if(K&&!Ce(R,Y)){ke=e.getSynthesizedDeepClone(X(K));var Pe=K.types,Ie=Y.checker.getUnionType(Pe,2),Ge=Y.isInJSFile?void 0:Y.checker.typeToTypeNode(Ie,void 0,void 0),he=[e.factory.createVariableDeclaration(ke,void 0,Ge)],ve=e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList(he,1));ge.push(ve)}return ge.push(U),Te&&ke&&Se(Te)&&ge.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.getSynthesizedDeepClone(ue(Te)),void 0,void 0,ke)],2))),ge}function q(R,Y,U,K,Te){if(!Y||I(U,Y))return H(R,R.expression.expression,U,K,Te);var ge=x(R,U,Te),ke=H(R,R.expression.expression,U,!0,ge);if(S())return B();var Pe=re(Y,K,void 0,void 0,R,U);if(S())return B();var Ie=e.factory.createBlock(ke),Ge=e.factory.createBlock(Pe),he=e.factory.createTryStatement(Ie,void 0,Ge);return O(R,U,he,ge,Te)}function Z(R,Y,U,K,Te){if(!Y||I(U,Y))return H(R,R.expression.expression,U,K,Te);var ge=C(Y,U),ke=x(R,U,Te),Pe=H(R,R.expression.expression,U,!0,ke);if(S())return B();var Ie=re(Y,K,ke,ge,R,U);if(S())return B();var Ge=e.factory.createBlock(Pe),he=e.factory.createCatchClause(ge&&e.getSynthesizedDeepClone(te(ge)),e.factory.createBlock(Ie)),ve=e.factory.createTryStatement(Ge,he,void 0);return O(R,U,ve,ke,Te)}function ne(R,Y,U,K,Te,ge){if(!Y||I(K,Y))return Z(R,U,K,Te,ge);if(U&&!I(K,U))return B();var ke=C(Y,K),Pe=H(R.expression.expression,R.expression.expression,K,!0,ke);if(S())return B();var Ie=re(Y,Te,ge,ke,R,K);return S()?B():e.concatenate(Pe,Ie)}function F(R,Y,U,K,Te){if(Ce(R,U)){var ge=e.getSynthesizedDeepClone(Y);return K&&(ge=e.factory.createAwaitExpression(ge)),[e.factory.createReturnStatement(ge)]}return Q(Te,e.factory.createAwaitExpression(Y),void 0)}function Q(R,Y,U){return!R||m(R)?[e.factory.createExpressionStatement(Y)]:j(R)&&R.hasBeenDeclared?[e.factory.createExpressionStatement(e.factory.createAssignment(e.getSynthesizedDeepClone(P(R)),Y))]:[e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.getSynthesizedDeepClone(te(R)),void 0,U,Y)],2))]}function V(R,Y){if(Y&&R){var U=e.factory.createUniqueName(\"result\",16);return Gt(Gt([],Q(u(U),R,Y),!0),[e.factory.createReturnStatement(U)],!1)}return[e.factory.createReturnStatement(R)]}function re(R,Y,U,K,Te,ge){var ke;switch(R.kind){case 104:break;case 205:case 79:if(!K)break;var Pe=e.factory.createCallExpression(e.getSynthesizedDeepClone(R),void 0,j(K)?[P(K)]:[]);if(Ce(Te,ge))return V(Pe,z(Te,R,ge.checker));var Ie=ge.checker.getTypeAtLocation(R),Ge=ge.checker.getSignaturesOfType(Ie,0);if(!Ge.length)return B();var he=Ge[0].getReturnType(),ve=Q(U,e.factory.createAwaitExpression(Pe),z(Te,R,ge.checker));return U&&U.types.push(ge.checker.getAwaitedType(he)||he),ve;case 212:case 213:{var Ve=R.body,_e=(ke=N(ge.checker.getTypeAtLocation(R),ge.checker))===null||ke===void 0?void 0:ke.getReturnType();if(e.isBlock(Ve)){for(var Le=[],qe=!1,Xe=0,De=Ve.statements;Xe<De.length;Xe++){var Ae=De[Xe];if(e.isReturnStatement(Ae))if(qe=!0,e.isReturnStatementWithFixablePromiseHandler(Ae,ge.checker))Le=Le.concat(D(ge,Ae,Y,U));else{var Ye=_e&&Ae.expression?T(ge.checker,_e,Ae.expression):Ae.expression;Le.push.apply(Le,V(Ye,z(Te,R,ge.checker)))}else{if(Y&&e.forEachReturnStatement(Ae,e.returnTrue))return B();Le.push(Ae)}}return Ce(Te,ge)?Le.map(function(lr){return e.getSynthesizedDeepClone(lr)}):y(Le,U,ge,qe)}else{var Dr=e.isFixablePromiseHandler(Ve,ge.checker)?D(ge,e.factory.createReturnStatement(Ve),Y,U):e.emptyArray;if(Dr.length>0)return Dr;if(_e){var Ye=T(ge.checker,_e,Ve);if(Ce(Te,ge))return V(Ye,z(Te,R,ge.checker));var br=Q(U,Ye,void 0);return U&&U.types.push(ge.checker.getAwaitedType(_e)||_e),br}else return B()}}default:return B()}return e.emptyArray}function T(R,Y,U){var K=e.getSynthesizedDeepClone(U);return R.getPromisedTypeOfPromise(Y)?e.factory.createAwaitExpression(K):K}function N(R,Y){var U=Y.getSignaturesOfType(R,0);return e.lastOrUndefined(U)}function y(R,Y,U,K){for(var Te=[],ge=0,ke=R;ge<ke.length;ge++){var Pe=ke[ge];if(e.isReturnStatement(Pe)){if(Pe.expression){var Ie=ie(Pe.expression,U.checker)?e.factory.createAwaitExpression(Pe.expression):Pe.expression;Y===void 0?Te.push(e.factory.createExpressionStatement(Ie)):j(Y)&&Y.hasBeenDeclared?Te.push(e.factory.createExpressionStatement(e.factory.createAssignment(P(Y),Ie))):Te.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(te(Y),void 0,void 0,Ie)],2)))}}else Te.push(e.getSynthesizedDeepClone(Pe))}return!K&&Y!==void 0&&Te.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(te(Y),void 0,void 0,e.factory.createIdentifier(\"undefined\"))],2))),Te}function D(R,Y,U,K){var Te=[];return e.forEachChild(Y,function ge(ke){if(e.isCallExpression(ke)){var Pe=H(ke,ke,R,U,K);if(Te=Te.concat(Pe),Te.length>0)return}else e.isFunctionLike(ke)||e.forEachChild(ke,ge)}),Te}function C(R,Y){var U=[],K;if(e.isFunctionLikeDeclaration(R)){if(R.parameters.length>0){var Te=R.parameters[0].name;K=ge(Te)}}else e.isIdentifier(R)?K=ke(R):e.isPropertyAccessExpression(R)&&e.isIdentifier(R.name)&&(K=ke(R.name));if(!K||\"identifier\"in K&&K.identifier.text===\"undefined\")return;return K;function ge(Ge){if(e.isIdentifier(Ge))return ke(Ge);var he=e.flatMap(Ge.elements,function(ve){return e.isOmittedExpression(ve)?[]:[ge(ve.name)]});return g(Ge,he)}function ke(Ge){var he=Ie(Ge),ve=Pe(he);if(!ve)return u(Ge,U);var Ve=Y.synthNamesMap.get(e.getSymbolId(ve).toString());return Ve||u(Ge,U)}function Pe(Ge){return Ge.symbol?Ge.symbol:Y.checker.getSymbolAtLocation(Ge)}function Ie(Ge){return Ge.original?Ge.original:Ge}}function m(R){return R?j(R)?!R.identifier.text:e.every(R.elements,m):!0}function u(R,Y){return Y===void 0&&(Y=[]),{kind:0,identifier:R,types:Y,hasBeenDeclared:!1,hasBeenReferenced:!1}}function g(R,Y,U){return Y===void 0&&(Y=e.emptyArray),U===void 0&&(U=[]),{kind:1,bindingPattern:R,elements:Y,types:U}}function P(R){return R.hasBeenReferenced=!0,R.identifier}function te(R){return j(R)?X(R):ue(R)}function ue(R){for(var Y=0,U=R.elements;Y<U.length;Y++){var K=U[Y];te(K)}return R.bindingPattern}function X(R){return R.hasBeenDeclared=!0,R.identifier}function j(R){return R.kind===0}function Se(R){return R.kind===1}function Ce(R,Y){return!!R.original&&Y.setOfExpressionsToReturn.has(e.getNodeId(R.original))}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){n.registerCodeFix({errorCodes:[e.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module.code],getCodeActions:function(D){var C=D.sourceFile,m=D.program,u=D.preferences,g=e.textChanges.ChangeTracker.with(D,function(P){var te=p(C,m.getTypeChecker(),P,e.getEmitScriptTarget(m.getCompilerOptions()),e.getQuotePreference(C,u));if(te)for(var ue=0,X=m.getSourceFiles();ue<X.length;ue++){var j=X[ue];f(j,C,P,e.getQuotePreference(j,u))}});return[n.createCodeFixActionWithoutFixAll(\"convertToEsModule\",g,e.Diagnostics.Convert_to_ES_module)]}});function f(D,C,m,u){for(var g=0,P=D.imports;g<P.length;g++){var te=P[g],ue=e.getResolvedModule(D,te.text,e.getModeForUsageLocation(D,te));if(!(!ue||ue.resolvedFileName!==C.fileName)){var X=e.importFromModuleSpecifier(te);switch(X.kind){case 264:m.replaceNode(D,X,e.makeImport(X.name,void 0,te,u));break;case 207:e.isRequireCall(X,!1)&&m.replaceNode(D,X,e.factory.createPropertyAccessExpression(e.getSynthesizedDeepClone(X),\"default\"));break}}}}function p(D,C,m,u,g){var P={original:q(D),additional:new e.Set},te=a(D,C,P);d(D,te,m);for(var ue=!1,X,j=0,Se=e.filter(D.statements,e.isVariableStatement);j<Se.length;j++){var Ce=Se[j],R=h(D,Ce,m,C,P,u,g);R&&e.copyEntries(R,X!=null?X:X=new e.Map)}for(var Y=0,U=e.filter(D.statements,function(Te){return!e.isVariableStatement(Te)});Y<U.length;Y++){var Ce=U[Y],K=J(D,Ce,C,m,P,u,te,X,g);ue=ue||K}return X==null||X.forEach(function(Te,ge){m.replaceNode(D,ge,Te)}),ue}function a(D,C,m){var u=new e.Map;return k(D,function(g){var P=g.name,te=P.text,ue=P.originalKeywordKind;!u.has(te)&&(ue!==void 0&&e.isNonContextualKeyword(ue)||C.resolveName(te,g,111551,!0))&&u.set(te,O(\"_\".concat(te),m))}),u}function d(D,C,m){k(D,function(u,g){if(!g){var P=u.name.text;m.replaceNode(D,u,e.factory.createIdentifier(C.get(P)||P))}})}function k(D,C){D.forEachChild(function m(u){if(e.isPropertyAccessExpression(u)&&e.isExportsOrModuleExportsOrAlias(D,u.expression)&&e.isIdentifier(u.name)){var g=u.parent;C(u,e.isBinaryExpression(g)&&g.left===u&&g.operatorToken.kind===63)}u.forEachChild(m)})}function J(D,C,m,u,g,P,te,ue,X){switch(C.kind){case 236:return h(D,C,u,m,g,P,X),!1;case 237:{var j=C.expression;switch(j.kind){case 207:return e.isRequireCall(j,!0)&&u.replaceNode(D,C,e.makeImport(void 0,void 0,j.arguments[0],X)),!1;case 220:{var Se=j.operatorToken;return Se.kind===63&&A(D,m,j,u,te,ue)}}}default:return!1}}function h(D,C,m,u,g,P,te){var ue=C.declarationList,X=!1,j=e.map(ue.declarations,function(Ce){var R=Ce.name,Y=Ce.initializer;if(Y){if(e.isExportsOrModuleExportsOrAlias(D,Y))return X=!0,y([]);if(e.isRequireCall(Y,!0))return X=!0,w(R,Y.arguments[0],u,g,P,te);if(e.isPropertyAccessExpression(Y)&&e.isRequireCall(Y.expression,!0))return X=!0,v(R,Y.name.text,Y.expression.arguments[0],g,te)}return y([e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([Ce],ue.flags))])});if(X){m.replaceNodeWithNodes(D,C,e.flatMap(j,function(Ce){return Ce.newImports}));var Se;return e.forEach(j,function(Ce){Ce.useSitesToUnqualify&&e.copyEntries(Ce.useSitesToUnqualify,Se!=null?Se:Se=new e.Map)}),Se}}function v(D,C,m,u,g){switch(D.kind){case 200:case 201:{var P=O(C,u);return y([V(P,C,m,g),T(void 0,D,e.factory.createIdentifier(P))])}case 79:return y([V(D.text,C,m,g)]);default:return e.Debug.assertNever(D,\"Convert to ES module got invalid syntax form \".concat(D.kind))}}function A(D,C,m,u,g,P){var te=m.left,ue=m.right;if(!e.isPropertyAccessExpression(te))return!1;if(e.isExportsOrModuleExportsOrAlias(D,te))if(e.isExportsOrModuleExportsOrAlias(D,ue))u.delete(D,m.parent);else{var X=e.isObjectLiteralExpression(ue)?z(ue,P):e.isRequireCall(ue,!0)?b(ue.arguments[0],C):void 0;return X?(u.replaceNodeWithNodes(D,m.parent,X[0]),X[1]):(u.replaceRangeWithText(D,e.createRange(te.getStart(D),ue.pos),\"export default\"),!0)}else e.isExportsOrModuleExportsOrAlias(D,te.expression)&&ie(D,m,u,g);return!1}function z(D,C){var m=e.mapAllOrFail(D.properties,function(u){switch(u.kind){case 171:case 172:case 295:case 296:return;case 294:return e.isIdentifier(u.name)?H(u.name.text,u.initializer,C):void 0;case 168:return e.isIdentifier(u.name)?F(u.name.text,[e.factory.createToken(93)],u,C):void 0;default:e.Debug.assertNever(u,\"Convert to ES6 got invalid prop kind \".concat(u.kind))}});return m&&[m,!1]}function ie(D,C,m,u){var g=C.left.name.text,P=u.get(g);if(P!==void 0){var te=[T(void 0,P,C.right),N([e.factory.createExportSpecifier(!1,P,g)])];m.replaceNodeWithNodes(D,C.parent,te)}else B(C,D,m)}function b(D,C){var m=D.text,u=C.getSymbolAtLocation(D),g=u?u.exports:e.emptyMap;return g.has(\"export=\")?[[S(m)],!0]:g.has(\"default\")?g.size>1?[[M(m),S(m)],!0]:[[S(m)],!0]:[[M(m)],!1]}function M(D){return N(void 0,D)}function S(D){return N([e.factory.createExportSpecifier(!1,void 0,\"default\")],D)}function B(D,C,m){var u=D.left,g=D.right,P=D.parent,te=u.name.text;if((e.isFunctionExpression(g)||e.isArrowFunction(g)||e.isClassExpression(g))&&(!g.name||g.name.text===te)){m.replaceRange(C,{pos:u.getStart(C),end:g.getStart(C)},e.factory.createToken(93),{suffix:\" \"}),g.name||m.insertName(C,g,te);var ue=e.findChildOfKind(P,26,C);ue&&m.delete(C,ue)}else m.replaceNodeRangeWithNodes(C,u.expression,e.findChildOfKind(u,24,C),[e.factory.createToken(93),e.factory.createToken(85)],{joiner:\" \",suffix:\" \"})}function H(D,C,m){var u=[e.factory.createToken(93)];switch(C.kind){case 212:{var g=C.name;if(g&&g.text!==D)return P()}case 213:return F(D,u,C,m);case 225:return Q(D,u,C,m);default:return P()}function P(){return T(u,e.factory.createIdentifier(D),I(C,m))}}function I(D,C){if(!C||!e.some(e.arrayFrom(C.keys()),function(u){return e.rangeContainsRange(D,u)}))return D;return e.isArray(D)?e.getSynthesizedDeepClonesWithReplacements(D,!0,m):e.getSynthesizedDeepCloneWithReplacements(D,!0,m);function m(u){if(u.kind===205){var g=C.get(u);return C.delete(u),g}}}function w(D,C,m,u,g,P){switch(D.kind){case 200:{var te=e.mapAllOrFail(D.elements,function(X){return X.dotDotDotToken||X.initializer||X.propertyName&&!e.isIdentifier(X.propertyName)||!e.isIdentifier(X.name)?void 0:re(X.propertyName&&X.propertyName.text,X.name.text)});if(te)return y([e.makeImport(void 0,te,C,P)])}case 201:{var ue=O(n.moduleSpecifierToValidIdentifier(C.text,g),u);return y([e.makeImport(e.factory.createIdentifier(ue),void 0,C,P),T(void 0,e.getSynthesizedDeepClone(D),e.factory.createIdentifier(ue))])}case 79:return x(D,C,m,u,P);default:return e.Debug.assertNever(D,\"Convert to ES module got invalid name kind \".concat(D.kind))}}function x(D,C,m,u,g){for(var P=m.getSymbolAtLocation(D),te=new e.Map,ue=!1,X,j=0,Se=u.original.get(D.text);j<Se.length;j++){var Ce=Se[j];if(!(m.getSymbolAtLocation(Ce)!==P||Ce===D)){var R=Ce.parent;if(e.isPropertyAccessExpression(R)){var Y=R.name.text;if(Y===\"default\"){ue=!0;var U=Ce.getText();(X!=null?X:X=new e.Map).set(R,e.factory.createIdentifier(U))}else{e.Debug.assert(R.expression===Ce,\"Didn't expect expression === use\");var K=te.get(Y);K===void 0&&(K=O(Y,u),te.set(Y,K)),(X!=null?X:X=new e.Map).set(R,e.factory.createIdentifier(K))}}else ue=!0}}var Te=te.size===0?void 0:e.arrayFrom(e.mapIterator(te.entries(),function(ge){var ke=ge[0],Pe=ge[1];return e.factory.createImportSpecifier(!1,ke===Pe?void 0:e.factory.createIdentifier(ke),e.factory.createIdentifier(Pe))}));return Te||(ue=!0),y([e.makeImport(ue?e.getSynthesizedDeepClone(D):void 0,Te,C,g)],X)}function O(D,C){for(;C.original.has(D)||C.additional.has(D);)D=\"_\".concat(D);return C.additional.add(D),D}function q(D){var C=e.createMultiMap();return Z(D,function(m){return C.add(m.text,m)}),C}function Z(D,C){e.isIdentifier(D)&&ne(D)&&C(D),D.forEachChild(function(m){return Z(m,C)})}function ne(D){var C=D.parent;switch(C.kind){case 205:return C.name!==D;case 202:return C.propertyName!==D;case 269:return C.propertyName!==D;default:return!0}}function F(D,C,m,u){return e.factory.createFunctionDeclaration(e.getSynthesizedDeepClones(m.decorators),e.concatenate(C,e.getSynthesizedDeepClones(m.modifiers)),e.getSynthesizedDeepClone(m.asteriskToken),D,e.getSynthesizedDeepClones(m.typeParameters),e.getSynthesizedDeepClones(m.parameters),e.getSynthesizedDeepClone(m.type),e.factory.converters.convertToFunctionBlock(I(m.body,u)))}function Q(D,C,m,u){return e.factory.createClassDeclaration(e.getSynthesizedDeepClones(m.decorators),e.concatenate(C,e.getSynthesizedDeepClones(m.modifiers)),D,e.getSynthesizedDeepClones(m.typeParameters),e.getSynthesizedDeepClones(m.heritageClauses),I(m.members,u))}function V(D,C,m,u){return C===\"default\"?e.makeImport(e.factory.createIdentifier(D),void 0,m,u):e.makeImport(void 0,[re(C,D)],m,u)}function re(D,C){return e.factory.createImportSpecifier(!1,D!==void 0&&D!==C?e.factory.createIdentifier(D):void 0,e.factory.createIdentifier(C))}function T(D,C,m){return e.factory.createVariableStatement(D,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(C,void 0,void 0,m)],2))}function N(D,C){return e.factory.createExportDeclaration(void 0,void 0,!1,D&&e.factory.createNamedExports(D),C===void 0?void 0:e.factory.createStringLiteral(C))}function y(D,C){return{newImports:D,useSitesToUnqualify:C}}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"correctQualifiedNameToIndexedAccessType\",p=[e.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({errorCodes:p,getCodeActions:function(k){var J=a(k.sourceFile,k.span.start);if(!!J){var h=e.textChanges.ChangeTracker.with(k,function(A){return d(A,k.sourceFile,J)}),v=\"\".concat(J.left.text,'[\"').concat(J.right.text,'\"]');return[n.createCodeFixAction(f,h,[e.Diagnostics.Rewrite_as_the_indexed_access_type_0,v],f,e.Diagnostics.Rewrite_all_as_indexed_access_types)]}},fixIds:[f],getAllCodeActions:function(k){return n.codeFixAll(k,p,function(J,h){var v=a(h.file,h.start);v&&d(J,h.file,v)})}});function a(k,J){var h=e.findAncestor(e.getTokenAtPosition(k,J),e.isQualifiedName);return e.Debug.assert(!!h,\"Expected position to be owned by a qualified name.\"),e.isIdentifier(h.left)?h:void 0}function d(k,J,h){var v=h.right.text,A=e.factory.createIndexedAccessTypeNode(e.factory.createTypeReferenceNode(h.left,void 0),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(v)));k.replaceNode(J,h,A)}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=[e.Diagnostics.Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type.code],p=\"convertToTypeOnlyExport\";n.registerCodeFix({errorCodes:f,getCodeActions:function(J){var h=e.textChanges.ChangeTracker.with(J,function(v){return d(v,a(J.span,J.sourceFile),J)});if(h.length)return[n.createCodeFixAction(p,h,e.Diagnostics.Convert_to_type_only_export,p,e.Diagnostics.Convert_all_re_exported_types_to_type_only_exports)]},fixIds:[p],getAllCodeActions:function(J){var h=new e.Map;return n.codeFixAll(J,f,function(v,A){var z=a(A,J.sourceFile);z&&e.addToSeen(h,e.getNodeId(z.parent.parent))&&d(v,z,J)})}});function a(J,h){return e.tryCast(e.getTokenAtPosition(h,J.start).parent,e.isExportSpecifier)}function d(J,h,v){if(!!h){var A=h.parent,z=A.parent,ie=k(h,v);if(ie.length===A.elements.length)J.insertModifierBefore(v.sourceFile,151,A);else{var b=e.factory.updateExportDeclaration(z,z.decorators,z.modifiers,!1,e.factory.updateNamedExports(A,e.filter(A.elements,function(S){return!e.contains(ie,S)})),z.moduleSpecifier,void 0),M=e.factory.createExportDeclaration(void 0,void 0,!0,e.factory.createNamedExports(ie),z.moduleSpecifier,void 0);J.replaceNode(v.sourceFile,z,b,{leadingTriviaOption:e.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Exclude}),J.insertNodeAfter(v.sourceFile,z,M)}}}function k(J,h){var v=J.parent;if(v.elements.length===1)return v.elements;var A=e.getDiagnosticsWithinSpan(e.createTextSpanFromNode(v),h.program.getSemanticDiagnostics(h.sourceFile,h.cancellationToken));return e.filter(v.elements,function(z){var ie;return z===J||((ie=e.findDiagnosticForNode(z,A))===null||ie===void 0?void 0:ie.code)===f[0]})}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=[e.Diagnostics.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error.code],p=\"convertToTypeOnlyImport\";n.registerCodeFix({errorCodes:f,getCodeActions:function(k){var J=e.textChanges.ChangeTracker.with(k,function(h){var v=a(k.span,k.sourceFile);d(h,v,k)});if(J.length)return[n.createCodeFixAction(p,J,e.Diagnostics.Convert_to_type_only_import,p,e.Diagnostics.Convert_all_imports_not_used_as_a_value_to_type_only_imports)]},fixIds:[p],getAllCodeActions:function(k){return n.codeFixAll(k,f,function(J,h){var v=a(h,k.sourceFile);d(J,v,k)})}});function a(k,J){return e.tryCast(e.getTokenAtPosition(J,k.start).parent,e.isImportDeclaration)}function d(k,J,h){if(!!(J!=null&&J.importClause)){var v=J.importClause;k.insertText(h.sourceFile,J.getStart()+6,\" type\"),v.name&&v.namedBindings&&(k.deleteNodeRangeExcludingEnd(h.sourceFile,v.name,J.importClause.namedBindings),k.insertNodeBefore(h.sourceFile,J,e.factory.updateImportDeclaration(J,void 0,void 0,e.factory.createImportClause(!0,v.name,void 0),J.moduleSpecifier,void 0)))}}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"convertLiteralTypeToMappedType\",p=[e.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({errorCodes:p,getCodeActions:function(k){var J=k.sourceFile,h=k.span,v=a(J,h.start);if(!!v){var A=v.name,z=v.constraint,ie=e.textChanges.ChangeTracker.with(k,function(b){return d(b,J,v)});return[n.createCodeFixAction(f,ie,[e.Diagnostics.Convert_0_to_1_in_0,z,A],f,e.Diagnostics.Convert_all_type_literals_to_mapped_type)]}},fixIds:[f],getAllCodeActions:function(k){return n.codeFixAll(k,p,function(J,h){var v=a(h.file,h.start);v&&d(J,h.file,v)})}});function a(k,J){var h=e.getTokenAtPosition(k,J);if(e.isIdentifier(h)){var v=e.cast(h.parent.parent,e.isPropertySignature),A=h.getText(k);return{container:e.cast(v.parent,e.isTypeLiteralNode),typeNode:v.type,constraint:A,name:A===\"K\"?\"P\":\"K\"}}}function d(k,J,h){var v=h.container,A=h.typeNode,z=h.constraint,ie=h.name;k.replaceNode(J,v,e.factory.createMappedTypeNode(void 0,e.factory.createTypeParameterDeclaration(ie,e.factory.createTypeReferenceNode(z)),void 0,void 0,A,void 0))}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=[e.Diagnostics.Class_0_incorrectly_implements_interface_1.code,e.Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code],p=\"fixClassIncorrectlyImplementsInterface\";n.registerCodeFix({errorCodes:f,getCodeActions:function(h){var v=h.sourceFile,A=h.span,z=a(v,A.start);return e.mapDefined(e.getEffectiveImplementsTypeNodes(z),function(ie){var b=e.textChanges.ChangeTracker.with(h,function(M){return k(h,ie,v,z,M,h.preferences)});return b.length===0?void 0:n.createCodeFixAction(p,b,[e.Diagnostics.Implement_interface_0,ie.getText(v)],p,e.Diagnostics.Implement_all_unimplemented_interfaces)})},fixIds:[p],getAllCodeActions:function(h){var v=new e.Map;return n.codeFixAll(h,f,function(A,z){var ie=a(z.file,z.start);if(e.addToSeen(v,e.getNodeId(ie)))for(var b=0,M=e.getEffectiveImplementsTypeNodes(ie);b<M.length;b++){var S=M[b];k(h,S,z.file,ie,A,h.preferences)}})}});function a(h,v){return e.Debug.checkDefined(e.getContainingClass(e.getTokenAtPosition(h,v)),\"There should be a containing class\")}function d(h){return!h.valueDeclaration||!(e.getEffectiveModifierFlags(h.valueDeclaration)&8)}function k(h,v,A,z,ie,b){var M=h.program.getTypeChecker(),S=J(z,M),B=M.getTypeAtLocation(v),H=M.getPropertiesOfType(B),I=H.filter(e.and(d,function(ne){return!S.has(ne.escapedName)})),w=M.getTypeAtLocation(z),x=e.find(z.members,function(ne){return e.isConstructorDeclaration(ne)});w.getNumberIndexType()||q(B,1),w.getStringIndexType()||q(B,0);var O=n.createImportAdder(A,h.program,b,h.host);n.createMissingMemberNodes(z,I,A,h,b,O,function(ne){return Z(A,z,ne)}),O.writeFixes(ie);function q(ne,F){var Q=M.getIndexInfoOfType(ne,F);Q&&Z(A,z,M.indexInfoToIndexSignatureDeclaration(Q,z,void 0,n.getNoopSymbolTrackerWithResolver(h)))}function Z(ne,F,Q){x?ie.insertNodeAfter(ne,x,Q):ie.insertNodeAtClassStart(ne,F,Q)}}function J(h,v){var A=e.getEffectiveBaseTypeNode(h);if(!A)return e.createSymbolTable();var z=v.getTypeAtLocation(A),ie=v.getPropertiesOfType(z);return e.createSymbolTable(ie.filter(d))}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){n.importFixName=\"import\";var f=\"fixMissingImport\",p=[e.Diagnostics.Cannot_find_name_0.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,e.Diagnostics.Cannot_find_namespace_0.code,e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here.code,e.Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(Ie){var Ge=Ie.errorCode,he=Ie.preferences,ve=Ie.sourceFile,Ve=Ie.span,_e=Ie.program,Le=F(Ie,Ge,Ve.start,!0);if(!!Le){var qe=Le.fixes,Xe=Le.symbolName,De=e.getQuotePreference(ve,he);return qe.map(function(Ae){return ue(Ie,ve,Xe,Ae,De,_e.getCompilerOptions())})}},fixIds:[f],getAllCodeActions:function(Ie){var Ge=Ie.sourceFile,he=Ie.program,ve=Ie.preferences,Ve=Ie.host,_e=d(Ge,he,!0,ve,Ve);return n.eachDiagnostic(Ie,p,function(Le){return _e.addImportFromDiagnostic(Le,Ie)}),n.createCombinedCodeActions(e.textChanges.ChangeTracker.with(Ie,_e.writeFixes))}});function a(Ie,Ge,he,ve){return d(Ie,Ge,!1,he,ve)}n.createImportAdder=a;function d(Ie,Ge,he,ve,Ve){var _e=Ge.getCompilerOptions(),Le=[],qe=[],Xe=new e.Map,De=new e.Map;return{addImportFromDiagnostic:Ae,addImportFromExportedSymbol:Ye,writeFixes:br,hasFixes:lr};function Ae(Ar,kr){var Ke=F(kr,Ar.code,Ar.start,he);!Ke||!Ke.fixes.length||Dr(Ke)}function Ye(Ar,kr){var Ke=e.Debug.checkDefined(Ar.parent),Me=e.getNameForExportedSymbol(Ar,e.getEmitScriptTarget(_e)),Hr=Ge.getTypeChecker(),ur=Hr.getMergedSymbol(e.skipAlias(Ar,Hr)),gr=ie(Ie,ur,Ke,Me,Ve,Ge,ve,he),de=O(Ie,Ge),Fe=v(Ie,gr,Ke,Me,Ge,void 0,!!kr,de,Ve,ve);Fe&&Dr({fixes:[Fe],symbolName:Me})}function Dr(Ar){var kr,Ke,Me=Ar.fixes,Hr=Ar.symbolName,ur=e.first(Me);switch(ur.kind){case 0:Le.push(ur);break;case 1:qe.push(ur);break;case 2:{var gr=ur.importClauseOrBindingPattern,de=ur.importKind,Fe=ur.addAsTypeOnly,$e=String(e.getNodeId(gr)),Sr=Xe.get($e);if(Sr||Xe.set($e,Sr={importClauseOrBindingPattern:gr,defaultImport:void 0,namedImports:new e.Map}),de===0){var Pr=Sr==null?void 0:Sr.namedImports.get(Hr);Sr.namedImports.set(Hr,Jr(Pr,Fe))}else e.Debug.assert(Sr.defaultImport===void 0||Sr.defaultImport.name===Hr,\"(Add to Existing) Default import should be missing or match symbolName\"),Sr.defaultImport={name:Hr,addAsTypeOnly:Jr((kr=Sr.defaultImport)===null||kr===void 0?void 0:kr.addAsTypeOnly,Fe)};break}case 3:{var He=ur.moduleSpecifier,de=ur.importKind,pr=ur.useRequire,Fe=ur.addAsTypeOnly,Sr=ze(He,de,pr,Fe);switch(e.Debug.assert(Sr.useRequire===pr,\"(Add new) Tried to add an `import` and a `require` for the same module\"),de){case 1:e.Debug.assert(Sr.defaultImport===void 0||Sr.defaultImport.name===Hr,\"(Add new) Default import should be missing or match symbolName\"),Sr.defaultImport={name:Hr,addAsTypeOnly:Jr((Ke=Sr.defaultImport)===null||Ke===void 0?void 0:Ke.addAsTypeOnly,Fe)};break;case 0:var Pr=(Sr.namedImports||(Sr.namedImports=new e.Map)).get(Hr);Sr.namedImports.set(Hr,Jr(Pr,Fe));break;case 3:case 2:e.Debug.assert(Sr.namespaceLikeImport===void 0||Sr.namespaceLikeImport.name===Hr,\"Namespacelike import shoudl be missing or match symbolName\"),Sr.namespaceLikeImport={importKind:de,name:Hr,addAsTypeOnly:Fe};break}break}default:e.Debug.assertNever(ur,\"fix wasn't never - got kind \".concat(ur.kind))}function Jr(Yr,lt){return Math.max(Yr!=null?Yr:0,lt)}function ze(Yr,lt,tt,Rt){var cn=Lr(Yr,!0),bn=Lr(Yr,!1),In=De.get(cn),zn=De.get(bn),ir={defaultImport:void 0,namedImports:void 0,namespaceLikeImport:void 0,useRequire:tt};return lt===1&&Rt===2?In||(De.set(cn,ir),ir):Rt===1&&(In||zn)?In||zn:zn||(De.set(bn,ir),ir)}function Lr(Yr,lt){return\"\".concat(lt?1:0,\"|\").concat(Yr)}}function br(Ar){for(var kr=e.getQuotePreference(Ie,ve),Ke=0,Me=Le;Ke<Me.length;Ke++){var Hr=Me[Ke];Se(Ar,Ie,Hr)}for(var ur=0,gr=qe;ur<gr.length;ur++){var Hr=gr[ur];Ce(Ar,Ie,Hr,kr)}Xe.forEach(function(Fe){var $e=Fe.importClauseOrBindingPattern,Sr=Fe.defaultImport,Pr=Fe.namedImports;j(Ar,Ie,$e,Sr,e.arrayFrom(Pr.entries(),function(He){var pr=He[0],Jr=He[1];return{addAsTypeOnly:Jr,name:pr}}),_e)});var de;De.forEach(function(Fe,$e){var Sr=Fe.useRequire,Pr=Fe.defaultImport,He=Fe.namedImports,pr=Fe.namespaceLikeImport,Jr=$e.slice(2),ze=Sr?K:U,Lr=ze(Jr,kr,Pr,He&&e.arrayFrom(He.entries(),function(Yr){var lt=Yr[0],tt=Yr[1];return{addAsTypeOnly:tt,name:lt}}),pr);de=e.combine(de,Lr)}),de&&e.insertImports(Ar,Ie,de,!0)}function lr(){return Le.length>0||qe.length>0||Xe.size>0||De.size>0}}var k;(function(Ie){Ie[Ie.UseNamespace=0]=\"UseNamespace\",Ie[Ie.JsdocTypeImport=1]=\"JsdocTypeImport\",Ie[Ie.AddToExisting=2]=\"AddToExisting\",Ie[Ie.AddNew=3]=\"AddNew\"})(k||(k={}));var J;(function(Ie){Ie[Ie.Allowed=1]=\"Allowed\",Ie[Ie.Required=2]=\"Required\",Ie[Ie.NotAllowed=4]=\"NotAllowed\"})(J||(J={}));function h(Ie,Ge,he,ve,Ve,_e,Le,qe,Xe){var De=_e.getCompilerOptions(),Ae=e.pathIsBareSpecifier(e.stripQuotes(Ge.name))?[z(Ie,Ge,_e,Ve)]:ie(he,Ie,Ge,ve,Ve,_e,Xe,!0),Ye=O(he,_e),Dr=e.isValidTypeOnlyAliasUseSite(e.getTokenAtPosition(he,qe)),br=e.Debug.checkDefined(v(he,Ae,Ge,ve,_e,qe,Dr,Ye,Ve,Xe));return{moduleSpecifier:br.moduleSpecifier,codeAction:A(ue({host:Ve,formatContext:Le,preferences:Xe},he,ve,br,e.getQuotePreference(he,Xe),De))}}n.getImportCompletionAction=h;function v(Ie,Ge,he,ve,Ve,_e,Le,qe,Xe,De){return e.Debug.assert(Ge.some(function(Ae){return Ae.moduleSymbol===he||Ae.symbol.parent===he}),\"Some exportInfo should match the specified moduleSymbol\"),V(M(Ge,ve,_e,Le,qe,Ve,Ie,Xe,De),Ie,Ve,Xe,De)}function A(Ie){var Ge=Ie.description,he=Ie.changes,ve=Ie.commands;return{description:Ge,changes:he,commands:ve}}function z(Ie,Ge,he,ve){var Ve,_e,Le=he.getCompilerOptions(),qe=De(he.getTypeChecker(),!1);if(qe)return qe;var Xe=(_e=(Ve=ve.getPackageJsonAutoImportProvider)===null||Ve===void 0?void 0:Ve.call(ve))===null||_e===void 0?void 0:_e.getTypeChecker();return e.Debug.checkDefined(Xe&&De(Xe,!0),\"Could not find symbol in specified module for code actions\");function De(Ae,Ye){var Dr=e.getDefaultLikeExportInfo(Ge,Ae,Le);if(Dr&&e.skipAlias(Dr.symbol,Ae)===Ie)return{symbol:Dr.symbol,moduleSymbol:Ge,moduleFileName:void 0,exportKind:Dr.exportKind,targetFlags:e.skipAlias(Ie,Ae).flags,isFromPackageJson:Ye};var br=Ae.tryGetMemberInModuleExportsAndProperties(Ie.name,Ge);if(br&&e.skipAlias(br,Ae)===Ie)return{symbol:br,moduleSymbol:Ge,moduleFileName:void 0,exportKind:0,targetFlags:e.skipAlias(Ie,Ae).flags,isFromPackageJson:Ye}}}function ie(Ie,Ge,he,ve,Ve,_e,Le,qe){var Xe=[],De=_e.getCompilerOptions(),Ae=e.memoizeOne(function(Dr){return e.createModuleSpecifierResolutionHost(Dr?Ve.getPackageJsonAutoImportProvider():_e,Ve)});return e.forEachExternalModuleToImportFrom(_e,Ve,qe,function(Dr,br,lr,Ar){var kr=lr.getTypeChecker();if(!(br&&Dr!==he&&e.startsWith(Ie.fileName,e.getDirectoryPath(br.fileName)))){var Ke=e.getDefaultLikeExportInfo(Dr,kr,De);Ke&&(Ke.name===ve||ke(Dr,e.getEmitScriptTarget(De))===ve)&&e.skipAlias(Ke.symbol,kr)===Ge&&Ye(lr,br,Ar)&&Xe.push({symbol:Ke.symbol,moduleSymbol:Dr,moduleFileName:br==null?void 0:br.fileName,exportKind:Ke.exportKind,targetFlags:e.skipAlias(Ke.symbol,kr).flags,isFromPackageJson:Ar});for(var Me=0,Hr=kr.getExportsAndPropertiesOfModule(Dr);Me<Hr.length;Me++){var ur=Hr[Me];ur.name===ve&&kr.getMergedSymbol(e.skipAlias(ur,kr))===Ge&&Ye(lr,br,Ar)&&Xe.push({symbol:ur,moduleSymbol:Dr,moduleFileName:br==null?void 0:br.fileName,exportKind:0,targetFlags:e.skipAlias(ur,kr).flags,isFromPackageJson:Ar})}}}),Xe;function Ye(Dr,br,lr){var Ar;return!br||e.isImportableFile(Dr,Ie,br,Le,void 0,Ae(lr),(Ar=Ve.getModuleSpecifierCache)===null||Ar===void 0?void 0:Ar.call(Ve))}}function b(Ie,Ge,he,ve,Ve,_e){var Le=q(he,Ge,void 0,!1,!1,Ie,ve,Ve,_e),qe=Le.fixes,Xe=Le.computedWithoutCacheCount,De=V(qe,Ge,he,ve,Ve);return De&&Rn(Rn({},De),{computedWithoutCacheCount:Xe})}n.getModuleSpecifierForBestExportInfo=b;function M(Ie,Ge,he,ve,Ve,_e,Le,qe,Xe){var De=_e.getTypeChecker(),Ae=e.flatMap(Ie,function(lr){return x(lr,De,Le,_e.getCompilerOptions())}),Ye=he===void 0?void 0:S(Ae,Ge,he,De),Dr=w(Ae,ve,De,_e.getCompilerOptions()),br=Dr?[Dr]:Z(Ie,Ae,_e,Le,he,ve,Ve,qe,Xe);return Gt(Gt([],Ye?[Ye]:e.emptyArray,!0),br,!0)}function S(Ie,Ge,he,ve){return e.firstDefined(Ie,function(Ve){var _e=Ve.declaration,Le=H(_e),qe=e.tryGetModuleSpecifierFromDeclaration(_e);if(Le&&qe){var Xe=B(_e,ve);if(Xe&&Xe.exports.has(e.escapeLeadingUnderscores(Ge)))return{kind:0,namespacePrefix:Le,position:he,moduleSpecifier:qe}}})}function B(Ie,Ge){var he;switch(Ie.kind){case 253:return Ge.resolveExternalModuleName(Ie.initializer.arguments[0]);case 264:return Ge.getAliasedSymbol(Ie.symbol);case 265:var ve=e.tryCast((he=Ie.importClause)===null||he===void 0?void 0:he.namedBindings,e.isNamespaceImport);return ve&&Ge.getAliasedSymbol(ve.symbol);default:return e.Debug.assertNever(Ie)}}function H(Ie){var Ge,he,ve;switch(Ie.kind){case 253:return(Ge=e.tryCast(Ie.name,e.isIdentifier))===null||Ge===void 0?void 0:Ge.text;case 264:return Ie.name.text;case 265:return(ve=e.tryCast((he=Ie.importClause)===null||he===void 0?void 0:he.namedBindings,e.isNamespaceImport))===null||ve===void 0?void 0:ve.name.text;default:return e.Debug.assertNever(Ie)}}function I(Ie,Ge,he,ve,Ve,_e){return Ie?Ge&&_e.importsNotUsedAsValues===2||_e.isolatedModules&&_e.preserveValueImports&&(!(ve&111551)||!!Ve.getTypeOnlyAliasDeclaration(he))?2:1:4}function w(Ie,Ge,he,ve){return e.firstDefined(Ie,function(Ve){var _e=Ve.declaration,Le=Ve.importKind,qe=Ve.symbol,Xe=Ve.targetFlags;if(!(Le===3||Le===2||_e.kind===264)){if(_e.kind===253)return(Le===0||Le===1)&&_e.name.kind===200?{kind:2,importClauseOrBindingPattern:_e.name,importKind:Le,moduleSpecifier:_e.initializer.arguments[0].text,addAsTypeOnly:4}:void 0;var De=_e.importClause;if(!(!De||!e.isStringLiteralLike(_e.moduleSpecifier))){var Ae=De.name,Ye=De.namedBindings;if(!(De.isTypeOnly&&!(Le===0&&Ye))){var Dr=I(Ge,!1,qe,Xe,he,ve);if(!(Le===1&&(Ae||Dr===2&&Ye))&&!(Le===0&&(Ye==null?void 0:Ye.kind)===267))return{kind:2,importClauseOrBindingPattern:De,importKind:Le,moduleSpecifier:_e.moduleSpecifier.text,addAsTypeOnly:Dr}}}}})}function x(Ie,Ge,he,ve){var Ve=Ie.moduleSymbol,_e=Ie.exportKind,Le=Ie.targetFlags,qe=Ie.symbol;if(!(Le&111551)&&e.isSourceFileJS(he))return e.emptyArray;var Xe=D(he,_e,ve);return e.mapDefined(he.imports,function(De){var Ae=e.importFromModuleSpecifier(De);if(e.isVariableDeclarationInitializedToRequire(Ae.parent))return Ge.resolveExternalModuleName(De)===Ve?{declaration:Ae.parent,importKind:Xe,symbol:qe,targetFlags:Le}:void 0;if(Ae.kind===265||Ae.kind===264)return Ge.getSymbolAtLocation(De)===Ve?{declaration:Ae,importKind:Xe,symbol:qe,targetFlags:Le}:void 0})}function O(Ie,Ge){if(!e.isSourceFileJS(Ie))return!1;if(Ie.commonJsModuleIndicator&&!Ie.externalModuleIndicator)return!0;if(Ie.externalModuleIndicator&&!Ie.commonJsModuleIndicator)return!1;var he=Ge.getCompilerOptions();if(he.configFile)return e.getEmitModuleKind(he)<e.ModuleKind.ES2015;for(var ve=0,Ve=Ge.getSourceFiles();ve<Ve.length;ve++){var _e=Ve[ve];if(!(_e===Ie||!e.isSourceFileJS(_e)||Ge.isSourceFileFromExternalLibrary(_e))){if(_e.commonJsModuleIndicator&&!_e.externalModuleIndicator)return!0;if(_e.externalModuleIndicator&&!_e.commonJsModuleIndicator)return!1}}return!0}function q(Ie,Ge,he,ve,Ve,_e,Le,qe,Xe){var De=e.isSourceFileJS(Ge),Ae=Ie.getCompilerOptions(),Ye=e.createModuleSpecifierResolutionHost(Ie,Le),Dr=e.memoizeOne(function(kr){return kr?Le.getPackageJsonAutoImportProvider().getTypeChecker():Ie.getTypeChecker()}),br=Xe?function(kr){return{moduleSpecifiers:e.moduleSpecifiers.tryGetModuleSpecifiersFromCache(kr,Ge,Ye,qe),computedWithoutCache:!1}}:function(kr,Ke){return e.moduleSpecifiers.getModuleSpecifiersWithCacheInfo(kr,Ke,Ae,Ge,Ye,qe)},lr=0,Ar=e.flatMap(_e,function(kr){var Ke=Dr(kr.isFromPackageJson),Me=br(kr.moduleSymbol,Ke),Hr=Me.computedWithoutCache,ur=Me.moduleSpecifiers,gr=!!(kr.targetFlags&111551),de=I(ve,!0,kr.symbol,kr.targetFlags,Ke,Ae);return lr+=Hr?1:0,ur==null?void 0:ur.map(function(Fe){return!gr&&De&&he!==void 0?{kind:1,moduleSpecifier:Fe,position:he,exportInfo:kr}:{kind:3,moduleSpecifier:Fe,importKind:D(Ge,kr.exportKind,Ae),useRequire:Ve,addAsTypeOnly:de,exportInfo:kr}})});return{computedWithoutCacheCount:lr,fixes:Ar}}function Z(Ie,Ge,he,ve,Ve,_e,Le,qe,Xe){var De=e.firstDefined(Ge,function(Ae){return ne(Ae,_e,Le,he.getTypeChecker(),he.getCompilerOptions())});return De?[De]:q(he,ve,Ve,_e,Le,Ie,qe,Xe).fixes}function ne(Ie,Ge,he,ve,Ve){var _e=Ie.declaration,Le=Ie.importKind,qe=Ie.symbol,Xe=Ie.targetFlags,De=e.tryGetModuleSpecifierFromDeclaration(_e);if(De){var Ae=he?4:I(Ge,!0,qe,Xe,ve,Ve);return{kind:3,moduleSpecifier:De,importKind:Le,addAsTypeOnly:Ae,useRequire:he}}}function F(Ie,Ge,he,ve){var Ve=e.getTokenAtPosition(Ie.sourceFile,he),_e=Ge===e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code?N(Ie,Ve):e.isIdentifier(Ve)?m(Ie,Ve,ve):void 0;return _e&&Rn(Rn({},_e),{fixes:Q(_e.fixes,Ie.sourceFile,Ie.program,Ie.host,Ie.preferences)})}function Q(Ie,Ge,he,ve,Ve){var _e=e.createPackageJsonImportFilter(Ge,Ve,ve).allowsImportingSpecifier;return e.sort(Ie,function(Le,qe){return e.compareValues(Le.kind,qe.kind)||re(Le,qe,Ge,he,_e)})}function V(Ie,Ge,he,ve,Ve){if(!!e.some(Ie)){if(Ie[0].kind===0||Ie[0].kind===2)return Ie[0];var _e=e.createPackageJsonImportFilter(Ge,Ve,ve).allowsImportingSpecifier;return Ie.reduce(function(Le,qe){return re(qe,Le,Ge,he,_e)===-1?qe:Le})}}function re(Ie,Ge,he,ve,Ve){return Ie.kind!==0&&Ge.kind!==0?e.compareBooleans(Ve(Ge.moduleSpecifier),Ve(Ie.moduleSpecifier))||T(Ie.moduleSpecifier,Ge.moduleSpecifier,he,ve)||e.compareNumberOfDirectorySeparators(Ie.moduleSpecifier,Ge.moduleSpecifier):0}function T(Ie,Ge,he,ve){return e.startsWith(Ie,\"node:\")&&!e.startsWith(Ge,\"node:\")?e.shouldUseUriStyleNodeCoreModules(he,ve)?-1:1:e.startsWith(Ge,\"node:\")&&!e.startsWith(Ie,\"node:\")?e.shouldUseUriStyleNodeCoreModules(he,ve)?1:-1:0}function N(Ie,Ge){var he=Ie.sourceFile,ve=Ie.program,Ve=Ie.host,_e=Ie.preferences,Le=ve.getTypeChecker(),qe=y(Ge,Le);if(!!qe){var Xe=Le.getAliasedSymbol(qe),De=qe.name,Ae=[{symbol:qe,moduleSymbol:Xe,moduleFileName:void 0,exportKind:3,targetFlags:Xe.flags,isFromPackageJson:!1}],Ye=O(he,ve),Dr=M(Ae,De,e.isIdentifier(Ge)?Ge.getStart(he):void 0,!1,Ye,ve,he,Ve,_e);return{fixes:Dr,symbolName:De}}}function y(Ie,Ge){var he=e.isIdentifier(Ie)?Ge.getSymbolAtLocation(Ie):void 0;if(e.isUMDExportSymbol(he))return he;var ve=Ie.parent;return e.isJsxOpeningLikeElement(ve)&&ve.tagName===Ie||e.isJsxOpeningFragment(ve)?e.tryCast(Ge.resolveName(Ge.getJsxNamespace(ve),e.isJsxOpeningLikeElement(ve)?Ie:ve,111551,!1),e.isUMDExportSymbol):void 0}function D(Ie,Ge,he,ve){switch(Ge){case 0:return 0;case 1:return 1;case 2:return te(Ie,he,!!ve);case 3:return C(Ie,he,!!ve);default:return e.Debug.assertNever(Ge)}}n.getImportKind=D;function C(Ie,Ge,he){if(e.getAllowSyntheticDefaultImports(Ge))return 1;var ve=e.getEmitModuleKind(Ge);switch(ve){case e.ModuleKind.AMD:case e.ModuleKind.CommonJS:case e.ModuleKind.UMD:return e.isInJSFile(Ie)&&(e.isExternalModule(Ie)||he)?2:3;case e.ModuleKind.System:case e.ModuleKind.ES2015:case e.ModuleKind.ES2020:case e.ModuleKind.ES2022:case e.ModuleKind.ESNext:case e.ModuleKind.None:return 2;case e.ModuleKind.Node12:case e.ModuleKind.NodeNext:return Ie.impliedNodeFormat===e.ModuleKind.ESNext?2:3;default:return e.Debug.assertNever(ve,\"Unexpected moduleKind \".concat(ve))}}function m(Ie,Ge,he){var ve=Ie.sourceFile,Ve=Ie.program,_e=Ie.cancellationToken,Le=Ie.host,qe=Ie.preferences,Xe=Ve.getTypeChecker(),De=Ve.getCompilerOptions(),Ae=g(ve,Xe,Ge,De);e.Debug.assert(Ae!==\"default\",\"'default' isn't a legal identifier and couldn't occur here\");var Ye=e.isValidTypeOnlyAliasUseSite(Ge),Dr=O(ve,Ve),br=P(Ae,e.getMeaningFromLocation(Ge),_e,ve,Ve,he,Le,qe),lr=e.arrayFrom(e.flatMapIterator(br.entries(),function(Ar){Ar[0];var kr=Ar[1];return M(kr,Ae,Ge.getStart(ve),Ye,Dr,Ve,ve,Le,qe)}));return{fixes:lr,symbolName:Ae}}function u(Ie){return Ie===2||Ie===3}function g(Ie,Ge,he,ve){var Ve=he.parent;if((e.isJsxOpeningLikeElement(Ve)||e.isJsxClosingElement(Ve))&&Ve.tagName===he&&u(ve.jsx)){var _e=Ge.getJsxNamespace(Ie);if(e.isIntrinsicJsxName(he.text)||!Ge.resolveName(_e,Ve,111551,!0))return _e}return he.text}function P(Ie,Ge,he,ve,Ve,_e,Le,qe){var Xe,De=e.createMultiMap(),Ae=e.createPackageJsonImportFilter(ve,qe,Le),Ye=(Xe=Le.getModuleSpecifierCache)===null||Xe===void 0?void 0:Xe.call(Le),Dr=e.memoizeOne(function(lr){return e.createModuleSpecifierResolutionHost(lr?Le.getPackageJsonAutoImportProvider():Ve,Le)});function br(lr,Ar,kr,Ke,Me,Hr){var ur=Dr(Hr);if(Ar&&e.isImportableFile(Me,ve,Ar,qe,Ae,ur,Ye)||!Ar&&Ae.allowsImportingAmbientModule(lr,ur)){var gr=Me.getTypeChecker();De.add(e.getUniqueSymbolId(kr,gr).toString(),{symbol:kr,moduleSymbol:lr,moduleFileName:Ar==null?void 0:Ar.fileName,exportKind:Ke,targetFlags:e.skipAlias(kr,gr).flags,isFromPackageJson:Hr})}}return e.forEachExternalModuleToImportFrom(Ve,Le,_e,function(lr,Ar,kr,Ke){var Me=kr.getTypeChecker();he.throwIfCancellationRequested();var Hr=kr.getCompilerOptions(),ur=e.getDefaultLikeExportInfo(lr,Me,Hr);ur&&(ur.name===Ie||ke(lr,e.getEmitScriptTarget(Hr))===Ie)&&ge(ur.symbolForMeaning,Ge)&&br(lr,Ar,ur.symbol,ur.exportKind,kr,Ke);var gr=Me.tryGetMemberInModuleExportsAndProperties(Ie,lr);gr&&ge(gr,Ge)&&br(lr,Ar,gr,0,kr,Ke)}),De}function te(Ie,Ge,he){var ve=e.getAllowSyntheticDefaultImports(Ge),Ve=e.isInJSFile(Ie);if(!Ve&&e.getEmitModuleKind(Ge)>=e.ModuleKind.ES2015)return ve?1:2;if(Ve)return e.isExternalModule(Ie)||he?ve?1:2:3;for(var _e=0,Le=Ie.statements;_e<Le.length;_e++){var qe=Le[_e];if(e.isImportEqualsDeclaration(qe)&&!e.nodeIsMissing(qe.moduleReference))return 3}return ve?1:3}function ue(Ie,Ge,he,ve,Ve,_e){var Le,qe=e.textChanges.ChangeTracker.with(Ie,function(Xe){Le=X(Xe,Ge,he,ve,Ve,_e)});return n.createCodeFixAction(n.importFixName,qe,Le,f,e.Diagnostics.Add_all_missing_imports)}function X(Ie,Ge,he,ve,Ve,_e){switch(ve.kind){case 0:return Se(Ie,Ge,ve),[e.Diagnostics.Change_0_to_1,he,\"\".concat(ve.namespacePrefix,\".\").concat(he)];case 1:return Ce(Ie,Ge,ve,Ve),[e.Diagnostics.Change_0_to_1,he,R(ve.moduleSpecifier,Ve)+he];case 2:{var Le=ve.importClauseOrBindingPattern,qe=ve.importKind,Xe=ve.addAsTypeOnly,De=ve.moduleSpecifier;j(Ie,Ge,Le,qe===1?{name:he,addAsTypeOnly:Xe}:void 0,qe===0?[{name:he,addAsTypeOnly:Xe}]:e.emptyArray,_e);var Ae=e.stripQuotes(De);return[qe===1?e.Diagnostics.Add_default_import_0_to_existing_import_declaration_from_1:e.Diagnostics.Add_0_to_existing_import_declaration_from_1,he,Ae]}case 3:{var qe=ve.importKind,De=ve.moduleSpecifier,Xe=ve.addAsTypeOnly,Ye=ve.useRequire,Dr=Ye?K:U,br=qe===1?{name:he,addAsTypeOnly:Xe}:void 0,lr=qe===0?[{name:he,addAsTypeOnly:Xe}]:void 0,Ar=qe===2||qe===3?{importKind:qe,name:he,addAsTypeOnly:Xe}:void 0;return e.insertImports(Ie,Ge,Dr(De,Ve,br,lr,Ar),!0),[qe===1?e.Diagnostics.Import_default_0_from_module_1:e.Diagnostics.Import_0_from_module_1,he,De]}default:return e.Debug.assertNever(ve,\"Unexpected fix kind \".concat(ve.kind))}}function j(Ie,Ge,he,ve,Ve,_e){var Le;if(he.kind===200){ve&&$e(he,ve.name,\"default\");for(var qe=0,Xe=Ve;qe<Xe.length;qe++){var De=Xe[qe];$e(he,De.name,void 0)}return}var Ae=he.isTypeOnly&&e.some(Gt([ve],Ve,!0),function(Sr){return(Sr==null?void 0:Sr.addAsTypeOnly)===4}),Ye=he.namedBindings&&((Le=e.tryCast(he.namedBindings,e.isNamedImports))===null||Le===void 0?void 0:Le.elements),Dr=Ae&&_e.preserveValueImports&&_e.isolatedModules;if(ve&&(e.Debug.assert(!he.name,\"Cannot add a default import to an import clause that already has one\"),Ie.insertNodeAt(Ge,he.getStart(Ge),e.factory.createIdentifier(ve.name),{suffix:\", \"})),Ve.length){var br=e.stableSort(Ve.map(function(Sr){return e.factory.createImportSpecifier((!he.isTypeOnly||Ae)&&Y(Sr),void 0,e.factory.createIdentifier(Sr.name))}),e.OrganizeImports.compareImportOrExportSpecifiers);if((Ye==null?void 0:Ye.length)&&e.OrganizeImports.importSpecifiersAreSorted(Ye))for(var lr=0,Ar=br;lr<Ar.length;lr++){var kr=Ar[lr],Ke=Dr&&!kr.isTypeOnly?0:e.OrganizeImports.getImportSpecifierInsertionIndex(Ye,kr),Me=he.namedBindings.elements[Ke-1];Me?Ie.insertNodeInListAfter(Ge,Me,kr):Ie.insertNodeBefore(Ge,Ye[0],kr,!e.positionsAreOnSameLine(Ye[0].getStart(),he.parent.getStart(),Ge))}else if(Ye!=null&&Ye.length)for(var Hr=0,ur=br;Hr<ur.length;Hr++){var kr=ur[Hr];Ie.insertNodeInListAfter(Ge,e.last(Ye),kr,Ye)}else if(br.length){var gr=e.factory.createNamedImports(br);he.namedBindings?Ie.replaceNode(Ge,he.namedBindings,gr):Ie.insertNodeAfter(Ge,e.Debug.checkDefined(he.name,\"Import clause must have either named imports or a default import\"),gr)}}if(Ae&&(Ie.delete(Ge,e.getTypeKeywordOfTypeOnlyImport(he,Ge)),Dr&&Ye))for(var de=0,Fe=Ye;de<Fe.length;de++){var De=Fe[de];Ie.insertModifierBefore(Ge,151,De)}function $e(Sr,Pr,He){var pr=e.factory.createBindingElement(void 0,He,Pr);Sr.elements.length?Ie.insertNodeInListAfter(Ge,e.last(Sr.elements),pr):Ie.replaceNode(Ge,Sr,e.factory.createObjectBindingPattern([pr]))}}function Se(Ie,Ge,he){var ve=he.namespacePrefix,Ve=he.position;Ie.insertText(Ge,Ve,ve+\".\")}function Ce(Ie,Ge,he,ve){var Ve=he.moduleSpecifier,_e=he.position;Ie.insertText(Ge,_e,R(Ve,ve))}function R(Ie,Ge){var he=e.getQuoteFromPreference(Ge);return\"import(\".concat(he).concat(Ie).concat(he,\").\")}function Y(Ie){var Ge=Ie.addAsTypeOnly;return Ge===2}function U(Ie,Ge,he,ve,Ve){var _e=e.makeStringLiteral(Ie,Ge),Le;if(he!==void 0||(ve==null?void 0:ve.length)){var qe=(!he||Y(he))&&e.every(ve,Y);Le=e.combine(Le,e.makeImport(he&&e.factory.createIdentifier(he.name),ve==null?void 0:ve.map(function(De){var Ae=De.addAsTypeOnly,Ye=De.name;return e.factory.createImportSpecifier(!qe&&Ae===2,void 0,e.factory.createIdentifier(Ye))}),Ie,Ge,qe))}if(Ve){var Xe=Ve.importKind===3?e.factory.createImportEqualsDeclaration(void 0,void 0,Y(Ve),e.factory.createIdentifier(Ve.name),e.factory.createExternalModuleReference(_e)):e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(Y(Ve),void 0,e.factory.createNamespaceImport(e.factory.createIdentifier(Ve.name))),_e,void 0);Le=e.combine(Le,Xe)}return e.Debug.checkDefined(Le)}function K(Ie,Ge,he,ve,Ve){var _e=e.makeStringLiteral(Ie,Ge),Le;if(he||(ve==null?void 0:ve.length)){var qe=(ve==null?void 0:ve.map(function(De){var Ae=De.name;return e.factory.createBindingElement(void 0,void 0,Ae)}))||[];he&&qe.unshift(e.factory.createBindingElement(void 0,\"default\",he.name));var Xe=Te(e.factory.createObjectBindingPattern(qe),_e);Le=e.combine(Le,Xe)}if(Ve){var Xe=Te(Ve.name,_e);Le=e.combine(Le,Xe)}return e.Debug.checkDefined(Le)}function Te(Ie,Ge){return e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(typeof Ie==\"string\"?e.factory.createIdentifier(Ie):Ie,void 0,void 0,e.factory.createCallExpression(e.factory.createIdentifier(\"require\"),void 0,[Ge]))],2))}function ge(Ie,Ge){var he=Ie.declarations;return e.some(he,function(ve){return!!(e.getMeaningFromDeclaration(ve)&Ge)})}function ke(Ie,Ge){return Pe(e.removeFileExtension(e.stripQuotes(Ie.name)),Ge)}n.moduleSymbolToValidIdentifier=ke;function Pe(Ie,Ge){var he=e.getBaseFileName(e.removeSuffix(Ie,\"/index\")),ve=\"\",Ve=!0,_e=he.charCodeAt(0);e.isIdentifierStart(_e,Ge)?ve+=String.fromCharCode(_e):Ve=!1;for(var Le=1;Le<he.length;Le++){var qe=he.charCodeAt(Le),Xe=e.isIdentifierPart(qe,Ge);if(Xe){var De=String.fromCharCode(qe);Ve||(De=De.toUpperCase()),ve+=De}Ve=Xe}return e.isStringANonContextualKeyword(ve)?\"_\".concat(ve):ve||\"_\"}n.moduleSpecifierToValidIdentifier=Pe})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f,p=\"fixOverrideModifier\",a=\"fixAddOverrideModifier\",d=\"fixRemoveOverrideModifier\",k=[e.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code,e.Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code,e.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code,e.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code,e.Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code],J=(f={},f[e.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code]=[e.Diagnostics.Add_override_modifier,a,e.Diagnostics.Add_all_missing_override_modifiers],f[e.Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code]=[e.Diagnostics.Remove_override_modifier,d,e.Diagnostics.Remove_all_unnecessary_override_modifiers],f[e.Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code]=[e.Diagnostics.Add_override_modifier,a,e.Diagnostics.Add_all_missing_override_modifiers],f[e.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code]=[e.Diagnostics.Add_override_modifier,a,e.Diagnostics.Remove_all_unnecessary_override_modifiers],f[e.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code]=[e.Diagnostics.Remove_override_modifier,d,e.Diagnostics.Remove_all_unnecessary_override_modifiers],f);n.registerCodeFix({errorCodes:k,getCodeActions:function(b){var M=b.errorCode,S=b.span,B=b.sourceFile,H=J[M];if(!H)return e.emptyArray;var I=H[0],w=H[1],x=H[2];if(e.isSourceFileJS(B))return e.emptyArray;var O=e.textChanges.ChangeTracker.with(b,function(q){return h(q,b,M,S.start)});return[n.createCodeFixActionMaybeFixAll(p,O,I,w,x)]},fixIds:[p,a,d],getAllCodeActions:function(b){return n.codeFixAll(b,k,function(M,S){var B=S.code,H=S.start,I=S.file,w=J[B];!w||w[1]!==b.fixId||e.isSourceFileJS(I)||h(M,b,B,H)})}});function h(b,M,S,B){switch(S){case e.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code:case e.Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code:case e.Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code:return v(b,M.sourceFile,B);case e.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code:case e.Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code:return A(b,M.sourceFile,B);default:e.Debug.fail(\"Unexpected error code: \"+S)}}function v(b,M,S){var B=ie(M,S),H=B.modifiers||e.emptyArray,I=e.find(H,e.isStaticModifier),w=e.find(H,e.isAbstractModifier),x=e.find(H,function(Z){return e.isAccessibilityModifier(Z.kind)}),O=w?w.end:I?I.end:x?x.end:B.decorators?e.skipTrivia(M.text,B.decorators.end):B.getStart(M),q=x||I||w?{prefix:\" \"}:{suffix:\" \"};b.insertModifierAt(M,O,158,q)}function A(b,M,S){var B=ie(M,S),H=B.modifiers&&e.find(B.modifiers,function(I){return I.kind===158});e.Debug.assertIsDefined(H),b.deleteModifier(M,H)}function z(b){switch(b.kind){case 170:case 166:case 168:case 171:case 172:return!0;case 163:return e.isParameterPropertyDeclaration(b,b.parent);default:return!1}}function ie(b,M){var S=e.getTokenAtPosition(b,M),B=e.findAncestor(S,function(H){return e.isClassLike(H)?\"quit\":z(H)});return e.Debug.assert(B&&z(B)),B}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"fixNoPropertyAccessFromIndexSignature\",p=[e.Diagnostics.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0.code];n.registerCodeFix({errorCodes:p,fixIds:[f],getCodeActions:function(k){var J=k.sourceFile,h=k.span,v=k.preferences,A=d(J,h.start),z=e.textChanges.ChangeTracker.with(k,function(ie){return a(ie,k.sourceFile,A,v)});return[n.createCodeFixAction(f,z,[e.Diagnostics.Use_element_access_for_0,A.name.text],f,e.Diagnostics.Use_element_access_for_all_undeclared_properties)]},getAllCodeActions:function(k){return n.codeFixAll(k,p,function(J,h){return a(J,h.file,d(h.file,h.start),k.preferences)})}});function a(k,J,h,v){var A=e.getQuotePreference(J,v),z=e.factory.createStringLiteral(h.name.text,A===0);k.replaceNode(J,h,e.isPropertyAccessChain(h)?e.factory.createElementAccessChain(h.expression,h.questionDotToken,z):e.factory.createElementAccessExpression(h.expression,z))}function d(k,J){return e.cast(e.getTokenAtPosition(k,J).parent,e.isPropertyAccessExpression)}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"fixImplicitThis\",p=[e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(d){var k=d.sourceFile,J=d.program,h=d.span,v,A=e.textChanges.ChangeTracker.with(d,function(z){v=a(z,k,h.start,J.getTypeChecker())});return v?[n.createCodeFixAction(f,A,v,f,e.Diagnostics.Fix_all_implicit_this_errors)]:e.emptyArray},fixIds:[f],getAllCodeActions:function(d){return n.codeFixAll(d,p,function(k,J){a(k,J.file,J.start,d.program.getTypeChecker())})}});function a(d,k,J,h){var v=e.getTokenAtPosition(k,J);e.Debug.assert(v.kind===108);var A=e.getThisContainer(v,!1);if(!(!e.isFunctionDeclaration(A)&&!e.isFunctionExpression(A))&&!e.isSourceFile(e.getThisContainer(A,!1))){var z=e.Debug.assertDefined(e.findChildOfKind(A,98,k)),ie=A.name,b=e.Debug.assertDefined(A.body);return e.isFunctionExpression(A)?ie&&e.FindAllReferences.Core.isSymbolReferencedInFile(ie,h,k,b)?void 0:(d.delete(k,z),ie&&d.delete(k,ie),d.insertText(k,b.pos,\" =>\"),[e.Diagnostics.Convert_function_expression_0_to_arrow_function,ie?ie.text:e.ANONYMOUS]):(d.replaceNode(k,z,e.factory.createToken(85)),d.insertText(k,ie.end,\" = \"),d.insertText(k,b.pos,\" =>\"),[e.Diagnostics.Convert_function_declaration_0_to_arrow_function,ie.text])}}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"fixIncorrectNamedTupleSyntax\",p=[e.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,e.Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(k){var J=k.sourceFile,h=k.span,v=a(J,h.start),A=e.textChanges.ChangeTracker.with(k,function(z){return d(z,J,v)});return[n.createCodeFixAction(f,A,e.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels,f,e.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[f]});function a(k,J){var h=e.getTokenAtPosition(k,J);return e.findAncestor(h,function(v){return v.kind===196})}function d(k,J,h){if(!!h){for(var v=h.type,A=!1,z=!1;v.kind===184||v.kind===185||v.kind===190;)v.kind===184?A=!0:v.kind===185&&(z=!0),v=v.type;var ie=e.factory.updateNamedTupleMember(h,h.dotDotDotToken||(z?e.factory.createToken(25):void 0),h.name,h.questionToken||(A?e.factory.createToken(57):void 0),v);ie!==h&&k.replaceNode(J,h,ie)}}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"fixSpelling\",p=[e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,e.Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,e.Diagnostics.Could_not_find_name_0_Did_you_mean_1.code,e.Diagnostics.Cannot_find_namespace_0_Did_you_mean_1.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,e.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2.code,e.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,e.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,e.Diagnostics.No_overload_matches_this_call.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(h){var v=h.sourceFile,A=h.errorCode,z=a(v,h.span.start,h,A);if(!!z){var ie=z.node,b=z.suggestedSymbol,M=e.getEmitScriptTarget(h.host.getCompilationSettings()),S=e.textChanges.ChangeTracker.with(h,function(B){return d(B,v,ie,b,M)});return[n.createCodeFixAction(\"spelling\",S,[e.Diagnostics.Change_spelling_to_0,e.symbolName(b)],f,e.Diagnostics.Fix_all_detected_spelling_errors)]}},fixIds:[f],getAllCodeActions:function(h){return n.codeFixAll(h,p,function(v,A){var z=a(A.file,A.start,h,A.code),ie=e.getEmitScriptTarget(h.host.getCompilationSettings());z&&d(v,h.sourceFile,z.node,z.suggestedSymbol,ie)})}});function a(h,v,A,z){var ie=e.getTokenAtPosition(h,v),b=ie.parent;if(!((z===e.Diagnostics.No_overload_matches_this_call.code||z===e.Diagnostics.Type_0_is_not_assignable_to_type_1.code)&&!e.isJsxAttribute(b))){var M=A.program.getTypeChecker(),S;if(e.isPropertyAccessExpression(b)&&b.name===ie){e.Debug.assert(e.isMemberName(ie),\"Expected an identifier for spelling (property access)\");var B=M.getTypeAtLocation(b.expression);b.flags&32&&(B=M.getNonNullableType(B)),S=M.getSuggestedSymbolForNonexistentProperty(ie,B)}else if(e.isBinaryExpression(b)&&b.operatorToken.kind===101&&b.left===ie&&e.isPrivateIdentifier(ie)){var H=M.getTypeAtLocation(b.right);S=M.getSuggestedSymbolForNonexistentProperty(ie,H)}else if(e.isQualifiedName(b)&&b.right===ie){var I=M.getSymbolAtLocation(b.left);I&&I.flags&1536&&(S=M.getSuggestedSymbolForNonexistentModule(b.right,I))}else if(e.isImportSpecifier(b)&&b.name===ie){e.Debug.assertNode(ie,e.isIdentifier,\"Expected an identifier for spelling (import)\");var w=e.findAncestor(ie,e.isImportDeclaration),x=J(h,A,w);x&&x.symbol&&(S=M.getSuggestedSymbolForNonexistentModule(ie,x.symbol))}else if(e.isJsxAttribute(b)&&b.name===ie){e.Debug.assertNode(ie,e.isIdentifier,\"Expected an identifier for JSX attribute\");var O=e.findAncestor(ie,e.isJsxOpeningLikeElement),q=M.getContextualTypeForArgumentAtIndex(O,0);S=M.getSuggestedSymbolForNonexistentJSXAttribute(ie,q)}else if(e.hasSyntacticModifier(b,16384)&&e.isClassElement(b)&&b.name===ie){var Z=e.findAncestor(ie,e.isClassLike),ne=Z?e.getEffectiveBaseTypeNode(Z):void 0,F=ne?M.getTypeAtLocation(ne):void 0;F&&(S=M.getSuggestedSymbolForNonexistentClassMember(e.getTextOfNode(ie),F))}else{var Q=e.getMeaningFromLocation(ie),V=e.getTextOfNode(ie);e.Debug.assert(V!==void 0,\"name should be defined\"),S=M.getSuggestedSymbolForNonexistentSymbol(ie,V,k(Q))}return S===void 0?void 0:{node:ie,suggestedSymbol:S}}}function d(h,v,A,z,ie){var b=e.symbolName(z);if(!e.isIdentifierText(b,ie)&&e.isPropertyAccessExpression(A.parent)){var M=z.valueDeclaration;M&&e.isNamedDeclaration(M)&&e.isPrivateIdentifier(M.name)?h.replaceNode(v,A,e.factory.createIdentifier(b)):h.replaceNode(v,A.parent,e.factory.createElementAccessExpression(A.parent.expression,e.factory.createStringLiteral(b)))}else h.replaceNode(v,A,e.factory.createIdentifier(b))}function k(h){var v=0;return h&4&&(v|=1920),h&2&&(v|=788968),h&1&&(v|=111551),v}function J(h,v,A){if(!(!A||!e.isStringLiteralLike(A.moduleSpecifier))){var z=e.getResolvedModule(h,A.moduleSpecifier.text,e.getModeForUsageLocation(h,A.moduleSpecifier));if(!!z)return v.program.getSourceFile(z.resolvedFileName)}}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"returnValueCorrect\",p=\"fixAddReturnStatement\",a=\"fixRemoveBracesFromArrowFunctionBody\",d=\"fixWrapTheBlockWithParen\",k=[e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1.code,e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code],J;(function(w){w[w.MissingReturnStatement=0]=\"MissingReturnStatement\",w[w.MissingParentheses=1]=\"MissingParentheses\"})(J||(J={})),n.registerCodeFix({errorCodes:k,fixIds:[p,a,d],getCodeActions:function(w){var x=w.program,O=w.sourceFile,q=w.span.start,Z=w.errorCode,ne=z(x.getTypeChecker(),O,q,Z);if(!!ne)return ne.kind===J.MissingReturnStatement?e.append([B(w,ne.expression,ne.statement)],e.isArrowFunction(ne.declaration)?H(w,ne.declaration,ne.expression,ne.commentSource):void 0):[I(w,ne.declaration,ne.expression)]},getAllCodeActions:function(w){return n.codeFixAll(w,k,function(x,O){var q=z(w.program.getTypeChecker(),O.file,O.start,O.code);if(!!q)switch(w.fixId){case p:b(x,O.file,q.expression,q.statement);break;case a:if(!e.isArrowFunction(q.declaration))return;M(x,O.file,q.declaration,q.expression,q.commentSource,!1);break;case d:if(!e.isArrowFunction(q.declaration))return;S(x,O.file,q.declaration,q.expression);break;default:e.Debug.fail(JSON.stringify(w.fixId))}})}});function h(w,x,O){var q=w.createSymbol(4,x.escapedText);q.type=w.getTypeAtLocation(O);var Z=e.createSymbolTable([q]);return w.createAnonymousType(void 0,Z,[],[],[])}function v(w,x,O,q){if(!(!x.body||!e.isBlock(x.body)||e.length(x.body.statements)!==1)){var Z=e.first(x.body.statements);if(e.isExpressionStatement(Z)&&A(w,x,w.getTypeAtLocation(Z.expression),O,q))return{declaration:x,kind:J.MissingReturnStatement,expression:Z.expression,statement:Z,commentSource:Z.expression};if(e.isLabeledStatement(Z)&&e.isExpressionStatement(Z.statement)){var ne=e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment(Z.label,Z.statement.expression)]),F=h(w,Z.label,Z.statement.expression);if(A(w,x,F,O,q))return e.isArrowFunction(x)?{declaration:x,kind:J.MissingParentheses,expression:ne,statement:Z,commentSource:Z.statement.expression}:{declaration:x,kind:J.MissingReturnStatement,expression:ne,statement:Z,commentSource:Z.statement.expression}}else if(e.isBlock(Z)&&e.length(Z.statements)===1){var Q=e.first(Z.statements);if(e.isLabeledStatement(Q)&&e.isExpressionStatement(Q.statement)){var ne=e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment(Q.label,Q.statement.expression)]),F=h(w,Q.label,Q.statement.expression);if(A(w,x,F,O,q))return{declaration:x,kind:J.MissingReturnStatement,expression:ne,statement:Z,commentSource:Q}}}}}function A(w,x,O,q,Z){if(Z){var ne=w.getSignatureFromDeclaration(x);if(ne){e.hasSyntacticModifier(x,256)&&(O=w.createPromiseType(O));var F=w.createSignature(x,ne.typeParameters,ne.thisParameter,ne.parameters,O,void 0,ne.minArgumentCount,ne.flags);O=w.createAnonymousType(void 0,e.createSymbolTable(),[F],[],[])}else O=w.getAnyType()}return w.isTypeAssignableTo(O,q)}function z(w,x,O,q){var Z=e.getTokenAtPosition(x,O);if(!!Z.parent){var ne=e.findAncestor(Z.parent,e.isFunctionLikeDeclaration);switch(q){case e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code:return!ne||!ne.body||!ne.type||!e.rangeContainsRange(ne.type,Z)?void 0:v(w,ne,w.getTypeFromTypeNode(ne.type),!1);case e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!ne||!e.isCallExpression(ne.parent)||!ne.body)return;var F=ne.parent.arguments.indexOf(ne),Q=w.getContextualTypeForArgumentAtIndex(ne.parent,F);return Q?v(w,ne,Q,!0):void 0;case e.Diagnostics.Type_0_is_not_assignable_to_type_1.code:if(!e.isDeclarationName(Z)||!e.isVariableLike(Z.parent)&&!e.isJsxAttribute(Z.parent))return;var V=ie(Z.parent);return!V||!e.isFunctionLikeDeclaration(V)||!V.body?void 0:v(w,V,w.getTypeAtLocation(Z.parent),!0)}}}function ie(w){switch(w.kind){case 253:case 163:case 202:case 166:case 294:return w.initializer;case 284:return w.initializer&&(e.isJsxExpression(w.initializer)?w.initializer.expression:void 0);case 295:case 165:case 297:case 345:case 338:return}}function b(w,x,O,q){e.suppressLeadingAndTrailingTrivia(O);var Z=e.probablyUsesSemicolons(x);w.replaceNode(x,q,e.factory.createReturnStatement(O),{leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Exclude,suffix:Z?\";\":void 0})}function M(w,x,O,q,Z,ne){var F=ne||e.needsParentheses(q)?e.factory.createParenthesizedExpression(q):q;e.suppressLeadingAndTrailingTrivia(Z),e.copyComments(Z,F),w.replaceNode(x,O.body,F)}function S(w,x,O,q){w.replaceNode(x,O.body,e.factory.createParenthesizedExpression(q))}function B(w,x,O){var q=e.textChanges.ChangeTracker.with(w,function(Z){return b(Z,w.sourceFile,x,O)});return n.createCodeFixAction(f,q,e.Diagnostics.Add_a_return_statement,p,e.Diagnostics.Add_all_missing_return_statement)}function H(w,x,O,q){var Z=e.textChanges.ChangeTracker.with(w,function(ne){return M(ne,w.sourceFile,x,O,q,!1)});return n.createCodeFixAction(f,Z,e.Diagnostics.Remove_braces_from_arrow_function_body,a,e.Diagnostics.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)}function I(w,x,O){var q=e.textChanges.ChangeTracker.with(w,function(Z){return S(Z,w.sourceFile,x,O)});return n.createCodeFixAction(f,q,e.Diagnostics.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,d,e.Diagnostics.Wrap_all_object_literal_with_parentheses)}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"fixMissingMember\",p=\"fixMissingProperties\",a=\"fixMissingAttributes\",d=\"fixMissingFunctionDeclaration\",k=[e.Diagnostics.Property_0_does_not_exist_on_type_1.code,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,e.Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2.code,e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code,e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,e.Diagnostics.Cannot_find_name_0.code];n.registerCodeFix({errorCodes:k,getCodeActions:function(T){var N=T.program.getTypeChecker(),y=h(T.sourceFile,T.span.start,T.errorCode,N,T.program);if(!!y){if(y.kind===3){var D=e.textChanges.ChangeTracker.with(T,function(C){return ne(C,T,y)});return[n.createCodeFixAction(p,D,e.Diagnostics.Add_missing_properties,p,e.Diagnostics.Add_all_missing_properties)]}if(y.kind===4){var D=e.textChanges.ChangeTracker.with(T,function(m){return Z(m,T,y)});return[n.createCodeFixAction(a,D,e.Diagnostics.Add_missing_attributes,a,e.Diagnostics.Add_all_missing_attributes)]}if(y.kind===2){var D=e.textChanges.ChangeTracker.with(T,function(m){return q(m,T,y)});return[n.createCodeFixAction(d,D,[e.Diagnostics.Add_missing_function_declaration_0,y.token.text],d,e.Diagnostics.Add_all_missing_function_declarations)]}if(y.kind===0){var D=e.textChanges.ChangeTracker.with(T,function(m){return O(m,T.program.getTypeChecker(),y)});return[n.createCodeFixAction(f,D,[e.Diagnostics.Add_missing_enum_member_0,y.token.text],f,e.Diagnostics.Add_all_missing_members)]}return e.concatenate(w(T,y),A(T,y))}},fixIds:[f,d,p,a],getAllCodeActions:function(T){var N=T.program,y=T.fixId,D=N.getTypeChecker(),C=new e.Map,m=new e.Map;return n.createCombinedCodeActions(e.textChanges.ChangeTracker.with(T,function(u){n.eachDiagnostic(T,k,function(g){var P=h(g.file,g.start,g.code,D,T.program);if(!(!P||!e.addToSeen(C,e.getNodeId(P.parentDeclaration)+\"#\"+P.token.text))){if(y===d&&P.kind===2)q(u,T,P);else if(y===p&&P.kind===3)ne(u,T,P);else if(y===a&&P.kind===4)Z(u,T,P);else if(P.kind===0&&O(u,D,P),P.kind===1){var te=P.parentDeclaration,ue=P.token,X=e.getOrUpdate(m,te,function(){return[]});X.some(function(j){return j.token.text===ue.text})||X.push(P)}}}),m.forEach(function(g,P){for(var te=n.getAllSupers(P,D),ue=function(Ce){if(te.some(function(Pe){var Ie=m.get(Pe);return!!Ie&&Ie.some(function(Ge){var he=Ge.token;return he.text===Ce.token.text})}))return\"continue\";var R=Ce.parentDeclaration,Y=Ce.declSourceFile,U=Ce.modifierFlags,K=Ce.token,Te=Ce.call,ge=Ce.isJSFile;if(Te&&!e.isPrivateIdentifier(K))x(T,u,Te,K,U&32,R,Y);else if(ge&&!e.isInterfaceDeclaration(R))ie(u,Y,R,K,!!(U&32));else{var ke=S(N.getTypeChecker(),R,K);B(u,Y,R,K.text,ke,U&32)}},X=0,j=g;X<j.length;X++){var Se=j[X];ue(Se)}})}))}});var J;(function(T){T[T.Enum=0]=\"Enum\",T[T.ClassOrInterface=1]=\"ClassOrInterface\",T[T.Function=2]=\"Function\",T[T.ObjectLiteral=3]=\"ObjectLiteral\",T[T.JsxAttributes=4]=\"JsxAttributes\"})(J||(J={}));function h(T,N,y,D,C){var m=e.getTokenAtPosition(T,N),u=m.parent;if(y===e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code){if(!(m.kind===18&&e.isObjectLiteralExpression(u)&&e.isCallExpression(u.parent)))return;var g=e.findIndex(u.parent.arguments,function(he){return he===u});if(g<0)return;var P=e.singleOrUndefined(D.getSignaturesOfType(D.getTypeAtLocation(u.parent.expression),0));if(!(P&&P.declaration&&P.parameters[g]))return;var te=P.parameters[g].valueDeclaration;if(!(te&&e.isParameter(te)&&e.isIdentifier(te.name)))return;var ue=e.arrayFrom(D.getUnmatchedProperties(D.getTypeAtLocation(u),D.getTypeAtLocation(te),!1,!1));return e.length(ue)?{kind:3,token:te.name,properties:ue,indentation:0,parentDeclaration:u}:void 0}if(!!e.isMemberName(m)){if(e.isIdentifier(m)&&e.hasInitializer(u)&&u.initializer&&e.isObjectLiteralExpression(u.initializer)){var ue=e.arrayFrom(D.getUnmatchedProperties(D.getTypeAtLocation(u.initializer),D.getTypeAtLocation(m),!1,!1));return e.length(ue)?{kind:3,token:m,properties:ue,indentation:void 0,parentDeclaration:u.initializer}:void 0}if(e.isIdentifier(m)&&e.isJsxOpeningLikeElement(m.parent)){var X=re(D,m.parent);return e.length(X)?{kind:4,token:m,attributes:X,parentDeclaration:m.parent}:void 0}if(e.isIdentifier(m)&&e.isCallExpression(u))return{kind:2,token:m,call:u,sourceFile:T,modifierFlags:0,parentDeclaration:T};if(!!e.isPropertyAccessExpression(u)){var j=e.skipConstraint(D.getTypeAtLocation(u.expression)),Se=j.symbol;if(!(!Se||!Se.declarations)){if(e.isIdentifier(m)&&e.isCallExpression(u.parent)){var Ce=e.find(Se.declarations,e.isModuleDeclaration),R=Ce==null?void 0:Ce.getSourceFile();if(Ce&&R&&!v(C,R))return{kind:2,token:m,call:u.parent,sourceFile:T,modifierFlags:1,parentDeclaration:Ce};var Y=e.find(Se.declarations,e.isSourceFile);if(T.commonJsModuleIndicator)return;if(Y&&!v(C,Y))return{kind:2,token:m,call:u.parent,sourceFile:Y,modifierFlags:1,parentDeclaration:Y}}var U=e.find(Se.declarations,e.isClassLike);if(!(!U&&e.isPrivateIdentifier(m))){var K=U||e.find(Se.declarations,e.isInterfaceDeclaration);if(K&&!v(C,K.getSourceFile())){var Te=(j.target||j)!==D.getDeclaredTypeOfSymbol(Se);if(Te&&(e.isPrivateIdentifier(m)||e.isInterfaceDeclaration(K)))return;var ge=K.getSourceFile(),ke=(Te?32:0)|(e.startsWithUnderscore(m.text)?8:0),Pe=e.isSourceFileJS(ge),Ie=e.tryCast(u.parent,e.isCallExpression);return{kind:1,token:m,call:Ie,modifierFlags:ke,parentDeclaration:K,declSourceFile:ge,isJSFile:Pe}}var Ge=e.find(Se.declarations,e.isEnumDeclaration);if(Ge&&!e.isPrivateIdentifier(m)&&!v(C,Ge.getSourceFile()))return{kind:0,token:m,parentDeclaration:Ge}}}}}}function v(T,N){return T.isSourceFileFromExternalLibrary(N)||T.isSourceFileDefaultLibrary(N)}function A(T,N){return N.isJSFile?e.singleElementArray(z(T,N)):M(T,N)}function z(T,N){var y=N.parentDeclaration,D=N.declSourceFile,C=N.modifierFlags,m=N.token;if(!e.isInterfaceDeclaration(y)){var u=e.textChanges.ChangeTracker.with(T,function(P){return ie(P,D,y,m,!!(C&32))});if(u.length!==0){var g=C&32?e.Diagnostics.Initialize_static_property_0:e.isPrivateIdentifier(m)?e.Diagnostics.Declare_a_private_field_named_0:e.Diagnostics.Initialize_property_0_in_the_constructor;return n.createCodeFixAction(f,u,[g,m.text],f,e.Diagnostics.Add_all_missing_members)}}}function ie(T,N,y,D,C){var m=D.text;if(C){if(y.kind===225)return;var u=y.name.getText(),g=b(e.factory.createIdentifier(u),m);T.insertNodeAfter(N,y,g)}else if(e.isPrivateIdentifier(D)){var P=e.factory.createPropertyDeclaration(void 0,void 0,m,void 0,void 0,void 0),te=H(y);te?T.insertNodeAfter(N,te,P):T.insertNodeAtClassStart(N,y,P)}else{var ue=e.getFirstConstructorWithBody(y);if(!ue)return;var X=b(e.factory.createThis(),m);T.insertNodeAtConstructorEnd(N,ue,X)}}function b(T,N){return e.factory.createExpressionStatement(e.factory.createAssignment(e.factory.createPropertyAccessExpression(T,N),Q()))}function M(T,N){var y=N.parentDeclaration,D=N.declSourceFile,C=N.modifierFlags,m=N.token,u=m.text,g=C&32,P=S(T.program.getTypeChecker(),y,m),te=function(X){return e.textChanges.ChangeTracker.with(T,function(j){return B(j,D,y,u,P,X)})},ue=[n.createCodeFixAction(f,te(C&32),[g?e.Diagnostics.Declare_static_property_0:e.Diagnostics.Declare_property_0,u],f,e.Diagnostics.Add_all_missing_members)];return g||e.isPrivateIdentifier(m)||(C&8&&ue.unshift(n.createCodeFixActionWithoutFixAll(f,te(8),[e.Diagnostics.Declare_private_property_0,u])),ue.push(I(T,D,y,m.text,P))),ue}function S(T,N,y){var D;if(y.parent.parent.kind===220){var C=y.parent.parent,m=y.parent===C.left?C.right:C.left,u=T.getWidenedType(T.getBaseTypeOfLiteralType(T.getTypeAtLocation(m)));D=T.typeToTypeNode(u,N,1)}else{var g=T.getContextualType(y.parent);D=g?T.typeToTypeNode(g,void 0,1):void 0}return D||e.factory.createKeywordTypeNode(130)}function B(T,N,y,D,C,m){var u=e.factory.createPropertyDeclaration(void 0,m?e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(m)):void 0,D,void 0,C,void 0),g=H(y);g?T.insertNodeAfter(N,g,u):T.insertNodeAtClassStart(N,y,u)}function H(T){for(var N,y=0,D=T.members;y<D.length;y++){var C=D[y];if(!e.isPropertyDeclaration(C))break;N=C}return N}function I(T,N,y,D,C){var m=e.factory.createKeywordTypeNode(149),u=e.factory.createParameterDeclaration(void 0,void 0,void 0,\"x\",void 0,m,void 0),g=e.factory.createIndexSignature(void 0,void 0,[u],C),P=e.textChanges.ChangeTracker.with(T,function(te){return te.insertNodeAtClassStart(N,y,g)});return n.createCodeFixActionWithoutFixAll(f,P,[e.Diagnostics.Add_index_signature_for_property_0,D])}function w(T,N){var y=N.parentDeclaration,D=N.declSourceFile,C=N.modifierFlags,m=N.token,u=N.call;if(u!==void 0&&!e.isPrivateIdentifier(m)){var g=m.text,P=function(ue){return e.textChanges.ChangeTracker.with(T,function(X){return x(T,X,u,m,ue,y,D)})},te=[n.createCodeFixAction(f,P(C&32),[C&32?e.Diagnostics.Declare_static_method_0:e.Diagnostics.Declare_method_0,g],f,e.Diagnostics.Add_all_missing_members)];return C&8&&te.unshift(n.createCodeFixActionWithoutFixAll(f,P(8),[e.Diagnostics.Declare_private_method_0,g])),te}}function x(T,N,y,D,C,m,u){var g=n.createImportAdder(u,T.program,T.preferences,T.host),P=n.createSignatureDeclarationFromCallExpression(168,T,g,y,D,C,m),te=e.findAncestor(y,function(ue){return e.isMethodDeclaration(ue)||e.isConstructorDeclaration(ue)});te&&te.parent===m?N.insertNodeAfter(u,te,P):N.insertNodeAtClassStart(u,m,P),g.writeFixes(N)}function O(T,N,y){var D=y.token,C=y.parentDeclaration,m=e.some(C.members,function(g){var P=N.getTypeAtLocation(g);return!!(P&&P.flags&402653316)}),u=e.factory.createEnumMember(D,m?e.factory.createStringLiteral(D.text):void 0);T.replaceNode(C.getSourceFile(),C,e.factory.updateEnumDeclaration(C,C.decorators,C.modifiers,C.name,e.concatenate(C.members,e.singleElementArray(u))),{leadingTriviaOption:e.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Exclude})}function q(T,N,y){var D=n.createImportAdder(N.sourceFile,N.program,N.preferences,N.host),C=n.createSignatureDeclarationFromCallExpression(255,N,D,y.call,e.idText(y.token),y.modifierFlags,y.parentDeclaration);T.insertNodeAtEndOfScope(y.sourceFile,y.parentDeclaration,C)}function Z(T,N,y){var D=n.createImportAdder(N.sourceFile,N.program,N.preferences,N.host),C=e.getQuotePreference(N.sourceFile,N.preferences),m=N.program.getTypeChecker(),u=y.parentDeclaration.attributes,g=e.some(u.properties,e.isJsxSpreadAttribute),P=e.map(y.attributes,function(X){var j=X.valueDeclaration?F(N,m,D,C,m.getTypeAtLocation(X.valueDeclaration)):Q();return e.factory.createJsxAttribute(e.factory.createIdentifier(X.name),e.factory.createJsxExpression(void 0,j))}),te=e.factory.createJsxAttributes(g?Gt(Gt([],P,!0),u.properties,!0):Gt(Gt([],u.properties,!0),P,!0)),ue={prefix:u.pos===u.end?\" \":void 0};T.replaceNode(N.sourceFile,u,te,ue)}function ne(T,N,y){var D=n.createImportAdder(N.sourceFile,N.program,N.preferences,N.host),C=e.getQuotePreference(N.sourceFile,N.preferences),m=N.program.getTypeChecker(),u=e.map(y.properties,function(P){var te=P.valueDeclaration?F(N,m,D,C,m.getTypeAtLocation(P.valueDeclaration)):Q();return e.factory.createPropertyAssignment(P.name,te)}),g={leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Exclude,indentation:y.indentation};T.replaceNode(N.sourceFile,y.parentDeclaration,e.factory.createObjectLiteralExpression(Gt(Gt([],y.parentDeclaration.properties,!0),u,!0),!0),g)}function F(T,N,y,D,C){if(C.flags&3)return Q();if(C.flags&134217732)return e.factory.createStringLiteral(\"\",D===0);if(C.flags&8)return e.factory.createNumericLiteral(0);if(C.flags&64)return e.factory.createBigIntLiteral(\"0n\");if(C.flags&16)return e.factory.createFalse();if(C.flags&1056){var m=C.symbol.exports?e.firstOrUndefined(e.arrayFrom(C.symbol.exports.values())):C.symbol,u=N.symbolToExpression(C.symbol.parent?C.symbol.parent:C.symbol,111551,void 0,void 0);return m===void 0||u===void 0?e.factory.createNumericLiteral(0):e.factory.createPropertyAccessExpression(u,N.symbolToString(m))}if(C.flags&256)return e.factory.createNumericLiteral(C.value);if(C.flags&2048)return e.factory.createBigIntLiteral(C.value);if(C.flags&128)return e.factory.createStringLiteral(C.value,D===0);if(C.flags&512)return C===N.getFalseType()||C===N.getFalseType(!0)?e.factory.createFalse():e.factory.createTrue();if(C.flags&65536)return e.factory.createNull();if(C.flags&1048576){var g=e.firstDefined(C.types,function(Ce){return F(T,N,y,D,Ce)});return g!=null?g:Q()}if(N.isArrayLikeType(C))return e.factory.createArrayLiteralExpression();if(V(C)){var P=e.map(N.getPropertiesOfType(C),function(Ce){var R=Ce.valueDeclaration?F(T,N,y,D,N.getTypeAtLocation(Ce.valueDeclaration)):Q();return e.factory.createPropertyAssignment(Ce.name,R)});return e.factory.createObjectLiteralExpression(P,!0)}if(e.getObjectFlags(C)&16){var te=e.find(C.symbol.declarations||e.emptyArray,e.or(e.isFunctionTypeNode,e.isMethodSignature,e.isMethodDeclaration));if(te===void 0)return Q();var ue=N.getSignaturesOfType(C,0);if(ue===void 0)return Q();var X=n.createSignatureDeclarationFromSignature(212,T,D,ue[0],n.createStubbedBody(e.Diagnostics.Function_not_implemented.message,D),void 0,void 0,void 0,void 0,y);return X!=null?X:Q()}if(e.getObjectFlags(C)&1){var j=e.getClassLikeDeclarationOfSymbol(C.symbol);if(j===void 0||e.hasAbstractModifier(j))return Q();var Se=e.getFirstConstructorWithBody(j);return Se&&e.length(Se.parameters)?Q():e.factory.createNewExpression(e.factory.createIdentifier(C.symbol.name),void 0,void 0)}return Q()}function Q(){return e.factory.createIdentifier(\"undefined\")}function V(T){return T.flags&524288&&(e.getObjectFlags(T)&128||T.symbol&&e.tryCast(e.singleOrUndefined(T.symbol.declarations),e.isTypeLiteralNode))}function re(T,N){var y=T.getContextualType(N.attributes);if(y===void 0)return e.emptyArray;var D=y.getProperties();if(!e.length(D))return e.emptyArray;for(var C=new e.Set,m=0,u=N.attributes.properties;m<u.length;m++){var g=u[m];if(e.isJsxAttribute(g)&&C.add(g.name.escapedText),e.isJsxSpreadAttribute(g))for(var P=T.getTypeAtLocation(g.expression),te=0,ue=P.getProperties();te<ue.length;te++){var X=ue[te];C.add(X.escapedName)}}return e.filter(D,function(j){return!(j.flags&16777216||e.getCheckFlags(j)&48||C.has(j.escapedName))})}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"addMissingNewOperator\",p=[e.Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(k){var J=k.sourceFile,h=k.span,v=e.textChanges.ChangeTracker.with(k,function(A){return a(A,J,h)});return[n.createCodeFixAction(f,v,e.Diagnostics.Add_missing_new_operator_to_call,f,e.Diagnostics.Add_missing_new_operator_to_all_calls)]},fixIds:[f],getAllCodeActions:function(k){return n.codeFixAll(k,p,function(J,h){return a(J,k.sourceFile,h)})}});function a(k,J,h){var v=e.cast(d(J,h),e.isCallExpression),A=e.factory.createNewExpression(v.expression,v.typeArguments,v.arguments);k.replaceNode(J,v,A)}function d(k,J){for(var h=e.getTokenAtPosition(k,J.start),v=e.textSpanEnd(J);h.end<v;)h=h.parent;return h}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"fixCannotFindModule\",p=\"installTypesPackage\",a=e.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations.code,d=[a,e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type.code];n.registerCodeFix({errorCodes:d,getCodeActions:function(v){var A=v.host,z=v.sourceFile,ie=v.span.start,b=J(z,ie);if(b!==void 0){var M=h(b,A,v.errorCode);return M===void 0?[]:[n.createCodeFixAction(f,[],[e.Diagnostics.Install_0,M],p,e.Diagnostics.Install_all_missing_types_packages,k(z.fileName,M))]}},fixIds:[p],getAllCodeActions:function(v){return n.codeFixAll(v,d,function(A,z,ie){var b=J(z.file,z.start);if(b!==void 0)switch(v.fixId){case p:{var M=h(b,v.host,z.code);M&&ie.push(k(z.file.fileName,M));break}default:e.Debug.fail(\"Bad fixId: \".concat(v.fixId))}})}});function k(v,A){return{type:\"install package\",file:v,packageName:A}}function J(v,A){var z=e.tryCast(e.getTokenAtPosition(v,A),e.isStringLiteral);if(!!z){var ie=z.text,b=e.parsePackageName(ie).packageName;return e.isExternalModuleNameRelative(b)?void 0:b}}function h(v,A,z){var ie;return z===a?e.JsTyping.nodeCoreModules.has(v)?\"@types/node\":void 0:!((ie=A.isKnownTypesPackageName)===null||ie===void 0)&&ie.call(A,v)?e.getTypesPackageName(v):void 0}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=[e.Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2.code,e.Diagnostics.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1.code],p=\"fixClassDoesntImplementInheritedAbstractMember\";n.registerCodeFix({errorCodes:f,getCodeActions:function(J){var h=J.sourceFile,v=J.span,A=e.textChanges.ChangeTracker.with(J,function(z){return d(a(h,v.start),h,J,z,J.preferences)});return A.length===0?void 0:[n.createCodeFixAction(p,A,e.Diagnostics.Implement_inherited_abstract_class,p,e.Diagnostics.Implement_all_inherited_abstract_classes)]},fixIds:[p],getAllCodeActions:function(J){var h=new e.Map;return n.codeFixAll(J,f,function(v,A){var z=a(A.file,A.start);e.addToSeen(h,e.getNodeId(z))&&d(z,J.sourceFile,J,v,J.preferences)})}});function a(J,h){var v=e.getTokenAtPosition(J,h);return e.cast(v.parent,e.isClassLike)}function d(J,h,v,A,z){var ie=e.getEffectiveBaseTypeNode(J),b=v.program.getTypeChecker(),M=b.getTypeAtLocation(ie),S=b.getPropertiesOfType(M).filter(k),B=n.createImportAdder(h,v.program,z,v.host);n.createMissingMemberNodes(J,S,h,v,z,B,function(H){return A.insertNodeAtClassStart(h,J,H)}),B.writeFixes(A)}function k(J){var h=e.getSyntacticModifierFlags(e.first(J.getDeclarations()));return!(h&8)&&!!(h&128)}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"classSuperMustPrecedeThisAccess\",p=[e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(J){var h=J.sourceFile,v=J.span,A=d(h,v.start);if(!!A){var z=A.constructor,ie=A.superCall,b=e.textChanges.ChangeTracker.with(J,function(M){return a(M,h,z,ie)});return[n.createCodeFixAction(f,b,e.Diagnostics.Make_super_call_the_first_statement_in_the_constructor,f,e.Diagnostics.Make_all_super_calls_the_first_statement_in_their_constructor)]}},fixIds:[f],getAllCodeActions:function(J){var h=J.sourceFile,v=new e.Map;return n.codeFixAll(J,p,function(A,z){var ie=d(z.file,z.start);if(!!ie){var b=ie.constructor,M=ie.superCall;e.addToSeen(v,e.getNodeId(b.parent))&&a(A,h,b,M)}})}});function a(J,h,v,A){J.insertNodeAtConstructorStart(h,v,A),J.delete(h,A)}function d(J,h){var v=e.getTokenAtPosition(J,h);if(v.kind===108){var A=e.getContainingFunction(v),z=k(A.body);return z&&!z.expression.arguments.some(function(ie){return e.isPropertyAccessExpression(ie)&&ie.expression===v})?{constructor:A,superCall:z}:void 0}}function k(J){return e.isExpressionStatement(J)&&e.isSuperCall(J.expression)?J:e.isFunctionLike(J)?void 0:e.forEachChild(J,k)}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"constructorForDerivedNeedSuperCall\",p=[e.Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(k){var J=k.sourceFile,h=k.span,v=a(J,h.start),A=e.textChanges.ChangeTracker.with(k,function(z){return d(z,J,v)});return[n.createCodeFixAction(f,A,e.Diagnostics.Add_missing_super_call,f,e.Diagnostics.Add_all_missing_super_calls)]},fixIds:[f],getAllCodeActions:function(k){return n.codeFixAll(k,p,function(J,h){return d(J,k.sourceFile,a(h.file,h.start))})}});function a(k,J){var h=e.getTokenAtPosition(k,J);return e.Debug.assert(e.isConstructorDeclaration(h.parent),\"token should be at the constructor declaration\"),h.parent}function d(k,J,h){var v=e.factory.createExpressionStatement(e.factory.createCallExpression(e.factory.createSuper(),void 0,e.emptyArray));k.insertNodeAtConstructorStart(J,h,v)}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"enableExperimentalDecorators\",p=[e.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(d){var k=d.program.getCompilerOptions().configFile;if(k!==void 0){var J=e.textChanges.ChangeTracker.with(d,function(h){return a(h,k)});return[n.createCodeFixActionWithoutFixAll(f,J,e.Diagnostics.Enable_the_experimentalDecorators_option_in_your_configuration_file)]}},fixIds:[f],getAllCodeActions:function(d){return n.codeFixAll(d,p,function(k){var J=d.program.getCompilerOptions().configFile;J!==void 0&&a(k,J)})}});function a(d,k){n.setJsonCompilerOptionValue(d,k,\"experimentalDecorators\",e.factory.createTrue())}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"fixEnableJsxFlag\",p=[e.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(d){var k=d.program.getCompilerOptions().configFile;if(k!==void 0){var J=e.textChanges.ChangeTracker.with(d,function(h){return a(h,k)});return[n.createCodeFixActionWithoutFixAll(f,J,e.Diagnostics.Enable_the_jsx_flag_in_your_configuration_file)]}},fixIds:[f],getAllCodeActions:function(d){return n.codeFixAll(d,p,function(k){var J=d.program.getCompilerOptions().configFile;J!==void 0&&a(k,J)})}});function a(d,k){n.setJsonCompilerOptionValue(d,k,\"jsx\",e.factory.createStringLiteral(\"react\"))}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){n.registerCodeFix({errorCodes:[e.Diagnostics.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher.code,e.Diagnostics.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher.code],getCodeActions:function(f){var p=f.program.getCompilerOptions(),a=p.configFile;if(a!==void 0){var d=[],k=e.getEmitModuleKind(p),J=k>=e.ModuleKind.ES2015&&k<e.ModuleKind.ESNext;if(J){var h=e.textChanges.ChangeTracker.with(f,function(z){n.setJsonCompilerOptionValue(z,a,\"module\",e.factory.createStringLiteral(\"esnext\"))});d.push(n.createCodeFixActionWithoutFixAll(\"fixModuleOption\",h,[e.Diagnostics.Set_the_module_option_in_your_configuration_file_to_0,\"esnext\"]))}var v=e.getEmitScriptTarget(p),A=v<4||v>99;if(A){var h=e.textChanges.ChangeTracker.with(f,function(ie){var b=e.getTsConfigObjectLiteralExpression(a);if(!!b){var M=[[\"target\",e.factory.createStringLiteral(\"es2017\")]];k===e.ModuleKind.CommonJS&&M.push([\"module\",e.factory.createStringLiteral(\"commonjs\")]),n.setJsonCompilerOptionValues(ie,a,M)}});d.push(n.createCodeFixActionWithoutFixAll(\"fixTargetOption\",h,[e.Diagnostics.Set_the_target_option_in_your_configuration_file_to_0,\"es2017\"]))}return d.length?d:void 0}}})})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"fixPropertyAssignment\",p=[e.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.registerCodeFix({errorCodes:p,fixIds:[f],getCodeActions:function(k){var J=k.sourceFile,h=k.span,v=d(J,h.start),A=e.textChanges.ChangeTracker.with(k,function(z){return a(z,k.sourceFile,v)});return[n.createCodeFixAction(f,A,[e.Diagnostics.Change_0_to_1,\"=\",\":\"],f,[e.Diagnostics.Switch_each_misused_0_to_1,\"=\",\":\"])]},getAllCodeActions:function(k){return n.codeFixAll(k,p,function(J,h){return a(J,h.file,d(h.file,h.start))})}});function a(k,J,h){k.replaceNode(J,h,e.factory.createPropertyAssignment(h.name,h.objectAssignmentInitializer))}function d(k,J){return e.cast(e.getTokenAtPosition(k,J).parent,e.isShorthandPropertyAssignment)}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"extendsInterfaceBecomesImplements\",p=[e.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(k){var J=k.sourceFile,h=a(J,k.span.start);if(!!h){var v=h.extendsToken,A=h.heritageClauses,z=e.textChanges.ChangeTracker.with(k,function(ie){return d(ie,J,v,A)});return[n.createCodeFixAction(f,z,e.Diagnostics.Change_extends_to_implements,f,e.Diagnostics.Change_all_extended_interfaces_to_implements)]}},fixIds:[f],getAllCodeActions:function(k){return n.codeFixAll(k,p,function(J,h){var v=a(h.file,h.start);v&&d(J,h.file,v.extendsToken,v.heritageClauses)})}});function a(k,J){var h=e.getTokenAtPosition(k,J),v=e.getContainingClass(h).heritageClauses,A=v[0].getFirstToken();return A.kind===94?{extendsToken:A,heritageClauses:v}:void 0}function d(k,J,h,v){if(k.replaceNode(J,h,e.factory.createToken(117)),v.length===2&&v[0].token===94&&v[1].token===117){var A=v[1].getFirstToken(),z=A.getFullStart();k.replaceRange(J,{pos:z,end:z},e.factory.createToken(27));for(var ie=J.text,b=A.end;b<ie.length&&e.isWhiteSpaceSingleLine(ie.charCodeAt(b));)b++;k.deleteRange(J,{pos:A.getStart(),end:b})}}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"forgottenThisPropertyAccess\",p=e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,a=[e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,e.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,p];n.registerCodeFix({errorCodes:a,getCodeActions:function(J){var h=J.sourceFile,v=d(h,J.span.start,J.errorCode);if(!!v){var A=e.textChanges.ChangeTracker.with(J,function(z){return k(z,h,v)});return[n.createCodeFixAction(f,A,[e.Diagnostics.Add_0_to_unresolved_variable,v.className||\"this\"],f,e.Diagnostics.Add_qualifier_to_all_unresolved_variables_matching_a_member_name)]}},fixIds:[f],getAllCodeActions:function(J){return n.codeFixAll(J,a,function(h,v){var A=d(v.file,v.start,v.code);A&&k(h,J.sourceFile,A)})}});function d(J,h,v){var A=e.getTokenAtPosition(J,h);if(e.isIdentifier(A)||e.isPrivateIdentifier(A))return{node:A,className:v===p?e.getContainingClass(A).name.text:void 0}}function k(J,h,v){var A=v.node,z=v.className;e.suppressLeadingAndTrailingTrivia(A),J.replaceNode(h,A,e.factory.createPropertyAccessExpression(z?e.factory.createIdentifier(z):e.factory.createThis(),A))}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"fixInvalidJsxCharacters_expression\",p=\"fixInvalidJsxCharacters_htmlEntity\",a=[e.Diagnostics.Unexpected_token_Did_you_mean_or_gt.code,e.Diagnostics.Unexpected_token_Did_you_mean_or_rbrace.code];n.registerCodeFix({errorCodes:a,fixIds:[f,p],getCodeActions:function(h){var v=h.sourceFile,A=h.preferences,z=h.span,ie=e.textChanges.ChangeTracker.with(h,function(M){return J(M,A,v,z.start,!1)}),b=e.textChanges.ChangeTracker.with(h,function(M){return J(M,A,v,z.start,!0)});return[n.createCodeFixAction(f,ie,e.Diagnostics.Wrap_invalid_character_in_an_expression_container,f,e.Diagnostics.Wrap_all_invalid_characters_in_an_expression_container),n.createCodeFixAction(p,b,e.Diagnostics.Convert_invalid_character_to_its_html_entity_code,p,e.Diagnostics.Convert_all_invalid_characters_to_HTML_entity_code)]},getAllCodeActions:function(h){return n.codeFixAll(h,a,function(v,A){return J(v,h.preferences,A.file,A.start,h.fixId===p)})}});var d={\">\":\"&gt;\",\"}\":\"&rbrace;\"};function k(h){return e.hasProperty(d,h)}function J(h,v,A,z,ie){var b=A.getText()[z];if(!!k(b)){var M=ie?d[b]:\"{\".concat(e.quote(A,v,b),\"}\");h.replaceRangeWithText(A,{pos:z,end:z+1},M)}}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"unusedIdentifier\",p=\"unusedIdentifier_prefix\",a=\"unusedIdentifier_delete\",d=\"unusedIdentifier_deleteImports\",k=\"unusedIdentifier_infer\",J=[e.Diagnostics._0_is_declared_but_its_value_is_never_read.code,e.Diagnostics._0_is_declared_but_never_used.code,e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code,e.Diagnostics.All_imports_in_import_declaration_are_unused.code,e.Diagnostics.All_destructured_elements_are_unused.code,e.Diagnostics.All_variables_are_unused.code,e.Diagnostics.All_type_parameters_are_unused.code];n.registerCodeFix({errorCodes:J,getCodeActions:function(Q){var V=Q.errorCode,re=Q.sourceFile,T=Q.program,N=Q.cancellationToken,y=T.getTypeChecker(),D=T.getSourceFiles(),C=e.getTokenAtPosition(re,Q.span.start);if(e.isJSDocTemplateTag(C))return[v(e.textChanges.ChangeTracker.with(Q,function(Se){return Se.delete(re,C)}),e.Diagnostics.Remove_template_tag)];if(C.kind===29){var m=e.textChanges.ChangeTracker.with(Q,function(Se){return A(Se,re,C)});return[v(m,e.Diagnostics.Remove_type_parameters)]}var u=ie(C);if(u){var m=e.textChanges.ChangeTracker.with(Q,function(Ce){return Ce.delete(re,u)});return[n.createCodeFixAction(f,m,[e.Diagnostics.Remove_import_from_0,e.showModuleSpecifier(u)],d,e.Diagnostics.Delete_all_unused_imports)]}else if(z(C)){var g=e.textChanges.ChangeTracker.with(Q,function(Se){return I(re,C,Se,y,D,T,N,!1)});if(g.length)return[n.createCodeFixAction(f,g,[e.Diagnostics.Remove_unused_declaration_for_Colon_0,C.getText(re)],d,e.Diagnostics.Delete_all_unused_imports)]}if(e.isObjectBindingPattern(C.parent)||e.isArrayBindingPattern(C.parent)){if(e.isParameter(C.parent.parent)){var P=C.parent.elements,te=[P.length>1?e.Diagnostics.Remove_unused_declarations_for_Colon_0:e.Diagnostics.Remove_unused_declaration_for_Colon_0,e.map(P,function(Se){return Se.getText(re)}).join(\", \")];return[v(e.textChanges.ChangeTracker.with(Q,function(Se){return S(Se,re,C.parent)}),te)]}return[v(e.textChanges.ChangeTracker.with(Q,function(Se){return Se.delete(re,C.parent.parent)}),e.Diagnostics.Remove_unused_destructuring_declaration)]}if(b(re,C))return[v(e.textChanges.ChangeTracker.with(Q,function(Se){return M(Se,re,C.parent)}),e.Diagnostics.Remove_variable_statement)];var ue=[];if(C.kind===137){var m=e.textChanges.ChangeTracker.with(Q,function(Ce){return h(Ce,re,C)}),X=e.cast(C.parent,e.isInferTypeNode).typeParameter.name.text;ue.push(n.createCodeFixAction(f,m,[e.Diagnostics.Replace_infer_0_with_unknown,X],k,e.Diagnostics.Replace_all_unused_infer_with_unknown))}else{var g=e.textChanges.ChangeTracker.with(Q,function(Ce){return I(re,C,Ce,y,D,T,N,!1)});if(g.length){var X=e.isComputedPropertyName(C.parent)?C.parent:C;ue.push(v(g,[e.Diagnostics.Remove_unused_declaration_for_Colon_0,X.getText(re)]))}}var j=e.textChanges.ChangeTracker.with(Q,function(Se){return B(Se,V,re,C)});return j.length&&ue.push(n.createCodeFixAction(f,j,[e.Diagnostics.Prefix_0_with_an_underscore,C.getText(re)],p,e.Diagnostics.Prefix_all_unused_declarations_with_where_possible)),ue},fixIds:[p,a,d,k],getAllCodeActions:function(Q){var V=Q.sourceFile,re=Q.program,T=Q.cancellationToken,N=re.getTypeChecker(),y=re.getSourceFiles();return n.codeFixAll(Q,J,function(D,C){var m=e.getTokenAtPosition(V,C.start);switch(Q.fixId){case p:B(D,C.code,V,m);break;case d:{var u=ie(m);u?D.delete(V,u):z(m)&&I(V,m,D,N,y,re,T,!0);break}case a:{if(m.kind===137||z(m))break;if(e.isJSDocTemplateTag(m))D.delete(V,m);else if(m.kind===29)A(D,V,m);else if(e.isObjectBindingPattern(m.parent)){if(m.parent.parent.initializer)break;(!e.isParameter(m.parent.parent)||O(m.parent.parent,N,y))&&D.delete(V,m.parent.parent)}else{if(e.isArrayBindingPattern(m.parent.parent)&&m.parent.parent.parent.initializer)break;b(V,m)?M(D,V,m.parent):I(V,m,D,N,y,re,T,!0)}break}case k:m.kind===137&&h(D,V,m);break;default:e.Debug.fail(JSON.stringify(Q.fixId))}})}});function h(Q,V,re){Q.replaceNode(V,re.parent,e.factory.createKeywordTypeNode(154))}function v(Q,V){return n.createCodeFixAction(f,Q,V,a,e.Diagnostics.Delete_all_unused_declarations)}function A(Q,V,re){Q.delete(V,e.Debug.checkDefined(e.cast(re.parent,e.isDeclarationWithTypeParameterChildren).typeParameters,\"The type parameter to delete should exist\"))}function z(Q){return Q.kind===100||Q.kind===79&&(Q.parent.kind===269||Q.parent.kind===266)}function ie(Q){return Q.kind===100?e.tryCast(Q.parent,e.isImportDeclaration):void 0}function b(Q,V){return e.isVariableDeclarationList(V.parent)&&e.first(V.parent.getChildren(Q))===V}function M(Q,V,re){Q.delete(V,re.parent.kind===236?re.parent:re)}function S(Q,V,re){e.forEach(re.elements,function(T){return Q.delete(V,T)})}function B(Q,V,re,T){V!==e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code&&(T.kind===137&&(T=e.cast(T.parent,e.isInferTypeNode).typeParameter.name),e.isIdentifier(T)&&H(T)&&(Q.replaceNode(re,T,e.factory.createIdentifier(\"_\".concat(T.text))),e.isParameter(T.parent)&&e.getJSDocParameterTags(T.parent).forEach(function(N){e.isIdentifier(N.name)&&Q.replaceNode(re,N.name,e.factory.createIdentifier(\"_\".concat(N.name.text)))})))}function H(Q){switch(Q.parent.kind){case 163:case 162:return!0;case 253:{var V=Q.parent;switch(V.parent.parent.kind){case 243:case 242:return!0}}}return!1}function I(Q,V,re,T,N,y,D,C){w(V,re,Q,T,N,y,D,C),e.isIdentifier(V)&&e.FindAllReferences.Core.eachSymbolReferenceInFile(V,T,Q,function(m){e.isPropertyAccessExpression(m.parent)&&m.parent.name===m&&(m=m.parent),!C&&F(m)&&re.delete(Q,m.parent.parent)})}function w(Q,V,re,T,N,y,D,C){var m=Q.parent;if(e.isParameter(m))x(V,re,m,T,N,y,D,C);else if(!(C&&e.isIdentifier(Q)&&e.FindAllReferences.Core.isSymbolReferencedInFile(Q,T,re))){var u=e.isImportClause(m)?Q:e.isComputedPropertyName(m)?m.parent:m;e.Debug.assert(u!==re,\"should not delete whole source file\"),V.delete(re,u)}}function x(Q,V,re,T,N,y,D,C){C===void 0&&(C=!1),q(T,V,re,N,y,D,C)&&(re.modifiers&&re.modifiers.length>0&&(!e.isIdentifier(re.name)||e.FindAllReferences.Core.isSymbolReferencedInFile(re.name,T,V))?re.modifiers.forEach(function(m){return Q.deleteModifier(V,m)}):!re.initializer&&O(re,T,N)&&Q.delete(V,re))}function O(Q,V,re){var T=Q.parent.parameters.indexOf(Q);return!e.FindAllReferences.Core.someSignatureUsage(Q.parent,re,V,function(N,y){return!y||y.arguments.length>T})}function q(Q,V,re,T,N,y,D){var C=re.parent;switch(C.kind){case 168:case 170:var m=C.parameters.indexOf(re),u=e.isMethodDeclaration(C)?C.name:C,g=e.FindAllReferences.Core.getReferencedSymbolsForNode(C.pos,u,N,T,y);if(g)for(var P=0,te=g;P<te.length;P++)for(var ue=te[P],X=0,j=ue.references;X<j.length;X++){var Se=j[X];if(Se.kind===1){var Ce=e.isSuperKeyword(Se.node)&&e.isCallExpression(Se.node.parent)&&Se.node.parent.arguments.length>m,R=e.isPropertyAccessExpression(Se.node.parent)&&e.isSuperKeyword(Se.node.parent.expression)&&e.isCallExpression(Se.node.parent.parent)&&Se.node.parent.parent.arguments.length>m,Y=(e.isMethodDeclaration(Se.node.parent)||e.isMethodSignature(Se.node.parent))&&Se.node.parent!==re.parent&&Se.node.parent.parameters.length>m;if(Ce||R||Y)return!1}}return!0;case 255:return C.name&&Z(Q,V,C.name)?ne(C,re,D):!0;case 212:case 213:return ne(C,re,D);case 172:return!1;default:return e.Debug.failBadSyntaxKind(C)}}function Z(Q,V,re){return!!e.FindAllReferences.Core.eachSymbolReferenceInFile(re,Q,V,function(T){return e.isIdentifier(T)&&e.isCallExpression(T.parent)&&T.parent.arguments.indexOf(T)>=0})}function ne(Q,V,re){var T=Q.parameters,N=T.indexOf(V);return e.Debug.assert(N!==-1,\"The parameter should already be in the list\"),re?T.slice(N+1).every(function(y){return e.isIdentifier(y.name)&&!y.symbol.isReferenced}):N===T.length-1}function F(Q){return(e.isBinaryExpression(Q.parent)&&Q.parent.left===Q||(e.isPostfixUnaryExpression(Q.parent)||e.isPrefixUnaryExpression(Q.parent))&&Q.parent.operand===Q)&&e.isExpressionStatement(Q.parent.parent)}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"fixUnreachableCode\",p=[e.Diagnostics.Unreachable_code_detected.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(k){var J=e.textChanges.ChangeTracker.with(k,function(h){return a(h,k.sourceFile,k.span.start,k.span.length,k.errorCode)});return[n.createCodeFixAction(f,J,e.Diagnostics.Remove_unreachable_code,f,e.Diagnostics.Remove_all_unreachable_code)]},fixIds:[f],getAllCodeActions:function(k){return n.codeFixAll(k,p,function(J,h){return a(J,h.file,h.start,h.length,h.code)})}});function a(k,J,h,v,A){var z=e.getTokenAtPosition(J,h),ie=e.findAncestor(z,e.isStatement);if(ie.getStart(J)!==z.getStart(J)){var b=JSON.stringify({statementKind:e.Debug.formatSyntaxKind(ie.kind),tokenKind:e.Debug.formatSyntaxKind(z.kind),errorCode:A,start:h,length:v});e.Debug.fail(\"Token and statement should start at the same point. \"+b)}var M=(e.isBlock(ie.parent)?ie.parent:ie).parent;if(!e.isBlock(ie.parent)||ie===e.first(ie.parent.statements))switch(M.kind){case 238:if(M.elseStatement){if(e.isBlock(ie.parent))break;k.replaceNode(J,ie,e.factory.createBlock(e.emptyArray));return}case 240:case 241:k.delete(J,M);return}if(e.isBlock(ie.parent)){var S=h+v,B=e.Debug.checkDefined(d(e.sliceAfter(ie.parent.statements,ie),function(H){return H.pos<S}),\"Some statement should be last\");k.deleteNodeRange(J,ie,B)}else k.delete(J,ie)}function d(k,J){for(var h,v=0,A=k;v<A.length;v++){var z=A[v];if(!J(z))break;h=z}return h}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"fixUnusedLabel\",p=[e.Diagnostics.Unused_label.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(d){var k=e.textChanges.ChangeTracker.with(d,function(J){return a(J,d.sourceFile,d.span.start)});return[n.createCodeFixAction(f,k,e.Diagnostics.Remove_unused_label,f,e.Diagnostics.Remove_all_unused_labels)]},fixIds:[f],getAllCodeActions:function(d){return n.codeFixAll(d,p,function(k,J){return a(k,J.file,J.start)})}});function a(d,k,J){var h=e.getTokenAtPosition(k,J),v=e.cast(h.parent,e.isLabeledStatement),A=h.getStart(k),z=v.statement.getStart(k),ie=e.positionsAreOnSameLine(A,z,k)?z:e.skipTrivia(k.text,e.findChildOfKind(v,58,k).end,!0);d.deleteRange(k,{pos:A,end:ie})}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"fixJSDocTypes_plain\",p=\"fixJSDocTypes_nullable\",a=[e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments.code];n.registerCodeFix({errorCodes:a,getCodeActions:function(h){var v=h.sourceFile,A=h.program.getTypeChecker(),z=k(v,h.span.start,A);if(!z)return;var ie=z.typeNode,b=z.type,M=ie.getText(v),S=[B(b,f,e.Diagnostics.Change_all_jsdoc_style_types_to_TypeScript)];return ie.kind===312&&S.push(B(A.getNullableType(b,32768),p,e.Diagnostics.Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types)),S;function B(H,I,w){var x=e.textChanges.ChangeTracker.with(h,function(O){return d(O,v,ie,H,A)});return n.createCodeFixAction(\"jdocTypes\",x,[e.Diagnostics.Change_0_to_1,M,A.typeToString(H)],I,w)}},fixIds:[f,p],getAllCodeActions:function(h){var v=h.fixId,A=h.program,z=h.sourceFile,ie=A.getTypeChecker();return n.codeFixAll(h,a,function(b,M){var S=k(M.file,M.start,ie);if(!!S){var B=S.typeNode,H=S.type,I=B.kind===312&&v===p?ie.getNullableType(H,32768):H;d(b,z,B,I,ie)}})}});function d(h,v,A,z,ie){h.replaceNode(v,A,ie.typeToTypeNode(z,A,void 0))}function k(h,v,A){var z=e.findAncestor(e.getTokenAtPosition(h,v),J),ie=z&&z.type;return ie&&{typeNode:ie,type:A.getTypeFromTypeNode(ie)}}function J(h){switch(h.kind){case 228:case 173:case 174:case 255:case 171:case 175:case 194:case 168:case 167:case 163:case 166:case 165:case 172:case 258:case 210:case 253:return!0;default:return!1}}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"fixMissingCallParentheses\",p=[e.Diagnostics.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead.code];n.registerCodeFix({errorCodes:p,fixIds:[f],getCodeActions:function(k){var J=k.sourceFile,h=k.span,v=d(J,h.start);if(!!v){var A=e.textChanges.ChangeTracker.with(k,function(z){return a(z,k.sourceFile,v)});return[n.createCodeFixAction(f,A,e.Diagnostics.Add_missing_call_parentheses,f,e.Diagnostics.Add_all_missing_call_parentheses)]}},getAllCodeActions:function(k){return n.codeFixAll(k,p,function(J,h){var v=d(h.file,h.start);v&&a(J,h.file,v)})}});function a(k,J,h){k.replaceNodeWithText(J,h,\"\".concat(h.text,\"()\"))}function d(k,J){var h=e.getTokenAtPosition(k,J);if(e.isPropertyAccessExpression(h.parent)){for(var v=h.parent;e.isPropertyAccessExpression(v.parent);)v=v.parent;return v.name}if(e.isIdentifier(h))return h}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"fixAwaitInSyncFunction\",p=[e.Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,e.Diagnostics.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(J){var h=J.sourceFile,v=J.span,A=d(h,v.start);if(!!A){var z=e.textChanges.ChangeTracker.with(J,function(ie){return k(ie,h,A)});return[n.createCodeFixAction(f,z,e.Diagnostics.Add_async_modifier_to_containing_function,f,e.Diagnostics.Add_all_missing_async_modifiers)]}},fixIds:[f],getAllCodeActions:function(J){var h=new e.Map;return n.codeFixAll(J,p,function(v,A){var z=d(A.file,A.start);!z||!e.addToSeen(h,e.getNodeId(z.insertBefore))||k(v,J.sourceFile,z)})}});function a(J){if(J.type)return J.type;if(e.isVariableDeclaration(J.parent)&&J.parent.type&&e.isFunctionTypeNode(J.parent.type))return J.parent.type.type}function d(J,h){var v=e.getTokenAtPosition(J,h),A=e.getContainingFunction(v);if(!!A){var z;switch(A.kind){case 168:z=A.name;break;case 255:case 212:z=e.findChildOfKind(A,98,J);break;case 213:var ie=A.typeParameters?29:20;z=e.findChildOfKind(A,ie,J)||e.first(A.parameters);break;default:return}return z&&{insertBefore:z,returnType:a(A)}}}function k(J,h,v){var A=v.insertBefore,z=v.returnType;if(z){var ie=e.getEntityNameFromTypeNode(z);(!ie||ie.kind!==79||ie.text!==\"Promise\")&&J.replaceNode(h,z,e.factory.createTypeReferenceNode(\"Promise\",e.factory.createNodeArray([z])))}J.insertModifierBefore(h,131,A)}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=[e.Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code,e.Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code],p=\"fixPropertyOverrideAccessor\";n.registerCodeFix({errorCodes:f,getCodeActions:function(d){var k=a(d.sourceFile,d.span.start,d.span.length,d.errorCode,d);if(k)return[n.createCodeFixAction(p,k,e.Diagnostics.Generate_get_and_set_accessors,p,e.Diagnostics.Generate_get_and_set_accessors_for_all_overriding_properties)]},fixIds:[p],getAllCodeActions:function(d){return n.codeFixAll(d,f,function(k,J){var h=a(J.file,J.start,J.length,J.code,d);if(h)for(var v=0,A=h;v<A.length;v++){var z=A[v];k.pushRaw(d.sourceFile,z)}})}});function a(d,k,J,h,v){var A,z;if(h===e.Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code)A=k,z=k+J;else if(h===e.Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code){var ie=v.program.getTypeChecker(),b=e.getTokenAtPosition(d,k).parent;e.Debug.assert(e.isAccessor(b),\"error span of fixPropertyOverrideAccessor should only be on an accessor\");var M=b.parent;e.Debug.assert(e.isClassLike(M),\"erroneous accessors should only be inside classes\");var S=e.singleOrUndefined(n.getAllSupers(M,ie));if(!S)return[];var B=e.unescapeLeadingUnderscores(e.getTextOfPropertyName(b.name)),H=ie.getPropertyOfType(ie.getTypeAtLocation(S),B);if(!H||!H.valueDeclaration)return[];A=H.valueDeclaration.pos,z=H.valueDeclaration.end,d=e.getSourceFileOfNode(H.valueDeclaration)}else e.Debug.fail(\"fixPropertyOverrideAccessor codefix got unexpected error code \"+h);return n.generateAccessorFromProperty(d,v.program,A,z,v,e.Diagnostics.Generate_get_and_set_accessors.message)}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"inferFromUsage\",p=[e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code,e.Diagnostics.Variable_0_implicitly_has_an_1_type.code,e.Diagnostics.Parameter_0_implicitly_has_an_1_type.code,e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code,e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code,e.Diagnostics.Member_0_implicitly_has_an_1_type.code,e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code,e.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code,e.Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(Z){var ne=Z.sourceFile,F=Z.program,Q=Z.span.start,V=Z.errorCode,re=Z.cancellationToken,T=Z.host,N=Z.preferences,y=e.getTokenAtPosition(ne,Q),D,C=e.textChanges.ChangeTracker.with(Z,function(u){D=k(u,ne,y,V,F,re,e.returnTrue,T,N)}),m=D&&e.getNameOfDeclaration(D);return!m||C.length===0?void 0:[n.createCodeFixAction(f,C,[a(V,y),m.getText(ne)],f,e.Diagnostics.Infer_all_types_from_usage)]},fixIds:[f],getAllCodeActions:function(Z){var ne=Z.sourceFile,F=Z.program,Q=Z.cancellationToken,V=Z.host,re=Z.preferences,T=e.nodeSeenTracker();return n.codeFixAll(Z,p,function(N,y){k(N,ne,e.getTokenAtPosition(y.file,y.start),y.code,F,Q,T,V,re)})}});function a(Z,ne){switch(Z){case e.Diagnostics.Parameter_0_implicitly_has_an_1_type.code:case e.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return e.isSetAccessorDeclaration(e.getContainingFunction(ne))?e.Diagnostics.Infer_type_of_0_from_usage:e.Diagnostics.Infer_parameter_types_from_usage;case e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code:case e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Infer_parameter_types_from_usage;case e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:return e.Diagnostics.Infer_this_type_of_0_from_usage;default:return e.Diagnostics.Infer_type_of_0_from_usage}}function d(Z){switch(Z){case e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code;case e.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Variable_0_implicitly_has_an_1_type.code;case e.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Parameter_0_implicitly_has_an_1_type.code;case e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code;case e.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code:return e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code;case e.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code;case e.Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code:return e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code;case e.Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return e.Diagnostics.Member_0_implicitly_has_an_1_type.code}return Z}function k(Z,ne,F,Q,V,re,T,N,y){if(!(!e.isParameterPropertyModifier(F.kind)&&F.kind!==79&&F.kind!==25&&F.kind!==108)){var D=F.parent,C=n.createImportAdder(ne,V,y,N);switch(Q=d(Q),Q){case e.Diagnostics.Member_0_implicitly_has_an_1_type.code:case e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code:if(e.isVariableDeclaration(D)&&T(D)||e.isPropertyDeclaration(D)||e.isPropertySignature(D))return J(Z,C,ne,D,V,N,re),C.writeFixes(Z),D;if(e.isPropertyAccessExpression(D)){var m=w(D.name,V,re),u=e.getTypeNodeIfAccessible(m,D,V,N);if(u){var g=e.factory.createJSDocTypeTag(void 0,e.factory.createJSDocTypeExpression(u),void 0);S(Z,ne,e.cast(D.parent.parent,e.isExpressionStatement),[g])}return C.writeFixes(Z),D}return;case e.Diagnostics.Variable_0_implicitly_has_an_1_type.code:{var P=V.getTypeChecker().getSymbolAtLocation(F);return P&&P.valueDeclaration&&e.isVariableDeclaration(P.valueDeclaration)&&T(P.valueDeclaration)?(J(Z,C,ne,P.valueDeclaration,V,N,re),C.writeFixes(Z),P.valueDeclaration):void 0}}var te=e.getContainingFunction(F);if(te!==void 0){var ue;switch(Q){case e.Diagnostics.Parameter_0_implicitly_has_an_1_type.code:if(e.isSetAccessorDeclaration(te)){z(Z,C,ne,te,V,N,re),ue=te;break}case e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code:if(T(te)){var X=e.cast(D,e.isParameter);h(Z,C,ne,X,te,V,N,re),ue=X}break;case e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code:case e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code:e.isGetAccessorDeclaration(te)&&e.isIdentifier(te.name)&&(ie(Z,C,ne,te,w(te.name,V,re),V,N),ue=te);break;case e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code:e.isSetAccessorDeclaration(te)&&(z(Z,C,ne,te,V,N,re),ue=te);break;case e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:e.textChanges.isThisTypeAnnotatable(te)&&T(te)&&(v(Z,ne,te,V,N,re),ue=te);break;default:return e.Debug.fail(String(Q))}return C.writeFixes(Z),ue}}}function J(Z,ne,F,Q,V,re,T){e.isIdentifier(Q.name)&&ie(Z,ne,F,Q,w(Q.name,V,T),V,re)}function h(Z,ne,F,Q,V,re,T,N){if(!!e.isIdentifier(Q.name)){var y=x(V,F,re,N);if(e.Debug.assert(V.parameters.length===y.length,\"Parameter count and inference count should match\"),e.isInJSFile(V))M(Z,F,y,re,T);else{var D=e.isArrowFunction(V)&&!e.findChildOfKind(V,20,F);D&&Z.insertNodeBefore(F,e.first(V.parameters),e.factory.createToken(20));for(var C=0,m=y;C<m.length;C++){var u=m[C],g=u.declaration,P=u.type;g&&!g.type&&!g.initializer&&ie(Z,ne,F,g,P,re,T)}D&&Z.insertNodeAfter(F,e.last(V.parameters),e.factory.createToken(21))}}}function v(Z,ne,F,Q,V,re){var T=O(F,ne,Q,re);if(!(!T||!T.length)){var N=q(Q,T,re).thisParameter(),y=e.getTypeNodeIfAccessible(N,F,Q,V);!y||(e.isInJSFile(F)?A(Z,ne,F,y):Z.tryInsertThisTypeAnnotation(ne,F,y))}}function A(Z,ne,F,Q){S(Z,ne,F,[e.factory.createJSDocThisTag(void 0,e.factory.createJSDocTypeExpression(Q))])}function z(Z,ne,F,Q,V,re,T){var N=e.firstOrUndefined(Q.parameters);if(N&&e.isIdentifier(Q.name)&&e.isIdentifier(N.name)){var y=w(Q.name,V,T);y===V.getTypeChecker().getAnyType()&&(y=w(N.name,V,T)),e.isInJSFile(Q)?M(Z,F,[{declaration:N,type:y}],V,re):ie(Z,ne,F,N,y,V,re)}}function ie(Z,ne,F,Q,V,re,T){var N=e.getTypeNodeIfAccessible(V,Q,re,T);if(N)if(e.isInJSFile(F)&&Q.kind!==165){var y=e.isVariableDeclaration(Q)?e.tryCast(Q.parent.parent,e.isVariableStatement):Q;if(!y)return;var D=e.factory.createJSDocTypeExpression(N),C=e.isGetAccessorDeclaration(Q)?e.factory.createJSDocReturnTag(void 0,D,void 0):e.factory.createJSDocTypeTag(void 0,D,void 0);S(Z,F,y,[C])}else b(N,Q,F,Z,ne,e.getEmitScriptTarget(re.getCompilerOptions()))||Z.tryInsertTypeAnnotation(F,Q,N)}function b(Z,ne,F,Q,V,re){var T=n.tryGetAutoImportableReferenceFromTypeNode(Z,re);return T&&Q.tryInsertTypeAnnotation(F,ne,T.typeNode)?(e.forEach(T.symbols,function(N){return V.addImportFromExportedSymbol(N,!0)}),!0):!1}function M(Z,ne,F,Q,V){var re=F.length&&F[0].declaration.parent;if(!!re){var T=e.mapDefined(F,function(D){var C=D.declaration;if(!(C.initializer||e.getJSDocType(C)||!e.isIdentifier(C.name))){var m=D.type&&e.getTypeNodeIfAccessible(D.type,C,Q,V);if(m){var u=e.factory.cloneNode(C.name);return e.setEmitFlags(u,3584),{name:e.factory.cloneNode(C.name),param:C,isOptional:!!D.isOptional,typeNode:m}}}});if(!!T.length)if(e.isArrowFunction(re)||e.isFunctionExpression(re)){var N=e.isArrowFunction(re)&&!e.findChildOfKind(re,20,ne);N&&Z.insertNodeBefore(ne,e.first(re.parameters),e.factory.createToken(20)),e.forEach(T,function(D){var C=D.typeNode,m=D.param,u=e.factory.createJSDocTypeTag(void 0,e.factory.createJSDocTypeExpression(C)),g=e.factory.createJSDocComment(void 0,[u]);Z.insertNodeAt(ne,m.getStart(ne),g,{suffix:\" \"})}),N&&Z.insertNodeAfter(ne,e.last(re.parameters),e.factory.createToken(21))}else{var y=e.map(T,function(D){var C=D.name,m=D.typeNode,u=D.isOptional;return e.factory.createJSDocParameterTag(void 0,C,!!u,e.factory.createJSDocTypeExpression(m),!1,void 0)});S(Z,ne,re,y)}}}function S(Z,ne,F,Q){var V=e.flatMap(F.jsDoc,function(D){return typeof D.comment==\"string\"?e.factory.createJSDocText(D.comment):D.comment}),re=e.flatMapToMutable(F.jsDoc,function(D){return D.tags}),T=Q.filter(function(D){return!re||!re.some(function(C,m){var u=H(C,D);return u&&(re[m]=u),!!u})}),N=e.factory.createJSDocComment(e.factory.createNodeArray(e.intersperse(V,e.factory.createJSDocText(`\n`))),e.factory.createNodeArray(Gt(Gt([],re||e.emptyArray,!0),T,!0))),y=F.kind===213?B(F):F;y.jsDoc=F.jsDoc,y.jsDocCache=F.jsDocCache,Z.insertJsdocCommentBefore(ne,y,N)}n.addJSDocTags=S;function B(Z){return Z.parent.kind===166?Z.parent:Z.parent.parent}function H(Z,ne){if(Z.kind===ne.kind)switch(Z.kind){case 338:{var F=Z,Q=ne;return e.isIdentifier(F.name)&&e.isIdentifier(Q.name)&&F.name.escapedText===Q.name.escapedText?e.factory.createJSDocParameterTag(void 0,Q.name,!1,Q.typeExpression,Q.isNameFirst,F.comment):void 0}case 339:return e.factory.createJSDocReturnTag(void 0,ne.typeExpression,Z.comment)}}function I(Z,ne,F){return e.mapDefined(e.FindAllReferences.getReferenceEntriesForNode(-1,Z,ne,ne.getSourceFiles(),F),function(Q){return Q.kind!==0?e.tryCast(Q.node,e.isIdentifier):void 0})}function w(Z,ne,F){var Q=I(Z,ne,F);return q(ne,Q,F).single()}function x(Z,ne,F,Q){var V=O(Z,ne,F,Q);return V&&q(F,V,Q).parameters(Z)||Z.parameters.map(function(re){return{declaration:re,type:e.isIdentifier(re.name)?w(re.name,F,Q):F.getTypeChecker().getAnyType()}})}function O(Z,ne,F,Q){var V;switch(Z.kind){case 170:V=e.findChildOfKind(Z,134,ne);break;case 213:case 212:var re=Z.parent;V=(e.isVariableDeclaration(re)||e.isPropertyDeclaration(re))&&e.isIdentifier(re.name)?re.name:Z.name;break;case 255:case 168:case 167:V=Z.name;break}if(!!V)return I(V,F,Q)}function q(Z,ne,F){var Q=Z.getTypeChecker(),V={string:function(){return Q.getStringType()},number:function(){return Q.getNumberType()},Array:function(De){return Q.createArrayType(De)},Promise:function(De){return Q.createPromiseType(De)}},re=[Q.getStringType(),Q.getNumberType(),Q.createArrayType(Q.getAnyType()),Q.createPromiseType(Q.getAnyType())];return{single:y,parameters:D,thisParameter:C};function T(){return{isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0}}function N(De){for(var Ae=new e.Map,Ye=0,Dr=De;Ye<Dr.length;Ye++){var br=Dr[Ye];br.properties&&br.properties.forEach(function(Ar,kr){Ae.has(kr)||Ae.set(kr,[]),Ae.get(kr).push(Ar)})}var lr=new e.Map;return Ae.forEach(function(Ar,kr){lr.set(kr,N(Ar))}),{isNumber:De.some(function(Ar){return Ar.isNumber}),isString:De.some(function(Ar){return Ar.isString}),isNumberOrString:De.some(function(Ar){return Ar.isNumberOrString}),candidateTypes:e.flatMap(De,function(Ar){return Ar.candidateTypes}),properties:lr,calls:e.flatMap(De,function(Ar){return Ar.calls}),constructs:e.flatMap(De,function(Ar){return Ar.constructs}),numberIndex:e.forEach(De,function(Ar){return Ar.numberIndex}),stringIndex:e.forEach(De,function(Ar){return Ar.stringIndex}),candidateThisTypes:e.flatMap(De,function(Ar){return Ar.candidateThisTypes}),inferredTypes:void 0}}function y(){return Te(m(ne))}function D(De){if(!(ne.length===0||!De.parameters)){for(var Ae=T(),Ye=0,Dr=ne;Ye<Dr.length;Ye++){var br=Dr[Ye];F.throwIfCancellationRequested(),u(br,Ae)}var lr=Gt(Gt([],Ae.constructs||[],!0),Ae.calls||[],!0);return De.parameters.map(function(Ar,kr){for(var Ke=[],Me=e.isRestParameter(Ar),Hr=!1,ur=0,gr=lr;ur<gr.length;ur++){var de=gr[ur];if(de.argumentTypes.length<=kr)Hr=e.isInJSFile(De),Ke.push(Q.getUndefinedType());else if(Me)for(var Fe=kr;Fe<de.argumentTypes.length;Fe++)Ke.push(Q.getBaseTypeOfLiteralType(de.argumentTypes[Fe]));else Ke.push(Q.getBaseTypeOfLiteralType(de.argumentTypes[kr]))}if(e.isIdentifier(Ar.name)){var $e=m(I(Ar.name,Z,F));Ke.push.apply(Ke,Me?e.mapDefined($e,Q.getElementTypeOfArrayType):$e)}var Sr=Te(Ke);return{type:Me?Q.createArrayType(Sr):Sr,isOptional:Hr&&!Me,declaration:Ar}})}}function C(){for(var De=T(),Ae=0,Ye=ne;Ae<Ye.length;Ae++){var Dr=Ye[Ae];F.throwIfCancellationRequested(),u(Dr,De)}return Te(De.candidateThisTypes||e.emptyArray)}function m(De){for(var Ae=T(),Ye=0,Dr=De;Ye<Dr.length;Ye++){var br=Dr[Ye];F.throwIfCancellationRequested(),u(br,Ae)}return ke(Ae)}function u(De,Ae){for(;e.isRightSideOfQualifiedNameOrPropertyAccess(De);)De=De.parent;switch(De.parent.kind){case 237:P(De,Ae);break;case 219:Ae.isNumber=!0;break;case 218:te(De.parent,Ae);break;case 220:ue(De,De.parent,Ae);break;case 288:case 289:X(De.parent,Ae);break;case 207:case 208:De.parent.expression===De?j(De.parent,Ae):g(De,Ae);break;case 205:Se(De.parent,Ae);break;case 206:Ce(De.parent,De,Ae);break;case 294:case 295:R(De.parent,Ae);break;case 166:Y(De.parent,Ae);break;case 253:{var Ye=De.parent,Dr=Ye.name,br=Ye.initializer;if(De===Dr){br&&qe(Ae,Q.getTypeAtLocation(br));break}}default:return g(De,Ae)}}function g(De,Ae){e.isExpressionNode(De)&&qe(Ae,Q.getContextualType(De))}function P(De,Ae){qe(Ae,e.isCallExpression(De)?Q.getVoidType():Q.getAnyType())}function te(De,Ae){switch(De.operator){case 45:case 46:case 40:case 54:Ae.isNumber=!0;break;case 39:Ae.isNumberOrString=!0;break}}function ue(De,Ae,Ye){switch(Ae.operatorToken.kind){case 42:case 41:case 43:case 44:case 47:case 48:case 49:case 50:case 51:case 52:case 65:case 67:case 66:case 68:case 69:case 73:case 74:case 78:case 70:case 72:case 71:case 40:case 29:case 32:case 31:case 33:var Dr=Q.getTypeAtLocation(Ae.left===De?Ae.right:Ae.left);Dr.flags&1056?qe(Ye,Dr):Ye.isNumber=!0;break;case 64:case 39:var br=Q.getTypeAtLocation(Ae.left===De?Ae.right:Ae.left);br.flags&1056?qe(Ye,br):br.flags&296?Ye.isNumber=!0:br.flags&402653316?Ye.isString=!0:br.flags&1||(Ye.isNumberOrString=!0);break;case 63:case 34:case 36:case 37:case 35:qe(Ye,Q.getTypeAtLocation(Ae.left===De?Ae.right:Ae.left));break;case 101:De===Ae.left&&(Ye.isString=!0);break;case 56:case 60:De===Ae.left&&(De.parent.parent.kind===253||e.isAssignmentExpression(De.parent.parent,!0))&&qe(Ye,Q.getTypeAtLocation(Ae.right));break}}function X(De,Ae){qe(Ae,Q.getTypeAtLocation(De.parent.parent.expression))}function j(De,Ae){var Ye={argumentTypes:[],return_:T()};if(De.arguments)for(var Dr=0,br=De.arguments;Dr<br.length;Dr++){var lr=br[Dr];Ye.argumentTypes.push(Q.getTypeAtLocation(lr))}u(De,Ye.return_),De.kind===207?(Ae.calls||(Ae.calls=[])).push(Ye):(Ae.constructs||(Ae.constructs=[])).push(Ye)}function Se(De,Ae){var Ye=e.escapeLeadingUnderscores(De.name.text);Ae.properties||(Ae.properties=new e.Map);var Dr=Ae.properties.get(Ye)||T();u(De,Dr),Ae.properties.set(Ye,Dr)}function Ce(De,Ae,Ye){if(Ae===De.argumentExpression){Ye.isNumberOrString=!0;return}else{var Dr=Q.getTypeAtLocation(De.argumentExpression),br=T();u(De,br),Dr.flags&296?Ye.numberIndex=br:Ye.stringIndex=br}}function R(De,Ae){var Ye=e.isVariableDeclaration(De.parent.parent)?De.parent.parent:De.parent;Xe(Ae,Q.getTypeAtLocation(Ye))}function Y(De,Ae){Xe(Ae,Q.getTypeAtLocation(De.parent))}function U(De,Ae){for(var Ye=[],Dr=0,br=De;Dr<br.length;Dr++)for(var lr=br[Dr],Ar=0,kr=Ae;Ar<kr.length;Ar++){var Ke=kr[Ar],Me=Ke.high,Hr=Ke.low;Me(lr)&&(e.Debug.assert(!Hr(lr),\"Priority can't have both low and high\"),Ye.push(Hr))}return De.filter(function(ur){return Ye.every(function(gr){return!gr(ur)})})}function K(De){return Te(ke(De))}function Te(De){if(!De.length)return Q.getAnyType();var Ae=Q.getUnionType([Q.getStringType(),Q.getNumberType()]),Ye=[{high:function(lr){return lr===Q.getStringType()||lr===Q.getNumberType()},low:function(lr){return lr===Ae}},{high:function(lr){return!(lr.flags&16385)},low:function(lr){return!!(lr.flags&16385)}},{high:function(lr){return!(lr.flags&114689)&&!(e.getObjectFlags(lr)&16)},low:function(lr){return!!(e.getObjectFlags(lr)&16)}}],Dr=U(De,Ye),br=Dr.filter(function(lr){return e.getObjectFlags(lr)&16});return br.length&&(Dr=Dr.filter(function(lr){return!(e.getObjectFlags(lr)&16)}),Dr.push(ge(br))),Q.getWidenedType(Q.getUnionType(Dr.map(Q.getBaseTypeOfLiteralType),2))}function ge(De){if(De.length===1)return De[0];for(var Ae=[],Ye=[],Dr=[],br=[],lr=!1,Ar=!1,kr=e.createMultiMap(),Ke=0,Me=De;Ke<Me.length;Ke++){for(var Hr=Me[Ke],ur=0,gr=Q.getPropertiesOfType(Hr);ur<gr.length;ur++){var de=gr[ur];kr.add(de.name,de.valueDeclaration?Q.getTypeOfSymbolAtLocation(de,de.valueDeclaration):Q.getAnyType())}Ae.push.apply(Ae,Q.getSignaturesOfType(Hr,0)),Ye.push.apply(Ye,Q.getSignaturesOfType(Hr,1));var Fe=Q.getIndexInfoOfType(Hr,0);Fe&&(Dr.push(Fe.type),lr=lr||Fe.isReadonly);var $e=Q.getIndexInfoOfType(Hr,1);$e&&(br.push($e.type),Ar=Ar||$e.isReadonly)}var Sr=e.mapEntries(kr,function(He,pr){var Jr=pr.length<De.length?16777216:0,ze=Q.createSymbol(4|Jr,He);return ze.type=Q.getUnionType(pr),[He,ze]}),Pr=[];return Dr.length&&Pr.push(Q.createIndexInfo(Q.getStringType(),Q.getUnionType(Dr),lr)),br.length&&Pr.push(Q.createIndexInfo(Q.getNumberType(),Q.getUnionType(br),Ar)),Q.createAnonymousType(De[0].symbol,Sr,Ae,Ye,Pr)}function ke(De){var Ae,Ye,Dr,br=[];return De.isNumber&&br.push(Q.getNumberType()),De.isString&&br.push(Q.getStringType()),De.isNumberOrString&&br.push(Q.getUnionType([Q.getStringType(),Q.getNumberType()])),De.numberIndex&&br.push(Q.createArrayType(K(De.numberIndex))),(((Ae=De.properties)===null||Ae===void 0?void 0:Ae.size)||((Ye=De.calls)===null||Ye===void 0?void 0:Ye.length)||((Dr=De.constructs)===null||Dr===void 0?void 0:Dr.length)||De.stringIndex)&&br.push(Pe(De)),br.push.apply(br,(De.candidateTypes||[]).map(function(lr){return Q.getBaseTypeOfLiteralType(lr)})),br.push.apply(br,Ie(De)),br}function Pe(De){var Ae=new e.Map;De.properties&&De.properties.forEach(function(lr,Ar){var kr=Q.createSymbol(4,Ar);kr.type=K(lr),Ae.set(Ar,kr)});var Ye=De.calls?[Le(De.calls)]:[],Dr=De.constructs?[Le(De.constructs)]:[],br=De.stringIndex?[Q.createIndexInfo(Q.getStringType(),K(De.stringIndex),!1)]:[];return Q.createAnonymousType(void 0,Ae,Ye,Dr,br)}function Ie(De){if(!De.properties||!De.properties.size)return[];var Ae=re.filter(function(Ye){return Ge(Ye,De)});return 0<Ae.length&&Ae.length<3?Ae.map(function(Ye){return he(Ye,De)}):[]}function Ge(De,Ae){return Ae.properties?!e.forEachEntry(Ae.properties,function(Ye,Dr){var br=Q.getTypeOfPropertyOfType(De,Dr);if(!br)return!0;if(Ye.calls){var lr=Q.getSignaturesOfType(br,0);return!lr.length||!Q.isTypeAssignableTo(br,_e(Ye.calls))}else return!Q.isTypeAssignableTo(br,K(Ye))}):!1}function he(De,Ae){if(!(e.getObjectFlags(De)&4)||!Ae.properties)return De;var Ye=De.target,Dr=e.singleOrUndefined(Ye.typeParameters);if(!Dr)return De;var br=[];return Ae.properties.forEach(function(lr,Ar){var kr=Q.getTypeOfPropertyOfType(Ye,Ar);e.Debug.assert(!!kr,\"generic should have all the properties of its reference.\"),br.push.apply(br,ve(kr,K(lr),Dr))}),V[De.symbol.escapedName](Te(br))}function ve(De,Ae,Ye){if(De===Ye)return[Ae];if(De.flags&3145728)return e.flatMap(De.types,function(Me){return ve(Me,Ae,Ye)});if(e.getObjectFlags(De)&4&&e.getObjectFlags(Ae)&4){var Dr=Q.getTypeArguments(De),br=Q.getTypeArguments(Ae),lr=[];if(Dr&&br)for(var Ar=0;Ar<Dr.length;Ar++)br[Ar]&&lr.push.apply(lr,ve(Dr[Ar],br[Ar],Ye));return lr}var kr=Q.getSignaturesOfType(De,0),Ke=Q.getSignaturesOfType(Ae,0);return kr.length===1&&Ke.length===1?Ve(kr[0],Ke[0],Ye):[]}function Ve(De,Ae,Ye){for(var Dr=[],br=0;br<De.parameters.length;br++){var lr=De.parameters[br],Ar=Ae.parameters[br],kr=De.declaration&&e.isRestParameter(De.declaration.parameters[br]);if(!Ar)break;var Ke=lr.valueDeclaration?Q.getTypeOfSymbolAtLocation(lr,lr.valueDeclaration):Q.getAnyType(),Me=kr&&Q.getElementTypeOfArrayType(Ke);Me&&(Ke=Me);var Hr=Ar.type||(Ar.valueDeclaration?Q.getTypeOfSymbolAtLocation(Ar,Ar.valueDeclaration):Q.getAnyType());Dr.push.apply(Dr,ve(Ke,Hr,Ye))}var ur=Q.getReturnTypeOfSignature(De),gr=Q.getReturnTypeOfSignature(Ae);return Dr.push.apply(Dr,ve(ur,gr,Ye)),Dr}function _e(De){return Q.createAnonymousType(void 0,e.createSymbolTable(),[Le(De)],e.emptyArray,e.emptyArray)}function Le(De){for(var Ae=[],Ye=Math.max.apply(Math,De.map(function(Ar){return Ar.argumentTypes.length})),Dr=function(Ar){var kr=Q.createSymbol(1,e.escapeLeadingUnderscores(\"arg\".concat(Ar)));kr.type=Te(De.map(function(Ke){return Ke.argumentTypes[Ar]||Q.getUndefinedType()})),De.some(function(Ke){return Ke.argumentTypes[Ar]===void 0})&&(kr.flags|=16777216),Ae.push(kr)},br=0;br<Ye;br++)Dr(br);var lr=K(N(De.map(function(Ar){return Ar.return_})));return Q.createSignature(void 0,void 0,void 0,Ae,lr,void 0,Ye,0)}function qe(De,Ae){Ae&&!(Ae.flags&1)&&!(Ae.flags&131072)&&(De.candidateTypes||(De.candidateTypes=[])).push(Ae)}function Xe(De,Ae){Ae&&!(Ae.flags&1)&&!(Ae.flags&131072)&&(De.candidateThisTypes||(De.candidateThisTypes=[])).push(Ae)}}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"fixReturnTypeInAsyncFunction\",p=[e.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.registerCodeFix({errorCodes:p,fixIds:[f],getCodeActions:function(k){var J=k.sourceFile,h=k.program,v=k.span,A=h.getTypeChecker(),z=a(J,h.getTypeChecker(),v.start);if(!!z){var ie=z.returnTypeNode,b=z.returnType,M=z.promisedTypeNode,S=z.promisedType,B=e.textChanges.ChangeTracker.with(k,function(H){return d(H,J,ie,M)});return[n.createCodeFixAction(f,B,[e.Diagnostics.Replace_0_with_Promise_1,A.typeToString(b),A.typeToString(S)],f,e.Diagnostics.Fix_all_incorrect_return_type_of_an_async_functions)]}},getAllCodeActions:function(k){return n.codeFixAll(k,p,function(J,h){var v=a(h.file,k.program.getTypeChecker(),h.start);v&&d(J,h.file,v.returnTypeNode,v.promisedTypeNode)})}});function a(k,J,h){if(!e.isInJSFile(k)){var v=e.getTokenAtPosition(k,h),A=e.findAncestor(v,e.isFunctionLikeDeclaration),z=A==null?void 0:A.type;if(!!z){var ie=J.getTypeFromTypeNode(z),b=J.getAwaitedType(ie)||J.getVoidType(),M=J.typeToTypeNode(b,z,void 0);if(M)return{returnTypeNode:z,returnType:ie,promisedTypeNode:M,promisedType:b}}}}function d(k,J,h,v){k.replaceNode(J,h,e.factory.createTypeReferenceNode(\"Promise\",[v]))}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"disableJsDiagnostics\",p=\"disableJsDiagnostics\",a=e.mapDefined(Object.keys(e.Diagnostics),function(k){var J=e.Diagnostics[k];return J.category===e.DiagnosticCategory.Error?J.code:void 0});n.registerCodeFix({errorCodes:a,getCodeActions:function(k){var J=k.sourceFile,h=k.program,v=k.span,A=k.host,z=k.formatContext;if(!(!e.isInJSFile(J)||!e.isCheckJsEnabledForFile(J,h.getCompilerOptions()))){var ie=J.checkJsDirective?\"\":e.getNewLineOrDefaultFromHost(A,z.options),b=[n.createCodeFixActionWithoutFixAll(f,[n.createFileTextChanges(J.fileName,[e.createTextChange(J.checkJsDirective?e.createTextSpanFromBounds(J.checkJsDirective.pos,J.checkJsDirective.end):e.createTextSpan(0,0),\"// @ts-nocheck\".concat(ie))])],e.Diagnostics.Disable_checking_for_this_file)];return e.textChanges.isValidLocationToAddComment(J,v.start)&&b.unshift(n.createCodeFixAction(f,e.textChanges.ChangeTracker.with(k,function(M){return d(M,J,v.start)}),e.Diagnostics.Ignore_this_error_message,p,e.Diagnostics.Add_ts_ignore_to_all_error_messages)),b}},fixIds:[p],getAllCodeActions:function(k){var J=new e.Set;return n.codeFixAll(k,a,function(h,v){e.textChanges.isValidLocationToAddComment(v.file,v.start)&&d(h,v.file,v.start,J)})}});function d(k,J,h,v){var A=e.getLineAndCharacterOfPosition(J,h).line;(!v||e.tryAddToSet(v,A))&&k.insertCommentBeforeLine(J,A,h,\" @ts-ignore\")}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){function f(q,Z,ne,F,Q,V,re){for(var T=q.symbol.members,N=0,y=Z;N<y.length;N++){var D=y[N];T.has(D.escapedName)||a(D,q,ne,F,Q,V,re,void 0)}}n.createMissingMemberNodes=f;function p(q){return{trackSymbol:function(){return!1},moduleResolverHost:e.getModuleSpecifierResolverHost(q.program,q.host)}}n.getNoopSymbolTrackerWithResolver=p,function(q){q[q.Method=1]=\"Method\",q[q.Property=2]=\"Property\",q[q.All=3]=\"All\"}(n.PreserveOptionalFlags||(n.PreserveOptionalFlags={}));function a(q,Z,ne,F,Q,V,re,T,N,y){N===void 0&&(N=3),y===void 0&&(y=!1);var D=q.getDeclarations();if(!(D&&D.length))return;var C=F.program.getTypeChecker(),m=e.getEmitScriptTarget(F.program.getCompilerOptions()),u=D[0],g=e.getSynthesizedDeepClone(e.getNameOfDeclaration(u),!1),P=M(e.getEffectiveModifierFlags(u)),te=P?e.factory.createNodeArray([P]):void 0,ue=C.getWidenedType(C.getTypeOfSymbolAtLocation(q,Z)),X=!!(q.flags&16777216),j=!!(Z.flags&8388608)||y,Se=e.getQuotePreference(ne,Q);switch(u.kind){case 165:case 166:var Ce=Se===0?268435456:void 0,R=C.typeToTypeNode(ue,Z,Ce,p(F));if(V){var Y=w(R,m);Y&&(R=Y.typeNode,O(V,Y.symbols))}re(e.factory.createPropertyDeclaration(void 0,te,g,X&&N&2?e.factory.createToken(57):void 0,R,void 0));break;case 171:case 172:{var U=C.typeToTypeNode(ue,Z,void 0,p(F)),K=e.getAllAccessorDeclarations(D,u),Te=K.secondAccessor?[K.firstAccessor,K.secondAccessor]:[K.firstAccessor];if(V){var Y=w(U,m);Y&&(U=Y.typeNode,O(V,Y.symbols))}for(var ge=0,ke=Te;ge<ke.length;ge++){var Pe=ke[ge];if(e.isGetAccessorDeclaration(Pe))re(e.factory.createGetAccessorDeclaration(void 0,te,g,e.emptyArray,U,j?void 0:T||ie(Se)));else{e.Debug.assertNode(Pe,e.isSetAccessorDeclaration,\"The counterpart to a getter should be a setter\");var Ie=e.getSetAccessorValueParameter(Pe),Ge=Ie&&e.isIdentifier(Ie.name)?e.idText(Ie.name):void 0;re(e.factory.createSetAccessorDeclaration(void 0,te,g,h(1,[Ge],[U],1,!1),j?void 0:T||ie(Se)))}}break}case 167:case 168:var he=C.getSignaturesOfType(ue,0);if(!e.some(he))break;if(D.length===1){e.Debug.assert(he.length===1,\"One declaration implies one signature\");var ve=he[0];Le(Se,ve,te,g,j?void 0:T||ie(Se));break}for(var Ve=0,_e=he;Ve<_e.length;Ve++){var ve=_e[Ve];Le(Se,ve,e.getSynthesizedDeepClones(te,!1),e.getSynthesizedDeepClone(g,!1))}if(!j)if(D.length>he.length){var ve=C.getSignatureFromDeclaration(D[D.length-1]);Le(Se,ve,te,g,T||ie(Se))}else e.Debug.assert(D.length===he.length,\"Declarations and signatures should match count\"),re(v(C,F,Z,he,g,X&&!!(N&1),te,Se,T));break}function Le(qe,Xe,De,Ae,Ye){var Dr=d(168,F,qe,Xe,Ye,Ae,De,X&&!!(N&1),Z,V);Dr&&re(Dr)}}n.addNewNodeForMemberSymbol=a;function d(q,Z,ne,F,Q,V,re,T,N,y){var D=Z.program,C=D.getTypeChecker(),m=e.getEmitScriptTarget(D.getCompilerOptions()),u=1073742081|(ne===0?268435456:0),g=C.signatureToSignatureDeclaration(F,q,N,u,p(Z));if(!!g){var P=g.typeParameters,te=g.parameters,ue=g.type;if(y){if(P){var X=e.sameMap(P,function(Y){var U=Y.constraint,K=Y.default;if(U){var Te=w(U,m);Te&&(U=Te.typeNode,O(y,Te.symbols))}if(K){var Te=w(K,m);Te&&(K=Te.typeNode,O(y,Te.symbols))}return e.factory.updateTypeParameterDeclaration(Y,Y.name,U,K)});P!==X&&(P=e.setTextRange(e.factory.createNodeArray(X,P.hasTrailingComma),P))}var j=e.sameMap(te,function(Y){var U=w(Y.type,m),K=Y.type;return U&&(K=U.typeNode,O(y,U.symbols)),e.factory.updateParameterDeclaration(Y,Y.decorators,Y.modifiers,Y.dotDotDotToken,Y.name,Y.questionToken,K,Y.initializer)});if(te!==j&&(te=e.setTextRange(e.factory.createNodeArray(j,te.hasTrailingComma),te)),ue){var Se=w(ue,m);Se&&(ue=Se.typeNode,O(y,Se.symbols))}}var Ce=T?e.factory.createToken(57):void 0,R=g.asteriskToken;if(e.isFunctionExpression(g))return e.factory.updateFunctionExpression(g,re,g.asteriskToken,e.tryCast(V,e.isIdentifier),P,te,ue,Q!=null?Q:g.body);if(e.isArrowFunction(g))return e.factory.updateArrowFunction(g,re,P,te,ue,g.equalsGreaterThanToken,Q!=null?Q:g.body);if(e.isMethodDeclaration(g))return e.factory.updateMethodDeclaration(g,void 0,re,R,V!=null?V:e.factory.createIdentifier(\"\"),Ce,P,te,ue,Q)}}n.createSignatureDeclarationFromSignature=d;function k(q,Z,ne,F,Q,V,re){var T=e.getQuotePreference(Z.sourceFile,Z.preferences),N=e.getEmitScriptTarget(Z.program.getCompilerOptions()),y=p(Z),D=Z.program.getTypeChecker(),C=e.isInJSFile(re),m=F.typeArguments,u=F.arguments,g=F.parent,P=C?void 0:D.getContextualType(F),te=e.map(u,function(Y){return e.isIdentifier(Y)?Y.text:e.isPropertyAccessExpression(Y)&&e.isIdentifier(Y.name)?Y.name.text:void 0}),ue=C?[]:e.map(u,function(Y){return J(D,ne,D.getBaseTypeOfLiteralType(D.getTypeAtLocation(Y)),re,N,void 0,y)}),X=V?e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(V)):void 0,j=e.isYieldExpression(g)?e.factory.createToken(41):void 0,Se=C||m===void 0?void 0:e.map(m,function(Y,U){return e.factory.createTypeParameterDeclaration(84+m.length-1<=90?String.fromCharCode(84+U):\"T\".concat(U))}),Ce=h(u.length,te,ue,void 0,C),R=C||P===void 0?void 0:D.typeToTypeNode(P,re,void 0,y);return q===168?e.factory.createMethodDeclaration(void 0,X,j,Q,void 0,Se,Ce,R,e.isInterfaceDeclaration(re)?void 0:ie(T)):e.factory.createFunctionDeclaration(void 0,X,j,Q,Se,Ce,R,b(e.Diagnostics.Function_not_implemented.message,T))}n.createSignatureDeclarationFromCallExpression=k;function J(q,Z,ne,F,Q,V,re){var T=q.typeToTypeNode(ne,F,V,re);if(T&&e.isImportTypeNode(T)){var N=w(T,Q);N&&(O(Z,N.symbols),T=N.typeNode)}return e.getSynthesizedDeepClone(T)}n.typeToAutoImportableTypeNode=J;function h(q,Z,ne,F,Q){for(var V=[],re=0;re<q;re++){var T=e.factory.createParameterDeclaration(void 0,void 0,void 0,Z&&Z[re]||\"arg\".concat(re),F!==void 0&&re>=F?e.factory.createToken(57):void 0,Q?void 0:ne&&ne[re]||e.factory.createKeywordTypeNode(130),void 0);V.push(T)}return V}function v(q,Z,ne,F,Q,V,re,T,N){for(var y=F[0],D=F[0].minArgumentCount,C=!1,m=0,u=F;m<u.length;m++){var g=u[m];D=Math.min(g.minArgumentCount,D),e.signatureHasRestParameter(g)&&(C=!0),g.parameters.length>=y.parameters.length&&(!e.signatureHasRestParameter(g)||e.signatureHasRestParameter(y))&&(y=g)}var P=y.parameters.length-(e.signatureHasRestParameter(y)?1:0),te=y.parameters.map(function(Se){return Se.name}),ue=h(P,te,void 0,D,!1);if(C){var X=e.factory.createArrayTypeNode(e.factory.createKeywordTypeNode(130)),j=e.factory.createParameterDeclaration(void 0,void 0,e.factory.createToken(25),te[P]||\"rest\",P>=D?e.factory.createToken(57):void 0,X,void 0);ue.push(j)}return z(re,Q,V,void 0,ue,A(F,q,Z,ne),T,N)}function A(q,Z,ne,F){if(e.length(q)){var Q=Z.getUnionType(e.map(q,Z.getReturnTypeOfSignature));return Z.typeToTypeNode(Q,F,void 0,p(ne))}}function z(q,Z,ne,F,Q,V,re,T){return e.factory.createMethodDeclaration(void 0,q,void 0,Z,ne?e.factory.createToken(57):void 0,F,Q,V,T||ie(re))}function ie(q){return b(e.Diagnostics.Method_not_implemented.message,q)}function b(q,Z){return e.factory.createBlock([e.factory.createThrowStatement(e.factory.createNewExpression(e.factory.createIdentifier(\"Error\"),void 0,[e.factory.createStringLiteral(q,Z===0)]))],!0)}n.createStubbedBody=b;function M(q){if(q&4)return e.factory.createToken(123);if(q&16)return e.factory.createToken(122)}function S(q,Z,ne){var F=e.getTsConfigObjectLiteralExpression(Z);if(!!F){var Q=I(F,\"compilerOptions\");if(Q===void 0){q.insertNodeAtObjectStart(Z,F,H(\"compilerOptions\",e.factory.createObjectLiteralExpression(ne.map(function(m){var u=m[0],g=m[1];return H(u,g)}),!0)));return}var V=Q.initializer;if(!!e.isObjectLiteralExpression(V))for(var re=0,T=ne;re<T.length;re++){var N=T[re],y=N[0],D=N[1],C=I(V,y);C===void 0?q.insertNodeAtObjectStart(Z,V,H(y,D)):q.replaceNode(Z,C.initializer,D)}}}n.setJsonCompilerOptionValues=S;function B(q,Z,ne,F){S(q,Z,[[ne,F]])}n.setJsonCompilerOptionValue=B;function H(q,Z){return e.factory.createPropertyAssignment(e.factory.createStringLiteral(q),Z)}n.createJsonPropertyAssignment=H;function I(q,Z){return e.find(q.properties,function(ne){return e.isPropertyAssignment(ne)&&!!ne.name&&e.isStringLiteral(ne.name)&&ne.name.text===Z})}n.findJsonProperty=I;function w(q,Z){var ne,F=e.visitNode(q,Q);if(ne&&F)return{typeNode:F,symbols:ne};function Q(V){var re;if(e.isLiteralImportTypeNode(V)&&V.qualifier){var T=e.getFirstIdentifier(V.qualifier),N=e.getNameForExportedSymbol(T.symbol,Z),y=N!==T.text?x(V.qualifier,e.factory.createIdentifier(N)):V.qualifier;ne=e.append(ne,T.symbol);var D=(re=V.typeArguments)===null||re===void 0?void 0:re.map(Q);return e.factory.createTypeReferenceNode(y,D)}return e.visitEachChild(V,Q,e.nullTransformationContext)}}n.tryGetAutoImportableReferenceFromTypeNode=w;function x(q,Z){return q.kind===79?Z:e.factory.createQualifiedName(x(q.left,Z),q.right)}function O(q,Z){Z.forEach(function(ne){return q.addImportFromExportedSymbol(ne,!0)})}n.importSymbols=O})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){function f(w,x,O,q,Z,ne){var F=v(w,x,O,q);if(!(!F||e.refactor.isRefactorErrorInfo(F))){var Q=e.textChanges.ChangeTracker.fromContext(Z),V=F.isStatic,re=F.isReadonly,T=F.fieldName,N=F.accessorName,y=F.originalName,D=F.type,C=F.container,m=F.declaration;e.suppressLeadingAndTrailingTrivia(T),e.suppressLeadingAndTrailingTrivia(N),e.suppressLeadingAndTrailingTrivia(m),e.suppressLeadingAndTrailingTrivia(C);var u,g;if(e.isClassLike(C)){var P=e.getEffectiveModifierFlags(m);if(e.isSourceFileJS(w)){var te=e.createModifiers(P);u=te,g=te}else u=e.createModifiers(J(P)),g=e.createModifiers(h(P))}M(Q,w,m,D,T,g);var ue=A(T,N,D,u,V,C);if(e.suppressLeadingAndTrailingTrivia(ue),S(Q,w,ue,m,C),re){var X=e.getFirstConstructorWithBody(C);X&&B(Q,w,X,T.text,y)}else{var j=z(T,N,D,u,V,C);e.suppressLeadingAndTrailingTrivia(j),S(Q,w,j,m,C)}return Q.getChanges()}}n.generateAccessorFromProperty=f;function p(w){return e.isIdentifier(w)||e.isStringLiteral(w)}function a(w){return e.isParameterPropertyDeclaration(w,w.parent)||e.isPropertyDeclaration(w)||e.isPropertyAssignment(w)}function d(w,x){return e.isIdentifier(x)?e.factory.createIdentifier(w):e.factory.createStringLiteral(w)}function k(w,x,O){var q=x?O.name:e.factory.createThis();return e.isIdentifier(w)?e.factory.createPropertyAccessExpression(q,w):e.factory.createElementAccessExpression(q,e.factory.createStringLiteralFromNode(w))}function J(w){return w&=-65,w&=-9,w&16||(w|=4),w}function h(w){return w&=-5,w&=-17,w|=8,w}function v(w,x,O,q,Z){Z===void 0&&(Z=!0);var ne=e.getTokenAtPosition(w,O),F=O===q&&Z,Q=e.findAncestor(ne.parent,a),V=124;if(!Q||!(e.nodeOverlapsWithStartEnd(Q.name,w,O,q)||F))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_property_for_which_to_generate_accessor)};if(!p(Q.name))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Name_is_not_valid)};if((e.getEffectiveModifierFlags(Q)|V)!==V)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_property_with_modifier)};var re=Q.name.text,T=e.startsWithUnderscore(re),N=d(T?re:e.getUniqueName(\"_\".concat(re),w),Q.name),y=d(T?e.getUniqueName(re.substring(1),w):re,Q.name);return{isStatic:e.hasStaticModifier(Q),isReadonly:e.hasEffectiveReadonlyModifier(Q),type:H(Q,x),container:Q.kind===163?Q.parent.parent:Q.parent,originalName:Q.name.text,declaration:Q,fieldName:N,accessorName:y,renameAccessor:T}}n.getAccessorConvertiblePropertyAtPosition=v;function A(w,x,O,q,Z,ne){return e.factory.createGetAccessorDeclaration(void 0,q,x,void 0,O,e.factory.createBlock([e.factory.createReturnStatement(k(w,Z,ne))],!0))}function z(w,x,O,q,Z,ne){return e.factory.createSetAccessorDeclaration(void 0,q,x,[e.factory.createParameterDeclaration(void 0,void 0,void 0,e.factory.createIdentifier(\"value\"),void 0,O)],e.factory.createBlock([e.factory.createExpressionStatement(e.factory.createAssignment(k(w,Z,ne),e.factory.createIdentifier(\"value\")))],!0))}function ie(w,x,O,q,Z,ne){var F=e.factory.updatePropertyDeclaration(O,O.decorators,ne,Z,O.questionToken||O.exclamationToken,q,O.initializer);w.replaceNode(x,O,F)}function b(w,x,O,q){var Z=e.factory.updatePropertyAssignment(O,q,O.initializer);w.replacePropertyAssignment(x,O,Z)}function M(w,x,O,q,Z,ne){e.isPropertyDeclaration(O)?ie(w,x,O,q,Z,ne):e.isPropertyAssignment(O)?b(w,x,O,Z):w.replaceNode(x,O,e.factory.updateParameterDeclaration(O,O.decorators,ne,O.dotDotDotToken,e.cast(Z,e.isIdentifier),O.questionToken,O.type,O.initializer))}function S(w,x,O,q,Z){e.isParameterPropertyDeclaration(q,q.parent)?w.insertNodeAtClassStart(x,Z,O):e.isPropertyAssignment(q)?w.insertNodeAfterComma(x,q,O):w.insertNodeAfter(x,q,O)}function B(w,x,O,q,Z){!O.body||O.body.forEachChild(function ne(F){e.isElementAccessExpression(F)&&F.expression.kind===108&&e.isStringLiteral(F.argumentExpression)&&F.argumentExpression.text===Z&&e.isWriteAccess(F)&&w.replaceNode(x,F.argumentExpression,e.factory.createStringLiteral(q)),e.isPropertyAccessExpression(F)&&F.expression.kind===108&&F.name.text===Z&&e.isWriteAccess(F)&&w.replaceNode(x,F.name,e.factory.createIdentifier(q)),!e.isFunctionLike(F)&&!e.isClassLike(F)&&F.forEachChild(ne)})}function H(w,x){var O=e.getTypeAnnotationNode(w);if(e.isPropertyDeclaration(w)&&O&&w.questionToken){var q=x.getTypeChecker(),Z=q.getTypeFromTypeNode(O);if(!q.isTypeAssignableTo(q.getUndefinedType(),Z)){var ne=e.isUnionTypeNode(O)?O.types:[O];return e.factory.createUnionTypeNode(Gt(Gt([],ne,!0),[e.factory.createKeywordTypeNode(152)],!1))}}return O}function I(w,x){for(var O=[];w;){var q=e.getClassExtendsHeritageElement(w),Z=q&&x.getSymbolAtLocation(q.expression);if(!Z)break;var ne=Z.flags&2097152?x.getAliasedSymbol(Z):Z,F=ne.declarations&&e.find(ne.declarations,e.isClassLike);if(!F)break;O.push(F),w=F}return O}n.getAllSupers=I})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"invalidImportSyntax\";function p(h,v){var A=e.getSourceFileOfNode(v),z=e.getNamespaceDeclarationNode(v),ie=h.program.getCompilerOptions(),b=[];return b.push(a(h,A,v,e.makeImport(z.name,void 0,v.moduleSpecifier,e.getQuotePreference(A,h.preferences)))),e.getEmitModuleKind(ie)===e.ModuleKind.CommonJS&&b.push(a(h,A,v,e.factory.createImportEqualsDeclaration(void 0,void 0,!1,z.name,e.factory.createExternalModuleReference(v.moduleSpecifier)))),b}function a(h,v,A,z){var ie=e.textChanges.ChangeTracker.with(h,function(b){return b.replaceNode(v,A,z)});return n.createCodeFixActionWithoutFixAll(f,ie,[e.Diagnostics.Replace_import_with_0,ie[0].textChanges[0].newText])}n.registerCodeFix({errorCodes:[e.Diagnostics.This_expression_is_not_callable.code,e.Diagnostics.This_expression_is_not_constructable.code],getCodeActions:d});function d(h){var v=h.sourceFile,A=e.Diagnostics.This_expression_is_not_callable.code===h.errorCode?207:208,z=e.findAncestor(e.getTokenAtPosition(v,h.span.start),function(b){return b.kind===A});if(!z)return[];var ie=z.expression;return J(h,ie)}n.registerCodeFix({errorCodes:[e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1.code,e.Diagnostics.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,e.Diagnostics.Type_predicate_0_is_not_assignable_to_1.code,e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_2_index_type_3.code,e.Diagnostics._0_index_type_1_is_not_assignable_to_2_index_type_3.code,e.Diagnostics.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2.code,e.Diagnostics.Property_0_in_type_1_is_not_assignable_to_type_2.code,e.Diagnostics.Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property.code,e.Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1.code],getCodeActions:k});function k(h){var v=h.sourceFile,A=e.findAncestor(e.getTokenAtPosition(v,h.span.start),function(z){return z.getStart()===h.span.start&&z.getEnd()===h.span.start+h.span.length});return A?J(h,A):[]}function J(h,v){var A=h.program.getTypeChecker().getTypeAtLocation(v);if(!(A.symbol&&A.symbol.originatingImport))return[];var z=[],ie=A.symbol.originatingImport;if(e.isImportCall(ie)||e.addRange(z,p(h,ie)),e.isExpression(v)&&!(e.isNamedDeclaration(v.parent)&&v.parent.name===v)){var b=h.sourceFile,M=e.textChanges.ChangeTracker.with(h,function(S){return S.replaceNode(b,v,e.factory.createPropertyAccessExpression(v,\"default\"),{})});z.push(n.createCodeFixActionWithoutFixAll(f,M,e.Diagnostics.Use_synthetic_default_member))}return z}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"strictClassInitialization\",p=\"addMissingPropertyDefiniteAssignmentAssertions\",a=\"addMissingPropertyUndefinedType\",d=\"addMissingPropertyInitializer\",k=[e.Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor.code];n.registerCodeFix({errorCodes:k,getCodeActions:function(B){var H=J(B.sourceFile,B.span.start);if(!!H){var I=[A(B,H),h(B,H)];return e.append(I,ie(B,H)),I}},fixIds:[p,a,d],getAllCodeActions:function(B){return n.codeFixAll(B,k,function(H,I){var w=J(I.file,I.start);if(!!w)switch(B.fixId){case p:v(H,I.file,w);break;case a:z(H,I.file,w);break;case d:var x=B.program.getTypeChecker(),O=M(x,w);if(!O)return;b(H,I.file,w,O);break;default:e.Debug.fail(JSON.stringify(B.fixId))}})}});function J(B,H){var I=e.getTokenAtPosition(B,H);return e.isIdentifier(I)?e.cast(I.parent,e.isPropertyDeclaration):void 0}function h(B,H){var I=e.textChanges.ChangeTracker.with(B,function(w){return v(w,B.sourceFile,H)});return n.createCodeFixAction(f,I,[e.Diagnostics.Add_definite_assignment_assertion_to_property_0,H.getText()],p,e.Diagnostics.Add_definite_assignment_assertions_to_all_uninitialized_properties)}function v(B,H,I){var w=e.factory.updatePropertyDeclaration(I,I.decorators,I.modifiers,I.name,e.factory.createToken(53),I.type,I.initializer);B.replaceNode(H,I,w)}function A(B,H){var I=e.textChanges.ChangeTracker.with(B,function(w){return z(w,B.sourceFile,H)});return n.createCodeFixAction(f,I,[e.Diagnostics.Add_undefined_type_to_property_0,H.name.getText()],a,e.Diagnostics.Add_undefined_type_to_all_uninitialized_properties)}function z(B,H,I){var w=e.factory.createKeywordTypeNode(152),x=I.type,O=e.isUnionTypeNode(x)?x.types.concat(w):[x,w];B.replaceNode(H,x,e.factory.createUnionTypeNode(O))}function ie(B,H){var I=B.program.getTypeChecker(),w=M(I,H);if(!!w){var x=e.textChanges.ChangeTracker.with(B,function(O){return b(O,B.sourceFile,H,w)});return n.createCodeFixAction(f,x,[e.Diagnostics.Add_initializer_to_property_0,H.name.getText()],d,e.Diagnostics.Add_initializers_to_all_uninitialized_properties)}}function b(B,H,I,w){var x=e.factory.updatePropertyDeclaration(I,I.decorators,I.modifiers,I.name,I.questionToken,I.type,w);B.replaceNode(H,I,x)}function M(B,H){return S(B,B.getTypeFromTypeNode(H.type))}function S(B,H){if(H.flags&512)return H===B.getFalseType()||H===B.getFalseType(!0)?e.factory.createFalse():e.factory.createTrue();if(H.isStringLiteral())return e.factory.createStringLiteral(H.value);if(H.isNumberLiteral())return e.factory.createNumericLiteral(H.value);if(H.flags&2048)return e.factory.createBigIntLiteral(H.value);if(H.isUnion())return e.firstDefined(H.types,function(x){return S(B,x)});if(H.isClass()){var I=e.getClassLikeDeclarationOfSymbol(H.symbol);if(!I||e.hasSyntacticModifier(I,128))return;var w=e.getFirstConstructorWithBody(I);return w&&w.parameters.length?void 0:e.factory.createNewExpression(e.factory.createIdentifier(H.symbol.name),void 0,void 0)}else if(B.isArrayLikeType(H))return e.factory.createArrayLiteralExpression()}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"requireInTs\",p=[e.Diagnostics.require_call_may_be_converted_to_an_import.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(J){var h=d(J.sourceFile,J.program,J.span.start);if(!!h){var v=e.textChanges.ChangeTracker.with(J,function(A){return a(A,J.sourceFile,h)});return[n.createCodeFixAction(f,v,e.Diagnostics.Convert_require_to_import,f,e.Diagnostics.Convert_all_require_to_import)]}},fixIds:[f],getAllCodeActions:function(J){return n.codeFixAll(J,p,function(h,v){var A=d(v.file,J.program,v.start);A&&a(h,J.sourceFile,A)})}});function a(J,h,v){var A=v.allowSyntheticDefaults,z=v.defaultImportName,ie=v.namedImports,b=v.statement,M=v.required;J.replaceNode(h,b,z&&!A?e.factory.createImportEqualsDeclaration(void 0,void 0,!1,z,e.factory.createExternalModuleReference(M)):e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,z,ie),M,void 0))}function d(J,h,v){var A=e.getTokenAtPosition(J,v).parent;if(!e.isRequireCall(A,!0))throw e.Debug.failBadSyntaxKind(A);var z=e.cast(A.parent,e.isVariableDeclaration),ie=e.tryCast(z.name,e.isIdentifier),b=e.isObjectBindingPattern(z.name)?k(z.name):void 0;if(ie||b)return{allowSyntheticDefaults:e.getAllowSyntheticDefaultImports(h.getCompilerOptions()),defaultImportName:ie,namedImports:b,statement:e.cast(z.parent.parent,e.isVariableStatement),required:e.first(A.arguments)}}function k(J){for(var h=[],v=0,A=J.elements;v<A.length;v++){var z=A[v];if(!e.isIdentifier(z.name)||z.initializer)return;h.push(e.factory.createImportSpecifier(!1,e.tryCast(z.propertyName,e.isIdentifier),z.name))}if(h.length)return e.factory.createNamedImports(h)}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"useDefaultImport\",p=[e.Diagnostics.Import_may_be_converted_to_a_default_import.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(k){var J=k.sourceFile,h=k.span.start,v=a(J,h);if(!!v){var A=e.textChanges.ChangeTracker.with(k,function(z){return d(z,J,v,k.preferences)});return[n.createCodeFixAction(f,A,e.Diagnostics.Convert_to_default_import,f,e.Diagnostics.Convert_all_to_default_imports)]}},fixIds:[f],getAllCodeActions:function(k){return n.codeFixAll(k,p,function(J,h){var v=a(h.file,h.start);v&&d(J,h.file,v,k.preferences)})}});function a(k,J){var h=e.getTokenAtPosition(k,J);if(!!e.isIdentifier(h)){var v=h.parent;if(e.isImportEqualsDeclaration(v)&&e.isExternalModuleReference(v.moduleReference))return{importNode:v,name:h,moduleSpecifier:v.moduleReference.expression};if(e.isNamespaceImport(v)){var A=v.parent.parent;return{importNode:A,name:h,moduleSpecifier:A.moduleSpecifier}}}}function d(k,J,h,v){k.replaceNode(J,h.importNode,e.makeImport(h.name,void 0,h.moduleSpecifier,e.getQuotePreference(J,v)))}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"useBigintLiteral\",p=[e.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(d){var k=e.textChanges.ChangeTracker.with(d,function(J){return a(J,d.sourceFile,d.span)});if(k.length>0)return[n.createCodeFixAction(f,k,e.Diagnostics.Convert_to_a_bigint_numeric_literal,f,e.Diagnostics.Convert_all_to_bigint_numeric_literals)]},fixIds:[f],getAllCodeActions:function(d){return n.codeFixAll(d,p,function(k,J){return a(k,J.file,J)})}});function a(d,k,J){var h=e.tryCast(e.getTokenAtPosition(k,J.start),e.isNumericLiteral);if(!!h){var v=h.getText(k)+\"n\";d.replaceNode(k,h,e.factory.createBigIntLiteral(v))}}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"fixAddModuleReferTypeMissingTypeof\",p=f,a=[e.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({errorCodes:a,getCodeActions:function(J){var h=J.sourceFile,v=J.span,A=d(h,v.start),z=e.textChanges.ChangeTracker.with(J,function(ie){return k(ie,h,A)});return[n.createCodeFixAction(p,z,e.Diagnostics.Add_missing_typeof,p,e.Diagnostics.Add_missing_typeof)]},fixIds:[p],getAllCodeActions:function(J){return n.codeFixAll(J,a,function(h,v){return k(h,J.sourceFile,d(v.file,v.start))})}});function d(J,h){var v=e.getTokenAtPosition(J,h);return e.Debug.assert(v.kind===100,\"This token should be an ImportKeyword\"),e.Debug.assert(v.parent.kind===199,\"Token parent should be an ImportType\"),v.parent}function k(J,h,v){var A=e.factory.updateImportTypeNode(v,v.argument,v.qualifier,v.typeArguments,!0);J.replaceNode(h,v,A)}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"wrapJsxInFragment\",p=[e.Diagnostics.JSX_expressions_must_have_one_parent_element.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(J){var h=J.sourceFile,v=J.span,A=a(h,v.start);if(!!A){var z=e.textChanges.ChangeTracker.with(J,function(ie){return d(ie,h,A)});return[n.createCodeFixAction(f,z,e.Diagnostics.Wrap_in_JSX_fragment,f,e.Diagnostics.Wrap_all_unparented_JSX_in_JSX_fragment)]}},fixIds:[f],getAllCodeActions:function(J){return n.codeFixAll(J,p,function(h,v){var A=a(J.sourceFile,v.start);!A||d(h,J.sourceFile,A)})}});function a(J,h){var v=e.getTokenAtPosition(J,h),A=v.parent,z=A.parent;if(!(!e.isBinaryExpression(z)&&(z=z.parent,!e.isBinaryExpression(z)))&&!!e.nodeIsMissing(z.operatorToken))return z}function d(J,h,v){var A=k(v);A&&J.replaceNode(h,v,e.factory.createJsxFragment(e.factory.createJsxOpeningFragment(),A,e.factory.createJsxJsxClosingFragment()))}function k(J){for(var h=[],v=J;;)if(e.isBinaryExpression(v)&&e.nodeIsMissing(v.operatorToken)&&v.operatorToken.kind===27){if(h.push(v.left),e.isJsxChild(v.right))return h.push(v.right),h;if(e.isBinaryExpression(v.right)){v=v.right;continue}else return}else return}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"fixConvertToMappedObjectType\",p=f,a=[e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code];n.registerCodeFix({errorCodes:a,getCodeActions:function(h){var v=h.sourceFile,A=h.span,z=d(v,A.start);if(!!z){var ie=e.textChanges.ChangeTracker.with(h,function(M){return J(M,v,z)}),b=e.idText(z.container.name);return[n.createCodeFixAction(p,ie,[e.Diagnostics.Convert_0_to_mapped_object_type,b],p,[e.Diagnostics.Convert_0_to_mapped_object_type,b])]}},fixIds:[p],getAllCodeActions:function(h){return n.codeFixAll(h,a,function(v,A){var z=d(A.file,A.start);z&&J(v,A.file,z)})}});function d(h,v){var A=e.getTokenAtPosition(h,v),z=e.cast(A.parent.parent,e.isIndexSignatureDeclaration);if(!e.isClassDeclaration(z.parent)){var ie=e.isInterfaceDeclaration(z.parent)?z.parent:e.cast(z.parent.parent,e.isTypeAliasDeclaration);return{indexSignature:z,container:ie}}}function k(h,v){return e.factory.createTypeAliasDeclaration(h.decorators,h.modifiers,h.name,h.typeParameters,v)}function J(h,v,A){var z=A.indexSignature,ie=A.container,b=e.isInterfaceDeclaration(ie)?ie.members:ie.type.members,M=b.filter(function(w){return!e.isIndexSignatureDeclaration(w)}),S=e.first(z.parameters),B=e.factory.createTypeParameterDeclaration(e.cast(S.name,e.isIdentifier),S.type),H=e.factory.createMappedTypeNode(e.hasEffectiveReadonlyModifier(z)?e.factory.createModifier(144):void 0,B,void 0,z.questionToken,z.type,void 0),I=e.factory.createIntersectionTypeNode(Gt(Gt(Gt([],e.getAllSuperTypeNodes(ie),!0),[H],!1),M.length?[e.factory.createTypeLiteralNode(M)]:e.emptyArray,!0));h.replaceNode(v,ie,k(ie,I))}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"removeAccidentalCallParentheses\",p=[e.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(a){var d=e.findAncestor(e.getTokenAtPosition(a.sourceFile,a.span.start),e.isCallExpression);if(!!d){var k=e.textChanges.ChangeTracker.with(a,function(J){J.deleteRange(a.sourceFile,{pos:d.expression.end,end:d.end})});return[n.createCodeFixActionWithoutFixAll(f,k,e.Diagnostics.Remove_parentheses)]}},fixIds:[f]})})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"removeUnnecessaryAwait\",p=[e.Diagnostics.await_has_no_effect_on_the_type_of_this_expression.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(d){var k=e.textChanges.ChangeTracker.with(d,function(J){return a(J,d.sourceFile,d.span)});if(k.length>0)return[n.createCodeFixAction(f,k,e.Diagnostics.Remove_unnecessary_await,f,e.Diagnostics.Remove_all_unnecessary_uses_of_await)]},fixIds:[f],getAllCodeActions:function(d){return n.codeFixAll(d,p,function(k,J){return a(k,J.file,J)})}});function a(d,k,J){var h=e.tryCast(e.getTokenAtPosition(k,J.start),function(M){return M.kind===132}),v=h&&e.tryCast(h.parent,e.isAwaitExpression);if(!!v){var A=v,z=e.isParenthesizedExpression(v.parent);if(z){var ie=e.getLeftmostExpression(v.expression,!1);if(e.isIdentifier(ie)){var b=e.findPrecedingToken(v.parent.pos,k);b&&b.kind!==103&&(A=v.parent)}}d.replaceNode(k,A,v.expression)}}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=[e.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code],p=\"splitTypeOnlyImport\";n.registerCodeFix({errorCodes:f,fixIds:[p],getCodeActions:function(k){var J=e.textChanges.ChangeTracker.with(k,function(h){return d(h,a(k.sourceFile,k.span),k)});if(J.length)return[n.createCodeFixAction(p,J,e.Diagnostics.Split_into_two_separate_import_declarations,p,e.Diagnostics.Split_all_invalid_type_only_imports)]},getAllCodeActions:function(k){return n.codeFixAll(k,f,function(J,h){d(J,a(k.sourceFile,h),k)})}});function a(k,J){return e.findAncestor(e.getTokenAtPosition(k,J.start),e.isImportDeclaration)}function d(k,J,h){if(!!J){var v=e.Debug.checkDefined(J.importClause);k.replaceNode(h.sourceFile,J,e.factory.updateImportDeclaration(J,J.decorators,J.modifiers,e.factory.updateImportClause(v,v.isTypeOnly,v.name,void 0),J.moduleSpecifier,J.assertClause)),k.insertNodeAfter(h.sourceFile,J,e.factory.createImportDeclaration(void 0,void 0,e.factory.updateImportClause(v,v.isTypeOnly,void 0,v.namedBindings),J.moduleSpecifier,J.assertClause))}}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"fixConvertConstToLet\",p=[e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code];n.registerCodeFix({errorCodes:p,getCodeActions:function(k){var J=k.sourceFile,h=k.span,v=k.program,A=a(J,h.start,v);if(A!==void 0){var z=e.textChanges.ChangeTracker.with(k,function(ie){return d(ie,J,A)});return[n.createCodeFixAction(f,z,e.Diagnostics.Convert_const_to_let,f,e.Diagnostics.Convert_const_to_let)]}},fixIds:[f]});function a(k,J,h){var v,A=h.getTypeChecker(),z=A.getSymbolAtLocation(e.getTokenAtPosition(k,J)),ie=e.tryCast((v=z==null?void 0:z.valueDeclaration)===null||v===void 0?void 0:v.parent,e.isVariableDeclarationList);if(ie!==void 0){var b=e.findChildOfKind(ie,85,k);if(b!==void 0)return e.createRange(b.pos,b.end)}}function d(k,J,h){k.replaceRangeWithText(J,h,\"let\")}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"fixExpectedComma\",p=e.Diagnostics._0_expected.code,a=[p];n.registerCodeFix({errorCodes:a,getCodeActions:function(J){var h=J.sourceFile,v=d(h,J.span.start,J.errorCode);if(!!v){var A=e.textChanges.ChangeTracker.with(J,function(z){return k(z,h,v)});return[n.createCodeFixAction(f,A,[e.Diagnostics.Change_0_to_1,\";\",\",\"],f,[e.Diagnostics.Change_0_to_1,\";\",\",\"])]}},fixIds:[f],getAllCodeActions:function(J){return n.codeFixAll(J,a,function(h,v){var A=d(v.file,v.start,v.code);A&&k(h,J.sourceFile,A)})}});function d(J,h,v){var A=e.getTokenAtPosition(J,h);return A.kind===26&&A.parent&&(e.isObjectLiteralExpression(A.parent)||e.isArrayLiteralExpression(A.parent))?{node:A}:void 0}function k(J,h,v){var A=v.node,z=e.factory.createToken(27);J.replaceNode(h,A,z)}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"addVoidToPromise\",p=\"addVoidToPromise\",a=[e.Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code];n.registerCodeFix({errorCodes:a,fixIds:[p],getCodeActions:function(J){var h=e.textChanges.ChangeTracker.with(J,function(v){return d(v,J.sourceFile,J.span,J.program)});if(h.length>0)return[n.createCodeFixAction(f,h,e.Diagnostics.Add_void_to_Promise_resolved_without_a_value,p,e.Diagnostics.Add_void_to_all_Promises_resolved_without_a_value)]},getAllCodeActions:function(J){return n.codeFixAll(J,a,function(h,v){return d(h,v.file,v,J.program,new e.Set)})}});function d(J,h,v,A,z){var ie=e.getTokenAtPosition(h,v.start);if(!(!e.isIdentifier(ie)||!e.isCallExpression(ie.parent)||ie.parent.expression!==ie||ie.parent.arguments.length!==0)){var b=A.getTypeChecker(),M=b.getSymbolAtLocation(ie),S=M==null?void 0:M.valueDeclaration;if(!(!S||!e.isParameter(S)||!e.isNewExpression(S.parent.parent))&&!(z!=null&&z.has(S))){z==null||z.add(S);var B=k(S.parent.parent);if(e.some(B)){var H=B[0],I=!e.isUnionTypeNode(H)&&!e.isParenthesizedTypeNode(H)&&e.isParenthesizedTypeNode(e.factory.createUnionTypeNode([H,e.factory.createKeywordTypeNode(114)]).types[0]);I&&J.insertText(h,H.pos,\"(\"),J.insertText(h,H.end,I?\") | void\":\" | void\")}else{var w=b.getResolvedSignature(ie.parent),x=w==null?void 0:w.parameters[0],O=x&&b.getTypeOfSymbolAtLocation(x,S.parent.parent);e.isInJSFile(S)?(!O||O.flags&3)&&(J.insertText(h,S.parent.parent.end,\")\"),J.insertText(h,e.skipTrivia(h.text,S.parent.parent.pos),\"/** @type {Promise<void>} */(\")):(!O||O.flags&2)&&J.insertText(h,S.parent.parent.expression.end,\"<void>\")}}}}function k(J){var h;if(e.isInJSFile(J)){if(e.isParenthesizedExpression(J.parent)){var v=(h=e.getJSDocTypeTag(J.parent))===null||h===void 0?void 0:h.typeExpression.type;if(v&&e.isTypeReferenceNode(v)&&e.isIdentifier(v.typeName)&&e.idText(v.typeName)===\"Promise\")return v.typeArguments}}else return J.typeArguments}})(e.codefix||(e.codefix={}))}(jr||(jr={})),function(e){(function(n){var f=\"Convert export\",p={name:\"Convert default export to named export\",description:e.Diagnostics.Convert_default_export_to_named_export.message,kind:\"refactor.rewrite.export.named\"},a={name:\"Convert named export to default export\",description:e.Diagnostics.Convert_named_export_to_default_export.message,kind:\"refactor.rewrite.export.default\"};n.registerRefactor(f,{kinds:[p.kind,a.kind],getAvailableActions:function(b){var M=d(b,b.triggerReason===\"invoked\");if(!M)return e.emptyArray;if(!n.isRefactorErrorInfo(M)){var S=M.wasDefault?p:a;return[{name:f,description:S.description,actions:[S]}]}return b.preferences.provideRefactorNotApplicableReason?[{name:f,description:e.Diagnostics.Convert_default_export_to_named_export.message,actions:[Rn(Rn({},p),{notApplicableReason:M.error}),Rn(Rn({},a),{notApplicableReason:M.error})]}]:e.emptyArray},getEditsForAction:function(b,M){e.Debug.assert(M===p.name||M===a.name,\"Unexpected action name\");var S=d(b);e.Debug.assert(S&&!n.isRefactorErrorInfo(S),\"Expected applicable refactor info\");var B=e.textChanges.ChangeTracker.with(b,function(H){return k(b.file,b.program,S,H,b.cancellationToken)});return{edits:B,renameFilename:void 0,renameLocation:void 0}}});function d(b,M){M===void 0&&(M=!0);var S=b.file,B=b.program,H=e.getRefactorContextSpan(b),I=e.getTokenAtPosition(S,H.start),w=!!(I.parent&&e.getSyntacticModifierFlags(I.parent)&1)&&M?I.parent:e.getParentNodeInSpan(I,S,H);if(!w||!e.isSourceFile(w.parent)&&!(e.isModuleBlock(w.parent)&&e.isAmbientModule(w.parent.parent)))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_export_statement)};var x=e.isSourceFile(w.parent)?w.parent.symbol:w.parent.parent.symbol,O=e.getSyntacticModifierFlags(w)||(e.isExportAssignment(w)&&!w.isExportEquals?513:0),q=!!(O&512);if(!(O&1)||!q&&x.exports.has(\"default\"))return{error:e.getLocaleSpecificMessage(e.Diagnostics.This_file_already_has_a_default_export)};var Z=B.getTypeChecker(),ne=function(re){return e.isIdentifier(re)&&Z.getSymbolAtLocation(re)?void 0:{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_named_export)}};switch(w.kind){case 255:case 256:case 257:case 259:case 258:case 260:{var F=w;return F.name?ne(F.name)||{exportNode:F,exportName:F.name,wasDefault:q,exportingModuleSymbol:x}:void 0}case 236:{var Q=w;if(!(Q.declarationList.flags&2)||Q.declarationList.declarations.length!==1)return;var V=e.first(Q.declarationList.declarations);return V.initializer?(e.Debug.assert(!q,\"Can't have a default flag here\"),ne(V.name)||{exportNode:Q,exportName:V.name,wasDefault:q,exportingModuleSymbol:x}):void 0}case 270:{var F=w;return F.isExportEquals?void 0:ne(F.expression)||{exportNode:F,exportName:F.expression,wasDefault:q,exportingModuleSymbol:x}}default:return}}function k(b,M,S,B,H){J(b,S,B,M.getTypeChecker()),h(M,S,B,H)}function J(b,M,S,B){var H=M.wasDefault,I=M.exportNode,w=M.exportName;if(H)if(e.isExportAssignment(I)&&!I.isExportEquals){var x=I.expression,O=ie(x.text,x.text);S.replaceNode(b,I,e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([O])))}else S.delete(b,e.Debug.checkDefined(e.findModifier(I,88),\"Should find a default keyword in modifier list\"));else{var q=e.Debug.checkDefined(e.findModifier(I,93),\"Should find an export keyword in modifier list\");switch(I.kind){case 255:case 256:case 257:S.insertNodeAfter(b,q,e.factory.createToken(88));break;case 236:var Z=e.first(I.declarationList.declarations);if(!e.FindAllReferences.Core.isSymbolReferencedInFile(w,B,b)&&!Z.type){S.replaceNode(b,I,e.factory.createExportDefault(e.Debug.checkDefined(Z.initializer,\"Initializer was previously known to be present\")));break}case 259:case 258:case 260:S.deleteModifier(b,q),S.insertNodeAfter(b,I,e.factory.createExportDefault(e.factory.createIdentifier(w.text)));break;default:e.Debug.fail(\"Unexpected exportNode kind \".concat(I.kind))}}}function h(b,M,S,B){var H=M.wasDefault,I=M.exportName,w=M.exportingModuleSymbol,x=b.getTypeChecker(),O=e.Debug.checkDefined(x.getSymbolAtLocation(I),\"Export name should resolve to a symbol\");e.FindAllReferences.Core.eachExportReference(b.getSourceFiles(),x,B,O,w,I.text,H,function(q){var Z=q.getSourceFile();H?v(Z,q,S,I.text):A(Z,q,S)})}function v(b,M,S,B){var H=M.parent;switch(H.kind){case 205:S.replaceNode(b,M,e.factory.createIdentifier(B));break;case 269:case 274:{var I=H;S.replaceNode(b,I,z(B,I.name.text));break}case 266:{var w=H;e.Debug.assert(w.name===M,\"Import clause name should match provided ref\");var I=z(B,M.text),x=w.namedBindings;if(!x)S.replaceNode(b,M,e.factory.createNamedImports([I]));else if(x.kind===267){S.deleteRange(b,{pos:M.getStart(b),end:x.getStart(b)});var O=e.isStringLiteral(w.parent.moduleSpecifier)?e.quotePreferenceFromString(w.parent.moduleSpecifier,b):1,q=e.makeImport(void 0,[z(B,M.text)],w.parent.moduleSpecifier,O);S.insertNodeAfter(b,w.parent,q)}else S.delete(b,M),S.insertNodeAtEndOfList(b,x.elements,I);break}default:e.Debug.failBadSyntaxKind(H)}}function A(b,M,S){var B=M.parent;switch(B.kind){case 205:S.replaceNode(b,M,e.factory.createIdentifier(\"default\"));break;case 269:{var H=e.factory.createIdentifier(B.name.text);B.parent.elements.length===1?S.replaceNode(b,B.parent,H):(S.delete(b,B),S.insertNodeBefore(b,B.parent,H));break}case 274:{S.replaceNode(b,B,ie(\"default\",B.name.text));break}default:e.Debug.assertNever(B,\"Unexpected parent kind \".concat(B.kind))}}function z(b,M){return e.factory.createImportSpecifier(!1,b===M?void 0:e.factory.createIdentifier(b),e.factory.createIdentifier(M))}function ie(b,M){return e.factory.createExportSpecifier(!1,b===M?void 0:e.factory.createIdentifier(b),e.factory.createIdentifier(M))}})(e.refactor||(e.refactor={}))}(jr||(jr={})),function(e){(function(n){var f=\"Convert import\",p={name:\"Convert namespace import to named imports\",description:e.Diagnostics.Convert_namespace_import_to_named_imports.message,kind:\"refactor.rewrite.import.named\"},a={name:\"Convert named imports to namespace import\",description:e.Diagnostics.Convert_named_imports_to_namespace_import.message,kind:\"refactor.rewrite.import.namespace\"};n.registerRefactor(f,{kinds:[p.kind,a.kind],getAvailableActions:function(ie){var b=d(ie,ie.triggerReason===\"invoked\");if(!b)return e.emptyArray;if(!n.isRefactorErrorInfo(b)){var M=b.kind===267,S=M?p:a;return[{name:f,description:S.description,actions:[S]}]}return ie.preferences.provideRefactorNotApplicableReason?[{name:f,description:p.description,actions:[Rn(Rn({},p),{notApplicableReason:b.error})]},{name:f,description:a.description,actions:[Rn(Rn({},a),{notApplicableReason:b.error})]}]:e.emptyArray},getEditsForAction:function(ie,b){e.Debug.assert(b===p.name||b===a.name,\"Unexpected action name\");var M=d(ie);e.Debug.assert(M&&!n.isRefactorErrorInfo(M),\"Expected applicable refactor info\");var S=e.textChanges.ChangeTracker.with(ie,function(B){return k(ie.file,ie.program,B,M)});return{edits:S,renameFilename:void 0,renameLocation:void 0}}});function d(ie,b){b===void 0&&(b=!0);var M=ie.file,S=e.getRefactorContextSpan(ie),B=e.getTokenAtPosition(M,S.start),H=b?e.findAncestor(B,e.isImportDeclaration):e.getParentNodeInSpan(B,M,S);if(!H||!e.isImportDeclaration(H))return{error:\"Selection is not an import declaration.\"};var I=S.start+S.length,w=e.findNextToken(H,H.parent,M);if(!(w&&I>w.getStart())){var x=H.importClause;return x?x.namedBindings?x.namedBindings:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_namespace_import_or_named_imports)}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_import_clause)}}}function k(ie,b,M,S){var B=b.getTypeChecker();S.kind===267?J(ie,B,M,S,e.getAllowSyntheticDefaultImports(b.getCompilerOptions())):A(ie,B,M,S)}function J(ie,b,M,S,B){var H=!1,I=[],w=new e.Map;e.FindAllReferences.Core.eachSymbolReferenceInFile(S.name,b,ie,function(re){if(!e.isPropertyAccessOrQualifiedName(re.parent))H=!0;else{var T=h(re.parent).text;b.resolveName(T,re,67108863,!0)&&w.set(T,!0),e.Debug.assert(v(re.parent)===re,\"Parent expression should match id\"),I.push(re.parent)}});for(var x=new e.Map,O=0,q=I;O<q.length;O++){var Z=q[O],ne=h(Z).text,F=x.get(ne);F===void 0&&x.set(ne,F=w.has(ne)?e.getUniqueName(ne,ie):ne),M.replaceNode(ie,Z,e.factory.createIdentifier(F))}var Q=[];x.forEach(function(re,T){Q.push(e.factory.createImportSpecifier(!1,re===T?void 0:e.factory.createIdentifier(T),e.factory.createIdentifier(re)))});var V=S.parent.parent;H&&!B?M.insertNodeAfter(ie,V,z(V,void 0,Q)):M.replaceNode(ie,V,z(V,H?e.factory.createIdentifier(S.name.text):void 0,Q))}function h(ie){return e.isPropertyAccessExpression(ie)?ie.name:ie.right}function v(ie){return e.isPropertyAccessExpression(ie)?ie.expression:ie.left}function A(ie,b,M,S){var B=S.parent.parent,H=B.moduleSpecifier,I=new e.Set;S.elements.forEach(function(T){var N=b.getSymbolAtLocation(T.name);N&&I.add(N)});var w=H&&e.isStringLiteral(H)?e.codefix.moduleSpecifierToValidIdentifier(H.text,99):\"module\";function x(T){return!!e.FindAllReferences.Core.eachSymbolReferenceInFile(T.name,b,ie,function(N){var y=b.resolveName(w,N,67108863,!0);return y?I.has(y)?e.isExportSpecifier(N.parent):!0:!1})}for(var O=S.elements.some(x),q=O?e.getUniqueName(w,ie):w,Z=new e.Set,ne=function(T){var N=(T.propertyName||T.name).text;e.FindAllReferences.Core.eachSymbolReferenceInFile(T.name,b,ie,function(y){var D=e.factory.createPropertyAccessExpression(e.factory.createIdentifier(q),N);e.isShorthandPropertyAssignment(y.parent)?M.replaceNode(ie,y.parent,e.factory.createPropertyAssignment(y.text,D)):e.isExportSpecifier(y.parent)?Z.add(T):M.replaceNode(ie,y,D)})},F=0,Q=S.elements;F<Q.length;F++){var V=Q[F];ne(V)}if(M.replaceNode(ie,S,e.factory.createNamespaceImport(e.factory.createIdentifier(q))),Z.size){var re=e.arrayFrom(Z.values()).map(function(T){return e.factory.createImportSpecifier(T.isTypeOnly,T.propertyName&&e.factory.createIdentifier(T.propertyName.text),e.factory.createIdentifier(T.name.text))});M.insertNodeAfter(ie,S.parent.parent,z(B,void 0,re))}}function z(ie,b,M){return e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,b,M&&M.length?e.factory.createNamedImports(M):void 0),ie.moduleSpecifier,void 0)}})(e.refactor||(e.refactor={}))}(jr||(jr={})),function(e){(function(n){(function(f){var p=\"Convert to optional chain expression\",a=e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_optional_chain_expression),d={name:p,description:a,kind:\"refactor.rewrite.expression.optionalChain\"};n.registerRefactor(p,{kinds:[d.kind],getAvailableActions:k,getEditsForAction:J});function k(ne){var F=z(ne,ne.triggerReason===\"invoked\");return F?n.isRefactorErrorInfo(F)?ne.preferences.provideRefactorNotApplicableReason?[{name:p,description:a,actions:[Rn(Rn({},d),{notApplicableReason:F.error})]}]:e.emptyArray:[{name:p,description:a,actions:[d]}]:e.emptyArray}function J(ne,F){var Q=z(ne);e.Debug.assert(Q&&!n.isRefactorErrorInfo(Q),\"Expected applicable refactor info\");var V=e.textChanges.ChangeTracker.with(ne,function(re){return Z(ne.file,ne.program.getTypeChecker(),re,Q)});return{edits:V,renameFilename:void 0,renameLocation:void 0}}function h(ne){return e.isBinaryExpression(ne)||e.isConditionalExpression(ne)}function v(ne){return e.isExpressionStatement(ne)||e.isReturnStatement(ne)||e.isVariableStatement(ne)}function A(ne){return h(ne)||v(ne)}function z(ne,F){F===void 0&&(F=!0);var Q=ne.file,V=ne.program,re=e.getRefactorContextSpan(ne),T=re.length===0;if(!(T&&!F)){var N=e.getTokenAtPosition(Q,re.start),y=e.findTokenOnLeftOfPosition(Q,re.start+re.length),D=e.createTextSpanFromBounds(N.pos,y&&y.end>=N.pos?y.getEnd():N.getEnd()),C=T?w(N):I(N,D),m=C&&A(C)?x(C):void 0;if(!m)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};var u=V.getTypeChecker();return e.isConditionalExpression(m)?ie(m,u):b(m)}}function ie(ne,F){var Q=ne.condition,V=O(ne.whenTrue);if(!V||F.isNullableType(F.getTypeAtLocation(V)))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};if((e.isPropertyAccessExpression(Q)||e.isIdentifier(Q))&&S(Q,V.expression))return{finalExpression:V,occurrences:[Q],expression:ne};if(e.isBinaryExpression(Q)){var re=M(V.expression,Q);return re?{finalExpression:V,occurrences:re,expression:ne}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_matching_access_expressions)}}}function b(ne){if(ne.operatorToken.kind!==55)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_logical_AND_access_chains)};var F=O(ne.right);if(!F)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};var Q=M(F.expression,ne.left);return Q?{finalExpression:F,occurrences:Q,expression:ne}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_matching_access_expressions)}}function M(ne,F){for(var Q=[];e.isBinaryExpression(F)&&F.operatorToken.kind===55;){var V=S(e.skipParentheses(ne),e.skipParentheses(F.right));if(!V)break;Q.push(V),ne=V,F=F.left}var re=S(ne,F);return re&&Q.push(re),Q.length>0?Q:void 0}function S(ne,F){if(!(!e.isIdentifier(F)&&!e.isPropertyAccessExpression(F)&&!e.isElementAccessExpression(F)))return B(ne,F)?F:void 0}function B(ne,F){for(;(e.isCallExpression(ne)||e.isPropertyAccessExpression(ne)||e.isElementAccessExpression(ne))&&H(ne)!==H(F);)ne=ne.expression;for(;e.isPropertyAccessExpression(ne)&&e.isPropertyAccessExpression(F)||e.isElementAccessExpression(ne)&&e.isElementAccessExpression(F);){if(H(ne)!==H(F))return!1;ne=ne.expression,F=F.expression}return e.isIdentifier(ne)&&e.isIdentifier(F)&&ne.getText()===F.getText()}function H(ne){if(e.isIdentifier(ne)||e.isStringOrNumericLiteralLike(ne))return ne.getText();if(e.isPropertyAccessExpression(ne))return H(ne.name);if(e.isElementAccessExpression(ne))return H(ne.argumentExpression)}function I(ne,F){for(;ne.parent;){if(A(ne)&&F.length!==0&&ne.end>=F.start+F.length)return ne;ne=ne.parent}}function w(ne){for(;ne.parent;){if(A(ne)&&!A(ne.parent))return ne;ne=ne.parent}}function x(ne){if(h(ne))return ne;if(e.isVariableStatement(ne)){var F=e.getSingleVariableOfVariableStatement(ne),Q=F==null?void 0:F.initializer;return Q&&h(Q)?Q:void 0}return ne.expression&&h(ne.expression)?ne.expression:void 0}function O(ne){if(ne=e.skipParentheses(ne),e.isBinaryExpression(ne))return O(ne.left);if((e.isPropertyAccessExpression(ne)||e.isElementAccessExpression(ne)||e.isCallExpression(ne))&&!e.isOptionalChain(ne))return ne}function q(ne,F,Q){if(e.isPropertyAccessExpression(F)||e.isElementAccessExpression(F)||e.isCallExpression(F)){var V=q(ne,F.expression,Q),re=Q.length>0?Q[Q.length-1]:void 0,T=(re==null?void 0:re.getText())===F.expression.getText();if(T&&Q.pop(),e.isCallExpression(F))return T?e.factory.createCallChain(V,e.factory.createToken(28),F.typeArguments,F.arguments):e.factory.createCallChain(V,F.questionDotToken,F.typeArguments,F.arguments);if(e.isPropertyAccessExpression(F))return T?e.factory.createPropertyAccessChain(V,e.factory.createToken(28),F.name):e.factory.createPropertyAccessChain(V,F.questionDotToken,F.name);if(e.isElementAccessExpression(F))return T?e.factory.createElementAccessChain(V,e.factory.createToken(28),F.argumentExpression):e.factory.createElementAccessChain(V,F.questionDotToken,F.argumentExpression)}return F}function Z(ne,F,Q,V,re){var T=V.finalExpression,N=V.occurrences,y=V.expression,D=N[N.length-1],C=q(F,T,N);C&&(e.isPropertyAccessExpression(C)||e.isElementAccessExpression(C)||e.isCallExpression(C))&&(e.isBinaryExpression(y)?Q.replaceNodeRange(ne,D,T,C):e.isConditionalExpression(y)&&Q.replaceNode(ne,y,e.factory.createBinaryExpression(C,e.factory.createToken(60),y.whenFalse)))}})(n.convertToOptionalChainExpression||(n.convertToOptionalChainExpression={}))})(e.refactor||(e.refactor={}))}(jr||(jr={})),function(e){(function(n){(function(f){var p=\"Convert overload list to single signature\",a=e.Diagnostics.Convert_overload_list_to_single_signature.message,d={name:p,description:a,kind:\"refactor.rewrite.function.overloadList\"};n.registerRefactor(p,{kinds:[d.kind],getEditsForAction:J,getAvailableActions:k});function k(A){var z=A.file,ie=A.startPosition,b=A.program,M=v(z,ie,b);return M?[{name:p,description:a,actions:[d]}]:e.emptyArray}function J(A){var z=A.file,ie=A.startPosition,b=A.program,M=v(z,ie,b);if(!M)return;var S=b.getTypeChecker(),B=M[M.length-1],H=B;switch(B.kind){case 167:{H=e.factory.updateMethodSignature(B,B.modifiers,B.name,B.questionToken,B.typeParameters,w(M),B.type);break}case 168:{H=e.factory.updateMethodDeclaration(B,B.decorators,B.modifiers,B.asteriskToken,B.name,B.questionToken,B.typeParameters,w(M),B.type,B.body);break}case 173:{H=e.factory.updateCallSignature(B,B.typeParameters,w(M),B.type);break}case 170:{H=e.factory.updateConstructorDeclaration(B,B.decorators,B.modifiers,w(M),B.body);break}case 174:{H=e.factory.updateConstructSignature(B,B.typeParameters,w(M),B.type);break}case 255:{H=e.factory.updateFunctionDeclaration(B,B.decorators,B.modifiers,B.asteriskToken,B.name,B.typeParameters,w(M),B.type,B.body);break}default:return e.Debug.failBadSyntaxKind(B,\"Unhandled signature kind in overload list conversion refactoring\")}if(H===B)return;var I=e.textChanges.ChangeTracker.with(A,function(q){q.replaceNodeRange(z,M[0],M[M.length-1],H)});return{renameFilename:void 0,renameLocation:void 0,edits:I};function w(q){var Z=q[q.length-1];return e.isFunctionLikeDeclaration(Z)&&Z.body&&(q=q.slice(0,q.length-1)),e.factory.createNodeArray([e.factory.createParameterDeclaration(void 0,void 0,e.factory.createToken(25),\"args\",void 0,e.factory.createUnionTypeNode(e.map(q,x)))])}function x(q){var Z=e.map(q.parameters,O);return e.setEmitFlags(e.factory.createTupleTypeNode(Z),e.some(Z,function(ne){return!!e.length(e.getSyntheticLeadingComments(ne))})?0:1)}function O(q){e.Debug.assert(e.isIdentifier(q.name));var Z=e.setTextRange(e.factory.createNamedTupleMember(q.dotDotDotToken,q.name,q.questionToken,q.type||e.factory.createKeywordTypeNode(130)),q),ne=q.symbol&&q.symbol.getDocumentationComment(S);if(ne){var F=e.displayPartsToString(ne);F.length&&e.setSyntheticLeadingComments(Z,[{text:`*\n`.concat(F.split(`\n`).map(function(Q){return\" * \".concat(Q)}).join(`\n`),`\n `),kind:3,pos:-1,end:-1,hasTrailingNewLine:!0,hasLeadingNewline:!0}])}return Z}}function h(A){switch(A.kind){case 167:case 168:case 173:case 170:case 174:case 255:return!0}return!1}function v(A,z,ie){var b=e.getTokenAtPosition(A,z),M=e.findAncestor(b,h);if(!!M){var S=ie.getTypeChecker(),B=M.symbol;if(!!B){var H=B.declarations;if(!(e.length(H)<=1)&&!!e.every(H,function(q){return e.getSourceFileOfNode(q)===A})&&!!h(H[0])){var I=H[0].kind;if(!!e.every(H,function(q){return q.kind===I})){var w=H;if(!e.some(w,function(q){return!!q.typeParameters||e.some(q.parameters,function(Z){return!!Z.decorators||!!Z.modifiers||!e.isIdentifier(Z.name)})})){var x=e.mapDefined(w,function(q){return S.getSignatureFromDeclaration(q)});if(e.length(x)===e.length(H)){var O=S.getReturnTypeOfSignature(x[0]);if(!!e.every(x,function(q){return S.getReturnTypeOfSignature(q)===O}))return w}}}}}}}})(n.addOrRemoveBracesToArrowFunction||(n.addOrRemoveBracesToArrowFunction={}))})(e.refactor||(e.refactor={}))}(jr||(jr={})),function(e){(function(n){(function(f){var p=\"Extract Symbol\",a={name:\"Extract Constant\",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_constant),kind:\"refactor.extract.constant\"},d={name:\"Extract Function\",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_function),kind:\"refactor.extract.function\"};n.registerRefactor(p,{kinds:[a.kind,d.kind],getAvailableActions:k,getEditsForAction:J});function k(U){var K=U.kind,Te=A(U.file,e.getRefactorContextSpan(U),U.triggerReason===\"invoked\"),ge=Te.targetRange;if(ge===void 0){if(!Te.errors||Te.errors.length===0||!U.preferences.provideRefactorNotApplicableReason)return e.emptyArray;var ke=[];return n.refactorKindBeginsWith(d.kind,K)&&ke.push({name:p,description:d.description,actions:[Rn(Rn({},d),{notApplicableReason:Ar(Te.errors)})]}),n.refactorKindBeginsWith(a.kind,K)&&ke.push({name:p,description:a.description,actions:[Rn(Rn({},a),{notApplicableReason:Ar(Te.errors)})]}),ke}var Pe=H(ge,U);if(Pe===void 0)return e.emptyArray;for(var Ie=[],Ge=new e.Map,he,ve=[],Ve=new e.Map,_e,Le=0,qe=0,Xe=Pe;qe<Xe.length;qe++){var De=Xe[qe],Ae=De.functionExtraction,Ye=De.constantExtraction,Dr=Ae.description;if(n.refactorKindBeginsWith(d.kind,K)&&(Ae.errors.length===0?Ge.has(Dr)||(Ge.set(Dr,!0),Ie.push({description:Dr,name:\"function_scope_\".concat(Le),kind:d.kind})):he||(he={description:Dr,name:\"function_scope_\".concat(Le),notApplicableReason:Ar(Ae.errors),kind:d.kind})),n.refactorKindBeginsWith(a.kind,K))if(Ye.errors.length===0){var br=Ye.description;Ve.has(br)||(Ve.set(br,!0),ve.push({description:br,name:\"constant_scope_\".concat(Le),kind:a.kind}))}else _e||(_e={description:Dr,name:\"constant_scope_\".concat(Le),notApplicableReason:Ar(Ye.errors),kind:a.kind});Le++}var lr=[];return Ie.length?lr.push({name:p,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_function),actions:Ie}):U.preferences.provideRefactorNotApplicableReason&&he&&lr.push({name:p,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_function),actions:[he]}),ve.length?lr.push({name:p,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_constant),actions:ve}):U.preferences.provideRefactorNotApplicableReason&&_e&&lr.push({name:p,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_constant),actions:[_e]}),lr.length?lr:e.emptyArray;function Ar(kr){var Ke=kr[0].messageText;return typeof Ke!=\"string\"&&(Ke=Ke.messageText),Ke}}f.getAvailableActions=k;function J(U,K){var Te=A(U.file,e.getRefactorContextSpan(U)),ge=Te.targetRange,ke=/^function_scope_(\\d+)$/.exec(K);if(ke){var Pe=+ke[1];return e.Debug.assert(isFinite(Pe),\"Expected to parse a finite number from the function scope index\"),S(ge,U,Pe)}var Ie=/^constant_scope_(\\d+)$/.exec(K);if(Ie){var Pe=+Ie[1];return e.Debug.assert(isFinite(Pe),\"Expected to parse a finite number from the constant scope index\"),B(ge,U,Pe)}e.Debug.fail(\"Unrecognized action name\")}f.getEditsForAction=J;var h;(function(U){function K(Te){return{message:Te,code:0,category:e.DiagnosticCategory.Message,key:Te}}U.cannotExtractRange=K(\"Cannot extract range.\"),U.cannotExtractImport=K(\"Cannot extract import statement.\"),U.cannotExtractSuper=K(\"Cannot extract super call.\"),U.cannotExtractJSDoc=K(\"Cannot extract JSDoc.\"),U.cannotExtractEmpty=K(\"Cannot extract empty range.\"),U.expressionExpected=K(\"expression expected.\"),U.uselessConstantType=K(\"No reason to extract constant of type.\"),U.statementOrExpressionExpected=K(\"Statement or expression expected.\"),U.cannotExtractRangeContainingConditionalBreakOrContinueStatements=K(\"Cannot extract range containing conditional break or continue statements.\"),U.cannotExtractRangeContainingConditionalReturnStatement=K(\"Cannot extract range containing conditional return statement.\"),U.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange=K(\"Cannot extract range containing labeled break or continue with target outside of the range.\"),U.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators=K(\"Cannot extract range containing writes to references located outside of the target range in generators.\"),U.typeWillNotBeVisibleInTheNewScope=K(\"Type will not visible in the new scope.\"),U.functionWillNotBeVisibleInTheNewScope=K(\"Function will not visible in the new scope.\"),U.cannotExtractIdentifier=K(\"Select more than a single identifier.\"),U.cannotExtractExportedEntity=K(\"Cannot extract exported declaration\"),U.cannotWriteInExpression=K(\"Cannot write back side-effects when extracting an expression\"),U.cannotExtractReadonlyPropertyInitializerOutsideConstructor=K(\"Cannot move initialization of read-only class property outside of the constructor\"),U.cannotExtractAmbientBlock=K(\"Cannot extract code from ambient contexts\"),U.cannotAccessVariablesFromNestedScopes=K(\"Cannot access variables from nested scopes\"),U.cannotExtractToJSClass=K(\"Cannot extract constant to a class scope in JS\"),U.cannotExtractToExpressionArrowFunction=K(\"Cannot extract constant to an arrow function without a block\")})(h=f.Messages||(f.Messages={}));var v;(function(U){U[U.None=0]=\"None\",U[U.HasReturn=1]=\"HasReturn\",U[U.IsGenerator=2]=\"IsGenerator\",U[U.IsAsyncFunction=4]=\"IsAsyncFunction\",U[U.UsesThis=8]=\"UsesThis\",U[U.InStaticRegion=16]=\"InStaticRegion\"})(v||(v={}));function A(U,K,Te){Te===void 0&&(Te=!0);var ge=K.length;if(ge===0&&!Te)return{errors:[e.createFileDiagnostic(U,K.start,ge,h.cannotExtractEmpty)]};var ke=ge===0&&Te,Pe=e.findFirstNonJsxWhitespaceToken(U,K.start),Ie=e.findTokenOnLeftOfPosition(U,e.textSpanEnd(K)),Ge=Pe&&Ie&&Te?z(Pe,Ie,U):K,he=ke?Se(Pe):e.getParentNodeInSpan(Pe,U,Ge),ve=ke?he:e.getParentNodeInSpan(Ie,U,Ge),Ve=[],_e=v.None;if(!he||!ve)return{errors:[e.createFileDiagnostic(U,K.start,ge,h.cannotExtractRange)]};if(e.isJSDoc(he))return{errors:[e.createFileDiagnostic(U,K.start,ge,h.cannotExtractJSDoc)]};if(he.parent!==ve.parent)return{errors:[e.createFileDiagnostic(U,K.start,ge,h.cannotExtractRange)]};if(he!==ve){if(!R(he.parent))return{errors:[e.createFileDiagnostic(U,K.start,ge,h.cannotExtractRange)]};for(var Le=[],qe=he,Xe=0,De=qe.parent.statements;Xe<De.length;Xe++){var Ae=De[Xe];if(Ae===he||Le.length){var Ye=Ke(Ae);if(Ye)return{errors:Ye};Le.push(Ae)}if(Ae===ve)break}return Le.length?{targetRange:{range:Le,facts:_e,declarations:Ve}}:{errors:[e.createFileDiagnostic(U,K.start,ge,h.cannotExtractRange)]}}if(e.isReturnStatement(he)&&!he.expression)return{errors:[e.createFileDiagnostic(U,K.start,ge,h.cannotExtractRange)]};var Dr=lr(he),br=Ar(Dr)||Ke(Dr);if(br)return{errors:br};return{targetRange:{range:ie(Dr),facts:_e,declarations:Ve}};function lr(Me){if(e.isReturnStatement(Me)){if(Me.expression)return Me.expression}else if(e.isVariableStatement(Me)){for(var Hr=0,ur=void 0,gr=0,de=Me.declarationList.declarations;gr<de.length;gr++){var Fe=de[gr];Fe.initializer&&(Hr++,ur=Fe.initializer)}if(Hr===1)return ur}else if(e.isVariableDeclaration(Me)&&Me.initializer)return Me.initializer;return Me}function Ar(Me){if(e.isIdentifier(e.isExpressionStatement(Me)?Me.expression:Me))return[e.createDiagnosticForNode(Me,h.cannotExtractIdentifier)]}function kr(Me,Hr){for(var ur=Me;ur!==Hr;){if(ur.kind===166){e.isStatic(ur)&&(_e|=v.InStaticRegion);break}else if(ur.kind===163){var gr=e.getContainingFunction(ur);gr.kind===170&&(_e|=v.InStaticRegion);break}else ur.kind===168&&e.isStatic(ur)&&(_e|=v.InStaticRegion);ur=ur.parent}}function Ke(Me){var Hr;if(function(Sr){Sr[Sr.None=0]=\"None\",Sr[Sr.Break=1]=\"Break\",Sr[Sr.Continue=2]=\"Continue\",Sr[Sr.Return=4]=\"Return\"}(Hr||(Hr={})),e.Debug.assert(Me.pos<=Me.end,\"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (1)\"),e.Debug.assert(!e.positionIsSynthesized(Me.pos),\"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (2)\"),!e.isStatement(Me)&&!(e.isExpressionNode(Me)&&Ce(Me)))return[e.createDiagnosticForNode(Me,h.statementOrExpressionExpected)];if(Me.flags&8388608)return[e.createDiagnosticForNode(Me,h.cannotExtractAmbientBlock)];var ur=e.getContainingClass(Me);ur&&kr(Me,ur);var gr,de=4,Fe;return $e(Me),gr;function $e(Sr){if(gr)return!0;if(e.isDeclaration(Sr)){var Pr=Sr.kind===253?Sr.parent.parent:Sr;if(e.hasSyntacticModifier(Pr,1))return(gr||(gr=[])).push(e.createDiagnosticForNode(Sr,h.cannotExtractExportedEntity)),!0;Ve.push(Sr.symbol)}switch(Sr.kind){case 265:return(gr||(gr=[])).push(e.createDiagnosticForNode(Sr,h.cannotExtractImport)),!0;case 270:return(gr||(gr=[])).push(e.createDiagnosticForNode(Sr,h.cannotExtractExportedEntity)),!0;case 106:if(Sr.parent.kind===207){var He=e.getContainingClass(Sr);if(He.pos<K.start||He.end>=K.start+K.length)return(gr||(gr=[])).push(e.createDiagnosticForNode(Sr,h.cannotExtractSuper)),!0}else _e|=v.UsesThis;break;case 213:e.forEachChild(Sr,function ze(Lr){if(e.isThis(Lr))_e|=v.UsesThis;else{if(e.isClassLike(Lr)||e.isFunctionLike(Lr)&&!e.isArrowFunction(Lr))return!1;e.forEachChild(Lr,ze)}});case 256:case 255:e.isSourceFile(Sr.parent)&&Sr.parent.externalModuleIndicator===void 0&&(gr||(gr=[])).push(e.createDiagnosticForNode(Sr,h.functionWillNotBeVisibleInTheNewScope));case 225:case 212:case 168:case 170:case 171:case 172:return!1}var pr=de;switch(Sr.kind){case 238:de=0;break;case 251:de=0;break;case 234:Sr.parent&&Sr.parent.kind===251&&Sr.parent.finallyBlock===Sr&&(de=4);break;case 289:case 288:de|=1;break;default:e.isIterationStatement(Sr,!1)&&(de|=3);break}switch(Sr.kind){case 191:case 108:_e|=v.UsesThis;break;case 249:{var Jr=Sr.label;(Fe||(Fe=[])).push(Jr.escapedText),e.forEachChild(Sr,$e),Fe.pop();break}case 245:case 244:{var Jr=Sr.label;Jr?e.contains(Fe,Jr.escapedText)||(gr||(gr=[])).push(e.createDiagnosticForNode(Sr,h.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):de&(Sr.kind===245?1:2)||(gr||(gr=[])).push(e.createDiagnosticForNode(Sr,h.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break}case 217:_e|=v.IsAsyncFunction;break;case 223:_e|=v.IsGenerator;break;case 246:de&4?_e|=v.HasReturn:(gr||(gr=[])).push(e.createDiagnosticForNode(Sr,h.cannotExtractRangeContainingConditionalReturnStatement));break;default:e.forEachChild(Sr,$e);break}de=pr}}}f.getRangeToExtract=A;function z(U,K,Te){var ge=U.getStart(Te),ke=K.getEnd();return Te.text.charCodeAt(ke)===59&&ke++,{start:ge,length:ke-ge}}function ie(U){if(e.isStatement(U))return[U];if(e.isExpressionNode(U))return e.isExpressionStatement(U.parent)?[U.parent]:U}function b(U){return e.isFunctionLikeDeclaration(U)||e.isSourceFile(U)||e.isModuleBlock(U)||e.isClassLike(U)}function M(U){var K=te(U.range)?e.first(U.range):U.range;if(U.facts&v.UsesThis){var Te=e.getContainingClass(K);if(Te){var ge=e.findAncestor(K,e.isFunctionLikeDeclaration);return ge?[ge,Te]:[Te]}}for(var ke=[];;)if(K=K.parent,K.kind===163&&(K=e.findAncestor(K,function(Pe){return e.isFunctionLikeDeclaration(Pe)}).parent),b(K)&&(ke.push(K),K.kind===303))return ke}function S(U,K,Te){var ge=I(U,K),ke=ge.scopes,Pe=ge.readsAndWrites,Ie=Pe.target,Ge=Pe.usagesPerScope,he=Pe.functionErrorsPerScope,ve=Pe.exposedVariableDeclarations;return e.Debug.assert(!he[Te].length,\"The extraction went missing? How?\"),K.cancellationToken.throwIfCancellationRequested(),F(Ie,ke[Te],Ge[Te],ve,U,K)}function B(U,K,Te){var ge=I(U,K),ke=ge.scopes,Pe=ge.readsAndWrites,Ie=Pe.target,Ge=Pe.usagesPerScope,he=Pe.constantErrorsPerScope,ve=Pe.exposedVariableDeclarations;e.Debug.assert(!he[Te].length,\"The extraction went missing? How?\"),e.Debug.assert(ve.length===0,\"Extract constant accepted a range containing a variable declaration?\"),K.cancellationToken.throwIfCancellationRequested();var Ve=e.isExpression(Ie)?Ie:Ie.statements[0].expression;return Q(Ve,ke[Te],Ge[Te],U.facts,K)}function H(U,K){var Te=I(U,K),ge=Te.scopes,ke=Te.readsAndWrites,Pe=ke.functionErrorsPerScope,Ie=ke.constantErrorsPerScope,Ge=ge.map(function(he,ve){var Ve=w(he),_e=x(he),Le=e.isFunctionLikeDeclaration(he)?O(he):e.isClassLike(he)?q(he):Z(he),qe,Xe;return Le===1?(qe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[Ve,\"global\"]),Xe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[_e,\"global\"])):Le===0?(qe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[Ve,\"module\"]),Xe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[_e,\"module\"])):(qe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[Ve,Le]),Xe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[_e,Le])),ve===0&&!e.isClassLike(he)&&(Xe=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_enclosing_scope),[_e])),{functionExtraction:{description:qe,errors:Pe[ve]},constantExtraction:{description:Xe,errors:Ie[ve]}}});return Ge}function I(U,K){var Te=K.file,ge=M(U),ke=ue(U,Te),Pe=j(U,ge,ke,Te,K.program.getTypeChecker(),K.cancellationToken);return{scopes:ge,readsAndWrites:Pe}}function w(U){return e.isFunctionLikeDeclaration(U)?\"inner function\":e.isClassLike(U)?\"method\":\"function\"}function x(U){return e.isClassLike(U)?\"readonly field\":\"constant\"}function O(U){switch(U.kind){case 170:return\"constructor\";case 212:case 255:return U.name?\"function '\".concat(U.name.text,\"'\"):e.ANONYMOUS;case 213:return\"arrow function\";case 168:return\"method '\".concat(U.name.getText(),\"'\");case 171:return\"'get \".concat(U.name.getText(),\"'\");case 172:return\"'set \".concat(U.name.getText(),\"'\");default:throw e.Debug.assertNever(U,\"Unexpected scope kind \".concat(U.kind))}}function q(U){return U.kind===256?U.name?\"class '\".concat(U.name.text,\"'\"):\"anonymous class declaration\":U.name?\"class expression '\".concat(U.name.text,\"'\"):\"anonymous class expression\"}function Z(U){return U.kind===261?\"namespace '\".concat(U.parent.name.getText(),\"'\"):U.externalModuleIndicator?0:1}var ne;(function(U){U[U.Module=0]=\"Module\",U[U.Global=1]=\"Global\"})(ne||(ne={}));function F(U,K,Te,ge,ke,Pe){var Ie=Te.usages,Ge=Te.typeParameterUsages,he=Te.substitutions,ve=Pe.program.getTypeChecker(),Ve=e.getEmitScriptTarget(Pe.program.getCompilerOptions()),_e=e.codefix.createImportAdder(Pe.file,Pe.program,Pe.preferences,Pe.host),Le=K.getSourceFile(),qe=e.getUniqueName(e.isClassLike(K)?\"newMethod\":\"newFunction\",Le),Xe=e.isInJSFile(K),De=e.factory.createIdentifier(qe),Ae,Ye=[],Dr=[],br;Ie.forEach(function(We,$){var Ne;if(!Xe){var me=ve.getTypeOfSymbolAtLocation(We.symbol,We.node);me=ve.getBaseTypeOfLiteralType(me),Ne=e.codefix.typeToAutoImportableTypeNode(ve,_e,me,K,Ve,1)}var Ze=e.factory.createParameterDeclaration(void 0,void 0,void 0,$,void 0,Ne);Ye.push(Ze),We.usage===2&&(br||(br=[])).push(We),Dr.push(e.factory.createIdentifier($))});var lr=e.arrayFrom(Ge.values()).map(function(We){return{type:We,declaration:re(We)}}),Ar=lr.sort(T),kr=Ar.length===0?void 0:Ar.map(function(We){return We.declaration}),Ke=kr!==void 0?kr.map(function(We){return e.factory.createTypeReferenceNode(We.name,void 0)}):void 0;if(e.isExpression(U)&&!Xe){var Me=ve.getContextualType(U);Ae=ve.typeToTypeNode(Me,K,1)}var Hr=y(U,ge,br,he,!!(ke.facts&v.HasReturn)),ur=Hr.body,gr=Hr.returnValueProperty;e.suppressLeadingAndTrailingTrivia(ur);var de;if(e.isClassLike(K)){var Fe=Xe?[]:[e.factory.createModifier(121)];ke.facts&v.InStaticRegion&&Fe.push(e.factory.createModifier(124)),ke.facts&v.IsAsyncFunction&&Fe.push(e.factory.createModifier(131)),de=e.factory.createMethodDeclaration(void 0,Fe.length?Fe:void 0,ke.facts&v.IsGenerator?e.factory.createToken(41):void 0,De,void 0,kr,Ye,Ae,ur)}else de=e.factory.createFunctionDeclaration(void 0,ke.facts&v.IsAsyncFunction?[e.factory.createToken(131)]:void 0,ke.facts&v.IsGenerator?e.factory.createToken(41):void 0,De,kr,Ye,Ae,ur);var $e=e.textChanges.ChangeTracker.fromContext(Pe),Sr=(te(ke.range)?e.last(ke.range):ke.range).end,Pr=m(Sr,K);Pr?$e.insertNodeBefore(Pe.file,Pr,de,!0):$e.insertNodeAtEndOfScope(Pe.file,K,de),_e.writeFixes($e);var He=[],pr=N(K,ke,qe),Jr=e.factory.createCallExpression(pr,Ke,Dr);if(ke.facts&v.IsGenerator&&(Jr=e.factory.createYieldExpression(e.factory.createToken(41),Jr)),ke.facts&v.IsAsyncFunction&&(Jr=e.factory.createAwaitExpression(Jr)),Y(U)&&(Jr=e.factory.createJsxExpression(void 0,Jr)),ge.length&&!br)if(e.Debug.assert(!gr,\"Expected no returnValueProperty\"),e.Debug.assert(!(ke.facts&v.HasReturn),\"Expected RangeFacts.HasReturn flag to be unset\"),ge.length===1){var ze=ge[0];He.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.getSynthesizedDeepClone(ze.name),void 0,e.getSynthesizedDeepClone(ze.type),Jr)],ze.parent.flags)))}else{for(var Lr=[],Yr=[],lt=ge[0].parent.flags,tt=!1,Rt=0,cn=ge;Rt<cn.length;Rt++){var ze=cn[Rt];Lr.push(e.factory.createBindingElement(void 0,void 0,e.getSynthesizedDeepClone(ze.name)));var bn=ve.typeToTypeNode(ve.getBaseTypeOfLiteralType(ve.getTypeAtLocation(ze)),K,1);Yr.push(e.factory.createPropertySignature(void 0,ze.symbol.name,void 0,bn)),tt=tt||ze.type!==void 0,lt=lt&ze.parent.flags}var In=tt?e.factory.createTypeLiteralNode(Yr):void 0;In&&e.setEmitFlags(In,1),He.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.factory.createObjectBindingPattern(Lr),void 0,In,Jr)],lt)))}else if(ge.length||br){if(ge.length)for(var zn=0,ir=ge;zn<ir.length;zn++){var ze=ir[zn],Or=ze.parent.flags;Or&2&&(Or=Or&-3|1),He.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(ze.symbol.name,void 0,Ee(ze.type))],Or)))}gr&&He.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(gr,void 0,Ee(Ae))],1)));var sr=P(ge,br);gr&&sr.unshift(e.factory.createShorthandPropertyAssignment(gr)),sr.length===1?(e.Debug.assert(!gr,\"Shouldn't have returnValueProperty here\"),He.push(e.factory.createExpressionStatement(e.factory.createAssignment(sr[0].name,Jr))),ke.facts&v.HasReturn&&He.push(e.factory.createReturnStatement())):(He.push(e.factory.createExpressionStatement(e.factory.createAssignment(e.factory.createObjectLiteralExpression(sr),Jr))),gr&&He.push(e.factory.createReturnStatement(e.factory.createIdentifier(gr))))}else ke.facts&v.HasReturn?He.push(e.factory.createReturnStatement(Jr)):te(ke.range)?He.push(e.factory.createExpressionStatement(Jr)):He.push(Jr);te(ke.range)?$e.replaceNodeRangeWithNodes(Pe.file,e.first(ke.range),e.last(ke.range),He):$e.replaceNodeWithNodes(Pe.file,ke.range,He);var ye=$e.getChanges(),or=te(ke.range)?e.first(ke.range):ke.range,fe=or.getSourceFile().fileName,je=e.getRenameLocation(ye,fe,qe,!1);return{renameFilename:fe,renameLocation:je,edits:ye};function Ee(We){if(We!==void 0){for(var $=e.getSynthesizedDeepClone(We),Ne=$;e.isParenthesizedTypeNode(Ne);)Ne=Ne.type;return e.isUnionTypeNode(Ne)&&e.find(Ne.types,function(me){return me.kind===152})?$:e.factory.createUnionTypeNode([$,e.factory.createKeywordTypeNode(152)])}}}function Q(U,K,Te,ge,ke){var Pe,Ie=Te.substitutions,Ge=ke.program.getTypeChecker(),he=K.getSourceFile(),ve=e.getUniqueName(e.isClassLike(K)?\"newProperty\":\"newLocal\",he),Ve=e.isInJSFile(K),_e=Ve||!Ge.isContextSensitive(U)?void 0:Ge.typeToTypeNode(Ge.getContextualType(U),K,1),Le=D(e.skipParentheses(U),Ie);Pe=Hr(_e,Le),_e=Pe.variableType,Le=Pe.initializer,e.suppressLeadingAndTrailingTrivia(Le);var qe=e.textChanges.ChangeTracker.fromContext(ke);if(e.isClassLike(K)){e.Debug.assert(!Ve,\"Cannot extract to a JS class\");var Xe=[];Xe.push(e.factory.createModifier(121)),ge&v.InStaticRegion&&Xe.push(e.factory.createModifier(124)),Xe.push(e.factory.createModifier(144));var De=e.factory.createPropertyDeclaration(void 0,Xe,ve,void 0,_e,Le),Ae=e.factory.createPropertyAccessExpression(ge&v.InStaticRegion?e.factory.createIdentifier(K.name.getText()):e.factory.createThis(),e.factory.createIdentifier(ve));Y(U)&&(Ae=e.factory.createJsxExpression(void 0,Ae));var Ye=U.pos,Dr=u(Ye,K);qe.insertNodeBefore(ke.file,Dr,De,!0),qe.replaceNode(ke.file,U,Ae)}else{var br=e.factory.createVariableDeclaration(ve,void 0,_e,Le),lr=V(U,K);if(lr){qe.insertNodeBefore(ke.file,lr,br);var Ae=e.factory.createIdentifier(ve);qe.replaceNode(ke.file,U,Ae)}else if(U.parent.kind===237&&K===e.findAncestor(U,b)){var Ar=e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([br],2));qe.replaceNode(ke.file,U.parent,Ar)}else{var Ar=e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([br],2)),Dr=g(U,K);if(Dr.pos===0?qe.insertNodeAtTopOfFile(ke.file,Ar,!1):qe.insertNodeBefore(ke.file,Dr,Ar,!1),U.parent.kind===237)qe.delete(ke.file,U.parent);else{var Ae=e.factory.createIdentifier(ve);Y(U)&&(Ae=e.factory.createJsxExpression(void 0,Ae)),qe.replaceNode(ke.file,U,Ae)}}}var kr=qe.getChanges(),Ke=U.getSourceFile().fileName,Me=e.getRenameLocation(kr,Ke,ve,!0);return{renameFilename:Ke,renameLocation:Me,edits:kr};function Hr(ur,gr){if(ur===void 0)return{variableType:ur,initializer:gr};if(!e.isFunctionExpression(gr)&&!e.isArrowFunction(gr)||!!gr.typeParameters)return{variableType:ur,initializer:gr};var de=Ge.getTypeAtLocation(U),Fe=e.singleOrUndefined(Ge.getSignaturesOfType(de,0));if(!Fe)return{variableType:ur,initializer:gr};if(Fe.getTypeParameters())return{variableType:ur,initializer:gr};for(var $e=[],Sr=!1,Pr=0,He=gr.parameters;Pr<He.length;Pr++){var pr=He[Pr];if(pr.type)$e.push(pr);else{var Jr=Ge.getTypeAtLocation(pr);Jr===Ge.getAnyType()&&(Sr=!0),$e.push(e.factory.updateParameterDeclaration(pr,pr.decorators,pr.modifiers,pr.dotDotDotToken,pr.name,pr.questionToken,pr.type||Ge.typeToTypeNode(Jr,K,1),pr.initializer))}}if(Sr)return{variableType:ur,initializer:gr};if(ur=void 0,e.isArrowFunction(gr))gr=e.factory.updateArrowFunction(gr,U.modifiers,gr.typeParameters,$e,gr.type||Ge.typeToTypeNode(Fe.getReturnType(),K,1),gr.equalsGreaterThanToken,gr.body);else{if(Fe&&!!Fe.thisParameter){var ze=e.firstOrUndefined($e);if(!ze||e.isIdentifier(ze.name)&&ze.name.escapedText!==\"this\"){var Lr=Ge.getTypeOfSymbolAtLocation(Fe.thisParameter,U);$e.splice(0,0,e.factory.createParameterDeclaration(void 0,void 0,void 0,\"this\",void 0,Ge.typeToTypeNode(Lr,K,1)))}}gr=e.factory.updateFunctionExpression(gr,U.modifiers,gr.asteriskToken,gr.name,gr.typeParameters,$e,gr.type||Ge.typeToTypeNode(Fe.getReturnType(),K,1),gr.body)}return{variableType:ur,initializer:gr}}}function V(U,K){for(var Te;U!==void 0&&U!==K;){if(e.isVariableDeclaration(U)&&U.initializer===Te&&e.isVariableDeclarationList(U.parent)&&U.parent.declarations.length>1)return U;Te=U,U=U.parent}}function re(U){var K,Te=U.symbol;if(Te&&Te.declarations)for(var ge=0,ke=Te.declarations;ge<ke.length;ge++){var Pe=ke[ge];(K===void 0||Pe.pos<K.pos)&&(K=Pe)}return K}function T(U,K){var Te=U.type,ge=U.declaration,ke=K.type,Pe=K.declaration;return e.compareProperties(ge,Pe,\"pos\",e.compareValues)||e.compareStringsCaseSensitive(Te.symbol?Te.symbol.getName():\"\",ke.symbol?ke.symbol.getName():\"\")||e.compareValues(Te.id,ke.id)}function N(U,K,Te){var ge=e.factory.createIdentifier(Te);if(e.isClassLike(U)){var ke=K.facts&v.InStaticRegion?e.factory.createIdentifier(U.name.text):e.factory.createThis();return e.factory.createPropertyAccessExpression(ke,ge)}else return ge}function y(U,K,Te,ge,ke){var Pe=Te!==void 0||K.length>0;if(e.isBlock(U)&&!Pe&&ge.size===0)return{body:e.factory.createBlock(U.statements,!0),returnValueProperty:void 0};var Ie,Ge=!1,he=e.factory.createNodeArray(e.isBlock(U)?U.statements.slice(0):[e.isStatement(U)?U:e.factory.createReturnStatement(e.skipParentheses(U))]);if(Pe||ge.size){var ve=e.visitNodes(he,_e).slice();if(Pe&&!ke&&e.isStatement(U)){var Ve=P(K,Te);Ve.length===1?ve.push(e.factory.createReturnStatement(Ve[0].name)):ve.push(e.factory.createReturnStatement(e.factory.createObjectLiteralExpression(Ve)))}return{body:e.factory.createBlock(ve,!0),returnValueProperty:Ie}}else return{body:e.factory.createBlock(he,!0),returnValueProperty:void 0};function _e(Le){if(!Ge&&e.isReturnStatement(Le)&&Pe){var qe=P(K,Te);return Le.expression&&(Ie||(Ie=\"__return\"),qe.unshift(e.factory.createPropertyAssignment(Ie,e.visitNode(Le.expression,_e)))),qe.length===1?e.factory.createReturnStatement(qe[0].name):e.factory.createReturnStatement(e.factory.createObjectLiteralExpression(qe))}else{var Xe=Ge;Ge=Ge||e.isFunctionLikeDeclaration(Le)||e.isClassLike(Le);var De=ge.get(e.getNodeId(Le).toString()),Ae=De?e.getSynthesizedDeepClone(De):e.visitEachChild(Le,_e,e.nullTransformationContext);return Ge=Xe,Ae}}}function D(U,K){return K.size?Te(U):U;function Te(ge){var ke=K.get(e.getNodeId(ge).toString());return ke?e.getSynthesizedDeepClone(ke):e.visitEachChild(ge,Te,e.nullTransformationContext)}}function C(U){if(e.isFunctionLikeDeclaration(U)){var K=U.body;if(e.isBlock(K))return K.statements}else{if(e.isModuleBlock(U)||e.isSourceFile(U))return U.statements;if(e.isClassLike(U))return U.members;e.assertType(U)}return e.emptyArray}function m(U,K){return e.find(C(K),function(Te){return Te.pos>=U&&e.isFunctionLikeDeclaration(Te)&&!e.isConstructorDeclaration(Te)})}function u(U,K){var Te=K.members;e.Debug.assert(Te.length>0,\"Found no members\");for(var ge,ke=!0,Pe=0,Ie=Te;Pe<Ie.length;Pe++){var Ge=Ie[Pe];if(Ge.pos>U)return ge||Te[0];if(ke&&!e.isPropertyDeclaration(Ge)){if(ge!==void 0)return Ge;ke=!1}ge=Ge}return ge===void 0?e.Debug.fail():ge}function g(U,K){e.Debug.assert(!e.isClassLike(K));for(var Te,ge=U;ge!==K;ge=ge.parent)b(ge)&&(Te=ge);for(var ge=(Te||U).parent;;ge=ge.parent){if(R(ge)){for(var ke=void 0,Pe=0,Ie=ge.statements;Pe<Ie.length;Pe++){var Ge=Ie[Pe];if(Ge.pos>U.pos)break;ke=Ge}return!ke&&e.isCaseClause(ge)?(e.Debug.assert(e.isSwitchStatement(ge.parent.parent),\"Grandparent isn't a switch statement\"),ge.parent.parent):e.Debug.checkDefined(ke,\"prevStatement failed to get set\")}e.Debug.assert(ge!==K,\"Didn't encounter a block-like before encountering scope\")}}function P(U,K){var Te=e.map(U,function(ke){return e.factory.createShorthandPropertyAssignment(ke.symbol.name)}),ge=e.map(K,function(ke){return e.factory.createShorthandPropertyAssignment(ke.symbol.name)});return Te===void 0?ge:ge===void 0?Te:Te.concat(ge)}function te(U){return e.isArray(U)}function ue(U,K){return te(U.range)?{pos:e.first(U.range).getStart(K),end:e.last(U.range).getEnd()}:U.range}var X;(function(U){U[U.Read=1]=\"Read\",U[U.Write=2]=\"Write\"})(X||(X={}));function j(U,K,Te,ge,ke,Pe){var Ie=new e.Map,Ge=[],he=[],ve=[],Ve=[],_e=[],Le=new e.Map,qe=[],Xe,De=te(U.range)?U.range.length===1&&e.isExpressionStatement(U.range[0])?U.range[0].expression:void 0:U.range,Ae;if(De===void 0){var Ye=U.range,Dr=e.first(Ye).getStart(),br=e.last(Ye).end;Ae=e.createFileDiagnostic(ge,Dr,br-Dr,h.expressionExpected)}else ke.getTypeAtLocation(De).flags&147456&&(Ae=e.createDiagnosticForNode(De,h.uselessConstantType));for(var lr=0,Ar=K;lr<Ar.length;lr++){var kr=Ar[lr];Ge.push({usages:new e.Map,typeParameterUsages:new e.Map,substitutions:new e.Map}),he.push(new e.Map),ve.push([]);var Ke=[];Ae&&Ke.push(Ae),e.isClassLike(kr)&&e.isInJSFile(kr)&&Ke.push(e.createDiagnosticForNode(kr,h.cannotExtractToJSClass)),e.isArrowFunction(kr)&&!e.isBlock(kr.body)&&Ke.push(e.createDiagnosticForNode(kr,h.cannotExtractToExpressionArrowFunction)),Ve.push(Ke)}var Me=new e.Map,Hr=te(U.range)?e.factory.createBlock(U.range):U.range,ur=te(U.range)?e.first(U.range):U.range,gr=lt(ur);if(Rt(Hr),gr&&!te(U.range)){var de=ke.getContextualType(U.range);tt(de)}if(Ie.size>0){for(var Fe=new e.Map,$e=0,Sr=ur;Sr!==void 0&&$e<K.length;Sr=Sr.parent)if(Sr===K[$e]&&(Fe.forEach(function(Or,sr){Ge[$e].typeParameterUsages.set(sr,Or)}),$e++),e.isDeclarationWithTypeParameters(Sr))for(var Pr=0,He=e.getEffectiveTypeParameterDeclarations(Sr);Pr<He.length;Pr++){var pr=He[Pr],Jr=ke.getTypeAtLocation(pr);Ie.has(Jr.id.toString())&&Fe.set(Jr.id.toString(),Jr)}e.Debug.assert($e===K.length,\"Should have iterated all scopes\")}if(_e.length){var ze=e.isBlockScope(K[0],K[0].parent)?K[0]:e.getEnclosingBlockScopeContainer(K[0]);e.forEachChild(ze,In)}for(var Lr=function(Or){var sr=Ge[Or];if(Or>0&&(sr.usages.size>0||sr.typeParameterUsages.size>0)){var ye=te(U.range)?U.range[0]:U.range;Ve[Or].push(e.createDiagnosticForNode(ye,h.cannotAccessVariablesFromNestedScopes))}var or=!1,fe;if(Ge[Or].usages.forEach(function(Ee){Ee.usage===2&&(or=!0,Ee.symbol.flags&106500&&Ee.symbol.valueDeclaration&&e.hasEffectiveModifier(Ee.symbol.valueDeclaration,64)&&(fe=Ee.symbol.valueDeclaration))}),e.Debug.assert(te(U.range)||qe.length===0,\"No variable declarations expected if something was extracted\"),or&&!te(U.range)){var je=e.createDiagnosticForNode(U.range,h.cannotWriteInExpression);ve[Or].push(je),Ve[Or].push(je)}else if(fe&&Or>0){var je=e.createDiagnosticForNode(fe,h.cannotExtractReadonlyPropertyInitializerOutsideConstructor);ve[Or].push(je),Ve[Or].push(je)}else if(Xe){var je=e.createDiagnosticForNode(Xe,h.cannotExtractExportedEntity);ve[Or].push(je),Ve[Or].push(je)}},Yr=0;Yr<K.length;Yr++)Lr(Yr);return{target:Hr,usagesPerScope:Ge,functionErrorsPerScope:ve,constantErrorsPerScope:Ve,exposedVariableDeclarations:qe};function lt(Or){return!!e.findAncestor(Or,function(sr){return e.isDeclarationWithTypeParameters(sr)&&e.getEffectiveTypeParameterDeclarations(sr).length!==0})}function tt(Or){for(var sr=ke.getSymbolWalker(function(){return Pe.throwIfCancellationRequested(),!0}),ye=sr.walkType(Or).visitedTypes,or=0,fe=ye;or<fe.length;or++){var je=fe[or];je.isTypeParameter()&&Ie.set(je.id.toString(),je)}}function Rt(Or,sr){if(sr===void 0&&(sr=1),gr){var ye=ke.getTypeAtLocation(Or);tt(ye)}if(e.isDeclaration(Or)&&Or.symbol&&_e.push(Or),e.isAssignmentExpression(Or))Rt(Or.left,2),Rt(Or.right);else if(e.isUnaryExpressionWithWrite(Or))Rt(Or.operand,2);else if(e.isPropertyAccessExpression(Or)||e.isElementAccessExpression(Or))e.forEachChild(Or,Rt);else if(e.isIdentifier(Or)){if(!Or.parent||e.isQualifiedName(Or.parent)&&Or!==Or.parent.left||e.isPropertyAccessExpression(Or.parent)&&Or!==Or.parent.expression)return;cn(Or,sr,e.isPartOfTypeNode(Or))}else e.forEachChild(Or,Rt)}function cn(Or,sr,ye){var or=bn(Or,sr,ye);if(or)for(var fe=0;fe<K.length;fe++){var je=he[fe].get(or);je&&Ge[fe].substitutions.set(e.getNodeId(Or).toString(),je)}}function bn(Or,sr,ye){var or=zn(Or);if(!!or){var fe=e.getSymbolId(or).toString(),je=Me.get(fe);if(je&&je>=sr)return fe;if(Me.set(fe,sr),je){for(var Ee=0,We=Ge;Ee<We.length;Ee++){var $=We[Ee],Ne=$.usages.get(Or.text);Ne&&$.usages.set(Or.text,{usage:sr,symbol:or,node:Or})}return fe}var me=or.getDeclarations(),Ze=me&&e.find(me,function(gt){return gt.getSourceFile()===ge});if(!!Ze&&!e.rangeContainsStartEnd(Te,Ze.getStart(),Ze.end)){if(U.facts&v.IsGenerator&&sr===2){for(var Cr=e.createDiagnosticForNode(Or,h.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators),fr=0,dr=ve;fr<dr.length;fr++){var et=dr[fr];et.push(Cr)}for(var yt=0,Vr=Ve;yt<Vr.length;yt++){var et=Vr[yt];et.push(Cr)}}for(var tr=0;tr<K.length;tr++){var xr=K[tr],Nr=ke.resolveName(or.name,xr,or.flags,!1);if(Nr!==or&&!he[tr].has(fe)){var zr=ir(or.exportSymbol||or,xr,ye);if(zr)he[tr].set(fe,zr);else if(ye){if(!(or.flags&262144)){var Cr=e.createDiagnosticForNode(Or,h.typeWillNotBeVisibleInTheNewScope);ve[tr].push(Cr),Ve[tr].push(Cr)}}else Ge[tr].usages.set(Or.text,{usage:sr,symbol:or,node:Or})}}return fe}}}function In(Or){if(!(Or===U.range||te(U.range)&&U.range.indexOf(Or)>=0)){var sr=e.isIdentifier(Or)?zn(Or):ke.getSymbolAtLocation(Or);if(sr){var ye=e.find(_e,function(fe){return fe.symbol===sr});if(ye)if(e.isVariableDeclaration(ye)){var or=ye.symbol.id.toString();Le.has(or)||(qe.push(ye),Le.set(or,!0))}else Xe=Xe||ye}e.forEachChild(Or,In)}}function zn(Or){return Or.parent&&e.isShorthandPropertyAssignment(Or.parent)&&Or.parent.name===Or?ke.getShorthandAssignmentValueSymbol(Or.parent):ke.getSymbolAtLocation(Or)}function ir(Or,sr,ye){if(!!Or){var or=Or.getDeclarations();if(or&&or.some(function(je){return je.parent===sr}))return e.factory.createIdentifier(Or.name);var fe=ir(Or.parent,sr,ye);if(fe!==void 0)return ye?e.factory.createQualifiedName(fe,e.factory.createIdentifier(Or.name)):e.factory.createPropertyAccessExpression(fe,Or.name)}}}function Se(U){return e.findAncestor(U,function(K){return K.parent&&Ce(K)&&!e.isBinaryExpression(K.parent)})}function Ce(U){var K=U.parent;switch(K.kind){case 297:return!1}switch(U.kind){case 10:return K.kind!==265&&K.kind!==269;case 224:case 200:case 202:return!1;case 79:return K.kind!==202&&K.kind!==269&&K.kind!==274}return!0}function R(U){switch(U.kind){case 234:case 303:case 261:case 288:return!0;default:return!1}}function Y(U){return(e.isJsxElement(U)||e.isJsxSelfClosingElement(U)||e.isJsxFragment(U))&&(e.isJsxElement(U.parent)||e.isJsxFragment(U.parent))}})(n.extractSymbol||(n.extractSymbol={}))})(e.refactor||(e.refactor={}))}(jr||(jr={})),function(e){(function(n){var f=\"Extract type\",p={name:\"Extract to type alias\",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_type_alias),kind:\"refactor.extract.type\"},a={name:\"Extract to interface\",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_interface),kind:\"refactor.extract.interface\"},d={name:\"Extract to typedef\",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_typedef),kind:\"refactor.extract.typedef\"};n.registerRefactor(f,{kinds:[p.kind,a.kind,d.kind],getAvailableActions:function(b){var M=k(b,b.triggerReason===\"invoked\");return M?n.isRefactorErrorInfo(M)?b.preferences.provideRefactorNotApplicableReason?[{name:f,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_type),actions:[Rn(Rn({},d),{notApplicableReason:M.error}),Rn(Rn({},p),{notApplicableReason:M.error}),Rn(Rn({},a),{notApplicableReason:M.error})]}]:e.emptyArray:[{name:f,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_type),actions:M.isJS?[d]:e.append([p],M.typeElements&&a)}]:e.emptyArray},getEditsForAction:function(b,M){var S=b.file,B=k(b);e.Debug.assert(B&&!n.isRefactorErrorInfo(B),\"Expected to find a range to extract\");var H=e.getUniqueName(\"NewType\",S),I=e.textChanges.ChangeTracker.with(b,function(O){switch(M){case p.name:return e.Debug.assert(!B.isJS,\"Invalid actionName/JS combo\"),A(O,S,H,B);case d.name:return e.Debug.assert(B.isJS,\"Invalid actionName/JS combo\"),ie(O,S,H,B);case a.name:return e.Debug.assert(!B.isJS&&!!B.typeElements,\"Invalid actionName/JS combo\"),z(O,S,H,B);default:e.Debug.fail(\"Unexpected action name\")}}),w=S.fileName,x=e.getRenameLocation(I,w,H,!1);return{edits:I,renameFilename:w,renameLocation:x}}});function k(b,M){M===void 0&&(M=!0);var S=b.file,B=b.startPosition,H=e.isSourceFileJS(S),I=e.getTokenAtPosition(S,B),w=e.createTextRangeFromSpan(e.getRefactorContextSpan(b)),x=w.pos===w.end&&M,O=e.findAncestor(I,function(Q){return Q.parent&&e.isTypeNode(Q)&&!h(w,Q.parent,S)&&(x||e.nodeOverlapsWithStartEnd(I,S,w.pos,w.end))});if(!O||!e.isTypeNode(O))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Selection_is_not_a_valid_type_node)};var q=b.program.getTypeChecker(),Z=e.Debug.checkDefined(e.findAncestor(O,e.isStatement),\"Should find a statement\"),ne=v(q,O,Z,S);if(!ne)return{error:e.getLocaleSpecificMessage(e.Diagnostics.No_type_could_be_extracted_from_this_type_node)};var F=J(q,O);return{isJS:H,selection:O,firstStatement:Z,typeParameters:ne,typeElements:F}}function J(b,M){if(!!M)if(e.isIntersectionTypeNode(M)){for(var S=[],B=new e.Map,H=0,I=M.types;H<I.length;H++){var w=I[H],x=J(b,w);if(!x||!x.every(function(O){return O.name&&e.addToSeen(B,e.getNameFromPropertyName(O.name))}))return;e.addRange(S,x)}return S}else{if(e.isParenthesizedTypeNode(M))return J(b,M.type);if(e.isTypeLiteralNode(M))return M.members}}function h(b,M,S){return e.rangeContainsStartEnd(b,e.skipTrivia(S.text,M.pos),M.end)}function v(b,M,S,B){var H=[];return I(M)?void 0:H;function I(w){var x;if(e.isTypeReferenceNode(w)){if(e.isIdentifier(w.typeName)){var O=b.resolveName(w.typeName.text,w.typeName,262144,!0),q=e.tryCast((x=O==null?void 0:O.declarations)===null||x===void 0?void 0:x[0],e.isTypeParameterDeclaration);q&&h(S,q,B)&&!h(M,q,B)&&e.pushIfUnique(H,q)}}else if(e.isInferTypeNode(w)){var Z=e.findAncestor(w,function(F){return e.isConditionalTypeNode(F)&&h(F.extendsType,w,B)});if(!Z||!h(M,Z,B))return!0}else if(e.isTypePredicateNode(w)||e.isThisTypeNode(w)){var ne=e.findAncestor(w.parent,e.isFunctionLike);if(ne&&ne.type&&h(ne.type,w,B)&&!h(M,ne,B))return!0}else if(e.isTypeQueryNode(w)){if(e.isIdentifier(w.exprName)){var O=b.resolveName(w.exprName.text,w.exprName,111551,!1);if((O==null?void 0:O.valueDeclaration)&&h(S,O.valueDeclaration,B)&&!h(M,O.valueDeclaration,B))return!0}else if(e.isThisIdentifier(w.exprName.left)&&!h(M,w.parent,B))return!0}return B&&e.isTupleTypeNode(w)&&e.getLineAndCharacterOfPosition(B,w.pos).line===e.getLineAndCharacterOfPosition(B,w.end).line&&e.setEmitFlags(w,1),e.forEachChild(w,I)}}function A(b,M,S,B){var H=B.firstStatement,I=B.selection,w=B.typeParameters,x=e.factory.createTypeAliasDeclaration(void 0,void 0,S,w.map(function(O){return e.factory.updateTypeParameterDeclaration(O,O.name,O.constraint,void 0)}),I);b.insertNodeBefore(M,H,e.ignoreSourceNewlines(x),!0),b.replaceNode(M,I,e.factory.createTypeReferenceNode(S,w.map(function(O){return e.factory.createTypeReferenceNode(O.name,void 0)})),{leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:e.textChanges.TrailingTriviaOption.ExcludeWhitespace})}function z(b,M,S,B){var H,I=B.firstStatement,w=B.selection,x=B.typeParameters,O=B.typeElements,q=e.factory.createInterfaceDeclaration(void 0,void 0,S,x,void 0,O);e.setTextRange(q,(H=O[0])===null||H===void 0?void 0:H.parent),b.insertNodeBefore(M,I,e.ignoreSourceNewlines(q),!0),b.replaceNode(M,w,e.factory.createTypeReferenceNode(S,x.map(function(Z){return e.factory.createTypeReferenceNode(Z.name,void 0)})),{leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:e.textChanges.TrailingTriviaOption.ExcludeWhitespace})}function ie(b,M,S,B){var H=B.firstStatement,I=B.selection,w=B.typeParameters,x=e.factory.createJSDocTypedefTag(e.factory.createIdentifier(\"typedef\"),e.factory.createJSDocTypeExpression(I),e.factory.createIdentifier(S)),O=[];e.forEach(w,function(q){var Z=e.getEffectiveConstraintOfTypeParameter(q),ne=e.factory.createTypeParameterDeclaration(q.name),F=e.factory.createJSDocTemplateTag(e.factory.createIdentifier(\"template\"),Z&&e.cast(Z,e.isJSDocTypeExpression),[ne]);O.push(F)}),b.insertNodeBefore(M,H,e.factory.createJSDocComment(void 0,e.factory.createNodeArray(e.concatenate(O,[x]))),!0),b.replaceNode(M,I,e.factory.createTypeReferenceNode(S,w.map(function(q){return e.factory.createTypeReferenceNode(q.name,void 0)})))}})(e.refactor||(e.refactor={}))}(jr||(jr={})),function(e){(function(n){(function(f){var p=\"Generate 'get' and 'set' accessors\",a=e.Diagnostics.Generate_get_and_set_accessors.message,d={name:p,description:a,kind:\"refactor.rewrite.property.generateAccessors\"};n.registerRefactor(p,{kinds:[d.kind],getEditsForAction:function(k,J){if(!!k.endPosition){var h=e.codefix.getAccessorConvertiblePropertyAtPosition(k.file,k.program,k.startPosition,k.endPosition);e.Debug.assert(h&&!n.isRefactorErrorInfo(h),\"Expected applicable refactor info\");var v=e.codefix.generateAccessorFromProperty(k.file,k.program,k.startPosition,k.endPosition,k,J);if(!!v){var A=k.file.fileName,z=h.renameAccessor?h.accessorName:h.fieldName,ie=e.isIdentifier(z)?0:-1,b=ie+e.getRenameLocation(v,A,z.text,e.isParameter(h.declaration));return{renameFilename:A,renameLocation:b,edits:v}}}},getAvailableActions:function(k){if(!k.endPosition)return e.emptyArray;var J=e.codefix.getAccessorConvertiblePropertyAtPosition(k.file,k.program,k.startPosition,k.endPosition,k.triggerReason===\"invoked\");return J?n.isRefactorErrorInfo(J)?k.preferences.provideRefactorNotApplicableReason?[{name:p,description:a,actions:[Rn(Rn({},d),{notApplicableReason:J.error})]}]:e.emptyArray:[{name:p,description:a,actions:[d]}]:e.emptyArray}})})(n.generateGetAccessorAndSetAccessor||(n.generateGetAccessorAndSetAccessor={}))})(e.refactor||(e.refactor={}))}(jr||(jr={})),function(e){(function(n){function f(a){return a.error!==void 0}n.isRefactorErrorInfo=f;function p(a,d){return d?a.substr(0,d.length)===d:!0}n.refactorKindBeginsWith=p})(e.refactor||(e.refactor={}))}(jr||(jr={})),function(e){(function(n){var f=\"Move to a new file\",p=e.getLocaleSpecificMessage(e.Diagnostics.Move_to_a_new_file),a={name:f,description:p,kind:\"refactor.move.newFile\"};n.registerRefactor(f,{kinds:[a.kind],getAvailableActions:function(he){var ve=J(he);return he.preferences.allowTextChangesInNewFiles&&ve?[{name:f,description:p,actions:[a]}]:he.preferences.provideRefactorNotApplicableReason?[{name:f,description:p,actions:[Rn(Rn({},a),{notApplicableReason:e.getLocaleSpecificMessage(e.Diagnostics.Selection_is_not_a_valid_statement_or_statements)})]}]:e.emptyArray},getEditsForAction:function(he,ve){e.Debug.assert(ve===f,\"Wrong refactor invoked\");var Ve=e.Debug.checkDefined(J(he)),_e=e.textChanges.ChangeTracker.with(he,function(Le){return k(he.file,he.program,Ve,Le,he.host,he.preferences)});return{edits:_e,renameFilename:void 0,renameLocation:void 0}}});function d(he){var ve=he.file,Ve=e.createTextRangeFromSpan(e.getRefactorContextSpan(he)),_e=ve.statements,Le=e.findIndex(_e,function(De){return De.end>Ve.pos});if(Le!==-1){var qe=_e[Le];if(e.isNamedDeclaration(qe)&&qe.name&&e.rangeContainsRange(qe.name,Ve))return{toMove:[_e[Le]],afterLast:_e[Le+1]};if(!(Ve.pos>qe.getStart(ve))){var Xe=e.findIndex(_e,function(De){return De.end>Ve.end},Le);if(!(Xe!==-1&&(Xe===0||_e[Xe].getStart(ve)<Ve.end)))return{toMove:_e.slice(Le,Xe===-1?_e.length:Xe),afterLast:Xe===-1?void 0:_e[Xe]}}}}function k(he,ve,Ve,_e,Le,qe){var Xe=ve.getTypeChecker(),De=y(he,Ve.all,Xe),Ae=e.getDirectoryPath(he.fileName),Ye=e.extensionFromPath(he.fileName),Dr=T(N(De.movedSymbols),Ye,Ae,Le),br=Dr+Ye;_e.createNewFile(he,e.combinePaths(Ae,br),z(he,De,_e,Ve,ve,Dr,qe)),A(ve,_e,he.fileName,br,e.hostGetCanonicalFileName(Le))}function J(he){var ve=d(he);if(ve!==void 0){var Ve=[],_e=[],Le=ve.toMove,qe=ve.afterLast;return e.getRangesWhere(Le,h,function(Xe,De){for(var Ae=Xe;Ae<De;Ae++)Ve.push(Le[Ae]);_e.push({first:Le[Xe],afterLast:qe})}),Ve.length===0?void 0:{all:Ve,ranges:_e}}}function h(he){return!v(he)&&!e.isPrologueDirective(he)}function v(he){switch(he.kind){case 265:return!0;case 264:return!e.hasSyntacticModifier(he,1);case 236:return he.declarationList.declarations.every(function(ve){return!!ve.initializer&&e.isRequireCall(ve.initializer,!0)});default:return!1}}function A(he,ve,Ve,_e,Le){var qe=he.getCompilerOptions().configFile;if(!!qe){var Xe=e.normalizePath(e.combinePaths(Ve,\"..\",_e)),De=e.getRelativePathFromFile(qe.fileName,Xe,Le),Ae=qe.statements[0]&&e.tryCast(qe.statements[0].expression,e.isObjectLiteralExpression),Ye=Ae&&e.find(Ae.properties,function(Dr){return e.isPropertyAssignment(Dr)&&e.isStringLiteral(Dr.name)&&Dr.name.text===\"files\"});Ye&&e.isArrayLiteralExpression(Ye.initializer)&&ve.insertNodeInListAfter(qe,e.last(Ye.initializer.elements),e.factory.createStringLiteral(De),Ye.initializer.elements)}}function z(he,ve,Ve,_e,Le,qe,Xe){var De=Le.getTypeChecker(),Ae=e.takeWhile(he.statements,e.isPrologueDirective);if(!he.externalModuleIndicator&&!he.commonJsModuleIndicator)return ie(he,_e.ranges,Ve),Gt(Gt([],Ae,!0),_e.all,!0);var Ye=!!he.externalModuleIndicator,Dr=e.getQuotePreference(he,Xe),br=x(ve.oldFileImportsFromNewFile,qe,Ye,Dr);br&&e.insertImports(Ve,he,br,!0),b(he,_e.all,Ve,ve.unusedImportsFromOldFile,De),ie(he,_e.ranges,Ve),M(Ve,Le,he,ve.movedSymbols,qe);var lr=re(he,ve.oldImportsNeededByNewFile,ve.newFileImportsFromOldFile,Ve,De,Ye,Dr),Ar=ne(he,_e.all,ve.oldFileImportsFromNewFile,Ye);return lr.length&&Ar.length?Gt(Gt(Gt(Gt([],Ae,!0),lr,!0),[4],!1),Ar,!0):Gt(Gt(Gt([],Ae,!0),lr,!0),Ar,!0)}function ie(he,ve,Ve){for(var _e=0,Le=ve;_e<Le.length;_e++){var qe=Le[_e],Xe=qe.first,De=qe.afterLast;Ve.deleteNodeRangeExcludingEnd(he,Xe,De)}}function b(he,ve,Ve,_e,Le){for(var qe=0,Xe=he.statements;qe<Xe.length;qe++){var De=Xe[qe];e.contains(ve,De)||w(De,function(Ae){return F(he,Ae,Ve,function(Ye){return _e.has(Le.getSymbolAtLocation(Ye))})})}}function M(he,ve,Ve,_e,Le){for(var qe=ve.getTypeChecker(),Xe=function(Dr){if(Dr===Ve)return\"continue\";for(var br=function(Ke){w(Ke,function(Me){if(qe.getSymbolAtLocation(I(Me))===Ve.symbol){var Hr=function(Fe){var $e=e.isBindingElement(Fe.parent)?e.getPropertySymbolFromBindingElement(qe,Fe.parent):e.skipAlias(qe.getSymbolAtLocation(Fe),qe);return!!$e&&_e.has($e)};F(Dr,Me,he,Hr);var ur=e.combinePaths(e.getDirectoryPath(I(Me).text),Le),gr=m(Me,e.factory.createStringLiteral(ur),Hr);gr&&he.insertNodeAfter(Dr,Ke,gr);var de=S(Me);de&&B(he,Dr,qe,_e,Le,ur,de,Me)}})},lr=0,Ar=Dr.statements;lr<Ar.length;lr++){var kr=Ar[lr];br(kr)}},De=0,Ae=ve.getSourceFiles();De<Ae.length;De++){var Ye=Ae[De];Xe(Ye)}}function S(he){switch(he.kind){case 265:return he.importClause&&he.importClause.namedBindings&&he.importClause.namedBindings.kind===267?he.importClause.namedBindings.name:void 0;case 264:return he.name;case 253:return e.tryCast(he.name,e.isIdentifier);default:return e.Debug.assertNever(he,\"Unexpected node kind \".concat(he.kind))}}function B(he,ve,Ve,_e,Le,qe,Xe,De){var Ae=e.codefix.moduleSpecifierToValidIdentifier(Le,99),Ye=!1,Dr=[];if(e.FindAllReferences.Core.eachSymbolReferenceInFile(Xe,Ve,ve,function(Ke){!e.isPropertyAccessExpression(Ke.parent)||(Ye=Ye||!!Ve.resolveName(Ae,Ke,67108863,!0),_e.has(Ve.getSymbolAtLocation(Ke.parent.name))&&Dr.push(Ke))}),Dr.length){for(var br=Ye?e.getUniqueName(Ae,ve):Ae,lr=0,Ar=Dr;lr<Ar.length;lr++){var kr=Ar[lr];he.replaceNode(ve,kr,e.factory.createIdentifier(br))}he.insertNodeAfter(ve,De,H(De,Le,qe))}}function H(he,ve,Ve){var _e=e.factory.createIdentifier(ve),Le=e.factory.createStringLiteral(Ve);switch(he.kind){case 265:return e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,void 0,e.factory.createNamespaceImport(_e)),Le,void 0);case 264:return e.factory.createImportEqualsDeclaration(void 0,void 0,!1,_e,e.factory.createExternalModuleReference(Le));case 253:return e.factory.createVariableDeclaration(_e,void 0,void 0,Z(Le));default:return e.Debug.assertNever(he,\"Unexpected node kind \".concat(he.kind))}}function I(he){return he.kind===265?he.moduleSpecifier:he.kind===264?he.moduleReference.expression:he.initializer.arguments[0]}function w(he,ve){if(e.isImportDeclaration(he))e.isStringLiteral(he.moduleSpecifier)&&ve(he);else if(e.isImportEqualsDeclaration(he))e.isExternalModuleReference(he.moduleReference)&&e.isStringLiteralLike(he.moduleReference.expression)&&ve(he);else if(e.isVariableStatement(he))for(var Ve=0,_e=he.declarationList.declarations;Ve<_e.length;Ve++){var Le=_e[Ve];Le.initializer&&e.isRequireCall(Le.initializer,!0)&&ve(Le)}}function x(he,ve,Ve,_e){var Le,qe=[];return he.forEach(function(Xe){Xe.escapedName===\"default\"?Le=e.factory.createIdentifier(e.symbolNameNoDefault(Xe)):qe.push(Xe.name)}),O(Le,qe,ve,Ve,_e)}function O(he,ve,Ve,_e,Le){if(Ve=e.ensurePathIsNonModuleName(Ve),_e){var qe=ve.map(function(De){return e.factory.createImportSpecifier(!1,void 0,e.factory.createIdentifier(De))});return e.makeImportIfNecessary(he,qe,Ve,Le)}else{e.Debug.assert(!he,\"No default import should exist\");var Xe=ve.map(function(De){return e.factory.createBindingElement(void 0,void 0,De)});return Xe.length?q(e.factory.createObjectBindingPattern(Xe),void 0,Z(e.factory.createStringLiteral(Ve))):void 0}}function q(he,ve,Ve,_e){return _e===void 0&&(_e=2),e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(he,void 0,ve,Ve)],_e))}function Z(he){return e.factory.createCallExpression(e.factory.createIdentifier(\"require\"),void 0,[he])}function ne(he,ve,Ve,_e){return e.flatMap(ve,function(Le){if(j(Le)&&!Te(he,Le,_e)&&Ce(Le,function(Xe){return Ve.has(e.Debug.checkDefined(Xe.symbol))})){var qe=ge(Le,_e);if(qe)return qe}return Le})}function F(he,ve,Ve,_e){switch(ve.kind){case 265:Q(he,ve,Ve,_e);break;case 264:_e(ve.name)&&Ve.delete(he,ve);break;case 253:V(he,ve,Ve,_e);break;default:e.Debug.assertNever(ve,\"Unexpected import decl kind \".concat(ve.kind))}}function Q(he,ve,Ve,_e){if(!!ve.importClause){var Le=ve.importClause,qe=Le.name,Xe=Le.namedBindings,De=!qe||_e(qe),Ae=!Xe||(Xe.kind===267?_e(Xe.name):Xe.elements.length!==0&&Xe.elements.every(function(lr){return _e(lr.name)}));if(De&&Ae)Ve.delete(he,ve);else if(qe&&De&&Ve.delete(he,qe),Xe){if(Ae)Ve.replaceNode(he,ve.importClause,e.factory.updateImportClause(ve.importClause,ve.importClause.isTypeOnly,qe,void 0));else if(Xe.kind===268)for(var Ye=0,Dr=Xe.elements;Ye<Dr.length;Ye++){var br=Dr[Ye];_e(br.name)&&Ve.delete(he,br)}}}}function V(he,ve,Ve,_e){var Le=ve.name;switch(Le.kind){case 79:_e(Le)&&Ve.delete(he,Le);break;case 201:break;case 200:if(Le.elements.every(function(Ae){return e.isIdentifier(Ae.name)&&_e(Ae.name)}))Ve.delete(he,e.isVariableDeclarationList(ve.parent)&&ve.parent.declarations.length===1?ve.parent.parent:ve);else for(var qe=0,Xe=Le.elements;qe<Xe.length;qe++){var De=Xe[qe];e.isIdentifier(De.name)&&_e(De.name)&&Ve.delete(he,De.name)}break}}function re(he,ve,Ve,_e,Le,qe,Xe){for(var De=[],Ae=0,Ye=he.statements;Ae<Ye.length;Ae++){var Dr=Ye[Ae];w(Dr,function(kr){e.append(De,m(kr,I(kr),function(Ke){return ve.has(Le.getSymbolAtLocation(Ke))}))})}var br,lr=[],Ar=e.nodeSeenTracker();return Ve.forEach(function(kr){if(!!kr.declarations)for(var Ke=0,Me=kr.declarations;Ke<Me.length;Ke++){var Hr=Me[Ke];if(!!ue(Hr)){var ur=Y(Hr);if(!!ur){var gr=U(Hr);Ar(gr)&&K(he,gr,ur,_e,qe),e.hasSyntacticModifier(Hr,512)?br=ur:lr.push(ur.text)}}}}),e.append(De,O(br,lr,e.removeFileExtension(e.getBaseFileName(he.fileName)),qe,Xe)),De}function T(he,ve,Ve,_e){for(var Le=he,qe=1;;qe++){var Xe=e.combinePaths(Ve,Le+ve);if(!_e.fileExists(Xe))return Le;Le=\"\".concat(he,\".\").concat(qe)}}function N(he){return he.forEachEntry(e.symbolNameNoDefault)||\"newFile\"}function y(he,ve,Ve){var _e=new te,Le=new te,qe=new te,Xe=e.find(ve,function(ur){return!!(ur.transformFlags&2)}),De=Hr(Xe);De&&Le.add(De);for(var Ae=0,Ye=ve;Ae<Ye.length;Ae++){var Dr=Ye[Ae];Ce(Dr,function(ur){_e.add(e.Debug.checkDefined(e.isExpressionStatement(ur)?Ve.getSymbolAtLocation(ur.expression.left):ur.symbol,\"Need a symbol here\"))})}for(var br=0,lr=ve;br<lr.length;br++){var Dr=lr[br];P(Dr,Ve,function(gr){if(!!gr.declarations)for(var de=0,Fe=gr.declarations;de<Fe.length;de++){var $e=Fe[de];D($e)?Le.add(gr):ue($e)&&X($e)===he&&!_e.has(gr)&&qe.add(gr)}})}for(var Ar=Le.clone(),kr=new te,Ke=0,Me=he.statements;Ke<Me.length;Ke++){var Dr=Me[Ke];e.contains(ve,Dr)||(De&&!!(Dr.transformFlags&2)&&Ar.delete(De),P(Dr,Ve,function(gr){_e.has(gr)&&kr.add(gr),Ar.delete(gr)}))}return{movedSymbols:_e,newFileImportsFromOldFile:qe,oldFileImportsFromNewFile:kr,oldImportsNeededByNewFile:Le,unusedImportsFromOldFile:Ar};function Hr(ur){if(ur!==void 0){var gr=Ve.getJsxNamespace(ur),de=Ve.resolveName(gr,ur,1920,!0);return!!de&&e.some(de.declarations,D)?de:void 0}}}function D(he){switch(he.kind){case 264:case 269:case 266:case 267:return!0;case 253:return C(he);case 202:return e.isVariableDeclaration(he.parent.parent)&&C(he.parent.parent);default:return!1}}function C(he){return e.isSourceFile(he.parent.parent.parent)&&!!he.initializer&&e.isRequireCall(he.initializer,!0)}function m(he,ve,Ve){switch(he.kind){case 265:{var _e=he.importClause;if(!_e)return;var Le=_e.name&&Ve(_e.name)?_e.name:void 0,qe=_e.namedBindings&&u(_e.namedBindings,Ve);return Le||qe?e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,Le,qe),ve,void 0):void 0}case 264:return Ve(he.name)?he:void 0;case 253:{var Xe=g(he.name,Ve);return Xe?q(Xe,he.type,Z(ve),he.parent.flags):void 0}default:return e.Debug.assertNever(he,\"Unexpected import kind \".concat(he.kind))}}function u(he,ve){if(he.kind===267)return ve(he.name)?he:void 0;var Ve=he.elements.filter(function(_e){return ve(_e.name)});return Ve.length?e.factory.createNamedImports(Ve):void 0}function g(he,ve){switch(he.kind){case 79:return ve(he)?he:void 0;case 201:return he;case 200:{var Ve=he.elements.filter(function(_e){return _e.propertyName||!e.isIdentifier(_e.name)||ve(_e.name)});return Ve.length?e.factory.createObjectBindingPattern(Ve):void 0}}}function P(he,ve,Ve){he.forEachChild(function _e(Le){if(e.isIdentifier(Le)&&!e.isDeclarationName(Le)){var qe=ve.getSymbolAtLocation(Le);qe&&Ve(qe)}else Le.forEachChild(_e)})}var te=function(){function he(){this.map=new e.Map}return he.prototype.add=function(ve){this.map.set(String(e.getSymbolId(ve)),ve)},he.prototype.has=function(ve){return this.map.has(String(e.getSymbolId(ve)))},he.prototype.delete=function(ve){this.map.delete(String(e.getSymbolId(ve)))},he.prototype.forEach=function(ve){this.map.forEach(ve)},he.prototype.forEachEntry=function(ve){return e.forEachEntry(this.map,ve)},he.prototype.clone=function(){var ve=new he;return e.copyEntries(this.map,ve.map),ve},he}();function ue(he){return Se(he)&&e.isSourceFile(he.parent)||e.isVariableDeclaration(he)&&e.isSourceFile(he.parent.parent.parent)}function X(he){return e.isVariableDeclaration(he)?he.parent.parent.parent:he.parent}function j(he){return e.Debug.assert(e.isSourceFile(he.parent),\"Node parent should be a SourceFile\"),Se(he)||e.isVariableStatement(he)}function Se(he){switch(he.kind){case 255:case 256:case 260:case 259:case 258:case 257:case 264:return!0;default:return!1}}function Ce(he,ve){switch(he.kind){case 255:case 256:case 260:case 259:case 258:case 257:case 264:return ve(he);case 236:return e.firstDefined(he.declarationList.declarations,function(_e){return R(_e.name,ve)});case 237:{var Ve=he.expression;return e.isBinaryExpression(Ve)&&e.getAssignmentDeclarationKind(Ve)===1?ve(he):void 0}}}function R(he,ve){switch(he.kind){case 79:return ve(e.cast(he.parent,function(Ve){return e.isVariableDeclaration(Ve)||e.isBindingElement(Ve)}));case 201:case 200:return e.firstDefined(he.elements,function(Ve){return e.isOmittedExpression(Ve)?void 0:R(Ve.name,ve)});default:return e.Debug.assertNever(he,\"Unexpected name kind \".concat(he.kind))}}function Y(he){return e.isExpressionStatement(he)?e.tryCast(he.expression.left.name,e.isIdentifier):e.tryCast(he.name,e.isIdentifier)}function U(he){switch(he.kind){case 253:return he.parent.parent;case 202:return U(e.cast(he.parent.parent,function(ve){return e.isVariableDeclaration(ve)||e.isBindingElement(ve)}));default:return he}}function K(he,ve,Ve,_e,Le){if(!Te(he,ve,Le,Ve))if(Le)e.isExpressionStatement(ve)||_e.insertExportModifier(he,ve);else{var qe=Ie(ve);qe.length!==0&&_e.insertNodesAfter(he,ve,qe.map(Ge))}}function Te(he,ve,Ve,_e){var Le;return Ve?!e.isExpressionStatement(ve)&&e.hasSyntacticModifier(ve,1)||!!(_e&&((Le=he.symbol.exports)===null||Le===void 0?void 0:Le.has(_e.escapedText))):Ie(ve).some(function(qe){return he.symbol.exports.has(e.escapeLeadingUnderscores(qe))})}function ge(he,ve){return ve?[ke(he)]:Pe(he)}function ke(he){var ve=e.concatenate([e.factory.createModifier(93)],he.modifiers);switch(he.kind){case 255:return e.factory.updateFunctionDeclaration(he,he.decorators,ve,he.asteriskToken,he.name,he.typeParameters,he.parameters,he.type,he.body);case 256:return e.factory.updateClassDeclaration(he,he.decorators,ve,he.name,he.typeParameters,he.heritageClauses,he.members);case 236:return e.factory.updateVariableStatement(he,ve,he.declarationList);case 260:return e.factory.updateModuleDeclaration(he,he.decorators,ve,he.name,he.body);case 259:return e.factory.updateEnumDeclaration(he,he.decorators,ve,he.name,he.members);case 258:return e.factory.updateTypeAliasDeclaration(he,he.decorators,ve,he.name,he.typeParameters,he.type);case 257:return e.factory.updateInterfaceDeclaration(he,he.decorators,ve,he.name,he.typeParameters,he.heritageClauses,he.members);case 264:return e.factory.updateImportEqualsDeclaration(he,he.decorators,ve,he.isTypeOnly,he.name,he.moduleReference);case 237:return e.Debug.fail();default:return e.Debug.assertNever(he,\"Unexpected declaration kind \".concat(he.kind))}}function Pe(he){return Gt([he],Ie(he).map(Ge),!0)}function Ie(he){switch(he.kind){case 255:case 256:return[he.name.text];case 236:return e.mapDefined(he.declarationList.declarations,function(ve){return e.isIdentifier(ve.name)?ve.name.text:void 0});case 260:case 259:case 258:case 257:case 264:return e.emptyArray;case 237:return e.Debug.fail(\"Can't export an ExpressionStatement\");default:return e.Debug.assertNever(he,\"Unexpected decl kind \".concat(he.kind))}}function Ge(he){return e.factory.createExpressionStatement(e.factory.createBinaryExpression(e.factory.createPropertyAccessExpression(e.factory.createIdentifier(\"exports\"),e.factory.createIdentifier(he)),63,e.factory.createIdentifier(he)))}})(e.refactor||(e.refactor={}))}(jr||(jr={})),function(e){(function(n){(function(f){var p=\"Add or remove braces in an arrow function\",a=e.Diagnostics.Add_or_remove_braces_in_an_arrow_function.message,d={name:\"Add braces to arrow function\",description:e.Diagnostics.Add_braces_to_arrow_function.message,kind:\"refactor.rewrite.arrow.braces.add\"},k={name:\"Remove braces from arrow function\",description:e.Diagnostics.Remove_braces_from_arrow_function.message,kind:\"refactor.rewrite.arrow.braces.remove\"};n.registerRefactor(p,{kinds:[k.kind],getEditsForAction:h,getAvailableActions:J});function J(A){var z=A.file,ie=A.startPosition,b=A.triggerReason,M=v(z,ie,b===\"invoked\");return M?n.isRefactorErrorInfo(M)?A.preferences.provideRefactorNotApplicableReason?[{name:p,description:a,actions:[Rn(Rn({},d),{notApplicableReason:M.error}),Rn(Rn({},k),{notApplicableReason:M.error})]}]:e.emptyArray:[{name:p,description:a,actions:[M.addBraces?d:k]}]:e.emptyArray}function h(A,z){var ie=A.file,b=A.startPosition,M=v(ie,b);e.Debug.assert(M&&!n.isRefactorErrorInfo(M),\"Expected applicable refactor info\");var S=M.expression,B=M.returnStatement,H=M.func,I;if(z===d.name){var w=e.factory.createReturnStatement(S);I=e.factory.createBlock([w],!0),e.copyLeadingComments(S,w,ie,3,!0)}else if(z===k.name&&B){var x=S||e.factory.createVoidZero();I=e.needsParentheses(x)?e.factory.createParenthesizedExpression(x):x,e.copyTrailingAsLeadingComments(B,I,ie,3,!1),e.copyLeadingComments(B,I,ie,3,!1),e.copyTrailingComments(B,I,ie,3,!1)}else e.Debug.fail(\"invalid action\");var O=e.textChanges.ChangeTracker.with(A,function(q){q.replaceNode(ie,H.body,I)});return{renameFilename:void 0,renameLocation:void 0,edits:O}}function v(A,z,ie,b){ie===void 0&&(ie=!0);var M=e.getTokenAtPosition(A,z),S=e.getContainingFunction(M);if(!S)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_a_containing_arrow_function)};if(!e.isArrowFunction(S))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Containing_function_is_not_an_arrow_function)};if(!(!e.rangeContainsRange(S,M)||e.rangeContainsRange(S.body,M)&&!ie)){if(n.refactorKindBeginsWith(d.kind,b)&&e.isExpression(S.body))return{func:S,addBraces:!0,expression:S.body};if(n.refactorKindBeginsWith(k.kind,b)&&e.isBlock(S.body)&&S.body.statements.length===1){var B=e.first(S.body.statements);if(e.isReturnStatement(B))return{func:S,addBraces:!1,expression:B.expression,returnStatement:B}}}}})(n.addOrRemoveBracesToArrowFunction||(n.addOrRemoveBracesToArrowFunction={}))})(e.refactor||(e.refactor={}))}(jr||(jr={})),function(e){(function(n){(function(f){var p=\"Convert parameters to destructured object\",a=2,d=e.getLocaleSpecificMessage(e.Diagnostics.Convert_parameters_to_destructured_object),k={name:p,description:d,kind:\"refactor.rewrite.parameters.toDestructured\"};n.registerRefactor(p,{kinds:[k.kind],getEditsForAction:h,getAvailableActions:J});function J(u){var g=u.file,P=u.startPosition,te=e.isSourceFileJS(g);if(te)return e.emptyArray;var ue=H(g,P,u.program.getTypeChecker());return ue?[{name:p,description:d,actions:[k]}]:e.emptyArray}function h(u,g){e.Debug.assert(g===p,\"Unexpected action name\");var P=u.file,te=u.startPosition,ue=u.program,X=u.cancellationToken,j=u.host,Se=H(P,te,ue.getTypeChecker());if(!(!Se||!X)){var Ce=A(Se,ue,X);if(Ce.valid){var R=e.textChanges.ChangeTracker.with(u,function(Y){return v(P,ue,j,Y,Se,Ce)});return{renameFilename:void 0,renameLocation:void 0,edits:R}}return{edits:[]}}}function v(u,g,P,te,ue,X){var j=X.signature,Se=e.map(y(ue,g,P),function(ke){return e.getSynthesizedDeepClone(ke)});if(j){var Ce=e.map(y(j,g,P),function(ke){return e.getSynthesizedDeepClone(ke)});ge(j,Ce)}ge(ue,Se);for(var R=e.sortAndDeduplicate(X.functionCalls,function(ke,Pe){return e.compareValues(ke.pos,Pe.pos)}),Y=0,U=R;Y<U.length;Y++){var K=U[Y];if(K.arguments&&K.arguments.length){var Te=e.getSynthesizedDeepClone(N(ue,K.arguments),!0);te.replaceNodeRange(e.getSourceFileOfNode(K),e.first(K.arguments),e.last(K.arguments),Te,{leadingTriviaOption:e.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Include})}}function ge(ke,Pe){te.replaceNodeRangeWithNodes(u,e.first(ke.parameters),e.last(ke.parameters),Pe,{joiner:\", \",indentation:0,leadingTriviaOption:e.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Include})}}function A(u,g,P){var te=m(u),ue=e.isConstructorDeclaration(u)?C(u):[],X=e.deduplicate(Gt(Gt([],te,!0),ue,!0),e.equateValues),j=g.getTypeChecker(),Se=e.flatMap(X,function(U){return e.FindAllReferences.getReferenceEntriesForNode(-1,U,g,g.getSourceFiles(),P)}),Ce=R(Se);return e.every(Ce.declarations,function(U){return e.contains(X,U)})||(Ce.valid=!1),Ce;function R(U){for(var K={accessExpressions:[],typeUsages:[]},Te={functionCalls:[],declarations:[],classReferences:K,valid:!0},ge=e.map(te,Y),ke=e.map(ue,Y),Pe=e.isConstructorDeclaration(u),Ie=e.map(te,function(Ae){return z(Ae,j)}),Ge=0,he=U;Ge<he.length;Ge++){var ve=he[Ge];if(ve.kind===0){Te.valid=!1;continue}if(e.contains(Ie,Y(ve.node))){if(w(ve.node.parent)){Te.signature=ve.node.parent;continue}var Ve=M(ve);if(Ve){Te.functionCalls.push(Ve);continue}}var _e=z(ve.node,j);if(_e&&e.contains(Ie,_e)){var Le=b(ve);if(Le){Te.declarations.push(Le);continue}}if(e.contains(ge,Y(ve.node))||e.isNewExpressionTarget(ve.node)){var qe=ie(ve);if(qe)continue;var Le=b(ve);if(Le){Te.declarations.push(Le);continue}var Ve=M(ve);if(Ve){Te.functionCalls.push(Ve);continue}}if(Pe&&e.contains(ke,Y(ve.node))){var qe=ie(ve);if(qe)continue;var Le=b(ve);if(Le){Te.declarations.push(Le);continue}var Xe=S(ve);if(Xe){K.accessExpressions.push(Xe);continue}if(e.isClassDeclaration(u.parent)){var De=B(ve);if(De){K.typeUsages.push(De);continue}}}Te.valid=!1}return Te}function Y(U){var K=j.getSymbolAtLocation(U);return K&&e.getSymbolTarget(K,j)}}function z(u,g){var P=e.getContainingObjectLiteralElement(u);if(P){var te=g.getContextualTypeForObjectLiteralElement(P),ue=te==null?void 0:te.getSymbol();if(ue&&!(e.getCheckFlags(ue)&6))return ue}}function ie(u){var g=u.node;if(e.isImportSpecifier(g.parent)||e.isImportClause(g.parent)||e.isImportEqualsDeclaration(g.parent)||e.isNamespaceImport(g.parent)||e.isExportSpecifier(g.parent)||e.isExportAssignment(g.parent))return g}function b(u){if(e.isDeclaration(u.node.parent))return u.node}function M(u){if(u.node.parent){var g=u.node,P=g.parent;switch(P.kind){case 207:case 208:var te=e.tryCast(P,e.isCallOrNewExpression);if(te&&te.expression===g)return te;break;case 205:var ue=e.tryCast(P,e.isPropertyAccessExpression);if(ue&&ue.parent&&ue.name===g){var X=e.tryCast(ue.parent,e.isCallOrNewExpression);if(X&&X.expression===ue)return X}break;case 206:var j=e.tryCast(P,e.isElementAccessExpression);if(j&&j.parent&&j.argumentExpression===g){var Se=e.tryCast(j.parent,e.isCallOrNewExpression);if(Se&&Se.expression===j)return Se}break}}}function S(u){if(u.node.parent){var g=u.node,P=g.parent;switch(P.kind){case 205:var te=e.tryCast(P,e.isPropertyAccessExpression);if(te&&te.expression===g)return te;break;case 206:var ue=e.tryCast(P,e.isElementAccessExpression);if(ue&&ue.expression===g)return ue;break}}}function B(u){var g=u.node;if(e.getMeaningFromLocation(g)===2||e.isExpressionWithTypeArgumentsInClassExtendsClause(g.parent))return g}function H(u,g,P){var te=e.getTouchingToken(u,g),ue=e.getContainingFunctionDeclaration(te);if(!I(te)&&ue&&x(ue,P)&&e.rangeContainsRange(ue,te)&&!(ue.body&&e.rangeContainsRange(ue.body,te)))return ue}function I(u){var g=e.findAncestor(u,e.isJSDocNode);if(g){var P=e.findAncestor(g,function(te){return!e.isJSDocNode(te)});return!!P&&e.isFunctionLikeDeclaration(P)}return!1}function w(u){return e.isMethodSignature(u)&&(e.isInterfaceDeclaration(u.parent)||e.isTypeLiteralNode(u.parent))}function x(u,g){var P;if(!Z(u.parameters,g))return!1;switch(u.kind){case 255:return q(u)&&O(u,g);case 168:if(e.isObjectLiteralExpression(u.parent)){var te=z(u.name,g);return((P=te==null?void 0:te.declarations)===null||P===void 0?void 0:P.length)===1&&O(u,g)}return O(u,g);case 170:return e.isClassDeclaration(u.parent)?q(u.parent)&&O(u,g):F(u.parent.parent)&&O(u,g);case 212:case 213:return F(u.parent)}return!1}function O(u,g){return!!u.body&&!g.isImplementationOfOverload(u)}function q(u){if(!u.name){var g=e.findModifier(u,88);return!!g}return!0}function Z(u,g){return V(u)>=a&&e.every(u,function(P){return ne(P,g)})}function ne(u,g){if(e.isRestParameter(u)){var P=g.getTypeAtLocation(u);if(!g.isArrayType(P)&&!g.isTupleType(P))return!1}return!u.modifiers&&!u.decorators&&e.isIdentifier(u.name)}function F(u){return e.isVariableDeclaration(u)&&e.isVarConst(u)&&e.isIdentifier(u.name)&&!u.type}function Q(u){return u.length>0&&e.isThis(u[0].name)}function V(u){return Q(u)?u.length-1:u.length}function re(u){return Q(u)&&(u=e.factory.createNodeArray(u.slice(1),u.hasTrailingComma)),u}function T(u,g){return e.isIdentifier(g)&&e.getTextOfIdentifierOrLiteral(g)===u?e.factory.createShorthandPropertyAssignment(u):e.factory.createPropertyAssignment(u,g)}function N(u,g){var P=re(u.parameters),te=e.isRestParameter(e.last(P)),ue=te?g.slice(0,P.length-1):g,X=e.map(ue,function(R,Y){var U=D(P[Y]),K=T(U,R);return e.suppressLeadingAndTrailingTrivia(K.name),e.isPropertyAssignment(K)&&e.suppressLeadingAndTrailingTrivia(K.initializer),e.copyComments(R,K),K});if(te&&g.length>=P.length){var j=g.slice(P.length-1),Se=e.factory.createPropertyAssignment(D(e.last(P)),e.factory.createArrayLiteralExpression(j));X.push(Se)}var Ce=e.factory.createObjectLiteralExpression(X,!1);return Ce}function y(u,g,P){var te=g.getTypeChecker(),ue=re(u.parameters),X=e.map(ue,K),j=e.factory.createObjectBindingPattern(X),Se=Te(ue),Ce;e.every(ue,Pe)&&(Ce=e.factory.createObjectLiteralExpression());var R=e.factory.createParameterDeclaration(void 0,void 0,void 0,j,void 0,Se,Ce);if(Q(u.parameters)){var Y=u.parameters[0],U=e.factory.createParameterDeclaration(void 0,void 0,void 0,Y.name,void 0,Y.type);return e.suppressLeadingAndTrailingTrivia(U.name),e.copyComments(Y.name,U.name),Y.type&&(e.suppressLeadingAndTrailingTrivia(U.type),e.copyComments(Y.type,U.type)),e.factory.createNodeArray([U,R])}return e.factory.createNodeArray([R]);function K(Ie){var Ge=e.factory.createBindingElement(void 0,void 0,D(Ie),e.isRestParameter(Ie)&&Pe(Ie)?e.factory.createArrayLiteralExpression():Ie.initializer);return e.suppressLeadingAndTrailingTrivia(Ge),Ie.initializer&&Ge.initializer&&e.copyComments(Ie.initializer,Ge.initializer),Ge}function Te(Ie){var Ge=e.map(Ie,ge),he=e.addEmitFlags(e.factory.createTypeLiteralNode(Ge),1);return he}function ge(Ie){var Ge=Ie.type;!Ge&&(Ie.initializer||e.isRestParameter(Ie))&&(Ge=ke(Ie));var he=e.factory.createPropertySignature(void 0,D(Ie),Pe(Ie)?e.factory.createToken(57):Ie.questionToken,Ge);return e.suppressLeadingAndTrailingTrivia(he),e.copyComments(Ie.name,he.name),Ie.type&&he.type&&e.copyComments(Ie.type,he.type),he}function ke(Ie){var Ge=te.getTypeAtLocation(Ie);return e.getTypeNodeIfAccessible(Ge,Ie,g,P)}function Pe(Ie){if(e.isRestParameter(Ie)){var Ge=te.getTypeAtLocation(Ie);return!te.isTupleType(Ge)}return te.isOptionalParameter(Ie)}}function D(u){return e.getTextOfIdentifierOrLiteral(u.name)}function C(u){switch(u.parent.kind){case 256:var g=u.parent;if(g.name)return[g.name];var P=e.Debug.checkDefined(e.findModifier(g,88),\"Nameless class declaration should be a default export\");return[P];case 225:var te=u.parent,ue=u.parent.parent,X=te.name;return X?[X,ue.name]:[ue.name]}}function m(u){switch(u.kind){case 255:if(u.name)return[u.name];var g=e.Debug.checkDefined(e.findModifier(u,88),\"Nameless function declaration should be a default export\");return[g];case 168:return[u.name];case 170:var P=e.Debug.checkDefined(e.findChildOfKind(u,134,u.getSourceFile()),\"Constructor declaration should have constructor keyword\");if(u.parent.kind===225){var te=u.parent.parent;return[te.name,P]}return[P];case 213:return[u.parent.name];case 212:return u.name?[u.name,u.parent.name]:[u.parent.name];default:return e.Debug.assertNever(u,\"Unexpected function declaration kind \".concat(u.kind))}}})(n.convertParamsToDestructuredObject||(n.convertParamsToDestructuredObject={}))})(e.refactor||(e.refactor={}))}(jr||(jr={})),function(e){(function(n){(function(f){var p=\"Convert to template string\",a=e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_template_string),d={name:p,description:a,kind:\"refactor.rewrite.string\"};n.registerRefactor(p,{kinds:[d.kind],getEditsForAction:h,getAvailableActions:k});function k(O){var q=O.file,Z=O.startPosition,ne=J(q,Z),F=z(ne),Q={name:p,description:a,actions:[]};return e.isBinaryExpression(F)&&ie(F).isValidConcatenation?(Q.actions.push(d),[Q]):O.preferences.provideRefactorNotApplicableReason?(Q.actions.push(Rn(Rn({},d),{notApplicableReason:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_string_concatenation)})),[Q]):e.emptyArray}function J(O,q){var Z=e.getTokenAtPosition(O,q),ne=z(Z),F=!ie(ne).isValidConcatenation;return F&&e.isParenthesizedExpression(ne.parent)&&e.isBinaryExpression(ne.parent.parent)?ne.parent.parent:Z}function h(O,q){var Z=O.file,ne=O.startPosition,F=J(Z,ne);switch(q){case a:return{edits:v(O,F)};default:return e.Debug.fail(\"invalid action\")}}function v(O,q){var Z=z(q),ne=O.file,F=I(ie(Z),ne),Q=e.getTrailingCommentRanges(ne.text,Z.end);if(Q){var V=Q[Q.length-1],re={pos:Q[0].pos,end:V.end};return e.textChanges.ChangeTracker.with(O,function(T){T.deleteRange(ne,re),T.replaceNode(ne,Z,F)})}else return e.textChanges.ChangeTracker.with(O,function(T){return T.replaceNode(ne,Z,F)})}function A(O){return O.operatorToken.kind!==63}function z(O){var q=e.findAncestor(O.parent,function(Z){switch(Z.kind){case 205:case 206:return!1;case 222:case 220:return!(e.isBinaryExpression(Z.parent)&&A(Z.parent));default:return\"quit\"}});return q||O}function ie(O){var q=function(re){if(!e.isBinaryExpression(re))return{nodes:[re],operators:[],validOperators:!0,hasString:e.isStringLiteral(re)||e.isNoSubstitutionTemplateLiteral(re)};var T=q(re.left),N=T.nodes,y=T.operators,D=T.hasString,C=T.validOperators;if(!(D||e.isStringLiteral(re.right)||e.isTemplateExpression(re.right)))return{nodes:[re],operators:[],hasString:!1,validOperators:!0};var m=re.operatorToken.kind===39,u=C&&m;return N.push(re.right),y.push(re.operatorToken),{nodes:N,operators:y,hasString:!0,validOperators:u}},Z=q(O),ne=Z.nodes,F=Z.operators,Q=Z.validOperators,V=Z.hasString;return{nodes:ne,operators:F,isValidConcatenation:Q&&V}}var b=function(O,q){return function(Z,ne){Z<O.length&&e.copyTrailingComments(O[Z],ne,q,3,!1)}},M=function(O,q,Z){return function(ne,F){for(;ne.length>0;){var Q=ne.shift();e.copyTrailingComments(O[Q],F,q,3,!1),Z(Q,F)}}};function S(O){return O.replace(/\\\\.|[$`]/g,function(q){return q[0]===\"\\\\\"?q:\"\\\\\"+q})}function B(O){var q=e.isTemplateHead(O)||e.isTemplateMiddle(O)?-2:-1;return e.getTextOfNode(O).slice(1,q)}function H(O,q){for(var Z=[],ne=\"\",F=\"\";O<q.length;){var Q=q[O];if(e.isStringLiteralLike(Q))ne+=Q.text,F+=S(e.getTextOfNode(Q).slice(1,-1)),Z.push(O),O++;else if(e.isTemplateExpression(Q)){ne+=Q.head.text,F+=B(Q.head);break}else break}return[O,ne,F,Z]}function I(O,q){var Z=O.nodes,ne=O.operators,F=b(ne,q),Q=M(Z,q,F),V=H(0,Z),re=V[0],T=V[1],N=V[2],y=V[3];if(re===Z.length){var D=e.factory.createNoSubstitutionTemplateLiteral(T,N);return Q(y,D),D}var C=[],m=e.factory.createTemplateHead(T,N);Q(y,m);for(var u=function(te){var ue=x(Z[te]);F(te,ue);var X=H(te+1,Z),j=X[0],Se=X[1],Ce=X[2],R=X[3];te=j-1;var Y=te===Z.length-1;if(e.isTemplateExpression(ue)){var U=e.map(ue.templateSpans,function(Te,ge){w(Te);var ke=ge===ue.templateSpans.length-1,Pe=Te.literal.text+(ke?Se:\"\"),Ie=B(Te.literal)+(ke?Ce:\"\");return e.factory.createTemplateSpan(Te.expression,Y?e.factory.createTemplateTail(Pe,Ie):e.factory.createTemplateMiddle(Pe,Ie))});C.push.apply(C,U)}else{var K=Y?e.factory.createTemplateTail(Se,Ce):e.factory.createTemplateMiddle(Se,Ce);Q(R,K),C.push(e.factory.createTemplateSpan(ue,K))}g=te},g,P=re;P<Z.length;P++)u(P),P=g;return e.factory.createTemplateExpression(m,C)}function w(O){var q=O.getSourceFile();e.copyTrailingComments(O,O.expression,q,3,!1),e.copyTrailingAsLeadingComments(O.expression,O.expression,q,3,!1)}function x(O){return e.isParenthesizedExpression(O)&&(w(O),O=O.expression),O}})(n.convertStringOrTemplateLiteral||(n.convertStringOrTemplateLiteral={}))})(e.refactor||(e.refactor={}))}(jr||(jr={})),function(e){(function(n){(function(f){var p=\"Convert arrow function or function expression\",a=e.getLocaleSpecificMessage(e.Diagnostics.Convert_arrow_function_or_function_expression),d={name:\"Convert to anonymous function\",description:e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_anonymous_function),kind:\"refactor.rewrite.function.anonymous\"},k={name:\"Convert to named function\",description:e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_named_function),kind:\"refactor.rewrite.function.named\"},J={name:\"Convert to arrow function\",description:e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_arrow_function),kind:\"refactor.rewrite.function.arrow\"};n.registerRefactor(p,{kinds:[d.kind,k.kind,J.kind],getEditsForAction:v,getAvailableActions:h});function h(O){var q=O.file,Z=O.startPosition,ne=O.program,F=O.kind,Q=z(q,Z,ne);if(!Q)return e.emptyArray;var V=Q.selectedVariableDeclaration,re=Q.func,T=[],N=[];if(n.refactorKindBeginsWith(k.kind,F)){var y=V||e.isArrowFunction(re)&&e.isVariableDeclaration(re.parent)?void 0:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_convert_to_named_function);y?N.push(Rn(Rn({},k),{notApplicableReason:y})):T.push(k)}if(n.refactorKindBeginsWith(d.kind,F)){var y=!V&&e.isArrowFunction(re)?void 0:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_convert_to_anonymous_function);y?N.push(Rn(Rn({},d),{notApplicableReason:y})):T.push(d)}if(n.refactorKindBeginsWith(J.kind,F)){var y=e.isFunctionExpression(re)?void 0:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_convert_to_arrow_function);y?N.push(Rn(Rn({},J),{notApplicableReason:y})):T.push(J)}return[{name:p,description:a,actions:T.length===0&&O.preferences.provideRefactorNotApplicableReason?N:T}]}function v(O,q){var Z=O.file,ne=O.startPosition,F=O.program,Q=z(Z,ne,F);if(!!Q){var V=Q.func,re=[];switch(q){case d.name:re.push.apply(re,B(O,V));break;case k.name:var T=S(V);if(!T)return;re.push.apply(re,H(O,V,T));break;case J.name:if(!e.isFunctionExpression(V))return;re.push.apply(re,I(O,V));break;default:return e.Debug.fail(\"invalid action\")}return{renameFilename:void 0,renameLocation:void 0,edits:re}}}function A(O){var q=!1;return O.forEachChild(function Z(ne){if(e.isThis(ne)){q=!0;return}!e.isClassLike(ne)&&!e.isFunctionDeclaration(ne)&&!e.isFunctionExpression(ne)&&e.forEachChild(ne,Z)}),q}function z(O,q,Z){var ne=e.getTokenAtPosition(O,q),F=Z.getTypeChecker(),Q=b(O,F,ne.parent);if(Q&&!A(Q.body)&&!F.containsArgumentsReference(Q))return{selectedVariableDeclaration:!0,func:Q};var V=e.getContainingFunction(ne);if(V&&(e.isFunctionExpression(V)||e.isArrowFunction(V))&&!e.rangeContainsRange(V.body,ne)&&!A(V.body)&&!F.containsArgumentsReference(V))return e.isFunctionExpression(V)&&x(O,F,V)?void 0:{selectedVariableDeclaration:!1,func:V}}function ie(O){return e.isVariableDeclaration(O)||e.isVariableDeclarationList(O)&&O.declarations.length===1}function b(O,q,Z){if(!!ie(Z)){var ne=e.isVariableDeclaration(Z)?Z:e.first(Z.declarations),F=ne.initializer;if(F&&(e.isArrowFunction(F)||e.isFunctionExpression(F)&&!x(O,q,F)))return F}}function M(O){if(e.isExpression(O)){var q=e.factory.createReturnStatement(O),Z=O.getSourceFile();return e.suppressLeadingAndTrailingTrivia(q),e.copyTrailingAsLeadingComments(O,q,Z,void 0,!0),e.factory.createBlock([q],!0)}else return O}function S(O){var q=O.parent;if(!(!e.isVariableDeclaration(q)||!e.isVariableDeclarationInVariableStatement(q))){var Z=q.parent,ne=Z.parent;if(!(!e.isVariableDeclarationList(Z)||!e.isVariableStatement(ne)||!e.isIdentifier(q.name)))return{variableDeclaration:q,variableDeclarationList:Z,statement:ne,name:q.name}}}function B(O,q){var Z=O.file,ne=M(q.body),F=e.factory.createFunctionExpression(q.modifiers,q.asteriskToken,void 0,q.typeParameters,q.parameters,q.type,ne);return e.textChanges.ChangeTracker.with(O,function(Q){return Q.replaceNode(Z,q,F)})}function H(O,q,Z){var ne=O.file,F=M(q.body),Q=Z.variableDeclaration,V=Z.variableDeclarationList,re=Z.statement,T=Z.name;e.suppressLeadingTrivia(re);var N=e.getCombinedModifierFlags(Q)&1|e.getEffectiveModifierFlags(q),y=e.factory.createModifiersFromModifierFlags(N),D=e.factory.createFunctionDeclaration(q.decorators,e.length(y)?y:void 0,q.asteriskToken,T,q.typeParameters,q.parameters,q.type,F);return V.declarations.length===1?e.textChanges.ChangeTracker.with(O,function(C){return C.replaceNode(ne,re,D)}):e.textChanges.ChangeTracker.with(O,function(C){C.delete(ne,Q),C.insertNodeAfter(ne,re,D)})}function I(O,q){var Z=O.file,ne=q.body.statements,F=ne[0],Q;w(q.body,F)?(Q=F.expression,e.suppressLeadingAndTrailingTrivia(Q),e.copyComments(F,Q)):Q=q.body;var V=e.factory.createArrowFunction(q.modifiers,q.typeParameters,q.parameters,q.type,e.factory.createToken(38),Q);return e.textChanges.ChangeTracker.with(O,function(re){return re.replaceNode(Z,q,V)})}function w(O,q){return O.statements.length===1&&e.isReturnStatement(q)&&!!q.expression}function x(O,q,Z){return!!Z.name&&e.FindAllReferences.Core.isSymbolReferencedInFile(Z.name,q,O)}})(n.convertArrowFunctionOrFunctionExpression||(n.convertArrowFunctionOrFunctionExpression={}))})(e.refactor||(e.refactor={}))}(jr||(jr={})),function(e){(function(n){(function(f){var p=\"Infer function return type\",a=e.Diagnostics.Infer_function_return_type.message,d={name:p,description:a,kind:\"refactor.rewrite.function.returnType\"};n.registerRefactor(p,{kinds:[d.kind],getEditsForAction:k,getAvailableActions:J});function k(ie){var b=v(ie);if(b&&!n.isRefactorErrorInfo(b)){var M=e.textChanges.ChangeTracker.with(ie,function(S){return h(ie.file,S,b.declaration,b.returnTypeNode)});return{renameFilename:void 0,renameLocation:void 0,edits:M}}}function J(ie){var b=v(ie);return b?n.isRefactorErrorInfo(b)?ie.preferences.provideRefactorNotApplicableReason?[{name:p,description:a,actions:[Rn(Rn({},d),{notApplicableReason:b.error})]}]:e.emptyArray:[{name:p,description:a,actions:[d]}]:e.emptyArray}function h(ie,b,M,S){var B=e.findChildOfKind(M,21,ie),H=e.isArrowFunction(M)&&B===void 0,I=H?e.first(M.parameters):B;I&&(H&&(b.insertNodeBefore(ie,I,e.factory.createToken(20)),b.insertNodeAfter(ie,I,e.factory.createToken(21))),b.insertNodeAt(ie,I.end,S,{prefix:\": \"}))}function v(ie){if(!(e.isInJSFile(ie.file)||!n.refactorKindBeginsWith(d.kind,ie.kind))){var b=e.getTokenAtPosition(ie.file,ie.startPosition),M=e.findAncestor(b,function(I){return e.isBlock(I)||I.parent&&e.isArrowFunction(I.parent)&&(I.kind===38||I.parent.body===I)?\"quit\":A(I)});if(!M||!M.body||M.type)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Return_type_must_be_inferred_from_a_function)};var S=ie.program.getTypeChecker(),B=z(S,M);if(!B)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_determine_function_return_type)};var H=S.typeToTypeNode(B,M,1);if(H)return{declaration:M,returnTypeNode:H}}}function A(ie){switch(ie.kind){case 255:case 212:case 213:case 168:return!0;default:return!1}}function z(ie,b){if(ie.isImplementationOfOverload(b)){var M=ie.getTypeAtLocation(b).getCallSignatures();if(M.length>1)return ie.getUnionType(e.mapDefined(M,function(B){return B.getReturnType()}))}var S=ie.getSignatureFromDeclaration(b);if(S)return ie.getReturnTypeOfSignature(S)}})(n.inferFunctionReturnType||(n.inferFunctionReturnType={}))})(e.refactor||(e.refactor={}))}(jr||(jr={})),function(e){e.servicesVersion=\"0.8\";function n(Y,U,K,Te){var ge=e.isNodeKind(Y)?new f(Y,U,K):Y===79?new v(79,U,K):Y===80?new A(80,U,K):new h(Y,U,K);return ge.parent=Te,ge.flags=Te.flags&25358336,ge}var f=function(){function Y(U,K,Te){this.pos=K,this.end=Te,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=U}return Y.prototype.assertHasRealPosition=function(U){e.Debug.assert(!e.positionIsSynthesized(this.pos)&&!e.positionIsSynthesized(this.end),U||\"Node must have a real position for this operation\")},Y.prototype.getSourceFile=function(){return e.getSourceFileOfNode(this)},Y.prototype.getStart=function(U,K){return this.assertHasRealPosition(),e.getTokenPosOfNode(this,U,K)},Y.prototype.getFullStart=function(){return this.assertHasRealPosition(),this.pos},Y.prototype.getEnd=function(){return this.assertHasRealPosition(),this.end},Y.prototype.getWidth=function(U){return this.assertHasRealPosition(),this.getEnd()-this.getStart(U)},Y.prototype.getFullWidth=function(){return this.assertHasRealPosition(),this.end-this.pos},Y.prototype.getLeadingTriviaWidth=function(U){return this.assertHasRealPosition(),this.getStart(U)-this.pos},Y.prototype.getFullText=function(U){return this.assertHasRealPosition(),(U||this.getSourceFile()).text.substring(this.pos,this.end)},Y.prototype.getText=function(U){return this.assertHasRealPosition(),U||(U=this.getSourceFile()),U.text.substring(this.getStart(U),this.getEnd())},Y.prototype.getChildCount=function(U){return this.getChildren(U).length},Y.prototype.getChildAt=function(U,K){return this.getChildren(K)[U]},Y.prototype.getChildren=function(U){return 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\"),this._children||(this._children=p(this,U))},Y.prototype.getFirstToken=function(U){this.assertHasRealPosition();var K=this.getChildren(U);if(!!K.length){var Te=e.find(K,function(ge){return ge.kind<307||ge.kind>345});return Te.kind<160?Te:Te.getFirstToken(U)}},Y.prototype.getLastToken=function(U){this.assertHasRealPosition();var K=this.getChildren(U),Te=e.lastOrUndefined(K);if(!!Te)return Te.kind<160?Te:Te.getLastToken(U)},Y.prototype.forEachChild=function(U,K){return e.forEachChild(this,U,K)},Y}();function p(Y,U){if(!e.isNodeKind(Y.kind))return e.emptyArray;var K=[];if(e.isJSDocCommentContainingNode(Y))return Y.forEachChild(function(Pe){K.push(Pe)}),K;e.scanner.setText((U||Y.getSourceFile()).text);var Te=Y.pos,ge=function(Pe){a(K,Te,Pe.pos,Y),K.push(Pe),Te=Pe.end},ke=function(Pe){a(K,Te,Pe.pos,Y),K.push(d(Pe,Y)),Te=Pe.end};return e.forEach(Y.jsDoc,ge),Te=Y.pos,Y.forEachChild(ge,ke),a(K,Te,Y.end,Y),e.scanner.setText(void 0),K}function a(Y,U,K,Te){for(e.scanner.setTextPos(U);U<K;){var ge=e.scanner.scan(),ke=e.scanner.getTextPos();if(ke<=K&&(ge===79&&e.Debug.fail(\"Did not expect \".concat(e.Debug.formatSyntaxKind(Te.kind),\" to have an Identifier in its trivia\")),Y.push(n(ge,U,ke,Te))),U=ke,ge===1)break}}function d(Y,U){var K=n(346,Y.pos,Y.end,U);K._children=[];for(var Te=Y.pos,ge=0,ke=Y;ge<ke.length;ge++){var Pe=ke[ge];a(K._children,Te,Pe.pos,U),K._children.push(Pe),Te=Pe.end}return a(K._children,Te,Y.end,U),K}var k=function(){function Y(U,K){this.pos=U,this.end=K,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0}return Y.prototype.getSourceFile=function(){return e.getSourceFileOfNode(this)},Y.prototype.getStart=function(U,K){return e.getTokenPosOfNode(this,U,K)},Y.prototype.getFullStart=function(){return this.pos},Y.prototype.getEnd=function(){return this.end},Y.prototype.getWidth=function(U){return this.getEnd()-this.getStart(U)},Y.prototype.getFullWidth=function(){return this.end-this.pos},Y.prototype.getLeadingTriviaWidth=function(U){return this.getStart(U)-this.pos},Y.prototype.getFullText=function(U){return(U||this.getSourceFile()).text.substring(this.pos,this.end)},Y.prototype.getText=function(U){return U||(U=this.getSourceFile()),U.text.substring(this.getStart(U),this.getEnd())},Y.prototype.getChildCount=function(){return this.getChildren().length},Y.prototype.getChildAt=function(U){return this.getChildren()[U]},Y.prototype.getChildren=function(){return this.kind===1&&this.jsDoc||e.emptyArray},Y.prototype.getFirstToken=function(){},Y.prototype.getLastToken=function(){},Y.prototype.forEachChild=function(){},Y}(),J=function(){function Y(U,K){this.flags=U,this.escapedName=K}return Y.prototype.getFlags=function(){return this.flags},Object.defineProperty(Y.prototype,\"name\",{get:function(){return e.symbolName(this)},enumerable:!1,configurable:!0}),Y.prototype.getEscapedName=function(){return this.escapedName},Y.prototype.getName=function(){return this.name},Y.prototype.getDeclarations=function(){return this.declarations},Y.prototype.getDocumentationComment=function(U){if(!this.documentationComment)if(this.documentationComment=e.emptyArray,!this.declarations&&this.target&&this.target.tupleLabelDeclaration){var K=this.target.tupleLabelDeclaration;this.documentationComment=S([K],U)}else this.documentationComment=S(this.declarations,U);return this.documentationComment},Y.prototype.getContextualDocumentationComment=function(U,K){switch(U==null?void 0:U.kind){case 171:return this.contextualGetAccessorDocumentationComment||(this.contextualGetAccessorDocumentationComment=e.emptyArray,this.contextualGetAccessorDocumentationComment=S(e.filter(this.declarations,e.isGetAccessor),K)),this.contextualGetAccessorDocumentationComment;case 172:return this.contextualSetAccessorDocumentationComment||(this.contextualSetAccessorDocumentationComment=e.emptyArray,this.contextualSetAccessorDocumentationComment=S(e.filter(this.declarations,e.isSetAccessor),K)),this.contextualSetAccessorDocumentationComment;default:return this.getDocumentationComment(K)}},Y.prototype.getJsDocTags=function(U){return this.tags===void 0&&(this.tags=e.JsDoc.getJsDocTagsFromDeclarations(this.declarations,U)),this.tags},Y}(),h=function(Y){wm(U,Y);function U(K,Te,ge){var ke=Y.call(this,Te,ge)||this;return ke.kind=K,ke}return U}(k),v=function(Y){wm(U,Y);function U(K,Te,ge){var ke=Y.call(this,Te,ge)||this;return ke.kind=79,ke}return Object.defineProperty(U.prototype,\"text\",{get:function(){return e.idText(this)},enumerable:!1,configurable:!0}),U}(k);v.prototype.kind=79;var A=function(Y){wm(U,Y);function U(K,Te,ge){return Y.call(this,Te,ge)||this}return Object.defineProperty(U.prototype,\"text\",{get:function(){return e.idText(this)},enumerable:!1,configurable:!0}),U}(k);A.prototype.kind=80;var z=function(){function Y(U,K){this.checker=U,this.flags=K}return Y.prototype.getFlags=function(){return this.flags},Y.prototype.getSymbol=function(){return this.symbol},Y.prototype.getProperties=function(){return this.checker.getPropertiesOfType(this)},Y.prototype.getProperty=function(U){return this.checker.getPropertyOfType(this,U)},Y.prototype.getApparentProperties=function(){return this.checker.getAugmentedPropertiesOfType(this)},Y.prototype.getCallSignatures=function(){return this.checker.getSignaturesOfType(this,0)},Y.prototype.getConstructSignatures=function(){return this.checker.getSignaturesOfType(this,1)},Y.prototype.getStringIndexType=function(){return this.checker.getIndexTypeOfType(this,0)},Y.prototype.getNumberIndexType=function(){return this.checker.getIndexTypeOfType(this,1)},Y.prototype.getBaseTypes=function(){return this.isClassOrInterface()?this.checker.getBaseTypes(this):void 0},Y.prototype.isNullableType=function(){return this.checker.isNullableType(this)},Y.prototype.getNonNullableType=function(){return this.checker.getNonNullableType(this)},Y.prototype.getNonOptionalType=function(){return this.checker.getNonOptionalType(this)},Y.prototype.getConstraint=function(){return this.checker.getBaseConstraintOfType(this)},Y.prototype.getDefault=function(){return this.checker.getDefaultFromTypeParameter(this)},Y.prototype.isUnion=function(){return!!(this.flags&1048576)},Y.prototype.isIntersection=function(){return!!(this.flags&2097152)},Y.prototype.isUnionOrIntersection=function(){return!!(this.flags&3145728)},Y.prototype.isLiteral=function(){return!!(this.flags&384)},Y.prototype.isStringLiteral=function(){return!!(this.flags&128)},Y.prototype.isNumberLiteral=function(){return!!(this.flags&256)},Y.prototype.isTypeParameter=function(){return!!(this.flags&262144)},Y.prototype.isClassOrInterface=function(){return!!(e.getObjectFlags(this)&3)},Y.prototype.isClass=function(){return!!(e.getObjectFlags(this)&1)},Object.defineProperty(Y.prototype,\"typeArguments\",{get:function(){if(e.getObjectFlags(this)&4)return this.checker.getTypeArguments(this)},enumerable:!1,configurable:!0}),Y}(),ie=function(){function Y(U,K){this.checker=U,this.flags=K}return Y.prototype.getDeclaration=function(){return this.declaration},Y.prototype.getTypeParameters=function(){return this.typeParameters},Y.prototype.getParameters=function(){return this.parameters},Y.prototype.getReturnType=function(){return this.checker.getReturnTypeOfSignature(this)},Y.prototype.getDocumentationComment=function(){return this.documentationComment||(this.documentationComment=S(e.singleElementArray(this.declaration),this.checker))},Y.prototype.getJsDocTags=function(){return this.jsDocTags===void 0&&(this.jsDocTags=this.declaration?M(this.declaration,this.checker):[]),this.jsDocTags},Y}();function b(Y){return e.getJSDocTags(Y).some(function(U){return U.tagName.text===\"inheritDoc\"})}function M(Y,U){var K=e.JsDoc.getJsDocTagsFromDeclarations([Y],U);if(K.length===0||b(Y)){var Te=B(U,Y,function(ge){var ke;return((ke=ge.declarations)===null||ke===void 0?void 0:ke.length)===1?ge.getJsDocTags():void 0});Te&&(K=Gt(Gt([],Te,!0),K,!0))}return K}function S(Y,U){if(!Y)return e.emptyArray;var K=e.JsDoc.getJsDocCommentsFromDeclarations(Y,U);if(U&&(K.length===0||Y.some(b)))for(var Te=new e.Set,ge=0,ke=Y;ge<ke.length;ge++){var Pe=ke[ge],Ie=B(U,Pe,function(Ge){if(!Te.has(Ge))return Te.add(Ge),Ge.getDocumentationComment(U)});Ie&&(K=K.length===0?Ie.slice():Ie.concat(e.lineBreakPart(),K))}return K}function B(Y,U,K){var Te,ge=((Te=U.parent)===null||Te===void 0?void 0:Te.kind)===170?U.parent.parent:U.parent;if(!!ge)return e.firstDefined(e.getAllSuperTypeNodes(ge),function(ke){var Pe=Y.getPropertyOfType(Y.getTypeAtLocation(ke),U.symbol.name);return Pe?K(Pe):void 0})}var H=function(Y){wm(U,Y);function U(K,Te,ge){var ke=Y.call(this,K,Te,ge)||this;return ke.kind=303,ke}return U.prototype.update=function(K,Te){return e.updateSourceFile(this,K,Te)},U.prototype.getLineAndCharacterOfPosition=function(K){return e.getLineAndCharacterOfPosition(this,K)},U.prototype.getLineStarts=function(){return e.getLineStarts(this)},U.prototype.getPositionOfLineAndCharacter=function(K,Te,ge){return e.computePositionOfLineAndCharacter(e.getLineStarts(this),K,Te,this.text,ge)},U.prototype.getLineEndOfPosition=function(K){var Te=this.getLineAndCharacterOfPosition(K).line,ge=this.getLineStarts(),ke;Te+1>=ge.length&&(ke=this.getEnd()),ke||(ke=ge[Te+1]-1);var Pe=this.getFullText();return Pe[ke]===`\n`&&Pe[ke-1]===\"\\r\"?ke-1:ke},U.prototype.getNamedDeclarations=function(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations},U.prototype.computeNamedDeclarations=function(){var K=e.createMultiMap();return this.forEachChild(Pe),K;function Te(Ie){var Ge=ke(Ie);Ge&&K.add(Ge,Ie)}function ge(Ie){var Ge=K.get(Ie);return Ge||K.set(Ie,Ge=[]),Ge}function ke(Ie){var Ge=e.getNonAssignedNameOfDeclaration(Ie);return Ge&&(e.isComputedPropertyName(Ge)&&e.isPropertyAccessExpression(Ge.expression)?Ge.expression.name.text:e.isPropertyName(Ge)?e.getNameFromPropertyName(Ge):void 0)}function Pe(Ie){switch(Ie.kind){case 255:case 212:case 168:case 167:var Ge=Ie,he=ke(Ge);if(he){var ve=ge(he),Ve=e.lastOrUndefined(ve);Ve&&Ge.parent===Ve.parent&&Ge.symbol===Ve.symbol?Ge.body&&!Ve.body&&(ve[ve.length-1]=Ge):ve.push(Ge)}e.forEachChild(Ie,Pe);break;case 256:case 225:case 257:case 258:case 259:case 260:case 264:case 274:case 269:case 266:case 267:case 171:case 172:case 181:Te(Ie),e.forEachChild(Ie,Pe);break;case 163:if(!e.hasSyntacticModifier(Ie,16476))break;case 253:case 202:{var _e=Ie;if(e.isBindingPattern(_e.name)){e.forEachChild(_e.name,Pe);break}_e.initializer&&Pe(_e.initializer)}case 297:case 166:case 165:Te(Ie);break;case 271:var Le=Ie;Le.exportClause&&(e.isNamedExports(Le.exportClause)?e.forEach(Le.exportClause.elements,Pe):Pe(Le.exportClause.name));break;case 265:var qe=Ie.importClause;qe&&(qe.name&&Te(qe.name),qe.namedBindings&&(qe.namedBindings.kind===267?Te(qe.namedBindings):e.forEach(qe.namedBindings.elements,Pe)));break;case 220:e.getAssignmentDeclarationKind(Ie)!==0&&Te(Ie);default:e.forEachChild(Ie,Pe)}}},U}(f),I=function(){function Y(U,K,Te){this.fileName=U,this.text=K,this.skipTrivia=Te}return Y.prototype.getLineAndCharacterOfPosition=function(U){return e.getLineAndCharacterOfPosition(this,U)},Y}();function w(){return{getNodeConstructor:function(){return f},getTokenConstructor:function(){return h},getIdentifierConstructor:function(){return v},getPrivateIdentifierConstructor:function(){return A},getSourceFileConstructor:function(){return H},getSymbolConstructor:function(){return J},getTypeConstructor:function(){return z},getSignatureConstructor:function(){return ie},getSourceMapSourceConstructor:function(){return I}}}function x(Y){var U=!0;for(var K in Y)if(e.hasProperty(Y,K)&&!O(K)){U=!1;break}if(U)return Y;var Te={};for(var K in Y)if(e.hasProperty(Y,K)){var ge=O(K)?K:K.charAt(0).toLowerCase()+K.substr(1);Te[ge]=Y[K]}return Te}e.toEditorSettings=x;function O(Y){return!Y.length||Y.charAt(0)===Y.charAt(0).toLowerCase()}function q(Y){return Y?e.map(Y,function(U){return U.text}).join(\"\"):\"\"}e.displayPartsToString=q;function Z(){return{target:1,jsx:1}}e.getDefaultCompilerOptions=Z;function ne(){return e.codefix.getSupportedErrorCodes()}e.getSupportedCodeFixes=ne;var F=function(){function Y(U,K){this.host=U,this.currentDirectory=U.getCurrentDirectory(),this.fileNameToEntry=new e.Map;for(var Te=U.getScriptFileNames(),ge=0,ke=Te;ge<ke.length;ge++){var Pe=ke[ge];this.createEntry(Pe,e.toPath(Pe,this.currentDirectory,K))}}return Y.prototype.createEntry=function(U,K){var Te,ge=this.host.getScriptSnapshot(U);return ge?Te={hostFileName:U,version:this.host.getScriptVersion(U),scriptSnapshot:ge,scriptKind:e.getScriptKind(U,this.host)}:Te=U,this.fileNameToEntry.set(K,Te),Te},Y.prototype.getEntryByPath=function(U){return this.fileNameToEntry.get(U)},Y.prototype.getHostFileInformation=function(U){var K=this.fileNameToEntry.get(U);return e.isString(K)?void 0:K},Y.prototype.getOrCreateEntryByPath=function(U,K){var Te=this.getEntryByPath(K)||this.createEntry(U,K);return e.isString(Te)?void 0:Te},Y.prototype.getRootFileNames=function(){var U=[];return this.fileNameToEntry.forEach(function(K){e.isString(K)?U.push(K):U.push(K.hostFileName)}),U},Y.prototype.getScriptSnapshot=function(U){var K=this.getHostFileInformation(U);return K&&K.scriptSnapshot},Y}(),Q=function(){function Y(U){this.host=U}return Y.prototype.getCurrentSourceFile=function(U){var K=this.host.getScriptSnapshot(U);if(!K)throw new Error(\"Could not find file: '\"+U+\"'.\");var Te=e.getScriptKind(U,this.host),ge=this.host.getScriptVersion(U),ke;if(this.currentFileName!==U)ke=re(U,K,99,ge,!0,Te);else if(this.currentFileVersion!==ge){var Pe=K.getChangeRange(this.currentFileScriptSnapshot);ke=T(this.currentSourceFile,K,ge,Pe)}return ke&&(this.currentFileVersion=ge,this.currentFileName=U,this.currentFileScriptSnapshot=K,this.currentSourceFile=ke),this.currentSourceFile},Y}();function V(Y,U,K){Y.version=K,Y.scriptSnapshot=U}function re(Y,U,K,Te,ge,ke){var Pe=e.createSourceFile(Y,e.getSnapshotText(U),K,ge,ke);return V(Pe,U,Te),Pe}e.createLanguageServiceSourceFile=re;function T(Y,U,K,Te,ge){if(Te&&K!==Y.version){var ke=void 0,Pe=Te.span.start!==0?Y.text.substr(0,Te.span.start):\"\",Ie=e.textSpanEnd(Te.span)!==Y.text.length?Y.text.substr(e.textSpanEnd(Te.span)):\"\";if(Te.newLength===0)ke=Pe&&Ie?Pe+Ie:Pe||Ie;else{var Ge=U.getText(Te.span.start,Te.span.start+Te.newLength);ke=Pe&&Ie?Pe+Ge+Ie:Pe?Pe+Ge:Ge+Ie}var he=e.updateSourceFile(Y,ke,Te,ge);return V(he,U,K),he.nameTable=void 0,Y!==he&&Y.scriptSnapshot&&(Y.scriptSnapshot.dispose&&Y.scriptSnapshot.dispose(),Y.scriptSnapshot=void 0),he}return re(Y.fileName,U,Y.languageVersion,K,!0,Y.scriptKind)}e.updateLanguageServiceSourceFile=T;var N={isCancellationRequested:e.returnFalse,throwIfCancellationRequested:e.noop},y=function(){function Y(U){this.cancellationToken=U}return Y.prototype.isCancellationRequested=function(){return this.cancellationToken.isCancellationRequested()},Y.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw e.tracing===null||e.tracing===void 0||e.tracing.instant(\"session\",\"cancellationThrown\",{kind:\"CancellationTokenObject\"}),new e.OperationCanceledException},Y}(),D=function(){function Y(U,K){K===void 0&&(K=20),this.hostCancellationToken=U,this.throttleWaitMilliseconds=K,this.lastCancellationCheckTime=0}return Y.prototype.isCancellationRequested=function(){var U=e.timestamp(),K=Math.abs(U-this.lastCancellationCheckTime);return K>=this.throttleWaitMilliseconds?(this.lastCancellationCheckTime=U,this.hostCancellationToken.isCancellationRequested()):!1},Y.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw e.tracing===null||e.tracing===void 0||e.tracing.instant(\"session\",\"cancellationThrown\",{kind:\"ThrottledCancellationToken\"}),new e.OperationCanceledException},Y}();e.ThrottledCancellationToken=D;var C=[\"getSemanticDiagnostics\",\"getSuggestionDiagnostics\",\"getCompilerOptionsDiagnostics\",\"getSemanticClassifications\",\"getEncodedSemanticClassifications\",\"getCodeFixesAtPosition\",\"getCombinedCodeFix\",\"applyCodeActionCommand\",\"organizeImports\",\"getEditsForFileRename\",\"getEmitOutput\",\"getApplicableRefactors\",\"getEditsForRefactor\",\"prepareCallHierarchy\",\"provideCallHierarchyIncomingCalls\",\"provideCallHierarchyOutgoingCalls\",\"provideInlayHints\"],m=Gt(Gt([],C,!0),[\"getCompletionsAtPosition\",\"getCompletionEntryDetails\",\"getCompletionEntrySymbol\",\"getSignatureHelpItems\",\"getQuickInfoAtPosition\",\"getDefinitionAtPosition\",\"getDefinitionAndBoundSpan\",\"getImplementationAtPosition\",\"getTypeDefinitionAtPosition\",\"getReferencesAtPosition\",\"findReferences\",\"getOccurrencesAtPosition\",\"getDocumentHighlights\",\"getNavigateToItems\",\"getRenameInfo\",\"findRenameLocations\",\"getApplicableRefactors\"],!1);function u(Y,U,K){var Te;U===void 0&&(U=e.createDocumentRegistry(Y.useCaseSensitiveFileNames&&Y.useCaseSensitiveFileNames(),Y.getCurrentDirectory()));var ge;K===void 0?ge=e.LanguageServiceMode.Semantic:typeof K==\"boolean\"?ge=K?e.LanguageServiceMode.Syntactic:e.LanguageServiceMode.Semantic:ge=K;var ke=new Q(Y),Pe,Ie,Ge=0,he=Y.getCancellationToken?new y(Y.getCancellationToken()):N,ve=Y.getCurrentDirectory();!e.localizedDiagnosticMessages&&Y.getLocalizedDiagnosticMessages&&e.setLocalizedDiagnosticMessages(Y.getLocalizedDiagnosticMessages());function Ve(pt){Y.log&&Y.log(pt)}var _e=e.hostUsesCaseSensitiveFileNames(Y),Le=e.createGetCanonicalFileName(_e),qe=e.getSourceMapper({useCaseSensitiveFileNames:function(){return _e},getCurrentDirectory:function(){return ve},getProgram:Ae,fileExists:e.maybeBind(Y,Y.fileExists),readFile:e.maybeBind(Y,Y.readFile),getDocumentPositionMapper:e.maybeBind(Y,Y.getDocumentPositionMapper),getSourceFileLike:e.maybeBind(Y,Y.getSourceFileLike),log:Ve});function Xe(pt){var _t=Pe.getSourceFile(pt);if(!_t){var Mt=new Error(\"Could not find source file: '\".concat(pt,\"'.\"));throw Mt.ProgramFiles=Pe.getSourceFiles().map(function(It){return It.fileName}),Mt}return _t}function De(){var pt,_t,Mt;if(e.Debug.assert(ge!==e.LanguageServiceMode.Syntactic),Y.getProjectVersion){var It=Y.getProjectVersion();if(It){if(Ie===It&&!(!((pt=Y.hasChangedAutomaticTypeDirectiveNames)===null||pt===void 0)&&pt.call(Y)))return;Ie=It}}var rt=Y.getTypeRootsVersion?Y.getTypeRootsVersion():0;Ge!==rt&&(Ve(\"TypeRoots version has changed; provide new program\"),Pe=void 0,Ge=rt);var Cn=new F(Y,Le),Qn=Cn.getRootFileNames(),Ra=Y.getCompilationSettings()||Z(),Ci=Y.hasInvalidatedResolution||e.returnFalse,_i=e.maybeBind(Y,Y.hasChangedAutomaticTypeDirectiveNames),va=(_t=Y.getProjectReferences)===null||_t===void 0?void 0:_t.call(Y),yi,ro={useCaseSensitiveFileNames:_e,fileExists:No,readFile:lo,readDirectory:Lo,trace:e.maybeBind(Y,Y.trace),getCurrentDirectory:function(){return ve},onUnRecoverableConfigFileDiagnostic:e.noop};if(e.isProgramUptoDate(Pe,Qn,Ra,function(za,hi){return Y.getScriptVersion(hi)},No,Ci,_i,ji,va))return;var Ka={getSourceFile:Yo,getSourceFileByPath:co,getCancellationToken:function(){return he},getCanonicalFileName:Le,useCaseSensitiveFileNames:function(){return _e},getNewLine:function(){return e.getNewLineCharacter(Ra,function(){return e.getNewLineOrDefaultFromHost(Y)})},getDefaultLibFileName:function(za){return Y.getDefaultLibFileName(za)},writeFile:e.noop,getCurrentDirectory:function(){return ve},fileExists:No,readFile:lo,getSymlinkCache:e.maybeBind(Y,Y.getSymlinkCache),realpath:e.maybeBind(Y,Y.realpath),directoryExists:function(za){return e.directoryProbablyExists(za,Y)},getDirectories:function(za){return Y.getDirectories?Y.getDirectories(za):[]},readDirectory:Lo,onReleaseOldSourceFile:Ha,onReleaseParsedCommandLine:to,hasInvalidatedResolution:Ci,hasChangedAutomaticTypeDirectiveNames:_i,trace:ro.trace,resolveModuleNames:e.maybeBind(Y,Y.resolveModuleNames),resolveTypeReferenceDirectives:e.maybeBind(Y,Y.resolveTypeReferenceDirectives),useSourceOfProjectReferenceRedirect:e.maybeBind(Y,Y.useSourceOfProjectReferenceRedirect),getParsedCommandLine:ji};(Mt=Y.setCompilerHost)===null||Mt===void 0||Mt.call(Y,Ka);var Mi=U.getKeyForCompilationSettings(Ra),io={rootNames:Qn,options:Ra,host:Ka,oldProgram:Pe,projectReferences:va};Pe=e.createProgram(io),Cn=void 0,yi=void 0,qe.clearCache(),Pe.getTypeChecker();return;function ji(za){var hi=e.toPath(za,ve,Le),Zi=yi==null?void 0:yi.get(hi);if(Zi!==void 0)return Zi||void 0;var Mo=Y.getParsedCommandLine?Y.getParsedCommandLine(za):Hi(za);return(yi||(yi=new e.Map)).set(hi,Mo||!1),Mo}function Hi(za){var hi=Yo(za,100);if(!!hi)return hi.path=e.toPath(za,ve,Le),hi.resolvedPath=hi.path,hi.originalFileName=hi.fileName,e.parseJsonSourceFileConfigFileContent(hi,ro,e.getNormalizedAbsolutePath(e.getDirectoryPath(za),ve),void 0,e.getNormalizedAbsolutePath(za,ve))}function to(za,hi,Zi){var Mo;Y.getParsedCommandLine?(Mo=Y.onReleaseParsedCommandLine)===null||Mo===void 0||Mo.call(Y,za,hi,Zi):hi&&Ha(hi.sourceFile,Zi)}function No(za){var hi=e.toPath(za,ve,Le),Zi=Cn&&Cn.getEntryByPath(hi);return Zi?!e.isString(Zi):!!Y.fileExists&&Y.fileExists(za)}function lo(za){var hi=e.toPath(za,ve,Le),Zi=Cn&&Cn.getEntryByPath(hi);return Zi?e.isString(Zi)?void 0:e.getSnapshotText(Zi.scriptSnapshot):Y.readFile&&Y.readFile(za)}function Lo(za,hi,Zi,Mo,Po){return e.Debug.checkDefined(Y.readDirectory,\"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'\"),Y.readDirectory(za,hi,Zi,Mo,Po)}function Ha(za,hi){var Zi=U.getKeyForCompilationSettings(hi);U.releaseDocumentWithKey(za.resolvedPath,Zi,za.scriptKind)}function Yo(za,hi,Zi,Mo){return co(za,e.toPath(za,ve,Le),hi,Zi,Mo)}function co(za,hi,Zi,Mo,Po){e.Debug.assert(Cn!==void 0,\"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.\");var Fo=Cn&&Cn.getOrCreateEntryByPath(za,hi);if(!!Fo){if(!Po){var zo=Pe&&Pe.getSourceFileByPath(hi);if(zo){if(Fo.scriptKind===zo.scriptKind)return U.updateDocumentWithKey(za,hi,Ra,Mi,Fo.scriptSnapshot,Fo.version,Fo.scriptKind);U.releaseDocumentWithKey(zo.resolvedPath,U.getKeyForCompilationSettings(Pe.getCompilerOptions()),zo.scriptKind)}}return U.acquireDocumentWithKey(za,hi,Ra,Mi,Fo.scriptSnapshot,Fo.version,Fo.scriptKind)}}}function Ae(){if(ge===e.LanguageServiceMode.Syntactic){e.Debug.assert(Pe===void 0);return}return De(),Pe}function Ye(){var pt;return(pt=Y.getPackageJsonAutoImportProvider)===null||pt===void 0?void 0:pt.call(Y)}function Dr(){Pe=void 0}function br(){if(Pe){var pt=U.getKeyForCompilationSettings(Pe.getCompilerOptions());e.forEach(Pe.getSourceFiles(),function(_t){return U.releaseDocumentWithKey(_t.resolvedPath,pt,_t.scriptKind)}),Pe=void 0}Y=void 0}function lr(pt){return De(),Pe.getSyntacticDiagnostics(Xe(pt),he).slice()}function Ar(pt){De();var _t=Xe(pt),Mt=Pe.getSemanticDiagnostics(_t,he);if(!e.getEmitDeclarations(Pe.getCompilerOptions()))return Mt.slice();var It=Pe.getDeclarationDiagnostics(_t,he);return Gt(Gt([],Mt,!0),It,!0)}function kr(pt){return De(),e.computeSuggestionDiagnostics(Xe(pt),Pe,he)}function Ke(){return De(),Gt(Gt([],Pe.getOptionsDiagnostics(he),!0),Pe.getGlobalDiagnostics(he),!0)}function Me(pt,_t,Mt){Mt===void 0&&(Mt=e.emptyOptions);var It=Rn(Rn({},e.identity(Mt)),{includeCompletionsForModuleExports:Mt.includeCompletionsForModuleExports||Mt.includeExternalModuleExports,includeCompletionsWithInsertText:Mt.includeCompletionsWithInsertText||Mt.includeInsertTextCompletions});return De(),e.Completions.getCompletionsAtPosition(Y,Pe,Ve,Xe(pt),_t,It,Mt.triggerCharacter,Mt.triggerKind,he)}function Hr(pt,_t,Mt,It,rt,Cn,Qn){return Cn===void 0&&(Cn=e.emptyOptions),De(),e.Completions.getCompletionEntryDetails(Pe,Ve,Xe(pt),_t,{name:Mt,source:rt,data:Qn},Y,It&&e.formatting.getFormatContext(It,Y),Cn,he)}function ur(pt,_t,Mt,It,rt){return rt===void 0&&(rt=e.emptyOptions),De(),e.Completions.getCompletionEntrySymbol(Pe,Ve,Xe(pt),_t,{name:Mt,source:It},Y,rt)}function gr(pt,_t){De();var Mt=Xe(pt),It=e.getTouchingPropertyName(Mt,_t);if(It!==Mt){var rt=Pe.getTypeChecker(),Cn=de(It),Qn=j(Cn,rt);if(!Qn||rt.isUnknownSymbol(Qn)){var Ra=Fe(Mt,Cn,_t)?rt.getTypeAtLocation(Cn):void 0;return Ra&&{kind:\"\",kindModifiers:\"\",textSpan:e.createTextSpanFromNode(Cn,Mt),displayParts:rt.runWithCancellationToken(he,function(Ka){return e.typeToDisplayParts(Ka,Ra,e.getContainerNode(Cn))}),documentation:Ra.symbol?Ra.symbol.getDocumentationComment(rt):void 0,tags:Ra.symbol?Ra.symbol.getJsDocTags(rt):void 0}}var Ci=rt.runWithCancellationToken(he,function(Ka){return e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(Ka,Qn,Mt,e.getContainerNode(Cn),Cn)}),_i=Ci.symbolKind,va=Ci.displayParts,yi=Ci.documentation,ro=Ci.tags;return{kind:_i,kindModifiers:e.SymbolDisplay.getSymbolModifiers(rt,Qn),textSpan:e.createTextSpanFromNode(Cn,Mt),displayParts:va,documentation:yi,tags:ro}}}function de(pt){return e.isNewExpression(pt.parent)&&pt.pos===pt.parent.pos?pt.parent.expression:e.isNamedTupleMember(pt.parent)&&pt.pos===pt.parent.pos?pt.parent:pt}function Fe(pt,_t,Mt){switch(_t.kind){case 79:return!e.isLabelName(_t)&&!e.isTagName(_t)&&!e.isConstTypeReference(_t.parent);case 205:case 160:return!e.isInComment(pt,Mt);case 108:case 191:case 106:case 196:return!0;default:return!1}}function $e(pt,_t){return De(),e.GoToDefinition.getDefinitionAtPosition(Pe,Xe(pt),_t)}function Sr(pt,_t){return De(),e.GoToDefinition.getDefinitionAndBoundSpan(Pe,Xe(pt),_t)}function Pr(pt,_t){return De(),e.GoToDefinition.getTypeDefinitionAtPosition(Pe.getTypeChecker(),Xe(pt),_t)}function He(pt,_t){return De(),e.FindAllReferences.getImplementationsAtPosition(Pe,he,Pe.getSourceFiles(),Xe(pt),_t)}function pr(pt,_t){return e.flatMap(Jr(pt,_t,[pt]),function(Mt){return Mt.highlightSpans.map(function(It){return Rn(Rn({fileName:Mt.fileName,textSpan:It.textSpan,isWriteAccess:It.kind===\"writtenReference\",isDefinition:!1},It.isInString&&{isInString:!0}),It.contextSpan&&{contextSpan:It.contextSpan})})})}function Jr(pt,_t,Mt){var It=e.normalizePath(pt);e.Debug.assert(Mt.some(function(Qn){return e.normalizePath(Qn)===It})),De();var rt=e.mapDefined(Mt,function(Qn){return Pe.getSourceFile(Qn)}),Cn=Xe(pt);return e.DocumentHighlights.getDocumentHighlights(Pe,he,Cn,_t,rt)}function ze(pt,_t,Mt,It,rt){De();var Cn=Xe(pt),Qn=e.getAdjustedRenameLocation(e.getTouchingPropertyName(Cn,_t));if(!!e.Rename.nodeIsEligibleForRename(Qn))if(e.isIdentifier(Qn)&&(e.isJsxOpeningElement(Qn.parent)||e.isJsxClosingElement(Qn.parent))&&e.isIntrinsicJsxName(Qn.escapedText)){var Ra=Qn.parent.parent,Ci=Ra.openingElement,_i=Ra.closingElement;return[Ci,_i].map(function(va){var yi=e.createTextSpanFromNode(va.tagName,Cn);return Rn({fileName:Cn.fileName,textSpan:yi},e.FindAllReferences.toContextSpan(yi,Cn,va.parent))})}else return Yr(Qn,_t,{findInStrings:Mt,findInComments:It,providePrefixAndSuffixTextForRename:rt,use:2},function(va,yi,ro){return e.FindAllReferences.toRenameLocation(va,yi,ro,rt||!1)})}function Lr(pt,_t){return De(),Yr(e.getTouchingPropertyName(Xe(pt),_t),_t,{use:1},function(Mt,It,rt){return e.FindAllReferences.toReferenceEntry(Mt,rt.getSymbolAtLocation(It))})}function Yr(pt,_t,Mt,It){De();var rt=Mt&&Mt.use===2?Pe.getSourceFiles().filter(function(Cn){return!Pe.isSourceFileDefaultLibrary(Cn)}):Pe.getSourceFiles();return e.FindAllReferences.findReferenceOrRenameEntries(Pe,he,rt,pt,_t,Mt,It)}function lt(pt,_t){return De(),e.FindAllReferences.findReferencedSymbols(Pe,he,Pe.getSourceFiles(),Xe(pt),_t)}function tt(pt){var _t;De();var Mt=(_t=Pe.getSourceFile(pt))===null||_t===void 0?void 0:_t.symbol;return e.FindAllReferences.Core.getReferencesForFileName(pt,Pe,Pe.getSourceFiles()).map(function(It){return e.FindAllReferences.toReferenceEntry(It,Mt)})}function Rt(pt,_t,Mt,It){It===void 0&&(It=!1),De();var rt=Mt?[Xe(Mt)]:Pe.getSourceFiles();return e.NavigateTo.getNavigateToItems(rt,Pe.getTypeChecker(),he,pt,_t,It)}function cn(pt,_t,Mt){De();var It=Xe(pt),rt=Y.getCustomTransformers&&Y.getCustomTransformers();return e.getFileEmitOutput(Pe,It,!!_t,he,rt,Mt)}function bn(pt,_t,Mt){var It=Mt===void 0?e.emptyOptions:Mt,rt=It.triggerReason;De();var Cn=Xe(pt);return e.SignatureHelp.getSignatureHelpItems(Pe,Cn,_t,rt,he)}function In(pt){return ke.getCurrentSourceFile(pt)}function zn(pt,_t,Mt){var It=ke.getCurrentSourceFile(pt),rt=e.getTouchingPropertyName(It,_t);if(rt!==It){switch(rt.kind){case 205:case 160:case 10:case 95:case 110:case 104:case 106:case 108:case 191:case 79:break;default:return}for(var Cn=rt;;)if(e.isRightSideOfPropertyAccess(Cn)||e.isRightSideOfQualifiedName(Cn))Cn=Cn.parent;else if(e.isNameOfModuleDeclaration(Cn))if(Cn.parent.parent.kind===260&&Cn.parent.parent.body===Cn.parent)Cn=Cn.parent.parent.name;else break;else break;return e.createTextSpanFromBounds(Cn.getStart(),rt.getEnd())}}function ir(pt,_t){var Mt=ke.getCurrentSourceFile(pt);return e.BreakpointResolver.spanInSourceFileAtLocation(Mt,_t)}function Or(pt){return e.NavigationBar.getNavigationBarItems(ke.getCurrentSourceFile(pt),he)}function sr(pt){return e.NavigationBar.getNavigationTree(ke.getCurrentSourceFile(pt),he)}function ye(pt,_t,Mt){De();var It=Mt||\"original\";return It===\"2020\"?e.classifier.v2020.getSemanticClassifications(Pe,he,Xe(pt),_t):e.getSemanticClassifications(Pe.getTypeChecker(),he,Xe(pt),Pe.getClassifiableNames(),_t)}function or(pt,_t,Mt){De();var It=Mt||\"original\";return It===\"original\"?e.getEncodedSemanticClassifications(Pe.getTypeChecker(),he,Xe(pt),Pe.getClassifiableNames(),_t):e.classifier.v2020.getEncodedSemanticClassifications(Pe,he,Xe(pt),_t)}function fe(pt,_t){return e.getSyntacticClassifications(he,ke.getCurrentSourceFile(pt),_t)}function je(pt,_t){return e.getEncodedSyntacticClassifications(he,ke.getCurrentSourceFile(pt),_t)}function Ee(pt){var _t=ke.getCurrentSourceFile(pt);return e.OutliningElementsCollector.collectElements(_t,he)}var We=new e.Map(e.getEntries((Te={},Te[18]=19,Te[20]=21,Te[22]=23,Te[31]=29,Te)));We.forEach(function(pt,_t){return We.set(pt.toString(),Number(_t))});function $(pt,_t){var Mt=ke.getCurrentSourceFile(pt),It=e.getTouchingToken(Mt,_t),rt=It.getStart(Mt)===_t?We.get(It.kind.toString()):void 0,Cn=rt&&e.findChildOfKind(It.parent,rt,Mt);return Cn?[e.createTextSpanFromNode(It,Mt),e.createTextSpanFromNode(Cn,Mt)].sort(function(Qn,Ra){return Qn.start-Ra.start}):e.emptyArray}function Ne(pt,_t,Mt){var It=e.timestamp(),rt=x(Mt),Cn=ke.getCurrentSourceFile(pt);Ve(\"getIndentationAtPosition: getCurrentSourceFile: \"+(e.timestamp()-It)),It=e.timestamp();var Qn=e.formatting.SmartIndenter.getIndentation(_t,Cn,rt);return Ve(\"getIndentationAtPosition: computeIndentation  : \"+(e.timestamp()-It)),Qn}function me(pt,_t,Mt,It){var rt=ke.getCurrentSourceFile(pt);return e.formatting.formatSelection(_t,Mt,rt,e.formatting.getFormatContext(x(It),Y))}function Ze(pt,_t){return e.formatting.formatDocument(ke.getCurrentSourceFile(pt),e.formatting.getFormatContext(x(_t),Y))}function Cr(pt,_t,Mt,It){var rt=ke.getCurrentSourceFile(pt),Cn=e.formatting.getFormatContext(x(It),Y);if(!e.isInComment(rt,_t))switch(Mt){case\"{\":return e.formatting.formatOnOpeningCurly(_t,rt,Cn);case\"}\":return e.formatting.formatOnClosingCurly(_t,rt,Cn);case\";\":return e.formatting.formatOnSemicolon(_t,rt,Cn);case`\n`:return e.formatting.formatOnEnter(_t,rt,Cn)}return[]}function fr(pt,_t,Mt,It,rt,Cn){Cn===void 0&&(Cn=e.emptyOptions),De();var Qn=Xe(pt),Ra=e.createTextSpanFromBounds(_t,Mt),Ci=e.formatting.getFormatContext(rt,Y);return e.flatMap(e.deduplicate(It,e.equateValues,e.compareValues),function(_i){return he.throwIfCancellationRequested(),e.codefix.getFixes({errorCode:_i,sourceFile:Qn,span:Ra,program:Pe,host:Y,cancellationToken:he,formatContext:Ci,preferences:Cn})})}function dr(pt,_t,Mt,It){It===void 0&&(It=e.emptyOptions),De(),e.Debug.assert(pt.type===\"file\");var rt=Xe(pt.fileName),Cn=e.formatting.getFormatContext(Mt,Y);return e.codefix.getAllFixes({fixId:_t,sourceFile:rt,program:Pe,host:Y,cancellationToken:he,formatContext:Cn,preferences:It})}function et(pt,_t,Mt){Mt===void 0&&(Mt=e.emptyOptions),De(),e.Debug.assert(pt.type===\"file\");var It=Xe(pt.fileName),rt=e.formatting.getFormatContext(_t,Y);return e.OrganizeImports.organizeImports(It,rt,Y,Pe,Mt,pt.skipDestructiveCodeActions)}function yt(pt,_t,Mt,It){return It===void 0&&(It=e.emptyOptions),e.getEditsForFileRename(Ae(),pt,_t,Y,e.formatting.getFormatContext(Mt,Y),It,qe)}function Vr(pt,_t){var Mt=typeof pt==\"string\"?_t:pt;return e.isArray(Mt)?Promise.all(Mt.map(function(It){return tr(It)})):tr(Mt)}function tr(pt){var _t=function(Mt){return e.toPath(Mt,ve,Le)};return e.Debug.assertEqual(pt.type,\"install package\"),Y.installPackage?Y.installPackage({fileName:_t(pt.file),packageName:pt.packageName}):Promise.reject(\"Host does not implement `installPackage`\")}function xr(pt,_t,Mt){return e.JsDoc.getDocCommentTemplateAtPosition(e.getNewLineOrDefaultFromHost(Y),ke.getCurrentSourceFile(pt),_t,Mt)}function Nr(pt,_t,Mt){if(Mt===60)return!1;var It=ke.getCurrentSourceFile(pt);if(e.isInString(It,_t))return!1;if(e.isInsideJsxElementOrAttribute(It,_t))return Mt===123;if(e.isInTemplateString(It,_t))return!1;switch(Mt){case 39:case 34:case 96:return!e.isInComment(It,_t)}return!0}function zr(pt,_t){var Mt=ke.getCurrentSourceFile(pt),It=e.findPrecedingToken(_t,Mt);if(!!It){var rt=It.kind===31&&e.isJsxOpeningElement(It.parent)?It.parent.parent:e.isJsxText(It)&&e.isJsxElement(It.parent)?It.parent:void 0;if(rt&&wt(rt))return{newText:\"</\".concat(rt.openingElement.tagName.getText(Mt),\">\")};var Cn=It.kind===31&&e.isJsxOpeningFragment(It.parent)?It.parent.parent:e.isJsxText(It)&&e.isJsxFragment(It.parent)?It.parent:void 0;if(Cn&&Qt(Cn))return{newText:\"</>\"}}}function gt(pt,_t){return{lineStarts:pt.getLineStarts(),firstLine:pt.getLineAndCharacterOfPosition(_t.pos).line,lastLine:pt.getLineAndCharacterOfPosition(_t.end).line}}function vt(pt,_t,Mt){for(var It=ke.getCurrentSourceFile(pt),rt=[],Cn=gt(It,_t),Qn=Cn.lineStarts,Ra=Cn.firstLine,Ci=Cn.lastLine,_i=Mt||!1,va=Number.MAX_VALUE,yi=new e.Map,ro=new RegExp(/\\S/),Ka=e.isInsideJsxElement(It,Qn[Ra]),Mi=Ka?\"{/*\":\"//\",io=Ra;io<=Ci;io++){var ji=It.text.substring(Qn[io],It.getLineEndOfPosition(Qn[io])),Hi=ro.exec(ji);Hi&&(va=Math.min(va,Hi.index),yi.set(io.toString(),Hi.index),ji.substr(Hi.index,Mi.length)!==Mi&&(_i=Mt===void 0||Mt))}for(var io=Ra;io<=Ci;io++)if(!(Ra!==Ci&&Qn[io]===_t.end)){var to=yi.get(io.toString());to!==void 0&&(Ka?rt.push.apply(rt,ut(pt,{pos:Qn[io]+va,end:It.getLineEndOfPosition(Qn[io])},_i,Ka)):_i?rt.push({newText:Mi,span:{length:0,start:Qn[io]+va}}):It.text.substr(Qn[io]+to,Mi.length)===Mi&&rt.push({newText:\"\",span:{length:Mi.length,start:Qn[io]+to}}))}return rt}function ut(pt,_t,Mt,It){for(var rt,Cn=ke.getCurrentSourceFile(pt),Qn=[],Ra=Cn.text,Ci=!1,_i=Mt||!1,va=[],yi=_t.pos,ro=It!==void 0?It:e.isInsideJsxElement(Cn,yi),Ka=ro?\"{/*\":\"/*\",Mi=ro?\"*/}\":\"*/\",io=ro?\"\\\\{\\\\/\\\\*\":\"\\\\/\\\\*\",ji=ro?\"\\\\*\\\\/\\\\}\":\"\\\\*\\\\/\";yi<=_t.end;){var Hi=Ra.substr(yi,Ka.length)===Ka?Ka.length:0,to=e.isInComment(Cn,yi+Hi);if(to)ro&&(to.pos--,to.end++),va.push(to.pos),to.kind===3&&va.push(to.end),Ci=!0,yi=to.end+1;else{var No=Ra.substring(yi,_t.end).search(\"(\".concat(io,\")|(\").concat(ji,\")\"));_i=Mt!==void 0?Mt:_i||!e.isTextWhiteSpaceLike(Ra,yi,No===-1?_t.end:yi+No),yi=No===-1?_t.end+1:yi+No+Mi.length}}if(_i||!Ci){((rt=e.isInComment(Cn,_t.pos))===null||rt===void 0?void 0:rt.kind)!==2&&e.insertSorted(va,_t.pos,e.compareValues),e.insertSorted(va,_t.end,e.compareValues);var lo=va[0];Ra.substr(lo,Ka.length)!==Ka&&Qn.push({newText:Ka,span:{length:0,start:lo}});for(var Lo=1;Lo<va.length-1;Lo++)Ra.substr(va[Lo]-Mi.length,Mi.length)!==Mi&&Qn.push({newText:Mi,span:{length:0,start:va[Lo]}}),Ra.substr(va[Lo],Ka.length)!==Ka&&Qn.push({newText:Ka,span:{length:0,start:va[Lo]}});Qn.length%2!==0&&Qn.push({newText:Mi,span:{length:0,start:va[va.length-1]}})}else for(var Ha=0,Yo=va;Ha<Yo.length;Ha++){var co=Yo[Ha],za=co-Mi.length>0?co-Mi.length:0,Hi=Ra.substr(za,Mi.length)===Mi?Mi.length:0;Qn.push({newText:\"\",span:{length:Ka.length,start:co-Hi}})}return Qn}function ht(pt,_t){var Mt=ke.getCurrentSourceFile(pt),It=gt(Mt,_t),rt=It.firstLine,Cn=It.lastLine;return rt===Cn&&_t.pos!==_t.end?ut(pt,_t,!0):vt(pt,_t,!0)}function xt(pt,_t){var Mt=ke.getCurrentSourceFile(pt),It=[],rt=_t.pos,Cn=_t.end;rt===Cn&&(Cn+=e.isInsideJsxElement(Mt,rt)?2:1);for(var Qn=rt;Qn<=Cn;Qn++){var Ra=e.isInComment(Mt,Qn);if(Ra){switch(Ra.kind){case 2:It.push.apply(It,vt(pt,{end:Ra.end,pos:Ra.pos+1},!1));break;case 3:It.push.apply(It,ut(pt,{end:Ra.end,pos:Ra.pos+1},!1))}Qn=Ra.end+1}}return It}function wt(pt){var _t=pt.openingElement,Mt=pt.closingElement,It=pt.parent;return!e.tagNamesAreEquivalent(_t.tagName,Mt.tagName)||e.isJsxElement(It)&&e.tagNamesAreEquivalent(_t.tagName,It.openingElement.tagName)&&wt(It)}function Qt(pt){var _t=pt.closingFragment,Mt=pt.parent;return!!(_t.flags&65536)||e.isJsxFragment(Mt)&&Qt(Mt)}function mt(pt,_t,Mt){var It=ke.getCurrentSourceFile(pt),rt=e.formatting.getRangeOfEnclosingComment(It,_t);return rt&&(!Mt||rt.kind===3)?e.createTextSpanFromRange(rt):void 0}function rn(pt,_t){De();var Mt=Xe(pt);he.throwIfCancellationRequested();var It=Mt.text,rt=[];if(_t.length>0&&!ji(Mt.fileName))for(var Cn=Mi(),Qn=void 0;Qn=Cn.exec(It);){he.throwIfCancellationRequested();var Ra=3;e.Debug.assert(Qn.length===_t.length+Ra);var Ci=Qn[1],_i=Qn.index+Ci.length;if(!!e.isInComment(Mt,_i)){for(var va=void 0,yi=0;yi<_t.length;yi++)Qn[yi+Ra]&&(va=_t[yi]);if(va===void 0)return e.Debug.fail();if(!io(It.charCodeAt(_i+va.text.length))){var ro=Qn[2];rt.push({descriptor:va,message:ro,position:_i})}}}return rt;function Ka(Hi){return Hi.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g,\"\\\\$&\")}function Mi(){var Hi=/(?:\\/\\/+\\s*)/.source,to=/(?:\\/\\*+\\s*)/.source,No=/(?:^(?:\\s|\\*)*)/.source,lo=\"(\"+No+\"|\"+Hi+\"|\"+to+\")\",Lo=\"(?:\"+e.map(_t,function(hi){return\"(\"+Ka(hi.text)+\")\"}).join(\"|\")+\")\",Ha=/(?:$|\\*\\/)/.source,Yo=/(?:.*?)/.source,co=\"(\"+Lo+Yo+\")\",za=lo+co+Ha;return new RegExp(za,\"gim\")}function io(Hi){return Hi>=97&&Hi<=122||Hi>=65&&Hi<=90||Hi>=48&&Hi<=57}function ji(Hi){return e.stringContains(Hi,\"/node_modules/\")}}function sa(pt,_t,Mt){return De(),e.Rename.getRenameInfo(Pe,Xe(pt),_t,Mt)}function ba(pt,_t,Mt,It,rt,Cn){var Qn=typeof _t==\"number\"?[_t,void 0]:[_t.pos,_t.end],Ra=Qn[0],Ci=Qn[1];return{file:pt,startPosition:Ra,endPosition:Ci,program:Ae(),host:Y,formatContext:e.formatting.getFormatContext(It,Y),cancellationToken:he,preferences:Mt,triggerReason:rt,kind:Cn}}function Jn(pt,_t,Mt){return{file:pt,program:Ae(),host:Y,span:_t,preferences:Mt,cancellationToken:he}}function na(pt,_t){return e.SmartSelectionRange.getSmartSelectionRange(_t,ke.getCurrentSourceFile(pt))}function Wn(pt,_t,Mt,It,rt){Mt===void 0&&(Mt=e.emptyOptions),De();var Cn=Xe(pt);return e.refactor.getApplicableRefactors(ba(Cn,_t,Mt,e.emptyOptions,It,rt))}function en(pt,_t,Mt,It,rt,Cn){Cn===void 0&&(Cn=e.emptyOptions),De();var Qn=Xe(pt);return e.refactor.getEditsForRefactor(ba(Qn,Mt,Cn,_t),It,rt)}function St(pt,_t){return _t===0?{line:0,character:0}:qe.toLineColumnOffset(pt,_t)}function Ut(pt,_t){De();var Mt=e.CallHierarchy.resolveCallHierarchyDeclaration(Pe,e.getTouchingPropertyName(Xe(pt),_t));return Mt&&e.mapOneOrMany(Mt,function(It){return e.CallHierarchy.createCallHierarchyItem(Pe,It)})}function qt(pt,_t){De();var Mt=Xe(pt),It=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(Pe,_t===0?Mt:e.getTouchingPropertyName(Mt,_t)));return It?e.CallHierarchy.getIncomingCalls(Pe,It,he):[]}function Mn(pt,_t){De();var Mt=Xe(pt),It=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(Pe,_t===0?Mt:e.getTouchingPropertyName(Mt,_t)));return It?e.CallHierarchy.getOutgoingCalls(Pe,It):[]}function dn(pt,_t,Mt){Mt===void 0&&(Mt=e.emptyOptions),De();var It=Xe(pt);return e.InlayHints.provideInlayHints(Jn(It,_t,Mt))}var oa={dispose:br,cleanupSemanticCache:Dr,getSyntacticDiagnostics:lr,getSemanticDiagnostics:Ar,getSuggestionDiagnostics:kr,getCompilerOptionsDiagnostics:Ke,getSyntacticClassifications:fe,getSemanticClassifications:ye,getEncodedSyntacticClassifications:je,getEncodedSemanticClassifications:or,getCompletionsAtPosition:Me,getCompletionEntryDetails:Hr,getCompletionEntrySymbol:ur,getSignatureHelpItems:bn,getQuickInfoAtPosition:gr,getDefinitionAtPosition:$e,getDefinitionAndBoundSpan:Sr,getImplementationAtPosition:He,getTypeDefinitionAtPosition:Pr,getReferencesAtPosition:Lr,findReferences:lt,getFileReferences:tt,getOccurrencesAtPosition:pr,getDocumentHighlights:Jr,getNameOrDottedNameSpan:zn,getBreakpointStatementAtPosition:ir,getNavigateToItems:Rt,getRenameInfo:sa,getSmartSelectionRange:na,findRenameLocations:ze,getNavigationBarItems:Or,getNavigationTree:sr,getOutliningSpans:Ee,getTodoComments:rn,getBraceMatchingAtPosition:$,getIndentationAtPosition:Ne,getFormattingEditsForRange:me,getFormattingEditsForDocument:Ze,getFormattingEditsAfterKeystroke:Cr,getDocCommentTemplateAtPosition:xr,isValidBraceCompletionAtPosition:Nr,getJsxClosingTagAtPosition:zr,getSpanOfEnclosingComment:mt,getCodeFixesAtPosition:fr,getCombinedCodeFix:dr,applyCodeActionCommand:Vr,organizeImports:et,getEditsForFileRename:yt,getEmitOutput:cn,getNonBoundSourceFile:In,getProgram:Ae,getAutoImportProvider:Ye,getApplicableRefactors:Wn,getEditsForRefactor:en,toLineColumnOffset:St,getSourceMapper:function(){return qe},clearSourceMapperCache:function(){return qe.clearCache()},prepareCallHierarchy:Ut,provideCallHierarchyIncomingCalls:qt,provideCallHierarchyOutgoingCalls:Mn,toggleLineComment:vt,toggleMultilineComment:ut,commentSelection:ht,uncommentSelection:xt,provideInlayHints:dn};switch(ge){case e.LanguageServiceMode.Semantic:break;case e.LanguageServiceMode.PartialSemantic:C.forEach(function(pt){return oa[pt]=function(){throw new Error(\"LanguageService Operation: \".concat(pt,\" not allowed in LanguageServiceMode.PartialSemantic\"))}});break;case e.LanguageServiceMode.Syntactic:m.forEach(function(pt){return oa[pt]=function(){throw new Error(\"LanguageService Operation: \".concat(pt,\" not allowed in LanguageServiceMode.Syntactic\"))}});break;default:e.Debug.assertNever(ge)}return oa}e.createLanguageService=u;function g(Y){return Y.nameTable||P(Y),Y.nameTable}e.getNameTable=g;function P(Y){var U=Y.nameTable=new e.Map;Y.forEachChild(function K(Te){if(e.isIdentifier(Te)&&!e.isTagName(Te)&&Te.escapedText||e.isStringOrNumericLiteralLike(Te)&&te(Te)){var ge=e.getEscapedTextOfIdentifierOrLiteral(Te);U.set(ge,U.get(ge)===void 0?Te.pos:-1)}else if(e.isPrivateIdentifier(Te)){var ge=Te.escapedText;U.set(ge,U.get(ge)===void 0?Te.pos:-1)}if(e.forEachChild(Te,K),e.hasJSDocNodes(Te))for(var ke=0,Pe=Te.jsDoc;ke<Pe.length;ke++){var Ie=Pe[ke];e.forEachChild(Ie,K)}})}function te(Y){return e.isDeclarationName(Y)||Y.parent.kind===276||Ce(Y)||e.isLiteralComputedPropertyDeclarationName(Y)}function ue(Y){var U=X(Y);return U&&(e.isObjectLiteralExpression(U.parent)||e.isJsxAttributes(U.parent))?U:void 0}e.getContainingObjectLiteralElement=ue;function X(Y){switch(Y.kind){case 10:case 14:case 8:if(Y.parent.kind===161)return e.isObjectLiteralElement(Y.parent.parent)?Y.parent.parent:void 0;case 79:return e.isObjectLiteralElement(Y.parent)&&(Y.parent.parent.kind===204||Y.parent.parent.kind===285)&&Y.parent.name===Y?Y.parent:void 0}}function j(Y,U){var K=ue(Y);if(K){var Te=U.getContextualType(K.parent),ge=Te&&Se(K,U,Te,!1);if(ge&&ge.length===1)return e.first(ge)}return U.getSymbolAtLocation(Y)}function Se(Y,U,K,Te){var ge=e.getNameFromPropertyName(Y.name);if(!ge)return e.emptyArray;if(!K.isUnion()){var ke=K.getProperty(ge);return ke?[ke]:e.emptyArray}var Pe=e.mapDefined(K.types,function(Ie){return(e.isObjectLiteralExpression(Y.parent)||e.isJsxAttributes(Y.parent))&&U.isTypeInvalidDueToUnionDiscriminant(Ie,Y.parent)?void 0:Ie.getProperty(ge)});if(Te&&(Pe.length===0||Pe.length===K.types.length)){var ke=K.getProperty(ge);if(ke)return[ke]}return Pe.length===0?e.mapDefined(K.types,function(Ie){return Ie.getProperty(ge)}):Pe}e.getPropertySymbolsFromContextualType=Se;function Ce(Y){return Y&&Y.parent&&Y.parent.kind===206&&Y.parent.argumentExpression===Y}function R(Y){if(typeof __dirname!=\"undefined\")return __dirname+e.directorySeparator+e.getDefaultLibFileName(Y);throw new Error(\"getDefaultLibFilePath is only supported when consumed as a node module. \")}e.getDefaultLibFilePath=R,e.setObjectAllocator(w())}(jr||(jr={})),function(e){(function(n){function f(p,a){if(p.isDeclarationFile)return;var d=e.getTokenAtPosition(p,a),k=p.getLineAndCharacterOfPosition(a).line;if(p.getLineAndCharacterOfPosition(d.getStart(p)).line>k){var J=e.findPrecedingToken(d.pos,p);if(!J||p.getLineAndCharacterOfPosition(J.getEnd()).line!==k)return;d=J}if(d.flags&8388608)return;return M(d);function h(S,B){var H=S.decorators?e.skipTrivia(p.text,S.decorators.end):S.getStart(p);return e.createTextSpanFromBounds(H,(B||S).getEnd())}function v(S,B){return h(S,e.findNextToken(B,B.parent,p))}function A(S,B){return S&&k===p.getLineAndCharacterOfPosition(S.getStart(p)).line?M(S):M(B)}function z(S){return e.createTextSpanFromBounds(e.skipTrivia(p.text,S.pos),S.end)}function ie(S){return M(e.findPrecedingToken(S.pos,p))}function b(S){return M(e.findNextToken(S,S.parent,p))}function M(S){if(S){var B=S.parent;switch(S.kind){case 236:return ne(S.declarationList.declarations[0]);case 253:case 166:case 165:return ne(S);case 163:return Q(S);case 255:case 168:case 167:case 171:case 172:case 170:case 212:case 213:return re(S);case 234:if(e.isFunctionBlock(S))return T(S);case 261:return N(S);case 291:return N(S.block);case 237:return h(S.expression);case 246:return h(S.getChildAt(0),S.expression);case 240:return v(S,S.expression);case 239:return M(S.statement);case 252:return h(S.getChildAt(0));case 238:return v(S,S.expression);case 249:return M(S.statement);case 245:case 244:return h(S.getChildAt(0),S.label);case 241:return D(S);case 242:return v(S,S.expression);case 243:return y(S);case 248:return v(S,S.expression);case 288:case 289:return M(S.statements[0]);case 251:return N(S.tryBlock);case 250:return h(S,S.expression);case 270:return h(S,S.expression);case 264:return h(S,S.moduleReference);case 265:return h(S,S.moduleSpecifier);case 271:return h(S,S.moduleSpecifier);case 260:if(e.getModuleInstanceState(S)!==1)return;case 256:case 259:case 297:case 202:return h(S);case 247:return M(S.statement);case 164:return z(B.decorators);case 200:case 201:return C(S);case 257:case 258:return;case 26:case 1:return A(e.findPrecedingToken(S.pos,p));case 27:return ie(S);case 18:return u(S);case 19:return g(S);case 23:return P(S);case 20:return te(S);case 21:return ue(S);case 58:return X(S);case 31:case 29:return j(S);case 115:return Se(S);case 91:case 83:case 96:return b(S);case 159:return Ce(S);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(S))return m(S);if((S.kind===79||S.kind===224||S.kind===294||S.kind===295)&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(B))return h(S);if(S.kind===220){var H=S,I=H.left,w=H.operatorToken;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(I))return m(I);if(w.kind===63&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(S.parent))return h(S);if(w.kind===27)return M(I)}if(e.isExpressionNode(S))switch(B.kind){case 239:return ie(S);case 164:return M(S.parent);case 241:case 243:return h(S);case 220:if(S.parent.operatorToken.kind===27)return h(S);break;case 213:if(S.parent.body===S)return h(S);break}switch(S.parent.kind){case 294:if(S.parent.name===S&&!e.isArrayLiteralOrObjectLiteralDestructuringPattern(S.parent.parent))return M(S.parent.initializer);break;case 210:if(S.parent.type===S)return b(S.parent.type);break;case 253:case 163:{var x=S.parent,O=x.initializer,q=x.type;if(O===S||q===S||e.isAssignmentOperator(S.kind))return ie(S);break}case 220:{var I=S.parent.left;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(I)&&S!==I)return ie(S);break}default:if(e.isFunctionLike(S.parent)&&S.parent.type===S)return ie(S)}return M(S.parent)}}function Z(R){return e.isVariableDeclarationList(R.parent)&&R.parent.declarations[0]===R?h(e.findPrecedingToken(R.pos,p,R.parent),R):h(R)}function ne(R){if(R.parent.parent.kind===242)return M(R.parent.parent);var Y=R.parent;if(e.isBindingPattern(R.name))return C(R.name);if(R.initializer||e.hasSyntacticModifier(R,1)||Y.parent.kind===243)return Z(R);if(e.isVariableDeclarationList(R.parent)&&R.parent.declarations[0]!==R)return M(e.findPrecedingToken(R.pos,p,R.parent))}function F(R){return!!R.initializer||R.dotDotDotToken!==void 0||e.hasSyntacticModifier(R,12)}function Q(R){if(e.isBindingPattern(R.name))return C(R.name);if(F(R))return h(R);var Y=R.parent,U=Y.parameters.indexOf(R);return e.Debug.assert(U!==-1),U!==0?Q(Y.parameters[U-1]):M(Y.body)}function V(R){return e.hasSyntacticModifier(R,1)||R.parent.kind===256&&R.kind!==170}function re(R){if(!!R.body)return V(R)?h(R):M(R.body)}function T(R){var Y=R.statements.length?R.statements[0]:R.getLastToken();return V(R.parent)?A(R.parent,Y):M(Y)}function N(R){switch(R.parent.kind){case 260:if(e.getModuleInstanceState(R.parent)!==1)return;case 240:case 238:case 242:return A(R.parent,R.statements[0]);case 241:case 243:return A(e.findPrecedingToken(R.pos,p,R.parent),R.statements[0])}return M(R.statements[0])}function y(R){if(R.initializer.kind===254){var Y=R.initializer;if(Y.declarations.length>0)return M(Y.declarations[0])}else return M(R.initializer)}function D(R){if(R.initializer)return y(R);if(R.condition)return h(R.condition);if(R.incrementor)return h(R.incrementor)}function C(R){var Y=e.forEach(R.elements,function(U){return U.kind!==226?U:void 0});return Y?M(Y):R.parent.kind===202?h(R.parent):Z(R.parent)}function m(R){e.Debug.assert(R.kind!==201&&R.kind!==200);var Y=R.kind===203?R.elements:R.properties,U=e.forEach(Y,function(K){return K.kind!==226?K:void 0});return U?M(U):h(R.parent.kind===220?R.parent:R)}function u(R){switch(R.parent.kind){case 259:var Y=R.parent;return A(e.findPrecedingToken(R.pos,p,R.parent),Y.members.length?Y.members[0]:Y.getLastToken(p));case 256:var U=R.parent;return A(e.findPrecedingToken(R.pos,p,R.parent),U.members.length?U.members[0]:U.getLastToken(p));case 262:return A(R.parent.parent,R.parent.clauses[0])}return M(R.parent)}function g(R){switch(R.parent.kind){case 261:if(e.getModuleInstanceState(R.parent.parent)!==1)return;case 259:case 256:return h(R);case 234:if(e.isFunctionBlock(R.parent))return h(R);case 291:return M(e.lastOrUndefined(R.parent.statements));case 262:var Y=R.parent,U=e.lastOrUndefined(Y.clauses);return U?M(e.lastOrUndefined(U.statements)):void 0;case 200:var K=R.parent;return M(e.lastOrUndefined(K.elements)||K);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(R.parent)){var Te=R.parent;return h(e.lastOrUndefined(Te.properties)||Te)}return M(R.parent)}}function P(R){switch(R.parent.kind){case 201:var Y=R.parent;return h(e.lastOrUndefined(Y.elements)||Y);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(R.parent)){var U=R.parent;return h(e.lastOrUndefined(U.elements)||U)}return M(R.parent)}}function te(R){return R.parent.kind===239||R.parent.kind===207||R.parent.kind===208?ie(R):R.parent.kind===211?b(R):M(R.parent)}function ue(R){switch(R.parent.kind){case 212:case 255:case 213:case 168:case 167:case 171:case 172:case 170:case 240:case 239:case 241:case 243:case 207:case 208:case 211:return ie(R);default:return M(R.parent)}}function X(R){return e.isFunctionLike(R.parent)||R.parent.kind===294||R.parent.kind===163?ie(R):M(R.parent)}function j(R){return R.parent.kind===210?b(R):M(R.parent)}function Se(R){return R.parent.kind===239?v(R,R.parent.expression):M(R.parent)}function Ce(R){return R.parent.kind===243?b(R):M(R.parent)}}}n.spanInSourceFileAtLocation=f})(e.BreakpointResolver||(e.BreakpointResolver={}))}(jr||(jr={})),function(e){function n(f,p,a){var d=[];a=e.fixupCompilerOptions(a,d);var k=e.isArray(f)?f:[f],J=e.transformNodes(void 0,void 0,e.factory,a,k,p,!0);return J.diagnostics=e.concatenate(J.diagnostics,d),J}e.transform=n}(jr||(jr={}));var AE=function(){return this}();(function(e){function n(B,H){B&&B.log(\"*INTERNAL ERROR* - Exception in typescript services: \"+H.message)}var f=function(){function B(H){this.scriptSnapshotShim=H}return B.prototype.getText=function(H,I){return this.scriptSnapshotShim.getText(H,I)},B.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()},B.prototype.getChangeRange=function(H){var I=H,w=this.scriptSnapshotShim.getChangeRange(I.scriptSnapshotShim);if(w===null)return null;var x=JSON.parse(w);return e.createTextChangeRange(e.createTextSpan(x.span.start,x.span.length),x.newLength)},B.prototype.dispose=function(){\"dispose\"in this.scriptSnapshotShim&&this.scriptSnapshotShim.dispose()},B}(),p=function(){function B(H){var I=this;this.shimHost=H,this.loggingEnabled=!1,this.tracingEnabled=!1,\"getModuleResolutionsForFile\"in this.shimHost&&(this.resolveModuleNames=function(w,x){var O=JSON.parse(I.shimHost.getModuleResolutionsForFile(x));return e.map(w,function(q){var Z=e.getProperty(O,q);return Z?{resolvedFileName:Z,extension:e.extensionFromPath(Z),isExternalLibraryImport:!1}:void 0})}),\"directoryExists\"in this.shimHost&&(this.directoryExists=function(w){return I.shimHost.directoryExists(w)}),\"getTypeReferenceDirectiveResolutionsForFile\"in this.shimHost&&(this.resolveTypeReferenceDirectives=function(w,x){var O=JSON.parse(I.shimHost.getTypeReferenceDirectiveResolutionsForFile(x));return e.map(w,function(q){return e.getProperty(O,q)})})}return B.prototype.log=function(H){this.loggingEnabled&&this.shimHost.log(H)},B.prototype.trace=function(H){this.tracingEnabled&&this.shimHost.trace(H)},B.prototype.error=function(H){this.shimHost.error(H)},B.prototype.getProjectVersion=function(){if(!!this.shimHost.getProjectVersion)return this.shimHost.getProjectVersion()},B.prototype.getTypeRootsVersion=function(){return this.shimHost.getTypeRootsVersion?this.shimHost.getTypeRootsVersion():0},B.prototype.useCaseSensitiveFileNames=function(){return this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():!1},B.prototype.getCompilationSettings=function(){var H=this.shimHost.getCompilationSettings();if(H===null||H===\"\")throw Error(\"LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings\");var I=JSON.parse(H);return I.allowNonTsExtensions=!0,I},B.prototype.getScriptFileNames=function(){var H=this.shimHost.getScriptFileNames();return JSON.parse(H)},B.prototype.getScriptSnapshot=function(H){var I=this.shimHost.getScriptSnapshot(H);return I&&new f(I)},B.prototype.getScriptKind=function(H){return\"getScriptKind\"in this.shimHost?this.shimHost.getScriptKind(H):0},B.prototype.getScriptVersion=function(H){return this.shimHost.getScriptVersion(H)},B.prototype.getLocalizedDiagnosticMessages=function(){var H=this.shimHost.getLocalizedDiagnosticMessages();if(H===null||H===\"\")return null;try{return JSON.parse(H)}catch(I){return this.log(I.description||\"diagnosticMessages.generated.json has invalid JSON format\"),null}},B.prototype.getCancellationToken=function(){var H=this.shimHost.getCancellationToken();return new e.ThrottledCancellationToken(H)},B.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()},B.prototype.getDirectories=function(H){return JSON.parse(this.shimHost.getDirectories(H))},B.prototype.getDefaultLibFileName=function(H){return this.shimHost.getDefaultLibFileName(JSON.stringify(H))},B.prototype.readDirectory=function(H,I,w,x,O){var q=e.getFileMatcherPatterns(H,w,x,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(H,JSON.stringify(I),JSON.stringify(q.basePaths),q.excludePattern,q.includeFilePattern,q.includeDirectoryPattern,O))},B.prototype.readFile=function(H,I){return this.shimHost.readFile(H,I)},B.prototype.fileExists=function(H){return this.shimHost.fileExists(H)},B}();e.LanguageServiceShimHostAdapter=p;var a=function(){function B(H){var I=this;this.shimHost=H,this.useCaseSensitiveFileNames=this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():!1,\"directoryExists\"in this.shimHost?this.directoryExists=function(w){return I.shimHost.directoryExists(w)}:this.directoryExists=void 0,\"realpath\"in this.shimHost?this.realpath=function(w){return I.shimHost.realpath(w)}:this.realpath=void 0}return B.prototype.readDirectory=function(H,I,w,x,O){var q=e.getFileMatcherPatterns(H,w,x,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(H,JSON.stringify(I),JSON.stringify(q.basePaths),q.excludePattern,q.includeFilePattern,q.includeDirectoryPattern,O))},B.prototype.fileExists=function(H){return this.shimHost.fileExists(H)},B.prototype.readFile=function(H){return this.shimHost.readFile(H)},B.prototype.getDirectories=function(H){return JSON.parse(this.shimHost.getDirectories(H))},B}();e.CoreServicesShimHostAdapter=a;function d(B,H,I,w){var x;w&&(B.log(H),x=e.timestamp());var O=I();if(w){var q=e.timestamp();if(B.log(\"\".concat(H,\" completed in \").concat(q-x,\" msec\")),e.isString(O)){var Z=O;Z.length>128&&(Z=Z.substring(0,128)+\"...\"),B.log(\"  result.length=\".concat(Z.length,\", result='\").concat(JSON.stringify(Z),\"'\"))}}return O}function k(B,H,I,w){return J(B,H,!0,I,w)}function J(B,H,I,w,x){try{var O=d(B,H,w,x);return I?JSON.stringify({result:O}):O}catch(q){return q instanceof e.OperationCanceledException?JSON.stringify({canceled:!0}):(n(B,q),q.description=H,JSON.stringify({error:q}))}}var h=function(){function B(H){this.factory=H,H.registerShim(this)}return B.prototype.dispose=function(H){this.factory.unregisterShim(this)},B}();function v(B,H){return B.map(function(I){return A(I,H)})}e.realizeDiagnostics=v;function A(B,H){return{message:e.flattenDiagnosticMessageText(B.messageText,H),start:B.start,length:B.length,category:e.diagnosticCategoryName(B),code:B.code,reportsUnnecessary:B.reportsUnnecessary,reportsDeprecated:B.reportsDeprecated}}var z=function(B){wm(H,B);function H(I,w,x){var O=B.call(this,I)||this;return O.host=w,O.languageService=x,O.logPerformance=!1,O.logger=O.host,O}return H.prototype.forwardJSONCall=function(I,w){return k(this.logger,I,w,this.logPerformance)},H.prototype.dispose=function(I){this.logger.log(\"dispose()\"),this.languageService.dispose(),this.languageService=null,AE&&AE.CollectGarbage&&(AE.CollectGarbage(),this.logger.log(\"CollectGarbage()\")),this.logger=null,B.prototype.dispose.call(this,I)},H.prototype.refresh=function(I){this.forwardJSONCall(\"refresh(\".concat(I,\")\"),function(){return null})},H.prototype.cleanupSemanticCache=function(){var I=this;this.forwardJSONCall(\"cleanupSemanticCache()\",function(){return I.languageService.cleanupSemanticCache(),null})},H.prototype.realizeDiagnostics=function(I){var w=e.getNewLineOrDefaultFromHost(this.host);return v(I,w)},H.prototype.getSyntacticClassifications=function(I,w,x){var O=this;return this.forwardJSONCall(\"getSyntacticClassifications('\".concat(I,\"', \").concat(w,\", \").concat(x,\")\"),function(){return O.languageService.getSyntacticClassifications(I,e.createTextSpan(w,x))})},H.prototype.getSemanticClassifications=function(I,w,x){var O=this;return this.forwardJSONCall(\"getSemanticClassifications('\".concat(I,\"', \").concat(w,\", \").concat(x,\")\"),function(){return O.languageService.getSemanticClassifications(I,e.createTextSpan(w,x))})},H.prototype.getEncodedSyntacticClassifications=function(I,w,x){var O=this;return this.forwardJSONCall(\"getEncodedSyntacticClassifications('\".concat(I,\"', \").concat(w,\", \").concat(x,\")\"),function(){return ie(O.languageService.getEncodedSyntacticClassifications(I,e.createTextSpan(w,x)))})},H.prototype.getEncodedSemanticClassifications=function(I,w,x){var O=this;return this.forwardJSONCall(\"getEncodedSemanticClassifications('\".concat(I,\"', \").concat(w,\", \").concat(x,\")\"),function(){return ie(O.languageService.getEncodedSemanticClassifications(I,e.createTextSpan(w,x)))})},H.prototype.getSyntacticDiagnostics=function(I){var w=this;return this.forwardJSONCall(\"getSyntacticDiagnostics('\".concat(I,\"')\"),function(){var x=w.languageService.getSyntacticDiagnostics(I);return w.realizeDiagnostics(x)})},H.prototype.getSemanticDiagnostics=function(I){var w=this;return this.forwardJSONCall(\"getSemanticDiagnostics('\".concat(I,\"')\"),function(){var x=w.languageService.getSemanticDiagnostics(I);return w.realizeDiagnostics(x)})},H.prototype.getSuggestionDiagnostics=function(I){var w=this;return this.forwardJSONCall(\"getSuggestionDiagnostics('\".concat(I,\"')\"),function(){return w.realizeDiagnostics(w.languageService.getSuggestionDiagnostics(I))})},H.prototype.getCompilerOptionsDiagnostics=function(){var I=this;return this.forwardJSONCall(\"getCompilerOptionsDiagnostics()\",function(){var w=I.languageService.getCompilerOptionsDiagnostics();return I.realizeDiagnostics(w)})},H.prototype.getQuickInfoAtPosition=function(I,w){var x=this;return this.forwardJSONCall(\"getQuickInfoAtPosition('\".concat(I,\"', \").concat(w,\")\"),function(){return x.languageService.getQuickInfoAtPosition(I,w)})},H.prototype.getNameOrDottedNameSpan=function(I,w,x){var O=this;return this.forwardJSONCall(\"getNameOrDottedNameSpan('\".concat(I,\"', \").concat(w,\", \").concat(x,\")\"),function(){return O.languageService.getNameOrDottedNameSpan(I,w,x)})},H.prototype.getBreakpointStatementAtPosition=function(I,w){var x=this;return this.forwardJSONCall(\"getBreakpointStatementAtPosition('\".concat(I,\"', \").concat(w,\")\"),function(){return x.languageService.getBreakpointStatementAtPosition(I,w)})},H.prototype.getSignatureHelpItems=function(I,w,x){var O=this;return this.forwardJSONCall(\"getSignatureHelpItems('\".concat(I,\"', \").concat(w,\")\"),function(){return O.languageService.getSignatureHelpItems(I,w,x)})},H.prototype.getDefinitionAtPosition=function(I,w){var x=this;return this.forwardJSONCall(\"getDefinitionAtPosition('\".concat(I,\"', \").concat(w,\")\"),function(){return x.languageService.getDefinitionAtPosition(I,w)})},H.prototype.getDefinitionAndBoundSpan=function(I,w){var x=this;return this.forwardJSONCall(\"getDefinitionAndBoundSpan('\".concat(I,\"', \").concat(w,\")\"),function(){return x.languageService.getDefinitionAndBoundSpan(I,w)})},H.prototype.getTypeDefinitionAtPosition=function(I,w){var x=this;return this.forwardJSONCall(\"getTypeDefinitionAtPosition('\".concat(I,\"', \").concat(w,\")\"),function(){return x.languageService.getTypeDefinitionAtPosition(I,w)})},H.prototype.getImplementationAtPosition=function(I,w){var x=this;return this.forwardJSONCall(\"getImplementationAtPosition('\".concat(I,\"', \").concat(w,\")\"),function(){return x.languageService.getImplementationAtPosition(I,w)})},H.prototype.getRenameInfo=function(I,w,x){var O=this;return this.forwardJSONCall(\"getRenameInfo('\".concat(I,\"', \").concat(w,\")\"),function(){return O.languageService.getRenameInfo(I,w,x)})},H.prototype.getSmartSelectionRange=function(I,w){var x=this;return this.forwardJSONCall(\"getSmartSelectionRange('\".concat(I,\"', \").concat(w,\")\"),function(){return x.languageService.getSmartSelectionRange(I,w)})},H.prototype.findRenameLocations=function(I,w,x,O,q){var Z=this;return this.forwardJSONCall(\"findRenameLocations('\".concat(I,\"', \").concat(w,\", \").concat(x,\", \").concat(O,\", \").concat(q,\")\"),function(){return Z.languageService.findRenameLocations(I,w,x,O,q)})},H.prototype.getBraceMatchingAtPosition=function(I,w){var x=this;return this.forwardJSONCall(\"getBraceMatchingAtPosition('\".concat(I,\"', \").concat(w,\")\"),function(){return x.languageService.getBraceMatchingAtPosition(I,w)})},H.prototype.isValidBraceCompletionAtPosition=function(I,w,x){var O=this;return this.forwardJSONCall(\"isValidBraceCompletionAtPosition('\".concat(I,\"', \").concat(w,\", \").concat(x,\")\"),function(){return O.languageService.isValidBraceCompletionAtPosition(I,w,x)})},H.prototype.getSpanOfEnclosingComment=function(I,w,x){var O=this;return this.forwardJSONCall(\"getSpanOfEnclosingComment('\".concat(I,\"', \").concat(w,\")\"),function(){return O.languageService.getSpanOfEnclosingComment(I,w,x)})},H.prototype.getIndentationAtPosition=function(I,w,x){var O=this;return this.forwardJSONCall(\"getIndentationAtPosition('\".concat(I,\"', \").concat(w,\")\"),function(){var q=JSON.parse(x);return O.languageService.getIndentationAtPosition(I,w,q)})},H.prototype.getReferencesAtPosition=function(I,w){var x=this;return this.forwardJSONCall(\"getReferencesAtPosition('\".concat(I,\"', \").concat(w,\")\"),function(){return x.languageService.getReferencesAtPosition(I,w)})},H.prototype.findReferences=function(I,w){var x=this;return this.forwardJSONCall(\"findReferences('\".concat(I,\"', \").concat(w,\")\"),function(){return x.languageService.findReferences(I,w)})},H.prototype.getFileReferences=function(I){var w=this;return this.forwardJSONCall(\"getFileReferences('\".concat(I,\")\"),function(){return w.languageService.getFileReferences(I)})},H.prototype.getOccurrencesAtPosition=function(I,w){var x=this;return this.forwardJSONCall(\"getOccurrencesAtPosition('\".concat(I,\"', \").concat(w,\")\"),function(){return x.languageService.getOccurrencesAtPosition(I,w)})},H.prototype.getDocumentHighlights=function(I,w,x){var O=this;return this.forwardJSONCall(\"getDocumentHighlights('\".concat(I,\"', \").concat(w,\")\"),function(){var q=O.languageService.getDocumentHighlights(I,w,JSON.parse(x)),Z=e.toFileNameLowerCase(e.normalizeSlashes(I));return e.filter(q,function(ne){return e.toFileNameLowerCase(e.normalizeSlashes(ne.fileName))===Z})})},H.prototype.getCompletionsAtPosition=function(I,w,x){var O=this;return this.forwardJSONCall(\"getCompletionsAtPosition('\".concat(I,\"', \").concat(w,\", \").concat(x,\")\"),function(){return O.languageService.getCompletionsAtPosition(I,w,x)})},H.prototype.getCompletionEntryDetails=function(I,w,x,O,q,Z,ne){var F=this;return this.forwardJSONCall(\"getCompletionEntryDetails('\".concat(I,\"', \").concat(w,\", '\").concat(x,\"')\"),function(){var Q=O===void 0?void 0:JSON.parse(O);return F.languageService.getCompletionEntryDetails(I,w,x,Q,q,Z,ne)})},H.prototype.getFormattingEditsForRange=function(I,w,x,O){var q=this;return this.forwardJSONCall(\"getFormattingEditsForRange('\".concat(I,\"', \").concat(w,\", \").concat(x,\")\"),function(){var Z=JSON.parse(O);return q.languageService.getFormattingEditsForRange(I,w,x,Z)})},H.prototype.getFormattingEditsForDocument=function(I,w){var x=this;return this.forwardJSONCall(\"getFormattingEditsForDocument('\".concat(I,\"')\"),function(){var O=JSON.parse(w);return x.languageService.getFormattingEditsForDocument(I,O)})},H.prototype.getFormattingEditsAfterKeystroke=function(I,w,x,O){var q=this;return this.forwardJSONCall(\"getFormattingEditsAfterKeystroke('\".concat(I,\"', \").concat(w,\", '\").concat(x,\"')\"),function(){var Z=JSON.parse(O);return q.languageService.getFormattingEditsAfterKeystroke(I,w,x,Z)})},H.prototype.getDocCommentTemplateAtPosition=function(I,w,x){var O=this;return this.forwardJSONCall(\"getDocCommentTemplateAtPosition('\".concat(I,\"', \").concat(w,\")\"),function(){return O.languageService.getDocCommentTemplateAtPosition(I,w,x)})},H.prototype.getNavigateToItems=function(I,w,x){var O=this;return this.forwardJSONCall(\"getNavigateToItems('\".concat(I,\"', \").concat(w,\", \").concat(x,\")\"),function(){return O.languageService.getNavigateToItems(I,w,x)})},H.prototype.getNavigationBarItems=function(I){var w=this;return this.forwardJSONCall(\"getNavigationBarItems('\".concat(I,\"')\"),function(){return w.languageService.getNavigationBarItems(I)})},H.prototype.getNavigationTree=function(I){var w=this;return this.forwardJSONCall(\"getNavigationTree('\".concat(I,\"')\"),function(){return w.languageService.getNavigationTree(I)})},H.prototype.getOutliningSpans=function(I){var w=this;return this.forwardJSONCall(\"getOutliningSpans('\".concat(I,\"')\"),function(){return w.languageService.getOutliningSpans(I)})},H.prototype.getTodoComments=function(I,w){var x=this;return this.forwardJSONCall(\"getTodoComments('\".concat(I,\"')\"),function(){return x.languageService.getTodoComments(I,JSON.parse(w))})},H.prototype.prepareCallHierarchy=function(I,w){var x=this;return this.forwardJSONCall(\"prepareCallHierarchy('\".concat(I,\"', \").concat(w,\")\"),function(){return x.languageService.prepareCallHierarchy(I,w)})},H.prototype.provideCallHierarchyIncomingCalls=function(I,w){var x=this;return this.forwardJSONCall(\"provideCallHierarchyIncomingCalls('\".concat(I,\"', \").concat(w,\")\"),function(){return x.languageService.provideCallHierarchyIncomingCalls(I,w)})},H.prototype.provideCallHierarchyOutgoingCalls=function(I,w){var x=this;return this.forwardJSONCall(\"provideCallHierarchyOutgoingCalls('\".concat(I,\"', \").concat(w,\")\"),function(){return x.languageService.provideCallHierarchyOutgoingCalls(I,w)})},H.prototype.provideInlayHints=function(I,w,x){var O=this;return this.forwardJSONCall(\"provideInlayHints('\".concat(I,\"', '\").concat(JSON.stringify(w),\"', \").concat(JSON.stringify(x),\")\"),function(){return O.languageService.provideInlayHints(I,w,x)})},H.prototype.getEmitOutput=function(I){var w=this;return this.forwardJSONCall(\"getEmitOutput('\".concat(I,\"')\"),function(){var x=w.languageService.getEmitOutput(I),O=x.diagnostics,q=oD(x,[\"diagnostics\"]);return Rn(Rn({},q),{diagnostics:w.realizeDiagnostics(O)})})},H.prototype.getEmitOutputObject=function(I){var w=this;return J(this.logger,\"getEmitOutput('\".concat(I,\"')\"),!1,function(){return w.languageService.getEmitOutput(I)},this.logPerformance)},H.prototype.toggleLineComment=function(I,w){var x=this;return this.forwardJSONCall(\"toggleLineComment('\".concat(I,\"', '\").concat(JSON.stringify(w),\"')\"),function(){return x.languageService.toggleLineComment(I,w)})},H.prototype.toggleMultilineComment=function(I,w){var x=this;return this.forwardJSONCall(\"toggleMultilineComment('\".concat(I,\"', '\").concat(JSON.stringify(w),\"')\"),function(){return x.languageService.toggleMultilineComment(I,w)})},H.prototype.commentSelection=function(I,w){var x=this;return this.forwardJSONCall(\"commentSelection('\".concat(I,\"', '\").concat(JSON.stringify(w),\"')\"),function(){return x.languageService.commentSelection(I,w)})},H.prototype.uncommentSelection=function(I,w){var x=this;return this.forwardJSONCall(\"uncommentSelection('\".concat(I,\"', '\").concat(JSON.stringify(w),\"')\"),function(){return x.languageService.uncommentSelection(I,w)})},H}(h);function ie(B){return{spans:B.spans.join(\",\"),endOfLineState:B.endOfLineState}}var b=function(B){wm(H,B);function H(I,w){var x=B.call(this,I)||this;return x.logger=w,x.logPerformance=!1,x.classifier=e.createClassifier(),x}return H.prototype.getEncodedLexicalClassifications=function(I,w,x){var O=this;return x===void 0&&(x=!1),k(this.logger,\"getEncodedLexicalClassifications\",function(){return ie(O.classifier.getEncodedLexicalClassifications(I,w,x))},this.logPerformance)},H.prototype.getClassificationsForLine=function(I,w,x){x===void 0&&(x=!1);for(var O=this.classifier.getClassificationsForLine(I,w,x),q=\"\",Z=0,ne=O.entries;Z<ne.length;Z++){var F=ne[Z];q+=F.length+`\n`,q+=F.classification+`\n`}return q+=O.finalLexState,q},H}(h),M=function(B){wm(H,B);function H(I,w,x){var O=B.call(this,I)||this;return O.logger=w,O.host=x,O.logPerformance=!1,O}return H.prototype.forwardJSONCall=function(I,w){return k(this.logger,I,w,this.logPerformance)},H.prototype.resolveModuleName=function(I,w,x){var O=this;return this.forwardJSONCall(\"resolveModuleName('\".concat(I,\"')\"),function(){var q=JSON.parse(x),Z=e.resolveModuleName(w,e.normalizeSlashes(I),q,O.host),ne=Z.resolvedModule?Z.resolvedModule.resolvedFileName:void 0;return Z.resolvedModule&&Z.resolvedModule.extension!==\".ts\"&&Z.resolvedModule.extension!==\".tsx\"&&Z.resolvedModule.extension!==\".d.ts\"&&(ne=void 0),{resolvedFileName:ne,failedLookupLocations:Z.failedLookupLocations}})},H.prototype.resolveTypeReferenceDirective=function(I,w,x){var O=this;return this.forwardJSONCall(\"resolveTypeReferenceDirective(\".concat(I,\")\"),function(){var q=JSON.parse(x),Z=e.resolveTypeReferenceDirective(w,e.normalizeSlashes(I),q,O.host);return{resolvedFileName:Z.resolvedTypeReferenceDirective?Z.resolvedTypeReferenceDirective.resolvedFileName:void 0,primary:Z.resolvedTypeReferenceDirective?Z.resolvedTypeReferenceDirective.primary:!0,failedLookupLocations:Z.failedLookupLocations}})},H.prototype.getPreProcessedFileInfo=function(I,w){var x=this;return this.forwardJSONCall(\"getPreProcessedFileInfo('\".concat(I,\"')\"),function(){var O=e.preProcessFile(e.getSnapshotText(w),!0,!0);return{referencedFiles:x.convertFileReferences(O.referencedFiles),importedFiles:x.convertFileReferences(O.importedFiles),ambientExternalModules:O.ambientExternalModules,isLibFile:O.isLibFile,typeReferenceDirectives:x.convertFileReferences(O.typeReferenceDirectives),libReferenceDirectives:x.convertFileReferences(O.libReferenceDirectives)}})},H.prototype.getAutomaticTypeDirectiveNames=function(I){var w=this;return this.forwardJSONCall(\"getAutomaticTypeDirectiveNames('\".concat(I,\"')\"),function(){var x=JSON.parse(I);return e.getAutomaticTypeDirectiveNames(x,w.host)})},H.prototype.convertFileReferences=function(I){if(!!I){for(var w=[],x=0,O=I;x<O.length;x++){var q=O[x];w.push({path:e.normalizeSlashes(q.fileName),position:q.pos,length:q.end-q.pos})}return w}},H.prototype.getTSConfigFileInfo=function(I,w){var x=this;return this.forwardJSONCall(\"getTSConfigFileInfo('\".concat(I,\"')\"),function(){var O=e.parseJsonText(I,e.getSnapshotText(w)),q=e.normalizeSlashes(I),Z=e.parseJsonSourceFileConfigFileContent(O,x.host,e.getDirectoryPath(q),{},q);return{options:Z.options,typeAcquisition:Z.typeAcquisition,files:Z.fileNames,raw:Z.raw,errors:v(Gt(Gt([],O.parseDiagnostics,!0),Z.errors,!0),`\\r\n`)}})},H.prototype.getDefaultCompilationSettings=function(){return this.forwardJSONCall(\"getDefaultCompilationSettings()\",function(){return e.getDefaultCompilerOptions()})},H.prototype.discoverTypings=function(I){var w=this,x=e.createGetCanonicalFileName(!1);return this.forwardJSONCall(\"discoverTypings()\",function(){var O=JSON.parse(I);return w.safeList===void 0&&(w.safeList=e.JsTyping.loadSafeList(w.host,e.toPath(O.safeListPath,O.safeListPath,x))),e.JsTyping.discoverTypings(w.host,function(q){return w.logger.log(q)},O.fileNames,e.toPath(O.projectRootPath,O.projectRootPath,x),w.safeList,O.packageNameToTypingLocation,O.typeAcquisition,O.unresolvedImports,O.typesRegistry)})},H}(h),S=function(){function B(){this._shims=[]}return B.prototype.getServicesVersion=function(){return e.servicesVersion},B.prototype.createLanguageServiceShim=function(H){try{this.documentRegistry===void 0&&(this.documentRegistry=e.createDocumentRegistry(H.useCaseSensitiveFileNames&&H.useCaseSensitiveFileNames(),H.getCurrentDirectory()));var I=new p(H),w=e.createLanguageService(I,this.documentRegistry,!1);return new z(this,H,w)}catch(x){throw n(H,x),x}},B.prototype.createClassifierShim=function(H){try{return new b(this,H)}catch(I){throw n(H,I),I}},B.prototype.createCoreServicesShim=function(H){try{var I=new a(H);return new M(this,H,I)}catch(w){throw n(H,w),w}},B.prototype.close=function(){e.clear(this._shims),this.documentRegistry=void 0},B.prototype.registerShim=function(H){this._shims.push(H)},B.prototype.unregisterShim=function(H){for(var I=0;I<this._shims.length;I++)if(this._shims[I]===H){delete this._shims[I];return}throw new Error(\"Invalid operation\")},B}();e.TypeScriptServicesFactory=S})(jr||(jr={})),function(){if(typeof globalThis!=\"object\")try{Object.defineProperty(Object.prototype,\"__magic__\",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,typeof globalThis==\"undefined\"&&(window.globalThis=window),delete Object.prototype.__magic__}catch{window.globalThis=window}}(),(typeof process==\"undefined\"||process.browser)&&(globalThis.TypeScript=globalThis.TypeScript||{},globalThis.TypeScript.Services=globalThis.TypeScript.Services||{},globalThis.TypeScript.Services.TypeScriptServicesFactory=jr.TypeScriptServicesFactory,globalThis.toolsVersion=jr.versionMajorMinor),typeof module!=\"undefined\"&&module.exports;var jr;(function(e){var n={since:\"4.0\",warnAfter:\"4.1\",message:\"Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.\"};e.createNodeArray=e.Debug.deprecate(e.factory.createNodeArray,n),e.createNumericLiteral=e.Debug.deprecate(e.factory.createNumericLiteral,n),e.createBigIntLiteral=e.Debug.deprecate(e.factory.createBigIntLiteral,n),e.createStringLiteral=e.Debug.deprecate(e.factory.createStringLiteral,n),e.createStringLiteralFromNode=e.Debug.deprecate(e.factory.createStringLiteralFromNode,n),e.createRegularExpressionLiteral=e.Debug.deprecate(e.factory.createRegularExpressionLiteral,n),e.createLoopVariable=e.Debug.deprecate(e.factory.createLoopVariable,n),e.createUniqueName=e.Debug.deprecate(e.factory.createUniqueName,n),e.createPrivateIdentifier=e.Debug.deprecate(e.factory.createPrivateIdentifier,n),e.createSuper=e.Debug.deprecate(e.factory.createSuper,n),e.createThis=e.Debug.deprecate(e.factory.createThis,n),e.createNull=e.Debug.deprecate(e.factory.createNull,n),e.createTrue=e.Debug.deprecate(e.factory.createTrue,n),e.createFalse=e.Debug.deprecate(e.factory.createFalse,n),e.createModifier=e.Debug.deprecate(e.factory.createModifier,n),e.createModifiersFromModifierFlags=e.Debug.deprecate(e.factory.createModifiersFromModifierFlags,n),e.createQualifiedName=e.Debug.deprecate(e.factory.createQualifiedName,n),e.updateQualifiedName=e.Debug.deprecate(e.factory.updateQualifiedName,n),e.createComputedPropertyName=e.Debug.deprecate(e.factory.createComputedPropertyName,n),e.updateComputedPropertyName=e.Debug.deprecate(e.factory.updateComputedPropertyName,n),e.createTypeParameterDeclaration=e.Debug.deprecate(e.factory.createTypeParameterDeclaration,n),e.updateTypeParameterDeclaration=e.Debug.deprecate(e.factory.updateTypeParameterDeclaration,n),e.createParameter=e.Debug.deprecate(e.factory.createParameterDeclaration,n),e.updateParameter=e.Debug.deprecate(e.factory.updateParameterDeclaration,n),e.createDecorator=e.Debug.deprecate(e.factory.createDecorator,n),e.updateDecorator=e.Debug.deprecate(e.factory.updateDecorator,n),e.createProperty=e.Debug.deprecate(e.factory.createPropertyDeclaration,n),e.updateProperty=e.Debug.deprecate(e.factory.updatePropertyDeclaration,n),e.createMethod=e.Debug.deprecate(e.factory.createMethodDeclaration,n),e.updateMethod=e.Debug.deprecate(e.factory.updateMethodDeclaration,n),e.createConstructor=e.Debug.deprecate(e.factory.createConstructorDeclaration,n),e.updateConstructor=e.Debug.deprecate(e.factory.updateConstructorDeclaration,n),e.createGetAccessor=e.Debug.deprecate(e.factory.createGetAccessorDeclaration,n),e.updateGetAccessor=e.Debug.deprecate(e.factory.updateGetAccessorDeclaration,n),e.createSetAccessor=e.Debug.deprecate(e.factory.createSetAccessorDeclaration,n),e.updateSetAccessor=e.Debug.deprecate(e.factory.updateSetAccessorDeclaration,n),e.createCallSignature=e.Debug.deprecate(e.factory.createCallSignature,n),e.updateCallSignature=e.Debug.deprecate(e.factory.updateCallSignature,n),e.createConstructSignature=e.Debug.deprecate(e.factory.createConstructSignature,n),e.updateConstructSignature=e.Debug.deprecate(e.factory.updateConstructSignature,n),e.updateIndexSignature=e.Debug.deprecate(e.factory.updateIndexSignature,n),e.createKeywordTypeNode=e.Debug.deprecate(e.factory.createKeywordTypeNode,n),e.createTypePredicateNodeWithModifier=e.Debug.deprecate(e.factory.createTypePredicateNode,n),e.updateTypePredicateNodeWithModifier=e.Debug.deprecate(e.factory.updateTypePredicateNode,n),e.createTypeReferenceNode=e.Debug.deprecate(e.factory.createTypeReferenceNode,n),e.updateTypeReferenceNode=e.Debug.deprecate(e.factory.updateTypeReferenceNode,n),e.createFunctionTypeNode=e.Debug.deprecate(e.factory.createFunctionTypeNode,n),e.updateFunctionTypeNode=e.Debug.deprecate(e.factory.updateFunctionTypeNode,n),e.createConstructorTypeNode=e.Debug.deprecate(function(f,p,a){return e.factory.createConstructorTypeNode(void 0,f,p,a)},n),e.updateConstructorTypeNode=e.Debug.deprecate(function(f,p,a,d){return e.factory.updateConstructorTypeNode(f,f.modifiers,p,a,d)},n),e.createTypeQueryNode=e.Debug.deprecate(e.factory.createTypeQueryNode,n),e.updateTypeQueryNode=e.Debug.deprecate(e.factory.updateTypeQueryNode,n),e.createTypeLiteralNode=e.Debug.deprecate(e.factory.createTypeLiteralNode,n),e.updateTypeLiteralNode=e.Debug.deprecate(e.factory.updateTypeLiteralNode,n),e.createArrayTypeNode=e.Debug.deprecate(e.factory.createArrayTypeNode,n),e.updateArrayTypeNode=e.Debug.deprecate(e.factory.updateArrayTypeNode,n),e.createTupleTypeNode=e.Debug.deprecate(e.factory.createTupleTypeNode,n),e.updateTupleTypeNode=e.Debug.deprecate(e.factory.updateTupleTypeNode,n),e.createOptionalTypeNode=e.Debug.deprecate(e.factory.createOptionalTypeNode,n),e.updateOptionalTypeNode=e.Debug.deprecate(e.factory.updateOptionalTypeNode,n),e.createRestTypeNode=e.Debug.deprecate(e.factory.createRestTypeNode,n),e.updateRestTypeNode=e.Debug.deprecate(e.factory.updateRestTypeNode,n),e.createUnionTypeNode=e.Debug.deprecate(e.factory.createUnionTypeNode,n),e.updateUnionTypeNode=e.Debug.deprecate(e.factory.updateUnionTypeNode,n),e.createIntersectionTypeNode=e.Debug.deprecate(e.factory.createIntersectionTypeNode,n),e.updateIntersectionTypeNode=e.Debug.deprecate(e.factory.updateIntersectionTypeNode,n),e.createConditionalTypeNode=e.Debug.deprecate(e.factory.createConditionalTypeNode,n),e.updateConditionalTypeNode=e.Debug.deprecate(e.factory.updateConditionalTypeNode,n),e.createInferTypeNode=e.Debug.deprecate(e.factory.createInferTypeNode,n),e.updateInferTypeNode=e.Debug.deprecate(e.factory.updateInferTypeNode,n),e.createImportTypeNode=e.Debug.deprecate(e.factory.createImportTypeNode,n),e.updateImportTypeNode=e.Debug.deprecate(e.factory.updateImportTypeNode,n),e.createParenthesizedType=e.Debug.deprecate(e.factory.createParenthesizedType,n),e.updateParenthesizedType=e.Debug.deprecate(e.factory.updateParenthesizedType,n),e.createThisTypeNode=e.Debug.deprecate(e.factory.createThisTypeNode,n),e.updateTypeOperatorNode=e.Debug.deprecate(e.factory.updateTypeOperatorNode,n),e.createIndexedAccessTypeNode=e.Debug.deprecate(e.factory.createIndexedAccessTypeNode,n),e.updateIndexedAccessTypeNode=e.Debug.deprecate(e.factory.updateIndexedAccessTypeNode,n),e.createMappedTypeNode=e.Debug.deprecate(e.factory.createMappedTypeNode,n),e.updateMappedTypeNode=e.Debug.deprecate(e.factory.updateMappedTypeNode,n),e.createLiteralTypeNode=e.Debug.deprecate(e.factory.createLiteralTypeNode,n),e.updateLiteralTypeNode=e.Debug.deprecate(e.factory.updateLiteralTypeNode,n),e.createObjectBindingPattern=e.Debug.deprecate(e.factory.createObjectBindingPattern,n),e.updateObjectBindingPattern=e.Debug.deprecate(e.factory.updateObjectBindingPattern,n),e.createArrayBindingPattern=e.Debug.deprecate(e.factory.createArrayBindingPattern,n),e.updateArrayBindingPattern=e.Debug.deprecate(e.factory.updateArrayBindingPattern,n),e.createBindingElement=e.Debug.deprecate(e.factory.createBindingElement,n),e.updateBindingElement=e.Debug.deprecate(e.factory.updateBindingElement,n),e.createArrayLiteral=e.Debug.deprecate(e.factory.createArrayLiteralExpression,n),e.updateArrayLiteral=e.Debug.deprecate(e.factory.updateArrayLiteralExpression,n),e.createObjectLiteral=e.Debug.deprecate(e.factory.createObjectLiteralExpression,n),e.updateObjectLiteral=e.Debug.deprecate(e.factory.updateObjectLiteralExpression,n),e.createPropertyAccess=e.Debug.deprecate(e.factory.createPropertyAccessExpression,n),e.updatePropertyAccess=e.Debug.deprecate(e.factory.updatePropertyAccessExpression,n),e.createPropertyAccessChain=e.Debug.deprecate(e.factory.createPropertyAccessChain,n),e.updatePropertyAccessChain=e.Debug.deprecate(e.factory.updatePropertyAccessChain,n),e.createElementAccess=e.Debug.deprecate(e.factory.createElementAccessExpression,n),e.updateElementAccess=e.Debug.deprecate(e.factory.updateElementAccessExpression,n),e.createElementAccessChain=e.Debug.deprecate(e.factory.createElementAccessChain,n),e.updateElementAccessChain=e.Debug.deprecate(e.factory.updateElementAccessChain,n),e.createCall=e.Debug.deprecate(e.factory.createCallExpression,n),e.updateCall=e.Debug.deprecate(e.factory.updateCallExpression,n),e.createCallChain=e.Debug.deprecate(e.factory.createCallChain,n),e.updateCallChain=e.Debug.deprecate(e.factory.updateCallChain,n),e.createNew=e.Debug.deprecate(e.factory.createNewExpression,n),e.updateNew=e.Debug.deprecate(e.factory.updateNewExpression,n),e.createTypeAssertion=e.Debug.deprecate(e.factory.createTypeAssertion,n),e.updateTypeAssertion=e.Debug.deprecate(e.factory.updateTypeAssertion,n),e.createParen=e.Debug.deprecate(e.factory.createParenthesizedExpression,n),e.updateParen=e.Debug.deprecate(e.factory.updateParenthesizedExpression,n),e.createFunctionExpression=e.Debug.deprecate(e.factory.createFunctionExpression,n),e.updateFunctionExpression=e.Debug.deprecate(e.factory.updateFunctionExpression,n),e.createDelete=e.Debug.deprecate(e.factory.createDeleteExpression,n),e.updateDelete=e.Debug.deprecate(e.factory.updateDeleteExpression,n),e.createTypeOf=e.Debug.deprecate(e.factory.createTypeOfExpression,n),e.updateTypeOf=e.Debug.deprecate(e.factory.updateTypeOfExpression,n),e.createVoid=e.Debug.deprecate(e.factory.createVoidExpression,n),e.updateVoid=e.Debug.deprecate(e.factory.updateVoidExpression,n),e.createAwait=e.Debug.deprecate(e.factory.createAwaitExpression,n),e.updateAwait=e.Debug.deprecate(e.factory.updateAwaitExpression,n),e.createPrefix=e.Debug.deprecate(e.factory.createPrefixUnaryExpression,n),e.updatePrefix=e.Debug.deprecate(e.factory.updatePrefixUnaryExpression,n),e.createPostfix=e.Debug.deprecate(e.factory.createPostfixUnaryExpression,n),e.updatePostfix=e.Debug.deprecate(e.factory.updatePostfixUnaryExpression,n),e.createBinary=e.Debug.deprecate(e.factory.createBinaryExpression,n),e.updateConditional=e.Debug.deprecate(e.factory.updateConditionalExpression,n),e.createTemplateExpression=e.Debug.deprecate(e.factory.createTemplateExpression,n),e.updateTemplateExpression=e.Debug.deprecate(e.factory.updateTemplateExpression,n),e.createTemplateHead=e.Debug.deprecate(e.factory.createTemplateHead,n),e.createTemplateMiddle=e.Debug.deprecate(e.factory.createTemplateMiddle,n),e.createTemplateTail=e.Debug.deprecate(e.factory.createTemplateTail,n),e.createNoSubstitutionTemplateLiteral=e.Debug.deprecate(e.factory.createNoSubstitutionTemplateLiteral,n),e.updateYield=e.Debug.deprecate(e.factory.updateYieldExpression,n),e.createSpread=e.Debug.deprecate(e.factory.createSpreadElement,n),e.updateSpread=e.Debug.deprecate(e.factory.updateSpreadElement,n),e.createOmittedExpression=e.Debug.deprecate(e.factory.createOmittedExpression,n),e.createAsExpression=e.Debug.deprecate(e.factory.createAsExpression,n),e.updateAsExpression=e.Debug.deprecate(e.factory.updateAsExpression,n),e.createNonNullExpression=e.Debug.deprecate(e.factory.createNonNullExpression,n),e.updateNonNullExpression=e.Debug.deprecate(e.factory.updateNonNullExpression,n),e.createNonNullChain=e.Debug.deprecate(e.factory.createNonNullChain,n),e.updateNonNullChain=e.Debug.deprecate(e.factory.updateNonNullChain,n),e.createMetaProperty=e.Debug.deprecate(e.factory.createMetaProperty,n),e.updateMetaProperty=e.Debug.deprecate(e.factory.updateMetaProperty,n),e.createTemplateSpan=e.Debug.deprecate(e.factory.createTemplateSpan,n),e.updateTemplateSpan=e.Debug.deprecate(e.factory.updateTemplateSpan,n),e.createSemicolonClassElement=e.Debug.deprecate(e.factory.createSemicolonClassElement,n),e.createBlock=e.Debug.deprecate(e.factory.createBlock,n),e.updateBlock=e.Debug.deprecate(e.factory.updateBlock,n),e.createVariableStatement=e.Debug.deprecate(e.factory.createVariableStatement,n),e.updateVariableStatement=e.Debug.deprecate(e.factory.updateVariableStatement,n),e.createEmptyStatement=e.Debug.deprecate(e.factory.createEmptyStatement,n),e.createExpressionStatement=e.Debug.deprecate(e.factory.createExpressionStatement,n),e.updateExpressionStatement=e.Debug.deprecate(e.factory.updateExpressionStatement,n),e.createStatement=e.Debug.deprecate(e.factory.createExpressionStatement,n),e.updateStatement=e.Debug.deprecate(e.factory.updateExpressionStatement,n),e.createIf=e.Debug.deprecate(e.factory.createIfStatement,n),e.updateIf=e.Debug.deprecate(e.factory.updateIfStatement,n),e.createDo=e.Debug.deprecate(e.factory.createDoStatement,n),e.updateDo=e.Debug.deprecate(e.factory.updateDoStatement,n),e.createWhile=e.Debug.deprecate(e.factory.createWhileStatement,n),e.updateWhile=e.Debug.deprecate(e.factory.updateWhileStatement,n),e.createFor=e.Debug.deprecate(e.factory.createForStatement,n),e.updateFor=e.Debug.deprecate(e.factory.updateForStatement,n),e.createForIn=e.Debug.deprecate(e.factory.createForInStatement,n),e.updateForIn=e.Debug.deprecate(e.factory.updateForInStatement,n),e.createForOf=e.Debug.deprecate(e.factory.createForOfStatement,n),e.updateForOf=e.Debug.deprecate(e.factory.updateForOfStatement,n),e.createContinue=e.Debug.deprecate(e.factory.createContinueStatement,n),e.updateContinue=e.Debug.deprecate(e.factory.updateContinueStatement,n),e.createBreak=e.Debug.deprecate(e.factory.createBreakStatement,n),e.updateBreak=e.Debug.deprecate(e.factory.updateBreakStatement,n),e.createReturn=e.Debug.deprecate(e.factory.createReturnStatement,n),e.updateReturn=e.Debug.deprecate(e.factory.updateReturnStatement,n),e.createWith=e.Debug.deprecate(e.factory.createWithStatement,n),e.updateWith=e.Debug.deprecate(e.factory.updateWithStatement,n),e.createSwitch=e.Debug.deprecate(e.factory.createSwitchStatement,n),e.updateSwitch=e.Debug.deprecate(e.factory.updateSwitchStatement,n),e.createLabel=e.Debug.deprecate(e.factory.createLabeledStatement,n),e.updateLabel=e.Debug.deprecate(e.factory.updateLabeledStatement,n),e.createThrow=e.Debug.deprecate(e.factory.createThrowStatement,n),e.updateThrow=e.Debug.deprecate(e.factory.updateThrowStatement,n),e.createTry=e.Debug.deprecate(e.factory.createTryStatement,n),e.updateTry=e.Debug.deprecate(e.factory.updateTryStatement,n),e.createDebuggerStatement=e.Debug.deprecate(e.factory.createDebuggerStatement,n),e.createVariableDeclarationList=e.Debug.deprecate(e.factory.createVariableDeclarationList,n),e.updateVariableDeclarationList=e.Debug.deprecate(e.factory.updateVariableDeclarationList,n),e.createFunctionDeclaration=e.Debug.deprecate(e.factory.createFunctionDeclaration,n),e.updateFunctionDeclaration=e.Debug.deprecate(e.factory.updateFunctionDeclaration,n),e.createClassDeclaration=e.Debug.deprecate(e.factory.createClassDeclaration,n),e.updateClassDeclaration=e.Debug.deprecate(e.factory.updateClassDeclaration,n),e.createInterfaceDeclaration=e.Debug.deprecate(e.factory.createInterfaceDeclaration,n),e.updateInterfaceDeclaration=e.Debug.deprecate(e.factory.updateInterfaceDeclaration,n),e.createTypeAliasDeclaration=e.Debug.deprecate(e.factory.createTypeAliasDeclaration,n),e.updateTypeAliasDeclaration=e.Debug.deprecate(e.factory.updateTypeAliasDeclaration,n),e.createEnumDeclaration=e.Debug.deprecate(e.factory.createEnumDeclaration,n),e.updateEnumDeclaration=e.Debug.deprecate(e.factory.updateEnumDeclaration,n),e.createModuleDeclaration=e.Debug.deprecate(e.factory.createModuleDeclaration,n),e.updateModuleDeclaration=e.Debug.deprecate(e.factory.updateModuleDeclaration,n),e.createModuleBlock=e.Debug.deprecate(e.factory.createModuleBlock,n),e.updateModuleBlock=e.Debug.deprecate(e.factory.updateModuleBlock,n),e.createCaseBlock=e.Debug.deprecate(e.factory.createCaseBlock,n),e.updateCaseBlock=e.Debug.deprecate(e.factory.updateCaseBlock,n),e.createNamespaceExportDeclaration=e.Debug.deprecate(e.factory.createNamespaceExportDeclaration,n),e.updateNamespaceExportDeclaration=e.Debug.deprecate(e.factory.updateNamespaceExportDeclaration,n),e.createImportEqualsDeclaration=e.Debug.deprecate(e.factory.createImportEqualsDeclaration,n),e.updateImportEqualsDeclaration=e.Debug.deprecate(e.factory.updateImportEqualsDeclaration,n),e.createImportDeclaration=e.Debug.deprecate(e.factory.createImportDeclaration,n),e.updateImportDeclaration=e.Debug.deprecate(e.factory.updateImportDeclaration,n),e.createNamespaceImport=e.Debug.deprecate(e.factory.createNamespaceImport,n),e.updateNamespaceImport=e.Debug.deprecate(e.factory.updateNamespaceImport,n),e.createNamedImports=e.Debug.deprecate(e.factory.createNamedImports,n),e.updateNamedImports=e.Debug.deprecate(e.factory.updateNamedImports,n),e.createImportSpecifier=e.Debug.deprecate(e.factory.createImportSpecifier,n),e.updateImportSpecifier=e.Debug.deprecate(e.factory.updateImportSpecifier,n),e.createExportAssignment=e.Debug.deprecate(e.factory.createExportAssignment,n),e.updateExportAssignment=e.Debug.deprecate(e.factory.updateExportAssignment,n),e.createNamedExports=e.Debug.deprecate(e.factory.createNamedExports,n),e.updateNamedExports=e.Debug.deprecate(e.factory.updateNamedExports,n),e.createExportSpecifier=e.Debug.deprecate(e.factory.createExportSpecifier,n),e.updateExportSpecifier=e.Debug.deprecate(e.factory.updateExportSpecifier,n),e.createExternalModuleReference=e.Debug.deprecate(e.factory.createExternalModuleReference,n),e.updateExternalModuleReference=e.Debug.deprecate(e.factory.updateExternalModuleReference,n),e.createJSDocTypeExpression=e.Debug.deprecate(e.factory.createJSDocTypeExpression,n),e.createJSDocTypeTag=e.Debug.deprecate(e.factory.createJSDocTypeTag,n),e.createJSDocReturnTag=e.Debug.deprecate(e.factory.createJSDocReturnTag,n),e.createJSDocThisTag=e.Debug.deprecate(e.factory.createJSDocThisTag,n),e.createJSDocComment=e.Debug.deprecate(e.factory.createJSDocComment,n),e.createJSDocParameterTag=e.Debug.deprecate(e.factory.createJSDocParameterTag,n),e.createJSDocClassTag=e.Debug.deprecate(e.factory.createJSDocClassTag,n),e.createJSDocAugmentsTag=e.Debug.deprecate(e.factory.createJSDocAugmentsTag,n),e.createJSDocEnumTag=e.Debug.deprecate(e.factory.createJSDocEnumTag,n),e.createJSDocTemplateTag=e.Debug.deprecate(e.factory.createJSDocTemplateTag,n),e.createJSDocTypedefTag=e.Debug.deprecate(e.factory.createJSDocTypedefTag,n),e.createJSDocCallbackTag=e.Debug.deprecate(e.factory.createJSDocCallbackTag,n),e.createJSDocSignature=e.Debug.deprecate(e.factory.createJSDocSignature,n),e.createJSDocPropertyTag=e.Debug.deprecate(e.factory.createJSDocPropertyTag,n),e.createJSDocTypeLiteral=e.Debug.deprecate(e.factory.createJSDocTypeLiteral,n),e.createJSDocImplementsTag=e.Debug.deprecate(e.factory.createJSDocImplementsTag,n),e.createJSDocAuthorTag=e.Debug.deprecate(e.factory.createJSDocAuthorTag,n),e.createJSDocPublicTag=e.Debug.deprecate(e.factory.createJSDocPublicTag,n),e.createJSDocPrivateTag=e.Debug.deprecate(e.factory.createJSDocPrivateTag,n),e.createJSDocProtectedTag=e.Debug.deprecate(e.factory.createJSDocProtectedTag,n),e.createJSDocReadonlyTag=e.Debug.deprecate(e.factory.createJSDocReadonlyTag,n),e.createJSDocTag=e.Debug.deprecate(e.factory.createJSDocUnknownTag,n),e.createJsxElement=e.Debug.deprecate(e.factory.createJsxElement,n),e.updateJsxElement=e.Debug.deprecate(e.factory.updateJsxElement,n),e.createJsxSelfClosingElement=e.Debug.deprecate(e.factory.createJsxSelfClosingElement,n),e.updateJsxSelfClosingElement=e.Debug.deprecate(e.factory.updateJsxSelfClosingElement,n),e.createJsxOpeningElement=e.Debug.deprecate(e.factory.createJsxOpeningElement,n),e.updateJsxOpeningElement=e.Debug.deprecate(e.factory.updateJsxOpeningElement,n),e.createJsxClosingElement=e.Debug.deprecate(e.factory.createJsxClosingElement,n),e.updateJsxClosingElement=e.Debug.deprecate(e.factory.updateJsxClosingElement,n),e.createJsxFragment=e.Debug.deprecate(e.factory.createJsxFragment,n),e.createJsxText=e.Debug.deprecate(e.factory.createJsxText,n),e.updateJsxText=e.Debug.deprecate(e.factory.updateJsxText,n),e.createJsxOpeningFragment=e.Debug.deprecate(e.factory.createJsxOpeningFragment,n),e.createJsxJsxClosingFragment=e.Debug.deprecate(e.factory.createJsxJsxClosingFragment,n),e.updateJsxFragment=e.Debug.deprecate(e.factory.updateJsxFragment,n),e.createJsxAttribute=e.Debug.deprecate(e.factory.createJsxAttribute,n),e.updateJsxAttribute=e.Debug.deprecate(e.factory.updateJsxAttribute,n),e.createJsxAttributes=e.Debug.deprecate(e.factory.createJsxAttributes,n),e.updateJsxAttributes=e.Debug.deprecate(e.factory.updateJsxAttributes,n),e.createJsxSpreadAttribute=e.Debug.deprecate(e.factory.createJsxSpreadAttribute,n),e.updateJsxSpreadAttribute=e.Debug.deprecate(e.factory.updateJsxSpreadAttribute,n),e.createJsxExpression=e.Debug.deprecate(e.factory.createJsxExpression,n),e.updateJsxExpression=e.Debug.deprecate(e.factory.updateJsxExpression,n),e.createCaseClause=e.Debug.deprecate(e.factory.createCaseClause,n),e.updateCaseClause=e.Debug.deprecate(e.factory.updateCaseClause,n),e.createDefaultClause=e.Debug.deprecate(e.factory.createDefaultClause,n),e.updateDefaultClause=e.Debug.deprecate(e.factory.updateDefaultClause,n),e.createHeritageClause=e.Debug.deprecate(e.factory.createHeritageClause,n),e.updateHeritageClause=e.Debug.deprecate(e.factory.updateHeritageClause,n),e.createCatchClause=e.Debug.deprecate(e.factory.createCatchClause,n),e.updateCatchClause=e.Debug.deprecate(e.factory.updateCatchClause,n),e.createPropertyAssignment=e.Debug.deprecate(e.factory.createPropertyAssignment,n),e.updatePropertyAssignment=e.Debug.deprecate(e.factory.updatePropertyAssignment,n),e.createShorthandPropertyAssignment=e.Debug.deprecate(e.factory.createShorthandPropertyAssignment,n),e.updateShorthandPropertyAssignment=e.Debug.deprecate(e.factory.updateShorthandPropertyAssignment,n),e.createSpreadAssignment=e.Debug.deprecate(e.factory.createSpreadAssignment,n),e.updateSpreadAssignment=e.Debug.deprecate(e.factory.updateSpreadAssignment,n),e.createEnumMember=e.Debug.deprecate(e.factory.createEnumMember,n),e.updateEnumMember=e.Debug.deprecate(e.factory.updateEnumMember,n),e.updateSourceFileNode=e.Debug.deprecate(e.factory.updateSourceFile,n),e.createNotEmittedStatement=e.Debug.deprecate(e.factory.createNotEmittedStatement,n),e.createPartiallyEmittedExpression=e.Debug.deprecate(e.factory.createPartiallyEmittedExpression,n),e.updatePartiallyEmittedExpression=e.Debug.deprecate(e.factory.updatePartiallyEmittedExpression,n),e.createCommaList=e.Debug.deprecate(e.factory.createCommaListExpression,n),e.updateCommaList=e.Debug.deprecate(e.factory.updateCommaListExpression,n),e.createBundle=e.Debug.deprecate(e.factory.createBundle,n),e.updateBundle=e.Debug.deprecate(e.factory.updateBundle,n),e.createImmediatelyInvokedFunctionExpression=e.Debug.deprecate(e.factory.createImmediatelyInvokedFunctionExpression,n),e.createImmediatelyInvokedArrowFunction=e.Debug.deprecate(e.factory.createImmediatelyInvokedArrowFunction,n),e.createVoidZero=e.Debug.deprecate(e.factory.createVoidZero,n),e.createExportDefault=e.Debug.deprecate(e.factory.createExportDefault,n),e.createExternalModuleExport=e.Debug.deprecate(e.factory.createExternalModuleExport,n),e.createNamespaceExport=e.Debug.deprecate(e.factory.createNamespaceExport,n),e.updateNamespaceExport=e.Debug.deprecate(e.factory.updateNamespaceExport,n),e.createToken=e.Debug.deprecate(function(p){return e.factory.createToken(p)},n),e.createIdentifier=e.Debug.deprecate(function(p){return e.factory.createIdentifier(p,void 0,void 0)},n),e.createTempVariable=e.Debug.deprecate(function(p){return e.factory.createTempVariable(p,void 0)},n),e.getGeneratedNameForNode=e.Debug.deprecate(function(p){return e.factory.getGeneratedNameForNode(p,void 0)},n),e.createOptimisticUniqueName=e.Debug.deprecate(function(p){return e.factory.createUniqueName(p,16)},n),e.createFileLevelUniqueName=e.Debug.deprecate(function(p){return e.factory.createUniqueName(p,48)},n),e.createIndexSignature=e.Debug.deprecate(function(p,a,d,k){return e.factory.createIndexSignature(p,a,d,k)},n),e.createTypePredicateNode=e.Debug.deprecate(function(p,a){return e.factory.createTypePredicateNode(void 0,p,a)},n),e.updateTypePredicateNode=e.Debug.deprecate(function(p,a,d){return e.factory.updateTypePredicateNode(p,void 0,a,d)},n),e.createLiteral=e.Debug.deprecate(function(p){return typeof p==\"number\"?e.factory.createNumericLiteral(p):typeof p==\"object\"&&\"base10Value\"in p?e.factory.createBigIntLiteral(p):typeof p==\"boolean\"?p?e.factory.createTrue():e.factory.createFalse():typeof p==\"string\"?e.factory.createStringLiteral(p,void 0):e.factory.createStringLiteralFromNode(p)},{since:\"4.0\",warnAfter:\"4.1\",message:\"Use `factory.createStringLiteral`, `factory.createStringLiteralFromNode`, `factory.createNumericLiteral`, `factory.createBigIntLiteral`, `factory.createTrue`, `factory.createFalse`, or the factory supplied by your transformation context instead.\"}),e.createMethodSignature=e.Debug.deprecate(function(p,a,d,k,J){return e.factory.createMethodSignature(void 0,k,J,p,a,d)},n),e.updateMethodSignature=e.Debug.deprecate(function(p,a,d,k,J,h){return e.factory.updateMethodSignature(p,p.modifiers,J,h,a,d,k)},n),e.createTypeOperatorNode=e.Debug.deprecate(function(p,a){var d;return a?d=p:(a=p,d=140),e.factory.createTypeOperatorNode(d,a)},n),e.createTaggedTemplate=e.Debug.deprecate(function(p,a,d){var k;return d?k=a:d=a,e.factory.createTaggedTemplateExpression(p,k,d)},n),e.updateTaggedTemplate=e.Debug.deprecate(function(p,a,d,k){var J;return k?J=d:k=d,e.factory.updateTaggedTemplateExpression(p,a,J,k)},n),e.updateBinary=e.Debug.deprecate(function(p,a,d,k){return k===void 0&&(k=p.operatorToken),typeof k==\"number\"&&(k=k===p.operatorToken.kind?p.operatorToken:e.factory.createToken(k)),e.factory.updateBinaryExpression(p,a,k,d)},n),e.createConditional=e.Debug.deprecate(function(p,a,d,k,J){return arguments.length===5?e.factory.createConditionalExpression(p,a,d,k,J):arguments.length===3?e.factory.createConditionalExpression(p,e.factory.createToken(57),a,e.factory.createToken(58),d):e.Debug.fail(\"Argument count mismatch\")},n),e.createYield=e.Debug.deprecate(function(p,a){var d;return a?d=p:a=p,e.factory.createYieldExpression(d,a)},n),e.createClassExpression=e.Debug.deprecate(function(p,a,d,k,J){return e.factory.createClassExpression(void 0,p,a,d,k,J)},n),e.updateClassExpression=e.Debug.deprecate(function(p,a,d,k,J,h){return e.factory.updateClassExpression(p,void 0,a,d,k,J,h)},n),e.createPropertySignature=e.Debug.deprecate(function(p,a,d,k,J){var h=e.factory.createPropertySignature(p,a,d,k);return h.initializer=J,h},n),e.updatePropertySignature=e.Debug.deprecate(function(p,a,d,k,J,h){var v=e.factory.updatePropertySignature(p,a,d,k,J);return p.initializer!==h&&(v===p&&(v=e.factory.cloneNode(p)),v.initializer=h),v},n),e.createExpressionWithTypeArguments=e.Debug.deprecate(function(p,a){return e.factory.createExpressionWithTypeArguments(a,p)},n),e.updateExpressionWithTypeArguments=e.Debug.deprecate(function(p,a,d){return e.factory.updateExpressionWithTypeArguments(p,d,a)},n),e.createArrowFunction=e.Debug.deprecate(function(p,a,d,k,J,h){return arguments.length===6?e.factory.createArrowFunction(p,a,d,k,J,h):arguments.length===5?e.factory.createArrowFunction(p,a,d,k,void 0,J):e.Debug.fail(\"Argument count mismatch\")},n),e.updateArrowFunction=e.Debug.deprecate(function(p,a,d,k,J,h,v){return arguments.length===7?e.factory.updateArrowFunction(p,a,d,k,J,h,v):arguments.length===6?e.factory.updateArrowFunction(p,a,d,k,J,p.equalsGreaterThanToken,h):e.Debug.fail(\"Argument count mismatch\")},n),e.createVariableDeclaration=e.Debug.deprecate(function(p,a,d,k){return arguments.length===4?e.factory.createVariableDeclaration(p,a,d,k):arguments.length>=1&&arguments.length<=3?e.factory.createVariableDeclaration(p,void 0,a,d):e.Debug.fail(\"Argument count mismatch\")},n),e.updateVariableDeclaration=e.Debug.deprecate(function(p,a,d,k,J){return arguments.length===5?e.factory.updateVariableDeclaration(p,a,d,k,J):arguments.length===4?e.factory.updateVariableDeclaration(p,a,p.exclamationToken,d,k):e.Debug.fail(\"Argument count mismatch\")},n),e.createImportClause=e.Debug.deprecate(function(p,a,d){return d===void 0&&(d=!1),e.factory.createImportClause(d,p,a)},n),e.updateImportClause=e.Debug.deprecate(function(p,a,d,k){return e.factory.updateImportClause(p,k,a,d)},n),e.createExportDeclaration=e.Debug.deprecate(function(p,a,d,k,J){return J===void 0&&(J=!1),e.factory.createExportDeclaration(p,a,J,d,k)},n),e.updateExportDeclaration=e.Debug.deprecate(function(p,a,d,k,J,h){return e.factory.updateExportDeclaration(p,a,d,h,k,J,p.assertClause)},n),e.createJSDocParamTag=e.Debug.deprecate(function(p,a,d,k){return e.factory.createJSDocParameterTag(void 0,p,a,d,!1,k?e.factory.createNodeArray([e.factory.createJSDocText(k)]):void 0)},n),e.createComma=e.Debug.deprecate(function(p,a){return e.factory.createComma(p,a)},n),e.createLessThan=e.Debug.deprecate(function(p,a){return e.factory.createLessThan(p,a)},n),e.createAssignment=e.Debug.deprecate(function(p,a){return e.factory.createAssignment(p,a)},n),e.createStrictEquality=e.Debug.deprecate(function(p,a){return e.factory.createStrictEquality(p,a)},n),e.createStrictInequality=e.Debug.deprecate(function(p,a){return e.factory.createStrictInequality(p,a)},n),e.createAdd=e.Debug.deprecate(function(p,a){return e.factory.createAdd(p,a)},n),e.createSubtract=e.Debug.deprecate(function(p,a){return e.factory.createSubtract(p,a)},n),e.createLogicalAnd=e.Debug.deprecate(function(p,a){return e.factory.createLogicalAnd(p,a)},n),e.createLogicalOr=e.Debug.deprecate(function(p,a){return e.factory.createLogicalOr(p,a)},n),e.createPostfixIncrement=e.Debug.deprecate(function(p){return e.factory.createPostfixIncrement(p)},n),e.createLogicalNot=e.Debug.deprecate(function(p){return e.factory.createLogicalNot(p)},n),e.createNode=e.Debug.deprecate(function(p,a,d){return a===void 0&&(a=0),d===void 0&&(d=0),e.setTextRangePosEnd(p===303?e.parseBaseNodeFactory.createBaseSourceFileNode(p):p===79?e.parseBaseNodeFactory.createBaseIdentifierNode(p):p===80?e.parseBaseNodeFactory.createBasePrivateIdentifierNode(p):e.isNodeKind(p)?e.parseBaseNodeFactory.createBaseNode(p):e.parseBaseNodeFactory.createBaseTokenNode(p),a,d)},{since:\"4.0\",warnAfter:\"4.1\",message:\"Use an appropriate `factory` method instead.\"}),e.getMutableClone=e.Debug.deprecate(function(p){var a=e.factory.cloneNode(p);return e.setTextRange(a,p),e.setParent(a,p.parent),a},{since:\"4.0\",warnAfter:\"4.1\",message:\"Use an appropriate `factory.update...` method instead, use `setCommentRange` or `setSourceMapRange`, and avoid setting `parent`.\"}),e.isTypeAssertion=e.Debug.deprecate(function(p){return p.kind===210},{since:\"4.0\",warnAfter:\"4.1\",message:\"Use `isTypeAssertionExpression` instead.\"}),e.isIdentifierOrPrivateIdentifier=e.Debug.deprecate(function(p){return e.isMemberName(p)},{since:\"4.2\",warnAfter:\"4.3\",message:\"Use `isMemberName` instead.\"})})(jr||(jr={}));var ck=jr.createClassifier,sD=jr.createLanguageService,uk=jr.displayPartsToString,fk=jr.EndOfLineState,dk=jr.flattenDiagnosticMessageText,pk=jr.IndentStyle,Mm=jr.ScriptKind,_k=jr.ScriptTarget,mk=jr.TokenClass,lD=jr,Oi={};Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\n\n/// <reference lib=\"es5\" />\n/// <reference lib=\"dom\" />\n/// <reference lib=\"webworker.importscripts\" />\n/// <reference lib=\"scripthost\" />\n`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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    appidExclude?: string;\n    credProps?: boolean;\n    uvm?: boolean;\n}\n\ninterface AuthenticationExtensionsClientOutputs {\n    appid?: boolean;\n    credProps?: CredentialPropertiesOutput;\n    uvm?: UvmEntries;\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 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?: CSSNumberish | 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 DisplayMediaStreamConstraints {\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 FocusEventInit extends UIEventInit {\n    relatedTarget?: EventTarget | null;\n}\n\ninterface FocusOptions {\n    preventScroll?: boolean;\n}\n\ninterface FontFaceDescriptors {\n    display?: string;\n    featureSettings?: 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 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 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 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 MediaRecorderErrorEventInit extends EventInit {\n    error: DOMException;\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 | null;\n    seekOffset?: number | null;\n    seekTime?: number | null;\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    cursor?: string[];\n    deviceId?: string;\n    displaySurface?: string;\n    echoCancellation?: boolean[];\n    facingMode?: string[];\n    frameRate?: DoubleRange;\n    groupId?: string;\n    height?: ULongRange;\n    latency?: DoubleRange;\n    logicalSurface?: boolean;\n    noiseSuppression?: boolean[];\n    resizeMode?: string[];\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    echoCancellation?: ConstrainBoolean;\n    facingMode?: ConstrainDOMString;\n    frameRate?: ConstrainDouble;\n    groupId?: ConstrainDOMString;\n    height?: ConstrainULong;\n    latency?: ConstrainDouble;\n    noiseSuppression?: ConstrainBoolean;\n    sampleRate?: ConstrainULong;\n    sampleSize?: ConstrainULong;\n    suppressLocalAudioPlayback?: ConstrainBoolean;\n    width?: ConstrainULong;\n}\n\ninterface MediaTrackConstraints extends MediaTrackConstraintSet {\n    advanced?: MediaTrackConstraintSet[];\n}\n\ninterface MediaTrackSettings {\n    aspectRatio?: number;\n    autoGainControl?: boolean;\n    deviceId?: string;\n    echoCancellation?: boolean;\n    facingMode?: string;\n    frameRate?: number;\n    groupId?: string;\n    height?: number;\n    noiseSuppression?: boolean;\n    restrictOwnAudio?: boolean;\n    sampleRate?: number;\n    sampleSize?: number;\n    width?: number;\n}\n\ninterface MediaTrackSupportedConstraints {\n    aspectRatio?: boolean;\n    autoGainControl?: boolean;\n    deviceId?: 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    suppressLocalAudioPlayback?: 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 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?: DOMTimeStamp;\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 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?: DOMTimeStamp | 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?: DOMTimeStamp;\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 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    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    credentialType?: RTCIceCredentialType;\n    urls: string | string[];\n    username?: string;\n}\n\ninterface RTCInboundRtpStreamStats extends RTCReceivedRtpStreamStats {\n    firCount?: number;\n    framesDecoded?: number;\n    nackCount?: number;\n    pliCount?: number;\n    qpSum?: number;\n    remoteId?: string;\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    framesEncoded?: number;\n    nackCount?: number;\n    pliCount?: number;\n    qpSum?: number;\n    remoteId?: string;\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    packetsDiscarded?: 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    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    rtcpTransportStatsId?: string;\n    selectedCandidatePairId?: string;\n    srtpCipher?: string;\n    tlsVersion?: string;\n}\n\ninterface ReadableStreamDefaultReadDoneResult {\n    done: true;\n    value?: undefined;\n}\n\ninterface ReadableStreamDefaultReadValueResult<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?: any[];\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 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    cancel?: UnderlyingSourceCancelCallback;\n    pull?: UnderlyingSourcePullCallback<R>;\n    start?: UnderlyingSourceStartCallback<R>;\n    type?: undefined;\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 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: number;\n    readonly FILTER_REJECT: number;\n    readonly FILTER_SKIP: number;\n    readonly SHOW_ALL: number;\n    readonly SHOW_ATTRIBUTE: number;\n    readonly SHOW_CDATA_SECTION: number;\n    readonly SHOW_COMMENT: number;\n    readonly SHOW_DOCUMENT: number;\n    readonly SHOW_DOCUMENT_FRAGMENT: number;\n    readonly SHOW_DOCUMENT_TYPE: number;\n    readonly SHOW_ELEMENT: number;\n    readonly SHOW_ENTITY: number;\n    readonly SHOW_ENTITY_REFERENCE: number;\n    readonly SHOW_NOTATION: number;\n    readonly SHOW_PROCESSING_INSTRUCTION: number;\n    readonly SHOW_TEXT: number;\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: GLenum;\n}\n\ninterface ARIAMixin {\n    ariaAtomic: string;\n    ariaAutoComplete: string;\n    ariaBusy: string;\n    ariaChecked: string;\n    ariaColCount: string;\n    ariaColIndex: string;\n    ariaColSpan: string;\n    ariaCurrent: string;\n    ariaDisabled: string;\n    ariaExpanded: string;\n    ariaHasPopup: string;\n    ariaHidden: string;\n    ariaKeyShortcuts: string;\n    ariaLabel: string;\n    ariaLevel: string;\n    ariaLive: string;\n    ariaModal: string;\n    ariaMultiLine: string;\n    ariaMultiSelectable: string;\n    ariaOrientation: string;\n    ariaPlaceholder: string;\n    ariaPosInSet: string;\n    ariaPressed: string;\n    ariaReadOnly: string;\n    ariaRequired: string;\n    ariaRoleDescription: string;\n    ariaRowCount: string;\n    ariaRowIndex: string;\n    ariaRowSpan: string;\n    ariaSelected: string;\n    ariaSetSize: string;\n    ariaSort: string;\n    ariaValueMax: string;\n    ariaValueMin: string;\n    ariaValueNow: string;\n    ariaValueText: string;\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(): 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    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(): AbortSignal; - To be re-added in the future\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    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    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}\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;\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    conditionText: string;\n}\n\ndeclare var CSSConditionRule: {\n    prototype: CSSConditionRule;\n    new(): CSSConditionRule;\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\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 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}\n\ndeclare var CSSKeyframesRule: {\n    prototype: CSSKeyframesRule;\n    new(): CSSKeyframesRule;\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 CHARSET_RULE: number;\n    readonly FONT_FACE_RULE: number;\n    readonly IMPORT_RULE: number;\n    readonly KEYFRAMES_RULE: number;\n    readonly KEYFRAME_RULE: number;\n    readonly MEDIA_RULE: number;\n    readonly NAMESPACE_RULE: number;\n    readonly PAGE_RULE: number;\n    readonly STYLE_RULE: number;\n    readonly SUPPORTS_RULE: number;\n}\n\ndeclare var CSSRule: {\n    prototype: CSSRule;\n    new(): CSSRule;\n    readonly CHARSET_RULE: number;\n    readonly FONT_FACE_RULE: number;\n    readonly IMPORT_RULE: number;\n    readonly KEYFRAMES_RULE: number;\n    readonly KEYFRAME_RULE: number;\n    readonly MEDIA_RULE: number;\n    readonly NAMESPACE_RULE: number;\n    readonly PAGE_RULE: number;\n    readonly STYLE_RULE: number;\n    readonly SUPPORTS_RULE: number;\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    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    content: 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    fontSize: string;\n    fontSizeAdjust: string;\n    fontStretch: string;\n    fontStyle: string;\n    fontSynthesis: string;\n    fontVariant: string;\n    /** @deprecated */\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    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    maskType: 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    offsetAnchor: 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    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    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    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    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}\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): Promise<void>;\n    addAll(requests: RequestInfo[]): Promise<void>;\n    delete(request: RequestInfo, options?: CacheQueryOptions): Promise<boolean>;\n    keys(request?: RequestInfo, options?: CacheQueryOptions): Promise<ReadonlyArray<Request>>;\n    match(request: RequestInfo, options?: CacheQueryOptions): Promise<Response | undefined>;\n    matchAll(request?: RequestInfo, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;\n    put(request: RequestInfo, 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, 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: string;\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    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}\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    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\ninterface ClipboardItem {\n    readonly types: ReadonlyArray<string>;\n    getType(type: string): Promise<Blob>;\n}\n\ndeclare var ClipboardItem: {\n    prototype: ClipboardItem;\n    new(items: Record<string, ClipboardItemDataType | PromiseLike<ClipboardItemDataType>>, 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}\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    readonly code: number;\n    readonly message: string;\n    readonly name: string;\n    readonly ABORT_ERR: number;\n    readonly DATA_CLONE_ERR: number;\n    readonly DOMSTRING_SIZE_ERR: number;\n    readonly HIERARCHY_REQUEST_ERR: number;\n    readonly INDEX_SIZE_ERR: number;\n    readonly INUSE_ATTRIBUTE_ERR: number;\n    readonly INVALID_ACCESS_ERR: number;\n    readonly INVALID_CHARACTER_ERR: number;\n    readonly INVALID_MODIFICATION_ERR: number;\n    readonly INVALID_NODE_TYPE_ERR: number;\n    readonly INVALID_STATE_ERR: number;\n    readonly NAMESPACE_ERR: number;\n    readonly NETWORK_ERR: number;\n    readonly NOT_FOUND_ERR: number;\n    readonly NOT_SUPPORTED_ERR: number;\n    readonly NO_DATA_ALLOWED_ERR: number;\n    readonly NO_MODIFICATION_ALLOWED_ERR: number;\n    readonly QUOTA_EXCEEDED_ERR: number;\n    readonly SECURITY_ERR: number;\n    readonly SYNTAX_ERR: number;\n    readonly TIMEOUT_ERR: number;\n    readonly TYPE_MISMATCH_ERR: number;\n    readonly URL_MISMATCH_ERR: number;\n    readonly VALIDATION_ERR: number;\n    readonly WRONG_DOCUMENT_ERR: number;\n}\n\ndeclare var DOMException: {\n    prototype: DOMException;\n    new(message?: string, name?: string): DOMException;\n    readonly ABORT_ERR: number;\n    readonly DATA_CLONE_ERR: number;\n    readonly DOMSTRING_SIZE_ERR: number;\n    readonly HIERARCHY_REQUEST_ERR: number;\n    readonly INDEX_SIZE_ERR: number;\n    readonly INUSE_ATTRIBUTE_ERR: number;\n    readonly INVALID_ACCESS_ERR: number;\n    readonly INVALID_CHARACTER_ERR: number;\n    readonly INVALID_MODIFICATION_ERR: number;\n    readonly INVALID_NODE_TYPE_ERR: number;\n    readonly INVALID_STATE_ERR: number;\n    readonly NAMESPACE_ERR: number;\n    readonly NETWORK_ERR: number;\n    readonly NOT_FOUND_ERR: number;\n    readonly NOT_SUPPORTED_ERR: number;\n    readonly NO_DATA_ALLOWED_ERR: number;\n    readonly NO_MODIFICATION_ALLOWED_ERR: number;\n    readonly QUOTA_EXCEEDED_ERR: number;\n    readonly SECURITY_ERR: number;\n    readonly SYNTAX_ERR: number;\n    readonly TIMEOUT_ERR: number;\n    readonly TYPE_MISMATCH_ERR: number;\n    readonly URL_MISMATCH_ERR: number;\n    readonly VALIDATION_ERR: number;\n    readonly WRONG_DOCUMENT_ERR: number;\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 DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {\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, DocumentAndElementEventHandlers, 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    /** Sets or gets the security domain of the document. */\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: VisibilityState;\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(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: \"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: \"MediaEncryptedEvent\"): MediaEncryptedEvent;\n    createEvent(eventInterface: \"MediaKeyMessageEvent\"): MediaKeyMessageEvent;\n    createEvent(eventInterface: \"MediaQueryListEvent\"): MediaQueryListEvent;\n    createEvent(eventInterface: \"MediaRecorderErrorEvent\"): MediaRecorderErrorEvent;\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: \"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: \"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(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(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     */\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     */\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\ninterface DocumentAndElementEventHandlersEventMap {\n    \"copy\": ClipboardEvent;\n    \"cut\": ClipboardEvent;\n    \"paste\": ClipboardEvent;\n}\n\ninterface DocumentAndElementEventHandlers {\n    oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;\n    oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;\n    onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;\n    addEventListener<K extends keyof DocumentAndElementEventHandlersEventMap>(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n    removeEventListener<K extends keyof DocumentAndElementEventHandlersEventMap>(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\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    /** 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 MAX_EXT: GLenum;\n    readonly MIN_EXT: GLenum;\n}\n\ninterface EXT_color_buffer_float {\n}\n\ninterface EXT_color_buffer_half_float {\n    readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: GLenum;\n    readonly RGB16F_EXT: GLenum;\n    readonly RGBA16F_EXT: GLenum;\n    readonly UNSIGNED_NORMALIZED_EXT: GLenum;\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 FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: GLenum;\n    readonly SRGB8_ALPHA8_EXT: GLenum;\n    readonly SRGB_ALPHA_EXT: GLenum;\n    readonly SRGB_EXT: GLenum;\n}\n\ninterface EXT_shader_texture_lod {\n}\n\ninterface EXT_texture_compression_rgtc {\n    readonly COMPRESSED_RED_GREEN_RGTC2_EXT: GLenum;\n    readonly COMPRESSED_RED_RGTC1_EXT: GLenum;\n    readonly COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT: GLenum;\n    readonly COMPRESSED_SIGNED_RED_RGTC1_EXT: GLenum;\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 MAX_TEXTURE_MAX_ANISOTROPY_EXT: GLenum;\n    readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum;\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    /** 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<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(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(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 ShadowRoot for internals's target element, if the target element is a shadow host, or null otherwise. */\n    readonly shadowRoot: ShadowRoot | null;\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    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 AT_TARGET: number;\n    readonly BUBBLING_PHASE: number;\n    readonly CAPTURING_PHASE: number;\n    readonly NONE: number;\n}\n\ndeclare var Event: {\n    prototype: Event;\n    new(type: string, eventInitDict?: EventInit): Event;\n    readonly AT_TARGET: number;\n    readonly BUBBLING_PHASE: number;\n    readonly CAPTURING_PHASE: number;\n    readonly NONE: number;\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 CLOSED: number;\n    readonly CONNECTING: number;\n    readonly OPEN: number;\n    addEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => 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: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var EventSource: {\n    prototype: EventSource;\n    new(url: string | URL, eventSourceInitDict?: EventSourceInit): EventSource;\n    readonly CLOSED: number;\n    readonly CONNECTING: number;\n    readonly OPEN: number;\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: number;\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 DONE: number;\n    readonly EMPTY: number;\n    readonly LOADING: number;\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 DONE: number;\n    readonly EMPTY: number;\n    readonly LOADING: number;\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\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/** 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: string;\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    variationSettings: 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: DOMTimeStamp;\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: number;\n    readonly POSITION_UNAVAILABLE: number;\n    readonly TIMEOUT: number;\n}\n\ndeclare var GeolocationPositionError: {\n    prototype: GeolocationPositionError;\n    new(): GeolocationPositionError;\n    readonly PERMISSION_DENIED: number;\n    readonly POSITION_UNAVAILABLE: number;\n    readonly TIMEOUT: number;\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    \"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    \"cuechange\": Event;\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    \"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    \"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    /**\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    /**\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    oncuechange: ((this: GlobalEventHandlers, ev: Event) => 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    /**\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    /**\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    /**\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    \"orientationchange\": Event;\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    onorientationchange: ((this: HTMLBodyElement, ev: Event) => any) | null;\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    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\n/** @deprecated this is not available in most browsers */\ninterface HTMLDialogElement extends HTMLElement {\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\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, DocumentAndElementEventHandlersEventMap, 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, DocumentAndElementEventHandlers, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement {\n    accessKey: string;\n    readonly accessKeyLabel: string;\n    autocapitalize: string;\n    dir: string;\n    draggable: boolean;\n    hidden: 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    /** 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    loading: string;\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: HTMLElement | 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    /**\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    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 HAVE_CURRENT_DATA: number;\n    readonly HAVE_ENOUGH_DATA: number;\n    readonly HAVE_FUTURE_DATA: number;\n    readonly HAVE_METADATA: number;\n    readonly HAVE_NOTHING: number;\n    readonly NETWORK_EMPTY: number;\n    readonly NETWORK_IDLE: number;\n    readonly NETWORK_LOADING: number;\n    readonly NETWORK_NO_SOURCE: number;\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 HAVE_CURRENT_DATA: number;\n    readonly HAVE_ENOUGH_DATA: number;\n    readonly HAVE_FUTURE_DATA: number;\n    readonly HAVE_METADATA: number;\n    readonly HAVE_NOTHING: number;\n    readonly NETWORK_EMPTY: number;\n    readonly NETWORK_IDLE: number;\n    readonly NETWORK_LOADING: number;\n    readonly NETWORK_NO_SOURCE: number;\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    /** 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/** 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. */\ninterface HTMLParamElement extends HTMLElement {\n    /** Sets or retrieves the name of an input parameter for an element. */\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    /** Sets or retrieves the value of an input parameter for an element. */\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\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};\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    /** 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    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    /** 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 ERROR: number;\n    readonly LOADED: number;\n    readonly LOADING: number;\n    readonly NONE: number;\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 ERROR: number;\n    readonly LOADED: number;\n    readonly LOADING: number;\n    readonly NONE: number;\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    getVideoPlaybackQuality(): VideoPlaybackQuality;\n    requestPictureInPicture(): Promise<PictureInPictureWindow>;\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): 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\": Event;\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: Event) => 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    /** 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;\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    /** 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\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: GLenum;\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_LEFT: number;\n    readonly DOM_KEY_LOCATION_NUMPAD: number;\n    readonly DOM_KEY_LOCATION_RIGHT: number;\n    readonly DOM_KEY_LOCATION_STANDARD: number;\n}\n\ndeclare var KeyboardEvent: {\n    prototype: KeyboardEvent;\n    new(type: string, eventInitDict?: KeyboardEventInit): KeyboardEvent;\n    readonly DOM_KEY_LOCATION_LEFT: number;\n    readonly DOM_KEY_LOCATION_NUMPAD: number;\n    readonly DOM_KEY_LOCATION_RIGHT: number;\n    readonly DOM_KEY_LOCATION_STANDARD: number;\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\ninterface MathMLElementEventMap extends ElementEventMap, DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {\n}\n\ninterface MathMLElement extends Element, DocumentAndElementEventHandlers, 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(constraints?: DisplayMediaStreamConstraints): 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: number;\n    readonly MEDIA_ERR_DECODE: number;\n    readonly MEDIA_ERR_NETWORK: number;\n    readonly MEDIA_ERR_SRC_NOT_SUPPORTED: number;\n}\n\ndeclare var MediaError: {\n    prototype: MediaError;\n    new(): MediaError;\n    readonly MEDIA_ERR_ABORTED: number;\n    readonly MEDIA_ERR_DECODE: number;\n    readonly MEDIA_ERR_NETWORK: number;\n    readonly MEDIA_ERR_SRC_NOT_SUPPORTED: number;\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\": MediaRecorderErrorEvent;\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: MediaRecorderErrorEvent) => 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 MediaRecorderErrorEvent extends Event {\n    readonly error: DOMException;\n}\n\ndeclare var MediaRecorderErrorEvent: {\n    prototype: MediaRecorderErrorEvent;\n    new(type: string, eventInitDict: MediaRecorderErrorEventInit): MediaRecorderErrorEvent;\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 ADDITION: number;\n    readonly MODIFICATION: number;\n    readonly REMOVAL: number;\n}\n\n/** @deprecated */\ndeclare var MutationEvent: {\n    prototype: MutationEvent;\n    new(): MutationEvent;\n    readonly ADDITION: number;\n    readonly MODIFICATION: number;\n    readonly REMOVAL: number;\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/** 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, NavigatorNetworkInformation, 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    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    readonly vendor: string;\n    /** @deprecated */\n    readonly vendorSub: string;\n}\n\ninterface NavigatorLanguage {\n    readonly language: string;\n    readonly languages: ReadonlyArray<string>;\n}\n\ninterface NavigatorNetworkInformation {\n    readonly connection: NetworkInformation;\n}\n\ninterface NavigatorOnLine {\n    readonly onLine: boolean;\n}\n\ninterface NavigatorPlugins {\n    /** @deprecated */\n    readonly mimeTypes: MimeTypeArray;\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\ninterface NetworkInformation extends EventTarget {\n    readonly type: ConnectionType;\n}\n\ndeclare var NetworkInformation: {\n    prototype: NetworkInformation;\n    new(): NetworkInformation;\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    readonly ATTRIBUTE_NODE: number;\n    /** node is a CDATASection node. */\n    readonly CDATA_SECTION_NODE: number;\n    /** node is a Comment node. */\n    readonly COMMENT_NODE: number;\n    /** node is a DocumentFragment node. */\n    readonly DOCUMENT_FRAGMENT_NODE: number;\n    /** node is a document. */\n    readonly DOCUMENT_NODE: number;\n    /** Set when other is a descendant of node. */\n    readonly DOCUMENT_POSITION_CONTAINED_BY: number;\n    /** Set when other is an ancestor of node. */\n    readonly DOCUMENT_POSITION_CONTAINS: number;\n    /** Set when node and other are not in the same tree. */\n    readonly DOCUMENT_POSITION_DISCONNECTED: number;\n    /** Set when other is following node. */\n    readonly DOCUMENT_POSITION_FOLLOWING: number;\n    readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;\n    /** Set when other is preceding node. */\n    readonly DOCUMENT_POSITION_PRECEDING: number;\n    /** node is a doctype. */\n    readonly DOCUMENT_TYPE_NODE: number;\n    /** node is an element. */\n    readonly ELEMENT_NODE: number;\n    readonly ENTITY_NODE: number;\n    readonly ENTITY_REFERENCE_NODE: number;\n    readonly NOTATION_NODE: number;\n    /** node is a ProcessingInstruction node. */\n    readonly PROCESSING_INSTRUCTION_NODE: number;\n    /** node is a Text node. */\n    readonly TEXT_NODE: number;\n}\n\ndeclare var Node: {\n    prototype: Node;\n    new(): Node;\n    readonly ATTRIBUTE_NODE: number;\n    /** node is a CDATASection node. */\n    readonly CDATA_SECTION_NODE: number;\n    /** node is a Comment node. */\n    readonly COMMENT_NODE: number;\n    /** node is a DocumentFragment node. */\n    readonly DOCUMENT_FRAGMENT_NODE: number;\n    /** node is a document. */\n    readonly DOCUMENT_NODE: number;\n    /** Set when other is a descendant of node. */\n    readonly DOCUMENT_POSITION_CONTAINED_BY: number;\n    /** Set when other is an ancestor of node. */\n    readonly DOCUMENT_POSITION_CONTAINS: number;\n    /** Set when node and other are not in the same tree. */\n    readonly DOCUMENT_POSITION_DISCONNECTED: number;\n    /** Set when other is following node. */\n    readonly DOCUMENT_POSITION_FOLLOWING: number;\n    readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;\n    /** Set when other is preceding node. */\n    readonly DOCUMENT_POSITION_PRECEDING: number;\n    /** node is a doctype. */\n    readonly DOCUMENT_TYPE_NODE: number;\n    /** node is an element. */\n    readonly ELEMENT_NODE: number;\n    readonly ENTITY_NODE: number;\n    readonly ENTITY_REFERENCE_NODE: number;\n    readonly NOTATION_NODE: number;\n    /** node is a ProcessingInstruction node. */\n    readonly PROCESSING_INSTRUCTION_NODE: number;\n    /** node is a Text node. */\n    readonly TEXT_NODE: number;\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\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: GLenum;\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: GLenum;\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: GLenum;\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_BASE_VIEW_INDEX_OVR: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR: GLenum;\n    readonly MAX_VIEWS_OVR: GLenum;\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\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<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<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    /** @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}\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_BACK_FORWARD: number;\n    readonly TYPE_NAVIGATE: number;\n    readonly TYPE_RELOAD: number;\n    readonly TYPE_RESERVED: number;\n}\n\n/** @deprecated */\ndeclare var PerformanceNavigation: {\n    prototype: PerformanceNavigation;\n    new(): PerformanceNavigation;\n    readonly TYPE_BACK_FORWARD: number;\n    readonly TYPE_NAVIGATE: number;\n    readonly TYPE_RELOAD: number;\n    readonly TYPE_RESERVED: number;\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: NavigationType;\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    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 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 rawId: ArrayBuffer;\n    readonly response: AuthenticatorResponse;\n    getClientExtensionResults(): AuthenticationExtensionsClientOutputs;\n}\n\ndeclare var PublicKeyCredential: {\n    prototype: PublicKeyCredential;\n    new(): PublicKeyCredential;\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<PushPermissionState>;\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 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}\n\ndeclare var PushSubscriptionOptions: {\n    prototype: PushSubscriptionOptions;\n    new(): PushSubscriptionOptions;\n};\n\ninterface RTCCertificate {\n    readonly expires: DOMTimeStamp;\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    \"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    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    \"statechange\": Event;\n}\n\ninterface RTCDtlsTransport extends EventTarget {\n    onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null;\n    readonly state: RTCDtlsTransportState;\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\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\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    readonly state: RTCIceTransportState;\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 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    stop(): void;\n}\n\ndeclare var RTCRtpTransceiver: {\n    prototype: RTCRtpTransceiver;\n    new(): RTCRtpTransceiver;\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 END_TO_END: number;\n    readonly END_TO_START: number;\n    readonly START_TO_END: number;\n    readonly START_TO_START: number;\n}\n\ndeclare var Range: {\n    prototype: Range;\n    new(): Range;\n    readonly END_TO_END: number;\n    readonly END_TO_START: number;\n    readonly START_TO_END: number;\n    readonly START_TO_START: number;\n    toString(): string;\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(): ReadableStreamDefaultReader<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<R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;\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<ReadableStreamDefaultReadResult<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, 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 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_DEG: number;\n    readonly SVG_ANGLETYPE_GRAD: number;\n    readonly SVG_ANGLETYPE_RAD: number;\n    readonly SVG_ANGLETYPE_UNKNOWN: number;\n    readonly SVG_ANGLETYPE_UNSPECIFIED: number;\n}\n\ndeclare var SVGAngle: {\n    prototype: SVGAngle;\n    new(): SVGAngle;\n    readonly SVG_ANGLETYPE_DEG: number;\n    readonly SVG_ANGLETYPE_GRAD: number;\n    readonly SVG_ANGLETYPE_RAD: number;\n    readonly SVG_ANGLETYPE_UNKNOWN: number;\n    readonly SVG_ANGLETYPE_UNSPECIFIED: number;\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_DISCRETE: number;\n    readonly SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: number;\n    readonly SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: number;\n    readonly SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: number;\n    readonly SVG_FECOMPONENTTRANSFER_TYPE_TABLE: number;\n    readonly SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: number;\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_DISCRETE: number;\n    readonly SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: number;\n    readonly SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: number;\n    readonly SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: number;\n    readonly SVG_FECOMPONENTTRANSFER_TYPE_TABLE: number;\n    readonly SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: number;\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, DocumentAndElementEventHandlersEventMap, 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, DocumentAndElementEventHandlers, 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_COLOR: number;\n    readonly SVG_FEBLEND_MODE_COLOR_BURN: number;\n    readonly SVG_FEBLEND_MODE_COLOR_DODGE: number;\n    readonly SVG_FEBLEND_MODE_DARKEN: number;\n    readonly SVG_FEBLEND_MODE_DIFFERENCE: number;\n    readonly SVG_FEBLEND_MODE_EXCLUSION: number;\n    readonly SVG_FEBLEND_MODE_HARD_LIGHT: number;\n    readonly SVG_FEBLEND_MODE_HUE: number;\n    readonly SVG_FEBLEND_MODE_LIGHTEN: number;\n    readonly SVG_FEBLEND_MODE_LUMINOSITY: number;\n    readonly SVG_FEBLEND_MODE_MULTIPLY: number;\n    readonly SVG_FEBLEND_MODE_NORMAL: number;\n    readonly SVG_FEBLEND_MODE_OVERLAY: number;\n    readonly SVG_FEBLEND_MODE_SATURATION: number;\n    readonly SVG_FEBLEND_MODE_SCREEN: number;\n    readonly SVG_FEBLEND_MODE_SOFT_LIGHT: number;\n    readonly SVG_FEBLEND_MODE_UNKNOWN: number;\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_COLOR: number;\n    readonly SVG_FEBLEND_MODE_COLOR_BURN: number;\n    readonly SVG_FEBLEND_MODE_COLOR_DODGE: number;\n    readonly SVG_FEBLEND_MODE_DARKEN: number;\n    readonly SVG_FEBLEND_MODE_DIFFERENCE: number;\n    readonly SVG_FEBLEND_MODE_EXCLUSION: number;\n    readonly SVG_FEBLEND_MODE_HARD_LIGHT: number;\n    readonly SVG_FEBLEND_MODE_HUE: number;\n    readonly SVG_FEBLEND_MODE_LIGHTEN: number;\n    readonly SVG_FEBLEND_MODE_LUMINOSITY: number;\n    readonly SVG_FEBLEND_MODE_MULTIPLY: number;\n    readonly SVG_FEBLEND_MODE_NORMAL: number;\n    readonly SVG_FEBLEND_MODE_OVERLAY: number;\n    readonly SVG_FEBLEND_MODE_SATURATION: number;\n    readonly SVG_FEBLEND_MODE_SCREEN: number;\n    readonly SVG_FEBLEND_MODE_SOFT_LIGHT: number;\n    readonly SVG_FEBLEND_MODE_UNKNOWN: number;\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_HUEROTATE: number;\n    readonly SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: number;\n    readonly SVG_FECOLORMATRIX_TYPE_MATRIX: number;\n    readonly SVG_FECOLORMATRIX_TYPE_SATURATE: number;\n    readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: number;\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_HUEROTATE: number;\n    readonly SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: number;\n    readonly SVG_FECOLORMATRIX_TYPE_MATRIX: number;\n    readonly SVG_FECOLORMATRIX_TYPE_SATURATE: number;\n    readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: number;\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_ARITHMETIC: number;\n    readonly SVG_FECOMPOSITE_OPERATOR_ATOP: number;\n    readonly SVG_FECOMPOSITE_OPERATOR_IN: number;\n    readonly SVG_FECOMPOSITE_OPERATOR_OUT: number;\n    readonly SVG_FECOMPOSITE_OPERATOR_OVER: number;\n    readonly SVG_FECOMPOSITE_OPERATOR_UNKNOWN: number;\n    readonly SVG_FECOMPOSITE_OPERATOR_XOR: number;\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_ARITHMETIC: number;\n    readonly SVG_FECOMPOSITE_OPERATOR_ATOP: number;\n    readonly SVG_FECOMPOSITE_OPERATOR_IN: number;\n    readonly SVG_FECOMPOSITE_OPERATOR_OUT: number;\n    readonly SVG_FECOMPOSITE_OPERATOR_OVER: number;\n    readonly SVG_FECOMPOSITE_OPERATOR_UNKNOWN: number;\n    readonly SVG_FECOMPOSITE_OPERATOR_XOR: number;\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_DUPLICATE: number;\n    readonly SVG_EDGEMODE_NONE: number;\n    readonly SVG_EDGEMODE_UNKNOWN: number;\n    readonly SVG_EDGEMODE_WRAP: number;\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_DUPLICATE: number;\n    readonly SVG_EDGEMODE_NONE: number;\n    readonly SVG_EDGEMODE_UNKNOWN: number;\n    readonly SVG_EDGEMODE_WRAP: number;\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_A: number;\n    readonly SVG_CHANNEL_B: number;\n    readonly SVG_CHANNEL_G: number;\n    readonly SVG_CHANNEL_R: number;\n    readonly SVG_CHANNEL_UNKNOWN: number;\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_A: number;\n    readonly SVG_CHANNEL_B: number;\n    readonly SVG_CHANNEL_G: number;\n    readonly SVG_CHANNEL_R: number;\n    readonly SVG_CHANNEL_UNKNOWN: number;\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_DILATE: number;\n    readonly SVG_MORPHOLOGY_OPERATOR_ERODE: number;\n    readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: number;\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_DILATE: number;\n    readonly SVG_MORPHOLOGY_OPERATOR_ERODE: number;\n    readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: number;\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_STITCHTYPE_NOSTITCH: number;\n    readonly SVG_STITCHTYPE_STITCH: number;\n    readonly SVG_STITCHTYPE_UNKNOWN: number;\n    readonly SVG_TURBULENCE_TYPE_FRACTALNOISE: number;\n    readonly SVG_TURBULENCE_TYPE_TURBULENCE: number;\n    readonly SVG_TURBULENCE_TYPE_UNKNOWN: number;\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_STITCHTYPE_NOSTITCH: number;\n    readonly SVG_STITCHTYPE_STITCH: number;\n    readonly SVG_STITCHTYPE_UNKNOWN: number;\n    readonly SVG_TURBULENCE_TYPE_FRACTALNOISE: number;\n    readonly SVG_TURBULENCE_TYPE_TURBULENCE: number;\n    readonly SVG_TURBULENCE_TYPE_UNKNOWN: number;\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_PAD: number;\n    readonly SVG_SPREADMETHOD_REFLECT: number;\n    readonly SVG_SPREADMETHOD_REPEAT: number;\n    readonly SVG_SPREADMETHOD_UNKNOWN: number;\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_PAD: number;\n    readonly SVG_SPREADMETHOD_REFLECT: number;\n    readonly SVG_SPREADMETHOD_REPEAT: number;\n    readonly SVG_SPREADMETHOD_UNKNOWN: number;\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_CM: number;\n    readonly SVG_LENGTHTYPE_EMS: number;\n    readonly SVG_LENGTHTYPE_EXS: number;\n    readonly SVG_LENGTHTYPE_IN: number;\n    readonly SVG_LENGTHTYPE_MM: number;\n    readonly SVG_LENGTHTYPE_NUMBER: number;\n    readonly SVG_LENGTHTYPE_PC: number;\n    readonly SVG_LENGTHTYPE_PERCENTAGE: number;\n    readonly SVG_LENGTHTYPE_PT: number;\n    readonly SVG_LENGTHTYPE_PX: number;\n    readonly SVG_LENGTHTYPE_UNKNOWN: number;\n}\n\ndeclare var SVGLength: {\n    prototype: SVGLength;\n    new(): SVGLength;\n    readonly SVG_LENGTHTYPE_CM: number;\n    readonly SVG_LENGTHTYPE_EMS: number;\n    readonly SVG_LENGTHTYPE_EXS: number;\n    readonly SVG_LENGTHTYPE_IN: number;\n    readonly SVG_LENGTHTYPE_MM: number;\n    readonly SVG_LENGTHTYPE_NUMBER: number;\n    readonly SVG_LENGTHTYPE_PC: number;\n    readonly SVG_LENGTHTYPE_PERCENTAGE: number;\n    readonly SVG_LENGTHTYPE_PT: number;\n    readonly SVG_LENGTHTYPE_PX: number;\n    readonly SVG_LENGTHTYPE_UNKNOWN: number;\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_STROKEWIDTH: number;\n    readonly SVG_MARKERUNITS_UNKNOWN: number;\n    readonly SVG_MARKERUNITS_USERSPACEONUSE: number;\n    readonly SVG_MARKER_ORIENT_ANGLE: number;\n    readonly SVG_MARKER_ORIENT_AUTO: number;\n    readonly SVG_MARKER_ORIENT_UNKNOWN: number;\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_STROKEWIDTH: number;\n    readonly SVG_MARKERUNITS_UNKNOWN: number;\n    readonly SVG_MARKERUNITS_USERSPACEONUSE: number;\n    readonly SVG_MARKER_ORIENT_ANGLE: number;\n    readonly SVG_MARKER_ORIENT_AUTO: number;\n    readonly SVG_MARKER_ORIENT_UNKNOWN: number;\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_MEETORSLICE_MEET: number;\n    readonly SVG_MEETORSLICE_SLICE: number;\n    readonly SVG_MEETORSLICE_UNKNOWN: number;\n    readonly SVG_PRESERVEASPECTRATIO_NONE: number;\n    readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: number;\n    readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: number;\n    readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: number;\n    readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: number;\n    readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: number;\n    readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: number;\n    readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: number;\n    readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: number;\n    readonly SVG_PRESERVEASPECTRATIO_XMINYMID: number;\n    readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: number;\n}\n\ndeclare var SVGPreserveAspectRatio: {\n    prototype: SVGPreserveAspectRatio;\n    new(): SVGPreserveAspectRatio;\n    readonly SVG_MEETORSLICE_MEET: number;\n    readonly SVG_MEETORSLICE_SLICE: number;\n    readonly SVG_MEETORSLICE_UNKNOWN: number;\n    readonly SVG_PRESERVEASPECTRATIO_NONE: number;\n    readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: number;\n    readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: number;\n    readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: number;\n    readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: number;\n    readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: number;\n    readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: number;\n    readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: number;\n    readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: number;\n    readonly SVG_PRESERVEASPECTRATIO_XMINYMID: number;\n    readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: number;\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    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_SPACING: number;\n    readonly LENGTHADJUST_SPACINGANDGLYPHS: number;\n    readonly LENGTHADJUST_UNKNOWN: number;\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_SPACING: number;\n    readonly LENGTHADJUST_SPACINGANDGLYPHS: number;\n    readonly LENGTHADJUST_UNKNOWN: number;\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_ALIGN: number;\n    readonly TEXTPATH_METHODTYPE_STRETCH: number;\n    readonly TEXTPATH_METHODTYPE_UNKNOWN: number;\n    readonly TEXTPATH_SPACINGTYPE_AUTO: number;\n    readonly TEXTPATH_SPACINGTYPE_EXACT: number;\n    readonly TEXTPATH_SPACINGTYPE_UNKNOWN: number;\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_ALIGN: number;\n    readonly TEXTPATH_METHODTYPE_STRETCH: number;\n    readonly TEXTPATH_METHODTYPE_UNKNOWN: number;\n    readonly TEXTPATH_SPACINGTYPE_AUTO: number;\n    readonly TEXTPATH_SPACINGTYPE_EXACT: number;\n    readonly TEXTPATH_SPACINGTYPE_UNKNOWN: number;\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_MATRIX: number;\n    readonly SVG_TRANSFORM_ROTATE: number;\n    readonly SVG_TRANSFORM_SCALE: number;\n    readonly SVG_TRANSFORM_SKEWX: number;\n    readonly SVG_TRANSFORM_SKEWY: number;\n    readonly SVG_TRANSFORM_TRANSLATE: number;\n    readonly SVG_TRANSFORM_UNKNOWN: number;\n}\n\ndeclare var SVGTransform: {\n    prototype: SVGTransform;\n    new(): SVGTransform;\n    readonly SVG_TRANSFORM_MATRIX: number;\n    readonly SVG_TRANSFORM_ROTATE: number;\n    readonly SVG_TRANSFORM_SCALE: number;\n    readonly SVG_TRANSFORM_SKEWX: number;\n    readonly SVG_TRANSFORM_SKEWY: number;\n    readonly SVG_TRANSFORM_TRANSLATE: number;\n    readonly SVG_TRANSFORM_UNKNOWN: number;\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_OBJECTBOUNDINGBOX: number;\n    readonly SVG_UNIT_TYPE_UNKNOWN: number;\n    readonly SVG_UNIT_TYPE_USERSPACEONUSE: number;\n}\n\ndeclare var SVGUnitTypes: {\n    prototype: SVGUnitTypes;\n    new(): SVGUnitTypes;\n    readonly SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: number;\n    readonly SVG_UNIT_TYPE_UNKNOWN: number;\n    readonly SVG_UNIT_TYPE_USERSPACEONUSE: number;\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    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    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 ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML {\n    readonly delegatesFocus: boolean;\n    readonly host: Element;\n    readonly mode: ShadowRootMode;\n    /** Throws a \"NotSupportedError\" DOMException if context object is a shadow root. */\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    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    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<any>;\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<any>;\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: KeyUsage[]): Promise<CryptoKeyPair>;\n    generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: 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: 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\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 FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: GLenum;\n    readonly RGBA32F_EXT: GLenum;\n    readonly UNSIGNED_NORMALIZED_EXT: GLenum;\n}\n\ninterface WEBGL_compressed_texture_astc {\n    getSupportedProfiles(): string[];\n    readonly COMPRESSED_RGBA_ASTC_10x10_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_10x5_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_10x6_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_10x8_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_12x10_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_12x12_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_4x4_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_5x4_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_5x5_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_6x5_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_6x6_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_8x5_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_8x6_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_8x8_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: GLenum;\n}\n\ninterface WEBGL_compressed_texture_etc {\n    readonly COMPRESSED_R11_EAC: GLenum;\n    readonly COMPRESSED_RG11_EAC: GLenum;\n    readonly COMPRESSED_RGB8_ETC2: GLenum;\n    readonly COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2: GLenum;\n    readonly COMPRESSED_RGBA8_ETC2_EAC: GLenum;\n    readonly COMPRESSED_SIGNED_R11_EAC: GLenum;\n    readonly COMPRESSED_SIGNED_RG11_EAC: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: GLenum;\n    readonly COMPRESSED_SRGB8_ETC2: GLenum;\n    readonly COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: GLenum;\n}\n\ninterface WEBGL_compressed_texture_etc1 {\n    readonly COMPRESSED_RGB_ETC1_WEBGL: GLenum;\n}\n\ninterface WEBGL_compressed_texture_pvrtc {\n    readonly COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: GLenum;\n    readonly COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: GLenum;\n    readonly COMPRESSED_RGB_PVRTC_2BPPV1_IMG: GLenum;\n    readonly COMPRESSED_RGB_PVRTC_4BPPV1_IMG: GLenum;\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_RGBA_S3TC_DXT1_EXT: GLenum;\n    readonly COMPRESSED_RGBA_S3TC_DXT3_EXT: GLenum;\n    readonly COMPRESSED_RGBA_S3TC_DXT5_EXT: GLenum;\n    readonly COMPRESSED_RGB_S3TC_DXT1_EXT: GLenum;\n}\n\ninterface WEBGL_compressed_texture_s3tc_srgb {\n    readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: GLenum;\n    readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: GLenum;\n    readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: GLenum;\n    readonly COMPRESSED_SRGB_S3TC_DXT1_EXT: GLenum;\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_RENDERER_WEBGL: GLenum;\n    readonly UNMASKED_VENDOR_WEBGL: GLenum;\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: GLenum;\n}\n\ninterface WEBGL_draw_buffers {\n    drawBuffersWEBGL(buffers: GLenum[]): void;\n    readonly COLOR_ATTACHMENT0_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT10_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT11_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT12_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT13_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT14_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT15_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT1_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT2_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT3_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT4_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT5_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT6_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT7_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT8_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT9_WEBGL: GLenum;\n    readonly DRAW_BUFFER0_WEBGL: GLenum;\n    readonly DRAW_BUFFER10_WEBGL: GLenum;\n    readonly DRAW_BUFFER11_WEBGL: GLenum;\n    readonly DRAW_BUFFER12_WEBGL: GLenum;\n    readonly DRAW_BUFFER13_WEBGL: GLenum;\n    readonly DRAW_BUFFER14_WEBGL: GLenum;\n    readonly DRAW_BUFFER15_WEBGL: GLenum;\n    readonly DRAW_BUFFER1_WEBGL: GLenum;\n    readonly DRAW_BUFFER2_WEBGL: GLenum;\n    readonly DRAW_BUFFER3_WEBGL: GLenum;\n    readonly DRAW_BUFFER4_WEBGL: GLenum;\n    readonly DRAW_BUFFER5_WEBGL: GLenum;\n    readonly DRAW_BUFFER6_WEBGL: GLenum;\n    readonly DRAW_BUFFER7_WEBGL: GLenum;\n    readonly DRAW_BUFFER8_WEBGL: GLenum;\n    readonly DRAW_BUFFER9_WEBGL: GLenum;\n    readonly MAX_COLOR_ATTACHMENTS_WEBGL: GLenum;\n    readonly MAX_DRAW_BUFFERS_WEBGL: GLenum;\n}\n\ninterface WEBGL_lose_context {\n    loseContext(): void;\n    restoreContext(): 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 ACTIVE_UNIFORM_BLOCKS: GLenum;\n    readonly ALREADY_SIGNALED: GLenum;\n    readonly ANY_SAMPLES_PASSED: GLenum;\n    readonly ANY_SAMPLES_PASSED_CONSERVATIVE: GLenum;\n    readonly COLOR: GLenum;\n    readonly COLOR_ATTACHMENT1: GLenum;\n    readonly COLOR_ATTACHMENT10: GLenum;\n    readonly COLOR_ATTACHMENT11: GLenum;\n    readonly COLOR_ATTACHMENT12: GLenum;\n    readonly COLOR_ATTACHMENT13: GLenum;\n    readonly COLOR_ATTACHMENT14: GLenum;\n    readonly COLOR_ATTACHMENT15: GLenum;\n    readonly COLOR_ATTACHMENT2: GLenum;\n    readonly COLOR_ATTACHMENT3: GLenum;\n    readonly COLOR_ATTACHMENT4: GLenum;\n    readonly COLOR_ATTACHMENT5: GLenum;\n    readonly COLOR_ATTACHMENT6: GLenum;\n    readonly COLOR_ATTACHMENT7: GLenum;\n    readonly COLOR_ATTACHMENT8: GLenum;\n    readonly COLOR_ATTACHMENT9: GLenum;\n    readonly COMPARE_REF_TO_TEXTURE: GLenum;\n    readonly CONDITION_SATISFIED: GLenum;\n    readonly COPY_READ_BUFFER: GLenum;\n    readonly COPY_READ_BUFFER_BINDING: GLenum;\n    readonly COPY_WRITE_BUFFER: GLenum;\n    readonly COPY_WRITE_BUFFER_BINDING: GLenum;\n    readonly CURRENT_QUERY: GLenum;\n    readonly DEPTH: GLenum;\n    readonly DEPTH24_STENCIL8: GLenum;\n    readonly DEPTH32F_STENCIL8: GLenum;\n    readonly DEPTH_COMPONENT24: GLenum;\n    readonly DEPTH_COMPONENT32F: GLenum;\n    readonly DRAW_BUFFER0: GLenum;\n    readonly DRAW_BUFFER1: GLenum;\n    readonly DRAW_BUFFER10: GLenum;\n    readonly DRAW_BUFFER11: GLenum;\n    readonly DRAW_BUFFER12: GLenum;\n    readonly DRAW_BUFFER13: GLenum;\n    readonly DRAW_BUFFER14: GLenum;\n    readonly DRAW_BUFFER15: GLenum;\n    readonly DRAW_BUFFER2: GLenum;\n    readonly DRAW_BUFFER3: GLenum;\n    readonly DRAW_BUFFER4: GLenum;\n    readonly DRAW_BUFFER5: GLenum;\n    readonly DRAW_BUFFER6: GLenum;\n    readonly DRAW_BUFFER7: GLenum;\n    readonly DRAW_BUFFER8: GLenum;\n    readonly DRAW_BUFFER9: GLenum;\n    readonly DRAW_FRAMEBUFFER: GLenum;\n    readonly DRAW_FRAMEBUFFER_BINDING: GLenum;\n    readonly DYNAMIC_COPY: GLenum;\n    readonly DYNAMIC_READ: GLenum;\n    readonly FLOAT_32_UNSIGNED_INT_24_8_REV: GLenum;\n    readonly FLOAT_MAT2x3: GLenum;\n    readonly FLOAT_MAT2x4: GLenum;\n    readonly FLOAT_MAT3x2: GLenum;\n    readonly FLOAT_MAT3x4: GLenum;\n    readonly FLOAT_MAT4x2: GLenum;\n    readonly FLOAT_MAT4x3: GLenum;\n    readonly FRAGMENT_SHADER_DERIVATIVE_HINT: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: GLenum;\n    readonly FRAMEBUFFER_DEFAULT: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: GLenum;\n    readonly HALF_FLOAT: GLenum;\n    readonly INTERLEAVED_ATTRIBS: GLenum;\n    readonly INT_2_10_10_10_REV: GLenum;\n    readonly INT_SAMPLER_2D: GLenum;\n    readonly INT_SAMPLER_2D_ARRAY: GLenum;\n    readonly INT_SAMPLER_3D: GLenum;\n    readonly INT_SAMPLER_CUBE: GLenum;\n    readonly INVALID_INDEX: GLenum;\n    readonly MAX: GLenum;\n    readonly MAX_3D_TEXTURE_SIZE: GLenum;\n    readonly MAX_ARRAY_TEXTURE_LAYERS: GLenum;\n    readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: GLenum;\n    readonly MAX_COLOR_ATTACHMENTS: GLenum;\n    readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n    readonly MAX_COMBINED_UNIFORM_BLOCKS: GLenum;\n    readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: GLenum;\n    readonly MAX_DRAW_BUFFERS: GLenum;\n    readonly MAX_ELEMENTS_INDICES: GLenum;\n    readonly MAX_ELEMENTS_VERTICES: GLenum;\n    readonly MAX_ELEMENT_INDEX: GLenum;\n    readonly MAX_FRAGMENT_INPUT_COMPONENTS: GLenum;\n    readonly MAX_FRAGMENT_UNIFORM_BLOCKS: GLenum;\n    readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n    readonly MAX_PROGRAM_TEXEL_OFFSET: GLenum;\n    readonly MAX_SAMPLES: GLenum;\n    readonly MAX_SERVER_WAIT_TIMEOUT: GLenum;\n    readonly MAX_TEXTURE_LOD_BIAS: GLenum;\n    readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: GLenum;\n    readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: GLenum;\n    readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: GLenum;\n    readonly MAX_UNIFORM_BLOCK_SIZE: GLenum;\n    readonly MAX_UNIFORM_BUFFER_BINDINGS: GLenum;\n    readonly MAX_VARYING_COMPONENTS: GLenum;\n    readonly MAX_VERTEX_OUTPUT_COMPONENTS: GLenum;\n    readonly MAX_VERTEX_UNIFORM_BLOCKS: GLenum;\n    readonly MAX_VERTEX_UNIFORM_COMPONENTS: GLenum;\n    readonly MIN: GLenum;\n    readonly MIN_PROGRAM_TEXEL_OFFSET: GLenum;\n    readonly OBJECT_TYPE: GLenum;\n    readonly PACK_ROW_LENGTH: GLenum;\n    readonly PACK_SKIP_PIXELS: GLenum;\n    readonly PACK_SKIP_ROWS: GLenum;\n    readonly PIXEL_PACK_BUFFER: GLenum;\n    readonly PIXEL_PACK_BUFFER_BINDING: GLenum;\n    readonly PIXEL_UNPACK_BUFFER: GLenum;\n    readonly PIXEL_UNPACK_BUFFER_BINDING: GLenum;\n    readonly QUERY_RESULT: GLenum;\n    readonly QUERY_RESULT_AVAILABLE: GLenum;\n    readonly R11F_G11F_B10F: GLenum;\n    readonly R16F: GLenum;\n    readonly R16I: GLenum;\n    readonly R16UI: GLenum;\n    readonly R32F: GLenum;\n    readonly R32I: GLenum;\n    readonly R32UI: GLenum;\n    readonly R8: GLenum;\n    readonly R8I: GLenum;\n    readonly R8UI: GLenum;\n    readonly R8_SNORM: GLenum;\n    readonly RASTERIZER_DISCARD: GLenum;\n    readonly READ_BUFFER: GLenum;\n    readonly READ_FRAMEBUFFER: GLenum;\n    readonly READ_FRAMEBUFFER_BINDING: GLenum;\n    readonly RED: GLenum;\n    readonly RED_INTEGER: GLenum;\n    readonly RENDERBUFFER_SAMPLES: GLenum;\n    readonly RG: GLenum;\n    readonly RG16F: GLenum;\n    readonly RG16I: GLenum;\n    readonly RG16UI: GLenum;\n    readonly RG32F: GLenum;\n    readonly RG32I: GLenum;\n    readonly RG32UI: GLenum;\n    readonly RG8: GLenum;\n    readonly RG8I: GLenum;\n    readonly RG8UI: GLenum;\n    readonly RG8_SNORM: GLenum;\n    readonly RGB10_A2: GLenum;\n    readonly RGB10_A2UI: GLenum;\n    readonly RGB16F: GLenum;\n    readonly RGB16I: GLenum;\n    readonly RGB16UI: GLenum;\n    readonly RGB32F: GLenum;\n    readonly RGB32I: GLenum;\n    readonly RGB32UI: GLenum;\n    readonly RGB8: GLenum;\n    readonly RGB8I: GLenum;\n    readonly RGB8UI: GLenum;\n    readonly RGB8_SNORM: GLenum;\n    readonly RGB9_E5: GLenum;\n    readonly RGBA16F: GLenum;\n    readonly RGBA16I: GLenum;\n    readonly RGBA16UI: GLenum;\n    readonly RGBA32F: GLenum;\n    readonly RGBA32I: GLenum;\n    readonly RGBA32UI: GLenum;\n    readonly RGBA8: GLenum;\n    readonly RGBA8I: GLenum;\n    readonly RGBA8UI: GLenum;\n    readonly RGBA8_SNORM: GLenum;\n    readonly RGBA_INTEGER: GLenum;\n    readonly RGB_INTEGER: GLenum;\n    readonly RG_INTEGER: GLenum;\n    readonly SAMPLER_2D_ARRAY: GLenum;\n    readonly SAMPLER_2D_ARRAY_SHADOW: GLenum;\n    readonly SAMPLER_2D_SHADOW: GLenum;\n    readonly SAMPLER_3D: GLenum;\n    readonly SAMPLER_BINDING: GLenum;\n    readonly SAMPLER_CUBE_SHADOW: GLenum;\n    readonly SEPARATE_ATTRIBS: GLenum;\n    readonly SIGNALED: GLenum;\n    readonly SIGNED_NORMALIZED: GLenum;\n    readonly SRGB: GLenum;\n    readonly SRGB8: GLenum;\n    readonly SRGB8_ALPHA8: GLenum;\n    readonly STATIC_COPY: GLenum;\n    readonly STATIC_READ: GLenum;\n    readonly STENCIL: GLenum;\n    readonly STREAM_COPY: GLenum;\n    readonly STREAM_READ: GLenum;\n    readonly SYNC_CONDITION: GLenum;\n    readonly SYNC_FENCE: GLenum;\n    readonly SYNC_FLAGS: GLenum;\n    readonly SYNC_FLUSH_COMMANDS_BIT: GLenum;\n    readonly SYNC_GPU_COMMANDS_COMPLETE: GLenum;\n    readonly SYNC_STATUS: GLenum;\n    readonly TEXTURE_2D_ARRAY: GLenum;\n    readonly TEXTURE_3D: GLenum;\n    readonly TEXTURE_BASE_LEVEL: GLenum;\n    readonly TEXTURE_BINDING_2D_ARRAY: GLenum;\n    readonly TEXTURE_BINDING_3D: GLenum;\n    readonly TEXTURE_COMPARE_FUNC: GLenum;\n    readonly TEXTURE_COMPARE_MODE: GLenum;\n    readonly TEXTURE_IMMUTABLE_FORMAT: GLenum;\n    readonly TEXTURE_IMMUTABLE_LEVELS: GLenum;\n    readonly TEXTURE_MAX_LEVEL: GLenum;\n    readonly TEXTURE_MAX_LOD: GLenum;\n    readonly TEXTURE_MIN_LOD: GLenum;\n    readonly TEXTURE_WRAP_R: GLenum;\n    readonly TIMEOUT_EXPIRED: GLenum;\n    readonly TIMEOUT_IGNORED: GLint64;\n    readonly TRANSFORM_FEEDBACK: GLenum;\n    readonly TRANSFORM_FEEDBACK_ACTIVE: GLenum;\n    readonly TRANSFORM_FEEDBACK_BINDING: GLenum;\n    readonly TRANSFORM_FEEDBACK_BUFFER: GLenum;\n    readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: GLenum;\n    readonly TRANSFORM_FEEDBACK_BUFFER_MODE: GLenum;\n    readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: GLenum;\n    readonly TRANSFORM_FEEDBACK_BUFFER_START: GLenum;\n    readonly TRANSFORM_FEEDBACK_PAUSED: GLenum;\n    readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: GLenum;\n    readonly TRANSFORM_FEEDBACK_VARYINGS: GLenum;\n    readonly UNIFORM_ARRAY_STRIDE: GLenum;\n    readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: GLenum;\n    readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: GLenum;\n    readonly UNIFORM_BLOCK_BINDING: GLenum;\n    readonly UNIFORM_BLOCK_DATA_SIZE: GLenum;\n    readonly UNIFORM_BLOCK_INDEX: GLenum;\n    readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: GLenum;\n    readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: GLenum;\n    readonly UNIFORM_BUFFER: GLenum;\n    readonly UNIFORM_BUFFER_BINDING: GLenum;\n    readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: GLenum;\n    readonly UNIFORM_BUFFER_SIZE: GLenum;\n    readonly UNIFORM_BUFFER_START: GLenum;\n    readonly UNIFORM_IS_ROW_MAJOR: GLenum;\n    readonly UNIFORM_MATRIX_STRIDE: GLenum;\n    readonly UNIFORM_OFFSET: GLenum;\n    readonly UNIFORM_SIZE: GLenum;\n    readonly UNIFORM_TYPE: GLenum;\n    readonly UNPACK_IMAGE_HEIGHT: GLenum;\n    readonly UNPACK_ROW_LENGTH: GLenum;\n    readonly UNPACK_SKIP_IMAGES: GLenum;\n    readonly UNPACK_SKIP_PIXELS: GLenum;\n    readonly UNPACK_SKIP_ROWS: GLenum;\n    readonly UNSIGNALED: GLenum;\n    readonly UNSIGNED_INT_10F_11F_11F_REV: GLenum;\n    readonly UNSIGNED_INT_24_8: GLenum;\n    readonly UNSIGNED_INT_2_10_10_10_REV: GLenum;\n    readonly UNSIGNED_INT_5_9_9_9_REV: GLenum;\n    readonly UNSIGNED_INT_SAMPLER_2D: GLenum;\n    readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: GLenum;\n    readonly UNSIGNED_INT_SAMPLER_3D: GLenum;\n    readonly UNSIGNED_INT_SAMPLER_CUBE: GLenum;\n    readonly UNSIGNED_INT_VEC2: GLenum;\n    readonly UNSIGNED_INT_VEC3: GLenum;\n    readonly UNSIGNED_INT_VEC4: GLenum;\n    readonly UNSIGNED_NORMALIZED: GLenum;\n    readonly VERTEX_ARRAY_BINDING: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_DIVISOR: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_INTEGER: GLenum;\n    readonly WAIT_FAILED: GLenum;\n    readonly ACTIVE_ATTRIBUTES: GLenum;\n    readonly ACTIVE_TEXTURE: GLenum;\n    readonly ACTIVE_UNIFORMS: GLenum;\n    readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n    readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n    readonly ALPHA: GLenum;\n    readonly ALPHA_BITS: GLenum;\n    readonly ALWAYS: GLenum;\n    readonly ARRAY_BUFFER: GLenum;\n    readonly ARRAY_BUFFER_BINDING: GLenum;\n    readonly ATTACHED_SHADERS: GLenum;\n    readonly BACK: GLenum;\n    readonly BLEND: GLenum;\n    readonly BLEND_COLOR: GLenum;\n    readonly BLEND_DST_ALPHA: GLenum;\n    readonly BLEND_DST_RGB: GLenum;\n    readonly BLEND_EQUATION: GLenum;\n    readonly BLEND_EQUATION_ALPHA: GLenum;\n    readonly BLEND_EQUATION_RGB: GLenum;\n    readonly BLEND_SRC_ALPHA: GLenum;\n    readonly BLEND_SRC_RGB: GLenum;\n    readonly BLUE_BITS: GLenum;\n    readonly BOOL: GLenum;\n    readonly BOOL_VEC2: GLenum;\n    readonly BOOL_VEC3: GLenum;\n    readonly BOOL_VEC4: GLenum;\n    readonly BROWSER_DEFAULT_WEBGL: GLenum;\n    readonly BUFFER_SIZE: GLenum;\n    readonly BUFFER_USAGE: GLenum;\n    readonly BYTE: GLenum;\n    readonly CCW: GLenum;\n    readonly CLAMP_TO_EDGE: GLenum;\n    readonly COLOR_ATTACHMENT0: GLenum;\n    readonly COLOR_BUFFER_BIT: GLenum;\n    readonly COLOR_CLEAR_VALUE: GLenum;\n    readonly COLOR_WRITEMASK: GLenum;\n    readonly COMPILE_STATUS: GLenum;\n    readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n    readonly CONSTANT_ALPHA: GLenum;\n    readonly CONSTANT_COLOR: GLenum;\n    readonly CONTEXT_LOST_WEBGL: GLenum;\n    readonly CULL_FACE: GLenum;\n    readonly CULL_FACE_MODE: GLenum;\n    readonly CURRENT_PROGRAM: GLenum;\n    readonly CURRENT_VERTEX_ATTRIB: GLenum;\n    readonly CW: GLenum;\n    readonly DECR: GLenum;\n    readonly DECR_WRAP: GLenum;\n    readonly DELETE_STATUS: GLenum;\n    readonly DEPTH_ATTACHMENT: GLenum;\n    readonly DEPTH_BITS: GLenum;\n    readonly DEPTH_BUFFER_BIT: GLenum;\n    readonly DEPTH_CLEAR_VALUE: GLenum;\n    readonly DEPTH_COMPONENT: GLenum;\n    readonly DEPTH_COMPONENT16: GLenum;\n    readonly DEPTH_FUNC: GLenum;\n    readonly DEPTH_RANGE: GLenum;\n    readonly DEPTH_STENCIL: GLenum;\n    readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n    readonly DEPTH_TEST: GLenum;\n    readonly DEPTH_WRITEMASK: GLenum;\n    readonly DITHER: GLenum;\n    readonly DONT_CARE: GLenum;\n    readonly DST_ALPHA: GLenum;\n    readonly DST_COLOR: GLenum;\n    readonly DYNAMIC_DRAW: GLenum;\n    readonly ELEMENT_ARRAY_BUFFER: GLenum;\n    readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n    readonly EQUAL: GLenum;\n    readonly FASTEST: GLenum;\n    readonly FLOAT: GLenum;\n    readonly FLOAT_MAT2: GLenum;\n    readonly FLOAT_MAT3: GLenum;\n    readonly FLOAT_MAT4: GLenum;\n    readonly FLOAT_VEC2: GLenum;\n    readonly FLOAT_VEC3: GLenum;\n    readonly FLOAT_VEC4: GLenum;\n    readonly FRAGMENT_SHADER: GLenum;\n    readonly FRAMEBUFFER: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n    readonly FRAMEBUFFER_BINDING: GLenum;\n    readonly FRAMEBUFFER_COMPLETE: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n    readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n    readonly FRONT: GLenum;\n    readonly FRONT_AND_BACK: GLenum;\n    readonly FRONT_FACE: GLenum;\n    readonly FUNC_ADD: GLenum;\n    readonly FUNC_REVERSE_SUBTRACT: GLenum;\n    readonly FUNC_SUBTRACT: GLenum;\n    readonly GENERATE_MIPMAP_HINT: GLenum;\n    readonly GEQUAL: GLenum;\n    readonly GREATER: GLenum;\n    readonly GREEN_BITS: GLenum;\n    readonly HIGH_FLOAT: GLenum;\n    readonly HIGH_INT: GLenum;\n    readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n    readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n    readonly INCR: GLenum;\n    readonly INCR_WRAP: GLenum;\n    readonly INT: GLenum;\n    readonly INT_VEC2: GLenum;\n    readonly INT_VEC3: GLenum;\n    readonly INT_VEC4: GLenum;\n    readonly INVALID_ENUM: GLenum;\n    readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n    readonly INVALID_OPERATION: GLenum;\n    readonly INVALID_VALUE: GLenum;\n    readonly INVERT: GLenum;\n    readonly KEEP: GLenum;\n    readonly LEQUAL: GLenum;\n    readonly LESS: GLenum;\n    readonly LINEAR: GLenum;\n    readonly LINEAR_MIPMAP_LINEAR: GLenum;\n    readonly LINEAR_MIPMAP_NEAREST: GLenum;\n    readonly LINES: GLenum;\n    readonly LINE_LOOP: GLenum;\n    readonly LINE_STRIP: GLenum;\n    readonly LINE_WIDTH: GLenum;\n    readonly LINK_STATUS: GLenum;\n    readonly LOW_FLOAT: GLenum;\n    readonly LOW_INT: GLenum;\n    readonly LUMINANCE: GLenum;\n    readonly LUMINANCE_ALPHA: GLenum;\n    readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n    readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n    readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n    readonly MAX_RENDERBUFFER_SIZE: GLenum;\n    readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n    readonly MAX_TEXTURE_SIZE: GLenum;\n    readonly MAX_VARYING_VECTORS: GLenum;\n    readonly MAX_VERTEX_ATTRIBS: GLenum;\n    readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n    readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n    readonly MAX_VIEWPORT_DIMS: GLenum;\n    readonly MEDIUM_FLOAT: GLenum;\n    readonly MEDIUM_INT: GLenum;\n    readonly MIRRORED_REPEAT: GLenum;\n    readonly NEAREST: GLenum;\n    readonly NEAREST_MIPMAP_LINEAR: GLenum;\n    readonly NEAREST_MIPMAP_NEAREST: GLenum;\n    readonly NEVER: GLenum;\n    readonly NICEST: GLenum;\n    readonly NONE: GLenum;\n    readonly NOTEQUAL: GLenum;\n    readonly NO_ERROR: GLenum;\n    readonly ONE: GLenum;\n    readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n    readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n    readonly ONE_MINUS_DST_ALPHA: GLenum;\n    readonly ONE_MINUS_DST_COLOR: GLenum;\n    readonly ONE_MINUS_SRC_ALPHA: GLenum;\n    readonly ONE_MINUS_SRC_COLOR: GLenum;\n    readonly OUT_OF_MEMORY: GLenum;\n    readonly PACK_ALIGNMENT: GLenum;\n    readonly POINTS: GLenum;\n    readonly POLYGON_OFFSET_FACTOR: GLenum;\n    readonly POLYGON_OFFSET_FILL: GLenum;\n    readonly POLYGON_OFFSET_UNITS: GLenum;\n    readonly RED_BITS: GLenum;\n    readonly RENDERBUFFER: GLenum;\n    readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n    readonly RENDERBUFFER_BINDING: GLenum;\n    readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n    readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n    readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n    readonly RENDERBUFFER_HEIGHT: GLenum;\n    readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n    readonly RENDERBUFFER_RED_SIZE: GLenum;\n    readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n    readonly RENDERBUFFER_WIDTH: GLenum;\n    readonly RENDERER: GLenum;\n    readonly REPEAT: GLenum;\n    readonly REPLACE: GLenum;\n    readonly RGB: GLenum;\n    readonly RGB565: GLenum;\n    readonly RGB5_A1: GLenum;\n    readonly RGBA: GLenum;\n    readonly RGBA4: GLenum;\n    readonly SAMPLER_2D: GLenum;\n    readonly SAMPLER_CUBE: GLenum;\n    readonly SAMPLES: GLenum;\n    readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n    readonly SAMPLE_BUFFERS: GLenum;\n    readonly SAMPLE_COVERAGE: GLenum;\n    readonly SAMPLE_COVERAGE_INVERT: GLenum;\n    readonly SAMPLE_COVERAGE_VALUE: GLenum;\n    readonly SCISSOR_BOX: GLenum;\n    readonly SCISSOR_TEST: GLenum;\n    readonly SHADER_TYPE: GLenum;\n    readonly SHADING_LANGUAGE_VERSION: GLenum;\n    readonly SHORT: GLenum;\n    readonly SRC_ALPHA: GLenum;\n    readonly SRC_ALPHA_SATURATE: GLenum;\n    readonly SRC_COLOR: GLenum;\n    readonly STATIC_DRAW: GLenum;\n    readonly STENCIL_ATTACHMENT: GLenum;\n    readonly STENCIL_BACK_FAIL: GLenum;\n    readonly STENCIL_BACK_FUNC: GLenum;\n    readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n    readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n    readonly STENCIL_BACK_REF: GLenum;\n    readonly STENCIL_BACK_VALUE_MASK: GLenum;\n    readonly STENCIL_BACK_WRITEMASK: GLenum;\n    readonly STENCIL_BITS: GLenum;\n    readonly STENCIL_BUFFER_BIT: GLenum;\n    readonly STENCIL_CLEAR_VALUE: GLenum;\n    readonly STENCIL_FAIL: GLenum;\n    readonly STENCIL_FUNC: GLenum;\n    readonly STENCIL_INDEX8: GLenum;\n    readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n    readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n    readonly STENCIL_REF: GLenum;\n    readonly STENCIL_TEST: GLenum;\n    readonly STENCIL_VALUE_MASK: GLenum;\n    readonly STENCIL_WRITEMASK: GLenum;\n    readonly STREAM_DRAW: GLenum;\n    readonly SUBPIXEL_BITS: GLenum;\n    readonly TEXTURE: GLenum;\n    readonly TEXTURE0: GLenum;\n    readonly TEXTURE1: GLenum;\n    readonly TEXTURE10: GLenum;\n    readonly TEXTURE11: GLenum;\n    readonly TEXTURE12: GLenum;\n    readonly TEXTURE13: GLenum;\n    readonly TEXTURE14: GLenum;\n    readonly TEXTURE15: GLenum;\n    readonly TEXTURE16: GLenum;\n    readonly TEXTURE17: GLenum;\n    readonly TEXTURE18: GLenum;\n    readonly TEXTURE19: GLenum;\n    readonly TEXTURE2: GLenum;\n    readonly TEXTURE20: GLenum;\n    readonly TEXTURE21: GLenum;\n    readonly TEXTURE22: GLenum;\n    readonly TEXTURE23: GLenum;\n    readonly TEXTURE24: GLenum;\n    readonly TEXTURE25: GLenum;\n    readonly TEXTURE26: GLenum;\n    readonly TEXTURE27: GLenum;\n    readonly TEXTURE28: GLenum;\n    readonly TEXTURE29: GLenum;\n    readonly TEXTURE3: GLenum;\n    readonly TEXTURE30: GLenum;\n    readonly TEXTURE31: GLenum;\n    readonly TEXTURE4: GLenum;\n    readonly TEXTURE5: GLenum;\n    readonly TEXTURE6: GLenum;\n    readonly TEXTURE7: GLenum;\n    readonly TEXTURE8: GLenum;\n    readonly TEXTURE9: GLenum;\n    readonly TEXTURE_2D: GLenum;\n    readonly TEXTURE_BINDING_2D: GLenum;\n    readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n    readonly TEXTURE_CUBE_MAP: GLenum;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n    readonly TEXTURE_MAG_FILTER: GLenum;\n    readonly TEXTURE_MIN_FILTER: GLenum;\n    readonly TEXTURE_WRAP_S: GLenum;\n    readonly TEXTURE_WRAP_T: GLenum;\n    readonly TRIANGLES: GLenum;\n    readonly TRIANGLE_FAN: GLenum;\n    readonly TRIANGLE_STRIP: GLenum;\n    readonly UNPACK_ALIGNMENT: GLenum;\n    readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n    readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n    readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n    readonly UNSIGNED_BYTE: GLenum;\n    readonly UNSIGNED_INT: GLenum;\n    readonly UNSIGNED_SHORT: GLenum;\n    readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n    readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n    readonly UNSIGNED_SHORT_5_6_5: GLenum;\n    readonly VALIDATE_STATUS: GLenum;\n    readonly VENDOR: GLenum;\n    readonly VERSION: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n    readonly VERTEX_SHADER: GLenum;\n    readonly VIEWPORT: GLenum;\n    readonly ZERO: GLenum;\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 ACTIVE_UNIFORM_BLOCKS: GLenum;\n    readonly ALREADY_SIGNALED: GLenum;\n    readonly ANY_SAMPLES_PASSED: GLenum;\n    readonly ANY_SAMPLES_PASSED_CONSERVATIVE: GLenum;\n    readonly COLOR: GLenum;\n    readonly COLOR_ATTACHMENT1: GLenum;\n    readonly COLOR_ATTACHMENT10: GLenum;\n    readonly COLOR_ATTACHMENT11: GLenum;\n    readonly COLOR_ATTACHMENT12: GLenum;\n    readonly COLOR_ATTACHMENT13: GLenum;\n    readonly COLOR_ATTACHMENT14: GLenum;\n    readonly COLOR_ATTACHMENT15: GLenum;\n    readonly COLOR_ATTACHMENT2: GLenum;\n    readonly COLOR_ATTACHMENT3: GLenum;\n    readonly COLOR_ATTACHMENT4: GLenum;\n    readonly COLOR_ATTACHMENT5: GLenum;\n    readonly COLOR_ATTACHMENT6: GLenum;\n    readonly COLOR_ATTACHMENT7: GLenum;\n    readonly COLOR_ATTACHMENT8: GLenum;\n    readonly COLOR_ATTACHMENT9: GLenum;\n    readonly COMPARE_REF_TO_TEXTURE: GLenum;\n    readonly CONDITION_SATISFIED: GLenum;\n    readonly COPY_READ_BUFFER: GLenum;\n    readonly COPY_READ_BUFFER_BINDING: GLenum;\n    readonly COPY_WRITE_BUFFER: GLenum;\n    readonly COPY_WRITE_BUFFER_BINDING: GLenum;\n    readonly CURRENT_QUERY: GLenum;\n    readonly DEPTH: GLenum;\n    readonly DEPTH24_STENCIL8: GLenum;\n    readonly DEPTH32F_STENCIL8: GLenum;\n    readonly DEPTH_COMPONENT24: GLenum;\n    readonly DEPTH_COMPONENT32F: GLenum;\n    readonly DRAW_BUFFER0: GLenum;\n    readonly DRAW_BUFFER1: GLenum;\n    readonly DRAW_BUFFER10: GLenum;\n    readonly DRAW_BUFFER11: GLenum;\n    readonly DRAW_BUFFER12: GLenum;\n    readonly DRAW_BUFFER13: GLenum;\n    readonly DRAW_BUFFER14: GLenum;\n    readonly DRAW_BUFFER15: GLenum;\n    readonly DRAW_BUFFER2: GLenum;\n    readonly DRAW_BUFFER3: GLenum;\n    readonly DRAW_BUFFER4: GLenum;\n    readonly DRAW_BUFFER5: GLenum;\n    readonly DRAW_BUFFER6: GLenum;\n    readonly DRAW_BUFFER7: GLenum;\n    readonly DRAW_BUFFER8: GLenum;\n    readonly DRAW_BUFFER9: GLenum;\n    readonly DRAW_FRAMEBUFFER: GLenum;\n    readonly DRAW_FRAMEBUFFER_BINDING: GLenum;\n    readonly DYNAMIC_COPY: GLenum;\n    readonly DYNAMIC_READ: GLenum;\n    readonly FLOAT_32_UNSIGNED_INT_24_8_REV: GLenum;\n    readonly FLOAT_MAT2x3: GLenum;\n    readonly FLOAT_MAT2x4: GLenum;\n    readonly FLOAT_MAT3x2: GLenum;\n    readonly FLOAT_MAT3x4: GLenum;\n    readonly FLOAT_MAT4x2: GLenum;\n    readonly FLOAT_MAT4x3: GLenum;\n    readonly FRAGMENT_SHADER_DERIVATIVE_HINT: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: GLenum;\n    readonly FRAMEBUFFER_DEFAULT: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: GLenum;\n    readonly HALF_FLOAT: GLenum;\n    readonly INTERLEAVED_ATTRIBS: GLenum;\n    readonly INT_2_10_10_10_REV: GLenum;\n    readonly INT_SAMPLER_2D: GLenum;\n    readonly INT_SAMPLER_2D_ARRAY: GLenum;\n    readonly INT_SAMPLER_3D: GLenum;\n    readonly INT_SAMPLER_CUBE: GLenum;\n    readonly INVALID_INDEX: GLenum;\n    readonly MAX: GLenum;\n    readonly MAX_3D_TEXTURE_SIZE: GLenum;\n    readonly MAX_ARRAY_TEXTURE_LAYERS: GLenum;\n    readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: GLenum;\n    readonly MAX_COLOR_ATTACHMENTS: GLenum;\n    readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n    readonly MAX_COMBINED_UNIFORM_BLOCKS: GLenum;\n    readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: GLenum;\n    readonly MAX_DRAW_BUFFERS: GLenum;\n    readonly MAX_ELEMENTS_INDICES: GLenum;\n    readonly MAX_ELEMENTS_VERTICES: GLenum;\n    readonly MAX_ELEMENT_INDEX: GLenum;\n    readonly MAX_FRAGMENT_INPUT_COMPONENTS: GLenum;\n    readonly MAX_FRAGMENT_UNIFORM_BLOCKS: GLenum;\n    readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n    readonly MAX_PROGRAM_TEXEL_OFFSET: GLenum;\n    readonly MAX_SAMPLES: GLenum;\n    readonly MAX_SERVER_WAIT_TIMEOUT: GLenum;\n    readonly MAX_TEXTURE_LOD_BIAS: GLenum;\n    readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: GLenum;\n    readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: GLenum;\n    readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: GLenum;\n    readonly MAX_UNIFORM_BLOCK_SIZE: GLenum;\n    readonly MAX_UNIFORM_BUFFER_BINDINGS: GLenum;\n    readonly MAX_VARYING_COMPONENTS: GLenum;\n    readonly MAX_VERTEX_OUTPUT_COMPONENTS: GLenum;\n    readonly MAX_VERTEX_UNIFORM_BLOCKS: GLenum;\n    readonly MAX_VERTEX_UNIFORM_COMPONENTS: GLenum;\n    readonly MIN: GLenum;\n    readonly MIN_PROGRAM_TEXEL_OFFSET: GLenum;\n    readonly OBJECT_TYPE: GLenum;\n    readonly PACK_ROW_LENGTH: GLenum;\n    readonly PACK_SKIP_PIXELS: GLenum;\n    readonly PACK_SKIP_ROWS: GLenum;\n    readonly PIXEL_PACK_BUFFER: GLenum;\n    readonly PIXEL_PACK_BUFFER_BINDING: GLenum;\n    readonly PIXEL_UNPACK_BUFFER: GLenum;\n    readonly PIXEL_UNPACK_BUFFER_BINDING: GLenum;\n    readonly QUERY_RESULT: GLenum;\n    readonly QUERY_RESULT_AVAILABLE: GLenum;\n    readonly R11F_G11F_B10F: GLenum;\n    readonly R16F: GLenum;\n    readonly R16I: GLenum;\n    readonly R16UI: GLenum;\n    readonly R32F: GLenum;\n    readonly R32I: GLenum;\n    readonly R32UI: GLenum;\n    readonly R8: GLenum;\n    readonly R8I: GLenum;\n    readonly R8UI: GLenum;\n    readonly R8_SNORM: GLenum;\n    readonly RASTERIZER_DISCARD: GLenum;\n    readonly READ_BUFFER: GLenum;\n    readonly READ_FRAMEBUFFER: GLenum;\n    readonly READ_FRAMEBUFFER_BINDING: GLenum;\n    readonly RED: GLenum;\n    readonly RED_INTEGER: GLenum;\n    readonly RENDERBUFFER_SAMPLES: GLenum;\n    readonly RG: GLenum;\n    readonly RG16F: GLenum;\n    readonly RG16I: GLenum;\n    readonly RG16UI: GLenum;\n    readonly RG32F: GLenum;\n    readonly RG32I: GLenum;\n    readonly RG32UI: GLenum;\n    readonly RG8: GLenum;\n    readonly RG8I: GLenum;\n    readonly RG8UI: GLenum;\n    readonly RG8_SNORM: GLenum;\n    readonly RGB10_A2: GLenum;\n    readonly RGB10_A2UI: GLenum;\n    readonly RGB16F: GLenum;\n    readonly RGB16I: GLenum;\n    readonly RGB16UI: GLenum;\n    readonly RGB32F: GLenum;\n    readonly RGB32I: GLenum;\n    readonly RGB32UI: GLenum;\n    readonly RGB8: GLenum;\n    readonly RGB8I: GLenum;\n    readonly RGB8UI: GLenum;\n    readonly RGB8_SNORM: GLenum;\n    readonly RGB9_E5: GLenum;\n    readonly RGBA16F: GLenum;\n    readonly RGBA16I: GLenum;\n    readonly RGBA16UI: GLenum;\n    readonly RGBA32F: GLenum;\n    readonly RGBA32I: GLenum;\n    readonly RGBA32UI: GLenum;\n    readonly RGBA8: GLenum;\n    readonly RGBA8I: GLenum;\n    readonly RGBA8UI: GLenum;\n    readonly RGBA8_SNORM: GLenum;\n    readonly RGBA_INTEGER: GLenum;\n    readonly RGB_INTEGER: GLenum;\n    readonly RG_INTEGER: GLenum;\n    readonly SAMPLER_2D_ARRAY: GLenum;\n    readonly SAMPLER_2D_ARRAY_SHADOW: GLenum;\n    readonly SAMPLER_2D_SHADOW: GLenum;\n    readonly SAMPLER_3D: GLenum;\n    readonly SAMPLER_BINDING: GLenum;\n    readonly SAMPLER_CUBE_SHADOW: GLenum;\n    readonly SEPARATE_ATTRIBS: GLenum;\n    readonly SIGNALED: GLenum;\n    readonly SIGNED_NORMALIZED: GLenum;\n    readonly SRGB: GLenum;\n    readonly SRGB8: GLenum;\n    readonly SRGB8_ALPHA8: GLenum;\n    readonly STATIC_COPY: GLenum;\n    readonly STATIC_READ: GLenum;\n    readonly STENCIL: GLenum;\n    readonly STREAM_COPY: GLenum;\n    readonly STREAM_READ: GLenum;\n    readonly SYNC_CONDITION: GLenum;\n    readonly SYNC_FENCE: GLenum;\n    readonly SYNC_FLAGS: GLenum;\n    readonly SYNC_FLUSH_COMMANDS_BIT: GLenum;\n    readonly SYNC_GPU_COMMANDS_COMPLETE: GLenum;\n    readonly SYNC_STATUS: GLenum;\n    readonly TEXTURE_2D_ARRAY: GLenum;\n    readonly TEXTURE_3D: GLenum;\n    readonly TEXTURE_BASE_LEVEL: GLenum;\n    readonly TEXTURE_BINDING_2D_ARRAY: GLenum;\n    readonly TEXTURE_BINDING_3D: GLenum;\n    readonly TEXTURE_COMPARE_FUNC: GLenum;\n    readonly TEXTURE_COMPARE_MODE: GLenum;\n    readonly TEXTURE_IMMUTABLE_FORMAT: GLenum;\n    readonly TEXTURE_IMMUTABLE_LEVELS: GLenum;\n    readonly TEXTURE_MAX_LEVEL: GLenum;\n    readonly TEXTURE_MAX_LOD: GLenum;\n    readonly TEXTURE_MIN_LOD: GLenum;\n    readonly TEXTURE_WRAP_R: GLenum;\n    readonly TIMEOUT_EXPIRED: GLenum;\n    readonly TIMEOUT_IGNORED: GLint64;\n    readonly TRANSFORM_FEEDBACK: GLenum;\n    readonly TRANSFORM_FEEDBACK_ACTIVE: GLenum;\n    readonly TRANSFORM_FEEDBACK_BINDING: GLenum;\n    readonly TRANSFORM_FEEDBACK_BUFFER: GLenum;\n    readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: GLenum;\n    readonly TRANSFORM_FEEDBACK_BUFFER_MODE: GLenum;\n    readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: GLenum;\n    readonly TRANSFORM_FEEDBACK_BUFFER_START: GLenum;\n    readonly TRANSFORM_FEEDBACK_PAUSED: GLenum;\n    readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: GLenum;\n    readonly TRANSFORM_FEEDBACK_VARYINGS: GLenum;\n    readonly UNIFORM_ARRAY_STRIDE: GLenum;\n    readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: GLenum;\n    readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: GLenum;\n    readonly UNIFORM_BLOCK_BINDING: GLenum;\n    readonly UNIFORM_BLOCK_DATA_SIZE: GLenum;\n    readonly UNIFORM_BLOCK_INDEX: GLenum;\n    readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: GLenum;\n    readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: GLenum;\n    readonly UNIFORM_BUFFER: GLenum;\n    readonly UNIFORM_BUFFER_BINDING: GLenum;\n    readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: GLenum;\n    readonly UNIFORM_BUFFER_SIZE: GLenum;\n    readonly UNIFORM_BUFFER_START: GLenum;\n    readonly UNIFORM_IS_ROW_MAJOR: GLenum;\n    readonly UNIFORM_MATRIX_STRIDE: GLenum;\n    readonly UNIFORM_OFFSET: GLenum;\n    readonly UNIFORM_SIZE: GLenum;\n    readonly UNIFORM_TYPE: GLenum;\n    readonly UNPACK_IMAGE_HEIGHT: GLenum;\n    readonly UNPACK_ROW_LENGTH: GLenum;\n    readonly UNPACK_SKIP_IMAGES: GLenum;\n    readonly UNPACK_SKIP_PIXELS: GLenum;\n    readonly UNPACK_SKIP_ROWS: GLenum;\n    readonly UNSIGNALED: GLenum;\n    readonly UNSIGNED_INT_10F_11F_11F_REV: GLenum;\n    readonly UNSIGNED_INT_24_8: GLenum;\n    readonly UNSIGNED_INT_2_10_10_10_REV: GLenum;\n    readonly UNSIGNED_INT_5_9_9_9_REV: GLenum;\n    readonly UNSIGNED_INT_SAMPLER_2D: GLenum;\n    readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: GLenum;\n    readonly UNSIGNED_INT_SAMPLER_3D: GLenum;\n    readonly UNSIGNED_INT_SAMPLER_CUBE: GLenum;\n    readonly UNSIGNED_INT_VEC2: GLenum;\n    readonly UNSIGNED_INT_VEC3: GLenum;\n    readonly UNSIGNED_INT_VEC4: GLenum;\n    readonly UNSIGNED_NORMALIZED: GLenum;\n    readonly VERTEX_ARRAY_BINDING: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_DIVISOR: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_INTEGER: GLenum;\n    readonly WAIT_FAILED: GLenum;\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 ACTIVE_ATTRIBUTES: GLenum;\n    readonly ACTIVE_TEXTURE: GLenum;\n    readonly ACTIVE_UNIFORMS: GLenum;\n    readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n    readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n    readonly ALPHA: GLenum;\n    readonly ALPHA_BITS: GLenum;\n    readonly ALWAYS: GLenum;\n    readonly ARRAY_BUFFER: GLenum;\n    readonly ARRAY_BUFFER_BINDING: GLenum;\n    readonly ATTACHED_SHADERS: GLenum;\n    readonly BACK: GLenum;\n    readonly BLEND: GLenum;\n    readonly BLEND_COLOR: GLenum;\n    readonly BLEND_DST_ALPHA: GLenum;\n    readonly BLEND_DST_RGB: GLenum;\n    readonly BLEND_EQUATION: GLenum;\n    readonly BLEND_EQUATION_ALPHA: GLenum;\n    readonly BLEND_EQUATION_RGB: GLenum;\n    readonly BLEND_SRC_ALPHA: GLenum;\n    readonly BLEND_SRC_RGB: GLenum;\n    readonly BLUE_BITS: GLenum;\n    readonly BOOL: GLenum;\n    readonly BOOL_VEC2: GLenum;\n    readonly BOOL_VEC3: GLenum;\n    readonly BOOL_VEC4: GLenum;\n    readonly BROWSER_DEFAULT_WEBGL: GLenum;\n    readonly BUFFER_SIZE: GLenum;\n    readonly BUFFER_USAGE: GLenum;\n    readonly BYTE: GLenum;\n    readonly CCW: GLenum;\n    readonly CLAMP_TO_EDGE: GLenum;\n    readonly COLOR_ATTACHMENT0: GLenum;\n    readonly COLOR_BUFFER_BIT: GLenum;\n    readonly COLOR_CLEAR_VALUE: GLenum;\n    readonly COLOR_WRITEMASK: GLenum;\n    readonly COMPILE_STATUS: GLenum;\n    readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n    readonly CONSTANT_ALPHA: GLenum;\n    readonly CONSTANT_COLOR: GLenum;\n    readonly CONTEXT_LOST_WEBGL: GLenum;\n    readonly CULL_FACE: GLenum;\n    readonly CULL_FACE_MODE: GLenum;\n    readonly CURRENT_PROGRAM: GLenum;\n    readonly CURRENT_VERTEX_ATTRIB: GLenum;\n    readonly CW: GLenum;\n    readonly DECR: GLenum;\n    readonly DECR_WRAP: GLenum;\n    readonly DELETE_STATUS: GLenum;\n    readonly DEPTH_ATTACHMENT: GLenum;\n    readonly DEPTH_BITS: GLenum;\n    readonly DEPTH_BUFFER_BIT: GLenum;\n    readonly DEPTH_CLEAR_VALUE: GLenum;\n    readonly DEPTH_COMPONENT: GLenum;\n    readonly DEPTH_COMPONENT16: GLenum;\n    readonly DEPTH_FUNC: GLenum;\n    readonly DEPTH_RANGE: GLenum;\n    readonly DEPTH_STENCIL: GLenum;\n    readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n    readonly DEPTH_TEST: GLenum;\n    readonly DEPTH_WRITEMASK: GLenum;\n    readonly DITHER: GLenum;\n    readonly DONT_CARE: GLenum;\n    readonly DST_ALPHA: GLenum;\n    readonly DST_COLOR: GLenum;\n    readonly DYNAMIC_DRAW: GLenum;\n    readonly ELEMENT_ARRAY_BUFFER: GLenum;\n    readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n    readonly EQUAL: GLenum;\n    readonly FASTEST: GLenum;\n    readonly FLOAT: GLenum;\n    readonly FLOAT_MAT2: GLenum;\n    readonly FLOAT_MAT3: GLenum;\n    readonly FLOAT_MAT4: GLenum;\n    readonly FLOAT_VEC2: GLenum;\n    readonly FLOAT_VEC3: GLenum;\n    readonly FLOAT_VEC4: GLenum;\n    readonly FRAGMENT_SHADER: GLenum;\n    readonly FRAMEBUFFER: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n    readonly FRAMEBUFFER_BINDING: GLenum;\n    readonly FRAMEBUFFER_COMPLETE: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n    readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n    readonly FRONT: GLenum;\n    readonly FRONT_AND_BACK: GLenum;\n    readonly FRONT_FACE: GLenum;\n    readonly FUNC_ADD: GLenum;\n    readonly FUNC_REVERSE_SUBTRACT: GLenum;\n    readonly FUNC_SUBTRACT: GLenum;\n    readonly GENERATE_MIPMAP_HINT: GLenum;\n    readonly GEQUAL: GLenum;\n    readonly GREATER: GLenum;\n    readonly GREEN_BITS: GLenum;\n    readonly HIGH_FLOAT: GLenum;\n    readonly HIGH_INT: GLenum;\n    readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n    readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n    readonly INCR: GLenum;\n    readonly INCR_WRAP: GLenum;\n    readonly INT: GLenum;\n    readonly INT_VEC2: GLenum;\n    readonly INT_VEC3: GLenum;\n    readonly INT_VEC4: GLenum;\n    readonly INVALID_ENUM: GLenum;\n    readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n    readonly INVALID_OPERATION: GLenum;\n    readonly INVALID_VALUE: GLenum;\n    readonly INVERT: GLenum;\n    readonly KEEP: GLenum;\n    readonly LEQUAL: GLenum;\n    readonly LESS: GLenum;\n    readonly LINEAR: GLenum;\n    readonly LINEAR_MIPMAP_LINEAR: GLenum;\n    readonly LINEAR_MIPMAP_NEAREST: GLenum;\n    readonly LINES: GLenum;\n    readonly LINE_LOOP: GLenum;\n    readonly LINE_STRIP: GLenum;\n    readonly LINE_WIDTH: GLenum;\n    readonly LINK_STATUS: GLenum;\n    readonly LOW_FLOAT: GLenum;\n    readonly LOW_INT: GLenum;\n    readonly LUMINANCE: GLenum;\n    readonly LUMINANCE_ALPHA: GLenum;\n    readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n    readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n    readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n    readonly MAX_RENDERBUFFER_SIZE: GLenum;\n    readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n    readonly MAX_TEXTURE_SIZE: GLenum;\n    readonly MAX_VARYING_VECTORS: GLenum;\n    readonly MAX_VERTEX_ATTRIBS: GLenum;\n    readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n    readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n    readonly MAX_VIEWPORT_DIMS: GLenum;\n    readonly MEDIUM_FLOAT: GLenum;\n    readonly MEDIUM_INT: GLenum;\n    readonly MIRRORED_REPEAT: GLenum;\n    readonly NEAREST: GLenum;\n    readonly NEAREST_MIPMAP_LINEAR: GLenum;\n    readonly NEAREST_MIPMAP_NEAREST: GLenum;\n    readonly NEVER: GLenum;\n    readonly NICEST: GLenum;\n    readonly NONE: GLenum;\n    readonly NOTEQUAL: GLenum;\n    readonly NO_ERROR: GLenum;\n    readonly ONE: GLenum;\n    readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n    readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n    readonly ONE_MINUS_DST_ALPHA: GLenum;\n    readonly ONE_MINUS_DST_COLOR: GLenum;\n    readonly ONE_MINUS_SRC_ALPHA: GLenum;\n    readonly ONE_MINUS_SRC_COLOR: GLenum;\n    readonly OUT_OF_MEMORY: GLenum;\n    readonly PACK_ALIGNMENT: GLenum;\n    readonly POINTS: GLenum;\n    readonly POLYGON_OFFSET_FACTOR: GLenum;\n    readonly POLYGON_OFFSET_FILL: GLenum;\n    readonly POLYGON_OFFSET_UNITS: GLenum;\n    readonly RED_BITS: GLenum;\n    readonly RENDERBUFFER: GLenum;\n    readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n    readonly RENDERBUFFER_BINDING: GLenum;\n    readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n    readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n    readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n    readonly RENDERBUFFER_HEIGHT: GLenum;\n    readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n    readonly RENDERBUFFER_RED_SIZE: GLenum;\n    readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n    readonly RENDERBUFFER_WIDTH: GLenum;\n    readonly RENDERER: GLenum;\n    readonly REPEAT: GLenum;\n    readonly REPLACE: GLenum;\n    readonly RGB: GLenum;\n    readonly RGB565: GLenum;\n    readonly RGB5_A1: GLenum;\n    readonly RGBA: GLenum;\n    readonly RGBA4: GLenum;\n    readonly SAMPLER_2D: GLenum;\n    readonly SAMPLER_CUBE: GLenum;\n    readonly SAMPLES: GLenum;\n    readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n    readonly SAMPLE_BUFFERS: GLenum;\n    readonly SAMPLE_COVERAGE: GLenum;\n    readonly SAMPLE_COVERAGE_INVERT: GLenum;\n    readonly SAMPLE_COVERAGE_VALUE: GLenum;\n    readonly SCISSOR_BOX: GLenum;\n    readonly SCISSOR_TEST: GLenum;\n    readonly SHADER_TYPE: GLenum;\n    readonly SHADING_LANGUAGE_VERSION: GLenum;\n    readonly SHORT: GLenum;\n    readonly SRC_ALPHA: GLenum;\n    readonly SRC_ALPHA_SATURATE: GLenum;\n    readonly SRC_COLOR: GLenum;\n    readonly STATIC_DRAW: GLenum;\n    readonly STENCIL_ATTACHMENT: GLenum;\n    readonly STENCIL_BACK_FAIL: GLenum;\n    readonly STENCIL_BACK_FUNC: GLenum;\n    readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n    readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n    readonly STENCIL_BACK_REF: GLenum;\n    readonly STENCIL_BACK_VALUE_MASK: GLenum;\n    readonly STENCIL_BACK_WRITEMASK: GLenum;\n    readonly STENCIL_BITS: GLenum;\n    readonly STENCIL_BUFFER_BIT: GLenum;\n    readonly STENCIL_CLEAR_VALUE: GLenum;\n    readonly STENCIL_FAIL: GLenum;\n    readonly STENCIL_FUNC: GLenum;\n    readonly STENCIL_INDEX8: GLenum;\n    readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n    readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n    readonly STENCIL_REF: GLenum;\n    readonly STENCIL_TEST: GLenum;\n    readonly STENCIL_VALUE_MASK: GLenum;\n    readonly STENCIL_WRITEMASK: GLenum;\n    readonly STREAM_DRAW: GLenum;\n    readonly SUBPIXEL_BITS: GLenum;\n    readonly TEXTURE: GLenum;\n    readonly TEXTURE0: GLenum;\n    readonly TEXTURE1: GLenum;\n    readonly TEXTURE10: GLenum;\n    readonly TEXTURE11: GLenum;\n    readonly TEXTURE12: GLenum;\n    readonly TEXTURE13: GLenum;\n    readonly TEXTURE14: GLenum;\n    readonly TEXTURE15: GLenum;\n    readonly TEXTURE16: GLenum;\n    readonly TEXTURE17: GLenum;\n    readonly TEXTURE18: GLenum;\n    readonly TEXTURE19: GLenum;\n    readonly TEXTURE2: GLenum;\n    readonly TEXTURE20: GLenum;\n    readonly TEXTURE21: GLenum;\n    readonly TEXTURE22: GLenum;\n    readonly TEXTURE23: GLenum;\n    readonly TEXTURE24: GLenum;\n    readonly TEXTURE25: GLenum;\n    readonly TEXTURE26: GLenum;\n    readonly TEXTURE27: GLenum;\n    readonly TEXTURE28: GLenum;\n    readonly TEXTURE29: GLenum;\n    readonly TEXTURE3: GLenum;\n    readonly TEXTURE30: GLenum;\n    readonly TEXTURE31: GLenum;\n    readonly TEXTURE4: GLenum;\n    readonly TEXTURE5: GLenum;\n    readonly TEXTURE6: GLenum;\n    readonly TEXTURE7: GLenum;\n    readonly TEXTURE8: GLenum;\n    readonly TEXTURE9: GLenum;\n    readonly TEXTURE_2D: GLenum;\n    readonly TEXTURE_BINDING_2D: GLenum;\n    readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n    readonly TEXTURE_CUBE_MAP: GLenum;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n    readonly TEXTURE_MAG_FILTER: GLenum;\n    readonly TEXTURE_MIN_FILTER: GLenum;\n    readonly TEXTURE_WRAP_S: GLenum;\n    readonly TEXTURE_WRAP_T: GLenum;\n    readonly TRIANGLES: GLenum;\n    readonly TRIANGLE_FAN: GLenum;\n    readonly TRIANGLE_STRIP: GLenum;\n    readonly UNPACK_ALIGNMENT: GLenum;\n    readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n    readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n    readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n    readonly UNSIGNED_BYTE: GLenum;\n    readonly UNSIGNED_INT: GLenum;\n    readonly UNSIGNED_SHORT: GLenum;\n    readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n    readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n    readonly UNSIGNED_SHORT_5_6_5: GLenum;\n    readonly VALIDATE_STATUS: GLenum;\n    readonly VENDOR: GLenum;\n    readonly VERSION: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n    readonly VERTEX_SHADER: GLenum;\n    readonly VIEWPORT: GLenum;\n    readonly ZERO: GLenum;\n};\n\ninterface WebGLRenderingContextBase {\n    readonly canvas: HTMLCanvasElement;\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: \"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_texture_filter_anisotropic\"): EXT_texture_filter_anisotropic | null;\n    getExtension(extensionName: \"EXT_frag_depth\"): EXT_frag_depth | null;\n    getExtension(extensionName: \"EXT_shader_texture_lod\"): EXT_shader_texture_lod | null;\n    getExtension(extensionName: \"EXT_sRGB\"): EXT_sRGB | null;\n    getExtension(extensionName: \"KHR_parallel_shader_compile\"): KHR_parallel_shader_compile | 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_pvrtc\"): WEBGL_compressed_texture_pvrtc | null;\n    getExtension(extensionName: \"WEBGL_compressed_texture_s3tc_srgb\"): WEBGL_compressed_texture_s3tc_srgb | null;\n    getExtension(extensionName: \"WEBGL_debug_shaders\"): WEBGL_debug_shaders | 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_depth_texture\"): WEBGL_depth_texture | null;\n    getExtension(extensionName: \"WEBGL_debug_renderer_info\"): WEBGL_debug_renderer_info | null;\n    getExtension(extensionName: \"WEBGL_compressed_texture_s3tc\"): WEBGL_compressed_texture_s3tc | null;\n    getExtension(extensionName: \"OES_texture_half_float_linear\"): OES_texture_half_float_linear | null;\n    getExtension(extensionName: \"OES_texture_half_float\"): OES_texture_half_float | null;\n    getExtension(extensionName: \"OES_texture_float_linear\"): OES_texture_float_linear | null;\n    getExtension(extensionName: \"OES_texture_float\"): OES_texture_float | null;\n    getExtension(extensionName: \"OES_standard_derivatives\"): OES_standard_derivatives | null;\n    getExtension(extensionName: \"OES_element_index_uint\"): OES_element_index_uint | null;\n    getExtension(extensionName: \"ANGLE_instanced_arrays\"): ANGLE_instanced_arrays | 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 ACTIVE_ATTRIBUTES: GLenum;\n    readonly ACTIVE_TEXTURE: GLenum;\n    readonly ACTIVE_UNIFORMS: GLenum;\n    readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n    readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n    readonly ALPHA: GLenum;\n    readonly ALPHA_BITS: GLenum;\n    readonly ALWAYS: GLenum;\n    readonly ARRAY_BUFFER: GLenum;\n    readonly ARRAY_BUFFER_BINDING: GLenum;\n    readonly ATTACHED_SHADERS: GLenum;\n    readonly BACK: GLenum;\n    readonly BLEND: GLenum;\n    readonly BLEND_COLOR: GLenum;\n    readonly BLEND_DST_ALPHA: GLenum;\n    readonly BLEND_DST_RGB: GLenum;\n    readonly BLEND_EQUATION: GLenum;\n    readonly BLEND_EQUATION_ALPHA: GLenum;\n    readonly BLEND_EQUATION_RGB: GLenum;\n    readonly BLEND_SRC_ALPHA: GLenum;\n    readonly BLEND_SRC_RGB: GLenum;\n    readonly BLUE_BITS: GLenum;\n    readonly BOOL: GLenum;\n    readonly BOOL_VEC2: GLenum;\n    readonly BOOL_VEC3: GLenum;\n    readonly BOOL_VEC4: GLenum;\n    readonly BROWSER_DEFAULT_WEBGL: GLenum;\n    readonly BUFFER_SIZE: GLenum;\n    readonly BUFFER_USAGE: GLenum;\n    readonly BYTE: GLenum;\n    readonly CCW: GLenum;\n    readonly CLAMP_TO_EDGE: GLenum;\n    readonly COLOR_ATTACHMENT0: GLenum;\n    readonly COLOR_BUFFER_BIT: GLenum;\n    readonly COLOR_CLEAR_VALUE: GLenum;\n    readonly COLOR_WRITEMASK: GLenum;\n    readonly COMPILE_STATUS: GLenum;\n    readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n    readonly CONSTANT_ALPHA: GLenum;\n    readonly CONSTANT_COLOR: GLenum;\n    readonly CONTEXT_LOST_WEBGL: GLenum;\n    readonly CULL_FACE: GLenum;\n    readonly CULL_FACE_MODE: GLenum;\n    readonly CURRENT_PROGRAM: GLenum;\n    readonly CURRENT_VERTEX_ATTRIB: GLenum;\n    readonly CW: GLenum;\n    readonly DECR: GLenum;\n    readonly DECR_WRAP: GLenum;\n    readonly DELETE_STATUS: GLenum;\n    readonly DEPTH_ATTACHMENT: GLenum;\n    readonly DEPTH_BITS: GLenum;\n    readonly DEPTH_BUFFER_BIT: GLenum;\n    readonly DEPTH_CLEAR_VALUE: GLenum;\n    readonly DEPTH_COMPONENT: GLenum;\n    readonly DEPTH_COMPONENT16: GLenum;\n    readonly DEPTH_FUNC: GLenum;\n    readonly DEPTH_RANGE: GLenum;\n    readonly DEPTH_STENCIL: GLenum;\n    readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n    readonly DEPTH_TEST: GLenum;\n    readonly DEPTH_WRITEMASK: GLenum;\n    readonly DITHER: GLenum;\n    readonly DONT_CARE: GLenum;\n    readonly DST_ALPHA: GLenum;\n    readonly DST_COLOR: GLenum;\n    readonly DYNAMIC_DRAW: GLenum;\n    readonly ELEMENT_ARRAY_BUFFER: GLenum;\n    readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n    readonly EQUAL: GLenum;\n    readonly FASTEST: GLenum;\n    readonly FLOAT: GLenum;\n    readonly FLOAT_MAT2: GLenum;\n    readonly FLOAT_MAT3: GLenum;\n    readonly FLOAT_MAT4: GLenum;\n    readonly FLOAT_VEC2: GLenum;\n    readonly FLOAT_VEC3: GLenum;\n    readonly FLOAT_VEC4: GLenum;\n    readonly FRAGMENT_SHADER: GLenum;\n    readonly FRAMEBUFFER: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n    readonly FRAMEBUFFER_BINDING: GLenum;\n    readonly FRAMEBUFFER_COMPLETE: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n    readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n    readonly FRONT: GLenum;\n    readonly FRONT_AND_BACK: GLenum;\n    readonly FRONT_FACE: GLenum;\n    readonly FUNC_ADD: GLenum;\n    readonly FUNC_REVERSE_SUBTRACT: GLenum;\n    readonly FUNC_SUBTRACT: GLenum;\n    readonly GENERATE_MIPMAP_HINT: GLenum;\n    readonly GEQUAL: GLenum;\n    readonly GREATER: GLenum;\n    readonly GREEN_BITS: GLenum;\n    readonly HIGH_FLOAT: GLenum;\n    readonly HIGH_INT: GLenum;\n    readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n    readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n    readonly INCR: GLenum;\n    readonly INCR_WRAP: GLenum;\n    readonly INT: GLenum;\n    readonly INT_VEC2: GLenum;\n    readonly INT_VEC3: GLenum;\n    readonly INT_VEC4: GLenum;\n    readonly INVALID_ENUM: GLenum;\n    readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n    readonly INVALID_OPERATION: GLenum;\n    readonly INVALID_VALUE: GLenum;\n    readonly INVERT: GLenum;\n    readonly KEEP: GLenum;\n    readonly LEQUAL: GLenum;\n    readonly LESS: GLenum;\n    readonly LINEAR: GLenum;\n    readonly LINEAR_MIPMAP_LINEAR: GLenum;\n    readonly LINEAR_MIPMAP_NEAREST: GLenum;\n    readonly LINES: GLenum;\n    readonly LINE_LOOP: GLenum;\n    readonly LINE_STRIP: GLenum;\n    readonly LINE_WIDTH: GLenum;\n    readonly LINK_STATUS: GLenum;\n    readonly LOW_FLOAT: GLenum;\n    readonly LOW_INT: GLenum;\n    readonly LUMINANCE: GLenum;\n    readonly LUMINANCE_ALPHA: GLenum;\n    readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n    readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n    readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n    readonly MAX_RENDERBUFFER_SIZE: GLenum;\n    readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n    readonly MAX_TEXTURE_SIZE: GLenum;\n    readonly MAX_VARYING_VECTORS: GLenum;\n    readonly MAX_VERTEX_ATTRIBS: GLenum;\n    readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n    readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n    readonly MAX_VIEWPORT_DIMS: GLenum;\n    readonly MEDIUM_FLOAT: GLenum;\n    readonly MEDIUM_INT: GLenum;\n    readonly MIRRORED_REPEAT: GLenum;\n    readonly NEAREST: GLenum;\n    readonly NEAREST_MIPMAP_LINEAR: GLenum;\n    readonly NEAREST_MIPMAP_NEAREST: GLenum;\n    readonly NEVER: GLenum;\n    readonly NICEST: GLenum;\n    readonly NONE: GLenum;\n    readonly NOTEQUAL: GLenum;\n    readonly NO_ERROR: GLenum;\n    readonly ONE: GLenum;\n    readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n    readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n    readonly ONE_MINUS_DST_ALPHA: GLenum;\n    readonly ONE_MINUS_DST_COLOR: GLenum;\n    readonly ONE_MINUS_SRC_ALPHA: GLenum;\n    readonly ONE_MINUS_SRC_COLOR: GLenum;\n    readonly OUT_OF_MEMORY: GLenum;\n    readonly PACK_ALIGNMENT: GLenum;\n    readonly POINTS: GLenum;\n    readonly POLYGON_OFFSET_FACTOR: GLenum;\n    readonly POLYGON_OFFSET_FILL: GLenum;\n    readonly POLYGON_OFFSET_UNITS: GLenum;\n    readonly RED_BITS: GLenum;\n    readonly RENDERBUFFER: GLenum;\n    readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n    readonly RENDERBUFFER_BINDING: GLenum;\n    readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n    readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n    readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n    readonly RENDERBUFFER_HEIGHT: GLenum;\n    readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n    readonly RENDERBUFFER_RED_SIZE: GLenum;\n    readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n    readonly RENDERBUFFER_WIDTH: GLenum;\n    readonly RENDERER: GLenum;\n    readonly REPEAT: GLenum;\n    readonly REPLACE: GLenum;\n    readonly RGB: GLenum;\n    readonly RGB565: GLenum;\n    readonly RGB5_A1: GLenum;\n    readonly RGBA: GLenum;\n    readonly RGBA4: GLenum;\n    readonly SAMPLER_2D: GLenum;\n    readonly SAMPLER_CUBE: GLenum;\n    readonly SAMPLES: GLenum;\n    readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n    readonly SAMPLE_BUFFERS: GLenum;\n    readonly SAMPLE_COVERAGE: GLenum;\n    readonly SAMPLE_COVERAGE_INVERT: GLenum;\n    readonly SAMPLE_COVERAGE_VALUE: GLenum;\n    readonly SCISSOR_BOX: GLenum;\n    readonly SCISSOR_TEST: GLenum;\n    readonly SHADER_TYPE: GLenum;\n    readonly SHADING_LANGUAGE_VERSION: GLenum;\n    readonly SHORT: GLenum;\n    readonly SRC_ALPHA: GLenum;\n    readonly SRC_ALPHA_SATURATE: GLenum;\n    readonly SRC_COLOR: GLenum;\n    readonly STATIC_DRAW: GLenum;\n    readonly STENCIL_ATTACHMENT: GLenum;\n    readonly STENCIL_BACK_FAIL: GLenum;\n    readonly STENCIL_BACK_FUNC: GLenum;\n    readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n    readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n    readonly STENCIL_BACK_REF: GLenum;\n    readonly STENCIL_BACK_VALUE_MASK: GLenum;\n    readonly STENCIL_BACK_WRITEMASK: GLenum;\n    readonly STENCIL_BITS: GLenum;\n    readonly STENCIL_BUFFER_BIT: GLenum;\n    readonly STENCIL_CLEAR_VALUE: GLenum;\n    readonly STENCIL_FAIL: GLenum;\n    readonly STENCIL_FUNC: GLenum;\n    readonly STENCIL_INDEX8: GLenum;\n    readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n    readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n    readonly STENCIL_REF: GLenum;\n    readonly STENCIL_TEST: GLenum;\n    readonly STENCIL_VALUE_MASK: GLenum;\n    readonly STENCIL_WRITEMASK: GLenum;\n    readonly STREAM_DRAW: GLenum;\n    readonly SUBPIXEL_BITS: GLenum;\n    readonly TEXTURE: GLenum;\n    readonly TEXTURE0: GLenum;\n    readonly TEXTURE1: GLenum;\n    readonly TEXTURE10: GLenum;\n    readonly TEXTURE11: GLenum;\n    readonly TEXTURE12: GLenum;\n    readonly TEXTURE13: GLenum;\n    readonly TEXTURE14: GLenum;\n    readonly TEXTURE15: GLenum;\n    readonly TEXTURE16: GLenum;\n    readonly TEXTURE17: GLenum;\n    readonly TEXTURE18: GLenum;\n    readonly TEXTURE19: GLenum;\n    readonly TEXTURE2: GLenum;\n    readonly TEXTURE20: GLenum;\n    readonly TEXTURE21: GLenum;\n    readonly TEXTURE22: GLenum;\n    readonly TEXTURE23: GLenum;\n    readonly TEXTURE24: GLenum;\n    readonly TEXTURE25: GLenum;\n    readonly TEXTURE26: GLenum;\n    readonly TEXTURE27: GLenum;\n    readonly TEXTURE28: GLenum;\n    readonly TEXTURE29: GLenum;\n    readonly TEXTURE3: GLenum;\n    readonly TEXTURE30: GLenum;\n    readonly TEXTURE31: GLenum;\n    readonly TEXTURE4: GLenum;\n    readonly TEXTURE5: GLenum;\n    readonly TEXTURE6: GLenum;\n    readonly TEXTURE7: GLenum;\n    readonly TEXTURE8: GLenum;\n    readonly TEXTURE9: GLenum;\n    readonly TEXTURE_2D: GLenum;\n    readonly TEXTURE_BINDING_2D: GLenum;\n    readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n    readonly TEXTURE_CUBE_MAP: GLenum;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n    readonly TEXTURE_MAG_FILTER: GLenum;\n    readonly TEXTURE_MIN_FILTER: GLenum;\n    readonly TEXTURE_WRAP_S: GLenum;\n    readonly TEXTURE_WRAP_T: GLenum;\n    readonly TRIANGLES: GLenum;\n    readonly TRIANGLE_FAN: GLenum;\n    readonly TRIANGLE_STRIP: GLenum;\n    readonly UNPACK_ALIGNMENT: GLenum;\n    readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n    readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n    readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n    readonly UNSIGNED_BYTE: GLenum;\n    readonly UNSIGNED_INT: GLenum;\n    readonly UNSIGNED_SHORT: GLenum;\n    readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n    readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n    readonly UNSIGNED_SHORT_5_6_5: GLenum;\n    readonly VALIDATE_STATUS: GLenum;\n    readonly VENDOR: GLenum;\n    readonly VERSION: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n    readonly VERTEX_SHADER: GLenum;\n    readonly VIEWPORT: GLenum;\n    readonly ZERO: GLenum;\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 CLOSED: number;\n    readonly CLOSING: number;\n    readonly CONNECTING: number;\n    readonly OPEN: number;\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 CLOSED: number;\n    readonly CLOSING: number;\n    readonly CONNECTING: number;\n    readonly OPEN: number;\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_LINE: number;\n    readonly DOM_DELTA_PAGE: number;\n    readonly DOM_DELTA_PIXEL: number;\n}\n\ndeclare var WheelEvent: {\n    prototype: WheelEvent;\n    new(type: string, eventInitDict?: WheelEventInit): WheelEvent;\n    readonly DOM_DELTA_LINE: number;\n    readonly DOM_DELTA_PAGE: number;\n    readonly DOM_DELTA_PIXEL: number;\n};\n\ninterface WindowEventMap extends GlobalEventHandlersEventMap, WindowEventHandlersEventMap {\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;\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(handle?: number): void;\n    clearTimeout(handle?: number): 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, init?: RequestInit): Promise<Response>;\n    queueMicrotask(callback: VoidFunction): void;\n    setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n    setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\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    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 DONE: number;\n    readonly HEADERS_RECEIVED: number;\n    readonly LOADING: number;\n    readonly OPENED: number;\n    readonly UNSENT: number;\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 DONE: number;\n    readonly HEADERS_RECEIVED: number;\n    readonly LOADING: number;\n    readonly OPENED: number;\n    readonly UNSENT: number;\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: number;\n    readonly ANY_UNORDERED_NODE_TYPE: number;\n    readonly BOOLEAN_TYPE: number;\n    readonly FIRST_ORDERED_NODE_TYPE: number;\n    readonly NUMBER_TYPE: number;\n    readonly ORDERED_NODE_ITERATOR_TYPE: number;\n    readonly ORDERED_NODE_SNAPSHOT_TYPE: number;\n    readonly STRING_TYPE: number;\n    readonly UNORDERED_NODE_ITERATOR_TYPE: number;\n    readonly UNORDERED_NODE_SNAPSHOT_TYPE: number;\n}\n\ndeclare var XPathResult: {\n    prototype: XPathResult;\n    new(): XPathResult;\n    readonly ANY_TYPE: number;\n    readonly ANY_UNORDERED_NODE_TYPE: number;\n    readonly BOOLEAN_TYPE: number;\n    readonly FIRST_ORDERED_NODE_TYPE: number;\n    readonly NUMBER_TYPE: number;\n    readonly ORDERED_NODE_ITERATOR_TYPE: number;\n    readonly ORDERED_NODE_SNAPSHOT_TYPE: number;\n    readonly STRING_TYPE: number;\n    readonly UNORDERED_NODE_ITERATOR_TYPE: number;\n    readonly UNORDERED_NODE_SNAPSHOT_TYPE: number;\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\";\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 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 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    \"dir\": HTMLDirectoryElement;\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    \"font\": HTMLFontElement;\n    \"footer\": HTMLElement;\n    \"form\": HTMLFormElement;\n    \"frame\": HTMLFrameElement;\n    \"frameset\": HTMLFrameSetElement;\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    \"marquee\": HTMLMarqueeElement;\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    \"param\": HTMLParamElement;\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    \"listing\": HTMLPreElement;\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\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;\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;\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;\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 oncuechange: ((this: Window, ev: Event) => 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;\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;\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;\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(handle?: number): void;\ndeclare function clearTimeout(handle?: number): 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, init?: RequestInit): Promise<Response>;\ndeclare function queueMicrotask(callback: VoidFunction): void;\ndeclare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\ndeclare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\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;\ntype ClipboardItemData = Promise<ClipboardItemDataType>;\ntype ClipboardItemDataType = 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 DOMTimeStamp = 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[][] | Record<string, string> | Headers;\ntype IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];\ntype ImageBitmapSource = CanvasImageSource | Blob | ImageData;\ntype InsertPosition = \"beforebegin\" | \"afterbegin\" | \"beforeend\" | \"afterend\";\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 OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null;\ntype OnErrorEventHandler = OnErrorEventHandlerNonNull | null;\ntype PerformanceEntryList = PerformanceEntry[];\ntype ReadableStreamController<T> = ReadableStreamDefaultController<T>;\ntype ReadableStreamDefaultReadResult<T> = ReadableStreamDefaultReadValueResult<T> | ReadableStreamDefaultReadDoneResult;\ntype ReadableStreamReader<T> = ReadableStreamDefaultReader<T>;\ntype RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;\ntype RequestInfo = Request | string;\ntype TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement;\ntype TimerHandler = string | Function;\ntype Transferable = ArrayBuffer | MessagePort | ImageBitmap;\ntype Uint32List = Uint32Array | GLuint[];\ntype UvmEntries = UvmEntry[];\ntype UvmEntry = number[];\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\" | \"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 ConnectionType = \"bluetooth\" | \"cellular\" | \"ethernet\" | \"mixed\" | \"none\" | \"other\" | \"unknown\" | \"wifi\";\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 = \"application\" | \"browser\" | \"monitor\" | \"window\";\ntype DistanceModelType = \"exponential\" | \"inverse\" | \"linear\";\ntype DocumentReadyState = \"complete\" | \"interactive\" | \"loading\";\ntype EndOfStreamError = \"decode\" | \"network\";\ntype EndingType = \"native\" | \"transparent\";\ntype FillMode = \"auto\" | \"backwards\" | \"both\" | \"forwards\" | \"none\";\ntype FontFaceLoadStatus = \"error\" | \"loaded\" | \"loading\" | \"unloaded\";\ntype FontFaceSetLoadStatus = \"loaded\" | \"loading\";\ntype FullscreenNavigationUI = \"auto\" | \"hide\" | \"show\";\ntype GamepadHapticActuatorType = \"vibration\";\ntype GamepadMappingType = \"\" | \"standard\" | \"xr-standard\";\ntype HdrMetadataType = \"smpteSt2086\" | \"smpteSt2094-10\" | \"smpteSt2094-40\";\ntype IDBCursorDirection = \"next\" | \"nextunique\" | \"prev\" | \"prevunique\";\ntype IDBRequestReadyState = \"done\" | \"pending\";\ntype IDBTransactionMode = \"readonly\" | \"readwrite\" | \"versionchange\";\ntype ImageOrientation = \"flipY\" | \"none\";\ntype ImageSmoothingQuality = \"high\" | \"low\" | \"medium\";\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 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 = \"hangup\" | \"nexttrack\" | \"pause\" | \"play\" | \"previoustrack\" | \"seekbackward\" | \"seekforward\" | \"seekto\" | \"skipad\" | \"stop\" | \"togglecamera\" | \"togglemicrophone\";\ntype MediaSessionPlaybackState = \"none\" | \"paused\" | \"playing\";\ntype MediaStreamTrackState = \"ended\" | \"live\";\ntype NavigationType = \"back_forward\" | \"navigate\" | \"prerender\" | \"reload\";\ntype NotificationDirection = \"auto\" | \"ltr\" | \"rtl\";\ntype NotificationPermission = \"default\" | \"denied\" | \"granted\";\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 PushPermissionState = \"denied\" | \"granted\" | \"prompt\";\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 RTCIceCandidateType = \"host\" | \"prflx\" | \"relay\" | \"srflx\";\ntype RTCIceComponent = \"rtcp\" | \"rtp\";\ntype RTCIceConnectionState = \"checking\" | \"closed\" | \"completed\" | \"connected\" | \"disconnected\" | \"failed\" | \"new\";\ntype RTCIceCredentialType = \"password\";\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 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\" | \"csrc\" | \"data-channel\" | \"inbound-rtp\" | \"local-candidate\" | \"media-source\" | \"outbound-rtp\" | \"peer-connection\" | \"remote-candidate\" | \"remote-inbound-rtp\" | \"remote-outbound-rtp\" | \"track\" | \"transport\";\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 VideoFacingModeEnum = \"environment\" | \"left\" | \"right\" | \"user\";\ntype VisibilityState = \"hidden\" | \"visible\";\ntype WebGLPowerPreference = \"default\" | \"high-performance\" | \"low-power\";\ntype WorkerType = \"classic\" | \"module\";\ntype XMLHttpRequestResponseType = \"\" | \"arraybuffer\" | \"blob\" | \"document\" | \"json\" | \"text\";\n`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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 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 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 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): 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 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 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: KeyUsage[]): Promise<CryptoKeyPair>;\n    generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: 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: 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 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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\n\ninterface Map<K, V> {\n    clear(): void;\n    delete(key: K): boolean;\n    forEach(callbackfn: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any): void;\n    get(key: K): V | undefined;\n    has(key: K): boolean;\n    set(key: K, value: V): this;\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    delete(key: K): boolean;\n    get(key: K): V | undefined;\n    has(key: K): boolean;\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    add(value: T): this;\n    clear(): void;\n    delete(value: T): boolean;\n    forEach(callbackfn: (value: T, value2: T, set: Set<T>) => void, thisArg?: any): void;\n    has(value: T): boolean;\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    add(value: T): this;\n    delete(value: T): boolean;\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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: (this: void, 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, 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, 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, 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: (this: void, 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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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 <K, V>(iterable: Iterable<readonly [K, V]>): 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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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<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>): Promise<T extends PromiseLike<infer U> ? U : 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    /**\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<T>;\n}\n\ndeclare var Promise: PromiseConstructor;\n`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\n\ninterface ProxyHandler<T extends object> {\n    apply?(target: T, thisArg: any, argArray: any[]): any;\n    construct?(target: T, argArray: any[], newTarget: Function): object;\n    defineProperty?(target: T, p: string | symbol, attributes: PropertyDescriptor): boolean;\n    deleteProperty?(target: T, p: string | symbol): boolean;\n    get?(target: T, p: string | symbol, receiver: any): any;\n    getOwnPropertyDescriptor?(target: T, p: string | symbol): PropertyDescriptor | undefined;\n    getPrototypeOf?(target: T): object | null;\n    has?(target: T, p: string | symbol): boolean;\n    isExtensible?(target: T): boolean;\n    ownKeys?(target: T): ArrayLike<string | symbol>;\n    preventExtensions?(target: T): boolean;\n    set?(target: T, p: string | symbol, value: any, receiver: any): boolean;\n    setPrototypeOf?(target: T, v: object | null): boolean;\n}\n\ninterface ProxyConstructor {\n    revocable<T extends object>(target: T, handler: ProxyHandler<T>): { proxy: T; revoke: () => void; };\n    new <T extends object>(target: T, handler: ProxyHandler<T>): T;\n}\ndeclare var Proxy: ProxyConstructor;\n`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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(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(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): 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(target: object, propertyKey: PropertyKey, receiver?: 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 target Object that contains the property.\n     * @param propertyKey The property name.\n     */\n    function getOwnPropertyDescriptor(target: object, propertyKey: PropertyKey): PropertyDescriptor | 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(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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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;`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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 own property names are property names 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     * Returns an object whose properties have the value 'true'\n     * when they will be absent when used in a 'with' statement.\n     */\n    [Symbol.unscopables](): {\n        copyWithin: boolean;\n        entries: boolean;\n        fill: boolean;\n        find: boolean;\n        findIndex: boolean;\n        keys: boolean;\n        values: 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     * Replaces first match with string or all matches with RegExp.\n     * @param searchValue A string or RegExp search value.\n     * @param replaceValue A string containing the text to replace for match.\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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}`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\n\n/// <reference lib=\"es2015\" />\n/// <reference lib=\"es2016.array.include\" />`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\n\n/// <reference lib=\"es2016\" />\n/// <reference lib=\"dom\" />\n/// <reference lib=\"webworker.importscripts\" />\n/// <reference lib=\"scripthost\" />\n/// <reference lib=\"dom.iterable\" />`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\n\n/// <reference lib=\"es2017\" />\n/// <reference lib=\"dom\" />\n/// <reference lib=\"webworker.importscripts\" />\n/// <reference lib=\"scripthost\" />\n/// <reference lib=\"dom.iterable\" />`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\n\ndeclare namespace Intl {\n    type DateTimeFormatPartTypes = \"day\" | \"dayPeriod\" | \"era\" | \"hour\" | \"literal\" | \"minute\" | \"month\" | \"second\" | \"timeZoneName\" | \"weekday\" | \"year\";\n\n    interface DateTimeFormatPart {\n        type: DateTimeFormatPartTypes;\n        value: string;\n    }\n\n    interface DateTimeFormat {\n        formatToParts(date?: Date | number): DateTimeFormatPart[];\n    }\n}\n`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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}`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\n\n/// <reference lib=\"es2018\" />\n/// <reference lib=\"dom\" />\n/// <reference lib=\"webworker.importscripts\" />\n/// <reference lib=\"scripthost\" />\n/// <reference lib=\"dom.iterable\" />`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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}`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\n\n/// <reference lib=\"es2019\" />\n/// <reference lib=\"dom\" />\n/// <reference lib=\"webworker.importscripts\" />\n/// <reference lib=\"scripthost\" />\n/// <reference lib=\"dom.iterable\" />\n`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\n\ninterface Symbol {\n    /**\n     * Expose the [[Description]] internal slot of a symbol directly.\n     */\n    readonly description: string | undefined;\n}\n`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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?: string, 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     */\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     */\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     * otherwise a little-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     * otherwise a little-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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\n\n/// <reference lib=\"es2019\" />\n/// <reference lib=\"es2020.bigint\" />\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\n\n/// <reference lib=\"es2020\" />\n/// <reference lib=\"dom\" />\n/// <reference lib=\"webworker.importscripts\" />\n/// <reference lib=\"scripthost\" />\n/// <reference lib=\"dom.iterable\" />\n`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\n\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     * 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     * 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    interface RelativeTimeFormatPart {\n        type: string;\n        value: string;\n        unit?: RelativeTimeFormatUnit;\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\" | undefined;\n        unit?: string | undefined;\n        unitDisplay?: \"short\" | \"long\" | \"narrow\" | undefined;\n    }\n\n    interface ResolvedNumberFormatOptions {\n        compactDisplay?: \"short\" | \"long\";\n        notation?: \"standard\" | \"scientific\" | \"engineering\" | \"compact\";\n        signDisplay?: \"auto\" | \"never\" | \"always\";\n        unit?: string;\n        unitDisplay?: \"short\" | \"long\" | \"narrow\";\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        /** 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, options?: LocaleOptions): Locale;\n    };\n\n     interface DisplayNamesOptions {\n        localeMatcher: RelativeTimeFormatLocaleMatcher;\n        style: RelativeTimeFormatStyle;\n        type: \"language\" | \"region\" | \"script\" | \"currency\";\n        fallback: \"code\" | \"none\";\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;\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(): DisplayNamesOptions;\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?: BCP47LanguageTag | BCP47LanguageTag[], options?: Partial<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: BCP47LanguageTag | BCP47LanguageTag[], options?: {localeMatcher: RelativeTimeFormatLocaleMatcher}): BCP47LanguageTag[];\n    };\n\n}\n`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\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: 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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\n\n/// <reference lib=\"es2021\" />\n/// <reference lib=\"dom\" />\n/// <reference lib=\"webworker.importscripts\" />\n/// <reference lib=\"scripthost\" />\n/// <reference lib=\"dom.iterable\" />\n`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\n\ndeclare namespace Intl {\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?: 0 | 1 | 2 | 3 | undefined;\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?: 0 | 1 | 2 | 3;\n    }\n\n    interface NumberFormat {\n        formatRange(startDate: number | bigint, endDate: number | bigint): string;\n        formatRangeToParts(startDate: number | bigint, endDate: number | bigint): NumberFormatPart[];\n    }\n}`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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 encoded 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 encoded 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    [s: string]: 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 a Object on which to lock the attributes.\n     */\n    freeze<T>(a: T[]): readonly 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>(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: any[]) => 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 to search for.\n     * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.\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    /** Gets the time value in milliseconds. */\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    new(year: number, month: 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 month 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, month: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): number;\n    now(): number;\n}\n\ndeclare var Date: DateConstructor;\n\ninterface RegExpMatchArray extends Array<string> {\n    index?: number;\n    input?: string;\n}\n\ninterface RegExpExecArray extends Array<string> {\n    index: number;\n    input: 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 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\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): any } ? // \\`await\\` only unwraps object types with a callable \\`then\\`. Non-object types are not unwrapped\n            F extends ((value: infer V, ...args: any) => 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 extends null | undefined ? never : 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     */\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     */\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     */\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     */\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     */\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     */\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     * otherwise a little-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     * otherwise a little-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     * otherwise a little-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     * otherwise a little-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     * otherwise a little-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     * otherwise a little-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        currencyDisplay?: 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        currencyDisplay?: 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    };\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?: \"long\" | \"short\" | 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    };\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\n\n/// <reference lib=\"es2015\" />\n/// <reference lib=\"dom\" />\n/// <reference lib=\"dom.iterable\" />\n/// <reference lib=\"webworker.importscripts\" />\n/// <reference lib=\"scripthost\" />\n`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\n\n/// <reference lib=\"es2021\" />\n/// <reference lib=\"esnext.intl\" />\n`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\n\n/// <reference lib=\"esnext\" />\n/// <reference lib=\"dom\" />\n/// <reference lib=\"webworker.importscripts\" />\n/// <reference lib=\"scripthost\" />\n/// <reference lib=\"dom.iterable\" />`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\n\ndeclare namespace Intl {\n   // Empty for now\n}\n`,Oi[\"lib.esnext.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\n/// <reference no-default-lib=\"true\"/>\n\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>(values: (T | PromiseLike<T>)[] | Iterable<T | PromiseLike<T>>): Promise<T>\n}\n`,Oi[\"lib.esnext.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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"lib.esnext.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\n/// <reference no-default-lib=\"true\"/>\n\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 {\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: any, 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;\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(cleanupCallback: (heldValue: any) => void): FinalizationRegistry;\n}\n\ndeclare var FinalizationRegistry: FinalizationRegistryConstructor;\n`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\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 FontFaceDescriptors {\n    display?: string;\n    featureSettings?: 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 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 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 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 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?: DOMTimeStamp;\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?: DOMTimeStamp | 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 ReadableStreamDefaultReadDoneResult {\n    done: true;\n    value?: undefined;\n}\n\ninterface ReadableStreamDefaultReadValueResult<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?: any[];\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 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    cancel?: UnderlyingSourceCancelCallback;\n    pull?: UnderlyingSourcePullCallback<R>;\n    start?: UnderlyingSourceStartCallback<R>;\n    type?: undefined;\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: GLenum;\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(): 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    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(): AbortSignal; - To be re-added in the future\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;\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): Promise<void>;\n    addAll(requests: RequestInfo[]): Promise<void>;\n    delete(request: RequestInfo, options?: CacheQueryOptions): Promise<boolean>;\n    keys(request?: RequestInfo, options?: CacheQueryOptions): Promise<ReadonlyArray<Request>>;\n    match(request: RequestInfo, options?: CacheQueryOptions): Promise<Response | undefined>;\n    matchAll(request?: RequestInfo, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;\n    put(request: RequestInfo, 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, options?: MultiCacheQueryOptions): Promise<Response | undefined>;\n    open(cacheName: string): Promise<Cache>;\n}\n\ndeclare var CacheStorage: {\n    prototype: CacheStorage;\n    new(): CacheStorage;\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 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}\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\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}\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    readonly code: number;\n    readonly message: string;\n    readonly name: string;\n    readonly ABORT_ERR: number;\n    readonly DATA_CLONE_ERR: number;\n    readonly DOMSTRING_SIZE_ERR: number;\n    readonly HIERARCHY_REQUEST_ERR: number;\n    readonly INDEX_SIZE_ERR: number;\n    readonly INUSE_ATTRIBUTE_ERR: number;\n    readonly INVALID_ACCESS_ERR: number;\n    readonly INVALID_CHARACTER_ERR: number;\n    readonly INVALID_MODIFICATION_ERR: number;\n    readonly INVALID_NODE_TYPE_ERR: number;\n    readonly INVALID_STATE_ERR: number;\n    readonly NAMESPACE_ERR: number;\n    readonly NETWORK_ERR: number;\n    readonly NOT_FOUND_ERR: number;\n    readonly NOT_SUPPORTED_ERR: number;\n    readonly NO_DATA_ALLOWED_ERR: number;\n    readonly NO_MODIFICATION_ALLOWED_ERR: number;\n    readonly QUOTA_EXCEEDED_ERR: number;\n    readonly SECURITY_ERR: number;\n    readonly SYNTAX_ERR: number;\n    readonly TIMEOUT_ERR: number;\n    readonly TYPE_MISMATCH_ERR: number;\n    readonly URL_MISMATCH_ERR: number;\n    readonly VALIDATION_ERR: number;\n    readonly WRONG_DOCUMENT_ERR: number;\n}\n\ndeclare var DOMException: {\n    prototype: DOMException;\n    new(message?: string, name?: string): DOMException;\n    readonly ABORT_ERR: number;\n    readonly DATA_CLONE_ERR: number;\n    readonly DOMSTRING_SIZE_ERR: number;\n    readonly HIERARCHY_REQUEST_ERR: number;\n    readonly INDEX_SIZE_ERR: number;\n    readonly INUSE_ATTRIBUTE_ERR: number;\n    readonly INVALID_ACCESS_ERR: number;\n    readonly INVALID_CHARACTER_ERR: number;\n    readonly INVALID_MODIFICATION_ERR: number;\n    readonly INVALID_NODE_TYPE_ERR: number;\n    readonly INVALID_STATE_ERR: number;\n    readonly NAMESPACE_ERR: number;\n    readonly NETWORK_ERR: number;\n    readonly NOT_FOUND_ERR: number;\n    readonly NOT_SUPPORTED_ERR: number;\n    readonly NO_DATA_ALLOWED_ERR: number;\n    readonly NO_MODIFICATION_ALLOWED_ERR: number;\n    readonly QUOTA_EXCEEDED_ERR: number;\n    readonly SECURITY_ERR: number;\n    readonly SYNTAX_ERR: number;\n    readonly TIMEOUT_ERR: number;\n    readonly TYPE_MISMATCH_ERR: number;\n    readonly URL_MISMATCH_ERR: number;\n    readonly VALIDATION_ERR: number;\n    readonly WRONG_DOCUMENT_ERR: number;\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 MAX_EXT: GLenum;\n    readonly MIN_EXT: GLenum;\n}\n\ninterface EXT_color_buffer_float {\n}\n\ninterface EXT_color_buffer_half_float {\n    readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: GLenum;\n    readonly RGB16F_EXT: GLenum;\n    readonly RGBA16F_EXT: GLenum;\n    readonly UNSIGNED_NORMALIZED_EXT: GLenum;\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 FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: GLenum;\n    readonly SRGB8_ALPHA8_EXT: GLenum;\n    readonly SRGB_ALPHA_EXT: GLenum;\n    readonly SRGB_EXT: GLenum;\n}\n\ninterface EXT_shader_texture_lod {\n}\n\ninterface EXT_texture_compression_rgtc {\n    readonly COMPRESSED_RED_GREEN_RGTC2_EXT: GLenum;\n    readonly COMPRESSED_RED_RGTC1_EXT: GLenum;\n    readonly COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT: GLenum;\n    readonly COMPRESSED_SIGNED_RED_RGTC1_EXT: GLenum;\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 MAX_TEXTURE_MAX_ANISOTROPY_EXT: GLenum;\n    readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum;\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    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 AT_TARGET: number;\n    readonly BUBBLING_PHASE: number;\n    readonly CAPTURING_PHASE: number;\n    readonly NONE: number;\n}\n\ndeclare var Event: {\n    prototype: Event;\n    new(type: string, eventInitDict?: EventInit): Event;\n    readonly AT_TARGET: number;\n    readonly BUBBLING_PHASE: number;\n    readonly CAPTURING_PHASE: number;\n    readonly NONE: number;\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 CLOSED: number;\n    readonly CONNECTING: number;\n    readonly OPEN: number;\n    addEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => 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: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var EventSource: {\n    prototype: EventSource;\n    new(url: string | URL, eventSourceInitDict?: EventSourceInit): EventSource;\n    readonly CLOSED: number;\n    readonly CONNECTING: number;\n    readonly OPEN: number;\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: 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 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: number;\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 DONE: number;\n    readonly EMPTY: number;\n    readonly LOADING: number;\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 DONE: number;\n    readonly EMPTY: number;\n    readonly LOADING: number;\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\ninterface FontFace {\n    ascentOverride: string;\n    descentOverride: string;\n    display: string;\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    variationSettings: 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): 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\": Event;\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: Event) => 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    /** 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    /** 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: GLenum;\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\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\ninterface NavigatorNetworkInformation {\n    readonly connection: NetworkInformation;\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 NetworkInformation extends EventTarget {\n    readonly type: ConnectionType;\n}\n\ndeclare var NetworkInformation: {\n    prototype: NetworkInformation;\n    new(): NetworkInformation;\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\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: GLenum;\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: GLenum;\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: GLenum;\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_BASE_VIEW_INDEX_OVR: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR: GLenum;\n    readonly MAX_VIEWS_OVR: GLenum;\n}\n\n/** @deprecated this is not available in most browsers */\ninterface OffscreenCanvas extends EventTarget {\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    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<PushPermissionState>;\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 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}\n\ndeclare var PushSubscriptionOptions: {\n    prototype: PushSubscriptionOptions;\n    new(): PushSubscriptionOptions;\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(): ReadableStreamDefaultReader<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<R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;\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<ReadableStreamDefaultReadResult<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, 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}\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    readonly registration: ServiceWorkerRegistration;\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    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    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<any>;\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<any>;\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: KeyUsage[]): Promise<CryptoKeyPair>;\n    generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: 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: 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 WEBGL_color_buffer_float {\n    readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: GLenum;\n    readonly RGBA32F_EXT: GLenum;\n    readonly UNSIGNED_NORMALIZED_EXT: GLenum;\n}\n\ninterface WEBGL_compressed_texture_astc {\n    getSupportedProfiles(): string[];\n    readonly COMPRESSED_RGBA_ASTC_10x10_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_10x5_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_10x6_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_10x8_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_12x10_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_12x12_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_4x4_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_5x4_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_5x5_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_6x5_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_6x6_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_8x5_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_8x6_KHR: GLenum;\n    readonly COMPRESSED_RGBA_ASTC_8x8_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: GLenum;\n}\n\ninterface WEBGL_compressed_texture_etc {\n    readonly COMPRESSED_R11_EAC: GLenum;\n    readonly COMPRESSED_RG11_EAC: GLenum;\n    readonly COMPRESSED_RGB8_ETC2: GLenum;\n    readonly COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2: GLenum;\n    readonly COMPRESSED_RGBA8_ETC2_EAC: GLenum;\n    readonly COMPRESSED_SIGNED_R11_EAC: GLenum;\n    readonly COMPRESSED_SIGNED_RG11_EAC: GLenum;\n    readonly COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: GLenum;\n    readonly COMPRESSED_SRGB8_ETC2: GLenum;\n    readonly COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: GLenum;\n}\n\ninterface WEBGL_compressed_texture_etc1 {\n    readonly COMPRESSED_RGB_ETC1_WEBGL: GLenum;\n}\n\ninterface WEBGL_compressed_texture_pvrtc {\n    readonly COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: GLenum;\n    readonly COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: GLenum;\n    readonly COMPRESSED_RGB_PVRTC_2BPPV1_IMG: GLenum;\n    readonly COMPRESSED_RGB_PVRTC_4BPPV1_IMG: GLenum;\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_RGBA_S3TC_DXT1_EXT: GLenum;\n    readonly COMPRESSED_RGBA_S3TC_DXT3_EXT: GLenum;\n    readonly COMPRESSED_RGBA_S3TC_DXT5_EXT: GLenum;\n    readonly COMPRESSED_RGB_S3TC_DXT1_EXT: GLenum;\n}\n\ninterface WEBGL_compressed_texture_s3tc_srgb {\n    readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: GLenum;\n    readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: GLenum;\n    readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: GLenum;\n    readonly COMPRESSED_SRGB_S3TC_DXT1_EXT: GLenum;\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_RENDERER_WEBGL: GLenum;\n    readonly UNMASKED_VENDOR_WEBGL: GLenum;\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: GLenum;\n}\n\ninterface WEBGL_draw_buffers {\n    drawBuffersWEBGL(buffers: GLenum[]): void;\n    readonly COLOR_ATTACHMENT0_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT10_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT11_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT12_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT13_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT14_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT15_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT1_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT2_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT3_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT4_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT5_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT6_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT7_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT8_WEBGL: GLenum;\n    readonly COLOR_ATTACHMENT9_WEBGL: GLenum;\n    readonly DRAW_BUFFER0_WEBGL: GLenum;\n    readonly DRAW_BUFFER10_WEBGL: GLenum;\n    readonly DRAW_BUFFER11_WEBGL: GLenum;\n    readonly DRAW_BUFFER12_WEBGL: GLenum;\n    readonly DRAW_BUFFER13_WEBGL: GLenum;\n    readonly DRAW_BUFFER14_WEBGL: GLenum;\n    readonly DRAW_BUFFER15_WEBGL: GLenum;\n    readonly DRAW_BUFFER1_WEBGL: GLenum;\n    readonly DRAW_BUFFER2_WEBGL: GLenum;\n    readonly DRAW_BUFFER3_WEBGL: GLenum;\n    readonly DRAW_BUFFER4_WEBGL: GLenum;\n    readonly DRAW_BUFFER5_WEBGL: GLenum;\n    readonly DRAW_BUFFER6_WEBGL: GLenum;\n    readonly DRAW_BUFFER7_WEBGL: GLenum;\n    readonly DRAW_BUFFER8_WEBGL: GLenum;\n    readonly DRAW_BUFFER9_WEBGL: GLenum;\n    readonly MAX_COLOR_ATTACHMENTS_WEBGL: GLenum;\n    readonly MAX_DRAW_BUFFERS_WEBGL: GLenum;\n}\n\ninterface WEBGL_lose_context {\n    loseContext(): void;\n    restoreContext(): void;\n}\n\ninterface WebGL2RenderingContext extends WebGL2RenderingContextBase, WebGL2RenderingContextOverloads, WebGLRenderingContextBase {\n}\n\ndeclare var WebGL2RenderingContext: {\n    prototype: WebGL2RenderingContext;\n    new(): WebGL2RenderingContext;\n    readonly ACTIVE_UNIFORM_BLOCKS: GLenum;\n    readonly ALREADY_SIGNALED: GLenum;\n    readonly ANY_SAMPLES_PASSED: GLenum;\n    readonly ANY_SAMPLES_PASSED_CONSERVATIVE: GLenum;\n    readonly COLOR: GLenum;\n    readonly COLOR_ATTACHMENT1: GLenum;\n    readonly COLOR_ATTACHMENT10: GLenum;\n    readonly COLOR_ATTACHMENT11: GLenum;\n    readonly COLOR_ATTACHMENT12: GLenum;\n    readonly COLOR_ATTACHMENT13: GLenum;\n    readonly COLOR_ATTACHMENT14: GLenum;\n    readonly COLOR_ATTACHMENT15: GLenum;\n    readonly COLOR_ATTACHMENT2: GLenum;\n    readonly COLOR_ATTACHMENT3: GLenum;\n    readonly COLOR_ATTACHMENT4: GLenum;\n    readonly COLOR_ATTACHMENT5: GLenum;\n    readonly COLOR_ATTACHMENT6: GLenum;\n    readonly COLOR_ATTACHMENT7: GLenum;\n    readonly COLOR_ATTACHMENT8: GLenum;\n    readonly COLOR_ATTACHMENT9: GLenum;\n    readonly COMPARE_REF_TO_TEXTURE: GLenum;\n    readonly CONDITION_SATISFIED: GLenum;\n    readonly COPY_READ_BUFFER: GLenum;\n    readonly COPY_READ_BUFFER_BINDING: GLenum;\n    readonly COPY_WRITE_BUFFER: GLenum;\n    readonly COPY_WRITE_BUFFER_BINDING: GLenum;\n    readonly CURRENT_QUERY: GLenum;\n    readonly DEPTH: GLenum;\n    readonly DEPTH24_STENCIL8: GLenum;\n    readonly DEPTH32F_STENCIL8: GLenum;\n    readonly DEPTH_COMPONENT24: GLenum;\n    readonly DEPTH_COMPONENT32F: GLenum;\n    readonly DRAW_BUFFER0: GLenum;\n    readonly DRAW_BUFFER1: GLenum;\n    readonly DRAW_BUFFER10: GLenum;\n    readonly DRAW_BUFFER11: GLenum;\n    readonly DRAW_BUFFER12: GLenum;\n    readonly DRAW_BUFFER13: GLenum;\n    readonly DRAW_BUFFER14: GLenum;\n    readonly DRAW_BUFFER15: GLenum;\n    readonly DRAW_BUFFER2: GLenum;\n    readonly DRAW_BUFFER3: GLenum;\n    readonly DRAW_BUFFER4: GLenum;\n    readonly DRAW_BUFFER5: GLenum;\n    readonly DRAW_BUFFER6: GLenum;\n    readonly DRAW_BUFFER7: GLenum;\n    readonly DRAW_BUFFER8: GLenum;\n    readonly DRAW_BUFFER9: GLenum;\n    readonly DRAW_FRAMEBUFFER: GLenum;\n    readonly DRAW_FRAMEBUFFER_BINDING: GLenum;\n    readonly DYNAMIC_COPY: GLenum;\n    readonly DYNAMIC_READ: GLenum;\n    readonly FLOAT_32_UNSIGNED_INT_24_8_REV: GLenum;\n    readonly FLOAT_MAT2x3: GLenum;\n    readonly FLOAT_MAT2x4: GLenum;\n    readonly FLOAT_MAT3x2: GLenum;\n    readonly FLOAT_MAT3x4: GLenum;\n    readonly FLOAT_MAT4x2: GLenum;\n    readonly FLOAT_MAT4x3: GLenum;\n    readonly FRAGMENT_SHADER_DERIVATIVE_HINT: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: GLenum;\n    readonly FRAMEBUFFER_DEFAULT: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: GLenum;\n    readonly HALF_FLOAT: GLenum;\n    readonly INTERLEAVED_ATTRIBS: GLenum;\n    readonly INT_2_10_10_10_REV: GLenum;\n    readonly INT_SAMPLER_2D: GLenum;\n    readonly INT_SAMPLER_2D_ARRAY: GLenum;\n    readonly INT_SAMPLER_3D: GLenum;\n    readonly INT_SAMPLER_CUBE: GLenum;\n    readonly INVALID_INDEX: GLenum;\n    readonly MAX: GLenum;\n    readonly MAX_3D_TEXTURE_SIZE: GLenum;\n    readonly MAX_ARRAY_TEXTURE_LAYERS: GLenum;\n    readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: GLenum;\n    readonly MAX_COLOR_ATTACHMENTS: GLenum;\n    readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n    readonly MAX_COMBINED_UNIFORM_BLOCKS: GLenum;\n    readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: GLenum;\n    readonly MAX_DRAW_BUFFERS: GLenum;\n    readonly MAX_ELEMENTS_INDICES: GLenum;\n    readonly MAX_ELEMENTS_VERTICES: GLenum;\n    readonly MAX_ELEMENT_INDEX: GLenum;\n    readonly MAX_FRAGMENT_INPUT_COMPONENTS: GLenum;\n    readonly MAX_FRAGMENT_UNIFORM_BLOCKS: GLenum;\n    readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n    readonly MAX_PROGRAM_TEXEL_OFFSET: GLenum;\n    readonly MAX_SAMPLES: GLenum;\n    readonly MAX_SERVER_WAIT_TIMEOUT: GLenum;\n    readonly MAX_TEXTURE_LOD_BIAS: GLenum;\n    readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: GLenum;\n    readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: GLenum;\n    readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: GLenum;\n    readonly MAX_UNIFORM_BLOCK_SIZE: GLenum;\n    readonly MAX_UNIFORM_BUFFER_BINDINGS: GLenum;\n    readonly MAX_VARYING_COMPONENTS: GLenum;\n    readonly MAX_VERTEX_OUTPUT_COMPONENTS: GLenum;\n    readonly MAX_VERTEX_UNIFORM_BLOCKS: GLenum;\n    readonly MAX_VERTEX_UNIFORM_COMPONENTS: GLenum;\n    readonly MIN: GLenum;\n    readonly MIN_PROGRAM_TEXEL_OFFSET: GLenum;\n    readonly OBJECT_TYPE: GLenum;\n    readonly PACK_ROW_LENGTH: GLenum;\n    readonly PACK_SKIP_PIXELS: GLenum;\n    readonly PACK_SKIP_ROWS: GLenum;\n    readonly PIXEL_PACK_BUFFER: GLenum;\n    readonly PIXEL_PACK_BUFFER_BINDING: GLenum;\n    readonly PIXEL_UNPACK_BUFFER: GLenum;\n    readonly PIXEL_UNPACK_BUFFER_BINDING: GLenum;\n    readonly QUERY_RESULT: GLenum;\n    readonly QUERY_RESULT_AVAILABLE: GLenum;\n    readonly R11F_G11F_B10F: GLenum;\n    readonly R16F: GLenum;\n    readonly R16I: GLenum;\n    readonly R16UI: GLenum;\n    readonly R32F: GLenum;\n    readonly R32I: GLenum;\n    readonly R32UI: GLenum;\n    readonly R8: GLenum;\n    readonly R8I: GLenum;\n    readonly R8UI: GLenum;\n    readonly R8_SNORM: GLenum;\n    readonly RASTERIZER_DISCARD: GLenum;\n    readonly READ_BUFFER: GLenum;\n    readonly READ_FRAMEBUFFER: GLenum;\n    readonly READ_FRAMEBUFFER_BINDING: GLenum;\n    readonly RED: GLenum;\n    readonly RED_INTEGER: GLenum;\n    readonly RENDERBUFFER_SAMPLES: GLenum;\n    readonly RG: GLenum;\n    readonly RG16F: GLenum;\n    readonly RG16I: GLenum;\n    readonly RG16UI: GLenum;\n    readonly RG32F: GLenum;\n    readonly RG32I: GLenum;\n    readonly RG32UI: GLenum;\n    readonly RG8: GLenum;\n    readonly RG8I: GLenum;\n    readonly RG8UI: GLenum;\n    readonly RG8_SNORM: GLenum;\n    readonly RGB10_A2: GLenum;\n    readonly RGB10_A2UI: GLenum;\n    readonly RGB16F: GLenum;\n    readonly RGB16I: GLenum;\n    readonly RGB16UI: GLenum;\n    readonly RGB32F: GLenum;\n    readonly RGB32I: GLenum;\n    readonly RGB32UI: GLenum;\n    readonly RGB8: GLenum;\n    readonly RGB8I: GLenum;\n    readonly RGB8UI: GLenum;\n    readonly RGB8_SNORM: GLenum;\n    readonly RGB9_E5: GLenum;\n    readonly RGBA16F: GLenum;\n    readonly RGBA16I: GLenum;\n    readonly RGBA16UI: GLenum;\n    readonly RGBA32F: GLenum;\n    readonly RGBA32I: GLenum;\n    readonly RGBA32UI: GLenum;\n    readonly RGBA8: GLenum;\n    readonly RGBA8I: GLenum;\n    readonly RGBA8UI: GLenum;\n    readonly RGBA8_SNORM: GLenum;\n    readonly RGBA_INTEGER: GLenum;\n    readonly RGB_INTEGER: GLenum;\n    readonly RG_INTEGER: GLenum;\n    readonly SAMPLER_2D_ARRAY: GLenum;\n    readonly SAMPLER_2D_ARRAY_SHADOW: GLenum;\n    readonly SAMPLER_2D_SHADOW: GLenum;\n    readonly SAMPLER_3D: GLenum;\n    readonly SAMPLER_BINDING: GLenum;\n    readonly SAMPLER_CUBE_SHADOW: GLenum;\n    readonly SEPARATE_ATTRIBS: GLenum;\n    readonly SIGNALED: GLenum;\n    readonly SIGNED_NORMALIZED: GLenum;\n    readonly SRGB: GLenum;\n    readonly SRGB8: GLenum;\n    readonly SRGB8_ALPHA8: GLenum;\n    readonly STATIC_COPY: GLenum;\n    readonly STATIC_READ: GLenum;\n    readonly STENCIL: GLenum;\n    readonly STREAM_COPY: GLenum;\n    readonly STREAM_READ: GLenum;\n    readonly SYNC_CONDITION: GLenum;\n    readonly SYNC_FENCE: GLenum;\n    readonly SYNC_FLAGS: GLenum;\n    readonly SYNC_FLUSH_COMMANDS_BIT: GLenum;\n    readonly SYNC_GPU_COMMANDS_COMPLETE: GLenum;\n    readonly SYNC_STATUS: GLenum;\n    readonly TEXTURE_2D_ARRAY: GLenum;\n    readonly TEXTURE_3D: GLenum;\n    readonly TEXTURE_BASE_LEVEL: GLenum;\n    readonly TEXTURE_BINDING_2D_ARRAY: GLenum;\n    readonly TEXTURE_BINDING_3D: GLenum;\n    readonly TEXTURE_COMPARE_FUNC: GLenum;\n    readonly TEXTURE_COMPARE_MODE: GLenum;\n    readonly TEXTURE_IMMUTABLE_FORMAT: GLenum;\n    readonly TEXTURE_IMMUTABLE_LEVELS: GLenum;\n    readonly TEXTURE_MAX_LEVEL: GLenum;\n    readonly TEXTURE_MAX_LOD: GLenum;\n    readonly TEXTURE_MIN_LOD: GLenum;\n    readonly TEXTURE_WRAP_R: GLenum;\n    readonly TIMEOUT_EXPIRED: GLenum;\n    readonly TIMEOUT_IGNORED: GLint64;\n    readonly TRANSFORM_FEEDBACK: GLenum;\n    readonly TRANSFORM_FEEDBACK_ACTIVE: GLenum;\n    readonly TRANSFORM_FEEDBACK_BINDING: GLenum;\n    readonly TRANSFORM_FEEDBACK_BUFFER: GLenum;\n    readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: GLenum;\n    readonly TRANSFORM_FEEDBACK_BUFFER_MODE: GLenum;\n    readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: GLenum;\n    readonly TRANSFORM_FEEDBACK_BUFFER_START: GLenum;\n    readonly TRANSFORM_FEEDBACK_PAUSED: GLenum;\n    readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: GLenum;\n    readonly TRANSFORM_FEEDBACK_VARYINGS: GLenum;\n    readonly UNIFORM_ARRAY_STRIDE: GLenum;\n    readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: GLenum;\n    readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: GLenum;\n    readonly UNIFORM_BLOCK_BINDING: GLenum;\n    readonly UNIFORM_BLOCK_DATA_SIZE: GLenum;\n    readonly UNIFORM_BLOCK_INDEX: GLenum;\n    readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: GLenum;\n    readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: GLenum;\n    readonly UNIFORM_BUFFER: GLenum;\n    readonly UNIFORM_BUFFER_BINDING: GLenum;\n    readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: GLenum;\n    readonly UNIFORM_BUFFER_SIZE: GLenum;\n    readonly UNIFORM_BUFFER_START: GLenum;\n    readonly UNIFORM_IS_ROW_MAJOR: GLenum;\n    readonly UNIFORM_MATRIX_STRIDE: GLenum;\n    readonly UNIFORM_OFFSET: GLenum;\n    readonly UNIFORM_SIZE: GLenum;\n    readonly UNIFORM_TYPE: GLenum;\n    readonly UNPACK_IMAGE_HEIGHT: GLenum;\n    readonly UNPACK_ROW_LENGTH: GLenum;\n    readonly UNPACK_SKIP_IMAGES: GLenum;\n    readonly UNPACK_SKIP_PIXELS: GLenum;\n    readonly UNPACK_SKIP_ROWS: GLenum;\n    readonly UNSIGNALED: GLenum;\n    readonly UNSIGNED_INT_10F_11F_11F_REV: GLenum;\n    readonly UNSIGNED_INT_24_8: GLenum;\n    readonly UNSIGNED_INT_2_10_10_10_REV: GLenum;\n    readonly UNSIGNED_INT_5_9_9_9_REV: GLenum;\n    readonly UNSIGNED_INT_SAMPLER_2D: GLenum;\n    readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: GLenum;\n    readonly UNSIGNED_INT_SAMPLER_3D: GLenum;\n    readonly UNSIGNED_INT_SAMPLER_CUBE: GLenum;\n    readonly UNSIGNED_INT_VEC2: GLenum;\n    readonly UNSIGNED_INT_VEC3: GLenum;\n    readonly UNSIGNED_INT_VEC4: GLenum;\n    readonly UNSIGNED_NORMALIZED: GLenum;\n    readonly VERTEX_ARRAY_BINDING: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_DIVISOR: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_INTEGER: GLenum;\n    readonly WAIT_FAILED: GLenum;\n    readonly ACTIVE_ATTRIBUTES: GLenum;\n    readonly ACTIVE_TEXTURE: GLenum;\n    readonly ACTIVE_UNIFORMS: GLenum;\n    readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n    readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n    readonly ALPHA: GLenum;\n    readonly ALPHA_BITS: GLenum;\n    readonly ALWAYS: GLenum;\n    readonly ARRAY_BUFFER: GLenum;\n    readonly ARRAY_BUFFER_BINDING: GLenum;\n    readonly ATTACHED_SHADERS: GLenum;\n    readonly BACK: GLenum;\n    readonly BLEND: GLenum;\n    readonly BLEND_COLOR: GLenum;\n    readonly BLEND_DST_ALPHA: GLenum;\n    readonly BLEND_DST_RGB: GLenum;\n    readonly BLEND_EQUATION: GLenum;\n    readonly BLEND_EQUATION_ALPHA: GLenum;\n    readonly BLEND_EQUATION_RGB: GLenum;\n    readonly BLEND_SRC_ALPHA: GLenum;\n    readonly BLEND_SRC_RGB: GLenum;\n    readonly BLUE_BITS: GLenum;\n    readonly BOOL: GLenum;\n    readonly BOOL_VEC2: GLenum;\n    readonly BOOL_VEC3: GLenum;\n    readonly BOOL_VEC4: GLenum;\n    readonly BROWSER_DEFAULT_WEBGL: GLenum;\n    readonly BUFFER_SIZE: GLenum;\n    readonly BUFFER_USAGE: GLenum;\n    readonly BYTE: GLenum;\n    readonly CCW: GLenum;\n    readonly CLAMP_TO_EDGE: GLenum;\n    readonly COLOR_ATTACHMENT0: GLenum;\n    readonly COLOR_BUFFER_BIT: GLenum;\n    readonly COLOR_CLEAR_VALUE: GLenum;\n    readonly COLOR_WRITEMASK: GLenum;\n    readonly COMPILE_STATUS: GLenum;\n    readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n    readonly CONSTANT_ALPHA: GLenum;\n    readonly CONSTANT_COLOR: GLenum;\n    readonly CONTEXT_LOST_WEBGL: GLenum;\n    readonly CULL_FACE: GLenum;\n    readonly CULL_FACE_MODE: GLenum;\n    readonly CURRENT_PROGRAM: GLenum;\n    readonly CURRENT_VERTEX_ATTRIB: GLenum;\n    readonly CW: GLenum;\n    readonly DECR: GLenum;\n    readonly DECR_WRAP: GLenum;\n    readonly DELETE_STATUS: GLenum;\n    readonly DEPTH_ATTACHMENT: GLenum;\n    readonly DEPTH_BITS: GLenum;\n    readonly DEPTH_BUFFER_BIT: GLenum;\n    readonly DEPTH_CLEAR_VALUE: GLenum;\n    readonly DEPTH_COMPONENT: GLenum;\n    readonly DEPTH_COMPONENT16: GLenum;\n    readonly DEPTH_FUNC: GLenum;\n    readonly DEPTH_RANGE: GLenum;\n    readonly DEPTH_STENCIL: GLenum;\n    readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n    readonly DEPTH_TEST: GLenum;\n    readonly DEPTH_WRITEMASK: GLenum;\n    readonly DITHER: GLenum;\n    readonly DONT_CARE: GLenum;\n    readonly DST_ALPHA: GLenum;\n    readonly DST_COLOR: GLenum;\n    readonly DYNAMIC_DRAW: GLenum;\n    readonly ELEMENT_ARRAY_BUFFER: GLenum;\n    readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n    readonly EQUAL: GLenum;\n    readonly FASTEST: GLenum;\n    readonly FLOAT: GLenum;\n    readonly FLOAT_MAT2: GLenum;\n    readonly FLOAT_MAT3: GLenum;\n    readonly FLOAT_MAT4: GLenum;\n    readonly FLOAT_VEC2: GLenum;\n    readonly FLOAT_VEC3: GLenum;\n    readonly FLOAT_VEC4: GLenum;\n    readonly FRAGMENT_SHADER: GLenum;\n    readonly FRAMEBUFFER: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n    readonly FRAMEBUFFER_BINDING: GLenum;\n    readonly FRAMEBUFFER_COMPLETE: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n    readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n    readonly FRONT: GLenum;\n    readonly FRONT_AND_BACK: GLenum;\n    readonly FRONT_FACE: GLenum;\n    readonly FUNC_ADD: GLenum;\n    readonly FUNC_REVERSE_SUBTRACT: GLenum;\n    readonly FUNC_SUBTRACT: GLenum;\n    readonly GENERATE_MIPMAP_HINT: GLenum;\n    readonly GEQUAL: GLenum;\n    readonly GREATER: GLenum;\n    readonly GREEN_BITS: GLenum;\n    readonly HIGH_FLOAT: GLenum;\n    readonly HIGH_INT: GLenum;\n    readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n    readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n    readonly INCR: GLenum;\n    readonly INCR_WRAP: GLenum;\n    readonly INT: GLenum;\n    readonly INT_VEC2: GLenum;\n    readonly INT_VEC3: GLenum;\n    readonly INT_VEC4: GLenum;\n    readonly INVALID_ENUM: GLenum;\n    readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n    readonly INVALID_OPERATION: GLenum;\n    readonly INVALID_VALUE: GLenum;\n    readonly INVERT: GLenum;\n    readonly KEEP: GLenum;\n    readonly LEQUAL: GLenum;\n    readonly LESS: GLenum;\n    readonly LINEAR: GLenum;\n    readonly LINEAR_MIPMAP_LINEAR: GLenum;\n    readonly LINEAR_MIPMAP_NEAREST: GLenum;\n    readonly LINES: GLenum;\n    readonly LINE_LOOP: GLenum;\n    readonly LINE_STRIP: GLenum;\n    readonly LINE_WIDTH: GLenum;\n    readonly LINK_STATUS: GLenum;\n    readonly LOW_FLOAT: GLenum;\n    readonly LOW_INT: GLenum;\n    readonly LUMINANCE: GLenum;\n    readonly LUMINANCE_ALPHA: GLenum;\n    readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n    readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n    readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n    readonly MAX_RENDERBUFFER_SIZE: GLenum;\n    readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n    readonly MAX_TEXTURE_SIZE: GLenum;\n    readonly MAX_VARYING_VECTORS: GLenum;\n    readonly MAX_VERTEX_ATTRIBS: GLenum;\n    readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n    readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n    readonly MAX_VIEWPORT_DIMS: GLenum;\n    readonly MEDIUM_FLOAT: GLenum;\n    readonly MEDIUM_INT: GLenum;\n    readonly MIRRORED_REPEAT: GLenum;\n    readonly NEAREST: GLenum;\n    readonly NEAREST_MIPMAP_LINEAR: GLenum;\n    readonly NEAREST_MIPMAP_NEAREST: GLenum;\n    readonly NEVER: GLenum;\n    readonly NICEST: GLenum;\n    readonly NONE: GLenum;\n    readonly NOTEQUAL: GLenum;\n    readonly NO_ERROR: GLenum;\n    readonly ONE: GLenum;\n    readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n    readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n    readonly ONE_MINUS_DST_ALPHA: GLenum;\n    readonly ONE_MINUS_DST_COLOR: GLenum;\n    readonly ONE_MINUS_SRC_ALPHA: GLenum;\n    readonly ONE_MINUS_SRC_COLOR: GLenum;\n    readonly OUT_OF_MEMORY: GLenum;\n    readonly PACK_ALIGNMENT: GLenum;\n    readonly POINTS: GLenum;\n    readonly POLYGON_OFFSET_FACTOR: GLenum;\n    readonly POLYGON_OFFSET_FILL: GLenum;\n    readonly POLYGON_OFFSET_UNITS: GLenum;\n    readonly RED_BITS: GLenum;\n    readonly RENDERBUFFER: GLenum;\n    readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n    readonly RENDERBUFFER_BINDING: GLenum;\n    readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n    readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n    readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n    readonly RENDERBUFFER_HEIGHT: GLenum;\n    readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n    readonly RENDERBUFFER_RED_SIZE: GLenum;\n    readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n    readonly RENDERBUFFER_WIDTH: GLenum;\n    readonly RENDERER: GLenum;\n    readonly REPEAT: GLenum;\n    readonly REPLACE: GLenum;\n    readonly RGB: GLenum;\n    readonly RGB565: GLenum;\n    readonly RGB5_A1: GLenum;\n    readonly RGBA: GLenum;\n    readonly RGBA4: GLenum;\n    readonly SAMPLER_2D: GLenum;\n    readonly SAMPLER_CUBE: GLenum;\n    readonly SAMPLES: GLenum;\n    readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n    readonly SAMPLE_BUFFERS: GLenum;\n    readonly SAMPLE_COVERAGE: GLenum;\n    readonly SAMPLE_COVERAGE_INVERT: GLenum;\n    readonly SAMPLE_COVERAGE_VALUE: GLenum;\n    readonly SCISSOR_BOX: GLenum;\n    readonly SCISSOR_TEST: GLenum;\n    readonly SHADER_TYPE: GLenum;\n    readonly SHADING_LANGUAGE_VERSION: GLenum;\n    readonly SHORT: GLenum;\n    readonly SRC_ALPHA: GLenum;\n    readonly SRC_ALPHA_SATURATE: GLenum;\n    readonly SRC_COLOR: GLenum;\n    readonly STATIC_DRAW: GLenum;\n    readonly STENCIL_ATTACHMENT: GLenum;\n    readonly STENCIL_BACK_FAIL: GLenum;\n    readonly STENCIL_BACK_FUNC: GLenum;\n    readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n    readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n    readonly STENCIL_BACK_REF: GLenum;\n    readonly STENCIL_BACK_VALUE_MASK: GLenum;\n    readonly STENCIL_BACK_WRITEMASK: GLenum;\n    readonly STENCIL_BITS: GLenum;\n    readonly STENCIL_BUFFER_BIT: GLenum;\n    readonly STENCIL_CLEAR_VALUE: GLenum;\n    readonly STENCIL_FAIL: GLenum;\n    readonly STENCIL_FUNC: GLenum;\n    readonly STENCIL_INDEX8: GLenum;\n    readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n    readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n    readonly STENCIL_REF: GLenum;\n    readonly STENCIL_TEST: GLenum;\n    readonly STENCIL_VALUE_MASK: GLenum;\n    readonly STENCIL_WRITEMASK: GLenum;\n    readonly STREAM_DRAW: GLenum;\n    readonly SUBPIXEL_BITS: GLenum;\n    readonly TEXTURE: GLenum;\n    readonly TEXTURE0: GLenum;\n    readonly TEXTURE1: GLenum;\n    readonly TEXTURE10: GLenum;\n    readonly TEXTURE11: GLenum;\n    readonly TEXTURE12: GLenum;\n    readonly TEXTURE13: GLenum;\n    readonly TEXTURE14: GLenum;\n    readonly TEXTURE15: GLenum;\n    readonly TEXTURE16: GLenum;\n    readonly TEXTURE17: GLenum;\n    readonly TEXTURE18: GLenum;\n    readonly TEXTURE19: GLenum;\n    readonly TEXTURE2: GLenum;\n    readonly TEXTURE20: GLenum;\n    readonly TEXTURE21: GLenum;\n    readonly TEXTURE22: GLenum;\n    readonly TEXTURE23: GLenum;\n    readonly TEXTURE24: GLenum;\n    readonly TEXTURE25: GLenum;\n    readonly TEXTURE26: GLenum;\n    readonly TEXTURE27: GLenum;\n    readonly TEXTURE28: GLenum;\n    readonly TEXTURE29: GLenum;\n    readonly TEXTURE3: GLenum;\n    readonly TEXTURE30: GLenum;\n    readonly TEXTURE31: GLenum;\n    readonly TEXTURE4: GLenum;\n    readonly TEXTURE5: GLenum;\n    readonly TEXTURE6: GLenum;\n    readonly TEXTURE7: GLenum;\n    readonly TEXTURE8: GLenum;\n    readonly TEXTURE9: GLenum;\n    readonly TEXTURE_2D: GLenum;\n    readonly TEXTURE_BINDING_2D: GLenum;\n    readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n    readonly TEXTURE_CUBE_MAP: GLenum;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n    readonly TEXTURE_MAG_FILTER: GLenum;\n    readonly TEXTURE_MIN_FILTER: GLenum;\n    readonly TEXTURE_WRAP_S: GLenum;\n    readonly TEXTURE_WRAP_T: GLenum;\n    readonly TRIANGLES: GLenum;\n    readonly TRIANGLE_FAN: GLenum;\n    readonly TRIANGLE_STRIP: GLenum;\n    readonly UNPACK_ALIGNMENT: GLenum;\n    readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n    readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n    readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n    readonly UNSIGNED_BYTE: GLenum;\n    readonly UNSIGNED_INT: GLenum;\n    readonly UNSIGNED_SHORT: GLenum;\n    readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n    readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n    readonly UNSIGNED_SHORT_5_6_5: GLenum;\n    readonly VALIDATE_STATUS: GLenum;\n    readonly VENDOR: GLenum;\n    readonly VERSION: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n    readonly VERTEX_SHADER: GLenum;\n    readonly VIEWPORT: GLenum;\n    readonly ZERO: GLenum;\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 ACTIVE_UNIFORM_BLOCKS: GLenum;\n    readonly ALREADY_SIGNALED: GLenum;\n    readonly ANY_SAMPLES_PASSED: GLenum;\n    readonly ANY_SAMPLES_PASSED_CONSERVATIVE: GLenum;\n    readonly COLOR: GLenum;\n    readonly COLOR_ATTACHMENT1: GLenum;\n    readonly COLOR_ATTACHMENT10: GLenum;\n    readonly COLOR_ATTACHMENT11: GLenum;\n    readonly COLOR_ATTACHMENT12: GLenum;\n    readonly COLOR_ATTACHMENT13: GLenum;\n    readonly COLOR_ATTACHMENT14: GLenum;\n    readonly COLOR_ATTACHMENT15: GLenum;\n    readonly COLOR_ATTACHMENT2: GLenum;\n    readonly COLOR_ATTACHMENT3: GLenum;\n    readonly COLOR_ATTACHMENT4: GLenum;\n    readonly COLOR_ATTACHMENT5: GLenum;\n    readonly COLOR_ATTACHMENT6: GLenum;\n    readonly COLOR_ATTACHMENT7: GLenum;\n    readonly COLOR_ATTACHMENT8: GLenum;\n    readonly COLOR_ATTACHMENT9: GLenum;\n    readonly COMPARE_REF_TO_TEXTURE: GLenum;\n    readonly CONDITION_SATISFIED: GLenum;\n    readonly COPY_READ_BUFFER: GLenum;\n    readonly COPY_READ_BUFFER_BINDING: GLenum;\n    readonly COPY_WRITE_BUFFER: GLenum;\n    readonly COPY_WRITE_BUFFER_BINDING: GLenum;\n    readonly CURRENT_QUERY: GLenum;\n    readonly DEPTH: GLenum;\n    readonly DEPTH24_STENCIL8: GLenum;\n    readonly DEPTH32F_STENCIL8: GLenum;\n    readonly DEPTH_COMPONENT24: GLenum;\n    readonly DEPTH_COMPONENT32F: GLenum;\n    readonly DRAW_BUFFER0: GLenum;\n    readonly DRAW_BUFFER1: GLenum;\n    readonly DRAW_BUFFER10: GLenum;\n    readonly DRAW_BUFFER11: GLenum;\n    readonly DRAW_BUFFER12: GLenum;\n    readonly DRAW_BUFFER13: GLenum;\n    readonly DRAW_BUFFER14: GLenum;\n    readonly DRAW_BUFFER15: GLenum;\n    readonly DRAW_BUFFER2: GLenum;\n    readonly DRAW_BUFFER3: GLenum;\n    readonly DRAW_BUFFER4: GLenum;\n    readonly DRAW_BUFFER5: GLenum;\n    readonly DRAW_BUFFER6: GLenum;\n    readonly DRAW_BUFFER7: GLenum;\n    readonly DRAW_BUFFER8: GLenum;\n    readonly DRAW_BUFFER9: GLenum;\n    readonly DRAW_FRAMEBUFFER: GLenum;\n    readonly DRAW_FRAMEBUFFER_BINDING: GLenum;\n    readonly DYNAMIC_COPY: GLenum;\n    readonly DYNAMIC_READ: GLenum;\n    readonly FLOAT_32_UNSIGNED_INT_24_8_REV: GLenum;\n    readonly FLOAT_MAT2x3: GLenum;\n    readonly FLOAT_MAT2x4: GLenum;\n    readonly FLOAT_MAT3x2: GLenum;\n    readonly FLOAT_MAT3x4: GLenum;\n    readonly FLOAT_MAT4x2: GLenum;\n    readonly FLOAT_MAT4x3: GLenum;\n    readonly FRAGMENT_SHADER_DERIVATIVE_HINT: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: GLenum;\n    readonly FRAMEBUFFER_DEFAULT: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: GLenum;\n    readonly HALF_FLOAT: GLenum;\n    readonly INTERLEAVED_ATTRIBS: GLenum;\n    readonly INT_2_10_10_10_REV: GLenum;\n    readonly INT_SAMPLER_2D: GLenum;\n    readonly INT_SAMPLER_2D_ARRAY: GLenum;\n    readonly INT_SAMPLER_3D: GLenum;\n    readonly INT_SAMPLER_CUBE: GLenum;\n    readonly INVALID_INDEX: GLenum;\n    readonly MAX: GLenum;\n    readonly MAX_3D_TEXTURE_SIZE: GLenum;\n    readonly MAX_ARRAY_TEXTURE_LAYERS: GLenum;\n    readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: GLenum;\n    readonly MAX_COLOR_ATTACHMENTS: GLenum;\n    readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n    readonly MAX_COMBINED_UNIFORM_BLOCKS: GLenum;\n    readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: GLenum;\n    readonly MAX_DRAW_BUFFERS: GLenum;\n    readonly MAX_ELEMENTS_INDICES: GLenum;\n    readonly MAX_ELEMENTS_VERTICES: GLenum;\n    readonly MAX_ELEMENT_INDEX: GLenum;\n    readonly MAX_FRAGMENT_INPUT_COMPONENTS: GLenum;\n    readonly MAX_FRAGMENT_UNIFORM_BLOCKS: GLenum;\n    readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: GLenum;\n    readonly MAX_PROGRAM_TEXEL_OFFSET: GLenum;\n    readonly MAX_SAMPLES: GLenum;\n    readonly MAX_SERVER_WAIT_TIMEOUT: GLenum;\n    readonly MAX_TEXTURE_LOD_BIAS: GLenum;\n    readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: GLenum;\n    readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: GLenum;\n    readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: GLenum;\n    readonly MAX_UNIFORM_BLOCK_SIZE: GLenum;\n    readonly MAX_UNIFORM_BUFFER_BINDINGS: GLenum;\n    readonly MAX_VARYING_COMPONENTS: GLenum;\n    readonly MAX_VERTEX_OUTPUT_COMPONENTS: GLenum;\n    readonly MAX_VERTEX_UNIFORM_BLOCKS: GLenum;\n    readonly MAX_VERTEX_UNIFORM_COMPONENTS: GLenum;\n    readonly MIN: GLenum;\n    readonly MIN_PROGRAM_TEXEL_OFFSET: GLenum;\n    readonly OBJECT_TYPE: GLenum;\n    readonly PACK_ROW_LENGTH: GLenum;\n    readonly PACK_SKIP_PIXELS: GLenum;\n    readonly PACK_SKIP_ROWS: GLenum;\n    readonly PIXEL_PACK_BUFFER: GLenum;\n    readonly PIXEL_PACK_BUFFER_BINDING: GLenum;\n    readonly PIXEL_UNPACK_BUFFER: GLenum;\n    readonly PIXEL_UNPACK_BUFFER_BINDING: GLenum;\n    readonly QUERY_RESULT: GLenum;\n    readonly QUERY_RESULT_AVAILABLE: GLenum;\n    readonly R11F_G11F_B10F: GLenum;\n    readonly R16F: GLenum;\n    readonly R16I: GLenum;\n    readonly R16UI: GLenum;\n    readonly R32F: GLenum;\n    readonly R32I: GLenum;\n    readonly R32UI: GLenum;\n    readonly R8: GLenum;\n    readonly R8I: GLenum;\n    readonly R8UI: GLenum;\n    readonly R8_SNORM: GLenum;\n    readonly RASTERIZER_DISCARD: GLenum;\n    readonly READ_BUFFER: GLenum;\n    readonly READ_FRAMEBUFFER: GLenum;\n    readonly READ_FRAMEBUFFER_BINDING: GLenum;\n    readonly RED: GLenum;\n    readonly RED_INTEGER: GLenum;\n    readonly RENDERBUFFER_SAMPLES: GLenum;\n    readonly RG: GLenum;\n    readonly RG16F: GLenum;\n    readonly RG16I: GLenum;\n    readonly RG16UI: GLenum;\n    readonly RG32F: GLenum;\n    readonly RG32I: GLenum;\n    readonly RG32UI: GLenum;\n    readonly RG8: GLenum;\n    readonly RG8I: GLenum;\n    readonly RG8UI: GLenum;\n    readonly RG8_SNORM: GLenum;\n    readonly RGB10_A2: GLenum;\n    readonly RGB10_A2UI: GLenum;\n    readonly RGB16F: GLenum;\n    readonly RGB16I: GLenum;\n    readonly RGB16UI: GLenum;\n    readonly RGB32F: GLenum;\n    readonly RGB32I: GLenum;\n    readonly RGB32UI: GLenum;\n    readonly RGB8: GLenum;\n    readonly RGB8I: GLenum;\n    readonly RGB8UI: GLenum;\n    readonly RGB8_SNORM: GLenum;\n    readonly RGB9_E5: GLenum;\n    readonly RGBA16F: GLenum;\n    readonly RGBA16I: GLenum;\n    readonly RGBA16UI: GLenum;\n    readonly RGBA32F: GLenum;\n    readonly RGBA32I: GLenum;\n    readonly RGBA32UI: GLenum;\n    readonly RGBA8: GLenum;\n    readonly RGBA8I: GLenum;\n    readonly RGBA8UI: GLenum;\n    readonly RGBA8_SNORM: GLenum;\n    readonly RGBA_INTEGER: GLenum;\n    readonly RGB_INTEGER: GLenum;\n    readonly RG_INTEGER: GLenum;\n    readonly SAMPLER_2D_ARRAY: GLenum;\n    readonly SAMPLER_2D_ARRAY_SHADOW: GLenum;\n    readonly SAMPLER_2D_SHADOW: GLenum;\n    readonly SAMPLER_3D: GLenum;\n    readonly SAMPLER_BINDING: GLenum;\n    readonly SAMPLER_CUBE_SHADOW: GLenum;\n    readonly SEPARATE_ATTRIBS: GLenum;\n    readonly SIGNALED: GLenum;\n    readonly SIGNED_NORMALIZED: GLenum;\n    readonly SRGB: GLenum;\n    readonly SRGB8: GLenum;\n    readonly SRGB8_ALPHA8: GLenum;\n    readonly STATIC_COPY: GLenum;\n    readonly STATIC_READ: GLenum;\n    readonly STENCIL: GLenum;\n    readonly STREAM_COPY: GLenum;\n    readonly STREAM_READ: GLenum;\n    readonly SYNC_CONDITION: GLenum;\n    readonly SYNC_FENCE: GLenum;\n    readonly SYNC_FLAGS: GLenum;\n    readonly SYNC_FLUSH_COMMANDS_BIT: GLenum;\n    readonly SYNC_GPU_COMMANDS_COMPLETE: GLenum;\n    readonly SYNC_STATUS: GLenum;\n    readonly TEXTURE_2D_ARRAY: GLenum;\n    readonly TEXTURE_3D: GLenum;\n    readonly TEXTURE_BASE_LEVEL: GLenum;\n    readonly TEXTURE_BINDING_2D_ARRAY: GLenum;\n    readonly TEXTURE_BINDING_3D: GLenum;\n    readonly TEXTURE_COMPARE_FUNC: GLenum;\n    readonly TEXTURE_COMPARE_MODE: GLenum;\n    readonly TEXTURE_IMMUTABLE_FORMAT: GLenum;\n    readonly TEXTURE_IMMUTABLE_LEVELS: GLenum;\n    readonly TEXTURE_MAX_LEVEL: GLenum;\n    readonly TEXTURE_MAX_LOD: GLenum;\n    readonly TEXTURE_MIN_LOD: GLenum;\n    readonly TEXTURE_WRAP_R: GLenum;\n    readonly TIMEOUT_EXPIRED: GLenum;\n    readonly TIMEOUT_IGNORED: GLint64;\n    readonly TRANSFORM_FEEDBACK: GLenum;\n    readonly TRANSFORM_FEEDBACK_ACTIVE: GLenum;\n    readonly TRANSFORM_FEEDBACK_BINDING: GLenum;\n    readonly TRANSFORM_FEEDBACK_BUFFER: GLenum;\n    readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: GLenum;\n    readonly TRANSFORM_FEEDBACK_BUFFER_MODE: GLenum;\n    readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: GLenum;\n    readonly TRANSFORM_FEEDBACK_BUFFER_START: GLenum;\n    readonly TRANSFORM_FEEDBACK_PAUSED: GLenum;\n    readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: GLenum;\n    readonly TRANSFORM_FEEDBACK_VARYINGS: GLenum;\n    readonly UNIFORM_ARRAY_STRIDE: GLenum;\n    readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: GLenum;\n    readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: GLenum;\n    readonly UNIFORM_BLOCK_BINDING: GLenum;\n    readonly UNIFORM_BLOCK_DATA_SIZE: GLenum;\n    readonly UNIFORM_BLOCK_INDEX: GLenum;\n    readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: GLenum;\n    readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: GLenum;\n    readonly UNIFORM_BUFFER: GLenum;\n    readonly UNIFORM_BUFFER_BINDING: GLenum;\n    readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: GLenum;\n    readonly UNIFORM_BUFFER_SIZE: GLenum;\n    readonly UNIFORM_BUFFER_START: GLenum;\n    readonly UNIFORM_IS_ROW_MAJOR: GLenum;\n    readonly UNIFORM_MATRIX_STRIDE: GLenum;\n    readonly UNIFORM_OFFSET: GLenum;\n    readonly UNIFORM_SIZE: GLenum;\n    readonly UNIFORM_TYPE: GLenum;\n    readonly UNPACK_IMAGE_HEIGHT: GLenum;\n    readonly UNPACK_ROW_LENGTH: GLenum;\n    readonly UNPACK_SKIP_IMAGES: GLenum;\n    readonly UNPACK_SKIP_PIXELS: GLenum;\n    readonly UNPACK_SKIP_ROWS: GLenum;\n    readonly UNSIGNALED: GLenum;\n    readonly UNSIGNED_INT_10F_11F_11F_REV: GLenum;\n    readonly UNSIGNED_INT_24_8: GLenum;\n    readonly UNSIGNED_INT_2_10_10_10_REV: GLenum;\n    readonly UNSIGNED_INT_5_9_9_9_REV: GLenum;\n    readonly UNSIGNED_INT_SAMPLER_2D: GLenum;\n    readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: GLenum;\n    readonly UNSIGNED_INT_SAMPLER_3D: GLenum;\n    readonly UNSIGNED_INT_SAMPLER_CUBE: GLenum;\n    readonly UNSIGNED_INT_VEC2: GLenum;\n    readonly UNSIGNED_INT_VEC3: GLenum;\n    readonly UNSIGNED_INT_VEC4: GLenum;\n    readonly UNSIGNED_NORMALIZED: GLenum;\n    readonly VERTEX_ARRAY_BINDING: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_DIVISOR: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_INTEGER: GLenum;\n    readonly WAIT_FAILED: GLenum;\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 ACTIVE_ATTRIBUTES: GLenum;\n    readonly ACTIVE_TEXTURE: GLenum;\n    readonly ACTIVE_UNIFORMS: GLenum;\n    readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n    readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n    readonly ALPHA: GLenum;\n    readonly ALPHA_BITS: GLenum;\n    readonly ALWAYS: GLenum;\n    readonly ARRAY_BUFFER: GLenum;\n    readonly ARRAY_BUFFER_BINDING: GLenum;\n    readonly ATTACHED_SHADERS: GLenum;\n    readonly BACK: GLenum;\n    readonly BLEND: GLenum;\n    readonly BLEND_COLOR: GLenum;\n    readonly BLEND_DST_ALPHA: GLenum;\n    readonly BLEND_DST_RGB: GLenum;\n    readonly BLEND_EQUATION: GLenum;\n    readonly BLEND_EQUATION_ALPHA: GLenum;\n    readonly BLEND_EQUATION_RGB: GLenum;\n    readonly BLEND_SRC_ALPHA: GLenum;\n    readonly BLEND_SRC_RGB: GLenum;\n    readonly BLUE_BITS: GLenum;\n    readonly BOOL: GLenum;\n    readonly BOOL_VEC2: GLenum;\n    readonly BOOL_VEC3: GLenum;\n    readonly BOOL_VEC4: GLenum;\n    readonly BROWSER_DEFAULT_WEBGL: GLenum;\n    readonly BUFFER_SIZE: GLenum;\n    readonly BUFFER_USAGE: GLenum;\n    readonly BYTE: GLenum;\n    readonly CCW: GLenum;\n    readonly CLAMP_TO_EDGE: GLenum;\n    readonly COLOR_ATTACHMENT0: GLenum;\n    readonly COLOR_BUFFER_BIT: GLenum;\n    readonly COLOR_CLEAR_VALUE: GLenum;\n    readonly COLOR_WRITEMASK: GLenum;\n    readonly COMPILE_STATUS: GLenum;\n    readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n    readonly CONSTANT_ALPHA: GLenum;\n    readonly CONSTANT_COLOR: GLenum;\n    readonly CONTEXT_LOST_WEBGL: GLenum;\n    readonly CULL_FACE: GLenum;\n    readonly CULL_FACE_MODE: GLenum;\n    readonly CURRENT_PROGRAM: GLenum;\n    readonly CURRENT_VERTEX_ATTRIB: GLenum;\n    readonly CW: GLenum;\n    readonly DECR: GLenum;\n    readonly DECR_WRAP: GLenum;\n    readonly DELETE_STATUS: GLenum;\n    readonly DEPTH_ATTACHMENT: GLenum;\n    readonly DEPTH_BITS: GLenum;\n    readonly DEPTH_BUFFER_BIT: GLenum;\n    readonly DEPTH_CLEAR_VALUE: GLenum;\n    readonly DEPTH_COMPONENT: GLenum;\n    readonly DEPTH_COMPONENT16: GLenum;\n    readonly DEPTH_FUNC: GLenum;\n    readonly DEPTH_RANGE: GLenum;\n    readonly DEPTH_STENCIL: GLenum;\n    readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n    readonly DEPTH_TEST: GLenum;\n    readonly DEPTH_WRITEMASK: GLenum;\n    readonly DITHER: GLenum;\n    readonly DONT_CARE: GLenum;\n    readonly DST_ALPHA: GLenum;\n    readonly DST_COLOR: GLenum;\n    readonly DYNAMIC_DRAW: GLenum;\n    readonly ELEMENT_ARRAY_BUFFER: GLenum;\n    readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n    readonly EQUAL: GLenum;\n    readonly FASTEST: GLenum;\n    readonly FLOAT: GLenum;\n    readonly FLOAT_MAT2: GLenum;\n    readonly FLOAT_MAT3: GLenum;\n    readonly FLOAT_MAT4: GLenum;\n    readonly FLOAT_VEC2: GLenum;\n    readonly FLOAT_VEC3: GLenum;\n    readonly FLOAT_VEC4: GLenum;\n    readonly FRAGMENT_SHADER: GLenum;\n    readonly FRAMEBUFFER: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n    readonly FRAMEBUFFER_BINDING: GLenum;\n    readonly FRAMEBUFFER_COMPLETE: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n    readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n    readonly FRONT: GLenum;\n    readonly FRONT_AND_BACK: GLenum;\n    readonly FRONT_FACE: GLenum;\n    readonly FUNC_ADD: GLenum;\n    readonly FUNC_REVERSE_SUBTRACT: GLenum;\n    readonly FUNC_SUBTRACT: GLenum;\n    readonly GENERATE_MIPMAP_HINT: GLenum;\n    readonly GEQUAL: GLenum;\n    readonly GREATER: GLenum;\n    readonly GREEN_BITS: GLenum;\n    readonly HIGH_FLOAT: GLenum;\n    readonly HIGH_INT: GLenum;\n    readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n    readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n    readonly INCR: GLenum;\n    readonly INCR_WRAP: GLenum;\n    readonly INT: GLenum;\n    readonly INT_VEC2: GLenum;\n    readonly INT_VEC3: GLenum;\n    readonly INT_VEC4: GLenum;\n    readonly INVALID_ENUM: GLenum;\n    readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n    readonly INVALID_OPERATION: GLenum;\n    readonly INVALID_VALUE: GLenum;\n    readonly INVERT: GLenum;\n    readonly KEEP: GLenum;\n    readonly LEQUAL: GLenum;\n    readonly LESS: GLenum;\n    readonly LINEAR: GLenum;\n    readonly LINEAR_MIPMAP_LINEAR: GLenum;\n    readonly LINEAR_MIPMAP_NEAREST: GLenum;\n    readonly LINES: GLenum;\n    readonly LINE_LOOP: GLenum;\n    readonly LINE_STRIP: GLenum;\n    readonly LINE_WIDTH: GLenum;\n    readonly LINK_STATUS: GLenum;\n    readonly LOW_FLOAT: GLenum;\n    readonly LOW_INT: GLenum;\n    readonly LUMINANCE: GLenum;\n    readonly LUMINANCE_ALPHA: GLenum;\n    readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n    readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n    readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n    readonly MAX_RENDERBUFFER_SIZE: GLenum;\n    readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n    readonly MAX_TEXTURE_SIZE: GLenum;\n    readonly MAX_VARYING_VECTORS: GLenum;\n    readonly MAX_VERTEX_ATTRIBS: GLenum;\n    readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n    readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n    readonly MAX_VIEWPORT_DIMS: GLenum;\n    readonly MEDIUM_FLOAT: GLenum;\n    readonly MEDIUM_INT: GLenum;\n    readonly MIRRORED_REPEAT: GLenum;\n    readonly NEAREST: GLenum;\n    readonly NEAREST_MIPMAP_LINEAR: GLenum;\n    readonly NEAREST_MIPMAP_NEAREST: GLenum;\n    readonly NEVER: GLenum;\n    readonly NICEST: GLenum;\n    readonly NONE: GLenum;\n    readonly NOTEQUAL: GLenum;\n    readonly NO_ERROR: GLenum;\n    readonly ONE: GLenum;\n    readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n    readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n    readonly ONE_MINUS_DST_ALPHA: GLenum;\n    readonly ONE_MINUS_DST_COLOR: GLenum;\n    readonly ONE_MINUS_SRC_ALPHA: GLenum;\n    readonly ONE_MINUS_SRC_COLOR: GLenum;\n    readonly OUT_OF_MEMORY: GLenum;\n    readonly PACK_ALIGNMENT: GLenum;\n    readonly POINTS: GLenum;\n    readonly POLYGON_OFFSET_FACTOR: GLenum;\n    readonly POLYGON_OFFSET_FILL: GLenum;\n    readonly POLYGON_OFFSET_UNITS: GLenum;\n    readonly RED_BITS: GLenum;\n    readonly RENDERBUFFER: GLenum;\n    readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n    readonly RENDERBUFFER_BINDING: GLenum;\n    readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n    readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n    readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n    readonly RENDERBUFFER_HEIGHT: GLenum;\n    readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n    readonly RENDERBUFFER_RED_SIZE: GLenum;\n    readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n    readonly RENDERBUFFER_WIDTH: GLenum;\n    readonly RENDERER: GLenum;\n    readonly REPEAT: GLenum;\n    readonly REPLACE: GLenum;\n    readonly RGB: GLenum;\n    readonly RGB565: GLenum;\n    readonly RGB5_A1: GLenum;\n    readonly RGBA: GLenum;\n    readonly RGBA4: GLenum;\n    readonly SAMPLER_2D: GLenum;\n    readonly SAMPLER_CUBE: GLenum;\n    readonly SAMPLES: GLenum;\n    readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n    readonly SAMPLE_BUFFERS: GLenum;\n    readonly SAMPLE_COVERAGE: GLenum;\n    readonly SAMPLE_COVERAGE_INVERT: GLenum;\n    readonly SAMPLE_COVERAGE_VALUE: GLenum;\n    readonly SCISSOR_BOX: GLenum;\n    readonly SCISSOR_TEST: GLenum;\n    readonly SHADER_TYPE: GLenum;\n    readonly SHADING_LANGUAGE_VERSION: GLenum;\n    readonly SHORT: GLenum;\n    readonly SRC_ALPHA: GLenum;\n    readonly SRC_ALPHA_SATURATE: GLenum;\n    readonly SRC_COLOR: GLenum;\n    readonly STATIC_DRAW: GLenum;\n    readonly STENCIL_ATTACHMENT: GLenum;\n    readonly STENCIL_BACK_FAIL: GLenum;\n    readonly STENCIL_BACK_FUNC: GLenum;\n    readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n    readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n    readonly STENCIL_BACK_REF: GLenum;\n    readonly STENCIL_BACK_VALUE_MASK: GLenum;\n    readonly STENCIL_BACK_WRITEMASK: GLenum;\n    readonly STENCIL_BITS: GLenum;\n    readonly STENCIL_BUFFER_BIT: GLenum;\n    readonly STENCIL_CLEAR_VALUE: GLenum;\n    readonly STENCIL_FAIL: GLenum;\n    readonly STENCIL_FUNC: GLenum;\n    readonly STENCIL_INDEX8: GLenum;\n    readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n    readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n    readonly STENCIL_REF: GLenum;\n    readonly STENCIL_TEST: GLenum;\n    readonly STENCIL_VALUE_MASK: GLenum;\n    readonly STENCIL_WRITEMASK: GLenum;\n    readonly STREAM_DRAW: GLenum;\n    readonly SUBPIXEL_BITS: GLenum;\n    readonly TEXTURE: GLenum;\n    readonly TEXTURE0: GLenum;\n    readonly TEXTURE1: GLenum;\n    readonly TEXTURE10: GLenum;\n    readonly TEXTURE11: GLenum;\n    readonly TEXTURE12: GLenum;\n    readonly TEXTURE13: GLenum;\n    readonly TEXTURE14: GLenum;\n    readonly TEXTURE15: GLenum;\n    readonly TEXTURE16: GLenum;\n    readonly TEXTURE17: GLenum;\n    readonly TEXTURE18: GLenum;\n    readonly TEXTURE19: GLenum;\n    readonly TEXTURE2: GLenum;\n    readonly TEXTURE20: GLenum;\n    readonly TEXTURE21: GLenum;\n    readonly TEXTURE22: GLenum;\n    readonly TEXTURE23: GLenum;\n    readonly TEXTURE24: GLenum;\n    readonly TEXTURE25: GLenum;\n    readonly TEXTURE26: GLenum;\n    readonly TEXTURE27: GLenum;\n    readonly TEXTURE28: GLenum;\n    readonly TEXTURE29: GLenum;\n    readonly TEXTURE3: GLenum;\n    readonly TEXTURE30: GLenum;\n    readonly TEXTURE31: GLenum;\n    readonly TEXTURE4: GLenum;\n    readonly TEXTURE5: GLenum;\n    readonly TEXTURE6: GLenum;\n    readonly TEXTURE7: GLenum;\n    readonly TEXTURE8: GLenum;\n    readonly TEXTURE9: GLenum;\n    readonly TEXTURE_2D: GLenum;\n    readonly TEXTURE_BINDING_2D: GLenum;\n    readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n    readonly TEXTURE_CUBE_MAP: GLenum;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n    readonly TEXTURE_MAG_FILTER: GLenum;\n    readonly TEXTURE_MIN_FILTER: GLenum;\n    readonly TEXTURE_WRAP_S: GLenum;\n    readonly TEXTURE_WRAP_T: GLenum;\n    readonly TRIANGLES: GLenum;\n    readonly TRIANGLE_FAN: GLenum;\n    readonly TRIANGLE_STRIP: GLenum;\n    readonly UNPACK_ALIGNMENT: GLenum;\n    readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n    readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n    readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n    readonly UNSIGNED_BYTE: GLenum;\n    readonly UNSIGNED_INT: GLenum;\n    readonly UNSIGNED_SHORT: GLenum;\n    readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n    readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n    readonly UNSIGNED_SHORT_5_6_5: GLenum;\n    readonly VALIDATE_STATUS: GLenum;\n    readonly VENDOR: GLenum;\n    readonly VERSION: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n    readonly VERTEX_SHADER: GLenum;\n    readonly VIEWPORT: GLenum;\n    readonly ZERO: GLenum;\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: \"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_texture_filter_anisotropic\"): EXT_texture_filter_anisotropic | null;\n    getExtension(extensionName: \"EXT_frag_depth\"): EXT_frag_depth | null;\n    getExtension(extensionName: \"EXT_shader_texture_lod\"): EXT_shader_texture_lod | null;\n    getExtension(extensionName: \"EXT_sRGB\"): EXT_sRGB | null;\n    getExtension(extensionName: \"KHR_parallel_shader_compile\"): KHR_parallel_shader_compile | 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_pvrtc\"): WEBGL_compressed_texture_pvrtc | null;\n    getExtension(extensionName: \"WEBGL_compressed_texture_s3tc_srgb\"): WEBGL_compressed_texture_s3tc_srgb | null;\n    getExtension(extensionName: \"WEBGL_debug_shaders\"): WEBGL_debug_shaders | 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_depth_texture\"): WEBGL_depth_texture | null;\n    getExtension(extensionName: \"WEBGL_debug_renderer_info\"): WEBGL_debug_renderer_info | null;\n    getExtension(extensionName: \"WEBGL_compressed_texture_s3tc\"): WEBGL_compressed_texture_s3tc | null;\n    getExtension(extensionName: \"OES_texture_half_float_linear\"): OES_texture_half_float_linear | null;\n    getExtension(extensionName: \"OES_texture_half_float\"): OES_texture_half_float | null;\n    getExtension(extensionName: \"OES_texture_float_linear\"): OES_texture_float_linear | null;\n    getExtension(extensionName: \"OES_texture_float\"): OES_texture_float | null;\n    getExtension(extensionName: \"OES_standard_derivatives\"): OES_standard_derivatives | null;\n    getExtension(extensionName: \"OES_element_index_uint\"): OES_element_index_uint | null;\n    getExtension(extensionName: \"ANGLE_instanced_arrays\"): ANGLE_instanced_arrays | 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 ACTIVE_ATTRIBUTES: GLenum;\n    readonly ACTIVE_TEXTURE: GLenum;\n    readonly ACTIVE_UNIFORMS: GLenum;\n    readonly ALIASED_LINE_WIDTH_RANGE: GLenum;\n    readonly ALIASED_POINT_SIZE_RANGE: GLenum;\n    readonly ALPHA: GLenum;\n    readonly ALPHA_BITS: GLenum;\n    readonly ALWAYS: GLenum;\n    readonly ARRAY_BUFFER: GLenum;\n    readonly ARRAY_BUFFER_BINDING: GLenum;\n    readonly ATTACHED_SHADERS: GLenum;\n    readonly BACK: GLenum;\n    readonly BLEND: GLenum;\n    readonly BLEND_COLOR: GLenum;\n    readonly BLEND_DST_ALPHA: GLenum;\n    readonly BLEND_DST_RGB: GLenum;\n    readonly BLEND_EQUATION: GLenum;\n    readonly BLEND_EQUATION_ALPHA: GLenum;\n    readonly BLEND_EQUATION_RGB: GLenum;\n    readonly BLEND_SRC_ALPHA: GLenum;\n    readonly BLEND_SRC_RGB: GLenum;\n    readonly BLUE_BITS: GLenum;\n    readonly BOOL: GLenum;\n    readonly BOOL_VEC2: GLenum;\n    readonly BOOL_VEC3: GLenum;\n    readonly BOOL_VEC4: GLenum;\n    readonly BROWSER_DEFAULT_WEBGL: GLenum;\n    readonly BUFFER_SIZE: GLenum;\n    readonly BUFFER_USAGE: GLenum;\n    readonly BYTE: GLenum;\n    readonly CCW: GLenum;\n    readonly CLAMP_TO_EDGE: GLenum;\n    readonly COLOR_ATTACHMENT0: GLenum;\n    readonly COLOR_BUFFER_BIT: GLenum;\n    readonly COLOR_CLEAR_VALUE: GLenum;\n    readonly COLOR_WRITEMASK: GLenum;\n    readonly COMPILE_STATUS: GLenum;\n    readonly COMPRESSED_TEXTURE_FORMATS: GLenum;\n    readonly CONSTANT_ALPHA: GLenum;\n    readonly CONSTANT_COLOR: GLenum;\n    readonly CONTEXT_LOST_WEBGL: GLenum;\n    readonly CULL_FACE: GLenum;\n    readonly CULL_FACE_MODE: GLenum;\n    readonly CURRENT_PROGRAM: GLenum;\n    readonly CURRENT_VERTEX_ATTRIB: GLenum;\n    readonly CW: GLenum;\n    readonly DECR: GLenum;\n    readonly DECR_WRAP: GLenum;\n    readonly DELETE_STATUS: GLenum;\n    readonly DEPTH_ATTACHMENT: GLenum;\n    readonly DEPTH_BITS: GLenum;\n    readonly DEPTH_BUFFER_BIT: GLenum;\n    readonly DEPTH_CLEAR_VALUE: GLenum;\n    readonly DEPTH_COMPONENT: GLenum;\n    readonly DEPTH_COMPONENT16: GLenum;\n    readonly DEPTH_FUNC: GLenum;\n    readonly DEPTH_RANGE: GLenum;\n    readonly DEPTH_STENCIL: GLenum;\n    readonly DEPTH_STENCIL_ATTACHMENT: GLenum;\n    readonly DEPTH_TEST: GLenum;\n    readonly DEPTH_WRITEMASK: GLenum;\n    readonly DITHER: GLenum;\n    readonly DONT_CARE: GLenum;\n    readonly DST_ALPHA: GLenum;\n    readonly DST_COLOR: GLenum;\n    readonly DYNAMIC_DRAW: GLenum;\n    readonly ELEMENT_ARRAY_BUFFER: GLenum;\n    readonly ELEMENT_ARRAY_BUFFER_BINDING: GLenum;\n    readonly EQUAL: GLenum;\n    readonly FASTEST: GLenum;\n    readonly FLOAT: GLenum;\n    readonly FLOAT_MAT2: GLenum;\n    readonly FLOAT_MAT3: GLenum;\n    readonly FLOAT_MAT4: GLenum;\n    readonly FLOAT_VEC2: GLenum;\n    readonly FLOAT_VEC3: GLenum;\n    readonly FLOAT_VEC4: GLenum;\n    readonly FRAGMENT_SHADER: GLenum;\n    readonly FRAMEBUFFER: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum;\n    readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum;\n    readonly FRAMEBUFFER_BINDING: GLenum;\n    readonly FRAMEBUFFER_COMPLETE: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum;\n    readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum;\n    readonly FRAMEBUFFER_UNSUPPORTED: GLenum;\n    readonly FRONT: GLenum;\n    readonly FRONT_AND_BACK: GLenum;\n    readonly FRONT_FACE: GLenum;\n    readonly FUNC_ADD: GLenum;\n    readonly FUNC_REVERSE_SUBTRACT: GLenum;\n    readonly FUNC_SUBTRACT: GLenum;\n    readonly GENERATE_MIPMAP_HINT: GLenum;\n    readonly GEQUAL: GLenum;\n    readonly GREATER: GLenum;\n    readonly GREEN_BITS: GLenum;\n    readonly HIGH_FLOAT: GLenum;\n    readonly HIGH_INT: GLenum;\n    readonly IMPLEMENTATION_COLOR_READ_FORMAT: GLenum;\n    readonly IMPLEMENTATION_COLOR_READ_TYPE: GLenum;\n    readonly INCR: GLenum;\n    readonly INCR_WRAP: GLenum;\n    readonly INT: GLenum;\n    readonly INT_VEC2: GLenum;\n    readonly INT_VEC3: GLenum;\n    readonly INT_VEC4: GLenum;\n    readonly INVALID_ENUM: GLenum;\n    readonly INVALID_FRAMEBUFFER_OPERATION: GLenum;\n    readonly INVALID_OPERATION: GLenum;\n    readonly INVALID_VALUE: GLenum;\n    readonly INVERT: GLenum;\n    readonly KEEP: GLenum;\n    readonly LEQUAL: GLenum;\n    readonly LESS: GLenum;\n    readonly LINEAR: GLenum;\n    readonly LINEAR_MIPMAP_LINEAR: GLenum;\n    readonly LINEAR_MIPMAP_NEAREST: GLenum;\n    readonly LINES: GLenum;\n    readonly LINE_LOOP: GLenum;\n    readonly LINE_STRIP: GLenum;\n    readonly LINE_WIDTH: GLenum;\n    readonly LINK_STATUS: GLenum;\n    readonly LOW_FLOAT: GLenum;\n    readonly LOW_INT: GLenum;\n    readonly LUMINANCE: GLenum;\n    readonly LUMINANCE_ALPHA: GLenum;\n    readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum;\n    readonly MAX_CUBE_MAP_TEXTURE_SIZE: GLenum;\n    readonly MAX_FRAGMENT_UNIFORM_VECTORS: GLenum;\n    readonly MAX_RENDERBUFFER_SIZE: GLenum;\n    readonly MAX_TEXTURE_IMAGE_UNITS: GLenum;\n    readonly MAX_TEXTURE_SIZE: GLenum;\n    readonly MAX_VARYING_VECTORS: GLenum;\n    readonly MAX_VERTEX_ATTRIBS: GLenum;\n    readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum;\n    readonly MAX_VERTEX_UNIFORM_VECTORS: GLenum;\n    readonly MAX_VIEWPORT_DIMS: GLenum;\n    readonly MEDIUM_FLOAT: GLenum;\n    readonly MEDIUM_INT: GLenum;\n    readonly MIRRORED_REPEAT: GLenum;\n    readonly NEAREST: GLenum;\n    readonly NEAREST_MIPMAP_LINEAR: GLenum;\n    readonly NEAREST_MIPMAP_NEAREST: GLenum;\n    readonly NEVER: GLenum;\n    readonly NICEST: GLenum;\n    readonly NONE: GLenum;\n    readonly NOTEQUAL: GLenum;\n    readonly NO_ERROR: GLenum;\n    readonly ONE: GLenum;\n    readonly ONE_MINUS_CONSTANT_ALPHA: GLenum;\n    readonly ONE_MINUS_CONSTANT_COLOR: GLenum;\n    readonly ONE_MINUS_DST_ALPHA: GLenum;\n    readonly ONE_MINUS_DST_COLOR: GLenum;\n    readonly ONE_MINUS_SRC_ALPHA: GLenum;\n    readonly ONE_MINUS_SRC_COLOR: GLenum;\n    readonly OUT_OF_MEMORY: GLenum;\n    readonly PACK_ALIGNMENT: GLenum;\n    readonly POINTS: GLenum;\n    readonly POLYGON_OFFSET_FACTOR: GLenum;\n    readonly POLYGON_OFFSET_FILL: GLenum;\n    readonly POLYGON_OFFSET_UNITS: GLenum;\n    readonly RED_BITS: GLenum;\n    readonly RENDERBUFFER: GLenum;\n    readonly RENDERBUFFER_ALPHA_SIZE: GLenum;\n    readonly RENDERBUFFER_BINDING: GLenum;\n    readonly RENDERBUFFER_BLUE_SIZE: GLenum;\n    readonly RENDERBUFFER_DEPTH_SIZE: GLenum;\n    readonly RENDERBUFFER_GREEN_SIZE: GLenum;\n    readonly RENDERBUFFER_HEIGHT: GLenum;\n    readonly RENDERBUFFER_INTERNAL_FORMAT: GLenum;\n    readonly RENDERBUFFER_RED_SIZE: GLenum;\n    readonly RENDERBUFFER_STENCIL_SIZE: GLenum;\n    readonly RENDERBUFFER_WIDTH: GLenum;\n    readonly RENDERER: GLenum;\n    readonly REPEAT: GLenum;\n    readonly REPLACE: GLenum;\n    readonly RGB: GLenum;\n    readonly RGB565: GLenum;\n    readonly RGB5_A1: GLenum;\n    readonly RGBA: GLenum;\n    readonly RGBA4: GLenum;\n    readonly SAMPLER_2D: GLenum;\n    readonly SAMPLER_CUBE: GLenum;\n    readonly SAMPLES: GLenum;\n    readonly SAMPLE_ALPHA_TO_COVERAGE: GLenum;\n    readonly SAMPLE_BUFFERS: GLenum;\n    readonly SAMPLE_COVERAGE: GLenum;\n    readonly SAMPLE_COVERAGE_INVERT: GLenum;\n    readonly SAMPLE_COVERAGE_VALUE: GLenum;\n    readonly SCISSOR_BOX: GLenum;\n    readonly SCISSOR_TEST: GLenum;\n    readonly SHADER_TYPE: GLenum;\n    readonly SHADING_LANGUAGE_VERSION: GLenum;\n    readonly SHORT: GLenum;\n    readonly SRC_ALPHA: GLenum;\n    readonly SRC_ALPHA_SATURATE: GLenum;\n    readonly SRC_COLOR: GLenum;\n    readonly STATIC_DRAW: GLenum;\n    readonly STENCIL_ATTACHMENT: GLenum;\n    readonly STENCIL_BACK_FAIL: GLenum;\n    readonly STENCIL_BACK_FUNC: GLenum;\n    readonly STENCIL_BACK_PASS_DEPTH_FAIL: GLenum;\n    readonly STENCIL_BACK_PASS_DEPTH_PASS: GLenum;\n    readonly STENCIL_BACK_REF: GLenum;\n    readonly STENCIL_BACK_VALUE_MASK: GLenum;\n    readonly STENCIL_BACK_WRITEMASK: GLenum;\n    readonly STENCIL_BITS: GLenum;\n    readonly STENCIL_BUFFER_BIT: GLenum;\n    readonly STENCIL_CLEAR_VALUE: GLenum;\n    readonly STENCIL_FAIL: GLenum;\n    readonly STENCIL_FUNC: GLenum;\n    readonly STENCIL_INDEX8: GLenum;\n    readonly STENCIL_PASS_DEPTH_FAIL: GLenum;\n    readonly STENCIL_PASS_DEPTH_PASS: GLenum;\n    readonly STENCIL_REF: GLenum;\n    readonly STENCIL_TEST: GLenum;\n    readonly STENCIL_VALUE_MASK: GLenum;\n    readonly STENCIL_WRITEMASK: GLenum;\n    readonly STREAM_DRAW: GLenum;\n    readonly SUBPIXEL_BITS: GLenum;\n    readonly TEXTURE: GLenum;\n    readonly TEXTURE0: GLenum;\n    readonly TEXTURE1: GLenum;\n    readonly TEXTURE10: GLenum;\n    readonly TEXTURE11: GLenum;\n    readonly TEXTURE12: GLenum;\n    readonly TEXTURE13: GLenum;\n    readonly TEXTURE14: GLenum;\n    readonly TEXTURE15: GLenum;\n    readonly TEXTURE16: GLenum;\n    readonly TEXTURE17: GLenum;\n    readonly TEXTURE18: GLenum;\n    readonly TEXTURE19: GLenum;\n    readonly TEXTURE2: GLenum;\n    readonly TEXTURE20: GLenum;\n    readonly TEXTURE21: GLenum;\n    readonly TEXTURE22: GLenum;\n    readonly TEXTURE23: GLenum;\n    readonly TEXTURE24: GLenum;\n    readonly TEXTURE25: GLenum;\n    readonly TEXTURE26: GLenum;\n    readonly TEXTURE27: GLenum;\n    readonly TEXTURE28: GLenum;\n    readonly TEXTURE29: GLenum;\n    readonly TEXTURE3: GLenum;\n    readonly TEXTURE30: GLenum;\n    readonly TEXTURE31: GLenum;\n    readonly TEXTURE4: GLenum;\n    readonly TEXTURE5: GLenum;\n    readonly TEXTURE6: GLenum;\n    readonly TEXTURE7: GLenum;\n    readonly TEXTURE8: GLenum;\n    readonly TEXTURE9: GLenum;\n    readonly TEXTURE_2D: GLenum;\n    readonly TEXTURE_BINDING_2D: GLenum;\n    readonly TEXTURE_BINDING_CUBE_MAP: GLenum;\n    readonly TEXTURE_CUBE_MAP: GLenum;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum;\n    readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_X: GLenum;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum;\n    readonly TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum;\n    readonly TEXTURE_MAG_FILTER: GLenum;\n    readonly TEXTURE_MIN_FILTER: GLenum;\n    readonly TEXTURE_WRAP_S: GLenum;\n    readonly TEXTURE_WRAP_T: GLenum;\n    readonly TRIANGLES: GLenum;\n    readonly TRIANGLE_FAN: GLenum;\n    readonly TRIANGLE_STRIP: GLenum;\n    readonly UNPACK_ALIGNMENT: GLenum;\n    readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum;\n    readonly UNPACK_FLIP_Y_WEBGL: GLenum;\n    readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum;\n    readonly UNSIGNED_BYTE: GLenum;\n    readonly UNSIGNED_INT: GLenum;\n    readonly UNSIGNED_SHORT: GLenum;\n    readonly UNSIGNED_SHORT_4_4_4_4: GLenum;\n    readonly UNSIGNED_SHORT_5_5_5_1: GLenum;\n    readonly UNSIGNED_SHORT_5_6_5: GLenum;\n    readonly VALIDATE_STATUS: GLenum;\n    readonly VENDOR: GLenum;\n    readonly VERSION: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_ENABLED: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_POINTER: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_SIZE: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_STRIDE: GLenum;\n    readonly VERTEX_ATTRIB_ARRAY_TYPE: GLenum;\n    readonly VERTEX_SHADER: GLenum;\n    readonly VIEWPORT: GLenum;\n    readonly ZERO: GLenum;\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 CLOSED: number;\n    readonly CLOSING: number;\n    readonly CONNECTING: number;\n    readonly OPEN: number;\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 CLOSED: number;\n    readonly CLOSING: number;\n    readonly CONNECTING: number;\n    readonly OPEN: number;\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: VisibilityState;\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(handle?: number): void;\n    clearTimeout(handle?: number): 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, init?: RequestInit): Promise<Response>;\n    queueMicrotask(callback: VoidFunction): void;\n    setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n    setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\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, NavigatorNetworkInformation, 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    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 DONE: number;\n    readonly HEADERS_RECEIVED: number;\n    readonly LOADING: number;\n    readonly OPENED: number;\n    readonly UNSENT: number;\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 DONE: number;\n    readonly HEADERS_RECEIVED: number;\n    readonly LOADING: number;\n    readonly OPENED: number;\n    readonly UNSENT: number;\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\";\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 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(handle?: number): void;\ndeclare function clearTimeout(handle?: number): 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, init?: RequestInit): Promise<Response>;\ndeclare function queueMicrotask(callback: VoidFunction): void;\ndeclare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\ndeclare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\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 DOMTimeStamp = 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[][] | 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 OnErrorEventHandler = OnErrorEventHandlerNonNull | null;\ntype PerformanceEntryList = PerformanceEntry[];\ntype PushMessageDataInit = BufferSource | string;\ntype ReadableStreamController<T> = ReadableStreamDefaultController<T>;\ntype ReadableStreamDefaultReadResult<T> = ReadableStreamDefaultReadValueResult<T> | ReadableStreamDefaultReadDoneResult;\ntype ReadableStreamReader<T> = ReadableStreamDefaultReader<T>;\ntype RequestInfo = Request | string;\ntype TexImageSource = ImageBitmap | ImageData | OffscreenCanvas;\ntype TimerHandler = string | Function;\ntype Transferable = ArrayBuffer | MessagePort | ImageBitmap;\ntype Uint32List = Uint32Array | GLuint[];\ntype VibratePattern = number | number[];\ntype XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;\ntype BinaryType = \"arraybuffer\" | \"blob\";\ntype ClientTypes = \"all\" | \"sharedworker\" | \"window\" | \"worker\";\ntype ColorGamut = \"p3\" | \"rec2020\" | \"srgb\";\ntype ColorSpaceConversion = \"default\" | \"none\";\ntype ConnectionType = \"bluetooth\" | \"cellular\" | \"ethernet\" | \"mixed\" | \"none\" | \"other\" | \"unknown\" | \"wifi\";\ntype EndingType = \"native\" | \"transparent\";\ntype FontFaceLoadStatus = \"error\" | \"loaded\" | \"loading\" | \"unloaded\";\ntype FontFaceSetLoadStatus = \"loaded\" | \"loading\";\ntype FrameType = \"auxiliary\" | \"nested\" | \"none\" | \"top-level\";\ntype HdrMetadataType = \"smpteSt2086\" | \"smpteSt2094-10\" | \"smpteSt2094-40\";\ntype IDBCursorDirection = \"next\" | \"nextunique\" | \"prev\" | \"prevunique\";\ntype IDBRequestReadyState = \"done\" | \"pending\";\ntype IDBTransactionMode = \"readonly\" | \"readwrite\" | \"versionchange\";\ntype ImageOrientation = \"flipY\" | \"none\";\ntype KeyFormat = \"jwk\" | \"pkcs8\" | \"raw\" | \"spki\";\ntype KeyType = \"private\" | \"public\" | \"secret\";\ntype KeyUsage = \"decrypt\" | \"deriveBits\" | \"deriveKey\" | \"encrypt\" | \"sign\" | \"unwrapKey\" | \"verify\" | \"wrapKey\";\ntype MediaDecodingType = \"file\" | \"media-source\" | \"webrtc\";\ntype MediaEncodingType = \"record\" | \"webrtc\";\ntype NotificationDirection = \"auto\" | \"ltr\" | \"rtl\";\ntype NotificationPermission = \"default\" | \"denied\" | \"granted\";\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 PushPermissionState = \"denied\" | \"granted\" | \"prompt\";\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 VisibilityState = \"hidden\" | \"visible\";\ntype WebGLPowerPreference = \"default\" | \"high-performance\" | \"low-power\";\ntype WorkerType = \"classic\" | \"module\";\ntype XMLHttpRequestResponseType = \"\" | \"arraybuffer\" | \"blob\" | \"document\" | \"json\" | \"text\";\n`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\n\n\n/////////////////////////////\n/// WorkerGlobalScope APIs\n/////////////////////////////\n// These are only available in a Web Worker\ndeclare function importScripts(...urls: string[]): void;\n`,Oi[\"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\n/// <reference no-default-lib=\"true\"/>\n\n\n/////////////////////////////\n/// Worker Iterable APIs\n/////////////////////////////\n\ninterface Cache {\n    addAll(requests: Iterable<RequestInfo>): Promise<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): 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: KeyUsage[]): Promise<CryptoKeyPair>;\n    generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: 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: 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 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`;function cc(e){return typeof e==\"string\"?/^file:\\/\\/\\//.test(e)?!!Oi[e.substr(8)]:!1:e.path.indexOf(\"/lib.\")===0?!!Oi[e.path.slice(1)]:!1}var Rg=class{constructor(e,n){Iv(this,\"_ctx\");Iv(this,\"_extraLibs\",Object.create(null));Iv(this,\"_languageService\",sD(this));Iv(this,\"_compilerOptions\");Iv(this,\"_inlayHintsOptions\");this._ctx=e,this._compilerOptions=n.compilerOptions,this._extraLibs=n.extraLibs,this._inlayHintsOptions=n.inlayHintsOptions}getCompilationSettings(){return this._compilerOptions}getLanguageService(){return this._languageService}getExtraLibs(){return this._extraLibs}getScriptFileNames(){return this._ctx.getMirrorModels().map(f=>f.uri).filter(f=>!cc(f)).map(f=>f.toString()).concat(Object.keys(this._extraLibs))}_getModel(e){let n=this._ctx.getMirrorModels();for(let f=0;f<n.length;f++)if(n[f].uri.toString()===e)return n[f];return null}getScriptVersion(e){let n=this._getModel(e);return n?n.version.toString():this.isDefaultLibFileName(e)?\"1\":e in this._extraLibs?String(this._extraLibs[e].version):\"\"}async getScriptText(e){return this._getScriptText(e)}_getScriptText(e){let n,f=this._getModel(e);const p=\"lib.\"+e+\".d.ts\";if(f)n=f.getValue();else if(e in Oi)n=Oi[e];else if(p in Oi)n=Oi[p];else if(e in this._extraLibs)n=this._extraLibs[e].content;else return;return n}getScriptSnapshot(e){const n=this._getScriptText(e);if(n!==void 0)return{getText:(f,p)=>n.substring(f,p),getLength:()=>n.length,getChangeRange:()=>{}}}getScriptKind(e){switch(e.substr(e.lastIndexOf(\".\")+1)){case\"ts\":return Mm.TS;case\"tsx\":return Mm.TSX;case\"js\":return Mm.JS;case\"jsx\":return Mm.JSX;default:return this.getCompilationSettings().allowJs?Mm.JS:Mm.TS}}getCurrentDirectory(){return\"\"}getDefaultLibFileName(e){switch(e.target){case 99:const n=\"lib.esnext.full.d.ts\";if(n in Oi||n in this._extraLibs)return n;case 7:case 6:case 5:case 4:case 3:case 2:default:const f=`lib.es${2013+(e.target||99)}.full.d.ts`;return f in Oi||f in this._extraLibs?f:\"lib.es6.d.ts\";case 1:case 0:return\"lib.d.ts\"}}isDefaultLibFileName(e){return e===this.getDefaultLibFileName(this._compilerOptions)}async getLibFiles(){return Oi}static clearFiles(e){const n=[];for(const f of e){const p={...f};if(p.file=p.file?{fileName:p.file.fileName}:void 0,f.relatedInformation){p.relatedInformation=[];for(const a of f.relatedInformation){const d={...a};d.file=d.file?{fileName:d.file.fileName}:void 0,p.relatedInformation.push(d)}}n.push(p)}return n}async getSyntacticDiagnostics(e){if(cc(e))return[];const n=this._languageService.getSyntacticDiagnostics(e);return Rg.clearFiles(n)}async getSemanticDiagnostics(e){if(cc(e))return[];const n=this._languageService.getSemanticDiagnostics(e);return Rg.clearFiles(n)}async getSuggestionDiagnostics(e){if(cc(e))return[];const n=this._languageService.getSuggestionDiagnostics(e);return Rg.clearFiles(n)}async getCompilerOptionsDiagnostics(e){if(cc(e))return[];const n=this._languageService.getCompilerOptionsDiagnostics();return Rg.clearFiles(n)}async getCompletionsAtPosition(e,n){if(!cc(e))return this._languageService.getCompletionsAtPosition(e,n,void 0)}async getCompletionEntryDetails(e,n,f){return this._languageService.getCompletionEntryDetails(e,n,f,void 0,void 0,void 0,void 0)}async getSignatureHelpItems(e,n,f){if(!cc(e))return this._languageService.getSignatureHelpItems(e,n,f)}async getQuickInfoAtPosition(e,n){if(!cc(e))return this._languageService.getQuickInfoAtPosition(e,n)}async getOccurrencesAtPosition(e,n){if(!cc(e))return this._languageService.getOccurrencesAtPosition(e,n)}async getDefinitionAtPosition(e,n){if(!cc(e))return this._languageService.getDefinitionAtPosition(e,n)}async getReferencesAtPosition(e,n){if(!cc(e))return this._languageService.getReferencesAtPosition(e,n)}async getNavigationBarItems(e){return cc(e)?[]:this._languageService.getNavigationBarItems(e)}async getFormattingEditsForDocument(e,n){return cc(e)?[]:this._languageService.getFormattingEditsForDocument(e,n)}async getFormattingEditsForRange(e,n,f,p){return cc(e)?[]:this._languageService.getFormattingEditsForRange(e,n,f,p)}async getFormattingEditsAfterKeystroke(e,n,f,p){return cc(e)?[]:this._languageService.getFormattingEditsAfterKeystroke(e,n,f,p)}async findRenameLocations(e,n,f,p,a){if(!cc(e))return this._languageService.findRenameLocations(e,n,f,p,a)}async getRenameInfo(e,n,f){return cc(e)?{canRename:!1,localizedErrorMessage:\"Cannot rename in lib file\"}:this._languageService.getRenameInfo(e,n,f)}async getEmitOutput(e){return cc(e)?{outputFiles:[],emitSkipped:!0}:this._languageService.getEmitOutput(e)}async getCodeFixesAtPosition(e,n,f,p,a){if(cc(e))return[];const d={};try{return this._languageService.getCodeFixesAtPosition(e,n,f,p,a,d)}catch{return[]}}async updateExtraLibs(e){this._extraLibs=e}async provideInlayHints(e,n,f){var d;if(cc(e))return[];const p=(d=this._inlayHintsOptions)!=null?d:{},a={start:n,length:f-n};try{return this._languageService.provideInlayHints(e,a,p)}catch{return[]}}};function gk(e,n){let f=Rg;if(n.customWorkerPath)if(typeof importScripts==\"undefined\")console.warn(\"Monaco is not using webworkers for background tasks, and that is needed to support the customWorkerPath flag\");else{importScripts(n.customWorkerPath);const p=self.customTSWorkerFactory;if(!p)throw new Error(`The script at ${n.customWorkerPath} does not add customTSWorkerFactory to self`);f=p(Rg,aD,Oi)}return new f(e,n)}globalThis.ts=lD,self.onmessage=()=>{nD((e,n)=>gk(e,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"
  },
  {
    "path": "client/dist/assets/tsMode.6b562640.js",
    "content": "var N=Object.defineProperty;var M=(e,t,r)=>t in e?N(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var _=(e,t,r)=>(M(e,typeof t!=\"symbol\"?t+\"\":t,r),r);import{t as K,m as R}from\"./HMonacoEditor.4fbcd301.js\";import\"./index.becaf6b8.js\";/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var L=Object.defineProperty,E=Object.getOwnPropertyDescriptor,H=Object.getOwnPropertyNames,V=Object.prototype.hasOwnProperty,W=(e,t,r)=>t in e?L(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,j=(e,t,r,s)=>{if(t&&typeof t==\"object\"||typeof t==\"function\")for(let a of H(t))!V.call(e,a)&&(r||a!==\"default\")&&L(e,a,{get:()=>t[a],enumerable:!(s=E(t,a))||s.enumerable});return e},h=(e,t,r)=>(W(e,typeof t!=\"symbol\"?t+\"\":t,r),r),i={};j(i,R);var B=class{constructor(e,t){_(this,\"_modeId\");_(this,\"_defaults\");_(this,\"_configChangeListener\");_(this,\"_updateExtraLibsToken\");_(this,\"_extraLibsChangeListener\");_(this,\"_worker\");_(this,\"_client\");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())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){this._configChangeListener.dispose(),this._extraLibsChangeListener.dispose(),this._stopWorker()}async _updateExtraLibs(){if(!this._worker)return;const e=++this._updateExtraLibsToken,t=await this._worker.getProxy();this._updateExtraLibsToken===e&&t.updateExtraLibs(this._defaults.getExtraLibs())}_getClient(){if(!this._client){this._worker=i.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}});let e=this._worker.getProxy();this._defaults.getEagerModelSync()&&(e=e.then(t=>this._worker?this._worker.withSyncedResources(i.editor.getModels().filter(r=>r.getLanguageId()===this._modeId).map(r=>r.uri)):t)),this._client=e}return this._client}getLanguageServiceWorker(...e){let t;return this._getClient().then(r=>{t=r}).then(r=>{if(this._worker)return this._worker.withSyncedResources(e)}).then(r=>t)}},o={};o[\"lib.d.ts\"]=!0;o[\"lib.dom.d.ts\"]=!0;o[\"lib.dom.iterable.d.ts\"]=!0;o[\"lib.es2015.collection.d.ts\"]=!0;o[\"lib.es2015.core.d.ts\"]=!0;o[\"lib.es2015.d.ts\"]=!0;o[\"lib.es2015.generator.d.ts\"]=!0;o[\"lib.es2015.iterable.d.ts\"]=!0;o[\"lib.es2015.promise.d.ts\"]=!0;o[\"lib.es2015.proxy.d.ts\"]=!0;o[\"lib.es2015.reflect.d.ts\"]=!0;o[\"lib.es2015.symbol.d.ts\"]=!0;o[\"lib.es2015.symbol.wellknown.d.ts\"]=!0;o[\"lib.es2016.array.include.d.ts\"]=!0;o[\"lib.es2016.d.ts\"]=!0;o[\"lib.es2016.full.d.ts\"]=!0;o[\"lib.es2017.d.ts\"]=!0;o[\"lib.es2017.full.d.ts\"]=!0;o[\"lib.es2017.intl.d.ts\"]=!0;o[\"lib.es2017.object.d.ts\"]=!0;o[\"lib.es2017.sharedmemory.d.ts\"]=!0;o[\"lib.es2017.string.d.ts\"]=!0;o[\"lib.es2017.typedarrays.d.ts\"]=!0;o[\"lib.es2018.asyncgenerator.d.ts\"]=!0;o[\"lib.es2018.asynciterable.d.ts\"]=!0;o[\"lib.es2018.d.ts\"]=!0;o[\"lib.es2018.full.d.ts\"]=!0;o[\"lib.es2018.intl.d.ts\"]=!0;o[\"lib.es2018.promise.d.ts\"]=!0;o[\"lib.es2018.regexp.d.ts\"]=!0;o[\"lib.es2019.array.d.ts\"]=!0;o[\"lib.es2019.d.ts\"]=!0;o[\"lib.es2019.full.d.ts\"]=!0;o[\"lib.es2019.object.d.ts\"]=!0;o[\"lib.es2019.string.d.ts\"]=!0;o[\"lib.es2019.symbol.d.ts\"]=!0;o[\"lib.es2020.bigint.d.ts\"]=!0;o[\"lib.es2020.d.ts\"]=!0;o[\"lib.es2020.full.d.ts\"]=!0;o[\"lib.es2020.intl.d.ts\"]=!0;o[\"lib.es2020.promise.d.ts\"]=!0;o[\"lib.es2020.sharedmemory.d.ts\"]=!0;o[\"lib.es2020.string.d.ts\"]=!0;o[\"lib.es2020.symbol.wellknown.d.ts\"]=!0;o[\"lib.es2021.d.ts\"]=!0;o[\"lib.es2021.full.d.ts\"]=!0;o[\"lib.es2021.intl.d.ts\"]=!0;o[\"lib.es2021.promise.d.ts\"]=!0;o[\"lib.es2021.string.d.ts\"]=!0;o[\"lib.es2021.weakref.d.ts\"]=!0;o[\"lib.es5.d.ts\"]=!0;o[\"lib.es6.d.ts\"]=!0;o[\"lib.esnext.d.ts\"]=!0;o[\"lib.esnext.full.d.ts\"]=!0;o[\"lib.esnext.intl.d.ts\"]=!0;o[\"lib.esnext.promise.d.ts\"]=!0;o[\"lib.esnext.string.d.ts\"]=!0;o[\"lib.esnext.weakref.d.ts\"]=!0;o[\"lib.scripthost.d.ts\"]=!0;o[\"lib.webworker.d.ts\"]=!0;o[\"lib.webworker.importscripts.d.ts\"]=!0;o[\"lib.webworker.iterable.d.ts\"]=!0;function F(e,t,r=0){if(typeof e==\"string\")return e;if(e===void 0)return\"\";let s=\"\";if(r){s+=t;for(let a=0;a<r;a++)s+=\"  \"}if(s+=e.messageText,r++,e.next)for(const a of e.next)s+=F(a,t,r);return s}function k(e){return e?e.map(t=>t.text).join(\"\"):\"\"}var w=class{constructor(e){this._worker=e}_textSpanToRange(e,t){let r=e.getPositionAt(t.start),s=e.getPositionAt(t.start+t.length),{lineNumber:a,column:u}=r,{lineNumber:c,column:g}=s;return{startLineNumber:a,startColumn:u,endLineNumber:c,endColumn:g}}},U=class{constructor(e){_(this,\"_libFiles\");_(this,\"_hasFetchedLibFiles\");_(this,\"_fetchLibFilesPromise\");this._worker=e,this._libFiles={},this._hasFetchedLibFiles=!1,this._fetchLibFilesPromise=null}isLibFile(e){return e&&e.path.indexOf(\"/lib.\")===0?!!o[e.path.slice(1)]:!1}getOrCreateModel(e){const t=i.Uri.parse(e),r=i.editor.getModel(t);if(r)return r;if(this.isLibFile(t)&&this._hasFetchedLibFiles)return i.editor.createModel(this._libFiles[t.path.slice(1)],\"typescript\",t);const s=K.getExtraLibs()[e];return s?i.editor.createModel(s.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}},$=class extends w{constructor(t,r,s,a){super(a);_(this,\"_disposables\",[]);_(this,\"_listener\",Object.create(null));this._libFiles=t,this._defaults=r,this._selector=s;const u=n=>{if(n.getLanguageId()!==s)return;const p=()=>{const{onlyVisible:y}=this._defaults.getDiagnosticsOptions();y?n.isAttachedToEditor()&&this._doValidate(n):this._doValidate(n)};let d;const f=n.onDidChangeContent(()=>{clearTimeout(d),d=window.setTimeout(p,500)}),b=n.onDidChangeAttached(()=>{const{onlyVisible:y}=this._defaults.getDiagnosticsOptions();y&&(n.isAttachedToEditor()?p():i.editor.setModelMarkers(n,this._selector,[]))});this._listener[n.uri.toString()]={dispose(){f.dispose(),b.dispose(),clearTimeout(d)}},p()},c=n=>{i.editor.setModelMarkers(n,this._selector,[]);const p=n.uri.toString();this._listener[p]&&(this._listener[p].dispose(),delete this._listener[p])};this._disposables.push(i.editor.onDidCreateModel(n=>u(n))),this._disposables.push(i.editor.onWillDisposeModel(c)),this._disposables.push(i.editor.onDidChangeModelLanguage(n=>{c(n.model),u(n.model)})),this._disposables.push({dispose(){for(const n of i.editor.getModels())c(n)}});const g=()=>{for(const n of i.editor.getModels())c(n),u(n)};this._disposables.push(this._defaults.onDidChange(g)),this._disposables.push(this._defaults.onDidExtraLibsChange(g)),i.editor.getModels().forEach(n=>u(n))}dispose(){this._disposables.forEach(t=>t&&t.dispose()),this._disposables=[]}async _doValidate(t){const r=await this._worker(t.uri);if(t.isDisposed())return;const s=[],{noSyntaxValidation:a,noSemanticValidation:u,noSuggestionDiagnostics:c}=this._defaults.getDiagnosticsOptions();a||s.push(r.getSyntacticDiagnostics(t.uri.toString())),u||s.push(r.getSemanticDiagnostics(t.uri.toString())),c||s.push(r.getSuggestionDiagnostics(t.uri.toString()));const g=await Promise.all(s);if(!g||t.isDisposed())return;const n=g.reduce((d,f)=>f.concat(d),[]).filter(d=>(this._defaults.getDiagnosticsOptions().diagnosticCodesToIgnore||[]).indexOf(d.code)===-1),p=n.map(d=>d.relatedInformation||[]).reduce((d,f)=>f.concat(d),[]).map(d=>d.file?i.Uri.parse(d.file.fileName):null);await this._libFiles.fetchLibFilesIfNecessary(p),!t.isDisposed()&&i.editor.setModelMarkers(t,this._selector,n.map(d=>this._convertDiagnostics(t,d)))}_convertDiagnostics(t,r){const s=r.start||0,a=r.length||1,{lineNumber:u,column:c}=t.getPositionAt(s),{lineNumber:g,column:n}=t.getPositionAt(s+a),p=[];return r.reportsUnnecessary&&p.push(i.MarkerTag.Unnecessary),r.reportsDeprecated&&p.push(i.MarkerTag.Deprecated),{severity:this._tsDiagnosticCategoryToMarkerSeverity(r.category),startLineNumber:u,startColumn:c,endLineNumber:g,endColumn:n,message:F(r.messageText,`\n`),code:r.code.toString(),tags:p,relatedInformation:this._convertRelatedInformation(t,r.relatedInformation)}}_convertRelatedInformation(t,r){if(!r)return[];const s=[];return r.forEach(a=>{let u=t;if(a.file&&(u=this._libFiles.getOrCreateModel(a.file.fileName)),!u)return;const c=a.start||0,g=a.length||1,{lineNumber:n,column:p}=u.getPositionAt(c),{lineNumber:d,column:f}=u.getPositionAt(c+g);s.push({resource:u.uri,startLineNumber:n,startColumn:p,endLineNumber:d,endColumn:f,message:F(a.messageText,`\n`)})}),s}_tsDiagnosticCategoryToMarkerSeverity(t){switch(t){case 1:return i.MarkerSeverity.Error;case 3:return i.MarkerSeverity.Info;case 0:return i.MarkerSeverity.Warning;case 2:return i.MarkerSeverity.Hint}return i.MarkerSeverity.Info}},D=class extends w{get triggerCharacters(){return[\".\"]}async provideCompletionItems(e,t,r,s){const a=e.getWordUntilPosition(t),u=new i.Range(t.lineNumber,a.startColumn,t.lineNumber,a.endColumn),c=e.uri,g=e.getOffsetAt(t),n=await this._worker(c);if(e.isDisposed())return;const p=await n.getCompletionsAtPosition(c.toString(),g);return!p||e.isDisposed()?void 0:{suggestions:p.entries.map(f=>{var x;let b=u;if(f.replacementSpan){const v=e.getPositionAt(f.replacementSpan.start),C=e.getPositionAt(f.replacementSpan.start+f.replacementSpan.length);b=new i.Range(v.lineNumber,v.column,C.lineNumber,C.column)}const y=[];return((x=f.kindModifiers)==null?void 0:x.indexOf(\"deprecated\"))!==-1&&y.push(i.languages.CompletionItemTag.Deprecated),{uri:c,position:t,offset:g,range:b,label:f.name,insertText:f.name,sortText:f.sortText,kind:D.convertKind(f.kind),tags:y}})}}async resolveCompletionItem(e,t){const r=e,s=r.uri,a=r.position,u=r.offset,g=await(await this._worker(s)).getCompletionEntryDetails(s.toString(),u,r.label);return g?{uri:s,position:a,label:g.name,kind:D.convertKind(g.kind),detail:k(g.displayParts),documentation:{value:D.createDocumentationString(g)}}:r}static convertKind(e){switch(e){case l.primitiveType:case l.keyword:return i.languages.CompletionItemKind.Keyword;case l.variable:case l.localVariable:return i.languages.CompletionItemKind.Variable;case l.memberVariable:case l.memberGetAccessor:case l.memberSetAccessor:return i.languages.CompletionItemKind.Field;case l.function:case l.memberFunction:case l.constructSignature:case l.callSignature:case l.indexSignature:return i.languages.CompletionItemKind.Function;case l.enum:return i.languages.CompletionItemKind.Enum;case l.module:return i.languages.CompletionItemKind.Module;case l.class:return i.languages.CompletionItemKind.Class;case l.interface:return i.languages.CompletionItemKind.Interface;case l.warning:return i.languages.CompletionItemKind.File}return i.languages.CompletionItemKind.Property}static createDocumentationString(e){let t=k(e.documentation);if(e.tags)for(const r of e.tags)t+=`\n\n${P(r)}`;return t}};function P(e){let t=`*@${e.name}*`;if(e.name===\"param\"&&e.text){const[r,...s]=e.text;t+=`\\`${r.text}\\``,s.length>0&&(t+=` \\u2014 ${s.map(a=>a.text).join(\" \")}`)}else Array.isArray(e.text)?t+=` \\u2014 ${e.text.map(r=>r.text).join(\" \")}`:e.text&&(t+=` \\u2014 ${e.text}`);return t}var O=class extends w{constructor(){super(...arguments);_(this,\"signatureHelpTriggerCharacters\",[\"(\",\",\"])}static _toSignatureHelpTriggerReason(t){switch(t.triggerKind){case i.languages.SignatureHelpTriggerKind.TriggerCharacter:return t.triggerCharacter?t.isRetrigger?{kind:\"retrigger\",triggerCharacter:t.triggerCharacter}:{kind:\"characterTyped\",triggerCharacter:t.triggerCharacter}:{kind:\"invoked\"};case i.languages.SignatureHelpTriggerKind.ContentChange:return t.isRetrigger?{kind:\"retrigger\"}:{kind:\"invoked\"};case i.languages.SignatureHelpTriggerKind.Invoke:default:return{kind:\"invoked\"}}}async provideSignatureHelp(t,r,s,a){const u=t.uri,c=t.getOffsetAt(r),g=await this._worker(u);if(t.isDisposed())return;const n=await g.getSignatureHelpItems(u.toString(),c,{triggerReason:O._toSignatureHelpTriggerReason(a)});if(!n||t.isDisposed())return;const p={activeSignature:n.selectedItemIndex,activeParameter:n.argumentIndex,signatures:[]};return n.items.forEach(d=>{const f={label:\"\",parameters:[]};f.documentation={value:k(d.documentation)},f.label+=k(d.prefixDisplayParts),d.parameters.forEach((b,y,x)=>{const v=k(b.displayParts),C={label:v,documentation:{value:k(b.documentation)}};f.label+=v,f.parameters.push(C),y<x.length-1&&(f.label+=k(d.separatorDisplayParts))}),f.label+=k(d.suffixDisplayParts),p.signatures.push(f)}),{value:p,dispose(){}}}},z=class extends w{async provideHover(e,t,r){const s=e.uri,a=e.getOffsetAt(t),u=await this._worker(s);if(e.isDisposed())return;const c=await u.getQuickInfoAtPosition(s.toString(),a);if(!c||e.isDisposed())return;const g=k(c.documentation),n=c.tags?c.tags.map(d=>P(d)).join(`  \n\n`):\"\",p=k(c.displayParts);return{range:this._textSpanToRange(e,c.textSpan),contents:[{value:\"```typescript\\n\"+p+\"\\n```\\n\"},{value:g+(n?`\n\n`+n:\"\")}]}}},G=class extends w{async provideDocumentHighlights(e,t,r){const s=e.uri,a=e.getOffsetAt(t),u=await this._worker(s);if(e.isDisposed())return;const c=await u.getOccurrencesAtPosition(s.toString(),a);if(!(!c||e.isDisposed()))return c.map(g=>({range:this._textSpanToRange(e,g.textSpan),kind:g.isWriteAccess?i.languages.DocumentHighlightKind.Write:i.languages.DocumentHighlightKind.Text}))}},J=class extends w{constructor(e,t){super(t),this._libFiles=e}async provideDefinition(e,t,r){const s=e.uri,a=e.getOffsetAt(t),u=await this._worker(s);if(e.isDisposed())return;const c=await u.getDefinitionAtPosition(s.toString(),a);if(!c||e.isDisposed()||(await this._libFiles.fetchLibFilesIfNecessary(c.map(n=>i.Uri.parse(n.fileName))),e.isDisposed()))return;const g=[];for(let n of c){const p=this._libFiles.getOrCreateModel(n.fileName);p&&g.push({uri:p.uri,range:this._textSpanToRange(p,n.textSpan)})}return g}},Q=class extends w{constructor(e,t){super(t),this._libFiles=e}async provideReferences(e,t,r,s){const a=e.uri,u=e.getOffsetAt(t),c=await this._worker(a);if(e.isDisposed())return;const g=await c.getReferencesAtPosition(a.toString(),u);if(!g||e.isDisposed()||(await this._libFiles.fetchLibFilesIfNecessary(g.map(p=>i.Uri.parse(p.fileName))),e.isDisposed()))return;const n=[];for(let p of g){const d=this._libFiles.getOrCreateModel(p.fileName);d&&n.push({uri:d.uri,range:this._textSpanToRange(d,p.textSpan)})}return n}},q=class extends w{async provideDocumentSymbols(e,t){const r=e.uri,s=await this._worker(r);if(e.isDisposed())return;const a=await s.getNavigationBarItems(r.toString());if(!a||e.isDisposed())return;const u=(g,n,p)=>{let d={name:n.text,detail:\"\",kind:m[n.kind]||i.languages.SymbolKind.Variable,range:this._textSpanToRange(e,n.spans[0]),selectionRange:this._textSpanToRange(e,n.spans[0]),tags:[]};if(p&&(d.containerName=p),n.childItems&&n.childItems.length>0)for(let f of n.childItems)u(g,f,d.name);g.push(d)};let c=[];return a.forEach(g=>u(c,g)),c}},l=class{};h(l,\"unknown\",\"\");h(l,\"keyword\",\"keyword\");h(l,\"script\",\"script\");h(l,\"module\",\"module\");h(l,\"class\",\"class\");h(l,\"interface\",\"interface\");h(l,\"type\",\"type\");h(l,\"enum\",\"enum\");h(l,\"variable\",\"var\");h(l,\"localVariable\",\"local var\");h(l,\"function\",\"function\");h(l,\"localFunction\",\"local function\");h(l,\"memberFunction\",\"method\");h(l,\"memberGetAccessor\",\"getter\");h(l,\"memberSetAccessor\",\"setter\");h(l,\"memberVariable\",\"property\");h(l,\"constructorImplementation\",\"constructor\");h(l,\"callSignature\",\"call\");h(l,\"indexSignature\",\"index\");h(l,\"constructSignature\",\"construct\");h(l,\"parameter\",\"parameter\");h(l,\"typeParameter\",\"type parameter\");h(l,\"primitiveType\",\"primitive type\");h(l,\"label\",\"label\");h(l,\"alias\",\"alias\");h(l,\"const\",\"const\");h(l,\"let\",\"let\");h(l,\"warning\",\"warning\");var m=Object.create(null);m[l.module]=i.languages.SymbolKind.Module;m[l.class]=i.languages.SymbolKind.Class;m[l.enum]=i.languages.SymbolKind.Enum;m[l.interface]=i.languages.SymbolKind.Interface;m[l.memberFunction]=i.languages.SymbolKind.Method;m[l.memberVariable]=i.languages.SymbolKind.Property;m[l.memberGetAccessor]=i.languages.SymbolKind.Property;m[l.memberSetAccessor]=i.languages.SymbolKind.Property;m[l.variable]=i.languages.SymbolKind.Variable;m[l.const]=i.languages.SymbolKind.Variable;m[l.localVariable]=i.languages.SymbolKind.Variable;m[l.variable]=i.languages.SymbolKind.Variable;m[l.function]=i.languages.SymbolKind.Function;m[l.localFunction]=i.languages.SymbolKind.Function;var S=class extends w{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)}}},X=class extends S{async provideDocumentRangeFormattingEdits(e,t,r,s){const a=e.uri,u=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),c=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),g=await this._worker(a);if(e.isDisposed())return;const n=await g.getFormattingEditsForRange(a.toString(),u,c,S._convertOptions(r));if(!(!n||e.isDisposed()))return n.map(p=>this._convertTextChanges(e,p))}},Y=class extends S{get autoFormatTriggerCharacters(){return[\";\",\"}\",`\n`]}async provideOnTypeFormattingEdits(e,t,r,s,a){const u=e.uri,c=e.getOffsetAt(t),g=await this._worker(u);if(e.isDisposed())return;const n=await g.getFormattingEditsAfterKeystroke(u.toString(),c,r,S._convertOptions(s));if(!(!n||e.isDisposed()))return n.map(p=>this._convertTextChanges(e,p))}},Z=class extends S{async provideCodeActions(e,t,r,s){const a=e.uri,u=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),c=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),g=S._convertOptions(e.getOptions()),n=r.markers.filter(b=>b.code).map(b=>b.code).map(Number),p=await this._worker(a);if(e.isDisposed())return;const d=await p.getCodeFixesAtPosition(a.toString(),u,c,n,g);return!d||e.isDisposed()?{actions:[],dispose:()=>{}}:{actions:d.filter(b=>b.changes.filter(y=>y.isNewFile).length===0).map(b=>this._tsCodeFixActionToMonacoCodeAction(e,r,b)),dispose:()=>{}}}_tsCodeFixActionToMonacoCodeAction(e,t,r){const s=[];for(const u of r.changes)for(const c of u.textChanges)s.push({resource:e.uri,edit:{range:this._textSpanToRange(e,c.span),text:c.newText}});return{title:r.description,edit:{edits:s},diagnostics:t.markers,kind:\"quickfix\"}}},ee=class extends w{constructor(e,t){super(t),this._libFiles=e}async provideRenameEdits(e,t,r,s){const a=e.uri,u=a.toString(),c=e.getOffsetAt(t),g=await this._worker(a);if(e.isDisposed())return;const n=await g.getRenameInfo(u,c,{allowRenameOfImportPath:!1});if(n.canRename===!1)return{edits:[],rejectReason:n.localizedErrorMessage};if(n.fileToRename!==void 0)throw new Error(\"Renaming files is not supported.\");const p=await g.findRenameLocations(u,c,!1,!1,!1);if(!p||e.isDisposed())return;const d=[];for(const f of p){const b=this._libFiles.getOrCreateModel(f.fileName);if(b)d.push({resource:b.uri,edit:{range:this._textSpanToRange(b,f.textSpan),text:r}});else throw new Error(`Unknown file ${f.fileName}.`)}return{edits:d}}},te=class extends w{async provideInlayHints(e,t,r){const s=e.uri,a=s.toString(),u=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),c=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),g=await this._worker(s);return e.isDisposed()?null:{hints:(await g.provideInlayHints(a,u,c)).map(d=>({...d,label:d.text,position:e.getPositionAt(d.position),kind:this._convertHintKind(d.kind)})),dispose:()=>{}}}_convertHintKind(e){switch(e){case\"Parameter\":return i.languages.InlayHintKind.Parameter;case\"Type\":return i.languages.InlayHintKind.Type;default:return i.languages.InlayHintKind.Type}}},A,T;function ne(e){T=I(e,\"typescript\")}function ae(e){A=I(e,\"javascript\")}function oe(){return new Promise((e,t)=>{if(!A)return t(\"JavaScript not registered!\");e(A)})}function le(){return new Promise((e,t)=>{if(!T)return t(\"TypeScript not registered!\");e(T)})}function I(e,t){const r=new B(t,e),s=(...u)=>r.getLanguageServiceWorker(...u),a=new U(s);return i.languages.registerCompletionItemProvider(t,new D(s)),i.languages.registerSignatureHelpProvider(t,new O(s)),i.languages.registerHoverProvider(t,new z(s)),i.languages.registerDocumentHighlightProvider(t,new G(s)),i.languages.registerDefinitionProvider(t,new J(a,s)),i.languages.registerReferenceProvider(t,new Q(a,s)),i.languages.registerDocumentSymbolProvider(t,new q(s)),i.languages.registerDocumentRangeFormattingEditProvider(t,new X(s)),i.languages.registerOnTypeFormattingEditProvider(t,new Y(s)),i.languages.registerCodeActionProvider(t,new Z(s)),i.languages.registerRenameProvider(t,new ee(a,s)),i.languages.registerInlayHintsProvider(t,new te(s)),new $(a,e,t,s),s}export{w as Adapter,Z as CodeActionAdaptor,J as DefinitionAdapter,$ as DiagnosticsAdapter,X as FormatAdapter,S as FormatHelper,Y as FormatOnTypeAdapter,te as InlayHintsAdapter,l as Kind,U as LibFiles,G as OccurrencesAdapter,q as OutlineAdapter,z as QuickInfoAdapter,Q as ReferenceAdapter,ee as RenameAdapter,O as SignatureHelpAdapter,D as SuggestAdapter,B as WorkerManager,F as flattenDiagnosticMessageText,oe as getJavaScriptWorker,le as getTypeScriptWorker,ae as setupJavaScript,ne as setupTypeScript};\n"
  },
  {
    "path": "client/dist/assets/twig.79989254.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var t={wordPattern:/(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\$\\^\\&\\*\\(\\)\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\s]+)/g,comments:{blockComment:[\"{#\",\"#}\"]},brackets:[[\"{#\",\"#}\"],[\"{%\",\"%}\"],[\"{{\",\"}}\"],[\"(\",\")\"],[\"[\",\"]\"],[\"<!--\",\"-->\"],[\"<\",\">\"]],autoClosingPairs:[{open:\"{# \",close:\" #}\"},{open:\"{% \",close:\" %}\"},{open:\"{{ \",close:\" }}\"},{open:\"[\",close:\"]\"},{open:\"(\",close:\")\"},{open:'\"',close:'\"'},{open:\"'\",close:\"'\"}],surroundingPairs:[{open:'\"',close:'\"'},{open:\"'\",close:\"'\"},{open:\"<\",close:\">\"}]},e={defaultToken:\"\",tokenPostfix:\"\",ignoreCase:!0,keywords:[\"apply\",\"autoescape\",\"block\",\"deprecated\",\"do\",\"embed\",\"extends\",\"flush\",\"for\",\"from\",\"if\",\"import\",\"include\",\"macro\",\"sandbox\",\"set\",\"use\",\"verbatim\",\"with\",\"endapply\",\"endautoescape\",\"endblock\",\"endembed\",\"endfor\",\"endif\",\"endmacro\",\"endsandbox\",\"endset\",\"endwith\",\"true\",\"false\"],tokenizer:{root:[[/\\s+/],[/{#/,\"comment.twig\",\"@commentState\"],[/{%[-~]?/,\"delimiter.twig\",\"@blockState\"],[/{{[-~]?/,\"delimiter.twig\",\"@variableState\"],[/<!DOCTYPE/,\"metatag.html\",\"@doctype\"],[/<!--/,\"comment.html\",\"@comment\"],[/(<)((?:[\\w\\-]+:)?[\\w\\-]+)(\\s*)(\\/>)/,[\"delimiter.html\",\"tag.html\",\"\",\"delimiter.html\"]],[/(<)(script)/,[\"delimiter.html\",{token:\"tag.html\",next:\"@script\"}]],[/(<)(style)/,[\"delimiter.html\",{token:\"tag.html\",next:\"@style\"}]],[/(<)((?:[\\w\\-]+:)?[\\w\\-]+)/,[\"delimiter.html\",{token:\"tag.html\",next:\"@otherTag\"}]],[/(<\\/)((?:[\\w\\-]+:)?[\\w\\-]+)/,[\"delimiter.html\",{token:\"tag.html\",next:\"@otherTag\"}]],[/</,\"delimiter.html\"],[/[^<]+/]],commentState:[[/#}/,\"comment.twig\",\"@pop\"],[/./,\"comment.twig\"]],blockState:[[/[-~]?%}/,\"delimiter.twig\",\"@pop\"],[/\\s+/],[/(verbatim)(\\s*)([-~]?%})/,[\"keyword.twig\",\"\",{token:\"delimiter.twig\",next:\"@rawDataState\"}]],{include:\"expression\"}],rawDataState:[[/({%[-~]?)(\\s*)(endverbatim)(\\s*)([-~]?%})/,[\"delimiter.twig\",\"\",\"keyword.twig\",\"\",{token:\"delimiter.twig\",next:\"@popall\"}]],[/./,\"string.twig\"]],variableState:[[/[-~]?}}/,\"delimiter.twig\",\"@pop\"],{include:\"expression\"}],stringState:[[/\"/,\"string.twig\",\"@pop\"],[/#{\\s*/,\"string.twig\",\"@interpolationState\"],[/[^#\"\\\\]*(?:(?:\\\\.|#(?!\\{))[^#\"\\\\]*)*/,\"string.twig\"]],interpolationState:[[/}/,\"string.twig\",\"@pop\"],{include:\"expression\"}],expression:[[/\\s+/],[/\\+|-|\\/{1,2}|%|\\*{1,2}/,\"operators.twig\"],[/(and|or|not|b-and|b-xor|b-or)(\\s+)/,[\"operators.twig\",\"\"]],[/==|!=|<|>|>=|<=/,\"operators.twig\"],[/(starts with|ends with|matches)(\\s+)/,[\"operators.twig\",\"\"]],[/(in)(\\s+)/,[\"operators.twig\",\"\"]],[/(is)(\\s+)/,[\"operators.twig\",\"\"]],[/\\||~|:|\\.{1,2}|\\?{1,2}/,\"operators.twig\"],[/[^\\W\\d][\\w]*/,{cases:{\"@keywords\":\"keyword.twig\",\"@default\":\"variable.twig\"}}],[/\\d+(\\.\\d+)?/,\"number.twig\"],[/\\(|\\)|\\[|\\]|{|}|,/,\"delimiter.twig\"],[/\"([^#\"\\\\]*(?:\\\\.[^#\"\\\\]*)*)\"|\\'([^\\'\\\\]*(?:\\\\.[^\\'\\\\]*)*)\\'/,\"string.twig\"],[/\"/,\"string.twig\",\"@stringState\"],[/=>/,\"operators.twig\"],[/=/,\"operators.twig\"]],doctype:[[/[^>]+/,\"metatag.content.html\"],[/>/,\"metatag.html\",\"@pop\"]],comment:[[/-->/,\"comment.html\",\"@pop\"],[/[^-]+/,\"comment.content.html\"],[/./,\"comment.content.html\"]],otherTag:[[/\\/?>/,\"delimiter.html\",\"@pop\"],[/\"([^\"]*)\"/,\"attribute.value.html\"],[/'([^']*)'/,\"attribute.value.html\"],[/[\\w\\-]+/,\"attribute.name.html\"],[/=/,\"delimiter.html\"],[/[ \\t\\r\\n]+/]],script:[[/type/,\"attribute.name.html\",\"@scriptAfterType\"],[/\"([^\"]*)\"/,\"attribute.value.html\"],[/'([^']*)'/,\"attribute.value.html\"],[/[\\w\\-]+/,\"attribute.name.html\"],[/=/,\"delimiter.html\"],[/>/,{token:\"delimiter.html\",next:\"@scriptEmbedded\",nextEmbedded:\"text/javascript\"}],[/[ \\t\\r\\n]+/],[/(<\\/)(script\\s*)(>)/,[\"delimiter.html\",\"tag.html\",{token:\"delimiter.html\",next:\"@pop\"}]]],scriptAfterType:[[/=/,\"delimiter.html\",\"@scriptAfterTypeEquals\"],[/>/,{token:\"delimiter.html\",next:\"@scriptEmbedded\",nextEmbedded:\"text/javascript\"}],[/[ \\t\\r\\n]+/],[/<\\/script\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],scriptAfterTypeEquals:[[/\"([^\"]*)\"/,{token:\"attribute.value.html\",switchTo:\"@scriptWithCustomType.$1\"}],[/'([^']*)'/,{token:\"attribute.value.html\",switchTo:\"@scriptWithCustomType.$1\"}],[/>/,{token:\"delimiter.html\",next:\"@scriptEmbedded\",nextEmbedded:\"text/javascript\"}],[/[ \\t\\r\\n]+/],[/<\\/script\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],scriptWithCustomType:[[/>/,{token:\"delimiter.html\",next:\"@scriptEmbedded.$S2\",nextEmbedded:\"$S2\"}],[/\"([^\"]*)\"/,\"attribute.value.html\"],[/'([^']*)'/,\"attribute.value.html\"],[/[\\w\\-]+/,\"attribute.name.html\"],[/=/,\"delimiter.html\"],[/[ \\t\\r\\n]+/],[/<\\/script\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],scriptEmbedded:[[/<\\/script/,{token:\"@rematch\",next:\"@pop\",nextEmbedded:\"@pop\"}],[/[^<]+/,\"\"]],style:[[/type/,\"attribute.name.html\",\"@styleAfterType\"],[/\"([^\"]*)\"/,\"attribute.value.html\"],[/'([^']*)'/,\"attribute.value.html\"],[/[\\w\\-]+/,\"attribute.name.html\"],[/=/,\"delimiter.html\"],[/>/,{token:\"delimiter.html\",next:\"@styleEmbedded\",nextEmbedded:\"text/css\"}],[/[ \\t\\r\\n]+/],[/(<\\/)(style\\s*)(>)/,[\"delimiter.html\",\"tag.html\",{token:\"delimiter.html\",next:\"@pop\"}]]],styleAfterType:[[/=/,\"delimiter.html\",\"@styleAfterTypeEquals\"],[/>/,{token:\"delimiter.html\",next:\"@styleEmbedded\",nextEmbedded:\"text/css\"}],[/[ \\t\\r\\n]+/],[/<\\/style\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],styleAfterTypeEquals:[[/\"([^\"]*)\"/,{token:\"attribute.value.html\",switchTo:\"@styleWithCustomType.$1\"}],[/'([^']*)'/,{token:\"attribute.value.html\",switchTo:\"@styleWithCustomType.$1\"}],[/>/,{token:\"delimiter.html\",next:\"@styleEmbedded\",nextEmbedded:\"text/css\"}],[/[ \\t\\r\\n]+/],[/<\\/style\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],styleWithCustomType:[[/>/,{token:\"delimiter.html\",next:\"@styleEmbedded.$S2\",nextEmbedded:\"$S2\"}],[/\"([^\"]*)\"/,\"attribute.value.html\"],[/'([^']*)'/,\"attribute.value.html\"],[/[\\w\\-]+/,\"attribute.name.html\"],[/=/,\"delimiter.html\"],[/[ \\t\\r\\n]+/],[/<\\/style\\s*>/,{token:\"@rematch\",next:\"@pop\"}]],styleEmbedded:[[/<\\/style/,{token:\"@rematch\",next:\"@pop\",nextEmbedded:\"@pop\"}],[/[^<]+/,\"\"]]}};export{t as conf,e as language};\n"
  },
  {
    "path": "client/dist/assets/typescript.0e1e0a69.js",
    "content": "import{m as s}from\"./HMonacoEditor.4fbcd301.js\";import\"./index.becaf6b8.js\";/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\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=(r,e,i,o)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let t of p(e))!g.call(r,t)&&(i||t!==\"default\")&&c(r,t,{get:()=>e[t],enumerable:!(o=a(e,t))||o.enumerable});return r},n={};l(n,s);var x={wordPattern:/(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)/g,comments:{lineComment:\"//\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"]],onEnterRules:[{beforeText:/^\\s*\\/\\*\\*(?!\\/)([^\\*]|\\*(?!\\/))*$/,afterText:/^\\s*\\*\\/$/,action:{indentAction:n.languages.IndentAction.IndentOutdent,appendText:\" * \"}},{beforeText:/^\\s*\\/\\*\\*(?!\\/)([^\\*]|\\*(?!\\/))*$/,action:{indentAction:n.languages.IndentAction.None,appendText:\" * \"}},{beforeText:/^(\\t|(\\ \\ ))*\\ \\*(\\ ([^\\*]|\\*(?!\\/))*)?$/,action:{indentAction:n.languages.IndentAction.None,appendText:\"* \"}},{beforeText:/^(\\t|(\\ \\ ))*\\ \\*\\/\\s*$/,action:{indentAction:n.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\")}}},b={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\",\"package\",\"private\",\"protected\",\"public\",\"override\",\"readonly\",\"require\",\"global\",\"return\",\"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{x as conf,b as language};\n"
  },
  {
    "path": "client/dist/assets/unauthorized.18917336.js",
    "content": "import{d as e,m as o,o as a,z as n,j as t,a6 as r}from\"./index.becaf6b8.js\";const d=e({__name:\"unauthorized\",setup(s){return o(()=>{console.log(\"unauthorized layout used\")}),(u,c)=>(a(),n(t(r)))}});export{d as default};\n"
  },
  {
    "path": "client/dist/assets/vb.cce9947c.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={comments:{lineComment:\"'\",blockComment:[\"/*\",\"*/\"]},brackets:[[\"{\",\"}\"],[\"[\",\"]\"],[\"(\",\")\"],[\"<\",\">\"],[\"addhandler\",\"end addhandler\"],[\"class\",\"end class\"],[\"enum\",\"end enum\"],[\"event\",\"end event\"],[\"function\",\"end function\"],[\"get\",\"end get\"],[\"if\",\"end if\"],[\"interface\",\"end interface\"],[\"module\",\"end module\"],[\"namespace\",\"end namespace\"],[\"operator\",\"end operator\"],[\"property\",\"end property\"],[\"raiseevent\",\"end raiseevent\"],[\"removehandler\",\"end removehandler\"],[\"select\",\"end select\"],[\"set\",\"end set\"],[\"structure\",\"end structure\"],[\"sub\",\"end sub\"],[\"synclock\",\"end synclock\"],[\"try\",\"end try\"],[\"while\",\"end while\"],[\"with\",\"end with\"],[\"using\",\"end using\"],[\"do\",\"loop\"],[\"for\",\"next\"]],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\"]}],folding:{markers:{start:new RegExp(\"^\\\\s*#Region\\\\b\"),end:new RegExp(\"^\\\\s*#End Region\\\\b\")}}},n={defaultToken:\"\",tokenPostfix:\".vb\",ignoreCase:!0,brackets:[{token:\"delimiter.bracket\",open:\"{\",close:\"}\"},{token:\"delimiter.array\",open:\"[\",close:\"]\"},{token:\"delimiter.parenthesis\",open:\"(\",close:\")\"},{token:\"delimiter.angle\",open:\"<\",close:\">\"},{token:\"keyword.tag-addhandler\",open:\"addhandler\",close:\"end addhandler\"},{token:\"keyword.tag-class\",open:\"class\",close:\"end class\"},{token:\"keyword.tag-enum\",open:\"enum\",close:\"end enum\"},{token:\"keyword.tag-event\",open:\"event\",close:\"end event\"},{token:\"keyword.tag-function\",open:\"function\",close:\"end function\"},{token:\"keyword.tag-get\",open:\"get\",close:\"end get\"},{token:\"keyword.tag-if\",open:\"if\",close:\"end if\"},{token:\"keyword.tag-interface\",open:\"interface\",close:\"end interface\"},{token:\"keyword.tag-module\",open:\"module\",close:\"end module\"},{token:\"keyword.tag-namespace\",open:\"namespace\",close:\"end namespace\"},{token:\"keyword.tag-operator\",open:\"operator\",close:\"end operator\"},{token:\"keyword.tag-property\",open:\"property\",close:\"end property\"},{token:\"keyword.tag-raiseevent\",open:\"raiseevent\",close:\"end raiseevent\"},{token:\"keyword.tag-removehandler\",open:\"removehandler\",close:\"end removehandler\"},{token:\"keyword.tag-select\",open:\"select\",close:\"end select\"},{token:\"keyword.tag-set\",open:\"set\",close:\"end set\"},{token:\"keyword.tag-structure\",open:\"structure\",close:\"end structure\"},{token:\"keyword.tag-sub\",open:\"sub\",close:\"end sub\"},{token:\"keyword.tag-synclock\",open:\"synclock\",close:\"end synclock\"},{token:\"keyword.tag-try\",open:\"try\",close:\"end try\"},{token:\"keyword.tag-while\",open:\"while\",close:\"end while\"},{token:\"keyword.tag-with\",open:\"with\",close:\"end with\"},{token:\"keyword.tag-using\",open:\"using\",close:\"end using\"},{token:\"keyword.tag-do\",open:\"do\",close:\"loop\"},{token:\"keyword.tag-for\",open:\"for\",close:\"next\"}],keywords:[\"AddHandler\",\"AddressOf\",\"Alias\",\"And\",\"AndAlso\",\"As\",\"Async\",\"Boolean\",\"ByRef\",\"Byte\",\"ByVal\",\"Call\",\"Case\",\"Catch\",\"CBool\",\"CByte\",\"CChar\",\"CDate\",\"CDbl\",\"CDec\",\"Char\",\"CInt\",\"Class\",\"CLng\",\"CObj\",\"Const\",\"Continue\",\"CSByte\",\"CShort\",\"CSng\",\"CStr\",\"CType\",\"CUInt\",\"CULng\",\"CUShort\",\"Date\",\"Decimal\",\"Declare\",\"Default\",\"Delegate\",\"Dim\",\"DirectCast\",\"Do\",\"Double\",\"Each\",\"Else\",\"ElseIf\",\"End\",\"EndIf\",\"Enum\",\"Erase\",\"Error\",\"Event\",\"Exit\",\"False\",\"Finally\",\"For\",\"Friend\",\"Function\",\"Get\",\"GetType\",\"GetXMLNamespace\",\"Global\",\"GoSub\",\"GoTo\",\"Handles\",\"If\",\"Implements\",\"Imports\",\"In\",\"Inherits\",\"Integer\",\"Interface\",\"Is\",\"IsNot\",\"Let\",\"Lib\",\"Like\",\"Long\",\"Loop\",\"Me\",\"Mod\",\"Module\",\"MustInherit\",\"MustOverride\",\"MyBase\",\"MyClass\",\"NameOf\",\"Namespace\",\"Narrowing\",\"New\",\"Next\",\"Not\",\"Nothing\",\"NotInheritable\",\"NotOverridable\",\"Object\",\"Of\",\"On\",\"Operator\",\"Option\",\"Optional\",\"Or\",\"OrElse\",\"Out\",\"Overloads\",\"Overridable\",\"Overrides\",\"ParamArray\",\"Partial\",\"Private\",\"Property\",\"Protected\",\"Public\",\"RaiseEvent\",\"ReadOnly\",\"ReDim\",\"RemoveHandler\",\"Resume\",\"Return\",\"SByte\",\"Select\",\"Set\",\"Shadows\",\"Shared\",\"Short\",\"Single\",\"Static\",\"Step\",\"Stop\",\"String\",\"Structure\",\"Sub\",\"SyncLock\",\"Then\",\"Throw\",\"To\",\"True\",\"Try\",\"TryCast\",\"TypeOf\",\"UInteger\",\"ULong\",\"UShort\",\"Using\",\"Variant\",\"Wend\",\"When\",\"While\",\"Widening\",\"With\",\"WithEvents\",\"WriteOnly\",\"Xor\"],tagwords:[\"If\",\"Sub\",\"Select\",\"Try\",\"Class\",\"Enum\",\"Function\",\"Get\",\"Interface\",\"Module\",\"Namespace\",\"Operator\",\"Set\",\"Structure\",\"Using\",\"While\",\"With\",\"Do\",\"Loop\",\"For\",\"Next\",\"Property\",\"Continue\",\"AddHandler\",\"RemoveHandler\",\"Event\",\"RaiseEvent\",\"SyncLock\"],symbols:/[=><!~?;\\.,:&|+\\-*\\/\\^%]+/,integersuffix:/U?[DI%L&S@]?/,floatsuffix:/[R#F!]?/,tokenizer:{root:[{include:\"@whitespace\"},[/next(?!\\w)/,{token:\"keyword.tag-for\"}],[/loop(?!\\w)/,{token:\"keyword.tag-do\"}],[/end\\s+(?!for|do)(addhandler|class|enum|event|function|get|if|interface|module|namespace|operator|property|raiseevent|removehandler|select|set|structure|sub|synclock|try|while|with|using)/,{token:\"keyword.tag-$1\"}],[/[a-zA-Z_]\\w*/,{cases:{\"@tagwords\":{token:\"keyword.tag-$0\"},\"@keywords\":{token:\"keyword.$0\"},\"@default\":\"identifier\"}}],[/^\\s*#\\w+/,\"keyword\"],[/\\d*\\d+e([\\-+]?\\d+)?(@floatsuffix)/,\"number.float\"],[/\\d*\\.\\d+(e[\\-+]?\\d+)?(@floatsuffix)/,\"number.float\"],[/&H[0-9a-f]+(@integersuffix)/,\"number.hex\"],[/&0[0-7]+(@integersuffix)/,\"number.octal\"],[/\\d+(@integersuffix)/,\"number\"],[/#.*#/,\"number\"],[/[{}()\\[\\]]/,\"@brackets\"],[/@symbols/,\"delimiter\"],[/[\"\\u201c\\u201d]/,{token:\"string.quote\",next:\"@string\"}]],whitespace:[[/[ \\t\\r\\n]+/,\"\"],[/(\\'|REM(?!\\w)).*$/,\"comment\"]],string:[[/[^\"\\u201c\\u201d]+/,\"string\"],[/[\"\\u201c\\u201d]{2}/,\"string.escape\"],[/[\"\\u201c\\u201d]C?/,{token:\"string.quote\",next:\"@pop\"}]]}};export{e as conf,n as language};\n"
  },
  {
    "path": "client/dist/assets/xml.7fe3cde4.js",
    "content": "import{m as r}from\"./HMonacoEditor.4fbcd301.js\";import\"./index.becaf6b8.js\";/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var m=Object.defineProperty,c=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,s=(n,e,i,a)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let t of l(e))!p.call(n,t)&&(i||t!==\"default\")&&m(n,t,{get:()=>e[t],enumerable:!(a=c(e,t))||a.enumerable});return n},o={};s(o,r);var f={comments:{blockComment:[\"<!--\",\"-->\"]},brackets:[[\"<\",\">\"]],autoClosingPairs:[{open:\"<\",close:\">\"},{open:\"'\",close:\"'\"},{open:'\"',close:'\"'}],surroundingPairs:[{open:\"<\",close:\">\"},{open:\"'\",close:\"'\"},{open:'\"',close:'\"'}],onEnterRules:[{beforeText:new RegExp(\"<([_:\\\\w][_:\\\\w-.\\\\d]*)([^/>]*(?!/)>)[^<]*$\",\"i\"),afterText:/^<\\/([_:\\w][_:\\w-.\\d]*)\\s*>$/i,action:{indentAction:o.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(\"<(\\\\w[\\\\w\\\\d]*)([^/>]*(?!/)>)[^<]*$\",\"i\"),action:{indentAction:o.languages.IndentAction.Indent}}]},g={defaultToken:\"\",tokenPostfix:\".xml\",ignoreCase:!0,qualifiedName:/(?:[\\w\\.\\-]+:)?[\\w\\.\\-]+/,tokenizer:{root:[[/[^<&]+/,\"\"],{include:\"@whitespace\"},[/(<)(@qualifiedName)/,[{token:\"delimiter\"},{token:\"tag\",next:\"@tag\"}]],[/(<\\/)(@qualifiedName)(\\s*)(>)/,[{token:\"delimiter\"},{token:\"tag\"},\"\",{token:\"delimiter\"}]],[/(<\\?)(@qualifiedName)/,[{token:\"delimiter\"},{token:\"metatag\",next:\"@tag\"}]],[/(<\\!)(@qualifiedName)/,[{token:\"delimiter\"},{token:\"metatag\",next:\"@tag\"}]],[/<\\!\\[CDATA\\[/,{token:\"delimiter.cdata\",next:\"@cdata\"}],[/&\\w+;/,\"string.escape\"]],cdata:[[/[^\\]]+/,\"\"],[/\\]\\]>/,{token:\"delimiter.cdata\",next:\"@pop\"}],[/\\]/,\"\"]],tag:[[/[ \\t\\r\\n]+/,\"\"],[/(@qualifiedName)(\\s*=\\s*)(\"[^\"]*\"|'[^']*')/,[\"attribute.name\",\"\",\"attribute.value\"]],[/(@qualifiedName)(\\s*=\\s*)(\"[^\">?\\/]*|'[^'>?\\/]*)(?=[\\?\\/]\\>)/,[\"attribute.name\",\"\",\"attribute.value\"]],[/(@qualifiedName)(\\s*=\\s*)(\"[^\">]*|'[^'>]*)/,[\"attribute.name\",\"\",\"attribute.value\"]],[/@qualifiedName/,\"attribute.name\"],[/\\?>/,{token:\"delimiter\",next:\"@pop\"}],[/(\\/)(>)/,[{token:\"tag\"},{token:\"delimiter\",next:\"@pop\"}]],[/>/,{token:\"delimiter\",next:\"@pop\"}]],whitespace:[[/[ \\t\\r\\n]+/,\"\"],[/<!--/,{token:\"comment\",next:\"@comment\"}]],comment:[[/[^<\\-]+/,\"comment.content\"],[/-->/,{token:\"comment\",next:\"@pop\"}],[/<!--/,\"comment.content.invalid\"],[/[<\\-]/,\"comment.content\"]]}};export{f as conf,g as language};\n"
  },
  {
    "path": "client/dist/assets/yaml.e0b57566.js",
    "content": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/var e={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}},n={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\"},[/[^#]+/,{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{e as conf,n as language};\n"
  },
  {
    "path": "client/dist/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"UTF-8\" />\n    <link rel=\"icon\" href=\"/favicon.ico\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n    <title>Hexon</title>\n    <script type=\"module\" crossorigin src=\"/assets/index.becaf6b8.js\"></script>\n    <link rel=\"stylesheet\" href=\"/assets/index.e0fa4e9b.css\">\n  </head>\n  <body>\n    <div id=\"app\"></div>\n    \n  </body>\n</html>\n"
  },
  {
    "path": "client/dist/robots.txt",
    "content": "User-agent: *\nDisallow: /\n"
  },
  {
    "path": "client/docs/HArticleItem.md",
    "content": "# HArticleItem\n\n## 基础\n\n<div class=\"h-container\">\n<HArticleItem :title=\"title\" :brief=\"brief\" :tags=\"tags\" :date=\"date\"></HArticleItem>\n<HArticleItem :title=\"title\" :brief=\"brief\" :tags=\"tags\" :date=\"date\"></HArticleItem>\n<HArticleItem :title=\"title\" :brief=\"brief\" :tags=\"tags\" :date=\"date\"></HArticleItem>\n</div>\n\n## 选中\n\n<div class=\"h-container\">\n<HArticleItem :title=\"title\" :brief=\"brief\" :tags=\"tags\" :date=\"date\" selected></HArticleItem>\n<HArticleItem :title=\"title\" :brief=\"brief\" :tags=\"tags\" :date=\"date\"></HArticleItem>\n<HArticleItem :title=\"title\" :brief=\"brief\" :tags=\"tags\" :date=\"date\"></HArticleItem>\n</div>\n\n## 没有简介\n\n<div class=\"h-container\">\n<HArticleItem :title=\"title\" :tags=\"tags\" :date=\"date\"></HArticleItem>\n<HArticleItem :title=\"title\" :tags=\"tags\" :date=\"date\"></HArticleItem>\n<HArticleItem :title=\"title\" :tags=\"tags\" :date=\"date\"></HArticleItem>\n</div>\n\n## 没有标签\n\n<div class=\"h-container\">\n<HArticleItem :title=\"title\" :brief=\"brief\" :date=\"date\"></HArticleItem>\n<HArticleItem :title=\"title\" :brief=\"brief\" :date=\"date\"></HArticleItem>\n<HArticleItem :title=\"title\" :brief=\"brief\" :date=\"date\"></HArticleItem>\n</div>\n\n<script setup>\nimport HArticleItem from '../src/components/HArticleItem.vue'\nimport { genArticle } from './helper'\nconst { title, brief, tags, date} = genArticle()\n</script>\n<style scope>\n.h-container{\n  background: var(--color-background-base2);\n  width: 300px;\n  padding: 10px\n}\n</style>\n"
  },
  {
    "path": "client/docs/HArticleList.md",
    "content": "# HArticleList\n\n<div class=\"h-container\">\n<HArticleList :articles=\"articles\" :selected=\"selected\" @on-click=\"onSelected\"></HArticleList>\n</div>\n\n<script setup>\nimport { ref } from 'vue'\nimport HArticleList from '../src/components/HArticleList.vue'\nimport { genArticles } from './helper'\nconst articles = ref(genArticles(5))\nconst selected = ref(articles.value[2].slug)\nconst onSelected = slug => { selected.value = slug }\n</script>\n<style scope>\n.h-container{\n  background: var(--color-background-base2);\n  width: 300px;\n}\n</style>\n"
  },
  {
    "path": "client/docs/HHeaderEditor.md",
    "content": "# HHeaderEditor\n\n## 基础\n\n<div class=\"border\">\n<HHeaderEditor :value=\"value\" @update:value=\"onUpdate\"></HHeaderEditor>\n</div>\n\n<script setup>\nimport { ref } from 'vue'\nimport HHeaderEditor from '../src/components/Editors/HHeaderEditor.vue'\nconst value = ref('Hello World')\nconst onUpdate = (v) => {\n  value.value = v\n}\n</script>\n"
  },
  {
    "path": "client/docs/HImage.md",
    "content": "# HImage\n\n## 不同大小\n\n<HImage :src=\"logo\" size=\"100px\"></HImage>\n<HImage :src=\"logo\" size=\"200px\"></HImage>\n<HImage :src=\"logo\" size=\"300px\"></HImage>\n\n<script setup>\nimport HImage from '../src/components/HImage.vue'\nimport logo from \"../src/assets/logo.svg\";\n</script>\n"
  },
  {
    "path": "client/docs/HInstallForm.md",
    "content": "# HInstallForm\n\n## 基础\n\n<div style=\"background-color:var(--color-primary-n);padding:20px;display:inline-block\">\n<HInstallForm name=\"HInstallForm\" @on-submit=\"onInstall\"></HInstallForm>\n</div>\n\n<script setup>\nimport HInstallForm from '../src/components/forms/HInstallForm.vue'\nconst onInstall = (payload)=> {\n  console.log(payload);\n}\n</script>\n"
  },
  {
    "path": "client/docs/HLoginForm.md",
    "content": "# HLoginForm\n\n## 基础\n\n<div style=\"background-color:var(--color-background-base3);padding:20px;display:inline-block\">\n<HLoginForm name=\"HLoginForm\" @on-submit=\"onSignin\"></HLoginForm>\n</div>\n\n<script setup>\nimport HLoginForm from '../src/components/forms/HLoginForm.vue'\nconst onSignin = (payload)=> {\n  console.log(payload);\n}\n</script>\n"
  },
  {
    "path": "client/docs/HMonacoEditor.md",
    "content": "# HMonacoEditor\n\n## 基础\n\n<div class=\"w-full h-80 border\">\n<HMonacoEditor :value=\"content\" :id=\"source\"/>\n</div>\n\n<script setup>\nimport { ref } from 'vue'\nimport HMonacoEditor from '../src/components/Editors/HMonacoEditor.vue'\nimport markdown from './hexo-example'\nconst content = ref(markdown.split('---')[2].trim())\nconst source = ref('12')\n</script>\n"
  },
  {
    "path": "client/docs/HNavList.md",
    "content": "# HNavList\n\n## 基础\n\n<div style=\"background-color:var(--color-background-base3);display:inline-block;width:200px\">\n<HNavList :categories=\"categories\" :page=\"0\" :post=\"0\" :draft=\"0\"></HNavList>\n</div>\n\n<script setup>\nimport { ref } from 'vue'\nimport HNavList from '../src/components/HNavList.vue'\nconst categories = ref([\n  {\n    name: \"CA\",\n    key: \"CA\",\n    posts: [1,2],\n    children: [\n      { name: \"CA1\", key: \"CA1\", posts: [1,2] },\n      { name: \"CA2\", key: \"CA2\", posts: [1,2] },\n    ],\n  },\n])\n</script>\n"
  },
  {
    "path": "client/docs/HNavSetting.md",
    "content": "# HNavSetting\n\n## 基础\n\n<div style=\"background-color:var(--color-background-base3);display:inline-block;width:200px\">\n<HNavSetting></HNavSetting>\n</div>\n\n## 用户名\n\n<div style=\"background-color:var(--color-background-base3);display:inline-block;width:200px\">\n<HNavSetting name=\"小王\"></HNavSetting>\n</div>\n\n## 使用 icon\n\n<div style=\"background-color:var(--color-background-base3);display:inline-block;width:200px\">\n<HNavSetting name=\"小王\" icon></HNavSetting>\n</div>\n\n## 模态窗\n\n<div style=\"background-color:var(--color-background-base3);display:inline-block;width:200px\">\n<HNavSetting name=\"小王\" icon @click=\"onClick\">\n<HModal :show=\"show\">\n<div style=\"height:100px; width:200px; background: white;\" class=\"flex items-center justify-center\">\n<HButton @click=\"onClose\">\n关闭\n</HButton>\n</div>\n</HModal>\n</HNavSetting>\n</div>\n\n<script setup>\nimport { ref } from 'vue'\nimport HNavSetting from '../src/components/HNavSetting.vue'\nimport HButton from '../src/components/HButton.vue'\nimport HModal from '../src/components/HModal.vue'\nconst show = ref(false)\nconst onClick = () => { show.value = true }\nconst onClose = () => { show.value = false }\n</script>\n"
  },
  {
    "path": "client/docs/HNotification.md",
    "content": "# HNotification\n\n## 基础\n\n<HNotification type=\"fixed\" :z-index=\"9999\"></HNotification>\n<HButton @click=\"info\">info</HButton>\n<HButton @click=\"success\" type=\"success\">success</HButton>\n<HButton @click=\"warning\" type=\"warning\">warning</HButton>\n<HButton @click=\"error\" type=\"error\">error</HButton>&nbsp\n\n## 可点击\n\n<HButton @click=\"click\">click</HButton>\n\n## 控制\n\n<HButton @click=\"close\" >close</HButton>\n\n## 永久\n\n<HButton @click=\"permanent\">permanent</HButton>\n\n## 不同位置\n\n<HButton @click=\"tl\">左上</HButton>\n<HButton @click=\"t\">上</HButton>\n<HButton @click=\"tr\">右上</HButton>\n<HButton @click=\"bl\">左下</HButton>\n<HButton @click=\"b\">下</HButton>\n<HButton @click=\"br\">右下</HButton>\n\n<script setup>\nimport { computed } from 'vue'\nimport HButton from '~/components/HButton.vue'\nimport HNotification from '~/components/HNotification/HNotification.vue'\nimport { useNotification } from \"~/lib/notification\"\nconst notification = useNotification()\nconst info = () => {  \n  notification.notify({title:'test title', desc: new Date().toString()})\n}\nconst success = () => {\n  notification.notify({title:'test title', desc: new Date().toString(), type: \"success\"})\n}\nconst warning = () => {\n  notification.notify({title:'test title', desc: new Date().toString(), type: \"warning\"})\n}\nconst error = () => {\n  notification.notify({title:'test title', desc: new Date().toString(), type: \"error\"})\n}\nconst click = () => {  \n  notification.notify({title:'clickable', onClick: () => {\n    notification.notify({title:'click has been clicked', type: \"success\"})\n  }})\n}\nconst close = () => {\n  notification.closeAll()\n}\nconst display = computed(() => notification.notificationList.value.map(item => item.id))\nconst permanent = ()=>{\n  notification.notify({title:'permanent', permanent: true})\n}\nconst tl = () => {\n  notification.setPosition('top-left')\n  notification.notify({title:'top-left'})\n}\nconst t = () => {\n  notification.setPosition('top')\n  notification.notify({title:'top'})\n}\nconst tr = () => {\n  notification.setPosition('top-right')\n  notification.notify({title:'top-right'})\n}\nconst bl = () => {\n  notification.setPosition('bottom-left')\n  notification.notify({title:'bottom-left'})\n}\nconst b = () => {\n  notification.setPosition('bottom')\n  notification.notify({title:'bottom'})\n}\nconst br = () => {\n  notification.setPosition('bottom-right')\n  notification.notify({title:'bottom-right'})\n}\n</script>\n"
  },
  {
    "path": "client/docs/HNotificationItem.md",
    "content": "# HNotificationItem\n\n## 基础\n\n<HNotificationItem class=\"mb-2\" title=\"新消息\"></HNotificationItem>\n<HNotificationItem class=\"mb-2\" type=\"success\" title=\"新消息\"></HNotificationItem>\n<HNotificationItem class=\"mb-2\" type=\"warning\" title=\"新消息\"></HNotificationItem>\n<HNotificationItem class=\"mb-2\" type=\"error\" title=\"新消息\"></HNotificationItem>\n\n## 带详情\n\n<HNotificationItem class=\"mb-2\" title=\"新消息\" desc=\"有新版本\" ></HNotificationItem>\n<HNotificationItem class=\"mb-2\" type=\"success\" title=\"新消息\" desc=\"有新版本\" ></HNotificationItem>\n<HNotificationItem class=\"mb-2\" type=\"warning\" title=\"新消息\" desc=\"有新版本\" ></HNotificationItem>\n<HNotificationItem class=\"mb-2\" type=\"error\" title=\"新消息\" desc=\"有新版本\" ></HNotificationItem>\n\n## 可点击\n\n<HNotificationItem class=\"mb-2\" title=\"新消息\" desc=\"有新版本\" clickable  ></HNotificationItem>\n<HNotificationItem class=\"mb-2\" type=\"success\" title=\"新消息\" desc=\"有新版本\" clickable ></HNotificationItem>\n<HNotificationItem class=\"mb-2\" type=\"warning\" title=\"新消息\" desc=\"有新版本\" clickable ></HNotificationItem>\n<HNotificationItem class=\"mb-2\" type=\"error\" title=\"新消息\" desc=\"有新版本\" clickable ></HNotificationItem>\n\n## 可清空\n\n<HNotificationItem class=\"mb-2\" title=\"新消息\" desc=\"有新版本\" closeable  ></HNotificationItem>\n<HNotificationItem class=\"mb-2\" type=\"success\" title=\"新消息\" desc=\"有新版本\" closeable ></HNotificationItem>\n<HNotificationItem class=\"mb-2\" type=\"warning\" title=\"新消息\" desc=\"有新版本\" closeable ></HNotificationItem>\n<HNotificationItem class=\"mb-2\" type=\"error\" title=\"新消息\" desc=\"有新版本\" closeable ></HNotificationItem>\n\n<script setup>\nimport HNotificationItem from '../src/components/HNotification/HNotificationItem.vue'\n</script>\n"
  },
  {
    "path": "client/docs/HSearchBar.md",
    "content": "# HSearchBar\n\n## 基础\n\n<div style=\"background-color:var(--color-background-base3);display:inline-block;width:300px\">\n<HSearchBar v-model=\"value\"></HSearchBar>\n</div>\n\n<script setup>\nimport { ref } from 'vue'\nimport HSearchBar from '../src/components/HSearchBar.vue'\nimport HButton from '../src/components/HButton.vue'\nconst value = ref('')\n</script>\n"
  },
  {
    "path": "client/docs/HTitle.md",
    "content": "# HTitle\n\n## 基础\n\n<div style=\"background-color:var(--color-background-base3);display:inline-block;width:200px\">\n<HTitle></HTitle>\n</div>\n\n<script setup>\nimport HTitle from '../src/components/HTitle.vue'\n</script>\n"
  },
  {
    "path": "client/docs/HToolbar.md",
    "content": "# HToolbar\n\n## 基础\n\n<div style=\"background-color:var(--color-background-base3);display:inline-block;width:200px\">\n<HToolbar>Content</HToolbar>\n</div>\n\n<script setup>\nimport HToolbar from '../src/components/HToolbar.vue'\n</script>\n"
  },
  {
    "path": "client/docs/HViewerContent.md",
    "content": "# HViewerContent\n\n<HViewerContent :content=\"content\"></HViewerContent>\n\n<script setup>\nimport HViewerContent from '../src/components/HViewerContent.vue'\nimport content from './markdown-example'\n</script>\n"
  },
  {
    "path": "client/docs/HViewerHeader.md",
    "content": "# HViewerHeader\n\n<HViewerHeader :title=\"title\" :raw=\"raw\"></HViewerHeader>\n\n<script setup>\nimport { computed } from 'vue'\nimport HViewerHeader from '../src/components/HViewerHeader.vue'\nimport raw from './hexo-example'\nconst title = computed(()=>'Hello World')\n</script>\n"
  },
  {
    "path": "client/docs/HViewerToolbar.md",
    "content": "# HViewerToolbar\n\n<div style=\"border: 1px solid lightgray\">\n<HViewerToolbar></HViewerToolbar>\n</div>\n\n<script setup>\nimport HViewerToolbar from '../src/components/HViewerToolbar.vue'\n</script>\n"
  },
  {
    "path": "client/docs/helper.ts",
    "content": "import faker from \"faker\"\nexport function genArticle() {\n  return {\n    title: faker.lorem.sentence(10),\n    brief: faker.lorem.sentence(100),\n    tags: new Array(faker.datatype.number(10))\n      .fill(0)\n      .map((i) => faker.lorem.word()),\n    date: faker.datatype.datetime().toString(),\n    slug: faker.lorem.sentence(10),\n  }\n}\nexport function genArticles(count) {\n  return new Array(count).fill(0).map((i) => genArticle())\n}\n"
  },
  {
    "path": "client/docs/hexo-example.ts",
    "content": "export default `---\ntitle: Hello World\ncategories:\n  - C1\n  - [C21, C22]\naddr: https://hexo.io/\n---\n\nWelcome to [Hexo](https://hexo.io/)! This is your very first post. Check [documentation](https://hexo.io/docs/) for more info. If you get any problems when using Hexo, you can find the answer in [troubleshooting](https://hexo.io/docs/troubleshooting.html) or you can ask me on [GitHub](https://github.com/hexojs/hexo/issues).\n\n## Quick Start\n\n### Create a new post\n\n\\`\\`\\`bash\n$ hexo new \"My New Post\"\n\\`\\`\\`\n\nMore info: [Writing](https://hexo.io/docs/writing.html)\n\n### Run server\n\n\\`\\`\\`bash\n$ hexo server\n\\`\\`\\`\n\nMore info: [Server](https://hexo.io/docs/server.html)\n\n### Generate static files\n\n\\`\\`\\`bash\n$ hexo generate\n\\`\\`\\`\n\nMore info: [Generating](https://hexo.io/docs/generating.html)\n\n### Deploy to remote sites\n\n\\`\\`\\`bash\n$ hexo deploy\n\\`\\`\\`\n\nMore info: [Deployment](https://hexo.io/docs/one-command-deployment.html)\n`\n"
  },
  {
    "path": "client/docs/index.md",
    "content": "---\nhome: true\nheroText: Hexon UI Component\nactionText: Explore\nactionLink: /HButton.html\nfooter: GPL-3.0 Licensed | Copyright © 2019-present winwin2011\n---\n"
  },
  {
    "path": "client/docs/markdown-example.ts",
    "content": "export default `<p>Welcome to <a href=\"https://hexo.io/\">Hexo</a>! This is your very first post. Check <a href=\"https://hexo.io/docs/\">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a href=\"https://hexo.io/docs/troubleshooting.html\">troubleshooting</a> or you can ask me on <a href=\"https://github.com/hexojs/hexo/issues\">GitHub</a>.</p> <h2 id=\"Quick-Start\"><a href=\"#Quick-Start\" class=\"headerlink\" title=\"Quick Start\"></a>Quick Start</h2><h3 id=\"Create-a-new-post\"><a href=\"#Create-a-new-post\" class=\"headerlink\" title=\"Create a new post\"></a>Create a new post</h3><figure class=\"highlight bash\"><table><tr><td class=\"gutter\"><pre><span class=\"line\">1</span><br></pre></td><td class=\"code\"><pre><span class=\"line\">$ hexo new <span class=\"string\">&quot;My New Post&quot;</span></span><br></pre></td></tr></table></figure> <p>More info: <a href=\"https://hexo.io/docs/writing.html\">Writing</a></p> <h3 id=\"Run-server\"><a href=\"#Run-server\" class=\"headerlink\" title=\"Run server\"></a>Run server</h3><figure class=\"highlight bash\"><table><tr><td class=\"gutter\"><pre><span class=\"line\">1</span><br></pre></td><td class=\"code\"><pre><span class=\"line\">$ hexo server</span><br></pre></td></tr></table></figure> <p>More info: <a href=\"https://hexo.io/docs/server.html\">Server</a></p> <h3 id=\"Generate-static-files\"><a href=\"#Generate-static-files\" class=\"headerlink\" title=\"Generate static files\"></a>Generate static files</h3><figure class=\"highlight bash\"><table><tr><td class=\"gutter\"><pre><span class=\"line\">1</span><br></pre></td><td class=\"code\"><pre><span class=\"line\">$ hexo generate</span><br></pre></td></tr></table></figure> <p>More info: <a href=\"https://hexo.io/docs/generating.html\">Generating</a></p> <h3 id=\"Deploy-to-remote-sites\"><a href=\"#Deploy-to-remote-sites\" class=\"headerlink\" title=\"Deploy to remote sites\"></a>Deploy to remote sites</h3><figure class=\"highlight bash\"><table><tr><td class=\"gutter\"><pre><span class=\"line\">1</span><br></pre></td><td class=\"code\"><pre><span class=\"line\">$ hexo deploy</span><br></pre></td></tr></table></figure> <p>More info: <a href=\"https://hexo.io/docs/one-command-deployment.html\">Deployment</a></p>`\n"
  },
  {
    "path": "client/find-unused-file-plugin.ts",
    "content": "import fs from \"fs\"\nimport path from \"path\"\nimport { Plugin } from \"vite\"\nimport pc from \"picocolors\"\n\nfunction list(root: string): string[] {\n  if (fs.lstatSync(root).isFile()) {\n    return [path.resolve(root)]\n  } else {\n    return fs\n      .readdirSync(root)\n      .map((record) => list(path.join(root, record)))\n      .reduce((arr, i) => [...arr, ...i], [] as string[])\n  }\n}\n\nconst allFile = new Set<string>()\n\nconst current = path.resolve(\".\")\n\nlist(\"./src\")\n  .filter((record) => !record.includes(\"spec\"))\n  .filter((record) => !record.includes(\"demo\"))\n  .forEach((record) => allFile.add(record))\n\nfunction log() {\n  console.log(\n    pc.red(\n      [...allFile.values()]\n        .map((v, idx) => `[${idx}].${v.split(current).join(\"\")}`)\n        .join(\"\\n\")\n    )\n  )\n  console.log(\n    `${pc.red(\"×\")} ${pc.dim(pc.white(`${allFile.size} unused files`))}`\n  )\n}\n\nexport default function unused(): Plugin {\n  return {\n    name: \"find-unused-file\",\n\n    load(id) {\n      if (allFile.has(id)) {\n        allFile.delete(id)\n      }\n      return null\n    },\n\n    buildEnd() {\n      log()\n    },\n  }\n}\n"
  },
  {
    "path": "client/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"UTF-8\" />\n    <link rel=\"icon\" href=\"/favicon.ico\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n    <title>Hexon</title>\n  </head>\n  <body>\n    <div id=\"app\"></div>\n    <script type=\"module\" src=\"/src/main.ts\"></script>\n  </body>\n</html>\n"
  },
  {
    "path": "client/jest.config.js",
    "content": "/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */\nmodule.exports = {\n  preset: \"ts-jest\",\n  testEnvironment: \"node\",\n  moduleNameMapper: {\n    \"^~/(.*)$\": \"<rootDir>/src/$1\",\n  },\n}\n"
  },
  {
    "path": "client/package.json",
    "content": "{\n  \"private\": true,\n  \"scripts\": {\n    \"dev\": \"vite\",\n    \"build\": \"vue-tsc --noEmit && vite build\",\n    \"prebuild\": \"pnpm run test\",\n    \"test\": \"jest\",\n    \"serve\": \"vite preview\",\n    \"doc\": \"vite --config .demo/vite.config.ts\"\n  },\n  \"dependencies\": {\n    \"@vueuse/core\": \"^8.9.4\",\n    \"@vueuse/integrations\": \"^8.9.4\",\n    \"@winwin/vue-global-theming\": \"^0.1.5\",\n    \"@winwin/vue-side-split\": \"^0.0.5\",\n    \"animejs\": \"^3.2.2\",\n    \"axios\": \"^0.26.1\",\n    \"chalk\": \"^5.3.0\",\n    \"color\": \"^4.2.3\",\n    \"color-convert\": \"^2.0.1\",\n    \"crypto-js\": \"^4.2.0\",\n    \"dayjs\": \"^1.11.12\",\n    \"hexo-front-matter\": \"^4.2.1\",\n    \"js-yaml\": \"^4.1.0\",\n    \"jsencrypt\": \"^3.3.2\",\n    \"lodash-es\": \"^4.17.21\",\n    \"monaco-editor\": \"0.33.0\",\n    \"pinia\": \"^2.1.7\",\n    \"prettier\": \"^2.8.8\",\n    \"string-similarity\": \"^4.0.4\",\n    \"universal-cookie\": \"^4.0.4\",\n    \"uuid\": \"^8.3.2\",\n    \"vite-plugin-compression\": \"^0.5.1\",\n    \"vue\": \"^3.4.34\",\n    \"vue-router\": \"4.0.14\",\n    \"zod\": \"^3.23.8\"\n  }\n}\n"
  },
  {
    "path": "client/public/robots.txt",
    "content": "User-agent: *\nDisallow: /\n"
  },
  {
    "path": "client/src/App.vue",
    "content": "<script setup lang=\"ts\">\nimport { useDark } from \"@vueuse/core\"\nimport { onMounted, watch } from \"vue\"\nimport { useThemeController } from \"@/ui/theme\"\nimport HDialog from \"@/others/HDialog.vue\"\nimport HNotificationItem from \"@/others/HNotificationItem.vue\"\nimport HLoading from \"@/ui/loading/src/HLoading.vue\"\nimport { lightTheme, darkTheme } from \"@/ui/theme\"\nimport { DialogContainer } from \"./lib/dialog\"\nimport { useLoading } from \"./lib/loading\"\nimport { Notifications } from \"./lib/notification\"\nimport { useDispatcher } from \"./store/dispatcher\"\nimport { ModalContainer } from \"./lib/modal\"\n\nconst dispatcher = useDispatcher()\nconst loading = useLoading()\nconst isDarkRef = useDark()\nconst controller = useThemeController()!\nwatch(\n  () => isDarkRef.value,\n  (isDark) => {\n    if (isDark) controller.setTheme(darkTheme)\n    else controller.setTheme(lightTheme)\n  },\n  {\n    immediate: true,\n  }\n)\nonMounted(() => {\n  dispatcher.init()\n})\n</script>\n\n<template>\n  <div style=\"width: 100vw; height: 100vh\" @contextmenu.prevent>\n    <HLoading :loading=\"loading.loading.value\" overlay>\n      <router-view></router-view>\n      <ModalContainer />\n      <DialogContainer>\n        <template #default=\"slotProps\">\n          <HDialog :data=\"slotProps.data\" />\n        </template>\n      </DialogContainer>\n      <Notifications :z-index=\"1\">\n        <template #default=\"slotProps\">\n          <HNotificationItem :data=\"slotProps.item\" />\n        </template>\n      </Notifications>\n    </HLoading>\n  </div>\n</template>\n\n<style lang=\"less\">\n@import \"./styles/index.less\";\n</style>\n"
  },
  {
    "path": "client/src/api/auth.ts",
    "content": "import { cookies } from \"~/composables/cookies\"\nimport { forceReloadWindow } from \"~/utils\"\nimport { request } from \"./instance\"\n\nexport function isLogin() {\n  return Boolean(cookies.get(\"token\"))\n}\n\nexport function login(username: string, password: string) {\n  return request.post(\n    \"/auth/login\",\n    { username, password },\n    {\n      disableAuthenticationRedirect: true,\n    }\n  )\n}\n\nexport function logout() {\n  cookies.remove(\"token\")\n  forceReloadWindow()\n}\n\nexport function getInfo() {\n  return request\n    .post(\"/auth/info\")\n    .then((res) => res.data as { username: string })\n}\n\nexport function changePassword(oldPassword: string, password: string) {\n  return request.post(\"/auth/password\", { oldPassword, password })\n}\n\nexport function changeUsername(username: string) {\n  return request.post(\"/auth/username\", { username })\n}\n"
  },
  {
    "path": "client/src/api/entities.ts",
    "content": "import { z } from \"zod\"\n\nexport const ZIArticle = z.object({\n  id: z.string(),\n  title: z.string(),\n  date: z.string(),\n  updated: z.string().optional(),\n  source: z.string(),\n})\nexport type IArticle = z.infer<typeof ZIArticle>\n\nexport const ZIBrief = z.object({\n  brief: z.string(),\n})\nexport type IBrief = z.infer<typeof ZIBrief>\n\nexport const ZIPage = z.object({\n  __page: z.boolean().refine((v) => v, { message: \"__page must be true\" }),\n})\nexport type IPage = z.infer<typeof ZIPage>\n\nexport const ZIPost = z.object({\n  slug: z.string(),\n  published: z.boolean(),\n  categories: z.string().array(),\n  tags: z.string().array(),\n  __post: z.boolean().refine((v) => v, { message: \"__post must be true\" }),\n})\nexport type IPost = z.infer<typeof ZIPost>\n\nexport const ZIDetail = z.object({\n  _content: z.string(),\n  content: z.string(),\n  raw: z.string().optional(),\n})\nexport type IDetail = z.infer<typeof ZIDetail>\n\nexport const ZBriefPage = z\n  .object({})\n  .merge(ZIArticle)\n  .merge(ZIBrief)\n  .merge(ZIPage)\nexport type BriefPage = z.infer<typeof ZBriefPage>\n\nexport const ZBriefPost = z\n  .object({})\n  .merge(ZIArticle)\n  .merge(ZIBrief)\n  .merge(ZIPost)\nexport type BriefPost = z.infer<typeof ZBriefPost>\n\nexport const ZPage = z.object({}).merge(ZIArticle).merge(ZIPage).merge(ZIDetail)\nexport type Page = z.infer<typeof ZPage>\n\nexport const ZPost = z.object({}).merge(ZIArticle).merge(ZIPost).merge(ZIDetail)\nexport type Post = z.infer<typeof ZPost>\n\nexport const ZTag = z.object({\n  id: z.string(),\n  name: z.string(),\n  slug: z.string(),\n  posts: z.string().array(),\n})\nexport type Tag = z.infer<typeof ZTag>\n\nexport const ZCategory = ZTag.extend({\n  parent: z.string().optional(),\n})\nexport type Category = z.infer<typeof ZCategory>\n\nexport const ZIWithAllData = z.object({\n  posts: ZBriefPost.array(),\n  pages: ZBriefPage.array(),\n  categories: ZCategory.array(),\n  tags: ZTag.array(),\n})\nexport type IWithAllData = z.infer<typeof ZIWithAllData>\n\nexport const ZIPageWithAllData = ZIWithAllData.extend({ page: ZPage })\nexport type IPageWithAllData = z.infer<typeof ZIPageWithAllData>\n\nexport const ZIPostWithAllData = ZIWithAllData.extend({ post: ZPost })\nexport type IPostWithAllData = z.infer<typeof ZIPostWithAllData>\n"
  },
  {
    "path": "client/src/api/http-api-provider.ts",
    "content": "import { isPost } from \"~/utils/article\"\nimport {\n  ICreateOptions,\n  ZBriefPage,\n  ZBriefPost,\n  ZCategory,\n  ZIPageWithAllData,\n  ZIPostWithAllData,\n  ZIWithAllData,\n  ZPage,\n  ZPost,\n  ZTag,\n} from \".\"\nimport {\n  BriefPage,\n  BriefPost,\n  Category,\n  IPageWithAllData,\n  IPostWithAllData,\n  IWithAllData,\n  Page,\n  Post,\n  Tag,\n} from \"./entities\"\nimport { IApiProvider, IDeployOptions, IGenerateOptions } from \"./interface\"\nimport { request } from \"./instance\"\n\nconst dashIdToId = ({ _id: id, ...rest }: any) => ({ id, ...rest })\n\nexport class HttpApiProvider implements IApiProvider {\n  async getAllData(): Promise<IWithAllData> {\n    const [posts, pages, tags, categories] = await Promise.all([\n      this.getPosts(),\n      this.getPages(),\n      this.getTags(),\n      this.getCategories(),\n    ])\n    return { posts, pages, tags, categories }\n  }\n\n  async getPosts(): Promise<BriefPost[]> {\n    const res = await request.get<BriefPost[]>(\"/hexo/posts\")\n    const data: BriefPost[] = ZBriefPost.array().parse(res.data.map(dashIdToId))\n    return data\n  }\n\n  async getPages(): Promise<BriefPage[]> {\n    const res = await request.get<BriefPage[]>(\"/hexo/pages\")\n    const data: BriefPage[] = ZBriefPage.array().parse(res.data.map(dashIdToId))\n    return data\n  }\n\n  async getTags(): Promise<Tag[]> {\n    const res = await request.get(\"/hexo/tags\")\n    const data: Tag[] = ZTag.array().parse(res.data.map(dashIdToId))\n    return data\n  }\n\n  async getCategories(): Promise<Category[]> {\n    const res = await request.get<Category[]>(\"/hexo/categories\")\n    const data: Category[] = ZCategory.array().parse(res.data.map(dashIdToId))\n    return data\n  }\n\n  async getArticle(type: \"post\", source: string): Promise<Post>\n  async getArticle(type: \"page\", source: string): Promise<Page>\n  async getArticle(type: \"post\" | \"page\", source: string): Promise<Post | Page>\n  async getArticle(\n    type: \"post\" | \"page\",\n    source: string\n  ): Promise<Post | Page> {\n    const res = await request.get(`/hexo/${type}/${encodeURIComponent(source)}`)\n    if (type === \"post\") {\n      const data: Post = ZPost.parse(dashIdToId(res.data))\n      return data\n    } else {\n      const data: Page = ZPage.parse(dashIdToId(res.data))\n      return data\n    }\n  }\n\n  async saveArticle(\n    type: \"post\",\n    source: string,\n    raw: string\n  ): Promise<IPostWithAllData>\n  async saveArticle(\n    type: \"page\",\n    source: string,\n    raw: string\n  ): Promise<IPageWithAllData>\n  async saveArticle(\n    type: \"post\" | \"page\",\n    source: string,\n    raw: string\n  ): Promise<IPostWithAllData | IPageWithAllData>\n  async saveArticle(\n    type: \"post\" | \"page\",\n    source: string,\n    raw: string\n  ): Promise<IPostWithAllData | IPageWithAllData> {\n    const res = await request.put(\n      `/hexo/${type}/${encodeURIComponent(source)}`,\n      { raw }\n    )\n    if (type === \"post\") {\n      const { article: post, posts, pages, tags, categories } = res.data\n      const data: IPostWithAllData = ZIPostWithAllData.parse({\n        post: dashIdToId(post),\n        posts: posts.map(dashIdToId),\n        pages: pages.map(dashIdToId),\n        tags: tags.map(dashIdToId),\n        categories: categories.map(dashIdToId),\n      })\n      return data\n    } else {\n      const { article: page, posts, pages, tags, categories } = res.data\n      const data: IPageWithAllData = ZIPageWithAllData.parse({\n        page: dashIdToId(page),\n        posts: posts.map(dashIdToId),\n        pages: pages.map(dashIdToId),\n        tags: tags.map(dashIdToId),\n        categories: categories.map(dashIdToId),\n      })\n      return data\n    }\n  }\n  async deleteArticle(type: \"post\", source: string): Promise<IWithAllData>\n  async deleteArticle(type: \"page\", source: string): Promise<IWithAllData>\n  async deleteArticle(\n    type: \"post\" | \"page\",\n    source: string\n  ): Promise<IWithAllData>\n  async deleteArticle(\n    type: \"post\" | \"page\",\n    source: string\n  ): Promise<IWithAllData> {\n    const res = await request.delete(\n      `/hexo/${type}/${encodeURIComponent(source)}`\n    )\n    const { posts, pages, tags, categories } = res.data\n    const data = ZIWithAllData.parse({\n      posts: posts.map(dashIdToId),\n      pages: pages.map(dashIdToId),\n      tags: tags.map(dashIdToId),\n      categories: categories.map(dashIdToId),\n    })\n    return data\n  }\n\n  async createArticle(\n    title: string,\n    options: ICreateOptions = {}\n  ): Promise<IPostWithAllData | IPageWithAllData> {\n    const res = await request.post(\"/hexo/create\", { title, ...options })\n    const { article } = res.data\n    if (isPost(article)) {\n      const { article: post, posts, pages, tags, categories } = res.data\n      const data: IPostWithAllData = ZIPostWithAllData.parse({\n        post: dashIdToId(post),\n        posts: posts.map(dashIdToId),\n        pages: pages.map(dashIdToId),\n        tags: tags.map(dashIdToId),\n        categories: categories.map(dashIdToId),\n      })\n      return data\n    } else {\n      const { article: page, posts, pages, tags, categories } = res.data\n      const data: IPageWithAllData = ZIPageWithAllData.parse({\n        page: dashIdToId(page),\n        posts: posts.map(dashIdToId),\n        pages: pages.map(dashIdToId),\n        tags: tags.map(dashIdToId),\n        categories: categories.map(dashIdToId),\n      })\n      return data\n    }\n  }\n  async publishArticle(filename: string, layout?: string): Promise<Post> {\n    const res = await request.post(\"/hexo/publish\", {\n      filename,\n      layout,\n    })\n    const { article } = res.data\n    return ZPost.parse(dashIdToId(article))\n  }\n  async deploy(options: IDeployOptions = {}): Promise<void> {\n    return request.post(\"/hexo/deploy\", options)\n  }\n  async generate(options: IGenerateOptions = {}): Promise<void> {\n    return request.post(\"/hexo/generate\", options)\n  }\n  async clean(): Promise<void> {\n    return request.post(\"/hexo/clean\")\n  }\n  async gitSync(): Promise<void> {\n    return request.post(\"/git/sync\")\n  }\n  async gitSave(): Promise<void> {\n    return request.post(\"/git/save\")\n  }\n}\n"
  },
  {
    "path": "client/src/api/index.ts",
    "content": "import { HttpApiProvider } from \"./http-api-provider\"\n\nexport const api = new HttpApiProvider()\n\nexport * from \"./entities\"\nexport * from \"./interface\"\n"
  },
  {
    "path": "client/src/api/instance.ts",
    "content": "import showHexoInitFailModal from \"~/components/modals/hexo-init-fail-modal\"\nimport createHttpSecureAxios from \"~/lib/http-secure/src\"\nimport { logout } from \"./auth\"\n\nexport const request = createHttpSecureAxios({\n  baseURL: import.meta.env.DEV ? \"/proxy\" : \"/\",\n})\n\ndeclare module \"axios\" {\n  interface AxiosRequestConfig {\n    /**\n     * do not logout or reload window when authentication failed\n     */\n    disableAuthenticationRedirect?: boolean\n  }\n}\n\nrequest.interceptors.response.use(\n  (res) => res,\n  (err) => {\n    if (\n      !err?.config?.disableAuthenticationRedirect &&\n      err?.response?.status === 401\n    )\n      logout()\n\n    const data = err?.response?.data\n    if (data?.id === \"HexoInitError\") showHexoInitFailModal(data?.message)\n    throw err\n  }\n)\n"
  },
  {
    "path": "client/src/api/interface.ts",
    "content": "import {\n  BriefPage,\n  BriefPost,\n  Category,\n  IPageWithAllData,\n  IPostWithAllData,\n  IWithAllData,\n  Page,\n  Post,\n  Tag,\n} from \"./entities\"\n\nexport interface ICreateOptions {\n  layout?: string\n  path?: string\n  slug?: string\n  replace?: boolean\n}\nexport interface IDeployOptions {\n  generate?: boolean\n}\nexport interface IGenerateOptions {\n  deploy?: boolean\n  watch?: boolean\n  bail?: boolean\n  force?: boolean\n  concurrency?: boolean\n}\nexport interface IApiProvider {\n  getAllData(): Promise<IWithAllData>\n  getPosts(): Promise<BriefPost[]>\n  getPages(): Promise<BriefPage[]>\n  getTags(): Promise<Tag[]>\n  getCategories(): Promise<Category[]>\n  getArticle(type: \"post\", source: string): Promise<Post>\n  getArticle(type: \"page\", source: string): Promise<Page>\n  getArticle(type: \"post\" | \"page\", source: string): Promise<Post | Page>\n  saveArticle(\n    type: \"post\",\n    source: string,\n    raw: string\n  ): Promise<IPostWithAllData>\n  saveArticle(\n    type: \"page\",\n    source: string,\n    raw: string\n  ): Promise<IPageWithAllData>\n  saveArticle(\n    type: \"post\" | \"page\",\n    source: string,\n    raw: string\n  ): Promise<IPostWithAllData | IPageWithAllData>\n  deleteArticle(type: \"post\", source: string): Promise<IWithAllData>\n  deleteArticle(type: \"page\", source: string): Promise<IWithAllData>\n  deleteArticle(type: \"post\" | \"page\", source: string): Promise<IWithAllData>\n  createArticle(\n    title: string,\n    options?: ICreateOptions\n  ): Promise<IPostWithAllData | IPageWithAllData>\n  publishArticle(source: string): Promise<Post>\n  deploy(options?: IDeployOptions): Promise<void>\n  generate(options?: IGenerateOptions): Promise<void>\n  clean(): Promise<void>\n  gitSync(): Promise<void>\n  gitSave(): Promise<void>\n}\n"
  },
  {
    "path": "client/src/api/settings.ts",
    "content": "import { ISettings } from \"@shared/types/api\"\nimport { request } from \"./instance\"\n\nexport async function getSettings(): Promise<ISettings> {\n  return request.get(\"/settings\").then((res) => res.data as ISettings)\n}\n\nexport async function setSettings(settings: ISettings) {\n  return request.post(\"/settings\", settings)\n}\n"
  },
  {
    "path": "client/src/api/template.ts",
    "content": "import { IFrontmatterTemplate, IFrontmatterTemplateItem } from \"@server/server/types/api\"\nimport { request } from \"./instance\"\n\nexport async function listFrontmatterTemplate(): Promise<IFrontmatterTemplate> {\n  return request.get(\"/template/frontmatter\").then((res) => res.data)\n}\n\nexport async function setFrontmatterTemplate(\n  items: IFrontmatterTemplateItem[]\n): Promise<void> {\n  return request.post(\"/template/frontmatter\", { items })\n}\n"
  },
  {
    "path": "client/src/components/DemoPad.vue",
    "content": "<script setup lang=\"ts\">\nimport { useThemeVars } from \"~/components/ui/theme\"\nconst vars = useThemeVars()\n</script>\n<template>\n  <div\n    :style=\"{\n      backgroundColor: vars.backgroundColorPrimary,\n    }\"\n    p8\n  >\n    <slot />\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/components/HEditorToolbar.vue",
    "content": "<script setup lang=\"ts\">\nimport { useDetailStore } from \"~/store/detail\"\nimport { HBadge } from \"@/ui/badge\"\nimport { HButton } from \"@/ui/button\"\nimport { HIcon } from \"@/ui/icon\"\nimport { HIconName } from \"@/ui/icon\"\nimport { useThemeVars } from \"@/ui/theme\"\nimport { HEditorToolbarActionPayload } from \"./types\"\nimport HToolbar from \"./HToolbar.vue\"\nconst props = defineProps<{\n  saving?: boolean\n  changed?: boolean\n}>()\nconst emits = defineEmits<{\n  (e: \"on-action\", payload: HEditorToolbarActionPayload): void\n}>()\nconst vars = useThemeVars()\nconst detailStore = useDetailStore()\n</script>\n<template>\n  <HToolbar class=\"px-2\">\n    <HButton size=\"small\" @click=\"emits('on-action', { type: 'back' })\">\n      返回\n    </HButton>\n    <div class=\"flex-1\"></div>\n    <HBadge class=\"mr-2\" v-if=\"props.saving\" rounded>保存中...</HBadge>\n    <template v-else>\n      <HBadge\n        class=\"mr-2\"\n        :bg-color=\"vars.colorCommon\"\n        v-if=\"props.changed\"\n        rounded\n      >\n        未保存\n      </HBadge>\n    </template>\n    <HButton\n      class=\"mr-2\"\n      type=\"primary\"\n      round\n      inverted\n      @click=\"emits('on-action', { type: 'save' })\"\n    >\n      <HIcon :name=\"HIconName.Save\" />\n    </HButton>\n    <HButton\n      class=\"mr-2\"\n      type=\"error\"\n      round\n      inverted\n      @click=\"emits('on-action', { type: 'delete' })\"\n    >\n      <HIcon :name=\"HIconName.Delete\" />\n    </HButton>\n    <HButton\n      class=\"mr-2\"\n      type=\"success\"\n      round\n      inverted\n      @click=\"emits('on-action', { type: 'publish' })\"\n      v-if=\"detailStore.isDraft\"\n    >\n      <HIcon :name=\"HIconName.Upload\" />\n    </HButton>\n  </HToolbar>\n</template>\n"
  },
  {
    "path": "client/src/components/HImage.vue",
    "content": "<script setup lang=\"ts\">\nimport { withDefaults, toRefs, computed } from \"vue\"\n\nconst props = withDefaults(defineProps<{ size?: string | number }>(), {})\nconst { size, ...rest } = toRefs(props)\nconst style = computed(() => {\n  return {\n    maxHeight: size?.value,\n    maxWidth: size?.value,\n  }\n})\n</script>\n<template>\n  <img v-bind=\"rest\" :style=\"style\" />\n</template>\n"
  },
  {
    "path": "client/src/components/HNavSetting.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed, toRefs } from \"vue\"\nimport { HIconName } from \"@/ui/icon\"\nimport { HIcon } from \"@/ui/icon\"\nimport HToolbar from \"./HToolbar.vue\"\nimport { useThemeVars } from \"./ui/theme\"\n\nconst props = withDefaults(\n  defineProps<{\n    name?: string\n    icon?: boolean\n  }>(),\n  { name: \"\", icon: false }\n)\nconst { name } = toRefs(props)\nconst first = computed(() => {\n  return name.value?.[0]\n})\nconst vars = useThemeVars()\n</script>\n<template>\n  <HToolbar class=\"h-nav-setting px-4 cursor-pointer\">\n    <div\n      class=\"avatar w-8 h-8 rounded-full text-xl flex items-center justify-center\"\n      :style=\"{\n        background: vars.colorPrimary,\n      }\"\n    >\n      <span v-if=\"!icon && first\" :style=\"{ color: vars.textColorWhite }\">\n        {{ first }}\n      </span>\n      <HIcon v-else :name=\"HIconName.Contact\" />\n    </div>\n    <div class=\"flex-1 flex flex-col ml-2\">\n      <div class=\"name text-sm font-bold\">\n        {{ name || \"未命名用户\" }}\n      </div>\n      <div class=\"status text-xs\">已登录</div>\n    </div>\n    <HIcon :name=\"HIconName.Settings\" />\n    <slot></slot>\n  </HToolbar>\n</template>\n<style lang=\"less\" scoped>\n@import \"~/styles/mixins.less\";\n.h-nav-setting {\n  transition: background-color 0.2s;\n  .name {\n    .ellipsis(1);\n  }\n  .status {\n    color: v-bind(\"vars.textColorSecondary\");\n  }\n  &:hover {\n    background-color: v-bind(\"vars.backgroundColorHover\");\n  }\n  &:active {\n    background-color: v-bind(\"vars.backgroundColorActive\");\n  }\n}\n</style>\n"
  },
  {
    "path": "client/src/components/HSearchBar.vue",
    "content": "<script setup lang=\"ts\">\nimport { toRefs } from \"vue\"\nimport { HButton } from \"@/ui/button\"\nimport { HIconName } from \"@/ui/icon\"\nimport { HIcon } from \"@/ui/icon\"\nimport { HInput } from \"@/ui/input\"\nimport HToolbar from \"./HToolbar.vue\"\n\nconst props = defineProps<{\n  modelValue: string\n}>()\nconst emits = defineEmits<{\n  (e: \"update:modelValue\", value: string): void\n  (e: \"on-add\"): void\n}>()\nconst { modelValue } = toRefs(props)\nconst onInput: any = (value: string) => emits(\"update:modelValue\", value)\n</script>\n<template>\n  <HToolbar class=\"px-6\">\n    <div class=\"flex-1\"></div>\n    <HInput\n      :modelValue=\"modelValue\"\n      @update:model-value=\"onInput\"\n      type=\"secondary\"\n      placeholder=\"搜索\"\n      clearable\n    >\n      <template v-slot:prefix>\n        <HIcon :name=\"HIconName.Search\" />\n      </template>\n    </HInput>\n    <!-- <HButton class=\"ml-2\" round><HIcon :name=\"HIconName.Search\" /></HButton> -->\n    <HButton class=\"ml-2\" round @click=\"emits('on-add')\">\n      <HIcon :name=\"HIconName.Add\" />\n    </HButton>\n  </HToolbar>\n</template>\n"
  },
  {
    "path": "client/src/components/HTitle.vue",
    "content": "<script setup lang=\"ts\">\nimport { useThemeVars } from \"@/ui/theme\"\nimport HToolbar from \"./HToolbar.vue\"\nconst vars = useThemeVars()\n</script>\n<template>\n  <HToolbar>\n    <span\n      class=\"text-xl\"\n      :style=\"{\n        fontWeight: 600,\n        letterSpacing: '0.05rem',\n      }\"\n    >\n      <slot>\n        <span class=\"pl-8\">Hexon</span>\n      </slot>\n    </span>\n  </HToolbar>\n</template>\n"
  },
  {
    "path": "client/src/components/HToolbar.vue",
    "content": "<script setup lang=\"ts\"></script>\n<template>\n  <div class=\"h-toolbar h-12 flex items-center select-none flex-shrink-0\">\n    <slot></slot>\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/components/article/HArticleItem.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed, toRefs } from \"vue\"\nimport dayjs from \"dayjs\"\nimport { HBadge } from \"@/ui/badge\"\nimport { HIcon, HIconName } from \"@/ui/icon\"\nimport { useThemeVars } from \"@/ui/theme\"\nimport { IHArticleListData, IShowMenuPaylod } from \"./interface\"\n\nconst props = withDefaults(\n  defineProps<{\n    article: IHArticleListData\n    selected?: boolean\n  }>(),\n  { selected: false }\n)\nconst emits = defineEmits<{\n  (e: \"show-menu\", payload: IShowMenuPaylod): void\n}>()\nconst { selected } = toRefs(props)\nconst formatedDate = computed(() => {\n  return dayjs(props.article.date).fromNow()\n})\nconst vars = useThemeVars()\nconst styleVars = computed(() => {\n  return {\n    bgColor: selected.value\n      ? vars.value.backgroundColorSelected\n      : vars.value.backgroundColorTransparent,\n    hoverBgColor: vars.value.backgroundColorHover,\n    activeBgColor: vars.value.backgroundColorActive,\n    briefColor: vars.value.textColorSecondary,\n  }\n})\nconst onContextMenu = (e: MouseEvent) => {\n  emits(\"show-menu\", {\n    article: props.article,\n    e,\n  })\n}\n</script>\n<template>\n  <div\n    class=\"h-article-item px-4 py-2 select-none text-sm rounded-md mb-1\"\n    @contextmenu.prevent=\"onContextMenu\"\n  >\n    <div class=\"title mb-3\">\n      <HIcon\n        class=\"mr-1\"\n        :name=\"HIconName.Page\"\n        :style=\"{ color: vars.colorPage }\"\n        v-if=\"article.type === 'page'\"\n      />\n      <HIcon\n        class=\"mr-1\"\n        :name=\"HIconName.Read\"\n        :style=\"{ color: vars.colorDraft }\"\n        v-if=\"article.isDraft\"\n      />\n      <span class=\"font-bold\">\n        {{ article.title }}\n      </span>\n    </div>\n    <div class=\"brief text-xs mt-1\" v-if=\"article.brief\">\n      {{ article.brief }}\n    </div>\n    <div v-if=\"article.tags.length\" class=\"mt-0.5\">\n      <HBadge\n        class=\"mr-1 mb-0.5\"\n        :color=\"vars.textColorPrimary\"\n        :bg-color=\"vars.backgroundColorBadge\"\n        v-for=\"tag in article.tags\"\n        :key=\"tag\"\n      >\n        {{ tag }}\n      </HBadge>\n    </div>\n    <div class=\"date mt-1 text-xs\" :style=\"{ color: vars.colorPrimary }\">\n      {{ formatedDate }}\n    </div>\n  </div>\n</template>\n<style lang=\"less\" scoped>\n@import \"~/styles/mixins.less\";\n.h-article-item {\n  transition: all 0.2s;\n  background-color: v-bind(\"styleVars.bgColor\");\n  &:hover {\n    background-color: v-bind(\"styleVars.hoverBgColor\");\n    cursor: pointer;\n  }\n  &:active {\n    background-color: v-bind(\"styleVars.activeBgColor\");\n    cursor: pointer;\n  }\n  .title {\n    .ellipsis(1);\n  }\n  .brief {\n    color: v-bind(\"styleVars.briefColor\");\n    .ellipsis(3);\n  }\n  .date {\n    .ellipsis(1);\n  }\n}\n</style>\n"
  },
  {
    "path": "client/src/components/article/HArticleList.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed, ref, toRefs } from \"vue\"\nimport { IHArticleListData, IShowMenuPaylod } from \"./interface\"\nimport HArticleItem from \"./HArticleItem.vue\"\nimport HArticleMenu from \"./HArticleMenu.vue\"\nimport { sortArticleByTime } from \"./utils\"\n\nconst props = defineProps<{\n  articles: IHArticleListData[]\n  selected?: string\n}>()\nconst emits = defineEmits<{\n  (e: \"on-click\", payload: { source: string; type: \"post\" | \"page\" }): void\n}>()\nconst { selected } = toRefs(props)\nconst articles = computed(() => sortArticleByTime(props.articles))\nconst position = ref({ x: 0, y: 0 })\nconst show = ref(false)\nconst article = ref<IHArticleListData | null>(null)\nconst onContextMenu = (e: MouseEvent) => {\n  position.value.x = e.pageX\n  position.value.y = e.pageY\n  show.value = true\n}\nconst onShowMenu = (payload: IShowMenuPaylod) => {\n  article.value = payload.article\n  onContextMenu(payload.e)\n}\n</script>\n<template>\n  <div class=\"h-article-list px-3 py-2\">\n    <HArticleItem\n      v-for=\"article in articles\"\n      :article=\"article\"\n      :selected=\"selected === article.source\"\n      @click=\"emits('on-click', { source: article.source, type: article.type })\"\n      @show-menu=\"onShowMenu\"\n    ></HArticleItem>\n    <HArticleMenu :position=\"position\" v-model:show=\"show\" :article=\"article\" />\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/components/article/HArticleMenu.vue",
    "content": "<script setup lang=\"ts\">\nimport { onClickOutside } from \"@vueuse/core\"\nimport { StyleValue, computed, ref, Ref } from \"vue\"\nimport { createClassNames } from \"~/utils/create-classnames\"\nimport { useOnParentScroll } from \"~/utils/scroll\"\nimport { HBadge } from \"@/ui/badge\"\nimport { HDivider } from \"@/ui/divider\"\nimport { HIcon, HIconName } from \"@/ui/icon\"\nimport { useThemeVars } from \"@/ui/theme\"\nimport { IHArticleListData, IHArticleMenuActionType } from \"./interface\"\nimport FadeTransition from \"../transitions/FadeTransition.vue\"\nimport { HButton } from \"@/ui/button\"\nimport { useDispatcher } from \"~/store/dispatcher\"\nimport { Dayjs } from \"dayjs\"\nimport { DATE_FORMAT } from \"@shared/constants\"\n\nconst dispatcher = useDispatcher()\nconst props = defineProps<{\n  position: {\n    x: number\n    y: number\n  }\n  show: boolean\n  article: IHArticleListData | null\n}>()\nconst emtis = defineEmits<{\n  (e: \"update:show\", v: boolean): void\n}>()\nconst containerRef: Ref<HTMLElement | null> = ref(null)\nconst anchorRef: Ref<HTMLElement | null> = ref(null)\nonClickOutside(containerRef, () => {\n  emtis(\"update:show\", false)\n})\nuseOnParentScroll(anchorRef, () => {\n  emtis(\"update:show\", false)\n})\nconst vars = useThemeVars()\nconst containerStyle = computed<StyleValue>(() => ({\n  top: `${props.position.y}px`,\n  left: `${props.position.x}px`,\n  backgroundColor: vars.value.backgroundColorPrimary,\n}))\nconst { classNames } = createClassNames(\"h-article-menu\")\nconst onAction = (type: IHArticleMenuActionType) => {\n  emtis(\"update:show\", false)\n  switch (type) {\n    case \"edit\":\n      dispatcher.editArticle({\n        type: props.article!.type,\n        source: props.article!.source,\n      })\n      break\n    case \"delete\":\n      dispatcher.deleteArticle({\n        type: props.article!.type,\n        source: props.article!.source,\n      })\n      break\n    case \"publish\":\n      dispatcher.publishArticle(props.article!.source)\n      break\n    default:\n      break\n  }\n}\nconst dateToString = (date: Dayjs | null) => {\n  return date ? date.format(DATE_FORMAT) : \"\"\n}\n</script>\n<template>\n  <div class=\"hidden\" ref=\"anchorRef\"></div>\n  <Teleport to=\"body\">\n    <FadeTransition>\n      <div\n        ref=\"containerRef\"\n        class=\"w-60 fixed rounded-md shadow p-2\"\n        :class=\"classNames\"\n        :style=\"containerStyle\"\n        v-if=\"show && props.article\"\n        @contextmenu.prevent\n      >\n        <div class=\"flex justify-start\">\n          <HButton\n            class=\"mr-1\"\n            inverted\n            size=\"small\"\n            round\n            @click=\"onAction('edit')\"\n          >\n            <HIcon :name=\"HIconName.Edit\" />\n          </HButton>\n          <HButton\n            class=\"mr-1\"\n            type=\"error\"\n            inverted\n            size=\"small\"\n            round\n            @click=\"onAction('delete')\"\n          >\n            <HIcon :name=\"HIconName.Delete\" />\n          </HButton>\n          <HButton\n            class=\"mr-1\"\n            type=\"success\"\n            inverted\n            size=\"small\"\n            round\n            v-if=\"article!.isDraft\"\n            @click=\"onAction('publish')\"\n          >\n            <HIcon :name=\"HIconName.Upload\" />\n          </HButton>\n        </div>\n        <HDivider class=\"mt-1 mb-2\" />\n        <div class=\"title mt-2 mb-4 px-1\">\n          <HIcon\n            class=\"mr-2\"\n            :name=\"HIconName.Page\"\n            :style=\"{ color: vars.colorPage }\"\n            v-if=\"article!.type==='page'\"\n          />\n          <HIcon\n            class=\"mr-2\"\n            :name=\"HIconName.Read\"\n            :style=\"{ color: vars.colorDraft }\"\n            v-if=\"article!.isDraft\"\n          />\n          <span class=\"font-bold\">\n            {{ article!.title }}\n          </span>\n        </div>\n        <div class=\"mb-2\">\n          <div class=\"text-sm\">\n            {{`发布于 ${dateToString(article!.date)}`}}\n          </div>\n          <div class=\"text-sm\">\n            {{`更新于 ${dateToString(article!.updated)}`}}\n          </div>\n        </div>\n        <template v-if=\"article!.categories?.length\">\n          <HDivider class=\"my-2\" />\n          <div class=\"text-sm\">\n            <template v-for=\"(item, idx) in article!.categories\">\n              <HIcon class=\"mb-0.5\" :name=\"HIconName.ChevronRight\" v-if=\"idx\" />\n              <HBadge class=\"mb-0.5\" rounded>\n                {{ item }}\n              </HBadge>\n            </template>\n          </div>\n        </template>\n        <template v-if=\"article!.tags?.length\">\n          <HDivider class=\"my-2\" />\n          <div class=\"text-sm\">\n            <HBadge class=\"mr-1\" v-for=\"tag in article!.tags\">\n              {{ tag }}\n            </HBadge>\n          </div>\n        </template>\n      </div>\n    </FadeTransition>\n  </Teleport>\n</template>\n<style lang=\"less\"></style>\n"
  },
  {
    "path": "client/src/components/article/interface.ts",
    "content": "import { Dayjs } from \"dayjs\"\nimport { IArticleIdentifier } from \"~/interface\"\n\nexport interface IShowMenuPaylod {\n  article: IHArticleListData\n  e: MouseEvent\n}\n\nexport interface IHArticleListData {\n  type: \"post\" | \"page\"\n  isDraft: boolean\n  title: string\n  brief: string\n  tags: string[]\n  categories: string[]\n  date: Dayjs | null\n  updated: Dayjs | null\n  source: string\n}\n\nexport type IHarticleMenuActionPayload =\n  | {\n      type: \"edit\"\n      id: IArticleIdentifier\n    }\n  | {\n      type: \"delete\"\n      id: IArticleIdentifier\n    }\n  | {\n      type: \"publish\"\n      source: string\n    }\n\nexport type IHArticleMenuActionType = IHarticleMenuActionPayload[\"type\"]\n"
  },
  {
    "path": "client/src/components/article/utils.ts",
    "content": "import dayjs from \"dayjs\"\nimport { IHArticleListData } from \"./interface\"\n\nexport function sortArticleByTime(\n  articles: IHArticleListData[]\n): IHArticleListData[] {\n  return articles.sort((a, b) => {\n    const da = dayjs(a.date)\n    const db = dayjs(b.date)\n    if (!da.isValid()) return -1\n    if (!db.isValid()) return 1\n    return da.valueOf() > db.valueOf() ? -1 : 1\n  })\n}\n"
  },
  {
    "path": "client/src/components/editors/FrontMatterTemplate.vue",
    "content": "<script setup lang=\"ts\">\nimport { IFrontmatterTemplateItem } from \"@server/server/types/api\"\nimport { computed, onMounted, ref } from \"vue\"\nimport { listFrontmatterTemplate, setFrontmatterTemplate } from \"~/api/template\"\nimport { HButton } from \"@/ui/button\"\nimport { useThemeVars } from \"@/ui/theme\"\nimport { HVerticalCenter } from \"@/ui/vertical-center\"\nimport { HLoading } from \"@/ui/loading\"\nimport { HIcon, HIconName } from \"@/ui/icon\"\nimport HTitle from \"@/HTitle.vue\"\nimport { HModal } from \"@/ui/modal\"\nimport FrontMatterTemplateEdit from \"./FrontMatterTemplateEdit.vue\"\nimport { useNotification } from \"~/lib/notification\"\nimport { useDialog } from \"~/lib/dialog\"\nconst emits = defineEmits<{\n  (e: \"set-template\", v: string): void\n}>()\nconst notification = useNotification()\nconst dialog = useDialog()\nconst templates = ref<IFrontmatterTemplateItem[]>([])\nconst loading = ref(false)\nconst load = () => {\n  loading.value = true\n  listFrontmatterTemplate()\n    .then(({ items }) => {\n      templates.value = items\n    })\n    .finally(() => {\n      loading.value = false\n    })\n}\nonMounted(() => load())\nconst vars = useThemeVars()\nconst editing = ref(false)\nconst idx = ref(-1)\nconst onFinish = (v: string) => {\n  editing.value = false\n  templates.value[idx.value] = { data: v }\n  save()\n}\nconst save = () => {\n  setFrontmatterTemplate(templates.value)\n    .then(() => {\n      notification.notify({\n        type: \"success\",\n        title: \"保存预设成功\",\n      })\n    })\n    .catch((err) => {\n      notification.notify({\n        type: \"error\",\n        title: \"保存预设失败\",\n        desc: err,\n        actions: [\n          {\n            label: \"重试\",\n            run: save,\n          },\n        ],\n      })\n    })\n}\nconst value = computed(() => templates.value[idx.value])\nconst onEdit = (index: number) => {\n  idx.value = index\n  editing.value = true\n}\nconst onCancel = () => {\n  editing.value = false\n  idx.value = -1\n}\nconst onDelete = (idx: number) => {\n  dialog.create({\n    type: \"error\",\n    title: \"确认删除么？\",\n    actions: [\n      {\n        label: \"删除\",\n        type: \"error\",\n        run() {\n          templates.value.splice(idx, 1)\n          save()\n        },\n      },\n    ],\n  })\n}\nconst onAdd = () => {\n  templates.value.push({ data: \"key: value\" })\n  onEdit(templates.value.length - 1)\n}\n</script>\n<template>\n  <div\n    :style=\"{ backgroundColor: vars.backgroundColorPrimary }\"\n    class=\"py-2 px-4 rounded-md modal-panel flex flex-col\"\n  >\n    <HTitle class=\"justify-center\">\n      使用 frontmatter 预设\n      <HVerticalCenter>\n        <HButton @click=\"load\" size=\"small\">刷新</HButton>\n      </HVerticalCenter>\n    </HTitle>\n    <div class=\"mt-2 flex-1 overflow-auto relative\">\n      <HLoading :loading=\"loading\">\n        <div class=\"mb-2 flex items-center\" v-for=\"(item, idx) in templates\">\n          <div\n            class=\"item rounded-md p-2 mr-2 select-none cursor-pointer flex-1\"\n            @click=\"emits('set-template', item.data)\"\n          >\n            <pre>{{ item.data }}</pre>\n          </div>\n          <HButton round inverted>\n            <HIcon :name=\"HIconName.Edit\" @click=\"onEdit(idx)\" />\n          </HButton>\n          <HButton type=\"error\" round inverted @click=\"onDelete(idx)\">\n            <HIcon :name=\"HIconName.Delete\" />\n          </HButton>\n        </div>\n      </HLoading>\n      <HModal v-model:show=\"editing\" persistent>\n        <FrontMatterTemplateEdit\n          :value=\"value\"\n          @finish=\"onFinish\"\n          @cancel=\"onCancel\"\n        />\n      </HModal>\n    </div>\n    <div class=\"py-2\">\n      <HButton size=\"small\" @click=\"onAdd\">添加</HButton>\n      <HButton class=\"ml-2\" size=\"small\" @click=\"save\">保存</HButton>\n    </div>\n  </div>\n</template>\n<style lang=\"less\" scoped>\n.item {\n  background-color: v-bind(\"vars.backgroundColorSelected\");\n  &:hover {\n    background-color: v-bind(\"vars.backgroundColorHover\");\n  }\n}\n</style>\n"
  },
  {
    "path": "client/src/components/editors/FrontMatterTemplateEdit.vue",
    "content": "<script setup lang=\"ts\">\nimport HTextarea from \"../ui/textarea/src/HTextarea.vue\"\nimport HButton from \"../ui/button/src/HButton.vue\"\nimport { ref, watch } from \"vue\"\nconst props = defineProps<{\n  value: { data: string }\n}>()\nconst emits = defineEmits<{\n  (e: \"finish\", v: string): void\n  (e: \"cancel\"): void\n}>()\nconst internal = ref(\"\")\nwatch(\n  () => props.value.data,\n  (v) => {\n    internal.value = v\n  },\n  {\n    immediate: true,\n  }\n)\n</script>\n<template>\n  <div>\n    <div class=\"w-96 max-h-96 overflow-y-auto\">\n      <HTextarea v-model:value=\"internal\" />\n    </div>\n    <div class=\"p-2 flex justify-end\">\n      <HButton class=\"mr-2\" size=\"small\" inverted @click=\"emits('cancel')\">\n        取消\n      </HButton>\n      <HButton size=\"small\" @click=\"emits('finish', internal)\">保存</HButton>\n    </div>\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/components/editors/HCategoriesEditor.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed, ref, watch } from \"vue\"\nimport { HIcon, HIconName } from \"@/ui/icon\"\nimport { HBadge } from \"@/ui/badge\"\nimport { HInput } from \"@/ui/input\"\nimport { useThemeVars } from \"@/ui/theme\"\nimport { uniq } from \"lodash-es\"\nimport { stringArrayEqual } from \"~/utils/string\"\nconst props = defineProps<{\n  availableCats: string[]\n  categories: string[]\n}>()\nconst emits = defineEmits<{\n  (e: \"update:categories\", v: string[]): void\n}>()\nconst newCat = ref(\"\")\nconst categories = ref<string[]>(props.categories)\nconst allCategories = computed(() => {\n  return uniq(categories.value.concat(props.availableCats)).sort()\n})\nwatch(\n  () => [...props.categories],\n  (v) => {\n    categories.value = v\n  }\n)\nwatch(\n  () => [...categories.value],\n  (v) => {\n    emits(\"update:categories\", v)\n  }\n)\nconst onNewCat = () => {\n  if (newCat.value) {\n    categories.value.push(newCat.value)\n    newCat.value = \"\"\n  }\n}\nconst onAddCat = (cat: string) => {\n  categories.value.push(cat)\n}\nconst onRemoveCat = (idx: number) => {\n  categories.value.splice(idx, 1)\n}\nconst vars = useThemeVars()\n</script>\n<template>\n  <div class=\"px-4\">\n    <div class=\"mb-2 text-xs\">\n      <template v-for=\"(item, idx) in categories\">\n        <HIcon class=\"mb-0.5\" :name=\"HIconName.ChevronRight\" v-if=\"idx\" />\n        <HBadge class=\"mb-0.5\" rounded clickable @click=\"onRemoveCat(idx)\">\n          {{ item }}\n          <HIcon :name=\"HIconName.Cancel\" />\n        </HBadge>\n      </template>\n    </div>\n    <div class=\"mb-2 text-xs\">\n      <HBadge\n        class=\"mr-1 mb-0.5\"\n        rounded\n        clickable\n        :color=\"vars.textColorPrimary\"\n        :bg-color=\"vars.backgroundColorPrimary\"\n        v-for=\"cat in allCategories\"\n        @click=\"onAddCat(cat)\"\n      >\n        {{ cat }}\n        <HIcon :name=\"HIconName.Add\" />\n      </HBadge>\n    </div>\n    <HInput v-model=\"newCat\" placeholder=\"新分类\" @keydown.enter=\"onNewCat\">\n      <template #suffix>\n        <HIcon :name=\"HIconName.Add\" clickable @click=\"onNewCat\" />\n      </template>\n    </HInput>\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/components/editors/HDateEditor.vue",
    "content": "<script setup lang=\"ts\">\nimport { Dayjs } from \"dayjs\"\nimport { computed } from \"vue\"\nimport { createClassNames } from \"~/utils/create-classnames\"\nimport { HDatePicker } from \"@/ui/date-picker\"\nimport { useThemeVars } from \"@/ui/theme\"\nimport { DATE_FORMAT } from \"@shared/constants\";\n\nconst props = defineProps<{\n  date: Dayjs | null\n}>()\nconst emits = defineEmits<{\n  (e: \"update:date\", v: Dayjs | null): void\n}>()\nconst { classNames } = createClassNames(\"h-date-editor\")\nconst vars = useThemeVars()\nconst text = computed(() =>\n  props.date ? props.date.format(DATE_FORMAT) : \"未指定数据\"\n)\nconst onPickDate = (date: Dayjs | null) => {\n  emits('update:date', date);\n}\n</script>\n<template>\n  <div :class=\"classNames\" class=\"px-4\">\n    <div\n      class=\"content px-4 rounded-2xl flex items-center text-sm cursor-pointer select-none\"\n    >\n      <div>\n        {{ text }}\n      </div>\n      <HDatePicker\n        :date=\"props.date\"\n        @update:date=\"onPickDate\"\n      />\n    </div>\n  </div>\n</template>\n<style lang=\"less\">\n.h-date-editor {\n  .content {\n    height: 30px;\n    background-color: v-bind(\"vars.backgroundColorPrimary\");\n    color: v-bind(\"vars.textColorPrimary\");\n  }\n}\n</style>\n"
  },
  {
    "path": "client/src/components/editors/HFrontmatterEditor.vue",
    "content": "<script setup lang=\"ts\">\nimport { defineAsyncComponent, nextTick, ref, watch } from \"vue\"\nimport { HTextarea } from \"@/ui/textarea\"\nimport { HButton } from \"@/ui/button\"\nimport yaml from \"js-yaml\"\nimport { useThemeVars } from \"@/ui/theme\"\nimport { debouncedWatch } from \"@vueuse/core\"\nimport { cloneDeep } from \"lodash-es\"\nimport { useModal } from \"~/lib/modal\"\nimport FrontMatterTemplateModal from \"~/components/editors/FrontMatterTemplate.vue\"\nimport HModal from \"../ui/modal/src/HModal.vue\"\nimport FrontMatterTemplateEdit from \"./FrontMatterTemplateEdit.vue\"\nconst props = defineProps<{\n  fm: {\n    [key: string]: unknown\n  }\n}>()\nconst emtis = defineEmits<{\n  (\n    e: \"update:fm\",\n    fm: {\n      [key: string]: unknown\n    }\n  ): void\n}>()\nconst modal = useModal()\nconst internal = ref(\"\")\nwatch(\n  () => cloneDeep(props.fm),\n  (v) => {\n    try {\n      // Trick {} => ' {}' to {} => ''\n      const str = yaml.dump(v, {})\n      internal.value = str.trim() === \"{}\" ? \"\" : str\n      nextTick(() => {\n        error.value = \"\"\n      })\n    } catch (err) {\n      nextTick(() => {\n        error.value = (err as Error).message\n      })\n    }\n  },\n  {\n    immediate: true,\n    deep: true,\n  }\n)\ndebouncedWatch(\n  () => internal.value,\n  (v) => {\n    try {\n      const obj = yaml.load(internal.value)\n      yaml.dump(obj)\n      const o: {\n        [key: string]: unknown\n      } = {}\n      if (typeof obj === \"string\") throw new Error(\"must be key-value pairs\")\n      for (const key in obj as { [key: string]: unknown }) {\n        o[key] = (obj as { [key: string]: unknown })[key]\n      }\n      error.value = \"\"\n      emtis(\"update:fm\", o)\n    } catch (err) {\n      error.value = (err as Error).message\n    }\n  },\n  {\n    debounce: 1000,\n  }\n)\nconst error = ref(\"\")\nconst vars = useThemeVars()\nconst showTemplateModal = ref(false)\nconst onTemplate = () => {\n  showTemplateModal.value = true\n}\nconst onSetTemplate = (v: string) => {\n  showTemplateModal.value = false\n  internal.value = v\n}\n</script>\n\n<template>\n  <div class=\"px-4\">\n    <HTextarea\n      :style=\"`font-family: 'Courier New', Courier, monospace`\"\n      v-model:value=\"internal\"\n      :error=\"!!error\"\n      placeholder=\"key: value\"\n    />\n    <div class=\"text-sm mb-2\" :style=\"{ color: vars.colorError }\">\n      {{ error }}\n    </div>\n    <HButton @click=\"onTemplate\">使用模板</HButton>\n    <HModal v-model:show=\"showTemplateModal\">\n      <FrontMatterTemplateModal @set-template=\"(v) => onSetTemplate(v)\" />\n    </HModal>\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/components/editors/HHeaderEditor.vue",
    "content": "<script setup lang=\"ts\">\nconst props = defineProps<{\n  value: string\n}>()\nconst emits = defineEmits<{\n  (e: \"update:value\", value: string): void\n}>()\nconst requestChange = (value: string) => emits(\"update:value\", value)\nconst onInput = (e: Event) =>\n  requestChange((e.target as HTMLInputElement)?.value)\n</script>\n<template>\n  <input\n    class=\"text-2xl outline-none py-4 w-full pl-2 pr-3 bg-transparent\"\n    :value=\"props.value\"\n    @input=\"onInput\"\n  />\n</template>\n"
  },
  {
    "path": "client/src/components/editors/HLayoutEditor.vue",
    "content": "<script setup lang=\"ts\">\nimport { ref, watch } from \"vue\"\nimport { HInput } from \"@/ui/input\"\nconst props = defineProps<{\n  layout: string\n}>()\nconst emits = defineEmits<{\n  (e: \"update:layout\", v: string): void\n}>()\nconst internal = ref(props.layout)\nwatch(\n  () => props.layout,\n  (v) => {\n    internal.value = v\n  }\n)\nwatch(internal, (v) => {\n  props.layout !== v && emits(\"update:layout\", v)\n})\n</script>\n<template>\n  <div class=\"px-4\">\n    <HInput v-model=\"internal\" placeholder=\"hexo-default\" />\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/components/editors/HMonacoEditor.vue",
    "content": "<script setup lang=\"ts\">\nimport { ref, onMounted, watch, onBeforeUnmount } from \"vue\"\nimport * as monaco from \"monaco-editor\"\nimport \"./workers\"\nimport { MonacoMarkdownExtension } from \"./monaco-markdown\"\nimport { PrettierFormatterExtension } from \"./prettier-formatter-ext\"\nimport { MarkdownImageExtension } from \"./markdown-image-ext\"\nimport { editorOptions } from \"./monaco\"\nimport { useMonacoTheme } from \"./theme\"\n\nconst props = defineProps<{\n  value: string\n  id: string\n  fontFamily?: string\n}>()\nconst emits = defineEmits<{\n  (e: \"update:value\", value: string): void\n  (e: \"on-save\"): void\n}>()\nconst dom = ref<HTMLElement>()\nlet instance: monaco.editor.IStandaloneCodeEditor\nfunction resetModal() {\n  const modal = monaco.editor.createModel(props.value, \"markdown\")\n  instance.setModel(modal)\n}\nfunction createInstance() {\n  instance = monaco.editor.create(dom.value!, {\n    ...editorOptions,\n    fontFamily: props.fontFamily ?? editorOptions.fontFamily,\n  })\n  const mdExtension = new MonacoMarkdownExtension()\n  mdExtension.activate(instance)\n\n  const fmExtension = new PrettierFormatterExtension()\n  fmExtension.activate(instance)\n\n  const mdImgExtension = new MarkdownImageExtension()\n  mdImgExtension.activate()\n\n  resetModal()\n  instance.onDidChangeModelContent(() => {\n    const newValue = instance.getValue()\n    emits(\"update:value\", newValue)\n  })\n\n  instance.addAction({\n    id: \"hexon.save\",\n    label: \"Save Changes\",\n    keybindings: [monaco.KeyMod.CtrlCmd | monaco.KeyCode.KeyS],\n    run() {\n      emits(\"on-save\")\n    },\n  })\n}\nonMounted(() => {\n  createInstance()\n})\nwatch(\n  () => props.fontFamily,\n  () => {\n    instance.dispose()\n    createInstance()\n  }\n)\nonBeforeUnmount(() => {\n  instance.dispose()\n})\nwatch(\n  () => props.id,\n  () => {\n    resetModal()\n  }\n)\nwatch(\n  () => props.value,\n  () => {\n    if (instance.getValue() !== props.value) {\n      instance.setValue(props.value)\n    }\n  }\n)\nuseMonacoTheme()\n</script>\n<template>\n  <div class=\"h-monaco-editor\">\n    <div class=\"instance w-full h-full overflow-hidden\" ref=\"dom\"></div>\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/components/editors/HTagEditor.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed, ref, watch } from \"vue\"\nimport { uniq } from \"lodash-es\"\nimport { HInput } from \"@/ui/input\"\nimport { HIcon, HIconName } from \"@/ui/icon\"\nimport { HBadge } from \"@/ui/badge\"\nimport { useThemeVars } from \"@/ui/theme\"\n\nconst props = defineProps<{\n  availableTags: string[]\n  tags: string[]\n}>()\nconst emits = defineEmits<{\n  (e: \"update:tags\", tags: string[]): void\n}>()\nconst vars = useThemeVars()\nconst newTag = ref(\"\")\n\nconst tags = ref<string[]>(props.tags)\nwatch(\n  () => [...props.tags],\n  (ts) => {\n    tags.value = ts\n  }\n)\nwatch(\n  () => [...tags.value],\n  (ts) => {\n    emits(\"update:tags\", ts)\n  }\n)\nconst allTags = computed(() => {\n  return uniq(tags.value.concat(props.availableTags)).sort()\n})\nconst selected = (tag: string) => tags.value.includes(tag)\nconst color = (tag: string) =>\n  selected(tag) ? undefined : vars.value.textColorPrimary\nconst backgroundColor = (tag: string) =>\n  selected(tag) ? undefined : vars.value.backgroundColorPrimary\nconst onClick = (tag: string) => {\n  if (selected(tag)) {\n    tags.value = tags.value.filter((t) => t !== tag)\n  } else {\n    tags.value.push(tag)\n  }\n}\nconst onAddTag = () => {\n  if (!newTag.value) return\n  tags.value.push(newTag.value)\n  tags.value = uniq(tags.value)\n  newTag.value = \"\"\n}\n</script>\n<template>\n  <div class=\"px-4\">\n    <div class=\"mb-2 text-xs\" v-if=\"allTags.length\">\n      <HBadge\n        class=\"mr-1 mb-0.5\"\n        v-for=\"tag in allTags\"\n        :color=\"color(tag)\"\n        :bg-color=\"backgroundColor(tag)\"\n        rounded\n        clickable\n        @click=\"onClick(tag)\"\n      >\n        {{ tag }}\n      </HBadge>\n      &nbsp;\n    </div>\n    <HInput v-model=\"newTag\" placeholder=\"新标签\" @keydown.enter=\"onAddTag\">\n      <template #suffix>\n        <HIcon :name=\"HIconName.Add\" clickable @click=\"onAddTag\" />\n      </template>\n    </HInput>\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/components/editors/custom-monaco.ts",
    "content": "import * as monaco from \"monaco-editor/esm/vs/editor/editor.api\"\nexport { monaco }\n"
  },
  {
    "path": "client/src/components/editors/markdown-image-ext.ts",
    "content": "import { monaco } from \"./custom-monaco\"\n\nexport class MarkdownImageExtension {\n  private static _disposiable: monaco.IDisposable | null\n  public activate() {\n    MarkdownImageExtension._disposiable?.dispose()\n    MarkdownImageExtension._disposiable =\n      monaco.languages.registerHoverProvider(\"markdown\", {\n        provideHover(model, position) {\n          const res = model\n            .findMatches(\n              `!\\\\[(.*?)\\\\]\\\\((.*?)\\\\)`,\n              false,\n              true,\n              false,\n              null,\n              true\n            )\n            .filter((fm) => fm.range.containsPosition(position))[0]\n          const value = res?.matches?.[0]\n          const image = res?.matches?.[2]\n          if (!value || !image) return null\n\n          return {\n            range: res.range,\n            contents: [\n              {\n                value: `[${value}](${image})`,\n              },\n            ],\n          }\n        },\n      })\n  }\n}\n"
  },
  {
    "path": "client/src/components/editors/monaco-markdown/completion.ts",
    "content": "// @ts-nocheck\n'use strict'\n\nimport * as TypeConverters from './vscode-converters'\nimport {CancellationToken, editor, languages, Position as _Position} from 'monaco-editor';\n\nimport {TextDocument, TextEditor,} from './vscode-monaco'\n\nimport {Range, SnippetString, Position} from './extHostTypes'\n\nimport {slugify} from './util';\nimport {buildToc} from './toc';\n\nimport * as latex from './latex'\n\nlet completionActivated = false\n\nexport function activateCompletion(editor: TextEditor) {\n    if (!completionActivated) {\n        //TODO: remove provider when context is disposed\n        let provider = new MdCompletionItemProvider();\n        languages.registerCompletionItemProvider(editor.languageId, provider);\n\n        completionActivated = true;\n    }\n}\n\nfunction completionList(items: languages.CompletionItem[]): languages.CompletionList {\n    return {suggestions: items.map((v, _,) => Object.assign({}, v))};\n}\n\nfunction newCompletionItem(text: string, kind: languages.CompletionItemKind): languages.CompletionItem {\n    return {\n        label: text,\n        kind: kind,\n        additionalTextEdits: undefined,\n        command: undefined,\n        commitCharacters: undefined,\n        detail: undefined,\n        documentation: undefined,\n        filterText: undefined,\n        insertTextRules: undefined,\n        preselect: false,\n        range: undefined,\n        sortText: undefined,\n        insertText: undefined\n    }\n}\n\nclass MdCompletionItemProvider implements languages.CompletionItemProvider {\n    triggerCharacters = ['(', '\\\\', '/', '[', '#']\n\n    // Suffixes explained:\n    // \\cmd         -> 0\n    // \\cmd{$1}     -> 1\n    // \\cmd{$1}{$2} -> 2\n    //\n    // Use linebreak to mimic the structure of the KaTeX [Support Table](https://katex.org/docs/supported.html)\n\n    mathCompletions: languages.CompletionItem[];\n\n    constructor() {\n        // \\cmd\n        let c1 = latex._c1.map(cmd => {\n            let item = newCompletionItem('\\\\' + cmd, languages.CompletionItemKind.Function);\n            item.insertText = cmd;\n            return item;\n        });\n        // \\cmd{$1}\n        let c2 = latex._c2.map(cmd => {\n            let item = newCompletionItem('\\\\' + cmd, languages.CompletionItemKind.Function);\n            item.insertText = new SnippetString(`${cmd}\\{$1\\}`).value;\n            item.insertTextRules = languages.CompletionItemInsertTextRule.InsertAsSnippet\n\n            return item;\n        });\n        // \\cmd{$1}{$2}\n        let c3 = latex._c3.map(cmd => {\n            let item = newCompletionItem('\\\\' + cmd, languages.CompletionItemKind.Function);\n            item.insertText = new SnippetString(`${cmd}\\{$1\\}\\{$2\\}`).value;\n            item.insertTextRules = languages.CompletionItemInsertTextRule.InsertAsSnippet\n\n            return item;\n        });\n        let envSnippet = newCompletionItem('\\\\begin', languages.CompletionItemKind.Snippet);\n        envSnippet.insertText = new SnippetString('begin{${1|aligned,alignedat,array,bmatrix,Bmatrix,cases,darray,dcases,gathered,matrix,pmatrix,vmatrix,Vmatrix|}}\\n\\t$2\\n\\\\end{$1}').value;\n        envSnippet.insertTextRules = languages.CompletionItemInsertTextRule.InsertAsSnippet\n\n        this.mathCompletions = [...c1, ...c2, ...c3, envSnippet];\n        // Sort\n        this.mathCompletions.forEach(item => {\n            item.sortText = (typeof item.label === 'string' ? item.label : item.label.label).replace(/[a-zA-Z]/g, c => {\n                if (/[a-z]/.test(c)) {\n                    return `0${c}`;\n                } else {\n                    return `1${c.toLowerCase()}`;\n                }\n            });\n        });\n    }\n\n    provideCompletionItems(model: editor.ITextModel, _position: _Position, _context: languages.CompletionContext, _token: CancellationToken): languages.ProviderResult<languages.CompletionList> {\n        let document = new TextDocument(model)\n        let position = TypeConverters.Position.to(_position)\n\n        const lineTextBefore = document.lineAt(position.line).text.substring(0, position.character);\n        const lineTextAfter = document.lineAt(position.line).text.substring(position.character);\n\n        let matches;\n        if (\n            (matches = lineTextBefore.match(/\\\\[^$]*$/)) !== null\n        ) {\n            /* ┌────────────────┐\n               │ Math functions │\n               └────────────────┘ */\n            if (\n                /(^|[^\\$])\\$(|[^ \\$].*)\\\\\\w*$/.test(lineTextBefore)\n                && lineTextAfter.includes('$')\n            ) {\n                // Complete math functions (inline math)\n                return completionList(this.mathCompletions);\n            } else {\n                const textBefore = document.getText(new Range(new Position(0, 0), position));\n                const textAfter = document.getText().substr(document.offsetAt(position));\n\n                if (\n                    (matches = textBefore.match(/\\$\\$/g)) !== null\n                    && matches.length % 2 !== 0\n                    && textAfter.includes('\\$\\$')\n                ) {\n                    // Complete math functions ($$ ... $$)\n                    return completionList(this.mathCompletions)\n                } else {\n                    return completionList([]);\n                }\n            }\n        } else if (/\\[[^\\]]*?\\]\\[[^\\]]*$/.test(lineTextBefore)) {\n            /* ┌───────────────────────┐\n               │ Reference link labels │\n               └───────────────────────┘ */\n            let startIndex = lineTextBefore.lastIndexOf('[');\n            const range = new Range(position.with({character: startIndex + 1}), position);\n            return new Promise((res, _) => {\n                const lines = document.getText().split(/\\r?\\n/);\n                const usageCounts = lines.reduce((useCounts, currentLine) => {\n                    let match: RegExpExecArray;\n                    const pattern = /\\[[^\\]]+\\]\\[([^\\]]*?)\\]/g;\n                    while ((match = pattern.exec(currentLine)) !== null) {\n                        let usedRef = match[1];\n                        if (!useCounts.has(usedRef)) {\n                            useCounts.set(usedRef, 0);\n                        }\n                        useCounts.set(usedRef, useCounts.get(usedRef) + 1);\n                    }\n                    return useCounts;\n                }, new Map<string, number>());\n                let refLabels = lines.reduce((prev, curr) => {\n                    let match;\n                    if ((match = /^\\[([^\\]]*?)\\]: (\\S*)( .*)?/.exec(curr)) !== null) {\n                        const ref = match[1];\n                        let item = newCompletionItem(ref, languages.CompletionItemKind.Reference);\n                        const usages = usageCounts.get(ref) || 0;\n                        item.insertText = ref\n                        item.documentation = {value: (match[2])};\n                        item.detail = usages === 1 ? `1 usage` : `${usages} usages`;\n                        // Prefer unused items\n                        item.sortText = usages === 0 ? `0-${ref}` : item.sortText = `1-${ref}`;\n                        item.range = TypeConverters.Range.from(range);\n                        prev.push(item);\n                    }\n                    return prev;\n                }, []);\n\n                res(completionList(refLabels));\n            });\n        } else if (/\\[[^\\]]*\\]\\(#[^\\)]*$/.test(lineTextBefore)) {\n            /* ┌───────────────────────────┐\n               │ Anchor tags from headings │\n               └───────────────────────────┘ */\n            let startIndex = lineTextBefore.lastIndexOf('(');\n            let endPosition = position;\n\n            let addClosingParen = false;\n            if (/^([^\\) ]+\\s*|^\\s*)\\)/.test(lineTextAfter)) {\n                // try to detect if user wants to replace a link (i.e. matching closing paren and )\n                // Either: ... <CURSOR> something <whitespace> )\n                //     or: ... <CURSOR> <whitespace> )\n                //     or: ... <CURSOR> )     (endPosition assignment is a no-op for this case)\n\n                // in every case, we want to remove all characters after the cursor and before that first closing paren\n                endPosition = position.with({character: +endPosition.character + lineTextAfter.indexOf(')')});\n            } else {\n                // If no closing paren is found, replace all trailing non-white-space chars and add a closing paren\n                // distance to first non-whitespace or EOL\n                let toReplace = 0;\n                while (toReplace<lineTextAfter.length && ' \\t\\n\\r\\v'.indexOf(lineTextAfter.charAt(toReplace)) != -1) {\n                    toReplace++;\n                }\n                endPosition = position.with({character: + endPosition.character + toReplace});\n\n                addClosingParen = true;\n            }\n\n            const range = new Range(position.with({character: startIndex + 1}), endPosition);\n\n            return new Promise((res, _) => {\n                const toc = buildToc(document);\n\n                const headingCompletions: languages.CompletionItem[] = toc.reduce((prev: languages.CompletionItem[], curr: any) => {\n                    let item = newCompletionItem('#' + slugify(curr.text), languages.CompletionItemKind.Reference);\n\n                    let label = typeof item.label === 'string' ? item.label : item.label.label;\n                    if (addClosingParen) {\n                        item.insertText = label + ')';\n                    } else {\n                        item.insertText = label\n                    }\n\n                    item.documentation = curr.text;\n                    item.range = TypeConverters.Range.from(range);\n                    prev.push(item);\n                    return prev;\n                }, []);\n\n                res(completionList(headingCompletions));\n            });\n        } else {\n            return completionList([]);\n        }\n    }\n}\n"
  },
  {
    "path": "client/src/components/editors/monaco-markdown/contribution.ts",
    "content": "// @ts-nocheck\n/*---------------------------------------------------------------------------------------------\n *  Copyright (c) Microsoft Corporation. All rights reserved.\n *  Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n'use strict';\n\nimport {languages} from \"monaco-editor\"\n\ninterface ILang extends languages.ILanguageExtensionPoint {\n\tloader: () => Promise<ILangImpl>;\n}\n\ninterface ILangImpl {\n\tconf: languages.LanguageConfiguration;\n\tlanguage: languages.IMonarchLanguage;\n}\n\nlet languageDefinitions: { [languageId: string]: ILang } = {};\n\nfunction _loadLanguage(languageId: string): Promise<void> {\n\tconst loader = languageDefinitions[languageId].loader;\n\treturn loader().then((mod) => {\n\t\tlanguages.setMonarchTokensProvider(languageId, mod.language);\n\t\tlanguages.setLanguageConfiguration(languageId, mod.conf);\n\t});\n}\n\nlet languagePromises: { [languageId: string]: Promise<void> } = {};\n\nexport function loadLanguage(languageId: string): Promise<void> {\n\tif (!languagePromises[languageId]) {\n\t\tlanguagePromises[languageId] = _loadLanguage(languageId);\n\t}\n\treturn languagePromises[languageId];\n}\n\nexport function registerLanguage(def: ILang): void {\n\tlet languageId = def.id;\n\n\tlanguageDefinitions[languageId] = def;\n\tlanguages.register(def);\n\tlanguages.onLanguage(languageId, () => {\n\t\tloadLanguage(languageId);\n\t});\n}\n"
  },
  {
    "path": "client/src/components/editors/monaco-markdown/errors.ts",
    "content": "// @ts-nocheck\n/*---------------------------------------------------------------------------------------------\n *  Copyright (c) Microsoft Corporation. All rights reserved.\n *  Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\nexport interface ErrorListenerCallback {\n\t(error: any): void;\n}\n\nexport interface ErrorListenerUnbind {\n\t(): void;\n}\n\n// Avoid circular dependency on EventEmitter by implementing a subset of the interface.\nexport class ErrorHandler {\n\tprivate unexpectedErrorHandler: (e: any) => void;\n\tprivate listeners: ErrorListenerCallback[];\n\n\tconstructor() {\n\n\t\tthis.listeners = [];\n\n\t\tthis.unexpectedErrorHandler = function (e: any) {\n\t\t\tsetTimeout(() => {\n\t\t\t\tif (e.stack) {\n\t\t\t\t\tthrow new Error(e.message + '\\n\\n' + e.stack);\n\t\t\t\t}\n\n\t\t\t\tthrow e;\n\t\t\t}, 0);\n\t\t};\n\t}\n\n\tpublic addListener(listener: ErrorListenerCallback): ErrorListenerUnbind {\n\t\tthis.listeners.push(listener);\n\n\t\treturn () => {\n\t\t\tthis._removeListener(listener);\n\t\t};\n\t}\n\n\tprivate emit(e: any): void {\n\t\tthis.listeners.forEach((listener) => {\n\t\t\tlistener(e);\n\t\t});\n\t}\n\n\tprivate _removeListener(listener: ErrorListenerCallback): void {\n\t\tthis.listeners.splice(this.listeners.indexOf(listener), 1);\n\t}\n\n\tpublic setUnexpectedErrorHandler(newUnexpectedErrorHandler: (e: any) => void): void {\n\t\tthis.unexpectedErrorHandler = newUnexpectedErrorHandler;\n\t}\n\n\tpublic getUnexpectedErrorHandler(): (e: any) => void {\n\t\treturn this.unexpectedErrorHandler;\n\t}\n\n\tpublic onUnexpectedError(e: any): void {\n\t\tthis.unexpectedErrorHandler(e);\n\t\tthis.emit(e);\n\t}\n\n\t// For external errors, we don't want the listeners to be called\n\tpublic onUnexpectedExternalError(e: any): void {\n\t\tthis.unexpectedErrorHandler(e);\n\t}\n}\n\nexport const errorHandler = new ErrorHandler();\n\nexport function setUnexpectedErrorHandler(newUnexpectedErrorHandler: (e: any) => void): void {\n\terrorHandler.setUnexpectedErrorHandler(newUnexpectedErrorHandler);\n}\n\nexport function onUnexpectedError(e: any): undefined {\n\t// ignore errors from cancelled promises\n\tif (!isPromiseCanceledError(e)) {\n\t\terrorHandler.onUnexpectedError(e);\n\t}\n\treturn undefined;\n}\n\nexport function onUnexpectedExternalError(e: any): undefined {\n\t// ignore errors from cancelled promises\n\tif (!isPromiseCanceledError(e)) {\n\t\terrorHandler.onUnexpectedExternalError(e);\n\t}\n\treturn undefined;\n}\n\nexport interface SerializedError {\n\treadonly $isError: true;\n\treadonly name: string;\n\treadonly message: string;\n\treadonly stack: string;\n}\n\nexport function transformErrorForSerialization(error: Error): SerializedError;\nexport function transformErrorForSerialization(error: any): any;\nexport function transformErrorForSerialization(error: any): any {\n\tif (error instanceof Error) {\n\t\tlet { name, message } = error;\n\t\tconst stack: string = (<any>error).stacktrace || (<any>error).stack;\n\t\treturn {\n\t\t\t$isError: true,\n\t\t\tname,\n\t\t\tmessage,\n\t\t\tstack\n\t\t};\n\t}\n\n\t// return as is\n\treturn error;\n}\n\n// see https://github.com/v8/v8/wiki/Stack%20Trace%20API#basic-stack-traces\nexport interface V8CallSite {\n\tgetThis(): any;\n\tgetTypeName(): string;\n\tgetFunction(): string;\n\tgetFunctionName(): string;\n\tgetMethodName(): string;\n\tgetFileName(): string;\n\tgetLineNumber(): number;\n\tgetColumnNumber(): number;\n\tgetEvalOrigin(): string;\n\tisToplevel(): boolean;\n\tisEval(): boolean;\n\tisNative(): boolean;\n\tisConstructor(): boolean;\n\ttoString(): string;\n}\n\nconst canceledName = 'Canceled';\n\n/**\n * Checks if the given error is a promise in canceled state\n */\nexport function isPromiseCanceledError(error: any): boolean {\n\treturn error instanceof Error && error.name === canceledName && error.message === canceledName;\n}\n\n/**\n * Returns an error that signals cancellation.\n */\nexport function canceled(): Error {\n\tconst error = new Error(canceledName);\n\terror.name = error.message;\n\treturn error;\n}\n\nexport function illegalArgument(name?: string): Error {\n\tif (name) {\n\t\treturn new Error(`Illegal argument: ${name}`);\n\t} else {\n\t\treturn new Error('Illegal argument');\n\t}\n}\n\nexport function illegalState(name?: string): Error {\n\tif (name) {\n\t\treturn new Error(`Illegal state: ${name}`);\n\t} else {\n\t\treturn new Error('Illegal state');\n\t}\n}\n\nexport function readonly(name?: string): Error {\n\treturn name\n\t\t? new Error(`readonly property '${name} cannot be changed'`)\n\t\t: new Error('readonly property cannot be changed');\n}\n\nexport function disposed(what: string): Error {\n\tconst result = new Error(`${what} has been disposed`);\n\tresult.name = 'DISPOSED';\n\treturn result;\n}\n\nexport function getErrorMessage(err: any): string {\n\tif (!err) {\n\t\treturn 'Error';\n\t}\n\n\tif (err.message) {\n\t\treturn err.message;\n\t}\n\n\tif (err.stack) {\n\t\treturn err.stack.split('\\n')[0];\n\t}\n\n\treturn String(err);\n}\n"
  },
  {
    "path": "client/src/components/editors/monaco-markdown/extHostTypes.ts",
    "content": "// @ts-nocheck\nimport { illegalArgument } from \"./errors\"\nimport { Uri } from \"monaco-editor\"\n\n// export function values<V = any>(set: Set<V>): V[];\n// export function values<K = any, V = any>(map: Map<K, V>): V[];\nexport function values<V>(forEachable: {\n  forEach(callback: (value: V, ...more: any[]) => any): void\n}): V[] {\n  const result: V[] = []\n  forEachable.forEach((value) => result.push(value))\n  return result\n}\n\nexport class Position {\n  static Min(...positions: Position[]): Position {\n    if (positions.length === 0) {\n      throw new TypeError()\n    }\n    let result = positions[0]\n    for (let i = 1; i < positions.length; i++) {\n      const p = positions[i]\n      if (p.isBefore(result!)) {\n        result = p\n      }\n    }\n    return result\n  }\n\n  static Max(...positions: Position[]): Position {\n    if (positions.length === 0) {\n      throw new TypeError()\n    }\n    let result = positions[0]\n    for (let i = 1; i < positions.length; i++) {\n      const p = positions[i]\n      if (p.isAfter(result!)) {\n        result = p\n      }\n    }\n    return result\n  }\n\n  static isPosition(other: any): other is Position {\n    if (!other) {\n      return false\n    }\n    if (other instanceof Position) {\n      return true\n    }\n    let { line, character } = <Position>other\n    if (typeof line === \"number\" && typeof character === \"number\") {\n      return true\n    }\n    return false\n  }\n\n  private _line: number\n  private _character: number\n\n  get line(): number {\n    return this._line\n  }\n\n  get character(): number {\n    return this._character\n  }\n\n  constructor(line: number, character: number) {\n    if (line < 0) {\n      throw illegalArgument(\"line must be non-negative\")\n    }\n    if (character < 0) {\n      throw illegalArgument(\"character must be non-negative\")\n    }\n    this._line = line\n    this._character = character\n  }\n\n  isBefore(other: Position): boolean {\n    if (this._line < other._line) {\n      return true\n    }\n    if (other._line < this._line) {\n      return false\n    }\n    return this._character < other._character\n  }\n\n  isBeforeOrEqual(other: Position): boolean {\n    if (this._line < other._line) {\n      return true\n    }\n    if (other._line < this._line) {\n      return false\n    }\n    return this._character <= other._character\n  }\n\n  isAfter(other: Position): boolean {\n    return !this.isBeforeOrEqual(other)\n  }\n\n  isAfterOrEqual(other: Position): boolean {\n    return !this.isBefore(other)\n  }\n\n  isEqual(other: Position): boolean {\n    return this._line === other._line && this._character === other._character\n  }\n\n  compareTo(other: Position): number {\n    if (this._line < other._line) {\n      return -1\n    } else if (this._line > other.line) {\n      return 1\n    } else {\n      // equal line\n      if (this._character < other._character) {\n        return -1\n      } else if (this._character > other._character) {\n        return 1\n      } else {\n        // equal line and character\n        return 0\n      }\n    }\n  }\n\n  translate(change: { lineDelta?: number; characterDelta?: number }): Position\n  translate(lineDelta?: number, characterDelta?: number): Position\n  translate(\n    lineDeltaOrChange:\n      | number\n      | undefined\n      | { lineDelta?: number; characterDelta?: number },\n    characterDelta: number = 0\n  ): Position {\n    if (lineDeltaOrChange === null || characterDelta === null) {\n      throw illegalArgument()\n    }\n\n    let lineDelta: number\n    if (typeof lineDeltaOrChange === \"undefined\") {\n      lineDelta = 0\n    } else if (typeof lineDeltaOrChange === \"number\") {\n      lineDelta = lineDeltaOrChange\n    } else {\n      lineDelta =\n        typeof lineDeltaOrChange.lineDelta === \"number\"\n          ? lineDeltaOrChange.lineDelta\n          : 0\n      characterDelta =\n        typeof lineDeltaOrChange.characterDelta === \"number\"\n          ? lineDeltaOrChange.characterDelta\n          : 0\n    }\n\n    if (lineDelta === 0 && characterDelta === 0) {\n      return this\n    }\n    return new Position(this.line + lineDelta, this.character + characterDelta)\n  }\n\n  with(change: { line?: number; character?: number }): Position\n  with(line?: number, character?: number): Position\n  with(\n    lineOrChange: number | undefined | { line?: number; character?: number },\n    character: number = this.character\n  ): Position {\n    if (lineOrChange === null || character === null) {\n      throw illegalArgument()\n    }\n\n    let line: number\n    if (typeof lineOrChange === \"undefined\") {\n      line = this.line\n    } else if (typeof lineOrChange === \"number\") {\n      line = lineOrChange\n    } else {\n      line =\n        typeof lineOrChange.line === \"number\" ? lineOrChange.line : this.line\n      character =\n        typeof lineOrChange.character === \"number\"\n          ? lineOrChange.character\n          : this.character\n    }\n\n    if (line === this.line && character === this.character) {\n      return this\n    }\n    return new Position(line, character)\n  }\n\n  toJSON(): any {\n    return { line: this.line, character: this.character }\n  }\n}\n\nexport class Range {\n  static isRange(thing: any): boolean {\n    if (thing instanceof Range) {\n      return true\n    }\n    if (!thing) {\n      return false\n    }\n    return (\n      Position.isPosition((<Range>thing).start) &&\n      Position.isPosition(<Range>thing.end)\n    )\n  }\n\n  protected _start: Position\n  protected _end: Position\n\n  get start(): Position {\n    return this._start\n  }\n\n  get end(): Position {\n    return this._end\n  }\n\n  constructor(start: Position, end: Position)\n  constructor(\n    startLine: number,\n    startColumn: number,\n    endLine: number,\n    endColumn: number\n  )\n  constructor(\n    startLineOrStart: number | Position,\n    startColumnOrEnd: number | Position,\n    endLine?: number,\n    endColumn?: number\n  ) {\n    let start: Position | undefined\n    let end: Position | undefined\n\n    if (\n      typeof startLineOrStart === \"number\" &&\n      typeof startColumnOrEnd === \"number\" &&\n      typeof endLine === \"number\" &&\n      typeof endColumn === \"number\"\n    ) {\n      start = new Position(startLineOrStart, startColumnOrEnd)\n      end = new Position(endLine, endColumn)\n    } else if (\n      startLineOrStart instanceof Position &&\n      startColumnOrEnd instanceof Position\n    ) {\n      start = startLineOrStart\n      end = startColumnOrEnd\n    }\n\n    if (!start || !end) {\n      throw new Error(\"Invalid arguments\")\n    }\n\n    if (start.isBefore(end)) {\n      this._start = start\n      this._end = end\n    } else {\n      this._start = end\n      this._end = start\n    }\n  }\n\n  contains(positionOrRange: Position | Range): boolean {\n    if (positionOrRange instanceof Range) {\n      return (\n        this.contains(positionOrRange._start) &&\n        this.contains(positionOrRange._end)\n      )\n    } else if (positionOrRange instanceof Position) {\n      if (positionOrRange.isBefore(this._start)) {\n        return false\n      }\n      if (this._end.isBefore(positionOrRange)) {\n        return false\n      }\n      return true\n    }\n    return false\n  }\n\n  isEqual(other: Range): boolean {\n    return this._start.isEqual(other._start) && this._end.isEqual(other._end)\n  }\n\n  intersection(other: Range): Range | undefined {\n    const start = Position.Max(other.start, this._start)\n    const end = Position.Min(other.end, this._end)\n    if (start.isAfter(end)) {\n      // this happens when there is no overlap:\n      // |-----|\n      //          |----|\n      return undefined\n    }\n    return new Range(start, end)\n  }\n\n  union(other: Range): Range {\n    if (this.contains(other)) {\n      return this\n    } else if (other.contains(this)) {\n      return other\n    }\n    const start = Position.Min(other.start, this._start)\n    const end = Position.Max(other.end, this.end)\n    return new Range(start, end)\n  }\n\n  get isEmpty(): boolean {\n    return this._start.isEqual(this._end)\n  }\n\n  get isSingleLine(): boolean {\n    return this._start.line === this._end.line\n  }\n\n  with(change: { start?: Position; end?: Position }): Range\n  with(start?: Position, end?: Position): Range\n  with(\n    startOrChange: Position | undefined | { start?: Position; end?: Position },\n    end: Position = this.end\n  ): Range {\n    if (startOrChange === null || end === null) {\n      throw illegalArgument()\n    }\n\n    let start: Position\n    if (!startOrChange) {\n      start = this.start\n    } else if (Position.isPosition(startOrChange)) {\n      start = startOrChange\n    } else {\n      start = startOrChange.start || this.start\n      end = startOrChange.end || this.end\n    }\n\n    if (start.isEqual(this._start) && end.isEqual(this.end)) {\n      return this\n    }\n    return new Range(start, end)\n  }\n\n  toJSON(): any {\n    return [this.start, this.end]\n  }\n}\n\nexport class Selection extends Range {\n  static isSelection(thing: any): thing is Selection {\n    if (thing instanceof Selection) {\n      return true\n    }\n    if (!thing) {\n      return false\n    }\n    return (\n      Range.isRange(thing) &&\n      Position.isPosition((<Selection>thing).anchor) &&\n      Position.isPosition((<Selection>thing).active) &&\n      typeof (<Selection>thing).isReversed === \"boolean\"\n    )\n  }\n\n  private _anchor: Position\n\n  public get anchor(): Position {\n    return this._anchor\n  }\n\n  private _active: Position\n\n  public get active(): Position {\n    return this._active\n  }\n\n  constructor(anchor: Position, active: Position)\n  constructor(\n    anchorLine: number,\n    anchorColumn: number,\n    activeLine: number,\n    activeColumn: number\n  )\n  constructor(\n    anchorLineOrAnchor: number | Position,\n    anchorColumnOrActive: number | Position,\n    activeLine?: number,\n    activeColumn?: number\n  ) {\n    let anchor: Position | undefined\n    let active: Position | undefined\n\n    if (\n      typeof anchorLineOrAnchor === \"number\" &&\n      typeof anchorColumnOrActive === \"number\" &&\n      typeof activeLine === \"number\" &&\n      typeof activeColumn === \"number\"\n    ) {\n      anchor = new Position(anchorLineOrAnchor, anchorColumnOrActive)\n      active = new Position(activeLine, activeColumn)\n    } else if (\n      anchorLineOrAnchor instanceof Position &&\n      anchorColumnOrActive instanceof Position\n    ) {\n      anchor = anchorLineOrAnchor\n      active = anchorColumnOrActive\n    }\n\n    if (!anchor || !active) {\n      throw new Error(\"Invalid arguments\")\n    }\n\n    super(anchor, active)\n\n    this._anchor = anchor\n    this._active = active\n  }\n\n  get isReversed(): boolean {\n    return this._anchor === this._end\n  }\n\n  toJSON() {\n    return {\n      start: this.start,\n      end: this.end,\n      active: this.active,\n      anchor: this.anchor,\n    }\n  }\n}\n\nexport enum EndOfLine {\n  LF = 1,\n  CRLF = 2,\n}\n\nexport class TextEdit {\n  static isTextEdit(thing: any): thing is TextEdit {\n    if (thing instanceof TextEdit) {\n      return true\n    }\n    if (!thing) {\n      return false\n    }\n    return (\n      Range.isRange(<TextEdit>thing) &&\n      typeof (<TextEdit>thing).newText === \"string\"\n    )\n  }\n\n  static replace(range: Range, newText: string): TextEdit {\n    return new TextEdit(range, newText)\n  }\n\n  static insert(position: Position, newText: string): TextEdit {\n    return TextEdit.replace(new Range(position, position), newText)\n  }\n\n  static delete(range: Range): TextEdit {\n    return TextEdit.replace(range, \"\")\n  }\n\n  static setEndOfLine(eol: EndOfLine): TextEdit {\n    const ret = new TextEdit(\n      new Range(new Position(0, 0), new Position(0, 0)),\n      \"\"\n    )\n    ret.newEol = eol\n    return ret\n  }\n\n  protected _range: Range\n  protected _newText: string | null\n  protected _newEol: EndOfLine\n\n  get range(): Range {\n    return this._range\n  }\n\n  set range(value: Range) {\n    if (value && !Range.isRange(value)) {\n      throw illegalArgument(\"range\")\n    }\n    this._range = value\n  }\n\n  get newText(): string {\n    return this._newText || \"\"\n  }\n\n  set newText(value: string) {\n    if (value && typeof value !== \"string\") {\n      throw illegalArgument(\"newText\")\n    }\n    this._newText = value\n  }\n\n  get newEol(): EndOfLine {\n    return this._newEol\n  }\n\n  set newEol(value: EndOfLine) {\n    if (value && typeof value !== \"number\") {\n      throw illegalArgument(\"newEol\")\n    }\n    this._newEol = value\n  }\n\n  constructor(range: Range, newText: string | null) {\n    this.range = range\n    this._newText = newText\n  }\n\n  toJSON(): any {\n    return {\n      range: this.range,\n      newText: this.newText,\n      newEol: this._newEol,\n    }\n  }\n}\n\nexport interface IFileOperationOptions {\n  overwrite?: boolean\n  ignoreIfExists?: boolean\n  ignoreIfNotExists?: boolean\n  recursive?: boolean\n}\n\nexport interface IFileOperation {\n  _type: 1\n  from?: Uri\n  to?: Uri\n  options?: IFileOperationOptions\n}\n\nexport interface IFileTextEdit {\n  _type: 2\n  uri: Uri\n  edit: TextEdit\n}\n\nexport class WorkspaceEdit {\n  private _edits = new Array<IFileOperation | IFileTextEdit>()\n\n  renameFile(\n    from: Uri,\n    to: Uri,\n    options?: { overwrite?: boolean; ignoreIfExists?: boolean }\n  ): void {\n    this._edits.push({ _type: 1, from, to, options })\n  }\n\n  createFile(\n    uri: Uri,\n    options?: { overwrite?: boolean; ignoreIfExists?: boolean }\n  ): void {\n    this._edits.push({ _type: 1, from: undefined, to: uri, options })\n  }\n\n  deleteFile(\n    uri: Uri,\n    options?: { recursive?: boolean; ignoreIfNotExists?: boolean }\n  ): void {\n    this._edits.push({ _type: 1, from: uri, to: undefined, options })\n  }\n\n  replace(uri: Uri, range: Range, newText: string): void {\n    this._edits.push({ _type: 2, uri, edit: new TextEdit(range, newText) })\n  }\n\n  insert(resource: Uri, position: Position, newText: string): void {\n    this.replace(resource, new Range(position, position), newText)\n  }\n\n  delete(resource: Uri, range: Range): void {\n    this.replace(resource, range, \"\")\n  }\n\n  has(uri: Uri): boolean {\n    for (const edit of this._edits) {\n      if (edit._type === 2 && edit.uri.toString() === uri.toString()) {\n        return true\n      }\n    }\n    return false\n  }\n\n  set(uri: Uri, edits: TextEdit[]): void {\n    if (!edits) {\n      // remove all text edits for `uri`\n      for (let i = 0; i < this._edits.length; i++) {\n        const element = this._edits[i]\n        if (element._type === 2 && element.uri.toString() === uri.toString()) {\n          this._edits[i] = undefined! // will be coalesced down below\n        }\n      }\n      // this._edits = coalesce(this._edits); TODO\n    } else {\n      // append edit to the end\n      for (const edit of edits) {\n        if (edit) {\n          this._edits.push({ _type: 2, uri, edit })\n        }\n      }\n    }\n  }\n\n  get(uri: Uri): TextEdit[] {\n    const res: TextEdit[] = []\n    for (let candidate of this._edits) {\n      if (\n        candidate._type === 2 &&\n        candidate.uri.toString() === uri.toString()\n      ) {\n        res.push(candidate.edit)\n      }\n    }\n    return res\n  }\n\n  entries(): [Uri, TextEdit[]][] {\n    const textEdits = new Map<string, [Uri, TextEdit[]]>()\n    for (let candidate of this._edits) {\n      if (candidate._type === 2) {\n        let textEdit = textEdits.get(candidate.uri.toString())\n        if (!textEdit) {\n          textEdit = [candidate.uri, []]\n          textEdits.set(candidate.uri.toString(), textEdit)\n        }\n        textEdit[1].push(candidate.edit)\n      }\n    }\n    return values(textEdits)\n  }\n\n  _allEntries(): ([Uri, TextEdit[]] | [Uri?, Uri?, IFileOperationOptions?])[] {\n    const res: ([Uri, TextEdit[]] | [Uri?, Uri?, IFileOperationOptions?])[] = []\n    for (let edit of this._edits) {\n      if (edit._type === 1) {\n        res.push([edit.from, edit.to, edit.options])\n      } else {\n        res.push([edit.uri, [edit.edit]])\n      }\n    }\n    return res\n  }\n\n  get size(): number {\n    return this.entries().length\n  }\n\n  toJSON(): any {\n    return this.entries()\n  }\n}\n\nexport enum TextEditorRevealType {\n  Default = 0,\n  InCenter = 1,\n  InCenterIfOutsideViewport = 2,\n  AtTop = 3,\n}\n\nexport enum TextEditorSelectionChangeKind {\n  Keyboard = 1,\n  Mouse = 2,\n  Command = 3,\n}\n\nexport class SnippetString {\n  static isSnippetString(thing: any): thing is SnippetString {\n    if (thing instanceof SnippetString) {\n      return true\n    }\n    if (!thing) {\n      return false\n    }\n    return typeof (<SnippetString>thing).value === \"string\"\n  }\n\n  private static _escape(value: string): string {\n    return value.replace(/\\$|}|\\\\/g, \"\\\\$&\")\n  }\n\n  private _tabstop: number = 1\n\n  value: string\n\n  constructor(value?: string) {\n    this.value = value || \"\"\n  }\n\n  appendText(string: string): SnippetString {\n    this.value += SnippetString._escape(string)\n    return this\n  }\n\n  appendTabstop(number: number = this._tabstop++): SnippetString {\n    this.value += \"$\"\n    this.value += number\n    return this\n  }\n\n  appendPlaceholder(\n    value: string | ((snippet: SnippetString) => any),\n    number: number = this._tabstop++\n  ): SnippetString {\n    if (typeof value === \"function\") {\n      const nested = new SnippetString()\n      nested._tabstop = this._tabstop\n      value(nested)\n      this._tabstop = nested._tabstop\n      value = nested.value\n    } else {\n      value = SnippetString._escape(value)\n    }\n\n    this.value += \"${\"\n    this.value += number\n    this.value += \":\"\n    this.value += value\n    this.value += \"}\"\n\n    return this\n  }\n\n  appendVariable(\n    name: string,\n    defaultValue?: string | ((snippet: SnippetString) => any)\n  ): SnippetString {\n    if (typeof defaultValue === \"function\") {\n      const nested = new SnippetString()\n      nested._tabstop = this._tabstop\n      defaultValue(nested)\n      this._tabstop = nested._tabstop\n      defaultValue = nested.value\n    } else if (typeof defaultValue === \"string\") {\n      defaultValue = defaultValue.replace(/\\$|}/g, \"\\\\$&\")\n    }\n\n    this.value += \"${\"\n    this.value += name\n    if (defaultValue) {\n      this.value += \":\"\n      this.value += defaultValue\n    }\n    this.value += \"}\"\n\n    return this\n  }\n}\n"
  },
  {
    "path": "client/src/components/editors/monaco-markdown/formatting.ts",
    "content": "// @ts-nocheck\n'use strict';\n\nimport {editor, KeyCode, KeyMod} from 'monaco-editor';\n\nimport { fixMarker } from './listEditing';\nimport {TextDocument, TextEditor} from \"./vscode-monaco\";\nimport {Position, Selection, Range, WorkspaceEdit} from \"./extHostTypes\";\n\nexport function addKeybinding(editor: TextEditor, name: String, fun: CallableFunction, keybindings: number[], label?: string, context?: string, contextMenuGroupId = \"markdown.extension.editing\") {\n    editor.addAction({\n        contextMenuGroupId: contextMenuGroupId,\n        contextMenuOrder: 0,\n        id: \"markdown.extension.editing.\" + name,\n        keybindingContext: context,\n        keybindings: keybindings,\n        label: label,\n        precondition: \"\",\n        run(_: editor.ICodeEditor): void | Promise<void> {\n            fun(editor)\n            return undefined;\n        }\n    });\n}\n\nexport function activateFormatting(editor: TextEditor) {\n    addKeybinding(editor, \"toggleBold\", toggleBold, [KeyMod.CtrlCmd | KeyCode.KeyB], \"Toggle bold\");\n    addKeybinding(editor, \"toggleItalic\", toggleItalic, [KeyMod.CtrlCmd | KeyCode.KeyI], \"Toggle italic\");\n    addKeybinding(editor, \"toggleCodeSpan\", toggleCodeSpan, [KeyMod.CtrlCmd | KeyCode.Backquote], \"Toggle code span\");\n    addKeybinding(editor, \"toggleStrikethrough\", toggleStrikethrough, [KeyMod.Alt | KeyCode.KeyS], \"Toggle strikethrough\");\n    addKeybinding(editor, \"toggleMath\", toggleMath, [KeyMod.CtrlCmd | KeyCode.KeyM], \"Toggle math\");\n    addKeybinding(editor, \"toggleMathReverse\", toggleMathReverse, [KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyM], \"Toggle math reverse\");\n    addKeybinding(editor, \"toggleHeadingUp\", toggleHeadingUp, [KeyMod.WinCtrl | KeyMod.Shift | KeyCode.BracketLeft], \"Heading up\");\n    addKeybinding(editor, \"toggleHeadingDown\", toggleHeadingDown, [KeyMod.WinCtrl | KeyMod.Shift | KeyCode.BracketRight], \"Heading down\");\n    addKeybinding(editor, \"toggleList\", toggleList, [KeyMod.CtrlCmd | KeyCode.KeyL], \"Toggle list\");\n    // addKeybinding(editor, paste, [KeyMod.CtrlCmd | KeyCode.KEY_B], \"Toggle bold\");\n}\n\n/**\n * Here we store Regexp to check if the text is the single link.\n */\nconst singleLinkRegex: RegExp = createLinkRegex();\n\n// Return Promise because need to chain operations in unit tests\n\nfunction toggleBold(editor: TextEditor) {\n    return styleByWrapping(editor, '**');\n}\n\nfunction toggleItalic(editor: TextEditor) {\n    // let indicator = workspace.getConfiguration('markdown.extension.italic').get<string>('indicator');\n    return styleByWrapping(editor, '*');\n}\n\nfunction toggleCodeSpan(editor: TextEditor) {\n    return styleByWrapping(editor, '`');\n}\n\nfunction toggleStrikethrough(editor: TextEditor) {\n    return styleByWrapping(editor, '~~');\n}\n\nconst maxHeading = '######';\n\nfunction toggleHeadingUp(editor: TextEditor) {\n    let lineIndex = editor.selection.active.line;\n    let lineText = editor.document.lineAt(lineIndex).text;\n\n    return editor.edit((editBuilder) => {\n        if (!lineText.startsWith('#')) { // Not a heading\n            editBuilder.insert(new Position(lineIndex, 0), '# ');\n        } else if (lineText.startsWith(maxHeading)) { // Reset heading at 6 level\n            let deleteIndex = lineText.startsWith(maxHeading + ' ') ? maxHeading.length + 1 : maxHeading.length;\n            editBuilder.delete(new Range(new Position(lineIndex, 0), new Position(lineIndex, deleteIndex)));\n        } else {\n            editBuilder.insert(new Position(lineIndex, 0), '#');\n        }\n    });\n}\n\nfunction toggleHeadingDown(editor: TextEditor) {\n    let lineIndex = editor.selection.active.line;\n    let lineText = editor.document.lineAt(lineIndex).text;\n\n    editor.edit((editBuilder) => {\n        if (lineText.startsWith('# ')) { // Heading level 1\n            editBuilder.delete(new Range(new Position(lineIndex, 0), new Position(lineIndex, 2)));\n        } else if (lineText.startsWith('#')) { // Heading (but not level 1)\n            editBuilder.delete(new Range(new Position(lineIndex, 0), new Position(lineIndex, 1)));\n        } else { // No heading\n            editBuilder.insert(new Position(lineIndex, 0), maxHeading + ' ');\n        }\n    });\n}\n\nenum MathBlockState {\n    // State 1: not in any others states\n    NONE,\n    // State 2: $|$\n    INLINE,\n    // State 3: $$ | $$\n    SINGLE_DISPLAYED,\n    // State 4:\n    // $$\n    // |\n    // $$\n    MULTI_DISPLAYED\n}\n\nfunction getMathState(editor: TextEditor, cursor: Position): MathBlockState {\n    if (getContext(editor, cursor, '$') === '$|$') {\n        return MathBlockState.INLINE;\n    } else if (getContext(editor, cursor, '$$ ', ' $$') === '$$ | $$') {\n        return MathBlockState.SINGLE_DISPLAYED;\n    } else if (\n        editor.document.lineAt(cursor.line).text === ''\n        && cursor.line > 0\n        && editor.document.lineAt(cursor.line - 1).text === '$$'\n        && cursor.line < editor.document.lineCount - 1\n        && editor.document.lineAt(cursor.line + 1).text === '$$'\n    ) {\n        return MathBlockState.MULTI_DISPLAYED\n    } else {\n        return MathBlockState.NONE;\n    }\n}\n\n/**\n * Modify the document, change from `oldMathBlockState` to `newMathBlockState`.\n * @param editor\n * @param cursor\n * @param oldMathBlockState\n * @param newMathBlockState\n */\nfunction setMathState(editor: TextEditor, cursor: Position, oldMathBlockState: MathBlockState, newMathBlockState: MathBlockState) {\n    // Step 1: Delete old math block.\n    editor.edit(editBuilder => {\n        let rangeToBeDeleted: Range\n        switch (oldMathBlockState) {\n            case MathBlockState.NONE:\n                rangeToBeDeleted = new Range(cursor, cursor);\n                break;\n            case MathBlockState.INLINE:\n                rangeToBeDeleted = new Range(new Position(cursor.line, cursor.character - 1), new Position(cursor.line, cursor.character + 1));\n                break;\n            case MathBlockState.SINGLE_DISPLAYED:\n                rangeToBeDeleted = new Range(new Position(cursor.line, cursor.character - 3), new Position(cursor.line, cursor.character + 3));\n                break;\n            case MathBlockState.MULTI_DISPLAYED:\n                rangeToBeDeleted = new Range(new Position(cursor.line - 1, 0), new Position(cursor.line + 1, 2));\n                break;\n        }\n        editBuilder.delete(rangeToBeDeleted)\n    }).then(() => {\n        // Step 2: Insert new math block.\n        editor.edit(editBuilder => {\n            let newCursor = editor.selection.active;\n            let stringToBeInserted: string\n            switch (newMathBlockState) {\n                case MathBlockState.NONE:\n                    stringToBeInserted = ''\n                    break;\n                case MathBlockState.INLINE:\n                    stringToBeInserted = '$$'\n                    break;\n                case MathBlockState.SINGLE_DISPLAYED:\n                    stringToBeInserted = '$$  $$'\n                    break;\n                case MathBlockState.MULTI_DISPLAYED:\n                    stringToBeInserted = '$$\\n\\n$$'\n                    break;\n            }\n            editBuilder.insert(newCursor, stringToBeInserted);\n        }).then(() => {\n            // Step 3: Move cursor to the middle.\n            let newCursor = editor.selection.active;\n            let newPosition: Position;\n            switch (newMathBlockState) {\n                case MathBlockState.NONE:\n                    newPosition = newCursor\n                    break;\n                case MathBlockState.INLINE:\n                    newPosition = newCursor.with(newCursor.line, newCursor.character - 1)\n                    break;\n                case MathBlockState.SINGLE_DISPLAYED:\n                    newPosition = newCursor.with(newCursor.line, newCursor.character - 3)\n                    break;\n                case MathBlockState.MULTI_DISPLAYED:\n                    newPosition = newCursor.with(newCursor.line - 1, 0)\n                    break;\n            }\n            editor.selection = new Selection(newPosition, newPosition);\n        })\n    });\n}\n\nconst transTable = [\n    MathBlockState.NONE,\n    MathBlockState.INLINE,\n    MathBlockState.MULTI_DISPLAYED,\n    MathBlockState.SINGLE_DISPLAYED\n];\n\nconst reverseTransTable = new Array(...transTable).reverse();\n\nfunction toggleMath(editor: TextEditor) {\n    _toggleMath(editor, transTable)\n}\n\nfunction toggleMathReverse(editor: TextEditor) {\n    _toggleMath(editor, reverseTransTable)\n}\n\nfunction _toggleMath(editor: TextEditor, transTable: MathBlockState[]) {\n    if (!editor.selection.isEmpty) return;\n    let cursor = editor.selection.active;\n\n    let oldMathBlockState = getMathState(editor, cursor)\n    let currentStateIndex = transTable.indexOf(oldMathBlockState);\n    setMathState(editor, cursor, oldMathBlockState, transTable[(currentStateIndex + 1) % transTable.length])\n}\n\nfunction toggleList(editor: TextEditor) {\n    const doc = editor.document;\n    let batchEdit = new WorkspaceEdit();\n\n    editor.selections.forEach(selection => {\n        if (selection.isEmpty) {\n            toggleListSingleLine(doc, selection.active.line, batchEdit);\n        } else {\n            for (let i = selection.start.line; i <= selection.end.line; i++) {\n                toggleListSingleLine(doc, i, batchEdit);\n            }\n        }\n    });\n\n    return editor.applyEdit(batchEdit, [])\n        .then(() => fixMarker(editor));\n}\n\nfunction toggleListSingleLine(doc: TextDocument, line: number, wsEdit: WorkspaceEdit) {\n    const lineText = doc.lineAt(line).text;\n    const indentation = lineText.trim().length === 0 ? lineText.length : lineText.indexOf(lineText.trim());\n    const lineTextContent = lineText.substr(indentation);\n\n    if (lineTextContent.startsWith(\"- \")) {\n        wsEdit.replace(doc.uri, new Range(line, indentation, line, indentation + 2), \"* \");\n    } else if (lineTextContent.startsWith(\"* \")) {\n        wsEdit.replace(doc.uri, new Range(line, indentation, line, indentation + 2), \"+ \");\n    } else if (lineTextContent.startsWith(\"+ \")) {\n        wsEdit.replace(doc.uri, new Range(line, indentation, line, indentation + 2), \"1. \");\n    } else if (/^\\d\\. /.test(lineTextContent)) {\n        wsEdit.replace(doc.uri, new Range(line, indentation + 1, line, indentation + 2), \")\");\n    } else if (/^\\d\\) /.test(lineTextContent)) {\n        wsEdit.delete(doc.uri, new Range(line, indentation, line, indentation + 3));\n    } else {\n        wsEdit.insert(doc.uri, new Position(line, indentation), \"- \");\n    }\n}\n\n// async function paste() {\n//     const editor = window.activeTextEditor;\n//     const selection = editor.selection;\n//     if (selection.isSingleLine && !isSingleLink(editor.document.getText(selection))) {\n//         const text = await env.clipboard.readText();\n//         if (isSingleLink(text)) {\n//             return commands.executeCommand(\"editor.action.insertSnippet\", { \"snippet\": `[$TM_SELECTED_TEXT$0](${text})` });\n//         }\n//     }\n//     return commands.executeCommand(\"editor.action.clipboardPasteAction\");\n// }\n\n/**\n * Creates Regexp to check if the text is a link (further detailes in the isSingleLink() documentation).\n *\n * @return Regexp\n */\nfunction createLinkRegex(): RegExp {\n    // unicode letters range(must not be a raw string)\n    const ul = '\\\\u00a1-\\\\uffff';\n    // IP patterns\n    const ipv4_re = '(?:25[0-5]|2[0-4]\\\\d|[0-1]?\\\\d?\\\\d)(?:\\\\.(?:25[0-5]|2[0-4]\\\\d|[0-1]?\\\\d?\\\\d)){3}';\n    const ipv6_re = '\\\\[[0-9a-f:\\\\.]+\\\\]';  // simple regex (in django it is validated additionally)\n\n\n    // Host patterns\n    const hostname_re = '[a-z' + ul + '0-9](?:[a-z' + ul + '0-9-]{0,61}[a-z' + ul + '0-9])?';\n    // Max length for domain name labels is 63 characters per RFC 1034 sec. 3.1\n    const domain_re = '(?:\\\\.(?!-)[a-z' + ul + '0-9-]{1,63})*';\n\n    const tld_re = ''\n        + '\\\\.'                               // dot\n        + '(?!-)'                             // can't start with a dash\n        + '(?:[a-z' + ul + '-]{2,63}'         // domain label\n        + '|xn--[a-z0-9]{1,59})'              // or punycode label\n        // + '(?<!-)'                            // can't end with a dash\n        + '\\\\.?'                              // may have a trailing dot\n    ;\n\n    const host_re = '(' + hostname_re + domain_re + tld_re + '|localhost)';\n    const pattern = ''\n        + '^(?:[a-z0-9\\\\.\\\\-\\\\+]*)://'  // scheme is not validated (in django it is validated additionally)\n        + '(?:[^\\\\s:@/]+(?::[^\\\\s:@/]*)?@)?'  // user: pass authentication\n        + '(?:' + ipv4_re + '|' + ipv6_re + '|' + host_re + ')'\n        + '(?::\\\\d{2,5})?'  // port\n        + '(?:[/?#][^\\\\s]*)?'  // resource path\n        + '$' // end of string\n    ;\n\n    return new RegExp(pattern, 'i');\n}\n\n/**\n * Checks if the string is a link. The list of link examples you can see in the tests file\n * `test/linksRecognition.test.ts`. This code ported from django's\n * [URLValidator](https://github.com/django/django/blob/2.2b1/django/core/validators.py#L74) with some simplifyings.\n *\n * @param text string to check\n *\n * @return boolean\n */\nexport function isSingleLink(text: string): boolean {\n    return singleLinkRegex.test(text);\n}\n\nfunction styleByWrapping(editor: TextEditor, startPattern: string, endPattern?: string) {\n    if (endPattern == undefined) {\n        endPattern = startPattern;\n    }\n\n    let selections = editor.selections;\n\n    let batchEdit = new WorkspaceEdit();\n    let shifts: [Position, number][] = [];\n    let newSelections: Selection[] = selections.slice();\n\n    selections.forEach((selection, i) => {\n        let cursorPos = selection.active;\n        const shift = shifts.map(([pos, s]) => (selection.start.line == pos.line && selection.start.character >= pos.character) ? s : 0)\n            .reduce((a, b) => a + b, 0);\n\n        if (selection.isEmpty) {\n            // No selected text\n            if (startPattern !== '~~' && getContext(editor, cursorPos, startPattern) === `${startPattern}text|${endPattern}`) {\n                // `**text|**` to `**text**|`\n                let newCursorPos = cursorPos.with({character: cursorPos.character + shift + endPattern.length});\n                newSelections[i] = new Selection(newCursorPos, newCursorPos);\n                return;\n            } else if (getContext(editor, cursorPos, startPattern) === `${startPattern}|${endPattern}`) {\n                // `**|**` to `|`\n                let start = cursorPos.with({character: cursorPos.character - startPattern.length});\n                let end = cursorPos.with({character: cursorPos.character + endPattern.length});\n                wrapRange(editor, batchEdit, shifts, newSelections, i, shift, cursorPos, new Range(start, end), false, startPattern);\n            } else {\n                // Select word under cursor\n                let wordRange = editor.document.getWordRangeAtPosition(cursorPos);\n                if (wordRange == undefined) {\n                    wordRange = selection;\n                }\n                // One special case: toggle strikethrough in task list\n                const currentTextLine = editor.document.lineAt(cursorPos.line);\n                if (startPattern === '~~' && /^\\s*[\\*\\+\\-] (\\[[ x]\\] )? */g.test(currentTextLine.text)) {\n                    wordRange = currentTextLine.range.with(new Position(cursorPos.line, currentTextLine.text.match(/^\\s*[\\*\\+\\-] (\\[[ x]\\] )? */g)[0].length));\n                }\n                wrapRange(editor, batchEdit, shifts, newSelections, i, shift, cursorPos, wordRange, false, startPattern);\n            }\n        } else {\n            // Text selected\n            wrapRange(editor, batchEdit, shifts, newSelections, i, shift, cursorPos, selection, true, startPattern);\n        }\n    });\n\n    const hasSelection = editor.selection && !editor.selection.isEmpty;\n\n    return editor.applyEdit(batchEdit, newSelections).then(() => {\n        if (!hasSelection) {\n            editor.selections = newSelections;\n        }\n    });\n}\n\n/**\n * Add or remove `startPattern`/`endPattern` according to the context\n * @param editor\n * @param options The undo/redo behavior\n * @param cursor cursor position\n * @param range range to be replaced\n * @param isSelected is this range selected\n * @param startPtn\n * @param endPtn\n */\nfunction wrapRange(editor: TextEditor, wsEdit: WorkspaceEdit, shifts: [Position, number][], newSelections: Selection[], i: number, shift: number, cursor: Position, range: Range, isSelected: boolean, startPtn: string, endPtn?: string) {\n    if (endPtn == undefined) {\n        endPtn = startPtn;\n    }\n\n    let text = editor.document.getText(range);\n    const prevSelection = newSelections[i];\n    const ptnLength = (startPtn + endPtn).length;\n\n    let newCursorPos = cursor.with({character: cursor.character + shift});\n    let newSelection: Selection;\n    if (isWrapped(text, startPtn)) {\n        // remove start/end patterns from range\n        wsEdit.replace(editor.document.uri, range, text.substr(startPtn.length, text.length - ptnLength));\n\n        shifts.push([range.end, -ptnLength]);\n\n        // Fix cursor position\n        if (!isSelected) {\n            if (!range.isEmpty) { // means quick styling\n                if (cursor.character == range.end.character) {\n                    newCursorPos = cursor.with({character: cursor.character + shift - ptnLength});\n                } else {\n                    newCursorPos = cursor.with({character: cursor.character + shift - startPtn.length});\n                }\n            } else { // means `**|**` -> `|`\n                newCursorPos = cursor.with({character: cursor.character + shift + startPtn.length});\n            }\n            newSelection = new Selection(newCursorPos, newCursorPos);\n        } else {\n            newSelection = new Selection(\n                prevSelection.start.with({character: prevSelection.start.character + shift}),\n                prevSelection.end.with({character: prevSelection.end.character + shift - ptnLength})\n            );\n        }\n    } else {\n        // add start/end patterns around range\n        wsEdit.replace(editor.document.uri, range, startPtn + text + endPtn);\n\n        shifts.push([range.end, ptnLength]);\n\n        // Fix cursor position\n        if (!isSelected) {\n            if (!range.isEmpty) { // means quick styling\n                if (cursor.character == range.end.character) {\n                    newCursorPos = cursor.with({character: cursor.character + shift + ptnLength});\n                } else {\n                    newCursorPos = cursor.with({character: cursor.character + shift + startPtn.length});\n                }\n            } else { // means `|` -> `**|**`\n                newCursorPos = cursor.with({character: cursor.character + shift + startPtn.length});\n            }\n            newSelection = new Selection(newCursorPos, newCursorPos);\n        } else {\n            newSelection = new Selection(\n                prevSelection.start.with({character: prevSelection.start.character + shift}),\n                prevSelection.end.with({character: prevSelection.end.character + shift + ptnLength})\n            );\n        }\n    }\n\n    newSelections[i] = newSelection;\n}\n\nfunction isWrapped(text: string, startPattern: string, endPattern?: string): boolean {\n    if (endPattern == undefined) {\n        endPattern = startPattern;\n    }\n    return text.startsWith(startPattern) && text.endsWith(endPattern);\n}\n\nfunction getContext(editor: TextEditor, cursorPos: Position, startPattern: string, endPattern?: string): string {\n    if (endPattern == undefined) {\n        endPattern = startPattern;\n    }\n\n    let startPositionCharacter = cursorPos.character - startPattern.length;\n    let endPositionCharacter = cursorPos.character + endPattern.length;\n\n    if (startPositionCharacter < 0) {\n        startPositionCharacter = 0;\n    }\n\n    let leftText = editor.document.getText(new Range(cursorPos.line, startPositionCharacter, cursorPos.line, cursorPos.character));\n    let rightText = editor.document.getText(new Range(cursorPos.line, cursorPos.character, cursorPos.line, endPositionCharacter));\n\n    if (rightText == endPattern) {\n        if (leftText == startPattern) {\n            return `${startPattern}|${endPattern}`;\n        } else {\n            return `${startPattern}text|${endPattern}`;\n        }\n    }\n    return '|';\n}\n"
  },
  {
    "path": "client/src/components/editors/monaco-markdown/index.ts",
    "content": "// @ts-nocheck\nimport { editor } from \"monaco-editor\"\nimport {activateFormatting} from \"./formatting\";\nimport {setWordDefinitionFor, TextEditor} from \"./vscode-monaco\";\nimport {activateListEditing} from \"./listEditing\";\nimport {activateCompletion} from \"./completion\";\nimport {activateTableFormatter} from \"./tableFormatter\";\n\nimport {activateMarkdownMath} from \"./markdown.contribution\";\n\nexport class MonacoMarkdownExtension {\n    activate(editor: editor.IStandaloneCodeEditor) {\n        let textEditor = new TextEditor(editor)\n\n        activateFormatting(textEditor)\n        activateListEditing(textEditor)\n        activateCompletion(textEditor)\n        activateTableFormatter(textEditor)\n\n        // Allow `*` in word pattern for quick styling\n        setWordDefinitionFor(textEditor.languageId,\n            /(-?\\d*\\.\\d\\w*)|([^\\!\\@\\#\\%\\^\\&\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s\\，\\。\\《\\》\\？\\；\\：\\‘\\“\\’\\”\\（\\）\\【\\】\\、]+)/g\n        );\n    }\n}\n\nactivateMarkdownMath()\n"
  },
  {
    "path": "client/src/components/editors/monaco-markdown/latex.ts",
    "content": "// @ts-nocheck\n'use strict';\n\n//copied from ../completion.ts\n//TODO: refactor?\n\nlet accents1 = [\n    'tilde', 'mathring',\n    'widetilde', 'overgroup',\n    'utilde', 'undergroup',\n    'acute', 'vec', 'Overrightarrow',\n    'bar', 'overleftarrow', 'overrightarrow',\n    'breve', 'underleftarrow', 'underrightarrow',\n    'check', 'overleftharpoon', 'overrightharpoon',\n    'dot', 'overleftrightarrow', 'overbrace',\n    'ddot', 'underleftrightarrow', 'underbrace',\n    'grave', 'overline', 'overlinesegment',\n    'hat', 'underline', 'underlinesegment',\n    'widehat', 'widecheck'\n];\nlet delimiters0 = [\n    'lparen', 'rparen', 'lceil', 'rceil', 'uparrow',\n    'lbrack', 'rbrack', 'lfloor', 'rfloor', 'downarrow', 'updownarrow',\n    'langle', 'rangle', 'lgroup', 'rgroup', 'Uparrow',\n    'vert', 'ulcorner', 'urcorner', 'Downarrow',\n    'Vert', 'llcorner', 'lrcorner', 'Updownarrow',\n    'lvert', 'rvert', 'lVert', 'rVert', 'backslash',\n    'lang', 'rang', 'lt', 'gt'\n];\nlet delimeterSizing0 = [\n    'left', 'big', 'bigl', 'bigm', 'bigr',\n    'middle', 'Big', 'Bigl', 'Bigm', 'Bigr',\n    'right', 'bigg', 'biggl', 'biggm', 'biggr',\n    'Bigg', 'Biggl', 'Biggm', 'Biggr'\n];\nlet greekLetters0 = [\n    'Alpha', 'Beta', 'Gamma', 'Delta',\n    'Epsilon', 'Zeta', 'Eta', 'Theta',\n    'Iota', 'Kappa', 'Lambda', 'Mu',\n    'Nu', 'Xi', 'Omicron', 'Pi',\n    'Sigma', 'Tau', 'Upsilon', 'Phi',\n    'Chi', 'Psi', 'Omega',\n    'varGamma', 'varDelta', 'varTheta', 'varLambda',\n    'varXi', 'varPi', 'varSigma', 'varUpsilon',\n    'varPhi', 'varPsi', 'varOmega',\n    'alpha', 'beta', 'gamma', 'delta',\n    'epsilon', 'zeta', 'eta', 'theta',\n    'iota', 'kappa', 'lambda', 'mu',\n    'nu', 'xi', 'omicron', 'pi',\n    'rho', 'sigma', 'tau', 'upsilon',\n    'phi', 'chi', 'psi', 'omega',\n    'varepsilon', 'varkappa', 'vartheta', 'thetasym',\n    'varpi', 'varrho', 'varsigma', 'varphi',\n    'digamma'\n];\nlet otherLetters0 = [\n    'imath', 'nabla', 'Im', 'Reals',\n    'jmath', 'partial', 'image', 'wp',\n    'aleph', 'Game', 'Bbbk', 'weierp',\n    'alef', 'Finv', 'N', 'Z',\n    'alefsym', 'cnums', 'natnums',\n    'beth', 'Complex', 'R',\n    'gimel', 'ell', 'Re',\n    'daleth', 'hbar', 'real',\n    'eth', 'hslash', 'reals'\n];\nlet annotation1 = [\n    'cancel', 'overbrace',\n    'bcancel', 'underbrace',\n    'xcancel', 'not =',\n    'sout', 'boxed',\n    'tag', 'tag*'\n];\nlet verticalLayout0 = ['atop']\nlet verticalLayout2 = ['stackrel', 'overset', 'underset', 'raisebox'];\nlet overlap1 = ['mathllap', 'mathrlap', 'mathclap', 'llap', 'rlap', 'clap', 'smash'];\nlet spacing0 = [\n    'thinspace', 'medspace', 'thickspace', 'enspace',\n    'quad', 'qquad', 'negthinspace', 'negmedspace',\n    'nobreakspace', 'negthickspace'\n];\nlet spacing1 = [\n    'kern', 'mkern', 'mskip', 'hskip',\n    'hspace', 'hspace*', 'phantom', 'hphantom', 'vphantom'\n];\nlet logicAndSetTheory0 = [\n    'forall', 'complement', 'therefore', 'emptyset',\n    'exists', 'subset', 'because', 'empty',\n    'exist', 'supset', 'mapsto', 'varnothing',\n    'nexists', 'mid', 'to', 'implies',\n    'in', 'land', 'gets', 'impliedby',\n    'isin', 'lor', 'leftrightarrow', 'iff',\n    'notin', 'ni', 'notni', 'neg', 'lnot'\n];\nlet bigOperators0 = [\n    'sum', 'prod', 'bigotimes', 'bigvee',\n    'int', 'coprod', 'bigoplus', 'bigwedge',\n    'iint', 'intop', 'bigodot', 'bigcap',\n    'iiint', 'smallint', 'biguplus', 'bigcup',\n    'oint', 'oiint', 'oiiint', 'bigsqcup'\n];\nlet binaryOperators0 = [\n    'cdot', 'gtrdot', 'pmod',\n    'cdotp', 'intercal', 'pod',\n    'centerdot', 'land', 'rhd',\n    'circ', 'leftthreetimes', 'rightthreetimes',\n    'amalg', 'circledast', 'ldotp', 'rtimes',\n    'And', 'circledcirc', 'lor', 'setminus',\n    'ast', 'circleddash', 'lessdot', 'smallsetminus',\n    'barwedge', 'Cup', 'lhd', 'sqcap',\n    'bigcirc', 'cup', 'ltimes', 'sqcup',\n    'bmod', 'curlyvee', 'times',\n    'boxdot', 'curlywedge', 'mp', 'unlhd',\n    'boxminus', 'div', 'odot', 'unrhd',\n    'boxplus', 'divideontimes', 'ominus', 'uplus',\n    'boxtimes', 'dotplus', 'oplus', 'vee',\n    'bullet', 'doublebarwedge', 'otimes', 'veebar',\n    'Cap', 'doublecap', 'oslash', 'wedge',\n    'cap', 'doublecup', 'pm', 'plusmn', 'wr'\n];\nlet fractions0 = ['over', 'above'];\nlet fractions2 = ['frac', 'dfrac', 'tfrac', 'cfrac', 'genfrac'];\nlet binomialCoefficients0 = ['choose'];\nlet binomialCoefficients2 = ['binom', 'dbinom', 'tbinom', 'brace', 'brack'];\nlet mathOperators0 = [\n    'arcsin', 'cotg', 'ln', 'det',\n    'arccos', 'coth', 'log', 'gcd',\n    'arctan', 'csc', 'sec', 'inf',\n    'arctg', 'ctg', 'sin', 'lim',\n    'arcctg', 'cth', 'sinh', 'liminf',\n    'arg', 'deg', 'sh', 'limsup',\n    'ch', 'dim', 'tan', 'max',\n    'cos', 'exp', 'tanh', 'min',\n    'cosec', 'hom', 'tg', 'Pr',\n    'cosh', 'ker', 'th', 'sup',\n    'cot', 'lg', 'argmax',\n    'argmin', 'limits'\n];\nlet mathOperators1 = ['operatorname'];\nlet sqrt1 = ['sqrt'];\nlet relations0 = [\n    'eqcirc', 'lesseqgtr', 'sqsupset',\n    'eqcolon', 'lesseqqgtr', 'sqsupseteq',\n    'Eqcolon', 'lessgtr', 'Subset',\n    'eqqcolon', 'lesssim', 'subset',\n    'approx', 'Eqqcolon', 'll', 'subseteq', 'sube',\n    'approxeq', 'eqsim', 'lll', 'subseteqq',\n    'asymp', 'eqslantgtr', 'llless', 'succ',\n    'backepsilon', 'eqslantless', 'lt', 'succapprox',\n    'backsim', 'equiv', 'mid', 'succcurlyeq',\n    'backsimeq', 'fallingdotseq', 'models', 'succeq',\n    'between', 'frown', 'multimap', 'succsim',\n    'bowtie', 'ge', 'owns', 'Supset',\n    'bumpeq', 'geq', 'parallel', 'supset',\n    'Bumpeq', 'geqq', 'perp', 'supseteq',\n    'circeq', 'geqslant', 'pitchfork', 'supseteqq',\n    'colonapprox', 'gg', 'prec', 'thickapprox',\n    'Colonapprox', 'ggg', 'precapprox', 'thicksim',\n    'coloneq', 'gggtr', 'preccurlyeq', 'trianglelefteq',\n    'Coloneq', 'gt', 'preceq', 'triangleq',\n    'coloneqq', 'gtrapprox', 'precsim', 'trianglerighteq',\n    'Coloneqq', 'gtreqless', 'propto', 'varpropto',\n    'colonsim', 'gtreqqless', 'risingdotseq', 'vartriangle',\n    'Colonsim', 'gtrless', 'shortmid', 'vartriangleleft',\n    'cong', 'gtrsim', 'shortparallel', 'vartriangleright',\n    'curlyeqprec', 'in', 'sim', 'vcentcolon',\n    'curlyeqsucc', 'Join', 'simeq', 'vdash',\n    'dashv', 'le', 'smallfrown', 'vDash',\n    'dblcolon', 'leq', 'smallsmile', 'Vdash',\n    'doteq', 'leqq', 'smile', 'Vvdash',\n    'Doteq', 'leqslant', 'sqsubset',\n    'doteqdot', 'lessapprox', 'sqsubseteq'\n];\nlet negatedRelations0 = [\n    'gnapprox', 'ngeqslant', 'nsubseteq', 'precneqq',\n    'gneq', 'ngtr', 'nsubseteqq', 'precnsim',\n    'gneqq', 'nleq', 'nsucc', 'subsetneq',\n    'gnsim', 'nleqq', 'nsucceq', 'subsetneqq',\n    'gvertneqq', 'nleqslant', 'nsupseteq', 'succnapprox',\n    'lnapprox', 'nless', 'nsupseteqq', 'succneqq',\n    'lneq', 'nmid', 'ntriangleleft', 'succnsim',\n    'lneqq', 'notin', 'ntrianglelefteq', 'supsetneq',\n    'lnsim', 'notni', 'ntriangleright', 'supsetneqq',\n    'lvertneqq', 'nparallel', 'ntrianglerighteq', 'varsubsetneq',\n    'ncong', 'nprec', 'nvdash', 'varsubsetneqq',\n    'ne', 'npreceq', 'nvDash', 'varsupsetneq',\n    'neq', 'nshortmid', 'nVDash', 'varsupsetneqq',\n    'ngeq', 'nshortparallel', 'nVdash',\n    'ngeqq', 'nsim', 'precnapprox'\n];\nlet arrows0 = [\n    'circlearrowleft', 'leftharpoonup', 'rArr',\n    'circlearrowright', 'leftleftarrows', 'rarr',\n    'curvearrowleft', 'leftrightarrow', 'restriction',\n    'curvearrowright', 'Leftrightarrow', 'rightarrow',\n    'Darr', 'leftrightarrows', 'Rightarrow',\n    'dArr', 'leftrightharpoons', 'rightarrowtail',\n    'darr', 'leftrightsquigarrow', 'rightharpoondown',\n    'dashleftarrow', 'Lleftarrow', 'rightharpoonup',\n    'dashrightarrow', 'longleftarrow', 'rightleftarrows',\n    'downarrow', 'Longleftarrow', 'rightleftharpoons',\n    'Downarrow', 'longleftrightarrow', 'rightrightarrows',\n    'downdownarrows', 'Longleftrightarrow', 'rightsquigarrow',\n    'downharpoonleft', 'longmapsto', 'Rrightarrow',\n    'downharpoonright', 'longrightarrow', 'Rsh',\n    'gets', 'Longrightarrow', 'searrow',\n    'Harr', 'looparrowleft', 'swarrow',\n    'hArr', 'looparrowright', 'to',\n    'harr', 'Lrarr', 'twoheadleftarrow',\n    'hookleftarrow', 'lrArr', 'twoheadrightarrow',\n    'hookrightarrow', 'lrarr', 'Uarr',\n    'iff', 'Lsh', 'uArr',\n    'impliedby', 'mapsto', 'uarr',\n    'implies', 'nearrow', 'uparrow',\n    'Larr', 'nleftarrow', 'Uparrow',\n    'lArr', 'nLeftarrow', 'updownarrow',\n    'larr', 'nleftrightarrow', 'Updownarrow',\n    'leadsto', 'nLeftrightarrow', 'upharpoonleft',\n    'leftarrow', 'nrightarrow', 'upharpoonright',\n    'Leftarrow', 'nRightarrow', 'upuparrows',\n    'leftarrowtail', 'nwarrow', 'leftharpoondown', 'Rarr'\n];\nlet extensibleArrows1 = [\n    'xleftarrow', 'xrightarrow',\n    'xLeftarrow', 'xRightarrow',\n    'xleftrightarrow', 'xLeftrightarrow',\n    'xhookleftarrow', 'xhookrightarrow',\n    'xtwoheadleftarrow', 'xtwoheadrightarrow',\n    'xleftharpoonup', 'xrightharpoonup',\n    'xleftharpoondown', 'xrightharpoondown',\n    'xleftrightharpoons', 'xrightleftharpoons',\n    'xtofrom', 'xmapsto',\n    'xlongequal'\n];\nlet classAssignment1 = [\n    'mathbin', 'mathclose', 'mathinner', 'mathop',\n    'mathopen', 'mathord', 'mathpunct', 'mathrel'\n];\nlet color2 = ['color', 'textcolor', 'colorbox'];\nlet font0 = ['rm', 'bf', 'it', 'sf', 'tt'];\nlet font1 = [\n    'mathrm', 'mathbf', 'mathit',\n    'mathnormal', 'textbf', 'textit',\n    'textrm', 'bold', 'Bbb',\n    'textnormal', 'boldsymbol', 'mathbb',\n    'text', 'bm', 'frak',\n    'mathsf', 'mathtt', 'mathfrak',\n    'textsf', 'texttt', 'mathcal', 'mathscr'\n];\nlet size0 = [\n    'Huge', 'huge', 'LARGE', 'Large', 'large',\n    'normalsize', 'small', 'footnotesize', 'scriptsize', 'tiny'\n];\nlet style0 = [\n    'displaystyle', 'textstyle', 'scriptstyle', 'scriptscriptstyle',\n    'limits', 'nolimits', 'verb'\n];\nlet symbolsAndPunctuation0 = [\n    'cdots', 'LaTeX',\n    'ddots', 'TeX',\n    'ldots', 'nabla',\n    'vdots', 'infty',\n    'dotsb', 'infin',\n    'dotsc', 'checkmark',\n    'dotsi', 'dag',\n    'dotsm', 'dagger',\n    'dotso',\n    'sdot', 'ddag',\n    'mathellipsis', 'ddagger',\n    'Box', 'Dagger',\n    'lq', 'square', 'angle',\n    'blacksquare', 'measuredangle',\n    'rq', 'triangle', 'sphericalangle',\n    'triangledown', 'top',\n    'triangleleft', 'bot',\n    'triangleright',\n    'colon', 'bigtriangledown',\n    'backprime', 'bigtriangleup', 'pounds',\n    'prime', 'blacktriangle', 'mathsterling',\n    'blacktriangledown',\n    'blacktriangleleft', 'yen',\n    'blacktriangleright', 'surd',\n    'diamond', 'degree',\n    'Diamond',\n    'lozenge', 'mho',\n    'blacklozenge', 'diagdown',\n    'star', 'diagup',\n    'bigstar', 'flat',\n    'clubsuit', 'natural',\n    'copyright', 'clubs', 'sharp',\n    'circledR', 'diamondsuit', 'heartsuit',\n    'diamonds', 'hearts',\n    'circledS', 'spadesuit', 'spades',\n    'maltese'\n];\n\nexport let _c1 = Array.from(new Set(\n    [\n        ...delimiters0, ...delimeterSizing0,\n        ...greekLetters0, ...otherLetters0,\n        ...spacing0, ...verticalLayout0,\n        ...logicAndSetTheory0, ...bigOperators0,\n        ...binaryOperators0, ...binomialCoefficients0,\n        ...fractions0, ...mathOperators0,\n        ...relations0, ...negatedRelations0,\n        ...arrows0, ...font0, ...size0,\n        ...style0, ...symbolsAndPunctuation0\n    ]\n))\n\nexport let _c2 = Array.from(new Set(\n    [\n        ...accents1, ...annotation1,\n        ...overlap1, ...spacing1,\n        ...mathOperators1, ...sqrt1,\n        ...extensibleArrows1, ...font1,\n        ...classAssignment1\n    ]\n))\n\nexport let _c3 = Array.from(new Set(\n    [\n        ...verticalLayout2, ...binomialCoefficients2,\n        ...fractions2, ...color2\n    ]\n))\n\nexport let _begin = ['begin', 'end']\n\nexport let begin_args = ['aligned', 'alignedat', 'array', 'bmatrix', 'Bmatrix', 'cases',\n    'darray', 'dcases', 'gathered', 'matrix', 'pmatrix', 'vmatrix', 'Vmatrix']\n\nexport let all = [..._c1, ..._c2, ..._c3, ..._begin].map(i => '\\\\' + i)\n"
  },
  {
    "path": "client/src/components/editors/monaco-markdown/listEditing.ts",
    "content": "// @ts-nocheck\n\"use strict\"\n\nimport { TextEditor, TextEditorEdit } from \"./vscode-monaco\"\n\nimport { isInFencedCodeBlock } from \"./util\"\nimport { KeyCode, KeyMod, Thenable } from \"monaco-editor\"\nimport { Position, WorkspaceEdit, Range, Selection } from \"./extHostTypes\"\nimport { addKeybinding } from \"./formatting\"\n\nfunction onShiftTabKey(editor: TextEditor) {\n  onTabKey(editor, \"shift\")\n}\n\nexport function activateListEditing(editor: TextEditor) {\n  let editorContext =\n    \"editorTextFocus && !editorReadonly && !suggestWidgetVisible\"\n  addKeybinding(\n    editor,\n    \"onEnterKey\",\n    onEnterKey,\n    [KeyCode.Enter],\n    \"\",\n    editorContext,\n    null\n  )\n  addKeybinding(\n    editor,\n    \"onCtrlEnterKey\",\n    onCtrlEnterKey,\n    [KeyCode.Enter | KeyMod.CtrlCmd],\n    \"\",\n    editorContext,\n    null\n  )\n  addKeybinding(\n    editor,\n    \"onShiftEnterKey\",\n    onShiftEnterKey,\n    [KeyCode.Enter | KeyMod.Shift],\n    \"\",\n    editorContext,\n    null\n  )\n  addKeybinding(\n    editor,\n    \"onTabKey\",\n    onTabKey,\n    [KeyCode.Tab],\n    \"\",\n    editorContext,\n    null\n  )\n  addKeybinding(\n    editor,\n    \"onShiftTabKey\",\n    onShiftTabKey,\n    [KeyCode.Tab | KeyMod.Shift],\n    \"\",\n    editorContext,\n    null\n  )\n  addKeybinding(\n    editor,\n    \"onBackspaceKey\",\n    onBackspaceKey,\n    [KeyCode.Backspace],\n    \"\",\n    editorContext,\n    null\n  )\n\n  //\n  // context.subscriptions.push(\n  //     commands.registerCommand('markdown.extension.checkTaskList', checkTaskList),\n  //     commands.registerCommand('markdown.extension.onMoveLineDown', onMoveLineDown),\n  //     commands.registerCommand('markdown.extension.onMoveLineUp', onMoveLineUp),\n  //     commands.registerCommand('markdown.extension.onCopyLineDown', onCopyLineDown),\n  //     commands.registerCommand('markdown.extension.onCopyLineUp', onCopyLineUp),\n  //     commands.registerCommand('markdown.extension.onIndentLines', onIndentLines),\n  //     commands.registerCommand('markdown.extension.onOutdentLines', onOutdentLines)\n  // );\n}\n\nfunction onShiftEnterKey(editor: TextEditor) {\n  onEnterKey(editor, \"shift\")\n}\n\nfunction onCtrlEnterKey(editor: TextEditor) {\n  onEnterKey(editor, \"ctrl\")\n}\n\nfunction onEnterKey(editor: TextEditor, modifiers?: string) {\n  let cursorPos: Position = editor.selection.active\n  let line = editor.document.lineAt(cursorPos.line)\n  let textBeforeCursor = line.text.substr(0, cursorPos.character)\n  let textAfterCursor = line.text.substr(cursorPos.character)\n\n  let lineBreakPos = cursorPos\n  if (modifiers == \"ctrl\") {\n    lineBreakPos = line.range.end\n  }\n\n  if (\n    modifiers == \"shift\" ||\n    isInFencedCodeBlock(editor.document, cursorPos.line)\n  ) {\n    return asNormal(editor, \"enter\", modifiers)\n  }\n\n  // If it's an empty list item, remove it\n  if (\n    /^(>|([-+*]|[0-9]+[.)])( +\\[[ x]\\])?)$/.test(textBeforeCursor.trim()) &&\n    textAfterCursor.trim().length == 0\n  ) {\n    return editor\n      .edit((editBuilder: TextEditorEdit) => {\n        editBuilder.delete(line.range)\n        editBuilder.insert(line.range.end, \"\\n\")\n      })\n      .then(() => {\n        editor.revealRange(editor.selection)\n      })\n      .then(() => fixMarker(editor, findNextMarkerLineNumber(editor)))\n  }\n\n  let matches: RegExpExecArray\n  if (/^> /.test(textBeforeCursor)) {\n    // Quote block\n    return editor\n      .edit((editBuilder: TextEditorEdit) => {\n        editBuilder.insert(lineBreakPos, `\\n> `)\n      })\n      .then(() => {\n        // Fix cursor position\n        if (modifiers == \"ctrl\" && !cursorPos.isEqual(lineBreakPos)) {\n          let newCursorPos = cursorPos.with(line.lineNumber + 1, 2)\n          editor.selection = new Selection(newCursorPos, newCursorPos)\n        }\n      })\n      .then(() => {\n        editor.revealRange(editor.selection)\n      })\n  } else if (\n    (matches = /^(\\s*[-+*] +(\\[[ x]\\] +)?)/.exec(textBeforeCursor)) !== null\n  ) {\n    // Unordered list\n    return editor\n      .edit((editBuilder: TextEditorEdit) => {\n        editBuilder.insert(\n          lineBreakPos,\n          `\\n${matches[1].replace(\"[x]\", \"[ ]\")}`\n        )\n      })\n      .then(() => {\n        // Fix cursor position\n        if (modifiers == \"ctrl\" && !cursorPos.isEqual(lineBreakPos)) {\n          let newCursorPos = cursorPos.with(\n            line.lineNumber + 1,\n            matches[1].length\n          )\n          editor.selection = new Selection(newCursorPos, newCursorPos)\n        }\n      })\n      .then(() => {\n        editor.revealRange(editor.selection)\n      })\n  } else if (\n    (matches = /^(\\s*)([0-9]+)([.)])( +)((\\[[ x]\\] +)?)/.exec(\n      textBeforeCursor\n    )) !== null\n  ) {\n    // Ordered list\n    let config = editor\n      .getConfiguration(\"markdown.extension.orderedList\")\n      .get<string>(\"marker\")\n    let marker = \"1\"\n    let leadingSpace = matches[1]\n    let previousMarker = matches[2]\n    let delimiter = matches[3]\n    let trailingSpace = matches[4]\n    let gfmCheckbox = matches[5].replace(\"[x]\", \"[ ]\")\n    let textIndent = (previousMarker + delimiter + trailingSpace).length\n    if (config == \"ordered\") {\n      marker = String(Number(previousMarker) + 1)\n    }\n    // Add enough trailing spaces so that the text is aligned with the previous list item, but always keep at least one space\n    trailingSpace = \" \".repeat(\n      Math.max(1, textIndent - (marker + delimiter).length)\n    )\n\n    const toBeAdded =\n      leadingSpace + marker + delimiter + trailingSpace + gfmCheckbox\n    return editor\n      .edit(\n        (editBuilder: TextEditorEdit) => {\n          editBuilder.insert(lineBreakPos, `\\n${toBeAdded}`)\n        },\n        { undoStopBefore: true, undoStopAfter: false }\n      )\n      .then(() => {\n        // Fix cursor position\n        if (modifiers == \"ctrl\" && !cursorPos.isEqual(lineBreakPos)) {\n          let newCursorPos = cursorPos.with(\n            line.lineNumber + 1,\n            toBeAdded.length\n          )\n          editor.selection = new Selection(newCursorPos, newCursorPos)\n        }\n      })\n      .then(() => fixMarker(editor))\n      .then(() => {\n        editor.revealRange(editor.selection)\n      })\n  } else {\n    return asNormal(editor, \"enter\", modifiers)\n  }\n}\n\nfunction onTabKey(editor: TextEditor, modifiers?: string) {\n  let cursorPos = editor.selection.start\n  let lineText = editor.document.lineAt(cursorPos.line).text\n\n  if (isInFencedCodeBlock(editor.document, cursorPos.line)) {\n    return asNormal(editor, \"tab\", modifiers)\n  }\n\n  let match = /^\\s*([-+*]|[0-9]+[.)]) +(\\[[ x]\\] +)?/.exec(lineText)\n  if (\n    match &&\n    (modifiers === \"shift\" ||\n      !editor.selection.isEmpty ||\n      (editor.selection.isEmpty && cursorPos.character <= match[0].length))\n  ) {\n    if (modifiers === \"shift\") {\n      return outdent(editor).then(() => fixMarker(editor))\n    } else {\n      return indent(editor).then(() => fixMarker(editor))\n    }\n  } else {\n    return asNormal(editor, \"tab\", modifiers)\n  }\n}\n\nfunction onBackspaceKey(editor: TextEditor) {\n  let cursor = editor.selection.active\n  let document = editor.document\n  let textBeforeCursor = document\n    .lineAt(cursor.line)\n    .text.substr(0, cursor.character)\n\n  if (isInFencedCodeBlock(document, cursor.line)) {\n    return asNormal(editor, \"backspace\")\n  }\n\n  if (!editor.selection.isEmpty) {\n    return asNormal(editor, \"backspace\").then(() =>\n      fixMarker(editor, findNextMarkerLineNumber(editor))\n    )\n  } else if (/^\\s+([-+*]|[0-9]+[.)]) $/.test(textBeforeCursor)) {\n    // e.g. textBeforeCursor === `  - `, `   1. `\n    return outdent(editor).then(() => fixMarker(editor))\n  } else if (/^([-+*]|[0-9]+[.)]) $/.test(textBeforeCursor)) {\n    // e.g. textBeforeCursor === `- `, `1. `\n    return editor\n      .edit((editBuilder: TextEditorEdit) => {\n        editBuilder.replace(\n          new Range(cursor.with({ character: 0 }), cursor),\n          \" \".repeat(textBeforeCursor.length)\n        )\n      })\n      .then(() => fixMarker(editor, findNextMarkerLineNumber(editor)))\n  } else if (/^\\s*([-+*]|[0-9]+[.)]) +(\\[[ x]\\] )$/.test(textBeforeCursor)) {\n    // e.g. textBeforeCursor === `- [ ]`, `1. [x]`, `  - [x]`\n    return deleteRange(\n      editor,\n      new Range(cursor.with({ character: textBeforeCursor.length - 4 }), cursor)\n    ).then(() => fixMarker(editor, findNextMarkerLineNumber(editor)))\n  } else {\n    return asNormal(editor, \"backspace\")\n  }\n}\n\nfunction asNormal(\n  editor: TextEditor,\n  key: string,\n  modifiers?: string\n): Thenable<void> {\n  switch (key) {\n    case \"enter\":\n      if (modifiers === \"ctrl\") {\n        return editor.executeCommand(\"editor.action.insertLineAfter\")\n      } else {\n        return editor.executeCommand(\"type\", { source: \"keyboard\", text: \"\\n\" })\n      }\n    case \"tab\":\n      if (\n        editor.getConfiguration(\"emmet\").get<boolean>(\"triggerExpansionOnTab\")\n      ) {\n        return editor.executeCommand(\"editor.emmet.action.expandAbbreviation\")\n      } else if (modifiers === \"shift\") {\n        return editor.executeCommand(\"editor.action.outdentLines\")\n      } else {\n        return editor.executeCommand(\"tab\")\n      }\n    case \"backspace\":\n      return editor.executeCommand(\"deleteLeft\")\n  }\n}\n\n/**\n * If\n *\n * 1. it is not the first line\n * 2. there is a Markdown list item before this line\n *\n * then indent the current line to align with the previous list item.\n */\nfunction indent(editor: TextEditor): Thenable<void> {\n  if (\n    editor\n      .getConfiguration(\"markdown.extension.list\")\n      .get<string>(\"indentationSize\") === \"adaptive\"\n  ) {\n    try {\n      const selection = editor.selection\n      const indentationSize = tryDetermineIndentationSize(\n        editor,\n        selection.start.line,\n        editor.document.lineAt(selection.start.line)\n          .firstNonWhitespaceCharacterIndex\n      )\n      let edit = new WorkspaceEdit()\n      for (let i = selection.start.line; i <= selection.end.line; i++) {\n        if (\n          i === selection.end.line &&\n          !selection.isEmpty &&\n          selection.end.character === 0\n        ) {\n          break\n        }\n        if (editor.document.lineAt(i).text.length !== 0) {\n          edit.insert(\n            editor.document.uri,\n            new Position(i, 0),\n            \" \".repeat(indentationSize)\n          )\n        }\n      }\n      return editor.applyEdit(edit)\n    } catch (error) {}\n  }\n\n  return editor.executeCommand(\"editor.action.indentLines\")\n}\n\n/**\n * Similar to `indent`-function\n */\nfunction outdent(editor?: TextEditor): Thenable<void> {\n  if (\n    editor\n      .getConfiguration(\"markdown.extension.list\")\n      .get<string>(\"indentationSize\") === \"adaptive\"\n  ) {\n    try {\n      const selection = editor.selection\n      const indentationSize = tryDetermineIndentationSize(\n        editor,\n        selection.start.line,\n        editor.document.lineAt(selection.start.line)\n          .firstNonWhitespaceCharacterIndex\n      )\n      let edit = new WorkspaceEdit()\n      for (let i = selection.start.line; i <= selection.end.line; i++) {\n        if (\n          i === selection.end.line &&\n          !selection.isEmpty &&\n          selection.end.character === 0\n        ) {\n          break\n        }\n        const lineText = editor.document.lineAt(i).text\n        let maxOutdentSize: number\n        if (lineText.trim().length === 0) {\n          maxOutdentSize = lineText.length\n        } else {\n          maxOutdentSize =\n            editor.document.lineAt(i).firstNonWhitespaceCharacterIndex\n        }\n        if (maxOutdentSize > 0) {\n          edit.delete(\n            editor.document.uri,\n            new Range(i, 0, i, Math.min(indentationSize, maxOutdentSize))\n          )\n        }\n      }\n      return editor.applyEdit(edit)\n    } catch (error) {}\n  }\n\n  return editor.executeCommand(\"editor.action.outdentLines\")\n}\n\nfunction tryDetermineIndentationSize(\n  editor: TextEditor,\n  line: number,\n  currentIndentation: number\n) {\n  while (--line >= 0) {\n    const lineText = editor.document.lineAt(line).text\n    let matches\n    if (\n      (matches = /^(\\s*)(([-+*]|[0-9]+[.)]) +)(\\[[ x]\\] +)?/.exec(lineText)) !==\n      null\n    ) {\n      if (matches[1].length <= currentIndentation) {\n        return matches[2].length\n      }\n    }\n  }\n  throw \"No previous Markdown list item\"\n}\n\n/**\n * Returns the line number of the next ordered list item starting either from\n * the specified line or the beginning of the current selection.\n */\nfunction findNextMarkerLineNumber(editor: TextEditor, line?: number): number {\n  if (line === undefined) {\n    // Use start.line instead of active.line so that we can find the first\n    // marker following either the cursor or the entire selected range\n    line = editor.selection.start.line\n  }\n  while (line < editor.document.lineCount) {\n    const lineText = editor.document.lineAt(line).text\n    if (/^\\s*[0-9]+[.)] +/.exec(lineText) !== null) {\n      return line\n    }\n    line++\n  }\n  return undefined\n}\n\n/**\n * Looks for the previous ordered list marker at the same indentation level\n * and returns the marker number that should follow it.\n *\n * @returns the fixed marker number\n */\nfunction lookUpwardForMarker(\n  editor: TextEditor,\n  line: number,\n  currentIndentation: number\n): number {\n  while (--line >= 0) {\n    const lineText = editor.document.lineAt(line).text\n    let matches\n    if ((matches = /^(\\s*)(([0-9]+)[.)] +)/.exec(lineText)) !== null) {\n      let leadingSpace: string = matches[1]\n      let marker = matches[3]\n      if (leadingSpace.length === currentIndentation) {\n        return Number(marker) + 1\n      } else if (\n        (!leadingSpace.includes(\"\\t\") &&\n          leadingSpace.length + matches[2].length <= currentIndentation) ||\n        (leadingSpace.includes(\"\\t\") &&\n          leadingSpace.length + 1 <= currentIndentation)\n      ) {\n        return 1\n      }\n    } else if ((matches = /^(\\s*)\\S/.exec(lineText)) !== null) {\n      if (matches[1].length <= currentIndentation) {\n        break\n      }\n    }\n  }\n  return 1\n}\n\n/**\n * Fix ordered list marker *iteratively* starting from current line\n */\nexport function fixMarker(editor: TextEditor, line?: number): Promise<boolean> {\n  // if (!workspace.getConfiguration('markdown.extension.orderedList').get<boolean>('autoRenumber')) return;\n  // if (workspace.getConfiguration('markdown.extension.orderedList').get<string>('marker') == 'one') return;\n\n  if (line === undefined) {\n    // Use either the first line containing an ordered list marker within the selection or the active line\n    line = findNextMarkerLineNumber(editor)\n    if (line === undefined || line > editor.selection.end.line) {\n      line = editor.selection.active.line\n    }\n  }\n  if (line < 0 || editor.document.lineCount <= line) {\n    return\n  }\n\n  let currentLineText = editor.document.lineAt(line).text\n  let matches\n  if ((matches = /^(\\s*)([0-9]+)([.)])( +)/.exec(currentLineText)) !== null) {\n    // ordered list\n    let leadingSpace = matches[1]\n    let marker = matches[2]\n    let delimiter = matches[3]\n    let trailingSpace = matches[4]\n    let fixedMarker = lookUpwardForMarker(editor, line, leadingSpace.length)\n    let listIndent = marker.length + delimiter.length + trailingSpace.length\n    let fixedMarkerString = String(fixedMarker)\n\n    return editor\n      .edit(\n        (editBuilder: TextEditorEdit) => {\n          if (marker === fixedMarkerString) {\n            return\n          }\n          // Add enough trailing spaces so that the text is still aligned at the same indentation level as it was previously, but always keep at least one space\n          fixedMarkerString +=\n            delimiter +\n            \" \".repeat(\n              Math.max(1, listIndent - (fixedMarkerString + delimiter).length)\n            )\n\n          editBuilder.replace(\n            new Range(\n              line,\n              leadingSpace.length,\n              line,\n              leadingSpace.length + listIndent\n            ),\n            fixedMarkerString\n          )\n        },\n        { undoStopBefore: false, undoStopAfter: false }\n      )\n      .then(() => {\n        let nextLine = line + 1\n        let indentString = \" \".repeat(listIndent)\n        while (editor.document.lineCount > nextLine) {\n          const nextLineText = editor.document.lineAt(nextLine).text\n          if (/^\\s*[0-9]+[.)] +/.test(nextLineText)) {\n            return fixMarker(editor, nextLine)\n          } else if (/^\\s*$/.test(nextLineText)) {\n            nextLine++\n          } else if (\n            listIndent <= 4 &&\n            !nextLineText.startsWith(indentString)\n          ) {\n            return\n          } else {\n            nextLine++\n          }\n        }\n      })\n  }\n}\n\nfunction deleteRange(editor: TextEditor, range: Range): Thenable<void> {\n  return editor.edit(\n    (editBuilder) => {\n      editBuilder.delete(range)\n    },\n    // We will enable undoStop after fixing markers\n    { undoStopBefore: true, undoStopAfter: false }\n  )\n}\n\n// function checkTaskList(editor: TextEditor) {\n//     let cursorPos = editor.selection.active;\n//     let line = editor.document.lineAt(cursorPos.line).text;\n//\n//     let matches: RegExpExecArray;\n//     if (matches = /^(\\s*([-+*]|[0-9]+[.)]) +\\[) \\]/.exec(line)) {\n//         return editor.edit((editBuilder:TextEditorEdit) => {\n//             editBuilder.replace(new Range(cursorPos.with({ character: matches[1].length }), cursorPos.with({ character: matches[1].length + 1 })), 'x');\n//         });\n//     } else if (matches = /^(\\s*([-+*]|[0-9]+[.)]) +\\[)x\\]/.exec(line)) {\n//         return editor.edit((editBuilder:TextEditorEdit) => {\n//             editBuilder.replace(new Range(cursorPos.with({ character: matches[1].length }), cursorPos.with({ character: matches[1].length + 1 })), ' ');\n//         });\n//     }\n// }\n\n// function onMoveLineUp() {\n//     return commands.executeCommand('editor.action.moveLinesUpAction')\n//         .then(() => fixMarker());\n// }\n//\n// function onMoveLineDown() {\n//     return commands.executeCommand('editor.action.moveLinesDownAction')\n//         .then(() => fixMarker(findNextMarkerLineNumber(window.activeTextEditor.selection.start.line - 1)));\n// }\n//\n// function onCopyLineUp() {\n//     return commands.executeCommand('editor.action.copyLinesUpAction')\n//         .then(() => fixMarker());\n// }\n//\n// function onCopyLineDown() {\n//     return commands.executeCommand('editor.action.copyLinesDownAction')\n//         .then(() => fixMarker());\n// }\n//\n// function onIndentLines() {\n//     return indent().then(() => fixMarker());\n// }\n//\n// function onOutdentLines() {\n//     return outdent().then(() => fixMarker());\n// }\n\nexport function deactivate() {}\n"
  },
  {
    "path": "client/src/components/editors/monaco-markdown/markdown.contribution.ts",
    "content": "// @ts-nocheck\n/*---------------------------------------------------------------------------------------------\n *  Copyright (c) Microsoft Corporation. All rights reserved.\n *  Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n'use strict';\n\nimport { registerLanguage } from './contribution';\nimport {conf, language} from \"./markdown\";\n\nexport function activateMarkdownMath() {\n\tregisterLanguage({\n\t\tid: 'markdown-math',\n\t\textensions: ['.md', '.markdown', '.mdown', '.mkdn', '.mkd', '.mdwn', '.mdtxt', '.mdtext'],\n\t\taliases: ['Markdown', 'markdown'],\n\t\tloader: () => {\n\t\t\treturn Promise.resolve({\n\t\t\t\tconf: conf,\n\t\t\t\tlanguage: language\n\t\t\t})\n\t\t}\n\t});\n}\n"
  },
  {
    "path": "client/src/components/editors/monaco-markdown/markdown.ts",
    "content": "// @ts-nocheck\n/*---------------------------------------------------------------------------------------------\n *  Copyright (c) Microsoft Corporation. All rights reserved.\n *  Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n\"use strict\"\n\nimport { languages } from \"monaco-editor\"\nimport { begin_args, all } from \"./latex\"\n\nexport const conf: languages.LanguageConfiguration = {\n  comments: {\n    blockComment: [\"<!--\", \"-->\"],\n  },\n  brackets: [\n    [\"{\", \"}\"],\n    [\"[\", \"]\"],\n    [\"(\", \")\"],\n  ],\n  autoClosingPairs: [\n    { open: \"{\", close: \"}\" },\n    { open: \"[\", close: \"]\" },\n    { open: \"(\", close: \")\" },\n    { open: \"<\", close: \">\", notIn: [\"string\"] },\n  ],\n  surroundingPairs: [\n    { open: \"(\", close: \")\" },\n    { open: \"[\", close: \"]\" },\n    { open: \"`\", close: \"`\" },\n  ],\n  folding: {\n    markers: {\n      start: new RegExp(\"^\\\\s*<!--\\\\s*#?region\\\\b.*-->\"),\n      end: new RegExp(\"^\\\\s*<!--\\\\s*#?endregion\\\\b.*-->\"),\n    },\n  },\n}\n\nexport const language = <languages.IMonarchLanguage>{\n  defaultToken: \"\",\n  tokenPostfix: \".md\",\n\n  // escape codes\n  control: /[\\\\`*_\\[\\]{}()#+\\-\\.!]/,\n  noncontrol: /[^\\\\`*_\\[\\]{}()#+\\-\\.!]/,\n  escapes: /\\\\(?:@control)/,\n\n  // escape codes for javascript/CSS strings\n  jsescapes: /\\\\(?:[btnfr\\\\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,\n\n  // non matched elements\n  empty: [\n    \"area\",\n    \"base\",\n    \"basefont\",\n    \"br\",\n    \"col\",\n    \"frame\",\n    \"hr\",\n    \"img\",\n    \"input\",\n    \"isindex\",\n    \"link\",\n    \"meta\",\n    \"param\",\n  ],\n\n  latexKeywords: all,\n\n  latexBeginKeywords: begin_args,\n\n  tokenizer: {\n    root: [\n      // headers (with #)\n      [\n        /^(\\s{0,3})(#+)((?:[^\\\\#]|@escapes)+)((?:#+)?)/,\n        [\"white\", \"keyword\", \"keyword\", \"keyword\"],\n      ],\n\n      // headers (with =)\n      [/^\\s*(=+|\\-+)\\s*$/, \"keyword\"],\n\n      // headers (with ***)\n      [/^\\s*((\\*[ ]?)+)\\s*$/, \"meta.separator\"],\n\n      // quote\n      [/^\\s*>+/, \"comment\"],\n\n      // list (starting with * or number)\n      [/^\\s*([\\*\\-+:]|\\d+\\.)\\s/, \"keyword\"],\n\n      // code block (4 spaces indent)\n      [/^(\\t|[ ]{4})[^ ].*$/, \"string\"],\n\n      // code block (3 tilde)\n      [\n        /^\\s*~~~\\s*((?:\\w|[\\/\\-#])+)?\\s*$/,\n        { token: \"string\", next: \"@codeblock\" },\n      ],\n\n      // github style code blocks (with backticks and language)\n      [\n        /^\\s*```\\s*((?:\\w|[\\/\\-#])+).*$/,\n        { token: \"string\", next: \"@codeblockgh\", nextEmbedded: \"$1\" },\n      ],\n\n      // github style code blocks (with backticks but no language)\n      [/^\\s*```\\s*$/, { token: \"string\", next: \"@codeblock\" }],\n\n      //math\n      [/(^\\${2})/, { token: \"comment.math\", next: \"math\", bracket: \"@open\" }],\n\n      // markup within lines\n      { include: \"@linecontent\" },\n    ],\n\n    codeblock: [\n      [/^\\s*~~~\\s*$/, { token: \"string\", next: \"@pop\" }],\n      [/^\\s*```\\s*$/, { token: \"string\", next: \"@pop\" }],\n      [/.*$/, \"variable.source\"],\n    ],\n\n    // github style code blocks\n    codeblockgh: [\n      [\n        /```\\s*$/,\n        { token: \"variable.source\", next: \"@pop\", nextEmbedded: \"@pop\" },\n      ],\n      [/[^`]+/, \"variable.source\"],\n    ],\n\n    linecontent: [\n      // escapes\n      [/&\\w+;/, \"string.escape\"],\n      [/@escapes/, \"escape\"],\n\n      // various markup\n      [/\\b__([^\\\\_]|@escapes|_(?!_))+__\\b/, \"strong\"],\n      [/\\*\\*([^\\\\*]|@escapes|\\*(?!\\*))+\\*\\*/, \"strong\"],\n      [/\\b_[^_]+_\\b/, \"emphasis\"],\n      [/\\*([^\\\\*]|@escapes)+\\*/, \"emphasis\"],\n      [/`([^\\\\`]|@escapes)+`/, \"variable\"],\n\n      // links\n      [/\\{+[^}]+\\}+/, \"string.target\"],\n      [\n        /(!?\\[)((?:[^\\]\\\\]|@escapes)*)(\\]\\([^\\)]+\\))/,\n        [\"string.link\", \"\", \"string.link\"],\n      ],\n      [/(!?\\[)((?:[^\\]\\\\]|@escapes)*)(\\])/, \"string.link\"],\n\n      //inline math\n      [\n        /(\\$\\$)([^$]*)(\\$\\$)/,\n        [\n          { token: \"comment.math\", bracket: \"@open\" },\n          { token: \"@rematch\", next: \"mathInline\", goBack: 2 },\n          { token: \"comment.math\", bracket: \"@close\" },\n        ],\n      ],\n\n      [\n        /(\\$)([^$]+)(\\$)/,\n        [\n          { token: \"comment.math\", bracket: \"@open\" },\n          { token: \"@rematch\", next: \"mathInline\", goBack: 1 },\n          { token: \"comment.math\", bracket: \"@close\" },\n        ],\n      ],\n\n      // or html\n      { include: \"html\" },\n    ],\n\n    // Note: it is tempting to rather switch to the real HTML mode instead of building our own here\n    // but currently there is a limitation in Monarch that prevents us from doing it: The opening\n    // '<' would start the HTML mode, however there is no way to jump 1 character back to let the\n    // HTML mode also tokenize the opening angle bracket. Thus, even though we could jump to HTML,\n    // we cannot correctly tokenize it in that mode yet.\n    html: [\n      // html tags\n      [/<(\\w+)\\/>/, \"tag\"],\n      [\n        /<(\\w+)/,\n        {\n          cases: {\n            \"@empty\": { token: \"tag\", next: \"@tag.$1\" },\n            \"@default\": { token: \"tag\", next: \"@tag.$1\" },\n          },\n        },\n      ],\n      [/<\\/(\\w+)\\s*>/, { token: \"tag\" }],\n\n      [/<!--/, \"comment\", \"@comment\"],\n    ],\n\n    comment: [\n      [/[^<\\-]+/, \"comment.content\"],\n      [/-->/, \"comment\", \"@pop\"],\n      [/<!--/, \"comment.content.invalid\"],\n      [/[<\\-]/, \"comment.content\"],\n    ],\n\n    // Almost full HTML tag matching, complete with embedded scripts & styles\n    tag: [\n      [/[ \\t\\r\\n]+/, \"white\"],\n      [\n        /(type)(\\s*=\\s*)(\")([^\"]+)(\")/,\n        [\n          \"attribute.name.html\",\n          \"delimiter.html\",\n          \"string.html\",\n          { token: \"string.html\", switchTo: \"@tag.$S2.$4\" },\n          \"string.html\",\n        ],\n      ],\n      [\n        /(type)(\\s*=\\s*)(')([^']+)(')/,\n        [\n          \"attribute.name.html\",\n          \"delimiter.html\",\n          \"string.html\",\n          { token: \"string.html\", switchTo: \"@tag.$S2.$4\" },\n          \"string.html\",\n        ],\n      ],\n      [\n        /(\\w+)(\\s*=\\s*)(\"[^\"]*\"|'[^']*')/,\n        [\"attribute.name.html\", \"delimiter.html\", \"string.html\"],\n      ],\n      [/\\w+/, \"attribute.name.html\"],\n      [/\\/>/, \"tag\", \"@pop\"],\n      [\n        />/,\n        {\n          cases: {\n            \"$S2==style\": {\n              token: \"tag\",\n              switchTo: \"embeddedStyle\",\n              nextEmbedded: \"text/css\",\n            },\n            \"$S2==script\": {\n              cases: {\n                $S3: {\n                  token: \"tag\",\n                  switchTo: \"embeddedScript\",\n                  nextEmbedded: \"$S3\",\n                },\n                \"@default\": {\n                  token: \"tag\",\n                  switchTo: \"embeddedScript\",\n                  nextEmbedded: \"text/javascript\",\n                },\n              },\n            },\n            \"@default\": { token: \"tag\", next: \"@pop\" },\n          },\n        },\n      ],\n    ],\n\n    embeddedStyle: [\n      [/[^<]+/, \"\"],\n      [\n        /<\\/style\\s*>/,\n        { token: \"@rematch\", next: \"@pop\", nextEmbedded: \"@pop\" },\n      ],\n      [/</, \"\"],\n    ],\n\n    embeddedScript: [\n      [/[^<]+/, \"\"],\n      [\n        /<\\/script\\s*>/,\n        { token: \"@rematch\", next: \"@pop\", nextEmbedded: \"@pop\" },\n      ],\n      [/</, \"\"],\n    ],\n\n    math: [\n      [/(\\${2})/, { token: \"comment.math\", next: \"@pop\", bracket: \"@close\" }],\n      { include: \"latex\" },\n    ],\n\n    mathInline: [\n      [/\\${1,2}/, { token: \"comment.math\", next: \"@pop\", bracket: \"@close\" }],\n      { include: \"latex\" },\n    ],\n\n    latex: [\n      [/(\\\\begin)({)/, [\"keyword\", { token: \"\", next: \"latexBeginArg\" }]],\n      [/(\\\\end)({)/, [\"keyword\", { token: \"\", next: \"latexBeginArg\" }]],\n      [/\\\\\\w+/, { cases: { \"@latexKeywords\": \"keyword\", \"@default\": \"\" } }],\n    ],\n\n    latexBeginArg: [\n      [/\\w+/, { cases: { \"@latexBeginKeywords\": \"keyword\", \"@default\": \"\" } }],\n      [/}/, { token: \"\", next: \"@pop\", bracket: \"@close\" }],\n    ],\n  },\n}\n"
  },
  {
    "path": "client/src/components/editors/monaco-markdown/tableFormatter.ts",
    "content": "// @ts-nocheck\n'use strict';\n\n// https://github.github.com/gfm/#tables-extension-\n\nimport {CancellationToken, editor, languages, Thenable, Range as _Range} from \"monaco-editor\";\nimport {TextDocument, TextEditor} from \"./vscode-monaco\";\n\nimport {EndOfLine, Range} from './extHostTypes'\n\nimport * as TypeConverters from './vscode-converters'\n\nexport function activateTableFormatter(editor: TextEditor) {\n    languages.registerDocumentFormattingEditProvider(editor.languageId, new MarkdownDocumentFormatter());\n}\n\nexport function deactivate() {\n}\n\nclass MarkdownDocumentFormatter implements languages.DocumentFormattingEditProvider {\n    public provideDocumentFormattingEdits(model: editor.ITextModel, options: languages.FormattingOptions, _: CancellationToken): languages.TextEdit[] | Thenable<languages.TextEdit[]> {\n        let edits: languages.TextEdit[] = [];\n        let document = new TextDocument(model)\n        let tables = this.detectTables(document.getText());\n        if (tables !== null) {\n            tables.forEach(table => {\n                edits.push({range: TypeConverters.Range.from(this.getRange(document, table)), text: this.formatTable(table, document, options)});\n            });\n            return edits;\n        } else {\n            return [];\n        }\n    }\n\n    private detectTables(text: string) {\n        const lineBreak = '\\\\r?\\\\n';\n        const contentLine = '\\\\|?.*\\\\|.*\\\\|?';\n        const hyphenLine = '[ \\\\t]*\\\\|?( *:?-+:? *\\\\|)+( *:?-+:? *\\\\|?)[ \\\\t]*';\n        const tableRegex = new RegExp(contentLine + lineBreak + hyphenLine + '(?:' + lineBreak + contentLine + ')*', 'g');\n        return text.match(tableRegex);\n    }\n\n    private getRange(document: TextDocument, text: string): Range {\n        let documentText = document.getText();\n        let start = document.positionAt(documentText.indexOf(text));\n        let end = document.positionAt(documentText.indexOf(text) + text.length);\n        return new Range(start, end);\n    }\n\n    /**\n     * Return the indentation of a table as a string of spaces by reading it from the first line.\n     * In case of `markdown.extension.table.normalizeIndentation` is `enabled` it is rounded to the closest multiple of\n     * the configured `tabSize`.\n     */\n    private getTableIndentation(text: string, options: languages.FormattingOptions) {\n        // let doNormalize = workspace.getConfiguration('markdown.extension.tableFormatter').get<boolean>('normalizeIndentation');\n        let doNormalize = true;\n        let indentRegex = new RegExp(/^(\\s*)\\S/u);\n        let match = text.match(indentRegex);\n        let spacesInFirstLine = match[1].length;\n        let tabStops = Math.round(spacesInFirstLine / options.tabSize);\n        let spaces = doNormalize ? \" \".repeat(options.tabSize * tabStops) : \" \".repeat(spacesInFirstLine);\n        return spaces;\n    }\n\n    private formatTable(text: string, doc: TextDocument, options: languages.FormattingOptions) {\n        let indentation = this.getTableIndentation(text, options);\n\n        let rows: string[] = [];\n        let rowsNoIndentPattern = new RegExp(/^\\s*(\\S.*)$/gum);\n        let match = null;\n        while ((match = rowsNoIndentPattern.exec(text)) !== null) {\n            rows.push(match[1].trim());\n        }\n\n        // Desired width of each column\n        let colWidth: number[] = [];\n        // Alignment of each column        \n        let colAlign: string[] = []\n        // Regex to extract cell content.\n        // Known issue: `\\\\|` is not correctly parsed as a valid delimiter\n        let fieldRegExp = new RegExp(/(?:((?:\\\\\\||`.*?`|[^\\|])*)\\|)/gu);\n        let cjkRegex = /[\\u3000-\\u9fff\\uff01-\\uff60]/g;\n\n        let lines = rows.map((row, num) => {\n            // Normalize\n            if (row.startsWith('|')) {\n                row = row.slice(1);\n            }\n            if (!row.endsWith('|')) {\n                row = row + '|';\n            }\n\n            let field = null;\n            let values = [];\n            let i = 0;\n            while ((field = fieldRegExp.exec(row)) !== null) {\n                let cell = field[1].trim();\n                values.push(cell);\n\n                // Ignore length of dash-line to enable width reduction\n                if (num != 1) {\n                    // Treat CJK characters as 2 English ones because of Unicode stuff\n                    let length = cjkRegex.test(cell) ? cell.length + cell.match(cjkRegex).length : cell.length;\n                    colWidth[i] = colWidth[i] > length ? colWidth[i] : length;\n                }\n\n                i++;\n            }\n            return values;\n        });\n\n        // Normalize the num of hyphen, use Math.max to determine minimum length based on dash-line format\n        lines[1] = lines[1].map((cell, i) => {\n            if (/:-+:/.test(cell)) {\n                //:---:\n                colWidth[i] = Math.max(colWidth[i], 5);\n                colAlign[i] = 'c';\n                return ':' + '-'.repeat(colWidth[i] - 2) + ':';\n            } else if (/:-+/.test(cell)) {\n                //:---\n                colWidth[i] = Math.max(colWidth[i], 4);\n                colAlign[i] = 'l';\n                return ':' + '-'.repeat(colWidth[i] - 1);\n            } else if (/-+:/.test(cell)) {\n                //---:\n                colWidth[i] = Math.max(colWidth[i], 4);\n                colAlign[i] = 'r';\n                return '-'.repeat(colWidth[i] - 1) + ':';\n            } else if (/-+/.test(cell)) {\n                //---\n                colWidth[i] = Math.max(colWidth[i], 3);\n                colAlign[i] = 'l';\n                return '-'.repeat(colWidth[i]);\n            } else {\n                colAlign[i] = 'l';\n            }\n        });\n\n        return lines.map(row => {\n            let cells = row.map((cell, i) => {\n                let cellLength = colWidth[i];\n                if (cjkRegex.test(cell)) {\n                    cellLength -= cell.match(cjkRegex).length;\n                }\n                //return (cell + ' '.repeat(cellLength)).slice(0, cellLength);\n                return this.alignText(cell, colAlign[i], cellLength);\n            });\n            return indentation + '| ' + cells.join(' | ') + ' |';\n        }).join(doc.eol === EndOfLine.LF ? '\\n' : '\\r\\n');\n    }\n\n    private alignText(text: string, align: string, length: number) {\n        if (align === 'c' && length > text.length) {\n            return (' '.repeat(Math.floor((length - text.length) / 2)) + text + ' '.repeat(length)).slice(0, length);\n        } else if (align === 'r') {\n            return (' '.repeat(length) + text).slice(-length);\n        } else {\n            return (text + ' '.repeat(length)).slice(0, length);\n        }\n    }\n}\n"
  },
  {
    "path": "client/src/components/editors/monaco-markdown/toc.ts",
    "content": "// @ts-nocheck\n'use strict';\n\n\nimport {TextDocument} from \"./vscode-monaco\";\n\n\nexport function buildToc(doc: TextDocument): any {\n    let toc;\n    let lines = doc.getText()\n        .replace(/^```[\\W\\w]+?^```/gm, '')      // Remove code blocks\n        .replace(/<!-- omit in (toc|TOC) -->/g, '&lt; omit in toc &gt;')  // Escape magic comment\n        .replace(/<!--[\\W\\w]+?-->/, '')         // Remove comments\n        .replace(/^---[\\W\\w]+?(\\r?\\n)---/, '')  // Remove YAML front matter\n        .split(/\\r?\\n/g);\n    // Transform setext headings to ATX headings\n    lines.forEach((lineText, i, arr) => {\n        if (\n            i < arr.length - 1\n            && lineText.match(/^ {0,3}\\S.*$/)\n            && arr[i + 1].match(/^ {0,3}(=+|-{2,}) *$/)\n        ) {\n            arr[i] = (arr[i + 1].includes('=') ? '# ' : '## ') + lineText;\n        }\n    });\n    toc = lines.filter(lineText => {\n        return lineText.startsWith('#')\n            && lineText.includes('# ')\n            && !lineText.includes('&lt; omit in toc &gt;');\n    }).map(lineText => {\n        let matches = /^(#+) (.*)/.exec(lineText);\n        return {level: matches[1].length, text: matches[2].replace(/#+$/, '').trim()};\n    });\n\n    return toc;\n}\n\n"
  },
  {
    "path": "client/src/components/editors/monaco-markdown/util.ts",
    "content": "// @ts-nocheck\n'use strict'\n\nimport {TextDocument} from \"./vscode-monaco\";\nimport {Position, Range} from \"./extHostTypes\";\n\nexport function isInFencedCodeBlock(doc: TextDocument, lineNum: number): boolean {\n    let textBefore = doc.getText(new Range(new Position(0, 0), new Position(lineNum, 0)));\n    let matches = textBefore.match(/^```[\\w ]*$/gm);\n    if (matches == null) {\n        return false;\n    } else {\n        return matches.length % 2 != 0;\n    }\n}\n\n/* ┌─────────────────┐\n   │ Text Extraction │\n   └─────────────────┘ */\n\n/**\n * For example: [text](link) -> text\n * @param text\n */\nexport function extractText(text: string) {\n    return textInHtml(textInMd(text));\n}\n\n// [text](link) -> text. In case there are links in heading (#83)\n// 💩\nfunction textInMd(text: string) {\n    return text.replace(/\\[([^\\]]+?)\\]\\([^\\)]+?\\)/g, (_, g1) => g1);\n}\n\n// Convert HTML entities (#175)\n// Strip HTML tags (#179)\n// 💩\nfunction textInHtml(text: string) {\n    return text.replace(/(&emsp;)/g, _ => ' ')\n        .replace(/(<!--[^>]*?-->)/g, '') // remove <!-- HTML comments -->\n        .replace(/<span[^>]*>(.*?)<\\/span>/g, (_, g1) => g1) // remove <span>\n        .replace(/ +/g, ' ');\n}\n\n/* ┌─────────┐\n   │ Slugify │\n   └─────────┘ */\n\n// Converted from `/[^\\p{Word}\\- ]/u`\n// `\\p{Word}` => ASCII plus Letter (Ll/Lm/Lo/Lt/Lu), Mark (Mc/Me/Mn), Number (Nd/Nl/No), Connector_Punctuation (Pc)\n// Using <https://apps.timwhitlock.info/js/regex>\nconst PUNCTUATION_REGEXP = /[^0-9A-Z_a-z\\- ª²-³µ¹-º¼-¾À-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ\\u0300-ʹͶ-ͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ\\u0483-ԣԱ-Ֆՙա-և\\u0591-\\u05bd\\u05bf\\u05c1-\\u05c2\\u05c4-\\u05c5\\u05c7א-תװ-ײ\\u0610-\\u061aء-\\u065e٠-٩ٮ-ۓە-\\u06dc\\u06de-\\u06e8\\u06ea-ۼۿܐ-\\u074aݍ-ޱ߀-ߵߺ\\u0901-ह\\u093c-\\u094dॐ-\\u0954क़-\\u0963०-९ॱ-ॲॻ-ॿ\\u0981-\\u0983অ-ঌএ-ঐও-নপ-রলশ-হ\\u09bc-\\u09c4\\u09c7-\\u09c8\\u09cb-ৎ\\u09d7ড়-ঢ়য়-\\u09e3০-ৱ৴-৹\\u0a01-\\u0a03ਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹ\\u0a3c\\u0a3e-\\u0a42\\u0a47-\\u0a48\\u0a4b-\\u0a4d\\u0a51ਖ਼-ੜਫ਼੦-\\u0a75\\u0a81-\\u0a83અ-ઍએ-ઑઓ-નપ-રલ-ળવ-હ\\u0abc-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acdૐૠ-\\u0ae3૦-૯\\u0b01-\\u0b03ଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହ\\u0b3c-\\u0b44\\u0b47-\\u0b48\\u0b4b-\\u0b4d\\u0b56-\\u0b57ଡ଼-ଢ଼ୟ-\\u0b63୦-୯ୱ\\u0b82-ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹ\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcdௐ\\u0bd7௦-௲\\u0c01-\\u0c03అ-ఌఎ-ఐఒ-నప-ళవ-హఽ-\\u0c44\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55-\\u0c56ౘ-ౙౠ-\\u0c63౦-౯౸-౾\\u0c82-\\u0c83ಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ\\u0cbc-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5-\\u0cd6ೞೠ-\\u0ce3೦-೯\\u0d02-\\u0d03അ-ഌഎ-ഐഒ-നപ-ഹഽ-\\u0d44\\u0d46-\\u0d48\\u0d4a-\\u0d4d\\u0d57ൠ-\\u0d63൦-൵ൺ-ൿ\\u0d82-\\u0d83අ-ඖක-නඳ-රලව-ෆ\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2-\\u0df3ก-\\u0e3aเ-\\u0e4e๐-๙ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-\\u0eb9\\u0ebb-ຽເ-ໄໆ\\u0ec8-\\u0ecd໐-໙ໜ-ໝༀ\\u0f18-\\u0f19༠-༳\\u0f35\\u0f37\\u0f39\\u0f3e-ཇཉ-ཬ\\u0f71-\\u0f84\\u0f86-ྋ\\u0f90-\\u0f97\\u0f99-\\u0fbc\\u0fc6က-၉ၐ-႙Ⴀ-Ⴥა-ჺჼᄀ-ᅙᅟ-ᆢᆨ-ᇹሀ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ\\u135f፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙶᚁ-ᚚᚠ-ᛪ\\u16ee-\\u16f0ᜀ-ᜌᜎ-\\u1714ᜠ-\\u1734ᝀ-\\u1753ᝠ-ᝬᝮ-ᝰ\\u1772-\\u1773ក-ឳ\\u17b6-\\u17d3ៗៜ-\\u17dd០-៩៰-៹\\u180b-\\u180d᠐-᠙ᠠ-ᡷᢀ-ᢪᤀ-ᤜ\\u1920-\\u192b\\u1930-\\u193b᥆-ᥭᥰ-ᥴᦀ-ᦩ\\u19b0-\\u19c9᧐-᧙ᨀ-\\u1a1b\\u1b00-ᭋ᭐-᭙\\u1b6b-\\u1b73\\u1b80-\\u1baaᮮ-᮹ᰀ-\\u1c37᱀-᱉ᱍ-ᱽᴀ-\\u1de6\\u1dfe-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‿-⁀⁔⁰-ⁱ⁴-⁹ⁿ-₉ₐ-ₔ\\u20d0-\\u20f0ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎ⅓-\\u2188①-⒛⓪-⓿❶-➓Ⰰ-Ⱞⰰ-ⱞⱠ-Ɐⱱ-ⱽⲀ-ⳤ⳽ⴀ-ⴥⴰ-ⵥⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ\\u2de0-\\u2dffⸯ々-\\u3007\\u3021-\\u302f〱-〵\\u3038-〼ぁ-ゖ\\u3099-\\u309aゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎ㆒-㆕ㆠ-ㆷㇰ-ㇿ㈠-㈩㉑-㉟㊀-㊉㊱-㊿㐀-䶵一-鿃ꀀ-ꒌꔀ-ꘌꘐ-ꘫꙀ-ꙟꙢ-\\ua672\\ua67c-\\ua67dꙿ-ꚗꜗ-ꜟꜢ-ꞈꞋ-ꞌꟻ-\\ua827ꡀ-ꡳ\\ua880-\\ua8c4꣐-꣙꤀-\\ua92dꤰ-\\ua953ꨀ-\\uaa36ꩀ-\\uaa4d꩐-꩙가-힣豈-鶴侮-頻並-龎ﬀ-ﬆﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ\\ufe00-\\ufe0f\\ufe20-\\ufe26︳-︴﹍-﹏ﹰ-ﹴﹶ-ﻼ０-９Ａ-Ｚ＿ａ-ｚｦ-ﾾￂ-ￇￊ-ￏￒ-ￗￚ-ￜ]/gu;\n\nexport function slugify(heading: string) {\n    // GitHub slugify function\n    // <https://github.com/jch/html-pipeline/blob/master/lib/html/pipeline/toc_filter.rb>\n    let slug = extractText(heading.trim())\n    // .replace(/[A-Z]/g, match => match.toLowerCase()) // only downcase ASCII region\n        .replace(PUNCTUATION_REGEXP, '')\n        .replace(/ /g, '-');\n\n    // if (doDowncase) {\n        slug = slug.replace(/[A-Z]/g, match => match.toLowerCase())\n    // }\n\n    return slug;\n}\n\n"
  },
  {
    "path": "client/src/components/editors/monaco-markdown/vscode-common.ts",
    "content": "// @ts-nocheck\nimport { Range } from \"./extHostTypes\"\n\n/**\n * Represents a line of text, such as a line of source code.\n *\n * TextLine objects are __immutable__. When a [document](#TextDocument) changes,\n * previously retrieved lines will not represent the latest state.\n */\nexport interface TextLine {\n\n    /**\n     * The zero-based line number.\n     */\n    readonly lineNumber: number;\n\n    /**\n     * The text of this line without the line separator characters.\n     */\n    readonly text: string;\n\n    /**\n     * The range this line covers without the line separator characters.\n     */\n    readonly range: Range;\n\n    /**\n     * The range this line covers with the line separator characters.\n     */\n    readonly rangeIncludingLineBreak: Range;\n\n    /**\n     * The offset of the first character which is not a whitespace character as defined\n     * by `/\\s/`. **Note** that if a line is all whitespace the length of the line is returned.\n     */\n    readonly firstNonWhitespaceCharacterIndex: number;\n\n    /**\n     * Whether this line is whitespace only, shorthand\n     * for [TextLine.firstNonWhitespaceCharacterIndex](#TextLine.firstNonWhitespaceCharacterIndex) === [TextLine.text.length](#TextLine.text).\n     */\n    readonly isEmptyOrWhitespace: boolean;\n}\n"
  },
  {
    "path": "client/src/components/editors/monaco-markdown/vscode-converters.ts",
    "content": "// @ts-nocheck\nimport {\n  editor,\n  Range as _Range,\n  Position as _Position,\n  IRange,\n  Selection as _Selection,\n  IPosition,\n} from \"monaco-editor\"\n\nimport * as vscode from \"./extHostTypes\";\n\nexport interface PositionLike {\n    line: number;\n    character: number;\n}\n\nexport interface RangeLike {\n    start: PositionLike;\n    end: PositionLike;\n}\n\nexport interface SelectionLike extends RangeLike {\n    anchor: PositionLike;\n    active: PositionLike;\n}\n\nexport namespace Selection {\n\n    export function to(selection: _Selection): vscode.Selection {\n        const {selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn} = selection;\n        const start = new vscode.Position(selectionStartLineNumber - 1, selectionStartColumn - 1);\n        const end = new vscode.Position(positionLineNumber - 1, positionColumn - 1);\n        return new vscode.Selection(start, end);\n    }\n\n    export function from(selection: SelectionLike): _Selection {\n        const {anchor, active} = selection;\n        return new _Selection(\n            anchor.line + 1,\n            anchor.character + 1,\n            active.line + 1,\n            active.character + 1);\n    }\n}\nexport namespace Range {\n\n    export function from(range: undefined): undefined;\n    export function from(range: RangeLike): _Range;\n    export function from(range: RangeLike | undefined): _Range | undefined;\n    export function from(range: RangeLike | undefined): _Range | undefined {\n        if (!range) {\n            return undefined;\n        }\n        const {start, end} = range;\n        return new _Range(\n            start.line + 1,\n            start.character + 1,\n            end.line + 1,\n            end.character + 1\n        );\n    }\n\n    export function to(range: undefined): vscode.Range;\n    export function to(range: IRange): vscode.Range;\n    export function to(range: IRange | undefined): vscode.Range | undefined;\n    export function to(range: IRange | undefined): vscode.Range | undefined {\n        if (!range) {\n            return undefined;\n        }\n        const {startLineNumber, startColumn, endLineNumber, endColumn} = range;\n        return new vscode.Range(startLineNumber - 1, startColumn - 1, endLineNumber - 1, endColumn - 1);\n    }\n}\n\nexport namespace Position {\n    export function to(position: IPosition): vscode.Position {\n        return new vscode.Position(position.lineNumber - 1, position.column - 1);\n    }\n\n    export function from(position: vscode.Position): IPosition {\n        return {lineNumber: position.line + 1, column: position.character + 1};\n    }\n}\n\nexport namespace EndOfLine {\n    export function from(eol: vscode.EndOfLine): editor.EndOfLineSequence | undefined {\n        if (eol === vscode.EndOfLine.CRLF) {\n            return editor.EndOfLineSequence.CRLF;\n        } else if (eol === vscode.EndOfLine.LF) {\n            return editor.EndOfLineSequence.LF;\n        }\n        return undefined;\n    }\n\n    export function to(eol: editor.EndOfLineSequence): vscode.EndOfLine | undefined {\n        if (eol === editor.EndOfLineSequence.CRLF) {\n            return vscode.EndOfLine.CRLF;\n        } else if (eol === editor.EndOfLineSequence.LF) {\n            return vscode.EndOfLine.LF;\n        }\n        return undefined;\n    }\n}\n\nexport namespace WorkspaceEdit {\n    export function from(value: vscode.WorkspaceEdit): editor.IIdentifiedSingleEditOperation[] {\n        let edits: editor.IIdentifiedSingleEditOperation[] = []\n        for (const entry of value._allEntries()) {\n            const [uri, uriOrEdits] = entry;\n            if (Array.isArray(uriOrEdits)) {\n                // text edits\n\n                for (const e of uriOrEdits) {\n                    edits.push({\n                        range: Range.from(e.range),\n                        text: e.newText,\n                        forceMoveMarkers: false\n                    });\n                }\n            } else {\n                // resource edits\n                throw new Error(\"Not implemented for \" + uri)\n            }\n        }\n        return edits;\n    }\n}\n"
  },
  {
    "path": "client/src/components/editors/monaco-markdown/vscode-monaco.ts",
    "content": "// @ts-nocheck\nimport {\n    EndOfLine,\n    Position,\n    Range,\n    Selection,\n    TextEditorRevealType, WorkspaceEdit,\n} from './extHostTypes';\n\nimport {\n    editor,\n    Selection as _Selection,\n    IRange,\n    Uri,\n    Thenable\n} from \"monaco-editor\";\nimport {regExpLeadsToEndlessLoop} from \"./vscode-utils\";\nimport {ensureValidWordDefinition, getWordAtText} from \"./wordHelper\";\n\nimport * as TypeConverters from './vscode-converters'\nimport {TextLine} from \"./vscode-common\";\n\nconst _modeId2WordDefinition = new Map<string, RegExp>();\n\nexport function setWordDefinitionFor(modeId: string, wordDefinition: RegExp | undefined): void {\n    _modeId2WordDefinition.set(modeId, wordDefinition);\n}\n\nexport function getWordDefinitionFor(modeId: string): RegExp | undefined {\n    return _modeId2WordDefinition.get(modeId);\n}\n\nfunction revealRangeInEditor(_editor: editor.ICodeEditor, range: IRange, revealType: TextEditorRevealType): void {\n    switch (revealType) {\n        case TextEditorRevealType.Default:\n        case undefined:\n            _editor.revealRange(range, editor.ScrollType.Smooth);\n            break;\n        case TextEditorRevealType.InCenter:\n            _editor.revealRangeInCenter(range, editor.ScrollType.Smooth);\n            break;\n        case TextEditorRevealType.InCenterIfOutsideViewport:\n            _editor.revealRangeInCenterIfOutsideViewport(range, editor.ScrollType.Smooth);\n            break;\n        case TextEditorRevealType.AtTop:\n            _editor.revealRangeAtTop(range, editor.ScrollType.Smooth);\n            break;\n        default:\n            console.warn(`Unknown revealType: ${revealType}`);\n            break;\n    }\n}\n\nexport class TextDocument {\n    readonly uri: Uri;\n    readonly version: number;\n\n    readonly model: editor.ITextModel;\n\n    private _textLines: TextLine[] = [];\n\n    constructor(model: editor.ITextModel) {\n        this.model = model;\n        this.languageId = getLanguageId(model)\n    }\n\n    get eol(): EndOfLine {\n        switch (this.model.getEOL()) {\n            case '\\n': {\n                return EndOfLine.LF\n            }\n            case '\\r\\n': {\n                return EndOfLine.CRLF\n            }\n            default: {\n                throw new Error(\"invalid argument\")\n            }\n        }\n    };\n\n    get fileName(): string {\n        return ''\n    }\n\n    get isClosed(): boolean {\n        return false\n    }\n\n    get isDirty(): boolean {\n        return false\n    }\n\n    get isUntitled(): boolean {\n        return true;\n    }\n\n    readonly languageId: string;\n\n    get lineCount(): number {\n        return this.model.getLineCount()\n    }\n\n\n    private get _lines(): string[] {\n        return this.model.getLinesContent()\n    }\n\n    getText(range?: Range): string {\n        if (!range) {\n            return this.model.getValue()\n        }\n        return this.model.getValueInRange(TypeConverters.Range.from(range));\n    }\n\n    lineAt(lineOrPosition: number | Position): TextLine {\n        let line: number | undefined;\n        if (lineOrPosition instanceof Position) {\n            line = lineOrPosition.line;\n        } else if (typeof lineOrPosition === 'number') {\n            line = lineOrPosition;\n        }\n\n        if (typeof line !== 'number' || line < 0 || line >= this._lines.length) {\n            throw new Error('Illegal value for `line`');\n        }\n\n        let result = this._textLines[line];\n        if (!result || result.lineNumber !== line || result.text !== this._lines[line]) {\n\n            const text = this._lines[line];\n            const firstNonWhitespaceCharacterIndex = /^(\\s*)/.exec(text)![1].length;\n            const range = new Range(line, 0, line, text.length);\n            const rangeIncludingLineBreak = line < this._lines.length - 1\n                ? new Range(line, 0, line + 1, 0)\n                : range;\n\n            result = Object.freeze({\n                lineNumber: line,\n                range,\n                rangeIncludingLineBreak,\n                text,\n                firstNonWhitespaceCharacterIndex, //TODO@api, rename to 'leadingWhitespaceLength'\n                isEmptyOrWhitespace: firstNonWhitespaceCharacterIndex === text.length\n            });\n\n            this._textLines[line] = result;\n        }\n\n        return result;\n    }\n\n    offsetAt(position: Position): number {\n        return this.model.getOffsetAt(TypeConverters.Position.from(position))\n    }\n\n    positionAt(offset: number): Position {\n        return TypeConverters.Position.to(this.model.getPositionAt(offset))\n    }\n\n    save(): Thenable<boolean> {\n        throw new Error(\"Not implemented\")\n    }\n\n    validateRange(range: Range): Range {\n        if (!(range instanceof Range)) {\n            throw new Error('Invalid argument');\n        }\n\n        const start = this.validatePosition(range.start);\n        const end = this.validatePosition(range.end);\n\n        if (start === range.start && end === range.end) {\n            return range;\n        }\n        return new Range(start.line, start.character, end.line, end.character);\n    }\n\n    validatePosition(position: Position): Position {\n        if (!(position instanceof Position)) {\n            throw new Error('Invalid argument');\n        }\n\n        let {line, character} = position;\n        let hasChanged = false;\n\n        if (line < 0) {\n            line = 0;\n            character = 0;\n            hasChanged = true;\n        } else if (line >= this._lines.length) {\n            line = this._lines.length - 1;\n            character = this._lines[line].length;\n            hasChanged = true;\n        } else {\n            const maxCharacter = this._lines[line].length;\n            if (character < 0) {\n                character = 0;\n                hasChanged = true;\n            } else if (character > maxCharacter) {\n                character = maxCharacter;\n                hasChanged = true;\n            }\n        }\n\n        if (!hasChanged) {\n            return position;\n        }\n        return new Position(line, character);\n    }\n\n    getWordRangeAtPosition(_position: Position, regexp?: RegExp): Range | undefined {\n        const position = this.validatePosition(_position);\n\n        if (!regexp) {\n            // use default when custom-regexp isn't provided\n            regexp = getWordDefinitionFor(this.languageId);\n\n        } else if (regExpLeadsToEndlessLoop(regexp)) {\n            // use default when custom-regexp is bad\n            console.warn(`[getWordRangeAtPosition]: ignoring custom regexp '${regexp.source}' because it matches the empty string.`);\n            regexp = getWordDefinitionFor(this.languageId);\n        }\n\n        const wordAtText = getWordAtText(\n            position.character + 1,\n            ensureValidWordDefinition(regexp),\n            this._lines[position.line],\n            0\n        );\n\n        if (wordAtText) {\n            return new Range(position.line, wordAtText.startColumn - 1, position.line, wordAtText.endColumn - 1);\n        }\n        return undefined;\n    }\n}\n\n\nfunction getLanguageId(model: editor.ITextModel) {\n    // @ts-ignore\n    return model.getLanguageId();\n}\n\nexport class TextEditor {\n    public readonly editor: editor.IStandaloneCodeEditor;\n    private _disposed: boolean = false;\n\n    public get languageId(): string {\n        return getLanguageId(this.editor.getModel())\n    }\n\n    constructor(editor: editor.IStandaloneCodeEditor) {\n        this.editor = editor;\n    }\n\n    get document(): TextDocument {\n        return new TextDocument(this.editor.getModel())\n    }\n\n    get selection(): Selection {\n        return TypeConverters.Selection.to(this.editor.getSelection())\n    }\n\n    set selection(value: Selection) {\n        this.editor.setSelection(TypeConverters.Selection.from(value))\n    }\n\n    get selections(): Selection[] {\n        return this.editor.getSelections().map(s => TypeConverters.Selection.to(s))\n    }\n\n    set selections(value: Selection[]) {\n        this.editor.setSelections(value.map(s => TypeConverters.Selection.from(s)))\n    }\n\n    get visibleRanges(): Range[] {\n        return this.editor.getVisibleRanges().map(r => TypeConverters.Range.to(r))\n    }\n\n    edit(callback: (edit: TextEditorEdit) => void, options: { undoStopBefore: boolean; undoStopAfter: boolean; } = {\n        undoStopBefore: true,\n        undoStopAfter: true\n    }): Promise<void> {\n        if (this._disposed) {\n            return Promise.reject(new Error('TextEditor#edit not possible on closed editors'));\n        }\n        const edit = new TextEditorEdit(this.document, options);\n        callback(edit);\n        return this._applyEdit(edit);\n    }\n\n    private _applyEdit(editBuilder: TextEditorEdit): Promise<void> {\n        const editData = editBuilder.finalize();\n\n        // return when there is nothing to do\n        if (editData.edits.length === 0 && !editData.setEndOfLine) {\n            return Promise.resolve(null);\n        }\n\n        // check that the edits are not overlapping (i.e. illegal)\n        const editRanges = editData.edits.map(edit => edit.range);\n\n        // sort ascending (by end and then by start)\n        editRanges.sort((a, b) => {\n            if (a.end.line === b.end.line) {\n                if (a.end.character === b.end.character) {\n                    if (a.start.line === b.start.line) {\n                        return a.start.character - b.start.character;\n                    }\n                    return a.start.line - b.start.line;\n                }\n                return a.end.character - b.end.character;\n            }\n            return a.end.line - b.end.line;\n        });\n\n        // check that no edits are overlapping\n        for (let i = 0, count = editRanges.length - 1; i < count; i++) {\n            const rangeEnd = editRanges[i].end;\n            const nextRangeStart = editRanges[i + 1].start;\n\n            if (nextRangeStart.isBefore(rangeEnd)) {\n                // overlapping ranges\n                return Promise.reject(\n                    new Error('Overlapping ranges are not allowed!')\n                );\n            }\n        }\n\n        // prepare data for serialization\n        const edits = editData.edits.map((edit): editor.IIdentifiedSingleEditOperation => {\n            return {\n                range: TypeConverters.Range.from(edit.range),\n                text: edit.text,\n                forceMoveMarkers: edit.forceMoveMarkers\n            };\n        });\n\n        this.editor.getModel().pushEditOperations(this.editor.getSelections(), edits,\n            (): _Selection[] => {\n                return [];\n            })\n\n        return Promise.resolve(null)\n    }\n\n    // insertSnippet(snippet: SnippetString, where?: Position | readonly Position[] | Range | readonly Range[], options: { undoStopBefore: boolean; undoStopAfter: boolean; } = {\n    //     undoStopBefore: true,\n    //     undoStopAfter: true\n    // }): Promise<boolean> {}\n\n    // hide(): void {\n    //     throw new Error(\"Not implemented\")\n    // }\n\n    // @ts-ignore\n    // show(column?: ViewColumn): void {\n    //     throw new Error(\"Not implemented\")\n    // }\n\n    revealRange(range: Range, revealType?: TextEditorRevealType): void {\n        revealRangeInEditor(this.editor, TypeConverters.Range.from(range), revealType)\n    }\n\n    // @ts-ignore\n    // setDecorations(decorationType: TextEditorDecorationType, rangesOrOptions: Range[] | DecorationOptions[]): void {\n    //     throw new Error(\"Not implemented\")\n    // }\n\n    applyEdit(edit: WorkspaceEdit, newSelections?: Selection[]): Thenable<void> {\n        if (!newSelections) {\n            newSelections = []\n        }\n        this.editor.getModel().pushEditOperations(this.editor.getSelections(), TypeConverters.WorkspaceEdit.from(edit),\n            (): _Selection[] => {\n                return newSelections.map(s => TypeConverters.Selection.from(s));\n            })\n\n        return Promise.resolve(null)\n    }\n\n    addAction(param: { contextMenuOrder: number; keybindingContext: string; run(editor: editor.ICodeEditor): (void | Promise<void>); id: string; label: string; precondition: string; contextMenuGroupId: string; keybindings: number[] }) {\n        this.editor.addAction(param)\n    }\n\n    executeCommand(commandId: string, ...rest: any[]): Promise<void> {\n        switch (commandId) {\n            case 'type':\n                this.editor.trigger('keyboard', commandId, rest[0])\n                return Promise.resolve()\n            case 'tab':\n            case 'deleteLeft':\n                this.editor.trigger('keyboard', commandId, undefined)\n                return Promise.resolve()\n            default:\n                let action = this.editor.getAction(commandId)\n                if (action) {\n                    if (action.isSupported()) {\n                        return action.run();\n                    }\n                } else {\n                    new Error(\"unknown action id \" + commandId)\n                }\n        }\n    }\n\n    getConfiguration(configurationId: string) {\n        switch (configurationId) {\n            case '':\n                break\n            default:\n                return new UndefinedConfiguration()\n        }\n    }\n}\n\nclass UndefinedConfiguration {\n    get<T>(_: string): T {\n        return undefined;\n    }\n}\n\nexport interface ITextEditOperation {\n    range: Range;\n    text: string | null;\n    forceMoveMarkers: boolean;\n}\n\nexport interface IEditData {\n    documentVersionId: number;\n    edits: ITextEditOperation[];\n    setEndOfLine: EndOfLine | undefined;\n    undoStopBefore: boolean;\n    undoStopAfter: boolean;\n}\n\nexport class TextEditorEdit {\n    private readonly _document: TextDocument;\n    private readonly _documentVersionId: number;\n    private readonly _undoStopBefore: boolean;\n    private readonly _undoStopAfter: boolean;\n    private _collectedEdits: ITextEditOperation[] = [];\n    private _setEndOfLine: EndOfLine | undefined = undefined;\n    private _finalized: boolean = false;\n\n    constructor(document: TextDocument, options: { undoStopBefore: boolean; undoStopAfter: boolean; }) {\n        this._document = document;\n        this._documentVersionId = document.version;\n        this._undoStopBefore = options.undoStopBefore;\n        this._undoStopAfter = options.undoStopAfter;\n    }\n\n    finalize(): IEditData {\n        this._finalized = true;\n        return {\n            documentVersionId: this._documentVersionId,\n            edits: this._collectedEdits,\n            setEndOfLine: this._setEndOfLine,\n            undoStopBefore: this._undoStopBefore,\n            undoStopAfter: this._undoStopAfter\n        };\n    }\n\n    private _throwIfFinalized() {\n        if (this._finalized) {\n            throw new Error('Edit is only valid while callback runs');\n        }\n    }\n\n    replace(location: Position | Range | Selection, value: string): void {\n        this._throwIfFinalized();\n        let range: Range | null = null;\n\n        if (location instanceof Position) {\n            range = new Range(location, location);\n        } else if (location instanceof Range) {\n            range = location;\n        } else {\n            throw new Error('Unrecognized location');\n        }\n\n        this._pushEdit(range, value, false);\n    }\n\n    insert(location: Position, value: string): void {\n        this._throwIfFinalized();\n        this._pushEdit(new Range(location, location), value, true);\n    }\n\n    delete(location: Range | Selection): void {\n        this._throwIfFinalized();\n        let range: Range | null = null;\n\n        if (location instanceof Range) {\n            range = location;\n        } else {\n            throw new Error('Unrecognized location');\n        }\n\n        this._pushEdit(range, null, true);\n    }\n\n    private _pushEdit(range: Range, text: string | null, forceMoveMarkers: boolean): void {\n        const validRange = this._document.validateRange(range);\n        this._collectedEdits.push({\n            range: validRange,\n            text: text,\n            forceMoveMarkers: forceMoveMarkers\n        });\n    }\n\n    setEndOfLine(endOfLine: EndOfLine): void {\n        this._throwIfFinalized();\n        if (endOfLine !== EndOfLine.LF && endOfLine !== EndOfLine.CRLF) {\n            throw new Error('Illegal argument endOfLine');\n        }\n\n        this._setEndOfLine = endOfLine;\n    }\n}\n"
  },
  {
    "path": "client/src/components/editors/monaco-markdown/vscode-utils.ts",
    "content": "// @ts-nocheck\nexport function regExpLeadsToEndlessLoop(regexp: RegExp): boolean {\n  // Exit early if it's one of these special cases which are meant to match\n  // against an empty string\n  if (\n    regexp.source === \"^\" ||\n    regexp.source === \"^$\" ||\n    regexp.source === \"$\" ||\n    regexp.source === \"^\\\\s*$\"\n  ) {\n    return false\n  }\n\n  // We check against an empty string. If the regular expression doesn't advance\n  // (e.g. ends in an endless loop) it will match an empty string.\n  const match = regexp.exec(\"\")\n  return !!(match && regexp.lastIndex === 0)\n}\n\n\n"
  },
  {
    "path": "client/src/components/editors/monaco-markdown/wordHelper.ts",
    "content": "// @ts-nocheck\n/*---------------------------------------------------------------------------------------------\n *  Copyright (c) Microsoft Corporation. All rights reserved.\n *  Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n\nimport {editor} from \"monaco-editor\";\n\nexport const USUAL_WORD_SEPARATORS = '`~!@#$%^&*()-=+[{]}\\\\|;:\\'\",.<>/?';\n\n/**\n * Create a word definition regular expression based on default word separators.\n * Optionally provide allowed separators that should be included in words.\n *\n * The default would look like this:\n * /(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#\\$\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)/g\n */\nfunction createWordRegExp(allowInWords: string = ''): RegExp {\n\tlet source = '(-?\\\\d*\\\\.\\\\d\\\\w*)|([^';\n\tfor (const sep of USUAL_WORD_SEPARATORS) {\n\t\tif (allowInWords.indexOf(sep) >= 0) {\n\t\t\tcontinue;\n\t\t}\n\t\tsource += '\\\\' + sep;\n\t}\n\tsource += '\\\\s]+)';\n\treturn new RegExp(source, 'g');\n}\n\n// catches numbers (including floating numbers) in the first group, and alphanum in the second\nexport const DEFAULT_WORD_REGEXP = createWordRegExp();\n\nexport function ensureValidWordDefinition(wordDefinition?: RegExp | null): RegExp {\n\tlet result: RegExp = DEFAULT_WORD_REGEXP;\n\n\tif (wordDefinition && (wordDefinition instanceof RegExp)) {\n\t\tif (!wordDefinition.global) {\n\t\t\tlet flags = 'g';\n\t\t\tif (wordDefinition.ignoreCase) {\n\t\t\t\tflags += 'i';\n\t\t\t}\n\t\t\tif (wordDefinition.multiline) {\n\t\t\t\tflags += 'm';\n\t\t\t}\n\t\t\tif ((wordDefinition as any).unicode) {\n\t\t\t\tflags += 'u';\n\t\t\t}\n\t\t\tresult = new RegExp(wordDefinition.source, flags);\n\t\t} else {\n\t\t\tresult = wordDefinition;\n\t\t}\n\t}\n\n\tresult.lastIndex = 0;\n\n\treturn result;\n}\n\nfunction getWordAtPosFast(column: number, wordDefinition: RegExp, text: string, textOffset: number): editor.IWordAtPosition | null {\n\t// find whitespace enclosed text around column and match from there\n\n\tlet pos = column - 1 - textOffset;\n\tlet start = text.lastIndexOf(' ', pos - 1) + 1;\n\n\twordDefinition.lastIndex = start;\n\tlet match: RegExpMatchArray | null;\n\twhile (match = wordDefinition.exec(text)) {\n\t\tconst matchIndex = match.index || 0;\n\t\tif (matchIndex <= pos && wordDefinition.lastIndex >= pos) {\n\t\t\treturn {\n\t\t\t\tword: match[0],\n\t\t\t\tstartColumn: textOffset + 1 + matchIndex,\n\t\t\t\tendColumn: textOffset + 1 + wordDefinition.lastIndex\n\t\t\t};\n\t\t}\n\t}\n\n\treturn null;\n}\n\n\nfunction getWordAtPosSlow(column: number, wordDefinition: RegExp, text: string, textOffset: number): editor.IWordAtPosition | null {\n\t// matches all words starting at the beginning\n\t// of the input until it finds a match that encloses\n\t// the desired column. slow but correct\n\n\tlet pos = column - 1 - textOffset;\n\twordDefinition.lastIndex = 0;\n\n\tlet match: RegExpMatchArray | null;\n\twhile (match = wordDefinition.exec(text)) {\n\t\tconst matchIndex = match.index || 0;\n\t\tif (matchIndex > pos) {\n\t\t\t// |nW -> matched only after the pos\n\t\t\treturn null;\n\n\t\t} else if (wordDefinition.lastIndex >= pos) {\n\t\t\t// W|W -> match encloses pos\n\t\t\treturn {\n\t\t\t\tword: match[0],\n\t\t\t\tstartColumn: textOffset + 1 + matchIndex,\n\t\t\t\tendColumn: textOffset + 1 + wordDefinition.lastIndex\n\t\t\t};\n\t\t}\n\t}\n\n\treturn null;\n}\n\nexport function getWordAtText(column: number, wordDefinition: RegExp, text: string, textOffset: number): editor.IWordAtPosition | null {\n\n\t// if `words` can contain whitespace character we have to use the slow variant\n\t// otherwise we use the fast variant of finding a word\n\twordDefinition.lastIndex = 0;\n\tlet match = wordDefinition.exec(text);\n\tif (!match) {\n\t\treturn null;\n\t}\n\t// todo@joh the `match` could already be the (first) word\n\tconst ret = match[0].indexOf(' ') >= 0\n\t\t// did match a word which contains a space character -> use slow word find\n\t\t? getWordAtPosSlow(column, wordDefinition, text, textOffset)\n\t\t// sane word definition -> use fast word find\n\t\t: getWordAtPosFast(column, wordDefinition, text, textOffset);\n\n\t// both (getWordAtPosFast and getWordAtPosSlow) leave the wordDefinition-RegExp\n\t// in an undefined state and to not confuse other users of the wordDefinition\n\t// we reset the lastIndex\n\twordDefinition.lastIndex = 0;\n\n\treturn ret;\n}\n"
  },
  {
    "path": "client/src/components/editors/monaco.ts",
    "content": "import * as monaco from \"monaco-editor\"\nexport const editorOptions: monaco.editor.IStandaloneEditorConstructionOptions =\n  {\n    theme: \"hexon\",\n    language: \"markdown\",\n    folding: false,\n    readOnly: false,\n    roundedSelection: true,\n    minimap: { enabled: false },\n    occurrencesHighlight: false,\n    wordBasedSuggestions: false,\n    hideCursorInOverviewRuler: true,\n    automaticLayout: true,\n    overviewRulerBorder: false,\n    renderLineHighlight: \"none\",\n    scrollbar: {\n      horizontalScrollbarSize: 10,\n      verticalScrollbarSize: 10,\n      useShadows: false,\n    },\n    fontSize: 14,\n    lineHeight: 18,\n    wordWrap: \"on\",\n    lineNumbers: \"off\",\n    cursorBlinking: \"smooth\",\n    // TODO 支持更换字体\n    // fontFamily: \"Menlo,Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace\",\n    fontFamily:\n      \"PingFang SC,-apple-system,SF UI Text,Lucida Grande,STheiti,Microsoft YaHei,sans-serif\",\n    contextmenu: true, // 反正也很少用，关掉避免出现概率为30%的误操作bug：打开右键菜单后会立即执行鼠标指针所在的操作。\n  }\n"
  },
  {
    "path": "client/src/components/editors/prettier-formatter-ext.ts",
    "content": "import { editor, KeyCode, KeyMod } from \"monaco-editor\"\nimport { formatMarkdown } from \"./prettier-formatter\"\n\nexport class PrettierFormatterExtension {\n  constructor(private readonly id = \"prettier.formatter\") {}\n  activate(editor: editor.IStandaloneCodeEditor) {\n    editor.addAction({\n      id: this.id,\n      label: \"Format With Prettier\",\n      keybindings: [KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyF],\n      contextMenuGroupId: \"navigation\",\n      run(editor) {\n        const model = editor.getModel()\n        if (!model) return\n        const str = editor.getValue()\n        editor.executeEdits(this.id, [\n          {\n            range: model.getFullModelRange(),\n            text: formatMarkdown(str),\n          },\n        ])\n      },\n    })\n  }\n}\n"
  },
  {
    "path": "client/src/components/editors/prettier-formatter.spec.ts",
    "content": "import { formatMarkdown } from \"./prettier-formatter\"\n\ndescribe(\"format\", () => {\n  it(\"should format markdown\", () => {\n    const str = \"#  title\"\n    const res = formatMarkdown(str)\n    expect(res).toMatch(\"# title\")\n  })\n})\n"
  },
  {
    "path": "client/src/components/editors/prettier-formatter.ts",
    "content": "import prettier from \"prettier/standalone\"\nimport markdown from \"prettier/parser-markdown\"\nimport typescript from \"prettier/parser-typescript\"\nimport html from \"prettier/parser-html\"\nimport yaml from \"prettier/parser-yaml\"\nimport postcss from \"prettier/parser-postcss\"\n\nexport function formatMarkdown(value: string) {\n  return prettier.format(value, {\n    parser: \"markdown\",\n    plugins: [markdown, typescript, html, yaml, postcss],\n    semi: false,\n  })\n}\n"
  },
  {
    "path": "client/src/components/editors/theme.ts",
    "content": "import * as monaco from \"monaco-editor\"\nimport { computed, watch } from \"vue\"\nimport { useThemeVars } from \"@/ui/theme\"\n\nfunction removeHash(str: string) {\n  return str.slice(1)\n}\n\nexport function useMonacoTheme() {\n  const vars = useThemeVars()\n  const custom = computed(() => {\n    return {\n      base: (vars.value.isDark\n        ? \"vs-dark\"\n        : \"vs\") as monaco.editor.BuiltinTheme,\n      inherit: true,\n      rules: [\n        {\n          foreground: removeHash(vars.value.textColorSecondary),\n          token: \"comment.content.md\",\n        },\n        {\n          foreground: removeHash(vars.value.textColorSecondary),\n          token: \"comment.md\",\n        },\n        {\n          foreground: removeHash(vars.value.textColorPrimary),\n          token: \"string.md\",\n        },\n        {\n          // 链接\n          foreground: removeHash(vars.value.colorPrimary),\n          token: \"string.link.md\",\n          fontStyle: \"blod\",\n        },\n        {\n          // 标题\n          foreground: removeHash(vars.value.colorPrimary),\n          token: \"keyword.md\",\n        },\n        {\n          // 标题\n          foreground: removeHash(vars.value.colorPrimary),\n          token: \"keyword\",\n        },\n        {\n          foreground: removeHash(vars.value.colorPrimary),\n          fontStyle: \"bold\",\n          token: \"variable.md\",\n        },\n      ],\n      colors: {\n        \"editor.foreground\": vars.value.textColorPrimary,\n        \"editor.background\": vars.value.backgroundColorPrimary,\n        \"editorCursor.foreground\": vars.value.colorPrimary,\n        \"editor.selectionBackground\": vars.value.isDark\n          ? \"#ffffff35\"\n          : \"#00000015\",\n      },\n    }\n  })\n  const update = () => {\n    monaco.editor.defineTheme(\"hexon\", custom.value)\n  }\n  watch(\n    () => custom.value,\n    () => {\n      update()\n    },\n    { immediate: true, deep: true }\n  )\n}\n"
  },
  {
    "path": "client/src/components/editors/workers.ts",
    "content": "import editorWorker from \"monaco-editor/esm/vs/editor/editor.worker?worker\"\nimport jsonWorker from \"monaco-editor/esm/vs/language/json/json.worker?worker\"\nimport cssWorker from \"monaco-editor/esm/vs/language/css/css.worker?worker\"\nimport htmlWorker from \"monaco-editor/esm/vs/language/html/html.worker?worker\"\nimport tsWorker from \"monaco-editor/esm/vs/language/typescript/ts.worker?worker\"\n\ndeclare global {\n  interface globalThis {\n    MonacoEnvironment: any\n  }\n  interface Window {\n    MonacoEnvironment: any\n  }\n}\n\nself.MonacoEnvironment = {\n  getWorker(_: string, label: string) {\n    if (label === \"json\") {\n      return new jsonWorker()\n    }\n    if (label === \"css\" || label === \"scss\" || label === \"less\") {\n      return new cssWorker()\n    }\n    if (label === \"html\" || label === \"handlebars\" || label === \"razor\") {\n      return new htmlWorker()\n    }\n    if (label === \"typescript\" || label === \"javascript\") {\n      return new tsWorker()\n    }\n    return new editorWorker()\n  },\n}\n"
  },
  {
    "path": "client/src/components/forms/HChangePasswordForm.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed, ref } from \"vue\"\nimport { HButton } from \"@/ui/button/\"\nimport { HIcon, HIconName } from \"@/ui/icon\"\nimport { HInput } from \"@/ui/input\"\nimport { HPopover } from \"@/ui/popover\"\nimport { IChangePasswordFormPayload } from \"./interface\"\n\nconst emits = defineEmits<{\n  (e: \"change-password\", payload: IChangePasswordFormPayload): void\n}>()\nconst oldPassword = ref(\"\")\nconst newPassword = ref(\"\")\nconst verifyPassword = ref(\"\")\nconst isSame = computed(() => newPassword.value === verifyPassword.value)\nconst error = computed(() => {\n  if (!verifyPassword.value) return \"\"\n  return !isSame.value ? \"两次密码不同\" : \"\"\n})\nconst disabled = computed(\n  () =>\n    !!error.value ||\n    !oldPassword.value ||\n    !newPassword.value ||\n    !verifyPassword.value\n)\nconst onChange = () =>\n  emits(\"change-password\", {\n    oldPassword: oldPassword.value,\n    newPassword: newPassword.value,\n  })\n</script>\n<template>\n  <div>\n    <HInput\n      attr-type=\"password\"\n      placeholder=\"旧密码\"\n      type=\"secondary\"\n      v-model=\"oldPassword\"\n      error=\"\"\n    >\n      <template #prefix>\n        <HIcon :name=\"HIconName.Lock\" />\n      </template>\n    </HInput>\n    <HInput\n      attr-type=\"password\"\n      placeholder=\"新密码\"\n      type=\"secondary\"\n      v-model=\"newPassword\"\n      :error=\"error\"\n    >\n      <template #prefix>\n        <HIcon :name=\"HIconName.Lock\" />\n      </template>\n    </HInput>\n    <HInput\n      attr-type=\"password\"\n      placeholder=\"重复新密码\"\n      type=\"secondary\"\n      v-model=\"verifyPassword\"\n      :error=\"error\"\n    >\n      <template #prefix>\n        <HIcon :name=\"HIconName.Lock\" />\n      </template>\n    </HInput>\n    <div class=\"mt-2\">\n      <HButton class=\"mr-2\" :disabled=\"disabled\" @click=\"onChange\">\n        更改密码\n      </HButton>\n      <HButton inverted>\n        忘记密码\n        <HPopover position=\"bottom-left\">\n          <div class=\"text-xs max-w-sm\">\n            运行\n            <span class=\"font-mono\">pnpm resetpwd</span>\n            重置密码\n          </div>\n        </HPopover>\n      </HButton>\n    </div>\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/components/forms/HChangeUsernameForm.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed, ref } from \"vue\"\nimport { HButton } from \"@/ui/button/\"\nimport { HIcon, HIconName } from \"@/ui/icon\"\nimport { HInput } from \"@/ui/input\"\n\nconst emits = defineEmits<{\n  (e: \"change-username\", username: string): void\n}>()\nconst username = ref(\"\")\nconst disabled = computed(() => !username.value)\nconst onChange = () => emits(\"change-username\", username.value)\n</script>\n<template>\n  <div class=\"flex\">\n    <HInput\n      class=\"flex-1\"\n      placeholder=\"旧密码\"\n      type=\"secondary\"\n      v-model=\"username\"\n    >\n      <template #prefix>\n        <HIcon :name=\"HIconName.Contact\" />\n      </template>\n    </HInput>\n    <HButton class=\"ml-2\" :disabled=\"disabled\" @click=\"onChange\">保存</HButton>\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/components/forms/HCreateArticleForm.vue",
    "content": "<script setup lang=\"ts\">\nimport type { HInputRef } from \"@/ui/input\"\nimport { computed, onMounted, ref, watch } from \"vue\"\nimport { HButton } from \"@/ui/button\"\nimport { HCheckbox } from \"@/ui/checkbox\"\nimport { HInput } from \"@/ui/input\"\nimport { HToggle } from \"@/ui/toggle\"\n\nconst props = withDefaults(\n  defineProps<{\n    advanced?: boolean\n  }>(),\n  {\n    advanced: false,\n  }\n)\nconst emits = defineEmits<{\n  (e: \"update:advanced\", value: boolean): void\n  (e: \"on-cancel\"): void\n  (\n    e: \"on-create\",\n    value: {\n      title: string\n      slug?: string\n      layout?: string\n      path?: string\n      replace?: boolean\n    }\n  ): void\n}>()\nconst advanced = ref(props.advanced)\nwatch(\n  () => props.advanced,\n  (v) => {\n    advanced.value = v\n  }\n)\nwatch(\n  () => advanced.value,\n  (v) => {\n    emits(\"update:advanced\", v)\n  }\n)\n\nconst title = ref(\"\")\nconst slug = ref(\"\")\nconst layout = ref(\"\")\nconst path = ref(\"\")\nconst replace = ref(false)\nconst page = computed(() => layout.value === \"page\")\nconst draft = computed(() => layout.value === \"draft\")\nconst disabled = computed(() => !title.value)\nconst width = computed(() => (advanced.value ? \"70px\" : \"40px\"))\nconst onCreate = () => {\n  if (!title.value) return\n  emits(\"on-create\", {\n    title: title.value,\n    slug: slug.value,\n    layout: layout.value,\n    path: path.value,\n    replace: replace.value,\n  })\n}\nconst onCancel = () => {\n  emits(\"on-cancel\")\n}\nconst text = computed(() => {\n  if (page.value) return \"页面\"\n  if (draft.value) return \"草稿\"\n  return \"文章\"\n})\nconst titleInputRef = ref<HInputRef | null>(null)\nonMounted(() => {\n  titleInputRef.value?.focus()\n})\n</script>\n<template>\n  <div class=\"h-create-article-form w-96 select-none\">\n    <h2 class=\"mt-2 mb-8 text-xl font-bold text-center\">新建{{ text }}</h2>\n    <form @submit.prevent=\"onCreate\">\n      <div\n        class=\"grid gap-4 grid-rows-1\"\n        style=\"grid-template-columns: [labels] auto [controls] 1fr\"\n      >\n        <div\n          :style=\"{ width }\"\n          class=\"label text-right\"\n          style=\"grid-column: labels\"\n        >\n          标题\n        </div>\n        <div style=\"grid-column: controls\">\n          <HInput\n            v-model=\"title\"\n            :error=\"''\"\n            ref=\"titleInputRef\"\n            type=\"secondary\"\n          />\n        </div>\n      </div>\n      <template v-if=\"!advanced\">\n        <div\n          class=\"grid gap-4 grid-rows-1\"\n          style=\"grid-template-columns: [labels] auto [controls] 1fr\"\n        >\n          <div\n            :style=\"{ width }\"\n            class=\"label text-right\"\n            style=\"grid-column: labels\"\n          ></div>\n          <div style=\"grid-column: controls\" class=\"pl-2 flex justify-between\">\n            <div>\n              <HCheckbox\n                :checked=\"page\"\n                @update:checked=\"(v) => (v ? (layout = 'page') : (layout = ''))\"\n                class=\"mr-4\"\n              >\n                页面\n              </HCheckbox>\n              <HCheckbox\n                :checked=\"draft\"\n                @update:checked=\"\n                  (v) => (v ? (layout = 'draft') : (layout = ''))\n                \"\n                class=\"mr-4\"\n              >\n                草稿\n              </HCheckbox>\n            </div>\n            <HButton\n              type=\"primary\"\n              size=\"small\"\n              attr-type=\"button\"\n              inverted\n              @click=\"advanced = true\"\n            >\n              高级模式\n            </HButton>\n          </div>\n        </div>\n      </template>\n      <template v-else>\n        <div\n          class=\"grid gap-4 grid-rows-1\"\n          style=\"grid-template-columns: [labels] auto [controls] 1fr\"\n        >\n          <div\n            :style=\"{ width }\"\n            class=\"label text-right\"\n            style=\"grid-column: labels\"\n          >\n            layout\n          </div>\n          <div style=\"grid-column: controls\">\n            <HInput v-model=\"layout\" :error=\"''\" type=\"secondary\" />\n          </div>\n        </div>\n        <div\n          class=\"grid gap-4 grid-rows-1\"\n          style=\"grid-template-columns: [labels] auto [controls] 1fr\"\n        >\n          <div\n            :style=\"{ width }\"\n            class=\"label text-right\"\n            style=\"grid-column: labels\"\n          >\n            slug\n          </div>\n          <div style=\"grid-column: controls\">\n            <HInput v-model=\"slug\" :error=\"''\" type=\"secondary\" />\n          </div>\n        </div>\n        <div\n          class=\"grid gap-4 grid-rows-1\"\n          style=\"grid-template-columns: [labels] auto [controls] 1fr\"\n        >\n          <div\n            :style=\"{ width }\"\n            class=\"label text-right\"\n            style=\"grid-column: labels\"\n          >\n            path\n          </div>\n          <div style=\"grid-column: controls\">\n            <HInput v-model=\"path\" :error=\"''\" type=\"secondary\" />\n          </div>\n        </div>\n        <div\n          class=\"grid gap-4 grid-rows-1\"\n          style=\"grid-template-columns: [labels] auto [controls] 1fr\"\n        >\n          <div\n            :style=\"{ width }\"\n            class=\"label text-right\"\n            style=\"grid-column: labels\"\n          >\n            replace\n          </div>\n          <div style=\"grid-column: controls\" class=\"flex justify-between\">\n            <HToggle v-model:active=\"replace\" />\n            <HButton\n              type=\"primary\"\n              size=\"small\"\n              attr-type=\"button\"\n              inverted\n              @click=\"advanced = false\"\n            >\n              简洁模式\n            </HButton>\n          </div>\n        </div>\n      </template>\n      <div class=\"flex justify-end mt-6\">\n        <HButton\n          type=\"common\"\n          size=\"small\"\n          class=\"mr-2\"\n          inverted\n          @click=\"onCancel\"\n          attr-type=\"button\"\n        >\n          取消\n        </HButton>\n        <HButton size=\"small\" attr-type=\"submit\" :disabled=\"disabled\">\n          创建\n        </HButton>\n      </div>\n    </form>\n  </div>\n</template>\n<style lang=\"less\" scoped>\n.h-create-article-form {\n  .label {\n    line-height: 30px;\n  }\n}\n</style>\n"
  },
  {
    "path": "client/src/components/forms/HLoginForm.vue",
    "content": "<script setup lang=\"ts\">\nimport { ref } from \"vue\"\nimport logo from \"~/assets/logo.svg\"\nimport { HButton } from \"@/ui/button\"\nimport { HIconName } from \"@/ui/icon\"\nimport { HIcon } from \"@/ui/icon\"\nimport { HInput } from \"@/ui/input\"\nimport { HPopover } from \"@/ui/popover\"\nimport HImage from \"@/HImage.vue\"\nimport { useThemeVars } from \"@/ui/theme\"\n\nconst emits = defineEmits<{\n  (e: \"on-submit\", payload: { username: string; password: string }): void\n  (e: \"on-forget\"): void\n  (e: \"on-help\"): void\n}>()\nconst username = ref(\"\")\nconst password = ref(\"\")\nconst onSubmit = () => {\n  emits(\"on-submit\", { username: username.value, password: password.value })\n}\nconst onForget = () => {\n  emits(\"on-forget\")\n}\nconst onHelp = () => {\n  emits(\"on-help\")\n}\nconst vars = useThemeVars()\n</script>\n<template>\n  <form @submit.prevent=\"onSubmit\" class=\"flex flex-col items-center w-60\">\n    <HImage :src=\"logo\" alt=\"\" size=\"100px\" />\n    <div class=\"text-lg mt-4 select-none\">登录到 Hexon</div>\n    <HInput placeholder=\"用户名\" v-model=\"username\" class=\"mt-4\" clearable>\n      <template v-slot:prefix>\n        <HIcon :name=\"HIconName.Contact\" />\n      </template>\n    </HInput>\n    <HInput\n      placeholder=\"密码\"\n      v-model=\"password\"\n      class=\"mt-4\"\n      attr-type=\"password\"\n      clearable\n    >\n      <template v-slot:prefix>\n        <HIcon :name=\"HIconName.Keyboard12Key\" />\n      </template>\n    </HInput>\n    <HButton class=\"mt-4\" block>登录</HButton>\n    <div class=\"mt-4 flex w-full\">\n      <HButton\n        type=\"common\"\n        inverted\n        class=\"flex-1\"\n        @click=\"onForget\"\n        attr-type=\"button\"\n      >\n        忘记密码\n        <HPopover position=\"bottom-left\">\n          <div class=\"text-xs max-w-sm\">\n            运行\n            <span class=\"font-mono\">pnpm resetpwd</span>\n            重置密码\n          </div>\n        </HPopover>\n      </HButton>\n      <HButton\n        type=\"common\"\n        inverted\n        class=\"flex-1 ml-2\"\n        @click=\"onHelp\"\n        attr-type=\"button\"\n      >\n        帮助\n      </HButton>\n    </div>\n  </form>\n</template>\n"
  },
  {
    "path": "client/src/components/forms/demo/change-password.demo.vue",
    "content": "<script setup lang=\"ts\">\nimport { Ref, ref } from \"vue\"\nimport DemoPad from \"@/DemoPad.vue\"\nimport HChangePasswordForm from \"../HChangePasswordForm.vue\"\nimport { IChangePasswordFormPayload } from \"../interface\"\nconst res: Ref<any> = ref()\nconst onChange = (payload: IChangePasswordFormPayload) => {\n  res.value = payload\n}\n</script>\n<template>\n  <DemoPad>\n    <HChangePasswordForm @change-password=\"onChange\" />\n    <div>\n      {{ res }}\n    </div>\n  </DemoPad>\n</template>\n"
  },
  {
    "path": "client/src/components/forms/demo/create-article.demo.vue",
    "content": "<script setup lang=\"ts\">\nimport DemoPad from \"@/DemoPad.vue\"\nimport HCreateArticleForm from \"../HCreateArticleForm.vue\"\n</script>\n<template>\n  <DemoPad>\n    <HCreateArticleForm />\n  </DemoPad>\n</template>\n"
  },
  {
    "path": "client/src/components/forms/interface.ts",
    "content": "export interface IChangePasswordFormPayload {\n  oldPassword: string\n  newPassword: string\n}\n"
  },
  {
    "path": "client/src/components/modals/HCreateArticleModal.vue",
    "content": "<script setup lang=\"ts\">\nimport { ref } from \"vue\"\nimport { useDispatcher } from \"~/store/dispatcher\"\nimport HCreateArticleForm from \"@/forms/HCreateArticleForm.vue\"\nimport { useTheme } from \"@/ui/theme\"\nimport { HBaseModal } from \"@/ui/modal\"\n\nconst props = defineProps<{\n  close: () => void\n}>()\nconst dispatcher = useDispatcher()\nconst advanced = ref(false)\nconst onCreate = (value: {\n  title: string\n  slug?: string\n  layout?: string\n  path?: string\n  replace?: boolean\n}) => {\n  const { title, ...options } = value\n  dispatcher.createArticle(title, options)\n  props.close()\n}\nconst theme = useTheme(\"unknown\")\n</script>\n<template>\n  <HBaseModal :persistent=\"advanced\" @on-close=\"props.close\">\n    <div\n      class=\"py-2 px-4 rounded-md\"\n      :style=\"{\n        backgroundColor: theme.backgroundColorPrimary,\n      }\"\n    >\n      <HCreateArticleForm\n        @on-create=\"onCreate\"\n        @on-cancel=\"props.close\"\n        v-model:advanced=\"advanced\"\n      />\n    </div>\n  </HBaseModal>\n</template>\n"
  },
  {
    "path": "client/src/components/modals/HHexoInitFailModal.vue",
    "content": "<script setup lang=\"ts\">\nimport { HIcon, HIconName } from \"@/ui/icon\"\nimport { useThemeVars } from \"@/ui/theme\"\n\ndefineProps<{\n  text: string\n}>()\nconst vars = useThemeVars()\n</script>\n<template>\n  <div\n    class=\"p-4 rounded-md relative flex flex-col\"\n    style=\"\n      width: 960px;\n      max-width: calc(100vw - 100px) !important;\n      height: 640px;\n      max-height: calc(100vh - 100px) !important;\n      letter-spacing: 0.02em;\n    \"\n    :style=\"{\n      backgroundColor: vars.backgroundColorPrimary,\n    }\"\n  >\n    <div class=\"text-md mb-4 font-bold flex items-center\">\n      <HIcon :name=\"HIconName.Error\" class=\"mr-2\" />\n      <span>你的 hexo 报错了</span>\n    </div>\n    <pre\n      :style=\"{\n        color: vars.colorError,\n      }\"\n      class=\"flex-1 font-mono font-bold p-4 rounded-md overflow-auto bg-black\"\n      >{{ text }}</pre\n    >\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/components/modals/HSettingsModal.vue",
    "content": "<script setup lang=\"ts\">\nimport { SettingsView } from \"~/views/settings\"\nimport { HBaseModal } from \"@/ui/modal\"\nconst props = defineProps<{\n  close: () => void\n}>()\n</script>\n<template>\n  <HBaseModal @on-close=\"props.close\">\n    <!-- FIXME 妥善处理 Teleport 和 Provider 们 -->\n    <div class=\"modal-panel\">\n      <SettingsView />\n    </div>\n  </HBaseModal>\n</template>\n"
  },
  {
    "path": "client/src/components/modals/hexo-init-fail-modal.ts",
    "content": "import { defineComponent, h } from \"vue\"\nimport HHexoInitFailModal from \"@/modals/HHexoInitFailModal.vue\"\nimport HBaseModal from \"@/ui/modal/src/HBaseModal.vue\"\nimport modal from \"~/plugins/modal\"\n\nexport default function showHexoInitFailModal(text: string) {\n  modal.create(\n    defineComponent({\n      name: \"HErrorInfo\",\n      components: {\n        HHexoInitFailModal,\n        HBaseModal,\n      },\n      props: {\n        close: Function,\n      },\n      render() {\n        return h(\n          HBaseModal,\n          {\n            onOnClose: this.close,\n          },\n          () => h(HHexoInitFailModal, { text })\n        )\n      },\n    })\n  )\n}\n"
  },
  {
    "path": "client/src/components/others/HDialog.vue",
    "content": "<script setup lang=\"ts\">\nimport { ref } from \"vue\"\nimport anime from \"animejs\"\nimport { DialogActionType, IDialog } from \"~/lib/dialog\"\nimport { HButtonType } from \"@/ui/button/src/interface\"\nimport HButton from \"@/ui/button/src/HButton.vue\"\nimport { useThemeVars } from \"@/ui/theme\"\nimport { HBaseModal } from \"@/ui/modal\"\nconst props = defineProps<{ data: IDialog }>()\nfunction transformType(type: DialogActionType): HButtonType {\n  switch (type) {\n    case \"info\":\n      return \"primary\"\n    default:\n      return type\n  }\n}\nconst onClose = () => props.data.close()\nconst vars = useThemeVars()\n</script>\n<template>\n  <HBaseModal @on-close=\"onClose\" style=\"z-index: 1\">\n    <div\n      class=\"rounded-md w-96\"\n      :style=\"{ backgroundColor: vars.backgroundColorTertiary }\"\n    >\n      <h2 class=\"p-4 text-xl font-bold\">{{ data.title }}</h2>\n      <div\n        class=\"pb-4 px-4 text-sm\"\n        :style=\"{ color: vars.textColorSecondary }\"\n      >\n        {{ data.content }}\n      </div>\n      <div class=\"p-2 flex justify-end\">\n        <HButton\n          class=\"ml-2\"\n          v-for=\"item in data.actions\"\n          :type=\"transformType(item.type)\"\n          :key=\"item.label\"\n          size=\"small\"\n          @click=\"item.run\"\n        >\n          {{ item.label }}\n        </HButton>\n      </div>\n    </div>\n  </HBaseModal>\n</template>\n"
  },
  {
    "path": "client/src/components/others/HNotificationItem.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed } from \"vue\"\nimport { INotificationItem, INotificationType } from \"~/lib/notification\"\nimport { HIcon, HIconName } from \"@/ui/icon\"\nimport { HButton, HButtonType } from \"@/ui/button\"\nimport { useThemeVars } from \"@/ui/theme\"\n\nconst props = defineProps<{\n  data: INotificationItem\n}>()\nconst transformType = (type: INotificationType): HButtonType => {\n  if (type === \"info\") return \"primary\"\n  return type\n}\nconst vars = useThemeVars()\nconst type = computed(() => transformType(props.data.type))\nconst closeable = computed(\n  () => props.data.permanent && !props.data.actions.length\n)\nconst styleVars = computed(() => {\n  let main = vars.value.colorPrimary\n  switch (type.value) {\n    case \"success\":\n      main = vars.value.colorSuccess\n      break\n    case \"warning\":\n      main = vars.value.colorWarning\n      break\n    case \"error\":\n      main = vars.value.colorError\n      break\n    default:\n      main = vars.value.colorPrimary\n      break\n  }\n  return {\n    bgColor: main,\n    color: vars.value.textColorWhite,\n    subColor: vars.value.textColorWhite,\n  }\n})\nconst onClose = () => props.data.close()\nconst onClick = () => props.data.onClick?.()\n</script>\n<template>\n  <div\n    class=\"h-notification-item w-72 rounded-md px-4 py-2 select-none shadow-lg flex-shrink-0 mt-1\"\n    :class=\"{ 'cursor-pointer': !!data.onClick }\"\n    @click=\"onClick\"\n  >\n    <div class=\"flex items-center\">\n      <div class=\"flex-1\">\n        <div class=\"title text-sm font-bold\">{{ data.title }}</div>\n        <div class=\"desc text-sm\" v-if=\"data.desc\">{{ data.desc }}</div>\n      </div>\n      <HButton\n        class=\"ml-2\"\n        :type=\"type\"\n        round\n        @click.prevent=\"onClose\"\n        v-if=\"closeable\"\n      >\n        <HIcon :name=\"HIconName.Cancel\" />\n      </HButton>\n    </div>\n    <div class=\"flex justify-end\" v-if=\"data.actions\">\n      <HButton\n        v-for=\"action in data.actions\"\n        @click=\"action.run\"\n        :type=\"type\"\n        size=\"small\"\n      >\n        {{ action.label }}\n      </HButton>\n    </div>\n  </div>\n</template>\n<style lang=\"less\" scoped>\n.h-notification-item {\n  background-color: v-bind(\"styleVars.bgColor\");\n  .title {\n    @apply font-bold;\n    color: v-bind(\"styleVars.color\");\n  }\n  .desc {\n    color: v-bind(\"styleVars.subColor\");\n  }\n}\n</style>\n"
  },
  {
    "path": "client/src/components/transitions/FadeScaleTransitionGroup.vue",
    "content": "<script setup lang=\"ts\">\nimport anime from \"animejs\"\n\nconst props = withDefaults(defineProps<{ duration?: number }>(), {\n  duration: 100,\n})\n\nasync function enter(el: Element, done: () => void) {\n  const a1 = anime({\n    targets: el,\n    opacity: 1,\n    duration: props.duration,\n    easing: \"easeInOutSine\",\n  }).finished\n  const child = el.children[0].children[0]!\n  const a2 = anime({\n    targets: child,\n    scale: 1,\n    duration: props.duration,\n    easing: \"easeInOutSine\",\n  }).finished\n  Promise.all([a1, a2]).then(done)\n}\nfunction beforeEnter(el: Element) {\n  anime.set(el, {\n    opacity: 0,\n  })\n  const child = el.children[0].children[0]!\n  anime.set(child, {\n    scale: 0.95,\n  })\n}\nfunction leave(el: Element, done: () => void) {\n  const a1 = anime({\n    targets: el,\n    opacity: 0,\n    duration: props.duration,\n    easing: \"easeInOutSine\",\n  }).finished\n  const child = el.children[0].children[0]!\n  const a2 = anime({\n    targets: child,\n    scale: 0.95,\n    duration: props.duration,\n    easing: \"easeInOutSine\",\n  }).finished\n  Promise.all([a1, a2]).then(done)\n}\n</script>\n\n<template>\n  <TransitionGroup @enter=\"enter\" @before-enter=\"beforeEnter\" @leave=\"leave\">\n    <slot></slot>\n  </TransitionGroup>\n</template>\n"
  },
  {
    "path": "client/src/components/transitions/FadeTransition.vue",
    "content": "<script setup lang=\"ts\">\nimport anime from \"animejs\"\n\nconst props = withDefaults(defineProps<{ duration?: number }>(), {\n  duration: 100,\n})\n\nfunction enter(el: Element, done: () => void) {\n  anime({\n    targets: el,\n    opacity: 1,\n    duration: props.duration,\n    easing: \"easeInOutSine\",\n    complete: done,\n  })\n}\nfunction beforeEnter(el: Element) {\n  anime.set(el, {\n    opacity: 0,\n  })\n}\nfunction leave(el: Element, done: () => void) {\n  anime({\n    targets: el,\n    opacity: 0,\n    duration: props.duration,\n    easing: \"easeInOutSine\",\n    complete: done,\n  })\n}\n</script>\n\n<template>\n  <Transition @enter=\"enter\" @before-enter=\"beforeEnter\" @leave=\"leave\">\n    <slot></slot>\n  </Transition>\n</template>\n"
  },
  {
    "path": "client/src/components/transitions/FadeTransitionGroup.vue",
    "content": "<script setup lang=\"ts\">\nimport anime from \"animejs\"\n\nconst props = withDefaults(defineProps<{ duration?: number }>(), {\n  duration: 100,\n})\n\nfunction enter(el: Element, done: () => void) {\n  anime({\n    targets: el,\n    opacity: 1,\n    duration: props.duration,\n    easing: \"easeInOutSine\",\n    complete: done,\n  })\n}\nfunction beforeEnter(el: Element) {\n  anime.set(el, {\n    opacity: 0,\n  })\n}\nfunction leave(el: Element, done: () => void) {\n  anime({\n    targets: el,\n    opacity: 0,\n    duration: props.duration,\n    easing: \"easeInOutSine\",\n    complete: done,\n  })\n}\n</script>\n\n<template>\n  <TransitionGroup @enter=\"enter\" @before-enter=\"beforeEnter\" @leave=\"leave\">\n    <slot></slot>\n  </TransitionGroup>\n</template>\n"
  },
  {
    "path": "client/src/components/transitions/TranslateDownTransitionGroup.vue",
    "content": "<script setup lang=\"ts\">\nimport anime from \"animejs\"\n\nconst props = withDefaults(defineProps<{ duration?: number }>(), {\n  duration: 500,\n})\n\nfunction enter(el: Element, done: () => void) {\n  anime({\n    targets: el,\n    opacity: 1,\n    translateY: 0,\n    duration: props.duration,\n    easing: \"easeInOutSine\",\n    complete: done,\n  })\n}\nfunction beforeEnter(el: Element) {\n  anime.set(el, {\n    opacity: 0,\n    translateY: -30,\n  })\n}\nfunction leave(el: Element, done: () => void) {\n  anime({\n    targets: el,\n    opacity: 0,\n    duration: props.duration,\n    easing: \"easeInOutSine\",\n    complete: done,\n    translateY: 30,\n  })\n}\n</script>\n\n<template>\n  <TransitionGroup @enter=\"enter\" @before-enter=\"beforeEnter\" @leave=\"leave\">\n    <slot></slot>\n  </TransitionGroup>\n</template>\n"
  },
  {
    "path": "client/src/components/transitions/TranslateTransitionGroup.vue",
    "content": "<script setup lang=\"ts\">\nimport anime from \"animejs\"\nimport { TranslateTransitionDirection } from \"./interface\"\n\nconst props = withDefaults(\n  defineProps<{\n    direction: TranslateTransitionDirection\n    duration?: number\n  }>(),\n  {\n    duration: 100,\n  }\n)\n\nconst map: {\n  [key in TranslateTransitionDirection]: {\n    beforeEnter: any\n    leave: any\n  }\n} = {\n  up: {\n    beforeEnter: {\n      translateY: 30,\n    },\n    leave: {\n      translateY: -30,\n    },\n  },\n  down: {\n    beforeEnter: {\n      translateY: -30,\n    },\n    leave: {\n      translateY: 30,\n    },\n  },\n  left: {\n    beforeEnter: {\n      translateX: 30,\n    },\n    leave: {\n      translateX: -30,\n    },\n  },\n  right: {\n    beforeEnter: {\n      translateX: -30,\n    },\n    leave: {\n      translateX: 30,\n    },\n  },\n}\n\nfunction enter(el: Element, done: () => void) {\n  anime({\n    targets: el,\n    opacity: 1,\n    translateY: 0,\n    translateX: 0,\n    duration: props.duration,\n    easing: \"easeInOutSine\",\n    complete: done,\n  })\n}\nfunction beforeEnter(el: Element) {\n  anime.set(el, {\n    opacity: 0,\n    ...map[props.direction].beforeEnter,\n  })\n}\nfunction leave(el: Element, done: () => void) {\n  anime({\n    targets: el,\n    opacity: 0,\n    duration: props.duration,\n    easing: \"easeInOutSine\",\n    complete: done,\n    ...map[props.direction].leave,\n  })\n}\n</script>\n\n<template>\n  <TransitionGroup @enter=\"enter\" @before-enter=\"beforeEnter\" @leave=\"leave\">\n    <slot></slot>\n  </TransitionGroup>\n</template>\n"
  },
  {
    "path": "client/src/components/transitions/interface.ts",
    "content": "export type TranslateTransitionDirection = \"up\" | \"down\" | \"left\" | \"right\"\n"
  },
  {
    "path": "client/src/components/types.ts",
    "content": "export type HNavListActionPayload =\n  | { type: \"deploy\" }\n  | { type: \"generate\" }\n  | { type: \"clean\" }\n  | { type: \"gitsave\" }\n  | { type: \"gitsync\" }\n  | { type: \"all\" }\n  | { type: \"post\" }\n  | { type: \"page\" }\n  | { type: \"draft\" }\n  | { type: \"category\"; slug: string }\n  | { type: \"tag\"; slug: string }\n\nexport type HViewerToolbarActionPayload =\n  | { type: \"edit\" }\n  | { type: \"delete\" }\n  | { type: \"publish\" }\n  | { type: \"code\" }\n\nexport type HEditorToolbarActionPayload =\n  | { type: \"back\" }\n  | { type: \"save\" }\n  | { type: \"delete\" }\n  | { type: \"publish\" }\n  | { type: \"code\" }\n\nexport interface IFormData {\n  username: string\n  password: string\n  password2: string\n  secret: string\n  expiresIn: string\n  refreshableIn: string\n}\n"
  },
  {
    "path": "client/src/components/ui/badge/demo/default.demo.vue",
    "content": "<script setup lang=\"ts\">\nimport { HBadge } from \"../\"\nimport { HIcon, HIconName } from \"@/ui/icon\"\nimport { useThemeVars } from \"../../theme\"\nconst vars = useThemeVars()\n</script>\n<template>\n  <h2>基础</h2>\n\n  <HBadge>1</HBadge>\n  <HBadge>2</HBadge>\n  <HBadge>3</HBadge>\n  <HBadge>HBadge</HBadge>\n  <HBadge>HBadge</HBadge>\n  <HBadge>HBadge</HBadge>\n\n  <h2>可点击</h2>\n\n  <HBadge clickable>HBadge</HBadge>\n  <HBadge clickable>HBadge</HBadge>\n  <HBadge clickable>HBadge</HBadge>\n\n  <h2>和图标一起</h2>\n\n  <HBadge clickable>\n    <HIcon :name=\"HIconName.Search\" />\n    搜索\n  </HBadge>\n  <HBadge clickable>\n    <HIcon :name=\"HIconName.Add\" />\n    添加\n  </HBadge>\n  <HBadge clickable>\n    <HIcon :name=\"HIconName.Edit\" />\n    编辑\n  </HBadge>\n  <HBadge clickable>\n    <HIcon :name=\"HIconName.Tag\" />\n    标签\n  </HBadge>\n\n  <HBadge clickable><HIcon :name=\"HIconName.Search\" /></HBadge>\n  <HBadge clickable><HIcon :name=\"HIconName.Add\" /></HBadge>\n  <HBadge clickable><HIcon :name=\"HIconName.Edit\" /></HBadge>\n  <HBadge clickable><HIcon :name=\"HIconName.Tag\" /></HBadge>\n\n  <h2>不同颜色</h2>\n\n  <HBadge :bgColor=\"vars.colorError\" clickable>\n    <HIcon :name=\"HIconName.Delete\" />\n    删除\n  </HBadge>\n  <HBadge :bgColor=\"vars.colorWarning\" clickable>\n    <HIcon :name=\"HIconName.Warning\" />\n    警告\n  </HBadge>\n  <HBadge :bgColor=\"vars.colorSuccess\" clickable>\n    <HIcon :name=\"HIconName.Accept\" />\n    确定\n  </HBadge>\n\n  <h2>圆角</h2>\n\n  <HBadge rounded>1</HBadge>\n  <HBadge rounded>2</HBadge>\n  <HBadge rounded>3</HBadge>\n  <HBadge rounded>HBadge</HBadge>\n  <HBadge rounded clickable><HIcon :name=\"HIconName.Search\" /></HBadge>\n</template>\n<style>\n.h-badge {\n  @apply mr-1;\n}\n</style>\n"
  },
  {
    "path": "client/src/components/ui/badge/index.ts",
    "content": "export { default as HBadge } from \"./src/HBadge.vue\"\n"
  },
  {
    "path": "client/src/components/ui/badge/src/HBadge.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed, toRefs } from \"vue\"\nimport { createClassNames } from \"~/utils/create-classnames\"\nimport { useThemeVars } from \"@/ui/theme\"\n\nconst props = withDefaults(\n  defineProps<{\n    color?: string\n    bgColor?: string\n    clickable?: boolean\n    rounded?: boolean\n  }>(),\n  { clickable: false, rounded: false }\n)\nconst vars = useThemeVars()\nconst { color, bgColor } = toRefs(props)\nconst styles = computed(() => ({\n  color: color?.value ?? vars.value.textColorWhite,\n  backgroundColor: bgColor?.value ?? vars.value.colorPrimary,\n}))\nconst { classNames } = createClassNames(\"h-badge\", (add, m) => {\n  props.clickable && add(m(\"clickable\"))\n  props.rounded && add(m(\"rounded\"))\n})\n</script>\n<template>\n  <span\n    class=\"px-1 py-0.5 text-xs select-none inline-block\"\n    :class=\"classNames\"\n    :style=\"styles\"\n  >\n    <slot></slot>\n  </span>\n</template>\n<style lang=\"less\" scoped>\n.h-badge {\n  line-height: 1;\n  @apply rounded;\n  &-clickable {\n    @apply cursor-pointer;\n  }\n  &-rounded {\n    @apply rounded-full;\n  }\n}\n</style>\n"
  },
  {
    "path": "client/src/components/ui/button/demo/default.demo.vue",
    "content": "<script setup lang=\"ts\">\nimport { HButton } from \"..\"\nimport { HIcon, HIconName } from \"../../icon\"\n</script>\n<template>\n  <h2>基础</h2>\n  <div flex=\"~ gap-2\">\n    <HButton type=\"primary\">primary</HButton>\n    <HButton type=\"success\">success</HButton>\n    <HButton type=\"warning\">warning</HButton>\n    <HButton type=\"error\">error</HButton>\n    <HButton type=\"common\">common</HButton>\n  </div>\n  <h2>大小</h2>\n  <div flex=\"~ gap-2\">\n    <HButton>medium</HButton>\n    <HButton size=\"small\">small</HButton>\n    <HButton size=\"small\" round>圆</HButton>\n  </div>\n  <h2>颜色反转</h2>\n  <div flex=\"~ gap-2\">\n    <HButton type=\"primary\" inverted>primary</HButton>\n    <HButton type=\"success\" inverted>success</HButton>\n    <HButton type=\"warning\" inverted>warning</HButton>\n    <HButton type=\"error\" inverted>error</HButton>\n    <HButton type=\"common\" inverted>common</HButton>\n  </div>\n  <h2>圆的</h2>\n  <div flex=\"~ gap-2\">\n    <HButton round>圆</HButton>\n    <HButton round>的</HButton>\n    <HButton round>就</HButton>\n    <HButton round>很</HButton>\n    <HButton round>好</HButton>\n    <HButton round>玩</HButton>\n  </div>\n  <h2>扩展的</h2>\n  <HButton block>确定</HButton>\n  <h2>使用图标</h2>\n  <div flex=\"~ gap-2\">\n    <HButton round>\n      <HIcon :name=\"HIconName.Search\" />\n    </HButton>\n    <HButton round>\n      <HIcon :name=\"HIconName.Add\" />\n    </HButton>\n    <HButton round>\n      <HIcon :name=\"HIconName.Edit\" />\n    </HButton>\n    <HButton>\n      <HIcon :name=\"HIconName.Search\" />\n    </HButton>\n    <HButton>\n      <HIcon :name=\"HIconName.Add\" />\n    </HButton>\n    <HButton>\n      <HIcon :name=\"HIconName.Edit\" />\n    </HButton>\n  </div>\n  <h2>不可用</h2>\n  <div flex=\"~ gap-2\">\n    <HButton type=\"primary\" disabled>primary</HButton>\n    <HButton type=\"success\" disabled>success</HButton>\n    <HButton type=\"warning\" disabled>warning</HButton>\n    <HButton type=\"error\" disabled>error</HButton>\n    <HButton type=\"common\" disabled>common</HButton>\n    <HButton type=\"primary\" disabled inverted>primary</HButton>\n    <HButton type=\"success\" disabled inverted>success</HButton>\n    <HButton type=\"warning\" disabled inverted>warning</HButton>\n    <HButton type=\"error\" disabled inverted>error</HButton>\n    <HButton type=\"common\" disabled inverted>common</HButton>\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/components/ui/button/index.ts",
    "content": "export { default as HButton } from \"./src/HButton.vue\"\nexport * from \"./src/interface\"\n"
  },
  {
    "path": "client/src/components/ui/button/src/HButton.vue",
    "content": "<script setup lang=\"ts\">\nimport type { ButtonHTMLAttributes } from \"vue\"\nimport type { HButtonSize, HButtonType } from \"./interface\"\nimport { computed } from \"vue\"\nimport { createKey } from \"~/utils/create-key\"\nimport { createClassNames } from \"~/utils/create-classnames\"\nimport { useTheme } from \"@/ui/theme/src\"\n\nconst props = withDefaults(\n  defineProps<{\n    type?: HButtonType\n    inverted?: boolean\n    round?: boolean\n    block?: boolean\n    attrType?: ButtonHTMLAttributes[\"type\"]\n    size?: HButtonSize\n    disabled?: boolean\n  }>(),\n  {\n    type: \"primary\",\n    inverted: false,\n    round: false,\n    block: false,\n    size: \"medium\",\n    disabled: false,\n  }\n)\n\nconst { classNames } = createClassNames(\"h-button\", (add, m) => {\n  props.round && add(m(\"round\"))\n  props.inverted && add(m(\"inverted\"))\n  props.disabled && add(m(\"disabled\"))\n  props.block && add(m(\"block\"))\n  add(m(props.size))\n})\n\nconst theme = useTheme(\"Button\")\n\nconst styleVars = computed(() => {\n  if (props.inverted) {\n    return {\n      color: theme.value[createKey(\"color\", props.type)],\n      backgroundColor: theme.value.colorTransparent,\n      colorHover: theme.value[createKey(\"color\", props.type)],\n      backgroundColorHover:\n        theme.value[createKey(\"backgroundColorHoverInverted\", props.type)],\n      colorActive: theme.value[createKey(\"color\", props.type)],\n      backgroundColorActive:\n        theme.value[createKey(\"backgroundColorActiveInverted\", props.type)],\n    }\n  }\n  return {\n    color: theme.value.colorWhite,\n    backgroundColor: theme.value[createKey(\"color\", props.type)],\n    colorHover: theme.value.colorWhite,\n    backgroundColorHover:\n      theme.value[createKey(\"backgroundColorHover\", props.type)],\n    colorActive: theme.value.colorWhite,\n    backgroundColorActive:\n      theme.value[createKey(\"backgroundColorActive\", props.type)],\n  }\n})\n</script>\n\n<template>\n  <button\n    class=\"text-sm border-none outline-none rounded-2xl px-3 py-0 inline-flex items-center justify-center overflow-hidden cursor-pointer select-none flex-shrink-0\"\n    :class=\"classNames\"\n    :type=\"attrType\"\n    :disabled=\"disabled\"\n  >\n    <slot></slot>\n  </button>\n</template>\n\n<style scoped lang=\"less\">\n.h-button {\n  transition: color 0.2s ease, background-color 0.2s ease;\n  color: v-bind(\"styleVars.color\");\n  background-color: v-bind(\"styleVars.backgroundColor\");\n  &:hover {\n    color: v-bind(\"styleVars.colorHover\");\n    background-color: v-bind(\"styleVars.backgroundColorHover\");\n  }\n  &:active {\n    color: v-bind(\"styleVars.colorActive\");\n    background-color: v-bind(\"styleVars.backgroundColorActive\");\n  }\n  &-disabled {\n    cursor: not-allowed;\n    opacity: 0.5;\n    &:hover {\n      color: v-bind(\"styleVars.color\");\n      background-color: v-bind(\"styleVars.backgroundColor\");\n    }\n    &:active {\n      color: v-bind(\"styleVars.color\");\n      background-color: v-bind(\"styleVars.backgroundColor\");\n    }\n  }\n\n  &-medium {\n    @apply h-8;\n  }\n  &-small {\n    @apply h-7 px-4;\n  }\n\n  &-block {\n    @apply flex w-full;\n  }\n\n  &-round&-medium {\n    @apply w-8;\n  }\n  &-round&-small {\n    @apply w-7 px-0;\n  }\n}\n</style>\n"
  },
  {
    "path": "client/src/components/ui/button/src/interface.ts",
    "content": "export type HButtonType = \"primary\" | \"success\" | \"warning\" | \"error\" | \"common\"\nexport type HButtonSize = \"medium\" | \"small\"\n"
  },
  {
    "path": "client/src/components/ui/button/styles/dark.ts",
    "content": "import type { CommonTheme } from \"@/ui/theme\"\nimport { alpha, dark, light } from \"~/utils/color\"\nimport { ButtonTheme } from \"./light\"\n\nconst self = (common: CommonTheme) => {\n  function hover(color: string) {\n    return light(color, 0.2)\n  }\n  function active(color: string) {\n    return dark(color, 0.4)\n  }\n  function hoverInverted(color: string) {\n    return alpha(color, 0.9)\n  }\n  function activeInverted(color: string) {\n    return alpha(color, 0.8)\n  }\n  return {\n    ...common,\n    backgroundColorHoverPrimary: hover(common.colorPrimary),\n    backgroundColorHoverSuccess: hover(common.colorSuccess),\n    backgroundColorHoverWarning: hover(common.colorWarning),\n    backgroundColorHoverError: hover(common.colorError),\n    backgroundColorHoverCommon: hover(common.colorCommon),\n    backgroundColorHoverInvertedPrimary: hoverInverted(common.colorPrimary),\n    backgroundColorHoverInvertedSuccess: hoverInverted(common.colorSuccess),\n    backgroundColorHoverInvertedWarning: hoverInverted(common.colorWarning),\n    backgroundColorHoverInvertedError: hoverInverted(common.colorError),\n    backgroundColorHoverInvertedCommon: hoverInverted(common.colorCommon),\n    backgroundColorActivePrimary: active(common.colorPrimary),\n    backgroundColorActiveSuccess: active(common.colorSuccess),\n    backgroundColorActiveWarning: active(common.colorWarning),\n    backgroundColorActiveError: active(common.colorError),\n    backgroundColorActiveCommon: active(common.colorCommon),\n    backgroundColorActiveInvertedPrimary: activeInverted(common.colorPrimary),\n    backgroundColorActiveInvertedSuccess: activeInverted(common.colorSuccess),\n    backgroundColorActiveInvertedWarning: activeInverted(common.colorWarning),\n    backgroundColorActiveInvertedError: activeInverted(common.colorError),\n    backgroundColorActiveInvertedCommon: activeInverted(common.colorCommon),\n    colorActiveInvertedPrimary: active(common.colorPrimary),\n    colorActiveInvertedSuccess: active(common.colorSuccess),\n    colorActiveInvertedWarning: active(common.colorWarning),\n    colorActiveInvertedError: active(common.colorError),\n    colorActiveInvertedCommon: active(common.colorCommon),\n  }\n}\nconst buttonDark: ButtonTheme = {\n  name: \"Button\",\n  self,\n}\n\nexport default buttonDark\n"
  },
  {
    "path": "client/src/components/ui/button/styles/index.ts",
    "content": "export { default as buttonLight } from \"./light\"\nexport { default as buttonDark } from \"./dark\"\nexport type { ButtonVars, ButtonTheme } from \"./light\"\n"
  },
  {
    "path": "client/src/components/ui/button/styles/light.ts",
    "content": "import type { Theme, CommonTheme } from \"@/ui/theme\"\nimport { alpha, light } from \"~/utils/color\"\n\nconst self = (common: CommonTheme) => {\n  function hover(color: string) {\n    return light(color, 0.2)\n  }\n  function active(color: string) {\n    return light(color, 0.4)\n  }\n  function hoverInverted(color: string) {\n    return alpha(color, 0.9)\n  }\n  function activeInverted(color: string) {\n    return alpha(color, 0.8)\n  }\n  return {\n    ...common,\n    backgroundColorHoverPrimary: hover(common.colorPrimary),\n    backgroundColorHoverSuccess: hover(common.colorSuccess),\n    backgroundColorHoverWarning: hover(common.colorWarning),\n    backgroundColorHoverError: hover(common.colorError),\n    backgroundColorHoverCommon: hover(common.colorCommon),\n    backgroundColorHoverInvertedPrimary: hoverInverted(common.colorPrimary),\n    backgroundColorHoverInvertedSuccess: hoverInverted(common.colorSuccess),\n    backgroundColorHoverInvertedWarning: hoverInverted(common.colorWarning),\n    backgroundColorHoverInvertedError: hoverInverted(common.colorError),\n    backgroundColorHoverInvertedCommon: hoverInverted(common.colorCommon),\n    backgroundColorActivePrimary: active(common.colorPrimary),\n    backgroundColorActiveSuccess: active(common.colorSuccess),\n    backgroundColorActiveWarning: active(common.colorWarning),\n    backgroundColorActiveError: active(common.colorError),\n    backgroundColorActiveCommon: active(common.colorCommon),\n    backgroundColorActiveInvertedPrimary: activeInverted(common.colorPrimary),\n    backgroundColorActiveInvertedSuccess: activeInverted(common.colorSuccess),\n    backgroundColorActiveInvertedWarning: activeInverted(common.colorWarning),\n    backgroundColorActiveInvertedError: activeInverted(common.colorError),\n    backgroundColorActiveInvertedCommon: activeInverted(common.colorCommon),\n    colorActiveInvertedPrimary: active(common.colorPrimary),\n    colorActiveInvertedSuccess: active(common.colorSuccess),\n    colorActiveInvertedWarning: active(common.colorWarning),\n    colorActiveInvertedError: active(common.colorError),\n    colorActiveInvertedCommon: active(common.colorCommon),\n  }\n}\nexport type ButtonVars = ReturnType<typeof self>\nconst buttonLight: Theme<\"Button\", ButtonVars> = {\n  name: \"Button\",\n  self,\n}\n\nexport default buttonLight\nexport type ButtonTheme = typeof buttonLight\n"
  },
  {
    "path": "client/src/components/ui/checkbox/demo/default.demo.vue",
    "content": "<script setup lang=\"ts\">\nimport { ref } from \"vue\"\nimport { HCheckbox } from \"..\"\nimport DemoPad from \"~/components/DemoPad.vue\"\nconst checked = ref(false)\n</script>\n<template>\n  <DemoPad>\n    <HCheckbox v-model:checked=\"checked\">这是一个 checkbox</HCheckbox>\n  </DemoPad>\n</template>\n"
  },
  {
    "path": "client/src/components/ui/checkbox/index.ts",
    "content": "export { default as HCheckbox } from \"./src/HCheckbox.vue\"\n"
  },
  {
    "path": "client/src/components/ui/checkbox/src/HCheckbox.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed, ref, watch } from \"vue\"\nimport { createClassNames } from \"~/utils/create-classnames\"\nimport { HIcon, HIconName } from \"@/ui/icon\"\nimport { HVerticalCenter } from \"@/ui/vertical-center\"\nimport { useTheme } from \"@/ui/theme\"\nconst props = defineProps<{\n  checked: boolean\n}>()\nconst emits = defineEmits<{\n  (e: \"update:checked\", value: boolean): void\n}>()\n\nconst internalValue = ref(props.checked)\nwatch(\n  () => props.checked,\n  (value) => {\n    internalValue.value = value\n  }\n)\nwatch(\n  () => internalValue.value,\n  (value) => {\n    emits(\"update:checked\", value)\n  }\n)\nconst icon = computed(() =>\n  internalValue.value ? HIconName.CheckboxComposite : HIconName.Checkbox\n)\nconst { classNames } = createClassNames(\"h-checkbox\")\nconst theme = useTheme(\"unknown\")\n</script>\n<template>\n  <label\n    :class=\"classNames\"\n    class=\"cursor-pointer select-none inline-block\"\n    style=\"height: 30px; line-height: 30px\"\n  >\n    <input type=\"checkbox\" class=\"absolute w-0 h-0\" v-model=\"internalValue\" />\n    <HVerticalCenter class=\"mr-2\">\n      <div\n        class=\"h-5 w-5 rounded flex items-center justify-center pb-0.5\"\n        :style=\"{\n          backgroundColor: theme.backgroundColorTertiary,\n        }\"\n      >\n        <div\n          class=\"w-2 h-4 transform -rotate-45 -translate-x-1.5\"\n          :class=\"{ 'opacity-0': !internalValue }\"\n          style=\"transition: opacity 0.1s ease-in-out\"\n        >\n          <div\n            class=\"w-1 h-2 absolute bottom-0 rounded\"\n            :style=\"{\n              backgroundColor: theme.colorPrimary,\n            }\"\n          ></div>\n          <div\n            class=\"w-4 h-1 absolute bottom-0 rounded\"\n            :style=\"{\n              backgroundColor: theme.colorPrimary,\n            }\"\n          ></div>\n        </div>\n      </div>\n    </HVerticalCenter>\n    <slot></slot>\n  </label>\n</template>\n<style></style>\n"
  },
  {
    "path": "client/src/components/ui/date-picker/demo/default.demo.vue",
    "content": "<script setup lang=\"ts\">\nimport { HButton } from \"@/ui/button\"\nimport dayjs from \"dayjs\"\nimport { ref } from \"vue\"\nimport { HDatePicker } from \"../\"\nconst date = ref(dayjs())\n</script>\n<template>\n  {{ date?.toISOString() ?? \"--\" }}\n  <HButton>\n    点我\n    <HDatePicker v-model:date=\"date\" />\n  </HButton>\n</template>\n"
  },
  {
    "path": "client/src/components/ui/date-picker/index.ts",
    "content": "export { default as HDatePicker } from \"./src/HDatePicker.vue\"\n"
  },
  {
    "path": "client/src/components/ui/date-picker/src/HDatePicker.vue",
    "content": "<script setup lang=\"ts\">\nimport dayjs, { Dayjs } from \"dayjs\"\nimport { computed, ref, watch } from \"vue\"\nimport { HButtonType } from \"@/ui/button\"\nimport { HButton } from \"@/ui/button\"\nimport { HDivider } from \"@/ui/divider\"\nimport { HIconName } from \"@/ui/icon\"\nimport { HIcon } from \"@/ui/icon\"\nimport { HPopover } from \"@/ui/popover\"\nimport { useThemeVars } from \"@/ui/theme\"\nimport { getDataByDate } from \"./utils\"\nimport HSlider from \"../../slider/src/HSlider.vue\"\nconst props = defineProps<{\n  date: Dayjs | null\n}>()\nconst emits = defineEmits<{\n  (e: \"update:date\", v: Dayjs | null): void\n}>()\nconst vars = useThemeVars()\nconst internal = ref(props.date)\nwatch(\n  () => props.date,\n  (v) => {\n    internal.value = v\n  },\n  { deep: true }\n)\nconst data = computed(() => getDataByDate(internal.value ?? dayjs()))\nconst getType = (current: boolean): HButtonType => {\n  return current ? \"primary\" : \"common\"\n}\nconst onSelect = (day: Dayjs) => {\n  internal.value = day\n}\nconst title = computed(\n  () => internal.value?.format(\"YYYY年M月\") ?? \"----年--月\"\n)\nconst onPreMonth = () => {\n  if (!internal.value) return\n  internal.value = internal.value.subtract(1, \"month\")\n}\nconst onPreYear = () => {\n  if (!internal.value) return\n  internal.value = internal.value.subtract(1, \"year\")\n}\nconst onNextMonth = () => {\n  if (!internal.value) return\n  internal.value = internal.value.add(1, \"month\")\n}\nconst onNextYear = () => {\n  if (!internal.value) return\n  internal.value = internal.value.add(1, \"year\")\n}\nconst show = ref(false)\nconst onClear = () => {\n  internal.value = null\n}\nconst onNow = () => {\n  internal.value = dayjs()\n}\nconst onFinish = () => {\n  show.value = false\n  emits(\"update:date\", internal.value)\n}\nwatch(\n  () => show.value,\n  (v) => {\n    internal.value = props.date\n  }\n)\nconst hour = computed<number>({\n  get() {\n    return (internal.value?.hour() ?? 0) - 0\n  },\n  set(v) {\n    if (!internal.value) return\n    internal.value = internal.value.set(\"hour\", v)\n  },\n})\nconst minute = computed<number>({\n  get() {\n    return (internal.value?.minute() ?? 0) - 0\n  },\n  set(v) {\n    if (!internal.value) return\n    internal.value = internal.value.set(\"minute\", v)\n  },\n})\nconst second = computed<number>({\n  get() {\n    return (internal.value?.second() ?? 0) - 0\n  },\n  set(v) {\n    if (!internal.value) return\n    internal.value = internal.value.set(\"second\", v)\n  },\n})\n</script>\n<template>\n  <HPopover position=\"bottom-right\" raw v-model:show=\"show\">\n    <div\n      class=\"shadow-2xl rounded-md p-2\"\n      :style=\"{ backgroundColor: vars.backgroundColorPrimary }\"\n    >\n      <div class=\"grid grid-cols-7 grid-rows-2 -mx-0.5\">\n        <HButton type=\"common\" size=\"small\" round inverted @click=\"onPreYear\">\n          <HIcon :name=\"HIconName.Rewind\" />\n        </HButton>\n        <HButton type=\"common\" size=\"small\" round inverted @click=\"onPreMonth\">\n          <HIcon :name=\"HIconName.ChevronLeft\" />\n        </HButton>\n        <div\n          class=\"text-sm flex items-center justify-center font-bold\"\n          style=\"grid-column: 3/6\"\n        >\n          {{ title }}\n        </div>\n        <HButton type=\"common\" size=\"small\" round inverted @click=\"onNextMonth\">\n          <HIcon :name=\"HIconName.ChevronRight\" />\n        </HButton>\n        <HButton type=\"common\" size=\"small\" round inverted @click=\"onNextYear\">\n          <HIcon :name=\"HIconName.FastForward\" />\n        </HButton>\n        <div class=\"text-sm flex items-center justify-center\">一</div>\n        <div class=\"text-sm flex items-center justify-center\">二</div>\n        <div class=\"text-sm flex items-center justify-center\">三</div>\n        <div class=\"text-sm flex items-center justify-center\">四</div>\n        <div class=\"text-sm flex items-center justify-center\">五</div>\n        <div class=\"text-sm flex items-center justify-center\">六</div>\n        <div class=\"text-sm flex items-center justify-center\">日</div>\n      </div>\n      <HDivider class=\"my-2\" />\n      <div class=\"grid grid-cols-7 grid-rows-6\">\n        <template v-for=\"(item, idx) in data\">\n          <HButton\n            class=\"m-0.5\"\n            :type=\"getType(item.current)\"\n            size=\"small\"\n            :inverted=\"!item.selected\"\n            round\n            @click=\"onSelect(item.date)\"\n          >\n            {{ item.text }}\n          </HButton>\n        </template>\n      </div>\n      <HDivider class=\"my-2\" />\n      <HSlider style=\"height: 20px\" :min=\"0\" :max=\"23\" v-model:value=\"hour\">\n        {{ `${hour} 时` }}\n      </HSlider>\n      <HSlider style=\"height: 20px\" :min=\"0\" :max=\"59\" v-model:value=\"minute\">\n        {{ `${minute} 分` }}\n      </HSlider>\n      <HSlider style=\"height: 20px\" :min=\"0\" :max=\"59\" v-model:value=\"second\">\n        {{ `${second} 秒` }}\n      </HSlider>\n      <HDivider class=\"my-2\" />\n      <div class=\"flex justify-end\">\n        <HButton size=\"small\" type=\"error\" inverted @click=\"onClear\">\n          清空\n        </HButton>\n        <HButton class=\"mx-2\" size=\"small\" @click=\"onNow\">此刻</HButton>\n        <HButton size=\"small\" @click=\"onFinish\">完成</HButton>\n      </div>\n    </div>\n  </HPopover>\n</template>\n"
  },
  {
    "path": "client/src/components/ui/date-picker/src/interface.ts",
    "content": "import type { Dayjs } from \"dayjs\"\n\nexport interface IDateData {\n  text: string\n  current: boolean\n  selected: boolean\n  date: Dayjs\n}\n"
  },
  {
    "path": "client/src/components/ui/date-picker/src/utils.spec.ts",
    "content": "import dayjs from \"dayjs\"\nimport {\n  isAM,\n  getDataByDate,\n  getFirstDayInSameMonth,\n  getLastMonday,\n  lastMondayInCurrentMonth,\n} from \"./utils\"\n\ndescribe(\"date\", () => {\n  it(\"should get first day\", () => {\n    const date = getFirstDayInSameMonth(dayjs())\n    expect(date.date()).toBe(1)\n  })\n  it(\"should get monday\", () => {\n    const date = getLastMonday(dayjs())\n    expect(date.day()).toBe(1)\n  })\n  it(\"should not in current month\", () => {\n    const date = dayjs(\"2022-1-6\")\n    const monday = getLastMonday(date)\n    const res = lastMondayInCurrentMonth(date, monday)\n    expect(res).toBe(false)\n  })\n  it(\"should in current month\", () => {\n    const date = dayjs(\"2007-6-30\")\n    const monday = getLastMonday(date)\n    const res = lastMondayInCurrentMonth(date, monday)\n    expect(res).toBe(false)\n  })\n  it(\"should be am\", () => {\n    const res = isAM(dayjs(\"2020-1-1 11:00\"))\n    expect(res).toBe(true)\n  })\n})\n"
  },
  {
    "path": "client/src/components/ui/date-picker/src/utils.ts",
    "content": "import { Dayjs } from \"dayjs\"\nimport { IDateData } from \"./interface\"\n\nexport function lastMondayInCurrentMonth(date: Dayjs, monday: Dayjs): boolean {\n  return monday.month() === date.month()\n}\n\nexport function getLastMonday(date: Dayjs): Dayjs {\n  const firstDayInMouth = getFirstDayInSameMonth(date)\n  const weekNo = firstDayInMouth.day()\n  const monday = firstDayInMouth.subtract(weekNo - 1, \"day\")\n  if (monday.month() === date.month()) return monday.subtract(7, \"day\")\n  else return monday\n}\n\nexport function getFirstDayInSameMonth(date: Dayjs): Dayjs {\n  const currentDayInMouth = date.date()\n  return date.subtract(currentDayInMouth - 1, \"day\")\n}\n\nexport function getDataByDate(date: Dayjs): IDateData[] {\n  const data: IDateData[] = []\n  const monthDay1 = getFirstDayInSameMonth(date)\n  const currentDayInMouth = date.date()\n  const lastMonday = getLastMonday(date)\n  const lastMondayInMonth = lastMonday.date()\n  data.push(\n    ...new Array(lastMonday.daysInMonth() - lastMonday.date() + 1).fill(0).map(\n      (v, idx): IDateData => ({\n        text: `${lastMondayInMonth + idx}`,\n        current: false,\n        selected: false,\n        date: lastMonday.add(idx, \"day\"),\n      })\n    )\n  )\n\n  data.push(\n    ...new Array(date.daysInMonth()).fill(0).map(\n      (v, idx): IDateData => ({\n        text: `${idx + 1}`,\n        current: true,\n        selected: idx + 1 === currentDayInMouth,\n        date: monthDay1.add(idx, \"day\"),\n      })\n    )\n  )\n  const nextMonthDay1 = monthDay1.add(monthDay1.daysInMonth(), \"day\")\n  data.push(\n    ...new Array(42 - data.length).fill(0).map(\n      (v, idx): IDateData => ({\n        text: `${idx + 1}`,\n        current: false,\n        selected: false,\n        date: nextMonthDay1.add(idx, \"day\"),\n      })\n    )\n  )\n  return data\n}\nexport function isAM(date: Dayjs): boolean {\n  return date.hour() < 12\n}\nexport function getTimeData(date: Dayjs): IDateData[] {\n  const hour = date.hour()\n  const base = date.subtract(hour < 12 ? hour : hour - 12, \"hour\")\n\n  return new Array(12).fill(0).map(\n    (v, idx): IDateData => ({\n      text: `0${idx}`.slice(-2),\n      current: idx === hour % 12,\n      selected: idx === hour % 12,\n      date: base.add(idx, \"hour\"),\n    })\n  )\n}\n"
  },
  {
    "path": "client/src/components/ui/divider/index.ts",
    "content": "export { default as HDivider } from \"./src/HDivider.vue\"\n"
  },
  {
    "path": "client/src/components/ui/divider/src/HDivider.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed, StyleValue } from \"vue\"\nimport { useThemeVars } from \"../../theme\"\nconst props = withDefaults(\n  defineProps<{\n    verticle?: boolean\n    width?: number | string\n    color?: string\n  }>(),\n  { verticle: false, width: 1 }\n)\nconst width = computed(() => {\n  if (typeof props.width === \"number\") return `${props.width}px`\n  else return props.width\n})\nconst vars = useThemeVars()\nconst styles = computed<StyleValue>(() => {\n  const base: StyleValue = {\n    backgroundColor: props.color ?? vars.value.backgroundColorHover,\n  }\n  if (props.verticle) {\n    return {\n      ...base,\n      height: \"100%\",\n      width: width.value,\n    }\n  } else {\n    return {\n      ...base,\n      width: \"100%\",\n      height: width.value,\n    }\n  }\n})\n</script>\n<template>\n  <div :style=\"styles\"></div>\n</template>\n"
  },
  {
    "path": "client/src/components/ui/icon/demo/default.demo.vue",
    "content": "<script setup lang=\"ts\">\nimport { defineAsyncComponent } from \"vue\"\nimport { HIcon, HIconName } from \"..\"\nconst IconMap = defineAsyncComponent(() => import(\"./icon-map.vue\"))\n</script>\n<template>\n  <h2>基础</h2>\n  <HIcon :name=\"HIconName.Search\" />\n  <HIcon :name=\"HIconName.Add\" />\n  <HIcon :name=\"HIconName.Edit\" />\n  <h2>可点击</h2>\n  <HIcon :name=\"HIconName.Search\" clickable />\n  <HIcon :name=\"HIconName.Add\" clickable />\n  <HIcon :name=\"HIconName.Edit\" clickable />\n  <h2>其他</h2>\n  Icon 使用了字体，其他样式使用 css 和 style 控制\n  <h2>所有图标</h2>\n  <IconMap></IconMap>\n</template>\n"
  },
  {
    "path": "client/src/components/ui/icon/demo/icon-map.vue",
    "content": "<script setup lang=\"ts\">\nimport { HIcon, HIconName } from \"..\"\nconst all = Object.entries(HIconName).map(([key, value]) => ({\n  key,\n  value: value as HIconName,\n}))\n</script>\n<template>\n  <tr v-for=\"item in all\" :key=\"item.key\">\n    <td>\n      <HIcon :name=\"item.value\"></HIcon>\n    </td>\n    <td>{{ item.key }}</td>\n  </tr>\n</template>\n"
  },
  {
    "path": "client/src/components/ui/icon/index.ts",
    "content": "export { default as HIcon } from \"./src/HIcon.vue\"\nexport { HIconName } from \"./src/interface\"\n"
  },
  {
    "path": "client/src/components/ui/icon/src/HIcon.vue",
    "content": "<script setup lang=\"ts\">\nimport { createClassNames } from \"~/utils/create-classnames\"\nimport { HVerticalCenter } from \"@/ui/vertical-center\"\nimport { HIconName } from \"./interface\"\nimport { onMounted } from \"vue\"\n\n//#region deprecated warning\nif (import.meta.env.DEV)\n  onMounted(() => {\n    console.warn(\"h-icon has been deprecated, use unocss/preset-icon instead\")\n  })\n//#endregion\n\nconst props = withDefaults(\n  defineProps<{\n    name: HIconName\n    clickable?: boolean\n  }>(),\n  {\n    clickable: false,\n  }\n)\nconst { classNames } = createClassNames(\"h-icon\", (add, m) => {\n  props.clickable && add(m(\"clickable\"))\n})\n</script>\n<template>\n  <HVerticalCenter>\n    <span :class=\"classNames\">{{ props.name }}</span>\n  </HVerticalCenter>\n</template>\n<style scoped lang=\"less\">\n.h-icon {\n  font-family: \"Segoe Fluent Icons\";\n  -webkit-font-smoothing: auto;\n  &-clickable {\n    @apply cursor-pointer;\n  }\n}\n</style>\n"
  },
  {
    "path": "client/src/components/ui/icon/src/interface.ts",
    "content": "/**\n * @see https://docs.microsoft.com/en-us/windows/apps/design/style/segoe-fluent-icons-font#pua-e700-e900\n * @deprecated\n */\nexport enum HIconName {\n  GlobalNavButton = \"\\ue700\",\n  Wifi = \"\\ue701\",\n  Bluetooth = \"\\ue702\",\n  Connect = \"\\ue703\",\n  InternetSharing = \"\\ue704\",\n  VPN = \"\\ue705\",\n  Brightness = \"\\ue706\",\n  MapPin = \"\\ue707\",\n  QuietHours = \"\\ue708\",\n  Airplane = \"\\ue709\",\n  Tablet = \"\\ue70a\",\n  QuickNote = \"\\ue70b\",\n  RememberedDevice = \"\\ue70c\",\n  ChevronDown = \"\\ue70d\",\n  ChevronUp = \"\\ue70e\",\n  Edit = \"\\ue70f\",\n  Add = \"\\ue710\",\n  Cancel = \"\\ue711\",\n  More = \"\\ue712\",\n  Settings = \"\\ue713\",\n  Video = \"\\ue714\",\n  Mail = \"\\ue715\",\n  People = \"\\ue716\",\n  Phone = \"\\ue717\",\n  Pin = \"\\ue718\",\n  Shop = \"\\ue719\",\n  Stop = \"\\ue71a\",\n  Link = \"\\ue71b\",\n  Filter = \"\\ue71c\",\n  AllApps = \"\\ue71d\",\n  Zoom = \"\\ue71e\",\n  ZoomOut = \"\\ue71f\",\n  Microphone = \"\\ue720\",\n  Search = \"\\ue721\",\n  Camera = \"\\ue722\",\n  Attach = \"\\ue723\",\n  Send = \"\\ue724\",\n  SendFill = \"\\ue725\",\n  WalkSolid = \"\\ue726\",\n  InPrivate = \"\\ue727\",\n  FavoriteList = \"\\ue728\",\n  PageSolid = \"\\ue729\",\n  Forward = \"\\ue72a\",\n  Back = \"\\ue72b\",\n  Refresh = \"\\ue72c\",\n  Share = \"\\ue72d\",\n  Lock = \"\\ue72e\",\n  ReportHacked = \"\\ue730\",\n  EMI = \"\\ue731\",\n  FavoriteStar = \"\\ue734\",\n  FavoriteStarFill = \"\\ue735\",\n  ReadingMode = \"\\ue736\",\n  Favicon = \"\\ue737\",\n  Remove = \"\\ue738\",\n  Checkbox = \"\\ue739\",\n  CheckboxComposite = \"\\ue73a\",\n  CheckboxFill = \"\\ue73b\",\n  CheckboxIndeterminate = \"\\ue73c\",\n  CheckboxCompositeReversed = \"\\ue73d\",\n  CheckMark = \"\\ue73e\",\n  BackToWindow = \"\\ue73f\",\n  FullScreen = \"\\ue740\",\n  ResizeTouchLarger = \"\\ue741\",\n  ResizeTouchSmaller = \"\\ue742\",\n  ResizeMouseSmall = \"\\ue743\",\n  ResizeMouseMedium = \"\\ue744\",\n  ResizeMouseWide = \"\\ue745\",\n  ResizeMouseTall = \"\\ue746\",\n  ResizeMouseLarge = \"\\ue747\",\n  SwitchUser = \"\\ue748\",\n  Print = \"\\ue749\",\n  Up = \"\\ue74a\",\n  Down = \"\\ue74b\",\n  OEM = \"\\ue74c\",\n  Delete = \"\\ue74d\",\n  Save = \"\\ue74e\",\n  Mute = \"\\ue74f\",\n  BackSpaceQWERTY = \"\\ue750\",\n  ReturnKey = \"\\ue751\",\n  UpArrowShiftKey = \"\\ue752\",\n  Cloud = \"\\ue753\",\n  Flashlight = \"\\ue754\",\n  RotationLock = \"\\ue755\",\n  CommandPrompt = \"\\ue756\",\n  SIPMove = \"\\ue759\",\n  SIPUndock = \"\\ue75a\",\n  SIPRedock = \"\\ue75b\",\n  EraseTool = \"\\ue75c\",\n  UnderscoreSpace = \"\\ue75d\",\n  GripperTool = \"\\ue75e\",\n  Dialpad = \"\\ue75f\",\n  PageLeft = \"\\ue760\",\n  PageRight = \"\\ue761\",\n  MultiSelect = \"\\ue762\",\n  KeyboardLeftHanded = \"\\ue763\",\n  KeyboardRightHanded = \"\\ue764\",\n  KeyboardClassic = \"\\ue765\",\n  KeyboardSplit = \"\\ue766\",\n  Volume = \"\\ue767\",\n  Play = \"\\ue768\",\n  Pause = \"\\ue769\",\n  ChevronLeft = \"\\ue76b\",\n  ChevronRight = \"\\ue76c\",\n  InkingTool = \"\\ue76d\",\n  Emoji2 = \"\\ue76e\",\n  GripperBarHorizontal = \"\\ue76f\",\n  System = \"\\ue770\",\n  Personalize = \"\\ue771\",\n  Devices = \"\\ue772\",\n  SearchAndApps = \"\\ue773\",\n  Globe = \"\\ue774\",\n  TimeLanguage = \"\\ue775\",\n  EaseOfAccess = \"\\ue776\",\n  UpdateRestore = \"\\ue777\",\n  HangUp = \"\\ue778\",\n  ContactInfo = \"\\ue779\",\n  Unpin = \"\\ue77a\",\n  Contact = \"\\ue77b\",\n  Memo = \"\\ue77c\",\n  IncomingCall = \"\\ue77e\",\n  Paste = \"\\ue77f\",\n  PhoneBook = \"\\ue780\",\n  LEDLight = \"\\ue781\",\n  Error = \"\\ue783\",\n  GripperBarVertical = \"\\ue784\",\n  Unlock = \"\\ue785\",\n  Slideshow = \"\\ue786\",\n  Calendar = \"\\ue787\",\n  GripperResize = \"\\ue788\",\n  Megaphone = \"\\ue789\",\n  Trim = \"\\ue78a\",\n  NewWindow = \"\\ue78b\",\n  SaveLocal = \"\\ue78c\",\n  Color = \"\\ue790\",\n  DataSense = \"\\ue791\",\n  SaveAs = \"\\ue792\",\n  Light = \"\\ue793\",\n  AspectRatio = \"\\ue799\",\n  DataSenseBar = \"\\ue7a5\",\n  Redo = \"\\ue7a6\",\n  Undo = \"\\ue7a7\",\n  Crop = \"\\ue7a8\",\n  OpenWith = \"\\ue7ac\",\n  Rotate = \"\\ue7ad\",\n  RedEye = \"\\ue7b3\",\n  SetlockScreen = \"\\ue7b5\",\n  MapPin2 = \"\\ue7b7\",\n  Package = \"\\ue7b8\",\n  Warning = \"\\ue7ba\",\n  ReadingList = \"\\ue7bc\",\n  Education = \"\\ue7be\",\n  ShoppingCart = \"\\ue7bf\",\n  Train = \"\\ue7c0\",\n  Flag = \"\\ue7c1\",\n  Move = \"\\ue7c2\",\n  Page = \"\\ue7c3\",\n  TaskView = \"\\ue7c4\",\n  BrowsePhotos = \"\\ue7c5\",\n  HalfStarLeft = \"\\ue7c6\",\n  HalfStarRight = \"\\ue7c7\",\n  Record = \"\\ue7c8\",\n  TouchPointer = \"\\ue7c9\",\n  LangJPN = \"\\ue7de\",\n  Ferry = \"\\ue7e3\",\n  Highlight = \"\\ue7e6\",\n  ActionCenterNotification = \"\\ue7e7\",\n  PowerButton = \"\\ue7e8\",\n  ResizeTouchNarrower = \"\\ue7ea\",\n  ResizeTouchShorter = \"\\ue7eb\",\n  DrivingMode = \"\\ue7ec\",\n  RingerSilent = \"\\ue7ed\",\n  OtherUser = \"\\ue7ee\",\n  Admin = \"\\ue7ef\",\n  CC = \"\\ue7f0\",\n  SDCard = \"\\ue7f1\",\n  CallForwarding = \"\\ue7f2\",\n  SettingsDisplaySound = \"\\ue7f3\",\n  TVMonitor = \"\\ue7f4\",\n  Speakers = \"\\ue7f5\",\n  Headphone = \"\\ue7f6\",\n  DeviceLaptopPic = \"\\ue7f7\",\n  DeviceLaptopNoPic = \"\\ue7f8\",\n  DeviceMonitorRightPic = \"\\ue7f9\",\n  DeviceMonitorLeftPic = \"\\ue7fa\",\n  DeviceMonitorNoPic = \"\\ue7fb\",\n  Game = \"\\ue7fc\",\n  HorizontalTabKey = \"\\ue7fd\",\n  StreetsideSplitMinimize = \"\\ue802\",\n  StreetsideSplitExpand = \"\\ue803\",\n  Car = \"\\ue804\",\n  Walk = \"\\ue805\",\n  Bus = \"\\ue806\",\n  TiltUp = \"\\ue809\",\n  TiltDown = \"\\ue80a\",\n  CallControl = \"\\ue80b\",\n  RotateMapRight = \"\\ue80c\",\n  RotateMapLeft = \"\\ue80d\",\n  Home = \"\\ue80f\",\n  ParkingLocation = \"\\ue811\",\n  MapCompassTop = \"\\ue812\",\n  MapCompassBottom = \"\\ue813\",\n  IncidentTriangle = \"\\ue814\",\n  Touch = \"\\ue815\",\n  MapDirections = \"\\ue816\",\n  StartPoint = \"\\ue819\",\n  StopPoint = \"\\ue81a\",\n  EndPoint = \"\\ue81b\",\n  History = \"\\ue81c\",\n  Location = \"\\ue81d\",\n  MapLayers = \"\\ue81e\",\n  Accident = \"\\ue81f\",\n  Work = \"\\ue821\",\n  Construction = \"\\ue822\",\n  Recent = \"\\ue823\",\n  Bank = \"\\ue825\",\n  DownloadMap = \"\\ue826\",\n  InkingToolFill2 = \"\\ue829\",\n  HighlightFill2 = \"\\ue82a\",\n  EraseToolFill = \"\\ue82b\",\n  EraseToolFill2 = \"\\ue82c\",\n  Dictionary = \"\\ue82d\",\n  DictionaryAdd = \"\\ue82e\",\n  ToolTip = \"\\ue82f\",\n  ChromeBack = \"\\ue830\",\n  ProvisioningPackage = \"\\ue835\",\n  AddRemoteDevice = \"\\ue836\",\n  FolderOpen = \"\\ue838\",\n  Ethernet = \"\\ue839\",\n  ShareBroadband = \"\\ue83a\",\n  DirectAccess = \"\\ue83b\",\n  DialUp = \"\\ue83c\",\n  DefenderApp = \"\\ue83d\",\n  BatteryCharging9 = \"\\ue83e\",\n  Battery10 = \"\\ue83f\",\n  Pinned = \"\\ue840\",\n  PinFill = \"\\ue841\",\n  PinnedFill = \"\\ue842\",\n  PeriodKey = \"\\ue843\",\n  PuncKey = \"\\ue844\",\n  RevToggleKey = \"\\ue845\",\n  RightArrowKeyTime1 = \"\\ue846\",\n  RightArrowKeyTime2 = \"\\ue847\",\n  LeftQuote = \"\\ue848\",\n  RightQuote = \"\\ue849\",\n  DownShiftKey = \"\\ue84a\",\n  UpShiftKey = \"\\ue84b\",\n  PuncKey0 = \"\\ue84c\",\n  PuncKeyLeftBottom = \"\\ue84d\",\n  RightArrowKeyTime3 = \"\\ue84e\",\n  RightArrowKeyTime4 = \"\\ue84f\",\n  Battery0 = \"\\ue850\",\n  Battery1 = \"\\ue851\",\n  Battery2 = \"\\ue852\",\n  Battery3 = \"\\ue853\",\n  Battery4 = \"\\ue854\",\n  Battery5 = \"\\ue855\",\n  Battery6 = \"\\ue856\",\n  Battery7 = \"\\ue857\",\n  Battery8 = \"\\ue858\",\n  Battery9 = \"\\ue859\",\n  BatteryCharging0 = \"\\ue85a\",\n  BatteryCharging1 = \"\\ue85b\",\n  BatteryCharging2 = \"\\ue85c\",\n  BatteryCharging3 = \"\\ue85d\",\n  BatteryCharging4 = \"\\ue85e\",\n  BatteryCharging5 = \"\\ue85f\",\n  BatteryCharging6 = \"\\ue860\",\n  BatteryCharging7 = \"\\ue861\",\n  BatteryCharging8 = \"\\ue862\",\n  BatterySaver0 = \"\\ue863\",\n  BatterySaver1 = \"\\ue864\",\n  BatterySaver2 = \"\\ue865\",\n  BatterySaver3 = \"\\ue866\",\n  BatterySaver4 = \"\\ue867\",\n  BatterySaver5 = \"\\ue868\",\n  BatterySaver6 = \"\\ue869\",\n  BatterySaver7 = \"\\ue86a\",\n  BatterySaver8 = \"\\ue86b\",\n  SignalBars1 = \"\\ue86c\",\n  SignalBars2 = \"\\ue86d\",\n  SignalBars3 = \"\\ue86e\",\n  SignalBars4 = \"\\ue86f\",\n  SignalBars5 = \"\\ue870\",\n  SignalNotConnected = \"\\ue871\",\n  Wifi1 = \"\\ue872\",\n  Wifi2 = \"\\ue873\",\n  Wifi3 = \"\\ue874\",\n  MobSIMLock = \"\\ue875\",\n  MobSIMMissing = \"\\ue876\",\n  Vibrate = \"\\ue877\",\n  RoamingInternational = \"\\ue878\",\n  RoamingDomestic = \"\\ue879\",\n  CallForwardInternational = \"\\ue87a\",\n  CallForwardRoaming = \"\\ue87b\",\n  JpnRomanji = \"\\ue87c\",\n  JpnRomanjiLock = \"\\ue87d\",\n  JpnRomanjiShift = \"\\ue87e\",\n  JpnRomanjiShiftLock = \"\\ue87f\",\n  StatusDataTransfer = \"\\ue880\",\n  StatusDataTransferVPN = \"\\ue881\",\n  StatusDualSIM2 = \"\\ue882\",\n  StatusDualSIM2VPN = \"\\ue883\",\n  StatusDualSIM1 = \"\\ue884\",\n  StatusDualSIM1VPN = \"\\ue885\",\n  StatusSGLTE = \"\\ue886\",\n  StatusSGLTECell = \"\\ue887\",\n  StatusSGLTEDataVPN = \"\\ue888\",\n  StatusVPN = \"\\ue889\",\n  WifiHotspot = \"\\ue88a\",\n  LanguageKor = \"\\ue88b\",\n  LanguageCht = \"\\ue88c\",\n  LanguageChs = \"\\ue88d\",\n  USB = \"\\ue88e\",\n  InkingToolFill = \"\\ue88f\",\n  View = \"\\ue890\",\n  HighlightFill = \"\\ue891\",\n  Previous = \"\\ue892\",\n  Next = \"\\ue893\",\n  Clear = \"\\ue894\",\n  Sync = \"\\ue895\",\n  Download = \"\\ue896\",\n  Help = \"\\ue897\",\n  Upload = \"\\ue898\",\n  Emoji = \"\\ue899\",\n  TwoPage = \"\\ue89a\",\n  LeaveChat = \"\\ue89b\",\n  MailForward = \"\\ue89c\",\n  RotateCamera = \"\\ue89e\",\n  ClosePane = \"\\ue89f\",\n  OpenPane = \"\\ue8a0\",\n  PreviewLink = \"\\ue8a1\",\n  AttachCamera = \"\\ue8a2\",\n  ZoomIn = \"\\ue8a3\",\n  Bookmarks = \"\\ue8a4\",\n  Document = \"\\ue8a5\",\n  ProtectedDocument = \"\\ue8a6\",\n  OpenInNewWindow = \"\\ue8a7\",\n  MailFill = \"\\ue8a8\",\n  ViewAll = \"\\ue8a9\",\n  VideoChat = \"\\ue8aa\",\n  Switch = \"\\ue8ab\",\n  Rename = \"\\ue8ac\",\n  Go = \"\\ue8ad\",\n  SurfaceHub = \"\\ue8ae\",\n  Remote = \"\\ue8af\",\n  Click = \"\\ue8b0\",\n  Shuffle = \"\\ue8b1\",\n  Movies = \"\\ue8b2\",\n  SelectAll = \"\\ue8b3\",\n  Orientation = \"\\ue8b4\",\n  Import = \"\\ue8b5\",\n  ImportAll = \"\\ue8b6\",\n  Folder = \"\\ue8b7\",\n  Webcam = \"\\ue8b8\",\n  Picture = \"\\ue8b9\",\n  Caption = \"\\ue8ba\",\n  ChromeClose = \"\\ue8bb\",\n  ShowResults = \"\\ue8bc\",\n  Message = \"\\ue8bd\",\n  Leaf = \"\\ue8be\",\n  CalendarDay = \"\\ue8bf\",\n  CalendarWeek = \"\\ue8c0\",\n  Characters = \"\\ue8c1\",\n  MailReplyAll = \"\\ue8c2\",\n  Read = \"\\ue8c3\",\n  ShowBcc = \"\\ue8c4\",\n  HideBcc = \"\\ue8c5\",\n  Cut = \"\\ue8c6\",\n  PaymentCard = \"\\ue8c7\",\n  Copy = \"\\ue8c8\",\n  Important = \"\\ue8c9\",\n  MailReply = \"\\ue8ca\",\n  Sort = \"\\ue8cb\",\n  MobileTablet = \"\\ue8cc\",\n  DisconnectDrive = \"\\ue8cd\",\n  MapDrive = \"\\ue8ce\",\n  ContactPresence = \"\\ue8cf\",\n  Priority = \"\\ue8d0\",\n  GotoToday = \"\\ue8d1\",\n  Font = \"\\ue8d2\",\n  FontColor = \"\\ue8d3\",\n  Contact2 = \"\\ue8d4\",\n  FolderFill = \"\\ue8d5\",\n  Audio = \"\\ue8d6\",\n  Permissions = \"\\ue8d7\",\n  DisableUpdates = \"\\ue8d8\",\n  Unfavorite = \"\\ue8d9\",\n  OpenLocal = \"\\ue8da\",\n  Italic = \"\\ue8db\",\n  Underline = \"\\ue8dc\",\n  Bold = \"\\ue8dd\",\n  MoveToFolder = \"\\ue8de\",\n  LikeDislike = \"\\ue8df\",\n  Dislike = \"\\ue8e0\",\n  Like = \"\\ue8e1\",\n  AlignRight = \"\\ue8e2\",\n  AlignCenter = \"\\ue8e3\",\n  AlignLeft = \"\\ue8e4\",\n  OpenFile = \"\\ue8e5\",\n  ClearSelection = \"\\ue8e6\",\n  FontDecrease = \"\\ue8e7\",\n  FontIncrease = \"\\ue8e8\",\n  FontSize = \"\\ue8e9\",\n  CellPhone = \"\\ue8ea\",\n  Reshare = \"\\ue8eb\",\n  Tag = \"\\ue8ec\",\n  RepeatOne = \"\\ue8ed\",\n  RepeatAll = \"\\ue8ee\",\n  Calculator = \"\\ue8ef\",\n  Directions = \"\\ue8f0\",\n  Library = \"\\ue8f1\",\n  ChatBubbles = \"\\ue8f2\",\n  PostUpdate = \"\\ue8f3\",\n  NewFolder = \"\\ue8f4\",\n  CalendarReply = \"\\ue8f5\",\n  UnsyncFolder = \"\\ue8f6\",\n  SyncFolder = \"\\ue8f7\",\n  BlockContact = \"\\ue8f8\",\n  SwitchApps = \"\\ue8f9\",\n  AddFriend = \"\\ue8fa\",\n  Accept = \"\\ue8fb\",\n  GoToStart = \"\\ue8fc\",\n  BulletedList = \"\\ue8fd\",\n  Scan = \"\\ue8fe\",\n  Preview = \"\\ue8ff\",\n  Group = \"\\ue902\",\n  ZeroBars = \"\\ue904\",\n  OneBar = \"\\ue905\",\n  TwoBars = \"\\ue906\",\n  ThreeBars = \"\\ue907\",\n  FourBars = \"\\ue908\",\n  World = \"\\ue909\",\n  Comment = \"\\ue90a\",\n  MusicInfo = \"\\ue90b\",\n  DockLeft = \"\\ue90c\",\n  DockRight = \"\\ue90d\",\n  DockBottom = \"\\ue90e\",\n  Repair = \"\\ue90f\",\n  Accounts = \"\\ue910\",\n  DullSound = \"\\ue911\",\n  Manage = \"\\ue912\",\n  Street = \"\\ue913\",\n  Printer3D = \"\\ue914\",\n  RadioBullet = \"\\ue915\",\n  Stopwatch = \"\\ue916\",\n  Photo = \"\\ue91b\",\n  ActionCenter = \"\\ue91c\",\n  FullCircleMask = \"\\ue91f\",\n  ChromeMinimize = \"\\ue921\",\n  ChromeMaximize = \"\\ue922\",\n  ChromeRestore = \"\\ue923\",\n  Annotation = \"\\ue924\",\n  BackSpaceQWERTYSm = \"\\ue925\",\n  BackSpaceQWERTYMd = \"\\ue926\",\n  Swipe = \"\\ue927\",\n  Fingerprint = \"\\ue928\",\n  Handwriting = \"\\ue929\",\n  ChromeBackToWindow = \"\\ue92c\",\n  ChromeFullScreen = \"\\ue92d\",\n  KeyboardStandard = \"\\ue92e\",\n  KeyboardDismiss = \"\\ue92f\",\n  Completed = \"\\ue930\",\n  ChromeAnnotate = \"\\ue931\",\n  Label = \"\\ue932\",\n  IBeam = \"\\ue933\",\n  IBeamOutline = \"\\ue934\",\n  FlickDown = \"\\ue935\",\n  FlickUp = \"\\ue936\",\n  FlickLeft = \"\\ue937\",\n  FlickRight = \"\\ue938\",\n  FeedbackApp = \"\\ue939\",\n  MusicAlbum = \"\\ue93c\",\n  Streaming = \"\\ue93e\",\n  Code = \"\\ue943\",\n  ReturnToWindow = \"\\ue944\",\n  LightningBolt = \"\\ue945\",\n  Info = \"\\ue946\",\n  CalculatorMultiply = \"\\ue947\",\n  CalculatorAddition = \"\\ue948\",\n  CalculatorSubtract = \"\\ue949\",\n  CalculatorDivide = \"\\ue94a\",\n  CalculatorSquareroot = \"\\ue94b\",\n  CalculatorPercentage = \"\\ue94c\",\n  CalculatorNegate = \"\\ue94d\",\n  CalculatorEqualTo = \"\\ue94e\",\n  CalculatorBackspace = \"\\ue94f\",\n  Component = \"\\ue950\",\n  DMC = \"\\ue951\",\n  Dock = \"\\ue952\",\n  MultimediaDMS = \"\\ue953\",\n  MultimediaDVR = \"\\ue954\",\n  MultimediaPMP = \"\\ue955\",\n  PrintfaxPrinterFile = \"\\ue956\",\n  Sensor = \"\\ue957\",\n  StorageOptical = \"\\ue958\",\n  Communications = \"\\ue95a\",\n  Headset = \"\\ue95b\",\n  Projector = \"\\ue95d\",\n  Health = \"\\ue95e\",\n  Wire = \"\\ue95f\",\n  Webcam2 = \"\\ue960\",\n  Input = \"\\ue961\",\n  Mouse = \"\\ue962\",\n  Smartcard = \"\\ue963\",\n  SmartcardVirtual = \"\\ue964\",\n  MediaStorageTower = \"\\ue965\",\n  ReturnKeySm = \"\\ue966\",\n  GameConsole = \"\\ue967\",\n  Network = \"\\ue968\",\n  StorageNetworkWireless = \"\\ue969\",\n  StorageTape = \"\\ue96a\",\n  ChevronUpSmall = \"\\ue96d\",\n  ChevronDownSmall = \"\\ue96e\",\n  ChevronLeftSmall = \"\\ue96f\",\n  ChevronRightSmall = \"\\ue970\",\n  ChevronUpMed = \"\\ue971\",\n  ChevronDownMed = \"\\ue972\",\n  ChevronLeftMed = \"\\ue973\",\n  ChevronRightMed = \"\\ue974\",\n  Devices2 = \"\\ue975\",\n  ExpandTile = \"\\ue976\",\n  PC1 = \"\\ue977\",\n  PresenceChicklet = \"\\ue978\",\n  PresenceChickletVideo = \"\\ue979\",\n  Reply = \"\\ue97a\",\n  SetTile = \"\\ue97b\",\n  Type = \"\\ue97c\",\n  Korean = \"\\ue97d\",\n  HalfAlpha = \"\\ue97e\",\n  FullAlpha = \"\\ue97f\",\n  Key12On = \"\\ue980\",\n  ChineseChangjie = \"\\ue981\",\n  QWERTYOn = \"\\ue982\",\n  QWERTYOff = \"\\ue983\",\n  ChineseQuick = \"\\ue984\",\n  Japanese = \"\\ue985\",\n  FullHiragana = \"\\ue986\",\n  FullKatakana = \"\\ue987\",\n  HalfKatakana = \"\\ue988\",\n  ChineseBoPoMoFo = \"\\ue989\",\n  ChinesePinyin = \"\\ue98a\",\n  ConstructionCone = \"\\ue98f\",\n  XboxOneConsole = \"\\ue990\",\n  Volume0 = \"\\ue992\",\n  Volume1 = \"\\ue993\",\n  Volume2 = \"\\ue994\",\n  Volume3 = \"\\ue995\",\n  BatteryUnknown = \"\\ue996\",\n  WifiAttentionOverlay = \"\\ue998\",\n  Robot = \"\\ue99a\",\n  TapAndSend = \"\\ue9a1\",\n  FitPage = \"\\ue9a6\",\n  PasswordKeyShow = \"\\ue9a8\",\n  PasswordKeyHide = \"\\ue9a9\",\n  BidiLtr = \"\\ue9aa\",\n  BidiRtl = \"\\ue9ab\",\n  ForwardSm = \"\\ue9ac\",\n  CommaKey = \"\\ue9ad\",\n  DashKey = \"\\ue9ae\",\n  DullSoundKey = \"\\ue9af\",\n  HalfDullSound = \"\\ue9b0\",\n  RightDoubleQuote = \"\\ue9b1\",\n  LeftDoubleQuote = \"\\ue9b2\",\n  PuncKeyRightBottom = \"\\ue9b3\",\n  PuncKey1 = \"\\ue9b4\",\n  PuncKey2 = \"\\ue9b5\",\n  PuncKey3 = \"\\ue9b6\",\n  PuncKey4 = \"\\ue9b7\",\n  PuncKey5 = \"\\ue9b8\",\n  PuncKey6 = \"\\ue9b9\",\n  PuncKey9 = \"\\ue9ba\",\n  PuncKey7 = \"\\ue9bb\",\n  PuncKey8 = \"\\ue9bc\",\n  Frigid = \"\\ue9ca\",\n  Unknown = \"\\ue9ce\",\n  AreaChart = \"\\ue9d2\",\n  CheckList = \"\\ue9d5\",\n  Diagnostic = \"\\ue9d9\",\n  Equalizer = \"\\ue9e9\",\n  Process = \"\\ue9f3\",\n  Processing = \"\\ue9f5\",\n  ReportDocument = \"\\ue9f9\",\n  VideoSolid = \"\\uea0c\",\n  MixedMediaBadge = \"\\uea0d\",\n  DisconnectDisplay = \"\\uea14\",\n  Shield = \"\\uea18\",\n  Info2 = \"\\uea1f\",\n  ActionCenterAsterisk = \"\\uea21\",\n  Beta = \"\\uea24\",\n  SaveCopy = \"\\uea35\",\n  List = \"\\uea37\",\n  Asterisk = \"\\uea38\",\n  ErrorBadge = \"\\uea39\",\n  CircleRing = \"\\uea3a\",\n  CircleFill = \"\\uea3b\",\n  MergeCall = \"\\uea3c\",\n  PrivateCall = \"\\uea3d\",\n  Record2 = \"\\uea3f\",\n  AllAppsMirrored = \"\\uea40\",\n  BookmarksMirrored = \"\\uea41\",\n  BulletedListMirrored = \"\\uea42\",\n  CallForwardInternationalMirrored = \"\\uea43\",\n  CallForwardRoamingMirrored = \"\\uea44\",\n  ChromeBackMirrored = \"\\uea47\",\n  ClearSelectionMirrored = \"\\uea48\",\n  ClosePaneMirrored = \"\\uea49\",\n  ContactInfoMirrored = \"\\uea4a\",\n  DockRightMirrored = \"\\uea4b\",\n  DockLeftMirrored = \"\\uea4c\",\n  ExpandTileMirrored = \"\\uea4e\",\n  GoMirrored = \"\\uea4f\",\n  GripperResizeMirrored = \"\\uea50\",\n  HelpMirrored = \"\\uea51\",\n  ImportMirrored = \"\\uea52\",\n  ImportAllMirrored = \"\\uea53\",\n  LeaveChatMirrored = \"\\uea54\",\n  ListMirrored = \"\\uea55\",\n  MailForwardMirrored = \"\\uea56\",\n  MailReplyMirrored = \"\\uea57\",\n  MailReplyAllMirrored = \"\\uea58\",\n  OpenPaneMirrored = \"\\uea5b\",\n  OpenWithMirrored = \"\\uea5c\",\n  ParkingLocationMirrored = \"\\uea5e\",\n  ResizeMouseMediumMirrored = \"\\uea5f\",\n  ResizeMouseSmallMirrored = \"\\uea60\",\n  ResizeMouseTallMirrored = \"\\uea61\",\n  ResizeTouchNarrowerMirrored = \"\\uea62\",\n  SendMirrored = \"\\uea63\",\n  SendFillMirrored = \"\\uea64\",\n  ShowResultsMirrored = \"\\uea65\",\n  Media = \"\\uea69\",\n  SyncError = \"\\uea6a\",\n  Devices3 = \"\\uea6c\",\n  SlowMotionOn = \"\\uea79\",\n  Lightbulb = \"\\uea80\",\n  StatusCircle = \"\\uea81\",\n  StatusTriangle = \"\\uea82\",\n  StatusError = \"\\uea83\",\n  StatusWarning = \"\\uea84\",\n  Puzzle = \"\\uea86\",\n  CalendarSolid = \"\\uea89\",\n  HomeSolid = \"\\uea8a\",\n  ParkingLocationSolid = \"\\uea8b\",\n  ContactSolid = \"\\uea8c\",\n  ConstructionSolid = \"\\uea8d\",\n  AccidentSolid = \"\\uea8e\",\n  Ringer = \"\\uea8f\",\n  PDF = \"\\uea90\",\n  ThoughtBubble = \"\\uea91\",\n  HeartBroken = \"\\uea92\",\n  BatteryCharging10 = \"\\uea93\",\n  BatterySaver9 = \"\\uea94\",\n  BatterySaver10 = \"\\uea95\",\n  CallForwardingMirrored = \"\\uea97\",\n  MultiSelectMirrored = \"\\uea98\",\n  Broom = \"\\uea99\",\n  ForwardCall = \"\\ueac2\",\n  Trackers = \"\\ueadf\",\n  Market = \"\\ueafc\",\n  PieSingle = \"\\ueb05\",\n  StockDown = \"\\ueb0f\",\n  StockUp = \"\\ueb11\",\n  Design = \"\\ueb3c\",\n  Website = \"\\ueb41\",\n  Drop = \"\\ueb42\",\n  Radar = \"\\ueb44\",\n  BusSolid = \"\\ueb47\",\n  FerrySolid = \"\\ueb48\",\n  StartPointSolid = \"\\ueb49\",\n  StopPointSolid = \"\\ueb4a\",\n  EndPointSolid = \"\\ueb4b\",\n  AirplaneSolid = \"\\ueb4c\",\n  TrainSolid = \"\\ueb4d\",\n  WorkSolid = \"\\ueb4e\",\n  ReminderFill = \"\\ueb4f\",\n  Reminder = \"\\ueb50\",\n  Heart = \"\\ueb51\",\n  HeartFill = \"\\ueb52\",\n  EthernetError = \"\\ueb55\",\n  EthernetWarning = \"\\ueb56\",\n  StatusConnecting1 = \"\\ueb57\",\n  StatusConnecting2 = \"\\ueb58\",\n  StatusUnsecure = \"\\ueb59\",\n  WifiError0 = \"\\ueb5a\",\n  WifiError1 = \"\\ueb5b\",\n  WifiError2 = \"\\ueb5c\",\n  WifiError3 = \"\\ueb5d\",\n  WifiError4 = \"\\ueb5e\",\n  WifiWarning0 = \"\\ueb5f\",\n  WifiWarning1 = \"\\ueb60\",\n  WifiWarning2 = \"\\ueb61\",\n  WifiWarning3 = \"\\ueb62\",\n  WifiWarning4 = \"\\ueb63\",\n  Devices4 = \"\\ueb66\",\n  NUIIris = \"\\ueb67\",\n  NUIFace = \"\\ueb68\",\n  GatewayRouter = \"\\ueb77\",\n  EditMirrored = \"\\ueb7e\",\n  NUIFPStartSlideHand = \"\\ueb82\",\n  NUIFPStartSlideAction = \"\\ueb83\",\n  NUIFPContinueSlideHand = \"\\ueb84\",\n  NUIFPContinueSlideAction = \"\\ueb85\",\n  NUIFPRollRightHand = \"\\ueb86\",\n  NUIFPRollRightHandAction = \"\\ueb87\",\n  NUIFPRollLeftHand = \"\\ueb88\",\n  NUIFPRollLeftAction = \"\\ueb89\",\n  NUIFPPressHand = \"\\ueb8a\",\n  NUIFPPressAction = \"\\ueb8b\",\n  NUIFPPressRepeatHand = \"\\ueb8c\",\n  NUIFPPressRepeatAction = \"\\ueb8d\",\n  StatusErrorFull = \"\\ueb90\",\n  TaskViewExpanded = \"\\ueb91\",\n  Certificate = \"\\ueb95\",\n  BackSpaceQWERTYLg = \"\\ueb96\",\n  ReturnKeyLg = \"\\ueb97\",\n  FastForward = \"\\ueb9d\",\n  Rewind = \"\\ueb9e\",\n  Photo2 = \"\\ueb9f\",\n  MobBattery0 = \"\\ueba0\",\n  MobBattery1 = \"\\ueba1\",\n  MobBattery2 = \"\\ueba2\",\n  MobBattery3 = \"\\ueba3\",\n  MobBattery4 = \"\\ueba4\",\n  MobBattery5 = \"\\ueba5\",\n  MobBattery6 = \"\\ueba6\",\n  MobBattery7 = \"\\ueba7\",\n  MobBattery8 = \"\\ueba8\",\n  MobBattery9 = \"\\ueba9\",\n  MobBattery10 = \"\\uebaa\",\n  MobBatteryCharging0 = \"\\uebab\",\n  MobBatteryCharging1 = \"\\uebac\",\n  MobBatteryCharging2 = \"\\uebad\",\n  MobBatteryCharging3 = \"\\uebae\",\n  MobBatteryCharging4 = \"\\uebaf\",\n  MobBatteryCharging5 = \"\\uebb0\",\n  MobBatteryCharging6 = \"\\uebb1\",\n  MobBatteryCharging7 = \"\\uebb2\",\n  MobBatteryCharging8 = \"\\uebb3\",\n  MobBatteryCharging9 = \"\\uebb4\",\n  MobBatteryCharging10 = \"\\uebb5\",\n  MobBatterySaver0 = \"\\uebb6\",\n  MobBatterySaver1 = \"\\uebb7\",\n  MobBatterySaver2 = \"\\uebb8\",\n  MobBatterySaver3 = \"\\uebb9\",\n  MobBatterySaver4 = \"\\uebba\",\n  MobBatterySaver5 = \"\\uebbb\",\n  MobBatterySaver6 = \"\\uebbc\",\n  MobBatterySaver7 = \"\\uebbd\",\n  MobBatterySaver8 = \"\\uebbe\",\n  MobBatterySaver9 = \"\\uebbf\",\n  MobBatterySaver10 = \"\\uebc0\",\n  DictionaryCloud = \"\\uebc3\",\n  ResetDrive = \"\\uebc4\",\n  VolumeBars = \"\\uebc5\",\n  Project = \"\\uebc6\",\n  AdjustHologram = \"\\uebd2\",\n  CloudDownload = \"\\uebd3\",\n  MobWifiCallBars = \"\\uebd4\",\n  MobWifiCall0 = \"\\uebd5\",\n  MobWifiCall1 = \"\\uebd6\",\n  MobWifiCall2 = \"\\uebd7\",\n  MobWifiCall3 = \"\\uebd8\",\n  MobWifiCall4 = \"\\uebd9\",\n  Family = \"\\uebda\",\n  LockFeedback = \"\\uebdb\",\n  DeviceDiscovery = \"\\uebde\",\n  WindDirection = \"\\uebe6\",\n  RightArrowKeyTime0 = \"\\uebe7\",\n  Bug = \"\\uebe8\",\n  TabletMode = \"\\uebfc\",\n  StatusCircleLeft = \"\\uebfd\",\n  StatusTriangleLeft = \"\\uebfe\",\n  StatusErrorLeft = \"\\uebff\",\n  StatusWarningLeft = \"\\uec00\",\n  MobBatteryUnknown = \"\\uec02\",\n  NetworkTower = \"\\uec05\",\n  CityNext = \"\\uec06\",\n  CityNext2 = \"\\uec07\",\n  Courthouse = \"\\uec08\",\n  Groceries = \"\\uec09\",\n  Sustainable = \"\\uec0a\",\n  BuildingEnergy = \"\\uec0b\",\n  ToggleFilled = \"\\uec11\",\n  ToggleBorder = \"\\uec12\",\n  SliderThumb = \"\\uec13\",\n  ToggleThumb = \"\\uec14\",\n  MiracastLogoSmall = \"\\uec15\",\n  MiracastLogoLarge = \"\\uec16\",\n  PLAP = \"\\uec19\",\n  Badge = \"\\uec1b\",\n  SignalRoaming = \"\\uec1e\",\n  MobileLocked = \"\\uec20\",\n  InsiderHubApp = \"\\uec24\",\n  PersonalFolder = \"\\uec25\",\n  HomeGroup = \"\\uec26\",\n  MyNetwork = \"\\uec27\",\n  KeyboardFull = \"\\uec31\",\n  Cafe = \"\\uec32\",\n  MobSignal1 = \"\\uec37\",\n  MobSignal2 = \"\\uec38\",\n  MobSignal3 = \"\\uec39\",\n  MobSignal4 = \"\\uec3a\",\n  MobSignal5 = \"\\uec3b\",\n  MobWifi1 = \"\\uec3c\",\n  MobWifi2 = \"\\uec3d\",\n  MobWifi3 = \"\\uec3e\",\n  MobWifi4 = \"\\uec3f\",\n  MobAirplane = \"\\uec40\",\n  MobBluetooth = \"\\uec41\",\n  MobActionCenter = \"\\uec42\",\n  MobLocation = \"\\uec43\",\n  MobWifiHotspot = \"\\uec44\",\n  LanguageJpn = \"\\uec45\",\n  MobQuietHours = \"\\uec46\",\n  MobDrivingMode = \"\\uec47\",\n  SpeedOff = \"\\uec48\",\n  SpeedMedium = \"\\uec49\",\n  SpeedHigh = \"\\uec4a\",\n  ThisPC = \"\\uec4e\",\n  MusicNote = \"\\uec4f\",\n  FileExplorer = \"\\uec50\",\n  FileExplorerApp = \"\\uec51\",\n  LeftArrowKeyTime0 = \"\\uec52\",\n  MicOff = \"\\uec54\",\n  MicSleep = \"\\uec55\",\n  MicError = \"\\uec56\",\n  PlaybackRate1x = \"\\uec57\",\n  PlaybackRateOther = \"\\uec58\",\n  CashDrawer = \"\\uec59\",\n  BarcodeScanner = \"\\uec5a\",\n  ReceiptPrinter = \"\\uec5b\",\n  MagStripeReader = \"\\uec5c\",\n  CompletedSolid = \"\\uec61\",\n  CompanionApp = \"\\uec64\",\n  Favicon2 = \"\\uec6c\",\n  SwipeRevealArt = \"\\uec6d\",\n  MicOn = \"\\uec71\",\n  MicClipping = \"\\uec72\",\n  TabletSelected = \"\\uec74\",\n  MobileSelected = \"\\uec75\",\n  LaptopSelected = \"\\uec76\",\n  TVMonitorSelected = \"\\uec77\",\n  DeveloperTools = \"\\uec7a\",\n  MobCallForwarding = \"\\uec7e\",\n  MobCallForwardingMirrored = \"\\uec7f\",\n  BodyCam = \"\\uec80\",\n  PoliceCar = \"\\uec81\",\n  Draw = \"\\uec87\",\n  DrawSolid = \"\\uec88\",\n  LowerBrightness = \"\\uec8a\",\n  ScrollUpDown = \"\\uec8f\",\n  DateTime = \"\\uec92\",\n  HoloLens = \"\\uec94\",\n  Tiles = \"\\ueca5\",\n  PartyLeader = \"\\ueca7\",\n  AppIconDefault = \"\\uecaa\",\n  Calories = \"\\uecad\",\n  POI = \"\\uecaf\",\n  BandBattery0 = \"\\uecb9\",\n  BandBattery1 = \"\\uecba\",\n  BandBattery2 = \"\\uecbb\",\n  BandBattery3 = \"\\uecbc\",\n  BandBattery4 = \"\\uecbd\",\n  BandBattery5 = \"\\uecbe\",\n  BandBattery6 = \"\\uecbf\",\n  AddSurfaceHub = \"\\uecc4\",\n  DevUpdate = \"\\uecc5\",\n  Unit = \"\\uecc6\",\n  AddTo = \"\\uecc8\",\n  RemoveFrom = \"\\uecc9\",\n  RadioBtnOff = \"\\uecca\",\n  RadioBtnOn = \"\\ueccb\",\n  RadioBullet2 = \"\\ueccc\",\n  ExploreContent = \"\\ueccd\",\n  Blocked2 = \"\\uece4\",\n  ScrollMode = \"\\uece7\",\n  ZoomMode = \"\\uece8\",\n  PanMode = \"\\uece9\",\n  WiredUSB = \"\\uecf0\",\n  WirelessUSB = \"\\uecf1\",\n  USBSafeConnect = \"\\uecf3\",\n  ActionCenterNotificationMirrored = \"\\ued0c\",\n  ActionCenterMirrored = \"\\ued0d\",\n  SubscriptionAdd = \"\\ued0e\",\n  ResetDevice = \"\\ued10\",\n  SubscriptionAddMirrored = \"\\ued11\",\n  QRCode = \"\\ued14\",\n  Feedback = \"\\ued15\",\n  Hide = \"\\ued1a\",\n  Subtitles = \"\\ued1e\",\n  SubtitlesAudio = \"\\ued1f\",\n  OpenFolderHorizontal = \"\\ued25\",\n  CalendarMirrored = \"\\ued28\",\n  MobeSIM = \"\\ued2a\",\n  MobeSIMNoProfile = \"\\ued2b\",\n  MobeSIMLocked = \"\\ued2c\",\n  MobeSIMBusy = \"\\ued2d\",\n  SignalError = \"\\ued2e\",\n  StreamingEnterprise = \"\\ued2f\",\n  Headphone0 = \"\\ued30\",\n  Headphone1 = \"\\ued31\",\n  Headphone2 = \"\\ued32\",\n  Headphone3 = \"\\ued33\",\n  Apps = \"\\ued35\",\n  KeyboardBrightness = \"\\ued39\",\n  KeyboardLowerBrightness = \"\\ued3a\",\n  SkipBack10 = \"\\ued3c\",\n  SkipForward30 = \"\\ued3d\",\n  TreeFolderFolder = \"\\ued41\",\n  TreeFolderFolderFill = \"\\ued42\",\n  TreeFolderFolderOpen = \"\\ued43\",\n  TreeFolderFolderOpenFill = \"\\ued44\",\n  MultimediaDMP = \"\\ued47\",\n  KeyboardOneHanded = \"\\ued4c\",\n  Narrator = \"\\ued4d\",\n  EmojiTabPeople = \"\\ued53\",\n  EmojiTabSmilesAnimals = \"\\ued54\",\n  EmojiTabCelebrationObjects = \"\\ued55\",\n  EmojiTabFoodPlants = \"\\ued56\",\n  EmojiTabTransitPlaces = \"\\ued57\",\n  EmojiTabSymbols = \"\\ued58\",\n  EmojiTabTextSmiles = \"\\ued59\",\n  EmojiTabFavorites = \"\\ued5a\",\n  EmojiSwatch = \"\\ued5b\",\n  ConnectApp = \"\\ued5c\",\n  CompanionDeviceFramework = \"\\ued5d\",\n  Ruler = \"\\ued5e\",\n  FingerInking = \"\\ued5f\",\n  StrokeErase = \"\\ued60\",\n  PointErase = \"\\ued61\",\n  ClearAllInk = \"\\ued62\",\n  Pencil = \"\\ued63\",\n  Marker = \"\\ued64\",\n  InkingCaret = \"\\ued65\",\n  InkingColorOutline = \"\\ued66\",\n  InkingColorFill = \"\\ued67\",\n  HardDrive = \"\\ueda2\",\n  NetworkAdapter = \"\\ueda3\",\n  Touchscreen = \"\\ueda4\",\n  NetworkPrinter = \"\\ueda5\",\n  CloudPrinter = \"\\ueda6\",\n  KeyboardShortcut = \"\\ueda7\",\n  BrushSize = \"\\ueda8\",\n  NarratorForward = \"\\ueda9\",\n  NarratorForwardMirrored = \"\\uedaa\",\n  SyncBadge12 = \"\\uedab\",\n  RingerBadge12 = \"\\uedac\",\n  AsteriskBadge12 = \"\\uedad\",\n  ErrorBadge12 = \"\\uedae\",\n  CircleRingBadge12 = \"\\uedaf\",\n  CircleFillBadge12 = \"\\uedb0\",\n  ImportantBadge12 = \"\\uedb1\",\n  MailBadge12 = \"\\uedb3\",\n  PauseBadge12 = \"\\uedb4\",\n  PlayBadge12 = \"\\uedb5\",\n  PenWorkspace = \"\\uedc6\",\n  CaretLeft8 = \"\\uedd5\",\n  CaretRight8 = \"\\uedd6\",\n  CaretUp8 = \"\\uedd7\",\n  CaretDown8 = \"\\uedd8\",\n  CaretLeftSolid8 = \"\\uedd9\",\n  CaretRightSolid8 = \"\\uedda\",\n  CaretUpSolid8 = \"\\ueddb\",\n  CaretDownSolid8 = \"\\ueddc\",\n  Strikethrough = \"\\uede0\",\n  Export = \"\\uede1\",\n  ExportMirrored = \"\\uede2\",\n  ButtonMenu = \"\\uede3\",\n  CloudSearch = \"\\uede4\",\n  PinyinIMELogo = \"\\uede5\",\n  CalligraphyPen = \"\\uedfb\",\n  ReplyMirrored = \"\\uee35\",\n  LockscreenDesktop = \"\\uee3f\",\n  TaskViewSettings = \"\\uee40\",\n  MiniExpand2Mirrored = \"\\uee47\",\n  MiniContract2Mirrored = \"\\uee49\",\n  Play36 = \"\\uee4a\",\n  PenPalette = \"\\uee56\",\n  GuestUser = \"\\uee57\",\n  SettingsBattery = \"\\uee63\",\n  TaskbarPhone = \"\\uee64\",\n  LockScreenGlance = \"\\uee65\",\n  GenericScan = \"\\uee6f\",\n  ImageExport = \"\\uee71\",\n  WifiEthernet = \"\\uee77\",\n  ActionCenterQuiet = \"\\uee79\",\n  ActionCenterQuietNotification = \"\\uee7a\",\n  TrackersMirrored = \"\\uee92\",\n  DateTimeMirrored = \"\\uee93\",\n  Wheel = \"\\uee94\",\n  VirtualMachineGroup = \"\\ueea3\",\n  ButtonView2 = \"\\ueeca\",\n  PenWorkspaceMirrored = \"\\uef15\",\n  PenPaletteMirrored = \"\\uef16\",\n  StrokeEraseMirrored = \"\\uef17\",\n  PointEraseMirrored = \"\\uef18\",\n  ClearAllInkMirrored = \"\\uef19\",\n  BackgroundToggle = \"\\uef1f\",\n  Marquee = \"\\uef20\",\n  ChromeCloseContrast = \"\\uef2c\",\n  ChromeMinimizeContrast = \"\\uef2d\",\n  ChromeMaximizeContrast = \"\\uef2e\",\n  ChromeRestoreContrast = \"\\uef2f\",\n  TrafficLight = \"\\uef31\",\n  Replay = \"\\uef3b\",\n  Eyedropper = \"\\uef3c\",\n  LineDisplay = \"\\uef3d\",\n  PINPad = \"\\uef3e\",\n  SignatureCapture = \"\\uef3f\",\n  ChipCardCreditCardReader = \"\\uef40\",\n  MarketDown = \"\\uef42\",\n  PlayerSettings = \"\\uef58\",\n  LandscapeOrientation = \"\\uef6b\",\n  Flow = \"\\uef90\",\n  Touchpad = \"\\uefa5\",\n  Speech = \"\\uefa9\",\n  KnowledgeArticle = \"\\uf000\",\n  Relationship = \"\\uf003\",\n  ZipFolder = \"\\uf012\",\n  DefaultAPN = \"\\uf080\",\n  UserAPN = \"\\uf081\",\n  DoublePinyin = \"\\uf085\",\n  BlueLight = \"\\uf08c\",\n  CaretSolidLeft = \"\\uf08d\",\n  CaretSolidDown = \"\\uf08e\",\n  CaretSolidRight = \"\\uf08f\",\n  CaretSolidUp = \"\\uf090\",\n  ButtonA = \"\\uf093\",\n  ButtonB = \"\\uf094\",\n  ButtonY = \"\\uf095\",\n  ButtonX = \"\\uf096\",\n  ArrowUp8 = \"\\uf0ad\",\n  ArrowDown8 = \"\\uf0ae\",\n  ArrowRight8 = \"\\uf0af\",\n  ArrowLeft8 = \"\\uf0b0\",\n  QuarentinedItems = \"\\uf0b2\",\n  QuarentinedItemsMirrored = \"\\uf0b3\",\n  Protractor = \"\\uf0b4\",\n  ChecklistMirrored = \"\\uf0b5\",\n  StatusCircle7 = \"\\uf0b6\",\n  StatusCheckmark7 = \"\\uf0b7\",\n  StatusErrorCircle7 = \"\\uf0b8\",\n  Connected = \"\\uf0b9\",\n  PencilFill = \"\\uf0c6\",\n  CalligraphyFill = \"\\uf0c7\",\n  QuarterStarLeft = \"\\uf0ca\",\n  QuarterStarRight = \"\\uf0cb\",\n  ThreeQuarterStarLeft = \"\\uf0cc\",\n  ThreeQuarterStarRight = \"\\uf0cd\",\n  QuietHoursBadge12 = \"\\uf0ce\",\n  BackMirrored = \"\\uf0d2\",\n  ForwardMirrored = \"\\uf0d3\",\n  ChromeBackContrast = \"\\uf0d5\",\n  ChromeBackContrastMirrored = \"\\uf0d6\",\n  ChromeBackToWindowContrast = \"\\uf0d7\",\n  ChromeFullScreenContrast = \"\\uf0d8\",\n  GridView = \"\\uf0e2\",\n  ClipboardList = \"\\uf0e3\",\n  ClipboardListMirrored = \"\\uf0e4\",\n  OutlineQuarterStarLeft = \"\\uf0e5\",\n  OutlineQuarterStarRight = \"\\uf0e6\",\n  OutlineHalfStarLeft = \"\\uf0e7\",\n  OutlineHalfStarRight = \"\\uf0e8\",\n  OutlineThreeQuarterStarLeft = \"\\uf0e9\",\n  OutlineThreeQuarterStarRight = \"\\uf0ea\",\n  SpatialVolume0 = \"\\uf0eb\",\n  SpatialVolume1 = \"\\uf0ec\",\n  SpatialVolume2 = \"\\uf0ed\",\n  SpatialVolume3 = \"\\uf0ee\",\n  ApplicationGuard = \"\\uf0ef\",\n  OutlineStarLeftHalf = \"\\uf0f7\",\n  OutlineStarRightHalf = \"\\uf0f8\",\n  ChromeAnnotateContrast = \"\\uf0f9\",\n  DefenderBadge12 = \"\\uf0fb\",\n  DetachablePC = \"\\uf103\",\n  LeftStick = \"\\uf108\",\n  RightStick = \"\\uf109\",\n  TriggerLeft = \"\\uf10a\",\n  TriggerRight = \"\\uf10b\",\n  BumperLeft = \"\\uf10c\",\n  BumperRight = \"\\uf10d\",\n  Dpad = \"\\uf10e\",\n  EnglishPunctuation = \"\\uf110\",\n  ChinesePunctuation = \"\\uf111\",\n  HMD = \"\\uf119\",\n  CtrlSpatialRight = \"\\uf11b\",\n  PaginationDotOutline10 = \"\\uf126\",\n  PaginationDotSolid10 = \"\\uf127\",\n  StrokeErase2 = \"\\uf128\",\n  SmallErase = \"\\uf129\",\n  LargeErase = \"\\uf12a\",\n  FolderHorizontal = \"\\uf12b\",\n  MicrophoneListening = \"\\uf12e\",\n  StatusExclamationCircle7 = \"\\uf12f\",\n  Video360 = \"\\uf131\",\n  GiftboxOpen = \"\\uf133\",\n  StatusCircleOuter = \"\\uf136\",\n  StatusCircleInner = \"\\uf137\",\n  StatusCircleRing = \"\\uf138\",\n  StatusTriangleOuter = \"\\uf139\",\n  StatusTriangleInner = \"\\uf13a\",\n  StatusTriangleExclamation = \"\\uf13b\",\n  StatusCircleExclamation = \"\\uf13c\",\n  StatusCircleErrorX = \"\\uf13d\",\n  StatusCircleCheckmark = \"\\uf13e\",\n  StatusCircleInfo = \"\\uf13f\",\n  StatusCircleBlock = \"\\uf140\",\n  StatusCircleBlock2 = \"\\uf141\",\n  StatusCircleQuestionMark = \"\\uf142\",\n  StatusCircleSync = \"\\uf143\",\n  Dial1 = \"\\uf146\",\n  Dial2 = \"\\uf147\",\n  Dial3 = \"\\uf148\",\n  Dial4 = \"\\uf149\",\n  Dial5 = \"\\uf14a\",\n  Dial6 = \"\\uf14b\",\n  Dial7 = \"\\uf14c\",\n  Dial8 = \"\\uf14d\",\n  Dial9 = \"\\uf14e\",\n  Dial10 = \"\\uf14f\",\n  Dial11 = \"\\uf150\",\n  Dial12 = \"\\uf151\",\n  Dial13 = \"\\uf152\",\n  Dial14 = \"\\uf153\",\n  Dial15 = \"\\uf154\",\n  Dial16 = \"\\uf155\",\n  DialShape1 = \"\\uf156\",\n  DialShape2 = \"\\uf157\",\n  DialShape3 = \"\\uf158\",\n  DialShape4 = \"\\uf159\",\n  ClosedCaptionsInternational = \"\\uf15f\",\n  TollSolid = \"\\uf161\",\n  TrafficCongestionSolid = \"\\uf163\",\n  ExploreContentSingle = \"\\uf164\",\n  CollapseContent = \"\\uf165\",\n  CollapseContentSingle = \"\\uf166\",\n  InfoSolid = \"\\uf167\",\n  GroupList = \"\\uf168\",\n  CaretBottomRightSolidCenter8 = \"\\uf169\",\n  ProgressRingDots = \"\\uf16a\",\n  Checkbox14 = \"\\uf16b\",\n  CheckboxComposite14 = \"\\uf16c\",\n  CheckboxIndeterminateCombo14 = \"\\uf16d\",\n  CheckboxIndeterminateCombo = \"\\uf16e\",\n  StatusPause7 = \"\\uf175\",\n  CharacterAppearance = \"\\uf17f\",\n  Lexicon = \"\\uf180\",\n  ScreenTime = \"\\uf182\",\n  HeadlessDevice = \"\\uf191\",\n  NetworkSharing = \"\\uf193\",\n  EyeGaze = \"\\uf19d\",\n  ToggleLeft = \"\\uf19e\",\n  ToggleRight = \"\\uf19f\",\n  WindowsInsider = \"\\uf1ad\",\n  ChromeSwitch = \"\\uf1cb\",\n  ChromeSwitchContast = \"\\uf1cc\",\n  StatusCheckmark = \"\\uf1d8\",\n  StatusCheckmarkLeft = \"\\uf1d9\",\n  KeyboardLeftAligned = \"\\uf20c\",\n  KeyboardRightAligned = \"\\uf20d\",\n  KeyboardSettings = \"\\uf210\",\n  NetworkPhysical = \"\\uf211\",\n  IOT = \"\\uf22c\",\n  UnknownMirrored = \"\\uf22e\",\n  ViewDashboard = \"\\uf246\",\n  ExploitProtectionSettings = \"\\uf259\",\n  KeyboardNarrow = \"\\uf260\",\n  Keyboard12Key = \"\\uf261\",\n  KeyboardDock = \"\\uf26b\",\n  KeyboardUndock = \"\\uf26c\",\n  KeyboardLeftDock = \"\\uf26d\",\n  KeyboardRightDock = \"\\uf26e\",\n  Ear = \"\\uf270\",\n  PointerHand = \"\\uf271\",\n  Bullseye = \"\\uf272\",\n  DocumentApproval = \"\\uf28b\",\n  LocaleLanguage = \"\\uf2b7\",\n  PassiveAuthentication = \"\\uf32a\",\n  ColorSolid = \"\\uf354\",\n  NetworkOffline = \"\\uf384\",\n  NetworkConnected = \"\\uf385\",\n  NetworkConnectedCheckmark = \"\\uf386\",\n  SignOut = \"\\uf3b1\",\n  StatusInfo = \"\\uf3cc\",\n  StatusInfoLeft = \"\\uf3cd\",\n  NearbySharing = \"\\uf3e2\",\n  CtrlSpatialLeft = \"\\uf3e7\",\n  InteractiveDashboard = \"\\uf404\",\n  DeclineCall = \"\\uf405\",\n  ClippingTool = \"\\uf406\",\n  RectangularClipping = \"\\uf407\",\n  FreeFormClipping = \"\\uf408\",\n  CopyTo = \"\\uf413\",\n  IDBadge = \"\\uf427\",\n  DynamicLock = \"\\uf439\",\n  PenTips = \"\\uf45e\",\n  PenTipsMirrored = \"\\uf45f\",\n  HWPJoin = \"\\uf460\",\n  HWPInsert = \"\\uf461\",\n  HWPStrikeThrough = \"\\uf462\",\n  HWPScratchOut = \"\\uf463\",\n  HWPSplit = \"\\uf464\",\n  HWPNewLine = \"\\uf465\",\n  HWPOverwrite = \"\\uf466\",\n  MobWifiWarning1 = \"\\uf473\",\n  MobWifiWarning2 = \"\\uf474\",\n  MobWifiWarning3 = \"\\uf475\",\n  MobWifiWarning4 = \"\\uf476\",\n  MicLocationCombo = \"\\uf47f\",\n  Globe2 = \"\\uf49a\",\n  SpecialEffectSize = \"\\uf4a5\",\n  GIF = \"\\uf4a9\",\n  Sticker2 = \"\\uf4aa\",\n  SurfaceHubSelected = \"\\uf4be\",\n  HoloLensSelected = \"\\uf4bf\",\n  Earbud = \"\\uf4c0\",\n  MixVolumes = \"\\uf4c3\",\n  Safe = \"\\uf540\",\n  LaptopSecure = \"\\uf552\",\n  PrintDefault = \"\\uf56d\",\n  PageMirrored = \"\\uf56e\",\n  LandscapeOrientationMirrored = \"\\uf56f\",\n  ColorOff = \"\\uf570\",\n  PrintAllPages = \"\\uf571\",\n  PrintCustomRange = \"\\uf572\",\n  PageMarginPortraitNarrow = \"\\uf573\",\n  PageMarginPortraitNormal = \"\\uf574\",\n  PageMarginPortraitModerate = \"\\uf575\",\n  PageMarginPortraitWide = \"\\uf576\",\n  PageMarginLandscapeNarrow = \"\\uf577\",\n  PageMarginLandscapeNormal = \"\\uf578\",\n  PageMarginLandscapeModerate = \"\\uf579\",\n  PageMarginLandscapeWide = \"\\uf57a\",\n  CollateLandscape = \"\\uf57b\",\n  CollatePortrait = \"\\uf57c\",\n  CollatePortraitSeparated = \"\\uf57d\",\n  DuplexLandscapeOneSided = \"\\uf57e\",\n  DuplexLandscapeOneSidedMirrored = \"\\uf57f\",\n  DuplexLandscapeTwoSidedLongEdge = \"\\uf580\",\n  DuplexLandscapeTwoSidedLongEdgeMirrored = \"\\uf581\",\n  DuplexLandscapeTwoSidedShortEdge = \"\\uf582\",\n  DuplexLandscapeTwoSidedShortEdgeMirrored = \"\\uf583\",\n  DuplexPortraitOneSided = \"\\uf584\",\n  DuplexPortraitOneSidedMirrored = \"\\uf585\",\n  DuplexPortraitTwoSidedLongEdge = \"\\uf586\",\n  DuplexPortraitTwoSidedLongEdgeMirrored = \"\\uf587\",\n  DuplexPortraitTwoSidedShortEdge = \"\\uf588\",\n  DuplexPortraitTwoSidedShortEdgeMirrored = \"\\uf589\",\n  PPSOneLandscape = \"\\uf58a\",\n  PPSTwoLandscape = \"\\uf58b\",\n  PPSTwoPortrait = \"\\uf58c\",\n  PPSFourLandscape = \"\\uf58d\",\n  PPSFourPortrait = \"\\uf58e\",\n  HolePunchOff = \"\\uf58f\",\n  HolePunchPortraitLeft = \"\\uf590\",\n  HolePunchPortraitRight = \"\\uf591\",\n  HolePunchPortraitTop = \"\\uf592\",\n  HolePunchPortraitBottom = \"\\uf593\",\n  HolePunchLandscapeLeft = \"\\uf594\",\n  HolePunchLandscapeRight = \"\\uf595\",\n  HolePunchLandscapeTop = \"\\uf596\",\n  HolePunchLandscapeBottom = \"\\uf597\",\n  StaplingOff = \"\\uf598\",\n  StaplingPortraitTopLeft = \"\\uf599\",\n  StaplingPortraitTopRight = \"\\uf59a\",\n  StaplingPortraitBottomRight = \"\\uf59b\",\n  StaplingPortraitTwoLeft = \"\\uf59c\",\n  StaplingPortraitTwoRight = \"\\uf59d\",\n  StaplingPortraitTwoTop = \"\\uf59e\",\n  StaplingPortraitTwoBottom = \"\\uf59f\",\n  StaplingPortraitBookBinding = \"\\uf5a0\",\n  StaplingLandscapeTopLeft = \"\\uf5a1\",\n  StaplingLandscapeTopRight = \"\\uf5a2\",\n  StaplingLandscapeBottomLeft = \"\\uf5a3\",\n  StaplingLandscapeBottomRight = \"\\uf5a4\",\n  StaplingLandscapeTwoLeft = \"\\uf5a5\",\n  StaplingLandscapeTwoRight = \"\\uf5a6\",\n  StaplingLandscapeTwoTop = \"\\uf5a7\",\n  StaplingLandscapeTwoBottom = \"\\uf5a8\",\n  StaplingLandscapeBookBinding = \"\\uf5a9\",\n  StatusDataTransferRoaming = \"\\uf5aa\",\n  MobSIMError = \"\\uf5ab\",\n  CollateLandscapeSeparated = \"\\uf5ac\",\n  PPSOnePortrait = \"\\uf5ad\",\n  StaplingPortraitBottomLeft = \"\\uf5ae\",\n  PlaySolid = \"\\uf5b0\",\n  RepeatOff = \"\\uf5e7\",\n  Set = \"\\uf5ed\",\n  SetSolid = \"\\uf5ee\",\n  FuzzyReading = \"\\uf5ef\",\n  VerticalBattery0 = \"\\uf5f2\",\n  VerticalBattery1 = \"\\uf5f3\",\n  VerticalBattery2 = \"\\uf5f4\",\n  VerticalBattery3 = \"\\uf5f5\",\n  VerticalBattery4 = \"\\uf5f6\",\n  VerticalBattery5 = \"\\uf5f7\",\n  VerticalBattery6 = \"\\uf5f8\",\n  VerticalBattery7 = \"\\uf5f9\",\n  VerticalBattery8 = \"\\uf5fa\",\n  VerticalBattery9 = \"\\uf5fb\",\n  VerticalBattery10 = \"\\uf5fc\",\n  VerticalBatteryCharging0 = \"\\uf5fd\",\n  VerticalBatteryCharging1 = \"\\uf5fe\",\n  VerticalBatteryCharging2 = \"\\uf5ff\",\n  VerticalBatteryCharging3 = \"\\uf600\",\n  VerticalBatteryCharging4 = \"\\uf601\",\n  VerticalBatteryCharging5 = \"\\uf602\",\n  VerticalBatteryCharging6 = \"\\uf603\",\n  VerticalBatteryCharging7 = \"\\uf604\",\n  VerticalBatteryCharging8 = \"\\uf605\",\n  VerticalBatteryCharging9 = \"\\uf606\",\n  VerticalBatteryCharging10 = \"\\uf607\",\n  VerticalBatteryUnknown = \"\\uf608\",\n  SIMError = \"\\uf618\",\n  SIMMissing = \"\\uf619\",\n  SIMLock = \"\\uf61a\",\n  eSIM = \"\\uf61b\",\n  eSIMNoProfile = \"\\uf61c\",\n  eSIMLocked = \"\\uf61d\",\n  eSIMBusy = \"\\uf61e\",\n  NoiseCancelation = \"\\uf61f\",\n  NoiseCancelationOff = \"\\uf620\",\n  MusicSharing = \"\\uf623\",\n  MusicSharingOff = \"\\uf624\",\n  CircleShapeSolid = \"\\uf63c\",\n  WifiCallBars = \"\\uf657\",\n  WifiCall0 = \"\\uf658\",\n  WifiCall1 = \"\\uf659\",\n  WifiCall2 = \"\\uf65a\",\n  WifiCall3 = \"\\uf65b\",\n  WifiCall4 = \"\\uf65c\",\n  CHTLanguageBar = \"\\uf69e\",\n  ComposeMode = \"\\uf6a9\",\n  ExpressiveInputEntry = \"\\uf6b8\",\n  EmojiTabMoreSymbols = \"\\uf6ba\",\n  WebSearch = \"\\uf6fa\",\n  Kiosk = \"\\uf712\",\n  RTTLogo = \"\\uf714\",\n  VoiceCall = \"\\uf715\",\n  GoToMessage = \"\\uf716\",\n  ReturnToCall = \"\\uf71a\",\n  StartPresenting = \"\\uf71c\",\n  StopPresenting = \"\\uf71d\",\n  ProductivityMode = \"\\uf71e\",\n  SetHistoryStatus = \"\\uf738\",\n  SetHistoryStatus2 = \"\\uf739\",\n  Keyboardsettings20 = \"\\uf73d\",\n  OneHandedRight20 = \"\\uf73e\",\n  OneHandedLeft20 = \"\\uf73f\",\n  Split20 = \"\\uf740\",\n  Full20 = \"\\uf741\",\n  Handwriting20 = \"\\uf742\",\n  ChevronLeft20 = \"\\uf743\",\n  ChevronLeft32 = \"\\uf744\",\n  ChevronRight20 = \"\\uf745\",\n  ChevronRight32 = \"\\uf746\",\n  Event12 = \"\\uf763\",\n  MicOff2 = \"\\uf781\",\n  DeliveryOptimization = \"\\uf785\",\n  CancelMedium = \"\\uf78a\",\n  SearchMedium = \"\\uf78b\",\n  AcceptMedium = \"\\uf78c\",\n  RevealPasswordMedium = \"\\uf78d\",\n  DeleteWord = \"\\uf7ad\",\n  DeleteWordFill = \"\\uf7ae\",\n  DeleteLines = \"\\uf7af\",\n  DeleteLinesFill = \"\\uf7b0\",\n  InstertWords = \"\\uf7b1\",\n  InstertWordsFill = \"\\uf7b2\",\n  JoinWords = \"\\uf7b3\",\n  JoinWordsFill = \"\\uf7b4\",\n  OverwriteWords = \"\\uf7b5\",\n  OverwriteWordsFill = \"\\uf7b6\",\n  AddNewLine = \"\\uf7b7\",\n  AddNewLineFill = \"\\uf7b8\",\n  OverwriteWordsKorean = \"\\uf7b9\",\n  OverwriteWordsFillKorean = \"\\uf7ba\",\n  EducationIcon = \"\\uf7bb\",\n  WindowSnipping = \"\\uf7ed\",\n  VideoCapture = \"\\uf7ee\",\n  StatusSecured = \"\\uf809\",\n  NarratorApp = \"\\uf83b\",\n  PowerButtonUpdate = \"\\uf83d\",\n  RestartUpdate = \"\\uf83e\",\n  UpdateStatusDot = \"\\uf83f\",\n  Eject = \"\\uf847\",\n  Spelling = \"\\uf87b\",\n  SpellingKorean = \"\\uf87c\",\n  SpellingSerbian = \"\\uf87d\",\n  SpellingChinese = \"\\uf87e\",\n  FolderSelect = \"\\uf89a\",\n  SmartScreen = \"\\uf8a5\",\n  ExploitProtection = \"\\uf8a6\",\n  AddBold = \"\\uf8aa\",\n  SubtractBold = \"\\uf8ab\",\n  BackSolidBold = \"\\uf8ac\",\n  ForwardSolidBold = \"\\uf8ad\",\n  PauseBold = \"\\uf8ae\",\n  ClickSolid = \"\\uf8af\",\n  SettingsSolid = \"\\uf8b0\",\n  MicrophoneSolidBold = \"\\uf8b1\",\n  SpeechSolidBold = \"\\uf8b2\",\n  ClickedOutLoudSolidBold = \"\\uf8b3\",\n}\n"
  },
  {
    "path": "client/src/components/ui/input/demo/default.demo.vue",
    "content": "<script setup lang=\"ts\">\nimport { ref } from \"vue\"\nimport { HInput } from \"..\"\nimport { HIcon, HIconName } from \"../../icon\"\nimport DemoPad from \"~/components/DemoPad.vue\"\nconst value = ref(\"\")\n</script>\n<template>\n  <h2>基础</h2>\n\n  <div class=\"bg-base-3 h-input-container\">\n    <HInput v-model=\"value\" placeholder=\"type something\"></HInput>\n  </div>\n\n  <h2>带前缀</h2>\n\n  <div class=\"bg-base-3 h-input-container\">\n    <HInput v-model=\"value\" placeholder=\"type something\">\n      <template v-slot:prefix>\n        <HIcon :name=\"HIconName.Search\" />\n      </template>\n    </HInput>\n  </div>\n\n  <h2>可清空</h2>\n\n  <div class=\"bg-base-3 h-input-container\">\n    <HInput v-model=\"value\" placeholder=\"type something\" clearable></HInput>\n  </div>\n\n  <h2>类型</h2>\n\n  <h3>Primary</h3>\n\n  <div class=\"bg-base-3 h-input-container\">\n    <HInput\n      v-model=\"value\"\n      placeholder=\"type something\"\n      type=\"primary\"\n      clearable\n    ></HInput>\n  </div>\n\n  <h3>Secondary</h3>\n  <DemoPad>\n    <HInput\n      v-model=\"value\"\n      placeholder=\"type something\"\n      type=\"secondary\"\n      clearable\n    ></HInput>\n  </DemoPad>\n\n  <h2>错误</h2>\n\n  <div class=\"bg-base-3 h-input-container\">\n    <HInput\n      v-model=\"value\"\n      placeholder=\"type something\"\n      type=\"primary\"\n      error=\"文字错误\"\n      clearable\n    ></HInput>\n  </div>\n\n  <DemoPad>\n    <HInput\n      v-model=\"value\"\n      placeholder=\"type something\"\n      type=\"secondary\"\n      error=\"文字错误\"\n      clearable\n    ></HInput>\n  </DemoPad>\n\n  <div class=\"bg-base-3 h-input-container\">\n    <HInput v-model=\"value\" placeholder=\"type something\" error=\"文字错误\">\n      <template v-slot:prefix>\n        <HIcon :name=\"HIconName.Search\" />\n      </template>\n    </HInput>\n  </div>\n\n  <h2>有占位符</h2>\n\n  <code>error !== undefined</code>\n\n  <div class=\"bg-base-3 h-input-container\">\n    <HInput\n      v-model=\"value\"\n      placeholder=\"type something\"\n      type=\"primary\"\n      error=\"\"\n      clearable\n    ></HInput>\n  </div>\n\n  <DemoPad>\n    <HInput\n      v-model=\"value\"\n      placeholder=\"type something\"\n      type=\"secondary\"\n      error=\"\"\n      clearable\n    ></HInput>\n  </DemoPad>\n\n  <h2>表单</h2>\n\n  <div class=\"bg-base-3 h-input-container\">\n    <HInput\n      v-model=\"value\"\n      placeholder=\"type something\"\n      type=\"primary\"\n      :error=\"value\"\n      clearable\n    ></HInput>\n    <HInput\n      v-model=\"value\"\n      placeholder=\"type something\"\n      type=\"primary\"\n      :error=\"value\"\n      clearable\n    ></HInput>\n  </div>\n  <DemoPad>\n    <HInput\n      v-model=\"value\"\n      placeholder=\"type something\"\n      type=\"secondary\"\n      :error=\"value\"\n      clearable\n    ></HInput>\n    <HInput\n      v-model=\"value\"\n      placeholder=\"type something\"\n      type=\"secondary\"\n      :error=\"value\"\n      clearable\n    ></HInput>\n  </DemoPad>\n</template>\n\n<style scope>\n.h-input-container {\n  margin: 5px 0;\n  padding: 20px;\n}\n</style>\n"
  },
  {
    "path": "client/src/components/ui/input/index.ts",
    "content": "export { default as HInput } from \"./src/HInput.vue\"\nexport * from \"./src/interface\"\n"
  },
  {
    "path": "client/src/components/ui/input/src/HInput.vue",
    "content": "<script setup lang=\"ts\">\nimport { InputHTMLAttributes, ref, useSlots } from \"vue\"\nimport { computed } from \"vue\"\nimport { createClassNames } from \"~/utils/create-classnames\"\nimport { useTheme } from \"@/ui/theme\"\nimport { HIcon, HIconName } from \"@/ui/icon\"\n\nconst props = withDefaults(\n  defineProps<{\n    modelValue: string\n    placeholder?: string\n    clearable?: boolean\n    type?: \"primary\" | \"secondary\"\n    error?: string\n    attrType?: InputHTMLAttributes[\"type\"]\n  }>(),\n  { placeholder: \"\", clearable: false, type: \"primary\" }\n)\nconst emit = defineEmits<{ (e: \"update:modelValue\", value: string): void }>()\n\n//#region logic\nconst inputRef = ref<HTMLElement | null>(null)\nconst focus = () => inputRef.value?.focus()\nconst blur = () => inputRef.value?.blur()\ndefineExpose({\n  focus,\n  blur,\n})\nconst requestChange = (value: string) => emit(\"update:modelValue\", value)\nconst onInput = (e: Event) =>\n  requestChange((e.target as HTMLInputElement)?.value)\nconst onClear = () => requestChange(\"\")\n//#endregion\n\n//#region display\nconst theme = useTheme(\"Input\")\nconst showSuffix = computed(() => props.clearable && props.modelValue)\nconst { classNames } = createClassNames(\"h-input\")\nconst styleVars = computed(() => {\n  const o = {\n    placeholder: theme.value.textColorSecondary,\n    outline: theme.value.colorTransparent,\n  }\n  if (props.type === \"primary\") {\n    return { ...o, backgroundColor: theme.value.backgroundColorPrimary }\n  } else {\n    return {\n      ...o,\n      outline: theme.value.colorTransparent,\n      backgroundColor: theme.value.backgroundColorTertiary,\n    }\n  }\n})\n//#endregion\nconst slots = useSlots()\n</script>\n<template>\n  <div class=\"w-full\">\n    <label\n      class=\"text-sm h-8 border-none rounded-2xl px-3 py-0 flex cursor-text items-center w-full\"\n      :class=\"classNames\"\n      :style=\"{ outline: `1px solid ${styleVars.outline}` }\"\n    >\n      <div class=\"prefix mr-1\" v-if=\"slots.prefix\">\n        <slot name=\"prefix\"></slot>\n      </div>\n      <!-- input min-w-0 make input can shrink in flexbox -->\n      <input\n        class=\"border-none outline-none flex-1 flex-shrink rounded-none leading-full bg-transparent mx-1 min-w-0\"\n        :value=\"props.modelValue\"\n        :placeholder=\"props.placeholder\"\n        :type=\"props.attrType\"\n        @input=\"onInput\"\n        ref=\"inputRef\"\n        spellcheck=\"false\"\n      />\n      <div class=\"suffix ml-1\" v-if=\"showSuffix\" @click=\"onClear\">\n        <HIcon :name=\"HIconName.Cancel\" />\n      </div>\n      <div\n        class=\"suffix\"\n        :class=\"{ 'ml-1': !showSuffix, 'ml-2': showSuffix }\"\n        v-if=\"slots.suffix\"\n      >\n        <slot name=\"suffix\"></slot>\n      </div>\n    </label>\n    <div\n      class=\"h-input-hint w-full\"\n      :style=\"{ color: theme.colorError }\"\n      v-if=\"props.error !== void 0\"\n    >\n      {{ error }}&nbsp;\n    </div>\n  </div>\n</template>\n<style scoped lang=\"less\">\n@import \"~/styles/mixins.less\";\n.h-input {\n  background-color: v-bind(\"styleVars.backgroundColor\");\n  .prefix,\n  .suffix {\n    @apply flex items-center h-full text-sm;\n  }\n  .suffix > * {\n    @apply cursor-pointer;\n  }\n\n  input {\n    &::placeholder {\n      transform: translateY(-1px);\n      @apply text-sm;\n      color: v-bind(\"styleVars.placeholder\");\n    }\n  }\n}\n.h-input-hint {\n  @apply pl-5 my-1 text-xs;\n  .ellipsis(1);\n}\n</style>\n"
  },
  {
    "path": "client/src/components/ui/input/src/interface.ts",
    "content": "export interface HInputRef {\n  focus(): void\n  blur(): void\n}\n"
  },
  {
    "path": "client/src/components/ui/input/styles/index.ts",
    "content": "export { default as inputLight } from \"./light\"\nexport type { InputVars, InputTheme } from \"./light\"\n"
  },
  {
    "path": "client/src/components/ui/input/styles/light.ts",
    "content": "import type { Theme, CommonTheme } from \"@/ui/theme\"\n\nconst self = (common: CommonTheme) => {\n  return {\n    ...common,\n  }\n}\nexport type InputVars = ReturnType<typeof self>\nconst inputLight: Theme<\"Input\", InputVars> = {\n  name: \"Input\",\n  self,\n}\n\nexport default inputLight\nexport type InputTheme = typeof inputLight\n"
  },
  {
    "path": "client/src/components/ui/loading/demo/default.demo.vue",
    "content": "<script setup lang=\"ts\">\nimport { ref } from \"vue\"\nimport HLoading from \"../src/HLoading.vue\"\nimport HButton from \"../../button/src/HButton.vue\"\n\nconst loading = ref(false)\n</script>\n<template>\n  <HButton @click=\"loading = !loading\">toggle loading</HButton>\n  <div\n    style=\"\n      height: 300px;\n      width: 300px;\n      background-color: antiquewhite;\n      position: relative;\n    \"\n  >\n    <HLoading :loading=\"loading\">content</HLoading>\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/components/ui/loading/index.ts",
    "content": "export { default as HLoading } from \"./src/HLoading.vue\"\n"
  },
  {
    "path": "client/src/components/ui/loading/src/HLoading.vue",
    "content": "<script setup lang=\"ts\">\nimport { useTheme } from \"@/ui/theme\"\nimport FadeTransition from \"~/components/transitions/FadeTransition.vue\"\n\nconst props = withDefaults(\n  defineProps<{\n    loading?: boolean\n    overlay?: boolean\n  }>(),\n  {\n    loading: true,\n    overlay: false,\n  }\n)\nconst theme = useTheme(\"Loading\")\n\n// TODO 加上提示语\n</script>\n<template>\n  <slot v-if=\"overlay || !loading\"></slot>\n  <FadeTransition>\n    <div v-if=\"loading\" class=\"h-loading\">\n      <div class=\"icon\"></div>\n    </div>\n  </FadeTransition>\n</template>\n<style lang=\"less\">\n.h-loading {\n  position: absolute;\n  top: 0;\n  left: 0;\n  bottom: 0;\n  right: 0;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  background-color: v-bind(\"theme.background\");\n  .icon {\n    animation: loading 0.5s linear infinite;\n    border-width: 2px;\n    border-style: solid;\n    border-color: v-bind(\"theme.backgroundColorIcon\");\n    border-radius: 15px;\n    width: 30px;\n    height: 30px;\n    position: relative;\n    &::after {\n      content: \"\";\n      border-width: 2px;\n      border-style: solid;\n      border-color: v-bind(\"theme.colorPrimary\");\n      border-radius: 15px;\n      clip-path: polygon(50% 0%, 59% 50%, 0% 50%, 0% 0%);\n      width: 30px;\n      height: 30px;\n      position: absolute;\n      top: -2px;\n      left: -2px;\n    }\n  }\n}\n@keyframes loading {\n  from {\n    transform: rotate(0);\n  }\n  to {\n    transform: rotate(360deg);\n  }\n}\n</style>\n"
  },
  {
    "path": "client/src/components/ui/loading/styles/index.ts",
    "content": "export { default as loadingLight } from \"./light\"\nexport type { LoadingVars, LoadingTheme } from \"./light\"\n"
  },
  {
    "path": "client/src/components/ui/loading/styles/light.ts",
    "content": "import type { Theme, CommonTheme } from \"@/ui/theme\"\nimport { alpha } from \"~/utils/color\"\n\nconst self = (common: CommonTheme) => {\n  return {\n    ...common,\n    backgroundColorIcon: alpha(common.colorPrimary, 0.8),\n    background: alpha(common.backgroundColorPrimary, 0.2),\n  }\n}\nexport type LoadingVars = ReturnType<typeof self>\nconst loadingLight: Theme<\"Loading\", LoadingVars> = {\n  name: \"Loading\",\n  self,\n}\n\nexport default loadingLight\nexport type LoadingTheme = typeof loadingLight\n"
  },
  {
    "path": "client/src/components/ui/modal/demo/default.demo.vue",
    "content": "<script setup lang=\"ts\">\nimport { ref } from \"vue\"\nimport { HModal } from \"..\"\nimport { HButton } from \"../../button\"\nconst show = ref(false)\nconst show2 = ref(false)\n</script>\n<template>\n  <HButton @click=\"show = true\">show</HButton>\n  <HModal v-model:show=\"show\">\n    <template #default=\"slotProps\">\n      <div class=\"px-20 py-10 rounded bg-base-1\">\n        <HButton @click=\"slotProps.hide\">hide</HButton>\n      </div>\n    </template>\n  </HModal>\n  <HButton @click=\"show2 = true\">show persistent</HButton>\n  <HModal v-model:show=\"show2\" persistent>\n    <template #default=\"slotProps\">\n      <div class=\"px-20 py-10 rounded bg-base-1\">\n        <HButton @click=\"slotProps.hide\">hide</HButton>\n      </div>\n    </template>\n  </HModal>\n</template>\n"
  },
  {
    "path": "client/src/components/ui/modal/index.ts",
    "content": "export { default as HModal } from \"./src/HModal.vue\"\nexport { default as HBaseModal } from \"./src/HBaseModal.vue\"\nexport { default as ModalBackground } from \"./src/ModalBackground.vue\"\n"
  },
  {
    "path": "client/src/components/ui/modal/src/HBaseModal.vue",
    "content": "<script setup lang=\"ts\">\nimport anime from \"animejs\"\nimport { ref } from \"vue\"\nconst props = withDefaults(\n  defineProps<{\n    persistent?: boolean\n    zIndex?: number\n  }>(),\n  { persistent: false }\n)\nconst emits = defineEmits<{\n  (e: \"on-close\"): void\n}>()\n\nconst contentRef = ref<HTMLElement | null>(null)\nconst clickOutside = () => {\n  if (!props.persistent) emits(\"on-close\")\n  else\n    anime({\n      targets: contentRef.value,\n      keyframes: [{ scale: 1.05 }, { scale: 1 }],\n      duration: 200,\n      easing: \"easeInOutSine\",\n    })\n}\n</script>\n<template>\n  <div\n    style=\"\n      background-color: #000000aa;\n      position: fixed;\n      top: 0;\n      left: 0;\n      right: 0;\n      bottom: 0;\n      display: flex;\n      align-items: center;\n      justify-content: center;\n    \"\n    :style=\"{ zIndex: zIndex }\"\n    @click=\"clickOutside\"\n  >\n    <div ref=\"contentRef\" @click.stop>\n      <slot />\n    </div>\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/components/ui/modal/src/HModal.vue",
    "content": "<script setup lang=\"ts\">\nimport { ref, watch } from \"vue\"\nimport FadeScaleTransitionGroup from \"@/transitions/FadeScaleTransitionGroup.vue\"\nimport HBaseModal from \"./HBaseModal.vue\"\nconst props = withDefaults(\n  defineProps<{ show?: boolean; persistent?: boolean }>(),\n  { show: false, persistent: false }\n)\nconst emits = defineEmits<{\n  (e: \"update:show\", value: boolean): void\n}>()\nconst internalShow = ref(props.show)\nwatch(\n  () => props.show,\n  (value) => {\n    internalShow.value = value\n  }\n)\nwatch(\n  () => internalShow.value,\n  (value) => emits(\"update:show\", value)\n)\nconst hide = () => {\n  internalShow.value = false\n}\n</script>\n<template>\n  <Teleport to=\"body\">\n    <FadeScaleTransitionGroup>\n      <HBaseModal\n        v-if=\"internalShow\"\n        :persistent=\"props.persistent\"\n        @on-close=\"hide\"\n      >\n        <slot :hide=\"hide\" />\n      </HBaseModal>\n    </FadeScaleTransitionGroup>\n  </Teleport>\n</template>\n"
  },
  {
    "path": "client/src/components/ui/modal/src/ModalBackground.vue",
    "content": "<script setup lang=\"ts\">\nimport { useThemeVars } from \"../../theme\"\n\nconst vars = useThemeVars()\n</script>\n<template>\n  <div\n    :style=\"{ backgroundColor: vars.backgroundColorPrimary }\"\n    class=\"p-2 rounded-md\"\n  >\n    <slot></slot>\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/components/ui/nav-list/demo/default.demo.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed } from \"vue\"\nimport { useTheme } from \"@winwin/vue-global-theming\"\nimport { HTheme } from \"~/themes\"\nimport { HNavList, NavListItem } from \"..\"\nimport { HIconName } from \"../../icon\"\n\nconst t = useTheme<HTheme>()!\nconst colors = computed(() => ({\n  deploy: t.value.color.primary.n,\n  generate: t.value.color.primary.n,\n  clean: t.value.color.error.n,\n  gitsave: t.value.color.primary.n,\n  gitsync: t.value.color.error.n,\n  all: t.value.color.all,\n  post: t.value.color.post,\n  page: t.value.color.page,\n  draft: t.value.color.draft,\n}))\nconst model: NavListItem[] = [\n  { type: \"title\", label: \"操作\" },\n  {\n    type: \"item\",\n    text: \"部署\",\n    icon: HIconName.Airplane,\n    color: colors.value.deploy,\n    key: \"deploy\",\n  },\n  {\n    type: \"item\",\n    text: \"生成\",\n    icon: HIconName.Library,\n    color: colors.value.generate,\n    key: \"generate\",\n  },\n  {\n    type: \"item\",\n    text: \"清理\",\n    icon: HIconName.EraseTool,\n    color: colors.value.clean,\n    key: \"clean\",\n  },\n  {\n    type: \"item\",\n    text: \"同步到 Git\",\n    icon: HIconName.Upload,\n    color: colors.value.gitsave,\n    key: \"gitsave\",\n  },\n  {\n    type: \"item\",\n    text: \"从 Git 同步\",\n    icon: HIconName.Download,\n    color: colors.value.gitsync,\n    key: \"gitsync\",\n  },\n  {\n    type: \"title\",\n    label: \"筛选\",\n  },\n  {\n    type: \"item\",\n    text: \"全部\",\n    icon: HIconName.Home,\n    sub: 4,\n    color: colors.value.all,\n    selected: true,\n    key: \"all\",\n  },\n  {\n    type: \"item\",\n    text: \"文章\",\n    icon: HIconName.Edit,\n    sub: 2,\n    color: colors.value.post,\n    selected: false,\n    key: \"post\",\n  },\n  {\n    type: \"item\",\n    text: \"页面\",\n    icon: HIconName.Page,\n    sub: 1,\n    color: colors.value.page,\n    selected: false,\n    key: \"page\",\n  },\n  {\n    type: \"item\",\n    text: \"草稿\",\n    icon: HIconName.Read,\n    sub: 1,\n    color: colors.value.draft,\n    selected: false,\n    key: \"draft\",\n  },\n  {\n    type: \"title\",\n    label: \"分类\",\n  },\n  {\n    type: \"item\",\n    text: \"分类一\",\n    indent: 0,\n    icon: HIconName.Folder,\n    color: t.value.color.folder,\n    sub: 3,\n    key: \"c1\",\n  },\n  {\n    type: \"item\",\n    text: \"分类二\",\n    indent: 0,\n    icon: HIconName.Folder,\n    color: t.value.color.folder,\n    sub: 3,\n    key: \"c2\",\n  },\n  {\n    type: \"item\",\n    text: \"分类二子\",\n    indent: 1,\n    icon: HIconName.Folder,\n    color: t.value.color.folder,\n    sub: 1,\n    key: \"c21\",\n  },\n]\nconst onSelect = (value: string) => {\n  console.log(value, \"selected\")\n}\n</script>\n<template>\n  <div class=\"bg-base-3\" style=\"display: inline-block; width: 200px\">\n    <HNavList :model=\"model\" @on-select=\"onSelect\"></HNavList>\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/components/ui/nav-list/demo/nav-item.demo.vue",
    "content": "<script setup lang=\"ts\">\nimport { ref } from \"vue\"\nimport { useTheme } from \"@winwin/vue-global-theming\"\nimport { HTheme } from \"~/themes\"\nimport { HIconName } from \"../../icon\"\nimport { HNavItem } from \"..\"\n\nconst t = useTheme<HTheme>()!\nconst data = ref([\n  {\n    text: \"不同颜色和图标\",\n    icon: HIconName.Search,\n    color: t.value.color.primary.n,\n    sub: 4,\n  },\n  {\n    text: \"不同颜色和图标\",\n    icon: HIconName.CheckMark,\n    color: t.value.color.success.n,\n    sub: 21,\n  },\n  {\n    text: \"无缩进\",\n    icon: HIconName.Folder,\n    color: t.value.color.folder,\n    sub: 14,\n  },\n  {\n    text: \"有缩进\",\n    icon: HIconName.Folder,\n    indent: 1,\n    color: t.value.color.folder,\n    sub: 2,\n  },\n])\n</script>\n<template>\n  <div class=\"bg-base-3\" style=\"display: inline-block; width: 200px\">\n    <HNavItem\n      :text=\"d.text\"\n      :icon=\"d.icon\"\n      :indent=\"d.indent\"\n      :color=\"d.color\"\n      :sub=\"d.sub\"\n      v-for=\"d in data\"\n    ></HNavItem>\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/components/ui/nav-list/demo/nav-title.demo.vue",
    "content": "<script setup lang=\"ts\">\nimport { HNavTitle } from \"..\"\n</script>\n<template>\n  <div class=\"bg-base-3\" style=\"display: inline-block; width: 200px\">\n    <HNavTitle>操作</HNavTitle>\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/components/ui/nav-list/index.ts",
    "content": "export * from \"./src\"\n"
  },
  {
    "path": "client/src/components/ui/nav-list/src/HNavItem.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed, toRefs } from \"vue\"\nimport { HIcon, HIconName } from \"@/ui/icon\"\nimport { useTheme } from \"@/ui/theme\"\n\nconst props = withDefaults(\n  defineProps<{\n    icon: HIconName\n    text: string\n    indent?: number\n    selected?: boolean\n    color?: string\n    sub?: string | number\n    uppercase?: boolean\n  }>(),\n  {\n    indent: 0,\n    selected: false,\n    sub: \"\",\n    uppercase: true,\n  }\n)\nconst { icon, text, indent, selected, color, uppercase } = toRefs(props)\nconst indents = computed(() => {\n  if (indent.value === 0) return []\n  else return new Array(indent.value).fill(0).map((v, i) => i)\n})\nconst theme = useTheme(\"NavList\")\nconst styleVars = computed(() => {\n  const bgColor = selected.value\n    ? theme.value.backgroundColorSelected\n    : theme.value.backgroundColorTransparent\n  const subColor = theme.value.textColorSecondary\n  const hoverBgColor = theme.value.backgroundColorHover\n  const activeBgColor = theme.value.backgroundColorActive\n  return { bgColor, subColor, hoverBgColor, activeBgColor }\n})\n</script>\n<template>\n  <div\n    class=\"h-nav-item px-4 py-0.5 mx-0 my-0.5 h-7 rounded-md select-none cursor-pointer flex items-center\"\n  >\n    <span class=\"w-4 inline-block\" v-for=\"i in indents\"></span>\n    <HIcon class=\"mr-3 text-lg\" :style=\"{ color }\" :name=\"icon\" />\n    <span class=\"text text-sm\" :class=\"{ uppercase }\">\n      {{ text }}\n    </span>\n    <span v-if=\"sub?.toString()\" class=\"sub text-xs ml-2\">\n      {{ sub }}\n    </span>\n  </div>\n</template>\n<style scoped lang=\"less\">\n@import \"~/styles/mixins.less\";\n.h-nav-item {\n  background-color: v-bind(\"styleVars.bgColor\");\n  transition: all 0.2s ease;\n\n  .sub {\n    color: v-bind(\"styleVars.subColor\");\n  }\n\n  &:hover {\n    background-color: v-bind(\"styleVars.hoverBgColor\");\n  }\n  &:active {\n    background-color: v-bind(\"styleVars.activeBgColor\");\n  }\n  .text {\n    .ellipsis(1);\n  }\n}\n</style>\n"
  },
  {
    "path": "client/src/components/ui/nav-list/src/HNavList.vue",
    "content": "<script setup lang=\"ts\">\nimport { NavListItem } from \"./interface\"\nimport HNavTitle from \"./HNavTitle.vue\"\nimport HNavItem from \"./HNavItem.vue\"\n\ndefineProps<{\n  model: NavListItem[]\n}>()\nconst emits = defineEmits<{\n  (e: \"on-select\", value: string): void\n}>()\nconst onClick = (value: string) => {\n  emits(\"on-select\", value)\n}\n</script>\n<template>\n  <template v-for=\"item in model\">\n    <HNavTitle v-if=\"item.type === 'title'\">{{ item.label }}</HNavTitle>\n    <HNavItem\n      v-else\n      :text=\"item.text\"\n      :icon=\"item.icon\"\n      :indent=\"item.indent\"\n      :color=\"item.color\"\n      :sub=\"item.sub\"\n      :selected=\"item.selected\"\n      :uppercase=\"item.uppercase\"\n      @click=\"onClick(item.key)\"\n    />\n  </template>\n</template>\n"
  },
  {
    "path": "client/src/components/ui/nav-list/src/HNavTitle.vue",
    "content": "<script setup lang=\"ts\"></script>\n<template>\n  <div class=\"h-nav-title text-sm select-none font-bold leading-12 px-4\">\n    <slot></slot>\n  </div>\n</template>\n<style lang=\"less\" scoped>\n@import \"~/styles/mixins.less\";\n.h-nav-title {\n  .ellipsis(1);\n}\n</style>\n"
  },
  {
    "path": "client/src/components/ui/nav-list/src/index.ts",
    "content": "export { default as HNavTitle } from \"./HNavTitle.vue\"\nexport { default as HNavItem } from \"./HNavItem.vue\"\nexport { default as HNavList } from \"./HNavList.vue\"\nexport * from \"./interface\"\n"
  },
  {
    "path": "client/src/components/ui/nav-list/src/interface.ts",
    "content": "import { HIconName } from \"../../icon\"\n\nexport interface INavItemProps {\n  icon: HIconName\n  text: string\n  indent?: number\n  selected?: boolean\n  color?: string\n  sub?: string | number\n  uppercase?: boolean\n}\n\nexport interface INavItem extends INavItemProps {\n  type: \"item\"\n  key: string\n}\nexport interface INavTitle {\n  type: \"title\"\n  label: string\n}\nexport type NavListItem = INavItem | INavTitle\n"
  },
  {
    "path": "client/src/components/ui/nav-list/styles/dark.ts",
    "content": "import type { CommonTheme } from \"@/ui/theme\"\nimport { NavListTheme } from \"./light\"\n\nconst self = (common: CommonTheme) => {\n  return {\n    ...common,\n  }\n}\nconst navListDark: NavListTheme = {\n  name: \"NavList\",\n  self,\n}\nexport default navListDark\n"
  },
  {
    "path": "client/src/components/ui/nav-list/styles/index.ts",
    "content": "export { default as navListLight } from \"./light\"\nexport { default as navListDark } from \"./dark\"\nexport type { NavListVars, NavListTheme } from \"./light\"\n"
  },
  {
    "path": "client/src/components/ui/nav-list/styles/light.ts",
    "content": "import type { Theme, CommonTheme } from \"@/ui/theme\"\n\nconst self = (common: CommonTheme) => {\n  return {\n    ...common,\n  }\n}\nexport type NavListVars = ReturnType<typeof self>\nconst navListLight: Theme<\"NavList\", NavListVars> = {\n  name: \"NavList\",\n  self,\n}\n\nexport default navListLight\nexport type NavListTheme = typeof navListLight\n"
  },
  {
    "path": "client/src/components/ui/popover/demo/default.demo.vue",
    "content": "<script setup lang=\"ts\">\nimport { useTheme } from \"@winwin/vue-global-theming\"\nimport { HTheme } from \"~/themes\"\nimport { HButton } from \"@/ui/button\"\nimport { HPopover } from \"..\"\n\nconst theme = useTheme<HTheme>()!\n</script>\n<template>\n  <h2>基础</h2>\n  <HButton>\n    点我\n    <HPopover>\n      Lorem ipsum dolor sit amet consectetur adipisicing elit.\n    </HPopover>\n  </HButton>\n  <h2>不同位置</h2>\n  <HButton>\n    top-left\n    <HPopover position=\"top-left\">\n      Lorem ipsum dolor sit amet consectetur adipisicing elit.\n    </HPopover>\n  </HButton>\n  <HButton>\n    top\n    <HPopover position=\"top\">\n      Lorem ipsum dolor sit amet consectetur adipisicing elit.\n    </HPopover>\n  </HButton>\n  <HButton>\n    top-right\n    <HPopover position=\"top-right\">\n      Lorem ipsum dolor sit amet consectetur adipisicing elit.\n    </HPopover>\n  </HButton>\n  <h2>Trigger</h2>\n  <HButton>\n    hover\n    <HPopover position=\"top-left\" trigger=\"hover\">\n      Lorem ipsum dolor sit amet consectetur adipisicing elit.\n    </HPopover>\n  </HButton>\n  <HButton>\n    click\n    <HPopover position=\"top-left\" trigger=\"click\">\n      Lorem ipsum dolor sit amet consectetur adipisicing elit.\n    </HPopover>\n  </HButton>\n  <h2>自定义内容</h2>\n  <HButton>\n    RAW\n    <HPopover position=\"top-left\" trigger=\"click\" raw>\n      <div class=\"bg-red-500 p-5\">\n        Lorem ipsum dolor sit amet consectetur adipisicing elit.\n      </div>\n    </HPopover>\n  </HButton>\n</template>\n"
  },
  {
    "path": "client/src/components/ui/popover/index.ts",
    "content": "export { default as HPopover } from \"./src/HPopover.vue\"\nexport * from \"./src/interface\"\n"
  },
  {
    "path": "client/src/components/ui/popover/src/HPopover.vue",
    "content": "<script setup lang=\"ts\">\nimport type { TriggerType } from \"./interface\"\nimport { onClickOutside, useElementHover, useEventListener } from \"@vueuse/core\"\nimport {\n  Ref,\n  computed,\n  getCurrentInstance,\n  onMounted,\n  ref,\n  toRefs,\n  watch,\n} from \"vue\"\nimport { useThemeVars } from \"@/ui/theme\"\nimport FadeTransition from \"@/transitions/FadeTransition.vue\"\nimport { getPlacement } from \"./get-placement\"\nimport { Position } from \"./interface\"\nimport { useRect } from \"./utils\"\n\n//#region props and emits\nconst props = withDefaults(\n  defineProps<{\n    show?: boolean\n    position?: Position\n    persistent?: boolean\n    trigger?: TriggerType\n    raw?: boolean\n    duration?: number\n  }>(),\n  {\n    show: false,\n    position: \"top\",\n    persistent: false,\n    trigger: \"click\",\n    raw: false,\n  }\n)\nconst emits = defineEmits<{\n  (e: \"update:show\", value: boolean): void\n}>()\nconst { show: propsShow } = toRefs(props)\n\nconst show = ref(false)\nwatch(\n  () => propsShow.value,\n  (v) => {\n    show.value = v\n  }\n)\nwatch(\n  () => show.value,\n  (v) => {\n    emits(\"update:show\", v)\n  }\n)\n//#endregion\n\n//#region refs\nconst instance = getCurrentInstance()\nconst containerElRef: Ref<HTMLElement | null> = ref(null)\nconst contentElRef: Ref<HTMLElement | null> = ref(null)\nonMounted(() => {\n  containerElRef.value = instance?.proxy?.$el.parentNode as HTMLElement\n})\n//#endregion\n\n//#region click\nuseEventListener(containerElRef, \"click\", () => {\n  show.value = !show.value\n})\n//#endregion\n\n//#region hover\nconst isHover = useElementHover(containerElRef as Ref<HTMLElement>)\nwatch(\n  () => isHover.value,\n  (hover) => {\n    if (props.trigger === \"hover\") {\n      show.value = hover\n    }\n  }\n)\n//#endregion\n\n//#region rects\nconst containerRect = useRect(containerElRef)\nconst contentRect = useRect(contentElRef)\n//#endregion\n\n//#region click\nonClickOutside(contentElRef, () => {\n  if (show.value && !props.persistent) show.value = false\n})\n//#endregion\n\n//#region style\nconst vars = useThemeVars()\nconst style = computed(() => {\n  // FIXME 如果元素位置发生了变化，且没有 resize 或 scroll 则 popover 位置不会更新\n  const { x, y, margin } = getPlacement(\n    props.position,\n    containerRect.value,\n    contentRect.value\n  )\n  return {\n    outer: {\n      transform: `translateX(${x}px) translateY(${y}px)`,\n    },\n    inner: {\n      margin: `${margin.top}px ${margin.right}px ${margin.bottom}px ${margin.left}px`,\n    },\n  }\n})\n//#endregion\n</script>\n\n<template>\n  <teleport to=\"body\">\n    <FadeTransition :duration=\"duration\">\n      <div v-if=\"show\" class=\"popover\" ref=\"contentElRef\" :style=\"style.outer\">\n        <div :style=\"style.inner\">\n          <slot v-if=\"raw\"></slot>\n          <div\n            class=\"p-1 rounded-md text-sm\"\n            :style=\"{\n              backgroundColor: vars.backgroundColorPop,\n              color: vars.textColorPop,\n            }\"\n            v-else\n          >\n            <slot></slot>\n          </div>\n        </div>\n      </div>\n    </FadeTransition>\n  </teleport>\n</template>\n<style scoped>\n.popover {\n  position: fixed;\n  left: 0;\n  top: 0;\n  display: flow-root;\n}\n</style>\n"
  },
  {
    "path": "client/src/components/ui/popover/src/get-placement.ts",
    "content": "import { IRect, Position } from \"./interface\"\n\nexport function getPlacement(\n  position: Position,\n  containerRect: IRect,\n  contentRect: IRect\n) {\n  let x = 0,\n    y = 0,\n    margin = {\n      top: 0,\n      left: 0,\n      bottom: 0,\n      right: 0,\n    }\n  switch (position) {\n    case \"top-left\":\n      x = containerRect.left\n      y = containerRect.top - contentRect.height\n      margin.bottom = 4\n      break\n    case \"top\":\n      x = containerRect.left + containerRect.width / 2 - contentRect.width / 2\n      y = containerRect.top - contentRect.height\n      margin.bottom = 4\n      break\n    case \"top-right\":\n      x = containerRect.left + containerRect.width - contentRect.width\n      y = containerRect.top - contentRect.height\n      margin.bottom = 4\n      break\n    case \"right-top\":\n      x = containerRect.left + containerRect.width\n      y = containerRect.top\n      margin.left = 4\n      break\n    case \"right\":\n      x = containerRect.left + containerRect.width\n      y = containerRect.top + containerRect.height / 2 - contentRect.height / 2\n      margin.left = 4\n      break\n    case \"right-bottom\":\n      x = containerRect.left + containerRect.width\n      y = containerRect.top + containerRect.height - contentRect.height\n      margin.left = 4\n      break\n    case \"bottom-left\":\n      x = containerRect.left\n      y = containerRect.top + containerRect.height\n      margin.top = 4\n      break\n    case \"bottom\":\n      x = containerRect.left + containerRect.width / 2 - contentRect.width / 2\n      y = containerRect.top + containerRect.height\n      margin.top = 4\n      break\n    case \"bottom-right\":\n      x = containerRect.left + containerRect.width - contentRect.width\n      y = containerRect.top + containerRect.height\n      margin.top = 4\n      break\n    case \"left-top\":\n      x = containerRect.left - contentRect.width\n      y = containerRect.top\n      margin.right = 4\n      break\n    case \"left\":\n      x = containerRect.left - contentRect.width\n      y = containerRect.top + containerRect.height / 2 - contentRect.height / 2\n      margin.right = 4\n      break\n    case \"left-bottom\":\n      x = containerRect.left - contentRect.width\n      y = containerRect.top + containerRect.height - contentRect.height\n      margin.right = 4\n      break\n    default:\n      break\n  }\n\n  return { x, y, margin }\n}\n"
  },
  {
    "path": "client/src/components/ui/popover/src/interface.ts",
    "content": "export interface IRect {\n  left: number\n  top: number\n  height: number\n  width: number\n}\n\nexport type Position =\n  | \"top-left\"\n  | \"top\"\n  | \"top-right\"\n  | \"left-top\"\n  | \"left\"\n  | \"left-bottom\"\n  | \"right-top\"\n  | \"right\"\n  | \"right-bottom\"\n  | \"bottom-left\"\n  | \"bottom\"\n  | \"bottom-right\"\n\nexport type TriggerType = \"click\" | \"hover\"\n"
  },
  {
    "path": "client/src/components/ui/popover/src/utils.ts",
    "content": "import { onBeforeUnmount, ref, Ref, unref, watch } from \"vue\"\nimport { getScrollParent } from \"~/utils/parent\"\nimport { useOnParentScroll } from \"~/utils/scroll\"\nimport { IRect } from \"./interface\"\n\nexport function useRect(elRef: Ref<HTMLElement | null>): Ref<IRect> {\n  const rect = ref<IRect>({\n    left: 0,\n    top: 0,\n    height: 0,\n    width: 0,\n  })\n  useInit(elRef, rect)\n  useScroll(elRef, rect)\n  useResize(elRef, rect)\n  return rect\n}\n\nfunction useInit(elRef: Ref<HTMLElement | null>, rect: Ref<IRect>) {\n  watch(\n    () => unref(elRef),\n    (el) => {\n      if (!el) return\n      rect.value = getRect(el)\n    },\n    { immediate: true }\n  )\n}\n\nfunction useScroll(elRef: Ref<HTMLElement | null>, rect: Ref<IRect>) {\n  useOnParentScroll(elRef, () => {\n    if (!elRef.value) return\n    rect.value = getRect(elRef.value)\n  })\n}\n\nfunction useResize(elRef: Ref<HTMLElement | null>, rect: Ref<IRect>) {\n  const removeEventListenerFnMap: Map<() => void, () => void> = new Map()\n  const removeAllEventListener = () => {\n    for (const [, fn] of removeEventListenerFnMap) {\n      fn()\n    }\n    removeEventListenerFnMap.clear()\n  }\n  watch(\n    () => unref(elRef.value),\n    (el) => {\n      removeAllEventListener()\n      if (!el) return\n      const resiableNodesSet: Set<Element | Document> = new Set()\n      let cursor: Element | Document | null = el\n      while (true) {\n        cursor = getScrollParent(cursor)\n        if (cursor === null) break\n        resiableNodesSet.add(cursor)\n      }\n      for (const node of [...resiableNodesSet, window]) {\n        const onResize = () => {\n          if (!elRef.value) return\n          rect.value = getRect(elRef.value)\n        }\n        node.addEventListener(\"resize\", onResize)\n        removeEventListenerFnMap.set(onResize, () => {\n          node.removeEventListener(\"resize\", onResize)\n        })\n      }\n    },\n    {\n      immediate: true,\n    }\n  )\n  onBeforeUnmount(() => {\n    removeAllEventListener()\n  })\n}\n\nexport function getRect(el: HTMLElement): IRect {\n  const { left, top, height, width } = el.getBoundingClientRect()\n  return {\n    left,\n    top,\n    height,\n    width,\n  }\n}\n"
  },
  {
    "path": "client/src/components/ui/slide-view/demo/default.demo.vue",
    "content": "<script setup lang=\"ts\">\nimport type { ISlideViewItem } from \"../src/interface\"\nimport { defineComponent, h, markRaw, ref } from \"vue\"\nimport HSlideView from \"../src/HSlideView.vue\"\nconst model: ISlideViewItem[] = new Array(5).fill(0).map((i, idx) => {\n  const key = `Tab${idx}`\n  return {\n    key,\n    component: markRaw(\n      defineComponent({\n        props: {\n          idx: Number,\n          setCurrent: Function,\n        },\n        render() {\n          return h(\"div\", [\n            key,\n            h(\n              \"div\",\n              model.map((item, idx) => [\n                h(\n                  \"button\",\n                  {\n                    style: {\n                      padding: \"0 10px\",\n                    },\n                    onClick: () => this.setCurrent(idx),\n                  },\n                  `Go to Index${idx}`\n                ),\n              ])\n            ),\n          ])\n        },\n      })\n    ),\n  }\n})\nconst current = ref(0)\nconst onChange = (key: number) => {\n  current.value = key\n}\nconst Changer = defineComponent({\n  render() {\n    return model.map((item, idx) =>\n      h(\n        \"button\",\n        {\n          style: {\n            padding: \"5px 10px\",\n          },\n          onClick: () => onChange(idx),\n        },\n        idx\n      )\n    )\n  },\n})\n</script>\n<template>\n  <h2>基础</h2>\n  <Changer />\n  <div class=\"w-96 h-32 relative\">\n    <HSlideView class=\"bg-gray-100\" :model=\"model\" v-model:current=\"current\" />\n  </div>\n  <h2>自定义内容</h2>\n  <Changer />\n  <div class=\"w-96 h-56 relative\">\n    <HSlideView class=\"bg-gray-100\" :model=\"model\" v-model:current=\"current\">\n      <template #default=\"slotProps\">\n        <div class=\"p-8\">\n          <div class=\"text-3xl\">{{ slotProps.idx }}</div>\n          <Component\n            :idx=\"slotProps.idx\"\n            :is=\"slotProps.component\"\n            :setCurrent=\"slotProps.setCurrent\"\n          />\n        </div>\n      </template>\n    </HSlideView>\n  </div>\n  <h2>横向</h2>\n  <Changer />\n  <div class=\"w-96 h-32 relative\">\n    <HSlideView\n      class=\"bg-gray-100\"\n      :model=\"model\"\n      v-model:current=\"current\"\n      horizontal\n    />\n  </div>\n  <h2>反向</h2>\n  <Changer />\n  <div class=\"w-96 h-32 relative\">\n    <HSlideView\n      class=\"bg-gray-100\"\n      :model=\"model\"\n      v-model:current=\"current\"\n      horizontal\n      reverted\n    />\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/components/ui/slide-view/index.ts",
    "content": "export { default as HSlideView } from \"./src/HSlideView.vue\"\nexport * from \"./src/interface\"\n"
  },
  {
    "path": "client/src/components/ui/slide-view/src/HSlideView.vue",
    "content": "<script setup lang=\"ts\">\nimport type { ComputedRef, Ref } from \"vue\"\nimport type { ISlideViewItem } from \"./interface\"\nimport { computed, ref, watch } from \"vue\"\nimport TranslateTransitionGroup from \"@/transitions/TranslateTransitionGroup.vue\"\nimport { TranslateTransitionDirection } from \"~/components/transitions/interface\"\n\nconst props = withDefaults(\n  defineProps<{\n    current: number\n    model: ISlideViewItem[]\n    horizontal?: boolean\n    reverted?: boolean\n  }>(),\n  {\n    horizontal: false,\n    reverted: false,\n  }\n)\nconst emits = defineEmits<{\n  (e: \"update:current\", value: number): void\n}>()\nconst model: ComputedRef<(ISlideViewItem & { idx: number })[]> = computed(\n  () => {\n    return props.model.map((item, idx) => ({ ...item, idx }))\n  }\n)\nconst pre = ref(false)\nconst tabs: Ref<(ISlideViewItem & { idx: number })[]> = ref([])\nwatch(\n  () => props.current,\n  (v, old) => {\n    const item = model.value[v]\n    if (!item) return\n    tabs.value = [item]\n    if (old !== void 0) pre.value = v > old\n  },\n  {\n    immediate: true,\n  }\n)\nconst setCurrent = (next: number) => {\n  emits(\"update:current\", next)\n}\nconst realPre = computed(() => (props.reverted ? !pre.value : pre.value))\nconst direction: ComputedRef<TranslateTransitionDirection> = computed(() =>\n  props.horizontal\n    ? realPre.value\n      ? \"left\"\n      : \"right\"\n    : realPre.value\n    ? \"up\"\n    : \"down\"\n)\n</script>\n<template>\n  <div class=\"relative w-full h-full overflow-hidden\">\n    <TranslateTransitionGroup :direction=\"direction\" :duration=\"200\">\n      <div\n        class=\"absolute w-full h-full overflow-hidden\"\n        :key=\"item.idx\"\n        v-for=\"item in tabs\"\n      >\n        <slot\n          :component=\"item.component\"\n          :idx=\"item.idx\"\n          :setCurrent=\"setCurrent\"\n        >\n          <Component\n            :idx=\"item.idx\"\n            :is=\"item.component\"\n            :setCurrent=\"setCurrent\"\n          />\n        </slot>\n      </div>\n    </TranslateTransitionGroup>\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/components/ui/slide-view/src/interface.ts",
    "content": "import type { Component } from \"vue\"\n\nexport interface ISlideViewItem {\n  component: Component\n}\n"
  },
  {
    "path": "client/src/components/ui/slider/demo/default.demo.vue",
    "content": "<script setup lang=\"ts\">\nimport { ref } from \"vue\"\nimport { HButton } from \"@/ui/button\"\nimport { HSlider } from \"..\"\nimport DemoPad from \"~/components/DemoPad.vue\"\nconst value = ref(0)\nconst hour = ref(0)\nconst minute = ref(0)\nconst pad = (n: number) => `0${n}`.slice(-2)\n</script>\n<template>\n  <DemoPad>\n    <h2>基础</h2>\n    <div flex=\"~ gap2\">\n      <HButton size=\"small\" round @click=\"value += 1\">+</HButton>\n      <HButton size=\"small\" round @click=\"value -= 1\">-</HButton>\n    </div>\n    <HSlider :min=\"0\" :max=\"23\" v-model:value=\"value\" />\n    <HSlider :min=\"0\" :max=\"23\" v-model:value=\"value\" />\n    <h2>看看几点了</h2>\n    <HSlider :min=\"0\" :max=\"23\" v-model:value=\"hour\" />\n    <HSlider :min=\"0\" :max=\"59\" v-model:value=\"minute\" />\n    {{ `${pad(hour)}:${pad(minute)}` }}\n  </DemoPad>\n</template>\n"
  },
  {
    "path": "client/src/components/ui/slider/index.ts",
    "content": "export { default as HSlider } from \"./src/HSlider.vue\"\n"
  },
  {
    "path": "client/src/components/ui/slider/src/HSlider.vue",
    "content": "<script setup lang=\"ts\">\nimport { useEventListener, useMouse } from \"@vueuse/core\"\nimport { computed, onMounted, ref, watch } from \"vue\"\nimport { createClassNames } from \"~/utils/create-classnames\"\nimport { HBadge } from \"@/ui/badge\"\nimport { useThemeVars } from \"@/ui/theme\"\n\nconst props = defineProps<{\n  min: number\n  max: number\n  value: number\n}>()\nconst emits = defineEmits<{\n  (e: \"update:value\", v: number): void\n}>()\n\nconst { classNames } = createClassNames(\"h-slider\")\nconst vars = useThemeVars()\nconst internal = ref(props.value)\nwatch(\n  () => props.value,\n  (v) => {\n    if (props.value < props.min || props.value > props.max) {\n      emits(\"update:value\", internal.value)\n      return\n    }\n    internal.value = v\n    updateHalf()\n  }\n)\nwatch(\n  () => internal.value,\n  (v) => {\n    emits(\"update:value\", v)\n  }\n)\n\nconst railRef = ref<HTMLElement | null>(null)\nconst handlersRef = ref<HTMLElement | null>(null)\nconst { x } = useMouse()\nconst dragging = ref(false)\nconst onDraggingStart = () => {\n  dragging.value = true\n}\nuseEventListener(\"mouseup\", () => {\n  dragging.value = false\n})\nuseEventListener(\"mousemove\", () => {\n  onDragging()\n})\nconst updateHalf = () => {\n  const handlersEl = handlersRef.value!\n  const handlersRect = handlersEl.getBoundingClientRect()\n  half.value = handlersRect.width / 2\n}\n\nconst onDragging = () => {\n  if (!dragging.value) return\n  updateHalf()\n  const railEl = railRef.value!\n  const railRect = railEl.getBoundingClientRect()\n  const start = railRect.x + half.value\n  const max = railRect.width - half.value * 2\n  const current = x.value - start\n  internal.value = Math.round(\n    props.min +\n      (props.max - props.min) * Math.max(0, Math.min(1, current / max))\n  )\n}\nonMounted(() => {\n  updateHalf()\n})\nconst half = ref(0)\nconst railStyle = computed(() => ({\n  padding: `0 ${half.value}px`,\n  backgroundColor: vars.value.backgroundColorTertiary,\n}))\nconst firstFillStyle = computed(() => ({\n  backgroundColor: vars.value.colorPrimary,\n  width: `${2 * half.value}px`,\n  margin: `0 ${-half.value}px`,\n}))\nconst fillStyle = computed(() => ({\n  backgroundColor: vars.value.colorPrimary,\n  width: `${dPercentage.value * 100}%`,\n}))\nconst dPercentage = computed(() => internal.value / (props.max - props.min))\nconst handlerStyle = computed(() => ({\n  margin: `0 ${-half.value}px`,\n  left: `${dPercentage.value * 100}%`,\n}))\n</script>\n<template>\n  <div :class=\"classNames\">\n    <div class=\"rail rounded w-full\" :style=\"railStyle\" ref=\"railRef\">\n      <div class=\"relative w-full h-full\">\n        <div\n          class=\"absolute top-0 bottom-0 left-0 rounded\"\n          :style=\"firstFillStyle\"\n        ></div>\n        <div\n          class=\"fill absolute top-0 bottom-0 left-0 rounded\"\n          :style=\"fillStyle\"\n        ></div>\n        <div\n          class=\"handlers absolute top-0 bottom-0 flex flex-col justify-center\"\n          ref=\"handlersRef\"\n          :style=\"handlerStyle\"\n        >\n          <HBadge\n            rounded\n            class=\"cursor-pointer px-3 whitespace-nowrap\"\n            @mousedown=\"onDraggingStart\"\n          >\n            <slot>{{ internal }}</slot>\n          </HBadge>\n        </div>\n      </div>\n    </div>\n  </div>\n</template>\n<style lang=\"less\">\n.h-slider {\n  height: 30px;\n  @apply flex flex-col justify-center;\n  .rail {\n    height: 4px;\n  }\n}\n</style>\n"
  },
  {
    "path": "client/src/components/ui/textarea/demo/default.demo.vue",
    "content": "<script setup lang=\"ts\">\nimport { ref } from \"vue\"\nimport { useThemeVars } from \"../../theme\"\nimport HTextarea from \"../src/HTextarea.vue\"\n\nconst value = ref(\"\")\nconst vars = useThemeVars()\n</script>\n<template>\n  <div :style=\"{ backgroundColor: vars.backgroundColorTertiary }\" class=\"p-4\">\n    <HTextarea v-model:value=\"value\" />\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/components/ui/textarea/index.ts",
    "content": "export { default as HTextarea } from \"./src/HTextarea.vue\"\n"
  },
  {
    "path": "client/src/components/ui/textarea/src/HTextarea.vue",
    "content": "<script setup lang=\"ts\">\nimport { nextTick, onMounted, ref, watch } from \"vue\"\nimport { createClassNames } from \"~/utils/create-classnames\"\nimport { useThemeVars } from \"../../theme\"\n\nconst props = withDefaults(\n  defineProps<{\n    value: string\n    error?: boolean\n    placeholder?: string\n  }>(),\n  { error: false, placeholder: \"\" }\n)\nconst emits = defineEmits<{\n  (e: \"update:value\", v: string): void\n}>()\nconst internal = ref(props.value)\nwatch(\n  () => props.value,\n  (v) => (internal.value = v)\n)\nwatch(\n  () => internal.value,\n  (v) => {\n    emits(\"update:value\", v)\n  }\n)\nconst { classNames } = createClassNames(\"h-textarea\", (add, m) => {\n  props.error && add(m(\"error\"))\n})\nconst textareaRef = ref<HTMLElement | null>(null)\n/**\n * @see https://github.com/gethexon/hexon/blob/master/packages/web/src/components/UI/MTextarea.vue\n */\nconst fitToContent = () => {\n  if (!textareaRef.value || !textareaRef.value.parentElement) return\n  // from Quasar\n  const el = textareaRef.value\n  const parent = textareaRef.value.parentElement\n  // reset height of textarea to a small size to detect the real height\n  // but keep the total control size the same\n  parent.style.marginBottom = el.scrollHeight - 1 + \"px\"\n  el.style.height = \"1px\"\n  el.style.height = el.scrollHeight + \"px\"\n  parent.style.marginBottom = \"\"\n}\nonMounted(() => {\n  fitToContent()\n})\nwatch(\n  () => [props.value],\n  () => {\n    nextTick(() => {\n      fitToContent()\n    })\n  },\n  {\n    immediate: true,\n  }\n)\nconst vars = useThemeVars()\n</script>\n<template>\n  <div ref=\"parent\" :class=\"classNames\" class=\"w-full text-sm\">\n    <textarea\n      ref=\"textareaRef\"\n      class=\"w-full outline-none rounded-lg px-4 py-2\"\n      @input=\"fitToContent\"\n      :placeholder=\"placeholder\"\n      :style=\"{\n        backgroundColor: vars.backgroundColorPrimary,\n      }\"\n      v-model=\"internal\"\n      spellcheck=\"false\"\n    ></textarea>\n  </div>\n</template>\n<style lang=\"less\">\n.h-textarea {\n  textarea {\n    resize: none;\n  }\n}\n</style>\n"
  },
  {
    "path": "client/src/components/ui/theme/index.ts",
    "content": "export * from \"./src\"\n"
  },
  {
    "path": "client/src/components/ui/theme/src/common/dark.ts",
    "content": "import { light } from \"~/utils/color\"\nimport { base, CommonTheme } from \"./light\"\n\nexport const commonDark: CommonTheme = {\n  ...base,\n  isDark: true,\n  backgroundColorPrimary: \"#323232\",\n  backgroundColorSecondary: \"#282828\",\n  backgroundColorTertiary: \"#1f1f1f\",\n  backgroundColorBadge: \"#3e3e3e\",\n  textColorPrimary: \"#cccccc\",\n  textColorBack: \"#000000\",\n\n  colorPrimaryHover: light(base.colorPrimary, 0.2),\n  colorPrimaryActive: light(base.colorPrimary, 0.4),\n  colorErrorHover: light(base.colorError, 0.2),\n  colorErrorActive: light(base.colorError, 0.4),\n}\n"
  },
  {
    "path": "client/src/components/ui/theme/src/common/light.ts",
    "content": "import { light } from \"~/utils/color\"\n\nexport const base = {\n  isDark: false,\n  colorPrimary: \"#3498db\",\n  colorSuccess: \"#27ae60\",\n  colorWarning: \"#f39c12\",\n  colorError: \"#e74c3c\",\n  colorCommon: \"#888888\",\n  colorWhite: \"#ffffff\",\n  colorTransparent: \"transparent\",\n  backgroundColorPrimary: \"#ffffff\",\n  backgroundColorSecondary: \"#f8f8f8\",\n  backgroundColorTertiary: \"#eeeeee\",\n  backgroundColorTransparent: \"transparent\",\n  backgroundColorSelected: \"#77777720\",\n  backgroundColorHover: \"#77777730\",\n  backgroundColorActive: \"#77777740\",\n  backgroundColorBadge: \"#cccccc\",\n  backgroundColorPop: \"#171717\",\n  textColorPrimary: \"#484848\",\n  textColorSecondary: \"#757575\",\n  textColorBack: \"#ffffff\",\n  textColorPop: \"#cccccc\",\n  textColorWhite: \"#ffffff\",\n  colorFolder: \"#f3c04f\",\n  colorAll: \"#27ae60\",\n  colorPost: \"#3883c7\",\n  colorPage: \"#52bad1\",\n  colorDraft: \"#f1c40f\",\n}\n\nexport const commonLight = {\n  ...base,\n  colorPrimaryHover: light(base.colorPrimary, 0.2),\n  colorPrimaryActive: light(base.colorPrimary, 0.4),\n  colorErrorHover: light(base.colorError, 0.2),\n  colorErrorActive: light(base.colorError, 0.4),\n}\n\nexport type CommonTheme = typeof commonLight\n"
  },
  {
    "path": "client/src/components/ui/theme/src/index.ts",
    "content": "export {\n  createThemePlugin,\n  useThemeVars,\n  useTheme,\n  useThemeController,\n} from \"./lib\"\nexport * from \"./interface\"\nexport * from \"./common/light\"\nexport * from \"./themes/light\"\nexport * from \"./common/dark\"\nexport * from \"./themes/dark\"\n"
  },
  {
    "path": "client/src/components/ui/theme/src/interface.ts",
    "content": "import type { CommonTheme } from \"./common/light\"\nimport type { UnkownTheme } from \"./themes/unknown\"\nimport type { ButtonTheme } from \"@/ui/button/styles\"\nimport type { InputTheme } from \"@/ui/input/styles\"\nimport type { LoadingTheme } from \"@/ui/loading/styles\"\nimport type { NavListTheme } from \"@/ui/nav-list/styles\"\n\nexport interface IGlobalTheme {\n  common: CommonTheme\n  unknown: UnkownTheme\n  Button: ButtonTheme\n  Input: InputTheme\n  Loading: LoadingTheme\n  NavList: NavListTheme\n}\n\nexport interface Theme<N, T> {\n  name: N\n  self: (common: CommonTheme) => T\n}\n\nexport type GlobalOverrides = Partial<{\n  [key in keyof IGlobalTheme]: Partial<\n    IGlobalTheme[key] extends Theme<key, infer R> ? R : IGlobalTheme[key]\n  >\n}>\n"
  },
  {
    "path": "client/src/components/ui/theme/src/lib.ts",
    "content": "import { merge } from \"lodash-es\"\nimport { App, computed, inject, InjectionKey, onMounted, Ref, ref } from \"vue\"\nimport { IGlobalTheme } from \"./interface\"\nimport { lightTheme } from \"./themes/light\"\n\nexport const key: InjectionKey<IThemePlugin> = Symbol(\"key\")\n\nexport interface IThemePlugin {\n  globalThemeRef: Ref<IGlobalTheme>\n  setTheme: (theme: IGlobalTheme) => void\n  setGlobal: () => void\n  install(app: App): void\n}\n\nexport function createThemePlugin(): IThemePlugin {\n  const globalThemeRef: Ref<IGlobalTheme> = ref(lightTheme)\n  const setTheme = (theme: IGlobalTheme) => {\n    globalThemeRef.value = theme\n    setGlobal()\n  }\n  const setGlobal = () => {\n    const theme = globalThemeRef.value\n    document.body.style.backgroundColor = theme.common.backgroundColorTertiary\n    document.body.style.color = theme.common.textColorPrimary\n  }\n  return {\n    globalThemeRef,\n    setTheme,\n    setGlobal,\n    install(app) {\n      const theme = this\n      app.provide(key, theme)\n      app.mixin({\n        mounted() {\n          setGlobal()\n        },\n      })\n    },\n  }\n}\n\nexport function useThemeController() {\n  const { setTheme, setGlobal } = inject(key)!\n  return { setTheme, setGlobal }\n}\n\nexport function useTheme<N extends Exclude<keyof IGlobalTheme, \"common\">>(\n  id: N\n) {\n  const { globalThemeRef } = inject(key)!\n  const themeRef = computed(() => {\n    const { common } = globalThemeRef.value\n    return merge(\n      {},\n      common,\n      globalThemeRef.value[id]?.self(common) as ReturnType<\n        IGlobalTheme[N][\"self\"]\n      >\n    )\n  })\n  return themeRef\n}\n\nexport function useThemeVars() {\n  const { globalThemeRef } = inject(key)!\n  const themeVarsRef = computed(() => {\n    const { common } = globalThemeRef.value\n    return { ...common }\n  })\n  return themeVarsRef\n}\n"
  },
  {
    "path": "client/src/components/ui/theme/src/themes/dark.ts",
    "content": "import type { IGlobalTheme } from \"../interface\"\nimport { commonDark } from \"../common/dark\"\nimport unkown from \"./unknown\"\nimport { buttonDark } from \"@/ui/button/styles\"\nimport { inputLight } from \"@/ui/input/styles\"\nimport { loadingLight } from \"@/ui/loading/styles\"\nimport { navListDark } from \"@/ui/nav-list/styles\"\n\nexport const darkTheme: IGlobalTheme = {\n  unknown: unkown,\n  common: commonDark,\n  Button: buttonDark,\n  Input: inputLight,\n  Loading: loadingLight,\n  NavList: navListDark,\n}\n"
  },
  {
    "path": "client/src/components/ui/theme/src/themes/light.ts",
    "content": "import type { IGlobalTheme } from \"../interface\"\nimport { commonLight } from \"../common/light\"\nimport unkown from \"./unknown\"\nimport { buttonLight } from \"@/ui/button/styles\"\nimport { inputLight } from \"@/ui/input/styles\"\nimport { loadingLight } from \"@/ui/loading/styles\"\nimport { navListLight } from \"@/ui/nav-list/styles\"\n\nexport const lightTheme: IGlobalTheme = {\n  unknown: unkown,\n  common: commonLight,\n  Button: buttonLight,\n  Input: inputLight,\n  Loading: loadingLight,\n  NavList: navListLight,\n}\n"
  },
  {
    "path": "client/src/components/ui/theme/src/themes/unknown.ts",
    "content": "/**\n * use to make type in useTheme hook work\n */\n\nimport { Theme } from \"../interface\"\n\nconst unkown: Theme<\"unknown\", unknown> = {\n  name: \"unknown\",\n  self(c) {\n    return c\n  },\n}\n\nexport type UnkownTheme = typeof unkown\n\nexport default unkown\n"
  },
  {
    "path": "client/src/components/ui/toggle/demo/default.demo.vue",
    "content": "<script setup lang=\"ts\">\nimport { ref } from \"vue\"\nimport { HToggle } from \"..\"\nimport DemoPad from \"~/components/DemoPad.vue\"\nconst active = ref(false)\n</script>\n<template>\n  <DemoPad>\n    <HToggle v-model:active=\"active\"></HToggle>\n  </DemoPad>\n</template>\n"
  },
  {
    "path": "client/src/components/ui/toggle/index.ts",
    "content": "export { default as HToggle } from \"./src/HToggle.vue\"\n"
  },
  {
    "path": "client/src/components/ui/toggle/src/HToggle.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed, ref, toRefs, watch } from \"vue\"\nimport { createClassNames } from \"~/utils/create-classnames\"\nimport { useThemeVars } from \"@/ui/theme\"\nimport { HVerticalCenter } from \"@/ui/vertical-center\"\nconst props = defineProps<{\n  active: boolean\n}>()\nconst emits = defineEmits<{\n  (e: \"update:active\", value: boolean): void\n}>()\nconst { active } = toRefs(props)\nconst internalValue = ref(props.active)\nwatch(\n  () => active.value,\n  (value) => {\n    internalValue.value = value\n  }\n)\nwatch(\n  () => internalValue.value,\n  (value) => {\n    emits(\"update:active\", value)\n  }\n)\nconst { classNames } = createClassNames(\"h-toggle\")\nconst bgColor = computed(() =>\n  internalValue.value ? vars.value.colorPrimary : vars.value.textColorSecondary\n)\nconst vars = useThemeVars()\n</script>\n<template>\n  <HVerticalCenter>\n    <label\n      :class=\"classNames\"\n      class=\"inline-flex flex-col justify-center\"\n      style=\"height: 30px\"\n    >\n      <TransitionGroup\n        tag=\"div\"\n        name=\"toggle\"\n        class=\"cursor-pointer select-none rounded-full relative flex items-center h-5 w-10\"\n        :class=\"{\n          'justify-end': internalValue,\n          'justify-start': !internalValue,\n        }\"\n        style=\"padding: 0 3px\"\n        :style=\"{\n          backgroundColor: vars.backgroundColorTertiary,\n        }\"\n      >\n        <div\n          key=\"dot\"\n          class=\"absolute rounded-full h-3.5 w-3.5\"\n          :class=\"{ 'opacity-50': !internalValue }\"\n          :style=\"{ backgroundColor: bgColor }\"\n        ></div>\n      </TransitionGroup>\n      <input v-model=\"internalValue\" type=\"checkbox\" class=\"absolute w-0 h-0\" />\n    </label>\n  </HVerticalCenter>\n</template>\n<style>\n.toggle-move {\n  transition: all 0.2s ease;\n}\n</style>\n"
  },
  {
    "path": "client/src/components/ui/vertical-center/index.ts",
    "content": "export { default as HVerticalCenter } from \"./src/HVerticalCenter.vue\"\n"
  },
  {
    "path": "client/src/components/ui/vertical-center/src/HVerticalCenter.vue",
    "content": "<template>\n  <span class=\"inline-flex items-center\">\n    {{ \"\\u200b\" }}\n    <slot></slot>\n  </span>\n</template>\n"
  },
  {
    "path": "client/src/components/viewer/HViewerContent.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed, toRefs, watch } from \"vue\"\nimport { useThemeVars } from \"@/ui/theme\"\n\nconst props = defineProps<{\n  content?: string\n}>()\nconst vars = useThemeVars()\nconst styleVars = computed(() => ({\n  primary: vars.value.colorPrimary,\n  mainColor: vars.value.textColorPrimary,\n  base3BgColor: vars.value.backgroundColorTertiary,\n  base2BgColor: vars.value.backgroundColorSecondary,\n}))\nconst content = computed(() => {\n  return (props.content ?? \"\").replaceAll(/(href=\".*?\")/g, '$1 target=\"_blank\"')\n})\n</script>\n<template>\n  <div class=\"article-entry\" v-html=\"content || ''\"></div>\n</template>\n<style lang=\"stylus\">\n\n// Colors\ncolor-default = v-bind('styleVars.mainColor')\ncolor-grey = #999\ncolor-border = #ddd\ncolor-link = v-bind('styleVars.primary')\ncolor-background = v-bind('styleVars.base3BgColor')\ncolor-sidebar-text = #777\ncolor-widget-background = #ddd\ncolor-widget-border = #ccc\ncolor-footer-background = #262a30\ncolor-mobile-nav-background = #191919\ncolor-twitter = #00aced\ncolor-facebook = #3b5998\ncolor-pinterest = #cb2027\ncolor-linkedin = #0077B5\n\n// Fonts\nfont-mono = \"Source Code Pro\", Consolas, Monaco, Menlo, Consolas, monospace\nfont-size = 14px\nline-height = 1.4em\nline-height-title = 1.1em\n\n// Header\nlogo-size = 40px\nsubtitle-size = 16px\nbanner-height = 300px\nbanner-url = hexo-config(\"banner\")\n\nsidebar = hexo-config(\"sidebar\")\n\n// Layout\nblock-margin = 50px\narticle-padding = 20px\nmobile-nav-width = 280px\nmain-column = 9\nsidebar-column = 3\n\nif sidebar and sidebar isnt bottom\n  _sidebar-column = sidebar-column\nelse\n  _sidebar-column = 0\n\n// Grids\ncolumn-width = 80px\ngutter-width = 20px\ncolumns = main-column + _sidebar-column\n\n// Media queries\nmq-mobile = \"screen and (max-width: 479px)\"\nmq-tablet = \"screen and (min-width: 480px) and (max-width: 767px)\"\nmq-normal = \"screen and (min-width: 768px)\"\n\n.article-entry\n  font-size: font-size\n  h1\n    @apply text-4xl\n  h2\n    @apply text-2xl\n  h3\n    @apply text-xl\n  h4\n    @apply text-lg\n  h5\n    @apply text-base\n  h6\n    @apply text-base\n    color: color-grey\n  hr\n    border: 1px dashed color-border\n  strong\n    font-weight: bold\n  em, cite\n    font-style: italic\n  sup, sub\n    @apply text-xs\n    line-height: 0\n    position: relative\n    vertical-align: baseline\n  sup\n    top: -0.5em\n  sub\n    bottom: -0.2em\n  small\n    @apply text-xs\n  acronym, abbr\n    border-bottom: 1px dotted\n  ul, ol, dl\n    margin: 0 20px\n    line-height: line-height\n  ul, ol\n    ul, ol\n      margin-top: 0\n      margin-bottom: 0\n  ul\n    list-style: disc\n  ol\n    list-style: decimal\n  dt\n    font-weight: bold\n  margin: 0 auto\n  max-width: 768px\n  clearfix()\n  color: color-default\n  padding: 0 article-padding\n  p, table\n    line-height: line-height\n    margin: line-height 0\n  h1, h2, h3, h4, h5, h6\n    font-weight: bold\n  h1, h2, h3, h4, h5, h6\n    line-height: line-height-title\n    margin: line-height-title 0\n  a\n    color: color-link\n    text-decoration: none\n    &:hover\n      text-decoration: underline\n  ul, ol, dl\n    margin-top: line-height\n    margin-bottom: line-height\n  img, video\n    max-width: 100%\n    height: auto\n    display: block\n    margin: auto\n  iframe\n    border: none\n  table\n    width: 100%\n    border-collapse: collapse\n    border-spacing: 0\n  th\n    font-weight: bold\n    border-bottom: 3px solid color-border\n    padding-bottom: 0.5em\n  td\n    border-bottom: 1px solid color-border\n    padding: 10px 0\n  blockquote\n    margin: line-height 0\n    background: v-bind('styleVars.base2BgColor')\n    @apply border-l-4 px-3 py-3\n    p:first-of-type\n      @apply mt-0\n    p:last-of-type\n      @apply mb-0\n    footer\n      margin: line-height 0\n      cite\n        &:before\n          content: \"—\"\n          padding: 0 0.5em\n  .pullquote\n    text-align: left\n    width: 45%\n    margin: 0\n    &.left\n      margin-left: 0.5em\n      margin-right: 1em\n    &.right\n      margin-right: 0.5em\n      margin-left: 1em\n  .caption\n    color: color-grey\n    display: block\n    font-size: 0.9em\n    margin-top: 0.5em\n    position: relative\n    text-align: center\n  // http://webdesignerwall.com/tutorials/css-elastic-videos\n  .video-container\n    position: relative\n    padding-top: (9 / 16 * 100)% // 16:9 ratio\n    height: 0\n    overflow: hidden\n    iframe, object, embed\n      position: absolute\n      top: 0\n      left: 0\n      width: 100%\n      height: 100%\n      margin-top: 0\n\n// https://github.com/chriskempson/tomorrow-theme\nhighlight-background = #2d2d2d\nhighlight-current-line = #393939\nhighlight-selection = #515151\nhighlight-foreground = #cccccc\nhighlight-comment = #999999\nhighlight-red = #f2777a\nhighlight-orange = #f99157\nhighlight-yellow = #ffcc66\nhighlight-green = #99cc99\nhighlight-aqua = #66cccc\nhighlight-blue = #6699cc\nhighlight-purple = #cc99cc\n\n$code-block\n  background: highlight-background\n  margin: 0\n  padding: 15px article-padding\n  border-style: solid\n  border-color: color-border\n  overflow: auto\n  color: highlight-foreground\n  line-height: font-size * line-height\n\n$line-numbers\n  color: #666\n  font-size: 0.85em\n\n.article-entry\n  pre, code\n    font-family: font-mono\n  code\n    background: color-background\n    @apply rounded-md py-0 px-1 my-0 mx-1\n  pre\n    @extend $code-block\n    code\n      background: none\n      text-shadow: none\n      margin: 0\n      padding: 0\n  .highlight\n    @extend $code-block\n    @apply rounded-md\n    pre\n      border: none\n      margin: 0\n      padding: 0\n    table\n      margin: 0\n      width: auto\n    td\n      border: none\n      padding: 0\n    figcaption\n      clearfix()\n      font-size: 0.85em\n      color: highlight-comment\n      line-height: 1em\n      margin-bottom: 1em\n      a\n        float: right\n    .gutter pre\n      @extend $line-numbers\n      text-align: right\n      padding-right: 20px\n    .line\n      height: font-size * line-height\n    .line.marked\n      background: highlight-selection\n  .gist\n    margin: 0 article-padding * -1\n    border-style: solid\n    border-color: color-border\n    border-width: 1px 0\n    background: highlight-background\n    padding: 15px article-padding 15px 0\n    .gist-file\n      border: none\n      font-family: font-mono\n      margin: 0\n      .gist-data\n        background: none\n        border: none\n        .line-numbers\n          @extend $line-numbers\n          background: none\n          border: none\n          padding: 0 20px 0 0\n        .line-data\n          padding: 0 !important\n      .highlight\n        margin: 0\n        padding: 0\n        border: none\n      .gist-meta\n        background: highlight-background\n        color: highlight-comment\n        font: 0.85em\n        text-shadow: 0 0\n        padding: 0\n        margin-top: 1em\n        margin-left: article-padding\n        a\n          color: color-link\n          font-weight: normal\n          &:hover\n            text-decoration: underline\n\npre\n  .comment\n  .title\n    color: highlight-comment\n  .variable\n  .attribute\n  .tag\n  .regexp\n  .ruby .constant\n  .xml .tag .title\n  .xml .pi\n  .xml .doctype\n  .html .doctype\n  .css .id\n  .css .class\n  .css .pseudo\n    color: highlight-red\n  .number\n  .preprocessor\n  .built_in\n  .literal\n  .params\n  .constant\n    color: highlight-orange\n  .class\n  .ruby .class .title\n  .css .rules .attribute\n    color: highlight-green\n  .string\n  .value\n  .inheritance\n  .header\n  .ruby .symbol\n  .xml .cdata\n    color: highlight-green\n  .css .hexcolor\n    color: highlight-aqua\n  .function\n  .python .decorator\n  .python .title\n  .ruby .function .title\n  .ruby .title .keyword\n  .perl .sub\n  .javascript .title\n  .coffeescript .title\n    color: highlight-blue\n  .keyword\n  .javascript .function\n    color: highlight-purple\n</style>\n<style lang=\"less\">\n.highlight tr {\n  border-top: none;\n}\n</style>\n"
  },
  {
    "path": "client/src/components/viewer/HViewerHeader.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed } from \"vue\"\nimport { DATE_FORMAT } from \"@shared/constants\"\nimport { IParsedArticleMeta } from \"~/utils/article\"\nimport { HIcon, HIconName } from \"@/ui/icon\"\nimport { useThemeVars } from \"../ui/theme\"\nconst vars = useThemeVars()\nconst props = defineProps<{\n  article: IParsedArticleMeta\n}>()\nconst date = computed(() =>\n  props.article.date ? props.article.date.format(DATE_FORMAT) : \"\"\n)\nconst updated = computed(() =>\n  props.article.updated ? props.article.updated.format(DATE_FORMAT) : \"\"\n)\nconst rest = computed(() => {\n  // FIXME\n  const data = props.article.fm\n  if (JSON.stringify(data) === JSON.stringify({})) return \"\"\n  return Object.entries(data)\n    .map(([key, value]) => `${key}: ${value}`)\n    .join(\"\\n\")\n})\n</script>\n<template>\n  <div class=\"h-viewer-header text-base px-5 mx-auto\" style=\"max-width: 768px\">\n    <h1 class=\"text-4xl my-5\" v-if=\"article.title\">\n      {{ article.title }}\n    </h1>\n    <div :style=\"{ color: vars.textColorSecondary }\">\n      <div class=\"updated\" v-if=\"updated\">\n        <HIcon\n          class=\"mr-1\"\n          style=\"transform: translateX(-1px)\"\n          :name=\"HIconName.DevUpdate\"\n        />\n        <span>{{ updated }}</span>\n      </div>\n      <div class=\"date\" v-if=\"date\">\n        <HIcon\n          class=\"mr-1\"\n          style=\"transform: translateX(-1px)\"\n          :name=\"HIconName.Globe\"\n        />\n        <span>{{ date }}</span>\n      </div>\n      <div class=\"categories mt-1 text-sm\" v-if=\"article.categories.length\">\n        <HIcon class=\"mr-1\" :name=\"HIconName.Folder\" />\n        <template v-for=\"(category, index) in article.categories\" :key=\"index\">\n          <HIcon class=\"ml-0.5\" :name=\"HIconName.ChevronRight\" v-if=\"index\" />\n          <span class=\"ml-0.5\">{{ category }}</span>\n        </template>\n      </div>\n      <div class=\"tags text-sm mt-1\" v-if=\"article.tags.length\">\n        <HIcon class=\"mr-1\" :name=\"HIconName.Tag\" />\n        <template v-for=\"(tag, index) in article.tags\" :key=\"index\">\n          <span v-if=\"index\">,</span>\n          <span class=\"ml-0.5\">{{ tag }}</span>\n        </template>\n      </div>\n      <pre class=\"rest text-xs\" v-if=\"rest\">{{ rest }}</pre>\n    </div>\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/components/viewer/HViewerToolbar.vue",
    "content": "<script setup lang=\"ts\">\nimport { useDetailStore } from \"~/store/detail\"\nimport { HViewerToolbarActionPayload } from \"@/types\"\nimport { HButton } from \"@/ui/button\"\nimport { HIcon, HIconName } from \"@/ui/icon\"\nimport HToolbar from \"@/HToolbar.vue\"\nconst emits = defineEmits<{\n  (e: \"on-action\", payload: HViewerToolbarActionPayload): void\n}>()\nconst detailStore = useDetailStore()\n</script>\n<template>\n  <HToolbar>\n    <div class=\"flex-1\"></div>\n    <HButton\n      class=\"mr-2\"\n      type=\"primary\"\n      round\n      inverted\n      @click=\"emits('on-action', { type: 'edit' })\"\n    >\n      <HIcon :name=\"HIconName.Edit\" />\n    </HButton>\n    <HButton\n      class=\"mr-2\"\n      type=\"error\"\n      round\n      inverted\n      @click=\"emits('on-action', { type: 'delete' })\"\n    >\n      <HIcon :name=\"HIconName.Delete\" />\n    </HButton>\n    <HButton\n      class=\"mr-2\"\n      type=\"success\"\n      round\n      inverted\n      @click=\"emits('on-action', { type: 'publish' })\"\n      v-if=\"detailStore.isDraft\"\n    >\n      <HIcon :name=\"HIconName.Upload\" />\n    </HButton>\n  </HToolbar>\n</template>\n"
  },
  {
    "path": "client/src/composables/cookies.ts",
    "content": "import { useCookies } from '@vueuse/integrations/useCookies'\nexport const cookies = useCookies(null, { autoUpdateDependencies: true })\n"
  },
  {
    "path": "client/src/env.d.ts",
    "content": "/// <reference types=\"vite/client\" />\n/// <reference types=\"vite-plugin-pages/client\" />\n\ndeclare module \"*.vue\" {\n  import { DefineComponent } from \"vue\"\n  // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types\n  const component: DefineComponent<{}, {}, any>\n  export default component\n}\n"
  },
  {
    "path": "client/src/errors/index.ts",
    "content": "export function getErrorId(err:any){\n  return err?.response?.data?.id\n}\nexport function getErrorMessage(err: any) {\n  const data = err?.response?.data\n  const id = getErrorId(err)\n  switch (id) {\n    case \"PostOrPageNotFoundError\":\n      return \"没找到，回主页看看？\"\n    case \"HexoInitError\":\n      return \"hexo 初始化中，请稍后再试\"\n    case \"InvalidCreatePathError\":\n      return \"非法的新文章路径\"\n    case \"GitSyncScriptError\":\n      return \"git sync 脚本运行失败。请前往服务器后台使用 `pnpm run script` 修改脚本\"\n    case \"GitSaveScriptError\":\n      return \"git save 脚本运行失败。请前往服务器后台使用 `pnpm run script` 修改脚本\"\n    case \"HexoCleanScriptError\":\n      return \"hexo clean 脚本运行失败。请前往服务器后台使用 `pnpm run script` 修改脚本\"\n    case \"HexoDeployScriptError\":\n      return \"hexo deploy 脚本运行失败。请前往服务器后台使用 `pnpm run script` 修改脚本\"\n    case \"HexoGenerateScriptError\":\n      return \"hexo generate 脚本运行失败。请前往服务器后台使用 `pnpm run script` 修改脚本\"\n    default:\n      return data.message || err.message\n  }\n}\n"
  },
  {
    "path": "client/src/ext.d.ts",
    "content": "import \"pinia\"\nimport { Router } from \"vue-router\"\nimport { Dialog } from \"./lib/dialog\"\nimport { Loading } from \"./lib/loading\"\nimport { ModalController } from \"./lib/modal\"\nimport { Notification } from \"./lib/notification\"\n\ndeclare module \"pinia\" {\n  export interface PiniaCustomProperties {\n    dialog: Dialog\n    router: Router\n    notification: Notification\n    modal: ModalController\n    loading: Loading\n  }\n}\n"
  },
  {
    "path": "client/src/interface.ts",
    "content": "export interface IArticleIdentifier {\n  type: \"post\" | \"page\"\n  source: string\n}\n\nexport type PostOrPage = \"post\" | \"page\"\n"
  },
  {
    "path": "client/src/layouts/default.vue",
    "content": "<script setup lang=\"ts\">\nimport { onMounted } from \"vue\"\nimport { RouterView } from \"vue-router\"\nimport { useSettingsStore } from \"~/store/settings\"\nconst settings = useSettingsStore()\nonMounted(() => {\n  settings.load()\n  console.log(\"default layout used\")\n})\n</script>\n<template>\n  <RouterView />\n</template>\n"
  },
  {
    "path": "client/src/layouts/unauthorized.vue",
    "content": "<script setup lang=\"ts\">\nimport { onMounted } from \"vue\"\nimport { RouterView } from \"vue-router\"\nonMounted(() => {\n  console.log(\"unauthorized layout used\")\n})\n</script>\n<template>\n  <RouterView />\n</template>\n"
  },
  {
    "path": "client/src/lib/async-queue/index.ts",
    "content": "export class AsyncQueue {\n  private fns: (() => Promise<void> | void)[] = []\n  /**\n   * @param time 暂停时间（秒）\n   * @returns\n   */\n  sleep(time = 0) {\n    this.fns.push(() => {\n      return new Promise((resolve) => {\n        setTimeout(resolve, time * 1000)\n      })\n    })\n    return this\n  }\n  exec(fn: () => Promise<void> | void) {\n    this.fns.push(fn)\n    return this\n  }\n  /**\n   * @param interval 间隔时间（秒）\n   * @param count 重复次数\n   */\n  interval(fn: () => Promise<void> | void, interval: number, count: number) {\n    this.exec(fn)\n    for (let i = 0; i < count - 1; i++) {\n      this.sleep(interval)\n      this.exec(fn)\n    }\n    return this\n  }\n  async start() {\n    for (const fn of this.fns) {\n      await fn()\n    }\n  }\n}\n"
  },
  {
    "path": "client/src/lib/dialog/demo/default.demo.vue",
    "content": "<script setup lang=\"ts\">\nimport { ref } from \"vue\"\nimport { HButton } from \"@/ui/button\"\nimport { HInput } from \"@/ui/input\"\nimport HToggle from \"@/ui/toggle/src/HToggle.vue\"\nimport { useDialog } from \"..\"\nimport DemoPad from \"~/components/DemoPad.vue\"\n\nconst dialog = useDialog()\nconst fire = () => {\n  dialog.create({\n    type: \"info\",\n    title: title.value,\n    content: content.value,\n    persistent: persistent.value,\n    actions: [\n      {\n        type: \"info\",\n        label: \"显示信息\",\n        run: (item) => {\n          alert(JSON.stringify(item))\n        },\n      },\n      {\n        type: \"error\",\n        label: \"删除\",\n        run: () => {\n          alert(\"删除\")\n        },\n      },\n      {\n        type: \"success\",\n        label: \"成功\",\n        run: () => {\n          alert(\"成功\")\n        },\n      },\n      {\n        type: \"info\",\n        label: \"关闭\",\n        run: (item) => {\n          item.close()\n        },\n      },\n    ],\n  })\n}\nconst title = ref(\"你确认要删除么\")\nconst content = ref(\"此操作不可撤销\")\nconst persistent = ref(false)\n</script>\n<template>\n  <DemoPad>\n    title\n    <HInput type=\"secondary\" v-model=\"title\" />\n    content\n    <HInput type=\"secondary\" v-model=\"content\" />\n    persistent\n    <HToggle v-model:active=\"persistent\" />\n    <HButton @click=\"fire\">fire</HButton>\n  </DemoPad>\n</template>\n"
  },
  {
    "path": "client/src/lib/dialog/index.ts",
    "content": "export * from \"./src\"\n"
  },
  {
    "path": "client/src/lib/dialog/src/DialogContainer.vue",
    "content": "<script setup lang=\"ts\">\nimport FadeTransitionGroup from \"@/transitions/FadeScaleTransitionGroup.vue\"\nimport { useDialog } from \"./lib\"\nconst { dialogs } = useDialog()\nconst teleport = document.createElement(\"div\")\nteleport.id = \"dialog-container\"\ndocument.body.appendChild(teleport)\n</script>\n<template>\n  <Teleport to=\"#dialog-container\">\n    <FadeTransitionGroup>\n      <div v-for=\"item in dialogs\" :key=\"item.id\">\n        <slot :data=\"item\"></slot>\n      </div>\n    </FadeTransitionGroup>\n  </Teleport>\n</template>\n"
  },
  {
    "path": "client/src/lib/dialog/src/index.ts",
    "content": "export { createDialogPlugin, useDialog } from \"./lib\"\nexport type { Dialog } from \"./lib\"\nexport { default as DialogContainer } from \"./DialogContainer.vue\"\nexport * from \"./interface\"\n"
  },
  {
    "path": "client/src/lib/dialog/src/interface.ts",
    "content": "export interface IDialogOption {\n  type?: DialogType\n  title: string\n  content?: string\n  persistent?: boolean\n  actions: IDialogActionOption[]\n}\n\nexport interface IDialogActionOption {\n  label: string\n  type: DialogActionType\n  /**\n   * 热\n   * @param item DialogItem\n   */\n  run?: (item: IDialog) => Promise<void> | void\n}\n\nexport type DialogType = \"success\" | \"warning\" | \"error\" | \"info\"\nexport type DialogActionType =\n  | \"success\"\n  | \"warning\"\n  | \"error\"\n  | \"info\"\n  | \"common\"\nexport interface IDialog {\n  id: string\n  type: DialogType\n  title: string\n  content: string\n  persistent: boolean\n  actions: IDialogAction[]\n  close: () => void\n}\nexport interface IDialogAction {\n  label: string\n  type: DialogActionType\n  run?: () => Promise<void> | void\n}\n"
  },
  {
    "path": "client/src/lib/dialog/src/lib.ts",
    "content": "import { App, inject, InjectionKey, provide, Ref, ref } from \"vue\"\nimport { v4 as uuid } from \"uuid\"\nimport { DialogType, IDialog, IDialogAction, IDialogOption } from \"./interface\"\nimport { noop } from \"~/utils\"\n\nconst key: InjectionKey<Dialog> = Symbol(\"hdialog\")\n\nclass DialogItem implements IDialog {\n  public id: string\n  public type: DialogType\n  public title: string\n  public content: string\n  public persistent: boolean\n  public actions: IDialogAction[]\n  public close: () => void\n  constructor(option: IDialogOption, dialogs: Ref<IDialog[]>) {\n    this.id = uuid()\n    this.type = option.type ?? \"info\"\n    this.title = option.title\n    this.content = option.content ?? \"\"\n    this.persistent = option.persistent ?? false\n    this.close = () =>\n      (dialogs.value = dialogs.value.filter((item) => item.id !== this.id))\n    this.actions = option.actions.map((action) => {\n      const run = async () => {\n        this.close()\n        const exec = action.run ?? noop\n        await exec(this)\n      }\n      return { ...action, run }\n    })\n  }\n}\n\nexport interface Dialog {\n  dialogs: Ref<IDialog[]>\n  create(option: IDialogOption): void\n  install(app: App): void\n}\n\nexport function createDialogPlugin(): Dialog {\n  const dialogs = ref<IDialog[]>([])\n  function create(option: IDialogOption) {\n    const item = new DialogItem(option, dialogs)\n    dialogs.value.push(item)\n  }\n  return {\n    dialogs,\n    create,\n    install(app: App) {\n      const dialog = this\n      app.provide(key, dialog)\n    },\n  }\n}\n\nexport function useDialog() {\n  return inject(key)!\n}\n"
  },
  {
    "path": "client/src/lib/http-secure/index.ts",
    "content": "export * from \"./src\"\n"
  },
  {
    "path": "client/src/lib/http-secure/src/index.ts",
    "content": "import axios, { AxiosRequestConfig, AxiosResponse } from \"axios\"\nimport CryptoJS from \"crypto-js\"\nimport JSEncrypt from \"jsencrypt\"\n\ninterface IHttpSecureOption {\n  onDisable?(): void\n}\n\ninterface IRawData {\n  url: string\n  data: any\n}\ninterface IData {\n  /**\n   * real data passed to axios config.data\n   */\n  data: any\n}\n\nfunction stringifyData(data: IData): string {\n  return JSON.stringify(data)\n}\n\nfunction parseData(data: string): IData {\n  const str = data\n  return JSON.parse(str)\n}\n\nconst isHttps = window.location.protocol === \"https:\"\nconst isLocalhost = window.location.hostname === \"localhost\"\nif (!isHttps && !isLocalhost) {\n  console.warn(\n    \"`https` not available. Hexon will enable encrypt. Please use https for your safety.\"\n  )\n}\n\nfunction parseConfig(config: AxiosRequestConfig = {}) {\n  config.httpSecureDisabled =\n    isHttps || isLocalhost || config.httpSecureDisabled\n  return config\n}\n\nexport default function createHttpSecureAxios(\n  config?: AxiosRequestConfig,\n  option: IHttpSecureOption = {}\n) {\n  let id = 1\n\n  const rawMap = new Map<number, IRawData>()\n\n  const parsedConfig = parseConfig(config)\n  const onDisable = option.onDisable ?? (() => {})\n  const instance = axios.create(parsedConfig)\n\n  instance.defaults.httpSecureDisabled = parsedConfig.httpSecureDisabled\n\n  const storage: {\n    serverPublicKey?: string\n    key: string\n  } = {\n    key: Math.random().toString(),\n  }\n\n  function decryptAES(data: string) {\n    return CryptoJS.AES.decrypt(data, storage.key).toString(CryptoJS.enc.Utf8)\n  }\n  function encryptAES(data: string) {\n    return CryptoJS.AES.encrypt(data, storage.key).toString()\n  }\n  function encryptRSA(data?: string) {\n    if (!data) return\n    const o = new JSEncrypt()\n    o.setPublicKey(storage.serverPublicKey!)\n    const res = o.encrypt(data)\n    return res\n  }\n  async function fetchPublicKey(config: AxiosRequestConfig) {\n    const res = await axios\n      .get(\"/publickey\", { baseURL: config.baseURL })\n      .catch(async (err) => {\n        if (err.response) {\n          if ((err.response as AxiosResponse).status === 404) {\n            console.log(\"server not support, http-secure has been disabled\")\n            config.httpSecureDisabled = true\n            await onDisable()\n            return undefined\n          }\n        }\n        throw err\n      })\n    storage.serverPublicKey = res?.data\n  }\n\n  const prefix = \"/secure/\"\n  instance.interceptors.request.use(async (config) => {\n    if (config.httpSecureDisabled) return config\n\n    //#region save url\n    config.httpSecureId = id\n    rawMap.set(id, { url: config.url || \"\", data: config.data })\n    id++\n    //#endregion\n\n    //#region get server public key\n    if (!storage.serverPublicKey) {\n      await fetchPublicKey(config)\n      if (!storage.serverPublicKey) return config\n    }\n    //#endregion\n\n    //#region encrypt\n    const key = storage.key\n    const url = config.url\n    config.url =\n      prefix +\n      encodeURIComponent(encryptRSA(JSON.stringify({ key, url })) ?? \"\")\n    const content = encryptAES(stringifyData({ data: config.data }))\n    config.data = { content }\n    //#endregion\n    return config\n  })\n\n  instance.interceptors.response.use(\n    (res) => {\n      if (res.config.httpSecureDisabled) return res\n\n      //#region restore url\n      if (res.config.httpSecureId !== void 0) {\n        const { url = \"\", data = {} } =\n          rawMap.get(res.config.httpSecureId) || {}\n        res.config.url = url\n        res.config.data = data\n        rawMap.delete(res.config.httpSecureId)\n      }\n      //#endregion\n\n      //#region decrypt\n      if (res.data.content) {\n        const { content } = res.data as { content: string }\n        res.data = parseData(decryptAES(content)).data\n      }\n      //#endregion\n\n      //#region log because devtools network won't work\n      console.groupCollapsed(\n        `[${res.status}][${res.config.method?.toUpperCase()}]${res.config.url}`\n      )\n      console.log(\"%c[config] %O\", \"font-weight:bolder\", res.config)\n      console.log(\"%c[request] %O\", \"font-weight:bolder\", res.request)\n      console.log(\"%c[data] %O\", \"font-weight:bolder\", res.data)\n      console.log(\"%c[headers] %O\", \"font-weight:bolder\", res.headers)\n      console.groupEnd()\n      //#endregion\n      return res\n    },\n    async (err) => {\n      if (err.response && !err.response.config.httpSecureDisabled) {\n        const res = err.response as AxiosResponse\n        //#region restore url\n        if (res.config.httpSecureId !== void 0) {\n          const { url = \"\", data = {} } =\n            rawMap.get(res.config.httpSecureId) || {}\n          res.config.url = url\n          res.config.data = data\n          rawMap.delete(res.config.httpSecureId)\n        }\n        //#endregion\n\n        //#region invalid publicKey\n        if (res.status === 403 && res.data.code === \"EHTTPSECURE\") {\n          await fetchPublicKey(res.config)\n          return instance(res.config)\n        }\n        //#endregion\n\n        //#region decrypt\n        if (res.data.content) {\n          const { content } = res.data as { content: string }\n          res.data = parseData(decryptAES(content)).data\n        }\n        //#endregion\n\n        //#region log because devtools network won't work\n        const style = \"color: red\"\n        console.groupCollapsed(\n          `%c[${res.status}][${res.config.method?.toUpperCase()}]${\n            res.config.url\n          }`,\n          style\n        )\n        console.log(\"%c[config] %O\", \"font-weight:bolder\", res.config)\n        console.log(\"%c[request] %O\", \"font-weight:bolder\", res.request)\n        console.log(\"%c[data] %O\", \"font-weight:bolder\", res.data)\n        console.log(\"%c[headers] %O\", \"font-weight:bolder\", res.headers)\n        console.groupEnd()\n        //#endregion\n      }\n      throw err\n    }\n  )\n  return instance\n}\n\ndeclare module \"axios\" {\n  interface AxiosRequestConfig {\n    /**\n     * disable http security\n     */\n    httpSecureDisabled?: boolean\n    httpSecureId?: number\n  }\n}\n"
  },
  {
    "path": "client/src/lib/list2tree/index.spec.ts",
    "content": "import { list2Tree } from \".\"\n\nit(\"should transform list to tree\", () => {\n  const list = [\n    { id: \"1\" },\n    { id: \"2\" },\n    { id: \"3\", p: \"1\" },\n    { id: \"4\", p: \"1\" },\n    { id: \"5\", p: \"4\" },\n  ]\n  const correct = [\n    {\n      id: \"1\",\n      c: [\n        { id: \"3\", p: \"1\" },\n        { id: \"4\", p: \"1\", c: [{ id: \"5\", p: \"4\" }] },\n      ],\n    },\n    { id: \"2\" },\n  ]\n  const res = list2Tree(list, (item) => !item.p, {\n    idKey: \"id\",\n    parentKey: \"p\",\n    childrenKey: \"c\",\n  })\n  expect(res).toEqual(correct)\n})\n\nit(\"should work if no top node found\", () => {\n  const list = [\n    { id: \"3\", p: \"1\" },\n    { id: \"4\", p: \"1\" },\n  ]\n  const run = () => {\n    list2Tree(list, (item) => !item.p, {\n      idKey: \"id\",\n      parentKey: \"p\",\n      childrenKey: \"c\",\n    })\n  }\n  expect(run).not.toThrow()\n})\n"
  },
  {
    "path": "client/src/lib/list2tree/index.ts",
    "content": "export type TreeNode<T, C extends string> = T & {\n  [key in C]?: TreeNode<T, C>[]\n}\n\nexport function list2Tree<\n  T extends {\n    [key in T1]: string\n  } & {\n    [key in T2]?: string\n  },\n  T1 extends string,\n  T2 extends string,\n  T3 extends string\n>(\n  list: T[],\n  isParentFn: (item: T) => boolean,\n  config: {\n    idKey: T1\n    parentKey: T2\n    childrenKey: T3\n  }\n): TreeNode<T, T3>[] {\n  const { idKey, parentKey, childrenKey } = config\n  const grouped = groupBy(list, parentKey)\n  function findChildren(item: T): TreeNode<T, T3> {\n    const o = (grouped[item[idKey]] || []).map(findChildren)\n    return o.length ? { ...item, [childrenKey]: o } : (item as TreeNode<T, T3>)\n  }\n  const trees: TreeNode<T, T3>[] = list.filter(isParentFn).map(findChildren)\n  return trees\n}\n\nfunction groupBy<T1 extends { [key in T2]: string }, T2 extends string>(\n  list: T1[],\n  parentKey: T2\n) {\n  const o: { [parentKey: string]: T1[] } = {}\n  list.map((item) => {\n    const pKey = item[parentKey]\n    if (!o[pKey]) o[pKey] = [item]\n    else o[pKey].push(item)\n  })\n  return o\n}\n"
  },
  {
    "path": "client/src/lib/loading/index.ts",
    "content": "import { App, computed, ComputedRef, inject, InjectionKey, ref } from \"vue\"\n\nconst key: InjectionKey<Loading> = Symbol(\"loading\")\n\nexport interface Loading {\n  loading: ComputedRef<boolean>\n  start(): void\n  stop(): void\n  install(app: App): void\n}\n\nexport function createLoadingPlugin(): Loading {\n  let token: NodeJS.Timeout | undefined\n  const loading = ref(false)\n  return {\n    loading: computed(() => loading.value),\n    start() {\n      token = setTimeout(() => {\n        loading.value = true\n      }, 500)\n    },\n    stop() {\n      if (token) {\n        clearTimeout(token)\n        token = undefined\n      }\n      loading.value = false\n    },\n    install(app: App) {\n      const loading = this\n      app.provide(key, loading)\n    },\n  }\n}\n\nexport function useLoading() {\n  return inject(key)!\n}\n"
  },
  {
    "path": "client/src/lib/modal/index.ts",
    "content": "export * from \"./src\"\n"
  },
  {
    "path": "client/src/lib/modal/src/ModalContainer.vue",
    "content": "<script setup lang=\"ts\">\nimport FadeScaleTransitionGroupVue from \"@/transitions/FadeScaleTransitionGroup.vue\"\nimport { useModal } from \".\"\nconst { modals } = useModal()\nconst teleport = document.createElement(\"div\")\nteleport.id = \"modal-container\"\ndocument.body.appendChild(teleport)\n</script>\n<template>\n  <Teleport to=\"#modal-container\">\n    <FadeScaleTransitionGroupVue>\n      <Component\n        v-for=\"item in modals\"\n        :key=\"item.id\"\n        :is=\"item.component\"\n        @click.stop\n        :close=\"item.close\"\n      ></Component>\n    </FadeScaleTransitionGroupVue>\n  </Teleport>\n</template>\n"
  },
  {
    "path": "client/src/lib/modal/src/index.ts",
    "content": "import { App, Component, inject, InjectionKey, markRaw, Ref, ref } from \"vue\"\nimport { v4 as uuid } from \"uuid\"\nexport { default as ModalContainer } from \"./ModalContainer.vue\"\nconst key: InjectionKey<ModalController> = Symbol(\"modal-controller\")\n\ninterface IModalItem {\n  id: string\n  component: Component\n  close: () => void\n}\nexport interface ModalController {\n  modals: Ref<IModalItem[]>\n  create(component: Component): IModalItem\n  install(app: App): void\n}\nexport function createModalPlugin(): ModalController {\n  const modals = ref<IModalItem[]>([])\n  function create(component: Component) {\n    const id = uuid()\n    const item = {\n      id,\n      component: markRaw(component),\n      close: () => {\n        modals.value = modals.value.filter((item) => item.id !== id)\n      },\n    }\n    modals.value.push(item)\n    return item\n  }\n  return {\n    modals,\n    create,\n    install(app: App) {\n      const controller = this\n      app.provide(key, controller)\n    },\n  }\n}\n\nexport function useModal() {\n  return inject(key)!\n}\n"
  },
  {
    "path": "client/src/lib/notification/index.ts",
    "content": "export * from \"./src\"\n"
  },
  {
    "path": "client/src/lib/notification/src/FadeTransitionGroup.vue",
    "content": "<script setup lang=\"ts\">\nimport anime from \"animejs\"\nimport { computed, getCurrentInstance } from \"vue\"\n\nconst props = withDefaults(defineProps<{ duration?: number }>(), {\n  duration: 200,\n})\n\nfunction enter(el: Element, done: () => void) {\n  anime({\n    targets: el,\n    opacity: 1,\n    duration: props.duration,\n    easing: \"easeInOutSine\",\n    complete: done,\n  })\n}\nfunction beforeEnter(el: Element) {\n  anime.set(el, {\n    opacity: 0,\n  })\n}\nfunction leave(el: Element, done: () => void) {\n  anime({\n    targets: el,\n    opacity: 0,\n    duration: props.duration,\n    easing: \"easeInOutSine\",\n    complete: done,\n  })\n}\nconst instance = getCurrentInstance()!\nconst transition = computed(() => `all ${props.duration}ms`)\n</script>\n\n<template>\n  <TransitionGroup\n    @enter=\"enter\"\n    @before-enter=\"beforeEnter\"\n    @leave=\"leave\"\n    move-class=\"notification-fade-move\"\n    v-bind=\"instance.attrs\"\n  >\n    <slot></slot>\n  </TransitionGroup>\n</template>\n<style>\n.notification-fade-move {\n  transition: v-bind(\"transition\");\n}\n</style>\n"
  },
  {
    "path": "client/src/lib/notification/src/Notification.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed } from \"vue\"\nimport { useNotification } from \"./lib\"\nimport FadeTransitionGroup from \"./FadeTransitionGroup.vue\"\nwithDefaults(\n  defineProps<{\n    zIndex?: number\n    type?: \"absolute\" | \"fixed\"\n  }>(),\n  { type: \"fixed\" }\n)\nconst notification = useNotification()\nconst list = computed(() =>\n  notification.notificationList.value.filter((item) => item.show)\n)\nconst position = computed(() => notification.position.value)\nconst teleport = document.createElement(\"div\")\nteleport.id = \"notifications\"\ndocument.body.appendChild(teleport)\n</script>\n<template>\n  <Teleport to=\"#notifications\">\n    <FadeTransitionGroup\n      tag=\"div\"\n      class=\"h-notification flex\"\n      :class=\"[type, position]\"\n      :style=\"{ zIndex: zIndex }\"\n    >\n      <div v-for=\"item in list\" :key=\"item.id\">\n        <slot :item=\"item\"></slot>\n      </div>\n    </FadeTransitionGroup>\n  </Teleport>\n</template>\n<style lang=\"less\" scoped>\n.top-left {\n  top: 8px;\n  left: 8px;\n  @apply flex-col-reverse items-start justify-end mb-2;\n}\n.top {\n  top: 8px;\n  left: 8px;\n  right: 8px;\n  @apply flex-col-reverse items-center justify-end mb-2;\n}\n.top-right {\n  top: 8px;\n  right: 8px;\n  @apply flex-col-reverse items-end justify-end mb-2;\n}\n.bottom-left {\n  bottom: 8px;\n  left: 8px;\n  @apply flex-col items-start justify-end mt-2;\n}\n.bottom {\n  bottom: 8px;\n  left: 8px;\n  right: 8px;\n  @apply flex-col items-center justify-end mt-2;\n}\n.bottom-right {\n  bottom: 8px;\n  right: 8px;\n  @apply flex-col items-end justify-end mt-2;\n}\n</style>\n"
  },
  {
    "path": "client/src/lib/notification/src/index.ts",
    "content": "export { useNotification, createNotification } from \"./lib\"\nexport type { Notification } from \"./lib\"\nexport { default as Notifications } from \"./Notification.vue\"\nexport * from \"./interface\"\n"
  },
  {
    "path": "client/src/lib/notification/src/interface.ts",
    "content": "import { ComputedRef } from \"vue\"\nexport type INotificationType = \"success\" | \"warning\" | \"error\" | \"info\"\nexport type INotificationPosition =\n  | \"top-left\"\n  | \"top\"\n  | \"top-right\"\n  | \"bottom-left\"\n  | \"bottom\"\n  | \"bottom-right\"\n\nexport const DEFAULT_NOTIFY_TYPE: INotificationType = \"info\"\nexport const DEFAULT_NOTIFICATION_POSITION: INotificationPosition =\n  \"bottom-right\"\nexport const DEFAULT_NOTIFICATION_DURATION: number = 3000\n\nexport interface INotificationItem {\n  id: string\n  title: string\n  type: INotificationType\n  desc: string\n  duration: number\n  permanent: boolean\n  close: () => void\n  onClick?: () => void\n  show: boolean\n  token?: NodeJS.Timeout\n  createdAt: Date\n  actions: {\n    label: string\n    run: () => void\n  }[]\n}\n\nexport interface INotificationOptions {\n  title: string\n  type?: INotificationType\n  /**\n   * extra description\n   */\n  desc?: string\n  duration?: number\n  permanent?: boolean\n  onClick?: () => void\n  actions?: {\n    label: string\n    run: () => void\n  }[]\n}\n\nexport interface INotification {\n  notifications: ComputedRef<{ [key: string]: INotificationItem }>\n  /**\n   * later-top list\n   */\n  notificationList: ComputedRef<INotificationItem[]>\n  defaults: ComputedRef<INotificationDefaults>\n  position: ComputedRef<INotificationPosition>\n  /**\n   * create a notification\n   * @returns\n   */\n  notify: (options: INotificationOptions) => string\n  /**\n   * close a notification by id\n   */\n  close: (id: string) => void\n  /**\n   * close all notification\n   */\n  closeAll: () => void\n  /**\n   * change notification plugin default settings\n   */\n  setDefaults: (options: Partial<INotificationDefaults>) => void\n  /**\n   * change notification plugin position\n   */\n  setPosition: (position: INotificationPosition) => void\n}\n\nexport interface INotificationDefaults {\n  type: INotificationType\n  duration: number\n}\n"
  },
  {
    "path": "client/src/lib/notification/src/lib.spec.ts",
    "content": "import { createNotification } from \"./lib\"\n\ndescribe(\"notification\", () => {\n  beforeEach(() => {\n    jest.useFakeTimers()\n  })\n\n  afterEach(() => {\n    jest.runOnlyPendingTimers()\n    jest.useRealTimers()\n  })\n\n  it(\"notify\", () => {\n    const notification = createNotification()\n    const id = notification.notify({ title: \"test notify\" })\n    expect(notification.notifications.value[id].title).toBe(\"test notify\")\n    expect(notification.notifications.value[id].show).toBe(true)\n  })\n\n  it(\"notify autoclose\", () => {\n    const notification = createNotification()\n    const id = notification.notify({ title: \"test notify\" })\n    jest.advanceTimersByTime(notification.notifications.value[id].duration)\n    expect(notification.notifications.value[id].token).toBe(undefined)\n    expect(notification.notifications.value[id].show).toBe(false)\n  })\n\n  it(\"close\", () => {\n    const notification = createNotification()\n    const id = notification.notify({ title: \"test notify\" })\n    notification.close(id)\n    expect(notification.notifications.value[id].token).toBe(undefined)\n    expect(notification.notifications.value[id].show).toBe(false)\n  })\n\n  it(\"close later\", async () => {\n    const notification = createNotification()\n    const id = notification.notify({ title: \"test notify\" })\n    jest.advanceTimersByTime(notification.notifications.value[id].duration / 2)\n    notification.close(id)\n    expect(notification.notifications.value[id].token).toBe(undefined)\n    expect(notification.notifications.value[id].show).toBe(false)\n  })\n\n  it(\"close a closed item\", async () => {\n    const notification = createNotification()\n    const id = notification.notify({ title: \"test notify\" })\n    jest.advanceTimersByTime(\n      notification.notifications.value[id].duration + 1000\n    )\n    notification.close(id)\n    expect(notification.notifications.value[id].token).toBe(undefined)\n    expect(notification.notifications.value[id].show).toBe(false)\n  })\n\n  it(\"close all\", () => {\n    const notification = createNotification()\n    notification.notify({ title: \"test notify1\" })\n    notification.notify({ title: \"test notify2\" })\n    notification.notify({ title: \"test notify3\" })\n    notification.closeAll()\n    jest.advanceTimersByTime(notification.notificationList.value[0].duration)\n    expect(\n      notification.notificationList.value.filter(\n        (item) => item.show || item.token\n      )\n    ).toEqual([])\n  })\n\n  it(\"sort by createdAt\", () => {\n    const notification = createNotification()\n    const id1 = notification.notify({ title: \"test notify1\" })\n    jest.advanceTimersByTime(10)\n    const id2 = notification.notify({ title: \"test notify2\" })\n    jest.advanceTimersByTime(10)\n    const id3 = notification.notify({ title: \"test notify3\" })\n    const list = notification.notificationList.value\n    expect(list).toEqual([\n      notification.notifications.value[id1],\n      notification.notifications.value[id2],\n      notification.notifications.value[id3],\n    ])\n  })\n\n  it(\"set defaults\", () => {\n    const notification = createNotification()\n    notification.setDefaults({ type: \"success\", duration: 5000 })\n    expect(notification.defaults.value.type).toBe(\"success\")\n    expect(notification.defaults.value.duration).toBe(5000)\n  })\n})\n"
  },
  {
    "path": "client/src/lib/notification/src/lib.ts",
    "content": "import { App, computed, InjectionKey, ref, inject } from \"vue\"\nimport { v4 as uuid } from \"uuid\"\nimport { noop, object2list } from \"~/utils\"\nimport {\n  DEFAULT_NOTIFICATION_DURATION,\n  DEFAULT_NOTIFICATION_POSITION,\n  DEFAULT_NOTIFY_TYPE,\n  INotification,\n  INotificationDefaults,\n  INotificationItem,\n  INotificationOptions,\n  INotificationPosition,\n} from \"./interface\"\n\n//#region plugin api\nconst notificationProviderInjectionKey: InjectionKey<Notification> =\n  Symbol(\"notification\")\n\nexport const useNotification = () => {\n  const notification = inject(notificationProviderInjectionKey)\n  if (!notification) {\n    console.warn(`Did you forget to load notification plugin?`)\n  }\n  return notification!\n}\nexport interface Notification extends INotification {\n  install(app: App): void\n}\n\nexport function createNotification(): Notification {\n  const _notifications = ref<{ [key: string]: INotificationItem }>({})\n  const _position = ref<INotificationPosition>(DEFAULT_NOTIFICATION_POSITION)\n  const _defaults = ref<INotificationDefaults>({\n    type: DEFAULT_NOTIFY_TYPE,\n    duration: DEFAULT_NOTIFICATION_DURATION,\n  })\n  const defaults = computed(() => _defaults.value)\n  const position = computed(() => _position.value)\n  const notifications = computed(() => _notifications.value)\n  const notificationList = computed(() =>\n    object2list(_notifications.value, \"id\").sort(\n      (a, b) => a.createdAt.getTime() - b.createdAt.getTime()\n    )\n  )\n  function _createNotificationItem(\n    options: INotificationOptions\n  ): INotificationItem {\n    const id = uuid()\n    const _close = () => close(id)\n    const {\n      title,\n      type = _defaults.value.type,\n      desc = \"\",\n      duration = _defaults.value.duration,\n      permanent = false,\n      onClick,\n      actions = [],\n    } = options\n    const show = true\n    const createdAt = new Date()\n    return {\n      id,\n      title,\n      type,\n      desc,\n      duration,\n      permanent: !actions.length ? permanent : true,\n      onClick:\n        onClick !== void 0\n          ? () => {\n              _close()\n              onClick()\n            }\n          : void 0,\n      show,\n      createdAt,\n      close: _close,\n      actions: actions.map((item) => {\n        const run = () => {\n          _close()\n          item.run()\n        }\n        return { ...item, run }\n      }),\n    }\n  }\n  function notify(options: INotificationOptions) {\n    // create item\n    const item = _createNotificationItem(options)\n    // append to store\n    _notifications.value[item.id] = item\n    if (!item.permanent) {\n      // set timeout\n      item.token = setTimeout(() => {\n        _notifications.value[item.id].show = false\n        delete _notifications.value[item.id].token\n      }, item.duration)\n    }\n    return item.id\n  }\n  function close(id: string) {\n    const item = _notifications.value[id]\n    if (item) {\n      if (item.token) clearTimeout(item.token)\n      _notifications.value[id].show = false\n      delete _notifications.value[id].token\n    }\n  }\n  function closeAll() {\n    notificationList.value.forEach((item) => close(item.id))\n  }\n  function setDefaults(options: Partial<INotificationDefaults> = {}) {\n    _defaults.value = { ..._defaults.value, ...options }\n  }\n  function setPosition(position: INotificationPosition) {\n    _position.value = position\n  }\n  return {\n    notifications,\n    notificationList,\n    defaults,\n    position,\n    notify,\n    close,\n    closeAll,\n    setDefaults,\n    setPosition,\n    install(app: App) {\n      const notification = this\n      app.provide(notificationProviderInjectionKey, notification)\n    },\n  }\n}\n//#endregion\n"
  },
  {
    "path": "client/src/lib/splitview/SplitView.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed, reactive, ref, toRefs } from \"vue\"\nimport useResizeObserver from \"./useResizeObserver\"\nimport useEventListener from \"./useEventListener\"\n\nconst px = (value: number) => `${value}px`\n\nconst positive = (value: number) => Math.max(value, 0)\n\ntype sepNumber = \"\" | \"1\" | \"2\"\n\nconst useCursoStyle = (type: string) => {\n  const cursorStyle = ref(\"\")\n\n  const setCursor = () => {\n    cursorStyle.value = document.body.style.cursor\n    document.body.style.cursor = type\n  }\n  const resetCursor = () => {\n    document.body.style.cursor = cursorStyle.value\n  }\n  return { setCursor, resetCursor }\n}\n\n//#region 配置\nconst props = withDefaults(\n  defineProps<{\n    sep1: {\n      min: number\n      max: number\n    }\n    sep2: {\n      min: number\n      max: number\n    }\n    sep1at: number\n    sep2at: number\n    sepHalfWidth?: number\n  }>(),\n  {\n    sepHalfWidth: 5,\n  }\n)\nconst emits = defineEmits<{\n  (e: \"update:sep1at\", value: number): void\n  (e: \"update:sep2at\", value: number): void\n}>()\nconst updateValue1 = (value: number) => {\n  emits(\"update:sep1at\", value)\n}\nconst updateValue2 = (value: number) => {\n  emits(\"update:sep2at\", value)\n}\nconst { sep1, sep2, sep1at, sep2at, sepHalfWidth } = toRefs(props)\n//#endregion\n\n//#region 变量\nconst container = ref<HTMLElement>()\nconst fullWidth = ref(0)\nconst origin = reactive({ x: 0, y: 0 })\nconst workingSep = ref<sepNumber>(\"\")\n//#endregion\n\n//#region 处理拖动\nconst { setCursor, resetCursor } = useCursoStyle(\"col-resize\")\nconst onSep1MouseDown = () => {\n  workingSep.value = \"1\"\n  window.addEventListener(\"mousemove\", onMouseMove)\n  setCursor()\n}\nconst onSep2MouseDown = () => {\n  workingSep.value = \"2\"\n  window.addEventListener(\"mousemove\", onMouseMove)\n  setCursor()\n}\nconst onSepMouseUp = () => {\n  workingSep.value = \"\"\n  window.removeEventListener(\"mousemove\", onMouseMove)\n  resetCursor()\n}\nconst onMouseMove = (e: MouseEvent) => {\n  if (workingSep.value === \"1\") {\n    const next = e.clientX - origin.x\n    if (next <= sep1.value.min) updateValue1(sep1.value.min)\n    else if (next >= sep1.value.max) updateValue1(sep1.value.max)\n    else updateValue1(next)\n  } else if (workingSep.value === \"2\") {\n    const next = e.clientX - origin.x - part1Width.value\n    if (next <= sep2.value.min) updateValue2(sep2.value.min)\n    else if (next >= sep2.value.max) updateValue2(sep2.value.max)\n    else updateValue2(next)\n  }\n}\nuseEventListener(window, \"mouseup\", onSepMouseUp)\n//#endregion\n\n//#region 计算整体尺寸\nconst syncSize = (entry: ResizeObserverEntry) => {\n  fullWidth.value = container.value?.clientWidth ?? 0\n  origin.x = container.value?.offsetLeft ?? 0\n  origin.y = container.value?.offsetTop ?? 0\n}\nuseResizeObserver(container, syncSize)\n//#endregion\n\n//#region 计算样式\nconst part1Width = computed(() => sep1at.value)\nconst part1Style = computed(() => ({\n  left: 0,\n  width: px(part1Width.value),\n}))\nconst part2Width = computed(() => sep2at.value)\nconst part2Style = computed(() => ({\n  left: px(part1Width.value),\n  width: px(part2Width.value),\n}))\nconst part3Width = computed(() =>\n  positive(fullWidth.value - part1Width.value - part2Width.value)\n)\nconst part3Style = computed(() => ({\n  left: px(part1Width.value + part2Width.value),\n  width: px(part3Width.value),\n}))\nconst sep1Style = computed(() => ({\n  left: px(part1Width.value - sepHalfWidth.value),\n  width: px(sepHalfWidth.value * 2),\n}))\nconst sep2Style = computed(() => ({\n  left: px(part1Width.value + part2Width.value - sepHalfWidth.value),\n  width: px(sepHalfWidth.value * 2),\n}))\n//#endregion\n</script>\n<template>\n  <div ref=\"container\" class=\"split-view-container\">\n    <div class=\"split-view-view\" :style=\"part1Style\">\n      <slot name=\"first\" />\n    </div>\n    <div class=\"split-view-view\" :style=\"part2Style\">\n      <slot name=\"second\" />\n    </div>\n    <div class=\"split-view-view\" :style=\"part3Style\">\n      <slot name=\"third\" />\n    </div>\n    <div\n      class=\"split-view-view split-view-seprator\"\n      :style=\"sep1Style\"\n      @mousedown=\"onSep1MouseDown\"\n    ></div>\n    <div\n      class=\"split-view-view split-view-seprator\"\n      :style=\"sep2Style\"\n      @mousedown=\"onSep2MouseDown\"\n    ></div>\n  </div>\n</template>\n\n<style scope>\n.split-view-container {\n  overflow: hidden;\n  width: 100%;\n  height: 100%;\n  white-space: nowrap;\n  position: relative;\n}\n.split-view-view {\n  height: 100%;\n  overflow: hidden;\n  white-space: normal;\n  position: absolute;\n}\n.split-view-seprator {\n  user-select: none;\n}\n.split-view-seprator:hover {\n  cursor: col-resize;\n}\n</style>\n"
  },
  {
    "path": "client/src/lib/splitview/index.ts",
    "content": "export { default as default } from \"./SplitView.vue\"\n"
  },
  {
    "path": "client/src/lib/splitview/useEventListener.ts",
    "content": "import { watchEffect } from \"vue\"\n\nconst useEventListener = (\n  ele: HTMLElement | Window,\n  type: keyof HTMLElementEventMap,\n  listener: (evt: Event) => void\n) => {\n  watchEffect((onInvalidate) => {\n    ele.addEventListener(type, listener)\n    onInvalidate(() => {\n      ele.removeEventListener(type, listener)\n    })\n  })\n}\n\nexport default useEventListener\n"
  },
  {
    "path": "client/src/lib/splitview/useResizeObserver.ts",
    "content": "import { Ref, watchEffect } from \"vue\"\n\nconst useResizeObserver = (\n  ele: Ref<HTMLElement | undefined>,\n  cb: (entry: ResizeObserverEntry) => void\n) => {\n  watchEffect((onInvalidate) => {\n    const ro = new ResizeObserver((entries) => {\n      for (let entry of entries) {\n        cb(entry)\n      }\n    })\n    if (ele.value) {\n      ro.observe(ele.value)\n    }\n    onInvalidate(() => {\n      ro.disconnect()\n    })\n  })\n}\n\nexport default useResizeObserver\n"
  },
  {
    "path": "client/src/main.ts",
    "content": "import { createApp } from \"vue\"\nimport App from \"./App.vue\"\nimport dialog from \"./plugins/dialog\"\nimport loading from \"./plugins/loading\"\nimport modal from \"./plugins/modal\"\nimport notification from \"./plugins/notification\"\nimport pinia from \"./plugins/pinia\"\nimport router from \"./plugins/router\"\nimport theme from \"./plugins/theme\"\nimport themes from \"./themes\"\nimport \"./plugins/dayjs\"\nimport \"@unocss/reset/tailwind.css\"\nimport \"uno.css\"\n\ncreateApp(App)\n  .use(loading)\n  .use(pinia)\n  .use(router)\n  .use(themes)\n  .use(theme)\n  .use(modal)\n  .use(notification)\n  .use(dialog)\n  .mount(\"#app\")\n"
  },
  {
    "path": "client/src/pages/edit/[type]/[source].vue",
    "content": "<script setup lang=\"ts\">\nimport { useEventListener } from \"@vueuse/core\"\nimport { computed, onBeforeUnmount, ref, watch } from \"vue\"\nimport { useRoute, useRouter } from \"vue-router\"\nimport dayjs, { Dayjs } from \"dayjs\"\nimport { PostOrPage } from \"~/interface\"\nimport { useDialog } from \"~/lib/dialog\"\nimport { useDetailStore } from \"~/store/detail\"\nimport { useDispatcher } from \"~/store/dispatcher\"\nimport { useMainStore } from \"~/store/main\"\nimport { useSettingsStore } from \"~/store/settings\"\nimport { noop, useAsyncComponentWithLoading } from \"~/utils\"\nimport { parseHfm, updateStringByObj } from \"~/utils/hfm\"\nimport ErroredView from \"~/views/ErroredView.vue\"\nimport { HEditorToolbarActionPayload } from \"@/types\"\nimport { HButton } from \"@/ui/button\"\nimport { HIcon, HIconName } from \"@/ui/icon\"\nimport { HLoading } from \"@/ui/loading\"\nimport { useThemeVars } from \"@/ui/theme\"\nimport HEditorToolbar from \"@/HEditorToolbar.vue\"\nimport HTitle from \"@/HTitle.vue\"\nimport HToolbar from \"@/HToolbar.vue\"\nimport HCategoriesEditor from \"@/editors/HCategoriesEditor.vue\"\nimport HDateEditor from \"@/editors/HDateEditor.vue\"\nimport HFrontmatterEditor from \"@/editors/HFrontmatterEditor.vue\"\nimport HHeaderEditor from \"@/editors/HHeaderEditor.vue\"\nimport HLayoutEditor from \"@/editors/HLayoutEditor.vue\"\nimport HTagEditor from \"@/editors/HTagEditor.vue\"\nimport HNavTitle from \"@/ui/nav-list/src/HNavTitle.vue\"\nimport { DATE_FORMAT } from \"@shared/constants\";\n\nconst [HMonacoEditor, monacoLoading] = useAsyncComponentWithLoading(\n  () => import(\"@/editors/HMonacoEditor.vue\")\n)\n\n//#region hooks\nconst route = useRoute()\nconst router = useRouter()\nconst dispatcher = useDispatcher()\nconst detailStore = useDetailStore()\nconst mainStore = useMainStore()\nconst dialog = useDialog()\nconst settingsStore = useSettingsStore()\nconst vars = useThemeVars()\nconst props = defineProps<{\n  type: PostOrPage\n  source: string\n}>()\n//#endregion\n\n//#region handlers\nconst onHome = () => {\n  router.push(\"/\")\n}\nconst onAction = (payload: HEditorToolbarActionPayload) => {\n  const { type, source } = props\n  switch (payload.type) {\n    case \"back\":\n      changed.value\n        ? dialog.create({\n            type: \"warning\",\n            title: \"有未保存的更改\",\n            content: \"确定要离开么？\",\n            actions: [\n              { label: \"再想想\", type: \"common\" },\n              {\n                label: \"是的\",\n                type: \"error\",\n                run: () => {\n                  dispatcher.viewArticle({ type, source })\n                },\n              },\n            ],\n          })\n        : dispatcher.viewArticle({ type, source })\n      break\n    case \"save\":\n      dispatcher.saveArticle(internal_raw.value).then(setUnchanged, noop)\n      break\n    case \"delete\":\n      dispatcher.deleteArticle({ type, source })\n      break\n    case \"publish\":\n      dispatcher.publishArticle(source)\n      break\n    default:\n      break\n  }\n}\n\nconst onSave = () => {\n  onAction({\n    type: \"save\",\n  })\n}\nuseEventListener(\"beforeunload\", (e) => {\n  if (!changed.value) return\n  if (!confirm(\"确定离开？你所做的更改可能未保存。\")) {\n    e.preventDefault()\n    e.returnValue = \"\"\n  }\n})\n//#endregion\n\n//#region data\nfunction load() {\n  const { type, source } = props\n  if (type === \"post\" || type === \"page\") {\n    dispatcher.getArticle({ type, source })\n  } else {\n    dispatcher.goHome()\n  }\n}\nonBeforeUnmount(() => {\n  dispatcher.clearArticle()\n})\nwatch(\n  () => route.fullPath,\n  () => {\n    if (route.name !== \"edit\") return\n    load()\n    dispatcher.loadBlogData()\n  },\n  {\n    immediate: true,\n  }\n)\nconst raw = computed(() => detailStore.article?.raw ?? \"\")\nconst internal_raw = ref(raw.value)\nwatch(raw, (v) => (internal_raw.value = v))\nconst data = computed(() => parseHfm(internal_raw.value))\nconst content = computed(() => data.value._content)\nconst title = computed(() => data.value.title)\nconst layout = computed(() => data.value.layout)\nconst tags = computed(() => data.value.tags)\nconst categories = computed(() => data.value.categories)\nconst date = computed(() => {\n  const res = dayjs(data.value.date)\n  if (res.format(\"\") === \"Invalid Date\") return null\n  return res\n})\nconst updated = computed(() => {\n  const res = dayjs(data.value.updated)\n  if (res.format(\"\") === \"Invalid Date\") return null\n  return res\n})\nconst fm = computed(() => data.value.fm)\nconst availableTags = computed(() => mainStore.tagNamesList)\nconst availableCats = computed(() => mainStore.catNamesList)\n//#endregion\n\n//#region update\nconst changed = ref(false)\nconst setChanged = () => (changed.value = true)\nconst setUnchanged = () => (changed.value = false)\nconst updateFromObj = (obj: any) => {\n  internal_raw.value = updateStringByObj(internal_raw.value, obj)\n  setChanged()\n}\nconst updateTitle = (title: string = \"\") => {\n  updateFromObj({ title })\n}\nconst updateContent = (_content: string) => {\n  updateFromObj({ _content })\n}\nconst updateTags = (tags: string[] = []) => {\n  updateFromObj({ tags })\n}\nconst updateCategories = (categories: string[] = []) => {\n  updateFromObj({ categories })\n}\nconst updateLayout = (layout: string = \"\") => {\n  updateFromObj({ layout })\n}\nconst updateDate = (date: Dayjs | null) => {\n  updateFromObj({ date: date?.format(DATE_FORMAT) })\n}\nconst updateUpdated = (updated: Dayjs | null) => {\n  updateFromObj({ updated: updated?.format(DATE_FORMAT) })\n}\nconst updateFm = (fm: { [key: string]: unknown }) => {\n  updateFromObj({ fm })\n}\n//#endregion\n</script>\n<template>\n  <HLoading :loading=\"detailStore.isLoading\">\n    <ErroredView v-if=\"detailStore.error\">\n      <div>\n        <HButton inverted @click=\"onHome\">回主页</HButton>\n        <HButton class=\"ml-2\" @click=\"load\">重试</HButton>\n      </div>\n    </ErroredView>\n    <div class=\"flex h-full w-full overflow-hidden\" v-else>\n      <div\n        class=\"main flex-1 min-w-0 flex flex-col h-full\"\n        :style=\"{ backgroundColor: vars.backgroundColorPrimary }\"\n      >\n        <HEditorToolbar\n          :saving=\"detailStore.saving\"\n          :changed=\"changed\"\n          @on-action=\"onAction\"\n        />\n        <div class=\"flex flex-col flex-1 w-full min-h-0 max-w-2xl mx-auto\">\n          <HHeaderEditor :value=\"title\" @update:value=\"updateTitle\" />\n          <div class=\"flex-1 w-full relative\">\n            <HLoading :loading=\"monacoLoading\" overlay>\n              <HMonacoEditor\n                class=\"h-full w-full\"\n                id=\"default\"\n                :font-family=\"settingsStore.settings.ui.editor.fontFamily\"\n                :value=\"content\"\n                @update:value=\"updateContent\"\n                @on-save=\"onSave\"\n              />\n            </HLoading>\n          </div>\n        </div>\n      </div>\n      <div\n        class=\"side w-72 h-full flex flex-col\"\n        :style=\"{ backgroundColor: vars.backgroundColorTertiary }\"\n      >\n        <HTitle>\n          <div class=\"px-5\">Frontmatters</div>\n        </HTitle>\n        <div class=\"flex-1 h-0 overflow-auto pt-2 pb-4\">\n          <HNavTitle>\n            <HIcon :name=\"HIconName.Globe\" class=\"mr-1\" />\n            发布于\n          </HNavTitle>\n          <HDateEditor :date=\"date\" @update:date=\"updateDate\" />\n          <HNavTitle class=\"mt-2\">\n            <HIcon :name=\"HIconName.DevUpdate\" class=\"mr-1\" />\n            更新于\n          </HNavTitle>\n          <HDateEditor :date=\"updated\" @update:date=\"updateUpdated\" />\n          <HNavTitle class=\"mt-2\">\n            <HIcon :name=\"HIconName.Tag\" class=\"mr-1\" />\n            标签\n          </HNavTitle>\n          <HTagEditor\n            :available-tags=\"availableTags\"\n            :tags=\"tags\"\n            @update:tags=\"updateTags\"\n          />\n          <HNavTitle class=\"mt-2\">\n            <HIcon :name=\"HIconName.Folder\" class=\"mr-2\" />\n            分类\n          </HNavTitle>\n          <HCategoriesEditor\n            :availableCats=\"availableCats\"\n            :categories=\"categories\"\n            @update:categories=\"updateCategories\"\n          />\n          <HNavTitle class=\"mt-2\">\n            <HIcon :name=\"HIconName.Type\" class=\"mr-2\" />\n            Layout\n          </HNavTitle>\n          <HLayoutEditor :layout=\"layout\" @update:layout=\"updateLayout\" />\n          <HNavTitle class=\"mt-2\">\n            <HIcon :name=\"HIconName.HolePunchLandscapeTop\" class=\"mr-2\" />\n            Frontmatters\n          </HNavTitle>\n          <HFrontmatterEditor :fm=\"fm\" @update:fm=\"updateFm\" />\n        </div>\n      </div>\n    </div>\n  </HLoading>\n</template>\n<route>\n{\n  name: \"edit\",\n}\n</route>\n"
  },
  {
    "path": "client/src/pages/index/view/[type]/[source].vue",
    "content": "<script setup lang=\"ts\">\nimport { computed, onBeforeUnmount, watch } from \"vue\"\nimport { PostOrPage } from \"~/interface\"\nimport { useDetailStore } from \"~/store/detail\"\nimport { useDispatcher } from \"~/store/dispatcher\"\nimport { parseArticleData } from \"~/utils/article\"\nimport HViewerContent from \"~/components/viewer/HViewerContent.vue\"\nimport HViewerHeader from \"~/components/viewer/HViewerHeader.vue\"\nimport HViewerToolbar from \"~/components/viewer/HViewerToolbar.vue\"\nimport { HViewerToolbarActionPayload } from \"@/types\"\nimport { HButton } from \"@/ui/button\"\nimport { HLoading } from \"@/ui/loading\"\nimport ErroredView from \"~/views/ErroredView.vue\"\n\n//#region hooks\nconst dispatcher = useDispatcher()\nconst detailStore = useDetailStore()\nconst props = defineProps<{\n  type: PostOrPage\n  source: string\n}>()\n//#endregion\n\n//#region data\nfunction load() {\n  const { type, source } = props\n  if (type === \"post\" || type === \"page\") {\n    dispatcher.getArticle({ type, source })\n  } else {\n    dispatcher.goHome()\n  }\n}\nwatch(\n  () => [props.type, props.source],\n  () => {\n    load()\n  },\n  {\n    deep: true,\n    immediate: true,\n  }\n)\nonBeforeUnmount(() => {\n  dispatcher.clearArticle()\n})\n//#endregion\n\n//#region data\nconst content = computed(() => detailStore.article?.content || \"\")\nconst article = computed(() => parseArticleData(detailStore.article))\n//#endregion\n\n//#region handlers\nconst onAction = (payload: HViewerToolbarActionPayload) => {\n  const { type, source } = props\n  switch (payload.type) {\n    case \"code\":\n      break\n    case \"edit\":\n      dispatcher.editArticle({ type, source })\n      break\n    case \"delete\":\n      dispatcher.deleteArticle({ type, source })\n      break\n    case \"publish\":\n      dispatcher.publishArticle(source)\n      break\n    default:\n      break\n  }\n}\n//#endregion\n</script>\n<template>\n  <HLoading :loading=\"detailStore.isLoading\">\n    <ErroredView v-if=\"detailStore.error\">\n      <HButton @click=\"load\">重试</HButton>\n    </ErroredView>\n    <div class=\"w-full h-full flex flex-col\" v-else>\n      <HViewerToolbar @on-action=\"onAction\" />\n      <div class=\"overflow-auto flex-1\">\n        <HViewerHeader :article=\"article\" />\n        <HViewerContent :content=\"content\" />\n      </div>\n    </div>\n  </HLoading>\n</template>\n<route>\n{\n  name: \"view\",\n}\n</route>\n"
  },
  {
    "path": "client/src/pages/index.vue",
    "content": "<script setup lang=\"ts\">\nimport { useLocalStorage } from \"@vueuse/core\"\nimport { MainPart , SidePart , SideSplit } from \"@winwin/vue-side-split\"\nimport { nextTick , onMounted , ref } from \"vue\"\nimport { RouterView } from \"vue-router\"\nimport { useDispatcher } from \"~/store/dispatcher\"\nimport preLoadAll from \"~/utils/preload\"\nimport ArticleListView from \"~/views/ArticleListView.vue\"\nimport HomeNavView from \"~/views/HomeNavView.vue\"\nimport { useThemeVars } from \"@/ui/theme\"\nimport HSearchBar from \"@/HSearchBar.vue\"\n\n//#region hooks\nconst dispatcher = useDispatcher()\n//#endregion\n\nonMounted(() => {\n  dispatcher.loadBlogData()\n  dispatcher.getInfo()\n})\nconst sep = useLocalStorage(\"index-sep\", { nav: 200, list: 320 })\n\nconst search = ref(\"\")\n\nconst onAdd = () => dispatcher.showCreateArticleModal()\n\nonMounted(() => {\n  nextTick(() => {\n    preLoadAll()\n  })\n})\nconst vars = useThemeVars()\nvars.value.backgroundColorTertiary\n</script>\n<template>\n  <SideSplit class=\"index-page w-full h-full\">\n    <SidePart :min=\"150\" v-model=\"sep.nav\" :max=\"300\">\n      <HomeNavView />\n    </SidePart>\n    <SidePart :min=\"200\" v-model=\"sep.list\" :max=\"500\">\n      <div class=\"home-list-view flex flex-col w-full h-full\">\n        <HSearchBar v-model=\"search\" class=\"flex-shrink-0\" @on-add=\"onAdd\" />\n        <div class=\"overflow-auto flex-1\">\n          <ArticleListView />\n        </div>\n      </div>\n    </SidePart>\n    <MainPart type=\"main\">\n      <div class=\"home-viewer-view w-full h-full\">\n        <RouterView />\n      </div>\n    </MainPart>\n  </SideSplit>\n</template>\n<style lang=\"less\" scoped>\n.home-list-view {\n  background-color: v-bind(\"vars.backgroundColorSecondary\");\n}\n.home-viewer-view {\n  background-color: v-bind(\"vars.backgroundColorPrimary\");\n}\n</style>\n\n<route>\n{\n  name: \"home\",\n}\n</route>\n"
  },
  {
    "path": "client/src/pages/signin.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed } from \"vue\"\nimport { useDispatcher } from \"~/store/dispatcher\"\nimport HLoginForm from \"@/forms/HLoginForm.vue\"\nimport { useThemeVars } from \"~/components/ui/theme\"\nconst dispatcher = useDispatcher()\nconst footer = computed(() => {\n  return `©️ 2019 ~ ${new Date().getFullYear()} winwin_2011`\n})\nconst onSignIn = (payload: { username: string; password: string }) =>\n  dispatcher.signIn(payload)\nconst vars = useThemeVars()\n</script>\n<template>\n  <div\n    class=\"w-full h-full flex flex-col items-center select-none\"\n    :style=\"{\n      backgroundColor: vars.backgroundColorTertiary,\n      paddingTop: '20vh',\n    }\"\n  >\n    <HLoginForm @on-submit=\"onSignIn\" style=\"flex: 1\" />\n    <div class=\"leading-8 text-xs\" :style=\"{ color: vars.textColorSecondary }\">\n      {{ footer }}\n    </div>\n  </div>\n</template>\n\n<route lang=\"yaml\">\nmeta:\n  name: signin\n  layout: unauthorized\n</route>\n"
  },
  {
    "path": "client/src/plugins/dayjs.ts",
    "content": "import dayjs from \"dayjs\"\nimport relativeTime from \"dayjs/plugin/relativeTime\"\nimport localizedFormat from \"dayjs/plugin/localizedFormat\"\nimport \"dayjs/locale/zh-cn\"\n\ndayjs.extend(relativeTime)\ndayjs.extend(localizedFormat)\ndayjs.locale(\"zh-cn\")\n"
  },
  {
    "path": "client/src/plugins/dialog.ts",
    "content": "import { createDialogPlugin } from \"~/lib/dialog\"\n\nexport default createDialogPlugin()\n"
  },
  {
    "path": "client/src/plugins/loading.ts",
    "content": "import { createLoadingPlugin } from \"~/lib/loading\"\n\nexport default createLoadingPlugin()\n"
  },
  {
    "path": "client/src/plugins/modal.ts",
    "content": "import { createModalPlugin } from \"~/lib/modal/src\"\n\nexport default createModalPlugin()\n"
  },
  {
    "path": "client/src/plugins/notification.ts",
    "content": "import { createNotification } from \"../lib/notification\"\n\nexport default createNotification()\n"
  },
  {
    "path": "client/src/plugins/pinia.ts",
    "content": "import { createPinia } from \"pinia\"\nimport router from \"./router\"\nimport dialog from \"./dialog\"\nimport notification from \"./notification\"\nimport modal from \"./modal\"\nimport loading from \"./loading\"\n\nconst pinia = createPinia()\npinia.use(() => ({\n  loading,\n  dialog,\n  router,\n  notification,\n  modal,\n}))\n\nexport default pinia\n"
  },
  {
    "path": "client/src/plugins/router.ts",
    "content": "import { createRouter, createWebHashHistory, RouteRecordRaw } from \"vue-router\"\nimport { isLogin } from \"~/api/auth\"\nimport { setupLayouts } from \"virtual:generated-layouts\"\nimport generatedRoutes from \"virtual:generated-pages\"\n\nconst routes = setupLayouts(generatedRoutes)\n\nconst path = {\n  home: \"/\",\n  signin: \"/signin\",\n}\n\nconst router = createRouter({ history: createWebHashHistory(), routes })\n\nrouter.beforeEach(async (to, from) => {\n  if (isLogin() && to.path === path.signin) return path.home\n  if (!isLogin() && to.path !== path.signin) return path.signin\n})\n\nexport default router\n"
  },
  {
    "path": "client/src/plugins/theme.ts",
    "content": "import { createThemePlugin } from \"@/ui/theme\"\nexport default createThemePlugin()\n"
  },
  {
    "path": "client/src/store/actions.ts",
    "content": "import { defineStore } from \"pinia\"\nimport { api } from \"~/api\"\nimport { getErrorMessage } from \"~/errors\"\nimport notification from \"~/plugins/notification\"\nimport { useDispatcher } from \"./dispatcher\"\nfunction success() {\n  notification.notify({\n    type: \"success\",\n    title: \"成功\",\n  })\n}\nfunction fail(e: unknown) {\n  const err = e instanceof Error ? e : new Error(e as any)\n  console.log(getErrorMessage(err))\n  const id = notification.notify({\n    title: \"失败\",\n    desc: getErrorMessage(err),\n    type: \"error\",\n    actions: [\n      {\n        label: \"好的\",\n        run() {\n          notification.close(id)\n        },\n      },\n    ],\n  })\n  return err\n}\nexport const useActionsStore = defineStore(\"actions\", {\n  actions: {\n    async deploy() {\n      this.loading.start()\n      await api.deploy().then(success, fail)\n      this.loading.stop()\n    },\n    async generate() {\n      this.loading.start()\n      await api.generate().then(success, fail)\n      this.loading.stop()\n    },\n    async clean() {\n      this.loading.start()\n      await api.clean().then(success, fail)\n      this.loading.stop()\n    },\n    async gitSync() {\n      this.loading.start()\n      await api.gitSync().then(() => {\n        success()\n        const dispatcher = useDispatcher()\n        dispatcher.loadBlogData()\n      }, fail)\n      this.loading.stop()\n    },\n    async gitSave() {\n      this.loading.start()\n      await api.gitSave().then(() => {\n        success()\n        const dispatcher = useDispatcher()\n        dispatcher.loadBlogData()\n      }, fail)\n      this.loading.stop()\n    },\n  },\n})\n"
  },
  {
    "path": "client/src/store/articleList.ts",
    "content": "import { defineStore } from \"pinia\"\nimport { BriefPage, BriefPost } from \"~/api\"\nimport { isDraft, isPage, isPost } from \"~/utils/article\"\n\ntype AllFilter = {\n  type: \"all\"\n}\ntype PostFilter = {\n  type: \"post\"\n}\ntype pageFilter = {\n  type: \"page\"\n}\ntype DraftFilter = {\n  type: \"draft\"\n}\ntype CategorieFilter = {\n  type: \"category\"\n  slug: string\n}\ntype TagFilter = {\n  type: \"tag\"\n  slug: string\n}\ntype Filter =\n  | AllFilter\n  | PostFilter\n  | pageFilter\n  | DraftFilter\n  | CategorieFilter\n  | TagFilter\n\ninterface IState {\n  filter: Filter\n}\nexport const useArticleListStore = defineStore(\"article-list\", {\n  state: (): IState => ({ filter: { type: \"all\" } }),\n  actions: {\n    setFilter(filter: Filter) {\n      this.filter = filter\n    },\n  },\n  getters: {\n    articleFilter(state) {\n      const filter = state.filter\n      return (articles: (BriefPage | BriefPost)[]) => {\n        switch (filter.type) {\n          case \"all\":\n            return articles\n          case \"page\":\n            return articles.filter(isPage)\n          case \"post\":\n            return articles.filter(isPost)\n          case \"draft\":\n            return articles.filter(isDraft)\n          case \"category\":\n            return (articles.filter(isPost) as BriefPost[]).filter((post) =>\n              post.categories?.includes(filter.slug)\n            )\n          case \"tag\":\n            return (articles.filter(isPost) as BriefPost[]).filter((post) =>\n              post.tags?.includes(filter.slug)\n            )\n          default:\n            return [] as never[]\n        }\n      }\n    },\n  },\n})\n"
  },
  {
    "path": "client/src/store/detail.ts",
    "content": "import { defineStore } from \"pinia\"\nimport { Page, Post, api } from \"~/api\"\nimport { PostOrPage } from \"~/interface\"\nimport { isDraft, isPage, isPost } from \"~/utils/article\"\n\ninterface IState {\n  article: Post | Page | null\n  error: boolean\n  _loading: boolean\n  saving: boolean\n}\n\nexport const useDetailStore = defineStore(\"detail\", {\n  state: (): IState => ({\n    article: null,\n    error: false,\n    _loading: false,\n    saving: false,\n  }),\n  getters: {\n    isLoading(): boolean {\n      return (this._loading || !this.article) && !this.error\n    },\n    isDraft(): boolean {\n      return isDraft(this.article)\n    },\n    isPost(): boolean {\n      return isPost(this.article)\n    },\n    isPage(): boolean {\n      return isPage(this.article)\n    },\n  },\n  actions: {\n    async getArticle(type: PostOrPage, source: string) {\n      const token = setTimeout(() => {\n        this._loading = true\n      }, 500)\n      this.error = false\n      try {\n        const res = await api.getArticle(type, source)\n        this.article = res\n      } catch (err) {\n        console.error(err)\n        this.error = true\n        throw err\n      } finally {\n        clearTimeout(token)\n        this._loading = false\n      }\n    },\n    async saveArticle(raw: string) {\n      if (!this.article) return\n      this.saving = true\n      try {\n        await api.saveArticle(\n          isPost(this.article) ? \"post\" : \"page\",\n          this.article.source,\n          raw\n        )\n      } catch (err) {\n        console.error(err)\n        throw err\n      } finally {\n        this.saving = false\n      }\n    },\n    clearArticle() {\n      this.$reset()\n    },\n  },\n})\n"
  },
  {
    "path": "client/src/store/dispatcher.ts",
    "content": "import { defineStore } from \"pinia\"\nimport { defineAsyncComponent } from \"vue\"\nimport { ICreateOptions } from \"~/api\"\nimport { changePassword, getInfo, login, changeUsername } from \"~/api/auth\"\nimport { IChangePasswordFormPayload } from \"~/components/forms/interface\"\nimport { getErrorId, getErrorMessage } from \"~/errors\"\nimport { IArticleIdentifier } from \"~/interface\"\nimport { isPost } from \"~/utils/article\"\nimport { useDetailStore } from \"./detail\"\nimport { useMainStore } from \"./main\"\nimport { useSettingsStore } from \"./settings\"\n\nconst HCreateArticleModal = defineAsyncComponent(\n  () => import(\"@/modals/HCreateArticleModal.vue\")\n)\nconst HSettingsModal = defineAsyncComponent(\n  () => import(\"@/modals/HSettingsModal.vue\")\n)\n\nexport const useDispatcher = defineStore(\"dispatcher\", {\n  state: () => ({}),\n  actions: {\n    init() {\n      const mainStore = useMainStore()\n      mainStore.loadUsername()\n    },\n    //#region user\n    async getInfo() {\n      return Promise.all([this.getUsername(), this.getSettings()])\n    },\n    async getSettings() {\n      const settingsStore = useSettingsStore()\n      await settingsStore.load()\n    },\n    async getUsername() {\n      const mainStore = useMainStore()\n      const { username } = await getInfo()\n      mainStore.setUsername(username)\n    },\n    async signIn({\n      username,\n      password,\n    }: {\n      username: string\n      password: string\n    }) {\n      try {\n        await login(username, password)\n        this.getInfo()\n        this.router.push({ name: \"home\" })\n      } catch (e: any) {\n        this.notification.notify({\n          title: \"登陆失败\",\n          type: \"error\",\n          desc: e?.response?.data?.message,\n        })\n      }\n    },\n    async changePassword(payload: IChangePasswordFormPayload) {\n      return changePassword(payload.oldPassword, payload.newPassword).then(\n        () => {\n          this.notification.notify({ type: \"success\", title: \"密码修改成功\" })\n        },\n        (err) => {\n          this.notification.notify({\n            title: \"密码修改失败\",\n            desc: (err as Error).message,\n            type: \"error\",\n            duration: 5000,\n          })\n        }\n      )\n    },\n    async changeUsername(username: string) {\n      return changeUsername(username).then(\n        () => {\n          this.notification.notify({ type: \"success\", title: \"用户名修改成功\" })\n          return this.getUsername()\n        },\n        (err) => {\n          this.notification.notify({\n            title: \"用户名修改失败\",\n            desc: (err as Error).message,\n            type: \"error\",\n            duration: 5000,\n          })\n        }\n      )\n    },\n    //#endregion\n    //#region modals\n    showCreateArticleModal() {\n      this.modal.create(HCreateArticleModal)\n    },\n    showSettingsModal() {\n      this.modal.create(HSettingsModal)\n    },\n    //#endregion\n    async createArticle(title: string, options: ICreateOptions) {\n      const mainStore = useMainStore()\n      this.loading.start()\n      try {\n        await mainStore.createArticle(title, options).then(\n          () => {\n            this.notification.notify({\n              type: \"success\",\n              title: \"新建成功\",\n            })\n          },\n          (err) => {\n            this.notification.notify({\n              title: \"新建失败\",\n              desc: (err as Error).message,\n              type: \"error\",\n              duration: 5000,\n            })\n          }\n        )\n      } catch (err) {\n      } finally {\n        this.loading.stop()\n      }\n    },\n    deleteArticle(id: IArticleIdentifier) {\n      const mainStore = useMainStore()\n      this.dialog.create({\n        type: \"warning\",\n        title: \"删除确认\",\n        content: \"删除后需手动恢复\",\n        actions: [\n          { type: \"common\", label: \"取消\" },\n          {\n            type: \"error\",\n            label: \"删除\",\n            run: () => {\n              mainStore.deleteArticle(id.type, id.source).then(() => {\n                this.notification.notify({\n                  type: \"success\",\n                  title: \"删除成功\",\n                })\n                // FIXME 不是每次都要跳转\n                this.router.push({ name: \"home\" })\n              })\n            },\n          },\n        ],\n      })\n    },\n    async saveArticle(raw: string) {\n      this.loading.start()\n      try {\n        const detailStore = useDetailStore()\n        await detailStore.saveArticle(raw).then(\n          () => {\n            this.notification.notify({\n              title: \"保存成功\",\n              type: \"success\",\n            })\n            this.reloadBlogData()\n          },\n          (err) => {\n            this.notification.notify({\n              title: \"文章保存失败\",\n              desc: (err as Error).message,\n              type: \"error\",\n              duration: 5000,\n            })\n            throw err\n          }\n        )\n      } catch (err) {\n      } finally {\n        this.loading.stop()\n      }\n    },\n    editArticle(id: IArticleIdentifier) {\n      this.router.push({ name: \"edit\", params: { ...id } })\n    },\n    viewArticle(id: IArticleIdentifier) {\n      this.router.push({ name: \"view\", params: { ...id } })\n    },\n    getArticle(id: IArticleIdentifier) {\n      const detailStore = useDetailStore()\n      detailStore.getArticle(id.type, id.source).catch((err) => {\n        if (getErrorId(err) === \"PostOrPageNotFoundError\") {\n          this.goHome()\n        } else {\n          this.notification.notify({\n            title: \"文章载入失败\",\n            desc: getErrorMessage(err),\n            type: \"error\",\n            duration: 5000,\n          })\n        }\n      })\n    },\n    clearArticle() {\n      const detailStore = useDetailStore()\n      detailStore.clearArticle()\n    },\n    async publishArticle(source: string) {\n      this.dialog.create({\n        type: \"warning\",\n        title: \"发布确认\",\n        content: \"发布后需手动恢复\",\n        actions: [\n          { type: \"common\", label: \"取消\" },\n          {\n            type: \"info\",\n            label: \"发布\",\n            run: () => {\n              this.doPublishArticle(source)\n            },\n          },\n        ],\n      })\n    },\n    async doPublishArticle(source: string) {\n      const prefix = \"_drafts/\"\n      if (!source.startsWith(prefix)) return\n      this.loading.start()\n      try {\n        const removePrefixAndExt = (source: string) => {\n          return source.slice(prefix.length, -3)\n        }\n        const mainStore = useMainStore()\n        await mainStore.publishArticle(removePrefixAndExt(source)).then(\n          (article) => {\n            this.notification.notify({\n              title: \"发布成功\",\n              type: \"success\",\n            })\n            const detailStore = useDetailStore()\n            if (\n              detailStore.article &&\n              isPost(detailStore.article) &&\n              detailStore.article.source === source\n            ) {\n              this.router.push({\n                name: \"view\",\n                params: { source: article.source },\n              })\n            }\n          },\n          (err) => {\n            this.notification.notify({\n              title: \"文章发布失败\",\n              desc: (err as Error).message,\n              type: \"error\",\n              duration: 5000,\n            })\n          }\n        )\n      } catch (err) {\n      } finally {\n        this.loading.stop()\n      }\n    },\n    goHome() {\n      this.router.push({ name: \"home\" })\n    },\n    reloadBlogData() {\n      const mainStore = useMainStore()\n      mainStore.getBlogData().catch((err) => {\n        this.notification.notify({\n          title: `博客数据刷新失败`,\n          desc: (err as Error).message,\n          type: \"error\",\n          actions: [\n            {\n              label: \"重试\",\n              run: () => {\n                this.reloadBlogData()\n              },\n            },\n          ],\n        })\n      })\n    },\n    loadBlogData() {\n      const mainStore = useMainStore()\n      mainStore.getBlogData().catch((err) => {\n        this.notification.notify({\n          title: `博客数据载入失败`,\n          desc: (err as Error).message,\n          type: \"error\",\n          duration: 5000,\n        })\n      })\n    },\n  },\n})\n"
  },
  {
    "path": "client/src/store/main.ts",
    "content": "import { defineStore } from \"pinia\"\nimport { list2Tree, TreeNode } from \"~/lib/list2tree\"\nimport { api, BriefPage, BriefPost, Category, ICreateOptions, Tag } from \"~/api\"\nimport { list2object, object2list } from \"~/utils\"\nimport { PostOrPage } from \"~/interface\"\nimport { useDispatcher } from \"./dispatcher\"\n\nexport interface IState {\n  username: string\n  posts: {\n    [key: string]: BriefPost\n  }\n  pages: {\n    [key: string]: BriefPage\n  }\n  categories: {\n    [key: string]: Category\n  }\n  tags: {\n    [key: string]: Tag\n  }\n}\n\nexport const useMainStore = defineStore(\"main\", {\n  state: (): IState => ({\n    username: \"\",\n    posts: {},\n    pages: {},\n    categories: {},\n    tags: {},\n  }),\n  actions: {\n    setUsername(name: string) {\n      this.username = name\n      localStorage.setItem(\"username\", name)\n    },\n    loadUsername() {\n      this.username = localStorage.getItem(\"username\") || \"\"\n    },\n    async getBlogData() {\n      const { posts, pages, tags, categories } = await api.getAllData()\n      this.posts = list2object(posts, \"source\")\n      this.pages = list2object(pages, \"source\")\n      this.tags = list2object(tags, \"slug\")\n      this.categories = list2object(categories, \"slug\")\n    },\n    async deleteArticle(type: PostOrPage, source: string) {\n      const { posts, pages, tags, categories } = await api.deleteArticle(\n        type,\n        source\n      )\n      this.posts = list2object(posts, \"source\")\n      this.pages = list2object(pages, \"source\")\n      this.tags = list2object(tags, \"slug\")\n      this.categories = list2object(categories, \"slug\")\n    },\n    async createArticle(title: string, options: ICreateOptions = {}) {\n      const data = await api.createArticle(title, options)\n      const dispatcher = useDispatcher()\n      if (\"post\" in data) {\n        dispatcher.editArticle({ type: \"post\", source: data.post.source })\n      } else {\n        dispatcher.editArticle({ type: \"page\", source: data.page.source })\n      }\n    },\n    async publishArticle(filename: string) {\n      const article = await api.publishArticle(filename)\n      await this.getBlogData()\n      return article\n    },\n  },\n  getters: {\n    articles(state): (BriefPost | BriefPage)[] {\n      return object2list<BriefPost | BriefPage, \"source\">(\n        state.pages,\n        \"source\"\n      ).concat(\n        object2list<BriefPost | BriefPage, \"source\">(state.posts, \"source\")\n      )\n    },\n    allPostsList(state): BriefPost[] {\n      return object2list(state.posts, \"source\")\n    },\n    publishedPostsList(state): BriefPost[] {\n      return this.allPostsList.filter((post) => post.published)\n    },\n    draftsList(state): BriefPost[] {\n      return this.allPostsList.filter((post) => !post.published)\n    },\n    pagesList(state): BriefPage[] {\n      return object2list(state.pages, \"source\")\n    },\n    categoriesTree(): TreeNode<Category, \"children\">[] {\n      return list2Tree(this.categoriesList, (item) => !item.parent, {\n        idKey: \"id\",\n        parentKey: \"parent\",\n        childrenKey: \"children\",\n      })\n    },\n    categoriesList(): Category[] {\n      return object2list(this.categories, \"slug\")\n    },\n    tagNamesList(): string[] {\n      return object2list(this.tags, \"slug\").map((item) => item.name)\n    },\n    catNamesList(): string[] {\n      return this.categoriesList.map((cat) => cat.name)\n    },\n  },\n})\n"
  },
  {
    "path": "client/src/store/settings.ts",
    "content": "import { ISettings } from \"@server/server/types/api\"\nimport { merge } from \"lodash-es\"\nimport { defineStore } from \"pinia\"\nimport { getSettings, setSettings } from \"~/api/settings\"\n\nconst DEFAULT: ISettings = {\n  ui: {\n    editor: {\n      fontFamily:\n        \"PingFang SC,-apple-system,SF UI Text,Lucida Grande,STheiti,Microsoft YaHei,sans-serif\",\n    },\n  },\n}\n\nfunction withDefault(settings: Partial<ISettings> = {}) {\n  return merge({}, DEFAULT, settings)\n}\n\nexport const useSettingsStore = defineStore(\"settings\", {\n  state: (): { settings: ISettings } => ({ settings: withDefault() }),\n  actions: {\n    async load() {\n      const part = await getSettings()\n      this.settings = withDefault(part)\n    },\n    async save() {\n      await setSettings(this.settings)\n    },\n  },\n})\n"
  },
  {
    "path": "client/src/styles/font.less",
    "content": "@font-face {\n  font-family: \"Segoe Fluent Icons\";\n  src: url(\"../assets/segoe-fluent-icons.ttf\");\n}\n"
  },
  {
    "path": "client/src/styles/index.less",
    "content": "@import \"./font.less\";\nbody {\n  -webkit-font-smoothing: antialiased;\n}\n.modal-panel {\n  width: 960px;\n  max-width: calc(100vw - 100px) !important;\n  height: 640px;\n  max-height: calc(100vh - 100px) !important;\n}\n"
  },
  {
    "path": "client/src/styles/mixins.less",
    "content": ".ellipsis(@count) {\n  display: -webkit-box;\n  -webkit-line-clamp: @count;\n  -webkit-box-orient: vertical;\n  overflow: hidden;\n}\n"
  },
  {
    "path": "client/src/themes.ts",
    "content": "import { hex, rgb } from \"color-convert\"\nimport { createTheme } from \"@winwin/vue-global-theming\"\n\ntype modifier = \"l\" | \"a\" | \"d\"\ntype amount = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9\n\ntype ModifiedColor = {\n  [key in `${modifier}${amount}`]: string\n}\n\ntype modifyFn = (name: string, amt: number) => string\ntype modifierFnMap = { [key in modifier]: modifyFn }\n\nconst modifiers: modifierFnMap = {\n  l: (name, amt) => {\n    // 变白\n    const [r, g, b] = hex.rgb(name)\n    const go = (c: number) => c + Math.abs(255 - c) * amt\n    return `#${rgb.hex([go(r), go(g), go(b)])}`\n  },\n  d: (name, amt) => {\n    // 变黑\n    const [r, g, b] = hex.rgb(name)\n    const go = (c: number) => c * (1 - amt)\n    return `#${rgb.hex([go(r), go(g), go(b)])}`\n  },\n  a: (name, amt) => {\n    // 变透明\n    const alpha = Math.round((1 - amt) * 255).toString(16)\n    return `${name}${alpha}`\n  },\n}\n\nfunction createColor(name: string): ColorPack {\n  const indexs = new Array(9).fill(0).map((v, i) => (i + 1) / 10)\n  function createModifiedColor(type: modifier) {\n    return indexs\n      .map((amt) => modifiers[type](name, amt))\n      .reduce((o, v, idx) => {\n        o[`${type}${(idx + 1) as amount}`] = v\n        return o\n      }, {} as ModifiedColor)\n  }\n  return {\n    n: name,\n    ...createModifiedColor(\"a\"),\n    ...createModifiedColor(\"d\"),\n    ...createModifiedColor(\"l\"),\n  }\n}\n\ntype ColorPack = ModifiedColor & {\n  n: string\n}\n\nexport type HTheme = {\n  color: {\n    primary: ColorPack\n    success: ColorPack\n    warning: ColorPack\n    error: ColorPack\n    common: ColorPack\n    folder: string\n    all: string\n    post: string\n    page: string\n    draft: string\n    black: string\n    white: string\n    background: {\n      transparent: string\n      hover: string\n      active: string\n      selected: string\n      /**\n       * 右侧栏\n       */\n      base1: string\n      /**\n       * 中间栏\n       */\n      base2: string\n      /**\n       * 左侧栏\n       */\n      base3: string\n      badge: string\n      /**\n       * 亮主题的白\n       */\n      max: string\n      /**\n       * 亮主题的黑\n       */\n      min: string\n      secondInput: string\n    }\n    foreground: {\n      transparent: string\n      main: string\n      sub: string\n      /**\n       * 亮主题的黑\n       */\n      max: string\n      /**\n       * 亮主题的白\n       */\n      min: string\n    }\n  }\n}\n\nexport const lightTheme: HTheme = {\n  color: {\n    primary: createColor(\"#3498db\"),\n    success: createColor(\"#27ae60\"),\n    warning: createColor(\"#f39c12\"),\n    error: createColor(\"#e74c3c\"),\n    common: createColor(\"#888888\"),\n    folder: \"#f3c04f\",\n    all: \"#27ae60\",\n    post: \"#3883c7\",\n    page: \"#52bad1\",\n    draft: \"#f1c40f\",\n    black: \"#000000\",\n    white: \"#ffffff\",\n    background: {\n      transparent: \"transparent\",\n      hover: \"#00000015\",\n      active: \"#00000020\",\n      selected: \"#00000010\",\n      base1: \"#ffffff\",\n      base2: \"#f8f8f8\",\n      base3: \"#eeeeee\",\n      badge: \"#cccccc\",\n      max: \"#ffffff\",\n      min: \"#000000\",\n      secondInput: \"#eeeeee\",\n    },\n    foreground: {\n      transparent: \"transparent\",\n      main: \"#484848\",\n      sub: \"#757575\",\n      max: \"#000000\",\n      min: \"#ffffff\",\n    },\n  },\n}\n\nexport const darkTheme: HTheme = {\n  color: {\n    primary: createColor(\"#3498db\"),\n    success: createColor(\"#27ae60\"),\n    warning: createColor(\"#f39c12\"),\n    error: createColor(\"#e74c3c\"),\n    common: createColor(\"#888888\"),\n    folder: \"#f3c04f\",\n    all: \"#27ae60\",\n    post: \"#3883c7\",\n    page: \"#52bad1\",\n    draft: \"#f1c40f\",\n    black: \"#000000\",\n    white: \"#ffffff\",\n    background: {\n      transparent: \"transparent\",\n      hover: \"#ffffff15\",\n      active: \"#ffffff20\",\n      selected: \"#ffffff10\",\n      base1: \"#323232\",\n      base2: \"#282828\",\n      base3: \"#1f1f1f\",\n      badge: \"#3e3e3e\",\n      max: \"#000000\",\n      min: \"#ffffff\",\n      secondInput: \"#424242\",\n    },\n    foreground: {\n      transparent: \"transparent\",\n      main: \"#dddddd\",\n      sub: \"#a9a9a9\",\n      max: \"#ffffff\",\n      min: \"#000000\",\n    },\n  },\n}\n\nexport default createTheme({ default: lightTheme, dark: darkTheme })\n"
  },
  {
    "path": "client/src/utils/article.ts",
    "content": "import { Dayjs } from \"dayjs\"\nimport { IPage, IPost, Page, Post } from \"~/api\"\nimport { dateFromString } from \"./date\"\nimport { parseHfm } from \"./hfm\"\n\nexport function isDraft(article: IPage | IPost | null): boolean {\n  if (article && \"published\" in article && !article.published) return true\n  else return false\n}\n\nexport function isPost(article: IPage | IPost | null): boolean {\n  if (article && \"__post\" in article) return true\n  else return false\n}\nexport function isPage(article: IPage | IPost | null): boolean {\n  if (article && \"__page\" in article) return true\n  else return false\n}\n\nexport interface IParsedArticleMeta {\n  type: \"post\" | \"page\"\n  isDraft: boolean\n  title: string\n  tags: string[]\n  categories: string[]\n  date: Dayjs | null\n  updated: Dayjs | null\n  source: string\n  fm: {\n    [key: string]: unknown\n  }\n}\n\nexport function parseArticleData(\n  article: Page | Post | null\n): IParsedArticleMeta {\n  if (!article)\n    return {\n      type: \"post\" as const,\n      isDraft: false,\n      title: \"\",\n      tags: [],\n      categories: [],\n      date: null,\n      updated: null,\n      source: \"\",\n      fm: {},\n    }\n  const { tags, categories, fm } = parseHfm(article.raw)\n  return {\n    type: isPage(article) ? \"page\" : \"post\",\n    isDraft: isDraft(article),\n    title: article.title,\n    tags: isPage(article) ? [] : tags,\n    categories: isPage(article) ? [] : categories,\n    date: dateFromString(article.date),\n    updated: dateFromString(article.updated),\n    source: article.source,\n    fm,\n  }\n}\n"
  },
  {
    "path": "client/src/utils/color.ts",
    "content": "import { rgb, hex } from \"color-convert\"\n\nexport function light(name: string, amt: number) {\n  const [r, g, b] = hex.rgb(name)\n  const go = (c: number) => c + Math.abs(255 - c) * amt\n  return `#${rgb.hex([go(r), go(g), go(b)])}`\n}\n\nexport function dark(name: string, amt: number) {\n  const [r, g, b] = hex.rgb(name)\n  const go = (c: number) => c - c * amt\n  return `#${rgb.hex([go(r), go(g), go(b)])}`\n}\n\nexport function alpha(name: string, amt: number) {\n  // 变透明\n  const alpha = Math.round((1 - amt) * 255).toString(16)\n  return `${name}${alpha}`\n}\n"
  },
  {
    "path": "client/src/utils/create-classnames.ts",
    "content": "import { computed } from \"vue\"\n\n/**\n * @param prefix prefix\n * @param fn config function\n * @returns\n */\nexport function createClassNames(\n  prefix: string,\n  fn: (\n    add: (name: string) => void,\n    m: (...names: string[]) => string\n  ) => void = () => {}\n) {\n  const classNames = computed(() => {\n    const classNames: any[] = [prefix]\n    /**\n     * add a classname\n     * @param name classname\n     */\n    function add(name: string) {\n      classNames.push(name)\n    }\n    /**\n     * create a classname with a modification name `prefix-mod1-mod2-*-modn`\n     * @param names modification name\n     * @returns\n     */\n    function m(...names: string[]) {\n      return `${prefix}-${names.join(\"-\")}`\n    }\n    fn(add, m)\n    return classNames\n  })\n  return { classNames, prefix }\n}\n"
  },
  {
    "path": "client/src/utils/create-key.ts",
    "content": "interface characterMap {\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  0: \"0\"\n  q: \"Q\"\n  w: \"W\"\n  e: \"E\"\n  r: \"R\"\n  t: \"T\"\n  y: \"Y\"\n  u: \"U\"\n  i: \"I\"\n  o: \"O\"\n  p: \"P\"\n  a: \"A\"\n  s: \"S\"\n  d: \"D\"\n  f: \"F\"\n  g: \"G\"\n  h: \"H\"\n  j: \"J\"\n  k: \"K\"\n  l: \"L\"\n  z: \"Z\"\n  x: \"X\"\n  c: \"C\"\n  v: \"V\"\n  b: \"B\"\n  n: \"N\"\n  m: \"M\"\n  [key: string]: string\n}\n\ntype char =\n  | \"1\"\n  | \"2\"\n  | \"3\"\n  | \"4\"\n  | \"5\"\n  | \"6\"\n  | \"7\"\n  | \"8\"\n  | \"9\"\n  | \"0\"\n  | \"q\"\n  | \"w\"\n  | \"e\"\n  | \"r\"\n  | \"t\"\n  | \"y\"\n  | \"u\"\n  | \"i\"\n  | \"o\"\n  | \"p\"\n  | \"a\"\n  | \"s\"\n  | \"d\"\n  | \"f\"\n  | \"g\"\n  | \"h\"\n  | \"j\"\n  | \"k\"\n  | \"l\"\n  | \"z\"\n  | \"x\"\n  | \"c\"\n  | \"v\"\n  | \"b\"\n  | \"n\"\n  | \"m\"\n\ntype RestChars<T> = T extends `${char}${infer P}` ? P : \"\"\n\ntype UpperFirst<T> = T extends `${infer P}${string}`\n  ? `${characterMap[P]}${RestChars<T>}`\n  : T\n\nexport function createKey<P extends string, S extends string>(\n  prefix: P,\n  suffix: S\n): S extends \"default\" ? P : `${P}${UpperFirst<S>}` {\n  // eslint-disable-next-line @typescript-eslint/no-explicit-any\n  return (prefix +\n    (suffix === \"default\"\n      ? \"\"\n      : suffix.replace(/^[a-z]/, (startChar) =>\n          startChar.toUpperCase()\n        ))) as any\n}\n"
  },
  {
    "path": "client/src/utils/date.spec.ts",
    "content": "import dayjs from \"dayjs\"\nimport { dateFromString } from \"./date\"\n\ndescribe(\"date\", () => {\n  it(\"should pass normal\", () => {\n    const date = dayjs()\n    const str = date.toISOString()\n    expect(dateFromString(str)!.valueOf()).toBe(date.valueOf())\n  })\n\n  it(\"should pass invalid date\", () => {\n    expect(dateFromString(\"blabla\")).toEqual(null)\n  })\n\n  it(\"should pass empty string\", () => {\n    expect(dateFromString(\"\")).toEqual(null)\n  })\n\n  it(\"should pass undefined\", () => {\n    expect(dateFromString(undefined)).toEqual(null)\n  })\n})\n"
  },
  {
    "path": "client/src/utils/date.ts",
    "content": "import dayjs, { Dayjs } from \"dayjs\"\n\nexport function dateFromString(date?: string): Dayjs | null {\n  if (!date) return null\n  const res = dayjs(date)\n  return res.format(\"\") === \"Invalid Date\" ? null : res\n}\n"
  },
  {
    "path": "client/src/utils/hfm.ts",
    "content": "/**\n * @file 处理 frontmatter 的格式化\n *\n * invernal_raw\n * => title, _conent ... categories and more\n * => Editors\n * => update:title\n * => pasetHfm(internal_raw | raw) // set defaults\n * => { ..oldObj,...updatedObj }\n * => stringifyHfm(newObj) // remove defaults\n * => internal_raw\n */\n\nimport * as hfm from \"hexo-front-matter\"\nimport { categories2Array2d } from \"~/utils\"\n\ntype FrontMatterRequired = {\n  _content: string\n}\n\ntype FrontMatterPart = {\n  title: string\n  date: string\n  updated: string\n  layout: string\n  tags: string[]\n  categories: string[]\n  fm: {\n    [key: string]: unknown\n  }\n}\ntype FrontMatterResult = FrontMatterRequired & FrontMatterPart\ntype FrontMatterInput = FrontMatterRequired & Partial<FrontMatterPart>\n\nexport const parseHfm = (str: string = \"\"): FrontMatterResult => {\n  const {\n    _content: d_content,\n    title: dtitle,\n    date: ddate,\n    updated: dupdated,\n    layout: dlayout,\n    tags: dtags,\n    categories: dcategories,\n    ...rest\n  } = hfm.parse(str)\n  const parseString = (val: unknown): string => {\n    return typeof val === \"string\" ? val : \"\"\n  }\n  const parseStringArray = (val: unknown): string[] => {\n    if (!Array.isArray(val)) return []\n    return val.map(parseString)\n  }\n  const parseStringOrArray = (val: unknown): (string | string[])[] => {\n    if (!Array.isArray(val)) return []\n    return val.map((v) =>\n      Array.isArray(v) ? parseStringArray(v) : parseString(v)\n    )\n  }\n  const _content = parseString(d_content)\n  const title = parseString(dtitle)\n  const tags = parseStringArray(dtags)\n  const date = parseString(ddate)\n  const updated = parseString(dupdated)\n  const layout = parseString(dlayout)\n  const categories =\n    categories2Array2d(parseStringOrArray(dcategories))[0] ?? []\n  return {\n    _content,\n    title,\n    date,\n    updated,\n    layout,\n    tags,\n    categories,\n    fm: rest,\n  }\n}\n\nexport const stringifyHfm = ({\n  _content: d_content,\n  title: dtitle,\n  date: ddate,\n  updated: dupdated,\n  layout: dlayout,\n  tags: dtags,\n  categories: dcategories,\n  fm,\n}: FrontMatterInput) => {\n  const _content = d_content\n  const title = dtitle || undefined\n  const date = ddate || undefined\n  const updated = dupdated || undefined\n  const layout = dlayout || undefined\n  const tags = dtags?.length ? dtags : undefined\n  const categories = dcategories?.length ? dcategories : undefined\n  let o: FrontMatterInput = { _content, ...fm }\n  title && (o = { ...o, title })\n  date && (o = { ...o, date })\n  updated && (o = { ...o, updated })\n  layout && (o = { ...o, layout })\n  tags && (o = { ...o, tags })\n  categories && (o = { ...o, categories })\n  return hfm.stringify(o)\n}\n\nexport const updateStringByObj = (\n  str: string,\n  obj: FrontMatterInput\n): string => {\n  return stringifyHfm({ ...parseHfm(str), ...obj })\n}\n"
  },
  {
    "path": "client/src/utils/parent.ts",
    "content": "/**\n * @see https://github.com/07akioni/vueuc/blob/b3a59ae8f0/src/binder/src/utils.ts\n * @param node\n * @returns\n */\nexport function getParentNode(node: Node): Node | null {\n  // document type\n  if (node.nodeType === 9) {\n    return null\n  }\n  return node.parentNode\n}\n\n/**\n * @see https://github.com/07akioni/vueuc/blob/b3a59ae8f0/src/binder/src/utils.ts\n * @param node\n * @returns\n */\nexport function getScrollParent(\n  node: Node | null\n): HTMLElement | Document | null {\n  if (node === null) return null\n\n  const parentNode = getParentNode(node)\n\n  if (parentNode === null) {\n    return null\n  }\n\n  // Document\n  if (parentNode.nodeType === 9) {\n    return document\n  }\n\n  // Element\n  if (parentNode.nodeType === 1) {\n    // Firefox want us to check `-x` and `-y` variations as well\n    const { overflow, overflowX, overflowY } = getComputedStyle(\n      parentNode as HTMLElement\n    )\n    if (/(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)) {\n      return parentNode as HTMLElement\n    }\n  }\n\n  return getScrollParent(parentNode)\n}\n"
  },
  {
    "path": "client/src/utils/preload.ts",
    "content": "export function preLoadMonacoEditor() {\n  ;(() => import(\"@/editors/HMonacoEditor.vue\"))()\n}\nexport function preLoadSettingTabs() {\n  ;(() => import(\"~/views/settings/SettingsView.vue\"))()\n}\nexport default function preLoadAll() {\n  preLoadMonacoEditor()\n  preLoadSettingTabs()\n}\n"
  },
  {
    "path": "client/src/utils/scroll.ts",
    "content": "import { onBeforeUnmount, Ref, watch } from \"vue\"\nimport { getScrollParent } from \"./parent\"\n\nexport function useOnParentScroll(\n  elRef: Ref<HTMLElement | null>,\n  onScroll: () => void\n) {\n  const removeEventListenerFnMap: Map<() => void, () => void> = new Map()\n  const removeAllEventListener = () => {\n    for (const [, fn] of removeEventListenerFnMap) {\n      fn()\n    }\n    removeEventListenerFnMap.clear()\n  }\n  watch(\n    () => elRef.value,\n    (el) => {\n      removeAllEventListener()\n      if (!el) return\n      const scrollableNodesSet: Set<Element | Document> = new Set()\n      let cursor: Element | Document | null = el\n      while (true) {\n        cursor = getScrollParent(cursor)\n        if (cursor === null) break\n        scrollableNodesSet.add(cursor)\n      }\n      for (const node of scrollableNodesSet) {\n        node.addEventListener(\"scroll\", onScroll)\n        removeEventListenerFnMap.set(onScroll, () => {\n          node.removeEventListener(\"scroll\", onScroll)\n        })\n      }\n    },\n    {\n      immediate: true,\n    }\n  )\n  onBeforeUnmount(() => {\n    removeAllEventListener()\n  })\n}\n"
  },
  {
    "path": "client/src/utils/string.ts",
    "content": "export function stringArrayEqual(n: string[], o: string[]) {\n  return n.join(\"\") === o.join(\"\")\n}\n"
  },
  {
    "path": "client/src/utils.spec.ts",
    "content": "import { categories2Array2d, isMultiCategories } from \"./utils\"\n\ndescribe(\"multi-categories\", () => {\n  it(\"should be multi-categories\", () => {\n    const categories = [\"C1\", [\"C21\", \"C22\"]]\n    expect(isMultiCategories(categories)).toBe(true)\n  })\n\n  it(\"should not be multi-categories\", () => {\n    const categories = [\"C1\", \"C2\"]\n    expect(isMultiCategories(categories)).toBe(false)\n  })\n})\n\ndescribe(\"categories2Array2d\", () => {\n  it(\"should transform multi-categories to string[][]\", () => {\n    const categories = [\"C1\", [\"C21\", \"C22\"]]\n    expect(categories2Array2d(categories)).toEqual([[\"C1\"], [\"C21\", \"C22\"]])\n  })\n\n  it(\"should transform not multi-categories to string[][]\", () => {\n    const categories = [\"C1\", \"C2\", \"C3\"]\n    expect(categories2Array2d(categories)).toEqual([[\"C1\", \"C2\", \"C3\"]])\n  })\n  it(\"should transform [] to []\", () => {\n    const categories: string[] = []\n    expect(categories2Array2d(categories)).toEqual([])\n  })\n})\n"
  },
  {
    "path": "client/src/utils.ts",
    "content": "import { computed, ComputedRef, defineAsyncComponent, ref } from \"vue\"\nimport { INotificationType } from \"./lib/notification\"\n\nexport const forceReloadWindow = () => {\n  window.onbeforeunload = () => {}\n  window.location.reload()\n}\n\nexport function list2object<\n  T extends {\n    [key in K]: string\n  },\n  K extends string\n>(list: T[], key: K): { [key: string]: T } {\n  const o: { [key: string]: T } = {}\n  list.forEach((item) => (o[item[key]] = item))\n  return o\n}\n\n/**\n * @param object 需要转换的对象\n * @param key 用来当作 key 的键\n * @returns\n */\nexport function object2list<\n  T extends {\n    [key in K]: string\n  },\n  K extends string\n>(\n  object: {\n    [key: string]: T\n  },\n  key: K\n): T[] {\n  return Object.entries(object).map(([key, value]) => value)\n}\n\nexport function isMultiCategories(\n  categories: string[] | (string | string[])[]\n) {\n  return !!categories.filter((category) => Array.isArray(category)).length\n}\n\nexport function categories2Array2d(\n  categories: string[] | (string | string[])[]\n): string[][] {\n  if (JSON.stringify(categories) === JSON.stringify([])) return []\n  if (!isMultiCategories(categories)) return [categories as string[]]\n  else\n    return categories.map((category) =>\n      Array.isArray(category) ? category : [category]\n    )\n}\n\nexport const noop = () => {}\n\nexport function randomString(length: number = 8) {\n  let result = \"\"\n  const characters =\n    \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\"\n  const charactersLength = characters.length\n  for (let i = 0; i < length; i++) {\n    result += characters.charAt(Math.floor(Math.random() * charactersLength))\n  }\n  return result\n}\n\nexport function useAsyncComponentWithLoading(\n  loader: Parameters<typeof defineAsyncComponent>[0]\n): [ReturnType<typeof defineAsyncComponent>, ComputedRef<boolean>] {\n  const loading = ref(true)\n  const _loader = \"loader\" in loader ? loader.loader : loader\n  return [\n    defineAsyncComponent(() =>\n      _loader().then((res) => {\n        loading.value = false\n        return res\n      })\n    ),\n    computed(() => loading.value),\n  ]\n}\n"
  },
  {
    "path": "client/src/views/ArticleListView.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed } from \"vue\"\nimport { useRoute, useRouter } from \"vue-router\"\nimport { BriefPost } from \"~/api\"\nimport { IHArticleListData } from \"~/components/article/interface\"\nimport { useArticleListStore } from \"~/store/articleList\"\nimport { useDispatcher } from \"~/store/dispatcher\"\nimport { useMainStore } from \"~/store/main\"\nimport { isDraft, isPost } from \"~/utils/article\"\nimport HArticleList from \"@/article/HArticleList.vue\"\nimport { dateFromString } from \"~/utils/date\"\n//#region hooks\nconst mainStore = useMainStore()\nconst route = useRoute()\nconst dispatcher = useDispatcher()\nconst articleListStore = useArticleListStore()\n//#endregion\n\nconst filter = computed(() => articleListStore.articleFilter)\nconst articles = computed(() => filter.value(mainStore.articles))\nconst articleListData = computed(() =>\n  articles.value.map((article) => {\n    const res: IHArticleListData = {\n      title: article.title,\n      brief: article.brief,\n      date: dateFromString(article.date),\n      updated: dateFromString(article.updated),\n      source: article.source,\n      type: isPost(article) ? \"post\" : \"page\",\n      isDraft: isDraft(article),\n      tags: [],\n      categories: [],\n    }\n    if (isPost(article)) {\n      res.tags = (article as BriefPost).tags.map(\n        (tag) => mainStore.tags[tag].name\n      )\n      res.categories = (article as BriefPost).categories.map(\n        (cat) => mainStore.categories[cat].name\n      )\n    }\n    return res\n  })\n)\nconst selected = computed(() =>\n  decodeURIComponent(route.params.source as string)\n)\nconst onArticleClick = ({\n  source,\n  type,\n}: {\n  source: string\n  type: \"post\" | \"page\"\n}) => {\n  if (source === selected.value) dispatcher.goHome()\n  else dispatcher.viewArticle({ source, type })\n}\n</script>\n<template>\n  <HArticleList\n    :articles=\"articleListData\"\n    :selected=\"selected\"\n    @on-click=\"onArticleClick\"\n  />\n</template>\n"
  },
  {
    "path": "client/src/views/ErroredView.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed } from \"vue\"\nimport { useThemeVars } from \"~/components/ui/theme\"\n\nconst vars = useThemeVars()\nconst styleVars = computed(() => ({\n  color: vars.value.textColorPrimary,\n}))\n</script>\n<template>\n  <div\n    class=\"h-errored-view h-full w-full flex flex-col items-center justify-center select-none\"\n  >\n    <slot>\n      <span class=\"text-xl\">出错啦~</span>\n    </slot>\n  </div>\n</template>\n<style lang=\"less\" scoped>\n.h-errored-view {\n  & > span {\n    color: v-bind(\"styleVars.color\");\n    opacity: 0.2;\n  }\n}\n</style>\n"
  },
  {
    "path": "client/src/views/HomeNavView.vue",
    "content": "<script setup lang=\"ts\">\nimport { ComputedRef, computed } from \"vue\"\nimport { Category } from \"~/api\"\nimport { TreeNode } from \"~/lib/list2tree\"\nimport { useActionsStore } from \"~/store/actions\"\nimport { useArticleListStore } from \"~/store/articleList\"\nimport { useDispatcher } from \"~/store/dispatcher\"\nimport { useMainStore } from \"~/store/main\"\nimport { HIconName } from \"@/ui/icon\"\nimport { HNavList, NavListItem } from \"@/ui/nav-list\"\nimport { useThemeVars } from \"@/ui/theme\"\nimport HNavSetting from \"@/HNavSetting.vue\"\nimport HTitle from \"@/HTitle.vue\"\n\n//#region hooks\nconst mainStore = useMainStore()\nconst articleListStore = useArticleListStore()\nconst actionsStore = useActionsStore()\nconst dispatcher = useDispatcher()\nconst vars = useThemeVars()\n//#endregion\n\nconst colors = computed(() => ({\n  deploy: vars.value.colorPrimary,\n  generate: vars.value.colorPrimary,\n  clean: vars.value.colorError,\n  gitsave: vars.value.colorPrimary,\n  gitsync: vars.value.colorError,\n  all: vars.value.colorAll,\n  post: vars.value.colorPost,\n  page: vars.value.colorPage,\n  draft: vars.value.colorDraft,\n}))\n\n//#region action\nconst actionItems: NavListItem[] = [\n  { type: \"title\", label: \"操作\" },\n  {\n    type: \"item\",\n    text: \"部署\",\n    icon: HIconName.Airplane,\n    color: colors.value.deploy,\n    key: \"deploy\",\n  },\n  {\n    type: \"item\",\n    text: \"生成\",\n    icon: HIconName.Library,\n    color: colors.value.generate,\n    key: \"generate\",\n  },\n  {\n    type: \"item\",\n    text: \"清理\",\n    icon: HIconName.EraseTool,\n    color: colors.value.clean,\n    key: \"clean\",\n  },\n  {\n    type: \"item\",\n    text: \"同步到 Git\",\n    icon: HIconName.Upload,\n    color: colors.value.gitsave,\n    key: \"gitsave\",\n  },\n  {\n    type: \"item\",\n    text: \"从 Git 同步\",\n    icon: HIconName.Download,\n    color: colors.value.gitsync,\n    key: \"gitsync\",\n  },\n]\n//#endregion\n\n//#region filter\nconst allCount = computed(\n  () => draftsCount.value + postsCount.value + pagesCount.value\n)\nconst postsCount = computed(() => mainStore.publishedPostsList.length)\nconst pagesCount = computed(() => mainStore.pagesList.length)\nconst draftsCount = computed(() => mainStore.draftsList.length)\nconst type = computed(() => articleListStore.filter.type)\nconst filterItems: ComputedRef<NavListItem[]> = computed(() => [\n  {\n    type: \"title\",\n    label: \"筛选\",\n  },\n  {\n    type: \"item\",\n    text: \"全部\",\n    icon: HIconName.Home,\n    sub: allCount.value,\n    color: colors.value.all,\n    selected: type.value === \"all\",\n    key: \"all\",\n  },\n  {\n    type: \"item\",\n    text: \"文章\",\n    icon: HIconName.Edit,\n    sub: postsCount.value,\n    color: colors.value.post,\n    selected: type.value === \"post\",\n    key: \"post\",\n  },\n  {\n    type: \"item\",\n    text: \"页面\",\n    icon: HIconName.Page,\n    sub: pagesCount.value,\n    color: colors.value.page,\n    selected: type.value === \"page\",\n    key: \"page\",\n  },\n  {\n    type: \"item\",\n    text: \"草稿\",\n    icon: HIconName.Read,\n    sub: draftsCount.value,\n    color: colors.value.draft,\n    selected: type.value === \"draft\",\n    key: \"draft\",\n  },\n])\n//#endregion\n\n//#region category\nconst categoryItems: ComputedRef<NavListItem[]> = computed(() => {\n  const res: NavListItem[] = [{ type: \"title\", label: \"分类\" }]\n  function go(c: TreeNode<Category, \"children\">, i = 0) {\n    res.push({\n      type: \"item\",\n      text: c.name,\n      icon: HIconName.Folder,\n      color: vars.value.colorFolder,\n      indent: i,\n      sub: c.posts?.length,\n      key: \"c-\" + c.slug,\n      selected:\n        articleListStore.filter.type === \"category\" &&\n        c.slug === articleListStore.filter.slug,\n    })\n    c.children?.forEach((child) => go(child, i + 1))\n  }\n  mainStore.categoriesTree.forEach((c) => go(c))\n  return res\n})\n//#endregion\n\nconst model = computed(() => [\n  ...actionItems,\n  ...filterItems.value,\n  ...categoryItems.value,\n])\nconst onSelect = (key: string) => {\n  key === \"all\" && articleListStore.setFilter({ type: \"all\" })\n  key === \"post\" && articleListStore.setFilter({ type: \"post\" })\n  key === \"page\" && articleListStore.setFilter({ type: \"page\" })\n  key === \"draft\" && articleListStore.setFilter({ type: \"draft\" })\n  if (key.slice(0, 2) === \"c-\")\n    articleListStore.setFilter({ type: \"category\", slug: key.slice(2) })\n  key === \"deploy\" && actionsStore.deploy()\n  key === \"generate\" && actionsStore.generate()\n  key === \"clean\" && actionsStore.clean()\n  key === \"gitsync\" && actionsStore.gitSync()\n  key === \"gitsave\" && actionsStore.gitSave()\n}\nconst onSettings = () => dispatcher.showSettingsModal()\n</script>\n<template>\n  <div class=\"home-nav-view w-full h-full flex flex-col\">\n    <HTitle />\n    <div style=\"flex: 1 0 0; overflow-y: auto\">\n      <div class=\"pb-2 pl-4 pr-2\">\n        <HNavList :model=\"model\" @on-select=\"onSelect\" />\n      </div>\n    </div>\n    <HNavSetting @click=\"onSettings\" :name=\"mainStore.username\" />\n  </div>\n</template>\n<style lang=\"less\" scoped>\n.home-nav-view {\n  background-color: v-bind(\"vars.backgroundColorTertiary\");\n}\n</style>\n"
  },
  {
    "path": "client/src/views/ViewerView.vue",
    "content": "<script setup lang=\"ts\">\nimport { computed, onBeforeUnmount, watch } from \"vue\"\nimport { useRoute } from \"vue-router\"\nimport { PostOrPage } from \"~/interface\"\nimport { useDetailStore } from \"~/store/detail\"\nimport { useDispatcher } from \"~/store/dispatcher\"\nimport { parseArticleData } from \"~/utils/article\"\nimport HViewerContent from \"~/components/viewer/HViewerContent.vue\"\nimport HViewerHeader from \"~/components/viewer/HViewerHeader.vue\"\nimport HViewerToolbar from \"~/components/viewer/HViewerToolbar.vue\"\nimport { HViewerToolbarActionPayload } from \"@/types\"\nimport { HButton } from \"@/ui/button\"\nimport { HLoading } from \"@/ui/loading\"\nimport ErroredView from \"./ErroredView.vue\"\n\n//#region hooks\nconst route = useRoute()\nconst dispatcher = useDispatcher()\nconst detailStore = useDetailStore()\n//#endregion\n\n//#region data\nfunction load() {\n  const type = route.params.type as string\n  const source = route.params.source as string\n  if (type === \"post\" || type === \"page\") {\n    dispatcher.getArticle({ type, source })\n  } else {\n    dispatcher.goHome()\n  }\n}\nwatch(\n  () => route.fullPath,\n  () => {\n    if (route.name !== \"view\") return\n    load()\n  },\n  {\n    immediate: true,\n  }\n)\nonBeforeUnmount(() => {\n  dispatcher.clearArticle()\n})\n//#endregion\n\n//#region data\nconst content = computed(() => detailStore.article?.content || \"\")\nconst article = computed(() => parseArticleData(detailStore.article))\n//#endregion\n\n//#region handlers\nconst onAction = (payload: HViewerToolbarActionPayload) => {\n  const type = route.params.type as PostOrPage\n  const source = route.params.source as string\n  switch (payload.type) {\n    case \"code\":\n      break\n    case \"edit\":\n      dispatcher.editArticle({ type, source })\n      break\n    case \"delete\":\n      dispatcher.deleteArticle({ type, source })\n      break\n    case \"publish\":\n      dispatcher.publishArticle(source)\n      break\n    default:\n      break\n  }\n}\n//#endregion\n</script>\n<template>\n  <HLoading :loading=\"detailStore.isLoading\">\n    <ErroredView v-if=\"detailStore.error\">\n      <HButton @click=\"load\">重试</HButton>\n    </ErroredView>\n    <div class=\"w-full h-full flex flex-col\" v-else>\n      <HViewerToolbar @on-action=\"onAction\" />\n      <div class=\"overflow-auto flex-1\">\n        <HViewerHeader :article=\"article\" />\n        <HViewerContent :content=\"content\" />\n      </div>\n    </div>\n  </HLoading>\n</template>\n"
  },
  {
    "path": "client/src/views/settings/SettingsTabContainer.vue",
    "content": "<script setup lang=\"ts\">\ndefineProps<{\n  title: string\n}>()\n</script>\n<template>\n  <div class=\"p-8 w-full h-full overflow-auto\">\n    <div class=\"py-4 text-2xl mb-2\">\n      {{ title }}\n    </div>\n    <slot></slot>\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/views/settings/SettingsView.vue",
    "content": "<script setup lang=\"ts\">\nimport type { Ref } from \"vue\"\nimport { computed, ref } from \"vue\"\nimport { useThemeVars } from \"@/ui/theme\"\nimport { HNavList, NavListItem } from \"@/ui/nav-list\"\nimport SignoutButton from \"./SignoutButton.vue\"\nimport { useNavConfig } from \"./nav-config\"\nimport TabSwitcher from \"./TabSwitcher.vue\"\n\nconst vars = useThemeVars()\nconst activeNavIdx: Ref<number> = ref(0)\nconst { config, getConfig } = useNavConfig()\nconst model = computed(() => {\n  return [\n    {\n      type: \"title\" as const,\n      label: \"设置\",\n    } as NavListItem,\n    ...config.value.map(\n      ({ type, text, icon, color, key }, idx): NavListItem => ({\n        type,\n        text,\n        icon,\n        color,\n        key,\n        selected: activeNavIdx.value === idx,\n      })\n    ),\n  ]\n})\n\nconst onSelect = (key: string) => {\n  switch (key) {\n    case \"user\":\n    case \"style\":\n    case \"about\":\n      const next = getConfig(key).idx\n      activeNavIdx.value = next\n      break\n    default:\n      break\n  }\n}\nconst tabs2 = computed(() => {\n  return config.value.map(({ key, text, comp }) => ({ key, title: text, comp }))\n})\n</script>\n<template>\n  <div class=\"h-full w-full flex rounded-md overflow-hidden\">\n    <div\n      class=\"w-48 flex-shrink-0 flex flex-col\"\n      :style=\"{ backgroundColor: vars.backgroundColorTertiary }\"\n    >\n      <div style=\"flex: 1 0 0; overflow-y: auto\">\n        <div class=\"pb-2 pl-4 pr-2\">\n          <HNavList :model=\"model\" @on-select=\"onSelect\" />\n        </div>\n      </div>\n      <SignoutButton />\n    </div>\n    <div\n      class=\"flex-1 overflow-hidden relative\"\n      :style=\"{ backgroundColor: vars.backgroundColorSecondary }\"\n    >\n      <TabSwitcher :current=\"activeNavIdx\" :model=\"tabs2\" />\n    </div>\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/views/settings/SignoutButton.vue",
    "content": "<script setup lang=\"ts\">\nimport { HIcon, HIconName } from \"@/ui/icon\"\nimport { useThemeVars } from \"@/ui/theme\"\nimport HToolbar from \"@/HToolbar.vue\"\nimport { logout } from \"~/api/auth\"\nconst vars = useThemeVars()\nconst signOut = async () => {\n  return logout()\n}\n</script>\n<template>\n  <HToolbar class=\"signout-button cursor-pointer px-5\" @click=\"signOut\">\n    <span class=\"text-sm font-bold\">退出登录</span>\n    <div class=\"flex-1\"></div>\n    <HIcon :name=\"HIconName.PowerButton\" />\n  </HToolbar>\n</template>\n<style lang=\"less\">\n.signout-button {\n  transition: background-color 0.2s;\n  background-color: v-bind(\"vars.colorPrimary\");\n  color: v-bind(\"vars.colorWhite\");\n  &:hover {\n    background-color: v-bind(\"vars.colorPrimaryHover\");\n  }\n  &:active {\n    background-color: v-bind(\"vars.colorPrimaryActive\");\n  }\n}\n</style>\n"
  },
  {
    "path": "client/src/views/settings/TabSwitcher.vue",
    "content": "<script setup lang=\"ts\">\nimport type { ComputedRef } from \"vue\"\nimport type { ISlideViewItem } from \"~/components/ui/slide-view/src/interface\"\nimport type { ISettingsTab } from \"./interface\"\nimport { computed } from \"vue\"\nimport HSlideView from \"~/components/ui/slide-view/src/HSlideView.vue\"\nimport SettingsTabContainer from \"./SettingsTabContainer.vue\"\n\nconst props = defineProps<{\n  current: number\n  model: ISettingsTab[]\n}>()\nconst newModel: ComputedRef<ISlideViewItem[]> = computed(() =>\n  props.model.map((item) => ({\n    key: item.key,\n    component: item.comp,\n  }))\n)\n</script>\n<template>\n  <HSlideView :model=\"newModel\" :current=\"current\">\n    <template #default=\"slotProps\">\n      <SettingsTabContainer :title=\"model[slotProps.idx].title\">\n        <Component :is=\"slotProps.component\" />\n      </SettingsTabContainer>\n    </template>\n  </HSlideView>\n</template>\n"
  },
  {
    "path": "client/src/views/settings/index.ts",
    "content": "export { default as SettingsView } from \"./SettingsView.vue\"\n"
  },
  {
    "path": "client/src/views/settings/interface.ts",
    "content": "import type { Component } from \"vue\"\n\nexport type SettingsTab = \"user\" | \"security\" | \"style\" | \"about\" | \"help\"\nexport interface ISettingsTab {\n  key: string\n  title: string\n  comp: Component\n}\n"
  },
  {
    "path": "client/src/views/settings/nav-config.ts",
    "content": "import { computed, markRaw } from \"vue\"\nimport { HIconName } from \"@/ui/icon\"\nimport { useThemeVars } from \"@/ui/theme\"\nimport UserView from \"./tabs/UserView.vue\"\nimport SecurityView from \"./tabs/SecurityView.vue\"\nimport StyleView from \"./tabs/StyleView.vue\"\nimport AboutView from \"./tabs/AboutView.vue\"\nimport HelpView from \"./tabs/HelpView.vue\"\n\nexport function useNavConfig() {\n  const vars = useThemeVars()\n  const config = [\n    {\n      type: \"item\" as const,\n      text: \"用户\",\n      icon: HIconName.Contact,\n      color: vars.value.colorSuccess,\n      key: \"user\" as const,\n      comp: markRaw(UserView),\n    },\n    {\n      type: \"item\" as const,\n      text: \"样式\",\n      icon: HIconName.OEM,\n      color: vars.value.colorWarning,\n      key: \"style\" as const,\n      comp: markRaw(StyleView),\n    },\n    {\n      type: \"item\" as const,\n      text: \"关于\",\n      icon: HIconName.Info,\n      color: vars.value.textColorSecondary,\n      key: \"about\" as const,\n      comp: markRaw(AboutView),\n    },\n  ]\n  const fullConfig = computed(() => {\n    return config.map((value, idx) => ({ idx, ...value }))\n  })\n  function getConfig(key: typeof fullConfig.value[number][\"key\"]) {\n    return fullConfig.value.find((item) => item.key === key)!\n  }\n  return { config: fullConfig, getConfig }\n}\n"
  },
  {
    "path": "client/src/views/settings/tabs/AboutView.vue",
    "content": "<script setup lang=\"ts\">\nimport logo from \"~/assets/logo.svg\"\nimport pkgJson from \"~/../../package.json\"\nconst version = pkgJson.version\n</script>\n<template>\n  <div class=\"absolute\">\n    <div flex items-center>\n      <img h20 :src=\"logo\" />\n      <div flex flex-col>\n        <div>\n          <span text-5xl>Hexon</span>\n          <span ml-2>\n            {{ `v${version}` }}\n          </span>\n        </div>\n        <span text-sm op50>Made by winwin2011 with love.</span>\n      </div>\n    </div>\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/views/settings/tabs/HelpView.vue",
    "content": "<template>\n  <div class=\"absolute\">HelpView</div>\n</template>\n"
  },
  {
    "path": "client/src/views/settings/tabs/SecurityView.vue",
    "content": "<template>\n  <div class=\"absolute\">SecurityView</div>\n</template>\n"
  },
  {
    "path": "client/src/views/settings/tabs/StyleView.vue",
    "content": "<script setup lang=\"ts\">\nimport { ref, watch } from \"vue\"\nimport { useSettingsStore } from \"~/store/settings\"\nimport notification from \"~/plugins/notification\"\nimport { HButton } from \"@/ui/button/\"\nimport { HInput } from \"@/ui/input\"\nimport {\n  darkTheme,\n  lightTheme,\n  useThemeController,\n  useThemeVars,\n} from \"@/ui/theme\"\nimport { HDivider } from \"@/ui/divider\"\nimport { HToggle } from \"@/ui/toggle\"\n\nconst settingsStore = useSettingsStore()\nconst fontFamily = ref(settingsStore.settings.ui.editor.fontFamily)\nwatch(\n  () => settingsStore.settings.ui.editor.fontFamily,\n  (v) => {\n    fontFamily.value = v\n  }\n)\nconst save = () => {\n  settingsStore.settings.ui.editor.fontFamily = fontFamily.value\n  settingsStore.save().then(() => {\n    notification.notify({\n      type: \"success\",\n      title: \"设置已保存\",\n    })\n  })\n}\n\nconst vars = useThemeVars()\nconst tc = useThemeController()\nconst setDark = (isDark: boolean) => {\n  if (isDark) tc.setTheme(darkTheme)\n  else tc.setTheme(lightTheme)\n}\nconst DEV = import.meta.env.DEV\n</script>\n<template>\n  <div class=\"\">\n    <div class=\"text-lg mb-2\" :style=\"{ color: vars.textColorPrimary }\">\n      编辑器\n    </div>\n    <div class=\"mb-2\" :style=\"{ color: vars.textColorSecondary }\">字体</div>\n    <HInput\n      class=\"w-full font-mono\"\n      type=\"secondary\"\n      v-model=\"fontFamily\"\n    ></HInput>\n    <template v-if=\"DEV\">\n      <div class=\"text-lg my-2\" :style=\"{ color: vars.textColorPrimary }\">\n        颜色\n      </div>\n      <div class=\"mb-2\" :style=\"{ color: vars.textColorSecondary }\">\n        暗黑模式\n      </div>\n      <div>\n        <HToggle :active=\"vars.isDark\" @update:active=\"(v) => setDark(v)\" />\n      </div>\n    </template>\n    <HButton class=\"mt-8\" @click=\"save\">保存</HButton>\n  </div>\n</template>\n"
  },
  {
    "path": "client/src/views/settings/tabs/UserView.vue",
    "content": "<script setup lang=\"ts\">\nimport HChangePasswordForm from \"@/forms/HChangePasswordForm.vue\"\nimport { IChangePasswordFormPayload } from \"~/components/forms/interface\"\nimport { useNotification } from \"~/lib/notification\"\nimport HChangeUsernameForm from \"~/components/forms/HChangeUsernameForm.vue\"\nimport HDivider from \"~/components/ui/divider/src/HDivider.vue\"\nimport { useDispatcher } from \"~/store/dispatcher\"\nimport { changeUsername } from \"~/api/auth\"\nconst notification = useNotification()\nconst dispatcher = useDispatcher()\nconst onChangePassword = (payload: IChangePasswordFormPayload) => {\n  dispatcher.changePassword(payload)\n}\nconst onChangeUsername = (username: string) => {\n  changeUsername(username).then(\n    () => {\n      notification.notify({ type: \"success\", title: \"用户名修改成功\" })\n      dispatcher.getUsername()\n    },\n    (err) => {\n      notification.notify({\n        title: \"用户名修改失败\",\n        desc: (err as Error).message,\n        type: \"error\",\n        duration: 5000,\n      })\n    }\n  )\n}\n</script>\n<template>\n  <div class=\"w-72\">\n    <HChangeUsernameForm @change-username=\"onChangeUsername\" />\n    <HDivider class=\"my-4\" />\n    <HChangePasswordForm @change-password=\"onChangePassword\" />\n  </div>\n</template>\n"
  },
  {
    "path": "client/tailwind.config.js",
    "content": "module.exports = {\n  purge: [\"./index.html\", \"./src/**/*.{vue,js,ts,jsx,tsx}\"],\n  darkMode: false, // or 'media' or 'class'\n  theme: {\n    extend: {\n      lineHeight: {\n        full: \"100%\",\n        11: \"3rem\",\n      },\n    },\n  },\n  variants: {\n    extend: {},\n  },\n  plugins: [],\n}\n"
  },
  {
    "path": "client/tsconfig.json",
    "content": "{\n  \"compilerOptions\": {\n    \"target\": \"esnext\",\n    \"useDefineForClassFields\": true,\n    \"module\": \"esnext\",\n    \"moduleResolution\": \"node\",\n    \"strict\": true,\n    \"jsx\": \"preserve\",\n    \"sourceMap\": true,\n    \"resolveJsonModule\": true,\n    \"esModuleInterop\": true,\n    \"lib\": [\"esnext\", \"dom\"],\n    \"types\": [\n      \"vite-plugin-pages/client\",\n      \"vite-plugin-vue-layouts/client\",\n      \"jest\"\n    ],\n    \"paths\": {\n      \"~/*\": [\"./src/*\"],\n      \"@/*\": [\"./src/components/*\"],\n      \"@shared/*\": [\"../shared/src/*\"],\n    }\n  },\n  \"include\": [\n    \".demo/**/*.ts\",\n    \".demo/**/*.d.ts\",\n    \".demo/**/*.tsx\",\n    \".demo/**/*.vue\",\n    \"src/**/*.ts\",\n    \"src/**/*.d.ts\",\n    \"src/**/*.tsx\",\n    \"src/**/*.vue\",\n    \".docs/**/*.ts\",\n    \".docs/**/*.d.ts\",\n    \".docs/**/*.tsx\",\n    \".docs/**/*.vue\"\n  ]\n}\n"
  },
  {
    "path": "client/vite.config.ts",
    "content": "import path from \"path\"\nimport { defineConfig } from \"vite\"\nimport vue from \"@vitejs/plugin-vue\"\nimport visualizer from \"rollup-plugin-visualizer\"\nimport Unocss from \"unocss/vite\"\nimport presetUno from \"@unocss/preset-uno\"\nimport presetAttributify from \"@unocss/preset-attributify\"\nimport transformerDirective from \"@unocss/transformer-directives\"\nimport Pages from \"vite-plugin-pages\"\nimport Layouts from \"vite-plugin-vue-layouts\"\nimport compression from \"vite-plugin-compression\"\nimport unused from \"./find-unused-file-plugin\"\nconst projectRootDir = path.resolve(__dirname)\n\n// https://vitejs.dev/config/\nexport default defineConfig({\n  server: {\n    port: 4000,\n    proxy: {\n      \"/proxy\": {\n        target: \"http://localhost:5777\",\n        changeOrigin: true,\n        rewrite: (path) => path.replace(/^\\/proxy/, \"\"),\n      },\n      \"/api\": {\n        target: \"http://localhost:5777\",\n        changeOrigin: true,\n        rewrite: (path) => path.replace(/^\\/api/, \"\"),\n      },\n    },\n  },\n  plugins: [\n    vue(),\n    Unocss({\n      presets: [presetUno(), presetAttributify()],\n      transformers: [transformerDirective()],\n    }),\n    unused(),\n    Pages(),\n    Layouts(),\n    compression({ algorithm: \"brotliCompress\", ext: \".br\" }),\n  ],\n  resolve: {\n    alias: [\n      {\n        find: \"~\",\n        replacement: path.resolve(projectRootDir, \"src\"),\n      },\n      {\n        find: \"@\",\n        replacement: path.resolve(projectRootDir, \"src/components\"),\n      },\n      {\n        find: \"@shared\",\n        replacement: path.resolve(projectRootDir, \"../shared/src\"),\n      },\n    ],\n  },\n  build: {\n    rollupOptions: {\n      plugins: [visualizer()],\n    },\n  },\n})\n"
  },
  {
    "path": "eslint.config.mjs",
    "content": "import antfu from '@antfu/eslint-config'\n\nexport default antfu({\n  unocss: true,\n  vue: true,\n})\n"
  },
  {
    "path": "package.json",
    "content": "{\n  \"name\": \"hexon\",\n  \"version\": \"1.0.0\",\n  \"private\": true,\n  \"author\": \"winwin2011 <yjh2011@live.com>\",\n  \"license\": \"GPL-3.0\",\n  \"scripts\": {\n    \"release\": \"standard-version --releaseCommitMessageFormat='chore: release v{{currentTag}}' && pnpm build && git add . && git commit -m 'chore: build released'\",\n    \"prerelease\": \"standard-version --releaseCommitMessageFormat='chore: release v{{currentTag}}' --prerelease && pnpm build && git add . && git commit -m 'chore: build released'\",\n    \"build\": \"pnpm -r exec npm run build\",\n    \"setup\": \"pnpm install -P && cd ./server-scripts && node ./bin/index.js install\",\n    \"script\": \"cd ./server-scripts && node ./bin/index.js script\",\n    \"resetpwd\": \"cd ./server-scripts && node ./bin/index.js resetpwd\",\n    \"start\": \"cd ./server && pnpm start\",\n    \"prd\": \"cd ./server && pnpm prd\",\n    \"dev-init\": \"pnpm install && pnpm run build && cd ./server-scripts && node ./bin/index.js install\",\n    \"dev\": \"concurrently -p [{name}] -n 'server,client' -c 'green.bold,blue.bold' 'cd ./server && pnpm dev' 'cd ./client && pnpm dev' \",\n    \"test:fresh-install\": \"bash ./scripts/fresh_installation.test.sh\"\n  },\n  \"devDependencies\": {\n    \"@antfu/eslint-config\": \"^2.23.2\",\n    \"@types/animejs\": \"^3.1.12\",\n    \"@types/basic-auth\": \"^1.1.8\",\n    \"@types/color\": \"^3.0.6\",\n    \"@types/color-convert\": \"^2.0.3\",\n    \"@types/crypto-js\": \"^4.2.2\",\n    \"@types/debug\": \"^4.1.12\",\n    \"@types/faker\": \"^6.6.9\",\n    \"@types/hexo\": \"^3.8.12\",\n    \"@types/http-errors\": \"^2.0.4\",\n    \"@types/inquirer\": \"^8.2.10\",\n    \"@types/jest\": \"^27.5.2\",\n    \"@types/js-yaml\": \"^4.0.9\",\n    \"@types/jsonwebtoken\": \"^8.5.9\",\n    \"@types/koa\": \"^2.15.0\",\n    \"@types/koa__cors\": \"^3.3.1\",\n    \"@types/koa__router\": \"^8.0.11\",\n    \"@types/koa-bodyparser\": \"^4.3.12\",\n    \"@types/koa-compress\": \"^4.0.6\",\n    \"@types/koa-logger\": \"^3.1.5\",\n    \"@types/koa-mount\": \"^4.0.5\",\n    \"@types/koa-router\": \"^7.4.8\",\n    \"@types/koa-static\": \"^4.0.4\",\n    \"@types/koa2-cors\": \"^2.0.5\",\n    \"@types/lodash-es\": \"^4.17.12\",\n    \"@types/node\": \"^17.0.45\",\n    \"@types/uuid\": \"^8.3.4\",\n    \"@types/ws\": \"^8.5.11\",\n    \"@unocss/eslint-plugin\": \"^0.61.5\",\n    \"@unocss/preset-attributify\": \"^0.33.5\",\n    \"@unocss/preset-uno\": \"^0.33.5\",\n    \"@unocss/reset\": \"^0.33.5\",\n    \"@unocss/transformer-directives\": \"^0.33.5\",\n    \"@vicons/fluent\": \"^0.12.0\",\n    \"@vicons/utils\": \"^0.1.4\",\n    \"@vitejs/plugin-vue\": \"^2.3.4\",\n    \"@vue/compiler-sfc\": \"^3.4.34\",\n    \"@vue/test-utils\": \"^2.4.6\",\n    \"autoprefixer\": \"^10.4.19\",\n    \"babel-loader\": \"^8.3.0\",\n    \"concurrently\": \"^7.6.0\",\n    \"esbuild\": \"^0.14.54\",\n    \"esbuild-plugin-node-externals\": \"^0.3.0\",\n    \"eslint\": \"^9.7.0\",\n    \"faker\": \"^6.6.6\",\n    \"jest\": \"^27.5.1\",\n    \"jsdom\": \"^19.0.0\",\n    \"less\": \"^4.2.0\",\n    \"less-loader\": \"^10.2.0\",\n    \"naive-ui\": \"^2.39.0\",\n    \"nodemon\": \"^2.0.22\",\n    \"picocolors\": \"^1.0.1\",\n    \"postcss\": \"^8.4.40\",\n    \"prettier\": \"^2.8.8\",\n    \"rimraf\": \"^3.0.2\",\n    \"rollup-plugin-visualizer\": \"^5.12.0\",\n    \"standard-version\": \"^9.5.0\",\n    \"stylus\": \"^0.57.0\",\n    \"ts-jest\": \"^27.1.5\",\n    \"tsconfig-paths\": \"^3.15.0\",\n    \"typescript\": \"^5.5.4\",\n    \"unocss\": \"^0.33.5\",\n    \"vite\": \"^2.9.18\",\n    \"vite-plugin-pages\": \"^0.22.0\",\n    \"vite-plugin-vue-layouts\": \"^0.6.0\",\n    \"vue-tsc\": \"^2.0.28\"\n  }\n}\n"
  },
  {
    "path": "pnpm-workspace.yaml",
    "content": "packages:\n  - './client'\n  - './server'\n  - './server-scripts'\n  - './server-shared'"
  },
  {
    "path": "scripts/fresh_installation.test.sh",
    "content": "pnpm run build\nrm -rf server/data\nrm -rf ./**/node_modules\npnpm run setup\npnpm run start\n"
  },
  {
    "path": "server/README.md",
    "content": "# `winwin-backend`\n\n> TODO: description\n\n## Usage\n\n```\nsrc\n├── app.js                      // 宿主应用\n├── apps\n│   └── admin                   // 用户管理应用\n│       ├── app.js\n│       ├── routes\n│       └── services\n├── entry.js                    // 应用载入\n├── index.js                    // 入口文件\n├── middlewares                 // 基础中间件\n│   └── auth.ts\n├── services                    // 基础服务\n│   ├── storage.ts\n│   └── token.ts\n└── utils.ts                    // 基础工具库\n```\n"
  },
  {
    "path": "server/bin/index.js",
    "content": "var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n  for (var prop in b || (b = {}))\n    if (__hasOwnProp.call(b, prop))\n      __defNormalProp(a, prop, b[prop]);\n  if (__getOwnPropSymbols)\n    for (var prop of __getOwnPropSymbols(b)) {\n      if (__propIsEnum.call(b, prop))\n        __defNormalProp(a, prop, b[prop]);\n    }\n  return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __commonJS = (cb, mod) => function __require() {\n  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;\n};\nvar __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};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target, mod));\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nvar __decorateParam = (index, decorator) => (target, key) => decorator(target, key, index);\n\n// node_modules/.pnpm/@vue+shared@3.2.33/node_modules/@vue/shared/dist/shared.cjs.prod.js\nvar require_shared_cjs_prod = __commonJS({\n  \"node_modules/.pnpm/@vue+shared@3.2.33/node_modules/@vue/shared/dist/shared.cjs.prod.js\"(exports) {\n    \"use strict\";\n    Object.defineProperty(exports, \"__esModule\", { value: true });\n    function makeMap(str, expectsLowerCase) {\n      const map = /* @__PURE__ */ Object.create(null);\n      const list = str.split(\",\");\n      for (let i = 0; i < list.length; i++) {\n        map[list[i]] = true;\n      }\n      return expectsLowerCase ? (val) => !!map[val.toLowerCase()] : (val) => !!map[val];\n    }\n    var PatchFlagNames = {\n      [1]: `TEXT`,\n      [2]: `CLASS`,\n      [4]: `STYLE`,\n      [8]: `PROPS`,\n      [16]: `FULL_PROPS`,\n      [32]: `HYDRATE_EVENTS`,\n      [64]: `STABLE_FRAGMENT`,\n      [128]: `KEYED_FRAGMENT`,\n      [256]: `UNKEYED_FRAGMENT`,\n      [512]: `NEED_PATCH`,\n      [1024]: `DYNAMIC_SLOTS`,\n      [2048]: `DEV_ROOT_FRAGMENT`,\n      [-1]: `HOISTED`,\n      [-2]: `BAIL`\n    };\n    var slotFlagsText = {\n      [1]: \"STABLE\",\n      [2]: \"DYNAMIC\",\n      [3]: \"FORWARDED\"\n    };\n    var GLOBALS_WHITE_LISTED = \"Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt\";\n    var isGloballyWhitelisted = /* @__PURE__ */ makeMap(GLOBALS_WHITE_LISTED);\n    var range = 2;\n    function generateCodeFrame(source, start = 0, end = source.length) {\n      let lines = source.split(/(\\r?\\n)/);\n      const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);\n      lines = lines.filter((_, idx) => idx % 2 === 0);\n      let count = 0;\n      const res = [];\n      for (let i = 0; i < lines.length; i++) {\n        count += lines[i].length + (newlineSequences[i] && newlineSequences[i].length || 0);\n        if (count >= start) {\n          for (let j = i - range; j <= i + range || end > count; j++) {\n            if (j < 0 || j >= lines.length)\n              continue;\n            const line = j + 1;\n            res.push(`${line}${\" \".repeat(Math.max(3 - String(line).length, 0))}|  ${lines[j]}`);\n            const lineLength = lines[j].length;\n            const newLineSeqLength = newlineSequences[j] && newlineSequences[j].length || 0;\n            if (j === i) {\n              const pad = start - (count - (lineLength + newLineSeqLength));\n              const length = Math.max(1, end > count ? lineLength - pad : end - start);\n              res.push(`   |  ` + \" \".repeat(pad) + \"^\".repeat(length));\n            } else if (j > i) {\n              if (end > count) {\n                const length = Math.max(Math.min(end - count, lineLength), 1);\n                res.push(`   |  ` + \"^\".repeat(length));\n              }\n              count += lineLength + newLineSeqLength;\n            }\n          }\n          break;\n        }\n      }\n      return res.join(\"\\n\");\n    }\n    var specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;\n    var isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);\n    var isBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`);\n    function includeBooleanAttr(value) {\n      return !!value || value === \"\";\n    }\n    var unsafeAttrCharRE = /[>/=\"'\\u0009\\u000a\\u000c\\u0020]/;\n    var attrValidationCache = {};\n    function isSSRSafeAttrName(name) {\n      if (attrValidationCache.hasOwnProperty(name)) {\n        return attrValidationCache[name];\n      }\n      const isUnsafe = unsafeAttrCharRE.test(name);\n      if (isUnsafe) {\n        console.error(`unsafe attribute name: ${name}`);\n      }\n      return attrValidationCache[name] = !isUnsafe;\n    }\n    var propsToAttrMap = {\n      acceptCharset: \"accept-charset\",\n      className: \"class\",\n      htmlFor: \"for\",\n      httpEquiv: \"http-equiv\"\n    };\n    var isNoUnitNumericStyleProp = /* @__PURE__ */ makeMap(`animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width`);\n    var isKnownHtmlAttr = /* @__PURE__ */ makeMap(`accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`);\n    var isKnownSvgAttr = /* @__PURE__ */ makeMap(`xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`);\n    function normalizeStyle(value) {\n      if (isArray(value)) {\n        const res = {};\n        for (let i = 0; i < value.length; i++) {\n          const item = value[i];\n          const normalized = isString(item) ? parseStringStyle(item) : normalizeStyle(item);\n          if (normalized) {\n            for (const key in normalized) {\n              res[key] = normalized[key];\n            }\n          }\n        }\n        return res;\n      } else if (isString(value)) {\n        return value;\n      } else if (isObject(value)) {\n        return value;\n      }\n    }\n    var listDelimiterRE = /;(?![^(]*\\))/g;\n    var propertyDelimiterRE = /:(.+)/;\n    function parseStringStyle(cssText) {\n      const ret = {};\n      cssText.split(listDelimiterRE).forEach((item) => {\n        if (item) {\n          const tmp = item.split(propertyDelimiterRE);\n          tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());\n        }\n      });\n      return ret;\n    }\n    function stringifyStyle(styles2) {\n      let ret = \"\";\n      if (!styles2 || isString(styles2)) {\n        return ret;\n      }\n      for (const key in styles2) {\n        const value = styles2[key];\n        const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);\n        if (isString(value) || typeof value === \"number\" && isNoUnitNumericStyleProp(normalizedKey)) {\n          ret += `${normalizedKey}:${value};`;\n        }\n      }\n      return ret;\n    }\n    function normalizeClass(value) {\n      let res = \"\";\n      if (isString(value)) {\n        res = value;\n      } else if (isArray(value)) {\n        for (let i = 0; i < value.length; i++) {\n          const normalized = normalizeClass(value[i]);\n          if (normalized) {\n            res += normalized + \" \";\n          }\n        }\n      } else if (isObject(value)) {\n        for (const name in value) {\n          if (value[name]) {\n            res += name + \" \";\n          }\n        }\n      }\n      return res.trim();\n    }\n    function normalizeProps(props) {\n      if (!props)\n        return null;\n      let { class: klass, style } = props;\n      if (klass && !isString(klass)) {\n        props.class = normalizeClass(klass);\n      }\n      if (style) {\n        props.style = normalizeStyle(style);\n      }\n      return props;\n    }\n    var HTML_TAGS = \"html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot\";\n    var SVG_TAGS = \"svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view\";\n    var VOID_TAGS = \"area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr\";\n    var isHTMLTag = /* @__PURE__ */ makeMap(HTML_TAGS);\n    var isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);\n    var isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);\n    var escapeRE = /[\"'&<>]/;\n    function escapeHtml(string) {\n      const str = \"\" + string;\n      const match = escapeRE.exec(str);\n      if (!match) {\n        return str;\n      }\n      let html = \"\";\n      let escaped;\n      let index;\n      let lastIndex = 0;\n      for (index = match.index; index < str.length; index++) {\n        switch (str.charCodeAt(index)) {\n          case 34:\n            escaped = \"&quot;\";\n            break;\n          case 38:\n            escaped = \"&amp;\";\n            break;\n          case 39:\n            escaped = \"&#39;\";\n            break;\n          case 60:\n            escaped = \"&lt;\";\n            break;\n          case 62:\n            escaped = \"&gt;\";\n            break;\n          default:\n            continue;\n        }\n        if (lastIndex !== index) {\n          html += str.slice(lastIndex, index);\n        }\n        lastIndex = index + 1;\n        html += escaped;\n      }\n      return lastIndex !== index ? html + str.slice(lastIndex, index) : html;\n    }\n    var commentStripRE = /^-?>|<!--|-->|--!>|<!-$/g;\n    function escapeHtmlComment(src) {\n      return src.replace(commentStripRE, \"\");\n    }\n    function looseCompareArrays(a, b) {\n      if (a.length !== b.length)\n        return false;\n      let equal = true;\n      for (let i = 0; equal && i < a.length; i++) {\n        equal = looseEqual(a[i], b[i]);\n      }\n      return equal;\n    }\n    function looseEqual(a, b) {\n      if (a === b)\n        return true;\n      let aValidType = isDate(a);\n      let bValidType = isDate(b);\n      if (aValidType || bValidType) {\n        return aValidType && bValidType ? a.getTime() === b.getTime() : false;\n      }\n      aValidType = isArray(a);\n      bValidType = isArray(b);\n      if (aValidType || bValidType) {\n        return aValidType && bValidType ? looseCompareArrays(a, b) : false;\n      }\n      aValidType = isObject(a);\n      bValidType = isObject(b);\n      if (aValidType || bValidType) {\n        if (!aValidType || !bValidType) {\n          return false;\n        }\n        const aKeysCount = Object.keys(a).length;\n        const bKeysCount = Object.keys(b).length;\n        if (aKeysCount !== bKeysCount) {\n          return false;\n        }\n        for (const key in a) {\n          const aHasKey = a.hasOwnProperty(key);\n          const bHasKey = b.hasOwnProperty(key);\n          if (aHasKey && !bHasKey || !aHasKey && bHasKey || !looseEqual(a[key], b[key])) {\n            return false;\n          }\n        }\n      }\n      return String(a) === String(b);\n    }\n    function looseIndexOf(arr, val) {\n      return arr.findIndex((item) => looseEqual(item, val));\n    }\n    var toDisplayString = (val) => {\n      return isString(val) ? val : val == null ? \"\" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? JSON.stringify(val, replacer, 2) : String(val);\n    };\n    var replacer = (_key, val) => {\n      if (val && val.__v_isRef) {\n        return replacer(_key, val.value);\n      } else if (isMap(val)) {\n        return {\n          [`Map(${val.size})`]: [...val.entries()].reduce((entries, [key, val2]) => {\n            entries[`${key} =>`] = val2;\n            return entries;\n          }, {})\n        };\n      } else if (isSet(val)) {\n        return {\n          [`Set(${val.size})`]: [...val.values()]\n        };\n      } else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {\n        return String(val);\n      }\n      return val;\n    };\n    var EMPTY_OBJ = {};\n    var EMPTY_ARR = [];\n    var NOOP = () => {\n    };\n    var NO = () => false;\n    var onRE = /^on[^a-z]/;\n    var isOn = (key) => onRE.test(key);\n    var isModelListener = (key) => key.startsWith(\"onUpdate:\");\n    var extend = Object.assign;\n    var remove = (arr, el) => {\n      const i = arr.indexOf(el);\n      if (i > -1) {\n        arr.splice(i, 1);\n      }\n    };\n    var hasOwnProperty = Object.prototype.hasOwnProperty;\n    var hasOwn = (val, key) => hasOwnProperty.call(val, key);\n    var isArray = Array.isArray;\n    var isMap = (val) => toTypeString(val) === \"[object Map]\";\n    var isSet = (val) => toTypeString(val) === \"[object Set]\";\n    var isDate = (val) => val instanceof Date;\n    var isFunction = (val) => typeof val === \"function\";\n    var isString = (val) => typeof val === \"string\";\n    var isSymbol = (val) => typeof val === \"symbol\";\n    var isObject = (val) => val !== null && typeof val === \"object\";\n    var isPromise = (val) => {\n      return isObject(val) && isFunction(val.then) && isFunction(val.catch);\n    };\n    var objectToString = Object.prototype.toString;\n    var toTypeString = (value) => objectToString.call(value);\n    var toRawType = (value) => {\n      return toTypeString(value).slice(8, -1);\n    };\n    var isPlainObject = (val) => toTypeString(val) === \"[object Object]\";\n    var isIntegerKey = (key) => isString(key) && key !== \"NaN\" && key[0] !== \"-\" && \"\" + parseInt(key, 10) === key;\n    var isReservedProp = /* @__PURE__ */ makeMap(\",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted\");\n    var isBuiltInDirective = /* @__PURE__ */ makeMap(\"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo\");\n    var cacheStringFunction = (fn) => {\n      const cache = /* @__PURE__ */ Object.create(null);\n      return (str) => {\n        const hit = cache[str];\n        return hit || (cache[str] = fn(str));\n      };\n    };\n    var camelizeRE = /-(\\w)/g;\n    var camelize = cacheStringFunction((str) => {\n      return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : \"\");\n    });\n    var hyphenateRE = /\\B([A-Z])/g;\n    var hyphenate = cacheStringFunction((str) => str.replace(hyphenateRE, \"-$1\").toLowerCase());\n    var capitalize = cacheStringFunction((str) => str.charAt(0).toUpperCase() + str.slice(1));\n    var toHandlerKey = cacheStringFunction((str) => str ? `on${capitalize(str)}` : ``);\n    var hasChanged = (value, oldValue) => !Object.is(value, oldValue);\n    var invokeArrayFns = (fns, arg) => {\n      for (let i = 0; i < fns.length; i++) {\n        fns[i](arg);\n      }\n    };\n    var def = (obj, key, value) => {\n      Object.defineProperty(obj, key, {\n        configurable: true,\n        enumerable: false,\n        value\n      });\n    };\n    var toNumber = (val) => {\n      const n = parseFloat(val);\n      return isNaN(n) ? val : n;\n    };\n    var _globalThis;\n    var getGlobalThis = () => {\n      return _globalThis || (_globalThis = typeof globalThis !== \"undefined\" ? globalThis : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : {});\n    };\n    exports.EMPTY_ARR = EMPTY_ARR;\n    exports.EMPTY_OBJ = EMPTY_OBJ;\n    exports.NO = NO;\n    exports.NOOP = NOOP;\n    exports.PatchFlagNames = PatchFlagNames;\n    exports.camelize = camelize;\n    exports.capitalize = capitalize;\n    exports.def = def;\n    exports.escapeHtml = escapeHtml;\n    exports.escapeHtmlComment = escapeHtmlComment;\n    exports.extend = extend;\n    exports.generateCodeFrame = generateCodeFrame;\n    exports.getGlobalThis = getGlobalThis;\n    exports.hasChanged = hasChanged;\n    exports.hasOwn = hasOwn;\n    exports.hyphenate = hyphenate;\n    exports.includeBooleanAttr = includeBooleanAttr;\n    exports.invokeArrayFns = invokeArrayFns;\n    exports.isArray = isArray;\n    exports.isBooleanAttr = isBooleanAttr;\n    exports.isBuiltInDirective = isBuiltInDirective;\n    exports.isDate = isDate;\n    exports.isFunction = isFunction;\n    exports.isGloballyWhitelisted = isGloballyWhitelisted;\n    exports.isHTMLTag = isHTMLTag;\n    exports.isIntegerKey = isIntegerKey;\n    exports.isKnownHtmlAttr = isKnownHtmlAttr;\n    exports.isKnownSvgAttr = isKnownSvgAttr;\n    exports.isMap = isMap;\n    exports.isModelListener = isModelListener;\n    exports.isNoUnitNumericStyleProp = isNoUnitNumericStyleProp;\n    exports.isObject = isObject;\n    exports.isOn = isOn;\n    exports.isPlainObject = isPlainObject;\n    exports.isPromise = isPromise;\n    exports.isReservedProp = isReservedProp;\n    exports.isSSRSafeAttrName = isSSRSafeAttrName;\n    exports.isSVGTag = isSVGTag;\n    exports.isSet = isSet;\n    exports.isSpecialBooleanAttr = isSpecialBooleanAttr;\n    exports.isString = isString;\n    exports.isSymbol = isSymbol;\n    exports.isVoidTag = isVoidTag;\n    exports.looseEqual = looseEqual;\n    exports.looseIndexOf = looseIndexOf;\n    exports.makeMap = makeMap;\n    exports.normalizeClass = normalizeClass;\n    exports.normalizeProps = normalizeProps;\n    exports.normalizeStyle = normalizeStyle;\n    exports.objectToString = objectToString;\n    exports.parseStringStyle = parseStringStyle;\n    exports.propsToAttrMap = propsToAttrMap;\n    exports.remove = remove;\n    exports.slotFlagsText = slotFlagsText;\n    exports.stringifyStyle = stringifyStyle;\n    exports.toDisplayString = toDisplayString;\n    exports.toHandlerKey = toHandlerKey;\n    exports.toNumber = toNumber;\n    exports.toRawType = toRawType;\n    exports.toTypeString = toTypeString;\n  }\n});\n\n// node_modules/.pnpm/@vue+shared@3.2.33/node_modules/@vue/shared/dist/shared.cjs.js\nvar require_shared_cjs = __commonJS({\n  \"node_modules/.pnpm/@vue+shared@3.2.33/node_modules/@vue/shared/dist/shared.cjs.js\"(exports) {\n    \"use strict\";\n    Object.defineProperty(exports, \"__esModule\", { value: true });\n    function makeMap(str, expectsLowerCase) {\n      const map = /* @__PURE__ */ Object.create(null);\n      const list = str.split(\",\");\n      for (let i = 0; i < list.length; i++) {\n        map[list[i]] = true;\n      }\n      return expectsLowerCase ? (val) => !!map[val.toLowerCase()] : (val) => !!map[val];\n    }\n    var PatchFlagNames = {\n      [1]: `TEXT`,\n      [2]: `CLASS`,\n      [4]: `STYLE`,\n      [8]: `PROPS`,\n      [16]: `FULL_PROPS`,\n      [32]: `HYDRATE_EVENTS`,\n      [64]: `STABLE_FRAGMENT`,\n      [128]: `KEYED_FRAGMENT`,\n      [256]: `UNKEYED_FRAGMENT`,\n      [512]: `NEED_PATCH`,\n      [1024]: `DYNAMIC_SLOTS`,\n      [2048]: `DEV_ROOT_FRAGMENT`,\n      [-1]: `HOISTED`,\n      [-2]: `BAIL`\n    };\n    var slotFlagsText = {\n      [1]: \"STABLE\",\n      [2]: \"DYNAMIC\",\n      [3]: \"FORWARDED\"\n    };\n    var GLOBALS_WHITE_LISTED = \"Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt\";\n    var isGloballyWhitelisted = /* @__PURE__ */ makeMap(GLOBALS_WHITE_LISTED);\n    var range = 2;\n    function generateCodeFrame(source, start = 0, end = source.length) {\n      let lines = source.split(/(\\r?\\n)/);\n      const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);\n      lines = lines.filter((_, idx) => idx % 2 === 0);\n      let count = 0;\n      const res = [];\n      for (let i = 0; i < lines.length; i++) {\n        count += lines[i].length + (newlineSequences[i] && newlineSequences[i].length || 0);\n        if (count >= start) {\n          for (let j = i - range; j <= i + range || end > count; j++) {\n            if (j < 0 || j >= lines.length)\n              continue;\n            const line = j + 1;\n            res.push(`${line}${\" \".repeat(Math.max(3 - String(line).length, 0))}|  ${lines[j]}`);\n            const lineLength = lines[j].length;\n            const newLineSeqLength = newlineSequences[j] && newlineSequences[j].length || 0;\n            if (j === i) {\n              const pad = start - (count - (lineLength + newLineSeqLength));\n              const length = Math.max(1, end > count ? lineLength - pad : end - start);\n              res.push(`   |  ` + \" \".repeat(pad) + \"^\".repeat(length));\n            } else if (j > i) {\n              if (end > count) {\n                const length = Math.max(Math.min(end - count, lineLength), 1);\n                res.push(`   |  ` + \"^\".repeat(length));\n              }\n              count += lineLength + newLineSeqLength;\n            }\n          }\n          break;\n        }\n      }\n      return res.join(\"\\n\");\n    }\n    var specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;\n    var isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);\n    var isBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`);\n    function includeBooleanAttr(value) {\n      return !!value || value === \"\";\n    }\n    var unsafeAttrCharRE = /[>/=\"'\\u0009\\u000a\\u000c\\u0020]/;\n    var attrValidationCache = {};\n    function isSSRSafeAttrName(name) {\n      if (attrValidationCache.hasOwnProperty(name)) {\n        return attrValidationCache[name];\n      }\n      const isUnsafe = unsafeAttrCharRE.test(name);\n      if (isUnsafe) {\n        console.error(`unsafe attribute name: ${name}`);\n      }\n      return attrValidationCache[name] = !isUnsafe;\n    }\n    var propsToAttrMap = {\n      acceptCharset: \"accept-charset\",\n      className: \"class\",\n      htmlFor: \"for\",\n      httpEquiv: \"http-equiv\"\n    };\n    var isNoUnitNumericStyleProp = /* @__PURE__ */ makeMap(`animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width`);\n    var isKnownHtmlAttr = /* @__PURE__ */ makeMap(`accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`);\n    var isKnownSvgAttr = /* @__PURE__ */ makeMap(`xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`);\n    function normalizeStyle(value) {\n      if (isArray(value)) {\n        const res = {};\n        for (let i = 0; i < value.length; i++) {\n          const item = value[i];\n          const normalized = isString(item) ? parseStringStyle(item) : normalizeStyle(item);\n          if (normalized) {\n            for (const key in normalized) {\n              res[key] = normalized[key];\n            }\n          }\n        }\n        return res;\n      } else if (isString(value)) {\n        return value;\n      } else if (isObject(value)) {\n        return value;\n      }\n    }\n    var listDelimiterRE = /;(?![^(]*\\))/g;\n    var propertyDelimiterRE = /:(.+)/;\n    function parseStringStyle(cssText) {\n      const ret = {};\n      cssText.split(listDelimiterRE).forEach((item) => {\n        if (item) {\n          const tmp = item.split(propertyDelimiterRE);\n          tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());\n        }\n      });\n      return ret;\n    }\n    function stringifyStyle(styles2) {\n      let ret = \"\";\n      if (!styles2 || isString(styles2)) {\n        return ret;\n      }\n      for (const key in styles2) {\n        const value = styles2[key];\n        const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);\n        if (isString(value) || typeof value === \"number\" && isNoUnitNumericStyleProp(normalizedKey)) {\n          ret += `${normalizedKey}:${value};`;\n        }\n      }\n      return ret;\n    }\n    function normalizeClass(value) {\n      let res = \"\";\n      if (isString(value)) {\n        res = value;\n      } else if (isArray(value)) {\n        for (let i = 0; i < value.length; i++) {\n          const normalized = normalizeClass(value[i]);\n          if (normalized) {\n            res += normalized + \" \";\n          }\n        }\n      } else if (isObject(value)) {\n        for (const name in value) {\n          if (value[name]) {\n            res += name + \" \";\n          }\n        }\n      }\n      return res.trim();\n    }\n    function normalizeProps(props) {\n      if (!props)\n        return null;\n      let { class: klass, style } = props;\n      if (klass && !isString(klass)) {\n        props.class = normalizeClass(klass);\n      }\n      if (style) {\n        props.style = normalizeStyle(style);\n      }\n      return props;\n    }\n    var HTML_TAGS = \"html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot\";\n    var SVG_TAGS = \"svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view\";\n    var VOID_TAGS = \"area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr\";\n    var isHTMLTag = /* @__PURE__ */ makeMap(HTML_TAGS);\n    var isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);\n    var isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);\n    var escapeRE = /[\"'&<>]/;\n    function escapeHtml(string) {\n      const str = \"\" + string;\n      const match = escapeRE.exec(str);\n      if (!match) {\n        return str;\n      }\n      let html = \"\";\n      let escaped;\n      let index;\n      let lastIndex = 0;\n      for (index = match.index; index < str.length; index++) {\n        switch (str.charCodeAt(index)) {\n          case 34:\n            escaped = \"&quot;\";\n            break;\n          case 38:\n            escaped = \"&amp;\";\n            break;\n          case 39:\n            escaped = \"&#39;\";\n            break;\n          case 60:\n            escaped = \"&lt;\";\n            break;\n          case 62:\n            escaped = \"&gt;\";\n            break;\n          default:\n            continue;\n        }\n        if (lastIndex !== index) {\n          html += str.slice(lastIndex, index);\n        }\n        lastIndex = index + 1;\n        html += escaped;\n      }\n      return lastIndex !== index ? html + str.slice(lastIndex, index) : html;\n    }\n    var commentStripRE = /^-?>|<!--|-->|--!>|<!-$/g;\n    function escapeHtmlComment(src) {\n      return src.replace(commentStripRE, \"\");\n    }\n    function looseCompareArrays(a, b) {\n      if (a.length !== b.length)\n        return false;\n      let equal = true;\n      for (let i = 0; equal && i < a.length; i++) {\n        equal = looseEqual(a[i], b[i]);\n      }\n      return equal;\n    }\n    function looseEqual(a, b) {\n      if (a === b)\n        return true;\n      let aValidType = isDate(a);\n      let bValidType = isDate(b);\n      if (aValidType || bValidType) {\n        return aValidType && bValidType ? a.getTime() === b.getTime() : false;\n      }\n      aValidType = isArray(a);\n      bValidType = isArray(b);\n      if (aValidType || bValidType) {\n        return aValidType && bValidType ? looseCompareArrays(a, b) : false;\n      }\n      aValidType = isObject(a);\n      bValidType = isObject(b);\n      if (aValidType || bValidType) {\n        if (!aValidType || !bValidType) {\n          return false;\n        }\n        const aKeysCount = Object.keys(a).length;\n        const bKeysCount = Object.keys(b).length;\n        if (aKeysCount !== bKeysCount) {\n          return false;\n        }\n        for (const key in a) {\n          const aHasKey = a.hasOwnProperty(key);\n          const bHasKey = b.hasOwnProperty(key);\n          if (aHasKey && !bHasKey || !aHasKey && bHasKey || !looseEqual(a[key], b[key])) {\n            return false;\n          }\n        }\n      }\n      return String(a) === String(b);\n    }\n    function looseIndexOf(arr, val) {\n      return arr.findIndex((item) => looseEqual(item, val));\n    }\n    var toDisplayString = (val) => {\n      return isString(val) ? val : val == null ? \"\" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? JSON.stringify(val, replacer, 2) : String(val);\n    };\n    var replacer = (_key, val) => {\n      if (val && val.__v_isRef) {\n        return replacer(_key, val.value);\n      } else if (isMap(val)) {\n        return {\n          [`Map(${val.size})`]: [...val.entries()].reduce((entries, [key, val2]) => {\n            entries[`${key} =>`] = val2;\n            return entries;\n          }, {})\n        };\n      } else if (isSet(val)) {\n        return {\n          [`Set(${val.size})`]: [...val.values()]\n        };\n      } else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {\n        return String(val);\n      }\n      return val;\n    };\n    var EMPTY_OBJ = Object.freeze({});\n    var EMPTY_ARR = Object.freeze([]);\n    var NOOP = () => {\n    };\n    var NO = () => false;\n    var onRE = /^on[^a-z]/;\n    var isOn = (key) => onRE.test(key);\n    var isModelListener = (key) => key.startsWith(\"onUpdate:\");\n    var extend = Object.assign;\n    var remove = (arr, el) => {\n      const i = arr.indexOf(el);\n      if (i > -1) {\n        arr.splice(i, 1);\n      }\n    };\n    var hasOwnProperty = Object.prototype.hasOwnProperty;\n    var hasOwn = (val, key) => hasOwnProperty.call(val, key);\n    var isArray = Array.isArray;\n    var isMap = (val) => toTypeString(val) === \"[object Map]\";\n    var isSet = (val) => toTypeString(val) === \"[object Set]\";\n    var isDate = (val) => val instanceof Date;\n    var isFunction = (val) => typeof val === \"function\";\n    var isString = (val) => typeof val === \"string\";\n    var isSymbol = (val) => typeof val === \"symbol\";\n    var isObject = (val) => val !== null && typeof val === \"object\";\n    var isPromise = (val) => {\n      return isObject(val) && isFunction(val.then) && isFunction(val.catch);\n    };\n    var objectToString = Object.prototype.toString;\n    var toTypeString = (value) => objectToString.call(value);\n    var toRawType = (value) => {\n      return toTypeString(value).slice(8, -1);\n    };\n    var isPlainObject = (val) => toTypeString(val) === \"[object Object]\";\n    var isIntegerKey = (key) => isString(key) && key !== \"NaN\" && key[0] !== \"-\" && \"\" + parseInt(key, 10) === key;\n    var isReservedProp = /* @__PURE__ */ makeMap(\",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted\");\n    var isBuiltInDirective = /* @__PURE__ */ makeMap(\"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo\");\n    var cacheStringFunction = (fn) => {\n      const cache = /* @__PURE__ */ Object.create(null);\n      return (str) => {\n        const hit = cache[str];\n        return hit || (cache[str] = fn(str));\n      };\n    };\n    var camelizeRE = /-(\\w)/g;\n    var camelize = cacheStringFunction((str) => {\n      return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : \"\");\n    });\n    var hyphenateRE = /\\B([A-Z])/g;\n    var hyphenate = cacheStringFunction((str) => str.replace(hyphenateRE, \"-$1\").toLowerCase());\n    var capitalize = cacheStringFunction((str) => str.charAt(0).toUpperCase() + str.slice(1));\n    var toHandlerKey = cacheStringFunction((str) => str ? `on${capitalize(str)}` : ``);\n    var hasChanged = (value, oldValue) => !Object.is(value, oldValue);\n    var invokeArrayFns = (fns, arg) => {\n      for (let i = 0; i < fns.length; i++) {\n        fns[i](arg);\n      }\n    };\n    var def = (obj, key, value) => {\n      Object.defineProperty(obj, key, {\n        configurable: true,\n        enumerable: false,\n        value\n      });\n    };\n    var toNumber = (val) => {\n      const n = parseFloat(val);\n      return isNaN(n) ? val : n;\n    };\n    var _globalThis;\n    var getGlobalThis = () => {\n      return _globalThis || (_globalThis = typeof globalThis !== \"undefined\" ? globalThis : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : {});\n    };\n    exports.EMPTY_ARR = EMPTY_ARR;\n    exports.EMPTY_OBJ = EMPTY_OBJ;\n    exports.NO = NO;\n    exports.NOOP = NOOP;\n    exports.PatchFlagNames = PatchFlagNames;\n    exports.camelize = camelize;\n    exports.capitalize = capitalize;\n    exports.def = def;\n    exports.escapeHtml = escapeHtml;\n    exports.escapeHtmlComment = escapeHtmlComment;\n    exports.extend = extend;\n    exports.generateCodeFrame = generateCodeFrame;\n    exports.getGlobalThis = getGlobalThis;\n    exports.hasChanged = hasChanged;\n    exports.hasOwn = hasOwn;\n    exports.hyphenate = hyphenate;\n    exports.includeBooleanAttr = includeBooleanAttr;\n    exports.invokeArrayFns = invokeArrayFns;\n    exports.isArray = isArray;\n    exports.isBooleanAttr = isBooleanAttr;\n    exports.isBuiltInDirective = isBuiltInDirective;\n    exports.isDate = isDate;\n    exports.isFunction = isFunction;\n    exports.isGloballyWhitelisted = isGloballyWhitelisted;\n    exports.isHTMLTag = isHTMLTag;\n    exports.isIntegerKey = isIntegerKey;\n    exports.isKnownHtmlAttr = isKnownHtmlAttr;\n    exports.isKnownSvgAttr = isKnownSvgAttr;\n    exports.isMap = isMap;\n    exports.isModelListener = isModelListener;\n    exports.isNoUnitNumericStyleProp = isNoUnitNumericStyleProp;\n    exports.isObject = isObject;\n    exports.isOn = isOn;\n    exports.isPlainObject = isPlainObject;\n    exports.isPromise = isPromise;\n    exports.isReservedProp = isReservedProp;\n    exports.isSSRSafeAttrName = isSSRSafeAttrName;\n    exports.isSVGTag = isSVGTag;\n    exports.isSet = isSet;\n    exports.isSpecialBooleanAttr = isSpecialBooleanAttr;\n    exports.isString = isString;\n    exports.isSymbol = isSymbol;\n    exports.isVoidTag = isVoidTag;\n    exports.looseEqual = looseEqual;\n    exports.looseIndexOf = looseIndexOf;\n    exports.makeMap = makeMap;\n    exports.normalizeClass = normalizeClass;\n    exports.normalizeProps = normalizeProps;\n    exports.normalizeStyle = normalizeStyle;\n    exports.objectToString = objectToString;\n    exports.parseStringStyle = parseStringStyle;\n    exports.propsToAttrMap = propsToAttrMap;\n    exports.remove = remove;\n    exports.slotFlagsText = slotFlagsText;\n    exports.stringifyStyle = stringifyStyle;\n    exports.toDisplayString = toDisplayString;\n    exports.toHandlerKey = toHandlerKey;\n    exports.toNumber = toNumber;\n    exports.toRawType = toRawType;\n    exports.toTypeString = toTypeString;\n  }\n});\n\n// node_modules/.pnpm/@vue+shared@3.2.33/node_modules/@vue/shared/index.js\nvar require_shared = __commonJS({\n  \"node_modules/.pnpm/@vue+shared@3.2.33/node_modules/@vue/shared/index.js\"(exports, module2) {\n    \"use strict\";\n    if (process.env.NODE_ENV === \"production\") {\n      module2.exports = require_shared_cjs_prod();\n    } else {\n      module2.exports = require_shared_cjs();\n    }\n  }\n});\n\n// node_modules/.pnpm/@vue-reactivity+watch@0.2.0_@vue+reactivity@3.2.33_@vue+shared@3.2.33/node_modules/@vue-reactivity/watch/dist/index.js\nvar require_dist = __commonJS({\n  \"node_modules/.pnpm/@vue-reactivity+watch@0.2.0_@vue+reactivity@3.2.33_@vue+shared@3.2.33/node_modules/@vue-reactivity/watch/dist/index.js\"(exports, module2) {\n    var __defProp2 = Object.defineProperty;\n    var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;\n    var __getOwnPropNames2 = Object.getOwnPropertyNames;\n    var __hasOwnProp2 = Object.prototype.hasOwnProperty;\n    var __markAsModule = (target) => __defProp2(target, \"__esModule\", { value: true });\n    var __export = (target, all) => {\n      for (var name in all)\n        __defProp2(target, name, { get: all[name], enumerable: true });\n    };\n    var __reExport = (target, module22, copyDefault, desc) => {\n      if (module22 && typeof module22 === \"object\" || typeof module22 === \"function\") {\n        for (let key of __getOwnPropNames2(module22))\n          if (!__hasOwnProp2.call(target, key) && (copyDefault || key !== \"default\"))\n            __defProp2(target, key, { get: () => module22[key], enumerable: !(desc = __getOwnPropDesc2(module22, key)) || desc.enumerable });\n      }\n      return target;\n    };\n    var __toCommonJS = /* @__PURE__ */ ((cache) => {\n      return (module22, temp) => {\n        return cache && cache.get(module22) || (temp = __reExport(__markAsModule({}), module22, 1), cache && cache.set(module22, temp), temp);\n      };\n    })(typeof WeakMap !== \"undefined\" ? /* @__PURE__ */ new WeakMap() : 0);\n    var src_exports = {};\n    __export(src_exports, {\n      watch: () => watch2,\n      watchEffect: () => watchEffect\n    });\n    var import_reactivity3 = require(\"@vue/reactivity\");\n    var import_shared2 = require_shared();\n    var import_shared = require_shared();\n    function callWithErrorHandling(fn, type, args) {\n      let res;\n      try {\n        res = args ? fn(...args) : fn();\n      } catch (err) {\n        handleError(err, type);\n      }\n      return res;\n    }\n    function callWithAsyncErrorHandling(fn, type, args) {\n      if ((0, import_shared.isFunction)(fn)) {\n        const res = callWithErrorHandling(fn, type, args);\n        if (res && (0, import_shared.isPromise)(res)) {\n          res.catch((err) => {\n            handleError(err, type);\n          });\n        }\n        return res;\n      }\n      const values = [];\n      for (let i = 0; i < fn.length; i++)\n        values.push(callWithAsyncErrorHandling(fn[i], type, args));\n      return values;\n    }\n    function handleError(err, type) {\n      console.error(new Error(`[@vue-reactivity/watch]: ${type}`));\n      console.error(err);\n    }\n    function warn2(message) {\n      console.warn(createError(message));\n    }\n    function createError(message) {\n      return new Error(`[reactivue]: ${message}`);\n    }\n    var INITIAL_WATCHER_VALUE = {};\n    function watchEffect(effect, options) {\n      return doWatch(effect, null, options);\n    }\n    function watch2(source, cb, options) {\n      return doWatch(source, cb, options);\n    }\n    function doWatch(source, cb, { immediate, deep, flush } = {}) {\n      let getter;\n      let forceTrigger = false;\n      let isMultiSource = false;\n      if ((0, import_reactivity3.isRef)(source)) {\n        getter = () => source.value;\n        forceTrigger = (0, import_reactivity3.isShallow)(source);\n      } else if ((0, import_reactivity3.isReactive)(source)) {\n        getter = () => source;\n        deep = true;\n      } else if ((0, import_shared2.isArray)(source)) {\n        isMultiSource = true;\n        forceTrigger = source.some(import_reactivity3.isReactive);\n        getter = () => source.map((s) => {\n          if ((0, import_reactivity3.isRef)(s))\n            return s.value;\n          else if ((0, import_reactivity3.isReactive)(s))\n            return traverse(s);\n          else if ((0, import_shared2.isFunction)(s))\n            return callWithErrorHandling(s, \"watch getter\");\n          else\n            return warn2(\"invalid source\");\n        });\n      } else if ((0, import_shared2.isFunction)(source)) {\n        if (cb) {\n          getter = () => callWithErrorHandling(source, \"watch getter\");\n        } else {\n          getter = () => {\n            if (cleanup)\n              cleanup();\n            return callWithAsyncErrorHandling(source, \"watch callback\", [onCleanup]);\n          };\n        }\n      } else {\n        getter = import_shared2.NOOP;\n      }\n      if (cb && deep) {\n        const baseGetter = getter;\n        getter = () => traverse(baseGetter());\n      }\n      let cleanup;\n      let onCleanup = (fn) => {\n        cleanup = effect.onStop = () => {\n          callWithErrorHandling(fn, \"watch cleanup\");\n        };\n      };\n      let oldValue = isMultiSource ? [] : INITIAL_WATCHER_VALUE;\n      const job = () => {\n        if (!effect.active)\n          return;\n        if (cb) {\n          const newValue = effect.run();\n          if (deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => (0, import_shared2.hasChanged)(v, oldValue[i])) : (0, import_shared2.hasChanged)(newValue, oldValue))) {\n            if (cleanup)\n              cleanup();\n            callWithAsyncErrorHandling(cb, \"watch value\", [\n              newValue,\n              oldValue === INITIAL_WATCHER_VALUE ? void 0 : oldValue,\n              onCleanup\n            ]);\n            oldValue = newValue;\n          }\n        } else {\n          effect.run();\n        }\n      };\n      job.allowRecurse = !!cb;\n      let scheduler;\n      if (flush === \"sync\") {\n        scheduler = job;\n      } else {\n        scheduler = () => {\n          job();\n        };\n      }\n      const effect = new import_reactivity3.ReactiveEffect(getter, scheduler);\n      if (cb) {\n        if (immediate)\n          job();\n        else\n          oldValue = effect.run();\n      } else {\n        effect.run();\n      }\n      return () => effect.stop();\n    }\n    function traverse(value, seen = /* @__PURE__ */ new Set()) {\n      if (!(0, import_shared2.isObject)(value) || seen.has(value))\n        return value;\n      seen.add(value);\n      if ((0, import_shared2.isArray)(value)) {\n        for (let i = 0; i < value.length; i++)\n          traverse(value[i], seen);\n      } else if (value instanceof Map) {\n        value.forEach((_, key) => {\n          traverse(value.get(key), seen);\n        });\n      } else if (value instanceof Set) {\n        value.forEach((v) => {\n          traverse(v, seen);\n        });\n      } else {\n        for (const key of Object.keys(value))\n          traverse(value[key], seen);\n      }\n      return value;\n    }\n    module2.exports = __toCommonJS(src_exports);\n  }\n});\n\n// src/scripts/index.ts\nvar import_reflect_metadata = require(\"reflect-metadata\");\nvar import_commander = require(\"commander\");\n\n// src/scripts/install.ts\nvar import_path5 = __toESM(require(\"path\"));\n\n// node_modules/.pnpm/chalk@5.0.1/node_modules/chalk/source/vendor/ansi-styles/index.js\nvar ANSI_BACKGROUND_OFFSET = 10;\nvar wrapAnsi16 = (offset = 0) => (code) => `\\x1B[${code + offset}m`;\nvar wrapAnsi256 = (offset = 0) => (code) => `\\x1B[${38 + offset};5;${code}m`;\nvar wrapAnsi16m = (offset = 0) => (red, green, blue) => `\\x1B[${38 + offset};2;${red};${green};${blue}m`;\nfunction assembleStyles() {\n  const codes = /* @__PURE__ */ new Map();\n  const styles2 = {\n    modifier: {\n      reset: [0, 0],\n      bold: [1, 22],\n      dim: [2, 22],\n      italic: [3, 23],\n      underline: [4, 24],\n      overline: [53, 55],\n      inverse: [7, 27],\n      hidden: [8, 28],\n      strikethrough: [9, 29]\n    },\n    color: {\n      black: [30, 39],\n      red: [31, 39],\n      green: [32, 39],\n      yellow: [33, 39],\n      blue: [34, 39],\n      magenta: [35, 39],\n      cyan: [36, 39],\n      white: [37, 39],\n      blackBright: [90, 39],\n      redBright: [91, 39],\n      greenBright: [92, 39],\n      yellowBright: [93, 39],\n      blueBright: [94, 39],\n      magentaBright: [95, 39],\n      cyanBright: [96, 39],\n      whiteBright: [97, 39]\n    },\n    bgColor: {\n      bgBlack: [40, 49],\n      bgRed: [41, 49],\n      bgGreen: [42, 49],\n      bgYellow: [43, 49],\n      bgBlue: [44, 49],\n      bgMagenta: [45, 49],\n      bgCyan: [46, 49],\n      bgWhite: [47, 49],\n      bgBlackBright: [100, 49],\n      bgRedBright: [101, 49],\n      bgGreenBright: [102, 49],\n      bgYellowBright: [103, 49],\n      bgBlueBright: [104, 49],\n      bgMagentaBright: [105, 49],\n      bgCyanBright: [106, 49],\n      bgWhiteBright: [107, 49]\n    }\n  };\n  styles2.color.gray = styles2.color.blackBright;\n  styles2.bgColor.bgGray = styles2.bgColor.bgBlackBright;\n  styles2.color.grey = styles2.color.blackBright;\n  styles2.bgColor.bgGrey = styles2.bgColor.bgBlackBright;\n  for (const [groupName, group] of Object.entries(styles2)) {\n    for (const [styleName, style] of Object.entries(group)) {\n      styles2[styleName] = {\n        open: `\\x1B[${style[0]}m`,\n        close: `\\x1B[${style[1]}m`\n      };\n      group[styleName] = styles2[styleName];\n      codes.set(style[0], style[1]);\n    }\n    Object.defineProperty(styles2, groupName, {\n      value: group,\n      enumerable: false\n    });\n  }\n  Object.defineProperty(styles2, \"codes\", {\n    value: codes,\n    enumerable: false\n  });\n  styles2.color.close = \"\\x1B[39m\";\n  styles2.bgColor.close = \"\\x1B[49m\";\n  styles2.color.ansi = wrapAnsi16();\n  styles2.color.ansi256 = wrapAnsi256();\n  styles2.color.ansi16m = wrapAnsi16m();\n  styles2.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);\n  styles2.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);\n  styles2.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);\n  Object.defineProperties(styles2, {\n    rgbToAnsi256: {\n      value: (red, green, blue) => {\n        if (red === green && green === blue) {\n          if (red < 8) {\n            return 16;\n          }\n          if (red > 248) {\n            return 231;\n          }\n          return Math.round((red - 8) / 247 * 24) + 232;\n        }\n        return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);\n      },\n      enumerable: false\n    },\n    hexToRgb: {\n      value: (hex) => {\n        const matches = /(?<colorString>[a-f\\d]{6}|[a-f\\d]{3})/i.exec(hex.toString(16));\n        if (!matches) {\n          return [0, 0, 0];\n        }\n        let { colorString } = matches.groups;\n        if (colorString.length === 3) {\n          colorString = [...colorString].map((character) => character + character).join(\"\");\n        }\n        const integer = Number.parseInt(colorString, 16);\n        return [\n          integer >> 16 & 255,\n          integer >> 8 & 255,\n          integer & 255\n        ];\n      },\n      enumerable: false\n    },\n    hexToAnsi256: {\n      value: (hex) => styles2.rgbToAnsi256(...styles2.hexToRgb(hex)),\n      enumerable: false\n    },\n    ansi256ToAnsi: {\n      value: (code) => {\n        if (code < 8) {\n          return 30 + code;\n        }\n        if (code < 16) {\n          return 90 + (code - 8);\n        }\n        let red;\n        let green;\n        let blue;\n        if (code >= 232) {\n          red = ((code - 232) * 10 + 8) / 255;\n          green = red;\n          blue = red;\n        } else {\n          code -= 16;\n          const remainder = code % 36;\n          red = Math.floor(code / 36) / 5;\n          green = Math.floor(remainder / 6) / 5;\n          blue = remainder % 6 / 5;\n        }\n        const value = Math.max(red, green, blue) * 2;\n        if (value === 0) {\n          return 30;\n        }\n        let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));\n        if (value === 2) {\n          result += 60;\n        }\n        return result;\n      },\n      enumerable: false\n    },\n    rgbToAnsi: {\n      value: (red, green, blue) => styles2.ansi256ToAnsi(styles2.rgbToAnsi256(red, green, blue)),\n      enumerable: false\n    },\n    hexToAnsi: {\n      value: (hex) => styles2.ansi256ToAnsi(styles2.hexToAnsi256(hex)),\n      enumerable: false\n    }\n  });\n  return styles2;\n}\nvar ansiStyles = assembleStyles();\nvar ansi_styles_default = ansiStyles;\n\n// node_modules/.pnpm/chalk@5.0.1/node_modules/chalk/source/vendor/supports-color/index.js\nvar import_node_process = __toESM(require(\"process\"), 1);\nvar import_node_os = __toESM(require(\"os\"), 1);\nvar import_node_tty = __toESM(require(\"tty\"), 1);\nfunction hasFlag(flag, argv = import_node_process.default.argv) {\n  const prefix = flag.startsWith(\"-\") ? \"\" : flag.length === 1 ? \"-\" : \"--\";\n  const position = argv.indexOf(prefix + flag);\n  const terminatorPosition = argv.indexOf(\"--\");\n  return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);\n}\nvar { env } = import_node_process.default;\nvar flagForceColor;\nif (hasFlag(\"no-color\") || hasFlag(\"no-colors\") || hasFlag(\"color=false\") || hasFlag(\"color=never\")) {\n  flagForceColor = 0;\n} else if (hasFlag(\"color\") || hasFlag(\"colors\") || hasFlag(\"color=true\") || hasFlag(\"color=always\")) {\n  flagForceColor = 1;\n}\nfunction envForceColor() {\n  if (\"FORCE_COLOR\" in env) {\n    if (env.FORCE_COLOR === \"true\") {\n      return 1;\n    }\n    if (env.FORCE_COLOR === \"false\") {\n      return 0;\n    }\n    return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);\n  }\n}\nfunction translateLevel(level) {\n  if (level === 0) {\n    return false;\n  }\n  return {\n    level,\n    hasBasic: true,\n    has256: level >= 2,\n    has16m: level >= 3\n  };\n}\nfunction _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {\n  const noFlagForceColor = envForceColor();\n  if (noFlagForceColor !== void 0) {\n    flagForceColor = noFlagForceColor;\n  }\n  const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;\n  if (forceColor === 0) {\n    return 0;\n  }\n  if (sniffFlags) {\n    if (hasFlag(\"color=16m\") || hasFlag(\"color=full\") || hasFlag(\"color=truecolor\")) {\n      return 3;\n    }\n    if (hasFlag(\"color=256\")) {\n      return 2;\n    }\n  }\n  if (haveStream && !streamIsTTY && forceColor === void 0) {\n    return 0;\n  }\n  const min = forceColor || 0;\n  if (env.TERM === \"dumb\") {\n    return min;\n  }\n  if (import_node_process.default.platform === \"win32\") {\n    const osRelease = import_node_os.default.release().split(\".\");\n    if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {\n      return Number(osRelease[2]) >= 14931 ? 3 : 2;\n    }\n    return 1;\n  }\n  if (\"CI\" in env) {\n    if ([\"TRAVIS\", \"CIRCLECI\", \"APPVEYOR\", \"GITLAB_CI\", \"GITHUB_ACTIONS\", \"BUILDKITE\", \"DRONE\"].some((sign) => sign in env) || env.CI_NAME === \"codeship\") {\n      return 1;\n    }\n    return min;\n  }\n  if (\"TEAMCITY_VERSION\" in env) {\n    return /^(9\\.(0*[1-9]\\d*)\\.|\\d{2,}\\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;\n  }\n  if (\"TF_BUILD\" in env && \"AGENT_NAME\" in env) {\n    return 1;\n  }\n  if (env.COLORTERM === \"truecolor\") {\n    return 3;\n  }\n  if (\"TERM_PROGRAM\" in env) {\n    const version2 = Number.parseInt((env.TERM_PROGRAM_VERSION || \"\").split(\".\")[0], 10);\n    switch (env.TERM_PROGRAM) {\n      case \"iTerm.app\":\n        return version2 >= 3 ? 3 : 2;\n      case \"Apple_Terminal\":\n        return 2;\n    }\n  }\n  if (/-256(color)?$/i.test(env.TERM)) {\n    return 2;\n  }\n  if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {\n    return 1;\n  }\n  if (\"COLORTERM\" in env) {\n    return 1;\n  }\n  return min;\n}\nfunction createSupportsColor(stream, options = {}) {\n  const level = _supportsColor(stream, __spreadValues({\n    streamIsTTY: stream && stream.isTTY\n  }, options));\n  return translateLevel(level);\n}\nvar supportsColor = {\n  stdout: createSupportsColor({ isTTY: import_node_tty.default.isatty(1) }),\n  stderr: createSupportsColor({ isTTY: import_node_tty.default.isatty(2) })\n};\nvar supports_color_default = supportsColor;\n\n// node_modules/.pnpm/chalk@5.0.1/node_modules/chalk/source/utilities.js\nfunction stringReplaceAll(string, substring, replacer) {\n  let index = string.indexOf(substring);\n  if (index === -1) {\n    return string;\n  }\n  const substringLength = substring.length;\n  let endIndex = 0;\n  let returnValue = \"\";\n  do {\n    returnValue += string.substr(endIndex, index - endIndex) + substring + replacer;\n    endIndex = index + substringLength;\n    index = string.indexOf(substring, endIndex);\n  } while (index !== -1);\n  returnValue += string.slice(endIndex);\n  return returnValue;\n}\nfunction stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {\n  let endIndex = 0;\n  let returnValue = \"\";\n  do {\n    const gotCR = string[index - 1] === \"\\r\";\n    returnValue += string.substr(endIndex, (gotCR ? index - 1 : index) - endIndex) + prefix + (gotCR ? \"\\r\\n\" : \"\\n\") + postfix;\n    endIndex = index + 1;\n    index = string.indexOf(\"\\n\", endIndex);\n  } while (index !== -1);\n  returnValue += string.slice(endIndex);\n  return returnValue;\n}\n\n// node_modules/.pnpm/chalk@5.0.1/node_modules/chalk/source/index.js\nvar { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;\nvar GENERATOR = Symbol(\"GENERATOR\");\nvar STYLER = Symbol(\"STYLER\");\nvar IS_EMPTY = Symbol(\"IS_EMPTY\");\nvar levelMapping = [\n  \"ansi\",\n  \"ansi\",\n  \"ansi256\",\n  \"ansi16m\"\n];\nvar styles = /* @__PURE__ */ Object.create(null);\nvar applyOptions = (object, options = {}) => {\n  if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {\n    throw new Error(\"The `level` option should be an integer from 0 to 3\");\n  }\n  const colorLevel = stdoutColor ? stdoutColor.level : 0;\n  object.level = options.level === void 0 ? colorLevel : options.level;\n};\nvar chalkFactory = (options) => {\n  const chalk2 = (...strings) => strings.join(\" \");\n  applyOptions(chalk2, options);\n  Object.setPrototypeOf(chalk2, createChalk.prototype);\n  return chalk2;\n};\nfunction createChalk(options) {\n  return chalkFactory(options);\n}\nObject.setPrototypeOf(createChalk.prototype, Function.prototype);\nfor (const [styleName, style] of Object.entries(ansi_styles_default)) {\n  styles[styleName] = {\n    get() {\n      const builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);\n      Object.defineProperty(this, styleName, { value: builder });\n      return builder;\n    }\n  };\n}\nstyles.visible = {\n  get() {\n    const builder = createBuilder(this, this[STYLER], true);\n    Object.defineProperty(this, \"visible\", { value: builder });\n    return builder;\n  }\n};\nvar getModelAnsi = (model, level, type, ...arguments_) => {\n  if (model === \"rgb\") {\n    if (level === \"ansi16m\") {\n      return ansi_styles_default[type].ansi16m(...arguments_);\n    }\n    if (level === \"ansi256\") {\n      return ansi_styles_default[type].ansi256(ansi_styles_default.rgbToAnsi256(...arguments_));\n    }\n    return ansi_styles_default[type].ansi(ansi_styles_default.rgbToAnsi(...arguments_));\n  }\n  if (model === \"hex\") {\n    return getModelAnsi(\"rgb\", level, type, ...ansi_styles_default.hexToRgb(...arguments_));\n  }\n  return ansi_styles_default[type][model](...arguments_);\n};\nvar usedModels = [\"rgb\", \"hex\", \"ansi256\"];\nfor (const model of usedModels) {\n  styles[model] = {\n    get() {\n      const { level } = this;\n      return function(...arguments_) {\n        const styler = createStyler(getModelAnsi(model, levelMapping[level], \"color\", ...arguments_), ansi_styles_default.color.close, this[STYLER]);\n        return createBuilder(this, styler, this[IS_EMPTY]);\n      };\n    }\n  };\n  const bgModel = \"bg\" + model[0].toUpperCase() + model.slice(1);\n  styles[bgModel] = {\n    get() {\n      const { level } = this;\n      return function(...arguments_) {\n        const styler = createStyler(getModelAnsi(model, levelMapping[level], \"bgColor\", ...arguments_), ansi_styles_default.bgColor.close, this[STYLER]);\n        return createBuilder(this, styler, this[IS_EMPTY]);\n      };\n    }\n  };\n}\nvar proto = Object.defineProperties(() => {\n}, __spreadProps(__spreadValues({}, styles), {\n  level: {\n    enumerable: true,\n    get() {\n      return this[GENERATOR].level;\n    },\n    set(level) {\n      this[GENERATOR].level = level;\n    }\n  }\n}));\nvar createStyler = (open, close, parent) => {\n  let openAll;\n  let closeAll;\n  if (parent === void 0) {\n    openAll = open;\n    closeAll = close;\n  } else {\n    openAll = parent.openAll + open;\n    closeAll = close + parent.closeAll;\n  }\n  return {\n    open,\n    close,\n    openAll,\n    closeAll,\n    parent\n  };\n};\nvar createBuilder = (self2, _styler, _isEmpty) => {\n  const builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? \"\" + arguments_[0] : arguments_.join(\" \"));\n  Object.setPrototypeOf(builder, proto);\n  builder[GENERATOR] = self2;\n  builder[STYLER] = _styler;\n  builder[IS_EMPTY] = _isEmpty;\n  return builder;\n};\nvar applyStyle = (self2, string) => {\n  if (self2.level <= 0 || !string) {\n    return self2[IS_EMPTY] ? \"\" : string;\n  }\n  let styler = self2[STYLER];\n  if (styler === void 0) {\n    return string;\n  }\n  const { openAll, closeAll } = styler;\n  if (string.includes(\"\\x1B\")) {\n    while (styler !== void 0) {\n      string = stringReplaceAll(string, styler.close, styler.open);\n      styler = styler.parent;\n    }\n  }\n  const lfIndex = string.indexOf(\"\\n\");\n  if (lfIndex !== -1) {\n    string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);\n  }\n  return openAll + string + closeAll;\n};\nObject.defineProperties(createChalk.prototype, styles);\nvar chalk = createChalk();\nvar chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });\nvar source_default = chalk;\n\n// src/scripts/install.ts\nvar import_tsyringe5 = require(\"tsyringe\");\n\n// src/shared/storage-service.ts\nvar import_tsyringe = require(\"tsyringe\");\nvar import_fs = require(\"fs\");\nvar import_path = require(\"path\");\nvar import_simple_json_db = __toESM(require(\"simple-json-db\"));\nvar defaultRoot = (0, import_path.resolve)(process.cwd(), \"data\");\nvar defaultFilename = \"common.db\";\nvar StorageService = class {\n  constructor() {\n    this._root = defaultRoot;\n    this._filename = defaultFilename;\n    if (!(0, import_fs.existsSync)(this._root))\n      (0, import_fs.mkdirSync)(this._root);\n    this._db = new import_simple_json_db.default((0, import_path.resolve)(this._root, this._filename));\n  }\n  get(key) {\n    return this._db.get(key);\n  }\n  set(key, value) {\n    this._db.set(key, value);\n  }\n  delete(key) {\n    return this._db.delete(key);\n  }\n};\nStorageService = __decorateClass([\n  (0, import_tsyringe.singleton)()\n], StorageService);\n\n// src/scripts/constants.ts\nvar import_fs3 = __toESM(require(\"fs\"));\nvar import_path2 = __toESM(require(\"path\"));\n\n// src/scripts/utils.ts\nvar import_fs2 = __toESM(require(\"fs\"));\nfunction section(title) {\n  console.log();\n  console.log(source_default.blue.bold(\"\\u2699 \" + title));\n  console.log();\n}\nfunction log(...args) {\n  console.log(...args);\n}\nfunction info(...args) {\n  console.log(source_default.blue(...args));\n}\nfunction success(...args) {\n  console.log(source_default.green(...args));\n}\nfunction warn(...args) {\n  console.log(source_default.yellow(...args));\n}\nfunction error(...args) {\n  console.log(source_default.red(...args));\n}\nvar printer = {\n  section,\n  log,\n  success,\n  info,\n  warn,\n  error\n};\nfunction readJsonFile(filename) {\n  const file = import_fs2.default.readFileSync(filename, { encoding: \"utf-8\" });\n  return JSON.parse(file);\n}\nfunction printVersion() {\n  printer.section(\"Check version\");\n  printer.info(`Current Version: ${version}`);\n  if (version.indexOf(\"-\") >= 0) {\n    printer.warn(\"This is a preview version!\");\n  }\n}\n\n// src/scripts/constants.ts\nvar logo = (() => {\n  try {\n    return import_fs3.default.readFileSync(import_path2.default.resolve(process.cwd(), \"./assets/logo.art\"), \"utf-8\");\n  } catch (err) {\n    console.error(err);\n    return \"Hexon\";\n  }\n})();\nvar version = readJsonFile(import_path2.default.resolve(process.cwd(), \"../package.json\")).version;\n\n// src/shared/constants.ts\nvar HEXON_PORT_KEY = \"@hexon/port\";\nvar HEXON_DEFAULT_PORT = 5777;\n\n// src/server/services/hexo-instance-service.ts\nvar import_tsyringe3 = require(\"tsyringe\");\nvar import_hexo = __toESM(require(\"hexo\"));\nvar import_path4 = __toESM(require(\"path\"));\n\n// src/server/services/log-service.ts\nvar import_tsyringe2 = require(\"tsyringe\");\nvar import_dayjs = __toESM(require(\"dayjs\"));\nvar DEFAULT_DATE_FORMAT = \"YYYY-MM-DD hh:mm:ss.SSS\";\nvar LogService = class {\n  constructor() {\n    this.scope = \"\";\n    this.dateFormat = DEFAULT_DATE_FORMAT;\n  }\n  _prefix(type) {\n    let prefix = \"\";\n    this.scope && (prefix += source_default[type].bold(`[${this.scope}]`));\n    prefix += source_default.blue(`[${(0, import_dayjs.default)().format(this.dateFormat)}]`);\n    return prefix;\n  }\n  _log(...args) {\n    console.log(...args);\n  }\n  _error(...args) {\n    console.error(...args);\n  }\n  setScope(scope) {\n    this.scope = scope;\n  }\n  log(...args) {\n    this._log(this._prefix(\"green\"), ...args);\n  }\n  error(...args) {\n    this._error(this._prefix(\"red\"), ...args);\n  }\n  logWithUser(user, ...args) {\n    this._log(this._prefix(\"green\") + source_default.yellow.dim(`[${user.username}:${user.slug}]`), ...args);\n  }\n  static create(scope) {\n    const instance = import_tsyringe2.container.resolve(LogService);\n    instance.setScope(scope);\n    return instance;\n  }\n};\n\n// src/shared/utils.ts\nvar import_fs4 = __toESM(require(\"fs\"));\nvar import_path3 = __toESM(require(\"path\"));\nfunction isBlog(cwd) {\n  var _a;\n  let file;\n  try {\n    file = import_fs4.default.readFileSync(import_path3.default.join(cwd, \"package.json\"), {\n      encoding: \"utf-8\"\n    });\n    import_fs4.default.readFileSync(import_path3.default.join(cwd, \"_config.yml\"), { encoding: \"utf-8\" });\n  } catch (err) {\n    if (err.code === \"ENOENT\") {\n      return false;\n    }\n    throw err;\n  }\n  const packageJSON = JSON.parse(file);\n  if (!((_a = packageJSON == null ? void 0 : packageJSON.dependencies) == null ? void 0 : _a.hexo))\n    return false;\n  return true;\n}\nfunction toRealPath(value) {\n  return import_path3.default.isAbsolute(value) ? value : import_path3.default.resolve(process.cwd(), \"../..\", value);\n}\n\n// src/server/utils.ts\nvar import_debug = __toESM(require(\"debug\"));\nvar DEV = process.env.NODE_ENV !== \"production\";\n\n// src/server/errors.ts\nvar import_http_errors = require(\"http-errors\");\nvar HexoInitError = class extends import_http_errors.InternalServerError {\n  constructor() {\n    super(...arguments);\n    this.id = \"HexoInitError\";\n  }\n};\n\n// src/server/services/hexo-instance-service.ts\nvar HexoInstanceService = class {\n  constructor(_logService, _storageService) {\n    this._logService = _logService;\n    this._storageService = _storageService;\n    this._options = null;\n    this._base = null;\n    this._hexo = null;\n    this._ready = false;\n    this._promise = null;\n    this._logService.setScope(\"hexo-instance-service\");\n  }\n  _withOptionsOverrides(options) {\n    return __spreadProps(__spreadValues({}, options), { draft: true, drafts: true });\n  }\n  _setHexoBase() {\n    const base = this._storageService.get(HexoInstanceService.HEXO_BASE_DIR_KEY);\n    const base_dir = import_path4.default.resolve(__dirname, toRealPath(base));\n    if (!isBlog(base_dir))\n      throw new Error(`\"${base_dir}\" is not a hexo blog folder`);\n    this._base = base_dir;\n  }\n  _setOptions() {\n    this._options = this._storageService.get(HexoInstanceService.HEXO_OPTIONS_KEY) || {};\n    this._options.silent = DEV ? false : this._options.silent;\n  }\n  _createHexoInstance() {\n    if (!this._base)\n      throw new Error(\"please set hexo root first\");\n    this._hexo = new import_hexo.default(this._base, this._withOptionsOverrides(this._options));\n  }\n  async _init() {\n    this._logService.log(\"real init start\");\n    this._ready = false;\n    await this._setHexoBase();\n    await this._setOptions();\n    await this._createHexoInstance();\n    await this._hexo.init();\n    await this._hexo.watch();\n    this._ready = true;\n    this._logService.log(\"real init finished\");\n  }\n  async setOptions(options) {\n    this._storageService.set(HexoInstanceService.HEXO_OPTIONS_KEY, options);\n    this._logService.log(\"options set\");\n  }\n  async _tryInit(count = HexoInstanceService.MAX_RETRY) {\n    try {\n      await this._init();\n      HexoInstanceService.INITING = false;\n    } catch (err) {\n      this._logService.error(err);\n      this._logService.error(`error when init hexo instance. `);\n      this._logService.error(`retry in ${HexoInstanceService.RETRY_INTERVAL} ms.`, `${count} retry left`);\n      if (count)\n        return new Promise((resolve4) => {\n          setTimeout(() => {\n            resolve4(this._tryInit(count - 1));\n          }, HexoInstanceService.RETRY_INTERVAL);\n        });\n      else {\n        HexoInstanceService.INITING = false;\n        throw new HexoInitError(String(err));\n      }\n    }\n  }\n  async init() {\n    if (!HexoInstanceService.INITING)\n      this._promise = this._tryInit();\n    return this._promise;\n  }\n  async getBaseDir() {\n    if (!this._ready)\n      await this.init();\n    return this._base;\n  }\n  async getInstance() {\n    if (!this._ready)\n      await this.init();\n    this._logService.log(\"instance required\");\n    return this._hexo;\n  }\n  async getInstanceWithOriginOptions(genOptions = (o) => o) {\n    if (!this._ready)\n      await this.init();\n    const newOptions = genOptions(this._options);\n    const hexo = new import_hexo.default(this._base, newOptions);\n    await hexo.init();\n    await hexo.watch();\n    HexoInstanceService.TO_BE_CLEANED++;\n    this._logService.log(\"instance with options required\");\n    this._logService.log(`${HexoInstanceService.TO_BE_CLEANED} extra instance to be cleaned`);\n    const cleanup = async () => {\n      await hexo.unwatch();\n      HexoInstanceService.TO_BE_CLEANED--;\n      this._logService.log(\"instance with options cleaned\");\n      if (HexoInstanceService.TO_BE_CLEANED === 0) {\n        this._logService.log(\"all instances have been cleaned\");\n      } else {\n        this._logService.log(`${HexoInstanceService.TO_BE_CLEANED} extra instance to be cleaned`);\n      }\n    };\n    return { hexo, cleanup };\n  }\n  async runBetweenReload(fn) {\n    if (!this._ready)\n      await this.init();\n    const unload = async () => {\n      await this._hexo.unwatch();\n    };\n    const load = async () => {\n      await this._hexo.watch();\n      HexoInstanceService.INITING = false;\n    };\n    const markHexoInitError = (err) => {\n      this._ready = false;\n      HexoInstanceService.INITING = false;\n    };\n    HexoInstanceService.INITING = true;\n    await unload().catch(markHexoInitError);\n    const res = await Promise.resolve(fn());\n    await load().catch(markHexoInitError);\n    return res;\n  }\n};\nHexoInstanceService.HEXO_BASE_DIR_KEY = \"hexo-basedir\";\nHexoInstanceService.HEXO_OPTIONS_KEY = \"hexo-options\";\nHexoInstanceService.INITING = false;\nHexoInstanceService.PENDING_COUNT = 0;\nHexoInstanceService.RETRY_INTERVAL = 1e3;\nHexoInstanceService.MAX_RETRY = 2;\nHexoInstanceService.CURRENT_RETRY = 0;\nHexoInstanceService.TO_BE_CLEANED = 0;\nHexoInstanceService = __decorateClass([\n  (0, import_tsyringe3.injectable)(),\n  (0, import_tsyringe3.singleton)(),\n  __decorateParam(0, (0, import_tsyringe3.inject)(LogService)),\n  __decorateParam(1, (0, import_tsyringe3.inject)(StorageService))\n], HexoInstanceService);\n\n// src/shared/account-storage-service.ts\nvar import_crypto_js = require(\"crypto-js\");\nvar import_tsyringe4 = require(\"tsyringe\");\nvar AccountService = class {\n  constructor(_storage) {\n    this._storage = _storage;\n  }\n  _encrypt(raw) {\n    return (0, import_crypto_js.SHA1)(raw).toString();\n  }\n  _toStorage(info2) {\n    this._storage.set(AccountService.KEY, info2);\n  }\n  _fromStorage() {\n    const { username = \"\", password = \"\" } = this._storage.get(AccountService.KEY) || {};\n    return { username, password };\n  }\n  setUserInfo(username, password) {\n    this._storage.set(AccountService.KEY, {\n      username,\n      password: this._encrypt(password)\n    });\n  }\n  getUsername() {\n    return this._fromStorage().username;\n  }\n  setUsername(username) {\n    const info2 = this._fromStorage();\n    info2.username = username;\n    this._toStorage(info2);\n  }\n  setPassword(password) {\n    const info2 = this._fromStorage();\n    info2.password = this._encrypt(password);\n    this._toStorage(info2);\n  }\n  setEncrptedPassword(password) {\n    const info2 = this._fromStorage();\n    info2.password = password;\n    this._toStorage(info2);\n  }\n  verify(username, password) {\n    const info2 = this._fromStorage();\n    if (username !== info2.username) {\n      return false;\n    }\n    if (this._encrypt(password) !== info2.password) {\n      return false;\n    }\n    return true;\n  }\n};\nAccountService.KEY = \"userinfo\";\nAccountService = __decorateClass([\n  (0, import_tsyringe4.injectable)(),\n  (0, import_tsyringe4.singleton)(),\n  __decorateParam(0, (0, import_tsyringe4.inject)(StorageService))\n], AccountService);\n\n// src/scripts/prompts.ts\nvar import_inquirer = __toESM(require(\"inquirer\"));\nasync function requestPassword() {\n  const answer = await import_inquirer.default.prompt({\n    name: \"password\",\n    message: \"Password ?\",\n    type: \"password\",\n    validate(v) {\n      if (!v)\n        return \"Must not empty\";\n      return true;\n    }\n  });\n  const { password } = answer;\n  return password;\n}\nasync function requestUsername() {\n  const answer = await import_inquirer.default.prompt({\n    name: \"username\",\n    message: \"Username ?\",\n    validate(v) {\n      if (!v)\n        return \"Must not empty\";\n      return true;\n    }\n  });\n  const { username } = answer;\n  return username;\n}\nasync function requestUserInfo() {\n  const username = await requestUsername();\n  const password = await requestPassword();\n  return { username, password };\n}\nasync function requestPort(defaultPort) {\n  const portPrompt = {\n    name: \"port\",\n    message: \"Which port do you like Hexon running at?\",\n    default: defaultPort,\n    validate(v) {\n      return !isNaN(v) || `number is required ${typeof v} given`;\n    },\n    prefix: source_default.blue(\"?\")\n  };\n  const answer = await import_inquirer.default.prompt(portPrompt);\n  return String(answer.port);\n}\nasync function requestRoot() {\n  const rootPrompt = {\n    name: \"root\",\n    message: `Your hexo blog path? ${source_default.grey(\"Absolute or relative path to hexon.\")}`,\n    validate(v) {\n      const truePath = toRealPath(v);\n      try {\n        return isBlog(truePath) || source_default.red.bold(truePath) + source_default.red(\" is not a valid hexo blog.\");\n      } catch (e) {\n        console.error(e);\n        return source_default.red(\"Fail to check path \" + source_default.bold(truePath));\n      }\n    }\n  };\n  const answer = await import_inquirer.default.prompt(rootPrompt);\n  return answer.root;\n}\n\n// src/scripts/install.ts\nasync function install_default() {\n  console.clear();\n  console.log(source_default.blue(logo));\n  printVersion();\n  printer.section(\"Configuration\");\n  const storage = import_tsyringe5.container.resolve(StorageService);\n  storage.set(HEXON_PORT_KEY, await requestPort(HEXON_DEFAULT_PORT));\n  storage.set(HexoInstanceService.HEXO_BASE_DIR_KEY, await requestRoot());\n  const { username, password } = await requestUserInfo();\n  const account = import_tsyringe5.container.resolve(AccountService);\n  account.setUserInfo(username, password);\n  printer.section(\"Install\");\n  const base = import_path5.default.resolve(__dirname, \"../..\");\n  printer.success(`Hexon has been installed to \\`${base}\\``);\n  printer.log(`Run \\`pnpm start\\` to start`);\n  printer.log(`Run \\`pnpm prd\\` to start with pm2`);\n  printer.log(source_default.grey(`To uninstall, remove the following foler: ${base}`));\n}\n\n// src/scripts/reset-password.ts\nvar import_tsyringe6 = require(\"tsyringe\");\nasync function resetPassword() {\n  const account = import_tsyringe6.container.resolve(AccountService);\n  const newpwd = await requestPassword();\n  account.setPassword(newpwd);\n  console.log(source_default.green(`Password has been reset.`));\n}\n\n// src/scripts/script.ts\nvar import_inquirer2 = __toESM(require(\"inquirer\"));\n\n// src/shared/store.ts\nvar import_path7 = require(\"path\");\nvar import_reactivity2 = require(\"@vue/reactivity\");\n\n// node_modules/.pnpm/@winwin+server-reactive-store@0.2.2/node_modules/@winwin/server-reactive-store/dist/index.mjs\nvar import_reactivity = require(\"@vue/reactivity\");\nvar import_watch = __toESM(require_dist(), 1);\nvar import_fs5 = require(\"fs\");\nvar import_path6 = require(\"path\");\nvar import_simple_json_db2 = __toESM(require(\"simple-json-db\"), 1);\nvar JSONdbStorageAdapter = class {\n  constructor(root, name = \"database.json\") {\n    if (!(0, import_fs5.existsSync)(root))\n      (0, import_fs5.mkdirSync)(root);\n    this.db = new import_simple_json_db2.default((0, import_path6.resolve)(root, name));\n  }\n  getItem(key) {\n    return this.db.get(key);\n  }\n  setItem(key, value) {\n    this.db.set(key, value);\n  }\n  removeItem(key) {\n    return this.db.delete(key);\n  }\n};\nfunction createStore(key, adapter, setup, {\n  saveAfterCreate = true\n} = {}) {\n  const all = setup();\n  if (!all.state)\n    throw new Error(\"must return object with state property\");\n  const state = (0, import_reactivity.reactive)(all.state);\n  const load = () => {\n    const loaded = adapter.getItem(key);\n    if (loaded)\n      Object.assign(state, loaded);\n  };\n  load();\n  const save = () => adapter.setItem(key, state);\n  (0, import_watch.watch)(state, save, { deep: true, immediate: saveAfterCreate });\n  return __spreadProps(__spreadValues({}, all), { load, save, state });\n}\nfunction createStoreCreator(adapter) {\n  return function(key, setup) {\n    return createStore(key, adapter, setup);\n  };\n}\n\n// src/shared/store.ts\nvar ROOT = (0, import_path7.resolve)(process.cwd(), \"data\");\nvar NAME = \"database.json\";\nvar createStore2 = createStoreCreator(new JSONdbStorageAdapter(ROOT, NAME));\nvar scriptStore = createStore2(\"script\", () => {\n  const state = (0, import_reactivity2.reactive)({\n    items: {}\n  });\n  const keys = (0, import_reactivity2.computed)(() => Object.keys(state.items));\n  const getScript = (key) => {\n    var _a;\n    return ((_a = state.items[key]) == null ? void 0 : _a.value) || \"\";\n  };\n  const hasScript = (key) => {\n    var _a;\n    return (_a = state.items[key]) == null ? void 0 : _a.value;\n  };\n  const setScript = (key, script2) => {\n    state.items[key] = { value: script2 };\n  };\n  return { state, keys, getScript, setScript, hasScript };\n});\n\n// src/scripts/script.ts\nfunction getAvailableKeys() {\n  const keys = /* @__PURE__ */ new Set([\n    \"git-save\",\n    \"git-sync\",\n    \"hexo-clean\",\n    \"hexo-generate\",\n    \"hexo-deploy\",\n    ...scriptStore.keys.value\n  ]);\n  return [...keys.keys()].map((value) => {\n    const v = scriptStore.getScript(value);\n    const name = v ? `${value}: ${v}` : value;\n    return { name, value };\n  });\n}\nasync function pickOneScript() {\n  const { key } = await import_inquirer2.default.prompt({\n    name: \"key\",\n    type: \"list\",\n    message: \"Which script do you want to manage?\",\n    choices: () => getAvailableKeys()\n  });\n  return key;\n}\nasync function getInput(key) {\n  const currnet = scriptStore.hasScript(key) && `- Current: ${scriptStore.getScript(key)}`;\n  const { value } = await import_inquirer2.default.prompt({\n    name: \"value\",\n    message: `Please input some script to run your script file (with relative path to your hexo blog folder).\n${source_default.gray(`- e.g. \\`bash ./my_deploy_script.sh\\`\n- Leave blank to remove.\n${currnet ? `${currnet}\n` : \"\"}`)}`\n  });\n  return value;\n}\nasync function script() {\n  const key = await pickOneScript();\n  const value = await getInput(key);\n  scriptStore.setScript(key, value);\n  console.log(source_default.bgGreen.white(` Script ${value ? \"Saved\" : \"Removed\"} `));\n}\n\n// src/scripts/index.ts\nvar program = new import_commander.Command(\"npx .\");\nprogram.command(\"install\").description(\"install hexon\").action(install_default);\nprogram.command(\"resetpwd\").description(\"reset password\").action(resetPassword);\nprogram.command(\"script\").description(\"manage custom script\").action(script);\nprogram.parse();\n"
  },
  {
    "path": "server/dist/index.js",
    "content": "\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __commonJS = (cb, mod) => function __require() {\n  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;\n};\nvar __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};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nvar __decorateParam = (index, decorator) => (target, key) => decorator(target, key, index);\n\n// ../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js\nvar require_windows = __commonJS({\n  \"../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js\"(exports, module2) {\n    module2.exports = isexe;\n    isexe.sync = sync;\n    var fs3 = require(\"fs\");\n    function checkPathExt(path9, options) {\n      var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;\n      if (!pathext) {\n        return true;\n      }\n      pathext = pathext.split(\";\");\n      if (pathext.indexOf(\"\") !== -1) {\n        return true;\n      }\n      for (var i = 0; i < pathext.length; i++) {\n        var p = pathext[i].toLowerCase();\n        if (p && path9.substr(-p.length).toLowerCase() === p) {\n          return true;\n        }\n      }\n      return false;\n    }\n    function checkStat(stat, path9, options) {\n      if (!stat.isSymbolicLink() && !stat.isFile()) {\n        return false;\n      }\n      return checkPathExt(path9, options);\n    }\n    function isexe(path9, options, cb) {\n      fs3.stat(path9, function(er, stat) {\n        cb(er, er ? false : checkStat(stat, path9, options));\n      });\n    }\n    function sync(path9, options) {\n      return checkStat(fs3.statSync(path9), path9, options);\n    }\n  }\n});\n\n// ../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js\nvar require_mode = __commonJS({\n  \"../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js\"(exports, module2) {\n    module2.exports = isexe;\n    isexe.sync = sync;\n    var fs3 = require(\"fs\");\n    function isexe(path9, options, cb) {\n      fs3.stat(path9, function(er, stat) {\n        cb(er, er ? false : checkStat(stat, options));\n      });\n    }\n    function sync(path9, options) {\n      return checkStat(fs3.statSync(path9), options);\n    }\n    function checkStat(stat, options) {\n      return stat.isFile() && checkMode(stat, options);\n    }\n    function checkMode(stat, options) {\n      var mod = stat.mode;\n      var uid = stat.uid;\n      var gid = stat.gid;\n      var myUid = options.uid !== void 0 ? options.uid : process.getuid && process.getuid();\n      var myGid = options.gid !== void 0 ? options.gid : process.getgid && process.getgid();\n      var u = parseInt(\"100\", 8);\n      var g = parseInt(\"010\", 8);\n      var o = parseInt(\"001\", 8);\n      var ug = u | g;\n      var ret = mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;\n      return ret;\n    }\n  }\n});\n\n// ../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js\nvar require_isexe = __commonJS({\n  \"../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js\"(exports, module2) {\n    var fs3 = require(\"fs\");\n    var core;\n    if (process.platform === \"win32\" || global.TESTING_WINDOWS) {\n      core = require_windows();\n    } else {\n      core = require_mode();\n    }\n    module2.exports = isexe;\n    isexe.sync = sync;\n    function isexe(path9, options, cb) {\n      if (typeof options === \"function\") {\n        cb = options;\n        options = {};\n      }\n      if (!cb) {\n        if (typeof Promise !== \"function\") {\n          throw new TypeError(\"callback not provided\");\n        }\n        return new Promise(function(resolve4, reject) {\n          isexe(path9, options || {}, function(er, is) {\n            if (er) {\n              reject(er);\n            } else {\n              resolve4(is);\n            }\n          });\n        });\n      }\n      core(path9, options || {}, function(er, is) {\n        if (er) {\n          if (er.code === \"EACCES\" || options && options.ignoreErrors) {\n            er = null;\n            is = false;\n          }\n        }\n        cb(er, is);\n      });\n    }\n    function sync(path9, options) {\n      try {\n        return core.sync(path9, options || {});\n      } catch (er) {\n        if (options && options.ignoreErrors || er.code === \"EACCES\") {\n          return false;\n        } else {\n          throw er;\n        }\n      }\n    }\n  }\n});\n\n// ../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js\nvar require_which = __commonJS({\n  \"../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js\"(exports, module2) {\n    var isWindows = process.platform === \"win32\" || process.env.OSTYPE === \"cygwin\" || process.env.OSTYPE === \"msys\";\n    var path9 = require(\"path\");\n    var COLON = isWindows ? \";\" : \":\";\n    var isexe = require_isexe();\n    var getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: \"ENOENT\" });\n    var getPathInfo = (cmd, opt) => {\n      const colon = opt.colon || COLON;\n      const pathEnv = cmd.match(/\\//) || isWindows && cmd.match(/\\\\/) ? [\"\"] : [\n        ...isWindows ? [process.cwd()] : [],\n        ...(opt.path || process.env.PATH || \"\").split(colon)\n      ];\n      const pathExtExe = isWindows ? opt.pathExt || process.env.PATHEXT || \".EXE;.CMD;.BAT;.COM\" : \"\";\n      const pathExt = isWindows ? pathExtExe.split(colon) : [\"\"];\n      if (isWindows) {\n        if (cmd.indexOf(\".\") !== -1 && pathExt[0] !== \"\")\n          pathExt.unshift(\"\");\n      }\n      return {\n        pathEnv,\n        pathExt,\n        pathExtExe\n      };\n    };\n    var which = (cmd, opt, cb) => {\n      if (typeof opt === \"function\") {\n        cb = opt;\n        opt = {};\n      }\n      if (!opt)\n        opt = {};\n      const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);\n      const found = [];\n      const step = (i) => new Promise((resolve4, reject) => {\n        if (i === pathEnv.length)\n          return opt.all && found.length ? resolve4(found) : reject(getNotFoundError(cmd));\n        const ppRaw = pathEnv[i];\n        const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;\n        const pCmd = path9.join(pathPart, cmd);\n        const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n        resolve4(subStep(p, i, 0));\n      });\n      const subStep = (p, i, ii) => new Promise((resolve4, reject) => {\n        if (ii === pathExt.length)\n          return resolve4(step(i + 1));\n        const ext = pathExt[ii];\n        isexe(p + ext, { pathExt: pathExtExe }, (er, is) => {\n          if (!er && is) {\n            if (opt.all)\n              found.push(p + ext);\n            else\n              return resolve4(p + ext);\n          }\n          return resolve4(subStep(p, i, ii + 1));\n        });\n      });\n      return cb ? step(0).then((res) => cb(null, res), cb) : step(0);\n    };\n    var whichSync = (cmd, opt) => {\n      opt = opt || {};\n      const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);\n      const found = [];\n      for (let i = 0; i < pathEnv.length; i++) {\n        const ppRaw = pathEnv[i];\n        const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;\n        const pCmd = path9.join(pathPart, cmd);\n        const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n        for (let j = 0; j < pathExt.length; j++) {\n          const cur = p + pathExt[j];\n          try {\n            const is = isexe.sync(cur, { pathExt: pathExtExe });\n            if (is) {\n              if (opt.all)\n                found.push(cur);\n              else\n                return cur;\n            }\n          } catch (ex) {\n          }\n        }\n      }\n      if (opt.all && found.length)\n        return found;\n      if (opt.nothrow)\n        return null;\n      throw getNotFoundError(cmd);\n    };\n    module2.exports = which;\n    which.sync = whichSync;\n  }\n});\n\n// ../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js\nvar require_path_key = __commonJS({\n  \"../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js\"(exports, module2) {\n    \"use strict\";\n    var pathKey2 = (options = {}) => {\n      const environment = options.env || process.env;\n      const platform = options.platform || process.platform;\n      if (platform !== \"win32\") {\n        return \"PATH\";\n      }\n      return Object.keys(environment).reverse().find((key) => key.toUpperCase() === \"PATH\") || \"Path\";\n    };\n    module2.exports = pathKey2;\n    module2.exports.default = pathKey2;\n  }\n});\n\n// ../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js\nvar require_resolveCommand = __commonJS({\n  \"../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js\"(exports, module2) {\n    \"use strict\";\n    var path9 = require(\"path\");\n    var which = require_which();\n    var getPathKey = require_path_key();\n    function resolveCommandAttempt(parsed, withoutPathExt) {\n      const env2 = parsed.options.env || process.env;\n      const cwd = process.cwd();\n      const hasCustomCwd = parsed.options.cwd != null;\n      const shouldSwitchCwd = hasCustomCwd && process.chdir !== void 0 && !process.chdir.disabled;\n      if (shouldSwitchCwd) {\n        try {\n          process.chdir(parsed.options.cwd);\n        } catch (err) {\n        }\n      }\n      let resolved;\n      try {\n        resolved = which.sync(parsed.command, {\n          path: env2[getPathKey({ env: env2 })],\n          pathExt: withoutPathExt ? path9.delimiter : void 0\n        });\n      } catch (e) {\n      } finally {\n        if (shouldSwitchCwd) {\n          process.chdir(cwd);\n        }\n      }\n      if (resolved) {\n        resolved = path9.resolve(hasCustomCwd ? parsed.options.cwd : \"\", resolved);\n      }\n      return resolved;\n    }\n    function resolveCommand(parsed) {\n      return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);\n    }\n    module2.exports = resolveCommand;\n  }\n});\n\n// ../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/escape.js\nvar require_escape = __commonJS({\n  \"../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/escape.js\"(exports, module2) {\n    \"use strict\";\n    var metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\n    function escapeCommand(arg) {\n      arg = arg.replace(metaCharsRegExp, \"^$1\");\n      return arg;\n    }\n    function escapeArgument(arg, doubleEscapeMetaChars) {\n      arg = `${arg}`;\n      arg = arg.replace(/(\\\\*)\"/g, '$1$1\\\\\"');\n      arg = arg.replace(/(\\\\*)$/, \"$1$1\");\n      arg = `\"${arg}\"`;\n      arg = arg.replace(metaCharsRegExp, \"^$1\");\n      if (doubleEscapeMetaChars) {\n        arg = arg.replace(metaCharsRegExp, \"^$1\");\n      }\n      return arg;\n    }\n    module2.exports.command = escapeCommand;\n    module2.exports.argument = escapeArgument;\n  }\n});\n\n// ../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js\nvar require_shebang_regex = __commonJS({\n  \"../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js\"(exports, module2) {\n    \"use strict\";\n    module2.exports = /^#!(.*)/;\n  }\n});\n\n// ../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js\nvar require_shebang_command = __commonJS({\n  \"../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js\"(exports, module2) {\n    \"use strict\";\n    var shebangRegex = require_shebang_regex();\n    module2.exports = (string = \"\") => {\n      const match = string.match(shebangRegex);\n      if (!match) {\n        return null;\n      }\n      const [path9, argument] = match[0].replace(/#! ?/, \"\").split(\" \");\n      const binary = path9.split(\"/\").pop();\n      if (binary === \"env\") {\n        return argument;\n      }\n      return argument ? `${binary} ${argument}` : binary;\n    };\n  }\n});\n\n// ../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js\nvar require_readShebang = __commonJS({\n  \"../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js\"(exports, module2) {\n    \"use strict\";\n    var fs3 = require(\"fs\");\n    var shebangCommand = require_shebang_command();\n    function readShebang(command) {\n      const size = 150;\n      const buffer = Buffer.alloc(size);\n      let fd;\n      try {\n        fd = fs3.openSync(command, \"r\");\n        fs3.readSync(fd, buffer, 0, size, 0);\n        fs3.closeSync(fd);\n      } catch (e) {\n      }\n      return shebangCommand(buffer.toString());\n    }\n    module2.exports = readShebang;\n  }\n});\n\n// ../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js\nvar require_parse = __commonJS({\n  \"../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js\"(exports, module2) {\n    \"use strict\";\n    var path9 = require(\"path\");\n    var resolveCommand = require_resolveCommand();\n    var escape = require_escape();\n    var readShebang = require_readShebang();\n    var isWin = process.platform === \"win32\";\n    var isExecutableRegExp = /\\.(?:com|exe)$/i;\n    var isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\n    function detectShebang(parsed) {\n      parsed.file = resolveCommand(parsed);\n      const shebang = parsed.file && readShebang(parsed.file);\n      if (shebang) {\n        parsed.args.unshift(parsed.file);\n        parsed.command = shebang;\n        return resolveCommand(parsed);\n      }\n      return parsed.file;\n    }\n    function parseNonShell(parsed) {\n      if (!isWin) {\n        return parsed;\n      }\n      const commandFile = detectShebang(parsed);\n      const needsShell = !isExecutableRegExp.test(commandFile);\n      if (parsed.options.forceShell || needsShell) {\n        const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);\n        parsed.command = path9.normalize(parsed.command);\n        parsed.command = escape.command(parsed.command);\n        parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));\n        const shellCommand = [parsed.command].concat(parsed.args).join(\" \");\n        parsed.args = [\"/d\", \"/s\", \"/c\", `\"${shellCommand}\"`];\n        parsed.command = process.env.comspec || \"cmd.exe\";\n        parsed.options.windowsVerbatimArguments = true;\n      }\n      return parsed;\n    }\n    function parse(command, args, options) {\n      if (args && !Array.isArray(args)) {\n        options = args;\n        args = null;\n      }\n      args = args ? args.slice(0) : [];\n      options = Object.assign({}, options);\n      const parsed = {\n        command,\n        args,\n        options,\n        file: void 0,\n        original: {\n          command,\n          args\n        }\n      };\n      return options.shell ? parsed : parseNonShell(parsed);\n    }\n    module2.exports = parse;\n  }\n});\n\n// ../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.js\nvar require_enoent = __commonJS({\n  \"../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.js\"(exports, module2) {\n    \"use strict\";\n    var isWin = process.platform === \"win32\";\n    function notFoundError(original, syscall) {\n      return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {\n        code: \"ENOENT\",\n        errno: \"ENOENT\",\n        syscall: `${syscall} ${original.command}`,\n        path: original.command,\n        spawnargs: original.args\n      });\n    }\n    function hookChildProcess(cp, parsed) {\n      if (!isWin) {\n        return;\n      }\n      const originalEmit = cp.emit;\n      cp.emit = function(name, arg1) {\n        if (name === \"exit\") {\n          const err = verifyENOENT(arg1, parsed, \"spawn\");\n          if (err) {\n            return originalEmit.call(cp, \"error\", err);\n          }\n        }\n        return originalEmit.apply(cp, arguments);\n      };\n    }\n    function verifyENOENT(status, parsed) {\n      if (isWin && status === 1 && !parsed.file) {\n        return notFoundError(parsed.original, \"spawn\");\n      }\n      return null;\n    }\n    function verifyENOENTSync(status, parsed) {\n      if (isWin && status === 1 && !parsed.file) {\n        return notFoundError(parsed.original, \"spawnSync\");\n      }\n      return null;\n    }\n    module2.exports = {\n      hookChildProcess,\n      verifyENOENT,\n      verifyENOENTSync,\n      notFoundError\n    };\n  }\n});\n\n// ../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js\nvar require_cross_spawn = __commonJS({\n  \"../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js\"(exports, module2) {\n    \"use strict\";\n    var cp = require(\"child_process\");\n    var parse = require_parse();\n    var enoent = require_enoent();\n    function spawn(command, args, options) {\n      const parsed = parse(command, args, options);\n      const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);\n      enoent.hookChildProcess(spawned, parsed);\n      return spawned;\n    }\n    function spawnSync(command, args, options) {\n      const parsed = parse(command, args, options);\n      const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);\n      result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);\n      return result;\n    }\n    module2.exports = spawn;\n    module2.exports.spawn = spawn;\n    module2.exports.sync = spawnSync;\n    module2.exports._parse = parse;\n    module2.exports._enoent = enoent;\n  }\n});\n\n// ../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js\nvar require_signals = __commonJS({\n  \"../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js\"(exports, module2) {\n    module2.exports = [\n      \"SIGABRT\",\n      \"SIGALRM\",\n      \"SIGHUP\",\n      \"SIGINT\",\n      \"SIGTERM\"\n    ];\n    if (process.platform !== \"win32\") {\n      module2.exports.push(\n        \"SIGVTALRM\",\n        \"SIGXCPU\",\n        \"SIGXFSZ\",\n        \"SIGUSR2\",\n        \"SIGTRAP\",\n        \"SIGSYS\",\n        \"SIGQUIT\",\n        \"SIGIOT\"\n      );\n    }\n    if (process.platform === \"linux\") {\n      module2.exports.push(\n        \"SIGIO\",\n        \"SIGPOLL\",\n        \"SIGPWR\",\n        \"SIGSTKFLT\",\n        \"SIGUNUSED\"\n      );\n    }\n  }\n});\n\n// ../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js\nvar require_signal_exit = __commonJS({\n  \"../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js\"(exports, module2) {\n    var process5 = global.process;\n    var processOk = function(process6) {\n      return process6 && typeof process6 === \"object\" && typeof process6.removeListener === \"function\" && typeof process6.emit === \"function\" && typeof process6.reallyExit === \"function\" && typeof process6.listeners === \"function\" && typeof process6.kill === \"function\" && typeof process6.pid === \"number\" && typeof process6.on === \"function\";\n    };\n    if (!processOk(process5)) {\n      module2.exports = function() {\n        return function() {\n        };\n      };\n    } else {\n      assert = require(\"assert\");\n      signals = require_signals();\n      isWin = /^win/i.test(process5.platform);\n      EE = require(\"events\");\n      if (typeof EE !== \"function\") {\n        EE = EE.EventEmitter;\n      }\n      if (process5.__signal_exit_emitter__) {\n        emitter = process5.__signal_exit_emitter__;\n      } else {\n        emitter = process5.__signal_exit_emitter__ = new EE();\n        emitter.count = 0;\n        emitter.emitted = {};\n      }\n      if (!emitter.infinite) {\n        emitter.setMaxListeners(Infinity);\n        emitter.infinite = true;\n      }\n      module2.exports = function(cb, opts) {\n        if (!processOk(global.process)) {\n          return function() {\n          };\n        }\n        assert.equal(typeof cb, \"function\", \"a callback must be provided for exit handler\");\n        if (loaded === false) {\n          load();\n        }\n        var ev = \"exit\";\n        if (opts && opts.alwaysLast) {\n          ev = \"afterexit\";\n        }\n        var remove = function() {\n          emitter.removeListener(ev, cb);\n          if (emitter.listeners(\"exit\").length === 0 && emitter.listeners(\"afterexit\").length === 0) {\n            unload();\n          }\n        };\n        emitter.on(ev, cb);\n        return remove;\n      };\n      unload = function unload2() {\n        if (!loaded || !processOk(global.process)) {\n          return;\n        }\n        loaded = false;\n        signals.forEach(function(sig) {\n          try {\n            process5.removeListener(sig, sigListeners[sig]);\n          } catch (er) {\n          }\n        });\n        process5.emit = originalProcessEmit;\n        process5.reallyExit = originalProcessReallyExit;\n        emitter.count -= 1;\n      };\n      module2.exports.unload = unload;\n      emit = function emit2(event, code, signal) {\n        if (emitter.emitted[event]) {\n          return;\n        }\n        emitter.emitted[event] = true;\n        emitter.emit(event, code, signal);\n      };\n      sigListeners = {};\n      signals.forEach(function(sig) {\n        sigListeners[sig] = function listener() {\n          if (!processOk(global.process)) {\n            return;\n          }\n          var listeners = process5.listeners(sig);\n          if (listeners.length === emitter.count) {\n            unload();\n            emit(\"exit\", null, sig);\n            emit(\"afterexit\", null, sig);\n            if (isWin && sig === \"SIGHUP\") {\n              sig = \"SIGINT\";\n            }\n            process5.kill(process5.pid, sig);\n          }\n        };\n      });\n      module2.exports.signals = function() {\n        return signals;\n      };\n      loaded = false;\n      load = function load2() {\n        if (loaded || !processOk(global.process)) {\n          return;\n        }\n        loaded = true;\n        emitter.count += 1;\n        signals = signals.filter(function(sig) {\n          try {\n            process5.on(sig, sigListeners[sig]);\n            return true;\n          } catch (er) {\n            return false;\n          }\n        });\n        process5.emit = processEmit;\n        process5.reallyExit = processReallyExit;\n      };\n      module2.exports.load = load;\n      originalProcessReallyExit = process5.reallyExit;\n      processReallyExit = function processReallyExit2(code) {\n        if (!processOk(global.process)) {\n          return;\n        }\n        process5.exitCode = code || 0;\n        emit(\"exit\", process5.exitCode, null);\n        emit(\"afterexit\", process5.exitCode, null);\n        originalProcessReallyExit.call(process5, process5.exitCode);\n      };\n      originalProcessEmit = process5.emit;\n      processEmit = function processEmit2(ev, arg) {\n        if (ev === \"exit\" && processOk(global.process)) {\n          if (arg !== void 0) {\n            process5.exitCode = arg;\n          }\n          var ret = originalProcessEmit.apply(this, arguments);\n          emit(\"exit\", process5.exitCode, null);\n          emit(\"afterexit\", process5.exitCode, null);\n          return ret;\n        } else {\n          return originalProcessEmit.apply(this, arguments);\n        }\n      };\n    }\n    var assert;\n    var signals;\n    var isWin;\n    var EE;\n    var emitter;\n    var unload;\n    var emit;\n    var sigListeners;\n    var loaded;\n    var load;\n    var originalProcessReallyExit;\n    var processReallyExit;\n    var originalProcessEmit;\n    var processEmit;\n  }\n});\n\n// ../node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js\nvar require_buffer_stream = __commonJS({\n  \"../node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js\"(exports, module2) {\n    \"use strict\";\n    var { PassThrough: PassThroughStream } = require(\"stream\");\n    module2.exports = (options) => {\n      options = { ...options };\n      const { array } = options;\n      let { encoding } = options;\n      const isBuffer = encoding === \"buffer\";\n      let objectMode = false;\n      if (array) {\n        objectMode = !(encoding || isBuffer);\n      } else {\n        encoding = encoding || \"utf8\";\n      }\n      if (isBuffer) {\n        encoding = null;\n      }\n      const stream = new PassThroughStream({ objectMode });\n      if (encoding) {\n        stream.setEncoding(encoding);\n      }\n      let length = 0;\n      const chunks = [];\n      stream.on(\"data\", (chunk) => {\n        chunks.push(chunk);\n        if (objectMode) {\n          length = chunks.length;\n        } else {\n          length += chunk.length;\n        }\n      });\n      stream.getBufferedValue = () => {\n        if (array) {\n          return chunks;\n        }\n        return isBuffer ? Buffer.concat(chunks, length) : chunks.join(\"\");\n      };\n      stream.getBufferedLength = () => length;\n      return stream;\n    };\n  }\n});\n\n// ../node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js\nvar require_get_stream = __commonJS({\n  \"../node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js\"(exports, module2) {\n    \"use strict\";\n    var { constants: BufferConstants } = require(\"buffer\");\n    var stream = require(\"stream\");\n    var { promisify } = require(\"util\");\n    var bufferStream = require_buffer_stream();\n    var streamPipelinePromisified = promisify(stream.pipeline);\n    var MaxBufferError = class extends Error {\n      constructor() {\n        super(\"maxBuffer exceeded\");\n        this.name = \"MaxBufferError\";\n      }\n    };\n    async function getStream2(inputStream, options) {\n      if (!inputStream) {\n        throw new Error(\"Expected a stream\");\n      }\n      options = {\n        maxBuffer: Infinity,\n        ...options\n      };\n      const { maxBuffer } = options;\n      const stream2 = bufferStream(options);\n      await new Promise((resolve4, reject) => {\n        const rejectPromise = (error) => {\n          if (error && stream2.getBufferedLength() <= BufferConstants.MAX_LENGTH) {\n            error.bufferedData = stream2.getBufferedValue();\n          }\n          reject(error);\n        };\n        (async () => {\n          try {\n            await streamPipelinePromisified(inputStream, stream2);\n            resolve4();\n          } catch (error) {\n            rejectPromise(error);\n          }\n        })();\n        stream2.on(\"data\", () => {\n          if (stream2.getBufferedLength() > maxBuffer) {\n            rejectPromise(new MaxBufferError());\n          }\n        });\n      });\n      return stream2.getBufferedValue();\n    }\n    module2.exports = getStream2;\n    module2.exports.buffer = (stream2, options) => getStream2(stream2, { ...options, encoding: \"buffer\" });\n    module2.exports.array = (stream2, options) => getStream2(stream2, { ...options, array: true });\n    module2.exports.MaxBufferError = MaxBufferError;\n  }\n});\n\n// ../node_modules/.pnpm/merge-stream@2.0.0/node_modules/merge-stream/index.js\nvar require_merge_stream = __commonJS({\n  \"../node_modules/.pnpm/merge-stream@2.0.0/node_modules/merge-stream/index.js\"(exports, module2) {\n    \"use strict\";\n    var { PassThrough } = require(\"stream\");\n    module2.exports = function() {\n      var sources = [];\n      var output = new PassThrough({ objectMode: true });\n      output.setMaxListeners(0);\n      output.add = add;\n      output.isEmpty = isEmpty;\n      output.on(\"unpipe\", remove);\n      Array.prototype.slice.call(arguments).forEach(add);\n      return output;\n      function add(source) {\n        if (Array.isArray(source)) {\n          source.forEach(add);\n          return this;\n        }\n        sources.push(source);\n        source.once(\"end\", remove.bind(null, source));\n        source.once(\"error\", output.emit.bind(output, \"error\"));\n        source.pipe(output, { end: false });\n        return this;\n      }\n      function isEmpty() {\n        return sources.length == 0;\n      }\n      function remove(source) {\n        sources = sources.filter(function(it) {\n          return it !== source;\n        });\n        if (!sources.length && output.readable) {\n          output.end();\n        }\n      }\n    };\n  }\n});\n\n// ../node_modules/.pnpm/@vue+shared@3.4.25/node_modules/@vue/shared/dist/shared.cjs.prod.js\nvar require_shared_cjs_prod = __commonJS({\n  \"../node_modules/.pnpm/@vue+shared@3.4.25/node_modules/@vue/shared/dist/shared.cjs.prod.js\"(exports) {\n    \"use strict\";\n    Object.defineProperty(exports, \"__esModule\", { value: true });\n    function makeMap(str, expectsLowerCase) {\n      const set = new Set(str.split(\",\"));\n      return expectsLowerCase ? (val) => set.has(val.toLowerCase()) : (val) => set.has(val);\n    }\n    var EMPTY_OBJ = {};\n    var EMPTY_ARR = [];\n    var NOOP = () => {\n    };\n    var NO = () => false;\n    var isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && (key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);\n    var isModelListener = (key) => key.startsWith(\"onUpdate:\");\n    var extend = Object.assign;\n    var remove = (arr, el) => {\n      const i = arr.indexOf(el);\n      if (i > -1) {\n        arr.splice(i, 1);\n      }\n    };\n    var hasOwnProperty = Object.prototype.hasOwnProperty;\n    var hasOwn = (val, key) => hasOwnProperty.call(val, key);\n    var isArray = Array.isArray;\n    var isMap = (val) => toTypeString(val) === \"[object Map]\";\n    var isSet = (val) => toTypeString(val) === \"[object Set]\";\n    var isDate = (val) => toTypeString(val) === \"[object Date]\";\n    var isRegExp = (val) => toTypeString(val) === \"[object RegExp]\";\n    var isFunction = (val) => typeof val === \"function\";\n    var isString = (val) => typeof val === \"string\";\n    var isSymbol = (val) => typeof val === \"symbol\";\n    var isObject = (val) => val !== null && typeof val === \"object\";\n    var isPromise = (val) => {\n      return (isObject(val) || isFunction(val)) && isFunction(val.then) && isFunction(val.catch);\n    };\n    var objectToString = Object.prototype.toString;\n    var toTypeString = (value) => objectToString.call(value);\n    var toRawType = (value) => {\n      return toTypeString(value).slice(8, -1);\n    };\n    var isPlainObject = (val) => toTypeString(val) === \"[object Object]\";\n    var isIntegerKey = (key) => isString(key) && key !== \"NaN\" && key[0] !== \"-\" && \"\" + parseInt(key, 10) === key;\n    var isReservedProp = /* @__PURE__ */ makeMap(\n      \",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted\"\n    );\n    var isBuiltInDirective = /* @__PURE__ */ makeMap(\n      \"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo\"\n    );\n    var cacheStringFunction = (fn) => {\n      const cache = /* @__PURE__ */ Object.create(null);\n      return (str) => {\n        const hit = cache[str];\n        return hit || (cache[str] = fn(str));\n      };\n    };\n    var camelizeRE = /-(\\w)/g;\n    var camelize = cacheStringFunction((str) => {\n      return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : \"\");\n    });\n    var hyphenateRE = /\\B([A-Z])/g;\n    var hyphenate = cacheStringFunction(\n      (str) => str.replace(hyphenateRE, \"-$1\").toLowerCase()\n    );\n    var capitalize = cacheStringFunction((str) => {\n      return str.charAt(0).toUpperCase() + str.slice(1);\n    });\n    var toHandlerKey = cacheStringFunction((str) => {\n      const s = str ? `on${capitalize(str)}` : ``;\n      return s;\n    });\n    var hasChanged = (value, oldValue) => !Object.is(value, oldValue);\n    var invokeArrayFns = (fns, arg) => {\n      for (let i = 0; i < fns.length; i++) {\n        fns[i](arg);\n      }\n    };\n    var def = (obj, key, value) => {\n      Object.defineProperty(obj, key, {\n        configurable: true,\n        enumerable: false,\n        value\n      });\n    };\n    var looseToNumber = (val) => {\n      const n = parseFloat(val);\n      return isNaN(n) ? val : n;\n    };\n    var toNumber = (val) => {\n      const n = isString(val) ? Number(val) : NaN;\n      return isNaN(n) ? val : n;\n    };\n    var _globalThis;\n    var getGlobalThis = () => {\n      return _globalThis || (_globalThis = typeof globalThis !== \"undefined\" ? globalThis : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : {});\n    };\n    var identRE = /^[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*$/;\n    function genPropsAccessExp(name) {\n      return identRE.test(name) ? `__props.${name}` : `__props[${JSON.stringify(name)}]`;\n    }\n    var PatchFlags = {\n      \"TEXT\": 1,\n      \"1\": \"TEXT\",\n      \"CLASS\": 2,\n      \"2\": \"CLASS\",\n      \"STYLE\": 4,\n      \"4\": \"STYLE\",\n      \"PROPS\": 8,\n      \"8\": \"PROPS\",\n      \"FULL_PROPS\": 16,\n      \"16\": \"FULL_PROPS\",\n      \"NEED_HYDRATION\": 32,\n      \"32\": \"NEED_HYDRATION\",\n      \"STABLE_FRAGMENT\": 64,\n      \"64\": \"STABLE_FRAGMENT\",\n      \"KEYED_FRAGMENT\": 128,\n      \"128\": \"KEYED_FRAGMENT\",\n      \"UNKEYED_FRAGMENT\": 256,\n      \"256\": \"UNKEYED_FRAGMENT\",\n      \"NEED_PATCH\": 512,\n      \"512\": \"NEED_PATCH\",\n      \"DYNAMIC_SLOTS\": 1024,\n      \"1024\": \"DYNAMIC_SLOTS\",\n      \"DEV_ROOT_FRAGMENT\": 2048,\n      \"2048\": \"DEV_ROOT_FRAGMENT\",\n      \"HOISTED\": -1,\n      \"-1\": \"HOISTED\",\n      \"BAIL\": -2,\n      \"-2\": \"BAIL\"\n    };\n    var PatchFlagNames = {\n      [1]: `TEXT`,\n      [2]: `CLASS`,\n      [4]: `STYLE`,\n      [8]: `PROPS`,\n      [16]: `FULL_PROPS`,\n      [32]: `NEED_HYDRATION`,\n      [64]: `STABLE_FRAGMENT`,\n      [128]: `KEYED_FRAGMENT`,\n      [256]: `UNKEYED_FRAGMENT`,\n      [512]: `NEED_PATCH`,\n      [1024]: `DYNAMIC_SLOTS`,\n      [2048]: `DEV_ROOT_FRAGMENT`,\n      [-1]: `HOISTED`,\n      [-2]: `BAIL`\n    };\n    var ShapeFlags = {\n      \"ELEMENT\": 1,\n      \"1\": \"ELEMENT\",\n      \"FUNCTIONAL_COMPONENT\": 2,\n      \"2\": \"FUNCTIONAL_COMPONENT\",\n      \"STATEFUL_COMPONENT\": 4,\n      \"4\": \"STATEFUL_COMPONENT\",\n      \"TEXT_CHILDREN\": 8,\n      \"8\": \"TEXT_CHILDREN\",\n      \"ARRAY_CHILDREN\": 16,\n      \"16\": \"ARRAY_CHILDREN\",\n      \"SLOTS_CHILDREN\": 32,\n      \"32\": \"SLOTS_CHILDREN\",\n      \"TELEPORT\": 64,\n      \"64\": \"TELEPORT\",\n      \"SUSPENSE\": 128,\n      \"128\": \"SUSPENSE\",\n      \"COMPONENT_SHOULD_KEEP_ALIVE\": 256,\n      \"256\": \"COMPONENT_SHOULD_KEEP_ALIVE\",\n      \"COMPONENT_KEPT_ALIVE\": 512,\n      \"512\": \"COMPONENT_KEPT_ALIVE\",\n      \"COMPONENT\": 6,\n      \"6\": \"COMPONENT\"\n    };\n    var SlotFlags = {\n      \"STABLE\": 1,\n      \"1\": \"STABLE\",\n      \"DYNAMIC\": 2,\n      \"2\": \"DYNAMIC\",\n      \"FORWARDED\": 3,\n      \"3\": \"FORWARDED\"\n    };\n    var slotFlagsText = {\n      [1]: \"STABLE\",\n      [2]: \"DYNAMIC\",\n      [3]: \"FORWARDED\"\n    };\n    var GLOBALS_ALLOWED = \"Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error\";\n    var isGloballyAllowed = /* @__PURE__ */ makeMap(GLOBALS_ALLOWED);\n    var isGloballyWhitelisted = isGloballyAllowed;\n    var range = 2;\n    function generateCodeFrame(source, start = 0, end = source.length) {\n      let lines = source.split(/(\\r?\\n)/);\n      const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);\n      lines = lines.filter((_, idx) => idx % 2 === 0);\n      let count = 0;\n      const res = [];\n      for (let i = 0; i < lines.length; i++) {\n        count += lines[i].length + (newlineSequences[i] && newlineSequences[i].length || 0);\n        if (count >= start) {\n          for (let j = i - range; j <= i + range || end > count; j++) {\n            if (j < 0 || j >= lines.length)\n              continue;\n            const line = j + 1;\n            res.push(\n              `${line}${\" \".repeat(Math.max(3 - String(line).length, 0))}|  ${lines[j]}`\n            );\n            const lineLength = lines[j].length;\n            const newLineSeqLength = newlineSequences[j] && newlineSequences[j].length || 0;\n            if (j === i) {\n              const pad = start - (count - (lineLength + newLineSeqLength));\n              const length = Math.max(\n                1,\n                end > count ? lineLength - pad : end - start\n              );\n              res.push(`   |  ` + \" \".repeat(pad) + \"^\".repeat(length));\n            } else if (j > i) {\n              if (end > count) {\n                const length = Math.max(Math.min(end - count, lineLength), 1);\n                res.push(`   |  ` + \"^\".repeat(length));\n              }\n              count += lineLength + newLineSeqLength;\n            }\n          }\n          break;\n        }\n      }\n      return res.join(\"\\n\");\n    }\n    function normalizeStyle(value) {\n      if (isArray(value)) {\n        const res = {};\n        for (let i = 0; i < value.length; i++) {\n          const item = value[i];\n          const normalized = isString(item) ? parseStringStyle(item) : normalizeStyle(item);\n          if (normalized) {\n            for (const key in normalized) {\n              res[key] = normalized[key];\n            }\n          }\n        }\n        return res;\n      } else if (isString(value) || isObject(value)) {\n        return value;\n      }\n    }\n    var listDelimiterRE = /;(?![^(]*\\))/g;\n    var propertyDelimiterRE = /:([^]+)/;\n    var styleCommentRE = /\\/\\*[^]*?\\*\\//g;\n    function parseStringStyle(cssText) {\n      const ret = {};\n      cssText.replace(styleCommentRE, \"\").split(listDelimiterRE).forEach((item) => {\n        if (item) {\n          const tmp = item.split(propertyDelimiterRE);\n          tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());\n        }\n      });\n      return ret;\n    }\n    function stringifyStyle(styles3) {\n      let ret = \"\";\n      if (!styles3 || isString(styles3)) {\n        return ret;\n      }\n      for (const key in styles3) {\n        const value = styles3[key];\n        const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);\n        if (isString(value) || typeof value === \"number\") {\n          ret += `${normalizedKey}:${value};`;\n        }\n      }\n      return ret;\n    }\n    function normalizeClass(value) {\n      let res = \"\";\n      if (isString(value)) {\n        res = value;\n      } else if (isArray(value)) {\n        for (let i = 0; i < value.length; i++) {\n          const normalized = normalizeClass(value[i]);\n          if (normalized) {\n            res += normalized + \" \";\n          }\n        }\n      } else if (isObject(value)) {\n        for (const name in value) {\n          if (value[name]) {\n            res += name + \" \";\n          }\n        }\n      }\n      return res.trim();\n    }\n    function normalizeProps(props) {\n      if (!props)\n        return null;\n      let { class: klass, style } = props;\n      if (klass && !isString(klass)) {\n        props.class = normalizeClass(klass);\n      }\n      if (style) {\n        props.style = normalizeStyle(style);\n      }\n      return props;\n    }\n    var HTML_TAGS = \"html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot\";\n    var SVG_TAGS = \"svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,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,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view\";\n    var MATH_TAGS = \"annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics\";\n    var VOID_TAGS = \"area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr\";\n    var isHTMLTag = /* @__PURE__ */ makeMap(HTML_TAGS);\n    var isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);\n    var isMathMLTag = /* @__PURE__ */ makeMap(MATH_TAGS);\n    var isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);\n    var specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;\n    var isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);\n    var isBooleanAttr = /* @__PURE__ */ makeMap(\n      specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`\n    );\n    function includeBooleanAttr(value) {\n      return !!value || value === \"\";\n    }\n    var unsafeAttrCharRE = /[>/=\"'\\u0009\\u000a\\u000c\\u0020]/;\n    var attrValidationCache = {};\n    function isSSRSafeAttrName(name) {\n      if (attrValidationCache.hasOwnProperty(name)) {\n        return attrValidationCache[name];\n      }\n      const isUnsafe = unsafeAttrCharRE.test(name);\n      if (isUnsafe) {\n        console.error(`unsafe attribute name: ${name}`);\n      }\n      return attrValidationCache[name] = !isUnsafe;\n    }\n    var propsToAttrMap = {\n      acceptCharset: \"accept-charset\",\n      className: \"class\",\n      htmlFor: \"for\",\n      httpEquiv: \"http-equiv\"\n    };\n    var isKnownHtmlAttr = /* @__PURE__ */ makeMap(\n      `accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`\n    );\n    var isKnownSvgAttr = /* @__PURE__ */ makeMap(\n      `xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`\n    );\n    function isRenderableAttrValue(value) {\n      if (value == null) {\n        return false;\n      }\n      const type = typeof value;\n      return type === \"string\" || type === \"number\" || type === \"boolean\";\n    }\n    var escapeRE = /[\"'&<>]/;\n    function escapeHtml(string) {\n      const str = \"\" + string;\n      const match = escapeRE.exec(str);\n      if (!match) {\n        return str;\n      }\n      let html = \"\";\n      let escaped;\n      let index;\n      let lastIndex = 0;\n      for (index = match.index; index < str.length; index++) {\n        switch (str.charCodeAt(index)) {\n          case 34:\n            escaped = \"&quot;\";\n            break;\n          case 38:\n            escaped = \"&amp;\";\n            break;\n          case 39:\n            escaped = \"&#39;\";\n            break;\n          case 60:\n            escaped = \"&lt;\";\n            break;\n          case 62:\n            escaped = \"&gt;\";\n            break;\n          default:\n            continue;\n        }\n        if (lastIndex !== index) {\n          html += str.slice(lastIndex, index);\n        }\n        lastIndex = index + 1;\n        html += escaped;\n      }\n      return lastIndex !== index ? html + str.slice(lastIndex, index) : html;\n    }\n    var commentStripRE = /^-?>|<!--|-->|--!>|<!-$/g;\n    function escapeHtmlComment(src) {\n      return src.replace(commentStripRE, \"\");\n    }\n    function looseCompareArrays(a, b) {\n      if (a.length !== b.length)\n        return false;\n      let equal = true;\n      for (let i = 0; equal && i < a.length; i++) {\n        equal = looseEqual(a[i], b[i]);\n      }\n      return equal;\n    }\n    function looseEqual(a, b) {\n      if (a === b)\n        return true;\n      let aValidType = isDate(a);\n      let bValidType = isDate(b);\n      if (aValidType || bValidType) {\n        return aValidType && bValidType ? a.getTime() === b.getTime() : false;\n      }\n      aValidType = isSymbol(a);\n      bValidType = isSymbol(b);\n      if (aValidType || bValidType) {\n        return a === b;\n      }\n      aValidType = isArray(a);\n      bValidType = isArray(b);\n      if (aValidType || bValidType) {\n        return aValidType && bValidType ? looseCompareArrays(a, b) : false;\n      }\n      aValidType = isObject(a);\n      bValidType = isObject(b);\n      if (aValidType || bValidType) {\n        if (!aValidType || !bValidType) {\n          return false;\n        }\n        const aKeysCount = Object.keys(a).length;\n        const bKeysCount = Object.keys(b).length;\n        if (aKeysCount !== bKeysCount) {\n          return false;\n        }\n        for (const key in a) {\n          const aHasKey = a.hasOwnProperty(key);\n          const bHasKey = b.hasOwnProperty(key);\n          if (aHasKey && !bHasKey || !aHasKey && bHasKey || !looseEqual(a[key], b[key])) {\n            return false;\n          }\n        }\n      }\n      return String(a) === String(b);\n    }\n    function looseIndexOf(arr, val) {\n      return arr.findIndex((item) => looseEqual(item, val));\n    }\n    var toDisplayString = (val) => {\n      return isString(val) ? val : val == null ? \"\" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? JSON.stringify(val, replacer, 2) : String(val);\n    };\n    var replacer = (_key, val) => {\n      if (val && val.__v_isRef) {\n        return replacer(_key, val.value);\n      } else if (isMap(val)) {\n        return {\n          [`Map(${val.size})`]: [...val.entries()].reduce(\n            (entries, [key, val2], i) => {\n              entries[stringifySymbol(key, i) + \" =>\"] = val2;\n              return entries;\n            },\n            {}\n          )\n        };\n      } else if (isSet(val)) {\n        return {\n          [`Set(${val.size})`]: [...val.values()].map((v) => stringifySymbol(v))\n        };\n      } else if (isSymbol(val)) {\n        return stringifySymbol(val);\n      } else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {\n        return String(val);\n      }\n      return val;\n    };\n    var stringifySymbol = (v, i = \"\") => {\n      var _a;\n      return isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v;\n    };\n    exports.EMPTY_ARR = EMPTY_ARR;\n    exports.EMPTY_OBJ = EMPTY_OBJ;\n    exports.NO = NO;\n    exports.NOOP = NOOP;\n    exports.PatchFlagNames = PatchFlagNames;\n    exports.PatchFlags = PatchFlags;\n    exports.ShapeFlags = ShapeFlags;\n    exports.SlotFlags = SlotFlags;\n    exports.camelize = camelize;\n    exports.capitalize = capitalize;\n    exports.def = def;\n    exports.escapeHtml = escapeHtml;\n    exports.escapeHtmlComment = escapeHtmlComment;\n    exports.extend = extend;\n    exports.genPropsAccessExp = genPropsAccessExp;\n    exports.generateCodeFrame = generateCodeFrame;\n    exports.getGlobalThis = getGlobalThis;\n    exports.hasChanged = hasChanged;\n    exports.hasOwn = hasOwn;\n    exports.hyphenate = hyphenate;\n    exports.includeBooleanAttr = includeBooleanAttr;\n    exports.invokeArrayFns = invokeArrayFns;\n    exports.isArray = isArray;\n    exports.isBooleanAttr = isBooleanAttr;\n    exports.isBuiltInDirective = isBuiltInDirective;\n    exports.isDate = isDate;\n    exports.isFunction = isFunction;\n    exports.isGloballyAllowed = isGloballyAllowed;\n    exports.isGloballyWhitelisted = isGloballyWhitelisted;\n    exports.isHTMLTag = isHTMLTag;\n    exports.isIntegerKey = isIntegerKey;\n    exports.isKnownHtmlAttr = isKnownHtmlAttr;\n    exports.isKnownSvgAttr = isKnownSvgAttr;\n    exports.isMap = isMap;\n    exports.isMathMLTag = isMathMLTag;\n    exports.isModelListener = isModelListener;\n    exports.isObject = isObject;\n    exports.isOn = isOn;\n    exports.isPlainObject = isPlainObject;\n    exports.isPromise = isPromise;\n    exports.isRegExp = isRegExp;\n    exports.isRenderableAttrValue = isRenderableAttrValue;\n    exports.isReservedProp = isReservedProp;\n    exports.isSSRSafeAttrName = isSSRSafeAttrName;\n    exports.isSVGTag = isSVGTag;\n    exports.isSet = isSet;\n    exports.isSpecialBooleanAttr = isSpecialBooleanAttr;\n    exports.isString = isString;\n    exports.isSymbol = isSymbol;\n    exports.isVoidTag = isVoidTag;\n    exports.looseEqual = looseEqual;\n    exports.looseIndexOf = looseIndexOf;\n    exports.looseToNumber = looseToNumber;\n    exports.makeMap = makeMap;\n    exports.normalizeClass = normalizeClass;\n    exports.normalizeProps = normalizeProps;\n    exports.normalizeStyle = normalizeStyle;\n    exports.objectToString = objectToString;\n    exports.parseStringStyle = parseStringStyle;\n    exports.propsToAttrMap = propsToAttrMap;\n    exports.remove = remove;\n    exports.slotFlagsText = slotFlagsText;\n    exports.stringifyStyle = stringifyStyle;\n    exports.toDisplayString = toDisplayString;\n    exports.toHandlerKey = toHandlerKey;\n    exports.toNumber = toNumber;\n    exports.toRawType = toRawType;\n    exports.toTypeString = toTypeString;\n  }\n});\n\n// ../node_modules/.pnpm/@vue+shared@3.4.25/node_modules/@vue/shared/dist/shared.cjs.js\nvar require_shared_cjs = __commonJS({\n  \"../node_modules/.pnpm/@vue+shared@3.4.25/node_modules/@vue/shared/dist/shared.cjs.js\"(exports) {\n    \"use strict\";\n    Object.defineProperty(exports, \"__esModule\", { value: true });\n    function makeMap(str, expectsLowerCase) {\n      const set = new Set(str.split(\",\"));\n      return expectsLowerCase ? (val) => set.has(val.toLowerCase()) : (val) => set.has(val);\n    }\n    var EMPTY_OBJ = Object.freeze({});\n    var EMPTY_ARR = Object.freeze([]);\n    var NOOP = () => {\n    };\n    var NO = () => false;\n    var isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && (key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);\n    var isModelListener = (key) => key.startsWith(\"onUpdate:\");\n    var extend = Object.assign;\n    var remove = (arr, el) => {\n      const i = arr.indexOf(el);\n      if (i > -1) {\n        arr.splice(i, 1);\n      }\n    };\n    var hasOwnProperty = Object.prototype.hasOwnProperty;\n    var hasOwn = (val, key) => hasOwnProperty.call(val, key);\n    var isArray = Array.isArray;\n    var isMap = (val) => toTypeString(val) === \"[object Map]\";\n    var isSet = (val) => toTypeString(val) === \"[object Set]\";\n    var isDate = (val) => toTypeString(val) === \"[object Date]\";\n    var isRegExp = (val) => toTypeString(val) === \"[object RegExp]\";\n    var isFunction = (val) => typeof val === \"function\";\n    var isString = (val) => typeof val === \"string\";\n    var isSymbol = (val) => typeof val === \"symbol\";\n    var isObject = (val) => val !== null && typeof val === \"object\";\n    var isPromise = (val) => {\n      return (isObject(val) || isFunction(val)) && isFunction(val.then) && isFunction(val.catch);\n    };\n    var objectToString = Object.prototype.toString;\n    var toTypeString = (value) => objectToString.call(value);\n    var toRawType = (value) => {\n      return toTypeString(value).slice(8, -1);\n    };\n    var isPlainObject = (val) => toTypeString(val) === \"[object Object]\";\n    var isIntegerKey = (key) => isString(key) && key !== \"NaN\" && key[0] !== \"-\" && \"\" + parseInt(key, 10) === key;\n    var isReservedProp = /* @__PURE__ */ makeMap(\n      \",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted\"\n    );\n    var isBuiltInDirective = /* @__PURE__ */ makeMap(\n      \"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo\"\n    );\n    var cacheStringFunction = (fn) => {\n      const cache = /* @__PURE__ */ Object.create(null);\n      return (str) => {\n        const hit = cache[str];\n        return hit || (cache[str] = fn(str));\n      };\n    };\n    var camelizeRE = /-(\\w)/g;\n    var camelize = cacheStringFunction((str) => {\n      return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : \"\");\n    });\n    var hyphenateRE = /\\B([A-Z])/g;\n    var hyphenate = cacheStringFunction(\n      (str) => str.replace(hyphenateRE, \"-$1\").toLowerCase()\n    );\n    var capitalize = cacheStringFunction((str) => {\n      return str.charAt(0).toUpperCase() + str.slice(1);\n    });\n    var toHandlerKey = cacheStringFunction((str) => {\n      const s = str ? `on${capitalize(str)}` : ``;\n      return s;\n    });\n    var hasChanged = (value, oldValue) => !Object.is(value, oldValue);\n    var invokeArrayFns = (fns, arg) => {\n      for (let i = 0; i < fns.length; i++) {\n        fns[i](arg);\n      }\n    };\n    var def = (obj, key, value) => {\n      Object.defineProperty(obj, key, {\n        configurable: true,\n        enumerable: false,\n        value\n      });\n    };\n    var looseToNumber = (val) => {\n      const n = parseFloat(val);\n      return isNaN(n) ? val : n;\n    };\n    var toNumber = (val) => {\n      const n = isString(val) ? Number(val) : NaN;\n      return isNaN(n) ? val : n;\n    };\n    var _globalThis;\n    var getGlobalThis = () => {\n      return _globalThis || (_globalThis = typeof globalThis !== \"undefined\" ? globalThis : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : {});\n    };\n    var identRE = /^[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*$/;\n    function genPropsAccessExp(name) {\n      return identRE.test(name) ? `__props.${name}` : `__props[${JSON.stringify(name)}]`;\n    }\n    var PatchFlags = {\n      \"TEXT\": 1,\n      \"1\": \"TEXT\",\n      \"CLASS\": 2,\n      \"2\": \"CLASS\",\n      \"STYLE\": 4,\n      \"4\": \"STYLE\",\n      \"PROPS\": 8,\n      \"8\": \"PROPS\",\n      \"FULL_PROPS\": 16,\n      \"16\": \"FULL_PROPS\",\n      \"NEED_HYDRATION\": 32,\n      \"32\": \"NEED_HYDRATION\",\n      \"STABLE_FRAGMENT\": 64,\n      \"64\": \"STABLE_FRAGMENT\",\n      \"KEYED_FRAGMENT\": 128,\n      \"128\": \"KEYED_FRAGMENT\",\n      \"UNKEYED_FRAGMENT\": 256,\n      \"256\": \"UNKEYED_FRAGMENT\",\n      \"NEED_PATCH\": 512,\n      \"512\": \"NEED_PATCH\",\n      \"DYNAMIC_SLOTS\": 1024,\n      \"1024\": \"DYNAMIC_SLOTS\",\n      \"DEV_ROOT_FRAGMENT\": 2048,\n      \"2048\": \"DEV_ROOT_FRAGMENT\",\n      \"HOISTED\": -1,\n      \"-1\": \"HOISTED\",\n      \"BAIL\": -2,\n      \"-2\": \"BAIL\"\n    };\n    var PatchFlagNames = {\n      [1]: `TEXT`,\n      [2]: `CLASS`,\n      [4]: `STYLE`,\n      [8]: `PROPS`,\n      [16]: `FULL_PROPS`,\n      [32]: `NEED_HYDRATION`,\n      [64]: `STABLE_FRAGMENT`,\n      [128]: `KEYED_FRAGMENT`,\n      [256]: `UNKEYED_FRAGMENT`,\n      [512]: `NEED_PATCH`,\n      [1024]: `DYNAMIC_SLOTS`,\n      [2048]: `DEV_ROOT_FRAGMENT`,\n      [-1]: `HOISTED`,\n      [-2]: `BAIL`\n    };\n    var ShapeFlags = {\n      \"ELEMENT\": 1,\n      \"1\": \"ELEMENT\",\n      \"FUNCTIONAL_COMPONENT\": 2,\n      \"2\": \"FUNCTIONAL_COMPONENT\",\n      \"STATEFUL_COMPONENT\": 4,\n      \"4\": \"STATEFUL_COMPONENT\",\n      \"TEXT_CHILDREN\": 8,\n      \"8\": \"TEXT_CHILDREN\",\n      \"ARRAY_CHILDREN\": 16,\n      \"16\": \"ARRAY_CHILDREN\",\n      \"SLOTS_CHILDREN\": 32,\n      \"32\": \"SLOTS_CHILDREN\",\n      \"TELEPORT\": 64,\n      \"64\": \"TELEPORT\",\n      \"SUSPENSE\": 128,\n      \"128\": \"SUSPENSE\",\n      \"COMPONENT_SHOULD_KEEP_ALIVE\": 256,\n      \"256\": \"COMPONENT_SHOULD_KEEP_ALIVE\",\n      \"COMPONENT_KEPT_ALIVE\": 512,\n      \"512\": \"COMPONENT_KEPT_ALIVE\",\n      \"COMPONENT\": 6,\n      \"6\": \"COMPONENT\"\n    };\n    var SlotFlags = {\n      \"STABLE\": 1,\n      \"1\": \"STABLE\",\n      \"DYNAMIC\": 2,\n      \"2\": \"DYNAMIC\",\n      \"FORWARDED\": 3,\n      \"3\": \"FORWARDED\"\n    };\n    var slotFlagsText = {\n      [1]: \"STABLE\",\n      [2]: \"DYNAMIC\",\n      [3]: \"FORWARDED\"\n    };\n    var GLOBALS_ALLOWED = \"Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error\";\n    var isGloballyAllowed = /* @__PURE__ */ makeMap(GLOBALS_ALLOWED);\n    var isGloballyWhitelisted = isGloballyAllowed;\n    var range = 2;\n    function generateCodeFrame(source, start = 0, end = source.length) {\n      let lines = source.split(/(\\r?\\n)/);\n      const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);\n      lines = lines.filter((_, idx) => idx % 2 === 0);\n      let count = 0;\n      const res = [];\n      for (let i = 0; i < lines.length; i++) {\n        count += lines[i].length + (newlineSequences[i] && newlineSequences[i].length || 0);\n        if (count >= start) {\n          for (let j = i - range; j <= i + range || end > count; j++) {\n            if (j < 0 || j >= lines.length)\n              continue;\n            const line = j + 1;\n            res.push(\n              `${line}${\" \".repeat(Math.max(3 - String(line).length, 0))}|  ${lines[j]}`\n            );\n            const lineLength = lines[j].length;\n            const newLineSeqLength = newlineSequences[j] && newlineSequences[j].length || 0;\n            if (j === i) {\n              const pad = start - (count - (lineLength + newLineSeqLength));\n              const length = Math.max(\n                1,\n                end > count ? lineLength - pad : end - start\n              );\n              res.push(`   |  ` + \" \".repeat(pad) + \"^\".repeat(length));\n            } else if (j > i) {\n              if (end > count) {\n                const length = Math.max(Math.min(end - count, lineLength), 1);\n                res.push(`   |  ` + \"^\".repeat(length));\n              }\n              count += lineLength + newLineSeqLength;\n            }\n          }\n          break;\n        }\n      }\n      return res.join(\"\\n\");\n    }\n    function normalizeStyle(value) {\n      if (isArray(value)) {\n        const res = {};\n        for (let i = 0; i < value.length; i++) {\n          const item = value[i];\n          const normalized = isString(item) ? parseStringStyle(item) : normalizeStyle(item);\n          if (normalized) {\n            for (const key in normalized) {\n              res[key] = normalized[key];\n            }\n          }\n        }\n        return res;\n      } else if (isString(value) || isObject(value)) {\n        return value;\n      }\n    }\n    var listDelimiterRE = /;(?![^(]*\\))/g;\n    var propertyDelimiterRE = /:([^]+)/;\n    var styleCommentRE = /\\/\\*[^]*?\\*\\//g;\n    function parseStringStyle(cssText) {\n      const ret = {};\n      cssText.replace(styleCommentRE, \"\").split(listDelimiterRE).forEach((item) => {\n        if (item) {\n          const tmp = item.split(propertyDelimiterRE);\n          tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());\n        }\n      });\n      return ret;\n    }\n    function stringifyStyle(styles3) {\n      let ret = \"\";\n      if (!styles3 || isString(styles3)) {\n        return ret;\n      }\n      for (const key in styles3) {\n        const value = styles3[key];\n        const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);\n        if (isString(value) || typeof value === \"number\") {\n          ret += `${normalizedKey}:${value};`;\n        }\n      }\n      return ret;\n    }\n    function normalizeClass(value) {\n      let res = \"\";\n      if (isString(value)) {\n        res = value;\n      } else if (isArray(value)) {\n        for (let i = 0; i < value.length; i++) {\n          const normalized = normalizeClass(value[i]);\n          if (normalized) {\n            res += normalized + \" \";\n          }\n        }\n      } else if (isObject(value)) {\n        for (const name in value) {\n          if (value[name]) {\n            res += name + \" \";\n          }\n        }\n      }\n      return res.trim();\n    }\n    function normalizeProps(props) {\n      if (!props)\n        return null;\n      let { class: klass, style } = props;\n      if (klass && !isString(klass)) {\n        props.class = normalizeClass(klass);\n      }\n      if (style) {\n        props.style = normalizeStyle(style);\n      }\n      return props;\n    }\n    var HTML_TAGS = \"html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot\";\n    var SVG_TAGS = \"svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,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,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view\";\n    var MATH_TAGS = \"annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics\";\n    var VOID_TAGS = \"area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr\";\n    var isHTMLTag = /* @__PURE__ */ makeMap(HTML_TAGS);\n    var isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);\n    var isMathMLTag = /* @__PURE__ */ makeMap(MATH_TAGS);\n    var isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);\n    var specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;\n    var isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);\n    var isBooleanAttr = /* @__PURE__ */ makeMap(\n      specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`\n    );\n    function includeBooleanAttr(value) {\n      return !!value || value === \"\";\n    }\n    var unsafeAttrCharRE = /[>/=\"'\\u0009\\u000a\\u000c\\u0020]/;\n    var attrValidationCache = {};\n    function isSSRSafeAttrName(name) {\n      if (attrValidationCache.hasOwnProperty(name)) {\n        return attrValidationCache[name];\n      }\n      const isUnsafe = unsafeAttrCharRE.test(name);\n      if (isUnsafe) {\n        console.error(`unsafe attribute name: ${name}`);\n      }\n      return attrValidationCache[name] = !isUnsafe;\n    }\n    var propsToAttrMap = {\n      acceptCharset: \"accept-charset\",\n      className: \"class\",\n      htmlFor: \"for\",\n      httpEquiv: \"http-equiv\"\n    };\n    var isKnownHtmlAttr = /* @__PURE__ */ makeMap(\n      `accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`\n    );\n    var isKnownSvgAttr = /* @__PURE__ */ makeMap(\n      `xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`\n    );\n    function isRenderableAttrValue(value) {\n      if (value == null) {\n        return false;\n      }\n      const type = typeof value;\n      return type === \"string\" || type === \"number\" || type === \"boolean\";\n    }\n    var escapeRE = /[\"'&<>]/;\n    function escapeHtml(string) {\n      const str = \"\" + string;\n      const match = escapeRE.exec(str);\n      if (!match) {\n        return str;\n      }\n      let html = \"\";\n      let escaped;\n      let index;\n      let lastIndex = 0;\n      for (index = match.index; index < str.length; index++) {\n        switch (str.charCodeAt(index)) {\n          case 34:\n            escaped = \"&quot;\";\n            break;\n          case 38:\n            escaped = \"&amp;\";\n            break;\n          case 39:\n            escaped = \"&#39;\";\n            break;\n          case 60:\n            escaped = \"&lt;\";\n            break;\n          case 62:\n            escaped = \"&gt;\";\n            break;\n          default:\n            continue;\n        }\n        if (lastIndex !== index) {\n          html += str.slice(lastIndex, index);\n        }\n        lastIndex = index + 1;\n        html += escaped;\n      }\n      return lastIndex !== index ? html + str.slice(lastIndex, index) : html;\n    }\n    var commentStripRE = /^-?>|<!--|-->|--!>|<!-$/g;\n    function escapeHtmlComment(src) {\n      return src.replace(commentStripRE, \"\");\n    }\n    function looseCompareArrays(a, b) {\n      if (a.length !== b.length)\n        return false;\n      let equal = true;\n      for (let i = 0; equal && i < a.length; i++) {\n        equal = looseEqual(a[i], b[i]);\n      }\n      return equal;\n    }\n    function looseEqual(a, b) {\n      if (a === b)\n        return true;\n      let aValidType = isDate(a);\n      let bValidType = isDate(b);\n      if (aValidType || bValidType) {\n        return aValidType && bValidType ? a.getTime() === b.getTime() : false;\n      }\n      aValidType = isSymbol(a);\n      bValidType = isSymbol(b);\n      if (aValidType || bValidType) {\n        return a === b;\n      }\n      aValidType = isArray(a);\n      bValidType = isArray(b);\n      if (aValidType || bValidType) {\n        return aValidType && bValidType ? looseCompareArrays(a, b) : false;\n      }\n      aValidType = isObject(a);\n      bValidType = isObject(b);\n      if (aValidType || bValidType) {\n        if (!aValidType || !bValidType) {\n          return false;\n        }\n        const aKeysCount = Object.keys(a).length;\n        const bKeysCount = Object.keys(b).length;\n        if (aKeysCount !== bKeysCount) {\n          return false;\n        }\n        for (const key in a) {\n          const aHasKey = a.hasOwnProperty(key);\n          const bHasKey = b.hasOwnProperty(key);\n          if (aHasKey && !bHasKey || !aHasKey && bHasKey || !looseEqual(a[key], b[key])) {\n            return false;\n          }\n        }\n      }\n      return String(a) === String(b);\n    }\n    function looseIndexOf(arr, val) {\n      return arr.findIndex((item) => looseEqual(item, val));\n    }\n    var toDisplayString = (val) => {\n      return isString(val) ? val : val == null ? \"\" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? JSON.stringify(val, replacer, 2) : String(val);\n    };\n    var replacer = (_key, val) => {\n      if (val && val.__v_isRef) {\n        return replacer(_key, val.value);\n      } else if (isMap(val)) {\n        return {\n          [`Map(${val.size})`]: [...val.entries()].reduce(\n            (entries, [key, val2], i) => {\n              entries[stringifySymbol(key, i) + \" =>\"] = val2;\n              return entries;\n            },\n            {}\n          )\n        };\n      } else if (isSet(val)) {\n        return {\n          [`Set(${val.size})`]: [...val.values()].map((v) => stringifySymbol(v))\n        };\n      } else if (isSymbol(val)) {\n        return stringifySymbol(val);\n      } else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {\n        return String(val);\n      }\n      return val;\n    };\n    var stringifySymbol = (v, i = \"\") => {\n      var _a;\n      return isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v;\n    };\n    exports.EMPTY_ARR = EMPTY_ARR;\n    exports.EMPTY_OBJ = EMPTY_OBJ;\n    exports.NO = NO;\n    exports.NOOP = NOOP;\n    exports.PatchFlagNames = PatchFlagNames;\n    exports.PatchFlags = PatchFlags;\n    exports.ShapeFlags = ShapeFlags;\n    exports.SlotFlags = SlotFlags;\n    exports.camelize = camelize;\n    exports.capitalize = capitalize;\n    exports.def = def;\n    exports.escapeHtml = escapeHtml;\n    exports.escapeHtmlComment = escapeHtmlComment;\n    exports.extend = extend;\n    exports.genPropsAccessExp = genPropsAccessExp;\n    exports.generateCodeFrame = generateCodeFrame;\n    exports.getGlobalThis = getGlobalThis;\n    exports.hasChanged = hasChanged;\n    exports.hasOwn = hasOwn;\n    exports.hyphenate = hyphenate;\n    exports.includeBooleanAttr = includeBooleanAttr;\n    exports.invokeArrayFns = invokeArrayFns;\n    exports.isArray = isArray;\n    exports.isBooleanAttr = isBooleanAttr;\n    exports.isBuiltInDirective = isBuiltInDirective;\n    exports.isDate = isDate;\n    exports.isFunction = isFunction;\n    exports.isGloballyAllowed = isGloballyAllowed;\n    exports.isGloballyWhitelisted = isGloballyWhitelisted;\n    exports.isHTMLTag = isHTMLTag;\n    exports.isIntegerKey = isIntegerKey;\n    exports.isKnownHtmlAttr = isKnownHtmlAttr;\n    exports.isKnownSvgAttr = isKnownSvgAttr;\n    exports.isMap = isMap;\n    exports.isMathMLTag = isMathMLTag;\n    exports.isModelListener = isModelListener;\n    exports.isObject = isObject;\n    exports.isOn = isOn;\n    exports.isPlainObject = isPlainObject;\n    exports.isPromise = isPromise;\n    exports.isRegExp = isRegExp;\n    exports.isRenderableAttrValue = isRenderableAttrValue;\n    exports.isReservedProp = isReservedProp;\n    exports.isSSRSafeAttrName = isSSRSafeAttrName;\n    exports.isSVGTag = isSVGTag;\n    exports.isSet = isSet;\n    exports.isSpecialBooleanAttr = isSpecialBooleanAttr;\n    exports.isString = isString;\n    exports.isSymbol = isSymbol;\n    exports.isVoidTag = isVoidTag;\n    exports.looseEqual = looseEqual;\n    exports.looseIndexOf = looseIndexOf;\n    exports.looseToNumber = looseToNumber;\n    exports.makeMap = makeMap;\n    exports.normalizeClass = normalizeClass;\n    exports.normalizeProps = normalizeProps;\n    exports.normalizeStyle = normalizeStyle;\n    exports.objectToString = objectToString;\n    exports.parseStringStyle = parseStringStyle;\n    exports.propsToAttrMap = propsToAttrMap;\n    exports.remove = remove;\n    exports.slotFlagsText = slotFlagsText;\n    exports.stringifyStyle = stringifyStyle;\n    exports.toDisplayString = toDisplayString;\n    exports.toHandlerKey = toHandlerKey;\n    exports.toNumber = toNumber;\n    exports.toRawType = toRawType;\n    exports.toTypeString = toTypeString;\n  }\n});\n\n// ../node_modules/.pnpm/@vue+shared@3.4.25/node_modules/@vue/shared/index.js\nvar require_shared = __commonJS({\n  \"../node_modules/.pnpm/@vue+shared@3.4.25/node_modules/@vue/shared/index.js\"(exports, module2) {\n    \"use strict\";\n    if (process.env.NODE_ENV === \"production\") {\n      module2.exports = require_shared_cjs_prod();\n    } else {\n      module2.exports = require_shared_cjs();\n    }\n  }\n});\n\n// ../node_modules/.pnpm/@vue-reactivity+watch@0.2.0_@vue+reactivity@3.4.27_@vue+shared@3.4.25/node_modules/@vue-reactivity/watch/dist/index.js\nvar require_dist = __commonJS({\n  \"../node_modules/.pnpm/@vue-reactivity+watch@0.2.0_@vue+reactivity@3.4.27_@vue+shared@3.4.25/node_modules/@vue-reactivity/watch/dist/index.js\"(exports, module2) {\n    var __defProp2 = Object.defineProperty;\n    var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;\n    var __getOwnPropNames2 = Object.getOwnPropertyNames;\n    var __hasOwnProp2 = Object.prototype.hasOwnProperty;\n    var __markAsModule = (target) => __defProp2(target, \"__esModule\", { value: true });\n    var __export = (target, all) => {\n      for (var name in all)\n        __defProp2(target, name, { get: all[name], enumerable: true });\n    };\n    var __reExport = (target, module22, copyDefault, desc) => {\n      if (module22 && typeof module22 === \"object\" || typeof module22 === \"function\") {\n        for (let key of __getOwnPropNames2(module22))\n          if (!__hasOwnProp2.call(target, key) && (copyDefault || key !== \"default\"))\n            __defProp2(target, key, { get: () => module22[key], enumerable: !(desc = __getOwnPropDesc2(module22, key)) || desc.enumerable });\n      }\n      return target;\n    };\n    var __toCommonJS = /* @__PURE__ */ ((cache) => {\n      return (module22, temp) => {\n        return cache && cache.get(module22) || (temp = __reExport(__markAsModule({}), module22, 1), cache && cache.set(module22, temp), temp);\n      };\n    })(typeof WeakMap !== \"undefined\" ? /* @__PURE__ */ new WeakMap() : 0);\n    var src_exports = {};\n    __export(src_exports, {\n      watch: () => watch2,\n      watchEffect: () => watchEffect\n    });\n    var import_reactivity3 = require(\"@vue/reactivity\");\n    var import_shared2 = require_shared();\n    var import_shared = require_shared();\n    function callWithErrorHandling(fn, type, args) {\n      let res;\n      try {\n        res = args ? fn(...args) : fn();\n      } catch (err) {\n        handleError(err, type);\n      }\n      return res;\n    }\n    function callWithAsyncErrorHandling(fn, type, args) {\n      if ((0, import_shared.isFunction)(fn)) {\n        const res = callWithErrorHandling(fn, type, args);\n        if (res && (0, import_shared.isPromise)(res)) {\n          res.catch((err) => {\n            handleError(err, type);\n          });\n        }\n        return res;\n      }\n      const values = [];\n      for (let i = 0; i < fn.length; i++)\n        values.push(callWithAsyncErrorHandling(fn[i], type, args));\n      return values;\n    }\n    function handleError(err, type) {\n      console.error(new Error(`[@vue-reactivity/watch]: ${type}`));\n      console.error(err);\n    }\n    function warn(message) {\n      console.warn(createError(message));\n    }\n    function createError(message) {\n      return new Error(`[reactivue]: ${message}`);\n    }\n    var INITIAL_WATCHER_VALUE = {};\n    function watchEffect(effect, options) {\n      return doWatch(effect, null, options);\n    }\n    function watch2(source, cb, options) {\n      return doWatch(source, cb, options);\n    }\n    function doWatch(source, cb, { immediate, deep, flush } = {}) {\n      let getter;\n      let forceTrigger = false;\n      let isMultiSource = false;\n      if ((0, import_reactivity3.isRef)(source)) {\n        getter = () => source.value;\n        forceTrigger = (0, import_reactivity3.isShallow)(source);\n      } else if ((0, import_reactivity3.isReactive)(source)) {\n        getter = () => source;\n        deep = true;\n      } else if ((0, import_shared2.isArray)(source)) {\n        isMultiSource = true;\n        forceTrigger = source.some(import_reactivity3.isReactive);\n        getter = () => source.map((s) => {\n          if ((0, import_reactivity3.isRef)(s))\n            return s.value;\n          else if ((0, import_reactivity3.isReactive)(s))\n            return traverse(s);\n          else if ((0, import_shared2.isFunction)(s))\n            return callWithErrorHandling(s, \"watch getter\");\n          else\n            return warn(\"invalid source\");\n        });\n      } else if ((0, import_shared2.isFunction)(source)) {\n        if (cb) {\n          getter = () => callWithErrorHandling(source, \"watch getter\");\n        } else {\n          getter = () => {\n            if (cleanup)\n              cleanup();\n            return callWithAsyncErrorHandling(source, \"watch callback\", [onCleanup]);\n          };\n        }\n      } else {\n        getter = import_shared2.NOOP;\n      }\n      if (cb && deep) {\n        const baseGetter = getter;\n        getter = () => traverse(baseGetter());\n      }\n      let cleanup;\n      let onCleanup = (fn) => {\n        cleanup = effect.onStop = () => {\n          callWithErrorHandling(fn, \"watch cleanup\");\n        };\n      };\n      let oldValue = isMultiSource ? [] : INITIAL_WATCHER_VALUE;\n      const job = () => {\n        if (!effect.active)\n          return;\n        if (cb) {\n          const newValue = effect.run();\n          if (deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => (0, import_shared2.hasChanged)(v, oldValue[i])) : (0, import_shared2.hasChanged)(newValue, oldValue))) {\n            if (cleanup)\n              cleanup();\n            callWithAsyncErrorHandling(cb, \"watch value\", [\n              newValue,\n              oldValue === INITIAL_WATCHER_VALUE ? void 0 : oldValue,\n              onCleanup\n            ]);\n            oldValue = newValue;\n          }\n        } else {\n          effect.run();\n        }\n      };\n      job.allowRecurse = !!cb;\n      let scheduler;\n      if (flush === \"sync\") {\n        scheduler = job;\n      } else {\n        scheduler = () => {\n          job();\n        };\n      }\n      const effect = new import_reactivity3.ReactiveEffect(getter, scheduler);\n      if (cb) {\n        if (immediate)\n          job();\n        else\n          oldValue = effect.run();\n      } else {\n        effect.run();\n      }\n      return () => effect.stop();\n    }\n    function traverse(value, seen = /* @__PURE__ */ new Set()) {\n      if (!(0, import_shared2.isObject)(value) || seen.has(value))\n        return value;\n      seen.add(value);\n      if ((0, import_shared2.isArray)(value)) {\n        for (let i = 0; i < value.length; i++)\n          traverse(value[i], seen);\n      } else if (value instanceof Map) {\n        value.forEach((_, key) => {\n          traverse(value.get(key), seen);\n        });\n      } else if (value instanceof Set) {\n        value.forEach((v) => {\n          traverse(v, seen);\n        });\n      } else {\n        for (const key of Object.keys(value))\n          traverse(value[key], seen);\n      }\n      return value;\n    }\n    module2.exports = __toCommonJS(src_exports);\n  }\n});\n\n// src/index.ts\nvar import_reflect_metadata = require(\"reflect-metadata\");\nvar dotenv = __toESM(require(\"dotenv\"));\nvar import_tsyringe19 = require(\"tsyringe\");\nvar import_http = __toESM(require(\"http\"));\n\n// ../server-shared/src/constants.ts\nvar HEXO_BASE_DIR_KEY = \"hexo-basedir\";\nvar HEXO_OPTIONS_KEY = \"hexo-options\";\nvar BRIEF_LENGTH = 500;\nvar HEXON_PORT_KEY = \"@hexon/port\";\nvar HEXON_DEFAULT_PORT = 5777;\n\n// ../server-shared/src/storage-service.ts\nvar import_tsyringe2 = require(\"tsyringe\");\nvar import_fs = require(\"fs\");\nvar import_path = require(\"path\");\nvar import_simple_json_db = __toESM(require(\"simple-json-db\"));\n\n// ../server-shared/src/log-service.ts\nvar import_tsyringe = require(\"tsyringe\");\n\n// ../node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/vendor/ansi-styles/index.js\nvar ANSI_BACKGROUND_OFFSET = 10;\nvar wrapAnsi16 = (offset = 0) => (code) => `\\x1B[${code + offset}m`;\nvar wrapAnsi256 = (offset = 0) => (code) => `\\x1B[${38 + offset};5;${code}m`;\nvar wrapAnsi16m = (offset = 0) => (red, green, blue) => `\\x1B[${38 + offset};2;${red};${green};${blue}m`;\nvar styles = {\n  modifier: {\n    reset: [0, 0],\n    bold: [1, 22],\n    dim: [2, 22],\n    italic: [3, 23],\n    underline: [4, 24],\n    overline: [53, 55],\n    inverse: [7, 27],\n    hidden: [8, 28],\n    strikethrough: [9, 29]\n  },\n  color: {\n    black: [30, 39],\n    red: [31, 39],\n    green: [32, 39],\n    yellow: [33, 39],\n    blue: [34, 39],\n    magenta: [35, 39],\n    cyan: [36, 39],\n    white: [37, 39],\n    blackBright: [90, 39],\n    gray: [90, 39],\n    grey: [90, 39],\n    redBright: [91, 39],\n    greenBright: [92, 39],\n    yellowBright: [93, 39],\n    blueBright: [94, 39],\n    magentaBright: [95, 39],\n    cyanBright: [96, 39],\n    whiteBright: [97, 39]\n  },\n  bgColor: {\n    bgBlack: [40, 49],\n    bgRed: [41, 49],\n    bgGreen: [42, 49],\n    bgYellow: [43, 49],\n    bgBlue: [44, 49],\n    bgMagenta: [45, 49],\n    bgCyan: [46, 49],\n    bgWhite: [47, 49],\n    bgBlackBright: [100, 49],\n    bgGray: [100, 49],\n    bgGrey: [100, 49],\n    bgRedBright: [101, 49],\n    bgGreenBright: [102, 49],\n    bgYellowBright: [103, 49],\n    bgBlueBright: [104, 49],\n    bgMagentaBright: [105, 49],\n    bgCyanBright: [106, 49],\n    bgWhiteBright: [107, 49]\n  }\n};\nvar modifierNames = Object.keys(styles.modifier);\nvar foregroundColorNames = Object.keys(styles.color);\nvar backgroundColorNames = Object.keys(styles.bgColor);\nvar colorNames = [...foregroundColorNames, ...backgroundColorNames];\nfunction assembleStyles() {\n  const codes = /* @__PURE__ */ new Map();\n  for (const [groupName, group] of Object.entries(styles)) {\n    for (const [styleName, style] of Object.entries(group)) {\n      styles[styleName] = {\n        open: `\\x1B[${style[0]}m`,\n        close: `\\x1B[${style[1]}m`\n      };\n      group[styleName] = styles[styleName];\n      codes.set(style[0], style[1]);\n    }\n    Object.defineProperty(styles, groupName, {\n      value: group,\n      enumerable: false\n    });\n  }\n  Object.defineProperty(styles, \"codes\", {\n    value: codes,\n    enumerable: false\n  });\n  styles.color.close = \"\\x1B[39m\";\n  styles.bgColor.close = \"\\x1B[49m\";\n  styles.color.ansi = wrapAnsi16();\n  styles.color.ansi256 = wrapAnsi256();\n  styles.color.ansi16m = wrapAnsi16m();\n  styles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);\n  styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);\n  styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);\n  Object.defineProperties(styles, {\n    rgbToAnsi256: {\n      value(red, green, blue) {\n        if (red === green && green === blue) {\n          if (red < 8) {\n            return 16;\n          }\n          if (red > 248) {\n            return 231;\n          }\n          return Math.round((red - 8) / 247 * 24) + 232;\n        }\n        return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);\n      },\n      enumerable: false\n    },\n    hexToRgb: {\n      value(hex) {\n        const matches = /[a-f\\d]{6}|[a-f\\d]{3}/i.exec(hex.toString(16));\n        if (!matches) {\n          return [0, 0, 0];\n        }\n        let [colorString] = matches;\n        if (colorString.length === 3) {\n          colorString = [...colorString].map((character) => character + character).join(\"\");\n        }\n        const integer = Number.parseInt(colorString, 16);\n        return [\n          integer >> 16 & 255,\n          integer >> 8 & 255,\n          integer & 255\n        ];\n      },\n      enumerable: false\n    },\n    hexToAnsi256: {\n      value: (hex) => styles.rgbToAnsi256(...styles.hexToRgb(hex)),\n      enumerable: false\n    },\n    ansi256ToAnsi: {\n      value(code) {\n        if (code < 8) {\n          return 30 + code;\n        }\n        if (code < 16) {\n          return 90 + (code - 8);\n        }\n        let red;\n        let green;\n        let blue;\n        if (code >= 232) {\n          red = ((code - 232) * 10 + 8) / 255;\n          green = red;\n          blue = red;\n        } else {\n          code -= 16;\n          const remainder = code % 36;\n          red = Math.floor(code / 36) / 5;\n          green = Math.floor(remainder / 6) / 5;\n          blue = remainder % 6 / 5;\n        }\n        const value = Math.max(red, green, blue) * 2;\n        if (value === 0) {\n          return 30;\n        }\n        let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));\n        if (value === 2) {\n          result += 60;\n        }\n        return result;\n      },\n      enumerable: false\n    },\n    rgbToAnsi: {\n      value: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),\n      enumerable: false\n    },\n    hexToAnsi: {\n      value: (hex) => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),\n      enumerable: false\n    }\n  });\n  return styles;\n}\nvar ansiStyles = assembleStyles();\nvar ansi_styles_default = ansiStyles;\n\n// ../node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/vendor/supports-color/index.js\nvar import_node_process = __toESM(require(\"process\"), 1);\nvar import_node_os = __toESM(require(\"os\"), 1);\nvar import_node_tty = __toESM(require(\"tty\"), 1);\nfunction hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_node_process.default.argv) {\n  const prefix = flag.startsWith(\"-\") ? \"\" : flag.length === 1 ? \"-\" : \"--\";\n  const position = argv.indexOf(prefix + flag);\n  const terminatorPosition = argv.indexOf(\"--\");\n  return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);\n}\nvar { env } = import_node_process.default;\nvar flagForceColor;\nif (hasFlag(\"no-color\") || hasFlag(\"no-colors\") || hasFlag(\"color=false\") || hasFlag(\"color=never\")) {\n  flagForceColor = 0;\n} else if (hasFlag(\"color\") || hasFlag(\"colors\") || hasFlag(\"color=true\") || hasFlag(\"color=always\")) {\n  flagForceColor = 1;\n}\nfunction envForceColor() {\n  if (\"FORCE_COLOR\" in env) {\n    if (env.FORCE_COLOR === \"true\") {\n      return 1;\n    }\n    if (env.FORCE_COLOR === \"false\") {\n      return 0;\n    }\n    return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);\n  }\n}\nfunction translateLevel(level) {\n  if (level === 0) {\n    return false;\n  }\n  return {\n    level,\n    hasBasic: true,\n    has256: level >= 2,\n    has16m: level >= 3\n  };\n}\nfunction _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {\n  const noFlagForceColor = envForceColor();\n  if (noFlagForceColor !== void 0) {\n    flagForceColor = noFlagForceColor;\n  }\n  const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;\n  if (forceColor === 0) {\n    return 0;\n  }\n  if (sniffFlags) {\n    if (hasFlag(\"color=16m\") || hasFlag(\"color=full\") || hasFlag(\"color=truecolor\")) {\n      return 3;\n    }\n    if (hasFlag(\"color=256\")) {\n      return 2;\n    }\n  }\n  if (\"TF_BUILD\" in env && \"AGENT_NAME\" in env) {\n    return 1;\n  }\n  if (haveStream && !streamIsTTY && forceColor === void 0) {\n    return 0;\n  }\n  const min = forceColor || 0;\n  if (env.TERM === \"dumb\") {\n    return min;\n  }\n  if (import_node_process.default.platform === \"win32\") {\n    const osRelease = import_node_os.default.release().split(\".\");\n    if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {\n      return Number(osRelease[2]) >= 14931 ? 3 : 2;\n    }\n    return 1;\n  }\n  if (\"CI\" in env) {\n    if (\"GITHUB_ACTIONS\" in env || \"GITEA_ACTIONS\" in env) {\n      return 3;\n    }\n    if ([\"TRAVIS\", \"CIRCLECI\", \"APPVEYOR\", \"GITLAB_CI\", \"BUILDKITE\", \"DRONE\"].some((sign) => sign in env) || env.CI_NAME === \"codeship\") {\n      return 1;\n    }\n    return min;\n  }\n  if (\"TEAMCITY_VERSION\" in env) {\n    return /^(9\\.(0*[1-9]\\d*)\\.|\\d{2,}\\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;\n  }\n  if (env.COLORTERM === \"truecolor\") {\n    return 3;\n  }\n  if (env.TERM === \"xterm-kitty\") {\n    return 3;\n  }\n  if (\"TERM_PROGRAM\" in env) {\n    const version = Number.parseInt((env.TERM_PROGRAM_VERSION || \"\").split(\".\")[0], 10);\n    switch (env.TERM_PROGRAM) {\n      case \"iTerm.app\": {\n        return version >= 3 ? 3 : 2;\n      }\n      case \"Apple_Terminal\": {\n        return 2;\n      }\n    }\n  }\n  if (/-256(color)?$/i.test(env.TERM)) {\n    return 2;\n  }\n  if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {\n    return 1;\n  }\n  if (\"COLORTERM\" in env) {\n    return 1;\n  }\n  return min;\n}\nfunction createSupportsColor(stream, options = {}) {\n  const level = _supportsColor(stream, {\n    streamIsTTY: stream && stream.isTTY,\n    ...options\n  });\n  return translateLevel(level);\n}\nvar supportsColor = {\n  stdout: createSupportsColor({ isTTY: import_node_tty.default.isatty(1) }),\n  stderr: createSupportsColor({ isTTY: import_node_tty.default.isatty(2) })\n};\nvar supports_color_default = supportsColor;\n\n// ../node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/utilities.js\nfunction stringReplaceAll(string, substring, replacer) {\n  let index = string.indexOf(substring);\n  if (index === -1) {\n    return string;\n  }\n  const substringLength = substring.length;\n  let endIndex = 0;\n  let returnValue = \"\";\n  do {\n    returnValue += string.slice(endIndex, index) + substring + replacer;\n    endIndex = index + substringLength;\n    index = string.indexOf(substring, endIndex);\n  } while (index !== -1);\n  returnValue += string.slice(endIndex);\n  return returnValue;\n}\nfunction stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {\n  let endIndex = 0;\n  let returnValue = \"\";\n  do {\n    const gotCR = string[index - 1] === \"\\r\";\n    returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? \"\\r\\n\" : \"\\n\") + postfix;\n    endIndex = index + 1;\n    index = string.indexOf(\"\\n\", endIndex);\n  } while (index !== -1);\n  returnValue += string.slice(endIndex);\n  return returnValue;\n}\n\n// ../node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/index.js\nvar { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;\nvar GENERATOR = Symbol(\"GENERATOR\");\nvar STYLER = Symbol(\"STYLER\");\nvar IS_EMPTY = Symbol(\"IS_EMPTY\");\nvar levelMapping = [\n  \"ansi\",\n  \"ansi\",\n  \"ansi256\",\n  \"ansi16m\"\n];\nvar styles2 = /* @__PURE__ */ Object.create(null);\nvar applyOptions = (object, options = {}) => {\n  if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {\n    throw new Error(\"The `level` option should be an integer from 0 to 3\");\n  }\n  const colorLevel = stdoutColor ? stdoutColor.level : 0;\n  object.level = options.level === void 0 ? colorLevel : options.level;\n};\nvar chalkFactory = (options) => {\n  const chalk2 = (...strings) => strings.join(\" \");\n  applyOptions(chalk2, options);\n  Object.setPrototypeOf(chalk2, createChalk.prototype);\n  return chalk2;\n};\nfunction createChalk(options) {\n  return chalkFactory(options);\n}\nObject.setPrototypeOf(createChalk.prototype, Function.prototype);\nfor (const [styleName, style] of Object.entries(ansi_styles_default)) {\n  styles2[styleName] = {\n    get() {\n      const builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);\n      Object.defineProperty(this, styleName, { value: builder });\n      return builder;\n    }\n  };\n}\nstyles2.visible = {\n  get() {\n    const builder = createBuilder(this, this[STYLER], true);\n    Object.defineProperty(this, \"visible\", { value: builder });\n    return builder;\n  }\n};\nvar getModelAnsi = (model, level, type, ...arguments_) => {\n  if (model === \"rgb\") {\n    if (level === \"ansi16m\") {\n      return ansi_styles_default[type].ansi16m(...arguments_);\n    }\n    if (level === \"ansi256\") {\n      return ansi_styles_default[type].ansi256(ansi_styles_default.rgbToAnsi256(...arguments_));\n    }\n    return ansi_styles_default[type].ansi(ansi_styles_default.rgbToAnsi(...arguments_));\n  }\n  if (model === \"hex\") {\n    return getModelAnsi(\"rgb\", level, type, ...ansi_styles_default.hexToRgb(...arguments_));\n  }\n  return ansi_styles_default[type][model](...arguments_);\n};\nvar usedModels = [\"rgb\", \"hex\", \"ansi256\"];\nfor (const model of usedModels) {\n  styles2[model] = {\n    get() {\n      const { level } = this;\n      return function(...arguments_) {\n        const styler = createStyler(getModelAnsi(model, levelMapping[level], \"color\", ...arguments_), ansi_styles_default.color.close, this[STYLER]);\n        return createBuilder(this, styler, this[IS_EMPTY]);\n      };\n    }\n  };\n  const bgModel = \"bg\" + model[0].toUpperCase() + model.slice(1);\n  styles2[bgModel] = {\n    get() {\n      const { level } = this;\n      return function(...arguments_) {\n        const styler = createStyler(getModelAnsi(model, levelMapping[level], \"bgColor\", ...arguments_), ansi_styles_default.bgColor.close, this[STYLER]);\n        return createBuilder(this, styler, this[IS_EMPTY]);\n      };\n    }\n  };\n}\nvar proto = Object.defineProperties(() => {\n}, {\n  ...styles2,\n  level: {\n    enumerable: true,\n    get() {\n      return this[GENERATOR].level;\n    },\n    set(level) {\n      this[GENERATOR].level = level;\n    }\n  }\n});\nvar createStyler = (open, close, parent) => {\n  let openAll;\n  let closeAll;\n  if (parent === void 0) {\n    openAll = open;\n    closeAll = close;\n  } else {\n    openAll = parent.openAll + open;\n    closeAll = close + parent.closeAll;\n  }\n  return {\n    open,\n    close,\n    openAll,\n    closeAll,\n    parent\n  };\n};\nvar createBuilder = (self2, _styler, _isEmpty) => {\n  const builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? \"\" + arguments_[0] : arguments_.join(\" \"));\n  Object.setPrototypeOf(builder, proto);\n  builder[GENERATOR] = self2;\n  builder[STYLER] = _styler;\n  builder[IS_EMPTY] = _isEmpty;\n  return builder;\n};\nvar applyStyle = (self2, string) => {\n  if (self2.level <= 0 || !string) {\n    return self2[IS_EMPTY] ? \"\" : string;\n  }\n  let styler = self2[STYLER];\n  if (styler === void 0) {\n    return string;\n  }\n  const { openAll, closeAll } = styler;\n  if (string.includes(\"\\x1B\")) {\n    while (styler !== void 0) {\n      string = stringReplaceAll(string, styler.close, styler.open);\n      styler = styler.parent;\n    }\n  }\n  const lfIndex = string.indexOf(\"\\n\");\n  if (lfIndex !== -1) {\n    string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);\n  }\n  return openAll + string + closeAll;\n};\nObject.defineProperties(createChalk.prototype, styles2);\nvar chalk = createChalk();\nvar chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });\nvar source_default = chalk;\n\n// ../server-shared/src/log-service.ts\nvar import_dayjs = __toESM(require(\"dayjs\"));\n\n// ../shared/src/constants.ts\nvar DATE_FORMAT = \"YYYY-MM-DD HH:mm:ss\";\n\n// ../server-shared/src/log-service.ts\nvar LogService = class {\n  constructor() {\n    this.scope = \"\";\n    this.dateFormat = DATE_FORMAT;\n  }\n  _prefix(type) {\n    let prefix = \"\";\n    this.scope && (prefix += source_default[type].bold(`[${this.scope}]`));\n    prefix += source_default.blue(`[${(0, import_dayjs.default)().format(this.dateFormat)}]`);\n    return prefix;\n  }\n  _log(...args) {\n    console.log(...args);\n  }\n  _error(...args) {\n    console.error(...args);\n  }\n  setScope(scope) {\n    this.scope = scope;\n  }\n  log(...args) {\n    this._log(this._prefix(\"green\"), ...args);\n  }\n  error(...args) {\n    this._error(this._prefix(\"red\"), ...args);\n  }\n  logWithUser(user, ...args) {\n    this._log(\n      this._prefix(\"green\") + source_default.yellow.dim(`[${user.username}:${user.slug}]`),\n      ...args\n    );\n  }\n  static create(scope) {\n    const instance = import_tsyringe.container.resolve(LogService);\n    instance.setScope(scope);\n    return instance;\n  }\n};\n\n// ../server-shared/src/storage-service.ts\nvar defaultRoot = (0, import_path.resolve)(__dirname, \"../../server/data\");\nvar defaultFilename = \"common.db\";\nvar StorageService = class {\n  constructor(_logService) {\n    this._logService = _logService;\n    this._root = defaultRoot;\n    this._filename = defaultFilename;\n    this._logService.setScope(\"storage-service\");\n    if (!(0, import_fs.existsSync)(this._root))\n      (0, import_fs.mkdirSync)(this._root);\n    this._logService.log(`init storage service with root: ${this._root}`);\n    this._db = new import_simple_json_db.default((0, import_path.resolve)(this._root, this._filename));\n  }\n  get(key) {\n    return this._db.get(key);\n  }\n  set(key, value) {\n    this._db.set(key, value);\n  }\n  delete(key) {\n    return this._db.delete(key);\n  }\n};\nStorageService = __decorateClass([\n  (0, import_tsyringe2.singleton)(),\n  __decorateParam(0, (0, import_tsyringe2.inject)(LogService))\n], StorageService);\n\n// src/services/hexo-instance-service.ts\nvar import_tsyringe3 = require(\"tsyringe\");\nvar import_hexo = __toESM(require(\"hexo\"));\nvar import_path4 = __toESM(require(\"path\"));\n\n// ../server-shared/src/utils.ts\nvar import_fs2 = __toESM(require(\"fs\"));\nvar import_path2 = __toESM(require(\"path\"));\nfunction isBlog(cwd) {\n  var _a;\n  let file;\n  try {\n    file = import_fs2.default.readFileSync(import_path2.default.join(cwd, \"package.json\"), {\n      encoding: \"utf-8\"\n    });\n    import_fs2.default.readFileSync(import_path2.default.join(cwd, \"_config.yml\"), { encoding: \"utf-8\" });\n  } catch (err) {\n    if (err.code === \"ENOENT\") {\n      return false;\n    }\n    throw err;\n  }\n  const packageJSON = JSON.parse(file);\n  if (!((_a = packageJSON == null ? void 0 : packageJSON.dependencies) == null ? void 0 : _a.hexo))\n    return false;\n  return true;\n}\nfunction toRealPath(value) {\n  return import_path2.default.isAbsolute(value) ? value : import_path2.default.resolve(process.cwd(), \"../..\", value);\n}\n\n// src/utils.ts\nvar import_debug = __toESM(require(\"debug\"));\nvar import_path3 = __toESM(require(\"path\"));\nvar DEV = process.env.NODE_ENV !== \"production\";\nfunction expandHomeDir(fullpath) {\n  const homedir = process.env[process.platform == \"win32\" ? \"USERPROFILE\" : \"HOME\"];\n  if (!fullpath)\n    return fullpath;\n  if (fullpath == \"~\")\n    return homedir;\n  if (fullpath.slice(0, 2) != \"~/\")\n    return fullpath;\n  return import_path3.default.join(homedir, fullpath.slice(2));\n}\n\n// src/errors.ts\nvar import_http_errors = require(\"http-errors\");\nvar PostOrPageNotFoundError = class extends import_http_errors.NotFound {\n  constructor(type, msg) {\n    super(msg != null ? msg : `${type} not found`);\n    this.id = \"PostOrPageNotFoundError\";\n  }\n};\nvar HexoInitError = class extends import_http_errors.InternalServerError {\n  constructor() {\n    super(...arguments);\n    this.id = \"HexoInitError\";\n  }\n};\nvar InvalidOptionsError = class extends import_http_errors.BadRequest {\n  constructor(message, id = \"InvalidOptionsError\") {\n    super(message);\n    this.id = id;\n  }\n};\nvar ScriptError = class extends import_http_errors.InternalServerError {\n  constructor(message, id = \"ScriptError\") {\n    super(message);\n    this.id = id;\n  }\n};\n\n// src/services/hexo-instance-service.ts\nvar HexoInstanceService = class {\n  constructor(_logService, _storageService) {\n    this._logService = _logService;\n    this._storageService = _storageService;\n    this._options = null;\n    this._base = null;\n    this._hexo = null;\n    this._ready = false;\n    this._promise = null;\n    this._logService.setScope(\"hexo-instance-service\");\n  }\n  _withOptionsOverrides(options) {\n    return { ...options, draft: true, drafts: true };\n  }\n  _setHexoBase() {\n    const base = this._storageService.get(HEXO_BASE_DIR_KEY);\n    const base_dir = import_path4.default.resolve(__dirname, toRealPath(base));\n    if (!isBlog(base_dir))\n      throw new Error(`\"${base_dir}\" is not a hexo blog folder`);\n    this._base = base_dir;\n  }\n  _setOptions() {\n    this._options = this._storageService.get(HEXO_OPTIONS_KEY) || {};\n    this._options.silent = DEV ? false : this._options.silent;\n  }\n  _createHexoInstance() {\n    if (!this._base)\n      throw new Error(\"please set hexo root first\");\n    this._hexo = new import_hexo.default(\n      this._base,\n      this._withOptionsOverrides(this._options)\n    );\n  }\n  async _init() {\n    this._logService.log(\"real init start\");\n    this._ready = false;\n    await this._setHexoBase();\n    await this._setOptions();\n    await this._createHexoInstance();\n    await this._hexo.init();\n    await this._hexo.watch();\n    this._ready = true;\n    this._logService.log(\"real init finished\");\n  }\n  async setOptions(options) {\n    this._storageService.set(\n      HEXO_OPTIONS_KEY,\n      options\n    );\n    this._logService.log(\"options set\");\n  }\n  async _tryInit(count = HexoInstanceService.MAX_RETRY) {\n    try {\n      await this._init();\n      HexoInstanceService.INITING = false;\n    } catch (err) {\n      this._logService.error(err);\n      this._logService.error(`error when init hexo instance. `);\n      this._logService.error(\n        `retry in ${HexoInstanceService.RETRY_INTERVAL} ms.`,\n        `${count} retry left`\n      );\n      if (count)\n        return new Promise((resolve4) => {\n          setTimeout(() => {\n            resolve4(this._tryInit(count - 1));\n          }, HexoInstanceService.RETRY_INTERVAL);\n        });\n      else {\n        HexoInstanceService.INITING = false;\n        throw new HexoInitError(String(err));\n      }\n    }\n  }\n  async init() {\n    if (!HexoInstanceService.INITING)\n      this._promise = this._tryInit();\n    return this._promise;\n  }\n  async getBaseDir() {\n    if (!this._ready)\n      await this.init();\n    return this._base;\n  }\n  async getInstance() {\n    if (!this._ready)\n      await this.init();\n    this._logService.log(\"instance required\");\n    return this._hexo;\n  }\n  async getInstanceWithOriginOptions(genOptions = (o) => o) {\n    if (!this._ready)\n      await this.init();\n    const newOptions = genOptions(this._options);\n    const hexo = new import_hexo.default(this._base, newOptions);\n    await hexo.init();\n    await hexo.watch();\n    HexoInstanceService.TO_BE_CLEANED++;\n    this._logService.log(\"instance with options required\");\n    this._logService.log(\n      `${HexoInstanceService.TO_BE_CLEANED} extra instance to be cleaned`\n    );\n    const cleanup = async () => {\n      await hexo.unwatch();\n      HexoInstanceService.TO_BE_CLEANED--;\n      this._logService.log(\"instance with options cleaned\");\n      if (HexoInstanceService.TO_BE_CLEANED === 0) {\n        this._logService.log(\"all instances have been cleaned\");\n      } else {\n        this._logService.log(\n          `${HexoInstanceService.TO_BE_CLEANED} extra instance to be cleaned`\n        );\n      }\n    };\n    return { hexo, cleanup };\n  }\n  async runBetweenReload(fn) {\n    if (!this._ready)\n      await this.init();\n    const unload = async () => {\n      await this._hexo.unwatch();\n    };\n    const load = async () => {\n      await this._hexo.watch();\n      HexoInstanceService.INITING = false;\n    };\n    const markHexoInitError = (err) => {\n      this._ready = false;\n      HexoInstanceService.INITING = false;\n    };\n    HexoInstanceService.INITING = true;\n    await unload().catch(markHexoInitError);\n    const res = await Promise.resolve(fn());\n    await load().catch(markHexoInitError);\n    return res;\n  }\n};\nHexoInstanceService.INITING = false;\nHexoInstanceService.PENDING_COUNT = 0;\nHexoInstanceService.RETRY_INTERVAL = 1e3;\nHexoInstanceService.MAX_RETRY = 2;\nHexoInstanceService.CURRENT_RETRY = 0;\nHexoInstanceService.TO_BE_CLEANED = 0;\nHexoInstanceService = __decorateClass([\n  (0, import_tsyringe3.injectable)(),\n  (0, import_tsyringe3.singleton)(),\n  __decorateParam(0, (0, import_tsyringe3.inject)(LogService)),\n  __decorateParam(1, (0, import_tsyringe3.inject)(StorageService))\n], HexoInstanceService);\n\n// src/app.ts\nvar import_tsyringe17 = require(\"tsyringe\");\nvar import_koa = __toESM(require(\"koa\"));\nvar import_koa_bodyparser = __toESM(require(\"koa-bodyparser\"));\nvar import_koa_compress = __toESM(require(\"koa-compress\"));\nvar import_koa_logger = __toESM(require(\"koa-logger\"));\nvar import_koa_mount = __toESM(require(\"koa-mount\"));\n\n// src/middlewares/auth.ts\nvar import_koa_authentication = require(\"@winwin/koa-authentication\");\nvar import_tsyringe6 = require(\"tsyringe\");\n\n// ../server-shared/src/account-storage-service.ts\nvar import_crypto_js = require(\"crypto-js\");\nvar import_tsyringe4 = require(\"tsyringe\");\nvar AccountService = class {\n  constructor(_storage, _logService) {\n    this._storage = _storage;\n    this._logService = _logService;\n    this._logService.setScope(\"account-service\");\n  }\n  _encrypt(raw) {\n    return (0, import_crypto_js.SHA1)(raw).toString();\n  }\n  _toStorage(info) {\n    this._storage.set(AccountService.KEY, info);\n  }\n  _fromStorage() {\n    const { username = \"\", password = \"\" } = this._storage.get(AccountService.KEY) || {};\n    return { username, password };\n  }\n  setUserInfo(username, password) {\n    this._storage.set(AccountService.KEY, {\n      username,\n      password: this._encrypt(password)\n    });\n    this._logService.log(\"set user info: \", username);\n  }\n  getUsername() {\n    return this._fromStorage().username;\n  }\n  setUsername(username) {\n    const info = this._fromStorage();\n    info.username = username;\n    this._toStorage(info);\n    this._logService.log(\"set username: \", username);\n  }\n  setPassword(password) {\n    const info = this._fromStorage();\n    info.password = this._encrypt(password);\n    this._toStorage(info);\n    this._logService.log(\"set password\");\n  }\n  setEncryptedPassword(password) {\n    const info = this._fromStorage();\n    info.password = password;\n    this._toStorage(info);\n    this._logService.log(\"set encrypted password\");\n  }\n  verify(username, password) {\n    const info = this._fromStorage();\n    if (username !== info.username) {\n      return false;\n    }\n    if (this._encrypt(password) !== info.password) {\n      return false;\n    }\n    return true;\n  }\n};\nAccountService.KEY = \"userinfo\";\nAccountService = __decorateClass([\n  (0, import_tsyringe4.injectable)(),\n  (0, import_tsyringe4.singleton)(),\n  __decorateParam(0, (0, import_tsyringe4.inject)(StorageService)),\n  __decorateParam(1, (0, import_tsyringe4.inject)(LogService))\n], AccountService);\n\n// src/services/auth-storage-service.ts\nvar import_tsyringe5 = require(\"tsyringe\");\nvar AuthStorageService = class {\n  constructor(_storage, _logService) {\n    this._storage = _storage;\n    this._logService = _logService;\n    this._logService.setScope(\"auth-storage-service\");\n  }\n  _toStorage(info) {\n    this._storage.set(AuthStorageService.KEY, info);\n  }\n  _fromStorage() {\n    const {\n      secret = \"secret\",\n      expiresIn = \"1h\",\n      refreshableIn = \"7d\"\n    } = this._storage.get(AuthStorageService.KEY) || {};\n    return { secret, expiresIn, refreshableIn };\n  }\n  setAuthInfo(info) {\n    this._toStorage(info);\n    this._logService.log(`set auth info`);\n  }\n  getSecret() {\n    const s = this._fromStorage().secret;\n    this._logService.log(`get secret`);\n    return s;\n  }\n  getAuthInfo() {\n    const s = this._fromStorage();\n    this._logService.log(`get auth info`);\n    return s;\n  }\n};\nAuthStorageService.KEY = \"authinfo\";\nAuthStorageService = __decorateClass([\n  (0, import_tsyringe5.injectable)(),\n  (0, import_tsyringe5.singleton)(),\n  __decorateParam(0, (0, import_tsyringe5.inject)(StorageService)),\n  __decorateParam(1, (0, import_tsyringe5.inject)(LogService))\n], AuthStorageService);\n\n// src/middlewares/auth.ts\nvar auth = (0, import_koa_authentication.createAuth)({\n  verify(username, password) {\n    const logger2 = import_tsyringe6.container.resolve(LogService);\n    const account = import_tsyringe6.container.resolve(AccountService);\n    const res = account.verify(username, password);\n    logger2.log(`verify ${res ? \"success\" : \"failed\"} for ${username}`);\n    return res;\n  },\n  secret() {\n    return import_tsyringe6.container.resolve(AuthStorageService).getSecret();\n  }\n});\nauth.router.post(\"/password\", auth.auth, (ctx) => {\n  const account = import_tsyringe6.container.resolve(AccountService);\n  const { oldPassword, password } = ctx.request.body;\n  const verified = account.verify(ctx.state.user.username, oldPassword);\n  if (!verified)\n    throw new import_koa_authentication.AuthenticationError();\n  account.setPassword(password);\n  ctx.status = 200;\n});\nauth.router.post(\n  \"/username\",\n  auth.auth,\n  (ctx, next) => {\n    const account = import_tsyringe6.container.resolve(AccountService);\n    const { username } = ctx.request.body;\n    account.setUsername(username);\n    ctx.state.user.username = username;\n    return next();\n  },\n  auth.cookie,\n  (ctx) => ctx.status = 200\n);\n\n// src/middlewares/statics.ts\nvar import_path5 = __toESM(require(\"path\"));\nvar import_koa_static = __toESM(require(\"koa-static\"));\nvar ROOT = import_path5.default.resolve(process.cwd(), \"../client/dist\");\nvar statics = (0, import_koa_static.default)(ROOT, {\n  setHeaders: (res, fullpath) => {\n    const isHtml = import_path5.default.extname(fullpath).toLowerCase() === \".html\";\n    if (isHtml)\n      res.setHeader(\"Cache-Control\", \"no-cache\");\n    else\n      res.setHeader(\"Cache-Control\", \"max-age=31536000\");\n  }\n});\n\n// src/lib/http-secure.ts\nvar import_crypto = __toESM(require(\"crypto\"));\nvar import_crypto_js2 = __toESM(require(\"crypto-js\"));\nvar import_node_jsencrypt = __toESM(require(\"node-jsencrypt\"));\nfunction secure(enable = () => true) {\n  const { publicKey, privateKey } = import_crypto.default.generateKeyPairSync(\"rsa\", {\n    modulusLength: 2048,\n    publicKeyEncoding: {\n      type: \"spki\",\n      format: \"pem\"\n    },\n    privateKeyEncoding: {\n      type: \"pkcs1\",\n      format: \"pem\"\n    }\n  });\n  function decryptRSA(data) {\n    const o = new import_node_jsencrypt.default();\n    o.setPrivateKey(privateKey);\n    const res = o.decrypt(data);\n    return res;\n  }\n  function decryptAES(data, key) {\n    return import_crypto_js2.default.AES.decrypt(data, key).toString(import_crypto_js2.default.enc.Utf8);\n  }\n  function encryptAES(data, key) {\n    return import_crypto_js2.default.AES.encrypt(data, key).toString();\n  }\n  import_crypto_js2.default.AES.encrypt('\"hi\"', \"123\").toString();\n  function isGetPublicKeyRoute(ctx) {\n    return ctx.request.path.startsWith(\"/publickey\") && ctx.request.method === \"GET\";\n  }\n  function stringifyData(data) {\n    return JSON.stringify(data);\n  }\n  function parseData(data) {\n    const str = data;\n    return JSON.parse(str);\n  }\n  return async (ctx, next) => {\n    if (typeof enable === \"function\" ? !enable() : !enable) {\n      await next();\n      return;\n    }\n    if (isGetPublicKeyRoute(ctx)) {\n      console.log(source_default.white(\"GET\"), source_default.white.dim(\"/publickey\"));\n      ctx.body = publicKey;\n      return;\n    }\n    const prefix = \"/secure/\";\n    const enced = decodeURIComponent(ctx.path.slice(prefix.length));\n    const secured = ctx.path.startsWith(prefix);\n    if (secured) {\n      const res = decryptRSA(enced);\n      if (!res) {\n        ctx.status = 403;\n        ctx.body = { code: \"EHTTPSECURE\" };\n        return;\n      }\n      const decoded = JSON.parse(res);\n      ctx.path = decoded.url;\n      const key = decoded.key;\n      ctx.originalUrl = \"[secure]\" + ctx.path;\n      ctx.request.body = ctx.request.method !== \"GET\" && parseData(decryptAES(ctx.request.body.content, key)).data;\n      await next();\n      const content = encryptAES(stringifyData({ data: ctx.body }), key);\n      ctx.body = { content };\n    } else {\n      await next();\n      return;\n    }\n  };\n}\nvar http_secure_default = secure;\n\n// src/routes/index.ts\nvar import_router6 = __toESM(require(\"@koa/router\"));\n\n// src/routes/health.ts\nvar import_router = __toESM(require(\"@koa/router\"));\nvar router = new import_router.default();\nrouter.get(\"/health\", (ctx) => {\n  ctx.status = 200;\n});\nvar health_default = router;\n\n// src/routes/hexo.ts\nvar import_tsyringe10 = require(\"tsyringe\");\nvar import_router2 = __toESM(require(\"@koa/router\"));\n\n// src/services/hexo-service.ts\nvar import_path8 = __toESM(require(\"path\"));\nvar import_tsyringe9 = require(\"tsyringe\");\nvar import_fs4 = __toESM(require(\"fs\"));\n\n// ../node_modules/.pnpm/execa@6.1.0/node_modules/execa/index.js\nvar import_node_buffer = require(\"buffer\");\nvar import_node_path2 = __toESM(require(\"path\"), 1);\nvar import_node_child_process = __toESM(require(\"child_process\"), 1);\nvar import_node_process3 = __toESM(require(\"process\"), 1);\nvar import_cross_spawn = __toESM(require_cross_spawn(), 1);\n\n// ../node_modules/.pnpm/strip-final-newline@3.0.0/node_modules/strip-final-newline/index.js\nfunction stripFinalNewline(input) {\n  const LF = typeof input === \"string\" ? \"\\n\" : \"\\n\".charCodeAt();\n  const CR = typeof input === \"string\" ? \"\\r\" : \"\\r\".charCodeAt();\n  if (input[input.length - 1] === LF) {\n    input = input.slice(0, -1);\n  }\n  if (input[input.length - 1] === CR) {\n    input = input.slice(0, -1);\n  }\n  return input;\n}\n\n// ../node_modules/.pnpm/npm-run-path@5.3.0/node_modules/npm-run-path/index.js\nvar import_node_process2 = __toESM(require(\"process\"), 1);\nvar import_node_path = __toESM(require(\"path\"), 1);\nvar import_node_url = require(\"url\");\n\n// ../node_modules/.pnpm/path-key@4.0.0/node_modules/path-key/index.js\nfunction pathKey(options = {}) {\n  const {\n    env: env2 = process.env,\n    platform = process.platform\n  } = options;\n  if (platform !== \"win32\") {\n    return \"PATH\";\n  }\n  return Object.keys(env2).reverse().find((key) => key.toUpperCase() === \"PATH\") || \"Path\";\n}\n\n// ../node_modules/.pnpm/npm-run-path@5.3.0/node_modules/npm-run-path/index.js\nvar npmRunPath = ({\n  cwd = import_node_process2.default.cwd(),\n  path: pathOption = import_node_process2.default.env[pathKey()],\n  preferLocal = true,\n  execPath = import_node_process2.default.execPath,\n  addExecPath = true\n} = {}) => {\n  const cwdString = cwd instanceof URL ? (0, import_node_url.fileURLToPath)(cwd) : cwd;\n  const cwdPath = import_node_path.default.resolve(cwdString);\n  const result = [];\n  if (preferLocal) {\n    applyPreferLocal(result, cwdPath);\n  }\n  if (addExecPath) {\n    applyExecPath(result, execPath, cwdPath);\n  }\n  return [...result, pathOption].join(import_node_path.default.delimiter);\n};\nvar applyPreferLocal = (result, cwdPath) => {\n  let previous;\n  while (previous !== cwdPath) {\n    result.push(import_node_path.default.join(cwdPath, \"node_modules/.bin\"));\n    previous = cwdPath;\n    cwdPath = import_node_path.default.resolve(cwdPath, \"..\");\n  }\n};\nvar applyExecPath = (result, execPath, cwdPath) => {\n  const execPathString = execPath instanceof URL ? (0, import_node_url.fileURLToPath)(execPath) : execPath;\n  result.push(import_node_path.default.resolve(cwdPath, execPathString, \"..\"));\n};\nvar npmRunPathEnv = ({ env: env2 = import_node_process2.default.env, ...options } = {}) => {\n  env2 = { ...env2 };\n  const pathName = pathKey({ env: env2 });\n  options.path = env2[pathName];\n  env2[pathName] = npmRunPath(options);\n  return env2;\n};\n\n// ../node_modules/.pnpm/mimic-fn@4.0.0/node_modules/mimic-fn/index.js\nvar copyProperty = (to, from, property, ignoreNonConfigurable) => {\n  if (property === \"length\" || property === \"prototype\") {\n    return;\n  }\n  if (property === \"arguments\" || property === \"caller\") {\n    return;\n  }\n  const toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n  const fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n  if (!canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) {\n    return;\n  }\n  Object.defineProperty(to, property, fromDescriptor);\n};\nvar canCopyProperty = function(toDescriptor, fromDescriptor) {\n  return toDescriptor === void 0 || toDescriptor.configurable || toDescriptor.writable === fromDescriptor.writable && toDescriptor.enumerable === fromDescriptor.enumerable && toDescriptor.configurable === fromDescriptor.configurable && (toDescriptor.writable || toDescriptor.value === fromDescriptor.value);\n};\nvar changePrototype = (to, from) => {\n  const fromPrototype = Object.getPrototypeOf(from);\n  if (fromPrototype === Object.getPrototypeOf(to)) {\n    return;\n  }\n  Object.setPrototypeOf(to, fromPrototype);\n};\nvar wrappedToString = (withName, fromBody) => `/* Wrapped ${withName}*/\n${fromBody}`;\nvar toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, \"toString\");\nvar toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, \"name\");\nvar changeToString = (to, from, name) => {\n  const withName = name === \"\" ? \"\" : `with ${name.trim()}() `;\n  const newToString = wrappedToString.bind(null, withName, from.toString());\n  Object.defineProperty(newToString, \"name\", toStringName);\n  Object.defineProperty(to, \"toString\", { ...toStringDescriptor, value: newToString });\n};\nfunction mimicFunction(to, from, { ignoreNonConfigurable = false } = {}) {\n  const { name } = to;\n  for (const property of Reflect.ownKeys(from)) {\n    copyProperty(to, from, property, ignoreNonConfigurable);\n  }\n  changePrototype(to, from);\n  changeToString(to, from, name);\n  return to;\n}\n\n// ../node_modules/.pnpm/onetime@6.0.0/node_modules/onetime/index.js\nvar calledFunctions = /* @__PURE__ */ new WeakMap();\nvar onetime = (function_, options = {}) => {\n  if (typeof function_ !== \"function\") {\n    throw new TypeError(\"Expected a function\");\n  }\n  let returnValue;\n  let callCount = 0;\n  const functionName = function_.displayName || function_.name || \"<anonymous>\";\n  const onetime2 = function(...arguments_) {\n    calledFunctions.set(onetime2, ++callCount);\n    if (callCount === 1) {\n      returnValue = function_.apply(this, arguments_);\n      function_ = null;\n    } else if (options.throw === true) {\n      throw new Error(`Function \\`${functionName}\\` can only be called once`);\n    }\n    return returnValue;\n  };\n  mimicFunction(onetime2, function_);\n  calledFunctions.set(onetime2, callCount);\n  return onetime2;\n};\nonetime.callCount = (function_) => {\n  if (!calledFunctions.has(function_)) {\n    throw new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n  }\n  return calledFunctions.get(function_);\n};\nvar onetime_default = onetime;\n\n// ../node_modules/.pnpm/human-signals@3.0.1/node_modules/human-signals/build/src/main.js\nvar import_os2 = require(\"os\");\n\n// ../node_modules/.pnpm/human-signals@3.0.1/node_modules/human-signals/build/src/realtime.js\nvar getRealtimeSignals = function() {\n  const length = SIGRTMAX - SIGRTMIN + 1;\n  return Array.from({ length }, getRealtimeSignal);\n};\nvar getRealtimeSignal = function(value, index) {\n  return {\n    name: `SIGRT${index + 1}`,\n    number: SIGRTMIN + index,\n    action: \"terminate\",\n    description: \"Application-specific signal (realtime)\",\n    standard: \"posix\"\n  };\n};\nvar SIGRTMIN = 34;\nvar SIGRTMAX = 64;\n\n// ../node_modules/.pnpm/human-signals@3.0.1/node_modules/human-signals/build/src/signals.js\nvar import_os = require(\"os\");\n\n// ../node_modules/.pnpm/human-signals@3.0.1/node_modules/human-signals/build/src/core.js\nvar SIGNALS = [\n  {\n    name: \"SIGHUP\",\n    number: 1,\n    action: \"terminate\",\n    description: \"Terminal closed\",\n    standard: \"posix\"\n  },\n  {\n    name: \"SIGINT\",\n    number: 2,\n    action: \"terminate\",\n    description: \"User interruption with CTRL-C\",\n    standard: \"ansi\"\n  },\n  {\n    name: \"SIGQUIT\",\n    number: 3,\n    action: \"core\",\n    description: \"User interruption with CTRL-\\\\\",\n    standard: \"posix\"\n  },\n  {\n    name: \"SIGILL\",\n    number: 4,\n    action: \"core\",\n    description: \"Invalid machine instruction\",\n    standard: \"ansi\"\n  },\n  {\n    name: \"SIGTRAP\",\n    number: 5,\n    action: \"core\",\n    description: \"Debugger breakpoint\",\n    standard: \"posix\"\n  },\n  {\n    name: \"SIGABRT\",\n    number: 6,\n    action: \"core\",\n    description: \"Aborted\",\n    standard: \"ansi\"\n  },\n  {\n    name: \"SIGIOT\",\n    number: 6,\n    action: \"core\",\n    description: \"Aborted\",\n    standard: \"bsd\"\n  },\n  {\n    name: \"SIGBUS\",\n    number: 7,\n    action: \"core\",\n    description: \"Bus error due to misaligned, non-existing address or paging error\",\n    standard: \"bsd\"\n  },\n  {\n    name: \"SIGEMT\",\n    number: 7,\n    action: \"terminate\",\n    description: \"Command should be emulated but is not implemented\",\n    standard: \"other\"\n  },\n  {\n    name: \"SIGFPE\",\n    number: 8,\n    action: \"core\",\n    description: \"Floating point arithmetic error\",\n    standard: \"ansi\"\n  },\n  {\n    name: \"SIGKILL\",\n    number: 9,\n    action: \"terminate\",\n    description: \"Forced termination\",\n    standard: \"posix\",\n    forced: true\n  },\n  {\n    name: \"SIGUSR1\",\n    number: 10,\n    action: \"terminate\",\n    description: \"Application-specific signal\",\n    standard: \"posix\"\n  },\n  {\n    name: \"SIGSEGV\",\n    number: 11,\n    action: \"core\",\n    description: \"Segmentation fault\",\n    standard: \"ansi\"\n  },\n  {\n    name: \"SIGUSR2\",\n    number: 12,\n    action: \"terminate\",\n    description: \"Application-specific signal\",\n    standard: \"posix\"\n  },\n  {\n    name: \"SIGPIPE\",\n    number: 13,\n    action: \"terminate\",\n    description: \"Broken pipe or socket\",\n    standard: \"posix\"\n  },\n  {\n    name: \"SIGALRM\",\n    number: 14,\n    action: \"terminate\",\n    description: \"Timeout or timer\",\n    standard: \"posix\"\n  },\n  {\n    name: \"SIGTERM\",\n    number: 15,\n    action: \"terminate\",\n    description: \"Termination\",\n    standard: \"ansi\"\n  },\n  {\n    name: \"SIGSTKFLT\",\n    number: 16,\n    action: \"terminate\",\n    description: \"Stack is empty or overflowed\",\n    standard: \"other\"\n  },\n  {\n    name: \"SIGCHLD\",\n    number: 17,\n    action: \"ignore\",\n    description: \"Child process terminated, paused or unpaused\",\n    standard: \"posix\"\n  },\n  {\n    name: \"SIGCLD\",\n    number: 17,\n    action: \"ignore\",\n    description: \"Child process terminated, paused or unpaused\",\n    standard: \"other\"\n  },\n  {\n    name: \"SIGCONT\",\n    number: 18,\n    action: \"unpause\",\n    description: \"Unpaused\",\n    standard: \"posix\",\n    forced: true\n  },\n  {\n    name: \"SIGSTOP\",\n    number: 19,\n    action: \"pause\",\n    description: \"Paused\",\n    standard: \"posix\",\n    forced: true\n  },\n  {\n    name: \"SIGTSTP\",\n    number: 20,\n    action: \"pause\",\n    description: 'Paused using CTRL-Z or \"suspend\"',\n    standard: \"posix\"\n  },\n  {\n    name: \"SIGTTIN\",\n    number: 21,\n    action: \"pause\",\n    description: \"Background process cannot read terminal input\",\n    standard: \"posix\"\n  },\n  {\n    name: \"SIGBREAK\",\n    number: 21,\n    action: \"terminate\",\n    description: \"User interruption with CTRL-BREAK\",\n    standard: \"other\"\n  },\n  {\n    name: \"SIGTTOU\",\n    number: 22,\n    action: \"pause\",\n    description: \"Background process cannot write to terminal output\",\n    standard: \"posix\"\n  },\n  {\n    name: \"SIGURG\",\n    number: 23,\n    action: \"ignore\",\n    description: \"Socket received out-of-band data\",\n    standard: \"bsd\"\n  },\n  {\n    name: \"SIGXCPU\",\n    number: 24,\n    action: \"core\",\n    description: \"Process timed out\",\n    standard: \"bsd\"\n  },\n  {\n    name: \"SIGXFSZ\",\n    number: 25,\n    action: \"core\",\n    description: \"File too big\",\n    standard: \"bsd\"\n  },\n  {\n    name: \"SIGVTALRM\",\n    number: 26,\n    action: \"terminate\",\n    description: \"Timeout or timer\",\n    standard: \"bsd\"\n  },\n  {\n    name: \"SIGPROF\",\n    number: 27,\n    action: \"terminate\",\n    description: \"Timeout or timer\",\n    standard: \"bsd\"\n  },\n  {\n    name: \"SIGWINCH\",\n    number: 28,\n    action: \"ignore\",\n    description: \"Terminal window size changed\",\n    standard: \"bsd\"\n  },\n  {\n    name: \"SIGIO\",\n    number: 29,\n    action: \"terminate\",\n    description: \"I/O is available\",\n    standard: \"other\"\n  },\n  {\n    name: \"SIGPOLL\",\n    number: 29,\n    action: \"terminate\",\n    description: \"Watched event\",\n    standard: \"other\"\n  },\n  {\n    name: \"SIGINFO\",\n    number: 29,\n    action: \"ignore\",\n    description: \"Request for process information\",\n    standard: \"other\"\n  },\n  {\n    name: \"SIGPWR\",\n    number: 30,\n    action: \"terminate\",\n    description: \"Device running out of power\",\n    standard: \"systemv\"\n  },\n  {\n    name: \"SIGSYS\",\n    number: 31,\n    action: \"core\",\n    description: \"Invalid system call\",\n    standard: \"other\"\n  },\n  {\n    name: \"SIGUNUSED\",\n    number: 31,\n    action: \"terminate\",\n    description: \"Invalid system call\",\n    standard: \"other\"\n  }\n];\n\n// ../node_modules/.pnpm/human-signals@3.0.1/node_modules/human-signals/build/src/signals.js\nvar getSignals = function() {\n  const realtimeSignals = getRealtimeSignals();\n  const signals = [...SIGNALS, ...realtimeSignals].map(normalizeSignal);\n  return signals;\n};\nvar normalizeSignal = function({\n  name,\n  number: defaultNumber,\n  description,\n  action,\n  forced = false,\n  standard\n}) {\n  const {\n    signals: { [name]: constantSignal }\n  } = import_os.constants;\n  const supported = constantSignal !== void 0;\n  const number = supported ? constantSignal : defaultNumber;\n  return { name, number, description, supported, action, forced, standard };\n};\n\n// ../node_modules/.pnpm/human-signals@3.0.1/node_modules/human-signals/build/src/main.js\nvar getSignalsByName = function() {\n  const signals = getSignals();\n  return signals.reduce(getSignalByName, {});\n};\nvar getSignalByName = function(signalByNameMemo, { name, number, description, supported, action, forced, standard }) {\n  return {\n    ...signalByNameMemo,\n    [name]: { name, number, description, supported, action, forced, standard }\n  };\n};\nvar signalsByName = getSignalsByName();\nvar getSignalsByNumber = function() {\n  const signals = getSignals();\n  const length = SIGRTMAX + 1;\n  const signalsA = Array.from({ length }, (value, number) => getSignalByNumber(number, signals));\n  return Object.assign({}, ...signalsA);\n};\nvar getSignalByNumber = function(number, signals) {\n  const signal = findSignalByNumber(number, signals);\n  if (signal === void 0) {\n    return {};\n  }\n  const { name, description, supported, action, forced, standard } = signal;\n  return {\n    [number]: {\n      name,\n      number,\n      description,\n      supported,\n      action,\n      forced,\n      standard\n    }\n  };\n};\nvar findSignalByNumber = function(number, signals) {\n  const signal = signals.find(({ name }) => import_os2.constants.signals[name] === number);\n  if (signal !== void 0) {\n    return signal;\n  }\n  return signals.find((signalA) => signalA.number === number);\n};\nvar signalsByNumber = getSignalsByNumber();\n\n// ../node_modules/.pnpm/execa@6.1.0/node_modules/execa/lib/error.js\nvar getErrorPrefix = ({ timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled }) => {\n  if (timedOut) {\n    return `timed out after ${timeout} milliseconds`;\n  }\n  if (isCanceled) {\n    return \"was canceled\";\n  }\n  if (errorCode !== void 0) {\n    return `failed with ${errorCode}`;\n  }\n  if (signal !== void 0) {\n    return `was killed with ${signal} (${signalDescription})`;\n  }\n  if (exitCode !== void 0) {\n    return `failed with exit code ${exitCode}`;\n  }\n  return \"failed\";\n};\nvar makeError = ({\n  stdout,\n  stderr,\n  all,\n  error,\n  signal,\n  exitCode,\n  command,\n  escapedCommand,\n  timedOut,\n  isCanceled,\n  killed,\n  parsed: { options: { timeout } }\n}) => {\n  exitCode = exitCode === null ? void 0 : exitCode;\n  signal = signal === null ? void 0 : signal;\n  const signalDescription = signal === void 0 ? void 0 : signalsByName[signal].description;\n  const errorCode = error && error.code;\n  const prefix = getErrorPrefix({ timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled });\n  const execaMessage = `Command ${prefix}: ${command}`;\n  const isError = Object.prototype.toString.call(error) === \"[object Error]\";\n  const shortMessage = isError ? `${execaMessage}\n${error.message}` : execaMessage;\n  const message = [shortMessage, stderr, stdout].filter(Boolean).join(\"\\n\");\n  if (isError) {\n    error.originalMessage = error.message;\n    error.message = message;\n  } else {\n    error = new Error(message);\n  }\n  error.shortMessage = shortMessage;\n  error.command = command;\n  error.escapedCommand = escapedCommand;\n  error.exitCode = exitCode;\n  error.signal = signal;\n  error.signalDescription = signalDescription;\n  error.stdout = stdout;\n  error.stderr = stderr;\n  if (all !== void 0) {\n    error.all = all;\n  }\n  if (\"bufferedData\" in error) {\n    delete error.bufferedData;\n  }\n  error.failed = true;\n  error.timedOut = Boolean(timedOut);\n  error.isCanceled = isCanceled;\n  error.killed = killed && !timedOut;\n  return error;\n};\n\n// ../node_modules/.pnpm/execa@6.1.0/node_modules/execa/lib/stdio.js\nvar aliases = [\"stdin\", \"stdout\", \"stderr\"];\nvar hasAlias = (options) => aliases.some((alias) => options[alias] !== void 0);\nvar normalizeStdio = (options) => {\n  if (!options) {\n    return;\n  }\n  const { stdio } = options;\n  if (stdio === void 0) {\n    return aliases.map((alias) => options[alias]);\n  }\n  if (hasAlias(options)) {\n    throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${aliases.map((alias) => `\\`${alias}\\``).join(\", \")}`);\n  }\n  if (typeof stdio === \"string\") {\n    return stdio;\n  }\n  if (!Array.isArray(stdio)) {\n    throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n  }\n  const length = Math.max(stdio.length, aliases.length);\n  return Array.from({ length }, (value, index) => stdio[index]);\n};\n\n// ../node_modules/.pnpm/execa@6.1.0/node_modules/execa/lib/kill.js\nvar import_node_os2 = __toESM(require(\"os\"), 1);\nvar import_signal_exit = __toESM(require_signal_exit(), 1);\nvar DEFAULT_FORCE_KILL_TIMEOUT = 1e3 * 5;\nvar spawnedKill = (kill, signal = \"SIGTERM\", options = {}) => {\n  const killResult = kill(signal);\n  setKillTimeout(kill, signal, options, killResult);\n  return killResult;\n};\nvar setKillTimeout = (kill, signal, options, killResult) => {\n  if (!shouldForceKill(signal, options, killResult)) {\n    return;\n  }\n  const timeout = getForceKillAfterTimeout(options);\n  const t = setTimeout(() => {\n    kill(\"SIGKILL\");\n  }, timeout);\n  if (t.unref) {\n    t.unref();\n  }\n};\nvar shouldForceKill = (signal, { forceKillAfterTimeout }, killResult) => isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\nvar isSigterm = (signal) => signal === import_node_os2.default.constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\nvar getForceKillAfterTimeout = ({ forceKillAfterTimeout = true }) => {\n  if (forceKillAfterTimeout === true) {\n    return DEFAULT_FORCE_KILL_TIMEOUT;\n  }\n  if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) {\n    throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n  }\n  return forceKillAfterTimeout;\n};\nvar spawnedCancel = (spawned, context) => {\n  const killResult = spawned.kill();\n  if (killResult) {\n    context.isCanceled = true;\n  }\n};\nvar timeoutKill = (spawned, signal, reject) => {\n  spawned.kill(signal);\n  reject(Object.assign(new Error(\"Timed out\"), { timedOut: true, signal }));\n};\nvar setupTimeout = (spawned, { timeout, killSignal = \"SIGTERM\" }, spawnedPromise) => {\n  if (timeout === 0 || timeout === void 0) {\n    return spawnedPromise;\n  }\n  let timeoutId;\n  const timeoutPromise = new Promise((resolve4, reject) => {\n    timeoutId = setTimeout(() => {\n      timeoutKill(spawned, killSignal, reject);\n    }, timeout);\n  });\n  const safeSpawnedPromise = spawnedPromise.finally(() => {\n    clearTimeout(timeoutId);\n  });\n  return Promise.race([timeoutPromise, safeSpawnedPromise]);\n};\nvar validateTimeout = ({ timeout }) => {\n  if (timeout !== void 0 && (!Number.isFinite(timeout) || timeout < 0)) {\n    throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n  }\n};\nvar setExitHandler = async (spawned, { cleanup, detached }, timedPromise) => {\n  if (!cleanup || detached) {\n    return timedPromise;\n  }\n  const removeExitHandler = (0, import_signal_exit.default)(() => {\n    spawned.kill();\n  });\n  return timedPromise.finally(() => {\n    removeExitHandler();\n  });\n};\n\n// ../node_modules/.pnpm/is-stream@3.0.0/node_modules/is-stream/index.js\nfunction isStream(stream) {\n  return stream !== null && typeof stream === \"object\" && typeof stream.pipe === \"function\";\n}\n\n// ../node_modules/.pnpm/execa@6.1.0/node_modules/execa/lib/stream.js\nvar import_get_stream = __toESM(require_get_stream(), 1);\nvar import_merge_stream = __toESM(require_merge_stream(), 1);\nvar handleInput = (spawned, input) => {\n  if (input === void 0 || spawned.stdin === void 0) {\n    return;\n  }\n  if (isStream(input)) {\n    input.pipe(spawned.stdin);\n  } else {\n    spawned.stdin.end(input);\n  }\n};\nvar makeAllStream = (spawned, { all }) => {\n  if (!all || !spawned.stdout && !spawned.stderr) {\n    return;\n  }\n  const mixed = (0, import_merge_stream.default)();\n  if (spawned.stdout) {\n    mixed.add(spawned.stdout);\n  }\n  if (spawned.stderr) {\n    mixed.add(spawned.stderr);\n  }\n  return mixed;\n};\nvar getBufferedData = async (stream, streamPromise) => {\n  if (!stream) {\n    return;\n  }\n  stream.destroy();\n  try {\n    return await streamPromise;\n  } catch (error) {\n    return error.bufferedData;\n  }\n};\nvar getStreamPromise = (stream, { encoding, buffer, maxBuffer }) => {\n  if (!stream || !buffer) {\n    return;\n  }\n  if (encoding) {\n    return (0, import_get_stream.default)(stream, { encoding, maxBuffer });\n  }\n  return import_get_stream.default.buffer(stream, { maxBuffer });\n};\nvar getSpawnedResult = async ({ stdout, stderr, all }, { encoding, buffer, maxBuffer }, processDone) => {\n  const stdoutPromise = getStreamPromise(stdout, { encoding, buffer, maxBuffer });\n  const stderrPromise = getStreamPromise(stderr, { encoding, buffer, maxBuffer });\n  const allPromise = getStreamPromise(all, { encoding, buffer, maxBuffer: maxBuffer * 2 });\n  try {\n    return await Promise.all([processDone, stdoutPromise, stderrPromise, allPromise]);\n  } catch (error) {\n    return Promise.all([\n      { error, signal: error.signal, timedOut: error.timedOut },\n      getBufferedData(stdout, stdoutPromise),\n      getBufferedData(stderr, stderrPromise),\n      getBufferedData(all, allPromise)\n    ]);\n  }\n};\n\n// ../node_modules/.pnpm/execa@6.1.0/node_modules/execa/lib/promise.js\nvar nativePromisePrototype = (async () => {\n})().constructor.prototype;\nvar descriptors = [\"then\", \"catch\", \"finally\"].map((property) => [\n  property,\n  Reflect.getOwnPropertyDescriptor(nativePromisePrototype, property)\n]);\nvar mergePromise = (spawned, promise) => {\n  for (const [property, descriptor] of descriptors) {\n    const value = typeof promise === \"function\" ? (...args) => Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);\n    Reflect.defineProperty(spawned, property, { ...descriptor, value });\n  }\n  return spawned;\n};\nvar getSpawnedPromise = (spawned) => new Promise((resolve4, reject) => {\n  spawned.on(\"exit\", (exitCode, signal) => {\n    resolve4({ exitCode, signal });\n  });\n  spawned.on(\"error\", (error) => {\n    reject(error);\n  });\n  if (spawned.stdin) {\n    spawned.stdin.on(\"error\", (error) => {\n      reject(error);\n    });\n  }\n});\n\n// ../node_modules/.pnpm/execa@6.1.0/node_modules/execa/lib/command.js\nvar normalizeArgs = (file, args = []) => {\n  if (!Array.isArray(args)) {\n    return [file];\n  }\n  return [file, ...args];\n};\nvar NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nvar DOUBLE_QUOTES_REGEXP = /\"/g;\nvar escapeArg = (arg) => {\n  if (typeof arg !== \"string\" || NO_ESCAPE_REGEXP.test(arg)) {\n    return arg;\n  }\n  return `\"${arg.replace(DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nvar joinCommand = (file, args) => normalizeArgs(file, args).join(\" \");\nvar getEscapedCommand = (file, args) => normalizeArgs(file, args).map((arg) => escapeArg(arg)).join(\" \");\nvar SPACES_REGEXP = / +/g;\nvar parseCommand = (command) => {\n  const tokens = [];\n  for (const token of command.trim().split(SPACES_REGEXP)) {\n    const previousToken = tokens[tokens.length - 1];\n    if (previousToken && previousToken.endsWith(\"\\\\\")) {\n      tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n    } else {\n      tokens.push(token);\n    }\n  }\n  return tokens;\n};\n\n// ../node_modules/.pnpm/execa@6.1.0/node_modules/execa/index.js\nvar DEFAULT_MAX_BUFFER = 1e3 * 1e3 * 100;\nvar getEnv = ({ env: envOption, extendEnv, preferLocal, localDir, execPath }) => {\n  const env2 = extendEnv ? { ...import_node_process3.default.env, ...envOption } : envOption;\n  if (preferLocal) {\n    return npmRunPathEnv({ env: env2, cwd: localDir, execPath });\n  }\n  return env2;\n};\nvar handleArguments = (file, args, options = {}) => {\n  const parsed = import_cross_spawn.default._parse(file, args, options);\n  file = parsed.command;\n  args = parsed.args;\n  options = parsed.options;\n  options = {\n    maxBuffer: DEFAULT_MAX_BUFFER,\n    buffer: true,\n    stripFinalNewline: true,\n    extendEnv: true,\n    preferLocal: false,\n    localDir: options.cwd || import_node_process3.default.cwd(),\n    execPath: import_node_process3.default.execPath,\n    encoding: \"utf8\",\n    reject: true,\n    cleanup: true,\n    all: false,\n    windowsHide: true,\n    ...options\n  };\n  options.env = getEnv(options);\n  options.stdio = normalizeStdio(options);\n  if (import_node_process3.default.platform === \"win32\" && import_node_path2.default.basename(file, \".exe\") === \"cmd\") {\n    args.unshift(\"/q\");\n  }\n  return { file, args, options, parsed };\n};\nvar handleOutput = (options, value, error) => {\n  if (typeof value !== \"string\" && !import_node_buffer.Buffer.isBuffer(value)) {\n    return error === void 0 ? void 0 : \"\";\n  }\n  if (options.stripFinalNewline) {\n    return stripFinalNewline(value);\n  }\n  return value;\n};\nfunction execa(file, args, options) {\n  const parsed = handleArguments(file, args, options);\n  const command = joinCommand(file, args);\n  const escapedCommand = getEscapedCommand(file, args);\n  validateTimeout(parsed.options);\n  let spawned;\n  try {\n    spawned = import_node_child_process.default.spawn(parsed.file, parsed.args, parsed.options);\n  } catch (error) {\n    const dummySpawned = new import_node_child_process.default.ChildProcess();\n    const errorPromise = Promise.reject(makeError({\n      error,\n      stdout: \"\",\n      stderr: \"\",\n      all: \"\",\n      command,\n      escapedCommand,\n      parsed,\n      timedOut: false,\n      isCanceled: false,\n      killed: false\n    }));\n    return mergePromise(dummySpawned, errorPromise);\n  }\n  const spawnedPromise = getSpawnedPromise(spawned);\n  const timedPromise = setupTimeout(spawned, parsed.options, spawnedPromise);\n  const processDone = setExitHandler(spawned, parsed.options, timedPromise);\n  const context = { isCanceled: false };\n  spawned.kill = spawnedKill.bind(null, spawned.kill.bind(spawned));\n  spawned.cancel = spawnedCancel.bind(null, spawned, context);\n  const handlePromise = async () => {\n    const [{ error, exitCode, signal, timedOut }, stdoutResult, stderrResult, allResult] = await getSpawnedResult(spawned, parsed.options, processDone);\n    const stdout = handleOutput(parsed.options, stdoutResult);\n    const stderr = handleOutput(parsed.options, stderrResult);\n    const all = handleOutput(parsed.options, allResult);\n    if (error || exitCode !== 0 || signal !== null) {\n      const returnedError = makeError({\n        error,\n        exitCode,\n        signal,\n        stdout,\n        stderr,\n        all,\n        command,\n        escapedCommand,\n        parsed,\n        timedOut,\n        isCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n        killed: spawned.killed\n      });\n      if (!parsed.options.reject) {\n        return returnedError;\n      }\n      throw returnedError;\n    }\n    return {\n      command,\n      escapedCommand,\n      exitCode: 0,\n      stdout,\n      stderr,\n      all,\n      failed: false,\n      timedOut: false,\n      isCanceled: false,\n      killed: false\n    };\n  };\n  const handlePromiseOnce = onetime_default(handlePromise);\n  handleInput(spawned, parsed.options.input);\n  spawned.all = makeAllStream(spawned, parsed.options);\n  return mergePromise(spawned, handlePromiseOnce);\n}\nfunction execaCommand(command, options) {\n  const [file, ...args] = parseCommand(command);\n  return execa(file, args, options);\n}\n\n// ../node_modules/.pnpm/ansi-regex@6.0.1/node_modules/ansi-regex/index.js\nfunction ansiRegex({ onlyFirst = false } = {}) {\n  const pattern = [\n    \"[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]+)*|[a-zA-Z\\\\d]+(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)\",\n    \"(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PR-TZcf-ntqry=><~]))\"\n  ].join(\"|\");\n  return new RegExp(pattern, onlyFirst ? void 0 : \"g\");\n}\n\n// ../node_modules/.pnpm/strip-ansi@7.1.0/node_modules/strip-ansi/index.js\nvar regex = ansiRegex();\nfunction stripAnsi(string) {\n  if (typeof string !== \"string\") {\n    throw new TypeError(`Expected a \\`string\\`, got \\`${typeof string}\\``);\n  }\n  return string.replace(regex, \"\");\n}\n\n// src/utils/exec.ts\nvar import_tsyringe7 = require(\"tsyringe\");\nvar execLogService = import_tsyringe7.container.resolve(LogService);\nexecLogService.setScope(\"exec-service\");\nasync function run(command, args = [], opt = { stripAnsi: false }) {\n  const { stripAnsi: stripAnsi2, ...execOpt } = opt;\n  execLogService.log(`run ${command} ${args.join(\" \")}`);\n  const { stdout } = await execa(command, args, { ...execOpt, stdio: \"pipe\" });\n  if (stripAnsi2)\n    return stripAnsi(stdout);\n  return stdout;\n}\n\n// src/utils/hexo.ts\nvar toPost = (post) => post;\nvar toPage = (post) => post;\nvar toCategory = (post) => post;\nvar toTag = (post) => post;\n\n// ../server-shared/src/store.ts\nvar import_path7 = require(\"path\");\nvar import_reactivity2 = require(\"@vue/reactivity\");\n\n// ../node_modules/.pnpm/@winwin+server-reactive-store@0.2.2/node_modules/@winwin/server-reactive-store/dist/index.mjs\nvar import_reactivity = require(\"@vue/reactivity\");\nvar import_watch = __toESM(require_dist(), 1);\nvar import_fs3 = require(\"fs\");\nvar import_path6 = require(\"path\");\nvar import_simple_json_db2 = __toESM(require(\"simple-json-db\"), 1);\nvar JSONdbStorageAdapter = class {\n  constructor(root, name = \"database.json\") {\n    if (!(0, import_fs3.existsSync)(root))\n      (0, import_fs3.mkdirSync)(root);\n    this.db = new import_simple_json_db2.default((0, import_path6.resolve)(root, name));\n  }\n  getItem(key) {\n    return this.db.get(key);\n  }\n  setItem(key, value) {\n    this.db.set(key, value);\n  }\n  removeItem(key) {\n    return this.db.delete(key);\n  }\n};\nfunction createStore(key, adapter, setup, {\n  saveAfterCreate = true\n} = {}) {\n  const all = setup();\n  if (!all.state)\n    throw new Error(\"must return object with state property\");\n  const state = (0, import_reactivity.reactive)(all.state);\n  const load = () => {\n    const loaded = adapter.getItem(key);\n    if (loaded)\n      Object.assign(state, loaded);\n  };\n  load();\n  const save = () => adapter.setItem(key, state);\n  (0, import_watch.watch)(state, save, { deep: true, immediate: saveAfterCreate });\n  return { ...all, load, save, state };\n}\nfunction createStoreCreator(adapter) {\n  return function(key, setup) {\n    return createStore(key, adapter, setup);\n  };\n}\n\n// ../server-shared/src/store.ts\nvar ROOT2 = (0, import_path7.resolve)(process.cwd(), \"data\");\nvar NAME = \"database.json\";\nvar createStore2 = createStoreCreator(new JSONdbStorageAdapter(ROOT2, NAME));\nvar scriptStore = createStore2(\"script\", () => {\n  const state = (0, import_reactivity2.reactive)({\n    items: {}\n  });\n  const keys = (0, import_reactivity2.computed)(() => Object.keys(state.items));\n  const getScript = (key) => {\n    var _a;\n    return ((_a = state.items[key]) == null ? void 0 : _a.value) || \"\";\n  };\n  const hasScript = (key) => {\n    var _a;\n    return (_a = state.items[key]) == null ? void 0 : _a.value;\n  };\n  const setScript = (key, script) => {\n    state.items[key] = { value: script };\n  };\n  return { state, keys, getScript, setScript, hasScript };\n});\n\n// src/services/exec-service.ts\nvar import_tsyringe8 = require(\"tsyringe\");\nvar ExecService = class {\n  constructor(_storage, _logService) {\n    this._storage = _storage;\n    this._logService = _logService;\n    this._logService.setScope(\"exec-service\");\n  }\n  _getCwd() {\n    return this._storage.get(HEXO_BASE_DIR_KEY);\n  }\n  async run(command) {\n    if (!command)\n      return;\n    const cwd = toRealPath(this._getCwd());\n    return execaCommand(command, { cwd, stdio: \"inherit\" });\n  }\n};\nExecService = __decorateClass([\n  (0, import_tsyringe8.injectable)(),\n  (0, import_tsyringe8.singleton)(),\n  __decorateParam(0, (0, import_tsyringe8.inject)(StorageService)),\n  __decorateParam(1, (0, import_tsyringe8.inject)(LogService))\n], ExecService);\n\n// src/services/hexo-service.ts\nfunction isAsset(pageOrAsset) {\n  return pageOrAsset.layout === \"false\";\n}\nfunction transformPost(doc) {\n  var _a, _b, _c, _d;\n  return {\n    ...doc,\n    __post: true,\n    slug: doc.slug,\n    date: doc.date.toString(),\n    updated: (_a = doc.updated) == null ? void 0 : _a.toString(),\n    prev: (_b = doc.prev) == null ? void 0 : _b.source,\n    next: (_c = doc.next) == null ? void 0 : _c.source,\n    tags: doc.tags.data.map((t) => t.slug),\n    categories: (_d = doc.categories) == null ? void 0 : _d.data.map((c) => c.slug),\n    brief: doc._content.slice(0, BRIEF_LENGTH)\n  };\n}\nfunction transformPostToBrief({\n  _content,\n  content,\n  raw,\n  ...doc\n}) {\n  return { ...doc, brief: _content.slice(0, BRIEF_LENGTH) };\n}\nfunction transformPage(doc) {\n  var _a, _b, _c;\n  return {\n    ...doc,\n    __page: true,\n    slug: doc.slug,\n    date: doc.date.toString(),\n    updated: (_a = doc.updated) == null ? void 0 : _a.toString(),\n    prev: (_b = doc.prev) == null ? void 0 : _b.source,\n    next: (_c = doc.next) == null ? void 0 : _c.source,\n    brief: doc._content.slice(0, BRIEF_LENGTH)\n  };\n}\nfunction transformPageToBrief({\n  _content,\n  content,\n  raw,\n  ...doc\n}) {\n  return { ...doc, brief: _content.slice(0, BRIEF_LENGTH) };\n}\nvar HexoService = class {\n  constructor(_logService, _hexoInstanceService, _execService) {\n    this._logService = _logService;\n    this._hexoInstanceService = _hexoInstanceService;\n    this._execService = _execService;\n    this._logService.setScope(\"hexo-service\");\n  }\n  async runWithoutModifiedOption(fn) {\n    const { hexo, cleanup } = await this._hexoInstanceService.getInstanceWithOriginOptions();\n    await fn(hexo);\n    await cleanup();\n  }\n  async getPostByFullSource(fullSource) {\n    const hexo = await this._hexoInstanceService.getInstance();\n    const post = hexo.locals.get(\"posts\").toArray().find((item) => item.full_source === fullSource);\n    return this.getPostBySource(post.source);\n  }\n  async getPostOrPageByFullSource(fullSource) {\n    const hexo = await this._hexoInstanceService.getInstance();\n    const post = hexo.locals.get(\"posts\").toArray().find((item) => item.full_source === fullSource);\n    if (post)\n      return this.getPostBySource(post.source);\n    const page = hexo.locals.get(\"pages\").toArray().find((item) => item.full_source === fullSource);\n    return this.getPageBySource(page.source);\n  }\n  writeFile(fullPath, content) {\n    try {\n      import_fs4.default.writeFileSync(fullPath, content);\n    } catch (e) {\n      this._logService.error(\"fail to write file\");\n      throw e;\n    }\n  }\n  deleteFile(fullPath) {\n    try {\n      import_fs4.default.rmSync(fullPath);\n    } catch (e) {\n      this._logService.error(\"fail to delete file\");\n      throw e;\n    }\n  }\n  async getFullPathBySource(source, type) {\n    var _a, _b;\n    const hexo = await this._hexoInstanceService.getInstance();\n    if (type === \"post\")\n      return (_a = hexo.locals.get(\"posts\").toArray().find((item) => item.source === source)) == null ? void 0 : _a.full_source;\n    else\n      return (_b = hexo.locals.get(\"pages\").toArray().find((item) => item.source === source)) == null ? void 0 : _b.full_source;\n  }\n  async WithCategoriesTagsBriefArticleList(article) {\n    const categories = await this.listCategory();\n    const tags = await this.listTag();\n    const pages = await this.listPage();\n    const posts = await this.listPost();\n    return { article, categories, tags, pages, posts };\n  }\n  async listPost() {\n    const hexo = await this._hexoInstanceService.getInstance();\n    const docs = hexo.locals.get(\"posts\").toArray().map(toPost);\n    const res = docs.map((postDoc) => {\n      const post = transformPostToBrief(transformPost(postDoc));\n      delete post.content;\n      delete post._content;\n      delete post.raw;\n      delete post.more;\n      return post;\n    });\n    this._logService.log(\"list post\", res.length);\n    return res;\n  }\n  async getPostBySource(source) {\n    const hexo = await this._hexoInstanceService.getInstance();\n    const docs = hexo.locals.get(\"posts\").toArray().map(toPost);\n    const doc = docs.find((item) => item.source === source);\n    if (!doc)\n      return;\n    const res = transformPost(doc);\n    this._logService.log(\"get post by source\", source);\n    return res;\n  }\n  async listPage() {\n    const hexo = await this._hexoInstanceService.getInstance();\n    const docs = hexo.locals.get(\"pages\").toArray().map(toPage).filter((doc) => !isAsset(doc));\n    const res = docs.map((pageDoc) => {\n      const page = transformPageToBrief(transformPage(pageDoc));\n      delete page.content;\n      delete page._content;\n      delete page.raw;\n      delete page.more;\n      return page;\n    });\n    this._logService.log(\"list page\", res.length);\n    return res;\n  }\n  async getPageBySource(source) {\n    const hexo = await this._hexoInstanceService.getInstance();\n    const docs = hexo.locals.get(\"pages\").toArray().map(toPage);\n    const doc = docs.find((item) => item.source === source);\n    if (!doc || isAsset(doc))\n      throw new PostOrPageNotFoundError(\"page\");\n    const res = transformPage(doc);\n    this._logService.log(\"get page by source\", source);\n    return res;\n  }\n  async listCategory() {\n    const hexo = await this._hexoInstanceService.getInstance();\n    const docs = hexo.locals.get(\"categories\").toArray().map(toCategory);\n    const res = docs.map((categoryDoc) => ({\n      ...categoryDoc,\n      posts: categoryDoc.posts.map((p) => p.slug)\n    }));\n    this._logService.log(\"list category\", res.length);\n    return res;\n  }\n  async listTag() {\n    const hexo = await this._hexoInstanceService.getInstance();\n    const docs = hexo.locals.get(\"tags\").toArray().map(toTag);\n    const res = docs.map((tagDoc) => ({\n      ...tagDoc,\n      posts: tagDoc.posts.map((p) => p.slug)\n    }));\n    this._logService.log(\"list tag\", res.length);\n    return res;\n  }\n  async deploy(options = {}) {\n    if (scriptStore.hasScript(\"hexo-deploy\")) {\n      await this._execService.run(scriptStore.getScript(\"hexo-deploy\")).catch((err) => {\n        this._logService.error(err);\n        throw new ScriptError(\n          \"fail to run hexo deploy script\",\n          \"HexoDeployScriptError\"\n        );\n      });\n      return;\n    }\n    const { generate = false } = options;\n    const args = [];\n    if (generate)\n      args.push(\"--generate\");\n    this.runWithoutModifiedOption(async (hexo) => {\n      await hexo.call(\"deploy\", { _: args });\n      await hexo.exit();\n    });\n    this._logService.log(`run hexo deploy with args:`, args.join(\" \"));\n  }\n  async generate(options = {}) {\n    if (scriptStore.hasScript(\"hexo-generate\")) {\n      await this._execService.run(scriptStore.getScript(\"hexo-generate\")).catch((err) => {\n        this._logService.error(err);\n        throw new ScriptError(\n          \"fail to run hexo generate script\",\n          \"HexoGenerateScriptError\"\n        );\n      });\n      return;\n    }\n    const {\n      deploy = false,\n      watch: watch2 = false,\n      bail = false,\n      force = false,\n      concurrency = false\n    } = options;\n    const args = [];\n    if (deploy)\n      args.push(\"--deploy\");\n    if (watch2)\n      args.push(\"--watch\");\n    if (bail)\n      args.push(\"--bail\");\n    if (force)\n      args.push(\"--force\");\n    this.runWithoutModifiedOption(async (hexo) => {\n      if (concurrency)\n        args.push(\"--concurrency\");\n      await hexo.call(\"generate\", { _: args });\n      await hexo.exit();\n    });\n    this._logService.log(`run hexo generate with args:`, args.join(\" \"));\n  }\n  async clean() {\n    if (scriptStore.hasScript(\"hexo-clean\")) {\n      await this._execService.run(scriptStore.getScript(\"hexo-clean\")).catch((err) => {\n        this._logService.error(err);\n        throw new ScriptError(\n          \"fail to run hexo clean script\",\n          \"HexoCleanScriptError\"\n        );\n      });\n      return;\n    }\n    this.runWithoutModifiedOption(async (hexo) => {\n      await hexo.call(\"clean\");\n      await hexo.exit();\n    });\n    this._logService.log(\"run hexo clean\");\n  }\n  async publish(filename, layout) {\n    const args = [\"publish\"];\n    if (layout)\n      args.push(layout);\n    args.push(filename);\n    const info = await this._hexoInstanceService.runBetweenReload(\n      async () => await run(\"hexo\", args, {\n        cwd: await this._hexoInstanceService.getBaseDir(),\n        stripAnsi: true\n      })\n    );\n    const fullSource = expandHomeDir(info.split(\"Published: \")[1].trim());\n    const article = await this.getPostByFullSource(fullSource);\n    const res = await this.WithCategoriesTagsBriefArticleList(article);\n    this._logService.log(`publish ${filename} with layout: ${layout}`);\n    return res;\n  }\n  async create(title, options = {}) {\n    const args = [\"new\"];\n    if (options.layout)\n      args.push(options.layout);\n    if (options.path) {\n      const base = await this._hexoInstanceService.getBaseDir();\n      const fullPath = import_path8.default.resolve(base, options.path);\n      const relative = import_path8.default.relative(fullPath, base);\n      if (!relative.startsWith(\"..\")) {\n        this._logService.error(`${fullPath} is not valid`);\n        throw new InvalidOptionsError(\n          `${options.path} is not inside hexo blog folder`,\n          \"InvalidCreatePathError\"\n        );\n      }\n      args.push(\"--path\");\n      args.push(options.path);\n    }\n    if (options.replace)\n      args.push(\"--replace\");\n    if (options.slug) {\n      args.push(\"--slug\");\n      args.push(options.slug);\n    }\n    if (title)\n      args.push(title);\n    const info = await this._hexoInstanceService.runBetweenReload(async () => {\n      return await run(\"hexo\", args, {\n        cwd: await this._hexoInstanceService.getBaseDir(),\n        stripAnsi: true\n      });\n    });\n    const fullSource = expandHomeDir(info.split(\"Created: \")[1].trim());\n    const article = await this.getPostOrPageByFullSource(fullSource);\n    const res = this.WithCategoriesTagsBriefArticleList(article);\n    this._logService.log(\"create succeed\", fullSource);\n    return res;\n  }\n  async update(source, raw, type) {\n    const fullPath = await this.getFullPathBySource(source, type);\n    if (!fullPath)\n      throw new PostOrPageNotFoundError(type);\n    await this._hexoInstanceService.runBetweenReload(() => {\n      this.writeFile(fullPath, raw);\n    });\n    this._logService.log(`${type} update succeed`, fullPath);\n    if (type === \"post\") {\n      return this.WithCategoriesTagsBriefArticleList(await this.getPostBySource(source));\n    } else {\n      return this.WithCategoriesTagsBriefArticleList(await this.getPageBySource(source));\n    }\n  }\n  async delete(source, type) {\n    const fullPath = await this.getFullPathBySource(source, type);\n    if (!fullPath)\n      throw new PostOrPageNotFoundError(type);\n    await this._hexoInstanceService.runBetweenReload(async () => {\n      await this.deleteFile(fullPath);\n    });\n    return this.WithCategoriesTagsBriefArticleList(void 0);\n  }\n};\nHexoService = __decorateClass([\n  (0, import_tsyringe9.injectable)(),\n  (0, import_tsyringe9.singleton)(),\n  __decorateParam(0, (0, import_tsyringe9.inject)(LogService)),\n  __decorateParam(1, (0, import_tsyringe9.inject)(HexoInstanceService)),\n  __decorateParam(2, (0, import_tsyringe9.inject)(ExecService))\n], HexoService);\n\n// src/routes/hexo.ts\nvar router2 = new import_router2.default();\nrouter2.prefix(\"/hexo\");\nrouter2.get(\"/posts\", async (ctx) => {\n  const hexo = import_tsyringe10.container.resolve(HexoService);\n  ctx.body = await hexo.listPost();\n});\nrouter2.get(\"/post/:source\", async (ctx) => {\n  const hexo = import_tsyringe10.container.resolve(HexoService);\n  const { source } = ctx.params;\n  if (!source) {\n    ctx.status = 400;\n    ctx.body = \"need `source`\";\n  }\n  const post = await hexo.getPostBySource(decodeURIComponent(source));\n  if (!post)\n    throw new PostOrPageNotFoundError(\"post\");\n  ctx.body = post;\n});\nrouter2.get(\"/pages\", async (ctx) => {\n  const hexo = import_tsyringe10.container.resolve(HexoService);\n  ctx.body = await hexo.listPage();\n});\nrouter2.get(\"/page/:source\", async (ctx) => {\n  const hexo = import_tsyringe10.container.resolve(HexoService);\n  const { source } = ctx.params;\n  if (!source) {\n    ctx.status = 400;\n    ctx.body = \"need `source`\";\n  }\n  ctx.body = await hexo.getPageBySource(decodeURIComponent(source));\n});\nrouter2.get(\"/tags\", async (ctx) => {\n  const hexo = import_tsyringe10.container.resolve(HexoService);\n  ctx.body = await hexo.listTag();\n});\nrouter2.get(\"/categories\", async (ctx) => {\n  const hexo = import_tsyringe10.container.resolve(HexoService);\n  ctx.body = await hexo.listCategory();\n});\nrouter2.post(\"/deploy\", async (ctx) => {\n  const hexo = import_tsyringe10.container.resolve(HexoService);\n  await hexo.deploy(ctx.request.body);\n  ctx.status = 200;\n});\nrouter2.post(\"/generate\", async (ctx) => {\n  const hexo = import_tsyringe10.container.resolve(HexoService);\n  await hexo.generate(ctx.request.body);\n  ctx.status = 200;\n});\nrouter2.post(\"/clean\", async (ctx) => {\n  const hexo = import_tsyringe10.container.resolve(HexoService);\n  await hexo.clean();\n  ctx.status = 200;\n});\nrouter2.post(\"/publish\", async (ctx) => {\n  const hexo = import_tsyringe10.container.resolve(HexoService);\n  const { filename, layout } = ctx.request.body;\n  if (!filename) {\n    ctx.status = 400;\n    ctx.body = \"need `filename`\";\n    return;\n  }\n  ctx.body = await hexo.publish(filename, layout);\n});\nrouter2.post(\"/create\", async (ctx) => {\n  const hexo = import_tsyringe10.container.resolve(HexoService);\n  const { title, layout, path: path9, slug, replace } = ctx.request.body;\n  if (!title) {\n    ctx.status = 400;\n    ctx.body = \"need `title`\";\n    return;\n  }\n  ctx.body = await hexo.create(title, { layout, path: path9, slug, replace });\n});\nrouter2.put(\"/post/:source\", async (ctx) => {\n  const hexo = import_tsyringe10.container.resolve(HexoService);\n  const { source } = ctx.params;\n  const { raw } = ctx.request.body;\n  if (!source || !raw) {\n    ctx.status = 400;\n    ctx.body = \"need `source` and `raw`\";\n    return;\n  }\n  ctx.body = await hexo.update(source, raw, \"post\");\n});\nrouter2.put(\"/page/:source\", async (ctx) => {\n  const hexo = import_tsyringe10.container.resolve(HexoService);\n  const { source } = ctx.params;\n  const { raw } = ctx.request.body;\n  if (!source || !raw) {\n    ctx.status = 400;\n    ctx.body = \"need `source` and `raw`\";\n    return;\n  }\n  ctx.body = await hexo.update(source, raw, \"page\");\n});\nrouter2.delete(\"/post/:source\", async (ctx) => {\n  const hexo = import_tsyringe10.container.resolve(HexoService);\n  const { source } = ctx.params;\n  if (!source) {\n    ctx.status = 400;\n    ctx.body = \"need `source` \";\n    return;\n  }\n  ctx.body = await hexo.delete(source, \"post\");\n});\nrouter2.delete(\"/page/:source\", async (ctx) => {\n  const hexo = import_tsyringe10.container.resolve(HexoService);\n  const { source } = ctx.params;\n  if (!source) {\n    ctx.status = 400;\n    ctx.body = \"need `source` \";\n    return;\n  }\n  ctx.body = await hexo.delete(source, \"page\");\n});\nvar hexo_default = router2;\n\n// src/routes/git.ts\nvar import_tsyringe12 = require(\"tsyringe\");\nvar import_router3 = __toESM(require(\"@koa/router\"));\n\n// src/services/git-service.ts\nvar import_tsyringe11 = require(\"tsyringe\");\nasync function isClean(repoPath) {\n  return !await run(\"git\", [\"status\", \"-s\"], { cwd: repoPath });\n}\nasync function hasRepo(repoPath) {\n  return run(\"git\", [\"rev-parse\", \"--is-inside-work-tree\"], {\n    cwd: repoPath\n  }).then(\n    () => true,\n    () => false\n  );\n}\nasync function hasRemtoe(repoPath) {\n  return !!await run(\"git\", [\"remote\", \"-v\"], { cwd: repoPath });\n}\nvar GitService = class {\n  constructor(storage, _logService, _execService) {\n    this.storage = storage;\n    this._logService = _logService;\n    this._execService = _execService;\n    this._logService.setScope(\"git-service\");\n  }\n  async sync() {\n    if (scriptStore.hasScript(\"git-sync\"))\n      return this._execService.run(scriptStore.getScript(\"git-sync\")).catch((err) => {\n        this._logService.error(err);\n        throw new ScriptError(\n          \"fail to run git sync script\",\n          \"GitSyncScriptError\"\n        );\n      });\n    const base = this.storage.get(HEXO_BASE_DIR_KEY);\n    const cwd = toRealPath(base);\n    if (!await hasRepo(cwd)) {\n      this._logService.log(\"not git repo, skipped\");\n      return;\n    }\n    await run(\"git\", [\"reset\", \"--hard\"], { cwd }).catch((err) => {\n      this._logService.error(err);\n      this._logService.error(\"git reset hard error\");\n      throw err;\n    });\n    this._logService.log(\"git reset succeed\");\n    if (await hasRemtoe(cwd)) {\n      await run(\"git\", [\"pull\"], { cwd }).catch((err) => {\n        this._logService.error(err);\n        this._logService.error(\"git pull error\");\n        throw err;\n      });\n    } else {\n      this._logService.log(\"no remote detected, skip pull\");\n    }\n    this._logService.log(\"sync succeed\");\n  }\n  async save() {\n    if (scriptStore.hasScript(\"git-save\"))\n      return this._execService.run(scriptStore.getScript(\"git-save\")).catch((err) => {\n        this._logService.error(err);\n        throw new ScriptError(\n          \"fail to run git save script\",\n          \"GitSaveScriptError\"\n        );\n      });\n    const base = this.storage.get(HEXO_BASE_DIR_KEY);\n    const cwd = toRealPath(base);\n    if (!await hasRepo(cwd)) {\n      this._logService.log(\"not git repo, skipped\");\n      return;\n    }\n    if (await isClean(cwd)) {\n      this._logService.log(\"work space clean no need to save\");\n      return;\n    }\n    await run(\"git\", [\"add\", \".\", \"--all\"], { cwd }).catch((err) => {\n      this._logService.error(err);\n      this._logService.error(\"git add all error\");\n      throw err;\n    });\n    this._logService.log(\"git add succeed\");\n    await run(\n      \"git\",\n      [\"commit\", \"-m\", `server update ${new Date().toString()}`],\n      { cwd }\n    ).catch((err) => {\n      this._logService.error(err);\n      this._logService.error(\"git commit error\");\n      throw err;\n    });\n    this._logService.log(\"git commit succeed\");\n    if (await hasRemtoe(cwd)) {\n      await run(\"git\", [\"push\"], { cwd }).catch((err) => {\n        this._logService.error(err);\n        this._logService.error(\"git push error\");\n        throw err;\n      });\n    } else {\n      this._logService.log(\"no remote detected, skip push\");\n    }\n    this._logService.log(\"save succeed\");\n  }\n};\nGitService = __decorateClass([\n  (0, import_tsyringe11.injectable)(),\n  (0, import_tsyringe11.singleton)(),\n  __decorateParam(0, (0, import_tsyringe11.inject)(StorageService)),\n  __decorateParam(1, (0, import_tsyringe11.inject)(LogService)),\n  __decorateParam(2, (0, import_tsyringe11.inject)(ExecService))\n], GitService);\n\n// src/routes/git.ts\nvar router3 = new import_router3.default();\nrouter3.prefix(\"/git\");\nrouter3.post(\"/sync\", async (ctx) => {\n  const git = import_tsyringe12.container.resolve(GitService);\n  await git.sync();\n  ctx.status = 200;\n});\nrouter3.post(\"/save\", async (ctx) => {\n  const git = import_tsyringe12.container.resolve(GitService);\n  await git.save();\n  ctx.status = 200;\n});\nvar git_default = router3;\n\n// src/routes/settings.ts\nvar import_tsyringe14 = require(\"tsyringe\");\nvar import_router4 = __toESM(require(\"@koa/router\"));\n\n// src/services/settings-service.ts\nvar import_tsyringe13 = require(\"tsyringe\");\nvar SettingsService = class {\n  constructor(_storageService) {\n    this._storageService = _storageService;\n  }\n  async get() {\n    return this._storageService.get(SettingsService.KEY) || {};\n  }\n  async set(settings) {\n    this._storageService.set(SettingsService.KEY, settings);\n  }\n};\nSettingsService.KEY = \"settings\";\nSettingsService = __decorateClass([\n  (0, import_tsyringe13.injectable)(),\n  (0, import_tsyringe13.singleton)(),\n  __decorateParam(0, (0, import_tsyringe13.inject)(StorageService))\n], SettingsService);\n\n// src/routes/settings.ts\nvar router4 = new import_router4.default();\nrouter4.get(\"/settings\", async (ctx) => {\n  const settingsService = import_tsyringe14.container.resolve(SettingsService);\n  ctx.body = await settingsService.get();\n});\nrouter4.post(\"/settings\", async (ctx) => {\n  var _a;\n  const settingsService = import_tsyringe14.container.resolve(SettingsService);\n  const settings = (_a = ctx.request.body) != null ? _a : {};\n  await settingsService.set(settings);\n  ctx.status = 200;\n});\nvar settings_default = router4;\n\n// src/routes/template.ts\nvar import_router5 = __toESM(require(\"@koa/router\"));\nvar import_tsyringe16 = require(\"tsyringe\");\n\n// src/services/frontmatter-template-service.ts\nvar import_tsyringe15 = require(\"tsyringe\");\nvar FrontmatterTemplateService = class {\n  constructor(_storageService) {\n    this._storageService = _storageService;\n  }\n  _list() {\n    return this._storageService.get(\n      FrontmatterTemplateService.KEY\n    ) || [];\n  }\n  _set(items) {\n    this._storageService.set(\n      FrontmatterTemplateService.KEY,\n      items\n    );\n  }\n  async list() {\n    return this._list();\n  }\n  async set(items) {\n    this._set(items);\n  }\n};\nFrontmatterTemplateService.KEY = \"frontmatter-template\";\nFrontmatterTemplateService = __decorateClass([\n  (0, import_tsyringe15.injectable)(),\n  (0, import_tsyringe15.singleton)(),\n  __decorateParam(0, (0, import_tsyringe15.inject)(StorageService))\n], FrontmatterTemplateService);\n\n// src/routes/template.ts\nvar router5 = new import_router5.default();\nrouter5.prefix(\"/template\");\nrouter5.get(\"/frontmatter\", async (ctx) => {\n  const frontmatterTemplateService = import_tsyringe16.container.resolve(\n    FrontmatterTemplateService\n  );\n  const items = await frontmatterTemplateService.list();\n  ctx.body = { items };\n});\nrouter5.post(\"/frontmatter\", async (ctx) => {\n  var _a;\n  const items = (_a = ctx.request.body) == null ? void 0 : _a.items;\n  if (!items)\n    throw new InvalidOptionsError(\"`raw` is required\");\n  const frontmatterTemplateService = import_tsyringe16.container.resolve(\n    FrontmatterTemplateService\n  );\n  await frontmatterTemplateService.set(items);\n  ctx.status = 200;\n  ctx.body = { message: \"OK\" };\n});\nvar template_default = router5;\n\n// src/routes/index.ts\nvar router6 = new import_router6.default();\nrouter6.use(auth.auth);\nrouter6.use(health_default.routes());\nrouter6.use(hexo_default.routes());\nrouter6.use(git_default.routes());\nrouter6.use(settings_default.routes());\nrouter6.use(template_default.routes());\nvar routes_default = router6;\n\n// src/app.ts\nvar logService = import_tsyringe17.container.resolve(LogService);\nlogService.setScope(\"app\");\nvar app = new import_koa.default();\napp.use(async (ctx, next) => {\n  try {\n    await next();\n  } catch (e) {\n    const err = e instanceof Error ? e : new Error(e);\n    const status = err.status || 500;\n    const message = err.message || \"internal server error\";\n    const id = err.id || \"UnkownError\";\n    ctx.status = status;\n    ctx.body = { status, message, id };\n    if (status === 500)\n      logService.error(err);\n  }\n});\napp.use((0, import_koa_bodyparser.default)());\napp.use((0, import_koa_compress.default)());\napp.use(http_secure_default());\napp.use((0, import_koa_logger.default)());\napp.use((0, import_koa_mount.default)(\"/\", statics));\napp.use(auth.router.routes());\napp.use(routes_default.routes());\nvar app_default = app;\n\n// src/index.ts\nvar import_path9 = __toESM(require(\"path\"));\n\n// ../server-shared/src/env-service.ts\nvar import_tsyringe18 = require(\"tsyringe\");\nvar EnvService = class {\n  constructor(storage, account, _logService) {\n    this.storage = storage;\n    this.account = account;\n    this._logService = _logService;\n    this._logService.setScope(\"env-service\");\n  }\n  sync() {\n    this.syncAccount();\n    this.syncHexon();\n    this.syncHexo();\n  }\n  syncAccount() {\n    const username = process.env.HEXON_USERNAME;\n    const password = process.env.HEXON_PASSWORD;\n    if (username) {\n      this._logService.log(`sync account from process.env.HEXON_USERNAME`);\n      this.account.setUsername(username);\n    }\n    if (password) {\n      this._logService.log(`sync account from process.env.HEXON_PASSWORD`);\n      this.account.setPassword(password);\n    }\n  }\n  syncHexon() {\n    const port = process.env.HEXON_PORT;\n    if (port) {\n      this._logService.log(`sync hexon port from process.env.HEXON_PORT`);\n      this.storage.set(HEXON_PORT_KEY, port);\n    }\n  }\n  syncHexo() {\n    const base = process.env.HEXO_BASE;\n    if (base) {\n      this._logService.log(`sync hexo base from process.env.HEXO_BASE`);\n      this.storage.set(HEXO_BASE_DIR_KEY, base);\n    }\n  }\n};\nEnvService = __decorateClass([\n  (0, import_tsyringe18.injectable)(),\n  (0, import_tsyringe18.singleton)(),\n  __decorateParam(0, (0, import_tsyringe18.inject)(StorageService)),\n  __decorateParam(1, (0, import_tsyringe18.inject)(AccountService)),\n  __decorateParam(2, (0, import_tsyringe18.inject)(LogService))\n], EnvService);\n\n// src/index.ts\n(async () => {\n  dotenv.config({\n    path: process.env.NODE_ENV === \"production\" ? process.cwd() + \"/.env\" : import_path9.default.resolve(process.cwd(), \"../.env\")\n  });\n  const storage = import_tsyringe19.container.resolve(StorageService);\n  const server = import_http.default.createServer(app_default.callback());\n  server.on(\"listening\", () => {\n    const addr = server.address();\n    const bind = typeof addr === \"string\" ? \"pipe \" + addr : \"http://localhost:\" + addr.port;\n    console.log(\"Server running on \" + bind);\n    const his = import_tsyringe19.container.resolve(HexoInstanceService);\n    his.init().catch(console.error);\n  });\n  const env2 = import_tsyringe19.container.resolve(EnvService);\n  await env2.sync();\n  server.listen(storage.get(HEXON_PORT_KEY) || HEXON_DEFAULT_PORT);\n})();\n/*! #__NO_SIDE_EFFECTS__ */\n/**\n* @vue/shared v3.4.25\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\n"
  },
  {
    "path": "server/jest.config.js",
    "content": "module.exports = {\n  preset: \"ts-jest\",\n  testEnvironment: \"node\",\n}\n"
  },
  {
    "path": "server/nodemon.json",
    "content": "{\n  \"exec\": \"pnpm run build && pnpm run start\",\n  \"watch\": [\"./src\"],\n  \"ext\": \"ts\",\n  \"env\": {\n    \"NODE_ENV\": \"development\"\n  }\n}\n"
  },
  {
    "path": "server/package.json",
    "content": "{\n  \"private\": true,\n  \"scripts\": {\n    \"setup\": \"node ./bin/index.js install\",\n    \"resetpwd\": \"node ./bin/index.js resetpwd\",\n    \"script\": \"node ./bin/index.js script\",\n    \"start\": \"cross-env DEBUG=null NODE_ENV=production && node dist/index.js\",\n    \"prd\": \"pm2 start dist/index.js --name hexon -o log/pm2-log.log -e log/pm2-err.log\",\n    \"dev\": \"pnpm run build && nodemon ./dist/index.js\",\n    \"build\": \"rimraf dist && node ./scripts/build.mjs\",\n    \"test\": \"jest\"\n  },\n  \"dependencies\": {\n    \"@koa/cors\": \"^3.4.3\",\n    \"@koa/router\": \"^10.1.1\",\n    \"@vue/reactivity\": \"^3.4.34\",\n    \"@winwin/koa-authentication\": \"^0.2.3\",\n    \"@winwin/server-reactive-store\": \"^0.2.2\",\n    \"basic-auth\": \"^2.0.1\",\n    \"chalk\": \"^5.3.0\",\n    \"commander\": \"^9.5.0\",\n    \"cross-env\": \"^7.0.3\",\n    \"crypto-js\": \"^4.2.0\",\n    \"dayjs\": \"^1.11.12\",\n    \"debug\": \"^4.3.5\",\n    \"dotenv\": \"^16.4.5\",\n    \"execa\": \"^6.1.0\",\n    \"hexo\": \"^7.3.0\",\n    \"http-errors\": \"^2.0.0\",\n    \"inquirer\": \"^8.2.6\",\n    \"jsencrypt\": \"^3.3.2\",\n    \"jsonwebtoken\": \"^8.5.1\",\n    \"koa\": \"^2.15.3\",\n    \"koa-bodyparser\": \"^4.4.1\",\n    \"koa-compose\": \"^4.1.0\",\n    \"koa-compress\": \"^5.1.1\",\n    \"koa-logger\": \"^3.2.1\",\n    \"koa-mount\": \"^4.0.0\",\n    \"koa-router\": \"^10.1.1\",\n    \"koa-static\": \"^5.0.0\",\n    \"koa2-cors\": \"^2.0.6\",\n    \"node-jsencrypt\": \"^1.0.0\",\n    \"reflect-metadata\": \"^0.1.14\",\n    \"simple-json-db\": \"^2.0.0\",\n    \"strip-ansi\": \"^7.1.0\",\n    \"tsyringe\": \"^4.8.0\",\n    \"winston\": \"^3.13.1\"\n  }\n}\n"
  },
  {
    "path": "server/scripts/build.mjs",
    "content": "import esbuild from \"esbuild\"\nimport { esbuildPluginNodeExternals } from \"esbuild-plugin-node-externals\"\nimport chalk from \"chalk\"\n\nconst INCLUDE_MODULES = [\n  \"execa\",\n  \"chalk\",\n  \"@winwin/server-reactive-store\",\n  // 为了让 store 工作，如果不加，store 中的 watch 会失效\n  \"strip-ansi\",\n]\n\n// FIXME replace with picocolors\nfunction buildServer() {\n  console.log(chalk.gray(\"[server]\"), chalk.green(\"Building server...\"))\n  return new Promise((resolve) => {\n    esbuild\n      .build({\n        entryPoints: [\"./src/index.ts\"],\n        bundle: true,\n        platform: \"node\",\n        target: \"node12\",\n        outfile: \"dist/index.js\",\n        plugins: [\n          esbuildPluginNodeExternals({\n            include: INCLUDE_MODULES,\n          }),\n        ],\n      })\n      .then(() => {\n        // eslint-disable-next-line no-console\n        console.log(chalk.gray(\"[server]\"), chalk.green(\"Build finished.\"))\n        resolve()\n      })\n  })\n}\n\nbuildServer()\n"
  },
  {
    "path": "server/src/app.ts",
    "content": "import { container } from \"tsyringe\"\nimport cors from \"@koa/cors\"\nimport Koa from \"koa\"\nimport bodyParser from \"koa-bodyparser\"\nimport compress from \"koa-compress\"\nimport logger from \"koa-logger\"\nimport mount from \"koa-mount\"\nimport { auth } from \"./middlewares/auth\"\nimport { statics } from \"./middlewares/statics\"\nimport { LogService } from \"@server-shared/log-service\"\nimport httpSecure from \"./lib/http-secure\"\nimport router from \"./routes\"\nimport { HttpError } from \"http-errors\"\n\nconst logService = container.resolve(LogService)\nlogService.setScope(\"app\")\n\nconst app = new Koa()\n\napp.use(async (ctx, next) => {\n  try {\n    await next()\n  } catch (e) {\n    const err = (e instanceof Error ? e : new Error(e as any)) as HttpError\n    const status = err.status || 500\n    const message = err.message || \"internal server error\"\n    const id = err.id || \"UnkownError\"\n    ctx.status = status\n    ctx.body = { status, message, id }\n    if (status === 500) logService.error(err)\n  }\n})\n\napp.use(bodyParser())\napp.use(compress())\napp.use(httpSecure())\napp.use(logger())\n\napp.use(mount(\"/\", statics))\n\napp.use(auth.router.routes())\napp.use(router.routes())\n\nexport default app\n"
  },
  {
    "path": "server/src/errors.ts",
    "content": "import { NotFound, BadRequest, InternalServerError } from \"http-errors\"\n\nexport class PostOrPageNotFoundError extends NotFound {\n  public id = \"PostOrPageNotFoundError\"\n  constructor(type: \"post\" | \"page\", msg?: string) {\n    super(msg ?? `${type} not found`)\n  }\n}\n\nexport class HexoInitError extends InternalServerError {\n  public id = \"HexoInitError\"\n}\n\nexport class InvalidOptionsError extends BadRequest {\n  constructor(message: string, public id: string = \"InvalidOptionsError\") {\n    super(message)\n  }\n}\n\nexport class ScriptError extends InternalServerError {\n  public id: string\n  constructor(message: string, id = \"ScriptError\") {\n    super(message)\n    this.id = id\n  }\n}\n"
  },
  {
    "path": "server/src/index.ts",
    "content": "import \"reflect-metadata\"\nimport * as dotenv from \"dotenv\"\nimport { container } from \"tsyringe\"\nimport http from \"http\"\nimport { HEXON_DEFAULT_PORT, HEXON_PORT_KEY } from \"@server-shared/constants\"\nimport { StorageService } from \"@server-shared/storage-service\"\nimport { HexoInstanceService } from \"@server/services/hexo-instance-service\"\nimport app from \"@server/app\"\nimport path from \"path\"\nimport { EnvService } from \"@server-shared/env-service\"\n;(async () => {\n  dotenv.config({\n    path:\n      process.env.NODE_ENV === \"production\"\n        ? process.cwd() + \"/.env\"\n        : path.resolve(process.cwd(), \"../.env\"),\n  })\n  const storage = container.resolve<StorageService>(StorageService)\n  const server = http.createServer(app.callback())\n  server.on(\"listening\", () => {\n    const addr = server.address()\n    const bind =\n      typeof addr === \"string\"\n        ? \"pipe \" + addr\n        : \"http://localhost:\" + addr!.port\n    console.log(\"Server running on \" + bind)\n    const his = container.resolve(HexoInstanceService)\n    his.init().catch(console.error)\n  })\n  const env = container.resolve<EnvService>(EnvService)\n  await env.sync()\n  server.listen(storage.get(HEXON_PORT_KEY) || HEXON_DEFAULT_PORT)\n})()\n"
  },
  {
    "path": "server/src/lib/http-secure.ts",
    "content": "import chalk from \"chalk\"\nimport crypto from \"crypto\"\nimport CryptoJS from \"crypto-js\"\nimport { Context, Next } from \"koa\"\nimport JSEncrypt from \"node-jsencrypt\"\n\nfunction secure(enable = () => true) {\n  const { publicKey, privateKey } = crypto.generateKeyPairSync(\"rsa\", {\n    // The standard secure default length for RSA keys is 2048 bits\n    modulusLength: 2048,\n    publicKeyEncoding: {\n      type: \"spki\",\n      format: \"pem\",\n    },\n    privateKeyEncoding: {\n      type: \"pkcs1\",\n      format: \"pem\",\n    },\n  })\n\n  function decryptRSA(data: string) {\n    const o = new JSEncrypt()\n    o.setPrivateKey(privateKey)\n    const res = o.decrypt(data)\n    return res\n  }\n\n  function decryptAES(data: string, key: string) {\n    return CryptoJS.AES.decrypt(data, key).toString(CryptoJS.enc.Utf8)\n  }\n\n  function encryptAES(data: string, key: string) {\n    return CryptoJS.AES.encrypt(data, key).toString()\n  }\n\n  CryptoJS.AES.encrypt('\"hi\"', \"123\").toString()\n\n  function isGetPublicKeyRoute(ctx: Context) {\n    return (\n      ctx.request.path.startsWith(\"/publickey\") && ctx.request.method === \"GET\"\n    )\n  }\n\n  interface IData {\n    /**\n     * real data passed to axios config.data\n     */\n    data: any\n  }\n\n  function stringifyData(data: IData): string {\n    return JSON.stringify(data)\n  }\n\n  function parseData(data: string): IData {\n    const str = data\n    return JSON.parse(str)\n  }\n\n  return async (ctx: Context, next: Next) => {\n    if (typeof enable === \"function\" ? !enable() : !enable) {\n      await next()\n      return\n    }\n    if (isGetPublicKeyRoute(ctx)) {\n      console.log(chalk.white(\"GET\"), chalk.white.dim(\"/publickey\"))\n      ctx.body = publicKey\n      return\n    }\n    const prefix = \"/secure/\"\n    const enced = decodeURIComponent(ctx.path.slice(prefix.length))\n    const secured = ctx.path.startsWith(prefix)\n\n    if (secured) {\n      const res = decryptRSA(enced)\n      if (!res) {\n        ctx.status = 403\n        ctx.body = { code: \"EHTTPSECURE\" }\n        return\n      }\n      const decoded = JSON.parse(res)\n      ctx.path = decoded.url\n      const key = decoded.key\n      ctx.originalUrl = \"[secure]\" + ctx.path\n\n      ctx.request.body =\n        ctx.request.method !== \"GET\" &&\n        parseData(decryptAES((ctx.request.body as any).content, key)).data\n      await next()\n      const content = encryptAES(stringifyData({ data: ctx.body }), key)\n      ctx.body = { content }\n    } else {\n      await next()\n      return\n    }\n  }\n}\n\nexport default secure\n"
  },
  {
    "path": "server/src/middlewares/auth.ts",
    "content": "import { AuthenticationError, createAuth } from '@winwin/koa-authentication'\nimport { container } from 'tsyringe'\nimport { AccountService } from '@server-shared/account-storage-service'\nimport { AuthStorageService } from '@server/services/auth-storage-service'\nimport { LogService } from '@server-shared/log-service'\n\nexport const auth = createAuth({\n  verify(username, password) {\n    const logger = container.resolve(LogService)\n    const account = container.resolve(AccountService)\n    const res = account.verify(username, password)\n    logger.log(`verify ${res ? 'success' : 'failed'} for ${username}`)\n    return res\n  },\n  secret() {\n    return container.resolve(AuthStorageService).getSecret()\n  },\n})\n\nauth.router.post('/password', auth.auth, (ctx) => {\n  const account = container.resolve(AccountService)\n  const { oldPassword, password } = ctx.request.body as { oldPassword: string, password: string }\n  const verified = account.verify(ctx.state.user!.username, oldPassword)\n  if (!verified)\n    throw new AuthenticationError()\n  account.setPassword(password)\n  ctx.status = 200\n})\n\nauth.router.post(\n  '/username',\n  auth.auth,\n  (ctx, next) => {\n    const account = container.resolve(AccountService)\n    const { username } = ctx.request.body as { username: string }\n    account.setUsername(username)\n    ctx.state.user!.username = username\n    return next()\n  },\n  auth.cookie,\n  ctx => (ctx.status = 200),\n)\n"
  },
  {
    "path": "server/src/middlewares/statics.ts",
    "content": "import path from \"path\"\nimport serve from \"koa-static\"\n\nconst ROOT = path.resolve(process.cwd(), \"../client/dist\")\n\nexport const statics = serve(ROOT, {\n  setHeaders: (res, fullpath) => {\n    const isHtml = path.extname(fullpath).toLowerCase() === \".html\"\n    if (isHtml) res.setHeader(\"Cache-Control\", \"no-cache\")\n    else res.setHeader(\"Cache-Control\", \"max-age=31536000\")\n  },\n})\n"
  },
  {
    "path": "server/src/routes/git.ts",
    "content": "import { container } from \"tsyringe\"\nimport Router from \"@koa/router\"\nimport { GitService } from \"@server/services/git-service\"\n\nconst router = new Router()\n\nrouter.prefix(\"/git\")\n\nrouter.post(\"/sync\", async (ctx) => {\n  const git = container.resolve(GitService)\n  await git.sync()\n  ctx.status = 200\n})\n\nrouter.post(\"/save\", async (ctx) => {\n  const git = container.resolve(GitService)\n  await git.save()\n  ctx.status = 200\n})\n\nexport default router\n"
  },
  {
    "path": "server/src/routes/health.ts",
    "content": "import { Context } from \"koa\"\nimport Router from \"@koa/router\"\n\nconst router = new Router()\n\nrouter.get(\"/health\", (ctx: Context) => {\n  ctx.status = 200\n})\n\nexport default router\n"
  },
  {
    "path": "server/src/routes/hexo.ts",
    "content": "import { Context } from \"koa\"\nimport { container } from \"tsyringe\"\nimport Router from \"@koa/router\"\nimport { HexoService } from \"@server/services/hexo-service\"\nimport { PostOrPageNotFoundError } from \"../errors\"\n\nconst router = new Router()\nrouter.prefix(\"/hexo\")\nrouter.get(\"/posts\", async (ctx: Context) => {\n  const hexo = container.resolve(HexoService)\n  ctx.body = await hexo.listPost()\n})\nrouter.get(\"/post/:source\", async (ctx: Context) => {\n  const hexo = container.resolve(HexoService)\n  const { source } = ctx.params\n  if (!source) {\n    ctx.status = 400\n    ctx.body = \"need `source`\"\n  }\n  const post = await hexo.getPostBySource(decodeURIComponent(source))\n  if (!post) throw new PostOrPageNotFoundError(\"post\")\n  ctx.body = post\n})\nrouter.get(\"/pages\", async (ctx: Context) => {\n  const hexo = container.resolve(HexoService)\n  ctx.body = await hexo.listPage()\n})\nrouter.get(\"/page/:source\", async (ctx: Context) => {\n  const hexo = container.resolve(HexoService)\n  const { source } = ctx.params\n  if (!source) {\n    ctx.status = 400\n    ctx.body = \"need `source`\"\n  }\n  ctx.body = await hexo.getPageBySource(decodeURIComponent(source))\n})\nrouter.get(\"/tags\", async (ctx: Context) => {\n  const hexo = container.resolve(HexoService)\n  ctx.body = await hexo.listTag()\n})\nrouter.get(\"/categories\", async (ctx: Context) => {\n  const hexo = container.resolve(HexoService)\n  ctx.body = await hexo.listCategory()\n})\nrouter.post(\"/deploy\", async (ctx: Context) => {\n  const hexo = container.resolve(HexoService)\n  await hexo.deploy(ctx.request.body)\n  ctx.status = 200\n})\nrouter.post(\"/generate\", async (ctx: Context) => {\n  const hexo = container.resolve(HexoService)\n  await hexo.generate(ctx.request.body)\n  ctx.status = 200\n})\nrouter.post(\"/clean\", async (ctx: Context) => {\n  const hexo = container.resolve(HexoService)\n  await hexo.clean()\n  ctx.status = 200\n})\nrouter.post(\"/publish\", async (ctx: Context) => {\n  const hexo = container.resolve(HexoService)\n  const { filename, layout } = ctx.request.body\n  if (!filename) {\n    ctx.status = 400\n    ctx.body = \"need `filename`\"\n    return\n  }\n  ctx.body = await hexo.publish(filename, layout)\n})\nrouter.post(\"/create\", async (ctx: Context) => {\n  const hexo = container.resolve(HexoService)\n  const { title, layout, path, slug, replace } = ctx.request.body\n  if (!title) {\n    ctx.status = 400\n    ctx.body = \"need `title`\"\n    return\n  }\n  ctx.body = await hexo.create(title, { layout, path, slug, replace })\n})\nrouter.put(\"/post/:source\", async (ctx: Context) => {\n  const hexo = container.resolve(HexoService)\n  const { source } = ctx.params\n  const { raw } = ctx.request.body\n\n  if (!source || !raw) {\n    ctx.status = 400\n    ctx.body = \"need `source` and `raw`\"\n    return\n  }\n  ctx.body = await hexo.update(source, raw, \"post\")\n})\nrouter.put(\"/page/:source\", async (ctx: Context) => {\n  const hexo = container.resolve(HexoService)\n  const { source } = ctx.params\n  const { raw } = ctx.request.body\n  if (!source || !raw) {\n    ctx.status = 400\n    ctx.body = \"need `source` and `raw`\"\n    return\n  }\n  ctx.body = await hexo.update(source, raw, \"page\")\n})\nrouter.delete(\"/post/:source\", async (ctx: Context) => {\n  const hexo = container.resolve(HexoService)\n  const { source } = ctx.params\n  if (!source) {\n    ctx.status = 400\n    ctx.body = \"need `source` \"\n    return\n  }\n  ctx.body = await hexo.delete(source, \"post\")\n})\nrouter.delete(\"/page/:source\", async (ctx: Context) => {\n  const hexo = container.resolve(HexoService)\n  const { source } = ctx.params\n  if (!source) {\n    ctx.status = 400\n    ctx.body = \"need `source` \"\n    return\n  }\n  ctx.body = await hexo.delete(source, \"page\")\n})\nexport default router\n"
  },
  {
    "path": "server/src/routes/index.ts",
    "content": "import Router from \"@koa/router\"\n\nimport health from \"./health\"\nimport hexo from \"./hexo\"\nimport git from \"./git\"\nimport settings from \"./settings\"\nimport template from \"./template\"\nimport { auth } from \"../middlewares/auth\"\n\nconst router = new Router()\n\nrouter.use(auth.auth)\nrouter.use(health.routes())\nrouter.use(hexo.routes())\nrouter.use(git.routes())\nrouter.use(settings.routes())\nrouter.use(template.routes())\n\nexport default router\n"
  },
  {
    "path": "server/src/routes/settings.ts",
    "content": "import { container } from \"tsyringe\"\nimport Router from \"@koa/router\"\nimport { SettingsService } from \"@server/services/settings-service\"\n\nconst router = new Router()\n\nrouter.get(\"/settings\", async (ctx) => {\n  const settingsService = container.resolve(SettingsService)\n  ctx.body = await settingsService.get()\n})\n\nrouter.post(\"/settings\", async (ctx) => {\n  const settingsService = container.resolve(SettingsService)\n  const settings = ctx.request.body ?? {}\n  await settingsService.set(settings)\n  ctx.status = 200\n})\n\nexport default router\n"
  },
  {
    "path": "server/src/routes/template.ts",
    "content": "import Router from \"@koa/router\"\nimport { container } from \"tsyringe\"\nimport { FrontmatterTemplateService } from \"@server/services/frontmatter-template-service\"\nimport { InvalidOptionsError } from \"@server/errors\"\n\nconst router = new Router()\n\nrouter.prefix(\"/template\")\n\nrouter.get(\"/frontmatter\", async (ctx) => {\n  const frontmatterTemplateService = container.resolve(\n    FrontmatterTemplateService\n  )\n  const items = await frontmatterTemplateService.list()\n  ctx.body = { items }\n})\n\nrouter.post(\"/frontmatter\", async (ctx) => {\n  const items = ctx.request.body?.items\n  if (!items) throw new InvalidOptionsError(\"`raw` is required\")\n  const frontmatterTemplateService = container.resolve(\n    FrontmatterTemplateService\n  )\n  await frontmatterTemplateService.set(items)\n  ctx.status = 200\n  ctx.body = { message: \"OK\" }\n})\n\nexport default router\n"
  },
  {
    "path": "server/src/services/auth-storage-service.ts",
    "content": "import { inject, injectable, singleton } from \"tsyringe\"\nimport { LogService } from \"@server-shared/log-service\"\nimport { StorageService } from \"@server-shared/storage-service\"\n\ninterface IAuthInfo {\n  secret: string\n  expiresIn: string\n  refreshableIn: string\n}\n\n@injectable()\n@singleton()\nexport class AuthStorageService {\n  public static KEY = \"authinfo\"\n  constructor(\n    @inject(StorageService) private _storage: StorageService,\n    @inject(LogService) private _logService: LogService\n  ) {\n    this._logService.setScope(\"auth-storage-service\")\n  }\n\n  private _toStorage(info: IAuthInfo) {\n    this._storage.set(AuthStorageService.KEY, info)\n  }\n\n  private _fromStorage(): IAuthInfo {\n    const {\n      secret = \"secret\",\n      expiresIn = \"1h\",\n      refreshableIn = \"7d\",\n    } = this._storage.get<IAuthInfo>(AuthStorageService.KEY) || {}\n    return { secret, expiresIn, refreshableIn }\n  }\n\n  public setAuthInfo(info: IAuthInfo) {\n    this._toStorage(info)\n    this._logService.log(`set auth info`)\n  }\n\n  public getSecret() {\n    const s = this._fromStorage().secret\n    this._logService.log(`get secret`)\n    return s\n  }\n\n  public getAuthInfo(): IAuthInfo {\n    const s = this._fromStorage()\n    this._logService.log(`get auth info`)\n    return s\n  }\n}\n"
  },
  {
    "path": "server/src/services/block-service.ts",
    "content": "import { inject, injectable, singleton } from \"tsyringe\"\nimport { LogService } from \"@server-shared/log-service\"\nimport { StorageService } from \"@server-shared/storage-service\"\n\ntype BlockInfo = string[]\n\n@injectable()\n@singleton()\nexport class BlockService {\n  public static KEY = \"blocklist\"\n  constructor(\n    @inject(StorageService) private _storage: StorageService,\n    @inject(LogService) private _logService: LogService\n  ) {\n    this._logService.setScope(\"block-service\")\n  }\n\n  private _toStorage(info: BlockInfo) {\n    this._storage.set(BlockService.KEY, info)\n  }\n  private _fromStorage(): BlockInfo {\n    return this._storage.get(BlockService.KEY) || []\n  }\n\n  isBlocked(token: string) {\n    this._logService.log(\"query token\")\n    return this._fromStorage().includes(token)\n  }\n\n  block(tokens: string[]) {\n    const blocked = this._fromStorage()\n    blocked.push(...tokens)\n    this._toStorage(blocked)\n    this._logService.log(\"block tokens\", tokens.length)\n  }\n\n  clear() {\n    this._toStorage([])\n    // FIXME 按照过期时间清理\n    this._logService.log(\"clear block\")\n  }\n}\n"
  },
  {
    "path": "server/src/services/exec-service.ts",
    "content": "import { inject, injectable, singleton } from \"tsyringe\"\nimport { LogService } from \"@server-shared/log-service\"\nimport { StorageService } from \"@server-shared/storage-service\"\nimport { execaCommand } from \"execa\"\nimport { toRealPath } from \"@server-shared/utils\"\nimport { HEXO_BASE_DIR_KEY } from \"@server-shared/constants\"\n\n@injectable()\n@singleton()\nexport class ExecService {\n  constructor(\n    @inject(StorageService) private _storage: StorageService,\n    @inject(LogService) private _logService: LogService\n  ) {\n    this._logService.setScope(\"exec-service\")\n  }\n\n  private _getCwd() {\n    return this._storage.get<string>(HEXO_BASE_DIR_KEY)\n  }\n\n  public async run(command: string) {\n    if (!command) return\n    const cwd = toRealPath(this._getCwd())\n    return execaCommand(command, { cwd, stdio: \"inherit\" })\n  }\n}\n"
  },
  {
    "path": "server/src/services/frontmatter-template-service.ts",
    "content": "import { inject, injectable, singleton } from \"tsyringe\"\nimport { IFrontmatterTemplateItem } from \"@shared/types/api\"\nimport { StorageService } from \"@server-shared/storage-service\"\n\n@injectable()\n@singleton()\nexport class FrontmatterTemplateService {\n  public static KEY = \"frontmatter-template\"\n  constructor(\n    @inject(StorageService) private _storageService: StorageService\n  ) {}\n\n  _list() {\n    return (\n      this._storageService.get<IFrontmatterTemplateItem[]>(\n        FrontmatterTemplateService.KEY\n      ) || []\n    )\n  }\n\n  _set(items: IFrontmatterTemplateItem[]) {\n    this._storageService.set<IFrontmatterTemplateItem[]>(\n      FrontmatterTemplateService.KEY,\n      items\n    )\n  }\n\n  async list() {\n    return this._list()\n  }\n\n  async set(items: IFrontmatterTemplateItem[]) {\n    this._set(items)\n  }\n}\n"
  },
  {
    "path": "server/src/services/git-service.ts",
    "content": "import { inject , injectable , singleton } from \"tsyringe\"\nimport { StorageService } from \"@server-shared/storage-service\"\nimport { scriptStore } from \"@server-shared/store\"\nimport { toRealPath } from \"@server-shared/utils\"\nimport { LogService } from \"@server-shared/log-service\"\nimport { run } from \"@server/utils/exec\"\nimport { ScriptError } from \"../errors\"\nimport { ExecService } from \"./exec-service\"\nimport { HexoInstanceService } from \"./hexo-instance-service\"\nimport { HEXO_BASE_DIR_KEY } from \"@server-shared/constants\"\n\nasync function isClean(repoPath: string) {\n  return !(await run(\"git\", [\"status\", \"-s\"], { cwd: repoPath }))\n}\n\nasync function hasRepo(repoPath: string) {\n  return run(\"git\", [\"rev-parse\", \"--is-inside-work-tree\"], {\n    cwd: repoPath,\n  }).then(\n    () => true,\n    () => false\n  )\n}\n\nasync function hasRemtoe(repoPath: string) {\n  return !!(await run(\"git\", [\"remote\", \"-v\"], { cwd: repoPath }))\n}\n\n@injectable()\n@singleton()\nexport class GitService {\n  constructor(\n    @inject(StorageService) private storage: StorageService,\n    @inject(LogService) private _logService: LogService,\n    @inject(ExecService) private _execService: ExecService\n  ) {\n    this._logService.setScope(\"git-service\")\n  }\n  async sync() {\n    if (scriptStore.hasScript(\"git-sync\"))\n      return this._execService\n        .run(scriptStore.getScript(\"git-sync\"))\n        .catch((err) => {\n          this._logService.error(err)\n          throw new ScriptError(\n            \"fail to run git sync script\",\n            \"GitSyncScriptError\"\n          )\n        })\n    const base = this.storage.get<string>(HEXO_BASE_DIR_KEY)\n    const cwd = toRealPath(base)\n    if (!(await hasRepo(cwd))) {\n      this._logService.log(\"not git repo, skipped\")\n      return\n    }\n    await run(\"git\", [\"reset\", \"--hard\"], { cwd }).catch((err) => {\n      this._logService.error(err)\n      this._logService.error(\"git reset hard error\")\n      throw err\n    })\n    this._logService.log(\"git reset succeed\")\n    if (await hasRemtoe(cwd)) {\n      await run(\"git\", [\"pull\"], { cwd }).catch((err) => {\n        this._logService.error(err)\n        this._logService.error(\"git pull error\")\n        throw err\n      })\n    } else {\n      this._logService.log(\"no remote detected, skip pull\")\n    }\n    this._logService.log(\"sync succeed\")\n  }\n\n  async save() {\n    if (scriptStore.hasScript(\"git-save\"))\n      return this._execService\n        .run(scriptStore.getScript(\"git-save\"))\n        .catch((err) => {\n          this._logService.error(err)\n          throw new ScriptError(\n            \"fail to run git save script\",\n            \"GitSaveScriptError\"\n          )\n        })\n    const base = this.storage.get<string>(HEXO_BASE_DIR_KEY)\n    const cwd = toRealPath(base)\n    if (!(await hasRepo(cwd))) {\n      this._logService.log(\"not git repo, skipped\")\n      return\n    }\n    if (await isClean(cwd)) {\n      this._logService.log(\"work space clean no need to save\")\n      return\n    }\n    await run(\"git\", [\"add\", \".\", \"--all\"], { cwd }).catch((err) => {\n      this._logService.error(err)\n      this._logService.error(\"git add all error\")\n      throw err\n    })\n    this._logService.log(\"git add succeed\")\n    await run(\n      \"git\",\n      [\"commit\", \"-m\", `server update ${new Date().toString()}`],\n      { cwd }\n    ).catch((err) => {\n      this._logService.error(err)\n      this._logService.error(\"git commit error\")\n      throw err\n    })\n    this._logService.log(\"git commit succeed\")\n    if (await hasRemtoe(cwd)) {\n      await run(\"git\", [\"push\"], { cwd }).catch((err) => {\n        this._logService.error(err)\n        this._logService.error(\"git push error\")\n        throw err\n      })\n    } else {\n      this._logService.log(\"no remote detected, skip push\")\n    }\n    this._logService.log(\"save succeed\")\n  }\n}\n"
  },
  {
    "path": "server/src/services/hexo-instance-service.ts",
    "content": "import { inject, injectable, singleton } from \"tsyringe\"\nimport HexoCore from \"hexo\"\nimport path from \"path\"\nimport { LogService } from \"@server-shared/log-service\"\nimport { IStorageService, StorageService } from \"@server-shared/storage-service\"\nimport { isBlog, toRealPath } from \"@server-shared/utils\"\nimport { DEV } from \"../utils\"\nimport { HexoInitError } from \"../errors\"\nimport { HEXO_BASE_DIR_KEY, HEXO_OPTIONS_KEY } from \"@server-shared/constants\"\n\n\n@injectable()\n@singleton()\nexport class HexoInstanceService {\n  static INITING = false\n  static PENDING_COUNT = 0\n  static RETRY_INTERVAL = 1000\n  static MAX_RETRY = 2\n  static CURRENT_RETRY = 0\n  static TO_BE_CLEANED = 0\n\n  private _options: HexoCore.InstanceOptions | null = null\n  private _base: string | null = null\n  private _hexo: HexoCore | null = null\n  private _ready = false\n  private _promise: any | null = null\n\n  constructor(\n    @inject(LogService) private _logService: LogService,\n    @inject(StorageService) private _storageService: IStorageService\n  ) {\n    this._logService.setScope(\"hexo-instance-service\")\n  }\n\n  private _withOptionsOverrides(options: HexoCore.InstanceOptions) {\n    return { ...options, draft: true, drafts: true }\n  }\n\n  private _setHexoBase() {\n    const base = this._storageService.get<string>(HEXO_BASE_DIR_KEY)\n    const base_dir = path.resolve(__dirname, toRealPath(base))\n    if (!isBlog(base_dir))\n      throw new Error(`\"${base_dir}\" is not a hexo blog folder`)\n    this._base = base_dir\n  }\n\n  private _setOptions() {\n    this._options =\n      this._storageService.get<HexoCore.InstanceOptions>(HEXO_OPTIONS_KEY) || {}\n    this._options.silent = DEV ? false : this._options.silent\n  }\n\n  private _createHexoInstance() {\n    if (!this._base) throw new Error(\"please set hexo root first\")\n    this._hexo = new HexoCore(\n      this._base,\n      this._withOptionsOverrides(this._options!)\n    )\n  }\n\n  private async _init(): Promise<void> {\n    this._logService.log(\"real init start\")\n    this._ready = false\n    await this._setHexoBase()\n    await this._setOptions()\n    await this._createHexoInstance()\n    await this._hexo!.init()\n    await this._hexo!.watch()\n    this._ready = true\n    this._logService.log(\"real init finished\")\n  }\n\n  async setOptions(options: HexoCore.InstanceOptions) {\n    this._storageService.set<HexoCore.InstanceOptions>(\n      HEXO_OPTIONS_KEY,\n      options\n    )\n    this._logService.log(\"options set\")\n  }\n\n  async _tryInit(count = HexoInstanceService.MAX_RETRY) {\n    try {\n      await this._init()\n      HexoInstanceService.INITING = false\n    } catch (err) {\n      this._logService.error(err)\n      this._logService.error(`error when init hexo instance. `)\n      this._logService.error(\n        `retry in ${HexoInstanceService.RETRY_INTERVAL} ms.`,\n        `${count} retry left`\n      )\n      if (count)\n        return new Promise((resolve) => {\n          setTimeout(() => {\n            resolve(this._tryInit(count - 1))\n          }, HexoInstanceService.RETRY_INTERVAL)\n        })\n      else {\n        HexoInstanceService.INITING = false\n        // String(err) 用于向客户端显示详细报错信息\n        throw new HexoInitError(String(err))\n      }\n    }\n  }\n\n  async init(): Promise<void> {\n    if (!HexoInstanceService.INITING) this._promise = this._tryInit()\n    return this._promise\n  }\n\n  async getBaseDir() {\n    if (!this._ready) await this.init()\n    return this._base!\n  }\n\n  async getInstance() {\n    if (!this._ready) await this.init()\n    this._logService.log(\"instance required\")\n    return this._hexo!\n  }\n\n  async getInstanceWithOriginOptions(\n    genOptions: (\n      options: HexoCore.InstanceOptions\n    ) => HexoCore.InstanceOptions = (o) => o\n  ) {\n    if (!this._ready) await this.init()\n    const newOptions = genOptions(this._options!)\n    const hexo = new HexoCore(this._base!, newOptions)\n    await hexo.init()\n    await hexo.watch()\n    HexoInstanceService.TO_BE_CLEANED++\n    this._logService.log(\"instance with options required\")\n    this._logService.log(\n      `${HexoInstanceService.TO_BE_CLEANED} extra instance to be cleaned`\n    )\n    const cleanup = async () => {\n      await hexo.unwatch()\n      HexoInstanceService.TO_BE_CLEANED--\n      this._logService.log(\"instance with options cleaned\")\n      if (HexoInstanceService.TO_BE_CLEANED === 0) {\n        this._logService.log(\"all instances have been cleaned\")\n      } else {\n        this._logService.log(\n          `${HexoInstanceService.TO_BE_CLEANED} extra instance to be cleaned`\n        )\n      }\n    }\n    return { hexo, cleanup }\n  }\n\n  async runBetweenReload<T>(fn: () => T | Promise<T>): Promise<T> {\n    if (!this._ready) await this.init()\n    const unload = async () => {\n      await this._hexo!.unwatch()\n    }\n    const load = async () => {\n      await this._hexo!.watch()\n      HexoInstanceService.INITING = false\n    }\n    const markHexoInitError = (err: any) => {\n      this._ready = false\n      HexoInstanceService.INITING = false\n    }\n    HexoInstanceService.INITING = true\n    await unload().catch(markHexoInitError)\n    const res = await Promise.resolve(fn())\n    await load().catch(markHexoInitError)\n    return res\n  }\n}\n"
  },
  {
    "path": "server/src/services/hexo-service.ts",
    "content": "import path from \"path\"\nimport { inject, injectable, singleton } from \"tsyringe\"\nimport fs from \"fs\"\nimport HexoCore from \"hexo\"\nimport { BRIEF_LENGTH } from \"@server-shared/constants\"\nimport {\n  InvalidOptionsError,\n  PostOrPageNotFoundError,\n  ScriptError,\n} from \"@server/errors\"\nimport { HexoInstanceService } from \"@server/services/hexo-instance-service\"\nimport { LogService } from \"@server-shared/log-service\"\nimport { BriefPage, BriefPost, Category, Page, Post, Tag } from \"@shared/types/hexo\"\nimport { expandHomeDir } from \"@server/utils\"\nimport { run } from \"@server/utils/exec\"\nimport {\n  HexoPage,\n  HexoPost,\n  toCategory,\n  toPage,\n  toPost,\n  toTag,\n} from \"@server/utils/hexo\"\nimport { scriptStore } from \"@server-shared/store\"\nimport { ExecService } from \"./exec-service\"\n\ninterface IHexoAPI {\n  listPost(): Promise<BriefPost[]>\n  listPage(): Promise<BriefPage[]>\n  listCategory(): Promise<Category[]>\n  listTag(): Promise<Tag[]>\n  getPostBySource(source: string): Promise<Post | undefined>\n  getPageBySource(source: string): Promise<Page | undefined>\n}\n\ninterface ICreateOptions {\n  layout?: string\n  path?: string\n  slug?: string\n  replace?: boolean\n}\n\ninterface IHexoCommand {\n  deploy(options?: IDeployOptions): Promise<void>\n  generate(): Promise<void>\n  clean(): Promise<void>\n}\ninterface IDeployOptions {\n  generate?: boolean\n}\n\ninterface IGenerateOptions {\n  deploy?: boolean\n  watch?: boolean\n  bail?: boolean\n  force?: boolean\n  concurrency?: boolean\n}\n\ninterface WithCategoriesTagsBriefArticleList<T> {\n  article: T\n  posts: BriefPost[]\n  pages: BriefPage[]\n  categories: Category[]\n  tags: Tag[]\n}\n\ninterface IHexoCli {\n  publish(\n    source: string,\n    layout?: string\n  ): Promise<WithCategoriesTagsBriefArticleList<Post>>\n  create(\n    title: string,\n    options?: ICreateOptions\n  ): Promise<WithCategoriesTagsBriefArticleList<Post | Page>>\n  update(\n    source: string,\n    raw: string,\n    type: \"post\" | \"page\"\n  ): Promise<WithCategoriesTagsBriefArticleList<Post | Page>>\n  delete(\n    source: string,\n    type: \"post\" | \"page\"\n  ): Promise<WithCategoriesTagsBriefArticleList<void>>\n}\n\n/**\n * A page object can be asset. e.g. css file. we need to filter it out.\n * @param pageOrAsset\n * @returns\n */\nfunction isAsset(pageOrAsset: HexoPage) {\n  return pageOrAsset.layout === \"false\"\n}\n\nfunction transformPost(doc: HexoPost): Post {\n  return {\n    ...doc,\n    __post: true,\n    slug: doc.slug,\n    date: doc.date.toString(),\n    updated: doc.updated?.toString(),\n    prev: doc.prev?.source,\n    next: doc.next?.source,\n    tags: doc.tags.data.map((t) => t.slug),\n    categories: doc.categories?.data.map((c) => c.slug),\n    brief: doc._content.slice(0, BRIEF_LENGTH),\n  }\n}\n\nfunction transformPostToBrief({\n  _content,\n  content,\n  raw,\n  ...doc\n}: Post): BriefPost {\n  return { ...doc, brief: _content.slice(0, BRIEF_LENGTH) }\n}\n\nfunction transformPage(doc: HexoPage) {\n  return {\n    ...doc,\n    __page: true,\n    slug: doc.slug,\n    date: doc.date.toString(),\n    updated: doc.updated?.toString(),\n    prev: doc.prev?.source,\n    next: doc.next?.source,\n    brief: doc._content.slice(0, BRIEF_LENGTH),\n  }\n}\n\nfunction transformPageToBrief({\n  _content,\n  content,\n  raw,\n  ...doc\n}: Page): BriefPage {\n  return { ...doc, brief: _content.slice(0, BRIEF_LENGTH) }\n}\n\n@injectable()\n@singleton()\nexport class HexoService implements IHexoAPI, IHexoCommand, IHexoCli {\n  constructor(\n    @inject(LogService) private _logService: LogService,\n    @inject(HexoInstanceService)\n    private _hexoInstanceService: HexoInstanceService,\n    @inject(ExecService) private _execService: ExecService\n  ) {\n    this._logService.setScope(\"hexo-service\")\n  }\n\n  //#region helpers\n  private async runWithoutModifiedOption(\n    fn: (hexo: HexoCore) => Promise<void>\n  ) {\n    const { hexo, cleanup } =\n      await this._hexoInstanceService.getInstanceWithOriginOptions()\n    await fn(hexo)\n    await cleanup()\n  }\n\n  private async getPostByFullSource(fullSource: string) {\n    const hexo = await this._hexoInstanceService.getInstance()\n    const post = hexo.locals\n      .get(\"posts\")\n      .toArray()\n      .find((item) => item.full_source === fullSource)!\n    return this.getPostBySource(post.source)\n  }\n\n  private async getPostOrPageByFullSource(fullSource: string) {\n    const hexo = await this._hexoInstanceService.getInstance()\n    const post = hexo.locals\n      .get(\"posts\")\n      .toArray()\n      .find((item) => item.full_source === fullSource)!\n    if (post) return this.getPostBySource(post.source)\n    const page = hexo.locals\n      .get(\"pages\")\n      .toArray()\n      .find((item) => item.full_source === fullSource)!\n    return this.getPageBySource(page.source)\n  }\n\n  private writeFile(fullPath: string, content: string) {\n    try {\n      fs.writeFileSync(fullPath, content)\n    } catch (e) {\n      this._logService.error(\"fail to write file\")\n      throw e\n    }\n  }\n\n  private deleteFile(fullPath: string) {\n    try {\n      fs.rmSync(fullPath)\n    } catch (e) {\n      this._logService.error(\"fail to delete file\")\n      throw e\n    }\n  }\n\n  private async getFullPathBySource(source: string, type: \"post\" | \"page\") {\n    const hexo = await this._hexoInstanceService.getInstance()\n    if (type === \"post\")\n      return hexo.locals\n        .get(\"posts\")\n        .toArray()\n        .find((item) => item.source === source)?.full_source\n    else\n      return hexo.locals\n        .get(\"pages\")\n        .toArray()\n        .find((item) => item.source === source)?.full_source\n  }\n\n  private async WithCategoriesTagsBriefArticleList<T>(\n    article: T\n  ): Promise<WithCategoriesTagsBriefArticleList<T>> {\n    const categories = await this.listCategory()\n    const tags = await this.listTag()\n    const pages = await this.listPage()\n    const posts = await this.listPost()\n    return { article, categories, tags, pages, posts }\n  }\n  //#endregion\n\n  //#region IHexoAPI\n  async listPost() {\n    const hexo = await this._hexoInstanceService.getInstance()\n    const docs = hexo.locals.get(\"posts\").toArray().map(toPost)\n    const res = docs.map((postDoc) => {\n      const post: BriefPost = transformPostToBrief(transformPost(postDoc))\n      delete post.content\n      delete post._content\n      delete post.raw\n      delete post.more\n      return post\n    })\n    this._logService.log(\"list post\", res.length)\n    return res\n  }\n  async getPostBySource(source: string): Promise<Post | undefined> {\n    const hexo = await this._hexoInstanceService.getInstance()\n    const docs = hexo.locals.get(\"posts\").toArray().map(toPost)\n    const doc = docs.find((item) => item.source === source)\n    if (!doc) return\n    const res = transformPost(doc)\n    this._logService.log(\"get post by source\", source)\n    return res\n  }\n  async listPage() {\n    const hexo = await this._hexoInstanceService.getInstance()\n    const docs = hexo.locals\n      .get(\"pages\")\n      .toArray()\n      .map(toPage)\n      .filter((doc) => !isAsset(doc))\n    const res = docs.map((pageDoc) => {\n      const page: BriefPage = transformPageToBrief(transformPage(pageDoc))\n      delete page.content\n      delete page._content\n      delete page.raw\n      delete page.more\n      return page\n    })\n    this._logService.log(\"list page\", res.length)\n    return res\n  }\n  async getPageBySource(source: string): Promise<Page> {\n    const hexo = await this._hexoInstanceService.getInstance()\n    const docs = hexo.locals.get(\"pages\").toArray().map(toPage)\n    const doc = docs.find((item) => item.source === source)\n    if (!doc || isAsset(doc)) throw new PostOrPageNotFoundError(\"page\")\n    const res = transformPage(doc)\n    this._logService.log(\"get page by source\", source)\n    return res\n  }\n  async listCategory(): Promise<Category[]> {\n    const hexo = await this._hexoInstanceService.getInstance()\n    const docs = hexo.locals.get(\"categories\").toArray().map(toCategory)\n    const res = docs.map((categoryDoc) => ({\n      ...categoryDoc,\n      posts: categoryDoc.posts.map((p) => p.slug),\n    }))\n    this._logService.log(\"list category\", res.length)\n    return res\n  }\n  async listTag(): Promise<Tag[]> {\n    const hexo = await this._hexoInstanceService.getInstance()\n    const docs = hexo.locals.get(\"tags\").toArray().map(toTag)\n    const res = docs.map((tagDoc) => ({\n      ...tagDoc,\n      posts: tagDoc.posts.map((p) => p.slug),\n    }))\n    this._logService.log(\"list tag\", res.length)\n    return res\n  }\n  //#endregion\n\n  //#region IHexoCommand\n  async deploy(options: IDeployOptions = {}) {\n    if (scriptStore.hasScript(\"hexo-deploy\")) {\n      await this._execService\n        .run(scriptStore.getScript(\"hexo-deploy\"))\n        .catch((err) => {\n          this._logService.error(err)\n          throw new ScriptError(\n            \"fail to run hexo deploy script\",\n            \"HexoDeployScriptError\"\n          )\n        })\n      return\n    }\n    const { generate = false } = options\n    const args: string[] = []\n    if (generate) args.push(\"--generate\")\n    this.runWithoutModifiedOption(async (hexo) => {\n      await hexo.call(\"deploy\", { _: args })\n      await hexo.exit()\n    })\n    this._logService.log(`run hexo deploy with args:`, args.join(\" \"))\n  }\n\n  async generate(options: IGenerateOptions = {}) {\n    if (scriptStore.hasScript(\"hexo-generate\")) {\n      await this._execService\n        .run(scriptStore.getScript(\"hexo-generate\"))\n        .catch((err) => {\n          this._logService.error(err)\n          throw new ScriptError(\n            \"fail to run hexo generate script\",\n            \"HexoGenerateScriptError\"\n          )\n        })\n      return\n    }\n    const {\n      deploy = false,\n      watch = false,\n      bail = false,\n      force = false,\n      concurrency = false,\n    } = options\n    const args: string[] = []\n    if (deploy) args.push(\"--deploy\")\n    if (watch) args.push(\"--watch\")\n    if (bail) args.push(\"--bail\")\n    if (force) args.push(\"--force\")\n    this.runWithoutModifiedOption(async (hexo) => {\n      if (concurrency) args.push(\"--concurrency\")\n      await hexo.call(\"generate\", { _: args })\n      await hexo.exit()\n    })\n    this._logService.log(`run hexo generate with args:`, args.join(\" \"))\n  }\n\n  async clean() {\n    if (scriptStore.hasScript(\"hexo-clean\")) {\n      await this._execService\n        .run(scriptStore.getScript(\"hexo-clean\"))\n        .catch((err) => {\n          this._logService.error(err)\n          throw new ScriptError(\n            \"fail to run hexo clean script\",\n            \"HexoCleanScriptError\"\n          )\n        })\n      return\n    }\n    this.runWithoutModifiedOption(async (hexo) => {\n      await hexo.call(\"clean\")\n      await hexo.exit()\n    })\n    this._logService.log(\"run hexo clean\")\n  }\n  //#endregion\n\n  //#region IHexoCli\n  async publish(filename: string, layout?: string) {\n    const args: string[] = [\"publish\"]\n    if (layout) args.push(layout)\n    args.push(filename)\n    const info = await this._hexoInstanceService.runBetweenReload(\n      async () =>\n        await run(\"hexo\", args, {\n          cwd: await this._hexoInstanceService.getBaseDir(),\n          stripAnsi: true,\n        })\n    )\n    const fullSource = expandHomeDir(info.split(\"Published: \")[1].trim())\n    const article = (await this.getPostByFullSource(fullSource))!\n    const res = await this.WithCategoriesTagsBriefArticleList(article)\n    this._logService.log(`publish ${filename} with layout: ${layout}`)\n    return res\n  }\n\n  async create(title: string, options: ICreateOptions = {}) {\n    const args: string[] = [\"new\"]\n    if (options.layout) args.push(options.layout)\n    if (options.path) {\n      const base = await this._hexoInstanceService.getBaseDir()\n      const fullPath = path.resolve(base, options.path)\n      const relative = path.relative(fullPath, base)\n      if (!relative.startsWith(\"..\")) {\n        this._logService.error(`${fullPath} is not valid`)\n        throw new InvalidOptionsError(\n          `${options.path} is not inside hexo blog folder`,\n          \"InvalidCreatePathError\"\n        )\n      }\n      args.push(\"--path\")\n      args.push(options.path)\n    }\n    if (options.replace) args.push(\"--replace\")\n    if (options.slug) {\n      args.push(\"--slug\")\n      args.push(options.slug)\n    }\n    if (title) args.push(title)\n    const info = await this._hexoInstanceService.runBetweenReload(async () => {\n      return await run(\"hexo\", args, {\n        cwd: await this._hexoInstanceService.getBaseDir(),\n        stripAnsi: true,\n      })\n    })\n    const fullSource = expandHomeDir(info.split(\"Created: \")[1].trim())\n    const article = (await this.getPostOrPageByFullSource(fullSource))!\n    const res = this.WithCategoriesTagsBriefArticleList(article)\n    this._logService.log(\"create succeed\", fullSource)\n    return res\n  }\n\n  async update(\n    source: string,\n    raw: string,\n    type: \"post\"\n  ): Promise<WithCategoriesTagsBriefArticleList<Post>>\n  async update(\n    source: string,\n    raw: string,\n    type: \"page\"\n  ): Promise<WithCategoriesTagsBriefArticleList<Page>>\n  async update(source: string, raw: string, type: \"post\" | \"page\") {\n    const fullPath = await this.getFullPathBySource(source, type)\n    if (!fullPath) throw new PostOrPageNotFoundError(type)\n    await this._hexoInstanceService.runBetweenReload(() => {\n      this.writeFile(fullPath, raw)\n    })\n    this._logService.log(`${type} update succeed`, fullPath)\n    if (type === \"post\") {\n      return this.WithCategoriesTagsBriefArticleList(await this.getPostBySource(source)!)\n    }\n    else {\n      return this.WithCategoriesTagsBriefArticleList(await this.getPageBySource(source))!\n    }\n  }\n\n  async delete(\n    source: string,\n    type: \"post\" | \"page\"\n  ): Promise<WithCategoriesTagsBriefArticleList<void>> {\n    const fullPath = await this.getFullPathBySource(source, type)\n    if (!fullPath) throw new PostOrPageNotFoundError(type)\n    await this._hexoInstanceService.runBetweenReload(async () => {\n      await this.deleteFile(fullPath)\n    })\n    return this.WithCategoriesTagsBriefArticleList(undefined)\n  }\n  //#endregion\n}\n"
  },
  {
    "path": "server/src/services/settings-service.ts",
    "content": "import { ISettings } from \"@shared/types/api\"\nimport { inject, injectable, singleton } from \"tsyringe\"\nimport { StorageService } from \"@server-shared/storage-service\"\n\n@injectable()\n@singleton()\nexport class SettingsService {\n  public static KEY = \"settings\"\n  constructor(\n    @inject(StorageService) private _storageService: StorageService\n  ) {}\n\n  async get(): Promise<Partial<ISettings>> {\n    return (\n      this._storageService.get<Partial<ISettings>>(SettingsService.KEY) || {}\n    )\n  }\n\n  async set(settings: Partial<ISettings>) {\n    this._storageService.set<Partial<ISettings>>(SettingsService.KEY, settings)\n  }\n}\n"
  },
  {
    "path": "server/src/types/node-jsencrypt/index.d.ts",
    "content": "declare module \"node-jsencrypt\" {\n  import JSEncrypt from \"jsencrypt\"\n  export default JSEncrypt\n}\n"
  },
  {
    "path": "server/src/utils/exec.ts",
    "content": "import { execa, Options } from \"execa\"\nimport strip from \"strip-ansi\"\nimport { container } from \"tsyringe\"\nimport { LogService } from \"@server-shared/log-service\"\n\nconst execLogService = container.resolve(LogService)\nexecLogService.setScope(\"exec-service\")\n\nexport async function run(\n  command: string,\n  args: string[] = [],\n  opt: Options & {\n    stripAnsi?: boolean\n  } = { stripAnsi: false }\n) {\n  const { stripAnsi, ...execOpt } = opt\n  execLogService.log(`run ${command} ${args.join(\" \")}`)\n  const { stdout } = await execa(command, args, { ...execOpt, stdio: \"pipe\" })\n  if (stripAnsi) return strip(stdout)\n  return stdout\n}\n"
  },
  {
    "path": "server/src/utils/hexo.ts",
    "content": "import Hexo from \"hexo\"\n\ninterface Query<T> {\n  data: T[]\n  length: number\n}\n\nexport interface HexoArticle {\n  _id: string\n  slug: string\n  title: string\n  date: number\n  updated?: number | undefined\n  comments: boolean\n  layout: string\n  content: string\n  _content: string\n  excerpt?: string | undefined\n  more?: string | undefined\n  source: string\n  full_source: string\n  path: string\n  permalink: string\n  prev?: HexoPage | undefined\n  next?: HexoPage | undefined\n  raw?: string | undefined\n  photos?: string[] | undefined\n  link?: string | undefined\n  [key: string]: any\n}\n\nexport interface HexoPage extends HexoArticle {\n  __page: boolean\n}\n\nexport interface HexoPost extends HexoArticle {\n  published?: boolean | undefined\n  categories?: Query<HexoCategory> | undefined\n  tags: Query<HexoTag>\n  __post: boolean\n}\n\nexport interface HexoTag {\n  _id: string\n  name: string\n  slug: string\n  path: string\n  permalink: string\n  posts: HexoPost[]\n  length: number\n}\n\nexport interface HexoCategory extends HexoTag {\n  parent: string\n}\n\nexport const toPost = (post: Hexo.Locals.Post) => post as unknown as HexoPost\nexport const toPage = (post: Hexo.Locals.Page) => post as unknown as HexoPage\nexport const toCategory = (post: Hexo.Locals.Category) =>\n  post as unknown as HexoCategory\nexport const toTag = (post: Hexo.Locals.Tag) => post as unknown as HexoTag\n"
  },
  {
    "path": "server/src/utils.ts",
    "content": "import Debug from \"debug\"\nimport path from \"path\"\n\nexport const DEV = process.env.NODE_ENV !== \"production\"\n\nexport function createDebug(scope: string) {\n  return Debug(`@hexon/server:${scope}`)\n}\n\nexport const noop = () => {}\n\nexport function expandHomeDir(fullpath: string) {\n  const homedir =\n    process.env[process.platform == \"win32\" ? \"USERPROFILE\" : \"HOME\"]!\n\n  if (!fullpath) return fullpath\n  if (fullpath == \"~\") return homedir\n  if (fullpath.slice(0, 2) != \"~/\") return fullpath\n  return path.join(homedir, fullpath.slice(2))\n}\n"
  },
  {
    "path": "server-scripts/assets/logo.art",
    "content": "░░   ░░ ░░░░░░░ ░░   ░░  ░░░░░░  ░░░    ░░ \n▒▒   ▒▒ ▒▒       ▒▒ ▒▒  ▒▒    ▒▒ ▒▒▒▒   ▒▒ \n▒▒▒▒▒▒▒ ▒▒▒▒▒     ▒▒▒   ▒▒    ▒▒ ▒▒ ▒▒  ▒▒ \n▓▓   ▓▓ ▓▓       ▓▓ ▓▓  ▓▓    ▓▓ ▓▓  ▓▓ ▓▓ \n██   ██ ███████ ██   ██  ██████  ██   ████ "
  },
  {
    "path": "server-scripts/bin/index.js",
    "content": "\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __commonJS = (cb, mod) => function __require() {\n  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;\n};\nvar __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};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\nvar __decorateClass = (decorators, target, key, kind) => {\n  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n  for (var i = decorators.length - 1, decorator; i >= 0; i--)\n    if (decorator = decorators[i])\n      result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n  if (kind && result)\n    __defProp(target, key, result);\n  return result;\n};\nvar __decorateParam = (index, decorator) => (target, key) => decorator(target, key, index);\n\n// ../node_modules/.pnpm/@vue+shared@3.4.25/node_modules/@vue/shared/dist/shared.cjs.prod.js\nvar require_shared_cjs_prod = __commonJS({\n  \"../node_modules/.pnpm/@vue+shared@3.4.25/node_modules/@vue/shared/dist/shared.cjs.prod.js\"(exports) {\n    \"use strict\";\n    Object.defineProperty(exports, \"__esModule\", { value: true });\n    function makeMap(str, expectsLowerCase) {\n      const set = new Set(str.split(\",\"));\n      return expectsLowerCase ? (val) => set.has(val.toLowerCase()) : (val) => set.has(val);\n    }\n    var EMPTY_OBJ = {};\n    var EMPTY_ARR = [];\n    var NOOP = () => {\n    };\n    var NO = () => false;\n    var isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && (key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);\n    var isModelListener = (key) => key.startsWith(\"onUpdate:\");\n    var extend = Object.assign;\n    var remove = (arr, el) => {\n      const i = arr.indexOf(el);\n      if (i > -1) {\n        arr.splice(i, 1);\n      }\n    };\n    var hasOwnProperty = Object.prototype.hasOwnProperty;\n    var hasOwn = (val, key) => hasOwnProperty.call(val, key);\n    var isArray = Array.isArray;\n    var isMap = (val) => toTypeString(val) === \"[object Map]\";\n    var isSet = (val) => toTypeString(val) === \"[object Set]\";\n    var isDate = (val) => toTypeString(val) === \"[object Date]\";\n    var isRegExp = (val) => toTypeString(val) === \"[object RegExp]\";\n    var isFunction = (val) => typeof val === \"function\";\n    var isString = (val) => typeof val === \"string\";\n    var isSymbol = (val) => typeof val === \"symbol\";\n    var isObject = (val) => val !== null && typeof val === \"object\";\n    var isPromise = (val) => {\n      return (isObject(val) || isFunction(val)) && isFunction(val.then) && isFunction(val.catch);\n    };\n    var objectToString = Object.prototype.toString;\n    var toTypeString = (value) => objectToString.call(value);\n    var toRawType = (value) => {\n      return toTypeString(value).slice(8, -1);\n    };\n    var isPlainObject = (val) => toTypeString(val) === \"[object Object]\";\n    var isIntegerKey = (key) => isString(key) && key !== \"NaN\" && key[0] !== \"-\" && \"\" + parseInt(key, 10) === key;\n    var isReservedProp = /* @__PURE__ */ makeMap(\n      \",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted\"\n    );\n    var isBuiltInDirective = /* @__PURE__ */ makeMap(\n      \"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo\"\n    );\n    var cacheStringFunction = (fn) => {\n      const cache = /* @__PURE__ */ Object.create(null);\n      return (str) => {\n        const hit = cache[str];\n        return hit || (cache[str] = fn(str));\n      };\n    };\n    var camelizeRE = /-(\\w)/g;\n    var camelize = cacheStringFunction((str) => {\n      return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : \"\");\n    });\n    var hyphenateRE = /\\B([A-Z])/g;\n    var hyphenate = cacheStringFunction(\n      (str) => str.replace(hyphenateRE, \"-$1\").toLowerCase()\n    );\n    var capitalize = cacheStringFunction((str) => {\n      return str.charAt(0).toUpperCase() + str.slice(1);\n    });\n    var toHandlerKey = cacheStringFunction((str) => {\n      const s = str ? `on${capitalize(str)}` : ``;\n      return s;\n    });\n    var hasChanged = (value, oldValue) => !Object.is(value, oldValue);\n    var invokeArrayFns = (fns, arg) => {\n      for (let i = 0; i < fns.length; i++) {\n        fns[i](arg);\n      }\n    };\n    var def = (obj, key, value) => {\n      Object.defineProperty(obj, key, {\n        configurable: true,\n        enumerable: false,\n        value\n      });\n    };\n    var looseToNumber = (val) => {\n      const n = parseFloat(val);\n      return isNaN(n) ? val : n;\n    };\n    var toNumber = (val) => {\n      const n = isString(val) ? Number(val) : NaN;\n      return isNaN(n) ? val : n;\n    };\n    var _globalThis;\n    var getGlobalThis = () => {\n      return _globalThis || (_globalThis = typeof globalThis !== \"undefined\" ? globalThis : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : {});\n    };\n    var identRE = /^[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*$/;\n    function genPropsAccessExp(name) {\n      return identRE.test(name) ? `__props.${name}` : `__props[${JSON.stringify(name)}]`;\n    }\n    var PatchFlags = {\n      \"TEXT\": 1,\n      \"1\": \"TEXT\",\n      \"CLASS\": 2,\n      \"2\": \"CLASS\",\n      \"STYLE\": 4,\n      \"4\": \"STYLE\",\n      \"PROPS\": 8,\n      \"8\": \"PROPS\",\n      \"FULL_PROPS\": 16,\n      \"16\": \"FULL_PROPS\",\n      \"NEED_HYDRATION\": 32,\n      \"32\": \"NEED_HYDRATION\",\n      \"STABLE_FRAGMENT\": 64,\n      \"64\": \"STABLE_FRAGMENT\",\n      \"KEYED_FRAGMENT\": 128,\n      \"128\": \"KEYED_FRAGMENT\",\n      \"UNKEYED_FRAGMENT\": 256,\n      \"256\": \"UNKEYED_FRAGMENT\",\n      \"NEED_PATCH\": 512,\n      \"512\": \"NEED_PATCH\",\n      \"DYNAMIC_SLOTS\": 1024,\n      \"1024\": \"DYNAMIC_SLOTS\",\n      \"DEV_ROOT_FRAGMENT\": 2048,\n      \"2048\": \"DEV_ROOT_FRAGMENT\",\n      \"HOISTED\": -1,\n      \"-1\": \"HOISTED\",\n      \"BAIL\": -2,\n      \"-2\": \"BAIL\"\n    };\n    var PatchFlagNames = {\n      [1]: `TEXT`,\n      [2]: `CLASS`,\n      [4]: `STYLE`,\n      [8]: `PROPS`,\n      [16]: `FULL_PROPS`,\n      [32]: `NEED_HYDRATION`,\n      [64]: `STABLE_FRAGMENT`,\n      [128]: `KEYED_FRAGMENT`,\n      [256]: `UNKEYED_FRAGMENT`,\n      [512]: `NEED_PATCH`,\n      [1024]: `DYNAMIC_SLOTS`,\n      [2048]: `DEV_ROOT_FRAGMENT`,\n      [-1]: `HOISTED`,\n      [-2]: `BAIL`\n    };\n    var ShapeFlags = {\n      \"ELEMENT\": 1,\n      \"1\": \"ELEMENT\",\n      \"FUNCTIONAL_COMPONENT\": 2,\n      \"2\": \"FUNCTIONAL_COMPONENT\",\n      \"STATEFUL_COMPONENT\": 4,\n      \"4\": \"STATEFUL_COMPONENT\",\n      \"TEXT_CHILDREN\": 8,\n      \"8\": \"TEXT_CHILDREN\",\n      \"ARRAY_CHILDREN\": 16,\n      \"16\": \"ARRAY_CHILDREN\",\n      \"SLOTS_CHILDREN\": 32,\n      \"32\": \"SLOTS_CHILDREN\",\n      \"TELEPORT\": 64,\n      \"64\": \"TELEPORT\",\n      \"SUSPENSE\": 128,\n      \"128\": \"SUSPENSE\",\n      \"COMPONENT_SHOULD_KEEP_ALIVE\": 256,\n      \"256\": \"COMPONENT_SHOULD_KEEP_ALIVE\",\n      \"COMPONENT_KEPT_ALIVE\": 512,\n      \"512\": \"COMPONENT_KEPT_ALIVE\",\n      \"COMPONENT\": 6,\n      \"6\": \"COMPONENT\"\n    };\n    var SlotFlags = {\n      \"STABLE\": 1,\n      \"1\": \"STABLE\",\n      \"DYNAMIC\": 2,\n      \"2\": \"DYNAMIC\",\n      \"FORWARDED\": 3,\n      \"3\": \"FORWARDED\"\n    };\n    var slotFlagsText = {\n      [1]: \"STABLE\",\n      [2]: \"DYNAMIC\",\n      [3]: \"FORWARDED\"\n    };\n    var GLOBALS_ALLOWED = \"Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error\";\n    var isGloballyAllowed = /* @__PURE__ */ makeMap(GLOBALS_ALLOWED);\n    var isGloballyWhitelisted = isGloballyAllowed;\n    var range = 2;\n    function generateCodeFrame(source, start = 0, end = source.length) {\n      let lines = source.split(/(\\r?\\n)/);\n      const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);\n      lines = lines.filter((_, idx) => idx % 2 === 0);\n      let count = 0;\n      const res = [];\n      for (let i = 0; i < lines.length; i++) {\n        count += lines[i].length + (newlineSequences[i] && newlineSequences[i].length || 0);\n        if (count >= start) {\n          for (let j = i - range; j <= i + range || end > count; j++) {\n            if (j < 0 || j >= lines.length)\n              continue;\n            const line = j + 1;\n            res.push(\n              `${line}${\" \".repeat(Math.max(3 - String(line).length, 0))}|  ${lines[j]}`\n            );\n            const lineLength = lines[j].length;\n            const newLineSeqLength = newlineSequences[j] && newlineSequences[j].length || 0;\n            if (j === i) {\n              const pad = start - (count - (lineLength + newLineSeqLength));\n              const length = Math.max(\n                1,\n                end > count ? lineLength - pad : end - start\n              );\n              res.push(`   |  ` + \" \".repeat(pad) + \"^\".repeat(length));\n            } else if (j > i) {\n              if (end > count) {\n                const length = Math.max(Math.min(end - count, lineLength), 1);\n                res.push(`   |  ` + \"^\".repeat(length));\n              }\n              count += lineLength + newLineSeqLength;\n            }\n          }\n          break;\n        }\n      }\n      return res.join(\"\\n\");\n    }\n    function normalizeStyle(value) {\n      if (isArray(value)) {\n        const res = {};\n        for (let i = 0; i < value.length; i++) {\n          const item = value[i];\n          const normalized = isString(item) ? parseStringStyle(item) : normalizeStyle(item);\n          if (normalized) {\n            for (const key in normalized) {\n              res[key] = normalized[key];\n            }\n          }\n        }\n        return res;\n      } else if (isString(value) || isObject(value)) {\n        return value;\n      }\n    }\n    var listDelimiterRE = /;(?![^(]*\\))/g;\n    var propertyDelimiterRE = /:([^]+)/;\n    var styleCommentRE = /\\/\\*[^]*?\\*\\//g;\n    function parseStringStyle(cssText) {\n      const ret = {};\n      cssText.replace(styleCommentRE, \"\").split(listDelimiterRE).forEach((item) => {\n        if (item) {\n          const tmp = item.split(propertyDelimiterRE);\n          tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());\n        }\n      });\n      return ret;\n    }\n    function stringifyStyle(styles3) {\n      let ret = \"\";\n      if (!styles3 || isString(styles3)) {\n        return ret;\n      }\n      for (const key in styles3) {\n        const value = styles3[key];\n        const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);\n        if (isString(value) || typeof value === \"number\") {\n          ret += `${normalizedKey}:${value};`;\n        }\n      }\n      return ret;\n    }\n    function normalizeClass(value) {\n      let res = \"\";\n      if (isString(value)) {\n        res = value;\n      } else if (isArray(value)) {\n        for (let i = 0; i < value.length; i++) {\n          const normalized = normalizeClass(value[i]);\n          if (normalized) {\n            res += normalized + \" \";\n          }\n        }\n      } else if (isObject(value)) {\n        for (const name in value) {\n          if (value[name]) {\n            res += name + \" \";\n          }\n        }\n      }\n      return res.trim();\n    }\n    function normalizeProps(props) {\n      if (!props)\n        return null;\n      let { class: klass, style } = props;\n      if (klass && !isString(klass)) {\n        props.class = normalizeClass(klass);\n      }\n      if (style) {\n        props.style = normalizeStyle(style);\n      }\n      return props;\n    }\n    var HTML_TAGS = \"html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot\";\n    var SVG_TAGS = \"svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,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,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view\";\n    var MATH_TAGS = \"annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics\";\n    var VOID_TAGS = \"area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr\";\n    var isHTMLTag = /* @__PURE__ */ makeMap(HTML_TAGS);\n    var isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);\n    var isMathMLTag = /* @__PURE__ */ makeMap(MATH_TAGS);\n    var isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);\n    var specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;\n    var isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);\n    var isBooleanAttr = /* @__PURE__ */ makeMap(\n      specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`\n    );\n    function includeBooleanAttr(value) {\n      return !!value || value === \"\";\n    }\n    var unsafeAttrCharRE = /[>/=\"'\\u0009\\u000a\\u000c\\u0020]/;\n    var attrValidationCache = {};\n    function isSSRSafeAttrName(name) {\n      if (attrValidationCache.hasOwnProperty(name)) {\n        return attrValidationCache[name];\n      }\n      const isUnsafe = unsafeAttrCharRE.test(name);\n      if (isUnsafe) {\n        console.error(`unsafe attribute name: ${name}`);\n      }\n      return attrValidationCache[name] = !isUnsafe;\n    }\n    var propsToAttrMap = {\n      acceptCharset: \"accept-charset\",\n      className: \"class\",\n      htmlFor: \"for\",\n      httpEquiv: \"http-equiv\"\n    };\n    var isKnownHtmlAttr = /* @__PURE__ */ makeMap(\n      `accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`\n    );\n    var isKnownSvgAttr = /* @__PURE__ */ makeMap(\n      `xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`\n    );\n    function isRenderableAttrValue(value) {\n      if (value == null) {\n        return false;\n      }\n      const type = typeof value;\n      return type === \"string\" || type === \"number\" || type === \"boolean\";\n    }\n    var escapeRE = /[\"'&<>]/;\n    function escapeHtml(string) {\n      const str = \"\" + string;\n      const match = escapeRE.exec(str);\n      if (!match) {\n        return str;\n      }\n      let html = \"\";\n      let escaped;\n      let index;\n      let lastIndex = 0;\n      for (index = match.index; index < str.length; index++) {\n        switch (str.charCodeAt(index)) {\n          case 34:\n            escaped = \"&quot;\";\n            break;\n          case 38:\n            escaped = \"&amp;\";\n            break;\n          case 39:\n            escaped = \"&#39;\";\n            break;\n          case 60:\n            escaped = \"&lt;\";\n            break;\n          case 62:\n            escaped = \"&gt;\";\n            break;\n          default:\n            continue;\n        }\n        if (lastIndex !== index) {\n          html += str.slice(lastIndex, index);\n        }\n        lastIndex = index + 1;\n        html += escaped;\n      }\n      return lastIndex !== index ? html + str.slice(lastIndex, index) : html;\n    }\n    var commentStripRE = /^-?>|<!--|-->|--!>|<!-$/g;\n    function escapeHtmlComment(src) {\n      return src.replace(commentStripRE, \"\");\n    }\n    function looseCompareArrays(a, b) {\n      if (a.length !== b.length)\n        return false;\n      let equal = true;\n      for (let i = 0; equal && i < a.length; i++) {\n        equal = looseEqual(a[i], b[i]);\n      }\n      return equal;\n    }\n    function looseEqual(a, b) {\n      if (a === b)\n        return true;\n      let aValidType = isDate(a);\n      let bValidType = isDate(b);\n      if (aValidType || bValidType) {\n        return aValidType && bValidType ? a.getTime() === b.getTime() : false;\n      }\n      aValidType = isSymbol(a);\n      bValidType = isSymbol(b);\n      if (aValidType || bValidType) {\n        return a === b;\n      }\n      aValidType = isArray(a);\n      bValidType = isArray(b);\n      if (aValidType || bValidType) {\n        return aValidType && bValidType ? looseCompareArrays(a, b) : false;\n      }\n      aValidType = isObject(a);\n      bValidType = isObject(b);\n      if (aValidType || bValidType) {\n        if (!aValidType || !bValidType) {\n          return false;\n        }\n        const aKeysCount = Object.keys(a).length;\n        const bKeysCount = Object.keys(b).length;\n        if (aKeysCount !== bKeysCount) {\n          return false;\n        }\n        for (const key in a) {\n          const aHasKey = a.hasOwnProperty(key);\n          const bHasKey = b.hasOwnProperty(key);\n          if (aHasKey && !bHasKey || !aHasKey && bHasKey || !looseEqual(a[key], b[key])) {\n            return false;\n          }\n        }\n      }\n      return String(a) === String(b);\n    }\n    function looseIndexOf(arr, val) {\n      return arr.findIndex((item) => looseEqual(item, val));\n    }\n    var toDisplayString = (val) => {\n      return isString(val) ? val : val == null ? \"\" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? JSON.stringify(val, replacer, 2) : String(val);\n    };\n    var replacer = (_key, val) => {\n      if (val && val.__v_isRef) {\n        return replacer(_key, val.value);\n      } else if (isMap(val)) {\n        return {\n          [`Map(${val.size})`]: [...val.entries()].reduce(\n            (entries, [key, val2], i) => {\n              entries[stringifySymbol(key, i) + \" =>\"] = val2;\n              return entries;\n            },\n            {}\n          )\n        };\n      } else if (isSet(val)) {\n        return {\n          [`Set(${val.size})`]: [...val.values()].map((v) => stringifySymbol(v))\n        };\n      } else if (isSymbol(val)) {\n        return stringifySymbol(val);\n      } else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {\n        return String(val);\n      }\n      return val;\n    };\n    var stringifySymbol = (v, i = \"\") => {\n      var _a;\n      return isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v;\n    };\n    exports.EMPTY_ARR = EMPTY_ARR;\n    exports.EMPTY_OBJ = EMPTY_OBJ;\n    exports.NO = NO;\n    exports.NOOP = NOOP;\n    exports.PatchFlagNames = PatchFlagNames;\n    exports.PatchFlags = PatchFlags;\n    exports.ShapeFlags = ShapeFlags;\n    exports.SlotFlags = SlotFlags;\n    exports.camelize = camelize;\n    exports.capitalize = capitalize;\n    exports.def = def;\n    exports.escapeHtml = escapeHtml;\n    exports.escapeHtmlComment = escapeHtmlComment;\n    exports.extend = extend;\n    exports.genPropsAccessExp = genPropsAccessExp;\n    exports.generateCodeFrame = generateCodeFrame;\n    exports.getGlobalThis = getGlobalThis;\n    exports.hasChanged = hasChanged;\n    exports.hasOwn = hasOwn;\n    exports.hyphenate = hyphenate;\n    exports.includeBooleanAttr = includeBooleanAttr;\n    exports.invokeArrayFns = invokeArrayFns;\n    exports.isArray = isArray;\n    exports.isBooleanAttr = isBooleanAttr;\n    exports.isBuiltInDirective = isBuiltInDirective;\n    exports.isDate = isDate;\n    exports.isFunction = isFunction;\n    exports.isGloballyAllowed = isGloballyAllowed;\n    exports.isGloballyWhitelisted = isGloballyWhitelisted;\n    exports.isHTMLTag = isHTMLTag;\n    exports.isIntegerKey = isIntegerKey;\n    exports.isKnownHtmlAttr = isKnownHtmlAttr;\n    exports.isKnownSvgAttr = isKnownSvgAttr;\n    exports.isMap = isMap;\n    exports.isMathMLTag = isMathMLTag;\n    exports.isModelListener = isModelListener;\n    exports.isObject = isObject;\n    exports.isOn = isOn;\n    exports.isPlainObject = isPlainObject;\n    exports.isPromise = isPromise;\n    exports.isRegExp = isRegExp;\n    exports.isRenderableAttrValue = isRenderableAttrValue;\n    exports.isReservedProp = isReservedProp;\n    exports.isSSRSafeAttrName = isSSRSafeAttrName;\n    exports.isSVGTag = isSVGTag;\n    exports.isSet = isSet;\n    exports.isSpecialBooleanAttr = isSpecialBooleanAttr;\n    exports.isString = isString;\n    exports.isSymbol = isSymbol;\n    exports.isVoidTag = isVoidTag;\n    exports.looseEqual = looseEqual;\n    exports.looseIndexOf = looseIndexOf;\n    exports.looseToNumber = looseToNumber;\n    exports.makeMap = makeMap;\n    exports.normalizeClass = normalizeClass;\n    exports.normalizeProps = normalizeProps;\n    exports.normalizeStyle = normalizeStyle;\n    exports.objectToString = objectToString;\n    exports.parseStringStyle = parseStringStyle;\n    exports.propsToAttrMap = propsToAttrMap;\n    exports.remove = remove;\n    exports.slotFlagsText = slotFlagsText;\n    exports.stringifyStyle = stringifyStyle;\n    exports.toDisplayString = toDisplayString;\n    exports.toHandlerKey = toHandlerKey;\n    exports.toNumber = toNumber;\n    exports.toRawType = toRawType;\n    exports.toTypeString = toTypeString;\n  }\n});\n\n// ../node_modules/.pnpm/@vue+shared@3.4.25/node_modules/@vue/shared/dist/shared.cjs.js\nvar require_shared_cjs = __commonJS({\n  \"../node_modules/.pnpm/@vue+shared@3.4.25/node_modules/@vue/shared/dist/shared.cjs.js\"(exports) {\n    \"use strict\";\n    Object.defineProperty(exports, \"__esModule\", { value: true });\n    function makeMap(str, expectsLowerCase) {\n      const set = new Set(str.split(\",\"));\n      return expectsLowerCase ? (val) => set.has(val.toLowerCase()) : (val) => set.has(val);\n    }\n    var EMPTY_OBJ = Object.freeze({});\n    var EMPTY_ARR = Object.freeze([]);\n    var NOOP = () => {\n    };\n    var NO = () => false;\n    var isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && (key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);\n    var isModelListener = (key) => key.startsWith(\"onUpdate:\");\n    var extend = Object.assign;\n    var remove = (arr, el) => {\n      const i = arr.indexOf(el);\n      if (i > -1) {\n        arr.splice(i, 1);\n      }\n    };\n    var hasOwnProperty = Object.prototype.hasOwnProperty;\n    var hasOwn = (val, key) => hasOwnProperty.call(val, key);\n    var isArray = Array.isArray;\n    var isMap = (val) => toTypeString(val) === \"[object Map]\";\n    var isSet = (val) => toTypeString(val) === \"[object Set]\";\n    var isDate = (val) => toTypeString(val) === \"[object Date]\";\n    var isRegExp = (val) => toTypeString(val) === \"[object RegExp]\";\n    var isFunction = (val) => typeof val === \"function\";\n    var isString = (val) => typeof val === \"string\";\n    var isSymbol = (val) => typeof val === \"symbol\";\n    var isObject = (val) => val !== null && typeof val === \"object\";\n    var isPromise = (val) => {\n      return (isObject(val) || isFunction(val)) && isFunction(val.then) && isFunction(val.catch);\n    };\n    var objectToString = Object.prototype.toString;\n    var toTypeString = (value) => objectToString.call(value);\n    var toRawType = (value) => {\n      return toTypeString(value).slice(8, -1);\n    };\n    var isPlainObject = (val) => toTypeString(val) === \"[object Object]\";\n    var isIntegerKey = (key) => isString(key) && key !== \"NaN\" && key[0] !== \"-\" && \"\" + parseInt(key, 10) === key;\n    var isReservedProp = /* @__PURE__ */ makeMap(\n      \",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted\"\n    );\n    var isBuiltInDirective = /* @__PURE__ */ makeMap(\n      \"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo\"\n    );\n    var cacheStringFunction = (fn) => {\n      const cache = /* @__PURE__ */ Object.create(null);\n      return (str) => {\n        const hit = cache[str];\n        return hit || (cache[str] = fn(str));\n      };\n    };\n    var camelizeRE = /-(\\w)/g;\n    var camelize = cacheStringFunction((str) => {\n      return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : \"\");\n    });\n    var hyphenateRE = /\\B([A-Z])/g;\n    var hyphenate = cacheStringFunction(\n      (str) => str.replace(hyphenateRE, \"-$1\").toLowerCase()\n    );\n    var capitalize = cacheStringFunction((str) => {\n      return str.charAt(0).toUpperCase() + str.slice(1);\n    });\n    var toHandlerKey = cacheStringFunction((str) => {\n      const s = str ? `on${capitalize(str)}` : ``;\n      return s;\n    });\n    var hasChanged = (value, oldValue) => !Object.is(value, oldValue);\n    var invokeArrayFns = (fns, arg) => {\n      for (let i = 0; i < fns.length; i++) {\n        fns[i](arg);\n      }\n    };\n    var def = (obj, key, value) => {\n      Object.defineProperty(obj, key, {\n        configurable: true,\n        enumerable: false,\n        value\n      });\n    };\n    var looseToNumber = (val) => {\n      const n = parseFloat(val);\n      return isNaN(n) ? val : n;\n    };\n    var toNumber = (val) => {\n      const n = isString(val) ? Number(val) : NaN;\n      return isNaN(n) ? val : n;\n    };\n    var _globalThis;\n    var getGlobalThis = () => {\n      return _globalThis || (_globalThis = typeof globalThis !== \"undefined\" ? globalThis : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : {});\n    };\n    var identRE = /^[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*$/;\n    function genPropsAccessExp(name) {\n      return identRE.test(name) ? `__props.${name}` : `__props[${JSON.stringify(name)}]`;\n    }\n    var PatchFlags = {\n      \"TEXT\": 1,\n      \"1\": \"TEXT\",\n      \"CLASS\": 2,\n      \"2\": \"CLASS\",\n      \"STYLE\": 4,\n      \"4\": \"STYLE\",\n      \"PROPS\": 8,\n      \"8\": \"PROPS\",\n      \"FULL_PROPS\": 16,\n      \"16\": \"FULL_PROPS\",\n      \"NEED_HYDRATION\": 32,\n      \"32\": \"NEED_HYDRATION\",\n      \"STABLE_FRAGMENT\": 64,\n      \"64\": \"STABLE_FRAGMENT\",\n      \"KEYED_FRAGMENT\": 128,\n      \"128\": \"KEYED_FRAGMENT\",\n      \"UNKEYED_FRAGMENT\": 256,\n      \"256\": \"UNKEYED_FRAGMENT\",\n      \"NEED_PATCH\": 512,\n      \"512\": \"NEED_PATCH\",\n      \"DYNAMIC_SLOTS\": 1024,\n      \"1024\": \"DYNAMIC_SLOTS\",\n      \"DEV_ROOT_FRAGMENT\": 2048,\n      \"2048\": \"DEV_ROOT_FRAGMENT\",\n      \"HOISTED\": -1,\n      \"-1\": \"HOISTED\",\n      \"BAIL\": -2,\n      \"-2\": \"BAIL\"\n    };\n    var PatchFlagNames = {\n      [1]: `TEXT`,\n      [2]: `CLASS`,\n      [4]: `STYLE`,\n      [8]: `PROPS`,\n      [16]: `FULL_PROPS`,\n      [32]: `NEED_HYDRATION`,\n      [64]: `STABLE_FRAGMENT`,\n      [128]: `KEYED_FRAGMENT`,\n      [256]: `UNKEYED_FRAGMENT`,\n      [512]: `NEED_PATCH`,\n      [1024]: `DYNAMIC_SLOTS`,\n      [2048]: `DEV_ROOT_FRAGMENT`,\n      [-1]: `HOISTED`,\n      [-2]: `BAIL`\n    };\n    var ShapeFlags = {\n      \"ELEMENT\": 1,\n      \"1\": \"ELEMENT\",\n      \"FUNCTIONAL_COMPONENT\": 2,\n      \"2\": \"FUNCTIONAL_COMPONENT\",\n      \"STATEFUL_COMPONENT\": 4,\n      \"4\": \"STATEFUL_COMPONENT\",\n      \"TEXT_CHILDREN\": 8,\n      \"8\": \"TEXT_CHILDREN\",\n      \"ARRAY_CHILDREN\": 16,\n      \"16\": \"ARRAY_CHILDREN\",\n      \"SLOTS_CHILDREN\": 32,\n      \"32\": \"SLOTS_CHILDREN\",\n      \"TELEPORT\": 64,\n      \"64\": \"TELEPORT\",\n      \"SUSPENSE\": 128,\n      \"128\": \"SUSPENSE\",\n      \"COMPONENT_SHOULD_KEEP_ALIVE\": 256,\n      \"256\": \"COMPONENT_SHOULD_KEEP_ALIVE\",\n      \"COMPONENT_KEPT_ALIVE\": 512,\n      \"512\": \"COMPONENT_KEPT_ALIVE\",\n      \"COMPONENT\": 6,\n      \"6\": \"COMPONENT\"\n    };\n    var SlotFlags = {\n      \"STABLE\": 1,\n      \"1\": \"STABLE\",\n      \"DYNAMIC\": 2,\n      \"2\": \"DYNAMIC\",\n      \"FORWARDED\": 3,\n      \"3\": \"FORWARDED\"\n    };\n    var slotFlagsText = {\n      [1]: \"STABLE\",\n      [2]: \"DYNAMIC\",\n      [3]: \"FORWARDED\"\n    };\n    var GLOBALS_ALLOWED = \"Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error\";\n    var isGloballyAllowed = /* @__PURE__ */ makeMap(GLOBALS_ALLOWED);\n    var isGloballyWhitelisted = isGloballyAllowed;\n    var range = 2;\n    function generateCodeFrame(source, start = 0, end = source.length) {\n      let lines = source.split(/(\\r?\\n)/);\n      const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);\n      lines = lines.filter((_, idx) => idx % 2 === 0);\n      let count = 0;\n      const res = [];\n      for (let i = 0; i < lines.length; i++) {\n        count += lines[i].length + (newlineSequences[i] && newlineSequences[i].length || 0);\n        if (count >= start) {\n          for (let j = i - range; j <= i + range || end > count; j++) {\n            if (j < 0 || j >= lines.length)\n              continue;\n            const line = j + 1;\n            res.push(\n              `${line}${\" \".repeat(Math.max(3 - String(line).length, 0))}|  ${lines[j]}`\n            );\n            const lineLength = lines[j].length;\n            const newLineSeqLength = newlineSequences[j] && newlineSequences[j].length || 0;\n            if (j === i) {\n              const pad = start - (count - (lineLength + newLineSeqLength));\n              const length = Math.max(\n                1,\n                end > count ? lineLength - pad : end - start\n              );\n              res.push(`   |  ` + \" \".repeat(pad) + \"^\".repeat(length));\n            } else if (j > i) {\n              if (end > count) {\n                const length = Math.max(Math.min(end - count, lineLength), 1);\n                res.push(`   |  ` + \"^\".repeat(length));\n              }\n              count += lineLength + newLineSeqLength;\n            }\n          }\n          break;\n        }\n      }\n      return res.join(\"\\n\");\n    }\n    function normalizeStyle(value) {\n      if (isArray(value)) {\n        const res = {};\n        for (let i = 0; i < value.length; i++) {\n          const item = value[i];\n          const normalized = isString(item) ? parseStringStyle(item) : normalizeStyle(item);\n          if (normalized) {\n            for (const key in normalized) {\n              res[key] = normalized[key];\n            }\n          }\n        }\n        return res;\n      } else if (isString(value) || isObject(value)) {\n        return value;\n      }\n    }\n    var listDelimiterRE = /;(?![^(]*\\))/g;\n    var propertyDelimiterRE = /:([^]+)/;\n    var styleCommentRE = /\\/\\*[^]*?\\*\\//g;\n    function parseStringStyle(cssText) {\n      const ret = {};\n      cssText.replace(styleCommentRE, \"\").split(listDelimiterRE).forEach((item) => {\n        if (item) {\n          const tmp = item.split(propertyDelimiterRE);\n          tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());\n        }\n      });\n      return ret;\n    }\n    function stringifyStyle(styles3) {\n      let ret = \"\";\n      if (!styles3 || isString(styles3)) {\n        return ret;\n      }\n      for (const key in styles3) {\n        const value = styles3[key];\n        const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);\n        if (isString(value) || typeof value === \"number\") {\n          ret += `${normalizedKey}:${value};`;\n        }\n      }\n      return ret;\n    }\n    function normalizeClass(value) {\n      let res = \"\";\n      if (isString(value)) {\n        res = value;\n      } else if (isArray(value)) {\n        for (let i = 0; i < value.length; i++) {\n          const normalized = normalizeClass(value[i]);\n          if (normalized) {\n            res += normalized + \" \";\n          }\n        }\n      } else if (isObject(value)) {\n        for (const name in value) {\n          if (value[name]) {\n            res += name + \" \";\n          }\n        }\n      }\n      return res.trim();\n    }\n    function normalizeProps(props) {\n      if (!props)\n        return null;\n      let { class: klass, style } = props;\n      if (klass && !isString(klass)) {\n        props.class = normalizeClass(klass);\n      }\n      if (style) {\n        props.style = normalizeStyle(style);\n      }\n      return props;\n    }\n    var HTML_TAGS = \"html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot\";\n    var SVG_TAGS = \"svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,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,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view\";\n    var MATH_TAGS = \"annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics\";\n    var VOID_TAGS = \"area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr\";\n    var isHTMLTag = /* @__PURE__ */ makeMap(HTML_TAGS);\n    var isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);\n    var isMathMLTag = /* @__PURE__ */ makeMap(MATH_TAGS);\n    var isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);\n    var specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;\n    var isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);\n    var isBooleanAttr = /* @__PURE__ */ makeMap(\n      specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`\n    );\n    function includeBooleanAttr(value) {\n      return !!value || value === \"\";\n    }\n    var unsafeAttrCharRE = /[>/=\"'\\u0009\\u000a\\u000c\\u0020]/;\n    var attrValidationCache = {};\n    function isSSRSafeAttrName(name) {\n      if (attrValidationCache.hasOwnProperty(name)) {\n        return attrValidationCache[name];\n      }\n      const isUnsafe = unsafeAttrCharRE.test(name);\n      if (isUnsafe) {\n        console.error(`unsafe attribute name: ${name}`);\n      }\n      return attrValidationCache[name] = !isUnsafe;\n    }\n    var propsToAttrMap = {\n      acceptCharset: \"accept-charset\",\n      className: \"class\",\n      htmlFor: \"for\",\n      httpEquiv: \"http-equiv\"\n    };\n    var isKnownHtmlAttr = /* @__PURE__ */ makeMap(\n      `accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`\n    );\n    var isKnownSvgAttr = /* @__PURE__ */ makeMap(\n      `xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`\n    );\n    function isRenderableAttrValue(value) {\n      if (value == null) {\n        return false;\n      }\n      const type = typeof value;\n      return type === \"string\" || type === \"number\" || type === \"boolean\";\n    }\n    var escapeRE = /[\"'&<>]/;\n    function escapeHtml(string) {\n      const str = \"\" + string;\n      const match = escapeRE.exec(str);\n      if (!match) {\n        return str;\n      }\n      let html = \"\";\n      let escaped;\n      let index;\n      let lastIndex = 0;\n      for (index = match.index; index < str.length; index++) {\n        switch (str.charCodeAt(index)) {\n          case 34:\n            escaped = \"&quot;\";\n            break;\n          case 38:\n            escaped = \"&amp;\";\n            break;\n          case 39:\n            escaped = \"&#39;\";\n            break;\n          case 60:\n            escaped = \"&lt;\";\n            break;\n          case 62:\n            escaped = \"&gt;\";\n            break;\n          default:\n            continue;\n        }\n        if (lastIndex !== index) {\n          html += str.slice(lastIndex, index);\n        }\n        lastIndex = index + 1;\n        html += escaped;\n      }\n      return lastIndex !== index ? html + str.slice(lastIndex, index) : html;\n    }\n    var commentStripRE = /^-?>|<!--|-->|--!>|<!-$/g;\n    function escapeHtmlComment(src) {\n      return src.replace(commentStripRE, \"\");\n    }\n    function looseCompareArrays(a, b) {\n      if (a.length !== b.length)\n        return false;\n      let equal = true;\n      for (let i = 0; equal && i < a.length; i++) {\n        equal = looseEqual(a[i], b[i]);\n      }\n      return equal;\n    }\n    function looseEqual(a, b) {\n      if (a === b)\n        return true;\n      let aValidType = isDate(a);\n      let bValidType = isDate(b);\n      if (aValidType || bValidType) {\n        return aValidType && bValidType ? a.getTime() === b.getTime() : false;\n      }\n      aValidType = isSymbol(a);\n      bValidType = isSymbol(b);\n      if (aValidType || bValidType) {\n        return a === b;\n      }\n      aValidType = isArray(a);\n      bValidType = isArray(b);\n      if (aValidType || bValidType) {\n        return aValidType && bValidType ? looseCompareArrays(a, b) : false;\n      }\n      aValidType = isObject(a);\n      bValidType = isObject(b);\n      if (aValidType || bValidType) {\n        if (!aValidType || !bValidType) {\n          return false;\n        }\n        const aKeysCount = Object.keys(a).length;\n        const bKeysCount = Object.keys(b).length;\n        if (aKeysCount !== bKeysCount) {\n          return false;\n        }\n        for (const key in a) {\n          const aHasKey = a.hasOwnProperty(key);\n          const bHasKey = b.hasOwnProperty(key);\n          if (aHasKey && !bHasKey || !aHasKey && bHasKey || !looseEqual(a[key], b[key])) {\n            return false;\n          }\n        }\n      }\n      return String(a) === String(b);\n    }\n    function looseIndexOf(arr, val) {\n      return arr.findIndex((item) => looseEqual(item, val));\n    }\n    var toDisplayString = (val) => {\n      return isString(val) ? val : val == null ? \"\" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? JSON.stringify(val, replacer, 2) : String(val);\n    };\n    var replacer = (_key, val) => {\n      if (val && val.__v_isRef) {\n        return replacer(_key, val.value);\n      } else if (isMap(val)) {\n        return {\n          [`Map(${val.size})`]: [...val.entries()].reduce(\n            (entries, [key, val2], i) => {\n              entries[stringifySymbol(key, i) + \" =>\"] = val2;\n              return entries;\n            },\n            {}\n          )\n        };\n      } else if (isSet(val)) {\n        return {\n          [`Set(${val.size})`]: [...val.values()].map((v) => stringifySymbol(v))\n        };\n      } else if (isSymbol(val)) {\n        return stringifySymbol(val);\n      } else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {\n        return String(val);\n      }\n      return val;\n    };\n    var stringifySymbol = (v, i = \"\") => {\n      var _a;\n      return isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v;\n    };\n    exports.EMPTY_ARR = EMPTY_ARR;\n    exports.EMPTY_OBJ = EMPTY_OBJ;\n    exports.NO = NO;\n    exports.NOOP = NOOP;\n    exports.PatchFlagNames = PatchFlagNames;\n    exports.PatchFlags = PatchFlags;\n    exports.ShapeFlags = ShapeFlags;\n    exports.SlotFlags = SlotFlags;\n    exports.camelize = camelize;\n    exports.capitalize = capitalize;\n    exports.def = def;\n    exports.escapeHtml = escapeHtml;\n    exports.escapeHtmlComment = escapeHtmlComment;\n    exports.extend = extend;\n    exports.genPropsAccessExp = genPropsAccessExp;\n    exports.generateCodeFrame = generateCodeFrame;\n    exports.getGlobalThis = getGlobalThis;\n    exports.hasChanged = hasChanged;\n    exports.hasOwn = hasOwn;\n    exports.hyphenate = hyphenate;\n    exports.includeBooleanAttr = includeBooleanAttr;\n    exports.invokeArrayFns = invokeArrayFns;\n    exports.isArray = isArray;\n    exports.isBooleanAttr = isBooleanAttr;\n    exports.isBuiltInDirective = isBuiltInDirective;\n    exports.isDate = isDate;\n    exports.isFunction = isFunction;\n    exports.isGloballyAllowed = isGloballyAllowed;\n    exports.isGloballyWhitelisted = isGloballyWhitelisted;\n    exports.isHTMLTag = isHTMLTag;\n    exports.isIntegerKey = isIntegerKey;\n    exports.isKnownHtmlAttr = isKnownHtmlAttr;\n    exports.isKnownSvgAttr = isKnownSvgAttr;\n    exports.isMap = isMap;\n    exports.isMathMLTag = isMathMLTag;\n    exports.isModelListener = isModelListener;\n    exports.isObject = isObject;\n    exports.isOn = isOn;\n    exports.isPlainObject = isPlainObject;\n    exports.isPromise = isPromise;\n    exports.isRegExp = isRegExp;\n    exports.isRenderableAttrValue = isRenderableAttrValue;\n    exports.isReservedProp = isReservedProp;\n    exports.isSSRSafeAttrName = isSSRSafeAttrName;\n    exports.isSVGTag = isSVGTag;\n    exports.isSet = isSet;\n    exports.isSpecialBooleanAttr = isSpecialBooleanAttr;\n    exports.isString = isString;\n    exports.isSymbol = isSymbol;\n    exports.isVoidTag = isVoidTag;\n    exports.looseEqual = looseEqual;\n    exports.looseIndexOf = looseIndexOf;\n    exports.looseToNumber = looseToNumber;\n    exports.makeMap = makeMap;\n    exports.normalizeClass = normalizeClass;\n    exports.normalizeProps = normalizeProps;\n    exports.normalizeStyle = normalizeStyle;\n    exports.objectToString = objectToString;\n    exports.parseStringStyle = parseStringStyle;\n    exports.propsToAttrMap = propsToAttrMap;\n    exports.remove = remove;\n    exports.slotFlagsText = slotFlagsText;\n    exports.stringifyStyle = stringifyStyle;\n    exports.toDisplayString = toDisplayString;\n    exports.toHandlerKey = toHandlerKey;\n    exports.toNumber = toNumber;\n    exports.toRawType = toRawType;\n    exports.toTypeString = toTypeString;\n  }\n});\n\n// ../node_modules/.pnpm/@vue+shared@3.4.25/node_modules/@vue/shared/index.js\nvar require_shared = __commonJS({\n  \"../node_modules/.pnpm/@vue+shared@3.4.25/node_modules/@vue/shared/index.js\"(exports, module2) {\n    \"use strict\";\n    if (process.env.NODE_ENV === \"production\") {\n      module2.exports = require_shared_cjs_prod();\n    } else {\n      module2.exports = require_shared_cjs();\n    }\n  }\n});\n\n// ../node_modules/.pnpm/@vue-reactivity+watch@0.2.0_@vue+reactivity@3.4.27_@vue+shared@3.4.25/node_modules/@vue-reactivity/watch/dist/index.js\nvar require_dist = __commonJS({\n  \"../node_modules/.pnpm/@vue-reactivity+watch@0.2.0_@vue+reactivity@3.4.27_@vue+shared@3.4.25/node_modules/@vue-reactivity/watch/dist/index.js\"(exports, module2) {\n    var __defProp2 = Object.defineProperty;\n    var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;\n    var __getOwnPropNames2 = Object.getOwnPropertyNames;\n    var __hasOwnProp2 = Object.prototype.hasOwnProperty;\n    var __markAsModule = (target) => __defProp2(target, \"__esModule\", { value: true });\n    var __export = (target, all) => {\n      for (var name in all)\n        __defProp2(target, name, { get: all[name], enumerable: true });\n    };\n    var __reExport = (target, module22, copyDefault, desc) => {\n      if (module22 && typeof module22 === \"object\" || typeof module22 === \"function\") {\n        for (let key of __getOwnPropNames2(module22))\n          if (!__hasOwnProp2.call(target, key) && (copyDefault || key !== \"default\"))\n            __defProp2(target, key, { get: () => module22[key], enumerable: !(desc = __getOwnPropDesc2(module22, key)) || desc.enumerable });\n      }\n      return target;\n    };\n    var __toCommonJS = /* @__PURE__ */ ((cache) => {\n      return (module22, temp) => {\n        return cache && cache.get(module22) || (temp = __reExport(__markAsModule({}), module22, 1), cache && cache.set(module22, temp), temp);\n      };\n    })(typeof WeakMap !== \"undefined\" ? /* @__PURE__ */ new WeakMap() : 0);\n    var src_exports = {};\n    __export(src_exports, {\n      watch: () => watch2,\n      watchEffect: () => watchEffect\n    });\n    var import_reactivity3 = require(\"@vue/reactivity\");\n    var import_shared2 = require_shared();\n    var import_shared = require_shared();\n    function callWithErrorHandling(fn, type, args) {\n      let res;\n      try {\n        res = args ? fn(...args) : fn();\n      } catch (err) {\n        handleError(err, type);\n      }\n      return res;\n    }\n    function callWithAsyncErrorHandling(fn, type, args) {\n      if ((0, import_shared.isFunction)(fn)) {\n        const res = callWithErrorHandling(fn, type, args);\n        if (res && (0, import_shared.isPromise)(res)) {\n          res.catch((err) => {\n            handleError(err, type);\n          });\n        }\n        return res;\n      }\n      const values = [];\n      for (let i = 0; i < fn.length; i++)\n        values.push(callWithAsyncErrorHandling(fn[i], type, args));\n      return values;\n    }\n    function handleError(err, type) {\n      console.error(new Error(`[@vue-reactivity/watch]: ${type}`));\n      console.error(err);\n    }\n    function warn2(message) {\n      console.warn(createError(message));\n    }\n    function createError(message) {\n      return new Error(`[reactivue]: ${message}`);\n    }\n    var INITIAL_WATCHER_VALUE = {};\n    function watchEffect(effect, options) {\n      return doWatch(effect, null, options);\n    }\n    function watch2(source, cb, options) {\n      return doWatch(source, cb, options);\n    }\n    function doWatch(source, cb, { immediate, deep, flush } = {}) {\n      let getter;\n      let forceTrigger = false;\n      let isMultiSource = false;\n      if ((0, import_reactivity3.isRef)(source)) {\n        getter = () => source.value;\n        forceTrigger = (0, import_reactivity3.isShallow)(source);\n      } else if ((0, import_reactivity3.isReactive)(source)) {\n        getter = () => source;\n        deep = true;\n      } else if ((0, import_shared2.isArray)(source)) {\n        isMultiSource = true;\n        forceTrigger = source.some(import_reactivity3.isReactive);\n        getter = () => source.map((s) => {\n          if ((0, import_reactivity3.isRef)(s))\n            return s.value;\n          else if ((0, import_reactivity3.isReactive)(s))\n            return traverse(s);\n          else if ((0, import_shared2.isFunction)(s))\n            return callWithErrorHandling(s, \"watch getter\");\n          else\n            return warn2(\"invalid source\");\n        });\n      } else if ((0, import_shared2.isFunction)(source)) {\n        if (cb) {\n          getter = () => callWithErrorHandling(source, \"watch getter\");\n        } else {\n          getter = () => {\n            if (cleanup)\n              cleanup();\n            return callWithAsyncErrorHandling(source, \"watch callback\", [onCleanup]);\n          };\n        }\n      } else {\n        getter = import_shared2.NOOP;\n      }\n      if (cb && deep) {\n        const baseGetter = getter;\n        getter = () => traverse(baseGetter());\n      }\n      let cleanup;\n      let onCleanup = (fn) => {\n        cleanup = effect.onStop = () => {\n          callWithErrorHandling(fn, \"watch cleanup\");\n        };\n      };\n      let oldValue = isMultiSource ? [] : INITIAL_WATCHER_VALUE;\n      const job = () => {\n        if (!effect.active)\n          return;\n        if (cb) {\n          const newValue = effect.run();\n          if (deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => (0, import_shared2.hasChanged)(v, oldValue[i])) : (0, import_shared2.hasChanged)(newValue, oldValue))) {\n            if (cleanup)\n              cleanup();\n            callWithAsyncErrorHandling(cb, \"watch value\", [\n              newValue,\n              oldValue === INITIAL_WATCHER_VALUE ? void 0 : oldValue,\n              onCleanup\n            ]);\n            oldValue = newValue;\n          }\n        } else {\n          effect.run();\n        }\n      };\n      job.allowRecurse = !!cb;\n      let scheduler;\n      if (flush === \"sync\") {\n        scheduler = job;\n      } else {\n        scheduler = () => {\n          job();\n        };\n      }\n      const effect = new import_reactivity3.ReactiveEffect(getter, scheduler);\n      if (cb) {\n        if (immediate)\n          job();\n        else\n          oldValue = effect.run();\n      } else {\n        effect.run();\n      }\n      return () => effect.stop();\n    }\n    function traverse(value, seen = /* @__PURE__ */ new Set()) {\n      if (!(0, import_shared2.isObject)(value) || seen.has(value))\n        return value;\n      seen.add(value);\n      if ((0, import_shared2.isArray)(value)) {\n        for (let i = 0; i < value.length; i++)\n          traverse(value[i], seen);\n      } else if (value instanceof Map) {\n        value.forEach((_, key) => {\n          traverse(value.get(key), seen);\n        });\n      } else if (value instanceof Set) {\n        value.forEach((v) => {\n          traverse(v, seen);\n        });\n      } else {\n        for (const key of Object.keys(value))\n          traverse(value[key], seen);\n      }\n      return value;\n    }\n    module2.exports = __toCommonJS(src_exports);\n  }\n});\n\n// src/index.ts\nvar import_reflect_metadata = require(\"reflect-metadata\");\nvar import_commander = require(\"commander\");\n\n// src/install.ts\nvar import_path4 = __toESM(require(\"path\"));\n\n// ../node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/vendor/ansi-styles/index.js\nvar ANSI_BACKGROUND_OFFSET = 10;\nvar wrapAnsi16 = (offset = 0) => (code) => `\\x1B[${code + offset}m`;\nvar wrapAnsi256 = (offset = 0) => (code) => `\\x1B[${38 + offset};5;${code}m`;\nvar wrapAnsi16m = (offset = 0) => (red, green, blue) => `\\x1B[${38 + offset};2;${red};${green};${blue}m`;\nvar styles = {\n  modifier: {\n    reset: [0, 0],\n    bold: [1, 22],\n    dim: [2, 22],\n    italic: [3, 23],\n    underline: [4, 24],\n    overline: [53, 55],\n    inverse: [7, 27],\n    hidden: [8, 28],\n    strikethrough: [9, 29]\n  },\n  color: {\n    black: [30, 39],\n    red: [31, 39],\n    green: [32, 39],\n    yellow: [33, 39],\n    blue: [34, 39],\n    magenta: [35, 39],\n    cyan: [36, 39],\n    white: [37, 39],\n    blackBright: [90, 39],\n    gray: [90, 39],\n    grey: [90, 39],\n    redBright: [91, 39],\n    greenBright: [92, 39],\n    yellowBright: [93, 39],\n    blueBright: [94, 39],\n    magentaBright: [95, 39],\n    cyanBright: [96, 39],\n    whiteBright: [97, 39]\n  },\n  bgColor: {\n    bgBlack: [40, 49],\n    bgRed: [41, 49],\n    bgGreen: [42, 49],\n    bgYellow: [43, 49],\n    bgBlue: [44, 49],\n    bgMagenta: [45, 49],\n    bgCyan: [46, 49],\n    bgWhite: [47, 49],\n    bgBlackBright: [100, 49],\n    bgGray: [100, 49],\n    bgGrey: [100, 49],\n    bgRedBright: [101, 49],\n    bgGreenBright: [102, 49],\n    bgYellowBright: [103, 49],\n    bgBlueBright: [104, 49],\n    bgMagentaBright: [105, 49],\n    bgCyanBright: [106, 49],\n    bgWhiteBright: [107, 49]\n  }\n};\nvar modifierNames = Object.keys(styles.modifier);\nvar foregroundColorNames = Object.keys(styles.color);\nvar backgroundColorNames = Object.keys(styles.bgColor);\nvar colorNames = [...foregroundColorNames, ...backgroundColorNames];\nfunction assembleStyles() {\n  const codes = /* @__PURE__ */ new Map();\n  for (const [groupName, group] of Object.entries(styles)) {\n    for (const [styleName, style] of Object.entries(group)) {\n      styles[styleName] = {\n        open: `\\x1B[${style[0]}m`,\n        close: `\\x1B[${style[1]}m`\n      };\n      group[styleName] = styles[styleName];\n      codes.set(style[0], style[1]);\n    }\n    Object.defineProperty(styles, groupName, {\n      value: group,\n      enumerable: false\n    });\n  }\n  Object.defineProperty(styles, \"codes\", {\n    value: codes,\n    enumerable: false\n  });\n  styles.color.close = \"\\x1B[39m\";\n  styles.bgColor.close = \"\\x1B[49m\";\n  styles.color.ansi = wrapAnsi16();\n  styles.color.ansi256 = wrapAnsi256();\n  styles.color.ansi16m = wrapAnsi16m();\n  styles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);\n  styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);\n  styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);\n  Object.defineProperties(styles, {\n    rgbToAnsi256: {\n      value(red, green, blue) {\n        if (red === green && green === blue) {\n          if (red < 8) {\n            return 16;\n          }\n          if (red > 248) {\n            return 231;\n          }\n          return Math.round((red - 8) / 247 * 24) + 232;\n        }\n        return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);\n      },\n      enumerable: false\n    },\n    hexToRgb: {\n      value(hex) {\n        const matches = /[a-f\\d]{6}|[a-f\\d]{3}/i.exec(hex.toString(16));\n        if (!matches) {\n          return [0, 0, 0];\n        }\n        let [colorString] = matches;\n        if (colorString.length === 3) {\n          colorString = [...colorString].map((character) => character + character).join(\"\");\n        }\n        const integer = Number.parseInt(colorString, 16);\n        return [\n          integer >> 16 & 255,\n          integer >> 8 & 255,\n          integer & 255\n        ];\n      },\n      enumerable: false\n    },\n    hexToAnsi256: {\n      value: (hex) => styles.rgbToAnsi256(...styles.hexToRgb(hex)),\n      enumerable: false\n    },\n    ansi256ToAnsi: {\n      value(code) {\n        if (code < 8) {\n          return 30 + code;\n        }\n        if (code < 16) {\n          return 90 + (code - 8);\n        }\n        let red;\n        let green;\n        let blue;\n        if (code >= 232) {\n          red = ((code - 232) * 10 + 8) / 255;\n          green = red;\n          blue = red;\n        } else {\n          code -= 16;\n          const remainder = code % 36;\n          red = Math.floor(code / 36) / 5;\n          green = Math.floor(remainder / 6) / 5;\n          blue = remainder % 6 / 5;\n        }\n        const value = Math.max(red, green, blue) * 2;\n        if (value === 0) {\n          return 30;\n        }\n        let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));\n        if (value === 2) {\n          result += 60;\n        }\n        return result;\n      },\n      enumerable: false\n    },\n    rgbToAnsi: {\n      value: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),\n      enumerable: false\n    },\n    hexToAnsi: {\n      value: (hex) => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),\n      enumerable: false\n    }\n  });\n  return styles;\n}\nvar ansiStyles = assembleStyles();\nvar ansi_styles_default = ansiStyles;\n\n// ../node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/vendor/supports-color/index.js\nvar import_node_process = __toESM(require(\"process\"), 1);\nvar import_node_os = __toESM(require(\"os\"), 1);\nvar import_node_tty = __toESM(require(\"tty\"), 1);\nfunction hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_node_process.default.argv) {\n  const prefix = flag.startsWith(\"-\") ? \"\" : flag.length === 1 ? \"-\" : \"--\";\n  const position = argv.indexOf(prefix + flag);\n  const terminatorPosition = argv.indexOf(\"--\");\n  return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);\n}\nvar { env } = import_node_process.default;\nvar flagForceColor;\nif (hasFlag(\"no-color\") || hasFlag(\"no-colors\") || hasFlag(\"color=false\") || hasFlag(\"color=never\")) {\n  flagForceColor = 0;\n} else if (hasFlag(\"color\") || hasFlag(\"colors\") || hasFlag(\"color=true\") || hasFlag(\"color=always\")) {\n  flagForceColor = 1;\n}\nfunction envForceColor() {\n  if (\"FORCE_COLOR\" in env) {\n    if (env.FORCE_COLOR === \"true\") {\n      return 1;\n    }\n    if (env.FORCE_COLOR === \"false\") {\n      return 0;\n    }\n    return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);\n  }\n}\nfunction translateLevel(level) {\n  if (level === 0) {\n    return false;\n  }\n  return {\n    level,\n    hasBasic: true,\n    has256: level >= 2,\n    has16m: level >= 3\n  };\n}\nfunction _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {\n  const noFlagForceColor = envForceColor();\n  if (noFlagForceColor !== void 0) {\n    flagForceColor = noFlagForceColor;\n  }\n  const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;\n  if (forceColor === 0) {\n    return 0;\n  }\n  if (sniffFlags) {\n    if (hasFlag(\"color=16m\") || hasFlag(\"color=full\") || hasFlag(\"color=truecolor\")) {\n      return 3;\n    }\n    if (hasFlag(\"color=256\")) {\n      return 2;\n    }\n  }\n  if (\"TF_BUILD\" in env && \"AGENT_NAME\" in env) {\n    return 1;\n  }\n  if (haveStream && !streamIsTTY && forceColor === void 0) {\n    return 0;\n  }\n  const min = forceColor || 0;\n  if (env.TERM === \"dumb\") {\n    return min;\n  }\n  if (import_node_process.default.platform === \"win32\") {\n    const osRelease = import_node_os.default.release().split(\".\");\n    if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {\n      return Number(osRelease[2]) >= 14931 ? 3 : 2;\n    }\n    return 1;\n  }\n  if (\"CI\" in env) {\n    if (\"GITHUB_ACTIONS\" in env || \"GITEA_ACTIONS\" in env) {\n      return 3;\n    }\n    if ([\"TRAVIS\", \"CIRCLECI\", \"APPVEYOR\", \"GITLAB_CI\", \"BUILDKITE\", \"DRONE\"].some((sign) => sign in env) || env.CI_NAME === \"codeship\") {\n      return 1;\n    }\n    return min;\n  }\n  if (\"TEAMCITY_VERSION\" in env) {\n    return /^(9\\.(0*[1-9]\\d*)\\.|\\d{2,}\\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;\n  }\n  if (env.COLORTERM === \"truecolor\") {\n    return 3;\n  }\n  if (env.TERM === \"xterm-kitty\") {\n    return 3;\n  }\n  if (\"TERM_PROGRAM\" in env) {\n    const version2 = Number.parseInt((env.TERM_PROGRAM_VERSION || \"\").split(\".\")[0], 10);\n    switch (env.TERM_PROGRAM) {\n      case \"iTerm.app\": {\n        return version2 >= 3 ? 3 : 2;\n      }\n      case \"Apple_Terminal\": {\n        return 2;\n      }\n    }\n  }\n  if (/-256(color)?$/i.test(env.TERM)) {\n    return 2;\n  }\n  if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {\n    return 1;\n  }\n  if (\"COLORTERM\" in env) {\n    return 1;\n  }\n  return min;\n}\nfunction createSupportsColor(stream, options = {}) {\n  const level = _supportsColor(stream, {\n    streamIsTTY: stream && stream.isTTY,\n    ...options\n  });\n  return translateLevel(level);\n}\nvar supportsColor = {\n  stdout: createSupportsColor({ isTTY: import_node_tty.default.isatty(1) }),\n  stderr: createSupportsColor({ isTTY: import_node_tty.default.isatty(2) })\n};\nvar supports_color_default = supportsColor;\n\n// ../node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/utilities.js\nfunction stringReplaceAll(string, substring, replacer) {\n  let index = string.indexOf(substring);\n  if (index === -1) {\n    return string;\n  }\n  const substringLength = substring.length;\n  let endIndex = 0;\n  let returnValue = \"\";\n  do {\n    returnValue += string.slice(endIndex, index) + substring + replacer;\n    endIndex = index + substringLength;\n    index = string.indexOf(substring, endIndex);\n  } while (index !== -1);\n  returnValue += string.slice(endIndex);\n  return returnValue;\n}\nfunction stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {\n  let endIndex = 0;\n  let returnValue = \"\";\n  do {\n    const gotCR = string[index - 1] === \"\\r\";\n    returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? \"\\r\\n\" : \"\\n\") + postfix;\n    endIndex = index + 1;\n    index = string.indexOf(\"\\n\", endIndex);\n  } while (index !== -1);\n  returnValue += string.slice(endIndex);\n  return returnValue;\n}\n\n// ../node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/index.js\nvar { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;\nvar GENERATOR = Symbol(\"GENERATOR\");\nvar STYLER = Symbol(\"STYLER\");\nvar IS_EMPTY = Symbol(\"IS_EMPTY\");\nvar levelMapping = [\n  \"ansi\",\n  \"ansi\",\n  \"ansi256\",\n  \"ansi16m\"\n];\nvar styles2 = /* @__PURE__ */ Object.create(null);\nvar applyOptions = (object, options = {}) => {\n  if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {\n    throw new Error(\"The `level` option should be an integer from 0 to 3\");\n  }\n  const colorLevel = stdoutColor ? stdoutColor.level : 0;\n  object.level = options.level === void 0 ? colorLevel : options.level;\n};\nvar chalkFactory = (options) => {\n  const chalk2 = (...strings) => strings.join(\" \");\n  applyOptions(chalk2, options);\n  Object.setPrototypeOf(chalk2, createChalk.prototype);\n  return chalk2;\n};\nfunction createChalk(options) {\n  return chalkFactory(options);\n}\nObject.setPrototypeOf(createChalk.prototype, Function.prototype);\nfor (const [styleName, style] of Object.entries(ansi_styles_default)) {\n  styles2[styleName] = {\n    get() {\n      const builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);\n      Object.defineProperty(this, styleName, { value: builder });\n      return builder;\n    }\n  };\n}\nstyles2.visible = {\n  get() {\n    const builder = createBuilder(this, this[STYLER], true);\n    Object.defineProperty(this, \"visible\", { value: builder });\n    return builder;\n  }\n};\nvar getModelAnsi = (model, level, type, ...arguments_) => {\n  if (model === \"rgb\") {\n    if (level === \"ansi16m\") {\n      return ansi_styles_default[type].ansi16m(...arguments_);\n    }\n    if (level === \"ansi256\") {\n      return ansi_styles_default[type].ansi256(ansi_styles_default.rgbToAnsi256(...arguments_));\n    }\n    return ansi_styles_default[type].ansi(ansi_styles_default.rgbToAnsi(...arguments_));\n  }\n  if (model === \"hex\") {\n    return getModelAnsi(\"rgb\", level, type, ...ansi_styles_default.hexToRgb(...arguments_));\n  }\n  return ansi_styles_default[type][model](...arguments_);\n};\nvar usedModels = [\"rgb\", \"hex\", \"ansi256\"];\nfor (const model of usedModels) {\n  styles2[model] = {\n    get() {\n      const { level } = this;\n      return function(...arguments_) {\n        const styler = createStyler(getModelAnsi(model, levelMapping[level], \"color\", ...arguments_), ansi_styles_default.color.close, this[STYLER]);\n        return createBuilder(this, styler, this[IS_EMPTY]);\n      };\n    }\n  };\n  const bgModel = \"bg\" + model[0].toUpperCase() + model.slice(1);\n  styles2[bgModel] = {\n    get() {\n      const { level } = this;\n      return function(...arguments_) {\n        const styler = createStyler(getModelAnsi(model, levelMapping[level], \"bgColor\", ...arguments_), ansi_styles_default.bgColor.close, this[STYLER]);\n        return createBuilder(this, styler, this[IS_EMPTY]);\n      };\n    }\n  };\n}\nvar proto = Object.defineProperties(() => {\n}, {\n  ...styles2,\n  level: {\n    enumerable: true,\n    get() {\n      return this[GENERATOR].level;\n    },\n    set(level) {\n      this[GENERATOR].level = level;\n    }\n  }\n});\nvar createStyler = (open, close, parent) => {\n  let openAll;\n  let closeAll;\n  if (parent === void 0) {\n    openAll = open;\n    closeAll = close;\n  } else {\n    openAll = parent.openAll + open;\n    closeAll = close + parent.closeAll;\n  }\n  return {\n    open,\n    close,\n    openAll,\n    closeAll,\n    parent\n  };\n};\nvar createBuilder = (self2, _styler, _isEmpty) => {\n  const builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? \"\" + arguments_[0] : arguments_.join(\" \"));\n  Object.setPrototypeOf(builder, proto);\n  builder[GENERATOR] = self2;\n  builder[STYLER] = _styler;\n  builder[IS_EMPTY] = _isEmpty;\n  return builder;\n};\nvar applyStyle = (self2, string) => {\n  if (self2.level <= 0 || !string) {\n    return self2[IS_EMPTY] ? \"\" : string;\n  }\n  let styler = self2[STYLER];\n  if (styler === void 0) {\n    return string;\n  }\n  const { openAll, closeAll } = styler;\n  if (string.includes(\"\\x1B\")) {\n    while (styler !== void 0) {\n      string = stringReplaceAll(string, styler.close, styler.open);\n      styler = styler.parent;\n    }\n  }\n  const lfIndex = string.indexOf(\"\\n\");\n  if (lfIndex !== -1) {\n    string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);\n  }\n  return openAll + string + closeAll;\n};\nObject.defineProperties(createChalk.prototype, styles2);\nvar chalk = createChalk();\nvar chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });\nvar source_default = chalk;\n\n// src/install.ts\nvar import_tsyringe4 = require(\"tsyringe\");\n\n// ../server-shared/src/storage-service.ts\nvar import_tsyringe2 = require(\"tsyringe\");\nvar import_fs = require(\"fs\");\nvar import_path = require(\"path\");\nvar import_simple_json_db = __toESM(require(\"simple-json-db\"));\n\n// ../server-shared/src/log-service.ts\nvar import_tsyringe = require(\"tsyringe\");\nvar import_dayjs = __toESM(require(\"dayjs\"));\n\n// ../shared/src/constants.ts\nvar DATE_FORMAT = \"YYYY-MM-DD HH:mm:ss\";\n\n// ../server-shared/src/log-service.ts\nvar LogService = class {\n  constructor() {\n    this.scope = \"\";\n    this.dateFormat = DATE_FORMAT;\n  }\n  _prefix(type) {\n    let prefix = \"\";\n    this.scope && (prefix += source_default[type].bold(`[${this.scope}]`));\n    prefix += source_default.blue(`[${(0, import_dayjs.default)().format(this.dateFormat)}]`);\n    return prefix;\n  }\n  _log(...args) {\n    console.log(...args);\n  }\n  _error(...args) {\n    console.error(...args);\n  }\n  setScope(scope) {\n    this.scope = scope;\n  }\n  log(...args) {\n    this._log(this._prefix(\"green\"), ...args);\n  }\n  error(...args) {\n    this._error(this._prefix(\"red\"), ...args);\n  }\n  logWithUser(user, ...args) {\n    this._log(\n      this._prefix(\"green\") + source_default.yellow.dim(`[${user.username}:${user.slug}]`),\n      ...args\n    );\n  }\n  static create(scope) {\n    const instance = import_tsyringe.container.resolve(LogService);\n    instance.setScope(scope);\n    return instance;\n  }\n};\n\n// ../server-shared/src/storage-service.ts\nvar defaultRoot = (0, import_path.resolve)(__dirname, \"../../server/data\");\nvar defaultFilename = \"common.db\";\nvar StorageService = class {\n  constructor(_logService) {\n    this._logService = _logService;\n    this._root = defaultRoot;\n    this._filename = defaultFilename;\n    this._logService.setScope(\"storage-service\");\n    if (!(0, import_fs.existsSync)(this._root))\n      (0, import_fs.mkdirSync)(this._root);\n    this._logService.log(`init storage service with root: ${this._root}`);\n    this._db = new import_simple_json_db.default((0, import_path.resolve)(this._root, this._filename));\n  }\n  get(key) {\n    return this._db.get(key);\n  }\n  set(key, value) {\n    this._db.set(key, value);\n  }\n  delete(key) {\n    return this._db.delete(key);\n  }\n};\nStorageService = __decorateClass([\n  (0, import_tsyringe2.singleton)(),\n  __decorateParam(0, (0, import_tsyringe2.inject)(LogService))\n], StorageService);\n\n// src/constants.ts\nvar import_fs3 = __toESM(require(\"fs\"));\nvar import_path2 = __toESM(require(\"path\"));\n\n// src/utils.ts\nvar import_fs2 = __toESM(require(\"fs\"));\nfunction section(title) {\n  console.log();\n  console.log(source_default.blue.bold(\"\\u2699 \" + title));\n  console.log();\n}\nfunction log(...args) {\n  console.log(...args);\n}\nfunction info(...args) {\n  console.log(source_default.blue(...args));\n}\nfunction success(...args) {\n  console.log(source_default.green(...args));\n}\nfunction warn(...args) {\n  console.log(source_default.yellow(...args));\n}\nfunction error(...args) {\n  console.log(source_default.red(...args));\n}\nvar printer = {\n  section,\n  log,\n  success,\n  info,\n  warn,\n  error\n};\nfunction readJsonFile(filename) {\n  const file = import_fs2.default.readFileSync(filename, { encoding: \"utf-8\" });\n  return JSON.parse(file);\n}\nfunction printVersion() {\n  printer.section(\"Check version\");\n  printer.info(`Current Version: ${version}`);\n  if (version.indexOf(\"-\") >= 0) {\n    printer.warn(\"This is a preview version!\");\n  }\n}\n\n// src/constants.ts\nvar logo = (() => {\n  try {\n    return import_fs3.default.readFileSync(\n      import_path2.default.resolve(process.cwd(), \"./assets/logo.art\"),\n      \"utf-8\"\n    );\n  } catch (err) {\n    console.error(err);\n    return \"Hexon\";\n  }\n})();\nvar version = readJsonFile(\n  import_path2.default.resolve(process.cwd(), \"../package.json\")\n).version;\n\n// ../server-shared/src/constants.ts\nvar HEXO_BASE_DIR_KEY = \"hexo-basedir\";\nvar HEXON_PORT_KEY = \"@hexon/port\";\nvar HEXON_DEFAULT_PORT = 5777;\n\n// ../server-shared/src/account-storage-service.ts\nvar import_crypto_js = require(\"crypto-js\");\nvar import_tsyringe3 = require(\"tsyringe\");\nvar AccountService = class {\n  constructor(_storage, _logService) {\n    this._storage = _storage;\n    this._logService = _logService;\n    this._logService.setScope(\"account-service\");\n  }\n  _encrypt(raw) {\n    return (0, import_crypto_js.SHA1)(raw).toString();\n  }\n  _toStorage(info2) {\n    this._storage.set(AccountService.KEY, info2);\n  }\n  _fromStorage() {\n    const { username = \"\", password = \"\" } = this._storage.get(AccountService.KEY) || {};\n    return { username, password };\n  }\n  setUserInfo(username, password) {\n    this._storage.set(AccountService.KEY, {\n      username,\n      password: this._encrypt(password)\n    });\n    this._logService.log(\"set user info: \", username);\n  }\n  getUsername() {\n    return this._fromStorage().username;\n  }\n  setUsername(username) {\n    const info2 = this._fromStorage();\n    info2.username = username;\n    this._toStorage(info2);\n    this._logService.log(\"set username: \", username);\n  }\n  setPassword(password) {\n    const info2 = this._fromStorage();\n    info2.password = this._encrypt(password);\n    this._toStorage(info2);\n    this._logService.log(\"set password\");\n  }\n  setEncryptedPassword(password) {\n    const info2 = this._fromStorage();\n    info2.password = password;\n    this._toStorage(info2);\n    this._logService.log(\"set encrypted password\");\n  }\n  verify(username, password) {\n    const info2 = this._fromStorage();\n    if (username !== info2.username) {\n      return false;\n    }\n    if (this._encrypt(password) !== info2.password) {\n      return false;\n    }\n    return true;\n  }\n};\nAccountService.KEY = \"userinfo\";\nAccountService = __decorateClass([\n  (0, import_tsyringe3.injectable)(),\n  (0, import_tsyringe3.singleton)(),\n  __decorateParam(0, (0, import_tsyringe3.inject)(StorageService)),\n  __decorateParam(1, (0, import_tsyringe3.inject)(LogService))\n], AccountService);\n\n// src/prompts.ts\nvar import_inquirer = __toESM(require(\"inquirer\"));\n\n// ../server-shared/src/utils.ts\nvar import_fs4 = __toESM(require(\"fs\"));\nvar import_path3 = __toESM(require(\"path\"));\nfunction isBlog(cwd) {\n  var _a;\n  let file;\n  try {\n    file = import_fs4.default.readFileSync(import_path3.default.join(cwd, \"package.json\"), {\n      encoding: \"utf-8\"\n    });\n    import_fs4.default.readFileSync(import_path3.default.join(cwd, \"_config.yml\"), { encoding: \"utf-8\" });\n  } catch (err) {\n    if (err.code === \"ENOENT\") {\n      return false;\n    }\n    throw err;\n  }\n  const packageJSON = JSON.parse(file);\n  if (!((_a = packageJSON == null ? void 0 : packageJSON.dependencies) == null ? void 0 : _a.hexo))\n    return false;\n  return true;\n}\nfunction toRealPath(value) {\n  return import_path3.default.isAbsolute(value) ? value : import_path3.default.resolve(process.cwd(), \"../..\", value);\n}\n\n// src/prompts.ts\nasync function requestPassword() {\n  const answer = await import_inquirer.default.prompt({\n    name: \"password\",\n    message: \"Password ?\",\n    type: \"password\",\n    validate(v) {\n      if (!v)\n        return \"Must not empty\";\n      return true;\n    }\n  });\n  const { password } = answer;\n  return password;\n}\nasync function requestUsername() {\n  const answer = await import_inquirer.default.prompt({\n    name: \"username\",\n    message: \"Username ?\",\n    validate(v) {\n      if (!v)\n        return \"Must not empty\";\n      return true;\n    }\n  });\n  const { username } = answer;\n  return username;\n}\nasync function requestUserInfo() {\n  const username = await requestUsername();\n  const password = await requestPassword();\n  return { username, password };\n}\nasync function requestPort(defaultPort) {\n  const portPrompt = {\n    name: \"port\",\n    message: \"Which port do you like Hexon running at?\",\n    default: defaultPort,\n    validate(v) {\n      return !isNaN(v) || `number is required ${typeof v} given`;\n    },\n    prefix: source_default.blue(\"?\")\n  };\n  const answer = await import_inquirer.default.prompt(portPrompt);\n  return String(answer.port);\n}\nasync function requestRoot() {\n  const rootPrompt = {\n    name: \"root\",\n    message: `Your hexo blog path? ${source_default.grey(\n      \"Absolute or relative path to hexon.\"\n    )}`,\n    validate(v) {\n      const truePath = toRealPath(v);\n      try {\n        return isBlog(truePath) || source_default.red.bold(truePath) + source_default.red(\" is not a valid hexo blog.\");\n      } catch (e) {\n        console.error(e);\n        return source_default.red(\"Fail to check path \" + source_default.bold(truePath));\n      }\n    }\n  };\n  const answer = await import_inquirer.default.prompt(rootPrompt);\n  return answer.root;\n}\n\n// src/install.ts\nasync function install_default() {\n  console.clear();\n  console.log(source_default.blue(logo));\n  printVersion();\n  printer.section(\"Configuration\");\n  const storage = import_tsyringe4.container.resolve(StorageService);\n  storage.set(HEXON_PORT_KEY, await requestPort(HEXON_DEFAULT_PORT));\n  storage.set(\n    HEXO_BASE_DIR_KEY,\n    await requestRoot()\n  );\n  const { username, password } = await requestUserInfo();\n  const account = import_tsyringe4.container.resolve(AccountService);\n  account.setUserInfo(username, password);\n  printer.section(\"Install\");\n  const base = import_path4.default.resolve(__dirname, \"../..\");\n  printer.success(`Hexon has been installed to \\`${base}\\``);\n  printer.log(`Run \\`pnpm start\\` to start`);\n  printer.log(`Run \\`pnpm prd\\` to start with pm2`);\n  printer.log(source_default.grey(`To uninstall, remove the following foler: ${base}`));\n}\n\n// src/reset-password.ts\nvar import_tsyringe5 = require(\"tsyringe\");\nasync function resetPassword() {\n  const account = import_tsyringe5.container.resolve(AccountService);\n  console.log(source_default.yellow(`Resetting password for user '${account.getUsername()}' ...`));\n  const newpwd = await requestPassword();\n  account.setPassword(newpwd);\n  console.log(source_default.green(`Password has been reset.`));\n}\n\n// src/script.ts\nvar import_inquirer2 = __toESM(require(\"inquirer\"));\n\n// ../server-shared/src/store.ts\nvar import_path6 = require(\"path\");\nvar import_reactivity2 = require(\"@vue/reactivity\");\n\n// ../node_modules/.pnpm/@winwin+server-reactive-store@0.2.2/node_modules/@winwin/server-reactive-store/dist/index.mjs\nvar import_reactivity = require(\"@vue/reactivity\");\nvar import_watch = __toESM(require_dist(), 1);\nvar import_fs5 = require(\"fs\");\nvar import_path5 = require(\"path\");\nvar import_simple_json_db2 = __toESM(require(\"simple-json-db\"), 1);\nvar JSONdbStorageAdapter = class {\n  constructor(root, name = \"database.json\") {\n    if (!(0, import_fs5.existsSync)(root))\n      (0, import_fs5.mkdirSync)(root);\n    this.db = new import_simple_json_db2.default((0, import_path5.resolve)(root, name));\n  }\n  getItem(key) {\n    return this.db.get(key);\n  }\n  setItem(key, value) {\n    this.db.set(key, value);\n  }\n  removeItem(key) {\n    return this.db.delete(key);\n  }\n};\nfunction createStore(key, adapter, setup, {\n  saveAfterCreate = true\n} = {}) {\n  const all = setup();\n  if (!all.state)\n    throw new Error(\"must return object with state property\");\n  const state = (0, import_reactivity.reactive)(all.state);\n  const load = () => {\n    const loaded = adapter.getItem(key);\n    if (loaded)\n      Object.assign(state, loaded);\n  };\n  load();\n  const save = () => adapter.setItem(key, state);\n  (0, import_watch.watch)(state, save, { deep: true, immediate: saveAfterCreate });\n  return { ...all, load, save, state };\n}\nfunction createStoreCreator(adapter) {\n  return function(key, setup) {\n    return createStore(key, adapter, setup);\n  };\n}\n\n// ../server-shared/src/store.ts\nvar ROOT = (0, import_path6.resolve)(process.cwd(), \"data\");\nvar NAME = \"database.json\";\nvar createStore2 = createStoreCreator(new JSONdbStorageAdapter(ROOT, NAME));\nvar scriptStore = createStore2(\"script\", () => {\n  const state = (0, import_reactivity2.reactive)({\n    items: {}\n  });\n  const keys = (0, import_reactivity2.computed)(() => Object.keys(state.items));\n  const getScript = (key) => {\n    var _a;\n    return ((_a = state.items[key]) == null ? void 0 : _a.value) || \"\";\n  };\n  const hasScript = (key) => {\n    var _a;\n    return (_a = state.items[key]) == null ? void 0 : _a.value;\n  };\n  const setScript = (key, script2) => {\n    state.items[key] = { value: script2 };\n  };\n  return { state, keys, getScript, setScript, hasScript };\n});\n\n// src/script.ts\nfunction getAvailableKeys() {\n  const keys = /* @__PURE__ */ new Set([\n    \"git-save\",\n    \"git-sync\",\n    \"hexo-clean\",\n    \"hexo-generate\",\n    \"hexo-deploy\",\n    ...scriptStore.keys.value\n  ]);\n  return [...keys.keys()].map((value) => {\n    const v = scriptStore.getScript(value);\n    const name = v ? `${value}: ${v}` : value;\n    return { name, value };\n  });\n}\nasync function pickOneScript() {\n  const { key } = await import_inquirer2.default.prompt({\n    name: \"key\",\n    type: \"list\",\n    message: \"Which script do you want to manage?\",\n    choices: () => getAvailableKeys()\n  });\n  return key;\n}\nasync function getInput(key) {\n  const currnet = scriptStore.hasScript(key) && `- Current: ${scriptStore.getScript(key)}`;\n  const { value } = await import_inquirer2.default.prompt({\n    name: \"value\",\n    message: `Please input some script to run your script file (with relative path to your hexo blog folder).\n${source_default.gray(\n      `- e.g. \\`bash ./my_deploy_script.sh\\`\n- Leave blank to remove.\n${currnet ? `${currnet}\n` : \"\"}`\n    )}`\n  });\n  return value;\n}\nasync function script() {\n  const key = await pickOneScript();\n  const value = await getInput(key);\n  scriptStore.setScript(key, value);\n  console.log(source_default.bgGreen.white(` Script ${value ? \"Saved\" : \"Removed\"} `));\n}\n\n// src/index.ts\nvar program = new import_commander.Command(\"npx .\");\nprogram.command(\"install\").description(\"install hexon\").action(install_default);\nprogram.command(\"resetpwd\").description(\"reset password\").action(resetPassword);\nprogram.command(\"script\").description(\"manage custom script\").action(script);\nprogram.parse();\n/*! #__NO_SIDE_EFFECTS__ */\n/**\n* @vue/shared v3.4.25\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\n"
  },
  {
    "path": "server-scripts/package.json",
    "content": "{\n  \"name\": \"server-scripts\",\n  \"private\": true,\n  \"scripts\": {\n    \"build\": \"node ./scripts/build.mjs\"\n  },\n  \"dependencies\": {\n    \"@koa/cors\": \"^3.4.3\",\n    \"@koa/router\": \"^10.1.1\",\n    \"@vue/reactivity\": \"^3.4.34\",\n    \"@winwin/koa-authentication\": \"^0.2.3\",\n    \"@winwin/server-reactive-store\": \"^0.2.2\",\n    \"basic-auth\": \"^2.0.1\",\n    \"chalk\": \"^5.3.0\",\n    \"commander\": \"^9.5.0\",\n    \"cross-env\": \"^7.0.3\",\n    \"crypto-js\": \"^4.2.0\",\n    \"dayjs\": \"^1.11.12\",\n    \"debug\": \"^4.3.5\",\n    \"dotenv\": \"^16.4.5\",\n    \"execa\": \"^6.1.0\",\n    \"hexo\": \"^7.3.0\",\n    \"http-errors\": \"^2.0.0\",\n    \"inquirer\": \"^8.2.6\",\n    \"jsencrypt\": \"^3.3.2\",\n    \"jsonwebtoken\": \"^8.5.1\",\n    \"koa\": \"^2.15.3\",\n    \"koa-bodyparser\": \"^4.4.1\",\n    \"koa-compose\": \"^4.1.0\",\n    \"koa-compress\": \"^5.1.1\",\n    \"koa-logger\": \"^3.2.1\",\n    \"koa-mount\": \"^4.0.0\",\n    \"koa-router\": \"^10.1.1\",\n    \"koa-static\": \"^5.0.0\",\n    \"koa2-cors\": \"^2.0.6\",\n    \"node-jsencrypt\": \"^1.0.0\",\n    \"reflect-metadata\": \"^0.1.14\",\n    \"simple-json-db\": \"^2.0.0\",\n    \"strip-ansi\": \"^7.1.0\",\n    \"tsyringe\": \"^4.8.0\",\n    \"winston\": \"^3.13.1\"\n  }\n}\n"
  },
  {
    "path": "server-scripts/scripts/build.mjs",
    "content": "import esbuild from \"esbuild\"\nimport { esbuildPluginNodeExternals } from \"esbuild-plugin-node-externals\"\nimport chalk from \"chalk\"\n\nconst INCLUDE_MODULES = [\n  \"execa\",\n  \"chalk\",\n  \"@winwin/server-reactive-store\",\n  // 为了让 store 工作，如果不加，store 中的 watch 会失效\n  \"strip-ansi\",\n]\n\nfunction buildBin() {\n  console.log(chalk.gray(\"[bin]\"), chalk.green(\"Building bin...\"))\n  return new Promise((resolve) => {\n    esbuild\n      .build({\n        entryPoints: [\"./src/index.ts\"],\n        bundle: true,\n        platform: \"node\",\n        target: \"node12\",\n        outfile: \"./bin/index.js\",\n        plugins: [\n          esbuildPluginNodeExternals({\n            include: INCLUDE_MODULES,\n          }),\n        ],\n      })\n      .then(() => {\n        // eslint-disable-next-line no-console\n        console.log(chalk.gray(\"[bin]\"), chalk.green(\"Build finished.\"))\n        resolve()\n      })\n  })\n}\n\nbuildBin()\n"
  },
  {
    "path": "server-scripts/src/constants.ts",
    "content": "import fs from \"fs\"\nimport path from \"path\"\nimport { readJsonFile } from \"./utils\"\n\nexport const logo: string = (() => {\n  try {\n    return fs.readFileSync(\n      path.resolve(process.cwd(), \"./assets/logo.art\"),\n      \"utf-8\"\n    )\n  } catch (err) {\n    console.error(err)\n    return \"Hexon\"\n  }\n})()\n\nexport const version: string = readJsonFile(\n  path.resolve(process.cwd(), \"../package.json\")\n).version\n"
  },
  {
    "path": "server-scripts/src/index.ts",
    "content": "import \"reflect-metadata\"\nimport { Command } from \"commander\"\nimport install from \"./install\"\nimport resetPassword from \"./reset-password\"\nimport script from \"./script\"\nconst program = new Command(\"npx .\")\nprogram.command(\"install\").description(\"install hexon\").action(install)\nprogram.command(\"resetpwd\").description(\"reset password\").action(resetPassword)\nprogram.command(\"script\").description(\"manage custom script\").action(script)\nprogram.parse()\n"
  },
  {
    "path": "server-scripts/src/install.ts",
    "content": "import path from \"path\"\nimport chalk from \"chalk\"\nimport { container } from \"tsyringe\"\nimport { StorageService } from \"@server-shared/storage-service\"\nimport { logo } from \"./constants\"\nimport { printer, printVersion } from \"./utils\"\nimport { HEXO_BASE_DIR_KEY, HEXON_DEFAULT_PORT, HEXON_PORT_KEY } from \"@server-shared/constants\"\nimport { AccountService } from \"@server-shared/account-storage-service\"\nimport { requestPort, requestRoot, requestUserInfo } from \"./prompts\"\n\nexport default async function () {\n  console.clear()\n  console.log(chalk.blue(logo))\n\n  printVersion()\n\n  printer.section(\"Configuration\")\n  const storage = container.resolve(StorageService)\n  storage.set<string>(HEXON_PORT_KEY, await requestPort(HEXON_DEFAULT_PORT))\n  storage.set<string>(\n    HEXO_BASE_DIR_KEY,\n    await requestRoot()\n  )\n  const { username, password } = await requestUserInfo()\n  const account = container.resolve(AccountService)\n  account.setUserInfo(username, password)\n\n  printer.section(\"Install\")\n  const base = path.resolve(__dirname, \"../..\")\n  printer.success(`Hexon has been installed to \\`${base}\\``)\n  printer.log(`Run \\`pnpm start\\` to start`)\n  printer.log(`Run \\`pnpm prd\\` to start with pm2`)\n  printer.log(chalk.grey(`To uninstall, remove the following foler: ${base}`))\n}\n"
  },
  {
    "path": "server-scripts/src/prompts.ts",
    "content": "import inquirer from \"inquirer\"\nimport chalk from \"chalk\"\nimport { isBlog, toRealPath } from \"@server-shared/utils\"\n\nexport async function requestPassword() {\n  const answer = await inquirer.prompt({\n    name: \"password\",\n    message: \"Password ?\",\n    type: \"password\",\n    validate(v: string) {\n      if (!v) return \"Must not empty\"\n      return true\n    },\n  })\n  const { password } = answer as {\n    password: string\n  }\n  return password\n}\n\nexport async function requestUsername() {\n  const answer = await inquirer.prompt({\n    name: \"username\",\n    message: \"Username ?\",\n    validate(v: string) {\n      if (!v) return \"Must not empty\"\n      return true\n    },\n  })\n  const { username } = answer as {\n    username: string\n  }\n  return username\n}\n\nexport async function requestUserInfo() {\n  const username = await requestUsername()\n  const password = await requestPassword()\n  return { username, password }\n}\n\nexport async function requestPort(defaultPort: number) {\n  const portPrompt = {\n    name: \"port\",\n    message: \"Which port do you like Hexon running at?\",\n    default: defaultPort,\n    validate(v: number) {\n      return !isNaN(v) || `number is required ${typeof v} given`\n    },\n    prefix: chalk.blue(\"?\"),\n  }\n  const answer = await inquirer.prompt(portPrompt)\n  return String(answer.port as number)\n}\n\nexport async function requestRoot() {\n  const rootPrompt = {\n    name: \"root\",\n    message: `Your hexo blog path? ${chalk.grey(\n      \"Absolute or relative path to hexon.\"\n    )}`,\n    validate(v: string) {\n      const truePath = toRealPath(v)\n      try {\n        return (\n          isBlog(truePath) ||\n          chalk.red.bold(truePath) + chalk.red(\" is not a valid hexo blog.\")\n        )\n      } catch (e) {\n        console.error(e)\n        return chalk.red(\"Fail to check path \" + chalk.bold(truePath))\n      }\n    },\n  }\n  const answer = await inquirer.prompt(rootPrompt)\n  return answer.root as string\n}\n"
  },
  {
    "path": "server-scripts/src/reset-password.ts",
    "content": "import chalk from \"chalk\"\nimport { container } from \"tsyringe\"\nimport { AccountService } from \"@server-shared/account-storage-service\"\nimport { requestPassword } from \"./prompts\"\n\nexport default async function resetPassword() {\n  const account = container.resolve(AccountService)\n  console.log(chalk.yellow(`Resetting password for user '${account.getUsername()}' ...`))\n  const newpwd = await requestPassword()\n  account.setPassword(newpwd)\n  console.log(chalk.green(`Password has been reset.`))\n}\n"
  },
  {
    "path": "server-scripts/src/script.ts",
    "content": "import chalk from \"chalk\"\nimport inquirer from \"inquirer\"\nimport { scriptStore } from \"@server-shared/store\"\n\nfunction getAvailableKeys() {\n  const keys = new Set([\n    \"git-save\",\n    \"git-sync\",\n    \"hexo-clean\",\n    \"hexo-generate\",\n    \"hexo-deploy\",\n    ...scriptStore.keys.value,\n  ])\n  return [...keys.keys()].map((value) => {\n    const v = scriptStore.getScript(value)\n    const name = v ? `${value}: ${v}` : value\n    return { name, value }\n  })\n}\n\nasync function pickOneScript() {\n  const { key } = await inquirer.prompt({\n    name: \"key\",\n    type: \"list\",\n    message: \"Which script do you want to manage?\",\n    choices: () => getAvailableKeys(),\n  })\n  return key\n}\n\nasync function getInput(key: string) {\n  const currnet =\n    scriptStore.hasScript(key) && `- Current: ${scriptStore.getScript(key)}`\n  const { value } = await inquirer.prompt({\n    name: \"value\",\n    message: `Please input some script to run your script file (with relative path to your hexo blog folder).\n${chalk.gray(\n  `- e.g. \\`bash ./my_deploy_script.sh\\`\n- Leave blank to remove.\n${currnet ? `${currnet}\\n` : \"\"}`\n)}`,\n  })\n  return value\n}\n\nexport default async function script() {\n  const key = await pickOneScript()\n  const value = await getInput(key)\n  scriptStore.setScript(key, value)\n  console.log(chalk.bgGreen.white(` Script ${value ? \"Saved\" : \"Removed\"} `))\n}\n"
  },
  {
    "path": "server-scripts/src/utils.ts",
    "content": "import fs from \"fs\"\nimport chalk from \"chalk\"\nimport { version } from \"./constants\"\n\nfunction section(title: string) {\n  console.log()\n  console.log(chalk.blue.bold(\"⚙ \" + title))\n  console.log()\n}\n\nfunction log(...args: any[]) {\n  console.log(...args)\n}\nfunction info(...args: any[]) {\n  console.log(chalk.blue(...args))\n}\n\nfunction success(...args: any[]) {\n  console.log(chalk.green(...args))\n}\n\nfunction warn(...args: any[]) {\n  console.log(chalk.yellow(...args))\n}\n\nfunction error(...args: any[]) {\n  console.log(chalk.red(...args))\n}\n\nexport const printer = {\n  section,\n  log,\n  success,\n  info,\n  warn,\n  error,\n}\n\nexport function readJsonFile(filename: string) {\n  const file = fs.readFileSync(filename, { encoding: \"utf-8\" })\n  return JSON.parse(file)\n}\n\nexport function printVersion(){\n    printer.section(\"Check version\")\n    printer.info(`Current Version: ${version}`)\n    if (version.indexOf(\"-\") >= 0) {\n      printer.warn(\"This is a preview version!\")\n    }\n}"
  },
  {
    "path": "server-shared/package.json",
    "content": "{\n  \"name\": \"server-shared\",\n  \"private\": true,\n  \"scripts\": {\n    \"build\": \"exit 0\"\n  },\n  \"dependencies\": {\n    \"@koa/cors\": \"^3.4.3\",\n    \"@koa/router\": \"^10.1.1\",\n    \"@vue/reactivity\": \"^3.4.34\",\n    \"@winwin/koa-authentication\": \"^0.2.3\",\n    \"@winwin/server-reactive-store\": \"^0.2.2\",\n    \"basic-auth\": \"^2.0.1\",\n    \"chalk\": \"^5.3.0\",\n    \"commander\": \"^9.5.0\",\n    \"cross-env\": \"^7.0.3\",\n    \"crypto-js\": \"^4.2.0\",\n    \"dayjs\": \"^1.11.12\",\n    \"debug\": \"^4.3.5\",\n    \"dotenv\": \"^16.4.5\",\n    \"execa\": \"^6.1.0\",\n    \"hexo\": \"^7.3.0\",\n    \"http-errors\": \"^2.0.0\",\n    \"inquirer\": \"^8.2.6\",\n    \"jsencrypt\": \"^3.3.2\",\n    \"jsonwebtoken\": \"^8.5.1\",\n    \"koa\": \"^2.15.3\",\n    \"koa-bodyparser\": \"^4.4.1\",\n    \"koa-compose\": \"^4.1.0\",\n    \"koa-compress\": \"^5.1.1\",\n    \"koa-logger\": \"^3.2.1\",\n    \"koa-mount\": \"^4.0.0\",\n    \"koa-router\": \"^10.1.1\",\n    \"koa-static\": \"^5.0.0\",\n    \"koa2-cors\": \"^2.0.6\",\n    \"node-jsencrypt\": \"^1.0.0\",\n    \"reflect-metadata\": \"^0.1.14\",\n    \"simple-json-db\": \"^2.0.0\",\n    \"strip-ansi\": \"^7.1.0\",\n    \"tsyringe\": \"^4.8.0\",\n    \"winston\": \"^3.13.1\"\n  }\n}\n"
  },
  {
    "path": "server-shared/src/account-storage-service.ts",
    "content": "import { SHA1 } from 'crypto-js'\nimport { inject, injectable, singleton } from 'tsyringe'\nimport { StorageService } from './storage-service'\nimport { LogService } from './log-service'\n\ninterface IUserInfo {\n  password: string\n  username: string\n}\n\nexport class BasicAuthError extends Error {\n  public name = 'BasicAuthError'\n}\n\n@injectable()\n@singleton()\nexport class AccountService {\n  public static KEY = 'userinfo' as const\n  constructor(\n    @inject(StorageService) private _storage: StorageService,\n    @inject(LogService) private _logService: LogService,\n  ) {\n    this._logService.setScope('account-service')\n  }\n\n  private _encrypt(raw: string) {\n    return SHA1(raw).toString()\n  }\n\n  private _toStorage(info: IUserInfo) {\n    this._storage.set(AccountService.KEY, info)\n  }\n\n  private _fromStorage(): IUserInfo {\n    const { username = '', password = '' }\n      = this._storage.get<IUserInfo>(AccountService.KEY) || {}\n    return { username, password }\n  }\n\n  setUserInfo(username: string, password: string) {\n    this._storage.set(AccountService.KEY, {\n      username,\n      password: this._encrypt(password),\n    })\n    this._logService.log('set user info: ', username)\n  }\n\n  getUsername() {\n    return this._fromStorage().username\n  }\n\n  setUsername(username: string) {\n    const info = this._fromStorage()\n    info.username = username\n    this._toStorage(info)\n    this._logService.log('set username: ', username)\n  }\n\n  setPassword(password: string) {\n    const info = this._fromStorage()\n    info.password = this._encrypt(password)\n    this._toStorage(info)\n    this._logService.log('set password')\n  }\n\n  setEncryptedPassword(password: string) {\n    const info = this._fromStorage()\n    info.password = password\n    this._toStorage(info)\n    this._logService.log('set encrypted password')\n  }\n\n  verify(username: string, password: string) {\n    const info = this._fromStorage()\n    if (username !== info.username) {\n      return false\n    }\n    if (this._encrypt(password) !== info.password) {\n      return false\n    }\n    return true\n  }\n}\n"
  },
  {
    "path": "server-shared/src/constants.ts",
    "content": "export const HEXO_BASE_DIR_KEY = \"hexo-basedir\"\nexport const HEXO_OPTIONS_KEY = \"hexo-options\"\nexport const BRIEF_LENGTH = 500\nexport const HEXON_PORT_KEY = \"@hexon/port\"\nexport const HEXON_DEFAULT_PORT = 5777\n"
  },
  {
    "path": "server-shared/src/env-service.ts",
    "content": "import { inject, injectable, singleton } from \"tsyringe\"\nimport { AccountService } from \"./account-storage-service\"\nimport { StorageService } from \"./storage-service\"\nimport { HEXON_PORT_KEY, HEXO_BASE_DIR_KEY } from \"./constants\"\nimport { LogService } from \"./log-service\"\n\n@injectable()\n@singleton()\nexport class EnvService {\n  constructor(\n    @inject(StorageService) private storage: StorageService,\n    @inject(AccountService) private account: AccountService,\n    @inject(LogService) private _logService: LogService\n  ) {\n    this._logService.setScope(\"env-service\")\n  }\n\n  sync() {\n    this.syncAccount()\n    this.syncHexon()\n    this.syncHexo()\n  }\n\n  private syncAccount() {\n    const username = process.env.HEXON_USERNAME\n    const password = process.env.HEXON_PASSWORD\n    if (username) {\n      this._logService.log(`sync account from process.env.HEXON_USERNAME`)\n      this.account.setUsername(username)\n    }\n    if (password) {\n      this._logService.log(`sync account from process.env.HEXON_PASSWORD`)\n      this.account.setPassword(password)\n    }\n  }\n\n  private syncHexon() {\n    const port = process.env.HEXON_PORT\n    if (port) {\n      this._logService.log(`sync hexon port from process.env.HEXON_PORT`)\n      this.storage.set(HEXON_PORT_KEY, port)\n    }\n  }\n\n  private syncHexo() {\n    const base = process.env.HEXO_BASE\n    if (base) {\n      this._logService.log(`sync hexo base from process.env.HEXO_BASE`)\n      this.storage.set(HEXO_BASE_DIR_KEY, base)\n    }\n  }\n}\n"
  },
  {
    "path": "server-shared/src/log-service.ts",
    "content": "import { container } from \"tsyringe\"\nimport chalk from \"chalk\"\nimport dayjs from \"dayjs\"\nimport { DATE_FORMAT } from \"@shared/constants\"\n\nexport class LogService {\n  private scope = \"\"\n  private dateFormat = DATE_FORMAT\n  _prefix(type: \"green\" | \"red\") {\n    let prefix = \"\"\n    this.scope && (prefix += chalk[type].bold(`[${this.scope}]`))\n    prefix += chalk.blue(`[${dayjs().format(this.dateFormat)}]`)\n    return prefix\n  }\n  private _log(...args: any[]) {\n    console.log(...args)\n  }\n  private _error(...args: any[]) {\n    console.error(...args)\n  }\n  setScope(scope: string) {\n    this.scope = scope\n  }\n  log(...args: any[]) {\n    this._log(this._prefix(\"green\"), ...args)\n  }\n  error(...args: any[]) {\n    this._error(this._prefix(\"red\"), ...args)\n  }\n  logWithUser(user: { username: string; slug: string }, ...args: any[]) {\n    this._log(\n      this._prefix(\"green\") +\n        chalk.yellow.dim(`[${user.username}:${user.slug}]`),\n      ...args\n    )\n  }\n\n  static create(scope: string) {\n    const instance = container.resolve(LogService)\n    instance.setScope(scope)\n    return instance\n  }\n}\n"
  },
  {
    "path": "server-shared/src/storage-service.ts",
    "content": "import { inject, singleton } from \"tsyringe\"\nimport { existsSync, mkdirSync } from \"fs\"\nimport { resolve } from \"path\"\nimport JSONdb from \"simple-json-db\"\nimport { LogService } from \"./log-service\"\n\nexport const defaultRoot = resolve(__dirname, \"../../server/data\")\nexport const defaultFilename = \"common.db\"\n\nexport interface IStorageService {\n  get<T>(key: string): T\n  set<T>(key: string, value: T): void\n  delete(key: string): void\n}\n\n@singleton()\nexport class StorageService implements IStorageService {\n  private _db: JSONdb\n  private _root: string = defaultRoot\n  private _filename: string = defaultFilename\n  constructor(@inject(LogService) private _logService: LogService) {\n    this._logService.setScope(\"storage-service\")\n    if (!existsSync(this._root)) mkdirSync(this._root)\n    this._logService.log(`init storage service with root: ${this._root}`)\n    this._db = new JSONdb(resolve(this._root, this._filename))\n  }\n\n  get<T>(key: string) {\n    return this._db.get(key) as unknown as T\n  }\n\n  set<T>(key: string, value: T) {\n    this._db.set(key, value as unknown as object)\n  }\n\n  delete(key: string) {\n    return this._db.delete(key)\n  }\n}\n"
  },
  {
    "path": "server-shared/src/store.ts",
    "content": "import { resolve } from \"path\"\nimport { reactive, computed } from \"@vue/reactivity\"\nimport {\n  createStoreCreator,\n  JSONdbStorageAdapter,\n} from \"@winwin/server-reactive-store\"\nexport const ROOT = resolve(process.cwd(), \"data\")\nexport const NAME = \"database.json\"\n\nconst createStore = createStoreCreator(new JSONdbStorageAdapter(ROOT, NAME))\n\nexport const scriptStore = createStore(\"script\", () => {\n  const state = reactive<{ items: Record<string, { value: string }> }>({\n    items: {},\n  })\n  const keys = computed(() => Object.keys(state.items))\n  const getScript = (key: string) => state.items[key]?.value || \"\"\n  const hasScript = (key: string) => state.items[key]?.value\n  const setScript = (key: string, script: string) => {\n    state.items[key] = { value: script }\n  }\n  return { state, keys, getScript, setScript, hasScript }\n})"
  },
  {
    "path": "server-shared/src/utils.ts",
    "content": "import fs from \"fs\"\nimport path from \"path\"\n\nexport const noop = () => {}\n\nexport function isBlog(cwd: string): boolean {\n  let file\n  try {\n    // 检查是否有对应文件\n    file = fs.readFileSync(path.join(cwd, \"package.json\"), {\n      encoding: \"utf-8\",\n    })\n    fs.readFileSync(path.join(cwd, \"_config.yml\"), { encoding: \"utf-8\" })\n  } catch (err) {\n    if (err.code === \"ENOENT\") {\n      return false\n    }\n    throw err\n  }\n  // 检查是否有hexo依赖\n  const packageJSON = JSON.parse(file)\n  if (!packageJSON?.dependencies?.hexo) return false\n  return true\n}\n\nexport function toRealPath(value: string) {\n  return path.isAbsolute(value)\n    ? value\n    : path.resolve(process.cwd(), \"../..\", value)\n}\n"
  },
  {
    "path": "shared/package.json",
    "content": "{\n  \"name\": \"shared\",\n  \"private\": true,\n  \"scripts\": {\n    \"build\": \"exit 0\"\n  }\n}\n"
  },
  {
    "path": "shared/src/constants.ts",
    "content": "export const DATE_FORMAT = \"YYYY-MM-DD HH:mm:ss\"\n"
  },
  {
    "path": "shared/src/types/api.ts",
    "content": "export interface ISettings {\n  ui: {\n    editor: {\n      fontFamily: string\n    }\n  }\n}\nexport interface IFrontmatterTemplateItem {\n  data: string\n}\n\nexport interface IFrontmatterTemplate {\n  items: IFrontmatterTemplateItem[]\n}\n"
  },
  {
    "path": "shared/src/types/hexo.ts",
    "content": "interface IArticle {\n  _id: string\n  title: string\n  date: string\n  updated?: string | undefined\n  comments: boolean\n  layout: string\n  excerpt?: string | undefined\n  source: string\n  full_source: string\n  path: string\n  permalink: string\n  prev?: string | undefined // _id\n  next?: string | undefined // _id\n  photos?: string[] | undefined\n  link?: string | undefined\n  [key: string]: any\n}\ninterface IBrief {\n  brief: string\n}\ninterface IPage {\n  brief: string\n}\ninterface IPost {\n  slug: string\n  published?: boolean | undefined\n  categories?: string[] | undefined\n  tags: string[]\n  __post: boolean\n}\ninterface IDetail {\n  _content: string\n  content: string\n  raw?: string | undefined\n  more?: string | undefined\n}\n\nexport interface BriefPage extends IArticle, IBrief, IPage {}\n\nexport interface BriefPost extends IArticle, IBrief, IPost {}\n\nexport interface Page extends IArticle, IBrief, IPage, IDetail {}\n\nexport interface Post extends IArticle, IBrief, IPost, IDetail {}\n\nexport interface Tag {\n  _id: string\n  name: string\n  slug: string\n  path: string\n  permalink: string\n  posts: string[] // _id\n  length: number\n}\nexport interface Category extends Tag {\n  parent: string\n}\n"
  },
  {
    "path": "tsconfig.json",
    "content": "{\n  \"include\": [\n    \"shared/src/**/*.ts\",\n    \"server/src/**/*.ts\",\n    \"server-shared/src/**/*.ts\",\n    \"server-scripts/src/**/*.ts\",\n  ],\n  \"compilerOptions\": {\n    \"baseUrl\": \".\",\n    \"declaration\": false,\n    \"noImplicitAny\": true,\n    \"allowJs\": true,\n    \"target\": \"es2015\",\n    \"outDir\": \"dist\",\n    \"strict\": true,\n    \"esModuleInterop\": true,\n    \"moduleResolution\": \"node\",\n    \"experimentalDecorators\": true,\n    \"emitDecoratorMetadata\": true,\n    \"paths\": {\n      \"@server-shared/*\": [\"server-shared/src/*\"],\n      \"@server/*\": [\"server/src/*\"],\n      \"@shared/*\": [\"shared/src/*\"],\n    }\n  }\n}\n"
  }
]